vue-stack-tabs 0.1.44 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/favicon.svg +9 -9
- package/dist/vue-stack-tabs.es.js +363 -358
- package/dist/vue-stack-tabs.umd.js +2 -2
- package/package.json +1 -1
- package/src/lib/StackTabs.vue +1 -1
- package/src/lib/assets/style/transition.scss +62 -62
- package/src/lib/components/PageLoading.vue +2 -1
- package/src/lib/hooks/useStackTab.ts +119 -119
- package/src/lib/hooks/useTabRouter.ts +103 -103
- package/src/lib/hooks/useTabpanel.tsx +14 -8
- package/src/lib/utils/TabIdHelper.ts +70 -70
|
@@ -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
|
-
var
|
|
4
|
-
import { inject as
|
|
3
|
+
var _t = (t, e, n) => mn(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
+
import { inject as ct, ref as D, reactive as Ie, readonly as xt, toRaw as gn, defineComponent as ee, openBlock as R, createElementBlock as V, normalizeStyle as Fe, unref as x, 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 xe, toDisplayString as Gt, Fragment as je, renderList as lt, createBlock as ge, computed as ke, renderSlot as Te, 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: {
|
|
@@ -54,7 +54,7 @@ function zn(t) {
|
|
|
54
54
|
function Rn(t) {
|
|
55
55
|
return !t.some((e) => Cn.indexOf(e) !== -1);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function $n(t) {
|
|
58
58
|
const e = t.split("."), n = [];
|
|
59
59
|
for (let s = 0; s < e.length; s++) {
|
|
60
60
|
let r = e[s];
|
|
@@ -64,10 +64,10 @@ function Dn(t) {
|
|
|
64
64
|
}
|
|
65
65
|
return Rn(n) ? n : [];
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function St(t, e) {
|
|
68
68
|
if (!Ln(t))
|
|
69
69
|
return "";
|
|
70
|
-
const n =
|
|
70
|
+
const n = $n(e);
|
|
71
71
|
if (n.length === 0)
|
|
72
72
|
return "";
|
|
73
73
|
let s = Object.assign({}, t);
|
|
@@ -82,7 +82,7 @@ function Tt(t, e) {
|
|
|
82
82
|
}
|
|
83
83
|
return "";
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Dn(t, e) {
|
|
86
86
|
if (Array.isArray(e)) {
|
|
87
87
|
const n = {}, s = [...t.matchAll(/{(.+?)}/g)];
|
|
88
88
|
return s && s.forEach((r, o) => {
|
|
@@ -96,17 +96,17 @@ function Pn(t, e) {
|
|
|
96
96
|
t = t.replace(`{${n}}`, String(e[n]));
|
|
97
97
|
return t;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function tn(t, e) {
|
|
100
100
|
return Object.keys(e).forEach((n) => {
|
|
101
|
-
e[n] instanceof Object && n in t && (e[n] = { ...e[n], ...
|
|
101
|
+
e[n] instanceof Object && n in t && (e[n] = { ...e[n], ...tn(t[n], e[n]) });
|
|
102
102
|
}), { ...t || {}, ...e };
|
|
103
103
|
}
|
|
104
|
-
const Nn = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", Wn = (t) => Nn ? Symbol(t) : "_vt_" + t,
|
|
104
|
+
const Nn = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", Wn = (t) => Nn ? Symbol(t) : "_vt_" + t, nn = /* @__PURE__ */ Wn("i18n");
|
|
105
105
|
function Me() {
|
|
106
|
-
return
|
|
106
|
+
return ct(nn);
|
|
107
107
|
}
|
|
108
108
|
function Vn(t) {
|
|
109
|
-
const e = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, t), n =
|
|
109
|
+
const e = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, t), n = D(e.locale), s = Ie({});
|
|
110
110
|
return Object.entries(e.messages).forEach(([r, o]) => {
|
|
111
111
|
s[r] = o;
|
|
112
112
|
}), {
|
|
@@ -114,24 +114,24 @@ function Vn(t) {
|
|
|
114
114
|
if (!r)
|
|
115
115
|
return "";
|
|
116
116
|
const i = typeof o == "string" && o ? o : n.value;
|
|
117
|
-
let d =
|
|
117
|
+
let d = St(s[i], r) || St(s[e.fallbackLocale], r);
|
|
118
118
|
if (o && typeof o != "string") {
|
|
119
|
-
const a =
|
|
119
|
+
const a = Dn(d, o);
|
|
120
120
|
zn(a) || (d = Pn(d, a));
|
|
121
121
|
}
|
|
122
122
|
return d || r;
|
|
123
123
|
},
|
|
124
|
-
current:
|
|
125
|
-
options:
|
|
124
|
+
current: xt(n),
|
|
125
|
+
options: xt(t || {}),
|
|
126
126
|
install(r) {
|
|
127
127
|
const o = this;
|
|
128
|
-
r.config.globalProperties.$t = o.t, r.provide(
|
|
128
|
+
r.config.globalProperties.$t = o.t, r.provide(nn, o);
|
|
129
129
|
},
|
|
130
130
|
changeLocale(r) {
|
|
131
131
|
n.value = r;
|
|
132
132
|
},
|
|
133
133
|
setLocaleMessage(r, o) {
|
|
134
|
-
s[r] =
|
|
134
|
+
s[r] = tn(gn(s[r] || {}), o);
|
|
135
135
|
},
|
|
136
136
|
getLocaleMessage(r) {
|
|
137
137
|
return s[r] || {};
|
|
@@ -167,7 +167,7 @@ const Un = () => {
|
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
|
-
},
|
|
170
|
+
}, sn = ({
|
|
171
171
|
wrap: t,
|
|
172
172
|
left: e = 0,
|
|
173
173
|
top: n = 0,
|
|
@@ -191,21 +191,21 @@ function qn({
|
|
|
191
191
|
else {
|
|
192
192
|
const { offsetLeft: r, offsetTop: o } = t;
|
|
193
193
|
let i, d;
|
|
194
|
-
n === "center" ? d = o + (t.clientHeight - e.clientHeight) / 2 : d = o, s === "center" ? i = r + (t.clientWidth - e.clientWidth) / 2 : i = r,
|
|
194
|
+
n === "center" ? d = o + (t.clientHeight - e.clientHeight) / 2 : d = o, s === "center" ? i = r + (t.clientWidth - e.clientWidth) / 2 : i = r, sn({ wrap: e, left: i, top: d });
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
const
|
|
197
|
+
const ft = (t = ".stack-tab__container *") => {
|
|
198
198
|
const e = Array.from(document.querySelectorAll(t)).map(
|
|
199
199
|
(n) => +window.getComputedStyle(n).zIndex || 0
|
|
200
200
|
);
|
|
201
201
|
return e.length ? Math.max(...e.filter((n) => n < 9e4)) + 1 : 1;
|
|
202
202
|
};
|
|
203
|
-
var
|
|
204
|
-
class
|
|
203
|
+
var be = /* @__PURE__ */ ((t) => (t.WHEEL = "wheel", t.BUTTON = "button", t.BOTH = "both", t))(be || {});
|
|
204
|
+
class Xe {
|
|
205
205
|
//
|
|
206
206
|
constructor(e) {
|
|
207
207
|
// 存储的Map
|
|
208
|
-
|
|
208
|
+
_t(this, "items");
|
|
209
209
|
if (this.items = /* @__PURE__ */ new Map(), e)
|
|
210
210
|
for (const n of e)
|
|
211
211
|
this.push(n);
|
|
@@ -278,22 +278,22 @@ function We(t) {
|
|
|
278
278
|
var e = new Error(t);
|
|
279
279
|
return e.source = "ulid", e;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
281
|
+
var dt = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Oe = dt.length, Ot = Math.pow(2, 48) - 1, Fn = 10, Hn = 16;
|
|
282
282
|
function Zn(t) {
|
|
283
283
|
var e = Math.floor(t() * Oe);
|
|
284
|
-
return e === Oe && (e = Oe - 1),
|
|
284
|
+
return e === Oe && (e = Oe - 1), dt.charAt(e);
|
|
285
285
|
}
|
|
286
286
|
function jn(t, e) {
|
|
287
287
|
if (isNaN(t))
|
|
288
288
|
throw new Error(t + " must be a number");
|
|
289
|
-
if (t >
|
|
290
|
-
throw We("cannot encode time greater than " +
|
|
289
|
+
if (t > Ot)
|
|
290
|
+
throw We("cannot encode time greater than " + Ot);
|
|
291
291
|
if (t < 0)
|
|
292
292
|
throw We("time must be positive");
|
|
293
293
|
if (Number.isInteger(t) === !1)
|
|
294
294
|
throw We("time must be an integer");
|
|
295
295
|
for (var n = void 0, s = ""; e > 0; e--)
|
|
296
|
-
n = t % Oe, s =
|
|
296
|
+
n = t % Oe, s = dt.charAt(n) + s, t = (t - n) / Oe;
|
|
297
297
|
return s;
|
|
298
298
|
}
|
|
299
299
|
function Xn(t, e) {
|
|
@@ -332,8 +332,8 @@ function Yn(t) {
|
|
|
332
332
|
return isNaN(n) && (n = Date.now()), jn(n, Fn) + Xn(Hn, t);
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
|
-
var
|
|
336
|
-
|
|
335
|
+
var tt = Yn(), ht = { exports: {} };
|
|
336
|
+
ht.exports;
|
|
337
337
|
(function(t) {
|
|
338
338
|
var e = function() {
|
|
339
339
|
var n = String.fromCharCode, s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", o = {};
|
|
@@ -526,9 +526,9 @@ dt.exports;
|
|
|
526
526
|
t != null ? t.exports = e : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("LZString", function() {
|
|
527
527
|
return e;
|
|
528
528
|
});
|
|
529
|
-
})(
|
|
530
|
-
var rn =
|
|
531
|
-
const Kn = new TextEncoder(), Jn = new TextDecoder("utf-8", { ignoreBOM: !0 }),
|
|
529
|
+
})(ht);
|
|
530
|
+
var rn = ht.exports;
|
|
531
|
+
const Kn = new TextEncoder(), Jn = new TextDecoder("utf-8", { ignoreBOM: !0 }), At = {
|
|
532
532
|
/* API */
|
|
533
533
|
encode: (t) => Kn.encode(t),
|
|
534
534
|
decode: (t) => Jn.decode(t)
|
|
@@ -544,7 +544,7 @@ const Kn = new TextEncoder(), Jn = new TextDecoder("utf-8", { ignoreBOM: !0 }),
|
|
|
544
544
|
t[n] = e, t[`${s}${i}`] = e, t[`${r}${o}`] = e, t[`${r}${i}`] = e;
|
|
545
545
|
}
|
|
546
546
|
return t;
|
|
547
|
-
})(), es = (t) => !(t.length % 2 || !/^[a-fA-F0-9]*$/.test(t)),
|
|
547
|
+
})(), es = (t) => !(t.length % 2 || !/^[a-fA-F0-9]*$/.test(t)), nt = {
|
|
548
548
|
/* API */
|
|
549
549
|
encode: (t) => {
|
|
550
550
|
let e = "";
|
|
@@ -552,14 +552,14 @@ const Kn = new TextEncoder(), Jn = new TextDecoder("utf-8", { ignoreBOM: !0 }),
|
|
|
552
552
|
e += on[t[n]];
|
|
553
553
|
return e;
|
|
554
554
|
},
|
|
555
|
-
encodeStr: (t) =>
|
|
555
|
+
encodeStr: (t) => nt.encode(At.encode(t)),
|
|
556
556
|
decode: (t) => {
|
|
557
557
|
const e = t.length / 2, n = new Uint8Array(e);
|
|
558
558
|
for (let s = 0; s < e; s++)
|
|
559
559
|
n[s] = Qn[t.slice(s * 2, s * 2 + 2)];
|
|
560
560
|
return n;
|
|
561
561
|
},
|
|
562
|
-
decodeStr: (t) =>
|
|
562
|
+
decodeStr: (t) => At.decode(nt.decode(t)),
|
|
563
563
|
is: es
|
|
564
564
|
};
|
|
565
565
|
function Ae(t) {
|
|
@@ -569,27 +569,27 @@ function Ae(t) {
|
|
|
569
569
|
function ts(t) {
|
|
570
570
|
return t instanceof Uint8Array || t != null && typeof t == "object" && t.constructor.name === "Uint8Array";
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function pt(t, ...e) {
|
|
573
573
|
if (!ts(t))
|
|
574
574
|
throw new Error("Uint8Array expected");
|
|
575
575
|
if (e.length > 0 && !e.includes(t.length))
|
|
576
576
|
throw new Error(`Uint8Array expected of length ${e}, not of length=${t.length}`);
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function st(t, e = !0) {
|
|
579
579
|
if (t.destroyed)
|
|
580
580
|
throw new Error("Hash instance has been destroyed");
|
|
581
581
|
if (e && t.finished)
|
|
582
582
|
throw new Error("Hash#digest() has already been called");
|
|
583
583
|
}
|
|
584
584
|
function an(t, e) {
|
|
585
|
-
|
|
585
|
+
pt(t);
|
|
586
586
|
const n = e.outputLen;
|
|
587
587
|
if (t.length < n)
|
|
588
588
|
throw new Error(`digestInto() expects output buffer of length at least ${n}`);
|
|
589
589
|
}
|
|
590
|
-
const Re = /* @__PURE__ */ BigInt(2 ** 32 - 1),
|
|
591
|
-
function
|
|
592
|
-
return e ? { h: Number(t & Re), l: Number(t >>
|
|
590
|
+
const Re = /* @__PURE__ */ BigInt(2 ** 32 - 1), Et = /* @__PURE__ */ BigInt(32);
|
|
591
|
+
function It(t, e = !1) {
|
|
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
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, j = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68, cn = (t) => t << 24 & 4278190080 | t << 8 & 16711680 | t >>> 8 & 65280 | t >>> 24 & 255, ss = j ? (t) => t : (t) => cn(t);
|
|
@@ -602,8 +602,8 @@ function rs(t) {
|
|
|
602
602
|
throw new Error(`utf8ToBytes expected string, got ${typeof t}`);
|
|
603
603
|
return new Uint8Array(new TextEncoder().encode(t));
|
|
604
604
|
}
|
|
605
|
-
function
|
|
606
|
-
return typeof t == "string" && (t = rs(t)),
|
|
605
|
+
function bt(t) {
|
|
606
|
+
return typeof t == "string" && (t = rs(t)), pt(t), t;
|
|
607
607
|
}
|
|
608
608
|
class os {
|
|
609
609
|
// Safe version that clones internal state
|
|
@@ -612,7 +612,7 @@ class os {
|
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
function is(t) {
|
|
615
|
-
const e = (s, r) => t(r).update(
|
|
615
|
+
const e = (s, r) => t(r).update(bt(s)).digest(), n = t({});
|
|
616
616
|
return e.outputLen = n.outputLen, e.blockLen = n.blockLen, e.create = (s) => t(s), e;
|
|
617
617
|
}
|
|
618
618
|
class as extends os {
|
|
@@ -628,9 +628,9 @@ class as extends os {
|
|
|
628
628
|
this.buffer32 = Ue(this.buffer = new Uint8Array(e));
|
|
629
629
|
}
|
|
630
630
|
update(e) {
|
|
631
|
-
|
|
631
|
+
st(this);
|
|
632
632
|
const { blockLen: n, buffer: s, buffer32: r } = this;
|
|
633
|
-
e =
|
|
633
|
+
e = bt(e);
|
|
634
634
|
const o = e.length, i = e.byteOffset, d = e.buffer;
|
|
635
635
|
for (let a = 0; a < o; ) {
|
|
636
636
|
this.pos === n && (j || H(r), this.compress(r, 0, !1), j || H(r), this.pos = 0);
|
|
@@ -648,7 +648,7 @@ class as extends os {
|
|
|
648
648
|
return this;
|
|
649
649
|
}
|
|
650
650
|
digestInto(e) {
|
|
651
|
-
|
|
651
|
+
st(this), an(e, this);
|
|
652
652
|
const { pos: n, buffer32: s } = this;
|
|
653
653
|
this.finished = !0, this.buffer.subarray(n).fill(0), j || H(s), this.compress(s, 0, !0), j || H(s);
|
|
654
654
|
const r = Ue(e);
|
|
@@ -681,29 +681,29 @@ 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
|
|
684
|
+
function Bt(t, e, n, s, r, o, i, d, a, c, p, f, l, m, S, E, I, y, w, T) {
|
|
685
685
|
let g = 0;
|
|
686
686
|
for (let O = 0; O < s; O++)
|
|
687
687
|
({ a: r, b: a, c: l, d: I } = oe(r, a, l, I, n[e + t[g++]])), { a: r, b: a, c: l, d: I } = ie(r, a, l, I, n[e + t[g++]]), { a: o, b: c, c: m, d: y } = oe(o, c, m, y, n[e + t[g++]]), { a: o, b: c, c: m, d: y } = ie(o, c, m, y, n[e + t[g++]]), { a: i, b: p, c: S, d: w } = oe(i, p, S, w, n[e + t[g++]]), { a: i, b: p, c: S, d: w } = ie(i, p, S, w, n[e + t[g++]]), { a: d, b: f, c: E, d: T } = oe(d, f, E, T, n[e + t[g++]]), { a: d, b: f, c: E, d: T } = ie(d, f, E, T, n[e + t[g++]]), { a: r, b: c, c: S, d: T } = oe(r, c, S, T, n[e + t[g++]]), { a: r, b: c, c: S, d: T } = ie(r, c, S, T, n[e + t[g++]]), { a: o, b: p, c: E, d: I } = oe(o, p, E, I, n[e + t[g++]]), { a: o, b: p, c: E, d: I } = ie(o, p, E, I, n[e + t[g++]]), { a: i, b: f, c: l, d: y } = oe(i, f, l, y, n[e + t[g++]]), { a: i, b: f, c: l, d: y } = ie(i, f, l, y, n[e + t[g++]]), { a: d, b: a, c: m, d: w } = oe(d, a, m, w, n[e + t[g++]]), { a: d, b: a, c: m, d: w } = ie(d, a, m, w, n[e + t[g++]]);
|
|
688
688
|
return { v0: r, v1: o, v2: i, v3: d, v4: a, v5: c, v6: p, v7: f, v8: l, v9: m, v10: S, v11: E, v12: I, v13: y, v14: w, v15: T };
|
|
689
689
|
}
|
|
690
|
-
const
|
|
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 = [];
|
|
692
692
|
for (let s = 0, r = t; s < 7; s++, r = e(r))
|
|
693
693
|
n.push(...r);
|
|
694
694
|
return Uint8Array.from(n);
|
|
695
695
|
})();
|
|
696
|
-
class
|
|
696
|
+
class vt extends as {
|
|
697
697
|
constructor(e = {}, n = 0) {
|
|
698
698
|
if (super(64, e.dkLen === void 0 ? 32 : e.dkLen, {}, Number.MAX_SAFE_INTEGER, 0, 0), this.flags = 0, this.chunkPos = 0, this.chunksDone = 0, this.stack = [], this.posOut = 0, this.bufferOut32 = new Uint32Array(16), this.chunkOut = 0, this.enableXOF = !0, this.outputLen = e.dkLen === void 0 ? 32 : e.dkLen, Ae(this.outputLen), e.key !== void 0 && e.context !== void 0)
|
|
699
699
|
throw new Error("Blake3: only key or context can be specified at same time");
|
|
700
700
|
if (e.key !== void 0) {
|
|
701
|
-
const s =
|
|
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
704
|
this.IV = Ue(s), j || H(this.IV), this.flags = n | 16;
|
|
705
705
|
} else if (e.context !== void 0) {
|
|
706
|
-
const s = new
|
|
706
|
+
const s = new vt(
|
|
707
707
|
{ dkLen: 32 },
|
|
708
708
|
32
|
|
709
709
|
/* B3_Flags.DERIVE_KEY_CONTEXT */
|
|
@@ -720,7 +720,7 @@ class bt extends as {
|
|
|
720
720
|
set() {
|
|
721
721
|
}
|
|
722
722
|
b2Compress(e, n, s, r = 0) {
|
|
723
|
-
const { state: o, pos: i } = this, { h: d, l: a } =
|
|
723
|
+
const { state: o, pos: i } = this, { h: d, l: a } = It(BigInt(e), !0), { v0: c, v1: p, v2: f, v3: l, v4: m, v5: S, v6: E, v7: I, v8: y, v9: w, v10: T, v11: g, v12: O, v13: u, v14: _, v15: k } = 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], d, a, i, n);
|
|
724
724
|
o[0] = c ^ y, o[1] = p ^ w, o[2] = f ^ T, o[3] = l ^ g, o[4] = m ^ O, o[5] = S ^ u, o[6] = E ^ _, o[7] = I ^ k;
|
|
725
725
|
}
|
|
726
726
|
compress(e, n = 0, s = !1) {
|
|
@@ -746,9 +746,9 @@ class bt 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: d } =
|
|
749
|
+
const { state: e, pos: n, flags: s, buffer32: r, bufferOut32: o } = this, { h: i, l: d } = It(BigInt(this.chunkOut++));
|
|
750
750
|
j || H(r);
|
|
751
|
-
const { v0: a, v1: c, v2: p, v3: f, v4: l, v5: m, v6: S, v7: E, v8: I, v9: y, v10: w, v11: T, v12: g, v13: O, v14: u, v15: _ } =
|
|
751
|
+
const { v0: a, v1: c, v2: p, v3: f, v4: l, v5: m, v6: S, v7: E, v8: I, v9: y, v10: w, v11: T, v12: g, v13: O, v14: u, v15: _ } = 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], d, i, n, s);
|
|
752
752
|
o[0] = a ^ I, o[1] = c ^ y, o[2] = p ^ w, o[3] = f ^ T, o[4] = l ^ g, o[5] = m ^ O, o[6] = S ^ u, o[7] = E ^ _, o[8] = e[0] ^ I, o[9] = e[1] ^ y, o[10] = e[2] ^ w, o[11] = e[3] ^ T, o[12] = e[4] ^ g, o[13] = e[5] ^ O, o[14] = e[6] ^ u, o[15] = e[7] ^ _, j || (H(r), H(o)), this.posOut = 0;
|
|
753
753
|
}
|
|
754
754
|
finish() {
|
|
@@ -759,7 +759,7 @@ class bt extends as {
|
|
|
759
759
|
this.stack.length ? (e |= 4, j || H(this.buffer32), this.compress(this.buffer32, 0, !0), j || H(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();
|
|
763
763
|
const { blockLen: n, bufferOut: s } = this;
|
|
764
764
|
for (let r = 0, o = e.length; r < o; ) {
|
|
765
765
|
this.posOut >= n && this.b2CompressOut();
|
|
@@ -785,7 +785,7 @@ class bt extends as {
|
|
|
785
785
|
return this.digestInto(new Uint8Array(this.outputLen));
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
|
-
const cs = /* @__PURE__ */ is((t) => new
|
|
788
|
+
const cs = /* @__PURE__ */ is((t) => new vt(t)), rt = (t) => {
|
|
789
789
|
const e = `${t.id}|${t.title}|${t.iframe ? "Y" : "N"}|${t.closable ? "Y" : "N"}|${t.refreshable ? "Y" : "N"}`;
|
|
790
790
|
return rn.compressToEncodedURIComponent(e);
|
|
791
791
|
}, ls = (t) => {
|
|
@@ -797,7 +797,7 @@ const cs = /* @__PURE__ */ is((t) => new bt(t)), st = (t) => {
|
|
|
797
797
|
closable: n[3] === "Y",
|
|
798
798
|
refreshable: n[4] === "Y"
|
|
799
799
|
};
|
|
800
|
-
},
|
|
800
|
+
}, Ct = (t, e, n) => {
|
|
801
801
|
const s = [];
|
|
802
802
|
for (const o in n)
|
|
803
803
|
o.startsWith("__") || s.push({
|
|
@@ -809,23 +809,23 @@ const cs = /* @__PURE__ */ is((t) => new bt(t)), st = (t) => {
|
|
|
809
809
|
return o.key > i.key ? d = 1 : o.key < i.key && (d = -1), d;
|
|
810
810
|
});
|
|
811
811
|
const r = cs(`${t}|${e}|${JSON.stringify(s)}`);
|
|
812
|
-
return
|
|
812
|
+
return nt.encode(r);
|
|
813
813
|
};
|
|
814
|
-
function
|
|
814
|
+
function Ge(t) {
|
|
815
815
|
if (t === null || typeof t != "object")
|
|
816
816
|
return !1;
|
|
817
817
|
const e = Object.getPrototypeOf(t);
|
|
818
818
|
return e !== null && e !== Object.prototype && Object.getPrototypeOf(e) !== null || Symbol.iterator in t ? !1 : Symbol.toStringTag in t ? Object.prototype.toString.call(t) === "[object Module]" : !0;
|
|
819
819
|
}
|
|
820
|
-
function
|
|
821
|
-
if (!
|
|
822
|
-
return
|
|
820
|
+
function ot(t, e, n = ".", s) {
|
|
821
|
+
if (!Ge(e))
|
|
822
|
+
return ot(t, {}, n, s);
|
|
823
823
|
const r = Object.assign({}, e);
|
|
824
824
|
for (const o in t) {
|
|
825
825
|
if (o === "__proto__" || o === "constructor")
|
|
826
826
|
continue;
|
|
827
827
|
const i = t[o];
|
|
828
|
-
i != null && (s && s(r, o, i, n) || (Array.isArray(i) && Array.isArray(r[o]) ? r[o] = [...i, ...r[o]] :
|
|
828
|
+
i != null && (s && s(r, o, i, n) || (Array.isArray(i) && Array.isArray(r[o]) ? r[o] = [...i, ...r[o]] : Ge(i) && Ge(r[o]) ? r[o] = ot(
|
|
829
829
|
i,
|
|
830
830
|
r[o],
|
|
831
831
|
(n ? `${n}.` : "") + o.toString(),
|
|
@@ -837,10 +837,10 @@ function rt(t, e, n = ".", s) {
|
|
|
837
837
|
function us(t) {
|
|
838
838
|
return (...e) => (
|
|
839
839
|
// eslint-disable-next-line unicorn/no-array-reduce
|
|
840
|
-
e.reduce((n, s) =>
|
|
840
|
+
e.reduce((n, s) => ot(n, s, "", t), {})
|
|
841
841
|
);
|
|
842
842
|
}
|
|
843
|
-
const ne = us(),
|
|
843
|
+
const ne = us(), mt = (t) => {
|
|
844
844
|
const e = t.split("?");
|
|
845
845
|
if (e.length <= 1)
|
|
846
846
|
return {
|
|
@@ -879,49 +879,50 @@ const ds = fs(), hs = {
|
|
|
879
879
|
install(t) {
|
|
880
880
|
t.provide("tabEmitter", ds);
|
|
881
881
|
}
|
|
882
|
-
},
|
|
882
|
+
}, ye = () => ct("tabEmitter");
|
|
883
883
|
var Z = /* @__PURE__ */ ((t) => (t.PAGE_LOADING = "PAGE_LOADING", t.TAB_ACTIVE = "TAB_ACTIVE", t))(Z || {});
|
|
884
|
-
const ps = {
|
|
885
|
-
key: 0,
|
|
886
|
-
class: "stack-tab-loading-mask"
|
|
887
|
-
}, bs = /* @__PURE__ */ ee({
|
|
884
|
+
const ps = /* @__PURE__ */ ee({
|
|
888
885
|
__name: "PageLoading",
|
|
889
886
|
props: {
|
|
890
887
|
tId: {}
|
|
891
888
|
},
|
|
892
889
|
setup(t) {
|
|
893
|
-
const e = t, n =
|
|
890
|
+
const e = t, n = ye(), s = D(!1);
|
|
894
891
|
return n.on(Z.PAGE_LOADING, ({ tId: r, value: o }) => {
|
|
895
892
|
r === e.tId && (s.value = o);
|
|
896
|
-
}), (r, o) => s.value ? (R(), V("div",
|
|
893
|
+
}), (r, o) => s.value ? (R(), V("div", {
|
|
894
|
+
key: 0,
|
|
895
|
+
class: "stack-tab-loading-mask",
|
|
896
|
+
style: Fe({ zIndex: x(ft)(".cache-page-wrapper *") })
|
|
897
|
+
}, o[0] || (o[0] = [
|
|
897
898
|
Q("div", { class: "stack-tab-loading--spin turn" }, null, -1)
|
|
898
|
-
]))) : se("", !0);
|
|
899
|
+
]), 4)) : se("", !0);
|
|
899
900
|
}
|
|
900
|
-
}), M =
|
|
901
|
-
let
|
|
901
|
+
}), M = D([]), Ye = [], W = D([]), ae = /* @__PURE__ */ new Map(), de = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set(), he = D(!0), Ke = "stacktab-active-tab", pe = /* @__PURE__ */ new Map();
|
|
902
|
+
let Lt = !1, $e = 0, zt = !1, Je = "";
|
|
902
903
|
const Ce = () => {
|
|
903
|
-
const t = ut(), e =
|
|
904
|
+
const t = ut(), e = ye(), {
|
|
904
905
|
t: n
|
|
905
906
|
} = Me(), s = () => M.value.length, r = (b) => {
|
|
906
907
|
for (const B of b) {
|
|
907
908
|
const h = ne(B, {
|
|
908
|
-
id:
|
|
909
|
+
id: tt(),
|
|
909
910
|
refreshable: !0,
|
|
910
911
|
closable: !0,
|
|
911
912
|
iframe: !1
|
|
912
|
-
}), z =
|
|
913
|
+
}), z = rt(h), q = mt(h.path), P = ne(h, {
|
|
913
914
|
closable: !0,
|
|
914
915
|
refreshable: !0,
|
|
915
916
|
iframe: !1
|
|
916
|
-
}), ze =
|
|
917
|
+
}), ze = Ct(h.id, q.path, q.query), X = {
|
|
917
918
|
id: ze,
|
|
918
919
|
tabId: h.id,
|
|
919
920
|
path: q.path,
|
|
920
921
|
query: ne(q.query, {
|
|
921
922
|
__tab: z
|
|
922
923
|
})
|
|
923
|
-
},
|
|
924
|
-
|
|
924
|
+
}, we = new Xe();
|
|
925
|
+
we.push(X);
|
|
925
926
|
const Y = {
|
|
926
927
|
id: h.id,
|
|
927
928
|
title: P.title,
|
|
@@ -929,15 +930,15 @@ const Ce = () => {
|
|
|
929
930
|
refreshable: P.refreshable,
|
|
930
931
|
iframe: P.iframe,
|
|
931
932
|
active: !1,
|
|
932
|
-
pages:
|
|
933
|
+
pages: we
|
|
933
934
|
};
|
|
934
|
-
|
|
935
|
+
W.value.push(ze), Ye.push(Y), M.value.push({
|
|
935
936
|
...Y
|
|
936
937
|
});
|
|
937
938
|
}
|
|
938
|
-
const v = window.sessionStorage.getItem(
|
|
939
|
+
const v = window.sessionStorage.getItem(Ke);
|
|
939
940
|
if (v != null) {
|
|
940
|
-
const B = JSON.parse(v, (z, q) => z === "pages" ? new
|
|
941
|
+
const B = JSON.parse(v, (z, q) => z === "pages" ? new Xe(q) : q);
|
|
941
942
|
let h = !1;
|
|
942
943
|
for (const z of M.value)
|
|
943
944
|
if (z.id === B.id) {
|
|
@@ -946,13 +947,13 @@ const Ce = () => {
|
|
|
946
947
|
}
|
|
947
948
|
h || M.value.push(B);
|
|
948
949
|
}
|
|
949
|
-
|
|
950
|
+
Lt = !0;
|
|
950
951
|
}, o = (b) => {
|
|
951
952
|
for (const v of M.value)
|
|
952
953
|
if (v.id === b)
|
|
953
954
|
return !0;
|
|
954
955
|
return !1;
|
|
955
|
-
}, i = () =>
|
|
956
|
+
}, i = () => $e <= 0 || $e > 0 && $e > M.value.length, d = (b) => new Promise((v) => {
|
|
956
957
|
M.value.push(b), v(!0);
|
|
957
958
|
}), a = (b) => {
|
|
958
959
|
for (const v of M.value)
|
|
@@ -962,29 +963,29 @@ const Ce = () => {
|
|
|
962
963
|
}, c = (b, v) => {
|
|
963
964
|
let B, h;
|
|
964
965
|
if (b.query.__tab ? h = ls(b.query.__tab) : (h = {
|
|
965
|
-
id:
|
|
966
|
+
id: tt(),
|
|
966
967
|
title: n("VueStackTab.undefined"),
|
|
967
968
|
closable: !0,
|
|
968
969
|
refreshable: !0,
|
|
969
970
|
iframe: !1
|
|
970
|
-
}, b.query.__tab =
|
|
971
|
+
}, b.query.__tab = rt(h)), F.has(h.id) || !v)
|
|
971
972
|
return;
|
|
972
|
-
const z = b.matched[b.matched.length - 1].path, q = b.path.endsWith("/") ? b.path.substring(0, b.path.length - 1) : b.path, P =
|
|
973
|
-
if (
|
|
973
|
+
const z = b.matched[b.matched.length - 1].path, q = b.path.endsWith("/") ? b.path.substring(0, b.path.length - 1) : b.path, P = Ct(h.id, z === q ? q : b.path, b.query.valueOf());
|
|
974
|
+
if (de.has(P))
|
|
974
975
|
return ae.get(P);
|
|
975
976
|
const ze = b.query.__src;
|
|
976
977
|
let X = null;
|
|
977
978
|
for (const Y of x(M))
|
|
978
979
|
Y.active = !1, Y.id === h.id && (X = Y);
|
|
979
|
-
const
|
|
980
|
+
const we = {
|
|
980
981
|
id: P,
|
|
981
982
|
tabId: h.id,
|
|
982
983
|
path: b.path,
|
|
983
984
|
query: b.query
|
|
984
985
|
};
|
|
985
986
|
if (X === null) {
|
|
986
|
-
const Y = new
|
|
987
|
-
Y.push(
|
|
987
|
+
const Y = new Xe();
|
|
988
|
+
Y.push(we), X = {
|
|
988
989
|
id: h.id,
|
|
989
990
|
title: h.title,
|
|
990
991
|
closable: h.closable,
|
|
@@ -1000,7 +1001,7 @@ const Ce = () => {
|
|
|
1000
1001
|
});
|
|
1001
1002
|
});
|
|
1002
1003
|
} else
|
|
1003
|
-
X.active = !0, (X.pages.isEmpty() || X.pages.peek().id !==
|
|
1004
|
+
X.active = !0, (X.pages.isEmpty() || X.pages.peek().id !== we.id) && X.pages.push(we);
|
|
1004
1005
|
return U(X), ae.has(P) ? B = ae.get(P) : (B = /* @__PURE__ */ ee({
|
|
1005
1006
|
name: P,
|
|
1006
1007
|
components: {
|
|
@@ -1009,29 +1010,29 @@ const Ce = () => {
|
|
|
1009
1010
|
emits: {
|
|
1010
1011
|
onLoaded: null
|
|
1011
1012
|
},
|
|
1012
|
-
setup(Y,
|
|
1013
|
-
return
|
|
1014
|
-
|
|
1013
|
+
setup(Y, kt) {
|
|
1014
|
+
return He(() => {
|
|
1015
|
+
kt.emit("onLoaded"), m(P, ".cache-page-wrapper");
|
|
1015
1016
|
}), yn(() => {
|
|
1016
1017
|
f(P);
|
|
1017
1018
|
}), wn(() => {
|
|
1018
|
-
|
|
1019
|
-
}),
|
|
1019
|
+
kt.emit("onLoaded"), p(P), $(), F.clear(), v.props = null;
|
|
1020
|
+
}), Ze(() => {
|
|
1020
1021
|
l(P);
|
|
1021
|
-
}), () =>
|
|
1022
|
+
}), () => N("div", {
|
|
1022
1023
|
class: "cache-page-wrapper",
|
|
1023
1024
|
id: "W-" + h.id,
|
|
1024
|
-
style: [
|
|
1025
|
-
}, [
|
|
1025
|
+
style: [zt ? "overflow:auto" : "overflow:hidden"]
|
|
1026
|
+
}, [N(Xt("dynamic-component"), {
|
|
1026
1027
|
tId: h.id,
|
|
1027
1028
|
pId: P
|
|
1028
|
-
}, null),
|
|
1029
|
+
}, null), N(ps, {
|
|
1029
1030
|
tId: h.id
|
|
1030
1031
|
}, null)]);
|
|
1031
1032
|
}
|
|
1032
1033
|
}), ae.set(P, B)), A(P), B;
|
|
1033
1034
|
}, p = (b) => {
|
|
1034
|
-
const v =
|
|
1035
|
+
const v = pe.get(b);
|
|
1035
1036
|
if (v) {
|
|
1036
1037
|
for (const B of v.keys())
|
|
1037
1038
|
if (document.querySelector(B)) {
|
|
@@ -1041,7 +1042,7 @@ const Ce = () => {
|
|
|
1041
1042
|
}
|
|
1042
1043
|
}, f = (b) => {
|
|
1043
1044
|
var B, h;
|
|
1044
|
-
const v =
|
|
1045
|
+
const v = pe.get(b);
|
|
1045
1046
|
if (v)
|
|
1046
1047
|
for (const z of v.keys()) {
|
|
1047
1048
|
const q = {
|
|
@@ -1051,11 +1052,11 @@ const Ce = () => {
|
|
|
1051
1052
|
v.set(z, q);
|
|
1052
1053
|
}
|
|
1053
1054
|
}, l = (b) => {
|
|
1054
|
-
const v =
|
|
1055
|
-
v && (v.clear(),
|
|
1055
|
+
const v = pe.get(b);
|
|
1056
|
+
v && (v.clear(), pe.delete(b));
|
|
1056
1057
|
}, m = (b, ...v) => {
|
|
1057
|
-
|
|
1058
|
-
const B =
|
|
1058
|
+
pe.has(b) || pe.set(b, /* @__PURE__ */ new Map());
|
|
1059
|
+
const B = pe.get(b);
|
|
1059
1060
|
for (const h of v)
|
|
1060
1061
|
B.set(h, {
|
|
1061
1062
|
top: 0,
|
|
@@ -1065,7 +1066,7 @@ const Ce = () => {
|
|
|
1065
1066
|
const v = a(b.id);
|
|
1066
1067
|
for (const B of v.pages.list())
|
|
1067
1068
|
L(B.id);
|
|
1068
|
-
|
|
1069
|
+
$(), v.pages.clear();
|
|
1069
1070
|
}, E = (b) => {
|
|
1070
1071
|
let v = "";
|
|
1071
1072
|
const B = a(b);
|
|
@@ -1080,7 +1081,7 @@ const Ce = () => {
|
|
|
1080
1081
|
}
|
|
1081
1082
|
return v !== "" && e.emit(Z.TAB_ACTIVE, {
|
|
1082
1083
|
id: v
|
|
1083
|
-
}), B != null && B.active || (
|
|
1084
|
+
}), B != null && B.active || ($(), F.clear()), v;
|
|
1084
1085
|
}, I = () => {
|
|
1085
1086
|
const b = x(M);
|
|
1086
1087
|
for (let v = b.length - 1; v >= 0; v--)
|
|
@@ -1091,7 +1092,7 @@ const Ce = () => {
|
|
|
1091
1092
|
}
|
|
1092
1093
|
for (const v of b)
|
|
1093
1094
|
if (v.active) {
|
|
1094
|
-
|
|
1095
|
+
$(), F.clear();
|
|
1095
1096
|
return;
|
|
1096
1097
|
}
|
|
1097
1098
|
e.emit(Z.TAB_ACTIVE, {
|
|
@@ -1108,7 +1109,7 @@ const Ce = () => {
|
|
|
1108
1109
|
L(z.id), F.add(v[h].id);
|
|
1109
1110
|
x(M)[h].pages.clear(), x(M).splice(h, 1);
|
|
1110
1111
|
}
|
|
1111
|
-
B.active ? (
|
|
1112
|
+
B.active ? ($(), F.clear()) : e.emit(Z.TAB_ACTIVE, {
|
|
1112
1113
|
id: b
|
|
1113
1114
|
});
|
|
1114
1115
|
}, w = (b) => {
|
|
@@ -1127,7 +1128,7 @@ const Ce = () => {
|
|
|
1127
1128
|
}
|
|
1128
1129
|
for (const h of B)
|
|
1129
1130
|
if (h.active) {
|
|
1130
|
-
|
|
1131
|
+
$(), F.clear();
|
|
1131
1132
|
return;
|
|
1132
1133
|
}
|
|
1133
1134
|
e.emit(Z.TAB_ACTIVE, {
|
|
@@ -1149,7 +1150,7 @@ const Ce = () => {
|
|
|
1149
1150
|
}
|
|
1150
1151
|
for (const h of v)
|
|
1151
1152
|
if (h.active) {
|
|
1152
|
-
|
|
1153
|
+
$(), F.clear();
|
|
1153
1154
|
return;
|
|
1154
1155
|
}
|
|
1155
1156
|
e.emit(Z.TAB_ACTIVE, {
|
|
@@ -1160,10 +1161,10 @@ const Ce = () => {
|
|
|
1160
1161
|
for (const B of x(M))
|
|
1161
1162
|
if (B.id === b) {
|
|
1162
1163
|
const h = (v = B.pages.peek()) == null ? void 0 : v.id;
|
|
1163
|
-
for (let z =
|
|
1164
|
-
if (
|
|
1165
|
-
|
|
1166
|
-
|
|
1164
|
+
for (let z = W.value.length - 1; z >= 0; z--)
|
|
1165
|
+
if (W.value[z] === h) {
|
|
1166
|
+
W.value.splice(z, 1), B.active && (he.value = !1, le(() => {
|
|
1167
|
+
he.value = !0;
|
|
1167
1168
|
}));
|
|
1168
1169
|
break;
|
|
1169
1170
|
}
|
|
@@ -1174,14 +1175,14 @@ const Ce = () => {
|
|
|
1174
1175
|
M.value.forEach((v) => {
|
|
1175
1176
|
b.add(v.pages.peek().id);
|
|
1176
1177
|
});
|
|
1177
|
-
for (let v =
|
|
1178
|
-
const B =
|
|
1179
|
-
b.has(B) &&
|
|
1178
|
+
for (let v = W.value.length - 1; v >= 0; v--) {
|
|
1179
|
+
const B = W.value[v];
|
|
1180
|
+
b.has(B) && W.value.splice(v, 1);
|
|
1180
1181
|
}
|
|
1181
1182
|
le(() => {
|
|
1182
|
-
|
|
1183
|
+
he.value = !1, le(() => {
|
|
1183
1184
|
setTimeout(() => {
|
|
1184
|
-
|
|
1185
|
+
he.value = !0;
|
|
1185
1186
|
}, 300);
|
|
1186
1187
|
});
|
|
1187
1188
|
});
|
|
@@ -1190,16 +1191,20 @@ const Ce = () => {
|
|
|
1190
1191
|
}, _ = (b) => ae.get(b), k = (b) => {
|
|
1191
1192
|
ae.delete(b);
|
|
1192
1193
|
}, L = (b) => {
|
|
1193
|
-
|
|
1194
|
-
},
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1194
|
+
de.add(b);
|
|
1195
|
+
}, $ = () => {
|
|
1196
|
+
if (de.size > 0) {
|
|
1197
|
+
for (let b = W.value.length - 1; b >= 0; b--)
|
|
1198
|
+
de.has(W.value[b]) && x(W).splice(b, 1);
|
|
1199
|
+
for (const b of de)
|
|
1200
|
+
k(b);
|
|
1201
|
+
de.clear();
|
|
1202
|
+
}
|
|
1198
1203
|
}, G = (b) => {
|
|
1199
|
-
for (let v =
|
|
1200
|
-
b ===
|
|
1204
|
+
for (let v = W.value.length - 1; v >= 0; v--)
|
|
1205
|
+
b === W.value[v] && x(W).splice(v, 1);
|
|
1201
1206
|
}, A = (b) => {
|
|
1202
|
-
new Set(
|
|
1207
|
+
new Set(W.value).has(b) || W.value.push(b);
|
|
1203
1208
|
}, C = (b, v = !0) => {
|
|
1204
1209
|
e.emit("FORWARD");
|
|
1205
1210
|
for (let B = M.value.length - 1; B >= 0; B--) {
|
|
@@ -1218,33 +1223,33 @@ const Ce = () => {
|
|
|
1218
1223
|
M.value[B].active = !1;
|
|
1219
1224
|
}
|
|
1220
1225
|
}, U = (b) => {
|
|
1221
|
-
window.sessionStorage.setItem(
|
|
1226
|
+
window.sessionStorage.setItem(Je + Ke, JSON.stringify(b));
|
|
1222
1227
|
}, re = () => {
|
|
1223
|
-
window.sessionStorage.removeItem(
|
|
1228
|
+
window.sessionStorage.removeItem(Je + Ke);
|
|
1224
1229
|
}, Le = () => {
|
|
1225
|
-
|
|
1226
|
-
x(M).push(...
|
|
1227
|
-
id:
|
|
1230
|
+
he.value = !1, wt(), le(() => {
|
|
1231
|
+
x(M).push(...Ye), e.emit(Z.TAB_ACTIVE, {
|
|
1232
|
+
id: Ye[0].id
|
|
1228
1233
|
}), le(() => {
|
|
1229
|
-
|
|
1234
|
+
he.value = !0;
|
|
1230
1235
|
});
|
|
1231
1236
|
});
|
|
1232
|
-
},
|
|
1233
|
-
x(M).splice(0), ae.clear(),
|
|
1237
|
+
}, wt = () => {
|
|
1238
|
+
x(M).splice(0), ae.clear(), de.clear(), F.clear(), x(W).splice(0);
|
|
1234
1239
|
};
|
|
1235
1240
|
return {
|
|
1236
1241
|
tabs: M,
|
|
1237
|
-
caches:
|
|
1238
|
-
pageShown:
|
|
1239
|
-
initialed:
|
|
1242
|
+
caches: W,
|
|
1243
|
+
pageShown: he,
|
|
1244
|
+
initialed: Lt,
|
|
1240
1245
|
setMaxSize: (b) => {
|
|
1241
|
-
|
|
1246
|
+
$e = b;
|
|
1242
1247
|
},
|
|
1243
1248
|
canAddTab: i,
|
|
1244
1249
|
initial: r,
|
|
1245
1250
|
size: s,
|
|
1246
1251
|
active: C,
|
|
1247
|
-
destroy:
|
|
1252
|
+
destroy: wt,
|
|
1248
1253
|
reset: Le,
|
|
1249
1254
|
addCache: A,
|
|
1250
1255
|
removeCache: G,
|
|
@@ -1262,40 +1267,40 @@ const Ce = () => {
|
|
|
1262
1267
|
getComponent: _,
|
|
1263
1268
|
removeComponent: k,
|
|
1264
1269
|
markDeletableCache: L,
|
|
1265
|
-
removeDeletableCache:
|
|
1270
|
+
removeDeletableCache: $,
|
|
1266
1271
|
refreshTab: g,
|
|
1267
1272
|
refreshAllTabs: O,
|
|
1268
1273
|
addPageScroller: m,
|
|
1269
1274
|
setGlobalScroll: (b) => {
|
|
1270
|
-
|
|
1275
|
+
zt = b;
|
|
1271
1276
|
},
|
|
1272
1277
|
clearSession: re,
|
|
1273
1278
|
setSessionPrefix: (b) => {
|
|
1274
|
-
|
|
1279
|
+
Je = b;
|
|
1275
1280
|
}
|
|
1276
1281
|
};
|
|
1277
|
-
},
|
|
1282
|
+
}, bs = { class: "stack-tab__contextmenu-item" }, ce = /* @__PURE__ */ ee({
|
|
1278
1283
|
__name: "ContextMenuItem",
|
|
1279
1284
|
props: {
|
|
1280
1285
|
icon: {},
|
|
1281
1286
|
title: {}
|
|
1282
1287
|
},
|
|
1283
1288
|
setup(t) {
|
|
1284
|
-
return (e, n) => (R(), V("div",
|
|
1289
|
+
return (e, n) => (R(), V("div", bs, [
|
|
1285
1290
|
Q("div", {
|
|
1286
1291
|
class: fe(["stack-tab__contextmenu-icon", e.icon])
|
|
1287
1292
|
}, null, 2),
|
|
1288
1293
|
Q("div", {
|
|
1289
1294
|
style: { "margin-left": "8px" },
|
|
1290
|
-
onContextmenu: n[0] || (n[0] =
|
|
1295
|
+
onContextmenu: n[0] || (n[0] = xe(() => {
|
|
1291
1296
|
}, ["prevent"]))
|
|
1292
|
-
},
|
|
1297
|
+
}, Gt(e.title), 33)
|
|
1293
1298
|
]));
|
|
1294
1299
|
}
|
|
1295
|
-
}),
|
|
1300
|
+
}), vs = {
|
|
1296
1301
|
key: 0,
|
|
1297
1302
|
class: "divider div-transparent"
|
|
1298
|
-
},
|
|
1303
|
+
}, ms = /* @__PURE__ */ ee({
|
|
1299
1304
|
__name: "index",
|
|
1300
1305
|
props: {
|
|
1301
1306
|
index: {},
|
|
@@ -1306,7 +1311,7 @@ const Ce = () => {
|
|
|
1306
1311
|
max: {}
|
|
1307
1312
|
},
|
|
1308
1313
|
setup(t) {
|
|
1309
|
-
const e = t, { t: n } = Me(), s =
|
|
1314
|
+
const e = t, { t: n } = Me(), s = D(), r = Ie({
|
|
1310
1315
|
left: e.left,
|
|
1311
1316
|
top: e.top
|
|
1312
1317
|
}), {
|
|
@@ -1318,59 +1323,59 @@ const Ce = () => {
|
|
|
1318
1323
|
refreshAllTabs: p,
|
|
1319
1324
|
removeOtherTabs: f
|
|
1320
1325
|
} = Ce();
|
|
1321
|
-
return
|
|
1326
|
+
return He(() => {
|
|
1322
1327
|
const l = s.value ? s.value.clientWidth : 0, m = window.innerWidth;
|
|
1323
1328
|
r.left + l > m && (r.left = m - l - 5);
|
|
1324
1329
|
}), (l, m) => (R(), V("div", {
|
|
1325
1330
|
ref_key: "contextmenu",
|
|
1326
1331
|
ref: s,
|
|
1327
1332
|
class: "stack-tab__contextmenu",
|
|
1328
|
-
style:
|
|
1333
|
+
style: Fe({
|
|
1329
1334
|
left: `${r.left}px`,
|
|
1330
1335
|
top: `${r.top}px`,
|
|
1331
|
-
"z-index": x(
|
|
1336
|
+
"z-index": x(ft)(".stack-tab,.stack-tab *")
|
|
1332
1337
|
})
|
|
1333
1338
|
}, [
|
|
1334
|
-
|
|
1339
|
+
N(ce, {
|
|
1335
1340
|
icon: "stack-tab__icon-reload svg-mask",
|
|
1336
1341
|
title: x(n)("VueStackTab.reload"),
|
|
1337
1342
|
onClick: m[0] || (m[0] = (S) => x(c)(l.tabItem.id))
|
|
1338
1343
|
}, null, 8, ["title"]),
|
|
1339
|
-
|
|
1344
|
+
N(ce, {
|
|
1340
1345
|
icon: "stack-tab__icon-reload-all svg-mask",
|
|
1341
1346
|
title: x(n)("VueStackTab.reloadAll"),
|
|
1342
1347
|
onClick: x(p)
|
|
1343
1348
|
}, null, 8, ["title", "onClick"]),
|
|
1344
|
-
|
|
1349
|
+
N(ce, {
|
|
1345
1350
|
icon: "stack-tab__icon-close svg-mask",
|
|
1346
1351
|
title: x(n)("VueStackTab.close"),
|
|
1347
1352
|
disabled: l.tabItem.closable ? null : "disabled",
|
|
1348
1353
|
onClick: m[1] || (m[1] = (S) => x(o)(l.tabItem.id))
|
|
1349
1354
|
}, null, 8, ["title", "disabled"]),
|
|
1350
|
-
|
|
1355
|
+
N(ce, {
|
|
1351
1356
|
icon: "stack-tab__icon-close-lefts svg-mask",
|
|
1352
1357
|
title: x(n)("VueStackTab.closeLeft"),
|
|
1353
1358
|
disabled: l.index <= 0 ? "disabled" : null,
|
|
1354
1359
|
onClick: m[2] || (m[2] = (S) => x(d)(l.tabItem.id))
|
|
1355
1360
|
}, null, 8, ["title", "disabled"]),
|
|
1356
|
-
|
|
1361
|
+
N(ce, {
|
|
1357
1362
|
icon: "stack-tab__icon-close-rights svg-mask",
|
|
1358
1363
|
title: x(n)("VueStackTab.closeRight"),
|
|
1359
1364
|
disabled: l.index >= l.max - 1 ? "disabled" : null,
|
|
1360
1365
|
onClick: m[3] || (m[3] = (S) => x(a)(l.tabItem.id))
|
|
1361
1366
|
}, null, 8, ["title", "disabled"]),
|
|
1362
|
-
|
|
1367
|
+
N(ce, {
|
|
1363
1368
|
icon: "stack-tab__icon-close-others svg-mask",
|
|
1364
1369
|
title: x(n)("VueStackTab.closeOthers"),
|
|
1365
1370
|
onClick: m[4] || (m[4] = (S) => x(f)(l.tabItem.id))
|
|
1366
1371
|
}, null, 8, ["title"]),
|
|
1367
|
-
|
|
1372
|
+
N(ce, {
|
|
1368
1373
|
icon: "stack-tab__icon-close-all svg-mask",
|
|
1369
1374
|
title: x(n)("VueStackTab.closeAll"),
|
|
1370
1375
|
onClick: x(i)
|
|
1371
1376
|
}, null, 8, ["title", "onClick"]),
|
|
1372
|
-
l.contextMenu !== void 0 && l.contextMenu.length > 0 ? (R(), V("div",
|
|
1373
|
-
(R(!0), V(
|
|
1377
|
+
l.contextMenu !== void 0 && l.contextMenu.length > 0 ? (R(), V("div", vs)) : se("", !0),
|
|
1378
|
+
(R(!0), V(je, null, lt(l.contextMenu, (S, E) => (R(), ge(ce, {
|
|
1374
1379
|
key: E,
|
|
1375
1380
|
icon: S.icon,
|
|
1376
1381
|
title: S.title,
|
|
@@ -1379,22 +1384,22 @@ const Ce = () => {
|
|
|
1379
1384
|
}, null, 8, ["icon", "title", "disabled", "onClick"]))), 128))
|
|
1380
1385
|
], 4));
|
|
1381
1386
|
}
|
|
1382
|
-
}),
|
|
1387
|
+
}), gs = (t, e) => {
|
|
1383
1388
|
const n = t.__vccOpts || t;
|
|
1384
1389
|
for (const [s, r] of e)
|
|
1385
1390
|
n[s] = r;
|
|
1386
1391
|
return n;
|
|
1387
|
-
},
|
|
1392
|
+
}, ys = /* @__PURE__ */ gs(ms, [["__scopeId", "data-v-d598be6e"]]), ws = () => {
|
|
1388
1393
|
const t = Ie({
|
|
1389
1394
|
item: {},
|
|
1390
1395
|
index: -1,
|
|
1391
1396
|
left: 0,
|
|
1392
1397
|
top: 0,
|
|
1393
1398
|
max: 0
|
|
1394
|
-
}), e =
|
|
1395
|
-
|
|
1399
|
+
}), e = D(!1);
|
|
1400
|
+
He(() => {
|
|
1396
1401
|
document.addEventListener("click", s);
|
|
1397
|
-
}),
|
|
1402
|
+
}), Ze(() => {
|
|
1398
1403
|
document.removeEventListener("click", s);
|
|
1399
1404
|
});
|
|
1400
1405
|
const n = async (r, o, i, d) => {
|
|
@@ -1410,18 +1415,18 @@ const Ce = () => {
|
|
|
1410
1415
|
contextMenuData: t,
|
|
1411
1416
|
showContextMenu: n
|
|
1412
1417
|
};
|
|
1413
|
-
},
|
|
1418
|
+
}, ks = { class: "stack-tab__item-title" }, _s = ["title"], xs = ["title"], Ts = /* @__PURE__ */ ee({
|
|
1414
1419
|
__name: "TabHeaderItem",
|
|
1415
1420
|
props: {
|
|
1416
1421
|
item: {}
|
|
1417
1422
|
},
|
|
1418
1423
|
emits: ["close", "active"],
|
|
1419
1424
|
setup(t, { emit: e }) {
|
|
1420
|
-
const n = e, s =
|
|
1425
|
+
const n = e, s = ye(), { t: r } = Me(), o = D(), i = t;
|
|
1421
1426
|
s.on(Z.TAB_ACTIVE, ({ id: p, isRoute: f }) => {
|
|
1422
1427
|
i.item.id === p && c(f);
|
|
1423
1428
|
});
|
|
1424
|
-
const d =
|
|
1429
|
+
const d = ke(() => i.item.title || r("undefined")), a = () => {
|
|
1425
1430
|
n("close", i.item);
|
|
1426
1431
|
}, c = (p = !0) => {
|
|
1427
1432
|
n("active", i.item, o, p);
|
|
@@ -1435,48 +1440,48 @@ const Ce = () => {
|
|
|
1435
1440
|
}]),
|
|
1436
1441
|
onClick: f[0] || (f[0] = (l) => c(!0))
|
|
1437
1442
|
}, [
|
|
1438
|
-
Q("div",
|
|
1443
|
+
Q("div", ks, [
|
|
1439
1444
|
Q("div", {
|
|
1440
1445
|
class: "stack-tab__item-title-content",
|
|
1441
1446
|
title: d.value
|
|
1442
|
-
},
|
|
1447
|
+
}, Gt(d.value), 9, _s)
|
|
1443
1448
|
]),
|
|
1444
1449
|
p.item.closable ? (R(), V("div", {
|
|
1445
1450
|
key: 0,
|
|
1446
1451
|
class: "stack-tab__icon-close-fill stack-tab__item-button",
|
|
1447
1452
|
title: x(r)("VueStackTab.close"),
|
|
1448
|
-
onClick:
|
|
1449
|
-
}, null, 8,
|
|
1453
|
+
onClick: xe(a, ["stop"])
|
|
1454
|
+
}, null, 8, xs)) : se("", !0)
|
|
1450
1455
|
], 2));
|
|
1451
1456
|
}
|
|
1452
1457
|
});
|
|
1453
|
-
var
|
|
1454
|
-
return
|
|
1458
|
+
var ve = [], Ss = function() {
|
|
1459
|
+
return ve.some(function(t) {
|
|
1455
1460
|
return t.activeTargets.length > 0;
|
|
1456
1461
|
});
|
|
1457
|
-
},
|
|
1458
|
-
return
|
|
1462
|
+
}, Os = function() {
|
|
1463
|
+
return ve.some(function(t) {
|
|
1459
1464
|
return t.skippedTargets.length > 0;
|
|
1460
1465
|
});
|
|
1461
|
-
},
|
|
1466
|
+
}, Rt = "ResizeObserver loop completed with undelivered notifications.", As = function() {
|
|
1462
1467
|
var t;
|
|
1463
1468
|
typeof ErrorEvent == "function" ? t = new ErrorEvent("error", {
|
|
1464
|
-
message:
|
|
1465
|
-
}) : (t = document.createEvent("Event"), t.initEvent("error", !1, !1), t.message =
|
|
1469
|
+
message: Rt
|
|
1470
|
+
}) : (t = document.createEvent("Event"), t.initEvent("error", !1, !1), t.message = Rt), window.dispatchEvent(t);
|
|
1466
1471
|
}, Be;
|
|
1467
1472
|
(function(t) {
|
|
1468
1473
|
t.BORDER_BOX = "border-box", t.CONTENT_BOX = "content-box", t.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
|
|
1469
1474
|
})(Be || (Be = {}));
|
|
1470
|
-
var
|
|
1475
|
+
var me = function(t) {
|
|
1471
1476
|
return Object.freeze(t);
|
|
1472
|
-
},
|
|
1477
|
+
}, Es = /* @__PURE__ */ function() {
|
|
1473
1478
|
function t(e, n) {
|
|
1474
|
-
this.inlineSize = e, this.blockSize = n,
|
|
1479
|
+
this.inlineSize = e, this.blockSize = n, me(this);
|
|
1475
1480
|
}
|
|
1476
1481
|
return t;
|
|
1477
1482
|
}(), ln = function() {
|
|
1478
1483
|
function t(e, n, s, r) {
|
|
1479
|
-
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,
|
|
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);
|
|
1480
1485
|
}
|
|
1481
1486
|
return t.prototype.toJSON = function() {
|
|
1482
1487
|
var e = this, n = e.x, s = e.y, r = e.top, o = e.right, i = e.bottom, d = e.left, a = e.width, c = e.height;
|
|
@@ -1484,22 +1489,22 @@ var ve = function(t) {
|
|
|
1484
1489
|
}, t.fromRect = function(e) {
|
|
1485
1490
|
return new t(e.x, e.y, e.width, e.height);
|
|
1486
1491
|
}, t;
|
|
1487
|
-
}(),
|
|
1492
|
+
}(), gt = function(t) {
|
|
1488
1493
|
return t instanceof SVGElement && "getBBox" in t;
|
|
1489
1494
|
}, un = function(t) {
|
|
1490
|
-
if (
|
|
1495
|
+
if (gt(t)) {
|
|
1491
1496
|
var e = t.getBBox(), n = e.width, s = e.height;
|
|
1492
1497
|
return !n && !s;
|
|
1493
1498
|
}
|
|
1494
1499
|
var r = t, o = r.offsetWidth, i = r.offsetHeight;
|
|
1495
1500
|
return !(o || i || t.getClientRects().length);
|
|
1496
|
-
},
|
|
1501
|
+
}, $t = function(t) {
|
|
1497
1502
|
var e;
|
|
1498
1503
|
if (t instanceof Element)
|
|
1499
1504
|
return !0;
|
|
1500
1505
|
var n = (e = t == null ? void 0 : t.ownerDocument) === null || e === void 0 ? void 0 : e.defaultView;
|
|
1501
1506
|
return !!(n && t instanceof n.Element);
|
|
1502
|
-
},
|
|
1507
|
+
}, Is = function(t) {
|
|
1503
1508
|
switch (t.tagName) {
|
|
1504
1509
|
case "INPUT":
|
|
1505
1510
|
if (t.type !== "image")
|
|
@@ -1514,27 +1519,27 @@ var ve = function(t) {
|
|
|
1514
1519
|
return !0;
|
|
1515
1520
|
}
|
|
1516
1521
|
return !1;
|
|
1517
|
-
}, Ee = typeof window < "u" ? window : {},
|
|
1522
|
+
}, Ee = typeof window < "u" ? window : {}, De = /* @__PURE__ */ new WeakMap(), Dt = /auto|scroll/, Bs = /^tb|vertical/, Ms = /msie|trident/i.test(Ee.navigator && Ee.navigator.userAgent), K = function(t) {
|
|
1518
1523
|
return parseFloat(t || "0");
|
|
1519
|
-
},
|
|
1520
|
-
return t === void 0 && (t = 0), e === void 0 && (e = 0), n === void 0 && (n = !1), new
|
|
1521
|
-
},
|
|
1522
|
-
devicePixelContentBoxSize:
|
|
1523
|
-
borderBoxSize:
|
|
1524
|
-
contentBoxSize:
|
|
1524
|
+
}, _e = function(t, e, n) {
|
|
1525
|
+
return t === void 0 && (t = 0), e === void 0 && (e = 0), n === void 0 && (n = !1), new Es((n ? e : t) || 0, (n ? t : e) || 0);
|
|
1526
|
+
}, Pt = me({
|
|
1527
|
+
devicePixelContentBoxSize: _e(),
|
|
1528
|
+
borderBoxSize: _e(),
|
|
1529
|
+
contentBoxSize: _e(),
|
|
1525
1530
|
contentRect: new ln(0, 0, 0, 0)
|
|
1526
1531
|
}), fn = function(t, e) {
|
|
1527
|
-
if (e === void 0 && (e = !1),
|
|
1528
|
-
return
|
|
1532
|
+
if (e === void 0 && (e = !1), De.has(t) && !e)
|
|
1533
|
+
return De.get(t);
|
|
1529
1534
|
if (un(t))
|
|
1530
|
-
return
|
|
1531
|
-
var n = getComputedStyle(t), s =
|
|
1532
|
-
devicePixelContentBoxSize:
|
|
1533
|
-
borderBoxSize:
|
|
1534
|
-
contentBoxSize:
|
|
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 || ""), d = !s && Dt.test(n.overflowX || ""), a = s ? 0 : K(n.paddingTop), c = s ? 0 : K(n.paddingRight), p = s ? 0 : K(n.paddingBottom), f = s ? 0 : K(n.paddingLeft), l = s ? 0 : K(n.borderTopWidth), m = s ? 0 : K(n.borderRightWidth), S = s ? 0 : K(n.borderBottomWidth), E = s ? 0 : K(n.borderLeftWidth), I = f + c, y = a + p, w = E + m, T = l + S, g = d ? t.offsetHeight - T - t.clientHeight : 0, O = i ? t.offsetWidth - w - t.clientWidth : 0, u = r ? I + w : 0, _ = r ? y + T : 0, k = s ? s.width : K(n.width) - u - O, L = s ? s.height : K(n.height) - _ - g, $ = k + I + O + w, G = L + y + g + T, A = me({
|
|
1537
|
+
devicePixelContentBoxSize: _e(Math.round(k * devicePixelRatio), Math.round(L * devicePixelRatio), o),
|
|
1538
|
+
borderBoxSize: _e($, G, o),
|
|
1539
|
+
contentBoxSize: _e(k, L, o),
|
|
1535
1540
|
contentRect: new ln(f, a, k, L)
|
|
1536
1541
|
});
|
|
1537
|
-
return
|
|
1542
|
+
return De.set(t, A), A;
|
|
1538
1543
|
}, dn = function(t, e, n) {
|
|
1539
1544
|
var s = fn(t, n), r = s.borderBoxSize, o = s.contentBoxSize, i = s.devicePixelContentBoxSize;
|
|
1540
1545
|
switch (e) {
|
|
@@ -1545,10 +1550,10 @@ var ve = function(t) {
|
|
|
1545
1550
|
default:
|
|
1546
1551
|
return o;
|
|
1547
1552
|
}
|
|
1548
|
-
},
|
|
1553
|
+
}, Cs = /* @__PURE__ */ function() {
|
|
1549
1554
|
function t(e) {
|
|
1550
1555
|
var n = fn(e);
|
|
1551
|
-
this.target = e, this.contentRect = n.contentRect, this.borderBoxSize =
|
|
1556
|
+
this.target = e, this.contentRect = n.contentRect, this.borderBoxSize = me([n.borderBoxSize]), this.contentBoxSize = me([n.contentBoxSize]), this.devicePixelContentBoxSize = me([n.devicePixelContentBoxSize]);
|
|
1552
1557
|
}
|
|
1553
1558
|
return t;
|
|
1554
1559
|
}(), hn = function(t) {
|
|
@@ -1557,13 +1562,13 @@ var ve = function(t) {
|
|
|
1557
1562
|
for (var e = 0, n = t.parentNode; n; )
|
|
1558
1563
|
e += 1, n = n.parentNode;
|
|
1559
1564
|
return e;
|
|
1560
|
-
},
|
|
1565
|
+
}, Ls = function() {
|
|
1561
1566
|
var t = 1 / 0, e = [];
|
|
1562
|
-
|
|
1567
|
+
ve.forEach(function(i) {
|
|
1563
1568
|
if (i.activeTargets.length !== 0) {
|
|
1564
1569
|
var d = [];
|
|
1565
1570
|
i.activeTargets.forEach(function(c) {
|
|
1566
|
-
var p = new
|
|
1571
|
+
var p = new Cs(c.target), f = hn(c.target);
|
|
1567
1572
|
d.push(p), c.lastReportedSize = dn(c.target, c.observedBox), f < t && (t = f);
|
|
1568
1573
|
}), e.push(function() {
|
|
1569
1574
|
i.callback.call(i.observer, d, i.observer);
|
|
@@ -1575,38 +1580,38 @@ var ve = function(t) {
|
|
|
1575
1580
|
r();
|
|
1576
1581
|
}
|
|
1577
1582
|
return t;
|
|
1578
|
-
},
|
|
1579
|
-
|
|
1583
|
+
}, Nt = function(t) {
|
|
1584
|
+
ve.forEach(function(n) {
|
|
1580
1585
|
n.activeTargets.splice(0, n.activeTargets.length), n.skippedTargets.splice(0, n.skippedTargets.length), n.observationTargets.forEach(function(r) {
|
|
1581
1586
|
r.isActive() && (hn(r.target) > t ? n.activeTargets.push(r) : n.skippedTargets.push(r));
|
|
1582
1587
|
});
|
|
1583
1588
|
});
|
|
1584
|
-
},
|
|
1589
|
+
}, zs = function() {
|
|
1585
1590
|
var t = 0;
|
|
1586
|
-
for (
|
|
1587
|
-
t =
|
|
1588
|
-
return
|
|
1589
|
-
},
|
|
1591
|
+
for (Nt(t); Ss(); )
|
|
1592
|
+
t = Ls(), Nt(t);
|
|
1593
|
+
return Os() && As(), t > 0;
|
|
1594
|
+
}, Qe, pn = [], Rs = function() {
|
|
1590
1595
|
return pn.splice(0).forEach(function(t) {
|
|
1591
1596
|
return t();
|
|
1592
1597
|
});
|
|
1593
1598
|
}, $s = function(t) {
|
|
1594
|
-
if (!
|
|
1599
|
+
if (!Qe) {
|
|
1595
1600
|
var e = 0, n = document.createTextNode(""), s = { characterData: !0 };
|
|
1596
1601
|
new MutationObserver(function() {
|
|
1597
|
-
return
|
|
1598
|
-
}).observe(n, s),
|
|
1602
|
+
return Rs();
|
|
1603
|
+
}).observe(n, s), Qe = function() {
|
|
1599
1604
|
n.textContent = "".concat(e ? e-- : e++);
|
|
1600
1605
|
};
|
|
1601
1606
|
}
|
|
1602
|
-
pn.push(t),
|
|
1603
|
-
},
|
|
1607
|
+
pn.push(t), Qe();
|
|
1608
|
+
}, Ds = function(t) {
|
|
1604
1609
|
$s(function() {
|
|
1605
1610
|
requestAnimationFrame(t);
|
|
1606
1611
|
});
|
|
1607
|
-
}, Ve = 0,
|
|
1612
|
+
}, Ve = 0, Ps = function() {
|
|
1608
1613
|
return !!Ve;
|
|
1609
|
-
},
|
|
1614
|
+
}, Ns = 250, Ws = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, Wt = [
|
|
1610
1615
|
"resize",
|
|
1611
1616
|
"load",
|
|
1612
1617
|
"transitionend",
|
|
@@ -1621,9 +1626,9 @@ var ve = function(t) {
|
|
|
1621
1626
|
"mouseout",
|
|
1622
1627
|
"blur",
|
|
1623
1628
|
"focus"
|
|
1624
|
-
],
|
|
1629
|
+
], Vt = function(t) {
|
|
1625
1630
|
return t === void 0 && (t = 0), Date.now() + t;
|
|
1626
|
-
},
|
|
1631
|
+
}, et = !1, Vs = function() {
|
|
1627
1632
|
function t() {
|
|
1628
1633
|
var e = this;
|
|
1629
1634
|
this.stopped = !0, this.listener = function() {
|
|
@@ -1632,15 +1637,15 @@ var ve = function(t) {
|
|
|
1632
1637
|
}
|
|
1633
1638
|
return t.prototype.run = function(e) {
|
|
1634
1639
|
var n = this;
|
|
1635
|
-
if (e === void 0 && (e =
|
|
1636
|
-
|
|
1637
|
-
var s =
|
|
1638
|
-
|
|
1640
|
+
if (e === void 0 && (e = Ns), !et) {
|
|
1641
|
+
et = !0;
|
|
1642
|
+
var s = Vt(e);
|
|
1643
|
+
Ds(function() {
|
|
1639
1644
|
var r = !1;
|
|
1640
1645
|
try {
|
|
1641
|
-
r =
|
|
1646
|
+
r = zs();
|
|
1642
1647
|
} finally {
|
|
1643
|
-
if (
|
|
1648
|
+
if (et = !1, e = s - Vt(), !Ps())
|
|
1644
1649
|
return;
|
|
1645
1650
|
r ? n.run(1e3) : e > 0 ? n.run(e) : n.start();
|
|
1646
1651
|
}
|
|
@@ -1650,25 +1655,25 @@ var ve = function(t) {
|
|
|
1650
1655
|
this.stop(), this.run();
|
|
1651
1656
|
}, t.prototype.observe = function() {
|
|
1652
1657
|
var e = this, n = function() {
|
|
1653
|
-
return e.observer && e.observer.observe(document.body,
|
|
1658
|
+
return e.observer && e.observer.observe(document.body, Ws);
|
|
1654
1659
|
};
|
|
1655
1660
|
document.body ? n() : Ee.addEventListener("DOMContentLoaded", n);
|
|
1656
1661
|
}, t.prototype.start = function() {
|
|
1657
1662
|
var e = this;
|
|
1658
|
-
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(),
|
|
1663
|
+
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), Wt.forEach(function(n) {
|
|
1659
1664
|
return Ee.addEventListener(n, e.listener, !0);
|
|
1660
1665
|
}));
|
|
1661
1666
|
}, t.prototype.stop = function() {
|
|
1662
1667
|
var e = this;
|
|
1663
|
-
this.stopped || (this.observer && this.observer.disconnect(),
|
|
1668
|
+
this.stopped || (this.observer && this.observer.disconnect(), Wt.forEach(function(n) {
|
|
1664
1669
|
return Ee.removeEventListener(n, e.listener, !0);
|
|
1665
1670
|
}), this.stopped = !0);
|
|
1666
1671
|
}, t;
|
|
1667
|
-
}(),
|
|
1668
|
-
!Ve && t > 0 &&
|
|
1669
|
-
},
|
|
1670
|
-
return !
|
|
1671
|
-
},
|
|
1672
|
+
}(), it = new Vs(), Ut = function(t) {
|
|
1673
|
+
!Ve && t > 0 && it.start(), Ve += t, !Ve && it.stop();
|
|
1674
|
+
}, Us = function(t) {
|
|
1675
|
+
return !gt(t) && !Is(t) && getComputedStyle(t).display === "inline";
|
|
1676
|
+
}, qs = function() {
|
|
1672
1677
|
function t(e, n) {
|
|
1673
1678
|
this.target = e, this.observedBox = n || Be.CONTENT_BOX, this.lastReportedSize = {
|
|
1674
1679
|
inlineSize: 0,
|
|
@@ -1677,14 +1682,14 @@ var ve = function(t) {
|
|
|
1677
1682
|
}
|
|
1678
1683
|
return t.prototype.isActive = function() {
|
|
1679
1684
|
var e = dn(this.target, this.observedBox, !0);
|
|
1680
|
-
return
|
|
1685
|
+
return Us(this.target) && (this.lastReportedSize = e), this.lastReportedSize.inlineSize !== e.inlineSize || this.lastReportedSize.blockSize !== e.blockSize;
|
|
1681
1686
|
}, t;
|
|
1682
|
-
}(),
|
|
1687
|
+
}(), Fs = /* @__PURE__ */ function() {
|
|
1683
1688
|
function t(e, n) {
|
|
1684
1689
|
this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = e, this.callback = n;
|
|
1685
1690
|
}
|
|
1686
1691
|
return t;
|
|
1687
|
-
}(), Pe = /* @__PURE__ */ new WeakMap(),
|
|
1692
|
+
}(), Pe = /* @__PURE__ */ new WeakMap(), qt = function(t, e) {
|
|
1688
1693
|
for (var n = 0; n < t.length; n += 1)
|
|
1689
1694
|
if (t[n].target === e)
|
|
1690
1695
|
return n;
|
|
@@ -1693,21 +1698,21 @@ var ve = function(t) {
|
|
|
1693
1698
|
function t() {
|
|
1694
1699
|
}
|
|
1695
1700
|
return t.connect = function(e, n) {
|
|
1696
|
-
var s = new
|
|
1701
|
+
var s = new Fs(e, n);
|
|
1697
1702
|
Pe.set(e, s);
|
|
1698
1703
|
}, t.observe = function(e, n, s) {
|
|
1699
1704
|
var r = Pe.get(e), o = r.observationTargets.length === 0;
|
|
1700
|
-
|
|
1705
|
+
qt(r.observationTargets, n) < 0 && (o && ve.push(r), r.observationTargets.push(new qs(n, s && s.box)), Ut(1), it.schedule());
|
|
1701
1706
|
}, t.unobserve = function(e, n) {
|
|
1702
|
-
var s = Pe.get(e), r =
|
|
1703
|
-
r >= 0 && (o &&
|
|
1707
|
+
var s = Pe.get(e), r = qt(s.observationTargets, n), o = s.observationTargets.length === 1;
|
|
1708
|
+
r >= 0 && (o && ve.splice(ve.indexOf(s), 1), s.observationTargets.splice(r, 1), Ut(-1));
|
|
1704
1709
|
}, t.disconnect = function(e) {
|
|
1705
1710
|
var n = this, s = Pe.get(e);
|
|
1706
1711
|
s.observationTargets.slice().forEach(function(r) {
|
|
1707
1712
|
return n.unobserve(e, r.target);
|
|
1708
1713
|
}), s.activeTargets.splice(0, s.activeTargets.length);
|
|
1709
1714
|
}, t;
|
|
1710
|
-
}(),
|
|
1715
|
+
}(), Ft = function() {
|
|
1711
1716
|
function t(e) {
|
|
1712
1717
|
if (arguments.length === 0)
|
|
1713
1718
|
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
@@ -1718,13 +1723,13 @@ var ve = function(t) {
|
|
|
1718
1723
|
return t.prototype.observe = function(e, n) {
|
|
1719
1724
|
if (arguments.length === 0)
|
|
1720
1725
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1721
|
-
if (
|
|
1726
|
+
if (!$t(e))
|
|
1722
1727
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
1723
1728
|
Ne.observe(this, e, n);
|
|
1724
1729
|
}, t.prototype.unobserve = function(e) {
|
|
1725
1730
|
if (arguments.length === 0)
|
|
1726
1731
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1727
|
-
if (
|
|
1732
|
+
if (!$t(e))
|
|
1728
1733
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
1729
1734
|
Ne.unobserve(this, e);
|
|
1730
1735
|
}, t.prototype.disconnect = function() {
|
|
@@ -1733,10 +1738,10 @@ var ve = function(t) {
|
|
|
1733
1738
|
return "function ResizeObserver () { [polyfill code] }";
|
|
1734
1739
|
}, t;
|
|
1735
1740
|
}();
|
|
1736
|
-
const
|
|
1741
|
+
const Hs = ["disabled", "title"], Zs = {
|
|
1737
1742
|
key: 1,
|
|
1738
1743
|
class: "stack-tab__button"
|
|
1739
|
-
},
|
|
1744
|
+
}, at = /* @__PURE__ */ ee({
|
|
1740
1745
|
__name: "TabHeaderButton",
|
|
1741
1746
|
props: {
|
|
1742
1747
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -1757,12 +1762,12 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1757
1762
|
key: 0,
|
|
1758
1763
|
class: fe(["stack-tab__mask-button", e.iconClass])
|
|
1759
1764
|
}, null, 2)),
|
|
1760
|
-
"icon" in e.$slots ? (R(), V("div",
|
|
1761
|
-
|
|
1765
|
+
"icon" in e.$slots ? (R(), V("div", Zs, [
|
|
1766
|
+
Te(e.$slots, "icon")
|
|
1762
1767
|
])) : se("", !0)
|
|
1763
|
-
], 10,
|
|
1768
|
+
], 10, Hs));
|
|
1764
1769
|
}
|
|
1765
|
-
}),
|
|
1770
|
+
}), js = /* @__PURE__ */ ee({
|
|
1766
1771
|
__name: "TabHeaderScroll",
|
|
1767
1772
|
props: {
|
|
1768
1773
|
space: { default: 300 },
|
|
@@ -1770,7 +1775,7 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1770
1775
|
isScrollButton: { type: Boolean, default: !0 }
|
|
1771
1776
|
},
|
|
1772
1777
|
setup(t, { expose: e }) {
|
|
1773
|
-
const n =
|
|
1778
|
+
const n = D(null), s = D(null), r = D(null), o = D(!1), i = D(!1), d = D(!1), a = D(!0), c = D(), p = t, f = Ie({
|
|
1774
1779
|
clientWidth: 0,
|
|
1775
1780
|
scrollWidth: 0,
|
|
1776
1781
|
scrollLeft: 0
|
|
@@ -1785,11 +1790,11 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1785
1790
|
});
|
|
1786
1791
|
const m = (A) => {
|
|
1787
1792
|
i.value = A.scrollLeft <= 10, d.value = A.clientWidth + A.scrollLeft - A.scrollWidth >= -10, a.value = A.scrollWidth !== A.clientWidth;
|
|
1788
|
-
}, S =
|
|
1793
|
+
}, S = ke(() => f.scrollWidth > f.clientWidth), E = ke(() => {
|
|
1789
1794
|
if (!S.value) return 0;
|
|
1790
1795
|
const { clientWidth: A, scrollWidth: C } = f;
|
|
1791
1796
|
return A / C * A;
|
|
1792
|
-
}), I =
|
|
1797
|
+
}), I = ke(() => {
|
|
1793
1798
|
if (!S.value) return 0;
|
|
1794
1799
|
const { clientWidth: A, scrollWidth: C, scrollLeft: U } = f;
|
|
1795
1800
|
return (A - E.value) * (U / (C - A));
|
|
@@ -1798,20 +1803,20 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1798
1803
|
return;
|
|
1799
1804
|
const { clientWidth: A, scrollWidth: C, scrollLeft: U } = n.value;
|
|
1800
1805
|
Object.assign(f, { clientWidth: A, scrollWidth: C, scrollLeft: U });
|
|
1801
|
-
}, w = new
|
|
1806
|
+
}, w = new Ft(() => {
|
|
1802
1807
|
var C;
|
|
1803
1808
|
y();
|
|
1804
1809
|
const A = (C = n.value) == null ? void 0 : C.querySelector(".stack-tab__item.is-active");
|
|
1805
|
-
A && (G(A) ||
|
|
1806
|
-
}), T = new
|
|
1810
|
+
A && (G(A) || $(A));
|
|
1811
|
+
}), T = new Ft(() => {
|
|
1807
1812
|
var A;
|
|
1808
1813
|
if (!S.value) {
|
|
1809
1814
|
const C = (A = n.value) == null ? void 0 : A.querySelector(".stack-tab__item.is-active");
|
|
1810
|
-
C && (G(C) ||
|
|
1815
|
+
C && (G(C) || $(C));
|
|
1811
1816
|
}
|
|
1812
1817
|
y();
|
|
1813
1818
|
}), g = (A, C = !0) => {
|
|
1814
|
-
|
|
1819
|
+
sn({ wrap: n.value, left: A, smooth: C });
|
|
1815
1820
|
}, O = (A) => {
|
|
1816
1821
|
g(n.value.scrollLeft + A);
|
|
1817
1822
|
}, u = (A) => {
|
|
@@ -1833,15 +1838,15 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1833
1838
|
}, L = (A) => {
|
|
1834
1839
|
o.value = !1, document.removeEventListener("mousemove", k), document.removeEventListener("mouseup", L), A.preventDefault();
|
|
1835
1840
|
};
|
|
1836
|
-
|
|
1841
|
+
He(() => {
|
|
1837
1842
|
var C;
|
|
1838
1843
|
w.observe(c.value);
|
|
1839
1844
|
const A = (C = n.value) == null ? void 0 : C.querySelector(".stack-tab__nav");
|
|
1840
1845
|
T.observe(A);
|
|
1841
|
-
}),
|
|
1846
|
+
}), Ze(() => {
|
|
1842
1847
|
w.disconnect(), T.disconnect();
|
|
1843
1848
|
});
|
|
1844
|
-
const
|
|
1849
|
+
const $ = (A) => {
|
|
1845
1850
|
qn({ el: A, wrap: n, block: "end", inline: "center" });
|
|
1846
1851
|
}, G = (A) => {
|
|
1847
1852
|
if (!S.value)
|
|
@@ -1849,8 +1854,8 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1849
1854
|
const C = A.offsetLeft, U = n.value.scrollLeft;
|
|
1850
1855
|
return !(C < U || C + A.clientWidth > U + n.value.clientWidth);
|
|
1851
1856
|
};
|
|
1852
|
-
return e({ scrollIntoView:
|
|
1853
|
-
a.value ? (R(),
|
|
1857
|
+
return e({ scrollIntoView: $, isInView: G }), (A, C) => (R(), V(je, null, [
|
|
1858
|
+
a.value ? (R(), ge(at, {
|
|
1854
1859
|
key: 0,
|
|
1855
1860
|
"icon-class": "stack-tab__icon-left-arrow",
|
|
1856
1861
|
disabled: i.value,
|
|
@@ -1860,7 +1865,7 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1860
1865
|
ref_key: "headerScroll",
|
|
1861
1866
|
ref: c,
|
|
1862
1867
|
class: "stack-tab__scroll",
|
|
1863
|
-
onWheelPassive:
|
|
1868
|
+
onWheelPassive: xe(u, ["prevent"])
|
|
1864
1869
|
}, [
|
|
1865
1870
|
Q("div", {
|
|
1866
1871
|
ref_key: "container",
|
|
@@ -1872,9 +1877,9 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1872
1877
|
}]),
|
|
1873
1878
|
onScrollPassive: y
|
|
1874
1879
|
}, [
|
|
1875
|
-
|
|
1880
|
+
Te(A.$slots, "default")
|
|
1876
1881
|
], 34),
|
|
1877
|
-
|
|
1882
|
+
Yt(Q("div", {
|
|
1878
1883
|
ref_key: "bar",
|
|
1879
1884
|
ref: s,
|
|
1880
1885
|
class: fe(["stack-tab__scrollbar", { "is-dragging": o.value }])
|
|
@@ -1883,17 +1888,17 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1883
1888
|
ref_key: "thumb",
|
|
1884
1889
|
ref: r,
|
|
1885
1890
|
class: fe(["stack-tab__scrollbar-thumb", { "is-dragging": o.value }]),
|
|
1886
|
-
style:
|
|
1891
|
+
style: Fe({
|
|
1887
1892
|
width: `${E.value}px`,
|
|
1888
1893
|
transform: `translateX(${I.value}px)`
|
|
1889
1894
|
}),
|
|
1890
|
-
onMousedown:
|
|
1895
|
+
onMousedown: xe(_, ["prevent"])
|
|
1891
1896
|
}, null, 38)
|
|
1892
1897
|
], 2), [
|
|
1893
|
-
[
|
|
1898
|
+
[Kt, S.value]
|
|
1894
1899
|
])
|
|
1895
1900
|
], 544),
|
|
1896
|
-
a.value ? (R(),
|
|
1901
|
+
a.value ? (R(), ge(at, {
|
|
1897
1902
|
key: 1,
|
|
1898
1903
|
"icon-class": "stack-tab__icon-right-arrow",
|
|
1899
1904
|
disabled: d.value,
|
|
@@ -1901,11 +1906,11 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1901
1906
|
}, null, 8, ["disabled"])) : se("", !0)
|
|
1902
1907
|
], 64));
|
|
1903
1908
|
}
|
|
1904
|
-
}),
|
|
1909
|
+
}), Xs = { class: "stack-tab__header" }, Gs = /* @__PURE__ */ ee({
|
|
1905
1910
|
__name: "index",
|
|
1906
1911
|
props: {
|
|
1907
1912
|
space: {},
|
|
1908
|
-
tabScrollMode: { default:
|
|
1913
|
+
tabScrollMode: { default: be.BOTH },
|
|
1909
1914
|
tabTransition: { default: () => ({
|
|
1910
1915
|
name: "stack-tab-zoom"
|
|
1911
1916
|
}) },
|
|
@@ -1914,18 +1919,18 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1914
1919
|
},
|
|
1915
1920
|
emits: ["active"],
|
|
1916
1921
|
setup(t, { emit: e }) {
|
|
1917
|
-
const { t: n } = Me(), s =
|
|
1922
|
+
const { t: n } = Me(), s = ct("maximum"), r = e, o = D(), { shown: i, contextMenuData: d, showContextMenu: a } = ws(), c = t, { removeTab: p, active: f, tabs: l } = Ce(), m = ke(() => typeof c.tabTransition == "string" ? {
|
|
1918
1923
|
name: c.tabTransition
|
|
1919
|
-
} : c.tabTransition), S =
|
|
1924
|
+
} : c.tabTransition), S = ke(() => c.tabScrollMode === be.BOTH || c.tabScrollMode === be.BUTTON), E = c.tabScrollMode === be.BOTH || c.tabScrollMode === be.WHEEL, I = (w) => {
|
|
1920
1925
|
w.closable && p(w.id), i.value = !1;
|
|
1921
1926
|
}, y = (w, T, g) => {
|
|
1922
1927
|
o.value && (le(() => {
|
|
1923
1928
|
o.value.isInView(T.value) || o.value.scrollIntoView(T.value);
|
|
1924
1929
|
}), f(w.id, g), r("active", w.id));
|
|
1925
1930
|
};
|
|
1926
|
-
return (w, T) => (R(), V("div",
|
|
1927
|
-
|
|
1928
|
-
|
|
1931
|
+
return (w, T) => (R(), V("div", Xs, [
|
|
1932
|
+
Te(w.$slots, "leftButton"),
|
|
1933
|
+
N(js, {
|
|
1929
1934
|
ref_key: "scroll",
|
|
1930
1935
|
ref: o,
|
|
1931
1936
|
space: w.space,
|
|
@@ -1933,21 +1938,21 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1933
1938
|
"is-scroll-button": S.value
|
|
1934
1939
|
}, {
|
|
1935
1940
|
default: ue(() => [
|
|
1936
|
-
|
|
1941
|
+
N(Jt, _n({
|
|
1937
1942
|
key: "tabItemTrans",
|
|
1938
1943
|
tag: "ul",
|
|
1939
1944
|
class: "stack-tab__nav"
|
|
1940
1945
|
}, m.value, { appear: "" }), {
|
|
1941
1946
|
default: ue(() => [
|
|
1942
|
-
(R(!0), V(
|
|
1947
|
+
(R(!0), V(je, null, lt(x(l), (g, O) => (R(), ge(Ts, {
|
|
1943
1948
|
key: g.id,
|
|
1944
1949
|
contextmenu: w.contextmenu,
|
|
1945
1950
|
item: g,
|
|
1946
|
-
onContextmenu:
|
|
1951
|
+
onContextmenu: xe(
|
|
1947
1952
|
(u) => x(a)(u, g, O, x(l).length),
|
|
1948
1953
|
["prevent"]
|
|
1949
1954
|
),
|
|
1950
|
-
onMouseup:
|
|
1955
|
+
onMouseup: xe((u) => I(g), ["middle", "prevent"]),
|
|
1951
1956
|
onClose: I,
|
|
1952
1957
|
onActive: y
|
|
1953
1958
|
}, null, 8, ["contextmenu", "item", "onContextmenu", "onMouseup"]))), 128))
|
|
@@ -1957,18 +1962,18 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1957
1962
|
]),
|
|
1958
1963
|
_: 1
|
|
1959
1964
|
}, 8, ["space", "is-scroll-wheel", "is-scroll-button"]),
|
|
1960
|
-
|
|
1961
|
-
|
|
1965
|
+
Te(w.$slots, "rightButton"),
|
|
1966
|
+
N(at, {
|
|
1962
1967
|
"icon-class": x(s) ? "stack-tab__icon-restore" : "stack-tab__icon-fullscreen",
|
|
1963
1968
|
title: x(n)("VueStackTab.maximum"),
|
|
1964
1969
|
onClick: T[0] || (T[0] = (g) => s.value = !x(s))
|
|
1965
1970
|
}, null, 8, ["icon-class", "title"]),
|
|
1966
|
-
|
|
1971
|
+
N(Qt, {
|
|
1967
1972
|
name: "stack-tab-zoom",
|
|
1968
1973
|
appear: ""
|
|
1969
1974
|
}, {
|
|
1970
1975
|
default: ue(() => [
|
|
1971
|
-
x(i) ? (R(),
|
|
1976
|
+
x(i) ? (R(), ge(ys, {
|
|
1972
1977
|
key: "tabMenuTrans",
|
|
1973
1978
|
left: x(d).left,
|
|
1974
1979
|
top: x(d).top,
|
|
@@ -1982,7 +1987,7 @@ const Zs = ["disabled", "title"], js = {
|
|
|
1982
1987
|
]));
|
|
1983
1988
|
}
|
|
1984
1989
|
});
|
|
1985
|
-
function
|
|
1990
|
+
function Ys(t, e, n) {
|
|
1986
1991
|
var s = {}, r = s.noTrailing, o = r === void 0 ? !1 : r, i = s.noLeading, d = i === void 0 ? !1 : i, a = s.debounceMode, c = a === void 0 ? void 0 : a, p, f = !1, l = 0;
|
|
1987
1992
|
function m() {
|
|
1988
1993
|
p && clearTimeout(p);
|
|
@@ -2007,9 +2012,9 @@ function Ks(t, e, n) {
|
|
|
2007
2012
|
}
|
|
2008
2013
|
return E.cancel = S, E;
|
|
2009
2014
|
}
|
|
2010
|
-
let
|
|
2011
|
-
const
|
|
2012
|
-
const t = ut(), { active: e, hasTab: n, pageShown: s, reset: r, canAddTab: o, renewTab: i, getTab: d } = Ce(), a =
|
|
2015
|
+
let Ht;
|
|
2016
|
+
const Ks = () => {
|
|
2017
|
+
const t = ut(), { active: e, hasTab: n, pageShown: s, reset: r, canAddTab: o, renewTab: i, getTab: d } = Ce(), a = ye(), c = Ys(500, (m, S = !1) => new Promise((E, I) => {
|
|
2013
2018
|
if (!s.value) {
|
|
2014
2019
|
I();
|
|
2015
2020
|
return;
|
|
@@ -2030,13 +2035,13 @@ const Js = () => {
|
|
|
2030
2035
|
a.emit(Z.TAB_ACTIVE, { id: y.id }), E(y.id);
|
|
2031
2036
|
return;
|
|
2032
2037
|
}
|
|
2033
|
-
if (y.id || (y.id =
|
|
2038
|
+
if (y.id || (y.id = tt()), !o()) {
|
|
2034
2039
|
I("Max Size");
|
|
2035
2040
|
return;
|
|
2036
2041
|
}
|
|
2037
2042
|
p(m, y), E(y.id);
|
|
2038
2043
|
})), p = (m, S) => {
|
|
2039
|
-
const E =
|
|
2044
|
+
const E = rt(S);
|
|
2040
2045
|
let I = ne(
|
|
2041
2046
|
{
|
|
2042
2047
|
__tab: E
|
|
@@ -2045,9 +2050,9 @@ const Js = () => {
|
|
|
2045
2050
|
), y;
|
|
2046
2051
|
if (m.iframe) {
|
|
2047
2052
|
const w = encodeURIComponent(m.path);
|
|
2048
|
-
y =
|
|
2053
|
+
y = Ht, I.__src = w;
|
|
2049
2054
|
} else {
|
|
2050
|
-
const w =
|
|
2055
|
+
const w = mt(m.path);
|
|
2051
2056
|
y = w.path, I = ne(w.query, I);
|
|
2052
2057
|
}
|
|
2053
2058
|
t.push({
|
|
@@ -2056,9 +2061,9 @@ const Js = () => {
|
|
|
2056
2061
|
});
|
|
2057
2062
|
};
|
|
2058
2063
|
return { openNewTab: c, setIFramePath: (m) => {
|
|
2059
|
-
|
|
2064
|
+
Ht = m;
|
|
2060
2065
|
}, active: e, reset: r, getWrapper: () => document.getElementsByClassName("cache-page-wrapper")[0] };
|
|
2061
|
-
},
|
|
2066
|
+
}, Js = { class: "stack-tab__container" }, Qs = ["src"], er = /* @__PURE__ */ ee({
|
|
2062
2067
|
__name: "StackTabs",
|
|
2063
2068
|
props: {
|
|
2064
2069
|
defaultTabs: { default: () => [] },
|
|
@@ -2068,7 +2073,7 @@ const Js = () => {
|
|
|
2068
2073
|
pageTransition: { default: "stack-tab-swap" },
|
|
2069
2074
|
pageTransitionBack: { default: "stack-tab-swap-back" },
|
|
2070
2075
|
tabTransition: { default: "stack-tab-zoom" },
|
|
2071
|
-
tabScrollMode: { default:
|
|
2076
|
+
tabScrollMode: { default: be.BOTH },
|
|
2072
2077
|
width: { default: "100%" },
|
|
2073
2078
|
height: { default: "100%" },
|
|
2074
2079
|
i18n: { default: "zh-CN" },
|
|
@@ -2079,63 +2084,63 @@ const Js = () => {
|
|
|
2079
2084
|
},
|
|
2080
2085
|
emits: ["onActive", "onPageLoaded"],
|
|
2081
2086
|
setup(t, { emit: e }) {
|
|
2082
|
-
const { tabs: n, pageShown: s, caches: r, destroy: o, addPage: i, initial: d, setMaxSize: a, setGlobalScroll: c, clearSession: p, setSessionPrefix: f } = Ce(), l = e, m = t, { changeLocale: S } = Me(), E =
|
|
2087
|
+
const { tabs: n, pageShown: s, caches: r, destroy: o, addPage: i, initial: d, setMaxSize: a, setGlobalScroll: c, clearSession: p, setSessionPrefix: f } = Ce(), l = e, m = t, { changeLocale: S } = Me(), E = D(!1);
|
|
2083
2088
|
xn("maximum", E);
|
|
2084
|
-
const { setIFramePath: I } =
|
|
2089
|
+
const { setIFramePath: I } = Ks();
|
|
2085
2090
|
I(m.iframePath), c(m.globalScroll), S(m.i18n), Tn(() => {
|
|
2086
2091
|
d(m.defaultTabs), f(m.sessionPrefix);
|
|
2087
2092
|
});
|
|
2088
2093
|
const y = (u, _) => i(u, _), w = (u) => {
|
|
2089
2094
|
l("onActive", u);
|
|
2090
2095
|
};
|
|
2091
|
-
a(m.max),
|
|
2096
|
+
a(m.max), Tt(() => {
|
|
2092
2097
|
o();
|
|
2093
2098
|
});
|
|
2094
2099
|
const T = () => {
|
|
2095
2100
|
l("onPageLoaded");
|
|
2096
|
-
}, g =
|
|
2101
|
+
}, g = D(m.pageTransition), O = ye();
|
|
2097
2102
|
return O.on("FORWARD", () => {
|
|
2098
2103
|
g.value = m.pageTransition;
|
|
2099
2104
|
}), O.on("BACKWARD", () => {
|
|
2100
2105
|
g.value = m.pageTransitionBack;
|
|
2101
|
-
}),
|
|
2106
|
+
}), Tt(() => {
|
|
2102
2107
|
p();
|
|
2103
2108
|
}), (u, _) => {
|
|
2104
|
-
const k =
|
|
2109
|
+
const k = Xt("router-view");
|
|
2105
2110
|
return R(), V("div", {
|
|
2106
2111
|
class: fe(["stack-tab", { "stack-tab__maximum": E.value }]),
|
|
2107
|
-
style:
|
|
2112
|
+
style: Fe({
|
|
2108
2113
|
width: u.width,
|
|
2109
2114
|
height: u.height,
|
|
2110
|
-
"z-index": E.value ? x(
|
|
2115
|
+
"z-index": E.value ? x(ft)("body *:not(.stack-tab,.stack-tab *)") : void 0
|
|
2111
2116
|
})
|
|
2112
2117
|
}, [
|
|
2113
|
-
|
|
2118
|
+
N(Gs, {
|
|
2114
2119
|
space: u.space,
|
|
2115
2120
|
onActive: w,
|
|
2116
2121
|
"tab-transition": u.tabTransition,
|
|
2117
2122
|
max: u.max
|
|
2118
2123
|
}, {
|
|
2119
2124
|
leftButton: ue(() => [
|
|
2120
|
-
|
|
2125
|
+
Te(u.$slots, "leftButton")
|
|
2121
2126
|
]),
|
|
2122
2127
|
rightButton: ue(() => [
|
|
2123
|
-
|
|
2128
|
+
Te(u.$slots, "rightButton")
|
|
2124
2129
|
]),
|
|
2125
2130
|
_: 3
|
|
2126
2131
|
}, 8, ["space", "tab-transition", "max"]),
|
|
2127
|
-
Q("div",
|
|
2128
|
-
|
|
2129
|
-
default: ue(({ Component: L, route:
|
|
2130
|
-
|
|
2132
|
+
Q("div", Js, [
|
|
2133
|
+
N(k, null, {
|
|
2134
|
+
default: ue(({ Component: L, route: $ }) => [
|
|
2135
|
+
N(Qt, {
|
|
2131
2136
|
name: g.value,
|
|
2132
2137
|
appear: "",
|
|
2133
2138
|
mode: "out-in"
|
|
2134
2139
|
}, {
|
|
2135
2140
|
default: ue(() => [
|
|
2136
|
-
(R(),
|
|
2137
|
-
x(s) ? (R(),
|
|
2138
|
-
key:
|
|
2141
|
+
(R(), ge(Sn, { include: x(r) }, [
|
|
2142
|
+
x(s) ? (R(), ge(On(y($, L)), {
|
|
2143
|
+
key: `${$.name}_${$.fullPath}`,
|
|
2139
2144
|
onOnLoaded: T
|
|
2140
2145
|
}, null, 32)) : se("", !0)
|
|
2141
2146
|
], 1032, ["include"]))
|
|
@@ -2145,18 +2150,18 @@ const Js = () => {
|
|
|
2145
2150
|
]),
|
|
2146
2151
|
_: 1
|
|
2147
2152
|
}),
|
|
2148
|
-
|
|
2153
|
+
N(Jt, {
|
|
2149
2154
|
name: u.pageTransition,
|
|
2150
2155
|
appear: ""
|
|
2151
2156
|
}, {
|
|
2152
2157
|
default: ue(() => [
|
|
2153
|
-
(R(!0), V(
|
|
2158
|
+
(R(!0), V(je, null, lt(x(n).filter((L) => L.iframe), (L) => Yt((R(), V("iframe", {
|
|
2154
2159
|
key: L.id,
|
|
2155
2160
|
class: "stack-tab__iframe",
|
|
2156
2161
|
src: /^(javascript|data):/i.test(L.url ?? "") ? "about:blank" : L.url,
|
|
2157
2162
|
frameborder: "0"
|
|
2158
|
-
}, null, 8,
|
|
2159
|
-
[
|
|
2163
|
+
}, null, 8, Qs)), [
|
|
2164
|
+
[Kt, L.active]
|
|
2160
2165
|
])), 128))
|
|
2161
2166
|
]),
|
|
2162
2167
|
_: 1
|
|
@@ -2165,16 +2170,16 @@ const Js = () => {
|
|
|
2165
2170
|
], 6);
|
|
2166
2171
|
};
|
|
2167
2172
|
}
|
|
2168
|
-
}),
|
|
2173
|
+
}), yt = typeof Buffer == "function";
|
|
2169
2174
|
typeof TextDecoder == "function" && new TextDecoder();
|
|
2170
|
-
const
|
|
2175
|
+
const Zt = typeof TextEncoder == "function" ? new TextEncoder() : void 0, tr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Se = Array.prototype.slice.call(tr);
|
|
2171
2176
|
((t) => {
|
|
2172
2177
|
let e = {};
|
|
2173
2178
|
return t.forEach((n, s) => e[n] = s), e;
|
|
2174
2179
|
})(Se);
|
|
2175
2180
|
const J = String.fromCharCode.bind(String);
|
|
2176
2181
|
typeof Uint8Array.from == "function" && Uint8Array.from.bind(Uint8Array);
|
|
2177
|
-
const
|
|
2182
|
+
const nr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" : "_"), sr = (t) => {
|
|
2178
2183
|
let e, n, s, r, o = "";
|
|
2179
2184
|
const i = t.length % 3;
|
|
2180
2185
|
for (let d = 0; d < t.length; ) {
|
|
@@ -2183,12 +2188,12 @@ const sr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2183
2188
|
e = n << 16 | s << 8 | r, o += Se[e >> 18 & 63] + Se[e >> 12 & 63] + Se[e >> 6 & 63] + Se[e & 63];
|
|
2184
2189
|
}
|
|
2185
2190
|
return i ? o.slice(0, i - 3) + "===".substring(i) : o;
|
|
2186
|
-
}, bn = typeof btoa == "function" ? (t) => btoa(t) :
|
|
2191
|
+
}, bn = typeof btoa == "function" ? (t) => btoa(t) : yt ? (t) => Buffer.from(t, "binary").toString("base64") : sr, rr = yt ? (t) => Buffer.from(t).toString("base64") : (t) => {
|
|
2187
2192
|
let n = [];
|
|
2188
2193
|
for (let s = 0, r = t.length; s < r; s += 4096)
|
|
2189
2194
|
n.push(J.apply(null, t.subarray(s, s + 4096)));
|
|
2190
2195
|
return bn(n.join(""));
|
|
2191
|
-
},
|
|
2196
|
+
}, or = (t) => {
|
|
2192
2197
|
if (t.length < 2) {
|
|
2193
2198
|
var e = t.charCodeAt(0);
|
|
2194
2199
|
return e < 128 ? t : e < 2048 ? J(192 | e >>> 6) + J(128 | e & 63) : J(224 | e >>> 12 & 15) + J(128 | e >>> 6 & 63) + J(128 | e & 63);
|
|
@@ -2196,14 +2201,14 @@ const sr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2196
2201
|
var e = 65536 + (t.charCodeAt(0) - 55296) * 1024 + (t.charCodeAt(1) - 56320);
|
|
2197
2202
|
return J(240 | e >>> 18 & 7) + J(128 | e >>> 12 & 63) + J(128 | e >>> 6 & 63) + J(128 | e & 63);
|
|
2198
2203
|
}
|
|
2199
|
-
},
|
|
2200
|
-
const s = `<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1167.06 237.75"><path d="M79.24,19.73h108.91v29.7h-108.91v-29.7Z" style="fill:#79a7ff; stroke-width:0px;"/><path d="M179.24,199.67H20.26c-11.21-.07-20.26-9.17-20.26-20.38V20.39C0,9.18,9.05.07,20.26,0h59.49c3.51.07,6.34,2.9,6.41,6.42v44.36c0,3.54-2.87,6.41-6.41,6.41s-6.41-2.86-6.42-6.4V12.36H20.25c-4.13.07-7.44,3.44-7.44,7.56v159.41c0,4.13,3.31,7.49,7.44,7.56h158.98c4.13-.07,7.44-3.44,7.44-7.56V51.84c0-3.54,2.87-6.41,6.41-6.42,3.55,0,6.42,2.87,6.42,6.42v127.45c0,11.21-9.05,20.32-20.26,20.39h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M192.8,60.77c-3.66-.07-6.61-3.02-6.68-6.68v-18.23c.09-4.29-3.32-7.83-7.6-7.92h-96.43c-3.69,0-6.69-2.99-6.69-6.69s2.99-6.69,6.69-6.69h96.27c11.69.08,21.13,9.58,21.13,21.27v18.25c0,3.69-2.99,6.68-6.68,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M193.08,58.67H10.15c-3.61-.08-6.48-3.07-6.41-6.68-.08-3.62,2.79-6.61,6.4-6.69,0,0,0,0,0,0h182.93c3.62.08,6.48,3.08,6.41,6.69.07,3.61-2.79,6.6-6.41,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M137.2,58.67c-3.42.24-6.4-2.32-6.68-5.74v-28.15c.55-3.69,4-6.24,7.69-5.69,2.94.44,5.24,2.75,5.69,5.69v28.15c-.28,3.42-3.26,5.98-6.68,5.74h-.02Z" style="fill:#377dff; stroke-width:0px;"/><path d="M99.78,100.48l-12.83-22.22h-18.39l31.22,54.05,31.22-54.05h-18.39l-12.83,22.22Z" style="fill:#00d797; stroke-width:0px;"/><path d="M135.28,78.26l-35.49,61.43-35.44-61.43h-20.11l55.55,96.2,55.55-96.2s-20.06,0-20.06,0ZM313.33,59.95c0,.52-.67,1.84-2,3.95s-3.3,5.2-5.9,9.28-5.75,9.28-9.46,15.61c-3.7,6.33-7.52,13.34-11.45,21.04-4.51,8.85-7.76,15.8-9.76,20.86s-2.99,9.41-2.99,13.05c0,2.89,1.53,5.44,4.6,7.63,3.7-2.89,7.34-6.33,10.93-10.32,3.58-3.99,7.13-8.44,10.63-13.36s7.55-11.13,12.14-18.65c4.6-7.52,8.69-14.43,12.27-20.73-.17-.52-.36-1.04-.56-1.56s-.3-.95-.3-1.3c0-2.72.55-5.26,1.65-7.63,1.1-2.37,2.47-4.68,4.12-6.94s4.12-5.44,7.42-9.54c.87-1.1,1.94-1.65,3.21-1.65,2.08,0,3.12,1.33,3.12,3.99s-1.08,6.84-3.25,12.53c-2.17,5.7-5.37,12.39-9.59,20.08s-9.47,16.29-15.74,25.81c-6.28,9.51-13.37,19.45-21.3,29.8-8.04,10.47-13.79,15.7-17.26,15.7-1.97,0-4.19-1.08-6.68-3.25s-4.63-5.13-6.42-8.89-2.69-7.78-2.69-12.06c0-2.54.53-5.81,1.6-9.8s2.75-8.78,5.03-14.36,4.87-11.09,7.76-16.53c3.01-5.72,5.65-10.47,7.94-14.23,2.28-3.76,4.87-7.94,7.76-12.53,2.89-4.6,4.34-7.1,4.34-7.5,0-.87-.58-1.3-1.73-1.3-3.35,0-7.82,1.71-13.4,5.12s-12.85,8.59-21.82,15.53c-3.41,2.66-5.57,4.38-6.46,5.16s-1.34,1.43-1.34,1.95c0,.69.55,1.04,1.65,1.04.46,0,2.02-.17,4.68-.52s4.77-.52,6.33-.52c2.6,0,3.9.46,3.9,1.39,0,.81-.54,1.45-1.61,1.91-1.07.46-2.54.93-4.42,1.39s-4.44,1.1-7.68,1.91c-3.47.93-7.16,2.25-11.06,3.99-3.9,1.73-6.14,2.6-6.72,2.6-1.1,0-1.78-.4-2.04-1.21s-.39-2.14-.39-3.99c0-8.21,1.36-14.56,4.08-19.04s7.58-9.15,14.57-14.01c7.98-5.55,15.61-10.16,22.9-13.84,7.29-3.67,13.58-6.36,18.87-8.07s9.18-2.56,11.67-2.56,4.84,1.56,7.24,4.68,3.6,6.42,3.6,9.89h0ZM366.34,124.75c-8.39,11.1-14.76,19-19.13,23.68s-7.94,7.03-10.71,7.03c-2.2,0-4.22-.91-6.07-2.73-1.85-1.82-3.28-4.28-4.29-7.37s-1.52-6.4-1.52-9.93c0-2.31.22-4.39.65-6.25.43-1.85,1.26-3.89,2.47-6.12s2.82-4.64,4.81-7.24c2-2.6,4.44-5.55,7.33-8.85,1.73-2.02,3.19-3.73,4.38-5.12,1.18-1.39,2.34-2.33,3.47-2.82s2.96-.74,5.51-.74c1.85,0,3.61.25,5.29.74,1.68.49,2.52,1,2.52,1.52,0,1.04-.85,2.92-2.56,5.64s-4.45,6.03-8.24,9.93c-3.79,3.9-8.17,7.74-13.14,11.49-1.1,3.41-1.65,6.01-1.65,7.81,0,2.49.95,3.73,2.86,3.73.69,0,1.85-.59,3.47-1.78,1.62-1.18,4.35-3.47,8.2-6.85,3.84-3.38,7.3-6.38,10.37-8.98,2.25-1.97,4.87-4.9,7.85-8.8s5.39-6.84,7.24-8.8c4.28-4.51,7.2-7.44,8.76-8.8s3.06-2.04,4.51-2.04,2.33.43,2.82,1.3c.49.87.74,2.63.74,5.29,0,1.21-.12,2.2-.35,2.95s-.71,1.72-1.43,2.91-2.18,3.37-4.38,6.55-4.8,6.94-7.81,11.28c-1.66,2.38-3.09,4.93-4.25,7.59-1.21,2.75-1.82,4.81-1.82,6.2,0,3.01,1.18,4.51,3.56,4.51,1.96,0,4.25-.81,6.85-2.43s6.59-4.54,11.97-8.76v5.81c-6.77,6.25-11.77,10.79-15.01,13.62s-6.04,4.97-8.41,6.42-4.63,2.17-6.77,2.17c-4.86,0-7.29-2.89-7.29-8.67,0-2.2.72-5.16,2.17-8.89,1.44-3.73,3.79-9.12,7.03-16.18v-.02Z" style="fill:#306fff; stroke-width:0px;"/><path d="M407.71,133.77v2.17c0,3.41.84,6.07,2.52,7.98,1.68,1.91,3.87,2.86,6.59,2.86s5.77-.66,8.8-2c3.04-1.33,6.06-3.09,9.07-5.29s6.68-5.15,11.02-8.85v5.29c-6.54,7.87-12.67,13.89-18.39,18.09-5.72,4.19-11.54,6.29-17.44,6.29-5.15,0-9.22-2-12.23-5.99s-4.51-9.46-4.51-16.39c0-6.07,1.42-11.58,4.25-16.52s7.46-10.16,13.88-15.66c4.39-3.76,8.76-6.59,13.1-8.5s8.21-2.86,11.62-2.86c2.72,0,4.87.62,6.46,1.86s2.39,3.11,2.39,5.59c0,3.64-1.36,7.27-4.08,10.89s-6.87,7.2-12.45,10.76c-5.58,3.56-12.45,6.98-20.6,10.28h0ZM408.58,128.13c5.2-2.02,9.66-4.54,13.36-7.55,3.7-3.01,6.43-5.88,8.2-8.63,1.76-2.75,2.65-4.76,2.65-6.03s-.61-2-1.82-2c-1.04,0-2.73.67-5.07,2s-4.71,3.07-7.11,5.21-4.55,4.66-6.46,7.55c-1.9,2.86-3.17,6.08-3.73,9.46h-.02ZM585.37,132.9c-1.45-2.66-3.61-5.06-6.51-7.2-2.89-2.14-6.15-3.86-9.76-5.16s-7.39-2.27-11.32-2.91c-11.68-1.74-22.58-5.52-32.7-11.36-.87-.46-1.79-1.44-2.78-2.95-.98-1.5-1.47-2.95-1.47-4.34,0-5.09.85-10.19,2.56-15.31,1.71-5.12,3.89-9.12,6.55-12.01,4.28-4.8,11.98-8.99,23.12-12.58,11.13-3.58,23.67-5.38,37.6-5.38,8.33,0,14.76.64,19.3,1.91s6.81,3.24,6.81,5.9c0,4.34-.59,7.69-1.78,10.06s-2.46,3.95-3.82,4.73c-1.36.78-3.75,1.84-7.16,3.17-3.64,1.27-6.81,2.6-9.5,3.99s-4.99,2.72-6.9,3.99c-1.91,1.27-3.09,1.91-3.56,1.91-.58,0-.87-.23-.87-.69,0-.98,1.03-2.47,3.08-4.47s4.58-3.74,7.59-5.25c3.18-1.68,4.77-2.75,4.77-3.21,0-.75-1.76-1.13-5.29-1.13-10.7,0-20.59.95-29.67,2.86s-16.24,4.42-21.47,7.55c-5.23,3.12-7.85,6.3-7.85,9.54,0,2.02,1.08,3.46,3.25,4.29,2.17.84,6.95,2.24,14.36,4.21,7.4,1.97,14.02,4.22,19.86,6.77,8.38,3.59,14.6,7.32,18.65,11.19,4.05,3.88,6.07,8.21,6.07,13.01,0,3.3-.8,6.61-2.39,9.93-1.59,3.33-3.92,6.38-6.98,9.15-3.07,2.78-6.59,5.06-10.58,6.85-3.41,1.45-7.71,2.8-12.88,4.08-5.18,1.27-10.79,2.27-16.83,2.99-6.04.72-11.81,1.08-17.31,1.08-10.12,0-18.26-.95-24.42-2.86s-9.24-4.8-9.24-8.67c0-1.74,1.04-4.44,3.12-8.11s4.54-6.14,7.37-7.42c2.49-.98,4.89-1.55,7.2-1.69,2.31-.14,3.47.13,3.47.82,0,.17-.09.35-.26.52s-.38.32-.61.43c-.23.12-.46.23-.69.35-1.16.46-2.1.82-2.82,1.08-.72.26-1.3.52-1.74.78-.43.26-.65.62-.65,1.08,0,1.21,5.99,1.82,17.96,1.82,10.41,0,18.94-.38,25.59-1.13s12.52-2.11,17.61-4.08c5.09-1.97,9.71-4.68,13.88-8.15l.04.02ZM640.8,85.63h3.73c3.06-5.49,5.84-9.38,8.33-11.67,2.49-2.28,5.32-3.43,8.5-3.43s4.77.72,4.77,2.17c0,.69-1.24,2.57-3.73,5.64s-4.37,5.64-5.64,7.72c1.96.23,3.71.43,5.25.61,1.53.17,2.73.32,3.6.43-3.3,6.13-7.43,12.4-12.4,18.82l-4.08-.3c-1.1-.09-2.21-.17-3.34-.26s-2.5-.19-4.12-.3c-3.12,5.03-5.74,9.53-7.85,13.49s-3.73,7.59-4.86,10.89-1.69,6.42-1.69,9.37c0,3.99,1.59,5.99,4.77,5.99,2.2,0,5.07-1.17,8.63-3.51s8.31-5.94,14.27-10.8v5.81c-15.61,16.95-27.15,25.42-34.61,25.42-2.6,0-4.7-1.01-6.29-3.04-1.59-2.02-2.38-4.63-2.38-7.81,0-2.14.45-4.68,1.34-7.63.9-2.95,2.5-7.4,4.81-13.36-.81.69-1.58,1.37-2.3,2.04s-1.39,1.27-2,1.82-1.26,1.13-1.95,1.73c-.69.61-1.39,1.23-2.08,1.87v-5.99c6.07-5.09,13.42-14.02,22.03-26.8-.87-.06-1.68-.1-2.43-.13s-1.65-.04-2.69-.04c-3.41,0-5.96.23-7.63.69-.69.17-1.34.36-1.95.56s-1.03.3-1.26.3-.35-.17-.35-.52c0-1.91,1.18-4.77,3.56-8.59,1.91-3.24,3.72-5.64,5.42-7.2,1.71-1.56,3.79-2.62,6.25-3.17,2.46-.55,5.91-.82,10.37-.82h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M664.91,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM706.46,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M779.07,130.82v5.81c-6.19,6.07-11.23,10.79-15.14,14.14-3.9,3.35-7.55,5.96-10.93,7.81-3.38,1.85-6.69,2.78-9.93,2.78s-6.1-1.26-8.76-3.77c-2.66-2.52-4.74-5.81-6.25-9.89-1.5-4.08-2.26-8.4-2.26-12.97,0-3.93.87-7.43,2.6-10.5,1.74-3.07,5.09-7.03,10.06-11.88,5.9-5.78,11.38-10.25,16.44-13.4s9.04-4.73,11.93-4.73c2.08,0,3.85.72,5.29,2.17s2.17,3.27,2.17,5.46c0,1.85-.95,4.48-2.86,7.89-1.91,3.41-4.05,6.38-6.42,8.89-2.37,2.52-4.25,3.77-5.64,3.77-1.5,0-2.25-.81-2.25-2.43.06-.46.1-.9.13-1.3s.04-.81.04-1.21c0-.69-.25-1.08-.74-1.17s-1.08.13-1.78.65c-5.78,4.05-9.75,6.9-11.88,8.54-2.14,1.65-3.83,3.31-5.07,4.99s-1.87,3.44-1.87,5.29c0,3.41,1.1,6.19,3.3,8.33s5.06,3.21,8.59,3.21,8.02-1.4,13.14-4.21c5.12-2.8,11.15-6.9,18.09-12.27h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M844.13,130.65v5.81c-6.48,7.58-11.91,13.32-16.31,17.22s-8.07,5.86-11.02,5.86-5.39-.84-7.68-2.52c-2.29-1.68-4.34-3.99-6.16-6.94-1.82-2.95-3.98-7.05-6.46-12.32-2.95,3.64-5.61,7.04-7.98,10.19-2.37,3.15-4.02,5.25-4.94,6.29-.93,1.04-1.77,1.56-2.52,1.56-1.56,0-2.69-1-3.38-2.99-.69-2-1.04-4.9-1.04-8.72,0-5.21.62-10.22,1.87-15.05,1.24-4.83,3.04-9.53,5.38-14.1s5.35-9.5,9.02-14.79c3.67-5.29,7.79-10.83,12.36-16.61,6.3-7.98,11.74-14.5,16.31-19.56,4.57-5.06,8.54-8.88,11.93-11.45,3.38-2.57,6.2-3.86,8.46-3.86,2.78,0,4.16,1.24,4.16,3.73,0,2.14-5.12,9.85-15.35,23.12-10.24,13.27-25.16,31.39-44.76,54.35v7.46c13.13-14.05,23.69-24.49,31.71-31.31,8.01-6.82,14.21-10.24,18.61-10.24,1.79,0,3.18,1.06,4.16,3.17s1.47,4.55,1.47,7.33c0,5.67-2.43,10.92-7.29,15.74-4.86,4.83-12.32,10.37-22.38,16.61,1.74,2.6,3.27,4.5,4.6,5.68,1.33,1.19,3.01,1.78,5.03,1.78,1.79,0,3.73-.61,5.81-1.82s4.21-2.75,6.38-4.6,5.51-4.86,10.02-9.02h-.01ZM809.86,135.07c2.2-1.45,4.93-3.69,8.2-6.72,3.27-3.04,6.06-6.19,8.37-9.46s3.47-6,3.47-8.2c0-.92-.41-1.39-1.21-1.39-2.2,0-5.97,2.11-11.32,6.33-5.35,4.22-10.57,9.63-15.66,16.22,2.2,0,4.92,1.07,8.15,3.21h0ZM951.78,140.71l2.86,2.17c-.75,1.62-1.47,3.04-2.17,4.25-.69,1.21-1.53,2.69-2.52,4.42-.98,1.73-1.73,3.04-2.25,3.9-4.34,7.58-8.41,11.36-12.23,11.36-1.62,0-3.01-.64-4.16-1.91-1.16-1.27-1.73-3.01-1.73-5.2,0-3.12,1.11-7.4,3.34-12.84,2.23-5.43,5.67-12.13,10.32-20.08s10.51-16.96,17.57-27.02c7.05-10.06,15.01-20.67,23.85-31.84-5.09-.75-11.13-1.13-18.13-1.13-8.04,0-16.99.9-26.85,2.69s-18.45,3.86-25.76,6.2c-7.32,2.34-10.97,4.06-10.97,5.16,0,.41.14.68.43.82.29.15.77.26,1.43.35s1.52.19,2.56.3c6.77.93,10.15,1.97,10.15,3.12,0,.58-1.47.85-4.42.82s-6.51-.04-10.67-.04c-3.3,0-5.68-.13-7.16-.39s-2.46-.75-2.95-1.47-.74-1.84-.74-3.34c0-.98.29-3.12.87-6.42,1.1-6.13,2.79-11.04,5.07-14.75,2.28-3.7,5.78-6.72,10.5-9.06,4.71-2.34,11.2-4.21,19.47-5.59,13.88-2.37,25.36-3.56,34.44-3.56,6.71,0,12,.27,15.88.82,3.87.55,6.72,1.34,8.54,2.39,1.82,1.04,2.98,2.07,3.47,3.08s1.14,2.76,1.95,5.25l2.69,7.98c.17.52.32.94.43,1.26.12.32.22.65.3,1,.09.35.13.67.13.95,0,2.26-.51,4.28-1.52,6.07s-2.86,4.48-5.55,8.07-4.67,6.39-5.94,8.41c-14.92,24.23-25.1,42.16-30.53,53.78v.02ZM991.94,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM1033.49,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1111.3,130.82v5.64c-6.02,3.82-10.76,5.72-14.23,5.72-1.91,0-3.93-.32-6.07-.95-5.2,6.59-9.67,11.42-13.4,14.49s-7.47,4.6-11.23,4.6c-4.34,0-7.68-2.29-10.02-6.85-2.34-4.57-3.51-10.24-3.51-17,0-9.2,2.78-19.21,8.33-30.06,5.56-10.85,12.29-21.07,20.08-30.45,7.84-9.46,15.43-17.28,22.77-23.46,7.34-6.19,12.32-9.28,14.92-9.28s3.73,1.71,3.73,5.12c0,15.15-19.43,41.58-58.29,79.29-.12,1.04-.17,3.09-.17,6.16,0,7.98,2.14,11.97,6.42,11.97,1.68,0,3.37-.68,5.07-2.04,1.71-1.36,4.32-3.95,7.85-7.76-1.39-3.12-2.08-5.44-2.08-6.94,0-3.18,1.3-6.62,3.9-10.32s5.57-6.9,8.89-9.59c3.33-2.69,5.74-4.03,7.24-4.03,2.37,0,3.56,1.71,3.56,5.12,0,2.6-.68,5.72-2.04,9.37-1.36,3.64-3.34,7.81-5.94,12.49.98.81,1.76,1.4,2.34,1.78s1.45.56,2.6.56c2.66,0,5.75-1.18,9.28-3.56v-.02ZM1067.24,117.81c3.01-2.6,6.03-5.68,9.06-9.24s7.47-9.01,13.32-16.35c5.61-7.05,10.02-12.94,13.23-17.65s5.62-8.63,7.24-11.75c1.62-3.12,2.43-5.26,2.43-6.42,0-.87-.23-1.3-.69-1.3-1.27,0-3.92,2.1-7.94,6.29-4.02,4.19-8.6,9.93-13.75,17.22-7.11,10.06-12.26,17.64-15.44,22.73-3.18,5.09-5.67,10.58-7.46,16.48h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1110.96,133.08v-2.08c14.92-15.73,25.18-26.75,30.79-33.05,1.27-7.11,4.34-10.67,9.19-10.67,1.21,0,2.52.35,3.9,1.04l.52,1.65c-.23.69-.35,1.68-.35,2.95,0,1.1.42,3.14,1.26,6.12s1.49,5.48,1.95,7.5.69,4.31.69,6.85c0,3.82-.87,7.48-2.6,10.97-1.73,3.5-4.25,6.85-7.55,10.06-3.3,3.21-7.55,6.49-12.75,9.85,2.08.35,3.73.52,4.94.52,2.37,0,4.93-.59,7.68-1.78,2.75-1.18,5.55-2.78,8.41-4.77,2.86-2,6.2-4.58,10.02-7.76v5.81c-7.4,7.23-14.02,12.71-19.86,16.44s-10.87,5.59-15.09,5.59c-5.44,0-10.47-2.31-15.09-6.94-2.72-2.78-4.41-5.43-5.08-7.98-.67-2.54-1-5.99-1-10.32h.02ZM1143.31,119.8l-1.56-12.66c-3.59,4.05-11.25,11.83-22.99,23.33,3.47.75,5.84,1.76,7.11,3.04,1.27,1.27,3.06,3.73,5.38,7.37,3.93-1.62,6.95-3.83,9.07-6.64,2.11-2.8,3.17-6.64,3.17-11.49,0-.58-.01-1.1-.04-1.56s-.07-.92-.13-1.39h0Z" style="fill:#306fff; stroke-width:0px;"/><g style="isolation:isolate;"><text transform="translate(943.45 229.96)" style="fill:#00d797; font-family:ArialMT, Arial; font-size:24px; isolation:isolate;"><tspan x="0" y="0">version: ${t}</tspan></text></g></svg>`, i = "data:image/svg+xml;base64," + lr(s), d = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2204
|
+
}, 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;";
|
|
2201
2206
|
window.console.log(
|
|
2202
2207
|
"%c+",
|
|
2203
2208
|
d + `background-image: url(${i});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`
|
|
2204
2209
|
);
|
|
2205
|
-
},
|
|
2206
|
-
const { attrs: t, props: e } =
|
|
2210
|
+
}, ur = () => {
|
|
2211
|
+
const { attrs: t, props: e } = en(), { pageShown: n, getTab: s, markDeletableCache: r, removeComponent: o, getComponent: i, addPageScroller: d } = Ce(), a = An(), c = ut(), p = ye();
|
|
2207
2212
|
let f = "", l = "";
|
|
2208
2213
|
f = t.tId || e.tId;
|
|
2209
2214
|
const m = t.pId || e.pId;
|
|
@@ -2230,10 +2235,10 @@ const sr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2230
2235
|
O = Math.abs(y);
|
|
2231
2236
|
else {
|
|
2232
2237
|
let k = 1, L = !1;
|
|
2233
|
-
const
|
|
2238
|
+
const $ = g.list(), G = mt(y);
|
|
2234
2239
|
w = ne(G.query, w);
|
|
2235
2240
|
for (let A = g.size() - 2; A >= 0; A--) {
|
|
2236
|
-
if (
|
|
2241
|
+
if ($[A].path === G.path) {
|
|
2237
2242
|
L = !0;
|
|
2238
2243
|
break;
|
|
2239
2244
|
}
|
|
@@ -2261,15 +2266,15 @@ const sr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2261
2266
|
d(m, ...y);
|
|
2262
2267
|
}
|
|
2263
2268
|
};
|
|
2264
|
-
},
|
|
2269
|
+
}, mr = /* @__PURE__ */ ee({
|
|
2265
2270
|
__name: "iframe",
|
|
2266
2271
|
setup(t) {
|
|
2267
|
-
return
|
|
2272
|
+
return ur(), () => {
|
|
2268
2273
|
};
|
|
2269
2274
|
}
|
|
2270
|
-
}),
|
|
2271
|
-
const t =
|
|
2272
|
-
|
|
2275
|
+
}), gr = () => {
|
|
2276
|
+
const t = ye(), { attrs: e } = en();
|
|
2277
|
+
Ze(() => {
|
|
2273
2278
|
s();
|
|
2274
2279
|
});
|
|
2275
2280
|
const n = () => {
|
|
@@ -2278,19 +2283,19 @@ const sr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2278
2283
|
t.emit(Z.PAGE_LOADING, { tId: e.tId, value: !1 });
|
|
2279
2284
|
};
|
|
2280
2285
|
return { openTabLoading: n, closeTabLoading: s };
|
|
2281
|
-
},
|
|
2286
|
+
}, yr = {
|
|
2282
2287
|
install(t, e) {
|
|
2283
|
-
|
|
2288
|
+
lr("0.1.46"), t.component("VueStackTabs", er).use(hs).use(Un().getI18n(e));
|
|
2284
2289
|
}
|
|
2285
2290
|
};
|
|
2286
2291
|
export {
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2292
|
+
mr as IFrame,
|
|
2293
|
+
Xe as Stack,
|
|
2294
|
+
er as StackTab,
|
|
2295
|
+
at as TabHeaderButton,
|
|
2296
|
+
be as TabScrollMode,
|
|
2297
|
+
yr as default,
|
|
2298
|
+
Ks as useStackTab,
|
|
2299
|
+
gr as useTabLoading,
|
|
2300
|
+
ur as useTabRouter
|
|
2296
2301
|
};
|