vue-stack-tabs 0.1.37 → 0.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/favicon.svg +9 -9
- package/dist/src/lib/StackTabs.vue.d.ts +7 -52
- package/dist/src/lib/components/ContextMenu/ContextMenuItem.vue.d.ts +3 -12
- package/dist/src/lib/components/ContextMenu/index.vue.d.ts +4 -29
- package/dist/src/lib/components/PageLoading.vue.d.ts +3 -12
- package/dist/src/lib/components/TabHeader/TabHeaderButton.vue.d.ts +4 -29
- package/dist/src/lib/components/TabHeader/TabHeaderItem.vue.d.ts +7 -16
- package/dist/src/lib/components/TabHeader/TabHeaderScroll.vue.d.ts +5 -30
- package/dist/src/lib/components/TabHeader/index.vue.d.ts +7 -38
- package/dist/src/lib/hooks/useContextMenu.d.ts +1 -1
- package/dist/src/lib/hooks/useStackTab.d.ts +1 -0
- package/dist/src/lib/hooks/useTabpanel.d.ts +21 -2
- package/dist/src/lib/iframe.vue.d.ts +1 -1
- package/dist/vue-stack-tabs.es.js +461 -461
- package/dist/vue-stack-tabs.umd.js +2 -2
- package/package.json +23 -23
- package/src/lib/StackTabs.vue +135 -135
- package/src/lib/assets/style/common/mixins.scss +4 -4
- package/src/lib/assets/style/common/var.scss +29 -28
- package/src/lib/assets/style/icon.scss +1 -1
- package/src/lib/assets/style/index.scss +4 -4
- package/src/lib/assets/style/stackTab.scss +64 -64
- package/src/lib/assets/style/transition.scss +62 -62
- package/src/lib/hooks/useStackTab.ts +119 -116
- package/src/lib/hooks/useTabRouter.ts +103 -103
- package/src/lib/hooks/useTabpanel.tsx +685 -685
- package/src/lib/utils/TabIdHelper.ts +70 -70
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var hn = Object.defineProperty;
|
|
2
2
|
var pn = (t, e, n) => e in t ? hn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var gt = (t, e, n) => pn(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { inject as ot, ref as
|
|
4
|
+
import { inject as ot, ref as D, reactive as Ie, readonly as yt, toRaw as bn, defineComponent as ee, openBlock as z, createElementBlock as V, createElementVNode as Q, createCommentVNode as se, unref as T, nextTick as ce, onMounted as Fe, onDeactivated as vn, onActivated as mn, onUnmounted as He, createVNode as $, resolveComponent as Ft, normalizeClass as ue, withModifiers as _e, toDisplayString as Ht, normalizeStyle as it, Fragment as Ze, renderList as at, createBlock as me, computed as we, renderSlot as xe, watch as gn, withDirectives as Zt, vShow as jt, withCtx as le, TransitionGroup as Xt, mergeProps as yn, Transition as Gt, provide as wn, onBeforeMount as kn, onBeforeUnmount as _n, KeepAlive as xn, resolveDynamicComponent as Tn, getCurrentInstance as Yt } from "vue";
|
|
5
5
|
import { useRouter as ct, useRoute as Sn } from "vue-router";
|
|
6
6
|
const On = {
|
|
7
7
|
VueStackTab: {
|
|
@@ -91,7 +91,7 @@ function Rn(t, e) {
|
|
|
91
91
|
}
|
|
92
92
|
return e;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Dn(t, e) {
|
|
95
95
|
for (const n in e)
|
|
96
96
|
t = t.replace(`{${n}}`, String(e[n]));
|
|
97
97
|
return t;
|
|
@@ -101,12 +101,12 @@ function Kt(t, e) {
|
|
|
101
101
|
e[n] instanceof Object && n in t && (e[n] = { ...e[n], ...Kt(t[n], e[n]) });
|
|
102
102
|
}), { ...t || {}, ...e };
|
|
103
103
|
}
|
|
104
|
-
const
|
|
104
|
+
const $n = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", Nn = (t) => $n ? Symbol(t) : "_vt_" + t, Jt = /* @__PURE__ */ Nn("i18n");
|
|
105
105
|
function Me() {
|
|
106
106
|
return ot(Jt);
|
|
107
107
|
}
|
|
108
108
|
function Pn(t) {
|
|
109
|
-
const e = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, t), n =
|
|
109
|
+
const e = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, t), n = D(e.locale), s = Ie({});
|
|
110
110
|
return Object.entries(e.messages).forEach(([r, o]) => {
|
|
111
111
|
s[r] = o;
|
|
112
112
|
}), {
|
|
@@ -117,7 +117,7 @@ function Pn(t) {
|
|
|
117
117
|
let f = wt(s[i], r) || wt(s[e.fallbackLocale], r);
|
|
118
118
|
if (o && typeof o != "string") {
|
|
119
119
|
const a = Rn(f, o);
|
|
120
|
-
Cn(a) || (f =
|
|
120
|
+
Cn(a) || (f = Dn(f, a));
|
|
121
121
|
}
|
|
122
122
|
return f || r;
|
|
123
123
|
},
|
|
@@ -138,7 +138,7 @@ function Pn(t) {
|
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
const
|
|
141
|
+
const Wn = () => {
|
|
142
142
|
const t = /* @__PURE__ */ Object.assign({ "./lang/en.ts": An, "./lang/zh-CN.ts": In });
|
|
143
143
|
function e(r, o) {
|
|
144
144
|
for (const i in r)
|
|
@@ -179,7 +179,7 @@ const Vn = () => {
|
|
|
179
179
|
behavior: s ? "smooth" : "auto"
|
|
180
180
|
}) : (t.scrollLeft = e, t.scrollTop = n));
|
|
181
181
|
};
|
|
182
|
-
function
|
|
182
|
+
function Vn({
|
|
183
183
|
el: t,
|
|
184
184
|
wrap: e,
|
|
185
185
|
block: n = "start",
|
|
@@ -274,11 +274,11 @@ class je {
|
|
|
274
274
|
return Array.from(this.items.values());
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function We(t) {
|
|
278
278
|
var e = new Error(t);
|
|
279
279
|
return e.source = "ulid", e;
|
|
280
280
|
}
|
|
281
|
-
var lt = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Oe = lt.length,
|
|
281
|
+
var lt = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Oe = lt.length, kt = Math.pow(2, 48) - 1, Un = 10, qn = 16;
|
|
282
282
|
function Fn(t) {
|
|
283
283
|
var e = Math.floor(t() * Oe);
|
|
284
284
|
return e === Oe && (e = Oe - 1), lt.charAt(e);
|
|
@@ -286,12 +286,12 @@ function Fn(t) {
|
|
|
286
286
|
function Hn(t, e) {
|
|
287
287
|
if (isNaN(t))
|
|
288
288
|
throw new Error(t + " must be a number");
|
|
289
|
-
if (t >
|
|
290
|
-
throw
|
|
289
|
+
if (t > kt)
|
|
290
|
+
throw We("cannot encode time greater than " + kt);
|
|
291
291
|
if (t < 0)
|
|
292
|
-
throw
|
|
292
|
+
throw We("time must be positive");
|
|
293
293
|
if (Number.isInteger(t) === !1)
|
|
294
|
-
throw
|
|
294
|
+
throw We("time must be an integer");
|
|
295
295
|
for (var n = void 0, s = ""; e > 0; e--)
|
|
296
296
|
n = t % Oe, s = lt.charAt(n) + s, t = (t - n) / Oe;
|
|
297
297
|
return s;
|
|
@@ -325,7 +325,7 @@ function jn() {
|
|
|
325
325
|
return Math.random();
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
|
-
throw
|
|
328
|
+
throw We("secure crypto unusable, insecure Math.random not allowed");
|
|
329
329
|
}
|
|
330
330
|
function Xn(t) {
|
|
331
331
|
return t || (t = jn()), function(n) {
|
|
@@ -380,9 +380,9 @@ ut.exports;
|
|
|
380
380
|
},
|
|
381
381
|
//compress into uint8array (UCS-2 big endian format)
|
|
382
382
|
compressToUint8Array: function(a) {
|
|
383
|
-
for (var c = f.compress(a), p = new Uint8Array(c.length * 2),
|
|
384
|
-
var k = c.charCodeAt(
|
|
385
|
-
p[
|
|
383
|
+
for (var c = f.compress(a), p = new Uint8Array(c.length * 2), l = 0, u = c.length; l < u; l++) {
|
|
384
|
+
var k = c.charCodeAt(l);
|
|
385
|
+
p[l * 2] = k >>> 8, p[l * 2 + 1] = k % 256;
|
|
386
386
|
}
|
|
387
387
|
return p;
|
|
388
388
|
},
|
|
@@ -390,12 +390,12 @@ ut.exports;
|
|
|
390
390
|
decompressFromUint8Array: function(a) {
|
|
391
391
|
if (a == null)
|
|
392
392
|
return f.decompress(a);
|
|
393
|
-
for (var c = new Array(a.length / 2), p = 0,
|
|
393
|
+
for (var c = new Array(a.length / 2), p = 0, l = c.length; p < l; p++)
|
|
394
394
|
c[p] = a[p * 2] * 256 + a[p * 2 + 1];
|
|
395
|
-
var
|
|
395
|
+
var u = [];
|
|
396
396
|
return c.forEach(function(k) {
|
|
397
|
-
|
|
398
|
-
}), f.decompress(
|
|
397
|
+
u.push(n(k));
|
|
398
|
+
}), f.decompress(u.join(""));
|
|
399
399
|
},
|
|
400
400
|
//compress into a string that is already URI encoded
|
|
401
401
|
compressToEncodedURIComponent: function(a) {
|
|
@@ -416,56 +416,56 @@ ut.exports;
|
|
|
416
416
|
},
|
|
417
417
|
_compress: function(a, c, p) {
|
|
418
418
|
if (a == null) return "";
|
|
419
|
-
var
|
|
420
|
-
for (
|
|
421
|
-
if (B = a.charAt(
|
|
422
|
-
y =
|
|
419
|
+
var l, u, k = {}, S = {}, B = "", I = "", y = "", g = 2, x = 3, b = 2, O = [], h = 0, _ = 0, w;
|
|
420
|
+
for (w = 0; w < a.length; w += 1)
|
|
421
|
+
if (B = a.charAt(w), Object.prototype.hasOwnProperty.call(k, B) || (k[B] = x++, S[B] = !0), I = y + B, Object.prototype.hasOwnProperty.call(k, I))
|
|
422
|
+
y = I;
|
|
423
423
|
else {
|
|
424
424
|
if (Object.prototype.hasOwnProperty.call(S, y)) {
|
|
425
425
|
if (y.charCodeAt(0) < 256) {
|
|
426
|
-
for (
|
|
427
|
-
h = h << 1, _ == c - 1 ? (_ = 0,
|
|
428
|
-
for (
|
|
429
|
-
h = h << 1 |
|
|
426
|
+
for (l = 0; l < b; l++)
|
|
427
|
+
h = h << 1, _ == c - 1 ? (_ = 0, O.push(p(h)), h = 0) : _++;
|
|
428
|
+
for (u = y.charCodeAt(0), l = 0; l < 8; l++)
|
|
429
|
+
h = h << 1 | u & 1, _ == c - 1 ? (_ = 0, O.push(p(h)), h = 0) : _++, u = u >> 1;
|
|
430
430
|
} else {
|
|
431
|
-
for (
|
|
432
|
-
h = h << 1 |
|
|
433
|
-
for (
|
|
434
|
-
h = h << 1 |
|
|
431
|
+
for (u = 1, l = 0; l < b; l++)
|
|
432
|
+
h = h << 1 | u, _ == c - 1 ? (_ = 0, O.push(p(h)), h = 0) : _++, u = 0;
|
|
433
|
+
for (u = y.charCodeAt(0), l = 0; l < 16; l++)
|
|
434
|
+
h = h << 1 | u & 1, _ == c - 1 ? (_ = 0, O.push(p(h)), h = 0) : _++, u = u >> 1;
|
|
435
435
|
}
|
|
436
|
-
|
|
436
|
+
g--, g == 0 && (g = Math.pow(2, b), b++), delete S[y];
|
|
437
437
|
} else
|
|
438
|
-
for (
|
|
439
|
-
h = h << 1 |
|
|
440
|
-
|
|
438
|
+
for (u = k[y], l = 0; l < b; l++)
|
|
439
|
+
h = h << 1 | u & 1, _ == c - 1 ? (_ = 0, O.push(p(h)), h = 0) : _++, u = u >> 1;
|
|
440
|
+
g--, g == 0 && (g = Math.pow(2, b), b++), k[I] = x++, y = String(B);
|
|
441
441
|
}
|
|
442
442
|
if (y !== "") {
|
|
443
443
|
if (Object.prototype.hasOwnProperty.call(S, y)) {
|
|
444
444
|
if (y.charCodeAt(0) < 256) {
|
|
445
|
-
for (
|
|
446
|
-
h = h << 1, _ == c - 1 ? (_ = 0,
|
|
447
|
-
for (
|
|
448
|
-
h = h << 1 |
|
|
445
|
+
for (l = 0; l < b; l++)
|
|
446
|
+
h = h << 1, _ == c - 1 ? (_ = 0, O.push(p(h)), h = 0) : _++;
|
|
447
|
+
for (u = y.charCodeAt(0), l = 0; l < 8; l++)
|
|
448
|
+
h = h << 1 | u & 1, _ == c - 1 ? (_ = 0, O.push(p(h)), h = 0) : _++, u = u >> 1;
|
|
449
449
|
} else {
|
|
450
|
-
for (
|
|
451
|
-
h = h << 1 |
|
|
452
|
-
for (
|
|
453
|
-
h = h << 1 |
|
|
450
|
+
for (u = 1, l = 0; l < b; l++)
|
|
451
|
+
h = h << 1 | u, _ == c - 1 ? (_ = 0, O.push(p(h)), h = 0) : _++, u = 0;
|
|
452
|
+
for (u = y.charCodeAt(0), l = 0; l < 16; l++)
|
|
453
|
+
h = h << 1 | u & 1, _ == c - 1 ? (_ = 0, O.push(p(h)), h = 0) : _++, u = u >> 1;
|
|
454
454
|
}
|
|
455
|
-
|
|
455
|
+
g--, g == 0 && (g = Math.pow(2, b), b++), delete S[y];
|
|
456
456
|
} else
|
|
457
|
-
for (
|
|
458
|
-
h = h << 1 |
|
|
459
|
-
|
|
457
|
+
for (u = k[y], l = 0; l < b; l++)
|
|
458
|
+
h = h << 1 | u & 1, _ == c - 1 ? (_ = 0, O.push(p(h)), h = 0) : _++, u = u >> 1;
|
|
459
|
+
g--, g == 0 && (g = Math.pow(2, b), b++);
|
|
460
460
|
}
|
|
461
|
-
for (
|
|
462
|
-
h = h << 1 |
|
|
461
|
+
for (u = 2, l = 0; l < b; l++)
|
|
462
|
+
h = h << 1 | u & 1, _ == c - 1 ? (_ = 0, O.push(p(h)), h = 0) : _++, u = u >> 1;
|
|
463
463
|
for (; ; )
|
|
464
464
|
if (h = h << 1, _ == c - 1) {
|
|
465
|
-
|
|
465
|
+
O.push(p(h));
|
|
466
466
|
break;
|
|
467
467
|
} else _++;
|
|
468
|
-
return
|
|
468
|
+
return O.join("");
|
|
469
469
|
},
|
|
470
470
|
decompress: function(a) {
|
|
471
471
|
return a == null ? "" : a == "" ? null : f._decompress(a.length, 32768, function(c) {
|
|
@@ -473,51 +473,51 @@ ut.exports;
|
|
|
473
473
|
});
|
|
474
474
|
},
|
|
475
475
|
_decompress: function(a, c, p) {
|
|
476
|
-
var
|
|
476
|
+
var l = [], u = 4, k = 4, S = 3, B = "", I = [], y, g, x, b, O, h, _, w = { val: p(0), position: c, index: 1 };
|
|
477
477
|
for (y = 0; y < 3; y += 1)
|
|
478
|
-
|
|
479
|
-
for (x = 0,
|
|
480
|
-
b =
|
|
478
|
+
l[y] = y;
|
|
479
|
+
for (x = 0, O = Math.pow(2, 2), h = 1; h != O; )
|
|
480
|
+
b = w.val & w.position, w.position >>= 1, w.position == 0 && (w.position = c, w.val = p(w.index++)), x |= (b > 0 ? 1 : 0) * h, h <<= 1;
|
|
481
481
|
switch (x) {
|
|
482
482
|
case 0:
|
|
483
|
-
for (x = 0,
|
|
484
|
-
b =
|
|
483
|
+
for (x = 0, O = Math.pow(2, 8), h = 1; h != O; )
|
|
484
|
+
b = w.val & w.position, w.position >>= 1, w.position == 0 && (w.position = c, w.val = p(w.index++)), x |= (b > 0 ? 1 : 0) * h, h <<= 1;
|
|
485
485
|
_ = n(x);
|
|
486
486
|
break;
|
|
487
487
|
case 1:
|
|
488
|
-
for (x = 0,
|
|
489
|
-
b =
|
|
488
|
+
for (x = 0, O = Math.pow(2, 16), h = 1; h != O; )
|
|
489
|
+
b = w.val & w.position, w.position >>= 1, w.position == 0 && (w.position = c, w.val = p(w.index++)), x |= (b > 0 ? 1 : 0) * h, h <<= 1;
|
|
490
490
|
_ = n(x);
|
|
491
491
|
break;
|
|
492
492
|
case 2:
|
|
493
493
|
return "";
|
|
494
494
|
}
|
|
495
|
-
for (
|
|
496
|
-
if (
|
|
495
|
+
for (l[3] = _, g = _, I.push(_); ; ) {
|
|
496
|
+
if (w.index > a)
|
|
497
497
|
return "";
|
|
498
|
-
for (x = 0,
|
|
499
|
-
b =
|
|
498
|
+
for (x = 0, O = Math.pow(2, S), h = 1; h != O; )
|
|
499
|
+
b = w.val & w.position, w.position >>= 1, w.position == 0 && (w.position = c, w.val = p(w.index++)), x |= (b > 0 ? 1 : 0) * h, h <<= 1;
|
|
500
500
|
switch (_ = x) {
|
|
501
501
|
case 0:
|
|
502
|
-
for (x = 0,
|
|
503
|
-
b =
|
|
504
|
-
|
|
502
|
+
for (x = 0, O = Math.pow(2, 8), h = 1; h != O; )
|
|
503
|
+
b = w.val & w.position, w.position >>= 1, w.position == 0 && (w.position = c, w.val = p(w.index++)), x |= (b > 0 ? 1 : 0) * h, h <<= 1;
|
|
504
|
+
l[k++] = n(x), _ = k - 1, u--;
|
|
505
505
|
break;
|
|
506
506
|
case 1:
|
|
507
|
-
for (x = 0,
|
|
508
|
-
b =
|
|
509
|
-
|
|
507
|
+
for (x = 0, O = Math.pow(2, 16), h = 1; h != O; )
|
|
508
|
+
b = w.val & w.position, w.position >>= 1, w.position == 0 && (w.position = c, w.val = p(w.index++)), x |= (b > 0 ? 1 : 0) * h, h <<= 1;
|
|
509
|
+
l[k++] = n(x), _ = k - 1, u--;
|
|
510
510
|
break;
|
|
511
511
|
case 2:
|
|
512
|
-
return
|
|
512
|
+
return I.join("");
|
|
513
513
|
}
|
|
514
|
-
if (
|
|
515
|
-
B =
|
|
514
|
+
if (u == 0 && (u = Math.pow(2, S), S++), l[_])
|
|
515
|
+
B = l[_];
|
|
516
516
|
else if (_ === k)
|
|
517
|
-
B =
|
|
517
|
+
B = g + g.charAt(0);
|
|
518
518
|
else
|
|
519
519
|
return null;
|
|
520
|
-
|
|
520
|
+
I.push(B), l[k++] = g + B.charAt(0), u--, g = B, u == 0 && (u = Math.pow(2, S), S++);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
};
|
|
@@ -528,7 +528,7 @@ ut.exports;
|
|
|
528
528
|
});
|
|
529
529
|
})(ut);
|
|
530
530
|
var tn = ut.exports;
|
|
531
|
-
const Gn = new TextEncoder(), Yn = new TextDecoder("utf-8", { ignoreBOM: !0 }),
|
|
531
|
+
const Gn = new TextEncoder(), Yn = new TextDecoder("utf-8", { ignoreBOM: !0 }), _t = {
|
|
532
532
|
/* API */
|
|
533
533
|
encode: (t) => Gn.encode(t),
|
|
534
534
|
decode: (t) => Yn.decode(t)
|
|
@@ -552,14 +552,14 @@ const Gn = new TextEncoder(), Yn = new TextDecoder("utf-8", { ignoreBOM: !0 }),
|
|
|
552
552
|
e += nn[t[n]];
|
|
553
553
|
return e;
|
|
554
554
|
},
|
|
555
|
-
encodeStr: (t) => Qe.encode(
|
|
555
|
+
encodeStr: (t) => Qe.encode(_t.encode(t)),
|
|
556
556
|
decode: (t) => {
|
|
557
557
|
const e = t.length / 2, n = new Uint8Array(e);
|
|
558
558
|
for (let s = 0; s < e; s++)
|
|
559
559
|
n[s] = Kn[t.slice(s * 2, s * 2 + 2)];
|
|
560
560
|
return n;
|
|
561
561
|
},
|
|
562
|
-
decodeStr: (t) =>
|
|
562
|
+
decodeStr: (t) => _t.decode(Qe.decode(t)),
|
|
563
563
|
is: Jn
|
|
564
564
|
};
|
|
565
565
|
function Ae(t) {
|
|
@@ -636,11 +636,11 @@ class os extends ss {
|
|
|
636
636
|
this.pos === n && (j || H(r), this.compress(r, 0, !1), j || H(r), this.pos = 0);
|
|
637
637
|
const c = Math.min(n - this.pos, o - a), p = i + a;
|
|
638
638
|
if (c === n && !(p % 4) && a + c < o) {
|
|
639
|
-
const
|
|
640
|
-
j || H(
|
|
641
|
-
for (let
|
|
642
|
-
this.length += n, this.compress(
|
|
643
|
-
j || H(
|
|
639
|
+
const l = new Uint32Array(f, p, Math.floor((o - a) / 4));
|
|
640
|
+
j || H(l);
|
|
641
|
+
for (let u = 0; a + n < o; u += r.length, a += n)
|
|
642
|
+
this.length += n, this.compress(l, u, !1);
|
|
643
|
+
j || H(l);
|
|
644
644
|
continue;
|
|
645
645
|
}
|
|
646
646
|
s.set(e.subarray(a, a + c), this.pos), this.pos += c, this.length += c, a += c;
|
|
@@ -681,11 +681,11 @@ function oe(t, e, n, s, r) {
|
|
|
681
681
|
function ie(t, e, n, s, r) {
|
|
682
682
|
return t = t + e + r | 0, s = qe(s ^ t, 8), n = n + s | 0, e = qe(e ^ n, 7), { a: t, b: e, c: n, d: s };
|
|
683
683
|
}
|
|
684
|
-
function St(t, e, n, s, r, o, i, f, a, c, p,
|
|
684
|
+
function St(t, e, n, s, r, o, i, f, a, c, p, l, u, k, S, B, I, y, g, x) {
|
|
685
685
|
let b = 0;
|
|
686
|
-
for (let
|
|
687
|
-
({ a: r, b: a, c:
|
|
688
|
-
return { v0: r, v1: o, v2: i, v3: f, v4: a, v5: c, v6: p, v7:
|
|
686
|
+
for (let O = 0; O < s; O++)
|
|
687
|
+
({ a: r, b: a, c: u, d: I } = oe(r, a, u, I, n[e + t[b++]])), { a: r, b: a, c: u, d: I } = ie(r, a, u, I, n[e + t[b++]]), { a: o, b: c, c: k, d: y } = oe(o, c, k, y, n[e + t[b++]]), { a: o, b: c, c: k, d: y } = ie(o, c, k, y, n[e + t[b++]]), { a: i, b: p, c: S, d: g } = oe(i, p, S, g, n[e + t[b++]]), { a: i, b: p, c: S, d: g } = ie(i, p, S, g, n[e + t[b++]]), { a: f, b: l, c: B, d: x } = oe(f, l, B, x, n[e + t[b++]]), { a: f, b: l, c: B, d: x } = ie(f, l, B, x, n[e + t[b++]]), { a: r, b: c, c: S, d: x } = oe(r, c, S, x, n[e + t[b++]]), { a: r, b: c, c: S, d: x } = ie(r, c, S, x, n[e + t[b++]]), { a: o, b: p, c: B, d: I } = oe(o, p, B, I, n[e + t[b++]]), { a: o, b: p, c: B, d: I } = ie(o, p, B, I, n[e + t[b++]]), { a: i, b: l, c: u, d: y } = oe(i, l, u, y, n[e + t[b++]]), { a: i, b: l, c: u, d: y } = ie(i, l, u, y, n[e + t[b++]]), { a: f, b: a, c: k, d: g } = oe(f, a, k, g, n[e + t[b++]]), { a: f, b: a, c: k, d: g } = ie(f, a, k, g, n[e + t[b++]]);
|
|
688
|
+
return { v0: r, v1: o, v2: i, v3: f, v4: a, v5: c, v6: p, v7: l, v8: u, v9: k, v10: S, v11: B, v12: I, v13: y, v14: g, v15: x };
|
|
689
689
|
}
|
|
690
690
|
const Ot = /* @__PURE__ */ (() => {
|
|
691
691
|
const t = Array.from({ length: 16 }, (s, r) => r), e = (s) => [2, 6, 3, 10, 7, 0, 4, 13, 1, 11, 12, 5, 9, 14, 15, 8].map((r) => s[r]), n = [];
|
|
@@ -720,8 +720,8 @@ class ht extends os {
|
|
|
720
720
|
set() {
|
|
721
721
|
}
|
|
722
722
|
b2Compress(e, n, s, r = 0) {
|
|
723
|
-
const { state: o, pos: i } = this, { h: f, l: a } = Tt(BigInt(e), !0), { v0: c, v1: p, v2:
|
|
724
|
-
o[0] = c ^ y, o[1] = p ^
|
|
723
|
+
const { state: o, pos: i } = this, { h: f, l: a } = Tt(BigInt(e), !0), { v0: c, v1: p, v2: l, v3: u, v4: k, v5: S, v6: B, v7: I, v8: y, v9: g, v10: x, v11: b, v12: O, v13: h, v14: _, v15: w } = St(Ot, r, s, 7, o[0], o[1], o[2], o[3], o[4], o[5], o[6], o[7], te[0], te[1], te[2], te[3], f, a, i, n);
|
|
724
|
+
o[0] = c ^ y, o[1] = p ^ g, o[2] = l ^ x, o[3] = u ^ b, o[4] = k ^ O, o[5] = S ^ h, o[6] = B ^ _, o[7] = I ^ w;
|
|
725
725
|
}
|
|
726
726
|
compress(e, n = 0, s = !1) {
|
|
727
727
|
let r = this.flags;
|
|
@@ -748,8 +748,8 @@ class ht extends os {
|
|
|
748
748
|
b2CompressOut() {
|
|
749
749
|
const { state: e, pos: n, flags: s, buffer32: r, bufferOut32: o } = this, { h: i, l: f } = Tt(BigInt(this.chunkOut++));
|
|
750
750
|
j || H(r);
|
|
751
|
-
const { v0: a, v1: c, v2: p, v3:
|
|
752
|
-
o[0] = a ^
|
|
751
|
+
const { v0: a, v1: c, v2: p, v3: l, v4: u, v5: k, v6: S, v7: B, v8: I, v9: y, v10: g, v11: x, v12: b, v13: O, v14: h, v15: _ } = St(Ot, 0, r, 7, e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], te[0], te[1], te[2], te[3], f, i, n, s);
|
|
752
|
+
o[0] = a ^ I, o[1] = c ^ y, o[2] = p ^ g, o[3] = l ^ x, o[4] = u ^ b, o[5] = k ^ O, o[6] = S ^ h, o[7] = B ^ _, o[8] = e[0] ^ I, o[9] = e[1] ^ y, o[10] = e[2] ^ g, o[11] = e[3] ^ x, o[12] = e[4] ^ b, o[13] = e[5] ^ O, o[14] = e[6] ^ h, o[15] = e[7] ^ _, j || (H(r), H(o)), this.posOut = 0;
|
|
753
753
|
}
|
|
754
754
|
finish() {
|
|
755
755
|
if (this.finished)
|
|
@@ -884,32 +884,32 @@ var Z = /* @__PURE__ */ ((t) => (t.PAGE_LOADING = "PAGE_LOADING", t.TAB_ACTIVE =
|
|
|
884
884
|
const ds = {
|
|
885
885
|
key: 0,
|
|
886
886
|
class: "stack-tab-loading-mask"
|
|
887
|
-
}, hs = /* @__PURE__ */
|
|
888
|
-
hs
|
|
889
|
-
], bs = /* @__PURE__ */ ee({
|
|
887
|
+
}, hs = /* @__PURE__ */ ee({
|
|
890
888
|
__name: "PageLoading",
|
|
891
889
|
props: {
|
|
892
890
|
tId: {}
|
|
893
891
|
},
|
|
894
892
|
setup(t) {
|
|
895
|
-
const e = t, n = ge(), s =
|
|
893
|
+
const e = t, n = ge(), s = D(!1);
|
|
896
894
|
return n.on(Z.PAGE_LOADING, ({ tId: r, value: o }) => {
|
|
897
895
|
r === e.tId && (s.value = o);
|
|
898
|
-
}), (r, o) => s.value ? (z(),
|
|
896
|
+
}), (r, o) => s.value ? (z(), V("div", ds, o[0] || (o[0] = [
|
|
897
|
+
Q("div", { class: "stack-tab-loading--spin turn" }, null, -1)
|
|
898
|
+
]))) : se("", !0);
|
|
899
899
|
}
|
|
900
|
-
}), M =
|
|
901
|
-
let It = !1,
|
|
900
|
+
}), M = D([]), Ge = [], N = D([]), fe = /* @__PURE__ */ new Map(), Re = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set(), de = D(!0), Et = "stacktab-active-tab", he = /* @__PURE__ */ new Map();
|
|
901
|
+
let It = !1, De = 0, Bt = !1;
|
|
902
902
|
const Ce = () => {
|
|
903
903
|
const t = ct(), e = ge(), {
|
|
904
904
|
t: n
|
|
905
905
|
} = Me(), s = () => M.value.length, r = (m) => {
|
|
906
|
-
for (const
|
|
907
|
-
const d = ne(
|
|
906
|
+
for (const E of m) {
|
|
907
|
+
const d = ne(E, {
|
|
908
908
|
id: Je(),
|
|
909
909
|
refreshable: !0,
|
|
910
910
|
closable: !0,
|
|
911
911
|
iframe: !1
|
|
912
|
-
}), L = tt(d), q = pt(d.path),
|
|
912
|
+
}), L = tt(d), q = pt(d.path), W = ne(d, {
|
|
913
913
|
closable: !0,
|
|
914
914
|
refreshable: !0,
|
|
915
915
|
iframe: !1
|
|
@@ -924,10 +924,10 @@ const Ce = () => {
|
|
|
924
924
|
ye.push(X);
|
|
925
925
|
const Y = {
|
|
926
926
|
id: d.id,
|
|
927
|
-
title:
|
|
928
|
-
closable:
|
|
929
|
-
refreshable:
|
|
930
|
-
iframe:
|
|
927
|
+
title: W.title,
|
|
928
|
+
closable: W.closable,
|
|
929
|
+
refreshable: W.refreshable,
|
|
930
|
+
iframe: W.iframe,
|
|
931
931
|
active: !1,
|
|
932
932
|
pages: ye
|
|
933
933
|
};
|
|
@@ -937,14 +937,14 @@ const Ce = () => {
|
|
|
937
937
|
}
|
|
938
938
|
const v = window.sessionStorage.getItem(Et);
|
|
939
939
|
if (v != null) {
|
|
940
|
-
const
|
|
940
|
+
const E = JSON.parse(v, (L, q) => L === "pages" ? new je(q) : q);
|
|
941
941
|
let d = !1;
|
|
942
942
|
for (const L of M.value)
|
|
943
|
-
if (L.id ===
|
|
943
|
+
if (L.id === E.id) {
|
|
944
944
|
d = !0;
|
|
945
945
|
break;
|
|
946
946
|
}
|
|
947
|
-
d || M.value.push(
|
|
947
|
+
d || M.value.push(E);
|
|
948
948
|
}
|
|
949
949
|
It = !0;
|
|
950
950
|
}, o = (m) => {
|
|
@@ -952,7 +952,7 @@ const Ce = () => {
|
|
|
952
952
|
if (v.id === m)
|
|
953
953
|
return !0;
|
|
954
954
|
return !1;
|
|
955
|
-
}, i = () =>
|
|
955
|
+
}, i = () => De <= 0 || De > 0 && De > M.value.length, f = (m) => new Promise((v) => {
|
|
956
956
|
M.value.push(m), v(!0);
|
|
957
957
|
}), a = (m) => {
|
|
958
958
|
for (const v of M.value)
|
|
@@ -960,7 +960,7 @@ const Ce = () => {
|
|
|
960
960
|
return v;
|
|
961
961
|
return null;
|
|
962
962
|
}, c = (m, v) => {
|
|
963
|
-
let
|
|
963
|
+
let E, d;
|
|
964
964
|
if (m.query.__tab ? d = as(m.query.__tab) : (d = {
|
|
965
965
|
id: Je(),
|
|
966
966
|
title: n("VueStackTab.undefined"),
|
|
@@ -969,12 +969,12 @@ const Ce = () => {
|
|
|
969
969
|
iframe: !1
|
|
970
970
|
}, m.query.__tab = tt(d)), F.has(d.id) || !v)
|
|
971
971
|
return;
|
|
972
|
-
const L = m.matched[m.matched.length - 1].path, q = m.path.endsWith("/") ? m.path.substring(0, m.path.length - 1) : m.path,
|
|
972
|
+
const L = m.matched[m.matched.length - 1].path, q = m.path.endsWith("/") ? m.path.substring(0, m.path.length - 1) : m.path, W = At(d.id, L === q ? q : m.path, m.query.valueOf()), Le = m.query.__src;
|
|
973
973
|
let X = null;
|
|
974
974
|
for (const Y of T(M))
|
|
975
975
|
Y.active = !1, Y.id === d.id && (X = Y);
|
|
976
976
|
const ye = {
|
|
977
|
-
id:
|
|
977
|
+
id: W,
|
|
978
978
|
tabId: d.id,
|
|
979
979
|
path: m.path,
|
|
980
980
|
query: m.query
|
|
@@ -998,8 +998,8 @@ const Ce = () => {
|
|
|
998
998
|
});
|
|
999
999
|
} else
|
|
1000
1000
|
X.active = !0, (X.pages.isEmpty() || X.pages.peek().id !== ye.id) && X.pages.push(ye);
|
|
1001
|
-
return U(X), fe.has(
|
|
1002
|
-
name:
|
|
1001
|
+
return U(X), fe.has(W) ? E = fe.get(W) : (E = /* @__PURE__ */ ee({
|
|
1002
|
+
name: W,
|
|
1003
1003
|
components: {
|
|
1004
1004
|
DynamicComponent: v
|
|
1005
1005
|
},
|
|
@@ -1008,82 +1008,82 @@ const Ce = () => {
|
|
|
1008
1008
|
},
|
|
1009
1009
|
setup(Y, mt) {
|
|
1010
1010
|
return Fe(() => {
|
|
1011
|
-
mt.emit("onLoaded"), k(
|
|
1011
|
+
mt.emit("onLoaded"), k(W, ".cache-page-wrapper");
|
|
1012
1012
|
}), vn(() => {
|
|
1013
|
-
|
|
1013
|
+
l(W);
|
|
1014
1014
|
}), mn(() => {
|
|
1015
|
-
mt.emit("onLoaded"), p(
|
|
1015
|
+
mt.emit("onLoaded"), p(W), P(), F.clear(), v.props = null;
|
|
1016
1016
|
}), He(() => {
|
|
1017
|
-
|
|
1018
|
-
}), () =>
|
|
1017
|
+
u(W);
|
|
1018
|
+
}), () => $("div", {
|
|
1019
1019
|
class: "cache-page-wrapper",
|
|
1020
1020
|
id: "W-" + d.id,
|
|
1021
1021
|
style: [Bt ? "overflow:auto" : "overflow:hidden"]
|
|
1022
|
-
}, [
|
|
1022
|
+
}, [$(Ft("dynamic-component"), {
|
|
1023
1023
|
tId: d.id,
|
|
1024
|
-
pId:
|
|
1025
|
-
}, null),
|
|
1024
|
+
pId: W
|
|
1025
|
+
}, null), $(hs, {
|
|
1026
1026
|
tId: d.id
|
|
1027
1027
|
}, null)]);
|
|
1028
1028
|
}
|
|
1029
|
-
}), fe.set(
|
|
1029
|
+
}), fe.set(W, E)), A(W), E;
|
|
1030
1030
|
}, p = (m) => {
|
|
1031
1031
|
const v = he.get(m);
|
|
1032
1032
|
if (v) {
|
|
1033
|
-
for (const
|
|
1034
|
-
if (document.querySelector(
|
|
1035
|
-
const d = v.get(
|
|
1036
|
-
document.querySelector(
|
|
1033
|
+
for (const E of v.keys())
|
|
1034
|
+
if (document.querySelector(E)) {
|
|
1035
|
+
const d = v.get(E);
|
|
1036
|
+
document.querySelector(E).scrollTop = d.top, document.querySelector(E).scrollLeft = d.left;
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
|
-
},
|
|
1040
|
-
var
|
|
1039
|
+
}, l = (m) => {
|
|
1040
|
+
var E, d;
|
|
1041
1041
|
const v = he.get(m);
|
|
1042
1042
|
if (v)
|
|
1043
1043
|
for (const L of v.keys()) {
|
|
1044
1044
|
const q = {
|
|
1045
|
-
top: ((
|
|
1045
|
+
top: ((E = document.querySelector(L)) == null ? void 0 : E.scrollTop) ?? 0,
|
|
1046
1046
|
left: ((d = document.querySelector(L)) == null ? void 0 : d.scrollLeft) ?? 0
|
|
1047
1047
|
};
|
|
1048
1048
|
v.set(L, q);
|
|
1049
1049
|
}
|
|
1050
|
-
},
|
|
1050
|
+
}, u = (m) => {
|
|
1051
1051
|
const v = he.get(m);
|
|
1052
1052
|
v && (v.clear(), he.delete(m));
|
|
1053
1053
|
}, k = (m, ...v) => {
|
|
1054
1054
|
he.has(m) || he.set(m, /* @__PURE__ */ new Map());
|
|
1055
|
-
const
|
|
1055
|
+
const E = he.get(m);
|
|
1056
1056
|
for (const d of v)
|
|
1057
|
-
|
|
1057
|
+
E.set(d, {
|
|
1058
1058
|
top: 0,
|
|
1059
1059
|
left: 0
|
|
1060
1060
|
});
|
|
1061
1061
|
}, S = (m) => {
|
|
1062
1062
|
const v = a(m.id);
|
|
1063
|
-
for (const
|
|
1064
|
-
|
|
1063
|
+
for (const E of v.pages.list())
|
|
1064
|
+
w(E.id), R(E.id);
|
|
1065
1065
|
P(), v.pages.clear();
|
|
1066
1066
|
}, B = (m) => {
|
|
1067
1067
|
let v = "";
|
|
1068
|
-
const
|
|
1068
|
+
const E = a(m);
|
|
1069
1069
|
for (let d = M.value.length - 1; d >= 0; d--)
|
|
1070
1070
|
if (m === T(M)[d].id) {
|
|
1071
1071
|
if (!T(M)[d].closable)
|
|
1072
1072
|
return m;
|
|
1073
1073
|
for (const L of T(M)[d].pages.list())
|
|
1074
|
-
|
|
1074
|
+
w(L.id), R(L.id), F.add(T(M)[d].id);
|
|
1075
1075
|
T(M)[d].pages.clear(), M.value.length > 1 && T(M)[d].active && (d === 0 ? v = T(M)[d + 1].id : v = T(M)[d - 1].id), T(M).splice(d, 1);
|
|
1076
1076
|
break;
|
|
1077
1077
|
}
|
|
1078
1078
|
return v !== "" && e.emit(Z.TAB_ACTIVE, {
|
|
1079
1079
|
id: v
|
|
1080
|
-
}),
|
|
1081
|
-
},
|
|
1080
|
+
}), E != null && E.active || (P(), F.clear()), v;
|
|
1081
|
+
}, I = () => {
|
|
1082
1082
|
const m = T(M);
|
|
1083
1083
|
for (let v = m.length - 1; v >= 0; v--)
|
|
1084
1084
|
if (m[v].closable) {
|
|
1085
|
-
for (const
|
|
1086
|
-
|
|
1085
|
+
for (const E of m[v].pages.list())
|
|
1086
|
+
w(E.id), R(E.id), F.add(m[v].id);
|
|
1087
1087
|
T(M)[v].pages.clear(), T(M).splice(v, 1);
|
|
1088
1088
|
}
|
|
1089
1089
|
for (const v of m)
|
|
@@ -1096,52 +1096,52 @@ const Ce = () => {
|
|
|
1096
1096
|
});
|
|
1097
1097
|
}, y = (m) => {
|
|
1098
1098
|
const v = T(M);
|
|
1099
|
-
let
|
|
1099
|
+
let E;
|
|
1100
1100
|
for (let d = v.length - 1; d >= 0; d--)
|
|
1101
1101
|
if (v[d].id === m)
|
|
1102
|
-
|
|
1102
|
+
E = v[d];
|
|
1103
1103
|
else if (v[d].closable && v[d].id !== m) {
|
|
1104
1104
|
for (const L of v[d].pages.list())
|
|
1105
|
-
|
|
1105
|
+
w(L.id), R(L.id), F.add(v[d].id);
|
|
1106
1106
|
T(M)[d].pages.clear(), T(M).splice(d, 1);
|
|
1107
1107
|
}
|
|
1108
|
-
|
|
1108
|
+
E.active ? (P(), F.clear()) : e.emit(Z.TAB_ACTIVE, {
|
|
1109
1109
|
id: m
|
|
1110
1110
|
});
|
|
1111
|
-
},
|
|
1111
|
+
}, g = (m) => {
|
|
1112
1112
|
let v = -1;
|
|
1113
|
-
const
|
|
1114
|
-
for (let d = 0; d <
|
|
1115
|
-
if (
|
|
1113
|
+
const E = T(M);
|
|
1114
|
+
for (let d = 0; d < E.length; d++)
|
|
1115
|
+
if (E[d].id === m) {
|
|
1116
1116
|
v = d - 1;
|
|
1117
1117
|
break;
|
|
1118
1118
|
}
|
|
1119
1119
|
for (let d = v; d >= 0; d--)
|
|
1120
|
-
if (
|
|
1121
|
-
for (const L of
|
|
1122
|
-
|
|
1120
|
+
if (E[d].closable) {
|
|
1121
|
+
for (const L of E[d].pages.list())
|
|
1122
|
+
w(L.id), R(L.id), F.add(E[d].id);
|
|
1123
1123
|
T(M)[d].pages.clear(), T(M).splice(d, 1);
|
|
1124
1124
|
}
|
|
1125
|
-
for (const d of
|
|
1125
|
+
for (const d of E)
|
|
1126
1126
|
if (d.active) {
|
|
1127
1127
|
P(), F.clear();
|
|
1128
1128
|
return;
|
|
1129
1129
|
}
|
|
1130
1130
|
e.emit(Z.TAB_ACTIVE, {
|
|
1131
|
-
id:
|
|
1131
|
+
id: E[0].id
|
|
1132
1132
|
});
|
|
1133
1133
|
}, x = (m) => {
|
|
1134
1134
|
const v = T(M);
|
|
1135
|
-
let
|
|
1135
|
+
let E = v.length;
|
|
1136
1136
|
for (let d = 0; d < v.length; d++)
|
|
1137
1137
|
if (v[d].id === m) {
|
|
1138
|
-
|
|
1138
|
+
E = d + 1;
|
|
1139
1139
|
break;
|
|
1140
1140
|
}
|
|
1141
|
-
for (let d = v.length - 1; d >=
|
|
1141
|
+
for (let d = v.length - 1; d >= E; d--)
|
|
1142
1142
|
if (v[d].closable) {
|
|
1143
1143
|
for (const L of v[d].pages.list())
|
|
1144
|
-
|
|
1144
|
+
w(L.id), R(L.id), F.add(v[d].id);
|
|
1145
1145
|
T(M)[d].pages.clear(), T(M).splice(d, 1);
|
|
1146
1146
|
}
|
|
1147
1147
|
for (const d of v)
|
|
@@ -1154,26 +1154,26 @@ const Ce = () => {
|
|
|
1154
1154
|
});
|
|
1155
1155
|
}, b = (m) => {
|
|
1156
1156
|
var v;
|
|
1157
|
-
for (const
|
|
1158
|
-
if (
|
|
1159
|
-
const d = (v =
|
|
1157
|
+
for (const E of T(M))
|
|
1158
|
+
if (E.id === m) {
|
|
1159
|
+
const d = (v = E.pages.peek()) == null ? void 0 : v.id;
|
|
1160
1160
|
for (let L = N.value.length - 1; L >= 0; L--)
|
|
1161
1161
|
if (N.value[L] === d) {
|
|
1162
|
-
N.value.splice(L, 1),
|
|
1162
|
+
N.value.splice(L, 1), E.active && (de.value = !1, ce(() => {
|
|
1163
1163
|
de.value = !0;
|
|
1164
1164
|
}));
|
|
1165
1165
|
break;
|
|
1166
1166
|
}
|
|
1167
1167
|
break;
|
|
1168
1168
|
}
|
|
1169
|
-
},
|
|
1169
|
+
}, O = () => {
|
|
1170
1170
|
const m = /* @__PURE__ */ new Set();
|
|
1171
1171
|
M.value.forEach((v) => {
|
|
1172
1172
|
m.add(v.pages.peek().id);
|
|
1173
1173
|
});
|
|
1174
1174
|
for (let v = N.value.length - 1; v >= 0; v--) {
|
|
1175
|
-
const
|
|
1176
|
-
m.has(
|
|
1175
|
+
const E = N.value[v];
|
|
1176
|
+
m.has(E) && N.value.splice(v, 1);
|
|
1177
1177
|
}
|
|
1178
1178
|
ce(() => {
|
|
1179
1179
|
de.value = !1, ce(() => {
|
|
@@ -1184,7 +1184,7 @@ const Ce = () => {
|
|
|
1184
1184
|
});
|
|
1185
1185
|
}, h = (m, v) => {
|
|
1186
1186
|
fe.set(m, v);
|
|
1187
|
-
}, _ = (m) => fe.get(m),
|
|
1187
|
+
}, _ = (m) => fe.get(m), w = (m) => {
|
|
1188
1188
|
fe.delete(m);
|
|
1189
1189
|
}, R = (m) => {
|
|
1190
1190
|
Re.add(m);
|
|
@@ -1195,12 +1195,12 @@ const Ce = () => {
|
|
|
1195
1195
|
}, G = (m) => {
|
|
1196
1196
|
for (let v = N.value.length - 1; v >= 0; v--)
|
|
1197
1197
|
m === N.value[v] && T(N).splice(v, 1);
|
|
1198
|
-
},
|
|
1198
|
+
}, A = (m) => {
|
|
1199
1199
|
new Set(N.value).has(m) || N.value.push(m);
|
|
1200
1200
|
}, C = (m, v = !0) => {
|
|
1201
1201
|
e.emit("FORWARD");
|
|
1202
|
-
for (let
|
|
1203
|
-
const d = M.value[
|
|
1202
|
+
for (let E = M.value.length - 1; E >= 0; E--) {
|
|
1203
|
+
const d = M.value[E];
|
|
1204
1204
|
if (d.id === m) {
|
|
1205
1205
|
if (d.active)
|
|
1206
1206
|
break;
|
|
@@ -1212,7 +1212,7 @@ const Ce = () => {
|
|
|
1212
1212
|
});
|
|
1213
1213
|
}
|
|
1214
1214
|
} else
|
|
1215
|
-
M.value[
|
|
1215
|
+
M.value[E].active = !1;
|
|
1216
1216
|
}
|
|
1217
1217
|
}, U = (m) => {
|
|
1218
1218
|
window.sessionStorage.setItem(Et, JSON.stringify(m));
|
|
@@ -1233,7 +1233,7 @@ const Ce = () => {
|
|
|
1233
1233
|
pageShown: de,
|
|
1234
1234
|
initialed: It,
|
|
1235
1235
|
setMaxSize: (m) => {
|
|
1236
|
-
|
|
1236
|
+
De = m;
|
|
1237
1237
|
},
|
|
1238
1238
|
canAddTab: i,
|
|
1239
1239
|
initial: r,
|
|
@@ -1241,13 +1241,13 @@ const Ce = () => {
|
|
|
1241
1241
|
active: C,
|
|
1242
1242
|
destroy: Te,
|
|
1243
1243
|
reset: re,
|
|
1244
|
-
addCache:
|
|
1244
|
+
addCache: A,
|
|
1245
1245
|
removeCache: G,
|
|
1246
1246
|
getTab: a,
|
|
1247
1247
|
addTab: f,
|
|
1248
1248
|
removeTab: B,
|
|
1249
|
-
removeAllTabs:
|
|
1250
|
-
removeLeftTabs:
|
|
1249
|
+
removeAllTabs: I,
|
|
1250
|
+
removeLeftTabs: g,
|
|
1251
1251
|
removeRightTabs: x,
|
|
1252
1252
|
removeOtherTabs: y,
|
|
1253
1253
|
hasTab: o,
|
|
@@ -1255,38 +1255,38 @@ const Ce = () => {
|
|
|
1255
1255
|
addPage: c,
|
|
1256
1256
|
addComponent: h,
|
|
1257
1257
|
getComponent: _,
|
|
1258
|
-
removeComponent:
|
|
1258
|
+
removeComponent: w,
|
|
1259
1259
|
markDeletableCache: R,
|
|
1260
1260
|
removeDeletableCache: P,
|
|
1261
1261
|
refreshTab: b,
|
|
1262
|
-
refreshAllTabs:
|
|
1262
|
+
refreshAllTabs: O,
|
|
1263
1263
|
addPageScroller: k,
|
|
1264
1264
|
setGlobalScroll: (m) => {
|
|
1265
1265
|
Bt = m;
|
|
1266
1266
|
}
|
|
1267
1267
|
};
|
|
1268
|
-
},
|
|
1268
|
+
}, ps = { class: "stack-tab__contextmenu-item" }, ae = /* @__PURE__ */ ee({
|
|
1269
1269
|
__name: "ContextMenuItem",
|
|
1270
1270
|
props: {
|
|
1271
1271
|
icon: {},
|
|
1272
1272
|
title: {}
|
|
1273
1273
|
},
|
|
1274
1274
|
setup(t) {
|
|
1275
|
-
return (e, n) => (z(),
|
|
1275
|
+
return (e, n) => (z(), V("div", ps, [
|
|
1276
1276
|
Q("div", {
|
|
1277
1277
|
class: ue(["stack-tab__contextmenu-icon", e.icon])
|
|
1278
1278
|
}, null, 2),
|
|
1279
1279
|
Q("div", {
|
|
1280
1280
|
style: { "margin-left": "8px" },
|
|
1281
|
-
onContextmenu: n[0] || (n[0] =
|
|
1281
|
+
onContextmenu: n[0] || (n[0] = _e(() => {
|
|
1282
1282
|
}, ["prevent"]))
|
|
1283
1283
|
}, Ht(e.title), 33)
|
|
1284
1284
|
]));
|
|
1285
1285
|
}
|
|
1286
|
-
}),
|
|
1286
|
+
}), bs = {
|
|
1287
1287
|
key: 0,
|
|
1288
1288
|
class: "divider div-transparent"
|
|
1289
|
-
},
|
|
1289
|
+
}, vs = /* @__PURE__ */ ee({
|
|
1290
1290
|
__name: "index",
|
|
1291
1291
|
props: {
|
|
1292
1292
|
index: {},
|
|
@@ -1297,7 +1297,7 @@ const Ce = () => {
|
|
|
1297
1297
|
max: {}
|
|
1298
1298
|
},
|
|
1299
1299
|
setup(t) {
|
|
1300
|
-
const e = t, { t: n } = Me(), s =
|
|
1300
|
+
const e = t, { t: n } = Me(), s = D(), r = Ie({
|
|
1301
1301
|
left: e.left,
|
|
1302
1302
|
top: e.top
|
|
1303
1303
|
}), {
|
|
@@ -1307,12 +1307,12 @@ const Ce = () => {
|
|
|
1307
1307
|
removeRightTabs: a,
|
|
1308
1308
|
refreshTab: c,
|
|
1309
1309
|
refreshAllTabs: p,
|
|
1310
|
-
removeOtherTabs:
|
|
1310
|
+
removeOtherTabs: l
|
|
1311
1311
|
} = Ce();
|
|
1312
1312
|
return Fe(() => {
|
|
1313
|
-
const
|
|
1314
|
-
r.left +
|
|
1315
|
-
}), (
|
|
1313
|
+
const u = s.value ? s.value.clientWidth : 0, k = window.innerWidth;
|
|
1314
|
+
r.left + u > k && (r.left = k - u - 5);
|
|
1315
|
+
}), (u, k) => (z(), V("div", {
|
|
1316
1316
|
ref_key: "contextmenu",
|
|
1317
1317
|
ref: s,
|
|
1318
1318
|
class: "stack-tab__contextmenu",
|
|
@@ -1322,67 +1322,67 @@ const Ce = () => {
|
|
|
1322
1322
|
"z-index": T(en)(".stack-tab,.stack-tab *")
|
|
1323
1323
|
})
|
|
1324
1324
|
}, [
|
|
1325
|
-
|
|
1325
|
+
$(ae, {
|
|
1326
1326
|
icon: "stack-tab__icon-reload svg-mask",
|
|
1327
1327
|
title: T(n)("VueStackTab.reload"),
|
|
1328
|
-
onClick: k[0] || (k[0] = (S) => T(c)(
|
|
1328
|
+
onClick: k[0] || (k[0] = (S) => T(c)(u.tabItem.id))
|
|
1329
1329
|
}, null, 8, ["title"]),
|
|
1330
|
-
|
|
1330
|
+
$(ae, {
|
|
1331
1331
|
icon: "stack-tab__icon-reload-all svg-mask",
|
|
1332
1332
|
title: T(n)("VueStackTab.reloadAll"),
|
|
1333
1333
|
onClick: T(p)
|
|
1334
1334
|
}, null, 8, ["title", "onClick"]),
|
|
1335
|
-
|
|
1335
|
+
$(ae, {
|
|
1336
1336
|
icon: "stack-tab__icon-close svg-mask",
|
|
1337
1337
|
title: T(n)("VueStackTab.close"),
|
|
1338
|
-
disabled:
|
|
1339
|
-
onClick: k[1] || (k[1] = (S) => T(o)(
|
|
1338
|
+
disabled: u.tabItem.closable ? null : "disabled",
|
|
1339
|
+
onClick: k[1] || (k[1] = (S) => T(o)(u.tabItem.id))
|
|
1340
1340
|
}, null, 8, ["title", "disabled"]),
|
|
1341
|
-
|
|
1341
|
+
$(ae, {
|
|
1342
1342
|
icon: "stack-tab__icon-close-lefts svg-mask",
|
|
1343
1343
|
title: T(n)("VueStackTab.closeLeft"),
|
|
1344
|
-
disabled:
|
|
1345
|
-
onClick: k[2] || (k[2] = (S) => T(f)(
|
|
1344
|
+
disabled: u.index <= 0 ? "disabled" : null,
|
|
1345
|
+
onClick: k[2] || (k[2] = (S) => T(f)(u.tabItem.id))
|
|
1346
1346
|
}, null, 8, ["title", "disabled"]),
|
|
1347
|
-
|
|
1347
|
+
$(ae, {
|
|
1348
1348
|
icon: "stack-tab__icon-close-rights svg-mask",
|
|
1349
1349
|
title: T(n)("VueStackTab.closeRight"),
|
|
1350
|
-
disabled:
|
|
1351
|
-
onClick: k[3] || (k[3] = (S) => T(a)(
|
|
1350
|
+
disabled: u.index >= u.max - 1 ? "disabled" : null,
|
|
1351
|
+
onClick: k[3] || (k[3] = (S) => T(a)(u.tabItem.id))
|
|
1352
1352
|
}, null, 8, ["title", "disabled"]),
|
|
1353
|
-
|
|
1353
|
+
$(ae, {
|
|
1354
1354
|
icon: "stack-tab__icon-close-others svg-mask",
|
|
1355
1355
|
title: T(n)("VueStackTab.closeOthers"),
|
|
1356
|
-
onClick: k[4] || (k[4] = (S) => T(
|
|
1356
|
+
onClick: k[4] || (k[4] = (S) => T(l)(u.tabItem.id))
|
|
1357
1357
|
}, null, 8, ["title"]),
|
|
1358
|
-
|
|
1358
|
+
$(ae, {
|
|
1359
1359
|
icon: "stack-tab__icon-close-all svg-mask",
|
|
1360
1360
|
title: T(n)("VueStackTab.closeAll"),
|
|
1361
1361
|
onClick: T(i)
|
|
1362
1362
|
}, null, 8, ["title", "onClick"]),
|
|
1363
|
-
|
|
1364
|
-
(z(!0),
|
|
1363
|
+
u.contextMenu !== void 0 && u.contextMenu.length > 0 ? (z(), V("div", bs)) : se("", !0),
|
|
1364
|
+
(z(!0), V(Ze, null, at(u.contextMenu, (S, B) => (z(), me(ae, {
|
|
1365
1365
|
key: B,
|
|
1366
1366
|
icon: S.icon,
|
|
1367
1367
|
title: S.title,
|
|
1368
|
-
disabled: S.disabled(
|
|
1369
|
-
onClick: (
|
|
1368
|
+
disabled: S.disabled(u.tabItem) ? "disabled" : null,
|
|
1369
|
+
onClick: (I) => !S.disabled && S.callback(u.tabItem.id)
|
|
1370
1370
|
}, null, 8, ["icon", "title", "disabled", "onClick"]))), 128))
|
|
1371
1371
|
], 4));
|
|
1372
1372
|
}
|
|
1373
|
-
}),
|
|
1373
|
+
}), ms = (t, e) => {
|
|
1374
1374
|
const n = t.__vccOpts || t;
|
|
1375
1375
|
for (const [s, r] of e)
|
|
1376
1376
|
n[s] = r;
|
|
1377
1377
|
return n;
|
|
1378
|
-
},
|
|
1378
|
+
}, gs = /* @__PURE__ */ ms(vs, [["__scopeId", "data-v-d598be6e"]]), ys = () => {
|
|
1379
1379
|
const t = Ie({
|
|
1380
1380
|
item: {},
|
|
1381
1381
|
index: -1,
|
|
1382
1382
|
left: 0,
|
|
1383
1383
|
top: 0,
|
|
1384
1384
|
max: 0
|
|
1385
|
-
}), e =
|
|
1385
|
+
}), e = D(!1);
|
|
1386
1386
|
Fe(() => {
|
|
1387
1387
|
document.addEventListener("click", s);
|
|
1388
1388
|
}), He(() => {
|
|
@@ -1401,55 +1401,55 @@ const Ce = () => {
|
|
|
1401
1401
|
contextMenuData: t,
|
|
1402
1402
|
showContextMenu: n
|
|
1403
1403
|
};
|
|
1404
|
-
},
|
|
1404
|
+
}, ws = { class: "stack-tab__item-title" }, ks = ["title"], _s = ["title"], xs = /* @__PURE__ */ ee({
|
|
1405
1405
|
__name: "TabHeaderItem",
|
|
1406
1406
|
props: {
|
|
1407
1407
|
item: {}
|
|
1408
1408
|
},
|
|
1409
1409
|
emits: ["close", "active"],
|
|
1410
1410
|
setup(t, { emit: e }) {
|
|
1411
|
-
const n = e, s = ge(), { t: r } = Me(), o =
|
|
1412
|
-
s.on(Z.TAB_ACTIVE, ({ id: p, isRoute:
|
|
1413
|
-
i.item.id === p && c(
|
|
1411
|
+
const n = e, s = ge(), { t: r } = Me(), o = D(), i = t;
|
|
1412
|
+
s.on(Z.TAB_ACTIVE, ({ id: p, isRoute: l }) => {
|
|
1413
|
+
i.item.id === p && c(l);
|
|
1414
1414
|
});
|
|
1415
1415
|
const f = we(() => i.item.title || r("undefined")), a = () => {
|
|
1416
1416
|
n("close", i.item);
|
|
1417
1417
|
}, c = (p = !0) => {
|
|
1418
1418
|
n("active", i.item, o, p);
|
|
1419
1419
|
};
|
|
1420
|
-
return (p,
|
|
1420
|
+
return (p, l) => (z(), V("li", {
|
|
1421
1421
|
ref_key: "curtab",
|
|
1422
1422
|
ref: o,
|
|
1423
1423
|
class: ue(["stack-tab__item", {
|
|
1424
1424
|
"is-active": p.item.active,
|
|
1425
1425
|
"is-icon": p.item.closable
|
|
1426
1426
|
}]),
|
|
1427
|
-
onClick:
|
|
1427
|
+
onClick: l[0] || (l[0] = (u) => c(!0))
|
|
1428
1428
|
}, [
|
|
1429
|
-
Q("div",
|
|
1429
|
+
Q("div", ws, [
|
|
1430
1430
|
Q("div", {
|
|
1431
1431
|
class: "stack-tab__item-title-content",
|
|
1432
1432
|
title: f.value
|
|
1433
|
-
}, Ht(f.value), 9,
|
|
1433
|
+
}, Ht(f.value), 9, ks)
|
|
1434
1434
|
]),
|
|
1435
|
-
p.item.closable ? (z(),
|
|
1435
|
+
p.item.closable ? (z(), V("div", {
|
|
1436
1436
|
key: 0,
|
|
1437
1437
|
class: "stack-tab__icon-close-fill stack-tab__item-button",
|
|
1438
1438
|
title: T(r)("VueStackTab.close"),
|
|
1439
|
-
onClick:
|
|
1440
|
-
}, null, 8,
|
|
1439
|
+
onClick: _e(a, ["stop"])
|
|
1440
|
+
}, null, 8, _s)) : se("", !0)
|
|
1441
1441
|
], 2));
|
|
1442
1442
|
}
|
|
1443
1443
|
});
|
|
1444
|
-
var be = [],
|
|
1444
|
+
var be = [], Ts = function() {
|
|
1445
1445
|
return be.some(function(t) {
|
|
1446
1446
|
return t.activeTargets.length > 0;
|
|
1447
1447
|
});
|
|
1448
|
-
},
|
|
1448
|
+
}, Ss = function() {
|
|
1449
1449
|
return be.some(function(t) {
|
|
1450
1450
|
return t.skippedTargets.length > 0;
|
|
1451
1451
|
});
|
|
1452
|
-
}, Mt = "ResizeObserver loop completed with undelivered notifications.",
|
|
1452
|
+
}, Mt = "ResizeObserver loop completed with undelivered notifications.", Os = function() {
|
|
1453
1453
|
var t;
|
|
1454
1454
|
typeof ErrorEvent == "function" ? t = new ErrorEvent("error", {
|
|
1455
1455
|
message: Mt
|
|
@@ -1460,7 +1460,7 @@ var be = [], Os = function() {
|
|
|
1460
1460
|
})(Be || (Be = {}));
|
|
1461
1461
|
var ve = function(t) {
|
|
1462
1462
|
return Object.freeze(t);
|
|
1463
|
-
},
|
|
1463
|
+
}, As = /* @__PURE__ */ function() {
|
|
1464
1464
|
function t(e, n) {
|
|
1465
1465
|
this.inlineSize = e, this.blockSize = n, ve(this);
|
|
1466
1466
|
}
|
|
@@ -1490,7 +1490,7 @@ var ve = function(t) {
|
|
|
1490
1490
|
return !0;
|
|
1491
1491
|
var n = (e = t == null ? void 0 : t.ownerDocument) === null || e === void 0 ? void 0 : e.defaultView;
|
|
1492
1492
|
return !!(n && t instanceof n.Element);
|
|
1493
|
-
},
|
|
1493
|
+
}, Es = function(t) {
|
|
1494
1494
|
switch (t.tagName) {
|
|
1495
1495
|
case "INPUT":
|
|
1496
1496
|
if (t.type !== "image")
|
|
@@ -1505,27 +1505,27 @@ var ve = function(t) {
|
|
|
1505
1505
|
return !0;
|
|
1506
1506
|
}
|
|
1507
1507
|
return !1;
|
|
1508
|
-
}, Ee = typeof window < "u" ? window : {},
|
|
1508
|
+
}, Ee = typeof window < "u" ? window : {}, $e = /* @__PURE__ */ new WeakMap(), Lt = /auto|scroll/, Is = /^tb|vertical/, Bs = /msie|trident/i.test(Ee.navigator && Ee.navigator.userAgent), K = function(t) {
|
|
1509
1509
|
return parseFloat(t || "0");
|
|
1510
|
-
},
|
|
1511
|
-
return t === void 0 && (t = 0), e === void 0 && (e = 0), n === void 0 && (n = !1), new
|
|
1510
|
+
}, ke = function(t, e, n) {
|
|
1511
|
+
return t === void 0 && (t = 0), e === void 0 && (e = 0), n === void 0 && (n = !1), new As((n ? e : t) || 0, (n ? t : e) || 0);
|
|
1512
1512
|
}, zt = ve({
|
|
1513
|
-
devicePixelContentBoxSize:
|
|
1514
|
-
borderBoxSize:
|
|
1515
|
-
contentBoxSize:
|
|
1513
|
+
devicePixelContentBoxSize: ke(),
|
|
1514
|
+
borderBoxSize: ke(),
|
|
1515
|
+
contentBoxSize: ke(),
|
|
1516
1516
|
contentRect: new on(0, 0, 0, 0)
|
|
1517
1517
|
}), cn = function(t, e) {
|
|
1518
|
-
if (e === void 0 && (e = !1),
|
|
1519
|
-
return
|
|
1518
|
+
if (e === void 0 && (e = !1), $e.has(t) && !e)
|
|
1519
|
+
return $e.get(t);
|
|
1520
1520
|
if (an(t))
|
|
1521
|
-
return
|
|
1522
|
-
var n = getComputedStyle(t), s = bt(t) && t.ownerSVGElement && t.getBBox(), r = !
|
|
1523
|
-
devicePixelContentBoxSize:
|
|
1524
|
-
borderBoxSize:
|
|
1525
|
-
contentBoxSize:
|
|
1526
|
-
contentRect: new on(
|
|
1521
|
+
return $e.set(t, zt), zt;
|
|
1522
|
+
var n = getComputedStyle(t), s = bt(t) && t.ownerSVGElement && t.getBBox(), r = !Bs && n.boxSizing === "border-box", o = Is.test(n.writingMode || ""), i = !s && Lt.test(n.overflowY || ""), f = !s && Lt.test(n.overflowX || ""), a = s ? 0 : K(n.paddingTop), c = s ? 0 : K(n.paddingRight), p = s ? 0 : K(n.paddingBottom), l = s ? 0 : K(n.paddingLeft), u = s ? 0 : K(n.borderTopWidth), k = s ? 0 : K(n.borderRightWidth), S = s ? 0 : K(n.borderBottomWidth), B = s ? 0 : K(n.borderLeftWidth), I = l + c, y = a + p, g = B + k, x = u + S, b = f ? t.offsetHeight - x - t.clientHeight : 0, O = i ? t.offsetWidth - g - t.clientWidth : 0, h = r ? I + g : 0, _ = r ? y + x : 0, w = s ? s.width : K(n.width) - h - O, R = s ? s.height : K(n.height) - _ - b, P = w + I + O + g, G = R + y + b + x, A = ve({
|
|
1523
|
+
devicePixelContentBoxSize: ke(Math.round(w * devicePixelRatio), Math.round(R * devicePixelRatio), o),
|
|
1524
|
+
borderBoxSize: ke(P, G, o),
|
|
1525
|
+
contentBoxSize: ke(w, R, o),
|
|
1526
|
+
contentRect: new on(l, a, w, R)
|
|
1527
1527
|
});
|
|
1528
|
-
return
|
|
1528
|
+
return $e.set(t, A), A;
|
|
1529
1529
|
}, ln = function(t, e, n) {
|
|
1530
1530
|
var s = cn(t, n), r = s.borderBoxSize, o = s.contentBoxSize, i = s.devicePixelContentBoxSize;
|
|
1531
1531
|
switch (e) {
|
|
@@ -1536,7 +1536,7 @@ var ve = function(t) {
|
|
|
1536
1536
|
default:
|
|
1537
1537
|
return o;
|
|
1538
1538
|
}
|
|
1539
|
-
},
|
|
1539
|
+
}, Ms = /* @__PURE__ */ function() {
|
|
1540
1540
|
function t(e) {
|
|
1541
1541
|
var n = cn(e);
|
|
1542
1542
|
this.target = e, this.contentRect = n.contentRect, this.borderBoxSize = ve([n.borderBoxSize]), this.contentBoxSize = ve([n.contentBoxSize]), this.devicePixelContentBoxSize = ve([n.devicePixelContentBoxSize]);
|
|
@@ -1548,14 +1548,14 @@ var ve = function(t) {
|
|
|
1548
1548
|
for (var e = 0, n = t.parentNode; n; )
|
|
1549
1549
|
e += 1, n = n.parentNode;
|
|
1550
1550
|
return e;
|
|
1551
|
-
},
|
|
1551
|
+
}, Cs = function() {
|
|
1552
1552
|
var t = 1 / 0, e = [];
|
|
1553
1553
|
be.forEach(function(i) {
|
|
1554
1554
|
if (i.activeTargets.length !== 0) {
|
|
1555
1555
|
var f = [];
|
|
1556
1556
|
i.activeTargets.forEach(function(c) {
|
|
1557
|
-
var p = new
|
|
1558
|
-
f.push(p), c.lastReportedSize = ln(c.target, c.observedBox),
|
|
1557
|
+
var p = new Ms(c.target), l = un(c.target);
|
|
1558
|
+
f.push(p), c.lastReportedSize = ln(c.target, c.observedBox), l < t && (t = l);
|
|
1559
1559
|
}), e.push(function() {
|
|
1560
1560
|
i.callback.call(i.observer, f, i.observer);
|
|
1561
1561
|
}), i.activeTargets.splice(0, i.activeTargets.length);
|
|
@@ -1572,32 +1572,32 @@ var ve = function(t) {
|
|
|
1572
1572
|
r.isActive() && (un(r.target) > t ? n.activeTargets.push(r) : n.skippedTargets.push(r));
|
|
1573
1573
|
});
|
|
1574
1574
|
});
|
|
1575
|
-
},
|
|
1575
|
+
}, Ls = function() {
|
|
1576
1576
|
var t = 0;
|
|
1577
|
-
for (Rt(t);
|
|
1578
|
-
t =
|
|
1579
|
-
return
|
|
1580
|
-
}, Ye, fn = [],
|
|
1577
|
+
for (Rt(t); Ts(); )
|
|
1578
|
+
t = Cs(), Rt(t);
|
|
1579
|
+
return Ss() && Os(), t > 0;
|
|
1580
|
+
}, Ye, fn = [], zs = function() {
|
|
1581
1581
|
return fn.splice(0).forEach(function(t) {
|
|
1582
1582
|
return t();
|
|
1583
1583
|
});
|
|
1584
|
-
},
|
|
1584
|
+
}, Rs = function(t) {
|
|
1585
1585
|
if (!Ye) {
|
|
1586
1586
|
var e = 0, n = document.createTextNode(""), s = { characterData: !0 };
|
|
1587
1587
|
new MutationObserver(function() {
|
|
1588
|
-
return
|
|
1588
|
+
return zs();
|
|
1589
1589
|
}).observe(n, s), Ye = function() {
|
|
1590
1590
|
n.textContent = "".concat(e ? e-- : e++);
|
|
1591
1591
|
};
|
|
1592
1592
|
}
|
|
1593
1593
|
fn.push(t), Ye();
|
|
1594
|
-
},
|
|
1595
|
-
|
|
1594
|
+
}, Ds = function(t) {
|
|
1595
|
+
Rs(function() {
|
|
1596
1596
|
requestAnimationFrame(t);
|
|
1597
1597
|
});
|
|
1598
|
-
},
|
|
1599
|
-
return !!
|
|
1600
|
-
},
|
|
1598
|
+
}, Ve = 0, $s = function() {
|
|
1599
|
+
return !!Ve;
|
|
1600
|
+
}, Ns = 250, Ps = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, Dt = [
|
|
1601
1601
|
"resize",
|
|
1602
1602
|
"load",
|
|
1603
1603
|
"transitionend",
|
|
@@ -1612,9 +1612,9 @@ var ve = function(t) {
|
|
|
1612
1612
|
"mouseout",
|
|
1613
1613
|
"blur",
|
|
1614
1614
|
"focus"
|
|
1615
|
-
],
|
|
1615
|
+
], $t = function(t) {
|
|
1616
1616
|
return t === void 0 && (t = 0), Date.now() + t;
|
|
1617
|
-
}, Ke = !1,
|
|
1617
|
+
}, Ke = !1, Ws = function() {
|
|
1618
1618
|
function t() {
|
|
1619
1619
|
var e = this;
|
|
1620
1620
|
this.stopped = !0, this.listener = function() {
|
|
@@ -1623,15 +1623,15 @@ var ve = function(t) {
|
|
|
1623
1623
|
}
|
|
1624
1624
|
return t.prototype.run = function(e) {
|
|
1625
1625
|
var n = this;
|
|
1626
|
-
if (e === void 0 && (e =
|
|
1626
|
+
if (e === void 0 && (e = Ns), !Ke) {
|
|
1627
1627
|
Ke = !0;
|
|
1628
|
-
var s =
|
|
1629
|
-
|
|
1628
|
+
var s = $t(e);
|
|
1629
|
+
Ds(function() {
|
|
1630
1630
|
var r = !1;
|
|
1631
1631
|
try {
|
|
1632
|
-
r =
|
|
1632
|
+
r = Ls();
|
|
1633
1633
|
} finally {
|
|
1634
|
-
if (Ke = !1, e = s -
|
|
1634
|
+
if (Ke = !1, e = s - $t(), !$s())
|
|
1635
1635
|
return;
|
|
1636
1636
|
r ? n.run(1e3) : e > 0 ? n.run(e) : n.start();
|
|
1637
1637
|
}
|
|
@@ -1641,25 +1641,25 @@ var ve = function(t) {
|
|
|
1641
1641
|
this.stop(), this.run();
|
|
1642
1642
|
}, t.prototype.observe = function() {
|
|
1643
1643
|
var e = this, n = function() {
|
|
1644
|
-
return e.observer && e.observer.observe(document.body,
|
|
1644
|
+
return e.observer && e.observer.observe(document.body, Ps);
|
|
1645
1645
|
};
|
|
1646
1646
|
document.body ? n() : Ee.addEventListener("DOMContentLoaded", n);
|
|
1647
1647
|
}, t.prototype.start = function() {
|
|
1648
1648
|
var e = this;
|
|
1649
|
-
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(),
|
|
1649
|
+
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), Dt.forEach(function(n) {
|
|
1650
1650
|
return Ee.addEventListener(n, e.listener, !0);
|
|
1651
1651
|
}));
|
|
1652
1652
|
}, t.prototype.stop = function() {
|
|
1653
1653
|
var e = this;
|
|
1654
|
-
this.stopped || (this.observer && this.observer.disconnect(),
|
|
1654
|
+
this.stopped || (this.observer && this.observer.disconnect(), Dt.forEach(function(n) {
|
|
1655
1655
|
return Ee.removeEventListener(n, e.listener, !0);
|
|
1656
1656
|
}), this.stopped = !0);
|
|
1657
1657
|
}, t;
|
|
1658
|
-
}(), st = new
|
|
1659
|
-
!
|
|
1660
|
-
},
|
|
1661
|
-
return !bt(t) && !
|
|
1662
|
-
},
|
|
1658
|
+
}(), st = new Ws(), Nt = function(t) {
|
|
1659
|
+
!Ve && t > 0 && st.start(), Ve += t, !Ve && st.stop();
|
|
1660
|
+
}, Vs = function(t) {
|
|
1661
|
+
return !bt(t) && !Es(t) && getComputedStyle(t).display === "inline";
|
|
1662
|
+
}, Us = function() {
|
|
1663
1663
|
function t(e, n) {
|
|
1664
1664
|
this.target = e, this.observedBox = n || Be.CONTENT_BOX, this.lastReportedSize = {
|
|
1665
1665
|
inlineSize: 0,
|
|
@@ -1668,9 +1668,9 @@ var ve = function(t) {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
return t.prototype.isActive = function() {
|
|
1670
1670
|
var e = ln(this.target, this.observedBox, !0);
|
|
1671
|
-
return
|
|
1671
|
+
return Vs(this.target) && (this.lastReportedSize = e), this.lastReportedSize.inlineSize !== e.inlineSize || this.lastReportedSize.blockSize !== e.blockSize;
|
|
1672
1672
|
}, t;
|
|
1673
|
-
}(),
|
|
1673
|
+
}(), qs = /* @__PURE__ */ function() {
|
|
1674
1674
|
function t(e, n) {
|
|
1675
1675
|
this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = e, this.callback = n;
|
|
1676
1676
|
}
|
|
@@ -1684,11 +1684,11 @@ var ve = function(t) {
|
|
|
1684
1684
|
function t() {
|
|
1685
1685
|
}
|
|
1686
1686
|
return t.connect = function(e, n) {
|
|
1687
|
-
var s = new
|
|
1687
|
+
var s = new qs(e, n);
|
|
1688
1688
|
Ne.set(e, s);
|
|
1689
1689
|
}, t.observe = function(e, n, s) {
|
|
1690
1690
|
var r = Ne.get(e), o = r.observationTargets.length === 0;
|
|
1691
|
-
Pt(r.observationTargets, n) < 0 && (o && be.push(r), r.observationTargets.push(new
|
|
1691
|
+
Pt(r.observationTargets, n) < 0 && (o && be.push(r), r.observationTargets.push(new Us(n, s && s.box)), Nt(1), st.schedule());
|
|
1692
1692
|
}, t.unobserve = function(e, n) {
|
|
1693
1693
|
var s = Ne.get(e), r = Pt(s.observationTargets, n), o = s.observationTargets.length === 1;
|
|
1694
1694
|
r >= 0 && (o && be.splice(be.indexOf(s), 1), s.observationTargets.splice(r, 1), Nt(-1));
|
|
@@ -1698,7 +1698,7 @@ var ve = function(t) {
|
|
|
1698
1698
|
return n.unobserve(e, r.target);
|
|
1699
1699
|
}), s.activeTargets.splice(0, s.activeTargets.length);
|
|
1700
1700
|
}, t;
|
|
1701
|
-
}(),
|
|
1701
|
+
}(), Wt = function() {
|
|
1702
1702
|
function t(e) {
|
|
1703
1703
|
if (arguments.length === 0)
|
|
1704
1704
|
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
@@ -1724,7 +1724,7 @@ var ve = function(t) {
|
|
|
1724
1724
|
return "function ResizeObserver () { [polyfill code] }";
|
|
1725
1725
|
}, t;
|
|
1726
1726
|
}();
|
|
1727
|
-
const
|
|
1727
|
+
const Fs = ["disabled", "title"], Hs = {
|
|
1728
1728
|
key: 1,
|
|
1729
1729
|
class: "stack-tab__button"
|
|
1730
1730
|
}, rt = /* @__PURE__ */ ee({
|
|
@@ -1736,7 +1736,7 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1736
1736
|
title: {}
|
|
1737
1737
|
},
|
|
1738
1738
|
setup(t) {
|
|
1739
|
-
return (e, n) => (z(),
|
|
1739
|
+
return (e, n) => (z(), V("div", {
|
|
1740
1740
|
class: ue(["stack-tab__header-button", {
|
|
1741
1741
|
"stack-tab__shadow-right": e.shadow === "right",
|
|
1742
1742
|
"stack-tab__shadow-left": e.shadow === "left"
|
|
@@ -1744,16 +1744,16 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1744
1744
|
disabled: e.disabled ? "disabled" : null,
|
|
1745
1745
|
title: e.title
|
|
1746
1746
|
}, [
|
|
1747
|
-
"icon" in e.$slots ? se("", !0) : (z(),
|
|
1747
|
+
"icon" in e.$slots ? se("", !0) : (z(), V("div", {
|
|
1748
1748
|
key: 0,
|
|
1749
1749
|
class: ue(["stack-tab__mask-button", e.iconClass])
|
|
1750
1750
|
}, null, 2)),
|
|
1751
|
-
"icon" in e.$slots ? (z(),
|
|
1751
|
+
"icon" in e.$slots ? (z(), V("div", Hs, [
|
|
1752
1752
|
xe(e.$slots, "icon")
|
|
1753
1753
|
])) : se("", !0)
|
|
1754
|
-
], 10,
|
|
1754
|
+
], 10, Fs));
|
|
1755
1755
|
}
|
|
1756
|
-
}),
|
|
1756
|
+
}), Zs = /* @__PURE__ */ ee({
|
|
1757
1757
|
__name: "TabHeaderScroll",
|
|
1758
1758
|
props: {
|
|
1759
1759
|
space: { default: 300 },
|
|
@@ -1761,97 +1761,97 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1761
1761
|
isScrollButton: { type: Boolean, default: !0 }
|
|
1762
1762
|
},
|
|
1763
1763
|
setup(t, { expose: e }) {
|
|
1764
|
-
const n =
|
|
1764
|
+
const n = D(null), s = D(null), r = D(null), o = D(!1), i = D(!1), f = D(!1), a = D(!0), c = D(), p = t, l = Ie({
|
|
1765
1765
|
clientWidth: 0,
|
|
1766
1766
|
scrollWidth: 0,
|
|
1767
1767
|
scrollLeft: 0
|
|
1768
|
-
}),
|
|
1768
|
+
}), u = Ie({
|
|
1769
1769
|
thumbLeft: 0,
|
|
1770
1770
|
startScrollLeft: 0,
|
|
1771
1771
|
startThumbLeft: 0,
|
|
1772
1772
|
startPageX: 0
|
|
1773
1773
|
});
|
|
1774
|
-
gn(
|
|
1775
|
-
k(
|
|
1774
|
+
gn(l, (A) => {
|
|
1775
|
+
k(A);
|
|
1776
1776
|
});
|
|
1777
|
-
const k = (
|
|
1778
|
-
i.value =
|
|
1779
|
-
}, S = we(() =>
|
|
1777
|
+
const k = (A) => {
|
|
1778
|
+
i.value = A.scrollLeft <= 10, f.value = A.clientWidth + A.scrollLeft - A.scrollWidth >= -10, a.value = A.scrollWidth !== A.clientWidth;
|
|
1779
|
+
}, S = we(() => l.scrollWidth > l.clientWidth), B = we(() => {
|
|
1780
1780
|
if (!S.value) return 0;
|
|
1781
|
-
const { clientWidth:
|
|
1782
|
-
return
|
|
1783
|
-
}),
|
|
1781
|
+
const { clientWidth: A, scrollWidth: C } = l;
|
|
1782
|
+
return A / C * A;
|
|
1783
|
+
}), I = we(() => {
|
|
1784
1784
|
if (!S.value) return 0;
|
|
1785
|
-
const { clientWidth:
|
|
1786
|
-
return (
|
|
1785
|
+
const { clientWidth: A, scrollWidth: C, scrollLeft: U } = l;
|
|
1786
|
+
return (A - B.value) * (U / (C - A));
|
|
1787
1787
|
}), y = () => {
|
|
1788
1788
|
if (n.value === null || n.value === void 0)
|
|
1789
1789
|
return;
|
|
1790
|
-
const { clientWidth:
|
|
1791
|
-
Object.assign(
|
|
1792
|
-
},
|
|
1790
|
+
const { clientWidth: A, scrollWidth: C, scrollLeft: U } = n.value;
|
|
1791
|
+
Object.assign(l, { clientWidth: A, scrollWidth: C, scrollLeft: U });
|
|
1792
|
+
}, g = new Wt(() => {
|
|
1793
1793
|
var C;
|
|
1794
1794
|
y();
|
|
1795
|
-
const
|
|
1796
|
-
|
|
1797
|
-
}), x = new
|
|
1798
|
-
var
|
|
1795
|
+
const A = (C = n.value) == null ? void 0 : C.querySelector(".stack-tab__item.is-active");
|
|
1796
|
+
A && (G(A) || P(A));
|
|
1797
|
+
}), x = new Wt(() => {
|
|
1798
|
+
var A;
|
|
1799
1799
|
if (!S.value) {
|
|
1800
|
-
const C = (
|
|
1800
|
+
const C = (A = n.value) == null ? void 0 : A.querySelector(".stack-tab__item.is-active");
|
|
1801
1801
|
C && (G(C) || P(C));
|
|
1802
1802
|
}
|
|
1803
1803
|
y();
|
|
1804
|
-
}), b = (
|
|
1805
|
-
Qt({ wrap: n.value, left:
|
|
1806
|
-
},
|
|
1807
|
-
b(n.value.scrollLeft +
|
|
1808
|
-
}, h = (
|
|
1809
|
-
const C =
|
|
1804
|
+
}), b = (A, C = !0) => {
|
|
1805
|
+
Qt({ wrap: n.value, left: A, smooth: C });
|
|
1806
|
+
}, O = (A) => {
|
|
1807
|
+
b(n.value.scrollLeft + A);
|
|
1808
|
+
}, h = (A) => {
|
|
1809
|
+
const C = A.deltaY < 0;
|
|
1810
1810
|
b(n.value.scrollLeft + (C ? -p.space : p.space));
|
|
1811
|
-
}, _ = (
|
|
1811
|
+
}, _ = (A) => {
|
|
1812
1812
|
var C;
|
|
1813
|
-
Object.assign(
|
|
1814
|
-
startPageX:
|
|
1813
|
+
Object.assign(u, {
|
|
1814
|
+
startPageX: A.pageX,
|
|
1815
1815
|
startScrollLeft: (C = n.value) == null ? void 0 : C.scrollLeft,
|
|
1816
|
-
startThumbLeft:
|
|
1817
|
-
thumbLeft:
|
|
1818
|
-
}), o.value = !0, document.addEventListener("mousemove",
|
|
1819
|
-
},
|
|
1820
|
-
const { clientWidth: C, scrollWidth: U } =
|
|
1821
|
-
let re =
|
|
1816
|
+
startThumbLeft: I.value,
|
|
1817
|
+
thumbLeft: I.value
|
|
1818
|
+
}), o.value = !0, document.addEventListener("mousemove", w), document.addEventListener("mouseup", R);
|
|
1819
|
+
}, w = (A) => {
|
|
1820
|
+
const { clientWidth: C, scrollWidth: U } = l;
|
|
1821
|
+
let re = u.startThumbLeft + A.pageX - u.startPageX;
|
|
1822
1822
|
const Te = C - B.value;
|
|
1823
|
-
re < 0 ? re = 0 : re > Te && (re = Te),
|
|
1824
|
-
}, R = (
|
|
1825
|
-
o.value = !1, document.removeEventListener("mousemove",
|
|
1823
|
+
re < 0 ? re = 0 : re > Te && (re = Te), u.thumbLeft = re, b(re * (U - C) / (C - B.value), !1), A.preventDefault();
|
|
1824
|
+
}, R = (A) => {
|
|
1825
|
+
o.value = !1, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", R), A.preventDefault();
|
|
1826
1826
|
};
|
|
1827
1827
|
Fe(() => {
|
|
1828
1828
|
var C;
|
|
1829
|
-
|
|
1830
|
-
const
|
|
1831
|
-
x.observe(
|
|
1829
|
+
g.observe(c.value);
|
|
1830
|
+
const A = (C = n.value) == null ? void 0 : C.querySelector(".stack-tab__nav");
|
|
1831
|
+
x.observe(A);
|
|
1832
1832
|
}), He(() => {
|
|
1833
|
-
|
|
1833
|
+
g.disconnect(), x.disconnect();
|
|
1834
1834
|
});
|
|
1835
|
-
const P = (
|
|
1836
|
-
|
|
1837
|
-
}, G = (
|
|
1835
|
+
const P = (A) => {
|
|
1836
|
+
Vn({ el: A, wrap: n, block: "end", inline: "center" });
|
|
1837
|
+
}, G = (A) => {
|
|
1838
1838
|
if (!S.value)
|
|
1839
1839
|
return !0;
|
|
1840
|
-
const C =
|
|
1841
|
-
return !(C < U || C +
|
|
1840
|
+
const C = A.offsetLeft, U = n.value.scrollLeft;
|
|
1841
|
+
return !(C < U || C + A.clientWidth > U + n.value.clientWidth);
|
|
1842
1842
|
};
|
|
1843
|
-
return e({ scrollIntoView: P, isInView: G }), (
|
|
1843
|
+
return e({ scrollIntoView: P, isInView: G }), (A, C) => (z(), V(Ze, null, [
|
|
1844
1844
|
a.value ? (z(), me(rt, {
|
|
1845
1845
|
key: 0,
|
|
1846
1846
|
"icon-class": "stack-tab__icon-left-arrow",
|
|
1847
1847
|
disabled: i.value,
|
|
1848
|
-
onClick: C[0] || (C[0] = (U) => !i.value &&
|
|
1848
|
+
onClick: C[0] || (C[0] = (U) => !i.value && O(-1 * A.space))
|
|
1849
1849
|
}, null, 8, ["disabled"])) : se("", !0),
|
|
1850
1850
|
Q("div", {
|
|
1851
1851
|
ref_key: "headerScroll",
|
|
1852
1852
|
ref: c,
|
|
1853
1853
|
class: "stack-tab__scroll",
|
|
1854
|
-
onWheel:
|
|
1854
|
+
onWheel: _e(h, ["prevent"])
|
|
1855
1855
|
}, [
|
|
1856
1856
|
Q("div", {
|
|
1857
1857
|
ref_key: "container",
|
|
@@ -1863,7 +1863,7 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1863
1863
|
}]),
|
|
1864
1864
|
onScrollPassive: y
|
|
1865
1865
|
}, [
|
|
1866
|
-
xe(
|
|
1866
|
+
xe(A.$slots, "default")
|
|
1867
1867
|
], 34),
|
|
1868
1868
|
Zt(Q("div", {
|
|
1869
1869
|
ref_key: "bar",
|
|
@@ -1876,9 +1876,9 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1876
1876
|
class: ue(["stack-tab__scrollbar-thumb", { "is-dragging": o.value }]),
|
|
1877
1877
|
style: it({
|
|
1878
1878
|
width: `${B.value}px`,
|
|
1879
|
-
transform: `translateX(${
|
|
1879
|
+
transform: `translateX(${I.value}px)`
|
|
1880
1880
|
}),
|
|
1881
|
-
onMousedown:
|
|
1881
|
+
onMousedown: _e(_, ["prevent"])
|
|
1882
1882
|
}, null, 38)
|
|
1883
1883
|
], 2), [
|
|
1884
1884
|
[jt, S.value]
|
|
@@ -1888,11 +1888,11 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1888
1888
|
key: 1,
|
|
1889
1889
|
"icon-class": "stack-tab__icon-right-arrow",
|
|
1890
1890
|
disabled: f.value,
|
|
1891
|
-
onClick: C[1] || (C[1] = (U) => !f.value && A
|
|
1891
|
+
onClick: C[1] || (C[1] = (U) => !f.value && O(A.space))
|
|
1892
1892
|
}, null, 8, ["disabled"])) : se("", !0)
|
|
1893
1893
|
], 64));
|
|
1894
1894
|
}
|
|
1895
|
-
}),
|
|
1895
|
+
}), js = { class: "stack-tab__header" }, Xs = /* @__PURE__ */ ee({
|
|
1896
1896
|
__name: "index",
|
|
1897
1897
|
props: {
|
|
1898
1898
|
space: {},
|
|
@@ -1905,41 +1905,41 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1905
1905
|
},
|
|
1906
1906
|
emits: ["active"],
|
|
1907
1907
|
setup(t, { emit: e }) {
|
|
1908
|
-
const { t: n } = Me(), s = ot("maximum"), r = e, o =
|
|
1908
|
+
const { t: n } = Me(), s = ot("maximum"), r = e, o = D(), { shown: i, contextMenuData: f, showContextMenu: a } = ys(), c = t, { removeTab: p, active: l, tabs: u } = Ce(), k = we(() => typeof c.tabTransition == "string" ? {
|
|
1909
1909
|
name: c.tabTransition
|
|
1910
|
-
} : c.tabTransition), S = we(() => c.tabScrollMode === pe.BOTH || c.tabScrollMode === pe.BUTTON), B = c.tabScrollMode === pe.BOTH || c.tabScrollMode === pe.WHEEL,
|
|
1911
|
-
|
|
1912
|
-
}, y = (
|
|
1910
|
+
} : c.tabTransition), S = we(() => c.tabScrollMode === pe.BOTH || c.tabScrollMode === pe.BUTTON), B = c.tabScrollMode === pe.BOTH || c.tabScrollMode === pe.WHEEL, I = (g) => {
|
|
1911
|
+
g.closable && p(g.id), i.value = !1;
|
|
1912
|
+
}, y = (g, x, b) => {
|
|
1913
1913
|
o.value && (ce(() => {
|
|
1914
1914
|
o.value.isInView(x.value) || o.value.scrollIntoView(x.value);
|
|
1915
|
-
}),
|
|
1915
|
+
}), l(g.id, b), r("active", g.id));
|
|
1916
1916
|
};
|
|
1917
|
-
return (
|
|
1918
|
-
xe(
|
|
1919
|
-
|
|
1917
|
+
return (g, x) => (z(), V("div", js, [
|
|
1918
|
+
xe(g.$slots, "leftButton"),
|
|
1919
|
+
$(Zs, {
|
|
1920
1920
|
ref_key: "scroll",
|
|
1921
1921
|
ref: o,
|
|
1922
|
-
space:
|
|
1922
|
+
space: g.space,
|
|
1923
1923
|
"is-scroll-wheel": T(B),
|
|
1924
1924
|
"is-scroll-button": S.value
|
|
1925
1925
|
}, {
|
|
1926
1926
|
default: le(() => [
|
|
1927
|
-
|
|
1927
|
+
$(Xt, yn({
|
|
1928
1928
|
key: "tabItemTrans",
|
|
1929
1929
|
tag: "ul",
|
|
1930
1930
|
class: "stack-tab__nav"
|
|
1931
1931
|
}, k.value, { appear: "" }), {
|
|
1932
1932
|
default: le(() => [
|
|
1933
|
-
(z(!0),
|
|
1933
|
+
(z(!0), V(Ze, null, at(T(u), (b, O) => (z(), me(xs, {
|
|
1934
1934
|
key: b.id,
|
|
1935
|
-
contextmenu:
|
|
1935
|
+
contextmenu: g.contextmenu,
|
|
1936
1936
|
item: b,
|
|
1937
|
-
onContextmenu:
|
|
1938
|
-
(h) => T(a)(h, b,
|
|
1937
|
+
onContextmenu: _e(
|
|
1938
|
+
(h) => T(a)(h, b, O, T(u).length),
|
|
1939
1939
|
["prevent"]
|
|
1940
1940
|
),
|
|
1941
|
-
onMouseup:
|
|
1942
|
-
onClose:
|
|
1941
|
+
onMouseup: _e((h) => I(b), ["middle", "prevent"]),
|
|
1942
|
+
onClose: I,
|
|
1943
1943
|
onActive: y
|
|
1944
1944
|
}, null, 8, ["contextmenu", "item", "onContextmenu", "onMouseup"]))), 128))
|
|
1945
1945
|
]),
|
|
@@ -1948,18 +1948,18 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1948
1948
|
]),
|
|
1949
1949
|
_: 1
|
|
1950
1950
|
}, 8, ["space", "is-scroll-wheel", "is-scroll-button"]),
|
|
1951
|
-
xe(
|
|
1952
|
-
|
|
1951
|
+
xe(g.$slots, "rightButton"),
|
|
1952
|
+
$(rt, {
|
|
1953
1953
|
"icon-class": T(s) ? "stack-tab__icon-restore" : "stack-tab__icon-fullscreen",
|
|
1954
1954
|
title: T(n)("VueStackTab.maximum"),
|
|
1955
1955
|
onClick: x[0] || (x[0] = (b) => s.value = !T(s))
|
|
1956
1956
|
}, null, 8, ["icon-class", "title"]),
|
|
1957
|
-
|
|
1957
|
+
$(Gt, {
|
|
1958
1958
|
name: "stack-tab-zoom",
|
|
1959
1959
|
appear: ""
|
|
1960
1960
|
}, {
|
|
1961
1961
|
default: le(() => [
|
|
1962
|
-
T(i) ? (z(), me(
|
|
1962
|
+
T(i) ? (z(), me(gs, {
|
|
1963
1963
|
key: "tabMenuTrans",
|
|
1964
1964
|
left: T(f).left,
|
|
1965
1965
|
top: T(f).top,
|
|
@@ -1973,83 +1973,83 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1973
1973
|
]));
|
|
1974
1974
|
}
|
|
1975
1975
|
});
|
|
1976
|
-
function
|
|
1977
|
-
var s = {}, r = s.noTrailing, o = r === void 0 ? !1 : r, i = s.noLeading, f = i === void 0 ? !1 : i, a = s.debounceMode, c = a === void 0 ? void 0 : a, p,
|
|
1976
|
+
function Gs(t, e, n) {
|
|
1977
|
+
var s = {}, r = s.noTrailing, o = r === void 0 ? !1 : r, i = s.noLeading, f = i === void 0 ? !1 : i, a = s.debounceMode, c = a === void 0 ? void 0 : a, p, l = !1, u = 0;
|
|
1978
1978
|
function k() {
|
|
1979
1979
|
p && clearTimeout(p);
|
|
1980
1980
|
}
|
|
1981
|
-
function S(
|
|
1982
|
-
var y =
|
|
1983
|
-
k(),
|
|
1981
|
+
function S(I) {
|
|
1982
|
+
var y = I || {}, g = y.upcomingOnly, x = g === void 0 ? !1 : g;
|
|
1983
|
+
k(), l = !x;
|
|
1984
1984
|
}
|
|
1985
1985
|
function B() {
|
|
1986
|
-
for (var
|
|
1987
|
-
y[
|
|
1988
|
-
var x = this, b = Date.now() -
|
|
1989
|
-
if (
|
|
1986
|
+
for (var I = arguments.length, y = new Array(I), g = 0; g < I; g++)
|
|
1987
|
+
y[g] = arguments[g];
|
|
1988
|
+
var x = this, b = Date.now() - u;
|
|
1989
|
+
if (l)
|
|
1990
1990
|
return;
|
|
1991
|
-
function
|
|
1992
|
-
|
|
1991
|
+
function O() {
|
|
1992
|
+
u = Date.now(), e.apply(x, y);
|
|
1993
1993
|
}
|
|
1994
1994
|
function h() {
|
|
1995
1995
|
p = void 0;
|
|
1996
1996
|
}
|
|
1997
|
-
!f && c && !p &&
|
|
1997
|
+
!f && c && !p && O(), k(), c === void 0 && b > t ? f ? (u = Date.now(), o || (p = setTimeout(c ? h : O, t))) : O() : o !== !0 && (p = setTimeout(c ? h : O, c === void 0 ? t - b : t));
|
|
1998
1998
|
}
|
|
1999
1999
|
return B.cancel = S, B;
|
|
2000
2000
|
}
|
|
2001
|
-
let
|
|
2002
|
-
const
|
|
2003
|
-
const t = ct(), { active: e, hasTab: n, pageShown: s, reset: r, canAddTab: o, renewTab: i, getTab: f } = Ce(), a = ge(), c =
|
|
2001
|
+
let Vt;
|
|
2002
|
+
const Ys = () => {
|
|
2003
|
+
const t = ct(), { active: e, hasTab: n, pageShown: s, reset: r, canAddTab: o, renewTab: i, getTab: f } = Ce(), a = ge(), c = Gs(500, (k, S = !1) => new Promise((B, I) => {
|
|
2004
2004
|
if (!s.value) {
|
|
2005
|
-
|
|
2005
|
+
I();
|
|
2006
2006
|
return;
|
|
2007
2007
|
}
|
|
2008
|
-
const
|
|
2008
|
+
const y = ne(k, {
|
|
2009
2009
|
refreshable: !0,
|
|
2010
2010
|
closable: !0,
|
|
2011
2011
|
iframe: !1
|
|
2012
2012
|
});
|
|
2013
|
-
if (
|
|
2014
|
-
i(
|
|
2015
|
-
const
|
|
2016
|
-
|
|
2013
|
+
if (y.id && S && n(y.id)) {
|
|
2014
|
+
i(k);
|
|
2015
|
+
const g = f(k.id);
|
|
2016
|
+
g != null && g.active && (s.value = !1, ce(() => {
|
|
2017
2017
|
s.value = !0;
|
|
2018
2018
|
}));
|
|
2019
2019
|
}
|
|
2020
|
-
if (n(
|
|
2021
|
-
a.emit(Z.TAB_ACTIVE, { id:
|
|
2020
|
+
if (n(y.id) && !S) {
|
|
2021
|
+
a.emit(Z.TAB_ACTIVE, { id: y.id }), B(y.id);
|
|
2022
2022
|
return;
|
|
2023
2023
|
}
|
|
2024
|
-
if (
|
|
2025
|
-
|
|
2024
|
+
if (y.id || (y.id = Je()), !o()) {
|
|
2025
|
+
I("Max Size");
|
|
2026
2026
|
return;
|
|
2027
2027
|
}
|
|
2028
|
-
p(
|
|
2029
|
-
})), p = (
|
|
2030
|
-
const
|
|
2031
|
-
let
|
|
2028
|
+
p(k, y), B(y.id);
|
|
2029
|
+
})), p = (k, S) => {
|
|
2030
|
+
const B = tt(S);
|
|
2031
|
+
let I = ne(
|
|
2032
2032
|
{
|
|
2033
|
-
__tab:
|
|
2033
|
+
__tab: B
|
|
2034
2034
|
},
|
|
2035
|
-
|
|
2036
|
-
),
|
|
2037
|
-
if (
|
|
2038
|
-
const
|
|
2039
|
-
|
|
2035
|
+
k.query
|
|
2036
|
+
), y;
|
|
2037
|
+
if (k.iframe) {
|
|
2038
|
+
const g = encodeURIComponent(k.path);
|
|
2039
|
+
y = Vt, I.__src = g;
|
|
2040
2040
|
} else {
|
|
2041
|
-
const
|
|
2042
|
-
|
|
2041
|
+
const g = pt(k.path);
|
|
2042
|
+
y = g.path, I = ne(g.query, I);
|
|
2043
2043
|
}
|
|
2044
2044
|
t.push({
|
|
2045
|
-
path:
|
|
2046
|
-
query:
|
|
2045
|
+
path: y,
|
|
2046
|
+
query: I
|
|
2047
2047
|
});
|
|
2048
2048
|
};
|
|
2049
|
-
return { openNewTab: c, setIFramePath: (
|
|
2050
|
-
|
|
2051
|
-
}, active: e, reset: r };
|
|
2052
|
-
},
|
|
2049
|
+
return { openNewTab: c, setIFramePath: (k) => {
|
|
2050
|
+
Vt = k;
|
|
2051
|
+
}, active: e, reset: r, getWrapper: () => document.getElementsByClassName("cache-page-wrapper")[0] };
|
|
2052
|
+
}, Ks = { class: "stack-tab__container" }, Js = ["src"], Qs = /* @__PURE__ */ ee({
|
|
2053
2053
|
__name: "StackTabs",
|
|
2054
2054
|
props: {
|
|
2055
2055
|
defaultTabs: { default: () => [] },
|
|
@@ -2069,28 +2069,28 @@ const Js = () => {
|
|
|
2069
2069
|
},
|
|
2070
2070
|
emits: ["onActive", "onPageLoaded"],
|
|
2071
2071
|
setup(t, { emit: e }) {
|
|
2072
|
-
const { tabs: n, pageShown: s, caches: r, destroy: o, addPage: i, initial: f, setMaxSize: a, setGlobalScroll: c } = Ce(), p = e,
|
|
2072
|
+
const { tabs: n, pageShown: s, caches: r, destroy: o, addPage: i, initial: f, setMaxSize: a, setGlobalScroll: c } = Ce(), p = e, l = t, { changeLocale: u } = Me(), k = D(!1);
|
|
2073
2073
|
wn("maximum", k);
|
|
2074
|
-
const { setIFramePath: S } =
|
|
2075
|
-
S(
|
|
2076
|
-
f(
|
|
2074
|
+
const { setIFramePath: S } = Ys();
|
|
2075
|
+
S(l.iframePath), c(l.globalScroll), u(l.i18n), kn(() => {
|
|
2076
|
+
f(l.defaultTabs);
|
|
2077
2077
|
});
|
|
2078
|
-
const B = (b,
|
|
2078
|
+
const B = (b, O) => i(b, O), I = (b) => {
|
|
2079
2079
|
p("onActive", b);
|
|
2080
2080
|
};
|
|
2081
|
-
a(
|
|
2081
|
+
a(l.max), _n(() => {
|
|
2082
2082
|
o();
|
|
2083
2083
|
});
|
|
2084
2084
|
const y = () => {
|
|
2085
2085
|
p("onPageLoaded");
|
|
2086
|
-
},
|
|
2086
|
+
}, g = D(l.pageTransition), x = ge();
|
|
2087
2087
|
return x.on("FORWARD", () => {
|
|
2088
|
-
|
|
2088
|
+
g.value = l.pageTransition;
|
|
2089
2089
|
}), x.on("BACKWARD", () => {
|
|
2090
|
-
|
|
2091
|
-
}), (b,
|
|
2090
|
+
g.value = l.pageTransitionBack;
|
|
2091
|
+
}), (b, O) => {
|
|
2092
2092
|
const h = Ft("router-view");
|
|
2093
|
-
return z(),
|
|
2093
|
+
return z(), V("div", {
|
|
2094
2094
|
class: ue(["stack-tab", { "stack-tab__maximum": k.value }]),
|
|
2095
2095
|
style: it({
|
|
2096
2096
|
width: b.width,
|
|
@@ -2098,9 +2098,9 @@ const Js = () => {
|
|
|
2098
2098
|
"z-index": k.value ? T(en)("body *:not(.stack-tab,.stack-tab *)") : void 0
|
|
2099
2099
|
})
|
|
2100
2100
|
}, [
|
|
2101
|
-
|
|
2101
|
+
$(Xs, {
|
|
2102
2102
|
space: b.space,
|
|
2103
|
-
onActive:
|
|
2103
|
+
onActive: I,
|
|
2104
2104
|
"tab-transition": b.tabTransition,
|
|
2105
2105
|
max: b.max
|
|
2106
2106
|
}, {
|
|
@@ -2112,18 +2112,18 @@ const Js = () => {
|
|
|
2112
2112
|
]),
|
|
2113
2113
|
_: 3
|
|
2114
2114
|
}, 8, ["space", "tab-transition", "max"]),
|
|
2115
|
-
Q("div",
|
|
2116
|
-
|
|
2117
|
-
default: le(({ Component: _, route:
|
|
2118
|
-
|
|
2119
|
-
name:
|
|
2115
|
+
Q("div", Ks, [
|
|
2116
|
+
$(h, null, {
|
|
2117
|
+
default: le(({ Component: _, route: w }) => [
|
|
2118
|
+
$(Gt, {
|
|
2119
|
+
name: g.value,
|
|
2120
2120
|
appear: "",
|
|
2121
2121
|
mode: "out-in"
|
|
2122
2122
|
}, {
|
|
2123
2123
|
default: le(() => [
|
|
2124
2124
|
(z(), me(xn, { include: T(r) }, [
|
|
2125
|
-
T(s) ? (z(), me(Tn(B(
|
|
2126
|
-
key:
|
|
2125
|
+
T(s) ? (z(), me(Tn(B(w, _)), {
|
|
2126
|
+
key: w.fullPath,
|
|
2127
2127
|
onOnLoaded: y
|
|
2128
2128
|
}, null, 32)) : se("", !0)
|
|
2129
2129
|
], 1032, ["include"]))
|
|
@@ -2133,17 +2133,17 @@ const Js = () => {
|
|
|
2133
2133
|
]),
|
|
2134
2134
|
_: 1
|
|
2135
2135
|
}),
|
|
2136
|
-
|
|
2136
|
+
$(Xt, {
|
|
2137
2137
|
name: b.pageTransition,
|
|
2138
2138
|
appear: ""
|
|
2139
2139
|
}, {
|
|
2140
2140
|
default: le(() => [
|
|
2141
|
-
(z(!0),
|
|
2141
|
+
(z(!0), V(Ze, null, at(T(n).filter((_) => _.iframe), (_) => Zt((z(), V("iframe", {
|
|
2142
2142
|
key: _.id,
|
|
2143
2143
|
class: "stack-tab__iframe",
|
|
2144
2144
|
src: /^(javascript|data):/i.test(_.url ?? "") ? "about:blank" : _.url,
|
|
2145
2145
|
frameborder: "0"
|
|
2146
|
-
}, null, 8,
|
|
2146
|
+
}, null, 8, Js)), [
|
|
2147
2147
|
[jt, _.active]
|
|
2148
2148
|
])), 128))
|
|
2149
2149
|
]),
|
|
@@ -2155,14 +2155,14 @@ const Js = () => {
|
|
|
2155
2155
|
}
|
|
2156
2156
|
}), vt = typeof Buffer == "function";
|
|
2157
2157
|
typeof TextDecoder == "function" && new TextDecoder();
|
|
2158
|
-
const Ut = typeof TextEncoder == "function" ? new TextEncoder() : void 0,
|
|
2158
|
+
const Ut = typeof TextEncoder == "function" ? new TextEncoder() : void 0, er = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Se = Array.prototype.slice.call(er);
|
|
2159
2159
|
((t) => {
|
|
2160
2160
|
let e = {};
|
|
2161
2161
|
return t.forEach((n, s) => e[n] = s), e;
|
|
2162
2162
|
})(Se);
|
|
2163
2163
|
const J = String.fromCharCode.bind(String);
|
|
2164
2164
|
typeof Uint8Array.from == "function" && Uint8Array.from.bind(Uint8Array);
|
|
2165
|
-
const
|
|
2165
|
+
const tr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" : "_"), nr = (t) => {
|
|
2166
2166
|
let e, n, s, r, o = "";
|
|
2167
2167
|
const i = t.length % 3;
|
|
2168
2168
|
for (let f = 0; f < t.length; ) {
|
|
@@ -2171,12 +2171,12 @@ const sr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2171
2171
|
e = n << 16 | s << 8 | r, o += Se[e >> 18 & 63] + Se[e >> 12 & 63] + Se[e >> 6 & 63] + Se[e & 63];
|
|
2172
2172
|
}
|
|
2173
2173
|
return i ? o.slice(0, i - 3) + "===".substring(i) : o;
|
|
2174
|
-
}, dn = typeof btoa == "function" ? (t) => btoa(t) : vt ? (t) => Buffer.from(t, "binary").toString("base64") :
|
|
2174
|
+
}, dn = typeof btoa == "function" ? (t) => btoa(t) : vt ? (t) => Buffer.from(t, "binary").toString("base64") : nr, sr = vt ? (t) => Buffer.from(t).toString("base64") : (t) => {
|
|
2175
2175
|
let n = [];
|
|
2176
2176
|
for (let s = 0, r = t.length; s < r; s += 4096)
|
|
2177
2177
|
n.push(J.apply(null, t.subarray(s, s + 4096)));
|
|
2178
2178
|
return dn(n.join(""));
|
|
2179
|
-
},
|
|
2179
|
+
}, rr = (t) => {
|
|
2180
2180
|
if (t.length < 2) {
|
|
2181
2181
|
var e = t.charCodeAt(0);
|
|
2182
2182
|
return e < 128 ? t : e < 2048 ? J(192 | e >>> 6) + J(128 | e & 63) : J(224 | e >>> 12 & 15) + J(128 | e >>> 6 & 63) + J(128 | e & 63);
|
|
@@ -2184,61 +2184,61 @@ const sr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2184
2184
|
var e = 65536 + (t.charCodeAt(0) - 55296) * 1024 + (t.charCodeAt(1) - 56320);
|
|
2185
2185
|
return J(240 | e >>> 18 & 7) + J(128 | e >>> 12 & 63) + J(128 | e >>> 6 & 63) + J(128 | e & 63);
|
|
2186
2186
|
}
|
|
2187
|
-
},
|
|
2188
|
-
const s = `<?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: ${t}</tspan></text></g></svg>`, i = "data:image/svg+xml;base64," + lr(s), f = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2187
|
+
}, or = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, ir = (t) => t.replace(or, rr), qt = vt ? (t) => Buffer.from(t, "utf8").toString("base64") : Ut ? (t) => sr(Ut.encode(t)) : (t) => dn(ir(t)), ar = (t, e = !1) => e ? tr(qt(t)) : qt(t), cr = (t) => {
|
|
2188
|
+
const s = `<?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: ${t}</tspan></text></g></svg>`, i = "data:image/svg+xml;base64," + ar(s), f = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2189
2189
|
window.console.log(
|
|
2190
2190
|
"%c+",
|
|
2191
2191
|
f + `background-image: url(${i});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`
|
|
2192
2192
|
);
|
|
2193
|
-
},
|
|
2193
|
+
}, lr = () => {
|
|
2194
2194
|
const { attrs: t, props: e } = Yt(), { pageShown: n, getTab: s, markDeletableCache: r, removeComponent: o, getComponent: i, addPageScroller: f } = Ce(), a = Sn(), c = ct(), p = ge();
|
|
2195
|
-
let
|
|
2196
|
-
|
|
2195
|
+
let l = "", u = "";
|
|
2196
|
+
l = t.tId || e.tId;
|
|
2197
2197
|
const k = t.pId || e.pId;
|
|
2198
|
-
return
|
|
2198
|
+
return u = a.query.__tab, {
|
|
2199
2199
|
forward: (y) => {
|
|
2200
|
-
const
|
|
2200
|
+
const g = ne(
|
|
2201
2201
|
{
|
|
2202
|
-
__tab:
|
|
2202
|
+
__tab: u
|
|
2203
2203
|
},
|
|
2204
2204
|
y.query
|
|
2205
2205
|
);
|
|
2206
2206
|
p.emit("FORWARD"), c.push({
|
|
2207
2207
|
path: y.path,
|
|
2208
|
-
query:
|
|
2208
|
+
query: g
|
|
2209
2209
|
});
|
|
2210
2210
|
},
|
|
2211
|
-
backward: (y,
|
|
2212
|
-
const x = s(
|
|
2211
|
+
backward: (y, g) => {
|
|
2212
|
+
const x = s(l);
|
|
2213
2213
|
if (!x)
|
|
2214
2214
|
return;
|
|
2215
2215
|
const b = x.pages;
|
|
2216
|
-
let
|
|
2216
|
+
let O = 0;
|
|
2217
2217
|
if (typeof y == "number")
|
|
2218
|
-
|
|
2218
|
+
O = Math.abs(y);
|
|
2219
2219
|
else {
|
|
2220
|
-
let
|
|
2220
|
+
let w = 1, R = !1;
|
|
2221
2221
|
const P = b.list(), G = pt(y);
|
|
2222
|
-
|
|
2223
|
-
for (let
|
|
2224
|
-
if (P[
|
|
2222
|
+
g = ne(G.query, g);
|
|
2223
|
+
for (let A = b.size() - 2; A >= 0; A--) {
|
|
2224
|
+
if (P[A].path === G.path) {
|
|
2225
2225
|
R = !0;
|
|
2226
2226
|
break;
|
|
2227
2227
|
}
|
|
2228
|
-
|
|
2228
|
+
w += 1;
|
|
2229
2229
|
}
|
|
2230
|
-
R && (
|
|
2230
|
+
R && (O = w);
|
|
2231
2231
|
}
|
|
2232
|
-
if (
|
|
2232
|
+
if (O === 0 || b.size() <= O)
|
|
2233
2233
|
return;
|
|
2234
|
-
for (let
|
|
2234
|
+
for (let w = 0; w < O; w++) {
|
|
2235
2235
|
const R = b.pop();
|
|
2236
2236
|
o(R.id), r(R.id);
|
|
2237
2237
|
}
|
|
2238
2238
|
const h = b == null ? void 0 : b.peek(), _ = i(h.id);
|
|
2239
2239
|
if (_ != null) {
|
|
2240
|
-
const
|
|
2241
|
-
|
|
2240
|
+
const w = _.components.DynamicComponent;
|
|
2241
|
+
w.props = ne(g, w.props);
|
|
2242
2242
|
}
|
|
2243
2243
|
p.emit("BACKWARD"), c.push({
|
|
2244
2244
|
path: h.path,
|
|
@@ -2249,13 +2249,13 @@ const sr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2249
2249
|
f(k, ...y);
|
|
2250
2250
|
}
|
|
2251
2251
|
};
|
|
2252
|
-
},
|
|
2252
|
+
}, br = /* @__PURE__ */ ee({
|
|
2253
2253
|
__name: "iframe",
|
|
2254
2254
|
setup(t) {
|
|
2255
|
-
return
|
|
2255
|
+
return lr(), () => {
|
|
2256
2256
|
};
|
|
2257
2257
|
}
|
|
2258
|
-
}),
|
|
2258
|
+
}), vr = () => {
|
|
2259
2259
|
const t = ge(), { attrs: e } = Yt();
|
|
2260
2260
|
He(() => {
|
|
2261
2261
|
s();
|
|
@@ -2266,19 +2266,19 @@ const sr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2266
2266
|
t.emit(Z.PAGE_LOADING, { tId: e.tId, value: !1 });
|
|
2267
2267
|
};
|
|
2268
2268
|
return { openTabLoading: n, closeTabLoading: s };
|
|
2269
|
-
},
|
|
2269
|
+
}, mr = {
|
|
2270
2270
|
install(t, e) {
|
|
2271
|
-
|
|
2271
|
+
cr("0.1.39"), t.component("VueStackTabs", Qs).use(fs).use(Wn().getI18n(e));
|
|
2272
2272
|
}
|
|
2273
2273
|
};
|
|
2274
2274
|
export {
|
|
2275
|
-
|
|
2275
|
+
br as IFrame,
|
|
2276
2276
|
je as Stack,
|
|
2277
|
-
|
|
2277
|
+
Qs as StackTab,
|
|
2278
2278
|
rt as TabHeaderButton,
|
|
2279
2279
|
pe as TabScrollMode,
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2280
|
+
mr as default,
|
|
2281
|
+
Ys as useStackTab,
|
|
2282
|
+
vr as useTabLoading,
|
|
2283
|
+
lr as useTabRouter
|
|
2284
2284
|
};
|