vue-stack-tabs 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +2 -2
  2. package/dist/favicon.svg +9 -9
  3. package/dist/style.css +1 -1
  4. package/dist/vue-stack-tabs.es.js +727 -757
  5. package/dist/vue-stack-tabs.umd.js +10 -10
  6. package/package.json +4 -4
  7. package/src/lib/StackTabs.vue +126 -127
  8. package/src/lib/assets/style/common/mixins.scss +45 -45
  9. package/src/lib/assets/style/common/var.scss +65 -65
  10. package/src/lib/assets/style/icon.scss +93 -93
  11. package/src/lib/assets/style/index.scss +4 -4
  12. package/src/lib/assets/style/overlayer.scss +40 -40
  13. package/src/lib/assets/style/stackTab.scss +395 -395
  14. package/src/lib/assets/style/transition.scss +40 -40
  15. package/src/lib/banner.ts +51 -51
  16. package/src/lib/components/ContextMenu/ContextMenuItem.vue +15 -15
  17. package/src/lib/components/ContextMenu/index.vue +129 -128
  18. package/src/lib/components/OverlayLoading/Component.vue +191 -188
  19. package/src/lib/components/OverlayLoading/api.ts +31 -31
  20. package/src/lib/components/OverlayLoading/helpers.ts +31 -31
  21. package/src/lib/components/OverlayLoading/index.ts +12 -12
  22. package/src/lib/components/OverlayLoading/loaders/bars.vue +79 -79
  23. package/src/lib/components/OverlayLoading/loaders/dots.vue +92 -92
  24. package/src/lib/components/OverlayLoading/loaders/index.ts +9 -9
  25. package/src/lib/components/OverlayLoading/loaders/spinner.vue +41 -41
  26. package/src/lib/components/TabHeader/TabHeaderButton.vue +35 -35
  27. package/src/lib/components/TabHeader/TabHeaderItem.vue +63 -63
  28. package/src/lib/components/TabHeader/TabHeaderScroll.vue +240 -240
  29. package/src/lib/components/TabHeader/index.vue +135 -134
  30. package/src/lib/hooks/useContextMenu.ts +50 -50
  31. package/src/lib/hooks/useStackTab.ts +65 -65
  32. package/src/lib/hooks/useTabLoading.ts +34 -35
  33. package/src/lib/hooks/useTabRouter.ts +94 -95
  34. package/src/lib/hooks/useTabpanel.tsx +490 -490
  35. package/src/lib/i18n/index.ts +72 -72
  36. package/src/lib/i18n/lang/en.ts +15 -15
  37. package/src/lib/i18n/lang/zh-CN.ts +15 -15
  38. package/src/lib/iframe.vue +7 -7
  39. package/src/lib/index.ts +23 -23
  40. package/src/lib/model/TabModel.ts +169 -182
  41. package/src/lib/utils/TabIdHelper.ts +70 -70
  42. package/src/lib/utils/TabScrollHelper.ts +104 -104
  43. package/src/lib/utils/UriHelper.ts +22 -22
  44. package/types/index.d.ts +3 -11
  45. package/types/src/lib/StackTabs.vue.d.ts +122 -0
  46. package/types/src/lib/components/ContextMenu/ContextMenuItem.vue.d.ts +17 -0
  47. package/types/src/lib/components/ContextMenu/index.vue.d.ts +45 -0
  48. package/types/src/lib/components/OverlayLoading/Component.vue.d.ts +100 -0
  49. package/types/src/lib/components/OverlayLoading/api.d.ts +5 -0
  50. package/types/src/lib/components/OverlayLoading/helpers.d.ts +7 -0
  51. package/types/src/lib/components/OverlayLoading/index.d.ts +6 -0
  52. package/types/src/lib/components/OverlayLoading/loaders/bars.vue.d.ts +39 -0
  53. package/types/src/lib/components/OverlayLoading/loaders/dots.vue.d.ts +39 -0
  54. package/types/src/lib/components/OverlayLoading/loaders/index.d.ts +96 -0
  55. package/types/src/lib/components/OverlayLoading/loaders/spinner.vue.d.ts +39 -0
  56. package/types/src/lib/components/TabHeader/TabHeaderButton.vue.d.ts +48 -0
  57. package/types/src/lib/components/TabHeader/TabHeaderItem.vue.d.ts +21 -0
  58. package/types/src/lib/components/TabHeader/TabHeaderScroll.vue.d.ts +49 -0
  59. package/types/src/lib/components/TabHeader/index.vue.d.ts +64 -0
  60. package/types/src/lib/hooks/useContextMenu.d.ts +13 -0
  61. package/types/src/lib/hooks/useStackTab.d.ts +8 -0
  62. package/types/{hooks → src/lib/hooks}/useTabRouter.d.ts +2 -1
  63. package/types/src/lib/hooks/useTabpanel.d.ts +68 -0
  64. package/types/src/lib/i18n/index.d.ts +4 -0
  65. package/types/src/lib/i18n/lang/en.d.ts +16 -0
  66. package/types/src/lib/i18n/lang/zh-CN.d.ts +16 -0
  67. package/types/src/lib/iframe.vue.d.ts +2 -0
  68. package/types/src/lib/index.d.ts +12 -0
  69. package/types/{model → src/lib/model}/TabModel.d.ts +0 -20
  70. package/types/src/lib/utils/TabScrollHelper.d.ts +33 -0
  71. package/types/hooks/useStackTab.d.ts +0 -9
  72. package/types/iframe.vue.d.ts +0 -2
  73. /package/types/{banner.d.ts → src/lib/banner.d.ts} +0 -0
  74. /package/types/{hooks → src/lib/hooks}/useTabLoading.d.ts +0 -0
  75. /package/types/{utils → src/lib/utils}/TabIdHelper.d.ts +0 -0
  76. /package/types/{utils → src/lib/utils}/UriHelper.d.ts +0 -0
