@xcpcio/board-app 0.84.0 → 0.85.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/404.html +1 -1
- package/dist/assets/Balloon-B3cPN2yD.js +1 -0
- package/dist/assets/Board-BpIhDrix.css +1 -0
- package/dist/assets/Board-CWwqX2IB.js +190 -0
- package/dist/assets/ContestStateBadge-CQOaPmT8.js +1 -0
- package/dist/assets/ContestStateBadge-DgwznQrX.css +1 -0
- package/dist/assets/Countdown-BvWlPnYq.js +1 -0
- package/dist/assets/DataSourceInput-DCNrUj45.js +1 -0
- package/dist/assets/NavBar-O1kqnfE4.css +1 -0
- package/dist/assets/NavBar-t1eXyPKg.js +1 -0
- package/dist/assets/Resolver-CRBstFE3.css +1 -0
- package/dist/assets/Resolver-D_GRj6HP.js +1 -0
- package/dist/assets/RightArrowIcon-F6HBDgDW.js +1 -0
- package/dist/assets/TheInput-Btyuor_6.js +1 -0
- package/dist/assets/Tooltip-C9jfn33Z.css +1 -0
- package/dist/assets/Tooltip-DPDTUI-s.js +27 -0
- package/dist/assets/_..-D9qurBBH.css +1 -0
- package/dist/assets/_...all_-Chjz45WV.js +1 -0
- package/dist/assets/_...all_-TFChZhkr.js +6 -0
- package/dist/assets/_intlify-i18n-0-BmghNkij.js +1 -0
- package/dist/assets/_intlify-i18n-1-DzpDgiG5.js +1 -0
- package/dist/assets/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
- package/dist/assets/balloon-BlTynoB_.js +1 -0
- package/dist/assets/board-A69GsfUB.js +1 -0
- package/dist/assets/board-layout-mk2Y30Yp.js +1 -0
- package/dist/assets/constant-YlOY-yXZ.js +1 -0
- package/dist/assets/countdown-DQRGLfdE.js +1 -0
- package/dist/assets/default-BNqFZJwJ.js +1 -0
- package/dist/assets/headless-BSf0YrvV.js +1 -0
- package/dist/assets/index-C1jdVImx.css +1 -0
- package/dist/assets/index-D57KOcpK.js +12 -0
- package/dist/assets/index-layout-Cg_FpvvD.js +1 -0
- package/dist/assets/pages-DZG1eNR4.css +1 -0
- package/dist/assets/{index-D0V3pqsw.js → pages-kJjvENga.js} +2 -2
- package/dist/assets/pagination-EIqoVe6M.js +21 -0
- package/dist/assets/person-DrN1htE6.js +1 -0
- package/dist/assets/query-CoPl3fiI.js +20 -0
- package/dist/assets/rank-Bjo0QJlM.js +1 -0
- package/dist/assets/rating-B3sXjXNN.js +1 -0
- package/dist/assets/rating-DiCQYzia.css +1 -0
- package/dist/assets/resolver-Db22e0q8.js +1 -0
- package/dist/assets/route-block-ChiJXsfH.js +1 -0
- package/dist/assets/utils-Cfm-h8Z9.js +1 -0
- package/dist/assets/vue.runtime.esm-bundler-DTMOfGWR.js +4 -0
- package/dist/index.html +1 -1
- package/package.json +45 -45
- package/src/auto-imports.d.ts +4 -4
- package/src/components/board/Board.vue +3 -0
- package/src/components/board/Export.vue +5 -1
- package/src/components/board/Progress.vue +1 -0
- package/src/components/board/SeatMapView.vue +6 -3
- package/src/components/board/SubmissionsTable.vue +1 -2
- package/src/components/board/SubmitHeatMap.less +11 -3
- package/src/components/board/SubmitHeatMap.vue +56 -86
- package/src/components/board/TeamCard.vue +6 -6
- package/src/components/board/TeamOverview.vue +1 -0
- package/src/components/flowbite/Tooltip.vue +79 -13
- package/src/components.d.ts +0 -1
- package/dist/assets/Balloon.vue_vue_type_script_setup_true_lang-DHemO8cG.js +0 -1
- package/dist/assets/Board-C6kTRGEP.css +0 -1
- package/dist/assets/Board-DxiquVyO.js +0 -194
- package/dist/assets/ContestStateBadge-Bgdroopp.js +0 -1
- package/dist/assets/ContestStateBadge-D6uf8wH-.css +0 -1
- package/dist/assets/Countdown-ovUCuJ35.js +0 -1
- package/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-DgkCadgz.js +0 -1
- package/dist/assets/NavBar-DfKQ1ytp.js +0 -1
- package/dist/assets/NavBar-aT2xEvYz.css +0 -1
- package/dist/assets/Resolver-BQcsyOHn.js +0 -1
- package/dist/assets/Resolver-DV9FleNP.css +0 -1
- package/dist/assets/RightArrowIcon-BKvYPM1O.js +0 -1
- package/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-OA6Dkh4w.js +0 -1
- package/dist/assets/Tooltip-DzyPDwbo.css +0 -1
- package/dist/assets/Tooltip.vue_vue_type_script_setup_true_lang-DWNdRDhE.js +0 -27
- package/dist/assets/_..-5I0UWqRG.css +0 -1
- package/dist/assets/_...all_-BtYYdFga.js +0 -1
- package/dist/assets/_...all_-XVDapPdm.js +0 -6
- package/dist/assets/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
- package/dist/assets/board-layout-LZdDEkNj.js +0 -1
- package/dist/assets/constant-CYOTMbJW.js +0 -1
- package/dist/assets/dayjs-Ccpn6fIh.js +0 -1
- package/dist/assets/default-CRpkLq3n.js +0 -1
- package/dist/assets/en-DGp_RGnz.js +0 -1
- package/dist/assets/headless-l1XzJj3O.js +0 -1
- package/dist/assets/index-B34Y_Z57.js +0 -15
- package/dist/assets/index-B3NvUps3.js +0 -1
- package/dist/assets/index-B_303hcz.js +0 -1
- package/dist/assets/index-Bojw84ll.css +0 -1
- package/dist/assets/index-BuFplOHa.js +0 -1
- package/dist/assets/index-CeJCbVnH.js +0 -1
- package/dist/assets/index-CgXDtxXW.css +0 -1
- package/dist/assets/index-D-msPqye.css +0 -1
- package/dist/assets/index-DOf6OpNV.js +0 -1
- package/dist/assets/index-layout-BDulxfyN.js +0 -1
- package/dist/assets/pagination-DkTeb3KN.js +0 -3
- package/dist/assets/person-gKEre052.js +0 -1
- package/dist/assets/rank-DJDWVDFD.js +0 -1
- package/dist/assets/route-block-B_A1xBdJ.js +0 -1
- package/dist/assets/use-vmodel-Bem9C7yk.js +0 -20
- package/dist/assets/zh-CN-BUehjmhL.js +0 -1
- package/src/components/board/HeatMapTooltip.less +0 -115
- package/src/components/board/HeatMapTooltip.vue +0 -68
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toAssetUrl("assets/board-layout-mk2Y30Yp.js"),window.__toAssetUrl("assets/_plugin-vue_export-helper-BDNMzG2s.js"),window.__toAssetUrl("assets/vue.runtime.esm-bundler-DTMOfGWR.js"),window.__toAssetUrl("assets/NavBar-t1eXyPKg.js"),window.__toAssetUrl("assets/Tooltip-DPDTUI-s.js"),window.__toAssetUrl("assets/Tooltip-C9jfn33Z.css"),window.__toAssetUrl("assets/constant-YlOY-yXZ.js"),window.__toAssetUrl("assets/NavBar-O1kqnfE4.css"),window.__toAssetUrl("assets/default-BNqFZJwJ.js"),window.__toAssetUrl("assets/headless-BSf0YrvV.js"),window.__toAssetUrl("assets/index-layout-Cg_FpvvD.js"),window.__toAssetUrl("assets/pages-kJjvENga.js"),window.__toAssetUrl("assets/route-block-ChiJXsfH.js"),window.__toAssetUrl("assets/query-CoPl3fiI.js"),window.__toAssetUrl("assets/utils-Cfm-h8Z9.js"),window.__toAssetUrl("assets/ContestStateBadge-CQOaPmT8.js"),window.__toAssetUrl("assets/ContestStateBadge-DgwznQrX.css"),window.__toAssetUrl("assets/RightArrowIcon-F6HBDgDW.js"),window.__toAssetUrl("assets/pages-DZG1eNR4.css"),window.__toAssetUrl("assets/_...all_-Chjz45WV.js"),window.__toAssetUrl("assets/Board-CWwqX2IB.js"),window.__toAssetUrl("assets/TheInput-Btyuor_6.js"),window.__toAssetUrl("assets/pagination-EIqoVe6M.js"),window.__toAssetUrl("assets/rank-Bjo0QJlM.js"),window.__toAssetUrl("assets/person-DrN1htE6.js"),window.__toAssetUrl("assets/Board-BpIhDrix.css"),window.__toAssetUrl("assets/Resolver-D_GRj6HP.js"),window.__toAssetUrl("assets/Resolver-CRBstFE3.css"),window.__toAssetUrl("assets/Balloon-B3cPN2yD.js"),window.__toAssetUrl("assets/Countdown-BvWlPnYq.js"),window.__toAssetUrl("assets/Countdown-CLZfeAst.css"),window.__toAssetUrl("assets/balloon-BlTynoB_.js"),window.__toAssetUrl("assets/DataSourceInput-DCNrUj45.js"),window.__toAssetUrl("assets/board-A69GsfUB.js"),window.__toAssetUrl("assets/countdown-DQRGLfdE.js"),window.__toAssetUrl("assets/rating-B3sXjXNN.js"),window.__toAssetUrl("assets/rating-DiCQYzia.css"),window.__toAssetUrl("assets/_...all_-TFChZhkr.js"),window.__toAssetUrl("assets/_..-D9qurBBH.css"),window.__toAssetUrl("assets/resolver-Db22e0q8.js")])))=>i.map(i=>d[i]);
|
|
2
|
+
import{$ as e,A as t,At as n,B as r,Bt as i,C as a,Ct as o,D as s,Dt as c,E as l,Et as u,F as d,Ft as f,H as p,Ht as m,I as h,It as g,J as _,K as v,L as y,Lt as b,M as x,Mt as S,N as C,Nt as w,O as T,Ot as E,P as ee,Pt as D,Q as te,R as ne,Rt as re,S as ie,St as ae,T as oe,Tt as se,U as ce,Ut as le,V as ue,W as de,X as fe,Y as pe,Z as me,_ as he,_t as ge,a as _e,at as O,b as ve,bt as ye,dt as be,et as xe,f as Se,ft as Ce,g as we,gt as Te,h as Ee,ht as De,i as Oe,it as ke,j as Ae,jt as je,k as Me,kt as Ne,lt as k,m as A,mt as Pe,nt as Fe,o as Ie,ot as Le,p as Re,pt as ze,q as Be,r as Ve,rt as He,st as Ue,t as We,tt as Ge,u as Ke,ut as qe,v as Je,vt as Ye,w as Xe,wt as Ze,x as Qe,xt as $e,yt as et,zt as tt}from"./vue.runtime.esm-bundler-DTMOfGWR.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function nt(e,t){typeof console<`u`&&(console.warn(`[intlify] `+e),t&&console.warn(t.stack))}var rt=typeof window<`u`,it=(e,t=!1)=>t?Symbol.for(e):Symbol(e),at=(e,t,n)=>ot({l:e,k:t,s:n}),ot=e=>JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),j=e=>typeof e==`number`&&isFinite(e),st=e=>Et(e)===`[object Date]`,ct=e=>Et(e)===`[object RegExp]`,lt=e=>R(e)&&Object.keys(e).length===0,ut=Object.assign,dt=Object.create,M=(e=null)=>dt(e),ft,pt=()=>ft||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:M();function mt(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/\//g,`/`).replace(/=/g,`=`)}function ht(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`)}var gt=/^\s*javascript\s*(?::|�*58;?|�*3a;?|:?)/i,_t=/^(?:href|src|action|formaction)$/i;function vt(e){return gt.test(e)}function yt(e){let t=/url\s*\(/gi,n=``,r=0,i;for(;(i=t.exec(e))!==null;){let a=i.index,o=t.lastIndex-1,s=o+1,c=1,l=null;for(;s<e.length;s++){let t=e[s];if(l){t===l&&(l=null);continue}if(t===`"`||t===`'`)l=t;else if(t===`(`)c++;else if(t===`)`&&(c--,c===0))break}if(c!==0)break;let u=e.slice(o+1,s).trim(),d=u.startsWith(`"`)&&u.endsWith(`"`)||u.startsWith(`'`)&&u.endsWith(`'`)?u.slice(1,-1).trim():u;n+=e.slice(r,a),n+=vt(d)?`url(about:blank)`:e.slice(a,s+1),r=s+1}return n+e.slice(r)}function bt(e,t){return _t.test(e)&&vt(t)?`about:blank`:ht(e.toLowerCase()===`style`?yt(t):t)}function xt(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${bt(t,n)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${bt(t,n)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,`$1on$3`)),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(e,t,n)=>vt(n)?`${t}about:blank`:e),e}var St=Object.prototype.hasOwnProperty;function Ct(e,t){return St.call(e,t)}var N=Array.isArray,P=e=>typeof e==`function`,F=e=>typeof e==`string`,I=e=>typeof e==`boolean`,L=e=>typeof e==`object`&&!!e,wt=e=>L(e)&&P(e.then)&&P(e.catch),Tt=Object.prototype.toString,Et=e=>Tt.call(e),R=e=>Et(e)===`[object Object]`,Dt=e=>e==null?``:N(e)||R(e)&&e.toString===Tt?JSON.stringify(e,null,2):String(e);function Ot(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}var kt=e=>!L(e)||N(e);function At(e,t){if(kt(e)||kt(t))throw Error(`Invalid value`);let n=[{src:e,des:t}];for(;n.length;){let{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{r!==`__proto__`&&(L(e[r])&&!L(t[r])&&(t[r]=Array.isArray(e[r])?[]:M()),kt(t[r])||kt(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))})}}function jt(e,t,n){return{line:e,column:t,offset:n}}function Mt(e,t,n){let r={start:e,end:t};return n!=null&&(r.source=n),r}var z={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};z.EXPECTED_TOKEN,z.INVALID_TOKEN_IN_PLACEHOLDER,z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,z.UNKNOWN_ESCAPE_SEQUENCE,z.INVALID_UNICODE_ESCAPE_SEQUENCE,z.UNBALANCED_CLOSING_BRACE,z.UNTERMINATED_CLOSING_BRACE,z.EMPTY_PLACEHOLDER,z.NOT_ALLOW_NEST_PLACEHOLDER,z.INVALID_LINKED_FORMAT,z.MUST_HAVE_MESSAGES_IN_PLURAL,z.UNEXPECTED_EMPTY_LINKED_MODIFIER,z.UNEXPECTED_EMPTY_LINKED_KEY,z.UNEXPECTED_LEXICAL_ANALYSIS,z.UNHANDLED_CODEGEN_NODE_TYPE,z.UNHANDLED_MINIFIER_NODE_TYPE;function Nt(e,t,n={}){let{domain:r,messages:i,args:a}=n,o=SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=r,o}function Pt(e){throw e}var Ft=` `,It=`\r`,Lt=`
|
|
3
|
+
`,Rt=`\u2028`,zt=`\u2029`;function Bt(e){let t=e,n=0,r=1,i=1,a=0,o=e=>t[e]===It&&t[e+1]===Lt,s=e=>t[e]===Lt,c=e=>t[e]===zt,l=e=>t[e]===Rt,u=e=>o(e)||s(e)||c(e)||l(e),d=()=>n,f=()=>r,p=()=>i,m=()=>a,h=e=>o(e)||c(e)||l(e)?Lt:t[e],g=()=>h(n),_=()=>h(n+a);function v(){return a=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function y(){return o(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,i=1,a=0}function x(e=0){a=e}function S(){let e=n+a;for(;e!==n;)v();a=0}return{index:d,line:f,column:p,peekOffset:m,charAt:h,currentChar:g,currentPeek:_,next:v,peek:y,reset:b,resetPeek:x,skipToPeek:S}}var Vt=void 0,Ht=`'`,Ut=`tokenizer`;function Wt(e,t={}){let n=t.location!==!1,r=Bt(e),i=()=>r.index(),a=()=>jt(r.line(),r.column(),r.index()),o=a(),s=i(),c={currentType:13,offset:s,startLoc:o,endLoc:o,lastType:13,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:``},l=()=>c,{onError:u}=t;function d(e,t,r,...i){let a=l();t.column+=r,t.offset+=r,u&&u(Nt(e,n?Mt(a.startLoc,t):null,{domain:Ut,args:i}))}function f(e,t,r){e.endLoc=a(),e.currentType=t;let i={type:t};return n&&(i.loc=Mt(e.startLoc,e.endLoc)),r!=null&&(i.value=r),i}let p=e=>f(e,13);function m(e,t){return e.currentChar()===t?(e.next(),t):(d(z.EXPECTED_TOKEN,a(),0,t),``)}function h(e){let t=``;for(;e.currentPeek()===Ft||e.currentPeek()===Lt;)t+=e.currentPeek(),e.peek();return t}function g(e){let t=h(e);return e.skipToPeek(),t}function _(e){if(e===Vt)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t===95}function v(e){if(e===Vt)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}function y(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function b(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=v(e.currentPeek()===`-`?e.peek():e.currentPeek());return e.resetPeek(),r}function x(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=e.currentPeek()===Ht;return e.resetPeek(),r}function S(e,t){let{currentType:n}=t;if(n!==7)return!1;h(e);let r=e.currentPeek()===`.`;return e.resetPeek(),r}function C(e,t){let{currentType:n}=t;if(n!==8)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function w(e,t){let{currentType:n}=t;if(!(n===7||n===11))return!1;h(e);let r=e.currentPeek()===`:`;return e.resetPeek(),r}function T(e,t){let{currentType:n}=t;if(n!==9)return!1;let r=()=>{let t=e.currentPeek();return t===`{`?_(e.peek()):t===`@`||t===`|`||t===`:`||t===`.`||t===Ft||!t?!1:t===Lt?(e.peek(),r()):ee(e,!1)},i=r();return e.resetPeek(),i}function E(e){h(e);let t=e.currentPeek()===`|`;return e.resetPeek(),t}function ee(e,t=!0){let n=(t=!1,r=``)=>{let i=e.currentPeek();return i===`{`||i===`@`||!i?t:i===`|`?!(r===Ft||r===Lt):i===Ft?(e.peek(),n(!0,Ft)):i===Lt?(e.peek(),n(!0,Lt)):!0},r=n();return t&&e.resetPeek(),r}function D(e,t){let n=e.currentChar();if(n!==Vt)return t(n)?(e.next(),n):null}function te(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36}function ne(e){return D(e,te)}function re(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36||t===45}function ie(e){return D(e,re)}function ae(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function oe(e){return D(e,ae)}function se(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function ce(e){return D(e,se)}function le(e){let t=``,n=``;for(;t=oe(e);)n+=t;return n}function ue(e){let t=``;for(;;){let n=e.currentChar();if(n===`\\`){let r=e.peek();r===`{`||r===`}`||r===`@`||r===`|`||r===`\\`?(t+=n+r,e.next(),e.next()):(e.resetPeek(),t+=n,e.next())}else if(n===`{`||n===`}`||n===`@`||n===`|`||!n)break;else if(n===Ft||n===Lt)if(ee(e))t+=n,e.next();else if(E(e))break;else t+=n,e.next();else t+=n,e.next()}return t}function de(e){g(e);let t=``,n=``;for(;t=ie(e);)n+=t;let r=e.currentChar();if(r&&r!==`}`&&r!==Vt&&r!==Ft&&r!==Lt&&r!==` `){let t=O(e);return d(z.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n+t),n+t}return e.currentChar()===Vt&&d(z.UNTERMINATED_CLOSING_BRACE,a(),0),n}function fe(e){g(e);let t=``;return e.currentChar()===`-`?(e.next(),t+=`-${le(e)}`):t+=le(e),e.currentChar()===Vt&&d(z.UNTERMINATED_CLOSING_BRACE,a(),0),t}function pe(e){return e!==Ht&&e!==Lt}function me(e){g(e),m(e,`'`);let t=``,n=``;for(;t=D(e,pe);)t===`\\`?n+=he(e):n+=t;let r=e.currentChar();return r===Lt||r===Vt?(d(z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),r===Lt&&(e.next(),m(e,`'`)),n):(m(e,`'`),n)}function he(e){let t=e.currentChar();switch(t){case`\\`:case`'`:return e.next(),`\\${t}`;case`u`:return ge(e,t,4);case`U`:return ge(e,t,6);default:return d(z.UNKNOWN_ESCAPE_SEQUENCE,a(),0,t),``}}function ge(e,t,n){m(e,t);let r=``;for(let i=0;i<n;i++){let n=ce(e);if(!n){d(z.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function _e(e){return e!==`{`&&e!==`}`&&e!==Ft&&e!==Lt}function O(e){g(e);let t=``,n=``;for(;t=D(e,_e);)n+=t;return n}function ve(e){let t=``,n=``;for(;t=ne(e);)n+=t;return n}function ye(e){let t=n=>{let r=e.currentChar();return r===`{`||r===`@`||r===`|`||r===`(`||r===`)`||!r||r===Ft?n:(n+=r,e.next(),t(n))};return t(``)}function be(e){g(e);let t=m(e,`|`);return g(e),t}function xe(e,t){let n=null;switch(e.currentChar()){case`{`:return t.braceNest>=1&&d(z.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),e.next(),n=f(t,2,`{`),g(e),t.braceNest++,n;case`}`:return t.braceNest>0&&t.currentType===2&&d(z.EMPTY_PLACEHOLDER,a(),0),e.next(),n=f(t,3,`}`),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&t.braceNest===0&&(t.inLinked=!1),n;case`@`:return t.braceNest>0&&d(z.UNTERMINATED_CLOSING_BRACE,a(),0),n=Se(e,t)||p(t),t.braceNest=0,n;default:{let r=!0,i=!0,o=!0;if(E(e))return t.braceNest>0&&d(z.UNTERMINATED_CLOSING_BRACE,a(),0),n=f(t,1,be(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(t.currentType===4||t.currentType===5||t.currentType===6))return d(z.UNTERMINATED_CLOSING_BRACE,a(),0),t.braceNest=0,Ce(e,t);if(r=y(e,t))return n=f(t,4,de(e)),g(e),n;if(i=b(e,t))return n=f(t,5,fe(e)),g(e),n;if(o=x(e,t))return n=f(t,6,me(e)),g(e),n;if(!r&&!i&&!o)return n=f(t,12,O(e)),d(z.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),g(e),n;break}}return n}function Se(e,t){let{currentType:n}=t,r=null,i=e.currentChar();switch((n===7||n===8||n===11||n===9)&&(i===Lt||i===Ft)&&d(z.INVALID_LINKED_FORMAT,a(),0),i){case`@`:return e.next(),r=f(t,7,`@`),t.inLinked=!0,r;case`.`:return g(e),e.next(),f(t,8,`.`);case`:`:return g(e),e.next(),f(t,9,`:`);default:return E(e)?(r=f(t,1,be(e)),t.braceNest=0,t.inLinked=!1,r):S(e,t)||w(e,t)?(g(e),Se(e,t)):C(e,t)?(g(e),f(t,11,ve(e))):T(e,t)?(g(e),i===`{`?xe(e,t)||r:f(t,10,ye(e))):(n===7&&d(z.INVALID_LINKED_FORMAT,a(),0),t.braceNest=0,t.inLinked=!1,Ce(e,t))}}function Ce(e,t){let n={type:13};if(t.braceNest>0)return xe(e,t)||p(t);if(t.inLinked)return Se(e,t)||p(t);switch(e.currentChar()){case`{`:return xe(e,t)||p(t);case`}`:return d(z.UNBALANCED_CLOSING_BRACE,a(),0),e.next(),f(t,3,`}`);case`@`:return Se(e,t)||p(t);default:if(E(e))return n=f(t,1,be(e)),t.braceNest=0,t.inLinked=!1,n;if(ee(e))return f(t,0,ue(e));break}return n}function we(){let{currentType:e,offset:t,startLoc:n,endLoc:o}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=o,c.offset=i(),c.startLoc=a(),r.currentChar()===Vt?f(c,13):Ce(r,c)}return{nextToken:we,currentOffset:i,currentPosition:a,context:l}}var Gt=`parser`,Kt=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,qt=/\\([\\@{}|])/g;function Jt(e,t){return t}function Yt(e,t,n){switch(e){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):`�`}}}function Xt(e={}){let t=e.location!==!1,{onError:n}=e;function r(e,r,i,a,...o){let s=e.currentPosition();s.offset+=a,s.column+=a,n&&n(Nt(r,t?Mt(i,s):null,{domain:Gt,args:o}))}function i(e,n,r){let i={type:e};return t&&(i.start=n,i.end=n,i.loc={start:r,end:r}),i}function a(e,n,r,i){t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){let n=e.context(),r=i(3,n.offset,n.startLoc);return r.value=t.replace(qt,Jt),a(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(5,n,r);return o.index=parseInt(t,10),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function c(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(4,n,r);return o.key=t,e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function l(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(9,n,r);return o.value=t.replace(Kt,Yt),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function u(e){let t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:s}=n,c=i(8,o,s);return t.type===11?(t.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,Zt(t)),c.value=t.value||``,a(c,e.currentOffset(),e.currentPosition()),{node:c}):(r(e,z.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),c.value=``,a(c,o,s),{nextConsumeToken:t,node:c})}function d(e,t){let n=e.context(),r=i(7,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function f(e){let t=e.context(),n=i(6,t.offset,t.startLoc),o=e.nextToken();if(o.type===8){let t=u(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(o.type!==9&&r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Zt(o)),o=e.nextToken(),o.type===2&&(o=e.nextToken()),o.type){case 10:o.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Zt(o)),n.key=d(e,o.value||``);break;case 4:o.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Zt(o)),n.key=c(e,o.value||``);break;case 5:o.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Zt(o)),n.key=s(e,o.value||``);break;case 6:o.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Zt(o)),n.key=l(e,o.value||``);break;default:{r(e,z.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);let s=e.context(),c=i(7,s.offset,s.startLoc);return c.value=``,a(c,s.offset,s.startLoc),n.key=c,a(n,s.offset,s.startLoc),{nextConsumeToken:o,node:n}}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function p(e){let t=e.context(),n=i(2,t.currentType===1?e.currentOffset():t.offset,t.currentType===1?t.endLoc:t.startLoc);n.items=[];let u=null;do{let i=u||e.nextToken();switch(u=null,i.type){case 0:i.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Zt(i)),n.items.push(o(e,i.value||``));break;case 5:i.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Zt(i)),n.items.push(s(e,i.value||``));break;case 4:i.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Zt(i)),n.items.push(c(e,i.value||``));break;case 6:i.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Zt(i)),n.items.push(l(e,i.value||``));break;case 7:{let t=f(e);n.items.push(t.node),u=t.nextConsumeToken||null;break}}}while(t.currentType!==13&&t.currentType!==1);return a(n,t.currentType===1?t.lastOffset:e.currentOffset(),t.currentType===1?t.lastEndLoc:e.currentPosition()),n}function m(e,t,n,o){let s=e.context(),c=o.items.length===0,l=i(1,t,n);l.cases=[],l.cases.push(o);do{let t=p(e);c||=t.items.length===0,l.cases.push(t)}while(s.currentType!==13);return c&&r(e,z.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),a(l,e.currentOffset(),e.currentPosition()),l}function h(e){let t=e.context(),{offset:n,startLoc:r}=t,i=p(e);return t.currentType===13?i:m(e,n,r,i)}function g(n){let o=Wt(n,ut({},e)),s=o.context(),c=i(0,s.offset,s.startLoc);return t&&c.loc&&(c.loc.source=n),c.body=h(o),e.onCacheKey&&(c.cacheKey=e.onCacheKey(n)),s.currentType!==13&&r(o,z.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||``),a(c,o.currentOffset(),o.currentPosition()),c}return{parse:g}}function Zt(e){if(e.type===13)return`EOF`;let t=(e.value||``).replace(/\r?\n/gu,`\\n`);return t.length>10?t.slice(0,9)+`…`:t}function Qt(e,t={}){let n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}function $t(e,t){for(let n=0;n<e.length;n++)en(e[n],t)}function en(e,t){switch(e.type){case 1:$t(e.cases,t),t.helper(`plural`);break;case 2:$t(e.items,t);break;case 6:en(e.key,t),t.helper(`linked`),t.helper(`type`);break;case 5:t.helper(`interpolate`),t.helper(`list`);break;case 4:t.helper(`interpolate`),t.helper(`named`);break}}function tn(e,t={}){let n=Qt(e);n.helper(`normalize`),e.body&&en(e.body,n);let r=n.context();e.helpers=Array.from(r.helpers)}function nn(e){let t=e.body;return t.type===2?rn(t):t.cases.forEach(e=>rn(e)),e}function rn(e){if(e.items.length===1){let t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{let t=[];for(let n=0;n<e.items.length;n++){let r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Ot(t);for(let t=0;t<e.items.length;t++){let n=e.items[t];(n.type===3||n.type===9)&&delete n.value}}}}function an(e){switch(e.t=e.type,e.type){case 0:{let t=e;an(t.body),t.b=t.body,delete t.body;break}case 1:{let t=e,n=t.cases;for(let e=0;e<n.length;e++)an(n[e]);t.c=n,delete t.cases;break}case 2:{let t=e,n=t.items;for(let e=0;e<n.length;e++)an(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{let t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{let t=e;an(t.key),t.k=t.key,delete t.key,t.modifier&&(an(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{let t=e;t.i=t.index,delete t.index;break}case 4:{let t=e;t.k=t.key,delete t.key;break}default:}delete e.type}function on(e,t){let{filename:n,breakLineCode:r,needIndent:i}=t,a=t.location!==!1,o={filename:n,code:``,column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};a&&e.loc&&(o.source=e.loc.source);let s=()=>o;function c(e,t){o.code+=e}function l(e,t=!0){let n=t?r:``;c(i?n+` `.repeat(e):n)}function u(e=!0){let t=++o.indentLevel;e&&l(t)}function d(e=!0){let t=--o.indentLevel;e&&l(t)}function f(){l(o.indentLevel)}return{context:s,push:c,indent:u,deindent:d,newline:f,helper:e=>`_${e}`,needIndent:()=>o.needIndent}}function sn(e,t){let{helper:n}=e;e.push(`${n(`linked`)}(`),dn(e,t.key),t.modifier?(e.push(`, `),dn(e,t.modifier),e.push(`, _type`)):e.push(`, undefined, _type`),e.push(`)`)}function cn(e,t){let{helper:n,needIndent:r}=e;e.push(`${n(`normalize`)}([`),e.indent(r());let i=t.items.length;for(let n=0;n<i&&(dn(e,t.items[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}function ln(e,t){let{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n(`plural`)}([`),e.indent(r());let i=t.cases.length;for(let n=0;n<i&&(dn(e,t.cases[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}}function un(e,t){t.body?dn(e,t.body):e.push(`null`)}function dn(e,t){let{helper:n}=e;switch(t.type){case 0:un(e,t);break;case 1:ln(e,t);break;case 2:cn(e,t);break;case 6:sn(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n(`interpolate`)}(${n(`list`)}(${t.index}))`,t);break;case 4:e.push(`${n(`interpolate`)}(${n(`named`)}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:}}var fn=(e,t={})=>{let n=F(t.mode)?t.mode:`normal`,r=F(t.filename)?t.filename:`message.intl`;t.sourceMap;let i=t.breakLineCode==null?n===`arrow`?`;`:`
|
|
4
|
+
`:t.breakLineCode,a=t.needIndent?t.needIndent:n!==`arrow`,o=e.helpers||[],s=on(e,{filename:r,breakLineCode:i,needIndent:a});s.push(n===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),s.indent(a),o.length>0&&(s.push(`const { ${Ot(o.map(e=>`${e}: _${e}`),`, `)} } = ctx`),s.newline()),s.push(`return `),dn(s,e),s.deindent(a),s.push(`}`),delete e.helpers;let{code:c,map:l}=s.context();return{ast:e,code:c,map:l?l.toJSON():void 0}};function pn(e,t={}){let n=ut({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null?!0:n.optimize,o=Xt(n).parse(e);return r?(a&&nn(o),i&&an(o),{ast:o,code:``}):(tn(o,n),fn(o,n))}function mn(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(pt().__INTLIFY_PROD_DEVTOOLS__=!1)}function hn(e){return L(e)&&Tn(e)===0&&(Ct(e,`b`)||Ct(e,`body`))}var gn=[`b`,`body`];function _n(e){return Mn(e,gn)}var vn=[`c`,`cases`];function yn(e){return Mn(e,vn,[])}var bn=[`s`,`static`];function xn(e){return Mn(e,bn)}var Sn=[`i`,`items`];function Cn(e){return Mn(e,Sn,[])}var wn=[`t`,`type`];function Tn(e){return Mn(e,wn)}var En=[`v`,`value`];function Dn(e,t){let n=Mn(e,En);if(n!=null)return n;throw Pn(t)}var On=[`m`,`modifier`];function kn(e){return Mn(e,On)}var An=[`k`,`key`];function jn(e){let t=Mn(e,An);if(t)return t;throw Pn(6)}function Mn(e,t,n){for(let n=0;n<t.length;n++){let r=t[n];if(Ct(e,r)&&e[r]!=null)return e[r]}return n}var Nn=[...gn,...vn,...bn,...Sn,...An,...On,...En,...wn];function Pn(e){return Error(`unhandled node type: ${e}`)}function Fn(e){return t=>In(t,e)}function In(e,t){let n=_n(t);if(n==null)throw Pn(0);if(Tn(n)===1){let t=yn(n);return e.plural(t.reduce((t,n)=>[...t,Ln(e,n)],[]))}else return Ln(e,n)}function Ln(e,t){let n=xn(t);if(n!=null)return e.type===`text`?n:e.normalize([n]);{let n=Cn(t).reduce((t,n)=>[...t,Rn(e,n)],[]);return e.normalize(n)}}function Rn(e,t){let n=Tn(t);switch(n){case 3:return Dn(t,n);case 9:return Dn(t,n);case 4:{let r=t;if(Ct(r,`k`)&&r.k)return e.interpolate(e.named(r.k));if(Ct(r,`key`)&&r.key)return e.interpolate(e.named(r.key));throw Pn(n)}case 5:{let r=t;if(Ct(r,`i`)&&j(r.i))return e.interpolate(e.list(r.i));if(Ct(r,`index`)&&j(r.index))return e.interpolate(e.list(r.index));throw Pn(n)}case 6:{let n=t,r=kn(n),i=jn(n);return e.linked(Rn(e,i),r?Rn(e,r):void 0,e.type)}case 7:return Dn(t,n);case 8:return Dn(t,n);default:throw Error(`unhandled node on format message part: ${n}`)}}var zn=e=>e,Bn=M();function Vn(e,t={}){let n=!1,r=t.onError||Pt;return t.onError=e=>{n=!0,r(e)},{...pn(e,t),detectError:n}}function Hn(e,t){if(F(e)){I(t.warnHtmlMessage)&&t.warnHtmlMessage;let n=(t.onCacheKey||zn)(e),r=Bn[n];if(r)return r;let{ast:i,detectError:a}=Vn(e,{...t,location:!1,jit:!0}),o=Fn(i);return a?o:Bn[n]=o}else{let t=e.cacheKey;return t?Bn[t]||(Bn[t]=Fn(e)):Fn(e)}}var Un=null;function Wn(e){Un=e}function Gn(e,t,n){Un&&Un.emit(`i18n:init`,{timestamp:Date.now(),i18n:e,version:t,meta:n})}var Kn=qn(`function:translate`);function qn(e){return t=>Un&&Un.emit(e,t)}var Jn={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Yn(e){return Nt(e,null,void 0)}Jn.INVALID_ARGUMENT,Jn.INVALID_DATE_ARGUMENT,Jn.INVALID_ISO_DATE_ARGUMENT,Jn.NOT_SUPPORT_NON_STRING_MESSAGE,Jn.NOT_SUPPORT_LOCALE_PROMISE_VALUE,Jn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,Jn.NOT_SUPPORT_LOCALE_TYPE;function Xn(e,t){return t.locale==null?Qn(e.locale):Qn(t.locale)}var Zn;function Qn(e){if(F(e))return e;if(P(e)){if(e.resolvedOnce&&Zn!=null)return Zn;if(e.constructor.name===`Function`){let t=e();if(wt(t))throw Yn(Jn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Zn=t}else throw Yn(Jn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Yn(Jn.NOT_SUPPORT_LOCALE_TYPE)}function $n(e,t,n){return[...new Set([n,...N(t)?t:L(t)?Object.keys(t):F(t)?[t]:[n]])]}function er(e,t,n){let r=F(n)?n:gr,i=e;i.__localeChainCache||=new Map;let a=i.__localeChainCache.get(r);if(!a){a=[];let e=[n];for(;N(e);)e=tr(a,e,t);let o=N(t)||!R(t)?t:t.default?t.default:null;e=F(o)?[o]:o,N(e)&&tr(a,e,!1),i.__localeChainCache.set(r,a)}return a}function tr(e,t,n){let r=!0;for(let i=0;i<t.length&&I(r);i++){let a=t[i];F(a)&&(r=nr(e,t[i],n))}return r}function nr(e,t,n){let r,i=t.split(`-`);do r=rr(e,i.join(`-`),n),i.splice(-1,1);while(i.length&&r===!0);return r}function rr(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!==`!`;let i=t.replace(/!/g,``);e.push(i),(N(n)||R(n))&&n[i]&&(r=n[i])}return r}var ir=[];ir[0]={w:[0],i:[3,0],"[":[4],o:[7]},ir[1]={w:[1],".":[2],"[":[4],o:[7]},ir[2]={w:[2],i:[3,0],0:[3,0]},ir[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},ir[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},ir[5]={"'":[4,0],o:8,l:[5,0]},ir[6]={'"':[4,0],o:8,l:[6,0]};var ar=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function or(e){return ar.test(e)}function sr(e){let t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function cr(e){if(e==null)return`o`;switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return`i`;case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return`w`}return`i`}function lr(e){let t=e.trim();return e.charAt(0)===`0`&&isNaN(parseInt(e))?!1:or(t)?sr(t):`*`+t}function ur(e){let t=[],n=-1,r=0,i=0,a,o,s,c,l,u,d,f=[];f[0]=()=>{o===void 0?o=s:o+=s},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>{if(i>0)i--,r=4,f[0]();else{if(i=0,o===void 0||(o=lr(o),o===!1))return!1;f[1]()}};function p(){let t=e[n+1];if(r===5&&t===`'`||r===6&&t===`"`)return n++,s=`\\`+t,f[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a===`\\`&&p())){if(c=cr(a),d=ir[r],l=d[c]||d.l||8,l===8||(r=l[0],l[1]!==void 0&&(u=f[l[1]],u&&(s=a,u()===!1))))return;if(r===7)return t}}var dr=new Map;function fr(e,t){return L(e)?e[t]:null}function pr(e,t){if(!L(e))return null;let n=dr.get(t);if(n||(n=ur(t),n&&dr.set(t,n)),!n)return null;let r=n.length,i=e,a=0;for(;a<r;){let e=n[a];if(Nn.includes(e)&&hn(i)||!L(i)||!Ct(i,e))return null;let t=i[e];if(t===void 0||P(i))return null;i=t,a++}return i}var mr={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,INVALID_NUMBER_ARGUMENT:8,INVALID_DATE_ARGUMENT:9};mr.NOT_FOUND_KEY,mr.FALLBACK_TO_TRANSLATE,mr.CANNOT_FORMAT_NUMBER,mr.FALLBACK_TO_NUMBER_FORMAT,mr.CANNOT_FORMAT_DATE,mr.FALLBACK_TO_DATE_FORMAT,mr.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER,mr.INVALID_NUMBER_ARGUMENT,mr.INVALID_DATE_ARGUMENT;var hr=`11.4.5`,gr=`en-US`,_r=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function vr(){return{upper:(e,t)=>t===`text`&&F(e)?e.toUpperCase():t===`vnode`&&L(e)&&`__v_isVNode`in e?e.children.toUpperCase():e,lower:(e,t)=>t===`text`&&F(e)?e.toLowerCase():t===`vnode`&&L(e)&&`__v_isVNode`in e?e.children.toLowerCase():e,capitalize:(e,t)=>t===`text`&&F(e)?_r(e):t===`vnode`&&L(e)&&`__v_isVNode`in e?_r(e.children):e}}var yr;function br(e){yr=e}var xr;function Sr(e){xr=e}var Cr;function wr(e){Cr=e}var Tr=null,Er=()=>Tr,Dr=null,Or=e=>{Dr=e},kr=()=>Dr,Ar=0;function jr(e={}){let t=P(e.onWarn)?e.onWarn:nt,n=F(e.version)?e.version:hr,r=F(e.locale)||P(e.locale)?e.locale:gr,i=P(r)?gr:r,a=N(e.fallbackLocale)||R(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=R(e.messages)?e.messages:Mr(i),s=R(e.datetimeFormats)?e.datetimeFormats:Mr(i),c=R(e.numberFormats)?e.numberFormats:Mr(i),l=ut(M(),e.modifiers,vr()),u=e.pluralRules||M(),d=P(e.missing)?e.missing:null,f=I(e.missingWarn)||ct(e.missingWarn)?e.missingWarn:!0,p=I(e.fallbackWarn)||ct(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,g=P(e.postTranslation)?e.postTranslation:null,_=R(e.processor)?e.processor:null,v=I(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,b=P(e.messageCompiler)?e.messageCompiler:yr,x=P(e.messageResolver)?e.messageResolver:xr||fr,S=P(e.localeFallbacker)?e.localeFallbacker:Cr||$n,C=L(e.fallbackContext)?e.fallbackContext:void 0,w=e,T=L(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,E=L(w.__numberFormatters)?w.__numberFormatters:new Map,ee=L(w.__meta)?w.__meta:{};Ar++;let D={version:n,cid:Ar,locale:r,fallbackLocale:a,messages:o,modifiers:l,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:g,processor:_,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:x,localeFallbacker:S,fallbackContext:C,onWarn:t,__meta:ee};return D.datetimeFormats=s,D.numberFormats=c,D.__datetimeFormatters=T,D.__numberFormatters=E,__INTLIFY_PROD_DEVTOOLS__&&Gn(D,n,ee),D}var Mr=e=>({[e]:M()});function Nr(e,t,n,r,i){let{missing:a,onWarn:o}=e;if(a!==null){let r=a(e,n,t,i);return F(r)?r:t}else return t}function Pr(e,t,n){let r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Fr(e,t){return e===t?!1:e.split(`-`)[0]===t.split(`-`)[0]}function Ir(e,t){let n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Fr(e,t[r]))return!0;return!1}var Lr=typeof Intl<`u`;Lr&&Intl.DateTimeFormat,Lr&&Intl.NumberFormat;function Rr(e,...t){let{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__datetimeFormatters:s}=e;if(!F(t[0])&&!st(t[0])&&!j(t[0]))return``;let[c,l,u,d]=Br(...t),f=I(u.missingWarn)?u.missingWarn:e.missingWarn;I(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;let p=!!u.part,m=Xn(e,u),h=o(e,i,m);if(!F(c)||c===``){let e=new Intl.DateTimeFormat(m.replace(/!/g,``),d);return p?e.formatToParts(l):e.format(l)}let g={},_,v=null;for(let t=0;t<h.length&&(_=h[t],g=n[_]||{},v=g[c],!R(v));t++)Nr(e,c,_,f,`datetime format`);if(!R(v)||!F(_))return r?-1:c;let y=`${_}__${c}`;lt(d)||(y=`${y}__${JSON.stringify(d)}`);let b=s.get(y);return b||(b=new Intl.DateTimeFormat(_,ut({},v,d)),s.set(y,b)),p?b.formatToParts(l):b.format(l)}var zr=[`localeMatcher`,`weekday`,`era`,`year`,`month`,`day`,`hour`,`minute`,`second`,`timeZoneName`,`formatMatcher`,`hour12`,`timeZone`,`dateStyle`,`timeStyle`,`calendar`,`dayPeriod`,`numberingSystem`,`hourCycle`,`fractionalSecondDigits`];function Br(...e){let[t,n,r,i]=e,a=M(),o=M(),s;if(F(t)){let e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Yn(Jn.INVALID_ISO_DATE_ARGUMENT);let n=e[3]?e[3].trim().startsWith(`T`)?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();s=new Date(n);try{s.toISOString()}catch{throw Yn(Jn.INVALID_ISO_DATE_ARGUMENT)}}else if(st(t)){if(isNaN(t.getTime()))throw Yn(Jn.INVALID_DATE_ARGUMENT);s=t}else if(j(t))s=t;else throw Yn(Jn.INVALID_ARGUMENT);return F(n)?a.key=n:R(n)&&Object.keys(n).forEach(e=>{zr.includes(e)?o[e]=n[e]:a[e]=n[e]}),F(r)?a.locale=r:R(r)&&(o=r),R(i)&&(o=i),[a.key||``,s,a,o]}function Vr(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}}function Hr(e,...t){let{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__numberFormatters:s}=e;if(!j(t[0]))return``;let[c,l,u,d]=Wr(...t),f=I(u.missingWarn)?u.missingWarn:e.missingWarn;I(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;let p=!!u.part,m=Xn(e,u),h=o(e,i,m);if(!F(c)||c===``){let e=new Intl.NumberFormat(m.replace(/!/g,``),d);return p?e.formatToParts(l):e.format(l)}let g={},_,v=null;for(let t=0;t<h.length&&(_=h[t],g=n[_]||{},v=g[c],!R(v));t++)Nr(e,c,_,f,`number format`);if(!R(v)||!F(_))return r?-1:c;let y=`${_}__${c}`;lt(d)||(y=`${y}__${JSON.stringify(d)}`);let b=s.get(y);return b||(b=new Intl.NumberFormat(_,ut({},v,d)),s.set(y,b)),p?b.formatToParts(l):b.format(l)}var Ur=[`localeMatcher`,`style`,`currency`,`currencyDisplay`,`currencySign`,`useGrouping`,`minimumIntegerDigits`,`minimumFractionDigits`,`maximumFractionDigits`,`minimumSignificantDigits`,`maximumSignificantDigits`,`compactDisplay`,`notation`,`signDisplay`,`unit`,`unitDisplay`,`roundingMode`,`roundingPriority`,`roundingIncrement`,`trailingZeroDisplay`];function Wr(...e){let[t,n,r,i]=e,a=M(),o=M();if(!j(t))throw Yn(Jn.INVALID_ARGUMENT);let s=t;return F(n)?a.key=n:R(n)&&Object.keys(n).forEach(e=>{Ur.includes(e)?o[e]=n[e]:a[e]=n[e]}),F(r)?a.locale=r:R(r)&&(o=r),R(i)&&(o=i),[a.key||``,s,a,o]}function Gr(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}}var Kr=e=>e,qr=e=>``,Jr=`text`,Yr=e=>e.length===0?``:Ot(e),Xr=Dt;function Zr(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function Qr(e){let t=j(e.pluralIndex)?e.pluralIndex:-1;return j(e.named?.count)?e.named.count:j(e.named?.n)?e.named.n:t}function $r(e={}){let t=e.locale,n=Qr(e),r=F(t)&&P(e.pluralRules?.[t])?e.pluralRules[t]:Zr,i=r===Zr?void 0:Zr,a=e=>e[r(n,e.length,i)],o=e.list||[],s=e=>o[e],c=e.named||M();j(e.pluralIndex)&&(c.count||=e.pluralIndex,c.n||=e.pluralIndex);let l=e=>c[e];function u(t,n){return(P(e.messages)?e.messages(t,!!n):L(e.messages)?e.messages[t]:!1)||(e.parent?e.parent.message(t):qr)}let d=t=>e.modifiers?e.modifiers[t]:Kr,f=P(e.processor?.normalize)?e.processor.normalize:Yr,p=P(e.processor?.interpolate)?e.processor.interpolate:Xr,m={list:s,named:l,plural:a,linked:(e,...t)=>{let[n,r]=t,i=`text`,a=``;t.length===1?L(n)?(a=n.modifier||a,i=n.type||i):F(n)&&(a=n||a):t.length===2&&(F(n)&&(a=n||a),F(r)&&(i=r||i));let o=u(e,!0)(m),s=o===``||o===void 0?e:o,c=i===`vnode`&&N(s)&&a?s[0]:s;return a?d(a)(c,i):c},message:u,type:F(e.processor?.type)?e.processor.type:Jr,interpolate:p,normalize:f,values:ut(M(),o,c)};return m}var ei=()=>``,ti=e=>P(e);function ni(e,...t){let{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[c,l]=si(...t),u=I(l.missingWarn)?l.missingWarn:e.missingWarn,d=I(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=I(l.escapeParameter)?l.escapeParameter:e.escapeParameter,p=!!l.resolvedMessage,m=F(l.default)||I(l.default)?I(l.default)?a?c:()=>c:l.default:n?a?c:()=>c:null,h=n||m!=null&&(F(m)||P(m)),g=Xn(e,l);f&&ri(l);let[_,v,y]=p?[c,g,s[g]||M()]:ii(e,c,g,o,d,u),b=_,x=c;if(!p&&!(F(b)||hn(b)||ti(b))&&h&&(b=m,x=b),!p&&(!(F(b)||hn(b)||ti(b))||!F(v)))return i?-1:c;let S=!1,C=ti(b)?b:ai(e,c,v,b,x,()=>{S=!0});if(S)return b;let w=oi(e,C,$r(li(e,v,y,l))),T=r?r(w,c):w;if(f&&F(T)&&(T=xt(T)),__INTLIFY_PROD_DEVTOOLS__){let t={timestamp:Date.now(),key:F(c)?c:ti(b)?b.key:``,locale:v||(ti(b)?b.locale:``),format:F(b)?b:ti(b)?b.source:``,message:T};t.meta=ut({},e.__meta,Er()||{}),Kn(t)}return T}function ri(e){N(e.list)?e.list=e.list.map(e=>F(e)?mt(e):e):L(e.named)&&Object.keys(e.named).forEach(t=>{F(e.named[t])&&(e.named[t]=mt(e.named[t]))})}function ii(e,t,n,r,i,a){let{messages:o,onWarn:s,messageResolver:c,localeFallbacker:l}=e,u=l(e,r,n),d=M(),f,p=null;for(let n=0;n<u.length&&(f=u[n],d=o[f]||M(),(p=c(d,t))===null&&(p=d[t]),!(F(p)||hn(p)||ti(p)));n++)if(!Ir(f,u)){let n=Nr(e,t,f,a,`translate`);n!==t&&(p=n)}return[p,f,d]}function ai(e,t,n,r,i,a){let{messageCompiler:o,warnHtmlMessage:s}=e;if(ti(r)){let e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(o==null){let e=(()=>r);return e.locale=n,e.key=t,e}let c=o(r,ci(e,n,i,r,s,a));return c.locale=n,c.key=t,c.source=r,c}function oi(e,t,n){return t(n)}function si(...e){let[t,n,r]=e,i=M();if(!F(t)&&!j(t)&&!ti(t)&&!hn(t))throw Yn(Jn.INVALID_ARGUMENT);let a=j(t)?String(t):(ti(t),t);return j(n)?i.plural=n:F(n)?i.default=n:R(n)&&!lt(n)?i.named=n:N(n)&&(i.list=n),j(r)?i.plural=r:F(r)?i.default=r:R(r)&&ut(i,r),[a,i]}function ci(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:e=>{throw a&&a(e),e},onCacheKey:e=>at(t,n,e)}}function li(e,t,n,r){let{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:c,missingWarn:l,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:a,messages:(r,i)=>{let a=o(n,r);if(a==null&&(u||i)){let[n,,i]=ii(u||e,r,t,s,c,l);a=n??o(i,r)}if(F(a)||hn(a)){let n=!1,i=ai(e,r,t,a,r,()=>{n=!0});return n?ei:i}else if(ti(a))return a;else return ei}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),j(r.plural)&&(d.pluralIndex=r.plural),d}mn(),_e(),fe(),l(),Ye();var ui=`11.4.5`;function di(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(pt().__INTLIFY_PROD_DEVTOOLS__=!1)}var B={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function fi(e,...t){return Nt(e,null,void 0)}B.UNEXPECTED_RETURN_TYPE,B.INVALID_ARGUMENT,B.MUST_BE_CALL_SETUP_TOP,B.NOT_INSTALLED,B.UNEXPECTED_ERROR,B.REQUIRED_VALUE,B.INVALID_VALUE,B.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,B.NOT_INSTALLED_WITH_PROVIDE,B.NOT_COMPATIBLE_LEGACY_VUE_I18N,B.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var pi=it(`__translateVNode`),mi=it(`__datetimeParts`),hi=it(`__numberParts`),gi=it(`__setPluralRules`);it(`__intlifyMeta`);var _i=it(`__injectWithOption`),vi=it(`__dispose`),yi={FALLBACK_TO_ROOT:10,NOT_FOUND_PARENT_SCOPE:11,IGNORE_OBJ_FLATTEN:12,DEPRECATE_LEGACY_MODE:13,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:14,DUPLICATE_USE_I18N_CALLING:15};yi.FALLBACK_TO_ROOT,yi.NOT_FOUND_PARENT_SCOPE,yi.IGNORE_OBJ_FLATTEN,yi.DEPRECATE_LEGACY_MODE,yi.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,yi.DUPLICATE_USE_I18N_CALLING;function bi(e){if(!L(e)||hn(e))return e;for(let t in e)if(Ct(e,t))if(!t.includes(`.`))L(e[t])&&bi(e[t]);else{let n=t.split(`.`),r=n.length-1,i=e,a=!1;for(let e=0;e<r;e++){if(n[e]===`__proto__`)throw Error(`unsafe key: ${n[e]}`);if(n[e]in i||(i[n[e]]=M()),!L(i[n[e]])){a=!0;break}i=i[n[e]]}if(a||(hn(i)?Nn.includes(n[r])||delete e[t]:(i[n[r]]=e[t],delete e[t])),!hn(i)){let e=i[n[r]];L(e)&&bi(e)}}return e}function xi(e,t){let{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,o=R(n)?n:N(r)?M():{[e]:M()};if(N(r)&&r.forEach(e=>{if(`locale`in e&&`resource`in e){let{locale:t,resource:n}=e;t?(o[t]=o[t]||M(),At(n,o[t])):At(n,o)}else F(e)&&At(JSON.parse(e),o)}),i==null&&a)for(let e in o)Ct(o,e)&&bi(o[e]);return o}function Si(e){return e.type}function Ci(e,t,n){let r=L(t.messages)?t.messages:M();`__i18nGlobal`in n&&(r=xi(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));let i=Object.keys(r);if(i.length&&i.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),L(t.datetimeFormats)){let n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(L(t.numberFormats)){let n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function wi(e){return ve(Re,null,e,0)}function Ti(){let e=`currentInstance`;return e in We?We[e]:ie()}var Ei=()=>[],Di=()=>!1,Oi=0;function ki(e){return((t,n,r,i)=>e(n,r,Ti()||void 0,i))}function Ai(e={}){let{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,a=rt?Fe:O,o=I(e.inheritLocale)?e.inheritLocale:!0,s=a(t&&o?t.locale.value:F(e.locale)?e.locale:gr),c=a(t&&o?t.fallbackLocale.value:F(e.fallbackLocale)||N(e.fallbackLocale)||R(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),l=a(xi(s.value,e)),u=a(R(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),d=a(R(e.numberFormats)?e.numberFormats:{[s.value]:{}}),f=t?t.missingWarn:I(e.missingWarn)||ct(e.missingWarn)?e.missingWarn:!0,m=t?t.fallbackWarn:I(e.fallbackWarn)||ct(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:I(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,_=P(e.missing)?e.missing:null,v=P(e.missing)?ki(e.missing):null,y=P(e.postTranslation)?e.postTranslation:null,b=t?t.warnHtmlMessage:I(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter,S=t?t.modifiers:R(e.modifiers)?e.modifiers:{},C=e.pluralRules||t&&t.pluralRules,w;w=(()=>{r&&Or(null);let t={version:ui,locale:s.value,fallbackLocale:c.value,messages:l.value,modifiers:S,pluralRules:C,missing:v===null?void 0:v,missingWarn:f,fallbackWarn:m,fallbackFormat:g,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:b,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:`vue`}};t.datetimeFormats=u.value,t.numberFormats=d.value,t.__datetimeFormatters=R(w)?w.__datetimeFormatters:void 0,t.__numberFormatters=R(w)?w.__numberFormatters:void 0;let n=jr(t);return r&&Or(n),n})(),Pr(w,s.value,c.value);function T(){return[s.value,c.value,l.value,u.value,d.value]}let E=A({get:()=>s.value,set:e=>{w.locale=e,s.value=e}}),ee=A({get:()=>c.value,set:e=>{w.fallbackLocale=e,c.value=e,Pr(w,s.value,e)}}),D=A(()=>l.value),te=A(()=>u.value),ne=A(()=>d.value);function re(){return P(y)?y:null}function ie(e){y=e,w.postTranslation=e}function ae(){return _}function oe(e){e!==null&&(v=ki(e)),_=e,w.missing=v}let se=(e,n,i,a,o,s)=>{T();let c;try{__INTLIFY_PROD_DEVTOOLS__,r||(w.fallbackContext=t?kr():void 0),c=e(w)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(w.fallbackContext=void 0)}if(i!==`translate exists`&&j(c)&&c===-1||i===`translate exists`&&!c){let[e,r]=n();return t&&h?a(t):o(e)}else if(s(c))return c;else throw fi(B.UNEXPECTED_RETURN_TYPE)};function ce(...e){return se(t=>Reflect.apply(ni,null,[t,...e]),()=>si(...e),`translate`,t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>F(e))}function le(...e){let[t,n,r]=e;if(r&&!L(r))throw fi(B.INVALID_ARGUMENT);return ce(t,n,ut({resolvedMessage:!0},r||{}))}function ue(...e){return se(t=>Reflect.apply(Rr,null,[t,...e]),()=>Br(...e),`datetime format`,t=>Reflect.apply(t.d,t,[...e]),()=>``,e=>F(e)||N(e))}function de(...e){return se(t=>Reflect.apply(Hr,null,[t,...e]),()=>Wr(...e),`number format`,t=>Reflect.apply(t.n,t,[...e]),()=>``,e=>F(e)||N(e))}function fe(e){return e.map(e=>F(e)||j(e)||I(e)?wi(String(e)):e)}let pe={normalize:fe,interpolate:e=>e,type:`vnode`};function me(...e){return se(t=>{let n,r=t;try{r.processor=pe,n=Reflect.apply(ni,null,[r,...e])}finally{r.processor=null}return n},()=>si(...e),`translate`,t=>t[pi](...e),e=>[wi(e)],e=>N(e))}function he(...e){return se(t=>Reflect.apply(Hr,null,[t,...e]),()=>Wr(...e),`number format`,t=>t[hi](...e),Ei,e=>F(e)||N(e))}function ge(...e){return se(t=>Reflect.apply(Rr,null,[t,...e]),()=>Br(...e),`datetime format`,t=>t[mi](...e),Ei,e=>F(e)||N(e))}function _e(e){C=e,w.pluralRules=C}function ve(e,t){return se(()=>{if(!e)return!1;let n=F(t)?t:s.value,r=F(t)?[n]:er(w,c.value,n);for(let t=0;t<r.length;t++){let n=xe(r[t]),i=w.messageResolver(n,e);if(i===null&&(i=n[e]),hn(i)||ti(i)||F(i))return!0}return!1},()=>[e],`translate exists`,n=>Reflect.apply(n.te,n,[e,t]),Di,e=>I(e))}function ye(e){let t=null,n=er(w,c.value,s.value);for(let r=0;r<n.length;r++){let i=l.value[n[r]]||{},a=w.messageResolver(i,e);if(a!=null){t=a;break}}return t}function be(e){return ye(e)??(t&&t.tm(e)||{})}function xe(e){return l.value[e]||{}}function Se(e,t){if(i){let n={[e]:t};for(let e in n)Ct(n,e)&&bi(n[e]);t=n[e]}l.value[e]=t,w.messages=l.value}function Ce(e,t){l.value[e]=l.value[e]||{};let n={[e]:t};if(i)for(let e in n)Ct(n,e)&&bi(n[e]);t=n[e],At(t,l.value[e]),w.messages=l.value}function we(e){return u.value[e]||{}}function Te(e,t){u.value[e]=t,w.datetimeFormats=u.value,Vr(w,e,t)}function Ee(e,t){u.value[e]=ut(u.value[e]||{},t),w.datetimeFormats=u.value,Vr(w,e,t)}function De(e){return d.value[e]||{}}function Oe(e,t){d.value[e]=t,w.numberFormats=d.value,Gr(w,e,t)}function ke(e,t){d.value[e]=ut(d.value[e]||{},t),w.numberFormats=d.value,Gr(w,e,t)}Oi++,t&&rt&&(p(t.locale,e=>{o&&(s.value=e,w.locale=e,Pr(w,s.value,c.value))}),p(t.fallbackLocale,e=>{o&&(c.value=e,w.fallbackLocale=e,Pr(w,s.value,c.value))}));let Ae={id:Oi,locale:E,fallbackLocale:ee,get inheritLocale(){return o},set inheritLocale(e){o=e,e&&t&&(s.value=t.locale.value,c.value=t.fallbackLocale.value,Pr(w,s.value,c.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:D,get modifiers(){return S},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(e){f=e,w.missingWarn=f},get fallbackWarn(){return m},set fallbackWarn(e){m=e,w.fallbackWarn=m},get fallbackRoot(){return h},set fallbackRoot(e){h=e},get fallbackFormat(){return g},set fallbackFormat(e){g=e,w.fallbackFormat=g},get warnHtmlMessage(){return b},set warnHtmlMessage(e){b=e,w.warnHtmlMessage=e},get escapeParameter(){return x},set escapeParameter(e){x=e,w.escapeParameter=e},t:ce,getLocaleMessage:xe,setLocaleMessage:Se,mergeLocaleMessage:Ce,getPostTranslationHandler:re,setPostTranslationHandler:ie,getMissingHandler:ae,setMissingHandler:oe,[gi]:_e};return Ae.datetimeFormats=te,Ae.numberFormats=ne,Ae.rt=le,Ae.te=ve,Ae.tm=be,Ae.d=ue,Ae.n=de,Ae.getDateTimeFormat=we,Ae.setDateTimeFormat=Te,Ae.mergeDateTimeFormat=Ee,Ae.getNumberFormat=De,Ae.setNumberFormat=Oe,Ae.mergeNumberFormat=ke,Ae[_i]=n,Ae[pi]=me,Ae[mi]=ge,Ae[hi]=he,Ae}var ji={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e===`parent`||e===`global`,default:`parent`},i18n:{type:Object}};function Mi({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===Se?t.children:[t]],[]):t.reduce((t,n)=>{let r=e[n];return r&&(t[n]=r()),t},M())}function Ni(){return Se}var Pi=Qe({name:`i18n-t`,props:ut({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>j(e)||!isNaN(e)}},ji),setup(e,t){let{slots:n,attrs:r}=t,i=e.i18n||Gi({useScope:e.scope,__useComponent:!0});return()=>{let a=()=>{let r=Object.keys(n).filter(e=>e[0]!==`_`),a=M();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=F(e.plural)?+e.plural:e.plural);let o=Mi(t,r);return i[pi](e.keypath,o,a)},o=ut(M(),r),s=F(e.tag)||L(e.tag)?e.tag:Ni();return L(s)?Xe(s,o,{default:a}):Xe(s,o,a())}}});function Fi(e){return N(e)&&!F(e[0])}function Ii(e,t,n,r){let{slots:i,attrs:a}=t;return()=>{let t=()=>{let t={part:!0},a=M();e.locale&&(t.locale=e.locale),F(e.format)?t.key=e.format:L(e.format)&&(F(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce((t,r)=>n.includes(r)?ut(M(),t,{[r]:e.format[r]}):t,M()));let o=r(e.value,t,a),s=[t.key];return N(o)?s=o.map((e,t)=>{let n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:o}):[e.value];return Fi(r)&&(r[0].key=`${e.type}-${t}`),r}):F(o)&&(s=[o]),s},o=ut(M(),a),s=F(e.tag)||L(e.tag)?e.tag:Ni();return L(s)?Xe(s,o,{default:t}):Xe(s,o,t())}}var Li=Qe({name:`i18n-n`,props:ut({value:{type:Number,required:!0},format:{type:[String,Object]}},ji),setup(e,t){let n=e.i18n||Gi({useScope:e.scope,__useComponent:!0});return Ii(e,t,Ur,(...e)=>n[hi](...e))}});function Ri(e,t){let n=e;if(e.mode===`composition`)return n.__getInstance(t)||e.global;{let r=n.__getInstance(t);return r==null?e.global.__composer:r.__composer}}function zi(e){let t=t=>{let{instance:n,value:r}=t;if(!n||!n.$)throw fi(B.UNEXPECTED_ERROR);let i=Ri(e,n.$),a=Bi(r);return[Reflect.apply(i.t,i,[...Vi(a)]),i]};return{created:(e,n)=>{let[r,i]=t(n);rt&&(e.__i18nWatcher=p(i.locale,()=>{n.instance&&n.instance.$forceUpdate()})),e.__composer=i,e.textContent=r},unmounted:e=>{rt&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let n=e.__composer,r=Bi(t);e.textContent=Reflect.apply(n.t,n,[...Vi(r)])}},getSSRProps:e=>{let[n]=t(e);return{textContent:n}}}}function Bi(e){if(F(e))return{path:e};if(R(e)){if(!(`path`in e))throw fi(B.REQUIRED_VALUE,`path`);return e}else throw fi(B.INVALID_VALUE)}function Vi(e){let{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},s=r||{};return F(n)&&(o.locale=n),j(i)&&(o.plural=i),j(a)&&(o.plural=a),[t,s,o]}function Hi(e,t,...n){let r=R(n[0])?n[0]:{};(!I(r.globalInstall)||r.globalInstall)&&([Pi.name,`I18nT`].forEach(t=>e.component(t,Pi)),[Li.name,`I18nN`].forEach(t=>e.component(t,Li)),[na.name,`I18nD`].forEach(t=>e.component(t,na))),e.directive(`t`,zi(t))}var Ui=it(`global-vue-i18n`);function Wi(e={}){let t=I(e.globalInjection)?e.globalInjection:!0,n=new Map,[r,i]=Ki(e,!1),a=it(``);function o(e){return n.get(e)||null}function s(e,t){n.set(e,t)}function c(e){n.delete(e)}let l={get mode(){return`composition`},async install(e,...n){if(e.__VUE_I18N_SYMBOL__=a,e.provide(e.__VUE_I18N_SYMBOL__,l),R(n[0])){let e=n[0];l.__composerExtend=e.__composerExtend,l.__vueI18nExtend=e.__vueI18nExtend}let r=null;t&&(r=ta(e,l.global)),Hi(e,l,...n);let i=e.unmount;e.unmount=()=>{r&&r(),l.dispose(),i()}},get global(){return i},dispose(){r.stop()},__instances:n,__getInstance:o,__setInstance:s,__deleteInstance:c};return l}function Gi(t={}){let n=Ti();if(n==null)throw fi(B.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw fi(B.NOT_INSTALLED);let r=qi(n),i=Yi(r),a=Si(n),o=Ji(t,a);if(o===`global`)return Ci(i,t,a),i;if(o===`parent`){let e=Xi(r,n,t.__useComponent);return e??=i,e}if(o===`isolated`){if(r.mode!==`composition`)throw fi(B.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);let a=r,o=ut({},t);o.__root=Xi(r,n)||i;let s=Ai(o);return a.__composerExtend&&(s[vi]=a.__composerExtend(s)),pe()&&e(()=>{let e=s[vi];e&&(e(),delete s[vi])}),s}let s=r,c=s.__getInstance(n);if(c==null){let e=ut({},t);`__i18n`in a&&(e.__i18n=a.__i18n),i&&(e.__root=i),c=Ai(e),s.__composerExtend&&(c[vi]=s.__composerExtend(c)),Qi(s,n,c),s.__setInstance(n,c)}return c}function Ki(e,t){let n=_(),r=n.run(()=>Ai(e));if(r==null)throw fi(B.UNEXPECTED_ERROR);return[n,r]}function qi(e){let t=s(e.isCE?Ui:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw fi(e.isCE?B.NOT_INSTALLED_WITH_PROVIDE:B.UNEXPECTED_ERROR);return t}function Ji(e,t){return lt(e)?`__i18n`in t?`local`:`global`:e.useScope?e.useScope:`local`}function Yi(e){return e.mode===`composition`?e.global:e.global.__composer}function Xi(e,t,n=!1){let r=null,i=t.root,a=Zi(t,n);for(;a!=null;){let t=e;if(e.mode===`composition`&&(r=t.__getInstance(a)),r!=null||i===a)break;a=a.parent}return r}function Zi(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Qi(e,t,n){C(()=>{},t),ee(()=>{let r=n;e.__deleteInstance(t);let i=r[vi];i&&(i(),delete r[vi])},t)}var $i=[`locale`,`fallbackLocale`,`availableLocales`],ea=[`t`,`rt`,`d`,`n`,`tm`,`te`];function ta(e,t){let n=Object.create(null);return $i.forEach(e=>{let r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw fi(B.UNEXPECTED_ERROR);let i=me(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,i)}),e.config.globalProperties.$i18n=n,ea.forEach(n=>{let r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw fi(B.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}),()=>{delete e.config.globalProperties.$i18n,ea.forEach(t=>{delete e.config.globalProperties[`$${t}`]})}}var na=Qe({name:`i18n-d`,props:ut({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ji),setup(e,t){let n=e.i18n||Gi({useScope:e.scope,__useComponent:!0});return Ii(e,t,zr,(...e)=>n[mi](...e))}});if(di(),br(Hn),Sr(pr),wr(er),__INTLIFY_PROD_DEVTOOLS__){let e=pt();e.__INTLIFY__=!0,Wn(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var ra=`modulepreload`,ia=function(e,t){return new URL(e,t).href},aa={},oa=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=ia(t,n),t in aa)return;aa[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:ra,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},sa=i({availableLocales:()=>ua,install:()=>ma,loadLanguageAsync:()=>pa}),ca=Wi({legacy:!1,locale:``,messages:{}}),la=Object.fromEntries(Object.entries(Object.assign({"../../locales/en.yml":()=>oa(()=>import(`./_intlify-i18n-0-BmghNkij.js`),[],import.meta.url),"../../locales/zh-CN.yml":()=>oa(()=>import(`./_intlify-i18n-1-DzpDgiG5.js`),[],import.meta.url)})).map(([e,t])=>[e.match(/([\w-]*)\.yml$/)?.[1],t])),ua=Object.keys(la),da=[];function fa(e){return ca.global.locale.value=e,typeof document<`u`&&document.querySelector(`html`)?.setAttribute(`lang`,e),e}async function pa(e){if(ca.global.locale.value===e||da.includes(e))return fa(e);let t=await la[e]();return ca.global.setLocaleMessage(e,t.default),da.push(e),fa(e)}var ma=async({app:e})=>{e.use(ca),await pa(window.DEFAULT_LANG)},ha=re(((e,t)=>{(function(n,r){typeof define==`function`&&define.amd?define(r):typeof e==`object`?t.exports=r():n.NProgress=r()})(e,function(){var e={};e.version=`0.2.0`;var t=e.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>`};e.configure=function(e){var n,r;for(n in e)r=e[n],r!==void 0&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(r){var s=e.isStarted();r=n(r,t.minimum,1),e.status=r===1?null:r;var c=e.render(!s),l=c.querySelector(t.barSelector),u=t.speed,d=t.easing;return c.offsetWidth,a(function(n){t.positionUsing===``&&(t.positionUsing=e.getPositioningCSS()),o(l,i(r,u,d)),r===1?(o(c,{transition:`none`,opacity:1}),c.offsetWidth,setTimeout(function(){o(c,{transition:`all `+u+`ms linear`,opacity:0}),setTimeout(function(){e.remove(),n()},u)},u)):setTimeout(n,u)}),this},e.isStarted=function(){return typeof e.status==`number`},e.start=function(){e.status||e.set(0);var n=function(){setTimeout(function(){e.status&&(e.trickle(),n())},t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return!t&&!e.status?this:e.inc(.3+.5*Math.random()).set(1)},e.inc=function(t){var r=e.status;return r?(typeof t!=`number`&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},(function(){var t=0,n=0;e.promise=function(r){return!r||r.state()===`resolved`?this:(n===0&&e.start(),t++,n++,r.always(function(){n--,n===0?(t=0,e.done()):e.set((t-n)/t)}),this)}})(),e.render=function(n){if(e.isRendered())return document.getElementById(`nprogress`);c(document.documentElement,`nprogress-busy`);var i=document.createElement(`div`);i.id=`nprogress`,i.innerHTML=t.template;var a=i.querySelector(t.barSelector),s=n?`-100`:r(e.status||0),l=document.querySelector(t.parent),u;return o(a,{transition:`all 0 linear`,transform:`translate3d(`+s+`%,0,0)`}),t.showSpinner||(u=i.querySelector(t.spinnerSelector),u&&d(u)),l!=document.body&&c(l,`nprogress-custom-parent`),l.appendChild(i),i},e.remove=function(){l(document.documentElement,`nprogress-busy`),l(document.querySelector(t.parent),`nprogress-custom-parent`);var e=document.getElementById(`nprogress`);e&&d(e)},e.isRendered=function(){return!!document.getElementById(`nprogress`)},e.getPositioningCSS=function(){var e=document.body.style,t=`WebkitTransform`in e?`Webkit`:`MozTransform`in e?`Moz`:`msTransform`in e?`ms`:`OTransform`in e?`O`:``;return t+`Perspective`in e?`translate3d`:t+`Transform`in e?`translate`:`margin`};function n(e,t,n){return e<t?t:e>n?n:e}function r(e){return(-1+e)*100}function i(e,n,i){var a=t.positionUsing===`translate3d`?{transform:`translate3d(`+r(e)+`%,0,0)`}:t.positionUsing===`translate`?{transform:`translate(`+r(e)+`%,0)`}:{"margin-left":r(e)+`%`};return a.transition=`all `+n+`ms `+i,a}var a=(function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),e.length==1&&t()}})(),o=(function(){var e=[`Webkit`,`O`,`Moz`,`ms`],t={};function n(e){return e.replace(/^-ms-/,`ms-`).replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})}function r(t){var n=document.body.style;if(t in n)return t;for(var r=e.length,i=t.charAt(0).toUpperCase()+t.slice(1),a;r--;)if(a=e[r]+i,a in n)return a;return t}function i(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=i(t),e.style[t]=n}return function(e,t){var n=arguments,r,i;if(n.length==2)for(r in t)i=t[r],i!==void 0&&t.hasOwnProperty(r)&&a(e,r,i);else a(e,n[1],n[2])}})();function s(e,t){return(typeof e==`string`?e:u(e)).indexOf(` `+t+` `)>=0}function c(e,t){var n=u(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function l(e,t){var n=u(e),r;s(e,t)&&(r=n.replace(` `+t+` `,` `),e.className=r.substring(1,r.length-1))}function u(e){return(` `+(e.className||``)+` `).replace(/\s+/gi,` `)}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e})})),ga=i({install:()=>va}),_a=le(ha(),1),va=({isClient:e,router:t})=>{e&&(t.beforeEach((e,t)=>{e.path!==t.path&&_a.default.start()}),t.afterEach(()=>{_a.default.done()}))};l(),fe();var ya=typeof window<`u`,ba=Symbol(),xa;(function(e){e.direct=`direct`,e.patchObject=`patch object`,e.patchFunction=`patch function`})(xa||={});var Sa=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function Ca(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function wa(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){ka(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function Ta(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Ea(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var Da=typeof navigator==`object`?navigator:{userAgent:``},Oa=/Macintosh/.test(Da.userAgent)&&/AppleWebKit/.test(Da.userAgent)&&!/Safari/.test(Da.userAgent),ka=ya?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!Oa?Aa:`msSaveOrOpenBlob`in Da?ja:Ma:()=>{};function Aa(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?Ea(r):Ta(r.href)?wa(e,t,n):(r.target=`_blank`,Ea(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){Ea(r)},0))}function ja(e,t=`download`,n){if(typeof e==`string`)if(Ta(e))wa(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){Ea(t)})}else navigator.msSaveOrOpenBlob(Ca(e,n),t)}function Ma(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return wa(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(Sa.HTMLElement))||`safari`in Sa,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||Oa)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:Na}=Object;function Pa(){let e=_(!0),t=e.run(()=>Fe({})),n=[],r=[],i=te({install(e){i._a=e,e.provide(ba,i),e.config.globalProperties.$pinia=i,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}var{assign:Fa}=Object,Ia=i({install:()=>La}),La=({isClient:e,initialState:t,app:n})=>{let r=Pa();n.use(r),e?r.state.value=t.pinia||{}:t.pinia=r.state.value};function Ra(e){Object.getOwnPropertySymbols(e).forEach(t=>{cl[t]=e[t]})}function za(e,t=``){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:K}}function Ba(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,u=K){return e&&(s?(e.helper(Oc),e.helper(to(e.inSSR,l))):e.helper(eo(e.inSSR,l)),o&&e.helper(Bc)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:u}}function Va(e,t=K){return{type:17,loc:t,elements:e}}function Ha(e,t=K){return{type:15,loc:t,properties:e}}function V(e,t){return{type:16,loc:K,key:c(e)?H(e,!0):e,value:t}}function H(e,t=!1,n=K,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Ua(e,t){return{type:5,loc:t,content:c(e)?H(e,!1,t):e}}function Wa(e,t=K){return{type:8,loc:t,children:e}}function U(e,t=[],n=K){return{type:14,loc:n,callee:e,arguments:t}}function Ga(e,t=void 0,n=!1,r=!1,i=K){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function Ka(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:K}}function qa(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:K}}function Ja(e){return{type:21,body:e,loc:K}}function Ya(e){return{type:22,elements:e,loc:K}}function Xa(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:K}}function Za(e,t){return{type:24,left:e,right:t,loc:K}}function Qa(e){return{type:25,expressions:e,loc:K}}function $a(e){return{type:26,returns:e,loc:K}}function eo(e,t){return e||t?jc:Mc}function to(e,t){return e||t?kc:Ac}function no(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(eo(r,e.isComponent)),t(Oc),t(to(r,e.isComponent)))}function ro(e){return e>=97&&e<=122||e>=65&&e<=90}function io(e){return e===32||e===10||e===9||e===12||e===13}function ao(e){return e===47||e===62||io(e)}function oo(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}function so(e,{compatConfig:t}){let n=t&&t[e];return e===`MODE`?n||3:n}function co(e,t){let n=so(`MODE`,t),r=so(e,t);return n===3?r===!0:r!==!1}function lo(e,t,n,...r){return co(e,t)}function uo(e,t,n,...r){if(so(e,t)===`suppress-warning`)return;let{message:i,link:a}=vl[e],o=`(deprecation ${e}) ${typeof i==`function`?i(...r):i}${a?`
|
|
5
|
+
Details: ${a}`:``}`,s=SyntaxError(o);s.code=e,n&&(s.loc=n),t.onWarn(s)}function fo(e){throw e}function po(e){}function W(e,t,n,r){let i=`https://vuejs.org/error-reference/#compiler-${e}`,a=SyntaxError(String(i));return a.code=e,a.loc=t,a}function mo(e,t,n=!1,r=[],i=Object.create(null)){}function ho(e,t,n){return!1}function go(e,t){if(e&&(e.type===`ObjectProperty`||e.type===`ArrayPattern`)){let e=t.length;for(;e--;){let n=t[e];if(n.type===`AssignmentExpression`)return!0;if(n.type!==`ObjectProperty`&&!n.type.endsWith(`Pattern`))break}}return!1}function _o(e){let t=e.length;for(;t--;){let n=e[t];if(n.type===`NewExpression`)return!0;if(n.type!==`MemberExpression`)break}return!1}function vo(e,t){for(let n of e.params)for(let e of Co(n))t(e)}function yo(e,t){let n=e.type===`SwitchCase`?e.consequent:e.body;for(let e of n)if(e.type===`VariableDeclaration`){if(e.declare)continue;for(let n of e.declarations)for(let e of Co(n.id))t(e)}else if(e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`){if(e.declare||!e.id)continue;t(e.id)}else bo(e)?xo(e,!0,t):e.type===`SwitchStatement`&&So(e,!0,t)}function bo(e){return e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`}function xo(e,t,n){let r=e.type===`ForStatement`?e.init:e.left;if(r&&r.type===`VariableDeclaration`&&(r.kind===`var`?t:!t))for(let e of r.declarations)for(let t of Co(e.id))n(t)}function So(e,t,n){for(let r of e.cases){for(let e of r.consequent)if(e.type===`VariableDeclaration`&&(e.kind===`var`?t:!t))for(let t of e.declarations)for(let e of Co(t.id))n(e);yo(r,n)}}function Co(e,t=[]){switch(e.type){case`Identifier`:t.push(e);break;case`MemberExpression`:let n=e;for(;n.type===`MemberExpression`;)n=n.object;t.push(n);break;case`ObjectPattern`:for(let n of e.properties)n.type===`RestElement`?Co(n.argument,t):Co(n.value,t);break;case`ArrayPattern`:e.elements.forEach(e=>{e&&Co(e,t)});break;case`RestElement`:Co(e.argument,t);break;case`AssignmentPattern`:Co(e.left,t);break}return t}function wo(e){return wl.includes(e.type)?wo(e.expression):e}function To(e){switch(e){case`Teleport`:case`teleport`:return wc;case`Suspense`:case`suspense`:return Tc;case`KeepAlive`:case`keep-alive`:return Ec;case`BaseTransition`:case`base-transition`:return Dc}}function Eo(e,t,n=t.length){return Do({offset:e.offset,line:e.line,column:e.column},t,n)}function Do(e,t,n=t.length){let r=0,i=-1;for(let e=0;e<n;e++)t.charCodeAt(e)===10&&(r++,i=e);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function Oo(e,t){if(!e)throw Error(t||`unexpected compiler condition`)}function ko(e,t,n=!1){for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&(n||i.exp)&&(c(t)?i.name===t:t.test(i.name)))return i}}function Ao(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===6){if(n)continue;if(a.name===t&&(a.value||r))return a}else if(a.name===`bind`&&(a.exp||r)&&jo(a.arg,t))return a}}function jo(e,t){return!!(e&&Tl(e)&&e.content===t)}function Mo(e){return e.props.some(e=>e.type===7&&e.name===`bind`&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function No(e){return e.type===5||e.type===2}function Po(e){return e.type===7&&e.name===`pre`}function Fo(e){return e.type===7&&e.name===`slot`}function Io(e){return e.type===1&&e.tagType===3}function Lo(e){return e.type===1&&e.tagType===2}function Ro(e,t=[]){if(e&&!c(e)&&e.type===14){let n=e.callee;if(!c(n)&&zl.has(n))return Ro(e.arguments[0],t.concat(e))}return[e,t]}function zo(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],a=[],o;if(i&&!c(i)&&i.type===14){let e=Ro(i);i=e[0],a=e[1],o=a[a.length-1]}if(i==null||c(i))r=Ha([t]);else if(i.type===14){let e=i.arguments[0];!c(e)&&e.type===15?Bo(t,e)||e.properties.unshift(t):i.callee===Xc?r=U(n.helper(Gc),[Ha([t]),i]):i.arguments.unshift(Ha([t])),!r&&(r=i)}else i.type===15?(Bo(t,i)||i.properties.unshift(t),r=i):(r=U(n.helper(Gc),[Ha([t]),i]),o&&o.callee===Yc&&(o=a[a.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function Bo(e,t){let n=!1;if(e.key.type===4){let r=e.key.content;n=t.properties.some(e=>e.key.type===4&&e.key.content===r)}return n}function Vo(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>t===`-`?`_`:e.charCodeAt(n).toString())}`}function Ho(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){let r=e.props[n];if(r.type===7&&(Ho(r.arg,t)||Ho(r.exp,t)))return!0}return e.children.some(e=>Ho(e,t));case 11:return Ho(e.source,t)?!0:e.children.some(e=>Ho(e,t));case 9:return e.branches.some(e=>Ho(e,t));case 10:return Ho(e.condition,t)?!0:e.children.some(e=>Ho(e,t));case 4:return!e.isStatic&&Dl(e.content)&&!!t[e.content];case 8:return e.children.some(e=>o(e)&&Ho(e,t));case 5:case 12:return Ho(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Uo(e){return e.type===14&&e.callee===ol?e.arguments[1].returns:e}function Wo(e){for(let t=0;t<e.length;t++)if(!io(e.charCodeAt(t)))return!1;return!0}function Go(e){return e.type===2&&Wo(e.content)||e.type===12&&Go(e.content)}function Ko(e){return e.type===3||Go(e)}function qo(e){let t=e.loc,n=e.content,r=n.match(Bl);if(!r)return;let[,i,a]=r,o=(e,n,r=!1)=>{let i=t.start.offset+n;return us(e,!1,G(i,i+e.length),0,+!!r)},s={source:o(a.trim(),n.indexOf(a,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1},c=i.trim().replace(Ql,``).trim(),l=i.indexOf(c),u=c.match(Zl);if(u){c=c.replace(Zl,``).trim();let e=u[1].trim(),t;if(e&&(t=n.indexOf(e,l+c.length),s.key=o(e,t,!0)),u[2]){let r=u[2].trim();r&&(s.index=o(r,n.indexOf(r,s.key?t+e.length:l+c.length),!0))}}return c&&(s.value=o(c,l,!0)),s}function Jo(e,t){return Ul.slice(e,t)}function Yo(e){X.inSFCRoot&&(Wl.innerLoc=G(e+1,e+1)),os(Wl);let{tag:t,ns:n}=Wl;n===0&&q.isPreTag(t)&&Jl++,q.isVoidTag(t)?Zo(Wl,e):(Y.unshift(Wl),(n===1||n===2)&&(X.inXML=!0)),Wl=null}function Xo(e,t,n){{let t=Y[0]&&Y[0].tag;t!==`script`&&t!==`style`&&e.includes(`&`)&&(e=q.decodeEntities(e,!1))}let r=Y[0]||Hl,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=e,cs(i.loc,n)):r.children.push({type:2,content:e,loc:G(t,n)})}function Zo(e,t,n=!1){n?cs(e.loc,$o(t,60)):cs(e.loc,Qo(t,62)+1),X.inSFCRoot&&(e.children.length?e.innerLoc.end=Te({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Te({},e.innerLoc.start),e.innerLoc.source=Jo(e.innerLoc.start.offset,e.innerLoc.end.offset));let{tag:r,ns:i,children:a}=e;if(Yl||(r===`slot`?e.tagType=2:es(e)?e.tagType=3:ts(e)&&(e.tagType=1)),X.inRCDATA||(e.children=rs(a)),i===0&&q.isIgnoreNewlineTag(r)){let e=a[0];e&&e.type===2&&(e.content=e.content.replace(/^\r?\n/,``))}i===0&&q.isPreTag(r)&&Jl--,Xl===e&&(Yl=X.inVPre=!1,Xl=null),X.inXML&&(Y[0]?Y[0].ns:q.ns)===0&&(X.inXML=!1);{let t=e.props;if(!X.inSFCRoot&&co(`COMPILER_NATIVE_TEMPLATE`,q)&&e.tag===`template`&&!es(e)){let t=Y[0]||Hl,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}let n=t.find(e=>e.type===6&&e.name===`inline-template`);n&&lo(`COMPILER_INLINE_TEMPLATE`,q,n.loc)&&e.children.length&&(n.value={type:2,content:Jo(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function Qo(e,t){let n=e;for(;Ul.charCodeAt(n)!==t&&n<Ul.length-1;)n++;return n}function $o(e,t){let n=e;for(;Ul.charCodeAt(n)!==t&&n>=0;)n--;return n}function es({tag:e,props:t}){if(e===`template`){for(let e=0;e<t.length;e++)if(t[e].type===7&&$l.has(t[e].name))return!0}return!1}function ts({tag:e,props:t}){if(q.isCustomElement(e))return!1;if(e===`component`||ns(e.charCodeAt(0))||To(e)||q.isBuiltInComponent&&q.isBuiltInComponent(e)||q.isNativeTag&&!q.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){let n=t[e];if(n.type===6){if(n.name===`is`&&n.value&&(n.value.content.startsWith(`vue:`)||lo(`COMPILER_IS_ON_ELEMENT`,q,n.loc)))return!0}else if(n.name===`bind`&&jo(n.arg,`is`)&&lo(`COMPILER_IS_ON_ELEMENT`,q,n.loc))return!0}return!1}function ns(e){return e>64&&e<91}function rs(e){let t=q.whitespace!==`preserve`,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(i.type===2)if(Jl)i.content=i.content.replace(eu,`
|
|
6
|
+
`);else if(Wo(i.content)){let a=e[r-1]&&e[r-1].type,o=e[r+1]&&e[r+1].type;!a||!o||t&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&is(i.content)))?(n=!0,e[r]=null):i.content=` `}else t&&(i.content=as(i.content))}return n?e.filter(Boolean):e}function is(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function as(e){let t=``,n=!1;for(let r=0;r<e.length;r++)io(e.charCodeAt(r))?n||=(t+=` `,!0):(t+=e[r],n=!1);return t}function os(e){(Y[0]||Hl).children.push(e)}function G(e,t){return{start:X.getPos(e),end:t==null?t:X.getPos(t),source:t==null?t:Jo(e,t)}}function ss(e){return G(e.start.offset,e.end.offset)}function cs(e,t){e.end=X.getPos(t),e.source=Jo(e.start.offset,t)}function ls(e){let t={type:6,name:e.rawName,nameLoc:G(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){let n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function us(e,t=!1,n,r=0,i=0){return H(e,t,n,r)}function ds(e,t,n){q.onError(W(e,G(t,t),void 0,n))}function fs(){X.reset(),Wl=null,J=null,Gl=``,Kl=-1,ql=-1,Y.length=0}function ps(e,t){if(fs(),Ul=e,q=Te({},Vl),t){let e;for(e in t)t[e]!=null&&(q[e]=t[e])}X.mode=q.parseMode===`html`?1:q.parseMode===`sfc`?2:0,X.inXML=q.ns===1||q.ns===2;let n=t&&t.delimiters;n&&(X.delimiterOpen=oo(n[0]),X.delimiterClose=oo(n[1]));let r=Hl=za([],e);return X.parse(Ul),r.loc=G(0,e.length),r.children=rs(r.children),Hl=null,r}function ms(e,t){gs(e,void 0,t,!!hs(e))}function hs(e){let t=e.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!Lo(t[0])?t[0]:null}function gs(e,t,n,r=!1,i=!1){let{children:a}=e,o=[];for(let t=0;t<a.length;t++){let s=a[t];if(s.type===1&&s.tagType===0){let e=r?0:_s(s,n);if(e>0){if(e>=2){s.codegenNode.patchFlag=-1,o.push(s);continue}}else{let e=s.codegenNode;if(e.type===13){let t=e.patchFlag;if((t===void 0||t===512||t===1)&&ys(s,n)>=2){let t=bs(s);t&&(e.props=n.hoist(t))}e.dynamicProps&&=n.hoist(e.dynamicProps)}}}else if(s.type===12&&(r?0:_s(s,n))>=2){s.codegenNode.type===14&&s.codegenNode.arguments.length>0&&s.codegenNode.arguments.push(`-1`),o.push(s);continue}if(s.type===1){let t=s.tagType===1;t&&n.scopes.vSlot++,gs(s,e,n,!1,i),t&&n.scopes.vSlot--}else if(s.type===11)gs(s,e,n,s.children.length===1,!0);else if(s.type===9)for(let t=0;t<s.branches.length;t++)gs(s.branches[t],e,n,s.branches[t].children.length===1,i)}let s=!1;if(o.length===a.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&et(e.codegenNode.children))e.codegenNode.children=c(Va(e.codegenNode.children)),s=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!et(e.codegenNode.children)&&e.codegenNode.children.type===15){let t=l(e.codegenNode,`default`);t&&(t.returns=c(Va(t.returns)),s=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!et(t.codegenNode.children)&&t.codegenNode.children.type===15){let n=ko(e,`slot`,!0),r=n&&n.arg&&l(t.codegenNode,n.arg);r&&(r.returns=c(Va(r.returns)),s=!0)}}if(!s)for(let e of o)e.codegenNode=n.cache(e.codegenNode);function c(e){let t=n.cache(e);return t.needArraySpread=!0,t}function l(e,t){if(e.children&&!et(e.children)&&e.children.type===15){let n=e.children.properties.find(e=>e.key===t||e.key.content===t);return n&&n.value}}o.length&&n.transformHoist&&n.transformHoist(a,n,e)}function _s(e,t){let{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;let r=n.get(e);if(r!==void 0)return r;let i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!==`svg`&&e.tag!==`foreignObject`&&e.tag!==`math`)return 0;if(i.patchFlag===void 0){let r=3,a=ys(e,t);if(a===0)return n.set(e,0),0;a<r&&(r=a);for(let i=0;i<e.children.length;i++){let a=_s(e.children[i],t);if(a===0)return n.set(e,0),0;a<r&&(r=a)}if(r>1)for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===7&&a.name===`bind`&&a.exp){let i=_s(a.exp,t);if(i===0)return n.set(e,0),0;i<r&&(r=i)}}if(i.isBlock){for(let t=0;t<e.props.length;t++)if(e.props[t].type===7)return n.set(e,0),0;t.removeHelper(Oc),t.removeHelper(to(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(eo(t.inSSR,i.isComponent))}return n.set(e,r),r}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return _s(e.content,t);case 4:return e.constType;case 8:let a=3;for(let n=0;n<e.children.length;n++){let r=e.children[n];if(c(r)||E(r))continue;let i=_s(r,t);if(i===0)return 0;i<a&&(a=i)}return a;case 20:return 2;default:return 0}}function vs(e,t){if(e.type===14&&!c(e.callee)&&tu.has(e.callee)){let n=e.arguments[0];if(n.type===4)return _s(n,t);if(n.type===14)return vs(n,t)}return 0}function ys(e,t){let n=3,r=bs(e);if(r&&r.type===15){let{properties:e}=r;for(let r=0;r<e.length;r++){let{key:i,value:a}=e[r],o=_s(i,t);if(o===0)return o;o<n&&(n=o);let s;if(s=a.type===4?_s(a,t):a.type===14?vs(a,t):0,s===0)return s;s<n&&(n=s)}}return n}function bs(e){let t=e.codegenNode;if(t.type===13)return t.props}function xs(e,{filename:t=``,prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:a=!1,nodeTransforms:o=[],directiveTransforms:s={},transformHoist:l=null,isBuiltInComponent:u=ze,isCustomElement:d=ze,expressionPlugins:f=[],scopeId:p=null,slotted:m=!0,ssr:h=!1,inSSR:g=!1,ssrCssVars:_=``,bindingMetadata:v=be,inline:y=!1,isTS:b=!1,onError:x=fo,onWarn:S=po,compatConfig:C}){let w=t.replace(/\?.*$/,``).match(/([^/\\]+)\.\w+$/),T={filename:t,selfName:w&&De(Pe(w[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:a,nodeTransforms:o,directiveTransforms:s,transformHoist:l,isBuiltInComponent:u,isCustomElement:d,expressionPlugins:f,scopeId:p,slotted:m,ssr:h,inSSR:g,ssrCssVars:_,bindingMetadata:v,inline:y,isTS:b,onError:x,onWarn:S,compatConfig:C,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,vForMemoKeyedNodes:new WeakSet,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){let t=T.helpers.get(e)||0;return T.helpers.set(e,t+1),e},removeHelper(e){let t=T.helpers.get(e);if(t){let n=t-1;n?T.helpers.set(e,n):T.helpers.delete(e)}},helperString(e){return`_${cl[T.helper(e)]}`},replaceNode(e){T.parent.children[T.childIndex]=T.currentNode=e},removeNode(e){let t=T.parent.children,n=e?t.indexOf(e):T.currentNode?T.childIndex:-1;!e||e===T.currentNode?(T.currentNode=null,T.onNodeRemoved()):T.childIndex>n&&(T.childIndex--,T.onNodeRemoved()),T.parent.children.splice(n,1)},onNodeRemoved:ze,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){c(e)&&(e=H(e)),T.hoists.push(e);let t=H(`_hoisted_${T.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){let r=qa(T.cached.length,e,t,n);return T.cached.push(r),r}};return T.filters=new Set,T}function Ss(e,t){let n=xs(e,t);Ts(e,n),t.hoistStatic&&ms(e,n),t.ssr||Cs(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function Cs(e,t){let{helper:n}=t,{children:r}=e;if(r.length===1){let n=hs(e);if(n&&n.codegenNode){let r=n.codegenNode;r.type===13&&no(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else r.length>1&&(e.codegenNode=Ba(t,n(Cc),void 0,e.children,64,void 0,void 0,!0,void 0,!1))}function ws(e,t){let n=0,r=()=>{n--};for(;n<e.children.length;n++){let i=e.children[n];c(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,Ts(i,t))}}function Ts(e,t){t.currentNode=e;let{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){let a=n[i](e,t);if(a&&(et(a)?r.push(...a):r.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Nc);break;case 5:t.ssr||t.helper(Wc);break;case 9:for(let n=0;n<e.branches.length;n++)Ts(e.branches[n],t);break;case 10:case 11:case 1:case 0:ws(e,t);break}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function Es(e,t){let n=c(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(e.type===1){let{props:i}=e;if(e.tagType===3&&i.some(Fo))return;let a=[];for(let o=0;o<i.length;o++){let s=i[o];if(s.type===7&&n(s.name)){i.splice(o,1),o--;let n=t(e,s,r);n&&a.push(n)}}return a}}}function Ds(e,{mode:t=`function`,prefixIdentifiers:n=t===`module`,sourceMap:r=!1,filename:i=`template.vue.html`,scopeId:a=null,optimizeImports:o=!1,runtimeGlobalName:s=`Vue`,runtimeModuleName:c=`vue`,ssrRuntimeModuleName:l=`vue/server-renderer`,ssr:u=!1,isTS:d=!1,inSSR:f=!1}){let p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:a,optimizeImports:o,runtimeGlobalName:s,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:u,isTS:d,inSSR:f,source:e.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(e){return`_${cl[e]}`},push(e,t=-2,n){p.code+=e},indent(){m(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:m(--p.indentLevel)},newline(){m(p.indentLevel)}};function m(e){p.push(`
|
|
7
|
+
`+` `.repeat(e),0)}return p}function Os(e,t={}){let n=Ds(e,t);t.onContextCreated&&t.onContextCreated(n);let{mode:r,push:i,prefixIdentifiers:a,indent:o,deindent:s,newline:c,scopeId:l,ssr:u}=n,d=Array.from(e.helpers),f=d.length>0,p=!a&&r!==`module`;if(ks(e,n),i(`function ${u?`ssrRender`:`render`}(${(u?[`_ctx`,`_push`,`_parent`,`_attrs`]:[`_ctx`,`_cache`]).join(`, `)}) {`),o(),p&&(i(`with (_ctx) {`),o(),f&&(i(`const { ${d.map(ru).join(`, `)} } = _Vue
|
|
8
|
+
`,-1),c())),e.components.length&&(As(e.components,`component`,n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(As(e.directives,`directive`,n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),As(e.filters,`filter`,n),c()),e.temps>0){i(`let `);for(let t=0;t<e.temps;t++)i(`${t>0?`, `:``}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
|
|
9
|
+
`,0),c()),u||i(`return `),e.codegenNode?Ps(e.codegenNode,n):i(`null`),p&&(s(),i(`}`)),s(),i(`}`),{ast:e,code:n.code,preamble:``,map:n.map?n.map.toJSON():void 0}}function ks(e,t){let{ssr:n,prefixIdentifiers:r,push:i,newline:a,runtimeModuleName:o,runtimeGlobalName:s,ssrRuntimeModuleName:c}=t,l=s,u=Array.from(e.helpers);u.length>0&&(i(`const _Vue = ${l}
|
|
10
|
+
`,-1),e.hoists.length&&i(`const { ${[jc,Mc,Nc,Pc,Fc].filter(e=>u.includes(e)).map(ru).join(`, `)} } = _Vue
|
|
11
|
+
`,-1)),js(e.hoists,t),a(),i(`return `)}function As(e,t,{helper:n,push:r,newline:i,isTS:a}){let o=n(t===`filter`?zc:t===`component`?Ic:Rc);for(let n=0;n<e.length;n++){let s=e[n],c=s.endsWith(`__self`);c&&(s=s.slice(0,-6)),r(`const ${Vo(s,t)} = ${o}(${JSON.stringify(s)}${c?`, true`:``})${a?`!`:``}`),n<e.length-1&&i()}}function js(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){let a=e[i];a&&(n(`const _hoisted_${i+1} = `),Ps(a,t),r())}t.pure=!1}function Ms(e,t){let n=e.length>3||!1;t.push(`[`),n&&t.indent(),Ns(e,t,n),n&&t.deindent(),t.push(`]`)}function Ns(e,t,n=!1,r=!0){let{push:i,newline:a}=t;for(let o=0;o<e.length;o++){let s=e[o];c(s)?i(s,-3):et(s)?Ms(s,t):Ps(s,t),o<e.length-1&&(n?(r&&i(`,`),a()):r&&i(`, `))}}function Ps(e,t){if(c(e)){t.push(e,-3);return}if(E(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Ps(e.codegenNode,t);break;case 2:Fs(e,t);break;case 4:Is(e,t);break;case 5:Ls(e,t);break;case 12:Ps(e.codegenNode,t);break;case 8:Rs(e,t);break;case 3:Bs(e,t);break;case 13:Vs(e,t);break;case 14:Us(e,t);break;case 15:Ws(e,t);break;case 17:Gs(e,t);break;case 18:Ks(e,t);break;case 19:qs(e,t);break;case 20:Js(e,t);break;case 21:Ns(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:}}function Fs(e,t){t.push(JSON.stringify(e.content),-3,e)}function Is(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function Ls(e,t){let{push:n,helper:r,pure:i}=t;i&&n(nu),n(`${r(Wc)}(`),Ps(e.content,t),n(`)`)}function Rs(e,t){for(let n=0;n<e.children.length;n++){let r=e.children[n];c(r)?t.push(r,-3):Ps(r,t)}}function zs(e,t){let{push:n}=t;e.type===8?(n(`[`),Rs(e,t),n(`]`)):e.isStatic?n(Dl(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}function Bs(e,t){let{push:n,helper:r,pure:i}=t;i&&n(nu),n(`${r(Nc)}(${JSON.stringify(e.content)})`,-3,e)}function Vs(e,t){let{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:s,patchFlag:c,dynamicProps:l,directives:u,isBlock:d,disableTracking:f,isComponent:p}=e,m;c&&(m=String(c)),u&&n(r(Bc)+`(`),d&&n(`(${r(Oc)}(${f?`true`:``}), `),i&&n(nu),n(r(d?to(t.inSSR,p):eo(t.inSSR,p))+`(`,-2,e),Ns(Hs([a,o,s,m,l]),t),n(`)`),d&&n(`)`),u&&(n(`, `),Ps(u,t),n(`)`))}function Hs(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(e=>e||`null`)}function Us(e,t){let{push:n,helper:r,pure:i}=t,a=c(e.callee)?e.callee:r(e.callee);i&&n(nu),n(a+`(`,-2,e),Ns(e.arguments,t),n(`)`)}function Ws(e,t){let{push:n,indent:r,deindent:i,newline:a}=t,{properties:o}=e;if(!o.length){n(`{}`,-2,e);return}let s=o.length>1||!1;n(s?`{`:`{ `),s&&r();for(let e=0;e<o.length;e++){let{key:r,value:i}=o[e];zs(r,t),n(`: `),Ps(i,t),e<o.length-1&&(n(`,`),a())}s&&i(),n(s?`}`:` }`)}function Gs(e,t){Ms(e.elements,t)}function Ks(e,t){let{push:n,indent:r,deindent:i}=t,{params:a,returns:o,body:s,newline:c,isSlot:l}=e;l&&n(`_${cl[rl]}(`),n(`(`,-2,e),et(a)?Ns(a,t):a&&Ps(a,t),n(`) => `),(c||s)&&(n(`{`),r()),o?(c&&n(`return `),et(o)?Ms(o,t):Ps(o,t)):s&&Ps(s,t),(c||s)&&(i(),n(`}`)),l&&(e.isNonScopedSlot&&n(`, undefined, true`),n(`)`))}function qs(e,t){let{test:n,consequent:r,alternate:i,newline:a}=e,{push:o,indent:s,deindent:c,newline:l}=t;if(n.type===4){let e=!Dl(n.content);e&&o(`(`),Is(n,t),e&&o(`)`)}else o(`(`),Ps(n,t),o(`)`);a&&s(),t.indentLevel++,a||o(` `),o(`? `),Ps(r,t),t.indentLevel--,a&&l(),a||o(` `),o(`: `);let u=i.type===19;u||t.indentLevel++,Ps(i,t),u||t.indentLevel--,a&&c(!0)}function Js(e,t){let{push:n,helper:r,indent:i,deindent:a,newline:o}=t,{needPauseTracking:s,needArraySpread:c}=e;c&&n(`[...(`),n(`_cache[${e.index}] || (`),s&&(i(),n(`${r(el)}(-1`),e.inVOnce&&n(`, true`),n(`),`),o(),n(`(`)),n(`_cache[${e.index}] = `),Ps(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),o(),n(`${r(el)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(`)`),c&&n(`)]`)}function Ys(e,t,n=!1,r=!1,i=Object.create(t.identifiers)){return e}function Xs(e){return c(e)?e:e.type===4?e.content:e.children.map(Xs).join(``)}function Zs(e,t,n,r){if(t.name!==`else`&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:e.loc;n.onError(W(28,t.loc)),t.exp=H(`true`,!1,r)}if(t.name===`if`){let i=Qs(e,t),a={type:9,loc:ss(e.loc),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{let i=n.parent.children,a=i.indexOf(e);for(;a-->=-1;){let o=i[a];if(o&&Ko(o)){n.removeNode(o);continue}if(o&&o.type===9){(t.name===`else-if`||t.name===`else`)&&o.branches[o.branches.length-1].condition===void 0&&n.onError(W(30,e.loc)),n.removeNode();let i=Qs(e,t);o.branches.push(i);let a=r&&r(o,i,!1);Ts(i,n),a&&a(),n.currentNode=null}else n.onError(W(30,e.loc));break}}}function Qs(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!ko(e,`for`)?e.children:[e],userKey:Ao(e,`key`),isTemplateIf:n}}function $s(e,t,n){return e.condition?Ka(e.condition,ec(e,t,n),U(n.helper(Nc),[`""`,`true`])):ec(e,t,n)}function ec(e,t,n){let{helper:r}=n,i=V(`key`,H(`${t}`,!1,K,2)),{children:a}=e,o=a[0];if(a.length!==1||o.type!==1)if(a.length===1&&o.type===11){let e=o.codegenNode;return zo(e,i,n),e}else return Ba(n,r(Cc),Ha([i]),a,64,void 0,void 0,!0,!1,!1,e.loc);else{let e=o.codegenNode,t=Uo(e);return t.type===13&&no(t,n),zo(t,i,n),e}}function tc(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}function nc(e,t,n,r){if(!t.exp){n.onError(W(31,t.loc));return}let i=t.forParseResult;if(!i){n.onError(W(32,t.loc));return}rc(i,n);let{addIdentifiers:a,removeIdentifiers:o,scopes:s}=n,{source:c,value:l,key:u,index:d}=i,f={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:d,parseResult:i,children:Io(e)?e.children:[e]};n.replaceNode(f),s.vFor++;let p=r&&r(f);return()=>{s.vFor--,p&&p()}}function rc(e,t){e.finalized||=!0}function ic({value:e,key:t,index:n},r=[]){return ac([e,t,n,...r])}function ac(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||H(`_`.repeat(t+1),!1))}function oc(e,t,n=uu){t.helper(rl);let{children:r,loc:i}=e,a=[],o=[],s=t.scopes.vSlot>0||t.scopes.vFor>0,c=ko(e,`slot`,!0);if(c){let{arg:e,exp:t}=c;e&&!Tl(e)&&(s=!0),a.push(V(e||H(`default`,!0),n(t,void 0,r,i)))}let l=!1,u=!1,d=[],f=new Set,p=0;for(let e=0;e<r.length;e++){let i=r[e],m;if(!Io(i)||!(m=ko(i,`slot`,!0))){i.type!==3&&d.push(i);continue}if(c){t.onError(W(37,m.loc));break}l=!0;let{children:h,loc:g}=i,{arg:_=H(`default`,!0),exp:v,loc:y}=m,b;Tl(_)?b=_?_.content:`default`:s=!0;let x=ko(i,`for`),S=n(v,x,h,g),C,w;if(C=ko(i,`if`))s=!0,o.push(Ka(C.exp,sc(_,S,p++),su));else if(w=ko(i,/^else(?:-if)?$/,!0)){let n=e,i;for(;n--&&(i=r[n],Ko(i)););if(i&&Io(i)&&ko(i,/^(?:else-)?if$/)){let e=o[o.length-1];for(;e.alternate.type===19;)e=e.alternate;e.alternate=w.exp?Ka(w.exp,sc(_,S,p++),su):sc(_,S,p++)}else t.onError(W(30,w.loc))}else if(x){s=!0;let e=x.forParseResult;e?(rc(e,t),o.push(U(t.helper(Vc),[e.source,Ga(ic(e),sc(_,S),!0)]))):t.onError(W(32,x.loc))}else{if(b){if(f.has(b)){t.onError(W(38,y));continue}f.add(b),b==="default"&&(u=!0)}a.push(V(_,S))}}if(!c){let e=(e,r)=>{let a=n(e,void 0,r,i);return t.compatConfig&&(a.isNonScopedSlot=!0),V(`default`,a)};l?d.length&&!d.every(Go)&&(u?t.onError(W(39,d[0].loc)):a.push(e(void 0,d))):a.push(e(void 0,r))}let m=s?2:cc(e.children)?3:1,h=Ha(a.concat(V(`_`,H(m+``,!1))),i);return o.length&&(h=U(t.helper(Uc),[h,Va(o)])),{slots:h,hasDynamicSlots:s}}function sc(e,t,n){let r=[V(`name`,e),V(`fn`,t)];return n!=null&&r.push(V(`key`,H(String(n),!0))),Ha(r)}function cc(e){for(let t=0;t<e.length;t++){let n=e[t];switch(n.type){case 1:if(n.tagType===2||cc(n.children))return!0;break;case 9:if(cc(n.branches))return!0;break;case 10:case 11:if(cc(n.children))return!0;break}}return!1}function lc(e,t,n=!1){let{tag:r}=e,i=hc(r),a=Ao(e,`is`,!1,!0);if(a)if(i||co(`COMPILER_IS_ON_ELEMENT`,t)){let e;if(a.type===6?e=a.value&&H(a.value.content,!0):(e=a.exp,e||=H(`is`,!1,a.arg.loc)),e)return U(t.helper(Lc),[e])}else a.type===6&&a.value.content.startsWith(`vue:`)&&(r=a.value.content.slice(4));let o=To(r)||t.isBuiltInComponent(r);return o?(n||t.helper(o),o):(t.helper(Ic),t.components.add(r),Vo(r,`component`))}function uc(e,t,n=e.props,r,i,a=!1){let{tag:o,loc:s,children:c}=e,l=[],u=[],d=[],f=c.length>0,p=!1,m=0,h=!1,g=!1,_=!1,v=!1,y=!1,b=!1,x=[],S=e=>{l.length&&(u.push(Ha(dc(l),s)),l=[]),e&&u.push(e)},C=()=>{t.scopes.vFor>0&&l.push(V(H(`ref_for`,!0),H(`true`)))},w=({key:e,value:n})=>{if(Tl(e)){let a=e.content,o=Ze(a);if(o&&(!r||i)&&a.toLowerCase()!==`onclick`&&a!==`onUpdate:modelValue`&&!se(a)&&(v=!0),o&&se(a)&&(b=!0),o&&n.type===14&&(n=n.arguments[0]),n.type===20||(n.type===4||n.type===8)&&_s(n,t)>0)return;a===`ref`?h=!0:a===`class`?g=!0:a===`style`?_=!0:a!==`key`&&!x.includes(a)&&x.push(a),r&&(a===`class`||a===`style`)&&!x.includes(a)&&x.push(a)}else y=!0};for(let i=0;i<n.length;i++){let c=n[i];if(c.type===6){let{loc:e,name:n,nameLoc:r,value:i}=c;if(n===`ref`&&(h=!0,C()),n===`is`&&(hc(o)||i&&i.content.startsWith(`vue:`)||co(`COMPILER_IS_ON_ELEMENT`,t)))continue;l.push(V(H(n,!0,r),H(i?i.content:``,!0,i?i.loc:e)))}else{let{name:n,arg:i,exp:h,loc:g,modifiers:_}=c,v=n===`bind`,b=n===`on`;if(n===`slot`){r||t.onError(W(40,g));continue}if(n===`once`||n===`memo`||n===`is`||v&&jo(i,`is`)&&(hc(o)||co(`COMPILER_IS_ON_ELEMENT`,t))||b&&a)continue;if((v&&jo(i,`key`)||b&&f&&jo(i,`vue:before-update`))&&(p=!0),v&&jo(i,`ref`)&&C(),!i&&(v||b)){if(y=!0,h)if(v){if(S(),co(`COMPILER_V_BIND_OBJECT_ORDER`,t)){u.unshift(h);continue}C(),S(),u.push(h)}else S({type:14,loc:g,callee:t.helper(Xc),arguments:r?[h]:[h,`true`]});else t.onError(W(v?34:35,g));continue}v&&_.some(e=>e.content===`prop`)&&(m|=32);let x=t.directiveTransforms[n];if(x){let{props:n,needRuntime:r}=x(c,e,t);!a&&n.forEach(w),b&&i&&!Tl(i)?S(Ha(n,s)):l.push(...n),r&&(d.push(c),E(r)&&du.set(c,r))}else ye(n)||(d.push(c),f&&(p=!0))}}let T;if(u.length?(S(),T=u.length>1?U(t.helper(Gc),u,s):u[0]):l.length&&(T=Ha(dc(l),s)),y?m|=16:(g&&!r&&(m|=2),_&&!r&&(m|=4),x.length&&(m|=8),v&&(m|=32)),!p&&(m===0||m===32)&&(h||b||d.length>0)&&(m|=512),!t.inSSR&&T)switch(T.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<T.properties.length;t++){let i=T.properties[t].key;Tl(i)?i.content===`class`?e=t:i.content===`style`&&(n=t):i.isHandlerKey||(r=!0)}let i=T.properties[e],a=T.properties[n];r?T=U(t.helper(Jc),[T]):(i&&!Tl(i.value)&&(i.value=U(t.helper(Kc),[i.value])),a&&(_||a.value.type===4&&a.value.content.trim()[0]===`[`||a.value.type===17)&&(a.value=U(t.helper(qc),[a.value])));break;case 14:break;default:T=U(t.helper(Jc),[U(t.helper(Yc),[T])]);break}return{props:T,directives:d,patchFlag:m,dynamicPropNames:x,shouldUseBlock:p}}function dc(e){let t=new Map,n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}let a=i.key.content,o=t.get(a);o?(a===`style`||a===`class`||Ze(a))&&fc(o,i):(t.set(a,i),n.push(i))}return n}function fc(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Va([e.value,t.value],e.loc)}function pc(e,t){let n=[],r=du.get(e);r?n.push(t.helperString(r)):(t.helper(Rc),t.directives.add(e.name),n.push(Vo(e.name,`directive`)));let{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push(`void 0`),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push(`void 0`),n.push(`void 0`));let t=H(`true`,!1,i);n.push(Ha(e.modifiers.map(e=>V(e,t)),i))}return Va(n,e.loc)}function mc(e){let t=`[`;for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=`, `);return t+`]`}function hc(e){return e===`component`||e===`Component`}function gc(e,t){let n=`"default"`,r,i=[];for(let t=0;t<e.props.length;t++){let r=e.props[t];r.type===6?r.value&&(r.name===`name`?n=JSON.stringify(r.value.content):(r.name=Pe(r.name),i.push(r))):r.name===`bind`&&jo(r.arg,`name`)?r.exp?n=r.exp:r.arg&&r.arg.type===4&&(n=r.exp=H(Pe(r.arg.content),!1,r.arg.loc)):(r.name===`bind`&&r.arg&&Tl(r.arg)&&(r.arg.content=Pe(r.arg.content)),i.push(r))}if(i.length>0){let{props:n,directives:a}=uc(e,t,i,!1,!1);r=n,a.length&&t.onError(W(36,a[0].loc))}return{slotName:n,slotProps:r}}function _c(e=[]){return{props:e}}function vc(e,t){if(e.type===4)yc(e,t);else for(let n=0;n<e.children.length;n++){let r=e.children[n];typeof r==`object`&&(r.type===4?yc(r,t):r.type===8?vc(e,t):r.type===5&&vc(r.content,t))}}function yc(e,t){let n=e.content,r=!1,i=!1,a=!1,o=!1,s=0,c=0,l=0,u=0,d,f,p,m,h=[];for(p=0;p<n.length;p++)if(f=d,d=n.charCodeAt(p),r)d===39&&f!==92&&(r=!1);else if(i)d===34&&f!==92&&(i=!1);else if(a)d===96&&f!==92&&(a=!1);else if(o)d===47&&f!==92&&(o=!1);else if(d===124&&n.charCodeAt(p+1)!==124&&n.charCodeAt(p-1)!==124&&!s&&!c&&!l)m===void 0?(u=p+1,m=n.slice(0,p).trim()):g();else{switch(d){case 34:i=!0;break;case 39:r=!0;break;case 96:a=!0;break;case 40:l++;break;case 41:l--;break;case 91:c++;break;case 93:c--;break;case 123:s++;break;case 125:s--;break}if(d===47){let e=p-1,t;for(;e>=0&&(t=n.charAt(e),t===` `);e--);(!t||!xu.test(t))&&(o=!0)}}m===void 0?m=n.slice(0,p).trim():u!==0&&g();function g(){h.push(n.slice(u,p).trim()),u=p+1}if(h.length){for(p=0;p<h.length;p++)m=bc(m,h[p],t);e.content=m,e.ast=void 0}}function bc(e,t,n){n.helper(zc);let r=t.indexOf(`(`);if(r<0)return n.filters.add(t),`${Vo(t,`filter`)}(${e})`;{let i=t.slice(0,r),a=t.slice(r+1);return n.filters.add(i),`${Vo(i,`filter`)}(${e}${a===`)`?a:`,`+a}`}}function xc(e){return[[Tu,yu,au,wu,ou,Su,pu,fu,cu,_u],{on:mu,bind:hu,model:bu}]}function Sc(e,t={}){let n=t.onError||fo,r=t.mode===`module`;t.prefixIdentifiers===!0?n(W(48)):r&&n(W(49)),t.cacheHandlers&&n(W(50)),t.scopeId&&!r&&n(W(51));let i=Te({},t,{prefixIdentifiers:!1}),a=c(e)?ps(e,i):e,[o,s]=xc();return Ss(a,Te({},i,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:Te({},s,t.directiveTransforms||{})})),Os(a,i)}var Cc,wc,Tc,Ec,Dc,Oc,kc,Ac,jc,Mc,Nc,Pc,Fc,Ic,Lc,Rc,zc,Bc,Vc,Hc,Uc,Wc,Gc,Kc,qc,Jc,Yc,Xc,Zc,Qc,$c,el,tl,nl,rl,il,al,ol,sl,cl,ll,ul,dl,fl,K,pl,ml,hl,gl,_l,vl,yl,bl,xl,Sl,Cl,wl,Tl,El,Dl,Ol,kl,Al,jl,Ml,Nl,Pl,Fl,Il,Ll,Rl,zl,Bl,Vl,q,Hl,Ul,Wl,J,Gl,Kl,ql,Jl,Yl,Xl,Y,X,Zl,Ql,$l,eu,tu,nu,ru,iu,au,ou,su,cu,lu,uu,du,fu,pu,mu,hu,gu,_u,vu,yu,bu,xu,Su,Cu,wu,Tu,Eu,Du,Ou=tt((()=>{Ye(),Cc=Symbol(``),wc=Symbol(``),Tc=Symbol(``),Ec=Symbol(``),Dc=Symbol(``),Oc=Symbol(``),kc=Symbol(``),Ac=Symbol(``),jc=Symbol(``),Mc=Symbol(``),Nc=Symbol(``),Pc=Symbol(``),Fc=Symbol(``),Ic=Symbol(``),Lc=Symbol(``),Rc=Symbol(``),zc=Symbol(``),Bc=Symbol(``),Vc=Symbol(``),Hc=Symbol(``),Uc=Symbol(``),Wc=Symbol(``),Gc=Symbol(``),Kc=Symbol(``),qc=Symbol(``),Jc=Symbol(``),Yc=Symbol(``),Xc=Symbol(``),Zc=Symbol(``),Qc=Symbol(``),$c=Symbol(``),el=Symbol(``),tl=Symbol(``),nl=Symbol(``),rl=Symbol(``),il=Symbol(``),al=Symbol(``),ol=Symbol(``),sl=Symbol(``),cl={[Cc]:`Fragment`,[wc]:`Teleport`,[Tc]:`Suspense`,[Ec]:`KeepAlive`,[Dc]:`BaseTransition`,[Oc]:`openBlock`,[kc]:`createBlock`,[Ac]:`createElementBlock`,[jc]:`createVNode`,[Mc]:`createElementVNode`,[Nc]:`createCommentVNode`,[Pc]:`createTextVNode`,[Fc]:`createStaticVNode`,[Ic]:`resolveComponent`,[Lc]:`resolveDynamicComponent`,[Rc]:`resolveDirective`,[zc]:`resolveFilter`,[Bc]:`withDirectives`,[Vc]:`renderList`,[Hc]:`renderSlot`,[Uc]:`createSlots`,[Wc]:`toDisplayString`,[Gc]:`mergeProps`,[Kc]:`normalizeClass`,[qc]:`normalizeStyle`,[Jc]:`normalizeProps`,[Yc]:`guardReactiveProps`,[Xc]:`toHandlers`,[Zc]:`camelize`,[Qc]:`capitalize`,[$c]:`toHandlerKey`,[el]:`setBlockTracking`,[tl]:`pushScopeId`,[nl]:`popScopeId`,[rl]:`withCtx`,[il]:`unref`,[al]:`isRef`,[ol]:`withMemo`,[sl]:`isMemoSame`},ll={HTML:0,0:`HTML`,SVG:1,1:`SVG`,MATH_ML:2,2:`MATH_ML`},ul={ROOT:0,0:`ROOT`,ELEMENT:1,1:`ELEMENT`,TEXT:2,2:`TEXT`,COMMENT:3,3:`COMMENT`,SIMPLE_EXPRESSION:4,4:`SIMPLE_EXPRESSION`,INTERPOLATION:5,5:`INTERPOLATION`,ATTRIBUTE:6,6:`ATTRIBUTE`,DIRECTIVE:7,7:`DIRECTIVE`,COMPOUND_EXPRESSION:8,8:`COMPOUND_EXPRESSION`,IF:9,9:`IF`,IF_BRANCH:10,10:`IF_BRANCH`,FOR:11,11:`FOR`,TEXT_CALL:12,12:`TEXT_CALL`,VNODE_CALL:13,13:`VNODE_CALL`,JS_CALL_EXPRESSION:14,14:`JS_CALL_EXPRESSION`,JS_OBJECT_EXPRESSION:15,15:`JS_OBJECT_EXPRESSION`,JS_PROPERTY:16,16:`JS_PROPERTY`,JS_ARRAY_EXPRESSION:17,17:`JS_ARRAY_EXPRESSION`,JS_FUNCTION_EXPRESSION:18,18:`JS_FUNCTION_EXPRESSION`,JS_CONDITIONAL_EXPRESSION:19,19:`JS_CONDITIONAL_EXPRESSION`,JS_CACHE_EXPRESSION:20,20:`JS_CACHE_EXPRESSION`,JS_BLOCK_STATEMENT:21,21:`JS_BLOCK_STATEMENT`,JS_TEMPLATE_LITERAL:22,22:`JS_TEMPLATE_LITERAL`,JS_IF_STATEMENT:23,23:`JS_IF_STATEMENT`,JS_ASSIGNMENT_EXPRESSION:24,24:`JS_ASSIGNMENT_EXPRESSION`,JS_SEQUENCE_EXPRESSION:25,25:`JS_SEQUENCE_EXPRESSION`,JS_RETURN_STATEMENT:26,26:`JS_RETURN_STATEMENT`},dl={ELEMENT:0,0:`ELEMENT`,COMPONENT:1,1:`COMPONENT`,SLOT:2,2:`SLOT`,TEMPLATE:3,3:`TEMPLATE`},fl={NOT_CONSTANT:0,0:`NOT_CONSTANT`,CAN_SKIP_PATCH:1,1:`CAN_SKIP_PATCH`,CAN_CACHE:2,2:`CAN_CACHE`,CAN_STRINGIFY:3,3:`CAN_STRINGIFY`},K={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``},pl=new Uint8Array([123,123]),ml=new Uint8Array([125,125]),hl={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])},gl=class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer=``,this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=pl,this.delimiterClose=ml,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=pl,this.delimiterClose=ml}getPos(e){let t=1,n=e+1,r=this.newlines.length,i=-1;if(r>100){let t=-1,n=r;for(;t+1<n;){let r=t+n>>>1;this.newlines[r]<e?t=r:n=r}i=t}else for(let t=r-1;t>=0;t--)if(e>this.newlines[t]){i=t;break}return i>=0&&(t=i+2,n=e-this.newlines[i]),{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?ao(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||io(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.sectionStart=t+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===hl.TitleEnd||this.currentSequence===hl.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===60)}stateCDATASequence(e){e===hl.Cdata[this.sequenceIndex]?++this.sequenceIndex===hl.Cdata.length&&(this.state=28,this.currentSequence=hl.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){let t=this.buffer.charCodeAt(this.index);if(t===10&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===hl.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):ro(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){ao(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(ao(e)){let t=this.buffer.slice(this.sectionStart,this.index);t!==`template`&&this.enterRCDATA(oo(`</`+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){io(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=ro(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||io(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?this.state=7:e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):io(e)||this.handleAttrStart(e)}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):io(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||ao(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||ao(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||ao(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||ao(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||ao(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):io(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):io(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){io(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=hl.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===hl.ScriptEnd[3]?this.startSpecial(hl.ScriptEnd,4):e===hl.StyleEnd[3]?this.startSpecial(hl.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===hl.TitleEnd[3]?this.startSpecial(hl.TitleEnd,4):e===hl.TextareaEnd[3]?this.startSpecial(hl.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity();break}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===hl.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}},_l={COMPILER_IS_ON_ELEMENT:`COMPILER_IS_ON_ELEMENT`,COMPILER_V_BIND_SYNC:`COMPILER_V_BIND_SYNC`,COMPILER_V_BIND_OBJECT_ORDER:`COMPILER_V_BIND_OBJECT_ORDER`,COMPILER_V_ON_NATIVE:`COMPILER_V_ON_NATIVE`,COMPILER_V_IF_V_FOR_PRECEDENCE:`COMPILER_V_IF_V_FOR_PRECEDENCE`,COMPILER_NATIVE_TEMPLATE:`COMPILER_NATIVE_TEMPLATE`,COMPILER_INLINE_TEMPLATE:`COMPILER_INLINE_TEMPLATE`,COMPILER_FILTERS:`COMPILER_FILTERS`},vl={COMPILER_IS_ON_ELEMENT:{message:`Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".`,link:`https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-model.html`},COMPILER_V_BIND_OBJECT_ORDER:{message:`v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-bind.html`},COMPILER_V_ON_NATIVE:{message:`.native modifier for v-on has been removed as is no longer necessary.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:`v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html`},COMPILER_NATIVE_TEMPLATE:{message:`<template> with no special directives will render as a native template element instead of its inner content in Vue 3.`},COMPILER_INLINE_TEMPLATE:{message:`"inline-template" has been removed in Vue 3.`,link:`https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`},COMPILER_FILTERS:{message:`filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.`,link:`https://v3-migration.vuejs.org/breaking-changes/filters.html`}},yl={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:`ABRUPT_CLOSING_OF_EMPTY_COMMENT`,CDATA_IN_HTML_CONTENT:1,1:`CDATA_IN_HTML_CONTENT`,DUPLICATE_ATTRIBUTE:2,2:`DUPLICATE_ATTRIBUTE`,END_TAG_WITH_ATTRIBUTES:3,3:`END_TAG_WITH_ATTRIBUTES`,END_TAG_WITH_TRAILING_SOLIDUS:4,4:`END_TAG_WITH_TRAILING_SOLIDUS`,EOF_BEFORE_TAG_NAME:5,5:`EOF_BEFORE_TAG_NAME`,EOF_IN_CDATA:6,6:`EOF_IN_CDATA`,EOF_IN_COMMENT:7,7:`EOF_IN_COMMENT`,EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:`EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT`,EOF_IN_TAG:9,9:`EOF_IN_TAG`,INCORRECTLY_CLOSED_COMMENT:10,10:`INCORRECTLY_CLOSED_COMMENT`,INCORRECTLY_OPENED_COMMENT:11,11:`INCORRECTLY_OPENED_COMMENT`,INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:`INVALID_FIRST_CHARACTER_OF_TAG_NAME`,MISSING_ATTRIBUTE_VALUE:13,13:`MISSING_ATTRIBUTE_VALUE`,MISSING_END_TAG_NAME:14,14:`MISSING_END_TAG_NAME`,MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:`MISSING_WHITESPACE_BETWEEN_ATTRIBUTES`,NESTED_COMMENT:16,16:`NESTED_COMMENT`,UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:`UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME`,UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:`UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE`,UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:`UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME`,UNEXPECTED_NULL_CHARACTER:20,20:`UNEXPECTED_NULL_CHARACTER`,UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:`UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME`,UNEXPECTED_SOLIDUS_IN_TAG:22,22:`UNEXPECTED_SOLIDUS_IN_TAG`,X_INVALID_END_TAG:23,23:`X_INVALID_END_TAG`,X_MISSING_END_TAG:24,24:`X_MISSING_END_TAG`,X_MISSING_INTERPOLATION_END:25,25:`X_MISSING_INTERPOLATION_END`,X_MISSING_DIRECTIVE_NAME:26,26:`X_MISSING_DIRECTIVE_NAME`,X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:`X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END`,X_V_IF_NO_EXPRESSION:28,28:`X_V_IF_NO_EXPRESSION`,X_V_IF_SAME_KEY:29,29:`X_V_IF_SAME_KEY`,X_V_ELSE_NO_ADJACENT_IF:30,30:`X_V_ELSE_NO_ADJACENT_IF`,X_V_FOR_NO_EXPRESSION:31,31:`X_V_FOR_NO_EXPRESSION`,X_V_FOR_MALFORMED_EXPRESSION:32,32:`X_V_FOR_MALFORMED_EXPRESSION`,X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:`X_V_FOR_TEMPLATE_KEY_PLACEMENT`,X_V_BIND_NO_EXPRESSION:34,34:`X_V_BIND_NO_EXPRESSION`,X_V_ON_NO_EXPRESSION:35,35:`X_V_ON_NO_EXPRESSION`,X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:`X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET`,X_V_SLOT_MIXED_SLOT_USAGE:37,37:`X_V_SLOT_MIXED_SLOT_USAGE`,X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:`X_V_SLOT_DUPLICATE_SLOT_NAMES`,X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:`X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN`,X_V_SLOT_MISPLACED:40,40:`X_V_SLOT_MISPLACED`,X_V_MODEL_NO_EXPRESSION:41,41:`X_V_MODEL_NO_EXPRESSION`,X_V_MODEL_MALFORMED_EXPRESSION:42,42:`X_V_MODEL_MALFORMED_EXPRESSION`,X_V_MODEL_ON_SCOPE_VARIABLE:43,43:`X_V_MODEL_ON_SCOPE_VARIABLE`,X_V_MODEL_ON_PROPS:44,44:`X_V_MODEL_ON_PROPS`,X_V_MODEL_ON_CONST:45,45:`X_V_MODEL_ON_CONST`,X_INVALID_EXPRESSION:46,46:`X_INVALID_EXPRESSION`,X_KEEP_ALIVE_INVALID_CHILDREN:47,47:`X_KEEP_ALIVE_INVALID_CHILDREN`,X_PREFIX_ID_NOT_SUPPORTED:48,48:`X_PREFIX_ID_NOT_SUPPORTED`,X_MODULE_MODE_NOT_SUPPORTED:49,49:`X_MODULE_MODE_NOT_SUPPORTED`,X_CACHE_HANDLER_NOT_SUPPORTED:50,50:`X_CACHE_HANDLER_NOT_SUPPORTED`,X_SCOPE_ID_NOT_SUPPORTED:51,51:`X_SCOPE_ID_NOT_SUPPORTED`,X_VNODE_HOOKS:52,52:`X_VNODE_HOOKS`,X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:`X_V_BIND_INVALID_SAME_NAME_ARGUMENT`,__EXTEND_POINT__:54,54:`__EXTEND_POINT__`},bl={0:`Illegal comment.`,1:`CDATA section is allowed only in XML context.`,2:`Duplicate attribute.`,3:`End tag cannot have attributes.`,4:`Illegal '/' in tags.`,5:`Unexpected EOF in tag.`,6:`Unexpected EOF in CDATA section.`,7:`Unexpected EOF in comment.`,8:`Unexpected EOF in script.`,9:`Unexpected EOF in tag.`,10:`Incorrectly closed comment.`,11:`Incorrectly opened comment.`,12:`Illegal tag name. Use '<' to print '<'.`,13:`Attribute value was expected.`,14:`End tag name was expected.`,15:`Whitespace was expected.`,16:`Unexpected '<!--' in comment.`,17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:`Unquoted attribute value cannot contain U+0022 ("), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (\`).`,19:`Attribute name cannot start with '='.`,21:`'<?' is allowed only in XML context.`,20:`Unexpected null character.`,22:`Illegal '/' in tags.`,23:`Invalid end tag.`,24:`Element is missing end tag.`,25:`Interpolation end sign was not found.`,27:`End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.`,26:`Legal directive name was expected.`,28:`v-if/v-else-if is missing expression.`,29:`v-if/else branches must use unique keys.`,30:`v-else/v-else-if has no adjacent v-if or v-else-if.`,31:`v-for is missing expression.`,32:`v-for has invalid expression.`,33:`<template v-for> key should be placed on the <template> tag.`,34:`v-bind is missing expression.`,53:`v-bind with same-name shorthand only allows static argument.`,35:`v-on is missing expression.`,36:`Unexpected custom directive on <slot> outlet.`,37:`Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,38:`Duplicate slot names found. `,39:`Extraneous children found when component already has explicitly named default slot. These children will be ignored.`,40:`v-slot can only be used on components or <template> tags.`,41:`v-model is missing expression.`,42:`v-model value must be a valid JavaScript member expression.`,43:`v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
12
|
+
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:`v-model cannot be used on a const binding because it is not writable.`,46:`Error parsing JavaScript expression: `,47:`<KeepAlive> expects exactly one child component.`,52:`@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,48:`"prefixIdentifiers" option is not supported in this build of compiler.`,49:`ES module mode is not supported in this build of compiler.`,50:`"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,51:`"scopeId" option is only supported in module mode.`,54:``},xl=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Sl=e=>e&&(e.type===`ObjectProperty`||e.type===`ObjectMethod`)&&!e.computed,Cl=(e,t)=>Sl(t)&&t.key===e,wl=[`TSAsExpression`,`TSTypeAssertion`,`TSNonNullExpression`,`TSInstantiationExpression`,`TSSatisfiesExpression`],Tl=e=>e.type===4&&e.isStatic,El=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Dl=e=>!El.test(e),Ol=/[A-Za-z_$\xA0-\uFFFF]/,kl=/[\.\?\w$\xA0-\uFFFF]/,Al=/\s+[.[]\s*|\s*[.[]\s+/g,jl=e=>e.type===4?e.content:e.loc.source,Ml=e=>{let t=jl(e).trim().replace(Al,e=>e.trim()),n=0,r=[],i=0,a=0,o=null;for(let e=0;e<t.length;e++){let s=t.charAt(e);switch(n){case 0:if(s===`[`)r.push(n),n=1,i++;else if(s===`(`)r.push(n),n=2,a++;else if(!(e===0?Ol:kl).test(s))return!1;break;case 1:s===`'`||s===`"`||s==="`"?(r.push(n),n=3,o=s):s===`[`?i++:s===`]`&&(--i||(n=r.pop()));break;case 2:if(s===`'`||s===`"`||s==="`")r.push(n),n=3,o=s;else if(s===`(`)a++;else if(s===`)`){if(e===t.length-1)return!1;--a||(n=r.pop())}break;case 3:s===o&&(n=r.pop(),o=null);break}}return!i&&!a},Nl=ze,Pl=Ml,Fl=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Il=e=>Fl.test(jl(e)),Ll=ze,Rl=Il,zl=new Set([Jc,Yc]),Bl=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Vl={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:Ce,isPreTag:Ce,isIgnoreNewlineTag:Ce,isCustomElement:Ce,onError:fo,onWarn:po,comments:!1,prefixIdentifiers:!1},q=Vl,Hl=null,Ul=``,Wl=null,J=null,Gl=``,Kl=-1,ql=-1,Jl=0,Yl=!1,Xl=null,Y=[],X=new gl(Y,{onerr:ds,ontext(e,t){Xo(Jo(e,t),e,t)},ontextentity(e,t,n){Xo(e,t,n)},oninterpolation(e,t){if(Yl)return Xo(Jo(e,t),e,t);let n=e+X.delimiterOpen.length,r=t-X.delimiterClose.length;for(;io(Ul.charCodeAt(n));)n++;for(;io(Ul.charCodeAt(r-1));)r--;let i=Jo(n,r);i.includes(`&`)&&(i=q.decodeEntities(i,!1)),os({type:5,content:us(i,!1,G(n,r)),loc:G(e,t)})},onopentagname(e,t){let n=Jo(e,t);Wl={type:1,tag:n,ns:q.getNamespace(n,Y[0],q.ns),tagType:0,props:[],children:[],loc:G(e-1,t),codegenNode:void 0}},onopentagend(e){Yo(e)},onclosetag(e,t){let n=Jo(e,t);if(!q.isVoidTag(n)){let r=!1;for(let e=0;e<Y.length;e++)if(Y[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&ds(24,Y[0].loc.start.offset);for(let n=0;n<=e;n++)Zo(Y.shift(),t,n<e);break}r||ds(23,$o(e,60))}},onselfclosingtag(e){let t=Wl.tag;Wl.isSelfClosing=!0,Yo(e),Y[0]&&Y[0].tag===t&&Zo(Y.shift(),e)},onattribname(e,t){J={type:6,name:Jo(e,t),nameLoc:G(e,t),value:void 0,loc:G(e)}},ondirname(e,t){let n=Jo(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!Yl&&r===``&&ds(26,e),Yl||r===``)J={type:6,name:n,nameLoc:G(e,t),value:void 0,loc:G(e)};else if(J={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[H(`prop`)]:[],loc:G(e)},r===`pre`){Yl=X.inVPre=!0,Xl=Wl;let e=Wl.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=ls(e[t]))}},ondirarg(e,t){if(e===t)return;let n=Jo(e,t);if(Yl&&!Po(J))J.name+=n,cs(J.nameLoc,t);else{let r=n[0]!==`[`;J.arg=us(r?n:n.slice(1,-1),r,G(e,t),r?3:0)}},ondirmodifier(e,t){let n=Jo(e,t);if(Yl&&!Po(J))J.name+=`.`+n,cs(J.nameLoc,t);else if(J.name===`slot`){let e=J.arg;e&&(e.content+=`.`+n,cs(e.loc,t))}else{let r=H(n,!0,G(e,t));J.modifiers.push(r)}},onattribdata(e,t){Gl+=Jo(e,t),Kl<0&&(Kl=e),ql=t},onattribentity(e,t,n){Gl+=e,Kl<0&&(Kl=t),ql=n},onattribnameend(e){let t=J.loc.start.offset,n=Jo(t,e);J.type===7&&(J.rawName=n),Wl.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&ds(2,t)},onattribend(e,t){if(Wl&&J){if(cs(J.loc,t),e!==0)if(Gl.includes(`&`)&&(Gl=q.decodeEntities(Gl,!0)),J.type===6)J.name===`class`&&(Gl=as(Gl).trim()),e===1&&!Gl&&ds(13,t),J.value={type:2,content:Gl,loc:e===1?G(Kl,ql):G(Kl-1,ql+1)},X.inSFCRoot&&Wl.tag===`template`&&J.name===`lang`&&Gl&&Gl!==`html`&&X.enterRCDATA(oo(`</template`),0);else{J.exp=us(Gl,!1,G(Kl,ql),0,0),J.name===`for`&&(J.forParseResult=qo(J.exp));let e=-1;J.name===`bind`&&(e=J.modifiers.findIndex(e=>e.content===`sync`))>-1&&lo(`COMPILER_V_BIND_SYNC`,q,J.loc,J.arg.loc.source)&&(J.name=`model`,J.modifiers.splice(e,1))}(J.type!==7||J.name!==`pre`)&&Wl.props.push(J)}Gl=``,Kl=ql=-1},oncomment(e,t){q.comments&&os({type:3,content:Jo(e,t),loc:G(e-4,t+3)})},onend(){let e=Ul.length;for(let t=0;t<Y.length;t++)Zo(Y[t],e-1),ds(24,Y[t].loc.start.offset)},oncdata(e,t){(Y[0]?Y[0].ns:q.ns)===0?ds(1,e-9):Xo(Jo(e,t),e,t)},onprocessinginstruction(e){(Y[0]?Y[0].ns:q.ns)===0&&ds(21,e-1)}}),Zl=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ql=/^\(|\)$/g,$l=new Set([`if`,`else`,`else-if`,`for`,`slot`]),eu=/\r\n/g,tu=new Set([Kc,qc,Jc,Yc]),nu=`/*@__PURE__*/`,ru=e=>`${cl[e]}: _${cl[e]}`,RegExp(`\\b`+`arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield`.split(`,`).join(`\\b|\\b`)+`\\b`),iu=(e,t)=>{if(e.type===5)e.content=Ys(e.content,t);else if(e.type===1){let n=ko(e,`memo`);for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&i.name!==`for`){let r=i.exp,a=i.arg;r&&r.type===4&&!(i.name===`on`&&a)&&!(n&&t.vForMemoKeyedNodes.has(e)&&a&&a.type===4&&a.content===`key`)&&(i.exp=Ys(r,t,i.name===`slot`)),a&&a.type===4&&!a.isStatic&&(i.arg=Ys(a,t))}}}},au=Es(/^(?:if|else|else-if)$/,(e,t,n)=>Zs(e,t,n,(e,t,r)=>{let i=n.parent.children,a=i.indexOf(e),o=0;for(;a-->=0;){let e=i[a];e&&e.type===9&&(o+=e.branches.length)}return()=>{if(r)e.codegenNode=$s(t,o,n);else{let r=tc(e.codegenNode);r.alternate=$s(t,o+e.branches.length-1,n)}}})),ou=Es(`for`,(e,t,n)=>{let{helper:r,removeHelper:i}=n;return nc(e,t,n,t=>{let a=U(r(Vc),[t.source]),o=Io(e),s=ko(e,`memo`),c=Ao(e,`key`,!1,!0);c&&c.type;let l=c&&(c.type===6?c.value?H(c.value.content,!0):void 0:c.exp),u=l?V(`key`,l):null,d=t.source.type===4&&t.source.constType>0,f=d?64:c?128:256;return t.codegenNode=Ba(n,r(Cc),void 0,a,f,void 0,void 0,!0,!d,!1,e.loc),()=>{let c,{children:f}=t,p=f.length!==1||f[0].type!==1,m=Lo(e)?e:o&&e.children.length===1&&Lo(e.children[0])?e.children[0]:null;if(m?(c=m.codegenNode,o&&u&&zo(c,u,n)):p?c=Ba(n,r(Cc),u?Ha([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,o&&u&&zo(c,u,n),c.isBlock!==!d&&(c.isBlock?(i(Oc),i(to(n.inSSR,c.isComponent))):i(eo(n.inSSR,c.isComponent))),c.isBlock=!d,c.isBlock?(r(Oc),r(to(n.inSSR,c.isComponent))):r(eo(n.inSSR,c.isComponent))),s){let e=Ga(ic(t.parseResult,[H(`_cached`)]));e.body=Ja([Wa([`const _memo = (`,s.exp,`)`]),Wa([`if (_cached && _cached.el`,...l?[` && _cached.key === `,l]:[],` && ${n.helperString(sl)}(_cached, _memo)) return _cached`]),Wa([`const _item = `,c]),H(`_item.memo = _memo`),H(`return _item`)]),a.arguments.push(e,H(`_cache`),H(String(n.cached.length))),n.cached.push(null)}else a.arguments.push(Ga(ic(t.parseResult),c,!0))}})}),su=H(`undefined`,!1),cu=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){let n=ko(e,`slot`);if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},lu=(e,t)=>{let n;if(Io(e)&&e.props.some(Fo)&&(n=ko(e,`for`))){let e=n.forParseResult;if(e){rc(e,t);let{value:n,key:r,index:i}=e,{addIdentifiers:a,removeIdentifiers:o}=t;return n&&a(n),r&&a(r),i&&a(i),()=>{n&&o(n),r&&o(r),i&&o(i)}}}},uu=(e,t,n,r)=>Ga(e,n,!1,!0,n.length?n[0].loc:r),du=new WeakMap,fu=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;let{tag:n,props:r}=e,i=e.tagType===1,a=i?lc(e,t):`"${n}"`,s=o(a)&&a.callee===Lc,c,l,u=0,d,f,p,m=s||a===wc||a===Tc||!i&&(n===`svg`||n===`foreignObject`||n===`math`);if(r.length>0){let n=uc(e,t,void 0,i,s);c=n.props,u=n.patchFlag,f=n.dynamicPropNames;let r=n.directives;p=r&&r.length?Va(r.map(e=>pc(e,t))):void 0,n.shouldUseBlock&&(m=!0)}if(e.children.length>0)if(a===Ec&&(m=!0,u|=1024),i&&a!==wc&&a!==Ec){let{slots:n,hasDynamicSlots:r}=oc(e,t);l=n,r&&(u|=1024)}else if(e.children.length===1&&a!==wc){let n=e.children[0],r=n.type,i=r===5||r===8;i&&_s(n,t)===0&&(u|=1),l=i||r===2?n:e.children}else l=e.children;f&&f.length&&(d=mc(f)),e.codegenNode=Ba(t,a,c,l,u===0?void 0:u,d,p,!!m,!1,i,e.loc)},pu=(e,t)=>{if(Lo(e)){let{children:n,loc:r}=e,{slotName:i,slotProps:a}=gc(e,t),o=[t.prefixIdentifiers?`_ctx.$slots`:`$slots`,i,`{}`,`undefined`,`true`],s=2;a&&(o[2]=a,s=3),n.length&&(o[3]=Ga([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),o.splice(s),e.codegenNode=U(t.helper(Hc),o,r)}},mu=(e,t,n,r)=>{let{loc:i,modifiers:a,arg:o}=e;!e.exp&&!a.length&&n.onError(W(35,i));let s;if(o.type===4)if(o.isStatic){let e=o.content;e.startsWith(`vue:`)&&(e=`vnode-${e.slice(4)}`),s=H(t.tagType!==0||e.startsWith(`vnode`)||!/[A-Z]/.test(e)?b(Pe(e)):`on:${e}`,!0,o.loc)}else s=Wa([`${n.helperString($c)}(`,o,`)`]);else s=o,s.children.unshift(`${n.helperString($c)}(`),s.children.push(`)`);let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=n.cacheHandlers&&!c&&!n.inVOnce;if(c){let e=Pl(c),t=!(e||Rl(c)),n=c.content.includes(`;`);(t||l&&e)&&(c=Wa([`${t?`$event`:`(...args)`} => ${n?`{`:`(`}`,c,n?`}`:`)`]))}let u={props:[V(s,c||H(`() => {}`,!1,i))]};return r&&(u=r(u)),l&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},hu=(e,t,n)=>{let{modifiers:r,loc:i}=e,a=e.arg,{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),a.type===4?a.isStatic||(a.content=a.content?`${a.content} || ""`:`""`):(a.children.unshift(`(`),a.children.push(`) || ""`)),r.some(e=>e.content===`camel`)&&(a.type===4?a.isStatic?a.content=Pe(a.content):a.content=`${n.helperString(Zc)}(${a.content})`:(a.children.unshift(`${n.helperString(Zc)}(`),a.children.push(`)`))),n.inSSR||(r.some(e=>e.content===`prop`)&&gu(a,`.`),r.some(e=>e.content===`attr`)&&gu(a,`^`)),{props:[V(a,o)]}},gu=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(`)`))},_u=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{let n=e.children,r,i=!1;for(let e=0;e<n.length;e++){let t=n[e];if(No(t)){i=!0;for(let i=e+1;i<n.length;i++){let a=n[i];if(No(a))r||=n[e]=Wa([t],t.loc),r.children.push(` + `,a),n.splice(i,1),i--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(e=>e.type===7&&!t.directiveTransforms[e.name])&&e.tag!==`template`)))for(let e=0;e<n.length;e++){let r=n[e];if(No(r)||r.type===8){let i=[];(r.type!==2||r.content!==` `)&&i.push(r),!t.ssr&&_s(r,t)===0&&i.push(`1`),n[e]={type:12,content:r,loc:r.loc,codegenNode:U(t.helper(Pc),i)}}}}},vu=new WeakSet,yu=(e,t)=>{if(e.type===1&&ko(e,`once`,!0))return vu.has(e)||t.inVOnce||t.inSSR?void 0:(vu.add(e),t.inVOnce=!0,t.helper(el),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&=t.cache(e.codegenNode,!0,!0)})},bu=(e,t,n)=>{let{exp:r,arg:i}=e;if(!r)return n.onError(W(41,e.loc)),_c();let a=r.loc.source.trim(),o=r.type===4?r.content:a,s=n.bindingMetadata[a];if(s===`props`||s===`props-aliased`)return n.onError(W(44,r.loc)),_c();if(s===`literal-const`||s===`setup-const`)return n.onError(W(45,r.loc)),_c();if(!o.trim()||!Pl(r))return n.onError(W(42,r.loc)),_c();let c=i||H(`modelValue`,!0),l=i?Tl(i)?`onUpdate:${Pe(i.content)}`:Wa([`"onUpdate:" + `,i]):`onUpdate:modelValue`,u;u=Wa([`${n.isTS?`($event: any)`:`$event`} => ((`,r,`) = $event)`]);let d=[V(c,e.exp),V(l,u)];if(e.modifiers.length&&t.tagType===1){let t=e.modifiers.map(e=>e.content).map(e=>(Dl(e)?e:JSON.stringify(e))+`: true`).join(`, `),n=i?Tl(i)?`${i.content}Modifiers`:Wa([i,` + "Modifiers"`]):`modelModifiers`;d.push(V(n,H(`{ ${t} }`,!1,e.loc,2)))}return _c(d)},xu=/[\w).+\-_$\]]/,Su=(e,t)=>{co(`COMPILER_FILTERS`,t)&&(e.type===5?vc(e.content,t):e.type===1&&e.props.forEach(e=>{e.type===7&&e.name!==`for`&&e.exp&&vc(e.exp,t)}))},Cu=new WeakSet,wu=(e,t)=>{if(e.type===1){let n=ko(e,`memo`);return!n||Cu.has(e)||t.inSSR?void 0:(Cu.add(e),()=>{let r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&no(r,t),e.codegenNode=U(t.helper(ol),[n.exp,Ga(void 0,r),`_cache`,String(t.cached.length)]),t.cached.push(null))})}},Tu=(e,t)=>{if(e.type===1){for(let n of e.props)if(n.type===7&&n.name===`bind`&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){let e=n.arg;if(e.type!==4||!e.isStatic)t.onError(W(53,e.loc)),n.exp=H(``,!0,e.loc);else{let t=Pe(e.content);(Ol.test(t[0])||t[0]===`-`)&&(n.exp=H(t,!1,e.loc))}}}},Eu={DATA:`data`,PROPS:`props`,PROPS_ALIASED:`props-aliased`,SETUP_LET:`setup-let`,SETUP_CONST:`setup-const`,SETUP_REACTIVE_CONST:`setup-reactive-const`,SETUP_MAYBE_REF:`setup-maybe-ref`,SETUP_REF:`setup-ref`,OPTIONS:`options`,LITERAL_CONST:`literal-const`},Du=()=>({props:[]})})),ku=i({BASE_TRANSITION:()=>Dc,BindingTypes:()=>Eu,CAMELIZE:()=>Zc,CAPITALIZE:()=>Qc,CREATE_BLOCK:()=>kc,CREATE_COMMENT:()=>Nc,CREATE_ELEMENT_BLOCK:()=>Ac,CREATE_ELEMENT_VNODE:()=>Mc,CREATE_SLOTS:()=>Uc,CREATE_STATIC:()=>Fc,CREATE_TEXT:()=>Pc,CREATE_VNODE:()=>jc,CompilerDeprecationTypes:()=>_l,ConstantTypes:()=>fl,DOMDirectiveTransforms:()=>ld,DOMErrorCodes:()=>Ju,DOMErrorMessages:()=>Yu,DOMNodeTransforms:()=>cd,ElementTypes:()=>dl,ErrorCodes:()=>yl,FRAGMENT:()=>Cc,GUARD_REACTIVE_PROPS:()=>Yc,IS_MEMO_SAME:()=>sl,IS_REF:()=>al,KEEP_ALIVE:()=>Ec,MERGE_PROPS:()=>Gc,NORMALIZE_CLASS:()=>Kc,NORMALIZE_PROPS:()=>Jc,NORMALIZE_STYLE:()=>qc,Namespaces:()=>ll,NodeTypes:()=>ul,OPEN_BLOCK:()=>Oc,POP_SCOPE_ID:()=>nl,PUSH_SCOPE_ID:()=>tl,RENDER_LIST:()=>Vc,RENDER_SLOT:()=>Hc,RESOLVE_COMPONENT:()=>Ic,RESOLVE_DIRECTIVE:()=>Rc,RESOLVE_DYNAMIC_COMPONENT:()=>Lc,RESOLVE_FILTER:()=>zc,SET_BLOCK_TRACKING:()=>el,SUSPENSE:()=>Tc,TELEPORT:()=>wc,TO_DISPLAY_STRING:()=>Wc,TO_HANDLERS:()=>Xc,TO_HANDLER_KEY:()=>$c,TRANSITION:()=>Hu,TRANSITION_GROUP:()=>Uu,TS_NODE_TYPES:()=>wl,UNREF:()=>il,V_MODEL_CHECKBOX:()=>Fu,V_MODEL_DYNAMIC:()=>Ru,V_MODEL_RADIO:()=>Pu,V_MODEL_SELECT:()=>Lu,V_MODEL_TEXT:()=>Iu,V_ON_WITH_KEYS:()=>Bu,V_ON_WITH_MODIFIERS:()=>zu,V_SHOW:()=>Vu,WITH_CTX:()=>rl,WITH_DIRECTIVES:()=>Bc,WITH_MEMO:()=>ol,advancePositionWithClone:()=>Eo,advancePositionWithMutation:()=>Do,assert:()=>Oo,baseCompile:()=>Sc,baseParse:()=>ps,buildDirectiveArgs:()=>pc,buildProps:()=>uc,buildSlots:()=>oc,checkCompatEnabled:()=>lo,compile:()=>Mu,convertToBlock:()=>no,createArrayExpression:()=>Va,createAssignmentExpression:()=>Za,createBlockStatement:()=>Ja,createCacheExpression:()=>qa,createCallExpression:()=>U,createCompilerError:()=>W,createCompoundExpression:()=>Wa,createConditionalExpression:()=>Ka,createDOMCompilerError:()=>ju,createForLoopParams:()=>ic,createFunctionExpression:()=>Ga,createIfStatement:()=>Xa,createInterpolation:()=>Ua,createObjectExpression:()=>Ha,createObjectProperty:()=>V,createReturnStatement:()=>$a,createRoot:()=>za,createSequenceExpression:()=>Qa,createSimpleExpression:()=>H,createStructuralDirectiveTransform:()=>Es,createTemplateLiteral:()=>Ya,createTransformContext:()=>xs,createVNodeCall:()=>Ba,errorMessages:()=>bl,extractIdentifiers:()=>Co,findDir:()=>ko,findProp:()=>Ao,forAliasRE:()=>Bl,generate:()=>Os,generateCodeFrame:()=>ge,getBaseTransformPreset:()=>xc,getConstantType:()=>_s,getMemoedVNodeCall:()=>Uo,getVNodeBlockHelper:()=>to,getVNodeHelper:()=>eo,hasDynamicKeyVBind:()=>Mo,hasScopeRef:()=>Ho,helperNameMap:()=>cl,injectProp:()=>zo,isAllWhitespace:()=>Wo,isCommentOrWhitespace:()=>Ko,isCoreComponent:()=>To,isFnExpression:()=>Rl,isFnExpressionBrowser:()=>Il,isFnExpressionNode:()=>Ll,isFunctionType:()=>xl,isInDestructureAssignment:()=>go,isInNewExpression:()=>_o,isMemberExpression:()=>Pl,isMemberExpressionBrowser:()=>Ml,isMemberExpressionNode:()=>Nl,isReferencedIdentifier:()=>ho,isSimpleIdentifier:()=>Dl,isSlotOutlet:()=>Lo,isStaticArgOf:()=>jo,isStaticExp:()=>Tl,isStaticProperty:()=>Sl,isStaticPropertyKey:()=>Cl,isTemplateNode:()=>Io,isText:()=>No,isVPre:()=>Po,isVSlot:()=>Fo,isWhitespaceText:()=>Go,locStub:()=>K,noopDirectiveTransform:()=>Du,parse:()=>Nu,parserOptions:()=>Gu,processExpression:()=>Ys,processFor:()=>nc,processIf:()=>Zs,processSlotOutlet:()=>gc,registerRuntimeHelpers:()=>Ra,resolveComponentType:()=>lc,stringifyExpression:()=>Xs,toValidAssetId:()=>Vo,trackSlotScopes:()=>cu,trackVForSlotScopes:()=>lu,transform:()=>Ss,transformBind:()=>hu,transformElement:()=>fu,transformExpression:()=>iu,transformModel:()=>bu,transformOn:()=>mu,transformStyle:()=>Ku,transformVBindShorthand:()=>Tu,traverseNode:()=>Ts,unwrapTSNode:()=>wo,validFirstIdentCharRE:()=>Ol,walkBlockDeclarations:()=>yo,walkFunctionParams:()=>vo,walkIdentifiers:()=>mo,warnDeprecation:()=>uo});function Au(e,t=!1){return Wu||=document.createElement(`div`),t?(Wu.innerHTML=`<div foo="${e.replace(/"/g,`"`)}">`,Wu.children[0].getAttribute(`foo`)):(Wu.innerHTML=e,Wu.textContent)}function ju(e,t){return W(e,t,void 0)}function Mu(e,t={}){return Sc(e,Te({},Gu,t,{nodeTransforms:[sd,...cd,...t.nodeTransforms||[]],directiveTransforms:Te({},ld,t.directiveTransforms||{}),transformHoist:null}))}function Nu(e,t={}){return ps(e,Te({},Gu,t))}var Pu,Fu,Iu,Lu,Ru,zu,Bu,Vu,Hu,Uu,Wu,Gu,Ku,qu,Ju,Yu,Xu,Zu,Qu,$u,ed,td,nd,rd,id,ad,od,sd,cd,ld,ud=tt((()=>{Ou(),Ou(),Ye(),Pu=Symbol(``),Fu=Symbol(``),Iu=Symbol(``),Lu=Symbol(``),Ru=Symbol(``),zu=Symbol(``),Bu=Symbol(``),Vu=Symbol(``),Hu=Symbol(``),Uu=Symbol(``),Ra({[Pu]:`vModelRadio`,[Fu]:`vModelCheckbox`,[Iu]:`vModelText`,[Lu]:`vModelSelect`,[Ru]:`vModelDynamic`,[zu]:`withModifiers`,[Bu]:`withKeys`,[Vu]:`vShow`,[Hu]:`Transition`,[Uu]:`TransitionGroup`}),Gu={parseMode:`html`,isVoidTag:Ne,isNativeTag:e=>$e(e)||u(e)||ae(e),isPreTag:e=>e===`pre`,isIgnoreNewlineTag:e=>e===`pre`||e===`textarea`,decodeEntities:Au,isBuiltInComponent:e=>{if(e===`Transition`||e===`transition`)return Hu;if(e===`TransitionGroup`||e===`transition-group`)return Uu},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag===`annotation-xml`){if(e===`svg`)return 1;t.props.some(e=>e.type===6&&e.name===`encoding`&&e.value!=null&&(e.value.content===`text/html`||e.value.content===`application/xhtml+xml`))&&(r=0)}else /^m(?:[ions]|text)$/.test(t.tag)&&e!==`mglyph`&&e!==`malignmark`&&(r=0);else t&&r===1&&(t.tag===`foreignObject`||t.tag===`desc`||t.tag===`title`)&&(r=0);if(r===0){if(e===`svg`)return 1;if(e===`math`)return 2}return r}},Ku=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name===`style`&&t.value&&(e.props[n]={type:7,name:`bind`,arg:H(`style`,!0,t.loc),exp:qu(t.value.content,t.loc),modifiers:[],loc:t.loc})})},qu=(e,t)=>{let n=D(e);return H(JSON.stringify(n),!1,t,3)},Ju={X_V_HTML_NO_EXPRESSION:54,54:`X_V_HTML_NO_EXPRESSION`,X_V_HTML_WITH_CHILDREN:55,55:`X_V_HTML_WITH_CHILDREN`,X_V_TEXT_NO_EXPRESSION:56,56:`X_V_TEXT_NO_EXPRESSION`,X_V_TEXT_WITH_CHILDREN:57,57:`X_V_TEXT_WITH_CHILDREN`,X_V_MODEL_ON_INVALID_ELEMENT:58,58:`X_V_MODEL_ON_INVALID_ELEMENT`,X_V_MODEL_ARG_ON_ELEMENT:59,59:`X_V_MODEL_ARG_ON_ELEMENT`,X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:`X_V_MODEL_ON_FILE_INPUT_ELEMENT`,X_V_MODEL_UNNECESSARY_VALUE:61,61:`X_V_MODEL_UNNECESSARY_VALUE`,X_V_SHOW_NO_EXPRESSION:62,62:`X_V_SHOW_NO_EXPRESSION`,X_TRANSITION_INVALID_CHILDREN:63,63:`X_TRANSITION_INVALID_CHILDREN`,X_IGNORED_SIDE_EFFECT_TAG:64,64:`X_IGNORED_SIDE_EFFECT_TAG`,__EXTEND_POINT__:65,65:`__EXTEND_POINT__`},Yu={54:`v-html is missing expression.`,55:`v-html will override element children.`,56:`v-text is missing expression.`,57:`v-text will override element children.`,58:`v-model can only be used on <input>, <textarea> and <select> elements.`,59:`v-model argument is not supported on plain elements.`,60:`v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,61:`Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,62:`v-show is missing expression.`,63:`<Transition> expects exactly one child element or component.`,64:`Tags with side effect (<script> and <style>) are ignored in client component templates.`},Xu=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(ju(54,i)),t.children.length&&(n.onError(ju(55,i)),t.children.length=0),{props:[V(H(`innerHTML`,!0,i),r||H(``,!0))]}},Zu=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(ju(56,i)),t.children.length&&(n.onError(ju(57,i)),t.children.length=0),{props:[V(H(`textContent`,!0),r?_s(r,n)>0?r:U(n.helperString(Wc),[r],i):H(``,!0))]}},Qu=(e,t,n)=>{let r=bu(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(ju(59,e.arg.loc));let{tag:i}=t,a=n.isCustomElement(i);if(i===`input`||i===`textarea`||i===`select`||a){let o=Iu,s=!1;if(i===`input`||a){let r=Ao(t,`type`);if(r){if(r.type===7)o=Ru;else if(r.value)switch(r.value.content){case`radio`:o=Pu;break;case`checkbox`:o=Fu;break;case`file`:s=!0,n.onError(ju(60,e.loc));break;default:break}}else Mo(t)&&(o=Ru)}else i===`select`&&(o=Lu);s||(r.needRuntime=n.helper(o))}else n.onError(ju(58,e.loc));return r.props=r.props.filter(e=>!(e.key.type===4&&e.key.content===`modelValue`)),r},$u=n(`passive,once,capture`),ed=n(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),td=n(`left,right`),nd=n(`onkeyup,onkeydown,onkeypress`),rd=(e,t,n,r)=>{let i=[],a=[],o=[];for(let s=0;s<t.length;s++){let c=t[s].content;c===`native`&&lo(`COMPILER_V_ON_NATIVE`,n,r)||$u(c)?o.push(c):td(c)?Tl(e)?nd(e.content.toLowerCase())?i.push(c):a.push(c):(i.push(c),a.push(c)):ed(c)?a.push(c):i.push(c)}return{keyModifiers:i,nonKeyModifiers:a,eventOptionModifiers:o}},id=(e,t)=>Tl(e)&&e.content.toLowerCase()===`onclick`?H(t,!0):e.type===4?e:Wa([`(`,e,`) === "onClick" ? "${t}" : (`,e,`)`]),ad=(e,t,n)=>mu(e,t,n,t=>{let{modifiers:r}=e;if(!r.length)return t;let{key:i,value:a}=t.props[0],{keyModifiers:o,nonKeyModifiers:s,eventOptionModifiers:c}=rd(i,r,n,e.loc);if(s.includes(`right`)&&(i=id(i,`onContextmenu`)),s.includes(`middle`)&&(i=id(i,`onMouseup`)),s.length&&(a=U(n.helper(zu),[a,JSON.stringify(s)])),o.length&&(!Tl(i)||nd(i.content.toLowerCase()))&&(a=U(n.helper(Bu),[a,JSON.stringify(o)])),c.length){let e=c.map(De).join(``);i=Tl(i)?H(`${i.content}${e}`,!0):Wa([`(`,i,`) + "${e}"`])}return{props:[V(i,a)]}}),od=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(ju(62,i)),{props:[],needRuntime:n.helper(Vu)}},sd=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag===`script`||e.tag===`style`)&&t.removeNode()},cd=[Ku],ld={cloak:Du,html:Xu,text:Zu,model:Qu,on:ad,show:od}})),dd=re((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=(ud(),m(ku)),n=(_e(),m(Ie)),r=(Ye(),m(f));function i(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var a=i(n),o=Object.create(null);function s(e,n){if(!r.isString(e))if(e.nodeType)e=e.innerHTML;else return r.NOOP;let i=r.genCacheKey(e,n),s=o[i];if(s)return s;if(e[0]===`#`){let t=document.querySelector(e);e=t?t.innerHTML:``}let c=r.extend({hoistStatic:!0,onError:void 0,onWarn:r.NOOP},n);!c.isCustomElement&&typeof customElements<`u`&&(c.isCustomElement=e=>!!customElements.get(e));let{code:l}=t.compile(e,c),u=Function(`Vue`,l)(a);return u._rc=!0,o[i]=u}n.registerRuntimeCompiler(s),e.compile=s,Object.keys(n).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&(e[t]=n[t])})})),fd=re(((e,t)=>{t.exports=dd()})),pd=re(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(fd()):typeof define==`function`&&define.amd?define(`VueToast`,[`vue`],r):typeof e==`object`?e.VueToast=r(fd()):n.VueToast=r(n.Vue)})(e,e=>(()=>{var t={113:((e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}}),594:(t=>{t.exports=e})},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i),r.d(i,{ToastComponent:()=>h,ToastPlugin:()=>_,ToastPositions:()=>d,default:()=>v,useToast:()=>g});var a=r(594);let o=[`innerHTML`];function s(e,t,n,r,i,s){return(0,a.openBlock)(),(0,a.createBlock)(a.Transition,{"enter-active-class":e.transition.enter,"leave-active-class":e.transition.leave},{default:(0,a.withCtx)(()=>[(0,a.withDirectives)((0,a.createElementVNode)(`div`,{ref:`root`,role:`alert`,class:(0,a.normalizeClass)([`v-toast__item`,[`v-toast__item--${e.type}`,`v-toast__item--${e.position}`]]),onMouseover:t[0]||=t=>e.toggleTimer(!0),onMouseleave:t[1]||=t=>e.toggleTimer(!1),onClick:t[2]||=function(){return e.whenClicked&&e.whenClicked(...arguments)}},[t[3]||=(0,a.createElementVNode)(`div`,{class:`v-toast__icon`},null,-1),(0,a.createElementVNode)(`p`,{class:`v-toast__text`,innerHTML:e.message},null,8,o)],34),[[a.vShow,e.isActive]])]),_:1},8,[`enter-active-class`,`leave-active-class`])}function c(e){e.remove===void 0?e.parentNode?.removeChild(e):e.remove()}function l(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=(0,a.h)(e,t,r),o=document.createElement(`div`);return o.classList.add(`v-toast--pending`),n.appendChild(o),(0,a.render)(i,o),i.component}class u{constructor(e,t){this.startedAt=Date.now(),this.callback=e,this.delay=t,this.timer=setTimeout(e,t)}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)}}let d=Object.freeze({TOP_RIGHT:`top-right`,TOP:`top`,TOP_LEFT:`top-left`,BOTTOM_RIGHT:`bottom-right`,BOTTOM:`bottom`,BOTTOM_LEFT:`bottom-left`});function f(e){return{all:e||=new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get(`*`))&&r.slice().map(function(e){e(t,n)})}}}let p=f(),m=(0,a.defineComponent)({name:`Toast`,props:{message:{type:String,required:!0},type:{type:String,default:`success`},position:{type:String,default:d.BOTTOM_RIGHT,validator(e){return Object.values(d).includes(e)}},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(),p.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`);let e=document.body;e.appendChild(this.parentTop),e.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);let e=this.$refs.root;(0,a.render)(null,e),c(e)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}let e=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement(`afterbegin`,this.$refs.root),c(e),this.isActive=!0,this.duration&&(this.timer=new u(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(e){!this.pauseOnHover||!this.timer||(e?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(){p.off(`toast-clear`,this.dismiss)}}),h=(0,r(113).default)(m,[[`render`,s]]),g=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(t){let n=null;return typeof t==`string`&&(n=t),{dismiss:l(h,Object.assign({},{message:n},e,t),document.body).ctx.dismiss}},clear(){p.emit(`toast-clear`)},success(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:e,type:`success`},t))},error(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:e,type:`error`},t))},info(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:e,type:`info`},t))},warning(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:e,type:`warning`},t))},default(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:e,type:`default`},t))}}},_={install:function(e){let t=g(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{});e.config.globalProperties.$toast=t,e.provide(`$toast`,t)}},v=_;return i})())})),md=le(pd(),1),hd=i({install:()=>gd}),gd=({app:e})=>{e.use(md.default,{position:`bottom-right`})},_d=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(){}},vd=new class extends _d{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let 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(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},yd={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},bd=new class{#e=yd;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)}};function xd(e){setTimeout(e,0)}var Sd=typeof window>`u`||`Deno`in globalThis;function Cd(){}function wd(e,t){return typeof e==`function`?e(t):e}function Td(e){return typeof e==`number`&&e>=0&&e!==1/0}function Ed(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Dd(e,t){return typeof e==`function`?e(t):e}function Od(e,t){return typeof e==`function`?e(t):e}function kd(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==jd(o,t.options))return!1}else if(!Nd(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function Ad(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Md(t.options.mutationKey)!==Md(a))return!1}else if(!Nd(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function jd(e,t){return(t?.queryKeyHashFn||Md)(e)}function Md(e){return JSON.stringify(e,(e,t)=>Rd(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function Nd(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>Nd(e[n],t[n])):!1}var Pd=Object.prototype.hasOwnProperty;function Fd(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=Ld(e)&&Ld(t);if(!r&&!(Rd(e)&&Rd(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:Pd.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=Fd(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function Id(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function Ld(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Rd(e){if(!zd(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!zd(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function zd(e){return Object.prototype.toString.call(e)===`[object Object]`}function Bd(e){return new Promise(t=>{bd.setTimeout(t,e)})}function Vd(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:Fd(e,t)}function Hd(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function Ud(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Wd=Symbol();function Gd(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Wd?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Kd(e,t){return typeof e==`function`?e(...t):!!e}function qd(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Jd=(()=>{let e=()=>Sd;return{isServer(){return e()},setIsServer(t){e=t}}})();function Yd(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var Xd=xd;function Zd(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=Xd,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var Qd=Zd(),$d=new class extends _d{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let 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(t=>{t(e)}))}isOnline(){return this.#e}};function ef(e){return Math.min(1e3*2**e,3e4)}function tf(e){return(e??`online`)===`online`?$d.isOnline():!0}var nf=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function rf(e){let t=!1,n=0,r,i=Yd(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new nf(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>vd.isFocused()&&(e.networkMode===`always`||$d.isOnline())&&e.canRun(),u=()=>tf(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Jd.isServer()?0:3),o=e.retryDelay??ef,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),Bd(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var af=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Td(this.gcTime)&&(this.#e=bd.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Jd.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(bd.clearTimeout(this.#e),this.#e=void 0)}};function of(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{qd(e,()=>t.signal,()=>n=!0)},u=Gd(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?Ud:Hd;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?cf:sf,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:sf(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function sf(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function cf(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var lf=class extends af{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=ff(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=ff(this.options);e.data!==void 0&&(this.setState(df(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=Vd(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(Cd).catch(Cd):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Od(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Wd||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Dd(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:!Ed(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.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.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=Gd(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?of(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=rf({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof nf&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof nf){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...uf(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...df(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),Qd.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function uf(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:tf(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function df(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function ff(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var pf=class extends af{#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||mf(),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){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=rf({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,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{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),Qd.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function mf(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var hf=class extends _d{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new pf({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=gf(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=gf(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=gf(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=gf(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){Qd.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Ad(t,e))}findAll(e={}){return this.getAll().filter(t=>Ad(e,t))}notify(e){Qd.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return Qd.batch(()=>Promise.all(e.map(e=>e.continue().catch(Cd))))}};function gf(e){return e.options.scope?.id}var _f=class extends _d{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??jd(r,t),a=this.get(i);return a||(a=new lf({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){Qd.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>kd(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>kd(e,t)):t}notify(e){Qd.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Qd.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Qd.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},vf=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new _f,this.#t=e.mutationCache||new hf,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=vd.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=$d.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Dd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=wd(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return Qd.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;Qd.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return Qd.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=Qd.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(Cd).catch(Cd)}invalidateQueries(e,t={}){return Qd.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=Qd.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(Cd)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(Cd)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(Dd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Cd).catch(Cd)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Cd).catch(Cd)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return $d.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Md(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{Nd(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(Md(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{Nd(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=jd(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===Wd&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},yf=`VUE_QUERY_CLIENT`;function bf(e){return`${yf}${e?`:${e}`:``}`}function xf(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Sf(e,t,n=``,r=0){if(t){let i=t(e,n,r);if(i===void 0&&me(e)||i!==void 0)return i}if(Array.isArray(e))return e.map((e,n)=>Sf(e,t,String(n),r+1));if(typeof e==`object`&&wf(e)){let n=Object.entries(e).map(([e,n])=>[e,Sf(n,t,e,r+1)]);return Object.fromEntries(n)}return e}function Cf(e,t){return Sf(e,t)}function Z(e,t=!1){return Cf(e,(e,n,r)=>{if(r===1&&n===`queryKey`)return Z(e,!0);if(t&&Tf(e))return Z(e(),t);if(me(e))return Z(qe(e),t)})}function wf(e){if(Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Tf(e){return typeof e==`function`}var Ef=class extends _f{find(e){return super.find(Z(e))}findAll(e={}){return super.findAll(Z(e))}},Df=class extends hf{find(e){return super.find(Z(e))}findAll(e={}){return super.findAll(Z(e))}},Of=class extends vf{constructor(e={}){let t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new Ef,mutationCache:e.mutationCache||new Df};super(t),this.isRestoring=Fe(!1)}isFetching(e={}){return super.isFetching(Z(e))}isMutating(e={}){return super.isMutating(Z(e))}getQueryData(e){return super.getQueryData(Z(e))}ensureQueryData(e){return super.ensureQueryData(Z(e))}getQueriesData(e){return super.getQueriesData(Z(e))}setQueryData(e,t,n={}){return super.setQueryData(Z(e),t,Z(n))}setQueriesData(e,t,n={}){return super.setQueriesData(Z(e),t,Z(n))}getQueryState(e){return super.getQueryState(Z(e))}removeQueries(e={}){return super.removeQueries(Z(e))}resetQueries(e={},t={}){return super.resetQueries(Z(e),Z(t))}cancelQueries(e={},t={}){return super.cancelQueries(Z(e),Z(t))}invalidateQueries(e={},t={}){let n=Z(e),r=Z(t);if(super.invalidateQueries({...n,refetchType:`none`},r),n.refetchType===`none`)return Promise.resolve();let i={...n,type:n.refetchType??n.type??`active`};return Me().then(()=>super.refetchQueries(i,r))}refetchQueries(e={},t={}){return super.refetchQueries(Z(e),Z(t))}fetchQuery(e){return super.fetchQuery(Z(e))}prefetchQuery(e){return super.prefetchQuery(Z(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(Z(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(Z(e))}setDefaultOptions(e){super.setDefaultOptions(Z(e))}setQueryDefaults(e,t){super.setQueryDefaults(Z(e),Z(t))}getQueryDefaults(e){return super.getQueryDefaults(Z(e))}setMutationDefaults(e,t){super.setMutationDefaults(Z(e),Z(t))}getMutationDefaults(e){return super.getMutationDefaults(Z(e))}},kf={install:(e,t={})=>{let n=bf(t.queryClientKey),r;r=`queryClient`in t&&t.queryClient?t.queryClient:new Of(`queryClientConfig`in t?t.queryClientConfig:void 0),Jd.isServer()||r.mount();let i=()=>{};if(t.clientPersister){r.isRestoring&&(r.isRestoring.value=!0);let[e,n]=t.clientPersister(r);i=e,n.then(()=>{r.isRestoring&&(r.isRestoring.value=!1),t.clientPersisterOnSuccess?.(r)})}let a=()=>{r.unmount(),i()};if(e.onUnmount)e.onUnmount(a);else{let t=e.unmount;e.unmount=function(){a(),t()}}e.provide(n,r)}},Af=[`top`,`right`,`bottom`,`left`],jf=[`start`,`end`],Mf=Af.reduce((e,t)=>e.concat(t,t+`-`+jf[0],t+`-`+jf[1]),[]),Nf=Math.min,Pf=Math.max,Ff={left:`right`,right:`left`,bottom:`top`,top:`bottom`},If={start:`end`,end:`start`};function Lf(e,t,n){return Pf(e,Nf(t,n))}function Rf(e,t){return typeof e==`function`?e(t):e}function zf(e){return e.split(`-`)[0]}function Bf(e){return e.split(`-`)[1]}function Vf(e){return e===`x`?`y`:`x`}function Hf(e){return e===`y`?`height`:`width`}function Uf(e){return[`top`,`bottom`].includes(zf(e))?`y`:`x`}function Wf(e){return Vf(Uf(e))}function Gf(e,t,n){n===void 0&&(n=!1);let r=Bf(e),i=Wf(e),a=Hf(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Xf(o)),[o,Xf(o)]}function Kf(e){let t=Xf(e);return[qf(e),t,qf(t)]}function qf(e){return e.replace(/start|end/g,e=>If[e])}function Jf(e,t,n){let r=[`left`,`right`],i=[`right`,`left`],a=[`top`,`bottom`],o=[`bottom`,`top`];switch(e){case`top`:case`bottom`:return n?t?i:r:t?r:i;case`left`:case`right`:return t?a:o;default:return[]}}function Yf(e,t,n,r){let i=Bf(e),a=Jf(zf(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(qf)))),a}function Xf(e){return e.replace(/left|right|bottom|top/g,e=>Ff[e])}function Zf(e){return{top:0,right:0,bottom:0,left:0,...e}}function Qf(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Zf(e)}function $f(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ep(e,t,n){let{reference:r,floating:i}=e,a=Uf(t),o=Wf(t),s=Hf(o),c=zf(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Bf(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var tp=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=ep(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=ep(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function np(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Rf(t,e),p=Qf(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=$f(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=$f(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var rp=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Rf(e,t)||{};if(l==null)return{};let d=Qf(u),f={x:n,y:r},p=Wf(i),m=Hf(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Nf(d[_],T),ee=Nf(d[v],T),D=E,te=C-h[m]-ee,ne=C/2-h[m]/2+w,re=Lf(D,ne,te),ie=!c.arrow&&Bf(i)!=null&&ne!==re&&a.reference[m]/2-(ne<D?E:ee)-h[m]/2<0,ae=ie?ne<D?ne-D:ne-te:0;return{[p]:f[p]+ae,data:{[p]:re,centerOffset:ne-re-ae,...ie&&{alignmentOffset:ae}},reset:ie}}});function ip(e,t,n){return(e?[...n.filter(t=>Bf(t)===e),...n.filter(t=>Bf(t)!==e)]:n.filter(e=>zf(e)===e)).filter(n=>e?Bf(n)===e||(t?qf(n)!==n:!1):!0)}var ap=function(e){return e===void 0&&(e={}),{name:`autoPlacement`,options:e,async fn(t){let{rects:n,middlewareData:r,placement:i,platform:a,elements:o}=t,{crossAxis:s=!1,alignment:c,allowedPlacements:l=Mf,autoAlignment:u=!0,...d}=Rf(e,t),f=c!==void 0||l===Mf?ip(c||null,u,l):l,p=await np(t,d),m=r.autoPlacement?.index||0,h=f[m];if(h==null)return{};let g=Gf(h,n,await(a.isRTL==null?void 0:a.isRTL(o.floating)));if(i!==h)return{reset:{placement:f[0]}};let _=[p[zf(h)],p[g[0]],p[g[1]]],v=[...r.autoPlacement?.overflows||[],{placement:h,overflows:_}],y=f[m+1];if(y)return{data:{index:m+1,overflows:v},reset:{placement:y}};let b=v.map(e=>{let t=Bf(e.placement);return[e.placement,t&&s?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),x=b.filter(e=>e[2].slice(0,Bf(e[0])?2:3).every(e=>e<=0))[0]?.[0]||b[0][0];return x===i?{}:{data:{index:m+1,overflows:v},reset:{placement:x}}}}},op=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Rf(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=zf(r),_=Uf(o),v=zf(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Xf(o)]:Kf(o)),x=p!==`none`;!d&&x&&b.push(...Yf(o,m,p,y));let S=[o,...b],C=await np(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Gf(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t)return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Uf(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};async function sp(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=zf(n),s=Bf(n),c=Uf(n)===`y`,l=[`left`,`top`].includes(o)?-1:1,u=a&&c?-1:1,d=Rf(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var cp=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await sp(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},lp=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=Rf(e,t),l={x:n,y:r},u=await np(t,c),d=Uf(zf(i)),f=Vf(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=Lf(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=Lf(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},up=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=Rf(e,t),u=await np(t,l),d=zf(i),f=Bf(i),p=Uf(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=Nf(h-u[g],v),x=Nf(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=Pf(u.left,0),t=Pf(u.right,0),n=Pf(u.top,0),r=Pf(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:Pf(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:Pf(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function dp(e){return e.ownerDocument?.defaultView||window}function fp(e){return dp(e).getComputedStyle(e)}var pp=Math.min,mp=Math.max,hp=Math.round;function gp(e){let t=fp(e),n=parseFloat(t.width),r=parseFloat(t.height),i=e.offsetWidth,a=e.offsetHeight,o=hp(n)!==i||hp(r)!==a;return o&&(n=i,r=a),{width:n,height:r,fallback:o}}function _p(e){return Sp(e)?(e.nodeName||``).toLowerCase():``}var vp;function yp(){if(vp)return vp;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(vp=e.brands.map((e=>e.brand+`/`+e.version)).join(` `),vp):navigator.userAgent}function bp(e){return e instanceof dp(e).HTMLElement}function xp(e){return e instanceof dp(e).Element}function Sp(e){return e instanceof dp(e).Node}function Cp(e){return typeof ShadowRoot>`u`?!1:e instanceof dp(e).ShadowRoot||e instanceof ShadowRoot}function wp(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=fp(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&![`inline`,`contents`].includes(i)}function Tp(e){return[`table`,`td`,`th`].includes(_p(e))}function Ep(e){let t=/firefox/i.test(yp()),n=fp(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!==`none`||n.perspective!==`none`||!!r&&r!==`none`||t&&n.willChange===`filter`||t&&!!n.filter&&n.filter!==`none`||[`transform`,`perspective`].some((e=>n.willChange.includes(e)))||[`paint`,`layout`,`strict`,`content`].some((e=>{let t=n.contain;return t!=null&&t.includes(e)}))}function Dp(){return!/^((?!chrome|android).)*safari/i.test(yp())}function Op(e){return[`html`,`body`,`#document`].includes(_p(e))}function kp(e){return xp(e)?e:e.contextElement}var Ap={x:1,y:1};function jp(e){let t=kp(e);if(!bp(t))return Ap;let n=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=gp(t),o=(a?hp(n.width):n.width)/r,s=(a?hp(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}function Mp(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=kp(e),o=Ap;t&&(r?xp(r)&&(o=jp(r)):o=jp(e));let s=a?dp(a):window,c=!Dp()&&n,l=(i.left+(c&&s.visualViewport?.offsetLeft||0))/o.x,u=(i.top+(c&&s.visualViewport?.offsetTop||0))/o.y,d=i.width/o.x,f=i.height/o.y;if(a){let e=dp(a),t=r&&xp(r)?dp(r):r,n=e.frameElement;for(;n&&r&&t!==e;){let e=jp(n),t=n.getBoundingClientRect(),r=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(r.paddingTop))*e.y,l*=e.x,u*=e.y,d*=e.x,f*=e.y,l+=t.x,u+=t.y,n=dp(n).frameElement}}return{width:d,height:f,top:u,right:l+d,bottom:u+f,left:l,x:l,y:u}}function Np(e){return((Sp(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pp(e){return xp(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Fp(e){return Mp(Np(e)).left+Pp(e).scrollLeft}function Ip(e){if(_p(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Cp(e)&&e.host||Np(e);return Cp(t)?t.host:t}function Lp(e){let t=Ip(e);return Op(t)?t.ownerDocument.body:bp(t)&&wp(t)?t:Lp(t)}function Rp(e,t){t===void 0&&(t=[]);let n=Lp(e),r=n===e.ownerDocument?.body,i=dp(n);return r?t.concat(i,i.visualViewport||[],wp(n)?n:[]):t.concat(n,Rp(n))}function zp(e,t,n){return t===`viewport`?$f(function(e,t){let n=dp(e),r=Np(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Dp();(e||!e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s,y:c}}(e,n)):xp(t)?$f(function(e,t){let n=Mp(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=bp(e)?jp(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n)):$f(function(e){let t=Np(e),n=Pp(e),r=e.ownerDocument.body,i=mp(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=mp(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Fp(e),s=-n.scrollTop;return fp(r).direction===`rtl`&&(o+=mp(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}(Np(e)))}function Bp(e){return bp(e)&&fp(e).position!==`fixed`?e.offsetParent:null}function Vp(e){let t=dp(e),n=Bp(e);for(;n&&Tp(n)&&fp(n).position===`static`;)n=Bp(n);return n&&(_p(n)===`html`||_p(n)===`body`&&fp(n).position===`static`&&!Ep(n))?t:n||function(e){let t=Ip(e);for(;bp(t)&&!Op(t);){if(Ep(t))return t;t=Ip(t)}return null}(e)||t}function Hp(e,t,n){let r=bp(t),i=Np(t),a=Mp(e,!0,n===`fixed`,t),o={scrollLeft:0,scrollTop:0},s={x:0,y:0};if(r||!r&&n!==`fixed`)if((_p(t)!==`body`||wp(i))&&(o=Pp(t)),bp(t)){let e=Mp(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=Fp(i));return{x:a.left+o.scrollLeft-s.x,y:a.top+o.scrollTop-s.y,width:a.width,height:a.height}}var Up={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?function(e,t){let n=t.get(e);if(n)return n;let r=Rp(e).filter((e=>xp(e)&&_p(e)!==`body`)),i=null,a=fp(e).position===`fixed`,o=a?Ip(e):e;for(;xp(o)&&!Op(o);){let e=fp(o),t=Ep(o);(a?t||i:t||e.position!==`static`||!i||![`absolute`,`fixed`].includes(i.position))?i=e:r=r.filter((e=>e!==o)),o=Ip(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],o=a[0],s=a.reduce(((e,n)=>{let r=zp(t,n,i);return e.top=mp(r.top,e.top),e.right=pp(r.right,e.right),e.bottom=pp(r.bottom,e.bottom),e.left=mp(r.left,e.left),e}),zp(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=bp(n),a=Np(n);if(n===a)return t;let o={scrollLeft:0,scrollTop:0},s={x:1,y:1},c={x:0,y:0};if((i||!i&&r!==`fixed`)&&((_p(n)!==`body`||wp(a))&&(o=Pp(n)),bp(n))){let e=Mp(n);s=jp(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-o.scrollLeft*s.x+c.x,y:t.y*s.y-o.scrollTop*s.y+c.y}},isElement:xp,getDimensions:function(e){return bp(e)?gp(e):e.getBoundingClientRect()},getOffsetParent:Vp,getDocumentElement:Np,getScale:jp,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e,i=this.getOffsetParent||Vp,a=this.getDimensions;return{reference:Hp(t,await i(n),r),floating:{x:0,y:0,...await a(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>fp(e).direction===`rtl`},Wp=(e,t,n)=>{let r=new Map,i={platform:Up,...n},a={...i.platform,_c:r};return tp(e,t,{...i,platform:a})};l(),Ye(),_e(),fe();function Gp(e,t){for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]==`object`&&e[n]?Gp(e[n],t[n]):e[n]=t[n])}var Kp={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 qp(e,t){let n=Kp.themes[e]||{},r;do r=n[t],typeof r>`u`?n.$extend?n=Kp.themes[n.$extend]||{}:(n=null,r=Kp[t]):n=null;while(n);return r}function Jp(e){let t=[e],n=Kp.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Kp.themes[n.$extend]||{}):n=null;while(n);return t.map(e=>`v-popper--theme-${e}`)}function Yp(e){let t=[e],n=Kp.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Kp.themes[n.$extend]||{}):n=null;while(n);return t}var Xp=!1;if(typeof window<`u`){Xp=!1;try{let e=Object.defineProperty({},"passive",{get(){Xp=!0}});window.addEventListener(`test`,null,e)}catch{}}var Zp=!1;typeof window<`u`&&typeof navigator<`u`&&(Zp=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var Qp=[`auto`,`top`,`bottom`,`left`,`right`].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),$p={hover:`mouseenter`,focus:`focus`,click:`click`,touch:`touchstart`,pointer:`pointerdown`},em={hover:`mouseleave`,focus:`blur`,click:`click`,touch:`touchend`,pointer:`pointerup`};function tm(e,t){let n=e.indexOf(t);n!==-1&&e.splice(n,1)}function nm(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}var rm=[],im=null,am={};function om(e){let t=am[e];return t||=am[e]=[],t}var sm=function(){};typeof window<`u`&&(sm=window.Element);function Q(e){return function(t){return qp(t.theme,e)}}var cm=`__floating-vue__popper`,lm=()=>Qe({name:`VPopper`,provide(){return{[cm]:{parentPopper:this}}},inject:{[cm]:{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:Q(`disabled`)},positioningDisabled:{type:Boolean,default:Q(`positioningDisabled`)},placement:{type:String,default:Q(`placement`),validator:e=>Qp.includes(e)},delay:{type:[String,Number,Object],default:Q(`delay`)},distance:{type:[Number,String],default:Q(`distance`)},skidding:{type:[Number,String],default:Q(`skidding`)},triggers:{type:Array,default:Q(`triggers`)},showTriggers:{type:[Array,Function],default:Q(`showTriggers`)},hideTriggers:{type:[Array,Function],default:Q(`hideTriggers`)},popperTriggers:{type:Array,default:Q(`popperTriggers`)},popperShowTriggers:{type:[Array,Function],default:Q(`popperShowTriggers`)},popperHideTriggers:{type:[Array,Function],default:Q(`popperHideTriggers`)},container:{type:[String,Object,sm,Boolean],default:Q(`container`)},boundary:{type:[String,sm],default:Q(`boundary`)},strategy:{type:String,validator:e=>[`absolute`,`fixed`].includes(e),default:Q(`strategy`)},autoHide:{type:[Boolean,Function],default:Q(`autoHide`)},handleResize:{type:Boolean,default:Q(`handleResize`)},instantMove:{type:Boolean,default:Q(`instantMove`)},eagerMount:{type:Boolean,default:Q(`eagerMount`)},popperClass:{type:[String,Array,Object],default:Q(`popperClass`)},computeTransformOrigin:{type:Boolean,default:Q(`computeTransformOrigin`)},autoMinSize:{type:Boolean,default:Q(`autoMinSize`)},autoSize:{type:[Boolean,String],default:Q(`autoSize`)},autoMaxSize:{type:Boolean,default:Q(`autoMaxSize`)},autoBoundaryMaxSize:{type:Boolean,default:Q(`autoBoundaryMaxSize`)},preventOverflow:{type:Boolean,default:Q(`preventOverflow`)},overflowPadding:{type:[Number,String],default:Q(`overflowPadding`)},arrowPadding:{type:[Number,String],default:Q(`arrowPadding`)},arrowOverflow:{type:Boolean,default:Q(`arrowOverflow`)},flip:{type:Boolean,default:Q(`flip`)},shift:{type:Boolean,default:Q(`shift`)},shiftCrossAxis:{type:Boolean,default:Q(`shiftCrossAxis`)},noAutoFocus:{type:Boolean,default:Q(`noAutoFocus`)},disposeTimeout:{type:Number,default:Q(`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.randomId:this.ariaId},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(){return this[cm]?.parentPopper},hasPopperShowTriggerHover(){return this.popperTriggers?.includes(`hover`)||this.popperShowTriggers?.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 r;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(this.parentPopper?.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}={}){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}this.parentPopper?.lockedChild===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit(`hide`),this.$emit(`update:shown`,!1)}},init(){this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode?.call(this)??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.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;let e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(cp({mainAxis:this.distance,crossAxis:this.skidding}));let t=this.placement.startsWith(`auto`);if(t?e.middleware.push(ap({alignment:this.placement.split(`-`)[1]??``})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(lp({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(op({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(rp({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:`arrowOverflow`,fn:({placement:e,rects:t,middlewareData:n})=>{let r,{centerOffset:i}=n.arrow;return r=e.startsWith(`top`)||e.startsWith(`bottom`)?Math.abs(i)>t.reference.width/2:Math.abs(i)>t.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){let t=this.autoSize?this.autoSize:this.autoMinSize?`min`:null;e.middleware.push({name:`autoSize`,fn:({rects:e,placement:n,middlewareData:r})=>{var i;if((i=r.autoSize)!=null&&i.skip)return{};let a,o;return n.startsWith(`top`)||n.startsWith(`bottom`)?a=e.reference.width:o=e.reference.height,this.$_innerNode.style[t===`min`?`minWidth`:t===`max`?`maxWidth`:`width`]=a==null?null:`${a}px`,this.$_innerNode.style[t===`min`?`minHeight`:t===`max`?`maxHeight`:`height`]=o==null?null:`${o}px`,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(up({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:e,availableHeight:t})=>{this.$_innerNode.style.maxWidth=e==null?null:`${e}px`,this.$_innerNode.style.maxHeight=t==null?null:`${t}px`}})));let n=await Wp(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),im&&this.instantMove&&im.instantMove&&im!==this.parentPopper){im.$_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&&(im=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay(`hide`))},$_computeDelay(e){let 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 nm(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Rp(this.$_referenceNode),...Rp(this.$_popperNode)],`scroll`,()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){let e=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(`.v-popper__wrapper`),n=t.parentNode.getBoundingClientRect(),r=e.x+e.width/2-(n.left+t.offsetLeft),i=e.y+e.height/2-(n.top+t.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":``});let e=this.showGroup;if(e){let t;for(let n=0;n<rm.length;n++)t=rm[n],t.showGroup!==e&&(t.hide(),t.$emit(`close-group`))}rm.push(this),document.body.classList.add(`v-popper--some-open`);for(let e of Yp(this.theme))om(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit(`apply-show`),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await nm(),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,tm(rm,this),rm.length===0&&document.body.classList.remove(`v-popper--some-open`);for(let e of Yp(this.theme)){let t=om(e);tm(t,this),t.length===0&&document.body.classList.remove(`v-popper--some-open--${e}`)}im===this&&(im=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);let 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 nm(),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 Error(`No container for popover: `+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){let e=e=>{this.isShown&&!this.$_hideInProgress||(e.usedByTooltip=!0,!this.$_preventShow&&this.show({event:e}))};this.$_registerTriggerListeners(this.$_targetNodes,$p,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],$p,this.popperTriggers,this.popperShowTriggers,e);let t=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,em,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],em,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(e=>e.addEventListener(t,n,Xp?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,i){let a=n;r!=null&&(a=typeof r==`function`?r(a):r),a.forEach(n=>{let r=t[n];r&&this.$_registerEventListeners(e,r,i)})},$_removeEventListeners(e){let t=[];this.$_events.forEach(n=>{let{targetNodes:r,eventType:i,handler:a}=n;!e||e===i?r.forEach(e=>e.removeEventListener(i,a)):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(let n of this.$_targetNodes){let r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(let t of this.$_targetNodes)for(let n in e){let r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_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(){let e=this.$_referenceNode.getBoundingClientRect();if(vm>=e.left&&vm<=e.right&&ym>=e.top&&ym<=e.bottom){let e=this.$_popperNode.getBoundingClientRect(),t=vm-gm,n=ym-_m,r=e.left+e.width/2-gm+(e.top+e.height/2)-_m+e.width+e.height,i=gm+t*r,a=_m+n*r;return bm(gm,_m,i,a,e.left,e.top,e.left,e.bottom)||bm(gm,_m,i,a,e.left,e.top,e.right,e.top)||bm(gm,_m,i,a,e.right,e.top,e.right,e.bottom)||bm(gm,_m,i,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<`u`&&typeof window<`u`){if(Zp){let e=Xp?{passive:!0,capture:!0}:!0;document.addEventListener(`touchstart`,e=>um(e,!0),e),document.addEventListener(`touchend`,e=>dm(e,!0),e)}else window.addEventListener(`mousedown`,e=>um(e,!1),!0),window.addEventListener(`click`,e=>dm(e,!1),!0);window.addEventListener(`resize`,hm)}function um(e,t){if(Kp.autoHideOnMousedown)fm(e,t);else for(let t=0;t<rm.length;t++){let n=rm[t];try{n.mouseDownContains=n.popperNode().contains(e.target)}catch{}}}function dm(e,t){Kp.autoHideOnMousedown||fm(e,t)}function fm(e,t){let n={};for(let r=rm.length-1;r>=0;r--){let i=rm[r];try{let r=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&pm(i,r,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let e=i.parentPopper;for(;e;)n[e.randomId]=!0,e=e.parentPopper;return}let a=i.parentPopper;for(;a&&pm(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function pm(e,t,n){return n.closeAllPopover||n.closePopover&&t||mm(e,n)&&!t}function mm(e,t){if(typeof e.autoHide==`function`){let n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function hm(){for(let e=0;e<rm.length;e++)rm[e].$_computePosition()}var gm=0,_m=0,vm=0,ym=0;typeof window<`u`&&window.addEventListener(`mousemove`,e=>{gm=vm,_m=ym,vm=e.clientX,ym=e.clientY},Xp?{passive:!0}:void 0);function bm(e,t,n,r,i,a,o,s){let c=((o-i)*(t-a)-(s-a)*(e-i))/((s-a)*(n-e)-(o-i)*(r-t)),l=((n-e)*(t-a)-(r-t)*(e-i))/((s-a)*(n-e)-(o-i)*(r-t));return c>=0&&c<=1&&l>=0&&l<=1}var xm={extends:lm()},Sm=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};function Cm(e,t,n,i,o,s){return d(),Je(`div`,{ref:`reference`,class:je([`v-popper`,{"v-popper--shown":e.slotData.isShown}])},[r(e.$slots,`default`,S(a(e.slotData)))],2)}var wm=Sm(xm,[[`render`,Cm]]);function Tm(){var e=window.navigator.userAgent,t=e.indexOf(`MSIE `);if(t>0)return parseInt(e.substring(t+5,e.indexOf(`.`,t)),10);if(e.indexOf(`Trident/`)>0){var n=e.indexOf(`rv:`);return parseInt(e.substring(n+3,e.indexOf(`.`,n)),10)}var r=e.indexOf(`Edge/`);return r>0?parseInt(e.substring(r+5,e.indexOf(`.`,r)),10):-1}var Em;function Dm(){Dm.init||(Dm.init=!0,Em=Tm()!==-1)}var Om={name:`ResizeObserver`,props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:[`notify`],mounted(){Dm(),Me(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});let e=document.createElement(`object`);this._resizeObject=e,e.setAttribute(`aria-hidden`,`true`),e.setAttribute(`tabindex`,-1),e.onload=this.addResizeHandlers,e.type=`text/html`,Em&&this.$el.appendChild(e),e.data=`about:blank`,Em||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&&(!Em&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener(`resize`,this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},km=v(`data-v-b329ee4c`);ne(`data-v-b329ee4c`);var Am={class:`resize-observer`,tabindex:`-1`};h(),Om.render=km((e,t,n,r,i,a)=>(d(),we(`div`,Am))),Om.__scopeId=`data-v-b329ee4c`,Om.__file=`src/components/ResizeObserver.vue`;var jm=(e=`theme`)=>({computed:{themeClass(){return Jp(this[e])}}}),Mm=Qe({name:`VPopperContent`,components:{ResizeObserver:Om},mixins:[jm()],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}}}),Nm=[`id`,`aria-hidden`,`tabindex`,`data-popper-placement`],Pm={ref:`inner`,class:`v-popper__inner`},Fm=[Ee(`div`,{class:`v-popper__arrow-outer`},null,-1),Ee(`div`,{class:`v-popper__arrow-inner`},null,-1)];function Im(e,t,n,i,a,o){let s=ue(`ResizeObserver`);return d(),Je(`div`,{id:e.popperId,ref:`popover`,class:je([`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:w(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]||=Ke(t=>e.autoHide&&e.$emit(`hide`),[`esc`])},[Ee(`div`,{class:`v-popper__backdrop`,onClick:t[0]||=t=>e.autoHide&&e.$emit(`hide`)}),Ee(`div`,{class:`v-popper__wrapper`,style:w(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[Ee(`div`,Pm,[e.mounted?(d(),Je(Se,{key:0},[Ee(`div`,null,[r(e.$slots,`default`)]),e.handleResize?(d(),we(s,{key:0,onNotify:t[1]||=t=>e.$emit(`resize`,t)})):he(``,!0)],64)):he(``,!0)],512),Ee(`div`,{ref:`arrow`,class:`v-popper__arrow-container`,style:w(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Fm,4)],4)],46,Nm)}var Lm=Sm(Mm,[[`render`,Im]]),Rm={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)}}},zm=function(){};typeof window<`u`&&(zm=window.Element);var Bm=Qe({name:`VPopperWrapper`,components:{Popper:wm,PopperContent:Lm},mixins:[Rm,jm(`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,zm,Boolean],default:void 0},boundary:{type:[String,zm],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 Vm(e,t,n,i,a,o){let s=ue(`PopperContent`),c=ue(`Popper`);return d(),we(c,T({ref:`popper`},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||=()=>e.$emit(`show`),onHide:t[1]||=()=>e.$emit(`hide`),"onUpdate:shown":t[2]||=t=>e.$emit(`update:shown`,t),onApplyShow:t[3]||=()=>e.$emit(`apply-show`),onApplyHide:t[4]||=()=>e.$emit(`apply-hide`),onCloseGroup:t[5]||=()=>e.$emit(`close-group`),onCloseDirective:t[6]||=()=>e.$emit(`close-directive`),onAutoHide:t[7]||=()=>e.$emit(`auto-hide`),onResize:t[8]||=()=>e.$emit(`resize`)}),{default:de(({popperId:t,isShown:n,shouldMountContent:i,skipTransition:a,autoHide:o,show:c,hide:l,handleResize:u,onResize:d,classes:f,result:p})=>[r(e.$slots,`default`,{shown:n,show:c,hide:l}),ve(s,{ref:`popperContent`,"popper-id":t,theme:e.finalTheme,shown:n,mounted:i,"skip-transition":a,"auto-hide":o,"handle-resize":u,classes:f,result:p,onHide:l,onResize:d},{default:de(()=>[r(e.$slots,`popper`,{shown:n,hide:l})]),_: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`])}var Hm=Sm(Bm,[[`render`,Vm]]),Um={...Hm,name:`VDropdown`,vPopperTheme:`dropdown`},Wm={...Hm,name:`VMenu`,vPopperTheme:`menu`},Gm={...Hm,name:`VTooltip`,vPopperTheme:`tooltip`},Km=Qe({name:`VTooltipDirective`,components:{Popper:lm(),PopperContent:Lm},mixins:[Rm],inheritAttrs:!1,props:{theme:{type:String,default:`tooltip`},html:{type:Boolean,default:e=>qp(e.theme,`html`)},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>qp(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;let e=++this.$_fetchId,t=this.content(this);t.then?t.then(t=>this.onResult(e,t)):this.onResult(e,t)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),qm=[`innerHTML`],Jm=[`textContent`];function Ym(e,t,n,r,i,a){let o=ue(`PopperContent`),s=ue(`Popper`);return d(),we(s,T({ref:`popper`},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:de(({popperId:t,isShown:n,shouldMountContent:r,skipTransition:i,autoHide:a,hide:s,handleResize:c,onResize:l,classes:u,result:f})=>[ve(o,{ref:`popperContent`,class:je({"v-popper--tooltip-loading":e.loading}),"popper-id":t,theme:e.theme,shown:n,mounted:r,"skip-transition":i,"auto-hide":a,"handle-resize":c,classes:u,result:f,onHide:s,onResize:l},{default:de(()=>[e.html?(d(),Je(`div`,{key:0,innerHTML:e.finalContent},null,8,qm)):(d(),Je(`div`,{key:1,textContent:g(e.finalContent)},null,8,Jm))]),_: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`])}var Xm=Sm(Km,[[`render`,Ym]]),Zm=`v-popper--has-tooltip`;function Qm(e,t){let n=e.placement;if(!n&&t)for(let e of Qp)t[e]&&(n=e);return n||=qp(e.theme||`tooltip`,`placement`),n}function $m(e,t,n){let r,i=typeof t;return r=i===`string`?{content:t}:t&&i===`object`?t:{content:!1},r.placement=Qm(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}var eh,th,nh=0;function rh(){if(eh)return;th=Fe([]),eh=Ve({name:`VTooltipDirectiveApp`,setup(){return{directives:th}},render(){return this.directives.map(e=>Xe(Xm,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});let e=document.createElement(`div`);document.body.appendChild(e),eh.mount(e)}function ih(e,t,n){rh();let r=Fe($m(e,t,n)),i=Fe(!1),a={id:nh++,options:r,shown:i};return th.value.push(a),e.classList&&e.classList.add(Zm),e.$_popper={options:r,item:a,show(){i.value=!0},hide(){i.value=!1}}}function ah(e){if(e.$_popper){let t=th.value.indexOf(e.$_popper.item);t!==-1&&th.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Zm)}function oh(e,{value:t,modifiers:n}){let r=$m(e,t,n);if(!r.content||qp(r.theme||`tooltip`,`disabled`))ah(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=r):i=ih(e,t,n),typeof t.shown<`u`&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?i.show():i.hide())}}var sh={beforeMount:oh,updated:oh,beforeUnmount(e){ah(e)}};function ch(e){e.addEventListener(`mousedown`,uh),e.addEventListener(`click`,uh),e.addEventListener(`touchstart`,dh,Xp?{passive:!0}:!1)}function lh(e){e.removeEventListener(`mousedown`,uh),e.removeEventListener(`click`,uh),e.removeEventListener(`touchstart`,dh),e.removeEventListener(`touchend`,fh),e.removeEventListener(`touchcancel`,ph)}function uh(e){let t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function dh(e){if(e.changedTouches.length===1){let t=e.currentTarget;t.$_vclosepopover_touch=!0,t.$_vclosepopover_touchPoint=e.changedTouches[0],t.addEventListener(`touchend`,fh),t.addEventListener(`touchcancel`,ph)}}function fh(e){let t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){let n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function ph(e){let t=e.currentTarget;t.$_vclosepopover_touch=!1}var mh={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>`u`||t)&&ch(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>`u`||t?ch(e):lh(e))},beforeUnmount(e){lh(e)}};function hh(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Gp(Kp,t),e.directive(`tooltip`,sh),e.directive(`close-popper`,mh),e.component(`VTooltip`,Gm),e.component(`VDropdown`,Um),e.component(`VMenu`,Wm))}var gh={version:`5.2.2`,install:hh,options:Kp},_h=e=>{let t={};Object.entries(Object.assign({"/src/layouts/board-layout.vue":()=>oa(()=>import(`./board-layout-mk2Y30Yp.js`),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"/src/layouts/default.vue":()=>oa(()=>import(`./default-BNqFZJwJ.js`),__vite__mapDeps([8,1,2,3,4,5,6,7]),import.meta.url),"/src/layouts/headless.vue":()=>oa(()=>import(`./headless-BSf0YrvV.js`),__vite__mapDeps([9,1,2]),import.meta.url),"/src/layouts/index-layout.vue":()=>oa(()=>import(`./index-layout-Cg_FpvvD.js`),__vite__mapDeps([10,1,2,3,4,5,6,7]),import.meta.url)})).forEach(([e,n])=>{let r=e.replace(`/src/layouts/`,``).replace(`.vue`,``);t[r]=n});function n(e,r=!0){return e.map(e=>{if(e.children?.length>0&&(e.children=n(e.children,!1)),r){if(!e.component&&e.children?.find(e=>(e.path===``||e.path===`/`)&&e.meta?.isLayout))return e;if(e.meta?.layout!==!1)return{path:e.path,component:t[e.meta?.layout||`default`],children:e.path===`/`?[e]:[{...e,path:``}],meta:{isLayout:!0}}}return e.meta?.layout?{path:e.path,component:t[e.meta?.layout],children:[{...e,path:``}],meta:{isLayout:!0}}:e})}return n(e)};function vh(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?vh(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var yh=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function bh(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n instanceof Promise)return n.then(()=>bh(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function xh(e,t,n){if(e.length>0)return bh(e,t,0,yh(n))}function Sh(e,t,n){if(e.length>0){let r=yh(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function Ch(e,t){for(let n of[...e])n(t)}var wh=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=vh(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=vh(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(xh,e,t)}callHookParallel(e,...t){return this.callHookWith(Sh,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Ch(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&Ch(this._after,r)}):(this._after&&r&&Ch(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function Th(){return new wh}var Eh=new Set([`link`,`style`,`script`,`noscript`]),Dh=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),Oh=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),kh=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),Ah=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),jh=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),Mh=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),Nh=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),Ph=[`name`,`property`,`http-equiv`],Fh=new Set([`viewport`,`description`,`keywords`,`robots`]);function Ih(e){let t=e.split(`:`);return t.length?Nh.has(t[1]):!1}function Lh(e){let{props:t,tag:n}=e;if(Ah.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;if(n===`link`&&t.rel===`alternate`){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||``}`}if(t.charset)return`charset`;if(e.tag===`meta`){for(let r of Ph)if(t[r]!==void 0){let i=t[r],a=i&&typeof i==`string`&&i.includes(`:`),o=i&&Fh.has(i);return`${n}:${i}${!(a||o)&&e.key?`:key:${e.key}`:``}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n===`link`&&t.rel===`alternate`)return`alternate:${t.href||``}`;if(Dh.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function Rh(e){return e._h||e._d||e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(`,`)}`}function zh(e,t,n){typeof e==`function`&&(!n||n!==`titleTemplate`&&!(n[0]===`o`&&n[1]===`n`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>zh(e,t));if(r?.constructor===Object){let e={};for(let n of Object.keys(r))e[n]=zh(r[n],t,n);return e}return r}function Bh(e,t){let n=e===`style`?new Map:new Set;function r(t){if(t==null||t===void 0)return;let r=String(t).trim();if(r)if(e===`style`){let[e,...t]=r.split(`:`).map(e=>e?e.trim():``);e&&t.length&&n.set(e,t.join(`:`))}else r.split(` `).filter(Boolean).forEach(e=>n.add(e))}return typeof t==`string`?e===`style`?t.split(`;`).forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&typeof t==`object`&&Object.entries(t).forEach(([t,i])=>{i&&i!==`false`&&(e===`style`?n.set(String(t).trim(),String(i)):r(t))}),n}function Vh(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=Oh.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;return Object.entries(t).forEach(([r,i])=>{if(r===`__proto__`||r===`constructor`||r===`prototype`)return;if(i===null){e.props[r]=null;return}if(r===`class`||r===`style`){e.props[r]=Bh(r,i);return}if(jh.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof i==`object`){let n=t.type;if(t.type||(n=`application/json`),!n?.endsWith(`json`)&&n!==`speculationrules`)return;t.type=n,e.props.type=n,e[r]=JSON.stringify(i)}else e[r]=i;return}let a=r.startsWith(`data-`),o=n&&!a?r.toLowerCase():r,s=String(i),c=e.tag===`meta`&&o===`content`;s===`true`||s===``?e.props[o]=a||c?s:!0:!i&&a&&s===`false`?e.props[o]=`false`:i!==void 0&&(e.props[o]=i)}),e}function Hh(e,t){let n=Vh({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});return n.key&&Eh.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function Uh(e,t){if(!e)return[];typeof e==`function`&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return e=zh(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(t!==void 0)for(let n of Array.isArray(t)?t:[t])r.push(Hh(e,n))}),r.flat()}var Wh=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Gh={base:-10,title:10},Kh={critical:-8,high:-1,low:2},qh={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}},Jh=/@import/,Yh=e=>e===``||e===!0;function Xh(e,t){if(typeof t.tagPriority==`number`)return t.tagPriority;let n=100,r=Kh[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:qh;if(t.tag in Gh)n=Gh[t.tag];else if(t.tag===`meta`){let e=t.props[`http-equiv`]===`content-security-policy`?`content-security-policy`:t.props.charset?`charset`:t.props.name===`viewport`?`viewport`:null;e&&(n=qh.meta[e])}else if(t.tag===`link`&&t.props.rel)n=i.link[t.props.rel];else if(t.tag===`script`){let e=String(t.props.type);Yh(t.props.async)?n=i.script.async:t.props.src&&!Yh(t.props.defer)&&!Yh(t.props.async)&&e!==`module`&&!e.endsWith(`json`)||t.innerHTML&&!e.endsWith(`json`)?n=i.script.sync:(Yh(t.props.defer)&&t.props.src&&!Yh(t.props.async)||e===`module`)&&(n=i.script.defer)}else t.tag===`style`&&(n=t.innerHTML&&Jh.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function Zh(e,t){let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Qh(e={}){let t=Th();t.addHooks(e.hooks||{});let n=!e.document,r=new Map,i=new Map,a=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:e=>Zh(o,e),push(e,i){let s={...i||{}};delete s.head;let c=s._index??o._entryCount++,l={_i:c,input:e,options:s},u={_poll(e=!1){o.dirty=!0,!e&&a.add(c),t.callHook(`entries:updated`,o)},dispose(){r.delete(c)&&o.invalidate()},patch(e){(!s.mode||s.mode===`server`&&n||s.mode===`client`&&!n)&&(l.input=e,r.set(c,l),u._poll())}};return u.patch(e),u},async resolveTags(){let n={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook(`entries:resolve`,n);a.size;){let n=a.values().next().value;a.delete(n);let i=r.get(n);if(i){let n={tags:Uh(i.input,e.propResolvers||[]).map(e=>Object.assign(e,i.options)),entry:i};await t.callHook(`entries:normalize`,n),i._tags=n.tags.map((e,t)=>(e._w=Xh(o,e),e._p=(i._i<<10)+t,e._d=Lh(e),e._d||(e._h=Rh(e)),e))}}let i=!1;n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(Wh).reduce((e,t)=>{let n=t._d||t._h;if(!e.has(n))return e.set(n,t);let r=e.get(n);if((t?.tagDuplicateStrategy||(Mh.has(t.tag)?`merge`:null)||(t.key&&t.key===r.key?`merge`:null))===`merge`){let i={...r.props};Object.entries(t.props).forEach(([e,t])=>i[e]=e===`style`?new Map([...r.props.style||new Map,...t]):e===`class`?new Set([...r.props.class||new Set,...t]):t),e.set(n,{...t,props:i})}else t._p>>10==r._p>>10&&t.tag===`meta`&&Ih(n)?(e.set(n,Object.assign([...Array.isArray(r)?r:[r],t],t)),i=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(n,t);return e},n.tagMap);let s=n.tagMap.get(`title`),c=n.tagMap.get(`titleTemplate`);if(o._title=s?.textContent,c){let e=c?.textContent;if(o._titleTemplate=e,e){let t=typeof e==`function`?e(s?.textContent):e;typeof t==`string`&&!o.plugins.has(`template-params`)&&(t=t.replace(`%s`,s?.textContent||``)),s?t===null?n.tagMap.delete(`title`):n.tagMap.set(`title`,{...s,textContent:t}):(c.tag=`title`,c.textContent=t)}}n.tags=Array.from(n.tagMap.values()),i&&(n.tags=n.tags.flat().sort(Wh)),await t.callHook(`tags:beforeResolve`,n),await t.callHook(`tags:resolve`,n),await t.callHook(`tags:afterResolve`,n);let l=[];for(let e of n.tags){let{innerHTML:t,tag:n,props:r}=e;kh.has(n)&&(Object.keys(r).length===0&&!e.innerHTML&&!e.textContent||n===`meta`&&!r.content&&!r[`http-equiv`]&&!r.charset||(n===`script`&&t&&(String(r.type).endsWith(`json`)?e.innerHTML=(typeof t==`string`?t:JSON.stringify(t)).replace(/</g,`\\u003C`):typeof t==`string`&&(e.innerHTML=t.replace(RegExp(`</${n}`,`g`),`<\\/${n}`)),e._d=Lh(e)),l.push(e)))}return l},invalidate(){for(let e of r.values())a.add(e._i);o.dirty=!0,t.callHook(`entries:updated`,o)}};return(e?.plugins||[]).forEach(e=>Zh(o,e)),o.hooks.callHook(`init`,o),e.init?.forEach(e=>e&&o.push(e)),o}async function $h(e,t={}){let n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;let r={shouldRender:!0,tags:[]};if(await e.hooks.callHook(`dom:beforeRender`,r),r.shouldRender)return e._domUpdatePromise||=new Promise(async t=>{let r=new Map,i=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{let t=r.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||e._h,shouldRender:!0};return e._d&&Ih(e._d)&&r.set(e._d,t+1),n}))})}),a=e._dom;if(!a){a={title:n.title,elMap:new Map().set(`htmlAttrs`,n.documentElement).set(`bodyAttrs`,n.body)};for(let e of[`body`,`head`]){let t=n[e]?.children;for(let e of t){let t=e.tagName.toLowerCase();if(!Oh.has(t))continue;let n=Vh({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,n)=>(t[n]=e.getAttribute(n),t),{})||{}});if(n.key=e.getAttribute(`data-hid`)||void 0,n._d=Lh(n)||Rh(n),a.elMap.has(n._d)){let t=1,r=n._d;for(;a.elMap.has(r);)r=`${n._d}:${t++}`;a.elMap.set(r,e)}else a.elMap.set(n._d,e)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function o(e,t,n){let r=`${e}:${t}`;a.sideEffects[r]=n,delete a.pendingSideEffects[r]}function s({id:e,$el:t,tag:r}){let i=r.tag.endsWith(`Attrs`);a.elMap.set(e,t),i||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),o(e,`el`,()=>{t?.remove(),a.elMap.delete(e)}));for(let a in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,a))continue;let s=r.props[a];if(a.startsWith(`on`)&&typeof s==`function`){let e=t?.dataset;if(e&&e[`${a}fired`]){let e=a.slice(0,-5);s.call(t,new Event(e.substring(2)))}t.getAttribute(`data-${a}`)!==``&&((r.tag===`bodyAttrs`?n.defaultView:t).addEventListener(a.substring(2),s.bind(t)),t.setAttribute(`data-${a}`,``));continue}let c=`attr:${a}`;if(a===`class`){if(!s)continue;for(let n of s)i&&o(e,`${c}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if(a===`style`){if(!s)continue;for(let[n,r]of s)o(e,`${c}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,r)}else s!==!1&&s!==null&&(t.getAttribute(a)!==s&&t.setAttribute(a,s===!0?``:String(s)),i&&o(e,c,()=>t.removeAttribute(a)))}}let c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await i;for(let e of u){let{tag:t,shouldRender:r,id:i}=e;if(r){if(t.tag===`title`){n.title=t.textContent,o(`title`,``,()=>n.title=a.title);continue}e.$el=e.$el||a.elMap.get(i),e.$el?s(e):Oh.has(t.tag)&&c.push(e)}}for(let e of c){let t=e.tag.tagPosition||`head`;e.$el=n.createElement(e.tag.tag),s(e),l[t]=l[t]||n.createDocumentFragment(),l[t].appendChild(e.$el)}for(let t of u)await e.hooks.callHook(`dom:renderTag`,t,n,o);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(let e in a.pendingSideEffects)a.pendingSideEffects[e]();e._dom=a,await e.hooks.callHook(`dom:rendered`,{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1}),e._domUpdatePromise}function eg(e={}){let t=e.domOptions?.render||$h;e.document=e.document||(typeof window<`u`?document:void 0);let n=e.document?.head.querySelector(`script[id="unhead:payload"]`)?.innerHTML||!1;return Qh({...e,plugins:[...e.plugins||[],{key:`client`,hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function tg(e,t){let n=0;return()=>{let r=++n;t(()=>{n===r&&e()})}}var ng=`usehead`;function rg(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(ng,e)}}.install}function ig(e={}){let t=eg({domOptions:{render:tg(()=>$h(t),e=>setTimeout(e,0))},...e});return t.install=rg(t),t}l();var ag=typeof document<`u`;function og(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function sg(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&og(e.default)}var $=Object.assign;function cg(e,t){let n={};for(let r in t){let i=t[r];n[r]=ug(i)?i.map(e):e(i)}return n}var lg=()=>{},ug=Array.isArray;function dg(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var fg=Symbol(``);function pg(e,t){return $(Error(),{type:e,[fg]:!0},t)}function mg(e,t){return e instanceof Error&&fg in e&&(t==null||!!(e.type&t))}var hg=Symbol(``),gg=Symbol(``),_g=Symbol(``),vg=Symbol(``),yg=Symbol(``);function bg(){return s(_g)}function xg(e){return s(vg)}var Sg=/#/g,Cg=/&/g,wg=/\//g,Tg=/=/g,Eg=/\?/g,Dg=/\+/g,Og=/%5B/g,kg=/%5D/g,Ag=/%5E/g,jg=/%60/g,Mg=/%7B/g,Ng=/%7C/g,Pg=/%7D/g,Fg=/%20/g;function Ig(e){return e==null?``:encodeURI(``+e).replace(Ng,`|`).replace(Og,`[`).replace(kg,`]`)}function Lg(e){return Ig(e).replace(Mg,`{`).replace(Pg,`}`).replace(Ag,`^`)}function Rg(e){return Ig(e).replace(Dg,`%2B`).replace(Fg,`+`).replace(Sg,`%23`).replace(Cg,`%26`).replace(jg,"`").replace(Mg,`{`).replace(Pg,`}`).replace(Ag,`^`)}function zg(e){return Rg(e).replace(Tg,`%3D`)}function Bg(e){return Ig(e).replace(Sg,`%23`).replace(Eg,`%3F`)}function Vg(e){return Bg(e).replace(wg,`%2F`)}function Hg(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var Ug=/\/$/,Wg=e=>e.replace(Ug,``);function Gg(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=$g(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:Hg(o)}}function Kg(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function qg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Jg(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Yg(t.matched[r],n.matched[i])&&Xg(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Yg(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Xg(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Zg(e[n],t[n]))return!1;return!0}function Zg(e,t){return ug(e)?Qg(e,t):ug(t)?Qg(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Qg(e,t){return ug(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function $g(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var e_={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0};function t_(e){if(!e)if(ag){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Wg(e)}var n_=/^[^#]+#/;function r_(e,t){return e.replace(n_,`#`)+t}function i_(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var a_=()=>({left:window.scrollX,top:window.scrollY});function o_(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=i_(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function s_(e,t){return(history.state?history.state.position-t:-1)+e}var c_=new Map;function l_(e,t){c_.set(e,t)}function u_(e){let t=c_.get(e);return c_.delete(e),t}function d_(e){return typeof e==`string`||e&&typeof e==`object`}function f_(e){return typeof e==`string`||typeof e==`symbol`}function p_(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(Dg,` `),i=r.indexOf(`=`),a=Hg(i<0?r:r.slice(0,i)),o=i<0?null:Hg(r.slice(i+1));if(a in t){let e=t[a];ug(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function m_(e){let t=``;for(let n in e){let r=e[n];if(n=zg(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(ug(r)?r.map(e=>e&&Rg(e)):[r&&Rg(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function h_(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=ug(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function g_(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function __(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(pg(4,{from:n,to:t})):e instanceof Error?c(e):d_(e)?c(pg(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function v_(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(og(s)){let c=(s.__vccOpts||s)[t];c&&a.push(__(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=sg(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&__(c,n,r,o,e,i)()}))}}return a}function y_(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>Yg(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>Yg(e,s))||i.push(s))}return[n,r,i]}l(),fe();var b_=()=>location.protocol+`//`+location.host;function x_(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),qg(n,``)}return qg(n,e)+r+i}function S_(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=x_(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState($({},e.state,{scroll:a_()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function C_(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?a_():null}}function w_(e){let{history:t,location:n}=window,r={value:x_(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:b_()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,$({},t.state,C_(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=$({},i.value,t.state,{forward:e,scroll:a_()});a(o.current,o,!0),a(e,$({},C_(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function T_(e){e=t_(e);let t=w_(e),n=S_(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=$({location:``,base:e,go:r,createHref:r_.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var E_={type:0,value:``},D_=/[a-zA-Z0-9_]/;function O_(e){if(!e)return[[]];if(e===`/`)return[[E_]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:D_.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var k_=`[^/]+?`,A_={sensitive:!1,strict:!1,start:!0,end:!0},j_=/[.+*?^${}()[\]/\\]/g;function M_(e,t){let n=$({},A_,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(j_,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||k_;if(u!==k_){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(ug(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=ug(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function N_(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;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 P_(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=N_(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(F_(r))return 1;if(F_(i))return-1}return i.length-r.length}function F_(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var I_={strict:!1,end:!0,sensitive:!1};function L_(e,t,n){let r=$(M_(O_(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function R_(e,t){let n=[],r=new Map;t=dg(I_,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=B_(e);s.aliasOf=r&&r.record;let l=dg(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(B_($({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=L_(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!H_(d)&&o(e.name)),K_(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:lg}function o(e){if(f_(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=W_(e,n);n.splice(t,0,e),e.record.name&&!H_(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw pg(1,{location:e});s=i.record.name,a=$(z_(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&z_(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw pg(1,{location:e,currentLocation:t});s=i.record.name,a=$({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:U_(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function z_(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function B_(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:V_(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 V_(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function H_(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function U_(e){return e.reduce((e,t)=>$(e,t.meta),{})}function W_(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;P_(e,t[i])<0?r=i:n=i+1}let i=G_(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function G_(e){let t=e;for(;t=t.parent;)if(K_(t)&&P_(e,t)===0)return t}function K_({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function q_(e){let t=s(_g),n=s(vg),r=A(()=>{let n=qe(e.to);return t.resolve(n)}),i=A(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(Yg.bind(null,i));if(o>-1)return o;let s=Q_(e[t-2]);return t>1&&Q_(i)===s&&a[a.length-1].path!==s?a.findIndex(Yg.bind(null,e[t-2])):o}),a=A(()=>i.value>-1&&Z_(n.params,r.value.params)),o=A(()=>i.value>-1&&i.value===n.matched.length-1&&Xg(n.params,r.value.params));function c(n={}){if(X_(n)){let n=t[qe(e.replace)?`replace`:`push`](qe(e.to)).catch(lg);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:A(()=>r.value.href),isActive:a,isExactActive:o,navigate:c}}function J_(e){return e.length===1?e[0]:e}var Y_=Qe({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:q_,setup(e,{slots:t}){let n=xe(q_(e)),{options:r}=s(_g),i=A(()=>({[$_(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[$_(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&J_(t.default(n));return e.custom?r:Xe(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function X_(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){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Z_(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!ug(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Q_(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var $_=(e,t,n)=>e??t??n,ev=Qe({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=s(yg),i=A(()=>e.route||r.value),a=s(gg,0),o=A(()=>{let e=qe(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),c=A(()=>i.value.matched[o.value]);y(gg,A(()=>o.value+1)),y(hg,c),y(yg,i);let l=Fe();return p(()=>[l.value,c.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!Yg(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=c.value,s=o&&o.components[a];if(!s)return tv(n.default,{Component:s,route:r});let u=o.props[a],d=Xe(s,$({},u?u===!0?r.params:typeof u==`function`?u(r):u:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:l}));return tv(n.default,{Component:d,route:r})||d}}});function tv(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var nv=ev;function rv(e){let t=R_(e.routes,e),n=e.parseQuery||p_,r=e.stringifyQuery||m_,i=e.history,a=g_(),o=g_(),s=g_(),c=O(e_),l=e_;ag&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=cg.bind(null,e=>``+e),d=cg.bind(null,Vg),f=cg.bind(null,Hg);function p(e,n){let r,i;return f_(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=$({},a||c.value),typeof e==`string`){let r=Gg(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return $(r,o,{params:f(o.params),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=$({},e,{path:Gg(n,e.path,a.path).path});else{let t=$({},e.params);for(let e in t)t[e]??delete t[e];o=$({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=Kg(r,$({},e,{hash:Lg(l),path:s.path})),m=i.createHref(p);return $({fullPath:p,hash:l,query:r===m_?h_(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?Gg(n,e,c.value.path):$({},e)}function y(e,t){if(l!==e)return pg(8,{from:t,to:e})}function b(e){return C(e)}function x(e){return b($(v(e),{replace:!0}))}function S(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=v(i):{path:i},i.params={}),$({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function C(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=S(n,i);if(u)return C($(v(u),{state:typeof u==`object`?$({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Jg(r,i,n)&&(f=pg(16,{to:d,from:i}),le(i,i,!0,!1)),(f?Promise.resolve(f):E(d,i)).catch(e=>mg(e)?mg(e,2)?e:ce(e):oe(e,d,i)).then(e=>{if(e){if(mg(e,2))return C($({replace:s},v(e.to),{state:typeof e.to==`object`?$({},a,e.to.state):a,force:o}),t||d)}else e=D(d,i,!0,s,a);return ee(d,i,e),e})}function w(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function T(e){let t=fe.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function E(e,t){let n,[r,i,s]=y_(e,t);n=v_(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(__(r,e,t))});let c=w.bind(null,e,t);return n.push(c),me(n).then(()=>{n=[];for(let r of a.list())n.push(__(r,e,t));return n.push(c),me(n)}).then(()=>{n=v_(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(__(r,e,t))});return n.push(c),me(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(ug(r.beforeEnter))for(let i of r.beforeEnter)n.push(__(i,e,t));else n.push(__(r.beforeEnter,e,t));return n.push(c),me(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=v_(s,`beforeRouteEnter`,e,t,T),n.push(c),me(n))).then(()=>{n=[];for(let r of o.list())n.push(__(r,e,t));return n.push(c),me(n)}).catch(e=>mg(e,8)?e:Promise.reject(e))}function ee(e,t,n){s.list().forEach(r=>T(()=>r(e,t,n)))}function D(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===e_,l=ag?history.state:{};n&&(r||s?i.replace(e.fullPath,$({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,le(e,t,n,s),ce()}let te;function ne(){te||=i.listen((e,t,n)=>{if(!pe.listening)return;let r=_(e),a=S(r,pe.currentRoute.value);if(a){C($(a,{replace:!0,force:!0}),r).catch(lg);return}l=r;let o=c.value;ag&&l_(s_(o.fullPath,n.delta),a_()),E(r,o).catch(e=>mg(e,12)?e:mg(e,2)?(C($(v(e.to),{force:!0}),r).then(e=>{mg(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(lg),Promise.reject()):(n.delta&&i.go(-n.delta,!1),oe(e,r,o))).then(e=>{e||=D(r,o,!1),e&&(n.delta&&!mg(e,8)?i.go(-n.delta,!1):n.type===`pop`&&mg(e,20)&&i.go(-1,!1)),ee(r,o,e)}).catch(lg)})}let re=g_(),ie=g_(),ae;function oe(e,t,n){ce(e);let r=ie.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function se(){return ae&&c.value!==e_?Promise.resolve():new Promise((e,t)=>{re.add([e,t])})}function ce(e){return ae||(ae=!e,ne(),re.list().forEach(([t,n])=>e?n(e):t()),re.reset()),e}function le(t,n,r,i){let{scrollBehavior:a}=e;if(!ag||!a)return Promise.resolve();let o=!r&&u_(s_(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return Me().then(()=>a(t,n,o)).then(e=>e&&o_(e)).catch(e=>oe(e,t,n))}let ue=e=>i.go(e),de,fe=new Set,pe={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:x,go:ue,back:()=>ue(-1),forward:()=>ue(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:ie.add,isReady:se,install(e){e.component(`RouterLink`,Y_),e.component(`RouterView`,nv),e.config.globalProperties.$router=pe,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>qe(c)}),ag&&!de&&c.value===e_&&(de=!0,b(i.location).catch(e=>{}));let t={};for(let e in e_)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(_g,pe),e.provide(vg,He(t)),e.provide(yg,c);let n=e.unmount;fe.add(e),e.unmount=function(){fe.delete(e),fe.size<1&&(l=e_,te&&te(),te=null,c.value=e_,de=!1,ae=!1),n()}}};function me(e){return e.reduce((e,t)=>e.then(()=>T(t)),Promise.resolve())}return pe}l(),fe();function iv(e){return document.readyState===`loading`?new Promise(t=>{document.addEventListener(`DOMContentLoaded`,()=>t(e))}):Promise.resolve(e)}var av=Qe({setup(e,{slots:t}){let n=Fe(!1);return C(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function ov(e){try{return JSON.parse(e||`{}`)}catch(t){return console.error(`[SSG] On state deserialization -`,t,e),{}}}_e();function sv(e,t,n,r){let{transformState:i,registerComponents:a=!0,useHead:o=!0,rootContainer:s=`#app`}=r??{};async function c(s){let c=r?.hydration?Oe(e):Ve(e),l;o&&c.use(l=ig());let u=rv({history:T_(t.base),...t}),{routes:d}=t;a&&c.component(`ClientOnly`,av);let f=[],p={app:c,head:l,isClient:!0,router:u,routes:d,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(f.map(e=>e())),initialState:{},transformState:i,routePath:s};await iv(),p.initialState=i?.(window.__INITIAL_STATE__||{})||ov(window.__INITIAL_STATE__),await n?.(p),c.use(u);let m,h=!0;u.beforeEach((e,t,n)=>{(h||m&&m===e.path)&&(h=!1,m=e.path,e.meta.state=p.initialState),n()});let g=p.initialState;return{...p,initialState:g}}return(async()=>{let{app:e,router:t}=await c();await t.isReady(),e.mount(s,!0)})(),c}var cv=[{path:`/`,name:`/`,component:()=>oa(()=>import(`./pages-kJjvENga.js`),__vite__mapDeps([11,1,2,12,4,5,13,14,15,16,17,6,18]),import.meta.url),meta:{layout:`index-layout`}},{path:`/:all(.*)`,name:`/[...all]`,component:()=>oa(()=>import(`./_...all_-Chjz45WV.js`),__vite__mapDeps([19,2,12,20,1,4,5,21,13,14,22,23,24,15,16,6,25,26,27,28,29,30]),import.meta.url),meta:{layout:`board-layout`}},{path:`/balloon`,children:[{path:``,name:`/balloon/`,component:()=>oa(()=>import(`./balloon-BlTynoB_.js`),__vite__mapDeps([31,1,2,12,13,14,28,21,23,24,6,32]),import.meta.url),meta:{layout:`headless`}}]},{path:`/board`,children:[{path:``,name:`/board/`,component:()=>oa(()=>import(`./board-A69GsfUB.js`),__vite__mapDeps([33,1,2,12,20,4,5,21,13,14,22,23,24,15,16,6,25,32]),import.meta.url),meta:{layout:`board-layout`}}]},{path:`/countdown`,children:[{path:``,name:`/countdown/`,component:()=>oa(()=>import(`./countdown-DQRGLfdE.js`),__vite__mapDeps([34,1,2,12,13,14,29,21,6,30,32]),import.meta.url),meta:{layout:`headless`}}]},{path:`/rating`,children:[{path:``,name:`/rating/`,component:()=>oa(()=>import(`./rating-B3sXjXNN.js`),__vite__mapDeps([35,1,2,12,4,5,17,6,36]),import.meta.url),meta:{layout:`index-layout`}},{path:`:all(.*)`,name:`/rating/[...all]`,component:()=>oa(()=>import(`./_...all_-TFChZhkr.js`),__vite__mapDeps([37,2,4,5,14,22,6,24,38]),import.meta.url)}]},{path:`/resolver`,children:[{path:``,name:`/resolver/`,component:()=>oa(()=>import(`./resolver-Db22e0q8.js`),__vite__mapDeps([39,1,2,12,26,21,13,14,23,24,6,27,32]),import.meta.url),meta:{layout:`headless`}}]}];function lv(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>lv(e,t));if(r?.constructor===Object){let e={};for(let n in r)n===`__proto__`||n===`constructor`||n===`prototype`||(e[n]=lv(r[n],t,n));return e}return r}var uv=`usehead`;fe();var dv=(e,t)=>me(t)?k(t):t;l(),fe();function fv(){if(oe()){let e=s(uv);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function pv(e,t={}){let n=t.head||fv();return n.ssr?n.push(e||{},t):mv(n,e,t)}function mv(e,n,r={}){let i=Fe(!1);if(r.onRendered){let e=pe();if(e){let t=r.onRendered;r={...r,onRendered:n=>e.run(()=>t(n))}}}let a;return ce(()=>{let t=i.value?{}:lv(n,dv);a?a.patch(t):a=e.push(t,r)}),ie()&&(Ae(()=>{a.dispose()}),x(()=>{i.value=!0}),t(()=>{i.value=!1})),a}l(),fe();function hv(t,n){return pe()?(e(t,n),!0):!1}function gv(){let e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);let r=()=>t(n);return hv(r),{off:r}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t))),clear:()=>{e.clear()}}}var _v=new WeakMap,vv=(...e)=>{let t=e[0],n=ie()?.proxy??pe();if(n==null&&!oe())throw Error(`injectLocal must be called in setup`);return n&&_v.has(n)&&t in _v.get(n)?_v.get(n)[t]:s(...e)},yv=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var bv=e=>e!==void 0,xv=e=>e!=null,Sv=Object.prototype.toString,Cv=e=>Sv.call(e)===`[object Object]`,wv=()=>{};function Tv(...e){if(e.length!==1)return Ue(...e);let t=e[0];return typeof t==`function`?Ge(Be(()=>({get:t,set:wv}))):Fe(t)}function Ev(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var Dv=e=>e();function Ov(e,t={}){let n,r,i=wv,a=e=>{clearTimeout(e),i(),i=wv},o;return s=>{let c=k(e),l=k(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function kv(...e){let t=0,n,r=!0,i=wv,a,o,s,c,l;!me(e[0])&&typeof e[0]==`object`?{delay:o,trailing:s=!0,leading:c=!0,rejectOnCancel:l=!1}=e[0]:[o,s=!0,c=!0,l=!1]=e;let u=()=>{n&&(clearTimeout(n),n=void 0,i(),i=wv)};return e=>{let d=k(o),f=Date.now()-t,p=()=>a=e();return u(),d<=0?(t=Date.now(),p()):(f>d?(t=Date.now(),(c||!r)&&p()):s&&(a=new Promise((e,a)=>{i=l?a:e,n=setTimeout(()=>{t=Date.now(),r=!0,e(p()),u()},Math.max(0,d-f))})),!c&&!n&&(n=setTimeout(()=>r=!0,d)),r=!1,a)}}function Av(e=Dv,t={}){let{initialState:n=`active`}=t,r=Tv(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:ke(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function jv(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(i,e,n):setTimeout(r,e)})}function Mv(e){let t;function n(){return t||=e(),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function Nv(e,...t){return t.some(t=>t in e)}function Pv(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function Fv(e){return Array.isArray(e)?e:[e]}function Iv(e){return e||ie()}function Lv(e,t=200,n={}){return Ev(Ov(t,n),e)}function Rv(e,t=200,n=!1,r=!0,i=!1){return Ev(kv(t,n,r,i),e)}function zv(e,t,n={}){let{eventFilter:r=Dv,...i}=n;return p(e,Ev(r,t),i)}function Bv(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=Av(r,{initialState:i});return{stop:zv(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function Vv(e,t=!0,n){Iv(n)?C(e,n):t?e():Me(e)}function Hv(e,t=!1){function n(n,{flush:r=`sync`,deep:i=!1,timeout:a,throwOnTimeout:o}={}){let s=null,c=[new Promise(a=>{s=p(e,e=>{n(e)!==t&&(s?s():Me(()=>s?.()),a(e))},{flush:r,deep:i,immediate:!0})})];return a!=null&&c.push(jv(a,o).then(()=>k(e)).finally(()=>s?.())),Promise.race(c)}function r(r,i){if(!me(r))return n(e=>e===r,i);let{flush:a=`sync`,deep:o=!1,timeout:s,throwOnTimeout:c}=i??{},l=null,u=[new Promise(n=>{l=p([e,r],([e,r])=>{t!==(e===r)&&(l?l():Me(()=>l?.()),n(e))},{flush:a,deep:o,immediate:!0})})];return s!=null&&u.push(jv(s,c).then(()=>k(e)).finally(()=>(l?.(),k(e)))),Promise.race(u)}function i(e){return n(e=>!!e,e)}function a(e){return r(null,e)}function o(e){return r(void 0,e)}function s(e){return n(Number.isNaN,e)}function c(e,t){return n(t=>{let n=Array.from(t);return n.includes(e)||n.includes(k(e))},t)}function l(e){return u(1,e)}function u(e=1,t){let r=-1;return n(()=>(r+=1,r>=e),t)}return Array.isArray(k(e))?{toMatch:n,toContains:c,changed:l,changedTimes:u,get not(){return Hv(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:i,toBeNull:a,toBeNaN:s,toBeUndefined:o,changed:l,changedTimes:u,get not(){return Hv(e,!t)}}}function Uv(e){return Hv(e)}function Wv(e,t=1e3,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=null,o=O(!1);function s(){a&&=(clearInterval(a),null)}function c(){o.value=!1,s()}function l(){let n=k(t);n<=0||(o.value=!0,i&&e(),s(),o.value&&(a=setInterval(e,n)))}return r&&yv&&l(),(me(t)||typeof t==`function`)&&hv(p(t,()=>{o.value&&yv&&l()})),hv(c),{isActive:ke(o),pause:c,resume:l}}function Gv(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=O(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},k(t))}return r&&(a.value=!0,yv&&l()),hv(c),{isPending:ke(a),start:l,stop:c}}function Kv(e=!1,t={}){let{truthyValue:n=!0,falsyValue:r=!1}=t,i=me(e),a=O(e);function o(e){if(arguments.length)return a.value=e,a.value;{let e=k(n);return a.value=a.value===e?k(r):e,a.value}}return i?o:[a,o]}function qv(e,t,n){return p(e,t,{...n,immediate:!0})}function Jv(e,t,n){return p(e,t,{...n,once:!0})}l(),_e(),fe();var Yv=yv?window:void 0,Xv=yv?window.document:void 0,Zv=yv?window.navigator:void 0;yv&&window.location;function Qv(e){let t=k(e);return t?.$el??t}function $v(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=A(()=>{let t=Fv(k(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return qv(()=>[n.value?.map(e=>Qv(e))??[Yv].filter(e=>e!=null),Fv(k(n.value?e[1]:e[0])),Fv(qe(n.value?e[2]:e[1])),k(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=Cv(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function ey(){let e=O(!1),t=ie();return t&&C(()=>{e.value=!0},t),e}function ty(e){let t=ey();return A(()=>(t.value,!!e()))}function ny(e,t,n={}){let{window:r=Yv,...i}=n,a,o=ty(()=>r&&`MutationObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=p(A(()=>{let t=Fv(k(e)).map(Qv).filter(xv);return new Set(t)}),e=>{s(),o.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,i)))},{immediate:!0,flush:`post`}),l=()=>a?.takeRecords(),u=()=>{c(),s()};return hv(u),{isSupported:o,stop:u,takeRecords:l}}function ry(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function iy(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=Yv,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=ry(t);return $v(i,a,e=>{e.repeat&&k(s)||c(e)&&n(e)},o)}function ay(e,t,n={}){return iy(e,t,{...n,eventName:`keyup`})}function oy(e,t={}){let{immediate:n=!0,fpsLimit:r=null,window:i=Yv,once:a=!1}=t,o=O(!1),s=A(()=>{let e=k(r);return e?1e3/e:null}),c=0,l=null;function u(t){if(!o.value||!i)return;c||=t;let n=t-c;if(s.value&&n<s.value){l=i.requestAnimationFrame(u);return}if(c=t,e({delta:n,timestamp:t}),a){o.value=!1,l=null;return}l=i.requestAnimationFrame(u)}function d(){!o.value&&i&&(o.value=!0,c=0,l=i.requestAnimationFrame(u))}function f(){o.value=!1,l!=null&&i&&(i.cancelAnimationFrame(l),l=null)}return n&&d(),hv(f),{isActive:ke(o),pause:f,resume:d}}var sy=Symbol(`vueuse-ssr-width`);function cy(){let e=oe()?vv(sy,null):null;return typeof e==`number`?e:void 0}function ly(e,t={}){let{window:n=Yv,ssrWidth:r=cy()}=t,i=ty(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),a=O(typeof r==`number`),o=O(),s=O(!1);return ce(()=>{if(a.value){a.value=!i.value,s.value=k(e).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||i);return n&&a&&(a=r>=Pv(n[1])),i&&a&&(a=r<=Pv(i[1])),t?!a:a});return}i.value&&(o.value=n.matchMedia(k(e)),s.value=o.value.matches)}),$v(o,`change`,e=>{s.value=e.matches},{passive:!0}),A(()=>s.value)}function uy(e,t={}){let{controls:n=!1,navigator:r=Zv}=t,i=ty(()=>r&&`permissions`in r),a=O(),o=typeof e==`string`?{name:e}:e,s=O(),c=()=>{s.value=a.value?.state??`prompt`};$v(a,`change`,c,{passive:!0});let l=Mv(async()=>{if(i.value){if(!a.value)try{a.value=await r.permissions.query(o)}catch{a.value=void 0}finally{c()}if(n)return Le(a.value)}});return l(),n?{state:s,isSupported:i,query:l}:s}function dy(e={}){let{navigator:t=Zv,read:n=!1,source:r,copiedDuring:i=1500,legacy:a=!1}=e,o=ty(()=>t&&`clipboard`in t),s=uy(`clipboard-read`),c=uy(`clipboard-write`),l=A(()=>o.value||a),u=O(``),d=O(!1),f=O(!1),p=Gv(()=>d.value=!1,i,{immediate:!1}),m=0;async function h(){let e=!(o.value&&b(s.value));if(!e)try{u.value=await t.clipboard.readText()}catch{e=!0}e&&(u.value=y())}l.value&&n&&$v([`copy`,`cut`],h,{passive:!0});async function g(e){let n=e??k(r);if(l.value&&n!=null){f.value=!0;let e=!(o.value&&b(c.value));if(!e)try{let e=_(n);await t.clipboard.write([e])}catch{e=!0}if(e)if(typeof n==`string`)u.value=n,v(n);else{let e=++m,t=await n();t!=null&&e===m&&(u.value=t,v(t))}d.value=!0,p.start(),f.value=!1}}function _(e){return typeof e==`string`?(u.value=e,new ClipboardItem({"text/plain":e})):new ClipboardItem({"text/plain":e().then((e=``)=>(u.value=e,new Blob([e],{type:`text/plain`})))})}function v(e){let t=document.createElement(`textarea`);t.value=e,t.style.position=`absolute`,t.style.opacity=`0`,t.setAttribute(`readonly`,``),document.body.appendChild(t),t.select(),document.execCommand(`copy`),t.remove()}function y(){var e,t;return((e=document)==null||(t=e.getSelection)==null||(t=t.call(e))==null?void 0:t.toString())??``}function b(e){return e===`granted`||e===`prompt`}return{copyPending:ke(f),isSupported:l,text:ke(u),copied:ke(d),copy:g}}function fy(e){return JSON.parse(JSON.stringify(e))}var py=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},my=`__vueuse_ssr_handlers__`,hy=gy();function gy(){return my in py||(py[my]=py[my]||{}),py[my]}function _y(e,t){return hy[e]||t}function vy(e){return ly(`(prefers-color-scheme: dark)`,e)}function yy(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`}var by={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()}},xy=`vueuse-storage`;function Sy(e,t,n,r={}){let{flush:i=`pre`,deep:a=!0,listenToStorageChanges:o=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:l,window:u=Yv,eventFilter:d,onError:f=e=>{console.error(e)},initOnMounted:m}=r,h=(l?O:Fe)(typeof t==`function`?t():t),g=A(()=>k(e));if(!n)try{n=_y(`getDefaultStorage`,()=>Yv?.localStorage)()}catch(e){f(e)}if(!n)return h;let _=k(t),v=yy(_),y=r.serializer??by[v],{pause:b,resume:x}=Bv(h,e=>w(e),{flush:i,deep:a,eventFilter:d});p(g,()=>E(),{flush:i});let S=!1;u&&o&&(n instanceof Storage?$v(u,`storage`,e=>{m&&!S||E(e)},{passive:!0}):$v(u,xy,e=>{m&&!S||ee(e)})),m?Vv(()=>{S=!0,E()}):E();function C(e,t){if(u){let r={key:g.value,oldValue:e,newValue:t,storageArea:n};u.dispatchEvent(n instanceof Storage?new StorageEvent(`storage`,r):new CustomEvent(xy,{detail:r}))}}function w(e){try{let t=n.getItem(g.value);if(e==null)C(t,null),n.removeItem(g.value);else{let r=y.write(e);t!==r&&(n.setItem(g.value,r),C(t,r))}}catch(e){f(e)}}function T(e){let t=e?e.newValue:n.getItem(g.value);if(t==null)return s&&_!=null&&n.setItem(g.value,y.write(_)),_;if(!e&&c){let e=y.read(t);return typeof c==`function`?c(e,_):v===`object`&&!Array.isArray(e)?{..._,...e}:e}else if(typeof t!=`string`)return t;else return y.read(t)}function E(e){if(!(e&&e.storageArea!==n)){if(e&&e.key==null){h.value=_;return}if(!(e&&e.key!==g.value)){b();try{let t=y.write(h.value);(e===void 0||e?.newValue!==t)&&(h.value=T(e))}catch(e){f(e)}finally{e?Me(x):x()}}}}function ee(e){E(e.detail)}return h}var Cy=`*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function wy(e={}){let{selector:t=`html`,attribute:n=`class`,initialValue:r=`auto`,window:i=Yv,storage:a,storageKey:o=`vueuse-color-scheme`,listenToStorageChanges:s=!0,storageRef:c,emitAuto:l,disableTransition:u=!0}=e,d={auto:``,light:`light`,dark:`dark`,...e.modes||{}},f=vy({window:i}),m=A(()=>f.value?`dark`:`light`),h=c||(o==null?Tv(r):Sy(o,r,a,{window:i,listenToStorageChanges:s})),g=A(()=>h.value===`auto`?m.value:h.value),_=_y(`updateHTMLAttrs`,(e,t,n)=>{let r=typeof e==`string`?i?.document.querySelector(e):Qv(e);if(!r)return;let a=new Set,o=new Set,s=null;if(t===`class`){let e=n.split(/\s/g);Object.values(d).flatMap(e=>(e||``).split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?a.add(t):o.add(t)})}else s={key:t,value:n};if(a.size===0&&o.size===0&&s===null)return;let c;u&&(c=i.document.createElement(`style`),c.appendChild(document.createTextNode(Cy)),i.document.head.appendChild(c));for(let e of a)r.classList.add(e);for(let e of o)r.classList.remove(e);s&&r.setAttribute(s.key,s.value),u&&(i.getComputedStyle(c).opacity,document.head.removeChild(c))});function v(e){_(t,n,d[e]??e)}function y(t){e.onChanged?e.onChanged(t,v):v(t)}p(g,y,{flush:`post`,immediate:!0}),Vv(()=>y(g.value));let b=A({get(){return l?h.value:g.value},set(e){h.value=e}});return Object.assign(b,{store:h,system:m,state:g})}function Ty(e={}){let{valueDark:t=`dark`,valueLight:n=``}=e,r=wy({...e,onChanged:(t,n)=>{var r;e.onChanged?(r=e.onChanged)==null||r.call(e,t===`dark`,n,t):n(t)},modes:{dark:t,light:n}}),i=A(()=>r.system.value);return A({get(){return r.value===`dark`},set(e){let t=e?`dark`:`light`;i.value===t?r.value=`auto`:r.value=t}})}function Ey(e={}){let{document:t=Xv}=e;if(!t)return O(`visible`);let n=O(t.visibilityState);return $v(t,`visibilitychange`,()=>{n.value=t.visibilityState},{passive:!0}),n}function Dy(e,t,n={}){let{root:r,rootMargin:i,threshold:a=0,window:o=Yv,immediate:s=!0}=n,c=ty(()=>o&&`IntersectionObserver`in o),l=A(()=>Fv(k(e)).map(Qv).filter(xv)),u=wv,d=O(s),f=c.value?p(()=>[l.value,Qv(r),k(i),d.value],([e,n,r])=>{if(u(),!d.value||!e.length)return;let i=new IntersectionObserver(t,{root:Qv(n),rootMargin:r,threshold:a});e.forEach(e=>e&&i.observe(e)),u=()=>{i.disconnect(),u=wv}},{immediate:s,flush:`post`}):wv,m=()=>{u(),f(),d.value=!1};return hv(m),{isSupported:c,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:m}}function Oy(e,t={}){let{window:n=Yv,scrollTarget:r,threshold:i=0,rootMargin:a,once:o=!1,initialValue:s=!1}=t,c=O(s),l=Dy(e,e=>{let t=c.value,n=0;for(let r of e)r.time>=n&&(n=r.time,t=r.isIntersecting);c.value=t,o&&Jv(c,()=>{l.stop()})},{root:r,window:n,threshold:i,rootMargin:a});return t.controls?{...l,isVisible:c}:c}var ky={json:`application/json`,text:`text/plain`};function Ay(e){return e&&Nv(e,`immediate`,`refetch`,`initialData`,`timeout`,`beforeFetch`,`afterFetch`,`onFetchError`,`fetch`,`updateDataOnError`)}function jy(e){return typeof Headers<`u`&&e instanceof Headers?Object.fromEntries(e.entries()):e}function My(e,...t){let n=typeof AbortController==`function`,r={},i={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1},a={method:`GET`,type:`text`,payload:void 0};t.length>0&&(Ay(t[0])?i={...i,...t[0]}:r=t[0]),t.length>1&&Ay(t[1])&&(i={...i,...t[1]});let{fetch:o=Yv?.fetch??globalThis?.fetch,initialData:s,timeout:c}=i,l=gv(),u=gv(),d=gv(),f=O(!1),m=O(!1),h=O(!1),g=O(null),_=O(null),v=O(null),y=O(s||null),b=A(()=>n&&m.value),x,S,C=e=>{n&&(x?.abort(e),x=new AbortController,x.signal.onabort=()=>h.value=!0,r={...r,signal:x.signal})},w=e=>{m.value=e,f.value=!e};c&&(S=Gv(C,c,{immediate:!1}));let T=0,E=async(t=!1)=>{C(),w(!0),v.value=null,g.value=null,h.value=!1,T+=1;let n=T,c={method:a.method,headers:{}},f=k(a.payload);if(f){let e=jy(c.headers),t=Object.getPrototypeOf(f);!a.payloadType&&f&&(t===Object.prototype||Array.isArray(t))&&!(f instanceof FormData)&&(a.payloadType=`json`),a.payloadType&&(e[`Content-Type`]=ky[a.payloadType]??a.payloadType),c.body=a.payloadType===`json`?JSON.stringify(f):f}let p=!1,m={url:k(e),options:{...c,...r},cancel:()=>{p=!0}};if(i.beforeFetch&&Object.assign(m,await i.beforeFetch(m)),p||!o)return w(!1),Promise.resolve(null);let b=null;return S&&S.start(),o(m.url,{...c,...m.options,headers:{...jy(c.headers),...jy(m.options?.headers)}}).then(async e=>{if(_.value=e,g.value=e.status,b=await e.clone()[a.type](),!e.ok)throw y.value=s||null,Error(e.statusText);return i.afterFetch&&({data:b}=await i.afterFetch({data:b,response:e,context:m,execute:E})),y.value=b,l.trigger(e),e}).catch(async e=>{let n=e.message||e.name;if(i.onFetchError&&({error:n,data:b}=await i.onFetchError({data:b,error:e,response:_.value,context:m,execute:E})),v.value=n,i.updateDataOnError&&(y.value=b),u.trigger(e),t)throw e;return null}).finally(()=>{n===T&&w(!1),S&&S.stop(),d.trigger(null)})},ee=Tv(i.refetch);p([ee,Tv(e)],([e])=>e&&E(),{deep:!0});let D={isFinished:ke(f),isFetching:ke(m),statusCode:g,response:_,error:v,data:y,canAbort:b,aborted:h,abort:C,execute:E,onFetchResponse:l.on,onFetchError:u.on,onFetchFinally:d.on,get:te(`GET`),put:te(`PUT`),post:te(`POST`),delete:te(`DELETE`),patch:te(`PATCH`),head:te(`HEAD`),options:te(`OPTIONS`),json:re(`json`),text:re(`text`),blob:re(`blob`),arrayBuffer:re(`arrayBuffer`),formData:re(`formData`)};function te(e){return(t,n)=>{if(!m.value)return a.method=e,a.payload=t,a.payloadType=n,me(a.payload)&&p([ee,Tv(a.payload)],([e])=>e&&E(),{deep:!0}),{...D,then(e,t){return ne().then(e,t)}}}}function ne(){return new Promise((e,t)=>{Uv(f).toBe(!0).then(()=>e(D)).catch(t)})}function re(e){return()=>{if(!m.value)return a.type=e,{...D,then(e,t){return ne().then(e,t)}}}}return i.immediate&&Promise.resolve().then(()=>E()),{...D,then(e,t){return ne().then(e,t)}}}var Ny=1;function Py(e,t={}){let{throttle:n=0,idle:r=200,onStop:i=wv,onScroll:a=wv,offset:o={left:0,right:0,top:0,bottom:0},observe:s={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:l=`auto`,window:u=Yv,onError:d=e=>{console.error(e)}}=t,f=typeof s==`boolean`?{mutation:s}:s,p=O(0),m=O(0),h=A({get(){return p.value},set(e){_(e,void 0)}}),g=A({get(){return m.value},set(e){_(void 0,e)}});function _(t,n){var r,i;if(!u)return;let a=k(e);if(!a)return;(r=a instanceof Document?u.document.body:a)==null||r.scrollTo({top:k(n)??g.value,left:k(t)??h.value,behavior:k(l)});let o=(a==null||(i=a.document)==null?void 0:i.documentElement)||a?.documentElement||a;h!=null&&(p.value=o.scrollLeft),g!=null&&(m.value=o.scrollTop)}let v=O(!1),y=xe({left:!0,right:!1,top:!0,bottom:!1}),b=xe({left:!1,right:!1,top:!1,bottom:!1}),x=e=>{v.value&&(v.value=!1,b.left=!1,b.right=!1,b.top=!1,b.bottom=!1,i(e))},S=Lv(x,n+r),C=e=>{var t;if(!u)return;let n=(e==null||(t=e.document)==null?void 0:t.documentElement)||e?.documentElement||Qv(e),{display:r,flexDirection:i,direction:a}=u.getComputedStyle(n),s=a===`rtl`?-1:1,c=n.scrollLeft;b.left=c<p.value,b.right=c>p.value;let l=Math.abs(c*s)<=(o.left||0),d=Math.abs(c*s)+n.clientWidth>=n.scrollWidth-(o.right||0)-Ny;r===`flex`&&i===`row-reverse`?(y.left=d,y.right=l):(y.left=l,y.right=d),p.value=c;let f=n.scrollTop;e===u.document&&!f&&(f=u.document.body.scrollTop),b.top=f<m.value,b.bottom=f>m.value;let h=Math.abs(f)<=(o.top||0),g=Math.abs(f)+n.clientHeight>=n.scrollHeight-(o.bottom||0)-Ny;r===`flex`&&i===`column-reverse`?(y.top=g,y.bottom=h):(y.top=h,y.bottom=g),m.value=f},w=e=>{u&&(C(e.target.documentElement??e.target),v.value=!0,S(e),a(e))};return $v(e,`scroll`,n?Rv(w,n,!0,!1):w,c),Vv(()=>{try{let t=k(e);if(!t)return;C(t)}catch(e){d(e)}}),f?.mutation&&e!=null&&e!==u&&e!==document&&ny(e,()=>{let t=k(e);t&&C(t)},{attributes:!0,childList:!0,subtree:!0}),$v(e,`scrollend`,x,c),{x:h,y:g,isScrolling:v,arrivedState:y,directions:b,measure(){let t=k(e);u&&t&&C(t)}}}var Fy={ctrl:`control`,command:`meta`,cmd:`meta`,option:`alt`,up:`arrowup`,down:`arrowdown`,left:`arrowleft`,right:`arrowright`};function Iy(e={}){let{reactive:t=!1,target:n=Yv,aliasMap:r=Fy,passive:i=!0,onEventFired:a=wv}=e,o=xe(new Set),s={toJSON(){return{}},current:o},c=t?xe(s):s,l=new Set,u=new Map([[`Meta`,l],[`Shift`,new Set],[`Alt`,new Set]]),d=new Set;function f(e,n){e in c&&(t?c[e]=n:c[e].value=n)}function p(){o.clear();for(let e of d)f(e,!1)}function m(e,t,n){if(!(!e||typeof t.getModifierState!=`function`)){for(let[e,r]of u)if(t.getModifierState(e)){n.forEach(e=>r.add(e));break}}}function h(e,t){if(e)return;let n=`${t[0].toUpperCase()}${t.slice(1)}`,r=u.get(n);if(![`shift`,`alt`].includes(t)||!r)return;let i=Array.from(r),a=i.indexOf(t);i.forEach((e,t)=>{t>=a&&(o.delete(e),f(e,!1))}),r.clear()}function g(e,t){let n=e.key?.toLowerCase(),r=[e.code?.toLowerCase(),n].filter(Boolean);if(n){n&&(t?o.add(n):o.delete(n));for(let e of r)d.add(e),f(e,t);m(t,e,[...o,...r]),h(t,n),n===`meta`&&!t&&(l.forEach(e=>{o.delete(e),f(e,!1)}),l.clear())}}$v(n,`keydown`,e=>(g(e,!0),a(e)),{passive:i}),$v(n,`keyup`,e=>(g(e,!1),a(e)),{passive:i}),$v(`blur`,p,{passive:i}),$v(`focus`,p,{passive:i});let _=new Proxy(c,{get(e,n,i){if(typeof n!=`string`)return Reflect.get(e,n,i);if(n=n.toLowerCase(),n in r&&(n=r[n]),!(n in c))if(/[+_-]/.test(n)){let e=n.split(/[+_-]/g).map(e=>e.trim());c[n]=A(()=>e.map(e=>k(_[e])).every(Boolean))}else c[n]=O(!1);let a=Reflect.get(e,n,i);return t?k(a):a}});return _}function Ly(e){if(`interval`in e||`immediate`in e){let{interval:t=`requestAnimationFrame`,immediate:n=!0}=e;return t===`requestAnimationFrame`?e=>oy(e,{immediate:n}):n=>Wv(n,t,e)}return oy}function Ry(e={}){let{controls:t=!1,scheduler:n=Ly(e)}=e,r=O(new Date),i=n(()=>r.value=new Date);return t?{now:r,...i}:r}function zy(e=null,t={}){let{document:n=Xv,restoreOnUnmount:r=e=>e}=t,i=n?.title??``,a=Tv(e??n?.title??null),o=!!(e&&typeof e==`function`);function s(e){if(!(`titleTemplate`in t))return e;let n=t.titleTemplate||`%s`;return typeof n==`function`?n(e):k(n).replace(/%s/g,e)}return p(a,(e,t)=>{e!==t&&n&&(n.title=s(e??``))},{immediate:!0}),t.observe&&!t.titleTemplate&&n&&!o&&ny(n.head?.querySelector(`title`),()=>{n&&n.title!==a.value&&(a.value=s(n.title))},{childList:!0}),hv(()=>{if(r){let e=r(i,a.value||``);e!=null&&n&&(n.title=e)}}),a}function By(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:u,shouldEmit:d}=r,f=ie(),m=n||f?.emit||(f==null||(i=f.$emit)==null?void 0:i.bind(f))||(f==null||(a=f.proxy)==null||(a=a.$emit)==null?void 0:a.bind(f?.proxy)),h=c;t||=`modelValue`,h||=`update:${t.toString()}`;let g=e=>o?typeof o==`function`?o(e):fy(e):e,_=()=>bv(e[t])?g(e[t]):u,v=e=>{d?d(e)&&m(h,e):m(h,e)};if(s){let n=Fe(_()),r=!1;return p(()=>e[t],e=>{r||(r=!0,n.value=g(e),Me(()=>r=!1))}),p(n,n=>{!r&&(n!==e[t]||l)&&v(n)},{deep:l}),n}else return A({get(){return _()},set(e){v(e)}})}function Vy(e={}){let{window:t=Yv,...n}=e;return Py(t,n)}var Hy=Ty(),Uy=Kv(Hy);vy(),l(),sv(Qe({__name:`App`,setup(e){return pv({title:`Board - XCPCIO`,meta:[{name:`theme-color`,content:()=>Hy.value?`#00aba9`:`#ffffff`}]}),(e,t)=>{let n=ue(`RouterView`);return d(),we(n)}}}),{routes:_h(cv),base:window.BASE_URL??`/`},e=>{Object.values([sa,ga,Ia,hd]).forEach(t=>t.install?.(e)),e.app.use(gh),e.app.use(kf)});export{Dd as A,pa as B,Qd as C,Cd as D,Td as E,vd as F,_d as I,pd as L,Kd as M,Ed as N,Vd as O,bd as P,fd as R,uf as S,Jd as T,Gi as V,xg as _,Ey as a,bf as b,Iy as c,zy as d,By as f,Rv as g,Wv as h,dy as i,Id as j,Od as k,Ry as l,hv as m,iy as n,Oy as o,Vy as p,ay as r,My as s,Uy as t,Sy as u,bg as v,Yd as w,xf as x,Z as y,ua as z};
|