vue-stack-tabs 0.1.30 → 0.1.32

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.
@@ -1,7 +1,7 @@
1
1
  var _n = Object.defineProperty;
2
2
  var Tn = (e, t, n) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var yt = (e, t, n) => (Tn(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { inject as at, ref as $, reactive as Ie, readonly as wt, toRaw as xn, defineComponent as K, openBlock as z, createElementBlock as P, createCommentVNode as ne, createElementVNode as J, unref as x, nextTick as me, onMounted as qe, onDeactivated as Sn, onActivated as On, onUnmounted as Ge, createVNode as N, resolveComponent as Zt, normalizeClass as ce, withModifiers as we, toDisplayString as Xt, normalizeStyle as ct, Fragment as He, renderList as lt, createBlock as be, computed as ge, renderSlot as ke, watch as En, withDirectives as Yt, vShow as Jt, withCtx as ae, TransitionGroup as Kt, mergeProps as An, Transition as Qt, provide as In, onBeforeMount as Bn, onBeforeUnmount as Cn, KeepAlive as Mn, resolveDynamicComponent as Ln, getCurrentInstance as en } from "vue";
4
+ import { inject as at, ref as R, reactive as Ie, readonly as kt, toRaw as xn, defineComponent as Q, openBlock as z, createElementBlock as D, createCommentVNode as ne, createElementVNode as K, unref as S, nextTick as de, onMounted as qe, onDeactivated as Sn, onActivated as On, onUnmounted as Ge, createVNode as N, resolveComponent as Zt, normalizeClass as ce, withModifiers as ke, toDisplayString as Xt, normalizeStyle as ct, Fragment as He, renderList as lt, createBlock as me, computed as ge, renderSlot as we, watch as En, withDirectives as Yt, vShow as Jt, withCtx as ae, TransitionGroup as Kt, mergeProps as An, Transition as Qt, provide as In, onBeforeMount as Bn, onBeforeUnmount as Cn, KeepAlive as Mn, resolveDynamicComponent as Ln, getCurrentInstance as en } from "vue";
5
5
  import { useRouter as ut, useRoute as zn } from "vue-router";
6
6
  const $n = {
7
7
  VueStackTab: {
@@ -64,7 +64,7 @@ function Vn(e) {
64
64
  }
65
65
  return Un(n) ? n : [];
66
66
  }
67
- function kt(e, t) {
67
+ function wt(e, t) {
68
68
  if (!jn(e))
69
69
  return "";
70
70
  const n = Vn(t);
@@ -106,7 +106,7 @@ function Ze() {
106
106
  return at(nn);
107
107
  }
108
108
  function Zn(e) {
109
- const t = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, e), n = $(t.locale), r = Ie({});
109
+ const t = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, e), n = R(t.locale), r = Ie({});
110
110
  return Object.entries(t.messages).forEach(([s, o]) => {
111
111
  r[s] = o;
112
112
  }), {
@@ -114,15 +114,15 @@ function Zn(e) {
114
114
  if (!s)
115
115
  return "";
116
116
  const i = typeof o == "string" && o ? o : n.value;
117
- let u = kt(r[i], s) || kt(r[t.fallbackLocale], s);
117
+ let u = wt(r[i], s) || wt(r[t.fallbackLocale], s);
118
118
  if (o && typeof o != "string") {
119
- const c = Fn(u, o);
120
- Wn(c) || (u = qn(u, c));
119
+ const a = Fn(u, o);
120
+ Wn(a) || (u = qn(u, a));
121
121
  }
122
122
  return u || s;
123
123
  },
124
- current: wt(n),
125
- options: wt(e || {}),
124
+ current: kt(n),
125
+ options: kt(e || {}),
126
126
  install(s) {
127
127
  const o = this;
128
128
  s.config.globalProperties.$t = o.t, s.provide(nn, o);
@@ -200,7 +200,7 @@ const sn = (e = ".stack-tab__container *") => {
200
200
  );
201
201
  return t.length ? Math.max(...t.filter((n) => n < 9e4)) + 1 : 1;
202
202
  };
203
- var de = /* @__PURE__ */ ((e) => (e.WHEEL = "wheel", e.BUTTON = "button", e.BOTH = "both", e))(de || {});
203
+ var he = /* @__PURE__ */ ((e) => (e.WHEEL = "wheel", e.BUTTON = "button", e.BOTH = "both", e))(he || {});
204
204
  class Ye {
205
205
  //
206
206
  constructor(t) {
@@ -303,7 +303,7 @@ function Kn(e) {
303
303
  shortMessage: n
304
304
  };
305
305
  }
306
- class H extends Error {
306
+ class Z extends Error {
307
307
  constructor(t, n) {
308
308
  const r = [...arguments], { options: s, shortMessage: o } = Kn(r);
309
309
  let i = o;
@@ -317,17 +317,17 @@ class H extends Error {
317
317
  }
318
318
  static fullStack(t) {
319
319
  Je(t);
320
- const n = H.cause(t);
320
+ const n = Z.cause(t);
321
321
  return n ? `${t.stack}
322
- caused by: ${H.fullStack(n)}` : t.stack;
322
+ caused by: ${Z.fullStack(n)}` : t.stack;
323
323
  }
324
324
  static info(t) {
325
325
  Je(t);
326
- const n = {}, r = H.cause(t);
327
- return r && Object.assign(n, H.info(r)), t._info && Object.assign(n, t._info), n;
326
+ const n = {}, r = Z.cause(t);
327
+ return r && Object.assign(n, Z.info(r)), t._info && Object.assign(n, t._info), n;
328
328
  }
329
329
  cause() {
330
- return H.cause(this);
330
+ return Z.cause(this);
331
331
  }
332
332
  toString() {
333
333
  let t = this.name || this.constructor.name || this.constructor.prototype.name;
@@ -346,7 +346,7 @@ function tr(e) {
346
346
  };
347
347
  if (typeof (n == null ? void 0 : n.randomBytes) == "function")
348
348
  return () => n.randomBytes(1).readUInt8() / 255;
349
- throw new H({
349
+ throw new Z({
350
350
  info: {
351
351
  code: "PRNG_DETECT",
352
352
  ...xe
@@ -364,28 +364,28 @@ function rr(e, t) {
364
364
  }
365
365
  function sr(e, t) {
366
366
  if (isNaN(e))
367
- throw new H({
367
+ throw new Z({
368
368
  info: {
369
369
  code: "ENC_TIME_NAN",
370
370
  ...xe
371
371
  }
372
372
  }, `Time must be a number: ${e}`);
373
373
  if (e > _t)
374
- throw new H({
374
+ throw new Z({
375
375
  info: {
376
376
  code: "ENC_TIME_SIZE_EXCEED",
377
377
  ...xe
378
378
  }
379
379
  }, `Cannot encode a time larger than ${_t}: ${e}`);
380
380
  if (e < 0)
381
- throw new H({
381
+ throw new Z({
382
382
  info: {
383
383
  code: "ENC_TIME_NEG",
384
384
  ...xe
385
385
  }
386
386
  }, `Time must be positive: ${e}`);
387
387
  if (Number.isInteger(e) === !1)
388
- throw new H({
388
+ throw new Z({
389
389
  info: {
390
390
  code: "ENC_TIME_TYPE",
391
391
  ...xe
@@ -412,19 +412,19 @@ dt.exports;
412
412
  (function(e) {
413
413
  var t = function() {
414
414
  var n = String.fromCharCode, r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", o = {};
415
- function i(c, l) {
416
- if (!o[c]) {
417
- o[c] = {};
418
- for (var h = 0; h < c.length; h++)
419
- o[c][c.charAt(h)] = h;
415
+ function i(a, l) {
416
+ if (!o[a]) {
417
+ o[a] = {};
418
+ for (var h = 0; h < a.length; h++)
419
+ o[a][a.charAt(h)] = h;
420
420
  }
421
- return o[c][l];
421
+ return o[a][l];
422
422
  }
423
423
  var u = {
424
- compressToBase64: function(c) {
425
- if (c == null)
424
+ compressToBase64: function(a) {
425
+ if (a == null)
426
426
  return "";
427
- var l = u._compress(c, 6, function(h) {
427
+ var l = u._compress(a, 6, function(h) {
428
428
  return r.charAt(h);
429
429
  });
430
430
  switch (l.length % 4) {
@@ -439,163 +439,163 @@ dt.exports;
439
439
  return l + "=";
440
440
  }
441
441
  },
442
- decompressFromBase64: function(c) {
443
- return c == null ? "" : c == "" ? null : u._decompress(c.length, 32, function(l) {
444
- return i(r, c.charAt(l));
442
+ decompressFromBase64: function(a) {
443
+ return a == null ? "" : a == "" ? null : u._decompress(a.length, 32, function(l) {
444
+ return i(r, a.charAt(l));
445
445
  });
446
446
  },
447
- compressToUTF16: function(c) {
448
- return c == null ? "" : u._compress(c, 15, function(l) {
447
+ compressToUTF16: function(a) {
448
+ return a == null ? "" : u._compress(a, 15, function(l) {
449
449
  return n(l + 32);
450
450
  }) + " ";
451
451
  },
452
- decompressFromUTF16: function(c) {
453
- return c == null ? "" : c == "" ? null : u._decompress(c.length, 16384, function(l) {
454
- return c.charCodeAt(l) - 32;
452
+ decompressFromUTF16: function(a) {
453
+ return a == null ? "" : a == "" ? null : u._decompress(a.length, 16384, function(l) {
454
+ return a.charCodeAt(l) - 32;
455
455
  });
456
456
  },
457
457
  //compress into uint8array (UCS-2 big endian format)
458
- compressToUint8Array: function(c) {
459
- for (var l = u.compress(c), h = new Uint8Array(l.length * 2), f = 0, d = l.length; f < d; f++) {
460
- var w = l.charCodeAt(f);
461
- h[f * 2] = w >>> 8, h[f * 2 + 1] = w % 256;
458
+ compressToUint8Array: function(a) {
459
+ for (var l = u.compress(a), h = new Uint8Array(l.length * 2), f = 0, d = l.length; f < d; f++) {
460
+ var k = l.charCodeAt(f);
461
+ h[f * 2] = k >>> 8, h[f * 2 + 1] = k % 256;
462
462
  }
463
463
  return h;
464
464
  },
465
465
  //decompress from uint8array (UCS-2 big endian format)
466
- decompressFromUint8Array: function(c) {
467
- if (c == null)
468
- return u.decompress(c);
469
- for (var l = new Array(c.length / 2), h = 0, f = l.length; h < f; h++)
470
- l[h] = c[h * 2] * 256 + c[h * 2 + 1];
466
+ decompressFromUint8Array: function(a) {
467
+ if (a == null)
468
+ return u.decompress(a);
469
+ for (var l = new Array(a.length / 2), h = 0, f = l.length; h < f; h++)
470
+ l[h] = a[h * 2] * 256 + a[h * 2 + 1];
471
471
  var d = [];
472
- return l.forEach(function(w) {
473
- d.push(n(w));
472
+ return l.forEach(function(k) {
473
+ d.push(n(k));
474
474
  }), u.decompress(d.join(""));
475
475
  },
476
476
  //compress into a string that is already URI encoded
477
- compressToEncodedURIComponent: function(c) {
478
- return c == null ? "" : u._compress(c, 6, function(l) {
477
+ compressToEncodedURIComponent: function(a) {
478
+ return a == null ? "" : u._compress(a, 6, function(l) {
479
479
  return s.charAt(l);
480
480
  });
481
481
  },
482
482
  //decompress from an output of compressToEncodedURIComponent
483
- decompressFromEncodedURIComponent: function(c) {
484
- return c == null ? "" : c == "" ? null : (c = c.replace(/ /g, "+"), u._decompress(c.length, 32, function(l) {
485
- return i(s, c.charAt(l));
483
+ decompressFromEncodedURIComponent: function(a) {
484
+ return a == null ? "" : a == "" ? null : (a = a.replace(/ /g, "+"), u._decompress(a.length, 32, function(l) {
485
+ return i(s, a.charAt(l));
486
486
  }));
487
487
  },
488
- compress: function(c) {
489
- return u._compress(c, 16, function(l) {
488
+ compress: function(a) {
489
+ return u._compress(a, 16, function(l) {
490
490
  return n(l);
491
491
  });
492
492
  },
493
- _compress: function(c, l, h) {
494
- if (c == null)
493
+ _compress: function(a, l, h) {
494
+ if (a == null)
495
495
  return "";
496
- var f, d, w = {}, S = {}, B = "", I = "", T = "", _ = 2, k = 3, m = 2, O = [], a = 0, b = 0, y;
497
- for (y = 0; y < c.length; y += 1)
498
- if (B = c.charAt(y), Object.prototype.hasOwnProperty.call(w, B) || (w[B] = k++, S[B] = !0), I = T + B, Object.prototype.hasOwnProperty.call(w, I))
496
+ var f, d, k = {}, O = {}, B = "", I = "", T = "", w = 2, _ = 3, y = 2, x = [], c = 0, v = 0, g;
497
+ for (g = 0; g < a.length; g += 1)
498
+ if (B = a.charAt(g), Object.prototype.hasOwnProperty.call(k, B) || (k[B] = _++, O[B] = !0), I = T + B, Object.prototype.hasOwnProperty.call(k, I))
499
499
  T = I;
500
500
  else {
501
- if (Object.prototype.hasOwnProperty.call(S, T)) {
501
+ if (Object.prototype.hasOwnProperty.call(O, T)) {
502
502
  if (T.charCodeAt(0) < 256) {
503
- for (f = 0; f < m; f++)
504
- a = a << 1, b == l - 1 ? (b = 0, O.push(h(a)), a = 0) : b++;
503
+ for (f = 0; f < y; f++)
504
+ c = c << 1, v == l - 1 ? (v = 0, x.push(h(c)), c = 0) : v++;
505
505
  for (d = T.charCodeAt(0), f = 0; f < 8; f++)
506
- a = a << 1 | d & 1, b == l - 1 ? (b = 0, O.push(h(a)), a = 0) : b++, d = d >> 1;
506
+ c = c << 1 | d & 1, v == l - 1 ? (v = 0, x.push(h(c)), c = 0) : v++, d = d >> 1;
507
507
  } else {
508
- for (d = 1, f = 0; f < m; f++)
509
- a = a << 1 | d, b == l - 1 ? (b = 0, O.push(h(a)), a = 0) : b++, d = 0;
508
+ for (d = 1, f = 0; f < y; f++)
509
+ c = c << 1 | d, v == l - 1 ? (v = 0, x.push(h(c)), c = 0) : v++, d = 0;
510
510
  for (d = T.charCodeAt(0), f = 0; f < 16; f++)
511
- a = a << 1 | d & 1, b == l - 1 ? (b = 0, O.push(h(a)), a = 0) : b++, d = d >> 1;
511
+ c = c << 1 | d & 1, v == l - 1 ? (v = 0, x.push(h(c)), c = 0) : v++, d = d >> 1;
512
512
  }
513
- _--, _ == 0 && (_ = Math.pow(2, m), m++), delete S[T];
513
+ w--, w == 0 && (w = Math.pow(2, y), y++), delete O[T];
514
514
  } else
515
- for (d = w[T], f = 0; f < m; f++)
516
- a = a << 1 | d & 1, b == l - 1 ? (b = 0, O.push(h(a)), a = 0) : b++, d = d >> 1;
517
- _--, _ == 0 && (_ = Math.pow(2, m), m++), w[I] = k++, T = String(B);
515
+ for (d = k[T], f = 0; f < y; f++)
516
+ c = c << 1 | d & 1, v == l - 1 ? (v = 0, x.push(h(c)), c = 0) : v++, d = d >> 1;
517
+ w--, w == 0 && (w = Math.pow(2, y), y++), k[I] = _++, T = String(B);
518
518
  }
519
519
  if (T !== "") {
520
- if (Object.prototype.hasOwnProperty.call(S, T)) {
520
+ if (Object.prototype.hasOwnProperty.call(O, T)) {
521
521
  if (T.charCodeAt(0) < 256) {
522
- for (f = 0; f < m; f++)
523
- a = a << 1, b == l - 1 ? (b = 0, O.push(h(a)), a = 0) : b++;
522
+ for (f = 0; f < y; f++)
523
+ c = c << 1, v == l - 1 ? (v = 0, x.push(h(c)), c = 0) : v++;
524
524
  for (d = T.charCodeAt(0), f = 0; f < 8; f++)
525
- a = a << 1 | d & 1, b == l - 1 ? (b = 0, O.push(h(a)), a = 0) : b++, d = d >> 1;
525
+ c = c << 1 | d & 1, v == l - 1 ? (v = 0, x.push(h(c)), c = 0) : v++, d = d >> 1;
526
526
  } else {
527
- for (d = 1, f = 0; f < m; f++)
528
- a = a << 1 | d, b == l - 1 ? (b = 0, O.push(h(a)), a = 0) : b++, d = 0;
527
+ for (d = 1, f = 0; f < y; f++)
528
+ c = c << 1 | d, v == l - 1 ? (v = 0, x.push(h(c)), c = 0) : v++, d = 0;
529
529
  for (d = T.charCodeAt(0), f = 0; f < 16; f++)
530
- a = a << 1 | d & 1, b == l - 1 ? (b = 0, O.push(h(a)), a = 0) : b++, d = d >> 1;
530
+ c = c << 1 | d & 1, v == l - 1 ? (v = 0, x.push(h(c)), c = 0) : v++, d = d >> 1;
531
531
  }
532
- _--, _ == 0 && (_ = Math.pow(2, m), m++), delete S[T];
532
+ w--, w == 0 && (w = Math.pow(2, y), y++), delete O[T];
533
533
  } else
534
- for (d = w[T], f = 0; f < m; f++)
535
- a = a << 1 | d & 1, b == l - 1 ? (b = 0, O.push(h(a)), a = 0) : b++, d = d >> 1;
536
- _--, _ == 0 && (_ = Math.pow(2, m), m++);
534
+ for (d = k[T], f = 0; f < y; f++)
535
+ c = c << 1 | d & 1, v == l - 1 ? (v = 0, x.push(h(c)), c = 0) : v++, d = d >> 1;
536
+ w--, w == 0 && (w = Math.pow(2, y), y++);
537
537
  }
538
- for (d = 2, f = 0; f < m; f++)
539
- a = a << 1 | d & 1, b == l - 1 ? (b = 0, O.push(h(a)), a = 0) : b++, d = d >> 1;
538
+ for (d = 2, f = 0; f < y; f++)
539
+ c = c << 1 | d & 1, v == l - 1 ? (v = 0, x.push(h(c)), c = 0) : v++, d = d >> 1;
540
540
  for (; ; )
541
- if (a = a << 1, b == l - 1) {
542
- O.push(h(a));
541
+ if (c = c << 1, v == l - 1) {
542
+ x.push(h(c));
543
543
  break;
544
544
  } else
545
- b++;
546
- return O.join("");
545
+ v++;
546
+ return x.join("");
547
547
  },
548
- decompress: function(c) {
549
- return c == null ? "" : c == "" ? null : u._decompress(c.length, 32768, function(l) {
550
- return c.charCodeAt(l);
548
+ decompress: function(a) {
549
+ return a == null ? "" : a == "" ? null : u._decompress(a.length, 32768, function(l) {
550
+ return a.charCodeAt(l);
551
551
  });
552
552
  },
553
- _decompress: function(c, l, h) {
554
- var f = [], d = 4, w = 4, S = 3, B = "", I = [], T, _, k, m, O, a, b, y = { val: h(0), position: l, index: 1 };
553
+ _decompress: function(a, l, h) {
554
+ var f = [], d = 4, k = 4, O = 3, B = "", I = [], T, w, _, y, x, c, v, g = { val: h(0), position: l, index: 1 };
555
555
  for (T = 0; T < 3; T += 1)
556
556
  f[T] = T;
557
- for (k = 0, O = Math.pow(2, 2), a = 1; a != O; )
558
- m = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = l, y.val = h(y.index++)), k |= (m > 0 ? 1 : 0) * a, a <<= 1;
559
- switch (k) {
557
+ for (_ = 0, x = Math.pow(2, 2), c = 1; c != x; )
558
+ y = g.val & g.position, g.position >>= 1, g.position == 0 && (g.position = l, g.val = h(g.index++)), _ |= (y > 0 ? 1 : 0) * c, c <<= 1;
559
+ switch (_) {
560
560
  case 0:
561
- for (k = 0, O = Math.pow(2, 8), a = 1; a != O; )
562
- m = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = l, y.val = h(y.index++)), k |= (m > 0 ? 1 : 0) * a, a <<= 1;
563
- b = n(k);
561
+ for (_ = 0, x = Math.pow(2, 8), c = 1; c != x; )
562
+ y = g.val & g.position, g.position >>= 1, g.position == 0 && (g.position = l, g.val = h(g.index++)), _ |= (y > 0 ? 1 : 0) * c, c <<= 1;
563
+ v = n(_);
564
564
  break;
565
565
  case 1:
566
- for (k = 0, O = Math.pow(2, 16), a = 1; a != O; )
567
- m = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = l, y.val = h(y.index++)), k |= (m > 0 ? 1 : 0) * a, a <<= 1;
568
- b = n(k);
566
+ for (_ = 0, x = Math.pow(2, 16), c = 1; c != x; )
567
+ y = g.val & g.position, g.position >>= 1, g.position == 0 && (g.position = l, g.val = h(g.index++)), _ |= (y > 0 ? 1 : 0) * c, c <<= 1;
568
+ v = n(_);
569
569
  break;
570
570
  case 2:
571
571
  return "";
572
572
  }
573
- for (f[3] = b, _ = b, I.push(b); ; ) {
574
- if (y.index > c)
573
+ for (f[3] = v, w = v, I.push(v); ; ) {
574
+ if (g.index > a)
575
575
  return "";
576
- for (k = 0, O = Math.pow(2, S), a = 1; a != O; )
577
- m = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = l, y.val = h(y.index++)), k |= (m > 0 ? 1 : 0) * a, a <<= 1;
578
- switch (b = k) {
576
+ for (_ = 0, x = Math.pow(2, O), c = 1; c != x; )
577
+ y = g.val & g.position, g.position >>= 1, g.position == 0 && (g.position = l, g.val = h(g.index++)), _ |= (y > 0 ? 1 : 0) * c, c <<= 1;
578
+ switch (v = _) {
579
579
  case 0:
580
- for (k = 0, O = Math.pow(2, 8), a = 1; a != O; )
581
- m = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = l, y.val = h(y.index++)), k |= (m > 0 ? 1 : 0) * a, a <<= 1;
582
- f[w++] = n(k), b = w - 1, d--;
580
+ for (_ = 0, x = Math.pow(2, 8), c = 1; c != x; )
581
+ y = g.val & g.position, g.position >>= 1, g.position == 0 && (g.position = l, g.val = h(g.index++)), _ |= (y > 0 ? 1 : 0) * c, c <<= 1;
582
+ f[k++] = n(_), v = k - 1, d--;
583
583
  break;
584
584
  case 1:
585
- for (k = 0, O = Math.pow(2, 16), a = 1; a != O; )
586
- m = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = l, y.val = h(y.index++)), k |= (m > 0 ? 1 : 0) * a, a <<= 1;
587
- f[w++] = n(k), b = w - 1, d--;
585
+ for (_ = 0, x = Math.pow(2, 16), c = 1; c != x; )
586
+ y = g.val & g.position, g.position >>= 1, g.position == 0 && (g.position = l, g.val = h(g.index++)), _ |= (y > 0 ? 1 : 0) * c, c <<= 1;
587
+ f[k++] = n(_), v = k - 1, d--;
588
588
  break;
589
589
  case 2:
590
590
  return I.join("");
591
591
  }
592
- if (d == 0 && (d = Math.pow(2, S), S++), f[b])
593
- B = f[b];
594
- else if (b === w)
595
- B = _ + _.charAt(0);
592
+ if (d == 0 && (d = Math.pow(2, O), O++), f[v])
593
+ B = f[v];
594
+ else if (v === k)
595
+ B = w + w.charAt(0);
596
596
  else
597
597
  return null;
598
- I.push(B), f[w++] = _ + B.charAt(0), d--, _ = B, d == 0 && (d = Math.pow(2, S), S++);
598
+ I.push(B), f[k++] = w + B.charAt(0), d--, w = B, d == 0 && (d = Math.pow(2, O), O++);
599
599
  }
600
600
  }
601
601
  };
@@ -687,17 +687,17 @@ function ht(e) {
687
687
  throw new Error(`expected Uint8Array, got ${typeof e}`);
688
688
  return e;
689
689
  }
690
- class vr {
690
+ class mr {
691
691
  // Safe version that clones internal state
692
692
  clone() {
693
693
  return this._cloneInto();
694
694
  }
695
695
  }
696
- function mr(e) {
696
+ function vr(e) {
697
697
  const t = (r, s) => e(s).update(ht(r)).digest(), n = e({});
698
698
  return t.outputLen = n.outputLen, t.blockLen = n.blockLen, t.create = (r) => e(r), t;
699
699
  }
700
- class gr extends vr {
700
+ class gr extends mr {
701
701
  constructor(t, n, r = {}, s, o, i) {
702
702
  if (super(), this.blockLen = t, this.outputLen = n, this.length = 0, this.pos = 0, this.finished = !1, this.destroyed = !1, Ee(t), Ee(n), Ee(s), n < 0 || n > s)
703
703
  throw new Error("outputLen bigger than keyLen");
@@ -714,16 +714,16 @@ class gr extends vr {
714
714
  const { blockLen: n, buffer: r, buffer32: s } = this;
715
715
  t = ht(t);
716
716
  const o = t.length, i = t.byteOffset, u = t.buffer;
717
- for (let c = 0; c < o; ) {
717
+ for (let a = 0; a < o; ) {
718
718
  this.pos === n && (this.compress(s, 0, !1), this.pos = 0);
719
- const l = Math.min(n - this.pos, o - c), h = i + c;
720
- if (l === n && !(h % 4) && c + l < o) {
721
- const f = new Uint32Array(u, h, Math.floor((o - c) / 4));
722
- for (let d = 0; c + n < o; d += s.length, c += n)
719
+ const l = Math.min(n - this.pos, o - a), h = i + a;
720
+ if (l === n && !(h % 4) && a + l < o) {
721
+ const f = new Uint32Array(u, h, Math.floor((o - a) / 4));
722
+ for (let d = 0; a + n < o; d += s.length, a += n)
723
723
  this.length += n, this.compress(f, d, !1);
724
724
  continue;
725
725
  }
726
- r.set(t.subarray(c, c + l), this.pos), this.pos += l, this.length += l, c += l;
726
+ r.set(t.subarray(a, a + l), this.pos), this.pos += l, this.length += l, a += l;
727
727
  }
728
728
  return this;
729
729
  }
@@ -745,18 +745,18 @@ class gr extends vr {
745
745
  return t || (t = new this.constructor({ dkLen: i })), t.set(...this.get()), t.length = r, t.finished = s, t.destroyed = o, t.outputLen = i, t.buffer.set(n), t.pos = u, t;
746
746
  }
747
747
  }
748
- const Q = /* @__PURE__ */ new Uint32Array([1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225]);
748
+ const ee = /* @__PURE__ */ new Uint32Array([1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225]);
749
749
  function re(e, t, n, r, s) {
750
750
  return e = e + t + s | 0, r = Ue(r ^ e, 16), n = n + r | 0, t = Ue(t ^ n, 12), { a: e, b: t, c: n, d: r };
751
751
  }
752
752
  function se(e, t, n, r, s) {
753
753
  return e = e + t + s | 0, r = Ue(r ^ e, 8), n = n + r | 0, t = Ue(t ^ n, 7), { a: e, b: t, c: n, d: r };
754
754
  }
755
- function Ot(e, t, n, r, s, o, i, u, c, l, h, f, d, w, S, B, I, T, _, k) {
756
- let m = 0;
757
- for (let O = 0; O < r; O++)
758
- ({ a: s, b: c, c: d, d: I } = re(s, c, d, I, n[t + e[m++]])), { a: s, b: c, c: d, d: I } = se(s, c, d, I, n[t + e[m++]]), { a: o, b: l, c: w, d: T } = re(o, l, w, T, n[t + e[m++]]), { a: o, b: l, c: w, d: T } = se(o, l, w, T, n[t + e[m++]]), { a: i, b: h, c: S, d: _ } = re(i, h, S, _, n[t + e[m++]]), { a: i, b: h, c: S, d: _ } = se(i, h, S, _, n[t + e[m++]]), { a: u, b: f, c: B, d: k } = re(u, f, B, k, n[t + e[m++]]), { a: u, b: f, c: B, d: k } = se(u, f, B, k, n[t + e[m++]]), { a: s, b: l, c: S, d: k } = re(s, l, S, k, n[t + e[m++]]), { a: s, b: l, c: S, d: k } = se(s, l, S, k, n[t + e[m++]]), { a: o, b: h, c: B, d: I } = re(o, h, B, I, n[t + e[m++]]), { a: o, b: h, c: B, d: I } = se(o, h, B, I, n[t + e[m++]]), { a: i, b: f, c: d, d: T } = re(i, f, d, T, n[t + e[m++]]), { a: i, b: f, c: d, d: T } = se(i, f, d, T, n[t + e[m++]]), { a: u, b: c, c: w, d: _ } = re(u, c, w, _, n[t + e[m++]]), { a: u, b: c, c: w, d: _ } = se(u, c, w, _, n[t + e[m++]]);
759
- return { v0: s, v1: o, v2: i, v3: u, v4: c, v5: l, v6: h, v7: f, v8: d, v9: w, v10: S, v11: B, v12: I, v13: T, v14: _, v15: k };
755
+ function Ot(e, t, n, r, s, o, i, u, a, l, h, f, d, k, O, B, I, T, w, _) {
756
+ let y = 0;
757
+ for (let x = 0; x < r; x++)
758
+ ({ a: s, b: a, c: d, d: I } = re(s, a, d, I, n[t + e[y++]])), { a: s, b: a, c: d, d: I } = se(s, a, d, I, n[t + e[y++]]), { a: o, b: l, c: k, d: T } = re(o, l, k, T, n[t + e[y++]]), { a: o, b: l, c: k, d: T } = se(o, l, k, T, n[t + e[y++]]), { a: i, b: h, c: O, d: w } = re(i, h, O, w, n[t + e[y++]]), { a: i, b: h, c: O, d: w } = se(i, h, O, w, n[t + e[y++]]), { a: u, b: f, c: B, d: _ } = re(u, f, B, _, n[t + e[y++]]), { a: u, b: f, c: B, d: _ } = se(u, f, B, _, n[t + e[y++]]), { a: s, b: l, c: O, d: _ } = re(s, l, O, _, n[t + e[y++]]), { a: s, b: l, c: O, d: _ } = se(s, l, O, _, n[t + e[y++]]), { a: o, b: h, c: B, d: I } = re(o, h, B, I, n[t + e[y++]]), { a: o, b: h, c: B, d: I } = se(o, h, B, I, n[t + e[y++]]), { a: i, b: f, c: d, d: T } = re(i, f, d, T, n[t + e[y++]]), { a: i, b: f, c: d, d: T } = se(i, f, d, T, n[t + e[y++]]), { a: u, b: a, c: k, d: w } = re(u, a, k, w, n[t + e[y++]]), { a: u, b: a, c: k, d: w } = se(u, a, k, w, n[t + e[y++]]);
759
+ return { v0: s, v1: o, v2: i, v3: u, v4: a, v5: l, v6: h, v7: f, v8: d, v9: k, v10: O, v11: B, v12: I, v13: T, v14: w, v15: _ };
760
760
  }
761
761
  const Et = /* @__PURE__ */ (() => {
762
762
  const e = Array.from({ length: 16 }, (r, s) => s), t = (r) => [2, 6, 3, 10, 7, 0, 4, 13, 1, 11, 12, 5, 9, 14, 15, 8].map((s) => r[s]), n = [];
@@ -781,7 +781,7 @@ class pt extends gr {
781
781
  ).update(t.context).digest();
782
782
  this.IV = We(r), this.flags = n | 64;
783
783
  } else
784
- this.IV = Q.slice(), this.flags = n;
784
+ this.IV = ee.slice(), this.flags = n;
785
785
  this.state = this.IV.slice(), this.bufferOut = dr(this.bufferOut32);
786
786
  }
787
787
  // Unused
@@ -791,8 +791,8 @@ class pt extends gr {
791
791
  set() {
792
792
  }
793
793
  b2Compress(t, n, r, s = 0) {
794
- const { state: o, pos: i } = this, { h: u, l: c } = St(BigInt(t), !0), { v0: l, v1: h, v2: f, v3: d, v4: w, v5: S, v6: B, v7: I, v8: T, v9: _, v10: k, v11: m, v12: O, v13: a, v14: b, v15: y } = Ot(Et, s, r, 7, o[0], o[1], o[2], o[3], o[4], o[5], o[6], o[7], Q[0], Q[1], Q[2], Q[3], u, c, i, n);
795
- o[0] = l ^ T, o[1] = h ^ _, o[2] = f ^ k, o[3] = d ^ m, o[4] = w ^ O, o[5] = S ^ a, o[6] = B ^ b, o[7] = I ^ y;
794
+ const { state: o, pos: i } = this, { h: u, l: a } = St(BigInt(t), !0), { v0: l, v1: h, v2: f, v3: d, v4: k, v5: O, v6: B, v7: I, v8: T, v9: w, v10: _, v11: y, v12: x, v13: c, v14: v, v15: g } = Ot(Et, s, r, 7, o[0], o[1], o[2], o[3], o[4], o[5], o[6], o[7], ee[0], ee[1], ee[2], ee[3], u, a, i, n);
795
+ o[0] = l ^ T, o[1] = h ^ w, o[2] = f ^ _, o[3] = d ^ y, o[4] = k ^ x, o[5] = O ^ c, o[6] = B ^ v, o[7] = I ^ g;
796
796
  }
797
797
  compress(t, n = 0, r = !1) {
798
798
  let s = this.flags;
@@ -807,8 +807,8 @@ class pt extends gr {
807
807
  }
808
808
  _cloneInto(t) {
809
809
  t = super._cloneInto(t);
810
- const { IV: n, flags: r, state: s, chunkPos: o, posOut: i, chunkOut: u, stack: c, chunksDone: l } = this;
811
- return t.state.set(s.slice()), t.stack = c.map((h) => Uint32Array.from(h)), t.IV.set(n), t.flags = r, t.chunkPos = o, t.chunksDone = l, t.posOut = i, t.chunkOut = u, t.enableXOF = this.enableXOF, t.bufferOut32.set(this.bufferOut32), t;
810
+ const { IV: n, flags: r, state: s, chunkPos: o, posOut: i, chunkOut: u, stack: a, chunksDone: l } = this;
811
+ return t.state.set(s.slice()), t.stack = a.map((h) => Uint32Array.from(h)), t.IV.set(n), t.flags = r, t.chunkPos = o, t.chunksDone = l, t.posOut = i, t.chunkOut = u, t.enableXOF = this.enableXOF, t.bufferOut32.set(this.bufferOut32), t;
812
812
  }
813
813
  destroy() {
814
814
  this.destroyed = !0, this.state.fill(0), this.buffer32.fill(0), this.IV.fill(0), this.bufferOut32.fill(0);
@@ -817,8 +817,8 @@ class pt extends gr {
817
817
  }
818
818
  // Same as b2Compress, but doesn't modify state and returns 16 u32 array (instead of 8)
819
819
  b2CompressOut() {
820
- const { state: t, pos: n, flags: r, buffer32: s, bufferOut32: o } = this, { h: i, l: u } = St(BigInt(this.chunkOut++)), { v0: c, v1: l, v2: h, v3: f, v4: d, v5: w, v6: S, v7: B, v8: I, v9: T, v10: _, v11: k, v12: m, v13: O, v14: a, v15: b } = Ot(Et, 0, s, 7, t[0], t[1], t[2], t[3], t[4], t[5], t[6], t[7], Q[0], Q[1], Q[2], Q[3], u, i, n, r);
821
- o[0] = c ^ I, o[1] = l ^ T, o[2] = h ^ _, o[3] = f ^ k, o[4] = d ^ m, o[5] = w ^ O, o[6] = S ^ a, o[7] = B ^ b, o[8] = t[0] ^ I, o[9] = t[1] ^ T, o[10] = t[2] ^ _, o[11] = t[3] ^ k, o[12] = t[4] ^ m, o[13] = t[5] ^ O, o[14] = t[6] ^ a, o[15] = t[7] ^ b, this.posOut = 0;
820
+ const { state: t, pos: n, flags: r, buffer32: s, bufferOut32: o } = this, { h: i, l: u } = St(BigInt(this.chunkOut++)), { v0: a, v1: l, v2: h, v3: f, v4: d, v5: k, v6: O, v7: B, v8: I, v9: T, v10: w, v11: _, v12: y, v13: x, v14: c, v15: v } = Ot(Et, 0, s, 7, t[0], t[1], t[2], t[3], t[4], t[5], t[6], t[7], ee[0], ee[1], ee[2], ee[3], u, i, n, r);
821
+ o[0] = a ^ I, o[1] = l ^ T, o[2] = h ^ w, o[3] = f ^ _, o[4] = d ^ y, o[5] = k ^ x, o[6] = O ^ c, o[7] = B ^ v, o[8] = t[0] ^ I, o[9] = t[1] ^ T, o[10] = t[2] ^ w, o[11] = t[3] ^ _, o[12] = t[4] ^ y, o[13] = t[5] ^ x, o[14] = t[6] ^ c, o[15] = t[7] ^ v, this.posOut = 0;
822
822
  }
823
823
  finish() {
824
824
  if (this.finished)
@@ -854,10 +854,10 @@ class pt extends gr {
854
854
  return this.digestInto(new Uint8Array(this.outputLen));
855
855
  }
856
856
  }
857
- const yr = /* @__PURE__ */ mr((e) => new pt(e)), dn = (e) => {
857
+ const yr = /* @__PURE__ */ vr((e) => new pt(e)), dn = (e) => {
858
858
  const t = `${e.id}|${e.title}|${e.iframe ? "Y" : "N"}|${e.closable ? "Y" : "N"}|${e.refreshable ? "Y" : "N"}`;
859
859
  return cn.compressToEncodedURIComponent(t);
860
- }, wr = (e) => {
860
+ }, kr = (e) => {
861
861
  const n = cn.decompressFromEncodedURIComponent(e).split("|");
862
862
  return {
863
863
  id: n[0],
@@ -903,13 +903,13 @@ function st(e, t, n = ".", r) {
903
903
  }
904
904
  return s;
905
905
  }
906
- function kr(e) {
906
+ function wr(e) {
907
907
  return (...t) => (
908
908
  // eslint-disable-next-line unicorn/no-array-reduce
909
909
  t.reduce((n, r) => st(n, r, "", e), {})
910
910
  );
911
911
  }
912
- const te = kr(), bt = (e) => {
912
+ const te = wr(), bt = (e) => {
913
913
  const t = e.split("?");
914
914
  if (t.length <= 1)
915
915
  return {
@@ -949,60 +949,60 @@ const Tr = _r(), xr = {
949
949
  e.provide("tabEmitter", Tr);
950
950
  }
951
951
  }, Ce = () => at("tabEmitter");
952
- var V = /* @__PURE__ */ ((e) => (e.PAGE_LOADING = "PAGE_LOADING", e.TAB_ACTIVE = "TAB_ACTIVE", e))(V || {});
952
+ var F = /* @__PURE__ */ ((e) => (e.PAGE_LOADING = "PAGE_LOADING", e.TAB_ACTIVE = "TAB_ACTIVE", e))(F || {});
953
953
  const Sr = {
954
954
  key: 0,
955
955
  class: "stack-tab-loading-mask"
956
- }, Or = /* @__PURE__ */ J("div", { class: "stack-tab-loading--spin turn" }, null, -1), Er = [
956
+ }, Or = /* @__PURE__ */ K("div", { class: "stack-tab-loading--spin turn" }, null, -1), Er = [
957
957
  Or
958
- ], Ar = /* @__PURE__ */ K({
958
+ ], Ar = /* @__PURE__ */ Q({
959
959
  __name: "PageLoading",
960
960
  props: {
961
961
  tId: {}
962
962
  },
963
963
  setup(e) {
964
- const t = e, n = Ce(), r = $(!1);
965
- return n.on(V.PAGE_LOADING, ({ tId: s, value: o }) => {
964
+ const t = e, n = Ce(), r = R(!1);
965
+ return n.on(F.PAGE_LOADING, ({ tId: s, value: o }) => {
966
966
  s === t.tId && (r.value = o);
967
- }), (s, o) => r.value ? (z(), P("div", Sr, Er)) : ne("", !0);
967
+ }), (s, o) => r.value ? (z(), D("div", Sr, Er)) : ne("", !0);
968
968
  }
969
- }), C = $([]), $e = [], R = $([]), oe = /* @__PURE__ */ new Map(), _e = /* @__PURE__ */ new Set(), ee = /* @__PURE__ */ new Set(), ue = $(!0), It = "stacktab-active-tab", fe = /* @__PURE__ */ new Map();
969
+ }), C = R([]), $e = [], $ = R([]), oe = /* @__PURE__ */ new Map(), _e = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Set(), ue = R(!0), It = "stacktab-active-tab", fe = /* @__PURE__ */ new Map();
970
970
  let Bt = !1, Re = 0, Ct = !1;
971
971
  const Me = () => {
972
- const e = ut(), t = Ce(), n = () => C.value.length, r = (g) => {
973
- $e.splice(0), R.value.splice(0), _e.clear(), ee.clear(), oe.clear();
974
- for (const A of g) {
972
+ const e = ut(), t = Ce(), n = () => C.value.length, r = (m) => {
973
+ $e.splice(0), $.value.splice(0), _e.clear(), W.clear(), oe.clear();
974
+ for (const A of m) {
975
975
  const p = te(A, {
976
976
  id: an()
977
- }), L = dn(p), U = bt(p.path), D = te(p, {
977
+ }), L = dn(p), V = bt(p.path), P = te(p, {
978
978
  closable: !0,
979
979
  refreshable: !0,
980
980
  iframe: !1
981
- }), Le = At(p.id, U.path, U.query), G = {
981
+ }), Le = At(p.id, V.path, V.query), H = {
982
982
  id: Le,
983
983
  tabId: p.id,
984
- path: U.path,
985
- query: te(U.query, {
984
+ path: V.path,
985
+ query: te(V.query, {
986
986
  __tab: L
987
987
  })
988
988
  }, ve = new Ye();
989
- ve.push(G);
990
- const Z = {
989
+ ve.push(H);
990
+ const X = {
991
991
  id: p.id,
992
- title: D.title,
993
- closable: D.closable,
994
- refreshable: D.refreshable,
995
- iframe: D.iframe,
992
+ title: P.title,
993
+ closable: P.closable,
994
+ refreshable: P.refreshable,
995
+ iframe: P.iframe,
996
996
  active: !1,
997
997
  pages: ve
998
998
  };
999
- $e.push(Z), C.value.push({
1000
- ...Z
1001
- }), R.value.push(Le);
999
+ $e.push(X), C.value.push({
1000
+ ...X
1001
+ }), $.value.push(Le);
1002
1002
  }
1003
- const v = window.sessionStorage.getItem(It);
1004
- if (v != null) {
1005
- const A = JSON.parse(v, (L, U) => L === "pages" ? new Ye(U) : U);
1003
+ const b = window.sessionStorage.getItem(It);
1004
+ if (b != null) {
1005
+ const A = JSON.parse(b, (L, V) => L === "pages" ? new Ye(V) : V);
1006
1006
  let p = !1;
1007
1007
  for (const L of C.value)
1008
1008
  if (L.id === A.id) {
@@ -1012,36 +1012,36 @@ const Me = () => {
1012
1012
  p || C.value.push(A);
1013
1013
  }
1014
1014
  Bt = !0;
1015
- }, s = (g) => {
1016
- for (const v of C.value)
1017
- if (v.id === g)
1015
+ }, s = (m) => {
1016
+ for (const b of C.value)
1017
+ if (b.id === m)
1018
1018
  return !0;
1019
1019
  return !1;
1020
- }, o = () => Re <= 0 || Re > 0 && Re > C.value.length, i = (g) => new Promise((v) => {
1021
- C.value.push(g), v(!0);
1022
- }), u = (g) => {
1023
- for (const v of C.value)
1024
- if (v.id === g)
1025
- return v;
1020
+ }, o = () => Re <= 0 || Re > 0 && Re > C.value.length, i = (m) => new Promise((b) => {
1021
+ C.value.push(m), b(!0);
1022
+ }), u = (m) => {
1023
+ for (const b of C.value)
1024
+ if (b.id === m)
1025
+ return b;
1026
1026
  return null;
1027
- }, c = (g, v) => {
1027
+ }, a = (m, b) => {
1028
1028
  let A;
1029
- const p = wr(g.query.__tab);
1030
- if (ee.has(p.id))
1029
+ const p = kr(m.query.__tab);
1030
+ if (W.has(p.id))
1031
1031
  return;
1032
- const L = g.matched[g.matched.length - 1].path, U = g.path.endsWith("/") ? g.path.substring(0, g.path.length - 1) : g.path, D = At(p.id, L === U ? U : g.path, g.query.valueOf()), Le = g.query.__src;
1033
- let G = null;
1034
- for (const Z of x(C))
1035
- Z.active = !1, Z.id === p.id && (G = Z);
1032
+ const L = m.matched[m.matched.length - 1].path, V = m.path.endsWith("/") ? m.path.substring(0, m.path.length - 1) : m.path, P = At(p.id, L === V ? V : m.path, m.query.valueOf()), Le = m.query.__src;
1033
+ let H = null;
1034
+ for (const X of S(C))
1035
+ X.active = !1, X.id === p.id && (H = X);
1036
1036
  const ve = {
1037
- id: D,
1037
+ id: P,
1038
1038
  tabId: p.id,
1039
- path: g.path,
1040
- query: g.query
1039
+ path: m.path,
1040
+ query: m.query
1041
1041
  };
1042
- if (G === null) {
1043
- const Z = new Ye();
1044
- Z.push(ve), G = {
1042
+ if (H === null) {
1043
+ const X = new Ye();
1044
+ X.push(ve), H = {
1045
1045
  id: p.id,
1046
1046
  title: p.title,
1047
1047
  closable: p.closable,
@@ -1049,213 +1049,216 @@ const Me = () => {
1049
1049
  iframe: p.iframe,
1050
1050
  url: decodeURIComponent(Le),
1051
1051
  active: !0,
1052
- pages: Z
1053
- }, i(G).then(() => {
1054
- t.emit(V.TAB_ACTIVE, {
1052
+ pages: X
1053
+ }, i(H).then(() => {
1054
+ t.emit(F.TAB_ACTIVE, {
1055
1055
  id: p.id,
1056
1056
  isRoute: !1
1057
1057
  });
1058
1058
  });
1059
1059
  } else
1060
- G.active = !0, (G.pages.isEmpty() || G.pages.peek().id !== ve.id) && G.pages.push(ve);
1061
- return E(G), oe.has(D) ? A = oe.get(D) : (A = /* @__PURE__ */ K({
1062
- name: D,
1060
+ H.active = !0, (H.pages.isEmpty() || H.pages.peek().id !== ve.id) && H.pages.push(ve);
1061
+ return E(H), oe.has(P) ? A = oe.get(P) : (A = /* @__PURE__ */ Q({
1062
+ name: P,
1063
1063
  components: {
1064
- DynamicComponent: v
1064
+ DynamicComponent: b
1065
1065
  },
1066
1066
  emits: {
1067
1067
  onLoaded: null
1068
1068
  },
1069
- setup(Z, gt) {
1069
+ setup(X, gt) {
1070
1070
  return qe(() => {
1071
- gt.emit("onLoaded"), d(D, ".cache-page-wrapper");
1071
+ gt.emit("onLoaded"), d(P, ".cache-page-wrapper");
1072
1072
  }), Sn(() => {
1073
- h(D);
1073
+ h(P);
1074
1074
  }), On(() => {
1075
- gt.emit("onLoaded"), l(D), y(), ee.clear(), v.props = null;
1075
+ gt.emit("onLoaded"), l(P), g(), W.clear(), b.props = null;
1076
1076
  }), Ge(() => {
1077
- f(D);
1077
+ f(P);
1078
1078
  }), () => N("div", {
1079
1079
  class: "cache-page-wrapper",
1080
1080
  id: "W-" + p.id,
1081
1081
  style: [Ct ? "overflow:auto" : "overflow:hidden"]
1082
1082
  }, [N(Zt("dynamic-component"), {
1083
1083
  tId: p.id,
1084
- pId: D
1084
+ pId: P
1085
1085
  }, null), N(Ar, {
1086
1086
  tId: p.id
1087
1087
  }, null)]);
1088
1088
  }
1089
- }), oe.set(D, A)), F(D), A;
1090
- }, l = (g) => {
1091
- const v = fe.get(g);
1092
- if (v) {
1093
- for (const A of v.keys())
1089
+ }), oe.set(P, A)), q(P), A;
1090
+ }, l = (m) => {
1091
+ const b = fe.get(m);
1092
+ if (b) {
1093
+ for (const A of b.keys())
1094
1094
  if (document.querySelector(A)) {
1095
- const p = v.get(A);
1095
+ const p = b.get(A);
1096
1096
  document.querySelector(A).scrollTop = p.top, document.querySelector(A).scrollLeft = p.left;
1097
1097
  }
1098
1098
  }
1099
- }, h = (g) => {
1099
+ }, h = (m) => {
1100
1100
  var A, p;
1101
- const v = fe.get(g);
1102
- if (v)
1103
- for (const L of v.keys()) {
1104
- const U = {
1101
+ const b = fe.get(m);
1102
+ if (b)
1103
+ for (const L of b.keys()) {
1104
+ const V = {
1105
1105
  top: ((A = document.querySelector(L)) == null ? void 0 : A.scrollTop) ?? 0,
1106
1106
  left: ((p = document.querySelector(L)) == null ? void 0 : p.scrollLeft) ?? 0
1107
1107
  };
1108
- v.set(L, U);
1108
+ b.set(L, V);
1109
1109
  }
1110
- }, f = (g) => {
1111
- const v = fe.get(g);
1112
- v && (v.clear(), fe.delete(g));
1113
- }, d = (g, ...v) => {
1114
- fe.has(g) || fe.set(g, /* @__PURE__ */ new Map());
1115
- const A = fe.get(g);
1116
- for (const p of v)
1110
+ }, f = (m) => {
1111
+ const b = fe.get(m);
1112
+ b && (b.clear(), fe.delete(m));
1113
+ }, d = (m, ...b) => {
1114
+ fe.has(m) || fe.set(m, /* @__PURE__ */ new Map());
1115
+ const A = fe.get(m);
1116
+ for (const p of b)
1117
1117
  A.set(p, {
1118
1118
  top: 0,
1119
1119
  left: 0
1120
1120
  });
1121
- }, w = (g) => {
1122
- let v = "";
1121
+ }, k = (m) => {
1122
+ let b = "";
1123
+ const A = u(m);
1123
1124
  for (let p = C.value.length - 1; p >= 0; p--)
1124
- if (g === x(C)[p].id) {
1125
- if (!x(C)[p].closable)
1126
- return g;
1127
- for (const L of x(C)[p].pages.list())
1128
- a(L.id), b(L.id), ee.add(x(C)[p].id);
1129
- x(C)[p].pages.clear(), C.value.length > 1 && x(C)[p].active && (p === 0 ? v = x(C)[p + 1].id : v = x(C)[p - 1].id), x(C).splice(p, 1);
1125
+ if (m === S(C)[p].id) {
1126
+ if (!S(C)[p].closable)
1127
+ return m;
1128
+ for (const L of S(C)[p].pages.list())
1129
+ c(L.id), v(L.id), W.add(S(C)[p].id);
1130
+ S(C)[p].pages.clear(), C.value.length > 1 && S(C)[p].active && (p === 0 ? b = S(C)[p + 1].id : b = S(C)[p - 1].id), S(C).splice(p, 1);
1130
1131
  break;
1131
1132
  }
1132
- v !== "" && t.emit(V.TAB_ACTIVE, {
1133
- id: v
1134
- });
1135
- const A = u(g);
1136
- return A != null && A.active || y(), v;
1137
- }, S = () => {
1138
- const g = x(C);
1139
- for (let v = g.length - 1; v >= 0; v--)
1140
- if (g[v].closable) {
1141
- for (const A of g[v].pages.list())
1142
- a(A.id), b(A.id), ee.add(g[v].id);
1143
- x(C)[v].pages.clear(), x(C).splice(v, 1);
1133
+ return b !== "" && t.emit(F.TAB_ACTIVE, {
1134
+ id: b
1135
+ }), A != null && A.active || (g(), W.clear()), b;
1136
+ }, O = () => {
1137
+ const m = S(C);
1138
+ for (let b = m.length - 1; b >= 0; b--)
1139
+ if (m[b].closable) {
1140
+ for (const A of m[b].pages.list())
1141
+ c(A.id), v(A.id), W.add(m[b].id);
1142
+ S(C)[b].pages.clear(), S(C).splice(b, 1);
1144
1143
  }
1145
- for (const v of g)
1146
- if (v.active) {
1147
- y();
1144
+ for (const b of m)
1145
+ if (b.active) {
1146
+ g(), W.clear();
1148
1147
  return;
1149
1148
  }
1150
- t.emit(V.TAB_ACTIVE, {
1151
- id: g[g.length - 1].id
1149
+ t.emit(F.TAB_ACTIVE, {
1150
+ id: m[m.length - 1].id
1152
1151
  });
1153
- }, B = (g) => {
1154
- const v = x(C);
1152
+ }, B = (m) => {
1153
+ const b = S(C);
1155
1154
  let A;
1156
- for (let p = v.length - 1; p >= 0; p--)
1157
- if (v[p].id === g)
1158
- A = v[p];
1159
- else if (v[p].closable && v[p].id !== g) {
1160
- for (const L of v[p].pages.list())
1161
- a(L.id), b(L.id), ee.add(v[p].id);
1162
- x(C)[p].pages.clear(), x(C).splice(p, 1);
1155
+ for (let p = b.length - 1; p >= 0; p--)
1156
+ if (b[p].id === m)
1157
+ A = b[p];
1158
+ else if (b[p].closable && b[p].id !== m) {
1159
+ for (const L of b[p].pages.list())
1160
+ c(L.id), v(L.id), W.add(b[p].id);
1161
+ S(C)[p].pages.clear(), S(C).splice(p, 1);
1163
1162
  }
1164
- A.active ? y() : t.emit(V.TAB_ACTIVE, {
1165
- id: g
1163
+ A.active ? (g(), W.clear()) : t.emit(F.TAB_ACTIVE, {
1164
+ id: m
1166
1165
  });
1167
- }, I = (g) => {
1168
- let v = -1;
1169
- const A = x(C);
1166
+ }, I = (m) => {
1167
+ let b = -1;
1168
+ const A = S(C);
1170
1169
  for (let p = 0; p < A.length; p++)
1171
- if (A[p].id === g) {
1172
- v = p - 1;
1170
+ if (A[p].id === m) {
1171
+ b = p - 1;
1173
1172
  break;
1174
1173
  }
1175
- for (let p = v; p >= 0; p--)
1174
+ for (let p = b; p >= 0; p--)
1176
1175
  if (A[p].closable) {
1177
1176
  for (const L of A[p].pages.list())
1178
- a(L.id), b(L.id), ee.add(A[p].id);
1179
- x(C)[p].pages.clear(), x(C).splice(p, 1);
1177
+ c(L.id), v(L.id), W.add(A[p].id);
1178
+ S(C)[p].pages.clear(), S(C).splice(p, 1);
1180
1179
  }
1181
1180
  for (const p of A)
1182
1181
  if (p.active) {
1183
- y();
1182
+ g(), W.clear();
1184
1183
  return;
1185
1184
  }
1186
- t.emit(V.TAB_ACTIVE, {
1185
+ t.emit(F.TAB_ACTIVE, {
1187
1186
  id: A[0].id
1188
1187
  });
1189
- }, T = (g) => {
1190
- const v = x(C);
1191
- let A = v.length;
1192
- for (let p = 0; p < v.length; p++)
1193
- if (v[p].id === g) {
1188
+ }, T = (m) => {
1189
+ const b = S(C);
1190
+ let A = b.length;
1191
+ for (let p = 0; p < b.length; p++)
1192
+ if (b[p].id === m) {
1194
1193
  A = p + 1;
1195
1194
  break;
1196
1195
  }
1197
- for (let p = v.length - 1; p >= A; p--)
1198
- if (v[p].closable) {
1199
- for (const L of v[p].pages.list())
1200
- a(L.id), b(L.id), ee.add(v[p].id);
1201
- x(C)[p].pages.clear(), x(C).splice(p, 1);
1196
+ for (let p = b.length - 1; p >= A; p--)
1197
+ if (b[p].closable) {
1198
+ for (const L of b[p].pages.list())
1199
+ c(L.id), v(L.id), W.add(b[p].id);
1200
+ S(C)[p].pages.clear(), S(C).splice(p, 1);
1202
1201
  }
1203
- for (const p of v)
1202
+ for (const p of b)
1204
1203
  if (p.active) {
1205
- y();
1204
+ g(), W.clear();
1206
1205
  return;
1207
1206
  }
1208
- t.emit(V.TAB_ACTIVE, {
1209
- id: v[v.length - 1].id
1207
+ t.emit(F.TAB_ACTIVE, {
1208
+ id: b[b.length - 1].id
1210
1209
  });
1211
- }, _ = (g) => {
1212
- var v;
1213
- for (const A of x(C))
1214
- if (A.id === g) {
1215
- const p = (v = A.pages.peek()) == null ? void 0 : v.id;
1216
- for (let L = R.value.length - 1; L >= 0; L--)
1217
- if (R.value[L] === p) {
1218
- R.value.splice(L, 1), A.active && (ue.value = !1, me(() => {
1210
+ }, w = (m) => {
1211
+ var b;
1212
+ for (const A of S(C))
1213
+ if (A.id === m) {
1214
+ const p = (b = A.pages.peek()) == null ? void 0 : b.id;
1215
+ for (let L = $.value.length - 1; L >= 0; L--)
1216
+ if ($.value[L] === p) {
1217
+ $.value.splice(L, 1), A.active && (ue.value = !1, de(() => {
1219
1218
  ue.value = !0;
1220
1219
  }));
1221
1220
  break;
1222
1221
  }
1223
1222
  break;
1224
1223
  }
1225
- }, k = () => {
1226
- const g = /* @__PURE__ */ new Set();
1227
- C.value.forEach((v) => {
1228
- g.add(v.pages.peek().id);
1224
+ }, _ = () => {
1225
+ const m = /* @__PURE__ */ new Set();
1226
+ C.value.forEach((b) => {
1227
+ m.add(b.pages.peek().id);
1229
1228
  });
1230
- for (let v = R.value.length - 1; v >= 0; v--) {
1231
- const A = R.value[v];
1232
- g.has(A) && R.value.splice(v, 1);
1229
+ for (let b = $.value.length - 1; b >= 0; b--) {
1230
+ const A = $.value[b];
1231
+ m.has(A) && $.value.splice(b, 1);
1233
1232
  }
1234
- ue.value = !1, me(() => {
1235
- ue.value = !0;
1233
+ de(() => {
1234
+ ue.value = !1, de(() => {
1235
+ setTimeout(() => {
1236
+ ue.value = !0;
1237
+ }, 300);
1238
+ });
1236
1239
  });
1237
- }, m = (g, v) => {
1238
- oe.set(g, v);
1239
- }, O = (g) => oe.get(g), a = (g) => {
1240
- oe.delete(g);
1241
- }, b = (g) => {
1242
- _e.add(g);
1243
- }, y = () => {
1244
- for (let g = R.value.length - 1; g >= 0; g--)
1245
- _e.has(R.value[g]) && x(R).splice(g, 1);
1240
+ }, y = (m, b) => {
1241
+ oe.set(m, b);
1242
+ }, x = (m) => oe.get(m), c = (m) => {
1243
+ oe.delete(m);
1244
+ }, v = (m) => {
1245
+ _e.add(m);
1246
+ }, g = () => {
1247
+ for (let m = $.value.length - 1; m >= 0; m--)
1248
+ _e.has($.value[m]) && S($).splice(m, 1);
1246
1249
  _e.clear();
1247
- }, j = (g) => {
1248
- for (let v = R.value.length - 1; v >= 0; v--)
1249
- g === R.value[v] && x(R).splice(v, 1);
1250
- }, F = (g) => {
1251
- new Set(R.value).has(g) || R.value.push(g);
1252
- }, q = (g, v = !0) => {
1250
+ }, j = (m) => {
1251
+ for (let b = $.value.length - 1; b >= 0; b--)
1252
+ m === $.value[b] && S($).splice(b, 1);
1253
+ }, q = (m) => {
1254
+ new Set($.value).has(m) || $.value.push(m);
1255
+ }, G = (m, b = !0) => {
1253
1256
  for (let A = C.value.length - 1; A >= 0; A--) {
1254
1257
  const p = C.value[A];
1255
- if (p.id === g) {
1258
+ if (p.id === m) {
1256
1259
  if (p.active)
1257
1260
  break;
1258
- if (p.active = !0, E(p), v) {
1261
+ if (p.active = !0, E(p), b) {
1259
1262
  const L = p.pages.peek();
1260
1263
  e.push({
1261
1264
  path: L.path,
@@ -1265,70 +1268,70 @@ const Me = () => {
1265
1268
  } else
1266
1269
  C.value[A].active = !1;
1267
1270
  }
1268
- }, E = (g) => {
1269
- window.sessionStorage.setItem(It, JSON.stringify(g));
1271
+ }, E = (m) => {
1272
+ window.sessionStorage.setItem(It, JSON.stringify(m));
1270
1273
  }, M = () => {
1271
- ue.value = !1, W(), me(() => {
1272
- x(C).push(...$e), t.emit(V.TAB_ACTIVE, {
1274
+ ue.value = !1, U(), de(() => {
1275
+ S(C).push(...$e), t.emit(F.TAB_ACTIVE, {
1273
1276
  id: $e[0].id
1274
- }), me(() => {
1277
+ }), de(() => {
1275
1278
  ue.value = !0;
1276
1279
  });
1277
1280
  });
1278
- }, W = () => {
1279
- x(C).splice(0), oe.clear(), _e.clear(), ee.clear(), x(R).splice(0);
1281
+ }, U = () => {
1282
+ S(C).splice(0), oe.clear(), _e.clear(), W.clear(), S($).splice(0);
1280
1283
  };
1281
1284
  return {
1282
1285
  tabs: C,
1283
- caches: R,
1286
+ caches: $,
1284
1287
  pageShown: ue,
1285
1288
  initialed: Bt,
1286
- setMaxSize: (g) => {
1287
- Re = g;
1289
+ setMaxSize: (m) => {
1290
+ Re = m;
1288
1291
  },
1289
1292
  canAddTab: o,
1290
1293
  initial: r,
1291
1294
  size: n,
1292
- active: q,
1293
- destroy: W,
1295
+ active: G,
1296
+ destroy: U,
1294
1297
  reset: M,
1295
- addCache: F,
1298
+ addCache: q,
1296
1299
  removeCache: j,
1297
1300
  getTab: u,
1298
1301
  addTab: i,
1299
- removeTab: w,
1300
- removeAllTabs: S,
1302
+ removeTab: k,
1303
+ removeAllTabs: O,
1301
1304
  removeLeftTabs: I,
1302
1305
  removeRightTabs: T,
1303
1306
  removeOtherTabs: B,
1304
1307
  hasTab: s,
1305
- addPage: c,
1306
- addComponent: m,
1307
- getComponent: O,
1308
- removeComponent: a,
1309
- markDeletableCache: b,
1310
- removeDeletableCache: y,
1311
- refreshTab: _,
1312
- refreshAllTabs: k,
1308
+ addPage: a,
1309
+ addComponent: y,
1310
+ getComponent: x,
1311
+ removeComponent: c,
1312
+ markDeletableCache: v,
1313
+ removeDeletableCache: g,
1314
+ refreshTab: w,
1315
+ refreshAllTabs: _,
1313
1316
  addPageScroller: d,
1314
- setGlobalScroll: (g) => {
1315
- Ct = g;
1317
+ setGlobalScroll: (m) => {
1318
+ Ct = m;
1316
1319
  }
1317
1320
  };
1318
- }, Ir = { class: "stack-tab__contextmenu-item" }, ie = /* @__PURE__ */ K({
1321
+ }, Ir = { class: "stack-tab__contextmenu-item" }, ie = /* @__PURE__ */ Q({
1319
1322
  __name: "ContextMenuItem",
1320
1323
  props: {
1321
1324
  icon: {},
1322
1325
  title: {}
1323
1326
  },
1324
1327
  setup(e) {
1325
- return (t, n) => (z(), P("div", Ir, [
1326
- J("div", {
1328
+ return (t, n) => (z(), D("div", Ir, [
1329
+ K("div", {
1327
1330
  class: ce(["stack-tab__contextmenu-icon", t.icon])
1328
1331
  }, null, 2),
1329
- J("div", {
1332
+ K("div", {
1330
1333
  style: { "margin-left": "8px" },
1331
- onContextmenu: n[0] || (n[0] = we(() => {
1334
+ onContextmenu: n[0] || (n[0] = ke(() => {
1332
1335
  }, ["prevent"]))
1333
1336
  }, Xt(t.title), 33)
1334
1337
  ]));
@@ -1336,7 +1339,7 @@ const Me = () => {
1336
1339
  }), Br = {
1337
1340
  key: 0,
1338
1341
  class: "divider div-transparent"
1339
- }, Cr = /* @__PURE__ */ K({
1342
+ }, Cr = /* @__PURE__ */ Q({
1340
1343
  __name: "index",
1341
1344
  props: {
1342
1345
  index: {},
@@ -1347,76 +1350,76 @@ const Me = () => {
1347
1350
  max: {}
1348
1351
  },
1349
1352
  setup(e) {
1350
- const t = e, { t: n } = Ze(), r = $(), s = Ie({
1353
+ const t = e, { t: n } = Ze(), r = R(), s = Ie({
1351
1354
  left: t.left,
1352
1355
  top: t.top
1353
1356
  }), {
1354
1357
  removeTab: o,
1355
1358
  removeAllTabs: i,
1356
1359
  removeLeftTabs: u,
1357
- removeRightTabs: c,
1360
+ removeRightTabs: a,
1358
1361
  refreshTab: l,
1359
1362
  refreshAllTabs: h,
1360
1363
  removeOtherTabs: f
1361
1364
  } = Me();
1362
1365
  return qe(() => {
1363
- const d = r.value ? r.value.clientWidth : 0, w = window.innerWidth;
1364
- s.left + d > w && (s.left = w - d - 5);
1365
- }), (d, w) => (z(), P("div", {
1366
+ const d = r.value ? r.value.clientWidth : 0, k = window.innerWidth;
1367
+ s.left + d > k && (s.left = k - d - 5);
1368
+ }), (d, k) => (z(), D("div", {
1366
1369
  ref_key: "contextmenu",
1367
1370
  ref: r,
1368
1371
  class: "stack-tab__contextmenu",
1369
1372
  style: ct({
1370
1373
  left: `${s.left}px`,
1371
1374
  top: `${s.top}px`,
1372
- "z-index": x(sn)(".stack-tab,.stack-tab *")
1375
+ "z-index": S(sn)(".stack-tab,.stack-tab *")
1373
1376
  })
1374
1377
  }, [
1375
1378
  N(ie, {
1376
1379
  icon: "stack-tab__icon-reload svg-mask",
1377
- title: x(n)("VueStackTab.reload"),
1378
- onClick: w[0] || (w[0] = (S) => x(l)(d.tabItem.id))
1380
+ title: S(n)("VueStackTab.reload"),
1381
+ onClick: k[0] || (k[0] = (O) => S(l)(d.tabItem.id))
1379
1382
  }, null, 8, ["title"]),
1380
1383
  N(ie, {
1381
1384
  icon: "stack-tab__icon-reload-all svg-mask",
1382
- title: x(n)("VueStackTab.reloadAll"),
1383
- onClick: x(h)
1385
+ title: S(n)("VueStackTab.reloadAll"),
1386
+ onClick: S(h)
1384
1387
  }, null, 8, ["title", "onClick"]),
1385
1388
  N(ie, {
1386
1389
  icon: "stack-tab__icon-close svg-mask",
1387
- title: x(n)("VueStackTab.close"),
1390
+ title: S(n)("VueStackTab.close"),
1388
1391
  disabled: d.tabItem.closable ? null : "disabled",
1389
- onClick: w[1] || (w[1] = (S) => x(o)(d.tabItem.id))
1392
+ onClick: k[1] || (k[1] = (O) => S(o)(d.tabItem.id))
1390
1393
  }, null, 8, ["title", "disabled"]),
1391
1394
  N(ie, {
1392
1395
  icon: "stack-tab__icon-close-lefts svg-mask",
1393
- title: x(n)("VueStackTab.closeLeft"),
1396
+ title: S(n)("VueStackTab.closeLeft"),
1394
1397
  disabled: d.index <= 0 ? "disabled" : null,
1395
- onClick: w[2] || (w[2] = (S) => x(u)(d.tabItem.id))
1398
+ onClick: k[2] || (k[2] = (O) => S(u)(d.tabItem.id))
1396
1399
  }, null, 8, ["title", "disabled"]),
1397
1400
  N(ie, {
1398
1401
  icon: "stack-tab__icon-close-rights svg-mask",
1399
- title: x(n)("VueStackTab.closeRight"),
1402
+ title: S(n)("VueStackTab.closeRight"),
1400
1403
  disabled: d.index >= d.max - 1 ? "disabled" : null,
1401
- onClick: w[3] || (w[3] = (S) => x(c)(d.tabItem.id))
1404
+ onClick: k[3] || (k[3] = (O) => S(a)(d.tabItem.id))
1402
1405
  }, null, 8, ["title", "disabled"]),
1403
1406
  N(ie, {
1404
1407
  icon: "stack-tab__icon-close-others svg-mask",
1405
- title: x(n)("VueStackTab.closeOthers"),
1406
- onClick: w[4] || (w[4] = (S) => x(f)(d.tabItem.id))
1408
+ title: S(n)("VueStackTab.closeOthers"),
1409
+ onClick: k[4] || (k[4] = (O) => S(f)(d.tabItem.id))
1407
1410
  }, null, 8, ["title"]),
1408
1411
  N(ie, {
1409
1412
  icon: "stack-tab__icon-close-all svg-mask",
1410
- title: x(n)("VueStackTab.closeAll"),
1411
- onClick: x(i)
1413
+ title: S(n)("VueStackTab.closeAll"),
1414
+ onClick: S(i)
1412
1415
  }, null, 8, ["title", "onClick"]),
1413
- d.contextMenu !== void 0 && d.contextMenu.length > 0 ? (z(), P("div", Br)) : ne("", !0),
1414
- (z(!0), P(He, null, lt(d.contextMenu, (S, B) => (z(), be(ie, {
1416
+ d.contextMenu !== void 0 && d.contextMenu.length > 0 ? (z(), D("div", Br)) : ne("", !0),
1417
+ (z(!0), D(He, null, lt(d.contextMenu, (O, B) => (z(), me(ie, {
1415
1418
  key: B,
1416
- icon: S.icon,
1417
- title: S.title,
1418
- disabled: S.disabled(d.tabItem) ? "disabled" : null,
1419
- onClick: (I) => !S.disabled && S.callback(d.tabItem.id)
1419
+ icon: O.icon,
1420
+ title: O.title,
1421
+ disabled: O.disabled(d.tabItem) ? "disabled" : null,
1422
+ onClick: (I) => !O.disabled && O.callback(d.tabItem.id)
1420
1423
  }, null, 8, ["icon", "title", "disabled", "onClick"]))), 128))
1421
1424
  ], 4));
1422
1425
  }
@@ -1432,16 +1435,16 @@ const Me = () => {
1432
1435
  left: 0,
1433
1436
  top: 0,
1434
1437
  max: 0
1435
- }), t = $(!1);
1438
+ }), t = R(!1);
1436
1439
  qe(() => {
1437
1440
  document.addEventListener("click", r);
1438
1441
  }), Ge(() => {
1439
1442
  document.removeEventListener("click", r);
1440
1443
  });
1441
1444
  const n = async (s, o, i, u) => {
1442
- t.value = !1, await me(() => {
1443
- const { clientY: c, clientX: l } = s;
1444
- t.value = !0, Object.assign(e, { item: o, index: i, top: c, left: l, max: u });
1445
+ t.value = !1, await de(() => {
1446
+ const { clientY: a, clientX: l } = s;
1447
+ t.value = !0, Object.assign(e, { item: o, index: i, top: a, left: l, max: u });
1445
1448
  });
1446
1449
  }, r = (s) => {
1447
1450
  s.target.classList.contains("stack-tab__contextmenu") || (t.value = !1);
@@ -1451,23 +1454,23 @@ const Me = () => {
1451
1454
  contextMenuData: e,
1452
1455
  showContextMenu: n
1453
1456
  };
1454
- }, $r = { class: "stack-tab__item-title" }, Rr = ["title"], Nr = ["title"], Pr = /* @__PURE__ */ K({
1457
+ }, $r = { class: "stack-tab__item-title" }, Rr = ["title"], Nr = ["title"], Pr = /* @__PURE__ */ Q({
1455
1458
  __name: "TabHeaderItem",
1456
1459
  props: {
1457
1460
  item: {}
1458
1461
  },
1459
1462
  emits: ["close", "active"],
1460
1463
  setup(e, { emit: t }) {
1461
- const n = t, r = Ce(), { t: s } = Ze(), o = $(), i = e;
1462
- r.on(V.TAB_ACTIVE, ({ id: h, isRoute: f }) => {
1464
+ const n = t, r = Ce(), { t: s } = Ze(), o = R(), i = e;
1465
+ r.on(F.TAB_ACTIVE, ({ id: h, isRoute: f }) => {
1463
1466
  i.item.id === h && l(f);
1464
1467
  });
1465
- const u = ge(() => i.item.title || s("undefined")), c = () => {
1468
+ const u = ge(() => i.item.title || s("undefined")), a = () => {
1466
1469
  n("close", i.item);
1467
1470
  }, l = (h = !0) => {
1468
1471
  n("active", i.item, o, h);
1469
1472
  };
1470
- return (h, f) => (z(), P("li", {
1473
+ return (h, f) => (z(), D("li", {
1471
1474
  ref_key: "curtab",
1472
1475
  ref: o,
1473
1476
  class: ce(["stack-tab__item", {
@@ -1476,27 +1479,27 @@ const Me = () => {
1476
1479
  }]),
1477
1480
  onClick: f[0] || (f[0] = (d) => l(!0))
1478
1481
  }, [
1479
- J("div", $r, [
1480
- J("div", {
1482
+ K("div", $r, [
1483
+ K("div", {
1481
1484
  class: "stack-tab__item-title-content",
1482
1485
  title: u.value
1483
1486
  }, Xt(u.value), 9, Rr)
1484
1487
  ]),
1485
- h.item.closable ? (z(), P("div", {
1488
+ h.item.closable ? (z(), D("div", {
1486
1489
  key: 0,
1487
1490
  class: "stack-tab__icon-close-fill stack-tab__item-button",
1488
- title: x(s)("VueStackTab.close"),
1489
- onClick: we(c, ["stop"])
1491
+ title: S(s)("VueStackTab.close"),
1492
+ onClick: ke(a, ["stop"])
1490
1493
  }, null, 8, Nr)) : ne("", !0)
1491
1494
  ], 2));
1492
1495
  }
1493
1496
  });
1494
- var he = [], Dr = function() {
1495
- return he.some(function(e) {
1497
+ var pe = [], Dr = function() {
1498
+ return pe.some(function(e) {
1496
1499
  return e.activeTargets.length > 0;
1497
1500
  });
1498
1501
  }, jr = function() {
1499
- return he.some(function(e) {
1502
+ return pe.some(function(e) {
1500
1503
  return e.skippedTargets.length > 0;
1501
1504
  });
1502
1505
  }, Mt = "ResizeObserver loop completed with undelivered notifications.", Wr = function() {
@@ -1508,27 +1511,27 @@ var he = [], Dr = function() {
1508
1511
  (function(e) {
1509
1512
  e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
1510
1513
  })(Be || (Be = {}));
1511
- var pe = function(e) {
1514
+ var be = function(e) {
1512
1515
  return Object.freeze(e);
1513
1516
  }, Ur = /* @__PURE__ */ function() {
1514
1517
  function e(t, n) {
1515
- this.inlineSize = t, this.blockSize = n, pe(this);
1518
+ this.inlineSize = t, this.blockSize = n, be(this);
1516
1519
  }
1517
1520
  return e;
1518
1521
  }(), hn = function() {
1519
1522
  function e(t, n, r, s) {
1520
- return this.x = t, this.y = n, this.width = r, this.height = s, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, pe(this);
1523
+ return this.x = t, this.y = n, this.width = r, this.height = s, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, be(this);
1521
1524
  }
1522
1525
  return e.prototype.toJSON = function() {
1523
- var t = this, n = t.x, r = t.y, s = t.top, o = t.right, i = t.bottom, u = t.left, c = t.width, l = t.height;
1524
- return { x: n, y: r, top: s, right: o, bottom: i, left: u, width: c, height: l };
1526
+ var t = this, n = t.x, r = t.y, s = t.top, o = t.right, i = t.bottom, u = t.left, a = t.width, l = t.height;
1527
+ return { x: n, y: r, top: s, right: o, bottom: i, left: u, width: a, height: l };
1525
1528
  }, e.fromRect = function(t) {
1526
1529
  return new e(t.x, t.y, t.width, t.height);
1527
1530
  }, e;
1528
- }(), vt = function(e) {
1531
+ }(), mt = function(e) {
1529
1532
  return e instanceof SVGElement && "getBBox" in e;
1530
1533
  }, pn = function(e) {
1531
- if (vt(e)) {
1534
+ if (mt(e)) {
1532
1535
  var t = e.getBBox(), n = t.width, r = t.height;
1533
1536
  return !n && !r;
1534
1537
  }
@@ -1555,11 +1558,11 @@ var pe = function(e) {
1555
1558
  return !0;
1556
1559
  }
1557
1560
  return !1;
1558
- }, Ae = typeof window < "u" ? window : {}, Ne = /* @__PURE__ */ new WeakMap(), zt = /auto|scroll/, Fr = /^tb|vertical/, qr = /msie|trident/i.test(Ae.navigator && Ae.navigator.userAgent), X = function(e) {
1561
+ }, Ae = typeof window < "u" ? window : {}, Ne = /* @__PURE__ */ new WeakMap(), zt = /auto|scroll/, Fr = /^tb|vertical/, qr = /msie|trident/i.test(Ae.navigator && Ae.navigator.userAgent), Y = function(e) {
1559
1562
  return parseFloat(e || "0");
1560
1563
  }, ye = function(e, t, n) {
1561
1564
  return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new Ur((n ? t : e) || 0, (n ? e : t) || 0);
1562
- }, $t = pe({
1565
+ }, $t = be({
1563
1566
  devicePixelContentBoxSize: ye(),
1564
1567
  borderBoxSize: ye(),
1565
1568
  contentBoxSize: ye(),
@@ -1569,14 +1572,14 @@ var pe = function(e) {
1569
1572
  return Ne.get(e);
1570
1573
  if (pn(e))
1571
1574
  return Ne.set(e, $t), $t;
1572
- var n = getComputedStyle(e), r = vt(e) && e.ownerSVGElement && e.getBBox(), s = !qr && n.boxSizing === "border-box", o = Fr.test(n.writingMode || ""), i = !r && zt.test(n.overflowY || ""), u = !r && zt.test(n.overflowX || ""), c = r ? 0 : X(n.paddingTop), l = r ? 0 : X(n.paddingRight), h = r ? 0 : X(n.paddingBottom), f = r ? 0 : X(n.paddingLeft), d = r ? 0 : X(n.borderTopWidth), w = r ? 0 : X(n.borderRightWidth), S = r ? 0 : X(n.borderBottomWidth), B = r ? 0 : X(n.borderLeftWidth), I = f + l, T = c + h, _ = B + w, k = d + S, m = u ? e.offsetHeight - k - e.clientHeight : 0, O = i ? e.offsetWidth - _ - e.clientWidth : 0, a = s ? I + _ : 0, b = s ? T + k : 0, y = r ? r.width : X(n.width) - a - O, j = r ? r.height : X(n.height) - b - m, F = y + I + O + _, q = j + T + m + k, E = pe({
1573
- devicePixelContentBoxSize: ye(Math.round(y * devicePixelRatio), Math.round(j * devicePixelRatio), o),
1574
- borderBoxSize: ye(F, q, o),
1575
- contentBoxSize: ye(y, j, o),
1576
- contentRect: new hn(f, c, y, j)
1575
+ var n = getComputedStyle(e), r = mt(e) && e.ownerSVGElement && e.getBBox(), s = !qr && n.boxSizing === "border-box", o = Fr.test(n.writingMode || ""), i = !r && zt.test(n.overflowY || ""), u = !r && zt.test(n.overflowX || ""), a = r ? 0 : Y(n.paddingTop), l = r ? 0 : Y(n.paddingRight), h = r ? 0 : Y(n.paddingBottom), f = r ? 0 : Y(n.paddingLeft), d = r ? 0 : Y(n.borderTopWidth), k = r ? 0 : Y(n.borderRightWidth), O = r ? 0 : Y(n.borderBottomWidth), B = r ? 0 : Y(n.borderLeftWidth), I = f + l, T = a + h, w = B + k, _ = d + O, y = u ? e.offsetHeight - _ - e.clientHeight : 0, x = i ? e.offsetWidth - w - e.clientWidth : 0, c = s ? I + w : 0, v = s ? T + _ : 0, g = r ? r.width : Y(n.width) - c - x, j = r ? r.height : Y(n.height) - v - y, q = g + I + x + w, G = j + T + y + _, E = be({
1576
+ devicePixelContentBoxSize: ye(Math.round(g * devicePixelRatio), Math.round(j * devicePixelRatio), o),
1577
+ borderBoxSize: ye(q, G, o),
1578
+ contentBoxSize: ye(g, j, o),
1579
+ contentRect: new hn(f, a, g, j)
1577
1580
  });
1578
1581
  return Ne.set(e, E), E;
1579
- }, vn = function(e, t, n) {
1582
+ }, mn = function(e, t, n) {
1580
1583
  var r = bn(e, n), s = r.borderBoxSize, o = r.contentBoxSize, i = r.devicePixelContentBoxSize;
1581
1584
  switch (t) {
1582
1585
  case Be.DEVICE_PIXEL_CONTENT_BOX:
@@ -1589,10 +1592,10 @@ var pe = function(e) {
1589
1592
  }, Gr = /* @__PURE__ */ function() {
1590
1593
  function e(t) {
1591
1594
  var n = bn(t);
1592
- this.target = t, this.contentRect = n.contentRect, this.borderBoxSize = pe([n.borderBoxSize]), this.contentBoxSize = pe([n.contentBoxSize]), this.devicePixelContentBoxSize = pe([n.devicePixelContentBoxSize]);
1595
+ this.target = t, this.contentRect = n.contentRect, this.borderBoxSize = be([n.borderBoxSize]), this.contentBoxSize = be([n.contentBoxSize]), this.devicePixelContentBoxSize = be([n.devicePixelContentBoxSize]);
1593
1596
  }
1594
1597
  return e;
1595
- }(), mn = function(e) {
1598
+ }(), vn = function(e) {
1596
1599
  if (pn(e))
1597
1600
  return 1 / 0;
1598
1601
  for (var t = 0, n = e.parentNode; n; )
@@ -1600,12 +1603,12 @@ var pe = function(e) {
1600
1603
  return t;
1601
1604
  }, Hr = function() {
1602
1605
  var e = 1 / 0, t = [];
1603
- he.forEach(function(i) {
1606
+ pe.forEach(function(i) {
1604
1607
  if (i.activeTargets.length !== 0) {
1605
1608
  var u = [];
1606
1609
  i.activeTargets.forEach(function(l) {
1607
- var h = new Gr(l.target), f = mn(l.target);
1608
- u.push(h), l.lastReportedSize = vn(l.target, l.observedBox), f < e && (e = f);
1610
+ var h = new Gr(l.target), f = vn(l.target);
1611
+ u.push(h), l.lastReportedSize = mn(l.target, l.observedBox), f < e && (e = f);
1609
1612
  }), t.push(function() {
1610
1613
  i.callback.call(i.observer, u, i.observer);
1611
1614
  }), i.activeTargets.splice(0, i.activeTargets.length);
@@ -1617,9 +1620,9 @@ var pe = function(e) {
1617
1620
  }
1618
1621
  return e;
1619
1622
  }, Rt = function(e) {
1620
- he.forEach(function(n) {
1623
+ pe.forEach(function(n) {
1621
1624
  n.activeTargets.splice(0, n.activeTargets.length), n.skippedTargets.splice(0, n.skippedTargets.length), n.observationTargets.forEach(function(s) {
1622
- s.isActive() && (mn(s.target) > e ? n.activeTargets.push(s) : n.skippedTargets.push(s));
1625
+ s.isActive() && (vn(s.target) > e ? n.activeTargets.push(s) : n.skippedTargets.push(s));
1623
1626
  });
1624
1627
  });
1625
1628
  }, Zr = function() {
@@ -1708,7 +1711,7 @@ var pe = function(e) {
1708
1711
  }(), ot = new ts(), Dt = function(e) {
1709
1712
  !je && e > 0 && ot.start(), je += e, !je && ot.stop();
1710
1713
  }, ns = function(e) {
1711
- return !vt(e) && !Vr(e) && getComputedStyle(e).display === "inline";
1714
+ return !mt(e) && !Vr(e) && getComputedStyle(e).display === "inline";
1712
1715
  }, rs = function() {
1713
1716
  function e(t, n) {
1714
1717
  this.target = t, this.observedBox = n || Be.CONTENT_BOX, this.lastReportedSize = {
@@ -1717,7 +1720,7 @@ var pe = function(e) {
1717
1720
  };
1718
1721
  }
1719
1722
  return e.prototype.isActive = function() {
1720
- var t = vn(this.target, this.observedBox, !0);
1723
+ var t = mn(this.target, this.observedBox, !0);
1721
1724
  return ns(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
1722
1725
  }, e;
1723
1726
  }(), ss = /* @__PURE__ */ function() {
@@ -1738,10 +1741,10 @@ var pe = function(e) {
1738
1741
  Pe.set(t, r);
1739
1742
  }, e.observe = function(t, n, r) {
1740
1743
  var s = Pe.get(t), o = s.observationTargets.length === 0;
1741
- jt(s.observationTargets, n) < 0 && (o && he.push(s), s.observationTargets.push(new rs(n, r && r.box)), Dt(1), ot.schedule());
1744
+ jt(s.observationTargets, n) < 0 && (o && pe.push(s), s.observationTargets.push(new rs(n, r && r.box)), Dt(1), ot.schedule());
1742
1745
  }, e.unobserve = function(t, n) {
1743
1746
  var r = Pe.get(t), s = jt(r.observationTargets, n), o = r.observationTargets.length === 1;
1744
- s >= 0 && (o && he.splice(he.indexOf(r), 1), r.observationTargets.splice(s, 1), Dt(-1));
1747
+ s >= 0 && (o && pe.splice(pe.indexOf(r), 1), r.observationTargets.splice(s, 1), Dt(-1));
1745
1748
  }, e.disconnect = function(t) {
1746
1749
  var n = this, r = Pe.get(t);
1747
1750
  r.observationTargets.slice().forEach(function(s) {
@@ -1777,7 +1780,7 @@ var pe = function(e) {
1777
1780
  const os = ["disabled", "title"], is = {
1778
1781
  key: 1,
1779
1782
  class: "stack-tab__button"
1780
- }, it = /* @__PURE__ */ K({
1783
+ }, it = /* @__PURE__ */ Q({
1781
1784
  __name: "TabHeaderButton",
1782
1785
  props: {
1783
1786
  disabled: { type: Boolean, default: !1 },
@@ -1786,7 +1789,7 @@ const os = ["disabled", "title"], is = {
1786
1789
  title: {}
1787
1790
  },
1788
1791
  setup(e) {
1789
- return (t, n) => (z(), P("div", {
1792
+ return (t, n) => (z(), D("div", {
1790
1793
  class: ce(["stack-tab__header-button", {
1791
1794
  "stack-tab__shadow-right": t.shadow === "right",
1792
1795
  "stack-tab__shadow-left": t.shadow === "left"
@@ -1794,16 +1797,16 @@ const os = ["disabled", "title"], is = {
1794
1797
  disabled: t.disabled ? "disabled" : null,
1795
1798
  title: t.title
1796
1799
  }, [
1797
- "icon" in t.$slots ? ne("", !0) : (z(), P("div", {
1800
+ "icon" in t.$slots ? ne("", !0) : (z(), D("div", {
1798
1801
  key: 0,
1799
1802
  class: ce(["stack-tab__mask-button", t.iconClass])
1800
1803
  }, null, 2)),
1801
- "icon" in t.$slots ? (z(), P("div", is, [
1802
- ke(t.$slots, "icon")
1804
+ "icon" in t.$slots ? (z(), D("div", is, [
1805
+ we(t.$slots, "icon")
1803
1806
  ])) : ne("", !0)
1804
1807
  ], 10, os));
1805
1808
  }
1806
- }), as = /* @__PURE__ */ K({
1809
+ }), as = /* @__PURE__ */ Q({
1807
1810
  __name: "TabHeaderScroll",
1808
1811
  props: {
1809
1812
  space: { default: 300 },
@@ -1811,7 +1814,7 @@ const os = ["disabled", "title"], is = {
1811
1814
  isScrollButton: { type: Boolean, default: !0 }
1812
1815
  },
1813
1816
  setup(e, { expose: t }) {
1814
- const n = $(null), r = $(null), s = $(null), o = $(!1), i = $(!1), u = $(!1), c = $(!0), l = $(), h = e, f = Ie({
1817
+ const n = R(null), r = R(null), s = R(null), o = R(!1), i = R(!1), u = R(!1), a = R(!0), l = R(), h = e, f = Ie({
1815
1818
  clientWidth: 0,
1816
1819
  scrollWidth: 0,
1817
1820
  scrollLeft: 0
@@ -1822,90 +1825,90 @@ const os = ["disabled", "title"], is = {
1822
1825
  startPageX: 0
1823
1826
  });
1824
1827
  En(f, (E) => {
1825
- w(E);
1828
+ k(E);
1826
1829
  });
1827
- const w = (E) => {
1828
- i.value = E.scrollLeft <= 10, u.value = E.clientWidth + E.scrollLeft - E.scrollWidth >= -10, c.value = E.scrollWidth !== E.clientWidth;
1829
- }, S = ge(() => f.scrollWidth > f.clientWidth), B = ge(() => {
1830
- if (!S.value)
1830
+ const k = (E) => {
1831
+ i.value = E.scrollLeft <= 10, u.value = E.clientWidth + E.scrollLeft - E.scrollWidth >= -10, a.value = E.scrollWidth !== E.clientWidth;
1832
+ }, O = ge(() => f.scrollWidth > f.clientWidth), B = ge(() => {
1833
+ if (!O.value)
1831
1834
  return 0;
1832
1835
  const { clientWidth: E, scrollWidth: M } = f;
1833
1836
  return E / M * E;
1834
1837
  }), I = ge(() => {
1835
- if (!S.value)
1838
+ if (!O.value)
1836
1839
  return 0;
1837
- const { clientWidth: E, scrollWidth: M, scrollLeft: W } = f;
1838
- return (E - B.value) * (W / (M - E));
1840
+ const { clientWidth: E, scrollWidth: M, scrollLeft: U } = f;
1841
+ return (E - B.value) * (U / (M - E));
1839
1842
  }), T = () => {
1840
1843
  if (n.value === null || n.value === void 0)
1841
1844
  return;
1842
- const { clientWidth: E, scrollWidth: M, scrollLeft: W } = n.value;
1843
- Object.assign(f, { clientWidth: E, scrollWidth: M, scrollLeft: W });
1844
- }, _ = new Wt(() => {
1845
+ const { clientWidth: E, scrollWidth: M, scrollLeft: U } = n.value;
1846
+ Object.assign(f, { clientWidth: E, scrollWidth: M, scrollLeft: U });
1847
+ }, w = new Wt(() => {
1845
1848
  var M;
1846
1849
  T();
1847
1850
  const E = (M = n.value) == null ? void 0 : M.querySelector(".stack-tab__item.is-active");
1848
- E && (q(E) || F(E));
1849
- }), k = new Wt(() => {
1851
+ E && (G(E) || q(E));
1852
+ }), _ = new Wt(() => {
1850
1853
  var E;
1851
- if (!S.value) {
1854
+ if (!O.value) {
1852
1855
  const M = (E = n.value) == null ? void 0 : E.querySelector(".stack-tab__item.is-active");
1853
- M && (q(M) || F(M));
1856
+ M && (G(M) || q(M));
1854
1857
  }
1855
1858
  T();
1856
- }), m = (E, M = !0) => {
1859
+ }), y = (E, M = !0) => {
1857
1860
  rn({ wrap: n.value, left: E, smooth: M });
1858
- }, O = (E) => {
1859
- m(n.value.scrollLeft + E);
1860
- }, a = (E) => {
1861
+ }, x = (E) => {
1862
+ y(n.value.scrollLeft + E);
1863
+ }, c = (E) => {
1861
1864
  const M = E.deltaY < 0;
1862
- m(n.value.scrollLeft + (M ? -h.space : h.space));
1863
- }, b = (E) => {
1865
+ y(n.value.scrollLeft + (M ? -h.space : h.space));
1866
+ }, v = (E) => {
1864
1867
  var M;
1865
1868
  Object.assign(d, {
1866
1869
  startPageX: E.pageX,
1867
1870
  startScrollLeft: (M = n.value) == null ? void 0 : M.scrollLeft,
1868
1871
  startThumbLeft: I.value,
1869
1872
  thumbLeft: I.value
1870
- }), o.value = !0, document.addEventListener("mousemove", y), document.addEventListener("mouseup", j);
1871
- }, y = (E) => {
1872
- const { clientWidth: M, scrollWidth: W } = f;
1873
+ }), o.value = !0, document.addEventListener("mousemove", g), document.addEventListener("mouseup", j);
1874
+ }, g = (E) => {
1875
+ const { clientWidth: M, scrollWidth: U } = f;
1873
1876
  let le = d.startThumbLeft + E.pageX - d.startPageX;
1874
1877
  const Xe = M - B.value;
1875
- le < 0 ? le = 0 : le > Xe && (le = Xe), d.thumbLeft = le, m(le * (W - M) / (M - B.value), !1), E.preventDefault();
1878
+ le < 0 ? le = 0 : le > Xe && (le = Xe), d.thumbLeft = le, y(le * (U - M) / (M - B.value), !1), E.preventDefault();
1876
1879
  }, j = (E) => {
1877
- o.value = !1, document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", j), E.preventDefault();
1880
+ o.value = !1, document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", j), E.preventDefault();
1878
1881
  };
1879
1882
  qe(() => {
1880
1883
  var M;
1881
- _.observe(l.value);
1884
+ w.observe(l.value);
1882
1885
  const E = (M = n.value) == null ? void 0 : M.querySelector(".stack-tab__nav");
1883
- k.observe(E);
1886
+ _.observe(E);
1884
1887
  }), Ge(() => {
1885
- _.disconnect(), k.disconnect();
1888
+ w.disconnect(), _.disconnect();
1886
1889
  });
1887
- const F = (E) => {
1890
+ const q = (E) => {
1888
1891
  Yn({ el: E, wrap: n, block: "end", inline: "center" });
1889
- }, q = (E) => {
1890
- if (!S.value)
1892
+ }, G = (E) => {
1893
+ if (!O.value)
1891
1894
  return !0;
1892
- const M = E.offsetLeft, W = n.value.scrollLeft;
1893
- return !(M < W || M + E.clientWidth > W + n.value.clientWidth);
1895
+ const M = E.offsetLeft, U = n.value.scrollLeft;
1896
+ return !(M < U || M + E.clientWidth > U + n.value.clientWidth);
1894
1897
  };
1895
- return t({ scrollIntoView: F, isInView: q }), (E, M) => (z(), P(He, null, [
1896
- c.value ? (z(), be(it, {
1898
+ return t({ scrollIntoView: q, isInView: G }), (E, M) => (z(), D(He, null, [
1899
+ a.value ? (z(), me(it, {
1897
1900
  key: 0,
1898
1901
  "icon-class": "stack-tab__icon-left-arrow",
1899
1902
  disabled: i.value,
1900
- onClick: M[0] || (M[0] = (W) => !i.value && O(-1 * E.space))
1903
+ onClick: M[0] || (M[0] = (U) => !i.value && x(-1 * E.space))
1901
1904
  }, null, 8, ["disabled"])) : ne("", !0),
1902
- J("div", {
1905
+ K("div", {
1903
1906
  ref_key: "headerScroll",
1904
1907
  ref: l,
1905
1908
  class: "stack-tab__scroll",
1906
- onWheel: we(a, ["prevent"])
1909
+ onWheel: ke(c, ["prevent"])
1907
1910
  }, [
1908
- J("div", {
1911
+ K("div", {
1909
1912
  ref_key: "container",
1910
1913
  ref: n,
1911
1914
  class: ce(["stack-tab__scroll-container", {
@@ -1915,14 +1918,14 @@ const os = ["disabled", "title"], is = {
1915
1918
  }]),
1916
1919
  onScrollPassive: T
1917
1920
  }, [
1918
- ke(E.$slots, "default")
1921
+ we(E.$slots, "default")
1919
1922
  ], 34),
1920
- Yt(J("div", {
1923
+ Yt(K("div", {
1921
1924
  ref_key: "bar",
1922
1925
  ref: r,
1923
1926
  class: ce(["stack-tab__scrollbar", { "is-dragging": o.value }])
1924
1927
  }, [
1925
- J("div", {
1928
+ K("div", {
1926
1929
  ref_key: "thumb",
1927
1930
  ref: s,
1928
1931
  class: ce(["stack-tab__scrollbar-thumb", { "is-dragging": o.value }]),
@@ -1930,25 +1933,25 @@ const os = ["disabled", "title"], is = {
1930
1933
  width: `${B.value}px`,
1931
1934
  transform: `translateX(${I.value}px)`
1932
1935
  }),
1933
- onMousedown: we(b, ["prevent"])
1936
+ onMousedown: ke(v, ["prevent"])
1934
1937
  }, null, 38)
1935
1938
  ], 2), [
1936
- [Jt, S.value]
1939
+ [Jt, O.value]
1937
1940
  ])
1938
1941
  ], 544),
1939
- c.value ? (z(), be(it, {
1942
+ a.value ? (z(), me(it, {
1940
1943
  key: 1,
1941
1944
  "icon-class": "stack-tab__icon-right-arrow",
1942
1945
  disabled: u.value,
1943
- onClick: M[1] || (M[1] = (W) => !u.value && O(E.space))
1946
+ onClick: M[1] || (M[1] = (U) => !u.value && x(E.space))
1944
1947
  }, null, 8, ["disabled"])) : ne("", !0)
1945
1948
  ], 64));
1946
1949
  }
1947
- }), cs = { class: "stack-tab__header" }, ls = /* @__PURE__ */ K({
1950
+ }), cs = { class: "stack-tab__header" }, ls = /* @__PURE__ */ Q({
1948
1951
  __name: "index",
1949
1952
  props: {
1950
1953
  space: {},
1951
- tabScrollMode: { default: de.BOTH },
1954
+ tabScrollMode: { default: he.BOTH },
1952
1955
  tabTransition: { default: () => ({
1953
1956
  name: "stack-tab-zoom"
1954
1957
  }) },
@@ -1957,40 +1960,40 @@ const os = ["disabled", "title"], is = {
1957
1960
  },
1958
1961
  emits: ["active"],
1959
1962
  setup(e, { emit: t }) {
1960
- const { t: n } = Ze(), r = at("maximum"), s = t, o = $(), { shown: i, contextMenuData: u, showContextMenu: c } = zr(), l = e, { removeTab: h, active: f, tabs: d } = Me(), w = ge(() => typeof l.tabTransition == "string" ? {
1963
+ const { t: n } = Ze(), r = at("maximum"), s = t, o = R(), { shown: i, contextMenuData: u, showContextMenu: a } = zr(), l = e, { removeTab: h, active: f, tabs: d } = Me(), k = ge(() => typeof l.tabTransition == "string" ? {
1961
1964
  name: l.tabTransition
1962
- } : l.tabTransition), S = ge(() => l.tabScrollMode === de.BOTH || l.tabScrollMode === de.BUTTON), B = l.tabScrollMode === de.BOTH || l.tabScrollMode === de.WHEEL, I = (_) => {
1963
- _.closable && h(_.id), i.value = !1;
1964
- }, T = (_, k, m) => {
1965
- o.value && (me(() => {
1966
- o.value.isInView(k.value) || o.value.scrollIntoView(k.value);
1967
- }), f(_.id, m), s("active", _.id));
1965
+ } : l.tabTransition), O = ge(() => l.tabScrollMode === he.BOTH || l.tabScrollMode === he.BUTTON), B = l.tabScrollMode === he.BOTH || l.tabScrollMode === he.WHEEL, I = (w) => {
1966
+ w.closable && h(w.id), i.value = !1;
1967
+ }, T = (w, _, y) => {
1968
+ o.value && (de(() => {
1969
+ o.value.isInView(_.value) || o.value.scrollIntoView(_.value);
1970
+ }), f(w.id, y), s("active", w.id));
1968
1971
  };
1969
- return (_, k) => (z(), P("div", cs, [
1970
- ke(_.$slots, "leftButton"),
1972
+ return (w, _) => (z(), D("div", cs, [
1973
+ we(w.$slots, "leftButton"),
1971
1974
  N(as, {
1972
1975
  ref_key: "scroll",
1973
1976
  ref: o,
1974
- space: _.space,
1975
- "is-scroll-wheel": x(B),
1976
- "is-scroll-button": S.value
1977
+ space: w.space,
1978
+ "is-scroll-wheel": S(B),
1979
+ "is-scroll-button": O.value
1977
1980
  }, {
1978
1981
  default: ae(() => [
1979
1982
  N(Kt, An({
1980
1983
  key: "tabItemTrans",
1981
1984
  tag: "ul",
1982
1985
  class: "stack-tab__nav"
1983
- }, w.value, { appear: "" }), {
1986
+ }, k.value, { appear: "" }), {
1984
1987
  default: ae(() => [
1985
- (z(!0), P(He, null, lt(x(d), (m, O) => (z(), be(Pr, {
1986
- key: m.id,
1987
- contextmenu: _.contextmenu,
1988
- item: m,
1989
- onContextmenu: we(
1990
- (a) => x(c)(a, m, O, x(d).length),
1988
+ (z(!0), D(He, null, lt(S(d), (y, x) => (z(), me(Pr, {
1989
+ key: y.id,
1990
+ contextmenu: w.contextmenu,
1991
+ item: y,
1992
+ onContextmenu: ke(
1993
+ (c) => S(a)(c, y, x, S(d).length),
1991
1994
  ["prevent"]
1992
1995
  ),
1993
- onMouseup: we((a) => I(m), ["middle", "prevent"]),
1996
+ onMouseup: ke((c) => I(y), ["middle", "prevent"]),
1994
1997
  onClose: I,
1995
1998
  onActive: T
1996
1999
  }, null, 8, ["contextmenu", "item", "onContextmenu", "onMouseup"]))), 128))
@@ -2000,24 +2003,24 @@ const os = ["disabled", "title"], is = {
2000
2003
  ]),
2001
2004
  _: 1
2002
2005
  }, 8, ["space", "is-scroll-wheel", "is-scroll-button"]),
2003
- ke(_.$slots, "rightButton"),
2006
+ we(w.$slots, "rightButton"),
2004
2007
  N(it, {
2005
- "icon-class": x(r) ? "stack-tab__icon-restore" : "stack-tab__icon-fullscreen",
2006
- title: x(n)("VueStackTab.maximum"),
2007
- onClick: k[0] || (k[0] = (m) => r.value = !x(r))
2008
+ "icon-class": S(r) ? "stack-tab__icon-restore" : "stack-tab__icon-fullscreen",
2009
+ title: S(n)("VueStackTab.maximum"),
2010
+ onClick: _[0] || (_[0] = (y) => r.value = !S(r))
2008
2011
  }, null, 8, ["icon-class", "title"]),
2009
2012
  N(Qt, {
2010
2013
  name: "stack-tab-zoom",
2011
2014
  appear: ""
2012
2015
  }, {
2013
2016
  default: ae(() => [
2014
- x(i) ? (z(), be(Lr, {
2017
+ S(i) ? (z(), me(Lr, {
2015
2018
  key: "tabMenuTrans",
2016
- left: x(u).left,
2017
- top: x(u).top,
2018
- "tab-item": x(u).item,
2019
- max: x(u).max,
2020
- index: x(u).index
2019
+ left: S(u).left,
2020
+ top: S(u).top,
2021
+ "tab-item": S(u).item,
2022
+ max: S(u).max,
2023
+ index: S(u).index
2021
2024
  }, null, 8, ["left", "top", "tab-item", "max", "index"])) : ne("", !0)
2022
2025
  ]),
2023
2026
  _: 1
@@ -2025,7 +2028,7 @@ const os = ["disabled", "title"], is = {
2025
2028
  ]));
2026
2029
  }
2027
2030
  });
2028
- var us = typeof global == "object" && global && global.Object === Object && global, fs = typeof self == "object" && self && self.Object === Object && self, yn = us || fs || Function("return this")(), Ve = yn.Symbol, wn = Object.prototype, ds = wn.hasOwnProperty, hs = wn.toString, Te = Ve ? Ve.toStringTag : void 0;
2031
+ var us = typeof global == "object" && global && global.Object === Object && global, fs = typeof self == "object" && self && self.Object === Object && self, yn = us || fs || Function("return this")(), Ve = yn.Symbol, kn = Object.prototype, ds = kn.hasOwnProperty, hs = kn.toString, Te = Ve ? Ve.toStringTag : void 0;
2029
2032
  function ps(e) {
2030
2033
  var t = ds.call(e, Te), n = e[Te];
2031
2034
  try {
@@ -2036,20 +2039,20 @@ function ps(e) {
2036
2039
  var s = hs.call(e);
2037
2040
  return r && (t ? e[Te] = n : delete e[Te]), s;
2038
2041
  }
2039
- var bs = Object.prototype, vs = bs.toString;
2040
- function ms(e) {
2041
- return vs.call(e);
2042
+ var bs = Object.prototype, ms = bs.toString;
2043
+ function vs(e) {
2044
+ return ms.call(e);
2042
2045
  }
2043
2046
  var gs = "[object Null]", ys = "[object Undefined]", Ut = Ve ? Ve.toStringTag : void 0;
2044
- function ws(e) {
2045
- return e == null ? e === void 0 ? ys : gs : Ut && Ut in Object(e) ? ps(e) : ms(e);
2046
- }
2047
2047
  function ks(e) {
2048
+ return e == null ? e === void 0 ? ys : gs : Ut && Ut in Object(e) ? ps(e) : vs(e);
2049
+ }
2050
+ function ws(e) {
2048
2051
  return e != null && typeof e == "object";
2049
2052
  }
2050
2053
  var _s = "[object Symbol]";
2051
2054
  function Ts(e) {
2052
- return typeof e == "symbol" || ks(e) && ws(e) == _s;
2055
+ return typeof e == "symbol" || ws(e) && ks(e) == _s;
2053
2056
  }
2054
2057
  var xs = /\s/;
2055
2058
  function Ss(e) {
@@ -2085,51 +2088,51 @@ var tt = function() {
2085
2088
  return yn.Date.now();
2086
2089
  }, Ms = "Expected a function", Ls = Math.max, zs = Math.min;
2087
2090
  function $s(e, t, n) {
2088
- var r, s, o, i, u, c, l = 0, h = !1, f = !1, d = !0;
2091
+ var r, s, o, i, u, a, l = 0, h = !1, f = !1, d = !0;
2089
2092
  if (typeof e != "function")
2090
2093
  throw new TypeError(Ms);
2091
2094
  t = Ft(t) || 0, Fe(n) && (h = !!n.leading, f = "maxWait" in n, o = f ? Ls(Ft(n.maxWait) || 0, t) : o, d = "trailing" in n ? !!n.trailing : d);
2092
- function w(a) {
2093
- var b = r, y = s;
2094
- return r = s = void 0, l = a, i = e.apply(y, b), i;
2095
+ function k(c) {
2096
+ var v = r, g = s;
2097
+ return r = s = void 0, l = c, i = e.apply(g, v), i;
2095
2098
  }
2096
- function S(a) {
2097
- return l = a, u = setTimeout(T, t), h ? w(a) : i;
2099
+ function O(c) {
2100
+ return l = c, u = setTimeout(T, t), h ? k(c) : i;
2098
2101
  }
2099
- function B(a) {
2100
- var b = a - c, y = a - l, j = t - b;
2101
- return f ? zs(j, o - y) : j;
2102
+ function B(c) {
2103
+ var v = c - a, g = c - l, j = t - v;
2104
+ return f ? zs(j, o - g) : j;
2102
2105
  }
2103
- function I(a) {
2104
- var b = a - c, y = a - l;
2105
- return c === void 0 || b >= t || b < 0 || f && y >= o;
2106
+ function I(c) {
2107
+ var v = c - a, g = c - l;
2108
+ return a === void 0 || v >= t || v < 0 || f && g >= o;
2106
2109
  }
2107
2110
  function T() {
2108
- var a = tt();
2109
- if (I(a))
2110
- return _(a);
2111
- u = setTimeout(T, B(a));
2111
+ var c = tt();
2112
+ if (I(c))
2113
+ return w(c);
2114
+ u = setTimeout(T, B(c));
2112
2115
  }
2113
- function _(a) {
2114
- return u = void 0, d && r ? w(a) : (r = s = void 0, i);
2116
+ function w(c) {
2117
+ return u = void 0, d && r ? k(c) : (r = s = void 0, i);
2115
2118
  }
2116
- function k() {
2117
- u !== void 0 && clearTimeout(u), l = 0, r = c = s = u = void 0;
2119
+ function _() {
2120
+ u !== void 0 && clearTimeout(u), l = 0, r = a = s = u = void 0;
2118
2121
  }
2119
- function m() {
2120
- return u === void 0 ? i : _(tt());
2122
+ function y() {
2123
+ return u === void 0 ? i : w(tt());
2121
2124
  }
2122
- function O() {
2123
- var a = tt(), b = I(a);
2124
- if (r = arguments, s = this, c = a, b) {
2125
+ function x() {
2126
+ var c = tt(), v = I(c);
2127
+ if (r = arguments, s = this, a = c, v) {
2125
2128
  if (u === void 0)
2126
- return S(c);
2129
+ return O(a);
2127
2130
  if (f)
2128
- return clearTimeout(u), u = setTimeout(T, t), w(c);
2131
+ return clearTimeout(u), u = setTimeout(T, t), k(a);
2129
2132
  }
2130
2133
  return u === void 0 && (u = setTimeout(T, t)), i;
2131
2134
  }
2132
- return O.cancel = k, O.flush = m, O;
2135
+ return x.cancel = _, x.flush = y, x;
2133
2136
  }
2134
2137
  var Rs = "Expected a function";
2135
2138
  function Ns(e, t, n) {
@@ -2149,40 +2152,40 @@ const Ps = () => {
2149
2152
  d();
2150
2153
  return;
2151
2154
  }
2152
- const w = te(h, { refreshable: !0, closable: !0, iframe: !1 });
2153
- if (n(w.id)) {
2154
- i.emit(V.TAB_ACTIVE, { id: w.id }), f(w.id);
2155
+ const k = te(h, { refreshable: !0, closable: !0, iframe: !1 });
2156
+ if (n(k.id)) {
2157
+ i.emit(F.TAB_ACTIVE, { id: k.id }), f(k.id);
2155
2158
  return;
2156
2159
  }
2157
- if (w.id || (w.id = an()), !o()) {
2160
+ if (k.id || (k.id = an()), !o()) {
2158
2161
  d("Max Size");
2159
2162
  return;
2160
2163
  }
2161
- c(h, w), f(w.id);
2162
- }), 500), c = (h, f) => {
2164
+ a(h, k), f(k.id);
2165
+ }), 500), a = (h, f) => {
2163
2166
  const d = dn(f);
2164
- let w = te(
2167
+ let k = te(
2165
2168
  {
2166
2169
  __tab: d
2167
2170
  },
2168
2171
  h.query
2169
- ), S;
2172
+ ), O;
2170
2173
  if (h.iframe) {
2171
2174
  const B = encodeURIComponent(h.path);
2172
- S = qt, w.__src = B;
2175
+ O = qt, k.__src = B;
2173
2176
  } else {
2174
2177
  const B = bt(h.path);
2175
- S = B.path, w = te(B.query, w);
2178
+ O = B.path, k = te(B.query, k);
2176
2179
  }
2177
2180
  e.push({
2178
- path: S,
2179
- query: w
2181
+ path: O,
2182
+ query: k
2180
2183
  });
2181
2184
  };
2182
2185
  return { openNewTab: u, setIFramePath: (h) => {
2183
2186
  qt = h;
2184
2187
  }, active: t, reset: s };
2185
- }, Ds = { class: "stack-tab__container" }, js = ["src"], Ws = /* @__PURE__ */ K({
2188
+ }, Ds = { class: "stack-tab__container" }, js = ["src"], Ws = /* @__PURE__ */ Q({
2186
2189
  __name: "StackTabs",
2187
2190
  props: {
2188
2191
  defaultTabs: { default: () => [] },
@@ -2191,7 +2194,7 @@ const Ps = () => {
2191
2194
  contextmenu: { type: [Boolean, Object], default: !0 },
2192
2195
  pageTransition: { default: "stack-tab-swap" },
2193
2196
  tabTransition: { default: "stack-tab-zoom" },
2194
- tabScrollMode: { default: de.BOTH },
2197
+ tabScrollMode: { default: he.BOTH },
2195
2198
  width: { default: "100%" },
2196
2199
  height: { default: "100%" },
2197
2200
  i18n: { default: "zh-CN" },
@@ -2201,59 +2204,57 @@ const Ps = () => {
2201
2204
  },
2202
2205
  emits: ["onActive", "onPageLoaded"],
2203
2206
  setup(e, { emit: t }) {
2204
- const { tabs: n, pageShown: r, caches: s, destroy: o, addPage: i, initial: u, setMaxSize: c, setGlobalScroll: l } = Me(), h = t, f = e, { changeLocale: d } = Ze(), w = $(!1);
2205
- In("maximum", w);
2206
- const { setIFramePath: S } = Ps();
2207
- S(f.iframePath), l(f.globalScroll), d(f.i18n), Bn(() => {
2207
+ const { tabs: n, pageShown: r, caches: s, destroy: o, addPage: i, initial: u, setMaxSize: a, setGlobalScroll: l } = Me(), h = t, f = e, { changeLocale: d } = Ze(), k = R(!1);
2208
+ In("maximum", k);
2209
+ const { setIFramePath: O } = Ps();
2210
+ O(f.iframePath), l(f.globalScroll), d(f.i18n), Bn(() => {
2208
2211
  u(f.defaultTabs);
2209
2212
  });
2210
- const B = (k, m) => i(k, m), I = (k) => {
2211
- h("onActive", k);
2213
+ const B = (w, _) => i(w, _), I = (w) => {
2214
+ h("onActive", w);
2212
2215
  };
2213
- c(f.max), Cn(() => {
2216
+ a(f.max), Cn(() => {
2214
2217
  o();
2215
2218
  });
2216
2219
  const T = () => {
2217
2220
  h("onPageLoaded");
2218
- }, _ = $(!0);
2219
- return (k, m) => {
2220
- const O = Zt("router-view");
2221
- return z(), P("div", {
2222
- class: ce(["stack-tab", { "stack-tab__maximum": w.value }]),
2221
+ };
2222
+ return (w, _) => {
2223
+ const y = Zt("router-view");
2224
+ return z(), D("div", {
2225
+ class: ce(["stack-tab", { "stack-tab__maximum": k.value }]),
2223
2226
  style: ct({
2224
- width: k.width,
2225
- height: k.height,
2226
- "z-index": w.value ? x(sn)("body *:not(.stack-tab,.stack-tab *)") : void 0
2227
+ width: w.width,
2228
+ height: w.height,
2229
+ "z-index": k.value ? S(sn)("body *:not(.stack-tab,.stack-tab *)") : void 0
2227
2230
  })
2228
2231
  }, [
2229
2232
  N(ls, {
2230
- space: k.space,
2233
+ space: w.space,
2231
2234
  onActive: I,
2232
- "tab-transition": k.tabTransition,
2233
- max: k.max
2235
+ "tab-transition": w.tabTransition,
2236
+ max: w.max
2234
2237
  }, {
2235
2238
  leftButton: ae(() => [
2236
- ke(k.$slots, "leftButton")
2239
+ we(w.$slots, "leftButton")
2237
2240
  ]),
2238
2241
  rightButton: ae(() => [
2239
- ke(k.$slots, "rightButton")
2242
+ we(w.$slots, "rightButton")
2240
2243
  ]),
2241
2244
  _: 3
2242
2245
  }, 8, ["space", "tab-transition", "max"]),
2243
- J("div", Ds, [
2244
- N(O, null, {
2245
- default: ae(({ Component: a, route: b }) => [
2246
+ K("div", Ds, [
2247
+ N(y, null, {
2248
+ default: ae(({ Component: x, route: c }) => [
2246
2249
  N(Qt, {
2247
- name: k.pageTransition,
2248
- onBeforeLeave: m[0] || (m[0] = (y) => _.value = !1),
2249
- onAfterLeave: m[1] || (m[1] = (y) => _.value = !0),
2250
+ name: w.pageTransition,
2250
2251
  appear: "",
2251
2252
  mode: "out-in"
2252
2253
  }, {
2253
2254
  default: ae(() => [
2254
- (z(), be(Mn, { include: x(s) }, [
2255
- x(r) ? (z(), be(Ln(B(b, a)), {
2256
- key: b.fullPath,
2255
+ (z(), me(Mn, { include: S(s) }, [
2256
+ S(r) ? (z(), me(Ln(B(c, x)), {
2257
+ key: c.fullPath,
2257
2258
  onOnLoaded: T
2258
2259
  }, null, 32)) : ne("", !0)
2259
2260
  ], 1032, ["include"]))
@@ -2264,18 +2265,17 @@ const Ps = () => {
2264
2265
  _: 1
2265
2266
  }),
2266
2267
  N(Kt, {
2267
- name: k.pageTransition,
2268
- appear: "",
2269
- mode: "in-out"
2268
+ name: w.pageTransition,
2269
+ appear: ""
2270
2270
  }, {
2271
2271
  default: ae(() => [
2272
- (z(!0), P(He, null, lt(x(n).filter((a) => a.iframe), (a) => Yt((z(), P("iframe", {
2273
- key: a.id,
2272
+ (z(!0), D(He, null, lt(S(n).filter((x) => x.iframe), (x) => Yt((z(), D("iframe", {
2273
+ key: x.id,
2274
2274
  class: "stack-tab__iframe",
2275
- src: /^(javascript|data):/i.test(a.url ?? "") ? "about:blank" : a.url,
2275
+ src: /^(javascript|data):/i.test(x.url ?? "") ? "about:blank" : x.url,
2276
2276
  frameborder: "0"
2277
2277
  }, null, 8, js)), [
2278
- [Jt, a.active && _.value]
2278
+ [Jt, x.active]
2279
2279
  ])), 128))
2280
2280
  ]),
2281
2281
  _: 1
@@ -2284,14 +2284,14 @@ const Ps = () => {
2284
2284
  ], 6);
2285
2285
  };
2286
2286
  }
2287
- }), mt = typeof Buffer == "function";
2287
+ }), vt = typeof Buffer == "function";
2288
2288
  typeof TextDecoder == "function" && new TextDecoder();
2289
2289
  const Gt = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Us = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Se = Array.prototype.slice.call(Us);
2290
2290
  ((e) => {
2291
2291
  let t = {};
2292
2292
  return e.forEach((n, r) => t[n] = r), t;
2293
2293
  })(Se);
2294
- const Y = String.fromCharCode.bind(String);
2294
+ const J = String.fromCharCode.bind(String);
2295
2295
  typeof Uint8Array.from == "function" && Uint8Array.from.bind(Uint8Array);
2296
2296
  const Vs = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), Fs = (e) => {
2297
2297
  let t, n, r, s, o = "";
@@ -2302,31 +2302,31 @@ const Vs = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
2302
2302
  t = n << 16 | r << 8 | s, o += Se[t >> 18 & 63] + Se[t >> 12 & 63] + Se[t >> 6 & 63] + Se[t & 63];
2303
2303
  }
2304
2304
  return i ? o.slice(0, i - 3) + "===".substring(i) : o;
2305
- }, kn = typeof btoa == "function" ? (e) => btoa(e) : mt ? (e) => Buffer.from(e, "binary").toString("base64") : Fs, qs = mt ? (e) => Buffer.from(e).toString("base64") : (e) => {
2305
+ }, wn = typeof btoa == "function" ? (e) => btoa(e) : vt ? (e) => Buffer.from(e, "binary").toString("base64") : Fs, qs = vt ? (e) => Buffer.from(e).toString("base64") : (e) => {
2306
2306
  let n = [];
2307
2307
  for (let r = 0, s = e.length; r < s; r += 4096)
2308
- n.push(Y.apply(null, e.subarray(r, r + 4096)));
2309
- return kn(n.join(""));
2308
+ n.push(J.apply(null, e.subarray(r, r + 4096)));
2309
+ return wn(n.join(""));
2310
2310
  }, Gs = (e) => {
2311
2311
  if (e.length < 2) {
2312
2312
  var t = e.charCodeAt(0);
2313
- return t < 128 ? e : t < 2048 ? Y(192 | t >>> 6) + Y(128 | t & 63) : Y(224 | t >>> 12 & 15) + Y(128 | t >>> 6 & 63) + Y(128 | t & 63);
2313
+ return t < 128 ? e : t < 2048 ? J(192 | t >>> 6) + J(128 | t & 63) : J(224 | t >>> 12 & 15) + J(128 | t >>> 6 & 63) + J(128 | t & 63);
2314
2314
  } else {
2315
2315
  var t = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
2316
- return Y(240 | t >>> 18 & 7) + Y(128 | t >>> 12 & 63) + Y(128 | t >>> 6 & 63) + Y(128 | t & 63);
2316
+ return J(240 | t >>> 18 & 7) + J(128 | t >>> 12 & 63) + J(128 | t >>> 6 & 63) + J(128 | t & 63);
2317
2317
  }
2318
- }, Hs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Zs = (e) => e.replace(Hs, Gs), Ht = mt ? (e) => Buffer.from(e, "utf8").toString("base64") : Gt ? (e) => qs(Gt.encode(e)) : (e) => kn(Zs(e)), Xs = (e, t = !1) => t ? Vs(Ht(e)) : Ht(e), Ys = (e) => {
2318
+ }, Hs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Zs = (e) => e.replace(Hs, Gs), Ht = vt ? (e) => Buffer.from(e, "utf8").toString("base64") : Gt ? (e) => qs(Gt.encode(e)) : (e) => wn(Zs(e)), Xs = (e, t = !1) => t ? Vs(Ht(e)) : Ht(e), Ys = (e) => {
2319
2319
  const r = `<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1167.06 237.75"><path d="M79.24,19.73h108.91v29.7h-108.91v-29.7Z" style="fill:#79a7ff; stroke-width:0px;"/><path d="M179.24,199.67H20.26c-11.21-.07-20.26-9.17-20.26-20.38V20.39C0,9.18,9.05.07,20.26,0h59.49c3.51.07,6.34,2.9,6.41,6.42v44.36c0,3.54-2.87,6.41-6.41,6.41s-6.41-2.86-6.42-6.4V12.36H20.25c-4.13.07-7.44,3.44-7.44,7.56v159.41c0,4.13,3.31,7.49,7.44,7.56h158.98c4.13-.07,7.44-3.44,7.44-7.56V51.84c0-3.54,2.87-6.41,6.41-6.42,3.55,0,6.42,2.87,6.42,6.42v127.45c0,11.21-9.05,20.32-20.26,20.39h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M192.8,60.77c-3.66-.07-6.61-3.02-6.68-6.68v-18.23c.09-4.29-3.32-7.83-7.6-7.92h-96.43c-3.69,0-6.69-2.99-6.69-6.69s2.99-6.69,6.69-6.69h96.27c11.69.08,21.13,9.58,21.13,21.27v18.25c0,3.69-2.99,6.68-6.68,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M193.08,58.67H10.15c-3.61-.08-6.48-3.07-6.41-6.68-.08-3.62,2.79-6.61,6.4-6.69,0,0,0,0,0,0h182.93c3.62.08,6.48,3.08,6.41,6.69.07,3.61-2.79,6.6-6.41,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M137.2,58.67c-3.42.24-6.4-2.32-6.68-5.74v-28.15c.55-3.69,4-6.24,7.69-5.69,2.94.44,5.24,2.75,5.69,5.69v28.15c-.28,3.42-3.26,5.98-6.68,5.74h-.02Z" style="fill:#377dff; stroke-width:0px;"/><path d="M99.78,100.48l-12.83-22.22h-18.39l31.22,54.05,31.22-54.05h-18.39l-12.83,22.22Z" style="fill:#00d797; stroke-width:0px;"/><path d="M135.28,78.26l-35.49,61.43-35.44-61.43h-20.11l55.55,96.2,55.55-96.2s-20.06,0-20.06,0ZM313.33,59.95c0,.52-.67,1.84-2,3.95s-3.3,5.2-5.9,9.28-5.75,9.28-9.46,15.61c-3.7,6.33-7.52,13.34-11.45,21.04-4.51,8.85-7.76,15.8-9.76,20.86s-2.99,9.41-2.99,13.05c0,2.89,1.53,5.44,4.6,7.63,3.7-2.89,7.34-6.33,10.93-10.32,3.58-3.99,7.13-8.44,10.63-13.36s7.55-11.13,12.14-18.65c4.6-7.52,8.69-14.43,12.27-20.73-.17-.52-.36-1.04-.56-1.56s-.3-.95-.3-1.3c0-2.72.55-5.26,1.65-7.63,1.1-2.37,2.47-4.68,4.12-6.94s4.12-5.44,7.42-9.54c.87-1.1,1.94-1.65,3.21-1.65,2.08,0,3.12,1.33,3.12,3.99s-1.08,6.84-3.25,12.53c-2.17,5.7-5.37,12.39-9.59,20.08s-9.47,16.29-15.74,25.81c-6.28,9.51-13.37,19.45-21.3,29.8-8.04,10.47-13.79,15.7-17.26,15.7-1.97,0-4.19-1.08-6.68-3.25s-4.63-5.13-6.42-8.89-2.69-7.78-2.69-12.06c0-2.54.53-5.81,1.6-9.8s2.75-8.78,5.03-14.36,4.87-11.09,7.76-16.53c3.01-5.72,5.65-10.47,7.94-14.23,2.28-3.76,4.87-7.94,7.76-12.53,2.89-4.6,4.34-7.1,4.34-7.5,0-.87-.58-1.3-1.73-1.3-3.35,0-7.82,1.71-13.4,5.12s-12.85,8.59-21.82,15.53c-3.41,2.66-5.57,4.38-6.46,5.16s-1.34,1.43-1.34,1.95c0,.69.55,1.04,1.65,1.04.46,0,2.02-.17,4.68-.52s4.77-.52,6.33-.52c2.6,0,3.9.46,3.9,1.39,0,.81-.54,1.45-1.61,1.91-1.07.46-2.54.93-4.42,1.39s-4.44,1.1-7.68,1.91c-3.47.93-7.16,2.25-11.06,3.99-3.9,1.73-6.14,2.6-6.72,2.6-1.1,0-1.78-.4-2.04-1.21s-.39-2.14-.39-3.99c0-8.21,1.36-14.56,4.08-19.04s7.58-9.15,14.57-14.01c7.98-5.55,15.61-10.16,22.9-13.84,7.29-3.67,13.58-6.36,18.87-8.07s9.18-2.56,11.67-2.56,4.84,1.56,7.24,4.68,3.6,6.42,3.6,9.89h0ZM366.34,124.75c-8.39,11.1-14.76,19-19.13,23.68s-7.94,7.03-10.71,7.03c-2.2,0-4.22-.91-6.07-2.73-1.85-1.82-3.28-4.28-4.29-7.37s-1.52-6.4-1.52-9.93c0-2.31.22-4.39.65-6.25.43-1.85,1.26-3.89,2.47-6.12s2.82-4.64,4.81-7.24c2-2.6,4.44-5.55,7.33-8.85,1.73-2.02,3.19-3.73,4.38-5.12,1.18-1.39,2.34-2.33,3.47-2.82s2.96-.74,5.51-.74c1.85,0,3.61.25,5.29.74,1.68.49,2.52,1,2.52,1.52,0,1.04-.85,2.92-2.56,5.64s-4.45,6.03-8.24,9.93c-3.79,3.9-8.17,7.74-13.14,11.49-1.1,3.41-1.65,6.01-1.65,7.81,0,2.49.95,3.73,2.86,3.73.69,0,1.85-.59,3.47-1.78,1.62-1.18,4.35-3.47,8.2-6.85,3.84-3.38,7.3-6.38,10.37-8.98,2.25-1.97,4.87-4.9,7.85-8.8s5.39-6.84,7.24-8.8c4.28-4.51,7.2-7.44,8.76-8.8s3.06-2.04,4.51-2.04,2.33.43,2.82,1.3c.49.87.74,2.63.74,5.29,0,1.21-.12,2.2-.35,2.95s-.71,1.72-1.43,2.91-2.18,3.37-4.38,6.55-4.8,6.94-7.81,11.28c-1.66,2.38-3.09,4.93-4.25,7.59-1.21,2.75-1.82,4.81-1.82,6.2,0,3.01,1.18,4.51,3.56,4.51,1.96,0,4.25-.81,6.85-2.43s6.59-4.54,11.97-8.76v5.81c-6.77,6.25-11.77,10.79-15.01,13.62s-6.04,4.97-8.41,6.42-4.63,2.17-6.77,2.17c-4.86,0-7.29-2.89-7.29-8.67,0-2.2.72-5.16,2.17-8.89,1.44-3.73,3.79-9.12,7.03-16.18v-.02Z" style="fill:#306fff; stroke-width:0px;"/><path d="M407.71,133.77v2.17c0,3.41.84,6.07,2.52,7.98,1.68,1.91,3.87,2.86,6.59,2.86s5.77-.66,8.8-2c3.04-1.33,6.06-3.09,9.07-5.29s6.68-5.15,11.02-8.85v5.29c-6.54,7.87-12.67,13.89-18.39,18.09-5.72,4.19-11.54,6.29-17.44,6.29-5.15,0-9.22-2-12.23-5.99s-4.51-9.46-4.51-16.39c0-6.07,1.42-11.58,4.25-16.52s7.46-10.16,13.88-15.66c4.39-3.76,8.76-6.59,13.1-8.5s8.21-2.86,11.62-2.86c2.72,0,4.87.62,6.46,1.86s2.39,3.11,2.39,5.59c0,3.64-1.36,7.27-4.08,10.89s-6.87,7.2-12.45,10.76c-5.58,3.56-12.45,6.98-20.6,10.28h0ZM408.58,128.13c5.2-2.02,9.66-4.54,13.36-7.55,3.7-3.01,6.43-5.88,8.2-8.63,1.76-2.75,2.65-4.76,2.65-6.03s-.61-2-1.82-2c-1.04,0-2.73.67-5.07,2s-4.71,3.07-7.11,5.21-4.55,4.66-6.46,7.55c-1.9,2.86-3.17,6.08-3.73,9.46h-.02ZM585.37,132.9c-1.45-2.66-3.61-5.06-6.51-7.2-2.89-2.14-6.15-3.86-9.76-5.16s-7.39-2.27-11.32-2.91c-11.68-1.74-22.58-5.52-32.7-11.36-.87-.46-1.79-1.44-2.78-2.95-.98-1.5-1.47-2.95-1.47-4.34,0-5.09.85-10.19,2.56-15.31,1.71-5.12,3.89-9.12,6.55-12.01,4.28-4.8,11.98-8.99,23.12-12.58,11.13-3.58,23.67-5.38,37.6-5.38,8.33,0,14.76.64,19.3,1.91s6.81,3.24,6.81,5.9c0,4.34-.59,7.69-1.78,10.06s-2.46,3.95-3.82,4.73c-1.36.78-3.75,1.84-7.16,3.17-3.64,1.27-6.81,2.6-9.5,3.99s-4.99,2.72-6.9,3.99c-1.91,1.27-3.09,1.91-3.56,1.91-.58,0-.87-.23-.87-.69,0-.98,1.03-2.47,3.08-4.47s4.58-3.74,7.59-5.25c3.18-1.68,4.77-2.75,4.77-3.21,0-.75-1.76-1.13-5.29-1.13-10.7,0-20.59.95-29.67,2.86s-16.24,4.42-21.47,7.55c-5.23,3.12-7.85,6.3-7.85,9.54,0,2.02,1.08,3.46,3.25,4.29,2.17.84,6.95,2.24,14.36,4.21,7.4,1.97,14.02,4.22,19.86,6.77,8.38,3.59,14.6,7.32,18.65,11.19,4.05,3.88,6.07,8.21,6.07,13.01,0,3.3-.8,6.61-2.39,9.93-1.59,3.33-3.92,6.38-6.98,9.15-3.07,2.78-6.59,5.06-10.58,6.85-3.41,1.45-7.71,2.8-12.88,4.08-5.18,1.27-10.79,2.27-16.83,2.99-6.04.72-11.81,1.08-17.31,1.08-10.12,0-18.26-.95-24.42-2.86s-9.24-4.8-9.24-8.67c0-1.74,1.04-4.44,3.12-8.11s4.54-6.14,7.37-7.42c2.49-.98,4.89-1.55,7.2-1.69,2.31-.14,3.47.13,3.47.82,0,.17-.09.35-.26.52s-.38.32-.61.43c-.23.12-.46.23-.69.35-1.16.46-2.1.82-2.82,1.08-.72.26-1.3.52-1.74.78-.43.26-.65.62-.65,1.08,0,1.21,5.99,1.82,17.96,1.82,10.41,0,18.94-.38,25.59-1.13s12.52-2.11,17.61-4.08c5.09-1.97,9.71-4.68,13.88-8.15l.04.02ZM640.8,85.63h3.73c3.06-5.49,5.84-9.38,8.33-11.67,2.49-2.28,5.32-3.43,8.5-3.43s4.77.72,4.77,2.17c0,.69-1.24,2.57-3.73,5.64s-4.37,5.64-5.64,7.72c1.96.23,3.71.43,5.25.61,1.53.17,2.73.32,3.6.43-3.3,6.13-7.43,12.4-12.4,18.82l-4.08-.3c-1.1-.09-2.21-.17-3.34-.26s-2.5-.19-4.12-.3c-3.12,5.03-5.74,9.53-7.85,13.49s-3.73,7.59-4.86,10.89-1.69,6.42-1.69,9.37c0,3.99,1.59,5.99,4.77,5.99,2.2,0,5.07-1.17,8.63-3.51s8.31-5.94,14.27-10.8v5.81c-15.61,16.95-27.15,25.42-34.61,25.42-2.6,0-4.7-1.01-6.29-3.04-1.59-2.02-2.38-4.63-2.38-7.81,0-2.14.45-4.68,1.34-7.63.9-2.95,2.5-7.4,4.81-13.36-.81.69-1.58,1.37-2.3,2.04s-1.39,1.27-2,1.82-1.26,1.13-1.95,1.73c-.69.61-1.39,1.23-2.08,1.87v-5.99c6.07-5.09,13.42-14.02,22.03-26.8-.87-.06-1.68-.1-2.43-.13s-1.65-.04-2.69-.04c-3.41,0-5.96.23-7.63.69-.69.17-1.34.36-1.95.56s-1.03.3-1.26.3-.35-.17-.35-.52c0-1.91,1.18-4.77,3.56-8.59,1.91-3.24,3.72-5.64,5.42-7.2,1.71-1.56,3.79-2.62,6.25-3.17,2.46-.55,5.91-.82,10.37-.82h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M664.91,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM706.46,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M779.07,130.82v5.81c-6.19,6.07-11.23,10.79-15.14,14.14-3.9,3.35-7.55,5.96-10.93,7.81-3.38,1.85-6.69,2.78-9.93,2.78s-6.1-1.26-8.76-3.77c-2.66-2.52-4.74-5.81-6.25-9.89-1.5-4.08-2.26-8.4-2.26-12.97,0-3.93.87-7.43,2.6-10.5,1.74-3.07,5.09-7.03,10.06-11.88,5.9-5.78,11.38-10.25,16.44-13.4s9.04-4.73,11.93-4.73c2.08,0,3.85.72,5.29,2.17s2.17,3.27,2.17,5.46c0,1.85-.95,4.48-2.86,7.89-1.91,3.41-4.05,6.38-6.42,8.89-2.37,2.52-4.25,3.77-5.64,3.77-1.5,0-2.25-.81-2.25-2.43.06-.46.1-.9.13-1.3s.04-.81.04-1.21c0-.69-.25-1.08-.74-1.17s-1.08.13-1.78.65c-5.78,4.05-9.75,6.9-11.88,8.54-2.14,1.65-3.83,3.31-5.07,4.99s-1.87,3.44-1.87,5.29c0,3.41,1.1,6.19,3.3,8.33s5.06,3.21,8.59,3.21,8.02-1.4,13.14-4.21c5.12-2.8,11.15-6.9,18.09-12.27h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M844.13,130.65v5.81c-6.48,7.58-11.91,13.32-16.31,17.22s-8.07,5.86-11.02,5.86-5.39-.84-7.68-2.52c-2.29-1.68-4.34-3.99-6.16-6.94-1.82-2.95-3.98-7.05-6.46-12.32-2.95,3.64-5.61,7.04-7.98,10.19-2.37,3.15-4.02,5.25-4.94,6.29-.93,1.04-1.77,1.56-2.52,1.56-1.56,0-2.69-1-3.38-2.99-.69-2-1.04-4.9-1.04-8.72,0-5.21.62-10.22,1.87-15.05,1.24-4.83,3.04-9.53,5.38-14.1s5.35-9.5,9.02-14.79c3.67-5.29,7.79-10.83,12.36-16.61,6.3-7.98,11.74-14.5,16.31-19.56,4.57-5.06,8.54-8.88,11.93-11.45,3.38-2.57,6.2-3.86,8.46-3.86,2.78,0,4.16,1.24,4.16,3.73,0,2.14-5.12,9.85-15.35,23.12-10.24,13.27-25.16,31.39-44.76,54.35v7.46c13.13-14.05,23.69-24.49,31.71-31.31,8.01-6.82,14.21-10.24,18.61-10.24,1.79,0,3.18,1.06,4.16,3.17s1.47,4.55,1.47,7.33c0,5.67-2.43,10.92-7.29,15.74-4.86,4.83-12.32,10.37-22.38,16.61,1.74,2.6,3.27,4.5,4.6,5.68,1.33,1.19,3.01,1.78,5.03,1.78,1.79,0,3.73-.61,5.81-1.82s4.21-2.75,6.38-4.6,5.51-4.86,10.02-9.02h-.01ZM809.86,135.07c2.2-1.45,4.93-3.69,8.2-6.72,3.27-3.04,6.06-6.19,8.37-9.46s3.47-6,3.47-8.2c0-.92-.41-1.39-1.21-1.39-2.2,0-5.97,2.11-11.32,6.33-5.35,4.22-10.57,9.63-15.66,16.22,2.2,0,4.92,1.07,8.15,3.21h0ZM951.78,140.71l2.86,2.17c-.75,1.62-1.47,3.04-2.17,4.25-.69,1.21-1.53,2.69-2.52,4.42-.98,1.73-1.73,3.04-2.25,3.9-4.34,7.58-8.41,11.36-12.23,11.36-1.62,0-3.01-.64-4.16-1.91-1.16-1.27-1.73-3.01-1.73-5.2,0-3.12,1.11-7.4,3.34-12.84,2.23-5.43,5.67-12.13,10.32-20.08s10.51-16.96,17.57-27.02c7.05-10.06,15.01-20.67,23.85-31.84-5.09-.75-11.13-1.13-18.13-1.13-8.04,0-16.99.9-26.85,2.69s-18.45,3.86-25.76,6.2c-7.32,2.34-10.97,4.06-10.97,5.16,0,.41.14.68.43.82.29.15.77.26,1.43.35s1.52.19,2.56.3c6.77.93,10.15,1.97,10.15,3.12,0,.58-1.47.85-4.42.82s-6.51-.04-10.67-.04c-3.3,0-5.68-.13-7.16-.39s-2.46-.75-2.95-1.47-.74-1.84-.74-3.34c0-.98.29-3.12.87-6.42,1.1-6.13,2.79-11.04,5.07-14.75,2.28-3.7,5.78-6.72,10.5-9.06,4.71-2.34,11.2-4.21,19.47-5.59,13.88-2.37,25.36-3.56,34.44-3.56,6.71,0,12,.27,15.88.82,3.87.55,6.72,1.34,8.54,2.39,1.82,1.04,2.98,2.07,3.47,3.08s1.14,2.76,1.95,5.25l2.69,7.98c.17.52.32.94.43,1.26.12.32.22.65.3,1,.09.35.13.67.13.95,0,2.26-.51,4.28-1.52,6.07s-2.86,4.48-5.55,8.07-4.67,6.39-5.94,8.41c-14.92,24.23-25.1,42.16-30.53,53.78v.02ZM991.94,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM1033.49,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1111.3,130.82v5.64c-6.02,3.82-10.76,5.72-14.23,5.72-1.91,0-3.93-.32-6.07-.95-5.2,6.59-9.67,11.42-13.4,14.49s-7.47,4.6-11.23,4.6c-4.34,0-7.68-2.29-10.02-6.85-2.34-4.57-3.51-10.24-3.51-17,0-9.2,2.78-19.21,8.33-30.06,5.56-10.85,12.29-21.07,20.08-30.45,7.84-9.46,15.43-17.28,22.77-23.46,7.34-6.19,12.32-9.28,14.92-9.28s3.73,1.71,3.73,5.12c0,15.15-19.43,41.58-58.29,79.29-.12,1.04-.17,3.09-.17,6.16,0,7.98,2.14,11.97,6.42,11.97,1.68,0,3.37-.68,5.07-2.04,1.71-1.36,4.32-3.95,7.85-7.76-1.39-3.12-2.08-5.44-2.08-6.94,0-3.18,1.3-6.62,3.9-10.32s5.57-6.9,8.89-9.59c3.33-2.69,5.74-4.03,7.24-4.03,2.37,0,3.56,1.71,3.56,5.12,0,2.6-.68,5.72-2.04,9.37-1.36,3.64-3.34,7.81-5.94,12.49.98.81,1.76,1.4,2.34,1.78s1.45.56,2.6.56c2.66,0,5.75-1.18,9.28-3.56v-.02ZM1067.24,117.81c3.01-2.6,6.03-5.68,9.06-9.24s7.47-9.01,13.32-16.35c5.61-7.05,10.02-12.94,13.23-17.65s5.62-8.63,7.24-11.75c1.62-3.12,2.43-5.26,2.43-6.42,0-.87-.23-1.3-.69-1.3-1.27,0-3.92,2.1-7.94,6.29-4.02,4.19-8.6,9.93-13.75,17.22-7.11,10.06-12.26,17.64-15.44,22.73-3.18,5.09-5.67,10.58-7.46,16.48h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1110.96,133.08v-2.08c14.92-15.73,25.18-26.75,30.79-33.05,1.27-7.11,4.34-10.67,9.19-10.67,1.21,0,2.52.35,3.9,1.04l.52,1.65c-.23.69-.35,1.68-.35,2.95,0,1.1.42,3.14,1.26,6.12s1.49,5.48,1.95,7.5.69,4.31.69,6.85c0,3.82-.87,7.48-2.6,10.97-1.73,3.5-4.25,6.85-7.55,10.06-3.3,3.21-7.55,6.49-12.75,9.85,2.08.35,3.73.52,4.94.52,2.37,0,4.93-.59,7.68-1.78,2.75-1.18,5.55-2.78,8.41-4.77,2.86-2,6.2-4.58,10.02-7.76v5.81c-7.4,7.23-14.02,12.71-19.86,16.44s-10.87,5.59-15.09,5.59c-5.44,0-10.47-2.31-15.09-6.94-2.72-2.78-4.41-5.43-5.08-7.98-.67-2.54-1-5.99-1-10.32h.02ZM1143.31,119.8l-1.56-12.66c-3.59,4.05-11.25,11.83-22.99,23.33,3.47.75,5.84,1.76,7.11,3.04,1.27,1.27,3.06,3.73,5.38,7.37,3.93-1.62,6.95-3.83,9.07-6.64,2.11-2.8,3.17-6.64,3.17-11.49,0-.58-.01-1.1-.04-1.56s-.07-.92-.13-1.39h0Z" style="fill:#306fff; stroke-width:0px;"/><g style="isolation:isolate;"><text transform="translate(943.45 229.96)" style="fill:#00d797; font-family:ArialMT, Arial; font-size:24px; isolation:isolate;"><tspan x="0" y="0">version: ${e}</tspan></text></g></svg>`, i = "data:image/svg+xml;base64," + Xs(r), u = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
2320
2320
  window.console.log(
2321
2321
  "%c+",
2322
2322
  u + `background-image: url(${i});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`
2323
2323
  );
2324
2324
  }, Js = () => {
2325
- const { attrs: e, props: t } = en(), { pageShown: n, getTab: r, markDeletableCache: s, removeComponent: o, getComponent: i, addPageScroller: u } = Me(), c = zn(), l = ut();
2325
+ const { attrs: e, props: t } = en(), { pageShown: n, getTab: r, markDeletableCache: s, removeComponent: o, getComponent: i, addPageScroller: u } = Me(), a = zn(), l = ut();
2326
2326
  let h = "", f = "";
2327
2327
  h = e.tId || t.tId;
2328
2328
  const d = e.pId || t.pId;
2329
- return f = c.query.__tab, {
2329
+ return f = a.query.__tab, {
2330
2330
  forward: (I) => {
2331
2331
  const T = te(
2332
2332
  {
@@ -2340,50 +2340,51 @@ const Vs = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
2340
2340
  });
2341
2341
  },
2342
2342
  backward: (I, T) => {
2343
- const _ = r(h);
2344
- if (!_)
2343
+ const w = r(h);
2344
+ if (!w)
2345
2345
  return;
2346
- const k = _.pages;
2347
- let m = 0;
2346
+ const _ = w.pages;
2347
+ let y = 0;
2348
2348
  if (typeof I == "number")
2349
- m = Math.abs(I);
2349
+ y = Math.abs(I);
2350
2350
  else {
2351
- let b = 1, y = !1;
2352
- const j = k.list(), F = bt(I);
2353
- T = te(F.query, T);
2354
- for (let q = k.size() - 2; q >= 0; q--) {
2355
- if (j[q].path === F.path) {
2356
- y = !0;
2351
+ let v = 1, g = !1;
2352
+ const j = _.list(), q = bt(I);
2353
+ T = te(q.query, T);
2354
+ for (let G = _.size() - 2; G >= 0; G--) {
2355
+ if (j[G].path === q.path) {
2356
+ g = !0;
2357
2357
  break;
2358
2358
  }
2359
- b += 1;
2359
+ v += 1;
2360
2360
  }
2361
- y && (m = b);
2361
+ g && (y = v);
2362
2362
  }
2363
- if (m === 0 || k.size() <= m)
2363
+ if (y === 0 || _.size() <= y)
2364
2364
  return;
2365
- for (let b = 0; b < m; b++) {
2366
- const y = k.pop();
2367
- o(y.id), s(y.id);
2365
+ for (let v = 0; v < y; v++) {
2366
+ const g = _.pop();
2367
+ o(g.id), s(g.id);
2368
2368
  }
2369
- const O = k == null ? void 0 : k.peek(), a = i(O.id);
2370
- if (a != null) {
2371
- const b = a.components.DynamicComponent;
2372
- b.props = te(T, b.props);
2369
+ const x = _ == null ? void 0 : _.peek(), c = i(x.id);
2370
+ if (c != null) {
2371
+ const v = c.components.DynamicComponent;
2372
+ v.props = te(T, v.props);
2373
2373
  }
2374
2374
  l.push({
2375
- path: O.path,
2376
- query: O.query
2375
+ path: x.path,
2376
+ query: x.query
2377
2377
  });
2378
2378
  },
2379
2379
  addScroller: (...I) => {
2380
2380
  u(d, ...I);
2381
2381
  }
2382
2382
  };
2383
- }, to = /* @__PURE__ */ K({
2383
+ }, to = /* @__PURE__ */ Q({
2384
2384
  __name: "iframe",
2385
2385
  setup(e) {
2386
- return Js(), (t, n) => (z(), P("div"));
2386
+ return Js(), () => {
2387
+ };
2387
2388
  }
2388
2389
  }), no = () => {
2389
2390
  const e = Ce(), { attrs: t } = en();
@@ -2391,14 +2392,14 @@ const Vs = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
2391
2392
  r();
2392
2393
  });
2393
2394
  const n = () => {
2394
- e.emit(V.PAGE_LOADING, { tId: t.tId, value: !0 });
2395
+ e.emit(F.PAGE_LOADING, { tId: t.tId, value: !0 });
2395
2396
  }, r = () => {
2396
- e.emit(V.PAGE_LOADING, { tId: t.tId, value: !1 });
2397
+ e.emit(F.PAGE_LOADING, { tId: t.tId, value: !1 });
2397
2398
  };
2398
2399
  return { openTabLoading: n, closeTabLoading: r };
2399
2400
  }, ro = {
2400
2401
  install(e, t) {
2401
- Ys("0.1.29"), e.component("VueStackTabs", Ws).use(xr).use(Xn().getI18n(t));
2402
+ Ys("0.1.32"), e.component("VueStackTabs", Ws).use(xr).use(Xn().getI18n(t));
2402
2403
  }
2403
2404
  };
2404
2405
  export {
@@ -2406,7 +2407,7 @@ export {
2406
2407
  Ye as Stack,
2407
2408
  Ws as StackTab,
2408
2409
  it as TabHeaderButton,
2409
- de as TabScrollMode,
2410
+ he as TabScrollMode,
2410
2411
  ro as default,
2411
2412
  Ps as useStackTab,
2412
2413
  no as useTabLoading,