simple-web-lib 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,23 @@
1
- (function(ge,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],D):(ge=typeof globalThis<"u"?globalThis:ge||self,D(ge.SimpleWebLib={},ge.Vue))})(this,function(ge,D){"use strict";const Ur={name:"SimpleButton"},wr=D.defineComponent({...Ur,setup(e){const t=D.ref(0),n=()=>{t.value++};return(a,s)=>(D.openBlock(),D.createElementBlock("button",{class:"simple-button",onClick:n},D.toDisplayString(a.$t("simpleButton.clickMe"))+" ("+D.toDisplayString(t.value)+") ",1))}}),zt=(e,t)=>{const n=e.__vccOpts||e;for(const[a,s]of t)n[a]=s;return n},en=zt(wr,[["__scopeId","data-v-916874a8"]]);function Vr(e){e.component(en.name||"SimpleButton",en)}const tn={install:Vr},$r={class:"simple-card"},Wr={class:"simple-card__header"},Gr={class:"simple-card__body"},Hr={name:"SimpleCard"},xr=D.defineComponent({...Hr,setup(e){return(t,n)=>(D.openBlock(),D.createElementBlock("div",$r,[D.createElementVNode("div",Wr,[D.createElementVNode("h3",null,D.toDisplayString(t.$t("simpleCard.title")),1)]),D.createElementVNode("div",Gr,[D.createElementVNode("p",null,D.toDisplayString(t.$t("simpleCard.content")),1),D.renderSlot(t.$slots,"default",{},void 0,!0)])]))}}),nn=zt(xr,[["__scopeId","data-v-df720db0"]]);function Yr(e){e.component(nn.name||"SimpleCard",nn)}const rn={install:Yr};/*!
2
- * shared v9.14.5
3
- * (c) 2025 kazuya kawaguchi
1
+ (function(me,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],D):(me=typeof globalThis<"u"?globalThis:me||self,D(me.SimpleWebLib={},me.Vue))})(this,function(me,D){"use strict";const Or={name:"SimpleButton"},Lr=D.defineComponent({...Or,setup(e){const t=D.ref(0),n=()=>{t.value++};return(a,s)=>(D.openBlock(),D.createElementBlock("button",{class:"simple-button",onClick:n},D.toDisplayString(a.$t("simpleButton.clickMe"))+" ("+D.toDisplayString(t.value)+") ",1))}}),Xt=(e,t)=>{const n=e.__vccOpts||e;for(const[a,s]of t)n[a]=s;return n},Kt=Xt(Lr,[["__scopeId","data-v-916874a8"]]);function Ir(e){e.component(Kt.name||"SimpleButton",Kt)}const Jt={install:Ir},br={class:"simple-card"},hr={class:"simple-card__header"},vr={class:"simple-card__body"},Cr={name:"SimpleCard"},Ar=D.defineComponent({...Cr,setup(e){return(t,n)=>(D.openBlock(),D.createElementBlock("div",br,[D.createElementVNode("div",hr,[D.createElementVNode("h3",null,D.toDisplayString(t.$t("simpleCard.title")),1)]),D.createElementVNode("div",vr,[D.createElementVNode("p",null,D.toDisplayString(t.$t("simpleCard.content")),1),D.renderSlot(t.$slots,"default",{},void 0,!0)])]))}}),Qt=Xt(Ar,[["__scopeId","data-v-df720db0"]]);function Sr(e){e.component(Qt.name||"SimpleCard",Qt)}const qt={install:Sr};/*!
2
+ * shared v9.14.0
3
+ * (c) 2024 kazuya kawaguchi
4
4
  * Released under the MIT License.
5
- */function z(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const an={};function sn(e){an[e]||(an[e]=!0,z(e))}const me=typeof window<"u";let ie,Pe;if(process.env.NODE_ENV!=="production"){const e=me&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ie=t=>{e.mark(t)},Pe=(t,n,a)=>{e.measure(t,n,a),e.clearMarks(n),e.clearMarks(a)})}const Br=/\{([0-9a-zA-Z]+)\}/g;function At(e,...t){return t.length===1&&$(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Br,(n,a)=>t.hasOwnProperty(a)?t[a]:"")}const pe=(e,t=!1)=>t?Symbol.for(e):Symbol(e),jr=(e,t,n)=>Kr({l:e,k:t,s:n}),Kr=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),q=e=>typeof e=="number"&&isFinite(e),Xr=e=>fn(e)==="[object Date]",be=e=>fn(e)==="[object RegExp]",mt=e=>U(e)&&Object.keys(e).length===0,ne=Object.assign,Jr=Object.create,Y=(e=null)=>Jr(e);let ln;const Oe=()=>ln||(ln=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Y());function on(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function cn(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Qr(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(a,s,r)=>`${s}="${cn(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(a,s,r)=>`${s}='${cn(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(process.env.NODE_ENV!=="production"&&z("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(a=>{e=e.replace(a,"$1javascript&#58;")}),e}const qr=Object.prototype.hasOwnProperty;function de(e,t){return qr.call(e,t)}const K=Array.isArray,B=e=>typeof e=="function",v=e=>typeof e=="string",w=e=>typeof e=="boolean",$=e=>e!==null&&typeof e=="object",Zr=e=>$(e)&&B(e.then)&&B(e.catch),un=Object.prototype.toString,fn=e=>un.call(e),U=e=>{if(!$(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},zr=e=>e==null?"":K(e)||U(e)&&e.toString===un?JSON.stringify(e,null,2):String(e);function ea(e,t=""){return e.reduce((n,a,s)=>s===0?n+a:n+t+a,"")}const _n=2;function ta(e,t=0,n=e.length){const a=e.split(/\r?\n/);let s=0;const r=[];for(let l=0;l<a.length;l++)if(s+=a[l].length+1,s>=t){for(let o=l-_n;o<=l+_n||n>s;o++){if(o<0||o>=a.length)continue;const u=o+1;r.push(`${u}${" ".repeat(3-String(u).length)}| ${a[o]}`);const _=a[o].length;if(o===l){const N=t-(s-_)+1,T=Math.max(1,n>s?_-N:n-t);r.push(" | "+" ".repeat(N)+"^".repeat(T))}else if(o>l){if(n>s){const N=Math.max(Math.min(n-s,_),1);r.push(" | "+"^".repeat(N))}s+=_+1}}break}return r.join(`
6
- `)}function dt(e){let t=e;return()=>++t}function Ct(){const e=new Map;return{events:e,on(n,a){const s=e.get(n);s&&s.push(a)||e.set(n,[a])},off(n,a){const s=e.get(n);s&&s.splice(s.indexOf(a)>>>0,1)},emit(n,a){(e.get(n)||[]).slice().map(s=>s(a)),(e.get("*")||[]).slice().map(s=>s(n,a))}}}const Et=e=>!$(e)||K(e);function gt(e,t){if(Et(e)||Et(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:a,des:s}=n.pop();Object.keys(a).forEach(r=>{r!=="__proto__"&&($(a[r])&&!$(s[r])&&(s[r]=Array.isArray(a[r])?[]:Y()),Et(s[r])||Et(a[r])?s[r]=a[r]:n.push({src:a[r],des:s[r]}))})}}/*!
7
- * message-compiler v9.14.5
8
- * (c) 2025 kazuya kawaguchi
5
+ */const fe=typeof window<"u";let oe,ve;if(process.env.NODE_ENV!=="production"){const e=fe&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(oe=t=>{e.mark(t)},ve=(t,n,a)=>{e.measure(t,n,a),e.clearMarks(n),e.clearMarks(a)})}const Pr=/\{([0-9a-zA-Z]+)\}/g;function It(e,...t){return t.length===1&&W(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Pr,(n,a)=>t.hasOwnProperty(a)?t[a]:"")}const de=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Dr=(e,t,n)=>kr({l:e,k:t,s:n}),kr=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),q=e=>typeof e=="number"&&isFinite(e),Rr=e=>tn(e)==="[object Date]",Oe=e=>tn(e)==="[object RegExp]",ct=e=>U(e)&&Object.keys(e).length===0,te=Object.assign;let Zt;const Ne=()=>Zt||(Zt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function zt(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const yr=Object.prototype.hasOwnProperty;function ut(e,t){return yr.call(e,t)}const j=Array.isArray,Y=e=>typeof e=="function",v=e=>typeof e=="string",w=e=>typeof e=="boolean",W=e=>e!==null&&typeof e=="object",Mr=e=>W(e)&&Y(e.then)&&Y(e.catch),en=Object.prototype.toString,tn=e=>en.call(e),U=e=>{if(!W(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Fr=e=>e==null?"":j(e)||U(e)&&e.toString===en?JSON.stringify(e,null,2):String(e);function Ur(e,t=""){return e.reduce((n,a,s)=>s===0?n+a:n+t+a,"")}const nn=2;function wr(e,t=0,n=e.length){const a=e.split(/\r?\n/);let s=0;const r=[];for(let l=0;l<a.length;l++)if(s+=a[l].length+1,s>=t){for(let i=l-nn;i<=l+nn||n>s;i++){if(i<0||i>=a.length)continue;const u=i+1;r.push(`${u}${" ".repeat(3-String(u).length)}| ${a[i]}`);const _=a[i].length;if(i===l){const p=t-(s-_)+1,T=Math.max(1,n>s?_-p:n-t);r.push(" | "+" ".repeat(p)+"^".repeat(T))}else if(i>l){if(n>s){const p=Math.max(Math.min(n-s,_),1);r.push(" | "+"^".repeat(p))}s+=_+1}}break}return r.join(`
6
+ `)}function ft(e){let t=e;return()=>++t}function Z(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rn={};function an(e){rn[e]||(rn[e]=!0,Z(e))}function bt(){const e=new Map;return{events:e,on(n,a){const s=e.get(n);s&&s.push(a)||e.set(n,[a])},off(n,a){const s=e.get(n);s&&s.splice(s.indexOf(a)>>>0,1)},emit(n,a){(e.get(n)||[]).slice().map(s=>s(a)),(e.get("*")||[]).slice().map(s=>s(n,a))}}}const _t=e=>!W(e)||j(e);function mt(e,t){if(_t(e)||_t(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:a,des:s}=n.pop();Object.keys(a).forEach(r=>{_t(a[r])||_t(s[r])?s[r]=a[r]:n.push({src:a[r],des:s[r]})})}}/*!
7
+ * message-compiler v9.14.0
8
+ * (c) 2024 kazuya kawaguchi
9
9
  * Released under the MIT License.
10
- */function na(e,t,n){return{line:e,column:t,offset:n}}function pt(e,t,n){return{start:e,end:t}}const ra=/\{([0-9a-zA-Z]+)\}/g;function mn(e,...t){return t.length===1&&aa(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(ra,(n,a)=>t.hasOwnProperty(a)?t[a]:"")}const dn=Object.assign,En=e=>typeof e=="string",aa=e=>e!==null&&typeof e=="object";function gn(e,t=""){return e.reduce((n,a,s)=>s===0?n+a:n+t+a,"")}const Nt={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},sa={[Nt.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function la(e,t,...n){const a=mn(sa[e],...n||[]),s={message:String(a),code:e};return t&&(s.location=t),s}const F={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},oa={[F.EXPECTED_TOKEN]:"Expected token: '{0}'",[F.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[F.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[F.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[F.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[F.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[F.EMPTY_PLACEHOLDER]:"Empty placeholder",[F.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[F.INVALID_LINKED_FORMAT]:"Invalid linked format",[F.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[F.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[F.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[F.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[F.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[F.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Fe(e,t,n={}){const{domain:a,messages:s,args:r}=n,l=mn((s||oa)[e]||"",...r||[]),o=new SyntaxError(String(l));return o.code=e,t&&(o.location=t),o.domain=a,o}function ia(e){throw e}const ca=/<\/?[\w\s="/.':;#-\/]+>/,ua=e=>ca.test(e),Le=" ",fa="\r",ae=`
11
- `,_a="\u2028",ma="\u2029";function da(e){const t=e;let n=0,a=1,s=1,r=0;const l=I=>t[I]===fa&&t[I+1]===ae,o=I=>t[I]===ae,u=I=>t[I]===ma,_=I=>t[I]===_a,N=I=>l(I)||o(I)||u(I)||_(I),T=()=>n,d=()=>a,A=()=>s,R=()=>r,P=I=>l(I)||u(I)||_(I)?ae:t[I],S=()=>P(n),M=()=>P(n+r);function k(){return r=0,N(n)&&(a++,s=0),l(n)&&n++,n++,s++,t[n]}function f(){return l(n+r)&&r++,r++,t[n+r]}function E(){n=0,a=1,s=1,r=0}function L(I=0){r=I}function g(){const I=n+r;for(;I!==n;)k();r=0}return{index:T,line:d,column:A,peekOffset:R,charAt:P,currentChar:S,currentPeek:M,next:k,peek:f,reset:E,resetPeek:L,skipToPeek:g}}const he=void 0,Ea=".",pn="'",ga="tokenizer";function pa(e,t={}){const n=t.location!==!1,a=da(e),s=()=>a.index(),r=()=>na(a.line(),a.column(),a.index()),l=r(),o=s(),u={currentType:14,offset:o,startLoc:l,endLoc:l,lastType:14,lastOffset:o,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},_=()=>u,{onError:N}=t;function T(i,c,p,...y){const Q=_();if(c.column+=p,c.offset+=p,N){const j=n?pt(Q.startLoc,c):null,x=Fe(i,j,{domain:ga,args:y});N(x)}}function d(i,c,p){i.endLoc=r(),i.currentType=c;const y={type:c};return n&&(y.loc=pt(i.startLoc,i.endLoc)),p!=null&&(y.value=p),y}const A=i=>d(i,14);function R(i,c){return i.currentChar()===c?(i.next(),c):(T(F.EXPECTED_TOKEN,r(),0,c),"")}function P(i){let c="";for(;i.currentPeek()===Le||i.currentPeek()===ae;)c+=i.currentPeek(),i.peek();return c}function S(i){const c=P(i);return i.skipToPeek(),c}function M(i){if(i===he)return!1;const c=i.charCodeAt(0);return c>=97&&c<=122||c>=65&&c<=90||c===95}function k(i){if(i===he)return!1;const c=i.charCodeAt(0);return c>=48&&c<=57}function f(i,c){const{currentType:p}=c;if(p!==2)return!1;P(i);const y=M(i.currentPeek());return i.resetPeek(),y}function E(i,c){const{currentType:p}=c;if(p!==2)return!1;P(i);const y=i.currentPeek()==="-"?i.peek():i.currentPeek(),Q=k(y);return i.resetPeek(),Q}function L(i,c){const{currentType:p}=c;if(p!==2)return!1;P(i);const y=i.currentPeek()===pn;return i.resetPeek(),y}function g(i,c){const{currentType:p}=c;if(p!==8)return!1;P(i);const y=i.currentPeek()===".";return i.resetPeek(),y}function I(i,c){const{currentType:p}=c;if(p!==9)return!1;P(i);const y=M(i.currentPeek());return i.resetPeek(),y}function C(i,c){const{currentType:p}=c;if(!(p===8||p===12))return!1;P(i);const y=i.currentPeek()===":";return i.resetPeek(),y}function b(i,c){const{currentType:p}=c;if(p!==10)return!1;const y=()=>{const j=i.currentPeek();return j==="{"?M(i.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===Le||!j?!1:j===ae?(i.peek(),y()):V(i,!1)},Q=y();return i.resetPeek(),Q}function X(i){P(i);const c=i.currentPeek()==="|";return i.resetPeek(),c}function ce(i){const c=P(i),p=i.currentPeek()==="%"&&i.peek()==="{";return i.resetPeek(),{isModulo:p,hasSpace:c.length>0}}function V(i,c=!0){const p=(Q=!1,j="",x=!1)=>{const m=i.currentPeek();return m==="{"?j==="%"?!1:Q:m==="@"||!m?j==="%"?!0:Q:m==="%"?(i.peek(),p(Q,"%",!0)):m==="|"?j==="%"||x?!0:!(j===Le||j===ae):m===Le?(i.peek(),p(!0,Le,x)):m===ae?(i.peek(),p(!0,ae,x)):!0},y=p();return c&&i.resetPeek(),y}function re(i,c){const p=i.currentChar();return p===he?he:c(p)?(i.next(),p):null}function qe(i){const c=i.charCodeAt(0);return c>=97&&c<=122||c>=65&&c<=90||c>=48&&c<=57||c===95||c===36}function Ze(i){return re(i,qe)}function Te(i){const c=i.charCodeAt(0);return c>=97&&c<=122||c>=65&&c<=90||c>=48&&c<=57||c===95||c===36||c===45}function ze(i){return re(i,Te)}function et(i){const c=i.charCodeAt(0);return c>=48&&c<=57}function tt(i){return re(i,et)}function nt(i){const c=i.charCodeAt(0);return c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102}function rt(i){return re(i,nt)}function _e(i){let c="",p="";for(;c=tt(i);)p+=c;return p}function Ge(i){S(i);const c=i.currentChar();return c!=="%"&&T(F.EXPECTED_TOKEN,r(),0,c),i.next(),"%"}function He(i){let c="";for(;;){const p=i.currentChar();if(p==="{"||p==="}"||p==="@"||p==="|"||!p)break;if(p==="%")if(V(i))c+=p,i.next();else break;else if(p===Le||p===ae)if(V(i))c+=p,i.next();else{if(X(i))break;c+=p,i.next()}else c+=p,i.next()}return c}function at(i){S(i);let c="",p="";for(;c=ze(i);)p+=c;return i.currentChar()===he&&T(F.UNTERMINATED_CLOSING_BRACE,r(),0),p}function st(i){S(i);let c="";return i.currentChar()==="-"?(i.next(),c+=`-${_e(i)}`):c+=_e(i),i.currentChar()===he&&T(F.UNTERMINATED_CLOSING_BRACE,r(),0),c}function lt(i){return i!==pn&&i!==ae}function ht(i){S(i),R(i,"'");let c="",p="";for(;c=re(i,lt);)c==="\\"?p+=ot(i):p+=c;const y=i.currentChar();return y===ae||y===he?(T(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),y===ae&&(i.next(),R(i,"'")),p):(R(i,"'"),p)}function ot(i){const c=i.currentChar();switch(c){case"\\":case"'":return i.next(),`\\${c}`;case"u":return xe(i,c,4);case"U":return xe(i,c,6);default:return T(F.UNKNOWN_ESCAPE_SEQUENCE,r(),0,c),""}}function xe(i,c,p){R(i,c);let y="";for(let Q=0;Q<p;Q++){const j=rt(i);if(!j){T(F.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${c}${y}${i.currentChar()}`);break}y+=j}return`\\${c}${y}`}function it(i){return i!=="{"&&i!=="}"&&i!==Le&&i!==ae}function ct(i){S(i);let c="",p="";for(;c=re(i,it);)p+=c;return p}function ut(i){let c="",p="";for(;c=Ze(i);)p+=c;return p}function h(i){const c=p=>{const y=i.currentChar();return y==="{"||y==="%"||y==="@"||y==="|"||y==="("||y===")"||!y||y===Le?p:(p+=y,i.next(),c(p))};return c("")}function G(i){S(i);const c=R(i,"|");return S(i),c}function ft(i,c){let p=null;switch(i.currentChar()){case"{":return c.braceNest>=1&&T(F.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),i.next(),p=d(c,2,"{"),S(i),c.braceNest++,p;case"}":return c.braceNest>0&&c.currentType===2&&T(F.EMPTY_PLACEHOLDER,r(),0),i.next(),p=d(c,3,"}"),c.braceNest--,c.braceNest>0&&S(i),c.inLinked&&c.braceNest===0&&(c.inLinked=!1),p;case"@":return c.braceNest>0&&T(F.UNTERMINATED_CLOSING_BRACE,r(),0),p=ye(i,c)||A(c),c.braceNest=0,p;default:{let Q=!0,j=!0,x=!0;if(X(i))return c.braceNest>0&&T(F.UNTERMINATED_CLOSING_BRACE,r(),0),p=d(c,1,G(i)),c.braceNest=0,c.inLinked=!1,p;if(c.braceNest>0&&(c.currentType===5||c.currentType===6||c.currentType===7))return T(F.UNTERMINATED_CLOSING_BRACE,r(),0),c.braceNest=0,_t(i,c);if(Q=f(i,c))return p=d(c,5,at(i)),S(i),p;if(j=E(i,c))return p=d(c,6,st(i)),S(i),p;if(x=L(i,c))return p=d(c,7,ht(i)),S(i),p;if(!Q&&!j&&!x)return p=d(c,13,ct(i)),T(F.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,p.value),S(i),p;break}}return p}function ye(i,c){const{currentType:p}=c;let y=null;const Q=i.currentChar();switch((p===8||p===9||p===12||p===10)&&(Q===ae||Q===Le)&&T(F.INVALID_LINKED_FORMAT,r(),0),Q){case"@":return i.next(),y=d(c,8,"@"),c.inLinked=!0,y;case".":return S(i),i.next(),d(c,9,".");case":":return S(i),i.next(),d(c,10,":");default:return X(i)?(y=d(c,1,G(i)),c.braceNest=0,c.inLinked=!1,y):g(i,c)||C(i,c)?(S(i),ye(i,c)):I(i,c)?(S(i),d(c,12,ut(i))):b(i,c)?(S(i),Q==="{"?ft(i,c)||y:d(c,11,h(i))):(p===8&&T(F.INVALID_LINKED_FORMAT,r(),0),c.braceNest=0,c.inLinked=!1,_t(i,c))}}function _t(i,c){let p={type:14};if(c.braceNest>0)return ft(i,c)||A(c);if(c.inLinked)return ye(i,c)||A(c);switch(i.currentChar()){case"{":return ft(i,c)||A(c);case"}":return T(F.UNBALANCED_CLOSING_BRACE,r(),0),i.next(),d(c,3,"}");case"@":return ye(i,c)||A(c);default:{if(X(i))return p=d(c,1,G(i)),c.braceNest=0,c.inLinked=!1,p;const{isModulo:Q,hasSpace:j}=ce(i);if(Q)return j?d(c,0,He(i)):d(c,4,Ge(i));if(V(i))return d(c,0,He(i));break}}return p}function Zt(){const{currentType:i,offset:c,startLoc:p,endLoc:y}=u;return u.lastType=i,u.lastOffset=c,u.lastStartLoc=p,u.lastEndLoc=y,u.offset=s(),u.startLoc=r(),a.currentChar()===he?d(u,14):_t(a,u)}return{nextToken:Zt,currentOffset:s,currentPosition:r,context:_}}const Na="parser",Ta=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Oa(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(t||n,16);return a<=55295||a>=57344?String.fromCodePoint(a):"�"}}}function La(e={}){const t=e.location!==!1,{onError:n,onWarn:a}=e;function s(f,E,L,g,...I){const C=f.currentPosition();if(C.offset+=g,C.column+=g,n){const b=t?pt(L,C):null,X=Fe(E,b,{domain:Na,args:I});n(X)}}function r(f,E,L,g,...I){const C=f.currentPosition();if(C.offset+=g,C.column+=g,a){const b=t?pt(L,C):null;a(la(E,b,I))}}function l(f,E,L){const g={type:f};return t&&(g.start=E,g.end=E,g.loc={start:L,end:L}),g}function o(f,E,L,g){t&&(f.end=E,f.loc&&(f.loc.end=L))}function u(f,E){const L=f.context(),g=l(3,L.offset,L.startLoc);return g.value=E,o(g,f.currentOffset(),f.currentPosition()),g}function _(f,E){const L=f.context(),{lastOffset:g,lastStartLoc:I}=L,C=l(5,g,I);return C.index=parseInt(E,10),f.nextToken(),o(C,f.currentOffset(),f.currentPosition()),C}function N(f,E,L){const g=f.context(),{lastOffset:I,lastStartLoc:C}=g,b=l(4,I,C);return b.key=E,L===!0&&(b.modulo=!0),f.nextToken(),o(b,f.currentOffset(),f.currentPosition()),b}function T(f,E){const L=f.context(),{lastOffset:g,lastStartLoc:I}=L,C=l(9,g,I);return C.value=E.replace(Ta,Oa),f.nextToken(),o(C,f.currentOffset(),f.currentPosition()),C}function d(f){const E=f.nextToken(),L=f.context(),{lastOffset:g,lastStartLoc:I}=L,C=l(8,g,I);return E.type!==12?(s(f,F.UNEXPECTED_EMPTY_LINKED_MODIFIER,L.lastStartLoc,0),C.value="",o(C,g,I),{nextConsumeToken:E,node:C}):(E.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,Ee(E)),C.value=E.value||"",o(C,f.currentOffset(),f.currentPosition()),{node:C})}function A(f,E){const L=f.context(),g=l(7,L.offset,L.startLoc);return g.value=E,o(g,f.currentOffset(),f.currentPosition()),g}function R(f){const E=f.context(),L=l(6,E.offset,E.startLoc);let g=f.nextToken();if(g.type===9){const I=d(f);L.modifier=I.node,g=I.nextConsumeToken||f.nextToken()}switch(g.type!==10&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ee(g)),g=f.nextToken(),g.type===2&&(g=f.nextToken()),g.type){case 11:g.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ee(g)),L.key=A(f,g.value||"");break;case 5:g.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ee(g)),L.key=N(f,g.value||"");break;case 6:g.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ee(g)),L.key=_(f,g.value||"");break;case 7:g.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ee(g)),L.key=T(f,g.value||"");break;default:{s(f,F.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const I=f.context(),C=l(7,I.offset,I.startLoc);return C.value="",o(C,I.offset,I.startLoc),L.key=C,o(L,I.offset,I.startLoc),{nextConsumeToken:g,node:L}}}return o(L,f.currentOffset(),f.currentPosition()),{node:L}}function P(f){const E=f.context(),L=E.currentType===1?f.currentOffset():E.offset,g=E.currentType===1?E.endLoc:E.startLoc,I=l(2,L,g);I.items=[];let C=null,b=null;do{const V=C||f.nextToken();switch(C=null,V.type){case 0:V.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ee(V)),I.items.push(u(f,V.value||""));break;case 6:V.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ee(V)),I.items.push(_(f,V.value||""));break;case 4:b=!0;break;case 5:V.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ee(V)),I.items.push(N(f,V.value||"",!!b)),b&&(r(f,Nt.USE_MODULO_SYNTAX,E.lastStartLoc,0,Ee(V)),b=null);break;case 7:V.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ee(V)),I.items.push(T(f,V.value||""));break;case 8:{const re=R(f);I.items.push(re.node),C=re.nextConsumeToken||null;break}}}while(E.currentType!==14&&E.currentType!==1);const X=E.currentType===1?E.lastOffset:f.currentOffset(),ce=E.currentType===1?E.lastEndLoc:f.currentPosition();return o(I,X,ce),I}function S(f,E,L,g){const I=f.context();let C=g.items.length===0;const b=l(1,E,L);b.cases=[],b.cases.push(g);do{const X=P(f);C||(C=X.items.length===0),b.cases.push(X)}while(I.currentType!==14);return C&&s(f,F.MUST_HAVE_MESSAGES_IN_PLURAL,L,0),o(b,f.currentOffset(),f.currentPosition()),b}function M(f){const E=f.context(),{offset:L,startLoc:g}=E,I=P(f);return E.currentType===14?I:S(f,L,g,I)}function k(f){const E=pa(f,dn({},e)),L=E.context(),g=l(0,L.offset,L.startLoc);return t&&g.loc&&(g.loc.source=f),g.body=M(E),e.onCacheKey&&(g.cacheKey=e.onCacheKey(f)),L.currentType!==14&&s(E,F.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,f[L.offset]||""),o(g,E.currentOffset(),E.currentPosition()),g}return{parse:k}}function Ee(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Ia(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Nn(e,t){for(let n=0;n<e.length;n++)Pt(e[n],t)}function Pt(e,t){switch(e.type){case 1:Nn(e.cases,t),t.helper("plural");break;case 2:Nn(e.items,t);break;case 6:{Pt(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 ba(e,t={}){const n=Ia(e);n.helper("normalize"),e.body&&Pt(e.body,n);const a=n.context();e.helpers=Array.from(a.helpers)}function ha(e){const t=e.body;return t.type===2?Tn(t):t.cases.forEach(n=>Tn(n)),e}function Tn(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 a=e.items[n];if(!(a.type===3||a.type===9)||a.value==null)break;t.push(a.value)}if(t.length===e.items.length){e.static=gn(t);for(let n=0;n<e.items.length;n++){const a=e.items[n];(a.type===3||a.type===9)&&delete a.value}}}}const va="minifier";function Ue(e){switch(e.t=e.type,e.type){case 0:{const t=e;Ue(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let a=0;a<n.length;a++)Ue(n[a]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let a=0;a<n.length;a++)Ue(n[a]);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;Ue(t.key),t.k=t.key,delete t.key,t.modifier&&(Ue(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 Fe(F.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:va,args:[e.type]})}delete e.type}const Aa="parser";function Ca(e,t){const{filename:n,breakLineCode:a,needIndent:s}=t,r=t.location!==!1,l={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:s,indentLevel:0};r&&e.loc&&(l.source=e.loc.source);const o=()=>l;function u(P,S){l.code+=P}function _(P,S=!0){const M=S?a:"";u(s?M+" ".repeat(P):M)}function N(P=!0){const S=++l.indentLevel;P&&_(S)}function T(P=!0){const S=--l.indentLevel;P&&_(S)}function d(){_(l.indentLevel)}return{context:o,push:u,indent:N,deindent:T,newline:d,helper:P=>`_${P}`,needIndent:()=>l.needIndent}}function Pa(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),we(e,t.key),t.modifier?(e.push(", "),we(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Sa(e,t){const{helper:n,needIndent:a}=e;e.push(`${n("normalize")}([`),e.indent(a());const s=t.items.length;for(let r=0;r<s&&(we(e,t.items[r]),r!==s-1);r++)e.push(", ");e.deindent(a()),e.push("])")}function Da(e,t){const{helper:n,needIndent:a}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(a());const s=t.cases.length;for(let r=0;r<s&&(we(e,t.cases[r]),r!==s-1);r++)e.push(", ");e.deindent(a()),e.push("])")}}function Ra(e,t){t.body?we(e,t.body):e.push("null")}function we(e,t){const{helper:n}=e;switch(t.type){case 0:Ra(e,t);break;case 1:Da(e,t);break;case 2:Sa(e,t);break;case 6:Pa(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 Fe(F.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Aa,args:[t.type]})}}const ka=(e,t={})=>{const n=En(t.mode)?t.mode:"normal",a=En(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
12
- `,r=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],o=Ca(e,{filename:a,breakLineCode:s,needIndent:r});o.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),o.indent(r),l.length>0&&(o.push(`const { ${gn(l.map(N=>`${N}: _${N}`),", ")} } = ctx`),o.newline()),o.push("return "),we(o,e),o.deindent(r),o.push("}"),delete e.helpers;const{code:u,map:_}=o.context();return{ast:e,code:u,map:_?_.toJSON():void 0}};function ya(e,t={}){const n=dn({},t),a=!!n.jit,s=!!n.minify,r=n.optimize==null?!0:n.optimize,o=La(n).parse(e);return a?(r&&ha(o),s&&Ue(o),{ast:o,code:""}):(ba(o,n),ka(o,n))}/*!
13
- * core-base v9.14.5
14
- * (c) 2025 kazuya kawaguchi
10
+ */function Vr(e,t,n){return{line:e,column:t,offset:n}}function dt(e,t,n){return{start:e,end:t}}const $r=/\{([0-9a-zA-Z]+)\}/g;function sn(e,...t){return t.length===1&&Wr(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace($r,(n,a)=>t.hasOwnProperty(a)?t[a]:"")}const ln=Object.assign,on=e=>typeof e=="string",Wr=e=>e!==null&&typeof e=="object";function cn(e,t=""){return e.reduce((n,a,s)=>s===0?n+a:n+t+a,"")}const Et={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Gr={[Et.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function xr(e,t,...n){const a=sn(Gr[e],...n||[]),s={message:String(a),code:e};return t&&(s.location=t),s}const F={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},Hr={[F.EXPECTED_TOKEN]:"Expected token: '{0}'",[F.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[F.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[F.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[F.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[F.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[F.EMPTY_PLACEHOLDER]:"Empty placeholder",[F.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[F.INVALID_LINKED_FORMAT]:"Invalid linked format",[F.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[F.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[F.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[F.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[F.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[F.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Re(e,t,n={}){const{domain:a,messages:s,args:r}=n,l=sn((s||Hr)[e]||"",...r||[]),i=new SyntaxError(String(l));return i.code=e,t&&(i.location=t),i.domain=a,i}function Yr(e){throw e}const Br=/<\/?[\w\s="/.':;#-\/]+>/,jr=e=>Br.test(e),pe=" ",Xr="\r",re=`
11
+ `,Kr="\u2028",Jr="\u2029";function Qr(e){const t=e;let n=0,a=1,s=1,r=0;const l=I=>t[I]===Xr&&t[I+1]===re,i=I=>t[I]===re,u=I=>t[I]===Jr,_=I=>t[I]===Kr,p=I=>l(I)||i(I)||u(I)||_(I),T=()=>n,d=()=>a,C=()=>s,k=()=>r,S=I=>l(I)||u(I)||_(I)?re:t[I],P=()=>S(n),M=()=>S(n+r);function R(){return r=0,p(n)&&(a++,s=0),l(n)&&n++,n++,s++,t[n]}function f(){return l(n+r)&&r++,r++,t[n+r]}function E(){n=0,a=1,s=1,r=0}function L(I=0){r=I}function g(){const I=n+r;for(;I!==n;)R();r=0}return{index:T,line:d,column:C,peekOffset:k,charAt:S,currentChar:P,currentPeek:M,next:R,peek:f,reset:E,resetPeek:L,skipToPeek:g}}const Le=void 0,qr=".",un="'",Zr="tokenizer";function zr(e,t={}){const n=t.location!==!1,a=Qr(e),s=()=>a.index(),r=()=>Vr(a.line(),a.column(),a.index()),l=r(),i=s(),u={currentType:14,offset:i,startLoc:l,endLoc:l,lastType:14,lastOffset:i,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},_=()=>u,{onError:p}=t;function T(o,c,N,...y){const J=_();if(c.column+=N,c.offset+=N,p){const B=n?dt(J.startLoc,c):null,H=Re(o,B,{domain:Zr,args:y});p(H)}}function d(o,c,N){o.endLoc=r(),o.currentType=c;const y={type:c};return n&&(y.loc=dt(o.startLoc,o.endLoc)),N!=null&&(y.value=N),y}const C=o=>d(o,14);function k(o,c){return o.currentChar()===c?(o.next(),c):(T(F.EXPECTED_TOKEN,r(),0,c),"")}function S(o){let c="";for(;o.currentPeek()===pe||o.currentPeek()===re;)c+=o.currentPeek(),o.peek();return c}function P(o){const c=S(o);return o.skipToPeek(),c}function M(o){if(o===Le)return!1;const c=o.charCodeAt(0);return c>=97&&c<=122||c>=65&&c<=90||c===95}function R(o){if(o===Le)return!1;const c=o.charCodeAt(0);return c>=48&&c<=57}function f(o,c){const{currentType:N}=c;if(N!==2)return!1;S(o);const y=M(o.currentPeek());return o.resetPeek(),y}function E(o,c){const{currentType:N}=c;if(N!==2)return!1;S(o);const y=o.currentPeek()==="-"?o.peek():o.currentPeek(),J=R(y);return o.resetPeek(),J}function L(o,c){const{currentType:N}=c;if(N!==2)return!1;S(o);const y=o.currentPeek()===un;return o.resetPeek(),y}function g(o,c){const{currentType:N}=c;if(N!==8)return!1;S(o);const y=o.currentPeek()===".";return o.resetPeek(),y}function I(o,c){const{currentType:N}=c;if(N!==9)return!1;S(o);const y=M(o.currentPeek());return o.resetPeek(),y}function A(o,c){const{currentType:N}=c;if(!(N===8||N===12))return!1;S(o);const y=o.currentPeek()===":";return o.resetPeek(),y}function b(o,c){const{currentType:N}=c;if(N!==10)return!1;const y=()=>{const B=o.currentPeek();return B==="{"?M(o.peek()):B==="@"||B==="%"||B==="|"||B===":"||B==="."||B===pe||!B?!1:B===re?(o.peek(),y()):$(o,!1)},J=y();return o.resetPeek(),J}function X(o){S(o);const c=o.currentPeek()==="|";return o.resetPeek(),c}function ie(o){const c=S(o),N=o.currentPeek()==="%"&&o.peek()==="{";return o.resetPeek(),{isModulo:N,hasSpace:c.length>0}}function $(o,c=!0){const N=(J=!1,B="",H=!1)=>{const m=o.currentPeek();return m==="{"?B==="%"?!1:J:m==="@"||!m?B==="%"?!0:J:m==="%"?(o.peek(),N(J,"%",!0)):m==="|"?B==="%"||H?!0:!(B===pe||B===re):m===pe?(o.peek(),N(!0,pe,H)):m===re?(o.peek(),N(!0,re,H)):!0},y=N();return c&&o.resetPeek(),y}function ne(o,c){const N=o.currentChar();return N===Le?Le:c(N)?(o.next(),N):null}function Xe(o){const c=o.charCodeAt(0);return c>=97&&c<=122||c>=65&&c<=90||c>=48&&c<=57||c===95||c===36}function Ke(o){return ne(o,Xe)}function ge(o){const c=o.charCodeAt(0);return c>=97&&c<=122||c>=65&&c<=90||c>=48&&c<=57||c===95||c===36||c===45}function Je(o){return ne(o,ge)}function Qe(o){const c=o.charCodeAt(0);return c>=48&&c<=57}function qe(o){return ne(o,Qe)}function Ze(o){const c=o.charCodeAt(0);return c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102}function ze(o){return ne(o,Ze)}function ue(o){let c="",N="";for(;c=qe(o);)N+=c;return N}function Ve(o){P(o);const c=o.currentChar();return c!=="%"&&T(F.EXPECTED_TOKEN,r(),0,c),o.next(),"%"}function $e(o){let c="";for(;;){const N=o.currentChar();if(N==="{"||N==="}"||N==="@"||N==="|"||!N)break;if(N==="%")if($(o))c+=N,o.next();else break;else if(N===pe||N===re)if($(o))c+=N,o.next();else{if(X(o))break;c+=N,o.next()}else c+=N,o.next()}return c}function et(o){P(o);let c="",N="";for(;c=Je(o);)N+=c;return o.currentChar()===Le&&T(F.UNTERMINATED_CLOSING_BRACE,r(),0),N}function tt(o){P(o);let c="";return o.currentChar()==="-"?(o.next(),c+=`-${ue(o)}`):c+=ue(o),o.currentChar()===Le&&T(F.UNTERMINATED_CLOSING_BRACE,r(),0),c}function nt(o){return o!==un&&o!==re}function Ot(o){P(o),k(o,"'");let c="",N="";for(;c=ne(o,nt);)c==="\\"?N+=rt(o):N+=c;const y=o.currentChar();return y===re||y===Le?(T(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),y===re&&(o.next(),k(o,"'")),N):(k(o,"'"),N)}function rt(o){const c=o.currentChar();switch(c){case"\\":case"'":return o.next(),`\\${c}`;case"u":return We(o,c,4);case"U":return We(o,c,6);default:return T(F.UNKNOWN_ESCAPE_SEQUENCE,r(),0,c),""}}function We(o,c,N){k(o,c);let y="";for(let J=0;J<N;J++){const B=ze(o);if(!B){T(F.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${c}${y}${o.currentChar()}`);break}y+=B}return`\\${c}${y}`}function at(o){return o!=="{"&&o!=="}"&&o!==pe&&o!==re}function st(o){P(o);let c="",N="";for(;c=ne(o,at);)N+=c;return N}function lt(o){let c="",N="";for(;c=Ke(o);)N+=c;return N}function h(o){const c=N=>{const y=o.currentChar();return y==="{"||y==="%"||y==="@"||y==="|"||y==="("||y===")"||!y||y===pe?N:(N+=y,o.next(),c(N))};return c("")}function G(o){P(o);const c=k(o,"|");return P(o),c}function ot(o,c){let N=null;switch(o.currentChar()){case"{":return c.braceNest>=1&&T(F.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),o.next(),N=d(c,2,"{"),P(o),c.braceNest++,N;case"}":return c.braceNest>0&&c.currentType===2&&T(F.EMPTY_PLACEHOLDER,r(),0),o.next(),N=d(c,3,"}"),c.braceNest--,c.braceNest>0&&P(o),c.inLinked&&c.braceNest===0&&(c.inLinked=!1),N;case"@":return c.braceNest>0&&T(F.UNTERMINATED_CLOSING_BRACE,r(),0),N=De(o,c)||C(c),c.braceNest=0,N;default:{let J=!0,B=!0,H=!0;if(X(o))return c.braceNest>0&&T(F.UNTERMINATED_CLOSING_BRACE,r(),0),N=d(c,1,G(o)),c.braceNest=0,c.inLinked=!1,N;if(c.braceNest>0&&(c.currentType===5||c.currentType===6||c.currentType===7))return T(F.UNTERMINATED_CLOSING_BRACE,r(),0),c.braceNest=0,it(o,c);if(J=f(o,c))return N=d(c,5,et(o)),P(o),N;if(B=E(o,c))return N=d(c,6,tt(o)),P(o),N;if(H=L(o,c))return N=d(c,7,Ot(o)),P(o),N;if(!J&&!B&&!H)return N=d(c,13,st(o)),T(F.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,N.value),P(o),N;break}}return N}function De(o,c){const{currentType:N}=c;let y=null;const J=o.currentChar();switch((N===8||N===9||N===12||N===10)&&(J===re||J===pe)&&T(F.INVALID_LINKED_FORMAT,r(),0),J){case"@":return o.next(),y=d(c,8,"@"),c.inLinked=!0,y;case".":return P(o),o.next(),d(c,9,".");case":":return P(o),o.next(),d(c,10,":");default:return X(o)?(y=d(c,1,G(o)),c.braceNest=0,c.inLinked=!1,y):g(o,c)||A(o,c)?(P(o),De(o,c)):I(o,c)?(P(o),d(c,12,lt(o))):b(o,c)?(P(o),J==="{"?ot(o,c)||y:d(c,11,h(o))):(N===8&&T(F.INVALID_LINKED_FORMAT,r(),0),c.braceNest=0,c.inLinked=!1,it(o,c))}}function it(o,c){let N={type:14};if(c.braceNest>0)return ot(o,c)||C(c);if(c.inLinked)return De(o,c)||C(c);switch(o.currentChar()){case"{":return ot(o,c)||C(c);case"}":return T(F.UNBALANCED_CLOSING_BRACE,r(),0),o.next(),d(c,3,"}");case"@":return De(o,c)||C(c);default:{if(X(o))return N=d(c,1,G(o)),c.braceNest=0,c.inLinked=!1,N;const{isModulo:J,hasSpace:B}=ie(o);if(J)return B?d(c,0,$e(o)):d(c,4,Ve(o));if($(o))return d(c,0,$e(o));break}}return N}function jt(){const{currentType:o,offset:c,startLoc:N,endLoc:y}=u;return u.lastType=o,u.lastOffset=c,u.lastStartLoc=N,u.lastEndLoc=y,u.offset=s(),u.startLoc=r(),a.currentChar()===Le?d(u,14):it(a,u)}return{nextToken:jt,currentOffset:s,currentPosition:r,context:_}}const ea="parser",ta=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function na(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(t||n,16);return a<=55295||a>=57344?String.fromCodePoint(a):"�"}}}function ra(e={}){const t=e.location!==!1,{onError:n,onWarn:a}=e;function s(f,E,L,g,...I){const A=f.currentPosition();if(A.offset+=g,A.column+=g,n){const b=t?dt(L,A):null,X=Re(E,b,{domain:ea,args:I});n(X)}}function r(f,E,L,g,...I){const A=f.currentPosition();if(A.offset+=g,A.column+=g,a){const b=t?dt(L,A):null;a(xr(E,b,I))}}function l(f,E,L){const g={type:f};return t&&(g.start=E,g.end=E,g.loc={start:L,end:L}),g}function i(f,E,L,g){t&&(f.end=E,f.loc&&(f.loc.end=L))}function u(f,E){const L=f.context(),g=l(3,L.offset,L.startLoc);return g.value=E,i(g,f.currentOffset(),f.currentPosition()),g}function _(f,E){const L=f.context(),{lastOffset:g,lastStartLoc:I}=L,A=l(5,g,I);return A.index=parseInt(E,10),f.nextToken(),i(A,f.currentOffset(),f.currentPosition()),A}function p(f,E,L){const g=f.context(),{lastOffset:I,lastStartLoc:A}=g,b=l(4,I,A);return b.key=E,L===!0&&(b.modulo=!0),f.nextToken(),i(b,f.currentOffset(),f.currentPosition()),b}function T(f,E){const L=f.context(),{lastOffset:g,lastStartLoc:I}=L,A=l(9,g,I);return A.value=E.replace(ta,na),f.nextToken(),i(A,f.currentOffset(),f.currentPosition()),A}function d(f){const E=f.nextToken(),L=f.context(),{lastOffset:g,lastStartLoc:I}=L,A=l(8,g,I);return E.type!==12?(s(f,F.UNEXPECTED_EMPTY_LINKED_MODIFIER,L.lastStartLoc,0),A.value="",i(A,g,I),{nextConsumeToken:E,node:A}):(E.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,_e(E)),A.value=E.value||"",i(A,f.currentOffset(),f.currentPosition()),{node:A})}function C(f,E){const L=f.context(),g=l(7,L.offset,L.startLoc);return g.value=E,i(g,f.currentOffset(),f.currentPosition()),g}function k(f){const E=f.context(),L=l(6,E.offset,E.startLoc);let g=f.nextToken();if(g.type===9){const I=d(f);L.modifier=I.node,g=I.nextConsumeToken||f.nextToken()}switch(g.type!==10&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,_e(g)),g=f.nextToken(),g.type===2&&(g=f.nextToken()),g.type){case 11:g.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,_e(g)),L.key=C(f,g.value||"");break;case 5:g.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,_e(g)),L.key=p(f,g.value||"");break;case 6:g.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,_e(g)),L.key=_(f,g.value||"");break;case 7:g.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,_e(g)),L.key=T(f,g.value||"");break;default:{s(f,F.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const I=f.context(),A=l(7,I.offset,I.startLoc);return A.value="",i(A,I.offset,I.startLoc),L.key=A,i(L,I.offset,I.startLoc),{nextConsumeToken:g,node:L}}}return i(L,f.currentOffset(),f.currentPosition()),{node:L}}function S(f){const E=f.context(),L=E.currentType===1?f.currentOffset():E.offset,g=E.currentType===1?E.endLoc:E.startLoc,I=l(2,L,g);I.items=[];let A=null,b=null;do{const $=A||f.nextToken();switch(A=null,$.type){case 0:$.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,_e($)),I.items.push(u(f,$.value||""));break;case 6:$.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,_e($)),I.items.push(_(f,$.value||""));break;case 4:b=!0;break;case 5:$.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,_e($)),I.items.push(p(f,$.value||"",!!b)),b&&(r(f,Et.USE_MODULO_SYNTAX,E.lastStartLoc,0,_e($)),b=null);break;case 7:$.value==null&&s(f,F.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,_e($)),I.items.push(T(f,$.value||""));break;case 8:{const ne=k(f);I.items.push(ne.node),A=ne.nextConsumeToken||null;break}}}while(E.currentType!==14&&E.currentType!==1);const X=E.currentType===1?E.lastOffset:f.currentOffset(),ie=E.currentType===1?E.lastEndLoc:f.currentPosition();return i(I,X,ie),I}function P(f,E,L,g){const I=f.context();let A=g.items.length===0;const b=l(1,E,L);b.cases=[],b.cases.push(g);do{const X=S(f);A||(A=X.items.length===0),b.cases.push(X)}while(I.currentType!==14);return A&&s(f,F.MUST_HAVE_MESSAGES_IN_PLURAL,L,0),i(b,f.currentOffset(),f.currentPosition()),b}function M(f){const E=f.context(),{offset:L,startLoc:g}=E,I=S(f);return E.currentType===14?I:P(f,L,g,I)}function R(f){const E=zr(f,ln({},e)),L=E.context(),g=l(0,L.offset,L.startLoc);return t&&g.loc&&(g.loc.source=f),g.body=M(E),e.onCacheKey&&(g.cacheKey=e.onCacheKey(f)),L.currentType!==14&&s(E,F.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,f[L.offset]||""),i(g,E.currentOffset(),E.currentPosition()),g}return{parse:R}}function _e(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function aa(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function fn(e,t){for(let n=0;n<e.length;n++)ht(e[n],t)}function ht(e,t){switch(e.type){case 1:fn(e.cases,t),t.helper("plural");break;case 2:fn(e.items,t);break;case 6:{ht(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 sa(e,t={}){const n=aa(e);n.helper("normalize"),e.body&&ht(e.body,n);const a=n.context();e.helpers=Array.from(a.helpers)}function la(e){const t=e.body;return t.type===2?_n(t):t.cases.forEach(n=>_n(n)),e}function _n(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 a=e.items[n];if(!(a.type===3||a.type===9)||a.value==null)break;t.push(a.value)}if(t.length===e.items.length){e.static=cn(t);for(let n=0;n<e.items.length;n++){const a=e.items[n];(a.type===3||a.type===9)&&delete a.value}}}}const oa="minifier";function ye(e){switch(e.t=e.type,e.type){case 0:{const t=e;ye(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let a=0;a<n.length;a++)ye(n[a]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let a=0;a<n.length;a++)ye(n[a]);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;ye(t.key),t.k=t.key,delete t.key,t.modifier&&(ye(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 Re(F.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:oa,args:[e.type]})}delete e.type}const ia="parser";function ca(e,t){const{filename:n,breakLineCode:a,needIndent:s}=t,r=t.location!==!1,l={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:s,indentLevel:0};r&&e.loc&&(l.source=e.loc.source);const i=()=>l;function u(S,P){l.code+=S}function _(S,P=!0){const M=P?a:"";u(s?M+" ".repeat(S):M)}function p(S=!0){const P=++l.indentLevel;S&&_(P)}function T(S=!0){const P=--l.indentLevel;S&&_(P)}function d(){_(l.indentLevel)}return{context:i,push:u,indent:p,deindent:T,newline:d,helper:S=>`_${S}`,needIndent:()=>l.needIndent}}function ua(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Me(e,t.key),t.modifier?(e.push(", "),Me(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function fa(e,t){const{helper:n,needIndent:a}=e;e.push(`${n("normalize")}([`),e.indent(a());const s=t.items.length;for(let r=0;r<s&&(Me(e,t.items[r]),r!==s-1);r++)e.push(", ");e.deindent(a()),e.push("])")}function _a(e,t){const{helper:n,needIndent:a}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(a());const s=t.cases.length;for(let r=0;r<s&&(Me(e,t.cases[r]),r!==s-1);r++)e.push(", ");e.deindent(a()),e.push("])")}}function ma(e,t){t.body?Me(e,t.body):e.push("null")}function Me(e,t){const{helper:n}=e;switch(t.type){case 0:ma(e,t);break;case 1:_a(e,t);break;case 2:fa(e,t);break;case 6:ua(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 Re(F.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:ia,args:[t.type]})}}const da=(e,t={})=>{const n=on(t.mode)?t.mode:"normal",a=on(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
12
+ `,r=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],i=ca(e,{filename:a,breakLineCode:s,needIndent:r});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(r),l.length>0&&(i.push(`const { ${cn(l.map(p=>`${p}: _${p}`),", ")} } = ctx`),i.newline()),i.push("return "),Me(i,e),i.deindent(r),i.push("}"),delete e.helpers;const{code:u,map:_}=i.context();return{ast:e,code:u,map:_?_.toJSON():void 0}};function Ea(e,t={}){const n=ln({},t),a=!!n.jit,s=!!n.minify,r=n.optimize==null?!0:n.optimize,i=ra(n).parse(e);return a?(r&&la(i),s&&ye(i),{ast:i,code:""}):(sa(i,n),da(i,n))}/*!
13
+ * core-base v9.14.0
14
+ * (c) 2024 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function Ma(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oe().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Oe().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Oe().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function ue(e){return $(e)&&St(e)===0&&(de(e,"b")||de(e,"body"))}const On=["b","body"];function Fa(e){return ve(e,On)}const Ln=["c","cases"];function Ua(e){return ve(e,Ln,[])}const In=["s","static"];function wa(e){return ve(e,In)}const bn=["i","items"];function Va(e){return ve(e,bn,[])}const hn=["t","type"];function St(e){return ve(e,hn)}const vn=["v","value"];function Tt(e,t){const n=ve(e,vn);if(n!=null)return n;throw Be(t)}const An=["m","modifier"];function $a(e){return ve(e,An)}const Cn=["k","key"];function Wa(e){const t=ve(e,Cn);if(t)return t;throw Be(6)}function ve(e,t,n){for(let a=0;a<t.length;a++){const s=t[a];if(de(e,s)&&e[s]!=null)return e[s]}return n}const Pn=[...On,...Ln,...In,...bn,...Cn,...An,...vn,...hn];function Be(e){return new Error(`unhandled node type: ${e}`)}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 Ga=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ha(e){return Ga.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 Ba(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ha(t)?xa(t):"*"+t}function ja(e){const t=[];let n=-1,a=0,s=0,r,l,o,u,_,N,T;const d=[];d[0]=()=>{l===void 0?l=o:l+=o},d[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,a=4,d[0]();else{if(s=0,l===void 0||(l=Ba(l),l===!1))return!1;d[1]()}};function A(){const R=e[n+1];if(a===5&&R==="'"||a===6&&R==='"')return n++,o="\\"+R,d[0](),!0}for(;a!==null;)if(n++,r=e[n],!(r==="\\"&&A())){if(u=Ya(r),T=Ae[a],_=T[u]||T.l||8,_===8||(a=_[0],_[1]!==void 0&&(N=d[_[1]],N&&(o=r,N()===!1))))return;if(a===7)return t}}const Sn=new Map;function Ka(e,t){return $(e)?e[t]:null}function Xa(e,t){if(!$(e))return null;let n=Sn.get(t);if(n||(n=ja(t),n&&Sn.set(t,n)),!n)return null;const a=n.length;let s=e,r=0;for(;r<a;){const l=n[r];if(Pn.includes(l)&&ue(s))return null;const o=s[l];if(o===void 0||B(s))return null;s=o,r++}return s}const Ja=e=>e,Qa=e=>"",qa="text",Za=e=>e.length===0?"":ea(e),za=zr;function Dn(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function es(e){const t=q(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(q(e.named.count)||q(e.named.n))?q(e.named.count)?e.named.count:q(e.named.n)?e.named.n:t:t}function ts(e,t){t.count||(t.count=e),t.n||(t.n=e)}function ns(e={}){const t=e.locale,n=es(e),a=$(e.pluralRules)&&v(t)&&B(e.pluralRules[t])?e.pluralRules[t]:Dn,s=$(e.pluralRules)&&v(t)&&B(e.pluralRules[t])?Dn:void 0,r=M=>M[a(n,M.length,s)],l=e.list||[],o=M=>l[M],u=e.named||Y();q(e.pluralIndex)&&ts(n,u);const _=M=>u[M];function N(M){const k=B(e.messages)?e.messages(M):$(e.messages)?e.messages[M]:!1;return k||(e.parent?e.parent.message(M):Qa)}const T=M=>e.modifiers?e.modifiers[M]:Ja,d=U(e.processor)&&B(e.processor.normalize)?e.processor.normalize:Za,A=U(e.processor)&&B(e.processor.interpolate)?e.processor.interpolate:za,R=U(e.processor)&&v(e.processor.type)?e.processor.type:qa,S={list:o,named:_,plural:r,linked:(M,...k)=>{const[f,E]=k;let L="text",g="";k.length===1?$(f)?(g=f.modifier||g,L=f.type||L):v(f)&&(g=f||g):k.length===2&&(v(f)&&(g=f||g),v(E)&&(L=E||L));const I=N(M)(S),C=L==="vnode"&&K(I)&&g?I[0]:I;return g?T(g)(C,L):C},message:N,type:R,interpolate:A,normalize:d,values:ne(Y(),l,u)};return S}let je=null;function rs(e){je=e}function as(e,t,n){je&&je.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ss=ls("function:translate");function ls(e){return t=>je&&je.emit(e,t)}const Rn=Nt.__EXTEND_POINT__,Se=dt(Rn),se={NOT_FOUND_KEY:Rn,FALLBACK_TO_TRANSLATE:Se(),CANNOT_FORMAT_NUMBER:Se(),FALLBACK_TO_NUMBER_FORMAT:Se(),CANNOT_FORMAT_DATE:Se(),FALLBACK_TO_DATE_FORMAT:Se(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Se(),__EXTEND_POINT__:Se()},os={[se.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[se.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[se.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[se.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[se.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 De(e,...t){return At(os[e],...t)}const kn=F.__EXTEND_POINT__,Re=dt(kn),te={INVALID_ARGUMENT:kn,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 Ne(e){return Fe(e,null,process.env.NODE_ENV!=="production"?{messages:is}:void 0)}const is={[te.INVALID_ARGUMENT]:"Invalid arguments",[te.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[te.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[te.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[te.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[te.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[te.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Dt(e,t){return t.locale!=null?yn(t.locale):yn(e.locale)}let Rt;function yn(e){if(v(e))return e;if(B(e)){if(e.resolvedOnce&&Rt!=null)return Rt;if(e.constructor.name==="Function"){const t=e();if(Zr(t))throw Ne(te.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Rt=t}else throw Ne(te.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ne(te.NOT_SUPPORT_LOCALE_TYPE)}function cs(e,t,n){return[...new Set([n,...K(t)?t:$(t)?Object.keys(t):v(t)?[t]:[n]])]}function Mn(e,t,n){const a=v(n)?n:Ve,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(a);if(!r){r=[];let l=[n];for(;K(l);)l=Fn(r,l,t);const o=K(t)||!U(t)?t:t.default?t.default:null;l=v(o)?[o]:o,K(l)&&Fn(r,l,!1),s.__localeChainCache.set(a,r)}return r}function Fn(e,t,n){let a=!0;for(let s=0;s<t.length&&w(a);s++){const r=t[s];v(r)&&(a=us(e,t[s],n))}return a}function us(e,t,n){let a;const s=t.split("-");do{const r=s.join("-");a=fs(e,r,n),s.splice(-1,1)}while(s.length&&a===!0);return a}function fs(e,t,n){let a=!1;if(!e.includes(t)&&(a=!0,t)){a=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(K(n)||U(n))&&n[s]&&(a=n[s])}return a}const _s="9.14.5",Ot=-1,Ve="en-US",Lt="",Un=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ms(){return{upper:(e,t)=>t==="text"&&v(e)?e.toUpperCase():t==="vnode"&&$(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&v(e)?e.toLowerCase():t==="vnode"&&$(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&v(e)?Un(e):t==="vnode"&&$(e)&&"__v_isVNode"in e?Un(e.children):e}}let wn;function Vn(e){wn=e}let $n;function ds(e){$n=e}let Wn;function Es(e){Wn=e}let Gn=null;const gs=e=>{Gn=e},ps=()=>Gn;let Hn=null;const xn=e=>{Hn=e},Ns=()=>Hn;let Yn=0;function Ts(e={}){const t=B(e.onWarn)?e.onWarn:z,n=v(e.version)?e.version:_s,a=v(e.locale)||B(e.locale)?e.locale:Ve,s=B(a)?Ve:a,r=K(e.fallbackLocale)||U(e.fallbackLocale)||v(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,l=U(e.messages)?e.messages:kt(s),o=U(e.datetimeFormats)?e.datetimeFormats:kt(s),u=U(e.numberFormats)?e.numberFormats:kt(s),_=ne(Y(),e.modifiers,ms()),N=e.pluralRules||Y(),T=B(e.missing)?e.missing:null,d=w(e.missingWarn)||be(e.missingWarn)?e.missingWarn:!0,A=w(e.fallbackWarn)||be(e.fallbackWarn)?e.fallbackWarn:!0,R=!!e.fallbackFormat,P=!!e.unresolving,S=B(e.postTranslation)?e.postTranslation:null,M=U(e.processor)?e.processor:null,k=w(e.warnHtmlMessage)?e.warnHtmlMessage:!0,f=!!e.escapeParameter,E=B(e.messageCompiler)?e.messageCompiler:wn;process.env.NODE_ENV!=="production"&&B(e.messageCompiler)&&sn(De(se.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const L=B(e.messageResolver)?e.messageResolver:$n||Ka,g=B(e.localeFallbacker)?e.localeFallbacker:Wn||cs,I=$(e.fallbackContext)?e.fallbackContext:void 0,C=e,b=$(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,X=$(C.__numberFormatters)?C.__numberFormatters:new Map,ce=$(C.__meta)?C.__meta:{};Yn++;const V={version:n,cid:Yn,locale:a,fallbackLocale:r,messages:l,modifiers:_,pluralRules:N,missing:T,missingWarn:d,fallbackWarn:A,fallbackFormat:R,unresolving:P,postTranslation:S,processor:M,warnHtmlMessage:k,escapeParameter:f,messageCompiler:E,messageResolver:L,localeFallbacker:g,fallbackContext:I,onWarn:t,__meta:ce};return V.datetimeFormats=o,V.numberFormats=u,V.__datetimeFormatters=b,V.__numberFormatters=X,process.env.NODE_ENV!=="production"&&(V.__v_emitter=C.__v_emitter!=null?C.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&as(V,n,ce),V}const kt=e=>({[e]:Y()});function It(e,t){return e instanceof RegExp?e.test(t):e}function Bn(e,t){return e instanceof RegExp?e.test(t):e}function yt(e,t,n,a,s){const{missing:r,onWarn:l}=e;if(process.env.NODE_ENV!=="production"){const o=e.__v_emitter;o&&o.emit("missing",{locale:n,key:t,type:s,groupId:`${s}:${t}`})}if(r!==null){const o=r(e,n,t,s);return v(o)?o:t}else return process.env.NODE_ENV!=="production"&&Bn(a,t)&&l(De(se.NOT_FOUND_KEY,{key:t,locale:n})),t}function Ke(e,t,n){const a=e;a.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function jn(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Os(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let a=n+1;a<t.length;a++)if(jn(e,t[a]))return!0;return!1}function Mt(e){return n=>Ls(n,e)}function Ls(e,t){const n=Fa(t);if(n==null)throw Be(0);if(St(n)===1){const r=Ua(n);return e.plural(r.reduce((l,o)=>[...l,Kn(e,o)],[]))}else return Kn(e,n)}function Kn(e,t){const n=wa(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const a=Va(t).reduce((s,r)=>[...s,Ft(e,r)],[]);return e.normalize(a)}}function Ft(e,t){const n=St(t);switch(n){case 3:return Tt(t,n);case 9:return Tt(t,n);case 4:{const a=t;if(de(a,"k")&&a.k)return e.interpolate(e.named(a.k));if(de(a,"key")&&a.key)return e.interpolate(e.named(a.key));throw Be(n)}case 5:{const a=t;if(de(a,"i")&&q(a.i))return e.interpolate(e.list(a.i));if(de(a,"index")&&q(a.index))return e.interpolate(e.list(a.index));throw Be(n)}case 6:{const a=t,s=$a(a),r=Wa(a);return e.linked(Ft(e,r),s?Ft(e,s):void 0,e.type)}case 7:return Tt(t,n);case 8:return Tt(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Is="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Xn(e,t){t&&ua(e)&&z(At(Is,{source:e}))}const Jn=e=>e;let $e=Y();function Qn(e){e.code===Nt.USE_MODULO_SYNTAX&&z(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
16
+ */function ga(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ne().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ne().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ne().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Ie=[];Ie[0]={w:[0],i:[3,0],"[":[4],o:[7]},Ie[1]={w:[1],".":[2],"[":[4],o:[7]},Ie[2]={w:[2],i:[3,0],0:[3,0]},Ie[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Ie[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Ie[5]={"'":[4,0],o:8,l:[5,0]},Ie[6]={'"':[4,0],o:8,l:[6,0]};const Na=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function pa(e){return Na.test(e)}function Ta(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 Oa(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 La(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:pa(t)?Ta(t):"*"+t}function Ia(e){const t=[];let n=-1,a=0,s=0,r,l,i,u,_,p,T;const d=[];d[0]=()=>{l===void 0?l=i:l+=i},d[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,a=4,d[0]();else{if(s=0,l===void 0||(l=La(l),l===!1))return!1;d[1]()}};function C(){const k=e[n+1];if(a===5&&k==="'"||a===6&&k==='"')return n++,i="\\"+k,d[0](),!0}for(;a!==null;)if(n++,r=e[n],!(r==="\\"&&C())){if(u=Oa(r),T=Ie[a],_=T[u]||T.l||8,_===8||(a=_[0],_[1]!==void 0&&(p=d[_[1]],p&&(i=r,p()===!1))))return;if(a===7)return t}}const mn=new Map;function ba(e,t){return W(e)?e[t]:null}function ha(e,t){if(!W(e))return null;let n=mn.get(t);if(n||(n=Ia(t),n&&mn.set(t,n)),!n)return null;const a=n.length;let s=e,r=0;for(;r<a;){const l=s[n[r]];if(l===void 0||Y(s))return null;s=l,r++}return s}const va=e=>e,Ca=e=>"",Aa="text",Sa=e=>e.length===0?"":Ur(e),Pa=Fr;function dn(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Da(e){const t=q(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(q(e.named.count)||q(e.named.n))?q(e.named.count)?e.named.count:q(e.named.n)?e.named.n:t:t}function ka(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Ra(e={}){const t=e.locale,n=Da(e),a=W(e.pluralRules)&&v(t)&&Y(e.pluralRules[t])?e.pluralRules[t]:dn,s=W(e.pluralRules)&&v(t)&&Y(e.pluralRules[t])?dn:void 0,r=M=>M[a(n,M.length,s)],l=e.list||[],i=M=>l[M],u=e.named||{};q(e.pluralIndex)&&ka(n,u);const _=M=>u[M];function p(M){const R=Y(e.messages)?e.messages(M):W(e.messages)?e.messages[M]:!1;return R||(e.parent?e.parent.message(M):Ca)}const T=M=>e.modifiers?e.modifiers[M]:va,d=U(e.processor)&&Y(e.processor.normalize)?e.processor.normalize:Sa,C=U(e.processor)&&Y(e.processor.interpolate)?e.processor.interpolate:Pa,k=U(e.processor)&&v(e.processor.type)?e.processor.type:Aa,P={list:i,named:_,plural:r,linked:(M,...R)=>{const[f,E]=R;let L="text",g="";R.length===1?W(f)?(g=f.modifier||g,L=f.type||L):v(f)&&(g=f||g):R.length===2&&(v(f)&&(g=f||g),v(E)&&(L=E||L));const I=p(M)(P),A=L==="vnode"&&j(I)&&g?I[0]:I;return g?T(g)(A,L):A},message:p,type:k,interpolate:C,normalize:d,values:te({},l,u)};return P}let xe=null;function ya(e){xe=e}function Ma(e,t,n){xe&&xe.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Fa=Ua("function:translate");function Ua(e){return t=>xe&&xe.emit(e,t)}const En=Et.__EXTEND_POINT__,Ce=ft(En),ae={NOT_FOUND_KEY:En,FALLBACK_TO_TRANSLATE:Ce(),CANNOT_FORMAT_NUMBER:Ce(),FALLBACK_TO_NUMBER_FORMAT:Ce(),CANNOT_FORMAT_DATE:Ce(),FALLBACK_TO_DATE_FORMAT:Ce(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Ce(),__EXTEND_POINT__:Ce()},wa={[ae.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[ae.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[ae.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[ae.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[ae.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[ae.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[ae.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 Ae(e,...t){return It(wa[e],...t)}const gn=F.__EXTEND_POINT__,Se=ft(gn),ee={INVALID_ARGUMENT:gn,INVALID_DATE_ARGUMENT:Se(),INVALID_ISO_DATE_ARGUMENT:Se(),NOT_SUPPORT_NON_STRING_MESSAGE:Se(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Se(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Se(),NOT_SUPPORT_LOCALE_TYPE:Se(),__EXTEND_POINT__:Se()};function Ee(e){return Re(e,null,process.env.NODE_ENV!=="production"?{messages:Va}:void 0)}const Va={[ee.INVALID_ARGUMENT]:"Invalid arguments",[ee.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ee.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ee.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ee.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ee.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ee.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function vt(e,t){return t.locale!=null?Nn(t.locale):Nn(e.locale)}let Ct;function Nn(e){if(v(e))return e;if(Y(e)){if(e.resolvedOnce&&Ct!=null)return Ct;if(e.constructor.name==="Function"){const t=e();if(Mr(t))throw Ee(ee.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ct=t}else throw Ee(ee.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ee(ee.NOT_SUPPORT_LOCALE_TYPE)}function $a(e,t,n){return[...new Set([n,...j(t)?t:W(t)?Object.keys(t):v(t)?[t]:[n]])]}function pn(e,t,n){const a=v(n)?n:Fe,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(a);if(!r){r=[];let l=[n];for(;j(l);)l=Tn(r,l,t);const i=j(t)||!U(t)?t:t.default?t.default:null;l=v(i)?[i]:i,j(l)&&Tn(r,l,!1),s.__localeChainCache.set(a,r)}return r}function Tn(e,t,n){let a=!0;for(let s=0;s<t.length&&w(a);s++){const r=t[s];v(r)&&(a=Wa(e,t[s],n))}return a}function Wa(e,t,n){let a;const s=t.split("-");do{const r=s.join("-");a=Ga(e,r,n),s.splice(-1,1)}while(s.length&&a===!0);return a}function Ga(e,t,n){let a=!1;if(!e.includes(t)&&(a=!0,t)){a=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(j(n)||U(n))&&n[s]&&(a=n[s])}return a}const xa="9.14.0",gt=-1,Fe="en-US",Nt="",On=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Ha(){return{upper:(e,t)=>t==="text"&&v(e)?e.toUpperCase():t==="vnode"&&W(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&v(e)?e.toLowerCase():t==="vnode"&&W(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&v(e)?On(e):t==="vnode"&&W(e)&&"__v_isVNode"in e?On(e.children):e}}let Ln;function In(e){Ln=e}let bn;function Ya(e){bn=e}let hn;function Ba(e){hn=e}let vn=null;const ja=e=>{vn=e},Xa=()=>vn;let Cn=null;const An=e=>{Cn=e},Ka=()=>Cn;let Sn=0;function Ja(e={}){const t=Y(e.onWarn)?e.onWarn:Z,n=v(e.version)?e.version:xa,a=v(e.locale)||Y(e.locale)?e.locale:Fe,s=Y(a)?Fe:a,r=j(e.fallbackLocale)||U(e.fallbackLocale)||v(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,l=U(e.messages)?e.messages:{[s]:{}},i=U(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},u=U(e.numberFormats)?e.numberFormats:{[s]:{}},_=te({},e.modifiers||{},Ha()),p=e.pluralRules||{},T=Y(e.missing)?e.missing:null,d=w(e.missingWarn)||Oe(e.missingWarn)?e.missingWarn:!0,C=w(e.fallbackWarn)||Oe(e.fallbackWarn)?e.fallbackWarn:!0,k=!!e.fallbackFormat,S=!!e.unresolving,P=Y(e.postTranslation)?e.postTranslation:null,M=U(e.processor)?e.processor:null,R=w(e.warnHtmlMessage)?e.warnHtmlMessage:!0,f=!!e.escapeParameter,E=Y(e.messageCompiler)?e.messageCompiler:Ln;process.env.NODE_ENV!=="production"&&Y(e.messageCompiler)&&an(Ae(ae.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const L=Y(e.messageResolver)?e.messageResolver:bn||ba,g=Y(e.localeFallbacker)?e.localeFallbacker:hn||$a,I=W(e.fallbackContext)?e.fallbackContext:void 0,A=e,b=W(A.__datetimeFormatters)?A.__datetimeFormatters:new Map,X=W(A.__numberFormatters)?A.__numberFormatters:new Map,ie=W(A.__meta)?A.__meta:{};Sn++;const $={version:n,cid:Sn,locale:a,fallbackLocale:r,messages:l,modifiers:_,pluralRules:p,missing:T,missingWarn:d,fallbackWarn:C,fallbackFormat:k,unresolving:S,postTranslation:P,processor:M,warnHtmlMessage:R,escapeParameter:f,messageCompiler:E,messageResolver:L,localeFallbacker:g,fallbackContext:I,onWarn:t,__meta:ie};return $.datetimeFormats=i,$.numberFormats=u,$.__datetimeFormatters=b,$.__numberFormatters=X,process.env.NODE_ENV!=="production"&&($.__v_emitter=A.__v_emitter!=null?A.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Ma($,n,ie),$}function pt(e,t){return e instanceof RegExp?e.test(t):e}function Pn(e,t){return e instanceof RegExp?e.test(t):e}function At(e,t,n,a,s){const{missing:r,onWarn:l}=e;if(process.env.NODE_ENV!=="production"){const i=e.__v_emitter;i&&i.emit("missing",{locale:n,key:t,type:s,groupId:`${s}:${t}`})}if(r!==null){const i=r(e,n,t,s);return v(i)?i:t}else return process.env.NODE_ENV!=="production"&&Pn(a,t)&&l(Ae(ae.NOT_FOUND_KEY,{key:t,locale:n})),t}function He(e,t,n){const a=e;a.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Dn(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Qa(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let a=n+1;a<t.length;a++)if(Dn(e,t[a]))return!0;return!1}function St(e){return n=>qa(n,e)}function qa(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const a=n,s=a.c||a.cases;return e.plural(s.reduce((r,l)=>[...r,kn(e,l)],[]))}else return kn(e,n)}function kn(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const a=(t.i||t.items).reduce((s,r)=>[...s,Pt(e,r)],[]);return e.normalize(a)}}function Pt(e,t){const n=t.t||t.type;switch(n){case 3:{const a=t;return a.v||a.value}case 9:{const a=t;return a.v||a.value}case 4:{const a=t;return e.interpolate(e.named(a.k||a.key))}case 5:{const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index))}case 6:{const a=t,s=a.m||a.modifier;return e.linked(Pt(e,a.k||a.key),s?Pt(e,s):void 0,e.type)}case 7:{const a=t;return a.v||a.value}case 8:{const a=t;return a.v||a.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Za="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Rn(e,t){t&&jr(e)&&Z(It(Za,{source:e}))}const yn=e=>e;let Ue=Object.create(null);function Mn(e){e.code===Et.USE_MODULO_SYNTAX&&Z(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
17
17
  reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
18
- (message compiler warning message: ${e.message})`)}function qn(e,t={}){let n=!1;const a=t.onError||ia;return t.onError=s=>{n=!0,a(s)},{...ya(e,t),detectError:n}}const bs=(e,t)=>{if(!v(e))throw Ne(te.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=Qn);{const n=w(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Xn(e,n);const s=(t.onCacheKey||Jn)(e),r=$e[s];if(r)return r;const{code:l,detectError:o}=qn(e,t),u=new Function(`return ${l}`)();return o?u:$e[s]=u}};function hs(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=Qn),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&v(e)){const n=w(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Xn(e,n);const s=(t.onCacheKey||Jn)(e),r=$e[s];if(r)return r;const{ast:l,detectError:o}=qn(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),u=Mt(l);return o?u:$e[s]=u}else{if(process.env.NODE_ENV!=="production"&&!ue(e))return z(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const a=$e[n];return a||($e[n]=Mt(e))}else return Mt(e)}}const Zn=()=>"",fe=e=>B(e);function zn(e,...t){const{fallbackFormat:n,postTranslation:a,unresolving:s,messageCompiler:r,fallbackLocale:l,messages:o}=e,[u,_]=Ut(...t),N=w(_.missingWarn)?_.missingWarn:e.missingWarn,T=w(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn,d=w(_.escapeParameter)?_.escapeParameter:e.escapeParameter,A=!!_.resolvedMessage,R=v(_.default)||w(_.default)?w(_.default)?r?u:()=>u:_.default:n?r?u:()=>u:"",P=n||R!=="",S=Dt(e,_);d&&vs(_);let[M,k,f]=A?[u,S,o[S]||Y()]:er(e,u,S,l,T,N),E=M,L=u;if(!A&&!(v(E)||ue(E)||fe(E))&&P&&(E=R,L=E),!A&&(!(v(E)||ue(E)||fe(E))||!v(k)))return s?Ot:u;if(process.env.NODE_ENV!=="production"&&v(E)&&e.messageCompiler==null)return z(`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 '${u}'.`),u;let g=!1;const I=()=>{g=!0},C=fe(E)?E:tr(e,u,k,E,L,I);if(g)return E;const b=Ss(e,k,f,_),X=ns(b),ce=As(e,C,X);let V=a?a(ce,u):ce;if(d&&v(V)&&(V=Qr(V)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:v(u)?u:fe(E)?E.key:"",locale:k||(fe(E)?E.locale:""),format:v(E)?E:fe(E)?E.source:"",message:V};re.meta=ne({},e.__meta,ps()||{}),ss(re)}return V}function vs(e){K(e.list)?e.list=e.list.map(t=>v(t)?on(t):t):$(e.named)&&Object.keys(e.named).forEach(t=>{v(e.named[t])&&(e.named[t]=on(e.named[t]))})}function er(e,t,n,a,s,r){const{messages:l,onWarn:o,messageResolver:u,localeFallbacker:_}=e,N=_(e,a,n);let T=Y(),d,A=null,R=n,P=null;const S="translate";for(let M=0;M<N.length;M++){if(d=P=N[M],process.env.NODE_ENV!=="production"&&n!==d&&!jn(n,d)&&It(s,t)&&o(De(se.FALLBACK_TO_TRANSLATE,{key:t,target:d})),process.env.NODE_ENV!=="production"&&n!==d){const L=e.__v_emitter;L&&L.emit("fallback",{type:S,key:t,from:R,to:P,groupId:`${S}:${t}`})}T=l[d]||Y();let k=null,f,E;if(process.env.NODE_ENV!=="production"&&me&&(k=window.performance.now(),f="intlify-message-resolve-start",E="intlify-message-resolve-end",ie&&ie(f)),(A=u(T,t))===null&&(A=T[t]),process.env.NODE_ENV!=="production"&&me){const L=window.performance.now(),g=e.__v_emitter;g&&k&&A&&g.emit("message-resolve",{type:"message-resolve",key:t,message:A,time:L-k,groupId:`${S}:${t}`}),f&&E&&ie&&Pe&&(ie(E),Pe("intlify message resolve",f,E))}if(v(A)||ue(A)||fe(A))break;if(!Os(d,N)){const L=yt(e,t,d,r,S);L!==t&&(A=L)}R=P}return[A,d,T]}function tr(e,t,n,a,s,r){const{messageCompiler:l,warnHtmlMessage:o}=e;if(fe(a)){const d=a;return d.locale=d.locale||n,d.key=d.key||t,d}if(l==null){const d=()=>a;return d.locale=n,d.key=t,d}let u=null,_,N;process.env.NODE_ENV!=="production"&&me&&(u=window.performance.now(),_="intlify-message-compilation-start",N="intlify-message-compilation-end",ie&&ie(_));const T=l(a,Cs(e,n,s,a,o,r));if(process.env.NODE_ENV!=="production"&&me){const d=window.performance.now(),A=e.__v_emitter;A&&u&&A.emit("message-compilation",{type:"message-compilation",message:a,time:d-u,groupId:`translate:${t}`}),_&&N&&ie&&Pe&&(ie(N),Pe("intlify message compilation",_,N))}return T.locale=n,T.key=t,T.source=a,T}function As(e,t,n){let a=null,s,r;process.env.NODE_ENV!=="production"&&me&&(a=window.performance.now(),s="intlify-message-evaluation-start",r="intlify-message-evaluation-end",ie&&ie(s));const l=t(n);if(process.env.NODE_ENV!=="production"&&me){const o=window.performance.now(),u=e.__v_emitter;u&&a&&u.emit("message-evaluation",{type:"message-evaluation",value:l,time:o-a,groupId:`translate:${t.key}`}),s&&r&&ie&&Pe&&(ie(r),Pe("intlify message evaluation",s,r))}return l}function Ut(...e){const[t,n,a]=e,s=Y();if(!v(t)&&!q(t)&&!fe(t)&&!ue(t))throw Ne(te.INVALID_ARGUMENT);const r=q(t)?String(t):(fe(t),t);return q(n)?s.plural=n:v(n)?s.default=n:U(n)&&!mt(n)?s.named=n:K(n)&&(s.list=n),q(a)?s.plural=a:v(a)?s.default=a:U(a)&&ne(s,a),[r,s]}function Cs(e,t,n,a,s,r){return{locale:t,key:n,warnHtmlMessage:s,onError:l=>{if(r&&r(l),process.env.NODE_ENV!=="production"){const o=Ps(a),u=`Message compilation error: ${l.message}`,_=l.location&&o&&ta(o,l.location.start.offset,l.location.end.offset),N=e.__v_emitter;N&&o&&N.emit("compile-error",{message:o,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${n}`}),console.error(_?`${u}
19
- ${_}`:u)}else throw l},onCacheKey:l=>jr(t,n,l)}}function Ps(e){if(v(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Ss(e,t,n,a){const{modifiers:s,pluralRules:r,messageResolver:l,fallbackLocale:o,fallbackWarn:u,missingWarn:_,fallbackContext:N}=e,d={locale:t,modifiers:s,pluralRules:r,messages:A=>{let R=l(n,A);if(R==null&&N){const[,,P]=er(N,A,t,o,u,_);R=l(P,A)}if(v(R)||ue(R)){let P=!1;const M=tr(e,A,t,R,A,()=>{P=!0});return P?Zn:M}else return fe(R)?R:Zn}};return e.processor&&(d.processor=e.processor),a.list&&(d.list=a.list),a.named&&(d.named=a.named),q(a.plural)&&(d.pluralIndex=a.plural),d}const nr=typeof Intl<"u",rr={dateTimeFormat:nr&&typeof Intl.DateTimeFormat<"u",numberFormat:nr&&typeof Intl.NumberFormat<"u"};function ar(e,...t){const{datetimeFormats:n,unresolving:a,fallbackLocale:s,onWarn:r,localeFallbacker:l}=e,{__datetimeFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!rr.dateTimeFormat)return r(De(se.CANNOT_FORMAT_DATE)),Lt;const[u,_,N,T]=wt(...t),d=w(N.missingWarn)?N.missingWarn:e.missingWarn,A=w(N.fallbackWarn)?N.fallbackWarn:e.fallbackWarn,R=!!N.part,P=Dt(e,N),S=l(e,s,P);if(!v(u)||u==="")return new Intl.DateTimeFormat(P,T).format(_);let M={},k,f=null,E=P,L=null;const g="datetime format";for(let b=0;b<S.length;b++){if(k=L=S[b],process.env.NODE_ENV!=="production"&&P!==k&&It(A,u)&&r(De(se.FALLBACK_TO_DATE_FORMAT,{key:u,target:k})),process.env.NODE_ENV!=="production"&&P!==k){const X=e.__v_emitter;X&&X.emit("fallback",{type:g,key:u,from:E,to:L,groupId:`${g}:${u}`})}if(M=n[k]||{},f=M[u],U(f))break;yt(e,u,k,d,g),E=L}if(!U(f)||!v(k))return a?Ot:u;let I=`${k}__${u}`;mt(T)||(I=`${I}__${JSON.stringify(T)}`);let C=o.get(I);return C||(C=new Intl.DateTimeFormat(k,ne({},f,T)),o.set(I,C)),R?C.formatToParts(_):C.format(_)}const sr=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function wt(...e){const[t,n,a,s]=e,r=Y();let l=Y(),o;if(v(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Ne(te.INVALID_ISO_DATE_ARGUMENT);const _=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();o=new Date(_);try{o.toISOString()}catch{throw Ne(te.INVALID_ISO_DATE_ARGUMENT)}}else if(Xr(t)){if(isNaN(t.getTime()))throw Ne(te.INVALID_DATE_ARGUMENT);o=t}else if(q(t))o=t;else throw Ne(te.INVALID_ARGUMENT);return v(n)?r.key=n:U(n)&&Object.keys(n).forEach(u=>{sr.includes(u)?l[u]=n[u]:r[u]=n[u]}),v(a)?r.locale=a:U(a)&&(l=a),U(s)&&(l=s),[r.key||"",o,r,l]}function lr(e,t,n){const a=e;for(const s in n){const r=`${t}__${s}`;a.__datetimeFormatters.has(r)&&a.__datetimeFormatters.delete(r)}}function or(e,...t){const{numberFormats:n,unresolving:a,fallbackLocale:s,onWarn:r,localeFallbacker:l}=e,{__numberFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!rr.numberFormat)return r(De(se.CANNOT_FORMAT_NUMBER)),Lt;const[u,_,N,T]=Vt(...t),d=w(N.missingWarn)?N.missingWarn:e.missingWarn,A=w(N.fallbackWarn)?N.fallbackWarn:e.fallbackWarn,R=!!N.part,P=Dt(e,N),S=l(e,s,P);if(!v(u)||u==="")return new Intl.NumberFormat(P,T).format(_);let M={},k,f=null,E=P,L=null;const g="number format";for(let b=0;b<S.length;b++){if(k=L=S[b],process.env.NODE_ENV!=="production"&&P!==k&&It(A,u)&&r(De(se.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:k})),process.env.NODE_ENV!=="production"&&P!==k){const X=e.__v_emitter;X&&X.emit("fallback",{type:g,key:u,from:E,to:L,groupId:`${g}:${u}`})}if(M=n[k]||{},f=M[u],U(f))break;yt(e,u,k,d,g),E=L}if(!U(f)||!v(k))return a?Ot:u;let I=`${k}__${u}`;mt(T)||(I=`${I}__${JSON.stringify(T)}`);let C=o.get(I);return C||(C=new Intl.NumberFormat(k,ne({},f,T)),o.set(I,C)),R?C.formatToParts(_):C.format(_)}const ir=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Vt(...e){const[t,n,a,s]=e,r=Y();let l=Y();if(!q(t))throw Ne(te.INVALID_ARGUMENT);const o=t;return v(n)?r.key=n:U(n)&&Object.keys(n).forEach(u=>{ir.includes(u)?l[u]=n[u]:r[u]=n[u]}),v(a)?r.locale=a:U(a)&&(l=a),U(s)&&(l=s),[r.key||"",o,r,l]}function cr(e,t,n){const a=e;for(const s in n){const r=`${t}__${s}`;a.__numberFormatters.has(r)&&a.__numberFormatters.delete(r)}}Ma();function Ds(){return ur().__VUE_DEVTOOLS_GLOBAL_HOOK__}function ur(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Rs=typeof Proxy=="function",ks="devtools-plugin:setup",ys="plugin:settings:set";let We,$t;function Ms(){var e;return We!==void 0||(typeof window<"u"&&window.performance?(We=!0,$t=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(We=!0,$t=globalThis.perf_hooks.performance):We=!1),We}function Fs(){return Ms()?$t.now():Date.now()}class Us{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const a={};if(t.settings)for(const l in t.settings){const o=t.settings[l];a[l]=o.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},a);try{const l=localStorage.getItem(s),o=JSON.parse(l);Object.assign(r,o)}catch{}this.fallbacks={getSettings(){return r},setSettings(l){try{localStorage.setItem(s,JSON.stringify(l))}catch{}r=l},now(){return Fs()}},n&&n.on(ys,(l,o)=>{l===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(l,o)=>this.target?this.target.on[o]:(...u)=>{this.onQueue.push({method:o,args:u})}}),this.proxiedTarget=new Proxy({},{get:(l,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...u)=>(this.targetQueue.push({method:o,args:u,resolve:()=>{}}),this.fallbacks[o](...u)):(...u)=>new Promise(_=>{this.targetQueue.push({method:o,args:u,resolve:_})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function ws(e,t){const n=e,a=ur(),s=Ds(),r=Rs&&n.enableEarlyProxy;if(s&&(a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))s.emit(ks,e,t);else{const l=r?new Us(n,s):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:l}),l&&t(l.proxiedTarget)}}/*!
20
- * vue-i18n v9.14.5
21
- * (c) 2025 kazuya kawaguchi
18
+ (message compiler warning message: ${e.message})`)}const be=e=>W(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Fn(e,t={}){let n=!1;const a=t.onError||Yr;return t.onError=s=>{n=!0,a(s)},{...Ea(e,t),detectError:n}}const za=(e,t)=>{if(!v(e))throw Ee(ee.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=Mn);{const n=w(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Rn(e,n);const s=(t.onCacheKey||yn)(e),r=Ue[s];if(r)return r;const{code:l,detectError:i}=Fn(e,t),u=new Function(`return ${l}`)();return i?u:Ue[s]=u}};function es(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=Mn),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&v(e)){const n=w(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Rn(e,n);const s=(t.onCacheKey||yn)(e),r=Ue[s];if(r)return r;const{ast:l,detectError:i}=Fn(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),u=St(l);return i?u:Ue[s]=u}else{if(process.env.NODE_ENV!=="production"&&!be(e))return Z(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const a=Ue[n];return a||(Ue[n]=St(e))}else return St(e)}}const Un=()=>"",ce=e=>Y(e);function wn(e,...t){const{fallbackFormat:n,postTranslation:a,unresolving:s,messageCompiler:r,fallbackLocale:l,messages:i}=e,[u,_]=Dt(...t),p=w(_.missingWarn)?_.missingWarn:e.missingWarn,T=w(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn,d=w(_.escapeParameter)?_.escapeParameter:e.escapeParameter,C=!!_.resolvedMessage,k=v(_.default)||w(_.default)?w(_.default)?r?u:()=>u:_.default:n?r?u:()=>u:"",S=n||k!=="",P=vt(e,_);d&&ts(_);let[M,R,f]=C?[u,P,i[P]||{}]:Vn(e,u,P,l,T,p),E=M,L=u;if(!C&&!(v(E)||be(E)||ce(E))&&S&&(E=k,L=E),!C&&(!(v(E)||be(E)||ce(E))||!v(R)))return s?gt:u;if(process.env.NODE_ENV!=="production"&&v(E)&&e.messageCompiler==null)return Z(`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 '${u}'.`),u;let g=!1;const I=()=>{g=!0},A=ce(E)?E:$n(e,u,R,E,L,I);if(g)return E;const b=ss(e,R,f,_),X=Ra(b),ie=ns(e,A,X),$=a?a(ie,u):ie;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ne={timestamp:Date.now(),key:v(u)?u:ce(E)?E.key:"",locale:R||(ce(E)?E.locale:""),format:v(E)?E:ce(E)?E.source:"",message:$};ne.meta=te({},e.__meta,Xa()||{}),Fa(ne)}return $}function ts(e){j(e.list)?e.list=e.list.map(t=>v(t)?zt(t):t):W(e.named)&&Object.keys(e.named).forEach(t=>{v(e.named[t])&&(e.named[t]=zt(e.named[t]))})}function Vn(e,t,n,a,s,r){const{messages:l,onWarn:i,messageResolver:u,localeFallbacker:_}=e,p=_(e,a,n);let T={},d,C=null,k=n,S=null;const P="translate";for(let M=0;M<p.length;M++){if(d=S=p[M],process.env.NODE_ENV!=="production"&&n!==d&&!Dn(n,d)&&pt(s,t)&&i(Ae(ae.FALLBACK_TO_TRANSLATE,{key:t,target:d})),process.env.NODE_ENV!=="production"&&n!==d){const L=e.__v_emitter;L&&L.emit("fallback",{type:P,key:t,from:k,to:S,groupId:`${P}:${t}`})}T=l[d]||{};let R=null,f,E;if(process.env.NODE_ENV!=="production"&&fe&&(R=window.performance.now(),f="intlify-message-resolve-start",E="intlify-message-resolve-end",oe&&oe(f)),(C=u(T,t))===null&&(C=T[t]),process.env.NODE_ENV!=="production"&&fe){const L=window.performance.now(),g=e.__v_emitter;g&&R&&C&&g.emit("message-resolve",{type:"message-resolve",key:t,message:C,time:L-R,groupId:`${P}:${t}`}),f&&E&&oe&&ve&&(oe(E),ve("intlify message resolve",f,E))}if(v(C)||be(C)||ce(C))break;if(!Qa(d,p)){const L=At(e,t,d,r,P);L!==t&&(C=L)}k=S}return[C,d,T]}function $n(e,t,n,a,s,r){const{messageCompiler:l,warnHtmlMessage:i}=e;if(ce(a)){const d=a;return d.locale=d.locale||n,d.key=d.key||t,d}if(l==null){const d=()=>a;return d.locale=n,d.key=t,d}let u=null,_,p;process.env.NODE_ENV!=="production"&&fe&&(u=window.performance.now(),_="intlify-message-compilation-start",p="intlify-message-compilation-end",oe&&oe(_));const T=l(a,rs(e,n,s,a,i,r));if(process.env.NODE_ENV!=="production"&&fe){const d=window.performance.now(),C=e.__v_emitter;C&&u&&C.emit("message-compilation",{type:"message-compilation",message:a,time:d-u,groupId:`translate:${t}`}),_&&p&&oe&&ve&&(oe(p),ve("intlify message compilation",_,p))}return T.locale=n,T.key=t,T.source=a,T}function ns(e,t,n){let a=null,s,r;process.env.NODE_ENV!=="production"&&fe&&(a=window.performance.now(),s="intlify-message-evaluation-start",r="intlify-message-evaluation-end",oe&&oe(s));const l=t(n);if(process.env.NODE_ENV!=="production"&&fe){const i=window.performance.now(),u=e.__v_emitter;u&&a&&u.emit("message-evaluation",{type:"message-evaluation",value:l,time:i-a,groupId:`translate:${t.key}`}),s&&r&&oe&&ve&&(oe(r),ve("intlify message evaluation",s,r))}return l}function Dt(...e){const[t,n,a]=e,s={};if(!v(t)&&!q(t)&&!ce(t)&&!be(t))throw Ee(ee.INVALID_ARGUMENT);const r=q(t)?String(t):(ce(t),t);return q(n)?s.plural=n:v(n)?s.default=n:U(n)&&!ct(n)?s.named=n:j(n)&&(s.list=n),q(a)?s.plural=a:v(a)?s.default=a:U(a)&&te(s,a),[r,s]}function rs(e,t,n,a,s,r){return{locale:t,key:n,warnHtmlMessage:s,onError:l=>{if(r&&r(l),process.env.NODE_ENV!=="production"){const i=as(a),u=`Message compilation error: ${l.message}`,_=l.location&&i&&wr(i,l.location.start.offset,l.location.end.offset),p=e.__v_emitter;p&&i&&p.emit("compile-error",{message:i,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${n}`}),console.error(_?`${u}
19
+ ${_}`:u)}else throw l},onCacheKey:l=>Dr(t,n,l)}}function as(e){if(v(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function ss(e,t,n,a){const{modifiers:s,pluralRules:r,messageResolver:l,fallbackLocale:i,fallbackWarn:u,missingWarn:_,fallbackContext:p}=e,d={locale:t,modifiers:s,pluralRules:r,messages:C=>{let k=l(n,C);if(k==null&&p){const[,,S]=Vn(p,C,t,i,u,_);k=l(S,C)}if(v(k)||be(k)){let S=!1;const M=$n(e,C,t,k,C,()=>{S=!0});return S?Un:M}else return ce(k)?k:Un}};return e.processor&&(d.processor=e.processor),a.list&&(d.list=a.list),a.named&&(d.named=a.named),q(a.plural)&&(d.pluralIndex=a.plural),d}const Wn=typeof Intl<"u",Gn={dateTimeFormat:Wn&&typeof Intl.DateTimeFormat<"u",numberFormat:Wn&&typeof Intl.NumberFormat<"u"};function xn(e,...t){const{datetimeFormats:n,unresolving:a,fallbackLocale:s,onWarn:r,localeFallbacker:l}=e,{__datetimeFormatters:i}=e;if(process.env.NODE_ENV!=="production"&&!Gn.dateTimeFormat)return r(Ae(ae.CANNOT_FORMAT_DATE)),Nt;const[u,_,p,T]=kt(...t),d=w(p.missingWarn)?p.missingWarn:e.missingWarn,C=w(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,k=!!p.part,S=vt(e,p),P=l(e,s,S);if(!v(u)||u==="")return new Intl.DateTimeFormat(S,T).format(_);let M={},R,f=null,E=S,L=null;const g="datetime format";for(let b=0;b<P.length;b++){if(R=L=P[b],process.env.NODE_ENV!=="production"&&S!==R&&pt(C,u)&&r(Ae(ae.FALLBACK_TO_DATE_FORMAT,{key:u,target:R})),process.env.NODE_ENV!=="production"&&S!==R){const X=e.__v_emitter;X&&X.emit("fallback",{type:g,key:u,from:E,to:L,groupId:`${g}:${u}`})}if(M=n[R]||{},f=M[u],U(f))break;At(e,u,R,d,g),E=L}if(!U(f)||!v(R))return a?gt:u;let I=`${R}__${u}`;ct(T)||(I=`${I}__${JSON.stringify(T)}`);let A=i.get(I);return A||(A=new Intl.DateTimeFormat(R,te({},f,T)),i.set(I,A)),k?A.formatToParts(_):A.format(_)}const Hn=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function kt(...e){const[t,n,a,s]=e,r={};let l={},i;if(v(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Ee(ee.INVALID_ISO_DATE_ARGUMENT);const _=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();i=new Date(_);try{i.toISOString()}catch{throw Ee(ee.INVALID_ISO_DATE_ARGUMENT)}}else if(Rr(t)){if(isNaN(t.getTime()))throw Ee(ee.INVALID_DATE_ARGUMENT);i=t}else if(q(t))i=t;else throw Ee(ee.INVALID_ARGUMENT);return v(n)?r.key=n:U(n)&&Object.keys(n).forEach(u=>{Hn.includes(u)?l[u]=n[u]:r[u]=n[u]}),v(a)?r.locale=a:U(a)&&(l=a),U(s)&&(l=s),[r.key||"",i,r,l]}function Yn(e,t,n){const a=e;for(const s in n){const r=`${t}__${s}`;a.__datetimeFormatters.has(r)&&a.__datetimeFormatters.delete(r)}}function Bn(e,...t){const{numberFormats:n,unresolving:a,fallbackLocale:s,onWarn:r,localeFallbacker:l}=e,{__numberFormatters:i}=e;if(process.env.NODE_ENV!=="production"&&!Gn.numberFormat)return r(Ae(ae.CANNOT_FORMAT_NUMBER)),Nt;const[u,_,p,T]=Rt(...t),d=w(p.missingWarn)?p.missingWarn:e.missingWarn,C=w(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,k=!!p.part,S=vt(e,p),P=l(e,s,S);if(!v(u)||u==="")return new Intl.NumberFormat(S,T).format(_);let M={},R,f=null,E=S,L=null;const g="number format";for(let b=0;b<P.length;b++){if(R=L=P[b],process.env.NODE_ENV!=="production"&&S!==R&&pt(C,u)&&r(Ae(ae.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:R})),process.env.NODE_ENV!=="production"&&S!==R){const X=e.__v_emitter;X&&X.emit("fallback",{type:g,key:u,from:E,to:L,groupId:`${g}:${u}`})}if(M=n[R]||{},f=M[u],U(f))break;At(e,u,R,d,g),E=L}if(!U(f)||!v(R))return a?gt:u;let I=`${R}__${u}`;ct(T)||(I=`${I}__${JSON.stringify(T)}`);let A=i.get(I);return A||(A=new Intl.NumberFormat(R,te({},f,T)),i.set(I,A)),k?A.formatToParts(_):A.format(_)}const jn=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Rt(...e){const[t,n,a,s]=e,r={};let l={};if(!q(t))throw Ee(ee.INVALID_ARGUMENT);const i=t;return v(n)?r.key=n:U(n)&&Object.keys(n).forEach(u=>{jn.includes(u)?l[u]=n[u]:r[u]=n[u]}),v(a)?r.locale=a:U(a)&&(l=a),U(s)&&(l=s),[r.key||"",i,r,l]}function Xn(e,t,n){const a=e;for(const s in n){const r=`${t}__${s}`;a.__numberFormatters.has(r)&&a.__numberFormatters.delete(r)}}ga();function ls(){return Kn().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Kn(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const os=typeof Proxy=="function",is="devtools-plugin:setup",cs="plugin:settings:set";let we,yt;function us(){var e;return we!==void 0||(typeof window<"u"&&window.performance?(we=!0,yt=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(we=!0,yt=globalThis.perf_hooks.performance):we=!1),we}function fs(){return us()?yt.now():Date.now()}class _s{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const a={};if(t.settings)for(const l in t.settings){const i=t.settings[l];a[l]=i.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},a);try{const l=localStorage.getItem(s),i=JSON.parse(l);Object.assign(r,i)}catch{}this.fallbacks={getSettings(){return r},setSettings(l){try{localStorage.setItem(s,JSON.stringify(l))}catch{}r=l},now(){return fs()}},n&&n.on(cs,(l,i)=>{l===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(l,i)=>this.target?this.target.on[i]:(...u)=>{this.onQueue.push({method:i,args:u})}}),this.proxiedTarget=new Proxy({},{get:(l,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...u)=>(this.targetQueue.push({method:i,args:u,resolve:()=>{}}),this.fallbacks[i](...u)):(...u)=>new Promise(_=>{this.targetQueue.push({method:i,args:u,resolve:_})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function ms(e,t){const n=e,a=Kn(),s=ls(),r=os&&n.enableEarlyProxy;if(s&&(a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))s.emit(is,e,t);else{const l=r?new _s(n,s):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:l}),l&&t(l.proxiedTarget)}}/*!
20
+ * vue-i18n v9.14.0
21
+ * (c) 2024 kazuya kawaguchi
22
22
  * Released under the MIT License.
23
- */const Vs="9.14.5";function $s(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Oe().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Oe().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Oe().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Oe().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oe().__INTLIFY_PROD_DEVTOOLS__=!1)}const fr=se.__EXTEND_POINT__,Ie=dt(fr),J={FALLBACK_TO_ROOT:fr,NOT_SUPPORTED_PRESERVE:Ie(),NOT_SUPPORTED_FORMATTER:Ie(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Ie(),NOT_SUPPORTED_GET_CHOICE_INDEX:Ie(),COMPONENT_NAME_LEGACY_COMPATIBLE:Ie(),NOT_FOUND_PARENT_SCOPE:Ie(),IGNORE_OBJ_FLATTEN:Ie(),NOTICE_DROP_ALLOW_COMPOSITION:Ie(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Ie()},Ws={[J.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[J.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[J.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[J.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[J.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[J.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[J.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[J.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[J.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[J.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function le(e,...t){return At(Ws[e],...t)}const _r=te.__EXTEND_POINT__,oe=dt(_r),W={UNEXPECTED_RETURN_TYPE:_r,INVALID_ARGUMENT:oe(),MUST_BE_CALL_SETUP_TOP:oe(),NOT_INSTALLED:oe(),NOT_AVAILABLE_IN_LEGACY_MODE:oe(),REQUIRED_VALUE:oe(),INVALID_VALUE:oe(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:oe(),NOT_INSTALLED_WITH_PROVIDE:oe(),UNEXPECTED_ERROR:oe(),NOT_COMPATIBLE_LEGACY_VUE_I18N:oe(),BRIDGE_SUPPORT_VUE_2_ONLY:oe(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:oe(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:oe(),__EXTEND_POINT__:oe()};function ee(e,...t){return Fe(e,null,process.env.NODE_ENV!=="production"?{messages:Gs,args:t}:void 0)}const Gs={[W.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[W.INVALID_ARGUMENT]:"Invalid argument",[W.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[W.NOT_INSTALLED]:"Need to install with `app.use` function",[W.UNEXPECTED_ERROR]:"Unexpected error",[W.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[W.REQUIRED_VALUE]:"Required in value: {0}",[W.INVALID_VALUE]:"Invalid value",[W.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[W.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[W.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[W.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[W.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Wt=pe("__translateVNode"),Gt=pe("__datetimeParts"),Ht=pe("__numberParts"),ke=pe("__enableEmitter"),Xe=pe("__disableEmitter"),mr=pe("__setPluralRules"),dr=pe("__injectWithOption"),xt=pe("__dispose");function Je(e){if(!$(e)||ue(e))return e;for(const t in e)if(de(e,t))if(!t.includes("."))$(e[t])&&Je(e[t]);else{const n=t.split("."),a=n.length-1;let s=e,r=!1;for(let l=0;l<a;l++){if(n[l]==="__proto__")throw new Error(`unsafe key: ${n[l]}`);if(n[l]in s||(s[n[l]]=Y()),!$(s[n[l]])){process.env.NODE_ENV!=="production"&&z(le(J.IGNORE_OBJ_FLATTEN,{key:n[l]})),r=!0;break}s=s[n[l]]}if(r||(ue(s)?Pn.includes(n[a])||delete e[t]:(s[n[a]]=e[t],delete e[t])),!ue(s)){const l=s[n[a]];$(l)&&Je(l)}}return e}function bt(e,t){const{messages:n,__i18n:a,messageResolver:s,flatJson:r}=t,l=U(n)?n:K(a)?Y():{[e]:Y()};if(K(a)&&a.forEach(o=>{if("locale"in o&&"resource"in o){const{locale:u,resource:_}=o;u?(l[u]=l[u]||Y(),gt(_,l[u])):gt(_,l)}else v(o)&&gt(JSON.parse(o),l)}),s==null&&r)for(const o in l)de(l,o)&&Je(l[o]);return l}function Er(e){return e.type}function gr(e,t,n){let a=$(t.messages)?t.messages:Y();"__i18nGlobal"in n&&(a=bt(e.locale.value,{messages:a,__i18n:n.__i18nGlobal}));const s=Object.keys(a);s.length&&s.forEach(r=>{e.mergeLocaleMessage(r,a[r])});{if($(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if($(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function pr(e){return D.createVNode(D.Text,null,e,0)}const Nr="__INTLIFY_META__",Tr=()=>[],Hs=()=>!1;let Or=0;function Lr(e){return(t,n,a,s)=>e(n,a,D.getCurrentInstance()||void 0,s)}const xs=()=>{const e=D.getCurrentInstance();let t=null;return e&&(t=Er(e)[Nr])?{[Nr]:t}:null};function Yt(e={},t){const{__root:n,__injectWithOption:a}=e,s=n===void 0,r=e.flatJson,l=me?D.ref:D.shallowRef,o=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&o&&sn(le(J.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let u=w(e.inheritLocale)?e.inheritLocale:!0;const _=l(n&&u?n.locale.value:v(e.locale)?e.locale:Ve),N=l(n&&u?n.fallbackLocale.value:v(e.fallbackLocale)||K(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:_.value),T=l(bt(_.value,e)),d=l(U(e.datetimeFormats)?e.datetimeFormats:{[_.value]:{}}),A=l(U(e.numberFormats)?e.numberFormats:{[_.value]:{}});let R=n?n.missingWarn:w(e.missingWarn)||be(e.missingWarn)?e.missingWarn:!0,P=n?n.fallbackWarn:w(e.fallbackWarn)||be(e.fallbackWarn)?e.fallbackWarn:!0,S=n?n.fallbackRoot:w(e.fallbackRoot)?e.fallbackRoot:!0,M=!!e.fallbackFormat,k=B(e.missing)?e.missing:null,f=B(e.missing)?Lr(e.missing):null,E=B(e.postTranslation)?e.postTranslation:null,L=n?n.warnHtmlMessage:w(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const I=n?n.modifiers:U(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,b;b=(()=>{s&&xn(null);const m={version:Vs,locale:_.value,fallbackLocale:N.value,messages:T.value,modifiers:I,pluralRules:C,missing:f===null?void 0:f,missingWarn:R,fallbackWarn:P,fallbackFormat:M,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:L,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};m.datetimeFormats=d.value,m.numberFormats=A.value,m.__datetimeFormatters=U(b)?b.__datetimeFormatters:void 0,m.__numberFormatters=U(b)?b.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(m.__v_emitter=U(b)?b.__v_emitter:void 0);const O=Ts(m);return s&&xn(O),O})(),Ke(b,_.value,N.value);function ce(){return[_.value,N.value,T.value,d.value,A.value]}const V=D.computed({get:()=>_.value,set:m=>{_.value=m,b.locale=_.value}}),re=D.computed({get:()=>N.value,set:m=>{N.value=m,b.fallbackLocale=N.value,Ke(b,_.value,m)}}),qe=D.computed(()=>T.value),Ze=D.computed(()=>d.value),Te=D.computed(()=>A.value);function ze(){return B(E)?E:null}function et(m){E=m,b.postTranslation=m}function tt(){return k}function nt(m){m!==null&&(f=Lr(m)),k=m,b.missing=f}function rt(m,O){return m!=="translate"||!O.resolvedMessage}const _e=(m,O,H,Z,Ce,vt)=>{ce();let Ye;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(b.fallbackContext=n?Ns():void 0),Ye=m(b)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(b.fallbackContext=void 0)}if(H!=="translate exists"&&q(Ye)&&Ye===Ot||H==="translate exists"&&!Ye){const[Me,Al]=O();if(process.env.NODE_ENV!=="production"&&n&&v(Me)&&rt(H,Al)&&(S&&(It(P,Me)||Bn(R,Me))&&z(le(J.FALLBACK_TO_ROOT,{key:Me,type:H})),process.env.NODE_ENV!=="production")){const{__v_emitter:Fr}=b;Fr&&S&&Fr.emit("fallback",{type:H,key:Me,to:"global",groupId:`${H}:${Me}`})}return n&&S?Z(n):Ce(Me)}else{if(vt(Ye))return Ye;throw ee(W.UNEXPECTED_RETURN_TYPE)}};function Ge(...m){return _e(O=>Reflect.apply(zn,null,[O,...m]),()=>Ut(...m),"translate",O=>Reflect.apply(O.t,O,[...m]),O=>O,O=>v(O))}function He(...m){const[O,H,Z]=m;if(Z&&!$(Z))throw ee(W.INVALID_ARGUMENT);return Ge(O,H,ne({resolvedMessage:!0},Z||{}))}function at(...m){return _e(O=>Reflect.apply(ar,null,[O,...m]),()=>wt(...m),"datetime format",O=>Reflect.apply(O.d,O,[...m]),()=>Lt,O=>v(O))}function st(...m){return _e(O=>Reflect.apply(or,null,[O,...m]),()=>Vt(...m),"number format",O=>Reflect.apply(O.n,O,[...m]),()=>Lt,O=>v(O))}function lt(m){return m.map(O=>v(O)||q(O)||w(O)?pr(String(O)):O)}const ot={normalize:lt,interpolate:m=>m,type:"vnode"};function xe(...m){return _e(O=>{let H;const Z=O;try{Z.processor=ot,H=Reflect.apply(zn,null,[Z,...m])}finally{Z.processor=null}return H},()=>Ut(...m),"translate",O=>O[Wt](...m),O=>[pr(O)],O=>K(O))}function it(...m){return _e(O=>Reflect.apply(or,null,[O,...m]),()=>Vt(...m),"number format",O=>O[Ht](...m),Tr,O=>v(O)||K(O))}function ct(...m){return _e(O=>Reflect.apply(ar,null,[O,...m]),()=>wt(...m),"datetime format",O=>O[Gt](...m),Tr,O=>v(O)||K(O))}function ut(m){C=m,b.pluralRules=C}function h(m,O){return _e(()=>{if(!m)return!1;const H=v(O)?O:_.value,Z=ye(H),Ce=b.messageResolver(Z,m);return o?Ce!=null:ue(Ce)||fe(Ce)||v(Ce)},()=>[m],"translate exists",H=>Reflect.apply(H.te,H,[m,O]),Hs,H=>w(H))}function G(m){let O=null;const H=Mn(b,N.value,_.value);for(let Z=0;Z<H.length;Z++){const Ce=T.value[H[Z]]||{},vt=b.messageResolver(Ce,m);if(vt!=null){O=vt;break}}return O}function ft(m){const O=G(m);return O??(n?n.tm(m)||{}:{})}function ye(m){return T.value[m]||{}}function _t(m,O){if(r){const H={[m]:O};for(const Z in H)de(H,Z)&&Je(H[Z]);O=H[m]}T.value[m]=O,b.messages=T.value}function Zt(m,O){T.value[m]=T.value[m]||{};const H={[m]:O};if(r)for(const Z in H)de(H,Z)&&Je(H[Z]);O=H[m],gt(O,T.value[m]),b.messages=T.value}function i(m){return d.value[m]||{}}function c(m,O){d.value[m]=O,b.datetimeFormats=d.value,lr(b,m,O)}function p(m,O){d.value[m]=ne(d.value[m]||{},O),b.datetimeFormats=d.value,lr(b,m,O)}function y(m){return A.value[m]||{}}function Q(m,O){A.value[m]=O,b.numberFormats=A.value,cr(b,m,O)}function j(m,O){A.value[m]=ne(A.value[m]||{},O),b.numberFormats=A.value,cr(b,m,O)}Or++,n&&me&&(D.watch(n.locale,m=>{u&&(_.value=m,b.locale=m,Ke(b,_.value,N.value))}),D.watch(n.fallbackLocale,m=>{u&&(N.value=m,b.fallbackLocale=m,Ke(b,_.value,N.value))}));const x={id:Or,locale:V,fallbackLocale:re,get inheritLocale(){return u},set inheritLocale(m){u=m,m&&n&&(_.value=n.locale.value,N.value=n.fallbackLocale.value,Ke(b,_.value,N.value))},get availableLocales(){return Object.keys(T.value).sort()},messages:qe,get modifiers(){return I},get pluralRules(){return C||{}},get isGlobal(){return s},get missingWarn(){return R},set missingWarn(m){R=m,b.missingWarn=R},get fallbackWarn(){return P},set fallbackWarn(m){P=m,b.fallbackWarn=P},get fallbackRoot(){return S},set fallbackRoot(m){S=m},get fallbackFormat(){return M},set fallbackFormat(m){M=m,b.fallbackFormat=M},get warnHtmlMessage(){return L},set warnHtmlMessage(m){L=m,b.warnHtmlMessage=m},get escapeParameter(){return g},set escapeParameter(m){g=m,b.escapeParameter=m},t:Ge,getLocaleMessage:ye,setLocaleMessage:_t,mergeLocaleMessage:Zt,getPostTranslationHandler:ze,setPostTranslationHandler:et,getMissingHandler:tt,setMissingHandler:nt,[mr]:ut};return x.datetimeFormats=Ze,x.numberFormats=Te,x.rt=He,x.te=h,x.tm=ft,x.d=at,x.n=st,x.getDateTimeFormat=i,x.setDateTimeFormat=c,x.mergeDateTimeFormat=p,x.getNumberFormat=y,x.setNumberFormat=Q,x.mergeNumberFormat=j,x[dr]=a,x[Wt]=xe,x[Gt]=ct,x[Ht]=it,process.env.NODE_ENV!=="production"&&(x[ke]=m=>{b.__v_emitter=m},x[Xe]=()=>{b.__v_emitter=void 0}),x}function Ys(e){const t=v(e.locale)?e.locale:Ve,n=v(e.fallbackLocale)||K(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,a=B(e.missing)?e.missing:void 0,s=w(e.silentTranslationWarn)||be(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=w(e.silentFallbackWarn)||be(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,l=w(e.fallbackRoot)?e.fallbackRoot:!0,o=!!e.formatFallbackMessages,u=U(e.modifiers)?e.modifiers:{},_=e.pluralizationRules,N=B(e.postTranslation)?e.postTranslation:void 0,T=v(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,A=w(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&z(le(J.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&z(le(J.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let R=e.messages;if(U(e.sharedMessages)){const g=e.sharedMessages;R=Object.keys(g).reduce((C,b)=>{const X=C[b]||(C[b]={});return ne(X,g[b]),C},R||{})}const{__i18n:P,__root:S,__injectWithOption:M}=e,k=e.datetimeFormats,f=e.numberFormats,E=e.flatJson,L=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:R,flatJson:E,datetimeFormats:k,numberFormats:f,missing:a,missingWarn:s,fallbackWarn:r,fallbackRoot:l,fallbackFormat:o,modifiers:u,pluralRules:_,postTranslation:N,warnHtmlMessage:T,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:A,translateExistCompatible:L,__i18n:P,__root:S,__injectWithOption:M}}function Bt(e={},t){{const n=Yt(Ys(e)),{__extender:a}=e,s={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&z(le(J.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(r){process.env.NODE_ENV!=="production"&&z(le(J.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return w(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=w(r)?!r:r},get silentFallbackWarn(){return w(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=w(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&z(le(J.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(r){process.env.NODE_ENV!=="production"&&z(le(J.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[l,o,u]=r,_={};let N=null,T=null;if(!v(l))throw ee(W.INVALID_ARGUMENT);const d=l;return v(o)?_.locale=o:K(o)?N=o:U(o)&&(T=o),K(u)?N=u:U(u)&&(T=u),Reflect.apply(n.t,n,[d,N||T||{},_])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[l,o,u]=r,_={plural:1};let N=null,T=null;if(!v(l))throw ee(W.INVALID_ARGUMENT);const d=l;return v(o)?_.locale=o:q(o)?_.plural=o:K(o)?N=o:U(o)&&(T=o),v(u)?_.locale=u:K(u)?N=u:U(u)&&(T=u),Reflect.apply(n.t,n,[d,N||T||{},_])},te(r,l){return n.te(r,l)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,l){n.setLocaleMessage(r,l)},mergeLocaleMessage(r,l){n.mergeLocaleMessage(r,l)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,l){n.setDateTimeFormat(r,l)},mergeDateTimeFormat(r,l){n.mergeDateTimeFormat(r,l)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,l){n.setNumberFormat(r,l)},mergeNumberFormat(r,l){n.mergeNumberFormat(r,l)},getChoiceIndex(r,l){return process.env.NODE_ENV!=="production"&&z(le(J.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return s.__extender=a,process.env.NODE_ENV!=="production"&&(s.__enableEmitter=r=>{const l=n;l[ke]&&l[ke](r)},s.__disableEmitter=()=>{const r=n;r[Xe]&&r[Xe]()}),s}}const jt={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Bs({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((a,s)=>[...a,...s.type===D.Fragment?s.children:[s]],[]):t.reduce((n,a)=>{const s=e[a];return s&&(n[a]=s()),n},Y())}function Ir(e){return D.Fragment}const Kt=D.defineComponent({name:"i18n-t",props:ne({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>q(e)||!isNaN(e)}},jt),setup(e,t){const{slots:n,attrs:a}=t,s=e.i18n||qt({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(T=>T!=="_"),l=Y();e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=v(e.plural)?+e.plural:e.plural);const o=Bs(t,r),u=s[Wt](e.keypath,o,l),_=ne(Y(),a),N=v(e.tag)||$(e.tag)?e.tag:Ir();return D.h(N,_,u)}}});function js(e){return K(e)&&!v(e[0])}function br(e,t,n,a){const{slots:s,attrs:r}=t;return()=>{const l={part:!0};let o=Y();e.locale&&(l.locale=e.locale),v(e.format)?l.key=e.format:$(e.format)&&(v(e.format.key)&&(l.key=e.format.key),o=Object.keys(e.format).reduce((d,A)=>n.includes(A)?ne(Y(),d,{[A]:e.format[A]}):d,Y()));const u=a(e.value,l,o);let _=[l.key];K(u)?_=u.map((d,A)=>{const R=s[d.type],P=R?R({[d.type]:d.value,index:A,parts:u}):[d.value];return js(P)&&(P[0].key=`${d.type}-${A}`),P}):v(u)&&(_=[u]);const N=ne(Y(),r),T=v(e.tag)||$(e.tag)?e.tag:Ir();return D.h(T,N,_)}}const hr=D.defineComponent({name:"i18n-n",props:ne({value:{type:Number,required:!0},format:{type:[String,Object]}},jt),setup(e,t){const n=e.i18n||qt({useScope:e.scope,__useComponent:!0});return br(e,t,ir,(...a)=>n[Ht](...a))}}),vr=D.defineComponent({name:"i18n-d",props:ne({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},jt),setup(e,t){const n=e.i18n||qt({useScope:e.scope,__useComponent:!0});return br(e,t,sr,(...a)=>n[Gt](...a))}});function Ks(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 Xs(e){const t=l=>{const{instance:o,modifiers:u,value:_}=l;if(!o||!o.$)throw ee(W.UNEXPECTED_ERROR);const N=Ks(e,o.$);process.env.NODE_ENV!=="production"&&u.preserve&&z(le(J.NOT_SUPPORTED_PRESERVE));const T=Ar(_);return[Reflect.apply(N.t,N,[...Cr(T)]),N]};return{created:(l,o)=>{const[u,_]=t(o);me&&e.global===_&&(l.__i18nWatcher=D.watch(_.locale,()=>{o.instance&&o.instance.$forceUpdate()})),l.__composer=_,l.textContent=u},unmounted:l=>{me&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:o})=>{if(l.__composer){const u=l.__composer,_=Ar(o);l.textContent=Reflect.apply(u.t,u,[...Cr(_)])}},getSSRProps:l=>{const[o]=t(l);return{textContent:o}}}}function Ar(e){if(v(e))return{path:e};if(U(e)){if(!("path"in e))throw ee(W.REQUIRED_VALUE,"path");return e}else throw ee(W.INVALID_VALUE)}function Cr(e){const{path:t,locale:n,args:a,choice:s,plural:r}=e,l={},o=a||{};return v(n)&&(l.locale=n),q(s)&&(l.plural=s),q(r)&&(l.plural=r),[t,o,l]}function Js(e,t,...n){const a=U(n[0])?n[0]:{},s=!!a.useI18nComponentName,r=w(a.globalInstall)?a.globalInstall:!0;process.env.NODE_ENV!=="production"&&r&&s&&z(le(J.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Kt.name})),r&&([s?"i18n":Kt.name,"I18nT"].forEach(l=>e.component(l,Kt)),[hr.name,"I18nN"].forEach(l=>e.component(l,hr)),[vr.name,"I18nD"].forEach(l=>e.component(l,vr))),e.directive("t",Xs(t))}const Xt={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},Qs={"vue-i18n-resource-inspector":"Search for scopes ..."},qs={"vue-i18n-timeline":16764185},Pr="vue-i18n: composer properties";let Jt;async function Zs(e,t){return new Promise((n,a)=>{try{ws({id:"vue-devtools-plugin-vue-i18n",label:Xt["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Pr],app:e},s=>{Jt=s,s.on.visitComponentTree(({componentInstance:l,treeNode:o})=>{zs(l,o,t)}),s.on.inspectComponent(({componentInstance:l,instanceData:o})=>{l.vnode.el&&l.vnode.el.__VUE_I18N__&&o&&(t.mode==="legacy"?l.vnode.el.__VUE_I18N__!==t.global.__composer&&Dr(o,l.vnode.el.__VUE_I18N__):Dr(o,l.vnode.el.__VUE_I18N__))}),s.addInspector({id:"vue-i18n-resource-inspector",label:Xt["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:Qs["vue-i18n-resource-inspector"]}),s.on.getInspectorTree(l=>{l.app===e&&l.inspectorId==="vue-i18n-resource-inspector"&&al(l,t)});const r=new Map;s.on.getInspectorState(async l=>{if(l.app===e&&l.inspectorId==="vue-i18n-resource-inspector")if(s.unhighlightElement(),ll(l,t),l.nodeId==="global"){if(!r.has(l.app)){const[o]=await s.getComponentInstances(l.app);r.set(l.app,o)}s.highlightElement(r.get(l.app))}else{const o=sl(l.nodeId,t);o&&s.highlightElement(o)}}),s.on.editInspectorState(l=>{l.app===e&&l.inspectorId==="vue-i18n-resource-inspector"&&il(l,t)}),s.addTimelineLayer({id:"vue-i18n-timeline",label:Xt["vue-i18n-timeline"],color:qs["vue-i18n-timeline"]}),n(!0)})}catch(s){console.error(s),a(!1)}})}function Sr(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function zs(e,t,n){const a=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==a){const s={label:`i18n (${Sr(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(s)}}function Dr(e,t){const n=Pr;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Qt(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Qt(e){const t={};return Object.keys(e).forEach(n=>{const a=e[n];B(a)&&"source"in a?t[n]=rl(a):ue(a)&&a.loc&&a.loc.source?t[n]=a.loc.source:$(a)?t[n]=Qt(a):t[n]=a}),t}const el={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function tl(e){return e.replace(/[<>"&]/g,nl)}function nl(e){return el[e]||e}function rl(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${tl(e.source)}")`:"(?)"}`}}}function al(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[a,s]of t.__instances){const r=t.mode==="composition"?s:s.__composer;n!==r&&e.rootNodes.push({id:r.id.toString(),label:`${Sr(a)} Scope`})}}function sl(e,t){let n=null;if(e!=="global"){for(const[a,s]of t.__instances.entries())if(s.id.toString()===e){n=a;break}}return n}function Rr(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(a=>a.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function ll(e,t){const n=Rr(e.nodeId,t);return n&&(e.state=ol(n)),null}function ol(e){const t={},n="Locale related info",a=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=a;const s="Locale messages info",r=[{type:s,key:"messages",editable:!1,value:Qt(e.messages.value)}];t[s]=r;{const l="Datetime formats info",o=[{type:l,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[l]=o;const u="Datetime formats info",_=[{type:u,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[u]=_}return t}function Qe(e,t){if(Jt){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Jt.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function il(e,t){const n=Rr(e.nodeId,t);if(n){const[a]=e.path;a==="locale"&&v(e.state.value)?n.locale.value=e.state.value:a==="fallbackLocale"&&(v(e.state.value)||K(e.state.value)||$(e.state.value))?n.fallbackLocale.value=e.state.value:a==="inheritLocale"&&w(e.state.value)&&(n.inheritLocale=e.state.value)}}function cl(e,t,n){return{beforeCreate(){const a=D.getCurrentInstance();if(!a)throw ee(W.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const r=s.i18n;if(s.__i18n&&(r.__i18n=s.__i18n),r.__root=t,this===this.$root)this.$i18n=kr(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Bt(r);const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=kr(e,s);else{this.$i18n=Bt({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&gr(t,s,s),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,l)=>this.$i18n.te(r,l),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(a,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const a=this.$i18n;this.$el.__VUE_I18N__=a.__composer;const s=this.__v_emitter=Ct();a.__enableEmitter&&a.__enableEmitter(s),s.on("*",Qe)}},unmounted(){const a=D.getCurrentInstance();if(!a)throw ee(W.UNEXPECTED_ERROR);const s=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Qe),delete this.__v_emitter),this.$i18n&&(s.__disableEmitter&&s.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(a),delete this.$i18n}}}function kr(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[mr](t.pluralizationRules||e.pluralizationRules);const n=bt(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(a=>e.mergeLocaleMessage(a,n[a])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a])),t.numberFormats&&Object.keys(t.numberFormats).forEach(a=>e.mergeNumberFormat(a,t.numberFormats[a])),e}const ul=pe("global-vue-i18n");function fl(e={},t){const n=__VUE_I18N_LEGACY_API__&&w(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,a=w(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,r=new Map,[l,o]=_l(e,n),u=pe(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&s&&z(le(J.NOTICE_DROP_ALLOW_COMPOSITION));function _(d){return r.get(d)||null}function N(d,A){r.set(d,A)}function T(d){r.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(A,...R){if(process.env.NODE_ENV!=="production"&&(A.__VUE_I18N__=d),A.__VUE_I18N_SYMBOL__=u,A.provide(A.__VUE_I18N_SYMBOL__,d),U(R[0])){const M=R[0];d.__composerExtend=M.__composerExtend,d.__vueI18nExtend=M.__vueI18nExtend}let P=null;!n&&a&&(P=Ll(A,d.global)),__VUE_I18N_FULL_INSTALL__&&Js(A,d,...R),__VUE_I18N_LEGACY_API__&&n&&A.mixin(cl(o,o.__composer,d));const S=A.unmount;if(A.unmount=()=>{P&&P(),d.dispose(),S()},process.env.NODE_ENV!=="production"){if(!await Zs(A,d))throw ee(W.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const k=Ct();if(n){const f=o;f.__enableEmitter&&f.__enableEmitter(k)}else{const f=o;f[ke]&&f[ke](k)}k.on("*",Qe)}},get global(){return o},dispose(){l.stop()},__instances:r,__getInstance:_,__setInstance:N,__deleteInstance:T};return d}}function qt(e={}){const t=D.getCurrentInstance();if(t==null)throw ee(W.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ee(W.NOT_INSTALLED);const n=ml(t),a=El(n),s=Er(t),r=dl(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ee(W.NOT_AVAILABLE_IN_LEGACY_MODE);return Tl(t,r,a,e)}if(r==="global")return gr(a,e,s),a;if(r==="parent"){let u=gl(n,t,e.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&z(le(J.NOT_FOUND_PARENT_SCOPE)),u=a),u}const l=n;let o=l.__getInstance(t);if(o==null){const u=ne({},e);"__i18n"in s&&(u.__i18n=s.__i18n),a&&(u.__root=a),o=Yt(u),l.__composerExtend&&(o[xt]=l.__composerExtend(o)),Nl(l,t,o),l.__setInstance(t,o)}return o}function _l(e,t,n){const a=D.effectScope();{const s=__VUE_I18N_LEGACY_API__&&t?a.run(()=>Bt(e)):a.run(()=>Yt(e));if(s==null)throw ee(W.UNEXPECTED_ERROR);return[a,s]}}function ml(e){{const t=D.inject(e.isCE?ul:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ee(e.isCE?W.NOT_INSTALLED_WITH_PROVIDE:W.UNEXPECTED_ERROR);return t}}function dl(e,t){return mt(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function El(e){return e.mode==="composition"?e.global:e.global.__composer}function gl(e,t,n=!1){let a=null;const s=t.root;let r=pl(t,n);for(;r!=null;){const l=e;if(e.mode==="composition")a=l.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const o=l.__getInstance(r);o!=null&&(a=o.__composer,n&&a&&!a[dr]&&(a=null))}if(a!=null||s===r)break;r=r.parent}return a}function pl(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Nl(e,t,n){let a=null;D.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,a=Ct();const s=n;s[ke]&&s[ke](a),a.on("*",Qe)}},t),D.onUnmounted(()=>{const s=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(a&&a.off("*",Qe),s[Xe]&&s[Xe](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const r=s[xt];r&&(r(),delete s[xt])},t)}function Tl(e,t,n,a={}){const s=t==="local",r=D.shallowRef(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ee(W.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=w(a.inheritLocale)?a.inheritLocale:!v(a.locale),o=D.ref(!s||l?n.locale.value:v(a.locale)?a.locale:Ve),u=D.ref(!s||l?n.fallbackLocale.value:v(a.fallbackLocale)||K(a.fallbackLocale)||U(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:o.value),_=D.ref(bt(o.value,a)),N=D.ref(U(a.datetimeFormats)?a.datetimeFormats:{[o.value]:{}}),T=D.ref(U(a.numberFormats)?a.numberFormats:{[o.value]:{}}),d=s?n.missingWarn:w(a.missingWarn)||be(a.missingWarn)?a.missingWarn:!0,A=s?n.fallbackWarn:w(a.fallbackWarn)||be(a.fallbackWarn)?a.fallbackWarn:!0,R=s?n.fallbackRoot:w(a.fallbackRoot)?a.fallbackRoot:!0,P=!!a.fallbackFormat,S=B(a.missing)?a.missing:null,M=B(a.postTranslation)?a.postTranslation:null,k=s?n.warnHtmlMessage:w(a.warnHtmlMessage)?a.warnHtmlMessage:!0,f=!!a.escapeParameter,E=s?n.modifiers:U(a.modifiers)?a.modifiers:{},L=a.pluralRules||s&&n.pluralRules;function g(){return[o.value,u.value,_.value,N.value,T.value]}const I=D.computed({get:()=>r.value?r.value.locale.value:o.value,set:h=>{r.value&&(r.value.locale.value=h),o.value=h}}),C=D.computed({get:()=>r.value?r.value.fallbackLocale.value:u.value,set:h=>{r.value&&(r.value.fallbackLocale.value=h),u.value=h}}),b=D.computed(()=>r.value?r.value.messages.value:_.value),X=D.computed(()=>N.value),ce=D.computed(()=>T.value);function V(){return r.value?r.value.getPostTranslationHandler():M}function re(h){r.value&&r.value.setPostTranslationHandler(h)}function qe(){return r.value?r.value.getMissingHandler():S}function Ze(h){r.value&&r.value.setMissingHandler(h)}function Te(h){return g(),h()}function ze(...h){return r.value?Te(()=>Reflect.apply(r.value.t,null,[...h])):Te(()=>"")}function et(...h){return r.value?Reflect.apply(r.value.rt,null,[...h]):""}function tt(...h){return r.value?Te(()=>Reflect.apply(r.value.d,null,[...h])):Te(()=>"")}function nt(...h){return r.value?Te(()=>Reflect.apply(r.value.n,null,[...h])):Te(()=>"")}function rt(h){return r.value?r.value.tm(h):{}}function _e(h,G){return r.value?r.value.te(h,G):!1}function Ge(h){return r.value?r.value.getLocaleMessage(h):{}}function He(h,G){r.value&&(r.value.setLocaleMessage(h,G),_.value[h]=G)}function at(h,G){r.value&&r.value.mergeLocaleMessage(h,G)}function st(h){return r.value?r.value.getDateTimeFormat(h):{}}function lt(h,G){r.value&&(r.value.setDateTimeFormat(h,G),N.value[h]=G)}function ht(h,G){r.value&&r.value.mergeDateTimeFormat(h,G)}function ot(h){return r.value?r.value.getNumberFormat(h):{}}function xe(h,G){r.value&&(r.value.setNumberFormat(h,G),T.value[h]=G)}function it(h,G){r.value&&r.value.mergeNumberFormat(h,G)}const ct={get id(){return r.value?r.value.id:-1},locale:I,fallbackLocale:C,messages:b,datetimeFormats:X,numberFormats:ce,get inheritLocale(){return r.value?r.value.inheritLocale:l},set inheritLocale(h){r.value&&(r.value.inheritLocale=h)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(_.value)},get modifiers(){return r.value?r.value.modifiers:E},get pluralRules(){return r.value?r.value.pluralRules:L},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:d},set missingWarn(h){r.value&&(r.value.missingWarn=h)},get fallbackWarn(){return r.value?r.value.fallbackWarn:A},set fallbackWarn(h){r.value&&(r.value.missingWarn=h)},get fallbackRoot(){return r.value?r.value.fallbackRoot:R},set fallbackRoot(h){r.value&&(r.value.fallbackRoot=h)},get fallbackFormat(){return r.value?r.value.fallbackFormat:P},set fallbackFormat(h){r.value&&(r.value.fallbackFormat=h)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:k},set warnHtmlMessage(h){r.value&&(r.value.warnHtmlMessage=h)},get escapeParameter(){return r.value?r.value.escapeParameter:f},set escapeParameter(h){r.value&&(r.value.escapeParameter=h)},t:ze,getPostTranslationHandler:V,setPostTranslationHandler:re,getMissingHandler:qe,setMissingHandler:Ze,rt:et,d:tt,n:nt,tm:rt,te:_e,getLocaleMessage:Ge,setLocaleMessage:He,mergeLocaleMessage:at,getDateTimeFormat:st,setDateTimeFormat:lt,mergeDateTimeFormat:ht,getNumberFormat:ot,setNumberFormat:xe,mergeNumberFormat:it};function ut(h){h.locale.value=o.value,h.fallbackLocale.value=u.value,Object.keys(_.value).forEach(G=>{h.mergeLocaleMessage(G,_.value[G])}),Object.keys(N.value).forEach(G=>{h.mergeDateTimeFormat(G,N.value[G])}),Object.keys(T.value).forEach(G=>{h.mergeNumberFormat(G,T.value[G])}),h.escapeParameter=f,h.fallbackFormat=P,h.fallbackRoot=R,h.fallbackWarn=A,h.missingWarn=d,h.warnHtmlMessage=k}return D.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ee(W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const h=r.value=e.proxy.$i18n.__composer;t==="global"?(o.value=h.locale.value,u.value=h.fallbackLocale.value,_.value=h.messages.value,N.value=h.datetimeFormats.value,T.value=h.numberFormats.value):s&&ut(h)}),ct}const Ol=["locale","fallbackLocale","availableLocales"],yr=["t","rt","d","n","tm","te"];function Ll(e,t){const n=Object.create(null);return Ol.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw ee(W.UNEXPECTED_ERROR);const l=D.isRef(r.value)?{get(){return r.value.value},set(o){r.value.value=o}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,s,l)}),e.config.globalProperties.$i18n=n,yr.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw ee(W.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,yr.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if($s(),__INTLIFY_JIT_COMPILATION__?Vn(hs):Vn(bs),ds(Xa),Es(Mn),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Oe();e.__INTLIFY__=!0,rs(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Il={simpleButton:{clickMe:"点击我",clicked:"已点击 {count} 次"},simpleCard:{title:"简单卡片",content:"这是一个简单的卡片组件"}},bl={simpleButton:{clickMe:"Click Me",clicked:"Clicked {count} times"},simpleCard:{title:"Simple Card",content:"This is a simple card component"}},hl=[tn,rn],Mr=e=>{hl.forEach(s=>{e.use(s)});const t=fl({legacy:!1,locale:"zh_CN",fallbackLocale:"zh_CN",messages:{zh_CN:Il,en_US:bl}});e.use(t),t.global.locale.value="zh_CN",Object.assign(t,{switchLocale:s=>{t.global.locale.value=s},mergeLocaleMessage:(s,r)=>{t.global.mergeLocaleMessage(s,r)}})},vl={install:Mr};ge.SimpleButton=tn,ge.SimpleCard=rn,ge.default=vl,ge.install=Mr,Object.defineProperties(ge,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
23
+ */const ds="9.14.0";function Es(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ne().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ne().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ne().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ne().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ne().__INTLIFY_PROD_DEVTOOLS__=!1)}const Jn=ae.__EXTEND_POINT__,Te=ft(Jn),K={FALLBACK_TO_ROOT:Jn,NOT_SUPPORTED_PRESERVE:Te(),NOT_SUPPORTED_FORMATTER:Te(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Te(),NOT_SUPPORTED_GET_CHOICE_INDEX:Te(),COMPONENT_NAME_LEGACY_COMPATIBLE:Te(),NOT_FOUND_PARENT_SCOPE:Te(),IGNORE_OBJ_FLATTEN:Te(),NOTICE_DROP_ALLOW_COMPOSITION:Te(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Te()},gs={[K.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[K.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[K.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[K.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[K.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[K.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[K.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[K.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[K.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[K.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function se(e,...t){return It(gs[e],...t)}const Qn=ee.__EXTEND_POINT__,le=ft(Qn),V={UNEXPECTED_RETURN_TYPE:Qn,INVALID_ARGUMENT:le(),MUST_BE_CALL_SETUP_TOP:le(),NOT_INSTALLED:le(),NOT_AVAILABLE_IN_LEGACY_MODE:le(),REQUIRED_VALUE:le(),INVALID_VALUE:le(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:le(),NOT_INSTALLED_WITH_PROVIDE:le(),UNEXPECTED_ERROR:le(),NOT_COMPATIBLE_LEGACY_VUE_I18N:le(),BRIDGE_SUPPORT_VUE_2_ONLY:le(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:le(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:le(),__EXTEND_POINT__:le()};function z(e,...t){return Re(e,null,process.env.NODE_ENV!=="production"?{messages:Ns,args:t}:void 0)}const Ns={[V.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[V.INVALID_ARGUMENT]:"Invalid argument",[V.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[V.NOT_INSTALLED]:"Need to install with `app.use` function",[V.UNEXPECTED_ERROR]:"Unexpected error",[V.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[V.REQUIRED_VALUE]:"Required in value: {0}",[V.INVALID_VALUE]:"Invalid value",[V.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[V.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[V.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[V.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[V.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[V.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Mt=de("__translateVNode"),Ft=de("__datetimeParts"),Ut=de("__numberParts"),Pe=de("__enableEmitter"),Ye=de("__disableEmitter"),qn=de("__setPluralRules"),Zn=de("__injectWithOption"),wt=de("__dispose");function Be(e){if(!W(e))return e;for(const t in e)if(ut(e,t))if(!t.includes("."))W(e[t])&&Be(e[t]);else{const n=t.split("."),a=n.length-1;let s=e,r=!1;for(let l=0;l<a;l++){if(n[l]in s||(s[n[l]]={}),!W(s[n[l]])){process.env.NODE_ENV!=="production"&&Z(se(K.IGNORE_OBJ_FLATTEN,{key:n[l]})),r=!0;break}s=s[n[l]]}r||(s[n[a]]=e[t],delete e[t]),W(s[n[a]])&&Be(s[n[a]])}return e}function Tt(e,t){const{messages:n,__i18n:a,messageResolver:s,flatJson:r}=t,l=U(n)?n:j(a)?{}:{[e]:{}};if(j(a)&&a.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:u,resource:_}=i;u?(l[u]=l[u]||{},mt(_,l[u])):mt(_,l)}else v(i)&&mt(JSON.parse(i),l)}),s==null&&r)for(const i in l)ut(l,i)&&Be(l[i]);return l}function zn(e){return e.type}function er(e,t,n){let a=W(t.messages)?t.messages:{};"__i18nGlobal"in n&&(a=Tt(e.locale.value,{messages:a,__i18n:n.__i18nGlobal}));const s=Object.keys(a);s.length&&s.forEach(r=>{e.mergeLocaleMessage(r,a[r])});{if(W(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(W(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function tr(e){return D.createVNode(D.Text,null,e,0)}const nr="__INTLIFY_META__",rr=()=>[],ps=()=>!1;let ar=0;function sr(e){return(t,n,a,s)=>e(n,a,D.getCurrentInstance()||void 0,s)}const Ts=()=>{const e=D.getCurrentInstance();let t=null;return e&&(t=zn(e)[nr])?{[nr]:t}:null};function Vt(e={},t){const{__root:n,__injectWithOption:a}=e,s=n===void 0,r=e.flatJson,l=fe?D.ref:D.shallowRef,i=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&i&&an(se(K.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let u=w(e.inheritLocale)?e.inheritLocale:!0;const _=l(n&&u?n.locale.value:v(e.locale)?e.locale:Fe),p=l(n&&u?n.fallbackLocale.value:v(e.fallbackLocale)||j(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:_.value),T=l(Tt(_.value,e)),d=l(U(e.datetimeFormats)?e.datetimeFormats:{[_.value]:{}}),C=l(U(e.numberFormats)?e.numberFormats:{[_.value]:{}});let k=n?n.missingWarn:w(e.missingWarn)||Oe(e.missingWarn)?e.missingWarn:!0,S=n?n.fallbackWarn:w(e.fallbackWarn)||Oe(e.fallbackWarn)?e.fallbackWarn:!0,P=n?n.fallbackRoot:w(e.fallbackRoot)?e.fallbackRoot:!0,M=!!e.fallbackFormat,R=Y(e.missing)?e.missing:null,f=Y(e.missing)?sr(e.missing):null,E=Y(e.postTranslation)?e.postTranslation:null,L=n?n.warnHtmlMessage:w(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const I=n?n.modifiers:U(e.modifiers)?e.modifiers:{};let A=e.pluralRules||n&&n.pluralRules,b;b=(()=>{s&&An(null);const m={version:ds,locale:_.value,fallbackLocale:p.value,messages:T.value,modifiers:I,pluralRules:A,missing:f===null?void 0:f,missingWarn:k,fallbackWarn:S,fallbackFormat:M,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:L,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};m.datetimeFormats=d.value,m.numberFormats=C.value,m.__datetimeFormatters=U(b)?b.__datetimeFormatters:void 0,m.__numberFormatters=U(b)?b.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(m.__v_emitter=U(b)?b.__v_emitter:void 0);const O=Ja(m);return s&&An(O),O})(),He(b,_.value,p.value);function ie(){return[_.value,p.value,T.value,d.value,C.value]}const $=D.computed({get:()=>_.value,set:m=>{_.value=m,b.locale=_.value}}),ne=D.computed({get:()=>p.value,set:m=>{p.value=m,b.fallbackLocale=p.value,He(b,_.value,m)}}),Xe=D.computed(()=>T.value),Ke=D.computed(()=>d.value),ge=D.computed(()=>C.value);function Je(){return Y(E)?E:null}function Qe(m){E=m,b.postTranslation=m}function qe(){return R}function Ze(m){m!==null&&(f=sr(m)),R=m,b.missing=f}function ze(m,O){return m!=="translate"||!O.resolvedMessage}const ue=(m,O,x,Q,he,Lt)=>{ie();let Ge;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(b.fallbackContext=n?Ka():void 0),Ge=m(b)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(b.fallbackContext=void 0)}if(x!=="translate exists"&&q(Ge)&&Ge===gt||x==="translate exists"&&!Ge){const[ke,nl]=O();if(process.env.NODE_ENV!=="production"&&n&&v(ke)&&ze(x,nl)&&(P&&(pt(S,ke)||Pn(k,ke))&&Z(se(K.FALLBACK_TO_ROOT,{key:ke,type:x})),process.env.NODE_ENV!=="production")){const{__v_emitter:Tr}=b;Tr&&P&&Tr.emit("fallback",{type:x,key:ke,to:"global",groupId:`${x}:${ke}`})}return n&&P?Q(n):he(ke)}else{if(Lt(Ge))return Ge;throw z(V.UNEXPECTED_RETURN_TYPE)}};function Ve(...m){return ue(O=>Reflect.apply(wn,null,[O,...m]),()=>Dt(...m),"translate",O=>Reflect.apply(O.t,O,[...m]),O=>O,O=>v(O))}function $e(...m){const[O,x,Q]=m;if(Q&&!W(Q))throw z(V.INVALID_ARGUMENT);return Ve(O,x,te({resolvedMessage:!0},Q||{}))}function et(...m){return ue(O=>Reflect.apply(xn,null,[O,...m]),()=>kt(...m),"datetime format",O=>Reflect.apply(O.d,O,[...m]),()=>Nt,O=>v(O))}function tt(...m){return ue(O=>Reflect.apply(Bn,null,[O,...m]),()=>Rt(...m),"number format",O=>Reflect.apply(O.n,O,[...m]),()=>Nt,O=>v(O))}function nt(m){return m.map(O=>v(O)||q(O)||w(O)?tr(String(O)):O)}const rt={normalize:nt,interpolate:m=>m,type:"vnode"};function We(...m){return ue(O=>{let x;const Q=O;try{Q.processor=rt,x=Reflect.apply(wn,null,[Q,...m])}finally{Q.processor=null}return x},()=>Dt(...m),"translate",O=>O[Mt](...m),O=>[tr(O)],O=>j(O))}function at(...m){return ue(O=>Reflect.apply(Bn,null,[O,...m]),()=>Rt(...m),"number format",O=>O[Ut](...m),rr,O=>v(O)||j(O))}function st(...m){return ue(O=>Reflect.apply(xn,null,[O,...m]),()=>kt(...m),"datetime format",O=>O[Ft](...m),rr,O=>v(O)||j(O))}function lt(m){A=m,b.pluralRules=A}function h(m,O){return ue(()=>{if(!m)return!1;const x=v(O)?O:_.value,Q=De(x),he=b.messageResolver(Q,m);return i?he!=null:be(he)||ce(he)||v(he)},()=>[m],"translate exists",x=>Reflect.apply(x.te,x,[m,O]),ps,x=>w(x))}function G(m){let O=null;const x=pn(b,p.value,_.value);for(let Q=0;Q<x.length;Q++){const he=T.value[x[Q]]||{},Lt=b.messageResolver(he,m);if(Lt!=null){O=Lt;break}}return O}function ot(m){const O=G(m);return O??(n?n.tm(m)||{}:{})}function De(m){return T.value[m]||{}}function it(m,O){if(r){const x={[m]:O};for(const Q in x)ut(x,Q)&&Be(x[Q]);O=x[m]}T.value[m]=O,b.messages=T.value}function jt(m,O){T.value[m]=T.value[m]||{};const x={[m]:O};if(r)for(const Q in x)ut(x,Q)&&Be(x[Q]);O=x[m],mt(O,T.value[m]),b.messages=T.value}function o(m){return d.value[m]||{}}function c(m,O){d.value[m]=O,b.datetimeFormats=d.value,Yn(b,m,O)}function N(m,O){d.value[m]=te(d.value[m]||{},O),b.datetimeFormats=d.value,Yn(b,m,O)}function y(m){return C.value[m]||{}}function J(m,O){C.value[m]=O,b.numberFormats=C.value,Xn(b,m,O)}function B(m,O){C.value[m]=te(C.value[m]||{},O),b.numberFormats=C.value,Xn(b,m,O)}ar++,n&&fe&&(D.watch(n.locale,m=>{u&&(_.value=m,b.locale=m,He(b,_.value,p.value))}),D.watch(n.fallbackLocale,m=>{u&&(p.value=m,b.fallbackLocale=m,He(b,_.value,p.value))}));const H={id:ar,locale:$,fallbackLocale:ne,get inheritLocale(){return u},set inheritLocale(m){u=m,m&&n&&(_.value=n.locale.value,p.value=n.fallbackLocale.value,He(b,_.value,p.value))},get availableLocales(){return Object.keys(T.value).sort()},messages:Xe,get modifiers(){return I},get pluralRules(){return A||{}},get isGlobal(){return s},get missingWarn(){return k},set missingWarn(m){k=m,b.missingWarn=k},get fallbackWarn(){return S},set fallbackWarn(m){S=m,b.fallbackWarn=S},get fallbackRoot(){return P},set fallbackRoot(m){P=m},get fallbackFormat(){return M},set fallbackFormat(m){M=m,b.fallbackFormat=M},get warnHtmlMessage(){return L},set warnHtmlMessage(m){L=m,b.warnHtmlMessage=m},get escapeParameter(){return g},set escapeParameter(m){g=m,b.escapeParameter=m},t:Ve,getLocaleMessage:De,setLocaleMessage:it,mergeLocaleMessage:jt,getPostTranslationHandler:Je,setPostTranslationHandler:Qe,getMissingHandler:qe,setMissingHandler:Ze,[qn]:lt};return H.datetimeFormats=Ke,H.numberFormats=ge,H.rt=$e,H.te=h,H.tm=ot,H.d=et,H.n=tt,H.getDateTimeFormat=o,H.setDateTimeFormat=c,H.mergeDateTimeFormat=N,H.getNumberFormat=y,H.setNumberFormat=J,H.mergeNumberFormat=B,H[Zn]=a,H[Mt]=We,H[Ft]=st,H[Ut]=at,process.env.NODE_ENV!=="production"&&(H[Pe]=m=>{b.__v_emitter=m},H[Ye]=()=>{b.__v_emitter=void 0}),H}function Os(e){const t=v(e.locale)?e.locale:Fe,n=v(e.fallbackLocale)||j(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,a=Y(e.missing)?e.missing:void 0,s=w(e.silentTranslationWarn)||Oe(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=w(e.silentFallbackWarn)||Oe(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,l=w(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,u=U(e.modifiers)?e.modifiers:{},_=e.pluralizationRules,p=Y(e.postTranslation)?e.postTranslation:void 0,T=v(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,C=w(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Z(se(K.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Z(se(K.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let k=e.messages;if(U(e.sharedMessages)){const g=e.sharedMessages;k=Object.keys(g).reduce((A,b)=>{const X=A[b]||(A[b]={});return te(X,g[b]),A},k||{})}const{__i18n:S,__root:P,__injectWithOption:M}=e,R=e.datetimeFormats,f=e.numberFormats,E=e.flatJson,L=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:k,flatJson:E,datetimeFormats:R,numberFormats:f,missing:a,missingWarn:s,fallbackWarn:r,fallbackRoot:l,fallbackFormat:i,modifiers:u,pluralRules:_,postTranslation:p,warnHtmlMessage:T,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:C,translateExistCompatible:L,__i18n:S,__root:P,__injectWithOption:M}}function $t(e={},t){{const n=Vt(Os(e)),{__extender:a}=e,s={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Z(se(K.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(r){process.env.NODE_ENV!=="production"&&Z(se(K.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return w(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=w(r)?!r:r},get silentFallbackWarn(){return w(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=w(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Z(se(K.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(r){process.env.NODE_ENV!=="production"&&Z(se(K.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[l,i,u]=r,_={};let p=null,T=null;if(!v(l))throw z(V.INVALID_ARGUMENT);const d=l;return v(i)?_.locale=i:j(i)?p=i:U(i)&&(T=i),j(u)?p=u:U(u)&&(T=u),Reflect.apply(n.t,n,[d,p||T||{},_])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[l,i,u]=r,_={plural:1};let p=null,T=null;if(!v(l))throw z(V.INVALID_ARGUMENT);const d=l;return v(i)?_.locale=i:q(i)?_.plural=i:j(i)?p=i:U(i)&&(T=i),v(u)?_.locale=u:j(u)?p=u:U(u)&&(T=u),Reflect.apply(n.t,n,[d,p||T||{},_])},te(r,l){return n.te(r,l)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,l){n.setLocaleMessage(r,l)},mergeLocaleMessage(r,l){n.mergeLocaleMessage(r,l)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,l){n.setDateTimeFormat(r,l)},mergeDateTimeFormat(r,l){n.mergeDateTimeFormat(r,l)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,l){n.setNumberFormat(r,l)},mergeNumberFormat(r,l){n.mergeNumberFormat(r,l)},getChoiceIndex(r,l){return process.env.NODE_ENV!=="production"&&Z(se(K.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return s.__extender=a,process.env.NODE_ENV!=="production"&&(s.__enableEmitter=r=>{const l=n;l[Pe]&&l[Pe](r)},s.__disableEmitter=()=>{const r=n;r[Ye]&&r[Ye]()}),s}}const Wt={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ls({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((a,s)=>[...a,...s.type===D.Fragment?s.children:[s]],[]):t.reduce((n,a)=>{const s=e[a];return s&&(n[a]=s()),n},{})}function lr(e){return D.Fragment}const Gt=D.defineComponent({name:"i18n-t",props:te({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>q(e)||!isNaN(e)}},Wt),setup(e,t){const{slots:n,attrs:a}=t,s=e.i18n||Bt({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(T=>T!=="_"),l={};e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=v(e.plural)?+e.plural:e.plural);const i=Ls(t,r),u=s[Mt](e.keypath,i,l),_=te({},a),p=v(e.tag)||W(e.tag)?e.tag:lr();return D.h(p,_,u)}}});function Is(e){return j(e)&&!v(e[0])}function or(e,t,n,a){const{slots:s,attrs:r}=t;return()=>{const l={part:!0};let i={};e.locale&&(l.locale=e.locale),v(e.format)?l.key=e.format:W(e.format)&&(v(e.format.key)&&(l.key=e.format.key),i=Object.keys(e.format).reduce((d,C)=>n.includes(C)?te({},d,{[C]:e.format[C]}):d,{}));const u=a(e.value,l,i);let _=[l.key];j(u)?_=u.map((d,C)=>{const k=s[d.type],S=k?k({[d.type]:d.value,index:C,parts:u}):[d.value];return Is(S)&&(S[0].key=`${d.type}-${C}`),S}):v(u)&&(_=[u]);const p=te({},r),T=v(e.tag)||W(e.tag)?e.tag:lr();return D.h(T,p,_)}}const ir=D.defineComponent({name:"i18n-n",props:te({value:{type:Number,required:!0},format:{type:[String,Object]}},Wt),setup(e,t){const n=e.i18n||Bt({useScope:e.scope,__useComponent:!0});return or(e,t,jn,(...a)=>n[Ut](...a))}}),cr=D.defineComponent({name:"i18n-d",props:te({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Wt),setup(e,t){const n=e.i18n||Bt({useScope:e.scope,__useComponent:!0});return or(e,t,Hn,(...a)=>n[Ft](...a))}});function bs(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 hs(e){const t=l=>{const{instance:i,modifiers:u,value:_}=l;if(!i||!i.$)throw z(V.UNEXPECTED_ERROR);const p=bs(e,i.$);process.env.NODE_ENV!=="production"&&u.preserve&&Z(se(K.NOT_SUPPORTED_PRESERVE));const T=ur(_);return[Reflect.apply(p.t,p,[...fr(T)]),p]};return{created:(l,i)=>{const[u,_]=t(i);fe&&e.global===_&&(l.__i18nWatcher=D.watch(_.locale,()=>{i.instance&&i.instance.$forceUpdate()})),l.__composer=_,l.textContent=u},unmounted:l=>{fe&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:i})=>{if(l.__composer){const u=l.__composer,_=ur(i);l.textContent=Reflect.apply(u.t,u,[...fr(_)])}},getSSRProps:l=>{const[i]=t(l);return{textContent:i}}}}function ur(e){if(v(e))return{path:e};if(U(e)){if(!("path"in e))throw z(V.REQUIRED_VALUE,"path");return e}else throw z(V.INVALID_VALUE)}function fr(e){const{path:t,locale:n,args:a,choice:s,plural:r}=e,l={},i=a||{};return v(n)&&(l.locale=n),q(s)&&(l.plural=s),q(r)&&(l.plural=r),[t,i,l]}function vs(e,t,...n){const a=U(n[0])?n[0]:{},s=!!a.useI18nComponentName,r=w(a.globalInstall)?a.globalInstall:!0;process.env.NODE_ENV!=="production"&&r&&s&&Z(se(K.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Gt.name})),r&&([s?"i18n":Gt.name,"I18nT"].forEach(l=>e.component(l,Gt)),[ir.name,"I18nN"].forEach(l=>e.component(l,ir)),[cr.name,"I18nD"].forEach(l=>e.component(l,cr))),e.directive("t",hs(t))}const xt={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},Cs={"vue-i18n-resource-inspector":"Search for scopes ..."},As={"vue-i18n-timeline":16764185},_r="vue-i18n: composer properties";let Ht;async function Ss(e,t){return new Promise((n,a)=>{try{ms({id:"vue-devtools-plugin-vue-i18n",label:xt["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[_r],app:e},s=>{Ht=s,s.on.visitComponentTree(({componentInstance:l,treeNode:i})=>{Ps(l,i,t)}),s.on.inspectComponent(({componentInstance:l,instanceData:i})=>{l.vnode.el&&l.vnode.el.__VUE_I18N__&&i&&(t.mode==="legacy"?l.vnode.el.__VUE_I18N__!==t.global.__composer&&dr(i,l.vnode.el.__VUE_I18N__):dr(i,l.vnode.el.__VUE_I18N__))}),s.addInspector({id:"vue-i18n-resource-inspector",label:xt["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:Cs["vue-i18n-resource-inspector"]}),s.on.getInspectorTree(l=>{l.app===e&&l.inspectorId==="vue-i18n-resource-inspector"&&Ms(l,t)});const r=new Map;s.on.getInspectorState(async l=>{if(l.app===e&&l.inspectorId==="vue-i18n-resource-inspector")if(s.unhighlightElement(),Us(l,t),l.nodeId==="global"){if(!r.has(l.app)){const[i]=await s.getComponentInstances(l.app);r.set(l.app,i)}s.highlightElement(r.get(l.app))}else{const i=Fs(l.nodeId,t);i&&s.highlightElement(i)}}),s.on.editInspectorState(l=>{l.app===e&&l.inspectorId==="vue-i18n-resource-inspector"&&Vs(l,t)}),s.addTimelineLayer({id:"vue-i18n-timeline",label:xt["vue-i18n-timeline"],color:As["vue-i18n-timeline"]}),n(!0)})}catch(s){console.error(s),a(!1)}})}function mr(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function Ps(e,t,n){const a=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==a){const s={label:`i18n (${mr(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(s)}}function dr(e,t){const n=_r;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Yt(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Yt(e){const t={};return Object.keys(e).forEach(n=>{const a=e[n];Y(a)&&"source"in a?t[n]=ys(a):be(a)&&a.loc&&a.loc.source?t[n]=a.loc.source:W(a)?t[n]=Yt(a):t[n]=a}),t}const Ds={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function ks(e){return e.replace(/[<>"&]/g,Rs)}function Rs(e){return Ds[e]||e}function ys(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${ks(e.source)}")`:"(?)"}`}}}function Ms(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[a,s]of t.__instances){const r=t.mode==="composition"?s:s.__composer;n!==r&&e.rootNodes.push({id:r.id.toString(),label:`${mr(a)} Scope`})}}function Fs(e,t){let n=null;if(e!=="global"){for(const[a,s]of t.__instances.entries())if(s.id.toString()===e){n=a;break}}return n}function Er(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(a=>a.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function Us(e,t){const n=Er(e.nodeId,t);return n&&(e.state=ws(n)),null}function ws(e){const t={},n="Locale related info",a=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=a;const s="Locale messages info",r=[{type:s,key:"messages",editable:!1,value:Yt(e.messages.value)}];t[s]=r;{const l="Datetime formats info",i=[{type:l,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[l]=i;const u="Datetime formats info",_=[{type:u,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[u]=_}return t}function je(e,t){if(Ht){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Ht.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function Vs(e,t){const n=Er(e.nodeId,t);if(n){const[a]=e.path;a==="locale"&&v(e.state.value)?n.locale.value=e.state.value:a==="fallbackLocale"&&(v(e.state.value)||j(e.state.value)||W(e.state.value))?n.fallbackLocale.value=e.state.value:a==="inheritLocale"&&w(e.state.value)&&(n.inheritLocale=e.state.value)}}function $s(e,t,n){return{beforeCreate(){const a=D.getCurrentInstance();if(!a)throw z(V.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const r=s.i18n;if(s.__i18n&&(r.__i18n=s.__i18n),r.__root=t,this===this.$root)this.$i18n=gr(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=$t(r);const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=gr(e,s);else{this.$i18n=$t({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&er(t,s,s),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,l)=>this.$i18n.te(r,l),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(a,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const a=this.$i18n;this.$el.__VUE_I18N__=a.__composer;const s=this.__v_emitter=bt();a.__enableEmitter&&a.__enableEmitter(s),s.on("*",je)}},unmounted(){const a=D.getCurrentInstance();if(!a)throw z(V.UNEXPECTED_ERROR);const s=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",je),delete this.__v_emitter),this.$i18n&&(s.__disableEmitter&&s.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(a),delete this.$i18n}}}function gr(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[qn](t.pluralizationRules||e.pluralizationRules);const n=Tt(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(a=>e.mergeLocaleMessage(a,n[a])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a])),t.numberFormats&&Object.keys(t.numberFormats).forEach(a=>e.mergeNumberFormat(a,t.numberFormats[a])),e}const Ws=de("global-vue-i18n");function Gs(e={},t){const n=__VUE_I18N_LEGACY_API__&&w(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,a=w(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,r=new Map,[l,i]=xs(e,n),u=de(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&s&&Z(se(K.NOTICE_DROP_ALLOW_COMPOSITION));function _(d){return r.get(d)||null}function p(d,C){r.set(d,C)}function T(d){r.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(C,...k){if(process.env.NODE_ENV!=="production"&&(C.__VUE_I18N__=d),C.__VUE_I18N_SYMBOL__=u,C.provide(C.__VUE_I18N_SYMBOL__,d),U(k[0])){const M=k[0];d.__composerExtend=M.__composerExtend,d.__vueI18nExtend=M.__vueI18nExtend}let S=null;!n&&a&&(S=qs(C,d.global)),__VUE_I18N_FULL_INSTALL__&&vs(C,d,...k),__VUE_I18N_LEGACY_API__&&n&&C.mixin($s(i,i.__composer,d));const P=C.unmount;if(C.unmount=()=>{S&&S(),d.dispose(),P()},process.env.NODE_ENV!=="production"){if(!await Ss(C,d))throw z(V.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const R=bt();if(n){const f=i;f.__enableEmitter&&f.__enableEmitter(R)}else{const f=i;f[Pe]&&f[Pe](R)}R.on("*",je)}},get global(){return i},dispose(){l.stop()},__instances:r,__getInstance:_,__setInstance:p,__deleteInstance:T};return d}}function Bt(e={}){const t=D.getCurrentInstance();if(t==null)throw z(V.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw z(V.NOT_INSTALLED);const n=Hs(t),a=Bs(n),s=zn(t),r=Ys(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw z(V.NOT_AVAILABLE_IN_LEGACY_MODE);return Js(t,r,a,e)}if(r==="global")return er(a,e,s),a;if(r==="parent"){let u=js(n,t,e.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&Z(se(K.NOT_FOUND_PARENT_SCOPE)),u=a),u}const l=n;let i=l.__getInstance(t);if(i==null){const u=te({},e);"__i18n"in s&&(u.__i18n=s.__i18n),a&&(u.__root=a),i=Vt(u),l.__composerExtend&&(i[wt]=l.__composerExtend(i)),Ks(l,t,i),l.__setInstance(t,i)}return i}function xs(e,t,n){const a=D.effectScope();{const s=__VUE_I18N_LEGACY_API__&&t?a.run(()=>$t(e)):a.run(()=>Vt(e));if(s==null)throw z(V.UNEXPECTED_ERROR);return[a,s]}}function Hs(e){{const t=D.inject(e.isCE?Ws:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw z(e.isCE?V.NOT_INSTALLED_WITH_PROVIDE:V.UNEXPECTED_ERROR);return t}}function Ys(e,t){return ct(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Bs(e){return e.mode==="composition"?e.global:e.global.__composer}function js(e,t,n=!1){let a=null;const s=t.root;let r=Xs(t,n);for(;r!=null;){const l=e;if(e.mode==="composition")a=l.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=l.__getInstance(r);i!=null&&(a=i.__composer,n&&a&&!a[Zn]&&(a=null))}if(a!=null||s===r)break;r=r.parent}return a}function Xs(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ks(e,t,n){let a=null;D.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,a=bt();const s=n;s[Pe]&&s[Pe](a),a.on("*",je)}},t),D.onUnmounted(()=>{const s=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(a&&a.off("*",je),s[Ye]&&s[Ye](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const r=s[wt];r&&(r(),delete s[wt])},t)}function Js(e,t,n,a={}){const s=t==="local",r=D.shallowRef(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw z(V.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=w(a.inheritLocale)?a.inheritLocale:!v(a.locale),i=D.ref(!s||l?n.locale.value:v(a.locale)?a.locale:Fe),u=D.ref(!s||l?n.fallbackLocale.value:v(a.fallbackLocale)||j(a.fallbackLocale)||U(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:i.value),_=D.ref(Tt(i.value,a)),p=D.ref(U(a.datetimeFormats)?a.datetimeFormats:{[i.value]:{}}),T=D.ref(U(a.numberFormats)?a.numberFormats:{[i.value]:{}}),d=s?n.missingWarn:w(a.missingWarn)||Oe(a.missingWarn)?a.missingWarn:!0,C=s?n.fallbackWarn:w(a.fallbackWarn)||Oe(a.fallbackWarn)?a.fallbackWarn:!0,k=s?n.fallbackRoot:w(a.fallbackRoot)?a.fallbackRoot:!0,S=!!a.fallbackFormat,P=Y(a.missing)?a.missing:null,M=Y(a.postTranslation)?a.postTranslation:null,R=s?n.warnHtmlMessage:w(a.warnHtmlMessage)?a.warnHtmlMessage:!0,f=!!a.escapeParameter,E=s?n.modifiers:U(a.modifiers)?a.modifiers:{},L=a.pluralRules||s&&n.pluralRules;function g(){return[i.value,u.value,_.value,p.value,T.value]}const I=D.computed({get:()=>r.value?r.value.locale.value:i.value,set:h=>{r.value&&(r.value.locale.value=h),i.value=h}}),A=D.computed({get:()=>r.value?r.value.fallbackLocale.value:u.value,set:h=>{r.value&&(r.value.fallbackLocale.value=h),u.value=h}}),b=D.computed(()=>r.value?r.value.messages.value:_.value),X=D.computed(()=>p.value),ie=D.computed(()=>T.value);function $(){return r.value?r.value.getPostTranslationHandler():M}function ne(h){r.value&&r.value.setPostTranslationHandler(h)}function Xe(){return r.value?r.value.getMissingHandler():P}function Ke(h){r.value&&r.value.setMissingHandler(h)}function ge(h){return g(),h()}function Je(...h){return r.value?ge(()=>Reflect.apply(r.value.t,null,[...h])):ge(()=>"")}function Qe(...h){return r.value?Reflect.apply(r.value.rt,null,[...h]):""}function qe(...h){return r.value?ge(()=>Reflect.apply(r.value.d,null,[...h])):ge(()=>"")}function Ze(...h){return r.value?ge(()=>Reflect.apply(r.value.n,null,[...h])):ge(()=>"")}function ze(h){return r.value?r.value.tm(h):{}}function ue(h,G){return r.value?r.value.te(h,G):!1}function Ve(h){return r.value?r.value.getLocaleMessage(h):{}}function $e(h,G){r.value&&(r.value.setLocaleMessage(h,G),_.value[h]=G)}function et(h,G){r.value&&r.value.mergeLocaleMessage(h,G)}function tt(h){return r.value?r.value.getDateTimeFormat(h):{}}function nt(h,G){r.value&&(r.value.setDateTimeFormat(h,G),p.value[h]=G)}function Ot(h,G){r.value&&r.value.mergeDateTimeFormat(h,G)}function rt(h){return r.value?r.value.getNumberFormat(h):{}}function We(h,G){r.value&&(r.value.setNumberFormat(h,G),T.value[h]=G)}function at(h,G){r.value&&r.value.mergeNumberFormat(h,G)}const st={get id(){return r.value?r.value.id:-1},locale:I,fallbackLocale:A,messages:b,datetimeFormats:X,numberFormats:ie,get inheritLocale(){return r.value?r.value.inheritLocale:l},set inheritLocale(h){r.value&&(r.value.inheritLocale=h)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(_.value)},get modifiers(){return r.value?r.value.modifiers:E},get pluralRules(){return r.value?r.value.pluralRules:L},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:d},set missingWarn(h){r.value&&(r.value.missingWarn=h)},get fallbackWarn(){return r.value?r.value.fallbackWarn:C},set fallbackWarn(h){r.value&&(r.value.missingWarn=h)},get fallbackRoot(){return r.value?r.value.fallbackRoot:k},set fallbackRoot(h){r.value&&(r.value.fallbackRoot=h)},get fallbackFormat(){return r.value?r.value.fallbackFormat:S},set fallbackFormat(h){r.value&&(r.value.fallbackFormat=h)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:R},set warnHtmlMessage(h){r.value&&(r.value.warnHtmlMessage=h)},get escapeParameter(){return r.value?r.value.escapeParameter:f},set escapeParameter(h){r.value&&(r.value.escapeParameter=h)},t:Je,getPostTranslationHandler:$,setPostTranslationHandler:ne,getMissingHandler:Xe,setMissingHandler:Ke,rt:Qe,d:qe,n:Ze,tm:ze,te:ue,getLocaleMessage:Ve,setLocaleMessage:$e,mergeLocaleMessage:et,getDateTimeFormat:tt,setDateTimeFormat:nt,mergeDateTimeFormat:Ot,getNumberFormat:rt,setNumberFormat:We,mergeNumberFormat:at};function lt(h){h.locale.value=i.value,h.fallbackLocale.value=u.value,Object.keys(_.value).forEach(G=>{h.mergeLocaleMessage(G,_.value[G])}),Object.keys(p.value).forEach(G=>{h.mergeDateTimeFormat(G,p.value[G])}),Object.keys(T.value).forEach(G=>{h.mergeNumberFormat(G,T.value[G])}),h.escapeParameter=f,h.fallbackFormat=S,h.fallbackRoot=k,h.fallbackWarn=C,h.missingWarn=d,h.warnHtmlMessage=R}return D.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw z(V.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const h=r.value=e.proxy.$i18n.__composer;t==="global"?(i.value=h.locale.value,u.value=h.fallbackLocale.value,_.value=h.messages.value,p.value=h.datetimeFormats.value,T.value=h.numberFormats.value):s&&lt(h)}),st}const Qs=["locale","fallbackLocale","availableLocales"],Nr=["t","rt","d","n","tm","te"];function qs(e,t){const n=Object.create(null);return Qs.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw z(V.UNEXPECTED_ERROR);const l=D.isRef(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,s,l)}),e.config.globalProperties.$i18n=n,Nr.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw z(V.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,Nr.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(Es(),__INTLIFY_JIT_COMPILATION__?In(es):In(za),Ya(ha),Ba(pn),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Ne();e.__INTLIFY__=!0,ya(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Zs={simpleButton:{clickMe:"点击我",clicked:"已点击 {count} 次"},simpleCard:{title:"简单卡片",content:"这是一个简单的卡片组件"}},zs={simpleButton:{clickMe:"Click Me",clicked:"Clicked {count} times"},simpleCard:{title:"Simple Card",content:"This is a simple card component"}},el=[Jt,qt],pr=e=>{el.forEach(s=>{e.use(s)});const t=Gs({legacy:!1,locale:"zh_CN",fallbackLocale:"zh_CN",messages:{zh_CN:Zs,en_US:zs}});e.use(t),t.global.locale.value="zh_CN",Object.assign(t,{switchLocale:s=>{t.global.locale.value=s},mergeLocaleMessage:(s,r)=>{t.global.mergeLocaleMessage(s,r)}})},tl={install:pr};me.SimpleButton=Jt,me.SimpleCard=qt,me.default=tl,me.install=pr,Object.defineProperties(me,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -1,12 +1,20 @@
1
1
  {
2
2
  "name": "simple-web-lib",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "A Simple Web Library with VitePress documentation and i18n support",
5
- "main": "lib/simple-web-lib.umd.js",
6
- "module": "lib/simple-web-lib.es.js",
7
- "unpkg": "lib/simple-web-lib.umd.js",
8
- "style": "lib/style.css",
5
+ "main": "./lib/simple-web-lib.umd.js",
6
+ "module": "./lib/simple-web-lib.es.js",
7
+ "unpkg": "./lib/simple-web-lib.umd.js",
8
+ "style": "./lib/style.css",
9
9
  "type": "module",
10
+ "types": "./lib/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./lib/simple-web-lib.es.js",
14
+ "require": "./lib/simple-web-lib.umd.js"
15
+ },
16
+ "./style.css": "./lib/style.css"
17
+ },
10
18
  "files": [
11
19
  "lib"
12
20
  ],
@@ -14,10 +22,11 @@
14
22
  "dev": "vite",
15
23
  "build": "vite build",
16
24
  "preview": "vite preview",
25
+ "build:types": "vue-tsc --declaration -p tsconfig.declaration.json",
17
26
  "lib": "vite build --mode lib",
18
27
  "docs:dev": "vitepress dev docs",
19
28
  "docs:build": "vitepress build docs",
20
- "docs:serve": "vitepress serve docs"
29
+ "docs:preview": "vitepress serve docs"
21
30
  },
22
31
  "keywords": [
23
32
  "vue",
@@ -29,21 +38,21 @@
29
38
  "author": "Mr.Fang",
30
39
  "license": "MIT",
31
40
  "peerDependencies": {
32
- "vue": "^3.5.13",
33
- "vue-i18n": "^9.14.0"
41
+ "vue": "3.5.13",
42
+ "vue-i18n": "9.14.0"
34
43
  },
35
44
  "devDependencies": {
36
- "@vitejs/plugin-vue": "^5.0.0",
37
- "@vitepress-demo-preview/component": "^2.3.2",
38
- "@vitepress-demo-preview/plugin": "^1.2.3",
39
- "typescript": "^5.0.2",
40
- "vite": "^5.0.0",
41
- "vitepress": "^1.0.0-rc.4",
42
- "vue": "^3.5.13",
43
- "vue-i18n": "^9.14.0"
45
+ "@vitejs/plugin-vue": "5.0.0",
46
+ "@vitepress-demo-preview/component": "2.3.2",
47
+ "@vitepress-demo-preview/plugin": "1.2.3",
48
+ "typescript": "5.0.2",
49
+ "vite": "5.0.0",
50
+ "vitepress": "1.0.0-rc.4",
51
+ "vue": "3.5.13",
52
+ "vue-i18n": "9.14.0",
53
+ "vue-tsc": "^1.8.0"
44
54
  },
45
55
  "dependencies": {
46
- "element-plus": "^2.8.0",
47
- "simple-web-lib": "^0.0.2"
56
+ "element-plus": "2.8.0"
48
57
  }
49
- }
58
+ }