@vtj/pro 0.13.39 → 0.13.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/uni-h5/style.css +1 -1
- package/dist/@vtj/materials/deps/vue-i18n/vue-i18n.global.js +7 -7
- package/dist/@vtj/materials/deps/vue-i18n/vue-i18n.global.prod.js +2 -2
- package/dist/assets/{Editor-CB7H71mV-C0ROBped.css → Editor-_6GNyUTY-DphNTmTO.css} +1 -1
- package/dist/assets/{Editor-CB7H71mV-ZgvMz2MG.js → Editor-_6GNyUTY-Eqtj8A77.js} +16 -16
- package/dist/assets/{auth-DnD_8cBd.js → auth-BAbbFtUA.js} +1 -1
- package/dist/assets/{index-CfEg0G4X.js → index-BXnhjyrQ.js} +1 -1
- package/dist/assets/{index-DRT_gnec.js → index-BkJE78r2.js} +2 -2
- package/dist/assets/{page-BoUPZL85.js → page-Dgnwa1oa.js} +1 -1
- package/dist/assets/{preview-6kb9FMSl.js → preview-CSMgaJYL.js} +1 -1
- package/dist/assets/{utils-BRRyiuJG.js → utils-CEIpV6Ju.js} +1 -1
- package/dist/index.html +4 -3
- package/dist/uni/assets/{index-BBaSDF4L.js → index-DyWDntus.js} +5 -5
- package/dist/uni/index.html +5 -5
- package/package.json +11 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vue-i18n v11.2.
|
|
2
|
+
* vue-i18n v11.2.7
|
|
3
3
|
* (c) 2025 kazuya kawaguchi
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
var VueI18n=function(e,t){"use strict";function n(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var r=n(t);function a(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const o="undefined"!=typeof window,s=(e,t=!1)=>t?Symbol.for(e):Symbol(e),l=(e,t,n)=>c({l:e,k:t,s:n}),c=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),i=e=>"number"==typeof e&&isFinite(e),u=e=>"[object Date]"===C(e),f=e=>"[object RegExp]"===C(e),m=e=>O(e)&&0===Object.keys(e).length,_=Object.assign,p=Object.create,d=(e=null)=>p(e);function g(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function E(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}const b=Object.prototype.hasOwnProperty;function h(e,t){return b.call(e,t)}const k=Array.isArray,L=e=>"function"==typeof e,N=e=>"string"==typeof e,y=e=>"boolean"==typeof e,T=e=>null!==e&&"object"==typeof e,v=e=>T(e)&&L(e.then)&&L(e.catch),I=Object.prototype.toString,C=e=>I.call(e),O=e=>"[object Object]"===C(e);function A(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}const P=e=>!T(e)||k(e);function R(e,t){if(P(e)||P(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((r=>{"__proto__"!==r&&(T(e[r])&&!T(t[r])&&(t[r]=Array.isArray(e[r])?[]:d()),P(t[r])||P(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))}))}}function S(e,t,n){return{start:e,end:t}}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};function D(e){throw e}const w=" ",x="\r",M="\n",U=String.fromCharCode(8232),W=String.fromCharCode(8233);function $(e){const t=e;let n=0,r=1,a=1,o=0;const s=e=>t[e]===x&&t[e+1]===M,l=e=>t[e]===W,c=e=>t[e]===U,i=e=>s(e)||(e=>t[e]===M)(e)||l(e)||c(e),u=e=>s(e)||l(e)||c(e)?M:t[e];function f(){return o=0,i(n)&&(r++,a=0),s(n)&&n++,n++,a++,t[n]}return{index:()=>n,line:()=>r,column:()=>a,peekOffset:()=>o,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+o),next:f,peek:function(){return s(n+o)&&o++,o++,t[n+o]},reset:function(){n=0,r=1,a=1,o=0},resetPeek:function(e=0){o=e},skipToPeek:function(){const e=n+o;for(;e!==n;)f();o=0}}}const j=void 0,H="'";function V(e,t={}){const n=!1!==t.location,r=$(e),a=()=>r.index(),o=()=>{return e=r.line(),t=r.column(),n=r.index(),{line:e,column:t,offset:n};var e,t,n},s=o(),l=a(),c={currentType:13,offset:l,startLoc:s,endLoc:s,lastType:13,lastOffset:l,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},i=()=>c,{onError:u}=t;function f(e,t,r){e.endLoc=o(),e.currentType=t;const a={type:t};return n&&(a.loc=S(e.startLoc,e.endLoc)),null!=r&&(a.value=r),a}const m=e=>f(e,13);function _(e,t){return e.currentChar()===t?(e.next(),t):(F.EXPECTED_TOKEN,o(),"")}function p(e){let t="";for(;e.currentPeek()===w||e.currentPeek()===M;)t+=e.currentPeek(),e.peek();return t}function d(e){const t=p(e);return e.skipToPeek(),t}function g(e){if(e===j)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function E(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=function(e){if(e===j)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}function b(e){p(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function h(e,t=!0){const n=(t=!1,r="")=>{const a=e.currentPeek();return"{"===a?t:"@"!==a&&a?"|"===a?!(r===w||r===M):a===w?(e.peek(),n(!0,w)):a!==M||(e.peek(),n(!0,M)):t},r=n();return t&&e.resetPeek(),r}function k(e,t){const n=e.currentChar();return n===j?j:t(n)?(e.next(),n):null}function L(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function N(e){return k(e,L)}function y(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function T(e){return k(e,y)}function v(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function I(e){return k(e,v)}function C(e){const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function O(e){return k(e,C)}function A(e){let t="",n="";for(;t=I(e);)n+=t;return n}function P(e){return e!==H&&e!==M}function R(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return D(e,t,4);case"U":return D(e,t,6);default:return F.UNKNOWN_ESCAPE_SEQUENCE,o(),""}}function D(e,t,n){_(e,t);let r="";for(let a=0;a<n;a++){const t=O(e);if(!t){F.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),e.currentChar();break}r+=t}return`\\${t}${r}`}function x(e){return"{"!==e&&"}"!==e&&e!==w&&e!==M}function U(e){d(e);let t="",n="";for(;t=k(e,x);)n+=t;return n}function W(e){d(e);const t=_(e,"|");return d(e),t}function V(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&(F.NOT_ALLOW_NEST_PLACEHOLDER,o()),e.next(),n=f(t,2,"{"),d(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&(F.EMPTY_PLACEHOLDER,o()),e.next(),n=f(t,3,"}"),t.braceNest--,t.braceNest>0&&d(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&(F.UNTERMINATED_CLOSING_BRACE,o()),n=X(e,t)||m(t),t.braceNest=0,n;default:{let r=!0,a=!0,s=!0;if(b(e))return t.braceNest>0&&(F.UNTERMINATED_CLOSING_BRACE,o()),n=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(4===t.currentType||5===t.currentType||6===t.currentType))return F.UNTERMINATED_CLOSING_BRACE,o(),t.braceNest=0,Y(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t))return n=f(t,4,function(e){d(e);let t="",n="";for(;t=T(e);)n+=t;const r=e.currentChar();if(r&&"}"!==r&&r!==j&&r!==w&&r!==M&&" "!==r){const t=U(e);return F.INVALID_TOKEN_IN_PLACEHOLDER,o(),n+t}return e.currentChar()===j&&(F.UNTERMINATED_CLOSING_BRACE,o()),n}(e)),d(e),n;if(a=E(e,t))return n=f(t,5,function(e){d(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${A(e)}`):t+=A(e),e.currentChar()===j&&(F.UNTERMINATED_CLOSING_BRACE,o()),t}(e)),d(e),n;if(s=function(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=e.currentPeek()===H;return e.resetPeek(),r}(e,t))return n=f(t,6,function(e){d(e),_(e,"'");let t="",n="";for(;t=k(e,P);)n+="\\"===t?R(e):t;const r=e.currentChar();return r===M||r===j?(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),r===M&&(e.next(),_(e,"'")),n):(_(e,"'"),n)}(e)),d(e),n;if(!r&&!a&&!s)return n=f(t,12,U(e)),F.INVALID_TOKEN_IN_PLACEHOLDER,o(),n.value,d(e),n;break}}return n}function X(e,t){const{currentType:n}=t;let r=null;const a=e.currentChar();switch(7!==n&&8!==n&&11!==n&&9!==n||a!==M&&a!==w||(F.INVALID_LINKED_FORMAT,o()),a){case"@":return e.next(),r=f(t,7,"@"),t.inLinked=!0,r;case".":return d(e),e.next(),f(t,8,".");case":":return d(e),e.next(),f(t,9,":");default:return b(e)?(r=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(7!==n)return!1;p(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(7!==n&&11!==n)return!1;p(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(d(e),X(e,t)):function(e,t){const{currentType:n}=t;if(8!==n)return!1;p(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t)?(d(e),f(t,11,function(e){let t="",n="";for(;t=N(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(9!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?g(e.peek()):!("@"===t||"|"===t||":"===t||"."===t||t===w||!t)&&(t===M?(e.peek(),r()):h(e,!1))},a=r();return e.resetPeek(),a}(e,t)?(d(e),"{"===a?V(e,t)||r:f(t,10,function(e){const t=n=>{const r=e.currentChar();return"{"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===w?n:(n+=r,e.next(),t(n)):n};return t("")}(e))):(7===n&&(F.INVALID_LINKED_FORMAT,o()),t.braceNest=0,t.inLinked=!1,Y(e,t))}}function Y(e,t){let n={type:13};if(t.braceNest>0)return V(e,t)||m(t);if(t.inLinked)return X(e,t)||m(t);switch(e.currentChar()){case"{":return V(e,t)||m(t);case"}":return F.UNBALANCED_CLOSING_BRACE,o(),e.next(),f(t,3,"}");case"@":return X(e,t)||m(t);default:if(b(e))return n=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,n;if(h(e))return f(t,0,function(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if(n===w||n===M)if(h(e))t+=n,e.next();else{if(b(e))break;t+=n,e.next()}else t+=n,e.next()}return t}(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:s}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=s,c.offset=a(),c.startLoc=o(),r.currentChar()===j?f(c,13):Y(r,c)},currentOffset:a,currentPosition:o,context:i}}const X=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Y(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function G(e={}){const t=!1!==e.location,{onError:n}=e;function r(e,n,r){const a={type:e};return t&&(a.start=n,a.end=n,a.loc={start:r,end:r}),a}function a(e,n,r,a){t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){const n=e.context(),o=r(3,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}function s(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:s}=n,l=r(5,o,s);return l.index=parseInt(t,10),e.nextToken(),a(l,e.currentOffset(),e.currentPosition()),l}function l(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:s}=n,l=r(4,o,s);return l.key=t,e.nextToken(),a(l,e.currentOffset(),e.currentPosition()),l}function c(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:s}=n,l=r(9,o,s);return l.value=t.replace(X,Y),e.nextToken(),a(l,e.currentOffset(),e.currentPosition()),l}function i(e){const t=e.context(),n=r(6,t.offset,t.startLoc);let o=e.nextToken();if(8===o.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:s}=n,l=r(8,o,s);return 11!==t.type?(F.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,l.value="",a(l,o,s),{nextConsumeToken:t,node:l}):(null==t.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,K(t)),l.value=t.value||"",a(l,e.currentOffset(),e.currentPosition()),{node:l})}(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(9!==o.type&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(o)),o=e.nextToken(),2===o.type&&(o=e.nextToken()),o.type){case 10:null==o.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(o)),n.key=function(e,t){const n=e.context(),o=r(7,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}(e,o.value||"");break;case 4:null==o.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(o)),n.key=l(e,o.value||"");break;case 5:null==o.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(o)),n.key=s(e,o.value||"");break;case 6:null==o.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(o)),n.key=c(e,o.value||"");break;default:{F.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc;const s=e.context(),l=r(7,s.offset,s.startLoc);return l.value="",a(l,s.offset,s.startLoc),n.key=l,a(n,s.offset,s.startLoc),{nextConsumeToken:o,node:n}}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function u(e){const t=e.context(),n=r(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let u=null;do{const r=u||e.nextToken();switch(u=null,r.type){case 0:null==r.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(r)),n.items.push(o(e,r.value||""));break;case 5:null==r.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(r)),n.items.push(s(e,r.value||""));break;case 4:null==r.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(r)),n.items.push(l(e,r.value||""));break;case 6:null==r.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(r)),n.items.push(c(e,r.value||""));break;case 7:{const t=i(e);n.items.push(t.node),u=t.nextConsumeToken||null;break}}}while(13!==t.currentType&&1!==t.currentType);return a(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function f(e){const t=e.context(),{offset:n,startLoc:o}=t,s=u(e);return 13===t.currentType?s:function(e,t,n,o){const s=e.context();let l=0===o.items.length;const c=r(1,t,n);c.cases=[],c.cases.push(o);do{const t=u(e);l||(l=0===t.items.length),c.cases.push(t)}while(13!==s.currentType);return a(c,e.currentOffset(),e.currentPosition()),c}(e,n,o,s)}return{parse:function(n){const o=V(n,_({},e)),s=o.context(),l=r(0,s.offset,s.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=f(o),e.onCacheKey&&(l.cacheKey=e.onCacheKey(n)),13!==s.currentType&&(F.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,n[s.offset]),a(l,o.currentOffset(),o.currentPosition()),l}}}function K(e){if(13===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function B(e,t){for(let n=0;n<e.length;n++)z(e[n],t)}function z(e,t){switch(e.type){case 1:B(e.cases,t),t.helper("plural");break;case 2:B(e.items,t);break;case 6:z(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")}}function J(e,t={}){const n=function(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&z(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Q(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(3!==r.type&&9!==r.type)break;if(null==r.value)break;t.push(r.value)}if(t.length===e.items.length){e.static=A(t);for(let t=0;t<e.items.length;t++){const n=e.items[t];3!==n.type&&9!==n.type||delete n.value}}}}function q(e){switch(e.t=e.type,e.type){case 0:{const t=e;q(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let e=0;e<n.length;e++)q(n[e]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let e=0;e<n.length;e++)q(n[e]);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;q(t.key),t.k=t.key,delete t.key,t.modifier&&(q(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}}delete e.type}function Z(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?Z(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let n=0;n<a&&(Z(e,t.cases[n]),n!==a-1);n++)e.push(", ");e.deindent(r()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let o=0;o<a&&(Z(e,t.items[o]),o!==a-1);o++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Z(e,t.key),t.modifier?(e.push(", "),Z(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3: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)}}const ee=(e,t={})=>{const n=N(t.mode)?t.mode:"normal",r=N(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,o=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",s=t.needIndent?t.needIndent:"arrow"!==n,l=e.helpers||[],c=function(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:o}=t,s=!1!==t.location,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:o,indentLevel:0};function c(e,t){l.code+=e}function i(e,t=!0){const n=t?a:"";c(o?n+" ".repeat(e):n)}return s&&e.loc&&(l.source=e.loc.source),{context:()=>l,push:c,indent:function(e=!0){const t=++l.indentLevel;e&&i(t)},deindent:function(e=!0){const t=--l.indentLevel;e&&i(t)},newline:function(){i(l.indentLevel)},helper:e=>`_${e}`,needIndent:()=>l.needIndent}}(e,{mode:n,filename:r,sourceMap:a,breakLineCode:o,needIndent:s});c.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(s),l.length>0&&(c.push(`const { ${A(l.map((e=>`${e}: _${e}`)),", ")} } = ctx`),c.newline()),c.push("return "),Z(c,e),c.deindent(s),c.push("}"),delete e.helpers;const{code:i,map:u}=c.context();return{ast:e,code:i,map:u?u.toJSON():void 0}};function te(e,t={}){const n=_({},t),r=!!n.jit,a=!!n.minify,o=null==n.optimize||n.optimize,s=G(n).parse(e);return r?(o&&function(e){const t=e.body;2===t.type?Q(t):t.cases.forEach((e=>Q(e)))}(s),a&&q(s),{ast:s,code:""}):(J(s,n),ee(s,n))}function ne(e){return T(e)&&0===ce(e)&&(h(e,"b")||h(e,"body"))}const re=["b","body"];const ae=["c","cases"];const oe=["s","static"];const se=["i","items"];const le=["t","type"];function ce(e){return _e(e,le)}const ie=["v","value"];function ue(e,t){const n=_e(e,ie);if(null!=n)return n;throw de(t)}const fe=["m","modifier"];const me=["k","key"];function _e(e,t,n){for(let r=0;r<t.length;r++){const n=t[r];if(h(e,n)&&null!=e[n])return e[n]}return n}const pe=[...re,...ae,...oe,...se,...me,...fe,...ie,...le];function de(e){return new Error(`unhandled node type: ${e}`)}function ge(e){return t=>function(e,t){const n=(r=t,_e(r,re));var r;if(null==n)throw de(0);if(1===ce(n)){const t=function(e){return _e(e,ae,[])}(n);return e.plural(t.reduce(((t,n)=>[...t,Ee(e,n)]),[]))}return Ee(e,n)}(t,e)}function Ee(e,t){const n=function(e){return _e(e,oe)}(t);if(null!=n)return"text"===e.type?n:e.normalize([n]);{const n=function(e){return _e(e,se,[])}(t).reduce(((t,n)=>[...t,be(e,n)]),[]);return e.normalize(n)}}function be(e,t){const n=ce(t);switch(n){case 3:case 9:case 7:case 8:return ue(t,n);case 4:{const r=t;if(h(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(h(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw de(n)}case 5:{const r=t;if(h(r,"i")&&i(r.i))return e.interpolate(e.list(r.i));if(h(r,"index")&&i(r.index))return e.interpolate(e.list(r.index));throw de(n)}case 6:{const n=t,r=function(e){return _e(e,fe)}(n),a=function(e){const t=_e(e,me);if(t)return t;throw de(6)}(n);return e.linked(be(e,a),r?be(e,r):void 0,e.type)}default:throw new Error(`unhandled node on format message part: ${n}`)}}const he=e=>e;let ke=d();const Le={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Ne(e,t){return null!=t.locale?Te(t.locale):Te(e.locale)}let ye;function Te(e){if(N(e))return e;if(L(e)){if(e.resolvedOnce&&null!=ye)return ye;if("Function"===e.constructor.name){const t=e();if(v(t))throw Error(Le.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ye=t}throw Error(Le.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Error(Le.NOT_SUPPORT_LOCALE_TYPE)}function ve(e,t,n){return[...new Set([n,...k(t)?t:T(t)?Object.keys(t):N(t)?[t]:[n]])]}function Ie(e,t,n){const r=N(n)?n:Ue,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let o=a.__localeChainCache.get(r);if(!o){o=[];let e=[n];for(;k(e);)e=Ce(o,e,t);const s=k(t)||!O(t)?t:t.default?t.default:null;e=N(s)?[s]:s,k(e)&&Ce(o,e,!1),a.__localeChainCache.set(r,o)}return o}function Ce(e,t,n){let r=!0;for(let a=0;a<t.length&&y(r);a++){const o=t[a];N(o)&&(r=Oe(e,t[a],n))}return r}function Oe(e,t,n){let r;const a=t.split("-");do{r=Ae(e,a.join("-"),n),a.splice(-1,1)}while(a.length&&!0===r);return r}function Ae(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];const a=t.replace(/!/g,"");e.push(a),(k(n)||O(n))&&n[a]&&(r=n[a])}return r}const Pe=[];Pe[0]={w:[0],i:[3,0],"[":[4],o:[7]},Pe[1]={w:[1],".":[2],"[":[4],o:[7]},Pe[2]={w:[2],i:[3,0],0:[3,0]},Pe[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Pe[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Pe[5]={"'":[4,0],o:8,l:[5,0]},Pe[6]={'"':[4,0],o:8,l:[6,0]};const Re=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Se(e){if(null==e)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 Fe(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,Re.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const De=new Map;function we(e,t){return T(e)?e[t]:null}const xe="11.2.2",Me=-1,Ue="en-US",We="",$e=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let je,He,Ve;let Xe=null;const Ye=e=>{Xe=e},Ge=()=>Xe;let Ke=0;function Be(e={}){const t=L(e.onWarn)?e.onWarn:a,n=N(e.version)?e.version:xe,r=N(e.locale)||L(e.locale)?e.locale:Ue,o=L(r)?Ue:r,s=k(e.fallbackLocale)||O(e.fallbackLocale)||N(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:o,l=O(e.messages)?e.messages:ze(o),c=O(e.datetimeFormats)?e.datetimeFormats:ze(o),i=O(e.numberFormats)?e.numberFormats:ze(o),u=_(d(),e.modifiers,{upper:(e,t)=>"text"===t&&N(e)?e.toUpperCase():"vnode"===t&&T(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&N(e)?e.toLowerCase():"vnode"===t&&T(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&N(e)?$e(e):"vnode"===t&&T(e)&&"__v_isVNode"in e?$e(e.children):e}),m=e.pluralRules||d(),p=L(e.missing)?e.missing:null,g=!y(e.missingWarn)&&!f(e.missingWarn)||e.missingWarn,E=!y(e.fallbackWarn)&&!f(e.fallbackWarn)||e.fallbackWarn,b=!!e.fallbackFormat,h=!!e.unresolving,v=L(e.postTranslation)?e.postTranslation:null,I=O(e.processor)?e.processor:null,C=!y(e.warnHtmlMessage)||e.warnHtmlMessage,A=!!e.escapeParameter,P=L(e.messageCompiler)?e.messageCompiler:je,R=L(e.messageResolver)?e.messageResolver:He||we,S=L(e.localeFallbacker)?e.localeFallbacker:Ve||ve,F=T(e.fallbackContext)?e.fallbackContext:void 0,D=e,w=T(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,x=T(D.__numberFormatters)?D.__numberFormatters:new Map,M=T(D.__meta)?D.__meta:{};Ke++;const U={version:n,cid:Ke,locale:r,fallbackLocale:s,messages:l,modifiers:u,pluralRules:m,missing:p,missingWarn:g,fallbackWarn:E,fallbackFormat:b,unresolving:h,postTranslation:v,processor:I,warnHtmlMessage:C,escapeParameter:A,messageCompiler:P,messageResolver:R,localeFallbacker:S,fallbackContext:F,onWarn:t,__meta:M};return U.datetimeFormats=c,U.numberFormats=i,U.__datetimeFormatters=w,U.__numberFormatters=x,U}const ze=e=>({[e]:d()});function Je(e,t,n,r,a){const{missing:o,onWarn:s}=e;if(null!==o){const r=o(e,n,t,a);return N(r)?r:t}return t}function Qe(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function qe(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let o=n+1;o<t.length;o++)if(r=e,a=t[o],r!==a&&r.split("-")[0]===a.split("-")[0])return!0;var r,a;return!1}function Ze(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:s}=e,{__datetimeFormatters:l}=e,[c,i,u,f]=tt(...t);y(u.missingWarn)?u.missingWarn:e.missingWarn;y(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,d=Ne(e,u),g=s(e,a,d);if(!N(c)||""===c)return new Intl.DateTimeFormat(d,f).format(i);let E,b={},h=null;for(let m=0;m<g.length&&(E=g[m],b=n[E]||{},h=b[c],!O(h));m++)Je(e,c,E,0,"datetime format");if(!O(h)||!N(E))return r?Me:c;let k=`${E}__${c}`;m(f)||(k=`${k}__${JSON.stringify(f)}`);let L=l.get(k);return L||(L=new Intl.DateTimeFormat(E,_({},h,f)),l.set(k,L)),p?L.formatToParts(i):L.format(i)}const et=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function tt(...e){const[t,n,r,a]=e,o=d();let s,l=d();if(N(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(Le.INVALID_ISO_DATE_ARGUMENT);const n=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();s=new Date(n);try{s.toISOString()}catch{throw Error(Le.INVALID_ISO_DATE_ARGUMENT)}}else if(u(t)){if(isNaN(t.getTime()))throw Error(Le.INVALID_DATE_ARGUMENT);s=t}else{if(!i(t))throw Error(Le.INVALID_ARGUMENT);s=t}return N(n)?o.key=n:O(n)&&Object.keys(n).forEach((e=>{et.includes(e)?l[e]=n[e]:o[e]=n[e]})),N(r)?o.locale=r:O(r)&&(l=r),O(a)&&(l=a),[o.key||"",s,o,l]}function nt(e,t,n){const r=e;for(const a in n){const e=`${t}__${a}`;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function rt(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:s}=e,{__numberFormatters:l}=e,[c,i,u,f]=ot(...t);y(u.missingWarn)?u.missingWarn:e.missingWarn;y(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,d=Ne(e,u),g=s(e,a,d);if(!N(c)||""===c)return new Intl.NumberFormat(d,f).format(i);let E,b={},h=null;for(let m=0;m<g.length&&(E=g[m],b=n[E]||{},h=b[c],!O(h));m++)Je(e,c,E,0,"number format");if(!O(h)||!N(E))return r?Me:c;let k=`${E}__${c}`;m(f)||(k=`${k}__${JSON.stringify(f)}`);let L=l.get(k);return L||(L=new Intl.NumberFormat(E,_({},h,f)),l.set(k,L)),p?L.formatToParts(i):L.format(i)}const at=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ot(...e){const[t,n,r,a]=e,o=d();let s=d();if(!i(t))throw Error(Le.INVALID_ARGUMENT);const l=t;return N(n)?o.key=n:O(n)&&Object.keys(n).forEach((e=>{at.includes(e)?s[e]=n[e]:o[e]=n[e]})),N(r)?o.locale=r:O(r)&&(s=r),O(a)&&(s=a),[o.key||"",l,o,s]}function st(e,t,n){const r=e;for(const a in n){const e=`${t}__${a}`;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}const lt=e=>e,ct=e=>"",it="text",ut=e=>0===e.length?"":A(e),ft=e=>null==e?"":k(e)||O(e)&&e.toString===I?JSON.stringify(e,null,2):String(e);function mt(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function _t(e={}){const t=e.locale,n=function(e){const t=i(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(i(e.named.count)||i(e.named.n))?i(e.named.count)?e.named.count:i(e.named.n)?e.named.n:t:t}(e),r=T(e.pluralRules)&&N(t)&&L(e.pluralRules[t])?e.pluralRules[t]:mt,a=T(e.pluralRules)&&N(t)&&L(e.pluralRules[t])?mt:void 0,o=e.list||[],s=e.named||d();i(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,s);function l(t,n){const r=L(e.messages)?e.messages(t,!!n):!!T(e.messages)&&e.messages[t];return r||(e.parent?e.parent.message(t):ct)}const c=O(e.processor)&&L(e.processor.normalize)?e.processor.normalize:ut,u=O(e.processor)&&L(e.processor.interpolate)?e.processor.interpolate:ft,f={list:e=>o[e],named:e=>s[e],plural:e=>e[r(n,e.length,a)],linked:(t,...n)=>{const[r,a]=n;let o="text",s="";1===n.length?T(r)?(s=r.modifier||s,o=r.type||o):N(r)&&(s=r||s):2===n.length&&(N(r)&&(s=r||s),N(a)&&(o=a||o));const c=l(t,!0)(f),i="vnode"===o&&k(c)&&s?c[0]:c;return s?(u=s,e.modifiers?e.modifiers[u]:lt)(i,o):i;var u},message:l,type:O(e.processor)&&N(e.processor.type)?e.processor.type:it,interpolate:u,normalize:c,values:_(d(),o,s)};return f}const pt=()=>"",dt=e=>L(e);function gt(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:o,fallbackLocale:s,messages:l}=e,[c,u]=ht(...t),f=y(u.missingWarn)?u.missingWarn:e.missingWarn,m=y(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,_=y(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,b=N(u.default)||y(u.default)?y(u.default)?o?c:()=>c:u.default:n?o?c:()=>c:null,h=n||null!=b&&(N(b)||L(b)),v=Ne(e,u);_&&function(e){k(e.list)?e.list=e.list.map((e=>N(e)?g(e):e)):T(e.named)&&Object.keys(e.named).forEach((t=>{N(e.named[t])&&(e.named[t]=g(e.named[t]))}))}(u);let[I,C,O]=p?[c,v,l[v]||d()]:Et(e,c,v,s,m,f),A=I,P=c;if(p||N(A)||ne(A)||dt(A)||h&&(A=b,P=A),!(p||(N(A)||ne(A)||dt(A))&&N(C)))return a?Me:c;let R=!1;const S=dt(A)?A:bt(e,c,C,A,P,(()=>{R=!0}));if(R)return A;const F=function(e,t,n,r){const{modifiers:a,pluralRules:o,messageResolver:s,fallbackLocale:l,fallbackWarn:c,missingWarn:u,fallbackContext:f}=e,m=(r,a)=>{let o=s(n,r);if(null==o&&(f||a)){const[,,n]=Et(f||e,r,t,l,c,u);o=s(n,r)}if(N(o)||ne(o)){let n=!1;const a=bt(e,r,t,o,r,(()=>{n=!0}));return n?pt:a}return dt(o)?o:pt},_={locale:t,modifiers:a,pluralRules:o,messages:m};e.processor&&(_.processor=e.processor);r.list&&(_.list=r.list);r.named&&(_.named=r.named);i(r.plural)&&(_.pluralIndex=r.plural);return _}(e,C,O,u),D=function(e,t,n){const r=t(n);return r}(0,S,_t(F));let w=r?r(D,c):D;var x;return _&&N(w)&&(x=(x=(x=w).replace(/(\w+)\s*=\s*"([^"]*)"/g,((e,t,n)=>`${t}="${E(n)}"`))).replace(/(\w+)\s*=\s*'([^']*)'/g,((e,t,n)=>`${t}='${E(n)}'`)),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(x)&&(x=x.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach((e=>{x=x.replace(e,"$1javascript:")})),w=x),w}function Et(e,t,n,r,a,o){const{messages:s,onWarn:l,messageResolver:c,localeFallbacker:i}=e,u=i(e,r,n);let f,m=d(),_=null;for(let p=0;p<u.length&&(f=u[p],m=s[f]||d(),null===(_=c(m,t))&&(_=m[t]),!(N(_)||ne(_)||dt(_)));p++)if(!qe(f,u)){const n=Je(e,t,f,0,"translate");n!==t&&(_=n)}return[_,f,m]}function bt(e,t,n,r,a,o){const{messageCompiler:s,warnHtmlMessage:c}=e;if(dt(r)){const e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(null==s){const e=()=>r;return e.locale=n,e.key=t,e}const i=s(r,function(e,t,n,r,a,o){return{locale:t,key:n,warnHtmlMessage:a,onError:e=>{throw o&&o(e),e},onCacheKey:e=>l(t,n,e)}}(0,n,a,0,c,o));return i.locale=n,i.key=t,i.source=r,i}function ht(...e){const[t,n,r]=e,a=d();if(!(N(t)||i(t)||dt(t)||ne(t)))throw Error(Le.INVALID_ARGUMENT);const o=i(t)?String(t):(dt(t),t);return i(n)?a.plural=n:N(n)?a.default=n:O(n)&&!m(n)?a.named=n:k(n)&&(a.list=n),i(r)?a.plural=r:N(r)?a.default=r:O(r)&&_(a,r),[o,a]}const kt="11.2.2",Lt={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34},Nt=s("__translateVNode"),yt=s("__datetimeParts"),Tt=s("__numberParts"),vt=s("__setPluralRules"),It=s("__injectWithOption"),Ct=s("__dispose");function Ot(e){if(!T(e))return e;if(ne(e))return e;for(const t in e)if(h(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let a=e,o=!1;for(let e=0;e<r;e++){if("__proto__"===n[e])throw new Error(`unsafe key: ${n[e]}`);if(n[e]in a||(a[n[e]]=d()),!T(a[n[e]])){o=!0;break}a=a[n[e]]}if(o||(ne(a)?pe.includes(n[r])||delete e[t]:(a[n[r]]=e[t],delete e[t])),!ne(a)){const e=a[n[r]];T(e)&&Ot(e)}}else T(e[t])&&Ot(e[t]);return e}function At(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:o}=t,s=O(n)?n:k(r)?d():{[e]:d()};if(k(r)&&r.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(s[t]=s[t]||d(),R(n,s[t])):R(n,s)}else N(e)&&R(JSON.parse(e),s)})),null==a&&o)for(const l in s)h(s,l)&&Ot(s[l]);return s}function Pt(e){return e.type}function Rt(e,t,n){let r=T(t.messages)?t.messages:d();"__i18nGlobal"in n&&(r=At(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);if(a.length&&a.forEach((t=>{e.mergeLocaleMessage(t,r[t])})),T(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(T(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function St(e){return t.createVNode(t.Text,null,e,0)}function Ft(){if("currentInstance"in r){return r["currentInstance"]}return r.getCurrentInstance()}const Dt=()=>[],wt=()=>!1;let xt=0;function Mt(e){return(t,n,r,a)=>e(n,r,Ft()||void 0,a)}function Ut(e={}){const{__root:n,__injectWithOption:r}=e,a=void 0===n,s=e.flatJson,l=o?t.ref:t.shallowRef;let c=!y(e.inheritLocale)||e.inheritLocale;const u=l(n&&c?n.locale.value:N(e.locale)?e.locale:Ue),m=l(n&&c?n.fallbackLocale.value:N(e.fallbackLocale)||k(e.fallbackLocale)||O(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:u.value),p=l(At(u.value,e)),d=l(O(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),g=l(O(e.numberFormats)?e.numberFormats:{[u.value]:{}});let E=n?n.missingWarn:!y(e.missingWarn)&&!f(e.missingWarn)||e.missingWarn,b=n?n.fallbackWarn:!y(e.fallbackWarn)&&!f(e.fallbackWarn)||e.fallbackWarn,v=n?n.fallbackRoot:!y(e.fallbackRoot)||e.fallbackRoot,I=!!e.fallbackFormat,C=L(e.missing)?e.missing:null,A=L(e.missing)?Mt(e.missing):null,P=L(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:!y(e.warnHtmlMessage)||e.warnHtmlMessage,F=!!e.escapeParameter;const D=n?n.modifiers:O(e.modifiers)?e.modifiers:{};let w,x=e.pluralRules||n&&n.pluralRules;w=(()=>{a&&Ye(null);const t={version:kt,locale:u.value,fallbackLocale:m.value,messages:p.value,modifiers:D,pluralRules:x,missing:null===A?void 0:A,missingWarn:E,fallbackWarn:b,fallbackFormat:I,unresolving:!0,postTranslation:null===P?void 0:P,warnHtmlMessage:S,escapeParameter:F,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=d.value,t.numberFormats=g.value,t.__datetimeFormatters=O(w)?w.__datetimeFormatters:void 0,t.__numberFormatters=O(w)?w.__numberFormatters:void 0;const n=Be(t);return a&&Ye(n),n})(),Qe(w,u.value,m.value);const M=t.computed({get:()=>u.value,set:e=>{w.locale=e,u.value=e}}),U=t.computed({get:()=>m.value,set:e=>{w.fallbackLocale=e,m.value=e,Qe(w,u.value,e)}}),W=t.computed((()=>p.value)),$=t.computed((()=>d.value)),j=t.computed((()=>g.value));const H=(e,t,r,o,s,l)=>{let c;u.value,m.value,p.value,d.value,g.value;try{0,a||(w.fallbackContext=n?Ge():void 0),c=e(w)}finally{a||(w.fallbackContext=void 0)}if("translate exists"!==r&&i(c)&&c===Me||"translate exists"===r&&!c){const[e,r]=t();return n&&v?o(n):s(e)}if(l(c))return c;throw Error(Lt.UNEXPECTED_RETURN_TYPE)};function V(...e){return H((t=>Reflect.apply(gt,null,[t,...e])),(()=>ht(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>N(e)))}const X={normalize:function(e){return e.map((e=>N(e)||i(e)||y(e)?St(String(e)):e))},interpolate:e=>e,type:"vnode"};function Y(e){return p.value[e]||{}}xt++,n&&o&&(t.watch(n.locale,(e=>{c&&(u.value=e,w.locale=e,Qe(w,u.value,m.value))})),t.watch(n.fallbackLocale,(e=>{c&&(m.value=e,w.fallbackLocale=e,Qe(w,u.value,m.value))})));const G={id:xt,locale:M,fallbackLocale:U,get inheritLocale(){return c},set inheritLocale(e){c=e,e&&n&&(u.value=n.locale.value,m.value=n.fallbackLocale.value,Qe(w,u.value,m.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:W,get modifiers(){return D},get pluralRules(){return x||{}},get isGlobal(){return a},get missingWarn(){return E},set missingWarn(e){E=e,w.missingWarn=E},get fallbackWarn(){return b},set fallbackWarn(e){b=e,w.fallbackWarn=b},get fallbackRoot(){return v},set fallbackRoot(e){v=e},get fallbackFormat(){return I},set fallbackFormat(e){I=e,w.fallbackFormat=I},get warnHtmlMessage(){return S},set warnHtmlMessage(e){S=e,w.warnHtmlMessage=e},get escapeParameter(){return F},set escapeParameter(e){F=e,w.escapeParameter=e},t:V,getLocaleMessage:Y,setLocaleMessage:function(e,t){if(s){const n={[e]:t};for(const e in n)h(n,e)&&Ot(n[e]);t=n[e]}p.value[e]=t,w.messages=p.value},mergeLocaleMessage:function(e,t){p.value[e]=p.value[e]||{};const n={[e]:t};if(s)for(const r in n)h(n,r)&&Ot(n[r]);R(t=n[e],p.value[e]),w.messages=p.value},getPostTranslationHandler:function(){return L(P)?P:null},setPostTranslationHandler:function(e){P=e,w.postTranslation=e},getMissingHandler:function(){return C},setMissingHandler:function(e){null!==e&&(A=Mt(e)),C=e,w.missing=A},[vt]:function(e){x=e,w.pluralRules=x}};return G.datetimeFormats=$,G.numberFormats=j,G.rt=function(...e){const[t,n,r]=e;if(r&&!T(r))throw Error(Lt.INVALID_ARGUMENT);return V(t,n,_({resolvedMessage:!0},r||{}))},G.te=function(e,t){return H((()=>{if(!e)return!1;const n=Y(N(t)?t:u.value),r=w.messageResolver(n,e);return ne(r)||dt(r)||N(r)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),wt,(e=>y(e)))},G.tm=function(e){const t=function(e){let t=null;const n=Ie(w,m.value,u.value);for(let r=0;r<n.length;r++){const a=p.value[n[r]]||{},o=w.messageResolver(a,e);if(null!=o){t=o;break}}return t}(e);return null!=t?t:n&&n.tm(e)||{}},G.d=function(...e){return H((t=>Reflect.apply(Ze,null,[t,...e])),(()=>tt(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>We),(e=>N(e)||k(e)))},G.n=function(...e){return H((t=>Reflect.apply(rt,null,[t,...e])),(()=>ot(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>We),(e=>N(e)||k(e)))},G.getDateTimeFormat=function(e){return d.value[e]||{}},G.setDateTimeFormat=function(e,t){d.value[e]=t,w.datetimeFormats=d.value,nt(w,e,t)},G.mergeDateTimeFormat=function(e,t){d.value[e]=_(d.value[e]||{},t),w.datetimeFormats=d.value,nt(w,e,t)},G.getNumberFormat=function(e){return g.value[e]||{}},G.setNumberFormat=function(e,t){g.value[e]=t,w.numberFormats=g.value,st(w,e,t)},G.mergeNumberFormat=function(e,t){g.value[e]=_(g.value[e]||{},t),w.numberFormats=g.value,st(w,e,t)},G[It]=r,G[Nt]=function(...e){return H((t=>{let n;const r=t;try{r.processor=X,n=Reflect.apply(gt,null,[r,...e])}finally{r.processor=null}return n}),(()=>ht(...e)),"translate",(t=>t[Nt](...e)),(e=>[St(e)]),(e=>k(e)))},G[yt]=function(...e){return H((t=>Reflect.apply(Ze,null,[t,...e])),(()=>tt(...e)),"datetime format",(t=>t[yt](...e)),Dt,(e=>N(e)||k(e)))},G[Tt]=function(...e){return H((t=>Reflect.apply(rt,null,[t,...e])),(()=>ot(...e)),"number format",(t=>t[Tt](...e)),Dt,(e=>N(e)||k(e)))},G}function Wt(e={}){const t=Ut(function(e){const t=N(e.locale)?e.locale:Ue,n=N(e.fallbackLocale)||k(e.fallbackLocale)||O(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=L(e.missing)?e.missing:void 0,a=!y(e.silentTranslationWarn)&&!f(e.silentTranslationWarn)||!e.silentTranslationWarn,o=!y(e.silentFallbackWarn)&&!f(e.silentFallbackWarn)||!e.silentFallbackWarn,s=!y(e.fallbackRoot)||e.fallbackRoot,l=!!e.formatFallbackMessages,c=O(e.modifiers)?e.modifiers:{},i=e.pluralizationRules,u=L(e.postTranslation)?e.postTranslation:void 0,m=!N(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,p=!!e.escapeParameterHtml,d=!y(e.sync)||e.sync;let g=e.messages;if(O(e.sharedMessages)){const t=e.sharedMessages;g=Object.keys(t).reduce(((e,n)=>{const r=e[n]||(e[n]={});return _(r,t[n]),e}),g||{})}const{__i18n:E,__root:b,__injectWithOption:h}=e,T=e.datetimeFormats,v=e.numberFormats;return{locale:t,fallbackLocale:n,messages:g,flatJson:e.flatJson,datetimeFormats:T,numberFormats:v,missing:r,missingWarn:a,fallbackWarn:o,fallbackRoot:s,fallbackFormat:l,modifiers:c,pluralRules:i,postTranslation:u,warnHtmlMessage:m,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:d,__i18n:E,__root:b,__injectWithOption:h}}(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return y(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=y(e)?!e:e},get silentFallbackWarn(){return y(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=y(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t:(...e)=>Reflect.apply(t.t,t,[...e]),rt:(...e)=>Reflect.apply(t.rt,t,[...e]),te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return r.__extender=n,r}function $t(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[vt](t.pluralizationRules||e.pluralizationRules);const n=At(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const jt={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Ht(){return t.Fragment}const Vt=t.defineComponent({name:"i18n-t",props:_({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>i(e)||!isNaN(e)}},jt),setup(e,n){const{slots:r,attrs:a}=n,o=e.i18n||qt({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(r).filter((e=>"_"!==e[0])),l=d();e.locale&&(l.locale=e.locale),void 0!==e.plural&&(l.plural=N(e.plural)?+e.plural:e.plural);const c=function({slots:e},n){if(1===n.length&&"default"===n[0])return(e.default?e.default():[]).reduce(((e,n)=>[...e,...n.type===t.Fragment?n.children:[n]]),[]);return n.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),d())}(n,s),i=o[Nt](e.keypath,c,l),u=_(d(),a),f=N(e.tag)||T(e.tag)?e.tag:Ht();return t.h(f,u,i)}}}),Xt=Vt;function Yt(e,n,r,a){const{slots:o,attrs:s}=n;return()=>{const n={part:!0};let l=d();e.locale&&(n.locale=e.locale),N(e.format)?n.key=e.format:T(e.format)&&(N(e.format.key)&&(n.key=e.format.key),l=Object.keys(e.format).reduce(((t,n)=>r.includes(n)?_(d(),t,{[n]:e.format[n]}):t),d()));const c=a(e.value,n,l);let i=[n.key];k(c)?i=c.map(((e,t)=>{const n=o[e.type],r=n?n({[e.type]:e.value,index:t,parts:c}):[e.value];var a;return k(a=r)&&!N(a[0])&&(r[0].key=`${e.type}-${t}`),r})):N(c)&&(i=[c]);const u=_(d(),s),f=N(e.tag)||T(e.tag)?e.tag:Ht();return t.h(f,u,i)}}const Gt=t.defineComponent({name:"i18n-n",props:_({value:{type:Number,required:!0},format:{type:[String,Object]}},jt),setup(e,t){const n=e.i18n||qt({useScope:e.scope,__useComponent:!0});return Yt(e,t,at,((...e)=>n[Tt](...e)))}}),Kt=Gt;function Bt(e){const n=t=>{const{instance:n,value:r}=t;if(!n||!n.$)throw Error(Lt.UNEXPECTED_ERROR);const a=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}(e,n.$),o=zt(r);return[Reflect.apply(a.t,a,[...Jt(o)]),a]};return{created:(r,a)=>{const[s,l]=n(a);o&&e.global===l&&(r.__i18nWatcher=t.watch(l.locale,(()=>{a.instance&&a.instance.$forceUpdate()}))),r.__composer=l,r.textContent=s},unmounted:e=>{o&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=zt(t);e.textContent=Reflect.apply(n.t,n,[...Jt(r)])}},getSSRProps:e=>{const[t]=n(e);return{textContent:t}}}}function zt(e){if(N(e))return{path:e};if(O(e)){if(!("path"in e))throw Error(Lt.REQUIRED_VALUE,"path");return e}throw Error(Lt.INVALID_VALUE)}function Jt(e){const{path:t,locale:n,args:r,choice:a,plural:o}=e,s={},l=r||{};return N(n)&&(s.locale=n),i(a)&&(s.plural=a),i(o)&&(s.plural=o),[t,l,s]}const Qt=s("global-vue-i18n");function qt(e={}){const n=Ft();if(null==n)throw Error(Lt.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&null!=n.appContext.app&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Error(Lt.NOT_INSTALLED);const r=function(e){const n=t.inject(e.isCE?Qt:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Error(e.isCE?Lt.NOT_INSTALLED_WITH_PROVIDE:Lt.UNEXPECTED_ERROR);return n}(n),a=function(e){return"composition"===e.mode?e.global:e.global.__composer}(r),o=Pt(n),s=function(e,t){return m(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,o);if("global"===s)return Rt(a,e,o),a;if("parent"===s){let t=function(e,t,n=!1){let r=null;const a=t.root;let o=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,n);for(;null!=o;){const t=e;if("composition"===e.mode)r=t.__getInstance(o);else{const e=t.__getInstance(o);null!=e&&(r=e.__composer,n&&r&&!r[It]&&(r=null))}if(null!=r)break;if(a===o)break;o=o.parent}return r}(r,n,e.__useComponent);return null==t&&(t=a),t}const l=r;let c=l.__getInstance(n);if(null==c){const r=_({},e);"__i18n"in o&&(r.__i18n=o.__i18n),a&&(r.__root=a),c=Ut(r),l.__composerExtend&&(c[Ct]=l.__composerExtend(c)),function(e,n,r){t.onMounted((()=>{}),n),t.onUnmounted((()=>{const t=r;e.__deleteInstance(n);const a=t[Ct];a&&(a(),delete t[Ct])}),n)}(l,n,c),l.__setInstance(n,c)}return c}const Zt=["locale","fallbackLocale","availableLocales"],en=["t","rt","d","n","tm","te"];const tn=t.defineComponent({name:"i18n-d",props:_({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 Yt(e,t,et,((...e)=>n[yt](...e)))}}),nn=tn;return je=function(e,t){if(N(e)){!y(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||he)(e),r=ke[n];if(r)return r;const{ast:a,detectError:o}=function(e,t={}){let n=!1;const r=t.onError||D;return t.onError=e=>{n=!0,r(e)},{...te(e,t),detectError:n}}(e,{...t,location:!1,jit:!0}),s=ge(a);return o?s:ke[n]=s}{const t=e.cacheKey;if(t){const n=ke[t];return n||(ke[t]=ge(e))}return ge(e)}},He=function(e,t){if(!T(e))return null;let n=De.get(t);if(n||(n=function(e){const t=[];let n,r,a,o,s,l,c,i=-1,u=0,f=0;const m=[];function _(){const t=e[i+1];if(5===u&&"'"===t||6===u&&'"'===t)return i++,a="\\"+t,m[0](),!0}for(m[0]=()=>{void 0===r?r=a:r+=a},m[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},m[2]=()=>{m[0](),f++},m[3]=()=>{if(f>0)f--,u=4,m[0]();else{if(f=0,void 0===r)return!1;if(r=Fe(r),!1===r)return!1;m[1]()}};null!==u;)if(i++,n=e[i],"\\"!==n||!_()){if(o=Se(n),c=Pe[u],s=c[o]||c.l||8,8===s)return;if(u=s[0],void 0!==s[1]&&(l=m[s[1]],l&&(a=n,!1===l())))return;if(7===u)return t}}(t),n&&De.set(t,n)),!n)return null;const r=n.length;let a=e,o=0;for(;o<r;){const e=n[o];if(pe.includes(e)&&ne(a))return null;const t=a[e];if(void 0===t)return null;if(L(a))return null;a=t,o++}return a},Ve=Ie,e.DatetimeFormat=tn,e.I18nD=nn,e.I18nInjectionKey=Qt,e.I18nN=Kt,e.I18nT=Xt,e.NumberFormat=Gt,e.Translation=Vt,e.VERSION=kt,e.createI18n=function(e={}){const n=!y(e.legacy)||e.legacy,r=!y(e.globalInjection)||e.globalInjection,a=new Map,[o,l]=function(e,n){const r=t.effectScope(),a=n?r.run((()=>Wt(e))):r.run((()=>Ut(e)));if(null==a)throw Error(Lt.UNEXPECTED_ERROR);return[r,a]}(e,n),c=s(""),i={get mode(){return n?"legacy":"composition"},async install(e,...a){if(e.__VUE_I18N_SYMBOL__=c,e.provide(e.__VUE_I18N_SYMBOL__,i),O(a[0])){const e=a[0];i.__composerExtend=e.__composerExtend,i.__vueI18nExtend=e.__vueI18nExtend}let o=null;!n&&r&&(o=function(e,n){const r=Object.create(null);Zt.forEach((e=>{const a=Object.getOwnPropertyDescriptor(n,e);if(!a)throw Error(Lt.UNEXPECTED_ERROR);const o=t.isRef(a.value)?{get:()=>a.value.value,set(e){a.value.value=e}}:{get:()=>a.get&&a.get()};Object.defineProperty(r,e,o)})),e.config.globalProperties.$i18n=r,en.forEach((t=>{const r=Object.getOwnPropertyDescriptor(n,t);if(!r||!r.value)throw Error(Lt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${t}`,r)}));const a=()=>{delete e.config.globalProperties.$i18n,en.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return a}(e,i.global)),function(e,t,...n){const r=O(n[0])?n[0]:{};(!y(r.globalInstall)||r.globalInstall)&&([Vt.name,"I18nT"].forEach((t=>e.component(t,Vt))),[Gt.name,"I18nN"].forEach((t=>e.component(t,Gt))),[tn.name,"I18nD"].forEach((t=>e.component(t,tn)))),e.directive("t",Bt(t))}(e,i,...a),n&&e.mixin(function(e,t,n){return{beforeCreate(){const r=Ft();if(!r)throw Error(Lt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=$t(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Wt(r);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=$t(e,a);else{this.$i18n=Wt({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Rt(t,a,a),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const e=Ft();if(!e)throw Error(Lt.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(l,l.__composer,i));const s=e.unmount;e.unmount=()=>{o&&o(),i.dispose(),s()}},get global(){return l},dispose(){o.stop()},__instances:a,__getInstance:function(e){return a.get(e)||null},__setInstance:function(e,t){a.set(e,t)},__deleteInstance:function(e){a.delete(e)}};return i},e.useI18n=qt,e.vTDirective=Bt,e}({},Vue);
|
|
6
|
+
var VueI18n=function(e,t){"use strict";function n(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var r=n(t);function a(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const o="undefined"!=typeof window,s=(e,t=!1)=>t?Symbol.for(e):Symbol(e),l=(e,t,n)=>c({l:e,k:t,s:n}),c=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),i=e=>"number"==typeof e&&isFinite(e),u=e=>"[object Date]"===C(e),f=e=>"[object RegExp]"===C(e),m=e=>O(e)&&0===Object.keys(e).length,_=Object.assign,p=Object.create,d=(e=null)=>p(e);function g(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function E(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}const b=Object.prototype.hasOwnProperty;function h(e,t){return b.call(e,t)}const k=Array.isArray,L=e=>"function"==typeof e,N=e=>"string"==typeof e,y=e=>"boolean"==typeof e,T=e=>null!==e&&"object"==typeof e,v=e=>T(e)&&L(e.then)&&L(e.catch),I=Object.prototype.toString,C=e=>I.call(e),O=e=>"[object Object]"===C(e);function A(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}const P=e=>!T(e)||k(e);function R(e,t){if(P(e)||P(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((r=>{"__proto__"!==r&&(T(e[r])&&!T(t[r])&&(t[r]=Array.isArray(e[r])?[]:d()),P(t[r])||P(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))}))}}function S(e,t,n){return{start:e,end:t}}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};function D(e){throw e}const w=" ",x="\r",M="\n",U=String.fromCharCode(8232),W=String.fromCharCode(8233);function $(e){const t=e;let n=0,r=1,a=1,o=0;const s=e=>t[e]===x&&t[e+1]===M,l=e=>t[e]===W,c=e=>t[e]===U,i=e=>s(e)||(e=>t[e]===M)(e)||l(e)||c(e),u=e=>s(e)||l(e)||c(e)?M:t[e];function f(){return o=0,i(n)&&(r++,a=0),s(n)&&n++,n++,a++,t[n]}return{index:()=>n,line:()=>r,column:()=>a,peekOffset:()=>o,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+o),next:f,peek:function(){return s(n+o)&&o++,o++,t[n+o]},reset:function(){n=0,r=1,a=1,o=0},resetPeek:function(e=0){o=e},skipToPeek:function(){const e=n+o;for(;e!==n;)f();o=0}}}const j=void 0,H="'";function V(e,t={}){const n=!1!==t.location,r=$(e),a=()=>r.index(),o=()=>{return e=r.line(),t=r.column(),n=r.index(),{line:e,column:t,offset:n};var e,t,n},s=o(),l=a(),c={currentType:13,offset:l,startLoc:s,endLoc:s,lastType:13,lastOffset:l,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},i=()=>c,{onError:u}=t;function f(e,t,r){e.endLoc=o(),e.currentType=t;const a={type:t};return n&&(a.loc=S(e.startLoc,e.endLoc)),null!=r&&(a.value=r),a}const m=e=>f(e,13);function _(e,t){return e.currentChar()===t?(e.next(),t):(F.EXPECTED_TOKEN,o(),"")}function p(e){let t="";for(;e.currentPeek()===w||e.currentPeek()===M;)t+=e.currentPeek(),e.peek();return t}function d(e){const t=p(e);return e.skipToPeek(),t}function g(e){if(e===j)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function E(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=function(e){if(e===j)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}function b(e){p(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function h(e,t=!0){const n=(t=!1,r="")=>{const a=e.currentPeek();return"{"===a?t:"@"!==a&&a?"|"===a?!(r===w||r===M):a===w?(e.peek(),n(!0,w)):a!==M||(e.peek(),n(!0,M)):t},r=n();return t&&e.resetPeek(),r}function k(e,t){const n=e.currentChar();return n===j?j:t(n)?(e.next(),n):null}function L(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function N(e){return k(e,L)}function y(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function T(e){return k(e,y)}function v(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function I(e){return k(e,v)}function C(e){const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function O(e){return k(e,C)}function A(e){let t="",n="";for(;t=I(e);)n+=t;return n}function P(e){return e!==H&&e!==M}function R(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return D(e,t,4);case"U":return D(e,t,6);default:return F.UNKNOWN_ESCAPE_SEQUENCE,o(),""}}function D(e,t,n){_(e,t);let r="";for(let a=0;a<n;a++){const t=O(e);if(!t){F.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),e.currentChar();break}r+=t}return`\\${t}${r}`}function x(e){return"{"!==e&&"}"!==e&&e!==w&&e!==M}function U(e){d(e);let t="",n="";for(;t=k(e,x);)n+=t;return n}function W(e){d(e);const t=_(e,"|");return d(e),t}function V(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&(F.NOT_ALLOW_NEST_PLACEHOLDER,o()),e.next(),n=f(t,2,"{"),d(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&(F.EMPTY_PLACEHOLDER,o()),e.next(),n=f(t,3,"}"),t.braceNest--,t.braceNest>0&&d(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&(F.UNTERMINATED_CLOSING_BRACE,o()),n=X(e,t)||m(t),t.braceNest=0,n;default:{let r=!0,a=!0,s=!0;if(b(e))return t.braceNest>0&&(F.UNTERMINATED_CLOSING_BRACE,o()),n=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(4===t.currentType||5===t.currentType||6===t.currentType))return F.UNTERMINATED_CLOSING_BRACE,o(),t.braceNest=0,Y(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t))return n=f(t,4,function(e){d(e);let t="",n="";for(;t=T(e);)n+=t;const r=e.currentChar();if(r&&"}"!==r&&r!==j&&r!==w&&r!==M&&" "!==r){const t=U(e);return F.INVALID_TOKEN_IN_PLACEHOLDER,o(),n+t}return e.currentChar()===j&&(F.UNTERMINATED_CLOSING_BRACE,o()),n}(e)),d(e),n;if(a=E(e,t))return n=f(t,5,function(e){d(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${A(e)}`):t+=A(e),e.currentChar()===j&&(F.UNTERMINATED_CLOSING_BRACE,o()),t}(e)),d(e),n;if(s=function(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=e.currentPeek()===H;return e.resetPeek(),r}(e,t))return n=f(t,6,function(e){d(e),_(e,"'");let t="",n="";for(;t=k(e,P);)n+="\\"===t?R(e):t;const r=e.currentChar();return r===M||r===j?(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),r===M&&(e.next(),_(e,"'")),n):(_(e,"'"),n)}(e)),d(e),n;if(!r&&!a&&!s)return n=f(t,12,U(e)),F.INVALID_TOKEN_IN_PLACEHOLDER,o(),n.value,d(e),n;break}}return n}function X(e,t){const{currentType:n}=t;let r=null;const a=e.currentChar();switch(7!==n&&8!==n&&11!==n&&9!==n||a!==M&&a!==w||(F.INVALID_LINKED_FORMAT,o()),a){case"@":return e.next(),r=f(t,7,"@"),t.inLinked=!0,r;case".":return d(e),e.next(),f(t,8,".");case":":return d(e),e.next(),f(t,9,":");default:return b(e)?(r=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(7!==n)return!1;p(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(7!==n&&11!==n)return!1;p(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(d(e),X(e,t)):function(e,t){const{currentType:n}=t;if(8!==n)return!1;p(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t)?(d(e),f(t,11,function(e){let t="",n="";for(;t=N(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(9!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?g(e.peek()):!("@"===t||"|"===t||":"===t||"."===t||t===w||!t)&&(t===M?(e.peek(),r()):h(e,!1))},a=r();return e.resetPeek(),a}(e,t)?(d(e),"{"===a?V(e,t)||r:f(t,10,function(e){const t=n=>{const r=e.currentChar();return"{"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===w?n:(n+=r,e.next(),t(n)):n};return t("")}(e))):(7===n&&(F.INVALID_LINKED_FORMAT,o()),t.braceNest=0,t.inLinked=!1,Y(e,t))}}function Y(e,t){let n={type:13};if(t.braceNest>0)return V(e,t)||m(t);if(t.inLinked)return X(e,t)||m(t);switch(e.currentChar()){case"{":return V(e,t)||m(t);case"}":return F.UNBALANCED_CLOSING_BRACE,o(),e.next(),f(t,3,"}");case"@":return X(e,t)||m(t);default:if(b(e))return n=f(t,1,W(e)),t.braceNest=0,t.inLinked=!1,n;if(h(e))return f(t,0,function(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if(n===w||n===M)if(h(e))t+=n,e.next();else{if(b(e))break;t+=n,e.next()}else t+=n,e.next()}return t}(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:s}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=s,c.offset=a(),c.startLoc=o(),r.currentChar()===j?f(c,13):Y(r,c)},currentOffset:a,currentPosition:o,context:i}}const X=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Y(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function G(e={}){const t=!1!==e.location,{onError:n}=e;function r(e,n,r){const a={type:e};return t&&(a.start=n,a.end=n,a.loc={start:r,end:r}),a}function a(e,n,r,a){t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){const n=e.context(),o=r(3,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}function s(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:s}=n,l=r(5,o,s);return l.index=parseInt(t,10),e.nextToken(),a(l,e.currentOffset(),e.currentPosition()),l}function l(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:s}=n,l=r(4,o,s);return l.key=t,e.nextToken(),a(l,e.currentOffset(),e.currentPosition()),l}function c(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:s}=n,l=r(9,o,s);return l.value=t.replace(X,Y),e.nextToken(),a(l,e.currentOffset(),e.currentPosition()),l}function i(e){const t=e.context(),n=r(6,t.offset,t.startLoc);let o=e.nextToken();if(8===o.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:s}=n,l=r(8,o,s);return 11!==t.type?(F.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,l.value="",a(l,o,s),{nextConsumeToken:t,node:l}):(null==t.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,K(t)),l.value=t.value||"",a(l,e.currentOffset(),e.currentPosition()),{node:l})}(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(9!==o.type&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(o)),o=e.nextToken(),2===o.type&&(o=e.nextToken()),o.type){case 10:null==o.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(o)),n.key=function(e,t){const n=e.context(),o=r(7,n.offset,n.startLoc);return o.value=t,a(o,e.currentOffset(),e.currentPosition()),o}(e,o.value||"");break;case 4:null==o.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(o)),n.key=l(e,o.value||"");break;case 5:null==o.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(o)),n.key=s(e,o.value||"");break;case 6:null==o.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(o)),n.key=c(e,o.value||"");break;default:{F.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc;const s=e.context(),l=r(7,s.offset,s.startLoc);return l.value="",a(l,s.offset,s.startLoc),n.key=l,a(n,s.offset,s.startLoc),{nextConsumeToken:o,node:n}}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function u(e){const t=e.context(),n=r(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let u=null;do{const r=u||e.nextToken();switch(u=null,r.type){case 0:null==r.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(r)),n.items.push(o(e,r.value||""));break;case 5:null==r.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(r)),n.items.push(s(e,r.value||""));break;case 4:null==r.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(r)),n.items.push(l(e,r.value||""));break;case 6:null==r.value&&(F.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,K(r)),n.items.push(c(e,r.value||""));break;case 7:{const t=i(e);n.items.push(t.node),u=t.nextConsumeToken||null;break}}}while(13!==t.currentType&&1!==t.currentType);return a(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function f(e){const t=e.context(),{offset:n,startLoc:o}=t,s=u(e);return 13===t.currentType?s:function(e,t,n,o){const s=e.context();let l=0===o.items.length;const c=r(1,t,n);c.cases=[],c.cases.push(o);do{const t=u(e);l||(l=0===t.items.length),c.cases.push(t)}while(13!==s.currentType);return a(c,e.currentOffset(),e.currentPosition()),c}(e,n,o,s)}return{parse:function(n){const o=V(n,_({},e)),s=o.context(),l=r(0,s.offset,s.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=f(o),e.onCacheKey&&(l.cacheKey=e.onCacheKey(n)),13!==s.currentType&&(F.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,n[s.offset]),a(l,o.currentOffset(),o.currentPosition()),l}}}function K(e){if(13===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function B(e,t){for(let n=0;n<e.length;n++)z(e[n],t)}function z(e,t){switch(e.type){case 1:B(e.cases,t),t.helper("plural");break;case 2:B(e.items,t);break;case 6:z(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")}}function J(e,t={}){const n=function(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&z(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Q(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(3!==r.type&&9!==r.type)break;if(null==r.value)break;t.push(r.value)}if(t.length===e.items.length){e.static=A(t);for(let t=0;t<e.items.length;t++){const n=e.items[t];3!==n.type&&9!==n.type||delete n.value}}}}function q(e){switch(e.t=e.type,e.type){case 0:{const t=e;q(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let e=0;e<n.length;e++)q(n[e]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let e=0;e<n.length;e++)q(n[e]);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;q(t.key),t.k=t.key,delete t.key,t.modifier&&(q(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}}delete e.type}function Z(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?Z(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let n=0;n<a&&(Z(e,t.cases[n]),n!==a-1);n++)e.push(", ");e.deindent(r()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let o=0;o<a&&(Z(e,t.items[o]),o!==a-1);o++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Z(e,t.key),t.modifier?(e.push(", "),Z(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3: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)}}const ee=(e,t={})=>{const n=N(t.mode)?t.mode:"normal",r=N(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,o=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",s=t.needIndent?t.needIndent:"arrow"!==n,l=e.helpers||[],c=function(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:o}=t,s=!1!==t.location,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:o,indentLevel:0};function c(e,t){l.code+=e}function i(e,t=!0){const n=t?a:"";c(o?n+" ".repeat(e):n)}return s&&e.loc&&(l.source=e.loc.source),{context:()=>l,push:c,indent:function(e=!0){const t=++l.indentLevel;e&&i(t)},deindent:function(e=!0){const t=--l.indentLevel;e&&i(t)},newline:function(){i(l.indentLevel)},helper:e=>`_${e}`,needIndent:()=>l.needIndent}}(e,{mode:n,filename:r,sourceMap:a,breakLineCode:o,needIndent:s});c.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(s),l.length>0&&(c.push(`const { ${A(l.map((e=>`${e}: _${e}`)),", ")} } = ctx`),c.newline()),c.push("return "),Z(c,e),c.deindent(s),c.push("}"),delete e.helpers;const{code:i,map:u}=c.context();return{ast:e,code:i,map:u?u.toJSON():void 0}};function te(e,t={}){const n=_({},t),r=!!n.jit,a=!!n.minify,o=null==n.optimize||n.optimize,s=G(n).parse(e);return r?(o&&function(e){const t=e.body;2===t.type?Q(t):t.cases.forEach((e=>Q(e)))}(s),a&&q(s),{ast:s,code:""}):(J(s,n),ee(s,n))}function ne(e){return T(e)&&0===ce(e)&&(h(e,"b")||h(e,"body"))}const re=["b","body"];const ae=["c","cases"];const oe=["s","static"];const se=["i","items"];const le=["t","type"];function ce(e){return _e(e,le)}const ie=["v","value"];function ue(e,t){const n=_e(e,ie);if(null!=n)return n;throw de(t)}const fe=["m","modifier"];const me=["k","key"];function _e(e,t,n){for(let r=0;r<t.length;r++){const n=t[r];if(h(e,n)&&null!=e[n])return e[n]}return n}const pe=[...re,...ae,...oe,...se,...me,...fe,...ie,...le];function de(e){return new Error(`unhandled node type: ${e}`)}function ge(e){return t=>function(e,t){const n=(r=t,_e(r,re));var r;if(null==n)throw de(0);if(1===ce(n)){const t=function(e){return _e(e,ae,[])}(n);return e.plural(t.reduce(((t,n)=>[...t,Ee(e,n)]),[]))}return Ee(e,n)}(t,e)}function Ee(e,t){const n=function(e){return _e(e,oe)}(t);if(null!=n)return"text"===e.type?n:e.normalize([n]);{const n=function(e){return _e(e,se,[])}(t).reduce(((t,n)=>[...t,be(e,n)]),[]);return e.normalize(n)}}function be(e,t){const n=ce(t);switch(n){case 3:case 9:case 7:case 8:return ue(t,n);case 4:{const r=t;if(h(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(h(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw de(n)}case 5:{const r=t;if(h(r,"i")&&i(r.i))return e.interpolate(e.list(r.i));if(h(r,"index")&&i(r.index))return e.interpolate(e.list(r.index));throw de(n)}case 6:{const n=t,r=function(e){return _e(e,fe)}(n),a=function(e){const t=_e(e,me);if(t)return t;throw de(6)}(n);return e.linked(be(e,a),r?be(e,r):void 0,e.type)}default:throw new Error(`unhandled node on format message part: ${n}`)}}const he=e=>e;let ke=d();const Le={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Ne(e,t){return null!=t.locale?Te(t.locale):Te(e.locale)}let ye;function Te(e){if(N(e))return e;if(L(e)){if(e.resolvedOnce&&null!=ye)return ye;if("Function"===e.constructor.name){const t=e();if(v(t))throw Error(Le.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ye=t}throw Error(Le.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Error(Le.NOT_SUPPORT_LOCALE_TYPE)}function ve(e,t,n){return[...new Set([n,...k(t)?t:T(t)?Object.keys(t):N(t)?[t]:[n]])]}function Ie(e,t,n){const r=N(n)?n:Ue,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let o=a.__localeChainCache.get(r);if(!o){o=[];let e=[n];for(;k(e);)e=Ce(o,e,t);const s=k(t)||!O(t)?t:t.default?t.default:null;e=N(s)?[s]:s,k(e)&&Ce(o,e,!1),a.__localeChainCache.set(r,o)}return o}function Ce(e,t,n){let r=!0;for(let a=0;a<t.length&&y(r);a++){const o=t[a];N(o)&&(r=Oe(e,t[a],n))}return r}function Oe(e,t,n){let r;const a=t.split("-");do{r=Ae(e,a.join("-"),n),a.splice(-1,1)}while(a.length&&!0===r);return r}function Ae(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];const a=t.replace(/!/g,"");e.push(a),(k(n)||O(n))&&n[a]&&(r=n[a])}return r}const Pe=[];Pe[0]={w:[0],i:[3,0],"[":[4],o:[7]},Pe[1]={w:[1],".":[2],"[":[4],o:[7]},Pe[2]={w:[2],i:[3,0],0:[3,0]},Pe[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Pe[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Pe[5]={"'":[4,0],o:8,l:[5,0]},Pe[6]={'"':[4,0],o:8,l:[6,0]};const Re=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Se(e){if(null==e)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 Fe(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,Re.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const De=new Map;function we(e,t){return T(e)?e[t]:null}const xe="11.2.7",Me=-1,Ue="en-US",We="",$e=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let je,He,Ve;let Xe=null;const Ye=e=>{Xe=e},Ge=()=>Xe;let Ke=0;function Be(e={}){const t=L(e.onWarn)?e.onWarn:a,n=N(e.version)?e.version:xe,r=N(e.locale)||L(e.locale)?e.locale:Ue,o=L(r)?Ue:r,s=k(e.fallbackLocale)||O(e.fallbackLocale)||N(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:o,l=O(e.messages)?e.messages:ze(o),c=O(e.datetimeFormats)?e.datetimeFormats:ze(o),i=O(e.numberFormats)?e.numberFormats:ze(o),u=_(d(),e.modifiers,{upper:(e,t)=>"text"===t&&N(e)?e.toUpperCase():"vnode"===t&&T(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&N(e)?e.toLowerCase():"vnode"===t&&T(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&N(e)?$e(e):"vnode"===t&&T(e)&&"__v_isVNode"in e?$e(e.children):e}),m=e.pluralRules||d(),p=L(e.missing)?e.missing:null,g=!y(e.missingWarn)&&!f(e.missingWarn)||e.missingWarn,E=!y(e.fallbackWarn)&&!f(e.fallbackWarn)||e.fallbackWarn,b=!!e.fallbackFormat,h=!!e.unresolving,v=L(e.postTranslation)?e.postTranslation:null,I=O(e.processor)?e.processor:null,C=!y(e.warnHtmlMessage)||e.warnHtmlMessage,A=!!e.escapeParameter,P=L(e.messageCompiler)?e.messageCompiler:je,R=L(e.messageResolver)?e.messageResolver:He||we,S=L(e.localeFallbacker)?e.localeFallbacker:Ve||ve,F=T(e.fallbackContext)?e.fallbackContext:void 0,D=e,w=T(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,x=T(D.__numberFormatters)?D.__numberFormatters:new Map,M=T(D.__meta)?D.__meta:{};Ke++;const U={version:n,cid:Ke,locale:r,fallbackLocale:s,messages:l,modifiers:u,pluralRules:m,missing:p,missingWarn:g,fallbackWarn:E,fallbackFormat:b,unresolving:h,postTranslation:v,processor:I,warnHtmlMessage:C,escapeParameter:A,messageCompiler:P,messageResolver:R,localeFallbacker:S,fallbackContext:F,onWarn:t,__meta:M};return U.datetimeFormats=c,U.numberFormats=i,U.__datetimeFormatters=w,U.__numberFormatters=x,U}const ze=e=>({[e]:d()});function Je(e,t,n,r,a){const{missing:o,onWarn:s}=e;if(null!==o){const r=o(e,n,t,a);return N(r)?r:t}return t}function Qe(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function qe(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let o=n+1;o<t.length;o++)if(r=e,a=t[o],r!==a&&r.split("-")[0]===a.split("-")[0])return!0;var r,a;return!1}function Ze(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:s}=e,{__datetimeFormatters:l}=e,[c,i,u,f]=tt(...t);y(u.missingWarn)?u.missingWarn:e.missingWarn;y(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,d=Ne(e,u),g=s(e,a,d);if(!N(c)||""===c)return new Intl.DateTimeFormat(d,f).format(i);let E,b={},h=null;for(let m=0;m<g.length&&(E=g[m],b=n[E]||{},h=b[c],!O(h));m++)Je(e,c,E,0,"datetime format");if(!O(h)||!N(E))return r?Me:c;let k=`${E}__${c}`;m(f)||(k=`${k}__${JSON.stringify(f)}`);let L=l.get(k);return L||(L=new Intl.DateTimeFormat(E,_({},h,f)),l.set(k,L)),p?L.formatToParts(i):L.format(i)}const et=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function tt(...e){const[t,n,r,a]=e,o=d();let s,l=d();if(N(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Error(Le.INVALID_ISO_DATE_ARGUMENT);const n=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();s=new Date(n);try{s.toISOString()}catch{throw Error(Le.INVALID_ISO_DATE_ARGUMENT)}}else if(u(t)){if(isNaN(t.getTime()))throw Error(Le.INVALID_DATE_ARGUMENT);s=t}else{if(!i(t))throw Error(Le.INVALID_ARGUMENT);s=t}return N(n)?o.key=n:O(n)&&Object.keys(n).forEach((e=>{et.includes(e)?l[e]=n[e]:o[e]=n[e]})),N(r)?o.locale=r:O(r)&&(l=r),O(a)&&(l=a),[o.key||"",s,o,l]}function nt(e,t,n){const r=e;for(const a in n){const e=`${t}__${a}`;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function rt(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:o,localeFallbacker:s}=e,{__numberFormatters:l}=e,[c,i,u,f]=ot(...t);y(u.missingWarn)?u.missingWarn:e.missingWarn;y(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,d=Ne(e,u),g=s(e,a,d);if(!N(c)||""===c)return new Intl.NumberFormat(d,f).format(i);let E,b={},h=null;for(let m=0;m<g.length&&(E=g[m],b=n[E]||{},h=b[c],!O(h));m++)Je(e,c,E,0,"number format");if(!O(h)||!N(E))return r?Me:c;let k=`${E}__${c}`;m(f)||(k=`${k}__${JSON.stringify(f)}`);let L=l.get(k);return L||(L=new Intl.NumberFormat(E,_({},h,f)),l.set(k,L)),p?L.formatToParts(i):L.format(i)}const at=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ot(...e){const[t,n,r,a]=e,o=d();let s=d();if(!i(t))throw Error(Le.INVALID_ARGUMENT);const l=t;return N(n)?o.key=n:O(n)&&Object.keys(n).forEach((e=>{at.includes(e)?s[e]=n[e]:o[e]=n[e]})),N(r)?o.locale=r:O(r)&&(s=r),O(a)&&(s=a),[o.key||"",l,o,s]}function st(e,t,n){const r=e;for(const a in n){const e=`${t}__${a}`;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}const lt=e=>e,ct=e=>"",it="text",ut=e=>0===e.length?"":A(e),ft=e=>null==e?"":k(e)||O(e)&&e.toString===I?JSON.stringify(e,null,2):String(e);function mt(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function _t(e={}){const t=e.locale,n=function(e){const t=i(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(i(e.named.count)||i(e.named.n))?i(e.named.count)?e.named.count:i(e.named.n)?e.named.n:t:t}(e),r=T(e.pluralRules)&&N(t)&&L(e.pluralRules[t])?e.pluralRules[t]:mt,a=T(e.pluralRules)&&N(t)&&L(e.pluralRules[t])?mt:void 0,o=e.list||[],s=e.named||d();i(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,s);function l(t,n){const r=L(e.messages)?e.messages(t,!!n):!!T(e.messages)&&e.messages[t];return r||(e.parent?e.parent.message(t):ct)}const c=O(e.processor)&&L(e.processor.normalize)?e.processor.normalize:ut,u=O(e.processor)&&L(e.processor.interpolate)?e.processor.interpolate:ft,f={list:e=>o[e],named:e=>s[e],plural:e=>e[r(n,e.length,a)],linked:(t,...n)=>{const[r,a]=n;let o="text",s="";1===n.length?T(r)?(s=r.modifier||s,o=r.type||o):N(r)&&(s=r||s):2===n.length&&(N(r)&&(s=r||s),N(a)&&(o=a||o));const c=l(t,!0)(f),i="vnode"===o&&k(c)&&s?c[0]:c;return s?(u=s,e.modifiers?e.modifiers[u]:lt)(i,o):i;var u},message:l,type:O(e.processor)&&N(e.processor.type)?e.processor.type:it,interpolate:u,normalize:c,values:_(d(),o,s)};return f}const pt=()=>"",dt=e=>L(e);function gt(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:o,fallbackLocale:s,messages:l}=e,[c,u]=ht(...t),f=y(u.missingWarn)?u.missingWarn:e.missingWarn,m=y(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,_=y(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,b=N(u.default)||y(u.default)?y(u.default)?o?c:()=>c:u.default:n?o?c:()=>c:null,h=n||null!=b&&(N(b)||L(b)),v=Ne(e,u);_&&function(e){k(e.list)?e.list=e.list.map((e=>N(e)?g(e):e)):T(e.named)&&Object.keys(e.named).forEach((t=>{N(e.named[t])&&(e.named[t]=g(e.named[t]))}))}(u);let[I,C,O]=p?[c,v,l[v]||d()]:Et(e,c,v,s,m,f),A=I,P=c;if(p||N(A)||ne(A)||dt(A)||h&&(A=b,P=A),!(p||(N(A)||ne(A)||dt(A))&&N(C)))return a?Me:c;let R=!1;const S=dt(A)?A:bt(e,c,C,A,P,(()=>{R=!0}));if(R)return A;const F=function(e,t,n,r){const{modifiers:a,pluralRules:o,messageResolver:s,fallbackLocale:l,fallbackWarn:c,missingWarn:u,fallbackContext:f}=e,m=(r,a)=>{let o=s(n,r);if(null==o&&(f||a)){const[,,n]=Et(f||e,r,t,l,c,u);o=s(n,r)}if(N(o)||ne(o)){let n=!1;const a=bt(e,r,t,o,r,(()=>{n=!0}));return n?pt:a}return dt(o)?o:pt},_={locale:t,modifiers:a,pluralRules:o,messages:m};e.processor&&(_.processor=e.processor);r.list&&(_.list=r.list);r.named&&(_.named=r.named);i(r.plural)&&(_.pluralIndex=r.plural);return _}(e,C,O,u),D=function(e,t,n){const r=t(n);return r}(0,S,_t(F));let w=r?r(D,c):D;var x;return _&&N(w)&&(x=(x=(x=w).replace(/(\w+)\s*=\s*"([^"]*)"/g,((e,t,n)=>`${t}="${E(n)}"`))).replace(/(\w+)\s*=\s*'([^']*)'/g,((e,t,n)=>`${t}='${E(n)}'`)),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(x)&&(x=x.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach((e=>{x=x.replace(e,"$1javascript:")})),w=x),w}function Et(e,t,n,r,a,o){const{messages:s,onWarn:l,messageResolver:c,localeFallbacker:i}=e,u=i(e,r,n);let f,m=d(),_=null;for(let p=0;p<u.length&&(f=u[p],m=s[f]||d(),null===(_=c(m,t))&&(_=m[t]),!(N(_)||ne(_)||dt(_)));p++)if(!qe(f,u)){const n=Je(e,t,f,0,"translate");n!==t&&(_=n)}return[_,f,m]}function bt(e,t,n,r,a,o){const{messageCompiler:s,warnHtmlMessage:c}=e;if(dt(r)){const e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(null==s){const e=()=>r;return e.locale=n,e.key=t,e}const i=s(r,function(e,t,n,r,a,o){return{locale:t,key:n,warnHtmlMessage:a,onError:e=>{throw o&&o(e),e},onCacheKey:e=>l(t,n,e)}}(0,n,a,0,c,o));return i.locale=n,i.key=t,i.source=r,i}function ht(...e){const[t,n,r]=e,a=d();if(!(N(t)||i(t)||dt(t)||ne(t)))throw Error(Le.INVALID_ARGUMENT);const o=i(t)?String(t):(dt(t),t);return i(n)?a.plural=n:N(n)?a.default=n:O(n)&&!m(n)?a.named=n:k(n)&&(a.list=n),i(r)?a.plural=r:N(r)?a.default=r:O(r)&&_(a,r),[o,a]}const kt="11.2.7",Lt={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34},Nt=s("__translateVNode"),yt=s("__datetimeParts"),Tt=s("__numberParts"),vt=s("__setPluralRules"),It=s("__injectWithOption"),Ct=s("__dispose");function Ot(e){if(!T(e))return e;if(ne(e))return e;for(const t in e)if(h(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let a=e,o=!1;for(let e=0;e<r;e++){if("__proto__"===n[e])throw new Error(`unsafe key: ${n[e]}`);if(n[e]in a||(a[n[e]]=d()),!T(a[n[e]])){o=!0;break}a=a[n[e]]}if(o||(ne(a)?pe.includes(n[r])||delete e[t]:(a[n[r]]=e[t],delete e[t])),!ne(a)){const e=a[n[r]];T(e)&&Ot(e)}}else T(e[t])&&Ot(e[t]);return e}function At(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:o}=t,s=O(n)?n:k(r)?d():{[e]:d()};if(k(r)&&r.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(s[t]=s[t]||d(),R(n,s[t])):R(n,s)}else N(e)&&R(JSON.parse(e),s)})),null==a&&o)for(const l in s)h(s,l)&&Ot(s[l]);return s}function Pt(e){return e.type}function Rt(e,t,n){let r=T(t.messages)?t.messages:d();"__i18nGlobal"in n&&(r=At(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);if(a.length&&a.forEach((t=>{e.mergeLocaleMessage(t,r[t])})),T(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(T(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function St(e){return t.createVNode(t.Text,null,e,0)}function Ft(){const e="currentInstance";return e in r?r[e]:r.getCurrentInstance()}const Dt=()=>[],wt=()=>!1;let xt=0;function Mt(e){return(t,n,r,a)=>e(n,r,Ft()||void 0,a)}function Ut(e={}){const{__root:n,__injectWithOption:r}=e,a=void 0===n,s=e.flatJson,l=o?t.ref:t.shallowRef;let c=!y(e.inheritLocale)||e.inheritLocale;const u=l(n&&c?n.locale.value:N(e.locale)?e.locale:Ue),m=l(n&&c?n.fallbackLocale.value:N(e.fallbackLocale)||k(e.fallbackLocale)||O(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:u.value),p=l(At(u.value,e)),d=l(O(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),g=l(O(e.numberFormats)?e.numberFormats:{[u.value]:{}});let E=n?n.missingWarn:!y(e.missingWarn)&&!f(e.missingWarn)||e.missingWarn,b=n?n.fallbackWarn:!y(e.fallbackWarn)&&!f(e.fallbackWarn)||e.fallbackWarn,v=n?n.fallbackRoot:!y(e.fallbackRoot)||e.fallbackRoot,I=!!e.fallbackFormat,C=L(e.missing)?e.missing:null,A=L(e.missing)?Mt(e.missing):null,P=L(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:!y(e.warnHtmlMessage)||e.warnHtmlMessage,F=!!e.escapeParameter;const D=n?n.modifiers:O(e.modifiers)?e.modifiers:{};let w,x=e.pluralRules||n&&n.pluralRules;w=(()=>{a&&Ye(null);const t={version:kt,locale:u.value,fallbackLocale:m.value,messages:p.value,modifiers:D,pluralRules:x,missing:null===A?void 0:A,missingWarn:E,fallbackWarn:b,fallbackFormat:I,unresolving:!0,postTranslation:null===P?void 0:P,warnHtmlMessage:S,escapeParameter:F,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=d.value,t.numberFormats=g.value,t.__datetimeFormatters=O(w)?w.__datetimeFormatters:void 0,t.__numberFormatters=O(w)?w.__numberFormatters:void 0;const n=Be(t);return a&&Ye(n),n})(),Qe(w,u.value,m.value);const M=t.computed({get:()=>u.value,set:e=>{w.locale=e,u.value=e}}),U=t.computed({get:()=>m.value,set:e=>{w.fallbackLocale=e,m.value=e,Qe(w,u.value,e)}}),W=t.computed((()=>p.value)),$=t.computed((()=>d.value)),j=t.computed((()=>g.value));const H=(e,t,r,o,s,l)=>{let c;u.value,m.value,p.value,d.value,g.value;try{0,a||(w.fallbackContext=n?Ge():void 0),c=e(w)}finally{a||(w.fallbackContext=void 0)}if("translate exists"!==r&&i(c)&&c===Me||"translate exists"===r&&!c){const[e,r]=t();return n&&v?o(n):s(e)}if(l(c))return c;throw Error(Lt.UNEXPECTED_RETURN_TYPE)};function V(...e){return H((t=>Reflect.apply(gt,null,[t,...e])),(()=>ht(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>N(e)))}const X={normalize:function(e){return e.map((e=>N(e)||i(e)||y(e)?St(String(e)):e))},interpolate:e=>e,type:"vnode"};function Y(e){return p.value[e]||{}}xt++,n&&o&&(t.watch(n.locale,(e=>{c&&(u.value=e,w.locale=e,Qe(w,u.value,m.value))})),t.watch(n.fallbackLocale,(e=>{c&&(m.value=e,w.fallbackLocale=e,Qe(w,u.value,m.value))})));const G={id:xt,locale:M,fallbackLocale:U,get inheritLocale(){return c},set inheritLocale(e){c=e,e&&n&&(u.value=n.locale.value,m.value=n.fallbackLocale.value,Qe(w,u.value,m.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:W,get modifiers(){return D},get pluralRules(){return x||{}},get isGlobal(){return a},get missingWarn(){return E},set missingWarn(e){E=e,w.missingWarn=E},get fallbackWarn(){return b},set fallbackWarn(e){b=e,w.fallbackWarn=b},get fallbackRoot(){return v},set fallbackRoot(e){v=e},get fallbackFormat(){return I},set fallbackFormat(e){I=e,w.fallbackFormat=I},get warnHtmlMessage(){return S},set warnHtmlMessage(e){S=e,w.warnHtmlMessage=e},get escapeParameter(){return F},set escapeParameter(e){F=e,w.escapeParameter=e},t:V,getLocaleMessage:Y,setLocaleMessage:function(e,t){if(s){const n={[e]:t};for(const e in n)h(n,e)&&Ot(n[e]);t=n[e]}p.value[e]=t,w.messages=p.value},mergeLocaleMessage:function(e,t){p.value[e]=p.value[e]||{};const n={[e]:t};if(s)for(const r in n)h(n,r)&&Ot(n[r]);R(t=n[e],p.value[e]),w.messages=p.value},getPostTranslationHandler:function(){return L(P)?P:null},setPostTranslationHandler:function(e){P=e,w.postTranslation=e},getMissingHandler:function(){return C},setMissingHandler:function(e){null!==e&&(A=Mt(e)),C=e,w.missing=A},[vt]:function(e){x=e,w.pluralRules=x}};return G.datetimeFormats=$,G.numberFormats=j,G.rt=function(...e){const[t,n,r]=e;if(r&&!T(r))throw Error(Lt.INVALID_ARGUMENT);return V(t,n,_({resolvedMessage:!0},r||{}))},G.te=function(e,t){return H((()=>{if(!e)return!1;const n=Y(N(t)?t:u.value),r=w.messageResolver(n,e);return ne(r)||dt(r)||N(r)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),wt,(e=>y(e)))},G.tm=function(e){const t=function(e){let t=null;const n=Ie(w,m.value,u.value);for(let r=0;r<n.length;r++){const a=p.value[n[r]]||{},o=w.messageResolver(a,e);if(null!=o){t=o;break}}return t}(e);return null!=t?t:n&&n.tm(e)||{}},G.d=function(...e){return H((t=>Reflect.apply(Ze,null,[t,...e])),(()=>tt(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>We),(e=>N(e)||k(e)))},G.n=function(...e){return H((t=>Reflect.apply(rt,null,[t,...e])),(()=>ot(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>We),(e=>N(e)||k(e)))},G.getDateTimeFormat=function(e){return d.value[e]||{}},G.setDateTimeFormat=function(e,t){d.value[e]=t,w.datetimeFormats=d.value,nt(w,e,t)},G.mergeDateTimeFormat=function(e,t){d.value[e]=_(d.value[e]||{},t),w.datetimeFormats=d.value,nt(w,e,t)},G.getNumberFormat=function(e){return g.value[e]||{}},G.setNumberFormat=function(e,t){g.value[e]=t,w.numberFormats=g.value,st(w,e,t)},G.mergeNumberFormat=function(e,t){g.value[e]=_(g.value[e]||{},t),w.numberFormats=g.value,st(w,e,t)},G[It]=r,G[Nt]=function(...e){return H((t=>{let n;const r=t;try{r.processor=X,n=Reflect.apply(gt,null,[r,...e])}finally{r.processor=null}return n}),(()=>ht(...e)),"translate",(t=>t[Nt](...e)),(e=>[St(e)]),(e=>k(e)))},G[yt]=function(...e){return H((t=>Reflect.apply(Ze,null,[t,...e])),(()=>tt(...e)),"datetime format",(t=>t[yt](...e)),Dt,(e=>N(e)||k(e)))},G[Tt]=function(...e){return H((t=>Reflect.apply(rt,null,[t,...e])),(()=>ot(...e)),"number format",(t=>t[Tt](...e)),Dt,(e=>N(e)||k(e)))},G}function Wt(e={}){const t=Ut(function(e){const t=N(e.locale)?e.locale:Ue,n=N(e.fallbackLocale)||k(e.fallbackLocale)||O(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=L(e.missing)?e.missing:void 0,a=!y(e.silentTranslationWarn)&&!f(e.silentTranslationWarn)||!e.silentTranslationWarn,o=!y(e.silentFallbackWarn)&&!f(e.silentFallbackWarn)||!e.silentFallbackWarn,s=!y(e.fallbackRoot)||e.fallbackRoot,l=!!e.formatFallbackMessages,c=O(e.modifiers)?e.modifiers:{},i=e.pluralizationRules,u=L(e.postTranslation)?e.postTranslation:void 0,m=!N(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,p=!!e.escapeParameterHtml,d=!y(e.sync)||e.sync;let g=e.messages;if(O(e.sharedMessages)){const t=e.sharedMessages;g=Object.keys(t).reduce(((e,n)=>{const r=e[n]||(e[n]={});return _(r,t[n]),e}),g||{})}const{__i18n:E,__root:b,__injectWithOption:h}=e,T=e.datetimeFormats,v=e.numberFormats;return{locale:t,fallbackLocale:n,messages:g,flatJson:e.flatJson,datetimeFormats:T,numberFormats:v,missing:r,missingWarn:a,fallbackWarn:o,fallbackRoot:s,fallbackFormat:l,modifiers:c,pluralRules:i,postTranslation:u,warnHtmlMessage:m,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:d,__i18n:E,__root:b,__injectWithOption:h}}(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return y(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=y(e)?!e:e},get silentFallbackWarn(){return y(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=y(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t:(...e)=>Reflect.apply(t.t,t,[...e]),rt:(...e)=>Reflect.apply(t.rt,t,[...e]),te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return r.__extender=n,r}function $t(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[vt](t.pluralizationRules||e.pluralizationRules);const n=At(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const jt={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Ht(){return t.Fragment}const Vt=t.defineComponent({name:"i18n-t",props:_({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>i(e)||!isNaN(e)}},jt),setup(e,n){const{slots:r,attrs:a}=n,o=e.i18n||qt({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(r).filter((e=>"_"!==e[0])),l=d();e.locale&&(l.locale=e.locale),void 0!==e.plural&&(l.plural=N(e.plural)?+e.plural:e.plural);const c=function({slots:e},n){if(1===n.length&&"default"===n[0])return(e.default?e.default():[]).reduce(((e,n)=>[...e,...n.type===t.Fragment?n.children:[n]]),[]);return n.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),d())}(n,s),i=o[Nt](e.keypath,c,l),u=_(d(),a),f=N(e.tag)||T(e.tag)?e.tag:Ht();return t.h(f,u,i)}}}),Xt=Vt;function Yt(e,n,r,a){const{slots:o,attrs:s}=n;return()=>{const n={part:!0};let l=d();e.locale&&(n.locale=e.locale),N(e.format)?n.key=e.format:T(e.format)&&(N(e.format.key)&&(n.key=e.format.key),l=Object.keys(e.format).reduce(((t,n)=>r.includes(n)?_(d(),t,{[n]:e.format[n]}):t),d()));const c=a(e.value,n,l);let i=[n.key];k(c)?i=c.map(((e,t)=>{const n=o[e.type],r=n?n({[e.type]:e.value,index:t,parts:c}):[e.value];var a;return k(a=r)&&!N(a[0])&&(r[0].key=`${e.type}-${t}`),r})):N(c)&&(i=[c]);const u=_(d(),s),f=N(e.tag)||T(e.tag)?e.tag:Ht();return t.h(f,u,i)}}const Gt=t.defineComponent({name:"i18n-n",props:_({value:{type:Number,required:!0},format:{type:[String,Object]}},jt),setup(e,t){const n=e.i18n||qt({useScope:e.scope,__useComponent:!0});return Yt(e,t,at,((...e)=>n[Tt](...e)))}}),Kt=Gt;function Bt(e){const n=t=>{const{instance:n,value:r}=t;if(!n||!n.$)throw Error(Lt.UNEXPECTED_ERROR);const a=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}(e,n.$),o=zt(r);return[Reflect.apply(a.t,a,[...Jt(o)]),a]};return{created:(r,a)=>{const[s,l]=n(a);o&&e.global===l&&(r.__i18nWatcher=t.watch(l.locale,(()=>{a.instance&&a.instance.$forceUpdate()}))),r.__composer=l,r.textContent=s},unmounted:e=>{o&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=zt(t);e.textContent=Reflect.apply(n.t,n,[...Jt(r)])}},getSSRProps:e=>{const[t]=n(e);return{textContent:t}}}}function zt(e){if(N(e))return{path:e};if(O(e)){if(!("path"in e))throw Error(Lt.REQUIRED_VALUE,"path");return e}throw Error(Lt.INVALID_VALUE)}function Jt(e){const{path:t,locale:n,args:r,choice:a,plural:o}=e,s={},l=r||{};return N(n)&&(s.locale=n),i(a)&&(s.plural=a),i(o)&&(s.plural=o),[t,l,s]}const Qt=s("global-vue-i18n");function qt(e={}){const n=Ft();if(null==n)throw Error(Lt.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&null!=n.appContext.app&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Error(Lt.NOT_INSTALLED);const r=function(e){const n=t.inject(e.isCE?Qt:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Error(e.isCE?Lt.NOT_INSTALLED_WITH_PROVIDE:Lt.UNEXPECTED_ERROR);return n}(n),a=function(e){return"composition"===e.mode?e.global:e.global.__composer}(r),o=Pt(n),s=function(e,t){return m(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,o);if("global"===s)return Rt(a,e,o),a;if("parent"===s){let t=function(e,t,n=!1){let r=null;const a=t.root;let o=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,n);for(;null!=o;){const t=e;if("composition"===e.mode)r=t.__getInstance(o);else{const e=t.__getInstance(o);null!=e&&(r=e.__composer,n&&r&&!r[It]&&(r=null))}if(null!=r)break;if(a===o)break;o=o.parent}return r}(r,n,e.__useComponent);return null==t&&(t=a),t}const l=r;let c=l.__getInstance(n);if(null==c){const r=_({},e);"__i18n"in o&&(r.__i18n=o.__i18n),a&&(r.__root=a),c=Ut(r),l.__composerExtend&&(c[Ct]=l.__composerExtend(c)),function(e,n,r){t.onMounted((()=>{}),n),t.onUnmounted((()=>{const t=r;e.__deleteInstance(n);const a=t[Ct];a&&(a(),delete t[Ct])}),n)}(l,n,c),l.__setInstance(n,c)}return c}const Zt=["locale","fallbackLocale","availableLocales"],en=["t","rt","d","n","tm","te"];const tn=t.defineComponent({name:"i18n-d",props:_({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 Yt(e,t,et,((...e)=>n[yt](...e)))}}),nn=tn;return je=function(e,t){if(N(e)){!y(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||he)(e),r=ke[n];if(r)return r;const{ast:a,detectError:o}=function(e,t={}){let n=!1;const r=t.onError||D;return t.onError=e=>{n=!0,r(e)},{...te(e,t),detectError:n}}(e,{...t,location:!1,jit:!0}),s=ge(a);return o?s:ke[n]=s}{const t=e.cacheKey;if(t){const n=ke[t];return n||(ke[t]=ge(e))}return ge(e)}},He=function(e,t){if(!T(e))return null;let n=De.get(t);if(n||(n=function(e){const t=[];let n,r,a,o,s,l,c,i=-1,u=0,f=0;const m=[];function _(){const t=e[i+1];if(5===u&&"'"===t||6===u&&'"'===t)return i++,a="\\"+t,m[0](),!0}for(m[0]=()=>{void 0===r?r=a:r+=a},m[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},m[2]=()=>{m[0](),f++},m[3]=()=>{if(f>0)f--,u=4,m[0]();else{if(f=0,void 0===r)return!1;if(r=Fe(r),!1===r)return!1;m[1]()}};null!==u;)if(i++,n=e[i],"\\"!==n||!_()){if(o=Se(n),c=Pe[u],s=c[o]||c.l||8,8===s)return;if(u=s[0],void 0!==s[1]&&(l=m[s[1]],l&&(a=n,!1===l())))return;if(7===u)return t}}(t),n&&De.set(t,n)),!n)return null;const r=n.length;let a=e,o=0;for(;o<r;){const e=n[o];if(pe.includes(e)&&ne(a))return null;const t=a[e];if(void 0===t)return null;if(L(a))return null;a=t,o++}return a},Ve=Ie,e.DatetimeFormat=tn,e.I18nD=nn,e.I18nInjectionKey=Qt,e.I18nN=Kt,e.I18nT=Xt,e.NumberFormat=Gt,e.Translation=Vt,e.VERSION=kt,e.createI18n=function(e={}){const n=!y(e.legacy)||e.legacy,r=!y(e.globalInjection)||e.globalInjection,a=new Map,[o,l]=function(e,n){const r=t.effectScope(),a=n?r.run((()=>Wt(e))):r.run((()=>Ut(e)));if(null==a)throw Error(Lt.UNEXPECTED_ERROR);return[r,a]}(e,n),c=s(""),i={get mode(){return n?"legacy":"composition"},async install(e,...a){if(e.__VUE_I18N_SYMBOL__=c,e.provide(e.__VUE_I18N_SYMBOL__,i),O(a[0])){const e=a[0];i.__composerExtend=e.__composerExtend,i.__vueI18nExtend=e.__vueI18nExtend}let o=null;!n&&r&&(o=function(e,n){const r=Object.create(null);Zt.forEach((e=>{const a=Object.getOwnPropertyDescriptor(n,e);if(!a)throw Error(Lt.UNEXPECTED_ERROR);const o=t.isRef(a.value)?{get:()=>a.value.value,set(e){a.value.value=e}}:{get:()=>a.get&&a.get()};Object.defineProperty(r,e,o)})),e.config.globalProperties.$i18n=r,en.forEach((t=>{const r=Object.getOwnPropertyDescriptor(n,t);if(!r||!r.value)throw Error(Lt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${t}`,r)}));const a=()=>{delete e.config.globalProperties.$i18n,en.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return a}(e,i.global)),function(e,t,...n){const r=O(n[0])?n[0]:{};(!y(r.globalInstall)||r.globalInstall)&&([Vt.name,"I18nT"].forEach((t=>e.component(t,Vt))),[Gt.name,"I18nN"].forEach((t=>e.component(t,Gt))),[tn.name,"I18nD"].forEach((t=>e.component(t,tn)))),e.directive("t",Bt(t))}(e,i,...a),n&&e.mixin(function(e,t,n){return{beforeCreate(){const r=Ft();if(!r)throw Error(Lt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=$t(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Wt(r);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=$t(e,a);else{this.$i18n=Wt({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Rt(t,a,a),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const e=Ft();if(!e)throw Error(Lt.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(l,l.__composer,i));const s=e.unmount;e.unmount=()=>{o&&o(),i.dispose(),s()}},get global(){return l},dispose(){o.stop()},__instances:a,__getInstance:function(e){return a.get(e)||null},__setInstance:function(e,t){a.set(e,t)},__deleteInstance:function(e){a.delete(e)}};return i},e.useI18n=qt,e.vTDirective=Bt,e}({},Vue);
|