china-mobile-international-custom-components 0.0.43 → 0.0.45

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.
Files changed (62) hide show
  1. package/es/ApplicationTypeTag.mjs +1 -1
  2. package/es/AvailableRangePreview.mjs +1 -1
  3. package/es/AvailableRangeSetting.mjs +2 -2
  4. package/es/CommonTagsList.mjs +3 -3
  5. package/es/CustomSidebar.mjs +1 -1
  6. package/es/FileUploader.mjs +1 -1
  7. package/es/PageContainer.mjs +195 -173
  8. package/es/ParameterTable.mjs +1 -1
  9. package/es/SourcePublish.mjs +120 -122
  10. package/es/Table.mjs +2 -2
  11. package/es/assets/PageContainer.css +1 -1
  12. package/es/assets/SourcePublish.css +1 -1
  13. package/es/assets/index3.css +1 -0
  14. package/es/assets/layout2.css +1 -1
  15. package/es/chunks/{BackBar.DY42HcZy.js → BackBar.9Pp2SYB-.js} +1 -1
  16. package/es/chunks/{BackBar.eaUb1JvV.js → BackBar.DwhmSL-a.js} +98 -98
  17. package/es/chunks/{config.CyAT4SUn.js → config.DVEvXGIL.js} +11 -11
  18. package/es/chunks/{i18n.CfMhDOdX.js → i18n.BNeBD4gR.js} +6 -6
  19. package/es/chunks/{i18n.Bd7hh14j.js → i18n.DMVLcyDY.js} +2 -2
  20. package/es/chunks/i18n.DUrvNBQz.js +4028 -0
  21. package/es/chunks/index.BcLVH95_.js +4058 -0
  22. package/es/chunks/index.CSPp4g5C.js +303 -0
  23. package/es/chunks/{index.CHlFhI6c.js → index.CZTB65ge.js} +1 -1
  24. package/es/chunks/index.ClqvUq64.js +302 -0
  25. package/es/chunks/index.Dh5IGfxO.js +290 -0
  26. package/es/chunks/index.Doax01RQ.js +254 -0
  27. package/es/chunks/{layout.B1qqvrXz.js → layout.BSXfM0rC.js} +144 -130
  28. package/es/index.mjs +5 -5
  29. package/lib/ApplicationTypeTag.js +1 -1
  30. package/lib/AvailableRangePreview.js +1 -1
  31. package/lib/AvailableRangeSetting.js +1 -1
  32. package/lib/CommonTagsList.js +1 -1
  33. package/lib/CustomSidebar.js +1 -1
  34. package/lib/FileUploader.js +1 -1
  35. package/lib/PageContainer.js +1 -1
  36. package/lib/ParameterTable.js +1 -1
  37. package/lib/SourcePublish.js +1 -1
  38. package/lib/Table.js +1 -1
  39. package/lib/assets/PageContainer.css +1 -1
  40. package/lib/assets/SourcePublish.css +1 -1
  41. package/lib/assets/index3.css +1 -0
  42. package/lib/assets/layout2.css +1 -1
  43. package/lib/chunks/BackBar.CYThcqhK.js +1 -0
  44. package/lib/chunks/{BackBar.CaaASGvb.js → BackBar.DFDSVp2a.js} +1 -1
  45. package/lib/chunks/{config.BInpXFGZ.js → config.Dwnp4fRZ.js} +1 -1
  46. package/lib/chunks/{i18n.D3L1FBDI.js → i18n.Bzvn6t8H.js} +2 -2
  47. package/lib/chunks/i18n.D-d0yyXi.js +6 -0
  48. package/lib/chunks/index.6X8xsqRJ.js +1 -0
  49. package/lib/chunks/index.Bk55us0s.js +1 -0
  50. package/lib/chunks/index.CP9rhXZ5.js +1 -0
  51. package/lib/chunks/index.CSLWrMRE.js +1 -0
  52. package/lib/chunks/index.CV29Us4A.js +6 -0
  53. package/lib/chunks/{index.D-pFPuUr.js → index.DO3h_zf2.js} +1 -1
  54. package/lib/chunks/layout.DL-8uhpw.js +1 -0
  55. package/lib/index.js +1 -1
  56. package/package.json +3 -3
  57. package/es/chunks/config.JrGX09T5.js +0 -435
  58. package/es/chunks/index.DjDvyGXt.js +0 -313
  59. package/lib/chunks/BackBar.By7ouDgL.js +0 -1
  60. package/lib/chunks/config.CL0cmPQ6.js +0 -1
  61. package/lib/chunks/index.zQ1SfvBa.js +0 -1
  62. package/lib/chunks/layout.Cen7E9tF.js +0 -1
