34 lines
320 KiB
JavaScript
34 lines
320 KiB
JavaScript
|
function jl(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const $e={},mr=[],Ht=()=>{},Cm=()=>!1,km=/^on[^a-z]/,Co=e=>km.test(e),Vl=e=>e.startsWith("onUpdate:"),Me=Object.assign,Hl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Am=Object.prototype.hasOwnProperty,xe=(e,t)=>Am.call(e,t),ue=Array.isArray,gr=e=>ko(e)==="[object Map]",Sf=e=>ko(e)==="[object Set]",Pm=e=>ko(e)==="[object RegExp]",pe=e=>typeof e=="function",Ne=e=>typeof e=="string",Bl=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",Ul=e=>Se(e)&&pe(e.then)&&pe(e.catch),$f=Object.prototype.toString,ko=e=>$f.call(e),Rm=e=>ko(e).slice(8,-1),Nf=e=>ko(e)==="[object Object]",Wl=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yr=jl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Tm=/-(\w)/g,Qt=Rs(e=>e.replace(Tm,(t,n)=>n?n.toUpperCase():"")),Om=/\B([A-Z])/g,Jn=Rs(e=>e.replace(Om,"-$1").toLowerCase()),Ts=Rs(e=>e.charAt(0).toUpperCase()+e.slice(1)),os=Rs(e=>e?`on${Ts(e)}`:""),co=(e,t)=>!Object.is(e,t),yr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},is=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Va=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Df=e=>{const t=Ne(e)?Number(e):NaN;return isNaN(t)?e:t};let zi;const Ha=()=>zi||(zi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vt(e){if(ue(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ne(r)?Nm(r):vt(r);if(o)for(const s in o)t[s]=o[s]}return t}else{if(Ne(e))return e;if(Se(e))return e}}const Im=/;(?![^(]*\))/g,Sm=/:([^]+)/,$m=/\/\*[^]*?\*\//g;function Nm(e){const t={};return e.replace($m,"").split(Im).forEach(n=>{if(n){const r=n.split(Sm);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ie(e){let t="";if(Ne(e))t=e;else if(ue(e))for(let n=0;n<e.length;n++){const r=ie(e[n]);r&&(t+=r+" ")}else if(Se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function lt(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ne(t)&&(e.class=ie(t)),n&&(e.style=vt(n)),e}const Dm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Mm=jl(Dm);function Mf(e){return!!e||e===""}const Xe=e=>Ne(e)?e:e==null?"":ue(e)||Se(e)&&(e.toString===$f||!pe(e.toString))?JSON.stringify(e,Ff,2):String(e),Ff=(e,t)=>t&&t.__v_isRef?Ff(e,t.value):gr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:Sf(t)?{[`Set(${t.size})`]:[...t.values()]}:Se(t)&&!ue(t)&&!Nf(t)?String(t):t;let bt;class jf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=bt,!t&&bt&&(this.index=(bt.scopes||(bt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=bt;try{return bt=this,t()}finally{bt=n}}}on(){bt=this}off(){bt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;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 Ao(e){return new jf(e)}function Fm(e,t=bt){t&&t.active&&t.effects.push(e)}function Po(){return bt}function Os(e){bt&&bt.cleanups.push(e)}const zl=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Vf=e=>(e.w&Pn)>0,Hf=e=>(e.n&Pn)>0,jm=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Pn},Vm=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];Vf(o)&&!Hf(o)?o.delete(e):t[n++]=o,o.w&=~Pn,o.n&=~Pn}t.length=n}},cs=new WeakMap;let Kr=0,Pn=1;const Ba=30;let jt;const Bn=Symbol(""),Ua=Symbol("");class Kl{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Fm(this,r)}run(){if(!this.active)return
|
||
|
* pinia v2.1.3
|
||
|
* (c) 2023 Eduardo San Martin Morote
|
||
|
* @license MIT
|
||
|
*/let cp;const Io=e=>cp=e,up=Symbol();function ol(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var to;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(to||(to={}));function u_(){const e=Ao(!0),t=e.run(()=>W({}));let n=[],r=[];const o=Ds({install(s){Io(o),o._a=s,s.provide(up,o),s.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),r=[]},use(s){return!this._a&&!i_?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const fp=()=>{};function Dc(e,t,n,r=fp){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&Po()&&Os(o),o}function lr(e,...t){e.slice().forEach(n=>{n(...t)})}const f_=e=>e();function sl(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],o=e[n];ol(o)&&ol(r)&&e.hasOwnProperty(n)&&!_e(r)&&!Ln(r)?e[n]=sl(o,r):e[n]=r}return e}const d_=Symbol();function p_(e){return!ol(e)||!e.hasOwnProperty(d_)}const{assign:vn}=Object;function h_(e){return!!(_e(e)&&e.effect)}function m_(e,t,n,r){const{state:o,actions:s,getters:a}=t,l=n.state.value[e];let i;function c(){l||(n.state.value[e]=o?o():{});const u=Ms(n.state.value[e]);return vn(u,s,Object.keys(a||{}).reduce((f,d)=>(f[d]=Ds(U(()=>{Io(n);const p=n._s.get(e);return a[d].call(p,p)})),f),{}))}return i=dp(e,c,t,n,r,!0),i}function dp(e,t,n={},r,o,s){let a;const l=vn({actions:{}},n),i={deep:!0};let c,u,f=[],d=[],p;const h=r.state.value[e];!s&&!h&&(r.state.value[e]={}),W({});let y;function w(L){let T;c=u=!1,typeof L=="function"?(L(r.state.value[e]),T={type:to.patchFunction,storeId:e,events:p}):(sl(r.state.value[e],L),T={type:to.patchObject,payload:L,storeId:e,events:p});const $=y=Symbol();mt().then(()=>{y===$&&(c=!0)}),u=!0,lr(f,T,r.state.value[e])}const m=s?function(){const{state:T}=n,$=T?T():{};this.$patch(B=>{vn(B,$)})}:fp;function g(){a.stop(),f=[],d=[],r._s.delete(e)}function C(L,T){return function(){Io(r);const $=Array.from(arguments),B=[],j=[];function I(Y){B.push(Y)}function N(Y){j.push(Y)}lr(d,{args:$,name:L,store:v,after:I,onError:N});let re;try{re=T.apply(this&&this.$id===e?this:v,$)}catch(Y){throw lr(j,Y),Y}return re instanceof Promise?re.then(Y=>(lr(B,Y),Y)).catch(Y=>(lr(j,Y),Promise.reject(Y))):(lr(B,re),re)}}const _={_p:r,$id:e,$onAction:Dc.bind(null,d),$patch:w,$reset:m,$subscribe(L,T={}){const $=Dc(f,L,T.detached,()=>B()),B=a.run(()=>de(()=>r.state.value[e],j=>{(T.flush==="sync"?u:c)&&L({storeId:e,type:to.direct,events:p},j)},vn({},i,T)));return $},$dispose:g},v=He(_);r._s.set(e,v);const R=r._a&&r._a.runWithContext||f_,k=r._e.run(()=>(a=Ao(),R(()=>a.run(t))));for(const L in k){const T=k[L];if(_e(T)&&!h_(T)||Ln(T))s||(h&&p_(T)&&(_e(T)?T.value=h[L]:sl(T,h[L])),r.state.value[e][L]=T);else if(typeof T=="function"){const $=C(L,T);k[L]=$,l.actions[L]=T}}return vn(v,k),vn(be(v),k),Object.defineProperty(v,"$state",{get:()=>r.state.value[e],set:L=>{w(T=>{vn(T,L)})}}),r._p.forEach(L=>{vn(v,a.run(()=>L({store:v,app:r._a,pinia:r,options:l})))}),h&&s&&n.hydrate&&n.hydrate(v.$state,h),c=!0,u=!0,v}function TP(e,t,n){let r,o;const s=typeof t=="function";typeof e=="string"?(r=e,o=s?n:t):(o=e,r=e.id);function a(l,i){const c=ai();return l=l||(c?Qe(up,null):null),l&&Io(l),l=cp,l._s.has(r)||(s?dp(r,t,o,l):m_(r,o,l)),l._s.get(r)}return a.$id=r,a}function g_(e){return Array.isArray(e)?e:[e]}const pp=["title","script","style","noscript"],hp=["base","meta","link","style","script","noscript"],y_=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],v_=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],__=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function mp(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 al(e){return mp(`${e.tag}:${e.textContent||e.innerHTML||""}:${O
|
||
|
* vue-router v4.2.1
|
||
|
* (c) 2023 Eduardo San Martin Morote
|
||
|
* @license MIT
|
||
|
*/const ur=typeof window<"u";function Ob(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Oe=Object.assign;function Pa(e,t){const n={};for(const r in t){const o=t[r];n[r]=Wt(o)?o.map(e):e(o)}return n}const no=()=>{},Wt=Array.isArray,Ib=/\/$/,Sb=e=>e.replace(Ib,"");function Ra(e,t,n="/"){let r,o={},s="",a="";const l=t.indexOf("#");let i=t.indexOf("?");return l<i&&l>=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,l>-1?l:t.length),o=e(s)),l>-1&&(r=r||t.slice(0,l),a=t.slice(l,t.length)),r=Mb(r??t,n),{fullPath:r+(s&&"?")+s+a,path:r,query:o,hash:a}}function $b(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Uc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Nb(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&kr(t.matched[r],n.matched[o])&&Lp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function kr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Lp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Db(e[n],t[n]))return!1;return!0}function Db(e,t){return Wt(e)?Wc(e,t):Wt(t)?Wc(t,e):e===t}function Wc(e,t){return Wt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Mb(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,a,l;for(a=0;a<r.length;a++)if(l=r[a],l!==".")if(l==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var yo;(function(e){e.pop="pop",e.push="push"})(yo||(yo={}));var ro;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ro||(ro={}));function Fb(e){if(!e)if(ur){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Sb(e)}const jb=/^[^#]+#/;function Vb(e,t){return e.replace(jb,"#")+t}function Hb(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 Gs=()=>({left:window.pageXOffset,top:window.pageYOffset});function Bb(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Hb(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 zc(e,t){return(history.state?history.state.position-t:-1)+e}const dl=new Map;function Ub(e,t){dl.set(e,t)}function Wb(e){const t=dl.get(e);return dl.delete(e),t}let zb=()=>location.protocol+"//"+location.host;function Cp(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let l=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(l);return i[0]!=="/"&&(i="/"+i),Uc(i,"")}return Uc(n,e)+r+o}function Kb(e,t,n,r){let o=[],s=[],a=null;const l=({state:d})=>{const p=Cp(e,location),h=n.value,y=t.value;let w=0;if(d){if(n.value=p,t.value=d,a&&a===h){a=null;return}w=y?d.position-y.position:0}else r(p);o.forEach(m=>{m(n.value,h,{delta:w,type:yo.pop,direction:w?w>0?ro.forward:ro.back:ro.unknown})})};function i(){a=n.value}function c(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(Oe({},d.state,{scroll:Gs()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:i,listen:c,destroy:f}}function Kc(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Gs():null}}function qb(e){const{history:t,location:n}=window,r={value:Cp(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replace
|
||
|
* shared v9.3.0-beta.17
|
||
|
* (c) 2023 kazuya kawaguchi
|
||
|
* Released under the MIT License.
|
||
|
*/const ml=typeof window<"u",Zn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),iE=(e,t,n)=>cE({l:e,k:t,s:n}),cE=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ge=e=>typeof e=="number"&&isFinite(e),uE=e=>xi(e)==="[object Date]",ws=e=>xi(e)==="[object RegExp]",Xs=e=>Ee(e)&&Object.keys(e).length===0;function fE(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ct=Object.assign;let iu;const wi=()=>iu||(iu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function cu(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const dE=Object.prototype.hasOwnProperty;function Ei(e,t){return dE.call(e,t)}const Ue=Array.isArray,Fe=e=>typeof e=="function",ee=e=>typeof e=="string",je=e=>typeof e=="boolean",Te=e=>e!==null&&typeof e=="object",jp=Object.prototype.toString,xi=e=>jp.call(e),Ee=e=>xi(e)==="[object Object]",pE=e=>e==null?"":Ue(e)||Ee(e)&&e.toString===jp?JSON.stringify(e,null,2):String(e);/*!
|
||
|
* message-compiler v9.3.0-beta.17
|
||
|
* (c) 2023 kazuya kawaguchi
|
||
|
* Released under the MIT License.
|
||
|
*/const Vp={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 Hp(e,t,n={}){const{domain:r,messages:o,args:s}=n,a=e,l=new SyntaxError(String(a));return l.code=e,t&&(l.location=t),l.domain=r,l}/*!
|
||
|
* devtools-if v9.3.0-beta.17
|
||
|
* (c) 2023 kazuya kawaguchi
|
||
|
* Released under the MIT License.
|
||
|
*/const Bp={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
|
||
|
* core-base v9.3.0-beta.17
|
||
|
* (c) 2023 kazuya kawaguchi
|
||
|
* Released under the MIT License.
|
||
|
*/const $n=[];$n[0]={w:[0],i:[3,0],["["]:[4],o:[7]};$n[1]={w:[1],["."]:[2],["["]:[4],o:[7]};$n[2]={w:[2],i:[3,0],[0]:[3,0]};$n[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};$n[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};$n[5]={["'"]:[4,0],o:8,l:[5,0]};$n[6]={['"']:[4,0],o:8,l:[6,0]};const hE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function mE(e){return hE.test(e)}function gE(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 yE(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 vE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:mE(t)?gE(t):"*"+t}function _E(e){const t=[];let n=-1,r=0,o=0,s,a,l,i,c,u,f;const d=[];d[0]=()=>{a===void 0?a=l:a+=l},d[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,a===void 0||(a=vE(a),a===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,l="\\"+h,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(i=yE(s),f=$n[r],c=f[i]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(l=s,u()===!1))))return;if(r===7)return t}}const uu=new Map;function bE(e,t){return Te(e)?e[t]:null}function wE(e,t){if(!Te(e))return null;let n=uu.get(t);if(n||(n=_E(t),n&&uu.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const a=o[n[s]];if(a===void 0)return null;o=a,s++}return o}const EE=e=>e,xE=e=>"",LE="text",CE=e=>e.length===0?"":e.join(""),kE=pE;function fu(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function AE(e){const t=Ge(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ge(e.named.count)||Ge(e.named.n))?Ge(e.named.count)?e.named.count:Ge(e.named.n)?e.named.n:t:t}function PE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function RE(e={}){const t=e.locale,n=AE(e),r=Te(e.pluralRules)&&ee(t)&&Fe(e.pluralRules[t])?e.pluralRules[t]:fu,o=Te(e.pluralRules)&&ee(t)&&Fe(e.pluralRules[t])?fu:void 0,s=m=>m[r(n,m.length,o)],a=e.list||[],l=m=>a[m],i=e.named||{};Ge(e.pluralIndex)&&PE(n,i);const c=m=>i[m];function u(m){const g=Fe(e.messages)?e.messages(m):Te(e.messages)?e.messages[m]:!1;return g||(e.parent?e.parent.message(m):xE)}const f=m=>e.modifiers?e.modifiers[m]:EE,d=Ee(e.processor)&&Fe(e.processor.normalize)?e.processor.normalize:CE,p=Ee(e.processor)&&Fe(e.processor.interpolate)?e.processor.interpolate:kE,h=Ee(e.processor)&&ee(e.processor.type)?e.processor.type:LE,w={list:l,named:c,plural:s,linked:(m,...g)=>{const[C,_]=g;let v="text",R="";g.length===1?Te(C)?(R=C.modifier||R,v=C.type||v):ee(C)&&(R=C||R):g.length===2&&(ee(C)&&(R=C||R),ee(_)&&(v=_||v));let k=u(m)(w);return v==="vnode"&&Ue(k)&&R&&(k=k[0]),R?f(R)(k,v):k},message:u,type:h,interpolate:p,normalize:d};return w}let vo=null;function TE(e){vo=e}function OE(e,t,n){vo&&vo.emit(Bp.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const IE=SE(Bp.FunctionTranslate);function SE(e){return t=>vo&&vo.emit(e,t)}function $E(e,t,n){return[...new Set([n,...Ue(t)?t:Te(t)?Object.keys(t):ee(t)?[t]:[n]])]}function Up(e,t,n){const r=ee(n)?n:Li,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let a=[n];for(;Ue(a);)a=du(s,a,t);const l=Ue(t)||!Ee(t)?t:t.default?t.default:null;a=ee(l)?[l]:l,Ue(a)&&du(s,a,!1),o.__localeChainCache.set(r,s)}return s}function du(e,t,n){let r=!0;for(let o=0;o<t.length&&je(r);o++){const s=t[o];ee(s)&&(r=NE(e,t[o],n))}return r}function NE(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=DE(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function DE(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Ue(n)||Ee(n))&&n[o]&&(r=n[o])}return r}const ME="9.3.0-beta.17",Js=-1,Li="en-US",pu="",hu=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function FE(){return{upper:(e,t)=>t==="text"&&ee(e)?e.toUpperCas
|
||
|
* vue-i18n v9.3.0-beta.17
|
||
|
* (c) 2023 kazuya kawaguchi
|
||
|
* Released under the MIT License.
|
||
|
*/const YE="9.3.0-beta.17";function XE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wi().__INTLIFY_PROD_DEVTOOLS__=!1)}let Zp=Vp.__EXTEND_POINT__;const pt=()=>++Zp,kt={UNEXPECTED_RETURN_TYPE:Zp,INVALID_ARGUMENT:pt(),MUST_BE_CALL_SETUP_TOP:pt(),NOT_INSLALLED:pt(),NOT_AVAILABLE_IN_LEGACY_MODE:pt(),REQUIRED_VALUE:pt(),INVALID_VALUE:pt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:pt(),NOT_INSLALLED_WITH_PROVIDE:pt(),UNEXPECTED_ERROR:pt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:pt(),BRIDGE_SUPPORT_VUE_2_ONLY:pt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:pt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:pt(),__EXTEND_POINT__:pt()};function Mt(e,...t){return Hp(e,null,void 0)}const _l=Zn("__translateVNode"),bl=Zn("__datetimeParts"),wl=Zn("__numberParts"),JE=Zn("__setPluralRules"),QE=Zn("__injectWithOption");function El(e){if(!Te(e))return e;for(const t in e)if(Ei(e,t))if(!t.includes("."))Te(e[t])&&El(e[t]);else{const n=t.split("."),r=n.length-1;let o=e;for(let s=0;s<r;s++)n[s]in o||(o[n[s]]={}),o=o[n[s]];o[n[r]]=e[t],delete e[t],Te(o[n[r]])&&El(o[n[r]])}return e}function eh(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,a=Ee(n)?n:Ue(r)?{}:{[e]:{}};if(Ue(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:i,resource:c}=l;i?(a[i]=a[i]||{},so(c,a[i])):so(c,a)}else ee(l)&&so(JSON.parse(l),a)}),o==null&&s)for(const l in a)Ei(a,l)&&El(a[l]);return a}const Qo=e=>!Te(e)||Ue(e);function so(e,t){if(Qo(e)||Qo(t))throw Mt(kt.INVALID_VALUE);for(const n in e)Ei(e,n)&&(Qo(e[n])||Qo(t[n])?t[n]=e[n]:so(e[n],t[n]))}function th(e){return e.type}function ZE(e,t,n){let r=Te(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=eh(globalThis.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(Te(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Te(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Lu(e){return fe(qn,null,e,0)}const Cu="__INTLIFY_META__";let ku=0;function Au(e){return(t,n,r,o)=>e(n,r,ut()||void 0,o)}const e1=()=>{const e=ut();let t=null;return e&&(t=th(e)[Cu])?{[Cu]:t}:null};function nh(e={},t){const{__root:n}=e,r=n===void 0;let o=je(e.inheritLocale)?e.inheritLocale:!0;const s=W(n&&o?n.locale.value:ee(e.locale)?e.locale:Li),a=W(n&&o?n.fallbackLocale.value:ee(e.fallbackLocale)||Ue(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),l=W(eh(s.value,e)),i=W(Ee(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),c=W(Ee(e.numberFormats)?e.numberFormats:{[s.value]:{}});let u=n?n.missingWarn:je(e.missingWarn)||ws(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:je(e.fallbackWarn)||ws(e.fallbackWarn)?e.fallbackWarn:!0,d=n?n.fallbackRoot:je(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,h=Fe(e.missing)?e.missing:null,y=Fe(e.missing)?Au(e.missing):null,w=Fe(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:je(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const C=n?n.modifiers:Ee(e.modifiers)?e.modifiers:{};let _=e.pluralRules||n&&n.pluralRules,v;v=(()=>{r&&gu(null);const P={version:YE,locale:s.value,fallbackLocale:a.value,messages:l.value,modifiers:C,pluralRules:_,missing:y===null?void 0:y,missingWarn:u,fallbackWarn:f,fallbackFormat:p,unresolving:!0,postTranslation:w===null?void 0:w,warnHtmlMessage:m,escapeParameter:g,messageResolver:e.messageResolver,__meta:{framework:"vue"}};P.datetimeFormats=i.value,P.numberFormats=c.value,P.__datetimeFormatters=Ee(v)?v.__datetimeFormatters:void 0,P.__numberFormatters=Ee(v)?v.__numberFormatters:void 0;const O=WE(P);return r&&gu(O),O})(),Wr(v,s.value,a.value);function k(){return[s.value,a.value,l.value,i.value,c.value]}const L=U({get:()=>s.value,set:P=>{s.value=P,v.locale=s.value}}),T=U({get:()=>a.value,set:P=>{a.value=P,v.fallbackLocale=a.value,Wr(v,s.value,P)}}),$=U(()=>l.value),B=U(()=>i.value),j=U(()=>c.value);function I(){return Fe(w)?w:null}function N(P){w=P,v.postTranslation=P}f
|
||
|
* shared v9.3.0-beta.16
|
||
|
* (c) 2023 kazuya kawaguchi
|
||
|
* Released under the MIT License.
|
||
|
*/const A1=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Qs=Object.assign,lh=Array.isArray,xl=e=>typeof e=="function",Pr=e=>typeof e=="string",P1=e=>typeof e=="symbol",Ai=e=>e!==null&&typeof e=="object",R1=/\/$|\/\?/;function Ll(e="",t=!1){return t?R1.test(e):e.endsWith("/")}function T1(e="",t=!1){if(!t)return(Ll(e)?e.slice(0,-1):e)||"/";if(!Ll(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function O1(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Ll(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}const I1=typeof window<"u";function ih(e,t){typeof console<"u"&&(console.warn("[vue-i18n-routing] "+e),t&&console.warn(t.stack))}function S1(e){e=e||[];const t=[];for(const n of e)Pr(n)?t.push({code:n}):t.push(n);return t}function er(e){return e!=null&&"global"in e&&"mode"in e}function Nr(e){return e!=null&&!("__composer"in e)&&_e(e.locale)}function In(e){return e!=null&&"__composer"in e}function $o(e){return e!=null&&!("__composer"in e)&&!_e(e.locale)}function Zs(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function _o(e){return er(e)?Nr(e.global)?e.global:e.global.__composer:In(e)?e.__composer:e}function ea(e){const t=er(e)?e.global:e;return Nr(t)?t.locale.value:($o(t)||In(t)||Zs(t),t.locale)}function $1(e){const t=er(e)?e.global:e;return Nr(t)?t.locales.value:($o(t)||In(t)||Zs(t),t.locales)}function N1(e){const t=er(e)?e.global:e;return Nr(t)?t.localeCodes.value:($o(t)||In(t)||Zs(t),t.localeCodes)}function ch(e,t){const n=er(e)?e.global:e;if(Nr(n))n.locale.value=t;else if($o(n)||In(n)||Zs(n))n.locale=t;else throw new Error("TODO:")}function uh(e){return Pr(e)?e:P1(e)?e.toString():"(null)"}function Su(e,t,{defaultLocale:n,strategy:r,routesNameSeparator:o,defaultLocaleRouteNameSuffix:s}){let a=uh(e)+(r==="no_prefix"?"":o+t);return t===n&&r==="prefix_and_default"&&(a+=o+s),a}function $u(e,t){return xl(e)?e(t):e}function D1(e,t){const n=[];for(const[r,o]of t.entries()){const s=e.find(a=>a.iso.toLowerCase()===o.toLowerCase());if(s){n.push({code:s.code,score:1-r/t.length});break}}for(const[r,o]of t.entries()){const s=o.split("-")[0].toLowerCase(),a=e.find(l=>l.iso.split("-")[0].toLowerCase()===s);if(a){n.push({code:a.code,score:.999-r/t.length});break}}return n}const M1=D1;function F1(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const j1=F1;function V1(e,t,{matcher:n=M1,comparer:r=j1}={}){const o=[];for(const a of e){const{code:l}=a,i=a.iso||l;o.push({code:l,iso:i})}const s=n(o,t);return s.length>1&&s.sort(r),s.length?s[0].code:""}function Mn(e){return function(){return Reflect.apply(e,{getRouteBaseName:this.getRouteBaseName,localePath:this.localePath,localeRoute:this.localeRoute,localeLocation:this.localeLocation,resolveRoute:this.resolveRoute,switchLocalePath:this.switchLocalePath,localeHead:this.localeHead,i18n:this.$i18n,route:this.$route,router:this.$router},arguments)}}function H1(e,{locales:t=[],localeCodes:n=[],baseUrl:r=k1,hooks:o={},context:s={}}={}){const a=Ao(),l=e.install;return e.install=(i,...c)=>{const u=W1(c[0])?Qs({},c[0]):{inject:!0};u.inject==null&&(u.inject=!0);const f=u.__composerExtend;if(u.__composerExtend=y=>{const w=_o(e);y.locales=U(()=>w.locales.value),y.localeCodes=U(()=>w.localeCodes.value),y.baseUrl=U(()=>w.baseUrl.value),xl(f)&&Reflect.apply(f,u,[y])},In(e.global)){const y=u.__vueI18nExtend;u.__vueI18nExtend=w=>{Nu(w,o.onExtendVueI18n),xl(y)&&Reflect.apply(y,u,[w])}}c[0]=u,Reflect.apply(l,e,[i,...c]);const d=_o(e);a.run(()=>B1(d,{locales:t,localeCodes:n,baseUrl:r,hooks:o,context:s})),In(e.global)&&Nu(e.global,o.onExtendVueI18n);const p=i,h=e.mode==="composition"?p.config.globalProperties.$i18n:null;if(h&&U1(h,d,o.onExtendExportedGlobal),u.inject&&i.mixin({methods:{resolveRoute:Mn(na),localePath:Mn(ta),localeRoute:Mn(Pi),localeLocation:Mn(Q1),switchLocalePath:Mn(bo),getRouteBaseName:Mn(Rr),localeHead:Mn(ph)}}),p.unmount){const y=p.unmount;p.unmount=()=>{a.stop(),y()}}},a}function B1(e,t){const{locales:n,localeCodes:r,baseUrl:o,context:s}=t,a=W(n),l=W(r),
|