import{h as Xe,e as Wt,i as Ut,o as Vt,a as xt,r as Q,c as q,w as ce,F as Ye,g as ze,b as jt,d as Gt,T as $t,f as Ht}from"./index.d8e1e793.js";/*!
  * shared v9.3.0-beta.14
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const ie=typeof window!="undefined",j=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Bt=(e,t,n)=>Kt({l:e,k:t,s:n}),Kt=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),S=e=>typeof e=="number"&&isFinite(e),Xt=e=>Ne(e)==="[object Date]",ae=e=>Ne(e)==="[object RegExp]",re=e=>T(e)&&Object.keys(e).length===0;function Yt(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const w=Object.assign;function Ce(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const zt=Object.prototype.hasOwnProperty;function be(e,t){return zt.call(e,t)}const h=Array.isArray,v=e=>typeof e=="function",_=e=>typeof e=="string",A=e=>typeof e=="boolean",y=e=>e!==null&&typeof e=="object",Je=Object.prototype.toString,Ne=e=>Je.call(e),T=e=>Ne(e)==="[object Object]",Jt=e=>e==null?"":h(e)||T(e)&&e.toString===Je?JSON.stringify(e,null,2):String(e);/*!
  * message-compiler v9.3.0-beta.14
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const Qe={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 qe(e,t,n={}){const{domain:a,messages:l,args:s}=n,r=e,i=new SyntaxError(String(r));return i.code=e,t&&(i.location=t),i.domain=a,i}/*!
  * devtools-if v9.3.0-beta.14
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const Qt={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
  * core-base v9.3.0-beta.14
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const G=[];G[0]={w:[0],i:[3,0],["["]:[4],o:[7]};G[1]={w:[1],["."]:[2],["["]:[4],o:[7]};G[2]={w:[2],i:[3,0],[0]:[3,0]};G[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};G[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};G[5]={["'"]:[4,0],o:8,l:[5,0]};G[6]={['"']:[4,0],o:8,l:[6,0]};const qt=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Zt(e){return qt.test(e)}function en(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 tn(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 nn(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Zt(t)?en(t):"*"+t}function an(e){const t=[];let n=-1,a=0,l=0,s,r,i,c,m,E,d;const g=[];g[0]=()=>{r===void 0?r=i:r+=i},g[1]=()=>{r!==void 0&&(t.push(r),r=void 0)},g[2]=()=>{g[0](),l++},g[3]=()=>{if(l>0)l--,a=4,g[0]();else{if(l=0,r===void 0||(r=nn(r),r===!1))return!1;g[1]()}};function b(){const I=e[n+1];if(a===5&&I==="'"||a===6&&I==='"')return n++,i="\\"+I,g[0](),!0}for(;a!==null;)if(n++,s=e[n],!(s==="\\"&&b())){if(c=tn(s),d=G[a],m=d[c]||d.l||8,m===8||(a=m[0],m[1]!==void 0&&(E=g[m[1]],E&&(i=s,E()===!1))))return;if(a===7)return t}}const Ae=new Map;function rn(e,t){return y(e)?e[t]:null}function ln(e,t){if(!y(e))return null;let n=Ae.get(t);if(n||(n=an(t),n&&Ae.set(t,n)),!n)return null;const a=n.length;let l=e,s=0;for(;s<a;){const r=l[n[s]];if(r===void 0)return null;l=r,s++}return l}const sn=e=>e,on=e=>"",cn="text",un=e=>e.length===0?"":e.join(""),mn=Jt;function he(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function fn(e){const t=S(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(S(e.named.count)||S(e.named.n))?S(e.named.count)?e.named.count:S(e.named.n)?e.named.n:t:t}function _n(e,t){t.count||(t.count=e),t.n||(t.n=e)}function gn(e={}){const t=e.locale,n=fn(e),a=y(e.pluralRules)&&_(t)&&v(e.pluralRules[t])?e.pluralRules[t]:he,l=y(e.pluralRules)&&_(t)&&v(e.pluralRules[t])?he:void 0,s=N=>N[a(n,N.length,l)],r=e.list||[],i=N=>r[N],c=e.named||{};S(e.pluralIndex)&&_n(n,c);const m=N=>c[N];function E(N){const p=v(e.messages)?e.messages(N):y(e.messages)?e.messages[N]:!1;return p||(e.parent?e.parent.message(N):on)}const d=N=>e.modifiers?e.modifiers[N]:sn,g=T(e.processor)&&v(e.processor.normalize)?e.processor.normalize:un,b=T(e.processor)&&v(e.processor.interpolate)?e.processor.interpolate:mn,I=T(e.processor)&&_(e.processor.type)?e.processor.type:cn,F={list:i,named:m,plural:s,linked:(N,...p)=>{const[R,O]=p;let f="text",C="";p.length===1?y(R)?(C=R.modifier||C,f=R.type||f):_(R)&&(C=R||C):p.length===2&&(_(R)&&(C=R||C),_(O)&&(f=O||f));let M=E(N)(F);return f==="vnode"&&h(M)&&C&&(M=M[0]),C?d(C)(M,f):M},message:E,type:I,interpolate:b,normalize:g};return F}let dn=null;Qt.FunctionTranslate;function En(e){return t=>dn}const bn={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};function Nn(e,t,n){return[...new Set([n,...h(t)?t:y(t)?Object.keys(t):_(t)?[t]:[n]])]}function Ze(e,t,n){const a=_(n)?n:Te,l=e;l.__localeChainCache||(l.__localeChainCache=new Map);let s=l.__localeChainCache.get(a);if(!s){s=[];let r=[n];for(;h(r);)r=Re(s,r,t);const i=h(t)||!T(t)?t:t.default?t.default:null;r=_(i)?[i]:i,h(r)&&Re(s,r,!1),l.__localeChainCache.set(a,s)}return s}function Re(e,t,n){let a=!0;for(let l=0;l<t.length&&A(a);l++){const s=t[l];_(s)&&(a=Tn(e,t[l],n))}return a}function Tn(e,t,n){let a;const l=t.split("-");do{const s=l.join("-");a=In(e,s,n),l.splice(-1,1)}while(l.length&&a===!0);return a}function In(e,t,n){let a=!1;if(!e.includes(t)&&(a=!0,t)){a=t[t.length-1]!=="!";const l=t.replace(/!/g,"");e.push(l),(h(n)||T(n))&&n[l]&&(a=n[l])}return a}const Ln="9.3.0-beta.14",le=-1,Te="en-US",De="",Se=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function On(){return{upper:(e,t)=>t==="text"&&_(e)?e.toUpperCase():t==="vnode"&&y(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&_(e)?e.toLowerCase():t==="vnode"&&y(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&_(e)?Se(e):t==="vnode"&&y(e)&&"__v_isVNode"in e?Se(e.children):e}}let pn,et;function yn(e){et=e}let tt;function Fn(e){tt=e}let ve=0;function Cn(e={}){const t=_(e.version)?e.version:Ln,n=_(e.locale)?e.locale:Te,a=h(e.fallbackLocale)||T(e.fallbackLocale)||_(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,l=T(e.messages)?e.messages:{[n]:{}},s=T(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},r=T(e.numberFormats)?e.numberFormats:{[n]:{}},i=w({},e.modifiers||{},On()),c=e.pluralRules||{},m=v(e.missing)?e.missing:null,E=A(e.missingWarn)||ae(e.missingWarn)?e.missingWarn:!0,d=A(e.fallbackWarn)||ae(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,b=!!e.unresolving,I=v(e.postTranslation)?e.postTranslation:null,L=T(e.processor)?e.processor:null,F=A(e.warnHtmlMessage)?e.warnHtmlMessage:!0,N=!!e.escapeParameter,p=v(e.messageCompiler)?e.messageCompiler:pn,R=v(e.messageResolver)?e.messageResolver:et||rn,O=v(e.localeFallbacker)?e.localeFallbacker:tt||Nn,f=y(e.fallbackContext)?e.fallbackContext:void 0,C=v(e.onWarn)?e.onWarn:Yt,M=e,X=y(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,Y=y(M.__numberFormatters)?M.__numberFormatters:new Map,z=y(M.__meta)?M.__meta:{};ve++;const V={version:t,cid:ve,locale:n,fallbackLocale:a,messages:l,modifiers:i,pluralRules:c,missing:m,missingWarn:E,fallbackWarn:d,fallbackFormat:g,unresolving:b,postTranslation:I,processor:L,warnHtmlMessage:F,escapeParameter:N,messageCompiler:p,messageResolver:R,localeFallbacker:O,fallbackContext:f,onWarn:C,__meta:z};return V.datetimeFormats=s,V.numberFormats=r,V.__datetimeFormatters=X,V.__numberFormatters=Y,V}function Ie(e,t,n,a,l){const{missing:s,onWarn:r}=e;if(s!==null){const i=s(e,n,t,l);return _(i)?i:t}else return t}function Z(e,t,n){const a=e;a.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}let nt=Qe.__EXTEND_POINT__;const oe=()=>++nt,B={INVALID_ARGUMENT:nt,INVALID_DATE_ARGUMENT:oe(),INVALID_ISO_DATE_ARGUMENT:oe(),__EXTEND_POINT__:oe()};function K(e){return qe(e,null,void 0)}const Me=()=>"",$=e=>v(e);function ke(e,...t){const{fallbackFormat:n,postTranslation:a,unresolving:l,messageCompiler:s,fallbackLocale:r,messages:i}=e,[c,m]=ue(...t),E=A(m.missingWarn)?m.missingWarn:e.missingWarn,d=A(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,g=A(m.escapeParameter)?m.escapeParameter:e.escapeParameter,b=!!m.resolvedMessage,I=_(m.default)||A(m.default)?A(m.default)?s?c:()=>c:m.default:n?s?c:()=>c:"",L=n||I!=="",F=_(m.locale)?m.locale:e.locale;g&&An(m);let[N,p,R]=b?[c,F,i[F]||{}]:at(e,c,F,r,d,E),O=N,f=c;if(!b&&!(_(O)||$(O))&&L&&(O=I,f=O),!b&&(!(_(O)||$(O))||!_(p)))return l?le:c;let C=!1;const M=()=>{C=!0},X=$(O)?O:rt(e,c,p,O,f,M);if(C)return O;const Y=Dn(e,p,R,m),z=gn(Y),V=hn(e,X,z);return a?a(V,c):V}function An(e){h(e.list)?e.list=e.list.map(t=>_(t)?Ce(t):t):y(e.named)&&Object.keys(e.named).forEach(t=>{_(e.named[t])&&(e.named[t]=Ce(e.named[t]))})}function at(e,t,n,a,l,s){const{messages:r,onWarn:i,messageResolver:c,localeFallbacker:m}=e,E=m(e,a,n);let d={},g,b=null;const I="translate";for(let L=0;L<E.length&&(g=E[L],d=r[g]||{},(b=c(d,t))===null&&(b=d[t]),!(_(b)||v(b)));L++){const F=Ie(e,t,g,s,I);F!==t&&(b=F)}return[b,g,d]}function rt(e,t,n,a,l,s){const{messageCompiler:r,warnHtmlMessage:i}=e;if($(a)){const m=a;return m.locale=m.locale||n,m.key=m.key||t,m}if(r==null){const m=()=>a;return m.locale=n,m.key=t,m}const c=r(a,Rn(e,n,l,a,i,s));return c.locale=n,c.key=t,c.source=a,c}function hn(e,t,n){return t(n)}function ue(...e){const[t,n,a]=e,l={};if(!_(t)&&!S(t)&&!$(t))throw K(B.INVALID_ARGUMENT);const s=S(t)?String(t):($(t),t);return S(n)?l.plural=n:_(n)?l.default=n:T(n)&&!re(n)?l.named=n:h(n)&&(l.list=n),S(a)?l.plural=a:_(a)?l.default=a:T(a)&&w(l,a),[s,l]}function Rn(e,t,n,a,l,s){return{warnHtmlMessage:l,onError:r=>{throw s&&s(r),r},onCacheKey:r=>Bt(t,n,r)}}function Dn(e,t,n,a){const{modifiers:l,pluralRules:s,messageResolver:r,fallbackLocale:i,fallbackWarn:c,missingWarn:m,fallbackContext:E}=e,g={locale:t,modifiers:l,pluralRules:s,messages:b=>{let I=r(n,b);if(I==null&&E){const[,,L]=at(E,b,t,i,c,m);I=r(L,b)}if(_(I)){let L=!1;const N=rt(e,b,t,I,b,()=>{L=!0});return L?Me:N}else return $(I)?I:Me}};return e.processor&&(g.processor=e.processor),a.list&&(g.list=a.list),a.named&&(g.named=a.named),S(a.plural)&&(g.pluralIndex=a.plural),g}function Pe(e,...t){const{datetimeFormats:n,unresolving:a,fallbackLocale:l,onWarn:s,localeFallbacker:r}=e,{__datetimeFormatters:i}=e,[c,m,E,d]=me(...t),g=A(E.missingWarn)?E.missingWarn:e.missingWarn;A(E.fallbackWarn)?E.fallbackWarn:e.fallbackWarn;const b=!!E.part,I=_(E.locale)?E.locale:e.locale,L=r(e,l,I);if(!_(c)||c==="")return new Intl.DateTimeFormat(I,d).format(m);let F={},N,p=null;const R="datetime format";for(let C=0;C<L.length&&(N=L[C],F=n[N]||{},p=F[c],!T(p));C++)Ie(e,c,N,g,R);if(!T(p)||!_(N))return a?le:c;let O=`${N}__${c}`;re(d)||(O=`${O}__${JSON.stringify(d)}`);let f=i.get(O);return f||(f=new Intl.DateTimeFormat(N,w({},p,d)),i.set(O,f)),b?f.formatToParts(m):f.format(m)}const lt=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function me(...e){const[t,n,a,l]=e,s={};let r={},i;if(_(t)){const c=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw K(B.INVALID_ISO_DATE_ARGUMENT);const m=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();i=new Date(m);try{i.toISOString()}catch{throw K(B.INVALID_ISO_DATE_ARGUMENT)}}else if(Xt(t)){if(isNaN(t.getTime()))throw K(B.INVALID_DATE_ARGUMENT);i=t}else if(S(t))i=t;else throw K(B.INVALID_ARGUMENT);return _(n)?s.key=n:T(n)&&Object.keys(n).forEach(c=>{lt.includes(c)?r[c]=n[c]:s[c]=n[c]}),_(a)?s.locale=a:T(a)&&(r=a),T(l)&&(r=l),[s.key||"",i,s,r]}function we(e,t,n){const a=e;for(const l in n){const s=`${t}__${l}`;!a.__datetimeFormatters.has(s)||a.__datetimeFormatters.delete(s)}}function We(e,...t){const{numberFormats:n,unresolving:a,fallbackLocale:l,onWarn:s,localeFallbacker:r}=e,{__numberFormatters:i}=e,[c,m,E,d]=fe(...t),g=A(E.missingWarn)?E.missingWarn:e.missingWarn;A(E.fallbackWarn)?E.fallbackWarn:e.fallbackWarn;const b=!!E.part,I=_(E.locale)?E.locale:e.locale,L=r(e,l,I);if(!_(c)||c==="")return new Intl.NumberFormat(I,d).format(m);let F={},N,p=null;const R="number format";for(let C=0;C<L.length&&(N=L[C],F=n[N]||{},p=F[c],!T(p));C++)Ie(e,c,N,g,R);if(!T(p)||!_(N))return a?le:c;let O=`${N}__${c}`;re(d)||(O=`${O}__${JSON.stringify(d)}`);let f=i.get(O);return f||(f=new Intl.NumberFormat(N,w({},p,d)),i.set(O,f)),b?f.formatToParts(m):f.format(m)}const st=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function fe(...e){const[t,n,a,l]=e,s={};let r={};if(!S(t))throw K(B.INVALID_ARGUMENT);const i=t;return _(n)?s.key=n:T(n)&&Object.keys(n).forEach(c=>{st.includes(c)?r[c]=n[c]:s[c]=n[c]}),_(a)?s.locale=a:T(a)&&(r=a),T(l)&&(r=l),[s.key||"",i,s,r]}function Ue(e,t,n){const a=e;for(const l in n){const s=`${t}__${l}`;!a.__numberFormatters.has(s)||a.__numberFormatters.delete(s)}}/*!
  * vue-i18n v9.3.0-beta.14
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const Sn="9.3.0-beta.14";bn.__EXTEND_POINT__;let ot=Qe.__EXTEND_POINT__;const P=()=>++ot,W={UNEXPECTED_RETURN_TYPE:ot,INVALID_ARGUMENT:P(),MUST_BE_CALL_SETUP_TOP:P(),NOT_INSLALLED:P(),NOT_AVAILABLE_IN_LEGACY_MODE:P(),REQUIRED_VALUE:P(),INVALID_VALUE:P(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:P(),NOT_INSLALLED_WITH_PROVIDE:P(),UNEXPECTED_ERROR:P(),NOT_COMPATIBLE_LEGACY_VUE_I18N:P(),BRIDGE_SUPPORT_VUE_2_ONLY:P(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:P(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:P(),__EXTEND_POINT__:P()};function U(e,...t){return qe(e,null,void 0)}const _e=j("__translateVNode"),ge=j("__datetimeParts"),de=j("__numberParts"),vn=j("__setPluralRules");j("__intlifyMeta");const Mn=j("__injectWithOption");function Ee(e){if(!y(e))return e;for(const t in e)if(!!be(e,t))if(!t.includes("."))y(e[t])&&Ee(e[t]);else{const n=t.split("."),a=n.length-1;let l=e;for(let s=0;s<a;s++)n[s]in l||(l[n[s]]={}),l=l[n[s]];l[n[a]]=e[t],delete e[t],y(l[n[a]])&&Ee(l[n[a]])}return e}function ct(e,t){const{messages:n,__i18n:a,messageResolver:l,flatJson:s}=t,r=T(n)?n:h(a)?{}:{[e]:{}};if(h(a)&&a.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:c,resource:m}=i;c?(r[c]=r[c]||{},ee(m,r[c])):ee(m,r)}else _(i)&&ee(JSON.parse(i),r)}),l==null&&s)for(const i in r)be(r,i)&&Ee(r[i]);return r}const ne=e=>!y(e)||h(e);function ee(e,t){if(ne(e)||ne(t))throw U(W.INVALID_VALUE);for(const n in e)be(e,n)&&(ne(e[n])||ne(t[n])?t[n]=e[n]:ee(e[n],t[n]))}function kn(e){return e.type}function Pn(e,t,n){let a=y(t.messages)?t.messages:{};"__i18nGlobal"in n&&(a=ct(e.locale.value,{messages:a,__i18n:n.__i18nGlobal}));const l=Object.keys(a);l.length&&l.forEach(s=>{e.mergeLocaleMessage(s,a[s])});{if(y(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])})}if(y(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(r=>{e.mergeNumberFormat(r,t.numberFormats[r])})}}}function Ve(e){return Gt($t,null,e,0)}let xe=0;function je(e){return(t,n,a,l)=>e(n,a,ze()||void 0,l)}function it(e={},t){const{__root:n}=e,a=n===void 0;let l=A(e.inheritLocale)?e.inheritLocale:!0;const s=Q(n&&l?n.locale.value:_(e.locale)?e.locale:Te),r=Q(n&&l?n.fallbackLocale.value:_(e.fallbackLocale)||h(e.fallbackLocale)||T(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),i=Q(ct(s.value,e)),c=Q(T(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),m=Q(T(e.numberFormats)?e.numberFormats:{[s.value]:{}});let E=n?n.missingWarn:A(e.missingWarn)||ae(e.missingWarn)?e.missingWarn:!0,d=n?n.fallbackWarn:A(e.fallbackWarn)||ae(e.fallbackWarn)?e.fallbackWarn:!0,g=n?n.fallbackRoot:A(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,I=v(e.missing)?e.missing:null,L=v(e.missing)?je(e.missing):null,F=v(e.postTranslation)?e.postTranslation:null,N=n?n.warnHtmlMessage:A(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter;const R=n?n.modifiers:T(e.modifiers)?e.modifiers:{};let O=e.pluralRules||n&&n.pluralRules,f;f=(()=>{const o={version:Sn,locale:s.value,fallbackLocale:r.value,messages:i.value,modifiers:R,pluralRules:O,missing:L===null?void 0:L,missingWarn:E,fallbackWarn:d,fallbackFormat:b,unresolving:!0,postTranslation:F===null?void 0:F,warnHtmlMessage:N,escapeParameter:p,messageResolver:e.messageResolver,__meta:{framework:"vue"}};return o.datetimeFormats=c.value,o.numberFormats=m.value,o.__datetimeFormatters=T(f)?f.__datetimeFormatters:void 0,o.__numberFormatters=T(f)?f.__numberFormatters:void 0,Cn(o)})(),Z(f,s.value,r.value);function M(){return[s.value,r.value,i.value,c.value,m.value]}const X=q({get:()=>s.value,set:o=>{s.value=o,f.locale=s.value}}),Y=q({get:()=>r.value,set:o=>{r.value=o,f.fallbackLocale=r.value,Z(f,s.value,o)}}),z=q(()=>i.value),V=q(()=>c.value),pe=q(()=>m.value);function ft(){return v(F)?F:null}function _t(o){F=o,f.postTranslation=o}function gt(){return I}function dt(o){o!==null&&(L=je(o)),I=o,f.missing=L}const H=(o,u,x,k,se,te)=>{M();let J;if(J=o(f),S(J)&&J===le){const[wt,ea]=u();return n&&g?k(n):se(wt)}else{if(te(J))return J;throw U(W.UNEXPECTED_RETURN_TYPE)}};function ye(...o){return H(u=>Reflect.apply(ke,null,[u,...o]),()=>ue(...o),"translate",u=>Reflect.apply(u.t,u,[...o]),u=>u,u=>_(u))}function Et(...o){const[u,x,k]=o;if(k&&!y(k))throw U(W.INVALID_ARGUMENT);return ye(u,x,w({resolvedMessage:!0},k||{}))}function bt(...o){return H(u=>Reflect.apply(Pe,null,[u,...o]),()=>me(...o),"datetime format",u=>Reflect.apply(u.d,u,[...o]),()=>De,u=>_(u))}function Nt(...o){return H(u=>Reflect.apply(We,null,[u,...o]),()=>fe(...o),"number format",u=>Reflect.apply(u.n,u,[...o]),()=>De,u=>_(u))}function Tt(o){return o.map(u=>_(u)||S(u)||A(u)?Ve(String(u)):u)}const It={normalize:Tt,interpolate:o=>o,type:"vnode"};function Lt(...o){return H(u=>{let x;const k=u;try{k.processor=It,x=Reflect.apply(ke,null,[k,...o])}finally{k.processor=null}return x},()=>ue(...o),"translate",u=>u[_e](...o),u=>[Ve(u)],u=>h(u))}function Ot(...o){return H(u=>Reflect.apply(We,null,[u,...o]),()=>fe(...o),"number format",u=>u[de](...o),()=>[],u=>_(u)||h(u))}function pt(...o){return H(u=>Reflect.apply(Pe,null,[u,...o]),()=>me(...o),"datetime format",u=>u[ge](...o),()=>[],u=>_(u)||h(u))}function yt(o){O=o,f.pluralRules=O}function Ft(o,u){const x=_(u)?u:s.value,k=Fe(x);return f.messageResolver(k,o)!==null}function Ct(o){let u=null;const x=Ze(f,r.value,s.value);for(let k=0;k<x.length;k++){const se=i.value[x[k]]||{},te=f.messageResolver(se,o);if(te!=null){u=te;break}}return u}function At(o){const u=Ct(o);return u!=null?u:n?n.tm(o)||{}:{}}function Fe(o){return i.value[o]||{}}function ht(o,u){i.value[o]=u,f.messages=i.value}function Rt(o,u){i.value[o]=i.value[o]||{},ee(u,i.value[o]),f.messages=i.value}function Dt(o){return c.value[o]||{}}function St(o,u){c.value[o]=u,f.datetimeFormats=c.value,we(f,o,u)}function vt(o,u){c.value[o]=w(c.value[o]||{},u),f.datetimeFormats=c.value,we(f,o,u)}function Mt(o){return m.value[o]||{}}function kt(o,u){m.value[o]=u,f.numberFormats=m.value,Ue(f,o,u)}function Pt(o,u){m.value[o]=w(m.value[o]||{},u),f.numberFormats=m.value,Ue(f,o,u)}xe++,n&&ie&&(ce(n.locale,o=>{l&&(s.value=o,f.locale=o,Z(f,s.value,r.value))}),ce(n.fallbackLocale,o=>{l&&(r.value=o,f.fallbackLocale=o,Z(f,s.value,r.value))}));const D={id:xe,locale:X,fallbackLocale:Y,get inheritLocale(){return l},set inheritLocale(o){l=o,o&&n&&(s.value=n.locale.value,r.value=n.fallbackLocale.value,Z(f,s.value,r.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:z,get modifiers(){return R},get pluralRules(){return O||{}},get isGlobal(){return a},get missingWarn(){return E},set missingWarn(o){E=o,f.missingWarn=E},get fallbackWarn(){return d},set fallbackWarn(o){d=o,f.fallbackWarn=d},get fallbackRoot(){return g},set fallbackRoot(o){g=o},get fallbackFormat(){return b},set fallbackFormat(o){b=o,f.fallbackFormat=b},get warnHtmlMessage(){return N},set warnHtmlMessage(o){N=o,f.warnHtmlMessage=o},get escapeParameter(){return p},set escapeParameter(o){p=o,f.escapeParameter=o},t:ye,getLocaleMessage:Fe,setLocaleMessage:ht,mergeLocaleMessage:Rt,getPostTranslationHandler:ft,setPostTranslationHandler:_t,getMissingHandler:gt,setMissingHandler:dt,[vn]:yt};return D.datetimeFormats=V,D.numberFormats=pe,D.rt=Et,D.te=Ft,D.tm=At,D.d=bt,D.n=Nt,D.getDateTimeFormat=Dt,D.setDateTimeFormat=St,D.mergeDateTimeFormat=vt,D.getNumberFormat=Mt,D.setNumberFormat=kt,D.mergeNumberFormat=Pt,D[Mn]=e.__injectWithOption,D[_e]=Lt,D[ge]=pt,D[de]=Ot,D}const Le={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function wn({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((a,l)=>[...a,...l.type===Ye?l.children:[l]],[]):t.reduce((n,a)=>{const l=e[a];return l&&(n[a]=l()),n},{})}function ut(e){return Ye}const Ge={name:"i18n-t",props:w({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>S(e)||!isNaN(e)}},Le),setup(e,t){const{slots:n,attrs:a}=t,l=e.i18n||Oe({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(d=>d!=="_"),r={};e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=_(e.plural)?+e.plural:e.plural);const i=wn(t,s),c=l[_e](e.keypath,i,r),m=w({},a),E=_(e.tag)||y(e.tag)?e.tag:ut();return Xe(E,m,c)}}};function Wn(e){return h(e)&&!_(e[0])}function mt(e,t,n,a){const{slots:l,attrs:s}=t;return()=>{const r={part:!0};let i={};e.locale&&(r.locale=e.locale),_(e.format)?r.key=e.format:y(e.format)&&(_(e.format.key)&&(r.key=e.format.key),i=Object.keys(e.format).reduce((g,b)=>n.includes(b)?w({},g,{[b]:e.format[b]}):g,{}));const c=a(e.value,r,i);let m=[r.key];h(c)?m=c.map((g,b)=>{const I=l[g.type],L=I?I({[g.type]:g.value,index:b,parts:c}):[g.value];return Wn(L)&&(L[0].key=`${g.type}-${b}`),L}):_(c)&&(m=[c]);const E=w({},s),d=_(e.tag)||y(e.tag)?e.tag:ut();return Xe(d,E,m)}}const $e={name:"i18n-n",props:w({value:{type:Number,required:!0},format:{type:[String,Object]}},Le),setup(e,t){const n=e.i18n||Oe({useScope:"parent",__useComponent:!0});return mt(e,t,st,(...a)=>n[de](...a))}},He={name:"i18n-d",props:w({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Le),setup(e,t){const n=e.i18n||Oe({useScope:"parent",__useComponent:!0});return mt(e,t,lt,(...a)=>n[ge](...a))}};function Un(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const a=n.__getInstance(t);return a!=null?a.__composer:e.global.__composer}}function Vn(e){const t=r=>{const{instance:i,modifiers:c,value:m}=r;if(!i||!i.$)throw U(W.UNEXPECTED_ERROR);const E=Un(e,i.$),d=Be(m);return[Reflect.apply(E.t,E,[...Ke(d)]),E]};return{created:(r,i)=>{const[c,m]=t(i);ie&&e.global===m&&(r.__i18nWatcher=ce(m.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=m,r.textContent=c},unmounted:r=>{ie&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:i})=>{if(r.__composer){const c=r.__composer,m=Be(i);r.textContent=Reflect.apply(c.t,c,[...Ke(m)])}},getSSRProps:r=>{const[i]=t(r);return{textContent:i}}}}function Be(e){if(_(e))return{path:e};if(T(e)){if(!("path"in e))throw U(W.REQUIRED_VALUE,"path");return e}else throw U(W.INVALID_VALUE)}function Ke(e){const{path:t,locale:n,args:a,choice:l,plural:s}=e,r={},i=a||{};return _(n)&&(r.locale=n),S(l)&&(r.plural=l),S(s)&&(r.plural=s),[t,i,r]}function xn(e,t,...n){const a=T(n[0])?n[0]:{},l=!!a.useI18nComponentName;(A(a.globalInstall)?a.globalInstall:!0)&&(e.component(l?"i18n":Ge.name,Ge),e.component($e.name,$e),e.component(He.name,He)),e.directive("t",Vn(t))}const jn=j("global-vue-i18n");function Gn(e={},t){const n=A(e.globalInjection)?e.globalInjection:!0,a=!0,l=new Map,[s,r]=$n(e),i=j("");function c(d){return l.get(d)||null}function m(d,g){l.set(d,g)}function E(d){l.delete(d)}{const d={get mode(){return"composition"},get allowComposition(){return a},async install(g,...b){if(g.__VUE_I18N_SYMBOL__=i,g.provide(g.__VUE_I18N_SYMBOL__,d),T(b[0])){const L=b[0];d.__composerExtend=L.__composerExtend,d.__vueI18nExtend=L.__vueI18nExtend}n&&Qn(g,d.global),xn(g,d,...b);const I=g.unmount;g.unmount=()=>{d.dispose(),I()}},get global(){return r},dispose(){s.stop()},__instances:l,__getInstance:c,__setInstance:m,__deleteInstance:E};return d}}function Oe(e={}){const t=ze();if(t==null)throw U(W.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw U(W.NOT_INSLALLED);const n=Hn(t),a=Kn(n),l=kn(t),s=Bn(e,l);if(s==="global")return Pn(a,e,l),a;if(s==="parent"){let c=Xn(n,t,e.__useComponent);return c==null&&(c=a),c}const r=n;let i=r.__getInstance(t);if(i==null){const c=w({},e);"__i18n"in l&&(c.__i18n=l.__i18n),a&&(c.__root=a),i=it(c),r.__composerExtend&&r.__composerExtend(i),Yn(r,t),r.__setInstance(t,i)}return i}function $n(e,t,n){const a=Wt();{const l=a.run(()=>it(e));if(l==null)throw U(W.UNEXPECTED_ERROR);return[a,l]}}function Hn(e){{const t=Ut(e.isCE?jn:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw U(e.isCE?W.NOT_INSLALLED_WITH_PROVIDE:W.UNEXPECTED_ERROR);return t}}function Bn(e,t){return re(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Kn(e){return e.mode==="composition"?e.global:e.global.__composer}function Xn(e,t,n=!1){let a=null;const l=t.root;let s=t.parent;for(;s!=null;){const r=e;if(e.mode==="composition"&&(a=r.__getInstance(s)),a!=null||l===s)break;s=s.parent}return a}function Yn(e,t,n){Vt(()=>{},t),xt(()=>{e.__deleteInstance(t)},t)}const zn=["locale","fallbackLocale","availableLocales"],Jn=["t","rt","d","n","tm","te"];function Qn(e,t){const n=Object.create(null);zn.forEach(a=>{const l=Object.getOwnPropertyDescriptor(t,a);if(!l)throw U(W.UNEXPECTED_ERROR);const s=jt(l.value)?{get(){return l.value.value},set(r){l.value.value=r}}:{get(){return l.get&&l.get()}};Object.defineProperty(n,a,s)}),e.config.globalProperties.$i18n=n,Jn.forEach(a=>{const l=Object.getOwnPropertyDescriptor(t,a);if(!l||!l.value)throw U(W.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,l)})}yn(ln);Fn(Ze);var qn={account:"My account",all_models:"All models",globale_variables:"GLobal variables",continue:"Continue",collections:"Collections",signin:"Sign In",password:"Password",found:"found",logout:"Log Out",project_settings:"Project Settings"},na=Ht(async({app:e,router:t})=>{const n=Gn({locale:"en",globalInjection:!0,messages:{en:qn}});e.use(n)});export{na as default};
