diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt
index 155282c4..ca746345 100644
--- a/THIRD_PARTY.txt
+++ b/THIRD_PARTY.txt
@@ -1415,9 +1415,9 @@ https://cdnjs.cloudflare.com/ajax/libs/video.js/7.21.1/video.min.js
https://cdnjs.cloudflare.com/ajax/libs/video.js/8.18.0/video-js.min.css
https://cdnjs.cloudflare.com/ajax/libs/video.js/8.18.0/video.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue/3.5.4/vue.global.prod.js
-https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/10.0.1/vue-i18n.cjs.min.js
+https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/10.0.1/vue-i18n.global.prod.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/8.27.2/vue-i18n.min.js
-https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/9.14.0/vue-i18n.cjs.min.js
+https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/9.14.0/vue-i18n.global.prod.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue-router/3.6.5/vue-router.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue-router/4.4.3/vue-router.global.min.js
https://cdnjs.cloudflare.com/ajax/libs/vuex/3.6.2/vuex.min.js
diff --git a/audit/audit.sh b/audit/audit.sh
index 694099f1..b3010c77 100755
--- a/audit/audit.sh
+++ b/audit/audit.sh
@@ -623,7 +623,7 @@ function create_url() {
url="$NETDNA_BOOTSTRAPCDN/$folder/$version/js/bootstrap.min.js"
fi
elif [ "$folder" = "vue-i18n" ] && [[ "$version" != 8* ]]; then
- url="$CLOUDFLARE/$folder/$version/vue-i18n.cjs.min.js"
+ url="$CLOUDFLARE/$folder/$version/vue-i18n.global.prod.min.js"
elif [ "$path" = "../resources/twitter-bootstrap/fonts/glyphicons-halflings-regular.woff2" ]; then
url="$CLOUDFLARE/twitter-bootstrap/3.4.1/fonts/glyphicons-halflings-regular.woff2"
elif [ "$subfile" = "jquery-ui.min.css" ]; then
diff --git a/pages/updates/updates.html b/pages/updates/updates.html
index e836d170..09a6c36f 100644
--- a/pages/updates/updates.html
+++ b/pages/updates/updates.html
@@ -43,6 +43,7 @@
- redirect outdated paths of font-awesome
- Use charset of the response header in the initial TextDecoder. (#1646)
+ - Use correct file for vue-i18n >= v9.0.0
Mapping
diff --git a/resources/vue-i18n/9.14.0/note b/resources/vue-i18n/9.14.0/note
index c5d7d5af..76d6cf67 100644
--- a/resources/vue-i18n/9.14.0/note
+++ b/resources/vue-i18n/9.14.0/note
@@ -1,4 +1,4 @@
In this directory the file was renamed.
-Original: vue-i18n.cjs.min.js
+Original: vue-i18n.global.prod.min.js
Now: vue-i18n.min.jsm
diff --git a/resources/vue-i18n/9.14.0/vue-i18n.min.jsm b/resources/vue-i18n/9.14.0/vue-i18n.min.jsm
index 34006791..d816995f 100644
--- a/resources/vue-i18n/9.14.0/vue-i18n.min.jsm
+++ b/resources/vue-i18n/9.14.0/vue-i18n.min.jsm
@@ -1 +1 @@
-module.exports=require("../dist/vue-i18n.cjs");
\ No newline at end of file
+var VueI18n=function(e,x){"use strict";const M="undefined"!=typeof window,a=(e,t=!1)=>t?Symbol.for(e):Symbol(e),m=(e,t,n)=>(e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"))({l:e,k:t,s:n}),w=e=>"number"==typeof e&&isFinite(e),i=e=>"[object Date]"===f(e),U=e=>"[object RegExp]"===f(e),W=e=>B(e)&&0===Object.keys(e).length,H=Object.assign;function I(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const r=Object.prototype.hasOwnProperty;function $(e,t){return r.call(e,t)}const V=Array.isArray,j=e=>"function"==typeof e,X=e=>"string"==typeof e,G=e=>"boolean"==typeof e,Y=e=>null!==e&&"object"==typeof e,s=e=>Y(e)&&j(e.then)&&j(e.catch),u=Object.prototype.toString,f=e=>u.call(e),B=e=>{if(!Y(e))return!1;e=Object.getPrototypeOf(e);return null===e||e.constructor===Object};function _(e,r=""){return e.reduce((e,t,n)=>0===n?e+t:e+r+t,"")}function g(e){let t=e;return()=>++t}function re(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const l=e=>!Y(e)||V(e);function K(t,n){if(l(t)||l(n))throw new Error("Invalid value");const r=[{src:t,des:n}];for(;r.length;){const{src:t,des:n}=r.pop();Object.keys(t).forEach(e=>{l(t[e])||l(n[e])?n[e]=t[e]:r.push({src:t[e],des:n[e]})})}}const E={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},R={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function b(e){throw e}const F=" ",S="\n",k=String.fromCharCode(8232),L=String.fromCharCode(8233);function ae(e){const t=e;let n=0,r=1,a=1,l=0;const o=e=>"\r"===t[e]&&t[e+1]===S,s=e=>t[e]===L,c=e=>t[e]===k,i=e=>o(e)||s(e)||c(e)?S:t[e];function u(){return l=0,e=n,(o(e)||(e=>t[e]===S)(e)||s(e)||c(e))&&(r++,a=0),o(n)&&n++,n++,a++,t[n];var e}return{index:()=>n,line:()=>r,column:()=>a,peekOffset:()=>l,charAt:i,currentChar:()=>i(n),currentPeek:()=>i(n+l),next:u,peek:function(){return o(n+l)&&l++,l++,t[n+l]},reset:function(){n=0,r=1,a=1,l=0},resetPeek:function(e=0){l=e},skipToPeek:function(){for(var e=n+l;e!==n;)u();l=0}}}const D=void 0;function h(e,t={}){const a=!1!==t.location,l=ae(e),o=()=>l.index(),s=()=>{return{line:l.line(),column:l.column(),offset:l.index()}},n=s(),r=o(),c={currentType:14,offset:r,startLoc:n,endLoc:n,lastType:14,lastOffset:r,lastStartLoc:n,lastEndLoc:n,braceNest:0,inLinked:!1,text:""},{}=t;function i(e,t,n){e.endLoc=s();const r={type:e.currentType=t};return a&&(r.loc=function(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}(e.startLoc,e.endLoc)),null!=n&&(r.value=n),r}const u=e=>i(e,14);function f(e,t){return e.currentChar()===t?(e.next(),t):(R.EXPECTED_TOKEN,s(),"")}function m(e){let t="";for(;e.currentPeek()===F||e.currentPeek()===S;)t+=e.currentPeek(),e.peek();return t}function _(e){m(e);e.skipToPeek()}function p(e){if(e===D)return!1;e=e.charCodeAt(0);return 97<=e&&e<=122||65<=e&&e<=90||95===e}function d(e){m(e);var t="|"===e.currentPeek();return e.resetPeek(),t}function v(a,e=!0){const l=(e=!1,t="",n=!1)=>{var r=a.currentPeek();return"{"===r?"%"!==t&&e:"@"!==r&&r?"%"===r?(a.peek(),l(e,"%",!0)):"|"===r?!("%"!==t&&!n&&(t===F||t===S)):r===F?(a.peek(),l(!0,F,n)):r!==S||(a.peek(),l(!0,S,n)):"%"===t||e},t=l();return e&&a.resetPeek(),t}function g(e,t){var n=e.currentChar();return n===D?D:t(n)?(e.next(),n):null}function E(e){e=e.charCodeAt(0);return 97<=e&&e<=122||65<=e&&e<=90||48<=e&&e<=57||95===e||36===e}function b(e){e=e.charCodeAt(0);return 97<=e&&e<=122||65<=e&&e<=90||48<=e&&e<=57||95===e||36===e||45===e}function k(e){e=e.charCodeAt(0);return 48<=e&&e<=57}function L(e){e=e.charCodeAt(0);return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function h(e){let t="",n="";for(;t=g(e,k);)n+=t;return n}function N(e){let t="";for(;;){var n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!v(e))break;t+=n,e.next()}else if(n===F||n===S)if(v(e))t+=n,e.next();else{if(d(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function T(e){return"'"!==e&&e!==S}function y(t,n,r){f(t,n);let a="";for(let e=0;e{var e=t.currentPeek();return"{"===e?p(t.peek()):!("@"===e||"%"===e||"|"===e||":"===e||"."===e||e===F||!e)&&(e===S?(t.peek(),n()):v(t,!1))},r=n();return t.resetPeek(),r}}(e)?(_(e),"{"===r?O(e,a)||n:i(a,11,function(n){const r=e=>{var t=n.currentChar();return"{"===t||"%"===t||"@"===t||"|"===t||"("===t||")"===t||!t||t===F?e:(e+=t,n.next(),r(e))};return r("")}(e))):(8===t&&(R.INVALID_LINKED_FORMAT,s()),a.braceNest=0,a.inLinked=!1,A(e,a))}}function A(e,t){let n={type:14};if(0c}}const N=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function T(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||57344<=e?String.fromCodePoint(e):"�"}}}function y(a={}){const l=!1!==a.location,{}=a;function u(e,t,n){const r={type:e};return l&&(r.start=t,r.end=t,r.loc={start:n,end:n}),r}function f(e,t,n,r){r&&(e.type=r),l&&(e.end=t,e.loc&&(e.loc.end=n))}function o(e,t){const n=e.context(),r=u(3,n.offset,n.startLoc);return r.value=t,f(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,l=u(5,r,a);return l.index=parseInt(t,10),e.nextToken(),f(l,e.currentOffset(),e.currentPosition()),l}function c(e,t,n){const r=e.context(),{lastOffset:a,lastStartLoc:l}=r,o=u(4,a,l);return o.key=t,!0===n&&(o.modulo=!0),e.nextToken(),f(o,e.currentOffset(),e.currentPosition()),o}function i(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,l=u(9,r,a);return l.value=t.replace(N,T),e.nextToken(),f(l,e.currentOffset(),e.currentPosition()),l}function m(e){const t=e.context(),n=u(6,t.offset,t.startLoc);let r=e.nextToken();if(9===r.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:r,lastStartLoc:a}=n,l=u(8,r,a);return 12!==t.type?(R.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,l.value="",f(l,r,a),{nextConsumeToken:t,node:l}):(null==t.value&&(R.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,p(t)),l.value=t.value||"",f(l,e.currentOffset(),e.currentPosition()),{node:l})}(e);n.modifier=t.node,r=t.nextConsumeToken||e.nextToken()}switch(10!==r.type&&(R.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(r)),(r=2===(r=e.nextToken()).type?e.nextToken():r).type){case 11:null==r.value&&(R.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(r)),n.key=function(e,t){const n=e.context(),r=u(7,n.offset,n.startLoc);return r.value=t,f(r,e.currentOffset(),e.currentPosition()),r}(e,r.value||"");break;case 5:null==r.value&&(R.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(r)),n.key=c(e,r.value||"");break;case 6:null==r.value&&(R.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(r)),n.key=s(e,r.value||"");break;case 7:null==r.value&&(R.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(r)),n.key=i(e,r.value||"");break;default:{R.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc;const a=e.context(),s=u(7,a.offset,a.startLoc);return s.value="",f(s,a.offset,a.startLoc),n.key=s,f(n,a.offset,a.startLoc),{nextConsumeToken:r,node:n}}}return f(n,e.currentOffset(),e.currentPosition()),{node:n}}function _(e){const t=e.context(),n=u(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let r=null,a=null;do{const u=r||e.nextToken();switch(r=null,u.type){case 0:null==u.value&&(R.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(u)),n.items.push(o(e,u.value||""));break;case 6:null==u.value&&(R.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(u)),n.items.push(s(e,u.value||""));break;case 4:a=!0;break;case 5:null==u.value&&(R.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(u)),n.items.push(c(e,u.value||"",!!a)),a&&(E.USE_MODULO_SYNTAX,t.lastStartLoc,p(u),a=null);break;case 7:null==u.value&&(R.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,p(u)),n.items.push(i(e,u.value||""));break;case 8:{const t=m(e);n.items.push(t.node),r=t.nextConsumeToken||null;break}}}while(14!==t.currentType&&1!==t.currentType);return f(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}return{parse:function(e){const t=h(e,H({},a)),n=t.context(),r=u(0,n.offset,n.startLoc);return l&&r.loc&&(r.loc.source=e),r.body=function(t){var{offset:n,startLoc:r}=s=t.context(),a=_(t);if(14===s.currentType)return a;{var l=t,o=n,s=r,t=a,c=l.context();let e=0===t.items.length;const i=u(1,o,s);i.cases=[],i.cases.push(t);do{const o=_(l);e=e||0===o.items.length,i.cases.push(o)}while(14!==c.currentType);return f(i,l.currentOffset(),l.currentPosition()),i}}(t),a.onCacheKey&&(r.cacheKey=a.onCacheKey(e)),14!==n.currentType&&(R.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,e[n.offset]),f(r,t.currentOffset(),t.currentPosition()),r}}}function p(e){if(14!==e.type){const t=(e.value||"").replace(/\r?\n/gu,"\\n");10{const n=X(t.mode)?t.mode:"normal",r=X(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,l=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",o=t.needIndent||"arrow"!==n,s=e.helpers||[],c=function(e,t){const{filename:n,breakLineCode:r,needIndent:a}=t,l=!1!==t.location,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:a,indentLevel:0};function s(e,t){o.code+=e}function c(e,t=!0){t=t?r:"";s(a?t+" ".repeat(e):t)}return l&&e.loc&&(o.source=e.loc.source),{context:()=>o,push:s,indent:function(e=!0){var t=++o.indentLevel;e&&c(t)},deindent:function(e=!0){var t=--o.indentLevel;e&&c(t)},newline:function(){c(o.indentLevel)},helper:e=>"_"+e,needIndent:()=>o.needIndent}}(e,{mode:n,filename:r,sourceMap:a,breakLineCode:l,needIndent:o}),{code:i,map:u}=(c.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(o),0e+": _"+e),", ")} } = ctx`),c.newline()),c.push("return "),function t(e,n){const r=e.helper;switch(n.type){case 0:f=e,n.body?t(f,n.body):f.push("null");break;case 1:{var a=e,l=n;const{helper:m,needIndent:_}=a;if(1P(e))}return r&&function t(e){switch(e.t=e.type,e.type){case 0:{const n=e;t(n.body),n.b=n.body,delete n.body;break}case 1:{const r=e,a=r.cases;for(let e=0;et,helper:e=>(t.helpers.add(e),e)}}(n=e);o.helper("normalize"),n.body&&O(n.body,o),a=o.context(),n.helpers=Array.from(a.helpers)}return A(e,t)}}const d=[],oe=(d[0]={w:[0],i:[3,0],"[":[4],o:[7]},d[1]={w:[1],".":[2],"[":[4],o:[7]},d[2]={w:[2],i:[3,0],0:[3,0]},d[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},d[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},d[5]={"'":[4,0],o:8,l:[5,0]},d[6]={'"':[4,0],o:8,l:[6,0]},/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/);const se=new Map;const ce=e=>e,ie=e=>"",ue=e=>0===e.length?"":_(e),fe=e=>null==e?"":V(e)||B(e)&&e.toString===u?JSON.stringify(e,null,2):String(e);function me(e,t){return e=Math.abs(e),2===t?!e||1a[e],named:e=>l[e],plural:e=>e[n(t,e.length,r)],linked:(e,...t)=>{var[n,r]=t;let a="text",l="";1===t.length?Y(n)?(l=n.modifier||l,a=n.type||a):X(n)&&(l=n||l):2===t.length&&(X(n)&&(l=n||l),X(r)&&(a=r||a));t=i(e)(m),n="vnode"===a&&V(t)&&l?t[0]:t;return l?(r=l,(o.modifiers?o.modifiers[r]:ce)(n,a)):n},message:i,type:B(o.processor)&&X(o.processor.type)?o.processor.type:"text",interpolate:f,normalize:u,values:H({},a,l)};return m}const pe=R.__EXTEND_POINT__,t=g(pe),c={INVALID_ARGUMENT:pe,INVALID_DATE_ARGUMENT:t(),INVALID_ISO_DATE_ARGUMENT:t(),NOT_SUPPORT_NON_STRING_MESSAGE:t(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:t(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:t(),NOT_SUPPORT_LOCALE_TYPE:t(),__EXTEND_POINT__:t()};function de(e,t){return null!=t.locale?ge(t.locale):ge(e.locale)}let ve;function ge(e){if(X(e))return e;if(j(e)){if(e.resolvedOnce&&null!=ve)return ve;if("Function"!==e.constructor.name)throw Error(c.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);e=e();if(s(e))throw Error(c.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ve=e}throw Error(c.NOT_SUPPORT_LOCALE_TYPE)}function Ee(e,t,n){return[...new Set([n,...V(t)?t:Y(t)?Object.keys(t):X(t)?[t]:[n]])]}function be(t,n,r){const a=X(r)?r:J,l=t;l.__localeChainCache||(l.__localeChainCache=new Map);let o=l.__localeChainCache.get(a);if(!o){o=[];let e=[r];for(;V(e);)e=ke(o,e,n);t=V(n)||!B(n)?n:n.default||null;e=X(t)?[t]:t,V(e)&&ke(o,e,!1),l.__localeChainCache.set(a,o)}return o}function ke(t,n,r){let a=!0;for(let e=0;e""+e.charAt(0).toLocaleUpperCase()+e.substr(1);let Te,ye,Ie,Ce=null;const Oe=e=>{Ce=e},Pe=()=>Ce;let Ae=0;function Re(e,t,n,r,a){const l=e["missing"];if(null===l)return t;{const r=l(e,n,t,a);return X(r)?r:t}}function Q(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Fe(a){return e=>{var n=e,t=a,e=t.b||t.body;if(1!==(e.t||e.type))return Se(n,e);{const t=e,r=t.c||t.cases;return n.plural(r.reduce((e,t)=>[...e,Se(n,t)],[]))}}}function Se(n,e){const t=e.s||e.static;if(t)return"text"===n.type?t:n.normalize([t]);{const t=(e.i||e.items).reduce((e,t)=>[...e,function e(t,n){const r=n.t||n.type;switch(r){case 3:case 9:{const t=n;return t.v||t.value}case 4:{const r=n;return t.interpolate(t.named(r.k||r.key))}case 5:{const r=n;return t.interpolate(t.list(null!=r.i?r.i:r.index))}case 6:{const r=n,a=r.m||r.modifier;return t.linked(e(t,r.k||r.key),a?e(t,a):void 0,t.type)}case 7:case 8:{const t=n;return t.v||t.value}default:throw new Error("unhandled node type on format message part: "+r)}}(n,t)],[]);return n.normalize(t)}}const De=e=>e;let o=Object.create(null);const q=e=>Y(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e),Me=()=>"",Z=e=>j(e);function we(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:l,fallbackLocale:o,messages:s}=e,[c,i]=We(...t),u=(G(i.missingWarn)?i:e).missingWarn,f=(G(i.fallbackWarn)?i:e).fallbackWarn,m=(G(i.escapeParameter)?i:e).escapeParameter,_=!!i.resolvedMessage,p=X(i.default)||G(i.default)?G(i.default)?l?c:()=>c:i.default:n?l?c:()=>c:"",d=n||""!==p,v=de(e,i);var g;m&&(g=i,V(g.list)?g.list=g.list.map(e=>X(e)?I(e):e):Y(g.named)&&Object.keys(g.named).forEach(e=>{X(g.named[e])&&(g.named[e]=I(g.named[e]))}));let[E,b,k]=_?[c,v,s[v]||{}]:xe(e,c,v,o),L=E,h=c;if(_||X(L)||q(L)||Z(L)||d&&(L=p,h=L),!(_||(X(L)||q(L)||Z(L))&&X(b)))return a?z:c;let N=!1;t=Z(L)?L:Ue(e,c,b,L,h,()=>{N=!0});if(N)return L;const T=function(r,a,e,t){const{modifiers:n,pluralRules:l,messageResolver:o,fallbackLocale:s,fallbackWarn:c,missingWarn:i,fallbackContext:u}=r,f={locale:a,modifiers:n,pluralRules:l,messages:t=>{let n=o(e,t);if(null==n&&u){const[,,r]=xe(u,t,a,s,c,i);n=o(r,t)}if(X(n)||q(n)){let e=!1;t=Ue(r,t,a,n,t,()=>{e=!0});return e?Me:t}return Z(n)?n:Me}};return r.processor&&(f.processor=r.processor),t.list&&(f.list=t.list),t.named&&(f.named=t.named),w(t.plural)&&(f.pluralIndex=t.plural),f}(e,b,k,i),y=t(_e(T));return r?r(y,c):y}function xe(t,n,r,e){const{messages:a,messageResolver:l,localeFallbacker:o}=t,s=o(t,e,r);let c,i={},u=null;for(let e=0;er;return e.locale=n,e.key=t,e}const c=o(r,(f=l,{locale:i=n,key:u=a,warnHtmlMessage:s,onError:e=>{throw f&&f(e),e},onCacheKey:e=>m(i,u,e)}));var i,u,f;return c.locale=n,c.key=t,c.source=r,c}function We(...e){const[t,n,r]=e,a={};if(!(X(t)||w(t)||Z(t)||q(t)))throw Error(c.INVALID_ARGUMENT);e=w(t)?String(t):(Z(t),t);return w(n)?a.plural=n:X(n)?a.default=n:B(n)&&!W(n)?a.named=n:V(n)&&(a.list=n),w(r)?a.plural=r:X(r)?a.default=r:B(r)&&H(a,r),[e,a]}function He(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,localeFallbacker:l}=t,o=t["__datetimeFormatters"],[s,c,i,u]=Ve(...e);(G(i.missingWarn)?i:t).missingWarn,(G(i.fallbackWarn)?i:t).fallbackWarn;var e=!!i.part,f=de(t,i),m=l(t,a,f);if(!X(s)||""===s)return new Intl.DateTimeFormat(f,u).format(c);let _,p,d=null;for(let e=0;e{$e.includes(e)?s[e]=n[e]:l[e]=n[e]}),X(r)?l.locale=r:B(r)&&(s=r),B(a)&&(s=a),[l.key||"",o,l,s]}function je(e,t,n){const r=e;for(const a in n){const e=t+"__"+a;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function Xe(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:a,localeFallbacker:l}=t,o=t["__numberFormatters"],[s,c,i,u]=Ye(...e);(G(i.missingWarn)?i:t).missingWarn,(G(i.fallbackWarn)?i:t).fallbackWarn;var e=!!i.part,f=de(t,i),m=l(t,a,f);if(!X(s)||""===s)return new Intl.NumberFormat(f,u).format(c);let _,p,d=null;for(let e=0;e{Ge.includes(e)?o[e]=n[e]:l[e]=n[e]}),X(r)?l.locale=r:B(r)&&(o=r),B(a)&&(o=a),[l.key||"",e,l,o]}function Be(e,t,n){const r=e;for(const a in n){const e=t+"__"+a;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}const Ke="9.14.0",ze=c.__EXTEND_POINT__,n=g(ze),ee={UNEXPECTED_RETURN_TYPE:ze,INVALID_ARGUMENT:n(),MUST_BE_CALL_SETUP_TOP:n(),NOT_INSTALLED:n(),NOT_AVAILABLE_IN_LEGACY_MODE:n(),REQUIRED_VALUE:n(),INVALID_VALUE:n(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:n(),NOT_INSTALLED_WITH_PROVIDE:n(),UNEXPECTED_ERROR:n(),NOT_COMPATIBLE_LEGACY_VUE_I18N:n(),BRIDGE_SUPPORT_VUE_2_ONLY:n(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:n(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:n(),__EXTEND_POINT__:n()},Je=a("__translateVNode"),Qe=a("__datetimeParts"),qe=a("__numberParts"),Ze=a("__setPluralRules"),et=a("__injectWithOption"),tt=a("__dispose");function te(e){if(Y(e))for(const l in e)if($(e,l))if(l.includes(".")){var r=l.split("."),a=r.length-1;let t=e,n=!1;for(let e=0;e{var t,n;"locale"in e&&"resource"in e?({locale:t,resource:n}=e,t?(o[t]=o[t]||{},K(n,o[t])):K(n,o)):X(e)&&K(JSON.parse(e),o)}),null==a&&l)for(const s in o)$(o,s)&&te(o[s]);return o}function nt(t,n,e){let r=Y(n.messages)?n.messages:{};"__i18nGlobal"in e&&(r=ne(t.locale.value,{messages:r,__i18n:e.__i18nGlobal}));const a=Object.keys(r);if(a.length&&a.forEach(e=>{t.mergeLocaleMessage(e,r[e])}),Y(n.datetimeFormats)){const e=Object.keys(n.datetimeFormats);e.length&&e.forEach(e=>{t.mergeDateTimeFormat(e,n.datetimeFormats[e])})}if(Y(n.numberFormats)){const e=Object.keys(n.numberFormats);e.length&&e.forEach(e=>{t.mergeNumberFormat(e,n.numberFormats[e])})}}function rt(e){return x.createVNode(x.Text,null,e,0)}const at=()=>[],lt=()=>!1;let ot=0;function st(a){return(e,t,n,r)=>a(t,n,x.getCurrentInstance()||void 0,r)}function ct(n={}){const{__root:s,__injectWithOption:e}=n,c=void 0===s,a=n.flatJson,t=M?x.ref:x.shallowRef,r=!!n.translateExistCompatible;let l=!G(n.inheritLocale)||n.inheritLocale;const i=t(s&&l?s.locale.value:X(n.locale)?n.locale:J),u=t(s&&l?s.fallbackLocale.value:X(n.fallbackLocale)||V(n.fallbackLocale)||B(n.fallbackLocale)||!1===n.fallbackLocale?n.fallbackLocale:i.value),f=t(ne(i.value,n)),m=t(B(n.datetimeFormats)?n.datetimeFormats:{[i.value]:{}}),_=t(B(n.numberFormats)?n.numberFormats:{[i.value]:{}});let o=s?s.missingWarn:!G(n.missingWarn)&&!U(n.missingWarn)||n.missingWarn,p=s?s.fallbackWarn:!G(n.fallbackWarn)&&!U(n.fallbackWarn)||n.fallbackWarn,d=s?s.fallbackRoot:!G(n.fallbackRoot)||n.fallbackRoot,v=!!n.fallbackFormat,g=j(n.missing)?n.missing:null,E=j(n.missing)?st(n.missing):null,b=j(n.postTranslation)?n.postTranslation:null,k=s?s.warnHtmlMessage:!G(n.warnHtmlMessage)||n.warnHtmlMessage,L=!!n.escapeParameter;const h=s?s.modifiers:B(n.modifiers)?n.modifiers:{};let N,T=n.pluralRules||s&&s.pluralRules;Q(N=(()=>{c&&Oe(null);const e={version:Ke,locale:i.value,fallbackLocale:u.value,messages:f.value,modifiers:h,pluralRules:T,missing:null===E?void 0:E,missingWarn:o,fallbackWarn:p,fallbackFormat:v,unresolving:!0,postTranslation:null===b?void 0:b,warnHtmlMessage:k,escapeParameter:L,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};e.datetimeFormats=m.value,e.numberFormats=_.value,e.__datetimeFormatters=B(N)?N.__datetimeFormatters:void 0,e.__numberFormatters=B(N)?N.__numberFormatters:void 0;var t=function(e={}){var t=j(e.onWarn)?e.onWarn:re,n=X(e.version)?e.version:Le,r=X(e.locale)||j(e.locale)?e.locale:J,a=j(r)?J:r,l=V(e.fallbackLocale)||B(e.fallbackLocale)||X(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:a,o=B(e.messages)?e.messages:{[a]:{}},s=B(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},a=B(e.numberFormats)?e.numberFormats:{[a]:{}},c=H({},e.modifiers||{},{upper:(e,t)=>"text"===t&&X(e)?e.toUpperCase():"vnode"===t&&Y(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&X(e)?e.toLowerCase():"vnode"===t&&Y(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&X(e)?Ne(e):"vnode"===t&&Y(e)&&"__v_isVNode"in e?Ne(e.children):e}),i=e.pluralRules||{},u=j(e.missing)?e.missing:null,f=!G(e.missingWarn)&&!U(e.missingWarn)||e.missingWarn,m=!G(e.fallbackWarn)&&!U(e.fallbackWarn)||e.fallbackWarn,_=!!e.fallbackFormat,p=!!e.unresolving,d=j(e.postTranslation)?e.postTranslation:null,v=B(e.processor)?e.processor:null,g=!G(e.warnHtmlMessage)||e.warnHtmlMessage,E=!!e.escapeParameter,b=j(e.messageCompiler)?e.messageCompiler:Te,k=j(e.messageResolver)?e.messageResolver:ye,L=j(e.localeFallbacker)?e.localeFallbacker:Ie||Ee,h=Y(e.fallbackContext)?e.fallbackContext:void 0,N=Y(e.__datetimeFormatters)?e.__datetimeFormatters:new Map,T=Y(e.__numberFormatters)?e.__numberFormatters:new Map,e=Y(e.__meta)?e.__meta:{};const y={version:n,cid:++Ae,locale:r,fallbackLocale:l,messages:o,modifiers:c,pluralRules:i,missing:u,missingWarn:f,fallbackWarn:m,fallbackFormat:_,unresolving:p,postTranslation:d,processor:v,warnHtmlMessage:g,escapeParameter:E,messageCompiler:b,messageResolver:k,localeFallbacker:L,fallbackContext:h,onWarn:t,__meta:e};return y.datetimeFormats=s,y.numberFormats=a,y.__datetimeFormatters=N,y.__numberFormatters=T,y}(e);return c&&Oe(t),t})(),i.value,u.value);var y=x.computed({get:()=>i.value,set:e=>{i.value=e,N.locale=i.value}}),I=x.computed({get:()=>u.value,set:e=>{u.value=e,N.fallbackLocale=u.value,Q(N,i.value,e)}}),C=x.computed(()=>f.value),O=x.computed(()=>m.value),P=x.computed(()=>_.value);const A=(e,t,n,r,a,l)=>{let o;i.value,u.value,f.value,m.value,_.value;try{c||(N.fallbackContext=s?Pe():void 0),o=e(N)}finally{c||(N.fallbackContext=void 0)}if("translate exists"!==n&&w(o)&&o===z||"translate exists"===n&&!o){const[e,n]=t();return s&&d?r(s):a(e)}if(l(o))return o;throw Error(ee.UNEXPECTED_RETURN_TYPE)};function R(...t){return A(e=>Reflect.apply(we,null,[e,...t]),()=>We(...t),"translate",e=>Reflect.apply(e.t,e,[...t]),e=>e,e=>X(e))}const F={normalize:function(e){return e.map(e=>X(e)||w(e)||G(e)?rt(String(e)):e)},interpolate:e=>e,type:"vnode"};function S(e){return f.value[e]||{}}ot++,s&&M&&(x.watch(s.locale,e=>{l&&(i.value=e,N.locale=e,Q(N,i.value,u.value))}),x.watch(s.fallbackLocale,e=>{l&&(u.value=e,N.fallbackLocale=e,Q(N,i.value,u.value))}));const D={id:ot,locale:y,fallbackLocale:I,get inheritLocale(){return l},set inheritLocale(e){(l=e)&&s&&(i.value=s.locale.value,u.value=s.fallbackLocale.value,Q(N,i.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:C,get modifiers(){return h},get pluralRules(){return T||{}},get isGlobal(){return c},get missingWarn(){return o},set missingWarn(e){o=e,N.missingWarn=o},get fallbackWarn(){return p},set fallbackWarn(e){p=e,N.fallbackWarn=p},get fallbackRoot(){return d},set fallbackRoot(e){d=e},get fallbackFormat(){return v},set fallbackFormat(e){v=e,N.fallbackFormat=v},get warnHtmlMessage(){return k},set warnHtmlMessage(e){k=e,N.warnHtmlMessage=e},get escapeParameter(){return L},set escapeParameter(e){L=e,N.escapeParameter=e},t:R,getLocaleMessage:S,setLocaleMessage:function(e,t){if(a){var n={[e]:t};for(const e in n)$(n,e)&&te(n[e]);t=n[e]}f.value[e]=t,N.messages=f.value},mergeLocaleMessage:function(e,t){f.value[e]=f.value[e]||{};var n={[e]:t};if(a)for(const r in n)$(n,r)&&te(n[r]);K(t=n[e],f.value[e]),N.messages=f.value},getPostTranslationHandler:function(){return j(b)?b:null},setPostTranslationHandler:function(e){b=e,N.postTranslation=e},getMissingHandler:function(){return g},setMissingHandler:function(e){null!==e&&(E=st(e)),g=e,N.missing=E},[Ze]:function(e){T=e,N.pluralRules=T}};return D.datetimeFormats=O,D.numberFormats=P,D.rt=function(...e){var[e,t,n]=e;if(n&&!Y(n))throw Error(ee.INVALID_ARGUMENT);return R(e,t,H({resolvedMessage:!0},n||{}))},D.te=function(t,n){return A(()=>{if(!t)return!1;var e=S(X(n)?n:i.value),e=N.messageResolver(e,t);return r?null!=e:q(e)||Z(e)||X(e)},()=>[t],"translate exists",e=>Reflect.apply(e.te,e,[t,n]),lt,e=>G(e))},D.tm=function(e){var t=function(t){let n=null;var r=be(N,u.value,i.value);for(let e=0;eReflect.apply(He,null,[e,...t]),()=>Ve(...t),"datetime format",e=>Reflect.apply(e.d,e,[...t]),()=>he,e=>X(e))},D.n=function(...t){return A(e=>Reflect.apply(Xe,null,[e,...t]),()=>Ye(...t),"number format",e=>Reflect.apply(e.n,e,[...t]),()=>he,e=>X(e))},D.getDateTimeFormat=function(e){return m.value[e]||{}},D.setDateTimeFormat=function(e,t){m.value[e]=t,N.datetimeFormats=m.value,je(N,e,t)},D.mergeDateTimeFormat=function(e,t){m.value[e]=H(m.value[e]||{},t),N.datetimeFormats=m.value,je(N,e,t)},D.getNumberFormat=function(e){return _.value[e]||{}},D.setNumberFormat=function(e,t){_.value[e]=t,N.numberFormats=_.value,Be(N,e,t)},D.mergeNumberFormat=function(e,t){_.value[e]=H(_.value[e]||{},t),N.numberFormats=_.value,Be(N,e,t)},D[et]=e,D[Je]=function(...r){return A(e=>{let t;const n=e;try{n.processor=F,t=Reflect.apply(we,null,[n,...r])}finally{n.processor=null}return t},()=>We(...r),"translate",e=>e[Je](...r),e=>[rt(e)],e=>V(e))},D[Qe]=function(...t){return A(e=>Reflect.apply(He,null,[e,...t]),()=>Ve(...t),"datetime format",e=>e[Qe](...t),at,e=>X(e)||V(e))},D[qe]=function(...t){return A(e=>Reflect.apply(Xe,null,[e,...t]),()=>Ye(...t),"number format",e=>e[qe](...t),at,e=>X(e)||V(e))},D}function it(e={},s){{const s=ct(function(e){const r=X(e.locale)?e.locale:J,t=X(e.fallbackLocale)||V(e.fallbackLocale)||B(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:r,n=j(e.missing)?e.missing:void 0,a=!G(e.silentTranslationWarn)&&!U(e.silentTranslationWarn)||!e.silentTranslationWarn,l=!G(e.silentFallbackWarn)&&!U(e.silentFallbackWarn)||!e.silentFallbackWarn,o=!G(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,c=B(e.modifiers)?e.modifiers:{},i=e.pluralizationRules,u=j(e.postTranslation)?e.postTranslation:void 0,f=!X(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,m=!!e.escapeParameterHtml,_=!G(e.sync)||e.sync;let p=e.messages;if(B(e.sharedMessages)){const r=e.sharedMessages;p=Object.keys(r).reduce((e,t)=>{var n=e[t]||(e[t]={});return H(n,r[t]),e},p||{})}var{__i18n:d,__root:v,__injectWithOption:g}=e,E=e.datetimeFormats,b=e.numberFormats,k=e.flatJson,L=e.translateExistCompatible;return{locale:r,fallbackLocale:t,messages:p,flatJson:k,datetimeFormats:E,numberFormats:b,missing:n,missingWarn:a,fallbackWarn:l,fallbackRoot:o,fallbackFormat:s,modifiers:c,pluralRules:i,postTranslation:u,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:_,translateExistCompatible:L,__i18n:d,__root:v,__injectWithOption:g}}(e)),t=e["__extender"],n={id:s.id,get locale(){return s.locale.value},set locale(e){s.locale.value=e},get fallbackLocale(){return s.fallbackLocale.value},set fallbackLocale(e){s.fallbackLocale.value=e},get messages(){return s.messages.value},get datetimeFormats(){return s.datetimeFormats.value},get numberFormats(){return s.numberFormats.value},get availableLocales(){return s.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return s.getMissingHandler()},set missing(e){s.setMissingHandler(e)},get silentTranslationWarn(){return G(s.missingWarn)?!s.missingWarn:s.missingWarn},set silentTranslationWarn(e){s.missingWarn=G(e)?!e:e},get silentFallbackWarn(){return G(s.fallbackWarn)?!s.fallbackWarn:s.fallbackWarn},set silentFallbackWarn(e){s.fallbackWarn=G(e)?!e:e},get modifiers(){return s.modifiers},get formatFallbackMessages(){return s.fallbackFormat},set formatFallbackMessages(e){s.fallbackFormat=e},get postTranslation(){return s.getPostTranslationHandler()},set postTranslation(e){s.setPostTranslationHandler(e)},get sync(){return s.inheritLocale},set sync(e){s.inheritLocale=e},get warnHtmlInMessage(){return s.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){s.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return s.escapeParameter},set escapeParameterHtml(e){s.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return s.pluralRules||{}},__composer:s,t(...e){const[t,n,r]=e,a={};let l=null,o=null;if(!X(t))throw Error(ee.INVALID_ARGUMENT);e=t;return X(n)?a.locale=n:V(n)?l=n:B(n)&&(o=n),V(r)?l=r:B(r)&&(o=r),Reflect.apply(s.t,s,[e,l||o||{},a])},rt:(...e)=>Reflect.apply(s.rt,s,[...e]),tc(...e){const[t,n,r]=e,a={plural:1};let l=null,o=null;if(!X(t))throw Error(ee.INVALID_ARGUMENT);e=t;return X(n)?a.locale=n:w(n)?a.plural=n:V(n)?l=n:B(n)&&(o=n),X(r)?a.locale=r:V(r)?l=r:B(r)&&(o=r),Reflect.apply(s.t,s,[e,l||o||{},a])},te:(e,t)=>s.te(e,t),tm:e=>s.tm(e),getLocaleMessage:e=>s.getLocaleMessage(e),setLocaleMessage(e,t){s.setLocaleMessage(e,t)},mergeLocaleMessage(e,t){s.mergeLocaleMessage(e,t)},d:(...e)=>Reflect.apply(s.d,s,[...e]),getDateTimeFormat:e=>s.getDateTimeFormat(e),setDateTimeFormat(e,t){s.setDateTimeFormat(e,t)},mergeDateTimeFormat(e,t){s.mergeDateTimeFormat(e,t)},n:(...e)=>Reflect.apply(s.n,s,[...e]),getNumberFormat:e=>s.getNumberFormat(e),setNumberFormat(e,t){s.setNumberFormat(e,t)},mergeNumberFormat(e,t){s.mergeNumberFormat(e,t)},getChoiceIndex:(e,t)=>-1};return n.__extender=t,n}}var ut={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function ft(){return x.Fragment}const v=x.defineComponent({name:"i18n-t",props:H({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>w(e)||!isNaN(e)}},ut),setup(o,s){const{slots:c,attrs:i}=s,u=o.i18n||Nt({useScope:o.scope,__useComponent:!0});return()=>{const e=Object.keys(c).filter(e=>"_"!==e),t={};o.locale&&(t.locale=o.locale),void 0!==o.plural&&(t.plural=X(o.plural)?+o.plural:o.plural);[r,n]=[s["slots"],e];var r,n=1===n.length&&"default"===n[0]?(r.default?r.default():[]).reduce((e,t)=>[...e,...t.type===x.Fragment?t.children:[t]],[]):n.reduce((e,t)=>{const n=r[t];return n&&(e[t]=n()),e},{}),n=u[Je](o.keypath,n,t),a=H({},i),l=X(o.tag)||Y(o.tag)?o.tag:ft();return x.h(l,a,n)}}}),mt=v;function _t(o,e,s,c){const{slots:i,attrs:u}=e;return()=>{const e={part:!0};let t={};o.locale&&(e.locale=o.locale),X(o.format)?e.key=o.format:Y(o.format)&&(X(o.format.key)&&(e.key=o.format.key),t=Object.keys(o.format).reduce((e,t)=>s.includes(t)?H({},e,{[t]:o.format[t]}):e,{}));const l=c(o.value,e,t);let n=[e.key];V(l)?n=l.map((e,t)=>{const n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:l}):[e.value];var a;return V(a=r)&&!X(a[0])&&(r[0].key=e.type+"-"+t),r}):X(l)&&(n=[l]);var r=H({},u),a=X(o.tag)||Y(o.tag)?o.tag:ft();return x.h(a,r,n)}}const pt=x.defineComponent({name:"i18n-n",props:H({value:{type:Number,required:!0},format:{type:[String,Object]}},ut),setup(e,t){const n=e.i18n||Nt({useScope:e.scope,__useComponent:!0});return _t(e,t,Ge,(...e)=>n[qe](...e))}}),dt=pt,vt=x.defineComponent({name:"i18n-d",props:H({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ut),setup(e,t){const n=e.i18n||Nt({useScope:e.scope,__useComponent:!0});return _t(e,t,$e,(...e)=>n[Qe](...e))}}),gt=vt;function Et(a){const l=e=>{var{instance:e,value:t}=e;if(!e||!e.$)throw Error(ee.UNEXPECTED_ERROR);e=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;t=n.__getInstance(t);return(null!=t?t:e.global).__composer}(a,e.$),t=bt(t);return[Reflect.apply(e.t,e,[...kt(t)]),e]};return{created:(e,t)=>{var[n,r]=l(t);M&&a.global===r&&(e.__i18nWatcher=x.watch(r.locale,()=>{t.instance&&t.instance.$forceUpdate()})),e.__composer=r,e.textContent=n},unmounted:e=>{M&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{var n;e.__composer&&(n=e.__composer,t=bt(t),e.textContent=Reflect.apply(n.t,n,[...kt(t)]))},getSSRProps:e=>{var[e]=l(e);return{textContent:e}}}}function bt(e){if(X(e))return{path:e};if(B(e)){if("path"in e)return e;throw Error(ee.REQUIRED_VALUE,"path")}throw Error(ee.INVALID_VALUE)}function kt(e){const{path:t,locale:n,args:r,choice:a,plural:l}=e,o={},s=r||{};return X(n)&&(o.locale=n),w(a)&&(o.plural=a),w(l)&&(o.plural=l),[t,s,o]}function Lt(t,n){t.locale=n.locale||t.locale,t.fallbackLocale=n.fallbackLocale||t.fallbackLocale,t.missing=n.missing||t.missing,t.silentTranslationWarn=n.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=n.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=n.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=n.postTranslation||t.postTranslation,t.warnHtmlInMessage=n.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=n.escapeParameterHtml||t.escapeParameterHtml,t.sync=n.sync||t.sync,t.__composer[Ze](n.pluralizationRules||t.pluralizationRules);const r=ne(t.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(r).forEach(e=>t.mergeLocaleMessage(e,r[e])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(e=>t.mergeDateTimeFormat(e,n.datetimeFormats[e])),n.numberFormats&&Object.keys(n.numberFormats).forEach(e=>t.mergeNumberFormat(e,n.numberFormats[e])),t}const ht=a("global-vue-i18n");function Nt(t={}){var n,r,a,l=x.getCurrentInstance();if(null==l)throw Error(ee.MUST_BE_CALL_SETUP_TOP);if(!l.isCE&&null!=l.appContext.app&&!l.appContext.app.__VUE_I18N_SYMBOL__)throw Error(ee.NOT_INSTALLED);const o=function(e){var t=x.inject(e.isCE?ht:e.appContext.app.__VUE_I18N_SYMBOL__);if(t)return t;throw function(e){{var[e,t,n={}]=[e,null,void 0];const r=n["domain"],a=new SyntaxError(String(e));return a.code=e,t&&(a.location=t),a.domain=r,a}}(e.isCE?ee.NOT_INSTALLED_WITH_PROVIDE:ee.UNEXPECTED_ERROR)}(l),s="composition"===(m=o).mode?m.global:m.global.__composer,e=l.type,c=(m=t,f=e,W(m)?"__i18n"in f?"local":"global":m.useScope||"local");if("legacy"===o.mode&&!t.__useComponent){if(o.allowComposition){var[i,u,f,m={}]=[l,c,s,t];const E="local"===u,b=x.shallowRef(null);if(E&&i.proxy&&!i.proxy.$options.i18n&&!i.proxy.$options.__i18n)throw Error(ee.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const k=G(m.inheritLocale)?m.inheritLocale:!X(m.locale),L=x.ref(!E||k?f.locale.value:X(m.locale)?m.locale:J),h=x.ref(!E||k?f.fallbackLocale.value:X(m.fallbackLocale)||V(m.fallbackLocale)||B(m.fallbackLocale)||!1===m.fallbackLocale?m.fallbackLocale:L.value),N=x.ref(ne(L.value,m)),T=x.ref(B(m.datetimeFormats)?m.datetimeFormats:{[L.value]:{}}),y=x.ref(B(m.numberFormats)?m.numberFormats:{[L.value]:{}}),I=E?f.missingWarn:!G(m.missingWarn)&&!U(m.missingWarn)||m.missingWarn,C=E?f.fallbackWarn:!G(m.fallbackWarn)&&!U(m.fallbackWarn)||m.fallbackWarn,O=E?f.fallbackRoot:!G(m.fallbackRoot)||m.fallbackRoot,P=!!m.fallbackFormat,A=j(m.missing)?m.missing:null,R=j(m.postTranslation)?m.postTranslation:null,F=E?f.warnHtmlMessage:!G(m.warnHtmlMessage)||m.warnHtmlMessage,S=!!m.escapeParameter,D=E?f.modifiers:B(m.modifiers)?m.modifiers:{},M=m.pluralRules||E&&f.pluralRules;var m=x.computed({get:()=>(b.value?b.value.locale:L).value,set:e=>{b.value&&(b.value.locale.value=e),L.value=e}}),f=x.computed({get:()=>(b.value?b.value.fallbackLocale:h).value,set:e=>{b.value&&(b.value.fallbackLocale.value=e),h.value=e}}),_=x.computed(()=>(b.value?b.value.messages:N).value),p=x.computed(()=>T.value),w=x.computed(()=>y.value);function d(e){return L.value,h.value,N.value,T.value,y.value,e()}m={get id(){return b.value?b.value.id:-1},locale:m,fallbackLocale:f,messages:_,datetimeFormats:p,numberFormats:w,get inheritLocale(){return b.value?b.value.inheritLocale:k},set inheritLocale(e){b.value&&(b.value.inheritLocale=e)},get availableLocales(){return b.value?b.value.availableLocales:Object.keys(N.value)},get modifiers(){return b.value?b.value.modifiers:D},get pluralRules(){return b.value?b.value.pluralRules:M},get isGlobal(){return!!b.value&&b.value.isGlobal},get missingWarn(){return b.value?b.value.missingWarn:I},set missingWarn(e){b.value&&(b.value.missingWarn=e)},get fallbackWarn(){return b.value?b.value.fallbackWarn:C},set fallbackWarn(e){b.value&&(b.value.missingWarn=e)},get fallbackRoot(){return b.value?b.value.fallbackRoot:O},set fallbackRoot(e){b.value&&(b.value.fallbackRoot=e)},get fallbackFormat(){return b.value?b.value.fallbackFormat:P},set fallbackFormat(e){b.value&&(b.value.fallbackFormat=e)},get warnHtmlMessage(){return b.value?b.value.warnHtmlMessage:F},set warnHtmlMessage(e){b.value&&(b.value.warnHtmlMessage=e)},get escapeParameter(){return b.value?b.value.escapeParameter:S},set escapeParameter(e){b.value&&(b.value.escapeParameter=e)},t:function(...e){return b.value?d(()=>Reflect.apply(b.value.t,null,[...e])):d(()=>"")},getPostTranslationHandler:function(){return b.value?b.value.getPostTranslationHandler():R},setPostTranslationHandler:function(e){b.value&&b.value.setPostTranslationHandler(e)},getMissingHandler:function(){return b.value?b.value.getMissingHandler():A},setMissingHandler:function(e){b.value&&b.value.setMissingHandler(e)},rt:function(...e){return b.value?Reflect.apply(b.value.rt,null,[...e]):""},d:function(...e){return b.value?d(()=>Reflect.apply(b.value.d,null,[...e])):d(()=>"")},n:function(...e){return b.value?d(()=>Reflect.apply(b.value.n,null,[...e])):d(()=>"")},tm:function(e){return b.value?b.value.tm(e):{}},te:function(e,t){return!!b.value&&b.value.te(e,t)},getLocaleMessage:function(e){return b.value?b.value.getLocaleMessage(e):{}},setLocaleMessage:function(e,t){b.value&&(b.value.setLocaleMessage(e,t),N.value[e]=t)},mergeLocaleMessage:function(e,t){b.value&&b.value.mergeLocaleMessage(e,t)},getDateTimeFormat:function(e){return b.value?b.value.getDateTimeFormat(e):{}},setDateTimeFormat:function(e,t){b.value&&(b.value.setDateTimeFormat(e,t),T.value[e]=t)},mergeDateTimeFormat:function(e,t){b.value&&b.value.mergeDateTimeFormat(e,t)},getNumberFormat:function(e){return b.value?b.value.getNumberFormat(e):{}},setNumberFormat:function(e,t){b.value&&(b.value.setNumberFormat(e,t),y.value[e]=t)},mergeNumberFormat:function(e,t){b.value&&b.value.mergeNumberFormat(e,t)}};return x.onBeforeMount(()=>{if(null==i.proxy||null==i.proxy.$i18n)throw Error(ee.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);var t,e=b.value=i.proxy.$i18n.__composer;"global"===u?(L.value=e.locale.value,h.value=e.fallbackLocale.value,N.value=e.messages.value,T.value=e.datetimeFormats.value,y.value=e.numberFormats.value):E&&((t=e).locale.value=L.value,t.fallbackLocale.value=h.value,Object.keys(N.value).forEach(e=>{t.mergeLocaleMessage(e,N.value[e])}),Object.keys(T.value).forEach(e=>{t.mergeDateTimeFormat(e,T.value[e])}),Object.keys(y.value).forEach(e=>{t.mergeNumberFormat(e,y.value[e])}),t.escapeParameter=S,t.fallbackFormat=P,t.fallbackRoot=O,t.fallbackWarn=C,t.missingWarn=I,t.warnHtmlMessage=F)}),m;return}throw Error(ee.NOT_AVAILABLE_IN_LEGACY_MODE)}if("global"===c)return nt(s,t,e),s;if("parent"===c){let e=function(e,t,n=!1){let r=null;var a,l=t.root;[t,a=!1]=[t,n];let o=null==t?null:a&&t.vnode.ctx||t.parent;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[et]&&(r=null))}if(null!=r)break;if(l===o)break;o=o.parent}return r}(o,l,t.__useComponent);return e=null==e?s:e}const v=o;let g=v.__getInstance(l);if(null==g){const o=H({},t);"__i18n"in e&&(o.__i18n=e.__i18n),s&&(o.__root=s),g=ct(o),v.__composerExtend&&(g[tt]=v.__composerExtend(g)),n=v,r=l,a=g,x.onMounted(()=>{},r),x.onUnmounted(()=>{const e=a,t=(n.__deleteInstance(r),e[tt]);t&&(t(),delete e[tt])},r),v.__setInstance(l,g)}return g}const Tt=["locale","fallbackLocale","availableLocales"],yt=["t","rt","d","n","tm","te"];return Te=function(e,t){if(X(e)){G(t.warnHtmlMessage)&&t.warnHtmlMessage;var n=(t.onCacheKey||De)(e),r=o[n];if(r)return r;var{ast:r,detectError:t}=function(e,t){let n=!1;const r=t.onError||b;return t.onError=e=>{n=!0,r(e)},{...le(e,t),detectError:n}}(e,{...t,location:!1,jit:!0}),r=Fe(r);return t?r:o[n]=r}{const t=e.cacheKey;return t?o[t]||(o[t]=Fe(e)):Fe(e)}},ye=function(e,t){if(!Y(e))return null;let n=se.get(t);if(n||(n=function(e){const t=[];let n,r,a,l,o,s,c,i=-1,u=0,f=0;const m=[];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(!(0{if("__VUE_I18N_BRIDGE__"in e)return e;throw Error(ee.NOT_COMPATIBLE_LEGACY_VUE_I18N)},e.createI18n=function(u={},e){const f=!G(u.legacy)||u.legacy,m=!G(u.globalInjection)||u.globalInjection,t=!f||!!u.allowComposition,n=new Map,[r,_]=function(e,t){const n=x.effectScope();{const x=t?n.run(()=>it(e)):n.run(()=>ct(e));if(null==x)throw Error(ee.UNEXPECTED_ERROR);return[n,x]}}(u,f),p=a("");{const u={get mode(){return f?"legacy":"composition"},get allowComposition(){return t},async install(e,...t){if(e.__VUE_I18N_SYMBOL__=p,e.provide(e.__VUE_I18N_SYMBOL__,u),B(t[0])){const x=t[0];u.__composerExtend=x.__composerExtend,u.__vueI18nExtend=x.__vueI18nExtend}let n=null;var r,a,l,o,s,c;!f&&m&&(n=function(n,r){const a=Object.create(null);Tt.forEach(e=>{const t=Object.getOwnPropertyDescriptor(r,e);if(!t)throw Error(ee.UNEXPECTED_ERROR);var n=x.isRef(t.value)?{get:()=>t.value.value,set(e){t.value.value=e}}:{get:()=>t.get&&t.get()};Object.defineProperty(a,e,n)}),n.config.globalProperties.$i18n=a,yt.forEach(e=>{var t=Object.getOwnPropertyDescriptor(r,e);if(!t||!t.value)throw Error(ee.UNEXPECTED_ERROR);Object.defineProperty(n.config.globalProperties,"$"+e,t)});return()=>{delete n.config.globalProperties.$i18n,yt.forEach(e=>{delete n.config.globalProperties["$"+e]})}}(e,u.global)),[o,t,...s]=[e,u,...t],s=B(s[0])?s[0]:{},c=!!s.useI18nComponentName,G(s.globalInstall)&&!s.globalInstall||([c?"i18n":v.name,"I18nT"].forEach(e=>o.component(e,v)),[pt.name,"I18nN"].forEach(e=>o.component(e,pt)),[vt.name,"I18nD"].forEach(e=>o.component(e,vt))),o.directive("t",Et(t)),f&&e.mixin((r=_,a=_.__composer,l=u,{beforeCreate(){var e=x.getCurrentInstance();if(!e)throw Error(ee.UNEXPECTED_ERROR);var t=this.$options;if(t.i18n){const x=t.i18n;if(t.__i18n&&(x.__i18n=t.__i18n),x.__root=a,this===this.$root)this.$i18n=Lt(r,x);else{x.__injectWithOption=!0,x.__extender=l.__vueI18nExtend,this.$i18n=it(x);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(t.__i18n)if(this===this.$root)this.$i18n=Lt(r,t);else{this.$i18n=it({__i18n:t.__i18n,__injectWithOption:!0,__extender:l.__vueI18nExtend,__root:a});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=r;t.__i18nGlobal&&nt(a,t,t),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...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),l.__setInstance(e,this.$i18n)},mounted(){},unmounted(){var e=x.getCurrentInstance();if(!e)throw Error(ee.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),l.__deleteInstance(e),delete this.$i18n}}));const i=e.unmount;e.unmount=()=>{n&&n(),u.dispose(),i()}},get global(){return _},dispose(){r.stop()},__instances:n,__getInstance:function(e){return n.get(e)||null},__setInstance:function(e,t){n.set(e,t)},__deleteInstance:function(e){n.delete(e)}};return u}},e.useI18n=Nt,e.vTDirective=Et,e}({},Vue);
\ No newline at end of file