@xcpcio/board-app 0.6.3 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +6 -0
- package/LICENSE +1 -1
- package/README.md +13 -30
- package/cypress.config.ts +14 -0
- package/dist/_headers +3 -0
- package/dist/about.html +11 -0
- package/dist/assets/_...all_-27c7ae93.css +1 -0
- package/dist/assets/_...all_-d56798b5.js +3 -0
- package/dist/assets/_name_-8eab6137.js +1 -0
- package/dist/assets/about-a8cb8700.js +11 -0
- package/dist/assets/app-37f77a84.js +65 -0
- package/dist/assets/board-layout-deaedfc1.js +1 -0
- package/dist/assets/en-caedd340.js +1 -0
- package/dist/assets/home-49c336e5.js +1 -0
- package/dist/assets/index-a270cacd.css +5 -0
- package/dist/assets/index-layout-d65c80ea.js +1 -0
- package/dist/assets/test-0a3d6f7a.js +1 -0
- package/dist/assets/user-108782a1.js +1 -0
- package/dist/assets/virtual_pwa-register-1c1b9161.js +1 -0
- package/dist/assets/workbox-window.prod.es5-a7b12eab.js +2 -0
- package/dist/assets/zh-CN-86269804.js +1 -0
- package/dist/favicon-dark.svg +1 -0
- package/dist/favicon.svg +1 -0
- package/dist/index.html +1 -171
- package/dist/manifest.webmanifest +1 -0
- package/dist/pwa-192x192.png +0 -0
- package/dist/pwa-512x512.png +0 -0
- package/dist/robots.txt +4 -0
- package/dist/safari-pinned-tab.svg +41 -0
- package/dist/sitemap.xml +1 -0
- package/dist/ssr-manifest.json +486 -0
- package/dist/sw.js +1 -0
- package/dist/test.html +1 -0
- package/dist/workbox-b8d87ee1.js +1 -0
- package/package.json +94 -50
- package/public/_headers +3 -0
- package/public/favicon-dark.svg +1 -0
- package/public/favicon.svg +1 -0
- package/public/pwa-192x192.png +0 -0
- package/public/pwa-512x512.png +0 -0
- package/public/safari-pinned-tab.svg +41 -0
- package/src/App.vue +33 -0
- package/src/auto-imports.d.ts +909 -0
- package/src/components/ContestIndex.vue +227 -0
- package/src/components/Footer.vue +94 -0
- package/src/components/GoBack.vue +22 -0
- package/src/components/NavBar.vue +152 -0
- package/src/components/SearchInput.vue +50 -0
- package/src/components/TheCounter.vue +19 -0
- package/src/components/TheInput.vue +20 -0
- package/src/components/board/Balloon.vue +5 -0
- package/src/components/board/Board.vue +396 -0
- package/src/components/board/BottomStatistics.vue +159 -0
- package/src/components/board/ContestStateBadge.vue +41 -0
- package/src/components/board/Export.vue +75 -0
- package/src/components/board/Modal.vue +107 -0
- package/src/components/board/ModalMenu.vue +64 -0
- package/src/components/board/OptionsModal.vue +179 -0
- package/src/components/board/Progress.less +442 -0
- package/src/components/board/Progress.vue +229 -0
- package/src/components/board/SecondLevelMenu.vue +190 -0
- package/src/components/board/Standings.less +1162 -0
- package/src/components/board/Standings.vue +154 -0
- package/src/components/board/StandingsAnnotate.vue +38 -0
- package/src/components/board/Statistics.vue +77 -0
- package/src/components/board/SubmissionsTable.vue +312 -0
- package/src/components/board/SubmissionsTableModal.vue +52 -0
- package/src/components/board/TeamAwards.vue +93 -0
- package/src/components/board/TeamInfoModal.vue +128 -0
- package/src/components/board/TeamProblemBlock.vue +100 -0
- package/src/components/board/TeamUI.vue +161 -0
- package/src/components/board/Utility.vue +28 -0
- package/src/components/icon/GirlIcon.vue +80 -0
- package/src/components/icon/RightArrowIcon.vue +26 -0
- package/src/components/icon/StarIcon.vue +19 -0
- package/src/components/table/TablePagination.vue +108 -0
- package/src/components.d.ts +44 -0
- package/src/composables/dark.ts +4 -0
- package/src/composables/pagination.ts +81 -0
- package/src/composables/statistics.ts +280 -0
- package/src/composables/useLocalStorage.ts +29 -0
- package/src/composables/useQueryBoardData.ts +43 -0
- package/src/composables/utils.ts +11 -0
- package/src/layouts/board-layout.vue +14 -0
- package/src/layouts/default.vue +10 -0
- package/src/layouts/home.vue +12 -0
- package/src/layouts/index-layout.vue +15 -0
- package/src/main.ts +36 -0
- package/src/modules/README.md +11 -0
- package/src/modules/i18n.ts +52 -0
- package/src/modules/nprogress.ts +15 -0
- package/src/modules/pinia.ts +18 -0
- package/src/modules/pwa.ts +15 -0
- package/src/modules/toast.ts +10 -0
- package/src/pages/[...all].vue +34 -0
- package/src/pages/about.md +21 -0
- package/src/pages/hi/[name].vue +50 -0
- package/src/pages/index.vue +129 -0
- package/src/pages/test.vue +57 -0
- package/src/shims.d.ts +16 -0
- package/src/stores/user.ts +36 -0
- package/src/styles/color.css +51 -0
- package/src/styles/main.css +30 -0
- package/src/styles/markdown.css +28 -0
- package/src/styles/submission-status.css +123 -0
- package/src/types.ts +3 -0
- package/tsconfig.json +39 -0
- package/uno.config.ts +65 -0
- package/vite.config.ts +176 -0
- package/dist/favicon.ico +0 -0
- package/dist/umi.00ae29f6.js +0 -1
- package/dist/umi.bd64c248.css +0 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&i(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();const tP="modulepreload",nP=function(e){return"/"+e},fm={},cr=function(t,n,i){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=nP(a),a in fm)return;fm[a]=!0;const l=a.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(!!i)for(let m=o.length-1;m>=0;m--){const p=o[m];if(p.href===a&&(!l||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${c}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":tP,l||(d.as="script",d.crossOrigin=""),d.href=a,document.head.appendChild(d),l)return new Promise((m,p)=>{d.addEventListener("load",m),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a})};/*!
|
|
2
|
+
* shared v9.2.2
|
|
3
|
+
* (c) 2022 kazuya kawaguchi
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/const Kc=typeof window<"u",rP=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",gi=e=>rP?Symbol(e):e,iP=(e,t,n)=>sP({l:e,k:t,s:n}),sP=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),It=e=>typeof e=="number"&&isFinite(e),oP=e=>Uf(e)==="[object Date]",cl=e=>Uf(e)==="[object RegExp]",Il=e=>Xe(e)&&Object.keys(e).length===0;function aP(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const en=Object.assign;let dm;const Ff=()=>dm||(dm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hm(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const lP=Object.prototype.hasOwnProperty;function kf(e,t){return lP.call(e,t)}const Pt=Array.isArray,Ht=e=>typeof e=="function",Ee=e=>typeof e=="string",Ct=e=>typeof e=="boolean",pt=e=>e!==null&&typeof e=="object",q_=Object.prototype.toString,Uf=e=>q_.call(e),Xe=e=>Uf(e)==="[object Object]",uP=e=>e==null?"":Pt(e)||Xe(e)&&e.toString===q_?JSON.stringify(e,null,2):String(e);/*!
|
|
6
|
+
* message-compiler v9.2.2
|
|
7
|
+
* (c) 2022 kazuya kawaguchi
|
|
8
|
+
* Released under the MIT License.
|
|
9
|
+
*/const G_={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,__EXTEND_POINT__:15};function K_(e,t,n={}){const{domain:i,messages:o,args:a}=n,l=e,c=new SyntaxError(String(l));return c.code=e,t&&(c.location=t),c.domain=i,c}/*!
|
|
10
|
+
* devtools-if v9.2.2
|
|
11
|
+
* (c) 2022 kazuya kawaguchi
|
|
12
|
+
* Released under the MIT License.
|
|
13
|
+
*/const Y_={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
|
|
14
|
+
* core-base v9.2.2
|
|
15
|
+
* (c) 2022 kazuya kawaguchi
|
|
16
|
+
* Released under the MIT License.
|
|
17
|
+
*/const _i=[];_i[0]={w:[0],i:[3,0],"[":[4],o:[7]};_i[1]={w:[1],".":[2],"[":[4],o:[7]};_i[2]={w:[2],i:[3,0],0:[3,0]};_i[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};_i[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};_i[5]={"'":[4,0],o:8,l:[5,0]};_i[6]={'"':[4,0],o:8,l:[6,0]};const cP=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function fP(e){return cP.test(e)}function dP(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function hP(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 pP(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:fP(t)?dP(t):"*"+t}function mP(e){const t=[];let n=-1,i=0,o=0,a,l,c,f,d,m,p;const g=[];g[0]=()=>{l===void 0?l=c:l+=c},g[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},g[2]=()=>{g[0](),o++},g[3]=()=>{if(o>0)o--,i=4,g[0]();else{if(o=0,l===void 0||(l=pP(l),l===!1))return!1;g[1]()}};function y(){const _=e[n+1];if(i===5&&_==="'"||i===6&&_==='"')return n++,c="\\"+_,g[0](),!0}for(;i!==null;)if(n++,a=e[n],!(a==="\\"&&y())){if(f=hP(a),p=_i[i],d=p[f]||p.l||8,d===8||(i=d[0],d[1]!==void 0&&(m=g[d[1]],m&&(c=a,m()===!1))))return;if(i===7)return t}}const pm=new Map;function gP(e,t){return pt(e)?e[t]:null}function _P(e,t){if(!pt(e))return null;let n=pm.get(t);if(n||(n=mP(t),n&&pm.set(t,n)),!n)return null;const i=n.length;let o=e,a=0;for(;a<i;){const l=o[n[a]];if(l===void 0)return null;o=l,a++}return o}const vP=e=>e,yP=e=>"",bP="text",wP=e=>e.length===0?"":e.join(""),EP=uP;function mm(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function TP(e){const t=It(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(It(e.named.count)||It(e.named.n))?It(e.named.count)?e.named.count:It(e.named.n)?e.named.n:t:t}function CP(e,t){t.count||(t.count=e),t.n||(t.n=e)}function OP(e={}){const t=e.locale,n=TP(e),i=pt(e.pluralRules)&&Ee(t)&&Ht(e.pluralRules[t])?e.pluralRules[t]:mm,o=pt(e.pluralRules)&&Ee(t)&&Ht(e.pluralRules[t])?mm:void 0,a=w=>w[i(n,w.length,o)],l=e.list||[],c=w=>l[w],f=e.named||{};It(e.pluralIndex)&&CP(n,f);const d=w=>f[w];function m(w){const T=Ht(e.messages)?e.messages(w):pt(e.messages)?e.messages[w]:!1;return T||(e.parent?e.parent.message(w):yP)}const p=w=>e.modifiers?e.modifiers[w]:vP,g=Xe(e.processor)&&Ht(e.processor.normalize)?e.processor.normalize:wP,y=Xe(e.processor)&&Ht(e.processor.interpolate)?e.processor.interpolate:EP,_=Xe(e.processor)&&Ee(e.processor.type)?e.processor.type:bP,P={list:c,named:d,plural:a,linked:(w,...T)=>{const[A,C]=T;let x="text",I="";T.length===1?pt(A)?(I=A.modifier||I,x=A.type||x):Ee(A)&&(I=A||I):T.length===2&&(Ee(A)&&(I=A||I),Ee(C)&&(x=C||x));let R=m(w)(P);return x==="vnode"&&Pt(R)&&I&&(R=R[0]),I?p(I)(R,x):R},message:m,type:_,interpolate:y,normalize:g};return P}let So=null;function xP(e){So=e}function PP(e,t,n){So&&So.emit(Y_.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const SP=RP(Y_.FunctionTranslate);function RP(e){return t=>So&&So.emit(e,t)}function AP(e,t,n){return[...new Set([n,...Pt(t)?t:pt(t)?Object.keys(t):Ee(t)?[t]:[n]])]}function Q_(e,t,n){const i=Ee(n)?n:Hf,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(i);if(!a){a=[];let l=[n];for(;Pt(l);)l=gm(a,l,t);const c=Pt(t)||!Xe(t)?t:t.default?t.default:null;l=Ee(c)?[c]:c,Pt(l)&&gm(a,l,!1),o.__localeChainCache.set(i,a)}return a}function gm(e,t,n){let i=!0;for(let o=0;o<t.length&&Ct(i);o++){const a=t[o];Ee(a)&&(i=IP(e,t[o],n))}return i}function IP(e,t,n){let i;const o=t.split("-");do{const a=o.join("-");i=$P(e,a,n),o.splice(-1,1)}while(o.length&&i===!0);return i}function $P(e,t,n){let i=!1;if(!e.includes(t)&&(i=!0,t)){i=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Pt(n)||Xe(n))&&n[o]&&(i=n[o])}return i}const MP="9.2.2",$l=-1,Hf="en-US",_m="",vm=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function DP(){return{upper:(e,t)=>t==="text"&&Ee(e)?e.toUpperCase():t==="vnode"&&pt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ee(e)?e.toLowerCase():t==="vnode"&&pt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ee(e)?vm(e):t==="vnode"&&pt(e)&&"__v_isVNode"in e?vm(e.children):e}}let LP,X_;function NP(e){X_=e}let Z_;function FP(e){Z_=e}let J_=null;const ym=e=>{J_=e},kP=()=>J_;let ev=null;const bm=e=>{ev=e},UP=()=>ev;let wm=0;function HP(e={}){const t=Ee(e.version)?e.version:MP,n=Ee(e.locale)?e.locale:Hf,i=Pt(e.fallbackLocale)||Xe(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,o=Xe(e.messages)?e.messages:{[n]:{}},a=Xe(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},l=Xe(e.numberFormats)?e.numberFormats:{[n]:{}},c=en({},e.modifiers||{},DP()),f=e.pluralRules||{},d=Ht(e.missing)?e.missing:null,m=Ct(e.missingWarn)||cl(e.missingWarn)?e.missingWarn:!0,p=Ct(e.fallbackWarn)||cl(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,y=!!e.unresolving,_=Ht(e.postTranslation)?e.postTranslation:null,b=Xe(e.processor)?e.processor:null,P=Ct(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter,T=Ht(e.messageCompiler)?e.messageCompiler:LP,A=Ht(e.messageResolver)?e.messageResolver:X_||gP,C=Ht(e.localeFallbacker)?e.localeFallbacker:Z_||AP,x=pt(e.fallbackContext)?e.fallbackContext:void 0,I=Ht(e.onWarn)?e.onWarn:aP,R=e,S=pt(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,$=pt(R.__numberFormatters)?R.__numberFormatters:new Map,L=pt(R.__meta)?R.__meta:{};wm++;const W={version:t,cid:wm,locale:n,fallbackLocale:i,messages:o,modifiers:c,pluralRules:f,missing:d,missingWarn:m,fallbackWarn:p,fallbackFormat:g,unresolving:y,postTranslation:_,processor:b,warnHtmlMessage:P,escapeParameter:w,messageCompiler:T,messageResolver:A,localeFallbacker:C,fallbackContext:x,onWarn:I,__meta:L};return W.datetimeFormats=a,W.numberFormats=l,W.__datetimeFormatters=S,W.__numberFormatters=$,__INTLIFY_PROD_DEVTOOLS__&&PP(W,t,L),W}function Bf(e,t,n,i,o){const{missing:a,onWarn:l}=e;if(a!==null){const c=a(e,n,t,o);return Ee(c)?c:t}else return t}function no(e,t,n){const i=e;i.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}let tv=G_.__EXTEND_POINT__;const xc=()=>++tv,gs={INVALID_ARGUMENT:tv,INVALID_DATE_ARGUMENT:xc(),INVALID_ISO_DATE_ARGUMENT:xc(),__EXTEND_POINT__:xc()};function _s(e){return K_(e,null,void 0)}const Em=()=>"",lr=e=>Ht(e);function Tm(e,...t){const{fallbackFormat:n,postTranslation:i,unresolving:o,messageCompiler:a,fallbackLocale:l,messages:c}=e,[f,d]=Yc(...t),m=Ct(d.missingWarn)?d.missingWarn:e.missingWarn,p=Ct(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,g=Ct(d.escapeParameter)?d.escapeParameter:e.escapeParameter,y=!!d.resolvedMessage,_=Ee(d.default)||Ct(d.default)?Ct(d.default)?a?f:()=>f:d.default:n?a?f:()=>f:"",b=n||_!=="",P=Ee(d.locale)?d.locale:e.locale;g&&BP(d);let[w,T,A]=y?[f,P,c[P]||{}]:nv(e,f,P,l,p,m),C=w,x=f;if(!y&&!(Ee(C)||lr(C))&&b&&(C=_,x=C),!y&&(!(Ee(C)||lr(C))||!Ee(T)))return o?$l:f;let I=!1;const R=()=>{I=!0},S=lr(C)?C:rv(e,f,T,C,x,R);if(I)return C;const $=zP(e,T,A,d),L=OP($),W=WP(e,S,L),G=i?i(W,f):W;if(__INTLIFY_PROD_DEVTOOLS__){const V={timestamp:Date.now(),key:Ee(f)?f:lr(C)?C.key:"",locale:T||(lr(C)?C.locale:""),format:Ee(C)?C:lr(C)?C.source:"",message:G};V.meta=en({},e.__meta,kP()||{}),SP(V)}return G}function BP(e){Pt(e.list)?e.list=e.list.map(t=>Ee(t)?hm(t):t):pt(e.named)&&Object.keys(e.named).forEach(t=>{Ee(e.named[t])&&(e.named[t]=hm(e.named[t]))})}function nv(e,t,n,i,o,a){const{messages:l,onWarn:c,messageResolver:f,localeFallbacker:d}=e,m=d(e,i,n);let p={},g,y=null;const _="translate";for(let b=0;b<m.length&&(g=m[b],p=l[g]||{},(y=f(p,t))===null&&(y=p[t]),!(Ee(y)||Ht(y)));b++){const P=Bf(e,t,g,a,_);P!==t&&(y=P)}return[y,g,p]}function rv(e,t,n,i,o,a){const{messageCompiler:l,warnHtmlMessage:c}=e;if(lr(i)){const d=i;return d.locale=d.locale||n,d.key=d.key||t,d}if(l==null){const d=()=>i;return d.locale=n,d.key=t,d}const f=l(i,jP(e,n,o,i,c,a));return f.locale=n,f.key=t,f.source=i,f}function WP(e,t,n){return t(n)}function Yc(...e){const[t,n,i]=e,o={};if(!Ee(t)&&!It(t)&&!lr(t))throw _s(gs.INVALID_ARGUMENT);const a=It(t)?String(t):(lr(t),t);return It(n)?o.plural=n:Ee(n)?o.default=n:Xe(n)&&!Il(n)?o.named=n:Pt(n)&&(o.list=n),It(i)?o.plural=i:Ee(i)?o.default=i:Xe(i)&&en(o,i),[a,o]}function jP(e,t,n,i,o,a){return{warnHtmlMessage:o,onError:l=>{throw a&&a(l),l},onCacheKey:l=>iP(t,n,l)}}function zP(e,t,n,i){const{modifiers:o,pluralRules:a,messageResolver:l,fallbackLocale:c,fallbackWarn:f,missingWarn:d,fallbackContext:m}=e,g={locale:t,modifiers:o,pluralRules:a,messages:y=>{let _=l(n,y);if(_==null&&m){const[,,b]=nv(m,y,t,c,f,d);_=l(b,y)}if(Ee(_)){let b=!1;const w=rv(e,y,t,_,y,()=>{b=!0});return b?Em:w}else return lr(_)?_:Em}};return e.processor&&(g.processor=e.processor),i.list&&(g.list=i.list),i.named&&(g.named=i.named),It(i.plural)&&(g.pluralIndex=i.plural),g}function Cm(e,...t){const{datetimeFormats:n,unresolving:i,fallbackLocale:o,onWarn:a,localeFallbacker:l}=e,{__datetimeFormatters:c}=e,[f,d,m,p]=Qc(...t),g=Ct(m.missingWarn)?m.missingWarn:e.missingWarn;Ct(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const y=!!m.part,_=Ee(m.locale)?m.locale:e.locale,b=l(e,o,_);if(!Ee(f)||f==="")return new Intl.DateTimeFormat(_,p).format(d);let P={},w,T=null;const A="datetime format";for(let I=0;I<b.length&&(w=b[I],P=n[w]||{},T=P[f],!Xe(T));I++)Bf(e,f,w,g,A);if(!Xe(T)||!Ee(w))return i?$l:f;let C=`${w}__${f}`;Il(p)||(C=`${C}__${JSON.stringify(p)}`);let x=c.get(C);return x||(x=new Intl.DateTimeFormat(w,en({},T,p)),c.set(C,x)),y?x.formatToParts(d):x.format(d)}const iv=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Qc(...e){const[t,n,i,o]=e,a={};let l={},c;if(Ee(t)){const f=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!f)throw _s(gs.INVALID_ISO_DATE_ARGUMENT);const d=f[3]?f[3].trim().startsWith("T")?`${f[1].trim()}${f[3].trim()}`:`${f[1].trim()}T${f[3].trim()}`:f[1].trim();c=new Date(d);try{c.toISOString()}catch{throw _s(gs.INVALID_ISO_DATE_ARGUMENT)}}else if(oP(t)){if(isNaN(t.getTime()))throw _s(gs.INVALID_DATE_ARGUMENT);c=t}else if(It(t))c=t;else throw _s(gs.INVALID_ARGUMENT);return Ee(n)?a.key=n:Xe(n)&&Object.keys(n).forEach(f=>{iv.includes(f)?l[f]=n[f]:a[f]=n[f]}),Ee(i)?a.locale=i:Xe(i)&&(l=i),Xe(o)&&(l=o),[a.key||"",c,a,l]}function Om(e,t,n){const i=e;for(const o in n){const a=`${t}__${o}`;i.__datetimeFormatters.has(a)&&i.__datetimeFormatters.delete(a)}}function xm(e,...t){const{numberFormats:n,unresolving:i,fallbackLocale:o,onWarn:a,localeFallbacker:l}=e,{__numberFormatters:c}=e,[f,d,m,p]=Xc(...t),g=Ct(m.missingWarn)?m.missingWarn:e.missingWarn;Ct(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const y=!!m.part,_=Ee(m.locale)?m.locale:e.locale,b=l(e,o,_);if(!Ee(f)||f==="")return new Intl.NumberFormat(_,p).format(d);let P={},w,T=null;const A="number format";for(let I=0;I<b.length&&(w=b[I],P=n[w]||{},T=P[f],!Xe(T));I++)Bf(e,f,w,g,A);if(!Xe(T)||!Ee(w))return i?$l:f;let C=`${w}__${f}`;Il(p)||(C=`${C}__${JSON.stringify(p)}`);let x=c.get(C);return x||(x=new Intl.NumberFormat(w,en({},T,p)),c.set(C,x)),y?x.formatToParts(d):x.format(d)}const sv=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Xc(...e){const[t,n,i,o]=e,a={};let l={};if(!It(t))throw _s(gs.INVALID_ARGUMENT);const c=t;return Ee(n)?a.key=n:Xe(n)&&Object.keys(n).forEach(f=>{sv.includes(f)?l[f]=n[f]:a[f]=n[f]}),Ee(i)?a.locale=i:Xe(i)&&(l=i),Xe(o)&&(l=o),[a.key||"",c,a,l]}function Pm(e,t,n){const i=e;for(const o in n){const a=`${t}__${o}`;i.__numberFormatters.has(a)&&i.__numberFormatters.delete(a)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ff().__INTLIFY_PROD_DEVTOOLS__=!1);function Ml(e,t){const n=Object.create(null),i=e.split(",");for(let o=0;o<i.length;o++)n[i[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const ot={},vs=[],Zn=()=>{},VP=()=>!1,qP=/^on[^a-z]/,Vo=e=>qP.test(e),Wf=e=>e.startsWith("onUpdate:"),mt=Object.assign,jf=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},GP=Object.prototype.hasOwnProperty,Qe=(e,t)=>GP.call(e,t),ye=Array.isArray,ys=e=>Ds(e)==="[object Map]",ji=e=>Ds(e)==="[object Set]",Sm=e=>Ds(e)==="[object Date]",KP=e=>Ds(e)==="[object RegExp]",$e=e=>typeof e=="function",vt=e=>typeof e=="string",Ro=e=>typeof e=="symbol",at=e=>e!==null&&typeof e=="object",zf=e=>at(e)&&$e(e.then)&&$e(e.catch),ov=Object.prototype.toString,Ds=e=>ov.call(e),YP=e=>Ds(e).slice(8,-1),av=e=>Ds(e)==="[object Object]",Vf=e=>vt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ho=Ml(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},QP=/-(\w)/g,hn=Dl(e=>e.replace(QP,(t,n)=>n?n.toUpperCase():"")),XP=/\B([A-Z])/g,Nn=Dl(e=>e.replace(XP,"-$1").toLowerCase()),qo=Dl(e=>e.charAt(0).toUpperCase()+e.slice(1)),po=Dl(e=>e?`on${qo(e)}`:""),Ps=(e,t)=>!Object.is(e,t),bs=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},fl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},dl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hl=e=>{const t=vt(e)?Number(e):NaN;return isNaN(t)?e:t};let Rm;const Zc=()=>Rm||(Rm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),ZP="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",JP=Ml(ZP);function Jn(e){if(ye(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],o=vt(i)?rS(i):Jn(i);if(o)for(const a in o)t[a]=o[a]}return t}else{if(vt(e))return e;if(at(e))return e}}const eS=/;(?![^(]*\))/g,tS=/:([^]+)/,nS=/\/\*[^]*?\*\//g;function rS(e){const t={};return e.replace(nS,"").split(eS).forEach(n=>{if(n){const i=n.split(tS);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function tn(e){let t="";if(vt(e))t=e;else if(ye(e))for(let n=0;n<e.length;n++){const i=tn(e[n]);i&&(t+=i+" ")}else if(at(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function lv(e){if(!e)return null;let{class:t,style:n}=e;return t&&!vt(t)&&(e.class=tn(t)),n&&(e.style=Jn(n)),e}const iS="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",sS=Ml(iS);function uv(e){return!!e||e===""}function oS(e,t){if(e.length!==t.length)return!1;let n=!0;for(let i=0;n&&i<e.length;i++)n=li(e[i],t[i]);return n}function li(e,t){if(e===t)return!0;let n=Sm(e),i=Sm(t);if(n||i)return n&&i?e.getTime()===t.getTime():!1;if(n=Ro(e),i=Ro(t),n||i)return e===t;if(n=ye(e),i=ye(t),n||i)return n&&i?oS(e,t):!1;if(n=at(e),i=at(t),n||i){if(!n||!i)return!1;const o=Object.keys(e).length,a=Object.keys(t).length;if(o!==a)return!1;for(const l in e){const c=e.hasOwnProperty(l),f=t.hasOwnProperty(l);if(c&&!f||!c&&f||!li(e[l],t[l]))return!1}}return String(e)===String(t)}function Ll(e,t){return e.findIndex(n=>li(n,t))}const Ut=e=>vt(e)?e:e==null?"":ye(e)||at(e)&&(e.toString===ov||!$e(e.toString))?JSON.stringify(e,cv,2):String(e),cv=(e,t)=>t&&t.__v_isRef?cv(e,t.value):ys(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,o])=>(n[`${i} =>`]=o,n),{})}:ji(t)?{[`Set(${t.size})`]:[...t.values()]}:at(t)&&!ye(t)&&!av(t)?String(t):t;let wn;class qf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=wn,!t&&wn&&(this.index=(wn.scopes||(wn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=wn;try{return wn=this,t()}finally{wn=n}}}on(){wn=this}off(){wn=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Nl(e){return new qf(e)}function fv(e,t=wn){t&&t.active&&t.effects.push(e)}function Fl(){return wn}function Gf(e){wn&&wn.cleanups.push(e)}const Kf=e=>{const t=new Set(e);return t.w=0,t.n=0,t},dv=e=>(e.w&ui)>0,hv=e=>(e.n&ui)>0,aS=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ui},lS=e=>{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i<t.length;i++){const o=t[i];dv(o)&&!hv(o)?o.delete(e):t[n++]=o,o.w&=~ui,o.n&=~ui}t.length=n}},pl=new WeakMap;let lo=0,ui=1;const Jc=30;let Gn;const Li=Symbol(""),ef=Symbol("");class Go{constructor(t,n=null,i){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,fv(this,i)}run(){if(!this.active)return this.fn();let t=Gn,n=ii;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Gn,Gn=this,ii=!0,ui=1<<++lo,lo<=Jc?aS(this):Am(this),this.fn()}finally{lo<=Jc&&lS(this),ui=1<<--lo,Gn=this.parent,ii=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Gn===this?this.deferStop=!0:this.active&&(Am(this),this.onStop&&this.onStop(),this.active=!1)}}function Am(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function uS(e,t){e.effect&&(e=e.effect.fn);const n=new Go(e);t&&(mt(n,t),t.scope&&fv(n,t.scope)),(!t||!t.lazy)&&n.run();const i=n.run.bind(n);return i.effect=n,i}function cS(e){e.effect.stop()}let ii=!0;const pv=[];function Ls(){pv.push(ii),ii=!1}function Ns(){const e=pv.pop();ii=e===void 0?!0:e}function pn(e,t,n){if(ii&&Gn){let i=pl.get(e);i||pl.set(e,i=new Map);let o=i.get(n);o||i.set(n,o=Kf()),mv(o)}}function mv(e,t){let n=!1;lo<=Jc?hv(e)||(e.n|=ui,n=!dv(e)):n=!e.has(Gn),n&&(e.add(Gn),Gn.deps.push(e))}function Dr(e,t,n,i,o,a){const l=pl.get(e);if(!l)return;let c=[];if(t==="clear")c=[...l.values()];else if(n==="length"&&ye(e)){const f=Number(i);l.forEach((d,m)=>{(m==="length"||m>=f)&&c.push(d)})}else switch(n!==void 0&&c.push(l.get(n)),t){case"add":ye(e)?Vf(n)&&c.push(l.get("length")):(c.push(l.get(Li)),ys(e)&&c.push(l.get(ef)));break;case"delete":ye(e)||(c.push(l.get(Li)),ys(e)&&c.push(l.get(ef)));break;case"set":ys(e)&&c.push(l.get(Li));break}if(c.length===1)c[0]&&tf(c[0]);else{const f=[];for(const d of c)d&&f.push(...d);tf(Kf(f))}}function tf(e,t){const n=ye(e)?e:[...e];for(const i of n)i.computed&&Im(i);for(const i of n)i.computed||Im(i)}function Im(e,t){(e!==Gn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function fS(e,t){var n;return(n=pl.get(e))==null?void 0:n.get(t)}const dS=Ml("__proto__,__v_isRef,__isVue"),gv=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ro)),hS=kl(),pS=kl(!1,!0),mS=kl(!0),gS=kl(!0,!0),$m=_S();function _S(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=qe(this);for(let a=0,l=this.length;a<l;a++)pn(i,"get",a+"");const o=i[t](...n);return o===-1||o===!1?i[t](...n.map(qe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Ls();const i=qe(this)[t].apply(this,n);return Ns(),i}}),e}function vS(e){const t=qe(this);return pn(t,"has",e),t.hasOwnProperty(e)}function kl(e=!1,t=!1){return function(i,o,a){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&a===(e?t?Tv:Ev:t?wv:bv).get(i))return i;const l=ye(i);if(!e){if(l&&Qe($m,o))return Reflect.get($m,o,a);if(o==="hasOwnProperty")return vS}const c=Reflect.get(i,o,a);return(Ro(o)?gv.has(o):dS(o))||(e||pn(i,"get",o),t)?c:et(c)?l&&Vf(o)?c:c.value:at(c)?e?Fs(c):ci(c):c}}const yS=_v(),bS=_v(!0);function _v(e=!1){return function(n,i,o,a){let l=n[i];if(Ui(l)&&et(l)&&!et(o))return!1;if(!e&&(!Ao(o)&&!Ui(o)&&(l=qe(l),o=qe(o)),!ye(n)&&et(l)&&!et(o)))return l.value=o,!0;const c=ye(n)&&Vf(i)?Number(i)<n.length:Qe(n,i),f=Reflect.set(n,i,o,a);return n===qe(a)&&(c?Ps(o,l)&&Dr(n,"set",i,o):Dr(n,"add",i,o)),f}}function wS(e,t){const n=Qe(e,t);e[t];const i=Reflect.deleteProperty(e,t);return i&&n&&Dr(e,"delete",t,void 0),i}function ES(e,t){const n=Reflect.has(e,t);return(!Ro(t)||!gv.has(t))&&pn(e,"has",t),n}function TS(e){return pn(e,"iterate",ye(e)?"length":Li),Reflect.ownKeys(e)}const vv={get:hS,set:yS,deleteProperty:wS,has:ES,ownKeys:TS},yv={get:mS,set(e,t){return!0},deleteProperty(e,t){return!0}},CS=mt({},vv,{get:pS,set:bS}),OS=mt({},yv,{get:gS}),Yf=e=>e,Ul=e=>Reflect.getPrototypeOf(e);function Ba(e,t,n=!1,i=!1){e=e.__v_raw;const o=qe(e),a=qe(t);n||(t!==a&&pn(o,"get",t),pn(o,"get",a));const{has:l}=Ul(o),c=i?Yf:n?Zf:Io;if(l.call(o,t))return c(e.get(t));if(l.call(o,a))return c(e.get(a));e!==o&&e.get(t)}function Wa(e,t=!1){const n=this.__v_raw,i=qe(n),o=qe(e);return t||(e!==o&&pn(i,"has",e),pn(i,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function ja(e,t=!1){return e=e.__v_raw,!t&&pn(qe(e),"iterate",Li),Reflect.get(e,"size",e)}function Mm(e){e=qe(e);const t=qe(this);return Ul(t).has.call(t,e)||(t.add(e),Dr(t,"add",e,e)),this}function Dm(e,t){t=qe(t);const n=qe(this),{has:i,get:o}=Ul(n);let a=i.call(n,e);a||(e=qe(e),a=i.call(n,e));const l=o.call(n,e);return n.set(e,t),a?Ps(t,l)&&Dr(n,"set",e,t):Dr(n,"add",e,t),this}function Lm(e){const t=qe(this),{has:n,get:i}=Ul(t);let o=n.call(t,e);o||(e=qe(e),o=n.call(t,e)),i&&i.call(t,e);const a=t.delete(e);return o&&Dr(t,"delete",e,void 0),a}function Nm(){const e=qe(this),t=e.size!==0,n=e.clear();return t&&Dr(e,"clear",void 0,void 0),n}function za(e,t){return function(i,o){const a=this,l=a.__v_raw,c=qe(l),f=t?Yf:e?Zf:Io;return!e&&pn(c,"iterate",Li),l.forEach((d,m)=>i.call(o,f(d),f(m),a))}}function Va(e,t,n){return function(...i){const o=this.__v_raw,a=qe(o),l=ys(a),c=e==="entries"||e===Symbol.iterator&&l,f=e==="keys"&&l,d=o[e](...i),m=n?Yf:t?Zf:Io;return!t&&pn(a,"iterate",f?ef:Li),{next(){const{value:p,done:g}=d.next();return g?{value:p,done:g}:{value:c?[m(p[0]),m(p[1])]:m(p),done:g}},[Symbol.iterator](){return this}}}}function qr(e){return function(...t){return e==="delete"?!1:this}}function xS(){const e={get(a){return Ba(this,a)},get size(){return ja(this)},has:Wa,add:Mm,set:Dm,delete:Lm,clear:Nm,forEach:za(!1,!1)},t={get(a){return Ba(this,a,!1,!0)},get size(){return ja(this)},has:Wa,add:Mm,set:Dm,delete:Lm,clear:Nm,forEach:za(!1,!0)},n={get(a){return Ba(this,a,!0)},get size(){return ja(this,!0)},has(a){return Wa.call(this,a,!0)},add:qr("add"),set:qr("set"),delete:qr("delete"),clear:qr("clear"),forEach:za(!0,!1)},i={get(a){return Ba(this,a,!0,!0)},get size(){return ja(this,!0)},has(a){return Wa.call(this,a,!0)},add:qr("add"),set:qr("set"),delete:qr("delete"),clear:qr("clear"),forEach:za(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Va(a,!1,!1),n[a]=Va(a,!0,!1),t[a]=Va(a,!1,!0),i[a]=Va(a,!0,!0)}),[e,n,t,i]}const[PS,SS,RS,AS]=xS();function Hl(e,t){const n=t?e?AS:RS:e?SS:PS;return(i,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?i:Reflect.get(Qe(n,o)&&o in i?n:i,o,a)}const IS={get:Hl(!1,!1)},$S={get:Hl(!1,!0)},MS={get:Hl(!0,!1)},DS={get:Hl(!0,!0)},bv=new WeakMap,wv=new WeakMap,Ev=new WeakMap,Tv=new WeakMap;function LS(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function NS(e){return e.__v_skip||!Object.isExtensible(e)?0:LS(YP(e))}function ci(e){return Ui(e)?e:Bl(e,!1,vv,IS,bv)}function Qf(e){return Bl(e,!1,CS,$S,wv)}function Fs(e){return Bl(e,!0,yv,MS,Ev)}function FS(e){return Bl(e,!0,OS,DS,Tv)}function Bl(e,t,n,i,o){if(!at(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const l=NS(e);if(l===0)return e;const c=new Proxy(e,l===2?i:n);return o.set(e,c),c}function Ir(e){return Ui(e)?Ir(e.__v_raw):!!(e&&e.__v_isReactive)}function Ui(e){return!!(e&&e.__v_isReadonly)}function Ao(e){return!!(e&&e.__v_isShallow)}function Xf(e){return Ir(e)||Ui(e)}function qe(e){const t=e&&e.__v_raw;return t?qe(t):e}function Ko(e){return fl(e,"__v_skip",!0),e}const Io=e=>at(e)?ci(e):e,Zf=e=>at(e)?Fs(e):e;function Jf(e){ii&&Gn&&(e=qe(e),mv(e.dep||(e.dep=Kf())))}function Wl(e,t){e=qe(e);const n=e.dep;n&&tf(n)}function et(e){return!!(e&&e.__v_isRef===!0)}function we(e){return Cv(e,!1)}function ws(e){return Cv(e,!0)}function Cv(e,t){return et(e)?e:new kS(e,t)}class kS{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:qe(t),this._value=n?t:Io(t)}get value(){return Jf(this),this._value}set value(t){const n=this.__v_isShallow||Ao(t)||Ui(t);t=n?t:qe(t),Ps(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Io(t),Wl(this))}}function US(e){Wl(e)}function Oe(e){return et(e)?e.value:e}function HS(e){return $e(e)?e():Oe(e)}const BS={get:(e,t,n)=>Oe(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const o=e[t];return et(o)&&!et(n)?(o.value=n,!0):Reflect.set(e,t,n,i)}};function ed(e){return Ir(e)?e:new Proxy(e,BS)}class WS{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:i}=t(()=>Jf(this),()=>Wl(this));this._get=n,this._set=i}get value(){return this._get()}set value(t){this._set(t)}}function td(e){return new WS(e)}function Ov(e){const t=ye(e)?new Array(e.length):{};for(const n in e)t[n]=Pv(e,n);return t}class jS{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return fS(qe(this._object),this._key)}}class zS{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xv(e,t,n){return et(e)?e:$e(e)?new zS(e):at(e)&&arguments.length>1?Pv(e,t,n):we(e)}function Pv(e,t,n){const i=e[t];return et(i)?i:new jS(e,t,n)}class VS{constructor(t,n,i,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Go(t,()=>{this._dirty||(this._dirty=!0,Wl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=i}get value(){const t=qe(this);return Jf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function qS(e,t,n=!1){let i,o;const a=$e(e);return a?(i=e,o=Zn):(i=e.get,o=e.set),new VS(i,o,a||!o,n)}function GS(e,...t){}function KS(e,t){}function $r(e,t,n,i){let o;try{o=i?e(...i):e()}catch(a){zi(a,t,n)}return o}function Cn(e,t,n,i){if($e(e)){const a=$r(e,t,n,i);return a&&zf(a)&&a.catch(l=>{zi(l,t,n)}),a}const o=[];for(let a=0;a<e.length;a++)o.push(Cn(e[a],t,n,i));return o}function zi(e,t,n,i=!0){const o=t?t.vnode:null;if(t){let a=t.parent;const l=t.proxy,c=n;for(;a;){const d=a.ec;if(d){for(let m=0;m<d.length;m++)if(d[m](e,l,c)===!1)return}a=a.parent}const f=t.appContext.config.errorHandler;if(f){$r(f,null,10,[e,l,c]);return}}YS(e,n,o,i)}function YS(e,t,n,i=!0){console.error(e)}let $o=!1,nf=!1;const zt=[];let ur=0;const Es=[];let Rr=null,Ii=0;const Sv=Promise.resolve();let nd=null;function mr(e){const t=nd||Sv;return e?t.then(this?e.bind(this):e):t}function QS(e){let t=ur+1,n=zt.length;for(;t<n;){const i=t+n>>>1;Mo(zt[i])<e?t=i+1:n=i}return t}function jl(e){(!zt.length||!zt.includes(e,$o&&e.allowRecurse?ur+1:ur))&&(e.id==null?zt.push(e):zt.splice(QS(e.id),0,e),Rv())}function Rv(){!$o&&!nf&&(nf=!0,nd=Sv.then(Av))}function XS(e){const t=zt.indexOf(e);t>ur&&zt.splice(t,1)}function rd(e){ye(e)?Es.push(...e):(!Rr||!Rr.includes(e,e.allowRecurse?Ii+1:Ii))&&Es.push(e),Rv()}function Fm(e,t=$o?ur+1:0){for(;t<zt.length;t++){const n=zt[t];n&&n.pre&&(zt.splice(t,1),t--,n())}}function ml(e){if(Es.length){const t=[...new Set(Es)];if(Es.length=0,Rr){Rr.push(...t);return}for(Rr=t,Rr.sort((n,i)=>Mo(n)-Mo(i)),Ii=0;Ii<Rr.length;Ii++)Rr[Ii]();Rr=null,Ii=0}}const Mo=e=>e.id==null?1/0:e.id,ZS=(e,t)=>{const n=Mo(e)-Mo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Av(e){nf=!1,$o=!0,zt.sort(ZS);const t=Zn;try{for(ur=0;ur<zt.length;ur++){const n=zt[ur];n&&n.active!==!1&&$r(n,null,14)}}finally{ur=0,zt.length=0,ml(),$o=!1,nd=null,(zt.length||Es.length)&&Av()}}let ps,qa=[];function Iv(e,t){var n,i;ps=e,ps?(ps.enabled=!0,qa.forEach(({event:o,args:a})=>ps.emit(o,...a)),qa=[]):typeof window<"u"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Iv(a,t)}),setTimeout(()=>{ps||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,qa=[])},3e3)):qa=[]}function JS(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||ot;let o=n;const a=t.startsWith("update:"),l=a&&t.slice(7);if(l&&l in i){const m=`${l==="modelValue"?"model":l}Modifiers`,{number:p,trim:g}=i[m]||ot;g&&(o=n.map(y=>vt(y)?y.trim():y)),p&&(o=n.map(dl))}let c,f=i[c=po(t)]||i[c=po(hn(t))];!f&&a&&(f=i[c=po(Nn(t))]),f&&Cn(f,e,6,o);const d=i[c+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Cn(d,e,6,o)}}function $v(e,t,n=!1){const i=t.emitsCache,o=i.get(e);if(o!==void 0)return o;const a=e.emits;let l={},c=!1;if(!$e(e)){const f=d=>{const m=$v(d,t,!0);m&&(c=!0,mt(l,m))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!a&&!c?(at(e)&&i.set(e,null),null):(ye(a)?a.forEach(f=>l[f]=null):mt(l,a),at(e)&&i.set(e,l),l)}function zl(e,t){return!e||!Vo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Qe(e,t[0].toLowerCase()+t.slice(1))||Qe(e,Nn(t))||Qe(e,t))}let $t=null,Vl=null;function Do(e){const t=$t;return $t=e,Vl=e&&e.type.__scopeId||null,t}function ql(e){Vl=e}function Gl(){Vl=null}const Mv=e=>Vt;function Vt(e,t=$t,n){if(!t||e._n)return e;const i=(...o)=>{i._d&&cf(-1);const a=Do(t);let l;try{l=e(...o)}finally{Do(a),i._d&&cf(1)}return l};return i._n=!0,i._c=!0,i._d=!0,i}function il(e){const{type:t,vnode:n,proxy:i,withProxy:o,props:a,propsOptions:[l],slots:c,attrs:f,emit:d,render:m,renderCache:p,data:g,setupState:y,ctx:_,inheritAttrs:b}=e;let P,w;const T=Do(e);try{if(n.shapeFlag&4){const C=o||i;P=Tn(m.call(C,C,p,a,y,g,_)),w=f}else{const C=t;P=Tn(C.length>1?C(a,{attrs:f,slots:c,emit:d}):C(a,null)),w=t.props?f:tR(f)}}catch(C){vo.length=0,zi(C,e,1),P=Fe(Kt)}let A=P;if(w&&b!==!1){const C=Object.keys(w),{shapeFlag:x}=A;C.length&&x&7&&(l&&C.some(Wf)&&(w=nR(w,l)),A=hr(A,w))}return n.dirs&&(A=hr(A),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&(A.transition=n.transition),P=A,Do(T),P}function eR(e){let t;for(let n=0;n<e.length;n++){const i=e[n];if(di(i)){if(i.type!==Kt||i.children==="v-if"){if(t)return;t=i}}else return}return t}const tR=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vo(n))&&((t||(t={}))[n]=e[n]);return t},nR=(e,t)=>{const n={};for(const i in e)(!Wf(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function rR(e,t,n){const{props:i,children:o,component:a}=e,{props:l,children:c,patchFlag:f}=t,d=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return i?km(i,l,d):!!l;if(f&8){const m=t.dynamicProps;for(let p=0;p<m.length;p++){const g=m[p];if(l[g]!==i[g]&&!zl(d,g))return!0}}}else return(o||c)&&(!c||!c.$stable)?!0:i===l?!1:i?l?km(i,l,d):!0:!!l;return!1}function km(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let o=0;o<i.length;o++){const a=i[o];if(t[a]!==e[a]&&!zl(n,a))return!0}return!1}function id({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Dv=e=>e.__isSuspense,iR={name:"Suspense",__isSuspense:!0,process(e,t,n,i,o,a,l,c,f,d){e==null?oR(t,n,i,o,a,l,c,f,d):aR(e,t,n,i,o,l,c,f,d)},hydrate:lR,create:sd,normalize:uR},sR=iR;function Lo(e,t){const n=e.props&&e.props[t];$e(n)&&n()}function oR(e,t,n,i,o,a,l,c,f){const{p:d,o:{createElement:m}}=f,p=m("div"),g=e.suspense=sd(e,o,i,t,p,n,a,l,c,f);d(null,g.pendingBranch=e.ssContent,p,null,i,g,a,l),g.deps>0?(Lo(e,"onPending"),Lo(e,"onFallback"),d(null,e.ssFallback,t,n,i,null,a,l),Ts(g,e.ssFallback)):g.resolve(!1,!0)}function aR(e,t,n,i,o,a,l,c,{p:f,um:d,o:{createElement:m}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const g=t.ssContent,y=t.ssFallback,{activeBranch:_,pendingBranch:b,isInFallback:P,isHydrating:w}=p;if(b)p.pendingBranch=g,Kn(g,b)?(f(b,g,p.hiddenContainer,null,o,p,a,l,c),p.deps<=0?p.resolve():P&&(f(_,y,n,i,o,null,a,l,c),Ts(p,y))):(p.pendingId++,w?(p.isHydrating=!1,p.activeBranch=b):d(b,o,p),p.deps=0,p.effects.length=0,p.hiddenContainer=m("div"),P?(f(null,g,p.hiddenContainer,null,o,p,a,l,c),p.deps<=0?p.resolve():(f(_,y,n,i,o,null,a,l,c),Ts(p,y))):_&&Kn(g,_)?(f(_,g,n,i,o,p,a,l,c),p.resolve(!0)):(f(null,g,p.hiddenContainer,null,o,p,a,l,c),p.deps<=0&&p.resolve()));else if(_&&Kn(g,_))f(_,g,n,i,o,p,a,l,c),Ts(p,g);else if(Lo(t,"onPending"),p.pendingBranch=g,p.pendingId++,f(null,g,p.hiddenContainer,null,o,p,a,l,c),p.deps<=0)p.resolve();else{const{timeout:T,pendingId:A}=p;T>0?setTimeout(()=>{p.pendingId===A&&p.fallback(y)},T):T===0&&p.fallback(y)}}function sd(e,t,n,i,o,a,l,c,f,d,m=!1){const{p,m:g,um:y,n:_,o:{parentNode:b,remove:P}}=d;let w;const T=cR(e);T&&t!=null&&t.pendingBranch&&(w=t.pendingId,t.deps++);const A=e.props?hl(e.props.timeout):void 0,C={vnode:e,parent:t,parentComponent:n,isSVG:l,container:i,hiddenContainer:o,anchor:a,deps:0,pendingId:0,timeout:typeof A=="number"?A:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:m,isUnmounted:!1,effects:[],resolve(x=!1,I=!1){const{vnode:R,activeBranch:S,pendingBranch:$,pendingId:L,effects:W,parentComponent:G,container:V}=C;if(C.isHydrating)C.isHydrating=!1;else if(!x){const ee=S&&$.transition&&$.transition.mode==="out-in";ee&&(S.transition.afterLeave=()=>{L===C.pendingId&&g($,V,K,0)});let{anchor:K}=C;S&&(K=_(S),y(S,G,C,!0)),ee||g($,V,K,0)}Ts(C,$),C.pendingBranch=null,C.isInFallback=!1;let j=C.parent,Y=!1;for(;j;){if(j.pendingBranch){j.effects.push(...W),Y=!0;break}j=j.parent}Y||rd(W),C.effects=[],T&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!I&&t.resolve()),Lo(R,"onResolve")},fallback(x){if(!C.pendingBranch)return;const{vnode:I,activeBranch:R,parentComponent:S,container:$,isSVG:L}=C;Lo(I,"onFallback");const W=_(R),G=()=>{C.isInFallback&&(p(null,x,$,W,S,null,L,c,f),Ts(C,x))},V=x.transition&&x.transition.mode==="out-in";V&&(R.transition.afterLeave=G),C.isInFallback=!0,y(R,S,null,!0),V||G()},move(x,I,R){C.activeBranch&&g(C.activeBranch,x,I,R),C.container=x},next(){return C.activeBranch&&_(C.activeBranch)},registerDep(x,I){const R=!!C.pendingBranch;R&&C.deps++;const S=x.vnode.el;x.asyncDep.catch($=>{zi($,x,0)}).then($=>{if(x.isUnmounted||C.isUnmounted||C.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:L}=x;ff(x,$,!1),S&&(L.el=S);const W=!S&&x.subTree.el;I(x,L,b(S||x.subTree.el),S?null:_(x.subTree),C,l,f),W&&P(W),id(x,L.el),R&&--C.deps===0&&C.resolve()})},unmount(x,I){C.isUnmounted=!0,C.activeBranch&&y(C.activeBranch,n,x,I),C.pendingBranch&&y(C.pendingBranch,n,x,I)}};return C}function lR(e,t,n,i,o,a,l,c,f){const d=t.suspense=sd(t,i,n,e.parentNode,document.createElement("div"),null,o,a,l,c,!0),m=f(e,d.pendingBranch=t.ssContent,n,d,a,l);return d.deps===0&&d.resolve(!1,!0),m}function uR(e){const{shapeFlag:t,children:n}=e,i=t&32;e.ssContent=Um(i?n.default:n),e.ssFallback=i?Um(n.fallback):Fe(Kt)}function Um(e){let t;if($e(e)){const n=Bi&&e._c;n&&(e._d=!1,Ve()),e=e(),n&&(e._d=!0,t=dn,cy())}return ye(e)&&(e=eR(e)),e=Tn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Lv(e,t){t&&t.pendingBranch?ye(e)?t.effects.push(...e):t.effects.push(e):rd(e)}function Ts(e,t){e.activeBranch=t;const{vnode:n,parentComponent:i}=e,o=n.el=t.el;i&&i.subTree===n&&(i.vnode.el=o,id(i,o))}function cR(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function od(e,t){return Yo(e,null,t)}function Nv(e,t){return Yo(e,null,{flush:"post"})}function fR(e,t){return Yo(e,null,{flush:"sync"})}const Ga={};function ct(e,t,n){return Yo(e,t,n)}function Yo(e,t,{immediate:n,deep:i,flush:o,onTrack:a,onTrigger:l}=ot){var c;const f=Fl()===((c=xt)==null?void 0:c.scope)?xt:null;let d,m=!1,p=!1;if(et(e)?(d=()=>e.value,m=Ao(e)):Ir(e)?(d=()=>e,i=!0):ye(e)?(p=!0,m=e.some(C=>Ir(C)||Ao(C)),d=()=>e.map(C=>{if(et(C))return C.value;if(Ir(C))return Mi(C);if($e(C))return $r(C,f,2)})):$e(e)?t?d=()=>$r(e,f,2):d=()=>{if(!(f&&f.isUnmounted))return g&&g(),Cn(e,f,3,[y])}:d=Zn,t&&i){const C=d;d=()=>Mi(C())}let g,y=C=>{g=T.onStop=()=>{$r(C,f,4)}},_;if(Rs)if(y=Zn,t?n&&Cn(t,f,3,[d(),p?[]:void 0,y]):d(),o==="sync"){const C=yy();_=C.__watcherHandles||(C.__watcherHandles=[])}else return Zn;let b=p?new Array(e.length).fill(Ga):Ga;const P=()=>{if(T.active)if(t){const C=T.run();(i||m||(p?C.some((x,I)=>Ps(x,b[I])):Ps(C,b)))&&(g&&g(),Cn(t,f,3,[C,b===Ga?void 0:p&&b[0]===Ga?[]:b,y]),b=C)}else T.run()};P.allowRecurse=!!t;let w;o==="sync"?w=P:o==="post"?w=()=>kt(P,f&&f.suspense):(P.pre=!0,f&&(P.id=f.uid),w=()=>jl(P));const T=new Go(d,w);t?n?P():b=T.run():o==="post"?kt(T.run.bind(T),f&&f.suspense):T.run();const A=()=>{T.stop(),f&&f.scope&&jf(f.scope.effects,T)};return _&&_.push(A),A}function dR(e,t,n){const i=this.proxy,o=vt(e)?e.includes(".")?Fv(i,e):()=>i[e]:e.bind(i,i);let a;$e(t)?a=t:(a=t.handler,n=t);const l=xt;hi(this);const c=Yo(o,a.bind(i),n);return l?hi(l):si(),c}function Fv(e,t){const n=t.split(".");return()=>{let i=e;for(let o=0;o<n.length&&i;o++)i=i[n[o]];return i}}function Mi(e,t){if(!at(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),et(e))Mi(e.value,t);else if(ye(e))for(let n=0;n<e.length;n++)Mi(e[n],t);else if(ji(e)||ys(e))e.forEach(n=>{Mi(n,t)});else if(av(e))for(const n in e)Mi(e[n],t);return e}function kv(e,t){const n=$t;if(n===null)return e;const i=Jl(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[l,c,f,d=ot]=t[a];l&&($e(l)&&(l={mounted:l,updated:l}),l.deep&&Mi(c),o.push({dir:l,instance:i,value:c,oldValue:void 0,arg:f,modifiers:d}))}return e}function ar(e,t,n,i){const o=e.dirs,a=t&&t.dirs;for(let l=0;l<o.length;l++){const c=o[l];a&&(c.oldValue=a[l].value);let f=c.dir[i];f&&(Ls(),Cn(f,n,8,[e.el,c,e,t]),Ns())}}function ad(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gr(()=>{e.isMounted=!0}),Xo(()=>{e.isUnmounting=!0}),e}const Ln=[Function,Array],ld={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ln,onEnter:Ln,onAfterEnter:Ln,onEnterCancelled:Ln,onBeforeLeave:Ln,onLeave:Ln,onAfterLeave:Ln,onLeaveCancelled:Ln,onBeforeAppear:Ln,onAppear:Ln,onAfterAppear:Ln,onAppearCancelled:Ln},hR={name:"BaseTransition",props:ld,setup(e,{slots:t}){const n=Dt(),i=ad();let o;return()=>{const a=t.default&&Kl(t.default(),!0);if(!a||!a.length)return;let l=a[0];if(a.length>1){for(const b of a)if(b.type!==Kt){l=b;break}}const c=qe(e),{mode:f}=c;if(i.isLeaving)return Pc(l);const d=Hm(l);if(!d)return Pc(l);const m=Ss(d,c,i,n);Hi(d,m);const p=n.subTree,g=p&&Hm(p);let y=!1;const{getTransitionKey:_}=d.type;if(_){const b=_();o===void 0?o=b:b!==o&&(o=b,y=!0)}if(g&&g.type!==Kt&&(!Kn(d,g)||y)){const b=Ss(g,c,i,n);if(Hi(g,b),f==="out-in")return i.isLeaving=!0,b.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},Pc(l);f==="in-out"&&d.type!==Kt&&(b.delayLeave=(P,w,T)=>{const A=Hv(i,g);A[String(g.key)]=g,P._leaveCb=()=>{w(),P._leaveCb=void 0,delete m.delayedLeave},m.delayedLeave=T})}return l}}},Uv=hR;function Hv(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function Ss(e,t,n,i){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:d,onEnterCancelled:m,onBeforeLeave:p,onLeave:g,onAfterLeave:y,onLeaveCancelled:_,onBeforeAppear:b,onAppear:P,onAfterAppear:w,onAppearCancelled:T}=t,A=String(e.key),C=Hv(n,e),x=(S,$)=>{S&&Cn(S,i,9,$)},I=(S,$)=>{const L=$[1];x(S,$),ye(S)?S.every(W=>W.length<=1)&&L():S.length<=1&&L()},R={mode:a,persisted:l,beforeEnter(S){let $=c;if(!n.isMounted)if(o)$=b||c;else return;S._leaveCb&&S._leaveCb(!0);const L=C[A];L&&Kn(e,L)&&L.el._leaveCb&&L.el._leaveCb(),x($,[S])},enter(S){let $=f,L=d,W=m;if(!n.isMounted)if(o)$=P||f,L=w||d,W=T||m;else return;let G=!1;const V=S._enterCb=j=>{G||(G=!0,j?x(W,[S]):x(L,[S]),R.delayedLeave&&R.delayedLeave(),S._enterCb=void 0)};$?I($,[S,V]):V()},leave(S,$){const L=String(e.key);if(S._enterCb&&S._enterCb(!0),n.isUnmounting)return $();x(p,[S]);let W=!1;const G=S._leaveCb=V=>{W||(W=!0,$(),V?x(_,[S]):x(y,[S]),S._leaveCb=void 0,C[L]===e&&delete C[L])};C[L]=e,g?I(g,[S,G]):G()},clone(S){return Ss(S,t,n,i)}};return R}function Pc(e){if(Qo(e))return e=hr(e),e.children=null,e}function Hm(e){return Qo(e)?e.children?e.children[0]:void 0:e}function Hi(e,t){e.shapeFlag&6&&e.component?Hi(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Kl(e,t=!1,n){let i=[],o=0;for(let a=0;a<e.length;a++){let l=e[a];const c=n==null?l.key:String(n)+String(l.key!=null?l.key:a);l.type===wt?(l.patchFlag&128&&o++,i=i.concat(Kl(l.children,t,c))):(t||l.type!==Kt)&&i.push(c!=null?hr(l,{key:c}):l)}if(o>1)for(let a=0;a<i.length;a++)i[a].patchFlag=-2;return i}function Mt(e,t){return $e(e)?(()=>mt({name:e.name},t,{setup:e}))():e}const Ni=e=>!!e.type.__asyncLoader;function pR(e){$e(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:o=200,timeout:a,suspensible:l=!0,onError:c}=e;let f=null,d,m=0;const p=()=>(m++,f=null,g()),g=()=>{let y;return f||(y=f=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),c)return new Promise((b,P)=>{c(_,()=>b(p()),()=>P(_),m+1)});throw _}).then(_=>y!==f&&f?f:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),d=_,_)))};return Mt({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return d},setup(){const y=xt;if(d)return()=>Sc(d,y);const _=T=>{f=null,zi(T,y,13,!i)};if(l&&y.suspense||Rs)return g().then(T=>()=>Sc(T,y)).catch(T=>(_(T),()=>i?Fe(i,{error:T}):null));const b=we(!1),P=we(),w=we(!!o);return o&&setTimeout(()=>{w.value=!1},o),a!=null&&setTimeout(()=>{if(!b.value&&!P.value){const T=new Error(`Async component timed out after ${a}ms.`);_(T),P.value=T}},a),g().then(()=>{b.value=!0,y.parent&&Qo(y.parent.vnode)&&jl(y.parent.update)}).catch(T=>{_(T),P.value=T}),()=>{if(b.value&&d)return Sc(d,y);if(P.value&&i)return Fe(i,{error:P.value});if(n&&!w.value)return Fe(n)}}})}function Sc(e,t){const{ref:n,props:i,children:o,ce:a}=t.vnode,l=Fe(e,i,o);return l.ref=n,l.ce=a,delete t.vnode.ce,l}const Qo=e=>e.type.__isKeepAlive,mR={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Dt(),i=n.ctx;if(!i.renderer)return()=>{const T=t.default&&t.default();return T&&T.length===1?T[0]:T};const o=new Map,a=new Set;let l=null;const c=n.suspense,{renderer:{p:f,m:d,um:m,o:{createElement:p}}}=i,g=p("div");i.activate=(T,A,C,x,I)=>{const R=T.component;d(T,A,C,0,c),f(R.vnode,T,A,C,R,c,x,T.slotScopeIds,I),kt(()=>{R.isDeactivated=!1,R.a&&bs(R.a);const S=T.props&&T.props.onVnodeMounted;S&&fn(S,R.parent,T)},c)},i.deactivate=T=>{const A=T.component;d(T,g,null,1,c),kt(()=>{A.da&&bs(A.da);const C=T.props&&T.props.onVnodeUnmounted;C&&fn(C,A.parent,T),A.isDeactivated=!0},c)};function y(T){Rc(T),m(T,n,c,!0)}function _(T){o.forEach((A,C)=>{const x=hf(A.type);x&&(!T||!T(x))&&b(C)})}function b(T){const A=o.get(T);!l||!Kn(A,l)?y(A):l&&Rc(l),o.delete(T),a.delete(T)}ct(()=>[e.include,e.exclude],([T,A])=>{T&&_(C=>uo(T,C)),A&&_(C=>!uo(A,C))},{flush:"post",deep:!0});let P=null;const w=()=>{P!=null&&o.set(P,Ac(n.subTree))};return gr(w),Ql(w),Xo(()=>{o.forEach(T=>{const{subTree:A,suspense:C}=n,x=Ac(A);if(T.type===x.type&&T.key===x.key){Rc(x);const I=x.component.da;I&&kt(I,C);return}y(T)})}),()=>{if(P=null,!t.default)return null;const T=t.default(),A=T[0];if(T.length>1)return l=null,T;if(!di(A)||!(A.shapeFlag&4)&&!(A.shapeFlag&128))return l=null,A;let C=Ac(A);const x=C.type,I=hf(Ni(C)?C.type.__asyncResolved||{}:x),{include:R,exclude:S,max:$}=e;if(R&&(!I||!uo(R,I))||S&&I&&uo(S,I))return l=C,A;const L=C.key==null?x:C.key,W=o.get(L);return C.el&&(C=hr(C),A.shapeFlag&128&&(A.ssContent=C)),P=L,W?(C.el=W.el,C.component=W.component,C.transition&&Hi(C,C.transition),C.shapeFlag|=512,a.delete(L),a.add(L)):(a.add(L),$&&a.size>parseInt($,10)&&b(a.values().next().value)),C.shapeFlag|=256,l=C,Dv(A.type)?A:C}}},gR=mR;function uo(e,t){return ye(e)?e.some(n=>uo(n,t)):vt(e)?e.split(",").includes(t):KP(e)?e.test(t):!1}function ud(e,t){Bv(e,"a",t)}function cd(e,t){Bv(e,"da",t)}function Bv(e,t,n=xt){const i=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Yl(t,i,n),n){let o=n.parent;for(;o&&o.parent;)Qo(o.parent.vnode)&&_R(i,t,n,o),o=o.parent}}function _R(e,t,n,i){const o=Yl(t,e,i,!0);Vi(()=>{jf(i[t],o)},n)}function Rc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ac(e){return e.shapeFlag&128?e.ssContent:e}function Yl(e,t,n=xt,i=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Ls(),hi(n);const c=Cn(t,n,e,l);return si(),Ns(),c});return i?o.unshift(a):o.push(a),a}}const Lr=e=>(t,n=xt)=>(!Rs||e==="sp")&&Yl(e,(...i)=>t(...i),n),Wv=Lr("bm"),gr=Lr("m"),jv=Lr("bu"),Ql=Lr("u"),Xo=Lr("bum"),Vi=Lr("um"),zv=Lr("sp"),Vv=Lr("rtg"),qv=Lr("rtc");function Gv(e,t=xt){Yl("ec",e,t)}const fd="components",vR="directives";function On(e,t){return dd(fd,e,!0,t)||e}const Kv=Symbol.for("v-ndc");function yR(e){return vt(e)?dd(fd,e,!1)||e:e||Kv}function bR(e){return dd(vR,e)}function dd(e,t,n=!0,i=!1){const o=$t||xt;if(o){const a=o.type;if(e===fd){const c=hf(a,!1);if(c&&(c===t||c===hn(t)||c===qo(hn(t))))return a}const l=Bm(o[e]||a[e],t)||Bm(o.appContext[e],t);return!l&&i?a:l}}function Bm(e,t){return e&&(e[t]||e[hn(t)]||e[qo(hn(t))])}function Yv(e,t,n,i){let o;const a=n&&n[i];if(ye(e)||vt(e)){o=new Array(e.length);for(let l=0,c=e.length;l<c;l++)o[l]=t(e[l],l,void 0,a&&a[l])}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,a&&a[l])}else if(at(e))if(e[Symbol.iterator])o=Array.from(e,(l,c)=>t(l,c,void 0,a&&a[c]));else{const l=Object.keys(e);o=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const d=l[c];o[c]=t(e[d],d,c,a&&a[c])}}else o=[];return n&&(n[i]=o),o}function wR(e,t){for(let n=0;n<t.length;n++){const i=t[n];if(ye(i))for(let o=0;o<i.length;o++)e[i[o].name]=i[o].fn;else i&&(e[i.name]=i.key?(...o)=>{const a=i.fn(...o);return a&&(a.key=i.key),a}:i.fn)}return e}function No(e,t,n={},i,o){if($t.isCE||$t.parent&&Ni($t.parent)&&$t.parent.isCE)return t!=="default"&&(n.name=t),Fe("slot",n,i&&i());let a=e[t];a&&a._c&&(a._d=!1),Ve();const l=a&&Qv(a(n)),c=Nr(wt,{key:n.key||l&&l.key||`_${t}`},l||(i?i():[]),l&&e._===1?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),a&&a._c&&(a._d=!0),c}function Qv(e){return e.some(t=>di(t)?!(t.type===Kt||t.type===wt&&!Qv(t.children)):!0)?e:null}function ER(e,t){const n={};for(const i in e)n[t&&/[A-Z]/.test(i)?`on:${i}`:po(i)]=e[i];return n}const rf=e=>e?py(e)?Jl(e)||e.proxy:rf(e.parent):null,mo=mt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>rf(e.parent),$root:e=>rf(e.root),$emit:e=>e.emit,$options:e=>hd(e),$forceUpdate:e=>e.f||(e.f=()=>jl(e.update)),$nextTick:e=>e.n||(e.n=mr.bind(e.proxy)),$watch:e=>dR.bind(e)}),Ic=(e,t)=>e!==ot&&!e.__isScriptSetup&&Qe(e,t),sf={get({_:e},t){const{ctx:n,setupState:i,data:o,props:a,accessCache:l,type:c,appContext:f}=e;let d;if(t[0]!=="$"){const y=l[t];if(y!==void 0)switch(y){case 1:return i[t];case 2:return o[t];case 4:return n[t];case 3:return a[t]}else{if(Ic(i,t))return l[t]=1,i[t];if(o!==ot&&Qe(o,t))return l[t]=2,o[t];if((d=e.propsOptions[0])&&Qe(d,t))return l[t]=3,a[t];if(n!==ot&&Qe(n,t))return l[t]=4,n[t];of&&(l[t]=0)}}const m=mo[t];let p,g;if(m)return t==="$attrs"&&pn(e,"get",t),m(e);if((p=c.__cssModules)&&(p=p[t]))return p;if(n!==ot&&Qe(n,t))return l[t]=4,n[t];if(g=f.config.globalProperties,Qe(g,t))return g[t]},set({_:e},t,n){const{data:i,setupState:o,ctx:a}=e;return Ic(o,t)?(o[t]=n,!0):i!==ot&&Qe(i,t)?(i[t]=n,!0):Qe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:o,propsOptions:a}},l){let c;return!!n[l]||e!==ot&&Qe(e,l)||Ic(t,l)||(c=a[0])&&Qe(c,l)||Qe(i,l)||Qe(mo,l)||Qe(o.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Qe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},TR=mt({},sf,{get(e,t){if(t!==Symbol.unscopables)return sf.get(e,t,e)},has(e,t){return t[0]!=="_"&&!JP(t)}});function CR(){return null}function OR(){return null}function xR(e){}function PR(e){}function SR(){return null}function RR(){}function AR(e,t){return null}function IR(){return Xv().slots}function $R(){return Xv().attrs}function MR(e,t,n){const i=Dt();if(n&&n.local){const o=we(e[t]);return ct(()=>e[t],a=>o.value=a),ct(o,a=>{a!==e[t]&&i.emit(`update:${t}`,a)}),o}else return{__v_isRef:!0,get value(){return e[t]},set value(o){i.emit(`update:${t}`,o)}}}function Xv(){const e=Dt();return e.setupContext||(e.setupContext=_y(e))}function Fo(e){return ye(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function DR(e,t){const n=Fo(e);for(const i in t){if(i.startsWith("__skip"))continue;let o=n[i];o?ye(o)||$e(o)?o=n[i]={type:o,default:t[i]}:o.default=t[i]:o===null&&(o=n[i]={default:t[i]}),o&&t[`__skip_${i}`]&&(o.skipFactory=!0)}return n}function LR(e,t){return!e||!t?e||t:ye(e)&&ye(t)?e.concat(t):mt({},Fo(e),Fo(t))}function NR(e,t){const n={};for(const i in e)t.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>e[i]});return n}function FR(e){const t=Dt();let n=e();return si(),zf(n)&&(n=n.catch(i=>{throw hi(t),i})),[n,()=>hi(t)]}let of=!0;function kR(e){const t=hd(e),n=e.proxy,i=e.ctx;of=!1,t.beforeCreate&&Wm(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:l,watch:c,provide:f,inject:d,created:m,beforeMount:p,mounted:g,beforeUpdate:y,updated:_,activated:b,deactivated:P,beforeDestroy:w,beforeUnmount:T,destroyed:A,unmounted:C,render:x,renderTracked:I,renderTriggered:R,errorCaptured:S,serverPrefetch:$,expose:L,inheritAttrs:W,components:G,directives:V,filters:j}=t;if(d&&UR(d,i,null),l)for(const K in l){const ae=l[K];$e(ae)&&(i[K]=ae.bind(n))}if(o){const K=o.call(n,n);at(K)&&(e.data=ci(K))}if(of=!0,a)for(const K in a){const ae=a[K],be=$e(ae)?ae.bind(n,n):$e(ae.get)?ae.get.bind(n,n):Zn,Pe=!$e(ae)&&$e(ae.set)?ae.set.bind(n):Zn,Ae=Je({get:be,set:Pe});Object.defineProperty(i,K,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:Ie=>Ae.value=Ie})}if(c)for(const K in c)Zv(c[K],i,n,K);if(f){const K=$e(f)?f.call(n):f;Reflect.ownKeys(K).forEach(ae=>{go(ae,K[ae])})}m&&Wm(m,e,"c");function ee(K,ae){ye(ae)?ae.forEach(be=>K(be.bind(n))):ae&&K(ae.bind(n))}if(ee(Wv,p),ee(gr,g),ee(jv,y),ee(Ql,_),ee(ud,b),ee(cd,P),ee(Gv,S),ee(qv,I),ee(Vv,R),ee(Xo,T),ee(Vi,C),ee(zv,$),ye(L))if(L.length){const K=e.exposed||(e.exposed={});L.forEach(ae=>{Object.defineProperty(K,ae,{get:()=>n[ae],set:be=>n[ae]=be})})}else e.exposed||(e.exposed={});x&&e.render===Zn&&(e.render=x),W!=null&&(e.inheritAttrs=W),G&&(e.components=G),V&&(e.directives=V)}function UR(e,t,n=Zn){ye(e)&&(e=af(e));for(const i in e){const o=e[i];let a;at(o)?"default"in o?a=nn(o.from||i,o.default,!0):a=nn(o.from||i):a=nn(o),et(a)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>a.value,set:l=>a.value=l}):t[i]=a}}function Wm(e,t,n){Cn(ye(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Zv(e,t,n,i){const o=i.includes(".")?Fv(n,i):()=>n[i];if(vt(e)){const a=t[e];$e(a)&&ct(o,a)}else if($e(e))ct(o,e.bind(n));else if(at(e))if(ye(e))e.forEach(a=>Zv(a,t,n,i));else{const a=$e(e.handler)?e.handler.bind(n):t[e.handler];$e(a)&&ct(o,a,e)}}function hd(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:l}}=e.appContext,c=a.get(t);let f;return c?f=c:!o.length&&!n&&!i?f=t:(f={},o.length&&o.forEach(d=>gl(f,d,l,!0)),gl(f,t,l)),at(t)&&a.set(t,f),f}function gl(e,t,n,i=!1){const{mixins:o,extends:a}=t;a&&gl(e,a,n,!0),o&&o.forEach(l=>gl(e,l,n,!0));for(const l in t)if(!(i&&l==="expose")){const c=HR[l]||n&&n[l];e[l]=c?c(e[l],t[l]):t[l]}return e}const HR={data:jm,props:zm,emits:zm,methods:co,computed:co,beforeCreate:Zt,created:Zt,beforeMount:Zt,mounted:Zt,beforeUpdate:Zt,updated:Zt,beforeDestroy:Zt,beforeUnmount:Zt,destroyed:Zt,unmounted:Zt,activated:Zt,deactivated:Zt,errorCaptured:Zt,serverPrefetch:Zt,components:co,directives:co,watch:WR,provide:jm,inject:BR};function jm(e,t){return t?e?function(){return mt($e(e)?e.call(this,this):e,$e(t)?t.call(this,this):t)}:t:e}function BR(e,t){return co(af(e),af(t))}function af(e){if(ye(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Zt(e,t){return e?[...new Set([].concat(e,t))]:t}function co(e,t){return e?mt(Object.create(null),e,t):t}function zm(e,t){return e?ye(e)&&ye(t)?[...new Set([...e,...t])]:mt(Object.create(null),Fo(e),Fo(t??{})):t}function WR(e,t){if(!e)return t;if(!t)return e;const n=mt(Object.create(null),e);for(const i in t)n[i]=Zt(e[i],t[i]);return n}function Jv(){return{app:null,config:{isNativeTag:VP,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let jR=0;function zR(e,t){return function(i,o=null){$e(i)||(i=mt({},i)),o!=null&&!at(o)&&(o=null);const a=Jv(),l=new Set;let c=!1;const f=a.app={_uid:jR++,_component:i,_props:o,_container:null,_context:a,_instance:null,version:yd,get config(){return a.config},set config(d){},use(d,...m){return l.has(d)||(d&&$e(d.install)?(l.add(d),d.install(f,...m)):$e(d)&&(l.add(d),d(f,...m))),f},mixin(d){return a.mixins.includes(d)||a.mixins.push(d),f},component(d,m){return m?(a.components[d]=m,f):a.components[d]},directive(d,m){return m?(a.directives[d]=m,f):a.directives[d]},mount(d,m,p){if(!c){const g=Fe(i,o);return g.appContext=a,m&&t?t(g,d):e(g,d,p),c=!0,f._container=d,d.__vue_app__=f,Jl(g.component)||g.component.proxy}},unmount(){c&&(e(null,f._container),delete f._container.__vue_app__)},provide(d,m){return a.provides[d]=m,f},runWithContext(d){ko=f;try{return d()}finally{ko=null}}};return f}}let ko=null;function go(e,t){if(xt){let n=xt.provides;const i=xt.parent&&xt.parent.provides;i===n&&(n=xt.provides=Object.create(i)),n[e]=t}}function nn(e,t,n=!1){const i=xt||$t;if(i||ko){const o=i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:ko._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&$e(t)?t.call(i&&i.proxy):t}}function ey(){return!!(xt||$t||ko)}function VR(e,t,n,i=!1){const o={},a={};fl(a,Xl,1),e.propsDefaults=Object.create(null),ty(e,t,o,a);for(const l in e.propsOptions[0])l in o||(o[l]=void 0);n?e.props=i?o:Qf(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function qR(e,t,n,i){const{props:o,attrs:a,vnode:{patchFlag:l}}=e,c=qe(o),[f]=e.propsOptions;let d=!1;if((i||l>0)&&!(l&16)){if(l&8){const m=e.vnode.dynamicProps;for(let p=0;p<m.length;p++){let g=m[p];if(zl(e.emitsOptions,g))continue;const y=t[g];if(f)if(Qe(a,g))y!==a[g]&&(a[g]=y,d=!0);else{const _=hn(g);o[_]=lf(f,c,_,y,e,!1)}else y!==a[g]&&(a[g]=y,d=!0)}}}else{ty(e,t,o,a)&&(d=!0);let m;for(const p in c)(!t||!Qe(t,p)&&((m=Nn(p))===p||!Qe(t,m)))&&(f?n&&(n[p]!==void 0||n[m]!==void 0)&&(o[p]=lf(f,c,p,void 0,e,!0)):delete o[p]);if(a!==c)for(const p in a)(!t||!Qe(t,p))&&(delete a[p],d=!0)}d&&Dr(e,"set","$attrs")}function ty(e,t,n,i){const[o,a]=e.propsOptions;let l=!1,c;if(t)for(let f in t){if(ho(f))continue;const d=t[f];let m;o&&Qe(o,m=hn(f))?!a||!a.includes(m)?n[m]=d:(c||(c={}))[m]=d:zl(e.emitsOptions,f)||(!(f in i)||d!==i[f])&&(i[f]=d,l=!0)}if(a){const f=qe(n),d=c||ot;for(let m=0;m<a.length;m++){const p=a[m];n[p]=lf(o,f,p,d[p],e,!Qe(d,p))}}return l}function lf(e,t,n,i,o,a){const l=e[n];if(l!=null){const c=Qe(l,"default");if(c&&i===void 0){const f=l.default;if(l.type!==Function&&!l.skipFactory&&$e(f)){const{propsDefaults:d}=o;n in d?i=d[n]:(hi(o),i=d[n]=f.call(null,t),si())}else i=f}l[0]&&(a&&!c?i=!1:l[1]&&(i===""||i===Nn(n))&&(i=!0))}return i}function ny(e,t,n=!1){const i=t.propsCache,o=i.get(e);if(o)return o;const a=e.props,l={},c=[];let f=!1;if(!$e(e)){const m=p=>{f=!0;const[g,y]=ny(p,t,!0);mt(l,g),y&&c.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!a&&!f)return at(e)&&i.set(e,vs),vs;if(ye(a))for(let m=0;m<a.length;m++){const p=hn(a[m]);Vm(p)&&(l[p]=ot)}else if(a)for(const m in a){const p=hn(m);if(Vm(p)){const g=a[m],y=l[p]=ye(g)||$e(g)?{type:g}:mt({},g);if(y){const _=Km(Boolean,y.type),b=Km(String,y.type);y[0]=_>-1,y[1]=b<0||_<b,(_>-1||Qe(y,"default"))&&c.push(p)}}}const d=[l,c];return at(e)&&i.set(e,d),d}function Vm(e){return e[0]!=="$"}function qm(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Gm(e,t){return qm(e)===qm(t)}function Km(e,t){return ye(t)?t.findIndex(n=>Gm(n,e)):$e(t)&&Gm(t,e)?0:-1}const ry=e=>e[0]==="_"||e==="$stable",pd=e=>ye(e)?e.map(Tn):[Tn(e)],GR=(e,t,n)=>{if(t._n)return t;const i=Vt((...o)=>pd(t(...o)),n);return i._c=!1,i},iy=(e,t,n)=>{const i=e._ctx;for(const o in e){if(ry(o))continue;const a=e[o];if($e(a))t[o]=GR(o,a,i);else if(a!=null){const l=pd(a);t[o]=()=>l}}},sy=(e,t)=>{const n=pd(t);e.slots.default=()=>n},KR=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=qe(t),fl(t,"_",n)):iy(t,e.slots={})}else e.slots={},t&&sy(e,t);fl(e.slots,Xl,1)},YR=(e,t,n)=>{const{vnode:i,slots:o}=e;let a=!0,l=ot;if(i.shapeFlag&32){const c=t._;c?n&&c===1?a=!1:(mt(o,t),!n&&c===1&&delete o._):(a=!t.$stable,iy(t,o)),l=t}else t&&(sy(e,t),l={default:1});if(a)for(const c in o)!ry(c)&&!(c in l)&&delete o[c]};function _l(e,t,n,i,o=!1){if(ye(e)){e.forEach((g,y)=>_l(g,t&&(ye(t)?t[y]:t),n,i,o));return}if(Ni(i)&&!o)return;const a=i.shapeFlag&4?Jl(i.component)||i.component.proxy:i.el,l=o?null:a,{i:c,r:f}=e,d=t&&t.r,m=c.refs===ot?c.refs={}:c.refs,p=c.setupState;if(d!=null&&d!==f&&(vt(d)?(m[d]=null,Qe(p,d)&&(p[d]=null)):et(d)&&(d.value=null)),$e(f))$r(f,c,12,[l,m]);else{const g=vt(f),y=et(f);if(g||y){const _=()=>{if(e.f){const b=g?Qe(p,f)?p[f]:m[f]:f.value;o?ye(b)&&jf(b,a):ye(b)?b.includes(a)||b.push(a):g?(m[f]=[a],Qe(p,f)&&(p[f]=m[f])):(f.value=[a],e.k&&(m[e.k]=f.value))}else g?(m[f]=l,Qe(p,f)&&(p[f]=l)):y&&(f.value=l,e.k&&(m[e.k]=l))};l?(_.id=-1,kt(_,n)):_()}}}let Gr=!1;const Ka=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Ya=e=>e.nodeType===8;function QR(e){const{mt:t,p:n,o:{patchProp:i,createText:o,nextSibling:a,parentNode:l,remove:c,insert:f,createComment:d}}=e,m=(w,T)=>{if(!T.hasChildNodes()){n(null,w,T),ml(),T._vnode=w;return}Gr=!1,p(T.firstChild,w,null,null,null),ml(),T._vnode=w,Gr&&console.error("Hydration completed but contains mismatches.")},p=(w,T,A,C,x,I=!1)=>{const R=Ya(w)&&w.data==="[",S=()=>b(w,T,A,C,x,R),{type:$,ref:L,shapeFlag:W,patchFlag:G}=T;let V=w.nodeType;T.el=w,G===-2&&(I=!1,T.dynamicChildren=null);let j=null;switch($){case fi:V!==3?T.children===""?(f(T.el=o(""),l(w),w),j=w):j=S():(w.data!==T.children&&(Gr=!0,w.data=T.children),j=a(w));break;case Kt:V!==8||R?j=S():j=a(w);break;case Fi:if(R&&(w=a(w),V=w.nodeType),V===1||V===3){j=w;const Y=!T.children.length;for(let ee=0;ee<T.staticCount;ee++)Y&&(T.children+=j.nodeType===1?j.outerHTML:j.data),ee===T.staticCount-1&&(T.anchor=j),j=a(j);return R?a(j):j}else S();break;case wt:R?j=_(w,T,A,C,x,I):j=S();break;default:if(W&1)V!==1||T.type.toLowerCase()!==w.tagName.toLowerCase()?j=S():j=g(w,T,A,C,x,I);else if(W&6){T.slotScopeIds=x;const Y=l(w);if(t(T,Y,null,A,C,Ka(Y),I),j=R?P(w):a(w),j&&Ya(j)&&j.data==="teleport end"&&(j=a(j)),Ni(T)){let ee;R?(ee=Fe(wt),ee.anchor=j?j.previousSibling:Y.lastChild):ee=w.nodeType===3?Yn(""):Fe("div"),ee.el=w,T.component.subTree=ee}}else W&64?V!==8?j=S():j=T.type.hydrate(w,T,A,C,x,I,e,y):W&128&&(j=T.type.hydrate(w,T,A,C,Ka(l(w)),x,I,e,p))}return L!=null&&_l(L,null,C,T),j},g=(w,T,A,C,x,I)=>{I=I||!!T.dynamicChildren;const{type:R,props:S,patchFlag:$,shapeFlag:L,dirs:W}=T,G=R==="input"&&W||R==="option";if(G||$!==-1){if(W&&ar(T,null,A,"created"),S)if(G||!I||$&48)for(const j in S)(G&&j.endsWith("value")||Vo(j)&&!ho(j))&&i(w,j,null,S[j],!1,void 0,A);else S.onClick&&i(w,"onClick",null,S.onClick,!1,void 0,A);let V;if((V=S&&S.onVnodeBeforeMount)&&fn(V,A,T),W&&ar(T,null,A,"beforeMount"),((V=S&&S.onVnodeMounted)||W)&&Lv(()=>{V&&fn(V,A,T),W&&ar(T,null,A,"mounted")},C),L&16&&!(S&&(S.innerHTML||S.textContent))){let j=y(w.firstChild,T,w,A,C,x,I);for(;j;){Gr=!0;const Y=j;j=j.nextSibling,c(Y)}}else L&8&&w.textContent!==T.children&&(Gr=!0,w.textContent=T.children)}return w.nextSibling},y=(w,T,A,C,x,I,R)=>{R=R||!!T.dynamicChildren;const S=T.children,$=S.length;for(let L=0;L<$;L++){const W=R?S[L]:S[L]=Tn(S[L]);if(w)w=p(w,W,C,x,I,R);else{if(W.type===fi&&!W.children)continue;Gr=!0,n(null,W,A,null,C,x,Ka(A),I)}}return w},_=(w,T,A,C,x,I)=>{const{slotScopeIds:R}=T;R&&(x=x?x.concat(R):R);const S=l(w),$=y(a(w),T,S,A,C,x,I);return $&&Ya($)&&$.data==="]"?a(T.anchor=$):(Gr=!0,f(T.anchor=d("]"),S,$),$)},b=(w,T,A,C,x,I)=>{if(Gr=!0,T.el=null,I){const $=P(w);for(;;){const L=a(w);if(L&&L!==$)c(L);else break}}const R=a(w),S=l(w);return c(w),n(null,T,S,R,A,C,Ka(S),x),R},P=w=>{let T=0;for(;w;)if(w=a(w),w&&Ya(w)&&(w.data==="["&&T++,w.data==="]")){if(T===0)return a(w);T--}return w};return[m,p]}const kt=Lv;function oy(e){return ly(e)}function ay(e){return ly(e,QR)}function ly(e,t){const n=Zc();n.__VUE__=!0;const{insert:i,remove:o,patchProp:a,createElement:l,createText:c,createComment:f,setText:d,setElementText:m,parentNode:p,nextSibling:g,setScopeId:y=Zn,insertStaticContent:_}=e,b=(M,N,H,Q=null,re=null,ie=null,de=!1,le=null,ue=!!N.dynamicChildren)=>{if(M===N)return;M&&!Kn(M,N)&&(Q=J(M),Ie(M,re,ie,!0),M=null),N.patchFlag===-2&&(ue=!1,N.dynamicChildren=null);const{type:X,ref:B,shapeFlag:z}=N;switch(X){case fi:P(M,N,H,Q);break;case Kt:w(M,N,H,Q);break;case Fi:M==null&&T(N,H,Q,de);break;case wt:G(M,N,H,Q,re,ie,de,le,ue);break;default:z&1?x(M,N,H,Q,re,ie,de,le,ue):z&6?V(M,N,H,Q,re,ie,de,le,ue):(z&64||z&128)&&X.process(M,N,H,Q,re,ie,de,le,ue,oe)}B!=null&&re&&_l(B,M&&M.ref,ie,N||M,!N)},P=(M,N,H,Q)=>{if(M==null)i(N.el=c(N.children),H,Q);else{const re=N.el=M.el;N.children!==M.children&&d(re,N.children)}},w=(M,N,H,Q)=>{M==null?i(N.el=f(N.children||""),H,Q):N.el=M.el},T=(M,N,H,Q)=>{[M.el,M.anchor]=_(M.children,N,H,Q,M.el,M.anchor)},A=({el:M,anchor:N},H,Q)=>{let re;for(;M&&M!==N;)re=g(M),i(M,H,Q),M=re;i(N,H,Q)},C=({el:M,anchor:N})=>{let H;for(;M&&M!==N;)H=g(M),o(M),M=H;o(N)},x=(M,N,H,Q,re,ie,de,le,ue)=>{de=de||N.type==="svg",M==null?I(N,H,Q,re,ie,de,le,ue):$(M,N,re,ie,de,le,ue)},I=(M,N,H,Q,re,ie,de,le)=>{let ue,X;const{type:B,props:z,shapeFlag:_e,transition:ve,dirs:Le}=M;if(ue=M.el=l(M.type,ie,z&&z.is,z),_e&8?m(ue,M.children):_e&16&&S(M.children,ue,null,Q,re,ie&&B!=="foreignObject",de,le),Le&&ar(M,null,Q,"created"),R(ue,M,M.scopeId,de,Q),z){for(const Ne in z)Ne!=="value"&&!ho(Ne)&&a(ue,Ne,null,z[Ne],ie,M.children,Q,re,rt);"value"in z&&a(ue,"value",null,z.value),(X=z.onVnodeBeforeMount)&&fn(X,Q,M)}Le&&ar(M,null,Q,"beforeMount");const We=(!re||re&&!re.pendingBranch)&&ve&&!ve.persisted;We&&ve.beforeEnter(ue),i(ue,N,H),((X=z&&z.onVnodeMounted)||We||Le)&&kt(()=>{X&&fn(X,Q,M),We&&ve.enter(ue),Le&&ar(M,null,Q,"mounted")},re)},R=(M,N,H,Q,re)=>{if(H&&y(M,H),Q)for(let ie=0;ie<Q.length;ie++)y(M,Q[ie]);if(re){let ie=re.subTree;if(N===ie){const de=re.vnode;R(M,de,de.scopeId,de.slotScopeIds,re.parent)}}},S=(M,N,H,Q,re,ie,de,le,ue=0)=>{for(let X=ue;X<M.length;X++){const B=M[X]=le?ei(M[X]):Tn(M[X]);b(null,B,N,H,Q,re,ie,de,le)}},$=(M,N,H,Q,re,ie,de)=>{const le=N.el=M.el;let{patchFlag:ue,dynamicChildren:X,dirs:B}=N;ue|=M.patchFlag&16;const z=M.props||ot,_e=N.props||ot;let ve;H&&Pi(H,!1),(ve=_e.onVnodeBeforeUpdate)&&fn(ve,H,N,M),B&&ar(N,M,H,"beforeUpdate"),H&&Pi(H,!0);const Le=re&&N.type!=="foreignObject";if(X?L(M.dynamicChildren,X,le,H,Q,Le,ie):de||ae(M,N,le,null,H,Q,Le,ie,!1),ue>0){if(ue&16)W(le,N,z,_e,H,Q,re);else if(ue&2&&z.class!==_e.class&&a(le,"class",null,_e.class,re),ue&4&&a(le,"style",z.style,_e.style,re),ue&8){const We=N.dynamicProps;for(let Ne=0;Ne<We.length;Ne++){const dt=We[Ne],Bt=z[dt],rr=_e[dt];(rr!==Bt||dt==="value")&&a(le,dt,Bt,rr,re,M.children,H,Q,rt)}}ue&1&&M.children!==N.children&&m(le,N.children)}else!de&&X==null&&W(le,N,z,_e,H,Q,re);((ve=_e.onVnodeUpdated)||B)&&kt(()=>{ve&&fn(ve,H,N,M),B&&ar(N,M,H,"updated")},Q)},L=(M,N,H,Q,re,ie,de)=>{for(let le=0;le<N.length;le++){const ue=M[le],X=N[le],B=ue.el&&(ue.type===wt||!Kn(ue,X)||ue.shapeFlag&70)?p(ue.el):H;b(ue,X,B,null,Q,re,ie,de,!0)}},W=(M,N,H,Q,re,ie,de)=>{if(H!==Q){if(H!==ot)for(const le in H)!ho(le)&&!(le in Q)&&a(M,le,H[le],null,de,N.children,re,ie,rt);for(const le in Q){if(ho(le))continue;const ue=Q[le],X=H[le];ue!==X&&le!=="value"&&a(M,le,X,ue,de,N.children,re,ie,rt)}"value"in Q&&a(M,"value",H.value,Q.value)}},G=(M,N,H,Q,re,ie,de,le,ue)=>{const X=N.el=M?M.el:c(""),B=N.anchor=M?M.anchor:c("");let{patchFlag:z,dynamicChildren:_e,slotScopeIds:ve}=N;ve&&(le=le?le.concat(ve):ve),M==null?(i(X,H,Q),i(B,H,Q),S(N.children,H,B,re,ie,de,le,ue)):z>0&&z&64&&_e&&M.dynamicChildren?(L(M.dynamicChildren,_e,H,re,ie,de,le),(N.key!=null||re&&N===re.subTree)&&md(M,N,!0)):ae(M,N,H,B,re,ie,de,le,ue)},V=(M,N,H,Q,re,ie,de,le,ue)=>{N.slotScopeIds=le,M==null?N.shapeFlag&512?re.ctx.activate(N,H,Q,de,ue):j(N,H,Q,re,ie,de,ue):Y(M,N,ue)},j=(M,N,H,Q,re,ie,de)=>{const le=M.component=hy(M,Q,re);if(Qo(M)&&(le.ctx.renderer=oe),my(le),le.asyncDep){if(re&&re.registerDep(le,ee),!M.el){const ue=le.subTree=Fe(Kt);w(null,ue,N,H)}return}ee(le,M,N,H,re,ie,de)},Y=(M,N,H)=>{const Q=N.component=M.component;if(rR(M,N,H))if(Q.asyncDep&&!Q.asyncResolved){K(Q,N,H);return}else Q.next=N,XS(Q.update),Q.update();else N.el=M.el,Q.vnode=N},ee=(M,N,H,Q,re,ie,de)=>{const le=()=>{if(M.isMounted){let{next:B,bu:z,u:_e,parent:ve,vnode:Le}=M,We=B,Ne;Pi(M,!1),B?(B.el=Le.el,K(M,B,de)):B=Le,z&&bs(z),(Ne=B.props&&B.props.onVnodeBeforeUpdate)&&fn(Ne,ve,B,Le),Pi(M,!0);const dt=il(M),Bt=M.subTree;M.subTree=dt,b(Bt,dt,p(Bt.el),J(Bt),M,re,ie),B.el=dt.el,We===null&&id(M,dt.el),_e&&kt(_e,re),(Ne=B.props&&B.props.onVnodeUpdated)&&kt(()=>fn(Ne,ve,B,Le),re)}else{let B;const{el:z,props:_e}=N,{bm:ve,m:Le,parent:We}=M,Ne=Ni(N);if(Pi(M,!1),ve&&bs(ve),!Ne&&(B=_e&&_e.onVnodeBeforeMount)&&fn(B,We,N),Pi(M,!0),z&&ke){const dt=()=>{M.subTree=il(M),ke(z,M.subTree,M,re,null)};Ne?N.type.__asyncLoader().then(()=>!M.isUnmounted&&dt()):dt()}else{const dt=M.subTree=il(M);b(null,dt,H,Q,M,re,ie),N.el=dt.el}if(Le&&kt(Le,re),!Ne&&(B=_e&&_e.onVnodeMounted)){const dt=N;kt(()=>fn(B,We,dt),re)}(N.shapeFlag&256||We&&Ni(We.vnode)&&We.vnode.shapeFlag&256)&&M.a&&kt(M.a,re),M.isMounted=!0,N=H=Q=null}},ue=M.effect=new Go(le,()=>jl(X),M.scope),X=M.update=()=>ue.run();X.id=M.uid,Pi(M,!0),X()},K=(M,N,H)=>{N.component=M;const Q=M.vnode.props;M.vnode=N,M.next=null,qR(M,N.props,Q,H),YR(M,N.children,H),Ls(),Fm(),Ns()},ae=(M,N,H,Q,re,ie,de,le,ue=!1)=>{const X=M&&M.children,B=M?M.shapeFlag:0,z=N.children,{patchFlag:_e,shapeFlag:ve}=N;if(_e>0){if(_e&128){Pe(X,z,H,Q,re,ie,de,le,ue);return}else if(_e&256){be(X,z,H,Q,re,ie,de,le,ue);return}}ve&8?(B&16&&rt(X,re,ie),z!==X&&m(H,z)):B&16?ve&16?Pe(X,z,H,Q,re,ie,de,le,ue):rt(X,re,ie,!0):(B&8&&m(H,""),ve&16&&S(z,H,Q,re,ie,de,le,ue))},be=(M,N,H,Q,re,ie,de,le,ue)=>{M=M||vs,N=N||vs;const X=M.length,B=N.length,z=Math.min(X,B);let _e;for(_e=0;_e<z;_e++){const ve=N[_e]=ue?ei(N[_e]):Tn(N[_e]);b(M[_e],ve,H,null,re,ie,de,le,ue)}X>B?rt(M,re,ie,!0,!1,z):S(N,H,Q,re,ie,de,le,ue,z)},Pe=(M,N,H,Q,re,ie,de,le,ue)=>{let X=0;const B=N.length;let z=M.length-1,_e=B-1;for(;X<=z&&X<=_e;){const ve=M[X],Le=N[X]=ue?ei(N[X]):Tn(N[X]);if(Kn(ve,Le))b(ve,Le,H,null,re,ie,de,le,ue);else break;X++}for(;X<=z&&X<=_e;){const ve=M[z],Le=N[_e]=ue?ei(N[_e]):Tn(N[_e]);if(Kn(ve,Le))b(ve,Le,H,null,re,ie,de,le,ue);else break;z--,_e--}if(X>z){if(X<=_e){const ve=_e+1,Le=ve<B?N[ve].el:Q;for(;X<=_e;)b(null,N[X]=ue?ei(N[X]):Tn(N[X]),H,Le,re,ie,de,le,ue),X++}}else if(X>_e)for(;X<=z;)Ie(M[X],re,ie,!0),X++;else{const ve=X,Le=X,We=new Map;for(X=Le;X<=_e;X++){const Lt=N[X]=ue?ei(N[X]):Tn(N[X]);Lt.key!=null&&We.set(Lt.key,X)}let Ne,dt=0;const Bt=_e-Le+1;let rr=!1,Yi=0;const _r=new Array(Bt);for(X=0;X<Bt;X++)_r[X]=0;for(X=ve;X<=z;X++){const Lt=M[X];if(dt>=Bt){Ie(Lt,re,ie,!0);continue}let rn;if(Lt.key!=null)rn=We.get(Lt.key);else for(Ne=Le;Ne<=_e;Ne++)if(_r[Ne-Le]===0&&Kn(Lt,N[Ne])){rn=Ne;break}rn===void 0?Ie(Lt,re,ie,!0):(_r[rn-Le]=X+1,rn>=Yi?Yi=rn:rr=!0,b(Lt,N[rn],H,null,re,ie,de,le,ue),dt++)}const Qi=rr?XR(_r):vs;for(Ne=Qi.length-1,X=Bt-1;X>=0;X--){const Lt=Le+X,rn=N[Lt],Xi=Lt+1<B?N[Lt+1].el:Q;_r[X]===0?b(null,rn,H,Xi,re,ie,de,le,ue):rr&&(Ne<0||X!==Qi[Ne]?Ae(rn,H,Xi,2):Ne--)}}},Ae=(M,N,H,Q,re=null)=>{const{el:ie,type:de,transition:le,children:ue,shapeFlag:X}=M;if(X&6){Ae(M.component.subTree,N,H,Q);return}if(X&128){M.suspense.move(N,H,Q);return}if(X&64){de.move(M,N,H,oe);return}if(de===wt){i(ie,N,H);for(let z=0;z<ue.length;z++)Ae(ue[z],N,H,Q);i(M.anchor,N,H);return}if(de===Fi){A(M,N,H);return}if(Q!==2&&X&1&&le)if(Q===0)le.beforeEnter(ie),i(ie,N,H),kt(()=>le.enter(ie),re);else{const{leave:z,delayLeave:_e,afterLeave:ve}=le,Le=()=>i(ie,N,H),We=()=>{z(ie,()=>{Le(),ve&&ve()})};_e?_e(ie,Le,We):We()}else i(ie,N,H)},Ie=(M,N,H,Q=!1,re=!1)=>{const{type:ie,props:de,ref:le,children:ue,dynamicChildren:X,shapeFlag:B,patchFlag:z,dirs:_e}=M;if(le!=null&&_l(le,null,H,M,!0),B&256){N.ctx.deactivate(M);return}const ve=B&1&&_e,Le=!Ni(M);let We;if(Le&&(We=de&&de.onVnodeBeforeUnmount)&&fn(We,N,M),B&6)ft(M.component,H,Q);else{if(B&128){M.suspense.unmount(H,Q);return}ve&&ar(M,null,N,"beforeUnmount"),B&64?M.type.remove(M,N,H,re,oe,Q):X&&(ie!==wt||z>0&&z&64)?rt(X,N,H,!1,!0):(ie===wt&&z&384||!re&&B&16)&&rt(ue,N,H),Q&&nt(M)}(Le&&(We=de&&de.onVnodeUnmounted)||ve)&&kt(()=>{We&&fn(We,N,M),ve&&ar(M,null,N,"unmounted")},H)},nt=M=>{const{type:N,el:H,anchor:Q,transition:re}=M;if(N===wt){Ke(H,Q);return}if(N===Fi){C(M);return}const ie=()=>{o(H),re&&!re.persisted&&re.afterLeave&&re.afterLeave()};if(M.shapeFlag&1&&re&&!re.persisted){const{leave:de,delayLeave:le}=re,ue=()=>de(H,ie);le?le(M.el,ie,ue):ue()}else ie()},Ke=(M,N)=>{let H;for(;M!==N;)H=g(M),o(M),M=H;o(N)},ft=(M,N,H)=>{const{bum:Q,scope:re,update:ie,subTree:de,um:le}=M;Q&&bs(Q),re.stop(),ie&&(ie.active=!1,Ie(de,M,N,H)),le&&kt(le,N),kt(()=>{M.isUnmounted=!0},N),N&&N.pendingBranch&&!N.isUnmounted&&M.asyncDep&&!M.asyncResolved&&M.suspenseId===N.pendingId&&(N.deps--,N.deps===0&&N.resolve())},rt=(M,N,H,Q=!1,re=!1,ie=0)=>{for(let de=ie;de<M.length;de++)Ie(M[de],N,H,Q,re)},J=M=>M.shapeFlag&6?J(M.component.subTree):M.shapeFlag&128?M.suspense.next():g(M.anchor||M.el),fe=(M,N,H)=>{M==null?N._vnode&&Ie(N._vnode,null,null,!0):b(N._vnode||null,M,N,null,null,null,H),Fm(),ml(),N._vnode=M},oe={p:b,um:Ie,m:Ae,r:nt,mt:j,mc:S,pc:ae,pbc:L,n:J,o:e};let pe,ke;return t&&([pe,ke]=t(oe)),{render:fe,hydrate:pe,createApp:zR(fe,pe)}}function Pi({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function md(e,t,n=!1){const i=e.children,o=t.children;if(ye(i)&&ye(o))for(let a=0;a<i.length;a++){const l=i[a];let c=o[a];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=o[a]=ei(o[a]),c.el=l.el),n||md(l,c)),c.type===fi&&(c.el=l.el)}}function XR(e){const t=e.slice(),n=[0];let i,o,a,l,c;const f=e.length;for(i=0;i<f;i++){const d=e[i];if(d!==0){if(o=n[n.length-1],e[o]<d){t[i]=o,n.push(i);continue}for(a=0,l=n.length-1;a<l;)c=a+l>>1,e[n[c]]<d?a=c+1:l=c;d<e[n[a]]&&(a>0&&(t[i]=n[a-1]),n[a]=i)}}for(a=n.length,l=n[a-1];a-- >0;)n[a]=l,l=t[l];return n}const ZR=e=>e.__isTeleport,_o=e=>e&&(e.disabled||e.disabled===""),Ym=e=>typeof SVGElement<"u"&&e instanceof SVGElement,uf=(e,t)=>{const n=e&&e.to;return vt(n)?t?t(n):null:n},JR={__isTeleport:!0,process(e,t,n,i,o,a,l,c,f,d){const{mc:m,pc:p,pbc:g,o:{insert:y,querySelector:_,createText:b,createComment:P}}=d,w=_o(t.props);let{shapeFlag:T,children:A,dynamicChildren:C}=t;if(e==null){const x=t.el=b(""),I=t.anchor=b("");y(x,n,i),y(I,n,i);const R=t.target=uf(t.props,_),S=t.targetAnchor=b("");R&&(y(S,R),l=l||Ym(R));const $=(L,W)=>{T&16&&m(A,L,W,o,a,l,c,f)};w?$(n,I):R&&$(R,S)}else{t.el=e.el;const x=t.anchor=e.anchor,I=t.target=e.target,R=t.targetAnchor=e.targetAnchor,S=_o(e.props),$=S?n:I,L=S?x:R;if(l=l||Ym(I),C?(g(e.dynamicChildren,C,$,o,a,l,c),md(e,t,!0)):f||p(e,t,$,L,o,a,l,c,!1),w)S||Qa(t,n,x,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=uf(t.props,_);W&&Qa(t,W,null,d,0)}else S&&Qa(t,I,R,d,1)}uy(t)},remove(e,t,n,i,{um:o,o:{remove:a}},l){const{shapeFlag:c,children:f,anchor:d,targetAnchor:m,target:p,props:g}=e;if(p&&a(m),(l||!_o(g))&&(a(d),c&16))for(let y=0;y<f.length;y++){const _=f[y];o(_,t,n,!0,!!_.dynamicChildren)}},move:Qa,hydrate:eA};function Qa(e,t,n,{o:{insert:i},m:o},a=2){a===0&&i(e.targetAnchor,t,n);const{el:l,anchor:c,shapeFlag:f,children:d,props:m}=e,p=a===2;if(p&&i(l,t,n),(!p||_o(m))&&f&16)for(let g=0;g<d.length;g++)o(d[g],t,n,2);p&&i(c,t,n)}function eA(e,t,n,i,o,a,{o:{nextSibling:l,parentNode:c,querySelector:f}},d){const m=t.target=uf(t.props,f);if(m){const p=m._lpa||m.firstChild;if(t.shapeFlag&16)if(_o(t.props))t.anchor=d(l(e),t,c(e),n,i,o,a),t.targetAnchor=p;else{t.anchor=l(e);let g=p;for(;g;)if(g=l(g),g&&g.nodeType===8&&g.data==="teleport anchor"){t.targetAnchor=g,m._lpa=t.targetAnchor&&l(t.targetAnchor);break}d(p,t,m,n,i,o,a)}uy(t)}return t.anchor&&l(t.anchor)}const tA=JR;function uy(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const wt=Symbol.for("v-fgt"),fi=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),Fi=Symbol.for("v-stc"),vo=[];let dn=null;function Ve(e=!1){vo.push(dn=e?null:[])}function cy(){vo.pop(),dn=vo[vo.length-1]||null}let Bi=1;function cf(e){Bi+=e}function fy(e){return e.dynamicChildren=Bi>0?dn||vs:null,cy(),Bi>0&&dn&&dn.push(e),e}function ut(e,t,n,i,o,a){return fy(ge(e,t,n,i,o,a,!0))}function Nr(e,t,n,i,o){return fy(Fe(e,t,n,i,o,!0))}function di(e){return e?e.__v_isVNode===!0:!1}function Kn(e,t){return e.type===t.type&&e.key===t.key}function nA(e){}const Xl="__vInternal",dy=({key:e})=>e??null,sl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?vt(e)||et(e)||$e(e)?{i:$t,r:e,k:t,f:!!n}:e:null);function ge(e,t=null,n=null,i=0,o=null,a=e===wt?0:1,l=!1,c=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&dy(t),ref:t&&sl(t),scopeId:Vl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:$t};return c?(_d(f,n),a&128&&e.normalize(f)):n&&(f.shapeFlag|=vt(n)?8:16),Bi>0&&!l&&dn&&(f.patchFlag>0||a&6)&&f.patchFlag!==32&&dn.push(f),f}const Fe=rA;function rA(e,t=null,n=null,i=0,o=null,a=!1){if((!e||e===Kv)&&(e=Kt),di(e)){const c=hr(e,t,!0);return n&&_d(c,n),Bi>0&&!a&&dn&&(c.shapeFlag&6?dn[dn.indexOf(e)]=c:dn.push(c)),c.patchFlag|=-2,c}if(fA(e)&&(e=e.__vccOpts),t){t=gd(t);let{class:c,style:f}=t;c&&!vt(c)&&(t.class=tn(c)),at(f)&&(Xf(f)&&!ye(f)&&(f=mt({},f)),t.style=Jn(f))}const l=vt(e)?1:Dv(e)?128:ZR(e)?64:at(e)?4:$e(e)?2:0;return ge(e,t,n,i,o,l,a,!0)}function gd(e){return e?Xf(e)||Xl in e?mt({},e):e:null}function hr(e,t,n=!1){const{props:i,ref:o,patchFlag:a,children:l}=e,c=t?Zl(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&dy(c),ref:t&&t.ref?n&&o?ye(o)?o.concat(sl(t)):[o,sl(t)]:sl(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==wt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hr(e.ssContent),ssFallback:e.ssFallback&&hr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Yn(e=" ",t=0){return Fe(fi,null,e,t)}function iA(e,t){const n=Fe(Fi,null,e);return n.staticCount=t,n}function kn(e="",t=!1){return t?(Ve(),Nr(Kt,null,e)):Fe(Kt,null,e)}function Tn(e){return e==null||typeof e=="boolean"?Fe(Kt):ye(e)?Fe(wt,null,e.slice()):typeof e=="object"?ei(e):Fe(fi,null,String(e))}function ei(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:hr(e)}function _d(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(ye(t))n=16;else if(typeof t=="object")if(i&65){const o=t.default;o&&(o._c&&(o._d=!1),_d(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Xl in t)?t._ctx=$t:o===3&&$t&&($t.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $e(t)?(t={default:t,_ctx:$t},n=32):(t=String(t),i&64?(n=16,t=[Yn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Zl(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const o in i)if(o==="class")t.class!==i.class&&(t.class=tn([t.class,i.class]));else if(o==="style")t.style=Jn([t.style,i.style]);else if(Vo(o)){const a=t[o],l=i[o];l&&a!==l&&!(ye(a)&&a.includes(l))&&(t[o]=a?[].concat(a,l):l)}else o!==""&&(t[o]=i[o])}return t}function fn(e,t,n,i=null){Cn(e,t,7,[n,i])}const sA=Jv();let oA=0;function hy(e,t,n){const i=e.type,o=(t?t.appContext:e.appContext)||sA,a={uid:oA++,vnode:e,type:i,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new qf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ny(i,o),emitsOptions:$v(i,o),emit:null,emitted:null,propsDefaults:ot,inheritAttrs:i.inheritAttrs,ctx:ot,data:ot,props:ot,attrs:ot,slots:ot,refs:ot,setupState:ot,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=JS.bind(null,a),e.ce&&e.ce(a),a}let xt=null;const Dt=()=>xt||$t;let vd,ds,Qm="__VUE_INSTANCE_SETTERS__";(ds=Zc()[Qm])||(ds=Zc()[Qm]=[]),ds.push(e=>xt=e),vd=e=>{ds.length>1?ds.forEach(t=>t(e)):ds[0](e)};const hi=e=>{vd(e),e.scope.on()},si=()=>{xt&&xt.scope.off(),vd(null)};function py(e){return e.vnode.shapeFlag&4}let Rs=!1;function my(e,t=!1){Rs=t;const{props:n,children:i}=e.vnode,o=py(e);VR(e,n,o,t),KR(e,i);const a=o?aA(e,t):void 0;return Rs=!1,a}function aA(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ko(new Proxy(e.ctx,sf));const{setup:i}=n;if(i){const o=e.setupContext=i.length>1?_y(e):null;hi(e),Ls();const a=$r(i,e,0,[e.props,o]);if(Ns(),si(),zf(a)){if(a.then(si,si),t)return a.then(l=>{ff(e,l,t)}).catch(l=>{zi(l,e,0)});e.asyncDep=a}else ff(e,a,t)}else gy(e,t)}function ff(e,t,n){$e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:at(t)&&(e.setupState=ed(t)),gy(e,n)}let vl,df;function lA(e){vl=e,df=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,TR))}}const uA=()=>!vl;function gy(e,t,n){const i=e.type;if(!e.render){if(!t&&vl&&!i.render){const o=i.template||hd(e).template;if(o){const{isCustomElement:a,compilerOptions:l}=e.appContext.config,{delimiters:c,compilerOptions:f}=i,d=mt(mt({isCustomElement:a,delimiters:c},l),f);i.render=vl(o,d)}}e.render=i.render||Zn,df&&df(e)}hi(e),Ls(),kR(e),Ns(),si()}function cA(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return pn(e,"get","$attrs"),t[n]}}))}function _y(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return cA(e)},slots:e.slots,emit:e.emit,expose:t}}function Jl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ed(Ko(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mo)return mo[n](e)},has(t,n){return n in t||n in mo}}))}function hf(e,t=!0){return $e(e)?e.displayName||e.name:e.name||t&&e.__name}function fA(e){return $e(e)&&"__vccOpts"in e}const Je=(e,t)=>qS(e,t,Rs);function qi(e,t,n){const i=arguments.length;return i===2?at(t)&&!ye(t)?di(t)?Fe(e,null,[t]):Fe(e,t):Fe(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&di(n)&&(n=[n]),Fe(e,t,n))}const vy=Symbol.for("v-scx"),yy=()=>nn(vy);function dA(){}function hA(e,t,n,i){const o=n[i];if(o&&by(o,e))return o;const a=t();return a.memo=e.slice(),n[i]=a}function by(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let i=0;i<n.length;i++)if(Ps(n[i],t[i]))return!1;return Bi>0&&dn&&dn.push(e),!0}const yd="3.3.4",pA={createComponentInstance:hy,setupComponent:my,renderComponentRoot:il,setCurrentRenderingInstance:Do,isVNode:di,normalizeVNode:Tn},mA=pA,gA=null,_A=null,vA="http://www.w3.org/2000/svg",$i=typeof document<"u"?document:null,Xm=$i&&$i.createElement("template"),yA={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const o=t?$i.createElementNS(vA,e):$i.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:e=>$i.createTextNode(e),createComment:e=>$i.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$i.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,o,a){const l=n?n.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===a||!(o=o.nextSibling)););else{Xm.innerHTML=i?`<svg>${e}</svg>`:e;const c=Xm.content;if(i){const f=c.firstChild;for(;f.firstChild;)c.appendChild(f.firstChild);c.removeChild(f)}t.insertBefore(c,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function bA(e,t,n){const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function wA(e,t,n){const i=e.style,o=vt(n);if(n&&!o){if(t&&!vt(t))for(const a in t)n[a]==null&&pf(i,a,"");for(const a in n)pf(i,a,n[a])}else{const a=i.display;o?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=a)}}const Zm=/\s*!important$/;function pf(e,t,n){if(ye(n))n.forEach(i=>pf(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=EA(e,t);Zm.test(n)?e.setProperty(Nn(i),n.replace(Zm,""),"important"):e[i]=n}}const Jm=["Webkit","Moz","ms"],$c={};function EA(e,t){const n=$c[t];if(n)return n;let i=hn(t);if(i!=="filter"&&i in e)return $c[t]=i;i=qo(i);for(let o=0;o<Jm.length;o++){const a=Jm[o]+i;if(a in e)return $c[t]=a}return t}const eg="http://www.w3.org/1999/xlink";function TA(e,t,n,i,o){if(i&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(eg,t.slice(6,t.length)):e.setAttributeNS(eg,t,n);else{const a=sS(t);n==null||a&&!uv(n)?e.removeAttribute(t):e.setAttribute(t,a?"":n)}}function CA(e,t,n,i,o,a,l){if(t==="innerHTML"||t==="textContent"){i&&l(i,o,a),e[t]=n??"";return}const c=e.tagName;if(t==="value"&&c!=="PROGRESS"&&!c.includes("-")){e._value=n;const d=c==="OPTION"?e.getAttribute("value"):e.value,m=n??"";d!==m&&(e.value=m),n==null&&e.removeAttribute(t);return}let f=!1;if(n===""||n==null){const d=typeof e[t];d==="boolean"?n=uv(n):n==null&&d==="string"?(n="",f=!0):d==="number"&&(n=0,f=!0)}try{e[t]=n}catch{}f&&e.removeAttribute(t)}function Ar(e,t,n,i){e.addEventListener(t,n,i)}function OA(e,t,n,i){e.removeEventListener(t,n,i)}function xA(e,t,n,i,o=null){const a=e._vei||(e._vei={}),l=a[t];if(i&&l)l.value=i;else{const[c,f]=PA(t);if(i){const d=a[t]=AA(i,o);Ar(e,c,d,f)}else l&&(OA(e,c,l,f),a[t]=void 0)}}const tg=/(?:Once|Passive|Capture)$/;function PA(e){let t;if(tg.test(e)){t={};let i;for(;i=e.match(tg);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Nn(e.slice(2)),t]}let Mc=0;const SA=Promise.resolve(),RA=()=>Mc||(SA.then(()=>Mc=0),Mc=Date.now());function AA(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Cn(IA(i,n.value),t,5,[i])};return n.value=e,n.attached=RA(),n}function IA(e,t){if(ye(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>o=>!o._stopped&&i&&i(o))}else return t}const ng=/^on[a-z]/,$A=(e,t,n,i,o=!1,a,l,c,f)=>{t==="class"?bA(e,i,o):t==="style"?wA(e,n,i):Vo(t)?Wf(t)||xA(e,t,n,i,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):MA(e,t,i,o))?CA(e,t,i,a,l,c,f):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),TA(e,t,i,o))};function MA(e,t,n,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&ng.test(t)&&$e(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ng.test(t)&&vt(n)?!1:t in e}function wy(e,t){const n=Mt(e);class i extends eu{constructor(a){super(n,a,t)}}return i.def=n,i}const DA=e=>wy(e,ky),LA=typeof HTMLElement<"u"?HTMLElement:class{};class eu extends LA{constructor(t,n={},i){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&i?i(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,mr(()=>{this._connected||(_f(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let i=0;i<this.attributes.length;i++)this._setAttr(this.attributes[i].name);new MutationObserver(i=>{for(const o of i)this._setAttr(o.attributeName)}).observe(this,{attributes:!0});const t=(i,o=!1)=>{const{props:a,styles:l}=i;let c;if(a&&!ye(a))for(const f in a){const d=a[f];(d===Number||d&&d.type===Number)&&(f in this._props&&(this._props[f]=hl(this._props[f])),(c||(c=Object.create(null)))[hn(f)]=!0)}this._numberProps=c,o&&this._resolveProps(i),this._applyStyles(l),this._update()},n=this._def.__asyncLoader;n?n().then(i=>t(i,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,i=ye(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&i.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of i.map(hn))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(a){this._setProp(o,a)}})}_setAttr(t){let n=this.getAttribute(t);const i=hn(t);this._numberProps&&this._numberProps[i]&&(n=hl(n)),this._setProp(i,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,i=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),i&&(n===!0?this.setAttribute(Nn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Nn(t),n+""):n||this.removeAttribute(Nn(t))))}_update(){_f(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Fe(this._def,mt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const i=(a,l)=>{this.dispatchEvent(new CustomEvent(a,{detail:l}))};n.emit=(a,...l)=>{i(a,l),Nn(a)!==a&&i(Nn(a),l)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof eu){n.parent=o._instance,n.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const i=document.createElement("style");i.textContent=n,this.shadowRoot.appendChild(i)})}}function NA(e="$style"){{const t=Dt();if(!t)return ot;const n=t.type.__cssModules;if(!n)return ot;const i=n[e];return i||ot}}function FA(e){const t=Dt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>gf(a,o))},i=()=>{const o=e(t.proxy);mf(t.subTree,o),n(o)};Nv(i),gr(()=>{const o=new MutationObserver(i);o.observe(t.subTree.el.parentNode,{childList:!0}),Vi(()=>o.disconnect())})}function mf(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{mf(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)gf(e.el,t);else if(e.type===wt)e.children.forEach(n=>mf(n,t));else if(e.type===Fi){let{el:n,anchor:i}=e;for(;n&&(gf(n,t),n!==i);)n=n.nextSibling}}function gf(e,t){if(e.nodeType===1){const n=e.style;for(const i in t)n.setProperty(`--${i}`,t[i])}}const Kr="transition",ro="animation",bd=(e,{slots:t})=>qi(Uv,Ty(e),t);bd.displayName="Transition";const Ey={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},kA=bd.props=mt({},ld,Ey),Si=(e,t=[])=>{ye(e)?e.forEach(n=>n(...t)):e&&e(...t)},rg=e=>e?ye(e)?e.some(t=>t.length>1):e.length>1:!1;function Ty(e){const t={};for(const G in e)G in Ey||(t[G]=e[G]);if(e.css===!1)return t;const{name:n="v",type:i,duration:o,enterFromClass:a=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:f=a,appearActiveClass:d=l,appearToClass:m=c,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,_=UA(o),b=_&&_[0],P=_&&_[1],{onBeforeEnter:w,onEnter:T,onEnterCancelled:A,onLeave:C,onLeaveCancelled:x,onBeforeAppear:I=w,onAppear:R=T,onAppearCancelled:S=A}=t,$=(G,V,j)=>{Qr(G,V?m:c),Qr(G,V?d:l),j&&j()},L=(G,V)=>{G._isLeaving=!1,Qr(G,p),Qr(G,y),Qr(G,g),V&&V()},W=G=>(V,j)=>{const Y=G?R:T,ee=()=>$(V,G,j);Si(Y,[V,ee]),ig(()=>{Qr(V,G?f:a),Sr(V,G?m:c),rg(Y)||sg(V,i,b,ee)})};return mt(t,{onBeforeEnter(G){Si(w,[G]),Sr(G,a),Sr(G,l)},onBeforeAppear(G){Si(I,[G]),Sr(G,f),Sr(G,d)},onEnter:W(!1),onAppear:W(!0),onLeave(G,V){G._isLeaving=!0;const j=()=>L(G,V);Sr(G,p),Oy(),Sr(G,g),ig(()=>{G._isLeaving&&(Qr(G,p),Sr(G,y),rg(C)||sg(G,i,P,j))}),Si(C,[G,j])},onEnterCancelled(G){$(G,!1),Si(A,[G])},onAppearCancelled(G){$(G,!0),Si(S,[G])},onLeaveCancelled(G){L(G),Si(x,[G])}})}function UA(e){if(e==null)return null;if(at(e))return[Dc(e.enter),Dc(e.leave)];{const t=Dc(e);return[t,t]}}function Dc(e){return hl(e)}function Sr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Qr(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ig(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let HA=0;function sg(e,t,n,i){const o=e._endId=++HA,a=()=>{o===e._endId&&i()};if(n)return setTimeout(a,n);const{type:l,timeout:c,propCount:f}=Cy(e,t);if(!l)return i();const d=l+"end";let m=0;const p=()=>{e.removeEventListener(d,g),a()},g=y=>{y.target===e&&++m>=f&&p()};setTimeout(()=>{m<f&&p()},c+1),e.addEventListener(d,g)}function Cy(e,t){const n=window.getComputedStyle(e),i=_=>(n[_]||"").split(", "),o=i(`${Kr}Delay`),a=i(`${Kr}Duration`),l=og(o,a),c=i(`${ro}Delay`),f=i(`${ro}Duration`),d=og(c,f);let m=null,p=0,g=0;t===Kr?l>0&&(m=Kr,p=l,g=a.length):t===ro?d>0&&(m=ro,p=d,g=f.length):(p=Math.max(l,d),m=p>0?l>d?Kr:ro:null,g=m?m===Kr?a.length:f.length:0);const y=m===Kr&&/\b(transform|all)(,|$)/.test(i(`${Kr}Property`).toString());return{type:m,timeout:p,propCount:g,hasTransform:y}}function og(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,i)=>ag(n)+ag(e[i])))}function ag(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Oy(){return document.body.offsetHeight}const xy=new WeakMap,Py=new WeakMap,Sy={name:"TransitionGroup",props:mt({},kA,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Dt(),i=ad();let o,a;return Ql(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!qA(o[0].el,n.vnode.el,l))return;o.forEach(jA),o.forEach(zA);const c=o.filter(VA);Oy(),c.forEach(f=>{const d=f.el,m=d.style;Sr(d,l),m.transform=m.webkitTransform=m.transitionDuration="";const p=d._moveCb=g=>{g&&g.target!==d||(!g||/transform$/.test(g.propertyName))&&(d.removeEventListener("transitionend",p),d._moveCb=null,Qr(d,l))};d.addEventListener("transitionend",p)})}),()=>{const l=qe(e),c=Ty(l);let f=l.tag||wt;o=a,a=t.default?Kl(t.default()):[];for(let d=0;d<a.length;d++){const m=a[d];m.key!=null&&Hi(m,Ss(m,c,i,n))}if(o)for(let d=0;d<o.length;d++){const m=o[d];Hi(m,Ss(m,c,i,n)),xy.set(m,m.el.getBoundingClientRect())}return Fe(f,null,a)}}},BA=e=>delete e.mode;Sy.props;const WA=Sy;function jA(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function zA(e){Py.set(e,e.el.getBoundingClientRect())}function VA(e){const t=xy.get(e),n=Py.get(e),i=t.left-n.left,o=t.top-n.top;if(i||o){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${i}px,${o}px)`,a.transitionDuration="0s",e}}function qA(e,t,n){const i=e.cloneNode();e._vtc&&e._vtc.forEach(l=>{l.split(/\s+/).forEach(c=>c&&i.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&i.classList.add(l)),i.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(i);const{hasTransform:a}=Cy(i);return o.removeChild(i),a}const pi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ye(t)?n=>bs(t,n):t};function GA(e){e.target.composing=!0}function lg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Uo={created(e,{modifiers:{lazy:t,trim:n,number:i}},o){e._assign=pi(o);const a=i||o.props&&o.props.type==="number";Ar(e,t?"change":"input",l=>{if(l.target.composing)return;let c=e.value;n&&(c=c.trim()),a&&(c=dl(c)),e._assign(c)}),n&&Ar(e,"change",()=>{e.value=e.value.trim()}),t||(Ar(e,"compositionstart",GA),Ar(e,"compositionend",lg),Ar(e,"change",lg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:o}},a){if(e._assign=pi(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||i&&e.value.trim()===t||(o||e.type==="number")&&dl(e.value)===t))return;const l=t??"";e.value!==l&&(e.value=l)}},wd={deep:!0,created(e,t,n){e._assign=pi(n),Ar(e,"change",()=>{const i=e._modelValue,o=As(e),a=e.checked,l=e._assign;if(ye(i)){const c=Ll(i,o),f=c!==-1;if(a&&!f)l(i.concat(o));else if(!a&&f){const d=[...i];d.splice(c,1),l(d)}}else if(ji(i)){const c=new Set(i);a?c.add(o):c.delete(o),l(c)}else l(Ay(e,a))})},mounted:ug,beforeUpdate(e,t,n){e._assign=pi(n),ug(e,t,n)}};function ug(e,{value:t,oldValue:n},i){e._modelValue=t,ye(t)?e.checked=Ll(t,i.props.value)>-1:ji(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=li(t,Ay(e,!0)))}const Ed={created(e,{value:t},n){e.checked=li(t,n.props.value),e._assign=pi(n),Ar(e,"change",()=>{e._assign(As(e))})},beforeUpdate(e,{value:t,oldValue:n},i){e._assign=pi(i),t!==n&&(e.checked=li(t,i.props.value))}},Ry={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const o=ji(t);Ar(e,"change",()=>{const a=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>n?dl(As(l)):As(l));e._assign(e.multiple?o?new Set(a):a:a[0])}),e._assign=pi(i)},mounted(e,{value:t}){cg(e,t)},beforeUpdate(e,t,n){e._assign=pi(n)},updated(e,{value:t}){cg(e,t)}};function cg(e,t){const n=e.multiple;if(!(n&&!ye(t)&&!ji(t))){for(let i=0,o=e.options.length;i<o;i++){const a=e.options[i],l=As(a);if(n)ye(t)?a.selected=Ll(t,l)>-1:a.selected=t.has(l);else if(li(As(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function As(e){return"_value"in e?e._value:e.value}function Ay(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Iy={created(e,t,n){Xa(e,t,n,null,"created")},mounted(e,t,n){Xa(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){Xa(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){Xa(e,t,n,i,"updated")}};function $y(e,t){switch(e){case"SELECT":return Ry;case"TEXTAREA":return Uo;default:switch(t){case"checkbox":return wd;case"radio":return Ed;default:return Uo}}}function Xa(e,t,n,i,o){const l=$y(e.tagName,n.props&&n.props.type)[o];l&&l(e,t,n,i)}function KA(){Uo.getSSRProps=({value:e})=>({value:e}),Ed.getSSRProps=({value:e},t)=>{if(t.props&&li(t.props.value,e))return{checked:!0}},wd.getSSRProps=({value:e},t)=>{if(ye(e)){if(t.props&&Ll(e,t.props.value)>-1)return{checked:!0}}else if(ji(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Iy.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=$y(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const YA=["ctrl","shift","alt","meta"],QA={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>YA.some(n=>e[`${n}Key`]&&!t.includes(n))},XA=(e,t)=>(n,...i)=>{for(let o=0;o<t.length;o++){const a=QA[t[o]];if(a&&a(n,t))return}return e(n,...i)},ZA={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},My=(e,t)=>n=>{if(!("key"in n))return;const i=Nn(n.key);if(t.some(o=>o===i||ZA[o]===i))return e(n)},Dy={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):io(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),io(e,!0),i.enter(e)):i.leave(e,()=>{io(e,!1)}):io(e,t))},beforeUnmount(e,{value:t}){io(e,t)}};function io(e,t){e.style.display=t?e._vod:"none"}function JA(){Dy.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Ly=mt({patchProp:$A},yA);let yo,fg=!1;function Ny(){return yo||(yo=oy(Ly))}function Fy(){return yo=fg?yo:ay(Ly),fg=!0,yo}const _f=(...e)=>{Ny().render(...e)},ky=(...e)=>{Fy().hydrate(...e)},Td=(...e)=>{const t=Ny().createApp(...e),{mount:n}=t;return t.mount=i=>{const o=Hy(i);if(!o)return;const a=t._component;!$e(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.innerHTML="";const l=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),l},t},Uy=(...e)=>{const t=Fy().createApp(...e),{mount:n}=t;return t.mount=i=>{const o=Hy(i);if(o)return n(o,!0,o instanceof SVGElement)},t};function Hy(e){return vt(e)?document.querySelector(e):e}let dg=!1;const eI=()=>{dg||(dg=!0,KA(),JA())},tI=()=>{},nI=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Uv,BaseTransitionPropsValidators:ld,Comment:Kt,EffectScope:qf,Fragment:wt,KeepAlive:gR,ReactiveEffect:Go,Static:Fi,Suspense:sR,Teleport:tA,Text:fi,Transition:bd,TransitionGroup:WA,VueElement:eu,assertNumber:KS,callWithAsyncErrorHandling:Cn,callWithErrorHandling:$r,camelize:hn,capitalize:qo,cloneVNode:hr,compatUtils:_A,compile:tI,computed:Je,createApp:Td,createBlock:Nr,createCommentVNode:kn,createElementBlock:ut,createElementVNode:ge,createHydrationRenderer:ay,createPropsRestProxy:NR,createRenderer:oy,createSSRApp:Uy,createSlots:wR,createStaticVNode:iA,createTextVNode:Yn,createVNode:Fe,customRef:td,defineAsyncComponent:pR,defineComponent:Mt,defineCustomElement:wy,defineEmits:OR,defineExpose:xR,defineModel:RR,defineOptions:PR,defineProps:CR,defineSSRCustomElement:DA,defineSlots:SR,get devtools(){return ps},effect:uS,effectScope:Nl,getCurrentInstance:Dt,getCurrentScope:Fl,getTransitionRawChildren:Kl,guardReactiveProps:gd,h:qi,handleError:zi,hasInjectionContext:ey,hydrate:ky,initCustomFormatter:dA,initDirectivesForSSR:eI,inject:nn,isMemoSame:by,isProxy:Xf,isReactive:Ir,isReadonly:Ui,isRef:et,isRuntimeOnly:uA,isShallow:Ao,isVNode:di,markRaw:Ko,mergeDefaults:DR,mergeModels:LR,mergeProps:Zl,nextTick:mr,normalizeClass:tn,normalizeProps:lv,normalizeStyle:Jn,onActivated:ud,onBeforeMount:Wv,onBeforeUnmount:Xo,onBeforeUpdate:jv,onDeactivated:cd,onErrorCaptured:Gv,onMounted:gr,onRenderTracked:qv,onRenderTriggered:Vv,onScopeDispose:Gf,onServerPrefetch:zv,onUnmounted:Vi,onUpdated:Ql,openBlock:Ve,popScopeId:Gl,provide:go,proxyRefs:ed,pushScopeId:ql,queuePostFlushCb:rd,reactive:ci,readonly:Fs,ref:we,registerRuntimeCompiler:lA,render:_f,renderList:Yv,renderSlot:No,resolveComponent:On,resolveDirective:bR,resolveDynamicComponent:yR,resolveFilter:gA,resolveTransitionHooks:Ss,setBlockTracking:cf,setDevtoolsHook:Iv,setTransitionHooks:Hi,shallowReactive:Qf,shallowReadonly:FS,shallowRef:ws,ssrContextKey:vy,ssrUtils:mA,stop:cS,toDisplayString:Ut,toHandlerKey:po,toHandlers:ER,toRaw:qe,toRef:xv,toRefs:Ov,toValue:HS,transformVNodeArgs:nA,triggerRef:US,unref:Oe,useAttrs:$R,useCssModule:NA,useCssVars:FA,useModel:MR,useSSRContext:yy,useSlots:IR,useTransitionState:ad,vModelCheckbox:wd,vModelDynamic:Iy,vModelRadio:Ed,vModelSelect:Ry,vModelText:Uo,vShow:Dy,version:yd,warn:GS,watch:ct,watchEffect:od,watchPostEffect:Nv,watchSyncEffect:fR,withAsyncContext:FR,withCtx:Vt,withDefaults:AR,withDirectives:kv,withKeys:My,withMemo:hA,withModifiers:XA,withScopeId:Mv},Symbol.toStringTag,{value:"Module"}));/*!
|
|
18
|
+
* vue-i18n v9.2.2
|
|
19
|
+
* (c) 2022 kazuya kawaguchi
|
|
20
|
+
* Released under the MIT License.
|
|
21
|
+
*/const rI="9.2.2";function iI(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ff().__INTLIFY_PROD_DEVTOOLS__=!1)}let By=G_.__EXTEND_POINT__;const un=()=>++By,xn={UNEXPECTED_RETURN_TYPE:By,INVALID_ARGUMENT:un(),MUST_BE_CALL_SETUP_TOP:un(),NOT_INSLALLED:un(),NOT_AVAILABLE_IN_LEGACY_MODE:un(),REQUIRED_VALUE:un(),INVALID_VALUE:un(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:un(),NOT_INSLALLED_WITH_PROVIDE:un(),UNEXPECTED_ERROR:un(),NOT_COMPATIBLE_LEGACY_VUE_I18N:un(),BRIDGE_SUPPORT_VUE_2_ONLY:un(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:un(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:un(),__EXTEND_POINT__:un()};function Un(e,...t){return K_(e,null,void 0)}const vf=gi("__transrateVNode"),yf=gi("__datetimeParts"),bf=gi("__numberParts"),sI=gi("__setPluralRules");gi("__intlifyMeta");const oI=gi("__injectWithOption");function wf(e){if(!pt(e))return e;for(const t in e)if(kf(e,t))if(!t.includes("."))pt(e[t])&&wf(e[t]);else{const n=t.split("."),i=n.length-1;let o=e;for(let a=0;a<i;a++)n[a]in o||(o[n[a]]={}),o=o[n[a]];o[n[i]]=e[t],delete e[t],pt(o[n[i]])&&wf(o[n[i]])}return e}function Wy(e,t){const{messages:n,__i18n:i,messageResolver:o,flatJson:a}=t,l=Xe(n)?n:Pt(i)?{}:{[e]:{}};if(Pt(i)&&i.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:f,resource:d}=c;f?(l[f]=l[f]||{},bo(d,l[f])):bo(d,l)}else Ee(c)&&bo(JSON.parse(c),l)}),o==null&&a)for(const c in l)kf(l,c)&&wf(l[c]);return l}const Za=e=>!pt(e)||Pt(e);function bo(e,t){if(Za(e)||Za(t))throw Un(xn.INVALID_VALUE);for(const n in e)kf(e,n)&&(Za(e[n])||Za(t[n])?t[n]=e[n]:bo(e[n],t[n]))}function jy(e){return e.type}function aI(e,t,n){let i=pt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(i=Wy(e.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const o=Object.keys(i);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,i[a])});{if(pt(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(pt(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function hg(e){return Fe(fi,null,e,0)}const pg="__INTLIFY_META__";let mg=0;function gg(e){return(t,n,i,o)=>e(n,i,Dt()||void 0,o)}const lI=()=>{const e=Dt();let t=null;return e&&(t=jy(e)[pg])?{[pg]:t}:null};function zy(e={},t){const{__root:n}=e,i=n===void 0;let o=Ct(e.inheritLocale)?e.inheritLocale:!0;const a=we(n&&o?n.locale.value:Ee(e.locale)?e.locale:Hf),l=we(n&&o?n.fallbackLocale.value:Ee(e.fallbackLocale)||Pt(e.fallbackLocale)||Xe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=we(Wy(a.value,e)),f=we(Xe(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),d=we(Xe(e.numberFormats)?e.numberFormats:{[a.value]:{}});let m=n?n.missingWarn:Ct(e.missingWarn)||cl(e.missingWarn)?e.missingWarn:!0,p=n?n.fallbackWarn:Ct(e.fallbackWarn)||cl(e.fallbackWarn)?e.fallbackWarn:!0,g=n?n.fallbackRoot:Ct(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,_=Ht(e.missing)?e.missing:null,b=Ht(e.missing)?gg(e.missing):null,P=Ht(e.postTranslation)?e.postTranslation:null,w=n?n.warnHtmlMessage:Ct(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const A=n?n.modifiers:Xe(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,x;x=(()=>{i&&bm(null);const B={version:rI,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:A,pluralRules:C,missing:b===null?void 0:b,missingWarn:m,fallbackWarn:p,fallbackFormat:y,unresolving:!0,postTranslation:P===null?void 0:P,warnHtmlMessage:w,escapeParameter:T,messageResolver:e.messageResolver,__meta:{framework:"vue"}};B.datetimeFormats=f.value,B.numberFormats=d.value,B.__datetimeFormatters=Xe(x)?x.__datetimeFormatters:void 0,B.__numberFormatters=Xe(x)?x.__numberFormatters:void 0;const z=HP(B);return i&&bm(z),z})(),no(x,a.value,l.value);function R(){return[a.value,l.value,c.value,f.value,d.value]}const S=Je({get:()=>a.value,set:B=>{a.value=B,x.locale=a.value}}),$=Je({get:()=>l.value,set:B=>{l.value=B,x.fallbackLocale=l.value,no(x,a.value,B)}}),L=Je(()=>c.value),W=Je(()=>f.value),G=Je(()=>d.value);function V(){return Ht(P)?P:null}function j(B){P=B,x.postTranslation=B}function Y(){return _}function ee(B){B!==null&&(b=gg(B)),_=B,x.missing=b}const K=(B,z,_e,ve,Le,We)=>{R();let Ne;if(__INTLIFY_PROD_DEVTOOLS__)try{ym(lI()),i||(x.fallbackContext=n?UP():void 0),Ne=B(x)}finally{ym(null),i||(x.fallbackContext=void 0)}else Ne=B(x);if(It(Ne)&&Ne===$l){const[dt,Bt]=z();return n&&g?ve(n):Le(dt)}else{if(We(Ne))return Ne;throw Un(xn.UNEXPECTED_RETURN_TYPE)}};function ae(...B){return K(z=>Reflect.apply(Tm,null,[z,...B]),()=>Yc(...B),"translate",z=>Reflect.apply(z.t,z,[...B]),z=>z,z=>Ee(z))}function be(...B){const[z,_e,ve]=B;if(ve&&!pt(ve))throw Un(xn.INVALID_ARGUMENT);return ae(z,_e,en({resolvedMessage:!0},ve||{}))}function Pe(...B){return K(z=>Reflect.apply(Cm,null,[z,...B]),()=>Qc(...B),"datetime format",z=>Reflect.apply(z.d,z,[...B]),()=>_m,z=>Ee(z))}function Ae(...B){return K(z=>Reflect.apply(xm,null,[z,...B]),()=>Xc(...B),"number format",z=>Reflect.apply(z.n,z,[...B]),()=>_m,z=>Ee(z))}function Ie(B){return B.map(z=>Ee(z)||It(z)||Ct(z)?hg(String(z)):z)}const Ke={normalize:Ie,interpolate:B=>B,type:"vnode"};function ft(...B){return K(z=>{let _e;const ve=z;try{ve.processor=Ke,_e=Reflect.apply(Tm,null,[ve,...B])}finally{ve.processor=null}return _e},()=>Yc(...B),"translate",z=>z[vf](...B),z=>[hg(z)],z=>Pt(z))}function rt(...B){return K(z=>Reflect.apply(xm,null,[z,...B]),()=>Xc(...B),"number format",z=>z[bf](...B),()=>[],z=>Ee(z)||Pt(z))}function J(...B){return K(z=>Reflect.apply(Cm,null,[z,...B]),()=>Qc(...B),"datetime format",z=>z[yf](...B),()=>[],z=>Ee(z)||Pt(z))}function fe(B){C=B,x.pluralRules=C}function oe(B,z){const _e=Ee(z)?z:a.value,ve=M(_e);return x.messageResolver(ve,B)!==null}function pe(B){let z=null;const _e=Q_(x,l.value,a.value);for(let ve=0;ve<_e.length;ve++){const Le=c.value[_e[ve]]||{},We=x.messageResolver(Le,B);if(We!=null){z=We;break}}return z}function ke(B){const z=pe(B);return z??(n?n.tm(B)||{}:{})}function M(B){return c.value[B]||{}}function N(B,z){c.value[B]=z,x.messages=c.value}function H(B,z){c.value[B]=c.value[B]||{},bo(z,c.value[B]),x.messages=c.value}function Q(B){return f.value[B]||{}}function re(B,z){f.value[B]=z,x.datetimeFormats=f.value,Om(x,B,z)}function ie(B,z){f.value[B]=en(f.value[B]||{},z),x.datetimeFormats=f.value,Om(x,B,z)}function de(B){return d.value[B]||{}}function le(B,z){d.value[B]=z,x.numberFormats=d.value,Pm(x,B,z)}function ue(B,z){d.value[B]=en(d.value[B]||{},z),x.numberFormats=d.value,Pm(x,B,z)}mg++,n&&Kc&&(ct(n.locale,B=>{o&&(a.value=B,x.locale=B,no(x,a.value,l.value))}),ct(n.fallbackLocale,B=>{o&&(l.value=B,x.fallbackLocale=B,no(x,a.value,l.value))}));const X={id:mg,locale:S,fallbackLocale:$,get inheritLocale(){return o},set inheritLocale(B){o=B,B&&n&&(a.value=n.locale.value,l.value=n.fallbackLocale.value,no(x,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:L,get modifiers(){return A},get pluralRules(){return C||{}},get isGlobal(){return i},get missingWarn(){return m},set missingWarn(B){m=B,x.missingWarn=m},get fallbackWarn(){return p},set fallbackWarn(B){p=B,x.fallbackWarn=p},get fallbackRoot(){return g},set fallbackRoot(B){g=B},get fallbackFormat(){return y},set fallbackFormat(B){y=B,x.fallbackFormat=y},get warnHtmlMessage(){return w},set warnHtmlMessage(B){w=B,x.warnHtmlMessage=B},get escapeParameter(){return T},set escapeParameter(B){T=B,x.escapeParameter=B},t:ae,getLocaleMessage:M,setLocaleMessage:N,mergeLocaleMessage:H,getPostTranslationHandler:V,setPostTranslationHandler:j,getMissingHandler:Y,setMissingHandler:ee,[sI]:fe};return X.datetimeFormats=W,X.numberFormats=G,X.rt=be,X.te=oe,X.tm=ke,X.d=Pe,X.n=Ae,X.getDateTimeFormat=Q,X.setDateTimeFormat=re,X.mergeDateTimeFormat=ie,X.getNumberFormat=de,X.setNumberFormat=le,X.mergeNumberFormat=ue,X[oI]=e.__injectWithOption,X[vf]=ft,X[yf]=J,X[bf]=rt,X}const Cd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function uI({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((i,o)=>i=[...i,...Pt(o.children)?o.children:[o]],[]):t.reduce((n,i)=>{const o=e[i];return o&&(n[i]=o()),n},{})}function Vy(e){return wt}const _g={name:"i18n-t",props:en({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>It(e)||!isNaN(e)}},Cd),setup(e,t){const{slots:n,attrs:i}=t,o=e.i18n||ks({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(p=>p!=="_"),l={};e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=Ee(e.plural)?+e.plural:e.plural);const c=uI(t,a),f=o[vf](e.keypath,c,l),d=en({},i),m=Ee(e.tag)||pt(e.tag)?e.tag:Vy();return qi(m,d,f)}}};function cI(e){return Pt(e)&&!Ee(e[0])}function qy(e,t,n,i){const{slots:o,attrs:a}=t;return()=>{const l={part:!0};let c={};e.locale&&(l.locale=e.locale),Ee(e.format)?l.key=e.format:pt(e.format)&&(Ee(e.format.key)&&(l.key=e.format.key),c=Object.keys(e.format).reduce((g,y)=>n.includes(y)?en({},g,{[y]:e.format[y]}):g,{}));const f=i(e.value,l,c);let d=[l.key];Pt(f)?d=f.map((g,y)=>{const _=o[g.type],b=_?_({[g.type]:g.value,index:y,parts:f}):[g.value];return cI(b)&&(b[0].key=`${g.type}-${y}`),b}):Ee(f)&&(d=[f]);const m=en({},a),p=Ee(e.tag)||pt(e.tag)?e.tag:Vy();return qi(p,m,d)}}const vg={name:"i18n-n",props:en({value:{type:Number,required:!0},format:{type:[String,Object]}},Cd),setup(e,t){const n=e.i18n||ks({useScope:"parent",__useComponent:!0});return qy(e,t,sv,(...i)=>n[bf](...i))}},yg={name:"i18n-d",props:en({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Cd),setup(e,t){const n=e.i18n||ks({useScope:"parent",__useComponent:!0});return qy(e,t,iv,(...i)=>n[yf](...i))}};function fI(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const i=n.__getInstance(t);return i!=null?i.__composer:e.global.__composer}}function dI(e){const t=l=>{const{instance:c,modifiers:f,value:d}=l;if(!c||!c.$)throw Un(xn.UNEXPECTED_ERROR);const m=fI(e,c.$),p=bg(d);return[Reflect.apply(m.t,m,[...wg(p)]),m]};return{created:(l,c)=>{const[f,d]=t(c);Kc&&e.global===d&&(l.__i18nWatcher=ct(d.locale,()=>{c.instance&&c.instance.$forceUpdate()})),l.__composer=d,l.textContent=f},unmounted:l=>{Kc&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:c})=>{if(l.__composer){const f=l.__composer,d=bg(c);l.textContent=Reflect.apply(f.t,f,[...wg(d)])}},getSSRProps:l=>{const[c]=t(l);return{textContent:c}}}}function bg(e){if(Ee(e))return{path:e};if(Xe(e)){if(!("path"in e))throw Un(xn.REQUIRED_VALUE,"path");return e}else throw Un(xn.INVALID_VALUE)}function wg(e){const{path:t,locale:n,args:i,choice:o,plural:a}=e,l={},c=i||{};return Ee(n)&&(l.locale=n),It(o)&&(l.plural=o),It(a)&&(l.plural=a),[t,c,l]}function hI(e,t,...n){const i=Xe(n[0])?n[0]:{},o=!!i.useI18nComponentName;(Ct(i.globalInstall)?i.globalInstall:!0)&&(e.component(o?"i18n":_g.name,_g),e.component(vg.name,vg),e.component(yg.name,yg)),e.directive("t",dI(t))}const pI=gi("global-vue-i18n");function mI(e={},t){const n=Ct(e.globalInjection)?e.globalInjection:!0,i=!0,o=new Map,[a,l]=gI(e),c=gi("");function f(p){return o.get(p)||null}function d(p,g){o.set(p,g)}function m(p){o.delete(p)}{const p={get mode(){return"composition"},get allowComposition(){return i},async install(g,...y){g.__VUE_I18N_SYMBOL__=c,g.provide(g.__VUE_I18N_SYMBOL__,p),n&&CI(g,p.global),hI(g,p,...y);const _=g.unmount;g.unmount=()=>{p.dispose(),_()}},get global(){return l},dispose(){a.stop()},__instances:o,__getInstance:f,__setInstance:d,__deleteInstance:m};return p}}function ks(e={}){const t=Dt();if(t==null)throw Un(xn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Un(xn.NOT_INSLALLED);const n=_I(t),i=yI(n),o=jy(t),a=vI(e,o);if(a==="global")return aI(i,e,o),i;if(a==="parent"){let f=bI(n,t,e.__useComponent);return f==null&&(f=i),f}const l=n;let c=l.__getInstance(t);if(c==null){const f=en({},e);"__i18n"in o&&(f.__i18n=o.__i18n),i&&(f.__root=i),c=zy(f),wI(l,t),l.__setInstance(t,c)}return c}function gI(e,t,n){const i=Nl();{const o=i.run(()=>zy(e));if(o==null)throw Un(xn.UNEXPECTED_ERROR);return[i,o]}}function _I(e){{const t=nn(e.isCE?pI:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Un(e.isCE?xn.NOT_INSLALLED_WITH_PROVIDE:xn.UNEXPECTED_ERROR);return t}}function vI(e,t){return Il(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function yI(e){return e.mode==="composition"?e.global:e.global.__composer}function bI(e,t,n=!1){let i=null;const o=t.root;let a=t.parent;for(;a!=null;){const l=e;if(e.mode==="composition"&&(i=l.__getInstance(a)),i!=null||o===a)break;a=a.parent}return i}function wI(e,t,n){gr(()=>{},t),Vi(()=>{e.__deleteInstance(t)},t)}const EI=["locale","fallbackLocale","availableLocales"],TI=["t","rt","d","n","tm"];function CI(e,t){const n=Object.create(null);EI.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o)throw Un(xn.UNEXPECTED_ERROR);const a=et(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,i,a)}),e.config.globalProperties.$i18n=n,TI.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o||!o.value)throw Un(xn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,o)})}NP(_P);FP(Q_);iI();if(__INTLIFY_PROD_DEVTOOLS__){const e=Ff();e.__INTLIFY__=!0,xP(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const yl=mI({legacy:!1,locale:"",messages:{}}),Gy=Object.fromEntries(Object.entries(Object.assign({"../../locales/en.yml":()=>cr(()=>import("./en-caedd340.js"),[]),"../../locales/zh-CN.yml":()=>cr(()=>import("./zh-CN-86269804.js"),[])})).map(([e,t])=>{var n;return[(n=e.match(/([\w-]*)\.yml$/))==null?void 0:n[1],t]})),Ky=Object.keys(Gy),Eg=[];function Lc(e){var t;return yl.global.locale.value=e,typeof document<"u"&&((t=document.querySelector("html"))==null||t.setAttribute("lang",e)),e}async function Od(e){if(yl.global.locale.value===e||Eg.includes(e))return Lc(e);const t=await Gy[e]();return yl.global.setLocaleMessage(e,t.default),Eg.push(e),Lc(e)}const OI=async({app:e})=>{e.use(yl),await Od("en")},xI=Object.freeze(Object.defineProperty({__proto__:null,availableLocales:Ky,install:OI,loadLanguageAsync:Od},Symbol.toStringTag,{value:"Module"}));var qt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Hn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function PI(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}),n}var Yy={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
22
|
+
* @license MIT */(function(e,t){(function(n,i){e.exports=i()})(qt,function(){var n={};n.version="0.2.0";var i=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(_){var b,P;for(b in _)P=_[b],P!==void 0&&_.hasOwnProperty(b)&&(i[b]=P);return this},n.status=null,n.set=function(_){var b=n.isStarted();_=o(_,i.minimum,1),n.status=_===1?null:_;var P=n.render(!b),w=P.querySelector(i.barSelector),T=i.speed,A=i.easing;return P.offsetWidth,c(function(C){i.positionUsing===""&&(i.positionUsing=n.getPositioningCSS()),f(w,l(_,T,A)),_===1?(f(P,{transition:"none",opacity:1}),P.offsetWidth,setTimeout(function(){f(P,{transition:"all "+T+"ms linear",opacity:0}),setTimeout(function(){n.remove(),C()},T)},T)):setTimeout(C,T)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var _=function(){setTimeout(function(){n.status&&(n.trickle(),_())},i.trickleSpeed)};return i.trickle&&_(),this},n.done=function(_){return!_&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(_){var b=n.status;return b?(typeof _!="number"&&(_=(1-b)*o(Math.random()*b,.1,.95)),b=o(b+_,0,.994),n.set(b)):n.start()},n.trickle=function(){return n.inc(Math.random()*i.trickleRate)},function(){var _=0,b=0;n.promise=function(P){return!P||P.state()==="resolved"?this:(b===0&&n.start(),_++,b++,P.always(function(){b--,b===0?(_=0,n.done()):n.set((_-b)/_)}),this)}}(),n.render=function(_){if(n.isRendered())return document.getElementById("nprogress");m(document.documentElement,"nprogress-busy");var b=document.createElement("div");b.id="nprogress",b.innerHTML=i.template;var P=b.querySelector(i.barSelector),w=_?"-100":a(n.status||0),T=document.querySelector(i.parent),A;return f(P,{transition:"all 0 linear",transform:"translate3d("+w+"%,0,0)"}),i.showSpinner||(A=b.querySelector(i.spinnerSelector),A&&y(A)),T!=document.body&&m(T,"nprogress-custom-parent"),T.appendChild(b),b},n.remove=function(){p(document.documentElement,"nprogress-busy"),p(document.querySelector(i.parent),"nprogress-custom-parent");var _=document.getElementById("nprogress");_&&y(_)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var _=document.body.style,b="WebkitTransform"in _?"Webkit":"MozTransform"in _?"Moz":"msTransform"in _?"ms":"OTransform"in _?"O":"";return b+"Perspective"in _?"translate3d":b+"Transform"in _?"translate":"margin"};function o(_,b,P){return _<b?b:_>P?P:_}function a(_){return(-1+_)*100}function l(_,b,P){var w;return i.positionUsing==="translate3d"?w={transform:"translate3d("+a(_)+"%,0,0)"}:i.positionUsing==="translate"?w={transform:"translate("+a(_)+"%,0)"}:w={"margin-left":a(_)+"%"},w.transition="all "+b+"ms "+P,w}var c=function(){var _=[];function b(){var P=_.shift();P&&P(b)}return function(P){_.push(P),_.length==1&&b()}}(),f=function(){var _=["Webkit","O","Moz","ms"],b={};function P(C){return C.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(x,I){return I.toUpperCase()})}function w(C){var x=document.body.style;if(C in x)return C;for(var I=_.length,R=C.charAt(0).toUpperCase()+C.slice(1),S;I--;)if(S=_[I]+R,S in x)return S;return C}function T(C){return C=P(C),b[C]||(b[C]=w(C))}function A(C,x,I){x=T(x),C.style[x]=I}return function(C,x){var I=arguments,R,S;if(I.length==2)for(R in x)S=x[R],S!==void 0&&x.hasOwnProperty(R)&&A(C,R,S);else A(C,I[1],I[2])}}();function d(_,b){var P=typeof _=="string"?_:g(_);return P.indexOf(" "+b+" ")>=0}function m(_,b){var P=g(_),w=P+b;d(P,b)||(_.className=w.substring(1))}function p(_,b){var P=g(_),w;d(_,b)&&(w=P.replace(" "+b+" "," "),_.className=w.substring(1,w.length-1))}function g(_){return(" "+(_.className||"")+" ").replace(/\s+/gi," ")}function y(_){_&&_.parentNode&&_.parentNode.removeChild(_)}return n})})(Yy);var SI=Yy.exports;const Tg=Hn(SI),RI=({isClient:e,router:t})=>{e&&(t.beforeEach((n,i)=>{n.path!==i.path&&Tg.start()}),t.afterEach(()=>{Tg.done()}))},AI=Object.freeze(Object.defineProperty({__proto__:null,install:RI},Symbol.toStringTag,{value:"Module"}));var II=!1;/*!
|
|
23
|
+
* pinia v2.1.6
|
|
24
|
+
* (c) 2023 Eduardo San Martin Morote
|
|
25
|
+
* @license MIT
|
|
26
|
+
*/let Qy;const tu=e=>Qy=e,Xy=Symbol();function Ef(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var wo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(wo||(wo={}));function $I(){const e=Nl(!0),t=e.run(()=>we({}));let n=[],i=[];const o=Ko({install(a){tu(o),o._a=a,a.provide(Xy,o),a.config.globalProperties.$pinia=o,i.forEach(l=>n.push(l)),i=[]},use(a){return!this._a&&!II?i.push(a):n.push(a),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Zy=()=>{};function Cg(e,t,n,i=Zy){e.push(t);const o=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),i())};return!n&&Fl()&&Gf(o),o}function hs(e,...t){e.slice().forEach(n=>{n(...t)})}const MI=e=>e();function Tf(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,i)=>e.set(i,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const i=t[n],o=e[n];Ef(o)&&Ef(i)&&e.hasOwnProperty(n)&&!et(i)&&!Ir(i)?e[n]=Tf(o,i):e[n]=i}return e}const DI=Symbol();function LI(e){return!Ef(e)||!e.hasOwnProperty(DI)}const{assign:Xr}=Object;function NI(e){return!!(et(e)&&e.effect)}function FI(e,t,n,i){const{state:o,actions:a,getters:l}=t,c=n.state.value[e];let f;function d(){c||(n.state.value[e]=o?o():{});const m=Ov(n.state.value[e]);return Xr(m,a,Object.keys(l||{}).reduce((p,g)=>(p[g]=Ko(Je(()=>{tu(n);const y=n._s.get(e);return l[g].call(y,y)})),p),{}))}return f=Jy(e,d,t,n,i,!0),f}function Jy(e,t,n={},i,o,a){let l;const c=Xr({actions:{}},n),f={deep:!0};let d,m,p=[],g=[],y;const _=i.state.value[e];!a&&!_&&(i.state.value[e]={}),we({});let b;function P(S){let $;d=m=!1,typeof S=="function"?(S(i.state.value[e]),$={type:wo.patchFunction,storeId:e,events:y}):(Tf(i.state.value[e],S),$={type:wo.patchObject,payload:S,storeId:e,events:y});const L=b=Symbol();mr().then(()=>{b===L&&(d=!0)}),m=!0,hs(p,$,i.state.value[e])}const w=a?function(){const{state:$}=n,L=$?$():{};this.$patch(W=>{Xr(W,L)})}:Zy;function T(){l.stop(),p=[],g=[],i._s.delete(e)}function A(S,$){return function(){tu(i);const L=Array.from(arguments),W=[],G=[];function V(ee){W.push(ee)}function j(ee){G.push(ee)}hs(g,{args:L,name:S,store:x,after:V,onError:j});let Y;try{Y=$.apply(this&&this.$id===e?this:x,L)}catch(ee){throw hs(G,ee),ee}return Y instanceof Promise?Y.then(ee=>(hs(W,ee),ee)).catch(ee=>(hs(G,ee),Promise.reject(ee))):(hs(W,Y),Y)}}const C={_p:i,$id:e,$onAction:Cg.bind(null,g),$patch:P,$reset:w,$subscribe(S,$={}){const L=Cg(p,S,$.detached,()=>W()),W=l.run(()=>ct(()=>i.state.value[e],G=>{($.flush==="sync"?m:d)&&S({storeId:e,type:wo.direct,events:y},G)},Xr({},f,$)));return L},$dispose:T},x=ci(C);i._s.set(e,x);const I=i._a&&i._a.runWithContext||MI,R=i._e.run(()=>(l=Nl(),I(()=>l.run(t))));for(const S in R){const $=R[S];if(et($)&&!NI($)||Ir($))a||(_&&LI($)&&(et($)?$.value=_[S]:Tf($,_[S])),i.state.value[e][S]=$);else if(typeof $=="function"){const L=A(S,$);R[S]=L,c.actions[S]=$}}return Xr(x,R),Xr(qe(x),R),Object.defineProperty(x,"$state",{get:()=>i.state.value[e],set:S=>{P($=>{Xr($,S)})}}),i._p.forEach(S=>{Xr(x,l.run(()=>S({store:x,app:i._a,pinia:i,options:c})))}),_&&a&&n.hydrate&&n.hydrate(x.$state,_),d=!0,m=!0,x}function Dk(e,t,n){let i,o;const a=typeof t=="function";typeof e=="string"?(i=e,o=a?n:t):(o=e,i=e.id);function l(c,f){const d=ey();return c=c||(d?nn(Xy,null):null),c&&tu(c),c=Qy,c._s.has(i)||(a?Jy(i,t,o,c):FI(i,o,c)),c._s.get(i)}return l.$id=i,l}const kI=({isClient:e,initialState:t,app:n})=>{const i=$I();n.use(i),e?i.state.value=t.pinia||{}:t.pinia=i.state.value},UI=Object.freeze(Object.defineProperty({__proto__:null,install:kI},Symbol.toStringTag,{value:"Module"})),HI=({isClient:e,router:t})=>{e&&t.isReady().then(async()=>{const{registerSW:n}=await cr(()=>import("./virtual_pwa-register-1c1b9161.js"),[]);n({immediate:!0})}).catch(()=>{})},BI=Object.freeze(Object.defineProperty({__proto__:null,install:HI},Symbol.toStringTag,{value:"Module"}));var e0={exports:{}};const WI=PI(nI);(function(e,t){(function(i,o){e.exports=o(WI)})(qt,n=>(()=>{var i={661:(c,f)=>{Object.defineProperty(f,"__esModule",{value:!0}),f.default=(d,m)=>{const p=d.__vccOpts||d;for(const[g,y]of m)p[g]=y;return p}},976:c=>{c.exports=n}},o={};function a(c){var f=o[c];if(f!==void 0)return f.exports;var d=o[c]={exports:{}};return i[c](d,d.exports,a),d.exports}a.d=(c,f)=>{for(var d in f)a.o(f,d)&&!a.o(c,d)&&Object.defineProperty(c,d,{enumerable:!0,get:f[d]})},a.o=(c,f)=>Object.prototype.hasOwnProperty.call(c,f),a.r=c=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})};var l={};return(()=>{a.r(l),a.d(l,{ToastComponent:()=>x,ToastPlugin:()=>R,ToastPositions:()=>_,default:()=>S,useToast:()=>I});var c=a(976);const f=(0,c.createElementVNode)("div",{class:"v-toast__icon"},null,-1),d=["innerHTML"];function m($,L,W,G,V,j){return(0,c.openBlock)(),(0,c.createBlock)(c.Transition,{"enter-active-class":$.transition.enter,"leave-active-class":$.transition.leave},{default:(0,c.withCtx)(()=>[(0,c.withDirectives)((0,c.createElementVNode)("div",{ref:"root",role:"alert",class:(0,c.normalizeClass)(["v-toast__item",[`v-toast__item--${$.type}`,`v-toast__item--${$.position}`]]),onMouseover:L[0]||(L[0]=Y=>$.toggleTimer(!0)),onMouseleave:L[1]||(L[1]=Y=>$.toggleTimer(!1)),onClick:L[2]||(L[2]=function(){return $.whenClicked&&$.whenClicked(...arguments)})},[f,(0,c.createElementVNode)("p",{class:"v-toast__text",innerHTML:$.message},null,8,d)],34),[[c.vShow,$.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function p($){var L;typeof $.remove<"u"?$.remove():(L=$.parentNode)==null||L.removeChild($)}function g($,L,W){let G=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const V=(0,c.h)($,L,G),j=document.createElement("div");return j.classList.add("v-toast--pending"),W.appendChild(j),(0,c.render)(V,j),V.component}class y{constructor(L,W){this.startedAt=Date.now(),this.callback=L,this.delay=W,this.timer=setTimeout(L,W)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const _=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function b($){return{all:$=$||new Map,on:function(L,W){var G=$.get(L);G?G.push(W):$.set(L,[W])},off:function(L,W){var G=$.get(L);G&&(W?G.splice(G.indexOf(W)>>>0,1):$.set(L,[]))},emit:function(L,W){var G=$.get(L);G&&G.slice().map(function(V){V(W)}),(G=$.get("*"))&&G.slice().map(function(V){V(L,W)})}}}const w=b(),T=(0,c.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:_.BOTTOM_RIGHT,validator($){return Object.values(_).includes($)}},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(),w.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const $=document.body;$.appendChild(this.parentTop),$.appendChild(this.parentBottom)},shouldQueue(){return this.queue?this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0:!1},dismiss(){this.timer&&this.timer.stop(),clearTimeout(this.queueTimer),this.isActive=!1,setTimeout(()=>{this.onDismiss.apply(null,arguments);const $=this.$refs.root;(0,c.render)(null,$),p($)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const $=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),p($),this.isActive=!0,this.duration&&(this.timer=new y(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer($){!this.pauseOnHover||!this.timer||($?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case _.TOP:case _.TOP_RIGHT:case _.TOP_LEFT:return this.parentTop;case _.BOTTOM:case _.BOTTOM_RIGHT:case _.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case _.TOP:case _.TOP_RIGHT:case _.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case _.BOTTOM:case _.BOTTOM_RIGHT:case _.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){w.off("toast-clear",this.dismiss)}});var A=a(661);const x=(0,A.default)(T,[["render",m]]),I=function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(L){let W=null;typeof L=="string"&&(W=L);const V=Object.assign({},{message:W},$,L);return{dismiss:g(x,V,document.body).ctx.dismiss}},clear(){w.emit("toast-clear")},success(L){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:L,type:"success"},W))},error(L){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:L,type:"error"},W))},info(L){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:L,type:"info"},W))},warning(L){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:L,type:"warning"},W))},default(L){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:L,type:"default"},W))}}},R={install:function($){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=I(L);$.config.globalProperties.$toast=W,$.provide("$toast",W)}},S=R})(),l})())})(e0);var jI=e0.exports;const zI=Hn(jI);const VI=({app:e})=>{e.use(zI,{position:"bottom-right"})},qI=Object.freeze(Object.defineProperty({__proto__:null,install:VI},Symbol.toStringTag,{value:"Module"}));/*!
|
|
27
|
+
* vue-router v4.2.4
|
|
28
|
+
* (c) 2023 Eduardo San Martin Morote
|
|
29
|
+
* @license MIT
|
|
30
|
+
*/const ms=typeof window<"u";function GI(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const st=Object.assign;function Nc(e,t){const n={};for(const i in t){const o=t[i];n[i]=tr(o)?o.map(e):e(o)}return n}const Eo=()=>{},tr=Array.isArray,KI=/\/$/,YI=e=>e.replace(KI,"");function Fc(e,t,n="/"){let i,o={},a="",l="";const c=t.indexOf("#");let f=t.indexOf("?");return c<f&&c>=0&&(f=-1),f>-1&&(i=t.slice(0,f),a=t.slice(f+1,c>-1?c:t.length),o=e(a)),c>-1&&(i=i||t.slice(0,c),l=t.slice(c,t.length)),i=JI(i??t,n),{fullPath:i+(a&&"?")+a+l,path:i,query:o,hash:l}}function QI(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Og(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function XI(e,t,n){const i=t.matched.length-1,o=n.matched.length-1;return i>-1&&i===o&&Is(t.matched[i],n.matched[o])&&t0(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Is(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function t0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ZI(e[n],t[n]))return!1;return!0}function ZI(e,t){return tr(e)?xg(e,t):tr(t)?xg(t,e):e===t}function xg(e,t){return tr(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function JI(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),o=i[i.length-1];(o===".."||o===".")&&i.push("");let a=n.length-1,l,c;for(l=0;l<i.length;l++)if(c=i[l],c!==".")if(c==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+i.slice(l-(l===i.length?1:0)).join("/")}var $s;(function(e){e.pop="pop",e.push="push"})($s||($s={}));var ki;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ki||(ki={}));const kc="";function n0(e){if(!e)if(ms){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),YI(e)}const e$=/^[^#]+#/;function r0(e,t){return e.replace(e$,"#")+t}function t$(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const nu=()=>({left:window.pageXOffset,top:window.pageYOffset});function n$(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=t$(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Pg(e,t){return(history.state?history.state.position-t:-1)+e}const Cf=new Map;function r$(e,t){Cf.set(e,t)}function i$(e){const t=Cf.get(e);return Cf.delete(e),t}let s$=()=>location.protocol+"//"+location.host;function i0(e,t){const{pathname:n,search:i,hash:o}=t,a=e.indexOf("#");if(a>-1){let c=o.includes(e.slice(a))?e.slice(a).length:1,f=o.slice(c);return f[0]!=="/"&&(f="/"+f),Og(f,"")}return Og(n,e)+i+o}function o$(e,t,n,i){let o=[],a=[],l=null;const c=({state:g})=>{const y=i0(e,location),_=n.value,b=t.value;let P=0;if(g){if(n.value=y,t.value=g,l&&l===_){l=null;return}P=b?g.position-b.position:0}else i(y);o.forEach(w=>{w(n.value,_,{delta:P,type:$s.pop,direction:P?P>0?ki.forward:ki.back:ki.unknown})})};function f(){l=n.value}function d(g){o.push(g);const y=()=>{const _=o.indexOf(g);_>-1&&o.splice(_,1)};return a.push(y),y}function m(){const{history:g}=window;g.state&&g.replaceState(st({},g.state,{scroll:nu()}),"")}function p(){for(const g of a)g();a=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:f,listen:d,destroy:p}}function Sg(e,t,n,i=!1,o=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:o?nu():null}}function a$(e){const{history:t,location:n}=window,i={value:i0(e,n)},o={value:t.state};o.value||a(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(f,d,m){const p=e.indexOf("#"),g=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+f:s$()+e+f;try{t[m?"replaceState":"pushState"](d,"",g),o.value=d}catch(y){console.error(y),n[m?"replace":"assign"](g)}}function l(f,d){const m=st({},t.state,Sg(o.value.back,f,o.value.forward,!0),d,{position:o.value.position});a(f,m,!0),i.value=f}function c(f,d){const m=st({},o.value,t.state,{forward:f,scroll:nu()});a(m.current,m,!0);const p=st({},Sg(i.value,f,null),{position:m.position+1},d);a(f,p,!1),i.value=f}return{location:i,state:o,push:c,replace:l}}function l$(e){e=n0(e);const t=a$(e),n=o$(e,t.state,t.location,t.replace);function i(a,l=!0){l||n.pauseListeners(),history.go(a)}const o=st({location:"",base:e,go:i,createHref:r0.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function u$(e=""){let t=[],n=[kc],i=0;e=n0(e);function o(c){i++,i===n.length||n.splice(i),n.push(c)}function a(c,f,{direction:d,delta:m}){const p={direction:d,delta:m,type:$s.pop};for(const g of t)g(c,f,p)}const l={location:kc,state:{},base:e,createHref:r0.bind(null,e),replace(c){n.splice(i--,1),o(c)},push(c,f){o(c)},listen(c){return t.push(c),()=>{const f=t.indexOf(c);f>-1&&t.splice(f,1)}},destroy(){t=[],n=[kc],i=0},go(c,f=!0){const d=this.location,m=c<0?ki.back:ki.forward;i=Math.max(0,Math.min(i+c,n.length-1)),f&&a(this.location,d,{direction:m,delta:c})}};return Object.defineProperty(l,"location",{enumerable:!0,get:()=>n[i]}),l}function c$(e){return typeof e=="string"||e&&typeof e=="object"}function s0(e){return typeof e=="string"||typeof e=="symbol"}const Yr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},o0=Symbol("");var Rg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Rg||(Rg={}));function Ms(e,t){return st(new Error,{type:e,[o0]:!0},t)}function Pr(e,t){return e instanceof Error&&o0 in e&&(t==null||!!(e.type&t))}const Ag="[^/]+?",f$={sensitive:!1,strict:!1,start:!0,end:!0},d$=/[.+*?^${}()[\]/\\]/g;function h$(e,t){const n=st({},f$,t),i=[];let o=n.start?"^":"";const a=[];for(const d of e){const m=d.length?[]:[90];n.strict&&!d.length&&(o+="/");for(let p=0;p<d.length;p++){const g=d[p];let y=40+(n.sensitive?.25:0);if(g.type===0)p||(o+="/"),o+=g.value.replace(d$,"\\$&"),y+=40;else if(g.type===1){const{value:_,repeatable:b,optional:P,regexp:w}=g;a.push({name:_,repeatable:b,optional:P});const T=w||Ag;if(T!==Ag){y+=10;try{new RegExp(`(${T})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${_}" (${T}): `+C.message)}}let A=b?`((?:${T})(?:/(?:${T}))*)`:`(${T})`;p||(A=P&&d.length<2?`(?:/${A})`:"/"+A),P&&(A+="?"),o+=A,y+=20,P&&(y+=-8),b&&(y+=-20),T===".*"&&(y+=-50)}m.push(y)}i.push(m)}if(n.strict&&n.end){const d=i.length-1;i[d][i[d].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const l=new RegExp(o,n.sensitive?"":"i");function c(d){const m=d.match(l),p={};if(!m)return null;for(let g=1;g<m.length;g++){const y=m[g]||"",_=a[g-1];p[_.name]=y&&_.repeatable?y.split("/"):y}return p}function f(d){let m="",p=!1;for(const g of e){(!p||!m.endsWith("/"))&&(m+="/"),p=!1;for(const y of g)if(y.type===0)m+=y.value;else if(y.type===1){const{value:_,repeatable:b,optional:P}=y,w=_ in d?d[_]:"";if(tr(w)&&!b)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const T=tr(w)?w.join("/"):w;if(!T)if(P)g.length<2&&(m.endsWith("/")?m=m.slice(0,-1):p=!0);else throw new Error(`Missing required param "${_}"`);m+=T}}return m||"/"}return{re:l,score:i,keys:a,parse:c,stringify:f}}function p$(e,t){let n=0;for(;n<e.length&&n<t.length;){const i=t[n]-e[n];if(i)return i;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function m$(e,t){let n=0;const i=e.score,o=t.score;for(;n<i.length&&n<o.length;){const a=p$(i[n],o[n]);if(a)return a;n++}if(Math.abs(o.length-i.length)===1){if(Ig(i))return 1;if(Ig(o))return-1}return o.length-i.length}function Ig(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const g$={type:0,value:""},_$=/[a-zA-Z0-9_]/;function v$(e){if(!e)return[[]];if(e==="/")return[[g$]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${d}": ${y}`)}let n=0,i=n;const o=[];let a;function l(){a&&o.push(a),a=[]}let c=0,f,d="",m="";function p(){d&&(n===0?a.push({type:0,value:d}):n===1||n===2||n===3?(a.length>1&&(f==="*"||f==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:d,regexp:m,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):t("Invalid state to consume buffer"),d="")}function g(){d+=f}for(;c<e.length;){if(f=e[c++],f==="\\"&&n!==2){i=n,n=4;continue}switch(n){case 0:f==="/"?(d&&p(),l()):f===":"?(p(),n=1):g();break;case 4:g(),n=i;break;case 1:f==="("?n=2:_$.test(f)?g():(p(),n=0,f!=="*"&&f!=="?"&&f!=="+"&&c--);break;case 2:f===")"?m[m.length-1]=="\\"?m=m.slice(0,-1)+f:n=3:m+=f;break;case 3:p(),n=0,f!=="*"&&f!=="?"&&f!=="+"&&c--,m="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${d}"`),p(),l(),o}function y$(e,t,n){const i=h$(v$(e.path),n),o=st(i,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function b$(e,t){const n=[],i=new Map;t=Dg({strict:!1,end:!0,sensitive:!1},t);function o(m){return i.get(m)}function a(m,p,g){const y=!g,_=w$(m);_.aliasOf=g&&g.record;const b=Dg(t,m),P=[_];if("alias"in m){const A=typeof m.alias=="string"?[m.alias]:m.alias;for(const C of A)P.push(st({},_,{components:g?g.record.components:_.components,path:C,aliasOf:g?g.record:_}))}let w,T;for(const A of P){const{path:C}=A;if(p&&C[0]!=="/"){const x=p.record.path,I=x[x.length-1]==="/"?"":"/";A.path=p.record.path+(C&&I+C)}if(w=y$(A,p,b),g?g.alias.push(w):(T=T||w,T!==w&&T.alias.push(w),y&&m.name&&!Mg(w)&&l(m.name)),_.children){const x=_.children;for(let I=0;I<x.length;I++)a(x[I],w,g&&g.children[I])}g=g||w,(w.record.components&&Object.keys(w.record.components).length||w.record.name||w.record.redirect)&&f(w)}return T?()=>{l(T)}:Eo}function l(m){if(s0(m)){const p=i.get(m);p&&(i.delete(m),n.splice(n.indexOf(p),1),p.children.forEach(l),p.alias.forEach(l))}else{const p=n.indexOf(m);p>-1&&(n.splice(p,1),m.record.name&&i.delete(m.record.name),m.children.forEach(l),m.alias.forEach(l))}}function c(){return n}function f(m){let p=0;for(;p<n.length&&m$(m,n[p])>=0&&(m.record.path!==n[p].record.path||!a0(m,n[p]));)p++;n.splice(p,0,m),m.record.name&&!Mg(m)&&i.set(m.record.name,m)}function d(m,p){let g,y={},_,b;if("name"in m&&m.name){if(g=i.get(m.name),!g)throw Ms(1,{location:m});b=g.record.name,y=st($g(p.params,g.keys.filter(T=>!T.optional).map(T=>T.name)),m.params&&$g(m.params,g.keys.map(T=>T.name))),_=g.stringify(y)}else if("path"in m)_=m.path,g=n.find(T=>T.re.test(_)),g&&(y=g.parse(_),b=g.record.name);else{if(g=p.name?i.get(p.name):n.find(T=>T.re.test(p.path)),!g)throw Ms(1,{location:m,currentLocation:p});b=g.record.name,y=st({},p.params,m.params),_=g.stringify(y)}const P=[];let w=g;for(;w;)P.unshift(w.record),w=w.parent;return{name:b,path:_,params:y,matched:P,meta:T$(P)}}return e.forEach(m=>a(m)),{addRoute:a,resolve:d,removeRoute:l,getRoutes:c,getRecordMatcher:o}}function $g(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function w$(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:E$(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function E$(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="object"?n[i]:n;return t}function Mg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function T$(e){return e.reduce((t,n)=>st(t,n.meta),{})}function Dg(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function a0(e,t){return t.children.some(n=>n===e||a0(e,n))}const l0=/#/g,C$=/&/g,O$=/\//g,x$=/=/g,P$=/\?/g,u0=/\+/g,S$=/%5B/g,R$=/%5D/g,c0=/%5E/g,A$=/%60/g,f0=/%7B/g,I$=/%7C/g,d0=/%7D/g,$$=/%20/g;function xd(e){return encodeURI(""+e).replace(I$,"|").replace(S$,"[").replace(R$,"]")}function M$(e){return xd(e).replace(f0,"{").replace(d0,"}").replace(c0,"^")}function Of(e){return xd(e).replace(u0,"%2B").replace($$,"+").replace(l0,"%23").replace(C$,"%26").replace(A$,"`").replace(f0,"{").replace(d0,"}").replace(c0,"^")}function D$(e){return Of(e).replace(x$,"%3D")}function L$(e){return xd(e).replace(l0,"%23").replace(P$,"%3F")}function N$(e){return e==null?"":L$(e).replace(O$,"%2F")}function bl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function F$(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<i.length;++o){const a=i[o].replace(u0," "),l=a.indexOf("="),c=bl(l<0?a:a.slice(0,l)),f=l<0?null:bl(a.slice(l+1));if(c in t){let d=t[c];tr(d)||(d=t[c]=[d]),d.push(f)}else t[c]=f}return t}function Lg(e){let t="";for(let n in e){const i=e[n];if(n=D$(n),i==null){i!==void 0&&(t+=(t.length?"&":"")+n);continue}(tr(i)?i.map(a=>a&&Of(a)):[i&&Of(i)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function k$(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=tr(i)?i.map(o=>o==null?null:""+o):i==null?i:""+i)}return t}const U$=Symbol(""),Ng=Symbol(""),ru=Symbol(""),Pd=Symbol(""),xf=Symbol("");function so(){let e=[];function t(i){return e.push(i),()=>{const o=e.indexOf(i);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ti(e,t,n,i,o){const a=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise((l,c)=>{const f=p=>{p===!1?c(Ms(4,{from:n,to:t})):p instanceof Error?c(p):c$(p)?c(Ms(2,{from:t,to:p})):(a&&i.enterCallbacks[o]===a&&typeof p=="function"&&a.push(p),l())},d=e.call(i&&i.instances[o],t,n,f);let m=Promise.resolve(d);e.length<3&&(m=m.then(f)),m.catch(p=>c(p))})}function Uc(e,t,n,i){const o=[];for(const a of e)for(const l in a.components){let c=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(H$(c)){const d=(c.__vccOpts||c)[t];d&&o.push(ti(d,n,i,a,l))}else{let f=c();o.push(()=>f.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${a.path}"`));const m=GI(d)?d.default:d;a.components[l]=m;const g=(m.__vccOpts||m)[t];return g&&ti(g,n,i,a,l)()}))}}return o}function H$(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Fg(e){const t=nn(ru),n=nn(Pd),i=Je(()=>t.resolve(Oe(e.to))),o=Je(()=>{const{matched:f}=i.value,{length:d}=f,m=f[d-1],p=n.matched;if(!m||!p.length)return-1;const g=p.findIndex(Is.bind(null,m));if(g>-1)return g;const y=kg(f[d-2]);return d>1&&kg(m)===y&&p[p.length-1].path!==y?p.findIndex(Is.bind(null,f[d-2])):g}),a=Je(()=>o.value>-1&&z$(n.params,i.value.params)),l=Je(()=>o.value>-1&&o.value===n.matched.length-1&&t0(n.params,i.value.params));function c(f={}){return j$(f)?t[Oe(e.replace)?"replace":"push"](Oe(e.to)).catch(Eo):Promise.resolve()}return{route:i,href:Je(()=>i.value.href),isActive:a,isExactActive:l,navigate:c}}const B$=Mt({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"}},useLink:Fg,setup(e,{slots:t}){const n=ci(Fg(e)),{options:i}=nn(ru),o=Je(()=>({[Ug(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Ug(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:qi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},a)}}}),W$=B$;function j$(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function z$(e,t){for(const n in t){const i=t[n],o=e[n];if(typeof i=="string"){if(i!==o)return!1}else if(!tr(o)||o.length!==i.length||i.some((a,l)=>a!==o[l]))return!1}return!0}function kg(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ug=(e,t,n)=>e??t??n,V$=Mt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=nn(xf),o=Je(()=>e.route||i.value),a=nn(Ng,0),l=Je(()=>{let d=Oe(a);const{matched:m}=o.value;let p;for(;(p=m[d])&&!p.components;)d++;return d}),c=Je(()=>o.value.matched[l.value]);go(Ng,Je(()=>l.value+1)),go(U$,c),go(xf,o);const f=we();return ct(()=>[f.value,c.value,e.name],([d,m,p],[g,y,_])=>{m&&(m.instances[p]=d,y&&y!==m&&d&&d===g&&(m.leaveGuards.size||(m.leaveGuards=y.leaveGuards),m.updateGuards.size||(m.updateGuards=y.updateGuards))),d&&m&&(!y||!Is(m,y)||!g)&&(m.enterCallbacks[p]||[]).forEach(b=>b(d))},{flush:"post"}),()=>{const d=o.value,m=e.name,p=c.value,g=p&&p.components[m];if(!g)return Hg(n.default,{Component:g,route:d});const y=p.props[m],_=y?y===!0?d.params:typeof y=="function"?y(d):y:null,P=qi(g,st({},_,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(p.instances[m]=null)},ref:f}));return Hg(n.default,{Component:P,route:d})||P}}});function Hg(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const q$=V$;function G$(e){const t=b$(e.routes,e),n=e.parseQuery||F$,i=e.stringifyQuery||Lg,o=e.history,a=so(),l=so(),c=so(),f=ws(Yr);let d=Yr;ms&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Nc.bind(null,J=>""+J),p=Nc.bind(null,N$),g=Nc.bind(null,bl);function y(J,fe){let oe,pe;return s0(J)?(oe=t.getRecordMatcher(J),pe=fe):pe=J,t.addRoute(pe,oe)}function _(J){const fe=t.getRecordMatcher(J);fe&&t.removeRoute(fe)}function b(){return t.getRoutes().map(J=>J.record)}function P(J){return!!t.getRecordMatcher(J)}function w(J,fe){if(fe=st({},fe||f.value),typeof J=="string"){const H=Fc(n,J,fe.path),Q=t.resolve({path:H.path},fe),re=o.createHref(H.fullPath);return st(H,Q,{params:g(Q.params),hash:bl(H.hash),redirectedFrom:void 0,href:re})}let oe;if("path"in J)oe=st({},J,{path:Fc(n,J.path,fe.path).path});else{const H=st({},J.params);for(const Q in H)H[Q]==null&&delete H[Q];oe=st({},J,{params:p(H)}),fe.params=p(fe.params)}const pe=t.resolve(oe,fe),ke=J.hash||"";pe.params=m(g(pe.params));const M=QI(i,st({},J,{hash:M$(ke),path:pe.path})),N=o.createHref(M);return st({fullPath:M,hash:ke,query:i===Lg?k$(J.query):J.query||{}},pe,{redirectedFrom:void 0,href:N})}function T(J){return typeof J=="string"?Fc(n,J,f.value.path):st({},J)}function A(J,fe){if(d!==J)return Ms(8,{from:fe,to:J})}function C(J){return R(J)}function x(J){return C(st(T(J),{replace:!0}))}function I(J){const fe=J.matched[J.matched.length-1];if(fe&&fe.redirect){const{redirect:oe}=fe;let pe=typeof oe=="function"?oe(J):oe;return typeof pe=="string"&&(pe=pe.includes("?")||pe.includes("#")?pe=T(pe):{path:pe},pe.params={}),st({query:J.query,hash:J.hash,params:"path"in pe?{}:J.params},pe)}}function R(J,fe){const oe=d=w(J),pe=f.value,ke=J.state,M=J.force,N=J.replace===!0,H=I(oe);if(H)return R(st(T(H),{state:typeof H=="object"?st({},ke,H.state):ke,force:M,replace:N}),fe||oe);const Q=oe;Q.redirectedFrom=fe;let re;return!M&&XI(i,pe,oe)&&(re=Ms(16,{to:Q,from:pe}),Ae(pe,pe,!0,!1)),(re?Promise.resolve(re):L(Q,pe)).catch(ie=>Pr(ie)?Pr(ie,2)?ie:Pe(ie):ae(ie,Q,pe)).then(ie=>{if(ie){if(Pr(ie,2))return R(st({replace:N},T(ie.to),{state:typeof ie.to=="object"?st({},ke,ie.to.state):ke,force:M}),fe||Q)}else ie=G(Q,pe,!0,N,ke);return W(Q,pe,ie),ie})}function S(J,fe){const oe=A(J,fe);return oe?Promise.reject(oe):Promise.resolve()}function $(J){const fe=Ke.values().next().value;return fe&&typeof fe.runWithContext=="function"?fe.runWithContext(J):J()}function L(J,fe){let oe;const[pe,ke,M]=K$(J,fe);oe=Uc(pe.reverse(),"beforeRouteLeave",J,fe);for(const H of pe)H.leaveGuards.forEach(Q=>{oe.push(ti(Q,J,fe))});const N=S.bind(null,J,fe);return oe.push(N),rt(oe).then(()=>{oe=[];for(const H of a.list())oe.push(ti(H,J,fe));return oe.push(N),rt(oe)}).then(()=>{oe=Uc(ke,"beforeRouteUpdate",J,fe);for(const H of ke)H.updateGuards.forEach(Q=>{oe.push(ti(Q,J,fe))});return oe.push(N),rt(oe)}).then(()=>{oe=[];for(const H of M)if(H.beforeEnter)if(tr(H.beforeEnter))for(const Q of H.beforeEnter)oe.push(ti(Q,J,fe));else oe.push(ti(H.beforeEnter,J,fe));return oe.push(N),rt(oe)}).then(()=>(J.matched.forEach(H=>H.enterCallbacks={}),oe=Uc(M,"beforeRouteEnter",J,fe),oe.push(N),rt(oe))).then(()=>{oe=[];for(const H of l.list())oe.push(ti(H,J,fe));return oe.push(N),rt(oe)}).catch(H=>Pr(H,8)?H:Promise.reject(H))}function W(J,fe,oe){c.list().forEach(pe=>$(()=>pe(J,fe,oe)))}function G(J,fe,oe,pe,ke){const M=A(J,fe);if(M)return M;const N=fe===Yr,H=ms?history.state:{};oe&&(pe||N?o.replace(J.fullPath,st({scroll:N&&H&&H.scroll},ke)):o.push(J.fullPath,ke)),f.value=J,Ae(J,fe,oe,N),Pe()}let V;function j(){V||(V=o.listen((J,fe,oe)=>{if(!ft.listening)return;const pe=w(J),ke=I(pe);if(ke){R(st(ke,{replace:!0}),pe).catch(Eo);return}d=pe;const M=f.value;ms&&r$(Pg(M.fullPath,oe.delta),nu()),L(pe,M).catch(N=>Pr(N,12)?N:Pr(N,2)?(R(N.to,pe).then(H=>{Pr(H,20)&&!oe.delta&&oe.type===$s.pop&&o.go(-1,!1)}).catch(Eo),Promise.reject()):(oe.delta&&o.go(-oe.delta,!1),ae(N,pe,M))).then(N=>{N=N||G(pe,M,!1),N&&(oe.delta&&!Pr(N,8)?o.go(-oe.delta,!1):oe.type===$s.pop&&Pr(N,20)&&o.go(-1,!1)),W(pe,M,N)}).catch(Eo)}))}let Y=so(),ee=so(),K;function ae(J,fe,oe){Pe(J);const pe=ee.list();return pe.length?pe.forEach(ke=>ke(J,fe,oe)):console.error(J),Promise.reject(J)}function be(){return K&&f.value!==Yr?Promise.resolve():new Promise((J,fe)=>{Y.add([J,fe])})}function Pe(J){return K||(K=!J,j(),Y.list().forEach(([fe,oe])=>J?oe(J):fe()),Y.reset()),J}function Ae(J,fe,oe,pe){const{scrollBehavior:ke}=e;if(!ms||!ke)return Promise.resolve();const M=!oe&&i$(Pg(J.fullPath,0))||(pe||!oe)&&history.state&&history.state.scroll||null;return mr().then(()=>ke(J,fe,M)).then(N=>N&&n$(N)).catch(N=>ae(N,J,fe))}const Ie=J=>o.go(J);let nt;const Ke=new Set,ft={currentRoute:f,listening:!0,addRoute:y,removeRoute:_,hasRoute:P,getRoutes:b,resolve:w,options:e,push:C,replace:x,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:a.add,beforeResolve:l.add,afterEach:c.add,onError:ee.add,isReady:be,install(J){const fe=this;J.component("RouterLink",W$),J.component("RouterView",q$),J.config.globalProperties.$router=fe,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>Oe(f)}),ms&&!nt&&f.value===Yr&&(nt=!0,C(o.location).catch(ke=>{}));const oe={};for(const ke in Yr)Object.defineProperty(oe,ke,{get:()=>f.value[ke],enumerable:!0});J.provide(ru,fe),J.provide(Pd,Qf(oe)),J.provide(xf,f);const pe=J.unmount;Ke.add(J),J.unmount=function(){Ke.delete(J),Ke.size<1&&(d=Yr,V&&V(),V=null,f.value=Yr,nt=!1,K=!1),pe()}}};function rt(J){return J.reduce((fe,oe)=>fe.then(()=>$(oe)),Promise.resolve())}return ft}function K$(e,t){const n=[],i=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let l=0;l<a;l++){const c=t.matched[l];c&&(e.matched.find(d=>Is(d,c))?i.push(c):n.push(c));const f=e.matched[l];f&&(t.matched.find(d=>Is(d,f))||o.push(f))}return[n,i,o]}function Y$(){return nn(ru)}function Q$(){return nn(Pd)}function Pf(e,t={},n){for(const i in e){const o=e[i],a=n?`${n}:${i}`:i;typeof o=="object"&&o!==null?Pf(o,t,a):typeof o=="function"&&(t[a]=o)}return t}const X$={run:e=>e()},Z$=()=>X$,h0=typeof console.createTask<"u"?console.createTask:Z$;function J$(e,t){const n=t.shift(),i=h0(n);return e.reduce((o,a)=>o.then(()=>i.run(()=>a(...t))),Promise.resolve())}function eM(e,t){const n=t.shift(),i=h0(n);return Promise.all(e.map(o=>i.run(()=>o(...t))))}function Hc(e,t){for(const n of[...e])n(t)}class tM{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,i={}){if(!t||typeof n!="function")return()=>{};const o=t;let a;for(;this._deprecatedHooks[t];)a=this._deprecatedHooks[t],t=a.to;if(a&&!i.allowDeprecated){let l=a.message;l||(l=`${o} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(l)||(console.warn(l),this._deprecatedMessages.add(l))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let i,o=(...a)=>(typeof i=="function"&&i(),i=void 0,o=void 0,n(...a));return i=this.hook(t,o),i}removeHook(t,n){if(this._hooks[t]){const i=this._hooks[t].indexOf(n);i!==-1&&this._hooks[t].splice(i,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const i=this._hooks[t]||[];delete this._hooks[t];for(const o of i)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Pf(t),i=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of i.splice(0,i.length))o()}}removeHooks(t){const n=Pf(t);for(const i in n)this.removeHook(i,n[i])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(J$,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(eM,t,...n)}callHookWith(t,n,...i){const o=this._before||this._after?{name:n,args:i,context:{}}:void 0;this._before&&Hc(this._before,o);const a=t(n in this._hooks?[...this._hooks[n]]:[],i);return a instanceof Promise?a.finally(()=>{this._after&&o&&Hc(this._after,o)}):(this._after&&o&&Hc(this._after,o),a)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function nM(){return new tM}function rM(e){return Array.isArray(e)?e:[e]}const iM=["title","script","style","noscript"],ol=["base","meta","link","style","script","noscript"],sM=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],oM=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Bg=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"],aM=typeof window<"u";function p0(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Wg(e){return e._h||p0(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function m0(e,t){const{props:n,tag:i}=e;if(oM.includes(i))return i;if(i==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];i==="meta"&&o.push("name","property","http-equiv");for(const a of o)if(typeof n[a]<"u"){const l=String(n[a]);return t&&!t(l)?!1:`${i}:${a}:${l}`}return!1}function jg(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function lM(e,t,n){const i={tag:e,props:{}};return t instanceof Promise&&(t=await t),e==="templateParams"?(i.props=t,i):["title","titleTemplate"].includes(e)?(t&&typeof t=="object"?(i.textContent=t.textContent,t.tagPriority&&(i.tagPriority=t.tagPriority)):i.textContent=t,i):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?i.props.src=t:i.innerHTML=t,i):!1:(t.body&&(t.tagPosition="bodyClose",delete t.body),t.children&&(t.innerHTML=t.children,delete t.children),i.props=await cM(e,{...t}),Object.keys(i.props).filter(o=>Bg.includes(o)).forEach(o=>{(!["innerHTML","textContent"].includes(o)||iM.includes(i.tag))&&(i[o]=i.props[o]),delete i.props[o]}),Bg.forEach(o=>{!i[o]&&n[o]&&(i[o]=n[o])}),["innerHTML","textContent"].forEach(o=>{if(i.tag==="script"&&typeof i[o]=="string"&&["application/ld+json","application/json"].includes(i.props.type))try{i[o]=JSON.parse(i[o])}catch{i[o]=""}typeof i[o]=="object"&&(i[o]=JSON.stringify(i[o]))}),i.props.class&&(i.props.class=uM(i.props.class)),i.props.content&&Array.isArray(i.props.content)?i.props.content.map(o=>({...i,props:{...i.props,content:o}})):i)}function uM(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function cM(e,t){for(const n of Object.keys(t)){const i=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=i?"true":"":String(t[n])==="false"&&(i?t[n]="false":delete t[n])}return t}const fM=10;async function dM(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,i])=>typeof i<"u"&&sM.includes(n)).forEach(([n,i])=>{const o=rM(i);t.push(...o.map(a=>lM(n,a,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,i)=>(n._e=e._i,n._p=(e._i<<fM)+i,n))}const zg={base:-1,title:1},Vg={critical:-8,high:-1,low:2};function wl(e){let t=10;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props.charset&&(t=-2),e.props["http-equiv"]==="content-security-policy"&&(t=0)):e.tag==="link"&&e.props.rel==="preconnect"?t=2:e.tag in zg&&(t=zg[e.tag]),typeof n=="string"&&n in Vg?t+Vg[n]:t)}const hM=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function oo(e,t){if(typeof e!="string")return e;function n(l){if(["s","pageTitle"].includes(l))return t.pageTitle;let c;return l.includes(".")?c=l.split(".").reduce((f,d)=>f&&f[d]||void 0,t):c=t[l],typeof c<"u"?c||"":!1}let i=e;try{i=decodeURI(e)}catch{}(i.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(l=>{const c=n(l.slice(1));typeof c=="string"&&(e=e.replace(new RegExp(`\\${l}(\\W|$)`,"g"),(f,d)=>`${c}${d}`).trim())});const a=t.separator;return e.includes(a)&&(e.endsWith(a)&&(e=e.slice(0,-a.length).trim()),e.startsWith(a)&&(e=e.slice(a.length).trim()),e=e.replace(new RegExp(`\\${a}\\s*\\${a}`,"g"),a)),e}function pM(e){const t={tag:e.tagName.toLowerCase(),props:e.getAttributeNames().reduce((n,i)=>({...n,[i]:e.getAttribute(i)}),{}),innerHTML:e.innerHTML};return t._d=m0(t),t}async function mM(e,t={}){var m;const n=t.document||e.resolvedOptions.document;if(!n)return;const i=(await e.resolveTags()).map(p=>({tag:p,id:ol.includes(p.tag)?Wg(p):p.tag,shouldRender:!0})),o={shouldRender:!0,tags:i};if(await e.hooks.callHook("dom:beforeRender",o),!o.shouldRender)return;let a=e._dom;if(!a){a={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const p of["body","head"]){const g=(m=n==null?void 0:n[p])==null?void 0:m.children;for(const y of[...g].filter(_=>ol.includes(_.tagName.toLowerCase())))a.elMap[y.getAttribute("data-hid")||Wg(pM(y))]=y}}a.pendingSideEffects={...a.sideEffects||{}},a.sideEffects={};function l(p,g,y){const _=`${p}:${g}`;a.sideEffects[_]=y,delete a.pendingSideEffects[_]}function c({id:p,$el:g,tag:y}){const _=y.tag.endsWith("Attrs");a.elMap[p]=g,_||(["textContent","innerHTML"].forEach(b=>{y[b]&&y[b]!==g[b]&&(g[b]=y[b])}),l(p,"el",()=>{a.elMap[p].remove(),delete a.elMap[p]})),Object.entries(y.props).forEach(([b,P])=>{P=String(P);const w=`attr:${b}`;if(b==="class")for(const T of(P||"").split(" ").filter(Boolean))_&&l(p,`${w}:${T}`,()=>g.classList.remove(T)),!g.classList.contains(T)&&g.classList.add(T);else g.getAttribute(b)!==P&&g.setAttribute(b,P),_&&l(p,w,()=>g.removeAttribute(b))})}const f=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const p of i){const{tag:g,shouldRender:y,id:_}=p;if(y){if(g.tag==="title"){n.title=g.textContent;continue}p.$el=p.$el||a.elMap[_],p.$el?c(p):ol.includes(g.tag)&&f.push(p)}}for(const p of f){const g=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),c(p),d[g]=d[g]||n.createDocumentFragment(),d[g].appendChild(p.$el)}for(const p of i)await e.hooks.callHook("dom:renderTag",p,n,l);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.bodyClose),Object.values(a.pendingSideEffects).forEach(p=>p()),e._dom=a,await e.hooks.callHook("dom:rendered",{renders:i})}async function gM(e,t={}){const n=t.delayFn||(i=>setTimeout(i,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(i=>n(async()=>{await mM(e,t),delete e._domUpdatePromise,i()}))}function _M(e){return{hooks:{"entries:updated":function(t){gM(t,e)}}}}const vM=["templateParams","htmlAttrs","bodyAttrs"],yM={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(i=>{e.props[i]&&(e.key=e.props[i],delete e.props[i])});const n=m0(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(i=>{const o=(i.key?`${i.tag}:${i.key}`:i._d)||i._p,a=t[o];if(a){let c=i==null?void 0:i.tagDuplicateStrategy;if(!c&&vM.includes(i.tag)&&(c="merge"),c==="merge"){const f=a.props;["class","style"].forEach(d=>{i.props[d]&&f[d]&&(d==="style"&&!f[d].endsWith(";")&&(f[d]+=";"),i.props[d]=`${f[d]} ${i.props[d]}`)}),t[o].props={...f,...i.props};return}else if(i._e===a._e){a._duped=a._duped||[],i._d=`${a._d}:${a._duped.length+1}`,a._duped.push(i);return}else if(wl(i)>wl(a))return}const l=Object.keys(i.props).length+(i.innerHTML?1:0)+(i.textContent?1:0);if(ol.includes(i.tag)&&l===0){delete t[o];return}t[o]=i});const n=[];Object.values(t).forEach(i=>{const o=i._duped;delete i._duped,n.push(i),o&&n.push(...o)}),e.tags=n}}},qg=["script","link","bodyAttrs"];function Gg(e){const t={},n={};return Object.entries(e.props).forEach(([i,o])=>{i.startsWith("on")&&typeof o=="function"?n[i]=o:t[i]=o}),{props:t,eventHandlers:n}}const bM={hooks:{"ssr:render":function(e){e.tags=e.tags.map(t=>(!qg.includes(t.tag)||!Object.entries(t.props).find(([n,i])=>n.startsWith("on")&&typeof i=="function")||(t.props=Gg(t).props),t))},"tags:resolve":function(e){e.tags=e.tags.map(t=>{if(!qg.includes(t.tag))return t;const{props:n,eventHandlers:i}=Gg(t);return Object.keys(i).length&&(t.props=n,t._eventHandlers=i),t})},"dom:renderTag":function(e,t,n){if(!e.tag._eventHandlers)return;const i=e.tag.tag==="bodyAttrs"?t.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([o,a])=>{const l=`${e.tag._d||e.tag._p}:${o}`,c=o.slice(2).toLowerCase(),f=`data-h-${c}`;if(n(e.id,l,()=>{}),e.$el.hasAttribute(f))return;const d=a;e.$el.setAttribute(f,""),i.addEventListener(c,d),e.entry&&n(e.id,l,()=>{i.removeEventListener(c,d),e.$el.removeAttribute(f)})})}}},wM=["link","style","script","noscript"],EM={hooks:{"tag:normalise":({tag:e})=>{e.key&&wM.includes(e.tag)&&(e.props["data-hid"]=e._h=p0(e.key))}}},TM={hooks:{"tags:resolve":e=>{const t=n=>{var i;return(i=e.tags.find(o=>o._d===n))==null?void 0:i._p};for(const{prefix:n,offset:i}of hM)for(const o of e.tags.filter(a=>typeof a.tagPriority=="string"&&a.tagPriority.startsWith(n))){const a=t(o.tagPriority.replace(n,""));typeof a<"u"&&(o._p=a+i)}e.tags.sort((n,i)=>n._p-i._p).sort((n,i)=>wl(n)-wl(i))}}},CM={hooks:{"tags:resolve":e=>{var a;const{tags:t}=e,n=(a=t.find(l=>l.tag==="title"))==null?void 0:a.textContent,i=t.findIndex(l=>l.tag==="templateParams"),o=i!==-1?t[i].props:{};o.separator=o.separator||"|",o.pageTitle=oo(o.pageTitle||n||"",o);for(const l of t)if(["titleTemplate","title"].includes(l.tag)&&typeof l.textContent=="string")l.textContent=oo(l.textContent,o);else if(l.tag==="meta"&&typeof l.props.content=="string")l.props.content=oo(l.props.content,o);else if(l.tag==="link"&&typeof l.props.href=="string")l.props.href=oo(l.props.href,o);else if(l.tag==="script"&&["application/json","application/ld+json"].includes(l.props.type)&&typeof l.innerHTML=="string")try{l.innerHTML=JSON.stringify(JSON.parse(l.innerHTML),(c,f)=>typeof f=="string"?oo(f,o):f)}catch{}e.tags=t.filter(l=>l.tag!=="templateParams")}}},OM={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const i=t.findIndex(o=>o.tag==="title");if(i!==-1&&n!==-1){const o=jg(t[n].textContent,t[i].textContent);o!==null?t[i].textContent=o||t[i].textContent:delete t[i]}else if(n!==-1){const o=jg(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}};let g0;function xM(e={}){const t=PM(e);return t.ssr||t.use(_M()),g0=t}function PM(e={}){const t=nM();t.addHooks(e.hooks||{}),e.plugins=[yM,bM,EM,TM,CM,OM,...(e==null?void 0:e.plugins)||[]],e.plugins.forEach(c=>t.addHooks(c.hooks||{})),e.document=e.document||(aM?document:void 0);const n=!e.document,i=()=>t.callHook("entries:updated",l);let o=0,a=[];const l={resolvedOptions:e,hooks:t,headEntries(){return a},use(c){c.hooks&&t.addHooks(c.hooks)},push(c,f){const d={_i:o++,input:c,...f},m=d.mode;return(!m||m==="server"&&n||m==="client"&&!n)&&(a.push(d),i()),{dispose(){a=a.filter(p=>p._i!==d._i),t.callHook("entries:updated",l),i()},patch(p){a=a.map(g=>(g._i===d._i&&(d.input=g.input=p),g)),i()}}},async resolveTags(){const c={tags:[],entries:[...a]};await t.callHook("entries:resolve",c);for(const f of c.entries){const d=f.resolvedInput||f.input;if(f.resolvedInput=await(f.transform?f.transform(d):d),f.resolvedInput)for(const m of await dM(f)){const p={tag:m,entry:f,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",p),c.tags.push(p.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),c.tags},ssr:n};return l.hooks.callHook("init",l),l}function SM(){return g0}const RM=yd.startsWith("3");function AM(e){return typeof e=="function"?e():Oe(e)}function El(e,t=""){if(e instanceof Promise)return e;const n=AM(e);return!e||!n?n:Array.isArray(n)?n.map(i=>El(i,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,o])=>i==="titleTemplate"||i.startsWith("on")?[i,Oe(o)]:[i,El(o,i)])):n}const IM={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=El(t.input)}}},_0="usehead";function $M(e){return{install(n){RM&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(_0,e))}}.install}function MM(e={}){e.domDelayFn=e.domDelayFn||(n=>mr(()=>n()));const t=xM(e);return t.use(IM),t.install=$M(t),t}function DM(){return Dt()&&nn(_0)||SM()}function LM(e,t={}){const n=DM();if(n)return n.ssr?n.push(e,t):NM(n,e,t)}function NM(e,t,n={}){const i=we(!1),o=we({});od(()=>{o.value=i.value?{}:El(t)});const a=e.push(o.value,n);return ct(o,c=>{a.patch(c)}),Dt()&&(Xo(()=>{a.dispose()}),cd(()=>{i.value=!0}),ud(()=>{i.value=!1})),a}function FM(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function kM(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const UM=Mt({setup(e,{slots:t}){const n=we(!1);return gr(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function HM(e,t,n,i={}){const{transformState:o,registerComponents:a=!0,useHead:l=!0,rootContainer:c="#app"}=i,f=typeof window<"u";async function d(m=!1,p){const g=m?Td(e):Uy(e);let y;l&&(y=MM(),g.use(y));const _=G$({history:m?l$(t.base):u$(t.base),...t}),{routes:b}=t;a&&g.component("ClientOnly",UM);const P=[],A={app:g,head:y,isClient:f,router:_,routes:b,onSSRAppRendered:m?()=>{}:R=>P.push(R),triggerOnSSRAppRendered:()=>Promise.all(P.map(R=>R())),initialState:{},transformState:o,routePath:p};m&&(await kM(),A.initialState=(o==null?void 0:o(window.__INITIAL_STATE__||{}))||FM(window.__INITIAL_STATE__)),await(n==null?void 0:n(A)),g.use(_);let C,x=!0;if(_.beforeEach((R,S,$)=>{(x||C&&C===R.path)&&(x=!1,C=R.path,R.meta.state=A.initialState),$()}),!m){const R=A.routePath??"/";_.push(R),await _.isReady(),A.initialState=_.currentRoute.value.meta.state||{}}const I=A.initialState;return{...A,initialState:I}}return f&&(async()=>{const{app:m,router:p}=await d(!0);await p.isReady(),m.mount(c,!0)})(),d}const BM="0.12.0",v0="https://github.com/xcpcio/xcpcio",WM="8cf804a669";var Xn=(e=>(e.PENDING="PENDING",e.RUNNING="RUNNING",e.FROZEN="FROZEN",e.FINISHED="FINISHED",e.PAUSED="PAUSED",e))(Xn||{}),ce=(e=>(e.PENDING="PENDING",e.WAITING="WAITING",e.PREPARING="PREPARING",e.COMPILING="COMPILING",e.RUNNING="RUNNING",e.JUDGING="JUDGING",e.FROZEN="FROZEN",e.ACCEPTED="ACCEPTED",e.CORRECT="CORRECT",e.PARTIALLY_CORRECT="PARTIALLY_CORRECT",e.REJECTED="REJECTED",e.WRONG_ANSWER="WRONG_ANSWER",e.COMPILATION_ERROR="COMPILATION_ERROR",e.PRESENTATION_ERROR="PRESENTATION_ERROR",e.RUNTIME_ERROR="RUNTIME_ERROR",e.TIME_LIMIT_EXCEEDED="TIME_LIMIT_EXCEEDED",e.MEMORY_LIMIT_EXCEEDED="MEMORY_LIMIT_EXCEEDED",e.OUTPUT_LIMIT_EXCEEDED="OUTPUT_LIMIT_EXCEEDED",e.IDLENESS_LIMIT_EXCEEDED="IDLENESS_LIMIT_EXCEEDED",e.HACKED="HACKED",e.JUDGEMENT_FAILED="JUDGEMENT_FAILED",e.CONFIGURATION_ERROR="CONFIGURATION_ERROR",e.FILE_ERROR="FILE_ERROR",e.SYSTEM_ERROR="SYSTEM_ERROR",e.CANCELED="CANCELED",e.SKIPPED="SKIPPED",e.SECURITY_VIOLATED="SECURITY_VIOLATED",e.DENIAL_OF_JUDGEMENT="DENIAL_OF_JUDGEMENT",e.UNKNOWN="UNKNOWN",e.UNDEFINED="UNDEFINED",e))(ce||{});const Lk={PENDING:"Pending",WAITING:"Waiting",PREPARING:"Preparing",COMPILING:"Compiling",RUNNING:"Running",JUDGING:"Judging",FROZEN:"Frozen",ACCEPTED:"Accepted",CORRECT:"Correct",PARTIALLY_CORRECT:"Partially Correct",REJECTED:"Rejected",WRONG_ANSWER:"Wrong Answer",COMPILATION_ERROR:"Compilation Error",PRESENTATION_ERROR:"Presentation Error",RUNTIME_ERROR:"Runtime Error",TIME_LIMIT_EXCEEDED:"Time Limit Exceeded",MEMORY_LIMIT_EXCEEDED:"Memory Limit Exceeded",OUTPUT_LIMIT_EXCEEDED:"Output Limit Exceeded",IDLENESS_LIMIT_EXCEEDED:"Idleness Limit Exceeded",HACKED:"Hacked",JUDGEMENT_FAILED:"Judgement Failed",CONFIGURATION_ERROR:"Configuration Error",FILE_ERROR:"File Error",SYSTEM_ERROR:"System Error",CANCELED:"Canceled",SKIPPED:"Skipped",SECURITY_VIOLATED:"Security Violated",DENIAL_OF_JUDGEMENT:"Denial Of Judgement",UNKNOWN:"Unknown",UNDEFINED:"Undefined"},jM={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},zM={"text-center":"","w-full":""},VM=ge("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),qM=ge("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1),GM={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},KM=["href"],YM={flex:"","justify-center":"","flex-col":""},QM=ge("li",null,[ge("a",{href:"mailto:hi@dup4.com","mr-4":"","md:mr-6":"","hover:underline":""},"Contact")],-1),XM={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},ZM=Mt({__name:"Footer",setup(e){return(t,n)=>{const i=On("RouterLink"),o=On("VTooltip");return Ve(),ut("footer",jM,[ge("div",zM,[Fe(i,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:Vt(()=>[VM,Yn(" Get more balloons ")]),_:1}),qM,ge("ul",GM,[ge("li",null,[Fe(i,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:Vt(()=>[Yn(" Home ")]),_:1})]),ge("li",null,[Fe(o,{"w-inherit":""},{popper:Vt(()=>[ge("div",YM,[ge("div",null,"Tag: "+Ut(Oe(BM)),1),ge("div",null,"Sha: "+Ut(Oe(WM)),1)])]),default:Vt(()=>[ge("a",{href:Oe(v0),class:"mr-4 md:mr-6 hover:underline",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,KM)]),_:1})]),QM]),ge("span",XM,[Yn("© 2020-PRESENT "),Fe(i,{to:"/","hover:underline":""},{default:Vt(()=>[Yn("XCPCIO™")]),_:1}),Yn(". All Rights Reserved.")])])])}}});function Gi(e){return Fl()?(Gf(e),!0):!1}function Bc(){const e=new Set,t=o=>{e.delete(o)};return{on:o=>{e.add(o);const a=()=>t(o);return Gi(a),{off:a}},off:t,trigger:o=>Promise.all(Array.from(e).map(a=>a(o)))}}function Ot(e){return typeof e=="function"?e():Oe(e)}const iu=typeof window<"u",JM=e=>typeof e<"u",eD=e=>e!=null,Cs=()=>{};function tD(e,t){function n(...i){return new Promise((o,a)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(o).catch(a)})}return n}const y0=e=>e();function nD(e=y0){const t=we(!0);function n(){t.value=!1}function i(){t.value=!0}const o=(...a)=>{t.value&&e(...a)};return{isActive:Fs(t),pause:n,resume:i,eventFilter:o}}function Kg(e,t=!1,n="Timeout"){return new Promise((i,o)=>{setTimeout(t?()=>o(n):i,e)})}function rD(e,...t){return t.some(n=>n in e)}function To(...e){if(e.length!==1)return xv(...e);const t=e[0];return typeof t=="function"?Fs(td(()=>({get:t,set:Cs}))):we(t)}function iD(e,t=!0){Dt()?gr(e):t?e():mr(e)}function Sf(e,t=!1){function n(p,{flush:g="sync",deep:y=!1,timeout:_,throwOnTimeout:b}={}){let P=null;const T=[new Promise(A=>{P=ct(e,C=>{p(C)!==t&&(P==null||P(),A(C))},{flush:g,deep:y,immediate:!0})})];return _!=null&&T.push(Kg(_,b).then(()=>Ot(e)).finally(()=>P==null?void 0:P())),Promise.race(T)}function i(p,g){if(!et(p))return n(C=>C===p,g);const{flush:y="sync",deep:_=!1,timeout:b,throwOnTimeout:P}=g??{};let w=null;const A=[new Promise(C=>{w=ct([e,p],([x,I])=>{t!==(x===I)&&(w==null||w(),C(x))},{flush:y,deep:_,immediate:!0})})];return b!=null&&A.push(Kg(b,P).then(()=>Ot(e)).finally(()=>(w==null||w(),Ot(e)))),Promise.race(A)}function o(p){return n(g=>!!g,p)}function a(p){return i(null,p)}function l(p){return i(void 0,p)}function c(p){return n(Number.isNaN,p)}function f(p,g){return n(y=>{const _=Array.from(y);return _.includes(p)||_.includes(Ot(p))},g)}function d(p){return m(1,p)}function m(p=1,g){let y=-1;return n(()=>(y+=1,y>=p),g)}return Array.isArray(Ot(e))?{toMatch:n,toContains:f,changed:d,changedTimes:m,get not(){return Sf(e,!t)}}:{toMatch:n,toBe:i,toBeTruthy:o,toBeNull:a,toBeNaN:c,toBeUndefined:l,changed:d,changedTimes:m,get not(){return Sf(e,!t)}}}function sD(e){return Sf(e)}function b0(e,t,n={}){const{immediate:i=!0}=n,o=we(!1);let a=null;function l(){a&&(clearTimeout(a),a=null)}function c(){o.value=!1,l()}function f(...d){l(),o.value=!0,a=setTimeout(()=>{o.value=!1,a=null,e(...d)},Ot(t))}return i&&(o.value=!0,iu&&f()),Gi(c),{isPending:Fs(o),start:f,stop:c}}function oD(e=!1,t={}){const{truthyValue:n=!0,falsyValue:i=!1}=t,o=et(e),a=we(e);function l(c){if(arguments.length)return a.value=c,a.value;{const f=Ot(n);return a.value=a.value===f?Ot(i):f,a.value}}return o?l:[a,l]}var Yg=Object.getOwnPropertySymbols,aD=Object.prototype.hasOwnProperty,lD=Object.prototype.propertyIsEnumerable,uD=(e,t)=>{var n={};for(var i in e)aD.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Yg)for(var i of Yg(e))t.indexOf(i)<0&&lD.call(e,i)&&(n[i]=e[i]);return n};function cD(e,t,n={}){const i=n,{eventFilter:o=y0}=i,a=uD(i,["eventFilter"]);return ct(e,tD(o,t),a)}var fD=Object.defineProperty,dD=Object.defineProperties,hD=Object.getOwnPropertyDescriptors,Tl=Object.getOwnPropertySymbols,w0=Object.prototype.hasOwnProperty,E0=Object.prototype.propertyIsEnumerable,Qg=(e,t,n)=>t in e?fD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pD=(e,t)=>{for(var n in t||(t={}))w0.call(t,n)&&Qg(e,n,t[n]);if(Tl)for(var n of Tl(t))E0.call(t,n)&&Qg(e,n,t[n]);return e},mD=(e,t)=>dD(e,hD(t)),gD=(e,t)=>{var n={};for(var i in e)w0.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Tl)for(var i of Tl(e))t.indexOf(i)<0&&E0.call(e,i)&&(n[i]=e[i]);return n};function _D(e,t,n={}){const i=n,{eventFilter:o}=i,a=gD(i,["eventFilter"]),{eventFilter:l,pause:c,resume:f,isActive:d}=nD(o);return{stop:cD(e,t,mD(pD({},a),{eventFilter:l})),pause:c,resume:f,isActive:d}}function Os(e){var t;const n=Ot(e);return(t=n==null?void 0:n.$el)!=null?t:n}const nr=iu?window:void 0,vD=iu?window.document:void 0,yD=iu?window.navigator:void 0;function ri(...e){let t,n,i,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,o]=e,t=nr):[t,n,i,o]=e,!t)return Cs;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const a=[],l=()=>{a.forEach(m=>m()),a.length=0},c=(m,p,g,y)=>(m.addEventListener(p,g,y),()=>m.removeEventListener(p,g,y)),f=ct(()=>[Os(t),Ot(o)],([m,p])=>{l(),m&&a.push(...n.flatMap(g=>i.map(y=>c(m,g,y,p))))},{immediate:!0,flush:"post"}),d=()=>{f(),l()};return Gi(d),d}function bD(){const e=we(!1);return Dt()&&gr(()=>{e.value=!0}),e}function su(e){const t=bD();return Je(()=>(t.value,!!e()))}function wD(e,t={}){const{window:n=nr}=t,i=su(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const a=we(!1),l=d=>{a.value=d.matches},c=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},f=od(()=>{i.value&&(c(),o=n.matchMedia(Ot(e)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),a.value=o.matches)});return Gi(()=>{f(),c(),o=void 0}),a}function Nk(e={}){const{navigator:t=yD,read:n=!1,source:i,copiedDuring:o=1500,legacy:a=!1}=e,l=su(()=>t&&"clipboard"in t),c=Je(()=>l.value||a),f=we(""),d=we(!1),m=b0(()=>d.value=!1,o);function p(){l.value?t.clipboard.readText().then(b=>{f.value=b}):f.value=_()}c.value&&n&&ri(["copy","cut"],p);async function g(b=Ot(i)){c.value&&b!=null&&(l.value?await t.clipboard.writeText(b):y(b),f.value=b,d.value=!0,m.start())}function y(b){const P=document.createElement("textarea");P.value=b??"",P.style.position="absolute",P.style.opacity="0",document.body.appendChild(P),P.select(),document.execCommand("copy"),P.remove()}function _(){var b,P,w;return(w=(P=(b=document==null?void 0:document.getSelection)==null?void 0:b.call(document))==null?void 0:P.toString())!=null?w:""}return{isSupported:c,text:f,copied:d,copy:g}}function ED(e){return JSON.parse(JSON.stringify(e))}const Ja=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},el="__vueuse_ssr_handlers__",TD=CD();function CD(){return el in Ja||(Ja[el]=Ja[el]||{}),Ja[el]}function T0(e,t){return TD[e]||t}function OD(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 xD=Object.defineProperty,Xg=Object.getOwnPropertySymbols,PD=Object.prototype.hasOwnProperty,SD=Object.prototype.propertyIsEnumerable,Zg=(e,t,n)=>t in e?xD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jg=(e,t)=>{for(var n in t||(t={}))PD.call(t,n)&&Zg(e,n,t[n]);if(Xg)for(var n of Xg(t))SD.call(t,n)&&Zg(e,n,t[n]);return e};const RD={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()}},e_="vueuse-storage";function AD(e,t,n,i={}){var o;const{flush:a="pre",deep:l=!0,listenToStorageChanges:c=!0,writeDefaults:f=!0,mergeDefaults:d=!1,shallow:m,window:p=nr,eventFilter:g,onError:y=S=>{console.error(S)}}=i,_=(m?ws:we)(t);if(!n)try{n=T0("getDefaultStorage",()=>{var S;return(S=nr)==null?void 0:S.localStorage})()}catch(S){y(S)}if(!n)return _;const b=Ot(t),P=OD(b),w=(o=i.serializer)!=null?o:RD[P],{pause:T,resume:A}=_D(_,()=>C(_.value),{flush:a,deep:l,eventFilter:g});return p&&c&&(ri(p,"storage",R),ri(p,e_,I)),R(),_;function C(S){try{if(S==null)n.removeItem(e);else{const $=w.write(S),L=n.getItem(e);L!==$&&(n.setItem(e,$),p&&p.dispatchEvent(new CustomEvent(e_,{detail:{key:e,oldValue:L,newValue:$,storageArea:n}})))}}catch($){y($)}}function x(S){const $=S?S.newValue:n.getItem(e);if($==null)return f&&b!==null&&n.setItem(e,w.write(b)),b;if(!S&&d){const L=w.read($);return typeof d=="function"?d(L,b):P==="object"&&!Array.isArray(L)?Jg(Jg({},b),L):L}else return typeof $!="string"?$:w.read($)}function I(S){R(S.detail)}function R(S){if(!(S&&S.storageArea!==n)){if(S&&S.key==null){_.value=b;return}if(!(S&&S.key!==e)){T();try{_.value=x(S)}catch($){y($)}finally{S?mr(A):A()}}}}}function C0(e){return wD("(prefers-color-scheme: dark)",e)}var ID=Object.defineProperty,t_=Object.getOwnPropertySymbols,$D=Object.prototype.hasOwnProperty,MD=Object.prototype.propertyIsEnumerable,n_=(e,t,n)=>t in e?ID(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,DD=(e,t)=>{for(var n in t||(t={}))$D.call(t,n)&&n_(e,n,t[n]);if(t_)for(var n of t_(t))MD.call(t,n)&&n_(e,n,t[n]);return e};function LD(e={}){const{selector:t="html",attribute:n="class",initialValue:i="auto",window:o=nr,storage:a,storageKey:l="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:f,emitAuto:d,disableTransition:m=!0}=e,p=DD({auto:"",light:"light",dark:"dark"},e.modes||{}),g=C0({window:o}),y=Je(()=>g.value?"dark":"light"),_=f||(l==null?To(i):AD(l,i,a,{window:o,listenToStorageChanges:c})),b=Je(()=>_.value==="auto"?y.value:_.value),P=T0("updateHTMLAttrs",(C,x,I)=>{const R=typeof C=="string"?o==null?void 0:o.document.querySelector(C):Os(C);if(!R)return;let S;if(m){S=o.document.createElement("style");const $="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";S.appendChild(document.createTextNode($)),o.document.head.appendChild(S)}if(x==="class"){const $=I.split(/\s/g);Object.values(p).flatMap(L=>(L||"").split(/\s/g)).filter(Boolean).forEach(L=>{$.includes(L)?R.classList.add(L):R.classList.remove(L)})}else R.setAttribute(x,I);m&&(o.getComputedStyle(S).opacity,document.head.removeChild(S))});function w(C){var x;P(t,n,(x=p[C])!=null?x:C)}function T(C){e.onChanged?e.onChanged(C,w):w(C)}ct(b,T,{flush:"post",immediate:!0}),iD(()=>T(b.value));const A=Je({get(){return d?_.value:b.value},set(C){_.value=C}});try{return Object.assign(A,{store:_,system:y,state:b})}catch{return A}}var r_=Object.getOwnPropertySymbols,ND=Object.prototype.hasOwnProperty,FD=Object.prototype.propertyIsEnumerable,kD=(e,t)=>{var n={};for(var i in e)ND.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&r_)for(var i of r_(e))t.indexOf(i)<0&&FD.call(e,i)&&(n[i]=e[i]);return n};function UD(e,t,n={}){const i=n,{window:o=nr}=i,a=kD(i,["window"]);let l;const c=su(()=>o&&"MutationObserver"in o),f=()=>{l&&(l.disconnect(),l=void 0)},d=ct(()=>Os(e),p=>{f(),c.value&&o&&p&&(l=new MutationObserver(t),l.observe(p,a))},{immediate:!0}),m=()=>{f(),d()};return Gi(m),{isSupported:c,stop:m}}var HD=Object.defineProperty,BD=Object.defineProperties,WD=Object.getOwnPropertyDescriptors,i_=Object.getOwnPropertySymbols,jD=Object.prototype.hasOwnProperty,zD=Object.prototype.propertyIsEnumerable,s_=(e,t,n)=>t in e?HD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,VD=(e,t)=>{for(var n in t||(t={}))jD.call(t,n)&&s_(e,n,t[n]);if(i_)for(var n of i_(t))zD.call(t,n)&&s_(e,n,t[n]);return e},qD=(e,t)=>BD(e,WD(t));function GD(e={}){const{valueDark:t="dark",valueLight:n=""}=e,i=LD(qD(VD({},e),{onChanged:(a,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,a==="dark",l,a):l(a)},modes:{dark:t,light:n}}));return Je({get(){return i.value==="dark"},set(a){const l=a?"dark":"light";i.system.value===l?i.value="auto":i.value=l}})}function KD(e,t,n={}){const{root:i,rootMargin:o="0px",threshold:a=.1,window:l=nr,immediate:c=!0}=n,f=su(()=>l&&"IntersectionObserver"in l),d=Je(()=>{const _=Ot(e);return(Array.isArray(_)?_:[_]).map(Os).filter(eD)});let m=Cs;const p=we(c),g=f.value?ct(()=>[d.value,Os(i),p.value],([_,b])=>{if(m(),!p.value||!_.length)return;const P=new IntersectionObserver(t,{root:Os(b),rootMargin:o,threshold:a});_.forEach(w=>w&&P.observe(w)),m=()=>{P.disconnect(),m=Cs}},{immediate:c,flush:"post"}):Cs,y=()=>{m(),g(),p.value=!1};return Gi(y),{isSupported:f,isActive:p,pause(){m(),p.value=!1},resume(){p.value=!0},stop:y}}function YD(e,{window:t=nr,scrollTarget:n}={}){const i=we(!1);return KD(e,([{isIntersecting:o}])=>{i.value=o},{root:n,window:t}),i}var QD=Object.defineProperty,XD=Object.defineProperties,ZD=Object.getOwnPropertyDescriptors,o_=Object.getOwnPropertySymbols,JD=Object.prototype.hasOwnProperty,eL=Object.prototype.propertyIsEnumerable,a_=(e,t,n)=>t in e?QD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cn=(e,t)=>{for(var n in t||(t={}))JD.call(t,n)&&a_(e,n,t[n]);if(o_)for(var n of o_(t))eL.call(t,n)&&a_(e,n,t[n]);return e},ao=(e,t)=>XD(e,ZD(t));const tL={json:"application/json",text:"text/plain"};function l_(e){return e&&rD(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Wc(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries([...e.entries()]):e}function nL(e,...t){var n;const i=typeof AbortController=="function";let o={},a={immediate:!0,refetch:!1,timeout:0};const l={method:"GET",type:"text",payload:void 0};t.length>0&&(l_(t[0])?a=cn(cn({},a),t[0]):o=t[0]),t.length>1&&l_(t[1])&&(a=cn(cn({},a),t[1]));const{fetch:c=(n=nr)==null?void 0:n.fetch,initialData:f,timeout:d}=a,m=Bc(),p=Bc(),g=Bc(),y=we(!1),_=we(!1),b=we(!1),P=we(null),w=ws(null),T=ws(null),A=ws(f||null),C=Je(()=>i&&_.value);let x,I;const R=()=>{i&&(x==null||x.abort(),x=new AbortController,x.signal.onabort=()=>b.value=!0,o=ao(cn({},o),{signal:x.signal}))},S=Y=>{_.value=Y,y.value=!Y};d&&(I=b0(R,d,{immediate:!1}));const $=async(Y=!1)=>{var ee;R(),S(!0),T.value=null,P.value=null,b.value=!1;const K={method:l.method,headers:{}};if(l.payload){const Ae=Wc(K.headers),Ie=Ot(l.payload);!l.payloadType&&Ie&&Object.getPrototypeOf(Ie)===Object.prototype&&!(Ie instanceof FormData)&&(l.payloadType="json"),l.payloadType&&(Ae["Content-Type"]=(ee=tL[l.payloadType])!=null?ee:l.payloadType),K.body=l.payloadType==="json"?JSON.stringify(Ie):Ie}let ae=!1;const be={url:Ot(e),options:cn(cn({},K),o),cancel:()=>{ae=!0}};if(a.beforeFetch&&Object.assign(be,await a.beforeFetch(be)),ae||!c)return S(!1),Promise.resolve(null);let Pe=null;return I&&I.start(),new Promise((Ae,Ie)=>{var nt;c(be.url,ao(cn(cn({},K),be.options),{headers:cn(cn({},Wc(K.headers)),Wc((nt=be.options)==null?void 0:nt.headers))})).then(async Ke=>{if(w.value=Ke,P.value=Ke.status,Pe=await Ke[l.type](),!Ke.ok)throw A.value=f||null,new Error(Ke.statusText);return a.afterFetch&&({data:Pe}=await a.afterFetch({data:Pe,response:Ke})),A.value=Pe,m.trigger(Ke),Ae(Ke)}).catch(async Ke=>{let ft=Ke.message||Ke.name;return a.onFetchError&&({error:ft}=await a.onFetchError({data:Pe,error:Ke,response:w.value})),T.value=ft,p.trigger(Ke),Y?Ie(Ke):Ae(null)}).finally(()=>{S(!1),I&&I.stop(),g.trigger(null)})})},L=To(a.refetch);ct([L,To(e)],([Y])=>Y&&$(),{deep:!0});const W={isFinished:y,statusCode:P,response:w,error:T,data:A,isFetching:_,canAbort:C,aborted:b,abort:R,execute:$,onFetchResponse:m.on,onFetchError:p.on,onFetchFinally:g.on,get:G("GET"),put:G("PUT"),post:G("POST"),delete:G("DELETE"),patch:G("PATCH"),head:G("HEAD"),options:G("OPTIONS"),json:j("json"),text:j("text"),blob:j("blob"),arrayBuffer:j("arrayBuffer"),formData:j("formData")};function G(Y){return(ee,K)=>{if(!_.value)return l.method=Y,l.payload=ee,l.payloadType=K,et(l.payload)&&ct([L,To(l.payload)],([ae])=>ae&&$(),{deep:!0}),ao(cn({},W),{then(ae,be){return V().then(ae,be)}})}}function V(){return new Promise((Y,ee)=>{sD(y).toBe(!0).then(()=>Y(W)).catch(K=>ee(K))})}function j(Y){return()=>{if(!_.value)return l.type=Y,ao(cn({},W),{then(ee,K){return V().then(ee,K)}})}}return a.immediate&&Promise.resolve().then(()=>$()),ao(cn({},W),{then(Y,ee){return V().then(Y,ee)}})}const rL={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Fk(e={}){const{reactive:t=!1,target:n=nr,aliasMap:i=rL,passive:o=!0,onEventFired:a=Cs}=e,l=ci(new Set),c={toJSON(){return{}},current:l},f=t?ci(c):c,d=new Set,m=new Set;function p(b,P){b in f&&(t?f[b]=P:f[b].value=P)}function g(){l.clear();for(const b of m)p(b,!1)}function y(b,P){var w,T;const A=(w=b.key)==null?void 0:w.toLowerCase(),x=[(T=b.code)==null?void 0:T.toLowerCase(),A].filter(Boolean);A&&(P?l.add(A):l.delete(A));for(const I of x)m.add(I),p(I,P);A==="meta"&&!P?(d.forEach(I=>{l.delete(I),p(I,!1)}),d.clear()):typeof b.getModifierState=="function"&&b.getModifierState("Meta")&&P&&[...l,...x].forEach(I=>d.add(I))}ri(n,"keydown",b=>(y(b,!0),a(b)),{passive:o}),ri(n,"keyup",b=>(y(b,!1),a(b)),{passive:o}),ri("blur",g,{passive:!0}),ri("focus",g,{passive:!0});const _=new Proxy(f,{get(b,P,w){if(typeof P!="string")return Reflect.get(b,P,w);if(P=P.toLowerCase(),P in i&&(P=i[P]),!(P in f))if(/[+_-]/.test(P)){const A=P.split(/[+_-]/g).map(C=>C.trim());f[P]=Je(()=>A.every(C=>Ot(_[C])))}else f[P]=we(!1);const T=Reflect.get(b,P,w);return t?Ot(T):T}});return _}function kk(e=null,t={}){var n,i;const{document:o=vD}=t,a=To((n=e??(o==null?void 0:o.title))!=null?n:null),l=e&&typeof e=="function";function c(f){if(!("titleTemplate"in t))return f;const d=t.titleTemplate||"%s";return typeof d=="function"?d(f):Ot(d).replace(/%s/g,f)}return ct(a,(f,d)=>{f!==d&&o&&(o.title=c(typeof f=="string"?f:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&o&&!l&&UD((i=o.head)==null?void 0:i.querySelector("title"),()=>{o&&o.title!==a.value&&(a.value=c(o.title))},{childList:!0}),a}function u_(e,t,n,i={}){var o,a,l;const{clone:c=!1,passive:f=!1,eventName:d,deep:m=!1,defaultValue:p,shouldEmit:g}=i,y=Dt(),_=n||(y==null?void 0:y.emit)||((o=y==null?void 0:y.$emit)==null?void 0:o.bind(y))||((l=(a=y==null?void 0:y.proxy)==null?void 0:a.$emit)==null?void 0:l.bind(y==null?void 0:y.proxy));let b=d;t||(t="modelValue"),b=b||`update:${t.toString()}`;const P=A=>c?typeof c=="function"?c(A):ED(A):A,w=()=>JM(e[t])?P(e[t]):p,T=A=>{g?g(A)&&_(b,A):_(b,A)};if(f){const A=w(),C=we(A);return ct(()=>e[t],x=>C.value=P(x)),ct(C,x=>{(x!==e[t]||m)&&T(x)},{deep:m}),C}else return Je({get(){return w()},set(A){T(A)}})}function iL({window:e=nr}={}){if(!e)return{x:we(0),y:we(0)};const t=we(e.scrollX),n=we(e.scrollY);return ri(e,"scroll",()=>{t.value=e.scrollX,n.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:n}}const O0=GD(),sL=oD(O0),oL=C0(),Us=e=>(ql("data-v-a79e7085"),e=e(),Gl(),e),aL=Us(()=>ge("div",{"i-ri-arrow-up-line":""},null,-1)),lL=[aL],uL=Us(()=>ge("div",{class:"spacer"},null,-1)),cL={class:"right","print:op0":""},fL=Us(()=>ge("div",{"i-ion-balloon-sharp":""},null,-1)),dL=["title"],hL=Us(()=>ge("div",{"i-carbon-language":""},null,-1)),pL=[hL],mL=["title"],gL=Us(()=>ge("div",{i:"carbon-sun dark:carbon-moon"},null,-1)),_L=[gL],vL=["href"],yL=Us(()=>ge("div",{"i-carbon-logo-github":""},null,-1)),bL=[yL],wL=Mt({__name:"NavBar",props:{width:null},setup(e){const t=e,{t:n,locale:i}=ks(),{y:o}=iL();function a(){window.scrollTo({top:0,behavior:"smooth"})}async function l(){const c=Ky,f=c[(c.indexOf(i.value)+1)%c.length];await Od(f),i.value=f}return(c,f)=>{const d=On("RouterLink");return Ve(),ut("header",{class:tn(["header z-40",[(t==null?void 0:t.width)??""]])},[ge("button",{title:"Scroll to top",fixed:"","bottom-6":"","right-6":"","z-100":"","h-10":"","w-10":"","rounded-full":"",transition:"","duration-300":"","print:hidden":"","hover-bg-hex-8883":"","hover:op100":"",class:tn(Oe(o)>300?"op30":"op0! pointer-events-none"),onClick:f[0]||(f[0]=m=>a())},lL,2),ge("nav",{class:tn(["nav",[t!=null&&t.width?"":"fixed"]]),"text-xl":""},[uL,ge("div",cL,[Fe(d,{"icon-btn":"",title:Oe(n)("button.home"),to:"/",focusable:"false"},{default:Vt(()=>[fL]),_:1},8,["title"]),ge("a",{"icon-btn":"",title:Oe(n)("button.toggle_langs"),onClick:f[1]||(f[1]=m=>l())},pL,8,dL),ge("a",{"icon-btn":"",title:Oe(n)("button.toggle_dark"),onClick:f[2]||(f[2]=m=>("toggleDark"in c?c.toggleDark:Oe(sL))())},_L,8,mL),ge("a",{"icon-btn":"",rel:"noreferrer",href:Oe(v0),target:"_blank",title:"GitHub"},bL,8,vL)])],2)],2)}}});const Hs=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n},EL=Hs(wL,[["__scopeId","data-v-a79e7085"]]),TL={},CL={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function OL(e,t){const n=EL,i=On("RouterView"),o=ZM;return Ve(),ut(wt,null,[Fe(n),ge("main",CL,[Fe(i),Fe(o)])],64)}const xL=Hs(TL,[["render",OL]]),PL={"board-layout":()=>cr(()=>import("./board-layout-deaedfc1.js"),[]),default:xL,home:()=>cr(()=>import("./home-49c336e5.js"),[]),"index-layout":()=>cr(()=>import("./index-layout-d65c80ea.js"),[])};function SL(e){return e.map(t=>{var n;return{path:t.path,meta:t.meta,component:PL[((n=t.meta)==null?void 0:n.layout)||"default"],children:t.path==="/"?[t]:[{...t,path:""}]}})}const RL=["top","right","bottom","left"],c_=["start","end"],f_=RL.reduce((e,t)=>e.concat(t,t+"-"+c_[0],t+"-"+c_[1]),[]),Ho=Math.min,Ai=Math.max,AL={left:"right",right:"left",bottom:"top",top:"bottom"},IL={start:"end",end:"start"};function Rf(e,t,n){return Ai(e,Ho(t,n))}function Ki(e,t){return typeof e=="function"?e(t):e}function pr(e){return e.split("-")[0]}function er(e){return e.split("-")[1]}function x0(e){return e==="x"?"y":"x"}function Sd(e){return e==="y"?"height":"width"}function Zo(e){return["top","bottom"].includes(pr(e))?"y":"x"}function Rd(e){return x0(Zo(e))}function P0(e,t,n){n===void 0&&(n=!1);const i=er(e),o=Rd(e),a=Sd(o);let l=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=Ol(l)),[l,Ol(l)]}function $L(e){const t=Ol(e);return[Cl(e),t,Cl(t)]}function Cl(e){return e.replace(/start|end/g,t=>IL[t])}function ML(e,t,n){const i=["left","right"],o=["right","left"],a=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:i:t?i:o;case"left":case"right":return t?a:l;default:return[]}}function DL(e,t,n,i){const o=er(e);let a=ML(pr(e),n==="start",i);return o&&(a=a.map(l=>l+"-"+o),t&&(a=a.concat(a.map(Cl)))),a}function Ol(e){return e.replace(/left|right|bottom|top/g,t=>AL[t])}function LL(e){return{top:0,right:0,bottom:0,left:0,...e}}function S0(e){return typeof e!="number"?LL(e):{top:e,right:e,bottom:e,left:e}}function Co(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function d_(e,t,n){let{reference:i,floating:o}=e;const a=Zo(t),l=Rd(t),c=Sd(l),f=pr(t),d=a==="y",m=i.x+i.width/2-o.width/2,p=i.y+i.height/2-o.height/2,g=i[c]/2-o[c]/2;let y;switch(f){case"top":y={x:m,y:i.y-o.height};break;case"bottom":y={x:m,y:i.y+i.height};break;case"right":y={x:i.x+i.width,y:p};break;case"left":y={x:i.x-o.width,y:p};break;default:y={x:i.x,y:i.y}}switch(er(t)){case"start":y[l]-=g*(n&&d?-1:1);break;case"end":y[l]+=g*(n&&d?-1:1);break}return y}const NL=async(e,t,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:a=[],platform:l}=n,c=a.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(t));let d=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:m,y:p}=d_(d,i,f),g=i,y={},_=0;for(let b=0;b<c.length;b++){const{name:P,fn:w}=c[b],{x:T,y:A,data:C,reset:x}=await w({x:m,y:p,initialPlacement:i,placement:g,strategy:o,middlewareData:y,rects:d,platform:l,elements:{reference:e,floating:t}});if(m=T??m,p=A??p,y={...y,[P]:{...y[P],...C}},x&&_<=50){_++,typeof x=="object"&&(x.placement&&(g=x.placement),x.rects&&(d=x.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:m,y:p}=d_(d,g,f)),b=-1;continue}}return{x:m,y:p,placement:g,strategy:o,middlewareData:y}};async function ou(e,t){var n;t===void 0&&(t={});const{x:i,y:o,platform:a,rects:l,elements:c,strategy:f}=e,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:g=!1,padding:y=0}=Ki(t,e),_=S0(y),P=c[g?p==="floating"?"reference":"floating":p],w=Co(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(P)))==null||n?P:P.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:d,rootBoundary:m,strategy:f})),T=p==="floating"?{...l.floating,x:i,y:o}:l.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),C=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},x=Co(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:T,offsetParent:A,strategy:f}):T);return{top:(w.top-x.top+_.top)/C.y,bottom:(x.bottom-w.bottom+_.bottom)/C.y,left:(w.left-x.left+_.left)/C.x,right:(x.right-w.right+_.right)/C.x}}const FL=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:o,rects:a,platform:l,elements:c}=t,{element:f,padding:d=0}=Ki(e,t)||{};if(f==null)return{};const m=S0(d),p={x:n,y:i},g=Rd(o),y=Sd(g),_=await l.getDimensions(f),b=g==="y",P=b?"top":"left",w=b?"bottom":"right",T=b?"clientHeight":"clientWidth",A=a.reference[y]+a.reference[g]-p[g]-a.floating[y],C=p[g]-a.reference[g],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(f));let I=x?x[T]:0;(!I||!await(l.isElement==null?void 0:l.isElement(x)))&&(I=c.floating[T]||a.floating[y]);const R=A/2-C/2,S=I/2-_[y]/2-1,$=Ho(m[P],S),L=Ho(m[w],S),W=$,G=I-_[y]-L,V=I/2-_[y]/2+R,j=Rf(W,V,G),ee=er(o)!=null&&V!=j&&a.reference[y]/2-(V<W?$:L)-_[y]/2<0?V<W?W-V:G-V:0;return{[g]:p[g]-ee,data:{[g]:j,centerOffset:V-j+ee}}}});function kL(e,t,n){return(e?[...n.filter(o=>er(o)===e),...n.filter(o=>er(o)!==e)]:n.filter(o=>pr(o)===o)).filter(o=>e?er(o)===e||(t?Cl(o)!==o:!1):!0)}const UL=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,o;const{rects:a,middlewareData:l,placement:c,platform:f,elements:d}=t,{crossAxis:m=!1,alignment:p,allowedPlacements:g=f_,autoAlignment:y=!0,..._}=Ki(e,t),b=p!==void 0||g===f_?kL(p||null,y,g):g,P=await ou(t,_),w=((n=l.autoPlacement)==null?void 0:n.index)||0,T=b[w];if(T==null)return{};const A=P0(T,a,await(f.isRTL==null?void 0:f.isRTL(d.floating)));if(c!==T)return{reset:{placement:b[0]}};const C=[P[pr(T)],P[A[0]],P[A[1]]],x=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:T,overflows:C}],I=b[w+1];if(I)return{data:{index:w+1,overflows:x},reset:{placement:I}};const R=x.map(L=>{const W=er(L.placement);return[L.placement,W&&m?L.overflows.slice(0,2).reduce((G,V)=>G+V,0):L.overflows[0],L.overflows]}).sort((L,W)=>L[1]-W[1]),$=((o=R.filter(L=>L[2].slice(0,er(L[0])?2:3).every(W=>W<=0))[0])==null?void 0:o[0])||R[0][0];return $!==c?{data:{index:w+1,overflows:x},reset:{placement:$}}:{}}}},HL=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:i,middlewareData:o,rects:a,initialPlacement:l,platform:c,elements:f}=t,{mainAxis:d=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:_=!0,...b}=Ki(e,t),P=pr(i),w=pr(l)===l,T=await(c.isRTL==null?void 0:c.isRTL(f.floating)),A=p||(w||!_?[Ol(l)]:$L(l));!p&&y!=="none"&&A.push(...DL(l,_,y,T));const C=[l,...A],x=await ou(t,b),I=[];let R=((n=o.flip)==null?void 0:n.overflows)||[];if(d&&I.push(x[P]),m){const W=P0(i,a,T);I.push(x[W[0]],x[W[1]])}if(R=[...R,{placement:i,overflows:I}],!I.every(W=>W<=0)){var S,$;const W=(((S=o.flip)==null?void 0:S.index)||0)+1,G=C[W];if(G)return{data:{index:W,overflows:R},reset:{placement:G}};let V=($=R.filter(j=>j.overflows[0]<=0).sort((j,Y)=>j.overflows[1]-Y.overflows[1])[0])==null?void 0:$.placement;if(!V)switch(g){case"bestFit":{var L;const j=(L=R.map(Y=>[Y.placement,Y.overflows.filter(ee=>ee>0).reduce((ee,K)=>ee+K,0)]).sort((Y,ee)=>Y[1]-ee[1])[0])==null?void 0:L[0];j&&(V=j);break}case"initialPlacement":V=l;break}if(i!==V)return{reset:{placement:V}}}return{}}}};async function BL(e,t){const{placement:n,platform:i,elements:o}=e,a=await(i.isRTL==null?void 0:i.isRTL(o.floating)),l=pr(n),c=er(n),f=Zo(n)==="y",d=["left","top"].includes(l)?-1:1,m=a&&f?-1:1,p=Ki(t,e);let{mainAxis:g,crossAxis:y,alignmentAxis:_}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return c&&typeof _=="number"&&(y=c==="end"?_*-1:_),f?{x:y*m,y:g*d}:{x:g*d,y:y*m}}const WL=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:i}=t,o=await BL(t,e);return{x:n+o.x,y:i+o.y,data:o}}}},jL=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:P=>{let{x:w,y:T}=P;return{x:w,y:T}}},...f}=Ki(e,t),d={x:n,y:i},m=await ou(t,f),p=Zo(pr(o)),g=x0(p);let y=d[g],_=d[p];if(a){const P=g==="y"?"top":"left",w=g==="y"?"bottom":"right",T=y+m[P],A=y-m[w];y=Rf(T,y,A)}if(l){const P=p==="y"?"top":"left",w=p==="y"?"bottom":"right",T=_+m[P],A=_-m[w];_=Rf(T,_,A)}const b=c.fn({...t,[g]:y,[p]:_});return{...b,data:{x:b.x-n,y:b.y-i}}}}},zL=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:i,platform:o,elements:a}=t,{apply:l=()=>{},...c}=Ki(e,t),f=await ou(t,c),d=pr(n),m=er(n),p=Zo(n)==="y",{width:g,height:y}=i.floating;let _,b;d==="top"||d==="bottom"?(_=d,b=m===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(b=d,_=m==="end"?"top":"bottom");const P=y-f[_],w=g-f[b],T=!t.middlewareData.shift;let A=P,C=w;if(p){const I=g-f.left-f.right;C=m||T?Ho(w,I):I}else{const I=y-f.top-f.bottom;A=m||T?Ho(P,I):I}if(T&&!m){const I=Ai(f.left,0),R=Ai(f.right,0),S=Ai(f.top,0),$=Ai(f.bottom,0);p?C=g-2*(I!==0||R!==0?I+R:Ai(f.left,f.right)):A=y-2*(S!==0||$!==0?S+$:Ai(f.top,f.bottom))}await l({...t,availableWidth:C,availableHeight:A});const x=await o.getDimensions(a.floating);return g!==x.width||y!==x.height?{reset:{rects:!0}}:{}}}};function Fn(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function fr(e){return Fn(e).getComputedStyle(e)}const h_=Math.min,Oo=Math.max,xl=Math.round;function R0(e){const t=fr(e);let n=parseFloat(t.width),i=parseFloat(t.height);const o=e.offsetWidth,a=e.offsetHeight,l=xl(n)!==o||xl(i)!==a;return l&&(n=o,i=a),{width:n,height:i,fallback:l}}function mi(e){return I0(e)?(e.nodeName||"").toLowerCase():""}let tl;function A0(){if(tl)return tl;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(tl=e.brands.map(t=>t.brand+"/"+t.version).join(" "),tl):navigator.userAgent}function dr(e){return e instanceof Fn(e).HTMLElement}function oi(e){return e instanceof Fn(e).Element}function I0(e){return e instanceof Fn(e).Node}function p_(e){return typeof ShadowRoot>"u"?!1:e instanceof Fn(e).ShadowRoot||e instanceof ShadowRoot}function au(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=fr(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(o)}function VL(e){return["table","td","th"].includes(mi(e))}function Af(e){const t=/firefox/i.test(A0()),n=fr(e),i=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!i&&i!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const a=n.contain;return a!=null&&a.includes(o)})}function $0(){return!/^((?!chrome|android).)*safari/i.test(A0())}function Ad(e){return["html","body","#document"].includes(mi(e))}function M0(e){return oi(e)?e:e.contextElement}const D0={x:1,y:1};function xs(e){const t=M0(e);if(!dr(t))return D0;const n=t.getBoundingClientRect(),{width:i,height:o,fallback:a}=R0(t);let l=(a?xl(n.width):n.width)/i,c=(a?xl(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),c&&Number.isFinite(c)||(c=1),{x:l,y:c}}function Bo(e,t,n,i){var o,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),c=M0(e);let f=D0;t&&(i?oi(i)&&(f=xs(i)):f=xs(e));const d=c?Fn(c):window,m=!$0()&&n;let p=(l.left+(m&&((o=d.visualViewport)==null?void 0:o.offsetLeft)||0))/f.x,g=(l.top+(m&&((a=d.visualViewport)==null?void 0:a.offsetTop)||0))/f.y,y=l.width/f.x,_=l.height/f.y;if(c){const b=Fn(c),P=i&&oi(i)?Fn(i):i;let w=b.frameElement;for(;w&&i&&P!==b;){const T=xs(w),A=w.getBoundingClientRect(),C=getComputedStyle(w);A.x+=(w.clientLeft+parseFloat(C.paddingLeft))*T.x,A.y+=(w.clientTop+parseFloat(C.paddingTop))*T.y,p*=T.x,g*=T.y,y*=T.x,_*=T.y,p+=A.x,g+=A.y,w=Fn(w).frameElement}}return{width:y,height:_,top:g,right:p+y,bottom:g+_,left:p,x:p,y:g}}function ai(e){return((I0(e)?e.ownerDocument:e.document)||window.document).documentElement}function lu(e){return oi(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function L0(e){return Bo(ai(e)).left+lu(e).scrollLeft}function Wo(e){if(mi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||p_(e)&&e.host||ai(e);return p_(t)?t.host:t}function N0(e){const t=Wo(e);return Ad(t)?t.ownerDocument.body:dr(t)&&au(t)?t:N0(t)}function Pl(e,t){var n;t===void 0&&(t=[]);const i=N0(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),a=Fn(i);return o?t.concat(a,a.visualViewport||[],au(i)?i:[]):t.concat(i,Pl(i))}function m_(e,t,n){return t==="viewport"?Co(function(i,o){const a=Fn(i),l=ai(i),c=a.visualViewport;let f=l.clientWidth,d=l.clientHeight,m=0,p=0;if(c){f=c.width,d=c.height;const g=$0();(g||!g&&o==="fixed")&&(m=c.offsetLeft,p=c.offsetTop)}return{width:f,height:d,x:m,y:p}}(e,n)):oi(t)?Co(function(i,o){const a=Bo(i,!0,o==="fixed"),l=a.top+i.clientTop,c=a.left+i.clientLeft,f=dr(i)?xs(i):{x:1,y:1};return{width:i.clientWidth*f.x,height:i.clientHeight*f.y,x:c*f.x,y:l*f.y}}(t,n)):Co(function(i){const o=ai(i),a=lu(i),l=i.ownerDocument.body,c=Oo(o.scrollWidth,o.clientWidth,l.scrollWidth,l.clientWidth),f=Oo(o.scrollHeight,o.clientHeight,l.scrollHeight,l.clientHeight);let d=-a.scrollLeft+L0(i);const m=-a.scrollTop;return fr(l).direction==="rtl"&&(d+=Oo(o.clientWidth,l.clientWidth)-c),{width:c,height:f,x:d,y:m}}(ai(e)))}function g_(e){return dr(e)&&fr(e).position!=="fixed"?e.offsetParent:null}function __(e){const t=Fn(e);let n=g_(e);for(;n&&VL(n)&&fr(n).position==="static";)n=g_(n);return n&&(mi(n)==="html"||mi(n)==="body"&&fr(n).position==="static"&&!Af(n))?t:n||function(i){let o=Wo(i);for(;dr(o)&&!Ad(o);){if(Af(o))return o;o=Wo(o)}return null}(e)||t}function qL(e,t,n){const i=dr(t),o=ai(t),a=Bo(e,!0,n==="fixed",t);let l={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(i||!i&&n!=="fixed")if((mi(t)!=="body"||au(o))&&(l=lu(t)),dr(t)){const f=Bo(t,!0);c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}else o&&(c.x=L0(o));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}const GL={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e;const a=n==="clippingAncestors"?function(d,m){const p=m.get(d);if(p)return p;let g=Pl(d).filter(P=>oi(P)&&mi(P)!=="body"),y=null;const _=fr(d).position==="fixed";let b=_?Wo(d):d;for(;oi(b)&&!Ad(b);){const P=fr(b),w=Af(b);(_?w||y:w||P.position!=="static"||!y||!["absolute","fixed"].includes(y.position))?y=P:g=g.filter(T=>T!==b),b=Wo(b)}return m.set(d,g),g}(t,this._c):[].concat(n),l=[...a,i],c=l[0],f=l.reduce((d,m)=>{const p=m_(t,m,o);return d.top=Oo(p.top,d.top),d.right=h_(p.right,d.right),d.bottom=h_(p.bottom,d.bottom),d.left=Oo(p.left,d.left),d},m_(t,c,o));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const o=dr(n),a=ai(n);if(n===a)return t;let l={scrollLeft:0,scrollTop:0},c={x:1,y:1};const f={x:0,y:0};if((o||!o&&i!=="fixed")&&((mi(n)!=="body"||au(a))&&(l=lu(n)),dr(n))){const d=Bo(n);c=xs(n),f.x=d.x+n.clientLeft,f.y=d.y+n.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-l.scrollLeft*c.x+f.x,y:t.y*c.y-l.scrollTop*c.y+f.y}},isElement:oi,getDimensions:function(e){return dr(e)?R0(e):e.getBoundingClientRect()},getOffsetParent:__,getDocumentElement:ai,getScale:xs,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e;const o=this.getOffsetParent||__,a=this.getDimensions;return{reference:qL(t,await o(n),i),floating:{x:0,y:0,...await a(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>fr(e).direction==="rtl"},KL=(e,t,n)=>{const i=new Map,o={platform:GL,...n},a={...o.platform,_c:i};return NL(e,t,{...o,platform:a})};function F0(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?F0(e[n],t[n]):e[n]=t[n])}const Mr={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,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","focus"],delay:{show:0,hide:400}}}};function jo(e,t){let n=Mr.themes[e]||{},i;do i=n[t],typeof i>"u"?n.$extend?n=Mr.themes[n.$extend]||{}:(n=null,i=Mr[t]):n=null;while(n);return i}function YL(e){const t=[e];let n=Mr.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Mr.themes[n.$extend]||{}):n=null;while(n);return t.map(i=>`v-popper--theme-${i}`)}function v_(e){const t=[e];let n=Mr.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Mr.themes[n.$extend]||{}):n=null;while(n);return t}let Wi=!1;if(typeof window<"u"){Wi=!1;try{const e=Object.defineProperty({},"passive",{get(){Wi=!0}});window.addEventListener("test",null,e)}catch{}}let k0=!1;typeof window<"u"&&typeof navigator<"u"&&(k0=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const U0=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),y_={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},b_={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function w_(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function jc(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Qn=[];let Ri=null;const E_={};function T_(e){let t=E_[e];return t||(t=E_[e]=[]),t}let If=function(){};typeof window<"u"&&(If=window.Element);function Ye(e){return function(t){return jo(t.theme,e)}}const zc="__floating-vue__popper",H0=()=>Mt({name:"VPopper",provide(){return{[zc]:{parentPopper:this}}},inject:{[zc]:{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:Ye("disabled")},positioningDisabled:{type:Boolean,default:Ye("positioningDisabled")},placement:{type:String,default:Ye("placement"),validator:e=>U0.includes(e)},delay:{type:[String,Number,Object],default:Ye("delay")},distance:{type:[Number,String],default:Ye("distance")},skidding:{type:[Number,String],default:Ye("skidding")},triggers:{type:Array,default:Ye("triggers")},showTriggers:{type:[Array,Function],default:Ye("showTriggers")},hideTriggers:{type:[Array,Function],default:Ye("hideTriggers")},popperTriggers:{type:Array,default:Ye("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Ye("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Ye("popperHideTriggers")},container:{type:[String,Object,If,Boolean],default:Ye("container")},boundary:{type:[String,If],default:Ye("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Ye("strategy")},autoHide:{type:[Boolean,Function],default:Ye("autoHide")},handleResize:{type:Boolean,default:Ye("handleResize")},instantMove:{type:Boolean,default:Ye("instantMove")},eagerMount:{type:Boolean,default:Ye("eagerMount")},popperClass:{type:[String,Array,Object],default:Ye("popperClass")},computeTransformOrigin:{type:Boolean,default:Ye("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Ye("autoMinSize")},autoSize:{type:[Boolean,String],default:Ye("autoSize")},autoMaxSize:{type:Boolean,default:Ye("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Ye("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Ye("preventOverflow")},overflowPadding:{type:[Number,String],default:Ye("overflowPadding")},arrowPadding:{type:[Number,String],default:Ye("arrowPadding")},arrowOverflow:{type:Boolean,default:Ye("arrowOverflow")},flip:{type:Boolean,default:Ye("flip")},shift:{type:Boolean,default:Ye("shift")},shiftCrossAxis:{type:Boolean,default:Ye("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Ye("noAutoFocus")},disposeTimeout:{type:Number,default:Ye("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],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},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[zc])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,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 i,o;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(WL({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(UL({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(jL({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(HL({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(FL({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:o,middlewareData:a})=>{let l;const{centerOffset:c}=a.arrow;return i.startsWith("top")||i.startsWith("bottom")?l=Math.abs(c)>o.reference.width/2:l=Math.abs(c)>o.reference.height/2,{data:{overflow:l}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:a,middlewareData:l})=>{var c;if((c=l.autoSize)!=null&&c.skip)return{};let f,d;return a.startsWith("top")||a.startsWith("bottom")?f=o.reference.width:d=o.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=f!=null?`${f}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=d!=null?`${d}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(zL({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:i,availableHeight:o})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await KL(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=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ri&&this.instantMove&&Ri.instantMove&&Ri!==this.parentPopper){Ri.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ri=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await jc(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Pl(this.$_referenceNode),...Pl(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),i=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(i.left+n.offsetLeft),a=t.y+t.height/2-(i.top+n.offsetTop);this.result.transformOrigin=`${o}px ${a}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<Qn.length;n++)t=Qn[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Qn.push(this),document.body.classList.add("v-popper--some-open");for(const t of v_(this.theme))T_(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await jc(),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,w_(Qn,this),Qn.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of v_(this.theme)){const i=T_(n);w_(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ri===this&&(Ri=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await jc(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,y_,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],y_,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,b_,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],b_,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(i=>i.addEventListener(t,n,Wi?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,i,o){let a=n;i!=null&&(a=typeof i=="function"?i(a):i),a.forEach(l=>{const c=t[l];c&&this.$_registerEventListeners(e,c,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:i,eventType:o,handler:a}=n;!e||e===o?i.forEach(l=>l.removeEventListener(o,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(const n of this.$_targetNodes){const i=n.getAttribute(e);i&&(n.removeAttribute(e),n.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const i=e[n];i==null?t.removeAttribute(n):t.setAttribute(n,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(xo>=e.left&&xo<=e.right&&Po>=e.top&&Po<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=xo-Zr,i=Po-Jr,o=t.left+t.width/2-Zr+(t.top+t.height/2)-Jr+t.width+t.height,a=Zr+n*o,l=Jr+i*o;return nl(Zr,Jr,a,l,t.left,t.top,t.left,t.bottom)||nl(Zr,Jr,a,l,t.left,t.top,t.right,t.top)||nl(Zr,Jr,a,l,t.right,t.top,t.right,t.bottom)||nl(Zr,Jr,a,l,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(k0?(document.addEventListener("touchstart",C_,Wi?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",XL,Wi?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",C_,!0),window.addEventListener("click",QL,!0)),window.addEventListener("resize",eN));function C_(e){for(let t=0;t<Qn.length;t++){const n=Qn[t];try{const i=n.popperNode();n.$_mouseDownContains=i.contains(e.target)}catch{}}}function QL(e){B0(e)}function XL(e){B0(e,!0)}function B0(e,t=!1){const n={};for(let i=Qn.length-1;i>=0;i--){const o=Qn[i];try{const a=o.$_containsGlobalTarget=ZL(o,e);o.$_pendingHide=!1,requestAnimationFrame(()=>{if(o.$_pendingHide=!1,!n[o.randomId]&&O_(o,a,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&a){let c=o.parentPopper;for(;c;)n[c.randomId]=!0,c=c.parentPopper;return}let l=o.parentPopper;for(;l&&O_(l,l.$_containsGlobalTarget,e);)l.$_handleGlobalClose(e,t),l=l.parentPopper}})}catch{}}}function ZL(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function O_(e,t,n){return n.closeAllPopover||n.closePopover&&t||JL(e,n)&&!t}function JL(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function eN(e){for(let t=0;t<Qn.length;t++)Qn[t].$_computePosition(e)}let Zr=0,Jr=0,xo=0,Po=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Zr=xo,Jr=Po,xo=e.clientX,Po=e.clientY},Wi?{passive:!0}:void 0);function nl(e,t,n,i,o,a,l,c){const f=((l-o)*(t-a)-(c-a)*(e-o))/((c-a)*(n-e)-(l-o)*(i-t)),d=((n-e)*(t-a)-(i-t)*(e-o))/((c-a)*(n-e)-(l-o)*(i-t));return f>=0&&f<=1&&d>=0&&d<=1}const tN={extends:H0()},uu=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n};function nN(e,t,n,i,o,a){return Ve(),ut("div",{ref:"reference",class:tn(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[No(e.$slots,"default",lv(gd(e.slotData)))],2)}const rN=uu(tN,[["render",nN]]);function iN(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let al;function $f(){$f.init||($f.init=!0,al=iN()!==-1)}var cu={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){$f(),mr(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",al&&this.$el.appendChild(e),e.data="about:blank",al||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&&(!al&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const sN=Mv();ql("data-v-b329ee4c");const oN={class:"resize-observer",tabindex:"-1"};Gl();const aN=sN((e,t,n,i,o,a)=>(Ve(),Nr("div",oN)));cu.render=aN;cu.__scopeId="data-v-b329ee4c";cu.__file="src/components/ResizeObserver.vue";const W0=(e="theme")=>({computed:{themeClass(){return YL(this[e])}}}),lN=Mt({name:"VPopperContent",components:{ResizeObserver:cu},mixins:[W0()],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}}}),uN=["id","aria-hidden","tabindex","data-popper-placement"],cN={ref:"inner",class:"v-popper__inner"},fN=ge("div",{class:"v-popper__arrow-outer"},null,-1),dN=ge("div",{class:"v-popper__arrow-inner"},null,-1),hN=[fN,dN];function pN(e,t,n,i,o,a){const l=On("ResizeObserver");return Ve(),ut("div",{id:e.popperId,ref:"popover",class:tn(["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:Jn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=My(c=>e.autoHide&&e.$emit("hide"),["esc"]))},[ge("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=c=>e.autoHide&&e.$emit("hide"))}),ge("div",{class:"v-popper__wrapper",style:Jn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[ge("div",cN,[e.mounted?(Ve(),ut(wt,{key:0},[ge("div",null,[No(e.$slots,"default")]),e.handleResize?(Ve(),Nr(l,{key:0,onNotify:t[1]||(t[1]=c=>e.$emit("resize",c))})):kn("",!0)],64)):kn("",!0)],512),ge("div",{ref:"arrow",class:"v-popper__arrow-container",style:Jn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},hN,4)],4)],46,uN)}const j0=uu(lN,[["render",pN]]),z0={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)}}},mN=Mt({name:"VPopperWrapper",components:{Popper:rN,PopperContent:j0},mixins:[z0,W0("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function gN(e,t,n,i,o,a){const l=On("PopperContent"),c=On("Popper");return Ve(),Nr(c,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:tn([e.themeClass])},{default:Vt(({popperId:f,isShown:d,shouldMountContent:m,skipTransition:p,autoHide:g,show:y,hide:_,handleResize:b,onResize:P,classes:w,result:T})=>[No(e.$slots,"default",{shown:d,show:y,hide:_}),Fe(l,{ref:"popperContent","popper-id":f,theme:e.finalTheme,shown:d,mounted:m,"skip-transition":p,"auto-hide":g,"handle-resize":b,classes:w,result:T,onHide:_,onResize:P},{default:Vt(()=>[No(e.$slots,"popper",{shown:d,hide:_})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const Id=uu(mN,[["render",gN]]),_N={...Id,name:"VDropdown",vPopperTheme:"dropdown"},vN={...Id,name:"VMenu",vPopperTheme:"menu"},yN={...Id,name:"VTooltip",vPopperTheme:"tooltip"},bN=Mt({name:"VTooltipDirective",components:{Popper:H0(),PopperContent:j0},mixins:[z0],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>jo(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>jo(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(i=>this.onResult(t,i)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),wN=["innerHTML"],EN=["textContent"];function TN(e,t,n,i,o,a){const l=On("PopperContent"),c=On("Popper");return Ve(),Nr(c,Zl({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Vt(({popperId:f,isShown:d,shouldMountContent:m,skipTransition:p,autoHide:g,hide:y,handleResize:_,onResize:b,classes:P,result:w})=>[Fe(l,{ref:"popperContent",class:tn({"v-popper--tooltip-loading":e.loading}),"popper-id":f,theme:e.theme,shown:d,mounted:m,"skip-transition":p,"auto-hide":g,"handle-resize":_,classes:P,result:w,onHide:y,onResize:b},{default:Vt(()=>[e.html?(Ve(),ut("div",{key:0,innerHTML:e.finalContent},null,8,wN)):(Ve(),ut("div",{key:1,textContent:Ut(e.finalContent)},null,8,EN))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const CN=uu(bN,[["render",TN]]),V0="v-popper--has-tooltip";function ON(e,t){let n=e.placement;if(!n&&t)for(const i of U0)t[i]&&(n=i);return n||(n=jo(e.theme||"tooltip","placement")),n}function q0(e,t,n){let i;const o=typeof t;return o==="string"?i={content:t}:t&&o==="object"?i=t:i={content:!1},i.placement=ON(i,n),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let Vc,zo,xN=0;function PN(){if(Vc)return;zo=we([]),Vc=Td({name:"VTooltipDirectiveApp",setup(){return{directives:zo}},render(){return this.directives.map(t=>qi(CN,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Vc.mount(e)}function SN(e,t,n){PN();const i=we(q0(e,t,n)),o=we(!1),a={id:xN++,options:i,shown:o};return zo.value.push(a),e.classList&&e.classList.add(V0),e.$_popper={options:i,item:a,show(){o.value=!0},hide(){o.value=!1}}}function G0(e){if(e.$_popper){const t=zo.value.indexOf(e.$_popper.item);t!==-1&&zo.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(V0)}function x_(e,{value:t,modifiers:n}){const i=q0(e,t,n);if(!i.content||jo(i.theme||"tooltip","disabled"))G0(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=i):o=SN(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const RN={beforeMount:x_,updated:x_,beforeUnmount(e){G0(e)}};function P_(e){e.addEventListener("click",K0),e.addEventListener("touchstart",Y0,Wi?{passive:!0}:!1)}function S_(e){e.removeEventListener("click",K0),e.removeEventListener("touchstart",Y0),e.removeEventListener("touchend",Q0),e.removeEventListener("touchcancel",X0)}function K0(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Y0(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Q0),t.addEventListener("touchcancel",X0)}}function Q0(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-i.screenY)<20&&Math.abs(n.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function X0(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const AN={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&P_(e)},updated(e,{value:t,oldValue:n,modifiers:i}){e.$_closePopoverModifiers=i,t!==n&&(typeof t>"u"||t?P_(e):S_(e))},beforeUnmount(e){S_(e)}};function IN(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,F0(Mr,t),e.directive("tooltip",RN),e.directive("close-popper",AN),e.component("VTooltip",yN),e.component("VDropdown",_N),e.component("VMenu",vN))}const $N={version:"2.0.0-beta.24",install:IN,options:Mr};class fu{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){const n={listener:t};return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const du=typeof window>"u"||"Deno"in window;function qn(){}function MN(e,t){return typeof e=="function"?e(t):e}function DN(e){return typeof e=="number"&&e>=0&&e!==1/0}function LN(e,t){return Math.max(e+(t||0)-Date.now(),0)}function rl(e,t,n){return hu(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function ni(e,t,n){return hu(e)?[{...t,queryKey:e},n]:[e||{},t]}function R_(e,t){const{type:n="all",exact:i,fetchStatus:o,predicate:a,queryKey:l,stale:c}=e;if(hu(l)){if(i){if(t.queryHash!==$d(l,t.options))return!1}else if(!Sl(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||typeof o<"u"&&o!==t.state.fetchStatus||a&&!a(t))}function A_(e,t){const{exact:n,fetching:i,predicate:o,mutationKey:a}=e;if(hu(a)){if(!t.options.mutationKey)return!1;if(n){if(Di(t.options.mutationKey)!==Di(a))return!1}else if(!Sl(t.options.mutationKey,a))return!1}return!(typeof i=="boolean"&&t.state.status==="loading"!==i||o&&!o(t))}function $d(e,t){return((t==null?void 0:t.queryKeyHashFn)||Di)(e)}function Di(e){return JSON.stringify(e,(t,n)=>Mf(n)?Object.keys(n).sort().reduce((i,o)=>(i[o]=n[o],i),{}):n)}function Sl(e,t){return Z0(e,t)}function Z0(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Z0(e[n],t[n])):!1}function J0(e,t){if(e===t)return e;const n=I_(e)&&I_(t);if(n||Mf(e)&&Mf(t)){const i=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),a=o.length,l=n?[]:{};let c=0;for(let f=0;f<a;f++){const d=n?f:o[f];l[d]=J0(e[d],t[d]),l[d]===e[d]&&c++}return i===a&&c===i?e:l}return t}function Uk(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function I_(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Mf(e){if(!$_(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!$_(n)||!n.hasOwnProperty("isPrototypeOf"))}function $_(e){return Object.prototype.toString.call(e)==="[object Object]"}function hu(e){return Array.isArray(e)}function eb(e){return new Promise(t=>{setTimeout(t,e)})}function M_(e){eb(0).then(e)}function NN(){if(typeof AbortController=="function")return new AbortController}function FN(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?J0(e,t):t}class kN extends fu{constructor(){super(),this.setup=t=>{if(!du&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()})}setFocused(t){this.focused!==t&&(this.focused=t,this.onFocus())}onFocus(){this.listeners.forEach(({listener:t})=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const Df=new kN,D_=["online","offline"];class UN extends fu{constructor(){super(),this.setup=t=>{if(!du&&window.addEventListener){const n=()=>t();return D_.forEach(i=>{window.addEventListener(i,n,!1)}),()=>{D_.forEach(i=>{window.removeEventListener(i,n)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(i=>{typeof i=="boolean"?this.setOnline(i):this.onOnline()})}setOnline(t){this.online!==t&&(this.online=t,this.onOnline())}onOnline(){this.listeners.forEach(({listener:t})=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const Rl=new UN;function HN(e){return Math.min(1e3*2**e,3e4)}function Md(e){return(e??"online")==="online"?Rl.isOnline():!0}class tb{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function qc(e){return e instanceof tb}function nb(e){let t=!1,n=0,i=!1,o,a,l;const c=new Promise((P,w)=>{a=P,l=w}),f=P=>{i||(y(new tb(P)),e.abort==null||e.abort())},d=()=>{t=!0},m=()=>{t=!1},p=()=>!Df.isFocused()||e.networkMode!=="always"&&!Rl.isOnline(),g=P=>{i||(i=!0,e.onSuccess==null||e.onSuccess(P),o==null||o(),a(P))},y=P=>{i||(i=!0,e.onError==null||e.onError(P),o==null||o(),l(P))},_=()=>new Promise(P=>{o=w=>{const T=i||!p();return T&&P(w),T},e.onPause==null||e.onPause()}).then(()=>{o=void 0,i||e.onContinue==null||e.onContinue()}),b=()=>{if(i)return;let P;try{P=e.fn()}catch(w){P=Promise.reject(w)}Promise.resolve(P).then(g).catch(w=>{var T,A;if(i)return;const C=(T=e.retry)!=null?T:3,x=(A=e.retryDelay)!=null?A:HN,I=typeof x=="function"?x(n,w):x,R=C===!0||typeof C=="number"&&n<C||typeof C=="function"&&C(n,w);if(t||!R){y(w);return}n++,e.onFail==null||e.onFail(n,w),eb(I).then(()=>{if(p())return _()}).then(()=>{t?y(w):b()})})};return Md(e.networkMode)?b():_().then(b),{promise:c,cancel:f,continue:()=>(o==null?void 0:o())?c:Promise.resolve(),cancelRetry:d,continueRetry:m}}const Dd=console;function BN(){let e=[],t=0,n=m=>{m()},i=m=>{m()};const o=m=>{let p;t++;try{p=m()}finally{t--,t||c()}return p},a=m=>{t?e.push(m):M_(()=>{n(m)})},l=m=>(...p)=>{a(()=>{m(...p)})},c=()=>{const m=e;e=[],m.length&&M_(()=>{i(()=>{m.forEach(p=>{n(p)})})})};return{batch:o,batchCalls:l,schedule:a,setNotifyFunction:m=>{n=m},setBatchNotifyFunction:m=>{i=m}}}const Jt=BN();class rb{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),DN(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t??(du?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class WN extends rb{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||Dd,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||jN(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const i=FN(this.state.data,t,this.options);return this.dispatch({data:i,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),i}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const i=this.promise;return(n=this.retryer)==null||n.cancel(t),i?i.then(qn).catch(qn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!LN(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(i=>i.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(i=>i.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var i,o;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var a;return(a=this.retryer)==null||a.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const y=this.observers.find(_=>_.options.queryFn);y&&this.setOptions(y.options)}Array.isArray(this.options.queryKey);const l=NN(),c={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},f=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>{if(l)return this.abortSignalConsumed=!0,l.signal}})};f(c);const d=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(c)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),m={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:d};if(f(m),(i=this.options.behavior)==null||i.onFetch(m),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=m.fetchOptions)==null?void 0:o.meta)){var p;this.dispatch({type:"fetch",meta:(p=m.fetchOptions)==null?void 0:p.meta})}const g=y=>{if(qc(y)&&y.silent||this.dispatch({type:"error",error:y}),!qc(y)){var _,b,P,w;(_=(b=this.cache.config).onError)==null||_.call(b,y,this),(P=(w=this.cache.config).onSettled)==null||P.call(w,this.state.data,y,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=nb({fn:m.fetchFn,abort:l==null?void 0:l.abort.bind(l),onSuccess:y=>{var _,b,P,w;if(typeof y>"u"){g(new Error(this.queryHash+" data is undefined"));return}this.setData(y),(_=(b=this.cache.config).onSuccess)==null||_.call(b,y,this),(P=(w=this.cache.config).onSettled)==null||P.call(w,y,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:g,onFail:(y,_)=>{this.dispatch({type:"failed",failureCount:y,error:_})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay,networkMode:m.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=i=>{var o,a;switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:Md(this.options.networkMode)?"fetching":"paused",...!i.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:(a=t.dataUpdatedAt)!=null?a:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const l=t.error;return qc(l)&&l.revert&&this.revertState?{...this.revertState}:{...i,error:l,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=n(this.state),Jt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function jN(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=typeof t<"u",i=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}let ib=class extends fu{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,i){var o;const a=n.queryKey,l=(o=n.queryHash)!=null?o:$d(a,n);let c=this.get(l);return c||(c=new WN({cache:this,logger:t.getLogger(),queryKey:a,queryHash:l,options:t.defaultQueryOptions(n),state:i,defaultOptions:t.getQueryDefaults(a)}),this.add(c)),c}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(i=>i!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){Jt.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[i]=ni(t,n);return typeof i.exact>"u"&&(i.exact=!0),this.queries.find(o=>R_(i,o))}findAll(t,n){const[i]=ni(t,n);return Object.keys(i).length>0?this.queries.filter(o=>R_(i,o)):this.queries}notify(t){Jt.batch(()=>{this.listeners.forEach(({listener:n})=>{n(t)})})}onFocus(){Jt.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Jt.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}};class zN extends rb{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||Dd,this.observers=[],this.state=t.state||VN(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,n;return(t=(n=this.retryer)==null?void 0:n.continue())!=null?t:this.execute()}async execute(){const t=()=>{var R;return this.retryer=nb({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(S,$)=>{this.dispatch({type:"failed",failureCount:S,error:$})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(R=this.options.retry)!=null?R:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var i,o,a,l,c,f,d,m;if(!n){var p,g,y,_;this.dispatch({type:"loading",variables:this.options.variables}),await((p=(g=this.mutationCache.config).onMutate)==null?void 0:p.call(g,this.state.variables,this));const S=await((y=(_=this.options).onMutate)==null?void 0:y.call(_,this.state.variables));S!==this.state.context&&this.dispatch({type:"loading",context:S,variables:this.state.variables})}const R=await t();return await((i=(o=this.mutationCache.config).onSuccess)==null?void 0:i.call(o,R,this.state.variables,this.state.context,this)),await((a=(l=this.options).onSuccess)==null?void 0:a.call(l,R,this.state.variables,this.state.context)),await((c=(f=this.mutationCache.config).onSettled)==null?void 0:c.call(f,R,null,this.state.variables,this.state.context,this)),await((d=(m=this.options).onSettled)==null?void 0:d.call(m,R,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:R}),R}catch(R){try{var b,P,w,T,A,C,x,I;throw await((b=(P=this.mutationCache.config).onError)==null?void 0:b.call(P,R,this.state.variables,this.state.context,this)),await((w=(T=this.options).onError)==null?void 0:w.call(T,R,this.state.variables,this.state.context)),await((A=(C=this.mutationCache.config).onSettled)==null?void 0:A.call(C,void 0,R,this.state.variables,this.state.context,this)),await((x=(I=this.options).onSettled)==null?void 0:x.call(I,void 0,R,this.state.variables,this.state.context)),R}finally{this.dispatch({type:"error",error:R})}}}dispatch(t){const n=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"loading":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Md(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"};case"setState":return{...i,...t.state}}};this.state=n(this.state),Jt.batch(()=>{this.observers.forEach(i=>{i.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function VN(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}let sb=class extends fu{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,i){const o=new zN({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:i,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0});return this.add(o),o}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){Jt.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(n=>A_(t,n))}findAll(t){return this.mutations.filter(n=>A_(t,n))}notify(t){Jt.batch(()=>{this.listeners.forEach(({listener:n})=>{n(t)})})}resumePausedMutations(){var t;return this.resuming=((t=this.resuming)!=null?t:Promise.resolve()).then(()=>{const n=this.mutations.filter(i=>i.state.isPaused);return Jt.batch(()=>n.reduce((i,o)=>i.then(()=>o.continue().catch(qn)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}};function qN(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,i,o,a,l;const c=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,f=(i=e.fetchOptions)==null||(o=i.meta)==null?void 0:o.fetchMore,d=f==null?void 0:f.pageParam,m=(f==null?void 0:f.direction)==="forward",p=(f==null?void 0:f.direction)==="backward",g=((a=e.state.data)==null?void 0:a.pages)||[],y=((l=e.state.data)==null?void 0:l.pageParams)||[];let _=y,b=!1;const P=I=>{Object.defineProperty(I,"signal",{enumerable:!0,get:()=>{var R;if((R=e.signal)!=null&&R.aborted)b=!0;else{var S;(S=e.signal)==null||S.addEventListener("abort",()=>{b=!0})}return e.signal}})},w=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),T=(I,R,S,$)=>(_=$?[R,..._]:[..._,R],$?[S,...I]:[...I,S]),A=(I,R,S,$)=>{if(b)return Promise.reject("Cancelled");if(typeof S>"u"&&!R&&I.length)return Promise.resolve(I);const L={queryKey:e.queryKey,pageParam:S,meta:e.options.meta};P(L);const W=w(L);return Promise.resolve(W).then(V=>T(I,S,V,$))};let C;if(!g.length)C=A([]);else if(m){const I=typeof d<"u",R=I?d:L_(e.options,g);C=A(g,I,R)}else if(p){const I=typeof d<"u",R=I?d:GN(e.options,g);C=A(g,I,R,!0)}else{_=[];const I=typeof e.options.getNextPageParam>"u";C=(c&&g[0]?c(g[0],0,g):!0)?A([],I,y[0]):Promise.resolve(T([],y[0],g[0]));for(let S=1;S<g.length;S++)C=C.then($=>{if(c&&g[S]?c(g[S],S,g):!0){const W=I?y[S]:L_(e.options,$);return A($,I,W)}return Promise.resolve(T($,y[S],g[S]))})}return C.then(I=>({pages:I,pageParams:_}))}}}}function L_(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function GN(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}let KN=class{constructor(t={}){this.queryCache=t.queryCache||new ib,this.mutationCache=t.mutationCache||new sb,this.logger=t.logger||Dd,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=Df.subscribe(()=>{Df.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Rl.subscribe(()=>{Rl.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var t,n;this.mountCount--,this.mountCount===0&&((t=this.unsubscribeFocus)==null||t.call(this),this.unsubscribeFocus=void 0,(n=this.unsubscribeOnline)==null||n.call(this),this.unsubscribeOnline=void 0)}isFetching(t,n){const[i]=ni(t,n);return i.fetchStatus="fetching",this.queryCache.findAll(i).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var i;return(i=this.queryCache.find(t,n))==null?void 0:i.state.data}ensureQueryData(t,n,i){const o=rl(t,n,i),a=this.getQueryData(o.queryKey);return a?Promise.resolve(a):this.fetchQuery(o)}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:i})=>{const o=i.data;return[n,o]})}setQueryData(t,n,i){const o=this.queryCache.find(t),a=o==null?void 0:o.state.data,l=MN(n,a);if(typeof l>"u")return;const c=rl(t),f=this.defaultQueryOptions(c);return this.queryCache.build(this,f).setData(l,{...i,manual:!0})}setQueriesData(t,n,i){return Jt.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:o})=>[o,this.setQueryData(o,n,i)]))}getQueryState(t,n){var i;return(i=this.queryCache.find(t,n))==null?void 0:i.state}removeQueries(t,n){const[i]=ni(t,n),o=this.queryCache;Jt.batch(()=>{o.findAll(i).forEach(a=>{o.remove(a)})})}resetQueries(t,n,i){const[o,a]=ni(t,n,i),l=this.queryCache,c={type:"active",...o};return Jt.batch(()=>(l.findAll(o).forEach(f=>{f.reset()}),this.refetchQueries(c,a)))}cancelQueries(t,n,i){const[o,a={}]=ni(t,n,i);typeof a.revert>"u"&&(a.revert=!0);const l=Jt.batch(()=>this.queryCache.findAll(o).map(c=>c.cancel(a)));return Promise.all(l).then(qn).catch(qn)}invalidateQueries(t,n,i){const[o,a]=ni(t,n,i);return Jt.batch(()=>{var l,c;if(this.queryCache.findAll(o).forEach(d=>{d.invalidate()}),o.refetchType==="none")return Promise.resolve();const f={...o,type:(l=(c=o.refetchType)!=null?c:o.type)!=null?l:"active"};return this.refetchQueries(f,a)})}refetchQueries(t,n,i){const[o,a]=ni(t,n,i),l=Jt.batch(()=>this.queryCache.findAll(o).filter(f=>!f.isDisabled()).map(f=>{var d;return f.fetch(void 0,{...a,cancelRefetch:(d=a==null?void 0:a.cancelRefetch)!=null?d:!0,meta:{refetchPage:o.refetchPage}})}));let c=Promise.all(l).then(qn);return a!=null&&a.throwOnError||(c=c.catch(qn)),c}fetchQuery(t,n,i){const o=rl(t,n,i),a=this.defaultQueryOptions(o);typeof a.retry>"u"&&(a.retry=!1);const l=this.queryCache.build(this,a);return l.isStaleByTime(a.staleTime)?l.fetch(a):Promise.resolve(l.state.data)}prefetchQuery(t,n,i){return this.fetchQuery(t,n,i).then(qn).catch(qn)}fetchInfiniteQuery(t,n,i){const o=rl(t,n,i);return o.behavior=qN(),this.fetchQuery(o)}prefetchInfiniteQuery(t,n,i){return this.fetchInfiniteQuery(t,n,i).then(qn).catch(qn)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const i=this.queryDefaults.find(o=>Di(t)===Di(o.queryKey));i?i.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(i=>Sl(t,i.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const i=this.mutationDefaults.find(o=>Di(t)===Di(o.mutationKey));i?i.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(i=>Sl(t,i.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=$d(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};const YN="VUE_QUERY_CLIENT";function QN(e){const t=e?":"+e:"";return""+YN+t}function Vn(e){return Array.isArray(e)}function jk(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Lf(e,t){if(t){const n=t(e);if(n!==void 0||et(e))return n}if(Array.isArray(e))return e.map(n=>Lf(n,t));if(typeof e=="object"&&XN(e)){const n=Object.entries(e).map(([i,o])=>[i,Lf(o,t)]);return Object.fromEntries(n)}return e}function Ce(e){return Lf(e,t=>{if(et(t))return Ce(Oe(t))})}function XN(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function zk(e,t){return typeof e=="function"?e(...t):!!e}class ZN extends ib{find(t,n){const i=Ce(t),o=Ce(n);return super.find(i,o)}findAll(t,n){const i=Ce(t),o=Ce(n);return Vn(i)?super.findAll(i,o):super.findAll(i)}}class JN extends sb{find(t){return super.find(Ce(t))}findAll(t){return super.findAll(Ce(t))}}class N_ extends KN{constructor(t={}){const n=Ce(t),i={logger:Ce(n.logger),defaultOptions:Ce(n.defaultOptions),queryCache:n.queryCache||new ZN,mutationCache:n.mutationCache||new JN};super(i),this.isRestoring=we(!1)}isFetching(t,n){const i=Ce(t),o=Ce(n);return Vn(i)?super.isFetching(i,o):super.isFetching(i)}isMutating(t){return super.isMutating(Ce(t))}getQueryData(t,n){return super.getQueryData(Ce(t),Ce(n))}getQueriesData(t){const n=Ce(t);return Vn(n)?super.getQueriesData(n):super.getQueriesData(n)}setQueryData(t,n,i){return super.setQueryData(Ce(t),n,Ce(i))}setQueriesData(t,n,i){const o=Ce(t),a=Ce(i);return Vn(o)?super.setQueriesData(o,n,a):super.setQueriesData(o,n,a)}getQueryState(t,n){return super.getQueryState(Ce(t),Ce(n))}removeQueries(t,n){const i=Ce(t);return Vn(i)?super.removeQueries(i,Ce(n)):super.removeQueries(i)}resetQueries(t,n,i){const o=Ce(t),a=Ce(n);return Vn(o)?super.resetQueries(o,a,Ce(i)):super.resetQueries(o,a)}cancelQueries(t,n,i){const o=Ce(t),a=Ce(n);return Vn(o)?super.cancelQueries(o,a,Ce(i)):super.cancelQueries(o,a)}invalidateQueries(t,n,i){const o=Ce(t),a=Ce(n);return Vn(o)?super.invalidateQueries(o,a,Ce(i)):super.invalidateQueries(o,a)}refetchQueries(t,n,i){const o=Ce(t),a=Ce(n);return Vn(o)?super.refetchQueries(o,a,Ce(i)):super.refetchQueries(o,a)}fetchQuery(t,n,i){const o=Ce(t),a=Ce(n);return Vn(o)?super.fetchQuery(o,a,Ce(i)):super.fetchQuery(o)}prefetchQuery(t,n,i){return super.prefetchQuery(Ce(t),Ce(n),Ce(i))}fetchInfiniteQuery(t,n,i){const o=Ce(t),a=Ce(n);return Vn(o)?super.fetchInfiniteQuery(o,a,Ce(i)):super.fetchInfiniteQuery(o)}prefetchInfiniteQuery(t,n,i){return super.prefetchInfiniteQuery(Ce(t),Ce(n),Ce(i))}setDefaultOptions(t){super.setDefaultOptions(Ce(t))}setQueryDefaults(t,n){super.setQueryDefaults(Ce(t),Ce(n))}getQueryDefaults(t){return super.getQueryDefaults(Ce(t))}setMutationDefaults(t,n){super.setMutationDefaults(Ce(t),Ce(n))}getMutationDefaults(t){return super.getMutationDefaults(Ce(t))}}const eF={install:(e,t={})=>{const n=QN(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else if(t.contextSharing&&typeof window<"u")if(window.__VUE_QUERY_CONTEXT__)i=window.__VUE_QUERY_CONTEXT__;else{const l="queryClientConfig"in t?t.queryClientConfig:void 0;i=new N_(l),window.__VUE_QUERY_CONTEXT__=i}else{const l="queryClientConfig"in t?t.queryClientConfig:void 0;i=new N_(l)}du||i.mount();let o=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[l,c]=t.clientPersister(i);o=l,c.then(()=>{i.isRestoring.value=!1})}const a=()=>{i.unmount(),o()};if(e.onUnmount)e.onUnmount(a);else{const l=e.unmount;e.unmount=function(){a(),l()}}e.provide(n,i)}},tF=Mt({__name:"App",setup(e){return LM({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>O0.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>oL.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const i=On("RouterView");return Ve(),Nr(i)}}}),nF={},rF={class:"color-gray-700 dark:color-gray-200"},iF=ge("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1161",width:"30",height:"30"},[ge("path",{d:"M837.9904 570.0608H124.5696a29.0304 29.0304 0 0 1-29.0304-29.0304V482.9696a29.0304 29.0304 0 0 1 29.0304-29.0304h713.4208z",fill:"currentColor","p-id":"1162"}),ge("path",{d:"M561.3056 808.96l-40.96-40.96a28.928 28.928 0 0 1 0-40.96l215.04-215.04-215.04-215.04a28.9792 28.9792 0 0 1 0-40.96l40.96-40.96a28.9792 28.9792 0 0 1 40.96 0l296.96 296.96-296.96 296.96a28.9792 28.9792 0 0 1-40.96 0z",fill:"currentColor","p-id":"1163"})],-1),sF=[iF];function oF(e,t){return Ve(),ut("div",rF,sF)}const aF=Hs(nF,[["render",oF]]);var lF=Object.defineProperty,F_=Object.getOwnPropertySymbols,uF=Object.prototype.hasOwnProperty,cF=Object.prototype.propertyIsEnumerable,k_=(e,t,n)=>t in e?lF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,U_=(e,t)=>{for(var n in t||(t={}))uF.call(t,n)&&k_(e,n,t[n]);if(F_)for(var n of F_(t))cF.call(t,n)&&k_(e,n,t[n]);return e};const Gc=new WeakMap;function ob(e,t,n={}){const{mode:i="replace",route:o=Q$(),router:a=Y$(),transform:l=m=>m}=n;Gc.has(o)||Gc.set(o,new Map);const c=Gc.get(o);Gi(()=>{c.delete(e)}),c.set(e,o.query[e]);let f;const d=td((m,p)=>(f=p,{get(){m();const g=c.get(e);return l(g!==void 0?g:Ot(t))},set(g){c.get(e)!==g&&(c.set(e,g),p(),mr(()=>{const{params:y,query:_,hash:b}=o;a[Ot(i)]({params:y,query:U_(U_({},_),Object.fromEntries(c.entries())),hash:b})}))}}));return ct(()=>o.query[e],m=>{c.set(e,m),f()},{flush:"sync"}),d}var ab={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(qt,function(){var n=1e3,i=6e4,o=36e5,a="millisecond",l="second",c="minute",f="hour",d="day",m="week",p="month",g="quarter",y="year",_="date",b="Invalid Date",P=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(V){var j=["th","st","nd","rd"],Y=V%100;return"["+V+(j[(Y-20)%10]||j[Y]||j[0])+"]"}},A=function(V,j,Y){var ee=String(V);return!ee||ee.length>=j?V:""+Array(j+1-ee.length).join(Y)+V},C={s:A,z:function(V){var j=-V.utcOffset(),Y=Math.abs(j),ee=Math.floor(Y/60),K=Y%60;return(j<=0?"+":"-")+A(ee,2,"0")+":"+A(K,2,"0")},m:function V(j,Y){if(j.date()<Y.date())return-V(Y,j);var ee=12*(Y.year()-j.year())+(Y.month()-j.month()),K=j.clone().add(ee,p),ae=Y-K<0,be=j.clone().add(ee+(ae?-1:1),p);return+(-(ee+(Y-K)/(ae?K-be:be-K))||0)},a:function(V){return V<0?Math.ceil(V)||0:Math.floor(V)},p:function(V){return{M:p,y,w:m,d,D:_,h:f,m:c,s:l,ms:a,Q:g}[V]||String(V||"").toLowerCase().replace(/s$/,"")},u:function(V){return V===void 0}},x="en",I={};I[x]=T;var R=function(V){return V instanceof W},S=function V(j,Y,ee){var K;if(!j)return x;if(typeof j=="string"){var ae=j.toLowerCase();I[ae]&&(K=ae),Y&&(I[ae]=Y,K=ae);var be=j.split("-");if(!K&&be.length>1)return V(be[0])}else{var Pe=j.name;I[Pe]=j,K=Pe}return!ee&&K&&(x=K),K||!ee&&x},$=function(V,j){if(R(V))return V.clone();var Y=typeof j=="object"?j:{};return Y.date=V,Y.args=arguments,new W(Y)},L=C;L.l=S,L.i=R,L.w=function(V,j){return $(V,{locale:j.$L,utc:j.$u,x:j.$x,$offset:j.$offset})};var W=function(){function V(Y){this.$L=S(Y.locale,null,!0),this.parse(Y)}var j=V.prototype;return j.parse=function(Y){this.$d=function(ee){var K=ee.date,ae=ee.utc;if(K===null)return new Date(NaN);if(L.u(K))return new Date;if(K instanceof Date)return new Date(K);if(typeof K=="string"&&!/Z$/i.test(K)){var be=K.match(P);if(be){var Pe=be[2]-1||0,Ae=(be[7]||"0").substring(0,3);return ae?new Date(Date.UTC(be[1],Pe,be[3]||1,be[4]||0,be[5]||0,be[6]||0,Ae)):new Date(be[1],Pe,be[3]||1,be[4]||0,be[5]||0,be[6]||0,Ae)}}return new Date(K)}(Y),this.$x=Y.x||{},this.init()},j.init=function(){var Y=this.$d;this.$y=Y.getFullYear(),this.$M=Y.getMonth(),this.$D=Y.getDate(),this.$W=Y.getDay(),this.$H=Y.getHours(),this.$m=Y.getMinutes(),this.$s=Y.getSeconds(),this.$ms=Y.getMilliseconds()},j.$utils=function(){return L},j.isValid=function(){return this.$d.toString()!==b},j.isSame=function(Y,ee){var K=$(Y);return this.startOf(ee)<=K&&K<=this.endOf(ee)},j.isAfter=function(Y,ee){return $(Y)<this.startOf(ee)},j.isBefore=function(Y,ee){return this.endOf(ee)<$(Y)},j.$g=function(Y,ee,K){return L.u(Y)?this[ee]:this.set(K,Y)},j.unix=function(){return Math.floor(this.valueOf()/1e3)},j.valueOf=function(){return this.$d.getTime()},j.startOf=function(Y,ee){var K=this,ae=!!L.u(ee)||ee,be=L.p(Y),Pe=function(fe,oe){var pe=L.w(K.$u?Date.UTC(K.$y,oe,fe):new Date(K.$y,oe,fe),K);return ae?pe:pe.endOf(d)},Ae=function(fe,oe){return L.w(K.toDate()[fe].apply(K.toDate("s"),(ae?[0,0,0,0]:[23,59,59,999]).slice(oe)),K)},Ie=this.$W,nt=this.$M,Ke=this.$D,ft="set"+(this.$u?"UTC":"");switch(be){case y:return ae?Pe(1,0):Pe(31,11);case p:return ae?Pe(1,nt):Pe(0,nt+1);case m:var rt=this.$locale().weekStart||0,J=(Ie<rt?Ie+7:Ie)-rt;return Pe(ae?Ke-J:Ke+(6-J),nt);case d:case _:return Ae(ft+"Hours",0);case f:return Ae(ft+"Minutes",1);case c:return Ae(ft+"Seconds",2);case l:return Ae(ft+"Milliseconds",3);default:return this.clone()}},j.endOf=function(Y){return this.startOf(Y,!1)},j.$set=function(Y,ee){var K,ae=L.p(Y),be="set"+(this.$u?"UTC":""),Pe=(K={},K[d]=be+"Date",K[_]=be+"Date",K[p]=be+"Month",K[y]=be+"FullYear",K[f]=be+"Hours",K[c]=be+"Minutes",K[l]=be+"Seconds",K[a]=be+"Milliseconds",K)[ae],Ae=ae===d?this.$D+(ee-this.$W):ee;if(ae===p||ae===y){var Ie=this.clone().set(_,1);Ie.$d[Pe](Ae),Ie.init(),this.$d=Ie.set(_,Math.min(this.$D,Ie.daysInMonth())).$d}else Pe&&this.$d[Pe](Ae);return this.init(),this},j.set=function(Y,ee){return this.clone().$set(Y,ee)},j.get=function(Y){return this[L.p(Y)]()},j.add=function(Y,ee){var K,ae=this;Y=Number(Y);var be=L.p(ee),Pe=function(nt){var Ke=$(ae);return L.w(Ke.date(Ke.date()+Math.round(nt*Y)),ae)};if(be===p)return this.set(p,this.$M+Y);if(be===y)return this.set(y,this.$y+Y);if(be===d)return Pe(1);if(be===m)return Pe(7);var Ae=(K={},K[c]=i,K[f]=o,K[l]=n,K)[be]||1,Ie=this.$d.getTime()+Y*Ae;return L.w(Ie,this)},j.subtract=function(Y,ee){return this.add(-1*Y,ee)},j.format=function(Y){var ee=this,K=this.$locale();if(!this.isValid())return K.invalidDate||b;var ae=Y||"YYYY-MM-DDTHH:mm:ssZ",be=L.z(this),Pe=this.$H,Ae=this.$m,Ie=this.$M,nt=K.weekdays,Ke=K.months,ft=function(oe,pe,ke,M){return oe&&(oe[pe]||oe(ee,ae))||ke[pe].slice(0,M)},rt=function(oe){return L.s(Pe%12||12,oe,"0")},J=K.meridiem||function(oe,pe,ke){var M=oe<12?"AM":"PM";return ke?M.toLowerCase():M},fe={YY:String(this.$y).slice(-2),YYYY:L.s(this.$y,4,"0"),M:Ie+1,MM:L.s(Ie+1,2,"0"),MMM:ft(K.monthsShort,Ie,Ke,3),MMMM:ft(Ke,Ie),D:this.$D,DD:L.s(this.$D,2,"0"),d:String(this.$W),dd:ft(K.weekdaysMin,this.$W,nt,2),ddd:ft(K.weekdaysShort,this.$W,nt,3),dddd:nt[this.$W],H:String(Pe),HH:L.s(Pe,2,"0"),h:rt(1),hh:rt(2),a:J(Pe,Ae,!0),A:J(Pe,Ae,!1),m:String(Ae),mm:L.s(Ae,2,"0"),s:String(this.$s),ss:L.s(this.$s,2,"0"),SSS:L.s(this.$ms,3,"0"),Z:be};return ae.replace(w,function(oe,pe){return pe||fe[oe]||be.replace(":","")})},j.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},j.diff=function(Y,ee,K){var ae,be=L.p(ee),Pe=$(Y),Ae=(Pe.utcOffset()-this.utcOffset())*i,Ie=this-Pe,nt=L.m(this,Pe);return nt=(ae={},ae[y]=nt/12,ae[p]=nt,ae[g]=nt/3,ae[m]=(Ie-Ae)/6048e5,ae[d]=(Ie-Ae)/864e5,ae[f]=Ie/o,ae[c]=Ie/i,ae[l]=Ie/n,ae)[be]||Ie,K?nt:L.a(nt)},j.daysInMonth=function(){return this.endOf(p).$D},j.$locale=function(){return I[this.$L]},j.locale=function(Y,ee){if(!Y)return this.$L;var K=this.clone(),ae=S(Y,ee,!0);return ae&&(K.$L=ae),K},j.clone=function(){return L.w(this.$d,this)},j.toDate=function(){return new Date(this.valueOf())},j.toJSON=function(){return this.isValid()?this.toISOString():null},j.toISOString=function(){return this.$d.toISOString()},j.toString=function(){return this.$d.toUTCString()},V}(),G=W.prototype;return $.prototype=G,[["$ms",a],["$s",l],["$m",c],["$H",f],["$W",d],["$M",p],["$y",y],["$D",_]].forEach(function(V){G[V[1]]=function(j){return this.$g(j,V[0],V[1])}}),$.extend=function(V,j){return V.$i||(V(j,W,$),V.$i=!0),$},$.locale=S,$.isDayjs=R,$.unix=function(V){return $(1e3*V)},$.en=I[x],$.Ls=I,$.p={},$})})(ab);var fF=ab.exports;const Gt=Hn(fF);var lb={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(qt,function(){var n,i,o=1e3,a=6e4,l=36e5,c=864e5,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=31536e6,m=2592e6,p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,g={years:d,months:m,days:c,hours:l,minutes:a,seconds:o,milliseconds:1,weeks:6048e5},y=function(x){return x instanceof C},_=function(x,I,R){return new C(x,R,I.$l)},b=function(x){return i.p(x)+"s"},P=function(x){return x<0},w=function(x){return P(x)?Math.ceil(x):Math.floor(x)},T=function(x){return Math.abs(x)},A=function(x,I){return x?P(x)?{negative:!0,format:""+T(x)+I}:{negative:!1,format:""+x+I}:{negative:!1,format:""}},C=function(){function x(R,S,$){var L=this;if(this.$d={},this.$l=$,R===void 0&&(this.$ms=0,this.parseFromMilliseconds()),S)return _(R*g[b(S)],this);if(typeof R=="number")return this.$ms=R,this.parseFromMilliseconds(),this;if(typeof R=="object")return Object.keys(R).forEach(function(V){L.$d[b(V)]=R[V]}),this.calMilliseconds(),this;if(typeof R=="string"){var W=R.match(p);if(W){var G=W.slice(2).map(function(V){return V!=null?Number(V):0});return this.$d.years=G[0],this.$d.months=G[1],this.$d.weeks=G[2],this.$d.days=G[3],this.$d.hours=G[4],this.$d.minutes=G[5],this.$d.seconds=G[6],this.calMilliseconds(),this}}return this}var I=x.prototype;return I.calMilliseconds=function(){var R=this;this.$ms=Object.keys(this.$d).reduce(function(S,$){return S+(R.$d[$]||0)*g[$]},0)},I.parseFromMilliseconds=function(){var R=this.$ms;this.$d.years=w(R/d),R%=d,this.$d.months=w(R/m),R%=m,this.$d.days=w(R/c),R%=c,this.$d.hours=w(R/l),R%=l,this.$d.minutes=w(R/a),R%=a,this.$d.seconds=w(R/o),R%=o,this.$d.milliseconds=R},I.toISOString=function(){var R=A(this.$d.years,"Y"),S=A(this.$d.months,"M"),$=+this.$d.days||0;this.$d.weeks&&($+=7*this.$d.weeks);var L=A($,"D"),W=A(this.$d.hours,"H"),G=A(this.$d.minutes,"M"),V=this.$d.seconds||0;this.$d.milliseconds&&(V+=this.$d.milliseconds/1e3);var j=A(V,"S"),Y=R.negative||S.negative||L.negative||W.negative||G.negative||j.negative,ee=W.format||G.format||j.format?"T":"",K=(Y?"-":"")+"P"+R.format+S.format+L.format+ee+W.format+G.format+j.format;return K==="P"||K==="-P"?"P0D":K},I.toJSON=function(){return this.toISOString()},I.format=function(R){var S=R||"YYYY-MM-DDTHH:mm:ss",$={Y:this.$d.years,YY:i.s(this.$d.years,2,"0"),YYYY:i.s(this.$d.years,4,"0"),M:this.$d.months,MM:i.s(this.$d.months,2,"0"),D:this.$d.days,DD:i.s(this.$d.days,2,"0"),H:this.$d.hours,HH:i.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:i.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:i.s(this.$d.seconds,2,"0"),SSS:i.s(this.$d.milliseconds,3,"0")};return S.replace(f,function(L,W){return W||String($[L])})},I.as=function(R){return this.$ms/g[b(R)]},I.get=function(R){var S=this.$ms,$=b(R);return $==="milliseconds"?S%=1e3:S=$==="weeks"?w(S/g[$]):this.$d[$],S===0?0:S},I.add=function(R,S,$){var L;return L=S?R*g[b(S)]:y(R)?R.$ms:_(R,this).$ms,_(this.$ms+L*($?-1:1),this)},I.subtract=function(R,S){return this.add(R,S,!0)},I.locale=function(R){var S=this.clone();return S.$l=R,S},I.clone=function(){return _(this.$ms,this)},I.humanize=function(R){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!R)},I.valueOf=function(){return this.asMilliseconds()},I.milliseconds=function(){return this.get("milliseconds")},I.asMilliseconds=function(){return this.as("milliseconds")},I.seconds=function(){return this.get("seconds")},I.asSeconds=function(){return this.as("seconds")},I.minutes=function(){return this.get("minutes")},I.asMinutes=function(){return this.as("minutes")},I.hours=function(){return this.get("hours")},I.asHours=function(){return this.as("hours")},I.days=function(){return this.get("days")},I.asDays=function(){return this.as("days")},I.weeks=function(){return this.get("weeks")},I.asWeeks=function(){return this.as("weeks")},I.months=function(){return this.get("months")},I.asMonths=function(){return this.as("months")},I.years=function(){return this.get("years")},I.asYears=function(){return this.as("years")},x}();return function(x,I,R){n=R,i=R().$utils(),R.duration=function(L,W){var G=R.locale();return _(L,{$l:G},W)},R.isDuration=y;var S=I.prototype.add,$=I.prototype.subtract;I.prototype.add=function(L,W){return y(L)&&(L=L.asMilliseconds()),S.bind(this)(L,W)},I.prototype.subtract=function(L,W){return y(L)&&(L=L.asMilliseconds()),$.bind(this)(L,W)}}})})(lb);var dF=lb.exports;const hF=Hn(dF);var ub={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(qt,function(){var n="minute",i=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(a,l,c){var f=l.prototype;c.utc=function(b){var P={date:b,utc:!0,args:arguments};return new l(P)},f.utc=function(b){var P=c(this.toDate(),{locale:this.$L,utc:!0});return b?P.add(this.utcOffset(),n):P},f.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var d=f.parse;f.parse=function(b){b.utc&&(this.$u=!0),this.$utils().u(b.$offset)||(this.$offset=b.$offset),d.call(this,b)};var m=f.init;f.init=function(){if(this.$u){var b=this.$d;this.$y=b.getUTCFullYear(),this.$M=b.getUTCMonth(),this.$D=b.getUTCDate(),this.$W=b.getUTCDay(),this.$H=b.getUTCHours(),this.$m=b.getUTCMinutes(),this.$s=b.getUTCSeconds(),this.$ms=b.getUTCMilliseconds()}else m.call(this)};var p=f.utcOffset;f.utcOffset=function(b,P){var w=this.$utils().u;if(w(b))return this.$u?0:w(this.$offset)?p.call(this):this.$offset;if(typeof b=="string"&&(b=function(x){x===void 0&&(x="");var I=x.match(i);if(!I)return null;var R=(""+I[0]).match(o)||["-",0,0],S=R[0],$=60*+R[1]+ +R[2];return $===0?0:S==="+"?$:-$}(b),b===null))return this;var T=Math.abs(b)<=16?60*b:b,A=this;if(P)return A.$offset=T,A.$u=b===0,A;if(b!==0){var C=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(A=this.local().add(T+C,n)).$offset=T,A.$x.$localOffset=C}else A=this.utc();return A};var g=f.format;f.format=function(b){var P=b||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return g.call(this,P)},f.valueOf=function(){var b=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*b},f.isUTC=function(){return!!this.$u},f.toISOString=function(){return this.toDate().toISOString()},f.toString=function(){return this.toDate().toUTCString()};var y=f.toDate;f.toDate=function(b){return b==="s"&&this.$offset?c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():y.call(this)};var _=f.diff;f.diff=function(b,P,w){if(b&&this.$u===b.$u)return _.call(this,b,P,w);var T=this.local(),A=c(b).local();return _.call(T,A,P,w)}}})})(ub);var pF=ub.exports;const mF=Hn(pF);var cb={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(qt,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},i={};return function(o,a,l){var c,f=function(g,y,_){_===void 0&&(_={});var b=new Date(g),P=function(w,T){T===void 0&&(T={});var A=T.timeZoneName||"short",C=w+"|"+A,x=i[C];return x||(x=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:A}),i[C]=x),x}(y,_);return P.formatToParts(b)},d=function(g,y){for(var _=f(g,y),b=[],P=0;P<_.length;P+=1){var w=_[P],T=w.type,A=w.value,C=n[T];C>=0&&(b[C]=parseInt(A,10))}var x=b[3],I=x===24?0:x,R=b[0]+"-"+b[1]+"-"+b[2]+" "+I+":"+b[4]+":"+b[5]+":000",S=+g;return(l.utc(R).valueOf()-(S-=S%1e3))/6e4},m=a.prototype;m.tz=function(g,y){g===void 0&&(g=c);var _=this.utcOffset(),b=this.toDate(),P=b.toLocaleString("en-US",{timeZone:g}),w=Math.round((b-new Date(P))/1e3/60),T=l(P).$set("millisecond",this.$ms).utcOffset(15*-Math.round(b.getTimezoneOffset()/15)-w,!0);if(y){var A=T.utcOffset();T=T.add(_-A,"minute")}return T.$x.$timezone=g,T},m.offsetName=function(g){var y=this.$x.$timezone||l.tz.guess(),_=f(this.valueOf(),y,{timeZoneName:g}).find(function(b){return b.type.toLowerCase()==="timezonename"});return _&&_.value};var p=m.startOf;m.startOf=function(g,y){if(!this.$x||!this.$x.$timezone)return p.call(this,g,y);var _=l(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return p.call(_,g,y).tz(this.$x.$timezone,!0)},l.tz=function(g,y,_){var b=_&&y,P=_||y||c,w=d(+l(),P);if(typeof g!="string")return l(g).tz(P);var T=function(I,R,S){var $=I-60*R*1e3,L=d($,S);if(R===L)return[$,R];var W=d($-=60*(L-R)*1e3,S);return L===W?[$,L]:[I-60*Math.min(L,W)*1e3,Math.max(L,W)]}(l.utc(g,b).valueOf(),w,P),A=T[0],C=T[1],x=l(A).utcOffset(C);return x.$x.$timezone=P,x},l.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},l.tz.setDefault=function(g){c=g}}})})(cb);var gF=cb.exports;const _F=Hn(gF);var fb={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(qt,function(){return function(n,i){var o=i.prototype,a=o.format;o.format=function(l){var c=this,f=this.$locale();if(!this.isValid())return a.bind(this)(l);var d=this.$utils(),m=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(p){switch(p){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return f.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return f.ordinal(c.week(),"W");case"w":case"ww":return d.s(c.week(),p==="w"?1:2,"0");case"W":case"WW":return d.s(c.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return d.s(String(c.$H===0?24:c.$H),p==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return p}});return a.bind(this)(m)}}})})(fb);var vF=fb.exports;const yF=Hn(vF);var db={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(qt,function(){return function(n,i){i.prototype.isSameOrBefore=function(o,a){return this.isSame(o,a)||this.isBefore(o,a)}}})})(db);var bF=db.exports;const wF=Hn(bF);var hb={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(qt,function(){return function(n,i){i.prototype.isSameOrAfter=function(o,a){return this.isSame(o,a)||this.isAfter(o,a)}}})})(hb);var EF=hb.exports;const TF=Hn(EF);var pb={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(qt,function(){return function(n,i,o){var a=function(l,c){if(!c||!c.length||!c[0]||c.length===1&&!c[0].length)return null;var f;c.length===1&&c[0].length>0&&(c=c[0]),f=c[0];for(var d=1;d<c.length;d+=1)c[d].isValid()&&!c[d][l](f)||(f=c[d]);return f};o.max=function(){var l=[].slice.call(arguments,0);return a("isAfter",l)},o.min=function(){var l=[].slice.call(arguments,0);return a("isBefore",l)}}})})(pb);var CF=pb.exports;const OF=Hn(CF);var mb={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(qt,function(){return function(n,i,o){n=n||{};var a=i.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(d,m,p,g){return a.fromToBase(d,m,p,g)}o.en.relativeTime=l,a.fromToBase=function(d,m,p,g,y){for(var _,b,P,w=p.$locale().relativeTime||l,T=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],A=T.length,C=0;C<A;C+=1){var x=T[C];x.d&&(_=g?o(d).diff(p,x.d,!0):p.diff(d,x.d,!0));var I=(n.rounding||Math.round)(Math.abs(_));if(P=_>0,I<=x.r||!x.r){I<=1&&C>0&&(x=T[C-1]);var R=w[x.l];y&&(I=y(""+I)),b=typeof R=="string"?R.replace("%d",I):R(I,m,x.l,P);break}}if(m)return b;var S=P?w.future:w.past;return typeof S=="function"?S(b):S.replace("%s",b)},a.to=function(d,m){return c(d,m,this,!0)},a.from=function(d,m){return c(d,m,this)};var f=function(d){return d.$u?o.utc():o()};a.toNow=function(d){return this.to(f(this),d)},a.fromNow=function(d){return this.from(f(this),d)}}})})(mb);var xF=mb.exports;const PF=Hn(xF);var Al={exports:{}};/**
|
|
31
|
+
* @license
|
|
32
|
+
* Lodash <https://lodash.com/>
|
|
33
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
34
|
+
* Released under MIT license <https://lodash.com/license>
|
|
35
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
36
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
37
|
+
*/Al.exports;(function(e,t){(function(){var n,i="4.17.21",o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",d=500,m="__lodash_placeholder__",p=1,g=2,y=4,_=1,b=2,P=1,w=2,T=4,A=8,C=16,x=32,I=64,R=128,S=256,$=512,L=30,W="...",G=800,V=16,j=1,Y=2,ee=3,K=1/0,ae=9007199254740991,be=17976931348623157e292,Pe=0/0,Ae=4294967295,Ie=Ae-1,nt=Ae>>>1,Ke=[["ary",R],["bind",P],["bindKey",w],["curry",A],["curryRight",C],["flip",$],["partial",x],["partialRight",I],["rearg",S]],ft="[object Arguments]",rt="[object Array]",J="[object AsyncFunction]",fe="[object Boolean]",oe="[object Date]",pe="[object DOMException]",ke="[object Error]",M="[object Function]",N="[object GeneratorFunction]",H="[object Map]",Q="[object Number]",re="[object Null]",ie="[object Object]",de="[object Promise]",le="[object Proxy]",ue="[object RegExp]",X="[object Set]",B="[object String]",z="[object Symbol]",_e="[object Undefined]",ve="[object WeakMap]",Le="[object WeakSet]",We="[object ArrayBuffer]",Ne="[object DataView]",dt="[object Float32Array]",Bt="[object Float64Array]",rr="[object Int8Array]",Yi="[object Int16Array]",_r="[object Int32Array]",Qi="[object Uint8Array]",Lt="[object Uint8ClampedArray]",rn="[object Uint16Array]",Xi="[object Uint32Array]",Eb=/\b__p \+= '';/g,Tb=/\b(__p \+=) '' \+/g,Cb=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Nd=/&(?:amp|lt|gt|quot|#39);/g,Fd=/[&<>"']/g,Ob=RegExp(Nd.source),xb=RegExp(Fd.source),Pb=/<%-([\s\S]+?)%>/g,Sb=/<%([\s\S]+?)%>/g,kd=/<%=([\s\S]+?)%>/g,Rb=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ab=/^\w*$/,Ib=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pu=/[\\^$.*+?()[\]{}|]/g,$b=RegExp(pu.source),mu=/^\s+/,Mb=/\s/,Db=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Lb=/\{\n\/\* \[wrapped with (.+)\] \*/,Nb=/,? & /,Fb=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,kb=/[()=,{}\[\]\/\s]/,Ub=/\\(\\)?/g,Hb=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ud=/\w*$/,Bb=/^[-+]0x[0-9a-f]+$/i,Wb=/^0b[01]+$/i,jb=/^\[object .+?Constructor\]$/,zb=/^0o[0-7]+$/i,Vb=/^(?:0|[1-9]\d*)$/,qb=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Jo=/($^)/,Gb=/['\n\r\u2028\u2029\\]/g,ea="\\ud800-\\udfff",Kb="\\u0300-\\u036f",Yb="\\ufe20-\\ufe2f",Qb="\\u20d0-\\u20ff",Hd=Kb+Yb+Qb,Bd="\\u2700-\\u27bf",Wd="a-z\\xdf-\\xf6\\xf8-\\xff",Xb="\\xac\\xb1\\xd7\\xf7",Zb="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Jb="\\u2000-\\u206f",ew=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",jd="A-Z\\xc0-\\xd6\\xd8-\\xde",zd="\\ufe0e\\ufe0f",Vd=Xb+Zb+Jb+ew,gu="['’]",tw="["+ea+"]",qd="["+Vd+"]",ta="["+Hd+"]",Gd="\\d+",nw="["+Bd+"]",Kd="["+Wd+"]",Yd="[^"+ea+Vd+Gd+Bd+Wd+jd+"]",_u="\\ud83c[\\udffb-\\udfff]",rw="(?:"+ta+"|"+_u+")",Qd="[^"+ea+"]",vu="(?:\\ud83c[\\udde6-\\uddff]){2}",yu="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+jd+"]",Xd="\\u200d",Zd="(?:"+Kd+"|"+Yd+")",iw="(?:"+Zi+"|"+Yd+")",Jd="(?:"+gu+"(?:d|ll|m|re|s|t|ve))?",eh="(?:"+gu+"(?:D|LL|M|RE|S|T|VE))?",th=rw+"?",nh="["+zd+"]?",sw="(?:"+Xd+"(?:"+[Qd,vu,yu].join("|")+")"+nh+th+")*",ow="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",aw="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",rh=nh+th+sw,lw="(?:"+[nw,vu,yu].join("|")+")"+rh,uw="(?:"+[Qd+ta+"?",ta,vu,yu,tw].join("|")+")",cw=RegExp(gu,"g"),fw=RegExp(ta,"g"),bu=RegExp(_u+"(?="+_u+")|"+uw+rh,"g"),dw=RegExp([Zi+"?"+Kd+"+"+Jd+"(?="+[qd,Zi,"$"].join("|")+")",iw+"+"+eh+"(?="+[qd,Zi+Zd,"$"].join("|")+")",Zi+"?"+Zd+"+"+Jd,Zi+"+"+eh,aw,ow,Gd,lw].join("|"),"g"),hw=RegExp("["+Xd+ea+Hd+zd+"]"),pw=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,mw=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],gw=-1,gt={};gt[dt]=gt[Bt]=gt[rr]=gt[Yi]=gt[_r]=gt[Qi]=gt[Lt]=gt[rn]=gt[Xi]=!0,gt[ft]=gt[rt]=gt[We]=gt[fe]=gt[Ne]=gt[oe]=gt[ke]=gt[M]=gt[H]=gt[Q]=gt[ie]=gt[ue]=gt[X]=gt[B]=gt[ve]=!1;var ht={};ht[ft]=ht[rt]=ht[We]=ht[Ne]=ht[fe]=ht[oe]=ht[dt]=ht[Bt]=ht[rr]=ht[Yi]=ht[_r]=ht[H]=ht[Q]=ht[ie]=ht[ue]=ht[X]=ht[B]=ht[z]=ht[Qi]=ht[Lt]=ht[rn]=ht[Xi]=!0,ht[ke]=ht[M]=ht[ve]=!1;var _w={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},vw={"&":"&","<":"<",">":">",'"':""","'":"'"},yw={"&":"&","<":"<",">":">",""":'"',"'":"'"},bw={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ww=parseFloat,Ew=parseInt,ih=typeof qt=="object"&&qt&&qt.Object===Object&&qt,Tw=typeof self=="object"&&self&&self.Object===Object&&self,Nt=ih||Tw||Function("return this")(),wu=t&&!t.nodeType&&t,vi=wu&&!0&&e&&!e.nodeType&&e,sh=vi&&vi.exports===wu,Eu=sh&&ih.process,Pn=function(){try{var k=vi&&vi.require&&vi.require("util").types;return k||Eu&&Eu.binding&&Eu.binding("util")}catch{}}(),oh=Pn&&Pn.isArrayBuffer,ah=Pn&&Pn.isDate,lh=Pn&&Pn.isMap,uh=Pn&&Pn.isRegExp,ch=Pn&&Pn.isSet,fh=Pn&&Pn.isTypedArray;function mn(k,Z,q){switch(q.length){case 0:return k.call(Z);case 1:return k.call(Z,q[0]);case 2:return k.call(Z,q[0],q[1]);case 3:return k.call(Z,q[0],q[1],q[2])}return k.apply(Z,q)}function Cw(k,Z,q,me){for(var Me=-1,Ze=k==null?0:k.length;++Me<Ze;){var St=k[Me];Z(me,St,q(St),k)}return me}function Sn(k,Z){for(var q=-1,me=k==null?0:k.length;++q<me&&Z(k[q],q,k)!==!1;);return k}function Ow(k,Z){for(var q=k==null?0:k.length;q--&&Z(k[q],q,k)!==!1;);return k}function dh(k,Z){for(var q=-1,me=k==null?0:k.length;++q<me;)if(!Z(k[q],q,k))return!1;return!0}function Fr(k,Z){for(var q=-1,me=k==null?0:k.length,Me=0,Ze=[];++q<me;){var St=k[q];Z(St,q,k)&&(Ze[Me++]=St)}return Ze}function na(k,Z){var q=k==null?0:k.length;return!!q&&Ji(k,Z,0)>-1}function Tu(k,Z,q){for(var me=-1,Me=k==null?0:k.length;++me<Me;)if(q(Z,k[me]))return!0;return!1}function _t(k,Z){for(var q=-1,me=k==null?0:k.length,Me=Array(me);++q<me;)Me[q]=Z(k[q],q,k);return Me}function kr(k,Z){for(var q=-1,me=Z.length,Me=k.length;++q<me;)k[Me+q]=Z[q];return k}function Cu(k,Z,q,me){var Me=-1,Ze=k==null?0:k.length;for(me&&Ze&&(q=k[++Me]);++Me<Ze;)q=Z(q,k[Me],Me,k);return q}function xw(k,Z,q,me){var Me=k==null?0:k.length;for(me&&Me&&(q=k[--Me]);Me--;)q=Z(q,k[Me],Me,k);return q}function Ou(k,Z){for(var q=-1,me=k==null?0:k.length;++q<me;)if(Z(k[q],q,k))return!0;return!1}var Pw=xu("length");function Sw(k){return k.split("")}function Rw(k){return k.match(Fb)||[]}function hh(k,Z,q){var me;return q(k,function(Me,Ze,St){if(Z(Me,Ze,St))return me=Ze,!1}),me}function ra(k,Z,q,me){for(var Me=k.length,Ze=q+(me?1:-1);me?Ze--:++Ze<Me;)if(Z(k[Ze],Ze,k))return Ze;return-1}function Ji(k,Z,q){return Z===Z?Bw(k,Z,q):ra(k,ph,q)}function Aw(k,Z,q,me){for(var Me=q-1,Ze=k.length;++Me<Ze;)if(me(k[Me],Z))return Me;return-1}function ph(k){return k!==k}function mh(k,Z){var q=k==null?0:k.length;return q?Su(k,Z)/q:Pe}function xu(k){return function(Z){return Z==null?n:Z[k]}}function Pu(k){return function(Z){return k==null?n:k[Z]}}function gh(k,Z,q,me,Me){return Me(k,function(Ze,St,lt){q=me?(me=!1,Ze):Z(q,Ze,St,lt)}),q}function Iw(k,Z){var q=k.length;for(k.sort(Z);q--;)k[q]=k[q].value;return k}function Su(k,Z){for(var q,me=-1,Me=k.length;++me<Me;){var Ze=Z(k[me]);Ze!==n&&(q=q===n?Ze:q+Ze)}return q}function Ru(k,Z){for(var q=-1,me=Array(k);++q<k;)me[q]=Z(q);return me}function $w(k,Z){return _t(Z,function(q){return[q,k[q]]})}function _h(k){return k&&k.slice(0,wh(k)+1).replace(mu,"")}function gn(k){return function(Z){return k(Z)}}function Au(k,Z){return _t(Z,function(q){return k[q]})}function Bs(k,Z){return k.has(Z)}function vh(k,Z){for(var q=-1,me=k.length;++q<me&&Ji(Z,k[q],0)>-1;);return q}function yh(k,Z){for(var q=k.length;q--&&Ji(Z,k[q],0)>-1;);return q}function Mw(k,Z){for(var q=k.length,me=0;q--;)k[q]===Z&&++me;return me}var Dw=Pu(_w),Lw=Pu(vw);function Nw(k){return"\\"+bw[k]}function Fw(k,Z){return k==null?n:k[Z]}function es(k){return hw.test(k)}function kw(k){return pw.test(k)}function Uw(k){for(var Z,q=[];!(Z=k.next()).done;)q.push(Z.value);return q}function Iu(k){var Z=-1,q=Array(k.size);return k.forEach(function(me,Me){q[++Z]=[Me,me]}),q}function bh(k,Z){return function(q){return k(Z(q))}}function Ur(k,Z){for(var q=-1,me=k.length,Me=0,Ze=[];++q<me;){var St=k[q];(St===Z||St===m)&&(k[q]=m,Ze[Me++]=q)}return Ze}function ia(k){var Z=-1,q=Array(k.size);return k.forEach(function(me){q[++Z]=me}),q}function Hw(k){var Z=-1,q=Array(k.size);return k.forEach(function(me){q[++Z]=[me,me]}),q}function Bw(k,Z,q){for(var me=q-1,Me=k.length;++me<Me;)if(k[me]===Z)return me;return-1}function Ww(k,Z,q){for(var me=q+1;me--;)if(k[me]===Z)return me;return me}function ts(k){return es(k)?zw(k):Pw(k)}function Bn(k){return es(k)?Vw(k):Sw(k)}function wh(k){for(var Z=k.length;Z--&&Mb.test(k.charAt(Z)););return Z}var jw=Pu(yw);function zw(k){for(var Z=bu.lastIndex=0;bu.test(k);)++Z;return Z}function Vw(k){return k.match(bu)||[]}function qw(k){return k.match(dw)||[]}var Gw=function k(Z){Z=Z==null?Nt:ns.defaults(Nt.Object(),Z,ns.pick(Nt,mw));var q=Z.Array,me=Z.Date,Me=Z.Error,Ze=Z.Function,St=Z.Math,lt=Z.Object,$u=Z.RegExp,Kw=Z.String,Rn=Z.TypeError,sa=q.prototype,Yw=Ze.prototype,rs=lt.prototype,oa=Z["__core-js_shared__"],aa=Yw.toString,it=rs.hasOwnProperty,Qw=0,Eh=function(){var r=/[^.]+$/.exec(oa&&oa.keys&&oa.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),la=rs.toString,Xw=aa.call(lt),Zw=Nt._,Jw=$u("^"+aa.call(it).replace(pu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ua=sh?Z.Buffer:n,Hr=Z.Symbol,ca=Z.Uint8Array,Th=ua?ua.allocUnsafe:n,fa=bh(lt.getPrototypeOf,lt),Ch=lt.create,Oh=rs.propertyIsEnumerable,da=sa.splice,xh=Hr?Hr.isConcatSpreadable:n,Ws=Hr?Hr.iterator:n,yi=Hr?Hr.toStringTag:n,ha=function(){try{var r=Ci(lt,"defineProperty");return r({},"",{}),r}catch{}}(),eE=Z.clearTimeout!==Nt.clearTimeout&&Z.clearTimeout,tE=me&&me.now!==Nt.Date.now&&me.now,nE=Z.setTimeout!==Nt.setTimeout&&Z.setTimeout,pa=St.ceil,ma=St.floor,Mu=lt.getOwnPropertySymbols,rE=ua?ua.isBuffer:n,Ph=Z.isFinite,iE=sa.join,sE=bh(lt.keys,lt),Rt=St.max,Wt=St.min,oE=me.now,aE=Z.parseInt,Sh=St.random,lE=sa.reverse,Du=Ci(Z,"DataView"),js=Ci(Z,"Map"),Lu=Ci(Z,"Promise"),is=Ci(Z,"Set"),zs=Ci(Z,"WeakMap"),Vs=Ci(lt,"create"),ga=zs&&new zs,ss={},uE=Oi(Du),cE=Oi(js),fE=Oi(Lu),dE=Oi(is),hE=Oi(zs),_a=Hr?Hr.prototype:n,qs=_a?_a.valueOf:n,Rh=_a?_a.toString:n;function E(r){if(bt(r)&&!De(r)&&!(r instanceof ze)){if(r instanceof An)return r;if(it.call(r,"__wrapped__"))return Ap(r)}return new An(r)}var os=function(){function r(){}return function(s){if(!yt(s))return{};if(Ch)return Ch(s);r.prototype=s;var u=new r;return r.prototype=n,u}}();function va(){}function An(r,s){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}E.templateSettings={escape:Pb,evaluate:Sb,interpolate:kd,variable:"",imports:{_:E}},E.prototype=va.prototype,E.prototype.constructor=E,An.prototype=os(va.prototype),An.prototype.constructor=An;function ze(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ae,this.__views__=[]}function pE(){var r=new ze(this.__wrapped__);return r.__actions__=sn(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=sn(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=sn(this.__views__),r}function mE(){if(this.__filtered__){var r=new ze(this);r.__dir__=-1,r.__filtered__=!0}else r=this.clone(),r.__dir__*=-1;return r}function gE(){var r=this.__wrapped__.value(),s=this.__dir__,u=De(r),h=s<0,v=u?r.length:0,O=S1(0,v,this.__views__),D=O.start,F=O.end,U=F-D,te=h?F:D-1,ne=this.__iteratees__,se=ne.length,he=0,Te=Wt(U,this.__takeCount__);if(!u||!h&&v==U&&Te==U)return Jh(r,this.__actions__);var Se=[];e:for(;U--&&he<Te;){te+=s;for(var He=-1,Re=r[te];++He<se;){var je=ne[He],Ge=je.iteratee,yn=je.type,Xt=Ge(Re);if(yn==Y)Re=Xt;else if(!Xt){if(yn==j)continue e;break e}}Se[he++]=Re}return Se}ze.prototype=os(va.prototype),ze.prototype.constructor=ze;function bi(r){var s=-1,u=r==null?0:r.length;for(this.clear();++s<u;){var h=r[s];this.set(h[0],h[1])}}function _E(){this.__data__=Vs?Vs(null):{},this.size=0}function vE(r){var s=this.has(r)&&delete this.__data__[r];return this.size-=s?1:0,s}function yE(r){var s=this.__data__;if(Vs){var u=s[r];return u===f?n:u}return it.call(s,r)?s[r]:n}function bE(r){var s=this.__data__;return Vs?s[r]!==n:it.call(s,r)}function wE(r,s){var u=this.__data__;return this.size+=this.has(r)?0:1,u[r]=Vs&&s===n?f:s,this}bi.prototype.clear=_E,bi.prototype.delete=vE,bi.prototype.get=yE,bi.prototype.has=bE,bi.prototype.set=wE;function vr(r){var s=-1,u=r==null?0:r.length;for(this.clear();++s<u;){var h=r[s];this.set(h[0],h[1])}}function EE(){this.__data__=[],this.size=0}function TE(r){var s=this.__data__,u=ya(s,r);if(u<0)return!1;var h=s.length-1;return u==h?s.pop():da.call(s,u,1),--this.size,!0}function CE(r){var s=this.__data__,u=ya(s,r);return u<0?n:s[u][1]}function OE(r){return ya(this.__data__,r)>-1}function xE(r,s){var u=this.__data__,h=ya(u,r);return h<0?(++this.size,u.push([r,s])):u[h][1]=s,this}vr.prototype.clear=EE,vr.prototype.delete=TE,vr.prototype.get=CE,vr.prototype.has=OE,vr.prototype.set=xE;function yr(r){var s=-1,u=r==null?0:r.length;for(this.clear();++s<u;){var h=r[s];this.set(h[0],h[1])}}function PE(){this.size=0,this.__data__={hash:new bi,map:new(js||vr),string:new bi}}function SE(r){var s=Ia(this,r).delete(r);return this.size-=s?1:0,s}function RE(r){return Ia(this,r).get(r)}function AE(r){return Ia(this,r).has(r)}function IE(r,s){var u=Ia(this,r),h=u.size;return u.set(r,s),this.size+=u.size==h?0:1,this}yr.prototype.clear=PE,yr.prototype.delete=SE,yr.prototype.get=RE,yr.prototype.has=AE,yr.prototype.set=IE;function wi(r){var s=-1,u=r==null?0:r.length;for(this.__data__=new yr;++s<u;)this.add(r[s])}function $E(r){return this.__data__.set(r,f),this}function ME(r){return this.__data__.has(r)}wi.prototype.add=wi.prototype.push=$E,wi.prototype.has=ME;function Wn(r){var s=this.__data__=new vr(r);this.size=s.size}function DE(){this.__data__=new vr,this.size=0}function LE(r){var s=this.__data__,u=s.delete(r);return this.size=s.size,u}function NE(r){return this.__data__.get(r)}function FE(r){return this.__data__.has(r)}function kE(r,s){var u=this.__data__;if(u instanceof vr){var h=u.__data__;if(!js||h.length<o-1)return h.push([r,s]),this.size=++u.size,this;u=this.__data__=new yr(h)}return u.set(r,s),this.size=u.size,this}Wn.prototype.clear=DE,Wn.prototype.delete=LE,Wn.prototype.get=NE,Wn.prototype.has=FE,Wn.prototype.set=kE;function Ah(r,s){var u=De(r),h=!u&&xi(r),v=!u&&!h&&Vr(r),O=!u&&!h&&!v&&cs(r),D=u||h||v||O,F=D?Ru(r.length,Kw):[],U=F.length;for(var te in r)(s||it.call(r,te))&&!(D&&(te=="length"||v&&(te=="offset"||te=="parent")||O&&(te=="buffer"||te=="byteLength"||te=="byteOffset")||Tr(te,U)))&&F.push(te);return F}function Ih(r){var s=r.length;return s?r[qu(0,s-1)]:n}function UE(r,s){return $a(sn(r),Ei(s,0,r.length))}function HE(r){return $a(sn(r))}function Nu(r,s,u){(u!==n&&!jn(r[s],u)||u===n&&!(s in r))&&br(r,s,u)}function Gs(r,s,u){var h=r[s];(!(it.call(r,s)&&jn(h,u))||u===n&&!(s in r))&&br(r,s,u)}function ya(r,s){for(var u=r.length;u--;)if(jn(r[u][0],s))return u;return-1}function BE(r,s,u,h){return Br(r,function(v,O,D){s(h,v,u(v),D)}),h}function $h(r,s){return r&&sr(s,At(s),r)}function WE(r,s){return r&&sr(s,an(s),r)}function br(r,s,u){s=="__proto__"&&ha?ha(r,s,{configurable:!0,enumerable:!0,value:u,writable:!0}):r[s]=u}function Fu(r,s){for(var u=-1,h=s.length,v=q(h),O=r==null;++u<h;)v[u]=O?n:_c(r,s[u]);return v}function Ei(r,s,u){return r===r&&(u!==n&&(r=r<=u?r:u),s!==n&&(r=r>=s?r:s)),r}function In(r,s,u,h,v,O){var D,F=s&p,U=s&g,te=s&y;if(u&&(D=v?u(r,h,v,O):u(r)),D!==n)return D;if(!yt(r))return r;var ne=De(r);if(ne){if(D=A1(r),!F)return sn(r,D)}else{var se=jt(r),he=se==M||se==N;if(Vr(r))return np(r,F);if(se==ie||se==ft||he&&!v){if(D=U||he?{}:wp(r),!F)return U?y1(r,WE(D,r)):v1(r,$h(D,r))}else{if(!ht[se])return v?r:{};D=I1(r,se,F)}}O||(O=new Wn);var Te=O.get(r);if(Te)return Te;O.set(r,D),Qp(r)?r.forEach(function(Re){D.add(In(Re,s,u,Re,r,O))}):Kp(r)&&r.forEach(function(Re,je){D.set(je,In(Re,s,u,je,r,O))});var Se=te?U?rc:nc:U?an:At,He=ne?n:Se(r);return Sn(He||r,function(Re,je){He&&(je=Re,Re=r[je]),Gs(D,je,In(Re,s,u,je,r,O))}),D}function jE(r){var s=At(r);return function(u){return Mh(u,r,s)}}function Mh(r,s,u){var h=u.length;if(r==null)return!h;for(r=lt(r);h--;){var v=u[h],O=s[v],D=r[v];if(D===n&&!(v in r)||!O(D))return!1}return!0}function Dh(r,s,u){if(typeof r!="function")throw new Rn(l);return eo(function(){r.apply(n,u)},s)}function Ks(r,s,u,h){var v=-1,O=na,D=!0,F=r.length,U=[],te=s.length;if(!F)return U;u&&(s=_t(s,gn(u))),h?(O=Tu,D=!1):s.length>=o&&(O=Bs,D=!1,s=new wi(s));e:for(;++v<F;){var ne=r[v],se=u==null?ne:u(ne);if(ne=h||ne!==0?ne:0,D&&se===se){for(var he=te;he--;)if(s[he]===se)continue e;U.push(ne)}else O(s,se,h)||U.push(ne)}return U}var Br=ap(ir),Lh=ap(Uu,!0);function zE(r,s){var u=!0;return Br(r,function(h,v,O){return u=!!s(h,v,O),u}),u}function ba(r,s,u){for(var h=-1,v=r.length;++h<v;){var O=r[h],D=s(O);if(D!=null&&(F===n?D===D&&!vn(D):u(D,F)))var F=D,U=O}return U}function VE(r,s,u,h){var v=r.length;for(u=Ue(u),u<0&&(u=-u>v?0:v+u),h=h===n||h>v?v:Ue(h),h<0&&(h+=v),h=u>h?0:Zp(h);u<h;)r[u++]=s;return r}function Nh(r,s){var u=[];return Br(r,function(h,v,O){s(h,v,O)&&u.push(h)}),u}function Ft(r,s,u,h,v){var O=-1,D=r.length;for(u||(u=M1),v||(v=[]);++O<D;){var F=r[O];s>0&&u(F)?s>1?Ft(F,s-1,u,h,v):kr(v,F):h||(v[v.length]=F)}return v}var ku=lp(),Fh=lp(!0);function ir(r,s){return r&&ku(r,s,At)}function Uu(r,s){return r&&Fh(r,s,At)}function wa(r,s){return Fr(s,function(u){return Cr(r[u])})}function Ti(r,s){s=jr(s,r);for(var u=0,h=s.length;r!=null&&u<h;)r=r[or(s[u++])];return u&&u==h?r:n}function kh(r,s,u){var h=s(r);return De(r)?h:kr(h,u(r))}function Yt(r){return r==null?r===n?_e:re:yi&&yi in lt(r)?P1(r):H1(r)}function Hu(r,s){return r>s}function qE(r,s){return r!=null&&it.call(r,s)}function GE(r,s){return r!=null&&s in lt(r)}function KE(r,s,u){return r>=Wt(s,u)&&r<Rt(s,u)}function Bu(r,s,u){for(var h=u?Tu:na,v=r[0].length,O=r.length,D=O,F=q(O),U=1/0,te=[];D--;){var ne=r[D];D&&s&&(ne=_t(ne,gn(s))),U=Wt(ne.length,U),F[D]=!u&&(s||v>=120&&ne.length>=120)?new wi(D&&ne):n}ne=r[0];var se=-1,he=F[0];e:for(;++se<v&&te.length<U;){var Te=ne[se],Se=s?s(Te):Te;if(Te=u||Te!==0?Te:0,!(he?Bs(he,Se):h(te,Se,u))){for(D=O;--D;){var He=F[D];if(!(He?Bs(He,Se):h(r[D],Se,u)))continue e}he&&he.push(Se),te.push(Te)}}return te}function YE(r,s,u,h){return ir(r,function(v,O,D){s(h,u(v),O,D)}),h}function Ys(r,s,u){s=jr(s,r),r=Op(r,s);var h=r==null?r:r[or(Mn(s))];return h==null?n:mn(h,r,u)}function Uh(r){return bt(r)&&Yt(r)==ft}function QE(r){return bt(r)&&Yt(r)==We}function XE(r){return bt(r)&&Yt(r)==oe}function Qs(r,s,u,h,v){return r===s?!0:r==null||s==null||!bt(r)&&!bt(s)?r!==r&&s!==s:ZE(r,s,u,h,Qs,v)}function ZE(r,s,u,h,v,O){var D=De(r),F=De(s),U=D?rt:jt(r),te=F?rt:jt(s);U=U==ft?ie:U,te=te==ft?ie:te;var ne=U==ie,se=te==ie,he=U==te;if(he&&Vr(r)){if(!Vr(s))return!1;D=!0,ne=!1}if(he&&!ne)return O||(O=new Wn),D||cs(r)?vp(r,s,u,h,v,O):O1(r,s,U,u,h,v,O);if(!(u&_)){var Te=ne&&it.call(r,"__wrapped__"),Se=se&&it.call(s,"__wrapped__");if(Te||Se){var He=Te?r.value():r,Re=Se?s.value():s;return O||(O=new Wn),v(He,Re,u,h,O)}}return he?(O||(O=new Wn),x1(r,s,u,h,v,O)):!1}function JE(r){return bt(r)&&jt(r)==H}function Wu(r,s,u,h){var v=u.length,O=v,D=!h;if(r==null)return!O;for(r=lt(r);v--;){var F=u[v];if(D&&F[2]?F[1]!==r[F[0]]:!(F[0]in r))return!1}for(;++v<O;){F=u[v];var U=F[0],te=r[U],ne=F[1];if(D&&F[2]){if(te===n&&!(U in r))return!1}else{var se=new Wn;if(h)var he=h(te,ne,U,r,s,se);if(!(he===n?Qs(ne,te,_|b,h,se):he))return!1}}return!0}function Hh(r){if(!yt(r)||L1(r))return!1;var s=Cr(r)?Jw:jb;return s.test(Oi(r))}function e1(r){return bt(r)&&Yt(r)==ue}function t1(r){return bt(r)&&jt(r)==X}function n1(r){return bt(r)&&ka(r.length)&&!!gt[Yt(r)]}function Bh(r){return typeof r=="function"?r:r==null?ln:typeof r=="object"?De(r)?zh(r[0],r[1]):jh(r):um(r)}function ju(r){if(!Js(r))return sE(r);var s=[];for(var u in lt(r))it.call(r,u)&&u!="constructor"&&s.push(u);return s}function r1(r){if(!yt(r))return U1(r);var s=Js(r),u=[];for(var h in r)h=="constructor"&&(s||!it.call(r,h))||u.push(h);return u}function zu(r,s){return r<s}function Wh(r,s){var u=-1,h=on(r)?q(r.length):[];return Br(r,function(v,O,D){h[++u]=s(v,O,D)}),h}function jh(r){var s=sc(r);return s.length==1&&s[0][2]?Tp(s[0][0],s[0][1]):function(u){return u===r||Wu(u,r,s)}}function zh(r,s){return ac(r)&&Ep(s)?Tp(or(r),s):function(u){var h=_c(u,r);return h===n&&h===s?vc(u,r):Qs(s,h,_|b)}}function Ea(r,s,u,h,v){r!==s&&ku(s,function(O,D){if(v||(v=new Wn),yt(O))i1(r,s,D,u,Ea,h,v);else{var F=h?h(uc(r,D),O,D+"",r,s,v):n;F===n&&(F=O),Nu(r,D,F)}},an)}function i1(r,s,u,h,v,O,D){var F=uc(r,u),U=uc(s,u),te=D.get(U);if(te){Nu(r,u,te);return}var ne=O?O(F,U,u+"",r,s,D):n,se=ne===n;if(se){var he=De(U),Te=!he&&Vr(U),Se=!he&&!Te&&cs(U);ne=U,he||Te||Se?De(F)?ne=F:Et(F)?ne=sn(F):Te?(se=!1,ne=np(U,!0)):Se?(se=!1,ne=rp(U,!0)):ne=[]:to(U)||xi(U)?(ne=F,xi(F)?ne=Jp(F):(!yt(F)||Cr(F))&&(ne=wp(U))):se=!1}se&&(D.set(U,ne),v(ne,U,h,O,D),D.delete(U)),Nu(r,u,ne)}function Vh(r,s){var u=r.length;if(u)return s+=s<0?u:0,Tr(s,u)?r[s]:n}function qh(r,s,u){s.length?s=_t(s,function(O){return De(O)?function(D){return Ti(D,O.length===1?O[0]:O)}:O}):s=[ln];var h=-1;s=_t(s,gn(xe()));var v=Wh(r,function(O,D,F){var U=_t(s,function(te){return te(O)});return{criteria:U,index:++h,value:O}});return Iw(v,function(O,D){return _1(O,D,u)})}function s1(r,s){return Gh(r,s,function(u,h){return vc(r,h)})}function Gh(r,s,u){for(var h=-1,v=s.length,O={};++h<v;){var D=s[h],F=Ti(r,D);u(F,D)&&Xs(O,jr(D,r),F)}return O}function o1(r){return function(s){return Ti(s,r)}}function Vu(r,s,u,h){var v=h?Aw:Ji,O=-1,D=s.length,F=r;for(r===s&&(s=sn(s)),u&&(F=_t(r,gn(u)));++O<D;)for(var U=0,te=s[O],ne=u?u(te):te;(U=v(F,ne,U,h))>-1;)F!==r&&da.call(F,U,1),da.call(r,U,1);return r}function Kh(r,s){for(var u=r?s.length:0,h=u-1;u--;){var v=s[u];if(u==h||v!==O){var O=v;Tr(v)?da.call(r,v,1):Yu(r,v)}}return r}function qu(r,s){return r+ma(Sh()*(s-r+1))}function a1(r,s,u,h){for(var v=-1,O=Rt(pa((s-r)/(u||1)),0),D=q(O);O--;)D[h?O:++v]=r,r+=u;return D}function Gu(r,s){var u="";if(!r||s<1||s>ae)return u;do s%2&&(u+=r),s=ma(s/2),s&&(r+=r);while(s);return u}function Be(r,s){return cc(Cp(r,s,ln),r+"")}function l1(r){return Ih(fs(r))}function u1(r,s){var u=fs(r);return $a(u,Ei(s,0,u.length))}function Xs(r,s,u,h){if(!yt(r))return r;s=jr(s,r);for(var v=-1,O=s.length,D=O-1,F=r;F!=null&&++v<O;){var U=or(s[v]),te=u;if(U==="__proto__"||U==="constructor"||U==="prototype")return r;if(v!=D){var ne=F[U];te=h?h(ne,U,F):n,te===n&&(te=yt(ne)?ne:Tr(s[v+1])?[]:{})}Gs(F,U,te),F=F[U]}return r}var Yh=ga?function(r,s){return ga.set(r,s),r}:ln,c1=ha?function(r,s){return ha(r,"toString",{configurable:!0,enumerable:!1,value:bc(s),writable:!0})}:ln;function f1(r){return $a(fs(r))}function $n(r,s,u){var h=-1,v=r.length;s<0&&(s=-s>v?0:v+s),u=u>v?v:u,u<0&&(u+=v),v=s>u?0:u-s>>>0,s>>>=0;for(var O=q(v);++h<v;)O[h]=r[h+s];return O}function d1(r,s){var u;return Br(r,function(h,v,O){return u=s(h,v,O),!u}),!!u}function Ta(r,s,u){var h=0,v=r==null?h:r.length;if(typeof s=="number"&&s===s&&v<=nt){for(;h<v;){var O=h+v>>>1,D=r[O];D!==null&&!vn(D)&&(u?D<=s:D<s)?h=O+1:v=O}return v}return Ku(r,s,ln,u)}function Ku(r,s,u,h){var v=0,O=r==null?0:r.length;if(O===0)return 0;s=u(s);for(var D=s!==s,F=s===null,U=vn(s),te=s===n;v<O;){var ne=ma((v+O)/2),se=u(r[ne]),he=se!==n,Te=se===null,Se=se===se,He=vn(se);if(D)var Re=h||Se;else te?Re=Se&&(h||he):F?Re=Se&&he&&(h||!Te):U?Re=Se&&he&&!Te&&(h||!He):Te||He?Re=!1:Re=h?se<=s:se<s;Re?v=ne+1:O=ne}return Wt(O,Ie)}function Qh(r,s){for(var u=-1,h=r.length,v=0,O=[];++u<h;){var D=r[u],F=s?s(D):D;if(!u||!jn(F,U)){var U=F;O[v++]=D===0?0:D}}return O}function Xh(r){return typeof r=="number"?r:vn(r)?Pe:+r}function _n(r){if(typeof r=="string")return r;if(De(r))return _t(r,_n)+"";if(vn(r))return Rh?Rh.call(r):"";var s=r+"";return s=="0"&&1/r==-K?"-0":s}function Wr(r,s,u){var h=-1,v=na,O=r.length,D=!0,F=[],U=F;if(u)D=!1,v=Tu;else if(O>=o){var te=s?null:T1(r);if(te)return ia(te);D=!1,v=Bs,U=new wi}else U=s?[]:F;e:for(;++h<O;){var ne=r[h],se=s?s(ne):ne;if(ne=u||ne!==0?ne:0,D&&se===se){for(var he=U.length;he--;)if(U[he]===se)continue e;s&&U.push(se),F.push(ne)}else v(U,se,u)||(U!==F&&U.push(se),F.push(ne))}return F}function Yu(r,s){return s=jr(s,r),r=Op(r,s),r==null||delete r[or(Mn(s))]}function Zh(r,s,u,h){return Xs(r,s,u(Ti(r,s)),h)}function Ca(r,s,u,h){for(var v=r.length,O=h?v:-1;(h?O--:++O<v)&&s(r[O],O,r););return u?$n(r,h?0:O,h?O+1:v):$n(r,h?O+1:0,h?v:O)}function Jh(r,s){var u=r;return u instanceof ze&&(u=u.value()),Cu(s,function(h,v){return v.func.apply(v.thisArg,kr([h],v.args))},u)}function Qu(r,s,u){var h=r.length;if(h<2)return h?Wr(r[0]):[];for(var v=-1,O=q(h);++v<h;)for(var D=r[v],F=-1;++F<h;)F!=v&&(O[v]=Ks(O[v]||D,r[F],s,u));return Wr(Ft(O,1),s,u)}function ep(r,s,u){for(var h=-1,v=r.length,O=s.length,D={};++h<v;){var F=h<O?s[h]:n;u(D,r[h],F)}return D}function Xu(r){return Et(r)?r:[]}function Zu(r){return typeof r=="function"?r:ln}function jr(r,s){return De(r)?r:ac(r,s)?[r]:Rp(tt(r))}var h1=Be;function zr(r,s,u){var h=r.length;return u=u===n?h:u,!s&&u>=h?r:$n(r,s,u)}var tp=eE||function(r){return Nt.clearTimeout(r)};function np(r,s){if(s)return r.slice();var u=r.length,h=Th?Th(u):new r.constructor(u);return r.copy(h),h}function Ju(r){var s=new r.constructor(r.byteLength);return new ca(s).set(new ca(r)),s}function p1(r,s){var u=s?Ju(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.byteLength)}function m1(r){var s=new r.constructor(r.source,Ud.exec(r));return s.lastIndex=r.lastIndex,s}function g1(r){return qs?lt(qs.call(r)):{}}function rp(r,s){var u=s?Ju(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.length)}function ip(r,s){if(r!==s){var u=r!==n,h=r===null,v=r===r,O=vn(r),D=s!==n,F=s===null,U=s===s,te=vn(s);if(!F&&!te&&!O&&r>s||O&&D&&U&&!F&&!te||h&&D&&U||!u&&U||!v)return 1;if(!h&&!O&&!te&&r<s||te&&u&&v&&!h&&!O||F&&u&&v||!D&&v||!U)return-1}return 0}function _1(r,s,u){for(var h=-1,v=r.criteria,O=s.criteria,D=v.length,F=u.length;++h<D;){var U=ip(v[h],O[h]);if(U){if(h>=F)return U;var te=u[h];return U*(te=="desc"?-1:1)}}return r.index-s.index}function sp(r,s,u,h){for(var v=-1,O=r.length,D=u.length,F=-1,U=s.length,te=Rt(O-D,0),ne=q(U+te),se=!h;++F<U;)ne[F]=s[F];for(;++v<D;)(se||v<O)&&(ne[u[v]]=r[v]);for(;te--;)ne[F++]=r[v++];return ne}function op(r,s,u,h){for(var v=-1,O=r.length,D=-1,F=u.length,U=-1,te=s.length,ne=Rt(O-F,0),se=q(ne+te),he=!h;++v<ne;)se[v]=r[v];for(var Te=v;++U<te;)se[Te+U]=s[U];for(;++D<F;)(he||v<O)&&(se[Te+u[D]]=r[v++]);return se}function sn(r,s){var u=-1,h=r.length;for(s||(s=q(h));++u<h;)s[u]=r[u];return s}function sr(r,s,u,h){var v=!u;u||(u={});for(var O=-1,D=s.length;++O<D;){var F=s[O],U=h?h(u[F],r[F],F,u,r):n;U===n&&(U=r[F]),v?br(u,F,U):Gs(u,F,U)}return u}function v1(r,s){return sr(r,oc(r),s)}function y1(r,s){return sr(r,yp(r),s)}function Oa(r,s){return function(u,h){var v=De(u)?Cw:BE,O=s?s():{};return v(u,r,xe(h,2),O)}}function as(r){return Be(function(s,u){var h=-1,v=u.length,O=v>1?u[v-1]:n,D=v>2?u[2]:n;for(O=r.length>3&&typeof O=="function"?(v--,O):n,D&&Qt(u[0],u[1],D)&&(O=v<3?n:O,v=1),s=lt(s);++h<v;){var F=u[h];F&&r(s,F,h,O)}return s})}function ap(r,s){return function(u,h){if(u==null)return u;if(!on(u))return r(u,h);for(var v=u.length,O=s?v:-1,D=lt(u);(s?O--:++O<v)&&h(D[O],O,D)!==!1;);return u}}function lp(r){return function(s,u,h){for(var v=-1,O=lt(s),D=h(s),F=D.length;F--;){var U=D[r?F:++v];if(u(O[U],U,O)===!1)break}return s}}function b1(r,s,u){var h=s&P,v=Zs(r);function O(){var D=this&&this!==Nt&&this instanceof O?v:r;return D.apply(h?u:this,arguments)}return O}function up(r){return function(s){s=tt(s);var u=es(s)?Bn(s):n,h=u?u[0]:s.charAt(0),v=u?zr(u,1).join(""):s.slice(1);return h[r]()+v}}function ls(r){return function(s){return Cu(am(om(s).replace(cw,"")),r,"")}}function Zs(r){return function(){var s=arguments;switch(s.length){case 0:return new r;case 1:return new r(s[0]);case 2:return new r(s[0],s[1]);case 3:return new r(s[0],s[1],s[2]);case 4:return new r(s[0],s[1],s[2],s[3]);case 5:return new r(s[0],s[1],s[2],s[3],s[4]);case 6:return new r(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new r(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var u=os(r.prototype),h=r.apply(u,s);return yt(h)?h:u}}function w1(r,s,u){var h=Zs(r);function v(){for(var O=arguments.length,D=q(O),F=O,U=us(v);F--;)D[F]=arguments[F];var te=O<3&&D[0]!==U&&D[O-1]!==U?[]:Ur(D,U);if(O-=te.length,O<u)return pp(r,s,xa,v.placeholder,n,D,te,n,n,u-O);var ne=this&&this!==Nt&&this instanceof v?h:r;return mn(ne,this,D)}return v}function cp(r){return function(s,u,h){var v=lt(s);if(!on(s)){var O=xe(u,3);s=At(s),u=function(F){return O(v[F],F,v)}}var D=r(s,u,h);return D>-1?v[O?s[D]:D]:n}}function fp(r){return Er(function(s){var u=s.length,h=u,v=An.prototype.thru;for(r&&s.reverse();h--;){var O=s[h];if(typeof O!="function")throw new Rn(l);if(v&&!D&&Aa(O)=="wrapper")var D=new An([],!0)}for(h=D?h:u;++h<u;){O=s[h];var F=Aa(O),U=F=="wrapper"?ic(O):n;U&&lc(U[0])&&U[1]==(R|A|x|S)&&!U[4].length&&U[9]==1?D=D[Aa(U[0])].apply(D,U[3]):D=O.length==1&&lc(O)?D[F]():D.thru(O)}return function(){var te=arguments,ne=te[0];if(D&&te.length==1&&De(ne))return D.plant(ne).value();for(var se=0,he=u?s[se].apply(this,te):ne;++se<u;)he=s[se].call(this,he);return he}})}function xa(r,s,u,h,v,O,D,F,U,te){var ne=s&R,se=s&P,he=s&w,Te=s&(A|C),Se=s&$,He=he?n:Zs(r);function Re(){for(var je=arguments.length,Ge=q(je),yn=je;yn--;)Ge[yn]=arguments[yn];if(Te)var Xt=us(Re),bn=Mw(Ge,Xt);if(h&&(Ge=sp(Ge,h,v,Te)),O&&(Ge=op(Ge,O,D,Te)),je-=bn,Te&&je<te){var Tt=Ur(Ge,Xt);return pp(r,s,xa,Re.placeholder,u,Ge,Tt,F,U,te-je)}var zn=se?u:this,xr=he?zn[r]:r;return je=Ge.length,F?Ge=B1(Ge,F):Se&&je>1&&Ge.reverse(),ne&&U<je&&(Ge.length=U),this&&this!==Nt&&this instanceof Re&&(xr=He||Zs(xr)),xr.apply(zn,Ge)}return Re}function dp(r,s){return function(u,h){return YE(u,r,s(h),{})}}function Pa(r,s){return function(u,h){var v;if(u===n&&h===n)return s;if(u!==n&&(v=u),h!==n){if(v===n)return h;typeof u=="string"||typeof h=="string"?(u=_n(u),h=_n(h)):(u=Xh(u),h=Xh(h)),v=r(u,h)}return v}}function ec(r){return Er(function(s){return s=_t(s,gn(xe())),Be(function(u){var h=this;return r(s,function(v){return mn(v,h,u)})})})}function Sa(r,s){s=s===n?" ":_n(s);var u=s.length;if(u<2)return u?Gu(s,r):s;var h=Gu(s,pa(r/ts(s)));return es(s)?zr(Bn(h),0,r).join(""):h.slice(0,r)}function E1(r,s,u,h){var v=s&P,O=Zs(r);function D(){for(var F=-1,U=arguments.length,te=-1,ne=h.length,se=q(ne+U),he=this&&this!==Nt&&this instanceof D?O:r;++te<ne;)se[te]=h[te];for(;U--;)se[te++]=arguments[++F];return mn(he,v?u:this,se)}return D}function hp(r){return function(s,u,h){return h&&typeof h!="number"&&Qt(s,u,h)&&(u=h=n),s=Or(s),u===n?(u=s,s=0):u=Or(u),h=h===n?s<u?1:-1:Or(h),a1(s,u,h,r)}}function Ra(r){return function(s,u){return typeof s=="string"&&typeof u=="string"||(s=Dn(s),u=Dn(u)),r(s,u)}}function pp(r,s,u,h,v,O,D,F,U,te){var ne=s&A,se=ne?D:n,he=ne?n:D,Te=ne?O:n,Se=ne?n:O;s|=ne?x:I,s&=~(ne?I:x),s&T||(s&=~(P|w));var He=[r,s,v,Te,se,Se,he,F,U,te],Re=u.apply(n,He);return lc(r)&&xp(Re,He),Re.placeholder=h,Pp(Re,r,s)}function tc(r){var s=St[r];return function(u,h){if(u=Dn(u),h=h==null?0:Wt(Ue(h),292),h&&Ph(u)){var v=(tt(u)+"e").split("e"),O=s(v[0]+"e"+(+v[1]+h));return v=(tt(O)+"e").split("e"),+(v[0]+"e"+(+v[1]-h))}return s(u)}}var T1=is&&1/ia(new is([,-0]))[1]==K?function(r){return new is(r)}:Tc;function mp(r){return function(s){var u=jt(s);return u==H?Iu(s):u==X?Hw(s):$w(s,r(s))}}function wr(r,s,u,h,v,O,D,F){var U=s&w;if(!U&&typeof r!="function")throw new Rn(l);var te=h?h.length:0;if(te||(s&=~(x|I),h=v=n),D=D===n?D:Rt(Ue(D),0),F=F===n?F:Ue(F),te-=v?v.length:0,s&I){var ne=h,se=v;h=v=n}var he=U?n:ic(r),Te=[r,s,u,h,v,ne,se,O,D,F];if(he&&k1(Te,he),r=Te[0],s=Te[1],u=Te[2],h=Te[3],v=Te[4],F=Te[9]=Te[9]===n?U?0:r.length:Rt(Te[9]-te,0),!F&&s&(A|C)&&(s&=~(A|C)),!s||s==P)var Se=b1(r,s,u);else s==A||s==C?Se=w1(r,s,F):(s==x||s==(P|x))&&!v.length?Se=E1(r,s,u,h):Se=xa.apply(n,Te);var He=he?Yh:xp;return Pp(He(Se,Te),r,s)}function gp(r,s,u,h){return r===n||jn(r,rs[u])&&!it.call(h,u)?s:r}function _p(r,s,u,h,v,O){return yt(r)&&yt(s)&&(O.set(s,r),Ea(r,s,n,_p,O),O.delete(s)),r}function C1(r){return to(r)?n:r}function vp(r,s,u,h,v,O){var D=u&_,F=r.length,U=s.length;if(F!=U&&!(D&&U>F))return!1;var te=O.get(r),ne=O.get(s);if(te&&ne)return te==s&&ne==r;var se=-1,he=!0,Te=u&b?new wi:n;for(O.set(r,s),O.set(s,r);++se<F;){var Se=r[se],He=s[se];if(h)var Re=D?h(He,Se,se,s,r,O):h(Se,He,se,r,s,O);if(Re!==n){if(Re)continue;he=!1;break}if(Te){if(!Ou(s,function(je,Ge){if(!Bs(Te,Ge)&&(Se===je||v(Se,je,u,h,O)))return Te.push(Ge)})){he=!1;break}}else if(!(Se===He||v(Se,He,u,h,O))){he=!1;break}}return O.delete(r),O.delete(s),he}function O1(r,s,u,h,v,O,D){switch(u){case Ne:if(r.byteLength!=s.byteLength||r.byteOffset!=s.byteOffset)return!1;r=r.buffer,s=s.buffer;case We:return!(r.byteLength!=s.byteLength||!O(new ca(r),new ca(s)));case fe:case oe:case Q:return jn(+r,+s);case ke:return r.name==s.name&&r.message==s.message;case ue:case B:return r==s+"";case H:var F=Iu;case X:var U=h&_;if(F||(F=ia),r.size!=s.size&&!U)return!1;var te=D.get(r);if(te)return te==s;h|=b,D.set(r,s);var ne=vp(F(r),F(s),h,v,O,D);return D.delete(r),ne;case z:if(qs)return qs.call(r)==qs.call(s)}return!1}function x1(r,s,u,h,v,O){var D=u&_,F=nc(r),U=F.length,te=nc(s),ne=te.length;if(U!=ne&&!D)return!1;for(var se=U;se--;){var he=F[se];if(!(D?he in s:it.call(s,he)))return!1}var Te=O.get(r),Se=O.get(s);if(Te&&Se)return Te==s&&Se==r;var He=!0;O.set(r,s),O.set(s,r);for(var Re=D;++se<U;){he=F[se];var je=r[he],Ge=s[he];if(h)var yn=D?h(Ge,je,he,s,r,O):h(je,Ge,he,r,s,O);if(!(yn===n?je===Ge||v(je,Ge,u,h,O):yn)){He=!1;break}Re||(Re=he=="constructor")}if(He&&!Re){var Xt=r.constructor,bn=s.constructor;Xt!=bn&&"constructor"in r&&"constructor"in s&&!(typeof Xt=="function"&&Xt instanceof Xt&&typeof bn=="function"&&bn instanceof bn)&&(He=!1)}return O.delete(r),O.delete(s),He}function Er(r){return cc(Cp(r,n,Mp),r+"")}function nc(r){return kh(r,At,oc)}function rc(r){return kh(r,an,yp)}var ic=ga?function(r){return ga.get(r)}:Tc;function Aa(r){for(var s=r.name+"",u=ss[s],h=it.call(ss,s)?u.length:0;h--;){var v=u[h],O=v.func;if(O==null||O==r)return v.name}return s}function us(r){var s=it.call(E,"placeholder")?E:r;return s.placeholder}function xe(){var r=E.iteratee||wc;return r=r===wc?Bh:r,arguments.length?r(arguments[0],arguments[1]):r}function Ia(r,s){var u=r.__data__;return D1(s)?u[typeof s=="string"?"string":"hash"]:u.map}function sc(r){for(var s=At(r),u=s.length;u--;){var h=s[u],v=r[h];s[u]=[h,v,Ep(v)]}return s}function Ci(r,s){var u=Fw(r,s);return Hh(u)?u:n}function P1(r){var s=it.call(r,yi),u=r[yi];try{r[yi]=n;var h=!0}catch{}var v=la.call(r);return h&&(s?r[yi]=u:delete r[yi]),v}var oc=Mu?function(r){return r==null?[]:(r=lt(r),Fr(Mu(r),function(s){return Oh.call(r,s)}))}:Cc,yp=Mu?function(r){for(var s=[];r;)kr(s,oc(r)),r=fa(r);return s}:Cc,jt=Yt;(Du&&jt(new Du(new ArrayBuffer(1)))!=Ne||js&&jt(new js)!=H||Lu&&jt(Lu.resolve())!=de||is&&jt(new is)!=X||zs&&jt(new zs)!=ve)&&(jt=function(r){var s=Yt(r),u=s==ie?r.constructor:n,h=u?Oi(u):"";if(h)switch(h){case uE:return Ne;case cE:return H;case fE:return de;case dE:return X;case hE:return ve}return s});function S1(r,s,u){for(var h=-1,v=u.length;++h<v;){var O=u[h],D=O.size;switch(O.type){case"drop":r+=D;break;case"dropRight":s-=D;break;case"take":s=Wt(s,r+D);break;case"takeRight":r=Rt(r,s-D);break}}return{start:r,end:s}}function R1(r){var s=r.match(Lb);return s?s[1].split(Nb):[]}function bp(r,s,u){s=jr(s,r);for(var h=-1,v=s.length,O=!1;++h<v;){var D=or(s[h]);if(!(O=r!=null&&u(r,D)))break;r=r[D]}return O||++h!=v?O:(v=r==null?0:r.length,!!v&&ka(v)&&Tr(D,v)&&(De(r)||xi(r)))}function A1(r){var s=r.length,u=new r.constructor(s);return s&&typeof r[0]=="string"&&it.call(r,"index")&&(u.index=r.index,u.input=r.input),u}function wp(r){return typeof r.constructor=="function"&&!Js(r)?os(fa(r)):{}}function I1(r,s,u){var h=r.constructor;switch(s){case We:return Ju(r);case fe:case oe:return new h(+r);case Ne:return p1(r,u);case dt:case Bt:case rr:case Yi:case _r:case Qi:case Lt:case rn:case Xi:return rp(r,u);case H:return new h;case Q:case B:return new h(r);case ue:return m1(r);case X:return new h;case z:return g1(r)}}function $1(r,s){var u=s.length;if(!u)return r;var h=u-1;return s[h]=(u>1?"& ":"")+s[h],s=s.join(u>2?", ":" "),r.replace(Db,`{
|
|
38
|
+
/* [wrapped with `+s+`] */
|
|
39
|
+
`)}function M1(r){return De(r)||xi(r)||!!(xh&&r&&r[xh])}function Tr(r,s){var u=typeof r;return s=s??ae,!!s&&(u=="number"||u!="symbol"&&Vb.test(r))&&r>-1&&r%1==0&&r<s}function Qt(r,s,u){if(!yt(u))return!1;var h=typeof s;return(h=="number"?on(u)&&Tr(s,u.length):h=="string"&&s in u)?jn(u[s],r):!1}function ac(r,s){if(De(r))return!1;var u=typeof r;return u=="number"||u=="symbol"||u=="boolean"||r==null||vn(r)?!0:Ab.test(r)||!Rb.test(r)||s!=null&&r in lt(s)}function D1(r){var s=typeof r;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?r!=="__proto__":r===null}function lc(r){var s=Aa(r),u=E[s];if(typeof u!="function"||!(s in ze.prototype))return!1;if(r===u)return!0;var h=ic(u);return!!h&&r===h[0]}function L1(r){return!!Eh&&Eh in r}var N1=oa?Cr:Oc;function Js(r){var s=r&&r.constructor,u=typeof s=="function"&&s.prototype||rs;return r===u}function Ep(r){return r===r&&!yt(r)}function Tp(r,s){return function(u){return u==null?!1:u[r]===s&&(s!==n||r in lt(u))}}function F1(r){var s=Na(r,function(h){return u.size===d&&u.clear(),h}),u=s.cache;return s}function k1(r,s){var u=r[1],h=s[1],v=u|h,O=v<(P|w|R),D=h==R&&u==A||h==R&&u==S&&r[7].length<=s[8]||h==(R|S)&&s[7].length<=s[8]&&u==A;if(!(O||D))return r;h&P&&(r[2]=s[2],v|=u&P?0:T);var F=s[3];if(F){var U=r[3];r[3]=U?sp(U,F,s[4]):F,r[4]=U?Ur(r[3],m):s[4]}return F=s[5],F&&(U=r[5],r[5]=U?op(U,F,s[6]):F,r[6]=U?Ur(r[5],m):s[6]),F=s[7],F&&(r[7]=F),h&R&&(r[8]=r[8]==null?s[8]:Wt(r[8],s[8])),r[9]==null&&(r[9]=s[9]),r[0]=s[0],r[1]=v,r}function U1(r){var s=[];if(r!=null)for(var u in lt(r))s.push(u);return s}function H1(r){return la.call(r)}function Cp(r,s,u){return s=Rt(s===n?r.length-1:s,0),function(){for(var h=arguments,v=-1,O=Rt(h.length-s,0),D=q(O);++v<O;)D[v]=h[s+v];v=-1;for(var F=q(s+1);++v<s;)F[v]=h[v];return F[s]=u(D),mn(r,this,F)}}function Op(r,s){return s.length<2?r:Ti(r,$n(s,0,-1))}function B1(r,s){for(var u=r.length,h=Wt(s.length,u),v=sn(r);h--;){var O=s[h];r[h]=Tr(O,u)?v[O]:n}return r}function uc(r,s){if(!(s==="constructor"&&typeof r[s]=="function")&&s!="__proto__")return r[s]}var xp=Sp(Yh),eo=nE||function(r,s){return Nt.setTimeout(r,s)},cc=Sp(c1);function Pp(r,s,u){var h=s+"";return cc(r,$1(h,W1(R1(h),u)))}function Sp(r){var s=0,u=0;return function(){var h=oE(),v=V-(h-u);if(u=h,v>0){if(++s>=G)return arguments[0]}else s=0;return r.apply(n,arguments)}}function $a(r,s){var u=-1,h=r.length,v=h-1;for(s=s===n?h:s;++u<s;){var O=qu(u,v),D=r[O];r[O]=r[u],r[u]=D}return r.length=s,r}var Rp=F1(function(r){var s=[];return r.charCodeAt(0)===46&&s.push(""),r.replace(Ib,function(u,h,v,O){s.push(v?O.replace(Ub,"$1"):h||u)}),s});function or(r){if(typeof r=="string"||vn(r))return r;var s=r+"";return s=="0"&&1/r==-K?"-0":s}function Oi(r){if(r!=null){try{return aa.call(r)}catch{}try{return r+""}catch{}}return""}function W1(r,s){return Sn(Ke,function(u){var h="_."+u[0];s&u[1]&&!na(r,h)&&r.push(h)}),r.sort()}function Ap(r){if(r instanceof ze)return r.clone();var s=new An(r.__wrapped__,r.__chain__);return s.__actions__=sn(r.__actions__),s.__index__=r.__index__,s.__values__=r.__values__,s}function j1(r,s,u){(u?Qt(r,s,u):s===n)?s=1:s=Rt(Ue(s),0);var h=r==null?0:r.length;if(!h||s<1)return[];for(var v=0,O=0,D=q(pa(h/s));v<h;)D[O++]=$n(r,v,v+=s);return D}function z1(r){for(var s=-1,u=r==null?0:r.length,h=0,v=[];++s<u;){var O=r[s];O&&(v[h++]=O)}return v}function V1(){var r=arguments.length;if(!r)return[];for(var s=q(r-1),u=arguments[0],h=r;h--;)s[h-1]=arguments[h];return kr(De(u)?sn(u):[u],Ft(s,1))}var q1=Be(function(r,s){return Et(r)?Ks(r,Ft(s,1,Et,!0)):[]}),G1=Be(function(r,s){var u=Mn(s);return Et(u)&&(u=n),Et(r)?Ks(r,Ft(s,1,Et,!0),xe(u,2)):[]}),K1=Be(function(r,s){var u=Mn(s);return Et(u)&&(u=n),Et(r)?Ks(r,Ft(s,1,Et,!0),n,u):[]});function Y1(r,s,u){var h=r==null?0:r.length;return h?(s=u||s===n?1:Ue(s),$n(r,s<0?0:s,h)):[]}function Q1(r,s,u){var h=r==null?0:r.length;return h?(s=u||s===n?1:Ue(s),s=h-s,$n(r,0,s<0?0:s)):[]}function X1(r,s){return r&&r.length?Ca(r,xe(s,3),!0,!0):[]}function Z1(r,s){return r&&r.length?Ca(r,xe(s,3),!0):[]}function J1(r,s,u,h){var v=r==null?0:r.length;return v?(u&&typeof u!="number"&&Qt(r,s,u)&&(u=0,h=v),VE(r,s,u,h)):[]}function Ip(r,s,u){var h=r==null?0:r.length;if(!h)return-1;var v=u==null?0:Ue(u);return v<0&&(v=Rt(h+v,0)),ra(r,xe(s,3),v)}function $p(r,s,u){var h=r==null?0:r.length;if(!h)return-1;var v=h-1;return u!==n&&(v=Ue(u),v=u<0?Rt(h+v,0):Wt(v,h-1)),ra(r,xe(s,3),v,!0)}function Mp(r){var s=r==null?0:r.length;return s?Ft(r,1):[]}function eT(r){var s=r==null?0:r.length;return s?Ft(r,K):[]}function tT(r,s){var u=r==null?0:r.length;return u?(s=s===n?1:Ue(s),Ft(r,s)):[]}function nT(r){for(var s=-1,u=r==null?0:r.length,h={};++s<u;){var v=r[s];h[v[0]]=v[1]}return h}function Dp(r){return r&&r.length?r[0]:n}function rT(r,s,u){var h=r==null?0:r.length;if(!h)return-1;var v=u==null?0:Ue(u);return v<0&&(v=Rt(h+v,0)),Ji(r,s,v)}function iT(r){var s=r==null?0:r.length;return s?$n(r,0,-1):[]}var sT=Be(function(r){var s=_t(r,Xu);return s.length&&s[0]===r[0]?Bu(s):[]}),oT=Be(function(r){var s=Mn(r),u=_t(r,Xu);return s===Mn(u)?s=n:u.pop(),u.length&&u[0]===r[0]?Bu(u,xe(s,2)):[]}),aT=Be(function(r){var s=Mn(r),u=_t(r,Xu);return s=typeof s=="function"?s:n,s&&u.pop(),u.length&&u[0]===r[0]?Bu(u,n,s):[]});function lT(r,s){return r==null?"":iE.call(r,s)}function Mn(r){var s=r==null?0:r.length;return s?r[s-1]:n}function uT(r,s,u){var h=r==null?0:r.length;if(!h)return-1;var v=h;return u!==n&&(v=Ue(u),v=v<0?Rt(h+v,0):Wt(v,h-1)),s===s?Ww(r,s,v):ra(r,ph,v,!0)}function cT(r,s){return r&&r.length?Vh(r,Ue(s)):n}var fT=Be(Lp);function Lp(r,s){return r&&r.length&&s&&s.length?Vu(r,s):r}function dT(r,s,u){return r&&r.length&&s&&s.length?Vu(r,s,xe(u,2)):r}function hT(r,s,u){return r&&r.length&&s&&s.length?Vu(r,s,n,u):r}var pT=Er(function(r,s){var u=r==null?0:r.length,h=Fu(r,s);return Kh(r,_t(s,function(v){return Tr(v,u)?+v:v}).sort(ip)),h});function mT(r,s){var u=[];if(!(r&&r.length))return u;var h=-1,v=[],O=r.length;for(s=xe(s,3);++h<O;){var D=r[h];s(D,h,r)&&(u.push(D),v.push(h))}return Kh(r,v),u}function fc(r){return r==null?r:lE.call(r)}function gT(r,s,u){var h=r==null?0:r.length;return h?(u&&typeof u!="number"&&Qt(r,s,u)?(s=0,u=h):(s=s==null?0:Ue(s),u=u===n?h:Ue(u)),$n(r,s,u)):[]}function _T(r,s){return Ta(r,s)}function vT(r,s,u){return Ku(r,s,xe(u,2))}function yT(r,s){var u=r==null?0:r.length;if(u){var h=Ta(r,s);if(h<u&&jn(r[h],s))return h}return-1}function bT(r,s){return Ta(r,s,!0)}function wT(r,s,u){return Ku(r,s,xe(u,2),!0)}function ET(r,s){var u=r==null?0:r.length;if(u){var h=Ta(r,s,!0)-1;if(jn(r[h],s))return h}return-1}function TT(r){return r&&r.length?Qh(r):[]}function CT(r,s){return r&&r.length?Qh(r,xe(s,2)):[]}function OT(r){var s=r==null?0:r.length;return s?$n(r,1,s):[]}function xT(r,s,u){return r&&r.length?(s=u||s===n?1:Ue(s),$n(r,0,s<0?0:s)):[]}function PT(r,s,u){var h=r==null?0:r.length;return h?(s=u||s===n?1:Ue(s),s=h-s,$n(r,s<0?0:s,h)):[]}function ST(r,s){return r&&r.length?Ca(r,xe(s,3),!1,!0):[]}function RT(r,s){return r&&r.length?Ca(r,xe(s,3)):[]}var AT=Be(function(r){return Wr(Ft(r,1,Et,!0))}),IT=Be(function(r){var s=Mn(r);return Et(s)&&(s=n),Wr(Ft(r,1,Et,!0),xe(s,2))}),$T=Be(function(r){var s=Mn(r);return s=typeof s=="function"?s:n,Wr(Ft(r,1,Et,!0),n,s)});function MT(r){return r&&r.length?Wr(r):[]}function DT(r,s){return r&&r.length?Wr(r,xe(s,2)):[]}function LT(r,s){return s=typeof s=="function"?s:n,r&&r.length?Wr(r,n,s):[]}function dc(r){if(!(r&&r.length))return[];var s=0;return r=Fr(r,function(u){if(Et(u))return s=Rt(u.length,s),!0}),Ru(s,function(u){return _t(r,xu(u))})}function Np(r,s){if(!(r&&r.length))return[];var u=dc(r);return s==null?u:_t(u,function(h){return mn(s,n,h)})}var NT=Be(function(r,s){return Et(r)?Ks(r,s):[]}),FT=Be(function(r){return Qu(Fr(r,Et))}),kT=Be(function(r){var s=Mn(r);return Et(s)&&(s=n),Qu(Fr(r,Et),xe(s,2))}),UT=Be(function(r){var s=Mn(r);return s=typeof s=="function"?s:n,Qu(Fr(r,Et),n,s)}),HT=Be(dc);function BT(r,s){return ep(r||[],s||[],Gs)}function WT(r,s){return ep(r||[],s||[],Xs)}var jT=Be(function(r){var s=r.length,u=s>1?r[s-1]:n;return u=typeof u=="function"?(r.pop(),u):n,Np(r,u)});function Fp(r){var s=E(r);return s.__chain__=!0,s}function zT(r,s){return s(r),r}function Ma(r,s){return s(r)}var VT=Er(function(r){var s=r.length,u=s?r[0]:0,h=this.__wrapped__,v=function(O){return Fu(O,r)};return s>1||this.__actions__.length||!(h instanceof ze)||!Tr(u)?this.thru(v):(h=h.slice(u,+u+(s?1:0)),h.__actions__.push({func:Ma,args:[v],thisArg:n}),new An(h,this.__chain__).thru(function(O){return s&&!O.length&&O.push(n),O}))});function qT(){return Fp(this)}function GT(){return new An(this.value(),this.__chain__)}function KT(){this.__values__===n&&(this.__values__=Xp(this.value()));var r=this.__index__>=this.__values__.length,s=r?n:this.__values__[this.__index__++];return{done:r,value:s}}function YT(){return this}function QT(r){for(var s,u=this;u instanceof va;){var h=Ap(u);h.__index__=0,h.__values__=n,s?v.__wrapped__=h:s=h;var v=h;u=u.__wrapped__}return v.__wrapped__=r,s}function XT(){var r=this.__wrapped__;if(r instanceof ze){var s=r;return this.__actions__.length&&(s=new ze(this)),s=s.reverse(),s.__actions__.push({func:Ma,args:[fc],thisArg:n}),new An(s,this.__chain__)}return this.thru(fc)}function ZT(){return Jh(this.__wrapped__,this.__actions__)}var JT=Oa(function(r,s,u){it.call(r,u)?++r[u]:br(r,u,1)});function eC(r,s,u){var h=De(r)?dh:zE;return u&&Qt(r,s,u)&&(s=n),h(r,xe(s,3))}function tC(r,s){var u=De(r)?Fr:Nh;return u(r,xe(s,3))}var nC=cp(Ip),rC=cp($p);function iC(r,s){return Ft(Da(r,s),1)}function sC(r,s){return Ft(Da(r,s),K)}function oC(r,s,u){return u=u===n?1:Ue(u),Ft(Da(r,s),u)}function kp(r,s){var u=De(r)?Sn:Br;return u(r,xe(s,3))}function Up(r,s){var u=De(r)?Ow:Lh;return u(r,xe(s,3))}var aC=Oa(function(r,s,u){it.call(r,u)?r[u].push(s):br(r,u,[s])});function lC(r,s,u,h){r=on(r)?r:fs(r),u=u&&!h?Ue(u):0;var v=r.length;return u<0&&(u=Rt(v+u,0)),Ua(r)?u<=v&&r.indexOf(s,u)>-1:!!v&&Ji(r,s,u)>-1}var uC=Be(function(r,s,u){var h=-1,v=typeof s=="function",O=on(r)?q(r.length):[];return Br(r,function(D){O[++h]=v?mn(s,D,u):Ys(D,s,u)}),O}),cC=Oa(function(r,s,u){br(r,u,s)});function Da(r,s){var u=De(r)?_t:Wh;return u(r,xe(s,3))}function fC(r,s,u,h){return r==null?[]:(De(s)||(s=s==null?[]:[s]),u=h?n:u,De(u)||(u=u==null?[]:[u]),qh(r,s,u))}var dC=Oa(function(r,s,u){r[u?0:1].push(s)},function(){return[[],[]]});function hC(r,s,u){var h=De(r)?Cu:gh,v=arguments.length<3;return h(r,xe(s,4),u,v,Br)}function pC(r,s,u){var h=De(r)?xw:gh,v=arguments.length<3;return h(r,xe(s,4),u,v,Lh)}function mC(r,s){var u=De(r)?Fr:Nh;return u(r,Fa(xe(s,3)))}function gC(r){var s=De(r)?Ih:l1;return s(r)}function _C(r,s,u){(u?Qt(r,s,u):s===n)?s=1:s=Ue(s);var h=De(r)?UE:u1;return h(r,s)}function vC(r){var s=De(r)?HE:f1;return s(r)}function yC(r){if(r==null)return 0;if(on(r))return Ua(r)?ts(r):r.length;var s=jt(r);return s==H||s==X?r.size:ju(r).length}function bC(r,s,u){var h=De(r)?Ou:d1;return u&&Qt(r,s,u)&&(s=n),h(r,xe(s,3))}var wC=Be(function(r,s){if(r==null)return[];var u=s.length;return u>1&&Qt(r,s[0],s[1])?s=[]:u>2&&Qt(s[0],s[1],s[2])&&(s=[s[0]]),qh(r,Ft(s,1),[])}),La=tE||function(){return Nt.Date.now()};function EC(r,s){if(typeof s!="function")throw new Rn(l);return r=Ue(r),function(){if(--r<1)return s.apply(this,arguments)}}function Hp(r,s,u){return s=u?n:s,s=r&&s==null?r.length:s,wr(r,R,n,n,n,n,s)}function Bp(r,s){var u;if(typeof s!="function")throw new Rn(l);return r=Ue(r),function(){return--r>0&&(u=s.apply(this,arguments)),r<=1&&(s=n),u}}var hc=Be(function(r,s,u){var h=P;if(u.length){var v=Ur(u,us(hc));h|=x}return wr(r,h,s,u,v)}),Wp=Be(function(r,s,u){var h=P|w;if(u.length){var v=Ur(u,us(Wp));h|=x}return wr(s,h,r,u,v)});function jp(r,s,u){s=u?n:s;var h=wr(r,A,n,n,n,n,n,s);return h.placeholder=jp.placeholder,h}function zp(r,s,u){s=u?n:s;var h=wr(r,C,n,n,n,n,n,s);return h.placeholder=zp.placeholder,h}function Vp(r,s,u){var h,v,O,D,F,U,te=0,ne=!1,se=!1,he=!0;if(typeof r!="function")throw new Rn(l);s=Dn(s)||0,yt(u)&&(ne=!!u.leading,se="maxWait"in u,O=se?Rt(Dn(u.maxWait)||0,s):O,he="trailing"in u?!!u.trailing:he);function Te(Tt){var zn=h,xr=v;return h=v=n,te=Tt,D=r.apply(xr,zn),D}function Se(Tt){return te=Tt,F=eo(je,s),ne?Te(Tt):D}function He(Tt){var zn=Tt-U,xr=Tt-te,cm=s-zn;return se?Wt(cm,O-xr):cm}function Re(Tt){var zn=Tt-U,xr=Tt-te;return U===n||zn>=s||zn<0||se&&xr>=O}function je(){var Tt=La();if(Re(Tt))return Ge(Tt);F=eo(je,He(Tt))}function Ge(Tt){return F=n,he&&h?Te(Tt):(h=v=n,D)}function yn(){F!==n&&tp(F),te=0,h=U=v=F=n}function Xt(){return F===n?D:Ge(La())}function bn(){var Tt=La(),zn=Re(Tt);if(h=arguments,v=this,U=Tt,zn){if(F===n)return Se(U);if(se)return tp(F),F=eo(je,s),Te(U)}return F===n&&(F=eo(je,s)),D}return bn.cancel=yn,bn.flush=Xt,bn}var TC=Be(function(r,s){return Dh(r,1,s)}),CC=Be(function(r,s,u){return Dh(r,Dn(s)||0,u)});function OC(r){return wr(r,$)}function Na(r,s){if(typeof r!="function"||s!=null&&typeof s!="function")throw new Rn(l);var u=function(){var h=arguments,v=s?s.apply(this,h):h[0],O=u.cache;if(O.has(v))return O.get(v);var D=r.apply(this,h);return u.cache=O.set(v,D)||O,D};return u.cache=new(Na.Cache||yr),u}Na.Cache=yr;function Fa(r){if(typeof r!="function")throw new Rn(l);return function(){var s=arguments;switch(s.length){case 0:return!r.call(this);case 1:return!r.call(this,s[0]);case 2:return!r.call(this,s[0],s[1]);case 3:return!r.call(this,s[0],s[1],s[2])}return!r.apply(this,s)}}function xC(r){return Bp(2,r)}var PC=h1(function(r,s){s=s.length==1&&De(s[0])?_t(s[0],gn(xe())):_t(Ft(s,1),gn(xe()));var u=s.length;return Be(function(h){for(var v=-1,O=Wt(h.length,u);++v<O;)h[v]=s[v].call(this,h[v]);return mn(r,this,h)})}),pc=Be(function(r,s){var u=Ur(s,us(pc));return wr(r,x,n,s,u)}),qp=Be(function(r,s){var u=Ur(s,us(qp));return wr(r,I,n,s,u)}),SC=Er(function(r,s){return wr(r,S,n,n,n,s)});function RC(r,s){if(typeof r!="function")throw new Rn(l);return s=s===n?s:Ue(s),Be(r,s)}function AC(r,s){if(typeof r!="function")throw new Rn(l);return s=s==null?0:Rt(Ue(s),0),Be(function(u){var h=u[s],v=zr(u,0,s);return h&&kr(v,h),mn(r,this,v)})}function IC(r,s,u){var h=!0,v=!0;if(typeof r!="function")throw new Rn(l);return yt(u)&&(h="leading"in u?!!u.leading:h,v="trailing"in u?!!u.trailing:v),Vp(r,s,{leading:h,maxWait:s,trailing:v})}function $C(r){return Hp(r,1)}function MC(r,s){return pc(Zu(s),r)}function DC(){if(!arguments.length)return[];var r=arguments[0];return De(r)?r:[r]}function LC(r){return In(r,y)}function NC(r,s){return s=typeof s=="function"?s:n,In(r,y,s)}function FC(r){return In(r,p|y)}function kC(r,s){return s=typeof s=="function"?s:n,In(r,p|y,s)}function UC(r,s){return s==null||Mh(r,s,At(s))}function jn(r,s){return r===s||r!==r&&s!==s}var HC=Ra(Hu),BC=Ra(function(r,s){return r>=s}),xi=Uh(function(){return arguments}())?Uh:function(r){return bt(r)&&it.call(r,"callee")&&!Oh.call(r,"callee")},De=q.isArray,WC=oh?gn(oh):QE;function on(r){return r!=null&&ka(r.length)&&!Cr(r)}function Et(r){return bt(r)&&on(r)}function jC(r){return r===!0||r===!1||bt(r)&&Yt(r)==fe}var Vr=rE||Oc,zC=ah?gn(ah):XE;function VC(r){return bt(r)&&r.nodeType===1&&!to(r)}function qC(r){if(r==null)return!0;if(on(r)&&(De(r)||typeof r=="string"||typeof r.splice=="function"||Vr(r)||cs(r)||xi(r)))return!r.length;var s=jt(r);if(s==H||s==X)return!r.size;if(Js(r))return!ju(r).length;for(var u in r)if(it.call(r,u))return!1;return!0}function GC(r,s){return Qs(r,s)}function KC(r,s,u){u=typeof u=="function"?u:n;var h=u?u(r,s):n;return h===n?Qs(r,s,n,u):!!h}function mc(r){if(!bt(r))return!1;var s=Yt(r);return s==ke||s==pe||typeof r.message=="string"&&typeof r.name=="string"&&!to(r)}function YC(r){return typeof r=="number"&&Ph(r)}function Cr(r){if(!yt(r))return!1;var s=Yt(r);return s==M||s==N||s==J||s==le}function Gp(r){return typeof r=="number"&&r==Ue(r)}function ka(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=ae}function yt(r){var s=typeof r;return r!=null&&(s=="object"||s=="function")}function bt(r){return r!=null&&typeof r=="object"}var Kp=lh?gn(lh):JE;function QC(r,s){return r===s||Wu(r,s,sc(s))}function XC(r,s,u){return u=typeof u=="function"?u:n,Wu(r,s,sc(s),u)}function ZC(r){return Yp(r)&&r!=+r}function JC(r){if(N1(r))throw new Me(a);return Hh(r)}function eO(r){return r===null}function tO(r){return r==null}function Yp(r){return typeof r=="number"||bt(r)&&Yt(r)==Q}function to(r){if(!bt(r)||Yt(r)!=ie)return!1;var s=fa(r);if(s===null)return!0;var u=it.call(s,"constructor")&&s.constructor;return typeof u=="function"&&u instanceof u&&aa.call(u)==Xw}var gc=uh?gn(uh):e1;function nO(r){return Gp(r)&&r>=-ae&&r<=ae}var Qp=ch?gn(ch):t1;function Ua(r){return typeof r=="string"||!De(r)&&bt(r)&&Yt(r)==B}function vn(r){return typeof r=="symbol"||bt(r)&&Yt(r)==z}var cs=fh?gn(fh):n1;function rO(r){return r===n}function iO(r){return bt(r)&&jt(r)==ve}function sO(r){return bt(r)&&Yt(r)==Le}var oO=Ra(zu),aO=Ra(function(r,s){return r<=s});function Xp(r){if(!r)return[];if(on(r))return Ua(r)?Bn(r):sn(r);if(Ws&&r[Ws])return Uw(r[Ws]());var s=jt(r),u=s==H?Iu:s==X?ia:fs;return u(r)}function Or(r){if(!r)return r===0?r:0;if(r=Dn(r),r===K||r===-K){var s=r<0?-1:1;return s*be}return r===r?r:0}function Ue(r){var s=Or(r),u=s%1;return s===s?u?s-u:s:0}function Zp(r){return r?Ei(Ue(r),0,Ae):0}function Dn(r){if(typeof r=="number")return r;if(vn(r))return Pe;if(yt(r)){var s=typeof r.valueOf=="function"?r.valueOf():r;r=yt(s)?s+"":s}if(typeof r!="string")return r===0?r:+r;r=_h(r);var u=Wb.test(r);return u||zb.test(r)?Ew(r.slice(2),u?2:8):Bb.test(r)?Pe:+r}function Jp(r){return sr(r,an(r))}function lO(r){return r?Ei(Ue(r),-ae,ae):r===0?r:0}function tt(r){return r==null?"":_n(r)}var uO=as(function(r,s){if(Js(s)||on(s)){sr(s,At(s),r);return}for(var u in s)it.call(s,u)&&Gs(r,u,s[u])}),em=as(function(r,s){sr(s,an(s),r)}),Ha=as(function(r,s,u,h){sr(s,an(s),r,h)}),cO=as(function(r,s,u,h){sr(s,At(s),r,h)}),fO=Er(Fu);function dO(r,s){var u=os(r);return s==null?u:$h(u,s)}var hO=Be(function(r,s){r=lt(r);var u=-1,h=s.length,v=h>2?s[2]:n;for(v&&Qt(s[0],s[1],v)&&(h=1);++u<h;)for(var O=s[u],D=an(O),F=-1,U=D.length;++F<U;){var te=D[F],ne=r[te];(ne===n||jn(ne,rs[te])&&!it.call(r,te))&&(r[te]=O[te])}return r}),pO=Be(function(r){return r.push(n,_p),mn(tm,n,r)});function mO(r,s){return hh(r,xe(s,3),ir)}function gO(r,s){return hh(r,xe(s,3),Uu)}function _O(r,s){return r==null?r:ku(r,xe(s,3),an)}function vO(r,s){return r==null?r:Fh(r,xe(s,3),an)}function yO(r,s){return r&&ir(r,xe(s,3))}function bO(r,s){return r&&Uu(r,xe(s,3))}function wO(r){return r==null?[]:wa(r,At(r))}function EO(r){return r==null?[]:wa(r,an(r))}function _c(r,s,u){var h=r==null?n:Ti(r,s);return h===n?u:h}function TO(r,s){return r!=null&&bp(r,s,qE)}function vc(r,s){return r!=null&&bp(r,s,GE)}var CO=dp(function(r,s,u){s!=null&&typeof s.toString!="function"&&(s=la.call(s)),r[s]=u},bc(ln)),OO=dp(function(r,s,u){s!=null&&typeof s.toString!="function"&&(s=la.call(s)),it.call(r,s)?r[s].push(u):r[s]=[u]},xe),xO=Be(Ys);function At(r){return on(r)?Ah(r):ju(r)}function an(r){return on(r)?Ah(r,!0):r1(r)}function PO(r,s){var u={};return s=xe(s,3),ir(r,function(h,v,O){br(u,s(h,v,O),h)}),u}function SO(r,s){var u={};return s=xe(s,3),ir(r,function(h,v,O){br(u,v,s(h,v,O))}),u}var RO=as(function(r,s,u){Ea(r,s,u)}),tm=as(function(r,s,u,h){Ea(r,s,u,h)}),AO=Er(function(r,s){var u={};if(r==null)return u;var h=!1;s=_t(s,function(O){return O=jr(O,r),h||(h=O.length>1),O}),sr(r,rc(r),u),h&&(u=In(u,p|g|y,C1));for(var v=s.length;v--;)Yu(u,s[v]);return u});function IO(r,s){return nm(r,Fa(xe(s)))}var $O=Er(function(r,s){return r==null?{}:s1(r,s)});function nm(r,s){if(r==null)return{};var u=_t(rc(r),function(h){return[h]});return s=xe(s),Gh(r,u,function(h,v){return s(h,v[0])})}function MO(r,s,u){s=jr(s,r);var h=-1,v=s.length;for(v||(v=1,r=n);++h<v;){var O=r==null?n:r[or(s[h])];O===n&&(h=v,O=u),r=Cr(O)?O.call(r):O}return r}function DO(r,s,u){return r==null?r:Xs(r,s,u)}function LO(r,s,u,h){return h=typeof h=="function"?h:n,r==null?r:Xs(r,s,u,h)}var rm=mp(At),im=mp(an);function NO(r,s,u){var h=De(r),v=h||Vr(r)||cs(r);if(s=xe(s,4),u==null){var O=r&&r.constructor;v?u=h?new O:[]:yt(r)?u=Cr(O)?os(fa(r)):{}:u={}}return(v?Sn:ir)(r,function(D,F,U){return s(u,D,F,U)}),u}function FO(r,s){return r==null?!0:Yu(r,s)}function kO(r,s,u){return r==null?r:Zh(r,s,Zu(u))}function UO(r,s,u,h){return h=typeof h=="function"?h:n,r==null?r:Zh(r,s,Zu(u),h)}function fs(r){return r==null?[]:Au(r,At(r))}function HO(r){return r==null?[]:Au(r,an(r))}function BO(r,s,u){return u===n&&(u=s,s=n),u!==n&&(u=Dn(u),u=u===u?u:0),s!==n&&(s=Dn(s),s=s===s?s:0),Ei(Dn(r),s,u)}function WO(r,s,u){return s=Or(s),u===n?(u=s,s=0):u=Or(u),r=Dn(r),KE(r,s,u)}function jO(r,s,u){if(u&&typeof u!="boolean"&&Qt(r,s,u)&&(s=u=n),u===n&&(typeof s=="boolean"?(u=s,s=n):typeof r=="boolean"&&(u=r,r=n)),r===n&&s===n?(r=0,s=1):(r=Or(r),s===n?(s=r,r=0):s=Or(s)),r>s){var h=r;r=s,s=h}if(u||r%1||s%1){var v=Sh();return Wt(r+v*(s-r+ww("1e-"+((v+"").length-1))),s)}return qu(r,s)}var zO=ls(function(r,s,u){return s=s.toLowerCase(),r+(u?sm(s):s)});function sm(r){return yc(tt(r).toLowerCase())}function om(r){return r=tt(r),r&&r.replace(qb,Dw).replace(fw,"")}function VO(r,s,u){r=tt(r),s=_n(s);var h=r.length;u=u===n?h:Ei(Ue(u),0,h);var v=u;return u-=s.length,u>=0&&r.slice(u,v)==s}function qO(r){return r=tt(r),r&&xb.test(r)?r.replace(Fd,Lw):r}function GO(r){return r=tt(r),r&&$b.test(r)?r.replace(pu,"\\$&"):r}var KO=ls(function(r,s,u){return r+(u?"-":"")+s.toLowerCase()}),YO=ls(function(r,s,u){return r+(u?" ":"")+s.toLowerCase()}),QO=up("toLowerCase");function XO(r,s,u){r=tt(r),s=Ue(s);var h=s?ts(r):0;if(!s||h>=s)return r;var v=(s-h)/2;return Sa(ma(v),u)+r+Sa(pa(v),u)}function ZO(r,s,u){r=tt(r),s=Ue(s);var h=s?ts(r):0;return s&&h<s?r+Sa(s-h,u):r}function JO(r,s,u){r=tt(r),s=Ue(s);var h=s?ts(r):0;return s&&h<s?Sa(s-h,u)+r:r}function ex(r,s,u){return u||s==null?s=0:s&&(s=+s),aE(tt(r).replace(mu,""),s||0)}function tx(r,s,u){return(u?Qt(r,s,u):s===n)?s=1:s=Ue(s),Gu(tt(r),s)}function nx(){var r=arguments,s=tt(r[0]);return r.length<3?s:s.replace(r[1],r[2])}var rx=ls(function(r,s,u){return r+(u?"_":"")+s.toLowerCase()});function ix(r,s,u){return u&&typeof u!="number"&&Qt(r,s,u)&&(s=u=n),u=u===n?Ae:u>>>0,u?(r=tt(r),r&&(typeof s=="string"||s!=null&&!gc(s))&&(s=_n(s),!s&&es(r))?zr(Bn(r),0,u):r.split(s,u)):[]}var sx=ls(function(r,s,u){return r+(u?" ":"")+yc(s)});function ox(r,s,u){return r=tt(r),u=u==null?0:Ei(Ue(u),0,r.length),s=_n(s),r.slice(u,u+s.length)==s}function ax(r,s,u){var h=E.templateSettings;u&&Qt(r,s,u)&&(s=n),r=tt(r),s=Ha({},s,h,gp);var v=Ha({},s.imports,h.imports,gp),O=At(v),D=Au(v,O),F,U,te=0,ne=s.interpolate||Jo,se="__p += '",he=$u((s.escape||Jo).source+"|"+ne.source+"|"+(ne===kd?Hb:Jo).source+"|"+(s.evaluate||Jo).source+"|$","g"),Te="//# sourceURL="+(it.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++gw+"]")+`
|
|
40
|
+
`;r.replace(he,function(Re,je,Ge,yn,Xt,bn){return Ge||(Ge=yn),se+=r.slice(te,bn).replace(Gb,Nw),je&&(F=!0,se+=`' +
|
|
41
|
+
__e(`+je+`) +
|
|
42
|
+
'`),Xt&&(U=!0,se+=`';
|
|
43
|
+
`+Xt+`;
|
|
44
|
+
__p += '`),Ge&&(se+=`' +
|
|
45
|
+
((__t = (`+Ge+`)) == null ? '' : __t) +
|
|
46
|
+
'`),te=bn+Re.length,Re}),se+=`';
|
|
47
|
+
`;var Se=it.call(s,"variable")&&s.variable;if(!Se)se=`with (obj) {
|
|
48
|
+
`+se+`
|
|
49
|
+
}
|
|
50
|
+
`;else if(kb.test(Se))throw new Me(c);se=(U?se.replace(Eb,""):se).replace(Tb,"$1").replace(Cb,"$1;"),se="function("+(Se||"obj")+`) {
|
|
51
|
+
`+(Se?"":`obj || (obj = {});
|
|
52
|
+
`)+"var __t, __p = ''"+(F?", __e = _.escape":"")+(U?`, __j = Array.prototype.join;
|
|
53
|
+
function print() { __p += __j.call(arguments, '') }
|
|
54
|
+
`:`;
|
|
55
|
+
`)+se+`return __p
|
|
56
|
+
}`;var He=lm(function(){return Ze(O,Te+"return "+se).apply(n,D)});if(He.source=se,mc(He))throw He;return He}function lx(r){return tt(r).toLowerCase()}function ux(r){return tt(r).toUpperCase()}function cx(r,s,u){if(r=tt(r),r&&(u||s===n))return _h(r);if(!r||!(s=_n(s)))return r;var h=Bn(r),v=Bn(s),O=vh(h,v),D=yh(h,v)+1;return zr(h,O,D).join("")}function fx(r,s,u){if(r=tt(r),r&&(u||s===n))return r.slice(0,wh(r)+1);if(!r||!(s=_n(s)))return r;var h=Bn(r),v=yh(h,Bn(s))+1;return zr(h,0,v).join("")}function dx(r,s,u){if(r=tt(r),r&&(u||s===n))return r.replace(mu,"");if(!r||!(s=_n(s)))return r;var h=Bn(r),v=vh(h,Bn(s));return zr(h,v).join("")}function hx(r,s){var u=L,h=W;if(yt(s)){var v="separator"in s?s.separator:v;u="length"in s?Ue(s.length):u,h="omission"in s?_n(s.omission):h}r=tt(r);var O=r.length;if(es(r)){var D=Bn(r);O=D.length}if(u>=O)return r;var F=u-ts(h);if(F<1)return h;var U=D?zr(D,0,F).join(""):r.slice(0,F);if(v===n)return U+h;if(D&&(F+=U.length-F),gc(v)){if(r.slice(F).search(v)){var te,ne=U;for(v.global||(v=$u(v.source,tt(Ud.exec(v))+"g")),v.lastIndex=0;te=v.exec(ne);)var se=te.index;U=U.slice(0,se===n?F:se)}}else if(r.indexOf(_n(v),F)!=F){var he=U.lastIndexOf(v);he>-1&&(U=U.slice(0,he))}return U+h}function px(r){return r=tt(r),r&&Ob.test(r)?r.replace(Nd,jw):r}var mx=ls(function(r,s,u){return r+(u?" ":"")+s.toUpperCase()}),yc=up("toUpperCase");function am(r,s,u){return r=tt(r),s=u?n:s,s===n?kw(r)?qw(r):Rw(r):r.match(s)||[]}var lm=Be(function(r,s){try{return mn(r,n,s)}catch(u){return mc(u)?u:new Me(u)}}),gx=Er(function(r,s){return Sn(s,function(u){u=or(u),br(r,u,hc(r[u],r))}),r});function _x(r){var s=r==null?0:r.length,u=xe();return r=s?_t(r,function(h){if(typeof h[1]!="function")throw new Rn(l);return[u(h[0]),h[1]]}):[],Be(function(h){for(var v=-1;++v<s;){var O=r[v];if(mn(O[0],this,h))return mn(O[1],this,h)}})}function vx(r){return jE(In(r,p))}function bc(r){return function(){return r}}function yx(r,s){return r==null||r!==r?s:r}var bx=fp(),wx=fp(!0);function ln(r){return r}function wc(r){return Bh(typeof r=="function"?r:In(r,p))}function Ex(r){return jh(In(r,p))}function Tx(r,s){return zh(r,In(s,p))}var Cx=Be(function(r,s){return function(u){return Ys(u,r,s)}}),Ox=Be(function(r,s){return function(u){return Ys(r,u,s)}});function Ec(r,s,u){var h=At(s),v=wa(s,h);u==null&&!(yt(s)&&(v.length||!h.length))&&(u=s,s=r,r=this,v=wa(s,At(s)));var O=!(yt(u)&&"chain"in u)||!!u.chain,D=Cr(r);return Sn(v,function(F){var U=s[F];r[F]=U,D&&(r.prototype[F]=function(){var te=this.__chain__;if(O||te){var ne=r(this.__wrapped__),se=ne.__actions__=sn(this.__actions__);return se.push({func:U,args:arguments,thisArg:r}),ne.__chain__=te,ne}return U.apply(r,kr([this.value()],arguments))})}),r}function xx(){return Nt._===this&&(Nt._=Zw),this}function Tc(){}function Px(r){return r=Ue(r),Be(function(s){return Vh(s,r)})}var Sx=ec(_t),Rx=ec(dh),Ax=ec(Ou);function um(r){return ac(r)?xu(or(r)):o1(r)}function Ix(r){return function(s){return r==null?n:Ti(r,s)}}var $x=hp(),Mx=hp(!0);function Cc(){return[]}function Oc(){return!1}function Dx(){return{}}function Lx(){return""}function Nx(){return!0}function Fx(r,s){if(r=Ue(r),r<1||r>ae)return[];var u=Ae,h=Wt(r,Ae);s=xe(s),r-=Ae;for(var v=Ru(h,s);++u<r;)s(u);return v}function kx(r){return De(r)?_t(r,or):vn(r)?[r]:sn(Rp(tt(r)))}function Ux(r){var s=++Qw;return tt(r)+s}var Hx=Pa(function(r,s){return r+s},0),Bx=tc("ceil"),Wx=Pa(function(r,s){return r/s},1),jx=tc("floor");function zx(r){return r&&r.length?ba(r,ln,Hu):n}function Vx(r,s){return r&&r.length?ba(r,xe(s,2),Hu):n}function qx(r){return mh(r,ln)}function Gx(r,s){return mh(r,xe(s,2))}function Kx(r){return r&&r.length?ba(r,ln,zu):n}function Yx(r,s){return r&&r.length?ba(r,xe(s,2),zu):n}var Qx=Pa(function(r,s){return r*s},1),Xx=tc("round"),Zx=Pa(function(r,s){return r-s},0);function Jx(r){return r&&r.length?Su(r,ln):0}function eP(r,s){return r&&r.length?Su(r,xe(s,2)):0}return E.after=EC,E.ary=Hp,E.assign=uO,E.assignIn=em,E.assignInWith=Ha,E.assignWith=cO,E.at=fO,E.before=Bp,E.bind=hc,E.bindAll=gx,E.bindKey=Wp,E.castArray=DC,E.chain=Fp,E.chunk=j1,E.compact=z1,E.concat=V1,E.cond=_x,E.conforms=vx,E.constant=bc,E.countBy=JT,E.create=dO,E.curry=jp,E.curryRight=zp,E.debounce=Vp,E.defaults=hO,E.defaultsDeep=pO,E.defer=TC,E.delay=CC,E.difference=q1,E.differenceBy=G1,E.differenceWith=K1,E.drop=Y1,E.dropRight=Q1,E.dropRightWhile=X1,E.dropWhile=Z1,E.fill=J1,E.filter=tC,E.flatMap=iC,E.flatMapDeep=sC,E.flatMapDepth=oC,E.flatten=Mp,E.flattenDeep=eT,E.flattenDepth=tT,E.flip=OC,E.flow=bx,E.flowRight=wx,E.fromPairs=nT,E.functions=wO,E.functionsIn=EO,E.groupBy=aC,E.initial=iT,E.intersection=sT,E.intersectionBy=oT,E.intersectionWith=aT,E.invert=CO,E.invertBy=OO,E.invokeMap=uC,E.iteratee=wc,E.keyBy=cC,E.keys=At,E.keysIn=an,E.map=Da,E.mapKeys=PO,E.mapValues=SO,E.matches=Ex,E.matchesProperty=Tx,E.memoize=Na,E.merge=RO,E.mergeWith=tm,E.method=Cx,E.methodOf=Ox,E.mixin=Ec,E.negate=Fa,E.nthArg=Px,E.omit=AO,E.omitBy=IO,E.once=xC,E.orderBy=fC,E.over=Sx,E.overArgs=PC,E.overEvery=Rx,E.overSome=Ax,E.partial=pc,E.partialRight=qp,E.partition=dC,E.pick=$O,E.pickBy=nm,E.property=um,E.propertyOf=Ix,E.pull=fT,E.pullAll=Lp,E.pullAllBy=dT,E.pullAllWith=hT,E.pullAt=pT,E.range=$x,E.rangeRight=Mx,E.rearg=SC,E.reject=mC,E.remove=mT,E.rest=RC,E.reverse=fc,E.sampleSize=_C,E.set=DO,E.setWith=LO,E.shuffle=vC,E.slice=gT,E.sortBy=wC,E.sortedUniq=TT,E.sortedUniqBy=CT,E.split=ix,E.spread=AC,E.tail=OT,E.take=xT,E.takeRight=PT,E.takeRightWhile=ST,E.takeWhile=RT,E.tap=zT,E.throttle=IC,E.thru=Ma,E.toArray=Xp,E.toPairs=rm,E.toPairsIn=im,E.toPath=kx,E.toPlainObject=Jp,E.transform=NO,E.unary=$C,E.union=AT,E.unionBy=IT,E.unionWith=$T,E.uniq=MT,E.uniqBy=DT,E.uniqWith=LT,E.unset=FO,E.unzip=dc,E.unzipWith=Np,E.update=kO,E.updateWith=UO,E.values=fs,E.valuesIn=HO,E.without=NT,E.words=am,E.wrap=MC,E.xor=FT,E.xorBy=kT,E.xorWith=UT,E.zip=HT,E.zipObject=BT,E.zipObjectDeep=WT,E.zipWith=jT,E.entries=rm,E.entriesIn=im,E.extend=em,E.extendWith=Ha,Ec(E,E),E.add=Hx,E.attempt=lm,E.camelCase=zO,E.capitalize=sm,E.ceil=Bx,E.clamp=BO,E.clone=LC,E.cloneDeep=FC,E.cloneDeepWith=kC,E.cloneWith=NC,E.conformsTo=UC,E.deburr=om,E.defaultTo=yx,E.divide=Wx,E.endsWith=VO,E.eq=jn,E.escape=qO,E.escapeRegExp=GO,E.every=eC,E.find=nC,E.findIndex=Ip,E.findKey=mO,E.findLast=rC,E.findLastIndex=$p,E.findLastKey=gO,E.floor=jx,E.forEach=kp,E.forEachRight=Up,E.forIn=_O,E.forInRight=vO,E.forOwn=yO,E.forOwnRight=bO,E.get=_c,E.gt=HC,E.gte=BC,E.has=TO,E.hasIn=vc,E.head=Dp,E.identity=ln,E.includes=lC,E.indexOf=rT,E.inRange=WO,E.invoke=xO,E.isArguments=xi,E.isArray=De,E.isArrayBuffer=WC,E.isArrayLike=on,E.isArrayLikeObject=Et,E.isBoolean=jC,E.isBuffer=Vr,E.isDate=zC,E.isElement=VC,E.isEmpty=qC,E.isEqual=GC,E.isEqualWith=KC,E.isError=mc,E.isFinite=YC,E.isFunction=Cr,E.isInteger=Gp,E.isLength=ka,E.isMap=Kp,E.isMatch=QC,E.isMatchWith=XC,E.isNaN=ZC,E.isNative=JC,E.isNil=tO,E.isNull=eO,E.isNumber=Yp,E.isObject=yt,E.isObjectLike=bt,E.isPlainObject=to,E.isRegExp=gc,E.isSafeInteger=nO,E.isSet=Qp,E.isString=Ua,E.isSymbol=vn,E.isTypedArray=cs,E.isUndefined=rO,E.isWeakMap=iO,E.isWeakSet=sO,E.join=lT,E.kebabCase=KO,E.last=Mn,E.lastIndexOf=uT,E.lowerCase=YO,E.lowerFirst=QO,E.lt=oO,E.lte=aO,E.max=zx,E.maxBy=Vx,E.mean=qx,E.meanBy=Gx,E.min=Kx,E.minBy=Yx,E.stubArray=Cc,E.stubFalse=Oc,E.stubObject=Dx,E.stubString=Lx,E.stubTrue=Nx,E.multiply=Qx,E.nth=cT,E.noConflict=xx,E.noop=Tc,E.now=La,E.pad=XO,E.padEnd=ZO,E.padStart=JO,E.parseInt=ex,E.random=jO,E.reduce=hC,E.reduceRight=pC,E.repeat=tx,E.replace=nx,E.result=MO,E.round=Xx,E.runInContext=k,E.sample=gC,E.size=yC,E.snakeCase=rx,E.some=bC,E.sortedIndex=_T,E.sortedIndexBy=vT,E.sortedIndexOf=yT,E.sortedLastIndex=bT,E.sortedLastIndexBy=wT,E.sortedLastIndexOf=ET,E.startCase=sx,E.startsWith=ox,E.subtract=Zx,E.sum=Jx,E.sumBy=eP,E.template=ax,E.times=Fx,E.toFinite=Or,E.toInteger=Ue,E.toLength=Zp,E.toLower=lx,E.toNumber=Dn,E.toSafeInteger=lO,E.toString=tt,E.toUpper=ux,E.trim=cx,E.trimEnd=fx,E.trimStart=dx,E.truncate=hx,E.unescape=px,E.uniqueId=Ux,E.upperCase=mx,E.upperFirst=yc,E.each=kp,E.eachRight=Up,E.first=Dp,Ec(E,function(){var r={};return ir(E,function(s,u){it.call(E.prototype,u)||(r[u]=s)}),r}(),{chain:!1}),E.VERSION=i,Sn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){E[r].placeholder=E}),Sn(["drop","take"],function(r,s){ze.prototype[r]=function(u){u=u===n?1:Rt(Ue(u),0);var h=this.__filtered__&&!s?new ze(this):this.clone();return h.__filtered__?h.__takeCount__=Wt(u,h.__takeCount__):h.__views__.push({size:Wt(u,Ae),type:r+(h.__dir__<0?"Right":"")}),h},ze.prototype[r+"Right"]=function(u){return this.reverse()[r](u).reverse()}}),Sn(["filter","map","takeWhile"],function(r,s){var u=s+1,h=u==j||u==ee;ze.prototype[r]=function(v){var O=this.clone();return O.__iteratees__.push({iteratee:xe(v,3),type:u}),O.__filtered__=O.__filtered__||h,O}}),Sn(["head","last"],function(r,s){var u="take"+(s?"Right":"");ze.prototype[r]=function(){return this[u](1).value()[0]}}),Sn(["initial","tail"],function(r,s){var u="drop"+(s?"":"Right");ze.prototype[r]=function(){return this.__filtered__?new ze(this):this[u](1)}}),ze.prototype.compact=function(){return this.filter(ln)},ze.prototype.find=function(r){return this.filter(r).head()},ze.prototype.findLast=function(r){return this.reverse().find(r)},ze.prototype.invokeMap=Be(function(r,s){return typeof r=="function"?new ze(this):this.map(function(u){return Ys(u,r,s)})}),ze.prototype.reject=function(r){return this.filter(Fa(xe(r)))},ze.prototype.slice=function(r,s){r=Ue(r);var u=this;return u.__filtered__&&(r>0||s<0)?new ze(u):(r<0?u=u.takeRight(-r):r&&(u=u.drop(r)),s!==n&&(s=Ue(s),u=s<0?u.dropRight(-s):u.take(s-r)),u)},ze.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},ze.prototype.toArray=function(){return this.take(Ae)},ir(ze.prototype,function(r,s){var u=/^(?:filter|find|map|reject)|While$/.test(s),h=/^(?:head|last)$/.test(s),v=E[h?"take"+(s=="last"?"Right":""):s],O=h||/^find/.test(s);v&&(E.prototype[s]=function(){var D=this.__wrapped__,F=h?[1]:arguments,U=D instanceof ze,te=F[0],ne=U||De(D),se=function(je){var Ge=v.apply(E,kr([je],F));return h&&he?Ge[0]:Ge};ne&&u&&typeof te=="function"&&te.length!=1&&(U=ne=!1);var he=this.__chain__,Te=!!this.__actions__.length,Se=O&&!he,He=U&&!Te;if(!O&&ne){D=He?D:new ze(this);var Re=r.apply(D,F);return Re.__actions__.push({func:Ma,args:[se],thisArg:n}),new An(Re,he)}return Se&&He?r.apply(this,F):(Re=this.thru(se),Se?h?Re.value()[0]:Re.value():Re)})}),Sn(["pop","push","shift","sort","splice","unshift"],function(r){var s=sa[r],u=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",h=/^(?:pop|shift)$/.test(r);E.prototype[r]=function(){var v=arguments;if(h&&!this.__chain__){var O=this.value();return s.apply(De(O)?O:[],v)}return this[u](function(D){return s.apply(De(D)?D:[],v)})}}),ir(ze.prototype,function(r,s){var u=E[s];if(u){var h=u.name+"";it.call(ss,h)||(ss[h]=[]),ss[h].push({name:s,func:u})}}),ss[xa(n,w).name]=[{name:"wrapper",func:n}],ze.prototype.clone=pE,ze.prototype.reverse=mE,ze.prototype.value=gE,E.prototype.at=VT,E.prototype.chain=qT,E.prototype.commit=GT,E.prototype.next=KT,E.prototype.plant=QT,E.prototype.reverse=XT,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=ZT,E.prototype.first=E.prototype.head,Ws&&(E.prototype[Ws]=YT),E},ns=Gw();vi?((vi.exports=ns)._=ns,wu._=ns):Nt._=ns}).call(qt)})(Al,Al.exports);var SF=Al.exports;const H_=Hn(SF);var fo=(e=>(e[e.UNKNOWN=0]="UNKNOWN",e[e.GOLD=1]="GOLD",e[e.SILVER=2]="SILVER",e[e.BRONZE=3]="BRONZE",e[e.HONORABLE=4]="HONORABLE",e))(fo||{});class B_{constructor(){this.medalType=0,this.minRank=0,this.maxRank=0}}function gb(e,t){return t===0?0:Math.floor((e-t)*100/e)}Gt.extend(hF);Gt.extend(mF);Gt.extend(_F);Gt.extend(yF);Gt.extend(wF);Gt.extend(TF);Gt.extend(OF);Gt.extend(PF);function En(e=void 0){return e===void 0?Gt():typeof e=="number"&&String(e).length===10?Gt.unix(e):Gt(e)}function ll(e){const t=a=>a<10?`0${a}`:String(a),n=Math.floor(e/3600),i=Math.floor(e%3600/60),o=e%60;return[t(n),t(i),t(o)].join(":")}class RF{constructor(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}reset(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}get dict(){return this.acceptedNum===0?0:gb(this.attemptedNum,this.acceptedNum)}}class Ld{constructor(){this.id="",this.label="",this.name="",this.statistics=new RF}}function AF(e){return e.map(t=>{const n=new Ld;return n.id=t.id,n.label=t.label,n.name=t.name??"",n.timeLimit=t.time_limit,n.memoryLimit=t.memory_limit,n.balloonColor=t.balloon_color,n})}function IF(e,t){const n=e.map((i,o)=>{const a=new Ld;return a.id=String(o),a.label=i,a});if(t!=null)for(const i in t)n[i].balloonColor=t[i];return n}class $F{constructor(t){var n,i,o,a,l,c,f,d,m,p,g,y;this.isFirstSolved=((n=t==null?void 0:t.teamProblemStatistics)==null?void 0:n.isFirstSolved)??!1,this.isSolved=((i=t==null?void 0:t.teamProblemStatistics)==null?void 0:i.isSolved)??!1,this.solvedTimestamp=((o=t==null?void 0:t.teamProblemStatistics)==null?void 0:o.solvedTimestamp)??0,this.isSubmitted=((a=t==null?void 0:t.teamProblemStatistics)==null?void 0:a.isSubmitted)??!1,this.lastSubmitTimestamp=((l=t==null?void 0:t.teamProblemStatistics)==null?void 0:l.lastSubmitTimestamp)??0,this.failedCount=((c=t==null?void 0:t.teamProblemStatistics)==null?void 0:c.failedCount)??0,this.pendingCount=((f=t==null?void 0:t.teamProblemStatistics)==null?void 0:f.pendingCount)??0,this.ignoreCount=((d=t==null?void 0:t.teamProblemStatistics)==null?void 0:d.ignoreCount)??0,this.totalCount=((m=t==null?void 0:t.teamProblemStatistics)==null?void 0:m.totalCount)??0,this.submissions=((p=t==null?void 0:t.teamProblemStatistics)==null?void 0:p.submissions)??[],this.problem=((g=t==null?void 0:t.teamProblemStatistics)==null?void 0:g.problem)??new Ld,this.contestPenalty=((y=t==null?void 0:t.teamProblemStatistics)==null?void 0:y.contestPenalty)??20*60}get isAccepted(){return this.isSolved}get isWrongAnswer(){return!this.isSolved&&this.pendingCount===0&&this.failedCount>0}get isPending(){return!this.isSolved&&this.pendingCount>0}get isUnSubmitted(){return this.totalCount===0}get penalty(){return this.isSolved===!1?0:Math.floor(this.solvedTimestamp/60)*60+this.failedCount*this.contestPenalty}}class W_{constructor(){this.names=new Map,this.defaultLang="zh-CN",this.isDefault=!1}}class _b{constructor(){this.name="",this.startTime=En(),this.endTime=En(),this.freezeTime=En(),this.totalDurationTimestamp=0,this.freezeDurationTimestamp=0,this.unFreezeDurationTimestamp=0,this.penalty=20*60,this.problems=[],this.problemsMap=new Map,this.statusTimeDisplay={correct:!0,incorrect:!0,pending:!0},this.group=new Map,this.tag=new Map}getContestDuration(t="HH:mm:ss"){return Gt.duration(this.endTime.diff(this.startTime)).format(t)}getContestState(t){const n=En(t);return n.isBefore(this.startTime)?Xn.PENDING:n.isSameOrAfter(this.endTime)?Xn.FINISHED:n.isSameOrAfter(this.freezeTime)?Xn.FROZEN:Xn.RUNNING}getContestPendingTime(t){let n=En(t);return n.isAfter(this.startTime)&&(n=this.startTime),ll(Math.floor(Gt.duration(this.startTime.diff(n)).asSeconds()))}getContestElapsedTime(t){let n=En(t);return n.isAfter(this.endTime)&&(n=this.endTime),n.isBefore(this.startTime)&&(n=this.startTime),ll(Math.floor(Gt.duration(n.diff(this.startTime)).asSeconds()))}getContestRemainingTime(t){let n=En(t);return n.isAfter(this.endTime)&&(n=this.endTime),n.isBefore(this.startTime)&&(n=this.startTime),ll(Math.floor(Gt.duration(this.endTime.diff(n)).asSeconds()))}getContestProgressRatio(t){const n=En(t);if(this.startTime.isSameOrAfter(n))return 0;if(this.endTime.isSameOrBefore(n))return 100;const i=this.endTime.diff(this.startTime,"s"),o=n.diff(this.startTime,"s");return Math.round(o*100/i)}}function MF(e){const t=new _b;t.name=e.contest_name,t.startTime=En(e.start_time),t.endTime=En(e.end_time),t.totalDurationTimestamp=t.endTime.unix()-t.startTime.unix();{if(t.freezeTime=t.endTime,t.freezeDurationTimestamp=0,e.frozen_time!==void 0&&e.frozen_time!=null){const n=Number(e.frozen_time);t.freezeTime=En(t.endTime.unix()-n),t.freezeDurationTimestamp=n}e.freeze_time!==void 0&&e.freeze_time!==null&&(t.freezeTime=En(e.freeze_time),t.freezeDurationTimestamp=t.endTime.unix()-t.freezeTime.unix()),t.unFreezeDurationTimestamp=t.totalDurationTimestamp-t.freezeDurationTimestamp}t.penalty=e.penalty,e.problem_id!==void 0&&e.problem_id!==null&&(t.problems=IF(e.problem_id,e.balloon_color)),e.problems!==void 0&&e.problems!==null&&(t.problems=AF(e.problems)),t.problemsMap=new Map(t.problems.map(n=>[n.id,n])),e.status_time_display!==void 0&&e.status_time_display!==null&&(t.statusTimeDisplay={correct:!!(e.status_time_display.correct??!1),incorrect:!!(e.status_time_display.incorrect??!1),pending:!!(e.status_time_display.pending??!1)}),t.badge=e.badge,t.medal=e.medal,(()=>{if(!(e.medal===void 0||e.medal===null)){t.awards=new Map;for(const n in e.medal){const i=e.medal[n];{const o=[];let a=1;const l=(c,f)=>{if(Object.keys(i).includes(c)){const d=new B_;d.medalType=f,d.minRank=a,a+=Number(i[c]),d.maxRank=a-1,o.push(d)}};l("gold",fo.GOLD),l("silver",fo.SILVER),l("bronze",fo.BRONZE);{const c=new B_;c.medalType=fo.HONORABLE,c.minRank=a,c.maxRank=1061109567,o.push(c)}t.awards.set(n,o)}}}})(),t.organization=e.organization;{const n=new W_;n.names.set("en","All"),n.names.set("zh-CN","所有队伍"),n.isDefault=!0,t.group.set("all",n)}for(const[n,i]of Object.entries((e==null?void 0:e.group)??{})){let o=n;const a=new W_;a.names.set("zh-CN",i),n==="official"&&a.names.set("en","Official"),n==="unofficial"&&a.names.set("en","Unofficial"),(n==="girl"||n==="girls")&&(a.names.set("en","Girls"),o="girl"),t.group.set(o,a)}return t.banner=e.banner,t.logo=e.logo,t.boardLink=e.board_link,t}class DF{constructor(){this.contest=new _b,this.boardLink=""}}function LF(e){const t=new DF,n=e.config;return t.contest=MF(n),t.boardLink=e.board_link,t}function NF(e){const t=[],n=i=>{if(Object.prototype.hasOwnProperty.call(i,"config"))t.push(LF(i));else for(const o in i)n(i[o])};return n(e),t.sort((i,o)=>i.contest.startTime.isBefore(o.contest.startTime)?1:i.contest.startTime.isAfter(o.contest.startTime)?-1:i.contest.endTime.isBefore(o.contest.endTime)?1:i.contest.endTime.isAfter(o.contest.endTime)?-1:i.contest.name<o.contest.name?1:i.contest.name>o.contest.name?-1:0),t}function FF(e){return e=e.toUpperCase().replace(" ","_"),["OK","AC",ce.ACCEPTED.toString()].includes(e)||[ce.CORRECT.toString()].includes(e)?ce.ACCEPTED:[ce.PARTIALLY_CORRECT.toString()].includes(e)?ce.PARTIALLY_CORRECT:["WA",ce.WRONG_ANSWER.toString()].includes(e)?ce.WRONG_ANSWER:["RJ","INCORRECT",ce.REJECTED.toString()].includes(e)?ce.REJECTED:["PD",ce.PENDING.toString()].includes(e)?ce.PENDING:[ce.WAITING.toString()].includes(e)?ce.WAITING:[ce.JUDGING.toString()].includes(e)?ce.JUDGING:[ce.FROZEN.toString()].includes(e)?ce.FROZEN:["CE",ce.COMPILATION_ERROR.toString()].includes(e)?ce.COMPILATION_ERROR:["PE",ce.PRESENTATION_ERROR.toString()].includes(e)?ce.PRESENTATION_ERROR:["TL","TLE",ce.TIME_LIMIT_EXCEEDED.toString()].includes(e)?ce.TIME_LIMIT_EXCEEDED:["ML","MLE",ce.MEMORY_LIMIT_EXCEEDED.toString()].includes(e)?ce.MEMORY_LIMIT_EXCEEDED:["OL","OLE",ce.OUTPUT_LIMIT_EXCEEDED.toString()].includes(e)?ce.OUTPUT_LIMIT_EXCEEDED:["IL","ILE",ce.IDLENESS_LIMIT_EXCEEDED.toString()].includes(e)?ce.IDLENESS_LIMIT_EXCEEDED:["RT","RE","RTE",ce.RUNTIME_ERROR.toString()].includes(e)?ce.RUNTIME_ERROR:["JE",ce.JUDGEMENT_FAILED.toString()].includes(e)?ce.JUDGEMENT_FAILED:["SE",ce.SYSTEM_ERROR.toString()].includes(e)?ce.SYSTEM_ERROR:[ce.HACKED.toString()].includes(e)?ce.HACKED:[ce.CONFIGURATION_ERROR.toString()].includes(e)?ce.CONFIGURATION_ERROR:[ce.CANCELED.toString()].includes(e)?ce.CANCELED:[ce.SKIPPED.toString()].includes(e)?ce.SKIPPED:[ce.SECURITY_VIOLATED.toString()].includes(e)?ce.SECURITY_VIOLATED:[ce.DENIAL_OF_JUDGEMENT.toString()].includes(e)?ce.DENIAL_OF_JUDGEMENT:ce.UNKNOWN}function vb(e){return[ce.ACCEPTED,ce.CORRECT].includes(e)}function kF(e){return[ce.RUNTIME_ERROR,ce.TIME_LIMIT_EXCEEDED,ce.MEMORY_LIMIT_EXCEEDED,ce.OUTPUT_LIMIT_EXCEEDED,ce.IDLENESS_LIMIT_EXCEEDED,ce.WRONG_ANSWER,ce.REJECTED,ce.JUDGEMENT_FAILED,ce.HACKED].includes(e)}function yb(e){return[ce.PENDING,ce.WAITING,ce.JUDGING,ce.FROZEN].includes(e)}function bb(e){return[ce.COMPILATION_ERROR,ce.PRESENTATION_ERROR,ce.CONFIGURATION_ERROR,ce.SYSTEM_ERROR,ce.CANCELED,ce.SKIPPED,ce.UNKNOWN,ce.UNDEFINED].includes(e)}function UF(e){return vb(e)?"OK":e===ce.WRONG_ANSWER?"WA":e===ce.TIME_LIMIT_EXCEEDED?"TL":e===ce.MEMORY_LIMIT_EXCEEDED?"ML":e===ce.OUTPUT_LIMIT_EXCEEDED?"IL":e===ce.PRESENTATION_ERROR?"PE":e===ce.RUNTIME_ERROR?"RT":e===ce.COMPILATION_ERROR||bb(e)?"CE":yb(e)?"PD":"RJ"}function Vk(e){let t="";t+=`@contest "${e.contest.name}"
|
|
57
|
+
@contlen ${Math.floor(Gt.duration(e.contest.endTime.diff(e.contest.startTime)).asMinutes())}
|
|
58
|
+
@problems ${e.contest.problems.length}
|
|
59
|
+
@teams ${e.teams.length+100}
|
|
60
|
+
@submissions ${e.submissions.length}
|
|
61
|
+
`,e.contest.problems.forEach(a=>{t+=`@p ${a.label},${a.label},20,0
|
|
62
|
+
`});let n=1;const i=new Map,o=new Map;e.teams.forEach(a=>{let l=a.name;a.organization&&(l=`${a.organization} - ${l}`),a.members&&(l=`${l} - ${a.membersToString}`),t+=`@t ${n},0,1,${l}
|
|
63
|
+
`,i.set(a.id,n),n++;{const c=new Map;e.contest.problems.forEach(f=>{c.set(f.id,0)}),o.set(a.id,c)}});for(let a=0;a<100;a++)t+=`@t ${n},0,1,Пополнить команду
|
|
64
|
+
`,n++;return e.getSubmissions().forEach(a=>{var m;const l=a.teamId,c=a.problemId,f=e.contest.problemsMap.get(c);if(!f)return;const d=UF(a.status);o.get(l).set(c,o.get(l).get(c)+1),t+=`@s ${i.get(l)},${f.label},${(m=o.get(l))==null?void 0:m.get(c)},${a.timestamp},${d}
|
|
65
|
+
`}),t}class HF{constructor(){this.teamSolvedNum=[],this.maxSolvedProblems=0}reset(){this.teamSolvedNum=[],this.maxSolvedProblems=0}}class ul{constructor(){this.id="",this.name="",this.organization="",this.group=[],this.tag=[],this.rank=0,this.originalRank=0,this.organizationRank=-1,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemTimestamp=0,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[],this.awards=[]}reset(){this.rank=0,this.originalRank=0,this.organizationRank=-1,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemTimestamp=0,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[]}get penaltyToMinute(){return Math.floor(this.penalty/60)}get dict(){const t=this.attemptedProblemNum,n=this.solvedProblemNum;return gb(t,n)}get membersToString(){var t;return typeof this.members=="string"?this.members:(t=this.members)==null?void 0:t.join(", ")}calcSolvedData(){this.solvedProblemNum=0,this.attemptedProblemNum=0,this.penalty=0;for(const t of this.problemStatistics)t.isAccepted&&(this.solvedProblemNum++,this.attemptedProblemNum+=t.failedCount+1,this.penalty+=t.penalty)}calcAwards(t){if(t)for(const n of t)this.rank>=n.minRank&&this.rank<=n.maxRank&&this.awards.push(n.medalType)}isEqualRank(t){return this.solvedProblemNum===t.solvedProblemNum&&this.penalty===t.penalty}postProcessPlaceChartPoints(){if(this.placeChartPoints.length===0)return;const t=[];t.push(this.placeChartPoints[0]);for(let n=1;n<this.placeChartPoints.length-1;n++){const i=this.placeChartPoints[n],o=t[t.length-1];(i.rank!==o.rank||i.lastSolvedProblem!==o.lastSolvedProblem)&&t.push(i)}this.placeChartPoints.length>1&&t.push(this.placeChartPoints[this.placeChartPoints.length-1]),this.placeChartPoints=t}static compare(t,n){return t.solvedProblemNum!==n.solvedProblemNum?n.solvedProblemNum-t.solvedProblemNum:t.penalty!==n.penalty?t.penalty-n.penalty:t.lastSolvedProblemTimestamp!==n.lastSolvedProblemTimestamp?t.lastSolvedProblemTimestamp-n.lastSolvedProblemTimestamp:t.name<n.name?-1:t.name>n.name?1:0}}function j_(e){const t=new ul;t.id=e.id??e.team_id??"",t.name=e.name??e.team_name??"",t.organization=e.organization??"",t.badge=e.badge,t.group=e.group??[],t.tag=e.group??[],t.coach=e.coach,t.members=e.members,e.official&&t.group.push("official"),e.unofficial&&t.group.push("unofficial"),e.girl&&t.group.push("girl");{const n=e;for(const i of Object.keys(n))(n[i]===1||n[i]===!0)&&t.group.push(i)}return t.group=[...new Set(t.group)],t.group.sort(),t}function qk(e){return Array.isArray(e)?e.map(t=>j_(t)):Object.entries(e).map(([n,i])=>j_({...i,team_id:i.team_id??n}))}class Nf{constructor(){this.status=ce.UNKNOWN,this.isIgnore=!1,this.id="",this.teamId="",this.problemId="",this.timestamp=0}isAccepted(){return vb(this.status)}isRejected(){return kF(this.status)}isPending(){return yb(this.status)}isNotCalculatedPenaltyStatus(){return bb(this.status)}get timestampToMinute(){return Math.floor(this.timestamp/60)}static compare(t,n){if(t.timestamp!==n.timestamp)return t.timestamp-n.timestamp;if(t.teamId===n.teamId){if(t.isAccepted()&&!n.isAccepted())return-1;if(!t.isAccepted()&&n.isAccepted())return 1}return 0}}function z_(e){const t=new Nf;return t.id=String(e.id??e.submission_id??""),t.teamId=String(e.team_id),t.problemId=String(e.problem_id),t.timestamp=e.timestamp,t.status=FF(e.status),t.isIgnore=e.is_ignore??!1,t}function Gk(e){return Array.isArray(e)?e.map((t,n)=>z_({...t,id:t.submission_id??String(n)})):Object.entries(e).map(([n,i])=>z_({...i,id:i.submission_id??n}))}class BF{constructor(){this.enableFilterSubmissionsByTimestamp=!1,this.width=0,this.timestamp=0,this.enableFilterTeamsByGroup=!1,this.group="all",this.filterOrganizations=[],this.filterOrganizationMap=new Map,this.filterTeams=[],this.filterTeamMap=new Map}setWidth(t,n){this.width=t,this.timestamp=Math.floor((n.endTime.unix()-n.startTime.unix())*this.width*1e-4),this.enableFilterSubmissionsByTimestamp=!0}disableFilterSubmissionByTimestamp(){this.enableFilterSubmissionsByTimestamp=!1}setGroup(t){this.group=t,this.enableFilterTeamsByGroup=!0,this.group==="all"&&this.disableFilterTeamsByGroup()}disableFilterTeamsByGroup(){this.enableFilterTeamsByGroup=!1,this.group="all"}setFilterOrganizations(t){const n=new Map;t.forEach(i=>{n.set(i.value,i)}),this.filterOrganizations=t,this.filterOrganizationMap=n}setFilterTeams(t){const n=new Map;t.forEach(i=>{n.set(i.value,i)}),this.filterTeams=t,this.filterTeamMap=n}isNeedReBuildRank(t){return this.enableFilterSubmissionsByTimestamp!==t.enableFilterSubmissionsByTimestamp||this.width!==t.width||this.timestamp!==t.timestamp||this.enableFilterTeamsByGroup!==t.enableFilterTeamsByGroup||this.group!==t.group}}class Kk{constructor(t,n,i){this.contest=t,this.teams=H_.cloneDeep(n),this.teamsMap=new Map(this.teams.map(o=>[o.id,o])),this.submissions=H_.cloneDeep(i).sort(Nf.compare),this.submissionsMap=new Map(this.submissions.map(o=>[o.id,o])),this.organizations=this.buildOrganizations(),this.originTeams=this.teams.map(o=>o),this.originTeams.sort(ul.compare),this.rankStatistics=new HF,this.options=new BF}buildRank(){return(()=>{(()=>{this.teams=[];for(const[i,o]of this.teamsMap)this.filterTeamByOrg(o)||this.teams.push(o)})();for(const i of this.teams)i.reset(),i.problemStatistics=this.contest.problems.map(o=>{const a=new $F;return a.problem=o,a.contestPenalty=this.contest.penalty,a}),i.problemStatisticsMap=new Map(i.problemStatistics.map(o=>[o.problem.id,o]));this.contest.problems.forEach(i=>{i.statistics.reset()}),this.teams.forEach(i=>i.placeChartPoints.push({timePoint:0,rank:1,lastSolvedProblem:null})),this.rankStatistics.reset(),this.rankStatistics.teamSolvedNum=Array(this.contest.problems.length+1).fill(0);let t=0;const n=this.getSubmissions();for(let i=0;i<n.length;i++){const o=n[i],a=o.teamId,l=o.problemId,c=this.teamsMap.get(a),f=this.contest.problemsMap.get(l);(()=>{if(c===void 0||this.filterTeamByOrg(c)||f===void 0)return;const d=c.problemStatisticsMap.get(l);if(d.submissions.push(o),c.submissions.push(o),f.statistics.submittedNum++,!d.isSolved){if(o.isIgnore||o.isNotCalculatedPenaltyStatus()){f.statistics.ignoreNum++,d.ignoreCount++;return}if(d.isSubmitted=!0,d.lastSubmitTimestamp=o.timestamp,d.totalCount++,o.isAccepted()){for(d.isSolved=!0,d.solvedTimestamp=o.timestamp,f.statistics.acceptedNum++,f.statistics.attemptedNum+=d.failedCount+1,(f.statistics.firstSolveSubmissions.length===0||f.statistics.firstSolveSubmissions[f.statistics.firstSolveSubmissions.length-1].timestamp===o.timestamp)&&(d.isFirstSolved=!0,f.statistics.firstSolveSubmissions.push(o));f.statistics.lastSolveSubmissions.length>0;)f.statistics.lastSolveSubmissions.pop();f.statistics.lastSolveSubmissions.push(o),c.lastSolvedProblem=f,c.lastSolvedProblemTimestamp=o.timestamp}o.isRejected()&&(d.failedCount++,f.statistics.rejectedNum++),o.isPending()&&(d.pendingCount++,f.statistics.pendingNum++)}})(),(o.timestampToMinute>t||i===n.length-1)&&(this.teams.forEach(d=>d.calcSolvedData()),this.teams.sort(ul.compare),this.buildTeamRank(),this.teams.forEach(d=>d.placeChartPoints.push({timePoint:o.timestampToMinute,rank:d.rank,lastSolvedProblem:d.lastSolvedProblem}))),t=o.timestampToMinute}this.teams.forEach(i=>i.calcSolvedData()),this.teams.sort(ul.compare),this.buildTeamRank(),this.buildOrgRank(),this.teams.forEach(i=>{var o;return i.calcAwards((o=this.contest.awards)==null?void 0:o.get(this.options.group))}),this.teams.forEach(i=>i.postProcessPlaceChartPoints())})(),(()=>{for(const t of this.teams)this.rankStatistics.teamSolvedNum[t.solvedProblemNum]++;this.teams.length>0&&(this.rankStatistics.maxSolvedProblems=this.teams[0].solvedProblemNum)})(),this}buildTeamRank(){let t=1,n=1,i=null;for(const o of this.teams)o.rank=t++,o.originalRank=n++,i!==null&&o.isEqualRank(i)&&(o.rank=i.rank),i=o}buildOrgRank(){if(!this.contest.organization)return;let t=1,n=null;const i=new Set;for(const o of this.teams){const a=o.organization;i.has(a)||(i.add(a),o.organizationRank=t++,n!==null&&o.isEqualRank(n)&&(o.organizationRank=n.organizationRank),n=o)}}buildOrganizations(){if(!this.contest.organization)return[];const t=new Array,n=new Set;return this.teams.forEach(i=>{const o=i.organization;n.has(o)||(t.push(o),n.add(o))}),t.sort(),t}filterTeamByOrg(t){var i;const n=this.options;return!!(n.enableFilterTeamsByGroup&&!((i=t.group)!=null&&i.includes(n.group)))}getSubmissions(){return this.options.enableFilterSubmissionsByTimestamp===!1?this.submissions:this.submissions.filter(t=>t.timestamp<=this.options.timestamp).sort(Nf.compare)}}const WF=Mt({__name:"Progress",props:{width:null,state:null,needScroll:{type:Boolean},rank:null,rankOptions:null,elapsedTime:null},emits:["update:rank-options"],setup(e,{emit:t}){const n=e,i=Je({get(){return n.rankOptions},set(C){t("update:rank-options",C)}}),o=Je(()=>{switch(n.state){case Xn.PENDING:return"am-progress-bar-secondary";case Xn.RUNNING:return"am-progress-bar-success";case Xn.FROZEN:return"am-progress-bar-danger";case Xn.FINISHED:return"am-progress-bar-primary"}}),a=we(!1),l=we(!1),c=we(0),f=we(n.width),d=we(0),m=ob("progress-ratio",-1,{transform:Number}),p=we(null),g=we(null),y=we(null),_=we(null),b=we(null);function P(C){l.value=!0;const x=C.clientX-y.value.offsetLeft,I=S=>{var G,V;if(!l.value)return;a.value=!0;let $=S.clientX-x;$=Math.max($,0),$=Math.min($,p.value.offsetWidth-y.value.offsetWidth);const L=p.value.offsetWidth*Number.parseInt((G=g.value.style)==null?void 0:G.width)*.01;$>=L&&($=L,a.value=!1);let W=0;$>0&&(W=Math.round(($+y.value.offsetWidth)/p.value.offsetWidth*1e4)),W>1e4&&(W=1e4),W===1e4&&(a.value=!1),(V=window.getSelection())==null||V.removeAllRanges(),c.value=W,d.value=$,f.value=W*.01},R=()=>{var S,$;document.removeEventListener("mouseup",R),document.removeEventListener("mousemove",I),l.value=!1,a.value===!0?(m.value=c.value,(S=i.value)==null||S.setWidth(c.value,n.rank.contest)):(m.value=void 0,($=i.value)==null||$.disableFilterSubmissionByTimestamp())};document.addEventListener("mousemove",I),document.addEventListener("mouseup",R)}function w(){const C=n.rank.contest.startTime,x=n.rank.contest.endTime,I=x.unix()-C.unix(),R=Math.floor(I*f.value*.01),S=En(),$=Math.max(0,Math.min(S.unix(),x.unix())-C.unix());return ll(Math.min(R,$))}function T(){return a.value===!0?w():n.elapsedTime}function A(){return a.value===!0?`${Math.max(0,d.value)}px`:`max(calc(0%), min(calc(${n.width}%), calc(100% - 10px)))`}return gr(()=>{var C,x;p.value.onmouseenter=()=>{_.value.classList.add("in")},p.value.onmouseleave=()=>{_.value.classList.remove("in")},m.value!==-1?(a.value=!0,c.value=Math.max(0,Math.min(1e4,m.value)),f.value=c.value*.01,d.value=f.value*.01*p.value.offsetWidth-y.value.offsetWidth,(C=i.value)==null||C.setWidth(m.value,n.rank.contest)):(x=i.value)==null||x.disableFilterSubmissionByTimestamp()}),Vi(()=>{}),(C,x)=>(Ve(),ut("div",{ref_key:"scroll",ref:p,class:"am-progress am-progress-striped am-active","w-full":"",style:{position:"relative"}},[ge("div",{ref_key:"mask",ref:g,class:tn(["am-progress-bar",[Oe(o)]]),style:Jn({width:`${n.width}%`})},[n.needScroll?(Ve(),ut(wt,{key:0},[ge("div",{ref_key:"tooltip",ref:_,class:"tooltip tooltip-top",style:Jn({marginLeft:"-32px",bottom:"22px",left:A()})},[ge("div",{ref_key:"tooltipInner",ref:b,class:"tooltip-inner"},Ut(T()),513)],4),ge("div",{ref_key:"bar",ref:y,class:tn(["am-progress-bar am-progress-cursor am-progress-scroll-size z-999",[Oe(o)]]),style:Jn({left:A()}),onMousedown:P},null,38)],64)):kn("",!0)],6)],512))}});const jF=Hs(WF,[["__scopeId","data-v-4ce11ab6"]]),zF={flex:"","flex-row":"","items-center":"","justify-center":""},VF={key:0,"ml-2":""},qF={key:1,"ml-2":""},GF=Mt({__name:"ContestStateBadge",props:{state:null,pendingTime:null,pausedTime:null},setup(e){const t=e;return(n,i)=>(Ve(),ut("div",zF,[ge("div",{class:tn(["label",t.state])},null,2),ge("div",null,Ut(t.state),1),t.pendingTime&&t.state===Oe(Xn).PENDING?(Ve(),ut("div",VF,Ut(t.pendingTime),1)):kn("",!0),t.pausedTime&&t.state===Oe(Xn).PAUSED?(Ve(),ut("div",qF,Ut(t.pausedTime),1)):kn("",!0)]))}});const KF=Hs(GF,[["__scopeId","data-v-68586c4d"]]),YF=e=>(ql("data-v-e6fdacc2"),e=e(),Gl(),e),QF={"h-32":""},XF={key:0},ZF={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},JF={"w-full":"",flex:""},ek={key:0,class:"logo"},tk=["src"],nk={class:"title","overflow-hidden":"","text-2xl":"",truncate:""},rk={flex:"","items-end":""},ik={"float-left":"","font-mono":"","text-base":""},sk={class:"pl-0.5"},ok=YF(()=>ge("br",null,null,-1)),ak={"flex-1":""},lk={flex:"","items-center":"","justify-center":""},uk={"font-bold":"","font-mono":"",class:"w-[68%]"},ck={"float-right":""},fk={class:"MuiIconButton-label"},dk=Mt({__name:"ContestIndex",props:{data:null},setup(e){const t=e,{t:n}=ks(),i=Je(()=>t.data.contest),o=we(new Date),a=we(null),l=YD(a);function c(d){return d!=null&&d.url?d.url:d!=null&&d.base64?`data:image/${d.type};base64,${d.base64}`:""}const f=setInterval(()=>{o.value=new Date},1e3);return Vi(()=>{clearInterval(f)}),(d,m)=>{const p=On("VTooltip"),g=KF,y=jF,_=aF,b=On("RouterLink");return Ve(),ut("div",{ref_key:"el",ref:a},[ge("div",QF,[Oe(l)?(Ve(),ut("div",XF,[ge("div",ZF,[ge("div",JF,[Oe(i).logo!==void 0?(Ve(),ut("div",ek,[ge("img",{class:"h-10 w-10",src:c(Oe(i).logo),alt:"logo"},null,8,tk)])):kn("",!0),Fe(p,{"w-inherit":""},{popper:Vt(()=>[Yn(Ut(Oe(i).name),1)]),default:Vt(()=>[ge("div",nk,Ut(Oe(i).name),1)]),_:1})]),ge("div",rk,[ge("div",ik,[Yn(Ut(Oe(n)("index.start"))+": "+Ut(Oe(i).startTime.format("YYYY-MM-DD HH:mm:ss")),1),ge("sup",sk,Ut(Oe(i).startTime.format("z")),1),ok,Yn(" "+Ut(Oe(n)("index.duration"))+": "+Ut(Oe(i).getContestDuration()),1)]),ge("div",ak,[ge("div",lk,[ge("div",uk,[ge("div",null,[Fe(g,{state:Oe(i).getContestState(Oe(o)),"pending-time":Oe(i).getContestPendingTime(Oe(o))},null,8,["state","pending-time"])]),Fe(y,{width:Oe(i).getContestProgressRatio(Oe(o)),state:Oe(i).getContestState(Oe(o))},null,8,["width","state"])])])]),ge("div",ck,[Fe(b,{class:"go MuiIconButton-root",to:t.data.boardLink},{default:Vt(()=>[ge("span",fk,[Fe(_)])]),_:1},8,["to"])])])])])):kn("",!0)])],512)}}});const hk=Hs(dk,[["__scopeId","data-v-e6fdacc2"]]),pk=(...e)=>{const t=Dt().proxy.$props,n=Object.create(null);for(const i of e)if(typeof i=="string")n[i]=u_(t,i,void 0,{eventName:`update:${i}`,passive:!0});else{const[o,a=o,l=`update:${o}`,c={}]=i;n[o]=u_(t,a,void 0,{eventName:l,passive:!0,...c})}return n},mk={relative:""},gk=ge("span",{"i-carbon-close":"",ma:"",block:"","aria-hidden":"true"},null,-1),_k=[gk],vk=Mt({__name:"SearchInput",props:{modelValue:null},emits:["update:modelValue"],setup(e,{expose:t}){const{modelValue:n}=pk("modelValue"),i=we(),o={mounted:c=>c.focus()};function a(){var c;n.value=null,(c=i.value)==null||c.focus()}function l(){var c;(c=i.value)==null||c.focus()}return t({focus:l}),(c,f)=>{var d;return Ve(),ut("div",mk,[kv(ge("input",Zl({ref_key:"inputEl",ref:i,"onUpdate:modelValue":f[0]||(f[0]=m=>et(n)?n.value=m:null),type:"text"},c.$attrs,{p:"x-4 y-2",text:"left",bg:"transparent",autocomplete:"off",w:"full",border:"~ rounded gray-300 dark:gray-500",outline:"none active:none","aria-label":"Search",placeholder:"Search..."}),null,16),[[Uo,Oe(n)],[o]]),(d=Oe(n))!=null&&d.length?(Ve(),ut("button",{key:0,absolute:"",flex:"","right-2":"","w-10":"","top-2":"","bottom-2":"","text-xl":"",op30:"","hover:op90":"","aria-label":"Clear search",onClick:f[1]||(f[1]=m=>a())},_k)):kn("",!0)])}}}),yk={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},bk={key:0,class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":""},wk={key:1},Ek={key:2,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},Tk={"w-240":""},Ck={key:0,"mt-4":""},Ok={key:1,p10:""},xk=ge("div",{op40:"",italic:"",mb5:""}," No result found ",-1),Pk={row:"","justify-center":""},wb=Mt({__name:"index",setup(e){const{t}=ks(),n=we(new Date),i=we(`${window.DATA_HOST}index/contest_list.json?t=${n.value.getTime()}`),o=we(!1),a=ob("s","",{transform:String}),l=we(a.value),c=we(null),f=we([]),d=we([]),{error:m,isFetching:p,isFinished:g}=nL(i,{refetch:o,afterFetch:_=>(f.value=NF(JSON.parse(_.data)),d.value=f.value.map(b=>b),_)}).get();ct(l,()=>{d.value=f.value.filter(_=>{var b;return((b=l.value)==null?void 0:b.length)===0&&(l.value=null),l.value===null?(a.value=void 0,!0):(a.value=l.value,!!(_.contest.name.includes(l.value)||_.contest.name.toLowerCase().includes(l.value.toLowerCase())))})});function y(){var _;l.value=null,(_=c.value)==null||_.focus()}return(_,b)=>{const P=hk;return Ve(),ut("div",yk,[ge("div",null,[Oe(p)?(Ve(),ut("div",bk,Ut(Oe(t)("common.loading"))+"... ",1)):kn("",!0),Oe(m)?(Ve(),ut("div",wk,Ut(Oe(m)),1)):kn("",!0),Oe(g)?(Ve(),ut("div",Ek,[ge("div",Tk,[Fe(vk,{ref_key:"searchInputRef",ref:c,modelValue:Oe(l),"onUpdate:modelValue":b[0]||(b[0]=w=>et(l)?l.value=w:null)},null,8,["modelValue"])]),Oe(d).length?(Ve(),ut("div",Ck,[(Ve(!0),ut(wt,null,Yv(Oe(d),w=>(Ve(),Nr(P,{key:w.boardLink,data:w},null,8,["data"]))),128))])):(Ve(),ut("div",Ok,[xk,ge("div",Pk,[ge("button",{btn:"",onClick:b[1]||(b[1]=w=>y())}," Clear search ")])]))])):kn("",!0)])])}}}),V_={};typeof V_=="function"&&V_(wb);const Sk=()=>cr(()=>import("./test-0a3d6f7a.js"),["assets/test-0a3d6f7a.js","assets/user-108782a1.js"]),Rk=()=>cr(()=>import("./about-a8cb8700.js"),[]),Ak=()=>cr(()=>import("./_...all_-d56798b5.js"),["assets/_...all_-d56798b5.js","assets/_...all_-27c7ae93.css"]),Ik=()=>cr(()=>import("./_name_-8eab6137.js"),["assets/_name_-8eab6137.js","assets/user-108782a1.js"]),$k=[{name:"test",path:"/test",component:Sk,props:!0,meta:{layout:"home"}},{name:"index",path:"/",component:wb,props:!0,meta:{layout:"index-layout"}},{name:"about",path:"/about",component:Rk,props:!0},{name:"all",path:"/:all(.*)*",component:Ak,props:!0,meta:{layout:"board-layout"}},{name:"hi-name",path:"/hi/:name",component:Ik,props:!0}];const Mk=SL($k);HM(tF,{routes:Mk,base:"/"},e=>{Object.values(Object.assign({"./modules/i18n.ts":xI,"./modules/nprogress.ts":AI,"./modules/pinia.ts":UI,"./modules/pwa.ts":BI,"./modules/toast.ts":qI})).forEach(t=>{var n;return(n=t.install)==null?void 0:n.call(t,e)}),e.app.use($N),e.app.use(eF)});export{XA as $,DN as A,LN as B,Df as C,Md as D,FN as E,wt as F,qc as G,Jt as H,Dt as I,nn as J,QN as K,Je as L,ci as M,ct as N,jk as O,Gf as P,zk as Q,Ov as R,fu as S,Fs as T,Vn as U,Ce as V,Fk as W,Jn as X,No as Y,tn as Z,cr as _,Hs as a,Yv as a0,kn as a1,Yn as a2,Q$ as a3,AD as a4,Nr as a5,Vt as a6,jI as a7,Nk as a8,Vk as a9,ll as aa,qt as ab,WI as ac,Nf as ad,Lk as ae,ql as af,Gl as ag,fo as ah,YD as ai,ob as aj,gr as ak,kk as al,BF as am,MF as an,qk as ao,Gk as ap,H_ as aq,Xn as ar,Vi as as,Kk as at,KF as au,jF as av,od as aw,Dk as ax,Fe as b,ut as c,ge as d,EL as e,ZM as f,Mt as g,pk as h,et as i,we as j,Y$ as k,ks as l,Zl as m,My as n,Ve as o,V_ as p,LM as q,On as r,iA as s,Ut as t,Oe as u,Uo as v,kv as w,Uk as x,qn as y,du as z};
|