@feedmepos/mf-report 5.27.40 → 5.27.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-gwDfjs0u.js → App-DVKd3Prh.js} +5 -5
- package/dist/{DateRangeSelect-UoFskU18.js → DateRangeSelect-B0RstQlf.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-DD2mYIoH.js → Default.vue_vue_type_script_setup_true_lang-Bw-lZnut.js} +2 -2
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BtYC32jI.js → DynamicWidget.vue_vue_type_script_setup_true_lang-CyW3l1Ls.js} +1323 -1308
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DT2SiGub.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-DcH9kMCg.js} +1191 -1174
- package/dist/{InsightView-BOM8sS76.js → InsightView-9LhtFI5Y.js} +6 -6
- package/dist/{Integration-Balw3Mat.js → Integration-h1j7EWhc.js} +4 -4
- package/dist/{Integrations-mur9Phe_.js → Integrations-DnSBl3IV.js} +4 -4
- package/dist/{Layout-ChpQW6k2.js → Layout-CIKtCA7v.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-VIJ3DR4n.js → MenuTab.vue_vue_type_script_setup_true_lang-C-E8CeK1.js} +4 -4
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CooqFHBx.js → NavigationTab.vue_vue_type_script_setup_true_lang-Bv1EAAAh.js} +5 -5
- package/dist/OverviewView-DD_WScpo.js +61 -0
- package/dist/{Report-D0ybaqZN.js → Report-E0EA45ZK.js} +5 -5
- package/dist/ReportEditor-BLn7-0ar.js +2073 -0
- package/dist/{ReportView-BaHqhBsX.js → ReportView-Cr9VjHN8.js} +80 -83
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-CGbb3b5G.js → SelectComponent.vue_vue_type_script_setup_true_lang-Ckn2p74A.js} +1 -1
- package/dist/{Setting-IDAzH_zb.js → Setting-DOFXTePL.js} +30 -30
- package/dist/{Template-C1Ei0GcR.js → Template-BpsdPAlm.js} +5 -5
- package/dist/{TileEditor-D5lXwoDY.js → TileEditor-CCpH1icn.js} +110 -105
- package/dist/TilePageStack.vue_vue_type_script_setup_true_lang-BUr5dctn.js +332 -0
- package/dist/{TransitionFade-CtE41B0o.js → TransitionFade-CAuLrgf6.js} +6 -6
- package/dist/{_plugin-vue_export-helper-onplcgja.js → _plugin-vue_export-helper-kkiiQoKl.js} +215 -216
- package/dist/{app-FVupSSYM.js → app-B7Ecopk1.js} +916 -888
- package/dist/app.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{useRestaurantPermission-DivfYXir.js → useRestaurantPermission-BMSTU9GV.js} +2 -2
- package/package.json +2 -2
- package/dist/OverviewView-Cf3MrDd_.js +0 -64
- package/dist/ReportEditor-BAOUNxIf.js +0 -2032
- package/dist/TileGrid.vue_vue_type_script_setup_true_lang-DVmhbkCB.js +0 -257
package/dist/{_plugin-vue_export-helper-onplcgja.js → _plugin-vue_export-helper-kkiiQoKl.js}
RENAMED
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { computed as Ae, ref as dn, getCurrentInstance as Ct, inject as Vn, shallowRef as Wn, watch as Vt, onMounted as $n, onUnmounted as Yn, defineComponent as bt, h as En, createVNode as Gn, Text as Kn, Fragment as Nn } from "vue";
|
|
1
|
+
import { getCurrentInstance as Ct, inject as wn, ref as dn, shallowRef as Vn, computed as Ae, watch as Vt, onMounted as Wn, onUnmounted as $n, defineComponent as bt, h as En, createVNode as Yn, Text as Gn, Fragment as Nn } from "vue";
|
|
3
2
|
import "@vue/devtools-api";
|
|
4
|
-
|
|
5
|
-
const e = Ae(() => t.value > 0), t = dn(0);
|
|
6
|
-
async function n(r) {
|
|
7
|
-
try {
|
|
8
|
-
return t.value++, await r();
|
|
9
|
-
} finally {
|
|
10
|
-
t.value--;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
return {
|
|
14
|
-
isLoading: e,
|
|
15
|
-
promptLoader: n
|
|
16
|
-
};
|
|
17
|
-
});
|
|
3
|
+
import { defineStore as Kn } from "pinia";
|
|
18
4
|
/*!
|
|
19
5
|
* shared v11.1.1
|
|
20
6
|
* (c) 2025 kazuya kawaguchi
|
|
@@ -31,26 +17,26 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
31
17
|
e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
|
|
32
18
|
});
|
|
33
19
|
}
|
|
34
|
-
const
|
|
20
|
+
const Hn = /\{([0-9a-zA-Z]+)\}/g;
|
|
35
21
|
function xe(e, ...t) {
|
|
36
|
-
return t.length === 1 && F(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(
|
|
22
|
+
return t.length === 1 && F(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Hn, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
|
|
37
23
|
}
|
|
38
|
-
const ie = (e, t = !1) => t ? Symbol.for(e) : Symbol(e),
|
|
24
|
+
const ie = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), xn = (e, t, n) => Bn({ l: e, k: t, s: n }), Bn = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), X = (e) => typeof e == "number" && isFinite(e), Xn = (e) => St(e) === "[object Date]", Ge = (e) => St(e) === "[object RegExp]", Be = (e) => M(e) && Object.keys(e).length === 0, j = Object.assign, jn = Object.create, V = (e = null) => jn(e);
|
|
39
25
|
let Wt;
|
|
40
26
|
const pe = () => Wt || (Wt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : V());
|
|
41
27
|
function $t(e) {
|
|
42
28
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
43
29
|
}
|
|
44
|
-
const
|
|
30
|
+
const Jn = Object.prototype.hasOwnProperty;
|
|
45
31
|
function ne(e, t) {
|
|
46
|
-
return
|
|
32
|
+
return Jn.call(e, t);
|
|
47
33
|
}
|
|
48
|
-
const B = Array.isArray, W = (e) => typeof e == "function", C = (e) => typeof e == "string", K = (e) => typeof e == "boolean", F = (e) => e !== null && typeof e == "object",
|
|
34
|
+
const B = Array.isArray, W = (e) => typeof e == "function", C = (e) => typeof e == "string", K = (e) => typeof e == "boolean", F = (e) => e !== null && typeof e == "object", Qn = (e) => F(e) && W(e.then) && W(e.catch), pn = Object.prototype.toString, St = (e) => pn.call(e), M = (e) => St(e) === "[object Object]", qn = (e) => e == null ? "" : B(e) || M(e) && e.toString === pn ? JSON.stringify(e, null, 2) : String(e);
|
|
49
35
|
function Dt(e, t = "") {
|
|
50
36
|
return e.reduce((n, r, a) => a === 0 ? n + r : n + t + r, "");
|
|
51
37
|
}
|
|
52
38
|
const Yt = 2;
|
|
53
|
-
function
|
|
39
|
+
function Zn(e, t = 0, n = e.length) {
|
|
54
40
|
const r = e.split(/\r?\n/);
|
|
55
41
|
let a = 0;
|
|
56
42
|
const s = [];
|
|
@@ -82,10 +68,10 @@ function fe(e, t) {
|
|
|
82
68
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
83
69
|
}
|
|
84
70
|
const Gt = {};
|
|
85
|
-
function
|
|
71
|
+
function zn(e) {
|
|
86
72
|
Gt[e] || (Gt[e] = !0, fe(e));
|
|
87
73
|
}
|
|
88
|
-
function
|
|
74
|
+
function er() {
|
|
89
75
|
const e = /* @__PURE__ */ new Map();
|
|
90
76
|
return {
|
|
91
77
|
events: e,
|
|
@@ -119,7 +105,7 @@ function Ye(e, t) {
|
|
|
119
105
|
* (c) 2025 kazuya kawaguchi
|
|
120
106
|
* Released under the MIT License.
|
|
121
107
|
*/
|
|
122
|
-
function
|
|
108
|
+
function tr(e, t, n) {
|
|
123
109
|
return { line: e, column: t, offset: n };
|
|
124
110
|
}
|
|
125
111
|
function dt(e, t, n) {
|
|
@@ -146,7 +132,7 @@ const P = {
|
|
|
146
132
|
UNHANDLED_CODEGEN_NODE_TYPE: 15,
|
|
147
133
|
// minifier error codes
|
|
148
134
|
UNHANDLED_MINIFIER_NODE_TYPE: 16
|
|
149
|
-
},
|
|
135
|
+
}, nr = 17, rr = {
|
|
150
136
|
// tokenizer error messages
|
|
151
137
|
[P.EXPECTED_TOKEN]: "Expected token: '{0}'",
|
|
152
138
|
[P.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
|
|
@@ -169,18 +155,18 @@ const P = {
|
|
|
169
155
|
[P.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
|
|
170
156
|
};
|
|
171
157
|
function be(e, t, n = {}) {
|
|
172
|
-
const { domain: r, messages: a, args: s } = n, i = process.env.NODE_ENV !== "production" ? xe((a ||
|
|
158
|
+
const { domain: r, messages: a, args: s } = n, i = process.env.NODE_ENV !== "production" ? xe((a || rr)[e] || "", ...s || []) : e, u = new SyntaxError(String(i));
|
|
173
159
|
return u.code = e, t && (u.location = t), u.domain = r, u;
|
|
174
160
|
}
|
|
175
|
-
function
|
|
161
|
+
function ar(e) {
|
|
176
162
|
throw e;
|
|
177
163
|
}
|
|
178
|
-
const
|
|
179
|
-
`,
|
|
180
|
-
function
|
|
164
|
+
const sr = /<\/?[\w\s="/.':;#-\/]+>/, or = (e) => sr.test(e), se = " ", lr = "\r", q = `
|
|
165
|
+
`, ir = "\u2028", cr = "\u2029";
|
|
166
|
+
function ur(e) {
|
|
181
167
|
const t = e;
|
|
182
168
|
let n = 0, r = 1, a = 1, s = 0;
|
|
183
|
-
const i = (N) => t[N] ===
|
|
169
|
+
const i = (N) => t[N] === lr && t[N + 1] === q, u = (N) => t[N] === q, c = (N) => t[N] === cr, p = (N) => t[N] === ir, g = (N) => i(N) || u(N) || c(N) || p(N), h = () => n, T = () => r, S = () => a, v = () => s, b = (N) => i(N) || c(N) || p(N) ? q : t[N], D = () => b(n), f = () => b(n + s);
|
|
184
170
|
function m() {
|
|
185
171
|
return s = 0, g(n) && (r++, a = 0), i(n) && n++, n++, a++, t[n];
|
|
186
172
|
}
|
|
@@ -214,9 +200,9 @@ function fr(e) {
|
|
|
214
200
|
skipToPeek: A
|
|
215
201
|
};
|
|
216
202
|
}
|
|
217
|
-
const ce = void 0,
|
|
218
|
-
function
|
|
219
|
-
const n = t.location !== !1, r =
|
|
203
|
+
const ce = void 0, fr = ".", Kt = "'", _r = "tokenizer";
|
|
204
|
+
function mr(e, t = {}) {
|
|
205
|
+
const n = t.location !== !1, r = ur(e), a = () => r.index(), s = () => tr(r.line(), r.column(), r.index()), i = s(), u = a(), c = {
|
|
220
206
|
currentType: 13,
|
|
221
207
|
offset: u,
|
|
222
208
|
startLoc: i,
|
|
@@ -233,7 +219,7 @@ function dr(e, t = {}) {
|
|
|
233
219
|
const $ = p();
|
|
234
220
|
if (l.column += E, l.offset += E, g) {
|
|
235
221
|
const Y = n ? dt($.startLoc, l) : null, k = be(o, Y, {
|
|
236
|
-
domain:
|
|
222
|
+
domain: _r,
|
|
237
223
|
args: R
|
|
238
224
|
});
|
|
239
225
|
g(k);
|
|
@@ -610,8 +596,8 @@ function dr(e, t = {}) {
|
|
|
610
596
|
context: p
|
|
611
597
|
};
|
|
612
598
|
}
|
|
613
|
-
const
|
|
614
|
-
function
|
|
599
|
+
const dr = "parser", Er = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
600
|
+
function Nr(e, t, n) {
|
|
615
601
|
switch (e) {
|
|
616
602
|
case "\\\\":
|
|
617
603
|
return "\\";
|
|
@@ -623,13 +609,13 @@ function pr(e, t, n) {
|
|
|
623
609
|
}
|
|
624
610
|
}
|
|
625
611
|
}
|
|
626
|
-
function
|
|
612
|
+
function pr(e = {}) {
|
|
627
613
|
const t = e.location !== !1, { onError: n } = e;
|
|
628
614
|
function r(f, m, O, d, ...I) {
|
|
629
615
|
const A = f.currentPosition();
|
|
630
616
|
if (A.offset += d, A.column += d, n) {
|
|
631
617
|
const N = t ? dt(O, A) : null, y = be(m, N, {
|
|
632
|
-
domain:
|
|
618
|
+
domain: dr,
|
|
633
619
|
args: I
|
|
634
620
|
});
|
|
635
621
|
n(y);
|
|
@@ -656,7 +642,7 @@ function Lr(e = {}) {
|
|
|
656
642
|
}
|
|
657
643
|
function p(f, m) {
|
|
658
644
|
const O = f.context(), { lastOffset: d, lastStartLoc: I } = O, A = a(9, d, I);
|
|
659
|
-
return A.value = m.replace(
|
|
645
|
+
return A.value = m.replace(Er, Nr), f.nextToken(), s(A, f.currentOffset(), f.currentPosition()), A;
|
|
660
646
|
}
|
|
661
647
|
function g(f) {
|
|
662
648
|
const m = f.nextToken(), O = f.context(), { lastOffset: d, lastStartLoc: I } = O, A = a(8, d, I);
|
|
@@ -749,7 +735,7 @@ function Lr(e = {}) {
|
|
|
749
735
|
return m.currentType === 13 ? I : v(f, O, d, I);
|
|
750
736
|
}
|
|
751
737
|
function D(f) {
|
|
752
|
-
const m =
|
|
738
|
+
const m = mr(f, j({}, e)), O = m.context(), d = a(0, O.offset, O.startLoc);
|
|
753
739
|
return t && d.loc && (d.loc.source = f), d.body = b(m), e.onCacheKey && (d.cacheKey = e.onCacheKey(f)), O.currentType !== 13 && r(m, P.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, f[O.offset] || ""), s(d, m.currentOffset(), m.currentPosition()), d;
|
|
754
740
|
}
|
|
755
741
|
return { parse: D };
|
|
@@ -760,7 +746,7 @@ function re(e) {
|
|
|
760
746
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
761
747
|
return t.length > 10 ? t.slice(0, 9) + "…" : t;
|
|
762
748
|
}
|
|
763
|
-
function
|
|
749
|
+
function Lr(e, t = {}) {
|
|
764
750
|
const n = {
|
|
765
751
|
ast: e,
|
|
766
752
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -812,8 +798,8 @@ function Rt(e, t) {
|
|
|
812
798
|
break;
|
|
813
799
|
}
|
|
814
800
|
}
|
|
815
|
-
function
|
|
816
|
-
const n =
|
|
801
|
+
function Tr(e, t = {}) {
|
|
802
|
+
const n = Lr(e);
|
|
817
803
|
n.helper(
|
|
818
804
|
"normalize"
|
|
819
805
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -821,7 +807,7 @@ function Or(e, t = {}) {
|
|
|
821
807
|
const r = n.context();
|
|
822
808
|
e.helpers = Array.from(r.helpers);
|
|
823
809
|
}
|
|
824
|
-
function
|
|
810
|
+
function Or(e) {
|
|
825
811
|
const t = e.body;
|
|
826
812
|
return t.type === 2 ? xt(t) : t.cases.forEach((n) => xt(n)), e;
|
|
827
813
|
}
|
|
@@ -846,7 +832,7 @@ function xt(e) {
|
|
|
846
832
|
}
|
|
847
833
|
}
|
|
848
834
|
}
|
|
849
|
-
const
|
|
835
|
+
const gr = "minifier";
|
|
850
836
|
function he(e) {
|
|
851
837
|
switch (e.t = e.type, e.type) {
|
|
852
838
|
case 0: {
|
|
@@ -894,14 +880,14 @@ function he(e) {
|
|
|
894
880
|
default:
|
|
895
881
|
if (process.env.NODE_ENV !== "production")
|
|
896
882
|
throw be(P.UNHANDLED_MINIFIER_NODE_TYPE, null, {
|
|
897
|
-
domain:
|
|
883
|
+
domain: gr,
|
|
898
884
|
args: [e.type]
|
|
899
885
|
});
|
|
900
886
|
}
|
|
901
887
|
delete e.type;
|
|
902
888
|
}
|
|
903
|
-
const
|
|
904
|
-
function
|
|
889
|
+
const Ir = "parser";
|
|
890
|
+
function Ar(e, t) {
|
|
905
891
|
const { filename: n, breakLineCode: r, needIndent: a } = t, s = t.location !== !1, i = {
|
|
906
892
|
filename: n,
|
|
907
893
|
code: "",
|
|
@@ -943,14 +929,14 @@ function hr(e, t) {
|
|
|
943
929
|
needIndent: () => i.needIndent
|
|
944
930
|
};
|
|
945
931
|
}
|
|
946
|
-
function
|
|
932
|
+
function hr(e, t) {
|
|
947
933
|
const { helper: n } = e;
|
|
948
934
|
e.push(`${n(
|
|
949
935
|
"linked"
|
|
950
936
|
/* HelperNameMap.LINKED */
|
|
951
937
|
)}(`), Ce(e, t.key), t.modifier ? (e.push(", "), Ce(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
952
938
|
}
|
|
953
|
-
function
|
|
939
|
+
function Cr(e, t) {
|
|
954
940
|
const { helper: n, needIndent: r } = e;
|
|
955
941
|
e.push(`${n(
|
|
956
942
|
"normalize"
|
|
@@ -961,7 +947,7 @@ function br(e, t) {
|
|
|
961
947
|
e.push(", ");
|
|
962
948
|
e.deindent(r()), e.push("])");
|
|
963
949
|
}
|
|
964
|
-
function
|
|
950
|
+
function br(e, t) {
|
|
965
951
|
const { helper: n, needIndent: r } = e;
|
|
966
952
|
if (t.cases.length > 1) {
|
|
967
953
|
e.push(`${n(
|
|
@@ -974,23 +960,23 @@ function Sr(e, t) {
|
|
|
974
960
|
e.deindent(r()), e.push("])");
|
|
975
961
|
}
|
|
976
962
|
}
|
|
977
|
-
function
|
|
963
|
+
function Sr(e, t) {
|
|
978
964
|
t.body ? Ce(e, t.body) : e.push("null");
|
|
979
965
|
}
|
|
980
966
|
function Ce(e, t) {
|
|
981
967
|
const { helper: n } = e;
|
|
982
968
|
switch (t.type) {
|
|
983
969
|
case 0:
|
|
984
|
-
|
|
970
|
+
Sr(e, t);
|
|
985
971
|
break;
|
|
986
972
|
case 1:
|
|
987
|
-
|
|
973
|
+
br(e, t);
|
|
988
974
|
break;
|
|
989
975
|
case 2:
|
|
990
|
-
|
|
976
|
+
Cr(e, t);
|
|
991
977
|
break;
|
|
992
978
|
case 6:
|
|
993
|
-
|
|
979
|
+
hr(e, t);
|
|
994
980
|
break;
|
|
995
981
|
case 8:
|
|
996
982
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -1025,16 +1011,16 @@ function Ce(e, t) {
|
|
|
1025
1011
|
default:
|
|
1026
1012
|
if (process.env.NODE_ENV !== "production")
|
|
1027
1013
|
throw be(P.UNHANDLED_CODEGEN_NODE_TYPE, null, {
|
|
1028
|
-
domain:
|
|
1014
|
+
domain: Ir,
|
|
1029
1015
|
args: [t.type]
|
|
1030
1016
|
});
|
|
1031
1017
|
}
|
|
1032
1018
|
}
|
|
1033
|
-
const
|
|
1019
|
+
const Dr = (e, t = {}) => {
|
|
1034
1020
|
const n = C(t.mode) ? t.mode : "normal", r = C(t.filename) ? t.filename : "message.intl";
|
|
1035
1021
|
t.sourceMap;
|
|
1036
1022
|
const a = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
1037
|
-
`, s = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], u =
|
|
1023
|
+
`, s = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], u = Ar(e, {
|
|
1038
1024
|
filename: r,
|
|
1039
1025
|
breakLineCode: a,
|
|
1040
1026
|
needIndent: s
|
|
@@ -1048,30 +1034,30 @@ const Rr = (e, t = {}) => {
|
|
|
1048
1034
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1049
1035
|
};
|
|
1050
1036
|
};
|
|
1051
|
-
function
|
|
1052
|
-
const n = j({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, u =
|
|
1053
|
-
return r ? (s &&
|
|
1037
|
+
function Rr(e, t = {}) {
|
|
1038
|
+
const n = j({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, u = pr(n).parse(e);
|
|
1039
|
+
return r ? (s && Or(u), a && he(u), { ast: u, code: "" }) : (Tr(u, n), Dr(u, n));
|
|
1054
1040
|
}
|
|
1055
1041
|
/*!
|
|
1056
1042
|
* core-base v11.1.1
|
|
1057
1043
|
* (c) 2025 kazuya kawaguchi
|
|
1058
1044
|
* Released under the MIT License.
|
|
1059
1045
|
*/
|
|
1060
|
-
function
|
|
1046
|
+
function Pr() {
|
|
1061
1047
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (pe().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (pe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
1062
1048
|
}
|
|
1063
1049
|
function ft(e) {
|
|
1064
|
-
return (n) =>
|
|
1050
|
+
return (n) => vr(n, e);
|
|
1065
1051
|
}
|
|
1066
|
-
function
|
|
1067
|
-
const n =
|
|
1052
|
+
function vr(e, t) {
|
|
1053
|
+
const n = kr(t);
|
|
1068
1054
|
if (n == null)
|
|
1069
1055
|
throw ye(
|
|
1070
1056
|
0
|
|
1071
1057
|
/* NodeTypes.Resource */
|
|
1072
1058
|
);
|
|
1073
1059
|
if (Pt(n) === 1) {
|
|
1074
|
-
const s =
|
|
1060
|
+
const s = Fr(n);
|
|
1075
1061
|
return e.plural(s.reduce((i, u) => [
|
|
1076
1062
|
...i,
|
|
1077
1063
|
Bt(e, u)
|
|
@@ -1079,30 +1065,30 @@ function yr(e, t) {
|
|
|
1079
1065
|
} else
|
|
1080
1066
|
return Bt(e, n);
|
|
1081
1067
|
}
|
|
1082
|
-
const
|
|
1083
|
-
function
|
|
1084
|
-
return _e(e,
|
|
1068
|
+
const yr = ["b", "body"];
|
|
1069
|
+
function kr(e) {
|
|
1070
|
+
return _e(e, yr);
|
|
1085
1071
|
}
|
|
1086
|
-
const
|
|
1087
|
-
function
|
|
1088
|
-
return _e(e,
|
|
1072
|
+
const Mr = ["c", "cases"];
|
|
1073
|
+
function Fr(e) {
|
|
1074
|
+
return _e(e, Mr, []);
|
|
1089
1075
|
}
|
|
1090
1076
|
function Bt(e, t) {
|
|
1091
|
-
const n =
|
|
1077
|
+
const n = wr(t);
|
|
1092
1078
|
if (n != null)
|
|
1093
1079
|
return e.type === "text" ? n : e.normalize([n]);
|
|
1094
1080
|
{
|
|
1095
|
-
const r =
|
|
1081
|
+
const r = Wr(t).reduce((a, s) => [...a, Et(e, s)], []);
|
|
1096
1082
|
return e.normalize(r);
|
|
1097
1083
|
}
|
|
1098
1084
|
}
|
|
1099
|
-
const
|
|
1100
|
-
function
|
|
1101
|
-
return _e(e,
|
|
1085
|
+
const Ur = ["s", "static"];
|
|
1086
|
+
function wr(e) {
|
|
1087
|
+
return _e(e, Ur);
|
|
1102
1088
|
}
|
|
1103
|
-
const
|
|
1104
|
-
function
|
|
1105
|
-
return _e(e,
|
|
1089
|
+
const Vr = ["i", "items"];
|
|
1090
|
+
function Wr(e) {
|
|
1091
|
+
return _e(e, Vr, []);
|
|
1106
1092
|
}
|
|
1107
1093
|
function Et(e, t) {
|
|
1108
1094
|
const n = Pt(t);
|
|
@@ -1128,7 +1114,7 @@ function Et(e, t) {
|
|
|
1128
1114
|
throw ye(n);
|
|
1129
1115
|
}
|
|
1130
1116
|
case 6: {
|
|
1131
|
-
const r = t, a =
|
|
1117
|
+
const r = t, a = Kr(r), s = xr(r);
|
|
1132
1118
|
return e.linked(Et(e, s), a ? Et(e, a) : void 0, e.type);
|
|
1133
1119
|
}
|
|
1134
1120
|
case 7:
|
|
@@ -1139,24 +1125,24 @@ function Et(e, t) {
|
|
|
1139
1125
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1140
1126
|
}
|
|
1141
1127
|
}
|
|
1142
|
-
const
|
|
1128
|
+
const $r = ["t", "type"];
|
|
1143
1129
|
function Pt(e) {
|
|
1144
|
-
return _e(e,
|
|
1130
|
+
return _e(e, $r);
|
|
1145
1131
|
}
|
|
1146
|
-
const
|
|
1132
|
+
const Yr = ["v", "value"];
|
|
1147
1133
|
function We(e, t) {
|
|
1148
|
-
const n = _e(e,
|
|
1134
|
+
const n = _e(e, Yr);
|
|
1149
1135
|
if (n)
|
|
1150
1136
|
return n;
|
|
1151
1137
|
throw ye(t);
|
|
1152
1138
|
}
|
|
1153
|
-
const
|
|
1154
|
-
function
|
|
1155
|
-
return _e(e,
|
|
1139
|
+
const Gr = ["m", "modifier"];
|
|
1140
|
+
function Kr(e) {
|
|
1141
|
+
return _e(e, Gr);
|
|
1156
1142
|
}
|
|
1157
|
-
const
|
|
1158
|
-
function
|
|
1159
|
-
const t = _e(e,
|
|
1143
|
+
const Hr = ["k", "key"];
|
|
1144
|
+
function xr(e) {
|
|
1145
|
+
const t = _e(e, Hr);
|
|
1160
1146
|
if (t)
|
|
1161
1147
|
return t;
|
|
1162
1148
|
throw ye(
|
|
@@ -1175,31 +1161,31 @@ function _e(e, t, n) {
|
|
|
1175
1161
|
function ye(e) {
|
|
1176
1162
|
return new Error(`unhandled node type: ${e}`);
|
|
1177
1163
|
}
|
|
1178
|
-
const
|
|
1179
|
-
function
|
|
1180
|
-
t &&
|
|
1164
|
+
const Br = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
|
|
1165
|
+
function Xr(e, t) {
|
|
1166
|
+
t && or(e) && fe(xe(Br, { source: e }));
|
|
1181
1167
|
}
|
|
1182
|
-
const
|
|
1168
|
+
const jr = (e) => e;
|
|
1183
1169
|
let $e = V();
|
|
1184
1170
|
function Te(e) {
|
|
1185
1171
|
return F(e) && Pt(e) === 0 && (ne(e, "b") || ne(e, "body"));
|
|
1186
1172
|
}
|
|
1187
|
-
function
|
|
1173
|
+
function Jr(e, t = {}) {
|
|
1188
1174
|
let n = !1;
|
|
1189
|
-
const r = t.onError ||
|
|
1175
|
+
const r = t.onError || ar;
|
|
1190
1176
|
return t.onError = (a) => {
|
|
1191
1177
|
n = !0, r(a);
|
|
1192
|
-
}, { ...
|
|
1178
|
+
}, { ...Rr(e, t), detectError: n };
|
|
1193
1179
|
}
|
|
1194
1180
|
// @__NO_SIDE_EFFECTS__
|
|
1195
|
-
function
|
|
1181
|
+
function Qr(e, t) {
|
|
1196
1182
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && C(e)) {
|
|
1197
1183
|
const n = K(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
1198
|
-
process.env.NODE_ENV !== "production" &&
|
|
1199
|
-
const a = (t.onCacheKey ||
|
|
1184
|
+
process.env.NODE_ENV !== "production" && Xr(e, n);
|
|
1185
|
+
const a = (t.onCacheKey || jr)(e), s = $e[a];
|
|
1200
1186
|
if (s)
|
|
1201
1187
|
return s;
|
|
1202
|
-
const { ast: i, detectError: u } =
|
|
1188
|
+
const { ast: i, detectError: u } = Jr(e, {
|
|
1203
1189
|
...t,
|
|
1204
1190
|
location: process.env.NODE_ENV !== "production",
|
|
1205
1191
|
jit: !0
|
|
@@ -1217,10 +1203,10 @@ function qr(e, t) {
|
|
|
1217
1203
|
}
|
|
1218
1204
|
}
|
|
1219
1205
|
let ke = null;
|
|
1220
|
-
function
|
|
1206
|
+
function qr(e) {
|
|
1221
1207
|
ke = e;
|
|
1222
1208
|
}
|
|
1223
|
-
function
|
|
1209
|
+
function Zr(e, t, n) {
|
|
1224
1210
|
ke && ke.emit("i18n:init", {
|
|
1225
1211
|
timestamp: Date.now(),
|
|
1226
1212
|
i18n: e,
|
|
@@ -1228,12 +1214,12 @@ function zr(e, t, n) {
|
|
|
1228
1214
|
meta: n
|
|
1229
1215
|
});
|
|
1230
1216
|
}
|
|
1231
|
-
const
|
|
1232
|
-
function
|
|
1217
|
+
const zr = /* @__PURE__ */ ea("function:translate");
|
|
1218
|
+
function ea(e) {
|
|
1233
1219
|
return (t) => ke && ke.emit(e, t);
|
|
1234
1220
|
}
|
|
1235
1221
|
const Q = {
|
|
1236
|
-
INVALID_ARGUMENT:
|
|
1222
|
+
INVALID_ARGUMENT: nr,
|
|
1237
1223
|
// 17
|
|
1238
1224
|
INVALID_DATE_ARGUMENT: 18,
|
|
1239
1225
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1241,11 +1227,11 @@ const Q = {
|
|
|
1241
1227
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
1242
1228
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1243
1229
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1244
|
-
},
|
|
1230
|
+
}, ta = 24;
|
|
1245
1231
|
function oe(e) {
|
|
1246
|
-
return be(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
1232
|
+
return be(e, null, process.env.NODE_ENV !== "production" ? { messages: na } : void 0);
|
|
1247
1233
|
}
|
|
1248
|
-
const
|
|
1234
|
+
const na = {
|
|
1249
1235
|
[Q.INVALID_ARGUMENT]: "Invalid arguments",
|
|
1250
1236
|
[Q.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
|
|
1251
1237
|
[Q.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
|
|
@@ -1266,7 +1252,7 @@ function Xt(e) {
|
|
|
1266
1252
|
return _t;
|
|
1267
1253
|
if (e.constructor.name === "Function") {
|
|
1268
1254
|
const t = e();
|
|
1269
|
-
if (
|
|
1255
|
+
if (Qn(t))
|
|
1270
1256
|
throw oe(Q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1271
1257
|
return _t = t;
|
|
1272
1258
|
} else
|
|
@@ -1274,7 +1260,7 @@ function Xt(e) {
|
|
|
1274
1260
|
} else
|
|
1275
1261
|
throw oe(Q.NOT_SUPPORT_LOCALE_TYPE);
|
|
1276
1262
|
}
|
|
1277
|
-
function
|
|
1263
|
+
function ra(e, t, n) {
|
|
1278
1264
|
return [.../* @__PURE__ */ new Set([
|
|
1279
1265
|
n,
|
|
1280
1266
|
...B(t) ? t : F(t) ? Object.keys(t) : C(t) ? [t] : [n]
|
|
@@ -1298,20 +1284,20 @@ function jt(e, t, n) {
|
|
|
1298
1284
|
let r = !0;
|
|
1299
1285
|
for (let a = 0; a < t.length && K(r); a++) {
|
|
1300
1286
|
const s = t[a];
|
|
1301
|
-
C(s) && (r =
|
|
1287
|
+
C(s) && (r = aa(e, t[a], n));
|
|
1302
1288
|
}
|
|
1303
1289
|
return r;
|
|
1304
1290
|
}
|
|
1305
|
-
function
|
|
1291
|
+
function aa(e, t, n) {
|
|
1306
1292
|
let r;
|
|
1307
1293
|
const a = t.split("-");
|
|
1308
1294
|
do {
|
|
1309
1295
|
const s = a.join("-");
|
|
1310
|
-
r =
|
|
1296
|
+
r = sa(e, s, n), a.splice(-1, 1);
|
|
1311
1297
|
} while (a.length && r === !0);
|
|
1312
1298
|
return r;
|
|
1313
1299
|
}
|
|
1314
|
-
function
|
|
1300
|
+
function sa(e, t, n) {
|
|
1315
1301
|
let r = !1;
|
|
1316
1302
|
if (!e.includes(t) && (r = !0, t)) {
|
|
1317
1303
|
r = t[t.length - 1] !== "!";
|
|
@@ -1481,15 +1467,15 @@ me[
|
|
|
1481
1467
|
/* Actions.APPEND */
|
|
1482
1468
|
]
|
|
1483
1469
|
};
|
|
1484
|
-
const
|
|
1485
|
-
function
|
|
1486
|
-
return
|
|
1470
|
+
const oa = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1471
|
+
function la(e) {
|
|
1472
|
+
return oa.test(e);
|
|
1487
1473
|
}
|
|
1488
|
-
function
|
|
1474
|
+
function ia(e) {
|
|
1489
1475
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1490
1476
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1491
1477
|
}
|
|
1492
|
-
function
|
|
1478
|
+
function ca(e) {
|
|
1493
1479
|
if (e == null)
|
|
1494
1480
|
return "o";
|
|
1495
1481
|
switch (e.charCodeAt(0)) {
|
|
@@ -1514,11 +1500,11 @@ function ua(e) {
|
|
|
1514
1500
|
}
|
|
1515
1501
|
return "i";
|
|
1516
1502
|
}
|
|
1517
|
-
function
|
|
1503
|
+
function ua(e) {
|
|
1518
1504
|
const t = e.trim();
|
|
1519
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
1505
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : la(t) ? ia(t) : "*" + t;
|
|
1520
1506
|
}
|
|
1521
|
-
function
|
|
1507
|
+
function fa(e) {
|
|
1522
1508
|
const t = [];
|
|
1523
1509
|
let n = -1, r = 0, a = 0, s, i, u, c, p, g, h;
|
|
1524
1510
|
const T = [];
|
|
@@ -1550,7 +1536,7 @@ function _a(e) {
|
|
|
1550
1536
|
/* Actions.APPEND */
|
|
1551
1537
|
]();
|
|
1552
1538
|
else {
|
|
1553
|
-
if (a = 0, i === void 0 || (i =
|
|
1539
|
+
if (a = 0, i === void 0 || (i = ua(i), i === !1))
|
|
1554
1540
|
return !1;
|
|
1555
1541
|
T[
|
|
1556
1542
|
1
|
|
@@ -1568,21 +1554,21 @@ function _a(e) {
|
|
|
1568
1554
|
}
|
|
1569
1555
|
for (; r !== null; )
|
|
1570
1556
|
if (n++, s = e[n], !(s === "\\" && S())) {
|
|
1571
|
-
if (c =
|
|
1557
|
+
if (c = ca(s), h = me[r], p = h[c] || h.l || 8, p === 8 || (r = p[0], p[1] !== void 0 && (g = T[p[1]], g && (u = s, g() === !1))))
|
|
1572
1558
|
return;
|
|
1573
1559
|
if (r === 7)
|
|
1574
1560
|
return t;
|
|
1575
1561
|
}
|
|
1576
1562
|
}
|
|
1577
1563
|
const Jt = /* @__PURE__ */ new Map();
|
|
1578
|
-
function
|
|
1564
|
+
function _a(e, t) {
|
|
1579
1565
|
return F(e) ? e[t] : null;
|
|
1580
1566
|
}
|
|
1581
|
-
function
|
|
1567
|
+
function ma(e, t) {
|
|
1582
1568
|
if (!F(e))
|
|
1583
1569
|
return null;
|
|
1584
1570
|
let n = Jt.get(t);
|
|
1585
|
-
if (n || (n =
|
|
1571
|
+
if (n || (n = fa(t), n && Jt.set(t, n)), !n)
|
|
1586
1572
|
return null;
|
|
1587
1573
|
const r = n.length;
|
|
1588
1574
|
let a = e, s = 0;
|
|
@@ -1602,7 +1588,7 @@ const Z = {
|
|
|
1602
1588
|
CANNOT_FORMAT_DATE: 5,
|
|
1603
1589
|
FALLBACK_TO_DATE_FORMAT: 6,
|
|
1604
1590
|
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
|
|
1605
|
-
},
|
|
1591
|
+
}, da = 8, Ea = {
|
|
1606
1592
|
[Z.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
1607
1593
|
[Z.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
1608
1594
|
[Z.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
@@ -1612,10 +1598,10 @@ const Z = {
|
|
|
1612
1598
|
[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."
|
|
1613
1599
|
};
|
|
1614
1600
|
function Oe(e, ...t) {
|
|
1615
|
-
return xe(
|
|
1601
|
+
return xe(Ea[e], ...t);
|
|
1616
1602
|
}
|
|
1617
|
-
const
|
|
1618
|
-
function
|
|
1603
|
+
const Na = "11.1.1", Xe = -1, Ke = "en-US", He = "", Qt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1604
|
+
function pa() {
|
|
1619
1605
|
return {
|
|
1620
1606
|
upper: (e, t) => t === "text" && C(e) ? e.toUpperCase() : t === "vnode" && F(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1621
1607
|
lower: (e, t) => t === "text" && C(e) ? e.toLowerCase() : t === "vnode" && F(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
@@ -1623,30 +1609,30 @@ function La() {
|
|
|
1623
1609
|
};
|
|
1624
1610
|
}
|
|
1625
1611
|
let Tn;
|
|
1626
|
-
function
|
|
1612
|
+
function La(e) {
|
|
1627
1613
|
Tn = e;
|
|
1628
1614
|
}
|
|
1629
1615
|
let On;
|
|
1630
|
-
function
|
|
1616
|
+
function Ta(e) {
|
|
1631
1617
|
On = e;
|
|
1632
1618
|
}
|
|
1633
1619
|
let gn;
|
|
1634
|
-
function
|
|
1620
|
+
function Oa(e) {
|
|
1635
1621
|
gn = e;
|
|
1636
1622
|
}
|
|
1637
1623
|
let In = null;
|
|
1638
|
-
const
|
|
1624
|
+
const ga = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1639
1625
|
In = e;
|
|
1640
|
-
},
|
|
1626
|
+
}, Ia = /* @__NO_SIDE_EFFECTS__ */ () => In;
|
|
1641
1627
|
let An = null;
|
|
1642
1628
|
const qt = (e) => {
|
|
1643
1629
|
An = e;
|
|
1644
|
-
},
|
|
1630
|
+
}, Aa = () => An;
|
|
1645
1631
|
let Zt = 0;
|
|
1646
|
-
function
|
|
1647
|
-
const t = W(e.onWarn) ? e.onWarn : fe, n = C(e.version) ? e.version :
|
|
1648
|
-
process.env.NODE_ENV !== "production" && W(e.messageCompiler) &&
|
|
1649
|
-
const I = W(e.messageResolver) ? e.messageResolver : On ||
|
|
1632
|
+
function ha(e = {}) {
|
|
1633
|
+
const t = W(e.onWarn) ? e.onWarn : fe, n = C(e.version) ? e.version : Na, r = C(e.locale) || W(e.locale) ? e.locale : Ke, a = W(r) ? Ke : r, s = B(e.fallbackLocale) || M(e.fallbackLocale) || C(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, i = M(e.messages) ? e.messages : mt(a), u = M(e.datetimeFormats) ? e.datetimeFormats : mt(a), c = M(e.numberFormats) ? e.numberFormats : mt(a), p = j(V(), e.modifiers, pa()), g = e.pluralRules || V(), h = W(e.missing) ? e.missing : null, T = K(e.missingWarn) || Ge(e.missingWarn) ? e.missingWarn : !0, S = K(e.fallbackWarn) || Ge(e.fallbackWarn) ? e.fallbackWarn : !0, v = !!e.fallbackFormat, b = !!e.unresolving, D = W(e.postTranslation) ? e.postTranslation : null, f = M(e.processor) ? e.processor : null, m = K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, O = !!e.escapeParameter, d = W(e.messageCompiler) ? e.messageCompiler : Tn;
|
|
1634
|
+
process.env.NODE_ENV !== "production" && W(e.messageCompiler) && zn(Oe(Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
1635
|
+
const I = W(e.messageResolver) ? e.messageResolver : On || _a, A = W(e.localeFallbacker) ? e.localeFallbacker : gn || ra, N = F(e.fallbackContext) ? e.fallbackContext : void 0, y = e, w = F(y.__datetimeFormatters) ? y.__datetimeFormatters : /* @__PURE__ */ new Map(), H = F(y.__numberFormatters) ? y.__numberFormatters : /* @__PURE__ */ new Map(), te = F(y.__meta) ? y.__meta : {};
|
|
1650
1636
|
Zt++;
|
|
1651
1637
|
const x = {
|
|
1652
1638
|
version: n,
|
|
@@ -1672,7 +1658,7 @@ function Ca(e = {}) {
|
|
|
1672
1658
|
onWarn: t,
|
|
1673
1659
|
__meta: te
|
|
1674
1660
|
};
|
|
1675
|
-
return x.datetimeFormats = u, x.numberFormats = c, x.__datetimeFormatters = w, x.__numberFormatters = H, process.env.NODE_ENV !== "production" && (x.__v_emitter = y.__v_emitter != null ? y.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) &&
|
|
1661
|
+
return x.datetimeFormats = u, x.numberFormats = c, x.__datetimeFormatters = w, x.__numberFormatters = H, process.env.NODE_ENV !== "production" && (x.__v_emitter = y.__v_emitter != null ? y.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Zr(x, n, te), x;
|
|
1676
1662
|
}
|
|
1677
1663
|
const mt = (e) => ({ [e]: V() });
|
|
1678
1664
|
function je(e, t) {
|
|
@@ -1705,7 +1691,7 @@ function ve(e, t, n) {
|
|
|
1705
1691
|
function Cn(e, t) {
|
|
1706
1692
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1707
1693
|
}
|
|
1708
|
-
function
|
|
1694
|
+
function Ca(e, t) {
|
|
1709
1695
|
const n = t.indexOf(e);
|
|
1710
1696
|
if (n === -1)
|
|
1711
1697
|
return !1;
|
|
@@ -1793,7 +1779,7 @@ function Nt(...e) {
|
|
|
1793
1779
|
} catch {
|
|
1794
1780
|
throw oe(Q.INVALID_ISO_DATE_ARGUMENT);
|
|
1795
1781
|
}
|
|
1796
|
-
} else if (
|
|
1782
|
+
} else if (Xn(t)) {
|
|
1797
1783
|
if (isNaN(t.getTime()))
|
|
1798
1784
|
throw oe(Q.INVALID_DATE_ARGUMENT);
|
|
1799
1785
|
u = t;
|
|
@@ -1890,26 +1876,26 @@ function rn(e, t, n) {
|
|
|
1890
1876
|
r.__numberFormatters.has(s) && r.__numberFormatters.delete(s);
|
|
1891
1877
|
}
|
|
1892
1878
|
}
|
|
1893
|
-
const
|
|
1879
|
+
const ba = (e) => e, Sa = (e) => "", Da = "text", Ra = (e) => e.length === 0 ? "" : Dt(e), Pa = qn;
|
|
1894
1880
|
function an(e, t) {
|
|
1895
1881
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1896
1882
|
}
|
|
1897
|
-
function
|
|
1883
|
+
function va(e) {
|
|
1898
1884
|
const t = X(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1899
1885
|
return e.named && (X(e.named.count) || X(e.named.n)) ? X(e.named.count) ? e.named.count : X(e.named.n) ? e.named.n : t : t;
|
|
1900
1886
|
}
|
|
1901
|
-
function
|
|
1887
|
+
function ya(e, t) {
|
|
1902
1888
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1903
1889
|
}
|
|
1904
|
-
function
|
|
1905
|
-
const t = e.locale, n =
|
|
1906
|
-
X(e.pluralIndex) &&
|
|
1890
|
+
function ka(e = {}) {
|
|
1891
|
+
const t = e.locale, n = va(e), r = F(e.pluralRules) && C(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : an, a = F(e.pluralRules) && C(t) && W(e.pluralRules[t]) ? an : void 0, s = (f) => f[r(n, f.length, a)], i = e.list || [], u = (f) => i[f], c = e.named || V();
|
|
1892
|
+
X(e.pluralIndex) && ya(n, c);
|
|
1907
1893
|
const p = (f) => c[f];
|
|
1908
1894
|
function g(f, m) {
|
|
1909
1895
|
const O = W(e.messages) ? e.messages(f, !!m) : F(e.messages) ? e.messages[f] : !1;
|
|
1910
|
-
return O || (e.parent ? e.parent.message(f) :
|
|
1896
|
+
return O || (e.parent ? e.parent.message(f) : Sa);
|
|
1911
1897
|
}
|
|
1912
|
-
const h = (f) => e.modifiers ? e.modifiers[f] :
|
|
1898
|
+
const h = (f) => e.modifiers ? e.modifiers[f] : ba, T = M(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Ra, S = M(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : Pa, v = M(e.processor) && C(e.processor.type) ? e.processor.type : Da, D = {
|
|
1913
1899
|
list: u,
|
|
1914
1900
|
named: p,
|
|
1915
1901
|
plural: s,
|
|
@@ -1934,7 +1920,7 @@ function Ma(e = {}) {
|
|
|
1934
1920
|
const sn = () => "", ee = (e) => W(e);
|
|
1935
1921
|
function on(e, ...t) {
|
|
1936
1922
|
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: s, fallbackLocale: i, messages: u } = e, [c, p] = Lt(...t), g = K(p.missingWarn) ? p.missingWarn : e.missingWarn, h = K(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, T = K(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, S = !!p.resolvedMessage, v = C(p.default) || K(p.default) ? K(p.default) ? s ? c : () => c : p.default : n ? s ? c : () => c : null, b = n || v != null && (C(v) || W(v)), D = vt(e, p);
|
|
1937
|
-
T &&
|
|
1923
|
+
T && Ma(p);
|
|
1938
1924
|
let [f, m, O] = S ? [
|
|
1939
1925
|
c,
|
|
1940
1926
|
D,
|
|
@@ -1950,7 +1936,7 @@ function on(e, ...t) {
|
|
|
1950
1936
|
}, y = ee(d) ? d : Pn(e, c, m, d, I, N);
|
|
1951
1937
|
if (A)
|
|
1952
1938
|
return d;
|
|
1953
|
-
const w =
|
|
1939
|
+
const w = Va(e, m, O, p), H = ka(w), te = Fa(e, y, H), x = r ? r(te, c) : te;
|
|
1954
1940
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
1955
1941
|
const ge = {
|
|
1956
1942
|
timestamp: Date.now(),
|
|
@@ -1959,11 +1945,11 @@ function on(e, ...t) {
|
|
|
1959
1945
|
format: C(d) ? d : ee(d) ? d.source : "",
|
|
1960
1946
|
message: x
|
|
1961
1947
|
};
|
|
1962
|
-
ge.meta = j({}, e.__meta, /* @__PURE__ */
|
|
1948
|
+
ge.meta = j({}, e.__meta, /* @__PURE__ */ Ia() || {}), zr(ge);
|
|
1963
1949
|
}
|
|
1964
1950
|
return x;
|
|
1965
1951
|
}
|
|
1966
|
-
function
|
|
1952
|
+
function Ma(e) {
|
|
1967
1953
|
B(e.list) ? e.list = e.list.map((t) => C(t) ? $t(t) : t) : F(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1968
1954
|
C(e.named[t]) && (e.named[t] = $t(e.named[t]));
|
|
1969
1955
|
});
|
|
@@ -2000,7 +1986,7 @@ function Rn(e, t, n, r, a, s) {
|
|
|
2000
1986
|
}
|
|
2001
1987
|
if (C(S) || Te(S) || ee(S))
|
|
2002
1988
|
break;
|
|
2003
|
-
if (!
|
|
1989
|
+
if (!Ca(T, g)) {
|
|
2004
1990
|
const I = yt(
|
|
2005
1991
|
e,
|
|
2006
1992
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -2027,7 +2013,7 @@ function Pn(e, t, n, r, a, s) {
|
|
|
2027
2013
|
}
|
|
2028
2014
|
let c = null, p, g;
|
|
2029
2015
|
process.env.NODE_ENV !== "production" && le && (c = window.performance.now(), p = "intlify-message-compilation-start", g = "intlify-message-compilation-end", z && z(p));
|
|
2030
|
-
const h = i(r,
|
|
2016
|
+
const h = i(r, Ua(e, n, a, r, u, s));
|
|
2031
2017
|
if (process.env.NODE_ENV !== "production" && le) {
|
|
2032
2018
|
const T = window.performance.now(), S = e.__v_emitter;
|
|
2033
2019
|
S && c && S.emit("message-compilation", {
|
|
@@ -2039,7 +2025,7 @@ function Pn(e, t, n, r, a, s) {
|
|
|
2039
2025
|
}
|
|
2040
2026
|
return h.locale = n, h.key = t, h.source = r, h;
|
|
2041
2027
|
}
|
|
2042
|
-
function
|
|
2028
|
+
function Fa(e, t, n) {
|
|
2043
2029
|
let r = null, a, s;
|
|
2044
2030
|
process.env.NODE_ENV !== "production" && le && (r = window.performance.now(), a = "intlify-message-evaluation-start", s = "intlify-message-evaluation-end", z && z(a));
|
|
2045
2031
|
const i = t(n);
|
|
@@ -2061,14 +2047,14 @@ function Lt(...e) {
|
|
|
2061
2047
|
const s = X(t) ? String(t) : (ee(t), t);
|
|
2062
2048
|
return X(n) ? a.plural = n : C(n) ? a.default = n : M(n) && !Be(n) ? a.named = n : B(n) && (a.list = n), X(r) ? a.plural = r : C(r) ? a.default = r : M(r) && j(a, r), [s, a];
|
|
2063
2049
|
}
|
|
2064
|
-
function
|
|
2050
|
+
function Ua(e, t, n, r, a, s) {
|
|
2065
2051
|
return {
|
|
2066
2052
|
locale: t,
|
|
2067
2053
|
key: n,
|
|
2068
2054
|
warnHtmlMessage: a,
|
|
2069
2055
|
onError: (i) => {
|
|
2070
2056
|
if (s && s(i), process.env.NODE_ENV !== "production") {
|
|
2071
|
-
const u =
|
|
2057
|
+
const u = wa(r), c = `Message compilation error: ${i.message}`, p = i.location && u && Zn(u, i.location.start.offset, i.location.end.offset), g = e.__v_emitter;
|
|
2072
2058
|
g && u && g.emit("compile-error", {
|
|
2073
2059
|
message: u,
|
|
2074
2060
|
error: i.message,
|
|
@@ -2080,16 +2066,16 @@ ${p}` : c);
|
|
|
2080
2066
|
} else
|
|
2081
2067
|
throw i;
|
|
2082
2068
|
},
|
|
2083
|
-
onCacheKey: (i) =>
|
|
2069
|
+
onCacheKey: (i) => xn(t, n, i)
|
|
2084
2070
|
};
|
|
2085
2071
|
}
|
|
2086
|
-
function
|
|
2072
|
+
function wa(e) {
|
|
2087
2073
|
if (C(e))
|
|
2088
2074
|
return e;
|
|
2089
2075
|
if (e.loc && e.loc.source)
|
|
2090
2076
|
return e.loc.source;
|
|
2091
2077
|
}
|
|
2092
|
-
function
|
|
2078
|
+
function Va(e, t, n, r) {
|
|
2093
2079
|
const { modifiers: a, pluralRules: s, messageResolver: i, fallbackLocale: u, fallbackWarn: c, missingWarn: p, fallbackContext: g } = e, T = {
|
|
2094
2080
|
locale: t,
|
|
2095
2081
|
modifiers: a,
|
|
@@ -2119,19 +2105,19 @@ function Wa(e, t, n, r) {
|
|
|
2119
2105
|
};
|
|
2120
2106
|
return e.processor && (T.processor = e.processor), r.list && (T.list = r.list), r.named && (T.named = r.named), X(r.plural) && (T.pluralIndex = r.plural), T;
|
|
2121
2107
|
}
|
|
2122
|
-
|
|
2108
|
+
Pr();
|
|
2123
2109
|
/*!
|
|
2124
2110
|
* vue-i18n v11.1.1
|
|
2125
2111
|
* (c) 2025 kazuya kawaguchi
|
|
2126
2112
|
* Released under the MIT License.
|
|
2127
2113
|
*/
|
|
2128
|
-
const
|
|
2129
|
-
function
|
|
2114
|
+
const Wa = "11.1.1";
|
|
2115
|
+
function $a() {
|
|
2130
2116
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (pe().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (pe().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (pe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (pe().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
2131
2117
|
}
|
|
2132
2118
|
const J = {
|
|
2133
2119
|
// composer module errors
|
|
2134
|
-
UNEXPECTED_RETURN_TYPE:
|
|
2120
|
+
UNEXPECTED_RETURN_TYPE: ta,
|
|
2135
2121
|
// 24
|
|
2136
2122
|
// legacy module errors
|
|
2137
2123
|
INVALID_ARGUMENT: 25,
|
|
@@ -2152,9 +2138,9 @@ const J = {
|
|
|
2152
2138
|
NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
|
|
2153
2139
|
};
|
|
2154
2140
|
function Me(e, ...t) {
|
|
2155
|
-
return be(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
2141
|
+
return be(e, null, process.env.NODE_ENV !== "production" ? { messages: Ya, args: t } : void 0);
|
|
2156
2142
|
}
|
|
2157
|
-
const
|
|
2143
|
+
const Ya = {
|
|
2158
2144
|
[J.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
|
|
2159
2145
|
[J.INVALID_ARGUMENT]: "Invalid argument",
|
|
2160
2146
|
[J.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
|
|
@@ -2166,8 +2152,8 @@ const Ga = {
|
|
|
2166
2152
|
[J.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
|
|
2167
2153
|
[J.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
2168
2154
|
[J.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
2169
|
-
}, Tt = /* @__PURE__ */ ie("__translateVNode"), Ot = /* @__PURE__ */ ie("__datetimeParts"), gt = /* @__PURE__ */ ie("__numberParts"), It = /* @__PURE__ */ ie("__enableEmitter"), At = /* @__PURE__ */ ie("__disableEmitter"),
|
|
2170
|
-
FALLBACK_TO_ROOT:
|
|
2155
|
+
}, Tt = /* @__PURE__ */ ie("__translateVNode"), Ot = /* @__PURE__ */ ie("__datetimeParts"), gt = /* @__PURE__ */ ie("__numberParts"), It = /* @__PURE__ */ ie("__enableEmitter"), At = /* @__PURE__ */ ie("__disableEmitter"), Ga = ie("__setPluralRules"), vn = /* @__PURE__ */ ie("__injectWithOption"), ht = /* @__PURE__ */ ie("__dispose"), ue = {
|
|
2156
|
+
FALLBACK_TO_ROOT: da,
|
|
2171
2157
|
// 8
|
|
2172
2158
|
NOT_FOUND_PARENT_SCOPE: 9,
|
|
2173
2159
|
IGNORE_OBJ_FLATTEN: 10,
|
|
@@ -2179,7 +2165,7 @@ const Ga = {
|
|
|
2179
2165
|
* @deprecated will be removed at vue-i18n v12
|
|
2180
2166
|
*/
|
|
2181
2167
|
DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12
|
|
2182
|
-
},
|
|
2168
|
+
}, Ka = {
|
|
2183
2169
|
[ue.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
|
|
2184
2170
|
[ue.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
|
|
2185
2171
|
[ue.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
|
|
@@ -2194,7 +2180,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
|
|
|
2194
2180
|
[ue.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."
|
|
2195
2181
|
};
|
|
2196
2182
|
function kt(e, ...t) {
|
|
2197
|
-
return xe(
|
|
2183
|
+
return xe(Ka[e], ...t);
|
|
2198
2184
|
}
|
|
2199
2185
|
function Fe(e) {
|
|
2200
2186
|
if (!F(e))
|
|
@@ -2235,7 +2221,7 @@ function yn(e, t) {
|
|
|
2235
2221
|
function kn(e) {
|
|
2236
2222
|
return e.type;
|
|
2237
2223
|
}
|
|
2238
|
-
function
|
|
2224
|
+
function Ha(e, t, n) {
|
|
2239
2225
|
let r = F(t.messages) ? t.messages : V();
|
|
2240
2226
|
"__i18nGlobal" in n && (r = yn(e.locale.value, {
|
|
2241
2227
|
messages: r,
|
|
@@ -2261,20 +2247,20 @@ function xa(e, t, n) {
|
|
|
2261
2247
|
}
|
|
2262
2248
|
}
|
|
2263
2249
|
function ln(e) {
|
|
2264
|
-
return Gn
|
|
2250
|
+
return Yn(Gn, null, e, 0);
|
|
2265
2251
|
}
|
|
2266
|
-
const cn = "__INTLIFY_META__", un = () => [],
|
|
2252
|
+
const cn = "__INTLIFY_META__", un = () => [], xa = () => !1;
|
|
2267
2253
|
let fn = 0;
|
|
2268
2254
|
function _n(e) {
|
|
2269
2255
|
return (t, n, r, a) => e(n, r, Ct() || void 0, a);
|
|
2270
2256
|
}
|
|
2271
|
-
const
|
|
2257
|
+
const Ba = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
2272
2258
|
const e = Ct();
|
|
2273
2259
|
let t = null;
|
|
2274
2260
|
return e && (t = kn(e)[cn]) ? { [cn]: t } : null;
|
|
2275
2261
|
};
|
|
2276
|
-
function
|
|
2277
|
-
const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, s = le ? dn :
|
|
2262
|
+
function Xa(e = {}) {
|
|
2263
|
+
const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, s = le ? dn : Vn;
|
|
2278
2264
|
let i = K(e.inheritLocale) ? e.inheritLocale : !0;
|
|
2279
2265
|
const u = s(
|
|
2280
2266
|
// prettier-ignore
|
|
@@ -2289,7 +2275,7 @@ function ja(e = {}) {
|
|
|
2289
2275
|
N = (() => {
|
|
2290
2276
|
r && qt(null);
|
|
2291
2277
|
const _ = {
|
|
2292
|
-
version:
|
|
2278
|
+
version: Wa,
|
|
2293
2279
|
locale: u.value,
|
|
2294
2280
|
fallbackLocale: c.value,
|
|
2295
2281
|
messages: p.value,
|
|
@@ -2308,7 +2294,7 @@ function ja(e = {}) {
|
|
|
2308
2294
|
__meta: { framework: "vue" }
|
|
2309
2295
|
};
|
|
2310
2296
|
_.datetimeFormats = g.value, _.numberFormats = h.value, _.__datetimeFormatters = M(N) ? N.__datetimeFormatters : void 0, _.__numberFormatters = M(N) ? N.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = M(N) ? N.__v_emitter : void 0);
|
|
2311
|
-
const L =
|
|
2297
|
+
const L = ha(_);
|
|
2312
2298
|
return r && qt(L), L;
|
|
2313
2299
|
})(), ve(N, u.value, c.value);
|
|
2314
2300
|
function w() {
|
|
@@ -2350,7 +2336,7 @@ function ja(e = {}) {
|
|
|
2350
2336
|
w();
|
|
2351
2337
|
let Ie;
|
|
2352
2338
|
try {
|
|
2353
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (N.fallbackContext = t ?
|
|
2339
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (N.fallbackContext = t ? Aa() : void 0), Ie = _(N);
|
|
2354
2340
|
} finally {
|
|
2355
2341
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (N.fallbackContext = void 0);
|
|
2356
2342
|
}
|
|
@@ -2426,7 +2412,7 @@ function ja(e = {}) {
|
|
|
2426
2412
|
return !1;
|
|
2427
2413
|
const U = C(L) ? L : u.value, G = de(U), Ee = N.messageResolver(G, _);
|
|
2428
2414
|
return Te(Ee) || ee(Ee) || C(Ee);
|
|
2429
|
-
}, () => [_], "translate exists", (U) => Reflect.apply(U.te, U, [_, L]),
|
|
2415
|
+
}, () => [_], "translate exists", (U) => Reflect.apply(U.te, U, [_, L]), xa, (U) => K(U));
|
|
2430
2416
|
}
|
|
2431
2417
|
function De(_) {
|
|
2432
2418
|
let L = null;
|
|
@@ -2554,7 +2540,7 @@ function ja(e = {}) {
|
|
|
2554
2540
|
setPostTranslationHandler: qe,
|
|
2555
2541
|
getMissingHandler: Ze,
|
|
2556
2542
|
setMissingHandler: ze,
|
|
2557
|
-
[
|
|
2543
|
+
[Ga]: it
|
|
2558
2544
|
};
|
|
2559
2545
|
return k.datetimeFormats = ge, k.numberFormats = Je, k.rt = tt, k.te = ct, k.tm = Re, k.d = nt, k.n = rt, k.getDateTimeFormat = o, k.setDateTimeFormat = l, k.mergeDateTimeFormat = E, k.getNumberFormat = R, k.setNumberFormat = $, k.mergeNumberFormat = Y, k[vn] = n, k[Tt] = Ue, k[Ot] = lt, k[gt] = ot, process.env.NODE_ENV !== "production" && (k[It] = (_) => {
|
|
2560
2546
|
N.__v_emitter = _;
|
|
@@ -2582,7 +2568,7 @@ const Mt = {
|
|
|
2582
2568
|
type: Object
|
|
2583
2569
|
}
|
|
2584
2570
|
};
|
|
2585
|
-
function
|
|
2571
|
+
function ja({ slots: e }, t) {
|
|
2586
2572
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, a) => [
|
|
2587
2573
|
...r,
|
|
2588
2574
|
// prettier-ignore
|
|
@@ -2605,7 +2591,7 @@ j({
|
|
|
2605
2591
|
validator: (e) => X(e) || !isNaN(e)
|
|
2606
2592
|
}
|
|
2607
2593
|
}, Mt);
|
|
2608
|
-
function
|
|
2594
|
+
function Ja(e) {
|
|
2609
2595
|
return B(e) && !C(e[0]);
|
|
2610
2596
|
}
|
|
2611
2597
|
function Fn(e, t, n, r) {
|
|
@@ -2618,7 +2604,7 @@ function Fn(e, t, n, r) {
|
|
|
2618
2604
|
let p = [i.key];
|
|
2619
2605
|
B(c) ? p = c.map((T, S) => {
|
|
2620
2606
|
const v = a[T.type], b = v ? v({ [T.type]: T.value, index: S, parts: c }) : [T.value];
|
|
2621
|
-
return
|
|
2607
|
+
return Ja(b) && (b[0].key = `${T.type}-${S}`), b;
|
|
2622
2608
|
}) : C(c) && (p = [c]);
|
|
2623
2609
|
const g = j(V(), s), h = C(e.tag) || F(e.tag) ? e.tag : Mn();
|
|
2624
2610
|
return En(h, g, p);
|
|
@@ -2633,44 +2619,44 @@ j({
|
|
|
2633
2619
|
type: [String, Object]
|
|
2634
2620
|
}
|
|
2635
2621
|
}, Mt);
|
|
2636
|
-
const
|
|
2622
|
+
const Qa = /* @__PURE__ */ ie("global-vue-i18n");
|
|
2637
2623
|
function Ft(e = {}) {
|
|
2638
2624
|
const t = Ct();
|
|
2639
2625
|
if (t == null)
|
|
2640
2626
|
throw Me(J.MUST_BE_CALL_SETUP_TOP);
|
|
2641
2627
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2642
2628
|
throw Me(J.NOT_INSTALLED);
|
|
2643
|
-
const n =
|
|
2629
|
+
const n = qa(t), r = za(n), a = kn(t), s = Za(e, a);
|
|
2644
2630
|
if (s === "global")
|
|
2645
|
-
return
|
|
2631
|
+
return Ha(r, e, a), r;
|
|
2646
2632
|
if (s === "parent") {
|
|
2647
|
-
let c =
|
|
2633
|
+
let c = es(n, t, e.__useComponent);
|
|
2648
2634
|
return c == null && (process.env.NODE_ENV !== "production" && fe(kt(ue.NOT_FOUND_PARENT_SCOPE)), c = r), c;
|
|
2649
2635
|
}
|
|
2650
2636
|
const i = n;
|
|
2651
2637
|
let u = i.__getInstance(t);
|
|
2652
2638
|
if (u == null) {
|
|
2653
2639
|
const c = j({}, e);
|
|
2654
|
-
"__i18n" in a && (c.__i18n = a.__i18n), r && (c.__root = r), u =
|
|
2640
|
+
"__i18n" in a && (c.__i18n = a.__i18n), r && (c.__root = r), u = Xa(c), i.__composerExtend && (u[ht] = i.__composerExtend(u)), ns(i, t, u), i.__setInstance(t, u);
|
|
2655
2641
|
}
|
|
2656
2642
|
return u;
|
|
2657
2643
|
}
|
|
2658
|
-
function
|
|
2659
|
-
const t =
|
|
2644
|
+
function qa(e) {
|
|
2645
|
+
const t = wn(e.isCE ? Qa : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2660
2646
|
if (!t)
|
|
2661
2647
|
throw Me(e.isCE ? J.NOT_INSTALLED_WITH_PROVIDE : J.UNEXPECTED_ERROR);
|
|
2662
2648
|
return t;
|
|
2663
2649
|
}
|
|
2664
|
-
function
|
|
2650
|
+
function Za(e, t) {
|
|
2665
2651
|
return Be(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2666
2652
|
}
|
|
2667
|
-
function
|
|
2653
|
+
function za(e) {
|
|
2668
2654
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
2669
2655
|
}
|
|
2670
|
-
function
|
|
2656
|
+
function es(e, t, n = !1) {
|
|
2671
2657
|
let r = null;
|
|
2672
2658
|
const a = t.root;
|
|
2673
|
-
let s =
|
|
2659
|
+
let s = ts(t, n);
|
|
2674
2660
|
for (; s != null; ) {
|
|
2675
2661
|
const i = e;
|
|
2676
2662
|
if (e.mode === "composition")
|
|
@@ -2685,18 +2671,18 @@ function ts(e, t, n = !1) {
|
|
|
2685
2671
|
}
|
|
2686
2672
|
return r;
|
|
2687
2673
|
}
|
|
2688
|
-
function
|
|
2674
|
+
function ts(e, t = !1) {
|
|
2689
2675
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2690
2676
|
}
|
|
2691
|
-
function
|
|
2677
|
+
function ns(e, t, n) {
|
|
2692
2678
|
let r = null;
|
|
2693
|
-
|
|
2679
|
+
Wn(() => {
|
|
2694
2680
|
if (process.env.NODE_ENV !== "production" && t.vnode.el) {
|
|
2695
|
-
t.vnode.el.__VUE_I18N__ = n, r =
|
|
2681
|
+
t.vnode.el.__VUE_I18N__ = n, r = er();
|
|
2696
2682
|
const a = n;
|
|
2697
2683
|
a[It] && a[It](r), r.on("*", mn);
|
|
2698
2684
|
}
|
|
2699
|
-
}, t),
|
|
2685
|
+
}, t), $n(() => {
|
|
2700
2686
|
const a = n;
|
|
2701
2687
|
process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (r && r.off("*", mn), a[At] && a[At](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
|
|
2702
2688
|
const s = a[ht];
|
|
@@ -2712,16 +2698,29 @@ j({
|
|
|
2712
2698
|
type: [String, Object]
|
|
2713
2699
|
}
|
|
2714
2700
|
}, Mt);
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2701
|
+
$a();
|
|
2702
|
+
La(Qr);
|
|
2703
|
+
Ta(ma);
|
|
2704
|
+
Oa(Ln);
|
|
2719
2705
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
2720
2706
|
const e = pe();
|
|
2721
|
-
e.__INTLIFY__ = !0,
|
|
2707
|
+
e.__INTLIFY__ = !0, qr(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2722
2708
|
}
|
|
2723
2709
|
process.env.NODE_ENV;
|
|
2724
|
-
const
|
|
2710
|
+
const rs = "mf-reportglobal-loader", ls = Kn(rs, () => {
|
|
2711
|
+
const e = Ae(() => t.value > 0), t = dn(0);
|
|
2712
|
+
async function n(r) {
|
|
2713
|
+
try {
|
|
2714
|
+
return t.value++, await r();
|
|
2715
|
+
} finally {
|
|
2716
|
+
t.value--;
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
return {
|
|
2720
|
+
isLoading: e,
|
|
2721
|
+
promptLoader: n
|
|
2722
|
+
};
|
|
2723
|
+
}), is = (e, t) => {
|
|
2725
2724
|
const n = e.__vccOpts || e;
|
|
2726
2725
|
for (const [r, a] of t)
|
|
2727
2726
|
n[r] = a;
|