@@ -0,0 +1,4058 @@
1
+ import { w as Tr } from "./index.bCzIhWFw.js";
2
+ import * as ht from "vue";
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
+ import { A as qe } from "./config.DE5PZU2F.js";
5
+ import { ElMessageBox as wr } from "element-plus";
6
+ import { _ as Ur } from "./_plugin-vue_export-helper.CHgC5LLL.js";
7
+ import '../assets/index3.css';function ue(e, t) {
8
+ typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
9
+ }
10
+ const zt = {};
11
+ function Vt(e) {
12
+ zt[e] || (zt[e] = !0, ue(e));
13
+ }
14
+ const oe = typeof window < "u";
15
+ let ee, Te;
16
+ if (process.env.NODE_ENV !== "production") {
17
+ const e = oe && window.performance;
18
+ e && e.mark && e.measure && e.clearMarks && // @ts-ignore browser compat
19
+ e.clearMeasures && (ee = (t) => {
20
+ e.mark(t);
21
+ }, Te = (t, n, r) => {
22
+ e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
23
+ });
24
+ }
25
+ const Vr = /\{([0-9a-zA-Z]+)\}/g;
26
+ function et(e, ...t) {
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] : "");
28
+ }
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);
30
+ let en;
31
+ const Le = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : $());
32
+ function tn(e) {
33
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
34
+ }
35
+ function nn(e) {
36
+ return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
37
+ }
38
+ function Gr(e) {
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, "$1&#111;n$3")), [
40
+ // In href, src, action, formaction attributes
41
+ /(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
42
+ // In style attributes within url()
43
+ /(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi
44
+ ].forEach((r) => {
45
+ e = e.replace(r, "$1javascript&#58;");
46
+ }), e;
47
+ }
48
+ const Yr = Object.prototype.hasOwnProperty;
49
+ function se(e, t) {
50
+ return Yr.call(e, t);
51
+ }
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);
53
+ function Bt(e, t = "") {
54
+ return e.reduce((n, r, a) => a === 0 ? n + r : n + t + r, "");
55
+ }
56
+ const rn = 2;
57
+ function jr(e, t = 0, n = e.length) {
58
+ const r = e.split(/\r?\n/);
59
+ let a = 0;
60
+ const s = [];
61
+ for (let o = 0; o < r.length; o++)
62
+ if (a += r[o].length + 1, a >= t) {
63
+ for (let i = o - rn; i <= o + rn || n > a; i++) {
64
+ if (i < 0 || i >= r.length)
65
+ continue;
66
+ const c = i + 1;
67
+ s.push(`${c}${" ".repeat(3 - String(c).length)}| ${r[i]}`);
68
+ const E = r[i].length;
69
+ if (i === o) {
70
+ const b = t - (a - E) + 1, L = Math.max(1, n > a ? E - b : n - t);
71
+ s.push(" | " + " ".repeat(b) + "^".repeat(L));
72
+ } else if (i > o) {
73
+ if (n > a) {
74
+ const b = Math.max(Math.min(n - a, E), 1);
75
+ s.push(" | " + "^".repeat(b));
76
+ }
77
+ a += E + 1;
78
+ }
79
+ }
80
+ break;
81
+ }
82
+ return s.join(`
83
+ `);
84
+ }
85
+ function xt() {
86
+ const e = /* @__PURE__ */ new Map();
87
+ return {
88
+ events: e,
89
+ on(n, r) {
90
+ const a = e.get(n);
91
+ a && a.push(r) || e.set(n, [r]);
92
+ },
93
+ off(n, r) {
94
+ const a = e.get(n);
95
+ a && a.splice(a.indexOf(r) >>> 0, 1);
96
+ },
97
+ emit(n, r) {
98
+ (e.get(n) || []).slice().map((a) => a(r)), (e.get("*") || []).slice().map((a) => a(n, r));
99
+ }
100
+ };
101
+ }
102
+ const Xe = (e) => !R(e) || G(e);
103
+ function Ze(e, t) {
104
+ if (Xe(e) || Xe(t))
105
+ throw new Error("Invalid value");
106
+ const n = [{ src: e, des: t }];
107
+ for (; n.length; ) {
108
+ const { src: r, des: a } = n.pop();
109
+ Object.keys(r).forEach((s) => {
110
+ s !== "__proto__" && (R(r[s]) && !R(a[s]) && (a[s] = Array.isArray(r[s]) ? [] : $()), Xe(a[s]) || Xe(r[s]) ? a[s] = r[s] : n.push({ src: r[s], des: a[s] }));
111
+ });
112
+ }
113
+ }
114
+ function Xr(e, t, n) {
115
+ return { line: e, column: t, offset: n };
116
+ }
117
+ function At(e, t, n) {
118
+ return { start: e, end: t };
119
+ }
120
+ const P = {
121
+ // tokenizer error codes
122
+ EXPECTED_TOKEN: 1,
123
+ INVALID_TOKEN_IN_PLACEHOLDER: 2,
124
+ UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER: 3,
125
+ UNKNOWN_ESCAPE_SEQUENCE: 4,
126
+ INVALID_UNICODE_ESCAPE_SEQUENCE: 5,
127
+ UNBALANCED_CLOSING_BRACE: 6,
128
+ UNTERMINATED_CLOSING_BRACE: 7,
129
+ EMPTY_PLACEHOLDER: 8,
130
+ NOT_ALLOW_NEST_PLACEHOLDER: 9,
131
+ INVALID_LINKED_FORMAT: 10,
132
+ // parser error codes
133
+ MUST_HAVE_MESSAGES_IN_PLURAL: 11,
134
+ UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
135
+ UNEXPECTED_EMPTY_LINKED_KEY: 13,
136
+ UNEXPECTED_LEXICAL_ANALYSIS: 14,
137
+ // generator error codes
138
+ UNHANDLED_CODEGEN_NODE_TYPE: 15,
139
+ // minifier error codes
140
+ UNHANDLED_MINIFIER_NODE_TYPE: 16
141
+ }, Jr = 17, Qr = {
142
+ // tokenizer error messages
143
+ [P.EXPECTED_TOKEN]: "Expected token: '{0}'",
144
+ [P.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
145
+ [P.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
146
+ [P.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
147
+ [P.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
148
+ [P.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
149
+ [P.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
150
+ [P.EMPTY_PLACEHOLDER]: "Empty placeholder",
151
+ [P.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
152
+ [P.INVALID_LINKED_FORMAT]: "Invalid linked format",
153
+ // parser error messages
154
+ [P.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
155
+ [P.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
156
+ [P.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
157
+ [P.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
158
+ // generator error messages
159
+ [P.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
160
+ // minimizer error messages
161
+ [P.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
162
+ };
163
+ function ke(e, t, n = {}) {
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));
165
+ return i.code = e, t && (i.location = t), i.domain = r, i;
166
+ }
167
+ function qr(e) {
168
+ throw e;
169
+ }
170
+ const Zr = /<\/?[\w\s="/.':;#-\/]+>/, zr = (e) => Zr.test(e), le = " ", ea = "\r", Q = `
171
+ `, ta = "\u2028", na = "\u2029";
172
+ function ra(e) {
173
+ const t = e;
174
+ let n = 0, r = 1, a = 1, s = 0;
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);
176
+ function m() {
177
+ return s = 0, b(n) && (r++, a = 0), o(n) && n++, n++, a++, t[n];
178
+ }
179
+ function T() {
180
+ return o(n + s) && s++, s++, t[n + s];
181
+ }
182
+ function d() {
183
+ n = 0, r = 1, a = 1, s = 0;
184
+ }
185
+ function O(g = 0) {
186
+ s = g;
187
+ }
188
+ function A() {
189
+ const g = n + s;
190
+ for (; g !== n; )
191
+ m();
192
+ s = 0;
193
+ }
194
+ return {
195
+ index: L,
196
+ line: N,
197
+ column: C,
198
+ peekOffset: F,
199
+ charAt: v,
200
+ currentChar: D,
201
+ currentPeek: f,
202
+ next: m,
203
+ peek: T,
204
+ reset: d,
205
+ resetPeek: O,
206
+ skipToPeek: A
207
+ };
208
+ }
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 = {
212
+ currentType: 13,
213
+ offset: i,
214
+ startLoc: o,
215
+ endLoc: o,
216
+ lastType: 13,
217
+ lastOffset: i,
218
+ lastStartLoc: o,
219
+ lastEndLoc: o,
220
+ braceNest: 0,
221
+ inLinked: !1,
222
+ text: ""
223
+ }, E = () => c, { onError: b } = t;
224
+ function L(l, u, p, ...S) {
225
+ const W = E();
226
+ if (u.column += p, u.offset += p, b) {
227
+ const H = n ? At(W.startLoc, u) : null, w = ke(l, H, {
228
+ domain: sa,
229
+ args: S
230
+ });
231
+ b(w);
232
+ }
233
+ }
234
+ function N(l, u, p) {
235
+ l.endLoc = s(), l.currentType = u;
236
+ const S = { type: u };
237
+ return n && (S.loc = At(l.startLoc, l.endLoc)), p != null && (S.value = p), S;
238
+ }
239
+ const C = (l) => N(
240
+ l,
241
+ 13
242
+ /* TokenTypes.EOF */
243
+ );
244
+ function F(l, u) {
245
+ return l.currentChar() === u ? (l.next(), u) : (L(P.EXPECTED_TOKEN, s(), 0, u), "");
246
+ }
247
+ function v(l) {
248
+ let u = "";
249
+ for (; l.currentPeek() === le || l.currentPeek() === Q; )
250
+ u += l.currentPeek(), l.peek();
251
+ return u;
252
+ }
253
+ function D(l) {
254
+ const u = v(l);
255
+ return l.skipToPeek(), u;
256
+ }
257
+ function f(l) {
258
+ if (l === _e)
259
+ return !1;
260
+ const u = l.charCodeAt(0);
261
+ return u >= 97 && u <= 122 || // a-z
262
+ u >= 65 && u <= 90 || // A-Z
263
+ u === 95;
264
+ }
265
+ function m(l) {
266
+ if (l === _e)
267
+ return !1;
268
+ const u = l.charCodeAt(0);
269
+ return u >= 48 && u <= 57;
270
+ }
271
+ function T(l, u) {
272
+ const { currentType: p } = u;
273
+ if (p !== 2)
274
+ return !1;
275
+ v(l);
276
+ const S = f(l.currentPeek());
277
+ return l.resetPeek(), S;
278
+ }
279
+ function d(l, u) {
280
+ const { currentType: p } = u;
281
+ if (p !== 2)
282
+ return !1;
283
+ v(l);
284
+ const S = l.currentPeek() === "-" ? l.peek() : l.currentPeek(), W = m(S);
285
+ return l.resetPeek(), W;
286
+ }
287
+ function O(l, u) {
288
+ const { currentType: p } = u;
289
+ if (p !== 2)
290
+ return !1;
291
+ v(l);
292
+ const S = l.currentPeek() === an;
293
+ return l.resetPeek(), S;
294
+ }
295
+ function A(l, u) {
296
+ const { currentType: p } = u;
297
+ if (p !== 7)
298
+ return !1;
299
+ v(l);
300
+ const S = l.currentPeek() === ".";
301
+ return l.resetPeek(), S;
302
+ }
303
+ function g(l, u) {
304
+ const { currentType: p } = u;
305
+ if (p !== 8)
306
+ return !1;
307
+ v(l);
308
+ const S = f(l.currentPeek());
309
+ return l.resetPeek(), S;
310
+ }
311
+ function y(l, u) {
312
+ const { currentType: p } = u;
313
+ if (!(p === 7 || p === 11))
314
+ return !1;
315
+ v(l);
316
+ const S = l.currentPeek() === ":";
317
+ return l.resetPeek(), S;
318
+ }
319
+ function U(l, u) {
320
+ const { currentType: p } = u;
321
+ if (p !== 9)
322
+ return !1;
323
+ const S = () => {
324
+ const H = l.currentPeek();
325
+ return H === "{" ? f(l.peek()) : H === "@" || H === "|" || H === ":" || H === "." || H === le || !H ? !1 : H === Q ? (l.peek(), S()) : ae(l, !1);
326
+ }, W = S();
327
+ return l.resetPeek(), W;
328
+ }
329
+ function X(l) {
330
+ v(l);
331
+ const u = l.currentPeek() === "|";
332
+ return l.resetPeek(), u;
333
+ }
334
+ function ae(l, u = !0) {
335
+ const p = (W = !1, H = "") => {
336
+ const w = l.currentPeek();
337
+ return w === "{" || w === "@" || !w ? W : w === "|" ? !(H === le || H === Q) : w === le ? (l.peek(), p(!0, le)) : w === Q ? (l.peek(), p(!0, Q)) : !0;
338
+ }, S = p();
339
+ return u && l.resetPeek(), S;
340
+ }
341
+ function Y(l, u) {
342
+ const p = l.currentChar();
343
+ return p === _e ? _e : u(p) ? (l.next(), p) : null;
344
+ }
345
+ function Oe(l) {
346
+ const u = l.charCodeAt(0);
347
+ return u >= 97 && u <= 122 || // a-z
348
+ u >= 65 && u <= 90 || // A-Z
349
+ u >= 48 && u <= 57 || // 0-9
350
+ u === 95 || // _
351
+ u === 36;
352
+ }
353
+ function at(l) {
354
+ return Y(l, Oe);
355
+ }
356
+ function st(l) {
357
+ const u = l.charCodeAt(0);
358
+ return u >= 97 && u <= 122 || // a-z
359
+ u >= 65 && u <= 90 || // A-Z
360
+ u >= 48 && u <= 57 || // 0-9
361
+ u === 95 || // _
362
+ u === 36 || // $
363
+ u === 45;
364
+ }
365
+ function ot(l) {
366
+ return Y(l, st);
367
+ }
368
+ function lt(l) {
369
+ const u = l.charCodeAt(0);
370
+ return u >= 48 && u <= 57;
371
+ }
372
+ function it(l) {
373
+ return Y(l, lt);
374
+ }
375
+ function ut(l) {
376
+ const u = l.charCodeAt(0);
377
+ return u >= 48 && u <= 57 || // 0-9
378
+ u >= 65 && u <= 70 || // A-F
379
+ u >= 97 && u <= 102;
380
+ }
381
+ function fe(l) {
382
+ return Y(l, ut);
383
+ }
384
+ function Re(l) {
385
+ let u = "", p = "";
386
+ for (; u = it(l); )
387
+ p += u;
388
+ return p;
389
+ }
390
+ function ct(l) {
391
+ let u = "";
392
+ for (; ; ) {
393
+ const p = l.currentChar();
394
+ if (p === "{" || p === "}" || p === "@" || p === "|" || !p)
395
+ break;
396
+ if (p === le || p === Q)
397
+ if (ae(l))
398
+ u += p, l.next();
399
+ else {
400
+ if (X(l))
401
+ break;
402
+ u += p, l.next();
403
+ }
404
+ else
405
+ u += p, l.next();
406
+ }
407
+ return u;
408
+ }
409
+ function ft(l) {
410
+ D(l);
411
+ let u = "", p = "";
412
+ for (; u = ot(l); )
413
+ p += u;
414
+ const S = l.currentChar();
415
+ if (S && S !== "}" && S !== _e && S !== le && S !== Q && S !== " ") {
416
+ const W = Ke(l);
417
+ return L(P.INVALID_TOKEN_IN_PLACEHOLDER, s(), 0, p + W), p + W;
418
+ }
419
+ return l.currentChar() === _e && L(P.UNTERMINATED_CLOSING_BRACE, s(), 0), p;
420
+ }
421
+ function _t(l) {
422
+ D(l);
423
+ let u = "";
424
+ return l.currentChar() === "-" ? (l.next(), u += `-${Re(l)}`) : u += Re(l), l.currentChar() === _e && L(P.UNTERMINATED_CLOSING_BRACE, s(), 0), u;
425
+ }
426
+ function mt(l) {
427
+ return l !== an && l !== Q;
428
+ }
429
+ function qt(l) {
430
+ D(l), F(l, "'");
431
+ let u = "", p = "";
432
+ for (; u = Y(l, mt); )
433
+ u === "\\" ? p += dt(l) : p += u;
434
+ const S = l.currentChar();
435
+ return S === Q || S === _e ? (L(P.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, s(), 0), S === Q && (l.next(), F(l, "'")), p) : (F(l, "'"), p);
436
+ }
437
+ function dt(l) {
438
+ const u = l.currentChar();
439
+ switch (u) {
440
+ case "\\":
441
+ case "'":
442
+ return l.next(), `\\${u}`;
443
+ case "u":
444
+ return He(l, u, 4);
445
+ case "U":
446
+ return He(l, u, 6);
447
+ default:
448
+ return L(P.UNKNOWN_ESCAPE_SEQUENCE, s(), 0, u), "";
449
+ }
450
+ }
451
+ function He(l, u, p) {
452
+ F(l, u);
453
+ let S = "";
454
+ for (let W = 0; W < p; W++) {
455
+ const H = fe(l);
456
+ if (!H) {
457
+ L(P.INVALID_UNICODE_ESCAPE_SEQUENCE, s(), 0, `\\${u}${S}${l.currentChar()}`);
458
+ break;
459
+ }
460
+ S += H;
461
+ }
462
+ return `\\${u}${S}`;
463
+ }
464
+ function Et(l) {
465
+ return l !== "{" && l !== "}" && l !== le && l !== Q;
466
+ }
467
+ function Ke(l) {
468
+ D(l);
469
+ let u = "", p = "";
470
+ for (; u = Y(l, Et); )
471
+ p += u;
472
+ return p;
473
+ }
474
+ function gt(l) {
475
+ let u = "", p = "";
476
+ for (; u = at(l); )
477
+ p += u;
478
+ return p;
479
+ }
480
+ function pt(l) {
481
+ const u = (p) => {
482
+ const S = l.currentChar();
483
+ return S === "{" || S === "@" || S === "|" || S === "(" || S === ")" || !S || S === le ? p : (p += S, l.next(), u(p));
484
+ };
485
+ return u("");
486
+ }
487
+ function Me(l) {
488
+ D(l);
489
+ const u = F(
490
+ l,
491
+ "|"
492
+ /* TokenChars.Pipe */
493
+ );
494
+ return D(l), u;
495
+ }
496
+ function we(l, u) {
497
+ let p = null;
498
+ switch (l.currentChar()) {
499
+ case "{":
500
+ return u.braceNest >= 1 && L(P.NOT_ALLOW_NEST_PLACEHOLDER, s(), 0), l.next(), p = N(
501
+ u,
502
+ 2,
503
+ "{"
504
+ /* TokenChars.BraceLeft */
505
+ ), D(l), u.braceNest++, p;
506
+ case "}":
507
+ return u.braceNest > 0 && u.currentType === 2 && L(P.EMPTY_PLACEHOLDER, s(), 0), l.next(), p = N(
508
+ u,
509
+ 3,
510
+ "}"
511
+ /* TokenChars.BraceRight */
512
+ ), u.braceNest--, u.braceNest > 0 && D(l), u.inLinked && u.braceNest === 0 && (u.inLinked = !1), p;
513
+ case "@":
514
+ return u.braceNest > 0 && L(P.UNTERMINATED_CLOSING_BRACE, s(), 0), p = ge(l, u) || C(u), u.braceNest = 0, p;
515
+ default: {
516
+ let W = !0, H = !0, w = !0;
517
+ if (X(l))
518
+ return u.braceNest > 0 && L(P.UNTERMINATED_CLOSING_BRACE, s(), 0), p = N(u, 1, Me(l)), u.braceNest = 0, u.inLinked = !1, p;
519
+ if (u.braceNest > 0 && (u.currentType === 4 || u.currentType === 5 || u.currentType === 6))
520
+ return L(P.UNTERMINATED_CLOSING_BRACE, s(), 0), u.braceNest = 0, Ue(l, u);
521
+ if (W = T(l, u))
522
+ return p = N(u, 4, ft(l)), D(l), p;
523
+ if (H = d(l, u))
524
+ return p = N(u, 5, _t(l)), D(l), p;
525
+ if (w = O(l, u))
526
+ return p = N(u, 6, qt(l)), D(l), p;
527
+ if (!W && !H && !w)
528
+ return p = N(u, 12, Ke(l)), L(P.INVALID_TOKEN_IN_PLACEHOLDER, s(), 0, p.value), D(l), p;
529
+ break;
530
+ }
531
+ }
532
+ return p;
533
+ }
534
+ function ge(l, u) {
535
+ const { currentType: p } = u;
536
+ let S = null;
537
+ const W = l.currentChar();
538
+ switch ((p === 7 || p === 8 || p === 11 || p === 9) && (W === Q || W === le) && L(P.INVALID_LINKED_FORMAT, s(), 0), W) {
539
+ case "@":
540
+ return l.next(), S = N(
541
+ u,
542
+ 7,
543
+ "@"
544
+ /* TokenChars.LinkedAlias */
545
+ ), u.inLinked = !0, S;
546
+ case ".":
547
+ return D(l), l.next(), N(
548
+ u,
549
+ 8,
550
+ "."
551
+ /* TokenChars.LinkedDot */
552
+ );
553
+ case ":":
554
+ return D(l), l.next(), N(
555
+ u,
556
+ 9,
557
+ ":"
558
+ /* TokenChars.LinkedDelimiter */
559
+ );
560
+ default:
561
+ return X(l) ? (S = N(u, 1, Me(l)), u.braceNest = 0, u.inLinked = !1, S) : A(l, u) || y(l, u) ? (D(l), ge(l, u)) : g(l, u) ? (D(l), N(u, 11, gt(l))) : U(l, u) ? (D(l), W === "{" ? we(l, u) || S : N(u, 10, pt(l))) : (p === 7 && L(P.INVALID_LINKED_FORMAT, s(), 0), u.braceNest = 0, u.inLinked = !1, Ue(l, u));
562
+ }
563
+ }
564
+ function Ue(l, u) {
565
+ let p = {
566
+ type: 13
567
+ /* TokenTypes.EOF */
568
+ };
569
+ if (u.braceNest > 0)
570
+ return we(l, u) || C(u);
571
+ if (u.inLinked)
572
+ return ge(l, u) || C(u);
573
+ switch (l.currentChar()) {
574
+ case "{":
575
+ return we(l, u) || C(u);
576
+ case "}":
577
+ return L(P.UNBALANCED_CLOSING_BRACE, s(), 0), l.next(), N(
578
+ u,
579
+ 3,
580
+ "}"
581
+ /* TokenChars.BraceRight */
582
+ );
583
+ case "@":
584
+ return ge(l, u) || C(u);
585
+ default: {
586
+ if (X(l))
587
+ return p = N(u, 1, Me(l)), u.braceNest = 0, u.inLinked = !1, p;
588
+ if (ae(l))
589
+ return N(u, 0, ct(l));
590
+ break;
591
+ }
592
+ }
593
+ return p;
594
+ }
595
+ function Nt() {
596
+ const { currentType: l, offset: u, startLoc: p, endLoc: S } = c;
597
+ return c.lastType = l, c.lastOffset = u, c.lastStartLoc = p, c.lastEndLoc = S, c.offset = a(), c.startLoc = s(), r.currentChar() === _e ? N(
598
+ c,
599
+ 13
600
+ /* TokenTypes.EOF */
601
+ ) : Ue(r, c);
602
+ }
603
+ return {
604
+ nextToken: Nt,
605
+ currentOffset: a,
606
+ currentPosition: s,
607
+ context: E
608
+ };
609
+ }
610
+ const la = "parser", ia = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
611
+ function ua(e, t, n) {
612
+ switch (e) {
613
+ case "\\\\":
614
+ return "\\";
615
+ // eslint-disable-next-line no-useless-escape
616
+ case "\\'":
617
+ return "'";
618
+ default: {
619
+ const r = parseInt(t || n, 16);
620
+ return r <= 55295 || r >= 57344 ? String.fromCodePoint(r) : "�";
621
+ }
622
+ }
623
+ }
624
+ function ca(e = {}) {
625
+ const t = e.location !== !1, { onError: n } = e;
626
+ function r(f, m, T, d, ...O) {
627
+ const A = f.currentPosition();
628
+ if (A.offset += d, A.column += d, n) {
629
+ const g = t ? At(T, A) : null, y = ke(m, g, {
630
+ domain: la,
631
+ args: O
632
+ });
633
+ n(y);
634
+ }
635
+ }
636
+ function a(f, m, T) {
637
+ const d = { type: f };
638
+ return t && (d.start = m, d.end = m, d.loc = { start: T, end: T }), d;
639
+ }
640
+ function s(f, m, T, d) {
641
+ t && (f.end = m, f.loc && (f.loc.end = T));
642
+ }
643
+ function o(f, m) {
644
+ const T = f.context(), d = a(3, T.offset, T.startLoc);
645
+ return d.value = m, s(d, f.currentOffset(), f.currentPosition()), d;
646
+ }
647
+ function i(f, m) {
648
+ const T = f.context(), { lastOffset: d, lastStartLoc: O } = T, A = a(5, d, O);
649
+ return A.index = parseInt(m, 10), f.nextToken(), s(A, f.currentOffset(), f.currentPosition()), A;
650
+ }
651
+ function c(f, m) {
652
+ const T = f.context(), { lastOffset: d, lastStartLoc: O } = T, A = a(4, d, O);
653
+ return A.key = m, f.nextToken(), s(A, f.currentOffset(), f.currentPosition()), A;
654
+ }
655
+ function E(f, m) {
656
+ const T = f.context(), { lastOffset: d, lastStartLoc: O } = T, A = a(9, d, O);
657
+ return A.value = m.replace(ia, ua), f.nextToken(), s(A, f.currentOffset(), f.currentPosition()), A;
658
+ }
659
+ function b(f) {
660
+ const m = f.nextToken(), T = f.context(), { lastOffset: d, lastStartLoc: O } = T, A = a(8, d, O);
661
+ return m.type !== 11 ? (r(f, P.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), A.value = "", s(A, d, O), {
662
+ nextConsumeToken: m,
663
+ node: A
664
+ }) : (m.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, ie(m)), A.value = m.value || "", s(A, f.currentOffset(), f.currentPosition()), {
665
+ node: A
666
+ });
667
+ }
668
+ function L(f, m) {
669
+ const T = f.context(), d = a(7, T.offset, T.startLoc);
670
+ return d.value = m, s(d, f.currentOffset(), f.currentPosition()), d;
671
+ }
672
+ function N(f) {
673
+ const m = f.context(), T = a(6, m.offset, m.startLoc);
674
+ let d = f.nextToken();
675
+ if (d.type === 8) {
676
+ const O = b(f);
677
+ T.modifier = O.node, d = O.nextConsumeToken || f.nextToken();
678
+ }
679
+ switch (d.type !== 9 && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(d)), d = f.nextToken(), d.type === 2 && (d = f.nextToken()), d.type) {
680
+ case 10:
681
+ d.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(d)), T.key = L(f, d.value || "");
682
+ break;
683
+ case 4:
684
+ d.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(d)), T.key = c(f, d.value || "");
685
+ break;
686
+ case 5:
687
+ d.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(d)), T.key = i(f, d.value || "");
688
+ break;
689
+ case 6:
690
+ d.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(d)), T.key = E(f, d.value || "");
691
+ break;
692
+ default: {
693
+ r(f, P.UNEXPECTED_EMPTY_LINKED_KEY, m.lastStartLoc, 0);
694
+ const O = f.context(), A = a(7, O.offset, O.startLoc);
695
+ return A.value = "", s(A, O.offset, O.startLoc), T.key = A, s(T, O.offset, O.startLoc), {
696
+ nextConsumeToken: d,
697
+ node: T
698
+ };
699
+ }
700
+ }
701
+ return s(T, f.currentOffset(), f.currentPosition()), {
702
+ node: T
703
+ };
704
+ }
705
+ function C(f) {
706
+ const m = f.context(), T = m.currentType === 1 ? f.currentOffset() : m.offset, d = m.currentType === 1 ? m.endLoc : m.startLoc, O = a(2, T, d);
707
+ O.items = [];
708
+ let A = null;
709
+ do {
710
+ const U = A || f.nextToken();
711
+ switch (A = null, U.type) {
712
+ case 0:
713
+ U.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), O.items.push(o(f, U.value || ""));
714
+ break;
715
+ case 5:
716
+ U.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), O.items.push(i(f, U.value || ""));
717
+ break;
718
+ case 4:
719
+ U.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), O.items.push(c(f, U.value || ""));
720
+ break;
721
+ case 6:
722
+ U.value == null && r(f, P.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, ie(U)), O.items.push(E(f, U.value || ""));
723
+ break;
724
+ case 7: {
725
+ const X = N(f);
726
+ O.items.push(X.node), A = X.nextConsumeToken || null;
727
+ break;
728
+ }
729
+ }
730
+ } while (m.currentType !== 13 && m.currentType !== 1);
731
+ const g = m.currentType === 1 ? m.lastOffset : f.currentOffset(), y = m.currentType === 1 ? m.lastEndLoc : f.currentPosition();
732
+ return s(O, g, y), O;
733
+ }
734
+ function F(f, m, T, d) {
735
+ const O = f.context();
736
+ let A = d.items.length === 0;
737
+ const g = a(1, m, T);
738
+ g.cases = [], g.cases.push(d);
739
+ do {
740
+ const y = C(f);
741
+ A || (A = y.items.length === 0), g.cases.push(y);
742
+ } while (O.currentType !== 13);
743
+ return A && r(f, P.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), s(g, f.currentOffset(), f.currentPosition()), g;
744
+ }
745
+ function v(f) {
746
+ const m = f.context(), { offset: T, startLoc: d } = m, O = C(f);
747
+ return m.currentType === 13 ? O : F(f, T, d, O);
748
+ }
749
+ function D(f) {
750
+ const m = oa(f, J({}, e)), T = m.context(), d = a(0, T.offset, T.startLoc);
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;
752
+ }
753
+ return { parse: D };
754
+ }
755
+ function ie(e) {
756
+ if (e.type === 13)
757
+ return "EOF";
758
+ const t = (e.value || "").replace(/\r?\n/gu, "\\n");
759
+ return t.length > 10 ? t.slice(0, 9) + "…" : t;
760
+ }
761
+ function fa(e, t = {}) {
762
+ const n = {
763
+ ast: e,
764
+ helpers: /* @__PURE__ */ new Set()
765
+ };
766
+ return { context: () => n, helper: (s) => (n.helpers.add(s), s) };
767
+ }
768
+ function sn(e, t) {
769
+ for (let n = 0; n < e.length; n++)
770
+ Wt(e[n], t);
771
+ }
772
+ function Wt(e, t) {
773
+ switch (e.type) {
774
+ case 1:
775
+ sn(e.cases, t), t.helper(
776
+ "plural"
777
+ /* HelperNameMap.PLURAL */
778
+ );
779
+ break;
780
+ case 2:
781
+ sn(e.items, t);
782
+ break;
783
+ case 6: {
784
+ Wt(e.key, t), t.helper(
785
+ "linked"
786
+ /* HelperNameMap.LINKED */
787
+ ), t.helper(
788
+ "type"
789
+ /* HelperNameMap.TYPE */
790
+ );
791
+ break;
792
+ }
793
+ case 5:
794
+ t.helper(
795
+ "interpolate"
796
+ /* HelperNameMap.INTERPOLATE */
797
+ ), t.helper(
798
+ "list"
799
+ /* HelperNameMap.LIST */
800
+ );
801
+ break;
802
+ case 4:
803
+ t.helper(
804
+ "interpolate"
805
+ /* HelperNameMap.INTERPOLATE */
806
+ ), t.helper(
807
+ "named"
808
+ /* HelperNameMap.NAMED */
809
+ );
810
+ break;
811
+ }
812
+ }
813
+ function _a(e, t = {}) {
814
+ const n = fa(e);
815
+ n.helper(
816
+ "normalize"
817
+ /* HelperNameMap.NORMALIZE */
818
+ ), e.body && Wt(e.body, n);
819
+ const r = n.context();
820
+ e.helpers = Array.from(r.helpers);
821
+ }
822
+ function ma(e) {
823
+ const t = e.body;
824
+ return t.type === 2 ? on(t) : t.cases.forEach((n) => on(n)), e;
825
+ }
826
+ function on(e) {
827
+ if (e.items.length === 1) {
828
+ const t = e.items[0];
829
+ (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
830
+ } else {
831
+ const t = [];
832
+ for (let n = 0; n < e.items.length; n++) {
833
+ const r = e.items[n];
834
+ if (!(r.type === 3 || r.type === 9) || r.value == null)
835
+ break;
836
+ t.push(r.value);
837
+ }
838
+ if (t.length === e.items.length) {
839
+ e.static = Bt(t);
840
+ for (let n = 0; n < e.items.length; n++) {
841
+ const r = e.items[n];
842
+ (r.type === 3 || r.type === 9) && delete r.value;
843
+ }
844
+ }
845
+ }
846
+ }
847
+ const da = "minifier";
848
+ function Ce(e) {
849
+ switch (e.t = e.type, e.type) {
850
+ case 0: {
851
+ const t = e;
852
+ Ce(t.body), t.b = t.body, delete t.body;
853
+ break;
854
+ }
855
+ case 1: {
856
+ const t = e, n = t.cases;
857
+ for (let r = 0; r < n.length; r++)
858
+ Ce(n[r]);
859
+ t.c = n, delete t.cases;
860
+ break;
861
+ }
862
+ case 2: {
863
+ const t = e, n = t.items;
864
+ for (let r = 0; r < n.length; r++)
865
+ Ce(n[r]);
866
+ t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
867
+ break;
868
+ }
869
+ case 3:
870
+ case 9:
871
+ case 8:
872
+ case 7: {
873
+ const t = e;
874
+ t.value && (t.v = t.value, delete t.value);
875
+ break;
876
+ }
877
+ case 6: {
878
+ const t = e;
879
+ Ce(t.key), t.k = t.key, delete t.key, t.modifier && (Ce(t.modifier), t.m = t.modifier, delete t.modifier);
880
+ break;
881
+ }
882
+ case 5: {
883
+ const t = e;
884
+ t.i = t.index, delete t.index;
885
+ break;
886
+ }
887
+ case 4: {
888
+ const t = e;
889
+ t.k = t.key, delete t.key;
890
+ break;
891
+ }
892
+ default:
893
+ if (process.env.NODE_ENV !== "production")
894
+ throw ke(P.UNHANDLED_MINIFIER_NODE_TYPE, null, {
895
+ domain: da,
896
+ args: [e.type]
897
+ });
898
+ }
899
+ delete e.type;
900
+ }
901
+ const Ea = "parser";
902
+ function ga(e, t) {
903
+ const { filename: n, breakLineCode: r, needIndent: a } = t, s = t.location !== !1, o = {
904
+ filename: n,
905
+ code: "",
906
+ column: 1,
907
+ line: 1,
908
+ offset: 0,
909
+ map: void 0,
910
+ breakLineCode: r,
911
+ needIndent: a,
912
+ indentLevel: 0
913
+ };
914
+ s && e.loc && (o.source = e.loc.source);
915
+ const i = () => o;
916
+ function c(v, D) {
917
+ o.code += v;
918
+ }
919
+ function E(v, D = !0) {
920
+ const f = D ? r : "";
921
+ c(a ? f + " ".repeat(v) : f);
922
+ }
923
+ function b(v = !0) {
924
+ const D = ++o.indentLevel;
925
+ v && E(D);
926
+ }
927
+ function L(v = !0) {
928
+ const D = --o.indentLevel;
929
+ v && E(D);
930
+ }
931
+ function N() {
932
+ E(o.indentLevel);
933
+ }
934
+ return {
935
+ context: i,
936
+ push: c,
937
+ indent: b,
938
+ deindent: L,
939
+ newline: N,
940
+ helper: (v) => `_${v}`,
941
+ needIndent: () => o.needIndent
942
+ };
943
+ }
944
+ function pa(e, t) {
945
+ const { helper: n } = e;
946
+ e.push(`${n(
947
+ "linked"
948
+ /* HelperNameMap.LINKED */
949
+ )}(`), Pe(e, t.key), t.modifier ? (e.push(", "), Pe(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
950
+ }
951
+ function Na(e, t) {
952
+ const { helper: n, needIndent: r } = e;
953
+ e.push(`${n(
954
+ "normalize"
955
+ /* HelperNameMap.NORMALIZE */
956
+ )}([`), e.indent(r());
957
+ const a = t.items.length;
958
+ for (let s = 0; s < a && (Pe(e, t.items[s]), s !== a - 1); s++)
959
+ e.push(", ");
960
+ e.deindent(r()), e.push("])");
961
+ }
962
+ function ha(e, t) {
963
+ const { helper: n, needIndent: r } = e;
964
+ if (t.cases.length > 1) {
965
+ e.push(`${n(
966
+ "plural"
967
+ /* HelperNameMap.PLURAL */
968
+ )}([`), e.indent(r());
969
+ const a = t.cases.length;
970
+ for (let s = 0; s < a && (Pe(e, t.cases[s]), s !== a - 1); s++)
971
+ e.push(", ");
972
+ e.deindent(r()), e.push("])");
973
+ }
974
+ }
975
+ function La(e, t) {
976
+ t.body ? Pe(e, t.body) : e.push("null");
977
+ }
978
+ function Pe(e, t) {
979
+ const { helper: n } = e;
980
+ switch (t.type) {
981
+ case 0:
982
+ La(e, t);
983
+ break;
984
+ case 1:
985
+ ha(e, t);
986
+ break;
987
+ case 2:
988
+ Na(e, t);
989
+ break;
990
+ case 6:
991
+ pa(e, t);
992
+ break;
993
+ case 8:
994
+ e.push(JSON.stringify(t.value), t);
995
+ break;
996
+ case 7:
997
+ e.push(JSON.stringify(t.value), t);
998
+ break;
999
+ case 5:
1000
+ e.push(`${n(
1001
+ "interpolate"
1002
+ /* HelperNameMap.INTERPOLATE */
1003
+ )}(${n(
1004
+ "list"
1005
+ /* HelperNameMap.LIST */
1006
+ )}(${t.index}))`, t);
1007
+ break;
1008
+ case 4:
1009
+ e.push(`${n(
1010
+ "interpolate"
1011
+ /* HelperNameMap.INTERPOLATE */
1012
+ )}(${n(
1013
+ "named"
1014
+ /* HelperNameMap.NAMED */
1015
+ )}(${JSON.stringify(t.key)}))`, t);
1016
+ break;
1017
+ case 9:
1018
+ e.push(JSON.stringify(t.value), t);
1019
+ break;
1020
+ case 3:
1021
+ e.push(JSON.stringify(t.value), t);
1022
+ break;
1023
+ default:
1024
+ if (process.env.NODE_ENV !== "production")
1025
+ throw ke(P.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1026
+ domain: Ea,
1027
+ args: [t.type]
1028
+ });
1029
+ }
1030
+ }
1031
+ const Ta = (e, t = {}) => {
1032
+ const n = I(t.mode) ? t.mode : "normal", r = I(t.filename) ? t.filename : "message.intl";
1033
+ t.sourceMap;
1034
+ const a = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1035
+ `, s = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = ga(e, {
1036
+ filename: r,
1037
+ breakLineCode: a,
1038
+ needIndent: s
1039
+ });
1040
+ i.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), i.indent(s), o.length > 0 && (i.push(`const { ${Bt(o.map((b) => `${b}: _${b}`), ", ")} } = ctx`), i.newline()), i.push("return "), Pe(i, e), i.deindent(s), i.push("}"), delete e.helpers;
1041
+ const { code: c, map: E } = i.context();
1042
+ return {
1043
+ ast: e,
1044
+ code: c,
1045
+ map: E ? E.toJSON() : void 0
1046
+ // eslint-disable-line @typescript-eslint/no-explicit-any
1047
+ };
1048
+ };
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));
1052
+ }
1053
+ function Ia() {
1054
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1055
+ }
1056
+ function re(e) {
1057
+ return R(e) && Gt(e) === 0 && (se(e, "b") || se(e, "body"));
1058
+ }
1059
+ const $n = ["b", "body"];
1060
+ function Oa(e) {
1061
+ return de(e, $n);
1062
+ }
1063
+ const Bn = ["c", "cases"];
1064
+ function Aa(e) {
1065
+ return de(e, Bn, []);
1066
+ }
1067
+ const xn = ["s", "static"];
1068
+ function va(e) {
1069
+ return de(e, xn);
1070
+ }
1071
+ const Wn = ["i", "items"];
1072
+ function Ca(e) {
1073
+ return de(e, Wn, []);
1074
+ }
1075
+ const Gn = ["t", "type"];
1076
+ function Gt(e) {
1077
+ return de(e, Gn);
1078
+ }
1079
+ const Yn = ["v", "value"];
1080
+ function Je(e, t) {
1081
+ const n = de(e, Yn);
1082
+ if (n != null)
1083
+ return n;
1084
+ throw $e(t);
1085
+ }
1086
+ const Hn = ["m", "modifier"];
1087
+ function Da(e) {
1088
+ return de(e, Hn);
1089
+ }
1090
+ const Kn = ["k", "key"];
1091
+ function Sa(e) {
1092
+ const t = de(e, Kn);
1093
+ if (t)
1094
+ return t;
1095
+ throw $e(
1096
+ 6
1097
+ /* NodeTypes.Linked */
1098
+ );
1099
+ }
1100
+ function de(e, t, n) {
1101
+ for (let r = 0; r < t.length; r++) {
1102
+ const a = t[r];
1103
+ if (se(e, a) && e[a] != null)
1104
+ return e[a];
1105
+ }
1106
+ return n;
1107
+ }
1108
+ const jn = [
1109
+ ...$n,
1110
+ ...Bn,
1111
+ ...xn,
1112
+ ...Wn,
1113
+ ...Kn,
1114
+ ...Hn,
1115
+ ...Yn,
1116
+ ...Gn
1117
+ ];
1118
+ function $e(e) {
1119
+ return new Error(`unhandled node type: ${e}`);
1120
+ }
1121
+ function Lt(e) {
1122
+ return (n) => Pa(n, e);
1123
+ }
1124
+ function Pa(e, t) {
1125
+ const n = Oa(t);
1126
+ if (n == null)
1127
+ throw $e(
1128
+ 0
1129
+ /* NodeTypes.Resource */
1130
+ );
1131
+ if (Gt(n) === 1) {
1132
+ const s = Aa(n);
1133
+ return e.plural(s.reduce((o, i) => [
1134
+ ...o,
1135
+ ln(e, i)
1136
+ ], []));
1137
+ } else
1138
+ return ln(e, n);
1139
+ }
1140
+ function ln(e, t) {
1141
+ const n = va(t);
1142
+ if (n != null)
1143
+ return e.type === "text" ? n : e.normalize([n]);
1144
+ {
1145
+ const r = Ca(t).reduce((a, s) => [...a, vt(e, s)], []);
1146
+ return e.normalize(r);
1147
+ }
1148
+ }
1149
+ function vt(e, t) {
1150
+ const n = Gt(t);
1151
+ switch (n) {
1152
+ case 3:
1153
+ return Je(t, n);
1154
+ case 9:
1155
+ return Je(t, n);
1156
+ case 4: {
1157
+ const r = t;
1158
+ if (se(r, "k") && r.k)
1159
+ return e.interpolate(e.named(r.k));
1160
+ if (se(r, "key") && r.key)
1161
+ return e.interpolate(e.named(r.key));
1162
+ throw $e(n);
1163
+ }
1164
+ case 5: {
1165
+ const r = t;
1166
+ if (se(r, "i") && j(r.i))
1167
+ return e.interpolate(e.list(r.i));
1168
+ if (se(r, "index") && j(r.index))
1169
+ return e.interpolate(e.list(r.index));
1170
+ throw $e(n);
1171
+ }
1172
+ case 6: {
1173
+ const r = t, a = Da(r), s = Sa(r);
1174
+ return e.linked(vt(e, s), a ? vt(e, a) : void 0, e.type);
1175
+ }
1176
+ case 7:
1177
+ return Je(t, n);
1178
+ case 8:
1179
+ return Je(t, n);
1180
+ default:
1181
+ throw new Error(`unhandled node on format message part: ${n}`);
1182
+ }
1183
+ }
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 }));
1187
+ }
1188
+ const ka = (e) => e;
1189
+ let Qe = $();
1190
+ function Ra(e, t = {}) {
1191
+ let n = !1;
1192
+ const r = t.onError || qr;
1193
+ return t.onError = (a) => {
1194
+ n = !0, r(a);
1195
+ }, { ...ba(e, t), detectError: n };
1196
+ }
1197
+ // @__NO_SIDE_EFFECTS__
1198
+ function Ma(e, t) {
1199
+ if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
1200
+ const n = M(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1201
+ process.env.NODE_ENV !== "production" && ya(e, n);
1202
+ const a = (t.onCacheKey || ka)(e), s = Qe[a];
1203
+ if (s)
1204
+ return s;
1205
+ const { ast: o, detectError: i } = Ra(e, {
1206
+ ...t,
1207
+ location: process.env.NODE_ENV !== "production",
1208
+ jit: !0
1209
+ }), c = Lt(o);
1210
+ return i ? c : Qe[a] = c;
1211
+ } else {
1212
+ if (process.env.NODE_ENV !== "production" && !re(e))
1213
+ return ue(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
1214
+ const n = e.cacheKey;
1215
+ if (n) {
1216
+ const r = Qe[n];
1217
+ return r || (Qe[n] = Lt(e));
1218
+ } else
1219
+ return Lt(e);
1220
+ }
1221
+ }
1222
+ let Be = null;
1223
+ function wa(e) {
1224
+ Be = e;
1225
+ }
1226
+ function Ua(e, t, n) {
1227
+ Be && Be.emit("i18n:init", {
1228
+ timestamp: Date.now(),
1229
+ i18n: e,
1230
+ version: t,
1231
+ meta: n
1232
+ });
1233
+ }
1234
+ const Va = /* @__PURE__ */ $a("function:translate");
1235
+ function $a(e) {
1236
+ return (t) => Be && Be.emit(e, t);
1237
+ }
1238
+ const q = {
1239
+ INVALID_ARGUMENT: Jr,
1240
+ // 17
1241
+ INVALID_DATE_ARGUMENT: 18,
1242
+ INVALID_ISO_DATE_ARGUMENT: 19,
1243
+ NOT_SUPPORT_NON_STRING_MESSAGE: 20,
1244
+ NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
1245
+ NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
1246
+ NOT_SUPPORT_LOCALE_TYPE: 23
1247
+ }, Ba = 24;
1248
+ function me(e) {
1249
+ return ke(e, null, process.env.NODE_ENV !== "production" ? { messages: xa } : void 0);
1250
+ }
1251
+ const xa = {
1252
+ [q.INVALID_ARGUMENT]: "Invalid arguments",
1253
+ [q.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
1254
+ [q.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
1255
+ [q.NOT_SUPPORT_NON_STRING_MESSAGE]: "Not support non-string message",
1256
+ [q.NOT_SUPPORT_LOCALE_PROMISE_VALUE]: "cannot support promise value",
1257
+ [q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
1258
+ [q.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
1259
+ };
1260
+ function Yt(e, t) {
1261
+ return t.locale != null ? un(t.locale) : un(e.locale);
1262
+ }
1263
+ let Tt;
1264
+ function un(e) {
1265
+ if (I(e))
1266
+ return e;
1267
+ if (B(e)) {
1268
+ if (e.resolvedOnce && Tt != null)
1269
+ return Tt;
1270
+ if (e.constructor.name === "Function") {
1271
+ const t = e();
1272
+ if (Hr(t))
1273
+ throw me(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1274
+ return Tt = t;
1275
+ } else
1276
+ throw me(q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1277
+ } else
1278
+ throw me(q.NOT_SUPPORT_LOCALE_TYPE);
1279
+ }
1280
+ function Wa(e, t, n) {
1281
+ return [.../* @__PURE__ */ new Set([
1282
+ n,
1283
+ ...G(t) ? t : R(t) ? Object.keys(t) : I(t) ? [t] : [n]
1284
+ ])];
1285
+ }
1286
+ function Xn(e, t, n) {
1287
+ const r = I(n) ? n : xe, a = e;
1288
+ a.__localeChainCache || (a.__localeChainCache = /* @__PURE__ */ new Map());
1289
+ let s = a.__localeChainCache.get(r);
1290
+ if (!s) {
1291
+ s = [];
1292
+ let o = [n];
1293
+ for (; G(o); )
1294
+ o = cn(s, o, t);
1295
+ const i = G(t) || !k(t) ? t : t.default ? t.default : null;
1296
+ o = I(i) ? [i] : i, G(o) && cn(s, o, !1), a.__localeChainCache.set(r, s);
1297
+ }
1298
+ return s;
1299
+ }
1300
+ function cn(e, t, n) {
1301
+ let r = !0;
1302
+ for (let a = 0; a < t.length && M(r); a++) {
1303
+ const s = t[a];
1304
+ I(s) && (r = Ga(e, t[a], n));
1305
+ }
1306
+ return r;
1307
+ }
1308
+ function Ga(e, t, n) {
1309
+ let r;
1310
+ const a = t.split("-");
1311
+ do {
1312
+ const s = a.join("-");
1313
+ r = Ya(e, s, n), a.splice(-1, 1);
1314
+ } while (a.length && r === !0);
1315
+ return r;
1316
+ }
1317
+ function Ya(e, t, n) {
1318
+ let r = !1;
1319
+ if (!e.includes(t) && (r = !0, t)) {
1320
+ r = t[t.length - 1] !== "!";
1321
+ const a = t.replace(/!/g, "");
1322
+ e.push(a), (G(n) || k(n)) && n[a] && (r = n[a]);
1323
+ }
1324
+ return r;
1325
+ }
1326
+ const Ee = [];
1327
+ Ee[
1328
+ 0
1329
+ /* States.BEFORE_PATH */
1330
+ ] = {
1331
+ w: [
1332
+ 0
1333
+ /* States.BEFORE_PATH */
1334
+ ],
1335
+ i: [
1336
+ 3,
1337
+ 0
1338
+ /* Actions.APPEND */
1339
+ ],
1340
+ "[": [
1341
+ 4
1342
+ /* States.IN_SUB_PATH */
1343
+ ],
1344
+ o: [
1345
+ 7
1346
+ /* States.AFTER_PATH */
1347
+ ]
1348
+ };
1349
+ Ee[
1350
+ 1
1351
+ /* States.IN_PATH */
1352
+ ] = {
1353
+ w: [
1354
+ 1
1355
+ /* States.IN_PATH */
1356
+ ],
1357
+ ".": [
1358
+ 2
1359
+ /* States.BEFORE_IDENT */
1360
+ ],
1361
+ "[": [
1362
+ 4
1363
+ /* States.IN_SUB_PATH */
1364
+ ],
1365
+ o: [
1366
+ 7
1367
+ /* States.AFTER_PATH */
1368
+ ]
1369
+ };
1370
+ Ee[
1371
+ 2
1372
+ /* States.BEFORE_IDENT */
1373
+ ] = {
1374
+ w: [
1375
+ 2
1376
+ /* States.BEFORE_IDENT */
1377
+ ],
1378
+ i: [
1379
+ 3,
1380
+ 0
1381
+ /* Actions.APPEND */
1382
+ ],
1383
+ 0: [
1384
+ 3,
1385
+ 0
1386
+ /* Actions.APPEND */
1387
+ ]
1388
+ };
1389
+ Ee[
1390
+ 3
1391
+ /* States.IN_IDENT */
1392
+ ] = {
1393
+ i: [
1394
+ 3,
1395
+ 0
1396
+ /* Actions.APPEND */
1397
+ ],
1398
+ 0: [
1399
+ 3,
1400
+ 0
1401
+ /* Actions.APPEND */
1402
+ ],
1403
+ w: [
1404
+ 1,
1405
+ 1
1406
+ /* Actions.PUSH */
1407
+ ],
1408
+ ".": [
1409
+ 2,
1410
+ 1
1411
+ /* Actions.PUSH */
1412
+ ],
1413
+ "[": [
1414
+ 4,
1415
+ 1
1416
+ /* Actions.PUSH */
1417
+ ],
1418
+ o: [
1419
+ 7,
1420
+ 1
1421
+ /* Actions.PUSH */
1422
+ ]
1423
+ };
1424
+ Ee[
1425
+ 4
1426
+ /* States.IN_SUB_PATH */
1427
+ ] = {
1428
+ "'": [
1429
+ 5,
1430
+ 0
1431
+ /* Actions.APPEND */
1432
+ ],
1433
+ '"': [
1434
+ 6,
1435
+ 0
1436
+ /* Actions.APPEND */
1437
+ ],
1438
+ "[": [
1439
+ 4,
1440
+ 2
1441
+ /* Actions.INC_SUB_PATH_DEPTH */
1442
+ ],
1443
+ "]": [
1444
+ 1,
1445
+ 3
1446
+ /* Actions.PUSH_SUB_PATH */
1447
+ ],
1448
+ o: 8,
1449
+ l: [
1450
+ 4,
1451
+ 0
1452
+ /* Actions.APPEND */
1453
+ ]
1454
+ };
1455
+ Ee[
1456
+ 5
1457
+ /* States.IN_SINGLE_QUOTE */
1458
+ ] = {
1459
+ "'": [
1460
+ 4,
1461
+ 0
1462
+ /* Actions.APPEND */
1463
+ ],
1464
+ o: 8,
1465
+ l: [
1466
+ 5,
1467
+ 0
1468
+ /* Actions.APPEND */
1469
+ ]
1470
+ };
1471
+ Ee[
1472
+ 6
1473
+ /* States.IN_DOUBLE_QUOTE */
1474
+ ] = {
1475
+ '"': [
1476
+ 4,
1477
+ 0
1478
+ /* Actions.APPEND */
1479
+ ],
1480
+ o: 8,
1481
+ l: [
1482
+ 6,
1483
+ 0
1484
+ /* Actions.APPEND */
1485
+ ]
1486
+ };
1487
+ const Ha = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1488
+ function Ka(e) {
1489
+ return Ha.test(e);
1490
+ }
1491
+ function ja(e) {
1492
+ const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1493
+ return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1494
+ }
1495
+ function Xa(e) {
1496
+ if (e == null)
1497
+ return "o";
1498
+ switch (e.charCodeAt(0)) {
1499
+ case 91:
1500
+ // [
1501
+ case 93:
1502
+ // ]
1503
+ case 46:
1504
+ // .
1505
+ case 34:
1506
+ // "
1507
+ case 39:
1508
+ return e;
1509
+ case 95:
1510
+ // _
1511
+ case 36:
1512
+ // $
1513
+ case 45:
1514
+ return "i";
1515
+ case 9:
1516
+ // Tab (HT)
1517
+ case 10:
1518
+ // Newline (LF)
1519
+ case 13:
1520
+ // Return (CR)
1521
+ case 160:
1522
+ // No-break space (NBSP)
1523
+ case 65279:
1524
+ // Byte Order Mark (BOM)
1525
+ case 8232:
1526
+ // Line Separator (LS)
1527
+ case 8233:
1528
+ return "w";
1529
+ }
1530
+ return "i";
1531
+ }
1532
+ function Ja(e) {
1533
+ const t = e.trim();
1534
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ka(t) ? ja(t) : "*" + t;
1535
+ }
1536
+ function Qa(e) {
1537
+ const t = [];
1538
+ let n = -1, r = 0, a = 0, s, o, i, c, E, b, L;
1539
+ const N = [];
1540
+ N[
1541
+ 0
1542
+ /* Actions.APPEND */
1543
+ ] = () => {
1544
+ o === void 0 ? o = i : o += i;
1545
+ }, N[
1546
+ 1
1547
+ /* Actions.PUSH */
1548
+ ] = () => {
1549
+ o !== void 0 && (t.push(o), o = void 0);
1550
+ }, N[
1551
+ 2
1552
+ /* Actions.INC_SUB_PATH_DEPTH */
1553
+ ] = () => {
1554
+ N[
1555
+ 0
1556
+ /* Actions.APPEND */
1557
+ ](), a++;
1558
+ }, N[
1559
+ 3
1560
+ /* Actions.PUSH_SUB_PATH */
1561
+ ] = () => {
1562
+ if (a > 0)
1563
+ a--, r = 4, N[
1564
+ 0
1565
+ /* Actions.APPEND */
1566
+ ]();
1567
+ else {
1568
+ if (a = 0, o === void 0 || (o = Ja(o), o === !1))
1569
+ return !1;
1570
+ N[
1571
+ 1
1572
+ /* Actions.PUSH */
1573
+ ]();
1574
+ }
1575
+ };
1576
+ function C() {
1577
+ const F = e[n + 1];
1578
+ if (r === 5 && F === "'" || r === 6 && F === '"')
1579
+ return n++, i = "\\" + F, N[
1580
+ 0
1581
+ /* Actions.APPEND */
1582
+ ](), !0;
1583
+ }
1584
+ for (; r !== null; )
1585
+ if (n++, s = e[n], !(s === "\\" && 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))))
1587
+ return;
1588
+ if (r === 7)
1589
+ return t;
1590
+ }
1591
+ }
1592
+ const fn = /* @__PURE__ */ new Map();
1593
+ function qa(e, t) {
1594
+ return R(e) ? e[t] : null;
1595
+ }
1596
+ function Za(e, t) {
1597
+ if (!R(e))
1598
+ return null;
1599
+ let n = fn.get(t);
1600
+ if (n || (n = Qa(t), n && fn.set(t, n)), !n)
1601
+ return null;
1602
+ const r = n.length;
1603
+ let a = e, s = 0;
1604
+ for (; s < r; ) {
1605
+ const o = n[s];
1606
+ if (jn.includes(o) && re(a))
1607
+ return null;
1608
+ const i = a[o];
1609
+ if (i === void 0 || B(a))
1610
+ return null;
1611
+ a = i, s++;
1612
+ }
1613
+ return a;
1614
+ }
1615
+ const Z = {
1616
+ NOT_FOUND_KEY: 1,
1617
+ FALLBACK_TO_TRANSLATE: 2,
1618
+ CANNOT_FORMAT_NUMBER: 3,
1619
+ FALLBACK_TO_NUMBER_FORMAT: 4,
1620
+ CANNOT_FORMAT_DATE: 5,
1621
+ FALLBACK_TO_DATE_FORMAT: 6,
1622
+ EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
1623
+ }, za = 8, es = {
1624
+ [Z.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
1625
+ [Z.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
1626
+ [Z.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
1627
+ [Z.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
1628
+ [Z.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
1629
+ [Z.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
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."
1631
+ };
1632
+ function be(e, ...t) {
1633
+ return et(es[e], ...t);
1634
+ }
1635
+ const ts = "11.2.7", nt = -1, xe = "en-US", ze = "", _n = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1636
+ function ns() {
1637
+ return {
1638
+ upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && R(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1639
+ lower: (e, t) => t === "text" && I(e) ? e.toLowerCase() : t === "vnode" && R(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1640
+ capitalize: (e, t) => t === "text" && I(e) ? _n(e) : t === "vnode" && R(e) && "__v_isVNode" in e ? _n(e.children) : e
1641
+ };
1642
+ }
1643
+ let Jn;
1644
+ function rs(e) {
1645
+ Jn = e;
1646
+ }
1647
+ let Qn;
1648
+ function as(e) {
1649
+ Qn = e;
1650
+ }
1651
+ let qn;
1652
+ function ss(e) {
1653
+ qn = e;
1654
+ }
1655
+ let Zn = null;
1656
+ const os = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1657
+ Zn = e;
1658
+ }, ls = /* @__NO_SIDE_EFFECTS__ */ () => Zn;
1659
+ let zn = null;
1660
+ const mn = (e) => {
1661
+ zn = e;
1662
+ }, is = () => zn;
1663
+ let dn = 0;
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;
1666
+ process.env.NODE_ENV !== "production" && B(e.messageCompiler) && Vt(be(Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
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 : {};
1668
+ dn++;
1669
+ const Y = {
1670
+ version: n,
1671
+ cid: dn,
1672
+ locale: r,
1673
+ fallbackLocale: s,
1674
+ messages: o,
1675
+ modifiers: E,
1676
+ pluralRules: b,
1677
+ missing: L,
1678
+ missingWarn: N,
1679
+ fallbackWarn: C,
1680
+ fallbackFormat: F,
1681
+ unresolving: v,
1682
+ postTranslation: D,
1683
+ processor: f,
1684
+ warnHtmlMessage: m,
1685
+ escapeParameter: T,
1686
+ messageCompiler: d,
1687
+ messageResolver: O,
1688
+ localeFallbacker: A,
1689
+ fallbackContext: g,
1690
+ onWarn: t,
1691
+ __meta: ae
1692
+ };
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;
1694
+ }
1695
+ const bt = (e) => ({ [e]: $() });
1696
+ function rt(e, t) {
1697
+ return e instanceof RegExp ? e.test(t) : e;
1698
+ }
1699
+ function er(e, t) {
1700
+ return e instanceof RegExp ? e.test(t) : e;
1701
+ }
1702
+ function Ht(e, t, n, r, a) {
1703
+ const { missing: s, onWarn: o } = e;
1704
+ if (process.env.NODE_ENV !== "production") {
1705
+ const i = e.__v_emitter;
1706
+ i && i.emit("missing", {
1707
+ locale: n,
1708
+ key: t,
1709
+ type: a,
1710
+ groupId: `${a}:${t}`
1711
+ });
1712
+ }
1713
+ if (s !== null) {
1714
+ const i = s(e, n, t, a);
1715
+ return I(i) ? i : t;
1716
+ } else
1717
+ return process.env.NODE_ENV !== "production" && er(r, t) && o(be(Z.NOT_FOUND_KEY, { key: t, locale: n })), t;
1718
+ }
1719
+ function Ve(e, t, n) {
1720
+ const r = e;
1721
+ r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
1722
+ }
1723
+ function tr(e, t) {
1724
+ return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1725
+ }
1726
+ function cs(e, t) {
1727
+ const n = t.indexOf(e);
1728
+ if (n === -1)
1729
+ return !1;
1730
+ for (let r = n + 1; r < t.length; r++)
1731
+ if (tr(e, t[r]))
1732
+ return !0;
1733
+ return !1;
1734
+ }
1735
+ const En = typeof Intl < "u", nr = {
1736
+ dateTimeFormat: En && typeof Intl.DateTimeFormat < "u",
1737
+ numberFormat: En && typeof Intl.NumberFormat < "u"
1738
+ };
1739
+ function gn(e, ...t) {
1740
+ const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: o } = e, { __datetimeFormatters: i } = e;
1741
+ if (process.env.NODE_ENV !== "production" && !nr.dateTimeFormat)
1742
+ return s(be(Z.CANNOT_FORMAT_DATE)), ze;
1743
+ const [c, E, b, L] = Ct(...t), N = M(b.missingWarn) ? b.missingWarn : e.missingWarn, C = M(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn, F = !!b.part, v = Yt(e, b), D = o(
1744
+ e,
1745
+ // eslint-disable-line @typescript-eslint/no-explicit-any
1746
+ a,
1747
+ v
1748
+ );
1749
+ if (!I(c) || c === "")
1750
+ return new Intl.DateTimeFormat(v, L).format(E);
1751
+ let f = {}, m, T = null, d = v, O = null;
1752
+ const A = "datetime format";
1753
+ for (let U = 0; U < D.length; U++) {
1754
+ if (m = O = D[U], process.env.NODE_ENV !== "production" && v !== m && rt(C, c) && s(be(Z.FALLBACK_TO_DATE_FORMAT, {
1755
+ key: c,
1756
+ target: m
1757
+ })), process.env.NODE_ENV !== "production" && v !== m) {
1758
+ const X = e.__v_emitter;
1759
+ X && X.emit("fallback", {
1760
+ type: A,
1761
+ key: c,
1762
+ from: d,
1763
+ to: O,
1764
+ groupId: `${A}:${c}`
1765
+ });
1766
+ }
1767
+ if (f = n[m] || {}, T = f[c], k(T))
1768
+ break;
1769
+ Ht(e, c, m, N, A), d = O;
1770
+ }
1771
+ if (!k(T) || !I(m))
1772
+ return r ? nt : c;
1773
+ let g = `${m}__${c}`;
1774
+ tt(L) || (g = `${g}__${JSON.stringify(L)}`);
1775
+ let y = i.get(g);
1776
+ return y || (y = new Intl.DateTimeFormat(m, J({}, T, L)), i.set(g, y)), F ? y.formatToParts(E) : y.format(E);
1777
+ }
1778
+ const rr = [
1779
+ "localeMatcher",
1780
+ "weekday",
1781
+ "era",
1782
+ "year",
1783
+ "month",
1784
+ "day",
1785
+ "hour",
1786
+ "minute",
1787
+ "second",
1788
+ "timeZoneName",
1789
+ "formatMatcher",
1790
+ "hour12",
1791
+ "timeZone",
1792
+ "dateStyle",
1793
+ "timeStyle",
1794
+ "calendar",
1795
+ "dayPeriod",
1796
+ "numberingSystem",
1797
+ "hourCycle",
1798
+ "fractionalSecondDigits"
1799
+ ];
1800
+ function Ct(...e) {
1801
+ const [t, n, r, a] = e, s = $();
1802
+ let o = $(), i;
1803
+ if (I(t)) {
1804
+ const c = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1805
+ if (!c)
1806
+ throw me(q.INVALID_ISO_DATE_ARGUMENT);
1807
+ const E = c[3] ? c[3].trim().startsWith("T") ? `${c[1].trim()}${c[3].trim()}` : `${c[1].trim()}T${c[3].trim()}` : c[1].trim();
1808
+ i = new Date(E);
1809
+ try {
1810
+ i.toISOString();
1811
+ } catch {
1812
+ throw me(q.INVALID_ISO_DATE_ARGUMENT);
1813
+ }
1814
+ } else if (xr(t)) {
1815
+ if (isNaN(t.getTime()))
1816
+ throw me(q.INVALID_DATE_ARGUMENT);
1817
+ i = t;
1818
+ } else if (j(t))
1819
+ i = t;
1820
+ else
1821
+ throw me(q.INVALID_ARGUMENT);
1822
+ return I(n) ? s.key = n : k(n) && Object.keys(n).forEach((c) => {
1823
+ rr.includes(c) ? o[c] = n[c] : s[c] = n[c];
1824
+ }), I(r) ? s.locale = r : k(r) && (o = r), k(a) && (o = a), [s.key || "", i, s, o];
1825
+ }
1826
+ function pn(e, t, n) {
1827
+ const r = e;
1828
+ for (const a in n) {
1829
+ const s = `${t}__${a}`;
1830
+ r.__datetimeFormatters.has(s) && r.__datetimeFormatters.delete(s);
1831
+ }
1832
+ }
1833
+ function Nn(e, ...t) {
1834
+ const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: o } = e, { __numberFormatters: i } = e;
1835
+ if (process.env.NODE_ENV !== "production" && !nr.numberFormat)
1836
+ return s(be(Z.CANNOT_FORMAT_NUMBER)), ze;
1837
+ const [c, E, b, L] = Dt(...t), N = M(b.missingWarn) ? b.missingWarn : e.missingWarn, C = M(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn, F = !!b.part, v = Yt(e, b), D = o(
1838
+ e,
1839
+ // eslint-disable-line @typescript-eslint/no-explicit-any
1840
+ a,
1841
+ v
1842
+ );
1843
+ if (!I(c) || c === "")
1844
+ return new Intl.NumberFormat(v, L).format(E);
1845
+ let f = {}, m, T = null, d = v, O = null;
1846
+ const A = "number format";
1847
+ for (let U = 0; U < D.length; U++) {
1848
+ if (m = O = D[U], process.env.NODE_ENV !== "production" && v !== m && rt(C, c) && s(be(Z.FALLBACK_TO_NUMBER_FORMAT, {
1849
+ key: c,
1850
+ target: m
1851
+ })), process.env.NODE_ENV !== "production" && v !== m) {
1852
+ const X = e.__v_emitter;
1853
+ X && X.emit("fallback", {
1854
+ type: A,
1855
+ key: c,
1856
+ from: d,
1857
+ to: O,
1858
+ groupId: `${A}:${c}`
1859
+ });
1860
+ }
1861
+ if (f = n[m] || {}, T = f[c], k(T))
1862
+ break;
1863
+ Ht(e, c, m, N, A), d = O;
1864
+ }
1865
+ if (!k(T) || !I(m))
1866
+ return r ? nt : c;
1867
+ let g = `${m}__${c}`;
1868
+ tt(L) || (g = `${g}__${JSON.stringify(L)}`);
1869
+ let y = i.get(g);
1870
+ return y || (y = new Intl.NumberFormat(m, J({}, T, L)), i.set(g, y)), F ? y.formatToParts(E) : y.format(E);
1871
+ }
1872
+ const ar = [
1873
+ "localeMatcher",
1874
+ "style",
1875
+ "currency",
1876
+ "currencyDisplay",
1877
+ "currencySign",
1878
+ "useGrouping",
1879
+ "minimumIntegerDigits",
1880
+ "minimumFractionDigits",
1881
+ "maximumFractionDigits",
1882
+ "minimumSignificantDigits",
1883
+ "maximumSignificantDigits",
1884
+ "compactDisplay",
1885
+ "notation",
1886
+ "signDisplay",
1887
+ "unit",
1888
+ "unitDisplay",
1889
+ "roundingMode",
1890
+ "roundingPriority",
1891
+ "roundingIncrement",
1892
+ "trailingZeroDisplay"
1893
+ ];
1894
+ function Dt(...e) {
1895
+ const [t, n, r, a] = e, s = $();
1896
+ let o = $();
1897
+ if (!j(t))
1898
+ throw me(q.INVALID_ARGUMENT);
1899
+ const i = t;
1900
+ return I(n) ? s.key = n : k(n) && Object.keys(n).forEach((c) => {
1901
+ ar.includes(c) ? o[c] = n[c] : s[c] = n[c];
1902
+ }), I(r) ? s.locale = r : k(r) && (o = r), k(a) && (o = a), [s.key || "", i, s, o];
1903
+ }
1904
+ function hn(e, t, n) {
1905
+ const r = e;
1906
+ for (const a in n) {
1907
+ const s = `${t}__${a}`;
1908
+ r.__numberFormatters.has(s) && r.__numberFormatters.delete(s);
1909
+ }
1910
+ }
1911
+ const fs = (e) => e, _s = (e) => "", ms = "text", ds = (e) => e.length === 0 ? "" : Bt(e), Es = Kr;
1912
+ function Ln(e, t) {
1913
+ return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
1914
+ }
1915
+ function gs(e) {
1916
+ const t = j(e.pluralIndex) ? e.pluralIndex : -1;
1917
+ return e.named && (j(e.named.count) || j(e.named.n)) ? j(e.named.count) ? e.named.count : j(e.named.n) ? e.named.n : t : t;
1918
+ }
1919
+ function ps(e, t) {
1920
+ t.count || (t.count = e), t.n || (t.n = e);
1921
+ }
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);
1925
+ const E = (f) => c[f];
1926
+ function b(f, m) {
1927
+ const T = B(e.messages) ? e.messages(f, !!m) : R(e.messages) ? e.messages[f] : !1;
1928
+ return T || (e.parent ? e.parent.message(f) : _s);
1929
+ }
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 = {
1931
+ list: i,
1932
+ named: E,
1933
+ plural: s,
1934
+ linked: (f, ...m) => {
1935
+ const [T, d] = m;
1936
+ let O = "text", A = "";
1937
+ m.length === 1 ? R(T) ? (A = T.modifier || A, O = T.type || O) : I(T) && (A = T || A) : m.length === 2 && (I(T) && (A = T || A), I(d) && (O = d || O));
1938
+ const g = b(f, !0)(D), y = (
1939
+ // The message in vnode resolved with linked are returned as an array by processor.nomalize
1940
+ O === "vnode" && G(g) && A ? g[0] : g
1941
+ );
1942
+ return A ? L(A)(y, O) : y;
1943
+ },
1944
+ message: b,
1945
+ type: F,
1946
+ interpolate: C,
1947
+ normalize: N,
1948
+ values: J($(), o, c)
1949
+ };
1950
+ return D;
1951
+ }
1952
+ const Tn = () => "", te = (e) => B(e);
1953
+ function bn(e, ...t) {
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);
1955
+ N && hs(E);
1956
+ let [f, m, T] = C ? [
1957
+ c,
1958
+ D,
1959
+ i[D] || $()
1960
+ ] : sr(e, c, D, o, L, b), d = f, O = c;
1961
+ if (!C && !(I(d) || re(d) || te(d)) && v && (d = F, O = d), !C && (!(I(d) || re(d) || te(d)) || !I(m)))
1962
+ return a ? nt : c;
1963
+ if (process.env.NODE_ENV !== "production" && I(d) && e.messageCompiler == null)
1964
+ return ue(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`), c;
1965
+ let A = !1;
1966
+ const g = () => {
1967
+ A = !0;
1968
+ }, y = te(d) ? d : or(e, c, m, d, O, g);
1969
+ if (A)
1970
+ return d;
1971
+ const U = Is(e, m, T, E), X = Ns(U), ae = Ls(e, y, X);
1972
+ let Y = r ? r(ae, c) : ae;
1973
+ if (N && I(Y) && (Y = Gr(Y)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1974
+ const Oe = {
1975
+ timestamp: Date.now(),
1976
+ key: I(c) ? c : te(d) ? d.key : "",
1977
+ locale: m || (te(d) ? d.locale : ""),
1978
+ format: I(d) ? d : te(d) ? d.source : "",
1979
+ message: Y
1980
+ };
1981
+ Oe.meta = J({}, e.__meta, /* @__PURE__ */ ls() || {}), Va(Oe);
1982
+ }
1983
+ return Y;
1984
+ }
1985
+ function hs(e) {
1986
+ G(e.list) ? e.list = e.list.map((t) => I(t) ? tn(t) : t) : R(e.named) && Object.keys(e.named).forEach((t) => {
1987
+ I(e.named[t]) && (e.named[t] = tn(e.named[t]));
1988
+ });
1989
+ }
1990
+ function sr(e, t, n, r, a, s) {
1991
+ const { messages: o, onWarn: i, messageResolver: c, localeFallbacker: E } = e, b = E(e, r, n);
1992
+ let L = $(), N, C = null, F = n, v = null;
1993
+ const D = "translate";
1994
+ for (let f = 0; f < b.length; f++) {
1995
+ if (N = v = b[f], process.env.NODE_ENV !== "production" && n !== N && !tr(n, N) && rt(a, t) && i(be(Z.FALLBACK_TO_TRANSLATE, {
1996
+ key: t,
1997
+ target: N
1998
+ })), process.env.NODE_ENV !== "production" && n !== N) {
1999
+ const O = e.__v_emitter;
2000
+ O && O.emit("fallback", {
2001
+ type: D,
2002
+ key: t,
2003
+ from: F,
2004
+ to: v,
2005
+ groupId: `${D}:${t}`
2006
+ });
2007
+ }
2008
+ L = o[N] || $();
2009
+ let m = null, T, d;
2010
+ if (process.env.NODE_ENV !== "production" && oe && (m = window.performance.now(), T = "intlify-message-resolve-start", d = "intlify-message-resolve-end", ee && ee(T)), (C = c(L, t)) === null && (C = L[t]), process.env.NODE_ENV !== "production" && oe) {
2011
+ const O = window.performance.now(), A = e.__v_emitter;
2012
+ A && m && C && A.emit("message-resolve", {
2013
+ type: "message-resolve",
2014
+ key: t,
2015
+ message: C,
2016
+ time: O - m,
2017
+ groupId: `${D}:${t}`
2018
+ }), T && d && ee && Te && (ee(d), Te("intlify message resolve", T, d));
2019
+ }
2020
+ if (I(C) || re(C) || te(C))
2021
+ break;
2022
+ if (!cs(N, b)) {
2023
+ const O = Ht(
2024
+ e,
2025
+ // eslint-disable-line @typescript-eslint/no-explicit-any
2026
+ t,
2027
+ N,
2028
+ s,
2029
+ D
2030
+ );
2031
+ O !== t && (C = O);
2032
+ }
2033
+ F = v;
2034
+ }
2035
+ return [C, N, L];
2036
+ }
2037
+ function or(e, t, n, r, a, s) {
2038
+ const { messageCompiler: o, warnHtmlMessage: i } = e;
2039
+ if (te(r)) {
2040
+ const N = r;
2041
+ return N.locale = N.locale || n, N.key = N.key || t, N;
2042
+ }
2043
+ if (o == null) {
2044
+ const N = (() => r);
2045
+ return N.locale = n, N.key = t, N;
2046
+ }
2047
+ let c = null, E, b;
2048
+ process.env.NODE_ENV !== "production" && oe && (c = window.performance.now(), E = "intlify-message-compilation-start", b = "intlify-message-compilation-end", ee && ee(E));
2049
+ const L = o(r, Ts(e, n, a, r, i, s));
2050
+ if (process.env.NODE_ENV !== "production" && oe) {
2051
+ const N = window.performance.now(), C = e.__v_emitter;
2052
+ C && c && C.emit("message-compilation", {
2053
+ type: "message-compilation",
2054
+ message: r,
2055
+ time: N - c,
2056
+ groupId: `translate:${t}`
2057
+ }), E && b && ee && Te && (ee(b), Te("intlify message compilation", E, b));
2058
+ }
2059
+ return L.locale = n, L.key = t, L.source = r, L;
2060
+ }
2061
+ function Ls(e, t, n) {
2062
+ let r = null, a, s;
2063
+ process.env.NODE_ENV !== "production" && oe && (r = window.performance.now(), a = "intlify-message-evaluation-start", s = "intlify-message-evaluation-end", ee && ee(a));
2064
+ const o = t(n);
2065
+ if (process.env.NODE_ENV !== "production" && oe) {
2066
+ const i = window.performance.now(), c = e.__v_emitter;
2067
+ c && r && c.emit("message-evaluation", {
2068
+ type: "message-evaluation",
2069
+ value: o,
2070
+ time: i - r,
2071
+ groupId: `translate:${t.key}`
2072
+ }), a && s && ee && Te && (ee(s), Te("intlify message evaluation", a, s));
2073
+ }
2074
+ return o;
2075
+ }
2076
+ function St(...e) {
2077
+ const [t, n, r] = e, a = $();
2078
+ if (!I(t) && !j(t) && !te(t) && !re(t))
2079
+ throw me(q.INVALID_ARGUMENT);
2080
+ const s = j(t) ? String(t) : (te(t), t);
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];
2082
+ }
2083
+ function Ts(e, t, n, r, a, s) {
2084
+ return {
2085
+ locale: t,
2086
+ key: n,
2087
+ warnHtmlMessage: a,
2088
+ onError: (o) => {
2089
+ if (s && s(o), process.env.NODE_ENV !== "production") {
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;
2091
+ b && i && b.emit("compile-error", {
2092
+ message: i,
2093
+ error: o.message,
2094
+ start: o.location && o.location.start.offset,
2095
+ end: o.location && o.location.end.offset,
2096
+ groupId: `translate:${n}`
2097
+ }), console.error(E ? `${c}
2098
+ ${E}` : c);
2099
+ } else
2100
+ throw o;
2101
+ },
2102
+ onCacheKey: (o) => $r(t, n, o)
2103
+ };
2104
+ }
2105
+ function bs(e) {
2106
+ if (I(e))
2107
+ return e;
2108
+ if (e.loc && e.loc.source)
2109
+ return e.loc.source;
2110
+ }
2111
+ function Is(e, t, n, r) {
2112
+ const { modifiers: a, pluralRules: s, messageResolver: o, fallbackLocale: i, fallbackWarn: c, missingWarn: E, fallbackContext: b } = e, N = {
2113
+ locale: t,
2114
+ modifiers: a,
2115
+ pluralRules: s,
2116
+ messages: (C, F) => {
2117
+ let v = o(n, C);
2118
+ if (v == null && (b || F)) {
2119
+ const [, , D] = sr(
2120
+ b || e,
2121
+ // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
2122
+ C,
2123
+ t,
2124
+ i,
2125
+ c,
2126
+ E
2127
+ );
2128
+ v = o(D, C);
2129
+ }
2130
+ if (I(v) || re(v)) {
2131
+ let D = !1;
2132
+ const m = or(e, C, t, v, C, () => {
2133
+ D = !0;
2134
+ });
2135
+ return D ? Tn : m;
2136
+ } else return te(v) ? v : Tn;
2137
+ }
2138
+ };
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;
2140
+ }
2141
+ Ia();
2142
+ function Os() {
2143
+ return lr().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2144
+ }
2145
+ function lr() {
2146
+ return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2147
+ }
2148
+ const As = typeof Proxy == "function", vs = "devtools-plugin:setup", Cs = "plugin:settings:set";
2149
+ let ve, Pt;
2150
+ function Ds() {
2151
+ var e;
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;
2153
+ }
2154
+ function Ss() {
2155
+ return Ds() ? Pt.now() : Date.now();
2156
+ }
2157
+ class Ps {
2158
+ constructor(t, n) {
2159
+ this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
2160
+ const r = {};
2161
+ if (t.settings)
2162
+ for (const o in t.settings) {
2163
+ const i = t.settings[o];
2164
+ r[o] = i.defaultValue;
2165
+ }
2166
+ const a = `__vue-devtools-plugin-settings__${t.id}`;
2167
+ let s = Object.assign({}, r);
2168
+ try {
2169
+ const o = localStorage.getItem(a), i = JSON.parse(o);
2170
+ Object.assign(s, i);
2171
+ } catch {
2172
+ }
2173
+ this.fallbacks = {
2174
+ getSettings() {
2175
+ return s;
2176
+ },
2177
+ setSettings(o) {
2178
+ try {
2179
+ localStorage.setItem(a, JSON.stringify(o));
2180
+ } catch {
2181
+ }
2182
+ s = o;
2183
+ },
2184
+ now() {
2185
+ return Ss();
2186
+ }
2187
+ }, n && n.on(Cs, (o, i) => {
2188
+ o === this.plugin.id && this.fallbacks.setSettings(i);
2189
+ }), this.proxiedOn = new Proxy({}, {
2190
+ get: (o, i) => this.target ? this.target.on[i] : (...c) => {
2191
+ this.onQueue.push({
2192
+ method: i,
2193
+ args: c
2194
+ });
2195
+ }
2196
+ }), this.proxiedTarget = new Proxy({}, {
2197
+ get: (o, i) => this.target ? this.target[i] : i === "on" ? this.proxiedOn : Object.keys(this.fallbacks).includes(i) ? (...c) => (this.targetQueue.push({
2198
+ method: i,
2199
+ args: c,
2200
+ resolve: () => {
2201
+ }
2202
+ }), this.fallbacks[i](...c)) : (...c) => new Promise((E) => {
2203
+ this.targetQueue.push({
2204
+ method: i,
2205
+ args: c,
2206
+ resolve: E
2207
+ });
2208
+ })
2209
+ });
2210
+ }
2211
+ async setRealTarget(t) {
2212
+ this.target = t;
2213
+ for (const n of this.onQueue)
2214
+ this.target.on[n.method](...n.args);
2215
+ for (const n of this.targetQueue)
2216
+ n.resolve(await this.target[n.method](...n.args));
2217
+ }
2218
+ }
2219
+ function Fs(e, t) {
2220
+ const n = e, r = lr(), a = Os(), s = As && n.enableEarlyProxy;
2221
+ if (a && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !s))
2222
+ a.emit(vs, e, t);
2223
+ else {
2224
+ const o = s ? new Ps(n, a) : null;
2225
+ (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
2226
+ pluginDescriptor: n,
2227
+ setupFn: t,
2228
+ proxy: o
2229
+ }), o && t(o.proxiedTarget);
2230
+ }
2231
+ }
2232
+ const ys = "11.2.7";
2233
+ function ks() {
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);
2235
+ }
2236
+ const x = {
2237
+ // composer module errors
2238
+ UNEXPECTED_RETURN_TYPE: Ba,
2239
+ // 24
2240
+ // legacy module errors
2241
+ INVALID_ARGUMENT: 25,
2242
+ // i18n module errors
2243
+ MUST_BE_CALL_SETUP_TOP: 26,
2244
+ NOT_INSTALLED: 27,
2245
+ // directive module errors
2246
+ REQUIRED_VALUE: 28,
2247
+ INVALID_VALUE: 29,
2248
+ // vue-devtools errors
2249
+ CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: 30,
2250
+ NOT_INSTALLED_WITH_PROVIDE: 31,
2251
+ // unexpected error
2252
+ UNEXPECTED_ERROR: 32,
2253
+ // not compatible legacy vue-i18n constructor
2254
+ NOT_COMPATIBLE_LEGACY_VUE_I18N: 33,
2255
+ // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
2256
+ NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
2257
+ };
2258
+ function z(e, ...t) {
2259
+ return ke(e, null, process.env.NODE_ENV !== "production" ? { messages: Rs, args: t } : void 0);
2260
+ }
2261
+ const Rs = {
2262
+ [x.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
2263
+ [x.INVALID_ARGUMENT]: "Invalid argument",
2264
+ [x.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
2265
+ [x.NOT_INSTALLED]: "Need to install with `app.use` function",
2266
+ [x.UNEXPECTED_ERROR]: "Unexpected error",
2267
+ [x.REQUIRED_VALUE]: "Required in value: {0}",
2268
+ [x.INVALID_VALUE]: "Invalid value",
2269
+ [x.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
2270
+ [x.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2271
+ [x.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
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"
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 = {
2274
+ FALLBACK_TO_ROOT: za,
2275
+ // 8
2276
+ NOT_FOUND_PARENT_SCOPE: 9,
2277
+ IGNORE_OBJ_FLATTEN: 10,
2278
+ /**
2279
+ * @deprecated will be removed at vue-i18n v12
2280
+ */
2281
+ DEPRECATE_LEGACY_MODE: 11,
2282
+ /**
2283
+ * @deprecated will be removed at vue-i18n v12
2284
+ */
2285
+ DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12,
2286
+ // duplicate `useI18n` calling
2287
+ DUPLICATE_USE_I18N_CALLING: 13
2288
+ }, Ms = {
2289
+ [ne.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
2290
+ [ne.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
2291
+ [ne.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
2292
+ /**
2293
+ * @deprecated will be removed at vue-i18n v12
2294
+ */
2295
+ [ne.DEPRECATE_LEGACY_MODE]: `Legacy API mode has been deprecated in v11. Use Composition API mode instead.
2296
+ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,
2297
+ /**
2298
+ * @deprecated will be removed at vue-i18n v12
2299
+ */
2300
+ [ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
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."
2302
+ };
2303
+ function Fe(e, ...t) {
2304
+ return et(Ms[e], ...t);
2305
+ }
2306
+ function Ge(e) {
2307
+ if (!R(e) || re(e))
2308
+ return e;
2309
+ for (const t in e)
2310
+ if (se(e, t))
2311
+ if (!t.includes("."))
2312
+ R(e[t]) && Ge(e[t]);
2313
+ else {
2314
+ const n = t.split("."), r = n.length - 1;
2315
+ let a = e, s = !1;
2316
+ for (let o = 0; o < r; o++) {
2317
+ if (n[o] === "__proto__")
2318
+ throw new Error(`unsafe key: ${n[o]}`);
2319
+ if (n[o] in a || (a[n[o]] = $()), !R(a[n[o]])) {
2320
+ process.env.NODE_ENV !== "production" && ue(Fe(ne.IGNORE_OBJ_FLATTEN, {
2321
+ key: n[o]
2322
+ })), s = !0;
2323
+ break;
2324
+ }
2325
+ a = a[n[o]];
2326
+ }
2327
+ if (s || (re(a) ? jn.includes(n[r]) || delete e[t] : (a[n[r]] = e[t], delete e[t])), !re(a)) {
2328
+ const o = a[n[r]];
2329
+ R(o) && Ge(o);
2330
+ }
2331
+ }
2332
+ return e;
2333
+ }
2334
+ function Kt(e, t) {
2335
+ const { messages: n, __i18n: r, messageResolver: a, flatJson: s } = t, o = k(n) ? n : G(r) ? $() : { [e]: $() };
2336
+ if (G(r) && r.forEach((i) => {
2337
+ if ("locale" in i && "resource" in i) {
2338
+ const { locale: c, resource: E } = i;
2339
+ c ? (o[c] = o[c] || $(), Ze(E, o[c])) : Ze(E, o);
2340
+ } else
2341
+ I(i) && Ze(JSON.parse(i), o);
2342
+ }), a == null && s)
2343
+ for (const i in o)
2344
+ se(o, i) && Ge(o[i]);
2345
+ return o;
2346
+ }
2347
+ function cr(e) {
2348
+ return e.type;
2349
+ }
2350
+ function fr(e, t, n) {
2351
+ let r = R(t.messages) ? t.messages : $();
2352
+ "__i18nGlobal" in n && (r = Kt(e.locale.value, {
2353
+ messages: r,
2354
+ __i18n: n.__i18nGlobal
2355
+ }));
2356
+ const a = Object.keys(r);
2357
+ a.length && a.forEach((s) => {
2358
+ e.mergeLocaleMessage(s, r[s]);
2359
+ });
2360
+ {
2361
+ if (R(t.datetimeFormats)) {
2362
+ const s = Object.keys(t.datetimeFormats);
2363
+ s.length && s.forEach((o) => {
2364
+ e.mergeDateTimeFormat(o, t.datetimeFormats[o]);
2365
+ });
2366
+ }
2367
+ if (R(t.numberFormats)) {
2368
+ const s = Object.keys(t.numberFormats);
2369
+ s.length && s.forEach((o) => {
2370
+ e.mergeNumberFormat(o, t.numberFormats[o]);
2371
+ });
2372
+ }
2373
+ }
2374
+ }
2375
+ function In(e) {
2376
+ return Sr(Pr, null, e, 0);
2377
+ }
2378
+ function De() {
2379
+ const e = "currentInstance";
2380
+ return e in ht ? ht[e] : ht.getCurrentInstance();
2381
+ }
2382
+ const On = "__INTLIFY_META__", An = () => [], ws = () => !1;
2383
+ let vn = 0;
2384
+ function Cn(e) {
2385
+ return ((t, n, r, a) => e(n, r, De() || void 0, a));
2386
+ }
2387
+ const Us = /* @__NO_SIDE_EFFECTS__ */ () => {
2388
+ const e = De();
2389
+ let t = null;
2390
+ return e && (t = cr(e)[On]) ? { [On]: t } : null;
2391
+ };
2392
+ function jt(e = {}) {
2393
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, s = oe ? Ir : Or;
2394
+ let o = M(e.inheritLocale) ? e.inheritLocale : !0;
2395
+ const i = s(
2396
+ // prettier-ignore
2397
+ t && o ? t.locale.value : I(e.locale) ? e.locale : xe
2398
+ ), c = s(
2399
+ // prettier-ignore
2400
+ t && o ? t.fallbackLocale.value : I(e.fallbackLocale) || G(e.fallbackLocale) || k(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i.value
2401
+ ), E = s(Kt(i.value, e)), b = s(k(e.datetimeFormats) ? e.datetimeFormats : { [i.value]: {} }), L = s(k(e.numberFormats) ? e.numberFormats : { [i.value]: {} });
2402
+ let N = t ? t.missingWarn : M(e.missingWarn) || Se(e.missingWarn) ? e.missingWarn : !0, C = t ? t.fallbackWarn : M(e.fallbackWarn) || Se(e.fallbackWarn) ? e.fallbackWarn : !0, F = t ? t.fallbackRoot : M(e.fallbackRoot) ? e.fallbackRoot : !0, v = !!e.fallbackFormat, D = B(e.missing) ? e.missing : null, f = B(e.missing) ? Cn(e.missing) : null, m = B(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : M(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, d = !!e.escapeParameter;
2403
+ const O = t ? t.modifiers : k(e.modifiers) ? e.modifiers : {};
2404
+ let A = e.pluralRules || t && t.pluralRules, g;
2405
+ g = (() => {
2406
+ r && mn(null);
2407
+ const _ = {
2408
+ version: ys,
2409
+ locale: i.value,
2410
+ fallbackLocale: c.value,
2411
+ messages: E.value,
2412
+ modifiers: O,
2413
+ pluralRules: A,
2414
+ missing: f === null ? void 0 : f,
2415
+ missingWarn: N,
2416
+ fallbackWarn: C,
2417
+ fallbackFormat: v,
2418
+ unresolving: !0,
2419
+ postTranslation: m === null ? void 0 : m,
2420
+ warnHtmlMessage: T,
2421
+ escapeParameter: d,
2422
+ messageResolver: e.messageResolver,
2423
+ messageCompiler: e.messageCompiler,
2424
+ __meta: { framework: "vue" }
2425
+ };
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);
2427
+ const h = us(_);
2428
+ return r && mn(h), h;
2429
+ })(), Ve(g, i.value, c.value);
2430
+ function U() {
2431
+ return [
2432
+ i.value,
2433
+ c.value,
2434
+ E.value,
2435
+ b.value,
2436
+ L.value
2437
+ ];
2438
+ }
2439
+ const X = he({
2440
+ get: () => i.value,
2441
+ set: (_) => {
2442
+ g.locale = _, i.value = _;
2443
+ }
2444
+ }), ae = he({
2445
+ get: () => c.value,
2446
+ set: (_) => {
2447
+ g.fallbackLocale = _, c.value = _, Ve(g, i.value, _);
2448
+ }
2449
+ }), Y = he(() => E.value), Oe = /* @__PURE__ */ he(() => b.value), at = /* @__PURE__ */ he(() => L.value);
2450
+ function st() {
2451
+ return B(m) ? m : null;
2452
+ }
2453
+ function ot(_) {
2454
+ m = _, g.postTranslation = _;
2455
+ }
2456
+ function lt() {
2457
+ return D;
2458
+ }
2459
+ function it(_) {
2460
+ _ !== null && (f = Cn(_)), D = _, g.missing = f;
2461
+ }
2462
+ function ut(_, h) {
2463
+ return _ !== "translate" || !h.resolvedMessage;
2464
+ }
2465
+ const fe = (_, h, V, K, pe, je) => {
2466
+ U();
2467
+ let Ae;
2468
+ try {
2469
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (g.fallbackContext = t ? is() : void 0), Ae = _(g);
2470
+ } finally {
2471
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (g.fallbackContext = void 0);
2472
+ }
2473
+ if (V !== "translate exists" && // for not `te` (e.g `t`)
2474
+ j(Ae) && Ae === nt || V === "translate exists" && !Ae) {
2475
+ const [Ne, Lr] = h();
2476
+ if (process.env.NODE_ENV !== "production" && t && I(Ne) && ut(V, Lr) && (F && (rt(C, Ne) || er(N, Ne)) && ue(Fe(ne.FALLBACK_TO_ROOT, {
2477
+ key: Ne,
2478
+ type: V
2479
+ })), process.env.NODE_ENV !== "production")) {
2480
+ const { __v_emitter: Zt } = g;
2481
+ Zt && F && Zt.emit("fallback", {
2482
+ type: V,
2483
+ key: Ne,
2484
+ to: "global",
2485
+ groupId: `${V}:${Ne}`
2486
+ });
2487
+ }
2488
+ return t && F ? K(t) : pe(Ne);
2489
+ } else {
2490
+ if (je(Ae))
2491
+ return Ae;
2492
+ throw z(x.UNEXPECTED_RETURN_TYPE);
2493
+ }
2494
+ };
2495
+ function Re(..._) {
2496
+ return fe((h) => Reflect.apply(bn, null, [h, ..._]), () => St(..._), "translate", (h) => Reflect.apply(h.t, h, [..._]), (h) => h, (h) => I(h));
2497
+ }
2498
+ function ct(..._) {
2499
+ const [h, V, K] = _;
2500
+ if (K && !R(K))
2501
+ throw z(x.INVALID_ARGUMENT);
2502
+ return Re(h, V, J({ resolvedMessage: !0 }, K || {}));
2503
+ }
2504
+ function ft(..._) {
2505
+ return fe((h) => Reflect.apply(gn, null, [h, ..._]), () => Ct(..._), "datetime format", (h) => Reflect.apply(h.d, h, [..._]), () => ze, (h) => I(h) || G(h));
2506
+ }
2507
+ function _t(..._) {
2508
+ return fe((h) => Reflect.apply(Nn, null, [h, ..._]), () => Dt(..._), "number format", (h) => Reflect.apply(h.n, h, [..._]), () => ze, (h) => I(h) || G(h));
2509
+ }
2510
+ function mt(_) {
2511
+ return _.map((h) => I(h) || j(h) || M(h) ? In(String(h)) : h);
2512
+ }
2513
+ const dt = {
2514
+ normalize: mt,
2515
+ interpolate: (_) => _,
2516
+ type: "vnode"
2517
+ };
2518
+ function He(..._) {
2519
+ return fe((h) => {
2520
+ let V;
2521
+ const K = h;
2522
+ try {
2523
+ K.processor = dt, V = Reflect.apply(bn, null, [K, ..._]);
2524
+ } finally {
2525
+ K.processor = null;
2526
+ }
2527
+ return V;
2528
+ }, () => St(..._), "translate", (h) => h[Ft](..._), (h) => [In(h)], (h) => G(h));
2529
+ }
2530
+ function Et(..._) {
2531
+ return fe((h) => Reflect.apply(Nn, null, [h, ..._]), () => Dt(..._), "number format", (h) => h[kt](..._), An, (h) => I(h) || G(h));
2532
+ }
2533
+ function Ke(..._) {
2534
+ return fe((h) => Reflect.apply(gn, null, [h, ..._]), () => Ct(..._), "datetime format", (h) => h[yt](..._), An, (h) => I(h) || G(h));
2535
+ }
2536
+ function gt(_) {
2537
+ A = _, g.pluralRules = A;
2538
+ }
2539
+ function pt(_, h) {
2540
+ return fe(() => {
2541
+ if (!_)
2542
+ return !1;
2543
+ const V = I(h) ? h : i.value, K = ge(V), pe = g.messageResolver(K, _);
2544
+ return re(pe) || te(pe) || I(pe);
2545
+ }, () => [_], "translate exists", (V) => Reflect.apply(V.te, V, [_, h]), ws, (V) => M(V));
2546
+ }
2547
+ function Me(_) {
2548
+ let h = null;
2549
+ const V = Xn(g, c.value, i.value);
2550
+ for (let K = 0; K < V.length; K++) {
2551
+ const pe = E.value[V[K]] || {}, je = g.messageResolver(pe, _);
2552
+ if (je != null) {
2553
+ h = je;
2554
+ break;
2555
+ }
2556
+ }
2557
+ return h;
2558
+ }
2559
+ function we(_) {
2560
+ const h = Me(_);
2561
+ return h ?? (t ? t.tm(_) || {} : {});
2562
+ }
2563
+ function ge(_) {
2564
+ return E.value[_] || {};
2565
+ }
2566
+ function Ue(_, h) {
2567
+ if (a) {
2568
+ const V = { [_]: h };
2569
+ for (const K in V)
2570
+ se(V, K) && Ge(V[K]);
2571
+ h = V[_];
2572
+ }
2573
+ E.value[_] = h, g.messages = E.value;
2574
+ }
2575
+ function Nt(_, h) {
2576
+ E.value[_] = E.value[_] || {};
2577
+ const V = { [_]: h };
2578
+ if (a)
2579
+ for (const K in V)
2580
+ se(V, K) && Ge(V[K]);
2581
+ h = V[_], Ze(h, E.value[_]), g.messages = E.value;
2582
+ }
2583
+ function l(_) {
2584
+ return b.value[_] || {};
2585
+ }
2586
+ function u(_, h) {
2587
+ b.value[_] = h, g.datetimeFormats = b.value, pn(g, _, h);
2588
+ }
2589
+ function p(_, h) {
2590
+ b.value[_] = J(b.value[_] || {}, h), g.datetimeFormats = b.value, pn(g, _, h);
2591
+ }
2592
+ function S(_) {
2593
+ return L.value[_] || {};
2594
+ }
2595
+ function W(_, h) {
2596
+ L.value[_] = h, g.numberFormats = L.value, hn(g, _, h);
2597
+ }
2598
+ function H(_, h) {
2599
+ L.value[_] = J(L.value[_] || {}, h), g.numberFormats = L.value, hn(g, _, h);
2600
+ }
2601
+ vn++, t && oe && (Ot(t.locale, (_) => {
2602
+ o && (i.value = _, g.locale = _, Ve(g, i.value, c.value));
2603
+ }), Ot(t.fallbackLocale, (_) => {
2604
+ o && (c.value = _, g.fallbackLocale = _, Ve(g, i.value, c.value));
2605
+ }));
2606
+ const w = {
2607
+ id: vn,
2608
+ locale: X,
2609
+ fallbackLocale: ae,
2610
+ get inheritLocale() {
2611
+ return o;
2612
+ },
2613
+ set inheritLocale(_) {
2614
+ o = _, _ && t && (i.value = t.locale.value, c.value = t.fallbackLocale.value, Ve(g, i.value, c.value));
2615
+ },
2616
+ get availableLocales() {
2617
+ return Object.keys(E.value).sort();
2618
+ },
2619
+ messages: Y,
2620
+ get modifiers() {
2621
+ return O;
2622
+ },
2623
+ get pluralRules() {
2624
+ return A || {};
2625
+ },
2626
+ get isGlobal() {
2627
+ return r;
2628
+ },
2629
+ get missingWarn() {
2630
+ return N;
2631
+ },
2632
+ set missingWarn(_) {
2633
+ N = _, g.missingWarn = N;
2634
+ },
2635
+ get fallbackWarn() {
2636
+ return C;
2637
+ },
2638
+ set fallbackWarn(_) {
2639
+ C = _, g.fallbackWarn = C;
2640
+ },
2641
+ get fallbackRoot() {
2642
+ return F;
2643
+ },
2644
+ set fallbackRoot(_) {
2645
+ F = _;
2646
+ },
2647
+ get fallbackFormat() {
2648
+ return v;
2649
+ },
2650
+ set fallbackFormat(_) {
2651
+ v = _, g.fallbackFormat = v;
2652
+ },
2653
+ get warnHtmlMessage() {
2654
+ return T;
2655
+ },
2656
+ set warnHtmlMessage(_) {
2657
+ T = _, g.warnHtmlMessage = _;
2658
+ },
2659
+ get escapeParameter() {
2660
+ return d;
2661
+ },
2662
+ set escapeParameter(_) {
2663
+ d = _, g.escapeParameter = _;
2664
+ },
2665
+ t: Re,
2666
+ getLocaleMessage: ge,
2667
+ setLocaleMessage: Ue,
2668
+ mergeLocaleMessage: Nt,
2669
+ getPostTranslationHandler: st,
2670
+ setPostTranslationHandler: ot,
2671
+ getMissingHandler: lt,
2672
+ setMissingHandler: it,
2673
+ [ir]: gt
2674
+ };
2675
+ return w.datetimeFormats = Oe, w.numberFormats = at, w.rt = ct, w.te = pt, w.tm = we, w.d = ft, w.n = _t, w.getDateTimeFormat = l, w.setDateTimeFormat = u, w.mergeDateTimeFormat = p, w.getNumberFormat = S, w.setNumberFormat = W, w.mergeNumberFormat = H, w[ur] = n, w[Ft] = He, w[yt] = Ke, w[kt] = Et, process.env.NODE_ENV !== "production" && (w[Ie] = (_) => {
2676
+ g.__v_emitter = _;
2677
+ }, w[We] = () => {
2678
+ g.__v_emitter = void 0;
2679
+ }), w;
2680
+ }
2681
+ const _r = "vue-i18n: composer properties", It = {
2682
+ "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
2683
+ "vue-i18n-resource-inspector": "Vue I18n DevTools",
2684
+ "vue-i18n-timeline": "Vue I18n"
2685
+ }, Vs = {
2686
+ "vue-i18n-resource-inspector": "Search for scopes ..."
2687
+ }, $s = {
2688
+ "vue-i18n-timeline": 16764185
2689
+ };
2690
+ let Mt;
2691
+ async function Bs(e, t) {
2692
+ return new Promise((n, r) => {
2693
+ try {
2694
+ Fs({
2695
+ id: "vue-devtools-plugin-vue-i18n",
2696
+ label: It["vue-devtools-plugin-vue-i18n"],
2697
+ packageName: "vue-i18n",
2698
+ homepage: "https://vue-i18n.intlify.dev",
2699
+ logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
2700
+ componentStateTypes: [_r],
2701
+ app: e
2702
+ // eslint-disable-line @typescript-eslint/no-explicit-any
2703
+ }, (a) => {
2704
+ Mt = a, a.on.visitComponentTree(({ componentInstance: o, treeNode: i }) => {
2705
+ xs(o, i, t);
2706
+ }), a.on.inspectComponent(({ componentInstance: o, instanceData: i }) => {
2707
+ o.__VUE_I18N__ && i && (t.mode === "legacy" ? o.__VUE_I18N__ !== t.global.__composer && Dn(i, o.__VUE_I18N__) : Dn(i, o.__VUE_I18N__));
2708
+ }), a.addInspector({
2709
+ id: "vue-i18n-resource-inspector",
2710
+ label: It["vue-i18n-resource-inspector"],
2711
+ icon: "language",
2712
+ treeFilterPlaceholder: Vs["vue-i18n-resource-inspector"]
2713
+ }), a.on.getInspectorTree((o) => {
2714
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && Ks(o, t);
2715
+ });
2716
+ const s = /* @__PURE__ */ new Map();
2717
+ a.on.getInspectorState(async (o) => {
2718
+ if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
2719
+ if (a.unhighlightElement(), Xs(o, t), o.nodeId === "global") {
2720
+ if (!s.has(o.app)) {
2721
+ const [i] = await a.getComponentInstances(o.app);
2722
+ s.set(o.app, i);
2723
+ }
2724
+ a.highlightElement(s.get(o.app));
2725
+ } else {
2726
+ const i = js(o.nodeId, t);
2727
+ i && a.highlightElement(i);
2728
+ }
2729
+ }), a.on.editInspectorState((o) => {
2730
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && Qs(o, t);
2731
+ }), a.addTimelineLayer({
2732
+ id: "vue-i18n-timeline",
2733
+ label: It["vue-i18n-timeline"],
2734
+ color: $s["vue-i18n-timeline"]
2735
+ }), n(!0);
2736
+ });
2737
+ } catch (a) {
2738
+ console.error(a), r(!1);
2739
+ }
2740
+ });
2741
+ }
2742
+ function mr(e) {
2743
+ return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
2744
+ }
2745
+ function xs(e, t, n) {
2746
+ const r = n.mode === "composition" ? n.global : n.global.__composer;
2747
+ if (e && e.__VUE_I18N__ && e.__VUE_I18N__ !== r) {
2748
+ const a = {
2749
+ label: `i18n (${mr(e)} Scope)`,
2750
+ textColor: 0,
2751
+ backgroundColor: 16764185
2752
+ };
2753
+ t.tags.push(a);
2754
+ }
2755
+ }
2756
+ function Dn(e, t) {
2757
+ const n = _r;
2758
+ e.state.push({
2759
+ type: n,
2760
+ key: "locale",
2761
+ editable: !0,
2762
+ value: t.locale.value
2763
+ }), e.state.push({
2764
+ type: n,
2765
+ key: "availableLocales",
2766
+ editable: !1,
2767
+ value: t.availableLocales
2768
+ }), e.state.push({
2769
+ type: n,
2770
+ key: "fallbackLocale",
2771
+ editable: !0,
2772
+ value: t.fallbackLocale.value
2773
+ }), e.state.push({
2774
+ type: n,
2775
+ key: "inheritLocale",
2776
+ editable: !0,
2777
+ value: t.inheritLocale
2778
+ }), e.state.push({
2779
+ type: n,
2780
+ key: "messages",
2781
+ editable: !1,
2782
+ value: Xt(t.messages.value)
2783
+ }), e.state.push({
2784
+ type: n,
2785
+ key: "datetimeFormats",
2786
+ editable: !1,
2787
+ value: t.datetimeFormats.value
2788
+ }), e.state.push({
2789
+ type: n,
2790
+ key: "numberFormats",
2791
+ editable: !1,
2792
+ value: t.numberFormats.value
2793
+ });
2794
+ }
2795
+ function Xt(e) {
2796
+ const t = {};
2797
+ return Object.keys(e).forEach((n) => {
2798
+ const r = e[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;
2800
+ }), t;
2801
+ }
2802
+ const Ws = {
2803
+ "<": "&lt;",
2804
+ ">": "&gt;",
2805
+ '"': "&quot;",
2806
+ "&": "&amp;"
2807
+ };
2808
+ function Gs(e) {
2809
+ return e.replace(/[<>"&]/g, Ys);
2810
+ }
2811
+ function Ys(e) {
2812
+ return Ws[e] || e;
2813
+ }
2814
+ function Hs(e) {
2815
+ return {
2816
+ _custom: {
2817
+ type: "function",
2818
+ display: `<span>ƒ</span> ${e.source ? `("${Gs(e.source)}")` : "(?)"}`
2819
+ }
2820
+ };
2821
+ }
2822
+ function Ks(e, t) {
2823
+ e.rootNodes.push({
2824
+ id: "global",
2825
+ label: "Global Scope"
2826
+ });
2827
+ const n = t.mode === "composition" ? t.global : t.global.__composer;
2828
+ for (const [r, a] of t.__instances) {
2829
+ const s = t.mode === "composition" ? a : a.__composer;
2830
+ n !== s && e.rootNodes.push({
2831
+ id: s.id.toString(),
2832
+ label: `${mr(r)} Scope`
2833
+ });
2834
+ }
2835
+ }
2836
+ function js(e, t) {
2837
+ let n = null;
2838
+ if (e !== "global") {
2839
+ for (const [r, a] of t.__instances.entries())
2840
+ if (a.id.toString() === e) {
2841
+ n = r;
2842
+ break;
2843
+ }
2844
+ }
2845
+ return n;
2846
+ }
2847
+ function dr(e, t) {
2848
+ if (e === "global")
2849
+ return t.mode === "composition" ? t.global : t.global.__composer;
2850
+ {
2851
+ const n = Array.from(t.__instances.values()).find((r) => r.id.toString() === e);
2852
+ return n ? t.mode === "composition" ? n : n.__composer : null;
2853
+ }
2854
+ }
2855
+ function Xs(e, t) {
2856
+ const n = dr(e.nodeId, t);
2857
+ return n && (e.state = Js(n)), null;
2858
+ }
2859
+ function Js(e) {
2860
+ const t = {}, n = "Locale related info", r = [
2861
+ {
2862
+ type: n,
2863
+ key: "locale",
2864
+ editable: !0,
2865
+ value: e.locale.value
2866
+ },
2867
+ {
2868
+ type: n,
2869
+ key: "fallbackLocale",
2870
+ editable: !0,
2871
+ value: e.fallbackLocale.value
2872
+ },
2873
+ {
2874
+ type: n,
2875
+ key: "availableLocales",
2876
+ editable: !1,
2877
+ value: e.availableLocales
2878
+ },
2879
+ {
2880
+ type: n,
2881
+ key: "inheritLocale",
2882
+ editable: !0,
2883
+ value: e.inheritLocale
2884
+ }
2885
+ ];
2886
+ t[n] = r;
2887
+ const a = "Locale messages info", s = [
2888
+ {
2889
+ type: a,
2890
+ key: "messages",
2891
+ editable: !1,
2892
+ value: Xt(e.messages.value)
2893
+ }
2894
+ ];
2895
+ t[a] = s;
2896
+ {
2897
+ const o = "Datetime formats info", i = [
2898
+ {
2899
+ type: o,
2900
+ key: "datetimeFormats",
2901
+ editable: !1,
2902
+ value: e.datetimeFormats.value
2903
+ }
2904
+ ];
2905
+ t[o] = i;
2906
+ const c = "Datetime formats info", E = [
2907
+ {
2908
+ type: c,
2909
+ key: "numberFormats",
2910
+ editable: !1,
2911
+ value: e.numberFormats.value
2912
+ }
2913
+ ];
2914
+ t[c] = E;
2915
+ }
2916
+ return t;
2917
+ }
2918
+ function Ye(e, t) {
2919
+ if (Mt) {
2920
+ let n;
2921
+ t && "groupId" in t && (n = t.groupId, delete t.groupId), Mt.addTimelineEvent({
2922
+ layerId: "vue-i18n-timeline",
2923
+ event: {
2924
+ title: e,
2925
+ groupId: n,
2926
+ time: Date.now(),
2927
+ meta: {},
2928
+ data: t || {},
2929
+ logType: e === "compile-error" ? "error" : e === "fallback" || e === "missing" ? "warning" : "default"
2930
+ }
2931
+ });
2932
+ }
2933
+ }
2934
+ function Qs(e, t) {
2935
+ const n = dr(e.nodeId, t);
2936
+ if (n) {
2937
+ const [r] = e.path;
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);
2939
+ }
2940
+ }
2941
+ function qs(e) {
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;
2943
+ let F = e.messages;
2944
+ if (k(e.sharedMessages)) {
2945
+ const O = e.sharedMessages;
2946
+ F = Object.keys(O).reduce((g, y) => {
2947
+ const U = g[y] || (g[y] = {});
2948
+ return J(U, O[y]), g;
2949
+ }, F || {});
2950
+ }
2951
+ const { __i18n: v, __root: D, __injectWithOption: f } = e, m = e.datetimeFormats, T = e.numberFormats, d = e.flatJson;
2952
+ return {
2953
+ locale: t,
2954
+ fallbackLocale: n,
2955
+ messages: F,
2956
+ flatJson: d,
2957
+ datetimeFormats: m,
2958
+ numberFormats: T,
2959
+ missing: r,
2960
+ missingWarn: a,
2961
+ fallbackWarn: s,
2962
+ fallbackRoot: o,
2963
+ fallbackFormat: i,
2964
+ modifiers: c,
2965
+ pluralRules: E,
2966
+ postTranslation: b,
2967
+ warnHtmlMessage: L,
2968
+ escapeParameter: N,
2969
+ messageResolver: e.messageResolver,
2970
+ inheritLocale: C,
2971
+ __i18n: v,
2972
+ __root: D,
2973
+ __injectWithOption: f
2974
+ };
2975
+ }
2976
+ function wt(e = {}) {
2977
+ const t = jt(qs(e)), { __extender: n } = e, r = {
2978
+ // id
2979
+ id: t.id,
2980
+ // locale
2981
+ get locale() {
2982
+ return t.locale.value;
2983
+ },
2984
+ set locale(a) {
2985
+ t.locale.value = a;
2986
+ },
2987
+ // fallbackLocale
2988
+ get fallbackLocale() {
2989
+ return t.fallbackLocale.value;
2990
+ },
2991
+ set fallbackLocale(a) {
2992
+ t.fallbackLocale.value = a;
2993
+ },
2994
+ // messages
2995
+ get messages() {
2996
+ return t.messages.value;
2997
+ },
2998
+ // datetimeFormats
2999
+ get datetimeFormats() {
3000
+ return t.datetimeFormats.value;
3001
+ },
3002
+ // numberFormats
3003
+ get numberFormats() {
3004
+ return t.numberFormats.value;
3005
+ },
3006
+ // availableLocales
3007
+ get availableLocales() {
3008
+ return t.availableLocales;
3009
+ },
3010
+ // missing
3011
+ get missing() {
3012
+ return t.getMissingHandler();
3013
+ },
3014
+ set missing(a) {
3015
+ t.setMissingHandler(a);
3016
+ },
3017
+ // silentTranslationWarn
3018
+ get silentTranslationWarn() {
3019
+ return M(t.missingWarn) ? !t.missingWarn : t.missingWarn;
3020
+ },
3021
+ set silentTranslationWarn(a) {
3022
+ t.missingWarn = M(a) ? !a : a;
3023
+ },
3024
+ // silentFallbackWarn
3025
+ get silentFallbackWarn() {
3026
+ return M(t.fallbackWarn) ? !t.fallbackWarn : t.fallbackWarn;
3027
+ },
3028
+ set silentFallbackWarn(a) {
3029
+ t.fallbackWarn = M(a) ? !a : a;
3030
+ },
3031
+ // modifiers
3032
+ get modifiers() {
3033
+ return t.modifiers;
3034
+ },
3035
+ // formatFallbackMessages
3036
+ get formatFallbackMessages() {
3037
+ return t.fallbackFormat;
3038
+ },
3039
+ set formatFallbackMessages(a) {
3040
+ t.fallbackFormat = a;
3041
+ },
3042
+ // postTranslation
3043
+ get postTranslation() {
3044
+ return t.getPostTranslationHandler();
3045
+ },
3046
+ set postTranslation(a) {
3047
+ t.setPostTranslationHandler(a);
3048
+ },
3049
+ // sync
3050
+ get sync() {
3051
+ return t.inheritLocale;
3052
+ },
3053
+ set sync(a) {
3054
+ t.inheritLocale = a;
3055
+ },
3056
+ // warnInHtmlMessage
3057
+ get warnHtmlInMessage() {
3058
+ return t.warnHtmlMessage ? "warn" : "off";
3059
+ },
3060
+ set warnHtmlInMessage(a) {
3061
+ t.warnHtmlMessage = a !== "off";
3062
+ },
3063
+ // escapeParameterHtml
3064
+ get escapeParameterHtml() {
3065
+ return t.escapeParameter;
3066
+ },
3067
+ set escapeParameterHtml(a) {
3068
+ t.escapeParameter = a;
3069
+ },
3070
+ // pluralizationRules
3071
+ get pluralizationRules() {
3072
+ return t.pluralRules || {};
3073
+ },
3074
+ // for internal
3075
+ __composer: t,
3076
+ // t
3077
+ t(...a) {
3078
+ return Reflect.apply(t.t, t, [...a]);
3079
+ },
3080
+ // rt
3081
+ rt(...a) {
3082
+ return Reflect.apply(t.rt, t, [...a]);
3083
+ },
3084
+ // te
3085
+ te(a, s) {
3086
+ return t.te(a, s);
3087
+ },
3088
+ // tm
3089
+ tm(a) {
3090
+ return t.tm(a);
3091
+ },
3092
+ // getLocaleMessage
3093
+ getLocaleMessage(a) {
3094
+ return t.getLocaleMessage(a);
3095
+ },
3096
+ // setLocaleMessage
3097
+ setLocaleMessage(a, s) {
3098
+ t.setLocaleMessage(a, s);
3099
+ },
3100
+ // mergeLocaleMessage
3101
+ mergeLocaleMessage(a, s) {
3102
+ t.mergeLocaleMessage(a, s);
3103
+ },
3104
+ // d
3105
+ d(...a) {
3106
+ return Reflect.apply(t.d, t, [...a]);
3107
+ },
3108
+ // getDateTimeFormat
3109
+ getDateTimeFormat(a) {
3110
+ return t.getDateTimeFormat(a);
3111
+ },
3112
+ // setDateTimeFormat
3113
+ setDateTimeFormat(a, s) {
3114
+ t.setDateTimeFormat(a, s);
3115
+ },
3116
+ // mergeDateTimeFormat
3117
+ mergeDateTimeFormat(a, s) {
3118
+ t.mergeDateTimeFormat(a, s);
3119
+ },
3120
+ // n
3121
+ n(...a) {
3122
+ return Reflect.apply(t.n, t, [...a]);
3123
+ },
3124
+ // getNumberFormat
3125
+ getNumberFormat(a) {
3126
+ return t.getNumberFormat(a);
3127
+ },
3128
+ // setNumberFormat
3129
+ setNumberFormat(a, s) {
3130
+ t.setNumberFormat(a, s);
3131
+ },
3132
+ // mergeNumberFormat
3133
+ mergeNumberFormat(a, s) {
3134
+ t.mergeNumberFormat(a, s);
3135
+ }
3136
+ };
3137
+ return r.__extender = n, process.env.NODE_ENV !== "production" && (r.__enableEmitter = (a) => {
3138
+ const s = t;
3139
+ s[Ie] && s[Ie](a);
3140
+ }, r.__disableEmitter = () => {
3141
+ const a = t;
3142
+ a[We] && a[We]();
3143
+ }), r;
3144
+ }
3145
+ function Zs(e, t, n) {
3146
+ return {
3147
+ beforeCreate() {
3148
+ const r = De();
3149
+ if (!r)
3150
+ throw z(x.UNEXPECTED_ERROR);
3151
+ const a = this.$options;
3152
+ if (a.i18n) {
3153
+ const s = a.i18n;
3154
+ if (a.__i18n && (s.__i18n = a.__i18n), s.__root = t, this === this.$root)
3155
+ this.$i18n = Sn(e, s);
3156
+ else {
3157
+ s.__injectWithOption = !0, s.__extender = n.__vueI18nExtend, this.$i18n = wt(s);
3158
+ const o = this.$i18n;
3159
+ o.__extender && (o.__disposer = o.__extender(this.$i18n));
3160
+ }
3161
+ } else if (a.__i18n)
3162
+ if (this === this.$root)
3163
+ this.$i18n = Sn(e, a);
3164
+ else {
3165
+ this.$i18n = wt({
3166
+ __i18n: a.__i18n,
3167
+ __injectWithOption: !0,
3168
+ __extender: n.__vueI18nExtend,
3169
+ __root: t
3170
+ });
3171
+ const s = this.$i18n;
3172
+ s.__extender && (s.__disposer = s.__extender(this.$i18n));
3173
+ }
3174
+ else
3175
+ this.$i18n = e;
3176
+ a.__i18nGlobal && fr(t, a, a), this.$t = (...s) => this.$i18n.t(...s), this.$rt = (...s) => this.$i18n.rt(...s), this.$te = (s, o) => this.$i18n.te(s, o), this.$d = (...s) => this.$i18n.d(...s), this.$n = (...s) => this.$i18n.n(...s), this.$tm = (s) => this.$i18n.tm(s), n.__setInstance(r, this.$i18n);
3177
+ },
3178
+ mounted() {
3179
+ if (process.env.NODE_ENV !== "production" && this.$i18n) {
3180
+ const r = De();
3181
+ if (!r)
3182
+ return;
3183
+ const a = this.$i18n;
3184
+ r.__VUE_I18N__ = a.__composer;
3185
+ const s = this.__v_emitter = xt();
3186
+ a.__enableEmitter && a.__enableEmitter(s), s.on("*", Ye);
3187
+ }
3188
+ },
3189
+ unmounted() {
3190
+ const r = De();
3191
+ if (!r)
3192
+ throw z(x.UNEXPECTED_ERROR);
3193
+ const a = this.$i18n;
3194
+ process.env.NODE_ENV !== "production" && r.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", Ye), delete this.__v_emitter), this.$i18n && (a.__disableEmitter && a.__disableEmitter(), delete r.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, a.__disposer && (a.__disposer(), delete a.__disposer, delete a.__extender), n.__deleteInstance(r), delete this.$i18n;
3195
+ }
3196
+ };
3197
+ }
3198
+ function Sn(e, t) {
3199
+ e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[ir](t.pluralizationRules || e.pluralizationRules);
3200
+ const n = Kt(e.locale, {
3201
+ messages: t.messages,
3202
+ __i18n: t.__i18n
3203
+ });
3204
+ return Object.keys(n).forEach((r) => e.mergeLocaleMessage(r, n[r])), t.datetimeFormats && Object.keys(t.datetimeFormats).forEach((r) => e.mergeDateTimeFormat(r, t.datetimeFormats[r])), t.numberFormats && Object.keys(t.numberFormats).forEach((r) => e.mergeNumberFormat(r, t.numberFormats[r])), e;
3205
+ }
3206
+ const Jt = {
3207
+ tag: {
3208
+ type: [String, Object]
3209
+ },
3210
+ locale: {
3211
+ type: String
3212
+ },
3213
+ scope: {
3214
+ type: String,
3215
+ // NOTE: avoid https://github.com/microsoft/rushstack/issues/1050
3216
+ validator: (e) => e === "parent" || e === "global",
3217
+ default: "parent"
3218
+ /* ComponentI18nScope */
3219
+ },
3220
+ i18n: {
3221
+ type: Object
3222
+ }
3223
+ };
3224
+ function zs({ slots: e }, t) {
3225
+ return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, a) => [
3226
+ ...r,
3227
+ // prettier-ignore
3228
+ ...a.type === Un ? a.children : [a]
3229
+ ], []) : t.reduce((n, r) => {
3230
+ const a = e[r];
3231
+ return a && (n[r] = a()), n;
3232
+ }, $());
3233
+ }
3234
+ function Er() {
3235
+ return Un;
3236
+ }
3237
+ const eo = /* @__PURE__ */ Ut({
3238
+ /* eslint-disable */
3239
+ name: "i18n-t",
3240
+ props: J({
3241
+ keypath: {
3242
+ type: String,
3243
+ required: !0
3244
+ },
3245
+ plural: {
3246
+ type: [Number, String],
3247
+ validator: (e) => j(e) || !isNaN(e)
3248
+ }
3249
+ }, Jt),
3250
+ /* eslint-enable */
3251
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3252
+ setup(e, t) {
3253
+ const { slots: n, attrs: r } = t, a = e.i18n || Qt({
3254
+ useScope: e.scope,
3255
+ __useComponent: !0
3256
+ });
3257
+ return () => {
3258
+ const s = Object.keys(n).filter((L) => L[0] !== "_"), o = $();
3259
+ e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = I(e.plural) ? +e.plural : e.plural);
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();
3261
+ return wn(b, E, c);
3262
+ };
3263
+ }
3264
+ }), Pn = eo;
3265
+ function to(e) {
3266
+ return G(e) && !I(e[0]);
3267
+ }
3268
+ function gr(e, t, n, r) {
3269
+ const { slots: a, attrs: s } = t;
3270
+ return () => {
3271
+ const o = { part: !0 };
3272
+ let i = $();
3273
+ e.locale && (o.locale = e.locale), I(e.format) ? o.key = e.format : R(e.format) && (I(e.format.key) && (o.key = e.format.key), i = Object.keys(e.format).reduce((N, C) => n.includes(C) ? J($(), N, { [C]: e.format[C] }) : N, $()));
3274
+ const c = r(e.value, o, i);
3275
+ let E = [o.key];
3276
+ G(c) ? E = c.map((N, C) => {
3277
+ const F = a[N.type], v = F ? F({ [N.type]: N.value, index: C, parts: c }) : [N.value];
3278
+ return to(v) && (v[0].key = `${N.type}-${C}`), v;
3279
+ }) : I(c) && (E = [c]);
3280
+ const b = J($(), s), L = I(e.tag) || R(e.tag) ? e.tag : Er();
3281
+ return wn(L, b, E);
3282
+ };
3283
+ }
3284
+ const no = /* @__PURE__ */ Ut({
3285
+ /* eslint-disable */
3286
+ name: "i18n-n",
3287
+ props: J({
3288
+ value: {
3289
+ type: Number,
3290
+ required: !0
3291
+ },
3292
+ format: {
3293
+ type: [String, Object]
3294
+ }
3295
+ }, Jt),
3296
+ /* eslint-enable */
3297
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3298
+ setup(e, t) {
3299
+ const n = e.i18n || Qt({
3300
+ useScope: e.scope,
3301
+ __useComponent: !0
3302
+ });
3303
+ return gr(e, t, ar, (...r) => (
3304
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3305
+ n[kt](...r)
3306
+ ));
3307
+ }
3308
+ }), Fn = no;
3309
+ function ro(e, t) {
3310
+ const n = e;
3311
+ if (e.mode === "composition")
3312
+ return n.__getInstance(t) || e.global;
3313
+ {
3314
+ const r = n.__getInstance(t);
3315
+ return r != null ? r.__composer : e.global.__composer;
3316
+ }
3317
+ }
3318
+ function ao(e) {
3319
+ const t = (o) => {
3320
+ process.env.NODE_ENV !== "production" && Vt(Fe(ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3321
+ const { instance: i, value: c } = o;
3322
+ if (!i || !i.$)
3323
+ throw z(x.UNEXPECTED_ERROR);
3324
+ const E = ro(e, i.$), b = yn(c);
3325
+ return [
3326
+ Reflect.apply(E.t, E, [...kn(b)]),
3327
+ E
3328
+ ];
3329
+ };
3330
+ return {
3331
+ created: (o, i) => {
3332
+ const [c, E] = t(i);
3333
+ oe && e.global === E && (o.__i18nWatcher = Ot(E.locale, () => {
3334
+ i.instance && i.instance.$forceUpdate();
3335
+ })), o.__composer = E, o.textContent = c;
3336
+ },
3337
+ unmounted: (o) => {
3338
+ oe && o.__i18nWatcher && (o.__i18nWatcher(), o.__i18nWatcher = void 0, delete o.__i18nWatcher), o.__composer && (o.__composer = void 0, delete o.__composer);
3339
+ },
3340
+ beforeUpdate: (o, { value: i }) => {
3341
+ if (o.__composer) {
3342
+ const c = o.__composer, E = yn(i);
3343
+ o.textContent = Reflect.apply(c.t, c, [
3344
+ ...kn(E)
3345
+ ]);
3346
+ }
3347
+ },
3348
+ getSSRProps: (o) => {
3349
+ const [i] = t(o);
3350
+ return { textContent: i };
3351
+ }
3352
+ };
3353
+ }
3354
+ function yn(e) {
3355
+ if (I(e))
3356
+ return { path: e };
3357
+ if (k(e)) {
3358
+ if (!("path" in e))
3359
+ throw z(x.REQUIRED_VALUE, "path");
3360
+ return e;
3361
+ } else
3362
+ throw z(x.INVALID_VALUE);
3363
+ }
3364
+ function kn(e) {
3365
+ const { path: t, locale: n, args: r, choice: a, plural: s } = e, o = {}, i = r || {};
3366
+ return I(n) && (o.locale = n), j(a) && (o.plural = a), j(s) && (o.plural = s), [t, i, o];
3367
+ }
3368
+ function so(e, t, ...n) {
3369
+ const r = k(n[0]) ? n[0] : {};
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));
3371
+ }
3372
+ const oo = /* @__PURE__ */ ce("global-vue-i18n");
3373
+ function lo(e = {}) {
3374
+ const t = __VUE_I18N_LEGACY_API__ && M(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3375
+ process.env.NODE_ENV !== "production" && t && Vt(Fe(ne.DEPRECATE_LEGACY_MODE));
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" : "");
3377
+ function i(L) {
3378
+ return r.get(L) || null;
3379
+ }
3380
+ function c(L, N) {
3381
+ r.set(L, N);
3382
+ }
3383
+ function E(L) {
3384
+ r.delete(L);
3385
+ }
3386
+ const b = {
3387
+ // mode
3388
+ get mode() {
3389
+ return __VUE_I18N_LEGACY_API__ && t ? "legacy" : "composition";
3390
+ },
3391
+ // install plugin
3392
+ async install(L, ...N) {
3393
+ if (process.env.NODE_ENV !== "production" && (L.__VUE_I18N__ = b), L.__VUE_I18N_SYMBOL__ = o, L.provide(L.__VUE_I18N_SYMBOL__, b), k(N[0])) {
3394
+ const v = N[0];
3395
+ b.__composerExtend = v.__composerExtend, b.__vueI18nExtend = v.__vueI18nExtend;
3396
+ }
3397
+ let C = null;
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));
3399
+ const F = L.unmount;
3400
+ if (L.unmount = () => {
3401
+ C && C(), b.dispose(), F();
3402
+ }, process.env.NODE_ENV !== "production") {
3403
+ if (!await Bs(L, b))
3404
+ throw z(x.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
3405
+ const D = xt();
3406
+ if (t) {
3407
+ const f = s;
3408
+ f.__enableEmitter && f.__enableEmitter(D);
3409
+ } else {
3410
+ const f = s;
3411
+ f[Ie] && f[Ie](D);
3412
+ }
3413
+ D.on("*", Ye);
3414
+ }
3415
+ },
3416
+ // global accessor
3417
+ get global() {
3418
+ return s;
3419
+ },
3420
+ dispose() {
3421
+ a.stop();
3422
+ },
3423
+ // @internal
3424
+ __instances: r,
3425
+ // @internal
3426
+ __getInstance: i,
3427
+ // @internal
3428
+ __setInstance: c,
3429
+ // @internal
3430
+ __deleteInstance: E
3431
+ };
3432
+ return b;
3433
+ }
3434
+ function Qt(e = {}) {
3435
+ const t = De();
3436
+ if (t == null)
3437
+ throw z(x.MUST_BE_CALL_SETUP_TOP);
3438
+ if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
3439
+ throw z(x.NOT_INSTALLED);
3440
+ const n = uo(t), r = fo(n), a = cr(t), s = co(e, a);
3441
+ if (s === "global")
3442
+ return fr(r, e, a), r;
3443
+ if (s === "parent") {
3444
+ let c = _o(n, t, e.__useComponent);
3445
+ return c == null && (process.env.NODE_ENV !== "production" && ue(Fe(ne.NOT_FOUND_PARENT_SCOPE)), c = r), c;
3446
+ }
3447
+ const o = n;
3448
+ let i = o.__getInstance(t);
3449
+ if (i == null) {
3450
+ const c = J({}, e);
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);
3452
+ } else
3453
+ process.env.NODE_ENV !== "production" && s === "local" && ue(Fe(ne.DUPLICATE_USE_I18N_CALLING));
3454
+ return i;
3455
+ }
3456
+ function io(e, t) {
3457
+ const n = br(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => wt(e)) : n.run(() => jt(e));
3458
+ if (r == null)
3459
+ throw z(x.UNEXPECTED_ERROR);
3460
+ return [n, r];
3461
+ }
3462
+ function uo(e) {
3463
+ const t = vr(e.isCE ? oo : e.appContext.app.__VUE_I18N_SYMBOL__);
3464
+ if (!t)
3465
+ throw z(e.isCE ? x.NOT_INSTALLED_WITH_PROVIDE : x.UNEXPECTED_ERROR);
3466
+ return t;
3467
+ }
3468
+ function co(e, t) {
3469
+ return tt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
3470
+ }
3471
+ function fo(e) {
3472
+ return e.mode === "composition" ? e.global : e.global.__composer;
3473
+ }
3474
+ function _o(e, t, n = !1) {
3475
+ let r = null;
3476
+ const a = t.root;
3477
+ let s = mo(t, n);
3478
+ for (; s != null; ) {
3479
+ const o = e;
3480
+ if (e.mode === "composition")
3481
+ r = o.__getInstance(s);
3482
+ else if (__VUE_I18N_LEGACY_API__) {
3483
+ const i = o.__getInstance(s);
3484
+ i != null && (r = i.__composer, n && r && !r[ur] && (r = null));
3485
+ }
3486
+ if (r != null || a === s)
3487
+ break;
3488
+ s = s.parent;
3489
+ }
3490
+ return r;
3491
+ }
3492
+ function mo(e, t = !1) {
3493
+ return e == null ? null : t && e.vnode.ctx || e.parent;
3494
+ }
3495
+ function Eo(e, t, n) {
3496
+ let r = null;
3497
+ Cr(() => {
3498
+ if (process.env.NODE_ENV !== "production") {
3499
+ t.__VUE_I18N__ = n, r = xt();
3500
+ const a = n;
3501
+ a[Ie] && a[Ie](r), r.on("*", Ye);
3502
+ }
3503
+ }, t), Dr(() => {
3504
+ const a = n;
3505
+ process.env.NODE_ENV !== "production" && (r && r.off("*", Ye), a[We] && a[We](), delete t.__VUE_I18N__), e.__deleteInstance(t);
3506
+ const s = a[Rt];
3507
+ s && (s(), delete a[Rt]);
3508
+ }, t);
3509
+ }
3510
+ const go = [
3511
+ "locale",
3512
+ "fallbackLocale",
3513
+ "availableLocales"
3514
+ ], Rn = ["t", "rt", "d", "n", "tm", "te"];
3515
+ function po(e, t) {
3516
+ const n = /* @__PURE__ */ Object.create(null);
3517
+ return go.forEach((a) => {
3518
+ const s = Object.getOwnPropertyDescriptor(t, a);
3519
+ if (!s)
3520
+ throw z(x.UNEXPECTED_ERROR);
3521
+ const o = Ar(s.value) ? {
3522
+ get() {
3523
+ return s.value.value;
3524
+ },
3525
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3526
+ set(i) {
3527
+ s.value.value = i;
3528
+ }
3529
+ } : {
3530
+ get() {
3531
+ return s.get && s.get();
3532
+ }
3533
+ };
3534
+ Object.defineProperty(n, a, o);
3535
+ }), e.config.globalProperties.$i18n = n, Rn.forEach((a) => {
3536
+ const s = Object.getOwnPropertyDescriptor(t, a);
3537
+ if (!s || !s.value)
3538
+ throw z(x.UNEXPECTED_ERROR);
3539
+ Object.defineProperty(e.config.globalProperties, `$${a}`, s);
3540
+ }), () => {
3541
+ delete e.config.globalProperties.$i18n, Rn.forEach((a) => {
3542
+ delete e.config.globalProperties[`$${a}`];
3543
+ });
3544
+ };
3545
+ }
3546
+ const No = /* @__PURE__ */ Ut({
3547
+ /* eslint-disable */
3548
+ name: "i18n-d",
3549
+ props: J({
3550
+ value: {
3551
+ type: [Number, Date],
3552
+ required: !0
3553
+ },
3554
+ format: {
3555
+ type: [String, Object]
3556
+ }
3557
+ }, Jt),
3558
+ /* eslint-enable */
3559
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3560
+ setup(e, t) {
3561
+ const n = e.i18n || Qt({
3562
+ useScope: e.scope,
3563
+ __useComponent: !0
3564
+ });
3565
+ return gr(e, t, rr, (...r) => (
3566
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3567
+ n[yt](...r)
3568
+ ));
3569
+ }
3570
+ }), Mn = No;
3571
+ ks();
3572
+ rs(Ma);
3573
+ as(Za);
3574
+ ss(Xn);
3575
+ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3576
+ const e = Le();
3577
+ e.__INTLIFY__ = !0, wa(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3578
+ }
3579
+ process.env.NODE_ENV;
3580
+ var pr = {
3581
+ name: "zh-cn",
3582
+ el: {
3583
+ breadcrumb: {
3584
+ label: "面包屑"
3585
+ },
3586
+ colorpicker: {
3587
+ confirm: "确定",
3588
+ clear: "清空",
3589
+ defaultLabel: "颜色选择器",
3590
+ description: "当前颜色 {color},按 Enter 键选择新颜色",
3591
+ alphaLabel: "选择透明度的值",
3592
+ alphaDescription: "透明度 {alpha}, 当前颜色 {color}",
3593
+ hueLabel: "选择色相值",
3594
+ hueDescription: "色相 {hue}, 当前颜色 {color}",
3595
+ svLabel: "选择饱和度与明度的值",
3596
+ svDescription: "饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",
3597
+ predefineDescription: "选择 {value} 作为颜色"
3598
+ },
3599
+ datepicker: {
3600
+ now: "此刻",
3601
+ today: "今天",
3602
+ cancel: "取消",
3603
+ clear: "清空",
3604
+ confirm: "确定",
3605
+ dateTablePrompt: "使用方向键与 Enter 键可选择日期",
3606
+ monthTablePrompt: "使用方向键与 Enter 键可选择月份",
3607
+ yearTablePrompt: "使用方向键与 Enter 键可选择年份",
3608
+ selectedDate: "已选日期",
3609
+ selectDate: "选择日期",
3610
+ selectTime: "选择时间",
3611
+ startDate: "开始日期",
3612
+ startTime: "开始时间",
3613
+ endDate: "结束日期",
3614
+ endTime: "结束时间",
3615
+ prevYear: "前一年",
3616
+ nextYear: "后一年",
3617
+ prevMonth: "上个月",
3618
+ nextMonth: "下个月",
3619
+ year: "年",
3620
+ month1: "1 月",
3621
+ month2: "2 月",
3622
+ month3: "3 月",
3623
+ month4: "4 月",
3624
+ month5: "5 月",
3625
+ month6: "6 月",
3626
+ month7: "7 月",
3627
+ month8: "8 月",
3628
+ month9: "9 月",
3629
+ month10: "10 月",
3630
+ month11: "11 月",
3631
+ month12: "12 月",
3632
+ weeks: {
3633
+ sun: "日",
3634
+ mon: "一",
3635
+ tue: "二",
3636
+ wed: "三",
3637
+ thu: "四",
3638
+ fri: "五",
3639
+ sat: "六"
3640
+ },
3641
+ weeksFull: {
3642
+ sun: "星期日",
3643
+ mon: "星期一",
3644
+ tue: "星期二",
3645
+ wed: "星期三",
3646
+ thu: "星期四",
3647
+ fri: "星期五",
3648
+ sat: "星期六"
3649
+ },
3650
+ months: {
3651
+ jan: "一月",
3652
+ feb: "二月",
3653
+ mar: "三月",
3654
+ apr: "四月",
3655
+ may: "五月",
3656
+ jun: "六月",
3657
+ jul: "七月",
3658
+ aug: "八月",
3659
+ sep: "九月",
3660
+ oct: "十月",
3661
+ nov: "十一月",
3662
+ dec: "十二月"
3663
+ }
3664
+ },
3665
+ inputNumber: {
3666
+ decrease: "减少数值",
3667
+ increase: "增加数值"
3668
+ },
3669
+ select: {
3670
+ loading: "加载中",
3671
+ noMatch: "无匹配数据",
3672
+ noData: "无数据",
3673
+ placeholder: "请选择"
3674
+ },
3675
+ mention: {
3676
+ loading: "加载中"
3677
+ },
3678
+ dropdown: {
3679
+ toggleDropdown: "切换下拉选项"
3680
+ },
3681
+ cascader: {
3682
+ noMatch: "无匹配数据",
3683
+ loading: "加载中",
3684
+ placeholder: "请选择",
3685
+ noData: "暂无数据"
3686
+ },
3687
+ pagination: {
3688
+ goto: "前往",
3689
+ pagesize: "条/页",
3690
+ total: "共 {total} 条",
3691
+ pageClassifier: "页",
3692
+ page: "页",
3693
+ prev: "上一页",
3694
+ next: "下一页",
3695
+ currentPage: "第 {pager} 页",
3696
+ prevPages: "向前 {pager} 页",
3697
+ nextPages: "向后 {pager} 页",
3698
+ deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"
3699
+ },
3700
+ dialog: {
3701
+ close: "关闭此对话框"
3702
+ },
3703
+ drawer: {
3704
+ close: "关闭此对话框"
3705
+ },
3706
+ messagebox: {
3707
+ title: "提示",
3708
+ confirm: "确定",
3709
+ cancel: "取消",
3710
+ error: "输入的数据不合法!",
3711
+ close: "关闭此对话框"
3712
+ },
3713
+ upload: {
3714
+ deleteTip: "按 Delete 键可删除",
3715
+ delete: "删除",
3716
+ preview: "查看图片",
3717
+ continue: "继续上传"
3718
+ },
3719
+ slider: {
3720
+ defaultLabel: "滑块介于 {min} 至 {max}",
3721
+ defaultRangeStartLabel: "选择起始值",
3722
+ defaultRangeEndLabel: "选择结束值"
3723
+ },
3724
+ table: {
3725
+ emptyText: "暂无数据",
3726
+ confirmFilter: "筛选",
3727
+ resetFilter: "重置",
3728
+ clearFilter: "全部",
3729
+ sumText: "合计",
3730
+ selectAllLabel: "选择所有行",
3731
+ selectRowLabel: "选择当前行",
3732
+ expandRowLabel: "展开当前行",
3733
+ collapseRowLabel: "收起当前行",
3734
+ sortLabel: "按 {column} 排序",
3735
+ filterLabel: "按 {column} 过滤"
3736
+ },
3737
+ tag: {
3738
+ close: "关闭此标签"
3739
+ },
3740
+ tour: {
3741
+ next: "下一步",
3742
+ previous: "上一步",
3743
+ finish: "结束导览",
3744
+ close: "关闭此对话框"
3745
+ },
3746
+ tree: {
3747
+ emptyText: "暂无数据"
3748
+ },
3749
+ transfer: {
3750
+ noMatch: "无匹配数据",
3751
+ noData: "无数据",
3752
+ titles: ["列表 1", "列表 2"],
3753
+ filterPlaceholder: "请输入搜索内容",
3754
+ noCheckedFormat: "共 {total} 项",
3755
+ hasCheckedFormat: "已选 {checked}/{total} 项"
3756
+ },
3757
+ image: {
3758
+ error: "加载失败"
3759
+ },
3760
+ pageHeader: {
3761
+ title: "返回"
3762
+ },
3763
+ popconfirm: {
3764
+ confirmButtonText: "确定",
3765
+ cancelButtonText: "取消"
3766
+ },
3767
+ carousel: {
3768
+ leftArrow: "上一张幻灯片",
3769
+ rightArrow: "下一张幻灯片",
3770
+ indicator: "幻灯片切换至索引 {index}"
3771
+ }
3772
+ }
3773
+ };
3774
+ var ho = {
3775
+ name: "en",
3776
+ el: {
3777
+ breadcrumb: {
3778
+ label: "Breadcrumb"
3779
+ },
3780
+ colorpicker: {
3781
+ confirm: "OK",
3782
+ clear: "Clear",
3783
+ defaultLabel: "color picker",
3784
+ description: "current color is {color}. press enter to select a new color.",
3785
+ alphaLabel: "pick alpha value",
3786
+ alphaDescription: "alpha {alpha}, current color is {color}",
3787
+ hueLabel: "pick hue value",
3788
+ hueDescription: "hue {hue}, current color is {color}",
3789
+ svLabel: "pick saturation and brightness value",
3790
+ svDescription: "saturation {saturation}, brightness {brightness}, current color is {color}",
3791
+ predefineDescription: "select {value} as the color"
3792
+ },
3793
+ datepicker: {
3794
+ now: "Now",
3795
+ today: "Today",
3796
+ cancel: "Cancel",
3797
+ clear: "Clear",
3798
+ confirm: "OK",
3799
+ dateTablePrompt: "Use the arrow keys and enter to select the day of the month",
3800
+ monthTablePrompt: "Use the arrow keys and enter to select the month",
3801
+ yearTablePrompt: "Use the arrow keys and enter to select the year",
3802
+ selectedDate: "Selected date",
3803
+ selectDate: "Select date",
3804
+ selectTime: "Select time",
3805
+ startDate: "Start Date",
3806
+ startTime: "Start Time",
3807
+ endDate: "End Date",
3808
+ endTime: "End Time",
3809
+ prevYear: "Previous Year",
3810
+ nextYear: "Next Year",
3811
+ prevMonth: "Previous Month",
3812
+ nextMonth: "Next Month",
3813
+ year: "",
3814
+ month1: "January",
3815
+ month2: "February",
3816
+ month3: "March",
3817
+ month4: "April",
3818
+ month5: "May",
3819
+ month6: "June",
3820
+ month7: "July",
3821
+ month8: "August",
3822
+ month9: "September",
3823
+ month10: "October",
3824
+ month11: "November",
3825
+ month12: "December",
3826
+ weeks: {
3827
+ sun: "Sun",
3828
+ mon: "Mon",
3829
+ tue: "Tue",
3830
+ wed: "Wed",
3831
+ thu: "Thu",
3832
+ fri: "Fri",
3833
+ sat: "Sat"
3834
+ },
3835
+ weeksFull: {
3836
+ sun: "Sunday",
3837
+ mon: "Monday",
3838
+ tue: "Tuesday",
3839
+ wed: "Wednesday",
3840
+ thu: "Thursday",
3841
+ fri: "Friday",
3842
+ sat: "Saturday"
3843
+ },
3844
+ months: {
3845
+ jan: "Jan",
3846
+ feb: "Feb",
3847
+ mar: "Mar",
3848
+ apr: "Apr",
3849
+ may: "May",
3850
+ jun: "Jun",
3851
+ jul: "Jul",
3852
+ aug: "Aug",
3853
+ sep: "Sep",
3854
+ oct: "Oct",
3855
+ nov: "Nov",
3856
+ dec: "Dec"
3857
+ }
3858
+ },
3859
+ inputNumber: {
3860
+ decrease: "decrease number",
3861
+ increase: "increase number"
3862
+ },
3863
+ select: {
3864
+ loading: "Loading",
3865
+ noMatch: "No matching data",
3866
+ noData: "No data",
3867
+ placeholder: "Select"
3868
+ },
3869
+ mention: {
3870
+ loading: "Loading"
3871
+ },
3872
+ dropdown: {
3873
+ toggleDropdown: "Toggle Dropdown"
3874
+ },
3875
+ cascader: {
3876
+ noMatch: "No matching data",
3877
+ loading: "Loading",
3878
+ placeholder: "Select",
3879
+ noData: "No data"
3880
+ },
3881
+ pagination: {
3882
+ goto: "Go to",
3883
+ pagesize: "/page",
3884
+ total: "Total {total}",
3885
+ pageClassifier: "",
3886
+ page: "Page",
3887
+ prev: "Go to previous page",
3888
+ next: "Go to next page",
3889
+ currentPage: "page {pager}",
3890
+ prevPages: "Previous {pager} pages",
3891
+ nextPages: "Next {pager} pages",
3892
+ deprecationWarning: "Deprecated usages detected, please refer to the el-pagination documentation for more details"
3893
+ },
3894
+ dialog: {
3895
+ close: "Close this dialog"
3896
+ },
3897
+ drawer: {
3898
+ close: "Close this dialog"
3899
+ },
3900
+ messagebox: {
3901
+ title: "Message",
3902
+ confirm: "OK",
3903
+ cancel: "Cancel",
3904
+ error: "Illegal input",
3905
+ close: "Close this dialog"
3906
+ },
3907
+ upload: {
3908
+ deleteTip: "press delete to remove",
3909
+ delete: "Delete",
3910
+ preview: "Preview",
3911
+ continue: "Continue"
3912
+ },
3913
+ slider: {
3914
+ defaultLabel: "slider between {min} and {max}",
3915
+ defaultRangeStartLabel: "pick start value",
3916
+ defaultRangeEndLabel: "pick end value"
3917
+ },
3918
+ table: {
3919
+ emptyText: "No Data",
3920
+ confirmFilter: "Confirm",
3921
+ resetFilter: "Reset",
3922
+ clearFilter: "All",
3923
+ sumText: "Sum",
3924
+ selectAllLabel: "Select all rows",
3925
+ selectRowLabel: "Select this row",
3926
+ expandRowLabel: "Expand this row",
3927
+ collapseRowLabel: "Collapse this row",
3928
+ sortLabel: "Sort by {column}",
3929
+ filterLabel: "Filter by {column}"
3930
+ },
3931
+ tag: {
3932
+ close: "Close this tag"
3933
+ },
3934
+ tour: {
3935
+ next: "Next",
3936
+ previous: "Previous",
3937
+ finish: "Finish",
3938
+ close: "Close this dialog"
3939
+ },
3940
+ tree: {
3941
+ emptyText: "No Data"
3942
+ },
3943
+ transfer: {
3944
+ noMatch: "No matching data",
3945
+ noData: "No data",
3946
+ titles: ["List 1", "List 2"],
3947
+ filterPlaceholder: "Enter keyword",
3948
+ noCheckedFormat: "{total} items",
3949
+ hasCheckedFormat: "{checked}/{total} checked"
3950
+ },
3951
+ image: {
3952
+ error: "FAILED"
3953
+ },
3954
+ pageHeader: {
3955
+ title: "Back"
3956
+ },
3957
+ popconfirm: {
3958
+ confirmButtonText: "Yes",
3959
+ cancelButtonText: "No"
3960
+ },
3961
+ carousel: {
3962
+ leftArrow: "Carousel arrow left",
3963
+ rightArrow: "Carousel arrow right",
3964
+ indicator: "Carousel switch to index {index}"
3965
+ }
3966
+ }
3967
+ };
3968
+ const ye = {
3969
+ zhCn: "zh-cn",
3970
+ en: "en"
3971
+ }, Lo = {
3972
+ [ye.zhCn]: pr,
3973
+ [ye.en]: ho
3974
+ }, Nr = () => (navigator?.language || navigator?.userLanguage)?.startsWith("zh") ? ye.zhCn : ye.en, Po = () => {
3975
+ const e = Nr() || ye.en;
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 = () => {
3984
+ setTimeout(async () => {
3985
+ wr.confirm(
3986
+ "语言设置已更新<br/>是否重新加载页面以应用新的语言设置",
3987
+ "重新加载提醒",
3988
+ {
3989
+ confirmButtonText: "确定",
3990
+ cancelButtonText: "取消",
3991
+ type: "warning",
3992
+ dangerouslyUseHTMLString: !0,
3993
+ customClass: "language-change-confirm"
3994
+ }
3995
+ ).then(() => {
3996
+ window.location.reload();
3997
+ });
3998
+ }, 0);
3999
+ }, ko = () => {
4000
+ window.addEventListener("languagechange", hr);
4001
+ }, Ro = () => {
4002
+ window.removeEventListener("languagechange", hr);
4003
+ }, To = () => {
4004
+ const { t: e } = Fr().appContext.config.globalProperties;
4005
+ return {
4006
+ t: e
4007
+ };
4008
+ }, bo = () => {
4009
+ const { t: e } = To();
4010
+ return {
4011
+ APPLICATION_TYPE_TAB_LIST: [
4012
+ {
4013
+ label: e("APPLICATION_LIBRARY.TAB_LIST.ALL"),
4014
+ value: qe.all
4015
+ },
4016
+ {
4017
+ label: e("APPLICATION_LIBRARY.TAB_LIST.AGENT"),
4018
+ value: qe.autonomous,
4019
+ alias: e("APPLICATION_LIBRARY.TAB_LIST.PLANNED")
4020
+ },
4021
+ {
4022
+ label: e("APPLICATION_LIBRARY.TAB_LIST.AGENT_DIALOG"),
4023
+ value: qe.dialogue,
4024
+ alias: e("APPLICATION_LIBRARY.TAB_LIST.DIALOG")
4025
+ }
4026
+ ]
4027
+ };
4028
+ }, Io = /* @__PURE__ */ Object.assign({
4029
+ name: "ApplicationTypeTag"
4030
+ }, {
4031
+ __name: "layout",
4032
+ props: {
4033
+ // 应用类型值
4034
+ type: {
4035
+ type: [String, Number],
4036
+ required: !0
4037
+ }
4038
+ },
4039
+ setup(e) {
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");
4041
+ return (s, o) => (kr(), yr("div", {
4042
+ class: Rr(a.value)
4043
+ }, Mr(r.value), 3));
4044
+ }
4045
+ }), Oo = /* @__PURE__ */ Ur(Io, [["__scopeId", "data-v-6ba8ff75"]]), Mo = Tr(Oo);
4046
+ export {
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,
4054
+ Nr as g,
4055
+ ye as l,
4056
+ ko as s,
4057
+ bo as u
4058
+ };