pd-ui-package 1.3.5 → 1.3.7

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.
@@ -0,0 +1,4635 @@
1
+ import { ref as ye, computed as Pe, watch as Nt, getCurrentInstance as Bn, isRef as kr, h as Re, Fragment as Vn, inject as vr, onMounted as Lr, onUnmounted as Cr, createVNode as en, Text as tn, defineAsyncComponent as Pr } from "vue";
2
+ const Ee = typeof window < "u";
3
+ let Y, Se;
4
+ if (process.env.NODE_ENV !== "production") {
5
+ const e = Ee && window.performance;
6
+ e && e.mark && e.measure && e.clearMarks && e.clearMeasures && (Y = (t) => e.mark(t), Se = (t, n, r) => {
7
+ e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
8
+ });
9
+ }
10
+ const Fr = /\{([0-9a-zA-Z]+)\}/g;
11
+ function lt(e, ...t) {
12
+ return t.length === 1 && J(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Fr, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
13
+ }
14
+ const Rr = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", Te = (e) => Rr ? Symbol(e) : e, Ar = (e, t, n) => Ir({ l: e, k: t, s: n }), Ir = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), Dr = (e) => Bt(e) === "[object Date]", nt = (e) => Bt(e) === "[object RegExp]", ct = (e) => I(e) && Object.keys(e).length === 0;
15
+ function Ne(e, t) {
16
+ typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
17
+ }
18
+ let nn;
19
+ const xr = () => nn || (nn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
20
+ function rn(e) {
21
+ return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
22
+ }
23
+ const W = Array.isArray, B = (e) => typeof e == "function", P = (e) => typeof e == "string", U = (e) => typeof e == "boolean", J = (e) => (
24
+ // eslint-disable-line
25
+ e !== null && typeof e == "object"
26
+ ), Wn = Object.prototype.toString, Bt = (e) => Wn.call(e), I = (e) => Bt(e) === "[object Object]", Mr = (e) => e == null ? "" : W(e) || I(e) && e.toString === Wn ? JSON.stringify(e, null, 2) : String(e), sn = 2;
27
+ function $r(e, t = 0, n = e.length) {
28
+ const r = e.split(/\r?\n/);
29
+ let s = 0;
30
+ const o = [];
31
+ for (let a = 0; a < r.length; a++)
32
+ if (s += r[a].length + 1, s >= t) {
33
+ for (let i = a - sn; i <= a + sn || n > s; i++) {
34
+ if (i < 0 || i >= r.length)
35
+ continue;
36
+ const u = i + 1;
37
+ o.push(`${u}${" ".repeat(3 - String(u).length)}| ${r[i]}`);
38
+ const c = r[i].length;
39
+ if (i === a) {
40
+ const f = t - (s - c) + 1, b = Math.max(1, n > s ? c - f : n - t);
41
+ o.push(" | " + " ".repeat(f) + "^".repeat(b));
42
+ } else if (i > a) {
43
+ if (n > s) {
44
+ const f = Math.max(Math.min(n - s, c), 1);
45
+ o.push(" | " + "^".repeat(f));
46
+ }
47
+ s += c + 1;
48
+ }
49
+ }
50
+ break;
51
+ }
52
+ return o.join(`
53
+ `);
54
+ }
55
+ process.env.NODE_ENV;
56
+ const Ur = (e) => (
57
+ // eslint-disable-line
58
+ e !== null && typeof e == "object"
59
+ ), pe = [];
60
+ pe[
61
+ 0
62
+ /* BEFORE_PATH */
63
+ ] = {
64
+ w: [
65
+ 0
66
+ /* BEFORE_PATH */
67
+ ],
68
+ i: [
69
+ 3,
70
+ 0
71
+ /* APPEND */
72
+ ],
73
+ "[": [
74
+ 4
75
+ /* IN_SUB_PATH */
76
+ ],
77
+ o: [
78
+ 7
79
+ /* AFTER_PATH */
80
+ ]
81
+ };
82
+ pe[
83
+ 1
84
+ /* IN_PATH */
85
+ ] = {
86
+ w: [
87
+ 1
88
+ /* IN_PATH */
89
+ ],
90
+ ".": [
91
+ 2
92
+ /* BEFORE_IDENT */
93
+ ],
94
+ "[": [
95
+ 4
96
+ /* IN_SUB_PATH */
97
+ ],
98
+ o: [
99
+ 7
100
+ /* AFTER_PATH */
101
+ ]
102
+ };
103
+ pe[
104
+ 2
105
+ /* BEFORE_IDENT */
106
+ ] = {
107
+ w: [
108
+ 2
109
+ /* BEFORE_IDENT */
110
+ ],
111
+ i: [
112
+ 3,
113
+ 0
114
+ /* APPEND */
115
+ ],
116
+ 0: [
117
+ 3,
118
+ 0
119
+ /* APPEND */
120
+ ]
121
+ };
122
+ pe[
123
+ 3
124
+ /* IN_IDENT */
125
+ ] = {
126
+ i: [
127
+ 3,
128
+ 0
129
+ /* APPEND */
130
+ ],
131
+ 0: [
132
+ 3,
133
+ 0
134
+ /* APPEND */
135
+ ],
136
+ w: [
137
+ 1,
138
+ 1
139
+ /* PUSH */
140
+ ],
141
+ ".": [
142
+ 2,
143
+ 1
144
+ /* PUSH */
145
+ ],
146
+ "[": [
147
+ 4,
148
+ 1
149
+ /* PUSH */
150
+ ],
151
+ o: [
152
+ 7,
153
+ 1
154
+ /* PUSH */
155
+ ]
156
+ };
157
+ pe[
158
+ 4
159
+ /* IN_SUB_PATH */
160
+ ] = {
161
+ "'": [
162
+ 5,
163
+ 0
164
+ /* APPEND */
165
+ ],
166
+ '"': [
167
+ 6,
168
+ 0
169
+ /* APPEND */
170
+ ],
171
+ "[": [
172
+ 4,
173
+ 2
174
+ /* INC_SUB_PATH_DEPTH */
175
+ ],
176
+ "]": [
177
+ 1,
178
+ 3
179
+ /* PUSH_SUB_PATH */
180
+ ],
181
+ o: 8,
182
+ l: [
183
+ 4,
184
+ 0
185
+ /* APPEND */
186
+ ]
187
+ };
188
+ pe[
189
+ 5
190
+ /* IN_SINGLE_QUOTE */
191
+ ] = {
192
+ "'": [
193
+ 4,
194
+ 0
195
+ /* APPEND */
196
+ ],
197
+ o: 8,
198
+ l: [
199
+ 5,
200
+ 0
201
+ /* APPEND */
202
+ ]
203
+ };
204
+ pe[
205
+ 6
206
+ /* IN_DOUBLE_QUOTE */
207
+ ] = {
208
+ '"': [
209
+ 4,
210
+ 0
211
+ /* APPEND */
212
+ ],
213
+ o: 8,
214
+ l: [
215
+ 6,
216
+ 0
217
+ /* APPEND */
218
+ ]
219
+ };
220
+ const jr = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
221
+ function Br(e) {
222
+ return jr.test(e);
223
+ }
224
+ function Vr(e) {
225
+ const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
226
+ return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
227
+ }
228
+ function Wr(e) {
229
+ if (e == null)
230
+ return "o";
231
+ switch (e.charCodeAt(0)) {
232
+ case 91:
233
+ // [
234
+ case 93:
235
+ // ]
236
+ case 46:
237
+ // .
238
+ case 34:
239
+ // "
240
+ case 39:
241
+ return e;
242
+ case 95:
243
+ // _
244
+ case 36:
245
+ // $
246
+ case 45:
247
+ return "i";
248
+ case 9:
249
+ // Tab (HT)
250
+ case 10:
251
+ // Newline (LF)
252
+ case 13:
253
+ // Return (CR)
254
+ case 160:
255
+ // No-break space (NBSP)
256
+ case 65279:
257
+ // Byte Order Mark (BOM)
258
+ case 8232:
259
+ // Line Separator (LS)
260
+ case 8233:
261
+ return "w";
262
+ }
263
+ return "i";
264
+ }
265
+ function Hr(e) {
266
+ const t = e.trim();
267
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Br(t) ? Vr(t) : "*" + t;
268
+ }
269
+ function qr(e) {
270
+ const t = [];
271
+ let n = -1, r = 0, s = 0, o, a, i, u, c, f, b;
272
+ const O = [];
273
+ O[
274
+ 0
275
+ /* APPEND */
276
+ ] = () => {
277
+ a === void 0 ? a = i : a += i;
278
+ }, O[
279
+ 1
280
+ /* PUSH */
281
+ ] = () => {
282
+ a !== void 0 && (t.push(a), a = void 0);
283
+ }, O[
284
+ 2
285
+ /* INC_SUB_PATH_DEPTH */
286
+ ] = () => {
287
+ O[
288
+ 0
289
+ /* APPEND */
290
+ ](), s++;
291
+ }, O[
292
+ 3
293
+ /* PUSH_SUB_PATH */
294
+ ] = () => {
295
+ if (s > 0)
296
+ s--, r = 4, O[
297
+ 0
298
+ /* APPEND */
299
+ ]();
300
+ else {
301
+ if (s = 0, a === void 0 || (a = Hr(a), a === !1))
302
+ return !1;
303
+ O[
304
+ 1
305
+ /* PUSH */
306
+ ]();
307
+ }
308
+ };
309
+ function F() {
310
+ const p = e[n + 1];
311
+ if (r === 5 && p === "'" || r === 6 && p === '"')
312
+ return n++, i = "\\" + p, O[
313
+ 0
314
+ /* APPEND */
315
+ ](), !0;
316
+ }
317
+ for (; r !== null; )
318
+ if (n++, o = e[n], !(o === "\\" && F())) {
319
+ if (u = Wr(o), b = pe[r], c = b[u] || b.l || 8, c === 8 || (r = c[0], c[1] !== void 0 && (f = O[c[1]], f && (i = o, f() === !1))))
320
+ return;
321
+ if (r === 7)
322
+ return t;
323
+ }
324
+ }
325
+ const on = /* @__PURE__ */ new Map();
326
+ function rt(e, t) {
327
+ if (!Ur(e))
328
+ return null;
329
+ let n = on.get(t);
330
+ if (n || (n = qr(t), n && on.set(t, n)), !n)
331
+ return null;
332
+ const r = n.length;
333
+ let s = e, o = 0;
334
+ for (; o < r; ) {
335
+ const a = s[n[o]];
336
+ if (a === void 0)
337
+ return null;
338
+ s = a, o++;
339
+ }
340
+ return s;
341
+ }
342
+ const Jr = (e) => e, Kr = (e) => "", Gr = "text", Yr = (e) => e.length === 0 ? "" : e.join(""), Qr = Mr;
343
+ function an(e, t) {
344
+ return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
345
+ }
346
+ function Xr(e) {
347
+ const t = j(e.pluralIndex) ? e.pluralIndex : -1;
348
+ 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;
349
+ }
350
+ function Zr(e, t) {
351
+ t.count || (t.count = e), t.n || (t.n = e);
352
+ }
353
+ function zr(e = {}) {
354
+ const t = e.locale, n = Xr(e), r = J(e.pluralRules) && P(t) && B(e.pluralRules[t]) ? e.pluralRules[t] : an, s = J(e.pluralRules) && P(t) && B(e.pluralRules[t]) ? an : void 0, o = (y) => y[r(n, y.length, s)], a = e.list || [], i = (y) => a[y], u = e.named || {};
355
+ j(e.pluralIndex) && Zr(n, u);
356
+ const c = (y) => u[y];
357
+ function f(y) {
358
+ const m = B(e.messages) ? e.messages(y) : J(e.messages) ? e.messages[y] : !1;
359
+ return m || (e.parent ? e.parent.message(y) : Kr);
360
+ }
361
+ const b = (y) => e.modifiers ? e.modifiers[y] : Jr, O = I(e.processor) && B(e.processor.normalize) ? e.processor.normalize : Yr, F = I(e.processor) && B(e.processor.interpolate) ? e.processor.interpolate : Qr, p = I(e.processor) && P(e.processor.type) ? e.processor.type : Gr, S = {
362
+ list: i,
363
+ named: c,
364
+ plural: o,
365
+ linked: (y, m) => {
366
+ const w = f(y)(S);
367
+ return P(m) ? b(m)(w) : w;
368
+ },
369
+ message: f,
370
+ type: p,
371
+ interpolate: F,
372
+ normalize: O
373
+ };
374
+ return S;
375
+ }
376
+ const es = {
377
+ // tokenizer error messages
378
+ 0: "Expected token: '{0}'",
379
+ 1: "Invalid token in placeholder: '{0}'",
380
+ 2: "Unterminated single quote in placeholder",
381
+ 3: "Unknown escape sequence: \\{0}",
382
+ 4: "Invalid unicode escape sequence: {0}",
383
+ 5: "Unbalanced closing brace",
384
+ 6: "Unterminated closing brace",
385
+ 7: "Empty placeholder",
386
+ 8: "Not allowed nest placeholder",
387
+ 9: "Invalid linked format",
388
+ // parser error messages
389
+ 10: "Plural must have messages",
390
+ 11: "Unexpected empty linked modifier",
391
+ 12: "Unexpected empty linked key",
392
+ 13: "Unexpected lexical analysis in token: '{0}'"
393
+ };
394
+ function ut(e, t, n = {}) {
395
+ const { domain: r, messages: s, args: o } = n, a = process.env.NODE_ENV !== "production" ? lt((s || es)[e] || "", ...o || []) : e, i = new SyntaxError(String(a));
396
+ return i.code = e, t && (i.location = t), i.domain = r, i;
397
+ }
398
+ function ts(e) {
399
+ throw e;
400
+ }
401
+ function ns(e, t, n) {
402
+ return { line: e, column: t, offset: n };
403
+ }
404
+ function kt(e, t, n) {
405
+ return { start: e, end: t };
406
+ }
407
+ const ue = " ", rs = "\r", q = `
408
+ `, ss = "\u2028", os = "\u2029";
409
+ function as(e) {
410
+ const t = e;
411
+ let n = 0, r = 1, s = 1, o = 0;
412
+ const a = (L) => t[L] === rs && t[L + 1] === q, i = (L) => t[L] === q, u = (L) => t[L] === os, c = (L) => t[L] === ss, f = (L) => a(L) || i(L) || u(L) || c(L), b = () => n, O = () => r, F = () => s, p = () => o, S = (L) => a(L) || u(L) || c(L) ? q : t[L], y = () => S(n), m = () => S(n + o);
413
+ function w() {
414
+ return o = 0, f(n) && (r++, s = 0), a(n) && n++, n++, s++, t[n];
415
+ }
416
+ function T() {
417
+ return a(n + o) && o++, o++, t[n + o];
418
+ }
419
+ function g() {
420
+ n = 0, r = 1, s = 1, o = 0;
421
+ }
422
+ function k(L = 0) {
423
+ o = L;
424
+ }
425
+ function C() {
426
+ const L = n + o;
427
+ for (; L !== n; )
428
+ w();
429
+ o = 0;
430
+ }
431
+ return {
432
+ index: b,
433
+ line: O,
434
+ column: F,
435
+ peekOffset: p,
436
+ charAt: S,
437
+ currentChar: y,
438
+ currentPeek: m,
439
+ next: w,
440
+ peek: T,
441
+ reset: g,
442
+ resetPeek: k,
443
+ skipToPeek: C
444
+ };
445
+ }
446
+ const me = void 0, ln = "'", is = "tokenizer";
447
+ function ls(e, t = {}) {
448
+ const n = t.location !== !1, r = as(e), s = () => r.index(), o = () => ns(r.line(), r.column(), r.index()), a = o(), i = s(), u = {
449
+ currentType: 14,
450
+ offset: i,
451
+ startLoc: a,
452
+ endLoc: a,
453
+ lastType: 14,
454
+ lastOffset: i,
455
+ lastStartLoc: a,
456
+ lastEndLoc: a,
457
+ braceNest: 0,
458
+ inLinked: !1,
459
+ text: ""
460
+ }, c = () => u, { onError: f } = t;
461
+ function b(l, d, E, ...N) {
462
+ const A = c();
463
+ if (d.column += E, d.offset += E, f) {
464
+ const D = kt(A.startLoc, d), ee = ut(l, D, {
465
+ domain: is,
466
+ args: N
467
+ });
468
+ f(ee);
469
+ }
470
+ }
471
+ function O(l, d, E) {
472
+ l.endLoc = o(), l.currentType = d;
473
+ const N = { type: d };
474
+ return n && (N.loc = kt(l.startLoc, l.endLoc)), E != null && (N.value = E), N;
475
+ }
476
+ const F = (l) => O(
477
+ l,
478
+ 14
479
+ /* EOF */
480
+ );
481
+ function p(l, d) {
482
+ return l.currentChar() === d ? (l.next(), d) : (b(0, o(), 0, d), "");
483
+ }
484
+ function S(l) {
485
+ let d = "";
486
+ for (; l.currentPeek() === ue || l.currentPeek() === q; )
487
+ d += l.currentPeek(), l.peek();
488
+ return d;
489
+ }
490
+ function y(l) {
491
+ const d = S(l);
492
+ return l.skipToPeek(), d;
493
+ }
494
+ function m(l) {
495
+ if (l === me)
496
+ return !1;
497
+ const d = l.charCodeAt(0);
498
+ return d >= 97 && d <= 122 || // a-z
499
+ d >= 65 && d <= 90;
500
+ }
501
+ function w(l) {
502
+ if (l === me)
503
+ return !1;
504
+ const d = l.charCodeAt(0);
505
+ return d >= 48 && d <= 57;
506
+ }
507
+ function T(l, d) {
508
+ const { currentType: E } = d;
509
+ if (E !== 2)
510
+ return !1;
511
+ S(l);
512
+ const N = m(l.currentPeek());
513
+ return l.resetPeek(), N;
514
+ }
515
+ function g(l, d) {
516
+ const { currentType: E } = d;
517
+ if (E !== 2)
518
+ return !1;
519
+ S(l);
520
+ const N = l.currentPeek() === "-" ? l.peek() : l.currentPeek(), A = w(N);
521
+ return l.resetPeek(), A;
522
+ }
523
+ function k(l, d) {
524
+ const { currentType: E } = d;
525
+ if (E !== 2)
526
+ return !1;
527
+ S(l);
528
+ const N = l.currentPeek() === ln;
529
+ return l.resetPeek(), N;
530
+ }
531
+ function C(l, d) {
532
+ const { currentType: E } = d;
533
+ if (E !== 8)
534
+ return !1;
535
+ S(l);
536
+ const N = l.currentPeek() === ".";
537
+ return l.resetPeek(), N;
538
+ }
539
+ function L(l, d) {
540
+ const { currentType: E } = d;
541
+ if (E !== 9)
542
+ return !1;
543
+ S(l);
544
+ const N = m(l.currentPeek());
545
+ return l.resetPeek(), N;
546
+ }
547
+ function M(l, d) {
548
+ const { currentType: E } = d;
549
+ if (!(E === 8 || E === 12))
550
+ return !1;
551
+ S(l);
552
+ const N = l.currentPeek() === ":";
553
+ return l.resetPeek(), N;
554
+ }
555
+ function x(l, d) {
556
+ const { currentType: E } = d;
557
+ if (E !== 10)
558
+ return !1;
559
+ const N = () => {
560
+ const D = l.currentPeek();
561
+ return D === "{" ? m(l.peek()) : D === "@" || D === "%" || D === "|" || D === ":" || D === "." || D === ue || !D ? !1 : D === q ? (l.peek(), N()) : m(D);
562
+ }, A = N();
563
+ return l.resetPeek(), A;
564
+ }
565
+ function Q(l) {
566
+ S(l);
567
+ const d = l.currentPeek() === "|";
568
+ return l.resetPeek(), d;
569
+ }
570
+ function fe(l, d = !0) {
571
+ const E = (A = !1, D = "", ee = !1) => {
572
+ const _ = l.currentPeek();
573
+ return _ === "{" ? D === "%" ? !1 : A : _ === "@" || !_ ? D === "%" ? !0 : A : _ === "%" ? (l.peek(), E(A, "%", !0)) : _ === "|" ? D === "%" || ee ? !0 : !(D === ue || D === q) : _ === ue ? (l.peek(), E(!0, ue, ee)) : _ === q ? (l.peek(), E(!0, q, ee)) : !0;
574
+ }, N = E();
575
+ return d && l.resetPeek(), N;
576
+ }
577
+ function X(l, d) {
578
+ const E = l.currentChar();
579
+ return E === me ? me : d(E) ? (l.next(), E) : null;
580
+ }
581
+ function ie(l) {
582
+ return X(l, (E) => {
583
+ const N = E.charCodeAt(0);
584
+ return N >= 97 && N <= 122 || // a-z
585
+ N >= 65 && N <= 90 || // A-Z
586
+ N >= 48 && N <= 57 || // 0-9
587
+ N === 95 || N === 36;
588
+ });
589
+ }
590
+ function ne(l) {
591
+ return X(l, (E) => {
592
+ const N = E.charCodeAt(0);
593
+ return N >= 48 && N <= 57;
594
+ });
595
+ }
596
+ function re(l) {
597
+ return X(l, (E) => {
598
+ const N = E.charCodeAt(0);
599
+ return N >= 48 && N <= 57 || // 0-9
600
+ N >= 65 && N <= 70 || // A-F
601
+ N >= 97 && N <= 102;
602
+ });
603
+ }
604
+ function H(l) {
605
+ let d = "", E = "";
606
+ for (; d = ne(l); )
607
+ E += d;
608
+ return E;
609
+ }
610
+ function ke(l) {
611
+ const d = (E) => {
612
+ const N = l.currentChar();
613
+ return N === "{" || N === "}" || N === "@" || !N ? E : N === "%" ? fe(l) ? (E += N, l.next(), d(E)) : E : N === "|" ? E : N === ue || N === q ? fe(l) ? (E += N, l.next(), d(E)) : Q(l) ? E : (E += N, l.next(), d(E)) : (E += N, l.next(), d(E));
614
+ };
615
+ return d("");
616
+ }
617
+ function Z(l) {
618
+ y(l);
619
+ let d = "", E = "";
620
+ for (; d = ie(l); )
621
+ E += d;
622
+ return l.currentChar() === me && b(6, o(), 0), E;
623
+ }
624
+ function ve(l) {
625
+ y(l);
626
+ let d = "";
627
+ return l.currentChar() === "-" ? (l.next(), d += `-${H(l)}`) : d += H(l), l.currentChar() === me && b(6, o(), 0), d;
628
+ }
629
+ function Ge(l) {
630
+ y(l), p(l, "'");
631
+ let d = "", E = "";
632
+ const N = (D) => D !== ln && D !== q;
633
+ for (; d = X(l, N); )
634
+ d === "\\" ? E += z(l) : E += d;
635
+ const A = l.currentChar();
636
+ return A === q || A === me ? (b(2, o(), 0), A === q && (l.next(), p(l, "'")), E) : (p(l, "'"), E);
637
+ }
638
+ function z(l) {
639
+ const d = l.currentChar();
640
+ switch (d) {
641
+ case "\\":
642
+ case "'":
643
+ return l.next(), `\\${d}`;
644
+ case "u":
645
+ return se(l, d, 4);
646
+ case "U":
647
+ return se(l, d, 6);
648
+ default:
649
+ return b(3, o(), 0, d), "";
650
+ }
651
+ }
652
+ function se(l, d, E) {
653
+ p(l, d);
654
+ let N = "";
655
+ for (let A = 0; A < E; A++) {
656
+ const D = re(l);
657
+ if (!D) {
658
+ b(4, o(), 0, `\\${d}${N}${l.currentChar()}`);
659
+ break;
660
+ }
661
+ N += D;
662
+ }
663
+ return `\\${d}${N}`;
664
+ }
665
+ function he(l) {
666
+ y(l);
667
+ let d = "", E = "";
668
+ const N = (A) => A !== "{" && A !== "}" && A !== ue && A !== q;
669
+ for (; d = X(l, N); )
670
+ E += d;
671
+ return E;
672
+ }
673
+ function de(l) {
674
+ let d = "", E = "";
675
+ for (; d = ie(l); )
676
+ E += d;
677
+ return E;
678
+ }
679
+ function Le(l) {
680
+ const d = (E = !1, N) => {
681
+ const A = l.currentChar();
682
+ return A === "{" || A === "%" || A === "@" || A === "|" || !A || A === ue ? N : A === q ? (N += A, l.next(), d(E, N)) : (N += A, l.next(), d(!0, N));
683
+ };
684
+ return d(!1, "");
685
+ }
686
+ function $e(l) {
687
+ y(l);
688
+ const d = p(
689
+ l,
690
+ "|"
691
+ /* Pipe */
692
+ );
693
+ return y(l), d;
694
+ }
695
+ function Ue(l, d) {
696
+ let E = null;
697
+ switch (l.currentChar()) {
698
+ case "{":
699
+ return d.braceNest >= 1 && b(8, o(), 0), l.next(), E = O(
700
+ d,
701
+ 2,
702
+ "{"
703
+ /* BraceLeft */
704
+ ), y(l), d.braceNest++, E;
705
+ case "}":
706
+ return d.braceNest > 0 && d.currentType === 2 && b(7, o(), 0), l.next(), E = O(
707
+ d,
708
+ 3,
709
+ "}"
710
+ /* BraceRight */
711
+ ), d.braceNest--, d.braceNest > 0 && y(l), d.inLinked && d.braceNest === 0 && (d.inLinked = !1), E;
712
+ case "@":
713
+ return d.braceNest > 0 && b(6, o(), 0), E = ge(l, d) || F(d), d.braceNest = 0, E;
714
+ default:
715
+ let A = !0, D = !0, ee = !0;
716
+ if (Q(l))
717
+ return d.braceNest > 0 && b(6, o(), 0), E = O(d, 1, $e(l)), d.braceNest = 0, d.inLinked = !1, E;
718
+ if (d.braceNest > 0 && (d.currentType === 5 || d.currentType === 6 || d.currentType === 7))
719
+ return b(6, o(), 0), d.braceNest = 0, je(l, d);
720
+ if (A = T(l, d))
721
+ return E = O(d, 5, Z(l)), y(l), E;
722
+ if (D = g(l, d))
723
+ return E = O(d, 6, ve(l)), y(l), E;
724
+ if (ee = k(l, d))
725
+ return E = O(d, 7, Ge(l)), y(l), E;
726
+ if (!A && !D && !ee)
727
+ return E = O(d, 13, he(l)), b(1, o(), 0, E.value), y(l), E;
728
+ break;
729
+ }
730
+ return E;
731
+ }
732
+ function ge(l, d) {
733
+ const { currentType: E } = d;
734
+ let N = null;
735
+ const A = l.currentChar();
736
+ switch ((E === 8 || E === 9 || E === 12 || E === 10) && (A === q || A === ue) && b(9, o(), 0), A) {
737
+ case "@":
738
+ return l.next(), N = O(
739
+ d,
740
+ 8,
741
+ "@"
742
+ /* LinkedAlias */
743
+ ), d.inLinked = !0, N;
744
+ case ".":
745
+ return y(l), l.next(), O(
746
+ d,
747
+ 9,
748
+ "."
749
+ /* LinkedDot */
750
+ );
751
+ case ":":
752
+ return y(l), l.next(), O(
753
+ d,
754
+ 10,
755
+ ":"
756
+ /* LinkedDelimiter */
757
+ );
758
+ default:
759
+ return Q(l) ? (N = O(d, 1, $e(l)), d.braceNest = 0, d.inLinked = !1, N) : C(l, d) || M(l, d) ? (y(l), ge(l, d)) : L(l, d) ? (y(l), O(d, 12, de(l))) : x(l, d) ? (y(l), A === "{" ? Ue(l, d) || N : O(d, 11, Le(l))) : (E === 8 && b(9, o(), 0), d.braceNest = 0, d.inLinked = !1, je(l, d));
760
+ }
761
+ }
762
+ function je(l, d) {
763
+ let E = {
764
+ type: 14
765
+ /* EOF */
766
+ };
767
+ if (d.braceNest > 0)
768
+ return Ue(l, d) || F(d);
769
+ if (d.inLinked)
770
+ return ge(l, d) || F(d);
771
+ const N = l.currentChar();
772
+ switch (N) {
773
+ case "{":
774
+ return Ue(l, d) || F(d);
775
+ case "}":
776
+ return b(5, o(), 0), l.next(), O(
777
+ d,
778
+ 3,
779
+ "}"
780
+ /* BraceRight */
781
+ );
782
+ case "@":
783
+ return ge(l, d) || F(d);
784
+ default:
785
+ if (Q(l))
786
+ return E = O(d, 1, $e(l)), d.braceNest = 0, d.inLinked = !1, E;
787
+ if (fe(l))
788
+ return O(d, 0, ke(l));
789
+ if (N === "%")
790
+ return l.next(), O(
791
+ d,
792
+ 4,
793
+ "%"
794
+ /* Modulo */
795
+ );
796
+ break;
797
+ }
798
+ return E;
799
+ }
800
+ function _t() {
801
+ const { currentType: l, offset: d, startLoc: E, endLoc: N } = u;
802
+ return u.lastType = l, u.lastOffset = d, u.lastStartLoc = E, u.lastEndLoc = N, u.offset = s(), u.startLoc = o(), r.currentChar() === me ? O(
803
+ u,
804
+ 14
805
+ /* EOF */
806
+ ) : je(r, u);
807
+ }
808
+ return {
809
+ nextToken: _t,
810
+ currentOffset: s,
811
+ currentPosition: o,
812
+ context: c
813
+ };
814
+ }
815
+ const cs = "parser", us = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
816
+ function fs(e, t, n) {
817
+ switch (e) {
818
+ case "\\\\":
819
+ return "\\";
820
+ case "\\'":
821
+ return "'";
822
+ default: {
823
+ const r = parseInt(t || n, 16);
824
+ return r <= 55295 || r >= 57344 ? String.fromCodePoint(r) : "�";
825
+ }
826
+ }
827
+ }
828
+ function ds(e = {}) {
829
+ const t = e.location !== !1, { onError: n } = e;
830
+ function r(m, w, T, g, ...k) {
831
+ const C = m.currentPosition();
832
+ if (C.offset += g, C.column += g, n) {
833
+ const L = kt(T, C), M = ut(w, L, {
834
+ domain: cs,
835
+ args: k
836
+ });
837
+ n(M);
838
+ }
839
+ }
840
+ function s(m, w, T) {
841
+ const g = {
842
+ type: m,
843
+ start: w,
844
+ end: w
845
+ };
846
+ return t && (g.loc = { start: T, end: T }), g;
847
+ }
848
+ function o(m, w, T, g) {
849
+ m.end = w, t && m.loc && (m.loc.end = T);
850
+ }
851
+ function a(m, w) {
852
+ const T = m.context(), g = s(3, T.offset, T.startLoc);
853
+ return g.value = w, o(g, m.currentOffset(), m.currentPosition()), g;
854
+ }
855
+ function i(m, w) {
856
+ const T = m.context(), { lastOffset: g, lastStartLoc: k } = T, C = s(5, g, k);
857
+ return C.index = parseInt(w, 10), m.nextToken(), o(C, m.currentOffset(), m.currentPosition()), C;
858
+ }
859
+ function u(m, w) {
860
+ const T = m.context(), { lastOffset: g, lastStartLoc: k } = T, C = s(4, g, k);
861
+ return C.key = w, m.nextToken(), o(C, m.currentOffset(), m.currentPosition()), C;
862
+ }
863
+ function c(m, w) {
864
+ const T = m.context(), { lastOffset: g, lastStartLoc: k } = T, C = s(9, g, k);
865
+ return C.value = w.replace(us, fs), m.nextToken(), o(C, m.currentOffset(), m.currentPosition()), C;
866
+ }
867
+ function f(m) {
868
+ const w = m.nextToken(), T = m.context(), { lastOffset: g, lastStartLoc: k } = T, C = s(8, g, k);
869
+ return w.type !== 12 ? (r(m, 11, T.lastStartLoc, 0), C.value = "", o(C, g, k), {
870
+ nextConsumeToken: w,
871
+ node: C
872
+ }) : (w.value == null && r(m, 13, T.lastStartLoc, 0, le(w)), C.value = w.value || "", o(C, m.currentOffset(), m.currentPosition()), {
873
+ node: C
874
+ });
875
+ }
876
+ function b(m, w) {
877
+ const T = m.context(), g = s(7, T.offset, T.startLoc);
878
+ return g.value = w, o(g, m.currentOffset(), m.currentPosition()), g;
879
+ }
880
+ function O(m) {
881
+ const w = m.context(), T = s(6, w.offset, w.startLoc);
882
+ let g = m.nextToken();
883
+ if (g.type === 9) {
884
+ const k = f(m);
885
+ T.modifier = k.node, g = k.nextConsumeToken || m.nextToken();
886
+ }
887
+ switch (g.type !== 10 && r(m, 13, w.lastStartLoc, 0, le(g)), g = m.nextToken(), g.type === 2 && (g = m.nextToken()), g.type) {
888
+ case 11:
889
+ g.value == null && r(m, 13, w.lastStartLoc, 0, le(g)), T.key = b(m, g.value || "");
890
+ break;
891
+ case 5:
892
+ g.value == null && r(m, 13, w.lastStartLoc, 0, le(g)), T.key = u(m, g.value || "");
893
+ break;
894
+ case 6:
895
+ g.value == null && r(m, 13, w.lastStartLoc, 0, le(g)), T.key = i(m, g.value || "");
896
+ break;
897
+ case 7:
898
+ g.value == null && r(m, 13, w.lastStartLoc, 0, le(g)), T.key = c(m, g.value || "");
899
+ break;
900
+ default:
901
+ r(m, 12, w.lastStartLoc, 0);
902
+ const k = m.context(), C = s(7, k.offset, k.startLoc);
903
+ return C.value = "", o(C, k.offset, k.startLoc), T.key = C, o(T, k.offset, k.startLoc), {
904
+ nextConsumeToken: g,
905
+ node: T
906
+ };
907
+ }
908
+ return o(T, m.currentOffset(), m.currentPosition()), {
909
+ node: T
910
+ };
911
+ }
912
+ function F(m) {
913
+ const w = m.context(), T = w.currentType === 1 ? m.currentOffset() : w.offset, g = w.currentType === 1 ? w.endLoc : w.startLoc, k = s(2, T, g);
914
+ k.items = [];
915
+ let C = null;
916
+ do {
917
+ const x = C || m.nextToken();
918
+ switch (C = null, x.type) {
919
+ case 0:
920
+ x.value == null && r(m, 13, w.lastStartLoc, 0, le(x)), k.items.push(a(m, x.value || ""));
921
+ break;
922
+ case 6:
923
+ x.value == null && r(m, 13, w.lastStartLoc, 0, le(x)), k.items.push(i(m, x.value || ""));
924
+ break;
925
+ case 5:
926
+ x.value == null && r(m, 13, w.lastStartLoc, 0, le(x)), k.items.push(u(m, x.value || ""));
927
+ break;
928
+ case 7:
929
+ x.value == null && r(m, 13, w.lastStartLoc, 0, le(x)), k.items.push(c(m, x.value || ""));
930
+ break;
931
+ case 8:
932
+ const Q = O(m);
933
+ k.items.push(Q.node), C = Q.nextConsumeToken || null;
934
+ break;
935
+ }
936
+ } while (w.currentType !== 14 && w.currentType !== 1);
937
+ const L = w.currentType === 1 ? w.lastOffset : m.currentOffset(), M = w.currentType === 1 ? w.lastEndLoc : m.currentPosition();
938
+ return o(k, L, M), k;
939
+ }
940
+ function p(m, w, T, g) {
941
+ const k = m.context();
942
+ let C = g.items.length === 0;
943
+ const L = s(1, w, T);
944
+ L.cases = [], L.cases.push(g);
945
+ do {
946
+ const M = F(m);
947
+ C || (C = M.items.length === 0), L.cases.push(M);
948
+ } while (k.currentType !== 14);
949
+ return C && r(m, 10, T, 0), o(L, m.currentOffset(), m.currentPosition()), L;
950
+ }
951
+ function S(m) {
952
+ const w = m.context(), { offset: T, startLoc: g } = w, k = F(m);
953
+ return w.currentType === 14 ? k : p(m, T, g, k);
954
+ }
955
+ function y(m) {
956
+ const w = ls(m, { ...e }), T = w.context(), g = s(0, T.offset, T.startLoc);
957
+ return t && g.loc && (g.loc.source = m), g.body = S(w), T.currentType !== 14 && r(w, 13, T.lastStartLoc, 0, m[T.offset] || ""), o(g, w.currentOffset(), w.currentPosition()), g;
958
+ }
959
+ return { parse: y };
960
+ }
961
+ function le(e) {
962
+ if (e.type === 14)
963
+ return "EOF";
964
+ const t = (e.value || "").replace(/\r?\n/gu, "\\n");
965
+ return t.length > 10 ? t.slice(0, 9) + "…" : t;
966
+ }
967
+ function ms(e, t = {}) {
968
+ const n = {
969
+ ast: e,
970
+ helpers: /* @__PURE__ */ new Set()
971
+ };
972
+ return { context: () => n, helper: (o) => (n.helpers.add(o), o) };
973
+ }
974
+ function cn(e, t) {
975
+ for (let n = 0; n < e.length; n++)
976
+ Vt(e[n], t);
977
+ }
978
+ function Vt(e, t) {
979
+ switch (e.type) {
980
+ case 1:
981
+ cn(e.cases, t), t.helper(
982
+ "plural"
983
+ /* PLURAL */
984
+ );
985
+ break;
986
+ case 2:
987
+ cn(e.items, t);
988
+ break;
989
+ case 6:
990
+ Vt(e.key, t), t.helper(
991
+ "linked"
992
+ /* LINKED */
993
+ );
994
+ break;
995
+ case 5:
996
+ t.helper(
997
+ "interpolate"
998
+ /* INTERPOLATE */
999
+ ), t.helper(
1000
+ "list"
1001
+ /* LIST */
1002
+ );
1003
+ break;
1004
+ case 4:
1005
+ t.helper(
1006
+ "interpolate"
1007
+ /* INTERPOLATE */
1008
+ ), t.helper(
1009
+ "named"
1010
+ /* NAMED */
1011
+ );
1012
+ break;
1013
+ }
1014
+ }
1015
+ function ps(e, t = {}) {
1016
+ const n = ms(e);
1017
+ n.helper(
1018
+ "normalize"
1019
+ /* NORMALIZE */
1020
+ ), e.body && Vt(e.body, n);
1021
+ const r = n.context();
1022
+ e.helpers = Array.from(r.helpers);
1023
+ }
1024
+ function hs(e, t) {
1025
+ const { filename: n, breakLineCode: r, needIndent: s } = t, o = {
1026
+ source: e.loc.source,
1027
+ filename: n,
1028
+ code: "",
1029
+ column: 1,
1030
+ line: 1,
1031
+ offset: 0,
1032
+ map: void 0,
1033
+ breakLineCode: r,
1034
+ needIndent: s,
1035
+ indentLevel: 0
1036
+ }, a = () => o;
1037
+ function i(p, S) {
1038
+ o.code += p;
1039
+ }
1040
+ function u(p, S = !0) {
1041
+ const y = S ? r : "";
1042
+ i(s ? y + " ".repeat(p) : y);
1043
+ }
1044
+ function c(p = !0) {
1045
+ const S = ++o.indentLevel;
1046
+ p && u(S);
1047
+ }
1048
+ function f(p = !0) {
1049
+ const S = --o.indentLevel;
1050
+ p && u(S);
1051
+ }
1052
+ function b() {
1053
+ u(o.indentLevel);
1054
+ }
1055
+ return {
1056
+ context: a,
1057
+ push: i,
1058
+ indent: c,
1059
+ deindent: f,
1060
+ newline: b,
1061
+ helper: (p) => `_${p}`,
1062
+ needIndent: () => o.needIndent
1063
+ };
1064
+ }
1065
+ function gs(e, t) {
1066
+ const { helper: n } = e;
1067
+ e.push(`${n(
1068
+ "linked"
1069
+ /* LINKED */
1070
+ )}(`), Ae(e, t.key), t.modifier && (e.push(", "), Ae(e, t.modifier)), e.push(")");
1071
+ }
1072
+ function bs(e, t) {
1073
+ const { helper: n, needIndent: r } = e;
1074
+ e.push(`${n(
1075
+ "normalize"
1076
+ /* NORMALIZE */
1077
+ )}([`), e.indent(r());
1078
+ const s = t.items.length;
1079
+ for (let o = 0; o < s && (Ae(e, t.items[o]), o !== s - 1); o++)
1080
+ e.push(", ");
1081
+ e.deindent(r()), e.push("])");
1082
+ }
1083
+ function ys(e, t) {
1084
+ const { helper: n, needIndent: r } = e;
1085
+ if (t.cases.length > 1) {
1086
+ e.push(`${n(
1087
+ "plural"
1088
+ /* PLURAL */
1089
+ )}([`), e.indent(r());
1090
+ const s = t.cases.length;
1091
+ for (let o = 0; o < s && (Ae(e, t.cases[o]), o !== s - 1); o++)
1092
+ e.push(", ");
1093
+ e.deindent(r()), e.push("])");
1094
+ }
1095
+ }
1096
+ function _s(e, t) {
1097
+ t.body ? Ae(e, t.body) : e.push("null");
1098
+ }
1099
+ function Ae(e, t) {
1100
+ const { helper: n } = e;
1101
+ switch (t.type) {
1102
+ case 0:
1103
+ _s(e, t);
1104
+ break;
1105
+ case 1:
1106
+ ys(e, t);
1107
+ break;
1108
+ case 2:
1109
+ bs(e, t);
1110
+ break;
1111
+ case 6:
1112
+ gs(e, t);
1113
+ break;
1114
+ case 8:
1115
+ e.push(JSON.stringify(t.value), t);
1116
+ break;
1117
+ case 7:
1118
+ e.push(JSON.stringify(t.value), t);
1119
+ break;
1120
+ case 5:
1121
+ e.push(`${n(
1122
+ "interpolate"
1123
+ /* INTERPOLATE */
1124
+ )}(${n(
1125
+ "list"
1126
+ /* LIST */
1127
+ )}(${t.index}))`, t);
1128
+ break;
1129
+ case 4:
1130
+ e.push(`${n(
1131
+ "interpolate"
1132
+ /* INTERPOLATE */
1133
+ )}(${n(
1134
+ "named"
1135
+ /* NAMED */
1136
+ )}(${JSON.stringify(t.key)}))`, t);
1137
+ break;
1138
+ case 9:
1139
+ e.push(JSON.stringify(t.value), t);
1140
+ break;
1141
+ case 3:
1142
+ e.push(JSON.stringify(t.value), t);
1143
+ break;
1144
+ default:
1145
+ if (process.env.NODE_ENV !== "production")
1146
+ throw new Error(`unhandled codegen node type: ${t.type}`);
1147
+ }
1148
+ }
1149
+ const ws = (e, t = {}) => {
1150
+ const n = P(t.mode) ? t.mode : "normal", r = P(t.filename) ? t.filename : "message.intl";
1151
+ t.sourceMap;
1152
+ const s = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1153
+ `, o = t.needIndent ? t.needIndent : n !== "arrow", a = e.helpers || [], i = hs(e, {
1154
+ filename: r,
1155
+ breakLineCode: s,
1156
+ needIndent: o
1157
+ });
1158
+ i.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), i.indent(o), a.length > 0 && (i.push(`const { ${a.map((f) => `${f}: _${f}`).join(", ")} } = ctx`), i.newline()), i.push("return "), Ae(i, e), i.deindent(o), i.push("}");
1159
+ const { code: u, map: c } = i.context();
1160
+ return {
1161
+ ast: e,
1162
+ code: u,
1163
+ map: c ? c.toJSON() : void 0
1164
+ // eslint-disable-line @typescript-eslint/no-explicit-any
1165
+ };
1166
+ };
1167
+ function Es(e, t = {}) {
1168
+ const r = ds({ ...t }).parse(e);
1169
+ return ps(r, { ...t }), ws(r, { ...t });
1170
+ }
1171
+ const Ss = {
1172
+ 0: "Not found '{key}' key in '{locale}' locale messages.",
1173
+ 1: "Fall back to translate '{key}' key with '{target}' locale.",
1174
+ 2: "Cannot format a number value due to not supported Intl.NumberFormat.",
1175
+ 3: "Fall back to number format '{key}' key with '{target}' locale.",
1176
+ 4: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
1177
+ 5: "Fall back to datetime format '{key}' key with '{target}' locale."
1178
+ };
1179
+ function Ie(e, ...t) {
1180
+ return lt(Ss[e], ...t);
1181
+ }
1182
+ const ft = -1, st = "";
1183
+ function Os() {
1184
+ return {
1185
+ upper: (e) => P(e) ? e.toUpperCase() : e,
1186
+ lower: (e) => P(e) ? e.toLowerCase() : e,
1187
+ // prettier-ignore
1188
+ capitalize: (e) => P(e) ? `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}` : e
1189
+ };
1190
+ }
1191
+ let Hn;
1192
+ function Ts(e) {
1193
+ Hn = e;
1194
+ }
1195
+ function Ns(e = {}) {
1196
+ const t = P(e.locale) ? e.locale : "en-US", n = W(e.fallbackLocale) || I(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = I(e.messages) ? e.messages : { [t]: {} }, s = I(e.datetimeFormats) ? e.datetimeFormats : { [t]: {} }, o = I(e.numberFormats) ? e.numberFormats : { [t]: {} }, a = Object.assign({}, e.modifiers || {}, Os()), i = e.pluralRules || {}, u = B(e.missing) ? e.missing : null, c = U(e.missingWarn) || nt(e.missingWarn) ? e.missingWarn : !0, f = U(e.fallbackWarn) || nt(e.fallbackWarn) ? e.fallbackWarn : !0, b = !!e.fallbackFormat, O = !!e.unresolving, F = B(e.postTranslation) ? e.postTranslation : null, p = I(e.processor) ? e.processor : null, S = U(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, m = B(e.messageCompiler) ? e.messageCompiler : Hn, w = B(e.onWarn) ? e.onWarn : Ne, T = e, g = J(T.__datetimeFormatters) ? T.__datetimeFormatters : /* @__PURE__ */ new Map(), k = J(T.__numberFormatters) ? T.__numberFormatters : /* @__PURE__ */ new Map(), C = {
1197
+ locale: t,
1198
+ fallbackLocale: n,
1199
+ messages: r,
1200
+ datetimeFormats: s,
1201
+ numberFormats: o,
1202
+ modifiers: a,
1203
+ pluralRules: i,
1204
+ missing: u,
1205
+ missingWarn: c,
1206
+ fallbackWarn: f,
1207
+ fallbackFormat: b,
1208
+ unresolving: O,
1209
+ postTranslation: F,
1210
+ processor: p,
1211
+ warnHtmlMessage: S,
1212
+ escapeParameter: y,
1213
+ messageCompiler: m,
1214
+ onWarn: w,
1215
+ __datetimeFormatters: g,
1216
+ __numberFormatters: k
1217
+ };
1218
+ return process.env.NODE_ENV !== "production" && (C.__emitter = T.__emitter != null ? T.__emitter : void 0), C;
1219
+ }
1220
+ function Wt(e, t) {
1221
+ return e instanceof RegExp ? e.test(t) : e;
1222
+ }
1223
+ function ks(e, t) {
1224
+ return e instanceof RegExp ? e.test(t) : e;
1225
+ }
1226
+ function Ht(e, t, n, r, s) {
1227
+ const { missing: o, onWarn: a } = e;
1228
+ if (process.env.NODE_ENV !== "production") {
1229
+ const i = e.__emitter;
1230
+ i && i.emit("missing", {
1231
+ locale: n,
1232
+ key: t,
1233
+ type: s,
1234
+ groupId: `${s}:${t}`
1235
+ });
1236
+ }
1237
+ if (o !== null) {
1238
+ const i = o(e, n, t, s);
1239
+ return P(i) ? i : t;
1240
+ } else
1241
+ return process.env.NODE_ENV !== "production" && ks(r, t) && a(Ie(0, { key: t, locale: n })), t;
1242
+ }
1243
+ function dt(e, t, n) {
1244
+ const r = e;
1245
+ r.__localeChainCache || (r.__localeChainCache = /* @__PURE__ */ new Map());
1246
+ let s = r.__localeChainCache.get(n);
1247
+ if (!s) {
1248
+ s = [];
1249
+ let o = [n];
1250
+ for (; W(o); )
1251
+ o = un(s, o, t);
1252
+ const a = W(t) ? t : I(t) ? t.default ? t.default : null : t;
1253
+ o = P(a) ? [a] : a, W(o) && un(s, o, !1), r.__localeChainCache.set(n, s);
1254
+ }
1255
+ return s;
1256
+ }
1257
+ function un(e, t, n) {
1258
+ let r = !0;
1259
+ for (let s = 0; s < t.length && U(r); s++) {
1260
+ const o = t[s];
1261
+ P(o) && (r = vs(e, t[s], n));
1262
+ }
1263
+ return r;
1264
+ }
1265
+ function vs(e, t, n) {
1266
+ let r;
1267
+ const s = t.split("-");
1268
+ do {
1269
+ const o = s.join("-");
1270
+ r = Ls(e, o, n), s.splice(-1, 1);
1271
+ } while (s.length && r === !0);
1272
+ return r;
1273
+ }
1274
+ function Ls(e, t, n) {
1275
+ let r = !1;
1276
+ if (!e.includes(t) && (r = !0, t)) {
1277
+ r = t[t.length - 1] !== "!";
1278
+ const s = t.replace(/!/g, "");
1279
+ e.push(s), (W(n) || I(n)) && n[s] && (r = n[s]);
1280
+ }
1281
+ return r;
1282
+ }
1283
+ function Be(e, t, n) {
1284
+ const r = e;
1285
+ r.__localeChainCache = /* @__PURE__ */ new Map(), dt(e, n, t);
1286
+ }
1287
+ const Cs = /<\/?[\w\s="/.':;#-\/]+>/, Ps = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1288
+ function Fs(e, t) {
1289
+ (U(t.warnHtmlMessage) ? t.warnHtmlMessage : !0) && Cs.test(e) && Ne(lt(Ps, { source: e }));
1290
+ }
1291
+ const Rs = (e) => e;
1292
+ let fn = /* @__PURE__ */ Object.create(null);
1293
+ function As(e, t = {}) {
1294
+ {
1295
+ process.env.NODE_ENV !== "production" && Fs(e, t);
1296
+ const r = (t.onCacheKey || Rs)(e), s = fn[r];
1297
+ if (s)
1298
+ return s;
1299
+ let o = !1;
1300
+ const a = t.onError || ts;
1301
+ t.onError = (c) => {
1302
+ o = !0, a(c);
1303
+ };
1304
+ const { code: i } = Es(e, t), u = new Function(`return ${i}`)();
1305
+ return o ? u : fn[r] = u;
1306
+ }
1307
+ }
1308
+ function Fe(e) {
1309
+ return ut(e, null, process.env.NODE_ENV !== "production" ? { messages: Is } : void 0);
1310
+ }
1311
+ const Is = {
1312
+ 14: "Invalid arguments",
1313
+ 15: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
1314
+ 16: "The argument provided is not a valid ISO date string"
1315
+ }, dn = () => "", ot = (e) => B(e);
1316
+ function mn(e, ...t) {
1317
+ const { fallbackFormat: n, postTranslation: r, unresolving: s, fallbackLocale: o } = e, [a, i] = vt(...t), u = U(i.missingWarn) ? i.missingWarn : e.missingWarn, c = U(i.fallbackWarn) ? i.fallbackWarn : e.fallbackWarn, f = U(i.escapeParameter) ? i.escapeParameter : e.escapeParameter, b = P(i.default) || U(i.default) ? U(i.default) ? a : i.default : n ? a : "", O = n || b !== "", F = P(i.locale) ? i.locale : e.locale;
1318
+ f && Ds(i);
1319
+ let [p, S, y] = xs(e, a, F, o, c, u), m = a;
1320
+ if (P(p) || ot(p) || O && (p = b, m = p), !(P(p) || ot(p)) || !P(S))
1321
+ return s ? ft : a;
1322
+ if (process.env.NODE_ENV !== "production" && P(p) && e.messageCompiler == null)
1323
+ return Ne(`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 '${a}'.`), a;
1324
+ let w = !1;
1325
+ const g = qn(e, a, S, p, m, () => {
1326
+ w = !0;
1327
+ });
1328
+ if (w)
1329
+ return p;
1330
+ const k = Us(e, S, y, i), C = zr(k), L = Ms(e, g, C);
1331
+ return r ? r(L) : L;
1332
+ }
1333
+ function Ds(e) {
1334
+ W(e.list) ? e.list = e.list.map((t) => P(t) ? rn(t) : t) : J(e.named) && Object.keys(e.named).forEach((t) => {
1335
+ P(e.named[t]) && (e.named[t] = rn(e.named[t]));
1336
+ });
1337
+ }
1338
+ function xs(e, t, n, r, s, o) {
1339
+ const { messages: a, onWarn: i } = e, u = dt(e, r, n);
1340
+ let c = {}, f, b = null, O = n, F = null;
1341
+ const p = "translate";
1342
+ for (let S = 0; S < u.length; S++) {
1343
+ if (f = F = u[S], process.env.NODE_ENV !== "production" && n !== f && Wt(s, t) && i(Ie(1, {
1344
+ key: t,
1345
+ target: f
1346
+ })), process.env.NODE_ENV !== "production" && n !== f) {
1347
+ const g = e.__emitter;
1348
+ g && g.emit("fallback", {
1349
+ type: p,
1350
+ key: t,
1351
+ from: O,
1352
+ to: F,
1353
+ groupId: `${p}:${t}`
1354
+ });
1355
+ }
1356
+ c = a[f] || {};
1357
+ let y = null, m, w;
1358
+ if (process.env.NODE_ENV !== "production" && Ee && (y = window.performance.now(), m = "intlify-message-resolve-start", w = "intlify-message-resolve-end", Y && Y(m)), (b = rt(c, t)) === null && (b = c[t]), process.env.NODE_ENV !== "production" && Ee) {
1359
+ const g = window.performance.now(), k = e.__emitter;
1360
+ k && y && b && k.emit("message-resolve", {
1361
+ type: "message-resolve",
1362
+ key: t,
1363
+ message: b,
1364
+ time: g - y,
1365
+ groupId: `${p}:${t}`
1366
+ }), m && w && Y && Se && (Y(w), Se("intlify message resolve", m, w));
1367
+ }
1368
+ if (P(b) || B(b))
1369
+ break;
1370
+ const T = Ht(e, t, f, o, p);
1371
+ T !== t && (b = T), O = F;
1372
+ }
1373
+ return [b, f, c];
1374
+ }
1375
+ function qn(e, t, n, r, s, o) {
1376
+ const { messageCompiler: a, warnHtmlMessage: i } = e;
1377
+ if (ot(r)) {
1378
+ const O = r;
1379
+ return O.locale = O.locale || n, O.key = O.key || t, O;
1380
+ }
1381
+ let u = null, c, f;
1382
+ process.env.NODE_ENV !== "production" && Ee && (u = window.performance.now(), c = "intlify-message-compilation-start", f = "intlify-message-compilation-end", Y && Y(c));
1383
+ const b = a(r, $s(e, n, s, r, i, o));
1384
+ if (process.env.NODE_ENV !== "production" && Ee) {
1385
+ const O = window.performance.now(), F = e.__emitter;
1386
+ F && u && F.emit("message-compilation", {
1387
+ type: "message-compilation",
1388
+ message: r,
1389
+ time: O - u,
1390
+ groupId: `translate:${t}`
1391
+ }), c && f && Y && Se && (Y(f), Se("intlify message compilation", c, f));
1392
+ }
1393
+ return b.locale = n, b.key = t, b.source = r, b;
1394
+ }
1395
+ function Ms(e, t, n) {
1396
+ let r = null, s, o;
1397
+ process.env.NODE_ENV !== "production" && Ee && (r = window.performance.now(), s = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", Y && Y(s));
1398
+ const a = t(n);
1399
+ if (process.env.NODE_ENV !== "production" && Ee) {
1400
+ const i = window.performance.now(), u = e.__emitter;
1401
+ u && r && u.emit("message-evaluation", {
1402
+ type: "message-evaluation",
1403
+ value: a,
1404
+ time: i - r,
1405
+ groupId: `translate:${t.key}`
1406
+ }), s && o && Y && Se && (Y(o), Se("intlify message evaluation", s, o));
1407
+ }
1408
+ return a;
1409
+ }
1410
+ function vt(...e) {
1411
+ const [t, n, r] = e, s = {};
1412
+ if (!P(t) && !j(t))
1413
+ throw Fe(
1414
+ 14
1415
+ /* INVALID_ARGUMENT */
1416
+ );
1417
+ const o = j(t) ? String(t) : t;
1418
+ return j(n) ? s.plural = n : P(n) ? s.default = n : I(n) && !ct(n) ? s.named = n : W(n) && (s.list = n), j(r) ? s.plural = r : P(r) ? s.default = r : I(r) && Object.assign(s, r), [o, s];
1419
+ }
1420
+ function $s(e, t, n, r, s, o) {
1421
+ return {
1422
+ warnHtmlMessage: s,
1423
+ onError: (a) => {
1424
+ if (o && o(a), process.env.NODE_ENV !== "production") {
1425
+ const i = `Message compilation error: ${a.message}`, u = a.location && $r(r, a.location.start.offset, a.location.end.offset), c = e.__emitter;
1426
+ c && c.emit("compile-error", {
1427
+ message: r,
1428
+ error: a.message,
1429
+ start: a.location && a.location.start.offset,
1430
+ end: a.location && a.location.end.offset,
1431
+ groupId: `translate:${n}`
1432
+ }), console.error(u ? `${i}
1433
+ ${u}` : i);
1434
+ } else
1435
+ throw a;
1436
+ },
1437
+ onCacheKey: (a) => Ar(t, n, a)
1438
+ };
1439
+ }
1440
+ function Us(e, t, n, r) {
1441
+ const { modifiers: s, pluralRules: o } = e, i = {
1442
+ locale: t,
1443
+ modifiers: s,
1444
+ pluralRules: o,
1445
+ messages: (u) => {
1446
+ const c = rt(n, u);
1447
+ if (P(c)) {
1448
+ let f = !1;
1449
+ const O = qn(e, u, t, c, u, () => {
1450
+ f = !0;
1451
+ });
1452
+ return f ? dn : O;
1453
+ } else return ot(c) ? c : dn;
1454
+ }
1455
+ };
1456
+ return e.processor && (i.processor = e.processor), r.list && (i.list = r.list), r.named && (i.named = r.named), j(r.plural) && (i.pluralIndex = r.plural), i;
1457
+ }
1458
+ const pn = typeof Intl < "u", Jn = {
1459
+ dateTimeFormat: pn && typeof Intl.DateTimeFormat < "u",
1460
+ numberFormat: pn && typeof Intl.NumberFormat < "u"
1461
+ };
1462
+ function hn(e, ...t) {
1463
+ const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: o } = e, { __datetimeFormatters: a } = e;
1464
+ if (process.env.NODE_ENV !== "production" && !Jn.dateTimeFormat)
1465
+ return o(Ie(
1466
+ 4
1467
+ /* CANNOT_FORMAT_DATE */
1468
+ )), st;
1469
+ const [i, u, c, f] = Lt(...t), b = U(c.missingWarn) ? c.missingWarn : e.missingWarn, O = U(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, F = !!c.part, p = P(c.locale) ? c.locale : e.locale, S = dt(e, s, p);
1470
+ if (!P(i) || i === "")
1471
+ return new Intl.DateTimeFormat(p).format(u);
1472
+ let y = {}, m, w = null, T = p, g = null;
1473
+ const k = "datetime format";
1474
+ for (let M = 0; M < S.length; M++) {
1475
+ if (m = g = S[M], process.env.NODE_ENV !== "production" && p !== m && Wt(O, i) && o(Ie(5, {
1476
+ key: i,
1477
+ target: m
1478
+ })), process.env.NODE_ENV !== "production" && p !== m) {
1479
+ const x = e.__emitter;
1480
+ x && x.emit("fallback", {
1481
+ type: k,
1482
+ key: i,
1483
+ from: T,
1484
+ to: g,
1485
+ groupId: `${k}:${i}`
1486
+ });
1487
+ }
1488
+ if (y = n[m] || {}, w = y[i], I(w))
1489
+ break;
1490
+ Ht(e, i, m, b, k), T = g;
1491
+ }
1492
+ if (!I(w) || !P(m))
1493
+ return r ? ft : i;
1494
+ let C = `${m}__${i}`;
1495
+ ct(f) || (C = `${C}__${JSON.stringify(f)}`);
1496
+ let L = a.get(C);
1497
+ return L || (L = new Intl.DateTimeFormat(m, Object.assign({}, w, f)), a.set(C, L)), F ? L.formatToParts(u) : L.format(u);
1498
+ }
1499
+ function Lt(...e) {
1500
+ const [t, n, r, s] = e;
1501
+ let o = {}, a = {}, i;
1502
+ if (P(t)) {
1503
+ if (!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t))
1504
+ throw Fe(
1505
+ 16
1506
+ /* INVALID_ISO_DATE_ARGUMENT */
1507
+ );
1508
+ i = new Date(t);
1509
+ try {
1510
+ i.toISOString();
1511
+ } catch {
1512
+ throw Fe(
1513
+ 16
1514
+ /* INVALID_ISO_DATE_ARGUMENT */
1515
+ );
1516
+ }
1517
+ } else if (Dr(t)) {
1518
+ if (isNaN(t.getTime()))
1519
+ throw Fe(
1520
+ 15
1521
+ /* INVALID_DATE_ARGUMENT */
1522
+ );
1523
+ i = t;
1524
+ } else if (j(t))
1525
+ i = t;
1526
+ else
1527
+ throw Fe(
1528
+ 14
1529
+ /* INVALID_ARGUMENT */
1530
+ );
1531
+ return P(n) ? o.key = n : I(n) && (o = n), P(r) ? o.locale = r : I(r) && (a = r), I(s) && (a = s), [o.key || "", i, o, a];
1532
+ }
1533
+ function gn(e, t, n) {
1534
+ const r = e;
1535
+ for (const s in n) {
1536
+ const o = `${t}__${s}`;
1537
+ r.__datetimeFormatters.has(o) && r.__datetimeFormatters.delete(o);
1538
+ }
1539
+ }
1540
+ function bn(e, ...t) {
1541
+ const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: o } = e, { __numberFormatters: a } = e;
1542
+ if (process.env.NODE_ENV !== "production" && !Jn.numberFormat)
1543
+ return o(Ie(
1544
+ 2
1545
+ /* CANNOT_FORMAT_NUMBER */
1546
+ )), st;
1547
+ const [i, u, c, f] = Ct(...t), b = U(c.missingWarn) ? c.missingWarn : e.missingWarn, O = U(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, F = !!c.part, p = P(c.locale) ? c.locale : e.locale, S = dt(e, s, p);
1548
+ if (!P(i) || i === "")
1549
+ return new Intl.NumberFormat(p).format(u);
1550
+ let y = {}, m, w = null, T = p, g = null;
1551
+ const k = "number format";
1552
+ for (let M = 0; M < S.length; M++) {
1553
+ if (m = g = S[M], process.env.NODE_ENV !== "production" && p !== m && Wt(O, i) && o(Ie(3, {
1554
+ key: i,
1555
+ target: m
1556
+ })), process.env.NODE_ENV !== "production" && p !== m) {
1557
+ const x = e.__emitter;
1558
+ x && x.emit("fallback", {
1559
+ type: k,
1560
+ key: i,
1561
+ from: T,
1562
+ to: g,
1563
+ groupId: `${k}:${i}`
1564
+ });
1565
+ }
1566
+ if (y = n[m] || {}, w = y[i], I(w))
1567
+ break;
1568
+ Ht(e, i, m, b, k), T = g;
1569
+ }
1570
+ if (!I(w) || !P(m))
1571
+ return r ? ft : i;
1572
+ let C = `${m}__${i}`;
1573
+ ct(f) || (C = `${C}__${JSON.stringify(f)}`);
1574
+ let L = a.get(C);
1575
+ return L || (L = new Intl.NumberFormat(m, Object.assign({}, w, f)), a.set(C, L)), F ? L.formatToParts(u) : L.format(u);
1576
+ }
1577
+ function Ct(...e) {
1578
+ const [t, n, r, s] = e;
1579
+ let o = {}, a = {};
1580
+ if (!j(t))
1581
+ throw Fe(
1582
+ 14
1583
+ /* INVALID_ARGUMENT */
1584
+ );
1585
+ const i = t;
1586
+ return P(n) ? o.key = n : I(n) && (o = n), P(r) ? o.locale = r : I(r) && (a = r), I(s) && (a = s), [o.key || "", i, o, a];
1587
+ }
1588
+ function yn(e, t, n) {
1589
+ const r = e;
1590
+ for (const s in n) {
1591
+ const o = `${t}__${s}`;
1592
+ r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
1593
+ }
1594
+ }
1595
+ const wt = {
1596
+ "vue-devtools-plugin-vue-i18n": "Vue I18n devtools",
1597
+ "vue-i18n-resource-inspector": "I18n Resources",
1598
+ "vue-i18n-timeline": "Vue I18n"
1599
+ }, js = {
1600
+ "vue-i18n-resource-inspector": "Search for scopes ..."
1601
+ }, Bs = {
1602
+ "vue-i18n-timeline": 16764185
1603
+ };
1604
+ function Kn() {
1605
+ const e = /* @__PURE__ */ new Map();
1606
+ return {
1607
+ events: e,
1608
+ on(n, r) {
1609
+ const s = e.get(n);
1610
+ s && s.push(r) || e.set(n, [r]);
1611
+ },
1612
+ off(n, r) {
1613
+ const s = e.get(n);
1614
+ s && s.splice(s.indexOf(r) >>> 0, 1);
1615
+ },
1616
+ emit(n, r) {
1617
+ (e.get(n) || []).slice().map((s) => s(r)), (e.get("*") || []).slice().map((s) => s(n, r));
1618
+ }
1619
+ };
1620
+ }
1621
+ function Vs() {
1622
+ return Gn().__VUE_DEVTOOLS_GLOBAL_HOOK__;
1623
+ }
1624
+ function Gn() {
1625
+ return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
1626
+ }
1627
+ const Ws = typeof Proxy == "function", Hs = "devtools-plugin:setup", qs = "plugin:settings:set";
1628
+ let Ce, Pt;
1629
+ function Js() {
1630
+ var e;
1631
+ return Ce !== void 0 || (typeof window < "u" && window.performance ? (Ce = !0, Pt = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Ce = !0, Pt = globalThis.perf_hooks.performance) : Ce = !1), Ce;
1632
+ }
1633
+ function Ks() {
1634
+ return Js() ? Pt.now() : Date.now();
1635
+ }
1636
+ class Gs {
1637
+ constructor(t, n) {
1638
+ this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
1639
+ const r = {};
1640
+ if (t.settings)
1641
+ for (const a in t.settings) {
1642
+ const i = t.settings[a];
1643
+ r[a] = i.defaultValue;
1644
+ }
1645
+ const s = `__vue-devtools-plugin-settings__${t.id}`;
1646
+ let o = Object.assign({}, r);
1647
+ try {
1648
+ const a = localStorage.getItem(s), i = JSON.parse(a);
1649
+ Object.assign(o, i);
1650
+ } catch {
1651
+ }
1652
+ this.fallbacks = {
1653
+ getSettings() {
1654
+ return o;
1655
+ },
1656
+ setSettings(a) {
1657
+ try {
1658
+ localStorage.setItem(s, JSON.stringify(a));
1659
+ } catch {
1660
+ }
1661
+ o = a;
1662
+ },
1663
+ now() {
1664
+ return Ks();
1665
+ }
1666
+ }, n && n.on(qs, (a, i) => {
1667
+ a === this.plugin.id && this.fallbacks.setSettings(i);
1668
+ }), this.proxiedOn = new Proxy({}, {
1669
+ get: (a, i) => this.target ? this.target.on[i] : (...u) => {
1670
+ this.onQueue.push({
1671
+ method: i,
1672
+ args: u
1673
+ });
1674
+ }
1675
+ }), this.proxiedTarget = new Proxy({}, {
1676
+ get: (a, i) => this.target ? this.target[i] : i === "on" ? this.proxiedOn : Object.keys(this.fallbacks).includes(i) ? (...u) => (this.targetQueue.push({
1677
+ method: i,
1678
+ args: u,
1679
+ resolve: () => {
1680
+ }
1681
+ }), this.fallbacks[i](...u)) : (...u) => new Promise((c) => {
1682
+ this.targetQueue.push({
1683
+ method: i,
1684
+ args: u,
1685
+ resolve: c
1686
+ });
1687
+ })
1688
+ });
1689
+ }
1690
+ async setRealTarget(t) {
1691
+ this.target = t;
1692
+ for (const n of this.onQueue)
1693
+ this.target.on[n.method](...n.args);
1694
+ for (const n of this.targetQueue)
1695
+ n.resolve(await this.target[n.method](...n.args));
1696
+ }
1697
+ }
1698
+ function Ys(e, t) {
1699
+ const n = e, r = Gn(), s = Vs(), o = Ws && n.enableEarlyProxy;
1700
+ if (s && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !o))
1701
+ s.emit(Hs, e, t);
1702
+ else {
1703
+ const a = o ? new Gs(n, s) : null;
1704
+ (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
1705
+ pluginDescriptor: n,
1706
+ setupFn: t,
1707
+ proxy: a
1708
+ }), a && t(a.proxiedTarget);
1709
+ }
1710
+ }
1711
+ function Qs() {
1712
+ let e = !1;
1713
+ process.env.NODE_ENV;
1714
+ }
1715
+ function Xs() {
1716
+ const e = xr();
1717
+ e.__INTLIFY__ = !0, console.info(`You are running a development build of vue-i18n.
1718
+ Make sure to use the production build (*.prod.js) when deploying for production.`);
1719
+ }
1720
+ const Zs = {
1721
+ 6: "Fall back to {type} '{key}' with root locale.",
1722
+ 7: "Not supported 'preserve'.",
1723
+ 8: "Not supported 'formatter'.",
1724
+ 9: "Not supported 'preserveDirectiveContent'.",
1725
+ 10: "Not supported 'getChoiceIndex'.",
1726
+ 11: "Component name legacy compatible: '{name}' -> 'i18n'",
1727
+ 12: "Not found parent scope. use the global scope."
1728
+ };
1729
+ function mt(e, ...t) {
1730
+ return lt(Zs[e], ...t);
1731
+ }
1732
+ function te(e, ...t) {
1733
+ return ut(e, null, process.env.NODE_ENV !== "production" ? { messages: zs, args: t } : void 0);
1734
+ }
1735
+ const zs = {
1736
+ 14: "Unexpected return type in composer",
1737
+ 15: "Invalid argument",
1738
+ 16: "Must be called at the top of a `setup` function",
1739
+ 17: "Need to install with `app.use` function",
1740
+ 22: "Unexpected error",
1741
+ 18: "Not available in legacy mode",
1742
+ 19: "Required in value: {0}",
1743
+ 20: "Invalid value",
1744
+ 21: "Cannot setup vue-devtools plugin"
1745
+ }, Ft = Te("__transrateVNode"), Rt = Te("__datetimeParts"), At = Te("__numberParts"), We = Te("__enableEmitter"), It = Te("__disableEmitter"), eo = Te("__setPluralRules");
1746
+ let _n = 0;
1747
+ function wn(e) {
1748
+ return ((t, n, r, s) => e(n, r, Bn() || void 0, s));
1749
+ }
1750
+ function Yn(e, t) {
1751
+ const { messages: n, __i18n: r } = t, s = I(n) ? n : W(r) ? {} : { [e]: {} };
1752
+ return W(r) && r.forEach(({ locale: o, resource: a }) => {
1753
+ o ? (s[o] = s[o] || {}, at(a, s[o])) : at(a, s);
1754
+ }), s;
1755
+ }
1756
+ const to = Object.prototype.hasOwnProperty;
1757
+ function no(e, t) {
1758
+ return to.call(e, t);
1759
+ }
1760
+ const Xe = (e) => !J(e) || W(e);
1761
+ function at(e, t) {
1762
+ if (Xe(e) || Xe(t))
1763
+ throw te(
1764
+ 20
1765
+ /* INVALID_VALUE */
1766
+ );
1767
+ for (const n in e)
1768
+ no(e, n) && (Xe(e[n]) || Xe(t[n]) ? t[n] = e[n] : at(e[n], t[n]));
1769
+ }
1770
+ function Qn(e = {}) {
1771
+ const { __root: t } = e, n = t === void 0;
1772
+ let r = U(e.inheritLocale) ? e.inheritLocale : !0;
1773
+ const s = ye(
1774
+ // prettier-ignore
1775
+ t && r ? t.locale.value : P(e.locale) ? e.locale : "en-US"
1776
+ ), o = ye(
1777
+ // prettier-ignore
1778
+ t && r ? t.fallbackLocale.value : P(e.fallbackLocale) || W(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s.value
1779
+ ), a = ye(Yn(s.value, e)), i = ye(I(e.datetimeFormats) ? e.datetimeFormats : { [s.value]: {} }), u = ye(I(e.numberFormats) ? e.numberFormats : { [s.value]: {} });
1780
+ let c = t ? t.missingWarn : U(e.missingWarn) || nt(e.missingWarn) ? e.missingWarn : !0, f = t ? t.fallbackWarn : U(e.fallbackWarn) || nt(e.fallbackWarn) ? e.fallbackWarn : !0, b = t ? t.fallbackRoot : U(e.fallbackRoot) ? e.fallbackRoot : !0, O = !!e.fallbackFormat, F = B(e.missing) ? e.missing : null, p = B(e.missing) ? wn(e.missing) : null, S = B(e.postTranslation) ? e.postTranslation : null, y = U(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
1781
+ const w = t ? t.modifiers : I(e.modifiers) ? e.modifiers : {};
1782
+ let T = e.pluralRules || t && t.pluralRules, g;
1783
+ function k() {
1784
+ return Ns({
1785
+ locale: s.value,
1786
+ fallbackLocale: o.value,
1787
+ messages: a.value,
1788
+ datetimeFormats: i.value,
1789
+ numberFormats: u.value,
1790
+ modifiers: w,
1791
+ pluralRules: T,
1792
+ missing: p === null ? void 0 : p,
1793
+ missingWarn: c,
1794
+ fallbackWarn: f,
1795
+ fallbackFormat: O,
1796
+ unresolving: !0,
1797
+ postTranslation: S === null ? void 0 : S,
1798
+ warnHtmlMessage: y,
1799
+ escapeParameter: m,
1800
+ __datetimeFormatters: I(g) ? g.__datetimeFormatters : void 0,
1801
+ __numberFormatters: I(g) ? g.__numberFormatters : void 0,
1802
+ __emitter: I(g) ? g.__emitter : void 0
1803
+ });
1804
+ }
1805
+ g = k(), Be(g, s.value, o.value);
1806
+ const C = Pe({
1807
+ get: () => s.value,
1808
+ set: (_) => {
1809
+ s.value = _, g.locale = s.value;
1810
+ }
1811
+ }), L = Pe({
1812
+ get: () => o.value,
1813
+ set: (_) => {
1814
+ o.value = _, g.fallbackLocale = o.value, Be(g, s.value, _);
1815
+ }
1816
+ }), M = Pe(() => a.value), x = Pe(() => i.value), Q = Pe(() => u.value);
1817
+ function fe() {
1818
+ return B(S) ? S : null;
1819
+ }
1820
+ function X(_) {
1821
+ S = _, g.postTranslation = _;
1822
+ }
1823
+ function ie() {
1824
+ return F;
1825
+ }
1826
+ function ne(_) {
1827
+ _ !== null && (p = wn(_)), F = _, g.missing = p;
1828
+ }
1829
+ function re(_, v, oe, be, Tr, Nr) {
1830
+ const Zt = k(), Ye = _(Zt);
1831
+ if (j(Ye) && Ye === ft) {
1832
+ const Qe = v();
1833
+ if (process.env.NODE_ENV !== "production" && t && (b || Ne(mt(6, {
1834
+ key: Qe,
1835
+ type: oe
1836
+ })), process.env.NODE_ENV !== "production")) {
1837
+ const { __emitter: zt } = Zt;
1838
+ zt && zt.emit("fallback", {
1839
+ type: oe,
1840
+ key: Qe,
1841
+ to: "global",
1842
+ groupId: `${oe}:${Qe}`
1843
+ });
1844
+ }
1845
+ return t && b ? be(t) : Tr(Qe);
1846
+ } else {
1847
+ if (Nr(Ye))
1848
+ return Ye;
1849
+ throw te(
1850
+ 14
1851
+ /* UNEXPECTED_RETURN_TYPE */
1852
+ );
1853
+ }
1854
+ }
1855
+ function H(..._) {
1856
+ return re((v) => mn(v, ..._), () => vt(..._)[0], "translate", (v) => v.t(..._), (v) => v, (v) => P(v));
1857
+ }
1858
+ function ke(..._) {
1859
+ return re((v) => hn(v, ..._), () => Lt(..._)[0], "datetime format", (v) => v.d(..._), () => st, (v) => P(v));
1860
+ }
1861
+ function Z(..._) {
1862
+ return re((v) => bn(v, ..._), () => Ct(..._)[0], "number format", (v) => v.n(..._), () => st, (v) => P(v));
1863
+ }
1864
+ function ve(_) {
1865
+ return _.map((v) => P(v) ? en(tn, null, v, 0) : v);
1866
+ }
1867
+ const z = {
1868
+ normalize: ve,
1869
+ interpolate: (_) => _,
1870
+ type: "vnode"
1871
+ };
1872
+ function se(..._) {
1873
+ return re(
1874
+ (v) => {
1875
+ let oe;
1876
+ const be = v;
1877
+ try {
1878
+ be.processor = z, oe = mn(be, ..._);
1879
+ } finally {
1880
+ be.processor = null;
1881
+ }
1882
+ return oe;
1883
+ },
1884
+ () => vt(..._)[0],
1885
+ "translate",
1886
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1887
+ (v) => v[Ft](..._),
1888
+ (v) => [en(tn, null, v, 0)],
1889
+ (v) => W(v)
1890
+ );
1891
+ }
1892
+ function he(..._) {
1893
+ return re(
1894
+ (v) => bn(v, ..._),
1895
+ () => Ct(..._)[0],
1896
+ "number format",
1897
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1898
+ (v) => v[At](..._),
1899
+ () => [],
1900
+ (v) => P(v) || W(v)
1901
+ );
1902
+ }
1903
+ function de(..._) {
1904
+ return re(
1905
+ (v) => hn(v, ..._),
1906
+ () => Lt(..._)[0],
1907
+ "datetime format",
1908
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1909
+ (v) => v[Rt](..._),
1910
+ () => [],
1911
+ (v) => P(v) || W(v)
1912
+ );
1913
+ }
1914
+ function Le(_) {
1915
+ T = _, g.pluralRules = T;
1916
+ }
1917
+ function $e(_, v) {
1918
+ const oe = P(v) ? v : s.value, be = ge(oe);
1919
+ return rt(be, _) !== null;
1920
+ }
1921
+ function Ue(_) {
1922
+ const v = a.value[s.value] || {}, oe = rt(v, _);
1923
+ return oe ?? (t ? t.tm(_) || {} : {});
1924
+ }
1925
+ function ge(_) {
1926
+ return a.value[_] || {};
1927
+ }
1928
+ function je(_, v) {
1929
+ a.value[_] = v, g.messages = a.value;
1930
+ }
1931
+ function _t(_, v) {
1932
+ a.value[_] = a.value[_] || {}, at(v, a.value[_]), g.messages = a.value;
1933
+ }
1934
+ function l(_) {
1935
+ return i.value[_] || {};
1936
+ }
1937
+ function d(_, v) {
1938
+ i.value[_] = v, g.datetimeFormats = i.value, gn(g, _, v);
1939
+ }
1940
+ function E(_, v) {
1941
+ i.value[_] = Object.assign(i.value[_] || {}, v), g.datetimeFormats = i.value, gn(g, _, v);
1942
+ }
1943
+ function N(_) {
1944
+ return u.value[_] || {};
1945
+ }
1946
+ function A(_, v) {
1947
+ u.value[_] = v, g.numberFormats = u.value, yn(g, _, v);
1948
+ }
1949
+ function D(_, v) {
1950
+ u.value[_] = Object.assign(u.value[_] || {}, v), g.numberFormats = u.value, yn(g, _, v);
1951
+ }
1952
+ _n++, t && (Nt(t.locale, (_) => {
1953
+ r && (s.value = _, g.locale = _, Be(g, s.value, o.value));
1954
+ }), Nt(t.fallbackLocale, (_) => {
1955
+ r && (o.value = _, g.fallbackLocale = _, Be(g, s.value, o.value));
1956
+ }));
1957
+ const ee = {
1958
+ id: _n,
1959
+ locale: C,
1960
+ fallbackLocale: L,
1961
+ get inheritLocale() {
1962
+ return r;
1963
+ },
1964
+ set inheritLocale(_) {
1965
+ r = _, _ && t && (s.value = t.locale.value, o.value = t.fallbackLocale.value, Be(g, s.value, o.value));
1966
+ },
1967
+ get availableLocales() {
1968
+ return Object.keys(a.value).sort();
1969
+ },
1970
+ messages: M,
1971
+ datetimeFormats: x,
1972
+ numberFormats: Q,
1973
+ get modifiers() {
1974
+ return w;
1975
+ },
1976
+ get pluralRules() {
1977
+ return T || {};
1978
+ },
1979
+ get isGlobal() {
1980
+ return n;
1981
+ },
1982
+ get missingWarn() {
1983
+ return c;
1984
+ },
1985
+ set missingWarn(_) {
1986
+ c = _, g.missingWarn = c;
1987
+ },
1988
+ get fallbackWarn() {
1989
+ return f;
1990
+ },
1991
+ set fallbackWarn(_) {
1992
+ f = _, g.fallbackWarn = f;
1993
+ },
1994
+ get fallbackRoot() {
1995
+ return b;
1996
+ },
1997
+ set fallbackRoot(_) {
1998
+ b = _;
1999
+ },
2000
+ get fallbackFormat() {
2001
+ return O;
2002
+ },
2003
+ set fallbackFormat(_) {
2004
+ O = _, g.fallbackFormat = O;
2005
+ },
2006
+ get warnHtmlMessage() {
2007
+ return y;
2008
+ },
2009
+ set warnHtmlMessage(_) {
2010
+ y = _, g.warnHtmlMessage = _;
2011
+ },
2012
+ get escapeParameter() {
2013
+ return m;
2014
+ },
2015
+ set escapeParameter(_) {
2016
+ m = _, g.escapeParameter = _;
2017
+ },
2018
+ t: H,
2019
+ d: ke,
2020
+ n: Z,
2021
+ te: $e,
2022
+ tm: Ue,
2023
+ getLocaleMessage: ge,
2024
+ setLocaleMessage: je,
2025
+ mergeLocaleMessage: _t,
2026
+ getDateTimeFormat: l,
2027
+ setDateTimeFormat: d,
2028
+ mergeDateTimeFormat: E,
2029
+ getNumberFormat: N,
2030
+ setNumberFormat: A,
2031
+ mergeNumberFormat: D,
2032
+ getPostTranslationHandler: fe,
2033
+ setPostTranslationHandler: X,
2034
+ getMissingHandler: ie,
2035
+ setMissingHandler: ne,
2036
+ [Ft]: se,
2037
+ [At]: he,
2038
+ [Rt]: de,
2039
+ [eo]: Le
2040
+ };
2041
+ return process.env.NODE_ENV !== "production" && (ee[We] = (_) => {
2042
+ g.__emitter = _;
2043
+ }, ee[It] = () => {
2044
+ g.__emitter = void 0;
2045
+ }), ee;
2046
+ }
2047
+ const qt = {
2048
+ tag: {
2049
+ type: [String, Object]
2050
+ },
2051
+ locale: {
2052
+ type: String
2053
+ },
2054
+ scope: {
2055
+ type: String,
2056
+ validator: (e) => e === "parent" || e === "global",
2057
+ default: "parent"
2058
+ }
2059
+ }, Et = {
2060
+ /* eslint-disable */
2061
+ name: "i18n-t",
2062
+ props: {
2063
+ ...qt,
2064
+ keypath: {
2065
+ type: String,
2066
+ required: !0
2067
+ },
2068
+ plural: {
2069
+ type: [Number, String],
2070
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2071
+ validator: (e) => j(e) || !isNaN(e)
2072
+ }
2073
+ },
2074
+ /* eslint-enable */
2075
+ setup(e, t) {
2076
+ const { slots: n, attrs: r } = t, s = Kt({ useScope: e.scope }), o = Object.keys(n).filter((a) => a !== "_");
2077
+ return () => {
2078
+ const a = {};
2079
+ e.locale && (a.locale = e.locale), e.plural !== void 0 && (a.plural = P(e.plural) ? +e.plural : e.plural);
2080
+ const i = ro(t, o), u = s[Ft](e.keypath, i, a);
2081
+ return P(e.tag) ? Re(e.tag, { ...r }, u) : J(e.tag) ? Re(e.tag, { ...r }, u) : Re(Vn, { ...r }, u);
2082
+ };
2083
+ }
2084
+ };
2085
+ function ro({ slots: e }, t) {
2086
+ return t.length === 1 && t[0] === "default" ? e.default ? e.default() : [] : t.reduce((n, r) => {
2087
+ const s = e[r];
2088
+ return s && (n[r] = s()), n;
2089
+ }, {});
2090
+ }
2091
+ function Xn(e, t, n, r) {
2092
+ const { slots: s, attrs: o } = t;
2093
+ return () => {
2094
+ const a = { part: !0 };
2095
+ let i = {};
2096
+ e.locale && (a.locale = e.locale), P(e.format) ? a.key = e.format : J(e.format) && (P(e.format.key) && (a.key = e.format.key), i = Object.keys(e.format).reduce((f, b) => n.includes(b) ? Object.assign({}, f, { [b]: e.format[b] }) : f, {}));
2097
+ const u = r(e.value, a, i);
2098
+ let c = [a.key];
2099
+ return W(u) ? c = u.map((f, b) => {
2100
+ const O = s[f.type];
2101
+ return O ? O({ [f.type]: f.value, index: b, parts: u }) : [f.value];
2102
+ }) : P(u) && (c = [u]), P(e.tag) ? Re(e.tag, { ...o }, c) : J(e.tag) ? Re(e.tag, { ...o }, c) : Re(Vn, { ...o }, c);
2103
+ };
2104
+ }
2105
+ const so = [
2106
+ "localeMatcher",
2107
+ "style",
2108
+ "unit",
2109
+ "unitDisplay",
2110
+ "currency",
2111
+ "currencyDisplay",
2112
+ "useGrouping",
2113
+ "numberingSystem",
2114
+ "minimumIntegerDigits",
2115
+ "minimumFractionDigits",
2116
+ "maximumFractionDigits",
2117
+ "minimumSignificantDigits",
2118
+ "maximumSignificantDigits",
2119
+ "notation",
2120
+ "formatMatcher"
2121
+ ], En = {
2122
+ /* eslint-disable */
2123
+ name: "i18n-n",
2124
+ props: {
2125
+ ...qt,
2126
+ value: {
2127
+ type: Number,
2128
+ required: !0
2129
+ },
2130
+ format: {
2131
+ type: [String, Object]
2132
+ }
2133
+ },
2134
+ /* eslint-enable */
2135
+ setup(e, t) {
2136
+ const n = Kt({ useScope: "parent" });
2137
+ return Xn(e, t, so, (...r) => (
2138
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2139
+ n[At](...r)
2140
+ ));
2141
+ }
2142
+ }, oo = [
2143
+ "dateStyle",
2144
+ "timeStyle",
2145
+ "fractionalSecondDigits",
2146
+ "calendar",
2147
+ "dayPeriod",
2148
+ "numberingSystem",
2149
+ "localeMatcher",
2150
+ "timeZone",
2151
+ "hour12",
2152
+ "hourCycle",
2153
+ "formatMatcher",
2154
+ "weekday",
2155
+ "era",
2156
+ "year",
2157
+ "month",
2158
+ "day",
2159
+ "hour",
2160
+ "minute",
2161
+ "second",
2162
+ "timeZoneName"
2163
+ ], Sn = {
2164
+ /* eslint-disable */
2165
+ name: "i18n-d",
2166
+ props: {
2167
+ ...qt,
2168
+ value: {
2169
+ type: [Number, Date],
2170
+ required: !0
2171
+ },
2172
+ format: {
2173
+ type: [String, Object]
2174
+ }
2175
+ },
2176
+ /* eslint-enable */
2177
+ setup(e, t) {
2178
+ const n = Kt({ useScope: "parent" });
2179
+ return Xn(e, t, oo, (...r) => (
2180
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2181
+ n[Rt](...r)
2182
+ ));
2183
+ }
2184
+ };
2185
+ function ao(e, t) {
2186
+ const n = e;
2187
+ if (e.mode === "composition")
2188
+ return n.__getInstance(t) || e.global;
2189
+ {
2190
+ const r = n.__getInstance(t);
2191
+ return r != null ? r.__composer : e.global.__composer;
2192
+ }
2193
+ }
2194
+ function io(e) {
2195
+ const t = (n, { instance: r, value: s, modifiers: o }) => {
2196
+ if (!r || !r.$)
2197
+ throw te(
2198
+ 22
2199
+ /* UNEXPECTED_ERROR */
2200
+ );
2201
+ const a = ao(e, r.$);
2202
+ process.env.NODE_ENV !== "production" && o.preserve && Ne(mt(
2203
+ 7
2204
+ /* NOT_SUPPORTED_PRESERVE */
2205
+ ));
2206
+ const i = lo(s);
2207
+ n.textContent = a.t(...co(i));
2208
+ };
2209
+ return {
2210
+ beforeMount: t,
2211
+ beforeUpdate: t
2212
+ };
2213
+ }
2214
+ function lo(e) {
2215
+ if (P(e))
2216
+ return { path: e };
2217
+ if (I(e)) {
2218
+ if (!("path" in e))
2219
+ throw te(19, "path");
2220
+ return e;
2221
+ } else
2222
+ throw te(
2223
+ 20
2224
+ /* INVALID_VALUE */
2225
+ );
2226
+ }
2227
+ function co(e) {
2228
+ const { path: t, locale: n, args: r, choice: s, plural: o } = e, a = {}, i = r || {};
2229
+ return P(n) && (a.locale = n), j(s) && (a.plural = s), j(o) && (a.plural = o), [t, i, a];
2230
+ }
2231
+ function uo(e, t, ...n) {
2232
+ const r = I(n[0]) ? n[0] : {}, s = !!r.useI18nComponentName, o = U(r.globalInstall) ? r.globalInstall : !0;
2233
+ process.env.NODE_ENV !== "production" && o && s && Ne(mt(11, {
2234
+ name: Et.name
2235
+ })), o && (e.component(s ? "i18n" : Et.name, Et), e.component(En.name, En), e.component(Sn.name, Sn)), e.directive("t", io(t));
2236
+ }
2237
+ let Dt;
2238
+ async function fo(e, t) {
2239
+ return new Promise((n, r) => {
2240
+ try {
2241
+ Ys({
2242
+ id: "vue-devtools-plugin-vue-i18n",
2243
+ label: wt[
2244
+ "vue-devtools-plugin-vue-i18n"
2245
+ /* PLUGIN */
2246
+ ],
2247
+ app: e
2248
+ }, (s) => {
2249
+ Dt = s, s.on.walkComponentTree((o, a) => {
2250
+ Zn(a.currentAppRecord, o.componentTreeData, t);
2251
+ }), s.on.inspectComponent((o) => {
2252
+ const a = o.componentInstance;
2253
+ a.vnode.el.__INTLIFY__ && o.instanceData && (t.mode === "legacy" ? a.vnode.el.__INTLIFY__ !== t.global.__composer && On(o.instanceData, a.vnode.el.__INTLIFY__) : On(o.instanceData, a.vnode.el.__INTLIFY__));
2254
+ }), s.addInspector({
2255
+ id: "vue-i18n-resource-inspector",
2256
+ label: wt[
2257
+ "vue-i18n-resource-inspector"
2258
+ /* CUSTOM_INSPECTOR */
2259
+ ],
2260
+ icon: "language",
2261
+ treeFilterPlaceholder: js[
2262
+ "vue-i18n-resource-inspector"
2263
+ /* CUSTOM_INSPECTOR */
2264
+ ]
2265
+ }), s.on.getInspectorTree((o) => {
2266
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && bo(o, t);
2267
+ }), s.on.getInspectorState((o) => {
2268
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && yo(o, t);
2269
+ }), s.addTimelineLayer({
2270
+ id: "vue-i18n-timeline",
2271
+ label: wt[
2272
+ "vue-i18n-timeline"
2273
+ /* TIMELINE */
2274
+ ],
2275
+ color: Bs[
2276
+ "vue-i18n-timeline"
2277
+ /* TIMELINE */
2278
+ ]
2279
+ }), n(!0);
2280
+ });
2281
+ } catch (s) {
2282
+ console.error(s), r(!1);
2283
+ }
2284
+ });
2285
+ }
2286
+ function Zn(e, t, n) {
2287
+ const r = n.mode === "composition" ? n.global : n.global.__composer;
2288
+ for (const s of t) {
2289
+ const o = e.instanceMap.get(s.id);
2290
+ if (o && o.vnode.el.__INTLIFY__ && o.vnode.el.__INTLIFY__ !== r) {
2291
+ const i = {
2292
+ label: `i18n (${o.type.name || o.type.displayName || o.type.__file} Scope)`,
2293
+ textColor: 0,
2294
+ backgroundColor: 16764185
2295
+ };
2296
+ s.tags.push(i);
2297
+ }
2298
+ Zn(e, s.children, n);
2299
+ }
2300
+ }
2301
+ function On(e, t) {
2302
+ const n = "vue-i18n: composer properties";
2303
+ e.state.push({
2304
+ type: n,
2305
+ key: "locale",
2306
+ editable: !1,
2307
+ value: t.locale.value
2308
+ }), e.state.push({
2309
+ type: n,
2310
+ key: "availableLocales",
2311
+ editable: !1,
2312
+ value: t.availableLocales
2313
+ }), e.state.push({
2314
+ type: n,
2315
+ key: "fallbackLocale",
2316
+ editable: !1,
2317
+ value: t.fallbackLocale.value
2318
+ }), e.state.push({
2319
+ type: n,
2320
+ key: "inheritLocale",
2321
+ editable: !1,
2322
+ value: t.inheritLocale
2323
+ }), e.state.push({
2324
+ type: n,
2325
+ key: "messages",
2326
+ editable: !1,
2327
+ value: Jt(t.messages.value)
2328
+ }), e.state.push({
2329
+ type: n,
2330
+ key: "datetimeFormats",
2331
+ editable: !1,
2332
+ value: t.datetimeFormats.value
2333
+ }), e.state.push({
2334
+ type: n,
2335
+ key: "numberFormats",
2336
+ editable: !1,
2337
+ value: t.numberFormats.value
2338
+ });
2339
+ }
2340
+ function Jt(e) {
2341
+ const t = {};
2342
+ return Object.keys(e).forEach((n) => {
2343
+ const r = e[n];
2344
+ B(r) && "source" in r ? t[n] = go(r) : J(r) ? t[n] = Jt(r) : t[n] = r;
2345
+ }), t;
2346
+ }
2347
+ const mo = {
2348
+ "<": "&lt;",
2349
+ ">": "&gt;",
2350
+ '"': "&quot;",
2351
+ "&": "&amp;"
2352
+ };
2353
+ function po(e) {
2354
+ return e.replace(/[<>"&]/g, ho);
2355
+ }
2356
+ function ho(e) {
2357
+ return mo[e] || e;
2358
+ }
2359
+ function go(e) {
2360
+ return {
2361
+ _custom: {
2362
+ type: "function",
2363
+ display: `<span>ƒ</span> ${e.source ? `("${po(e.source)}")` : "(?)"}`
2364
+ }
2365
+ };
2366
+ }
2367
+ function bo(e, t) {
2368
+ e.rootNodes.push({
2369
+ id: "global",
2370
+ label: "Global Scope"
2371
+ });
2372
+ const n = t.mode === "composition" ? t.global : t.global.__composer;
2373
+ for (const [r, s] of t.__instances) {
2374
+ const o = t.mode === "composition" ? s : s.__composer;
2375
+ if (n === o)
2376
+ continue;
2377
+ const a = r.type.name || r.type.displayName || r.type.__file;
2378
+ e.rootNodes.push({
2379
+ id: o.id.toString(),
2380
+ label: `${a} Scope`
2381
+ });
2382
+ }
2383
+ }
2384
+ function yo(e, t) {
2385
+ if (e.nodeId === "global")
2386
+ e.state = Tn(t.mode === "composition" ? t.global : t.global.__composer);
2387
+ else {
2388
+ const n = Array.from(t.__instances.values()).find((r) => r.id.toString() === e.nodeId);
2389
+ if (n) {
2390
+ const r = t.mode === "composition" ? n : n.__composer;
2391
+ e.state = Tn(r);
2392
+ }
2393
+ }
2394
+ }
2395
+ function Tn(e) {
2396
+ const t = {}, n = "Locale related info", r = [
2397
+ {
2398
+ type: n,
2399
+ key: "locale",
2400
+ editable: !1,
2401
+ value: e.locale.value
2402
+ },
2403
+ {
2404
+ type: n,
2405
+ key: "fallbackLocale",
2406
+ editable: !1,
2407
+ value: e.fallbackLocale.value
2408
+ },
2409
+ {
2410
+ type: n,
2411
+ key: "availableLocales",
2412
+ editable: !1,
2413
+ value: e.availableLocales
2414
+ },
2415
+ {
2416
+ type: n,
2417
+ key: "inheritLocale",
2418
+ editable: !1,
2419
+ value: e.inheritLocale
2420
+ }
2421
+ ];
2422
+ t[n] = r;
2423
+ const s = "Locale messages info", o = [
2424
+ {
2425
+ type: s,
2426
+ key: "messages",
2427
+ editable: !1,
2428
+ value: Jt(e.messages.value)
2429
+ }
2430
+ ];
2431
+ t[s] = o;
2432
+ const a = "Datetime formats info", i = [
2433
+ {
2434
+ type: a,
2435
+ key: "datetimeFormats",
2436
+ editable: !1,
2437
+ value: e.datetimeFormats.value
2438
+ }
2439
+ ];
2440
+ t[a] = i;
2441
+ const u = "Datetime formats info", c = [
2442
+ {
2443
+ type: u,
2444
+ key: "numberFormats",
2445
+ editable: !1,
2446
+ value: e.numberFormats.value
2447
+ }
2448
+ ];
2449
+ return t[u] = c, t;
2450
+ }
2451
+ function xt(e, t) {
2452
+ if (Dt) {
2453
+ let n;
2454
+ t && "groupId" in t && (n = t.groupId, delete t.groupId), Dt.addTimelineEvent({
2455
+ layerId: "vue-i18n-timeline",
2456
+ event: {
2457
+ title: e,
2458
+ groupId: n,
2459
+ time: Date.now(),
2460
+ meta: {},
2461
+ data: t || {},
2462
+ logType: e === "compile-error" ? "error" : e === "fallback" || e === "missing" ? "warning" : "default"
2463
+ }
2464
+ });
2465
+ }
2466
+ }
2467
+ function _o(e = {}) {
2468
+ const t = !!e.globalInjection, n = /* @__PURE__ */ new Map(), r = Qn(e), s = Te(process.env.NODE_ENV !== "production" ? "vue-i18n" : ""), o = {
2469
+ // mode
2470
+ get mode() {
2471
+ return "composition";
2472
+ },
2473
+ // install plugin
2474
+ async install(a, ...i) {
2475
+ if (process.env.NODE_ENV !== "production" && (a.__VUE_I18N__ = o), a.__VUE_I18N_SYMBOL__ = s, a.provide(a.__VUE_I18N_SYMBOL__, o), t && To(a, o.global), uo(a, o, ...i), process.env.NODE_ENV !== "production") {
2476
+ if (!await fo(a, o))
2477
+ throw te(
2478
+ 21
2479
+ /* CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN */
2480
+ );
2481
+ const c = Kn();
2482
+ {
2483
+ const f = r;
2484
+ f[We] && f[We](c);
2485
+ }
2486
+ c.on("*", xt);
2487
+ }
2488
+ },
2489
+ // global accessor
2490
+ get global() {
2491
+ return r;
2492
+ },
2493
+ // @internal
2494
+ __instances: n,
2495
+ // @internal
2496
+ __getInstance(a) {
2497
+ return n.get(a) || null;
2498
+ },
2499
+ // @internal
2500
+ __setInstance(a, i) {
2501
+ n.set(a, i);
2502
+ },
2503
+ // @internal
2504
+ __deleteInstance(a) {
2505
+ n.delete(a);
2506
+ }
2507
+ };
2508
+ return o;
2509
+ }
2510
+ function Kt(e = {}) {
2511
+ const t = Bn();
2512
+ if (t == null)
2513
+ throw te(
2514
+ 16
2515
+ /* MUST_BE_CALL_SETUP_TOP */
2516
+ );
2517
+ if (!t.appContext.app.__VUE_I18N_SYMBOL__)
2518
+ throw te(
2519
+ 17
2520
+ /* NOT_INSLALLED */
2521
+ );
2522
+ const n = vr(t.appContext.app.__VUE_I18N_SYMBOL__);
2523
+ if (!n)
2524
+ throw te(
2525
+ 22
2526
+ /* UNEXPECTED_ERROR */
2527
+ );
2528
+ const r = n.mode === "composition" ? n.global : n.global.__composer, s = ct(e) ? "__i18n" in t.type ? "local" : "global" : e.useScope ? e.useScope : "local";
2529
+ if (s === "global") {
2530
+ let i = J(e.messages) ? e.messages : {};
2531
+ "__i18nGlobal" in t.type && (i = Yn(r.locale.value, {
2532
+ messages: i,
2533
+ __i18n: t.type.__i18nGlobal
2534
+ }));
2535
+ const u = Object.keys(i);
2536
+ if (u.length && u.forEach((c) => {
2537
+ r.mergeLocaleMessage(c, i[c]);
2538
+ }), J(e.datetimeFormats)) {
2539
+ const c = Object.keys(e.datetimeFormats);
2540
+ c.length && c.forEach((f) => {
2541
+ r.mergeDateTimeFormat(f, e.datetimeFormats[f]);
2542
+ });
2543
+ }
2544
+ if (J(e.numberFormats)) {
2545
+ const c = Object.keys(e.numberFormats);
2546
+ c.length && c.forEach((f) => {
2547
+ r.mergeNumberFormat(f, e.numberFormats[f]);
2548
+ });
2549
+ }
2550
+ return r;
2551
+ }
2552
+ if (s === "parent") {
2553
+ let i = wo(n, t);
2554
+ return i == null && (process.env.NODE_ENV !== "production" && Ne(mt(
2555
+ 12
2556
+ /* NOT_FOUND_PARENT_SCOPE */
2557
+ )), i = r), i;
2558
+ }
2559
+ if (n.mode === "legacy")
2560
+ throw te(
2561
+ 18
2562
+ /* NOT_AVAILABLE_IN_LEGACY_MODE */
2563
+ );
2564
+ const o = n;
2565
+ let a = o.__getInstance(t);
2566
+ if (a == null) {
2567
+ const i = t.type, u = {
2568
+ ...e
2569
+ };
2570
+ i.__i18n && (u.__i18n = i.__i18n), r && (u.__root = r), a = Qn(u), Eo(o, t, a), o.__setInstance(t, a);
2571
+ }
2572
+ return a;
2573
+ }
2574
+ function wo(e, t) {
2575
+ let n = null;
2576
+ const r = t.root;
2577
+ let s = t.parent;
2578
+ for (; s != null; ) {
2579
+ const o = e;
2580
+ if (e.mode === "composition")
2581
+ n = o.__getInstance(s);
2582
+ else {
2583
+ const a = o.__getInstance(s);
2584
+ a != null && (n = a.__composer);
2585
+ }
2586
+ if (n != null || r === s)
2587
+ break;
2588
+ s = s.parent;
2589
+ }
2590
+ return n;
2591
+ }
2592
+ function Eo(e, t, n) {
2593
+ let r = null;
2594
+ Lr(() => {
2595
+ if (process.env.NODE_ENV !== "production" && t.vnode.el) {
2596
+ t.vnode.el.__INTLIFY__ = n, r = Kn();
2597
+ const s = n;
2598
+ s[We] && s[We](r), r.on("*", xt);
2599
+ }
2600
+ }, t), Cr(() => {
2601
+ if (process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__INTLIFY__) {
2602
+ r && r.off("*", xt);
2603
+ const s = n;
2604
+ s[It] && s[It](), delete t.vnode.el.__INTLIFY__;
2605
+ }
2606
+ e.__deleteInstance(t);
2607
+ }, t);
2608
+ }
2609
+ const So = [
2610
+ "locale",
2611
+ "fallbackLocale",
2612
+ "availableLocales"
2613
+ ], Oo = ["t", "d", "n", "tm"];
2614
+ function To(e, t) {
2615
+ const n = /* @__PURE__ */ Object.create(null);
2616
+ So.forEach((r) => {
2617
+ const s = Object.getOwnPropertyDescriptor(t, r);
2618
+ if (!s)
2619
+ throw te(
2620
+ 22
2621
+ /* UNEXPECTED_ERROR */
2622
+ );
2623
+ const o = kr(s.value) ? {
2624
+ get() {
2625
+ return s.value.value;
2626
+ },
2627
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2628
+ set(a) {
2629
+ s.value.value = a;
2630
+ }
2631
+ } : {
2632
+ get() {
2633
+ return s.get && s.get();
2634
+ }
2635
+ };
2636
+ Object.defineProperty(n, r, o);
2637
+ }), e.config.globalProperties.$i18n = n, Oo.forEach((r) => {
2638
+ const s = Object.getOwnPropertyDescriptor(t, r);
2639
+ if (!s)
2640
+ throw te(
2641
+ 22
2642
+ /* UNEXPECTED_ERROR */
2643
+ );
2644
+ Object.defineProperty(e.config.globalProperties, `$${r}`, s);
2645
+ });
2646
+ }
2647
+ Ts(As);
2648
+ Qs();
2649
+ process.env.NODE_ENV !== "production" && Xs();
2650
+ const No = {
2651
+ global: {
2652
+ locales: "zh-cn"
2653
+ },
2654
+ test: {
2655
+ button: "这是测试按钮"
2656
+ },
2657
+ pwdChangeForm: {
2658
+ title: "修改密码",
2659
+ oldPwd: "旧密码",
2660
+ newPwd: "新密码",
2661
+ confirmPwd: "确认密码",
2662
+ submit: "确认",
2663
+ oldPwdPlaceholder: "请输入旧密码",
2664
+ newPwdPlaceholder: "请输入新密码",
2665
+ confirmPwdPlaceholder: "请确认新密码",
2666
+ confirmPwdError: "两次输入密码不一致",
2667
+ pwdChangeSuccess: "密码修改成功",
2668
+ pwdChangeError: "密码修改失败"
2669
+ },
2670
+ dataTable: {
2671
+ operation: "操作",
2672
+ reset: "重置",
2673
+ query: "查询",
2674
+ add: "新增",
2675
+ confirm: "确认",
2676
+ confirmDelete: "确认删除该条数据吗?",
2677
+ confirmDeleteTitle: "删除确认",
2678
+ cancel: "取消",
2679
+ pleaseFillInCompleteInfo: "请填写完整信息",
2680
+ noData: "暂无数据",
2681
+ dataFetchFailed: "数据获取失败",
2682
+ deleteSuccess: "删除成功",
2683
+ deleteError: "删除失败",
2684
+ addSuccess: "新增成功",
2685
+ addError: "新增失败",
2686
+ editSuccess: "编辑成功",
2687
+ editError: "编辑失败",
2688
+ addData: "新增数据",
2689
+ editData: "编辑数据"
2690
+ },
2691
+ excelExport: {
2692
+ exportSuccess: "导出成功",
2693
+ exportError: "导出失败",
2694
+ exportExcel: "导出Excel"
2695
+ }
2696
+ }, ko = {
2697
+ global: {
2698
+ locales: "en"
2699
+ },
2700
+ test: {
2701
+ button: "Test Button"
2702
+ },
2703
+ pwdChangeForm: {
2704
+ title: "Change Password",
2705
+ oldPwd: "Old Password",
2706
+ newPwd: "New Password",
2707
+ confirmPwd: "Confirm Password",
2708
+ submit: "Confirm",
2709
+ oldPwdPlaceholder: "Please input old password",
2710
+ newPwdPlaceholder: "Please input new password",
2711
+ confirmPwdPlaceholder: "Please confirm new password",
2712
+ confirmPwdError: "Passwords do not match",
2713
+ pwdChangeSuccess: "Password changed successfully",
2714
+ pwdChangeError: "Password change failed"
2715
+ },
2716
+ dataTable: {
2717
+ operation: "Operation",
2718
+ reset: "Reset",
2719
+ query: "Query",
2720
+ add: "Add",
2721
+ confirm: "Confirm",
2722
+ confirmDelete: "Are you sure you want to delete this item?",
2723
+ confirmDeleteTitle: "Delete Confirmation",
2724
+ cancel: "Cancel",
2725
+ pleaseFillInCompleteInfo: "Please fill in complete information",
2726
+ noData: "No data available",
2727
+ dataFetchFailed: "Data fetch failed",
2728
+ deleteSuccess: "Delete successful",
2729
+ deleteError: "Delete failed",
2730
+ addSuccess: "Add successful",
2731
+ addError: "Add failed",
2732
+ editSuccess: "Edit successful",
2733
+ editError: "Edit failed",
2734
+ addData: "Add Data",
2735
+ editData: "Edit Data"
2736
+ },
2737
+ excelExport: {
2738
+ exportSuccess: "Export successful",
2739
+ exportError: "Export failed",
2740
+ exportExcel: "Export Excel"
2741
+ }
2742
+ }, vo = "zh-cn", Lo = {
2743
+ "zh-cn": No,
2744
+ en: ko
2745
+ };
2746
+ function Co(e) {
2747
+ const t = e?.locale || vo, n = { ...Lo, ...e?.messages };
2748
+ return _o({
2749
+ // 使用 Composition API 模式
2750
+ locale: t,
2751
+ fallbackLocale: "zh-cn",
2752
+ messages: n,
2753
+ missingWarn: !1,
2754
+ fallbackWarn: !1,
2755
+ missing: (r, s) => s
2756
+ });
2757
+ }
2758
+ let zn = null;
2759
+ function Po(e) {
2760
+ zn = e;
2761
+ }
2762
+ function Fo() {
2763
+ return zn;
2764
+ }
2765
+ function ci() {
2766
+ const e = Fo();
2767
+ if (!e)
2768
+ return {
2769
+ t: (r, s) => r,
2770
+ locale: ye("zh-cn"),
2771
+ changeLocale: (r) => {
2772
+ }
2773
+ };
2774
+ const { t, locale: n } = e.global;
2775
+ return {
2776
+ // 翻译函数
2777
+ t: (r, s) => {
2778
+ const o = t(r, s);
2779
+ return typeof o == "string" ? o : r;
2780
+ },
2781
+ // 当前语言(响应式)
2782
+ locale: n,
2783
+ // 切换语言
2784
+ changeLocale: (r) => {
2785
+ n.value = r;
2786
+ }
2787
+ };
2788
+ }
2789
+ function er(e, t) {
2790
+ return function() {
2791
+ return e.apply(t, arguments);
2792
+ };
2793
+ }
2794
+ const { toString: Ro } = Object.prototype, { getPrototypeOf: Gt } = Object, { iterator: pt, toStringTag: tr } = Symbol, ht = /* @__PURE__ */ ((e) => (t) => {
2795
+ const n = Ro.call(t);
2796
+ return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
2797
+ })(/* @__PURE__ */ Object.create(null)), ae = (e) => (e = e.toLowerCase(), (t) => ht(t) === e), gt = (e) => (t) => typeof t === e, { isArray: xe } = Array, De = gt("undefined");
2798
+ function He(e) {
2799
+ return e !== null && !De(e) && e.constructor !== null && !De(e.constructor) && K(e.constructor.isBuffer) && e.constructor.isBuffer(e);
2800
+ }
2801
+ const nr = ae("ArrayBuffer");
2802
+ function Ao(e) {
2803
+ let t;
2804
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && nr(e.buffer), t;
2805
+ }
2806
+ const Io = gt("string"), K = gt("function"), rr = gt("number"), qe = (e) => e !== null && typeof e == "object", Do = (e) => e === !0 || e === !1, ze = (e) => {
2807
+ if (ht(e) !== "object")
2808
+ return !1;
2809
+ const t = Gt(e);
2810
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(tr in e) && !(pt in e);
2811
+ }, xo = (e) => {
2812
+ if (!qe(e) || He(e))
2813
+ return !1;
2814
+ try {
2815
+ return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
2816
+ } catch {
2817
+ return !1;
2818
+ }
2819
+ }, Mo = ae("Date"), $o = ae("File"), Uo = ae("Blob"), jo = ae("FileList"), Bo = (e) => qe(e) && K(e.pipe), Vo = (e) => {
2820
+ let t;
2821
+ return e && (typeof FormData == "function" && e instanceof FormData || K(e.append) && ((t = ht(e)) === "formdata" || // detect form-data instance
2822
+ t === "object" && K(e.toString) && e.toString() === "[object FormData]"));
2823
+ }, Wo = ae("URLSearchParams"), [Ho, qo, Jo, Ko] = ["ReadableStream", "Request", "Response", "Headers"].map(ae), Go = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
2824
+ function Je(e, t, { allOwnKeys: n = !1 } = {}) {
2825
+ if (e === null || typeof e > "u")
2826
+ return;
2827
+ let r, s;
2828
+ if (typeof e != "object" && (e = [e]), xe(e))
2829
+ for (r = 0, s = e.length; r < s; r++)
2830
+ t.call(null, e[r], r, e);
2831
+ else {
2832
+ if (He(e))
2833
+ return;
2834
+ const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), a = o.length;
2835
+ let i;
2836
+ for (r = 0; r < a; r++)
2837
+ i = o[r], t.call(null, e[i], i, e);
2838
+ }
2839
+ }
2840
+ function sr(e, t) {
2841
+ if (He(e))
2842
+ return null;
2843
+ t = t.toLowerCase();
2844
+ const n = Object.keys(e);
2845
+ let r = n.length, s;
2846
+ for (; r-- > 0; )
2847
+ if (s = n[r], t === s.toLowerCase())
2848
+ return s;
2849
+ return null;
2850
+ }
2851
+ const _e = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, or = (e) => !De(e) && e !== _e;
2852
+ function Mt() {
2853
+ const { caseless: e, skipUndefined: t } = or(this) && this || {}, n = {}, r = (s, o) => {
2854
+ const a = e && sr(n, o) || o;
2855
+ ze(n[a]) && ze(s) ? n[a] = Mt(n[a], s) : ze(s) ? n[a] = Mt({}, s) : xe(s) ? n[a] = s.slice() : (!t || !De(s)) && (n[a] = s);
2856
+ };
2857
+ for (let s = 0, o = arguments.length; s < o; s++)
2858
+ arguments[s] && Je(arguments[s], r);
2859
+ return n;
2860
+ }
2861
+ const Yo = (e, t, n, { allOwnKeys: r } = {}) => (Je(t, (s, o) => {
2862
+ n && K(s) ? e[o] = er(s, n) : e[o] = s;
2863
+ }, { allOwnKeys: r }), e), Qo = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Xo = (e, t, n, r) => {
2864
+ e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
2865
+ value: t.prototype
2866
+ }), n && Object.assign(e.prototype, n);
2867
+ }, Zo = (e, t, n, r) => {
2868
+ let s, o, a;
2869
+ const i = {};
2870
+ if (t = t || {}, e == null) return t;
2871
+ do {
2872
+ for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
2873
+ a = s[o], (!r || r(a, e, t)) && !i[a] && (t[a] = e[a], i[a] = !0);
2874
+ e = n !== !1 && Gt(e);
2875
+ } while (e && (!n || n(e, t)) && e !== Object.prototype);
2876
+ return t;
2877
+ }, zo = (e, t, n) => {
2878
+ e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
2879
+ const r = e.indexOf(t, n);
2880
+ return r !== -1 && r === n;
2881
+ }, ea = (e) => {
2882
+ if (!e) return null;
2883
+ if (xe(e)) return e;
2884
+ let t = e.length;
2885
+ if (!rr(t)) return null;
2886
+ const n = new Array(t);
2887
+ for (; t-- > 0; )
2888
+ n[t] = e[t];
2889
+ return n;
2890
+ }, ta = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Gt(Uint8Array)), na = (e, t) => {
2891
+ const r = (e && e[pt]).call(e);
2892
+ let s;
2893
+ for (; (s = r.next()) && !s.done; ) {
2894
+ const o = s.value;
2895
+ t.call(e, o[0], o[1]);
2896
+ }
2897
+ }, ra = (e, t) => {
2898
+ let n;
2899
+ const r = [];
2900
+ for (; (n = e.exec(t)) !== null; )
2901
+ r.push(n);
2902
+ return r;
2903
+ }, sa = ae("HTMLFormElement"), oa = (e) => e.toLowerCase().replace(
2904
+ /[-_\s]([a-z\d])(\w*)/g,
2905
+ function(n, r, s) {
2906
+ return r.toUpperCase() + s;
2907
+ }
2908
+ ), Nn = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), aa = ae("RegExp"), ar = (e, t) => {
2909
+ const n = Object.getOwnPropertyDescriptors(e), r = {};
2910
+ Je(n, (s, o) => {
2911
+ let a;
2912
+ (a = t(s, o, e)) !== !1 && (r[o] = a || s);
2913
+ }), Object.defineProperties(e, r);
2914
+ }, ia = (e) => {
2915
+ ar(e, (t, n) => {
2916
+ if (K(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
2917
+ return !1;
2918
+ const r = e[n];
2919
+ if (K(r)) {
2920
+ if (t.enumerable = !1, "writable" in t) {
2921
+ t.writable = !1;
2922
+ return;
2923
+ }
2924
+ t.set || (t.set = () => {
2925
+ throw Error("Can not rewrite read-only method '" + n + "'");
2926
+ });
2927
+ }
2928
+ });
2929
+ }, la = (e, t) => {
2930
+ const n = {}, r = (s) => {
2931
+ s.forEach((o) => {
2932
+ n[o] = !0;
2933
+ });
2934
+ };
2935
+ return xe(e) ? r(e) : r(String(e).split(t)), n;
2936
+ }, ca = () => {
2937
+ }, ua = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
2938
+ function fa(e) {
2939
+ return !!(e && K(e.append) && e[tr] === "FormData" && e[pt]);
2940
+ }
2941
+ const da = (e) => {
2942
+ const t = new Array(10), n = (r, s) => {
2943
+ if (qe(r)) {
2944
+ if (t.indexOf(r) >= 0)
2945
+ return;
2946
+ if (He(r))
2947
+ return r;
2948
+ if (!("toJSON" in r)) {
2949
+ t[s] = r;
2950
+ const o = xe(r) ? [] : {};
2951
+ return Je(r, (a, i) => {
2952
+ const u = n(a, s + 1);
2953
+ !De(u) && (o[i] = u);
2954
+ }), t[s] = void 0, o;
2955
+ }
2956
+ }
2957
+ return r;
2958
+ };
2959
+ return n(e, 0);
2960
+ }, ma = ae("AsyncFunction"), pa = (e) => e && (qe(e) || K(e)) && K(e.then) && K(e.catch), ir = ((e, t) => e ? setImmediate : t ? ((n, r) => (_e.addEventListener("message", ({ source: s, data: o }) => {
2961
+ s === _e && o === n && r.length && r.shift()();
2962
+ }, !1), (s) => {
2963
+ r.push(s), _e.postMessage(n, "*");
2964
+ }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
2965
+ typeof setImmediate == "function",
2966
+ K(_e.postMessage)
2967
+ ), ha = typeof queueMicrotask < "u" ? queueMicrotask.bind(_e) : typeof process < "u" && process.nextTick || ir, ga = (e) => e != null && K(e[pt]), h = {
2968
+ isArray: xe,
2969
+ isArrayBuffer: nr,
2970
+ isBuffer: He,
2971
+ isFormData: Vo,
2972
+ isArrayBufferView: Ao,
2973
+ isString: Io,
2974
+ isNumber: rr,
2975
+ isBoolean: Do,
2976
+ isObject: qe,
2977
+ isPlainObject: ze,
2978
+ isEmptyObject: xo,
2979
+ isReadableStream: Ho,
2980
+ isRequest: qo,
2981
+ isResponse: Jo,
2982
+ isHeaders: Ko,
2983
+ isUndefined: De,
2984
+ isDate: Mo,
2985
+ isFile: $o,
2986
+ isBlob: Uo,
2987
+ isRegExp: aa,
2988
+ isFunction: K,
2989
+ isStream: Bo,
2990
+ isURLSearchParams: Wo,
2991
+ isTypedArray: ta,
2992
+ isFileList: jo,
2993
+ forEach: Je,
2994
+ merge: Mt,
2995
+ extend: Yo,
2996
+ trim: Go,
2997
+ stripBOM: Qo,
2998
+ inherits: Xo,
2999
+ toFlatObject: Zo,
3000
+ kindOf: ht,
3001
+ kindOfTest: ae,
3002
+ endsWith: zo,
3003
+ toArray: ea,
3004
+ forEachEntry: na,
3005
+ matchAll: ra,
3006
+ isHTMLForm: sa,
3007
+ hasOwnProperty: Nn,
3008
+ hasOwnProp: Nn,
3009
+ // an alias to avoid ESLint no-prototype-builtins detection
3010
+ reduceDescriptors: ar,
3011
+ freezeMethods: ia,
3012
+ toObjectSet: la,
3013
+ toCamelCase: oa,
3014
+ noop: ca,
3015
+ toFiniteNumber: ua,
3016
+ findKey: sr,
3017
+ global: _e,
3018
+ isContextDefined: or,
3019
+ isSpecCompliantForm: fa,
3020
+ toJSONObject: da,
3021
+ isAsyncFn: ma,
3022
+ isThenable: pa,
3023
+ setImmediate: ir,
3024
+ asap: ha,
3025
+ isIterable: ga
3026
+ };
3027
+ function R(e, t, n, r, s) {
3028
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), s && (this.response = s, this.status = s.status ? s.status : null);
3029
+ }
3030
+ h.inherits(R, Error, {
3031
+ toJSON: function() {
3032
+ return {
3033
+ // Standard
3034
+ message: this.message,
3035
+ name: this.name,
3036
+ // Microsoft
3037
+ description: this.description,
3038
+ number: this.number,
3039
+ // Mozilla
3040
+ fileName: this.fileName,
3041
+ lineNumber: this.lineNumber,
3042
+ columnNumber: this.columnNumber,
3043
+ stack: this.stack,
3044
+ // Axios
3045
+ config: h.toJSONObject(this.config),
3046
+ code: this.code,
3047
+ status: this.status
3048
+ };
3049
+ }
3050
+ });
3051
+ const lr = R.prototype, cr = {};
3052
+ [
3053
+ "ERR_BAD_OPTION_VALUE",
3054
+ "ERR_BAD_OPTION",
3055
+ "ECONNABORTED",
3056
+ "ETIMEDOUT",
3057
+ "ERR_NETWORK",
3058
+ "ERR_FR_TOO_MANY_REDIRECTS",
3059
+ "ERR_DEPRECATED",
3060
+ "ERR_BAD_RESPONSE",
3061
+ "ERR_BAD_REQUEST",
3062
+ "ERR_CANCELED",
3063
+ "ERR_NOT_SUPPORT",
3064
+ "ERR_INVALID_URL"
3065
+ // eslint-disable-next-line func-names
3066
+ ].forEach((e) => {
3067
+ cr[e] = { value: e };
3068
+ });
3069
+ Object.defineProperties(R, cr);
3070
+ Object.defineProperty(lr, "isAxiosError", { value: !0 });
3071
+ R.from = (e, t, n, r, s, o) => {
3072
+ const a = Object.create(lr);
3073
+ h.toFlatObject(e, a, function(f) {
3074
+ return f !== Error.prototype;
3075
+ }, (c) => c !== "isAxiosError");
3076
+ const i = e && e.message ? e.message : "Error", u = t == null && e ? e.code : t;
3077
+ return R.call(a, i, u, n, r, s), e && a.cause == null && Object.defineProperty(a, "cause", { value: e, configurable: !0 }), a.name = e && e.name || "Error", o && Object.assign(a, o), a;
3078
+ };
3079
+ const ba = null;
3080
+ function $t(e) {
3081
+ return h.isPlainObject(e) || h.isArray(e);
3082
+ }
3083
+ function ur(e) {
3084
+ return h.endsWith(e, "[]") ? e.slice(0, -2) : e;
3085
+ }
3086
+ function kn(e, t, n) {
3087
+ return e ? e.concat(t).map(function(s, o) {
3088
+ return s = ur(s), !n && o ? "[" + s + "]" : s;
3089
+ }).join(n ? "." : "") : t;
3090
+ }
3091
+ function ya(e) {
3092
+ return h.isArray(e) && !e.some($t);
3093
+ }
3094
+ const _a = h.toFlatObject(h, {}, null, function(t) {
3095
+ return /^is[A-Z]/.test(t);
3096
+ });
3097
+ function bt(e, t, n) {
3098
+ if (!h.isObject(e))
3099
+ throw new TypeError("target must be an object");
3100
+ t = t || new FormData(), n = h.toFlatObject(n, {
3101
+ metaTokens: !0,
3102
+ dots: !1,
3103
+ indexes: !1
3104
+ }, !1, function(S, y) {
3105
+ return !h.isUndefined(y[S]);
3106
+ });
3107
+ const r = n.metaTokens, s = n.visitor || f, o = n.dots, a = n.indexes, u = (n.Blob || typeof Blob < "u" && Blob) && h.isSpecCompliantForm(t);
3108
+ if (!h.isFunction(s))
3109
+ throw new TypeError("visitor must be a function");
3110
+ function c(p) {
3111
+ if (p === null) return "";
3112
+ if (h.isDate(p))
3113
+ return p.toISOString();
3114
+ if (h.isBoolean(p))
3115
+ return p.toString();
3116
+ if (!u && h.isBlob(p))
3117
+ throw new R("Blob is not supported. Use a Buffer instead.");
3118
+ return h.isArrayBuffer(p) || h.isTypedArray(p) ? u && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
3119
+ }
3120
+ function f(p, S, y) {
3121
+ let m = p;
3122
+ if (p && !y && typeof p == "object") {
3123
+ if (h.endsWith(S, "{}"))
3124
+ S = r ? S : S.slice(0, -2), p = JSON.stringify(p);
3125
+ else if (h.isArray(p) && ya(p) || (h.isFileList(p) || h.endsWith(S, "[]")) && (m = h.toArray(p)))
3126
+ return S = ur(S), m.forEach(function(T, g) {
3127
+ !(h.isUndefined(T) || T === null) && t.append(
3128
+ // eslint-disable-next-line no-nested-ternary
3129
+ a === !0 ? kn([S], g, o) : a === null ? S : S + "[]",
3130
+ c(T)
3131
+ );
3132
+ }), !1;
3133
+ }
3134
+ return $t(p) ? !0 : (t.append(kn(y, S, o), c(p)), !1);
3135
+ }
3136
+ const b = [], O = Object.assign(_a, {
3137
+ defaultVisitor: f,
3138
+ convertValue: c,
3139
+ isVisitable: $t
3140
+ });
3141
+ function F(p, S) {
3142
+ if (!h.isUndefined(p)) {
3143
+ if (b.indexOf(p) !== -1)
3144
+ throw Error("Circular reference detected in " + S.join("."));
3145
+ b.push(p), h.forEach(p, function(m, w) {
3146
+ (!(h.isUndefined(m) || m === null) && s.call(
3147
+ t,
3148
+ m,
3149
+ h.isString(w) ? w.trim() : w,
3150
+ S,
3151
+ O
3152
+ )) === !0 && F(m, S ? S.concat(w) : [w]);
3153
+ }), b.pop();
3154
+ }
3155
+ }
3156
+ if (!h.isObject(e))
3157
+ throw new TypeError("data must be an object");
3158
+ return F(e), t;
3159
+ }
3160
+ function vn(e) {
3161
+ const t = {
3162
+ "!": "%21",
3163
+ "'": "%27",
3164
+ "(": "%28",
3165
+ ")": "%29",
3166
+ "~": "%7E",
3167
+ "%20": "+",
3168
+ "%00": "\0"
3169
+ };
3170
+ return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(r) {
3171
+ return t[r];
3172
+ });
3173
+ }
3174
+ function Yt(e, t) {
3175
+ this._pairs = [], e && bt(e, this, t);
3176
+ }
3177
+ const fr = Yt.prototype;
3178
+ fr.append = function(t, n) {
3179
+ this._pairs.push([t, n]);
3180
+ };
3181
+ fr.toString = function(t) {
3182
+ const n = t ? function(r) {
3183
+ return t.call(this, r, vn);
3184
+ } : vn;
3185
+ return this._pairs.map(function(s) {
3186
+ return n(s[0]) + "=" + n(s[1]);
3187
+ }, "").join("&");
3188
+ };
3189
+ function wa(e) {
3190
+ return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
3191
+ }
3192
+ function dr(e, t, n) {
3193
+ if (!t)
3194
+ return e;
3195
+ const r = n && n.encode || wa;
3196
+ h.isFunction(n) && (n = {
3197
+ serialize: n
3198
+ });
3199
+ const s = n && n.serialize;
3200
+ let o;
3201
+ if (s ? o = s(t, n) : o = h.isURLSearchParams(t) ? t.toString() : new Yt(t, n).toString(r), o) {
3202
+ const a = e.indexOf("#");
3203
+ a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
3204
+ }
3205
+ return e;
3206
+ }
3207
+ class Ln {
3208
+ constructor() {
3209
+ this.handlers = [];
3210
+ }
3211
+ /**
3212
+ * Add a new interceptor to the stack
3213
+ *
3214
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
3215
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
3216
+ *
3217
+ * @return {Number} An ID used to remove interceptor later
3218
+ */
3219
+ use(t, n, r) {
3220
+ return this.handlers.push({
3221
+ fulfilled: t,
3222
+ rejected: n,
3223
+ synchronous: r ? r.synchronous : !1,
3224
+ runWhen: r ? r.runWhen : null
3225
+ }), this.handlers.length - 1;
3226
+ }
3227
+ /**
3228
+ * Remove an interceptor from the stack
3229
+ *
3230
+ * @param {Number} id The ID that was returned by `use`
3231
+ *
3232
+ * @returns {void}
3233
+ */
3234
+ eject(t) {
3235
+ this.handlers[t] && (this.handlers[t] = null);
3236
+ }
3237
+ /**
3238
+ * Clear all interceptors from the stack
3239
+ *
3240
+ * @returns {void}
3241
+ */
3242
+ clear() {
3243
+ this.handlers && (this.handlers = []);
3244
+ }
3245
+ /**
3246
+ * Iterate over all the registered interceptors
3247
+ *
3248
+ * This method is particularly useful for skipping over any
3249
+ * interceptors that may have become `null` calling `eject`.
3250
+ *
3251
+ * @param {Function} fn The function to call for each interceptor
3252
+ *
3253
+ * @returns {void}
3254
+ */
3255
+ forEach(t) {
3256
+ h.forEach(this.handlers, function(r) {
3257
+ r !== null && t(r);
3258
+ });
3259
+ }
3260
+ }
3261
+ const mr = {
3262
+ silentJSONParsing: !0,
3263
+ forcedJSONParsing: !0,
3264
+ clarifyTimeoutError: !1
3265
+ }, Ea = typeof URLSearchParams < "u" ? URLSearchParams : Yt, Sa = typeof FormData < "u" ? FormData : null, Oa = typeof Blob < "u" ? Blob : null, Ta = {
3266
+ isBrowser: !0,
3267
+ classes: {
3268
+ URLSearchParams: Ea,
3269
+ FormData: Sa,
3270
+ Blob: Oa
3271
+ },
3272
+ protocols: ["http", "https", "file", "blob", "url", "data"]
3273
+ }, Qt = typeof window < "u" && typeof document < "u", Ut = typeof navigator == "object" && navigator || void 0, Na = Qt && (!Ut || ["ReactNative", "NativeScript", "NS"].indexOf(Ut.product) < 0), ka = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
3274
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", va = Qt && window.location.href || "http://localhost", La = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3275
+ __proto__: null,
3276
+ hasBrowserEnv: Qt,
3277
+ hasStandardBrowserEnv: Na,
3278
+ hasStandardBrowserWebWorkerEnv: ka,
3279
+ navigator: Ut,
3280
+ origin: va
3281
+ }, Symbol.toStringTag, { value: "Module" })), V = {
3282
+ ...La,
3283
+ ...Ta
3284
+ };
3285
+ function Ca(e, t) {
3286
+ return bt(e, new V.classes.URLSearchParams(), {
3287
+ visitor: function(n, r, s, o) {
3288
+ return V.isNode && h.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
3289
+ },
3290
+ ...t
3291
+ });
3292
+ }
3293
+ function Pa(e) {
3294
+ return h.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
3295
+ }
3296
+ function Fa(e) {
3297
+ const t = {}, n = Object.keys(e);
3298
+ let r;
3299
+ const s = n.length;
3300
+ let o;
3301
+ for (r = 0; r < s; r++)
3302
+ o = n[r], t[o] = e[o];
3303
+ return t;
3304
+ }
3305
+ function pr(e) {
3306
+ function t(n, r, s, o) {
3307
+ let a = n[o++];
3308
+ if (a === "__proto__") return !0;
3309
+ const i = Number.isFinite(+a), u = o >= n.length;
3310
+ return a = !a && h.isArray(s) ? s.length : a, u ? (h.hasOwnProp(s, a) ? s[a] = [s[a], r] : s[a] = r, !i) : ((!s[a] || !h.isObject(s[a])) && (s[a] = []), t(n, r, s[a], o) && h.isArray(s[a]) && (s[a] = Fa(s[a])), !i);
3311
+ }
3312
+ if (h.isFormData(e) && h.isFunction(e.entries)) {
3313
+ const n = {};
3314
+ return h.forEachEntry(e, (r, s) => {
3315
+ t(Pa(r), s, n, 0);
3316
+ }), n;
3317
+ }
3318
+ return null;
3319
+ }
3320
+ function Ra(e, t, n) {
3321
+ if (h.isString(e))
3322
+ try {
3323
+ return (t || JSON.parse)(e), h.trim(e);
3324
+ } catch (r) {
3325
+ if (r.name !== "SyntaxError")
3326
+ throw r;
3327
+ }
3328
+ return (n || JSON.stringify)(e);
3329
+ }
3330
+ const Ke = {
3331
+ transitional: mr,
3332
+ adapter: ["xhr", "http", "fetch"],
3333
+ transformRequest: [function(t, n) {
3334
+ const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = h.isObject(t);
3335
+ if (o && h.isHTMLForm(t) && (t = new FormData(t)), h.isFormData(t))
3336
+ return s ? JSON.stringify(pr(t)) : t;
3337
+ if (h.isArrayBuffer(t) || h.isBuffer(t) || h.isStream(t) || h.isFile(t) || h.isBlob(t) || h.isReadableStream(t))
3338
+ return t;
3339
+ if (h.isArrayBufferView(t))
3340
+ return t.buffer;
3341
+ if (h.isURLSearchParams(t))
3342
+ return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
3343
+ let i;
3344
+ if (o) {
3345
+ if (r.indexOf("application/x-www-form-urlencoded") > -1)
3346
+ return Ca(t, this.formSerializer).toString();
3347
+ if ((i = h.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
3348
+ const u = this.env && this.env.FormData;
3349
+ return bt(
3350
+ i ? { "files[]": t } : t,
3351
+ u && new u(),
3352
+ this.formSerializer
3353
+ );
3354
+ }
3355
+ }
3356
+ return o || s ? (n.setContentType("application/json", !1), Ra(t)) : t;
3357
+ }],
3358
+ transformResponse: [function(t) {
3359
+ const n = this.transitional || Ke.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
3360
+ if (h.isResponse(t) || h.isReadableStream(t))
3361
+ return t;
3362
+ if (t && h.isString(t) && (r && !this.responseType || s)) {
3363
+ const a = !(n && n.silentJSONParsing) && s;
3364
+ try {
3365
+ return JSON.parse(t, this.parseReviver);
3366
+ } catch (i) {
3367
+ if (a)
3368
+ throw i.name === "SyntaxError" ? R.from(i, R.ERR_BAD_RESPONSE, this, null, this.response) : i;
3369
+ }
3370
+ }
3371
+ return t;
3372
+ }],
3373
+ /**
3374
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
3375
+ * timeout is not created.
3376
+ */
3377
+ timeout: 0,
3378
+ xsrfCookieName: "XSRF-TOKEN",
3379
+ xsrfHeaderName: "X-XSRF-TOKEN",
3380
+ maxContentLength: -1,
3381
+ maxBodyLength: -1,
3382
+ env: {
3383
+ FormData: V.classes.FormData,
3384
+ Blob: V.classes.Blob
3385
+ },
3386
+ validateStatus: function(t) {
3387
+ return t >= 200 && t < 300;
3388
+ },
3389
+ headers: {
3390
+ common: {
3391
+ Accept: "application/json, text/plain, */*",
3392
+ "Content-Type": void 0
3393
+ }
3394
+ }
3395
+ };
3396
+ h.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
3397
+ Ke.headers[e] = {};
3398
+ });
3399
+ const Aa = h.toObjectSet([
3400
+ "age",
3401
+ "authorization",
3402
+ "content-length",
3403
+ "content-type",
3404
+ "etag",
3405
+ "expires",
3406
+ "from",
3407
+ "host",
3408
+ "if-modified-since",
3409
+ "if-unmodified-since",
3410
+ "last-modified",
3411
+ "location",
3412
+ "max-forwards",
3413
+ "proxy-authorization",
3414
+ "referer",
3415
+ "retry-after",
3416
+ "user-agent"
3417
+ ]), Ia = (e) => {
3418
+ const t = {};
3419
+ let n, r, s;
3420
+ return e && e.split(`
3421
+ `).forEach(function(a) {
3422
+ s = a.indexOf(":"), n = a.substring(0, s).trim().toLowerCase(), r = a.substring(s + 1).trim(), !(!n || t[n] && Aa[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
3423
+ }), t;
3424
+ }, Cn = Symbol("internals");
3425
+ function Ve(e) {
3426
+ return e && String(e).trim().toLowerCase();
3427
+ }
3428
+ function et(e) {
3429
+ return e === !1 || e == null ? e : h.isArray(e) ? e.map(et) : String(e);
3430
+ }
3431
+ function Da(e) {
3432
+ const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
3433
+ let r;
3434
+ for (; r = n.exec(e); )
3435
+ t[r[1]] = r[2];
3436
+ return t;
3437
+ }
3438
+ const xa = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
3439
+ function St(e, t, n, r, s) {
3440
+ if (h.isFunction(r))
3441
+ return r.call(this, t, n);
3442
+ if (s && (t = n), !!h.isString(t)) {
3443
+ if (h.isString(r))
3444
+ return t.indexOf(r) !== -1;
3445
+ if (h.isRegExp(r))
3446
+ return r.test(t);
3447
+ }
3448
+ }
3449
+ function Ma(e) {
3450
+ return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
3451
+ }
3452
+ function $a(e, t) {
3453
+ const n = h.toCamelCase(" " + t);
3454
+ ["get", "set", "has"].forEach((r) => {
3455
+ Object.defineProperty(e, r + n, {
3456
+ value: function(s, o, a) {
3457
+ return this[r].call(this, t, s, o, a);
3458
+ },
3459
+ configurable: !0
3460
+ });
3461
+ });
3462
+ }
3463
+ let G = class {
3464
+ constructor(t) {
3465
+ t && this.set(t);
3466
+ }
3467
+ set(t, n, r) {
3468
+ const s = this;
3469
+ function o(i, u, c) {
3470
+ const f = Ve(u);
3471
+ if (!f)
3472
+ throw new Error("header name must be a non-empty string");
3473
+ const b = h.findKey(s, f);
3474
+ (!b || s[b] === void 0 || c === !0 || c === void 0 && s[b] !== !1) && (s[b || u] = et(i));
3475
+ }
3476
+ const a = (i, u) => h.forEach(i, (c, f) => o(c, f, u));
3477
+ if (h.isPlainObject(t) || t instanceof this.constructor)
3478
+ a(t, n);
3479
+ else if (h.isString(t) && (t = t.trim()) && !xa(t))
3480
+ a(Ia(t), n);
3481
+ else if (h.isObject(t) && h.isIterable(t)) {
3482
+ let i = {}, u, c;
3483
+ for (const f of t) {
3484
+ if (!h.isArray(f))
3485
+ throw TypeError("Object iterator must return a key-value pair");
3486
+ i[c = f[0]] = (u = i[c]) ? h.isArray(u) ? [...u, f[1]] : [u, f[1]] : f[1];
3487
+ }
3488
+ a(i, n);
3489
+ } else
3490
+ t != null && o(n, t, r);
3491
+ return this;
3492
+ }
3493
+ get(t, n) {
3494
+ if (t = Ve(t), t) {
3495
+ const r = h.findKey(this, t);
3496
+ if (r) {
3497
+ const s = this[r];
3498
+ if (!n)
3499
+ return s;
3500
+ if (n === !0)
3501
+ return Da(s);
3502
+ if (h.isFunction(n))
3503
+ return n.call(this, s, r);
3504
+ if (h.isRegExp(n))
3505
+ return n.exec(s);
3506
+ throw new TypeError("parser must be boolean|regexp|function");
3507
+ }
3508
+ }
3509
+ }
3510
+ has(t, n) {
3511
+ if (t = Ve(t), t) {
3512
+ const r = h.findKey(this, t);
3513
+ return !!(r && this[r] !== void 0 && (!n || St(this, this[r], r, n)));
3514
+ }
3515
+ return !1;
3516
+ }
3517
+ delete(t, n) {
3518
+ const r = this;
3519
+ let s = !1;
3520
+ function o(a) {
3521
+ if (a = Ve(a), a) {
3522
+ const i = h.findKey(r, a);
3523
+ i && (!n || St(r, r[i], i, n)) && (delete r[i], s = !0);
3524
+ }
3525
+ }
3526
+ return h.isArray(t) ? t.forEach(o) : o(t), s;
3527
+ }
3528
+ clear(t) {
3529
+ const n = Object.keys(this);
3530
+ let r = n.length, s = !1;
3531
+ for (; r--; ) {
3532
+ const o = n[r];
3533
+ (!t || St(this, this[o], o, t, !0)) && (delete this[o], s = !0);
3534
+ }
3535
+ return s;
3536
+ }
3537
+ normalize(t) {
3538
+ const n = this, r = {};
3539
+ return h.forEach(this, (s, o) => {
3540
+ const a = h.findKey(r, o);
3541
+ if (a) {
3542
+ n[a] = et(s), delete n[o];
3543
+ return;
3544
+ }
3545
+ const i = t ? Ma(o) : String(o).trim();
3546
+ i !== o && delete n[o], n[i] = et(s), r[i] = !0;
3547
+ }), this;
3548
+ }
3549
+ concat(...t) {
3550
+ return this.constructor.concat(this, ...t);
3551
+ }
3552
+ toJSON(t) {
3553
+ const n = /* @__PURE__ */ Object.create(null);
3554
+ return h.forEach(this, (r, s) => {
3555
+ r != null && r !== !1 && (n[s] = t && h.isArray(r) ? r.join(", ") : r);
3556
+ }), n;
3557
+ }
3558
+ [Symbol.iterator]() {
3559
+ return Object.entries(this.toJSON())[Symbol.iterator]();
3560
+ }
3561
+ toString() {
3562
+ return Object.entries(this.toJSON()).map(([t, n]) => t + ": " + n).join(`
3563
+ `);
3564
+ }
3565
+ getSetCookie() {
3566
+ return this.get("set-cookie") || [];
3567
+ }
3568
+ get [Symbol.toStringTag]() {
3569
+ return "AxiosHeaders";
3570
+ }
3571
+ static from(t) {
3572
+ return t instanceof this ? t : new this(t);
3573
+ }
3574
+ static concat(t, ...n) {
3575
+ const r = new this(t);
3576
+ return n.forEach((s) => r.set(s)), r;
3577
+ }
3578
+ static accessor(t) {
3579
+ const r = (this[Cn] = this[Cn] = {
3580
+ accessors: {}
3581
+ }).accessors, s = this.prototype;
3582
+ function o(a) {
3583
+ const i = Ve(a);
3584
+ r[i] || ($a(s, a), r[i] = !0);
3585
+ }
3586
+ return h.isArray(t) ? t.forEach(o) : o(t), this;
3587
+ }
3588
+ };
3589
+ G.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
3590
+ h.reduceDescriptors(G.prototype, ({ value: e }, t) => {
3591
+ let n = t[0].toUpperCase() + t.slice(1);
3592
+ return {
3593
+ get: () => e,
3594
+ set(r) {
3595
+ this[n] = r;
3596
+ }
3597
+ };
3598
+ });
3599
+ h.freezeMethods(G);
3600
+ function Ot(e, t) {
3601
+ const n = this || Ke, r = t || n, s = G.from(r.headers);
3602
+ let o = r.data;
3603
+ return h.forEach(e, function(i) {
3604
+ o = i.call(n, o, s.normalize(), t ? t.status : void 0);
3605
+ }), s.normalize(), o;
3606
+ }
3607
+ function hr(e) {
3608
+ return !!(e && e.__CANCEL__);
3609
+ }
3610
+ function Me(e, t, n) {
3611
+ R.call(this, e ?? "canceled", R.ERR_CANCELED, t, n), this.name = "CanceledError";
3612
+ }
3613
+ h.inherits(Me, R, {
3614
+ __CANCEL__: !0
3615
+ });
3616
+ function gr(e, t, n) {
3617
+ const r = n.config.validateStatus;
3618
+ !n.status || !r || r(n.status) ? e(n) : t(new R(
3619
+ "Request failed with status code " + n.status,
3620
+ [R.ERR_BAD_REQUEST, R.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
3621
+ n.config,
3622
+ n.request,
3623
+ n
3624
+ ));
3625
+ }
3626
+ function Ua(e) {
3627
+ const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
3628
+ return t && t[1] || "";
3629
+ }
3630
+ function ja(e, t) {
3631
+ e = e || 10;
3632
+ const n = new Array(e), r = new Array(e);
3633
+ let s = 0, o = 0, a;
3634
+ return t = t !== void 0 ? t : 1e3, function(u) {
3635
+ const c = Date.now(), f = r[o];
3636
+ a || (a = c), n[s] = u, r[s] = c;
3637
+ let b = o, O = 0;
3638
+ for (; b !== s; )
3639
+ O += n[b++], b = b % e;
3640
+ if (s = (s + 1) % e, s === o && (o = (o + 1) % e), c - a < t)
3641
+ return;
3642
+ const F = f && c - f;
3643
+ return F ? Math.round(O * 1e3 / F) : void 0;
3644
+ };
3645
+ }
3646
+ function Ba(e, t) {
3647
+ let n = 0, r = 1e3 / t, s, o;
3648
+ const a = (c, f = Date.now()) => {
3649
+ n = f, s = null, o && (clearTimeout(o), o = null), e(...c);
3650
+ };
3651
+ return [(...c) => {
3652
+ const f = Date.now(), b = f - n;
3653
+ b >= r ? a(c, f) : (s = c, o || (o = setTimeout(() => {
3654
+ o = null, a(s);
3655
+ }, r - b)));
3656
+ }, () => s && a(s)];
3657
+ }
3658
+ const it = (e, t, n = 3) => {
3659
+ let r = 0;
3660
+ const s = ja(50, 250);
3661
+ return Ba((o) => {
3662
+ const a = o.loaded, i = o.lengthComputable ? o.total : void 0, u = a - r, c = s(u), f = a <= i;
3663
+ r = a;
3664
+ const b = {
3665
+ loaded: a,
3666
+ total: i,
3667
+ progress: i ? a / i : void 0,
3668
+ bytes: u,
3669
+ rate: c || void 0,
3670
+ estimated: c && i && f ? (i - a) / c : void 0,
3671
+ event: o,
3672
+ lengthComputable: i != null,
3673
+ [t ? "download" : "upload"]: !0
3674
+ };
3675
+ e(b);
3676
+ }, n);
3677
+ }, Pn = (e, t) => {
3678
+ const n = e != null;
3679
+ return [(r) => t[0]({
3680
+ lengthComputable: n,
3681
+ total: e,
3682
+ loaded: r
3683
+ }), t[1]];
3684
+ }, Fn = (e) => (...t) => h.asap(() => e(...t)), Va = V.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, V.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
3685
+ new URL(V.origin),
3686
+ V.navigator && /(msie|trident)/i.test(V.navigator.userAgent)
3687
+ ) : () => !0, Wa = V.hasStandardBrowserEnv ? (
3688
+ // Standard browser envs support document.cookie
3689
+ {
3690
+ write(e, t, n, r, s, o, a) {
3691
+ if (typeof document > "u") return;
3692
+ const i = [`${e}=${encodeURIComponent(t)}`];
3693
+ h.isNumber(n) && i.push(`expires=${new Date(n).toUTCString()}`), h.isString(r) && i.push(`path=${r}`), h.isString(s) && i.push(`domain=${s}`), o === !0 && i.push("secure"), h.isString(a) && i.push(`SameSite=${a}`), document.cookie = i.join("; ");
3694
+ },
3695
+ read(e) {
3696
+ if (typeof document > "u") return null;
3697
+ const t = document.cookie.match(new RegExp("(?:^|; )" + e + "=([^;]*)"));
3698
+ return t ? decodeURIComponent(t[1]) : null;
3699
+ },
3700
+ remove(e) {
3701
+ this.write(e, "", Date.now() - 864e5, "/");
3702
+ }
3703
+ }
3704
+ ) : (
3705
+ // Non-standard browser env (web workers, react-native) lack needed support.
3706
+ {
3707
+ write() {
3708
+ },
3709
+ read() {
3710
+ return null;
3711
+ },
3712
+ remove() {
3713
+ }
3714
+ }
3715
+ );
3716
+ function Ha(e) {
3717
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
3718
+ }
3719
+ function qa(e, t) {
3720
+ return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
3721
+ }
3722
+ function br(e, t, n) {
3723
+ let r = !Ha(t);
3724
+ return e && (r || n == !1) ? qa(e, t) : t;
3725
+ }
3726
+ const Rn = (e) => e instanceof G ? { ...e } : e;
3727
+ function Oe(e, t) {
3728
+ t = t || {};
3729
+ const n = {};
3730
+ function r(c, f, b, O) {
3731
+ return h.isPlainObject(c) && h.isPlainObject(f) ? h.merge.call({ caseless: O }, c, f) : h.isPlainObject(f) ? h.merge({}, f) : h.isArray(f) ? f.slice() : f;
3732
+ }
3733
+ function s(c, f, b, O) {
3734
+ if (h.isUndefined(f)) {
3735
+ if (!h.isUndefined(c))
3736
+ return r(void 0, c, b, O);
3737
+ } else return r(c, f, b, O);
3738
+ }
3739
+ function o(c, f) {
3740
+ if (!h.isUndefined(f))
3741
+ return r(void 0, f);
3742
+ }
3743
+ function a(c, f) {
3744
+ if (h.isUndefined(f)) {
3745
+ if (!h.isUndefined(c))
3746
+ return r(void 0, c);
3747
+ } else return r(void 0, f);
3748
+ }
3749
+ function i(c, f, b) {
3750
+ if (b in t)
3751
+ return r(c, f);
3752
+ if (b in e)
3753
+ return r(void 0, c);
3754
+ }
3755
+ const u = {
3756
+ url: o,
3757
+ method: o,
3758
+ data: o,
3759
+ baseURL: a,
3760
+ transformRequest: a,
3761
+ transformResponse: a,
3762
+ paramsSerializer: a,
3763
+ timeout: a,
3764
+ timeoutMessage: a,
3765
+ withCredentials: a,
3766
+ withXSRFToken: a,
3767
+ adapter: a,
3768
+ responseType: a,
3769
+ xsrfCookieName: a,
3770
+ xsrfHeaderName: a,
3771
+ onUploadProgress: a,
3772
+ onDownloadProgress: a,
3773
+ decompress: a,
3774
+ maxContentLength: a,
3775
+ maxBodyLength: a,
3776
+ beforeRedirect: a,
3777
+ transport: a,
3778
+ httpAgent: a,
3779
+ httpsAgent: a,
3780
+ cancelToken: a,
3781
+ socketPath: a,
3782
+ responseEncoding: a,
3783
+ validateStatus: i,
3784
+ headers: (c, f, b) => s(Rn(c), Rn(f), b, !0)
3785
+ };
3786
+ return h.forEach(Object.keys({ ...e, ...t }), function(f) {
3787
+ const b = u[f] || s, O = b(e[f], t[f], f);
3788
+ h.isUndefined(O) && b !== i || (n[f] = O);
3789
+ }), n;
3790
+ }
3791
+ const yr = (e) => {
3792
+ const t = Oe({}, e);
3793
+ let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: a, auth: i } = t;
3794
+ if (t.headers = a = G.from(a), t.url = dr(br(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), i && a.set(
3795
+ "Authorization",
3796
+ "Basic " + btoa((i.username || "") + ":" + (i.password ? unescape(encodeURIComponent(i.password)) : ""))
3797
+ ), h.isFormData(n)) {
3798
+ if (V.hasStandardBrowserEnv || V.hasStandardBrowserWebWorkerEnv)
3799
+ a.setContentType(void 0);
3800
+ else if (h.isFunction(n.getHeaders)) {
3801
+ const u = n.getHeaders(), c = ["content-type", "content-length"];
3802
+ Object.entries(u).forEach(([f, b]) => {
3803
+ c.includes(f.toLowerCase()) && a.set(f, b);
3804
+ });
3805
+ }
3806
+ }
3807
+ if (V.hasStandardBrowserEnv && (r && h.isFunction(r) && (r = r(t)), r || r !== !1 && Va(t.url))) {
3808
+ const u = s && o && Wa.read(o);
3809
+ u && a.set(s, u);
3810
+ }
3811
+ return t;
3812
+ }, Ja = typeof XMLHttpRequest < "u", Ka = Ja && function(e) {
3813
+ return new Promise(function(n, r) {
3814
+ const s = yr(e);
3815
+ let o = s.data;
3816
+ const a = G.from(s.headers).normalize();
3817
+ let { responseType: i, onUploadProgress: u, onDownloadProgress: c } = s, f, b, O, F, p;
3818
+ function S() {
3819
+ F && F(), p && p(), s.cancelToken && s.cancelToken.unsubscribe(f), s.signal && s.signal.removeEventListener("abort", f);
3820
+ }
3821
+ let y = new XMLHttpRequest();
3822
+ y.open(s.method.toUpperCase(), s.url, !0), y.timeout = s.timeout;
3823
+ function m() {
3824
+ if (!y)
3825
+ return;
3826
+ const T = G.from(
3827
+ "getAllResponseHeaders" in y && y.getAllResponseHeaders()
3828
+ ), k = {
3829
+ data: !i || i === "text" || i === "json" ? y.responseText : y.response,
3830
+ status: y.status,
3831
+ statusText: y.statusText,
3832
+ headers: T,
3833
+ config: e,
3834
+ request: y
3835
+ };
3836
+ gr(function(L) {
3837
+ n(L), S();
3838
+ }, function(L) {
3839
+ r(L), S();
3840
+ }, k), y = null;
3841
+ }
3842
+ "onloadend" in y ? y.onloadend = m : y.onreadystatechange = function() {
3843
+ !y || y.readyState !== 4 || y.status === 0 && !(y.responseURL && y.responseURL.indexOf("file:") === 0) || setTimeout(m);
3844
+ }, y.onabort = function() {
3845
+ y && (r(new R("Request aborted", R.ECONNABORTED, e, y)), y = null);
3846
+ }, y.onerror = function(g) {
3847
+ const k = g && g.message ? g.message : "Network Error", C = new R(k, R.ERR_NETWORK, e, y);
3848
+ C.event = g || null, r(C), y = null;
3849
+ }, y.ontimeout = function() {
3850
+ let g = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
3851
+ const k = s.transitional || mr;
3852
+ s.timeoutErrorMessage && (g = s.timeoutErrorMessage), r(new R(
3853
+ g,
3854
+ k.clarifyTimeoutError ? R.ETIMEDOUT : R.ECONNABORTED,
3855
+ e,
3856
+ y
3857
+ )), y = null;
3858
+ }, o === void 0 && a.setContentType(null), "setRequestHeader" in y && h.forEach(a.toJSON(), function(g, k) {
3859
+ y.setRequestHeader(k, g);
3860
+ }), h.isUndefined(s.withCredentials) || (y.withCredentials = !!s.withCredentials), i && i !== "json" && (y.responseType = s.responseType), c && ([O, p] = it(c, !0), y.addEventListener("progress", O)), u && y.upload && ([b, F] = it(u), y.upload.addEventListener("progress", b), y.upload.addEventListener("loadend", F)), (s.cancelToken || s.signal) && (f = (T) => {
3861
+ y && (r(!T || T.type ? new Me(null, e, y) : T), y.abort(), y = null);
3862
+ }, s.cancelToken && s.cancelToken.subscribe(f), s.signal && (s.signal.aborted ? f() : s.signal.addEventListener("abort", f)));
3863
+ const w = Ua(s.url);
3864
+ if (w && V.protocols.indexOf(w) === -1) {
3865
+ r(new R("Unsupported protocol " + w + ":", R.ERR_BAD_REQUEST, e));
3866
+ return;
3867
+ }
3868
+ y.send(o || null);
3869
+ });
3870
+ }, Ga = (e, t) => {
3871
+ const { length: n } = e = e ? e.filter(Boolean) : [];
3872
+ if (t || n) {
3873
+ let r = new AbortController(), s;
3874
+ const o = function(c) {
3875
+ if (!s) {
3876
+ s = !0, i();
3877
+ const f = c instanceof Error ? c : this.reason;
3878
+ r.abort(f instanceof R ? f : new Me(f instanceof Error ? f.message : f));
3879
+ }
3880
+ };
3881
+ let a = t && setTimeout(() => {
3882
+ a = null, o(new R(`timeout ${t} of ms exceeded`, R.ETIMEDOUT));
3883
+ }, t);
3884
+ const i = () => {
3885
+ e && (a && clearTimeout(a), a = null, e.forEach((c) => {
3886
+ c.unsubscribe ? c.unsubscribe(o) : c.removeEventListener("abort", o);
3887
+ }), e = null);
3888
+ };
3889
+ e.forEach((c) => c.addEventListener("abort", o));
3890
+ const { signal: u } = r;
3891
+ return u.unsubscribe = () => h.asap(i), u;
3892
+ }
3893
+ }, Ya = function* (e, t) {
3894
+ let n = e.byteLength;
3895
+ if (n < t) {
3896
+ yield e;
3897
+ return;
3898
+ }
3899
+ let r = 0, s;
3900
+ for (; r < n; )
3901
+ s = r + t, yield e.slice(r, s), r = s;
3902
+ }, Qa = async function* (e, t) {
3903
+ for await (const n of Xa(e))
3904
+ yield* Ya(n, t);
3905
+ }, Xa = async function* (e) {
3906
+ if (e[Symbol.asyncIterator]) {
3907
+ yield* e;
3908
+ return;
3909
+ }
3910
+ const t = e.getReader();
3911
+ try {
3912
+ for (; ; ) {
3913
+ const { done: n, value: r } = await t.read();
3914
+ if (n)
3915
+ break;
3916
+ yield r;
3917
+ }
3918
+ } finally {
3919
+ await t.cancel();
3920
+ }
3921
+ }, An = (e, t, n, r) => {
3922
+ const s = Qa(e, t);
3923
+ let o = 0, a, i = (u) => {
3924
+ a || (a = !0, r && r(u));
3925
+ };
3926
+ return new ReadableStream({
3927
+ async pull(u) {
3928
+ try {
3929
+ const { done: c, value: f } = await s.next();
3930
+ if (c) {
3931
+ i(), u.close();
3932
+ return;
3933
+ }
3934
+ let b = f.byteLength;
3935
+ if (n) {
3936
+ let O = o += b;
3937
+ n(O);
3938
+ }
3939
+ u.enqueue(new Uint8Array(f));
3940
+ } catch (c) {
3941
+ throw i(c), c;
3942
+ }
3943
+ },
3944
+ cancel(u) {
3945
+ return i(u), s.return();
3946
+ }
3947
+ }, {
3948
+ highWaterMark: 2
3949
+ });
3950
+ }, In = 64 * 1024, { isFunction: Ze } = h, Za = (({ Request: e, Response: t }) => ({
3951
+ Request: e,
3952
+ Response: t
3953
+ }))(h.global), {
3954
+ ReadableStream: Dn,
3955
+ TextEncoder: xn
3956
+ } = h.global, Mn = (e, ...t) => {
3957
+ try {
3958
+ return !!e(...t);
3959
+ } catch {
3960
+ return !1;
3961
+ }
3962
+ }, za = (e) => {
3963
+ e = h.merge.call({
3964
+ skipUndefined: !0
3965
+ }, Za, e);
3966
+ const { fetch: t, Request: n, Response: r } = e, s = t ? Ze(t) : typeof fetch == "function", o = Ze(n), a = Ze(r);
3967
+ if (!s)
3968
+ return !1;
3969
+ const i = s && Ze(Dn), u = s && (typeof xn == "function" ? /* @__PURE__ */ ((p) => (S) => p.encode(S))(new xn()) : async (p) => new Uint8Array(await new n(p).arrayBuffer())), c = o && i && Mn(() => {
3970
+ let p = !1;
3971
+ const S = new n(V.origin, {
3972
+ body: new Dn(),
3973
+ method: "POST",
3974
+ get duplex() {
3975
+ return p = !0, "half";
3976
+ }
3977
+ }).headers.has("Content-Type");
3978
+ return p && !S;
3979
+ }), f = a && i && Mn(() => h.isReadableStream(new r("").body)), b = {
3980
+ stream: f && ((p) => p.body)
3981
+ };
3982
+ s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((p) => {
3983
+ !b[p] && (b[p] = (S, y) => {
3984
+ let m = S && S[p];
3985
+ if (m)
3986
+ return m.call(S);
3987
+ throw new R(`Response type '${p}' is not supported`, R.ERR_NOT_SUPPORT, y);
3988
+ });
3989
+ });
3990
+ const O = async (p) => {
3991
+ if (p == null)
3992
+ return 0;
3993
+ if (h.isBlob(p))
3994
+ return p.size;
3995
+ if (h.isSpecCompliantForm(p))
3996
+ return (await new n(V.origin, {
3997
+ method: "POST",
3998
+ body: p
3999
+ }).arrayBuffer()).byteLength;
4000
+ if (h.isArrayBufferView(p) || h.isArrayBuffer(p))
4001
+ return p.byteLength;
4002
+ if (h.isURLSearchParams(p) && (p = p + ""), h.isString(p))
4003
+ return (await u(p)).byteLength;
4004
+ }, F = async (p, S) => {
4005
+ const y = h.toFiniteNumber(p.getContentLength());
4006
+ return y ?? O(S);
4007
+ };
4008
+ return async (p) => {
4009
+ let {
4010
+ url: S,
4011
+ method: y,
4012
+ data: m,
4013
+ signal: w,
4014
+ cancelToken: T,
4015
+ timeout: g,
4016
+ onDownloadProgress: k,
4017
+ onUploadProgress: C,
4018
+ responseType: L,
4019
+ headers: M,
4020
+ withCredentials: x = "same-origin",
4021
+ fetchOptions: Q
4022
+ } = yr(p), fe = t || fetch;
4023
+ L = L ? (L + "").toLowerCase() : "text";
4024
+ let X = Ga([w, T && T.toAbortSignal()], g), ie = null;
4025
+ const ne = X && X.unsubscribe && (() => {
4026
+ X.unsubscribe();
4027
+ });
4028
+ let re;
4029
+ try {
4030
+ if (C && c && y !== "get" && y !== "head" && (re = await F(M, m)) !== 0) {
4031
+ let z = new n(S, {
4032
+ method: "POST",
4033
+ body: m,
4034
+ duplex: "half"
4035
+ }), se;
4036
+ if (h.isFormData(m) && (se = z.headers.get("content-type")) && M.setContentType(se), z.body) {
4037
+ const [he, de] = Pn(
4038
+ re,
4039
+ it(Fn(C))
4040
+ );
4041
+ m = An(z.body, In, he, de);
4042
+ }
4043
+ }
4044
+ h.isString(x) || (x = x ? "include" : "omit");
4045
+ const H = o && "credentials" in n.prototype, ke = {
4046
+ ...Q,
4047
+ signal: X,
4048
+ method: y.toUpperCase(),
4049
+ headers: M.normalize().toJSON(),
4050
+ body: m,
4051
+ duplex: "half",
4052
+ credentials: H ? x : void 0
4053
+ };
4054
+ ie = o && new n(S, ke);
4055
+ let Z = await (o ? fe(ie, Q) : fe(S, ke));
4056
+ const ve = f && (L === "stream" || L === "response");
4057
+ if (f && (k || ve && ne)) {
4058
+ const z = {};
4059
+ ["status", "statusText", "headers"].forEach((Le) => {
4060
+ z[Le] = Z[Le];
4061
+ });
4062
+ const se = h.toFiniteNumber(Z.headers.get("content-length")), [he, de] = k && Pn(
4063
+ se,
4064
+ it(Fn(k), !0)
4065
+ ) || [];
4066
+ Z = new r(
4067
+ An(Z.body, In, he, () => {
4068
+ de && de(), ne && ne();
4069
+ }),
4070
+ z
4071
+ );
4072
+ }
4073
+ L = L || "text";
4074
+ let Ge = await b[h.findKey(b, L) || "text"](Z, p);
4075
+ return !ve && ne && ne(), await new Promise((z, se) => {
4076
+ gr(z, se, {
4077
+ data: Ge,
4078
+ headers: G.from(Z.headers),
4079
+ status: Z.status,
4080
+ statusText: Z.statusText,
4081
+ config: p,
4082
+ request: ie
4083
+ });
4084
+ });
4085
+ } catch (H) {
4086
+ throw ne && ne(), H && H.name === "TypeError" && /Load failed|fetch/i.test(H.message) ? Object.assign(
4087
+ new R("Network Error", R.ERR_NETWORK, p, ie),
4088
+ {
4089
+ cause: H.cause || H
4090
+ }
4091
+ ) : R.from(H, H && H.code, p, ie);
4092
+ }
4093
+ };
4094
+ }, ei = /* @__PURE__ */ new Map(), _r = (e) => {
4095
+ let t = e && e.env || {};
4096
+ const { fetch: n, Request: r, Response: s } = t, o = [
4097
+ r,
4098
+ s,
4099
+ n
4100
+ ];
4101
+ let a = o.length, i = a, u, c, f = ei;
4102
+ for (; i--; )
4103
+ u = o[i], c = f.get(u), c === void 0 && f.set(u, c = i ? /* @__PURE__ */ new Map() : za(t)), f = c;
4104
+ return c;
4105
+ };
4106
+ _r();
4107
+ const Xt = {
4108
+ http: ba,
4109
+ xhr: Ka,
4110
+ fetch: {
4111
+ get: _r
4112
+ }
4113
+ };
4114
+ h.forEach(Xt, (e, t) => {
4115
+ if (e) {
4116
+ try {
4117
+ Object.defineProperty(e, "name", { value: t });
4118
+ } catch {
4119
+ }
4120
+ Object.defineProperty(e, "adapterName", { value: t });
4121
+ }
4122
+ });
4123
+ const $n = (e) => `- ${e}`, ti = (e) => h.isFunction(e) || e === null || e === !1;
4124
+ function ni(e, t) {
4125
+ e = h.isArray(e) ? e : [e];
4126
+ const { length: n } = e;
4127
+ let r, s;
4128
+ const o = {};
4129
+ for (let a = 0; a < n; a++) {
4130
+ r = e[a];
4131
+ let i;
4132
+ if (s = r, !ti(r) && (s = Xt[(i = String(r)).toLowerCase()], s === void 0))
4133
+ throw new R(`Unknown adapter '${i}'`);
4134
+ if (s && (h.isFunction(s) || (s = s.get(t))))
4135
+ break;
4136
+ o[i || "#" + a] = s;
4137
+ }
4138
+ if (!s) {
4139
+ const a = Object.entries(o).map(
4140
+ ([u, c]) => `adapter ${u} ` + (c === !1 ? "is not supported by the environment" : "is not available in the build")
4141
+ );
4142
+ let i = n ? a.length > 1 ? `since :
4143
+ ` + a.map($n).join(`
4144
+ `) : " " + $n(a[0]) : "as no adapter specified";
4145
+ throw new R(
4146
+ "There is no suitable adapter to dispatch the request " + i,
4147
+ "ERR_NOT_SUPPORT"
4148
+ );
4149
+ }
4150
+ return s;
4151
+ }
4152
+ const wr = {
4153
+ /**
4154
+ * Resolve an adapter from a list of adapter names or functions.
4155
+ * @type {Function}
4156
+ */
4157
+ getAdapter: ni,
4158
+ /**
4159
+ * Exposes all known adapters
4160
+ * @type {Object<string, Function|Object>}
4161
+ */
4162
+ adapters: Xt
4163
+ };
4164
+ function Tt(e) {
4165
+ if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
4166
+ throw new Me(null, e);
4167
+ }
4168
+ function Un(e) {
4169
+ return Tt(e), e.headers = G.from(e.headers), e.data = Ot.call(
4170
+ e,
4171
+ e.transformRequest
4172
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), wr.getAdapter(e.adapter || Ke.adapter, e)(e).then(function(r) {
4173
+ return Tt(e), r.data = Ot.call(
4174
+ e,
4175
+ e.transformResponse,
4176
+ r
4177
+ ), r.headers = G.from(r.headers), r;
4178
+ }, function(r) {
4179
+ return hr(r) || (Tt(e), r && r.response && (r.response.data = Ot.call(
4180
+ e,
4181
+ e.transformResponse,
4182
+ r.response
4183
+ ), r.response.headers = G.from(r.response.headers))), Promise.reject(r);
4184
+ });
4185
+ }
4186
+ const Er = "1.13.2", yt = {};
4187
+ ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
4188
+ yt[e] = function(r) {
4189
+ return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
4190
+ };
4191
+ });
4192
+ const jn = {};
4193
+ yt.transitional = function(t, n, r) {
4194
+ function s(o, a) {
4195
+ return "[Axios v" + Er + "] Transitional option '" + o + "'" + a + (r ? ". " + r : "");
4196
+ }
4197
+ return (o, a, i) => {
4198
+ if (t === !1)
4199
+ throw new R(
4200
+ s(a, " has been removed" + (n ? " in " + n : "")),
4201
+ R.ERR_DEPRECATED
4202
+ );
4203
+ return n && !jn[a] && (jn[a] = !0, console.warn(
4204
+ s(
4205
+ a,
4206
+ " has been deprecated since v" + n + " and will be removed in the near future"
4207
+ )
4208
+ )), t ? t(o, a, i) : !0;
4209
+ };
4210
+ };
4211
+ yt.spelling = function(t) {
4212
+ return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
4213
+ };
4214
+ function ri(e, t, n) {
4215
+ if (typeof e != "object")
4216
+ throw new R("options must be an object", R.ERR_BAD_OPTION_VALUE);
4217
+ const r = Object.keys(e);
4218
+ let s = r.length;
4219
+ for (; s-- > 0; ) {
4220
+ const o = r[s], a = t[o];
4221
+ if (a) {
4222
+ const i = e[o], u = i === void 0 || a(i, o, e);
4223
+ if (u !== !0)
4224
+ throw new R("option " + o + " must be " + u, R.ERR_BAD_OPTION_VALUE);
4225
+ continue;
4226
+ }
4227
+ if (n !== !0)
4228
+ throw new R("Unknown option " + o, R.ERR_BAD_OPTION);
4229
+ }
4230
+ }
4231
+ const tt = {
4232
+ assertOptions: ri,
4233
+ validators: yt
4234
+ }, ce = tt.validators;
4235
+ let we = class {
4236
+ constructor(t) {
4237
+ this.defaults = t || {}, this.interceptors = {
4238
+ request: new Ln(),
4239
+ response: new Ln()
4240
+ };
4241
+ }
4242
+ /**
4243
+ * Dispatch a request
4244
+ *
4245
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
4246
+ * @param {?Object} config
4247
+ *
4248
+ * @returns {Promise} The Promise to be fulfilled
4249
+ */
4250
+ async request(t, n) {
4251
+ try {
4252
+ return await this._request(t, n);
4253
+ } catch (r) {
4254
+ if (r instanceof Error) {
4255
+ let s = {};
4256
+ Error.captureStackTrace ? Error.captureStackTrace(s) : s = new Error();
4257
+ const o = s.stack ? s.stack.replace(/^.+\n/, "") : "";
4258
+ try {
4259
+ r.stack ? o && !String(r.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (r.stack += `
4260
+ ` + o) : r.stack = o;
4261
+ } catch {
4262
+ }
4263
+ }
4264
+ throw r;
4265
+ }
4266
+ }
4267
+ _request(t, n) {
4268
+ typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = Oe(this.defaults, n);
4269
+ const { transitional: r, paramsSerializer: s, headers: o } = n;
4270
+ r !== void 0 && tt.assertOptions(r, {
4271
+ silentJSONParsing: ce.transitional(ce.boolean),
4272
+ forcedJSONParsing: ce.transitional(ce.boolean),
4273
+ clarifyTimeoutError: ce.transitional(ce.boolean)
4274
+ }, !1), s != null && (h.isFunction(s) ? n.paramsSerializer = {
4275
+ serialize: s
4276
+ } : tt.assertOptions(s, {
4277
+ encode: ce.function,
4278
+ serialize: ce.function
4279
+ }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), tt.assertOptions(n, {
4280
+ baseUrl: ce.spelling("baseURL"),
4281
+ withXsrfToken: ce.spelling("withXSRFToken")
4282
+ }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
4283
+ let a = o && h.merge(
4284
+ o.common,
4285
+ o[n.method]
4286
+ );
4287
+ o && h.forEach(
4288
+ ["delete", "get", "head", "post", "put", "patch", "common"],
4289
+ (p) => {
4290
+ delete o[p];
4291
+ }
4292
+ ), n.headers = G.concat(a, o);
4293
+ const i = [];
4294
+ let u = !0;
4295
+ this.interceptors.request.forEach(function(S) {
4296
+ typeof S.runWhen == "function" && S.runWhen(n) === !1 || (u = u && S.synchronous, i.unshift(S.fulfilled, S.rejected));
4297
+ });
4298
+ const c = [];
4299
+ this.interceptors.response.forEach(function(S) {
4300
+ c.push(S.fulfilled, S.rejected);
4301
+ });
4302
+ let f, b = 0, O;
4303
+ if (!u) {
4304
+ const p = [Un.bind(this), void 0];
4305
+ for (p.unshift(...i), p.push(...c), O = p.length, f = Promise.resolve(n); b < O; )
4306
+ f = f.then(p[b++], p[b++]);
4307
+ return f;
4308
+ }
4309
+ O = i.length;
4310
+ let F = n;
4311
+ for (; b < O; ) {
4312
+ const p = i[b++], S = i[b++];
4313
+ try {
4314
+ F = p(F);
4315
+ } catch (y) {
4316
+ S.call(this, y);
4317
+ break;
4318
+ }
4319
+ }
4320
+ try {
4321
+ f = Un.call(this, F);
4322
+ } catch (p) {
4323
+ return Promise.reject(p);
4324
+ }
4325
+ for (b = 0, O = c.length; b < O; )
4326
+ f = f.then(c[b++], c[b++]);
4327
+ return f;
4328
+ }
4329
+ getUri(t) {
4330
+ t = Oe(this.defaults, t);
4331
+ const n = br(t.baseURL, t.url, t.allowAbsoluteUrls);
4332
+ return dr(n, t.params, t.paramsSerializer);
4333
+ }
4334
+ };
4335
+ h.forEach(["delete", "get", "head", "options"], function(t) {
4336
+ we.prototype[t] = function(n, r) {
4337
+ return this.request(Oe(r || {}, {
4338
+ method: t,
4339
+ url: n,
4340
+ data: (r || {}).data
4341
+ }));
4342
+ };
4343
+ });
4344
+ h.forEach(["post", "put", "patch"], function(t) {
4345
+ function n(r) {
4346
+ return function(o, a, i) {
4347
+ return this.request(Oe(i || {}, {
4348
+ method: t,
4349
+ headers: r ? {
4350
+ "Content-Type": "multipart/form-data"
4351
+ } : {},
4352
+ url: o,
4353
+ data: a
4354
+ }));
4355
+ };
4356
+ }
4357
+ we.prototype[t] = n(), we.prototype[t + "Form"] = n(!0);
4358
+ });
4359
+ let si = class Sr {
4360
+ constructor(t) {
4361
+ if (typeof t != "function")
4362
+ throw new TypeError("executor must be a function.");
4363
+ let n;
4364
+ this.promise = new Promise(function(o) {
4365
+ n = o;
4366
+ });
4367
+ const r = this;
4368
+ this.promise.then((s) => {
4369
+ if (!r._listeners) return;
4370
+ let o = r._listeners.length;
4371
+ for (; o-- > 0; )
4372
+ r._listeners[o](s);
4373
+ r._listeners = null;
4374
+ }), this.promise.then = (s) => {
4375
+ let o;
4376
+ const a = new Promise((i) => {
4377
+ r.subscribe(i), o = i;
4378
+ }).then(s);
4379
+ return a.cancel = function() {
4380
+ r.unsubscribe(o);
4381
+ }, a;
4382
+ }, t(function(o, a, i) {
4383
+ r.reason || (r.reason = new Me(o, a, i), n(r.reason));
4384
+ });
4385
+ }
4386
+ /**
4387
+ * Throws a `CanceledError` if cancellation has been requested.
4388
+ */
4389
+ throwIfRequested() {
4390
+ if (this.reason)
4391
+ throw this.reason;
4392
+ }
4393
+ /**
4394
+ * Subscribe to the cancel signal
4395
+ */
4396
+ subscribe(t) {
4397
+ if (this.reason) {
4398
+ t(this.reason);
4399
+ return;
4400
+ }
4401
+ this._listeners ? this._listeners.push(t) : this._listeners = [t];
4402
+ }
4403
+ /**
4404
+ * Unsubscribe from the cancel signal
4405
+ */
4406
+ unsubscribe(t) {
4407
+ if (!this._listeners)
4408
+ return;
4409
+ const n = this._listeners.indexOf(t);
4410
+ n !== -1 && this._listeners.splice(n, 1);
4411
+ }
4412
+ toAbortSignal() {
4413
+ const t = new AbortController(), n = (r) => {
4414
+ t.abort(r);
4415
+ };
4416
+ return this.subscribe(n), t.signal.unsubscribe = () => this.unsubscribe(n), t.signal;
4417
+ }
4418
+ /**
4419
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
4420
+ * cancels the `CancelToken`.
4421
+ */
4422
+ static source() {
4423
+ let t;
4424
+ return {
4425
+ token: new Sr(function(s) {
4426
+ t = s;
4427
+ }),
4428
+ cancel: t
4429
+ };
4430
+ }
4431
+ };
4432
+ function oi(e) {
4433
+ return function(n) {
4434
+ return e.apply(null, n);
4435
+ };
4436
+ }
4437
+ function ai(e) {
4438
+ return h.isObject(e) && e.isAxiosError === !0;
4439
+ }
4440
+ const jt = {
4441
+ Continue: 100,
4442
+ SwitchingProtocols: 101,
4443
+ Processing: 102,
4444
+ EarlyHints: 103,
4445
+ Ok: 200,
4446
+ Created: 201,
4447
+ Accepted: 202,
4448
+ NonAuthoritativeInformation: 203,
4449
+ NoContent: 204,
4450
+ ResetContent: 205,
4451
+ PartialContent: 206,
4452
+ MultiStatus: 207,
4453
+ AlreadyReported: 208,
4454
+ ImUsed: 226,
4455
+ MultipleChoices: 300,
4456
+ MovedPermanently: 301,
4457
+ Found: 302,
4458
+ SeeOther: 303,
4459
+ NotModified: 304,
4460
+ UseProxy: 305,
4461
+ Unused: 306,
4462
+ TemporaryRedirect: 307,
4463
+ PermanentRedirect: 308,
4464
+ BadRequest: 400,
4465
+ Unauthorized: 401,
4466
+ PaymentRequired: 402,
4467
+ Forbidden: 403,
4468
+ NotFound: 404,
4469
+ MethodNotAllowed: 405,
4470
+ NotAcceptable: 406,
4471
+ ProxyAuthenticationRequired: 407,
4472
+ RequestTimeout: 408,
4473
+ Conflict: 409,
4474
+ Gone: 410,
4475
+ LengthRequired: 411,
4476
+ PreconditionFailed: 412,
4477
+ PayloadTooLarge: 413,
4478
+ UriTooLong: 414,
4479
+ UnsupportedMediaType: 415,
4480
+ RangeNotSatisfiable: 416,
4481
+ ExpectationFailed: 417,
4482
+ ImATeapot: 418,
4483
+ MisdirectedRequest: 421,
4484
+ UnprocessableEntity: 422,
4485
+ Locked: 423,
4486
+ FailedDependency: 424,
4487
+ TooEarly: 425,
4488
+ UpgradeRequired: 426,
4489
+ PreconditionRequired: 428,
4490
+ TooManyRequests: 429,
4491
+ RequestHeaderFieldsTooLarge: 431,
4492
+ UnavailableForLegalReasons: 451,
4493
+ InternalServerError: 500,
4494
+ NotImplemented: 501,
4495
+ BadGateway: 502,
4496
+ ServiceUnavailable: 503,
4497
+ GatewayTimeout: 504,
4498
+ HttpVersionNotSupported: 505,
4499
+ VariantAlsoNegotiates: 506,
4500
+ InsufficientStorage: 507,
4501
+ LoopDetected: 508,
4502
+ NotExtended: 510,
4503
+ NetworkAuthenticationRequired: 511,
4504
+ WebServerIsDown: 521,
4505
+ ConnectionTimedOut: 522,
4506
+ OriginIsUnreachable: 523,
4507
+ TimeoutOccurred: 524,
4508
+ SslHandshakeFailed: 525,
4509
+ InvalidSslCertificate: 526
4510
+ };
4511
+ Object.entries(jt).forEach(([e, t]) => {
4512
+ jt[t] = e;
4513
+ });
4514
+ function Or(e) {
4515
+ const t = new we(e), n = er(we.prototype.request, t);
4516
+ return h.extend(n, we.prototype, t, { allOwnKeys: !0 }), h.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
4517
+ return Or(Oe(e, s));
4518
+ }, n;
4519
+ }
4520
+ const $ = Or(Ke);
4521
+ $.Axios = we;
4522
+ $.CanceledError = Me;
4523
+ $.CancelToken = si;
4524
+ $.isCancel = hr;
4525
+ $.VERSION = Er;
4526
+ $.toFormData = bt;
4527
+ $.AxiosError = R;
4528
+ $.Cancel = $.CanceledError;
4529
+ $.all = function(t) {
4530
+ return Promise.all(t);
4531
+ };
4532
+ $.spread = oi;
4533
+ $.isAxiosError = ai;
4534
+ $.mergeConfig = Oe;
4535
+ $.AxiosHeaders = G;
4536
+ $.formToJSON = (e) => pr(h.isHTMLForm(e) ? new FormData(e) : e);
4537
+ $.getAdapter = wr.getAdapter;
4538
+ $.HttpStatusCode = jt;
4539
+ $.default = $;
4540
+ const {
4541
+ Axios: di,
4542
+ AxiosError: mi,
4543
+ CanceledError: pi,
4544
+ isCancel: hi,
4545
+ CancelToken: gi,
4546
+ VERSION: bi,
4547
+ all: yi,
4548
+ Cancel: _i,
4549
+ isAxiosError: wi,
4550
+ spread: Ei,
4551
+ toFormData: Si,
4552
+ AxiosHeaders: Oi,
4553
+ HttpStatusCode: Ti,
4554
+ formToJSON: Ni,
4555
+ getAdapter: ki,
4556
+ mergeConfig: vi
4557
+ } = $, Li = () => {
4558
+ const e = ye(!1);
4559
+ return {
4560
+ fetchData: async (n) => {
4561
+ try {
4562
+ e.value = !0;
4563
+ const r = await $({
4564
+ url: n.url,
4565
+ method: "GET",
4566
+ headers: {
4567
+ "Content-Type": "application/json",
4568
+ Authorization: n.token
4569
+ },
4570
+ params: {
4571
+ pageNo: 1,
4572
+ pageSize: 1e5,
4573
+ // 大数值以获取所有数据
4574
+ ...n.params
4575
+ },
4576
+ timeout: n.timeout || 1e3 * 30
4577
+ });
4578
+ return r.data.code === 200 ? r.data : (console.error("请求失败:", r.data), null);
4579
+ } catch (r) {
4580
+ return console.error("请求出错:", r), null;
4581
+ } finally {
4582
+ e.value = !1;
4583
+ }
4584
+ },
4585
+ loading: e
4586
+ };
4587
+ }, ii = /* @__PURE__ */ Object.assign({
4588
+ "./pd-ui/pd-DataTable/pd-DataTable.vue": () => import("./pd-DataTable-BcIAemsK.js"),
4589
+ "./pd-ui/pd-EchartsContainer/pd-EchartsContainer.vue": () => import("./pd-EchartsContainer-BFOhfwBO.js"),
4590
+ "./pd-ui/pd-ExcelExport/pd-ExcelExport.vue": () => import("./pd-ExcelExport-CvUTAjj5.js"),
4591
+ "./pd-ui/pd-FetchAllTable/pd-FetchAllTable.vue": () => import("./pd-FetchAllTable-Ddd8kPKo.js"),
4592
+ "./pd-ui/pd-PwdChangeForm/pd-PwdChangeForm.vue": () => import("./pd-PwdChangeForm-elO_UmrX.js"),
4593
+ "./pd-ui/pd-Test/pd-Test.vue": () => import("./pd-Test-CFjrkdez.js")
4594
+ }), Ci = {
4595
+ install(e, t = {}) {
4596
+ let n = t.i18n;
4597
+ if (!n) {
4598
+ const r = typeof t.locale == "function" ? t.locale() : t.locale;
4599
+ n = Co({
4600
+ locale: r,
4601
+ messages: t.messages
4602
+ }), e.use(n);
4603
+ }
4604
+ Po(n);
4605
+ for (const [r, s] of Object.entries(ii)) {
4606
+ const o = r.slice(r.lastIndexOf("/") + 1, r.lastIndexOf("."));
4607
+ e.component(o, Pr(s));
4608
+ }
4609
+ if (e.provide("pd-ui-config", {
4610
+ locale: n.global.locale,
4611
+ t: n.global.t
4612
+ }), typeof t.locale == "function") {
4613
+ const r = Pe(() => {
4614
+ const s = t.locale;
4615
+ return s();
4616
+ });
4617
+ Nt(r, (s) => {
4618
+ n && n.global && (n.global.locale.value = s);
4619
+ });
4620
+ }
4621
+ }
4622
+ };
4623
+ export {
4624
+ $ as a,
4625
+ Li as b,
4626
+ Co as c,
4627
+ vo as d,
4628
+ ko as e,
4629
+ Fo as g,
4630
+ Lo as m,
4631
+ Ci as p,
4632
+ Po as s,
4633
+ ci as u,
4634
+ No as z
4635
+ };