gc_i18n 1.2.12 → 1.2.13
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/lib/gc_i18n.css +1 -1
- package/lib/gc_i18n.js +318 -310
- package/lib/gc_i18n.umd.cjs +5 -5
- package/package.json +1 -1
- package/packages/components/config.vue +12 -3
- package/packages/index.js +2 -1
package/lib/gc_i18n.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import './gc_i18n.css';
|
|
2
2
|
import Ua from "keyboardjs";
|
|
3
|
-
import _n, { Message as tt } from "view-ui-plus";
|
|
3
|
+
import _n, { Message as tt, Modal as Va } from "view-ui-plus";
|
|
4
4
|
import "view-ui-plus/dist/styles/viewuiplus.css";
|
|
5
|
-
import { defineComponent as Xt, h as Zn, getCurrentInstance as He, effectScope as
|
|
6
|
-
import
|
|
5
|
+
import { defineComponent as Xt, h as Zn, getCurrentInstance as He, effectScope as Wa, inject as $a, onMounted as xa, onUnmounted as Ga, Fragment as Jt, ref as Ka, shallowRef as Ya, computed as Ge, watch as Mt, isRef as Ha, createVNode as re, Text as Ba, resolveComponent as z, resolveDirective as ja, createBlock as fe, openBlock as se, withCtx as ne, createElementBlock as mn, createCommentVNode as dn, createElementVNode as Ne, withDirectives as Xa, createTextVNode as Ct, renderList as Ja, toDisplayString as gn, nextTick as Qa, createApp as qa } from "vue";
|
|
6
|
+
import $ from "lodash-es";
|
|
7
7
|
import it from "axios";
|
|
8
8
|
import pe from "store2";
|
|
9
|
-
import { jws as
|
|
9
|
+
import { jws as Za } from "jsrsasign";
|
|
10
10
|
/*!
|
|
11
11
|
* shared v11.1.3
|
|
12
12
|
* (c) 2025 kazuya kawaguchi
|
|
@@ -23,26 +23,26 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
23
23
|
e.measure(t, n, a), e.clearMarks(n), e.clearMarks(a);
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const za = /\{([0-9a-zA-Z]+)\}/g;
|
|
27
27
|
function ct(e, ...t) {
|
|
28
|
-
return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(
|
|
28
|
+
return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(za, (n, a) => t.hasOwnProperty(a) ? t[a] : "");
|
|
29
29
|
}
|
|
30
|
-
const de = (e, t = !1) => t ? Symbol.for(e) : Symbol(e),
|
|
30
|
+
const de = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), es = (e, t, n) => ts({ l: e, k: t, s: n }), ts = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), ns = (e) => Qt(e) === "[object Date]", Fe = (e) => Qt(e) === "[object RegExp]", ut = (e) => P(e) && Object.keys(e).length === 0, Q = Object.assign, as = Object.create, W = (e = null) => as(e);
|
|
31
31
|
let En;
|
|
32
32
|
const Se = () => En || (En = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : W());
|
|
33
33
|
function pn(e) {
|
|
34
34
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const ss = Object.prototype.hasOwnProperty;
|
|
37
37
|
function ce(e, t) {
|
|
38
|
-
return
|
|
38
|
+
return ss.call(e, t);
|
|
39
39
|
}
|
|
40
|
-
const B = Array.isArray,
|
|
40
|
+
const B = Array.isArray, x = (e) => typeof e == "function", I = (e) => typeof e == "string", F = (e) => typeof e == "boolean", M = (e) => e !== null && typeof e == "object", rs = (e) => M(e) && x(e.then) && x(e.catch), zn = Object.prototype.toString, Qt = (e) => zn.call(e), P = (e) => Qt(e) === "[object Object]", os = (e) => e == null ? "" : B(e) || P(e) && e.toString === zn ? JSON.stringify(e, null, 2) : String(e);
|
|
41
41
|
function qt(e, t = "") {
|
|
42
42
|
return e.reduce((n, a, s) => s === 0 ? n + a : n + t + a, "");
|
|
43
43
|
}
|
|
44
44
|
const hn = 2;
|
|
45
|
-
function
|
|
45
|
+
function ls(e, t = 0, n = e.length) {
|
|
46
46
|
const a = e.split(/\r?\n/);
|
|
47
47
|
let s = 0;
|
|
48
48
|
const r = [];
|
|
@@ -111,7 +111,7 @@ function rt(e, t) {
|
|
|
111
111
|
* (c) 2025 kazuya kawaguchi
|
|
112
112
|
* Released under the MIT License.
|
|
113
113
|
*/
|
|
114
|
-
function
|
|
114
|
+
function is(e, t, n) {
|
|
115
115
|
return { line: e, column: t, offset: n };
|
|
116
116
|
}
|
|
117
117
|
function Ft(e, t, n) {
|
|
@@ -138,7 +138,7 @@ const k = {
|
|
|
138
138
|
UNHANDLED_CODEGEN_NODE_TYPE: 15,
|
|
139
139
|
// minifier error codes
|
|
140
140
|
UNHANDLED_MINIFIER_NODE_TYPE: 16
|
|
141
|
-
},
|
|
141
|
+
}, cs = 17, us = {
|
|
142
142
|
// tokenizer error messages
|
|
143
143
|
[k.EXPECTED_TOKEN]: "Expected token: '{0}'",
|
|
144
144
|
[k.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
|
|
@@ -161,18 +161,18 @@ const k = {
|
|
|
161
161
|
[k.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
|
|
162
162
|
};
|
|
163
163
|
function Ue(e, t, n = {}) {
|
|
164
|
-
const { domain: a, messages: s, args: r } = n, o = process.env.NODE_ENV !== "production" ? ct((s ||
|
|
164
|
+
const { domain: a, messages: s, args: r } = n, o = process.env.NODE_ENV !== "production" ? ct((s || us)[e] || "", ...r || []) : e, l = new SyntaxError(String(o));
|
|
165
165
|
return l.code = e, t && (l.location = t), l.domain = a, l;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function fs(e) {
|
|
168
168
|
throw e;
|
|
169
169
|
}
|
|
170
|
-
const
|
|
171
|
-
`,
|
|
172
|
-
function
|
|
170
|
+
const _s = /<\/?[\w\s="/.':;#-\/]+>/, ms = (e) => _s.test(e), Ee = " ", ds = "\r", Z = `
|
|
171
|
+
`, gs = "\u2028", Es = "\u2029";
|
|
172
|
+
function ps(e) {
|
|
173
173
|
const t = e;
|
|
174
174
|
let n = 0, a = 1, s = 1, r = 0;
|
|
175
|
-
const o = (h) => t[h] ===
|
|
175
|
+
const o = (h) => t[h] === ds && t[h + 1] === Z, l = (h) => t[h] === Z, u = (h) => t[h] === Es, _ = (h) => t[h] === gs, E = (h) => o(h) || l(h) || u(h) || _(h), N = () => n, p = () => a, S = () => s, D = () => r, v = (h) => o(h) || u(h) || _(h) ? Z : t[h], A = () => v(n), f = () => v(n + r);
|
|
176
176
|
function g() {
|
|
177
177
|
return r = 0, E(n) && (a++, s = 0), o(n) && n++, n++, s++, t[n];
|
|
178
178
|
}
|
|
@@ -206,9 +206,9 @@ function Es(e) {
|
|
|
206
206
|
skipToPeek: y
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
|
-
const Te = void 0,
|
|
210
|
-
function
|
|
211
|
-
const n = t.location !== !1, a =
|
|
209
|
+
const Te = void 0, hs = ".", Tn = "'", Ns = "tokenizer";
|
|
210
|
+
function Ts(e, t = {}) {
|
|
211
|
+
const n = t.location !== !1, a = ps(e), s = () => a.index(), r = () => is(a.line(), a.column(), a.index()), o = r(), l = s(), u = {
|
|
212
212
|
currentType: 13,
|
|
213
213
|
offset: l,
|
|
214
214
|
startLoc: o,
|
|
@@ -225,7 +225,7 @@ function Ns(e, t = {}) {
|
|
|
225
225
|
const K = _();
|
|
226
226
|
if (c.column += T, c.offset += T, E) {
|
|
227
227
|
const Y = n ? Ft(K.startLoc, c) : null, w = Ue(i, Y, {
|
|
228
|
-
domain:
|
|
228
|
+
domain: Ns,
|
|
229
229
|
args: C
|
|
230
230
|
});
|
|
231
231
|
E(w);
|
|
@@ -602,8 +602,8 @@ function Ns(e, t = {}) {
|
|
|
602
602
|
context: _
|
|
603
603
|
};
|
|
604
604
|
}
|
|
605
|
-
const
|
|
606
|
-
function
|
|
605
|
+
const Ls = "parser", bs = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
606
|
+
function Os(e, t, n) {
|
|
607
607
|
switch (e) {
|
|
608
608
|
case "\\\\":
|
|
609
609
|
return "\\";
|
|
@@ -616,13 +616,13 @@ function bs(e, t, n) {
|
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function Is(e = {}) {
|
|
620
620
|
const t = e.location !== !1, { onError: n } = e;
|
|
621
621
|
function a(f, g, b, m, ...O) {
|
|
622
622
|
const y = f.currentPosition();
|
|
623
623
|
if (y.offset += m, y.column += m, n) {
|
|
624
624
|
const h = t ? Ft(b, y) : null, R = Ue(g, h, {
|
|
625
|
-
domain:
|
|
625
|
+
domain: Ls,
|
|
626
626
|
args: O
|
|
627
627
|
});
|
|
628
628
|
n(R);
|
|
@@ -649,7 +649,7 @@ function Os(e = {}) {
|
|
|
649
649
|
}
|
|
650
650
|
function _(f, g) {
|
|
651
651
|
const b = f.context(), { lastOffset: m, lastStartLoc: O } = b, y = s(9, m, O);
|
|
652
|
-
return y.value = g.replace(
|
|
652
|
+
return y.value = g.replace(bs, Os), f.nextToken(), r(y, f.currentOffset(), f.currentPosition()), y;
|
|
653
653
|
}
|
|
654
654
|
function E(f) {
|
|
655
655
|
const g = f.nextToken(), b = f.context(), { lastOffset: m, lastStartLoc: O } = b, y = s(8, m, O);
|
|
@@ -742,7 +742,7 @@ function Os(e = {}) {
|
|
|
742
742
|
return g.currentType === 13 ? O : D(f, b, m, O);
|
|
743
743
|
}
|
|
744
744
|
function A(f) {
|
|
745
|
-
const g =
|
|
745
|
+
const g = Ts(f, Q({}, e)), b = g.context(), m = s(0, b.offset, b.startLoc);
|
|
746
746
|
return t && m.loc && (m.loc.source = f), m.body = v(g), e.onCacheKey && (m.cacheKey = e.onCacheKey(f)), b.currentType !== 13 && a(g, k.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, f[b.offset] || ""), r(m, g.currentOffset(), g.currentPosition()), m;
|
|
747
747
|
}
|
|
748
748
|
return { parse: A };
|
|
@@ -753,7 +753,7 @@ function _e(e) {
|
|
|
753
753
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
754
754
|
return t.length > 10 ? t.slice(0, 9) + "…" : t;
|
|
755
755
|
}
|
|
756
|
-
function
|
|
756
|
+
function vs(e, t = {}) {
|
|
757
757
|
const n = {
|
|
758
758
|
ast: e,
|
|
759
759
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -805,8 +805,8 @@ function en(e, t) {
|
|
|
805
805
|
break;
|
|
806
806
|
}
|
|
807
807
|
}
|
|
808
|
-
function
|
|
809
|
-
const n =
|
|
808
|
+
function ys(e, t = {}) {
|
|
809
|
+
const n = vs(e);
|
|
810
810
|
n.helper(
|
|
811
811
|
"normalize"
|
|
812
812
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -814,7 +814,7 @@ function vs(e, t = {}) {
|
|
|
814
814
|
const a = n.context();
|
|
815
815
|
e.helpers = Array.from(a.helpers);
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function Ss(e) {
|
|
818
818
|
const t = e.body;
|
|
819
819
|
return t.type === 2 ? bn(t) : t.cases.forEach((n) => bn(n)), e;
|
|
820
820
|
}
|
|
@@ -839,7 +839,7 @@ function bn(e) {
|
|
|
839
839
|
}
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
const
|
|
842
|
+
const As = "minifier";
|
|
843
843
|
function Me(e) {
|
|
844
844
|
switch (e.t = e.type, e.type) {
|
|
845
845
|
case 0: {
|
|
@@ -887,14 +887,14 @@ function Me(e) {
|
|
|
887
887
|
default:
|
|
888
888
|
if (process.env.NODE_ENV !== "production")
|
|
889
889
|
throw Ue(k.UNHANDLED_MINIFIER_NODE_TYPE, null, {
|
|
890
|
-
domain:
|
|
890
|
+
domain: As,
|
|
891
891
|
args: [e.type]
|
|
892
892
|
});
|
|
893
893
|
}
|
|
894
894
|
delete e.type;
|
|
895
895
|
}
|
|
896
|
-
const
|
|
897
|
-
function
|
|
896
|
+
const Cs = "parser";
|
|
897
|
+
function Ds(e, t) {
|
|
898
898
|
const { filename: n, breakLineCode: a, needIndent: s } = t, r = t.location !== !1, o = {
|
|
899
899
|
filename: n,
|
|
900
900
|
code: "",
|
|
@@ -936,14 +936,14 @@ function Cs(e, t) {
|
|
|
936
936
|
needIndent: () => o.needIndent
|
|
937
937
|
};
|
|
938
938
|
}
|
|
939
|
-
function
|
|
939
|
+
function ks(e, t) {
|
|
940
940
|
const { helper: n } = e;
|
|
941
941
|
e.push(`${n(
|
|
942
942
|
"linked"
|
|
943
943
|
/* HelperNameMap.LINKED */
|
|
944
944
|
)}(`), we(e, t.key), t.modifier ? (e.push(", "), we(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
945
945
|
}
|
|
946
|
-
function
|
|
946
|
+
function Rs(e, t) {
|
|
947
947
|
const { helper: n, needIndent: a } = e;
|
|
948
948
|
e.push(`${n(
|
|
949
949
|
"normalize"
|
|
@@ -954,7 +954,7 @@ function ks(e, t) {
|
|
|
954
954
|
e.push(", ");
|
|
955
955
|
e.deindent(a()), e.push("])");
|
|
956
956
|
}
|
|
957
|
-
function
|
|
957
|
+
function Ps(e, t) {
|
|
958
958
|
const { helper: n, needIndent: a } = e;
|
|
959
959
|
if (t.cases.length > 1) {
|
|
960
960
|
e.push(`${n(
|
|
@@ -967,23 +967,23 @@ function Rs(e, t) {
|
|
|
967
967
|
e.deindent(a()), e.push("])");
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function Ms(e, t) {
|
|
971
971
|
t.body ? we(e, t.body) : e.push("null");
|
|
972
972
|
}
|
|
973
973
|
function we(e, t) {
|
|
974
974
|
const { helper: n } = e;
|
|
975
975
|
switch (t.type) {
|
|
976
976
|
case 0:
|
|
977
|
-
|
|
977
|
+
Ms(e, t);
|
|
978
978
|
break;
|
|
979
979
|
case 1:
|
|
980
|
-
|
|
980
|
+
Ps(e, t);
|
|
981
981
|
break;
|
|
982
982
|
case 2:
|
|
983
|
-
|
|
983
|
+
Rs(e, t);
|
|
984
984
|
break;
|
|
985
985
|
case 6:
|
|
986
|
-
|
|
986
|
+
ks(e, t);
|
|
987
987
|
break;
|
|
988
988
|
case 8:
|
|
989
989
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -1018,16 +1018,16 @@ function we(e, t) {
|
|
|
1018
1018
|
default:
|
|
1019
1019
|
if (process.env.NODE_ENV !== "production")
|
|
1020
1020
|
throw Ue(k.UNHANDLED_CODEGEN_NODE_TYPE, null, {
|
|
1021
|
-
domain:
|
|
1021
|
+
domain: Cs,
|
|
1022
1022
|
args: [t.type]
|
|
1023
1023
|
});
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
|
-
const
|
|
1026
|
+
const Fs = (e, t = {}) => {
|
|
1027
1027
|
const n = I(t.mode) ? t.mode : "normal", a = I(t.filename) ? t.filename : "message.intl";
|
|
1028
1028
|
t.sourceMap;
|
|
1029
1029
|
const s = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
1030
|
-
`, r = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], l =
|
|
1030
|
+
`, r = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], l = Ds(e, {
|
|
1031
1031
|
filename: a,
|
|
1032
1032
|
breakLineCode: s,
|
|
1033
1033
|
needIndent: r
|
|
@@ -1041,35 +1041,35 @@ const Ms = (e, t = {}) => {
|
|
|
1041
1041
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1042
1042
|
};
|
|
1043
1043
|
};
|
|
1044
|
-
function
|
|
1045
|
-
const n = Q({}, t), a = !!n.jit, s = !!n.minify, r = n.optimize == null ? !0 : n.optimize, l =
|
|
1046
|
-
return a ? (r &&
|
|
1044
|
+
function ws(e, t = {}) {
|
|
1045
|
+
const n = Q({}, t), a = !!n.jit, s = !!n.minify, r = n.optimize == null ? !0 : n.optimize, l = Is(n).parse(e);
|
|
1046
|
+
return a ? (r && Ss(l), s && Me(l), { ast: l, code: "" }) : (ys(l, n), Fs(l, n));
|
|
1047
1047
|
}
|
|
1048
1048
|
/*!
|
|
1049
1049
|
* core-base v11.1.3
|
|
1050
1050
|
* (c) 2025 kazuya kawaguchi
|
|
1051
1051
|
* Released under the MIT License.
|
|
1052
1052
|
*/
|
|
1053
|
-
function
|
|
1053
|
+
function Us() {
|
|
1054
1054
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Se().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Se().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
1055
1055
|
}
|
|
1056
1056
|
function le(e) {
|
|
1057
1057
|
return M(e) && tn(e) === 0 && (ce(e, "b") || ce(e, "body"));
|
|
1058
1058
|
}
|
|
1059
1059
|
const ea = ["b", "body"];
|
|
1060
|
-
function
|
|
1060
|
+
function Vs(e) {
|
|
1061
1061
|
return be(e, ea);
|
|
1062
1062
|
}
|
|
1063
1063
|
const ta = ["c", "cases"];
|
|
1064
|
-
function
|
|
1064
|
+
function Ws(e) {
|
|
1065
1065
|
return be(e, ta, []);
|
|
1066
1066
|
}
|
|
1067
1067
|
const na = ["s", "static"];
|
|
1068
|
-
function
|
|
1068
|
+
function $s(e) {
|
|
1069
1069
|
return be(e, na);
|
|
1070
1070
|
}
|
|
1071
1071
|
const aa = ["i", "items"];
|
|
1072
|
-
function
|
|
1072
|
+
function xs(e) {
|
|
1073
1073
|
return be(e, aa, []);
|
|
1074
1074
|
}
|
|
1075
1075
|
const sa = ["t", "type"];
|
|
@@ -1084,11 +1084,11 @@ function at(e, t) {
|
|
|
1084
1084
|
throw Be(t);
|
|
1085
1085
|
}
|
|
1086
1086
|
const oa = ["m", "modifier"];
|
|
1087
|
-
function
|
|
1087
|
+
function Gs(e) {
|
|
1088
1088
|
return be(e, oa);
|
|
1089
1089
|
}
|
|
1090
1090
|
const la = ["k", "key"];
|
|
1091
|
-
function
|
|
1091
|
+
function Ks(e) {
|
|
1092
1092
|
const t = be(e, la);
|
|
1093
1093
|
if (t)
|
|
1094
1094
|
return t;
|
|
@@ -1119,17 +1119,17 @@ function Be(e) {
|
|
|
1119
1119
|
return new Error(`unhandled node type: ${e}`);
|
|
1120
1120
|
}
|
|
1121
1121
|
function Dt(e) {
|
|
1122
|
-
return (n) =>
|
|
1122
|
+
return (n) => Ys(n, e);
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1125
|
-
const n =
|
|
1124
|
+
function Ys(e, t) {
|
|
1125
|
+
const n = Vs(t);
|
|
1126
1126
|
if (n == null)
|
|
1127
1127
|
throw Be(
|
|
1128
1128
|
0
|
|
1129
1129
|
/* NodeTypes.Resource */
|
|
1130
1130
|
);
|
|
1131
1131
|
if (tn(n) === 1) {
|
|
1132
|
-
const r =
|
|
1132
|
+
const r = Ws(n);
|
|
1133
1133
|
return e.plural(r.reduce((o, l) => [
|
|
1134
1134
|
...o,
|
|
1135
1135
|
On(e, l)
|
|
@@ -1138,11 +1138,11 @@ function Ks(e, t) {
|
|
|
1138
1138
|
return On(e, n);
|
|
1139
1139
|
}
|
|
1140
1140
|
function On(e, t) {
|
|
1141
|
-
const n =
|
|
1141
|
+
const n = $s(t);
|
|
1142
1142
|
if (n != null)
|
|
1143
1143
|
return e.type === "text" ? n : e.normalize([n]);
|
|
1144
1144
|
{
|
|
1145
|
-
const a =
|
|
1145
|
+
const a = xs(t).reduce((s, r) => [...s, wt(e, r)], []);
|
|
1146
1146
|
return e.normalize(a);
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
@@ -1170,7 +1170,7 @@ function wt(e, t) {
|
|
|
1170
1170
|
throw Be(n);
|
|
1171
1171
|
}
|
|
1172
1172
|
case 6: {
|
|
1173
|
-
const a = t, s =
|
|
1173
|
+
const a = t, s = Gs(a), r = Ks(a);
|
|
1174
1174
|
return e.linked(wt(e, r), s ? wt(e, s) : void 0, e.type);
|
|
1175
1175
|
}
|
|
1176
1176
|
case 7:
|
|
@@ -1181,28 +1181,28 @@ function wt(e, t) {
|
|
|
1181
1181
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1182
1182
|
}
|
|
1183
1183
|
}
|
|
1184
|
-
const
|
|
1185
|
-
function
|
|
1186
|
-
t &&
|
|
1184
|
+
const Hs = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
|
|
1185
|
+
function Bs(e, t) {
|
|
1186
|
+
t && ms(e) && Le(ct(Hs, { source: e }));
|
|
1187
1187
|
}
|
|
1188
|
-
const
|
|
1188
|
+
const js = (e) => e;
|
|
1189
1189
|
let st = W();
|
|
1190
|
-
function
|
|
1190
|
+
function Xs(e, t = {}) {
|
|
1191
1191
|
let n = !1;
|
|
1192
|
-
const a = t.onError ||
|
|
1192
|
+
const a = t.onError || fs;
|
|
1193
1193
|
return t.onError = (s) => {
|
|
1194
1194
|
n = !0, a(s);
|
|
1195
|
-
}, { ...
|
|
1195
|
+
}, { ...ws(e, t), detectError: n };
|
|
1196
1196
|
}
|
|
1197
1197
|
// @__NO_SIDE_EFFECTS__
|
|
1198
|
-
function
|
|
1198
|
+
function Js(e, t) {
|
|
1199
1199
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
|
|
1200
1200
|
const n = F(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
1201
|
-
process.env.NODE_ENV !== "production" &&
|
|
1202
|
-
const s = (t.onCacheKey ||
|
|
1201
|
+
process.env.NODE_ENV !== "production" && Bs(e, n);
|
|
1202
|
+
const s = (t.onCacheKey || js)(e), r = st[s];
|
|
1203
1203
|
if (r)
|
|
1204
1204
|
return r;
|
|
1205
|
-
const { ast: o, detectError: l } =
|
|
1205
|
+
const { ast: o, detectError: l } = Xs(e, {
|
|
1206
1206
|
...t,
|
|
1207
1207
|
location: process.env.NODE_ENV !== "production",
|
|
1208
1208
|
jit: !0
|
|
@@ -1220,10 +1220,10 @@ function Xs(e, t) {
|
|
|
1220
1220
|
}
|
|
1221
1221
|
}
|
|
1222
1222
|
let je = null;
|
|
1223
|
-
function
|
|
1223
|
+
function Qs(e) {
|
|
1224
1224
|
je = e;
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1226
|
+
function qs(e, t, n) {
|
|
1227
1227
|
je && je.emit("i18n:init", {
|
|
1228
1228
|
timestamp: Date.now(),
|
|
1229
1229
|
i18n: e,
|
|
@@ -1231,12 +1231,12 @@ function Qs(e, t, n) {
|
|
|
1231
1231
|
meta: n
|
|
1232
1232
|
});
|
|
1233
1233
|
}
|
|
1234
|
-
const
|
|
1235
|
-
function
|
|
1234
|
+
const Zs = /* @__PURE__ */ zs("function:translate");
|
|
1235
|
+
function zs(e) {
|
|
1236
1236
|
return (t) => je && je.emit(e, t);
|
|
1237
1237
|
}
|
|
1238
1238
|
const q = {
|
|
1239
|
-
INVALID_ARGUMENT:
|
|
1239
|
+
INVALID_ARGUMENT: cs,
|
|
1240
1240
|
// 17
|
|
1241
1241
|
INVALID_DATE_ARGUMENT: 18,
|
|
1242
1242
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1244,11 +1244,11 @@ const q = {
|
|
|
1244
1244
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
1245
1245
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1246
1246
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1247
|
-
},
|
|
1247
|
+
}, er = 24;
|
|
1248
1248
|
function he(e) {
|
|
1249
|
-
return Ue(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
1249
|
+
return Ue(e, null, process.env.NODE_ENV !== "production" ? { messages: tr } : void 0);
|
|
1250
1250
|
}
|
|
1251
|
-
const
|
|
1251
|
+
const tr = {
|
|
1252
1252
|
[q.INVALID_ARGUMENT]: "Invalid arguments",
|
|
1253
1253
|
[q.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
|
|
1254
1254
|
[q.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
|
|
@@ -1264,12 +1264,12 @@ let kt;
|
|
|
1264
1264
|
function In(e) {
|
|
1265
1265
|
if (I(e))
|
|
1266
1266
|
return e;
|
|
1267
|
-
if (
|
|
1267
|
+
if (x(e)) {
|
|
1268
1268
|
if (e.resolvedOnce && kt != null)
|
|
1269
1269
|
return kt;
|
|
1270
1270
|
if (e.constructor.name === "Function") {
|
|
1271
1271
|
const t = e();
|
|
1272
|
-
if (
|
|
1272
|
+
if (rs(t))
|
|
1273
1273
|
throw he(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1274
1274
|
return kt = t;
|
|
1275
1275
|
} else
|
|
@@ -1277,7 +1277,7 @@ function In(e) {
|
|
|
1277
1277
|
} else
|
|
1278
1278
|
throw he(q.NOT_SUPPORT_LOCALE_TYPE);
|
|
1279
1279
|
}
|
|
1280
|
-
function
|
|
1280
|
+
function nr(e, t, n) {
|
|
1281
1281
|
return [.../* @__PURE__ */ new Set([
|
|
1282
1282
|
n,
|
|
1283
1283
|
...B(t) ? t : M(t) ? Object.keys(t) : I(t) ? [t] : [n]
|
|
@@ -1301,20 +1301,20 @@ function vn(e, t, n) {
|
|
|
1301
1301
|
let a = !0;
|
|
1302
1302
|
for (let s = 0; s < t.length && F(a); s++) {
|
|
1303
1303
|
const r = t[s];
|
|
1304
|
-
I(r) && (a =
|
|
1304
|
+
I(r) && (a = ar(e, t[s], n));
|
|
1305
1305
|
}
|
|
1306
1306
|
return a;
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1308
|
+
function ar(e, t, n) {
|
|
1309
1309
|
let a;
|
|
1310
1310
|
const s = t.split("-");
|
|
1311
1311
|
do {
|
|
1312
1312
|
const r = s.join("-");
|
|
1313
|
-
a =
|
|
1313
|
+
a = sr(e, r, n), s.splice(-1, 1);
|
|
1314
1314
|
} while (s.length && a === !0);
|
|
1315
1315
|
return a;
|
|
1316
1316
|
}
|
|
1317
|
-
function
|
|
1317
|
+
function sr(e, t, n) {
|
|
1318
1318
|
let a = !1;
|
|
1319
1319
|
if (!e.includes(t) && (a = !0, t)) {
|
|
1320
1320
|
a = t[t.length - 1] !== "!";
|
|
@@ -1484,15 +1484,15 @@ Oe[
|
|
|
1484
1484
|
/* Actions.APPEND */
|
|
1485
1485
|
]
|
|
1486
1486
|
};
|
|
1487
|
-
const
|
|
1488
|
-
function rr(e) {
|
|
1489
|
-
return sr.test(e);
|
|
1490
|
-
}
|
|
1487
|
+
const rr = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1491
1488
|
function or(e) {
|
|
1489
|
+
return rr.test(e);
|
|
1490
|
+
}
|
|
1491
|
+
function lr(e) {
|
|
1492
1492
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1493
1493
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1495
|
+
function ir(e) {
|
|
1496
1496
|
if (e == null)
|
|
1497
1497
|
return "o";
|
|
1498
1498
|
switch (e.charCodeAt(0)) {
|
|
@@ -1529,11 +1529,11 @@ function lr(e) {
|
|
|
1529
1529
|
}
|
|
1530
1530
|
return "i";
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1532
|
+
function cr(e) {
|
|
1533
1533
|
const t = e.trim();
|
|
1534
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
1534
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : or(t) ? lr(t) : "*" + t;
|
|
1535
1535
|
}
|
|
1536
|
-
function
|
|
1536
|
+
function ur(e) {
|
|
1537
1537
|
const t = [];
|
|
1538
1538
|
let n = -1, a = 0, s = 0, r, o, l, u, _, E, N;
|
|
1539
1539
|
const p = [];
|
|
@@ -1565,7 +1565,7 @@ function cr(e) {
|
|
|
1565
1565
|
/* Actions.APPEND */
|
|
1566
1566
|
]();
|
|
1567
1567
|
else {
|
|
1568
|
-
if (s = 0, o === void 0 || (o =
|
|
1568
|
+
if (s = 0, o === void 0 || (o = cr(o), o === !1))
|
|
1569
1569
|
return !1;
|
|
1570
1570
|
p[
|
|
1571
1571
|
1
|
|
@@ -1583,21 +1583,21 @@ function cr(e) {
|
|
|
1583
1583
|
}
|
|
1584
1584
|
for (; a !== null; )
|
|
1585
1585
|
if (n++, r = e[n], !(r === "\\" && S())) {
|
|
1586
|
-
if (u =
|
|
1586
|
+
if (u = ir(r), N = Oe[a], _ = N[u] || N.l || 8, _ === 8 || (a = _[0], _[1] !== void 0 && (E = p[_[1]], E && (l = r, E() === !1))))
|
|
1587
1587
|
return;
|
|
1588
1588
|
if (a === 7)
|
|
1589
1589
|
return t;
|
|
1590
1590
|
}
|
|
1591
1591
|
}
|
|
1592
1592
|
const yn = /* @__PURE__ */ new Map();
|
|
1593
|
-
function
|
|
1593
|
+
function fr(e, t) {
|
|
1594
1594
|
return M(e) ? e[t] : null;
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function _r(e, t) {
|
|
1597
1597
|
if (!M(e))
|
|
1598
1598
|
return null;
|
|
1599
1599
|
let n = yn.get(t);
|
|
1600
|
-
if (n || (n =
|
|
1600
|
+
if (n || (n = ur(t), n && yn.set(t, n)), !n)
|
|
1601
1601
|
return null;
|
|
1602
1602
|
const a = n.length;
|
|
1603
1603
|
let s = e, r = 0;
|
|
@@ -1606,7 +1606,7 @@ function fr(e, t) {
|
|
|
1606
1606
|
if (ia.includes(o) && le(s))
|
|
1607
1607
|
return null;
|
|
1608
1608
|
const l = s[o];
|
|
1609
|
-
if (l === void 0 ||
|
|
1609
|
+
if (l === void 0 || x(s))
|
|
1610
1610
|
return null;
|
|
1611
1611
|
s = l, r++;
|
|
1612
1612
|
}
|
|
@@ -1620,7 +1620,7 @@ const ee = {
|
|
|
1620
1620
|
CANNOT_FORMAT_DATE: 5,
|
|
1621
1621
|
FALLBACK_TO_DATE_FORMAT: 6,
|
|
1622
1622
|
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
|
|
1623
|
-
},
|
|
1623
|
+
}, mr = 8, dr = {
|
|
1624
1624
|
[ee.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
1625
1625
|
[ee.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
1626
1626
|
[ee.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
@@ -1630,10 +1630,10 @@ const ee = {
|
|
|
1630
1630
|
[ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
|
|
1631
1631
|
};
|
|
1632
1632
|
function Ce(e, ...t) {
|
|
1633
|
-
return ct(
|
|
1633
|
+
return ct(dr[e], ...t);
|
|
1634
1634
|
}
|
|
1635
|
-
const
|
|
1636
|
-
function
|
|
1635
|
+
const gr = "11.1.3", ft = -1, Xe = "en-US", ot = "", Sn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1636
|
+
function Er() {
|
|
1637
1637
|
return {
|
|
1638
1638
|
upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1639
1639
|
lower: (e, t) => t === "text" && I(e) ? e.toLowerCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
@@ -1641,30 +1641,30 @@ function gr() {
|
|
|
1641
1641
|
};
|
|
1642
1642
|
}
|
|
1643
1643
|
let ua;
|
|
1644
|
-
function
|
|
1644
|
+
function pr(e) {
|
|
1645
1645
|
ua = e;
|
|
1646
1646
|
}
|
|
1647
1647
|
let fa;
|
|
1648
|
-
function
|
|
1648
|
+
function hr(e) {
|
|
1649
1649
|
fa = e;
|
|
1650
1650
|
}
|
|
1651
1651
|
let _a;
|
|
1652
|
-
function
|
|
1652
|
+
function Nr(e) {
|
|
1653
1653
|
_a = e;
|
|
1654
1654
|
}
|
|
1655
1655
|
let ma = null;
|
|
1656
|
-
const
|
|
1656
|
+
const Tr = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1657
1657
|
ma = e;
|
|
1658
|
-
},
|
|
1658
|
+
}, Lr = /* @__NO_SIDE_EFFECTS__ */ () => ma;
|
|
1659
1659
|
let da = null;
|
|
1660
1660
|
const An = (e) => {
|
|
1661
1661
|
da = e;
|
|
1662
|
-
},
|
|
1662
|
+
}, br = () => da;
|
|
1663
1663
|
let Cn = 0;
|
|
1664
|
-
function
|
|
1665
|
-
const t =
|
|
1666
|
-
process.env.NODE_ENV !== "production" &&
|
|
1667
|
-
const O =
|
|
1664
|
+
function Or(e = {}) {
|
|
1665
|
+
const t = x(e.onWarn) ? e.onWarn : Le, n = I(e.version) ? e.version : gr, a = I(e.locale) || x(e.locale) ? e.locale : Xe, s = x(a) ? Xe : a, r = B(e.fallbackLocale) || P(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = P(e.messages) ? e.messages : Rt(s), l = P(e.datetimeFormats) ? e.datetimeFormats : Rt(s), u = P(e.numberFormats) ? e.numberFormats : Rt(s), _ = Q(W(), e.modifiers, Er()), E = e.pluralRules || W(), N = x(e.missing) ? e.missing : null, p = F(e.missingWarn) || Fe(e.missingWarn) ? e.missingWarn : !0, S = F(e.fallbackWarn) || Fe(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, v = !!e.unresolving, A = x(e.postTranslation) ? e.postTranslation : null, f = P(e.processor) ? e.processor : null, g = F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter, m = x(e.messageCompiler) ? e.messageCompiler : ua;
|
|
1666
|
+
process.env.NODE_ENV !== "production" && x(e.messageCompiler) && Zt(Ce(ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
1667
|
+
const O = x(e.messageResolver) ? e.messageResolver : fa || fr, y = x(e.localeFallbacker) ? e.localeFallbacker : _a || nr, h = M(e.fallbackContext) ? e.fallbackContext : void 0, R = e, U = M(R.__datetimeFormatters) ? R.__datetimeFormatters : /* @__PURE__ */ new Map(), X = M(R.__numberFormatters) ? R.__numberFormatters : /* @__PURE__ */ new Map(), ie = M(R.__meta) ? R.__meta : {};
|
|
1668
1668
|
Cn++;
|
|
1669
1669
|
const J = {
|
|
1670
1670
|
version: n,
|
|
@@ -1690,7 +1690,7 @@ function br(e = {}) {
|
|
|
1690
1690
|
onWarn: t,
|
|
1691
1691
|
__meta: ie
|
|
1692
1692
|
};
|
|
1693
|
-
return J.datetimeFormats = l, J.numberFormats = u, J.__datetimeFormatters = U, J.__numberFormatters = X, process.env.NODE_ENV !== "production" && (J.__v_emitter = R.__v_emitter != null ? R.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) &&
|
|
1693
|
+
return J.datetimeFormats = l, J.numberFormats = u, J.__datetimeFormatters = U, J.__numberFormatters = X, process.env.NODE_ENV !== "production" && (J.__v_emitter = R.__v_emitter != null ? R.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && qs(J, n, ie), J;
|
|
1694
1694
|
}
|
|
1695
1695
|
const Rt = (e) => ({ [e]: W() });
|
|
1696
1696
|
function _t(e, t) {
|
|
@@ -1723,7 +1723,7 @@ function Ke(e, t, n) {
|
|
|
1723
1723
|
function Ea(e, t) {
|
|
1724
1724
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1726
|
+
function Ir(e, t) {
|
|
1727
1727
|
const n = t.indexOf(e);
|
|
1728
1728
|
if (n === -1)
|
|
1729
1729
|
return !1;
|
|
@@ -1811,7 +1811,7 @@ function Ut(...e) {
|
|
|
1811
1811
|
} catch {
|
|
1812
1812
|
throw he(q.INVALID_ISO_DATE_ARGUMENT);
|
|
1813
1813
|
}
|
|
1814
|
-
} else if (
|
|
1814
|
+
} else if (ns(t)) {
|
|
1815
1815
|
if (isNaN(t.getTime()))
|
|
1816
1816
|
throw he(q.INVALID_DATE_ARGUMENT);
|
|
1817
1817
|
l = t;
|
|
@@ -1908,26 +1908,26 @@ function Mn(e, t, n) {
|
|
|
1908
1908
|
a.__numberFormatters.has(r) && a.__numberFormatters.delete(r);
|
|
1909
1909
|
}
|
|
1910
1910
|
}
|
|
1911
|
-
const
|
|
1911
|
+
const vr = (e) => e, yr = (e) => "", Sr = "text", Ar = (e) => e.length === 0 ? "" : qt(e), Cr = os;
|
|
1912
1912
|
function Fn(e, t) {
|
|
1913
1913
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1914
1914
|
}
|
|
1915
|
-
function
|
|
1915
|
+
function Dr(e) {
|
|
1916
1916
|
const t = j(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1917
1917
|
return e.named && (j(e.named.count) || j(e.named.n)) ? j(e.named.count) ? e.named.count : j(e.named.n) ? e.named.n : t : t;
|
|
1918
1918
|
}
|
|
1919
|
-
function
|
|
1919
|
+
function kr(e, t) {
|
|
1920
1920
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1921
1921
|
}
|
|
1922
|
-
function
|
|
1923
|
-
const t = e.locale, n =
|
|
1924
|
-
j(e.pluralIndex) &&
|
|
1922
|
+
function Rr(e = {}) {
|
|
1923
|
+
const t = e.locale, n = Dr(e), a = M(e.pluralRules) && I(t) && x(e.pluralRules[t]) ? e.pluralRules[t] : Fn, s = M(e.pluralRules) && I(t) && x(e.pluralRules[t]) ? Fn : void 0, r = (f) => f[a(n, f.length, s)], o = e.list || [], l = (f) => o[f], u = e.named || W();
|
|
1924
|
+
j(e.pluralIndex) && kr(n, u);
|
|
1925
1925
|
const _ = (f) => u[f];
|
|
1926
1926
|
function E(f, g) {
|
|
1927
|
-
const b =
|
|
1928
|
-
return b || (e.parent ? e.parent.message(f) :
|
|
1927
|
+
const b = x(e.messages) ? e.messages(f, !!g) : M(e.messages) ? e.messages[f] : !1;
|
|
1928
|
+
return b || (e.parent ? e.parent.message(f) : yr);
|
|
1929
1929
|
}
|
|
1930
|
-
const N = (f) => e.modifiers ? e.modifiers[f] :
|
|
1930
|
+
const N = (f) => e.modifiers ? e.modifiers[f] : vr, p = P(e.processor) && x(e.processor.normalize) ? e.processor.normalize : Ar, S = P(e.processor) && x(e.processor.interpolate) ? e.processor.interpolate : Cr, D = P(e.processor) && I(e.processor.type) ? e.processor.type : Sr, A = {
|
|
1931
1931
|
list: l,
|
|
1932
1932
|
named: _,
|
|
1933
1933
|
plural: r,
|
|
@@ -1949,10 +1949,10 @@ function kr(e = {}) {
|
|
|
1949
1949
|
};
|
|
1950
1950
|
return A;
|
|
1951
1951
|
}
|
|
1952
|
-
const wn = () => "", oe = (e) =>
|
|
1952
|
+
const wn = () => "", oe = (e) => x(e);
|
|
1953
1953
|
function Un(e, ...t) {
|
|
1954
|
-
const { fallbackFormat: n, postTranslation: a, unresolving: s, messageCompiler: r, fallbackLocale: o, messages: l } = e, [u, _] = Wt(...t), E = F(_.missingWarn) ? _.missingWarn : e.missingWarn, N = F(_.fallbackWarn) ? _.fallbackWarn : e.fallbackWarn, p = F(_.escapeParameter) ? _.escapeParameter : e.escapeParameter, S = !!_.resolvedMessage, D = I(_.default) || F(_.default) ? F(_.default) ? r ? u : () => u : _.default : n ? r ? u : () => u : null, v = n || D != null && (I(D) ||
|
|
1955
|
-
p &&
|
|
1954
|
+
const { fallbackFormat: n, postTranslation: a, unresolving: s, messageCompiler: r, fallbackLocale: o, messages: l } = e, [u, _] = Wt(...t), E = F(_.missingWarn) ? _.missingWarn : e.missingWarn, N = F(_.fallbackWarn) ? _.fallbackWarn : e.fallbackWarn, p = F(_.escapeParameter) ? _.escapeParameter : e.escapeParameter, S = !!_.resolvedMessage, D = I(_.default) || F(_.default) ? F(_.default) ? r ? u : () => u : _.default : n ? r ? u : () => u : null, v = n || D != null && (I(D) || x(D)), A = nn(e, _);
|
|
1955
|
+
p && Pr(_);
|
|
1956
1956
|
let [f, g, b] = S ? [
|
|
1957
1957
|
u,
|
|
1958
1958
|
A,
|
|
@@ -1968,7 +1968,7 @@ function Un(e, ...t) {
|
|
|
1968
1968
|
}, R = oe(m) ? m : La(e, u, g, m, O, h);
|
|
1969
1969
|
if (y)
|
|
1970
1970
|
return m;
|
|
1971
|
-
const U =
|
|
1971
|
+
const U = Ur(e, g, b, _), X = Rr(U), ie = Mr(e, R, X), J = a ? a(ie, u) : ie;
|
|
1972
1972
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
1973
1973
|
const ke = {
|
|
1974
1974
|
timestamp: Date.now(),
|
|
@@ -1977,11 +1977,11 @@ function Un(e, ...t) {
|
|
|
1977
1977
|
format: I(m) ? m : oe(m) ? m.source : "",
|
|
1978
1978
|
message: J
|
|
1979
1979
|
};
|
|
1980
|
-
ke.meta = Q({}, e.__meta, /* @__PURE__ */
|
|
1980
|
+
ke.meta = Q({}, e.__meta, /* @__PURE__ */ Lr() || {}), Zs(ke);
|
|
1981
1981
|
}
|
|
1982
1982
|
return J;
|
|
1983
1983
|
}
|
|
1984
|
-
function
|
|
1984
|
+
function Pr(e) {
|
|
1985
1985
|
B(e.list) ? e.list = e.list.map((t) => I(t) ? pn(t) : t) : M(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1986
1986
|
I(e.named[t]) && (e.named[t] = pn(e.named[t]));
|
|
1987
1987
|
});
|
|
@@ -2018,7 +2018,7 @@ function Ta(e, t, n, a, s, r) {
|
|
|
2018
2018
|
}
|
|
2019
2019
|
if (I(S) || le(S) || oe(S))
|
|
2020
2020
|
break;
|
|
2021
|
-
if (!
|
|
2021
|
+
if (!Ir(p, E)) {
|
|
2022
2022
|
const O = an(
|
|
2023
2023
|
e,
|
|
2024
2024
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -2045,7 +2045,7 @@ function La(e, t, n, a, s, r) {
|
|
|
2045
2045
|
}
|
|
2046
2046
|
let u = null, _, E;
|
|
2047
2047
|
process.env.NODE_ENV !== "production" && ue && (u = window.performance.now(), _ = "intlify-message-compilation-start", E = "intlify-message-compilation-end", ae && ae(_));
|
|
2048
|
-
const N = o(a,
|
|
2048
|
+
const N = o(a, Fr(e, n, s, a, l, r));
|
|
2049
2049
|
if (process.env.NODE_ENV !== "production" && ue) {
|
|
2050
2050
|
const p = window.performance.now(), S = e.__v_emitter;
|
|
2051
2051
|
S && u && S.emit("message-compilation", {
|
|
@@ -2057,7 +2057,7 @@ function La(e, t, n, a, s, r) {
|
|
|
2057
2057
|
}
|
|
2058
2058
|
return N.locale = n, N.key = t, N.source = a, N;
|
|
2059
2059
|
}
|
|
2060
|
-
function
|
|
2060
|
+
function Mr(e, t, n) {
|
|
2061
2061
|
let a = null, s, r;
|
|
2062
2062
|
process.env.NODE_ENV !== "production" && ue && (a = window.performance.now(), s = "intlify-message-evaluation-start", r = "intlify-message-evaluation-end", ae && ae(s));
|
|
2063
2063
|
const o = t(n);
|
|
@@ -2079,14 +2079,14 @@ function Wt(...e) {
|
|
|
2079
2079
|
const r = j(t) ? String(t) : (oe(t), t);
|
|
2080
2080
|
return j(n) ? s.plural = n : I(n) ? s.default = n : P(n) && !ut(n) ? s.named = n : B(n) && (s.list = n), j(a) ? s.plural = a : I(a) ? s.default = a : P(a) && Q(s, a), [r, s];
|
|
2081
2081
|
}
|
|
2082
|
-
function
|
|
2082
|
+
function Fr(e, t, n, a, s, r) {
|
|
2083
2083
|
return {
|
|
2084
2084
|
locale: t,
|
|
2085
2085
|
key: n,
|
|
2086
2086
|
warnHtmlMessage: s,
|
|
2087
2087
|
onError: (o) => {
|
|
2088
2088
|
if (r && r(o), process.env.NODE_ENV !== "production") {
|
|
2089
|
-
const l =
|
|
2089
|
+
const l = wr(a), u = `Message compilation error: ${o.message}`, _ = o.location && l && ls(l, o.location.start.offset, o.location.end.offset), E = e.__v_emitter;
|
|
2090
2090
|
E && l && E.emit("compile-error", {
|
|
2091
2091
|
message: l,
|
|
2092
2092
|
error: o.message,
|
|
@@ -2098,16 +2098,16 @@ ${_}` : u);
|
|
|
2098
2098
|
} else
|
|
2099
2099
|
throw o;
|
|
2100
2100
|
},
|
|
2101
|
-
onCacheKey: (o) =>
|
|
2101
|
+
onCacheKey: (o) => es(t, n, o)
|
|
2102
2102
|
};
|
|
2103
2103
|
}
|
|
2104
|
-
function
|
|
2104
|
+
function wr(e) {
|
|
2105
2105
|
if (I(e))
|
|
2106
2106
|
return e;
|
|
2107
2107
|
if (e.loc && e.loc.source)
|
|
2108
2108
|
return e.loc.source;
|
|
2109
2109
|
}
|
|
2110
|
-
function
|
|
2110
|
+
function Ur(e, t, n, a) {
|
|
2111
2111
|
const { modifiers: s, pluralRules: r, messageResolver: o, fallbackLocale: l, fallbackWarn: u, missingWarn: _, fallbackContext: E } = e, p = {
|
|
2112
2112
|
locale: t,
|
|
2113
2113
|
modifiers: s,
|
|
@@ -2137,23 +2137,23 @@ function wr(e, t, n, a) {
|
|
|
2137
2137
|
};
|
|
2138
2138
|
return e.processor && (p.processor = e.processor), a.list && (p.list = a.list), a.named && (p.named = a.named), j(a.plural) && (p.pluralIndex = a.plural), p;
|
|
2139
2139
|
}
|
|
2140
|
-
|
|
2141
|
-
function
|
|
2140
|
+
Us();
|
|
2141
|
+
function Vr() {
|
|
2142
2142
|
return ba().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
2143
2143
|
}
|
|
2144
2144
|
function ba() {
|
|
2145
2145
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
2146
2146
|
}
|
|
2147
|
-
const
|
|
2147
|
+
const Wr = typeof Proxy == "function", $r = "devtools-plugin:setup", xr = "plugin:settings:set";
|
|
2148
2148
|
let Pe, $t;
|
|
2149
|
-
function
|
|
2149
|
+
function Gr() {
|
|
2150
2150
|
var e;
|
|
2151
2151
|
return Pe !== void 0 || (typeof window < "u" && window.performance ? (Pe = !0, $t = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Pe = !0, $t = globalThis.perf_hooks.performance) : Pe = !1), Pe;
|
|
2152
2152
|
}
|
|
2153
|
-
function
|
|
2154
|
-
return
|
|
2153
|
+
function Kr() {
|
|
2154
|
+
return Gr() ? $t.now() : Date.now();
|
|
2155
2155
|
}
|
|
2156
|
-
class
|
|
2156
|
+
class Yr {
|
|
2157
2157
|
constructor(t, n) {
|
|
2158
2158
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
|
|
2159
2159
|
const a = {};
|
|
@@ -2181,9 +2181,9 @@ class Kr {
|
|
|
2181
2181
|
r = o;
|
|
2182
2182
|
},
|
|
2183
2183
|
now() {
|
|
2184
|
-
return
|
|
2184
|
+
return Kr();
|
|
2185
2185
|
}
|
|
2186
|
-
}, n && n.on(
|
|
2186
|
+
}, n && n.on(xr, (o, l) => {
|
|
2187
2187
|
o === this.plugin.id && this.fallbacks.setSettings(l);
|
|
2188
2188
|
}), this.proxiedOn = new Proxy({}, {
|
|
2189
2189
|
get: (o, l) => this.target ? this.target.on[l] : (...u) => {
|
|
@@ -2215,12 +2215,12 @@ class Kr {
|
|
|
2215
2215
|
n.resolve(await this.target[n.method](...n.args));
|
|
2216
2216
|
}
|
|
2217
2217
|
}
|
|
2218
|
-
function
|
|
2219
|
-
const n = e, a = ba(), s =
|
|
2218
|
+
function Hr(e, t) {
|
|
2219
|
+
const n = e, a = ba(), s = Vr(), r = Wr && n.enableEarlyProxy;
|
|
2220
2220
|
if (s && (a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !r))
|
|
2221
|
-
s.emit(
|
|
2221
|
+
s.emit($r, e, t);
|
|
2222
2222
|
else {
|
|
2223
|
-
const o = r ? new
|
|
2223
|
+
const o = r ? new Yr(n, s) : null;
|
|
2224
2224
|
(a.__VUE_DEVTOOLS_PLUGINS__ = a.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
2225
2225
|
pluginDescriptor: n,
|
|
2226
2226
|
setupFn: t,
|
|
@@ -2233,13 +2233,13 @@ function Yr(e, t) {
|
|
|
2233
2233
|
* (c) 2025 kazuya kawaguchi
|
|
2234
2234
|
* Released under the MIT License.
|
|
2235
2235
|
*/
|
|
2236
|
-
const
|
|
2237
|
-
function
|
|
2236
|
+
const Br = "11.1.3";
|
|
2237
|
+
function jr() {
|
|
2238
2238
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Se().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Se().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Se().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Se().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
2239
2239
|
}
|
|
2240
2240
|
const G = {
|
|
2241
2241
|
// composer module errors
|
|
2242
|
-
UNEXPECTED_RETURN_TYPE:
|
|
2242
|
+
UNEXPECTED_RETURN_TYPE: er,
|
|
2243
2243
|
// 24
|
|
2244
2244
|
// legacy module errors
|
|
2245
2245
|
INVALID_ARGUMENT: 25,
|
|
@@ -2260,9 +2260,9 @@ const G = {
|
|
|
2260
2260
|
NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
|
|
2261
2261
|
};
|
|
2262
2262
|
function te(e, ...t) {
|
|
2263
|
-
return Ue(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
2263
|
+
return Ue(e, null, process.env.NODE_ENV !== "production" ? { messages: Xr, args: t } : void 0);
|
|
2264
2264
|
}
|
|
2265
|
-
const
|
|
2265
|
+
const Xr = {
|
|
2266
2266
|
[G.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
|
|
2267
2267
|
[G.INVALID_ARGUMENT]: "Invalid argument",
|
|
2268
2268
|
[G.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
|
|
@@ -2275,7 +2275,7 @@ const jr = {
|
|
|
2275
2275
|
[G.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
2276
2276
|
[G.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
2277
2277
|
}, xt = /* @__PURE__ */ de("__translateVNode"), Gt = /* @__PURE__ */ de("__datetimeParts"), Kt = /* @__PURE__ */ de("__numberParts"), De = /* @__PURE__ */ de("__enableEmitter"), Je = /* @__PURE__ */ de("__disableEmitter"), Oa = de("__setPluralRules"), Ia = /* @__PURE__ */ de("__injectWithOption"), Yt = /* @__PURE__ */ de("__dispose"), me = {
|
|
2278
|
-
FALLBACK_TO_ROOT:
|
|
2278
|
+
FALLBACK_TO_ROOT: mr,
|
|
2279
2279
|
// 8
|
|
2280
2280
|
NOT_FOUND_PARENT_SCOPE: 9,
|
|
2281
2281
|
IGNORE_OBJ_FLATTEN: 10,
|
|
@@ -2287,7 +2287,7 @@ const jr = {
|
|
|
2287
2287
|
* @deprecated will be removed at vue-i18n v12
|
|
2288
2288
|
*/
|
|
2289
2289
|
DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12
|
|
2290
|
-
},
|
|
2290
|
+
}, Jr = {
|
|
2291
2291
|
[me.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
|
|
2292
2292
|
[me.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
|
|
2293
2293
|
[me.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
|
|
@@ -2302,7 +2302,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
|
|
|
2302
2302
|
[me.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."
|
|
2303
2303
|
};
|
|
2304
2304
|
function Ze(e, ...t) {
|
|
2305
|
-
return ct(
|
|
2305
|
+
return ct(Jr[e], ...t);
|
|
2306
2306
|
}
|
|
2307
2307
|
function Qe(e) {
|
|
2308
2308
|
if (!M(e) || le(e))
|
|
@@ -2374,20 +2374,20 @@ function ya(e, t, n) {
|
|
|
2374
2374
|
}
|
|
2375
2375
|
}
|
|
2376
2376
|
function Vn(e) {
|
|
2377
|
-
return re(
|
|
2377
|
+
return re(Ba, null, e, 0);
|
|
2378
2378
|
}
|
|
2379
|
-
const Wn = "__INTLIFY_META__", $n = () => [],
|
|
2379
|
+
const Wn = "__INTLIFY_META__", $n = () => [], Qr = () => !1;
|
|
2380
2380
|
let xn = 0;
|
|
2381
2381
|
function Gn(e) {
|
|
2382
2382
|
return (t, n, a, s) => e(n, a, He() || void 0, s);
|
|
2383
2383
|
}
|
|
2384
|
-
const
|
|
2384
|
+
const qr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
2385
2385
|
const e = He();
|
|
2386
2386
|
let t = null;
|
|
2387
2387
|
return e && (t = va(e)[Wn]) ? { [Wn]: t } : null;
|
|
2388
2388
|
};
|
|
2389
2389
|
function rn(e = {}) {
|
|
2390
|
-
const { __root: t, __injectWithOption: n } = e, a = t === void 0, s = e.flatJson, r = ue ?
|
|
2390
|
+
const { __root: t, __injectWithOption: n } = e, a = t === void 0, s = e.flatJson, r = ue ? Ka : Ya;
|
|
2391
2391
|
let o = F(e.inheritLocale) ? e.inheritLocale : !0;
|
|
2392
2392
|
const l = r(
|
|
2393
2393
|
// prettier-ignore
|
|
@@ -2396,13 +2396,13 @@ function rn(e = {}) {
|
|
|
2396
2396
|
// prettier-ignore
|
|
2397
2397
|
t && o ? t.fallbackLocale.value : I(e.fallbackLocale) || B(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
|
|
2398
2398
|
), _ = r(sn(l.value, e)), E = r(P(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), N = r(P(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
|
|
2399
|
-
let p = t ? t.missingWarn : F(e.missingWarn) || Fe(e.missingWarn) ? e.missingWarn : !0, S = t ? t.fallbackWarn : F(e.fallbackWarn) || Fe(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : F(e.fallbackRoot) ? e.fallbackRoot : !0, v = !!e.fallbackFormat, A =
|
|
2399
|
+
let p = t ? t.missingWarn : F(e.missingWarn) || Fe(e.missingWarn) ? e.missingWarn : !0, S = t ? t.fallbackWarn : F(e.fallbackWarn) || Fe(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : F(e.fallbackRoot) ? e.fallbackRoot : !0, v = !!e.fallbackFormat, A = x(e.missing) ? e.missing : null, f = x(e.missing) ? Gn(e.missing) : null, g = x(e.postTranslation) ? e.postTranslation : null, b = t ? t.warnHtmlMessage : F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
|
|
2400
2400
|
const O = t ? t.modifiers : P(e.modifiers) ? e.modifiers : {};
|
|
2401
2401
|
let y = e.pluralRules || t && t.pluralRules, h;
|
|
2402
2402
|
h = (() => {
|
|
2403
2403
|
a && An(null);
|
|
2404
2404
|
const d = {
|
|
2405
|
-
version:
|
|
2405
|
+
version: Br,
|
|
2406
2406
|
locale: l.value,
|
|
2407
2407
|
fallbackLocale: u.value,
|
|
2408
2408
|
messages: _.value,
|
|
@@ -2421,7 +2421,7 @@ function rn(e = {}) {
|
|
|
2421
2421
|
__meta: { framework: "vue" }
|
|
2422
2422
|
};
|
|
2423
2423
|
d.datetimeFormats = E.value, d.numberFormats = N.value, d.__datetimeFormatters = P(h) ? h.__datetimeFormatters : void 0, d.__numberFormatters = P(h) ? h.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (d.__v_emitter = P(h) ? h.__v_emitter : void 0);
|
|
2424
|
-
const L =
|
|
2424
|
+
const L = Or(d);
|
|
2425
2425
|
return a && An(L), L;
|
|
2426
2426
|
})(), Ke(h, l.value, u.value);
|
|
2427
2427
|
function U() {
|
|
@@ -2445,7 +2445,7 @@ function rn(e = {}) {
|
|
|
2445
2445
|
}
|
|
2446
2446
|
}), J = Ge(() => _.value), ke = /* @__PURE__ */ Ge(() => E.value), mt = /* @__PURE__ */ Ge(() => N.value);
|
|
2447
2447
|
function dt() {
|
|
2448
|
-
return
|
|
2448
|
+
return x(g) ? g : null;
|
|
2449
2449
|
}
|
|
2450
2450
|
function gt(d) {
|
|
2451
2451
|
g = d, h.postTranslation = d;
|
|
@@ -2463,7 +2463,7 @@ function rn(e = {}) {
|
|
|
2463
2463
|
U();
|
|
2464
2464
|
let Re;
|
|
2465
2465
|
try {
|
|
2466
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (h.fallbackContext = t ?
|
|
2466
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (h.fallbackContext = t ? br() : void 0), Re = d(h);
|
|
2467
2467
|
} finally {
|
|
2468
2468
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (h.fallbackContext = void 0);
|
|
2469
2469
|
}
|
|
@@ -2539,7 +2539,7 @@ function rn(e = {}) {
|
|
|
2539
2539
|
return !1;
|
|
2540
2540
|
const V = I(L) ? L : l.value, H = Ie(V), ve = h.messageResolver(H, d);
|
|
2541
2541
|
return le(ve) || oe(ve) || I(ve);
|
|
2542
|
-
}, () => [d], "translate exists", (V) => Reflect.apply(V.te, V, [d, L]),
|
|
2542
|
+
}, () => [d], "translate exists", (V) => Reflect.apply(V.te, V, [d, L]), Qr, (V) => F(V));
|
|
2543
2543
|
}
|
|
2544
2544
|
function We(d) {
|
|
2545
2545
|
let L = null;
|
|
@@ -2679,16 +2679,16 @@ const Sa = "vue-i18n: composer properties", Pt = {
|
|
|
2679
2679
|
"vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
|
|
2680
2680
|
"vue-i18n-resource-inspector": "Vue I18n DevTools",
|
|
2681
2681
|
"vue-i18n-timeline": "Vue I18n"
|
|
2682
|
-
}, qr = {
|
|
2683
|
-
"vue-i18n-resource-inspector": "Search for scopes ..."
|
|
2684
2682
|
}, Zr = {
|
|
2683
|
+
"vue-i18n-resource-inspector": "Search for scopes ..."
|
|
2684
|
+
}, zr = {
|
|
2685
2685
|
"vue-i18n-timeline": 16764185
|
|
2686
2686
|
};
|
|
2687
2687
|
let Ht;
|
|
2688
|
-
async function
|
|
2688
|
+
async function eo(e, t) {
|
|
2689
2689
|
return new Promise((n, a) => {
|
|
2690
2690
|
try {
|
|
2691
|
-
|
|
2691
|
+
Hr({
|
|
2692
2692
|
id: "vue-devtools-plugin-vue-i18n",
|
|
2693
2693
|
label: Pt["vue-devtools-plugin-vue-i18n"],
|
|
2694
2694
|
packageName: "vue-i18n",
|
|
@@ -2699,36 +2699,36 @@ async function zr(e, t) {
|
|
|
2699
2699
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2700
2700
|
}, (s) => {
|
|
2701
2701
|
Ht = s, s.on.visitComponentTree(({ componentInstance: o, treeNode: l }) => {
|
|
2702
|
-
|
|
2702
|
+
to(o, l, t);
|
|
2703
2703
|
}), s.on.inspectComponent(({ componentInstance: o, instanceData: l }) => {
|
|
2704
2704
|
o.vnode.el && o.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? o.vnode.el.__VUE_I18N__ !== t.global.__composer && Kn(l, o.vnode.el.__VUE_I18N__) : Kn(l, o.vnode.el.__VUE_I18N__));
|
|
2705
2705
|
}), s.addInspector({
|
|
2706
2706
|
id: "vue-i18n-resource-inspector",
|
|
2707
2707
|
label: Pt["vue-i18n-resource-inspector"],
|
|
2708
2708
|
icon: "language",
|
|
2709
|
-
treeFilterPlaceholder:
|
|
2709
|
+
treeFilterPlaceholder: Zr["vue-i18n-resource-inspector"]
|
|
2710
2710
|
}), s.on.getInspectorTree((o) => {
|
|
2711
|
-
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" &&
|
|
2711
|
+
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && oo(o, t);
|
|
2712
2712
|
});
|
|
2713
2713
|
const r = /* @__PURE__ */ new Map();
|
|
2714
2714
|
s.on.getInspectorState(async (o) => {
|
|
2715
2715
|
if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
|
|
2716
|
-
if (s.unhighlightElement(),
|
|
2716
|
+
if (s.unhighlightElement(), io(o, t), o.nodeId === "global") {
|
|
2717
2717
|
if (!r.has(o.app)) {
|
|
2718
2718
|
const [l] = await s.getComponentInstances(o.app);
|
|
2719
2719
|
r.set(o.app, l);
|
|
2720
2720
|
}
|
|
2721
2721
|
s.highlightElement(r.get(o.app));
|
|
2722
2722
|
} else {
|
|
2723
|
-
const l =
|
|
2723
|
+
const l = lo(o.nodeId, t);
|
|
2724
2724
|
l && s.highlightElement(l);
|
|
2725
2725
|
}
|
|
2726
2726
|
}), s.on.editInspectorState((o) => {
|
|
2727
|
-
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" &&
|
|
2727
|
+
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && uo(o, t);
|
|
2728
2728
|
}), s.addTimelineLayer({
|
|
2729
2729
|
id: "vue-i18n-timeline",
|
|
2730
2730
|
label: Pt["vue-i18n-timeline"],
|
|
2731
|
-
color:
|
|
2731
|
+
color: zr["vue-i18n-timeline"]
|
|
2732
2732
|
}), n(!0);
|
|
2733
2733
|
});
|
|
2734
2734
|
} catch (s) {
|
|
@@ -2739,7 +2739,7 @@ async function zr(e, t) {
|
|
|
2739
2739
|
function Aa(e) {
|
|
2740
2740
|
return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
|
|
2741
2741
|
}
|
|
2742
|
-
function
|
|
2742
|
+
function to(e, t, n) {
|
|
2743
2743
|
const a = n.mode === "composition" ? n.global : n.global.__composer;
|
|
2744
2744
|
if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== a) {
|
|
2745
2745
|
const s = {
|
|
@@ -2793,30 +2793,30 @@ function on(e) {
|
|
|
2793
2793
|
const t = {};
|
|
2794
2794
|
return Object.keys(e).forEach((n) => {
|
|
2795
2795
|
const a = e[n];
|
|
2796
|
-
|
|
2796
|
+
x(a) && "source" in a ? t[n] = ro(a) : le(a) && a.loc && a.loc.source ? t[n] = a.loc.source : M(a) ? t[n] = on(a) : t[n] = a;
|
|
2797
2797
|
}), t;
|
|
2798
2798
|
}
|
|
2799
|
-
const
|
|
2799
|
+
const no = {
|
|
2800
2800
|
"<": "<",
|
|
2801
2801
|
">": ">",
|
|
2802
2802
|
'"': """,
|
|
2803
2803
|
"&": "&"
|
|
2804
2804
|
};
|
|
2805
|
-
function no(e) {
|
|
2806
|
-
return e.replace(/[<>"&]/g, ao);
|
|
2807
|
-
}
|
|
2808
2805
|
function ao(e) {
|
|
2809
|
-
return
|
|
2806
|
+
return e.replace(/[<>"&]/g, so);
|
|
2810
2807
|
}
|
|
2811
2808
|
function so(e) {
|
|
2809
|
+
return no[e] || e;
|
|
2810
|
+
}
|
|
2811
|
+
function ro(e) {
|
|
2812
2812
|
return {
|
|
2813
2813
|
_custom: {
|
|
2814
2814
|
type: "function",
|
|
2815
|
-
display: `<span>ƒ</span> ${e.source ? `("${
|
|
2815
|
+
display: `<span>ƒ</span> ${e.source ? `("${ao(e.source)}")` : "(?)"}`
|
|
2816
2816
|
}
|
|
2817
2817
|
};
|
|
2818
2818
|
}
|
|
2819
|
-
function
|
|
2819
|
+
function oo(e, t) {
|
|
2820
2820
|
e.rootNodes.push({
|
|
2821
2821
|
id: "global",
|
|
2822
2822
|
label: "Global Scope"
|
|
@@ -2830,7 +2830,7 @@ function ro(e, t) {
|
|
|
2830
2830
|
});
|
|
2831
2831
|
}
|
|
2832
2832
|
}
|
|
2833
|
-
function
|
|
2833
|
+
function lo(e, t) {
|
|
2834
2834
|
let n = null;
|
|
2835
2835
|
if (e !== "global") {
|
|
2836
2836
|
for (const [a, s] of t.__instances.entries())
|
|
@@ -2849,11 +2849,11 @@ function Ca(e, t) {
|
|
|
2849
2849
|
return n ? t.mode === "composition" ? n : n.__composer : null;
|
|
2850
2850
|
}
|
|
2851
2851
|
}
|
|
2852
|
-
function
|
|
2852
|
+
function io(e, t) {
|
|
2853
2853
|
const n = Ca(e.nodeId, t);
|
|
2854
|
-
return n && (e.state =
|
|
2854
|
+
return n && (e.state = co(n)), null;
|
|
2855
2855
|
}
|
|
2856
|
-
function
|
|
2856
|
+
function co(e) {
|
|
2857
2857
|
const t = {}, n = "Locale related info", a = [
|
|
2858
2858
|
{
|
|
2859
2859
|
type: n,
|
|
@@ -2928,15 +2928,15 @@ function qe(e, t) {
|
|
|
2928
2928
|
});
|
|
2929
2929
|
}
|
|
2930
2930
|
}
|
|
2931
|
-
function
|
|
2931
|
+
function uo(e, t) {
|
|
2932
2932
|
const n = Ca(e.nodeId, t);
|
|
2933
2933
|
if (n) {
|
|
2934
2934
|
const [a] = e.path;
|
|
2935
2935
|
a === "locale" && I(e.state.value) ? n.locale.value = e.state.value : a === "fallbackLocale" && (I(e.state.value) || B(e.state.value) || M(e.state.value)) ? n.fallbackLocale.value = e.state.value : a === "inheritLocale" && F(e.state.value) && (n.inheritLocale = e.state.value);
|
|
2936
2936
|
}
|
|
2937
2937
|
}
|
|
2938
|
-
function
|
|
2939
|
-
const t = I(e.locale) ? e.locale : Xe, n = I(e.fallbackLocale) || B(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, a =
|
|
2938
|
+
function fo(e) {
|
|
2939
|
+
const t = I(e.locale) ? e.locale : Xe, n = I(e.fallbackLocale) || B(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, a = x(e.missing) ? e.missing : void 0, s = F(e.silentTranslationWarn) || Fe(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = F(e.silentFallbackWarn) || Fe(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = F(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, u = P(e.modifiers) ? e.modifiers : {}, _ = e.pluralizationRules, E = x(e.postTranslation) ? e.postTranslation : void 0, N = I(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, p = !!e.escapeParameterHtml, S = F(e.sync) ? e.sync : !0;
|
|
2940
2940
|
let D = e.messages;
|
|
2941
2941
|
if (P(e.sharedMessages)) {
|
|
2942
2942
|
const O = e.sharedMessages;
|
|
@@ -2971,7 +2971,7 @@ function uo(e) {
|
|
|
2971
2971
|
};
|
|
2972
2972
|
}
|
|
2973
2973
|
function Bt(e = {}) {
|
|
2974
|
-
const t = rn(
|
|
2974
|
+
const t = rn(fo(e)), { __extender: n } = e, a = {
|
|
2975
2975
|
// id
|
|
2976
2976
|
id: t.id,
|
|
2977
2977
|
// locale
|
|
@@ -3139,7 +3139,7 @@ function Bt(e = {}) {
|
|
|
3139
3139
|
s[Je] && s[Je]();
|
|
3140
3140
|
}), a;
|
|
3141
3141
|
}
|
|
3142
|
-
function
|
|
3142
|
+
function _o(e, t, n) {
|
|
3143
3143
|
return {
|
|
3144
3144
|
beforeCreate() {
|
|
3145
3145
|
const a = He();
|
|
@@ -3215,7 +3215,7 @@ const ln = {
|
|
|
3215
3215
|
type: Object
|
|
3216
3216
|
}
|
|
3217
3217
|
};
|
|
3218
|
-
function
|
|
3218
|
+
function mo({ slots: e }, t) {
|
|
3219
3219
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((a, s) => [
|
|
3220
3220
|
...a,
|
|
3221
3221
|
// prettier-ignore
|
|
@@ -3228,7 +3228,7 @@ function _o({ slots: e }, t) {
|
|
|
3228
3228
|
function Da() {
|
|
3229
3229
|
return Jt;
|
|
3230
3230
|
}
|
|
3231
|
-
const
|
|
3231
|
+
const go = /* @__PURE__ */ Xt({
|
|
3232
3232
|
/* eslint-disable */
|
|
3233
3233
|
name: "i18n-t",
|
|
3234
3234
|
props: Q({
|
|
@@ -3251,12 +3251,12 @@ const mo = /* @__PURE__ */ Xt({
|
|
|
3251
3251
|
return () => {
|
|
3252
3252
|
const r = Object.keys(n).filter((N) => N !== "_"), o = W();
|
|
3253
3253
|
e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = I(e.plural) ? +e.plural : e.plural);
|
|
3254
|
-
const l =
|
|
3254
|
+
const l = mo(t, r), u = s[xt](e.keypath, l, o), _ = Q(W(), a), E = I(e.tag) || M(e.tag) ? e.tag : Da();
|
|
3255
3255
|
return Zn(E, _, u);
|
|
3256
3256
|
};
|
|
3257
3257
|
}
|
|
3258
|
-
}), Hn =
|
|
3259
|
-
function
|
|
3258
|
+
}), Hn = go;
|
|
3259
|
+
function Eo(e) {
|
|
3260
3260
|
return B(e) && !I(e[0]);
|
|
3261
3261
|
}
|
|
3262
3262
|
function ka(e, t, n, a) {
|
|
@@ -3269,13 +3269,13 @@ function ka(e, t, n, a) {
|
|
|
3269
3269
|
let _ = [o.key];
|
|
3270
3270
|
B(u) ? _ = u.map((p, S) => {
|
|
3271
3271
|
const D = s[p.type], v = D ? D({ [p.type]: p.value, index: S, parts: u }) : [p.value];
|
|
3272
|
-
return
|
|
3272
|
+
return Eo(v) && (v[0].key = `${p.type}-${S}`), v;
|
|
3273
3273
|
}) : I(u) && (_ = [u]);
|
|
3274
3274
|
const E = Q(W(), r), N = I(e.tag) || M(e.tag) ? e.tag : Da();
|
|
3275
3275
|
return Zn(N, E, _);
|
|
3276
3276
|
};
|
|
3277
3277
|
}
|
|
3278
|
-
const
|
|
3278
|
+
const po = /* @__PURE__ */ Xt({
|
|
3279
3279
|
/* eslint-disable */
|
|
3280
3280
|
name: "i18n-n",
|
|
3281
3281
|
props: Q({
|
|
@@ -3299,8 +3299,8 @@ const Eo = /* @__PURE__ */ Xt({
|
|
|
3299
3299
|
n[Kt](...a)
|
|
3300
3300
|
));
|
|
3301
3301
|
}
|
|
3302
|
-
}), Bn =
|
|
3303
|
-
function
|
|
3302
|
+
}), Bn = po;
|
|
3303
|
+
function ho(e, t) {
|
|
3304
3304
|
const n = e;
|
|
3305
3305
|
if (e.mode === "composition")
|
|
3306
3306
|
return n.__getInstance(t) || e.global;
|
|
@@ -3309,13 +3309,13 @@ function po(e, t) {
|
|
|
3309
3309
|
return a != null ? a.__composer : e.global.__composer;
|
|
3310
3310
|
}
|
|
3311
3311
|
}
|
|
3312
|
-
function
|
|
3312
|
+
function No(e) {
|
|
3313
3313
|
const t = (o) => {
|
|
3314
3314
|
process.env.NODE_ENV !== "production" && Zt(Ze(me.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
|
|
3315
3315
|
const { instance: l, value: u } = o;
|
|
3316
3316
|
if (!l || !l.$)
|
|
3317
3317
|
throw te(G.UNEXPECTED_ERROR);
|
|
3318
|
-
const _ =
|
|
3318
|
+
const _ = ho(e, l.$), E = jn(u);
|
|
3319
3319
|
return [
|
|
3320
3320
|
Reflect.apply(_.t, _, [...Xn(E)]),
|
|
3321
3321
|
_
|
|
@@ -3359,15 +3359,15 @@ function Xn(e) {
|
|
|
3359
3359
|
const { path: t, locale: n, args: a, choice: s, plural: r } = e, o = {}, l = a || {};
|
|
3360
3360
|
return I(n) && (o.locale = n), j(s) && (o.plural = s), j(r) && (o.plural = r), [t, l, o];
|
|
3361
3361
|
}
|
|
3362
|
-
function
|
|
3362
|
+
function To(e, t, ...n) {
|
|
3363
3363
|
const a = P(n[0]) ? n[0] : {};
|
|
3364
|
-
(F(a.globalInstall) ? a.globalInstall : !0) && ([Hn.name, "I18nT"].forEach((r) => e.component(r, Hn)), [Bn.name, "I18nN"].forEach((r) => e.component(r, Bn)), [Qn.name, "I18nD"].forEach((r) => e.component(r, Qn))), e.directive("t",
|
|
3364
|
+
(F(a.globalInstall) ? a.globalInstall : !0) && ([Hn.name, "I18nT"].forEach((r) => e.component(r, Hn)), [Bn.name, "I18nN"].forEach((r) => e.component(r, Bn)), [Qn.name, "I18nD"].forEach((r) => e.component(r, Qn))), e.directive("t", No(t));
|
|
3365
3365
|
}
|
|
3366
|
-
const
|
|
3367
|
-
function
|
|
3366
|
+
const Lo = /* @__PURE__ */ de("global-vue-i18n");
|
|
3367
|
+
function bo(e = {}) {
|
|
3368
3368
|
const t = __VUE_I18N_LEGACY_API__ && F(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
|
|
3369
3369
|
process.env.NODE_ENV !== "production" && t && Zt(Ze(me.DEPRECATE_LEGACY_MODE));
|
|
3370
|
-
const n = F(e.globalInjection) ? e.globalInjection : !0, a = /* @__PURE__ */ new Map(), [s, r] =
|
|
3370
|
+
const n = F(e.globalInjection) ? e.globalInjection : !0, a = /* @__PURE__ */ new Map(), [s, r] = Oo(e, t), o = /* @__PURE__ */ de(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
3371
3371
|
function l(N) {
|
|
3372
3372
|
return a.get(N) || null;
|
|
3373
3373
|
}
|
|
@@ -3389,12 +3389,12 @@ function Lo(e = {}) {
|
|
|
3389
3389
|
E.__composerExtend = v.__composerExtend, E.__vueI18nExtend = v.__vueI18nExtend;
|
|
3390
3390
|
}
|
|
3391
3391
|
let S = null;
|
|
3392
|
-
!t && n && (S =
|
|
3392
|
+
!t && n && (S = ko(N, E.global)), __VUE_I18N_FULL_INSTALL__ && To(N, E, ...p), __VUE_I18N_LEGACY_API__ && t && N.mixin(_o(r, r.__composer, E));
|
|
3393
3393
|
const D = N.unmount;
|
|
3394
3394
|
if (N.unmount = () => {
|
|
3395
3395
|
S && S(), E.dispose(), D();
|
|
3396
3396
|
}, process.env.NODE_ENV !== "production") {
|
|
3397
|
-
if (!await
|
|
3397
|
+
if (!await eo(N, E))
|
|
3398
3398
|
throw te(G.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
3399
3399
|
const A = zt();
|
|
3400
3400
|
if (t) {
|
|
@@ -3431,43 +3431,43 @@ function cn(e = {}) {
|
|
|
3431
3431
|
throw te(G.MUST_BE_CALL_SETUP_TOP);
|
|
3432
3432
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
3433
3433
|
throw te(G.NOT_INSTALLED);
|
|
3434
|
-
const n =
|
|
3434
|
+
const n = Io(t), a = yo(n), s = va(t), r = vo(e, s);
|
|
3435
3435
|
if (r === "global")
|
|
3436
3436
|
return ya(a, e, s), a;
|
|
3437
3437
|
if (r === "parent") {
|
|
3438
|
-
let u =
|
|
3438
|
+
let u = So(n, t, e.__useComponent);
|
|
3439
3439
|
return u == null && (process.env.NODE_ENV !== "production" && Le(Ze(me.NOT_FOUND_PARENT_SCOPE)), u = a), u;
|
|
3440
3440
|
}
|
|
3441
3441
|
const o = n;
|
|
3442
3442
|
let l = o.__getInstance(t);
|
|
3443
3443
|
if (l == null) {
|
|
3444
3444
|
const u = Q({}, e);
|
|
3445
|
-
"__i18n" in s && (u.__i18n = s.__i18n), a && (u.__root = a), l = rn(u), o.__composerExtend && (l[Yt] = o.__composerExtend(l)),
|
|
3445
|
+
"__i18n" in s && (u.__i18n = s.__i18n), a && (u.__root = a), l = rn(u), o.__composerExtend && (l[Yt] = o.__composerExtend(l)), Co(o, t, l), o.__setInstance(t, l);
|
|
3446
3446
|
}
|
|
3447
3447
|
return l;
|
|
3448
3448
|
}
|
|
3449
|
-
function
|
|
3450
|
-
const n =
|
|
3449
|
+
function Oo(e, t) {
|
|
3450
|
+
const n = Wa(), a = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Bt(e)) : n.run(() => rn(e));
|
|
3451
3451
|
if (a == null)
|
|
3452
3452
|
throw te(G.UNEXPECTED_ERROR);
|
|
3453
3453
|
return [n, a];
|
|
3454
3454
|
}
|
|
3455
|
-
function
|
|
3456
|
-
const t =
|
|
3455
|
+
function Io(e) {
|
|
3456
|
+
const t = $a(e.isCE ? Lo : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
3457
3457
|
if (!t)
|
|
3458
3458
|
throw te(e.isCE ? G.NOT_INSTALLED_WITH_PROVIDE : G.UNEXPECTED_ERROR);
|
|
3459
3459
|
return t;
|
|
3460
3460
|
}
|
|
3461
|
-
function
|
|
3461
|
+
function vo(e, t) {
|
|
3462
3462
|
return ut(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
3463
3463
|
}
|
|
3464
|
-
function
|
|
3464
|
+
function yo(e) {
|
|
3465
3465
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
3466
3466
|
}
|
|
3467
|
-
function
|
|
3467
|
+
function So(e, t, n = !1) {
|
|
3468
3468
|
let a = null;
|
|
3469
3469
|
const s = t.root;
|
|
3470
|
-
let r =
|
|
3470
|
+
let r = Ao(t, n);
|
|
3471
3471
|
for (; r != null; ) {
|
|
3472
3472
|
const o = e;
|
|
3473
3473
|
if (e.mode === "composition")
|
|
@@ -3482,36 +3482,36 @@ function yo(e, t, n = !1) {
|
|
|
3482
3482
|
}
|
|
3483
3483
|
return a;
|
|
3484
3484
|
}
|
|
3485
|
-
function
|
|
3485
|
+
function Ao(e, t = !1) {
|
|
3486
3486
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
3487
3487
|
}
|
|
3488
|
-
function
|
|
3488
|
+
function Co(e, t, n) {
|
|
3489
3489
|
let a = null;
|
|
3490
|
-
|
|
3490
|
+
xa(() => {
|
|
3491
3491
|
if (process.env.NODE_ENV !== "production" && t.vnode.el) {
|
|
3492
3492
|
t.vnode.el.__VUE_I18N__ = n, a = zt();
|
|
3493
3493
|
const s = n;
|
|
3494
3494
|
s[De] && s[De](a), a.on("*", qe);
|
|
3495
3495
|
}
|
|
3496
|
-
}, t),
|
|
3496
|
+
}, t), Ga(() => {
|
|
3497
3497
|
const s = n;
|
|
3498
3498
|
process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (a && a.off("*", qe), s[Je] && s[Je](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
|
|
3499
3499
|
const r = s[Yt];
|
|
3500
3500
|
r && (r(), delete s[Yt]);
|
|
3501
3501
|
}, t);
|
|
3502
3502
|
}
|
|
3503
|
-
const
|
|
3503
|
+
const Do = [
|
|
3504
3504
|
"locale",
|
|
3505
3505
|
"fallbackLocale",
|
|
3506
3506
|
"availableLocales"
|
|
3507
3507
|
], Jn = ["t", "rt", "d", "n", "tm", "te"];
|
|
3508
|
-
function
|
|
3508
|
+
function ko(e, t) {
|
|
3509
3509
|
const n = /* @__PURE__ */ Object.create(null);
|
|
3510
|
-
return
|
|
3510
|
+
return Do.forEach((s) => {
|
|
3511
3511
|
const r = Object.getOwnPropertyDescriptor(t, s);
|
|
3512
3512
|
if (!r)
|
|
3513
3513
|
throw te(G.UNEXPECTED_ERROR);
|
|
3514
|
-
const o =
|
|
3514
|
+
const o = Ha(r.value) ? {
|
|
3515
3515
|
get() {
|
|
3516
3516
|
return r.value.value;
|
|
3517
3517
|
},
|
|
@@ -3536,7 +3536,7 @@ function Do(e, t) {
|
|
|
3536
3536
|
});
|
|
3537
3537
|
};
|
|
3538
3538
|
}
|
|
3539
|
-
const
|
|
3539
|
+
const Ro = /* @__PURE__ */ Xt({
|
|
3540
3540
|
/* eslint-disable */
|
|
3541
3541
|
name: "i18n-d",
|
|
3542
3542
|
props: Q({
|
|
@@ -3560,24 +3560,24 @@ const ko = /* @__PURE__ */ Xt({
|
|
|
3560
3560
|
n[Gt](...a)
|
|
3561
3561
|
));
|
|
3562
3562
|
}
|
|
3563
|
-
}), Qn =
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3563
|
+
}), Qn = Ro;
|
|
3564
|
+
jr();
|
|
3565
|
+
pr(Js);
|
|
3566
|
+
hr(_r);
|
|
3567
|
+
Nr(ca);
|
|
3568
3568
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
3569
3569
|
const e = Se();
|
|
3570
|
-
e.__INTLIFY__ = !0,
|
|
3570
|
+
e.__INTLIFY__ = !0, Qs(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
3571
3571
|
}
|
|
3572
3572
|
process.env.NODE_ENV;
|
|
3573
|
-
const
|
|
3573
|
+
const Po = (e) => {
|
|
3574
3574
|
const t = {};
|
|
3575
3575
|
for (const n of e)
|
|
3576
3576
|
t[n.key] = n.value;
|
|
3577
3577
|
return t;
|
|
3578
|
-
},
|
|
3579
|
-
const a =
|
|
3580
|
-
a ?
|
|
3578
|
+
}, Mo = (e, t) => (t.forEach((n) => {
|
|
3579
|
+
const a = $.find(e, { key: n.key });
|
|
3580
|
+
a ? $.merge(a, n) : e.push(n);
|
|
3581
3581
|
}), e), Ra = async ({ baseUrl: e, token: t }) => it.get(e + "/i18n-web/sysoption/getsupportedlangs", {
|
|
3582
3582
|
headers: {
|
|
3583
3583
|
Authorization: t
|
|
@@ -3601,27 +3601,27 @@ const Ro = (e) => {
|
|
|
3601
3601
|
}
|
|
3602
3602
|
});
|
|
3603
3603
|
E.data && E.data.result == 0 ? o(E.data.retVal) : o(E);
|
|
3604
|
-
}),
|
|
3604
|
+
}), Fo = async ({ data: e, token: t, baseUrl: n }) => it({
|
|
3605
3605
|
url: n + "/i18n-web/kv_translate/userDicts",
|
|
3606
3606
|
method: "POST",
|
|
3607
3607
|
headers: {
|
|
3608
3608
|
Authorization: t
|
|
3609
3609
|
},
|
|
3610
3610
|
data: e
|
|
3611
|
-
}),
|
|
3611
|
+
}), wo = async ({ data: e, token: t, baseUrl: n }) => it({
|
|
3612
3612
|
url: n + "/i18n-web/kv_translate/batch",
|
|
3613
3613
|
method: "POST",
|
|
3614
3614
|
data: e,
|
|
3615
3615
|
headers: {
|
|
3616
3616
|
Authorization: t
|
|
3617
3617
|
}
|
|
3618
|
-
}),
|
|
3618
|
+
}), Uo = async ({
|
|
3619
3619
|
baseUrl: e,
|
|
3620
3620
|
appCode: t,
|
|
3621
3621
|
language: n = "zh-CN",
|
|
3622
3622
|
token: a
|
|
3623
3623
|
}) => new Promise(async (s, r) => {
|
|
3624
|
-
const o = pe.namespace(`I18N_${
|
|
3624
|
+
const o = pe.namespace(`I18N_${$.toUpper(t)}`), l = {
|
|
3625
3625
|
baseUrl: e,
|
|
3626
3626
|
appCode: t,
|
|
3627
3627
|
language: n,
|
|
@@ -3636,19 +3636,19 @@ const Ro = (e) => {
|
|
|
3636
3636
|
lastPullDate: _
|
|
3637
3637
|
});
|
|
3638
3638
|
if (E) {
|
|
3639
|
-
const N =
|
|
3640
|
-
if (
|
|
3639
|
+
const N = $.get(u, "translatesDTOs");
|
|
3640
|
+
if ($.isEmpty(E.translatesDTOs))
|
|
3641
3641
|
s(N);
|
|
3642
3642
|
else {
|
|
3643
|
-
const p =
|
|
3643
|
+
const p = Mo(N, E.translatesDTOs), S = {
|
|
3644
3644
|
lastPullDate: E.lastPullDate,
|
|
3645
3645
|
translatesDTOs: p
|
|
3646
3646
|
};
|
|
3647
|
-
pe.namespace(`I18N_${
|
|
3647
|
+
pe.namespace(`I18N_${$.toUpper(t)}`).set(n, S, ":"), s(p);
|
|
3648
3648
|
}
|
|
3649
3649
|
}
|
|
3650
3650
|
}
|
|
3651
|
-
}),
|
|
3651
|
+
}), Vo = {
|
|
3652
3652
|
data() {
|
|
3653
3653
|
return {
|
|
3654
3654
|
LanguageSettingVisible: !1,
|
|
@@ -3694,11 +3694,11 @@ const Ro = (e) => {
|
|
|
3694
3694
|
{
|
|
3695
3695
|
title: "关键词",
|
|
3696
3696
|
fixed: "left",
|
|
3697
|
-
width:
|
|
3697
|
+
width: 110,
|
|
3698
3698
|
key: "dictKey"
|
|
3699
3699
|
}
|
|
3700
3700
|
];
|
|
3701
|
-
return
|
|
3701
|
+
return $.map(this.languages, (t) => {
|
|
3702
3702
|
const n = t.code;
|
|
3703
3703
|
if (t.checked)
|
|
3704
3704
|
return e.push({
|
|
@@ -3716,7 +3716,7 @@ const Ro = (e) => {
|
|
|
3716
3716
|
onOnChange: (u) => {
|
|
3717
3717
|
const _ = u.target.value, {
|
|
3718
3718
|
dictKey: E
|
|
3719
|
-
} = s, N =
|
|
3719
|
+
} = s, N = $.findIndex(this.mySaveData, {
|
|
3720
3720
|
dictKey: E
|
|
3721
3721
|
});
|
|
3722
3722
|
N > -1 ? this.mySaveData[N][n] = _ : this.mySaveData.push({
|
|
@@ -3752,7 +3752,7 @@ const Ro = (e) => {
|
|
|
3752
3752
|
},
|
|
3753
3753
|
methods: {
|
|
3754
3754
|
saveLanguageSetting(e) {
|
|
3755
|
-
const t =
|
|
3755
|
+
const t = $.map($.filter(this.languages, (n) => n.checked), "code");
|
|
3756
3756
|
pe.set("I18N_LANGUAGE_SETTING", t);
|
|
3757
3757
|
},
|
|
3758
3758
|
handleLanguageSettingOpen() {
|
|
@@ -3773,14 +3773,14 @@ const Ro = (e) => {
|
|
|
3773
3773
|
this.isModalVisible || (this.isModalVisible = !0, this.name = e, this.init());
|
|
3774
3774
|
},
|
|
3775
3775
|
findShallowStringDiff(e) {
|
|
3776
|
-
return
|
|
3776
|
+
return $.find(e, ["_isEdit", !0]);
|
|
3777
3777
|
},
|
|
3778
3778
|
async saveData({
|
|
3779
3779
|
msg: e = "保存成功"
|
|
3780
3780
|
}, t = !0) {
|
|
3781
3781
|
const n = [];
|
|
3782
|
-
if (
|
|
3783
|
-
|
|
3782
|
+
if ($.map(this.mySaveData, (s) => {
|
|
3783
|
+
$.map(this.languages, (r) => {
|
|
3784
3784
|
n.push({
|
|
3785
3785
|
key: s.dictKey,
|
|
3786
3786
|
page: s.page,
|
|
@@ -3788,13 +3788,13 @@ const Ro = (e) => {
|
|
|
3788
3788
|
value: s[r.code]
|
|
3789
3789
|
});
|
|
3790
3790
|
});
|
|
3791
|
-
}),
|
|
3791
|
+
}), $.isEmpty(n)) {
|
|
3792
3792
|
tt.error({
|
|
3793
3793
|
content: "没有需要保存的数据"
|
|
3794
3794
|
});
|
|
3795
3795
|
return;
|
|
3796
3796
|
}
|
|
3797
|
-
const a = await
|
|
3797
|
+
const a = await wo({
|
|
3798
3798
|
baseUrl: this.baseUrl,
|
|
3799
3799
|
data: {
|
|
3800
3800
|
appCode: this.appCode,
|
|
@@ -3805,12 +3805,20 @@ const Ro = (e) => {
|
|
|
3805
3805
|
});
|
|
3806
3806
|
a && a.data.result === 0 ? (tt.success({
|
|
3807
3807
|
content: e || a.data.msg
|
|
3808
|
-
}), this.setLanguage(), this.initialData =
|
|
3808
|
+
}), this.setLanguage(), this.initialData = $.cloneDeep(this.data.datas), this.mySaveData = [], Va.confirm({
|
|
3809
|
+
title: "是否刷新页面",
|
|
3810
|
+
onOk: () => {
|
|
3811
|
+
window.location.reload();
|
|
3812
|
+
},
|
|
3813
|
+
onCancel: () => {
|
|
3814
|
+
t && this.closeModal();
|
|
3815
|
+
}
|
|
3816
|
+
})) : tt.error({
|
|
3809
3817
|
content: a.data.msg || "保存失败"
|
|
3810
3818
|
});
|
|
3811
3819
|
},
|
|
3812
3820
|
async saveNoEqual() {
|
|
3813
|
-
|
|
3821
|
+
$.isEmpty(this.mySaveData) || this.saveData({
|
|
3814
3822
|
msg: "已为您自动保存"
|
|
3815
3823
|
}, !1);
|
|
3816
3824
|
},
|
|
@@ -3836,12 +3844,12 @@ const Ro = (e) => {
|
|
|
3836
3844
|
},
|
|
3837
3845
|
async search(e, t) {
|
|
3838
3846
|
this.loading = !0;
|
|
3839
|
-
const n = await
|
|
3847
|
+
const n = await Fo({
|
|
3840
3848
|
baseUrl: this.baseUrl,
|
|
3841
3849
|
data: {
|
|
3842
3850
|
appCode: this.appCode,
|
|
3843
3851
|
searchBlur: this.searchText,
|
|
3844
|
-
commaSeparatedLangs:
|
|
3852
|
+
commaSeparatedLangs: $.map(this.languages, "code").toString(),
|
|
3845
3853
|
page: t === "loginData" ? this.loginRouteName : t === "pageData" ? this.name : "common",
|
|
3846
3854
|
pageSize: 10,
|
|
3847
3855
|
...e
|
|
@@ -3849,9 +3857,9 @@ const Ro = (e) => {
|
|
|
3849
3857
|
token: this.token
|
|
3850
3858
|
});
|
|
3851
3859
|
if (n) {
|
|
3852
|
-
this.initialData =
|
|
3860
|
+
this.initialData = $.cloneDeep(n.data.retVal.datas);
|
|
3853
3861
|
let a = n.data.retVal.datas;
|
|
3854
|
-
this.data =
|
|
3862
|
+
this.data = $.cloneDeep(a), this.page = {
|
|
3855
3863
|
firstResult: n.data.retVal.firstResult,
|
|
3856
3864
|
pageSize: n.data.retVal.pageSize,
|
|
3857
3865
|
totalRows: n.data.retVal.totalRows
|
|
@@ -3870,21 +3878,21 @@ const Ro = (e) => {
|
|
|
3870
3878
|
});
|
|
3871
3879
|
if (t && t.data.result == 0) {
|
|
3872
3880
|
let n = t.data.retVal;
|
|
3873
|
-
|
|
3874
|
-
|
|
3881
|
+
$.isEmpty(e) && (e = ["zh-CN", "en-US", "zh-TW"]), $.map(n, (a) => {
|
|
3882
|
+
$.includes(e, a.code) && (a.checked = !0);
|
|
3875
3883
|
}), this.languages = n, this.getPageData();
|
|
3876
3884
|
} else
|
|
3877
3885
|
tt.error("获取语言失败,出错了");
|
|
3878
3886
|
}
|
|
3879
3887
|
}
|
|
3880
|
-
},
|
|
3888
|
+
}, Wo = (e, t) => {
|
|
3881
3889
|
const n = e.__vccOpts || e;
|
|
3882
3890
|
for (const [a, s] of t)
|
|
3883
3891
|
n[a] = s;
|
|
3884
3892
|
return n;
|
|
3885
|
-
},
|
|
3886
|
-
function
|
|
3887
|
-
const o = z("Spin"), l = z("Table"), u = z("TabPane"), _ = z("Icon"), E = z("Checkbox"), N = z("DropdownItem"), p = z("DropdownMenu"), S = z("Dropdown"), D = z("Input"), v = z("Tabs"), A = z("Page"), f = z("Button"), g = z("Modal"), b =
|
|
3893
|
+
}, $o = { key: 0 }, xo = { class: "extra" }, Go = { class: "gc_i18n_page" }, Ko = { style: { display: "flex" } };
|
|
3894
|
+
function Yo(e, t, n, a, s, r) {
|
|
3895
|
+
const o = z("Spin"), l = z("Table"), u = z("TabPane"), _ = z("Icon"), E = z("Checkbox"), N = z("DropdownItem"), p = z("DropdownMenu"), S = z("Dropdown"), D = z("Input"), v = z("Tabs"), A = z("Page"), f = z("Button"), g = z("Modal"), b = ja("click-away");
|
|
3888
3896
|
return se(), fe(g, {
|
|
3889
3897
|
modelValue: s.isModalVisible,
|
|
3890
3898
|
"onUpdate:modelValue": t[4] || (t[4] = (m) => s.isModalVisible = m),
|
|
@@ -3895,7 +3903,7 @@ function Ko(e, t, n, a, s, r) {
|
|
|
3895
3903
|
onOnCancel: r.closeModal
|
|
3896
3904
|
}, {
|
|
3897
3905
|
default: ne(() => [
|
|
3898
|
-
s.isModalVisible ? (se(), mn("div",
|
|
3906
|
+
s.isModalVisible ? (se(), mn("div", $o, [
|
|
3899
3907
|
re(v, {
|
|
3900
3908
|
modelValue: s.type,
|
|
3901
3909
|
"onUpdate:modelValue": t[2] || (t[2] = (m) => s.type = m),
|
|
@@ -3904,8 +3912,8 @@ function Ko(e, t, n, a, s, r) {
|
|
|
3904
3912
|
onOnClick: r.changeTab
|
|
3905
3913
|
}, {
|
|
3906
3914
|
extra: ne(() => [
|
|
3907
|
-
Ne("div",
|
|
3908
|
-
|
|
3915
|
+
Ne("div", xo, [
|
|
3916
|
+
Xa((se(), fe(S, {
|
|
3909
3917
|
style: { width: "80px" },
|
|
3910
3918
|
transfer: "",
|
|
3911
3919
|
trigger: "custom",
|
|
@@ -3915,7 +3923,7 @@ function Ko(e, t, n, a, s, r) {
|
|
|
3915
3923
|
list: ne(() => [
|
|
3916
3924
|
re(p, null, {
|
|
3917
3925
|
default: ne(() => [
|
|
3918
|
-
(se(!0), mn(Jt, null,
|
|
3926
|
+
(se(!0), mn(Jt, null, Ja(s.languages, (m) => (se(), fe(N, {
|
|
3919
3927
|
key: m.code
|
|
3920
3928
|
}, {
|
|
3921
3929
|
default: ne(() => [
|
|
@@ -4020,8 +4028,8 @@ function Ko(e, t, n, a, s, r) {
|
|
|
4020
4028
|
]),
|
|
4021
4029
|
_: 1
|
|
4022
4030
|
}, 8, ["modelValue", "onOnClick"]),
|
|
4023
|
-
Ne("div",
|
|
4024
|
-
Ne("div",
|
|
4031
|
+
Ne("div", Go, [
|
|
4032
|
+
Ne("div", Ko, [
|
|
4025
4033
|
re(A, {
|
|
4026
4034
|
modelValue: r.firstResult,
|
|
4027
4035
|
"onUpdate:modelValue": t[3] || (t[3] = (m) => r.firstResult = m),
|
|
@@ -4061,7 +4069,7 @@ function Ko(e, t, n, a, s, r) {
|
|
|
4061
4069
|
_: 1
|
|
4062
4070
|
}, 8, ["modelValue", "onOnCancel"]);
|
|
4063
4071
|
}
|
|
4064
|
-
const
|
|
4072
|
+
const Ho = /* @__PURE__ */ Wo(Vo, [["render", Yo], ["__scopeId", "data-v-ef963ad8"]]);
|
|
4065
4073
|
function jt(e) {
|
|
4066
4074
|
const t = [], n = /(?:\$t|_ctx\.\$t)\s*\(\s*(['"])([^'"]+?)\1/gs;
|
|
4067
4075
|
if (e.template) {
|
|
@@ -4095,7 +4103,7 @@ function jt(e) {
|
|
|
4095
4103
|
}
|
|
4096
4104
|
return [...new Set(t)];
|
|
4097
4105
|
}
|
|
4098
|
-
function
|
|
4106
|
+
function Bo(e) {
|
|
4099
4107
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
|
|
4100
4108
|
var a = e.get(t);
|
|
4101
4109
|
a ? a.push(n) : e.set(t, [n]);
|
|
@@ -4124,25 +4132,25 @@ const Pa = function() {
|
|
|
4124
4132
|
}, document.addEventListener(Pa(), e[lt], !1);
|
|
4125
4133
|
}, Fa = function(e) {
|
|
4126
4134
|
document.removeEventListener(Pa(), e[lt], !1), delete e[lt];
|
|
4127
|
-
},
|
|
4135
|
+
}, jo = function(e, t, n) {
|
|
4128
4136
|
t.value !== t.oldValue && Ma(e, t, n);
|
|
4129
|
-
},
|
|
4137
|
+
}, Xo = {
|
|
4130
4138
|
install: function(e) {
|
|
4131
|
-
e.directive("click-away",
|
|
4139
|
+
e.directive("click-away", Jo);
|
|
4132
4140
|
}
|
|
4133
|
-
},
|
|
4141
|
+
}, Jo = {
|
|
4134
4142
|
mounted: Ma,
|
|
4135
|
-
updated:
|
|
4143
|
+
updated: jo,
|
|
4136
4144
|
unmounted: Fa
|
|
4137
4145
|
};
|
|
4138
|
-
function
|
|
4146
|
+
function Qo(e) {
|
|
4139
4147
|
const t = {
|
|
4140
4148
|
alg: "HS512"
|
|
4141
4149
|
// 算法
|
|
4142
4150
|
}, n = {
|
|
4143
4151
|
orgCode: e
|
|
4144
4152
|
}, a = JSON.stringify(t), s = JSON.stringify(n);
|
|
4145
|
-
return
|
|
4153
|
+
return Za.JWS.sign("HS512", a, s, "");
|
|
4146
4154
|
}
|
|
4147
4155
|
class Ye {
|
|
4148
4156
|
constructor(t = {}) {
|
|
@@ -4156,7 +4164,7 @@ class Ye {
|
|
|
4156
4164
|
login: u,
|
|
4157
4165
|
keyboard: _
|
|
4158
4166
|
} = t;
|
|
4159
|
-
this.token = r ||
|
|
4167
|
+
this.token = r || Qo(o), this.loadI18n = !0, this.appCode = a, this.router = n, this.locale = pe.get("I18N_LANGUAGE") || navigator.language || "zh-CN", this.name = "", this.messages = s || {}, this.translationKeys = [], this.translationKeySet = /* @__PURE__ */ new Set(), this.loginRouteName = l || "login", this.login = u, this.loginTranslationKeys = [], this.keyboard = _ || "shift>t", this.baseUrl = t.dev ? "https://test.ihotel.cn" : "https://trans.ihotel.cn", this.initRouterGuards(), this.initI18n(t), Ua.bind(this.keyboard, (E) => {
|
|
4160
4168
|
!this.configInstance && this.name != this.loginRouteName && (this.translationKeys = Array.from(this.translationKeySet), this.configInstance = this.createModal(this.name), this.configInstance.openModal({ name: this.name }));
|
|
4161
4169
|
}), this.setupLanguageChangeListener();
|
|
4162
4170
|
}
|
|
@@ -4206,7 +4214,7 @@ class Ye {
|
|
|
4206
4214
|
a();
|
|
4207
4215
|
}), Ye._afterEachGuardRegistered || (Ye._afterEachGuardRegistered = !0, this.router.afterEach(async () => {
|
|
4208
4216
|
var s, r, o;
|
|
4209
|
-
await
|
|
4217
|
+
await Qa();
|
|
4210
4218
|
const t = Array.from(this.translationKeySet), n = Array.from(
|
|
4211
4219
|
/* @__PURE__ */ new Set([...this.translationKeys || [], ...t])
|
|
4212
4220
|
);
|
|
@@ -4215,7 +4223,7 @@ class Ye {
|
|
|
4215
4223
|
}
|
|
4216
4224
|
// 初始化 i18n 实例
|
|
4217
4225
|
initI18n(t) {
|
|
4218
|
-
this.i18n =
|
|
4226
|
+
this.i18n = bo({
|
|
4219
4227
|
locale: this.locale,
|
|
4220
4228
|
globalInjection: !0,
|
|
4221
4229
|
legacy: !1,
|
|
@@ -4232,7 +4240,7 @@ class Ye {
|
|
|
4232
4240
|
const r = (u = (l = (o = this.router) == null ? void 0 : o.currentRoute) == null ? void 0 : l.value) == null ? void 0 : u.name;
|
|
4233
4241
|
if (r) {
|
|
4234
4242
|
const _ = `${r}.${a}`, E = n(_);
|
|
4235
|
-
if (E !== _)
|
|
4243
|
+
if (E !== _ && !$.isEmpty(E))
|
|
4236
4244
|
return E;
|
|
4237
4245
|
{
|
|
4238
4246
|
const N = `common.${a}`, p = n(N);
|
|
@@ -4243,7 +4251,7 @@ class Ye {
|
|
|
4243
4251
|
}, globalThis.$deepScan = function(a) {
|
|
4244
4252
|
return a;
|
|
4245
4253
|
}, globalThis.$clearI18n = () => {
|
|
4246
|
-
pe.namespace(`I18N_${
|
|
4254
|
+
pe.namespace(`I18N_${$.toUpper(this.appCode)}`).clearAll();
|
|
4247
4255
|
}, globalThis.$changeLocale = this.changeLocale = this.i18n.global.changeLocale = async (a) => {
|
|
4248
4256
|
await this.setLanguage(a || this.locale);
|
|
4249
4257
|
};
|
|
@@ -4262,23 +4270,23 @@ class Ye {
|
|
|
4262
4270
|
token: this.token
|
|
4263
4271
|
});
|
|
4264
4272
|
if (a.data) {
|
|
4265
|
-
const s =
|
|
4273
|
+
const s = $.get(a.data, "retVal");
|
|
4266
4274
|
return pe.set("I18N_LANGUAGES", s), s;
|
|
4267
4275
|
}
|
|
4268
4276
|
}
|
|
4269
4277
|
}
|
|
4270
4278
|
async setLanguage(t) {
|
|
4271
4279
|
return new Promise(async (n, a) => {
|
|
4272
|
-
const s = await
|
|
4280
|
+
const s = await Uo({
|
|
4273
4281
|
baseUrl: this.baseUrl,
|
|
4274
4282
|
appCode: this.appCode,
|
|
4275
4283
|
language: t || this.locale,
|
|
4276
4284
|
token: this.token
|
|
4277
4285
|
});
|
|
4278
4286
|
if (s) {
|
|
4279
|
-
const r =
|
|
4287
|
+
const r = Po(s), o = $.assign(
|
|
4280
4288
|
{},
|
|
4281
|
-
|
|
4289
|
+
$.get(this.messages, t),
|
|
4282
4290
|
r
|
|
4283
4291
|
);
|
|
4284
4292
|
this.i18n.global.setLocaleMessage(t, o);
|
|
@@ -4287,10 +4295,10 @@ class Ye {
|
|
|
4287
4295
|
});
|
|
4288
4296
|
}
|
|
4289
4297
|
createModal(t) {
|
|
4290
|
-
const n =
|
|
4298
|
+
const n = Bo();
|
|
4291
4299
|
return n.on("closeModal", (a) => {
|
|
4292
4300
|
this.configInstance = null;
|
|
4293
|
-
}),
|
|
4301
|
+
}), qa(Ho, {
|
|
4294
4302
|
appCode: this.appCode,
|
|
4295
4303
|
token: this.token,
|
|
4296
4304
|
setLanguage: this.setLanguage.bind(this, this.locale),
|
|
@@ -4304,7 +4312,7 @@ class Ye {
|
|
|
4304
4312
|
// 基础URL
|
|
4305
4313
|
emitter: n
|
|
4306
4314
|
// 将事件总线作为 prop 传递
|
|
4307
|
-
}).use(_n).use(
|
|
4315
|
+
}).use(_n).use(Xo).mount(document.createElement("div"));
|
|
4308
4316
|
}
|
|
4309
4317
|
install(t, n = {}) {
|
|
4310
4318
|
t.use(_n, {
|