vue-stack-tabs 0.1.47 → 0.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var vn = Object.defineProperty;
|
|
2
2
|
var mn = (t, e, n) => e in t ? vn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var _t = (t, e, n) => mn(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { inject as ct, ref as D, reactive as Ee, readonly as xt, toRaw as gn, defineComponent as ee, openBlock as R, createElementBlock as V, normalizeStyle as Fe, unref as
|
|
4
|
+
import { inject as ct, ref as D, reactive as Ee, readonly as xt, toRaw as gn, defineComponent as ee, openBlock as R, createElementBlock as V, normalizeStyle as Fe, unref as T, createElementVNode as Q, createCommentVNode as se, nextTick as le, onMounted as He, onDeactivated as yn, onActivated as wn, onUnmounted as Ze, createVNode as N, resolveComponent as Xt, normalizeClass as fe, withModifiers as Ie, toDisplayString as Gt, Fragment as je, renderList as lt, createBlock as ge, computed as ke, renderSlot as xe, watch as kn, withDirectives as Yt, vShow as Kt, withCtx as ue, TransitionGroup as Jt, mergeProps as _n, Transition as Qt, provide as xn, onBeforeMount as Tn, onBeforeUnmount as Tt, KeepAlive as Sn, resolveDynamicComponent as On, getCurrentInstance as en } from "vue";
|
|
5
5
|
import { useRouter as ut, useRoute as An } from "vue-router";
|
|
6
6
|
const En = {
|
|
7
7
|
VueStackTab: {
|
|
@@ -114,12 +114,12 @@ function Vn(t) {
|
|
|
114
114
|
if (!r)
|
|
115
115
|
return "";
|
|
116
116
|
const i = typeof o == "string" && o ? o : n.value;
|
|
117
|
-
let
|
|
117
|
+
let f = St(s[i], r) || St(s[e.fallbackLocale], r);
|
|
118
118
|
if (o && typeof o != "string") {
|
|
119
|
-
const a = Dn(
|
|
120
|
-
zn(a) || (
|
|
119
|
+
const a = Dn(f, o);
|
|
120
|
+
zn(a) || (f = Pn(f, a));
|
|
121
121
|
}
|
|
122
|
-
return
|
|
122
|
+
return f || r;
|
|
123
123
|
},
|
|
124
124
|
current: xt(n),
|
|
125
125
|
options: xt(t || {}),
|
|
@@ -143,11 +143,11 @@ const Un = () => {
|
|
|
143
143
|
function e(r, o) {
|
|
144
144
|
for (const i in r)
|
|
145
145
|
if (r[i].default) {
|
|
146
|
-
const
|
|
147
|
-
o[
|
|
148
|
-
...r[
|
|
146
|
+
const f = i.substring(i.lastIndexOf("/") + 1, i.lastIndexOf("."));
|
|
147
|
+
o[f] ? o[f] = {
|
|
148
|
+
...r[f],
|
|
149
149
|
...r[i].default
|
|
150
|
-
} : o[
|
|
150
|
+
} : o[f] = r[i].default;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
const n = () => {
|
|
@@ -190,8 +190,8 @@ function qn({
|
|
|
190
190
|
t.scrollIntoView({ behavior: "smooth", block: n, inline: s });
|
|
191
191
|
else {
|
|
192
192
|
const { offsetLeft: r, offsetTop: o } = t;
|
|
193
|
-
let i,
|
|
194
|
-
n === "center" ?
|
|
193
|
+
let i, f;
|
|
194
|
+
n === "center" ? f = o + (t.clientHeight - e.clientHeight) / 2 : f = o, s === "center" ? i = r + (t.clientWidth - e.clientWidth) / 2 : i = r, sn({ wrap: e, left: i, top: f });
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
const ft = (t = ".stack-tab__container *") => {
|
|
@@ -345,10 +345,10 @@ ht.exports;
|
|
|
345
345
|
}
|
|
346
346
|
return o[a][c];
|
|
347
347
|
}
|
|
348
|
-
var
|
|
348
|
+
var f = {
|
|
349
349
|
compressToBase64: function(a) {
|
|
350
350
|
if (a == null) return "";
|
|
351
|
-
var c =
|
|
351
|
+
var c = f._compress(a, 6, function(p) {
|
|
352
352
|
return s.charAt(p);
|
|
353
353
|
});
|
|
354
354
|
switch (c.length % 4) {
|
|
@@ -364,164 +364,164 @@ ht.exports;
|
|
|
364
364
|
}
|
|
365
365
|
},
|
|
366
366
|
decompressFromBase64: function(a) {
|
|
367
|
-
return a == null ? "" : a == "" ? null :
|
|
367
|
+
return a == null ? "" : a == "" ? null : f._decompress(a.length, 32, function(c) {
|
|
368
368
|
return i(s, a.charAt(c));
|
|
369
369
|
});
|
|
370
370
|
},
|
|
371
371
|
compressToUTF16: function(a) {
|
|
372
|
-
return a == null ? "" :
|
|
372
|
+
return a == null ? "" : f._compress(a, 15, function(c) {
|
|
373
373
|
return n(c + 32);
|
|
374
374
|
}) + " ";
|
|
375
375
|
},
|
|
376
376
|
decompressFromUTF16: function(a) {
|
|
377
|
-
return a == null ? "" : a == "" ? null :
|
|
377
|
+
return a == null ? "" : a == "" ? null : f._decompress(a.length, 16384, function(c) {
|
|
378
378
|
return a.charCodeAt(c) - 32;
|
|
379
379
|
});
|
|
380
380
|
},
|
|
381
381
|
//compress into uint8array (UCS-2 big endian format)
|
|
382
382
|
compressToUint8Array: function(a) {
|
|
383
|
-
for (var c =
|
|
384
|
-
var
|
|
385
|
-
p[
|
|
383
|
+
for (var c = f.compress(a), p = new Uint8Array(c.length * 2), u = 0, l = c.length; u < l; u++) {
|
|
384
|
+
var w = c.charCodeAt(u);
|
|
385
|
+
p[u * 2] = w >>> 8, p[u * 2 + 1] = w % 256;
|
|
386
386
|
}
|
|
387
387
|
return p;
|
|
388
388
|
},
|
|
389
389
|
//decompress from uint8array (UCS-2 big endian format)
|
|
390
390
|
decompressFromUint8Array: function(a) {
|
|
391
391
|
if (a == null)
|
|
392
|
-
return
|
|
393
|
-
for (var c = new Array(a.length / 2), p = 0,
|
|
392
|
+
return f.decompress(a);
|
|
393
|
+
for (var c = new Array(a.length / 2), p = 0, u = c.length; p < u; p++)
|
|
394
394
|
c[p] = a[p * 2] * 256 + a[p * 2 + 1];
|
|
395
395
|
var l = [];
|
|
396
|
-
return c.forEach(function(
|
|
397
|
-
l.push(n(
|
|
398
|
-
}),
|
|
396
|
+
return c.forEach(function(w) {
|
|
397
|
+
l.push(n(w));
|
|
398
|
+
}), f.decompress(l.join(""));
|
|
399
399
|
},
|
|
400
400
|
//compress into a string that is already URI encoded
|
|
401
401
|
compressToEncodedURIComponent: function(a) {
|
|
402
|
-
return a == null ? "" :
|
|
402
|
+
return a == null ? "" : f._compress(a, 6, function(c) {
|
|
403
403
|
return r.charAt(c);
|
|
404
404
|
});
|
|
405
405
|
},
|
|
406
406
|
//decompress from an output of compressToEncodedURIComponent
|
|
407
407
|
decompressFromEncodedURIComponent: function(a) {
|
|
408
|
-
return a == null ? "" : a == "" ? null : (a = a.replace(/ /g, "+"),
|
|
408
|
+
return a == null ? "" : a == "" ? null : (a = a.replace(/ /g, "+"), f._decompress(a.length, 32, function(c) {
|
|
409
409
|
return i(r, a.charAt(c));
|
|
410
410
|
}));
|
|
411
411
|
},
|
|
412
412
|
compress: function(a) {
|
|
413
|
-
return
|
|
413
|
+
return f._compress(a, 16, function(c) {
|
|
414
414
|
return n(c);
|
|
415
415
|
});
|
|
416
416
|
},
|
|
417
417
|
_compress: function(a, c, p) {
|
|
418
418
|
if (a == null) return "";
|
|
419
|
-
var
|
|
420
|
-
for (
|
|
421
|
-
if (
|
|
422
|
-
|
|
419
|
+
var u, l, w = {}, x = {}, B = "", E = "", g = "", y = 2, S = 3, m = 2, O = [], d = 0, k = 0, _;
|
|
420
|
+
for (_ = 0; _ < a.length; _ += 1)
|
|
421
|
+
if (B = a.charAt(_), Object.prototype.hasOwnProperty.call(w, B) || (w[B] = S++, x[B] = !0), E = g + B, Object.prototype.hasOwnProperty.call(w, E))
|
|
422
|
+
g = E;
|
|
423
423
|
else {
|
|
424
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
425
|
-
if (
|
|
426
|
-
for (
|
|
427
|
-
|
|
428
|
-
for (l =
|
|
429
|
-
|
|
424
|
+
if (Object.prototype.hasOwnProperty.call(x, g)) {
|
|
425
|
+
if (g.charCodeAt(0) < 256) {
|
|
426
|
+
for (u = 0; u < m; u++)
|
|
427
|
+
d = d << 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++;
|
|
428
|
+
for (l = g.charCodeAt(0), u = 0; u < 8; u++)
|
|
429
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
430
430
|
} else {
|
|
431
|
-
for (l = 1,
|
|
432
|
-
|
|
433
|
-
for (l =
|
|
434
|
-
|
|
431
|
+
for (l = 1, u = 0; u < m; u++)
|
|
432
|
+
d = d << 1 | l, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = 0;
|
|
433
|
+
for (l = g.charCodeAt(0), u = 0; u < 16; u++)
|
|
434
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
435
435
|
}
|
|
436
|
-
|
|
436
|
+
y--, y == 0 && (y = Math.pow(2, m), m++), delete x[g];
|
|
437
437
|
} else
|
|
438
|
-
for (l =
|
|
439
|
-
|
|
440
|
-
|
|
438
|
+
for (l = w[g], u = 0; u < m; u++)
|
|
439
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
440
|
+
y--, y == 0 && (y = Math.pow(2, m), m++), w[E] = S++, g = String(B);
|
|
441
441
|
}
|
|
442
|
-
if (
|
|
443
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
444
|
-
if (
|
|
445
|
-
for (
|
|
446
|
-
|
|
447
|
-
for (l =
|
|
448
|
-
|
|
442
|
+
if (g !== "") {
|
|
443
|
+
if (Object.prototype.hasOwnProperty.call(x, g)) {
|
|
444
|
+
if (g.charCodeAt(0) < 256) {
|
|
445
|
+
for (u = 0; u < m; u++)
|
|
446
|
+
d = d << 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++;
|
|
447
|
+
for (l = g.charCodeAt(0), u = 0; u < 8; u++)
|
|
448
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
449
449
|
} else {
|
|
450
|
-
for (l = 1,
|
|
451
|
-
|
|
452
|
-
for (l =
|
|
453
|
-
|
|
450
|
+
for (l = 1, u = 0; u < m; u++)
|
|
451
|
+
d = d << 1 | l, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = 0;
|
|
452
|
+
for (l = g.charCodeAt(0), u = 0; u < 16; u++)
|
|
453
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
454
454
|
}
|
|
455
|
-
|
|
455
|
+
y--, y == 0 && (y = Math.pow(2, m), m++), delete x[g];
|
|
456
456
|
} else
|
|
457
|
-
for (l =
|
|
458
|
-
|
|
459
|
-
|
|
457
|
+
for (l = w[g], u = 0; u < m; u++)
|
|
458
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
459
|
+
y--, y == 0 && (y = Math.pow(2, m), m++);
|
|
460
460
|
}
|
|
461
|
-
for (l = 2,
|
|
462
|
-
|
|
461
|
+
for (l = 2, u = 0; u < m; u++)
|
|
462
|
+
d = d << 1 | l & 1, k == c - 1 ? (k = 0, O.push(p(d)), d = 0) : k++, l = l >> 1;
|
|
463
463
|
for (; ; )
|
|
464
|
-
if (
|
|
465
|
-
O.push(p(
|
|
464
|
+
if (d = d << 1, k == c - 1) {
|
|
465
|
+
O.push(p(d));
|
|
466
466
|
break;
|
|
467
|
-
} else
|
|
467
|
+
} else k++;
|
|
468
468
|
return O.join("");
|
|
469
469
|
},
|
|
470
470
|
decompress: function(a) {
|
|
471
|
-
return a == null ? "" : a == "" ? null :
|
|
471
|
+
return a == null ? "" : a == "" ? null : f._decompress(a.length, 32768, function(c) {
|
|
472
472
|
return a.charCodeAt(c);
|
|
473
473
|
});
|
|
474
474
|
},
|
|
475
475
|
_decompress: function(a, c, p) {
|
|
476
|
-
var
|
|
477
|
-
for (
|
|
478
|
-
|
|
479
|
-
for (
|
|
480
|
-
|
|
481
|
-
switch (
|
|
476
|
+
var u = [], l = 4, w = 4, x = 3, B = "", E = [], g, y, S, m, O, d, k, _ = { val: p(0), position: c, index: 1 };
|
|
477
|
+
for (g = 0; g < 3; g += 1)
|
|
478
|
+
u[g] = g;
|
|
479
|
+
for (S = 0, O = Math.pow(2, 2), d = 1; d != O; )
|
|
480
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
481
|
+
switch (S) {
|
|
482
482
|
case 0:
|
|
483
|
-
for (
|
|
484
|
-
|
|
485
|
-
|
|
483
|
+
for (S = 0, O = Math.pow(2, 8), d = 1; d != O; )
|
|
484
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
485
|
+
k = n(S);
|
|
486
486
|
break;
|
|
487
487
|
case 1:
|
|
488
|
-
for (
|
|
489
|
-
|
|
490
|
-
|
|
488
|
+
for (S = 0, O = Math.pow(2, 16), d = 1; d != O; )
|
|
489
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
490
|
+
k = n(S);
|
|
491
491
|
break;
|
|
492
492
|
case 2:
|
|
493
493
|
return "";
|
|
494
494
|
}
|
|
495
|
-
for (
|
|
496
|
-
if (
|
|
495
|
+
for (u[3] = k, y = k, E.push(k); ; ) {
|
|
496
|
+
if (_.index > a)
|
|
497
497
|
return "";
|
|
498
|
-
for (
|
|
499
|
-
|
|
500
|
-
switch (
|
|
498
|
+
for (S = 0, O = Math.pow(2, x), d = 1; d != O; )
|
|
499
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
500
|
+
switch (k = S) {
|
|
501
501
|
case 0:
|
|
502
|
-
for (
|
|
503
|
-
|
|
504
|
-
|
|
502
|
+
for (S = 0, O = Math.pow(2, 8), d = 1; d != O; )
|
|
503
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
504
|
+
u[w++] = n(S), k = w - 1, l--;
|
|
505
505
|
break;
|
|
506
506
|
case 1:
|
|
507
|
-
for (
|
|
508
|
-
|
|
509
|
-
|
|
507
|
+
for (S = 0, O = Math.pow(2, 16), d = 1; d != O; )
|
|
508
|
+
m = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = c, _.val = p(_.index++)), S |= (m > 0 ? 1 : 0) * d, d <<= 1;
|
|
509
|
+
u[w++] = n(S), k = w - 1, l--;
|
|
510
510
|
break;
|
|
511
511
|
case 2:
|
|
512
|
-
return
|
|
512
|
+
return E.join("");
|
|
513
513
|
}
|
|
514
|
-
if (l == 0 && (l = Math.pow(2,
|
|
515
|
-
|
|
516
|
-
else if (
|
|
517
|
-
|
|
514
|
+
if (l == 0 && (l = Math.pow(2, x), x++), u[k])
|
|
515
|
+
B = u[k];
|
|
516
|
+
else if (k === w)
|
|
517
|
+
B = y + y.charAt(0);
|
|
518
518
|
else
|
|
519
519
|
return null;
|
|
520
|
-
|
|
520
|
+
E.push(B), u[w++] = y + B.charAt(0), l--, y = B, l == 0 && (l = Math.pow(2, x), x++);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
};
|
|
524
|
-
return
|
|
524
|
+
return f;
|
|
525
525
|
}();
|
|
526
526
|
t != null ? t.exports = e : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("LZString", function() {
|
|
527
527
|
return e;
|
|
@@ -592,8 +592,8 @@ function It(t, e = !1) {
|
|
|
592
592
|
return e ? { h: Number(t & Re), l: Number(t >> Et & Re) } : { h: Number(t >> Et & Re) | 0, l: Number(t & Re) | 0 };
|
|
593
593
|
}
|
|
594
594
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
595
|
-
const ns = (t) => new Uint8Array(t.buffer, t.byteOffset, t.byteLength), Ue = (t) => new Uint32Array(t.buffer, t.byteOffset, Math.floor(t.byteLength / 4)), qe = (t, e) => t << 32 - e | t >>> e,
|
|
596
|
-
function
|
|
595
|
+
const ns = (t) => new Uint8Array(t.buffer, t.byteOffset, t.byteLength), Ue = (t) => new Uint32Array(t.buffer, t.byteOffset, Math.floor(t.byteLength / 4)), qe = (t, e) => t << 32 - e | t >>> e, X = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68, cn = (t) => t << 24 & 4278190080 | t << 8 & 16711680 | t >>> 8 & 65280 | t >>> 24 & 255, ss = X ? (t) => t : (t) => cn(t);
|
|
596
|
+
function Z(t) {
|
|
597
597
|
for (let e = 0; e < t.length; e++)
|
|
598
598
|
t[e] = cn(t[e]);
|
|
599
599
|
}
|
|
@@ -631,16 +631,16 @@ class as extends os {
|
|
|
631
631
|
st(this);
|
|
632
632
|
const { blockLen: n, buffer: s, buffer32: r } = this;
|
|
633
633
|
e = bt(e);
|
|
634
|
-
const o = e.length, i = e.byteOffset,
|
|
634
|
+
const o = e.length, i = e.byteOffset, f = e.buffer;
|
|
635
635
|
for (let a = 0; a < o; ) {
|
|
636
|
-
this.pos === n && (
|
|
636
|
+
this.pos === n && (X || Z(r), this.compress(r, 0, !1), X || Z(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
|
-
|
|
639
|
+
const u = new Uint32Array(f, p, Math.floor((o - a) / 4));
|
|
640
|
+
X || Z(u);
|
|
641
641
|
for (let l = 0; a + n < o; l += r.length, a += n)
|
|
642
|
-
this.length += n, this.compress(
|
|
643
|
-
|
|
642
|
+
this.length += n, this.compress(u, l, !1);
|
|
643
|
+
X || Z(u);
|
|
644
644
|
continue;
|
|
645
645
|
}
|
|
646
646
|
s.set(e.subarray(a, a + c), this.pos), this.pos += c, this.length += c, a += c;
|
|
@@ -650,7 +650,7 @@ class as extends os {
|
|
|
650
650
|
digestInto(e) {
|
|
651
651
|
st(this), an(e, this);
|
|
652
652
|
const { pos: n, buffer32: s } = this;
|
|
653
|
-
this.finished = !0, this.buffer.subarray(n).fill(0),
|
|
653
|
+
this.finished = !0, this.buffer.subarray(n).fill(0), X || Z(s), this.compress(s, 0, !0), X || Z(s);
|
|
654
654
|
const r = Ue(e);
|
|
655
655
|
this.get().forEach((o, i) => r[i] = ss(o));
|
|
656
656
|
}
|
|
@@ -661,8 +661,8 @@ class as extends os {
|
|
|
661
661
|
return this.destroy(), s;
|
|
662
662
|
}
|
|
663
663
|
_cloneInto(e) {
|
|
664
|
-
const { buffer: n, length: s, finished: r, destroyed: o, outputLen: i, pos:
|
|
665
|
-
return e || (e = new this.constructor({ dkLen: i })), e.set(...this.get()), e.length = s, e.finished = r, e.destroyed = o, e.outputLen = i, e.buffer.set(n), e.pos =
|
|
664
|
+
const { buffer: n, length: s, finished: r, destroyed: o, outputLen: i, pos: f } = this;
|
|
665
|
+
return e || (e = new this.constructor({ dkLen: i })), e.set(...this.get()), e.length = s, e.finished = r, e.destroyed = o, e.outputLen = i, e.buffer.set(n), e.pos = f, e;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
668
|
const te = /* @__PURE__ */ new Uint32Array([
|
|
@@ -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 Bt(t, e, n, s, r, o, i,
|
|
685
|
-
let
|
|
684
|
+
function Bt(t, e, n, s, r, o, i, f, a, c, p, u, l, w, x, B, E, g, y, S) {
|
|
685
|
+
let m = 0;
|
|
686
686
|
for (let O = 0; O < s; O++)
|
|
687
|
-
({ a: r, b: a, c: l, d:
|
|
688
|
-
return { v0: r, v1: o, v2: i, v3:
|
|
687
|
+
({ a: r, b: a, c: l, d: E } = oe(r, a, l, E, n[e + t[m++]])), { a: r, b: a, c: l, d: E } = ie(r, a, l, E, n[e + t[m++]]), { a: o, b: c, c: w, d: g } = oe(o, c, w, g, n[e + t[m++]]), { a: o, b: c, c: w, d: g } = ie(o, c, w, g, n[e + t[m++]]), { a: i, b: p, c: x, d: y } = oe(i, p, x, y, n[e + t[m++]]), { a: i, b: p, c: x, d: y } = ie(i, p, x, y, n[e + t[m++]]), { a: f, b: u, c: B, d: S } = oe(f, u, B, S, n[e + t[m++]]), { a: f, b: u, c: B, d: S } = ie(f, u, B, S, n[e + t[m++]]), { a: r, b: c, c: x, d: S } = oe(r, c, x, S, n[e + t[m++]]), { a: r, b: c, c: x, d: S } = ie(r, c, x, S, n[e + t[m++]]), { a: o, b: p, c: B, d: E } = oe(o, p, B, E, n[e + t[m++]]), { a: o, b: p, c: B, d: E } = ie(o, p, B, E, n[e + t[m++]]), { a: i, b: u, c: l, d: g } = oe(i, u, l, g, n[e + t[m++]]), { a: i, b: u, c: l, d: g } = ie(i, u, l, g, n[e + t[m++]]), { a: f, b: a, c: w, d: y } = oe(f, a, w, y, n[e + t[m++]]), { a: f, b: a, c: w, d: y } = ie(f, a, w, y, n[e + t[m++]]);
|
|
688
|
+
return { v0: r, v1: o, v2: i, v3: f, v4: a, v5: c, v6: p, v7: u, v8: l, v9: w, v10: x, v11: B, v12: E, v13: g, v14: y, v15: S };
|
|
689
689
|
}
|
|
690
690
|
const Mt = /* @__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 = [];
|
|
@@ -701,14 +701,14 @@ class vt extends as {
|
|
|
701
701
|
const s = bt(e.key).slice();
|
|
702
702
|
if (s.length !== 32)
|
|
703
703
|
throw new Error("Blake3: key should be 32 byte");
|
|
704
|
-
this.IV = Ue(s),
|
|
704
|
+
this.IV = Ue(s), X || Z(this.IV), this.flags = n | 16;
|
|
705
705
|
} else if (e.context !== void 0) {
|
|
706
706
|
const s = new vt(
|
|
707
707
|
{ dkLen: 32 },
|
|
708
708
|
32
|
|
709
709
|
/* B3_Flags.DERIVE_KEY_CONTEXT */
|
|
710
710
|
).update(e.context).digest();
|
|
711
|
-
this.IV = Ue(s),
|
|
711
|
+
this.IV = Ue(s), X || Z(this.IV), this.flags = n | 64;
|
|
712
712
|
} else
|
|
713
713
|
this.IV = te.slice(), this.flags = n;
|
|
714
714
|
this.state = this.IV.slice(), this.bufferOut = ns(this.bufferOut32);
|
|
@@ -720,15 +720,15 @@ class vt extends as {
|
|
|
720
720
|
set() {
|
|
721
721
|
}
|
|
722
722
|
b2Compress(e, n, s, r = 0) {
|
|
723
|
-
const { state: o, pos: i } = this, { h:
|
|
724
|
-
o[0] = c ^
|
|
723
|
+
const { state: o, pos: i } = this, { h: f, l: a } = It(BigInt(e), !0), { v0: c, v1: p, v2: u, v3: l, v4: w, v5: x, v6: B, v7: E, v8: g, v9: y, v10: S, v11: m, v12: O, v13: d, v14: k, v15: _ } = Bt(Mt, 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 ^ g, o[1] = p ^ y, o[2] = u ^ S, o[3] = l ^ m, o[4] = w ^ O, o[5] = x ^ d, o[6] = B ^ k, o[7] = E ^ _;
|
|
725
725
|
}
|
|
726
726
|
compress(e, n = 0, s = !1) {
|
|
727
727
|
let r = this.flags;
|
|
728
728
|
if (this.chunkPos || (r |= 1), (this.chunkPos === 15 || s) && (r |= 2), s || (this.pos = this.blockLen), this.b2Compress(this.chunksDone, r, e, n), this.chunkPos += 1, this.chunkPos === 16 || s) {
|
|
729
729
|
let o = this.state;
|
|
730
730
|
this.state = this.IV.slice();
|
|
731
|
-
for (let i,
|
|
731
|
+
for (let i, f = this.chunksDone + 1; (s || !(f & 1)) && (i = this.stack.pop()); f >>= 1)
|
|
732
732
|
this.buffer32.set(i, 0), this.buffer32.set(o, 8), this.pos = this.blockLen, this.b2Compress(0, this.flags | 4, this.buffer32, 0), o = this.state, this.state = this.IV.slice();
|
|
733
733
|
this.chunksDone++, this.chunkPos = 0, this.stack.push(o);
|
|
734
734
|
}
|
|
@@ -736,8 +736,8 @@ class vt extends as {
|
|
|
736
736
|
}
|
|
737
737
|
_cloneInto(e) {
|
|
738
738
|
e = super._cloneInto(e);
|
|
739
|
-
const { IV: n, flags: s, state: r, chunkPos: o, posOut: i, chunkOut:
|
|
740
|
-
return e.state.set(r.slice()), e.stack = a.map((p) => Uint32Array.from(p)), e.IV.set(n), e.flags = s, e.chunkPos = o, e.chunksDone = c, e.posOut = i, e.chunkOut =
|
|
739
|
+
const { IV: n, flags: s, state: r, chunkPos: o, posOut: i, chunkOut: f, stack: a, chunksDone: c } = this;
|
|
740
|
+
return e.state.set(r.slice()), e.stack = a.map((p) => Uint32Array.from(p)), e.IV.set(n), e.flags = s, e.chunkPos = o, e.chunksDone = c, e.posOut = i, e.chunkOut = f, e.enableXOF = this.enableXOF, e.bufferOut32.set(this.bufferOut32), e;
|
|
741
741
|
}
|
|
742
742
|
destroy() {
|
|
743
743
|
this.destroyed = !0, this.state.fill(0), this.buffer32.fill(0), this.IV.fill(0), this.bufferOut32.fill(0);
|
|
@@ -746,17 +746,17 @@ class vt extends as {
|
|
|
746
746
|
}
|
|
747
747
|
// Same as b2Compress, but doesn't modify state and returns 16 u32 array (instead of 8)
|
|
748
748
|
b2CompressOut() {
|
|
749
|
-
const { state: e, pos: n, flags: s, buffer32: r, bufferOut32: o } = this, { h: i, l:
|
|
750
|
-
|
|
751
|
-
const { v0: a, v1: c, v2: p, v3:
|
|
752
|
-
o[0] = a ^
|
|
749
|
+
const { state: e, pos: n, flags: s, buffer32: r, bufferOut32: o } = this, { h: i, l: f } = It(BigInt(this.chunkOut++));
|
|
750
|
+
X || Z(r);
|
|
751
|
+
const { v0: a, v1: c, v2: p, v3: u, v4: l, v5: w, v6: x, v7: B, v8: E, v9: g, v10: y, v11: S, v12: m, v13: O, v14: d, v15: k } = Bt(Mt, 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 ^ E, o[1] = c ^ g, o[2] = p ^ y, o[3] = u ^ S, o[4] = l ^ m, o[5] = w ^ O, o[6] = x ^ d, o[7] = B ^ k, o[8] = e[0] ^ E, o[9] = e[1] ^ g, o[10] = e[2] ^ y, o[11] = e[3] ^ S, o[12] = e[4] ^ m, o[13] = e[5] ^ O, o[14] = e[6] ^ d, o[15] = e[7] ^ k, X || (Z(r), Z(o)), this.posOut = 0;
|
|
753
753
|
}
|
|
754
754
|
finish() {
|
|
755
755
|
if (this.finished)
|
|
756
756
|
return;
|
|
757
757
|
this.finished = !0, this.buffer.fill(0, this.pos);
|
|
758
758
|
let e = this.flags | 8;
|
|
759
|
-
this.stack.length ? (e |= 4,
|
|
759
|
+
this.stack.length ? (e |= 4, X || Z(this.buffer32), this.compress(this.buffer32, 0, !0), X || Z(this.buffer32), this.chunksDone = 0, this.pos = this.blockLen) : e |= (this.chunkPos ? 0 : 1) | 2, this.flags = e, this.b2CompressOut();
|
|
760
760
|
}
|
|
761
761
|
writeInto(e) {
|
|
762
762
|
st(this, !1), pt(e), this.finish();
|
|
@@ -805,8 +805,8 @@ const cs = /* @__PURE__ */ is((t) => new vt(t)), rt = (t) => {
|
|
|
805
805
|
value: n[o]
|
|
806
806
|
});
|
|
807
807
|
s.sort((o, i) => {
|
|
808
|
-
let
|
|
809
|
-
return o.key > i.key ?
|
|
808
|
+
let f = 0;
|
|
809
|
+
return o.key > i.key ? f = 1 : o.key < i.key && (f = -1), f;
|
|
810
810
|
});
|
|
811
811
|
const r = cs(`${t}|${e}|${JSON.stringify(s)}`);
|
|
812
812
|
return nt.encode(r);
|
|
@@ -880,7 +880,7 @@ const ds = fs(), hs = {
|
|
|
880
880
|
t.provide("tabEmitter", ds);
|
|
881
881
|
}
|
|
882
882
|
}, ye = () => ct("tabEmitter");
|
|
883
|
-
var
|
|
883
|
+
var j = /* @__PURE__ */ ((t) => (t.PAGE_LOADING = "PAGE_LOADING", t.TAB_ACTIVE = "TAB_ACTIVE", t))(j || {});
|
|
884
884
|
const ps = /* @__PURE__ */ ee({
|
|
885
885
|
__name: "PageLoading",
|
|
886
886
|
props: {
|
|
@@ -888,41 +888,41 @@ const ps = /* @__PURE__ */ ee({
|
|
|
888
888
|
},
|
|
889
889
|
setup(t) {
|
|
890
890
|
const e = t, n = ye(), s = D(!1);
|
|
891
|
-
return n.on(
|
|
891
|
+
return n.on(j.PAGE_LOADING, ({ tId: r, value: o }) => {
|
|
892
892
|
r === e.tId && (s.value = o);
|
|
893
893
|
}), (r, o) => s.value ? (R(), V("div", {
|
|
894
894
|
key: 0,
|
|
895
895
|
class: "stack-tab-loading-mask",
|
|
896
|
-
style: Fe({ zIndex:
|
|
896
|
+
style: Fe({ zIndex: T(ft)(".cache-page-wrapper *") })
|
|
897
897
|
}, o[0] || (o[0] = [
|
|
898
898
|
Q("div", { class: "stack-tab-loading--spin turn" }, null, -1)
|
|
899
899
|
]), 4)) : se("", !0);
|
|
900
900
|
}
|
|
901
|
-
}), M = D([]), Ye = [], W = D([]), ae = /* @__PURE__ */ new Map(), de = /* @__PURE__ */ new Set(),
|
|
902
|
-
let
|
|
901
|
+
}), M = D([]), Ye = [], W = D([]), ae = /* @__PURE__ */ new Map(), de = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), he = D(!0), Ke = "stacktab-active-tab", pe = /* @__PURE__ */ new Map(), Lt = D(!1);
|
|
902
|
+
let $e = 0, zt = !1, Je = "";
|
|
903
903
|
const Ce = () => {
|
|
904
904
|
const t = ut(), e = ye(), {
|
|
905
905
|
t: n
|
|
906
906
|
} = Me(), s = () => M.value.length, r = (b) => {
|
|
907
|
-
for (const
|
|
908
|
-
const h = ne(
|
|
907
|
+
for (const I of b) {
|
|
908
|
+
const h = ne(I, {
|
|
909
909
|
id: tt(),
|
|
910
910
|
refreshable: !0,
|
|
911
911
|
closable: !0,
|
|
912
912
|
iframe: !1
|
|
913
|
-
}),
|
|
913
|
+
}), L = rt(h), F = mt(h.path), P = ne(h, {
|
|
914
914
|
closable: !0,
|
|
915
915
|
refreshable: !0,
|
|
916
916
|
iframe: !1
|
|
917
|
-
}), ze = Ct(h.id,
|
|
917
|
+
}), ze = Ct(h.id, F.path, F.query), G = {
|
|
918
918
|
id: ze,
|
|
919
919
|
tabId: h.id,
|
|
920
|
-
path:
|
|
921
|
-
query: ne(
|
|
922
|
-
__tab:
|
|
920
|
+
path: F.path,
|
|
921
|
+
query: ne(F.query, {
|
|
922
|
+
__tab: L
|
|
923
923
|
})
|
|
924
924
|
}, we = new Xe();
|
|
925
|
-
we.push(
|
|
925
|
+
we.push(G);
|
|
926
926
|
const Y = {
|
|
927
927
|
id: h.id,
|
|
928
928
|
title: P.title,
|
|
@@ -938,22 +938,22 @@ const Ce = () => {
|
|
|
938
938
|
}
|
|
939
939
|
const v = window.sessionStorage.getItem(Ke);
|
|
940
940
|
if (v != null) {
|
|
941
|
-
const
|
|
941
|
+
const I = JSON.parse(v, (L, F) => L === "pages" ? new Xe(F) : F);
|
|
942
942
|
let h = !1;
|
|
943
|
-
for (const
|
|
944
|
-
if (
|
|
943
|
+
for (const L of M.value)
|
|
944
|
+
if (L.id === I.id) {
|
|
945
945
|
h = !0;
|
|
946
946
|
break;
|
|
947
947
|
}
|
|
948
|
-
h || M.value.push(
|
|
948
|
+
h || M.value.push(I);
|
|
949
949
|
}
|
|
950
|
-
Lt = !0;
|
|
950
|
+
Lt.value = !0;
|
|
951
951
|
}, o = (b) => {
|
|
952
952
|
for (const v of M.value)
|
|
953
953
|
if (v.id === b)
|
|
954
954
|
return !0;
|
|
955
955
|
return !1;
|
|
956
|
-
}, i = () => $e <= 0 || $e > 0 && $e > M.value.length,
|
|
956
|
+
}, i = () => $e <= 0 || $e > 0 && $e > M.value.length, f = (b) => new Promise((v) => {
|
|
957
957
|
M.value.push(b), v(!0);
|
|
958
958
|
}), a = (b) => {
|
|
959
959
|
for (const v of M.value)
|
|
@@ -961,31 +961,31 @@ const Ce = () => {
|
|
|
961
961
|
return v;
|
|
962
962
|
return null;
|
|
963
963
|
}, c = (b, v) => {
|
|
964
|
-
let
|
|
964
|
+
let I, h;
|
|
965
965
|
if (b.query.__tab ? h = ls(b.query.__tab) : (h = {
|
|
966
966
|
id: tt(),
|
|
967
967
|
title: n("VueStackTab.undefined"),
|
|
968
968
|
closable: !0,
|
|
969
969
|
refreshable: !0,
|
|
970
970
|
iframe: !1
|
|
971
|
-
}, b.query.__tab = rt(h)),
|
|
971
|
+
}, b.query.__tab = rt(h)), H.has(h.id) || !v)
|
|
972
972
|
return;
|
|
973
|
-
const
|
|
973
|
+
const L = b.matched[b.matched.length - 1].path, F = b.path.endsWith("/") ? b.path.substring(0, b.path.length - 1) : b.path, P = Ct(h.id, L === F ? F : b.path, b.query.valueOf());
|
|
974
974
|
if (de.has(P))
|
|
975
975
|
return ae.get(P);
|
|
976
976
|
const ze = b.query.__src;
|
|
977
|
-
let
|
|
978
|
-
for (const Y of
|
|
979
|
-
Y.active = !1, Y.id === h.id && (
|
|
977
|
+
let G = null;
|
|
978
|
+
for (const Y of T(M))
|
|
979
|
+
Y.active = !1, Y.id === h.id && (G = Y);
|
|
980
980
|
const we = {
|
|
981
981
|
id: P,
|
|
982
982
|
tabId: h.id,
|
|
983
983
|
path: b.path,
|
|
984
984
|
query: b.query
|
|
985
985
|
};
|
|
986
|
-
if (
|
|
986
|
+
if (G === null) {
|
|
987
987
|
const Y = new Xe();
|
|
988
|
-
Y.push(we),
|
|
988
|
+
Y.push(we), G = {
|
|
989
989
|
id: h.id,
|
|
990
990
|
title: h.title,
|
|
991
991
|
closable: h.closable,
|
|
@@ -994,15 +994,15 @@ const Ce = () => {
|
|
|
994
994
|
url: decodeURIComponent(ze),
|
|
995
995
|
active: !0,
|
|
996
996
|
pages: Y
|
|
997
|
-
},
|
|
998
|
-
e.emit(
|
|
997
|
+
}, f(G).then(() => {
|
|
998
|
+
e.emit(j.TAB_ACTIVE, {
|
|
999
999
|
id: h.id,
|
|
1000
1000
|
isRoute: !1
|
|
1001
1001
|
});
|
|
1002
1002
|
});
|
|
1003
1003
|
} else
|
|
1004
|
-
|
|
1005
|
-
return
|
|
1004
|
+
G.active = !0, (G.pages.isEmpty() || G.pages.peek().id !== we.id) && G.pages.push(we);
|
|
1005
|
+
return q(G), ae.has(P) ? I = ae.get(P) : (I = /* @__PURE__ */ ee({
|
|
1006
1006
|
name: P,
|
|
1007
1007
|
components: {
|
|
1008
1008
|
DynamicComponent: v
|
|
@@ -1012,11 +1012,11 @@ const Ce = () => {
|
|
|
1012
1012
|
},
|
|
1013
1013
|
setup(Y, kt) {
|
|
1014
1014
|
return He(() => {
|
|
1015
|
-
kt.emit("onLoaded"),
|
|
1015
|
+
kt.emit("onLoaded"), w(P, ".cache-page-wrapper");
|
|
1016
1016
|
}), yn(() => {
|
|
1017
|
-
|
|
1017
|
+
u(P);
|
|
1018
1018
|
}), wn(() => {
|
|
1019
|
-
kt.emit("onLoaded"), p(P),
|
|
1019
|
+
kt.emit("onLoaded"), p(P), z(), H.clear(), v.props = null;
|
|
1020
1020
|
}), Ze(() => {
|
|
1021
1021
|
l(P);
|
|
1022
1022
|
}), () => N("div", {
|
|
@@ -1030,140 +1030,140 @@ const Ce = () => {
|
|
|
1030
1030
|
tId: h.id
|
|
1031
1031
|
}, null)]);
|
|
1032
1032
|
}
|
|
1033
|
-
}), ae.set(P,
|
|
1033
|
+
}), ae.set(P, I)), A(P), I;
|
|
1034
1034
|
}, p = (b) => {
|
|
1035
1035
|
const v = pe.get(b);
|
|
1036
1036
|
if (v) {
|
|
1037
|
-
for (const
|
|
1038
|
-
if (document.querySelector(
|
|
1039
|
-
const h = v.get(
|
|
1040
|
-
document.querySelector(
|
|
1037
|
+
for (const I of v.keys())
|
|
1038
|
+
if (document.querySelector(I)) {
|
|
1039
|
+
const h = v.get(I);
|
|
1040
|
+
document.querySelector(I).scrollTop = h.top, document.querySelector(I).scrollLeft = h.left;
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
|
-
},
|
|
1044
|
-
var
|
|
1043
|
+
}, u = (b) => {
|
|
1044
|
+
var I, h;
|
|
1045
1045
|
const v = pe.get(b);
|
|
1046
1046
|
if (v)
|
|
1047
|
-
for (const
|
|
1048
|
-
const
|
|
1049
|
-
top: ((
|
|
1050
|
-
left: ((h = document.querySelector(
|
|
1047
|
+
for (const L of v.keys()) {
|
|
1048
|
+
const F = {
|
|
1049
|
+
top: ((I = document.querySelector(L)) == null ? void 0 : I.scrollTop) ?? 0,
|
|
1050
|
+
left: ((h = document.querySelector(L)) == null ? void 0 : h.scrollLeft) ?? 0
|
|
1051
1051
|
};
|
|
1052
|
-
v.set(
|
|
1052
|
+
v.set(L, F);
|
|
1053
1053
|
}
|
|
1054
1054
|
}, l = (b) => {
|
|
1055
1055
|
const v = pe.get(b);
|
|
1056
1056
|
v && (v.clear(), pe.delete(b));
|
|
1057
|
-
},
|
|
1057
|
+
}, w = (b, ...v) => {
|
|
1058
1058
|
pe.has(b) || pe.set(b, /* @__PURE__ */ new Map());
|
|
1059
|
-
const
|
|
1059
|
+
const I = pe.get(b);
|
|
1060
1060
|
for (const h of v)
|
|
1061
|
-
|
|
1061
|
+
I.set(h, {
|
|
1062
1062
|
top: 0,
|
|
1063
1063
|
left: 0
|
|
1064
1064
|
});
|
|
1065
|
-
},
|
|
1065
|
+
}, x = (b) => {
|
|
1066
1066
|
const v = a(b.id);
|
|
1067
|
-
for (const
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
},
|
|
1067
|
+
for (const I of v.pages.list())
|
|
1068
|
+
$(I.id);
|
|
1069
|
+
z(), v.pages.clear();
|
|
1070
|
+
}, B = (b) => {
|
|
1071
1071
|
let v = "";
|
|
1072
|
-
const
|
|
1072
|
+
const I = a(b);
|
|
1073
1073
|
for (let h = M.value.length - 1; h >= 0; h--)
|
|
1074
|
-
if (b ===
|
|
1075
|
-
if (!
|
|
1074
|
+
if (b === T(M)[h].id) {
|
|
1075
|
+
if (!T(M)[h].closable)
|
|
1076
1076
|
return b;
|
|
1077
|
-
for (const
|
|
1078
|
-
L
|
|
1079
|
-
|
|
1077
|
+
for (const L of T(M)[h].pages.list())
|
|
1078
|
+
$(L.id), H.add(T(M)[h].id);
|
|
1079
|
+
T(M)[h].pages.clear(), M.value.length > 1 && T(M)[h].active && (h === 0 ? v = T(M)[h + 1].id : v = T(M)[h - 1].id), T(M).splice(h, 1);
|
|
1080
1080
|
break;
|
|
1081
1081
|
}
|
|
1082
|
-
return v !== "" && e.emit(
|
|
1082
|
+
return v !== "" && e.emit(j.TAB_ACTIVE, {
|
|
1083
1083
|
id: v
|
|
1084
|
-
}),
|
|
1085
|
-
},
|
|
1086
|
-
const b =
|
|
1084
|
+
}), I != null && I.active || (z(), H.clear()), v;
|
|
1085
|
+
}, E = () => {
|
|
1086
|
+
const b = T(M);
|
|
1087
1087
|
for (let v = b.length - 1; v >= 0; v--)
|
|
1088
1088
|
if (b[v].closable) {
|
|
1089
|
-
for (const
|
|
1090
|
-
|
|
1091
|
-
|
|
1089
|
+
for (const I of b[v].pages.list())
|
|
1090
|
+
$(I.id), H.add(b[v].id);
|
|
1091
|
+
T(M)[v].pages.clear(), T(M).splice(v, 1);
|
|
1092
1092
|
}
|
|
1093
1093
|
for (const v of b)
|
|
1094
1094
|
if (v.active) {
|
|
1095
|
-
|
|
1095
|
+
z(), H.clear();
|
|
1096
1096
|
return;
|
|
1097
1097
|
}
|
|
1098
|
-
e.emit(
|
|
1098
|
+
e.emit(j.TAB_ACTIVE, {
|
|
1099
1099
|
id: b[b.length - 1].id
|
|
1100
1100
|
});
|
|
1101
|
-
},
|
|
1102
|
-
const v =
|
|
1103
|
-
let
|
|
1101
|
+
}, g = (b) => {
|
|
1102
|
+
const v = T(M);
|
|
1103
|
+
let I;
|
|
1104
1104
|
for (let h = v.length - 1; h >= 0; h--)
|
|
1105
1105
|
if (v[h].id === b)
|
|
1106
|
-
|
|
1106
|
+
I = v[h];
|
|
1107
1107
|
else if (v[h].closable && v[h].id !== b) {
|
|
1108
|
-
for (const
|
|
1109
|
-
L
|
|
1110
|
-
|
|
1108
|
+
for (const L of v[h].pages.list())
|
|
1109
|
+
$(L.id), H.add(v[h].id);
|
|
1110
|
+
T(M)[h].pages.clear(), T(M).splice(h, 1);
|
|
1111
1111
|
}
|
|
1112
|
-
|
|
1112
|
+
I.active ? (z(), H.clear()) : e.emit(j.TAB_ACTIVE, {
|
|
1113
1113
|
id: b
|
|
1114
1114
|
});
|
|
1115
|
-
},
|
|
1115
|
+
}, y = (b) => {
|
|
1116
1116
|
let v = -1;
|
|
1117
|
-
const
|
|
1118
|
-
for (let h = 0; h <
|
|
1119
|
-
if (
|
|
1117
|
+
const I = T(M);
|
|
1118
|
+
for (let h = 0; h < I.length; h++)
|
|
1119
|
+
if (I[h].id === b) {
|
|
1120
1120
|
v = h - 1;
|
|
1121
1121
|
break;
|
|
1122
1122
|
}
|
|
1123
1123
|
for (let h = v; h >= 0; h--)
|
|
1124
|
-
if (
|
|
1125
|
-
for (const
|
|
1126
|
-
L
|
|
1127
|
-
|
|
1124
|
+
if (I[h].closable) {
|
|
1125
|
+
for (const L of I[h].pages.list())
|
|
1126
|
+
$(L.id), H.add(I[h].id);
|
|
1127
|
+
T(M)[h].pages.clear(), T(M).splice(h, 1);
|
|
1128
1128
|
}
|
|
1129
|
-
for (const h of
|
|
1129
|
+
for (const h of I)
|
|
1130
1130
|
if (h.active) {
|
|
1131
|
-
|
|
1131
|
+
z(), H.clear();
|
|
1132
1132
|
return;
|
|
1133
1133
|
}
|
|
1134
|
-
e.emit(
|
|
1135
|
-
id:
|
|
1134
|
+
e.emit(j.TAB_ACTIVE, {
|
|
1135
|
+
id: I[0].id
|
|
1136
1136
|
});
|
|
1137
|
-
},
|
|
1138
|
-
const v =
|
|
1139
|
-
let
|
|
1137
|
+
}, S = (b) => {
|
|
1138
|
+
const v = T(M);
|
|
1139
|
+
let I = v.length;
|
|
1140
1140
|
for (let h = 0; h < v.length; h++)
|
|
1141
1141
|
if (v[h].id === b) {
|
|
1142
|
-
|
|
1142
|
+
I = h + 1;
|
|
1143
1143
|
break;
|
|
1144
1144
|
}
|
|
1145
|
-
for (let h = v.length - 1; h >=
|
|
1145
|
+
for (let h = v.length - 1; h >= I; h--)
|
|
1146
1146
|
if (v[h].closable) {
|
|
1147
|
-
for (const
|
|
1148
|
-
L
|
|
1149
|
-
|
|
1147
|
+
for (const L of v[h].pages.list())
|
|
1148
|
+
$(L.id), H.add(v[h].id);
|
|
1149
|
+
T(M)[h].pages.clear(), T(M).splice(h, 1);
|
|
1150
1150
|
}
|
|
1151
1151
|
for (const h of v)
|
|
1152
1152
|
if (h.active) {
|
|
1153
|
-
|
|
1153
|
+
z(), H.clear();
|
|
1154
1154
|
return;
|
|
1155
1155
|
}
|
|
1156
|
-
e.emit(
|
|
1156
|
+
e.emit(j.TAB_ACTIVE, {
|
|
1157
1157
|
id: v[v.length - 1].id
|
|
1158
1158
|
});
|
|
1159
|
-
},
|
|
1159
|
+
}, m = (b) => {
|
|
1160
1160
|
var v;
|
|
1161
|
-
for (const
|
|
1162
|
-
if (
|
|
1163
|
-
const h = (v =
|
|
1164
|
-
for (let
|
|
1165
|
-
if (W.value[
|
|
1166
|
-
W.value.splice(
|
|
1161
|
+
for (const I of T(M))
|
|
1162
|
+
if (I.id === b) {
|
|
1163
|
+
const h = (v = I.pages.peek()) == null ? void 0 : v.id;
|
|
1164
|
+
for (let L = W.value.length - 1; L >= 0; L--)
|
|
1165
|
+
if (W.value[L] === h) {
|
|
1166
|
+
W.value.splice(L, 1), I.active && (he.value = !1, le(() => {
|
|
1167
1167
|
he.value = !0;
|
|
1168
1168
|
}));
|
|
1169
1169
|
break;
|
|
@@ -1176,8 +1176,8 @@ const Ce = () => {
|
|
|
1176
1176
|
b.add(v.pages.peek().id);
|
|
1177
1177
|
});
|
|
1178
1178
|
for (let v = W.value.length - 1; v >= 0; v--) {
|
|
1179
|
-
const
|
|
1180
|
-
b.has(
|
|
1179
|
+
const I = W.value[v];
|
|
1180
|
+
b.has(I) && W.value.splice(v, 1);
|
|
1181
1181
|
}
|
|
1182
1182
|
le(() => {
|
|
1183
1183
|
he.value = !1, le(() => {
|
|
@@ -1186,56 +1186,56 @@ const Ce = () => {
|
|
|
1186
1186
|
}, 300);
|
|
1187
1187
|
});
|
|
1188
1188
|
});
|
|
1189
|
-
},
|
|
1189
|
+
}, d = (b, v) => {
|
|
1190
1190
|
ae.set(b, v);
|
|
1191
|
-
},
|
|
1191
|
+
}, k = (b) => ae.get(b), _ = (b) => {
|
|
1192
1192
|
ae.delete(b);
|
|
1193
|
-
},
|
|
1193
|
+
}, $ = (b) => {
|
|
1194
1194
|
de.add(b);
|
|
1195
|
-
},
|
|
1195
|
+
}, z = () => {
|
|
1196
1196
|
if (de.size > 0) {
|
|
1197
1197
|
for (let b = W.value.length - 1; b >= 0; b--)
|
|
1198
|
-
de.has(W.value[b]) &&
|
|
1198
|
+
de.has(W.value[b]) && T(W).splice(b, 1);
|
|
1199
1199
|
for (const b of de)
|
|
1200
|
-
|
|
1200
|
+
_(b);
|
|
1201
1201
|
de.clear();
|
|
1202
1202
|
}
|
|
1203
|
-
},
|
|
1203
|
+
}, U = (b) => {
|
|
1204
1204
|
for (let v = W.value.length - 1; v >= 0; v--)
|
|
1205
|
-
b === W.value[v] &&
|
|
1205
|
+
b === W.value[v] && T(W).splice(v, 1);
|
|
1206
1206
|
}, A = (b) => {
|
|
1207
1207
|
new Set(W.value).has(b) || W.value.push(b);
|
|
1208
1208
|
}, C = (b, v = !0) => {
|
|
1209
1209
|
e.emit("FORWARD");
|
|
1210
|
-
for (let
|
|
1211
|
-
const h = M.value[
|
|
1210
|
+
for (let I = M.value.length - 1; I >= 0; I--) {
|
|
1211
|
+
const h = M.value[I];
|
|
1212
1212
|
if (h.id === b) {
|
|
1213
1213
|
if (h.active)
|
|
1214
1214
|
break;
|
|
1215
|
-
if (h.active = !0,
|
|
1216
|
-
const
|
|
1215
|
+
if (h.active = !0, q(h), v) {
|
|
1216
|
+
const L = h.pages.peek();
|
|
1217
1217
|
t.push({
|
|
1218
|
-
path:
|
|
1219
|
-
query:
|
|
1218
|
+
path: L.path,
|
|
1219
|
+
query: L.query
|
|
1220
1220
|
});
|
|
1221
1221
|
}
|
|
1222
1222
|
} else
|
|
1223
|
-
M.value[
|
|
1223
|
+
M.value[I].active = !1;
|
|
1224
1224
|
}
|
|
1225
|
-
},
|
|
1225
|
+
}, q = (b) => {
|
|
1226
1226
|
window.sessionStorage.setItem(Je + Ke, JSON.stringify(b));
|
|
1227
1227
|
}, re = () => {
|
|
1228
1228
|
window.sessionStorage.removeItem(Je + Ke);
|
|
1229
1229
|
}, Le = () => {
|
|
1230
1230
|
he.value = !1, wt(), le(() => {
|
|
1231
|
-
|
|
1231
|
+
T(M).push(...Ye), e.emit(j.TAB_ACTIVE, {
|
|
1232
1232
|
id: Ye[0].id
|
|
1233
1233
|
}), le(() => {
|
|
1234
1234
|
he.value = !0;
|
|
1235
1235
|
});
|
|
1236
1236
|
});
|
|
1237
1237
|
}, wt = () => {
|
|
1238
|
-
|
|
1238
|
+
T(M).splice(0), ae.clear(), de.clear(), H.clear(), T(W).splice(0);
|
|
1239
1239
|
};
|
|
1240
1240
|
return {
|
|
1241
1241
|
tabs: M,
|
|
@@ -1252,25 +1252,25 @@ const Ce = () => {
|
|
|
1252
1252
|
destroy: wt,
|
|
1253
1253
|
reset: Le,
|
|
1254
1254
|
addCache: A,
|
|
1255
|
-
removeCache:
|
|
1255
|
+
removeCache: U,
|
|
1256
1256
|
getTab: a,
|
|
1257
|
-
addTab:
|
|
1258
|
-
removeTab:
|
|
1259
|
-
removeAllTabs:
|
|
1260
|
-
removeLeftTabs:
|
|
1261
|
-
removeRightTabs:
|
|
1262
|
-
removeOtherTabs:
|
|
1257
|
+
addTab: f,
|
|
1258
|
+
removeTab: B,
|
|
1259
|
+
removeAllTabs: E,
|
|
1260
|
+
removeLeftTabs: y,
|
|
1261
|
+
removeRightTabs: S,
|
|
1262
|
+
removeOtherTabs: g,
|
|
1263
1263
|
hasTab: o,
|
|
1264
|
-
renewTab:
|
|
1264
|
+
renewTab: x,
|
|
1265
1265
|
addPage: c,
|
|
1266
|
-
addComponent:
|
|
1267
|
-
getComponent:
|
|
1268
|
-
removeComponent:
|
|
1269
|
-
markDeletableCache:
|
|
1270
|
-
removeDeletableCache:
|
|
1271
|
-
refreshTab:
|
|
1266
|
+
addComponent: d,
|
|
1267
|
+
getComponent: k,
|
|
1268
|
+
removeComponent: _,
|
|
1269
|
+
markDeletableCache: $,
|
|
1270
|
+
removeDeletableCache: z,
|
|
1271
|
+
refreshTab: m,
|
|
1272
1272
|
refreshAllTabs: O,
|
|
1273
|
-
addPageScroller:
|
|
1273
|
+
addPageScroller: w,
|
|
1274
1274
|
setGlobalScroll: (b) => {
|
|
1275
1275
|
zt = b;
|
|
1276
1276
|
},
|
|
@@ -1317,70 +1317,70 @@ const Ce = () => {
|
|
|
1317
1317
|
}), {
|
|
1318
1318
|
removeTab: o,
|
|
1319
1319
|
removeAllTabs: i,
|
|
1320
|
-
removeLeftTabs:
|
|
1320
|
+
removeLeftTabs: f,
|
|
1321
1321
|
removeRightTabs: a,
|
|
1322
1322
|
refreshTab: c,
|
|
1323
1323
|
refreshAllTabs: p,
|
|
1324
|
-
removeOtherTabs:
|
|
1324
|
+
removeOtherTabs: u
|
|
1325
1325
|
} = Ce();
|
|
1326
1326
|
return He(() => {
|
|
1327
|
-
const l = s.value ? s.value.clientWidth : 0,
|
|
1328
|
-
r.left + l >
|
|
1329
|
-
}), (l,
|
|
1327
|
+
const l = s.value ? s.value.clientWidth : 0, w = window.innerWidth;
|
|
1328
|
+
r.left + l > w && (r.left = w - l - 5);
|
|
1329
|
+
}), (l, w) => (R(), V("div", {
|
|
1330
1330
|
ref_key: "contextmenu",
|
|
1331
1331
|
ref: s,
|
|
1332
1332
|
class: "stack-tab__contextmenu",
|
|
1333
1333
|
style: Fe({
|
|
1334
1334
|
left: `${r.left}px`,
|
|
1335
1335
|
top: `${r.top}px`,
|
|
1336
|
-
"z-index":
|
|
1336
|
+
"z-index": T(ft)(".stack-tab,.stack-tab *")
|
|
1337
1337
|
})
|
|
1338
1338
|
}, [
|
|
1339
1339
|
N(ce, {
|
|
1340
1340
|
icon: "stack-tab__icon-reload svg-mask",
|
|
1341
|
-
title:
|
|
1342
|
-
onClick:
|
|
1341
|
+
title: T(n)("VueStackTab.reload"),
|
|
1342
|
+
onClick: w[0] || (w[0] = (x) => T(c)(l.tabItem.id))
|
|
1343
1343
|
}, null, 8, ["title"]),
|
|
1344
1344
|
N(ce, {
|
|
1345
1345
|
icon: "stack-tab__icon-reload-all svg-mask",
|
|
1346
|
-
title:
|
|
1347
|
-
onClick:
|
|
1346
|
+
title: T(n)("VueStackTab.reloadAll"),
|
|
1347
|
+
onClick: T(p)
|
|
1348
1348
|
}, null, 8, ["title", "onClick"]),
|
|
1349
1349
|
N(ce, {
|
|
1350
1350
|
icon: "stack-tab__icon-close svg-mask",
|
|
1351
|
-
title:
|
|
1351
|
+
title: T(n)("VueStackTab.close"),
|
|
1352
1352
|
disabled: l.tabItem.closable ? null : "disabled",
|
|
1353
|
-
onClick:
|
|
1353
|
+
onClick: w[1] || (w[1] = (x) => T(o)(l.tabItem.id))
|
|
1354
1354
|
}, null, 8, ["title", "disabled"]),
|
|
1355
1355
|
N(ce, {
|
|
1356
1356
|
icon: "stack-tab__icon-close-lefts svg-mask",
|
|
1357
|
-
title:
|
|
1357
|
+
title: T(n)("VueStackTab.closeLeft"),
|
|
1358
1358
|
disabled: l.index <= 0 ? "disabled" : null,
|
|
1359
|
-
onClick:
|
|
1359
|
+
onClick: w[2] || (w[2] = (x) => T(f)(l.tabItem.id))
|
|
1360
1360
|
}, null, 8, ["title", "disabled"]),
|
|
1361
1361
|
N(ce, {
|
|
1362
1362
|
icon: "stack-tab__icon-close-rights svg-mask",
|
|
1363
|
-
title:
|
|
1363
|
+
title: T(n)("VueStackTab.closeRight"),
|
|
1364
1364
|
disabled: l.index >= l.max - 1 ? "disabled" : null,
|
|
1365
|
-
onClick:
|
|
1365
|
+
onClick: w[3] || (w[3] = (x) => T(a)(l.tabItem.id))
|
|
1366
1366
|
}, null, 8, ["title", "disabled"]),
|
|
1367
1367
|
N(ce, {
|
|
1368
1368
|
icon: "stack-tab__icon-close-others svg-mask",
|
|
1369
|
-
title:
|
|
1370
|
-
onClick:
|
|
1369
|
+
title: T(n)("VueStackTab.closeOthers"),
|
|
1370
|
+
onClick: w[4] || (w[4] = (x) => T(u)(l.tabItem.id))
|
|
1371
1371
|
}, null, 8, ["title"]),
|
|
1372
1372
|
N(ce, {
|
|
1373
1373
|
icon: "stack-tab__icon-close-all svg-mask",
|
|
1374
|
-
title:
|
|
1375
|
-
onClick:
|
|
1374
|
+
title: T(n)("VueStackTab.closeAll"),
|
|
1375
|
+
onClick: T(i)
|
|
1376
1376
|
}, null, 8, ["title", "onClick"]),
|
|
1377
1377
|
l.contextMenu !== void 0 && l.contextMenu.length > 0 ? (R(), V("div", vs)) : se("", !0),
|
|
1378
|
-
(R(!0), V(je, null, lt(l.contextMenu, (
|
|
1379
|
-
key:
|
|
1380
|
-
icon:
|
|
1381
|
-
title:
|
|
1382
|
-
disabled:
|
|
1383
|
-
onClick: (
|
|
1378
|
+
(R(!0), V(je, null, lt(l.contextMenu, (x, B) => (R(), ge(ce, {
|
|
1379
|
+
key: B,
|
|
1380
|
+
icon: x.icon,
|
|
1381
|
+
title: x.title,
|
|
1382
|
+
disabled: x.disabled(l.tabItem) ? "disabled" : null,
|
|
1383
|
+
onClick: (E) => !x.disabled && x.callback(l.tabItem.id)
|
|
1384
1384
|
}, null, 8, ["icon", "title", "disabled", "onClick"]))), 128))
|
|
1385
1385
|
], 4));
|
|
1386
1386
|
}
|
|
@@ -1402,10 +1402,10 @@ const Ce = () => {
|
|
|
1402
1402
|
}), Ze(() => {
|
|
1403
1403
|
document.removeEventListener("click", s);
|
|
1404
1404
|
});
|
|
1405
|
-
const n = async (r, o, i,
|
|
1405
|
+
const n = async (r, o, i, f) => {
|
|
1406
1406
|
e.value = !1, await le(() => {
|
|
1407
1407
|
const { clientY: a, clientX: c } = r;
|
|
1408
|
-
e.value = !0, Object.assign(t, { item: o, index: i, top: a, left: c, max:
|
|
1408
|
+
e.value = !0, Object.assign(t, { item: o, index: i, top: a, left: c, max: f });
|
|
1409
1409
|
});
|
|
1410
1410
|
}, s = (r) => {
|
|
1411
1411
|
r.target.classList.contains("stack-tab__contextmenu") || (e.value = !1);
|
|
@@ -1423,33 +1423,33 @@ const Ce = () => {
|
|
|
1423
1423
|
emits: ["close", "active"],
|
|
1424
1424
|
setup(t, { emit: e }) {
|
|
1425
1425
|
const n = e, s = ye(), { t: r } = Me(), o = D(), i = t;
|
|
1426
|
-
s.on(
|
|
1427
|
-
i.item.id === p && c(
|
|
1426
|
+
s.on(j.TAB_ACTIVE, ({ id: p, isRoute: u }) => {
|
|
1427
|
+
i.item.id === p && c(u);
|
|
1428
1428
|
});
|
|
1429
|
-
const
|
|
1429
|
+
const f = ke(() => i.item.title || r("undefined")), a = () => {
|
|
1430
1430
|
n("close", i.item);
|
|
1431
1431
|
}, c = (p = !0) => {
|
|
1432
1432
|
n("active", i.item, o, p);
|
|
1433
1433
|
};
|
|
1434
|
-
return (p,
|
|
1434
|
+
return (p, u) => (R(), V("li", {
|
|
1435
1435
|
ref_key: "curtab",
|
|
1436
1436
|
ref: o,
|
|
1437
1437
|
class: fe(["stack-tab__item", {
|
|
1438
1438
|
"is-active": p.item.active,
|
|
1439
1439
|
"is-icon": p.item.closable
|
|
1440
1440
|
}]),
|
|
1441
|
-
onClick:
|
|
1441
|
+
onClick: u[0] || (u[0] = (l) => c(!0))
|
|
1442
1442
|
}, [
|
|
1443
1443
|
Q("div", ks, [
|
|
1444
1444
|
Q("div", {
|
|
1445
1445
|
class: "stack-tab__item-title-content",
|
|
1446
|
-
title:
|
|
1447
|
-
}, Gt(
|
|
1446
|
+
title: f.value
|
|
1447
|
+
}, Gt(f.value), 9, _s)
|
|
1448
1448
|
]),
|
|
1449
1449
|
p.item.closable ? (R(), V("div", {
|
|
1450
1450
|
key: 0,
|
|
1451
1451
|
class: "stack-tab__icon-close-fill stack-tab__item-button",
|
|
1452
|
-
title:
|
|
1452
|
+
title: T(r)("VueStackTab.close"),
|
|
1453
1453
|
onClick: Ie(a, ["stop"])
|
|
1454
1454
|
}, null, 8, xs)) : se("", !0)
|
|
1455
1455
|
], 2));
|
|
@@ -1484,8 +1484,8 @@ var me = function(t) {
|
|
|
1484
1484
|
return this.x = e, this.y = n, this.width = s, this.height = r, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, me(this);
|
|
1485
1485
|
}
|
|
1486
1486
|
return t.prototype.toJSON = function() {
|
|
1487
|
-
var e = this, n = e.x, s = e.y, r = e.top, o = e.right, i = e.bottom,
|
|
1488
|
-
return { x: n, y: s, top: r, right: o, bottom: i, left:
|
|
1487
|
+
var e = this, n = e.x, s = e.y, r = e.top, o = e.right, i = e.bottom, f = e.left, a = e.width, c = e.height;
|
|
1488
|
+
return { x: n, y: s, top: r, right: o, bottom: i, left: f, width: a, height: c };
|
|
1489
1489
|
}, t.fromRect = function(e) {
|
|
1490
1490
|
return new t(e.x, e.y, e.width, e.height);
|
|
1491
1491
|
}, t;
|
|
@@ -1533,11 +1533,11 @@ var me = function(t) {
|
|
|
1533
1533
|
return De.get(t);
|
|
1534
1534
|
if (un(t))
|
|
1535
1535
|
return De.set(t, Pt), Pt;
|
|
1536
|
-
var n = getComputedStyle(t), s = gt(t) && t.ownerSVGElement && t.getBBox(), r = !Ms && n.boxSizing === "border-box", o = Bs.test(n.writingMode || ""), i = !s && Dt.test(n.overflowY || ""),
|
|
1537
|
-
devicePixelContentBoxSize: _e(Math.round(
|
|
1538
|
-
borderBoxSize: _e(
|
|
1539
|
-
contentBoxSize: _e(
|
|
1540
|
-
contentRect: new ln(
|
|
1536
|
+
var n = getComputedStyle(t), s = gt(t) && t.ownerSVGElement && t.getBBox(), r = !Ms && n.boxSizing === "border-box", o = Bs.test(n.writingMode || ""), i = !s && Dt.test(n.overflowY || ""), f = !s && Dt.test(n.overflowX || ""), a = s ? 0 : K(n.paddingTop), c = s ? 0 : K(n.paddingRight), p = s ? 0 : K(n.paddingBottom), u = s ? 0 : K(n.paddingLeft), l = s ? 0 : K(n.borderTopWidth), w = s ? 0 : K(n.borderRightWidth), x = s ? 0 : K(n.borderBottomWidth), B = s ? 0 : K(n.borderLeftWidth), E = u + c, g = a + p, y = B + w, S = l + x, m = f ? t.offsetHeight - S - t.clientHeight : 0, O = i ? t.offsetWidth - y - t.clientWidth : 0, d = r ? E + y : 0, k = r ? g + S : 0, _ = s ? s.width : K(n.width) - d - O, $ = s ? s.height : K(n.height) - k - m, z = _ + E + O + y, U = $ + g + m + S, A = me({
|
|
1537
|
+
devicePixelContentBoxSize: _e(Math.round(_ * devicePixelRatio), Math.round($ * devicePixelRatio), o),
|
|
1538
|
+
borderBoxSize: _e(z, U, o),
|
|
1539
|
+
contentBoxSize: _e(_, $, o),
|
|
1540
|
+
contentRect: new ln(u, a, _, $)
|
|
1541
1541
|
});
|
|
1542
1542
|
return De.set(t, A), A;
|
|
1543
1543
|
}, dn = function(t, e, n) {
|
|
@@ -1566,12 +1566,12 @@ var me = function(t) {
|
|
|
1566
1566
|
var t = 1 / 0, e = [];
|
|
1567
1567
|
ve.forEach(function(i) {
|
|
1568
1568
|
if (i.activeTargets.length !== 0) {
|
|
1569
|
-
var
|
|
1569
|
+
var f = [];
|
|
1570
1570
|
i.activeTargets.forEach(function(c) {
|
|
1571
|
-
var p = new Cs(c.target),
|
|
1572
|
-
|
|
1571
|
+
var p = new Cs(c.target), u = hn(c.target);
|
|
1572
|
+
f.push(p), c.lastReportedSize = dn(c.target, c.observedBox), u < t && (t = u);
|
|
1573
1573
|
}), e.push(function() {
|
|
1574
|
-
i.callback.call(i.observer,
|
|
1574
|
+
i.callback.call(i.observer, f, i.observer);
|
|
1575
1575
|
}), i.activeTargets.splice(0, i.activeTargets.length);
|
|
1576
1576
|
}
|
|
1577
1577
|
});
|
|
@@ -1775,7 +1775,7 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1775
1775
|
isScrollButton: { type: Boolean, default: !0 }
|
|
1776
1776
|
},
|
|
1777
1777
|
setup(t, { expose: e }) {
|
|
1778
|
-
const n = D(null), s = D(null), r = D(null), o = D(!1), i = D(!1),
|
|
1778
|
+
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, u = Ee({
|
|
1779
1779
|
clientWidth: 0,
|
|
1780
1780
|
scrollWidth: 0,
|
|
1781
1781
|
scrollLeft: 0
|
|
@@ -1785,97 +1785,97 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1785
1785
|
startThumbLeft: 0,
|
|
1786
1786
|
startPageX: 0
|
|
1787
1787
|
});
|
|
1788
|
-
kn(
|
|
1789
|
-
|
|
1788
|
+
kn(u, (A) => {
|
|
1789
|
+
w(A);
|
|
1790
1790
|
});
|
|
1791
|
-
const
|
|
1792
|
-
i.value = A.scrollLeft <= 10,
|
|
1793
|
-
},
|
|
1794
|
-
if (!
|
|
1795
|
-
const { clientWidth: A, scrollWidth: C } =
|
|
1791
|
+
const w = (A) => {
|
|
1792
|
+
i.value = A.scrollLeft <= 10, f.value = A.clientWidth + A.scrollLeft - A.scrollWidth >= -10, a.value = A.scrollWidth !== A.clientWidth;
|
|
1793
|
+
}, x = ke(() => u.scrollWidth > u.clientWidth), B = ke(() => {
|
|
1794
|
+
if (!x.value) return 0;
|
|
1795
|
+
const { clientWidth: A, scrollWidth: C } = u;
|
|
1796
1796
|
return A / C * A;
|
|
1797
|
-
}),
|
|
1798
|
-
if (!
|
|
1799
|
-
const { clientWidth: A, scrollWidth: C, scrollLeft:
|
|
1800
|
-
return (A -
|
|
1801
|
-
}),
|
|
1797
|
+
}), E = ke(() => {
|
|
1798
|
+
if (!x.value) return 0;
|
|
1799
|
+
const { clientWidth: A, scrollWidth: C, scrollLeft: q } = u;
|
|
1800
|
+
return (A - B.value) * (q / (C - A));
|
|
1801
|
+
}), g = () => {
|
|
1802
1802
|
if (n.value === null || n.value === void 0)
|
|
1803
1803
|
return;
|
|
1804
|
-
const { clientWidth: A, scrollWidth: C, scrollLeft:
|
|
1805
|
-
Object.assign(
|
|
1806
|
-
},
|
|
1804
|
+
const { clientWidth: A, scrollWidth: C, scrollLeft: q } = n.value;
|
|
1805
|
+
Object.assign(u, { clientWidth: A, scrollWidth: C, scrollLeft: q });
|
|
1806
|
+
}, y = new Ft(() => {
|
|
1807
1807
|
var C;
|
|
1808
|
-
|
|
1808
|
+
g();
|
|
1809
1809
|
const A = (C = n.value) == null ? void 0 : C.querySelector(".stack-tab__item.is-active");
|
|
1810
|
-
A && (
|
|
1811
|
-
}),
|
|
1810
|
+
A && (U(A) || z(A));
|
|
1811
|
+
}), S = new Ft(() => {
|
|
1812
1812
|
var A;
|
|
1813
|
-
if (!
|
|
1813
|
+
if (!x.value) {
|
|
1814
1814
|
const C = (A = n.value) == null ? void 0 : A.querySelector(".stack-tab__item.is-active");
|
|
1815
|
-
C && (
|
|
1815
|
+
C && (U(C) || z(C));
|
|
1816
1816
|
}
|
|
1817
|
-
|
|
1818
|
-
}),
|
|
1817
|
+
g();
|
|
1818
|
+
}), m = (A, C = !0) => {
|
|
1819
1819
|
sn({ wrap: n.value, left: A, smooth: C });
|
|
1820
1820
|
}, O = (A) => {
|
|
1821
|
-
|
|
1822
|
-
},
|
|
1821
|
+
m(n.value.scrollLeft + A);
|
|
1822
|
+
}, d = (A) => {
|
|
1823
1823
|
const C = A.deltaY < 0;
|
|
1824
|
-
|
|
1825
|
-
},
|
|
1824
|
+
m(n.value.scrollLeft + (C ? -p.space : p.space));
|
|
1825
|
+
}, k = (A) => {
|
|
1826
1826
|
var C;
|
|
1827
1827
|
Object.assign(l, {
|
|
1828
1828
|
startPageX: A.pageX,
|
|
1829
1829
|
startScrollLeft: (C = n.value) == null ? void 0 : C.scrollLeft,
|
|
1830
|
-
startThumbLeft:
|
|
1831
|
-
thumbLeft:
|
|
1832
|
-
}), o.value = !0, document.addEventListener("mousemove",
|
|
1833
|
-
},
|
|
1834
|
-
const { clientWidth: C, scrollWidth:
|
|
1830
|
+
startThumbLeft: E.value,
|
|
1831
|
+
thumbLeft: E.value
|
|
1832
|
+
}), o.value = !0, document.addEventListener("mousemove", _), document.addEventListener("mouseup", $);
|
|
1833
|
+
}, _ = (A) => {
|
|
1834
|
+
const { clientWidth: C, scrollWidth: q } = u;
|
|
1835
1835
|
let re = l.startThumbLeft + A.pageX - l.startPageX;
|
|
1836
|
-
const Le = C -
|
|
1837
|
-
re < 0 ? re = 0 : re > Le && (re = Le), l.thumbLeft = re,
|
|
1838
|
-
},
|
|
1839
|
-
o.value = !1, document.removeEventListener("mousemove",
|
|
1836
|
+
const Le = C - B.value;
|
|
1837
|
+
re < 0 ? re = 0 : re > Le && (re = Le), l.thumbLeft = re, m(re * (q - C) / (C - B.value), !1), A.preventDefault();
|
|
1838
|
+
}, $ = (A) => {
|
|
1839
|
+
o.value = !1, document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", $), A.preventDefault();
|
|
1840
1840
|
};
|
|
1841
1841
|
He(() => {
|
|
1842
1842
|
var C;
|
|
1843
|
-
|
|
1843
|
+
y.observe(c.value);
|
|
1844
1844
|
const A = (C = n.value) == null ? void 0 : C.querySelector(".stack-tab__nav");
|
|
1845
|
-
|
|
1845
|
+
S.observe(A);
|
|
1846
1846
|
}), Ze(() => {
|
|
1847
|
-
|
|
1847
|
+
y.disconnect(), S.disconnect();
|
|
1848
1848
|
});
|
|
1849
|
-
const
|
|
1849
|
+
const z = (A) => {
|
|
1850
1850
|
qn({ el: A, wrap: n, block: "end", inline: "center" });
|
|
1851
|
-
},
|
|
1852
|
-
if (!
|
|
1851
|
+
}, U = (A) => {
|
|
1852
|
+
if (!x.value)
|
|
1853
1853
|
return !0;
|
|
1854
|
-
const C = A.offsetLeft,
|
|
1855
|
-
return !(C <
|
|
1854
|
+
const C = A.offsetLeft, q = n.value.scrollLeft;
|
|
1855
|
+
return !(C < q || C + A.clientWidth > q + n.value.clientWidth);
|
|
1856
1856
|
};
|
|
1857
|
-
return e({ scrollIntoView:
|
|
1857
|
+
return e({ scrollIntoView: z, isInView: U }), (A, C) => (R(), V(je, null, [
|
|
1858
1858
|
a.value ? (R(), ge(at, {
|
|
1859
1859
|
key: 0,
|
|
1860
1860
|
"icon-class": "stack-tab__icon-left-arrow",
|
|
1861
1861
|
disabled: i.value,
|
|
1862
|
-
onClick: C[0] || (C[0] = (
|
|
1862
|
+
onClick: C[0] || (C[0] = (q) => !i.value && O(-1 * A.space))
|
|
1863
1863
|
}, null, 8, ["disabled"])) : se("", !0),
|
|
1864
1864
|
Q("div", {
|
|
1865
1865
|
ref_key: "headerScroll",
|
|
1866
1866
|
ref: c,
|
|
1867
1867
|
class: "stack-tab__scroll",
|
|
1868
|
-
onWheelPassive:
|
|
1868
|
+
onWheelPassive: d
|
|
1869
1869
|
}, [
|
|
1870
1870
|
Q("div", {
|
|
1871
1871
|
ref_key: "container",
|
|
1872
1872
|
ref: n,
|
|
1873
1873
|
class: fe(["stack-tab__scroll-container", {
|
|
1874
|
-
"stack-tab__shadow-inset-left": !i.value &&
|
|
1875
|
-
"stack-tab__shadow-inset-right": !
|
|
1876
|
-
"stack-tab__shadow-inset-all": !i.value && !
|
|
1874
|
+
"stack-tab__shadow-inset-left": !i.value && f.value,
|
|
1875
|
+
"stack-tab__shadow-inset-right": !f.value && i.value,
|
|
1876
|
+
"stack-tab__shadow-inset-all": !i.value && !f.value
|
|
1877
1877
|
}]),
|
|
1878
|
-
onScrollPassive:
|
|
1878
|
+
onScrollPassive: g
|
|
1879
1879
|
}, [
|
|
1880
1880
|
xe(A.$slots, "default")
|
|
1881
1881
|
], 34),
|
|
@@ -1889,20 +1889,20 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1889
1889
|
ref: r,
|
|
1890
1890
|
class: fe(["stack-tab__scrollbar-thumb", { "is-dragging": o.value }]),
|
|
1891
1891
|
style: Fe({
|
|
1892
|
-
width: `${
|
|
1893
|
-
transform: `translateX(${
|
|
1892
|
+
width: `${B.value}px`,
|
|
1893
|
+
transform: `translateX(${E.value}px)`
|
|
1894
1894
|
}),
|
|
1895
|
-
onMousedown: Ie(
|
|
1895
|
+
onMousedown: Ie(k, ["prevent"])
|
|
1896
1896
|
}, null, 38)
|
|
1897
1897
|
], 2), [
|
|
1898
|
-
[Kt,
|
|
1898
|
+
[Kt, x.value]
|
|
1899
1899
|
])
|
|
1900
1900
|
], 544),
|
|
1901
1901
|
a.value ? (R(), ge(at, {
|
|
1902
1902
|
key: 1,
|
|
1903
1903
|
"icon-class": "stack-tab__icon-right-arrow",
|
|
1904
|
-
disabled:
|
|
1905
|
-
onClick: C[1] || (C[1] = (
|
|
1904
|
+
disabled: f.value,
|
|
1905
|
+
onClick: C[1] || (C[1] = (q) => !f.value && O(A.space))
|
|
1906
1906
|
}, null, 8, ["disabled"])) : se("", !0)
|
|
1907
1907
|
], 64));
|
|
1908
1908
|
}
|
|
@@ -1919,42 +1919,42 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1919
1919
|
},
|
|
1920
1920
|
emits: ["active"],
|
|
1921
1921
|
setup(t, { emit: e }) {
|
|
1922
|
-
const { t: n } = Me(), s = ct("maximum"), r = e, o = D(), { shown: i, contextMenuData:
|
|
1922
|
+
const { t: n } = Me(), s = ct("maximum"), r = e, o = D(), { shown: i, contextMenuData: f, showContextMenu: a } = ws(), c = t, { removeTab: p, active: u, tabs: l } = Ce(), w = ke(() => typeof c.tabTransition == "string" ? {
|
|
1923
1923
|
name: c.tabTransition
|
|
1924
|
-
} : c.tabTransition),
|
|
1925
|
-
|
|
1926
|
-
},
|
|
1924
|
+
} : c.tabTransition), x = ke(() => c.tabScrollMode === be.BOTH || c.tabScrollMode === be.BUTTON), B = c.tabScrollMode === be.BOTH || c.tabScrollMode === be.WHEEL, E = (y) => {
|
|
1925
|
+
y.closable && p(y.id), i.value = !1;
|
|
1926
|
+
}, g = (y, S, m) => {
|
|
1927
1927
|
o.value && (le(() => {
|
|
1928
|
-
o.value.isInView(
|
|
1929
|
-
}),
|
|
1928
|
+
o.value.isInView(S.value) || o.value.scrollIntoView(S.value);
|
|
1929
|
+
}), u(y.id, m), r("active", y.id));
|
|
1930
1930
|
};
|
|
1931
|
-
return (
|
|
1932
|
-
xe(
|
|
1931
|
+
return (y, S) => (R(), V("div", Xs, [
|
|
1932
|
+
xe(y.$slots, "leftButton"),
|
|
1933
1933
|
N(js, {
|
|
1934
1934
|
ref_key: "scroll",
|
|
1935
1935
|
ref: o,
|
|
1936
|
-
space:
|
|
1937
|
-
"is-scroll-wheel":
|
|
1938
|
-
"is-scroll-button":
|
|
1936
|
+
space: y.space,
|
|
1937
|
+
"is-scroll-wheel": T(B),
|
|
1938
|
+
"is-scroll-button": x.value
|
|
1939
1939
|
}, {
|
|
1940
1940
|
default: ue(() => [
|
|
1941
1941
|
N(Jt, _n({
|
|
1942
1942
|
key: "tabItemTrans",
|
|
1943
1943
|
tag: "ul",
|
|
1944
1944
|
class: "stack-tab__nav"
|
|
1945
|
-
},
|
|
1945
|
+
}, w.value, { appear: "" }), {
|
|
1946
1946
|
default: ue(() => [
|
|
1947
|
-
(R(!0), V(je, null, lt(
|
|
1948
|
-
key:
|
|
1949
|
-
contextmenu:
|
|
1950
|
-
item:
|
|
1947
|
+
(R(!0), V(je, null, lt(T(l), (m, O) => (R(), ge(Ts, {
|
|
1948
|
+
key: m.id,
|
|
1949
|
+
contextmenu: y.contextmenu,
|
|
1950
|
+
item: m,
|
|
1951
1951
|
onContextmenu: Ie(
|
|
1952
|
-
(
|
|
1952
|
+
(d) => T(a)(d, m, O, T(l).length),
|
|
1953
1953
|
["prevent"]
|
|
1954
1954
|
),
|
|
1955
|
-
onMouseup: Ie((
|
|
1956
|
-
onClose:
|
|
1957
|
-
onActive:
|
|
1955
|
+
onMouseup: Ie((d) => E(m), ["middle", "prevent"]),
|
|
1956
|
+
onClose: E,
|
|
1957
|
+
onActive: g
|
|
1958
1958
|
}, null, 8, ["contextmenu", "item", "onContextmenu", "onMouseup"]))), 128))
|
|
1959
1959
|
]),
|
|
1960
1960
|
_: 1
|
|
@@ -1962,24 +1962,24 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1962
1962
|
]),
|
|
1963
1963
|
_: 1
|
|
1964
1964
|
}, 8, ["space", "is-scroll-wheel", "is-scroll-button"]),
|
|
1965
|
-
xe(
|
|
1965
|
+
xe(y.$slots, "rightButton"),
|
|
1966
1966
|
N(at, {
|
|
1967
|
-
"icon-class":
|
|
1968
|
-
title:
|
|
1969
|
-
onClick:
|
|
1967
|
+
"icon-class": T(s) ? "stack-tab__icon-restore" : "stack-tab__icon-fullscreen",
|
|
1968
|
+
title: T(n)("VueStackTab.maximum"),
|
|
1969
|
+
onClick: S[0] || (S[0] = (m) => s.value = !T(s))
|
|
1970
1970
|
}, null, 8, ["icon-class", "title"]),
|
|
1971
1971
|
N(Qt, {
|
|
1972
1972
|
name: "stack-tab-zoom",
|
|
1973
1973
|
appear: ""
|
|
1974
1974
|
}, {
|
|
1975
1975
|
default: ue(() => [
|
|
1976
|
-
|
|
1976
|
+
T(i) ? (R(), ge(ys, {
|
|
1977
1977
|
key: "tabMenuTrans",
|
|
1978
|
-
left:
|
|
1979
|
-
top:
|
|
1980
|
-
"tab-item":
|
|
1981
|
-
max:
|
|
1982
|
-
index:
|
|
1978
|
+
left: T(f).left,
|
|
1979
|
+
top: T(f).top,
|
|
1980
|
+
"tab-item": T(f).item,
|
|
1981
|
+
max: T(f).max,
|
|
1982
|
+
index: T(f).index
|
|
1983
1983
|
}, null, 8, ["left", "top", "tab-item", "max", "index"])) : se("", !0)
|
|
1984
1984
|
]),
|
|
1985
1985
|
_: 1
|
|
@@ -1988,80 +1988,80 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1988
1988
|
}
|
|
1989
1989
|
});
|
|
1990
1990
|
function Ys(t, e, n) {
|
|
1991
|
-
var s = {}, r = s.noTrailing, o = r === void 0 ? !1 : r, i = s.noLeading,
|
|
1992
|
-
function
|
|
1991
|
+
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, u = !1, l = 0;
|
|
1992
|
+
function w() {
|
|
1993
1993
|
p && clearTimeout(p);
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1996
|
-
var
|
|
1997
|
-
|
|
1995
|
+
function x(E) {
|
|
1996
|
+
var g = E || {}, y = g.upcomingOnly, S = y === void 0 ? !1 : y;
|
|
1997
|
+
w(), u = !S;
|
|
1998
1998
|
}
|
|
1999
|
-
function
|
|
2000
|
-
for (var
|
|
2001
|
-
y
|
|
2002
|
-
var
|
|
2003
|
-
if (
|
|
1999
|
+
function B() {
|
|
2000
|
+
for (var E = arguments.length, g = new Array(E), y = 0; y < E; y++)
|
|
2001
|
+
g[y] = arguments[y];
|
|
2002
|
+
var S = this, m = Date.now() - l;
|
|
2003
|
+
if (u)
|
|
2004
2004
|
return;
|
|
2005
2005
|
function O() {
|
|
2006
|
-
l = Date.now(), e.apply(
|
|
2006
|
+
l = Date.now(), e.apply(S, g);
|
|
2007
2007
|
}
|
|
2008
|
-
function
|
|
2008
|
+
function d() {
|
|
2009
2009
|
p = void 0;
|
|
2010
2010
|
}
|
|
2011
|
-
!
|
|
2011
|
+
!f && c && !p && O(), w(), c === void 0 && m > t ? f ? (l = Date.now(), o || (p = setTimeout(c ? d : O, t))) : O() : o !== !0 && (p = setTimeout(c ? d : O, c === void 0 ? t - m : t));
|
|
2012
2012
|
}
|
|
2013
|
-
return
|
|
2013
|
+
return B.cancel = x, B;
|
|
2014
2014
|
}
|
|
2015
2015
|
let Ht;
|
|
2016
2016
|
const Ks = () => {
|
|
2017
|
-
const t = ut(), { active: e, hasTab: n, pageShown: s, reset: r, canAddTab: o, renewTab: i, getTab:
|
|
2017
|
+
const t = ut(), { active: e, hasTab: n, pageShown: s, reset: r, canAddTab: o, renewTab: i, getTab: f } = Ce(), a = ye(), c = Ys(500, (w, x = !1) => new Promise((B, E) => {
|
|
2018
2018
|
if (!s.value) {
|
|
2019
|
-
|
|
2019
|
+
E();
|
|
2020
2020
|
return;
|
|
2021
2021
|
}
|
|
2022
|
-
const
|
|
2022
|
+
const g = ne(w, {
|
|
2023
2023
|
refreshable: !0,
|
|
2024
2024
|
closable: !0,
|
|
2025
2025
|
iframe: !1
|
|
2026
2026
|
});
|
|
2027
|
-
if (
|
|
2028
|
-
i(
|
|
2029
|
-
const
|
|
2030
|
-
|
|
2027
|
+
if (g.id && x && n(g.id)) {
|
|
2028
|
+
i(w);
|
|
2029
|
+
const y = f(w.id);
|
|
2030
|
+
y != null && y.active && (s.value = !1, le(() => {
|
|
2031
2031
|
s.value = !0;
|
|
2032
2032
|
}));
|
|
2033
2033
|
}
|
|
2034
|
-
if (n(
|
|
2035
|
-
a.emit(
|
|
2034
|
+
if (n(g.id) && !x) {
|
|
2035
|
+
a.emit(j.TAB_ACTIVE, { id: g.id }), B(g.id);
|
|
2036
2036
|
return;
|
|
2037
2037
|
}
|
|
2038
|
-
if (
|
|
2039
|
-
|
|
2038
|
+
if (g.id || (g.id = tt()), !o()) {
|
|
2039
|
+
E("Max Size");
|
|
2040
2040
|
return;
|
|
2041
2041
|
}
|
|
2042
|
-
p(
|
|
2043
|
-
})), p = (
|
|
2044
|
-
const
|
|
2045
|
-
let
|
|
2042
|
+
p(w, g), B(g.id);
|
|
2043
|
+
})), p = (w, x) => {
|
|
2044
|
+
const B = rt(x);
|
|
2045
|
+
let E = ne(
|
|
2046
2046
|
{
|
|
2047
|
-
__tab:
|
|
2047
|
+
__tab: B
|
|
2048
2048
|
},
|
|
2049
|
-
|
|
2050
|
-
),
|
|
2051
|
-
if (
|
|
2052
|
-
const
|
|
2053
|
-
|
|
2049
|
+
w.query
|
|
2050
|
+
), g;
|
|
2051
|
+
if (w.iframe) {
|
|
2052
|
+
const y = encodeURIComponent(w.path);
|
|
2053
|
+
g = Ht, E.__src = y;
|
|
2054
2054
|
} else {
|
|
2055
|
-
const
|
|
2056
|
-
|
|
2055
|
+
const y = mt(w.path);
|
|
2056
|
+
g = y.path, E = ne(y.query, E);
|
|
2057
2057
|
}
|
|
2058
2058
|
t.push({
|
|
2059
|
-
path:
|
|
2060
|
-
query:
|
|
2059
|
+
path: g,
|
|
2060
|
+
query: E
|
|
2061
2061
|
});
|
|
2062
2062
|
};
|
|
2063
|
-
return { openNewTab: c, setIFramePath: (
|
|
2064
|
-
Ht =
|
|
2063
|
+
return { openNewTab: c, setIFramePath: (w) => {
|
|
2064
|
+
Ht = w;
|
|
2065
2065
|
}, active: e, reset: r, getWrapper: () => document.getElementsByClassName("cache-page-wrapper")[0] };
|
|
2066
2066
|
}, Js = { class: "stack-tab__container" }, Qs = ["src"], er = /* @__PURE__ */ ee({
|
|
2067
2067
|
__name: "StackTabs",
|
|
@@ -2084,64 +2084,63 @@ const Ks = () => {
|
|
|
2084
2084
|
},
|
|
2085
2085
|
emits: ["onActive", "onPageLoaded"],
|
|
2086
2086
|
setup(t, { emit: e }) {
|
|
2087
|
-
const { tabs: n,
|
|
2087
|
+
const { tabs: n, initialed: s, pageShown: r, caches: o, destroy: i, addPage: f, initial: a, setMaxSize: c, setGlobalScroll: p, clearSession: u, setSessionPrefix: l } = Ce(), w = e, x = t, { changeLocale: B } = Me(), E = D(!1);
|
|
2088
2088
|
xn("maximum", E);
|
|
2089
|
-
const { setIFramePath:
|
|
2090
|
-
|
|
2091
|
-
d(m.defaultTabs), f(m.sessionPrefix);
|
|
2089
|
+
const { setIFramePath: g } = Ks();
|
|
2090
|
+
g(x.iframePath), p(x.globalScroll), B(x.i18n), Tn(() => {
|
|
2092
2091
|
});
|
|
2093
|
-
const y = (
|
|
2094
|
-
|
|
2092
|
+
const y = (k, _) => (s.value || (l(x.sessionPrefix), a(x.defaultTabs)), f(k, _)), S = (k) => {
|
|
2093
|
+
w("onActive", k);
|
|
2095
2094
|
};
|
|
2096
|
-
|
|
2097
|
-
|
|
2095
|
+
c(x.max), Tt(() => {
|
|
2096
|
+
i();
|
|
2098
2097
|
});
|
|
2099
|
-
const
|
|
2100
|
-
|
|
2101
|
-
},
|
|
2102
|
-
return
|
|
2103
|
-
|
|
2104
|
-
}),
|
|
2105
|
-
|
|
2098
|
+
const m = () => {
|
|
2099
|
+
w("onPageLoaded");
|
|
2100
|
+
}, O = D(x.pageTransition), d = ye();
|
|
2101
|
+
return d.on("FORWARD", () => {
|
|
2102
|
+
O.value = x.pageTransition;
|
|
2103
|
+
}), d.on("BACKWARD", () => {
|
|
2104
|
+
O.value = x.pageTransitionBack;
|
|
2106
2105
|
}), Tt(() => {
|
|
2107
|
-
|
|
2108
|
-
}), (
|
|
2109
|
-
const
|
|
2106
|
+
u();
|
|
2107
|
+
}), (k, _) => {
|
|
2108
|
+
const $ = Xt("router-view");
|
|
2110
2109
|
return R(), V("div", {
|
|
2111
2110
|
class: fe(["stack-tab", { "stack-tab__maximum": E.value }]),
|
|
2112
2111
|
style: Fe({
|
|
2113
|
-
width:
|
|
2114
|
-
height:
|
|
2115
|
-
"z-index": E.value ?
|
|
2112
|
+
width: k.width,
|
|
2113
|
+
height: k.height,
|
|
2114
|
+
"z-index": E.value ? T(ft)("body *:not(.stack-tab,.stack-tab *)") : void 0
|
|
2116
2115
|
})
|
|
2117
2116
|
}, [
|
|
2118
2117
|
N(Gs, {
|
|
2119
|
-
space:
|
|
2120
|
-
onActive:
|
|
2121
|
-
"tab-transition":
|
|
2122
|
-
max:
|
|
2118
|
+
space: k.space,
|
|
2119
|
+
onActive: S,
|
|
2120
|
+
"tab-transition": k.tabTransition,
|
|
2121
|
+
max: k.max
|
|
2123
2122
|
}, {
|
|
2124
2123
|
leftButton: ue(() => [
|
|
2125
|
-
xe(
|
|
2124
|
+
xe(k.$slots, "leftButton")
|
|
2126
2125
|
]),
|
|
2127
2126
|
rightButton: ue(() => [
|
|
2128
|
-
xe(
|
|
2127
|
+
xe(k.$slots, "rightButton")
|
|
2129
2128
|
]),
|
|
2130
2129
|
_: 3
|
|
2131
2130
|
}, 8, ["space", "tab-transition", "max"]),
|
|
2132
2131
|
Q("div", Js, [
|
|
2133
|
-
N(
|
|
2134
|
-
default: ue(({ Component:
|
|
2132
|
+
N($, null, {
|
|
2133
|
+
default: ue(({ Component: z, route: U }) => [
|
|
2135
2134
|
N(Qt, {
|
|
2136
|
-
name:
|
|
2135
|
+
name: O.value,
|
|
2137
2136
|
appear: "",
|
|
2138
2137
|
mode: "out-in"
|
|
2139
2138
|
}, {
|
|
2140
2139
|
default: ue(() => [
|
|
2141
|
-
(R(), ge(Sn, { include:
|
|
2142
|
-
|
|
2143
|
-
key: `${
|
|
2144
|
-
onOnLoaded:
|
|
2140
|
+
(R(), ge(Sn, { include: T(o) }, [
|
|
2141
|
+
T(r) ? (R(), ge(On(y(U, z)), {
|
|
2142
|
+
key: `${U.name}_${U.fullPath}`,
|
|
2143
|
+
onOnLoaded: m
|
|
2145
2144
|
}, null, 32)) : se("", !0)
|
|
2146
2145
|
], 1032, ["include"]))
|
|
2147
2146
|
]),
|
|
@@ -2151,17 +2150,17 @@ const Ks = () => {
|
|
|
2151
2150
|
_: 1
|
|
2152
2151
|
}),
|
|
2153
2152
|
N(Jt, {
|
|
2154
|
-
name:
|
|
2153
|
+
name: k.pageTransition,
|
|
2155
2154
|
appear: ""
|
|
2156
2155
|
}, {
|
|
2157
2156
|
default: ue(() => [
|
|
2158
|
-
(R(!0), V(je, null, lt(
|
|
2159
|
-
key:
|
|
2157
|
+
(R(!0), V(je, null, lt(T(n).filter((z) => z.iframe), (z) => Yt((R(), V("iframe", {
|
|
2158
|
+
key: z.id,
|
|
2160
2159
|
class: "stack-tab__iframe",
|
|
2161
|
-
src: /^(javascript|data):/i.test(
|
|
2160
|
+
src: /^(javascript|data):/i.test(z.url ?? "") ? "about:blank" : z.url,
|
|
2162
2161
|
frameborder: "0"
|
|
2163
2162
|
}, null, 8, Qs)), [
|
|
2164
|
-
[Kt,
|
|
2163
|
+
[Kt, z.active]
|
|
2165
2164
|
])), 128))
|
|
2166
2165
|
]),
|
|
2167
2166
|
_: 1
|
|
@@ -2182,8 +2181,8 @@ typeof Uint8Array.from == "function" && Uint8Array.from.bind(Uint8Array);
|
|
|
2182
2181
|
const nr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" : "_"), sr = (t) => {
|
|
2183
2182
|
let e, n, s, r, o = "";
|
|
2184
2183
|
const i = t.length % 3;
|
|
2185
|
-
for (let
|
|
2186
|
-
if ((n = t.charCodeAt(
|
|
2184
|
+
for (let f = 0; f < t.length; ) {
|
|
2185
|
+
if ((n = t.charCodeAt(f++)) > 255 || (s = t.charCodeAt(f++)) > 255 || (r = t.charCodeAt(f++)) > 255)
|
|
2187
2186
|
throw new TypeError("invalid character found");
|
|
2188
2187
|
e = n << 16 | s << 8 | r, o += Te[e >> 18 & 63] + Te[e >> 12 & 63] + Te[e >> 6 & 63] + Te[e & 63];
|
|
2189
2188
|
}
|
|
@@ -2202,68 +2201,68 @@ const nr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2202
2201
|
return J(240 | e >>> 18 & 7) + J(128 | e >>> 12 & 63) + J(128 | e >>> 6 & 63) + J(128 | e & 63);
|
|
2203
2202
|
}
|
|
2204
2203
|
}, ir = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, ar = (t) => t.replace(ir, or), jt = yt ? (t) => Buffer.from(t, "utf8").toString("base64") : Zt ? (t) => rr(Zt.encode(t)) : (t) => bn(ar(t)), cr = (t, e = !1) => e ? nr(jt(t)) : jt(t), lr = (t) => {
|
|
2205
|
-
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," + cr(s), d = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2204
|
+
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," + cr(s), f = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2206
2205
|
window.console.log(
|
|
2207
2206
|
"%c+",
|
|
2208
|
-
|
|
2207
|
+
f + `background-image: url(${i});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`
|
|
2209
2208
|
);
|
|
2210
2209
|
}, ur = () => {
|
|
2211
|
-
const { attrs: t, props: e } = en(), { pageShown: n, getTab: s, markDeletableCache: r, removeComponent: o, getComponent: i, addPageScroller:
|
|
2212
|
-
let
|
|
2213
|
-
|
|
2214
|
-
const
|
|
2210
|
+
const { attrs: t, props: e } = en(), { pageShown: n, getTab: s, markDeletableCache: r, removeComponent: o, getComponent: i, addPageScroller: f } = Ce(), a = An(), c = ut(), p = ye();
|
|
2211
|
+
let u = "", l = "";
|
|
2212
|
+
u = t.tId || e.tId;
|
|
2213
|
+
const w = t.pId || e.pId;
|
|
2215
2214
|
return l = a.query.__tab, {
|
|
2216
|
-
forward: (
|
|
2217
|
-
const
|
|
2215
|
+
forward: (g) => {
|
|
2216
|
+
const y = ne(
|
|
2218
2217
|
{
|
|
2219
2218
|
__tab: l
|
|
2220
2219
|
},
|
|
2221
|
-
|
|
2220
|
+
g.query
|
|
2222
2221
|
);
|
|
2223
2222
|
p.emit("FORWARD"), c.push({
|
|
2224
|
-
path:
|
|
2225
|
-
query:
|
|
2223
|
+
path: g.path,
|
|
2224
|
+
query: y
|
|
2226
2225
|
});
|
|
2227
2226
|
},
|
|
2228
|
-
backward: (
|
|
2229
|
-
const
|
|
2230
|
-
if (!
|
|
2227
|
+
backward: (g, y) => {
|
|
2228
|
+
const S = s(u);
|
|
2229
|
+
if (!S)
|
|
2231
2230
|
return;
|
|
2232
|
-
const
|
|
2231
|
+
const m = S.pages;
|
|
2233
2232
|
let O = 0;
|
|
2234
|
-
if (typeof
|
|
2235
|
-
O = Math.abs(
|
|
2233
|
+
if (typeof g == "number")
|
|
2234
|
+
O = Math.abs(g);
|
|
2236
2235
|
else {
|
|
2237
|
-
let
|
|
2238
|
-
const
|
|
2239
|
-
|
|
2240
|
-
for (let A =
|
|
2241
|
-
if (
|
|
2242
|
-
|
|
2236
|
+
let _ = 1, $ = !1;
|
|
2237
|
+
const z = m.list(), U = mt(g);
|
|
2238
|
+
y = ne(U.query, y);
|
|
2239
|
+
for (let A = m.size() - 2; A >= 0; A--) {
|
|
2240
|
+
if (z[A].path === U.path) {
|
|
2241
|
+
$ = !0;
|
|
2243
2242
|
break;
|
|
2244
2243
|
}
|
|
2245
|
-
|
|
2244
|
+
_ += 1;
|
|
2246
2245
|
}
|
|
2247
|
-
|
|
2246
|
+
$ && (O = _);
|
|
2248
2247
|
}
|
|
2249
|
-
if (O === 0 ||
|
|
2248
|
+
if (O === 0 || m.size() <= O)
|
|
2250
2249
|
return;
|
|
2251
|
-
for (let
|
|
2252
|
-
const
|
|
2253
|
-
r(
|
|
2250
|
+
for (let _ = 0; _ < O; _++) {
|
|
2251
|
+
const $ = m.pop();
|
|
2252
|
+
r($.id);
|
|
2254
2253
|
}
|
|
2255
|
-
const
|
|
2256
|
-
if (
|
|
2257
|
-
const
|
|
2258
|
-
|
|
2254
|
+
const d = m == null ? void 0 : m.peek(), k = i(d.id);
|
|
2255
|
+
if (k != null) {
|
|
2256
|
+
const _ = k.components.DynamicComponent;
|
|
2257
|
+
_.props = ne(y, _.props);
|
|
2259
2258
|
}
|
|
2260
2259
|
p.emit("BACKWARD"), c.push({
|
|
2261
|
-
path:
|
|
2262
|
-
query:
|
|
2260
|
+
path: d.path,
|
|
2261
|
+
query: d.query
|
|
2263
2262
|
});
|
|
2264
2263
|
},
|
|
2265
|
-
addScroller: (...
|
|
2266
|
-
|
|
2264
|
+
addScroller: (...g) => {
|
|
2265
|
+
f(w, ...g);
|
|
2267
2266
|
}
|
|
2268
2267
|
};
|
|
2269
2268
|
}, mr = /* @__PURE__ */ ee({
|
|
@@ -2278,14 +2277,14 @@ const nr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2278
2277
|
s();
|
|
2279
2278
|
});
|
|
2280
2279
|
const n = () => {
|
|
2281
|
-
t.emit(
|
|
2280
|
+
t.emit(j.PAGE_LOADING, { tId: e.tId, value: !0 });
|
|
2282
2281
|
}, s = () => {
|
|
2283
|
-
t.emit(
|
|
2282
|
+
t.emit(j.PAGE_LOADING, { tId: e.tId, value: !1 });
|
|
2284
2283
|
};
|
|
2285
2284
|
return { openTabLoading: n, closeTabLoading: s };
|
|
2286
2285
|
}, yr = {
|
|
2287
2286
|
install(t, e) {
|
|
2288
|
-
lr("0.1.
|
|
2287
|
+
lr("0.1.49"), t.component("VueStackTabs", er).use(hs).use(Un().getI18n(e));
|
|
2289
2288
|
}
|
|
2290
2289
|
};
|
|
2291
2290
|
export {
|