@@ -1,6 +1,6 @@
1
- var Ra = Object.defineProperty;
2
- var Pa = (e, t, n) => t in e ? Ra(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var mr = (e, t, n) => (Pa(e, typeof t != "symbol" ? t + "" : t, n), n);
1
+ var Pa = Object.defineProperty;
2
+ var Ra = (e, t, n) => t in e ? Pa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var _r = (e, t, n) => (Ra(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import { defineComponent as fe, h as Hn, getCurrentInstance as ot, effectScope as Ma, inject as Gn, onMounted as Gt, onUnmounted as Tt, shallowRef as Ns, ref as Q, computed as ce, onBeforeMount as Os, watch as Xe, Fragment as Nt, isRef as Da, createVNode as oe, Text as Fa, unref as x, onActivated as xa, resolveComponent as ys, openBlock as z, createElementBlock as se, createElementVNode as ve, normalizeClass as xe, withModifiers as it, toDisplayString as Ls, reactive as nn, normalizeStyle as Ut, createCommentVNode as ze, renderList as jn, createBlock as $e, nextTick as Ua, renderSlot as Ue, withDirectives as Yn, vShow as Xn, withCtx as De, TransitionGroup as Is, mergeProps as $a, Transition as zn, provide as hr, KeepAlive as Va, resolveDynamicComponent as ks, render as Ss, createStaticVNode as Kn, onBeforeUnmount as Wa } from "vue";
5
5
  import { useRouter as un, useRoute as Ba } from "vue-router";
6
6
  /*!
@@ -33,7 +33,7 @@ const Xa = Object.prototype.hasOwnProperty;
33
33
  function rn(e, t) {
34
34
  return Xa.call(e, t);
35
35
  }
36
- const q = Array.isArray, X = (e) => typeof e == "function", P = (e) => typeof e == "string", B = (e) => typeof e == "boolean", G = (e) => e !== null && typeof e == "object", za = (e) => G(e) && X(e.then) && X(e.catch), As = Object.prototype.toString, Cs = (e) => As.call(e), V = (e) => {
36
+ const q = Array.isArray, X = (e) => typeof e == "function", R = (e) => typeof e == "string", B = (e) => typeof e == "boolean", G = (e) => e !== null && typeof e == "object", za = (e) => G(e) && X(e.then) && X(e.catch), As = Object.prototype.toString, Cs = (e) => As.call(e), V = (e) => {
37
37
  if (!G(e))
38
38
  return !1;
39
39
  const t = Object.getPrototypeOf(e);
@@ -56,8 +56,8 @@ function Za(e, t = 0, n = e.length) {
56
56
  r.push(`${l}${" ".repeat(3 - String(l).length)}| ${s[i]}`);
57
57
  const c = s[i].length;
58
58
  if (i === o) {
59
- const h = t - (a - c) + 1, m = Math.max(1, n > a ? c - h : n - t);
60
- r.push(" | " + " ".repeat(h) + "^".repeat(m));
59
+ const h = t - (a - c) + 1, _ = Math.max(1, n > a ? c - h : n - t);
60
+ r.push(" | " + " ".repeat(h) + "^".repeat(_));
61
61
  } else if (i > o) {
62
62
  if (n > a) {
63
63
  const h = Math.max(Math.min(n - a, c), 1);
@@ -126,8 +126,8 @@ const eo = /\{([0-9a-zA-Z]+)\}/g;
126
126
  function to(e, ...t) {
127
127
  return t.length === 1 && no(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(eo, (n, s) => t.hasOwnProperty(s) ? t[s] : "");
128
128
  }
129
- const Rs = Object.assign, Er = (e) => typeof e == "string", no = (e) => e !== null && typeof e == "object";
130
- function Ps(e, t = "") {
129
+ const Ps = Object.assign, Er = (e) => typeof e == "string", no = (e) => e !== null && typeof e == "object";
130
+ function Rs(e, t = "") {
131
131
  return e.reduce((n, s, a) => a === 0 ? n + s : n + t + s, "");
132
132
  }
133
133
  const U = {
@@ -184,12 +184,12 @@ function Ot(e, t, n = {}) {
184
184
  function so(e) {
185
185
  throw e;
186
186
  }
187
- const ao = /<\/?[\w\s="/.':;#-\/]+>/, oo = (e) => ao.test(e), Re = " ", io = "\r", _e = `
187
+ const ao = /<\/?[\w\s="/.':;#-\/]+>/, oo = (e) => ao.test(e), Pe = " ", io = "\r", me = `
188
188
  `, lo = "\u2028", co = "\u2029";
189
189
  function uo(e) {
190
190
  const t = e;
191
191
  let n = 0, s = 1, a = 1, r = 0;
192
- const o = (y) => t[y] === io && t[y + 1] === _e, i = (y) => t[y] === _e, l = (y) => t[y] === co, c = (y) => t[y] === lo, h = (y) => o(y) || i(y) || l(y) || c(y), m = () => n, f = () => s, E = () => a, N = () => r, I = (y) => o(y) || l(y) || c(y) ? _e : t[y], S = () => I(n), d = () => I(n + r);
192
+ const o = (y) => t[y] === io && t[y + 1] === me, i = (y) => t[y] === me, l = (y) => t[y] === co, c = (y) => t[y] === lo, h = (y) => o(y) || i(y) || l(y) || c(y), _ = () => n, f = () => s, E = () => a, N = () => r, I = (y) => o(y) || l(y) || c(y) ? me : t[y], S = () => I(n), d = () => I(n + r);
193
193
  function p() {
194
194
  return r = 0, h(n) && (s++, a = 0), o(n) && n++, n++, a++, t[n];
195
195
  }
@@ -209,7 +209,7 @@ function uo(e) {
209
209
  r = 0;
210
210
  }
211
211
  return {
212
- index: m,
212
+ index: _,
213
213
  line: f,
214
214
  column: E,
215
215
  peekOffset: N,
@@ -223,8 +223,8 @@ function uo(e) {
223
223
  skipToPeek: b
224
224
  };
225
225
  }
226
- const He = void 0, fo = ".", Tr = "'", _o = "tokenizer";
227
- function mo(e, t = {}) {
226
+ const He = void 0, fo = ".", Tr = "'", mo = "tokenizer";
227
+ function _o(e, t = {}) {
228
228
  const n = t.location !== !1, s = uo(e), a = () => s.index(), r = () => Qa(s.line(), s.column(), s.index()), o = r(), i = a(), l = {
229
229
  currentType: 14,
230
230
  offset: i,
@@ -238,136 +238,136 @@ function mo(e, t = {}) {
238
238
  inLinked: !1,
239
239
  text: ""
240
240
  }, c = () => l, { onError: h } = t;
241
- function m(_, u, L, ...F) {
241
+ function _(m, u, L, ...F) {
242
242
  const $ = c();
243
243
  if (u.column += L, u.offset += L, h) {
244
- const j = n ? In($.startLoc, u) : null, Oe = Ot(_, j, {
245
- domain: _o,
244
+ const j = n ? In($.startLoc, u) : null, Oe = Ot(m, j, {
245
+ domain: mo,
246
246
  args: F
247
247
  });
248
248
  h(Oe);
249
249
  }
250
250
  }
251
- function f(_, u, L) {
252
- _.endLoc = r(), _.currentType = u;
251
+ function f(m, u, L) {
252
+ m.endLoc = r(), m.currentType = u;
253
253
  const F = { type: u };
254
- return n && (F.loc = In(_.startLoc, _.endLoc)), L != null && (F.value = L), F;
254
+ return n && (F.loc = In(m.startLoc, m.endLoc)), L != null && (F.value = L), F;
255
255
  }
256
- const E = (_) => f(
257
- _,
256
+ const E = (m) => f(
257
+ m,
258
258
  14
259
259
  /* TokenTypes.EOF */
260
260
  );
261
- function N(_, u) {
262
- return _.currentChar() === u ? (_.next(), u) : (m(U.EXPECTED_TOKEN, r(), 0, u), "");
261
+ function N(m, u) {
262
+ return m.currentChar() === u ? (m.next(), u) : (_(U.EXPECTED_TOKEN, r(), 0, u), "");
263
263
  }
264
- function I(_) {
264
+ function I(m) {
265
265
  let u = "";
266
- for (; _.currentPeek() === Re || _.currentPeek() === _e; )
267
- u += _.currentPeek(), _.peek();
266
+ for (; m.currentPeek() === Pe || m.currentPeek() === me; )
267
+ u += m.currentPeek(), m.peek();
268
268
  return u;
269
269
  }
270
- function S(_) {
271
- const u = I(_);
272
- return _.skipToPeek(), u;
270
+ function S(m) {
271
+ const u = I(m);
272
+ return m.skipToPeek(), u;
273
273
  }
274
- function d(_) {
275
- if (_ === He)
274
+ function d(m) {
275
+ if (m === He)
276
276
  return !1;
277
- const u = _.charCodeAt(0);
277
+ const u = m.charCodeAt(0);
278
278
  return u >= 97 && u <= 122 || // a-z
279
279
  u >= 65 && u <= 90 || // A-Z
280
280
  u === 95;
281
281
  }
282
- function p(_) {
283
- if (_ === He)
282
+ function p(m) {
283
+ if (m === He)
284
284
  return !1;
285
- const u = _.charCodeAt(0);
285
+ const u = m.charCodeAt(0);
286
286
  return u >= 48 && u <= 57;
287
287
  }
288
- function v(_, u) {
288
+ function v(m, u) {
289
289
  const { currentType: L } = u;
290
290
  if (L !== 2)
291
291
  return !1;
292
- I(_);
293
- const F = d(_.currentPeek());
294
- return _.resetPeek(), F;
292
+ I(m);
293
+ const F = d(m.currentPeek());
294
+ return m.resetPeek(), F;
295
295
  }
296
- function g(_, u) {
296
+ function g(m, u) {
297
297
  const { currentType: L } = u;
298
298
  if (L !== 2)
299
299
  return !1;
300
- I(_);
301
- const F = _.currentPeek() === "-" ? _.peek() : _.currentPeek(), $ = p(F);
302
- return _.resetPeek(), $;
300
+ I(m);
301
+ const F = m.currentPeek() === "-" ? m.peek() : m.currentPeek(), $ = p(F);
302
+ return m.resetPeek(), $;
303
303
  }
304
- function k(_, u) {
304
+ function k(m, u) {
305
305
  const { currentType: L } = u;
306
306
  if (L !== 2)
307
307
  return !1;
308
- I(_);
309
- const F = _.currentPeek() === Tr;
310
- return _.resetPeek(), F;
308
+ I(m);
309
+ const F = m.currentPeek() === Tr;
310
+ return m.resetPeek(), F;
311
311
  }
312
- function b(_, u) {
312
+ function b(m, u) {
313
313
  const { currentType: L } = u;
314
314
  if (L !== 8)
315
315
  return !1;
316
- I(_);
317
- const F = _.currentPeek() === ".";
318
- return _.resetPeek(), F;
316
+ I(m);
317
+ const F = m.currentPeek() === ".";
318
+ return m.resetPeek(), F;
319
319
  }
320
- function y(_, u) {
320
+ function y(m, u) {
321
321
  const { currentType: L } = u;
322
322
  if (L !== 9)
323
323
  return !1;
324
- I(_);
325
- const F = d(_.currentPeek());
326
- return _.resetPeek(), F;
324
+ I(m);
325
+ const F = d(m.currentPeek());
326
+ return m.resetPeek(), F;
327
327
  }
328
- function C(_, u) {
328
+ function C(m, u) {
329
329
  const { currentType: L } = u;
330
330
  if (!(L === 8 || L === 12))
331
331
  return !1;
332
- I(_);
333
- const F = _.currentPeek() === ":";
334
- return _.resetPeek(), F;
332
+ I(m);
333
+ const F = m.currentPeek() === ":";
334
+ return m.resetPeek(), F;
335
335
  }
336
- function T(_, u) {
336
+ function T(m, u) {
337
337
  const { currentType: L } = u;
338
338
  if (L !== 10)
339
339
  return !1;
340
340
  const F = () => {
341
- const j = _.currentPeek();
342
- return j === "{" ? d(_.peek()) : j === "@" || j === "%" || j === "|" || j === ":" || j === "." || j === Re || !j ? !1 : j === _e ? (_.peek(), F()) : d(j);
341
+ const j = m.currentPeek();
342
+ return j === "{" ? d(m.peek()) : j === "@" || j === "%" || j === "|" || j === ":" || j === "." || j === Pe || !j ? !1 : j === me ? (m.peek(), F()) : d(j);
343
343
  }, $ = F();
344
- return _.resetPeek(), $;
344
+ return m.resetPeek(), $;
345
345
  }
346
- function w(_) {
347
- I(_);
348
- const u = _.currentPeek() === "|";
349
- return _.resetPeek(), u;
346
+ function w(m) {
347
+ I(m);
348
+ const u = m.currentPeek() === "|";
349
+ return m.resetPeek(), u;
350
350
  }
351
- function D(_) {
352
- const u = I(_), L = _.currentPeek() === "%" && _.peek() === "{";
353
- return _.resetPeek(), {
351
+ function D(m) {
352
+ const u = I(m), L = m.currentPeek() === "%" && m.peek() === "{";
353
+ return m.resetPeek(), {
354
354
  isModulo: L,
355
355
  hasSpace: u.length > 0
356
356
  };
357
357
  }
358
- function O(_, u = !0) {
358
+ function O(m, u = !0) {
359
359
  const L = ($ = !1, j = "", Oe = !1) => {
360
- const we = _.currentPeek();
361
- return we === "{" ? j === "%" ? !1 : $ : we === "@" || !we ? j === "%" ? !0 : $ : we === "%" ? (_.peek(), L($, "%", !0)) : we === "|" ? j === "%" || Oe ? !0 : !(j === Re || j === _e) : we === Re ? (_.peek(), L(!0, Re, Oe)) : we === _e ? (_.peek(), L(!0, _e, Oe)) : !0;
360
+ const we = m.currentPeek();
361
+ return we === "{" ? j === "%" ? !1 : $ : we === "@" || !we ? j === "%" ? !0 : $ : we === "%" ? (m.peek(), L($, "%", !0)) : we === "|" ? j === "%" || Oe ? !0 : !(j === Pe || j === me) : we === Pe ? (m.peek(), L(!0, Pe, Oe)) : we === me ? (m.peek(), L(!0, me, Oe)) : !0;
362
362
  }, F = L();
363
- return u && _.resetPeek(), F;
363
+ return u && m.resetPeek(), F;
364
364
  }
365
- function M(_, u) {
366
- const L = _.currentChar();
367
- return L === He ? He : u(L) ? (_.next(), L) : null;
365
+ function M(m, u) {
366
+ const L = m.currentChar();
367
+ return L === He ? He : u(L) ? (m.next(), L) : null;
368
368
  }
369
- function Z(_) {
370
- return M(_, (L) => {
369
+ function Z(m) {
370
+ return M(m, (L) => {
371
371
  const F = L.charCodeAt(0);
372
372
  return F >= 97 && F <= 122 || // a-z
373
373
  F >= 65 && F <= 90 || // A-Z
@@ -376,236 +376,236 @@ function mo(e, t = {}) {
376
376
  F === 36;
377
377
  });
378
378
  }
379
- function K(_) {
380
- return M(_, (L) => {
379
+ function K(m) {
380
+ return M(m, (L) => {
381
381
  const F = L.charCodeAt(0);
382
382
  return F >= 48 && F <= 57;
383
383
  });
384
384
  }
385
- function te(_) {
386
- return M(_, (L) => {
385
+ function te(m) {
386
+ return M(m, (L) => {
387
387
  const F = L.charCodeAt(0);
388
388
  return F >= 48 && F <= 57 || // 0-9
389
389
  F >= 65 && F <= 70 || // A-F
390
390
  F >= 97 && F <= 102;
391
391
  });
392
392
  }
393
- function de(_) {
393
+ function de(m) {
394
394
  let u = "", L = "";
395
- for (; u = K(_); )
395
+ for (; u = K(m); )
396
396
  L += u;
397
397
  return L;
398
398
  }
399
- function Ve(_) {
400
- S(_);
401
- const u = _.currentChar();
402
- return u !== "%" && m(U.EXPECTED_TOKEN, r(), 0, u), _.next(), "%";
399
+ function Ve(m) {
400
+ S(m);
401
+ const u = m.currentChar();
402
+ return u !== "%" && _(U.EXPECTED_TOKEN, r(), 0, u), m.next(), "%";
403
403
  }
404
- function Ce(_) {
404
+ function Ce(m) {
405
405
  let u = "";
406
406
  for (; ; ) {
407
- const L = _.currentChar();
407
+ const L = m.currentChar();
408
408
  if (L === "{" || L === "}" || L === "@" || L === "|" || !L)
409
409
  break;
410
410
  if (L === "%")
411
- if (O(_))
412
- u += L, _.next();
411
+ if (O(m))
412
+ u += L, m.next();
413
413
  else
414
414
  break;
415
- else if (L === Re || L === _e)
416
- if (O(_))
417
- u += L, _.next();
415
+ else if (L === Pe || L === me)
416
+ if (O(m))
417
+ u += L, m.next();
418
418
  else {
419
- if (w(_))
419
+ if (w(m))
420
420
  break;
421
- u += L, _.next();
421
+ u += L, m.next();
422
422
  }
423
423
  else
424
- u += L, _.next();
424
+ u += L, m.next();
425
425
  }
426
426
  return u;
427
427
  }
428
- function yt(_) {
429
- S(_);
428
+ function yt(m) {
429
+ S(m);
430
430
  let u = "", L = "";
431
- for (; u = Z(_); )
431
+ for (; u = Z(m); )
432
432
  L += u;
433
- return _.currentChar() === He && m(U.UNTERMINATED_CLOSING_BRACE, r(), 0), L;
433
+ return m.currentChar() === He && _(U.UNTERMINATED_CLOSING_BRACE, r(), 0), L;
434
434
  }
435
- function Lt(_) {
436
- S(_);
435
+ function Lt(m) {
436
+ S(m);
437
437
  let u = "";
438
- return _.currentChar() === "-" ? (_.next(), u += `-${de(_)}`) : u += de(_), _.currentChar() === He && m(U.UNTERMINATED_CLOSING_BRACE, r(), 0), u;
438
+ return m.currentChar() === "-" ? (m.next(), u += `-${de(m)}`) : u += de(m), m.currentChar() === He && _(U.UNTERMINATED_CLOSING_BRACE, r(), 0), u;
439
439
  }
440
- function Ee(_) {
441
- S(_), N(_, "'");
440
+ function Ee(m) {
441
+ S(m), N(m, "'");
442
442
  let u = "", L = "";
443
- const F = (j) => j !== Tr && j !== _e;
444
- for (; u = M(_, F); )
445
- u === "\\" ? L += ft(_) : L += u;
446
- const $ = _.currentChar();
447
- return $ === _e || $ === He ? (m(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), $ === _e && (_.next(), N(_, "'")), L) : (N(_, "'"), L);
448
- }
449
- function ft(_) {
450
- const u = _.currentChar();
443
+ const F = (j) => j !== Tr && j !== me;
444
+ for (; u = M(m, F); )
445
+ u === "\\" ? L += ft(m) : L += u;
446
+ const $ = m.currentChar();
447
+ return $ === me || $ === He ? (_(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), $ === me && (m.next(), N(m, "'")), L) : (N(m, "'"), L);
448
+ }
449
+ function ft(m) {
450
+ const u = m.currentChar();
451
451
  switch (u) {
452
452
  case "\\":
453
453
  case "'":
454
- return _.next(), `\\${u}`;
454
+ return m.next(), `\\${u}`;
455
455
  case "u":
456
- return dt(_, u, 4);
456
+ return dt(m, u, 4);
457
457
  case "U":
458
- return dt(_, u, 6);
458
+ return dt(m, u, 6);
459
459
  default:
460
- return m(U.UNKNOWN_ESCAPE_SEQUENCE, r(), 0, u), "";
460
+ return _(U.UNKNOWN_ESCAPE_SEQUENCE, r(), 0, u), "";
461
461
  }
462
462
  }
463
- function dt(_, u, L) {
464
- N(_, u);
463
+ function dt(m, u, L) {
464
+ N(m, u);
465
465
  let F = "";
466
466
  for (let $ = 0; $ < L; $++) {
467
- const j = te(_);
467
+ const j = te(m);
468
468
  if (!j) {
469
- m(U.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${u}${F}${_.currentChar()}`);
469
+ _(U.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${u}${F}${m.currentChar()}`);
470
470
  break;
471
471
  }
472
472
  F += j;
473
473
  }
474
474
  return `\\${u}${F}`;
475
475
  }
476
- function It(_) {
477
- S(_);
476
+ function It(m) {
477
+ S(m);
478
478
  let u = "", L = "";
479
- const F = ($) => $ !== "{" && $ !== "}" && $ !== Re && $ !== _e;
480
- for (; u = M(_, F); )
479
+ const F = ($) => $ !== "{" && $ !== "}" && $ !== Pe && $ !== me;
480
+ for (; u = M(m, F); )
481
481
  L += u;
482
482
  return L;
483
483
  }
484
- function kt(_) {
484
+ function kt(m) {
485
485
  let u = "", L = "";
486
- for (; u = Z(_); )
486
+ for (; u = Z(m); )
487
487
  L += u;
488
488
  return L;
489
489
  }
490
- function St(_) {
490
+ function St(m) {
491
491
  const u = (L = !1, F) => {
492
- const $ = _.currentChar();
493
- return $ === "{" || $ === "%" || $ === "@" || $ === "|" || $ === "(" || $ === ")" || !$ || $ === Re ? F : $ === _e || $ === fo ? (F += $, _.next(), u(L, F)) : (F += $, _.next(), u(!0, F));
492
+ const $ = m.currentChar();
493
+ return $ === "{" || $ === "%" || $ === "@" || $ === "|" || $ === "(" || $ === ")" || !$ || $ === Pe ? F : $ === me || $ === fo ? (F += $, m.next(), u(L, F)) : (F += $, m.next(), u(!0, F));
494
494
  };
495
495
  return u(!1, "");
496
496
  }
497
- function _t(_) {
498
- S(_);
497
+ function mt(m) {
498
+ S(m);
499
499
  const u = N(
500
- _,
500
+ m,
501
501
  "|"
502
502
  /* TokenChars.Pipe */
503
503
  );
504
- return S(_), u;
504
+ return S(m), u;
505
505
  }
506
- function Je(_, u) {
506
+ function Je(m, u) {
507
507
  let L = null;
508
- switch (_.currentChar()) {
508
+ switch (m.currentChar()) {
509
509
  case "{":
510
- return u.braceNest >= 1 && m(U.NOT_ALLOW_NEST_PLACEHOLDER, r(), 0), _.next(), L = f(
510
+ return u.braceNest >= 1 && _(U.NOT_ALLOW_NEST_PLACEHOLDER, r(), 0), m.next(), L = f(
511
511
  u,
512
512
  2,
513
513
  "{"
514
514
  /* TokenChars.BraceLeft */
515
- ), S(_), u.braceNest++, L;
515
+ ), S(m), u.braceNest++, L;
516
516
  case "}":
517
- return u.braceNest > 0 && u.currentType === 2 && m(U.EMPTY_PLACEHOLDER, r(), 0), _.next(), L = f(
517
+ return u.braceNest > 0 && u.currentType === 2 && _(U.EMPTY_PLACEHOLDER, r(), 0), m.next(), L = f(
518
518
  u,
519
519
  3,
520
520
  "}"
521
521
  /* TokenChars.BraceRight */
522
- ), u.braceNest--, u.braceNest > 0 && S(_), u.inLinked && u.braceNest === 0 && (u.inLinked = !1), L;
522
+ ), u.braceNest--, u.braceNest > 0 && S(m), u.inLinked && u.braceNest === 0 && (u.inLinked = !1), L;
523
523
  case "@":
524
- return u.braceNest > 0 && m(U.UNTERMINATED_CLOSING_BRACE, r(), 0), L = We(_, u) || E(u), u.braceNest = 0, L;
524
+ return u.braceNest > 0 && _(U.UNTERMINATED_CLOSING_BRACE, r(), 0), L = We(m, u) || E(u), u.braceNest = 0, L;
525
525
  default:
526
526
  let $ = !0, j = !0, Oe = !0;
527
- if (w(_))
528
- return u.braceNest > 0 && m(U.UNTERMINATED_CLOSING_BRACE, r(), 0), L = f(u, 1, _t(_)), u.braceNest = 0, u.inLinked = !1, L;
527
+ if (w(m))
528
+ return u.braceNest > 0 && _(U.UNTERMINATED_CLOSING_BRACE, r(), 0), L = f(u, 1, mt(m)), u.braceNest = 0, u.inLinked = !1, L;
529
529
  if (u.braceNest > 0 && (u.currentType === 5 || u.currentType === 6 || u.currentType === 7))
530
- return m(U.UNTERMINATED_CLOSING_BRACE, r(), 0), u.braceNest = 0, Qe(_, u);
531
- if ($ = v(_, u))
532
- return L = f(u, 5, yt(_)), S(_), L;
533
- if (j = g(_, u))
534
- return L = f(u, 6, Lt(_)), S(_), L;
535
- if (Oe = k(_, u))
536
- return L = f(u, 7, Ee(_)), S(_), L;
530
+ return _(U.UNTERMINATED_CLOSING_BRACE, r(), 0), u.braceNest = 0, Qe(m, u);
531
+ if ($ = v(m, u))
532
+ return L = f(u, 5, yt(m)), S(m), L;
533
+ if (j = g(m, u))
534
+ return L = f(u, 6, Lt(m)), S(m), L;
535
+ if (Oe = k(m, u))
536
+ return L = f(u, 7, Ee(m)), S(m), L;
537
537
  if (!$ && !j && !Oe)
538
- return L = f(u, 13, It(_)), m(U.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, L.value), S(_), L;
538
+ return L = f(u, 13, It(m)), _(U.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, L.value), S(m), L;
539
539
  break;
540
540
  }
541
541
  return L;
542
542
  }
543
- function We(_, u) {
543
+ function We(m, u) {
544
544
  const { currentType: L } = u;
545
545
  let F = null;
546
- const $ = _.currentChar();
547
- switch ((L === 8 || L === 9 || L === 12 || L === 10) && ($ === _e || $ === Re) && m(U.INVALID_LINKED_FORMAT, r(), 0), $) {
546
+ const $ = m.currentChar();
547
+ switch ((L === 8 || L === 9 || L === 12 || L === 10) && ($ === me || $ === Pe) && _(U.INVALID_LINKED_FORMAT, r(), 0), $) {
548
548
  case "@":
549
- return _.next(), F = f(
549
+ return m.next(), F = f(
550
550
  u,
551
551
  8,
552
552
  "@"
553
553
  /* TokenChars.LinkedAlias */
554
554
  ), u.inLinked = !0, F;
555
555
  case ".":
556
- return S(_), _.next(), f(
556
+ return S(m), m.next(), f(
557
557
  u,
558
558
  9,
559
559
  "."
560
560
  /* TokenChars.LinkedDot */
561
561
  );
562
562
  case ":":
563
- return S(_), _.next(), f(
563
+ return S(m), m.next(), f(
564
564
  u,
565
565
  10,
566
566
  ":"
567
567
  /* TokenChars.LinkedDelimiter */
568
568
  );
569
569
  default:
570
- return w(_) ? (F = f(u, 1, _t(_)), u.braceNest = 0, u.inLinked = !1, F) : b(_, u) || C(_, u) ? (S(_), We(_, u)) : y(_, u) ? (S(_), f(u, 12, kt(_))) : T(_, u) ? (S(_), $ === "{" ? Je(_, u) || F : f(u, 11, St(_))) : (L === 8 && m(U.INVALID_LINKED_FORMAT, r(), 0), u.braceNest = 0, u.inLinked = !1, Qe(_, u));
570
+ return w(m) ? (F = f(u, 1, mt(m)), u.braceNest = 0, u.inLinked = !1, F) : b(m, u) || C(m, u) ? (S(m), We(m, u)) : y(m, u) ? (S(m), f(u, 12, kt(m))) : T(m, u) ? (S(m), $ === "{" ? Je(m, u) || F : f(u, 11, St(m))) : (L === 8 && _(U.INVALID_LINKED_FORMAT, r(), 0), u.braceNest = 0, u.inLinked = !1, Qe(m, u));
571
571
  }
572
572
  }
573
- function Qe(_, u) {
573
+ function Qe(m, u) {
574
574
  let L = {
575
575
  type: 14
576
576
  /* TokenTypes.EOF */
577
577
  };
578
578
  if (u.braceNest > 0)
579
- return Je(_, u) || E(u);
579
+ return Je(m, u) || E(u);
580
580
  if (u.inLinked)
581
- return We(_, u) || E(u);
582
- switch (_.currentChar()) {
581
+ return We(m, u) || E(u);
582
+ switch (m.currentChar()) {
583
583
  case "{":
584
- return Je(_, u) || E(u);
584
+ return Je(m, u) || E(u);
585
585
  case "}":
586
- return m(U.UNBALANCED_CLOSING_BRACE, r(), 0), _.next(), f(
586
+ return _(U.UNBALANCED_CLOSING_BRACE, r(), 0), m.next(), f(
587
587
  u,
588
588
  3,
589
589
  "}"
590
590
  /* TokenChars.BraceRight */
591
591
  );
592
592
  case "@":
593
- return We(_, u) || E(u);
593
+ return We(m, u) || E(u);
594
594
  default:
595
- if (w(_))
596
- return L = f(u, 1, _t(_)), u.braceNest = 0, u.inLinked = !1, L;
597
- const { isModulo: $, hasSpace: j } = D(_);
595
+ if (w(m))
596
+ return L = f(u, 1, mt(m)), u.braceNest = 0, u.inLinked = !1, L;
597
+ const { isModulo: $, hasSpace: j } = D(m);
598
598
  if ($)
599
- return j ? f(u, 0, Ce(_)) : f(u, 4, Ve(_));
600
- if (O(_))
601
- return f(u, 0, Ce(_));
599
+ return j ? f(u, 0, Ce(m)) : f(u, 4, Ve(m));
600
+ if (O(m))
601
+ return f(u, 0, Ce(m));
602
602
  break;
603
603
  }
604
604
  return L;
605
605
  }
606
606
  function At() {
607
- const { currentType: _, offset: u, startLoc: L, endLoc: F } = l;
608
- return l.lastType = _, l.lastOffset = u, l.lastStartLoc = L, l.lastEndLoc = F, l.offset = a(), l.startLoc = r(), s.currentChar() === He ? f(
607
+ const { currentType: m, offset: u, startLoc: L, endLoc: F } = l;
608
+ return l.lastType = m, l.lastOffset = u, l.lastStartLoc = L, l.lastEndLoc = F, l.offset = a(), l.startLoc = r(), s.currentChar() === He ? f(
609
609
  l,
610
610
  14
611
611
  /* TokenTypes.EOF */
@@ -675,7 +675,7 @@ function bo(e = {}) {
675
675
  node: b
676
676
  });
677
677
  }
678
- function m(d, p) {
678
+ function _(d, p) {
679
679
  const v = d.context(), g = a(7, v.offset, v.startLoc);
680
680
  return g.value = p, r(g, d.currentOffset(), d.currentPosition()), g;
681
681
  }
@@ -688,7 +688,7 @@ function bo(e = {}) {
688
688
  }
689
689
  switch (g.type !== 10 && s(d, U.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, ye(g)), g = d.nextToken(), g.type === 2 && (g = d.nextToken()), g.type) {
690
690
  case 11:
691
- g.value == null && s(d, U.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, ye(g)), v.key = m(d, g.value || "");
691
+ g.value == null && s(d, U.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, ye(g)), v.key = _(d, g.value || "");
692
692
  break;
693
693
  case 5:
694
694
  g.value == null && s(d, U.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, ye(g)), v.key = l(d, g.value || "");
@@ -755,7 +755,7 @@ function bo(e = {}) {
755
755
  return p.currentType === 14 ? k : N(d, v, g, k);
756
756
  }
757
757
  function S(d) {
758
- const p = mo(d, Rs({}, e)), v = p.context(), g = a(0, v.offset, v.startLoc);
758
+ const p = _o(d, Ps({}, e)), v = p.context(), g = a(0, v.offset, v.startLoc);
759
759
  return t && g.loc && (g.loc.source = d), g.body = I(p), e.onCacheKey && (g.cacheKey = e.onCacheKey(d)), v.currentType !== 14 && s(p, U.UNEXPECTED_LEXICAL_ANALYSIS, v.lastStartLoc, 0, d[v.offset] || ""), r(g, p.currentOffset(), p.currentPosition()), g;
760
760
  }
761
761
  return { parse: S };
@@ -843,7 +843,7 @@ function Or(e) {
843
843
  t.push(s.value);
844
844
  }
845
845
  if (t.length === e.items.length) {
846
- e.static = Ps(t);
846
+ e.static = Rs(t);
847
847
  for (let n = 0; n < e.items.length; n++) {
848
848
  const s = e.items[n];
849
849
  (s.type === 3 || s.type === 9) && delete s.value;
@@ -919,7 +919,7 @@ function yo(e, t) {
919
919
  const p = d ? a : "";
920
920
  c(r ? p + " ".repeat(S) : p);
921
921
  }
922
- function m(S = !0) {
922
+ function _(S = !0) {
923
923
  const d = ++i.indentLevel;
924
924
  S && h(d);
925
925
  }
@@ -933,7 +933,7 @@ function yo(e, t) {
933
933
  return {
934
934
  context: l,
935
935
  push: c,
936
- indent: m,
936
+ indent: _,
937
937
  deindent: f,
938
938
  newline: E,
939
939
  helper: (S) => `_${S}`,
@@ -1035,7 +1035,7 @@ const Ao = (e, t = {}) => {
1035
1035
  breakLineCode: r,
1036
1036
  needIndent: o
1037
1037
  });
1038
- l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), i.length > 0 && (l.push(`const { ${Ps(i.map((m) => `${m}: _${m}`), ", ")} } = ctx`), l.newline()), l.push("return "), vt(l, e), l.deindent(o), l.push("}"), delete e.helpers;
1038
+ l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), i.length > 0 && (l.push(`const { ${Rs(i.map((_) => `${_}: _${_}`), ", ")} } = ctx`), l.newline()), l.push("return "), vt(l, e), l.deindent(o), l.push("}"), delete e.helpers;
1039
1039
  const { code: c, map: h } = l.context();
1040
1040
  return {
1041
1041
  ast: e,
@@ -1045,7 +1045,7 @@ const Ao = (e, t = {}) => {
1045
1045
  };
1046
1046
  };
1047
1047
  function Co(e, t = {}) {
1048
- const n = Rs({}, t), s = !!n.jit, a = !!n.minify, r = n.optimize == null ? !0 : n.optimize, i = bo(n).parse(e);
1048
+ const n = Ps({}, t), s = !!n.jit, a = !!n.minify, r = n.optimize == null ? !0 : n.optimize, i = bo(n).parse(e);
1049
1049
  return s ? (r && To(i), a && pt(i), { ast: i, code: "" }) : (Eo(i, n), Ao(i, n));
1050
1050
  }
1051
1051
  /*!
@@ -1217,9 +1217,9 @@ Ze[
1217
1217
  /* Actions.APPEND */
1218
1218
  ]
1219
1219
  };
1220
- const Ro = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1221
- function Po(e) {
1222
- return Ro.test(e);
1220
+ const Po = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1221
+ function Ro(e) {
1222
+ return Po.test(e);
1223
1223
  }
1224
1224
  function Mo(e) {
1225
1225
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
@@ -1252,11 +1252,11 @@ function Do(e) {
1252
1252
  }
1253
1253
  function Fo(e) {
1254
1254
  const t = e.trim();
1255
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Po(t) ? Mo(t) : "*" + t;
1255
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ro(t) ? Mo(t) : "*" + t;
1256
1256
  }
1257
1257
  function xo(e) {
1258
1258
  const t = [];
1259
- let n = -1, s = 0, a = 0, r, o, i, l, c, h, m;
1259
+ let n = -1, s = 0, a = 0, r, o, i, l, c, h, _;
1260
1260
  const f = [];
1261
1261
  f[
1262
1262
  0
@@ -1304,7 +1304,7 @@ function xo(e) {
1304
1304
  }
1305
1305
  for (; s !== null; )
1306
1306
  if (n++, r = e[n], !(r === "\\" && E())) {
1307
- if (l = Do(r), m = Ze[s], c = m[l] || m.l || 8, c === 8 || (s = c[0], c[1] !== void 0 && (h = f[c[1]], h && (i = r, h() === !1))))
1307
+ if (l = Do(r), _ = Ze[s], c = _[l] || _.l || 8, c === 8 || (s = c[0], c[1] !== void 0 && (h = f[c[1]], h && (i = r, h() === !1))))
1308
1308
  return;
1309
1309
  if (s === 7)
1310
1310
  return t;
@@ -1342,26 +1342,26 @@ function Yo(e, t) {
1342
1342
  t.count || (t.count = e), t.n || (t.n = e);
1343
1343
  }
1344
1344
  function Xo(e = {}) {
1345
- const t = e.locale, n = jo(e), s = G(e.pluralRules) && P(t) && X(e.pluralRules[t]) ? e.pluralRules[t] : Lr, a = G(e.pluralRules) && P(t) && X(e.pluralRules[t]) ? Lr : void 0, r = (d) => d[s(n, d.length, a)], o = e.list || [], i = (d) => o[d], l = e.named || {};
1345
+ const t = e.locale, n = jo(e), s = G(e.pluralRules) && R(t) && X(e.pluralRules[t]) ? e.pluralRules[t] : Lr, a = G(e.pluralRules) && R(t) && X(e.pluralRules[t]) ? Lr : void 0, r = (d) => d[s(n, d.length, a)], o = e.list || [], i = (d) => o[d], l = e.named || {};
1346
1346
  re(e.pluralIndex) && Yo(n, l);
1347
1347
  const c = (d) => l[d];
1348
1348
  function h(d) {
1349
1349
  const p = X(e.messages) ? e.messages(d) : G(e.messages) ? e.messages[d] : !1;
1350
1350
  return p || (e.parent ? e.parent.message(d) : Wo);
1351
1351
  }
1352
- const m = (d) => e.modifiers ? e.modifiers[d] : Vo, f = V(e.processor) && X(e.processor.normalize) ? e.processor.normalize : Ho, E = V(e.processor) && X(e.processor.interpolate) ? e.processor.interpolate : Go, N = V(e.processor) && P(e.processor.type) ? e.processor.type : Bo, S = {
1352
+ const _ = (d) => e.modifiers ? e.modifiers[d] : Vo, f = V(e.processor) && X(e.processor.normalize) ? e.processor.normalize : Ho, E = V(e.processor) && X(e.processor.interpolate) ? e.processor.interpolate : Go, N = V(e.processor) && R(e.processor.type) ? e.processor.type : Bo, S = {
1353
1353
  list: i,
1354
1354
  named: c,
1355
1355
  plural: r,
1356
1356
  linked: (d, ...p) => {
1357
1357
  const [v, g] = p;
1358
1358
  let k = "text", b = "";
1359
- p.length === 1 ? G(v) ? (b = v.modifier || b, k = v.type || k) : P(v) && (b = v || b) : p.length === 2 && (P(v) && (b = v || b), P(g) && (k = g || k));
1359
+ p.length === 1 ? G(v) ? (b = v.modifier || b, k = v.type || k) : R(v) && (b = v || b) : p.length === 2 && (R(v) && (b = v || b), R(g) && (k = g || k));
1360
1360
  const y = h(d)(S), C = (
1361
1361
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1362
1362
  k === "vnode" && q(y) && b ? y[0] : y
1363
1363
  );
1364
- return b ? m(b)(C, k) : C;
1364
+ return b ? _(b)(C, k) : C;
1365
1365
  },
1366
1366
  message: h,
1367
1367
  type: N,
@@ -1390,7 +1390,7 @@ const qo = /* @__PURE__ */ Zo(
1390
1390
  function Zo(e) {
1391
1391
  return (t) => $t && $t.emit(e, t);
1392
1392
  }
1393
- const me = {
1393
+ const _e = {
1394
1394
  NOT_FOUND_KEY: 1,
1395
1395
  FALLBACK_TO_TRANSLATE: 2,
1396
1396
  CANNOT_FORMAT_NUMBER: 3,
@@ -1400,13 +1400,13 @@ const me = {
1400
1400
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7,
1401
1401
  __EXTEND_POINT__: 8
1402
1402
  }, Jo = {
1403
- [me.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
1404
- [me.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
1405
- [me.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
1406
- [me.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
1407
- [me.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
1408
- [me.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
1409
- [me.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
1403
+ [_e.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
1404
+ [_e.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
1405
+ [_e.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
1406
+ [_e.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
1407
+ [_e.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
1408
+ [_e.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
1409
+ [_e.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
1410
1410
  };
1411
1411
  function ct(e, ...t) {
1412
1412
  return qn(Jo[e], ...t);
@@ -1446,7 +1446,7 @@ function er(e, t) {
1446
1446
  }
1447
1447
  let pn;
1448
1448
  function Ir(e) {
1449
- if (P(e))
1449
+ if (R(e))
1450
1450
  return e;
1451
1451
  if (X(e)) {
1452
1452
  if (e.resolvedOnce && pn != null)
@@ -1464,11 +1464,11 @@ function Ir(e) {
1464
1464
  function ei(e, t, n) {
1465
1465
  return [.../* @__PURE__ */ new Set([
1466
1466
  n,
1467
- ...q(t) ? t : G(t) ? Object.keys(t) : P(t) ? [t] : [n]
1467
+ ...q(t) ? t : G(t) ? Object.keys(t) : R(t) ? [t] : [n]
1468
1468
  ])];
1469
1469
  }
1470
1470
  function Ds(e, t, n) {
1471
- const s = P(n) ? n : Et, a = e;
1471
+ const s = R(n) ? n : Et, a = e;
1472
1472
  a.__localeChainCache || (a.__localeChainCache = /* @__PURE__ */ new Map());
1473
1473
  let r = a.__localeChainCache.get(s);
1474
1474
  if (!r) {
@@ -1477,7 +1477,7 @@ function Ds(e, t, n) {
1477
1477
  for (; q(o); )
1478
1478
  o = kr(r, o, t);
1479
1479
  const i = q(t) || !V(t) ? t : t.default ? t.default : null;
1480
- o = P(i) ? [i] : i, q(o) && kr(r, o, !1), a.__localeChainCache.set(s, r);
1480
+ o = R(i) ? [i] : i, q(o) && kr(r, o, !1), a.__localeChainCache.set(s, r);
1481
1481
  }
1482
1482
  return r;
1483
1483
  }
@@ -1485,7 +1485,7 @@ function kr(e, t, n) {
1485
1485
  let s = !0;
1486
1486
  for (let a = 0; a < t.length && B(s); a++) {
1487
1487
  const r = t[a];
1488
- P(r) && (s = ti(e, t[a], n));
1488
+ R(r) && (s = ti(e, t[a], n));
1489
1489
  }
1490
1490
  return s;
1491
1491
  }
@@ -1510,9 +1510,9 @@ function ni(e, t, n) {
1510
1510
  const ri = "9.10.1", dn = -1, Et = "en-US", sn = "", Sr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1511
1511
  function si() {
1512
1512
  return {
1513
- upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && G(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1514
- lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" && G(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1515
- capitalize: (e, t) => t === "text" && P(e) ? Sr(e) : t === "vnode" && G(e) && "__v_isVNode" in e ? Sr(e.children) : e
1513
+ upper: (e, t) => t === "text" && R(e) ? e.toUpperCase() : t === "vnode" && G(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1514
+ lower: (e, t) => t === "text" && R(e) ? e.toLowerCase() : t === "vnode" && G(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1515
+ capitalize: (e, t) => t === "text" && R(e) ? Sr(e) : t === "vnode" && G(e) && "__v_isVNode" in e ? Sr(e.children) : e
1516
1516
  };
1517
1517
  }
1518
1518
  let Fs;
@@ -1537,8 +1537,8 @@ const Cr = (e) => {
1537
1537
  }, ci = () => Vs;
1538
1538
  let wr = 0;
1539
1539
  function ui(e = {}) {
1540
- const t = X(e.onWarn) ? e.onWarn : Ja, n = P(e.version) ? e.version : ri, s = P(e.locale) || X(e.locale) ? e.locale : Et, a = X(s) ? Et : s, r = q(e.fallbackLocale) || V(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, o = V(e.messages) ? e.messages : { [a]: {} }, i = V(e.datetimeFormats) ? e.datetimeFormats : { [a]: {} }, l = V(e.numberFormats) ? e.numberFormats : { [a]: {} }, c = ue({}, e.modifiers || {}, si()), h = e.pluralRules || {}, m = X(e.missing) ? e.missing : null, f = B(e.missingWarn) || Ke(e.missingWarn) ? e.missingWarn : !0, E = B(e.fallbackWarn) || Ke(e.fallbackWarn) ? e.fallbackWarn : !0, N = !!e.fallbackFormat, I = !!e.unresolving, S = X(e.postTranslation) ? e.postTranslation : null, d = V(e.processor) ? e.processor : null, p = B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, v = !!e.escapeParameter, g = X(e.messageCompiler) ? e.messageCompiler : Fs;
1541
- process.env.NODE_ENV !== "production" && X(e.messageCompiler) && ws(ct(me.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1540
+ const t = X(e.onWarn) ? e.onWarn : Ja, n = R(e.version) ? e.version : ri, s = R(e.locale) || X(e.locale) ? e.locale : Et, a = X(s) ? Et : s, r = q(e.fallbackLocale) || V(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, o = V(e.messages) ? e.messages : { [a]: {} }, i = V(e.datetimeFormats) ? e.datetimeFormats : { [a]: {} }, l = V(e.numberFormats) ? e.numberFormats : { [a]: {} }, c = ue({}, e.modifiers || {}, si()), h = e.pluralRules || {}, _ = X(e.missing) ? e.missing : null, f = B(e.missingWarn) || Ke(e.missingWarn) ? e.missingWarn : !0, E = B(e.fallbackWarn) || Ke(e.fallbackWarn) ? e.fallbackWarn : !0, N = !!e.fallbackFormat, I = !!e.unresolving, S = X(e.postTranslation) ? e.postTranslation : null, d = V(e.processor) ? e.processor : null, p = B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, v = !!e.escapeParameter, g = X(e.messageCompiler) ? e.messageCompiler : Fs;
1541
+ process.env.NODE_ENV !== "production" && X(e.messageCompiler) && ws(ct(_e.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1542
1542
  const k = X(e.messageResolver) ? e.messageResolver : xs || Uo, b = X(e.localeFallbacker) ? e.localeFallbacker : Us || ei, y = G(e.fallbackContext) ? e.fallbackContext : void 0, C = e, T = G(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), w = G(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), D = G(C.__meta) ? C.__meta : {};
1543
1543
  wr++;
1544
1544
  const O = {
@@ -1549,7 +1549,7 @@ function ui(e = {}) {
1549
1549
  messages: o,
1550
1550
  modifiers: c,
1551
1551
  pluralRules: h,
1552
- missing: m,
1552
+ missing: _,
1553
1553
  missingWarn: f,
1554
1554
  fallbackWarn: E,
1555
1555
  fallbackFormat: N,
@@ -1567,7 +1567,7 @@ function ui(e = {}) {
1567
1567
  };
1568
1568
  return O.datetimeFormats = i, O.numberFormats = l, O.__datetimeFormatters = T, O.__numberFormatters = w, process.env.NODE_ENV !== "production" && (O.__v_emitter = C.__v_emitter != null ? C.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Ko(O, n, D), O;
1569
1569
  }
1570
- function _n(e, t) {
1570
+ function mn(e, t) {
1571
1571
  return e instanceof RegExp ? e.test(t) : e;
1572
1572
  }
1573
1573
  function Ws(e, t) {
@@ -1586,9 +1586,9 @@ function tr(e, t, n, s, a) {
1586
1586
  }
1587
1587
  if (r !== null) {
1588
1588
  const i = r(e, n, t, a);
1589
- return P(i) ? i : t;
1589
+ return R(i) ? i : t;
1590
1590
  } else
1591
- return process.env.NODE_ENV !== "production" && Ws(s, t) && o(ct(me.NOT_FOUND_KEY, { key: t, locale: n })), t;
1591
+ return process.env.NODE_ENV !== "production" && Ws(s, t) && o(ct(_e.NOT_FOUND_KEY, { key: t, locale: n })), t;
1592
1592
  }
1593
1593
  function Ct(e, t, n) {
1594
1594
  const s = e;
@@ -1603,12 +1603,12 @@ function fi(e, t) {
1603
1603
  const s = n, a = s.c || s.cases;
1604
1604
  return e.plural(a.reduce((r, o) => [
1605
1605
  ...r,
1606
- Rr(e, o)
1606
+ Pr(e, o)
1607
1607
  ], []));
1608
1608
  } else
1609
- return Rr(e, n);
1609
+ return Pr(e, n);
1610
1610
  }
1611
- function Rr(e, t) {
1611
+ function Pr(e, t) {
1612
1612
  const n = t.s || t.static;
1613
1613
  if (n)
1614
1614
  return e.type === "text" ? n : e.normalize([n]);
@@ -1659,8 +1659,8 @@ function Gs(e, t = {}) {
1659
1659
  n = !0, s(a);
1660
1660
  }, { ...Co(e, t), detectError: n };
1661
1661
  }
1662
- const _i = /* @__NO_SIDE_EFFECTS__ */ (e, t) => {
1663
- if (!P(e))
1662
+ const mi = /* @__NO_SIDE_EFFECTS__ */ (e, t) => {
1663
+ if (!R(e))
1664
1664
  throw ke(ie.NOT_SUPPORT_NON_STRING_MESSAGE);
1665
1665
  {
1666
1666
  const n = B(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
@@ -1672,8 +1672,8 @@ const _i = /* @__NO_SIDE_EFFECTS__ */ (e, t) => {
1672
1672
  return i ? l : gt[a] = l;
1673
1673
  }
1674
1674
  };
1675
- function mi(e, t) {
1676
- if (__INTLIFY_JIT_COMPILATION__ && !__INTLIFY_DROP_MESSAGE_COMPILER__ && P(e)) {
1675
+ function _i(e, t) {
1676
+ if (__INTLIFY_JIT_COMPILATION__ && !__INTLIFY_DROP_MESSAGE_COMPILER__ && R(e)) {
1677
1677
  const n = B(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1678
1678
  process.env.NODE_ENV !== "production" && Bs(e, n);
1679
1679
  const a = (t.onCacheKey || Hs)(e), r = gt[a];
@@ -1696,18 +1696,18 @@ function mi(e, t) {
1696
1696
  return gn(e);
1697
1697
  }
1698
1698
  }
1699
- const Pr = () => "", be = (e) => X(e);
1699
+ const Rr = () => "", be = (e) => X(e);
1700
1700
  function Mr(e, ...t) {
1701
- const { fallbackFormat: n, postTranslation: s, unresolving: a, messageCompiler: r, fallbackLocale: o, messages: i } = e, [l, c] = Sn(...t), h = B(c.missingWarn) ? c.missingWarn : e.missingWarn, m = B(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, f = B(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, E = !!c.resolvedMessage, N = P(c.default) || B(c.default) ? B(c.default) ? r ? l : () => l : c.default : n ? r ? l : () => l : "", I = n || N !== "", S = er(e, c);
1701
+ const { fallbackFormat: n, postTranslation: s, unresolving: a, messageCompiler: r, fallbackLocale: o, messages: i } = e, [l, c] = Sn(...t), h = B(c.missingWarn) ? c.missingWarn : e.missingWarn, _ = B(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, f = B(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, E = !!c.resolvedMessage, N = R(c.default) || B(c.default) ? B(c.default) ? r ? l : () => l : c.default : n ? r ? l : () => l : "", I = n || N !== "", S = er(e, c);
1702
1702
  f && hi(c);
1703
1703
  let [d, p, v] = E ? [
1704
1704
  l,
1705
1705
  S,
1706
1706
  i[S] || {}
1707
- ] : js(e, l, S, o, m, h), g = d, k = l;
1708
- if (!E && !(P(g) || qe(g) || be(g)) && I && (g = N, k = g), !E && (!(P(g) || qe(g) || be(g)) || !P(p)))
1707
+ ] : js(e, l, S, o, _, h), g = d, k = l;
1708
+ if (!E && !(R(g) || qe(g) || be(g)) && I && (g = N, k = g), !E && (!(R(g) || qe(g) || be(g)) || !R(p)))
1709
1709
  return a ? dn : l;
1710
- if (process.env.NODE_ENV !== "production" && P(g) && e.messageCompiler == null)
1710
+ if (process.env.NODE_ENV !== "production" && R(g) && e.messageCompiler == null)
1711
1711
  return `${l}`, l;
1712
1712
  let b = !1;
1713
1713
  const y = () => {
@@ -1719,9 +1719,9 @@ function Mr(e, ...t) {
1719
1719
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1720
1720
  const M = {
1721
1721
  timestamp: Date.now(),
1722
- key: P(l) ? l : be(g) ? g.key : "",
1722
+ key: R(l) ? l : be(g) ? g.key : "",
1723
1723
  locale: p || (be(g) ? g.locale : ""),
1724
- format: P(g) ? g : be(g) ? g.source : "",
1724
+ format: R(g) ? g : be(g) ? g.source : "",
1725
1725
  message: O
1726
1726
  };
1727
1727
  M.meta = ue({}, e.__meta, /* @__PURE__ */ li() || {}), qo(M);
@@ -1729,16 +1729,16 @@ function Mr(e, ...t) {
1729
1729
  return O;
1730
1730
  }
1731
1731
  function hi(e) {
1732
- q(e.list) ? e.list = e.list.map((t) => P(t) ? gr(t) : t) : G(e.named) && Object.keys(e.named).forEach((t) => {
1733
- P(e.named[t]) && (e.named[t] = gr(e.named[t]));
1732
+ q(e.list) ? e.list = e.list.map((t) => R(t) ? gr(t) : t) : G(e.named) && Object.keys(e.named).forEach((t) => {
1733
+ R(e.named[t]) && (e.named[t] = gr(e.named[t]));
1734
1734
  });
1735
1735
  }
1736
1736
  function js(e, t, n, s, a, r) {
1737
1737
  const { messages: o, onWarn: i, messageResolver: l, localeFallbacker: c } = e, h = c(e, s, n);
1738
- let m = {}, f, E = null, N = n, I = null;
1738
+ let _ = {}, f, E = null, N = n, I = null;
1739
1739
  const S = "translate";
1740
1740
  for (let d = 0; d < h.length; d++) {
1741
- if (f = I = h[d], process.env.NODE_ENV !== "production" && n !== f && _n(a, t) && i(ct(me.FALLBACK_TO_TRANSLATE, {
1741
+ if (f = I = h[d], process.env.NODE_ENV !== "production" && n !== f && mn(a, t) && i(ct(_e.FALLBACK_TO_TRANSLATE, {
1742
1742
  key: t,
1743
1743
  target: f
1744
1744
  })), process.env.NODE_ENV !== "production" && n !== f) {
@@ -1751,9 +1751,9 @@ function js(e, t, n, s, a, r) {
1751
1751
  groupId: `${S}:${t}`
1752
1752
  });
1753
1753
  }
1754
- m = o[f] || {};
1754
+ _ = o[f] || {};
1755
1755
  let p = null, v, g;
1756
- if (process.env.NODE_ENV !== "production" && Ne && (p = window.performance.now(), v = "intlify-message-resolve-start", g = "intlify-message-resolve-end", ge && ge(v)), (E = l(m, t)) === null && (E = m[t]), process.env.NODE_ENV !== "production" && Ne) {
1756
+ if (process.env.NODE_ENV !== "production" && Ne && (p = window.performance.now(), v = "intlify-message-resolve-start", g = "intlify-message-resolve-end", ge && ge(v)), (E = l(_, t)) === null && (E = _[t]), process.env.NODE_ENV !== "production" && Ne) {
1757
1757
  const b = window.performance.now(), y = e.__v_emitter;
1758
1758
  y && p && E && y.emit("message-resolve", {
1759
1759
  type: "message-resolve",
@@ -1763,7 +1763,7 @@ function js(e, t, n, s, a, r) {
1763
1763
  groupId: `${S}:${t}`
1764
1764
  }), v && g && ge && lt && (ge(g), lt("intlify message resolve", v, g));
1765
1765
  }
1766
- if (P(E) || qe(E) || be(E))
1766
+ if (R(E) || qe(E) || be(E))
1767
1767
  break;
1768
1768
  const k = tr(
1769
1769
  e,
@@ -1775,7 +1775,7 @@ function js(e, t, n, s, a, r) {
1775
1775
  );
1776
1776
  k !== t && (E = k), N = I;
1777
1777
  }
1778
- return [E, f, m];
1778
+ return [E, f, _];
1779
1779
  }
1780
1780
  function Ys(e, t, n, s, a, r) {
1781
1781
  const { messageCompiler: o, warnHtmlMessage: i } = e;
@@ -1789,7 +1789,7 @@ function Ys(e, t, n, s, a, r) {
1789
1789
  }
1790
1790
  let l = null, c, h;
1791
1791
  process.env.NODE_ENV !== "production" && Ne && (l = window.performance.now(), c = "intlify-message-compilation-start", h = "intlify-message-compilation-end", ge && ge(c));
1792
- const m = o(s, gi(e, n, a, s, i, r));
1792
+ const _ = o(s, gi(e, n, a, s, i, r));
1793
1793
  if (process.env.NODE_ENV !== "production" && Ne) {
1794
1794
  const f = window.performance.now(), E = e.__v_emitter;
1795
1795
  E && l && E.emit("message-compilation", {
@@ -1799,7 +1799,7 @@ function Ys(e, t, n, s, a, r) {
1799
1799
  groupId: `translate:${t}`
1800
1800
  }), c && h && ge && lt && (ge(h), lt("intlify message compilation", c, h));
1801
1801
  }
1802
- return m.locale = n, m.key = t, m.source = s, m;
1802
+ return _.locale = n, _.key = t, _.source = s, _;
1803
1803
  }
1804
1804
  function pi(e, t, n) {
1805
1805
  let s = null, a, r;
@@ -1818,10 +1818,10 @@ function pi(e, t, n) {
1818
1818
  }
1819
1819
  function Sn(...e) {
1820
1820
  const [t, n, s] = e, a = {};
1821
- if (!P(t) && !re(t) && !be(t) && !qe(t))
1821
+ if (!R(t) && !re(t) && !be(t) && !qe(t))
1822
1822
  throw ke(ie.INVALID_ARGUMENT);
1823
1823
  const r = re(t) ? String(t) : (be(t), t);
1824
- return re(n) ? a.plural = n : P(n) ? a.default = n : V(n) && !fn(n) ? a.named = n : q(n) && (a.list = n), re(s) ? a.plural = s : P(s) ? a.default = s : V(s) && ue(a, s), [r, a];
1824
+ return re(n) ? a.plural = n : R(n) ? a.default = n : V(n) && !fn(n) ? a.named = n : q(n) && (a.list = n), re(s) ? a.plural = s : R(s) ? a.default = s : V(s) && ue(a, s), [r, a];
1825
1825
  }
1826
1826
  function gi(e, t, n, s, a, r) {
1827
1827
  return {
@@ -1845,7 +1845,7 @@ function gi(e, t, n, s, a, r) {
1845
1845
  };
1846
1846
  }
1847
1847
  function bi(e) {
1848
- if (P(e))
1848
+ if (R(e))
1849
1849
  return e;
1850
1850
  if (e.loc && e.loc.source)
1851
1851
  return e.loc.source;
@@ -1861,14 +1861,14 @@ function vi(e, t, n, s) {
1861
1861
  const [, , I] = js(h, E, t, i, l, c);
1862
1862
  N = o(I, E);
1863
1863
  }
1864
- if (P(N) || qe(N)) {
1864
+ if (R(N) || qe(N)) {
1865
1865
  let I = !1;
1866
1866
  const d = Ys(e, E, t, N, E, () => {
1867
1867
  I = !0;
1868
1868
  });
1869
- return I ? Pr : d;
1869
+ return I ? Rr : d;
1870
1870
  } else
1871
- return be(N) ? N : Pr;
1871
+ return be(N) ? N : Rr;
1872
1872
  }
1873
1873
  };
1874
1874
  return e.processor && (f.processor = e.processor), s.list && (f.list = s.list), s.named && (f.named = s.named), re(s.plural) && (f.pluralIndex = s.plural), f;
@@ -1880,19 +1880,19 @@ const Dr = typeof Intl < "u", Xs = {
1880
1880
  function Fr(e, ...t) {
1881
1881
  const { datetimeFormats: n, unresolving: s, fallbackLocale: a, onWarn: r, localeFallbacker: o } = e, { __datetimeFormatters: i } = e;
1882
1882
  if (process.env.NODE_ENV !== "production" && !Xs.dateTimeFormat)
1883
- return r(ct(me.CANNOT_FORMAT_DATE)), sn;
1884
- const [l, c, h, m] = An(...t), f = B(h.missingWarn) ? h.missingWarn : e.missingWarn, E = B(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, N = !!h.part, I = er(e, h), S = o(
1883
+ return r(ct(_e.CANNOT_FORMAT_DATE)), sn;
1884
+ const [l, c, h, _] = An(...t), f = B(h.missingWarn) ? h.missingWarn : e.missingWarn, E = B(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, N = !!h.part, I = er(e, h), S = o(
1885
1885
  e,
1886
1886
  // eslint-disable-line @typescript-eslint/no-explicit-any
1887
1887
  a,
1888
1888
  I
1889
1889
  );
1890
- if (!P(l) || l === "")
1891
- return new Intl.DateTimeFormat(I, m).format(c);
1890
+ if (!R(l) || l === "")
1891
+ return new Intl.DateTimeFormat(I, _).format(c);
1892
1892
  let d = {}, p, v = null, g = I, k = null;
1893
1893
  const b = "datetime format";
1894
1894
  for (let T = 0; T < S.length; T++) {
1895
- if (p = k = S[T], process.env.NODE_ENV !== "production" && I !== p && _n(E, l) && r(ct(me.FALLBACK_TO_DATE_FORMAT, {
1895
+ if (p = k = S[T], process.env.NODE_ENV !== "production" && I !== p && mn(E, l) && r(ct(_e.FALLBACK_TO_DATE_FORMAT, {
1896
1896
  key: l,
1897
1897
  target: p
1898
1898
  })), process.env.NODE_ENV !== "production" && I !== p) {
@@ -1909,12 +1909,12 @@ function Fr(e, ...t) {
1909
1909
  break;
1910
1910
  tr(e, l, p, f, b), g = k;
1911
1911
  }
1912
- if (!V(v) || !P(p))
1912
+ if (!V(v) || !R(p))
1913
1913
  return s ? dn : l;
1914
1914
  let y = `${p}__${l}`;
1915
- fn(m) || (y = `${y}__${JSON.stringify(m)}`);
1915
+ fn(_) || (y = `${y}__${JSON.stringify(_)}`);
1916
1916
  let C = i.get(y);
1917
- return C || (C = new Intl.DateTimeFormat(p, ue({}, v, m)), i.set(y, C)), N ? C.formatToParts(c) : C.format(c);
1917
+ return C || (C = new Intl.DateTimeFormat(p, ue({}, v, _)), i.set(y, C)), N ? C.formatToParts(c) : C.format(c);
1918
1918
  }
1919
1919
  const zs = [
1920
1920
  "localeMatcher",
@@ -1941,7 +1941,7 @@ const zs = [
1941
1941
  function An(...e) {
1942
1942
  const [t, n, s, a] = e, r = {};
1943
1943
  let o = {}, i;
1944
- if (P(t)) {
1944
+ if (R(t)) {
1945
1945
  const l = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1946
1946
  if (!l)
1947
1947
  throw ke(ie.INVALID_ISO_DATE_ARGUMENT);
@@ -1960,9 +1960,9 @@ function An(...e) {
1960
1960
  i = t;
1961
1961
  else
1962
1962
  throw ke(ie.INVALID_ARGUMENT);
1963
- return P(n) ? r.key = n : V(n) && Object.keys(n).forEach((l) => {
1963
+ return R(n) ? r.key = n : V(n) && Object.keys(n).forEach((l) => {
1964
1964
  zs.includes(l) ? o[l] = n[l] : r[l] = n[l];
1965
- }), P(s) ? r.locale = s : V(s) && (o = s), V(a) && (o = a), [r.key || "", i, r, o];
1965
+ }), R(s) ? r.locale = s : V(s) && (o = s), V(a) && (o = a), [r.key || "", i, r, o];
1966
1966
  }
1967
1967
  function xr(e, t, n) {
1968
1968
  const s = e;
@@ -1974,19 +1974,19 @@ function xr(e, t, n) {
1974
1974
  function Ur(e, ...t) {
1975
1975
  const { numberFormats: n, unresolving: s, fallbackLocale: a, onWarn: r, localeFallbacker: o } = e, { __numberFormatters: i } = e;
1976
1976
  if (process.env.NODE_ENV !== "production" && !Xs.numberFormat)
1977
- return r(ct(me.CANNOT_FORMAT_NUMBER)), sn;
1978
- const [l, c, h, m] = Cn(...t), f = B(h.missingWarn) ? h.missingWarn : e.missingWarn, E = B(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, N = !!h.part, I = er(e, h), S = o(
1977
+ return r(ct(_e.CANNOT_FORMAT_NUMBER)), sn;
1978
+ const [l, c, h, _] = Cn(...t), f = B(h.missingWarn) ? h.missingWarn : e.missingWarn, E = B(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, N = !!h.part, I = er(e, h), S = o(
1979
1979
  e,
1980
1980
  // eslint-disable-line @typescript-eslint/no-explicit-any
1981
1981
  a,
1982
1982
  I
1983
1983
  );
1984
- if (!P(l) || l === "")
1985
- return new Intl.NumberFormat(I, m).format(c);
1984
+ if (!R(l) || l === "")
1985
+ return new Intl.NumberFormat(I, _).format(c);
1986
1986
  let d = {}, p, v = null, g = I, k = null;
1987
1987
  const b = "number format";
1988
1988
  for (let T = 0; T < S.length; T++) {
1989
- if (p = k = S[T], process.env.NODE_ENV !== "production" && I !== p && _n(E, l) && r(ct(me.FALLBACK_TO_NUMBER_FORMAT, {
1989
+ if (p = k = S[T], process.env.NODE_ENV !== "production" && I !== p && mn(E, l) && r(ct(_e.FALLBACK_TO_NUMBER_FORMAT, {
1990
1990
  key: l,
1991
1991
  target: p
1992
1992
  })), process.env.NODE_ENV !== "production" && I !== p) {
@@ -2003,12 +2003,12 @@ function Ur(e, ...t) {
2003
2003
  break;
2004
2004
  tr(e, l, p, f, b), g = k;
2005
2005
  }
2006
- if (!V(v) || !P(p))
2006
+ if (!V(v) || !R(p))
2007
2007
  return s ? dn : l;
2008
2008
  let y = `${p}__${l}`;
2009
- fn(m) || (y = `${y}__${JSON.stringify(m)}`);
2009
+ fn(_) || (y = `${y}__${JSON.stringify(_)}`);
2010
2010
  let C = i.get(y);
2011
- return C || (C = new Intl.NumberFormat(p, ue({}, v, m)), i.set(y, C)), N ? C.formatToParts(c) : C.format(c);
2011
+ return C || (C = new Intl.NumberFormat(p, ue({}, v, _)), i.set(y, C)), N ? C.formatToParts(c) : C.format(c);
2012
2012
  }
2013
2013
  const Ks = [
2014
2014
  "localeMatcher",
@@ -2038,9 +2038,9 @@ function Cn(...e) {
2038
2038
  if (!re(t))
2039
2039
  throw ke(ie.INVALID_ARGUMENT);
2040
2040
  const i = t;
2041
- return P(n) ? r.key = n : V(n) && Object.keys(n).forEach((l) => {
2041
+ return R(n) ? r.key = n : V(n) && Object.keys(n).forEach((l) => {
2042
2042
  Ks.includes(l) ? o[l] = n[l] : r[l] = n[l];
2043
- }), P(s) ? r.locale = s : V(s) && (o = s), V(a) && (o = a), [r.key || "", i, r, o];
2043
+ }), R(s) ? r.locale = s : V(s) && (o = s), V(a) && (o = a), [r.key || "", i, r, o];
2044
2044
  }
2045
2045
  function $r(e, t, n) {
2046
2046
  const s = e;
@@ -2149,26 +2149,26 @@ const Si = "9.10.1";
2149
2149
  function Ai() {
2150
2150
  typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Fe().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Fe().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_JIT_COMPILATION__ != "boolean" && (Fe().__INTLIFY_JIT_COMPILATION__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Fe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Fe().__INTLIFY_PROD_DEVTOOLS__ = !1);
2151
2151
  }
2152
- const Zs = me.__EXTEND_POINT__, Pe = Zn(Zs), J = {
2152
+ const Zs = _e.__EXTEND_POINT__, Re = Zn(Zs), J = {
2153
2153
  FALLBACK_TO_ROOT: Zs,
2154
2154
  // 9
2155
- NOT_SUPPORTED_PRESERVE: Pe(),
2155
+ NOT_SUPPORTED_PRESERVE: Re(),
2156
2156
  // 10
2157
- NOT_SUPPORTED_FORMATTER: Pe(),
2157
+ NOT_SUPPORTED_FORMATTER: Re(),
2158
2158
  // 11
2159
- NOT_SUPPORTED_PRESERVE_DIRECTIVE: Pe(),
2159
+ NOT_SUPPORTED_PRESERVE_DIRECTIVE: Re(),
2160
2160
  // 12
2161
- NOT_SUPPORTED_GET_CHOICE_INDEX: Pe(),
2161
+ NOT_SUPPORTED_GET_CHOICE_INDEX: Re(),
2162
2162
  // 13
2163
- COMPONENT_NAME_LEGACY_COMPATIBLE: Pe(),
2163
+ COMPONENT_NAME_LEGACY_COMPATIBLE: Re(),
2164
2164
  // 14
2165
- NOT_FOUND_PARENT_SCOPE: Pe(),
2165
+ NOT_FOUND_PARENT_SCOPE: Re(),
2166
2166
  // 15
2167
- IGNORE_OBJ_FLATTEN: Pe(),
2167
+ IGNORE_OBJ_FLATTEN: Re(),
2168
2168
  // 16
2169
- NOTICE_DROP_ALLOW_COMPOSITION: Pe(),
2169
+ NOTICE_DROP_ALLOW_COMPOSITION: Re(),
2170
2170
  // 17
2171
- NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG: Pe()
2171
+ NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG: Re()
2172
2172
  // 18
2173
2173
  }, Ci = {
2174
2174
  [J.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
@@ -2246,7 +2246,7 @@ const wi = {
2246
2246
  [H.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
2247
2247
  [H.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",
2248
2248
  [H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2249
- }, Rn = /* @__PURE__ */ Ae("__translateVNode"), Pn = /* @__PURE__ */ Ae("__datetimeParts"), Mn = /* @__PURE__ */ Ae("__numberParts"), ut = /* @__PURE__ */ Ae("__enableEmitter"), Vt = /* @__PURE__ */ Ae("__disableEmitter"), Qs = Ae("__setPluralRules"), ea = /* @__PURE__ */ Ae("__injectWithOption"), Dn = /* @__PURE__ */ Ae("__dispose");
2249
+ }, Pn = /* @__PURE__ */ Ae("__translateVNode"), Rn = /* @__PURE__ */ Ae("__datetimeParts"), Mn = /* @__PURE__ */ Ae("__numberParts"), ut = /* @__PURE__ */ Ae("__enableEmitter"), Vt = /* @__PURE__ */ Ae("__disableEmitter"), Qs = Ae("__setPluralRules"), ea = /* @__PURE__ */ Ae("__injectWithOption"), Dn = /* @__PURE__ */ Ae("__dispose");
2250
2250
  function Wt(e) {
2251
2251
  if (!G(e))
2252
2252
  return e;
@@ -2270,14 +2270,14 @@ function Wt(e) {
2270
2270
  }
2271
2271
  return e;
2272
2272
  }
2273
- function mn(e, t) {
2273
+ function _n(e, t) {
2274
2274
  const { messages: n, __i18n: s, messageResolver: a, flatJson: r } = t, o = V(n) ? n : q(s) ? {} : { [e]: {} };
2275
2275
  if (q(s) && s.forEach((i) => {
2276
2276
  if ("locale" in i && "resource" in i) {
2277
2277
  const { locale: l, resource: c } = i;
2278
2278
  l ? (o[l] = o[l] || {}, en(c, o[l])) : en(c, o);
2279
2279
  } else
2280
- P(i) && en(JSON.parse(i), o);
2280
+ R(i) && en(JSON.parse(i), o);
2281
2281
  }), a == null && r)
2282
2282
  for (const i in o)
2283
2283
  rn(o, i) && Wt(o[i]);
@@ -2288,7 +2288,7 @@ function ta(e) {
2288
2288
  }
2289
2289
  function na(e, t, n) {
2290
2290
  let s = G(t.messages) ? t.messages : {};
2291
- "__i18nGlobal" in n && (s = mn(e.locale.value, {
2291
+ "__i18nGlobal" in n && (s = _n(e.locale.value, {
2292
2292
  messages: s,
2293
2293
  __i18n: n.__i18nGlobal
2294
2294
  }));
@@ -2314,12 +2314,12 @@ function na(e, t, n) {
2314
2314
  function Vr(e) {
2315
2315
  return oe(Fa, null, e, 0);
2316
2316
  }
2317
- const Wr = "__INTLIFY_META__", Br = () => [], Ri = () => !1;
2317
+ const Wr = "__INTLIFY_META__", Br = () => [], Pi = () => !1;
2318
2318
  let Hr = 0;
2319
2319
  function Gr(e) {
2320
2320
  return (t, n, s, a) => e(n, s, ot() || void 0, a);
2321
2321
  }
2322
- const Pi = /* @__NO_SIDE_EFFECTS__ */ () => {
2322
+ const Ri = /* @__NO_SIDE_EFFECTS__ */ () => {
2323
2323
  const e = ot();
2324
2324
  let t = null;
2325
2325
  return e && (t = ta(e)[Wr]) ? { [Wr]: t } : null;
@@ -2330,11 +2330,11 @@ function nr(e = {}, t) {
2330
2330
  let l = B(e.inheritLocale) ? e.inheritLocale : !0;
2331
2331
  const c = o(
2332
2332
  // prettier-ignore
2333
- n && l ? n.locale.value : P(e.locale) ? e.locale : Et
2333
+ n && l ? n.locale.value : R(e.locale) ? e.locale : Et
2334
2334
  ), h = o(
2335
2335
  // prettier-ignore
2336
- n && l ? n.fallbackLocale.value : P(e.fallbackLocale) || q(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value
2337
- ), m = o(mn(c.value, e)), f = o(V(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), E = o(V(e.numberFormats) ? e.numberFormats : { [c.value]: {} });
2336
+ n && l ? n.fallbackLocale.value : R(e.fallbackLocale) || q(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value
2337
+ ), _ = o(_n(c.value, e)), f = o(V(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), E = o(V(e.numberFormats) ? e.numberFormats : { [c.value]: {} });
2338
2338
  let N = n ? n.missingWarn : B(e.missingWarn) || Ke(e.missingWarn) ? e.missingWarn : !0, I = n ? n.fallbackWarn : B(e.fallbackWarn) || Ke(e.fallbackWarn) ? e.fallbackWarn : !0, S = n ? n.fallbackRoot : B(e.fallbackRoot) ? e.fallbackRoot : !0, d = !!e.fallbackFormat, p = X(e.missing) ? e.missing : null, v = X(e.missing) ? Gr(e.missing) : null, g = X(e.postTranslation) ? e.postTranslation : null, k = n ? n.warnHtmlMessage : B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter;
2339
2339
  const y = n ? n.modifiers : V(e.modifiers) ? e.modifiers : {};
2340
2340
  let C = e.pluralRules || n && n.pluralRules, T;
@@ -2344,7 +2344,7 @@ function nr(e = {}, t) {
2344
2344
  version: Si,
2345
2345
  locale: c.value,
2346
2346
  fallbackLocale: h.value,
2347
- messages: m.value,
2347
+ messages: _.value,
2348
2348
  modifiers: y,
2349
2349
  pluralRules: C,
2350
2350
  missing: v === null ? void 0 : v,
@@ -2360,14 +2360,14 @@ function nr(e = {}, t) {
2360
2360
  __meta: { framework: "vue" }
2361
2361
  };
2362
2362
  A.datetimeFormats = f.value, A.numberFormats = E.value, A.__datetimeFormatters = V(T) ? T.__datetimeFormatters : void 0, A.__numberFormatters = V(T) ? T.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (A.__v_emitter = V(T) ? T.__v_emitter : void 0);
2363
- const R = ui(A);
2364
- return a && Cr(R), R;
2363
+ const P = ui(A);
2364
+ return a && Cr(P), P;
2365
2365
  })(), Ct(T, c.value, h.value);
2366
2366
  function D() {
2367
2367
  return [
2368
2368
  c.value,
2369
2369
  h.value,
2370
- m.value,
2370
+ _.value,
2371
2371
  f.value,
2372
2372
  E.value
2373
2373
  ];
@@ -2382,7 +2382,7 @@ function nr(e = {}, t) {
2382
2382
  set: (A) => {
2383
2383
  h.value = A, T.fallbackLocale = h.value, Ct(T, c.value, A);
2384
2384
  }
2385
- }), Z = ce(() => m.value), K = /* @__PURE__ */ ce(() => f.value), te = /* @__PURE__ */ ce(() => E.value);
2385
+ }), Z = ce(() => _.value), K = /* @__PURE__ */ ce(() => f.value), te = /* @__PURE__ */ ce(() => E.value);
2386
2386
  function de() {
2387
2387
  return X(g) ? g : null;
2388
2388
  }
@@ -2395,26 +2395,26 @@ function nr(e = {}, t) {
2395
2395
  function yt(A) {
2396
2396
  A !== null && (v = Gr(A)), p = A, T.missing = v;
2397
2397
  }
2398
- function Lt(A, R) {
2399
- return A !== "translate" || !R.resolvedMessage;
2398
+ function Lt(A, P) {
2399
+ return A !== "translate" || !P.resolvedMessage;
2400
2400
  }
2401
- const Ee = (A, R, Y, ee, Be, Yt) => {
2401
+ const Ee = (A, P, Y, ee, Be, Yt) => {
2402
2402
  D();
2403
- let mt;
2403
+ let _t;
2404
2404
  try {
2405
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (T.fallbackContext = n ? ci() : void 0), mt = A(T);
2405
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (T.fallbackContext = n ? ci() : void 0), _t = A(T);
2406
2406
  } finally {
2407
2407
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (T.fallbackContext = void 0);
2408
2408
  }
2409
2409
  if (Y !== "translate exists" && // for not `te` (e.g `t`)
2410
- re(mt) && mt === dn || Y === "translate exists" && !mt) {
2411
- const [et, wa] = R();
2412
- if (process.env.NODE_ENV !== "production" && n && P(et) && Lt(Y, wa) && (S && (_n(I, et) || Ws(N, et)) && (pe(J.FALLBACK_TO_ROOT, {
2410
+ re(_t) && _t === dn || Y === "translate exists" && !_t) {
2411
+ const [et, wa] = P();
2412
+ if (process.env.NODE_ENV !== "production" && n && R(et) && Lt(Y, wa) && (S && (mn(I, et) || Ws(N, et)) && (pe(J.FALLBACK_TO_ROOT, {
2413
2413
  key: et,
2414
2414
  type: Y
2415
2415
  }), void 0), process.env.NODE_ENV !== "production")) {
2416
- const { __v_emitter: _r } = T;
2417
- _r && S && _r.emit("fallback", {
2416
+ const { __v_emitter: mr } = T;
2417
+ mr && S && mr.emit("fallback", {
2418
2418
  type: Y,
2419
2419
  key: et,
2420
2420
  to: "global",
@@ -2423,28 +2423,28 @@ function nr(e = {}, t) {
2423
2423
  }
2424
2424
  return n && S ? ee(n) : Be(et);
2425
2425
  } else {
2426
- if (Yt(mt))
2427
- return mt;
2426
+ if (Yt(_t))
2427
+ return _t;
2428
2428
  throw ae(H.UNEXPECTED_RETURN_TYPE);
2429
2429
  }
2430
2430
  };
2431
2431
  function ft(...A) {
2432
- return Ee((R) => Reflect.apply(Mr, null, [R, ...A]), () => Sn(...A), "translate", (R) => Reflect.apply(R.t, R, [...A]), (R) => R, (R) => P(R));
2432
+ return Ee((P) => Reflect.apply(Mr, null, [P, ...A]), () => Sn(...A), "translate", (P) => Reflect.apply(P.t, P, [...A]), (P) => P, (P) => R(P));
2433
2433
  }
2434
2434
  function dt(...A) {
2435
- const [R, Y, ee] = A;
2435
+ const [P, Y, ee] = A;
2436
2436
  if (ee && !G(ee))
2437
2437
  throw ae(H.INVALID_ARGUMENT);
2438
- return ft(R, Y, ue({ resolvedMessage: !0 }, ee || {}));
2438
+ return ft(P, Y, ue({ resolvedMessage: !0 }, ee || {}));
2439
2439
  }
2440
2440
  function It(...A) {
2441
- return Ee((R) => Reflect.apply(Fr, null, [R, ...A]), () => An(...A), "datetime format", (R) => Reflect.apply(R.d, R, [...A]), () => sn, (R) => P(R));
2441
+ return Ee((P) => Reflect.apply(Fr, null, [P, ...A]), () => An(...A), "datetime format", (P) => Reflect.apply(P.d, P, [...A]), () => sn, (P) => R(P));
2442
2442
  }
2443
2443
  function kt(...A) {
2444
- return Ee((R) => Reflect.apply(Ur, null, [R, ...A]), () => Cn(...A), "number format", (R) => Reflect.apply(R.n, R, [...A]), () => sn, (R) => P(R));
2444
+ return Ee((P) => Reflect.apply(Ur, null, [P, ...A]), () => Cn(...A), "number format", (P) => Reflect.apply(P.n, P, [...A]), () => sn, (P) => R(P));
2445
2445
  }
2446
2446
  function St(A) {
2447
- return A.map((R) => P(R) || re(R) || B(R) ? Vr(String(R)) : R);
2447
+ return A.map((P) => R(P) || re(P) || B(P) ? Vr(String(P)) : P);
2448
2448
  }
2449
2449
  const Je = {
2450
2450
  normalize: St,
@@ -2453,9 +2453,9 @@ function nr(e = {}, t) {
2453
2453
  };
2454
2454
  function We(...A) {
2455
2455
  return Ee(
2456
- (R) => {
2456
+ (P) => {
2457
2457
  let Y;
2458
- const ee = R;
2458
+ const ee = P;
2459
2459
  try {
2460
2460
  ee.processor = Je, Y = Reflect.apply(Mr, null, [ee, ...A]);
2461
2461
  } finally {
@@ -2466,97 +2466,97 @@ function nr(e = {}, t) {
2466
2466
  () => Sn(...A),
2467
2467
  "translate",
2468
2468
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2469
- (R) => R[Rn](...A),
2470
- (R) => [Vr(R)],
2471
- (R) => q(R)
2469
+ (P) => P[Pn](...A),
2470
+ (P) => [Vr(P)],
2471
+ (P) => q(P)
2472
2472
  );
2473
2473
  }
2474
2474
  function Qe(...A) {
2475
2475
  return Ee(
2476
- (R) => Reflect.apply(Ur, null, [R, ...A]),
2476
+ (P) => Reflect.apply(Ur, null, [P, ...A]),
2477
2477
  () => Cn(...A),
2478
2478
  "number format",
2479
2479
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2480
- (R) => R[Mn](...A),
2480
+ (P) => P[Mn](...A),
2481
2481
  Br,
2482
- (R) => P(R) || q(R)
2482
+ (P) => R(P) || q(P)
2483
2483
  );
2484
2484
  }
2485
2485
  function At(...A) {
2486
2486
  return Ee(
2487
- (R) => Reflect.apply(Fr, null, [R, ...A]),
2487
+ (P) => Reflect.apply(Fr, null, [P, ...A]),
2488
2488
  () => An(...A),
2489
2489
  "datetime format",
2490
2490
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2491
- (R) => R[Pn](...A),
2491
+ (P) => P[Rn](...A),
2492
2492
  Br,
2493
- (R) => P(R) || q(R)
2493
+ (P) => R(P) || q(P)
2494
2494
  );
2495
2495
  }
2496
- function _(A) {
2496
+ function m(A) {
2497
2497
  C = A, T.pluralRules = C;
2498
2498
  }
2499
- function u(A, R) {
2499
+ function u(A, P) {
2500
2500
  return Ee(() => {
2501
2501
  if (!A)
2502
2502
  return !1;
2503
- const Y = P(R) ? R : c.value, ee = $(Y), Be = T.messageResolver(ee, A);
2504
- return i ? Be != null : qe(Be) || be(Be) || P(Be);
2505
- }, () => [A], "translate exists", (Y) => Reflect.apply(Y.te, Y, [A, R]), Ri, (Y) => B(Y));
2503
+ const Y = R(P) ? P : c.value, ee = $(Y), Be = T.messageResolver(ee, A);
2504
+ return i ? Be != null : qe(Be) || be(Be) || R(Be);
2505
+ }, () => [A], "translate exists", (Y) => Reflect.apply(Y.te, Y, [A, P]), Pi, (Y) => B(Y));
2506
2506
  }
2507
2507
  function L(A) {
2508
- let R = null;
2508
+ let P = null;
2509
2509
  const Y = Ds(T, h.value, c.value);
2510
2510
  for (let ee = 0; ee < Y.length; ee++) {
2511
- const Be = m.value[Y[ee]] || {}, Yt = T.messageResolver(Be, A);
2511
+ const Be = _.value[Y[ee]] || {}, Yt = T.messageResolver(Be, A);
2512
2512
  if (Yt != null) {
2513
- R = Yt;
2513
+ P = Yt;
2514
2514
  break;
2515
2515
  }
2516
2516
  }
2517
- return R;
2517
+ return P;
2518
2518
  }
2519
2519
  function F(A) {
2520
- const R = L(A);
2521
- return R ?? (n ? n.tm(A) || {} : {});
2520
+ const P = L(A);
2521
+ return P ?? (n ? n.tm(A) || {} : {});
2522
2522
  }
2523
2523
  function $(A) {
2524
- return m.value[A] || {};
2524
+ return _.value[A] || {};
2525
2525
  }
2526
- function j(A, R) {
2526
+ function j(A, P) {
2527
2527
  if (r) {
2528
- const Y = { [A]: R };
2528
+ const Y = { [A]: P };
2529
2529
  for (const ee in Y)
2530
2530
  rn(Y, ee) && Wt(Y[ee]);
2531
- R = Y[A];
2531
+ P = Y[A];
2532
2532
  }
2533
- m.value[A] = R, T.messages = m.value;
2533
+ _.value[A] = P, T.messages = _.value;
2534
2534
  }
2535
- function Oe(A, R) {
2536
- m.value[A] = m.value[A] || {};
2537
- const Y = { [A]: R };
2535
+ function Oe(A, P) {
2536
+ _.value[A] = _.value[A] || {};
2537
+ const Y = { [A]: P };
2538
2538
  if (r)
2539
2539
  for (const ee in Y)
2540
2540
  rn(Y, ee) && Wt(Y[ee]);
2541
- R = Y[A], en(R, m.value[A]), T.messages = m.value;
2541
+ P = Y[A], en(P, _.value[A]), T.messages = _.value;
2542
2542
  }
2543
2543
  function we(A) {
2544
2544
  return f.value[A] || {};
2545
2545
  }
2546
- function Ia(A, R) {
2547
- f.value[A] = R, T.datetimeFormats = f.value, xr(T, A, R);
2546
+ function Ia(A, P) {
2547
+ f.value[A] = P, T.datetimeFormats = f.value, xr(T, A, P);
2548
2548
  }
2549
- function ka(A, R) {
2550
- f.value[A] = ue(f.value[A] || {}, R), T.datetimeFormats = f.value, xr(T, A, R);
2549
+ function ka(A, P) {
2550
+ f.value[A] = ue(f.value[A] || {}, P), T.datetimeFormats = f.value, xr(T, A, P);
2551
2551
  }
2552
2552
  function Sa(A) {
2553
2553
  return E.value[A] || {};
2554
2554
  }
2555
- function Aa(A, R) {
2556
- E.value[A] = R, T.numberFormats = E.value, $r(T, A, R);
2555
+ function Aa(A, P) {
2556
+ E.value[A] = P, T.numberFormats = E.value, $r(T, A, P);
2557
2557
  }
2558
- function Ca(A, R) {
2559
- E.value[A] = ue(E.value[A] || {}, R), T.numberFormats = E.value, $r(T, A, R);
2558
+ function Ca(A, P) {
2559
+ E.value[A] = ue(E.value[A] || {}, P), T.numberFormats = E.value, $r(T, A, P);
2560
2560
  }
2561
2561
  Hr++, n && Ne && (Xe(n.locale, (A) => {
2562
2562
  l && (c.value = A, T.locale = A, Ct(T, c.value, h.value));
@@ -2574,7 +2574,7 @@ function nr(e = {}, t) {
2574
2574
  l = A, A && n && (c.value = n.locale.value, h.value = n.fallbackLocale.value, Ct(T, c.value, h.value));
2575
2575
  },
2576
2576
  get availableLocales() {
2577
- return Object.keys(m.value).sort();
2577
+ return Object.keys(_.value).sort();
2578
2578
  },
2579
2579
  messages: Z,
2580
2580
  get modifiers() {
@@ -2630,16 +2630,16 @@ function nr(e = {}, t) {
2630
2630
  setPostTranslationHandler: Ve,
2631
2631
  getMissingHandler: Ce,
2632
2632
  setMissingHandler: yt,
2633
- [Qs]: _
2633
+ [Qs]: m
2634
2634
  };
2635
- return ne.datetimeFormats = K, ne.numberFormats = te, ne.rt = dt, ne.te = u, ne.tm = F, ne.d = It, ne.n = kt, ne.getDateTimeFormat = we, ne.setDateTimeFormat = Ia, ne.mergeDateTimeFormat = ka, ne.getNumberFormat = Sa, ne.setNumberFormat = Aa, ne.mergeNumberFormat = Ca, ne[ea] = s, ne[Rn] = We, ne[Pn] = At, ne[Mn] = Qe, process.env.NODE_ENV !== "production" && (ne[ut] = (A) => {
2635
+ return ne.datetimeFormats = K, ne.numberFormats = te, ne.rt = dt, ne.te = u, ne.tm = F, ne.d = It, ne.n = kt, ne.getDateTimeFormat = we, ne.setDateTimeFormat = Ia, ne.mergeDateTimeFormat = ka, ne.getNumberFormat = Sa, ne.setNumberFormat = Aa, ne.mergeNumberFormat = Ca, ne[ea] = s, ne[Pn] = We, ne[Rn] = At, ne[Mn] = Qe, process.env.NODE_ENV !== "production" && (ne[ut] = (A) => {
2636
2636
  T.__v_emitter = A;
2637
2637
  }, ne[Vt] = () => {
2638
2638
  T.__v_emitter = void 0;
2639
2639
  }), ne;
2640
2640
  }
2641
2641
  function Mi(e) {
2642
- const t = P(e.locale) ? e.locale : Et, n = P(e.fallbackLocale) || q(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, s = X(e.missing) ? e.missing : void 0, a = B(e.silentTranslationWarn) || Ke(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = B(e.silentFallbackWarn) || Ke(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = B(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, l = V(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, h = X(e.postTranslation) ? e.postTranslation : void 0, m = P(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, f = !!e.escapeParameterHtml, E = B(e.sync) ? e.sync : !0;
2642
+ const t = R(e.locale) ? e.locale : Et, n = R(e.fallbackLocale) || q(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, s = X(e.missing) ? e.missing : void 0, a = B(e.silentTranslationWarn) || Ke(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = B(e.silentFallbackWarn) || Ke(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = B(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, l = V(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, h = X(e.postTranslation) ? e.postTranslation : void 0, _ = R(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, f = !!e.escapeParameterHtml, E = B(e.sync) ? e.sync : !0;
2643
2643
  process.env.NODE_ENV !== "production" && e.formatter && (pe(J.NOT_SUPPORTED_FORMATTER), void 0), process.env.NODE_ENV !== "production" && e.preserveDirectiveContent && (pe(J.NOT_SUPPORTED_PRESERVE_DIRECTIVE), void 0);
2644
2644
  let N = e.messages;
2645
2645
  if (V(e.sharedMessages)) {
@@ -2665,7 +2665,7 @@ function Mi(e) {
2665
2665
  modifiers: l,
2666
2666
  pluralRules: c,
2667
2667
  postTranslation: h,
2668
- warnHtmlMessage: m,
2668
+ warnHtmlMessage: _,
2669
2669
  escapeParameter: f,
2670
2670
  messageResolver: e.messageResolver,
2671
2671
  inheritLocale: E,
@@ -2797,13 +2797,13 @@ function Fn(e = {}, t) {
2797
2797
  // t
2798
2798
  t(...r) {
2799
2799
  const [o, i, l] = r, c = {};
2800
- let h = null, m = null;
2801
- if (!P(o))
2800
+ let h = null, _ = null;
2801
+ if (!R(o))
2802
2802
  throw ae(H.INVALID_ARGUMENT);
2803
2803
  const f = o;
2804
- return P(i) ? c.locale = i : q(i) ? h = i : V(i) && (m = i), q(l) ? h = l : V(l) && (m = l), Reflect.apply(n.t, n, [
2804
+ return R(i) ? c.locale = i : q(i) ? h = i : V(i) && (_ = i), q(l) ? h = l : V(l) && (_ = l), Reflect.apply(n.t, n, [
2805
2805
  f,
2806
- h || m || {},
2806
+ h || _ || {},
2807
2807
  c
2808
2808
  ]);
2809
2809
  },
@@ -2813,13 +2813,13 @@ function Fn(e = {}, t) {
2813
2813
  // tc
2814
2814
  tc(...r) {
2815
2815
  const [o, i, l] = r, c = { plural: 1 };
2816
- let h = null, m = null;
2817
- if (!P(o))
2816
+ let h = null, _ = null;
2817
+ if (!R(o))
2818
2818
  throw ae(H.INVALID_ARGUMENT);
2819
2819
  const f = o;
2820
- return P(i) ? c.locale = i : re(i) ? c.plural = i : q(i) ? h = i : V(i) && (m = i), P(l) ? c.locale = l : q(l) ? h = l : V(l) && (m = l), Reflect.apply(n.t, n, [
2820
+ return R(i) ? c.locale = i : re(i) ? c.plural = i : q(i) ? h = i : V(i) && (_ = i), R(l) ? c.locale = l : q(l) ? h = l : V(l) && (_ = l), Reflect.apply(n.t, n, [
2821
2821
  f,
2822
- h || m || {},
2822
+ h || _ || {},
2823
2823
  c
2824
2824
  ]);
2825
2825
  },
@@ -2943,30 +2943,30 @@ const Fi = /* @__PURE__ */ fe({
2943
2943
  __useComponent: !0
2944
2944
  });
2945
2945
  return () => {
2946
- const r = Object.keys(n).filter((m) => m !== "_"), o = {};
2947
- e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = P(e.plural) ? +e.plural : e.plural);
2948
- const i = Di(t, r), l = a[Rn](e.keypath, i, o), c = ue({}, s), h = P(e.tag) || G(e.tag) ? e.tag : ra();
2946
+ const r = Object.keys(n).filter((_) => _ !== "_"), o = {};
2947
+ e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = R(e.plural) ? +e.plural : e.plural);
2948
+ const i = Di(t, r), l = a[Pn](e.keypath, i, o), c = ue({}, s), h = R(e.tag) || G(e.tag) ? e.tag : ra();
2949
2949
  return Hn(h, c, l);
2950
2950
  };
2951
2951
  }
2952
2952
  }), bn = Fi;
2953
2953
  function xi(e) {
2954
- return q(e) && !P(e[0]);
2954
+ return q(e) && !R(e[0]);
2955
2955
  }
2956
2956
  function sa(e, t, n, s) {
2957
2957
  const { slots: a, attrs: r } = t;
2958
2958
  return () => {
2959
2959
  const o = { part: !0 };
2960
2960
  let i = {};
2961
- e.locale && (o.locale = e.locale), P(e.format) ? o.key = e.format : G(e.format) && (P(e.format.key) && (o.key = e.format.key), i = Object.keys(e.format).reduce((f, E) => n.includes(E) ? ue({}, f, { [E]: e.format[E] }) : f, {}));
2961
+ e.locale && (o.locale = e.locale), R(e.format) ? o.key = e.format : G(e.format) && (R(e.format.key) && (o.key = e.format.key), i = Object.keys(e.format).reduce((f, E) => n.includes(E) ? ue({}, f, { [E]: e.format[E] }) : f, {}));
2962
2962
  const l = s(e.value, o, i);
2963
2963
  let c = [o.key];
2964
2964
  q(l) ? c = l.map((f, E) => {
2965
2965
  const N = a[f.type], I = N ? N({ [f.type]: f.value, index: E, parts: l }) : [f.value];
2966
2966
  return xi(I) && (I[0].key = `${f.type}-${E}`), I;
2967
- }) : P(l) && (c = [l]);
2968
- const h = ue({}, r), m = P(e.tag) || G(e.tag) ? e.tag : ra();
2969
- return Hn(m, h, c);
2967
+ }) : R(l) && (c = [l]);
2968
+ const h = ue({}, r), _ = R(e.tag) || G(e.tag) ? e.tag : ra();
2969
+ return Hn(_, h, c);
2970
2970
  };
2971
2971
  }
2972
2972
  const Ui = /* @__PURE__ */ fe({
@@ -3014,7 +3014,7 @@ const Ui = /* @__PURE__ */ fe({
3014
3014
  });
3015
3015
  return sa(e, t, zs, (...s) => (
3016
3016
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3017
- n[Pn](...s)
3017
+ n[Rn](...s)
3018
3018
  ));
3019
3019
  }
3020
3020
  }), Yr = $i;
@@ -3034,9 +3034,9 @@ function Wi(e) {
3034
3034
  throw ae(H.UNEXPECTED_ERROR);
3035
3035
  const h = Vi(e, i.$);
3036
3036
  process.env.NODE_ENV !== "production" && l.preserve && (pe(J.NOT_SUPPORTED_PRESERVE), void 0);
3037
- const m = Xr(c);
3037
+ const _ = Xr(c);
3038
3038
  return [
3039
- Reflect.apply(h.t, h, [...zr(m)]),
3039
+ Reflect.apply(h.t, h, [...zr(_)]),
3040
3040
  h
3041
3041
  ];
3042
3042
  };
@@ -3065,7 +3065,7 @@ function Wi(e) {
3065
3065
  };
3066
3066
  }
3067
3067
  function Xr(e) {
3068
- if (P(e))
3068
+ if (R(e))
3069
3069
  return { path: e };
3070
3070
  if (V(e)) {
3071
3071
  if (!("path" in e))
@@ -3076,7 +3076,7 @@ function Xr(e) {
3076
3076
  }
3077
3077
  function zr(e) {
3078
3078
  const { path: t, locale: n, args: s, choice: a, plural: r } = e, o = {}, i = s || {};
3079
- return P(n) && (o.locale = n), re(a) && (o.plural = a), re(r) && (o.plural = r), [t, i, o];
3079
+ return R(n) && (o.locale = n), re(a) && (o.plural = a), re(r) && (o.plural = r), [t, i, o];
3080
3080
  }
3081
3081
  function Bi(e, t, ...n) {
3082
3082
  const s = V(n[0]) ? n[0] : {}, a = !!s.useI18nComponentName, r = B(s.globalInstall) ? s.globalInstall : !0;
@@ -3356,7 +3356,7 @@ function tl(e, t) {
3356
3356
  const n = ia(e.nodeId, t);
3357
3357
  if (n) {
3358
3358
  const [s] = e.path;
3359
- s === "locale" && P(e.state.value) ? n.locale.value = e.state.value : s === "fallbackLocale" && (P(e.state.value) || q(e.state.value) || G(e.state.value)) ? n.fallbackLocale.value = e.state.value : s === "inheritLocale" && B(e.state.value) && (n.inheritLocale = e.state.value);
3359
+ s === "locale" && R(e.state.value) ? n.locale.value = e.state.value : s === "fallbackLocale" && (R(e.state.value) || q(e.state.value) || G(e.state.value)) ? n.fallbackLocale.value = e.state.value : s === "inheritLocale" && B(e.state.value) && (n.inheritLocale = e.state.value);
3360
3360
  }
3361
3361
  }
3362
3362
  function nl(e, t, n) {
@@ -3411,7 +3411,7 @@ function nl(e, t, n) {
3411
3411
  }
3412
3412
  function qr(e, t) {
3413
3413
  e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[Qs](t.pluralizationRules || e.pluralizationRules);
3414
- const n = mn(e.locale, {
3414
+ const n = _n(e.locale, {
3415
3415
  messages: t.messages,
3416
3416
  __i18n: t.__i18n
3417
3417
  });
@@ -3427,7 +3427,7 @@ function sl(e = {}, t) {
3427
3427
  function h(f, E) {
3428
3428
  r.set(f, E);
3429
3429
  }
3430
- function m(f) {
3430
+ function _(f) {
3431
3431
  r.delete(f);
3432
3432
  }
3433
3433
  {
@@ -3447,7 +3447,7 @@ function sl(e = {}, t) {
3447
3447
  f.__composerExtend = d.__composerExtend, f.__vueI18nExtend = d.__vueI18nExtend;
3448
3448
  }
3449
3449
  let I = null;
3450
- !n && s && (I = ml(E, f.global)), __VUE_I18N_FULL_INSTALL__ && Bi(E, f, ...N), __VUE_I18N_LEGACY_API__ && n && E.mixin(nl(i, i.__composer, f));
3450
+ !n && s && (I = _l(E, f.global)), __VUE_I18N_FULL_INSTALL__ && Bi(E, f, ...N), __VUE_I18N_LEGACY_API__ && n && E.mixin(nl(i, i.__composer, f));
3451
3451
  const S = E.unmount;
3452
3452
  if (E.unmount = () => {
3453
3453
  I && I(), f.dispose(), S();
@@ -3479,7 +3479,7 @@ function sl(e = {}, t) {
3479
3479
  // @internal
3480
3480
  __setInstance: h,
3481
3481
  // @internal
3482
- __deleteInstance: m
3482
+ __deleteInstance: _
3483
3483
  };
3484
3484
  return f;
3485
3485
  }
@@ -3573,20 +3573,20 @@ function dl(e, t, n, s = {}) {
3573
3573
  const a = t === "local", r = Ns(null);
3574
3574
  if (a && e.proxy && !(e.proxy.$options.i18n || e.proxy.$options.__i18n))
3575
3575
  throw ae(H.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
3576
- const o = B(s.inheritLocale) ? s.inheritLocale : !P(s.locale), i = Q(
3576
+ const o = B(s.inheritLocale) ? s.inheritLocale : !R(s.locale), i = Q(
3577
3577
  // prettier-ignore
3578
- !a || o ? n.locale.value : P(s.locale) ? s.locale : Et
3578
+ !a || o ? n.locale.value : R(s.locale) ? s.locale : Et
3579
3579
  ), l = Q(
3580
3580
  // prettier-ignore
3581
- !a || o ? n.fallbackLocale.value : P(s.fallbackLocale) || q(s.fallbackLocale) || V(s.fallbackLocale) || s.fallbackLocale === !1 ? s.fallbackLocale : i.value
3582
- ), c = Q(mn(i.value, s)), h = Q(V(s.datetimeFormats) ? s.datetimeFormats : { [i.value]: {} }), m = Q(V(s.numberFormats) ? s.numberFormats : { [i.value]: {} }), f = a ? n.missingWarn : B(s.missingWarn) || Ke(s.missingWarn) ? s.missingWarn : !0, E = a ? n.fallbackWarn : B(s.fallbackWarn) || Ke(s.fallbackWarn) ? s.fallbackWarn : !0, N = a ? n.fallbackRoot : B(s.fallbackRoot) ? s.fallbackRoot : !0, I = !!s.fallbackFormat, S = X(s.missing) ? s.missing : null, d = X(s.postTranslation) ? s.postTranslation : null, p = a ? n.warnHtmlMessage : B(s.warnHtmlMessage) ? s.warnHtmlMessage : !0, v = !!s.escapeParameter, g = a ? n.modifiers : V(s.modifiers) ? s.modifiers : {}, k = s.pluralRules || a && n.pluralRules;
3581
+ !a || o ? n.fallbackLocale.value : R(s.fallbackLocale) || q(s.fallbackLocale) || V(s.fallbackLocale) || s.fallbackLocale === !1 ? s.fallbackLocale : i.value
3582
+ ), c = Q(_n(i.value, s)), h = Q(V(s.datetimeFormats) ? s.datetimeFormats : { [i.value]: {} }), _ = Q(V(s.numberFormats) ? s.numberFormats : { [i.value]: {} }), f = a ? n.missingWarn : B(s.missingWarn) || Ke(s.missingWarn) ? s.missingWarn : !0, E = a ? n.fallbackWarn : B(s.fallbackWarn) || Ke(s.fallbackWarn) ? s.fallbackWarn : !0, N = a ? n.fallbackRoot : B(s.fallbackRoot) ? s.fallbackRoot : !0, I = !!s.fallbackFormat, S = X(s.missing) ? s.missing : null, d = X(s.postTranslation) ? s.postTranslation : null, p = a ? n.warnHtmlMessage : B(s.warnHtmlMessage) ? s.warnHtmlMessage : !0, v = !!s.escapeParameter, g = a ? n.modifiers : V(s.modifiers) ? s.modifiers : {}, k = s.pluralRules || a && n.pluralRules;
3583
3583
  function b() {
3584
3584
  return [
3585
3585
  i.value,
3586
3586
  l.value,
3587
3587
  c.value,
3588
3588
  h.value,
3589
- m.value
3589
+ _.value
3590
3590
  ];
3591
3591
  }
3592
3592
  const y = ce({
@@ -3599,7 +3599,7 @@ function dl(e, t, n, s = {}) {
3599
3599
  set: (u) => {
3600
3600
  r.value && (r.value.fallbackLocale.value = u), l.value = u;
3601
3601
  }
3602
- }), T = ce(() => r.value ? r.value.messages.value : c.value), w = ce(() => h.value), D = ce(() => m.value);
3602
+ }), T = ce(() => r.value ? r.value.messages.value : c.value), w = ce(() => h.value), D = ce(() => _.value);
3603
3603
  function O() {
3604
3604
  return r.value ? r.value.getPostTranslationHandler() : d;
3605
3605
  }
@@ -3648,14 +3648,14 @@ function dl(e, t, n, s = {}) {
3648
3648
  function St(u, L) {
3649
3649
  r.value && (r.value.setDateTimeFormat(u, L), h.value[u] = L);
3650
3650
  }
3651
- function _t(u, L) {
3651
+ function mt(u, L) {
3652
3652
  r.value && r.value.mergeDateTimeFormat(u, L);
3653
3653
  }
3654
3654
  function Je(u) {
3655
3655
  return r.value ? r.value.getNumberFormat(u) : {};
3656
3656
  }
3657
3657
  function We(u, L) {
3658
- r.value && (r.value.setNumberFormat(u, L), m.value[u] = L);
3658
+ r.value && (r.value.setNumberFormat(u, L), _.value[u] = L);
3659
3659
  }
3660
3660
  function Qe(u, L) {
3661
3661
  r.value && r.value.mergeNumberFormat(u, L);
@@ -3738,35 +3738,35 @@ function dl(e, t, n, s = {}) {
3738
3738
  mergeLocaleMessage: It,
3739
3739
  getDateTimeFormat: kt,
3740
3740
  setDateTimeFormat: St,
3741
- mergeDateTimeFormat: _t,
3741
+ mergeDateTimeFormat: mt,
3742
3742
  getNumberFormat: Je,
3743
3743
  setNumberFormat: We,
3744
3744
  mergeNumberFormat: Qe
3745
3745
  };
3746
- function _(u) {
3746
+ function m(u) {
3747
3747
  u.locale.value = i.value, u.fallbackLocale.value = l.value, Object.keys(c.value).forEach((L) => {
3748
3748
  u.mergeLocaleMessage(L, c.value[L]);
3749
3749
  }), Object.keys(h.value).forEach((L) => {
3750
3750
  u.mergeDateTimeFormat(L, h.value[L]);
3751
- }), Object.keys(m.value).forEach((L) => {
3752
- u.mergeNumberFormat(L, m.value[L]);
3751
+ }), Object.keys(_.value).forEach((L) => {
3752
+ u.mergeNumberFormat(L, _.value[L]);
3753
3753
  }), u.escapeParameter = v, u.fallbackFormat = I, u.fallbackRoot = N, u.fallbackWarn = E, u.missingWarn = f, u.warnHtmlMessage = p;
3754
3754
  }
3755
3755
  return Os(() => {
3756
3756
  if (e.proxy == null || e.proxy.$i18n == null)
3757
3757
  throw ae(H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
3758
3758
  const u = r.value = e.proxy.$i18n.__composer;
3759
- t === "global" ? (i.value = u.locale.value, l.value = u.fallbackLocale.value, c.value = u.messages.value, h.value = u.datetimeFormats.value, m.value = u.numberFormats.value) : a && _(u);
3759
+ t === "global" ? (i.value = u.locale.value, l.value = u.fallbackLocale.value, c.value = u.messages.value, h.value = u.datetimeFormats.value, _.value = u.numberFormats.value) : a && m(u);
3760
3760
  }), At;
3761
3761
  }
3762
- const _l = [
3762
+ const ml = [
3763
3763
  "locale",
3764
3764
  "fallbackLocale",
3765
3765
  "availableLocales"
3766
3766
  ], Zr = ["t", "rt", "d", "n", "tm", "te"];
3767
- function ml(e, t) {
3767
+ function _l(e, t) {
3768
3768
  const n = /* @__PURE__ */ Object.create(null);
3769
- return _l.forEach((a) => {
3769
+ return ml.forEach((a) => {
3770
3770
  const r = Object.getOwnPropertyDescriptor(t, a);
3771
3771
  if (!r)
3772
3772
  throw ae(H.UNEXPECTED_ERROR);
@@ -3796,7 +3796,7 @@ function ml(e, t) {
3796
3796
  };
3797
3797
  }
3798
3798
  Ai();
3799
- __INTLIFY_JIT_COMPILATION__ ? Ar(mi) : Ar(_i);
3799
+ __INTLIFY_JIT_COMPILATION__ ? Ar(_i) : Ar(mi);
3800
3800
  ai($o);
3801
3801
  oi(Ds);
3802
3802
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
@@ -3837,12 +3837,12 @@ const ca = (e = ".stack-tab__container *") => {
3837
3837
  );
3838
3838
  return t.length ? Math.max(...t.filter((n) => n < 9e4)) + 1 : 1;
3839
3839
  };
3840
- var rt = /* @__PURE__ */ ((e) => (e.WHEEL = "wheel", e.BUTTON = "button", e.BOTH = "both", e))(rt || {}), pl = /* @__PURE__ */ ((e) => (e.I18N_LOCALES = "I18N_LOCALES", e.PANEL_MAXIMUM = "PANEL_MAXIMUM", e.TAB_ACTIVE = "TAB_ACTIVE", e.TAB_CLOSE = "TAB_CLOSE", e.TAB_CLOSE_ALL = "TAB_CLOSE_ALL", e.TAB_CLOSE_RIGHT = "TAB_CLOSE_RIGHT", e.TAB_CLOSE_LEFT = "TAB_CLOSE_LEFT", e.TAB_REFRESH = "TAB_REFRESH", e.TAB_REFRESH_ALL = "TAB_REFRESH_ALL", e))(pl || {});
3840
+ var rt = /* @__PURE__ */ ((e) => (e.WHEEL = "wheel", e.BUTTON = "button", e.BOTH = "both", e))(rt || {});
3841
3841
  class En {
3842
3842
  //
3843
3843
  constructor() {
3844
3844
  // 存储的Map
3845
- mr(this, "items");
3845
+ _r(this, "items");
3846
3846
  this.items = /* @__PURE__ */ new Map();
3847
3847
  }
3848
3848
  /**
@@ -3906,7 +3906,7 @@ class En {
3906
3906
  }), t;
3907
3907
  }
3908
3908
  }
3909
- const gl = {
3909
+ const pl = {
3910
3910
  VueStackTab: {
3911
3911
  close: "close",
3912
3912
  closeLefts: "close lefts",
@@ -3920,10 +3920,10 @@ const gl = {
3920
3920
  undefined: "undefined",
3921
3921
  loading: "loading"
3922
3922
  }
3923
- }, bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3923
+ }, gl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3924
3924
  __proto__: null,
3925
- default: gl
3926
- }, Symbol.toStringTag, { value: "Module" })), vl = {
3925
+ default: pl
3926
+ }, Symbol.toStringTag, { value: "Module" })), bl = {
3927
3927
  VueStackTab: {
3928
3928
  close: "关闭",
3929
3929
  closeLefts: "关闭左侧",
@@ -3937,11 +3937,11 @@ const gl = {
3937
3937
  undefined: "未命名",
3938
3938
  loading: "加载中"
3939
3939
  }
3940
- }, El = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3940
+ }, vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3941
3941
  __proto__: null,
3942
- default: vl
3942
+ default: bl
3943
3943
  }, Symbol.toStringTag, { value: "Module" })), ar = () => {
3944
- const e = /* @__PURE__ */ Object.assign({ "./lang/en.ts": bl, "./lang/zh-CN.ts": El });
3944
+ const e = /* @__PURE__ */ Object.assign({ "./lang/en.ts": gl, "./lang/zh-CN.ts": vl });
3945
3945
  function t(r, o) {
3946
3946
  for (const i in r)
3947
3947
  if (r[i].default) {
@@ -3972,12 +3972,12 @@ function Tn(e) {
3972
3972
  throw new Error("Parameter was not an error");
3973
3973
  }
3974
3974
  function or(e) {
3975
- return Tl(e) === "[object Error]" || e instanceof Error;
3975
+ return El(e) === "[object Error]" || e instanceof Error;
3976
3976
  }
3977
- function Tl(e) {
3977
+ function El(e) {
3978
3978
  return Object.prototype.toString.call(e);
3979
3979
  }
3980
- function Nl(e) {
3980
+ function Tl(e) {
3981
3981
  let t, n = "";
3982
3982
  if (e.length === 0)
3983
3983
  t = {};
@@ -3998,7 +3998,7 @@ function Nl(e) {
3998
3998
  }
3999
3999
  class Te extends Error {
4000
4000
  constructor(t, n) {
4001
- const s = [...arguments], { options: a, shortMessage: r } = Nl(s);
4001
+ const s = [...arguments], { options: a, shortMessage: r } = Tl(s);
4002
4002
  let o = r;
4003
4003
  if (a.cause && (o = `${o}: ${a.cause.message}`), super(o), this.message = o, a.name && typeof a.name == "string" ? this.name = a.name : this.name = "Layerr", a.cause && Object.defineProperty(this, "_cause", { value: a.cause }), Object.defineProperty(this, "_info", { value: {} }), a.info && typeof a.info == "object" && Object.assign(this._info, a.info), Error.captureStackTrace) {
4004
4004
  const i = a.constructorOpt || this.constructor;
@@ -4027,11 +4027,11 @@ caused by: ${Te.fullStack(n)}` : t.stack;
4027
4027
  return this.message && (t = `${t}: ${this.message}`), t;
4028
4028
  }
4029
4029
  }
4030
- const ua = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Dt = 32, Jr = 281474976710655, Ol = 10, yl = 16, Pt = Object.freeze({
4030
+ const ua = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Dt = 32, Jr = 281474976710655, Nl = 10, Ol = 16, Rt = Object.freeze({
4031
4031
  source: "ulid"
4032
4032
  });
4033
- function Ll(e) {
4034
- const t = e || Il(), n = t && (t.crypto || t.msCrypto) || null;
4033
+ function yl(e) {
4034
+ const t = e || Ll(), n = t && (t.crypto || t.msCrypto) || null;
4035
4035
  if (typeof (n == null ? void 0 : n.getRandomValues) == "function")
4036
4036
  return () => {
4037
4037
  const s = new Uint8Array(1);
@@ -4042,46 +4042,46 @@ function Ll(e) {
4042
4042
  throw new Te({
4043
4043
  info: {
4044
4044
  code: "PRNG_DETECT",
4045
- ...Pt
4045
+ ...Rt
4046
4046
  }
4047
4047
  }, "Failed to find a reliable PRNG");
4048
4048
  }
4049
- function Il() {
4050
- return Al() ? self : typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : null;
4049
+ function Ll() {
4050
+ return Sl() ? self : typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : null;
4051
4051
  }
4052
- function kl(e, t) {
4052
+ function Il(e, t) {
4053
4053
  let n = "";
4054
4054
  for (; e > 0; e--)
4055
- n = Cl(t) + n;
4055
+ n = Al(t) + n;
4056
4056
  return n;
4057
4057
  }
4058
- function Sl(e, t) {
4058
+ function kl(e, t) {
4059
4059
  if (isNaN(e))
4060
4060
  throw new Te({
4061
4061
  info: {
4062
4062
  code: "ENC_TIME_NAN",
4063
- ...Pt
4063
+ ...Rt
4064
4064
  }
4065
4065
  }, `Time must be a number: ${e}`);
4066
4066
  if (e > Jr)
4067
4067
  throw new Te({
4068
4068
  info: {
4069
4069
  code: "ENC_TIME_SIZE_EXCEED",
4070
- ...Pt
4070
+ ...Rt
4071
4071
  }
4072
4072
  }, `Cannot encode a time larger than ${Jr}: ${e}`);
4073
4073
  if (e < 0)
4074
4074
  throw new Te({
4075
4075
  info: {
4076
4076
  code: "ENC_TIME_NEG",
4077
- ...Pt
4077
+ ...Rt
4078
4078
  }
4079
4079
  }, `Time must be positive: ${e}`);
4080
4080
  if (Number.isInteger(e) === !1)
4081
4081
  throw new Te({
4082
4082
  info: {
4083
4083
  code: "ENC_TIME_TYPE",
4084
- ...Pt
4084
+ ...Rt
4085
4085
  }
4086
4086
  }, `Time must be an integer: ${e}`);
4087
4087
  let n, s = "";
@@ -4089,16 +4089,16 @@ function Sl(e, t) {
4089
4089
  n = e % Dt, s = ua.charAt(n) + s, e = (e - n) / Dt;
4090
4090
  return s;
4091
4091
  }
4092
- function Al() {
4092
+ function Sl() {
4093
4093
  return typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope;
4094
4094
  }
4095
- function Cl(e) {
4095
+ function Al(e) {
4096
4096
  let t = Math.floor(e() * Dt);
4097
4097
  return t === Dt && (t = Dt - 1), ua.charAt(t);
4098
4098
  }
4099
4099
  function fa(e, t) {
4100
- const n = t || Ll(), s = isNaN(e) ? Date.now() : e;
4101
- return Sl(s, Ol) + kl(yl, n);
4100
+ const n = t || yl(), s = isNaN(e) ? Date.now() : e;
4101
+ return kl(s, Nl) + Il(Ol, n);
4102
4102
  }
4103
4103
  var ir = { exports: {} };
4104
4104
  ir.exports;
@@ -4149,9 +4149,9 @@ ir.exports;
4149
4149
  },
4150
4150
  //compress into uint8array (UCS-2 big endian format)
4151
4151
  compressToUint8Array: function(l) {
4152
- for (var c = i.compress(l), h = new Uint8Array(c.length * 2), m = 0, f = c.length; m < f; m++) {
4153
- var E = c.charCodeAt(m);
4154
- h[m * 2] = E >>> 8, h[m * 2 + 1] = E % 256;
4152
+ for (var c = i.compress(l), h = new Uint8Array(c.length * 2), _ = 0, f = c.length; _ < f; _++) {
4153
+ var E = c.charCodeAt(_);
4154
+ h[_ * 2] = E >>> 8, h[_ * 2 + 1] = E % 256;
4155
4155
  }
4156
4156
  return h;
4157
4157
  },
@@ -4159,7 +4159,7 @@ ir.exports;
4159
4159
  decompressFromUint8Array: function(l) {
4160
4160
  if (l == null)
4161
4161
  return i.decompress(l);
4162
- for (var c = new Array(l.length / 2), h = 0, m = c.length; h < m; h++)
4162
+ for (var c = new Array(l.length / 2), h = 0, _ = c.length; h < _; h++)
4163
4163
  c[h] = l[h * 2] * 256 + l[h * 2 + 1];
4164
4164
  var f = [];
4165
4165
  return c.forEach(function(E) {
@@ -4186,49 +4186,49 @@ ir.exports;
4186
4186
  _compress: function(l, c, h) {
4187
4187
  if (l == null)
4188
4188
  return "";
4189
- var m, f, E = {}, N = {}, I = "", S = "", d = "", p = 2, v = 3, g = 2, k = [], b = 0, y = 0, C;
4189
+ var _, f, E = {}, N = {}, I = "", S = "", d = "", p = 2, v = 3, g = 2, k = [], b = 0, y = 0, C;
4190
4190
  for (C = 0; C < l.length; C += 1)
4191
4191
  if (I = l.charAt(C), Object.prototype.hasOwnProperty.call(E, I) || (E[I] = v++, N[I] = !0), S = d + I, Object.prototype.hasOwnProperty.call(E, S))
4192
4192
  d = S;
4193
4193
  else {
4194
4194
  if (Object.prototype.hasOwnProperty.call(N, d)) {
4195
4195
  if (d.charCodeAt(0) < 256) {
4196
- for (m = 0; m < g; m++)
4196
+ for (_ = 0; _ < g; _++)
4197
4197
  b = b << 1, y == c - 1 ? (y = 0, k.push(h(b)), b = 0) : y++;
4198
- for (f = d.charCodeAt(0), m = 0; m < 8; m++)
4198
+ for (f = d.charCodeAt(0), _ = 0; _ < 8; _++)
4199
4199
  b = b << 1 | f & 1, y == c - 1 ? (y = 0, k.push(h(b)), b = 0) : y++, f = f >> 1;
4200
4200
  } else {
4201
- for (f = 1, m = 0; m < g; m++)
4201
+ for (f = 1, _ = 0; _ < g; _++)
4202
4202
  b = b << 1 | f, y == c - 1 ? (y = 0, k.push(h(b)), b = 0) : y++, f = 0;
4203
- for (f = d.charCodeAt(0), m = 0; m < 16; m++)
4203
+ for (f = d.charCodeAt(0), _ = 0; _ < 16; _++)
4204
4204
  b = b << 1 | f & 1, y == c - 1 ? (y = 0, k.push(h(b)), b = 0) : y++, f = f >> 1;
4205
4205
  }
4206
4206
  p--, p == 0 && (p = Math.pow(2, g), g++), delete N[d];
4207
4207
  } else
4208
- for (f = E[d], m = 0; m < g; m++)
4208
+ for (f = E[d], _ = 0; _ < g; _++)
4209
4209
  b = b << 1 | f & 1, y == c - 1 ? (y = 0, k.push(h(b)), b = 0) : y++, f = f >> 1;
4210
4210
  p--, p == 0 && (p = Math.pow(2, g), g++), E[S] = v++, d = String(I);
4211
4211
  }
4212
4212
  if (d !== "") {
4213
4213
  if (Object.prototype.hasOwnProperty.call(N, d)) {
4214
4214
  if (d.charCodeAt(0) < 256) {
4215
- for (m = 0; m < g; m++)
4215
+ for (_ = 0; _ < g; _++)
4216
4216
  b = b << 1, y == c - 1 ? (y = 0, k.push(h(b)), b = 0) : y++;
4217
- for (f = d.charCodeAt(0), m = 0; m < 8; m++)
4217
+ for (f = d.charCodeAt(0), _ = 0; _ < 8; _++)
4218
4218
  b = b << 1 | f & 1, y == c - 1 ? (y = 0, k.push(h(b)), b = 0) : y++, f = f >> 1;
4219
4219
  } else {
4220
- for (f = 1, m = 0; m < g; m++)
4220
+ for (f = 1, _ = 0; _ < g; _++)
4221
4221
  b = b << 1 | f, y == c - 1 ? (y = 0, k.push(h(b)), b = 0) : y++, f = 0;
4222
- for (f = d.charCodeAt(0), m = 0; m < 16; m++)
4222
+ for (f = d.charCodeAt(0), _ = 0; _ < 16; _++)
4223
4223
  b = b << 1 | f & 1, y == c - 1 ? (y = 0, k.push(h(b)), b = 0) : y++, f = f >> 1;
4224
4224
  }
4225
4225
  p--, p == 0 && (p = Math.pow(2, g), g++), delete N[d];
4226
4226
  } else
4227
- for (f = E[d], m = 0; m < g; m++)
4227
+ for (f = E[d], _ = 0; _ < g; _++)
4228
4228
  b = b << 1 | f & 1, y == c - 1 ? (y = 0, k.push(h(b)), b = 0) : y++, f = f >> 1;
4229
4229
  p--, p == 0 && (p = Math.pow(2, g), g++);
4230
4230
  }
4231
- for (f = 2, m = 0; m < g; m++)
4231
+ for (f = 2, _ = 0; _ < g; _++)
4232
4232
  b = b << 1 | f & 1, y == c - 1 ? (y = 0, k.push(h(b)), b = 0) : y++, f = f >> 1;
4233
4233
  for (; ; )
4234
4234
  if (b = b << 1, y == c - 1) {
@@ -4244,9 +4244,9 @@ ir.exports;
4244
4244
  });
4245
4245
  },
4246
4246
  _decompress: function(l, c, h) {
4247
- var m = [], f = 4, E = 4, N = 3, I = "", S = [], d, p, v, g, k, b, y, C = { val: h(0), position: c, index: 1 };
4247
+ var _ = [], f = 4, E = 4, N = 3, I = "", S = [], d, p, v, g, k, b, y, C = { val: h(0), position: c, index: 1 };
4248
4248
  for (d = 0; d < 3; d += 1)
4249
- m[d] = d;
4249
+ _[d] = d;
4250
4250
  for (v = 0, k = Math.pow(2, 2), b = 1; b != k; )
4251
4251
  g = C.val & C.position, C.position >>= 1, C.position == 0 && (C.position = c, C.val = h(C.index++)), v |= (g > 0 ? 1 : 0) * b, b <<= 1;
4252
4252
  switch (v) {
@@ -4263,7 +4263,7 @@ ir.exports;
4263
4263
  case 2:
4264
4264
  return "";
4265
4265
  }
4266
- for (m[3] = y, p = y, S.push(y); ; ) {
4266
+ for (_[3] = y, p = y, S.push(y); ; ) {
4267
4267
  if (C.index > l)
4268
4268
  return "";
4269
4269
  for (v = 0, k = Math.pow(2, N), b = 1; b != k; )
@@ -4272,23 +4272,23 @@ ir.exports;
4272
4272
  case 0:
4273
4273
  for (v = 0, k = Math.pow(2, 8), b = 1; b != k; )
4274
4274
  g = C.val & C.position, C.position >>= 1, C.position == 0 && (C.position = c, C.val = h(C.index++)), v |= (g > 0 ? 1 : 0) * b, b <<= 1;
4275
- m[E++] = n(v), y = E - 1, f--;
4275
+ _[E++] = n(v), y = E - 1, f--;
4276
4276
  break;
4277
4277
  case 1:
4278
4278
  for (v = 0, k = Math.pow(2, 16), b = 1; b != k; )
4279
4279
  g = C.val & C.position, C.position >>= 1, C.position == 0 && (C.position = c, C.val = h(C.index++)), v |= (g > 0 ? 1 : 0) * b, b <<= 1;
4280
- m[E++] = n(v), y = E - 1, f--;
4280
+ _[E++] = n(v), y = E - 1, f--;
4281
4281
  break;
4282
4282
  case 2:
4283
4283
  return S.join("");
4284
4284
  }
4285
- if (f == 0 && (f = Math.pow(2, N), N++), m[y])
4286
- I = m[y];
4285
+ if (f == 0 && (f = Math.pow(2, N), N++), _[y])
4286
+ I = _[y];
4287
4287
  else if (y === E)
4288
4288
  I = p + p.charAt(0);
4289
4289
  else
4290
4290
  return null;
4291
- S.push(I), m[E++] = p + I.charAt(0), f--, p = I, f == 0 && (f = Math.pow(2, N), N++);
4291
+ S.push(I), _[E++] = p + I.charAt(0), f--, p = I, f == 0 && (f = Math.pow(2, N), N++);
4292
4292
  }
4293
4293
  }
4294
4294
  };
@@ -4299,11 +4299,11 @@ ir.exports;
4299
4299
  });
4300
4300
  })(ir);
4301
4301
  var da = ir.exports;
4302
- const wl = new TextEncoder(), Rl = new TextDecoder("utf-8", { ignoreBOM: !0 }), Qr = {
4302
+ const Cl = new TextEncoder(), wl = new TextDecoder("utf-8", { ignoreBOM: !0 }), Qr = {
4303
4303
  /* API */
4304
- encode: (e) => wl.encode(e),
4305
- decode: (e) => Rl.decode(e)
4306
- }, _a = (() => {
4304
+ encode: (e) => Cl.encode(e),
4305
+ decode: (e) => wl.decode(e)
4306
+ }, ma = (() => {
4307
4307
  const t = [..."0123456789abcdef"], n = new Array(256);
4308
4308
  for (let s = 0; s < 256; s++)
4309
4309
  n[s] = `${t[s >>> 4 & 15]}${t[s & 15]}`;
@@ -4311,16 +4311,16 @@ const wl = new TextEncoder(), Rl = new TextDecoder("utf-8", { ignoreBOM: !0 }),
4311
4311
  })(), Pl = (() => {
4312
4312
  const e = {};
4313
4313
  for (let t = 0; t < 256; t++) {
4314
- const n = _a[t], s = n[0], a = s.toUpperCase(), r = n[1], o = r.toUpperCase();
4314
+ const n = ma[t], s = n[0], a = s.toUpperCase(), r = n[1], o = r.toUpperCase();
4315
4315
  e[n] = t, e[`${s}${o}`] = t, e[`${a}${r}`] = t, e[`${a}${o}`] = t;
4316
4316
  }
4317
4317
  return e;
4318
- })(), Ml = (e) => !(e.length % 2 || !/^[a-fA-F0-9]*$/.test(e)), Un = {
4318
+ })(), Rl = (e) => !(e.length % 2 || !/^[a-fA-F0-9]*$/.test(e)), Un = {
4319
4319
  /* API */
4320
4320
  encode: (e) => {
4321
4321
  let t = "";
4322
4322
  for (let n = 0, s = e.length; n < s; n++)
4323
- t += _a[e[n]];
4323
+ t += ma[e[n]];
4324
4324
  return t;
4325
4325
  },
4326
4326
  encodeStr: (e) => Un.encode(Qr.encode(e)),
@@ -4331,17 +4331,17 @@ const wl = new TextEncoder(), Rl = new TextDecoder("utf-8", { ignoreBOM: !0 }),
4331
4331
  return n;
4332
4332
  },
4333
4333
  decodeStr: (e) => Qr.decode(Un.decode(e)),
4334
- is: Ml
4334
+ is: Rl
4335
4335
  };
4336
4336
  function Ft(e) {
4337
4337
  if (!Number.isSafeInteger(e) || e < 0)
4338
4338
  throw new Error(`Wrong positive integer: ${e}`);
4339
4339
  }
4340
- function Dl(e) {
4340
+ function Ml(e) {
4341
4341
  return e instanceof Uint8Array || e != null && typeof e == "object" && e.constructor.name === "Uint8Array";
4342
4342
  }
4343
- function ma(e, ...t) {
4344
- if (!Dl(e))
4343
+ function _a(e, ...t) {
4344
+ if (!Ml(e))
4345
4345
  throw new Error("Expected Uint8Array");
4346
4346
  if (t.length > 0 && !t.includes(e.length))
4347
4347
  throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`);
@@ -4353,7 +4353,7 @@ function $n(e, t = !0) {
4353
4353
  throw new Error("Hash#digest() has already been called");
4354
4354
  }
4355
4355
  function ha(e, t) {
4356
- ma(e);
4356
+ _a(e);
4357
4357
  const n = t.outputLen;
4358
4358
  if (e.length < n)
4359
4359
  throw new Error(`digestInto() expects output buffer of length at least ${n}`);
@@ -4363,34 +4363,34 @@ function ts(e, t = !1) {
4363
4363
  return t ? { h: Number(e & zt), l: Number(e >> es & zt) } : { h: Number(e >> es & zt) | 0, l: Number(e & zt) | 0 };
4364
4364
  }
4365
4365
  /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
4366
- const Fl = (e) => new Uint8Array(e.buffer, e.byteOffset, e.byteLength), an = (e) => new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4));
4367
- function xl(e) {
4366
+ const Dl = (e) => new Uint8Array(e.buffer, e.byteOffset, e.byteLength), an = (e) => new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4));
4367
+ function Fl(e) {
4368
4368
  return e instanceof Uint8Array || e != null && typeof e == "object" && e.constructor.name === "Uint8Array";
4369
4369
  }
4370
- const on = (e, t) => e << 32 - t | e >>> t, Ul = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
4371
- if (!Ul)
4370
+ const on = (e, t) => e << 32 - t | e >>> t, xl = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
4371
+ if (!xl)
4372
4372
  throw new Error("Non little-endian hardware is not supported");
4373
- function $l(e) {
4373
+ function Ul(e) {
4374
4374
  if (typeof e != "string")
4375
4375
  throw new Error(`utf8ToBytes expected string, got ${typeof e}`);
4376
4376
  return new Uint8Array(new TextEncoder().encode(e));
4377
4377
  }
4378
4378
  function lr(e) {
4379
- if (typeof e == "string" && (e = $l(e)), !xl(e))
4379
+ if (typeof e == "string" && (e = Ul(e)), !Fl(e))
4380
4380
  throw new Error(`expected Uint8Array, got ${typeof e}`);
4381
4381
  return e;
4382
4382
  }
4383
- class Vl {
4383
+ class $l {
4384
4384
  // Safe version that clones internal state
4385
4385
  clone() {
4386
4386
  return this._cloneInto();
4387
4387
  }
4388
4388
  }
4389
- function Wl(e) {
4389
+ function Vl(e) {
4390
4390
  const t = (s, a) => e(a).update(lr(s)).digest(), n = e({});
4391
4391
  return t.outputLen = n.outputLen, t.blockLen = n.blockLen, t.create = (s) => e(s), t;
4392
4392
  }
4393
- class Bl extends Vl {
4393
+ class Wl extends $l {
4394
4394
  constructor(t, n, s = {}, a, r, o) {
4395
4395
  if (super(), this.blockLen = t, this.outputLen = n, this.length = 0, this.pos = 0, this.finished = !1, this.destroyed = !1, Ft(t), Ft(n), Ft(a), n < 0 || n > a)
4396
4396
  throw new Error("outputLen bigger than keyLen");
@@ -4411,9 +4411,9 @@ class Bl extends Vl {
4411
4411
  this.pos === n && (this.compress(a, 0, !1), this.pos = 0);
4412
4412
  const c = Math.min(n - this.pos, r - l), h = o + l;
4413
4413
  if (c === n && !(h % 4) && l + c < r) {
4414
- const m = new Uint32Array(i, h, Math.floor((r - l) / 4));
4414
+ const _ = new Uint32Array(i, h, Math.floor((r - l) / 4));
4415
4415
  for (let f = 0; l + n < r; f += a.length, l += n)
4416
- this.length += n, this.compress(m, f, !1);
4416
+ this.length += n, this.compress(_, f, !1);
4417
4417
  continue;
4418
4418
  }
4419
4419
  s.set(t.subarray(l, l + c), this.pos), this.pos += c, this.length += c, l += c;
@@ -4445,11 +4445,11 @@ function Ge(e, t, n, s, a) {
4445
4445
  function je(e, t, n, s, a) {
4446
4446
  return e = e + t + a | 0, s = on(s ^ e, 8), n = n + s | 0, t = on(t ^ n, 7), { a: e, b: t, c: n, d: s };
4447
4447
  }
4448
- function ns(e, t, n, s, a, r, o, i, l, c, h, m, f, E, N, I, S, d, p, v) {
4448
+ function ns(e, t, n, s, a, r, o, i, l, c, h, _, f, E, N, I, S, d, p, v) {
4449
4449
  let g = 0;
4450
4450
  for (let k = 0; k < s; k++)
4451
- ({ a, b: l, c: f, d: S } = Ge(a, l, f, S, n[t + e[g++]])), { a, b: l, c: f, d: S } = je(a, l, f, S, n[t + e[g++]]), { a: r, b: c, c: E, d } = Ge(r, c, E, d, n[t + e[g++]]), { a: r, b: c, c: E, d } = je(r, c, E, d, n[t + e[g++]]), { a: o, b: h, c: N, d: p } = Ge(o, h, N, p, n[t + e[g++]]), { a: o, b: h, c: N, d: p } = je(o, h, N, p, n[t + e[g++]]), { a: i, b: m, c: I, d: v } = Ge(i, m, I, v, n[t + e[g++]]), { a: i, b: m, c: I, d: v } = je(i, m, I, v, n[t + e[g++]]), { a, b: c, c: N, d: v } = Ge(a, c, N, v, n[t + e[g++]]), { a, b: c, c: N, d: v } = je(a, c, N, v, n[t + e[g++]]), { a: r, b: h, c: I, d: S } = Ge(r, h, I, S, n[t + e[g++]]), { a: r, b: h, c: I, d: S } = je(r, h, I, S, n[t + e[g++]]), { a: o, b: m, c: f, d } = Ge(o, m, f, d, n[t + e[g++]]), { a: o, b: m, c: f, d } = je(o, m, f, d, n[t + e[g++]]), { a: i, b: l, c: E, d: p } = Ge(i, l, E, p, n[t + e[g++]]), { a: i, b: l, c: E, d: p } = je(i, l, E, p, n[t + e[g++]]);
4452
- return { v0: a, v1: r, v2: o, v3: i, v4: l, v5: c, v6: h, v7: m, v8: f, v9: E, v10: N, v11: I, v12: S, v13: d, v14: p, v15: v };
4451
+ ({ a, b: l, c: f, d: S } = Ge(a, l, f, S, n[t + e[g++]])), { a, b: l, c: f, d: S } = je(a, l, f, S, n[t + e[g++]]), { a: r, b: c, c: E, d } = Ge(r, c, E, d, n[t + e[g++]]), { a: r, b: c, c: E, d } = je(r, c, E, d, n[t + e[g++]]), { a: o, b: h, c: N, d: p } = Ge(o, h, N, p, n[t + e[g++]]), { a: o, b: h, c: N, d: p } = je(o, h, N, p, n[t + e[g++]]), { a: i, b: _, c: I, d: v } = Ge(i, _, I, v, n[t + e[g++]]), { a: i, b: _, c: I, d: v } = je(i, _, I, v, n[t + e[g++]]), { a, b: c, c: N, d: v } = Ge(a, c, N, v, n[t + e[g++]]), { a, b: c, c: N, d: v } = je(a, c, N, v, n[t + e[g++]]), { a: r, b: h, c: I, d: S } = Ge(r, h, I, S, n[t + e[g++]]), { a: r, b: h, c: I, d: S } = je(r, h, I, S, n[t + e[g++]]), { a: o, b: _, c: f, d } = Ge(o, _, f, d, n[t + e[g++]]), { a: o, b: _, c: f, d } = je(o, _, f, d, n[t + e[g++]]), { a: i, b: l, c: E, d: p } = Ge(i, l, E, p, n[t + e[g++]]), { a: i, b: l, c: E, d: p } = je(i, l, E, p, n[t + e[g++]]);
4452
+ return { v0: a, v1: r, v2: o, v3: i, v4: l, v5: c, v6: h, v7: _, v8: f, v9: E, v10: N, v11: I, v12: S, v13: d, v14: p, v15: v };
4453
4453
  }
4454
4454
  const rs = /* @__PURE__ */ (() => {
4455
4455
  const e = Array.from({ length: 16 }, (s, a) => a), t = (s) => [2, 6, 3, 10, 7, 0, 4, 13, 1, 11, 12, 5, 9, 14, 15, 8].map((a) => s[a]), n = [];
@@ -4457,7 +4457,7 @@ const rs = /* @__PURE__ */ (() => {
4457
4457
  n.push(...a);
4458
4458
  return Uint8Array.from(n);
4459
4459
  })();
4460
- class cr extends Bl {
4460
+ class cr extends Wl {
4461
4461
  constructor(t = {}, n = 0) {
4462
4462
  if (super(64, t.dkLen === void 0 ? 32 : t.dkLen, {}, Number.MAX_SAFE_INTEGER, 0, 0), this.flags = 0, this.chunkPos = 0, this.chunksDone = 0, this.stack = [], this.posOut = 0, this.bufferOut32 = new Uint32Array(16), this.chunkOut = 0, this.enableXOF = !0, this.outputLen = t.dkLen === void 0 ? 32 : t.dkLen, Ft(this.outputLen), t.key !== void 0 && t.context !== void 0)
4463
4463
  throw new Error("Blake3: only key or context can be specified at same time");
@@ -4475,7 +4475,7 @@ class cr extends Bl {
4475
4475
  this.IV = an(s), this.flags = n | 64;
4476
4476
  } else
4477
4477
  this.IV = Me.slice(), this.flags = n;
4478
- this.state = this.IV.slice(), this.bufferOut = Fl(this.bufferOut32);
4478
+ this.state = this.IV.slice(), this.bufferOut = Dl(this.bufferOut32);
4479
4479
  }
4480
4480
  // Unused
4481
4481
  get() {
@@ -4484,8 +4484,8 @@ class cr extends Bl {
4484
4484
  set() {
4485
4485
  }
4486
4486
  b2Compress(t, n, s, a = 0) {
4487
- const { state: r, pos: o } = this, { h: i, l } = ts(BigInt(t), !0), { v0: c, v1: h, v2: m, v3: f, v4: E, v5: N, v6: I, v7: S, v8: d, v9: p, v10: v, v11: g, v12: k, v13: b, v14: y, v15: C } = ns(rs, a, s, 7, r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7], Me[0], Me[1], Me[2], Me[3], i, l, o, n);
4488
- r[0] = c ^ d, r[1] = h ^ p, r[2] = m ^ v, r[3] = f ^ g, r[4] = E ^ k, r[5] = N ^ b, r[6] = I ^ y, r[7] = S ^ C;
4487
+ const { state: r, pos: o } = this, { h: i, l } = ts(BigInt(t), !0), { v0: c, v1: h, v2: _, v3: f, v4: E, v5: N, v6: I, v7: S, v8: d, v9: p, v10: v, v11: g, v12: k, v13: b, v14: y, v15: C } = ns(rs, a, s, 7, r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7], Me[0], Me[1], Me[2], Me[3], i, l, o, n);
4488
+ r[0] = c ^ d, r[1] = h ^ p, r[2] = _ ^ v, r[3] = f ^ g, r[4] = E ^ k, r[5] = N ^ b, r[6] = I ^ y, r[7] = S ^ C;
4489
4489
  }
4490
4490
  compress(t, n = 0, s = !1) {
4491
4491
  let a = this.flags;
@@ -4510,8 +4510,8 @@ class cr extends Bl {
4510
4510
  }
4511
4511
  // Same as b2Compress, but doesn't modify state and returns 16 u32 array (instead of 8)
4512
4512
  b2CompressOut() {
4513
- const { state: t, pos: n, flags: s, buffer32: a, bufferOut32: r } = this, { h: o, l: i } = ts(BigInt(this.chunkOut++)), { v0: l, v1: c, v2: h, v3: m, v4: f, v5: E, v6: N, v7: I, v8: S, v9: d, v10: p, v11: v, v12: g, v13: k, v14: b, v15: y } = ns(rs, 0, a, 7, t[0], t[1], t[2], t[3], t[4], t[5], t[6], t[7], Me[0], Me[1], Me[2], Me[3], i, o, n, s);
4514
- r[0] = l ^ S, r[1] = c ^ d, r[2] = h ^ p, r[3] = m ^ v, r[4] = f ^ g, r[5] = E ^ k, r[6] = N ^ b, r[7] = I ^ y, r[8] = t[0] ^ S, r[9] = t[1] ^ d, r[10] = t[2] ^ p, r[11] = t[3] ^ v, r[12] = t[4] ^ g, r[13] = t[5] ^ k, r[14] = t[6] ^ b, r[15] = t[7] ^ y, this.posOut = 0;
4513
+ const { state: t, pos: n, flags: s, buffer32: a, bufferOut32: r } = this, { h: o, l: i } = ts(BigInt(this.chunkOut++)), { v0: l, v1: c, v2: h, v3: _, v4: f, v5: E, v6: N, v7: I, v8: S, v9: d, v10: p, v11: v, v12: g, v13: k, v14: b, v15: y } = ns(rs, 0, a, 7, t[0], t[1], t[2], t[3], t[4], t[5], t[6], t[7], Me[0], Me[1], Me[2], Me[3], i, o, n, s);
4514
+ r[0] = l ^ S, r[1] = c ^ d, r[2] = h ^ p, r[3] = _ ^ v, r[4] = f ^ g, r[5] = E ^ k, r[6] = N ^ b, r[7] = I ^ y, r[8] = t[0] ^ S, r[9] = t[1] ^ d, r[10] = t[2] ^ p, r[11] = t[3] ^ v, r[12] = t[4] ^ g, r[13] = t[5] ^ k, r[14] = t[6] ^ b, r[15] = t[7] ^ y, this.posOut = 0;
4515
4515
  }
4516
4516
  finish() {
4517
4517
  if (this.finished)
@@ -4521,7 +4521,7 @@ class cr extends Bl {
4521
4521
  this.stack.length ? (t |= 4, this.compress(this.buffer32, 0, !0), this.chunksDone = 0, this.pos = this.blockLen) : t |= (this.chunkPos ? 0 : 1) | 2, this.flags = t, this.b2CompressOut();
4522
4522
  }
4523
4523
  writeInto(t) {
4524
- $n(this, !1), ma(t), this.finish();
4524
+ $n(this, !1), _a(t), this.finish();
4525
4525
  const { blockLen: n, bufferOut: s } = this;
4526
4526
  for (let a = 0, r = t.length; a < r; ) {
4527
4527
  this.posOut >= n && this.b2CompressOut();
@@ -4547,10 +4547,10 @@ class cr extends Bl {
4547
4547
  return this.digestInto(new Uint8Array(this.outputLen));
4548
4548
  }
4549
4549
  }
4550
- const Hl = /* @__PURE__ */ Wl((e) => new cr(e)), pa = (e) => {
4550
+ const Bl = /* @__PURE__ */ Vl((e) => new cr(e)), pa = (e) => {
4551
4551
  const t = `${e.id}|${e.title}|${e.iframe ? "Y" : "N"}|${e.closable ? "Y" : "N"}|${e.refreshable ? "Y" : "N"}`;
4552
4552
  return da.compressToEncodedURIComponent(t);
4553
- }, Gl = (e) => {
4553
+ }, Hl = (e) => {
4554
4554
  const n = da.decompressFromEncodedURIComponent(e).split("|");
4555
4555
  return {
4556
4556
  id: n[0],
@@ -4570,7 +4570,7 @@ const Hl = /* @__PURE__ */ Wl((e) => new cr(e)), pa = (e) => {
4570
4570
  let i = 0;
4571
4571
  return r.key > o.key ? i = 1 : r.key < o.key && (i = -1), i;
4572
4572
  });
4573
- const a = Hl(`${e}|${t}|${JSON.stringify(s)}`);
4573
+ const a = Bl(`${e}|${t}|${JSON.stringify(s)}`);
4574
4574
  return Un.encode(a);
4575
4575
  };
4576
4576
  function Nn(e) {
@@ -4596,13 +4596,13 @@ function Vn(e, t, n = ".", s) {
4596
4596
  }
4597
4597
  return a;
4598
4598
  }
4599
- function jl(e) {
4599
+ function Gl(e) {
4600
4600
  return (...t) => (
4601
4601
  // eslint-disable-next-line unicorn/no-array-reduce
4602
4602
  t.reduce((n, s) => Vn(n, s, "", e), {})
4603
4603
  );
4604
4604
  }
4605
- const Se = jl(), ur = (e) => {
4605
+ const Se = Gl(), ur = (e) => {
4606
4606
  const t = e.split("?");
4607
4607
  if (t.length <= 1)
4608
4608
  return {
@@ -4677,7 +4677,7 @@ const Se = jl(), ur = (e) => {
4677
4677
  return null;
4678
4678
  }, o = (T, w) => {
4679
4679
  let D;
4680
- const O = Gl(T.query.__tab), M = ss(O.id, T.path, T.query.valueOf()), Z = T.query.__src;
4680
+ const O = Hl(T.query.__tab), M = ss(O.id, T.path, T.query.valueOf()), Z = T.query.__src;
4681
4681
  if (nt.has(M))
4682
4682
  D = nt.get(M);
4683
4683
  else {
@@ -4783,7 +4783,7 @@ const Se = jl(), ur = (e) => {
4783
4783
  return;
4784
4784
  }
4785
4785
  k(D[0].id);
4786
- }, m = (T) => {
4786
+ }, _ = (T) => {
4787
4787
  const w = x(W);
4788
4788
  let D = w.length;
4789
4789
  for (let O = 0; O < w.length; O++)
@@ -4879,7 +4879,7 @@ const Se = jl(), ur = (e) => {
4879
4879
  removeTab: i,
4880
4880
  removeAllTabs: l,
4881
4881
  removeLeftTabs: h,
4882
- removeRightTabs: m,
4882
+ removeRightTabs: _,
4883
4883
  removeOtherTabs: c,
4884
4884
  hasTab: s,
4885
4885
  addPage: o,
@@ -4891,14 +4891,14 @@ const Se = jl(), ur = (e) => {
4891
4891
  refreshTab: f,
4892
4892
  refreshAllTabs: E
4893
4893
  };
4894
- }, Yl = { class: "stack-tab__contextmenu-item" }, Ye = /* @__PURE__ */ fe({
4894
+ }, jl = { class: "stack-tab__contextmenu-item" }, Ye = /* @__PURE__ */ fe({
4895
4895
  __name: "ContextMenuItem",
4896
4896
  props: {
4897
4897
  icon: {},
4898
4898
  title: {}
4899
4899
  },
4900
4900
  setup(e) {
4901
- return (t, n) => (z(), se("div", Yl, [
4901
+ return (t, n) => (z(), se("div", jl, [
4902
4902
  ve("div", {
4903
4903
  class: xe(["stack-tab__contextmenu-icon", t.icon])
4904
4904
  }, null, 2),
@@ -4909,10 +4909,10 @@ const Se = jl(), ur = (e) => {
4909
4909
  }, Ls(t.title), 33)
4910
4910
  ]));
4911
4911
  }
4912
- }), Xl = {
4912
+ }), Yl = {
4913
4913
  key: 0,
4914
4914
  class: "divider div-transparent"
4915
- }, zl = /* @__PURE__ */ fe({
4915
+ }, Xl = /* @__PURE__ */ fe({
4916
4916
  __name: "index",
4917
4917
  props: {
4918
4918
  index: {},
@@ -4933,7 +4933,7 @@ const Se = jl(), ur = (e) => {
4933
4933
  removeRightTabs: l,
4934
4934
  refreshTab: c,
4935
4935
  refreshAllTabs: h,
4936
- removeOtherTabs: m
4936
+ removeOtherTabs: _
4937
4937
  } = jt();
4938
4938
  return Gt(() => {
4939
4939
  const f = s.value ? s.value.clientWidth : 0, E = window.innerWidth;
@@ -4979,14 +4979,14 @@ const Se = jl(), ur = (e) => {
4979
4979
  oe(Ye, {
4980
4980
  icon: "stack-tab__icon-close-others svg-mask",
4981
4981
  title: x(n)("VueStackTab.closeOthers"),
4982
- onClick: E[4] || (E[4] = (N) => x(m)(f.tabItem.id))
4982
+ onClick: E[4] || (E[4] = (N) => x(_)(f.tabItem.id))
4983
4983
  }, null, 8, ["title"]),
4984
4984
  oe(Ye, {
4985
4985
  icon: "stack-tab__icon-close-all svg-mask",
4986
4986
  title: x(n)("VueStackTab.closeAll"),
4987
4987
  onClick: x(o)
4988
4988
  }, null, 8, ["title", "onClick"]),
4989
- f.contextMenu !== void 0 && f.contextMenu.length > 0 ? (z(), se("div", Xl)) : ze("", !0),
4989
+ f.contextMenu !== void 0 && f.contextMenu.length > 0 ? (z(), se("div", Yl)) : ze("", !0),
4990
4990
  (z(!0), se(Nt, null, jn(f.contextMenu, (N, I) => (z(), $e(Ye, {
4991
4991
  key: I,
4992
4992
  icon: N.icon,
@@ -4996,12 +4996,12 @@ const Se = jl(), ur = (e) => {
4996
4996
  }, null, 8, ["icon", "title", "disabled", "onClick"]))), 128))
4997
4997
  ], 4));
4998
4998
  }
4999
- }), Kl = (e, t) => {
4999
+ }), zl = (e, t) => {
5000
5000
  const n = e.__vccOpts || e;
5001
5001
  for (const [s, a] of t)
5002
5002
  n[s] = a;
5003
5003
  return n;
5004
- }, ql = /* @__PURE__ */ Kl(zl, [["__scopeId", "data-v-14c2c8e6"]]), Zl = () => {
5004
+ }, Kl = /* @__PURE__ */ zl(Xl, [["__scopeId", "data-v-716ce427"]]), ql = () => {
5005
5005
  const e = nn({
5006
5006
  item: {},
5007
5007
  index: -1,
@@ -5027,7 +5027,7 @@ const Se = jl(), ur = (e) => {
5027
5027
  contextMenuData: e,
5028
5028
  showContextMenu: n
5029
5029
  };
5030
- }, Jl = { class: "stack-tab__item-title" }, Ql = ["title"], ec = ["title"], tc = /* @__PURE__ */ fe({
5030
+ }, Zl = { class: "stack-tab__item-title" }, Jl = ["title"], Ql = ["title"], ec = /* @__PURE__ */ fe({
5031
5031
  __name: "TabHeaderItem",
5032
5032
  props: {
5033
5033
  item: {}
@@ -5055,30 +5055,30 @@ const Se = jl(), ur = (e) => {
5055
5055
  }]),
5056
5056
  onClick: l
5057
5057
  }, [
5058
- ve("div", Jl, [
5058
+ ve("div", Zl, [
5059
5059
  ve("div", {
5060
5060
  class: "stack-tab__item-title-content",
5061
5061
  title: o.value
5062
- }, Ls(o.value), 9, Ql)
5062
+ }, Ls(o.value), 9, Jl)
5063
5063
  ]),
5064
5064
  c.item.closable ? (z(), se("div", {
5065
5065
  key: 0,
5066
5066
  class: "stack-tab__icon-close-fill stack-tab__item-button",
5067
5067
  title: x(s)("VueStackTab.close"),
5068
5068
  onClick: it(i, ["stop"])
5069
- }, null, 8, ec)) : ze("", !0)
5069
+ }, null, 8, Ql)) : ze("", !0)
5070
5070
  ], 2));
5071
5071
  }
5072
5072
  });
5073
- var st = [], nc = function() {
5073
+ var st = [], tc = function() {
5074
5074
  return st.some(function(e) {
5075
5075
  return e.activeTargets.length > 0;
5076
5076
  });
5077
- }, rc = function() {
5077
+ }, nc = function() {
5078
5078
  return st.some(function(e) {
5079
5079
  return e.skippedTargets.length > 0;
5080
5080
  });
5081
- }, os = "ResizeObserver loop completed with undelivered notifications.", sc = function() {
5081
+ }, os = "ResizeObserver loop completed with undelivered notifications.", rc = function() {
5082
5082
  var e;
5083
5083
  typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
5084
5084
  message: os
@@ -5089,7 +5089,7 @@ var st = [], nc = function() {
5089
5089
  })(Ht || (Ht = {}));
5090
5090
  var at = function(e) {
5091
5091
  return Object.freeze(e);
5092
- }, ac = /* @__PURE__ */ function() {
5092
+ }, sc = /* @__PURE__ */ function() {
5093
5093
  function e(t, n) {
5094
5094
  this.inlineSize = t, this.blockSize = n, at(this);
5095
5095
  }
@@ -5119,7 +5119,7 @@ var at = function(e) {
5119
5119
  return !0;
5120
5120
  var n = (t = e == null ? void 0 : e.ownerDocument) === null || t === void 0 ? void 0 : t.defaultView;
5121
5121
  return !!(n && e instanceof n.Element);
5122
- }, oc = function(e) {
5122
+ }, ac = function(e) {
5123
5123
  switch (e.tagName) {
5124
5124
  case "INPUT":
5125
5125
  if (e.type !== "image")
@@ -5134,10 +5134,10 @@ var at = function(e) {
5134
5134
  return !0;
5135
5135
  }
5136
5136
  return !1;
5137
- }, xt = typeof window < "u" ? window : {}, Zt = /* @__PURE__ */ new WeakMap(), ls = /auto|scroll/, ic = /^tb|vertical/, lc = /msie|trident/i.test(xt.navigator && xt.navigator.userAgent), Le = function(e) {
5137
+ }, xt = typeof window < "u" ? window : {}, Zt = /* @__PURE__ */ new WeakMap(), ls = /auto|scroll/, oc = /^tb|vertical/, ic = /msie|trident/i.test(xt.navigator && xt.navigator.userAgent), Le = function(e) {
5138
5138
  return parseFloat(e || "0");
5139
5139
  }, bt = function(e, t, n) {
5140
- return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new ac((n ? t : e) || 0, (n ? e : t) || 0);
5140
+ return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new sc((n ? t : e) || 0, (n ? e : t) || 0);
5141
5141
  }, cs = at({
5142
5142
  devicePixelContentBoxSize: bt(),
5143
5143
  borderBoxSize: bt(),
@@ -5148,11 +5148,11 @@ var at = function(e) {
5148
5148
  return Zt.get(e);
5149
5149
  if (ba(e))
5150
5150
  return Zt.set(e, cs), cs;
5151
- var n = getComputedStyle(e), s = fr(e) && e.ownerSVGElement && e.getBBox(), a = !lc && n.boxSizing === "border-box", r = ic.test(n.writingMode || ""), o = !s && ls.test(n.overflowY || ""), i = !s && ls.test(n.overflowX || ""), l = s ? 0 : Le(n.paddingTop), c = s ? 0 : Le(n.paddingRight), h = s ? 0 : Le(n.paddingBottom), m = s ? 0 : Le(n.paddingLeft), f = s ? 0 : Le(n.borderTopWidth), E = s ? 0 : Le(n.borderRightWidth), N = s ? 0 : Le(n.borderBottomWidth), I = s ? 0 : Le(n.borderLeftWidth), S = m + c, d = l + h, p = I + E, v = f + N, g = i ? e.offsetHeight - v - e.clientHeight : 0, k = o ? e.offsetWidth - p - e.clientWidth : 0, b = a ? S + p : 0, y = a ? d + v : 0, C = s ? s.width : Le(n.width) - b - k, T = s ? s.height : Le(n.height) - y - g, w = C + S + k + p, D = T + d + g + v, O = at({
5151
+ var n = getComputedStyle(e), s = fr(e) && e.ownerSVGElement && e.getBBox(), a = !ic && n.boxSizing === "border-box", r = oc.test(n.writingMode || ""), o = !s && ls.test(n.overflowY || ""), i = !s && ls.test(n.overflowX || ""), l = s ? 0 : Le(n.paddingTop), c = s ? 0 : Le(n.paddingRight), h = s ? 0 : Le(n.paddingBottom), _ = s ? 0 : Le(n.paddingLeft), f = s ? 0 : Le(n.borderTopWidth), E = s ? 0 : Le(n.borderRightWidth), N = s ? 0 : Le(n.borderBottomWidth), I = s ? 0 : Le(n.borderLeftWidth), S = _ + c, d = l + h, p = I + E, v = f + N, g = i ? e.offsetHeight - v - e.clientHeight : 0, k = o ? e.offsetWidth - p - e.clientWidth : 0, b = a ? S + p : 0, y = a ? d + v : 0, C = s ? s.width : Le(n.width) - b - k, T = s ? s.height : Le(n.height) - y - g, w = C + S + k + p, D = T + d + g + v, O = at({
5152
5152
  devicePixelContentBoxSize: bt(Math.round(C * devicePixelRatio), Math.round(T * devicePixelRatio), r),
5153
5153
  borderBoxSize: bt(w, D, r),
5154
5154
  contentBoxSize: bt(C, T, r),
5155
- contentRect: new ga(m, l, C, T)
5155
+ contentRect: new ga(_, l, C, T)
5156
5156
  });
5157
5157
  return Zt.set(e, O), O;
5158
5158
  }, Ea = function(e, t, n) {
@@ -5165,7 +5165,7 @@ var at = function(e) {
5165
5165
  default:
5166
5166
  return r;
5167
5167
  }
5168
- }, cc = /* @__PURE__ */ function() {
5168
+ }, lc = /* @__PURE__ */ function() {
5169
5169
  function e(t) {
5170
5170
  var n = va(t);
5171
5171
  this.target = t, this.contentRect = n.contentRect, this.borderBoxSize = at([n.borderBoxSize]), this.contentBoxSize = at([n.contentBoxSize]), this.devicePixelContentBoxSize = at([n.devicePixelContentBoxSize]);
@@ -5177,14 +5177,14 @@ var at = function(e) {
5177
5177
  for (var t = 0, n = e.parentNode; n; )
5178
5178
  t += 1, n = n.parentNode;
5179
5179
  return t;
5180
- }, uc = function() {
5180
+ }, cc = function() {
5181
5181
  var e = 1 / 0, t = [];
5182
5182
  st.forEach(function(o) {
5183
5183
  if (o.activeTargets.length !== 0) {
5184
5184
  var i = [];
5185
5185
  o.activeTargets.forEach(function(c) {
5186
- var h = new cc(c.target), m = Ta(c.target);
5187
- i.push(h), c.lastReportedSize = Ea(c.target, c.observedBox), m < e && (e = m);
5186
+ var h = new lc(c.target), _ = Ta(c.target);
5187
+ i.push(h), c.lastReportedSize = Ea(c.target, c.observedBox), _ < e && (e = _);
5188
5188
  }), t.push(function() {
5189
5189
  o.callback.call(o.observer, i, o.observer);
5190
5190
  }), o.activeTargets.splice(0, o.activeTargets.length);
@@ -5201,32 +5201,32 @@ var at = function(e) {
5201
5201
  a.isActive() && (Ta(a.target) > e ? n.activeTargets.push(a) : n.skippedTargets.push(a));
5202
5202
  });
5203
5203
  });
5204
- }, fc = function() {
5204
+ }, uc = function() {
5205
5205
  var e = 0;
5206
- for (us(e); nc(); )
5207
- e = uc(), us(e);
5208
- return rc() && sc(), e > 0;
5209
- }, On, Na = [], dc = function() {
5206
+ for (us(e); tc(); )
5207
+ e = cc(), us(e);
5208
+ return nc() && rc(), e > 0;
5209
+ }, On, Na = [], fc = function() {
5210
5210
  return Na.splice(0).forEach(function(e) {
5211
5211
  return e();
5212
5212
  });
5213
- }, _c = function(e) {
5213
+ }, dc = function(e) {
5214
5214
  if (!On) {
5215
5215
  var t = 0, n = document.createTextNode(""), s = { characterData: !0 };
5216
5216
  new MutationObserver(function() {
5217
- return dc();
5217
+ return fc();
5218
5218
  }).observe(n, s), On = function() {
5219
5219
  n.textContent = "".concat(t ? t-- : t++);
5220
5220
  };
5221
5221
  }
5222
5222
  Na.push(e), On();
5223
5223
  }, mc = function(e) {
5224
- _c(function() {
5224
+ dc(function() {
5225
5225
  requestAnimationFrame(e);
5226
5226
  });
5227
- }, tn = 0, hc = function() {
5227
+ }, tn = 0, _c = function() {
5228
5228
  return !!tn;
5229
- }, pc = 250, gc = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, fs = [
5229
+ }, hc = 250, pc = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, fs = [
5230
5230
  "resize",
5231
5231
  "load",
5232
5232
  "transitionend",
@@ -5243,7 +5243,7 @@ var at = function(e) {
5243
5243
  "focus"
5244
5244
  ], ds = function(e) {
5245
5245
  return e === void 0 && (e = 0), Date.now() + e;
5246
- }, yn = !1, bc = function() {
5246
+ }, yn = !1, gc = function() {
5247
5247
  function e() {
5248
5248
  var t = this;
5249
5249
  this.stopped = !0, this.listener = function() {
@@ -5252,15 +5252,15 @@ var at = function(e) {
5252
5252
  }
5253
5253
  return e.prototype.run = function(t) {
5254
5254
  var n = this;
5255
- if (t === void 0 && (t = pc), !yn) {
5255
+ if (t === void 0 && (t = hc), !yn) {
5256
5256
  yn = !0;
5257
5257
  var s = ds(t);
5258
5258
  mc(function() {
5259
5259
  var a = !1;
5260
5260
  try {
5261
- a = fc();
5261
+ a = uc();
5262
5262
  } finally {
5263
- if (yn = !1, t = s - ds(), !hc())
5263
+ if (yn = !1, t = s - ds(), !_c())
5264
5264
  return;
5265
5265
  a ? n.run(1e3) : t > 0 ? n.run(t) : n.start();
5266
5266
  }
@@ -5270,7 +5270,7 @@ var at = function(e) {
5270
5270
  this.stop(), this.run();
5271
5271
  }, e.prototype.observe = function() {
5272
5272
  var t = this, n = function() {
5273
- return t.observer && t.observer.observe(document.body, gc);
5273
+ return t.observer && t.observer.observe(document.body, pc);
5274
5274
  };
5275
5275
  document.body ? n() : xt.addEventListener("DOMContentLoaded", n);
5276
5276
  }, e.prototype.start = function() {
@@ -5284,11 +5284,11 @@ var at = function(e) {
5284
5284
  return xt.removeEventListener(n, t.listener, !0);
5285
5285
  }), this.stopped = !0);
5286
5286
  }, e;
5287
- }(), Wn = new bc(), _s = function(e) {
5287
+ }(), Wn = new gc(), ms = function(e) {
5288
5288
  !tn && e > 0 && Wn.start(), tn += e, !tn && Wn.stop();
5289
- }, vc = function(e) {
5290
- return !fr(e) && !oc(e) && getComputedStyle(e).display === "inline";
5291
- }, Ec = function() {
5289
+ }, bc = function(e) {
5290
+ return !fr(e) && !ac(e) && getComputedStyle(e).display === "inline";
5291
+ }, vc = function() {
5292
5292
  function e(t, n) {
5293
5293
  this.target = t, this.observedBox = n || Ht.CONTENT_BOX, this.lastReportedSize = {
5294
5294
  inlineSize: 0,
@@ -5297,14 +5297,14 @@ var at = function(e) {
5297
5297
  }
5298
5298
  return e.prototype.isActive = function() {
5299
5299
  var t = Ea(this.target, this.observedBox, !0);
5300
- return vc(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
5300
+ return bc(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
5301
5301
  }, e;
5302
- }(), Tc = /* @__PURE__ */ function() {
5302
+ }(), Ec = /* @__PURE__ */ function() {
5303
5303
  function e(t, n) {
5304
5304
  this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = n;
5305
5305
  }
5306
5306
  return e;
5307
- }(), Jt = /* @__PURE__ */ new WeakMap(), ms = function(e, t) {
5307
+ }(), Jt = /* @__PURE__ */ new WeakMap(), _s = function(e, t) {
5308
5308
  for (var n = 0; n < e.length; n += 1)
5309
5309
  if (e[n].target === t)
5310
5310
  return n;
@@ -5313,14 +5313,14 @@ var at = function(e) {
5313
5313
  function e() {
5314
5314
  }
5315
5315
  return e.connect = function(t, n) {
5316
- var s = new Tc(t, n);
5316
+ var s = new Ec(t, n);
5317
5317
  Jt.set(t, s);
5318
5318
  }, e.observe = function(t, n, s) {
5319
5319
  var a = Jt.get(t), r = a.observationTargets.length === 0;
5320
- ms(a.observationTargets, n) < 0 && (r && st.push(a), a.observationTargets.push(new Ec(n, s && s.box)), _s(1), Wn.schedule());
5320
+ _s(a.observationTargets, n) < 0 && (r && st.push(a), a.observationTargets.push(new vc(n, s && s.box)), ms(1), Wn.schedule());
5321
5321
  }, e.unobserve = function(t, n) {
5322
- var s = Jt.get(t), a = ms(s.observationTargets, n), r = s.observationTargets.length === 1;
5323
- a >= 0 && (r && st.splice(st.indexOf(s), 1), s.observationTargets.splice(a, 1), _s(-1));
5322
+ var s = Jt.get(t), a = _s(s.observationTargets, n), r = s.observationTargets.length === 1;
5323
+ a >= 0 && (r && st.splice(st.indexOf(s), 1), s.observationTargets.splice(a, 1), ms(-1));
5324
5324
  }, e.disconnect = function(t) {
5325
5325
  var n = this, s = Jt.get(t);
5326
5326
  s.observationTargets.slice().forEach(function(a) {
@@ -5353,7 +5353,7 @@ var at = function(e) {
5353
5353
  return "function ResizeObserver () { [polyfill code] }";
5354
5354
  }, e;
5355
5355
  }();
5356
- const Nc = ["disabled", "title"], Oc = {
5356
+ const Tc = ["disabled", "title"], Nc = {
5357
5357
  key: 1,
5358
5358
  class: "stack-tab__button"
5359
5359
  }, Bn = /* @__PURE__ */ fe({
@@ -5377,12 +5377,12 @@ const Nc = ["disabled", "title"], Oc = {
5377
5377
  key: 0,
5378
5378
  class: xe(["stack-tab__mask-button", t.iconClass])
5379
5379
  }, null, 2)),
5380
- "icon" in t.$slots ? (z(), se("div", Oc, [
5380
+ "icon" in t.$slots ? (z(), se("div", Nc, [
5381
5381
  Ue(t.$slots, "icon")
5382
5382
  ])) : ze("", !0)
5383
- ], 10, Nc));
5383
+ ], 10, Tc));
5384
5384
  }
5385
- }), yc = /* @__PURE__ */ fe({
5385
+ }), Oc = /* @__PURE__ */ fe({
5386
5386
  __name: "TabHeaderScroll",
5387
5387
  props: {
5388
5388
  space: { default: 300 },
@@ -5390,7 +5390,7 @@ const Nc = ["disabled", "title"], Oc = {
5390
5390
  isScrollButton: { type: Boolean, default: !0 }
5391
5391
  },
5392
5392
  setup(e, { expose: t }) {
5393
- const n = Q(null), s = Q(null), a = Q(null), r = Q(!1), o = Q(!1), i = Q(!1), l = Q(!0), c = Q(), h = e, m = nn({
5393
+ const n = Q(null), s = Q(null), a = Q(null), r = Q(!1), o = Q(!1), i = Q(!1), l = Q(!0), c = Q(), h = e, _ = nn({
5394
5394
  clientWidth: 0,
5395
5395
  scrollWidth: 0,
5396
5396
  scrollLeft: 0
@@ -5400,26 +5400,26 @@ const Nc = ["disabled", "title"], Oc = {
5400
5400
  startThumbLeft: 0,
5401
5401
  startPageX: 0
5402
5402
  });
5403
- Xe(m, (O) => {
5403
+ Xe(_, (O) => {
5404
5404
  E(O);
5405
5405
  });
5406
5406
  const E = (O) => {
5407
5407
  o.value = O.scrollLeft <= 10, i.value = O.clientWidth + O.scrollLeft - O.scrollWidth >= -10, l.value = O.scrollWidth !== O.clientWidth;
5408
- }, N = ce(() => m.scrollWidth > m.clientWidth), I = ce(() => {
5408
+ }, N = ce(() => _.scrollWidth > _.clientWidth), I = ce(() => {
5409
5409
  if (!N.value)
5410
5410
  return 0;
5411
- const { clientWidth: O, scrollWidth: M } = m;
5411
+ const { clientWidth: O, scrollWidth: M } = _;
5412
5412
  return O / M * O;
5413
5413
  }), S = ce(() => {
5414
5414
  if (!N.value)
5415
5415
  return 0;
5416
- const { clientWidth: O, scrollWidth: M, scrollLeft: Z } = m;
5416
+ const { clientWidth: O, scrollWidth: M, scrollLeft: Z } = _;
5417
5417
  return (O - I.value) * (Z / (M - O));
5418
5418
  }), d = () => {
5419
5419
  if (n.value === null || n.value === void 0)
5420
5420
  return;
5421
5421
  const { clientWidth: O, scrollWidth: M, scrollLeft: Z } = n.value;
5422
- Object.assign(m, { clientWidth: O, scrollWidth: M, scrollLeft: Z });
5422
+ Object.assign(_, { clientWidth: O, scrollWidth: M, scrollLeft: Z });
5423
5423
  }, p = new hs(() => {
5424
5424
  var M;
5425
5425
  d();
@@ -5448,7 +5448,7 @@ const Nc = ["disabled", "title"], Oc = {
5448
5448
  thumbLeft: S.value
5449
5449
  }), r.value = !0, document.addEventListener("mousemove", C), document.addEventListener("mouseup", T);
5450
5450
  }, C = (O) => {
5451
- const { clientWidth: M, scrollWidth: Z } = m;
5451
+ const { clientWidth: M, scrollWidth: Z } = _;
5452
5452
  let K = f.startThumbLeft + O.pageX - f.startPageX;
5453
5453
  const te = M - I.value;
5454
5454
  K < 0 ? K = 0 : K > te && (K = te), f.thumbLeft = K, g(K * (Z - M) / (M - I.value), !1), O.preventDefault();
@@ -5523,7 +5523,7 @@ const Nc = ["disabled", "title"], Oc = {
5523
5523
  }, null, 8, ["disabled"])) : ze("", !0)
5524
5524
  ], 64));
5525
5525
  }
5526
- }), Lc = { class: "stack-tab__header" }, Ic = /* @__PURE__ */ fe({
5526
+ }), yc = { class: "stack-tab__header" }, Lc = /* @__PURE__ */ fe({
5527
5527
  __name: "index",
5528
5528
  props: {
5529
5529
  space: {},
@@ -5536,7 +5536,7 @@ const Nc = ["disabled", "title"], Oc = {
5536
5536
  },
5537
5537
  emits: ["active"],
5538
5538
  setup(e, { emit: t }) {
5539
- const { t: n } = ar().getI18n(), s = Gn("maximum"), a = t, r = Q(), { shown: o, contextMenuData: i, showContextMenu: l } = Zl(), c = e, { removeTab: h, active: m, tabs: f } = jt(), E = ce(() => typeof c.tabTransition == "string" ? {
5539
+ const { t: n } = ar().getI18n(), s = Gn("maximum"), a = t, r = Q(), { shown: o, contextMenuData: i, showContextMenu: l } = ql(), c = e, { removeTab: h, active: _, tabs: f } = jt(), E = ce(() => typeof c.tabTransition == "string" ? {
5540
5540
  name: c.tabTransition
5541
5541
  } : c.tabTransition), N = ce(() => c.tabScrollMode === rt.BOTH || c.tabScrollMode === rt.BUTTON), I = c.tabScrollMode === rt.BOTH || c.tabScrollMode === rt.WHEEL, S = (p) => {
5542
5542
  if (p.closable) {
@@ -5545,11 +5545,11 @@ const Nc = ["disabled", "title"], Oc = {
5545
5545
  }
5546
5546
  o.value = !1;
5547
5547
  }, d = (p, v) => {
5548
- r.value && (r.value.isInView(v.value) || r.value.scrollIntoView(v.value), m(p.id), a("active", p.id));
5548
+ r.value && (r.value.isInView(v.value) || r.value.scrollIntoView(v.value), _(p.id), a("active", p.id));
5549
5549
  };
5550
- return (p, v) => (z(), se("div", Lc, [
5550
+ return (p, v) => (z(), se("div", yc, [
5551
5551
  Ue(p.$slots, "leftButton"),
5552
- oe(yc, {
5552
+ oe(Oc, {
5553
5553
  ref_key: "scroll",
5554
5554
  ref: r,
5555
5555
  space: p.space,
@@ -5563,7 +5563,7 @@ const Nc = ["disabled", "title"], Oc = {
5563
5563
  class: "stack-tab__nav"
5564
5564
  }, E.value, { appear: "" }), {
5565
5565
  default: De(() => [
5566
- (z(!0), se(Nt, null, jn(x(f), (g, k) => (z(), $e(tc, {
5566
+ (z(!0), se(Nt, null, jn(x(f), (g, k) => (z(), $e(ec, {
5567
5567
  key: g.id,
5568
5568
  contextmenu: p.contextmenu,
5569
5569
  item: g,
@@ -5592,7 +5592,7 @@ const Nc = ["disabled", "title"], Oc = {
5592
5592
  appear: ""
5593
5593
  }, {
5594
5594
  default: De(() => [
5595
- x(o) ? (z(), $e(ql, {
5595
+ x(o) ? (z(), $e(Kl, {
5596
5596
  key: "tabMenuTrans",
5597
5597
  left: x(i).left,
5598
5598
  top: x(i).top,
@@ -5606,51 +5606,51 @@ const Nc = ["disabled", "title"], Oc = {
5606
5606
  ]));
5607
5607
  }
5608
5608
  });
5609
- var kc = typeof global == "object" && global && global.Object === Object && global, Sc = typeof self == "object" && self && self.Object === Object && self, Oa = kc || Sc || Function("return this")(), ln = Oa.Symbol, ya = Object.prototype, Ac = ya.hasOwnProperty, Cc = ya.toString, Rt = ln ? ln.toStringTag : void 0;
5610
- function wc(e) {
5611
- var t = Ac.call(e, Rt), n = e[Rt];
5609
+ var Ic = typeof global == "object" && global && global.Object === Object && global, kc = typeof self == "object" && self && self.Object === Object && self, Oa = Ic || kc || Function("return this")(), ln = Oa.Symbol, ya = Object.prototype, Sc = ya.hasOwnProperty, Ac = ya.toString, Pt = ln ? ln.toStringTag : void 0;
5610
+ function Cc(e) {
5611
+ var t = Sc.call(e, Pt), n = e[Pt];
5612
5612
  try {
5613
- e[Rt] = void 0;
5613
+ e[Pt] = void 0;
5614
5614
  var s = !0;
5615
5615
  } catch {
5616
5616
  }
5617
- var a = Cc.call(e);
5618
- return s && (t ? e[Rt] = n : delete e[Rt]), a;
5617
+ var a = Ac.call(e);
5618
+ return s && (t ? e[Pt] = n : delete e[Pt]), a;
5619
5619
  }
5620
- var Rc = Object.prototype, Pc = Rc.toString;
5621
- function Mc(e) {
5620
+ var wc = Object.prototype, Pc = wc.toString;
5621
+ function Rc(e) {
5622
5622
  return Pc.call(e);
5623
5623
  }
5624
- var Dc = "[object Null]", Fc = "[object Undefined]", ps = ln ? ln.toStringTag : void 0;
5625
- function xc(e) {
5626
- return e == null ? e === void 0 ? Fc : Dc : ps && ps in Object(e) ? wc(e) : Mc(e);
5624
+ var Mc = "[object Null]", Dc = "[object Undefined]", ps = ln ? ln.toStringTag : void 0;
5625
+ function Fc(e) {
5626
+ return e == null ? e === void 0 ? Dc : Mc : ps && ps in Object(e) ? Cc(e) : Rc(e);
5627
5627
  }
5628
- function Uc(e) {
5628
+ function xc(e) {
5629
5629
  return e != null && typeof e == "object";
5630
5630
  }
5631
- var $c = "[object Symbol]";
5632
- function Vc(e) {
5633
- return typeof e == "symbol" || Uc(e) && xc(e) == $c;
5631
+ var Uc = "[object Symbol]";
5632
+ function $c(e) {
5633
+ return typeof e == "symbol" || xc(e) && Fc(e) == Uc;
5634
5634
  }
5635
- var Wc = /\s/;
5636
- function Bc(e) {
5637
- for (var t = e.length; t-- && Wc.test(e.charAt(t)); )
5635
+ var Vc = /\s/;
5636
+ function Wc(e) {
5637
+ for (var t = e.length; t-- && Vc.test(e.charAt(t)); )
5638
5638
  ;
5639
5639
  return t;
5640
5640
  }
5641
- var Hc = /^\s+/;
5642
- function Gc(e) {
5643
- return e && e.slice(0, Bc(e) + 1).replace(Hc, "");
5641
+ var Bc = /^\s+/;
5642
+ function Hc(e) {
5643
+ return e && e.slice(0, Wc(e) + 1).replace(Bc, "");
5644
5644
  }
5645
5645
  function cn(e) {
5646
5646
  var t = typeof e;
5647
5647
  return e != null && (t == "object" || t == "function");
5648
5648
  }
5649
- var gs = NaN, jc = /^[-+]0x[0-9a-f]+$/i, Yc = /^0b[01]+$/i, Xc = /^0o[0-7]+$/i, zc = parseInt;
5649
+ var gs = NaN, Gc = /^[-+]0x[0-9a-f]+$/i, jc = /^0b[01]+$/i, Yc = /^0o[0-7]+$/i, Xc = parseInt;
5650
5650
  function bs(e) {
5651
5651
  if (typeof e == "number")
5652
5652
  return e;
5653
- if (Vc(e))
5653
+ if ($c(e))
5654
5654
  return gs;
5655
5655
  if (cn(e)) {
5656
5656
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
@@ -5658,18 +5658,18 @@ function bs(e) {
5658
5658
  }
5659
5659
  if (typeof e != "string")
5660
5660
  return e === 0 ? e : +e;
5661
- e = Gc(e);
5662
- var n = Yc.test(e);
5663
- return n || Xc.test(e) ? zc(e.slice(2), n ? 2 : 8) : jc.test(e) ? gs : +e;
5661
+ e = Hc(e);
5662
+ var n = jc.test(e);
5663
+ return n || Yc.test(e) ? Xc(e.slice(2), n ? 2 : 8) : Gc.test(e) ? gs : +e;
5664
5664
  }
5665
5665
  var Ln = function() {
5666
5666
  return Oa.Date.now();
5667
- }, Kc = "Expected a function", qc = Math.max, Zc = Math.min;
5668
- function Jc(e, t, n) {
5669
- var s, a, r, o, i, l, c = 0, h = !1, m = !1, f = !0;
5667
+ }, zc = "Expected a function", Kc = Math.max, qc = Math.min;
5668
+ function Zc(e, t, n) {
5669
+ var s, a, r, o, i, l, c = 0, h = !1, _ = !1, f = !0;
5670
5670
  if (typeof e != "function")
5671
- throw new TypeError(Kc);
5672
- t = bs(t) || 0, cn(n) && (h = !!n.leading, m = "maxWait" in n, r = m ? qc(bs(n.maxWait) || 0, t) : r, f = "trailing" in n ? !!n.trailing : f);
5671
+ throw new TypeError(zc);
5672
+ t = bs(t) || 0, cn(n) && (h = !!n.leading, _ = "maxWait" in n, r = _ ? Kc(bs(n.maxWait) || 0, t) : r, f = "trailing" in n ? !!n.trailing : f);
5673
5673
  function E(b) {
5674
5674
  var y = s, C = a;
5675
5675
  return s = a = void 0, c = b, o = e.apply(C, y), o;
@@ -5679,11 +5679,11 @@ function Jc(e, t, n) {
5679
5679
  }
5680
5680
  function I(b) {
5681
5681
  var y = b - l, C = b - c, T = t - y;
5682
- return m ? Zc(T, r - C) : T;
5682
+ return _ ? qc(T, r - C) : T;
5683
5683
  }
5684
5684
  function S(b) {
5685
5685
  var y = b - l, C = b - c;
5686
- return l === void 0 || y >= t || y < 0 || m && C >= r;
5686
+ return l === void 0 || y >= t || y < 0 || _ && C >= r;
5687
5687
  }
5688
5688
  function d() {
5689
5689
  var b = Ln();
@@ -5705,28 +5705,28 @@ function Jc(e, t, n) {
5705
5705
  if (s = arguments, a = this, l = b, y) {
5706
5706
  if (i === void 0)
5707
5707
  return N(l);
5708
- if (m)
5708
+ if (_)
5709
5709
  return clearTimeout(i), i = setTimeout(d, t), E(l);
5710
5710
  }
5711
5711
  return i === void 0 && (i = setTimeout(d, t)), o;
5712
5712
  }
5713
5713
  return k.cancel = v, k.flush = g, k;
5714
5714
  }
5715
- var Qc = "Expected a function";
5716
- function eu(e, t, n) {
5715
+ var Jc = "Expected a function";
5716
+ function Qc(e, t, n) {
5717
5717
  var s = !0, a = !0;
5718
5718
  if (typeof e != "function")
5719
- throw new TypeError(Qc);
5720
- return cn(n) && (s = "leading" in n ? !!n.leading : s, a = "trailing" in n ? !!n.trailing : a), Jc(e, t, {
5719
+ throw new TypeError(Jc);
5720
+ return cn(n) && (s = "leading" in n ? !!n.leading : s, a = "trailing" in n ? !!n.trailing : a), Zc(e, t, {
5721
5721
  leading: s,
5722
5722
  maxWait: t,
5723
5723
  trailing: a
5724
5724
  });
5725
5725
  }
5726
5726
  let vs;
5727
- const tu = () => {
5727
+ const eu = () => {
5728
5728
  const e = un(), { active: t, hasTab: n, pageShown: s, reset: a } = jt();
5729
- return { openNewTab: eu(async (i) => {
5729
+ return { openNewTab: Qc(async (i) => {
5730
5730
  if (!s.value)
5731
5731
  return;
5732
5732
  const l = Se(i, { refreshable: !0, closable: !0, iframe: !1 });
@@ -5741,95 +5741,48 @@ const tu = () => {
5741
5741
  __tab: c
5742
5742
  },
5743
5743
  i.query
5744
- ), m;
5744
+ ), _;
5745
5745
  if (i.iframe) {
5746
5746
  const f = encodeURIComponent(i.path);
5747
- m = vs, h.__src = f;
5747
+ _ = vs, h.__src = f;
5748
5748
  } else {
5749
5749
  const f = ur(i.path);
5750
- m = f.path, h = Se(f.query, h);
5750
+ _ = f.path, h = Se(f.query, h);
5751
5751
  }
5752
5752
  return e.push({
5753
- path: m,
5753
+ path: _,
5754
5754
  query: h
5755
5755
  }), l.id;
5756
5756
  }, 500), setIFramePath: (i) => {
5757
5757
  vs = i;
5758
5758
  }, active: t, reset: a };
5759
- }, nu = {
5760
- class: "stack-tab__container"
5761
- }, ru = ["src"], su = /* @__PURE__ */ fe({
5759
+ }, tu = { class: "stack-tab__container" }, nu = ["src"], ru = /* @__PURE__ */ fe({
5762
5760
  __name: "StackTabs",
5763
5761
  props: {
5764
- defaultTabs: {
5765
- default: () => []
5766
- },
5767
- max: {
5768
- default: 20
5769
- },
5770
- append: {
5771
- default: "last"
5772
- },
5773
- contextmenu: {
5774
- type: [Boolean, Object],
5775
- default: !0
5776
- },
5777
- pageTransition: {
5778
- default: "stack-tab-swap"
5779
- },
5780
- tabTransition: {
5781
- default: "stack-tab-zoom"
5782
- },
5783
- tabScrollMode: {
5784
- default: rt.BOTH
5785
- },
5786
- width: {
5787
- default: "100%"
5788
- },
5789
- height: {
5790
- default: "100%"
5791
- },
5792
- i18n: {
5793
- default: () => ({
5794
- locale: "zh-CN",
5795
- messages: {}
5796
- })
5797
- },
5762
+ defaultTabs: { default: () => [] },
5763
+ max: { default: 20 },
5764
+ append: { default: "last" },
5765
+ contextmenu: { type: [Boolean, Object], default: !0 },
5766
+ pageTransition: { default: "stack-tab-swap" },
5767
+ tabTransition: { default: "stack-tab-zoom" },
5768
+ tabScrollMode: { default: rt.BOTH },
5769
+ width: { default: "100%" },
5770
+ height: { default: "100%" },
5771
+ i18n: { default: () => ({ locale: "zh-CN", messages: {} }) },
5798
5772
  messages: {},
5799
- reloadable: {
5800
- type: Boolean,
5801
- default: !0
5802
- },
5803
- closable: {
5804
- type: Boolean,
5805
- default: !0
5806
- },
5807
- space: {
5808
- default: 300
5809
- },
5773
+ reloadable: { type: Boolean, default: !0 },
5774
+ closable: { type: Boolean, default: !0 },
5775
+ space: { default: 300 },
5810
5776
  iframePath: {}
5811
5777
  },
5812
5778
  emits: ["onActive"],
5813
- setup(e, {
5814
- emit: t
5815
- }) {
5816
- const {
5817
- tabs: n,
5818
- pageShown: s,
5819
- caches: a,
5820
- addPage: r,
5821
- destroy: o,
5822
- initial: i
5823
- } = jt(), l = t, c = e;
5824
- hr("locales", {
5825
- ...c.i18n
5826
- });
5779
+ setup(e, { emit: t }) {
5780
+ const { tabs: n, pageShown: s, caches: a, addPage: r, destroy: o, initial: i } = jt(), l = t, c = e;
5781
+ hr("locales", { ...c.i18n });
5827
5782
  const h = Q(!1);
5828
5783
  hr("maximum", h);
5829
- const {
5830
- setIFramePath: m
5831
- } = tu();
5832
- m(c.iframePath), Os(() => {
5784
+ const { setIFramePath: _ } = eu();
5785
+ _(c.iframePath), Os(() => {
5833
5786
  i(c.defaultTabs);
5834
5787
  });
5835
5788
  const f = (I, S) => r(I, S), E = (I) => {
@@ -5839,69 +5792,85 @@ const tu = () => {
5839
5792
  o();
5840
5793
  });
5841
5794
  const N = un();
5842
- return Xe(() => N.currentRoute.value.fullPath, () => {
5843
- s.value = !0;
5844
- }), (I, S) => {
5795
+ return Xe(
5796
+ () => N.currentRoute.value.fullPath,
5797
+ () => {
5798
+ s.value = !0;
5799
+ }
5800
+ ), (I, S) => {
5845
5801
  const d = ys("router-view");
5846
5802
  return z(), se("div", {
5847
- class: xe(["stack-tab", {
5848
- "stack-tab__maximum": h.value
5849
- }]),
5803
+ class: xe(["stack-tab", { "stack-tab__maximum": h.value }]),
5850
5804
  style: Ut({
5851
5805
  width: I.width,
5852
5806
  height: I.height,
5853
5807
  "z-index": h.value ? x(ca)("body *:not(.stack-tab,.stack-tab *)") : void 0
5854
5808
  })
5855
- }, [oe(Ic, {
5856
- space: I.space,
5857
- onActive: E,
5858
- "tab-transition": I.tabTransition,
5859
- max: I.max
5860
- }, {
5861
- leftButton: De(() => [Ue(I.$slots, "leftButton")]),
5862
- rightButton: De(() => [Ue(I.$slots, "rightButton")]),
5863
- _: 3
5864
- }, 8, ["space", "tab-transition", "max"]), ve("div", nu, [oe(d, null, {
5865
- default: De(({
5866
- Component: p,
5867
- route: v
5868
- }) => [oe(zn, {
5869
- name: I.pageTransition,
5870
- appear: "",
5871
- onAfterLeave: S[0] || (S[0] = (g) => s.value = !0)
5809
+ }, [
5810
+ oe(Lc, {
5811
+ space: I.space,
5812
+ onActive: E,
5813
+ "tab-transition": I.tabTransition,
5814
+ max: I.max
5872
5815
  }, {
5873
- default: De(() => [(z(), $e(Va, {
5874
- include: x(a)
5875
- }, [x(s) ? (z(), $e(ks(f(v, p)), {
5876
- key: v.fullPath
5877
- })) : ze("", !0)], 1032, ["include"]))]),
5878
- _: 2
5879
- }, 1032, ["name"])]),
5880
- _: 1
5881
- }), oe(Is, {
5882
- name: I.pageTransition,
5883
- appear: ""
5884
- }, {
5885
- default: De(() => [(z(!0), se(Nt, null, jn(x(n).filter((p) => p.iframe), (p) => Yn((z(), se("iframe", {
5886
- key: p.id,
5887
- class: "stack-tab__iframe",
5888
- src: /^(javascript|data):/i.test(p.url ?? "") ? "about:blank" : p.url,
5889
- frameborder: "0"
5890
- }, null, 8, ru)), [[Xn, p.active && x(s)]])), 128))]),
5891
- _: 1
5892
- }, 8, ["name"])])], 6);
5816
+ leftButton: De(() => [
5817
+ Ue(I.$slots, "leftButton")
5818
+ ]),
5819
+ rightButton: De(() => [
5820
+ Ue(I.$slots, "rightButton")
5821
+ ]),
5822
+ _: 3
5823
+ }, 8, ["space", "tab-transition", "max"]),
5824
+ ve("div", tu, [
5825
+ oe(d, null, {
5826
+ default: De(({ Component: p, route: v }) => [
5827
+ oe(zn, {
5828
+ name: I.pageTransition,
5829
+ appear: "",
5830
+ onAfterLeave: S[0] || (S[0] = (g) => s.value = !0)
5831
+ }, {
5832
+ default: De(() => [
5833
+ (z(), $e(Va, { include: x(a) }, [
5834
+ x(s) ? (z(), $e(ks(f(v, p)), {
5835
+ key: v.fullPath
5836
+ })) : ze("", !0)
5837
+ ], 1032, ["include"]))
5838
+ ]),
5839
+ _: 2
5840
+ }, 1032, ["name"])
5841
+ ]),
5842
+ _: 1
5843
+ }),
5844
+ oe(Is, {
5845
+ name: I.pageTransition,
5846
+ appear: ""
5847
+ }, {
5848
+ default: De(() => [
5849
+ (z(!0), se(Nt, null, jn(x(n).filter((p) => p.iframe), (p) => Yn((z(), se("iframe", {
5850
+ key: p.id,
5851
+ class: "stack-tab__iframe",
5852
+ src: /^(javascript|data):/i.test(p.url ?? "") ? "about:blank" : p.url,
5853
+ frameborder: "0"
5854
+ }, null, 8, nu)), [
5855
+ [Xn, p.active && x(s)]
5856
+ ])), 128))
5857
+ ]),
5858
+ _: 1
5859
+ }, 8, ["name"])
5860
+ ])
5861
+ ], 6);
5893
5862
  };
5894
5863
  }
5895
5864
  }), dr = typeof Buffer == "function";
5896
5865
  typeof TextDecoder == "function" && new TextDecoder();
5897
- const Es = typeof TextEncoder == "function" ? new TextEncoder() : void 0, au = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Mt = Array.prototype.slice.call(au);
5866
+ const Es = typeof TextEncoder == "function" ? new TextEncoder() : void 0, su = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Mt = Array.prototype.slice.call(su);
5898
5867
  ((e) => {
5899
5868
  let t = {};
5900
5869
  return e.forEach((n, s) => t[n] = s), t;
5901
5870
  })(Mt);
5902
5871
  const Ie = String.fromCharCode.bind(String);
5903
5872
  typeof Uint8Array.from == "function" && Uint8Array.from.bind(Uint8Array);
5904
- const ou = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), iu = (e) => {
5873
+ const au = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), ou = (e) => {
5905
5874
  let t, n, s, a, r = "";
5906
5875
  const o = e.length % 3;
5907
5876
  for (let i = 0; i < e.length; ) {
@@ -5910,12 +5879,12 @@ const ou = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
5910
5879
  t = n << 16 | s << 8 | a, r += Mt[t >> 18 & 63] + Mt[t >> 12 & 63] + Mt[t >> 6 & 63] + Mt[t & 63];
5911
5880
  }
5912
5881
  return o ? r.slice(0, o - 3) + "===".substring(o) : r;
5913
- }, La = typeof btoa == "function" ? (e) => btoa(e) : dr ? (e) => Buffer.from(e, "binary").toString("base64") : iu, lu = dr ? (e) => Buffer.from(e).toString("base64") : (e) => {
5882
+ }, La = typeof btoa == "function" ? (e) => btoa(e) : dr ? (e) => Buffer.from(e, "binary").toString("base64") : ou, iu = dr ? (e) => Buffer.from(e).toString("base64") : (e) => {
5914
5883
  let n = [];
5915
5884
  for (let s = 0, a = e.length; s < a; s += 4096)
5916
5885
  n.push(Ie.apply(null, e.subarray(s, s + 4096)));
5917
5886
  return La(n.join(""));
5918
- }, cu = (e) => {
5887
+ }, lu = (e) => {
5919
5888
  if (e.length < 2) {
5920
5889
  var t = e.charCodeAt(0);
5921
5890
  return t < 128 ? e : t < 2048 ? Ie(192 | t >>> 6) + Ie(128 | t & 63) : Ie(224 | t >>> 12 & 15) + Ie(128 | t >>> 6 & 63) + Ie(128 | t & 63);
@@ -5923,7 +5892,7 @@ const ou = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
5923
5892
  var t = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
5924
5893
  return Ie(240 | t >>> 18 & 7) + Ie(128 | t >>> 12 & 63) + Ie(128 | t >>> 6 & 63) + Ie(128 | t & 63);
5925
5894
  }
5926
- }, uu = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, fu = (e) => e.replace(uu, cu), Ts = dr ? (e) => Buffer.from(e, "utf8").toString("base64") : Es ? (e) => lu(Es.encode(e)) : (e) => La(fu(e)), du = (e, t = !1) => t ? ou(Ts(e)) : Ts(e), _u = (e) => {
5895
+ }, cu = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, uu = (e) => e.replace(cu, lu), Ts = dr ? (e) => Buffer.from(e, "utf8").toString("base64") : Es ? (e) => iu(Es.encode(e)) : (e) => La(uu(e)), fu = (e, t = !1) => t ? au(Ts(e)) : Ts(e), du = (e) => {
5927
5896
  const s = `<?xml version="1.0" encoding="UTF-8"?>
5928
5897
  <svg id="uuid-cb9fc1ae-07f4-4aa2-a904-54dfcb9a64e0" data-name=" 图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1167.08 237.76">
5929
5898
  <path d="M79.24,19.73h108.91v29.7h-108.91s0-29.7,0-29.7Z" style="fill: #79a7ff; stroke-width: 0px;"/>
@@ -5949,7 +5918,7 @@ const ou = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
5949
5918
  </g>
5950
5919
  <text transform="translate(943.45 229.96)" style="fill: #00d797; font-family: ArialMT, Arial; font-size: 24px;"><tspan x="0" y="0">version: ${e}</tspan></text>
5951
5920
  </svg>
5952
- `, o = "data:image/svg+xml;base64," + du(s), i = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
5921
+ `, o = "data:image/svg+xml;base64," + fu(s), i = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
5953
5922
  window.console.log(
5954
5923
  "%c+",
5955
5924
  i + `background-image: url(${o});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`
@@ -6010,22 +5979,22 @@ const ou = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
6010
5979
  });
6011
5980
  }
6012
5981
  };
6013
- }, Uu = /* @__PURE__ */ fe({
5982
+ }, xu = /* @__PURE__ */ fe({
6014
5983
  __name: "iframe",
6015
5984
  setup(e) {
6016
5985
  return mu(), (t, n) => (z(), se("div"));
6017
5986
  }
6018
- }), hu = (e) => {
5987
+ }), _u = (e) => {
6019
5988
  var t;
6020
5989
  typeof e.remove < "u" ? e.remove() : (t = e.parentNode) == null || t.removeChild(e);
6021
5990
  };
6022
- function pu(e, t, n, s = {}) {
5991
+ function hu(e, t, n, s = {}) {
6023
5992
  const a = Hn(e, t, s), r = document.createElement("div");
6024
5993
  return r.classList.add("vld-container"), n.appendChild(r), Ss(a, r), a.component;
6025
5994
  }
6026
- const gu = ["width", "height", "stroke"], bu = /* @__PURE__ */ Kn('<g fill="none" fill-rule="evenodd"><g transform="translate(1 1)" stroke-width="2"><circle stroke-opacity=".25" cx="18" cy="18" r="18"></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="0.8s" repeatCount="indefinite"></animateTransform></path></g></g>', 1), vu = [
6027
- bu
6028
- ], Eu = /* @__PURE__ */ fe({
5995
+ const pu = ["width", "height", "stroke"], gu = /* @__PURE__ */ Kn('<g fill="none" fill-rule="evenodd"><g transform="translate(1 1)" stroke-width="2"><circle stroke-opacity=".25" cx="18" cy="18" r="18"></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="0.8s" repeatCount="indefinite"></animateTransform></path></g></g>', 1), bu = [
5996
+ gu
5997
+ ], vu = /* @__PURE__ */ fe({
6029
5998
  __name: "spinner",
6030
5999
  props: {
6031
6000
  color: { default: "#000" },
@@ -6039,11 +6008,11 @@ const gu = ["width", "height", "stroke"], bu = /* @__PURE__ */ Kn('<g fill="none
6039
6008
  width: t.width,
6040
6009
  height: t.height,
6041
6010
  stroke: t.color
6042
- }, vu, 8, gu));
6011
+ }, bu, 8, pu));
6043
6012
  }
6044
- }), Tu = ["fill", "width", "height"], Nu = /* @__PURE__ */ Kn('<circle cx="15" cy="15" r="15"><animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="60" cy="15" r="9" fill-opacity="0.3"><animate attributeName="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="105" cy="15" r="15"><animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite"></animate></circle>', 3), Ou = [
6045
- Nu
6046
- ], yu = /* @__PURE__ */ fe({
6013
+ }), Eu = ["fill", "width", "height"], Tu = /* @__PURE__ */ Kn('<circle cx="15" cy="15" r="15"><animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="60" cy="15" r="9" fill-opacity="0.3"><animate attributeName="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="105" cy="15" r="15"><animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite"></animate><animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite"></animate></circle>', 3), Nu = [
6014
+ Tu
6015
+ ], Ou = /* @__PURE__ */ fe({
6047
6016
  __name: "dots",
6048
6017
  props: {
6049
6018
  color: { default: "#000" },
@@ -6057,11 +6026,11 @@ const gu = ["width", "height", "stroke"], bu = /* @__PURE__ */ Kn('<g fill="none
6057
6026
  fill: t.color,
6058
6027
  width: t.width,
6059
6028
  height: t.height
6060
- }, Ou, 8, Tu));
6029
+ }, Nu, 8, Eu));
6061
6030
  }
6062
- }), Lu = ["height", "width", "fill"], Iu = /* @__PURE__ */ Kn('<rect x="0" y="13" width="4" height="5"><animate attributeName="height" attributeType="XML" values="5;21;5" begin="0s" dur="0.6s" repeatCount="indefinite"></animate><animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0s" dur="0.6s" repeatCount="indefinite"></animate></rect><rect x="10" y="13" width="4" height="5"><animate attributeName="height" attributeType="XML" values="5;21;5" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate><animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate></rect><rect x="20" y="13" width="4" height="5"><animate attributeName="height" attributeType="XML" values="5;21;5" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate><animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate></rect>', 3), ku = [
6063
- Iu
6064
- ], Su = /* @__PURE__ */ fe({
6031
+ }), yu = ["height", "width", "fill"], Lu = /* @__PURE__ */ Kn('<rect x="0" y="13" width="4" height="5"><animate attributeName="height" attributeType="XML" values="5;21;5" begin="0s" dur="0.6s" repeatCount="indefinite"></animate><animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0s" dur="0.6s" repeatCount="indefinite"></animate></rect><rect x="10" y="13" width="4" height="5"><animate attributeName="height" attributeType="XML" values="5;21;5" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate><animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate></rect><rect x="20" y="13" width="4" height="5"><animate attributeName="height" attributeType="XML" values="5;21;5" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate><animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate></rect>', 3), Iu = [
6032
+ Lu
6033
+ ], ku = /* @__PURE__ */ fe({
6065
6034
  __name: "bars",
6066
6035
  props: {
6067
6036
  color: { default: "#000" },
@@ -6075,13 +6044,13 @@ const gu = ["width", "height", "stroke"], bu = /* @__PURE__ */ Kn('<g fill="none
6075
6044
  height: t.height,
6076
6045
  width: t.width,
6077
6046
  fill: t.color
6078
- }, ku, 8, Lu));
6047
+ }, Iu, 8, yu));
6079
6048
  }
6080
- }), Au = {
6081
- spinner: Eu,
6082
- dots: yu,
6083
- bars: Su
6084
- }, Cu = ["aria-busy"], wu = { class: "vl-icon" }, Ru = /* @__PURE__ */ fe({
6049
+ }), Su = {
6050
+ spinner: vu,
6051
+ dots: Ou,
6052
+ bars: ku
6053
+ }, Au = ["aria-busy"], Cu = { class: "vl-icon" }, wu = /* @__PURE__ */ fe({
6085
6054
  __name: "Component",
6086
6055
  props: {
6087
6056
  active: { type: Boolean },
@@ -6109,23 +6078,25 @@ const gu = ["width", "height", "stroke"], bu = /* @__PURE__ */ Kn('<g fill="none
6109
6078
  }, l = () => {
6110
6079
  o("hide"), o("update:active", !1), s.programmatic && (r.value = !1, setTimeout(() => {
6111
6080
  const N = a.value.parentElement;
6112
- Ss(null, N), hu(N);
6081
+ Ss(null, N), _u(N);
6113
6082
  }, 150));
6114
6083
  }, c = () => {
6115
6084
  s.isFullPage && s.lockScroll && document.body.classList.add("vl-shown");
6116
6085
  }, h = () => {
6117
6086
  s.isFullPage && s.lockScroll && document.body.classList.remove("vl-shown");
6118
- }, m = (N) => {
6087
+ }, _ = (N) => {
6119
6088
  N.code === "Escape" && i();
6120
6089
  }, f = (N) => {
6121
6090
  if (!r.value || // Event target is the loading div element itself
6122
6091
  N.target === a.value || // Event target is inside the loading div
6092
+ // @ts-ignore
6123
6093
  a.value.contains(N.target))
6124
6094
  return;
6125
6095
  const I = s.container ? s.container : s.isFullPage ? null : a.value.parentElement;
6126
6096
  // Always prevent when loading is full screen
6127
6097
  (s.isFullPage || // When a parent exist means loader is running inside a container
6128
6098
  // When loading is NOT full screen and event target is inside the given container
6099
+ // @ts-ignore
6129
6100
  I && I.contains(N.target)) && (N.preventDefault(), a.value.focus());
6130
6101
  }, E = ce(() => ({
6131
6102
  background: s.backgroundColor,
@@ -6142,9 +6113,9 @@ const gu = ["width", "height", "stroke"], bu = /* @__PURE__ */ Kn('<g fill="none
6142
6113
  N ? c() : h();
6143
6114
  }
6144
6115
  ), Gt(() => {
6145
- s.enforceFocus && document.addEventListener("focusin", f), document.addEventListener("keyup", m);
6116
+ s.enforceFocus && document.addEventListener("focusin", f), document.addEventListener("keyup", _);
6146
6117
  }), Wa(() => {
6147
- document.removeEventListener("keyup", m), document.removeEventListener("focusin", f);
6118
+ document.removeEventListener("keyup", _), document.removeEventListener("focusin", f);
6148
6119
  }), t({
6149
6120
  hide: l
6150
6121
  }), (N, I) => (z(), $e(zn, { name: N.transition }, {
@@ -6163,10 +6134,10 @@ const gu = ["width", "height", "stroke"], bu = /* @__PURE__ */ Kn('<g fill="none
6163
6134
  onClick: it(i, ["prevent"]),
6164
6135
  style: Ut(E.value)
6165
6136
  }, null, 4),
6166
- ve("div", wu, [
6137
+ ve("div", Cu, [
6167
6138
  Ue(N.$slots, "before"),
6168
6139
  Ue(N.$slots, "default", {}, () => [
6169
- (z(), $e(ks(x(Au)[N.loader]), {
6140
+ (z(), $e(ks(x(Su)[N.loader]), {
6170
6141
  color: N.color,
6171
6142
  width: N.width,
6172
6143
  height: N.height
@@ -6174,7 +6145,7 @@ const gu = ["width", "height", "stroke"], bu = /* @__PURE__ */ Kn('<g fill="none
6174
6145
  ]),
6175
6146
  Ue(N.$slots, "after")
6176
6147
  ])
6177
- ], 14, Cu), [
6148
+ ], 14, Au), [
6178
6149
  [Xn, r.value]
6179
6150
  ])
6180
6151
  ]),
@@ -6193,10 +6164,10 @@ const gu = ["width", "height", "stroke"], bu = /* @__PURE__ */ Kn('<g fill="none
6193
6164
  r.container || (o = document.body, r.isFullPage = !0);
6194
6165
  const i = { ...t, ...s };
6195
6166
  return {
6196
- hide: pu(Ru, r, o, i).exposed.hide
6167
+ hide: hu(wu, r, o, i).exposed.hide
6197
6168
  };
6198
6169
  }
6199
- }), $u = () => {
6170
+ }), Uu = () => {
6200
6171
  const e = Pu(), { attrs: t } = ot();
6201
6172
  let n = null;
6202
6173
  Tt(() => {
@@ -6217,22 +6188,21 @@ const gu = ["width", "height", "stroke"], bu = /* @__PURE__ */ Kn('<g fill="none
6217
6188
  n !== null && (n.hide(), n = null);
6218
6189
  };
6219
6190
  return { openTabLoading: s, closeTabLoading: a };
6220
- }, Mu = sl({
6191
+ }, Ru = sl({
6221
6192
  legacy: !1,
6222
6193
  locale: "zh-CN",
6223
6194
  fallbackLocale: "en-US"
6224
- }), Vu = {
6195
+ }), $u = {
6225
6196
  install(e) {
6226
- _u("0.1.7"), e.component("VueStackTabs", su).use(Mu);
6197
+ du("0.1.9"), e.component("VueStackTabs", ru).use(Ru);
6227
6198
  }
6228
6199
  };
6229
6200
  export {
6230
- pl as EventType,
6231
- Uu as IFrame,
6201
+ xu as IFrame,
6232
6202
  En as Stack,
6233
6203
  rt as TabScrollMode,
6234
- Vu as default,
6235
- tu as useStackTab,
6236
- $u as useTabLoading,
6204
+ $u as default,
6205
+ eu as useStackTab,
6206
+ Uu as useTabLoading,
6237
6207
  mu as useTabRouter
6238
6208
  };