k5web/assets/vue.e23f7fca.js
2024-10-09 23:16:10 +08:00

24 lines
82 KiB
JavaScript

import{s as nr,u as xe,f as vs,i as Ne,n as ht,d as rr,r as sr,c as ee,h as or,p as Lt,j as se,w as We,k as ar,m as ir,l as Os,e as rt,q as cr,v as Ss,x as lr,y as ur,t as Ns,g as bs,o as Ts,z as fr,a as As}from"./arco.9755215d.js";/*!
* vue-router v4.4.3
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const Ue=typeof document<"u";function Cs(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const x=Object.assign;function Pt(e,t){const n={};for(const r in t){const s=t[r];n[r]=ue(s)?s.map(e):e(s)}return n}const et=()=>{},ue=Array.isArray,dr=/#/g,Ls=/&/g,Ps=/\//g,ws=/=/g,Rs=/\?/g,mr=/\+/g,Is=/%5B/g,ks=/%5D/g,pr=/%5E/g,Ms=/%60/g,hr=/%7B/g,Ds=/%7C/g,_r=/%7D/g,Fs=/%20/g;function Bt(e){return encodeURI(""+e).replace(Ds,"|").replace(Is,"[").replace(ks,"]")}function $s(e){return Bt(e).replace(hr,"{").replace(_r,"}").replace(pr,"^")}function Dt(e){return Bt(e).replace(mr,"%2B").replace(Fs,"+").replace(dr,"%23").replace(Ls,"%26").replace(Ms,"`").replace(hr,"{").replace(_r,"}").replace(pr,"^")}function Us(e){return Dt(e).replace(ws,"%3D")}function js(e){return Bt(e).replace(dr,"%23").replace(Rs,"%3F")}function xs(e){return e==null?"":js(e).replace(Ps,"%2F")}function st(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ws=/\/$/,Ks=e=>e.replace(Ws,"");function wt(e,t,n="/"){let r,s={},o="",i="";const c=t.indexOf("#");let a=t.indexOf("?");return c<a&&c>=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,c>-1?c:t.length),s=e(o)),c>-1&&(r=r||t.slice(0,c),i=t.slice(c,t.length)),r=Bs(r!=null?r:t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:st(i)}}function Hs(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function sn(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Gs(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Ke(t.matched[r],n.matched[s])&&gr(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ke(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gr(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Vs(e[n],t[n]))return!1;return!0}function Vs(e,t){return ue(e)?on(e,t):ue(t)?on(t,e):e===t}function on(e,t){return ue(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Bs(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,c;for(i=0;i<r.length;i++)if(c=r[i],c!==".")if(c==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const ye={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ot;(function(e){e.pop="pop",e.push="push"})(ot||(ot={}));var tt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(tt||(tt={}));function Xs(e){if(!e)if(Ue){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ks(e)}const Ys=/^[^#]+#/;function qs(e,t){return e.replace(Ys,"#")+t}function Qs(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const _t=()=>({left:window.scrollX,top:window.scrollY});function Js(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Qs(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function an(e,t){return(history.state?history.state.position-t:-1)+e}const Ft=new Map;function Zs(e,t){Ft.set(e,t)}function zs(e){const t=Ft.get(e);return Ft.delete(e),t}let eo=()=>location.protocol+"//"+location.host;function Er(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let c=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(c);return a[0]!=="/"&&(a="/"+a),sn(a,"")}return sn(n,e)+r+s}function to(e,t,n,r){let s=[],o=[],i=null;const c=({state:m})=>{const _=Er(e,location),C=n.value,A=t.value;let N=0;if(m){if(n.value=_,t.value=m,i&&i===C){i=null;return}N=A?m.position-A.position:0}else r(_);s.forEach(L=>{L(n.value,C,{delta:N,type:ot.pop,direction:N?N>0?tt.forward:tt.back:tt.unknown})})};function a(){i=n.value}function f(m){s.push(m);const _=()=>{const C=s.indexOf(m);C>-1&&s.splice(C,1)};return o.push(_),_}function p(){const{history:m}=window;!m.state||m.replaceState(x({},m.state,{scroll:_t()}),"")}function d(){for(const m of o)m();o=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",p)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",p,{passive:!0}),{pauseListeners:a,listen:f,destroy:d}}function cn(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?_t():null}}function no(e){const{history:t,location:n}=window,r={value:Er(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,f,p){const d=e.indexOf("#"),m=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:eo()+e+a;try{t[p?"replaceState":"pushState"](f,"",m),s.value=f}catch(_){console.error(_),n[p?"replace":"assign"](m)}}function i(a,f){const p=x({},t.state,cn(s.value.back,a,s.value.forward,!0),f,{position:s.value.position});o(a,p,!0),r.value=a}function c(a,f){const p=x({},s.value,t.state,{forward:a,scroll:_t()});o(p.current,p,!0);const d=x({},cn(r.value,a,null),{position:p.position+1},f);o(a,d,!1),r.value=a}return{location:r,state:s,push:c,replace:i}}function ro(e){e=Xs(e);const t=no(e),n=to(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=x({location:"",base:e,go:r,createHref:qs.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Cc(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ro(e)}function so(e){return typeof e=="string"||e&&typeof e=="object"}function yr(e){return typeof e=="string"||typeof e=="symbol"}const vr=Symbol("");var ln;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ln||(ln={}));function He(e,t){return x(new Error,{type:e,[vr]:!0},t)}function pe(e,t){return e instanceof Error&&vr in e&&(t==null||!!(e.type&t))}const un="[^/]+?",oo={sensitive:!1,strict:!1,start:!0,end:!0},ao=/[.+*?^${}()[\]/\\]/g;function io(e,t){const n=x({},oo,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const p=f.length?[]:[90];n.strict&&!f.length&&(s+="/");for(let d=0;d<f.length;d++){const m=f[d];let _=40+(n.sensitive?.25:0);if(m.type===0)d||(s+="/"),s+=m.value.replace(ao,"\\$&"),_+=40;else if(m.type===1){const{value:C,repeatable:A,optional:N,regexp:L}=m;o.push({name:C,repeatable:A,optional:N});const T=L||un;if(T!==un){_+=10;try{new RegExp(`(${T})`)}catch(g){throw new Error(`Invalid custom RegExp for param "${C}" (${T}): `+g.message)}}let h=A?`((?:${T})(?:/(?:${T}))*)`:`(${T})`;d||(h=N&&f.length<2?`(?:/${h})`:"/"+h),N&&(h+="?"),s+=h,_+=20,N&&(_+=-8),A&&(_+=-20),T===".*"&&(_+=-50)}p.push(_)}r.push(p)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function c(f){const p=f.match(i),d={};if(!p)return null;for(let m=1;m<p.length;m++){const _=p[m]||"",C=o[m-1];d[C.name]=_&&C.repeatable?_.split("/"):_}return d}function a(f){let p="",d=!1;for(const m of e){(!d||!p.endsWith("/"))&&(p+="/"),d=!1;for(const _ of m)if(_.type===0)p+=_.value;else if(_.type===1){const{value:C,repeatable:A,optional:N}=_,L=C in f?f[C]:"";if(ue(L)&&!A)throw new Error(`Provided param "${C}" is an array but it is not repeatable (* or + modifiers)`);const T=ue(L)?L.join("/"):L;if(!T)if(N)m.length<2&&(p.endsWith("/")?p=p.slice(0,-1):d=!0);else throw new Error(`Missing required param "${C}"`);p+=T}}return p||"/"}return{re:i,score:r,keys:o,parse:c,stringify:a}}function co(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;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 Or(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=co(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(fn(r))return 1;if(fn(s))return-1}return s.length-r.length}function fn(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const lo={type:0,value:""},uo=/[a-zA-Z0-9_]/;function fo(e){if(!e)return[[]];if(e==="/")return[[lo]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${f}": ${_}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let c=0,a,f="",p="";function d(){!f||(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:p,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function m(){f+=a}for(;c<e.length;){if(a=e[c++],a==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:a==="/"?(f&&d(),i()):a===":"?(d(),n=1):m();break;case 4:m(),n=r;break;case 1:a==="("?n=2:uo.test(a)?m():(d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&c--);break;case 2:a===")"?p[p.length-1]=="\\"?p=p.slice(0,-1)+a:n=3:p+=a;break;case 3:d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&c--,p="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),d(),i(),s}function mo(e,t,n){const r=io(fo(e.path),n),s=x(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function po(e,t){const n=[],r=new Map;t=pn({strict:!1,end:!0,sensitive:!1},t);function s(d){return r.get(d)}function o(d,m,_){const C=!_,A=ho(d);A.aliasOf=_&&_.record;const N=pn(t,d),L=[A];if("alias"in d){const g=typeof d.alias=="string"?[d.alias]:d.alias;for(const S of g)L.push(x({},A,{components:_?_.record.components:A.components,path:S,aliasOf:_?_.record:A}))}let T,h;for(const g of L){const{path:S}=g;if(m&&S[0]!=="/"){const y=m.record.path,v=y[y.length-1]==="/"?"":"/";g.path=m.record.path+(S&&v+S)}if(T=mo(g,m,N),_?_.alias.push(T):(h=h||T,h!==T&&h.alias.push(T),C&&d.name&&!mn(T)&&i(d.name)),Sr(T)&&a(T),A.children){const y=A.children;for(let v=0;v<y.length;v++)o(y[v],T,_&&_.children[v])}_=_||T}return h?()=>{i(h)}:et}function i(d){if(yr(d)){const m=r.get(d);m&&(r.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function c(){return n}function a(d){const m=Eo(d,n);n.splice(m,0,d),d.record.name&&!mn(d)&&r.set(d.record.name,d)}function f(d,m){let _,C={},A,N;if("name"in d&&d.name){if(_=r.get(d.name),!_)throw He(1,{location:d});N=_.record.name,C=x(dn(m.params,_.keys.filter(h=>!h.optional).concat(_.parent?_.parent.keys.filter(h=>h.optional):[]).map(h=>h.name)),d.params&&dn(d.params,_.keys.map(h=>h.name))),A=_.stringify(C)}else if(d.path!=null)A=d.path,_=n.find(h=>h.re.test(A)),_&&(C=_.parse(A),N=_.record.name);else{if(_=m.name?r.get(m.name):n.find(h=>h.re.test(m.path)),!_)throw He(1,{location:d,currentLocation:m});N=_.record.name,C=x({},m.params,d.params),A=_.stringify(C)}const L=[];let T=_;for(;T;)L.unshift(T.record),T=T.parent;return{name:N,path:A,params:C,matched:L,meta:go(L)}}e.forEach(d=>o(d));function p(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:p,getRoutes:c,getRecordMatcher:s}}function dn(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function ho(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:_o(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 _o(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function mn(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function go(e){return e.reduce((t,n)=>x(t,n.meta),{})}function pn(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Eo(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Or(e,t[o])<0?r=o:n=o+1}const s=yo(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function yo(e){let t=e;for(;t=t.parent;)if(Sr(t)&&Or(e,t)===0)return t}function Sr({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function vo(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(mr," "),i=o.indexOf("="),c=st(i<0?o:o.slice(0,i)),a=i<0?null:st(o.slice(i+1));if(c in t){let f=t[c];ue(f)||(f=t[c]=[f]),f.push(a)}else t[c]=a}return t}function hn(e){let t="";for(let n in e){const r=e[n];if(n=Us(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(ue(r)?r.map(o=>o&&Dt(o)):[r&&Dt(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Oo(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ue(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const So=Symbol(""),_n=Symbol(""),gt=Symbol(""),Xt=Symbol(""),$t=Symbol("");function ze(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Se(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((c,a)=>{const f=m=>{m===!1?a(He(4,{from:n,to:t})):m instanceof Error?a(m):so(m)?a(He(2,{from:t,to:m})):(i&&r.enterCallbacks[s]===i&&typeof m=="function"&&i.push(m),c())},p=o(()=>e.call(r&&r.instances[s],t,n,f));let d=Promise.resolve(p);e.length<3&&(d=d.then(f)),d.catch(m=>a(m))})}function Rt(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const c in i.components){let a=i.components[c];if(!(t!=="beforeRouteEnter"&&!i.instances[c]))if(No(a)){const p=(a.__vccOpts||a)[t];p&&o.push(Se(p,n,r,i,c,s))}else{let f=a();o.push(()=>f.then(p=>{if(!p)return Promise.reject(new Error(`Couldn't resolve component "${c}" at "${i.path}"`));const d=Cs(p)?p.default:p;i.components[c]=d;const _=(d.__vccOpts||d)[t];return _&&Se(_,n,r,i,c,s)()}))}}return o}function No(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function gn(e){const t=Ne(gt),n=Ne(Xt),r=ee(()=>{const a=xe(e.to);return t.resolve(a)}),s=ee(()=>{const{matched:a}=r.value,{length:f}=a,p=a[f-1],d=n.matched;if(!p||!d.length)return-1;const m=d.findIndex(Ke.bind(null,p));if(m>-1)return m;const _=En(a[f-2]);return f>1&&En(p)===_&&d[d.length-1].path!==_?d.findIndex(Ke.bind(null,a[f-2])):m}),o=ee(()=>s.value>-1&&Co(n.params,r.value.params)),i=ee(()=>s.value>-1&&s.value===n.matched.length-1&&gr(n.params,r.value.params));function c(a={}){return Ao(a)?t[xe(e.replace)?"replace":"push"](xe(e.to)).catch(et):Promise.resolve()}return{route:r,href:ee(()=>r.value.href),isActive:o,isExactActive:i,navigate:c}}const bo=rr({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:gn,setup(e,{slots:t}){const n=sr(gn(e)),{options:r}=Ne(gt),s=ee(()=>({[yn(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[yn(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:or("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),To=bo;function Ao(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 Co(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!ue(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function En(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const yn=(e,t,n)=>e!=null?e:t!=null?t:n,Lo=rr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ne($t),s=ee(()=>e.route||r.value),o=Ne(_n,0),i=ee(()=>{let f=xe(o);const{matched:p}=s.value;let d;for(;(d=p[f])&&!d.components;)f++;return f}),c=ee(()=>s.value.matched[i.value]);Lt(_n,ee(()=>i.value+1)),Lt(So,c),Lt($t,s);const a=se();return We(()=>[a.value,c.value,e.name],([f,p,d],[m,_,C])=>{p&&(p.instances[d]=f,_&&_!==p&&f&&f===m&&(p.leaveGuards.size||(p.leaveGuards=_.leaveGuards),p.updateGuards.size||(p.updateGuards=_.updateGuards))),f&&p&&(!_||!Ke(p,_)||!m)&&(p.enterCallbacks[d]||[]).forEach(A=>A(f))},{flush:"post"}),()=>{const f=s.value,p=e.name,d=c.value,m=d&&d.components[p];if(!m)return vn(n.default,{Component:m,route:f});const _=d.props[p],C=_?_===!0?f.params:typeof _=="function"?_(f):_:null,N=or(m,x({},C,t,{onVnodeUnmounted:L=>{L.component.isUnmounted&&(d.instances[p]=null)},ref:a}));return vn(n.default,{Component:N,route:f})||N}}});function vn(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Po=Lo;function Lc(e){const t=po(e.routes,e),n=e.parseQuery||vo,r=e.stringifyQuery||hn,s=e.history,o=ze(),i=ze(),c=ze(),a=nr(ye);let f=ye;Ue&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const p=Pt.bind(null,O=>""+O),d=Pt.bind(null,xs),m=Pt.bind(null,st);function _(O,R){let w,I;return yr(O)?(w=t.getRecordMatcher(O),I=R):I=O,t.addRoute(I,w)}function C(O){const R=t.getRecordMatcher(O);R&&t.removeRoute(R)}function A(){return t.getRoutes().map(O=>O.record)}function N(O){return!!t.getRecordMatcher(O)}function L(O,R){if(R=x({},R||a.value),typeof O=="string"){const $=wt(n,O,R.path),G=t.resolve({path:$.path},R),me=s.createHref($.fullPath);return x($,G,{params:m(G.params),hash:st($.hash),redirectedFrom:void 0,href:me})}let w;if(O.path!=null)w=x({},O,{path:wt(n,O.path,R.path).path});else{const $=x({},O.params);for(const G in $)$[G]==null&&delete $[G];w=x({},O,{params:d($)}),R.params=d(R.params)}const I=t.resolve(w,R),W=O.hash||"";I.params=p(m(I.params));const B=Hs(r,x({},O,{hash:$s(W),path:I.path})),j=s.createHref(B);return x({fullPath:B,hash:W,query:r===hn?Oo(O.query):O.query||{}},I,{redirectedFrom:void 0,href:j})}function T(O){return typeof O=="string"?wt(n,O,a.value.path):x({},O)}function h(O,R){if(f!==O)return He(8,{from:R,to:O})}function g(O){return v(O)}function S(O){return g(x(T(O),{replace:!0}))}function y(O){const R=O.matched[O.matched.length-1];if(R&&R.redirect){const{redirect:w}=R;let I=typeof w=="function"?w(O):w;return typeof I=="string"&&(I=I.includes("?")||I.includes("#")?I=T(I):{path:I},I.params={}),x({query:O.query,hash:O.hash,params:I.path!=null?{}:O.params},I)}}function v(O,R){const w=f=L(O),I=a.value,W=O.state,B=O.force,j=O.replace===!0,$=y(w);if($)return v(x(T($),{state:typeof $=="object"?x({},W,$.state):W,force:B,replace:j}),R||w);const G=w;G.redirectedFrom=R;let me;return!B&&Gs(r,I,w)&&(me=He(16,{to:G,from:I}),ct(I,I,!0,!1)),(me?Promise.resolve(me):F(G,I)).catch(Q=>pe(Q)?pe(Q,2)?Q:Je(Q):Qe(Q,G,I)).then(Q=>{if(Q){if(pe(Q,2))return v(x({replace:j},T(Q.to),{state:typeof Q.to=="object"?x({},W,Q.to.state):W,force:B}),R||G)}else Q=U(G,I,!0,j,W);return Y(G,I,Q),Q})}function E(O,R){const w=h(O,R);return w?Promise.reject(w):Promise.resolve()}function P(O){const R=Le.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(O):O()}function F(O,R){let w;const[I,W,B]=wo(O,R);w=Rt(I.reverse(),"beforeRouteLeave",O,R);for(const $ of I)$.leaveGuards.forEach(G=>{w.push(Se(G,O,R))});const j=E.bind(null,O,R);return w.push(j),ge(w).then(()=>{w=[];for(const $ of o.list())w.push(Se($,O,R));return w.push(j),ge(w)}).then(()=>{w=Rt(W,"beforeRouteUpdate",O,R);for(const $ of W)$.updateGuards.forEach(G=>{w.push(Se(G,O,R))});return w.push(j),ge(w)}).then(()=>{w=[];for(const $ of B)if($.beforeEnter)if(ue($.beforeEnter))for(const G of $.beforeEnter)w.push(Se(G,O,R));else w.push(Se($.beforeEnter,O,R));return w.push(j),ge(w)}).then(()=>(O.matched.forEach($=>$.enterCallbacks={}),w=Rt(B,"beforeRouteEnter",O,R,P),w.push(j),ge(w))).then(()=>{w=[];for(const $ of i.list())w.push(Se($,O,R));return w.push(j),ge(w)}).catch($=>pe($,8)?$:Promise.reject($))}function Y(O,R,w){c.list().forEach(I=>P(()=>I(O,R,w)))}function U(O,R,w,I,W){const B=h(O,R);if(B)return B;const j=R===ye,$=Ue?history.state:{};w&&(I||j?s.replace(O.fullPath,x({scroll:j&&$&&$.scroll},W)):s.push(O.fullPath,W)),a.value=O,ct(O,R,w,j),Je()}let V;function qe(){V||(V=s.listen((O,R,w)=>{if(!lt.listening)return;const I=L(O),W=y(I);if(W){v(x(W,{replace:!0}),I).catch(et);return}f=I;const B=a.value;Ue&&Zs(an(B.fullPath,w.delta),_t()),F(I,B).catch(j=>pe(j,12)?j:pe(j,2)?(v(j.to,I).then($=>{pe($,20)&&!w.delta&&w.type===ot.pop&&s.go(-1,!1)}).catch(et),Promise.reject()):(w.delta&&s.go(-w.delta,!1),Qe(j,I,B))).then(j=>{j=j||U(I,B,!1),j&&(w.delta&&!pe(j,8)?s.go(-w.delta,!1):w.type===ot.pop&&pe(j,20)&&s.go(-1,!1)),Y(I,B,j)}).catch(et)}))}let Ce=ze(),fe=ze(),q;function Qe(O,R,w){Je(O);const I=fe.list();return I.length?I.forEach(W=>W(O,R,w)):console.error(O),Promise.reject(O)}function At(){return q&&a.value!==ye?Promise.resolve():new Promise((O,R)=>{Ce.add([O,R])})}function Je(O){return q||(q=!O,qe(),Ce.list().forEach(([R,w])=>O?w(O):R()),Ce.reset()),O}function ct(O,R,w,I){const{scrollBehavior:W}=e;if(!Ue||!W)return Promise.resolve();const B=!w&&zs(an(O.fullPath,0))||(I||!w)&&history.state&&history.state.scroll||null;return ht().then(()=>W(O,R,B)).then(j=>j&&Js(j)).catch(j=>Qe(j,O,R))}const Fe=O=>s.go(O);let Ze;const Le=new Set,lt={currentRoute:a,listening:!0,addRoute:_,removeRoute:C,clearRoutes:t.clearRoutes,hasRoute:N,getRoutes:A,resolve:L,options:e,push:g,replace:S,go:Fe,back:()=>Fe(-1),forward:()=>Fe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:c.add,onError:fe.add,isReady:At,install(O){const R=this;O.component("RouterLink",To),O.component("RouterView",Po),O.config.globalProperties.$router=R,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>xe(a)}),Ue&&!Ze&&a.value===ye&&(Ze=!0,g(s.location).catch(W=>{}));const w={};for(const W in ye)Object.defineProperty(w,W,{get:()=>a.value[W],enumerable:!0});O.provide(gt,R),O.provide(Xt,vs(w)),O.provide($t,a);const I=O.unmount;Le.add(O),O.unmount=function(){Le.delete(O),Le.size<1&&(f=ye,V&&V(),V=null,a.value=ye,Ze=!1,q=!1),I()}}};function ge(O){return O.reduce((R,w)=>R.then(()=>P(w)),Promise.resolve())}return lt}function wo(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const c=t.matched[i];c&&(e.matched.find(f=>Ke(f,c))?r.push(c):n.push(c));const a=e.matched[i];a&&(t.matched.find(f=>Ke(f,a))||s.push(a))}return[n,r,s]}function Pc(){return Ne(gt)}function wc(e){return Ne(Xt)}var Ro=!1;/*!
* pinia v2.2.2
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/let Nr;const Et=e=>Nr=e,br=Symbol();function Ut(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var nt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(nt||(nt={}));function Rc(){const e=ar(!0),t=e.run(()=>se({}));let n=[],r=[];const s=ir({install(o){Et(s),s._a=o,o.provide(br,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return!this._a&&!Ro?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Tr=()=>{};function On(e,t,n,r=Tr){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&lr()&&ur(s),s}function $e(e,...t){e.slice().forEach(n=>{n(...t)})}const Io=e=>e(),Sn=Symbol(),It=Symbol();function jt(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Ut(s)&&Ut(r)&&e.hasOwnProperty(n)&&!rt(r)&&!cr(r)?e[n]=jt(s,r):e[n]=r}return e}const ko=Symbol();function Mo(e){return!Ut(e)||!e.hasOwnProperty(ko)}const{assign:Oe}=Object;function Do(e){return!!(rt(e)&&e.effect)}function Fo(e,t,n,r){const{state:s,actions:o,getters:i}=t,c=n.state.value[e];let a;function f(){c||(n.state.value[e]=s?s():{});const p=Ns(n.state.value[e]);return Oe(p,o,Object.keys(i||{}).reduce((d,m)=>(d[m]=ir(ee(()=>{Et(n);const _=n._s.get(e);return i[m].call(_,_)})),d),{}))}return a=Ar(e,f,t,n,r,!0),a}function Ar(e,t,n={},r,s,o){let i;const c=Oe({actions:{}},n),a={deep:!0};let f,p,d=[],m=[],_;const C=r.state.value[e];!o&&!C&&(r.state.value[e]={}),se({});let A;function N(E){let P;f=p=!1,typeof E=="function"?(E(r.state.value[e]),P={type:nt.patchFunction,storeId:e,events:_}):(jt(r.state.value[e],E),P={type:nt.patchObject,payload:E,storeId:e,events:_});const F=A=Symbol();ht().then(()=>{A===F&&(f=!0)}),p=!0,$e(d,P,r.state.value[e])}const L=o?function(){const{state:P}=n,F=P?P():{};this.$patch(Y=>{Oe(Y,F)})}:Tr;function T(){i.stop(),d=[],m=[],r._s.delete(e)}const h=(E,P="")=>{if(Sn in E)return E[It]=P,E;const F=function(){Et(r);const Y=Array.from(arguments),U=[],V=[];function qe(q){U.push(q)}function Ce(q){V.push(q)}$e(m,{args:Y,name:F[It],store:S,after:qe,onError:Ce});let fe;try{fe=E.apply(this&&this.$id===e?this:S,Y)}catch(q){throw $e(V,q),q}return fe instanceof Promise?fe.then(q=>($e(U,q),q)).catch(q=>($e(V,q),Promise.reject(q))):($e(U,fe),fe)};return F[Sn]=!0,F[It]=P,F},g={_p:r,$id:e,$onAction:On.bind(null,m),$patch:N,$reset:L,$subscribe(E,P={}){const F=On(d,E,P.detached,()=>Y()),Y=i.run(()=>We(()=>r.state.value[e],U=>{(P.flush==="sync"?p:f)&&E({storeId:e,type:nt.direct,events:_},U)},Oe({},a,P)));return F},$dispose:T},S=sr(g);r._s.set(e,S);const v=(r._a&&r._a.runWithContext||Io)(()=>r._e.run(()=>(i=ar()).run(()=>t({action:h}))));for(const E in v){const P=v[E];if(rt(P)&&!Do(P)||cr(P))o||(C&&Mo(P)&&(rt(P)?P.value=C[E]:jt(P,C[E])),r.state.value[e][E]=P);else if(typeof P=="function"){const F=h(P,E);v[E]=F,c.actions[E]=P}}return Oe(S,v),Oe(Ss(S),v),Object.defineProperty(S,"$state",{get:()=>r.state.value[e],set:E=>{N(P=>{Oe(P,E)})}}),r._p.forEach(E=>{Oe(S,i.run(()=>E({store:S,app:r._a,pinia:r,options:c})))}),C&&o&&n.hydrate&&n.hydrate(S.$state,C),f=!0,p=!0,S}function Ic(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(c,a){const f=Os();return c=c||(f?Ne(br,null):null),c&&Et(c),c=Nr,c._s.has(r)||(o?Ar(r,t,s,c):Fo(r,s,c)),c._s.get(r)}return i.$id=r,i}/*!
* shared v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const Cr=typeof window<"u";let Lr,Pr;{const e=Cr&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Lr=t=>{e.mark(t)},Pr=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const $o=/\{([0-9a-zA-Z]+)\}/g;function Uo(e,...t){return t.length===1&&at(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace($o,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const jo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),xo=(e,t,n)=>wr({l:e,k:t,s:n}),wr=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Wo=e=>typeof e=="number"&&isFinite(e),Ko=e=>Qt(e)==="[object Date]",Ho=e=>Qt(e)==="[object RegExp]",Go=e=>Jt(e)&&Object.keys(e).length===0,Vo=Object.assign;let Nn;const Bo=()=>Nn||(Nn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xo(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Yo=Object.prototype.hasOwnProperty;function qo(e,t){return Yo.call(e,t)}const Yt=Array.isArray,xt=e=>typeof e=="function",Qo=e=>typeof e=="string",Jo=e=>typeof e=="boolean",Zo=e=>typeof e=="symbol",at=e=>e!==null&&typeof e=="object",zo=e=>at(e)&&xt(e.then)&&xt(e.catch),qt=Object.prototype.toString,Qt=e=>qt.call(e),Jt=e=>{if(!at(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},ea=e=>e==null?"":Yt(e)||Jt(e)&&e.toString===qt?JSON.stringify(e,null,2):String(e);function ta(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const bn=2;function na(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const o=[];for(let i=0;i<r.length;i++)if(s+=r[i].length+1,s>=t){for(let c=i-bn;c<=i+bn||n>s;c++){if(c<0||c>=r.length)continue;const a=c+1;o.push(`${a}${" ".repeat(3-String(a).length)}| ${r[c]}`);const f=r[c].length;if(c===i){const p=t-(s-f)+1,d=Math.max(1,n>s?f-p:n-t);o.push(" | "+" ".repeat(p)+"^".repeat(d))}else if(c>i){if(n>s){const p=Math.max(Math.min(n-s,f),1);o.push(" | "+"^".repeat(p))}s+=f+1}}break}return o.join(`
`)}function ra(e){let t=e;return()=>++t}function Rr(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Tn={};function sa(e){Tn[e]||(Tn[e]=!0,Rr(e))}function oa(){const e=new Map;return{events:e,on(n,r){const s=e.get(n);s&&s.push(r)||e.set(n,[r])},off(n,r){const s=e.get(n);s&&s.splice(s.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(s=>s(r)),(e.get("*")||[]).slice().map(s=>s(n,r))}}}const ut=e=>!at(e)||Yt(e);function aa(e,t){if(ut(e)||ut(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{ut(r[o])||ut(s[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]})})}}const kc=Object.freeze(Object.defineProperty({__proto__:null,assign:Vo,createEmitter:oa,deepCopy:aa,escapeHtml:Xo,format:Uo,friendlyJSONstringify:wr,generateCodeFrame:na,generateFormatCacheKey:xo,getGlobalThis:Bo,hasOwn:qo,inBrowser:Cr,incrementer:ra,isArray:Yt,isBoolean:Jo,isDate:Ko,isEmptyObject:Go,isFunction:xt,isNumber:Wo,isObject:at,isPlainObject:Jt,isPromise:zo,isRegExp:Ho,isString:Qo,isSymbol:Zo,join:ta,makeSymbol:jo,get mark(){return Lr},get measure(){return Pr},objectToString:qt,toDisplayString:ea,toTypeString:Qt,warn:Rr,warnOnce:sa},Symbol.toStringTag,{value:"Module"}));/*!
* core-base v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const ke=typeof window<"u";let ae,Me;{const e=ke&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ae=t=>{e.mark(t)},Me=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const ia=/\{([0-9a-zA-Z]+)\}/g;function yt(e,...t){return t.length===1&&Z(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(ia,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const ca=(e,t,n)=>la({l:e,k:t,s:n}),la=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),oe=e=>typeof e=="number"&&isFinite(e),ua=e=>kr(e)==="[object Date]",An=e=>kr(e)==="[object RegExp]",Zt=e=>H(e)&&Object.keys(e).length===0,Te=Object.assign;function Cn(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const de=Array.isArray,J=e=>typeof e=="function",D=e=>typeof e=="string",re=e=>typeof e=="boolean",Z=e=>e!==null&&typeof e=="object",fa=e=>Z(e)&&J(e.then)&&J(e.catch),Ir=Object.prototype.toString,kr=e=>Ir.call(e),H=e=>{if(!Z(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},da=e=>e==null?"":de(e)||H(e)&&e.toString===Ir?JSON.stringify(e,null,2):String(e);function zt(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const Ln=2;function ma(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const o=[];for(let i=0;i<r.length;i++)if(s+=r[i].length+1,s>=t){for(let c=i-Ln;c<=i+Ln||n>s;c++){if(c<0||c>=r.length)continue;const a=c+1;o.push(`${a}${" ".repeat(3-String(a).length)}| ${r[c]}`);const f=r[c].length;if(c===i){const p=t-(s-f)+1,d=Math.max(1,n>s?f-p:n-t);o.push(" | "+" ".repeat(p)+"^".repeat(d))}else if(c>i){if(n>s){const p=Math.max(Math.min(n-s,f),1);o.push(" | "+"^".repeat(p))}s+=f+1}}break}return o.join(`
`)}function Mr(e){let t=e;return()=>++t}function Xe(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Pn={};function pa(e){Pn[e]||(Pn[e]=!0,Xe(e))}function ha(e,t,n){return{line:e,column:t,offset:n}}function ft(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const vt={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},_a={[vt.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function ga(e,t,...n){const r=yt(_a[e]||"",...n||[]),s={message:String(r),code:e};return t&&(s.location=t),s}const M={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Ea={[M.EXPECTED_TOKEN]:"Expected token: '{0}'",[M.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[M.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[M.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[M.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[M.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[M.EMPTY_PLACEHOLDER]:"Empty placeholder",[M.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[M.INVALID_LINKED_FORMAT]:"Invalid linked format",[M.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[M.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[M.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[M.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[M.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[M.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ye(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=yt((s||Ea)[e]||"",...o||[]),c=new SyntaxError(String(i));return c.code=e,t&&(c.location=t),c.domain=r,c}function ya(e){throw e}const va=/<\/?[\w\s="/.':;#-\/]+>/,Oa=e=>va.test(e),he=" ",Sa="\r",te=`
`,Na=String.fromCharCode(8232),ba=String.fromCharCode(8233);function Ta(e){const t=e;let n=0,r=1,s=1,o=0;const i=v=>t[v]===Sa&&t[v+1]===te,c=v=>t[v]===te,a=v=>t[v]===ba,f=v=>t[v]===Na,p=v=>i(v)||c(v)||a(v)||f(v),d=()=>n,m=()=>r,_=()=>s,C=()=>o,A=v=>i(v)||a(v)||f(v)?te:t[v],N=()=>A(n),L=()=>A(n+o);function T(){return o=0,p(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function h(){return i(n+o)&&o++,o++,t[n+o]}function g(){n=0,r=1,s=1,o=0}function S(v=0){o=v}function y(){const v=n+o;for(;v!==n;)T();o=0}return{index:d,line:m,column:_,peekOffset:C,charAt:A,currentChar:N,currentPeek:L,next:T,peek:h,reset:g,resetPeek:S,skipToPeek:y}}const ve=void 0,Aa=".",wn="'",Ca="tokenizer";function La(e,t={}){const n=t.location!==!1,r=Ta(e),s=()=>r.index(),o=()=>ha(r.line(),r.column(),r.index()),i=o(),c=s(),a={currentType:14,offset:c,startLoc:i,endLoc:i,lastType:14,lastOffset:c,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},f=()=>a,{onError:p}=t;function d(l,u,b,...k){const X=f();if(u.column+=b,u.offset+=b,p){const K=n?ft(X.startLoc,u):null,Ee=Ye(l,K,{domain:Ca,args:k});p(Ee)}}function m(l,u,b){l.endLoc=o(),l.currentType=u;const k={type:u};return n&&(k.loc=ft(l.startLoc,l.endLoc)),b!=null&&(k.value=b),k}const _=l=>m(l,14);function C(l,u){return l.currentChar()===u?(l.next(),u):(d(M.EXPECTED_TOKEN,o(),0,u),"")}function A(l){let u="";for(;l.currentPeek()===he||l.currentPeek()===te;)u+=l.currentPeek(),l.peek();return u}function N(l){const u=A(l);return l.skipToPeek(),u}function L(l){if(l===ve)return!1;const u=l.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function T(l){if(l===ve)return!1;const u=l.charCodeAt(0);return u>=48&&u<=57}function h(l,u){const{currentType:b}=u;if(b!==2)return!1;A(l);const k=L(l.currentPeek());return l.resetPeek(),k}function g(l,u){const{currentType:b}=u;if(b!==2)return!1;A(l);const k=l.currentPeek()==="-"?l.peek():l.currentPeek(),X=T(k);return l.resetPeek(),X}function S(l,u){const{currentType:b}=u;if(b!==2)return!1;A(l);const k=l.currentPeek()===wn;return l.resetPeek(),k}function y(l,u){const{currentType:b}=u;if(b!==8)return!1;A(l);const k=l.currentPeek()===".";return l.resetPeek(),k}function v(l,u){const{currentType:b}=u;if(b!==9)return!1;A(l);const k=L(l.currentPeek());return l.resetPeek(),k}function E(l,u){const{currentType:b}=u;if(!(b===8||b===12))return!1;A(l);const k=l.currentPeek()===":";return l.resetPeek(),k}function P(l,u){const{currentType:b}=u;if(b!==10)return!1;const k=()=>{const K=l.currentPeek();return K==="{"?L(l.peek()):K==="@"||K==="%"||K==="|"||K===":"||K==="."||K===he||!K?!1:K===te?(l.peek(),k()):U(l,!1)},X=k();return l.resetPeek(),X}function F(l){A(l);const u=l.currentPeek()==="|";return l.resetPeek(),u}function Y(l){const u=A(l),b=l.currentPeek()==="%"&&l.peek()==="{";return l.resetPeek(),{isModulo:b,hasSpace:u.length>0}}function U(l,u=!0){const b=(X=!1,K="",Ee=!1)=>{const Pe=l.currentPeek();return Pe==="{"?K==="%"?!1:X:Pe==="@"||!Pe?K==="%"?!0:X:Pe==="%"?(l.peek(),b(X,"%",!0)):Pe==="|"?K==="%"||Ee?!0:!(K===he||K===te):Pe===he?(l.peek(),b(!0,he,Ee)):Pe===te?(l.peek(),b(!0,te,Ee)):!0},k=b();return u&&l.resetPeek(),k}function V(l,u){const b=l.currentChar();return b===ve?ve:u(b)?(l.next(),b):null}function qe(l){const u=l.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36}function Ce(l){return V(l,qe)}function fe(l){const u=l.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||u===95||u===36||u===45}function q(l){return V(l,fe)}function Qe(l){const u=l.charCodeAt(0);return u>=48&&u<=57}function At(l){return V(l,Qe)}function Je(l){const u=l.charCodeAt(0);return u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102}function ct(l){return V(l,Je)}function Fe(l){let u="",b="";for(;u=At(l);)b+=u;return b}function Ze(l){N(l);const u=l.currentChar();return u!=="%"&&d(M.EXPECTED_TOKEN,o(),0,u),l.next(),"%"}function Le(l){let u="";for(;;){const b=l.currentChar();if(b==="{"||b==="}"||b==="@"||b==="|"||!b)break;if(b==="%")if(U(l))u+=b,l.next();else break;else if(b===he||b===te)if(U(l))u+=b,l.next();else{if(F(l))break;u+=b,l.next()}else u+=b,l.next()}return u}function lt(l){N(l);let u="",b="";for(;u=q(l);)b+=u;return l.currentChar()===ve&&d(M.UNTERMINATED_CLOSING_BRACE,o(),0),b}function ge(l){N(l);let u="";return l.currentChar()==="-"?(l.next(),u+=`-${Fe(l)}`):u+=Fe(l),l.currentChar()===ve&&d(M.UNTERMINATED_CLOSING_BRACE,o(),0),u}function O(l){return l!==wn&&l!==te}function R(l){N(l),C(l,"'");let u="",b="";for(;u=V(l,O);)u==="\\"?b+=w(l):b+=u;const k=l.currentChar();return k===te||k===ve?(d(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),k===te&&(l.next(),C(l,"'")),b):(C(l,"'"),b)}function w(l){const u=l.currentChar();switch(u){case"\\":case"'":return l.next(),`\\${u}`;case"u":return I(l,u,4);case"U":return I(l,u,6);default:return d(M.UNKNOWN_ESCAPE_SEQUENCE,o(),0,u),""}}function I(l,u,b){C(l,u);let k="";for(let X=0;X<b;X++){const K=ct(l);if(!K){d(M.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${u}${k}${l.currentChar()}`);break}k+=K}return`\\${u}${k}`}function W(l){return l!=="{"&&l!=="}"&&l!==he&&l!==te}function B(l){N(l);let u="",b="";for(;u=V(l,W);)b+=u;return b}function j(l){let u="",b="";for(;u=Ce(l);)b+=u;return b}function $(l){const u=b=>{const k=l.currentChar();return k==="{"||k==="%"||k==="@"||k==="|"||k==="("||k===")"||!k||k===he?b:(b+=k,l.next(),u(b))};return u("")}function G(l){N(l);const u=C(l,"|");return N(l),u}function me(l,u){let b=null;switch(l.currentChar()){case"{":return u.braceNest>=1&&d(M.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),l.next(),b=m(u,2,"{"),N(l),u.braceNest++,b;case"}":return u.braceNest>0&&u.currentType===2&&d(M.EMPTY_PLACEHOLDER,o(),0),l.next(),b=m(u,3,"}"),u.braceNest--,u.braceNest>0&&N(l),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),b;case"@":return u.braceNest>0&&d(M.UNTERMINATED_CLOSING_BRACE,o(),0),b=Q(l,u)||_(u),u.braceNest=0,b;default:{let X=!0,K=!0,Ee=!0;if(F(l))return u.braceNest>0&&d(M.UNTERMINATED_CLOSING_BRACE,o(),0),b=m(u,1,G(l)),u.braceNest=0,u.inLinked=!1,b;if(u.braceNest>0&&(u.currentType===5||u.currentType===6||u.currentType===7))return d(M.UNTERMINATED_CLOSING_BRACE,o(),0),u.braceNest=0,Ct(l,u);if(X=h(l,u))return b=m(u,5,lt(l)),N(l),b;if(K=g(l,u))return b=m(u,6,ge(l)),N(l),b;if(Ee=S(l,u))return b=m(u,7,R(l)),N(l),b;if(!X&&!K&&!Ee)return b=m(u,13,B(l)),d(M.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,b.value),N(l),b;break}}return b}function Q(l,u){const{currentType:b}=u;let k=null;const X=l.currentChar();switch((b===8||b===9||b===12||b===10)&&(X===te||X===he)&&d(M.INVALID_LINKED_FORMAT,o(),0),X){case"@":return l.next(),k=m(u,8,"@"),u.inLinked=!0,k;case".":return N(l),l.next(),m(u,9,".");case":":return N(l),l.next(),m(u,10,":");default:return F(l)?(k=m(u,1,G(l)),u.braceNest=0,u.inLinked=!1,k):y(l,u)||E(l,u)?(N(l),Q(l,u)):v(l,u)?(N(l),m(u,12,j(l))):P(l,u)?(N(l),X==="{"?me(l,u)||k:m(u,11,$(l))):(b===8&&d(M.INVALID_LINKED_FORMAT,o(),0),u.braceNest=0,u.inLinked=!1,Ct(l,u))}}function Ct(l,u){let b={type:14};if(u.braceNest>0)return me(l,u)||_(u);if(u.inLinked)return Q(l,u)||_(u);switch(l.currentChar()){case"{":return me(l,u)||_(u);case"}":return d(M.UNBALANCED_CLOSING_BRACE,o(),0),l.next(),m(u,3,"}");case"@":return Q(l,u)||_(u);default:{if(F(l))return b=m(u,1,G(l)),u.braceNest=0,u.inLinked=!1,b;const{isModulo:X,hasSpace:K}=Y(l);if(X)return K?m(u,0,Le(l)):m(u,4,Ze(l));if(U(l))return m(u,0,Le(l));break}}return b}function ys(){const{currentType:l,offset:u,startLoc:b,endLoc:k}=a;return a.lastType=l,a.lastOffset=u,a.lastStartLoc=b,a.lastEndLoc=k,a.offset=s(),a.startLoc=o(),r.currentChar()===ve?m(a,14):Ct(r,a)}return{nextToken:ys,currentOffset:s,currentPosition:o,context:f}}const Pa="parser",wa=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Ra(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function Ia(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function s(h,g,S,y,...v){const E=h.currentPosition();if(E.offset+=y,E.column+=y,n){const P=t?ft(S,E):null,F=Ye(g,P,{domain:Pa,args:v});n(F)}}function o(h,g,S,y,...v){const E=h.currentPosition();if(E.offset+=y,E.column+=y,r){const P=t?ft(S,E):null;r(ga(g,P,v))}}function i(h,g,S){const y={type:h};return t&&(y.start=g,y.end=g,y.loc={start:S,end:S}),y}function c(h,g,S,y){y&&(h.type=y),t&&(h.end=g,h.loc&&(h.loc.end=S))}function a(h,g){const S=h.context(),y=i(3,S.offset,S.startLoc);return y.value=g,c(y,h.currentOffset(),h.currentPosition()),y}function f(h,g){const S=h.context(),{lastOffset:y,lastStartLoc:v}=S,E=i(5,y,v);return E.index=parseInt(g,10),h.nextToken(),c(E,h.currentOffset(),h.currentPosition()),E}function p(h,g,S){const y=h.context(),{lastOffset:v,lastStartLoc:E}=y,P=i(4,v,E);return P.key=g,S===!0&&(P.modulo=!0),h.nextToken(),c(P,h.currentOffset(),h.currentPosition()),P}function d(h,g){const S=h.context(),{lastOffset:y,lastStartLoc:v}=S,E=i(9,y,v);return E.value=g.replace(wa,Ra),h.nextToken(),c(E,h.currentOffset(),h.currentPosition()),E}function m(h){const g=h.nextToken(),S=h.context(),{lastOffset:y,lastStartLoc:v}=S,E=i(8,y,v);return g.type!==12?(s(h,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),E.value="",c(E,y,v),{nextConsumeToken:g,node:E}):(g.value==null&&s(h,M.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ce(g)),E.value=g.value||"",c(E,h.currentOffset(),h.currentPosition()),{node:E})}function _(h,g){const S=h.context(),y=i(7,S.offset,S.startLoc);return y.value=g,c(y,h.currentOffset(),h.currentPosition()),y}function C(h){const g=h.context(),S=i(6,g.offset,g.startLoc);let y=h.nextToken();if(y.type===9){const v=m(h);S.modifier=v.node,y=v.nextConsumeToken||h.nextToken()}switch(y.type!==10&&s(h,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ce(y)),y=h.nextToken(),y.type===2&&(y=h.nextToken()),y.type){case 11:y.value==null&&s(h,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ce(y)),S.key=_(h,y.value||"");break;case 5:y.value==null&&s(h,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ce(y)),S.key=p(h,y.value||"");break;case 6:y.value==null&&s(h,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ce(y)),S.key=f(h,y.value||"");break;case 7:y.value==null&&s(h,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ce(y)),S.key=d(h,y.value||"");break;default:{s(h,M.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const v=h.context(),E=i(7,v.offset,v.startLoc);return E.value="",c(E,v.offset,v.startLoc),S.key=E,c(S,v.offset,v.startLoc),{nextConsumeToken:y,node:S}}}return c(S,h.currentOffset(),h.currentPosition()),{node:S}}function A(h){const g=h.context(),S=g.currentType===1?h.currentOffset():g.offset,y=g.currentType===1?g.endLoc:g.startLoc,v=i(2,S,y);v.items=[];let E=null,P=null;do{const U=E||h.nextToken();switch(E=null,U.type){case 0:U.value==null&&s(h,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ce(U)),v.items.push(a(h,U.value||""));break;case 6:U.value==null&&s(h,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ce(U)),v.items.push(f(h,U.value||""));break;case 4:P=!0;break;case 5:U.value==null&&s(h,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ce(U)),v.items.push(p(h,U.value||"",!!P)),P&&(o(h,vt.USE_MODULO_SYNTAX,g.lastStartLoc,0,ce(U)),P=null);break;case 7:U.value==null&&s(h,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ce(U)),v.items.push(d(h,U.value||""));break;case 8:{const V=C(h);v.items.push(V.node),E=V.nextConsumeToken||null;break}}}while(g.currentType!==14&&g.currentType!==1);const F=g.currentType===1?g.lastOffset:h.currentOffset(),Y=g.currentType===1?g.lastEndLoc:h.currentPosition();return c(v,F,Y),v}function N(h,g,S,y){const v=h.context();let E=y.items.length===0;const P=i(1,g,S);P.cases=[],P.cases.push(y);do{const F=A(h);E||(E=F.items.length===0),P.cases.push(F)}while(v.currentType!==14);return E&&s(h,M.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),c(P,h.currentOffset(),h.currentPosition()),P}function L(h){const g=h.context(),{offset:S,startLoc:y}=g,v=A(h);return g.currentType===14?v:N(h,S,y,v)}function T(h){const g=La(h,Te({},e)),S=g.context(),y=i(0,S.offset,S.startLoc);return t&&y.loc&&(y.loc.source=h),y.body=L(g),e.onCacheKey&&(y.cacheKey=e.onCacheKey(h)),S.currentType!==14&&s(g,M.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,h[S.offset]||""),c(y,g.currentOffset(),g.currentPosition()),y}return{parse:T}}function ce(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function ka(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Rn(e,t){for(let n=0;n<e.length;n++)en(e[n],t)}function en(e,t){switch(e.type){case 1:Rn(e.cases,t),t.helper("plural");break;case 2:Rn(e.items,t);break;case 6:{en(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Ma(e,t={}){const n=ka(e);n.helper("normalize"),e.body&&en(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Da(e){const t=e.body;return t.type===2?In(t):t.cases.forEach(n=>In(n)),e}function In(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=zt(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Fa="minifier";function je(e){switch(e.t=e.type,e.type){case 0:{const t=e;je(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)je(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)je(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;je(t.key),t.k=t.key,delete t.key,t.modifier&&(je(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Ye(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Fa,args:[e.type]})}delete e.type}const $a="parser";function Ua(e,t){const{sourceMap:n,filename:r,breakLineCode:s,needIndent:o}=t,i=t.location!==!1,c={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:o,indentLevel:0};i&&e.loc&&(c.source=e.loc.source);const a=()=>c;function f(N,L){c.code+=N}function p(N,L=!0){const T=L?s:"";f(o?T+" ".repeat(N):T)}function d(N=!0){const L=++c.indentLevel;N&&p(L)}function m(N=!0){const L=--c.indentLevel;N&&p(L)}function _(){p(c.indentLevel)}return{context:a,push:f,indent:d,deindent:m,newline:_,helper:N=>`_${N}`,needIndent:()=>c.needIndent}}function ja(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ge(e,t.key),t.modifier?(e.push(", "),Ge(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function xa(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o<s&&(Ge(e,t.items[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function Wa(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o<s&&(Ge(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function Ka(e,t){t.body?Ge(e,t.body):e.push("null")}function Ge(e,t){const{helper:n}=e;switch(t.type){case 0:Ka(e,t);break;case 1:Wa(e,t);break;case 2:xa(e,t);break;case 6:ja(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Ye(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:$a,args:[t.type]})}}const Ha=(e,t={})=>{const n=D(t.mode)?t.mode:"normal",r=D(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,i=t.needIndent?t.needIndent:n!=="arrow",c=e.helpers||[],a=Ua(e,{mode:n,filename:r,sourceMap:s,breakLineCode:o,needIndent:i});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),c.length>0&&(a.push(`const { ${zt(c.map(d=>`${d}: _${d}`),", ")} } = ctx`),a.newline()),a.push("return "),Ge(a,e),a.deindent(i),a.push("}"),delete e.helpers;const{code:f,map:p}=a.context();return{ast:e,code:f,map:p?p.toJSON():void 0}};function Ga(e,t={}){const n=Te({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,c=Ia(n).parse(e);return r?(o&&Da(c),s&&je(c),{ast:c,code:""}):(Ma(c,n),Ha(c,n))}const Ae=[];Ae[0]={w:[0],i:[3,0],["["]:[4],o:[7]};Ae[1]={w:[1],["."]:[2],["["]:[4],o:[7]};Ae[2]={w:[2],i:[3,0],[0]:[3,0]};Ae[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};Ae[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};Ae[5]={["'"]:[4,0],o:8,l:[5,0]};Ae[6]={['"']:[4,0],o:8,l:[6,0]};const Va=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ba(e){return Va.test(e)}function Xa(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 Ya(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 qa(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ba(t)?Xa(t):"*"+t}function Dr(e){const t=[];let n=-1,r=0,s=0,o,i,c,a,f,p,d;const m=[];m[0]=()=>{i===void 0?i=c:i+=c},m[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},m[2]=()=>{m[0](),s++},m[3]=()=>{if(s>0)s--,r=4,m[0]();else{if(s=0,i===void 0||(i=qa(i),i===!1))return!1;m[1]()}};function _(){const C=e[n+1];if(r===5&&C==="'"||r===6&&C==='"')return n++,c="\\"+C,m[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&_())){if(a=Ya(o),d=Ae[r],f=d[a]||d.l||8,f===8||(r=f[0],f[1]!==void 0&&(p=m[f[1]],p&&(c=o,p()===!1))))return;if(r===7)return t}}const kn=new Map;function Fr(e,t){return Z(e)?e[t]:null}function Qa(e,t){if(!Z(e))return null;let n=kn.get(t);if(n||(n=Dr(t),n&&kn.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const i=s[n[o]];if(i===void 0||J(s))return null;s=i,o++}return s}const Ja=e=>e,Za=e=>"",$r="text",za=e=>e.length===0?"":zt(e),ei=da;function Mn(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function ti(e){const t=oe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(oe(e.named.count)||oe(e.named.n))?oe(e.named.count)?e.named.count:oe(e.named.n)?e.named.n:t:t}function ni(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Ur(e={}){const t=e.locale,n=ti(e),r=Z(e.pluralRules)&&D(t)&&J(e.pluralRules[t])?e.pluralRules[t]:Mn,s=Z(e.pluralRules)&&D(t)&&J(e.pluralRules[t])?Mn:void 0,o=L=>L[r(n,L.length,s)],i=e.list||[],c=L=>i[L],a=e.named||{};oe(e.pluralIndex)&&ni(n,a);const f=L=>a[L];function p(L){const T=J(e.messages)?e.messages(L):Z(e.messages)?e.messages[L]:!1;return T||(e.parent?e.parent.message(L):Za)}const d=L=>e.modifiers?e.modifiers[L]:Ja,m=H(e.processor)&&J(e.processor.normalize)?e.processor.normalize:za,_=H(e.processor)&&J(e.processor.interpolate)?e.processor.interpolate:ei,C=H(e.processor)&&D(e.processor.type)?e.processor.type:$r,N={list:c,named:f,plural:o,linked:(L,...T)=>{const[h,g]=T;let S="text",y="";T.length===1?Z(h)?(y=h.modifier||y,S=h.type||S):D(h)&&(y=h||y):T.length===2&&(D(h)&&(y=h||y),D(g)&&(S=g||S));const v=p(L)(N),E=S==="vnode"&&de(v)&&y?v[0]:v;return y?d(y)(E,S):E},message:p,type:C,interpolate:_,normalize:m,values:Te({},i,a)};return N}let Ve=null;function ri(e){Ve=e}function si(){return Ve}function jr(e,t,n){Ve&&Ve.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const xr=oi("function:translate");function oi(e){return t=>Ve&&Ve.emit(e,t)}const Wr=vt.__EXTEND_POINT__,we=Mr(Wr),ne={NOT_FOUND_KEY:Wr,FALLBACK_TO_TRANSLATE:we(),CANNOT_FORMAT_NUMBER:we(),FALLBACK_TO_NUMBER_FORMAT:we(),CANNOT_FORMAT_DATE:we(),FALLBACK_TO_DATE_FORMAT:we(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:we(),__EXTEND_POINT__:we()},ai={[ne.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[ne.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[ne.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[ne.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[ne.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[ne.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[ne.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function be(e,...t){return yt(ai[e],...t)}const Kr=M.__EXTEND_POINT__,Re=Mr(Kr),z={INVALID_ARGUMENT:Kr,INVALID_DATE_ARGUMENT:Re(),INVALID_ISO_DATE_ARGUMENT:Re(),NOT_SUPPORT_NON_STRING_MESSAGE:Re(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Re(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Re(),NOT_SUPPORT_LOCALE_TYPE:Re(),__EXTEND_POINT__:Re()};function le(e){return Ye(e,null,{messages:ii})}const ii={[z.INVALID_ARGUMENT]:"Invalid arguments",[z.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[z.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[z.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[z.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[z.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[z.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Ot(e,t){return t.locale!=null?Wt(t.locale):Wt(e.locale)}let kt;function Wt(e){if(D(e))return e;if(J(e)){if(e.resolvedOnce&&kt!=null)return kt;if(e.constructor.name==="Function"){const t=e();if(fa(t))throw le(z.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return kt=t}else throw le(z.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw le(z.NOT_SUPPORT_LOCALE_TYPE)}function Hr(e,t,n){return[...new Set([n,...de(t)?t:Z(t)?Object.keys(t):D(t)?[t]:[n]])]}function ci(e,t,n){const r=D(n)?n:dt,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;de(i);)i=Dn(o,i,t);const c=de(t)||!H(t)?t:t.default?t.default:null;i=D(c)?[c]:c,de(i)&&Dn(o,i,!1),s.__localeChainCache.set(r,o)}return o}function Dn(e,t,n){let r=!0;for(let s=0;s<t.length&&re(r);s++){const o=t[s];D(o)&&(r=li(e,t[s],n))}return r}function li(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=ui(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function ui(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(de(n)||H(n))&&n[s]&&(r=n[s])}return r}const Gr="9.14.0",St=-1,dt="en-US",tn="",Fn=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function fi(){return{upper:(e,t)=>t==="text"&&D(e)?e.toUpperCase():t==="vnode"&&Z(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&D(e)?e.toLowerCase():t==="vnode"&&Z(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&D(e)?Fn(e):t==="vnode"&&Z(e)&&"__v_isVNode"in e?Fn(e.children):e}}let Vr;function di(e){Vr=e}let Br;function mi(e){Br=e}let Xr;function pi(e){Xr=e}let Yr=null;const hi=e=>{Yr=e},qr=()=>Yr;let Qr=null;const _i=e=>{Qr=e},gi=()=>Qr;let $n=0;function Ei(e={}){const t=J(e.onWarn)?e.onWarn:Xe,n=D(e.version)?e.version:Gr,r=D(e.locale)||J(e.locale)?e.locale:dt,s=J(r)?dt:r,o=de(e.fallbackLocale)||H(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=H(e.messages)?e.messages:{[s]:{}},c=H(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},a=H(e.numberFormats)?e.numberFormats:{[s]:{}},f=Te({},e.modifiers||{},fi()),p=e.pluralRules||{},d=J(e.missing)?e.missing:null,m=re(e.missingWarn)||An(e.missingWarn)?e.missingWarn:!0,_=re(e.fallbackWarn)||An(e.fallbackWarn)?e.fallbackWarn:!0,C=!!e.fallbackFormat,A=!!e.unresolving,N=J(e.postTranslation)?e.postTranslation:null,L=H(e.processor)?e.processor:null,T=re(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter,g=J(e.messageCompiler)?e.messageCompiler:Vr;J(e.messageCompiler)&&pa(be(ne.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const S=J(e.messageResolver)?e.messageResolver:Br||Fr,y=J(e.localeFallbacker)?e.localeFallbacker:Xr||Hr,v=Z(e.fallbackContext)?e.fallbackContext:void 0,E=e,P=Z(E.__datetimeFormatters)?E.__datetimeFormatters:new Map,F=Z(E.__numberFormatters)?E.__numberFormatters:new Map,Y=Z(E.__meta)?E.__meta:{};$n++;const U={version:n,cid:$n,locale:r,fallbackLocale:o,messages:i,modifiers:f,pluralRules:p,missing:d,missingWarn:m,fallbackWarn:_,fallbackFormat:C,unresolving:A,postTranslation:N,processor:L,warnHtmlMessage:T,escapeParameter:h,messageCompiler:g,messageResolver:S,localeFallbacker:y,fallbackContext:v,onWarn:t,__meta:Y};return U.datetimeFormats=c,U.numberFormats=a,U.__datetimeFormatters=P,U.__numberFormatters=F,U.__v_emitter=E.__v_emitter!=null?E.__v_emitter:void 0,jr(U,n,Y),U}function Nt(e,t){return e instanceof RegExp?e.test(t):e}function Jr(e,t){return e instanceof RegExp?e.test(t):e}function bt(e,t,n,r,s){const{missing:o,onWarn:i}=e;{const c=e.__v_emitter;c&&c.emit("missing",{locale:n,key:t,type:s,groupId:`${s}:${t}`})}if(o!==null){const c=o(e,n,t,s);return D(c)?c:t}else return Jr(r,t)&&i(be(ne.NOT_FOUND_KEY,{key:t,locale:n})),t}function yi(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function nn(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Zr(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(nn(e,t[r]))return!0;return!1}function Mt(e){return n=>vi(n,e)}function vi(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return e.plural(s.reduce((o,i)=>[...o,Un(e,i)],[]))}else return Un(e,n)}function Un(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((s,o)=>[...s,Kt(e,o)],[]);return e.normalize(r)}}function Kt(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,s=r.m||r.modifier;return e.linked(Kt(e,r.k||r.key),s?Kt(e,s):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Oi="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function zr(e,t){t&&Oa(e)&&Xe(yt(Oi,{source:e}))}const es=e=>e;let Ie=Object.create(null);function ts(e){e.code===vt.USE_MODULO_SYNTAX&&Xe(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
(message compiler warning message: ${e.message})`)}function Si(){Ie=Object.create(null)}const De=e=>Z(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function ns(e,t={}){let n=!1;const r=t.onError||ya;return t.onError=s=>{n=!0,r(s)},{...Ga(e,t),detectError:n}}const Ni=(e,t)=>{if(!D(e))throw le(z.NOT_SUPPORT_NON_STRING_MESSAGE);t.onWarn=ts;{const n=re(t.warnHtmlMessage)?t.warnHtmlMessage:!0;zr(e,n);const s=(t.onCacheKey||es)(e),o=Ie[s];if(o)return o;const{code:i,detectError:c}=ns(e,t),a=new Function(`return ${i}`)();return c?a:Ie[s]=a}};function bi(e,t){if(t.onWarn=ts,D(e)){const n=re(t.warnHtmlMessage)?t.warnHtmlMessage:!0;zr(e,n);const s=(t.onCacheKey||es)(e),o=Ie[s];if(o)return o;const{ast:i,detectError:c}=ns(e,{...t,location:!0,jit:!0}),a=Mt(i);return c?a:Ie[s]=a}else{if(!De(e))return Xe(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=Ie[n];return r||(Ie[n]=Mt(e))}else return Mt(e)}}const jn=()=>"",ie=e=>J(e);function Ti(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:c}=e,[a,f]=os(...t),p=re(f.missingWarn)?f.missingWarn:e.missingWarn,d=re(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,m=re(f.escapeParameter)?f.escapeParameter:e.escapeParameter,_=!!f.resolvedMessage,C=D(f.default)||re(f.default)?re(f.default)?o?a:()=>a:f.default:n?o?a:()=>a:"",A=n||C!=="",N=Ot(e,f);m&&Ai(f);let[L,T,h]=_?[a,N,c[N]||{}]:rs(e,a,N,i,d,p),g=L,S=a;if(!_&&!(D(g)||De(g)||ie(g))&&A&&(g=C,S=g),!_&&(!(D(g)||De(g)||ie(g))||!D(T)))return s?St:a;if(D(g)&&e.messageCompiler==null)return Xe(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${a}'.`),a;let y=!1;const v=()=>{y=!0},E=ie(g)?g:ss(e,a,T,g,S,v);if(y)return g;const P=wi(e,T,h,f),F=Ur(P),Y=Ci(e,E,F),U=r?r(Y,a):Y;{const V={timestamp:Date.now(),key:D(a)?a:ie(g)?g.key:"",locale:T||(ie(g)?g.locale:""),format:D(g)?g:ie(g)?g.source:"",message:U};V.meta=Te({},e.__meta,qr()||{}),xr(V)}return U}function Ai(e){de(e.list)?e.list=e.list.map(t=>D(t)?Cn(t):t):Z(e.named)&&Object.keys(e.named).forEach(t=>{D(e.named[t])&&(e.named[t]=Cn(e.named[t]))})}function rs(e,t,n,r,s,o){const{messages:i,onWarn:c,messageResolver:a,localeFallbacker:f}=e,p=f(e,r,n);let d={},m,_=null,C=n,A=null;const N="translate";for(let L=0;L<p.length;L++){if(m=A=p[L],n!==m&&!nn(n,m)&&Nt(s,t)&&c(be(ne.FALLBACK_TO_TRANSLATE,{key:t,target:m})),n!==m){const S=e.__v_emitter;S&&S.emit("fallback",{type:N,key:t,from:C,to:A,groupId:`${N}:${t}`})}d=i[m]||{};let T=null,h,g;if(ke&&(T=window.performance.now(),h="intlify-message-resolve-start",g="intlify-message-resolve-end",ae&&ae(h)),(_=a(d,t))===null&&(_=d[t]),ke){const S=window.performance.now(),y=e.__v_emitter;y&&T&&_&&y.emit("message-resolve",{type:"message-resolve",key:t,message:_,time:S-T,groupId:`${N}:${t}`}),h&&g&&ae&&Me&&(ae(g),Me("intlify message resolve",h,g))}if(D(_)||De(_)||ie(_))break;if(!Zr(m,p)){const S=bt(e,t,m,o,N);S!==t&&(_=S)}C=A}return[_,m,d]}function ss(e,t,n,r,s,o){const{messageCompiler:i,warnHtmlMessage:c}=e;if(ie(r)){const m=r;return m.locale=m.locale||n,m.key=m.key||t,m}if(i==null){const m=()=>r;return m.locale=n,m.key=t,m}let a=null,f,p;ke&&(a=window.performance.now(),f="intlify-message-compilation-start",p="intlify-message-compilation-end",ae&&ae(f));const d=i(r,Li(e,n,s,r,c,o));if(ke){const m=window.performance.now(),_=e.__v_emitter;_&&a&&_.emit("message-compilation",{type:"message-compilation",message:r,time:m-a,groupId:`translate:${t}`}),f&&p&&ae&&Me&&(ae(p),Me("intlify message compilation",f,p))}return d.locale=n,d.key=t,d.source=r,d}function Ci(e,t,n){let r=null,s,o;ke&&(r=window.performance.now(),s="intlify-message-evaluation-start",o="intlify-message-evaluation-end",ae&&ae(s));const i=t(n);if(ke){const c=window.performance.now(),a=e.__v_emitter;a&&r&&a.emit("message-evaluation",{type:"message-evaluation",value:i,time:c-r,groupId:`translate:${t.key}`}),s&&o&&ae&&Me&&(ae(o),Me("intlify message evaluation",s,o))}return i}function os(...e){const[t,n,r]=e,s={};if(!D(t)&&!oe(t)&&!ie(t)&&!De(t))throw le(z.INVALID_ARGUMENT);const o=oe(t)?String(t):(ie(t),t);return oe(n)?s.plural=n:D(n)?s.default=n:H(n)&&!Zt(n)?s.named=n:de(n)&&(s.list=n),oe(r)?s.plural=r:D(r)?s.default=r:H(r)&&Te(s,r),[o,s]}function Li(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{o&&o(i);{const c=Pi(r),a=`Message compilation error: ${i.message}`,f=i.location&&c&&ma(c,i.location.start.offset,i.location.end.offset),p=e.__v_emitter;p&&c&&p.emit("compile-error",{message:c,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${n}`}),console.error(f?`${a}
${f}`:a)}},onCacheKey:i=>ca(t,n,i)}}function Pi(e){if(D(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function wi(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:c,fallbackWarn:a,missingWarn:f,fallbackContext:p}=e,m={locale:t,modifiers:s,pluralRules:o,messages:_=>{let C=i(n,_);if(C==null&&p){const[,,A]=rs(p,_,t,c,a,f);C=i(A,_)}if(D(C)||De(C)){let A=!1;const L=ss(e,_,t,C,_,()=>{A=!0});return A?jn:L}else return ie(C)?C:jn}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),oe(r.plural)&&(m.pluralIndex=r.plural),m}const xn=typeof Intl<"u",as={dateTimeFormat:xn&&typeof Intl.DateTimeFormat<"u",numberFormat:xn&&typeof Intl.NumberFormat<"u"};function Ri(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:c}=e;if(!as.dateTimeFormat)return o(be(ne.CANNOT_FORMAT_DATE)),tn;const[a,f,p,d]=cs(...t),m=re(p.missingWarn)?p.missingWarn:e.missingWarn,_=re(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,C=!!p.part,A=Ot(e,p),N=i(e,s,A);if(!D(a)||a==="")return new Intl.DateTimeFormat(A,d).format(f);let L={},T,h=null,g=A,S=null;const y="datetime format";for(let P=0;P<N.length;P++){if(T=S=N[P],A!==T&&Nt(_,a)&&o(be(ne.FALLBACK_TO_DATE_FORMAT,{key:a,target:T})),A!==T){const F=e.__v_emitter;F&&F.emit("fallback",{type:y,key:a,from:g,to:S,groupId:`${y}:${a}`})}if(L=n[T]||{},h=L[a],H(h))break;bt(e,a,T,m,y),g=S}if(!H(h)||!D(T))return r?St:a;let v=`${T}__${a}`;Zt(d)||(v=`${v}__${JSON.stringify(d)}`);let E=c.get(v);return E||(E=new Intl.DateTimeFormat(T,Te({},h,d)),c.set(v,E)),C?E.formatToParts(f):E.format(f)}const is=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function cs(...e){const[t,n,r,s]=e,o={};let i={},c;if(D(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw le(z.INVALID_ISO_DATE_ARGUMENT);const f=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();c=new Date(f);try{c.toISOString()}catch{throw le(z.INVALID_ISO_DATE_ARGUMENT)}}else if(ua(t)){if(isNaN(t.getTime()))throw le(z.INVALID_DATE_ARGUMENT);c=t}else if(oe(t))c=t;else throw le(z.INVALID_ARGUMENT);return D(n)?o.key=n:H(n)&&Object.keys(n).forEach(a=>{is.includes(a)?i[a]=n[a]:o[a]=n[a]}),D(r)?o.locale=r:H(r)&&(i=r),H(s)&&(i=s),[o.key||"",c,o,i]}function Ii(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;!r.__datetimeFormatters.has(o)||r.__datetimeFormatters.delete(o)}}function ki(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:c}=e;if(!as.numberFormat)return o(be(ne.CANNOT_FORMAT_NUMBER)),tn;const[a,f,p,d]=us(...t),m=re(p.missingWarn)?p.missingWarn:e.missingWarn,_=re(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,C=!!p.part,A=Ot(e,p),N=i(e,s,A);if(!D(a)||a==="")return new Intl.NumberFormat(A,d).format(f);let L={},T,h=null,g=A,S=null;const y="number format";for(let P=0;P<N.length;P++){if(T=S=N[P],A!==T&&Nt(_,a)&&o(be(ne.FALLBACK_TO_NUMBER_FORMAT,{key:a,target:T})),A!==T){const F=e.__v_emitter;F&&F.emit("fallback",{type:y,key:a,from:g,to:S,groupId:`${y}:${a}`})}if(L=n[T]||{},h=L[a],H(h))break;bt(e,a,T,m,y),g=S}if(!H(h)||!D(T))return r?St:a;let v=`${T}__${a}`;Zt(d)||(v=`${v}__${JSON.stringify(d)}`);let E=c.get(v);return E||(E=new Intl.NumberFormat(T,Te({},h,d)),c.set(v,E)),C?E.formatToParts(f):E.format(f)}const ls=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function us(...e){const[t,n,r,s]=e,o={};let i={};if(!oe(t))throw le(z.INVALID_ARGUMENT);const c=t;return D(n)?o.key=n:H(n)&&Object.keys(n).forEach(a=>{ls.includes(a)?i[a]=n[a]:o[a]=n[a]}),D(r)?o.locale=r:H(r)&&(i=r),H(s)&&(i=s),[o.key||"",c,o,i]}function Mi(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;!r.__numberFormatters.has(o)||r.__numberFormatters.delete(o)}}const Mc=Object.freeze(Object.defineProperty({__proto__:null,CompileErrorCodes:M,CoreErrorCodes:z,CoreWarnCodes:ne,DATETIME_FORMAT_OPTIONS_KEYS:is,DEFAULT_LOCALE:dt,DEFAULT_MESSAGE_DATA_TYPE:$r,MISSING_RESOLVE_VALUE:tn,NOT_REOSLVED:St,NUMBER_FORMAT_OPTIONS_KEYS:ls,VERSION:Gr,clearCompileCache:Si,clearDateTimeFormat:Ii,clearNumberFormat:Mi,compile:bi,compileToFunction:Ni,createCompileError:Ye,createCoreContext:Ei,createCoreError:le,createMessageContext:Ur,datetime:Ri,fallbackWithLocaleChain:ci,fallbackWithSimple:Hr,getAdditionalMeta:qr,getDevToolsHook:si,getFallbackContext:gi,getLocale:Ot,getWarnMessage:be,handleMissing:bt,initI18nDevTools:jr,isAlmostSameLocale:nn,isImplicitFallback:Zr,isMessageAST:De,isMessageFunction:ie,isTranslateFallbackWarn:Nt,isTranslateMissingWarn:Jr,number:ki,parse:Dr,parseDateTimeArgs:cs,parseNumberArgs:us,parseTranslateArgs:os,registerLocaleFallbacker:pi,registerMessageCompiler:di,registerMessageResolver:mi,resolveLocale:Wt,resolveValue:Qa,resolveWithKeyValue:Fr,setAdditionalMeta:hi,setDevToolsHook:ri,setFallbackContext:_i,translate:Ti,translateDevTools:xr,updateFallbackLocale:yi},Symbol.toStringTag,{value:"Module"}));var Wn;const it=typeof window<"u",Di=e=>typeof e=="function",Fi=e=>typeof e=="string",Ht=()=>{};it&&((Wn=window==null?void 0:window.navigator)==null?void 0:Wn.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function _e(e){return typeof e=="function"?e():xe(e)}function fs(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const ds=e=>e();function $i(e,t={}){let n,r,s=Ht;const o=c=>{clearTimeout(c),s(),s=Ht};return c=>{const a=_e(e),f=_e(t.maxWait);return n&&o(n),a<=0||f!==void 0&&f<=0?(r&&(o(r),r=null),Promise.resolve(c())):new Promise((p,d)=>{s=t.rejectOnCancel?d:p,f&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,p(c())},f)),n=setTimeout(()=>{r&&o(r),r=null,p(c())},a)})}}function Ui(e=ds){const t=se(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:fr(t),pause:n,resume:r,eventFilter:s}}function ji(e){return e}function Tt(e){return lr()?(ur(e),!0):!1}function Dc(e,t=200,n={}){return fs($i(t,n),e)}function xi(e){return typeof e=="function"?ee(e):se(e)}function ms(e,t=!0){bs()?Ts(e):t?e():ht(e)}function Wi(e,t,n={}){const{immediate:r=!0}=n,s=se(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function c(){s.value=!1,i()}function a(...f){i(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...f)},_e(t))}return r&&(s.value=!0,it&&a()),Tt(c),{isPending:fr(s),start:a,stop:c}}function Fc(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,s=rt(e),o=se(e);function i(c){if(arguments.length)return o.value=c,o.value;{const a=_e(n);return o.value=o.value===a?_e(r):a,o.value}}return s?i:[o,i]}var Kn=Object.getOwnPropertySymbols,Ki=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,Gi=(e,t)=>{var n={};for(var r in e)Ki.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Kn)for(var r of Kn(e))t.indexOf(r)<0&&Hi.call(e,r)&&(n[r]=e[r]);return n};function Vi(e,t,n={}){const r=n,{eventFilter:s=ds}=r,o=Gi(r,["eventFilter"]);return We(e,fs(s,t),o)}var Bi=Object.defineProperty,Xi=Object.defineProperties,Yi=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,ps=Object.prototype.hasOwnProperty,hs=Object.prototype.propertyIsEnumerable,Hn=(e,t,n)=>t in e?Bi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qi=(e,t)=>{for(var n in t||(t={}))ps.call(t,n)&&Hn(e,n,t[n]);if(mt)for(var n of mt(t))hs.call(t,n)&&Hn(e,n,t[n]);return e},Qi=(e,t)=>Xi(e,Yi(t)),Ji=(e,t)=>{var n={};for(var r in e)ps.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&mt)for(var r of mt(e))t.indexOf(r)<0&&hs.call(e,r)&&(n[r]=e[r]);return n};function Zi(e,t,n={}){const r=n,{eventFilter:s}=r,o=Ji(r,["eventFilter"]),{eventFilter:i,pause:c,resume:a,isActive:f}=Ui(s);return{stop:Vi(e,t,Qi(qi({},o),{eventFilter:i})),pause:c,resume:a,isActive:f}}function _s(e){var t;const n=_e(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Be=it?window:void 0,zi=it?window.document:void 0,ec=it?window.navigator:void 0;function pt(...e){let t,n,r,s;if(Fi(e[0])||Array.isArray(e[0])?([n,r,s]=e,t=Be):[t,n,r,s]=e,!t)return Ht;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(p=>p()),o.length=0},c=(p,d,m,_)=>(p.addEventListener(d,m,_),()=>p.removeEventListener(d,m,_)),a=We(()=>[_s(t),_e(s)],([p,d])=>{i(),p&&o.push(...n.flatMap(m=>r.map(_=>c(p,m,_,d))))},{immediate:!0,flush:"post"}),f=()=>{a(),i()};return Tt(f),f}function rn(e,t=!1){const n=se(),r=()=>n.value=Boolean(e());return r(),ms(r,t),n}function tc(e,t={}){const{window:n=Be}=t,r=rn(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=se(!1),i=()=>{!s||("removeEventListener"in s?s.removeEventListener("change",c):s.removeListener(c))},c=()=>{!r.value||(i(),s=n.matchMedia(xi(e).value),o.value=s.matches,"addEventListener"in s?s.addEventListener("change",c):s.addListener(c))};return As(c),Tt(()=>i()),o}function $c(e={}){const{navigator:t=ec,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=["copy","cut"],c=rn(()=>t&&"clipboard"in t),a=ee(()=>c.value||o),f=se(""),p=se(!1),d=Wi(()=>p.value=!1,s);function m(){c.value?t.clipboard.readText().then(N=>{f.value=N}):f.value=A()}if(a.value&&n)for(const N of i)pt(N,m);async function _(N=_e(r)){a.value&&N!=null&&(c.value?await t.clipboard.writeText(N):C(N),f.value=N,p.value=!0,d.start())}function C(N){const L=document.createElement("textarea");L.value=N!=null?N:"",L.style.position="absolute",L.style.opacity="0",document.body.appendChild(L),L.select(),document.execCommand("copy"),L.remove()}function A(){var N,L,T;return(T=(L=(N=document==null?void 0:document.getSelection)==null?void 0:N.call(document))==null?void 0:L.toString())!=null?T:""}return{isSupported:a,text:f,copied:p,copy:_}}const Gt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vt="__vueuse_ssr_handlers__";Gt[Vt]=Gt[Vt]||{};const nc=Gt[Vt];function gs(e,t){return nc[e]||t}function rc(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 sc=Object.defineProperty,Gn=Object.getOwnPropertySymbols,oc=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable,Vn=(e,t,n)=>t in e?sc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bn=(e,t)=>{for(var n in t||(t={}))oc.call(t,n)&&Vn(e,n,t[n]);if(Gn)for(var n of Gn(t))ac.call(t,n)&&Vn(e,n,t[n]);return e};const ic={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()}},Xn="vueuse-storage";function cc(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:c=!0,writeDefaults:a=!0,mergeDefaults:f=!1,shallow:p,window:d=Be,eventFilter:m,onError:_=E=>{console.error(E)}}=r,C=(p?nr:se)(t);if(!n)try{n=gs("getDefaultStorage",()=>{var E;return(E=Be)==null?void 0:E.localStorage})()}catch(E){_(E)}if(!n)return C;const A=_e(t),N=rc(A),L=(s=r.serializer)!=null?s:ic[N],{pause:T,resume:h}=Zi(C,()=>g(C.value),{flush:o,deep:i,eventFilter:m});return d&&c&&(pt(d,"storage",v),pt(d,Xn,y)),v(),C;function g(E){try{if(E==null)n.removeItem(e);else{const P=L.write(E),F=n.getItem(e);F!==P&&(n.setItem(e,P),d&&d.dispatchEvent(new CustomEvent(Xn,{detail:{key:e,oldValue:F,newValue:P,storageArea:n}})))}}catch(P){_(P)}}function S(E){const P=E?E.newValue:n.getItem(e);if(P==null)return a&&A!==null&&n.setItem(e,L.write(A)),A;if(!E&&f){const F=L.read(P);return Di(f)?f(F,A):N==="object"&&!Array.isArray(F)?Bn(Bn({},A),F):F}else return typeof P!="string"?P:L.read(P)}function y(E){v(E.detail)}function v(E){if(!(E&&E.storageArea!==n)){if(E&&E.key==null){C.value=A;return}if(!(E&&E.key!==e)){T();try{C.value=S(E)}catch(P){_(P)}finally{E?ht(h):h()}}}}}function Es(e){return tc("(prefers-color-scheme: dark)",e)}var lc=Object.defineProperty,Yn=Object.getOwnPropertySymbols,uc=Object.prototype.hasOwnProperty,fc=Object.prototype.propertyIsEnumerable,qn=(e,t,n)=>t in e?lc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dc=(e,t)=>{for(var n in t||(t={}))uc.call(t,n)&&qn(e,n,t[n]);if(Yn)for(var n of Yn(t))fc.call(t,n)&&qn(e,n,t[n]);return e};function mc(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Be,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:a,emitAuto:f}=e,p=dc({auto:"",light:"light",dark:"dark"},e.modes||{}),d=Es({window:s}),m=ee(()=>d.value?"dark":"light"),_=a||(i==null?se(r):cc(i,r,o,{window:s,listenToStorageChanges:c})),C=ee({get(){return _.value==="auto"&&!f?m.value:_.value},set(T){_.value=T}}),A=gs("updateHTMLAttrs",(T,h,g)=>{const S=s==null?void 0:s.document.querySelector(T);if(!!S)if(h==="class"){const y=g.split(/\s/g);Object.values(p).flatMap(v=>(v||"").split(/\s/g)).filter(Boolean).forEach(v=>{y.includes(v)?S.classList.add(v):S.classList.remove(v)})}else S.setAttribute(h,g)});function N(T){var h;const g=T==="auto"?m.value:T;A(t,n,(h=p[g])!=null?h:g)}function L(T){e.onChanged?e.onChanged(T,N):N(T)}return We(C,L,{flush:"post",immediate:!0}),f&&We(m,()=>L(C.value),{flush:"post"}),ms(()=>L(C.value)),C}var pc=Object.defineProperty,hc=Object.defineProperties,_c=Object.getOwnPropertyDescriptors,Qn=Object.getOwnPropertySymbols,gc=Object.prototype.hasOwnProperty,Ec=Object.prototype.propertyIsEnumerable,Jn=(e,t,n)=>t in e?pc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yc=(e,t)=>{for(var n in t||(t={}))gc.call(t,n)&&Jn(e,n,t[n]);if(Qn)for(var n of Qn(t))Ec.call(t,n)&&Jn(e,n,t[n]);return e},vc=(e,t)=>hc(e,_c(t));function Uc(e={}){const{valueDark:t="dark",valueLight:n="",window:r=Be}=e,s=mc(vc(yc({},e),{onChanged:(c,a)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,c==="dark"):a(c)},modes:{dark:t,light:n}})),o=Es({window:r});return ee({get(){return s.value==="dark"},set(c){c===o.value?s.value="auto":s.value=c?"dark":"light"}})}const Zn=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function jc(e,t={}){const{document:n=zi,autoExit:r=!1}=t,s=e||(n==null?void 0:n.querySelector("html")),o=se(!1);let i=Zn[0];const c=rn(()=>{if(n){for(const A of Zn)if(A[1]in n)return i=A,!0}else return!1;return!1}),[a,f,p,,d]=i;async function m(){!c.value||(n!=null&&n[p]&&await n[f](),o.value=!1)}async function _(){if(!c.value)return;await m();const A=_s(s);A&&(await A[a](),o.value=!0)}async function C(){o.value?await m():await _()}return n&&pt(n,d,()=>{o.value=!!(n!=null&&n[p])},!1),r&&Tt(m),{isSupported:c,isFullscreen:o,enter:_,exit:m,toggle:C}}var zn;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(zn||(zn={}));var Oc=Object.defineProperty,er=Object.getOwnPropertySymbols,Sc=Object.prototype.hasOwnProperty,Nc=Object.prototype.propertyIsEnumerable,tr=(e,t,n)=>t in e?Oc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bc=(e,t)=>{for(var n in t||(t={}))Sc.call(t,n)&&tr(e,n,t[n]);if(er)for(var n of er(t))Nc.call(t,n)&&tr(e,n,t[n]);return e};const Tc={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};bc({linear:ji},Tc);export{Lc as a,Cc as b,Rc as c,Ic as d,Mc as e,wc as f,Pc as g,cc as h,jc as i,Uc as j,Fc as k,Dc as l,kc as s,$c as u};