china-mobile-international-custom-components 0.0.38 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/ApplicationTypeTag.mjs +4 -4
- package/es/SourcePublish.mjs +809 -780
- package/es/Table.mjs +10 -0
- package/es/assets/ApplicationTypeTag.css +1 -1
- package/es/assets/BackBar.css +1 -0
- package/es/assets/SourcePublish.css +1 -1
- package/es/chunks/BackBar.DwhmSL-a.js +601 -0
- package/es/chunks/{i18n.D5TCTMH9.js → i18n.BNeBD4gR.js} +14 -10
- package/es/chunks/{index.CyqKJ7zE.js → i18n.DUrvNBQz.js} +964 -998
- package/es/chunks/{index.CEulrjCM.js → index.BcLVH95_.js} +262 -266
- package/es/chunks/index.Dh5IGfxO.js +290 -0
- package/es/index.mjs +137 -85
- package/lib/ApplicationTypeTag.js +1 -1
- package/lib/SourcePublish.js +1 -1
- package/lib/Table.js +1 -0
- package/lib/assets/ApplicationTypeTag.css +1 -1
- package/lib/assets/BackBar.css +1 -0
- package/lib/assets/SourcePublish.css +1 -1
- package/lib/chunks/BackBar.CYThcqhK.js +1 -0
- package/lib/chunks/{i18n.DOz2kyiP.js → i18n.D-d0yyXi.js} +6 -6
- package/lib/chunks/i18n.Giy85Rng.js +6 -0
- package/lib/chunks/index.Bk55us0s.js +1 -0
- package/lib/chunks/{index.mVFuSNRS.js → index.CV29Us4A.js} +6 -6
- package/lib/index.js +1 -1
- package/package.json +4 -4
- package/lib/chunks/index.C-BOSJfQ.js +0 -6
|
@@ -3,8 +3,7 @@ import * as ht from "vue";
|
|
|
3
3
|
import { effectScope as br, ref as Ir, shallowRef as Or, computed as he, watch as Ot, isRef as Ar, defineComponent as Ut, h as wn, Fragment as Un, inject as vr, onMounted as Cr, onUnmounted as Dr, createVNode as Sr, Text as Pr, getCurrentInstance as Fr, createElementBlock as yr, openBlock as kr, normalizeClass as Rr, toDisplayString as Mr } from "vue";
|
|
4
4
|
import { A as qe } from "./config.DE5PZU2F.js";
|
|
5
5
|
import { ElMessageBox as wr } from "element-plus";
|
|
6
|
-
import Ur from "js
|
|
7
|
-
import { _ as Vr } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
+
import { _ as Ur } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
8
7
|
import '../assets/index3.css';function ue(e, t) {
|
|
9
8
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
10
9
|
}
|
|
@@ -23,11 +22,11 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
23
22
|
e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
|
|
24
23
|
});
|
|
25
24
|
}
|
|
26
|
-
const
|
|
25
|
+
const Vr = /\{([0-9a-zA-Z]+)\}/g;
|
|
27
26
|
function et(e, ...t) {
|
|
28
|
-
return t.length === 1 && R(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(
|
|
27
|
+
return t.length === 1 && R(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Vr, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
|
|
29
28
|
}
|
|
30
|
-
const ce = (e, t = !1) => t ? Symbol.for(e) : Symbol(e),
|
|
29
|
+
const ce = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), $r = (e, t, n) => Br({ l: e, k: t, s: n }), Br = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), xr = (e) => $t(e) === "[object Date]", Se = (e) => $t(e) === "[object RegExp]", tt = (e) => k(e) && Object.keys(e).length === 0, J = Object.assign, Wr = Object.create, $ = (e = null) => Wr(e);
|
|
31
30
|
let en;
|
|
32
31
|
const Le = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : $());
|
|
33
32
|
function tn(e) {
|
|
@@ -36,7 +35,7 @@ function tn(e) {
|
|
|
36
35
|
function nn(e) {
|
|
37
36
|
return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
38
37
|
}
|
|
39
|
-
function
|
|
38
|
+
function Gr(e) {
|
|
40
39
|
return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, a, s) => `${a}="${nn(s)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, a, s) => `${a}='${nn(s)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && ue("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1on$3")), [
|
|
41
40
|
// In href, src, action, formaction attributes
|
|
42
41
|
/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
|
|
@@ -46,16 +45,16 @@ function Yr(e) {
|
|
|
46
45
|
e = e.replace(r, "$1javascript:");
|
|
47
46
|
}), e;
|
|
48
47
|
}
|
|
49
|
-
const
|
|
48
|
+
const Yr = Object.prototype.hasOwnProperty;
|
|
50
49
|
function se(e, t) {
|
|
51
|
-
return
|
|
50
|
+
return Yr.call(e, t);
|
|
52
51
|
}
|
|
53
|
-
const G = Array.isArray, B = (e) => typeof e == "function", I = (e) => typeof e == "string", M = (e) => typeof e == "boolean", R = (e) => e !== null && typeof e == "object",
|
|
52
|
+
const G = Array.isArray, B = (e) => typeof e == "function", I = (e) => typeof e == "string", M = (e) => typeof e == "boolean", R = (e) => e !== null && typeof e == "object", Hr = (e) => R(e) && B(e.then) && B(e.catch), Vn = Object.prototype.toString, $t = (e) => Vn.call(e), k = (e) => $t(e) === "[object Object]", Kr = (e) => e == null ? "" : G(e) || k(e) && e.toString === Vn ? JSON.stringify(e, null, 2) : String(e);
|
|
54
53
|
function Bt(e, t = "") {
|
|
55
54
|
return e.reduce((n, r, a) => a === 0 ? n + r : n + t + r, "");
|
|
56
55
|
}
|
|
57
56
|
const rn = 2;
|
|
58
|
-
function
|
|
57
|
+
function jr(e, t = 0, n = e.length) {
|
|
59
58
|
const r = e.split(/\r?\n/);
|
|
60
59
|
let a = 0;
|
|
61
60
|
const s = [];
|
|
@@ -112,7 +111,7 @@ function Ze(e, t) {
|
|
|
112
111
|
});
|
|
113
112
|
}
|
|
114
113
|
}
|
|
115
|
-
function
|
|
114
|
+
function Xr(e, t, n) {
|
|
116
115
|
return { line: e, column: t, offset: n };
|
|
117
116
|
}
|
|
118
117
|
function At(e, t, n) {
|
|
@@ -139,7 +138,7 @@ const P = {
|
|
|
139
138
|
UNHANDLED_CODEGEN_NODE_TYPE: 15,
|
|
140
139
|
// minifier error codes
|
|
141
140
|
UNHANDLED_MINIFIER_NODE_TYPE: 16
|
|
142
|
-
},
|
|
141
|
+
}, Jr = 17, Qr = {
|
|
143
142
|
// tokenizer error messages
|
|
144
143
|
[P.EXPECTED_TOKEN]: "Expected token: '{0}'",
|
|
145
144
|
[P.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
|
|
@@ -162,18 +161,18 @@ const P = {
|
|
|
162
161
|
[P.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
|
|
163
162
|
};
|
|
164
163
|
function ke(e, t, n = {}) {
|
|
165
|
-
const { domain: r, messages: a, args: s } = n, o = process.env.NODE_ENV !== "production" ? et((a ||
|
|
164
|
+
const { domain: r, messages: a, args: s } = n, o = process.env.NODE_ENV !== "production" ? et((a || Qr)[e] || "", ...s || []) : e, i = new SyntaxError(String(o));
|
|
166
165
|
return i.code = e, t && (i.location = t), i.domain = r, i;
|
|
167
166
|
}
|
|
168
|
-
function
|
|
167
|
+
function qr(e) {
|
|
169
168
|
throw e;
|
|
170
169
|
}
|
|
171
|
-
const
|
|
172
|
-
`,
|
|
173
|
-
function
|
|
170
|
+
const Zr = /<\/?[\w\s="/.':;#-\/]+>/, zr = (e) => Zr.test(e), le = " ", ea = "\r", Q = `
|
|
171
|
+
`, ta = "\u2028", na = "\u2029";
|
|
172
|
+
function ra(e) {
|
|
174
173
|
const t = e;
|
|
175
174
|
let n = 0, r = 1, a = 1, s = 0;
|
|
176
|
-
const o = (g) => t[g] ===
|
|
175
|
+
const o = (g) => t[g] === ea && t[g + 1] === Q, i = (g) => t[g] === Q, c = (g) => t[g] === na, E = (g) => t[g] === ta, b = (g) => o(g) || i(g) || c(g) || E(g), L = () => n, N = () => r, C = () => a, F = () => s, v = (g) => o(g) || c(g) || E(g) ? Q : t[g], D = () => v(n), f = () => v(n + s);
|
|
177
176
|
function m() {
|
|
178
177
|
return s = 0, b(n) && (r++, a = 0), o(n) && n++, n++, a++, t[n];
|
|
179
178
|
}
|
|
@@ -207,9 +206,9 @@ function aa(e) {
|
|
|
207
206
|
skipToPeek: A
|
|
208
207
|
};
|
|
209
208
|
}
|
|
210
|
-
const _e = void 0,
|
|
211
|
-
function
|
|
212
|
-
const n = t.location !== !1, r =
|
|
209
|
+
const _e = void 0, aa = ".", an = "'", sa = "tokenizer";
|
|
210
|
+
function oa(e, t = {}) {
|
|
211
|
+
const n = t.location !== !1, r = ra(e), a = () => r.index(), s = () => Xr(r.line(), r.column(), r.index()), o = s(), i = a(), c = {
|
|
213
212
|
currentType: 13,
|
|
214
213
|
offset: i,
|
|
215
214
|
startLoc: o,
|
|
@@ -226,7 +225,7 @@ function la(e, t = {}) {
|
|
|
226
225
|
const W = E();
|
|
227
226
|
if (u.column += p, u.offset += p, b) {
|
|
228
227
|
const H = n ? At(W.startLoc, u) : null, w = ke(l, H, {
|
|
229
|
-
domain:
|
|
228
|
+
domain: sa,
|
|
230
229
|
args: S
|
|
231
230
|
});
|
|
232
231
|
b(w);
|
|
@@ -608,8 +607,8 @@ function la(e, t = {}) {
|
|
|
608
607
|
context: E
|
|
609
608
|
};
|
|
610
609
|
}
|
|
611
|
-
const
|
|
612
|
-
function
|
|
610
|
+
const la = "parser", ia = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
611
|
+
function ua(e, t, n) {
|
|
613
612
|
switch (e) {
|
|
614
613
|
case "\\\\":
|
|
615
614
|
return "\\";
|
|
@@ -622,13 +621,13 @@ function ca(e, t, n) {
|
|
|
622
621
|
}
|
|
623
622
|
}
|
|
624
623
|
}
|
|
625
|
-
function
|
|
624
|
+
function ca(e = {}) {
|
|
626
625
|
const t = e.location !== !1, { onError: n } = e;
|
|
627
626
|
function r(f, m, T, d, ...O) {
|
|
628
627
|
const A = f.currentPosition();
|
|
629
628
|
if (A.offset += d, A.column += d, n) {
|
|
630
629
|
const g = t ? At(T, A) : null, y = ke(m, g, {
|
|
631
|
-
domain:
|
|
630
|
+
domain: la,
|
|
632
631
|
args: O
|
|
633
632
|
});
|
|
634
633
|
n(y);
|
|
@@ -655,7 +654,7 @@ function fa(e = {}) {
|
|
|
655
654
|
}
|
|
656
655
|
function E(f, m) {
|
|
657
656
|
const T = f.context(), { lastOffset: d, lastStartLoc: O } = T, A = a(9, d, O);
|
|
658
|
-
return A.value = m.replace(
|
|
657
|
+
return A.value = m.replace(ia, ua), f.nextToken(), s(A, f.currentOffset(), f.currentPosition()), A;
|
|
659
658
|
}
|
|
660
659
|
function b(f) {
|
|
661
660
|
const m = f.nextToken(), T = f.context(), { lastOffset: d, lastStartLoc: O } = T, A = a(8, d, O);
|
|
@@ -748,7 +747,7 @@ function fa(e = {}) {
|
|
|
748
747
|
return m.currentType === 13 ? O : F(f, T, d, O);
|
|
749
748
|
}
|
|
750
749
|
function D(f) {
|
|
751
|
-
const m =
|
|
750
|
+
const m = oa(f, J({}, e)), T = m.context(), d = a(0, T.offset, T.startLoc);
|
|
752
751
|
return t && d.loc && (d.loc.source = f), d.body = v(m), e.onCacheKey && (d.cacheKey = e.onCacheKey(f)), T.currentType !== 13 && r(m, P.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, f[T.offset] || ""), s(d, m.currentOffset(), m.currentPosition()), d;
|
|
753
752
|
}
|
|
754
753
|
return { parse: D };
|
|
@@ -759,7 +758,7 @@ function ie(e) {
|
|
|
759
758
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
760
759
|
return t.length > 10 ? t.slice(0, 9) + "…" : t;
|
|
761
760
|
}
|
|
762
|
-
function
|
|
761
|
+
function fa(e, t = {}) {
|
|
763
762
|
const n = {
|
|
764
763
|
ast: e,
|
|
765
764
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -811,8 +810,8 @@ function Wt(e, t) {
|
|
|
811
810
|
break;
|
|
812
811
|
}
|
|
813
812
|
}
|
|
814
|
-
function
|
|
815
|
-
const n =
|
|
813
|
+
function _a(e, t = {}) {
|
|
814
|
+
const n = fa(e);
|
|
816
815
|
n.helper(
|
|
817
816
|
"normalize"
|
|
818
817
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -820,7 +819,7 @@ function ma(e, t = {}) {
|
|
|
820
819
|
const r = n.context();
|
|
821
820
|
e.helpers = Array.from(r.helpers);
|
|
822
821
|
}
|
|
823
|
-
function
|
|
822
|
+
function ma(e) {
|
|
824
823
|
const t = e.body;
|
|
825
824
|
return t.type === 2 ? on(t) : t.cases.forEach((n) => on(n)), e;
|
|
826
825
|
}
|
|
@@ -845,7 +844,7 @@ function on(e) {
|
|
|
845
844
|
}
|
|
846
845
|
}
|
|
847
846
|
}
|
|
848
|
-
const
|
|
847
|
+
const da = "minifier";
|
|
849
848
|
function Ce(e) {
|
|
850
849
|
switch (e.t = e.type, e.type) {
|
|
851
850
|
case 0: {
|
|
@@ -893,14 +892,14 @@ function Ce(e) {
|
|
|
893
892
|
default:
|
|
894
893
|
if (process.env.NODE_ENV !== "production")
|
|
895
894
|
throw ke(P.UNHANDLED_MINIFIER_NODE_TYPE, null, {
|
|
896
|
-
domain:
|
|
895
|
+
domain: da,
|
|
897
896
|
args: [e.type]
|
|
898
897
|
});
|
|
899
898
|
}
|
|
900
899
|
delete e.type;
|
|
901
900
|
}
|
|
902
|
-
const
|
|
903
|
-
function
|
|
901
|
+
const Ea = "parser";
|
|
902
|
+
function ga(e, t) {
|
|
904
903
|
const { filename: n, breakLineCode: r, needIndent: a } = t, s = t.location !== !1, o = {
|
|
905
904
|
filename: n,
|
|
906
905
|
code: "",
|
|
@@ -942,14 +941,14 @@ function pa(e, t) {
|
|
|
942
941
|
needIndent: () => o.needIndent
|
|
943
942
|
};
|
|
944
943
|
}
|
|
945
|
-
function
|
|
944
|
+
function pa(e, t) {
|
|
946
945
|
const { helper: n } = e;
|
|
947
946
|
e.push(`${n(
|
|
948
947
|
"linked"
|
|
949
948
|
/* HelperNameMap.LINKED */
|
|
950
949
|
)}(`), Pe(e, t.key), t.modifier ? (e.push(", "), Pe(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
951
950
|
}
|
|
952
|
-
function
|
|
951
|
+
function Na(e, t) {
|
|
953
952
|
const { helper: n, needIndent: r } = e;
|
|
954
953
|
e.push(`${n(
|
|
955
954
|
"normalize"
|
|
@@ -960,7 +959,7 @@ function ha(e, t) {
|
|
|
960
959
|
e.push(", ");
|
|
961
960
|
e.deindent(r()), e.push("])");
|
|
962
961
|
}
|
|
963
|
-
function
|
|
962
|
+
function ha(e, t) {
|
|
964
963
|
const { helper: n, needIndent: r } = e;
|
|
965
964
|
if (t.cases.length > 1) {
|
|
966
965
|
e.push(`${n(
|
|
@@ -973,23 +972,23 @@ function La(e, t) {
|
|
|
973
972
|
e.deindent(r()), e.push("])");
|
|
974
973
|
}
|
|
975
974
|
}
|
|
976
|
-
function
|
|
975
|
+
function La(e, t) {
|
|
977
976
|
t.body ? Pe(e, t.body) : e.push("null");
|
|
978
977
|
}
|
|
979
978
|
function Pe(e, t) {
|
|
980
979
|
const { helper: n } = e;
|
|
981
980
|
switch (t.type) {
|
|
982
981
|
case 0:
|
|
983
|
-
|
|
982
|
+
La(e, t);
|
|
984
983
|
break;
|
|
985
984
|
case 1:
|
|
986
|
-
|
|
985
|
+
ha(e, t);
|
|
987
986
|
break;
|
|
988
987
|
case 2:
|
|
989
|
-
|
|
988
|
+
Na(e, t);
|
|
990
989
|
break;
|
|
991
990
|
case 6:
|
|
992
|
-
|
|
991
|
+
pa(e, t);
|
|
993
992
|
break;
|
|
994
993
|
case 8:
|
|
995
994
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -1024,16 +1023,16 @@ function Pe(e, t) {
|
|
|
1024
1023
|
default:
|
|
1025
1024
|
if (process.env.NODE_ENV !== "production")
|
|
1026
1025
|
throw ke(P.UNHANDLED_CODEGEN_NODE_TYPE, null, {
|
|
1027
|
-
domain:
|
|
1026
|
+
domain: Ea,
|
|
1028
1027
|
args: [t.type]
|
|
1029
1028
|
});
|
|
1030
1029
|
}
|
|
1031
1030
|
}
|
|
1032
|
-
const
|
|
1031
|
+
const Ta = (e, t = {}) => {
|
|
1033
1032
|
const n = I(t.mode) ? t.mode : "normal", r = I(t.filename) ? t.filename : "message.intl";
|
|
1034
1033
|
t.sourceMap;
|
|
1035
1034
|
const a = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
1036
|
-
`, s = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i =
|
|
1035
|
+
`, s = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = ga(e, {
|
|
1037
1036
|
filename: r,
|
|
1038
1037
|
breakLineCode: a,
|
|
1039
1038
|
needIndent: s
|
|
@@ -1047,30 +1046,30 @@ const ba = (e, t = {}) => {
|
|
|
1047
1046
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1048
1047
|
};
|
|
1049
1048
|
};
|
|
1050
|
-
function
|
|
1051
|
-
const n = J({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, i =
|
|
1052
|
-
return r ? (s &&
|
|
1049
|
+
function ba(e, t = {}) {
|
|
1050
|
+
const n = J({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, i = ca(n).parse(e);
|
|
1051
|
+
return r ? (s && ma(i), a && Ce(i), { ast: i, code: "" }) : (_a(i, n), Ta(i, n));
|
|
1053
1052
|
}
|
|
1054
|
-
function
|
|
1053
|
+
function Ia() {
|
|
1055
1054
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
1056
1055
|
}
|
|
1057
1056
|
function re(e) {
|
|
1058
1057
|
return R(e) && Gt(e) === 0 && (se(e, "b") || se(e, "body"));
|
|
1059
1058
|
}
|
|
1060
1059
|
const $n = ["b", "body"];
|
|
1061
|
-
function
|
|
1060
|
+
function Oa(e) {
|
|
1062
1061
|
return de(e, $n);
|
|
1063
1062
|
}
|
|
1064
1063
|
const Bn = ["c", "cases"];
|
|
1065
|
-
function
|
|
1064
|
+
function Aa(e) {
|
|
1066
1065
|
return de(e, Bn, []);
|
|
1067
1066
|
}
|
|
1068
1067
|
const xn = ["s", "static"];
|
|
1069
|
-
function
|
|
1068
|
+
function va(e) {
|
|
1070
1069
|
return de(e, xn);
|
|
1071
1070
|
}
|
|
1072
1071
|
const Wn = ["i", "items"];
|
|
1073
|
-
function
|
|
1072
|
+
function Ca(e) {
|
|
1074
1073
|
return de(e, Wn, []);
|
|
1075
1074
|
}
|
|
1076
1075
|
const Gn = ["t", "type"];
|
|
@@ -1085,11 +1084,11 @@ function Je(e, t) {
|
|
|
1085
1084
|
throw $e(t);
|
|
1086
1085
|
}
|
|
1087
1086
|
const Hn = ["m", "modifier"];
|
|
1088
|
-
function
|
|
1087
|
+
function Da(e) {
|
|
1089
1088
|
return de(e, Hn);
|
|
1090
1089
|
}
|
|
1091
1090
|
const Kn = ["k", "key"];
|
|
1092
|
-
function
|
|
1091
|
+
function Sa(e) {
|
|
1093
1092
|
const t = de(e, Kn);
|
|
1094
1093
|
if (t)
|
|
1095
1094
|
return t;
|
|
@@ -1120,17 +1119,17 @@ function $e(e) {
|
|
|
1120
1119
|
return new Error(`unhandled node type: ${e}`);
|
|
1121
1120
|
}
|
|
1122
1121
|
function Lt(e) {
|
|
1123
|
-
return (n) =>
|
|
1122
|
+
return (n) => Pa(n, e);
|
|
1124
1123
|
}
|
|
1125
|
-
function
|
|
1126
|
-
const n =
|
|
1124
|
+
function Pa(e, t) {
|
|
1125
|
+
const n = Oa(t);
|
|
1127
1126
|
if (n == null)
|
|
1128
1127
|
throw $e(
|
|
1129
1128
|
0
|
|
1130
1129
|
/* NodeTypes.Resource */
|
|
1131
1130
|
);
|
|
1132
1131
|
if (Gt(n) === 1) {
|
|
1133
|
-
const s =
|
|
1132
|
+
const s = Aa(n);
|
|
1134
1133
|
return e.plural(s.reduce((o, i) => [
|
|
1135
1134
|
...o,
|
|
1136
1135
|
ln(e, i)
|
|
@@ -1139,11 +1138,11 @@ function Fa(e, t) {
|
|
|
1139
1138
|
return ln(e, n);
|
|
1140
1139
|
}
|
|
1141
1140
|
function ln(e, t) {
|
|
1142
|
-
const n =
|
|
1141
|
+
const n = va(t);
|
|
1143
1142
|
if (n != null)
|
|
1144
1143
|
return e.type === "text" ? n : e.normalize([n]);
|
|
1145
1144
|
{
|
|
1146
|
-
const r =
|
|
1145
|
+
const r = Ca(t).reduce((a, s) => [...a, vt(e, s)], []);
|
|
1147
1146
|
return e.normalize(r);
|
|
1148
1147
|
}
|
|
1149
1148
|
}
|
|
@@ -1171,7 +1170,7 @@ function vt(e, t) {
|
|
|
1171
1170
|
throw $e(n);
|
|
1172
1171
|
}
|
|
1173
1172
|
case 6: {
|
|
1174
|
-
const r = t, a =
|
|
1173
|
+
const r = t, a = Da(r), s = Sa(r);
|
|
1175
1174
|
return e.linked(vt(e, s), a ? vt(e, a) : void 0, e.type);
|
|
1176
1175
|
}
|
|
1177
1176
|
case 7:
|
|
@@ -1182,28 +1181,28 @@ function vt(e, t) {
|
|
|
1182
1181
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1183
1182
|
}
|
|
1184
1183
|
}
|
|
1185
|
-
const
|
|
1186
|
-
function
|
|
1187
|
-
t &&
|
|
1184
|
+
const Fa = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
|
|
1185
|
+
function ya(e, t) {
|
|
1186
|
+
t && zr(e) && ue(et(Fa, { source: e }));
|
|
1188
1187
|
}
|
|
1189
|
-
const
|
|
1188
|
+
const ka = (e) => e;
|
|
1190
1189
|
let Qe = $();
|
|
1191
|
-
function
|
|
1190
|
+
function Ra(e, t = {}) {
|
|
1192
1191
|
let n = !1;
|
|
1193
|
-
const r = t.onError ||
|
|
1192
|
+
const r = t.onError || qr;
|
|
1194
1193
|
return t.onError = (a) => {
|
|
1195
1194
|
n = !0, r(a);
|
|
1196
|
-
}, { ...
|
|
1195
|
+
}, { ...ba(e, t), detectError: n };
|
|
1197
1196
|
}
|
|
1198
1197
|
// @__NO_SIDE_EFFECTS__
|
|
1199
|
-
function
|
|
1198
|
+
function Ma(e, t) {
|
|
1200
1199
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
|
|
1201
1200
|
const n = M(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
1202
|
-
process.env.NODE_ENV !== "production" &&
|
|
1203
|
-
const a = (t.onCacheKey ||
|
|
1201
|
+
process.env.NODE_ENV !== "production" && ya(e, n);
|
|
1202
|
+
const a = (t.onCacheKey || ka)(e), s = Qe[a];
|
|
1204
1203
|
if (s)
|
|
1205
1204
|
return s;
|
|
1206
|
-
const { ast: o, detectError: i } =
|
|
1205
|
+
const { ast: o, detectError: i } = Ra(e, {
|
|
1207
1206
|
...t,
|
|
1208
1207
|
location: process.env.NODE_ENV !== "production",
|
|
1209
1208
|
jit: !0
|
|
@@ -1221,10 +1220,10 @@ function wa(e, t) {
|
|
|
1221
1220
|
}
|
|
1222
1221
|
}
|
|
1223
1222
|
let Be = null;
|
|
1224
|
-
function
|
|
1223
|
+
function wa(e) {
|
|
1225
1224
|
Be = e;
|
|
1226
1225
|
}
|
|
1227
|
-
function
|
|
1226
|
+
function Ua(e, t, n) {
|
|
1228
1227
|
Be && Be.emit("i18n:init", {
|
|
1229
1228
|
timestamp: Date.now(),
|
|
1230
1229
|
i18n: e,
|
|
@@ -1232,12 +1231,12 @@ function Va(e, t, n) {
|
|
|
1232
1231
|
meta: n
|
|
1233
1232
|
});
|
|
1234
1233
|
}
|
|
1235
|
-
const
|
|
1236
|
-
function
|
|
1234
|
+
const Va = /* @__PURE__ */ $a("function:translate");
|
|
1235
|
+
function $a(e) {
|
|
1237
1236
|
return (t) => Be && Be.emit(e, t);
|
|
1238
1237
|
}
|
|
1239
1238
|
const q = {
|
|
1240
|
-
INVALID_ARGUMENT:
|
|
1239
|
+
INVALID_ARGUMENT: Jr,
|
|
1241
1240
|
// 17
|
|
1242
1241
|
INVALID_DATE_ARGUMENT: 18,
|
|
1243
1242
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1245,11 +1244,11 @@ const q = {
|
|
|
1245
1244
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
1246
1245
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1247
1246
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1248
|
-
},
|
|
1247
|
+
}, Ba = 24;
|
|
1249
1248
|
function me(e) {
|
|
1250
|
-
return ke(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
1249
|
+
return ke(e, null, process.env.NODE_ENV !== "production" ? { messages: xa } : void 0);
|
|
1251
1250
|
}
|
|
1252
|
-
const
|
|
1251
|
+
const xa = {
|
|
1253
1252
|
[q.INVALID_ARGUMENT]: "Invalid arguments",
|
|
1254
1253
|
[q.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
|
|
1255
1254
|
[q.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
|
|
@@ -1270,7 +1269,7 @@ function un(e) {
|
|
|
1270
1269
|
return Tt;
|
|
1271
1270
|
if (e.constructor.name === "Function") {
|
|
1272
1271
|
const t = e();
|
|
1273
|
-
if (
|
|
1272
|
+
if (Hr(t))
|
|
1274
1273
|
throw me(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1275
1274
|
return Tt = t;
|
|
1276
1275
|
} else
|
|
@@ -1278,7 +1277,7 @@ function un(e) {
|
|
|
1278
1277
|
} else
|
|
1279
1278
|
throw me(q.NOT_SUPPORT_LOCALE_TYPE);
|
|
1280
1279
|
}
|
|
1281
|
-
function
|
|
1280
|
+
function Wa(e, t, n) {
|
|
1282
1281
|
return [.../* @__PURE__ */ new Set([
|
|
1283
1282
|
n,
|
|
1284
1283
|
...G(t) ? t : R(t) ? Object.keys(t) : I(t) ? [t] : [n]
|
|
@@ -1302,20 +1301,20 @@ function cn(e, t, n) {
|
|
|
1302
1301
|
let r = !0;
|
|
1303
1302
|
for (let a = 0; a < t.length && M(r); a++) {
|
|
1304
1303
|
const s = t[a];
|
|
1305
|
-
I(s) && (r =
|
|
1304
|
+
I(s) && (r = Ga(e, t[a], n));
|
|
1306
1305
|
}
|
|
1307
1306
|
return r;
|
|
1308
1307
|
}
|
|
1309
|
-
function
|
|
1308
|
+
function Ga(e, t, n) {
|
|
1310
1309
|
let r;
|
|
1311
1310
|
const a = t.split("-");
|
|
1312
1311
|
do {
|
|
1313
1312
|
const s = a.join("-");
|
|
1314
|
-
r =
|
|
1313
|
+
r = Ya(e, s, n), a.splice(-1, 1);
|
|
1315
1314
|
} while (a.length && r === !0);
|
|
1316
1315
|
return r;
|
|
1317
1316
|
}
|
|
1318
|
-
function
|
|
1317
|
+
function Ya(e, t, n) {
|
|
1319
1318
|
let r = !1;
|
|
1320
1319
|
if (!e.includes(t) && (r = !0, t)) {
|
|
1321
1320
|
r = t[t.length - 1] !== "!";
|
|
@@ -1485,15 +1484,15 @@ Ee[
|
|
|
1485
1484
|
/* Actions.APPEND */
|
|
1486
1485
|
]
|
|
1487
1486
|
};
|
|
1488
|
-
const
|
|
1489
|
-
function
|
|
1490
|
-
return
|
|
1487
|
+
const Ha = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1488
|
+
function Ka(e) {
|
|
1489
|
+
return Ha.test(e);
|
|
1491
1490
|
}
|
|
1492
|
-
function
|
|
1491
|
+
function ja(e) {
|
|
1493
1492
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1494
1493
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1495
1494
|
}
|
|
1496
|
-
function
|
|
1495
|
+
function Xa(e) {
|
|
1497
1496
|
if (e == null)
|
|
1498
1497
|
return "o";
|
|
1499
1498
|
switch (e.charCodeAt(0)) {
|
|
@@ -1530,11 +1529,11 @@ function Ja(e) {
|
|
|
1530
1529
|
}
|
|
1531
1530
|
return "i";
|
|
1532
1531
|
}
|
|
1533
|
-
function
|
|
1532
|
+
function Ja(e) {
|
|
1534
1533
|
const t = e.trim();
|
|
1535
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
1534
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ka(t) ? ja(t) : "*" + t;
|
|
1536
1535
|
}
|
|
1537
|
-
function
|
|
1536
|
+
function Qa(e) {
|
|
1538
1537
|
const t = [];
|
|
1539
1538
|
let n = -1, r = 0, a = 0, s, o, i, c, E, b, L;
|
|
1540
1539
|
const N = [];
|
|
@@ -1566,7 +1565,7 @@ function qa(e) {
|
|
|
1566
1565
|
/* Actions.APPEND */
|
|
1567
1566
|
]();
|
|
1568
1567
|
else {
|
|
1569
|
-
if (a = 0, o === void 0 || (o =
|
|
1568
|
+
if (a = 0, o === void 0 || (o = Ja(o), o === !1))
|
|
1570
1569
|
return !1;
|
|
1571
1570
|
N[
|
|
1572
1571
|
1
|
|
@@ -1584,21 +1583,21 @@ function qa(e) {
|
|
|
1584
1583
|
}
|
|
1585
1584
|
for (; r !== null; )
|
|
1586
1585
|
if (n++, s = e[n], !(s === "\\" && C())) {
|
|
1587
|
-
if (c =
|
|
1586
|
+
if (c = Xa(s), L = Ee[r], E = L[c] || L.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (b = N[E[1]], b && (i = s, b() === !1))))
|
|
1588
1587
|
return;
|
|
1589
1588
|
if (r === 7)
|
|
1590
1589
|
return t;
|
|
1591
1590
|
}
|
|
1592
1591
|
}
|
|
1593
1592
|
const fn = /* @__PURE__ */ new Map();
|
|
1594
|
-
function
|
|
1593
|
+
function qa(e, t) {
|
|
1595
1594
|
return R(e) ? e[t] : null;
|
|
1596
1595
|
}
|
|
1597
|
-
function
|
|
1596
|
+
function Za(e, t) {
|
|
1598
1597
|
if (!R(e))
|
|
1599
1598
|
return null;
|
|
1600
1599
|
let n = fn.get(t);
|
|
1601
|
-
if (n || (n =
|
|
1600
|
+
if (n || (n = Qa(t), n && fn.set(t, n)), !n)
|
|
1602
1601
|
return null;
|
|
1603
1602
|
const r = n.length;
|
|
1604
1603
|
let a = e, s = 0;
|
|
@@ -1621,7 +1620,7 @@ const Z = {
|
|
|
1621
1620
|
CANNOT_FORMAT_DATE: 5,
|
|
1622
1621
|
FALLBACK_TO_DATE_FORMAT: 6,
|
|
1623
1622
|
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
|
|
1624
|
-
},
|
|
1623
|
+
}, za = 8, es = {
|
|
1625
1624
|
[Z.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
1626
1625
|
[Z.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
1627
1626
|
[Z.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
@@ -1631,10 +1630,10 @@ const Z = {
|
|
|
1631
1630
|
[Z.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."
|
|
1632
1631
|
};
|
|
1633
1632
|
function be(e, ...t) {
|
|
1634
|
-
return et(
|
|
1633
|
+
return et(es[e], ...t);
|
|
1635
1634
|
}
|
|
1636
|
-
const
|
|
1637
|
-
function
|
|
1635
|
+
const ts = "11.2.7", nt = -1, xe = "en-US", ze = "", _n = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1636
|
+
function ns() {
|
|
1638
1637
|
return {
|
|
1639
1638
|
upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && R(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1640
1639
|
lower: (e, t) => t === "text" && I(e) ? e.toLowerCase() : t === "vnode" && R(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
@@ -1642,30 +1641,30 @@ function rs() {
|
|
|
1642
1641
|
};
|
|
1643
1642
|
}
|
|
1644
1643
|
let Jn;
|
|
1645
|
-
function
|
|
1644
|
+
function rs(e) {
|
|
1646
1645
|
Jn = e;
|
|
1647
1646
|
}
|
|
1648
1647
|
let Qn;
|
|
1649
|
-
function
|
|
1648
|
+
function as(e) {
|
|
1650
1649
|
Qn = e;
|
|
1651
1650
|
}
|
|
1652
1651
|
let qn;
|
|
1653
|
-
function
|
|
1652
|
+
function ss(e) {
|
|
1654
1653
|
qn = e;
|
|
1655
1654
|
}
|
|
1656
1655
|
let Zn = null;
|
|
1657
|
-
const
|
|
1656
|
+
const os = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1658
1657
|
Zn = e;
|
|
1659
|
-
},
|
|
1658
|
+
}, ls = /* @__NO_SIDE_EFFECTS__ */ () => Zn;
|
|
1660
1659
|
let zn = null;
|
|
1661
1660
|
const mn = (e) => {
|
|
1662
1661
|
zn = e;
|
|
1663
|
-
},
|
|
1662
|
+
}, is = () => zn;
|
|
1664
1663
|
let dn = 0;
|
|
1665
|
-
function
|
|
1666
|
-
const t = B(e.onWarn) ? e.onWarn : ue, n = I(e.version) ? e.version :
|
|
1664
|
+
function us(e = {}) {
|
|
1665
|
+
const t = B(e.onWarn) ? e.onWarn : ue, n = I(e.version) ? e.version : ts, r = I(e.locale) || B(e.locale) ? e.locale : xe, a = B(r) ? xe : r, s = G(e.fallbackLocale) || k(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, o = k(e.messages) ? e.messages : bt(a), i = k(e.datetimeFormats) ? e.datetimeFormats : bt(a), c = k(e.numberFormats) ? e.numberFormats : bt(a), E = J($(), e.modifiers, ns()), b = e.pluralRules || $(), L = B(e.missing) ? e.missing : null, N = M(e.missingWarn) || Se(e.missingWarn) ? e.missingWarn : !0, C = M(e.fallbackWarn) || Se(e.fallbackWarn) ? e.fallbackWarn : !0, F = !!e.fallbackFormat, v = !!e.unresolving, D = B(e.postTranslation) ? e.postTranslation : null, f = k(e.processor) ? e.processor : null, m = M(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, d = B(e.messageCompiler) ? e.messageCompiler : Jn;
|
|
1667
1666
|
process.env.NODE_ENV !== "production" && B(e.messageCompiler) && Vt(be(Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
1668
|
-
const O = B(e.messageResolver) ? e.messageResolver : Qn ||
|
|
1667
|
+
const O = B(e.messageResolver) ? e.messageResolver : Qn || qa, A = B(e.localeFallbacker) ? e.localeFallbacker : qn || Wa, g = R(e.fallbackContext) ? e.fallbackContext : void 0, y = e, U = R(y.__datetimeFormatters) ? y.__datetimeFormatters : /* @__PURE__ */ new Map(), X = R(y.__numberFormatters) ? y.__numberFormatters : /* @__PURE__ */ new Map(), ae = R(y.__meta) ? y.__meta : {};
|
|
1669
1668
|
dn++;
|
|
1670
1669
|
const Y = {
|
|
1671
1670
|
version: n,
|
|
@@ -1691,7 +1690,7 @@ function cs(e = {}) {
|
|
|
1691
1690
|
onWarn: t,
|
|
1692
1691
|
__meta: ae
|
|
1693
1692
|
};
|
|
1694
|
-
return Y.datetimeFormats = i, Y.numberFormats = c, Y.__datetimeFormatters = U, Y.__numberFormatters = X, process.env.NODE_ENV !== "production" && (Y.__v_emitter = y.__v_emitter != null ? y.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) &&
|
|
1693
|
+
return Y.datetimeFormats = i, Y.numberFormats = c, Y.__datetimeFormatters = U, Y.__numberFormatters = X, process.env.NODE_ENV !== "production" && (Y.__v_emitter = y.__v_emitter != null ? y.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Ua(Y, n, ae), Y;
|
|
1695
1694
|
}
|
|
1696
1695
|
const bt = (e) => ({ [e]: $() });
|
|
1697
1696
|
function rt(e, t) {
|
|
@@ -1724,7 +1723,7 @@ function Ve(e, t, n) {
|
|
|
1724
1723
|
function tr(e, t) {
|
|
1725
1724
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1726
1725
|
}
|
|
1727
|
-
function
|
|
1726
|
+
function cs(e, t) {
|
|
1728
1727
|
const n = t.indexOf(e);
|
|
1729
1728
|
if (n === -1)
|
|
1730
1729
|
return !1;
|
|
@@ -1812,7 +1811,7 @@ function Ct(...e) {
|
|
|
1812
1811
|
} catch {
|
|
1813
1812
|
throw me(q.INVALID_ISO_DATE_ARGUMENT);
|
|
1814
1813
|
}
|
|
1815
|
-
} else if (
|
|
1814
|
+
} else if (xr(t)) {
|
|
1816
1815
|
if (isNaN(t.getTime()))
|
|
1817
1816
|
throw me(q.INVALID_DATE_ARGUMENT);
|
|
1818
1817
|
i = t;
|
|
@@ -1909,26 +1908,26 @@ function hn(e, t, n) {
|
|
|
1909
1908
|
r.__numberFormatters.has(s) && r.__numberFormatters.delete(s);
|
|
1910
1909
|
}
|
|
1911
1910
|
}
|
|
1912
|
-
const
|
|
1911
|
+
const fs = (e) => e, _s = (e) => "", ms = "text", ds = (e) => e.length === 0 ? "" : Bt(e), Es = Kr;
|
|
1913
1912
|
function Ln(e, t) {
|
|
1914
1913
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1915
1914
|
}
|
|
1916
|
-
function
|
|
1915
|
+
function gs(e) {
|
|
1917
1916
|
const t = j(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1918
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;
|
|
1919
1918
|
}
|
|
1920
|
-
function
|
|
1919
|
+
function ps(e, t) {
|
|
1921
1920
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1922
1921
|
}
|
|
1923
|
-
function
|
|
1924
|
-
const t = e.locale, n =
|
|
1925
|
-
j(e.pluralIndex) &&
|
|
1922
|
+
function Ns(e = {}) {
|
|
1923
|
+
const t = e.locale, n = gs(e), r = R(e.pluralRules) && I(t) && B(e.pluralRules[t]) ? e.pluralRules[t] : Ln, a = R(e.pluralRules) && I(t) && B(e.pluralRules[t]) ? Ln : void 0, s = (f) => f[r(n, f.length, a)], o = e.list || [], i = (f) => o[f], c = e.named || $();
|
|
1924
|
+
j(e.pluralIndex) && ps(n, c);
|
|
1926
1925
|
const E = (f) => c[f];
|
|
1927
1926
|
function b(f, m) {
|
|
1928
1927
|
const T = B(e.messages) ? e.messages(f, !!m) : R(e.messages) ? e.messages[f] : !1;
|
|
1929
|
-
return T || (e.parent ? e.parent.message(f) :
|
|
1928
|
+
return T || (e.parent ? e.parent.message(f) : _s);
|
|
1930
1929
|
}
|
|
1931
|
-
const L = (f) => e.modifiers ? e.modifiers[f] :
|
|
1930
|
+
const L = (f) => e.modifiers ? e.modifiers[f] : fs, N = k(e.processor) && B(e.processor.normalize) ? e.processor.normalize : ds, C = k(e.processor) && B(e.processor.interpolate) ? e.processor.interpolate : Es, F = k(e.processor) && I(e.processor.type) ? e.processor.type : ms, D = {
|
|
1932
1931
|
list: i,
|
|
1933
1932
|
named: E,
|
|
1934
1933
|
plural: s,
|
|
@@ -1953,7 +1952,7 @@ function hs(e = {}) {
|
|
|
1953
1952
|
const Tn = () => "", te = (e) => B(e);
|
|
1954
1953
|
function bn(e, ...t) {
|
|
1955
1954
|
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: s, fallbackLocale: o, messages: i } = e, [c, E] = St(...t), b = M(E.missingWarn) ? E.missingWarn : e.missingWarn, L = M(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, N = M(E.escapeParameter) ? E.escapeParameter : e.escapeParameter, C = !!E.resolvedMessage, F = I(E.default) || M(E.default) ? M(E.default) ? s ? c : () => c : E.default : n ? s ? c : () => c : null, v = n || F != null && (I(F) || B(F)), D = Yt(e, E);
|
|
1956
|
-
N &&
|
|
1955
|
+
N && hs(E);
|
|
1957
1956
|
let [f, m, T] = C ? [
|
|
1958
1957
|
c,
|
|
1959
1958
|
D,
|
|
@@ -1969,9 +1968,9 @@ function bn(e, ...t) {
|
|
|
1969
1968
|
}, y = te(d) ? d : or(e, c, m, d, O, g);
|
|
1970
1969
|
if (A)
|
|
1971
1970
|
return d;
|
|
1972
|
-
const U =
|
|
1971
|
+
const U = Is(e, m, T, E), X = Ns(U), ae = Ls(e, y, X);
|
|
1973
1972
|
let Y = r ? r(ae, c) : ae;
|
|
1974
|
-
if (N && I(Y) && (Y =
|
|
1973
|
+
if (N && I(Y) && (Y = Gr(Y)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
1975
1974
|
const Oe = {
|
|
1976
1975
|
timestamp: Date.now(),
|
|
1977
1976
|
key: I(c) ? c : te(d) ? d.key : "",
|
|
@@ -1979,11 +1978,11 @@ function bn(e, ...t) {
|
|
|
1979
1978
|
format: I(d) ? d : te(d) ? d.source : "",
|
|
1980
1979
|
message: Y
|
|
1981
1980
|
};
|
|
1982
|
-
Oe.meta = J({}, e.__meta, /* @__PURE__ */
|
|
1981
|
+
Oe.meta = J({}, e.__meta, /* @__PURE__ */ ls() || {}), Va(Oe);
|
|
1983
1982
|
}
|
|
1984
1983
|
return Y;
|
|
1985
1984
|
}
|
|
1986
|
-
function
|
|
1985
|
+
function hs(e) {
|
|
1987
1986
|
G(e.list) ? e.list = e.list.map((t) => I(t) ? tn(t) : t) : R(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1988
1987
|
I(e.named[t]) && (e.named[t] = tn(e.named[t]));
|
|
1989
1988
|
});
|
|
@@ -2020,7 +2019,7 @@ function sr(e, t, n, r, a, s) {
|
|
|
2020
2019
|
}
|
|
2021
2020
|
if (I(C) || re(C) || te(C))
|
|
2022
2021
|
break;
|
|
2023
|
-
if (!
|
|
2022
|
+
if (!cs(N, b)) {
|
|
2024
2023
|
const O = Ht(
|
|
2025
2024
|
e,
|
|
2026
2025
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -2047,7 +2046,7 @@ function or(e, t, n, r, a, s) {
|
|
|
2047
2046
|
}
|
|
2048
2047
|
let c = null, E, b;
|
|
2049
2048
|
process.env.NODE_ENV !== "production" && oe && (c = window.performance.now(), E = "intlify-message-compilation-start", b = "intlify-message-compilation-end", ee && ee(E));
|
|
2050
|
-
const L = o(r,
|
|
2049
|
+
const L = o(r, Ts(e, n, a, r, i, s));
|
|
2051
2050
|
if (process.env.NODE_ENV !== "production" && oe) {
|
|
2052
2051
|
const N = window.performance.now(), C = e.__v_emitter;
|
|
2053
2052
|
C && c && C.emit("message-compilation", {
|
|
@@ -2059,7 +2058,7 @@ function or(e, t, n, r, a, s) {
|
|
|
2059
2058
|
}
|
|
2060
2059
|
return L.locale = n, L.key = t, L.source = r, L;
|
|
2061
2060
|
}
|
|
2062
|
-
function
|
|
2061
|
+
function Ls(e, t, n) {
|
|
2063
2062
|
let r = null, a, s;
|
|
2064
2063
|
process.env.NODE_ENV !== "production" && oe && (r = window.performance.now(), a = "intlify-message-evaluation-start", s = "intlify-message-evaluation-end", ee && ee(a));
|
|
2065
2064
|
const o = t(n);
|
|
@@ -2081,14 +2080,14 @@ function St(...e) {
|
|
|
2081
2080
|
const s = j(t) ? String(t) : (te(t), t);
|
|
2082
2081
|
return j(n) ? a.plural = n : I(n) ? a.default = n : k(n) && !tt(n) ? a.named = n : G(n) && (a.list = n), j(r) ? a.plural = r : I(r) ? a.default = r : k(r) && J(a, r), [s, a];
|
|
2083
2082
|
}
|
|
2084
|
-
function
|
|
2083
|
+
function Ts(e, t, n, r, a, s) {
|
|
2085
2084
|
return {
|
|
2086
2085
|
locale: t,
|
|
2087
2086
|
key: n,
|
|
2088
2087
|
warnHtmlMessage: a,
|
|
2089
2088
|
onError: (o) => {
|
|
2090
2089
|
if (s && s(o), process.env.NODE_ENV !== "production") {
|
|
2091
|
-
const i =
|
|
2090
|
+
const i = bs(r), c = `Message compilation error: ${o.message}`, E = o.location && i && jr(i, o.location.start.offset, o.location.end.offset), b = e.__v_emitter;
|
|
2092
2091
|
b && i && b.emit("compile-error", {
|
|
2093
2092
|
message: i,
|
|
2094
2093
|
error: o.message,
|
|
@@ -2100,16 +2099,16 @@ ${E}` : c);
|
|
|
2100
2099
|
} else
|
|
2101
2100
|
throw o;
|
|
2102
2101
|
},
|
|
2103
|
-
onCacheKey: (o) =>
|
|
2102
|
+
onCacheKey: (o) => $r(t, n, o)
|
|
2104
2103
|
};
|
|
2105
2104
|
}
|
|
2106
|
-
function
|
|
2105
|
+
function bs(e) {
|
|
2107
2106
|
if (I(e))
|
|
2108
2107
|
return e;
|
|
2109
2108
|
if (e.loc && e.loc.source)
|
|
2110
2109
|
return e.loc.source;
|
|
2111
2110
|
}
|
|
2112
|
-
function
|
|
2111
|
+
function Is(e, t, n, r) {
|
|
2113
2112
|
const { modifiers: a, pluralRules: s, messageResolver: o, fallbackLocale: i, fallbackWarn: c, missingWarn: E, fallbackContext: b } = e, N = {
|
|
2114
2113
|
locale: t,
|
|
2115
2114
|
modifiers: a,
|
|
@@ -2139,23 +2138,23 @@ function Os(e, t, n, r) {
|
|
|
2139
2138
|
};
|
|
2140
2139
|
return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), j(r.plural) && (N.pluralIndex = r.plural), N;
|
|
2141
2140
|
}
|
|
2142
|
-
|
|
2143
|
-
function
|
|
2141
|
+
Ia();
|
|
2142
|
+
function Os() {
|
|
2144
2143
|
return lr().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
2145
2144
|
}
|
|
2146
2145
|
function lr() {
|
|
2147
2146
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
2148
2147
|
}
|
|
2149
|
-
const
|
|
2148
|
+
const As = typeof Proxy == "function", vs = "devtools-plugin:setup", Cs = "plugin:settings:set";
|
|
2150
2149
|
let ve, Pt;
|
|
2151
|
-
function
|
|
2150
|
+
function Ds() {
|
|
2152
2151
|
var e;
|
|
2153
2152
|
return ve !== void 0 || (typeof window < "u" && window.performance ? (ve = !0, Pt = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (ve = !0, Pt = globalThis.perf_hooks.performance) : ve = !1), ve;
|
|
2154
2153
|
}
|
|
2155
|
-
function
|
|
2156
|
-
return
|
|
2154
|
+
function Ss() {
|
|
2155
|
+
return Ds() ? Pt.now() : Date.now();
|
|
2157
2156
|
}
|
|
2158
|
-
class
|
|
2157
|
+
class Ps {
|
|
2159
2158
|
constructor(t, n) {
|
|
2160
2159
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
|
|
2161
2160
|
const r = {};
|
|
@@ -2183,9 +2182,9 @@ class Fs {
|
|
|
2183
2182
|
s = o;
|
|
2184
2183
|
},
|
|
2185
2184
|
now() {
|
|
2186
|
-
return
|
|
2185
|
+
return Ss();
|
|
2187
2186
|
}
|
|
2188
|
-
}, n && n.on(
|
|
2187
|
+
}, n && n.on(Cs, (o, i) => {
|
|
2189
2188
|
o === this.plugin.id && this.fallbacks.setSettings(i);
|
|
2190
2189
|
}), this.proxiedOn = new Proxy({}, {
|
|
2191
2190
|
get: (o, i) => this.target ? this.target.on[i] : (...c) => {
|
|
@@ -2217,12 +2216,12 @@ class Fs {
|
|
|
2217
2216
|
n.resolve(await this.target[n.method](...n.args));
|
|
2218
2217
|
}
|
|
2219
2218
|
}
|
|
2220
|
-
function
|
|
2221
|
-
const n = e, r = lr(), a =
|
|
2219
|
+
function Fs(e, t) {
|
|
2220
|
+
const n = e, r = lr(), a = Os(), s = As && n.enableEarlyProxy;
|
|
2222
2221
|
if (a && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !s))
|
|
2223
|
-
a.emit(
|
|
2222
|
+
a.emit(vs, e, t);
|
|
2224
2223
|
else {
|
|
2225
|
-
const o = s ? new
|
|
2224
|
+
const o = s ? new Ps(n, a) : null;
|
|
2226
2225
|
(r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
2227
2226
|
pluginDescriptor: n,
|
|
2228
2227
|
setupFn: t,
|
|
@@ -2230,13 +2229,13 @@ function ys(e, t) {
|
|
|
2230
2229
|
}), o && t(o.proxiedTarget);
|
|
2231
2230
|
}
|
|
2232
2231
|
}
|
|
2233
|
-
const
|
|
2234
|
-
function
|
|
2232
|
+
const ys = "11.2.7";
|
|
2233
|
+
function ks() {
|
|
2235
2234
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Le().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Le().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
2236
2235
|
}
|
|
2237
2236
|
const x = {
|
|
2238
2237
|
// composer module errors
|
|
2239
|
-
UNEXPECTED_RETURN_TYPE:
|
|
2238
|
+
UNEXPECTED_RETURN_TYPE: Ba,
|
|
2240
2239
|
// 24
|
|
2241
2240
|
// legacy module errors
|
|
2242
2241
|
INVALID_ARGUMENT: 25,
|
|
@@ -2257,9 +2256,9 @@ const x = {
|
|
|
2257
2256
|
NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
|
|
2258
2257
|
};
|
|
2259
2258
|
function z(e, ...t) {
|
|
2260
|
-
return ke(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
2259
|
+
return ke(e, null, process.env.NODE_ENV !== "production" ? { messages: Rs, args: t } : void 0);
|
|
2261
2260
|
}
|
|
2262
|
-
const
|
|
2261
|
+
const Rs = {
|
|
2263
2262
|
[x.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
|
|
2264
2263
|
[x.INVALID_ARGUMENT]: "Invalid argument",
|
|
2265
2264
|
[x.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
|
|
@@ -2272,7 +2271,7 @@ const Ms = {
|
|
|
2272
2271
|
[x.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
2273
2272
|
[x.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
2274
2273
|
}, Ft = /* @__PURE__ */ ce("__translateVNode"), yt = /* @__PURE__ */ ce("__datetimeParts"), kt = /* @__PURE__ */ ce("__numberParts"), Ie = /* @__PURE__ */ ce("__enableEmitter"), We = /* @__PURE__ */ ce("__disableEmitter"), ir = ce("__setPluralRules"), ur = /* @__PURE__ */ ce("__injectWithOption"), Rt = /* @__PURE__ */ ce("__dispose"), ne = {
|
|
2275
|
-
FALLBACK_TO_ROOT:
|
|
2274
|
+
FALLBACK_TO_ROOT: za,
|
|
2276
2275
|
// 8
|
|
2277
2276
|
NOT_FOUND_PARENT_SCOPE: 9,
|
|
2278
2277
|
IGNORE_OBJ_FLATTEN: 10,
|
|
@@ -2286,7 +2285,7 @@ const Ms = {
|
|
|
2286
2285
|
DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12,
|
|
2287
2286
|
// duplicate `useI18n` calling
|
|
2288
2287
|
DUPLICATE_USE_I18N_CALLING: 13
|
|
2289
|
-
},
|
|
2288
|
+
}, Ms = {
|
|
2290
2289
|
[ne.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
|
|
2291
2290
|
[ne.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
|
|
2292
2291
|
[ne.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
|
|
@@ -2302,7 +2301,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
|
|
|
2302
2301
|
[ne.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
|
|
2303
2302
|
};
|
|
2304
2303
|
function Fe(e, ...t) {
|
|
2305
|
-
return et(
|
|
2304
|
+
return et(Ms[e], ...t);
|
|
2306
2305
|
}
|
|
2307
2306
|
function Ge(e) {
|
|
2308
2307
|
if (!R(e) || re(e))
|
|
@@ -2380,12 +2379,12 @@ function De() {
|
|
|
2380
2379
|
const e = "currentInstance";
|
|
2381
2380
|
return e in ht ? ht[e] : ht.getCurrentInstance();
|
|
2382
2381
|
}
|
|
2383
|
-
const On = "__INTLIFY_META__", An = () => [],
|
|
2382
|
+
const On = "__INTLIFY_META__", An = () => [], ws = () => !1;
|
|
2384
2383
|
let vn = 0;
|
|
2385
2384
|
function Cn(e) {
|
|
2386
2385
|
return ((t, n, r, a) => e(n, r, De() || void 0, a));
|
|
2387
2386
|
}
|
|
2388
|
-
const
|
|
2387
|
+
const Us = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
2389
2388
|
const e = De();
|
|
2390
2389
|
let t = null;
|
|
2391
2390
|
return e && (t = cr(e)[On]) ? { [On]: t } : null;
|
|
@@ -2406,7 +2405,7 @@ function jt(e = {}) {
|
|
|
2406
2405
|
g = (() => {
|
|
2407
2406
|
r && mn(null);
|
|
2408
2407
|
const _ = {
|
|
2409
|
-
version:
|
|
2408
|
+
version: ys,
|
|
2410
2409
|
locale: i.value,
|
|
2411
2410
|
fallbackLocale: c.value,
|
|
2412
2411
|
messages: E.value,
|
|
@@ -2425,7 +2424,7 @@ function jt(e = {}) {
|
|
|
2425
2424
|
__meta: { framework: "vue" }
|
|
2426
2425
|
};
|
|
2427
2426
|
_.datetimeFormats = b.value, _.numberFormats = L.value, _.__datetimeFormatters = k(g) ? g.__datetimeFormatters : void 0, _.__numberFormatters = k(g) ? g.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = k(g) ? g.__v_emitter : void 0);
|
|
2428
|
-
const h =
|
|
2427
|
+
const h = us(_);
|
|
2429
2428
|
return r && mn(h), h;
|
|
2430
2429
|
})(), Ve(g, i.value, c.value);
|
|
2431
2430
|
function U() {
|
|
@@ -2467,7 +2466,7 @@ function jt(e = {}) {
|
|
|
2467
2466
|
U();
|
|
2468
2467
|
let Ae;
|
|
2469
2468
|
try {
|
|
2470
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (g.fallbackContext = t ?
|
|
2469
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (g.fallbackContext = t ? is() : void 0), Ae = _(g);
|
|
2471
2470
|
} finally {
|
|
2472
2471
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (g.fallbackContext = void 0);
|
|
2473
2472
|
}
|
|
@@ -2543,7 +2542,7 @@ function jt(e = {}) {
|
|
|
2543
2542
|
return !1;
|
|
2544
2543
|
const V = I(h) ? h : i.value, K = ge(V), pe = g.messageResolver(K, _);
|
|
2545
2544
|
return re(pe) || te(pe) || I(pe);
|
|
2546
|
-
}, () => [_], "translate exists", (V) => Reflect.apply(V.te, V, [_, h]),
|
|
2545
|
+
}, () => [_], "translate exists", (V) => Reflect.apply(V.te, V, [_, h]), ws, (V) => M(V));
|
|
2547
2546
|
}
|
|
2548
2547
|
function Me(_) {
|
|
2549
2548
|
let h = null;
|
|
@@ -2683,16 +2682,16 @@ const _r = "vue-i18n: composer properties", It = {
|
|
|
2683
2682
|
"vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
|
|
2684
2683
|
"vue-i18n-resource-inspector": "Vue I18n DevTools",
|
|
2685
2684
|
"vue-i18n-timeline": "Vue I18n"
|
|
2686
|
-
},
|
|
2685
|
+
}, Vs = {
|
|
2687
2686
|
"vue-i18n-resource-inspector": "Search for scopes ..."
|
|
2688
|
-
},
|
|
2687
|
+
}, $s = {
|
|
2689
2688
|
"vue-i18n-timeline": 16764185
|
|
2690
2689
|
};
|
|
2691
2690
|
let Mt;
|
|
2692
|
-
async function
|
|
2691
|
+
async function Bs(e, t) {
|
|
2693
2692
|
return new Promise((n, r) => {
|
|
2694
2693
|
try {
|
|
2695
|
-
|
|
2694
|
+
Fs({
|
|
2696
2695
|
id: "vue-devtools-plugin-vue-i18n",
|
|
2697
2696
|
label: It["vue-devtools-plugin-vue-i18n"],
|
|
2698
2697
|
packageName: "vue-i18n",
|
|
@@ -2703,36 +2702,36 @@ async function xs(e, t) {
|
|
|
2703
2702
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2704
2703
|
}, (a) => {
|
|
2705
2704
|
Mt = a, a.on.visitComponentTree(({ componentInstance: o, treeNode: i }) => {
|
|
2706
|
-
|
|
2705
|
+
xs(o, i, t);
|
|
2707
2706
|
}), a.on.inspectComponent(({ componentInstance: o, instanceData: i }) => {
|
|
2708
2707
|
o.__VUE_I18N__ && i && (t.mode === "legacy" ? o.__VUE_I18N__ !== t.global.__composer && Dn(i, o.__VUE_I18N__) : Dn(i, o.__VUE_I18N__));
|
|
2709
2708
|
}), a.addInspector({
|
|
2710
2709
|
id: "vue-i18n-resource-inspector",
|
|
2711
2710
|
label: It["vue-i18n-resource-inspector"],
|
|
2712
2711
|
icon: "language",
|
|
2713
|
-
treeFilterPlaceholder:
|
|
2712
|
+
treeFilterPlaceholder: Vs["vue-i18n-resource-inspector"]
|
|
2714
2713
|
}), a.on.getInspectorTree((o) => {
|
|
2715
|
-
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" &&
|
|
2714
|
+
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && Ks(o, t);
|
|
2716
2715
|
});
|
|
2717
2716
|
const s = /* @__PURE__ */ new Map();
|
|
2718
2717
|
a.on.getInspectorState(async (o) => {
|
|
2719
2718
|
if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
|
|
2720
|
-
if (a.unhighlightElement(),
|
|
2719
|
+
if (a.unhighlightElement(), Xs(o, t), o.nodeId === "global") {
|
|
2721
2720
|
if (!s.has(o.app)) {
|
|
2722
2721
|
const [i] = await a.getComponentInstances(o.app);
|
|
2723
2722
|
s.set(o.app, i);
|
|
2724
2723
|
}
|
|
2725
2724
|
a.highlightElement(s.get(o.app));
|
|
2726
2725
|
} else {
|
|
2727
|
-
const i =
|
|
2726
|
+
const i = js(o.nodeId, t);
|
|
2728
2727
|
i && a.highlightElement(i);
|
|
2729
2728
|
}
|
|
2730
2729
|
}), a.on.editInspectorState((o) => {
|
|
2731
|
-
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" &&
|
|
2730
|
+
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && Qs(o, t);
|
|
2732
2731
|
}), a.addTimelineLayer({
|
|
2733
2732
|
id: "vue-i18n-timeline",
|
|
2734
2733
|
label: It["vue-i18n-timeline"],
|
|
2735
|
-
color:
|
|
2734
|
+
color: $s["vue-i18n-timeline"]
|
|
2736
2735
|
}), n(!0);
|
|
2737
2736
|
});
|
|
2738
2737
|
} catch (a) {
|
|
@@ -2743,7 +2742,7 @@ async function xs(e, t) {
|
|
|
2743
2742
|
function mr(e) {
|
|
2744
2743
|
return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
|
|
2745
2744
|
}
|
|
2746
|
-
function
|
|
2745
|
+
function xs(e, t, n) {
|
|
2747
2746
|
const r = n.mode === "composition" ? n.global : n.global.__composer;
|
|
2748
2747
|
if (e && e.__VUE_I18N__ && e.__VUE_I18N__ !== r) {
|
|
2749
2748
|
const a = {
|
|
@@ -2797,30 +2796,30 @@ function Xt(e) {
|
|
|
2797
2796
|
const t = {};
|
|
2798
2797
|
return Object.keys(e).forEach((n) => {
|
|
2799
2798
|
const r = e[n];
|
|
2800
|
-
B(r) && "source" in r ? t[n] =
|
|
2799
|
+
B(r) && "source" in r ? t[n] = Hs(r) : re(r) && r.loc && r.loc.source ? t[n] = r.loc.source : R(r) ? t[n] = Xt(r) : t[n] = r;
|
|
2801
2800
|
}), t;
|
|
2802
2801
|
}
|
|
2803
|
-
const
|
|
2802
|
+
const Ws = {
|
|
2804
2803
|
"<": "<",
|
|
2805
2804
|
">": ">",
|
|
2806
2805
|
'"': """,
|
|
2807
2806
|
"&": "&"
|
|
2808
2807
|
};
|
|
2808
|
+
function Gs(e) {
|
|
2809
|
+
return e.replace(/[<>"&]/g, Ys);
|
|
2810
|
+
}
|
|
2809
2811
|
function Ys(e) {
|
|
2810
|
-
return e
|
|
2812
|
+
return Ws[e] || e;
|
|
2811
2813
|
}
|
|
2812
2814
|
function Hs(e) {
|
|
2813
|
-
return Gs[e] || e;
|
|
2814
|
-
}
|
|
2815
|
-
function Ks(e) {
|
|
2816
2815
|
return {
|
|
2817
2816
|
_custom: {
|
|
2818
2817
|
type: "function",
|
|
2819
|
-
display: `<span>ƒ</span> ${e.source ? `("${
|
|
2818
|
+
display: `<span>ƒ</span> ${e.source ? `("${Gs(e.source)}")` : "(?)"}`
|
|
2820
2819
|
}
|
|
2821
2820
|
};
|
|
2822
2821
|
}
|
|
2823
|
-
function
|
|
2822
|
+
function Ks(e, t) {
|
|
2824
2823
|
e.rootNodes.push({
|
|
2825
2824
|
id: "global",
|
|
2826
2825
|
label: "Global Scope"
|
|
@@ -2834,7 +2833,7 @@ function js(e, t) {
|
|
|
2834
2833
|
});
|
|
2835
2834
|
}
|
|
2836
2835
|
}
|
|
2837
|
-
function
|
|
2836
|
+
function js(e, t) {
|
|
2838
2837
|
let n = null;
|
|
2839
2838
|
if (e !== "global") {
|
|
2840
2839
|
for (const [r, a] of t.__instances.entries())
|
|
@@ -2853,11 +2852,11 @@ function dr(e, t) {
|
|
|
2853
2852
|
return n ? t.mode === "composition" ? n : n.__composer : null;
|
|
2854
2853
|
}
|
|
2855
2854
|
}
|
|
2856
|
-
function
|
|
2855
|
+
function Xs(e, t) {
|
|
2857
2856
|
const n = dr(e.nodeId, t);
|
|
2858
|
-
return n && (e.state =
|
|
2857
|
+
return n && (e.state = Js(n)), null;
|
|
2859
2858
|
}
|
|
2860
|
-
function
|
|
2859
|
+
function Js(e) {
|
|
2861
2860
|
const t = {}, n = "Locale related info", r = [
|
|
2862
2861
|
{
|
|
2863
2862
|
type: n,
|
|
@@ -2932,14 +2931,14 @@ function Ye(e, t) {
|
|
|
2932
2931
|
});
|
|
2933
2932
|
}
|
|
2934
2933
|
}
|
|
2935
|
-
function
|
|
2934
|
+
function Qs(e, t) {
|
|
2936
2935
|
const n = dr(e.nodeId, t);
|
|
2937
2936
|
if (n) {
|
|
2938
2937
|
const [r] = e.path;
|
|
2939
2938
|
r === "locale" && I(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (I(e.state.value) || G(e.state.value) || R(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && M(e.state.value) && (n.inheritLocale = e.state.value);
|
|
2940
2939
|
}
|
|
2941
2940
|
}
|
|
2942
|
-
function
|
|
2941
|
+
function qs(e) {
|
|
2943
2942
|
const t = I(e.locale) ? e.locale : xe, n = I(e.fallbackLocale) || G(e.fallbackLocale) || k(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = B(e.missing) ? e.missing : void 0, a = M(e.silentTranslationWarn) || Se(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, s = M(e.silentFallbackWarn) || Se(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = M(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, c = k(e.modifiers) ? e.modifiers : {}, E = e.pluralizationRules, b = B(e.postTranslation) ? e.postTranslation : void 0, L = I(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, N = !!e.escapeParameterHtml, C = M(e.sync) ? e.sync : !0;
|
|
2944
2943
|
let F = e.messages;
|
|
2945
2944
|
if (k(e.sharedMessages)) {
|
|
@@ -2975,7 +2974,7 @@ function Zs(e) {
|
|
|
2975
2974
|
};
|
|
2976
2975
|
}
|
|
2977
2976
|
function wt(e = {}) {
|
|
2978
|
-
const t = jt(
|
|
2977
|
+
const t = jt(qs(e)), { __extender: n } = e, r = {
|
|
2979
2978
|
// id
|
|
2980
2979
|
id: t.id,
|
|
2981
2980
|
// locale
|
|
@@ -3143,7 +3142,7 @@ function wt(e = {}) {
|
|
|
3143
3142
|
a[We] && a[We]();
|
|
3144
3143
|
}), r;
|
|
3145
3144
|
}
|
|
3146
|
-
function
|
|
3145
|
+
function Zs(e, t, n) {
|
|
3147
3146
|
return {
|
|
3148
3147
|
beforeCreate() {
|
|
3149
3148
|
const r = De();
|
|
@@ -3222,7 +3221,7 @@ const Jt = {
|
|
|
3222
3221
|
type: Object
|
|
3223
3222
|
}
|
|
3224
3223
|
};
|
|
3225
|
-
function
|
|
3224
|
+
function zs({ slots: e }, t) {
|
|
3226
3225
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, a) => [
|
|
3227
3226
|
...r,
|
|
3228
3227
|
// prettier-ignore
|
|
@@ -3235,7 +3234,7 @@ function eo({ slots: e }, t) {
|
|
|
3235
3234
|
function Er() {
|
|
3236
3235
|
return Un;
|
|
3237
3236
|
}
|
|
3238
|
-
const
|
|
3237
|
+
const eo = /* @__PURE__ */ Ut({
|
|
3239
3238
|
/* eslint-disable */
|
|
3240
3239
|
name: "i18n-t",
|
|
3241
3240
|
props: J({
|
|
@@ -3258,12 +3257,12 @@ const to = /* @__PURE__ */ Ut({
|
|
|
3258
3257
|
return () => {
|
|
3259
3258
|
const s = Object.keys(n).filter((L) => L[0] !== "_"), o = $();
|
|
3260
3259
|
e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = I(e.plural) ? +e.plural : e.plural);
|
|
3261
|
-
const i =
|
|
3260
|
+
const i = zs(t, s), c = a[Ft](e.keypath, i, o), E = J($(), r), b = I(e.tag) || R(e.tag) ? e.tag : Er();
|
|
3262
3261
|
return wn(b, E, c);
|
|
3263
3262
|
};
|
|
3264
3263
|
}
|
|
3265
|
-
}), Pn =
|
|
3266
|
-
function
|
|
3264
|
+
}), Pn = eo;
|
|
3265
|
+
function to(e) {
|
|
3267
3266
|
return G(e) && !I(e[0]);
|
|
3268
3267
|
}
|
|
3269
3268
|
function gr(e, t, n, r) {
|
|
@@ -3276,13 +3275,13 @@ function gr(e, t, n, r) {
|
|
|
3276
3275
|
let E = [o.key];
|
|
3277
3276
|
G(c) ? E = c.map((N, C) => {
|
|
3278
3277
|
const F = a[N.type], v = F ? F({ [N.type]: N.value, index: C, parts: c }) : [N.value];
|
|
3279
|
-
return
|
|
3278
|
+
return to(v) && (v[0].key = `${N.type}-${C}`), v;
|
|
3280
3279
|
}) : I(c) && (E = [c]);
|
|
3281
3280
|
const b = J($(), s), L = I(e.tag) || R(e.tag) ? e.tag : Er();
|
|
3282
3281
|
return wn(L, b, E);
|
|
3283
3282
|
};
|
|
3284
3283
|
}
|
|
3285
|
-
const
|
|
3284
|
+
const no = /* @__PURE__ */ Ut({
|
|
3286
3285
|
/* eslint-disable */
|
|
3287
3286
|
name: "i18n-n",
|
|
3288
3287
|
props: J({
|
|
@@ -3306,8 +3305,8 @@ const ro = /* @__PURE__ */ Ut({
|
|
|
3306
3305
|
n[kt](...r)
|
|
3307
3306
|
));
|
|
3308
3307
|
}
|
|
3309
|
-
}), Fn =
|
|
3310
|
-
function
|
|
3308
|
+
}), Fn = no;
|
|
3309
|
+
function ro(e, t) {
|
|
3311
3310
|
const n = e;
|
|
3312
3311
|
if (e.mode === "composition")
|
|
3313
3312
|
return n.__getInstance(t) || e.global;
|
|
@@ -3316,13 +3315,13 @@ function ao(e, t) {
|
|
|
3316
3315
|
return r != null ? r.__composer : e.global.__composer;
|
|
3317
3316
|
}
|
|
3318
3317
|
}
|
|
3319
|
-
function
|
|
3318
|
+
function ao(e) {
|
|
3320
3319
|
const t = (o) => {
|
|
3321
3320
|
process.env.NODE_ENV !== "production" && Vt(Fe(ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
|
|
3322
3321
|
const { instance: i, value: c } = o;
|
|
3323
3322
|
if (!i || !i.$)
|
|
3324
3323
|
throw z(x.UNEXPECTED_ERROR);
|
|
3325
|
-
const E =
|
|
3324
|
+
const E = ro(e, i.$), b = yn(c);
|
|
3326
3325
|
return [
|
|
3327
3326
|
Reflect.apply(E.t, E, [...kn(b)]),
|
|
3328
3327
|
E
|
|
@@ -3366,15 +3365,15 @@ function kn(e) {
|
|
|
3366
3365
|
const { path: t, locale: n, args: r, choice: a, plural: s } = e, o = {}, i = r || {};
|
|
3367
3366
|
return I(n) && (o.locale = n), j(a) && (o.plural = a), j(s) && (o.plural = s), [t, i, o];
|
|
3368
3367
|
}
|
|
3369
|
-
function
|
|
3368
|
+
function so(e, t, ...n) {
|
|
3370
3369
|
const r = k(n[0]) ? n[0] : {};
|
|
3371
|
-
(!M(r.globalInstall) || r.globalInstall) && ([Pn.name, "I18nT"].forEach((s) => e.component(s, Pn)), [Fn.name, "I18nN"].forEach((s) => e.component(s, Fn)), [Mn.name, "I18nD"].forEach((s) => e.component(s, Mn))), e.directive("t",
|
|
3370
|
+
(!M(r.globalInstall) || r.globalInstall) && ([Pn.name, "I18nT"].forEach((s) => e.component(s, Pn)), [Fn.name, "I18nN"].forEach((s) => e.component(s, Fn)), [Mn.name, "I18nD"].forEach((s) => e.component(s, Mn))), e.directive("t", ao(t));
|
|
3372
3371
|
}
|
|
3373
|
-
const
|
|
3374
|
-
function
|
|
3372
|
+
const oo = /* @__PURE__ */ ce("global-vue-i18n");
|
|
3373
|
+
function lo(e = {}) {
|
|
3375
3374
|
const t = __VUE_I18N_LEGACY_API__ && M(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
|
|
3376
3375
|
process.env.NODE_ENV !== "production" && t && Vt(Fe(ne.DEPRECATE_LEGACY_MODE));
|
|
3377
|
-
const n = M(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, s] =
|
|
3376
|
+
const n = M(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, s] = io(e, t), o = /* @__PURE__ */ ce(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
3378
3377
|
function i(L) {
|
|
3379
3378
|
return r.get(L) || null;
|
|
3380
3379
|
}
|
|
@@ -3396,12 +3395,12 @@ function io(e = {}) {
|
|
|
3396
3395
|
b.__composerExtend = v.__composerExtend, b.__vueI18nExtend = v.__vueI18nExtend;
|
|
3397
3396
|
}
|
|
3398
3397
|
let C = null;
|
|
3399
|
-
!t && n && (C =
|
|
3398
|
+
!t && n && (C = po(L, b.global)), __VUE_I18N_FULL_INSTALL__ && so(L, b, ...N), __VUE_I18N_LEGACY_API__ && t && L.mixin(Zs(s, s.__composer, b));
|
|
3400
3399
|
const F = L.unmount;
|
|
3401
3400
|
if (L.unmount = () => {
|
|
3402
3401
|
C && C(), b.dispose(), F();
|
|
3403
3402
|
}, process.env.NODE_ENV !== "production") {
|
|
3404
|
-
if (!await
|
|
3403
|
+
if (!await Bs(L, b))
|
|
3405
3404
|
throw z(x.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
3406
3405
|
const D = xt();
|
|
3407
3406
|
if (t) {
|
|
@@ -3438,44 +3437,44 @@ function Qt(e = {}) {
|
|
|
3438
3437
|
throw z(x.MUST_BE_CALL_SETUP_TOP);
|
|
3439
3438
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
3440
3439
|
throw z(x.NOT_INSTALLED);
|
|
3441
|
-
const n =
|
|
3440
|
+
const n = uo(t), r = fo(n), a = cr(t), s = co(e, a);
|
|
3442
3441
|
if (s === "global")
|
|
3443
3442
|
return fr(r, e, a), r;
|
|
3444
3443
|
if (s === "parent") {
|
|
3445
|
-
let c =
|
|
3444
|
+
let c = _o(n, t, e.__useComponent);
|
|
3446
3445
|
return c == null && (process.env.NODE_ENV !== "production" && ue(Fe(ne.NOT_FOUND_PARENT_SCOPE)), c = r), c;
|
|
3447
3446
|
}
|
|
3448
3447
|
const o = n;
|
|
3449
3448
|
let i = o.__getInstance(t);
|
|
3450
3449
|
if (i == null) {
|
|
3451
3450
|
const c = J({}, e);
|
|
3452
|
-
"__i18n" in a && (c.__i18n = a.__i18n), r && (c.__root = r), i = jt(c), o.__composerExtend && (i[Rt] = o.__composerExtend(i)),
|
|
3451
|
+
"__i18n" in a && (c.__i18n = a.__i18n), r && (c.__root = r), i = jt(c), o.__composerExtend && (i[Rt] = o.__composerExtend(i)), Eo(o, t, i), o.__setInstance(t, i);
|
|
3453
3452
|
} else
|
|
3454
3453
|
process.env.NODE_ENV !== "production" && s === "local" && ue(Fe(ne.DUPLICATE_USE_I18N_CALLING));
|
|
3455
3454
|
return i;
|
|
3456
3455
|
}
|
|
3457
|
-
function
|
|
3456
|
+
function io(e, t) {
|
|
3458
3457
|
const n = br(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => wt(e)) : n.run(() => jt(e));
|
|
3459
3458
|
if (r == null)
|
|
3460
3459
|
throw z(x.UNEXPECTED_ERROR);
|
|
3461
3460
|
return [n, r];
|
|
3462
3461
|
}
|
|
3463
|
-
function
|
|
3464
|
-
const t = vr(e.isCE ?
|
|
3462
|
+
function uo(e) {
|
|
3463
|
+
const t = vr(e.isCE ? oo : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
3465
3464
|
if (!t)
|
|
3466
3465
|
throw z(e.isCE ? x.NOT_INSTALLED_WITH_PROVIDE : x.UNEXPECTED_ERROR);
|
|
3467
3466
|
return t;
|
|
3468
3467
|
}
|
|
3469
|
-
function
|
|
3468
|
+
function co(e, t) {
|
|
3470
3469
|
return tt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
3471
3470
|
}
|
|
3472
|
-
function
|
|
3471
|
+
function fo(e) {
|
|
3473
3472
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
3474
3473
|
}
|
|
3475
|
-
function
|
|
3474
|
+
function _o(e, t, n = !1) {
|
|
3476
3475
|
let r = null;
|
|
3477
3476
|
const a = t.root;
|
|
3478
|
-
let s =
|
|
3477
|
+
let s = mo(t, n);
|
|
3479
3478
|
for (; s != null; ) {
|
|
3480
3479
|
const o = e;
|
|
3481
3480
|
if (e.mode === "composition")
|
|
@@ -3490,10 +3489,10 @@ function mo(e, t, n = !1) {
|
|
|
3490
3489
|
}
|
|
3491
3490
|
return r;
|
|
3492
3491
|
}
|
|
3493
|
-
function
|
|
3492
|
+
function mo(e, t = !1) {
|
|
3494
3493
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
3495
3494
|
}
|
|
3496
|
-
function
|
|
3495
|
+
function Eo(e, t, n) {
|
|
3497
3496
|
let r = null;
|
|
3498
3497
|
Cr(() => {
|
|
3499
3498
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -3508,14 +3507,14 @@ function go(e, t, n) {
|
|
|
3508
3507
|
s && (s(), delete a[Rt]);
|
|
3509
3508
|
}, t);
|
|
3510
3509
|
}
|
|
3511
|
-
const
|
|
3510
|
+
const go = [
|
|
3512
3511
|
"locale",
|
|
3513
3512
|
"fallbackLocale",
|
|
3514
3513
|
"availableLocales"
|
|
3515
3514
|
], Rn = ["t", "rt", "d", "n", "tm", "te"];
|
|
3516
|
-
function
|
|
3515
|
+
function po(e, t) {
|
|
3517
3516
|
const n = /* @__PURE__ */ Object.create(null);
|
|
3518
|
-
return
|
|
3517
|
+
return go.forEach((a) => {
|
|
3519
3518
|
const s = Object.getOwnPropertyDescriptor(t, a);
|
|
3520
3519
|
if (!s)
|
|
3521
3520
|
throw z(x.UNEXPECTED_ERROR);
|
|
@@ -3544,7 +3543,7 @@ function No(e, t) {
|
|
|
3544
3543
|
});
|
|
3545
3544
|
};
|
|
3546
3545
|
}
|
|
3547
|
-
const
|
|
3546
|
+
const No = /* @__PURE__ */ Ut({
|
|
3548
3547
|
/* eslint-disable */
|
|
3549
3548
|
name: "i18n-d",
|
|
3550
3549
|
props: J({
|
|
@@ -3568,14 +3567,14 @@ const ho = /* @__PURE__ */ Ut({
|
|
|
3568
3567
|
n[yt](...r)
|
|
3569
3568
|
));
|
|
3570
3569
|
}
|
|
3571
|
-
}), Mn =
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3570
|
+
}), Mn = No;
|
|
3571
|
+
ks();
|
|
3572
|
+
rs(Ma);
|
|
3573
|
+
as(Za);
|
|
3574
|
+
ss(Xn);
|
|
3576
3575
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
3577
3576
|
const e = Le();
|
|
3578
|
-
e.__INTLIFY__ = !0,
|
|
3577
|
+
e.__INTLIFY__ = !0, wa(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
3579
3578
|
}
|
|
3580
3579
|
process.env.NODE_ENV;
|
|
3581
3580
|
var pr = {
|
|
@@ -3772,7 +3771,7 @@ var pr = {
|
|
|
3772
3771
|
}
|
|
3773
3772
|
}
|
|
3774
3773
|
};
|
|
3775
|
-
var
|
|
3774
|
+
var ho = {
|
|
3776
3775
|
name: "en",
|
|
3777
3776
|
el: {
|
|
3778
3777
|
breadcrumb: {
|
|
@@ -3969,22 +3968,19 @@ var Lo = {
|
|
|
3969
3968
|
const ye = {
|
|
3970
3969
|
zhCn: "zh-cn",
|
|
3971
3970
|
en: "en"
|
|
3972
|
-
},
|
|
3971
|
+
}, Lo = {
|
|
3973
3972
|
[ye.zhCn]: pr,
|
|
3974
|
-
[ye.en]:
|
|
3975
|
-
}, Nr = () => (navigator?.language || navigator?.userLanguage)?.startsWith("zh") ? ye.zhCn : ye.en,
|
|
3973
|
+
[ye.en]: ho
|
|
3974
|
+
}, Nr = () => (navigator?.language || navigator?.userLanguage)?.startsWith("zh") ? ye.zhCn : ye.en, Po = () => {
|
|
3976
3975
|
const e = Nr() || ye.en;
|
|
3977
|
-
return
|
|
3978
|
-
},
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
globalInjection: !0
|
|
3986
|
-
});
|
|
3987
|
-
}, Ro = (e) => (t, n = {}) => e.global.t(t, n), hr = () => {
|
|
3976
|
+
return Lo[e] || pr;
|
|
3977
|
+
}, Fo = (e = {}) => lo({
|
|
3978
|
+
legacy: !1,
|
|
3979
|
+
locale: Nr(),
|
|
3980
|
+
fallbackLocale: ye.zhCn,
|
|
3981
|
+
messages: e,
|
|
3982
|
+
globalInjection: !0
|
|
3983
|
+
}), yo = (e) => (t, n = {}) => e.global.t(t, n), hr = () => {
|
|
3988
3984
|
setTimeout(async () => {
|
|
3989
3985
|
wr.confirm(
|
|
3990
3986
|
"语言设置已更新<br/>是否重新加载页面以应用新的语言设置",
|
|
@@ -4000,17 +3996,17 @@ const ye = {
|
|
|
4000
3996
|
window.location.reload();
|
|
4001
3997
|
});
|
|
4002
3998
|
}, 0);
|
|
4003
|
-
},
|
|
3999
|
+
}, ko = () => {
|
|
4004
4000
|
window.addEventListener("languagechange", hr);
|
|
4005
|
-
},
|
|
4001
|
+
}, Ro = () => {
|
|
4006
4002
|
window.removeEventListener("languagechange", hr);
|
|
4007
|
-
},
|
|
4003
|
+
}, To = () => {
|
|
4008
4004
|
const { t: e } = Fr().appContext.config.globalProperties;
|
|
4009
4005
|
return {
|
|
4010
4006
|
t: e
|
|
4011
4007
|
};
|
|
4012
|
-
},
|
|
4013
|
-
const { t: e } =
|
|
4008
|
+
}, bo = () => {
|
|
4009
|
+
const { t: e } = To();
|
|
4014
4010
|
return {
|
|
4015
4011
|
APPLICATION_TYPE_TAB_LIST: [
|
|
4016
4012
|
{
|
|
@@ -4029,7 +4025,7 @@ const ye = {
|
|
|
4029
4025
|
}
|
|
4030
4026
|
]
|
|
4031
4027
|
};
|
|
4032
|
-
},
|
|
4028
|
+
}, Io = /* @__PURE__ */ Object.assign({
|
|
4033
4029
|
name: "ApplicationTypeTag"
|
|
4034
4030
|
}, {
|
|
4035
4031
|
__name: "layout",
|
|
@@ -4041,22 +4037,22 @@ const ye = {
|
|
|
4041
4037
|
}
|
|
4042
4038
|
},
|
|
4043
4039
|
setup(e) {
|
|
4044
|
-
const t = e, { APPLICATION_TYPE_TAB_LIST: n } =
|
|
4040
|
+
const t = e, { APPLICATION_TYPE_TAB_LIST: n } = bo(), r = he(() => n.find((s) => s.value === t.type)?.alias || ""), a = he(() => t.type === qe.dialogue ? "dialogue" : "autonomously");
|
|
4045
4041
|
return (s, o) => (kr(), yr("div", {
|
|
4046
4042
|
class: Rr(a.value)
|
|
4047
4043
|
}, Mr(r.value), 3));
|
|
4048
4044
|
}
|
|
4049
|
-
}),
|
|
4045
|
+
}), Oo = /* @__PURE__ */ Ur(Io, [["__scopeId", "data-v-6ba8ff75"]]), Mo = Tr(Oo);
|
|
4050
4046
|
export {
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4047
|
+
Mo as A,
|
|
4048
|
+
Lo as a,
|
|
4049
|
+
Po as b,
|
|
4050
|
+
Fo as c,
|
|
4051
|
+
yo as d,
|
|
4052
|
+
Ro as e,
|
|
4053
|
+
To as f,
|
|
4058
4054
|
Nr as g,
|
|
4059
4055
|
ye as l,
|
|
4060
|
-
|
|
4061
|
-
|
|
4056
|
+
ko as s,
|
|
4057
|
+
bo as u
|
|
4062
4058
|
};
|