vue-stack-tabs 0.1.50 → 0.1.51
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/vue-stack-tabs.es.js +490 -496
- package/dist/vue-stack-tabs.umd.js +2 -2
- package/package.json +1 -1
- package/src/lib/hooks/useTabpanel.tsx +14 -11
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { inject as
|
|
5
|
-
import { useRouter as
|
|
6
|
-
const
|
|
1
|
+
var pn = Object.defineProperty;
|
|
2
|
+
var bn = (t, e, n) => e in t ? pn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var wt = (t, e, n) => bn(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
+
import { inject as at, ref as D, reactive as Ee, readonly as kt, toRaw as vn, defineComponent as Q, openBlock as R, createElementBlock as V, normalizeStyle as Fe, unref as T, createElementVNode as J, createCommentVNode as re, nextTick as ye, onMounted as He, onDeactivated as mn, onActivated as gn, onUnmounted as Ze, createVNode as N, resolveComponent as Zt, normalizeClass as ue, withModifiers as Ie, toDisplayString as jt, Fragment as je, renderList as ct, createBlock as ve, computed as we, renderSlot as _e, watch as yn, withDirectives as Xt, vShow as Gt, withCtx as le, TransitionGroup as Yt, mergeProps as wn, Transition as Kt, provide as kn, onBeforeMount as _n, onBeforeUnmount as _t, KeepAlive as xn, resolveDynamicComponent as Tn, getCurrentInstance as Jt } from "vue";
|
|
5
|
+
import { useRouter as lt, useRoute as Sn } from "vue-router";
|
|
6
|
+
const On = {
|
|
7
7
|
VueStackTab: {
|
|
8
8
|
close: "close",
|
|
9
9
|
closeLeft: "close left",
|
|
@@ -17,10 +17,10 @@ const En = {
|
|
|
17
17
|
undefined: "undefined",
|
|
18
18
|
loading: "loading"
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, An = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21
21
|
__proto__: null,
|
|
22
|
-
default:
|
|
23
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
22
|
+
default: On
|
|
23
|
+
}, Symbol.toStringTag, { value: "Module" })), En = {
|
|
24
24
|
VueStackTab: {
|
|
25
25
|
close: "关闭",
|
|
26
26
|
closeLeft: "关闭左侧",
|
|
@@ -34,27 +34,27 @@ const En = {
|
|
|
34
34
|
undefined: "未命名",
|
|
35
35
|
loading: "加载中"
|
|
36
36
|
}
|
|
37
|
-
},
|
|
37
|
+
}, In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
38
38
|
__proto__: null,
|
|
39
|
-
default:
|
|
39
|
+
default: En
|
|
40
40
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
41
41
|
/*!
|
|
42
42
|
* vue-i18n-lite v1.0.2
|
|
43
43
|
* (c) 2021 Erik Pham
|
|
44
44
|
* @license MIT
|
|
45
45
|
*/
|
|
46
|
-
const
|
|
47
|
-
function
|
|
46
|
+
const Bn = ["__proto__", "prototype", "constructor"];
|
|
47
|
+
function Mn(t) {
|
|
48
48
|
const e = typeof t;
|
|
49
49
|
return t !== null && (e === "object" || e === "function");
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Cn(t) {
|
|
52
52
|
return !(Array.isArray(t) ? t.length : Object.keys(t).length);
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
return !t.some((e) =>
|
|
54
|
+
function Ln(t) {
|
|
55
|
+
return !t.some((e) => Bn.indexOf(e) !== -1);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function zn(t) {
|
|
58
58
|
const e = t.split("."), n = [];
|
|
59
59
|
for (let s = 0; s < e.length; s++) {
|
|
60
60
|
let r = e[s];
|
|
@@ -62,12 +62,12 @@ function $n(t) {
|
|
|
62
62
|
r = r.slice(0, -1) + ".", r += e[++s];
|
|
63
63
|
n.push(r);
|
|
64
64
|
}
|
|
65
|
-
return
|
|
65
|
+
return Ln(n) ? n : [];
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
if (!
|
|
67
|
+
function xt(t, e) {
|
|
68
|
+
if (!Mn(t))
|
|
69
69
|
return "";
|
|
70
|
-
const n =
|
|
70
|
+
const n = zn(e);
|
|
71
71
|
if (n.length === 0)
|
|
72
72
|
return "";
|
|
73
73
|
let s = Object.assign({}, t);
|
|
@@ -82,7 +82,7 @@ function St(t, e) {
|
|
|
82
82
|
}
|
|
83
83
|
return "";
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Rn(t, e) {
|
|
86
86
|
if (Array.isArray(e)) {
|
|
87
87
|
const n = {}, s = [...t.matchAll(/{(.+?)}/g)];
|
|
88
88
|
return s && s.forEach((r, o) => {
|
|
@@ -91,21 +91,21 @@ function Dn(t, e) {
|
|
|
91
91
|
}
|
|
92
92
|
return e;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function $n(t, e) {
|
|
95
95
|
for (const n in e)
|
|
96
96
|
t = t.replace(`{${n}}`, String(e[n]));
|
|
97
97
|
return t;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Qt(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], ...Qt(t[n], e[n]) });
|
|
102
102
|
}), { ...t || {}, ...e };
|
|
103
103
|
}
|
|
104
|
-
const
|
|
104
|
+
const Dn = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", Pn = (t) => Dn ? Symbol(t) : "_vt_" + t, en = /* @__PURE__ */ Pn("i18n");
|
|
105
105
|
function Me() {
|
|
106
|
-
return
|
|
106
|
+
return at(en);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function Nn(t) {
|
|
109
109
|
const e = Object.assign({ locale: "en", fallbackLocale: "en", messages: {} }, t), n = D(e.locale), s = Ee({});
|
|
110
110
|
return Object.entries(e.messages).forEach(([r, o]) => {
|
|
111
111
|
s[r] = o;
|
|
@@ -114,32 +114,32 @@ function Vn(t) {
|
|
|
114
114
|
if (!r)
|
|
115
115
|
return "";
|
|
116
116
|
const i = typeof o == "string" && o ? o : n.value;
|
|
117
|
-
let f =
|
|
117
|
+
let f = xt(s[i], r) || xt(s[e.fallbackLocale], r);
|
|
118
118
|
if (o && typeof o != "string") {
|
|
119
|
-
const a =
|
|
120
|
-
|
|
119
|
+
const a = Rn(f, o);
|
|
120
|
+
Cn(a) || (f = $n(f, a));
|
|
121
121
|
}
|
|
122
122
|
return f || r;
|
|
123
123
|
},
|
|
124
|
-
current:
|
|
125
|
-
options:
|
|
124
|
+
current: kt(n),
|
|
125
|
+
options: kt(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(en, 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] = Qt(vn(s[r] || {}), o);
|
|
135
135
|
},
|
|
136
136
|
getLocaleMessage(r) {
|
|
137
137
|
return s[r] || {};
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
const
|
|
142
|
-
const t = /* @__PURE__ */ Object.assign({ "./lang/en.ts":
|
|
141
|
+
const Wn = () => {
|
|
142
|
+
const t = /* @__PURE__ */ Object.assign({ "./lang/en.ts": An, "./lang/zh-CN.ts": In });
|
|
143
143
|
function e(r, o) {
|
|
144
144
|
for (const i in r)
|
|
145
145
|
if (r[i].default) {
|
|
@@ -160,14 +160,14 @@ const Un = () => {
|
|
|
160
160
|
if (r)
|
|
161
161
|
for (const i of r)
|
|
162
162
|
o[i.locale] = i.messages;
|
|
163
|
-
return
|
|
163
|
+
return Nn({
|
|
164
164
|
locale: "zh-CN",
|
|
165
165
|
fallbackLocale: "en",
|
|
166
166
|
messages: o
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
|
-
},
|
|
170
|
+
}, tn = ({
|
|
171
171
|
wrap: t,
|
|
172
172
|
left: e = 0,
|
|
173
173
|
top: n = 0,
|
|
@@ -179,7 +179,7 @@ const Un = () => {
|
|
|
179
179
|
behavior: s ? "smooth" : "auto"
|
|
180
180
|
}) : (t.scrollLeft = e, t.scrollTop = n));
|
|
181
181
|
};
|
|
182
|
-
function
|
|
182
|
+
function Vn({
|
|
183
183
|
el: t,
|
|
184
184
|
wrap: e,
|
|
185
185
|
block: n = "start",
|
|
@@ -191,21 +191,21 @@ function qn({
|
|
|
191
191
|
else {
|
|
192
192
|
const { offsetLeft: r, offsetTop: o } = t;
|
|
193
193
|
let i, f;
|
|
194
|
-
n === "center" ? f = o + (t.clientHeight - e.clientHeight) / 2 : f = o, s === "center" ? i = r + (t.clientWidth - e.clientWidth) / 2 : i = r,
|
|
194
|
+
n === "center" ? f = o + (t.clientHeight - e.clientHeight) / 2 : f = o, s === "center" ? i = r + (t.clientWidth - e.clientWidth) / 2 : i = r, tn({ wrap: e, left: i, top: f });
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
const
|
|
197
|
+
const ut = (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
|
|
203
|
+
var he = /* @__PURE__ */ ((t) => (t.WHEEL = "wheel", t.BUTTON = "button", t.BOTH = "both", t))(he || {});
|
|
204
204
|
class Ge {
|
|
205
205
|
//
|
|
206
206
|
constructor(e) {
|
|
207
207
|
// 存储的Map
|
|
208
|
-
|
|
208
|
+
wt(this, "items");
|
|
209
209
|
if (this.items = /* @__PURE__ */ new Map(), e)
|
|
210
210
|
for (const n of e)
|
|
211
211
|
this.push(n);
|
|
@@ -274,34 +274,34 @@ class Ge {
|
|
|
274
274
|
return Array.from(this.items.values());
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function We(t) {
|
|
278
278
|
var e = new Error(t);
|
|
279
279
|
return e.source = "ulid", e;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
282
|
-
function
|
|
281
|
+
var ft = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Se = ft.length, Tt = Math.pow(2, 48) - 1, Un = 10, qn = 16;
|
|
282
|
+
function Fn(t) {
|
|
283
283
|
var e = Math.floor(t() * Se);
|
|
284
|
-
return e === Se && (e = Se - 1),
|
|
284
|
+
return e === Se && (e = Se - 1), ft.charAt(e);
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function Hn(t, e) {
|
|
287
287
|
if (isNaN(t))
|
|
288
288
|
throw new Error(t + " must be a number");
|
|
289
|
-
if (t >
|
|
290
|
-
throw
|
|
289
|
+
if (t > Tt)
|
|
290
|
+
throw We("cannot encode time greater than " + Tt);
|
|
291
291
|
if (t < 0)
|
|
292
|
-
throw
|
|
292
|
+
throw We("time must be positive");
|
|
293
293
|
if (Number.isInteger(t) === !1)
|
|
294
|
-
throw
|
|
294
|
+
throw We("time must be an integer");
|
|
295
295
|
for (var n = void 0, s = ""; e > 0; e--)
|
|
296
|
-
n = t % Se, s =
|
|
296
|
+
n = t % Se, s = ft.charAt(n) + s, t = (t - n) / Se;
|
|
297
297
|
return s;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function Zn(t, e) {
|
|
300
300
|
for (var n = ""; t > 0; t--)
|
|
301
|
-
n =
|
|
301
|
+
n = Fn(e) + n;
|
|
302
302
|
return n;
|
|
303
303
|
}
|
|
304
|
-
function
|
|
304
|
+
function jn() {
|
|
305
305
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, e = arguments[1];
|
|
306
306
|
e || (e = typeof window < "u" ? window : null);
|
|
307
307
|
var n = e && (e.crypto || e.msCrypto);
|
|
@@ -325,15 +325,15 @@ function Gn() {
|
|
|
325
325
|
return Math.random();
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
|
-
throw
|
|
328
|
+
throw We("secure crypto unusable, insecure Math.random not allowed");
|
|
329
329
|
}
|
|
330
|
-
function
|
|
331
|
-
return t || (t =
|
|
332
|
-
return isNaN(n) && (n = Date.now()),
|
|
330
|
+
function Xn(t) {
|
|
331
|
+
return t || (t = jn()), function(n) {
|
|
332
|
+
return isNaN(n) && (n = Date.now()), Hn(n, Un) + Zn(qn, t);
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
|
-
var
|
|
336
|
-
|
|
335
|
+
var et = Xn(), dt = { exports: {} };
|
|
336
|
+
dt.exports;
|
|
337
337
|
(function(t) {
|
|
338
338
|
var e = function() {
|
|
339
339
|
var n = String.fromCharCode, s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", o = {};
|
|
@@ -526,96 +526,96 @@ ht.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
|
|
531
|
-
const
|
|
529
|
+
})(dt);
|
|
530
|
+
var nn = dt.exports;
|
|
531
|
+
const Gn = new TextEncoder(), Yn = new TextDecoder("utf-8", { ignoreBOM: !0 }), St = {
|
|
532
532
|
/* API */
|
|
533
|
-
encode: (t) =>
|
|
534
|
-
decode: (t) =>
|
|
535
|
-
},
|
|
533
|
+
encode: (t) => Gn.encode(t),
|
|
534
|
+
decode: (t) => Yn.decode(t)
|
|
535
|
+
}, sn = (() => {
|
|
536
536
|
const e = [..."0123456789abcdef"], n = new Array(256);
|
|
537
537
|
for (let s = 0; s < 256; s++)
|
|
538
538
|
n[s] = `${e[s >>> 4 & 15]}${e[s & 15]}`;
|
|
539
539
|
return n;
|
|
540
|
-
})(),
|
|
540
|
+
})(), Kn = (() => {
|
|
541
541
|
const t = {};
|
|
542
542
|
for (let e = 0; e < 256; e++) {
|
|
543
|
-
const n =
|
|
543
|
+
const n = sn[e], s = n[0], r = s.toUpperCase(), o = n[1], i = o.toUpperCase();
|
|
544
544
|
t[n] = e, t[`${s}${i}`] = e, t[`${r}${o}`] = e, t[`${r}${i}`] = e;
|
|
545
545
|
}
|
|
546
546
|
return t;
|
|
547
|
-
})(),
|
|
547
|
+
})(), Jn = (t) => !(t.length % 2 || !/^[a-fA-F0-9]*$/.test(t)), tt = {
|
|
548
548
|
/* API */
|
|
549
549
|
encode: (t) => {
|
|
550
550
|
let e = "";
|
|
551
551
|
for (let n = 0, s = t.length; n < s; n++)
|
|
552
|
-
e +=
|
|
552
|
+
e += sn[t[n]];
|
|
553
553
|
return e;
|
|
554
554
|
},
|
|
555
|
-
encodeStr: (t) =>
|
|
555
|
+
encodeStr: (t) => tt.encode(St.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
|
-
n[s] =
|
|
559
|
+
n[s] = Kn[t.slice(s * 2, s * 2 + 2)];
|
|
560
560
|
return n;
|
|
561
561
|
},
|
|
562
|
-
decodeStr: (t) =>
|
|
563
|
-
is:
|
|
562
|
+
decodeStr: (t) => St.decode(tt.decode(t)),
|
|
563
|
+
is: Jn
|
|
564
564
|
};
|
|
565
565
|
function Oe(t) {
|
|
566
566
|
if (!Number.isSafeInteger(t) || t < 0)
|
|
567
567
|
throw new Error(`positive integer expected, not ${t}`);
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function Qn(t) {
|
|
570
570
|
return t instanceof Uint8Array || t != null && typeof t == "object" && t.constructor.name === "Uint8Array";
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
if (!
|
|
572
|
+
function ht(t, ...e) {
|
|
573
|
+
if (!Qn(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 nt(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
|
-
function
|
|
585
|
-
|
|
584
|
+
function rn(t, e) {
|
|
585
|
+
ht(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
|
|
591
|
-
function
|
|
592
|
-
return e ? { h: Number(t &
|
|
590
|
+
const ze = /* @__PURE__ */ BigInt(2 ** 32 - 1), Ot = /* @__PURE__ */ BigInt(32);
|
|
591
|
+
function At(t, e = !1) {
|
|
592
|
+
return e ? { h: Number(t & ze), l: Number(t >> Ot & ze) } : { h: Number(t >> Ot & ze) | 0, l: Number(t & ze) | 0 };
|
|
593
593
|
}
|
|
594
594
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
595
|
-
const
|
|
595
|
+
const es = (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, on = (t) => t << 24 & 4278190080 | t << 8 & 16711680 | t >>> 8 & 65280 | t >>> 24 & 255, ts = j ? (t) => t : (t) => on(t);
|
|
596
596
|
function Z(t) {
|
|
597
597
|
for (let e = 0; e < t.length; e++)
|
|
598
|
-
t[e] =
|
|
598
|
+
t[e] = on(t[e]);
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function ns(t) {
|
|
601
601
|
if (typeof t != "string")
|
|
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 =
|
|
605
|
+
function pt(t) {
|
|
606
|
+
return typeof t == "string" && (t = ns(t)), ht(t), t;
|
|
607
607
|
}
|
|
608
|
-
class
|
|
608
|
+
class ss {
|
|
609
609
|
// Safe version that clones internal state
|
|
610
610
|
clone() {
|
|
611
611
|
return this._cloneInto();
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
function
|
|
615
|
-
const e = (s, r) => t(r).update(
|
|
614
|
+
function rs(t) {
|
|
615
|
+
const e = (s, r) => t(r).update(pt(s)).digest(), n = t({});
|
|
616
616
|
return e.outputLen = n.outputLen, e.blockLen = n.blockLen, e.create = (s) => t(s), e;
|
|
617
617
|
}
|
|
618
|
-
class
|
|
618
|
+
class os extends ss {
|
|
619
619
|
constructor(e, n, s = {}, r, o, i) {
|
|
620
620
|
if (super(), this.blockLen = e, this.outputLen = n, this.length = 0, this.pos = 0, this.finished = !1, this.destroyed = !1, Oe(e), Oe(n), Oe(r), n < 0 || n > r)
|
|
621
621
|
throw new Error("outputLen bigger than keyLen");
|
|
@@ -625,22 +625,22 @@ class as extends os {
|
|
|
625
625
|
throw new Error(`salt must be ${o} byte long or undefined`);
|
|
626
626
|
if (s.personalization !== void 0 && s.personalization.length !== i)
|
|
627
627
|
throw new Error(`personalization must be ${i} byte long or undefined`);
|
|
628
|
-
this.buffer32 =
|
|
628
|
+
this.buffer32 = Ue(this.buffer = new Uint8Array(e));
|
|
629
629
|
}
|
|
630
630
|
update(e) {
|
|
631
|
-
|
|
631
|
+
nt(this);
|
|
632
632
|
const { blockLen: n, buffer: s, buffer32: r } = this;
|
|
633
|
-
e =
|
|
633
|
+
e = pt(e);
|
|
634
634
|
const o = e.length, i = e.byteOffset, f = e.buffer;
|
|
635
635
|
for (let a = 0; a < o; ) {
|
|
636
|
-
this.pos === n && (
|
|
636
|
+
this.pos === n && (j || Z(r), this.compress(r, 0, !1), j || Z(r), this.pos = 0);
|
|
637
637
|
const c = Math.min(n - this.pos, o - a), p = i + a;
|
|
638
638
|
if (c === n && !(p % 4) && a + c < o) {
|
|
639
639
|
const u = new Uint32Array(f, p, Math.floor((o - a) / 4));
|
|
640
|
-
|
|
640
|
+
j || Z(u);
|
|
641
641
|
for (let l = 0; a + n < o; l += r.length, a += n)
|
|
642
642
|
this.length += n, this.compress(u, l, !1);
|
|
643
|
-
|
|
643
|
+
j || Z(u);
|
|
644
644
|
continue;
|
|
645
645
|
}
|
|
646
646
|
s.set(e.subarray(a, a + c), this.pos), this.pos += c, this.length += c, a += c;
|
|
@@ -648,11 +648,11 @@ class as extends os {
|
|
|
648
648
|
return this;
|
|
649
649
|
}
|
|
650
650
|
digestInto(e) {
|
|
651
|
-
|
|
651
|
+
nt(this), rn(e, this);
|
|
652
652
|
const { pos: n, buffer32: s } = this;
|
|
653
|
-
this.finished = !0, this.buffer.subarray(n).fill(0),
|
|
654
|
-
const r =
|
|
655
|
-
this.get().forEach((o, i) => r[i] =
|
|
653
|
+
this.finished = !0, this.buffer.subarray(n).fill(0), j || Z(s), this.compress(s, 0, !0), j || Z(s);
|
|
654
|
+
const r = Ue(e);
|
|
655
|
+
this.get().forEach((o, i) => r[i] = ts(o));
|
|
656
656
|
}
|
|
657
657
|
digest() {
|
|
658
658
|
const { buffer: e, outputLen: n } = this;
|
|
@@ -665,7 +665,7 @@ class as extends os {
|
|
|
665
665
|
return e || (e = new this.constructor({ dkLen: i })), e.set(...this.get()), e.length = s, e.finished = r, e.destroyed = o, e.outputLen = i, e.buffer.set(n), e.pos = f, e;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
|
-
const
|
|
668
|
+
const ne = /* @__PURE__ */ new Uint32Array([
|
|
669
669
|
1779033703,
|
|
670
670
|
3144134277,
|
|
671
671
|
1013904242,
|
|
@@ -676,42 +676,42 @@ const te = /* @__PURE__ */ new Uint32Array([
|
|
|
676
676
|
1541459225
|
|
677
677
|
]);
|
|
678
678
|
function oe(t, e, n, s, r) {
|
|
679
|
-
return t = t + e + r | 0, s =
|
|
679
|
+
return t = t + e + r | 0, s = qe(s ^ t, 16), n = n + s | 0, e = qe(e ^ n, 12), { a: t, b: e, c: n, d: s };
|
|
680
680
|
}
|
|
681
681
|
function ie(t, e, n, s, r) {
|
|
682
|
-
return t = t + e + r | 0, s =
|
|
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 Et(t, e, n, s, r, o, i, f, a, c, p, u, l, w, x, B, E, g, y, S) {
|
|
685
685
|
let m = 0;
|
|
686
686
|
for (let O = 0; O < s; O++)
|
|
687
687
|
({ a: r, b: a, c: l, d: E } = oe(r, a, l, E, n[e + t[m++]])), { a: r, b: a, c: l, d: E } = ie(r, a, l, E, n[e + t[m++]]), { a: o, b: c, c: w, d: g } = oe(o, c, w, g, n[e + t[m++]]), { a: o, b: c, c: w, d: g } = ie(o, c, w, g, n[e + t[m++]]), { a: i, b: p, c: x, d: y } = oe(i, p, x, y, n[e + t[m++]]), { a: i, b: p, c: x, d: y } = ie(i, p, x, y, n[e + t[m++]]), { a: f, b: u, c: B, d: S } = oe(f, u, B, S, n[e + t[m++]]), { a: f, b: u, c: B, d: S } = ie(f, u, B, S, n[e + t[m++]]), { a: r, b: c, c: x, d: S } = oe(r, c, x, S, n[e + t[m++]]), { a: r, b: c, c: x, d: S } = ie(r, c, x, S, n[e + t[m++]]), { a: o, b: p, c: B, d: E } = oe(o, p, B, E, n[e + t[m++]]), { a: o, b: p, c: B, d: E } = ie(o, p, B, E, n[e + t[m++]]), { a: i, b: u, c: l, d: g } = oe(i, u, l, g, n[e + t[m++]]), { a: i, b: u, c: l, d: g } = ie(i, u, l, g, n[e + t[m++]]), { a: f, b: a, c: w, d: y } = oe(f, a, w, y, n[e + t[m++]]), { a: f, b: a, c: w, d: y } = ie(f, a, w, y, n[e + t[m++]]);
|
|
688
688
|
return { v0: r, v1: o, v2: i, v3: f, v4: a, v5: c, v6: p, v7: u, v8: l, v9: w, v10: x, v11: B, v12: E, v13: g, v14: y, v15: S };
|
|
689
689
|
}
|
|
690
|
-
const
|
|
690
|
+
const It = /* @__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 bt extends os {
|
|
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, Oe(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 = pt(e.key).slice();
|
|
702
702
|
if (s.length !== 32)
|
|
703
703
|
throw new Error("Blake3: key should be 32 byte");
|
|
704
|
-
this.IV =
|
|
704
|
+
this.IV = Ue(s), j || Z(this.IV), this.flags = n | 16;
|
|
705
705
|
} else if (e.context !== void 0) {
|
|
706
|
-
const s = new
|
|
706
|
+
const s = new bt(
|
|
707
707
|
{ dkLen: 32 },
|
|
708
708
|
32
|
|
709
709
|
/* B3_Flags.DERIVE_KEY_CONTEXT */
|
|
710
710
|
).update(e.context).digest();
|
|
711
|
-
this.IV =
|
|
711
|
+
this.IV = Ue(s), j || Z(this.IV), this.flags = n | 64;
|
|
712
712
|
} else
|
|
713
|
-
this.IV =
|
|
714
|
-
this.state = this.IV.slice(), this.bufferOut =
|
|
713
|
+
this.IV = ne.slice(), this.flags = n;
|
|
714
|
+
this.state = this.IV.slice(), this.bufferOut = es(this.bufferOut32);
|
|
715
715
|
}
|
|
716
716
|
// Unused
|
|
717
717
|
get() {
|
|
@@ -720,7 +720,7 @@ class vt extends as {
|
|
|
720
720
|
set() {
|
|
721
721
|
}
|
|
722
722
|
b2Compress(e, n, s, r = 0) {
|
|
723
|
-
const { state: o, pos: i } = this, { h: f, l: a } =
|
|
723
|
+
const { state: o, pos: i } = this, { h: f, l: a } = At(BigInt(e), !0), { v0: c, v1: p, v2: u, v3: l, v4: w, v5: x, v6: B, v7: E, v8: g, v9: y, v10: S, v11: m, v12: O, v13: d, v14: k, v15: _ } = Et(It, r, s, 7, o[0], o[1], o[2], o[3], o[4], o[5], o[6], o[7], ne[0], ne[1], ne[2], ne[3], f, a, i, n);
|
|
724
724
|
o[0] = c ^ g, o[1] = p ^ y, o[2] = u ^ S, o[3] = l ^ m, o[4] = w ^ O, o[5] = x ^ d, o[6] = B ^ k, o[7] = E ^ _;
|
|
725
725
|
}
|
|
726
726
|
compress(e, n = 0, s = !1) {
|
|
@@ -746,20 +746,20 @@ class vt extends as {
|
|
|
746
746
|
}
|
|
747
747
|
// Same as b2Compress, but doesn't modify state and returns 16 u32 array (instead of 8)
|
|
748
748
|
b2CompressOut() {
|
|
749
|
-
const { state: e, pos: n, flags: s, buffer32: r, bufferOut32: o } = this, { h: i, l: f } =
|
|
750
|
-
|
|
751
|
-
const { v0: a, v1: c, v2: p, v3: u, v4: l, v5: w, v6: x, v7: B, v8: E, v9: g, v10: y, v11: S, v12: m, v13: O, v14: d, v15: k } =
|
|
752
|
-
o[0] = a ^ E, o[1] = c ^ g, o[2] = p ^ y, o[3] = u ^ S, o[4] = l ^ m, o[5] = w ^ O, o[6] = x ^ d, o[7] = B ^ k, o[8] = e[0] ^ E, o[9] = e[1] ^ g, o[10] = e[2] ^ y, o[11] = e[3] ^ S, o[12] = e[4] ^ m, o[13] = e[5] ^ O, o[14] = e[6] ^ d, o[15] = e[7] ^ k,
|
|
749
|
+
const { state: e, pos: n, flags: s, buffer32: r, bufferOut32: o } = this, { h: i, l: f } = At(BigInt(this.chunkOut++));
|
|
750
|
+
j || Z(r);
|
|
751
|
+
const { v0: a, v1: c, v2: p, v3: u, v4: l, v5: w, v6: x, v7: B, v8: E, v9: g, v10: y, v11: S, v12: m, v13: O, v14: d, v15: k } = Et(It, 0, r, 7, e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], ne[0], ne[1], ne[2], ne[3], f, i, n, s);
|
|
752
|
+
o[0] = a ^ E, o[1] = c ^ g, o[2] = p ^ y, o[3] = u ^ S, o[4] = l ^ m, o[5] = w ^ O, o[6] = x ^ d, o[7] = B ^ k, o[8] = e[0] ^ E, o[9] = e[1] ^ g, o[10] = e[2] ^ y, o[11] = e[3] ^ S, o[12] = e[4] ^ m, o[13] = e[5] ^ O, o[14] = e[6] ^ d, o[15] = e[7] ^ k, j || (Z(r), Z(o)), this.posOut = 0;
|
|
753
753
|
}
|
|
754
754
|
finish() {
|
|
755
755
|
if (this.finished)
|
|
756
756
|
return;
|
|
757
757
|
this.finished = !0, this.buffer.fill(0, this.pos);
|
|
758
758
|
let e = this.flags | 8;
|
|
759
|
-
this.stack.length ? (e |= 4,
|
|
759
|
+
this.stack.length ? (e |= 4, j || Z(this.buffer32), this.compress(this.buffer32, 0, !0), j || Z(this.buffer32), this.chunksDone = 0, this.pos = this.blockLen) : e |= (this.chunkPos ? 0 : 1) | 2, this.flags = e, this.b2CompressOut();
|
|
760
760
|
}
|
|
761
761
|
writeInto(e) {
|
|
762
|
-
|
|
762
|
+
nt(this, !1), ht(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();
|
|
@@ -777,7 +777,7 @@ class vt extends as {
|
|
|
777
777
|
return Oe(e), this.xofInto(new Uint8Array(e));
|
|
778
778
|
}
|
|
779
779
|
digestInto(e) {
|
|
780
|
-
if (
|
|
780
|
+
if (rn(e, this), this.finished)
|
|
781
781
|
throw new Error("digest() was already called");
|
|
782
782
|
return this.enableXOF = !1, this.writeInto(e), this.destroy(), e;
|
|
783
783
|
}
|
|
@@ -785,11 +785,11 @@ class vt extends as {
|
|
|
785
785
|
return this.digestInto(new Uint8Array(this.outputLen));
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
|
-
const
|
|
788
|
+
const is = /* @__PURE__ */ rs((t) => new bt(t)), st = (t) => {
|
|
789
789
|
const e = `${t.id}|${t.title}|${t.iframe ? "Y" : "N"}|${t.closable ? "Y" : "N"}|${t.refreshable ? "Y" : "N"}`;
|
|
790
|
-
return
|
|
791
|
-
},
|
|
792
|
-
const n =
|
|
790
|
+
return nn.compressToEncodedURIComponent(e);
|
|
791
|
+
}, as = (t) => {
|
|
792
|
+
const n = nn.decompressFromEncodedURIComponent(t).split("|");
|
|
793
793
|
return {
|
|
794
794
|
id: n[0],
|
|
795
795
|
title: n[1],
|
|
@@ -797,7 +797,7 @@ const cs = /* @__PURE__ */ is((t) => new vt(t)), rt = (t) => {
|
|
|
797
797
|
closable: n[3] === "Y",
|
|
798
798
|
refreshable: n[4] === "Y"
|
|
799
799
|
};
|
|
800
|
-
},
|
|
800
|
+
}, Bt = (t, e, n) => {
|
|
801
801
|
const s = [];
|
|
802
802
|
for (const o in n)
|
|
803
803
|
o.startsWith("__") || s.push({
|
|
@@ -808,8 +808,8 @@ const cs = /* @__PURE__ */ is((t) => new vt(t)), rt = (t) => {
|
|
|
808
808
|
let f = 0;
|
|
809
809
|
return o.key > i.key ? f = 1 : o.key < i.key && (f = -1), f;
|
|
810
810
|
});
|
|
811
|
-
const r =
|
|
812
|
-
return
|
|
811
|
+
const r = is(`${t}|${e}|${JSON.stringify(s)}`);
|
|
812
|
+
return tt.encode(r);
|
|
813
813
|
};
|
|
814
814
|
function Ye(t) {
|
|
815
815
|
if (t === null || typeof t != "object")
|
|
@@ -817,15 +817,15 @@ function Ye(t) {
|
|
|
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
|
|
820
|
+
function rt(t, e, n = ".", s) {
|
|
821
821
|
if (!Ye(e))
|
|
822
|
-
return
|
|
822
|
+
return rt(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]] : Ye(i) && Ye(r[o]) ? r[o] =
|
|
828
|
+
i != null && (s && s(r, o, i, n) || (Array.isArray(i) && Array.isArray(r[o]) ? r[o] = [...i, ...r[o]] : Ye(i) && Ye(r[o]) ? r[o] = rt(
|
|
829
829
|
i,
|
|
830
830
|
r[o],
|
|
831
831
|
(n ? `${n}.` : "") + o.toString(),
|
|
@@ -834,13 +834,13 @@ function ot(t, e, n = ".", s) {
|
|
|
834
834
|
}
|
|
835
835
|
return r;
|
|
836
836
|
}
|
|
837
|
-
function
|
|
837
|
+
function cs(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) => rt(n, s, "", t), {})
|
|
841
841
|
);
|
|
842
842
|
}
|
|
843
|
-
const
|
|
843
|
+
const se = cs(), vt = (t) => {
|
|
844
844
|
const e = t.split("?");
|
|
845
845
|
if (e.length <= 1)
|
|
846
846
|
return {
|
|
@@ -859,7 +859,7 @@ const ne = us(), mt = (t) => {
|
|
|
859
859
|
};
|
|
860
860
|
}
|
|
861
861
|
};
|
|
862
|
-
function
|
|
862
|
+
function ls(t) {
|
|
863
863
|
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, n) {
|
|
864
864
|
var s = t.get(e);
|
|
865
865
|
s ? s.push(n) : t.set(e, [n]);
|
|
@@ -875,68 +875,68 @@ function fs(t) {
|
|
|
875
875
|
});
|
|
876
876
|
} };
|
|
877
877
|
}
|
|
878
|
-
const
|
|
878
|
+
const us = ls(), fs = {
|
|
879
879
|
install(t) {
|
|
880
|
-
t.provide("tabEmitter",
|
|
880
|
+
t.provide("tabEmitter", us);
|
|
881
881
|
}
|
|
882
|
-
},
|
|
883
|
-
var
|
|
884
|
-
const
|
|
882
|
+
}, me = () => at("tabEmitter");
|
|
883
|
+
var X = /* @__PURE__ */ ((t) => (t.PAGE_LOADING = "PAGE_LOADING", t.TAB_ACTIVE = "TAB_ACTIVE", t))(X || {});
|
|
884
|
+
const ds = /* @__PURE__ */ Q({
|
|
885
885
|
__name: "PageLoading",
|
|
886
886
|
props: {
|
|
887
887
|
tId: {}
|
|
888
888
|
},
|
|
889
889
|
setup(t) {
|
|
890
|
-
const e = t, n =
|
|
891
|
-
return n.on(
|
|
890
|
+
const e = t, n = me(), s = D(!1);
|
|
891
|
+
return n.on(X.PAGE_LOADING, ({ tId: r, value: o }) => {
|
|
892
892
|
r === e.tId && (s.value = o);
|
|
893
893
|
}), (r, o) => s.value ? (R(), V("div", {
|
|
894
894
|
key: 0,
|
|
895
895
|
class: "stack-tab-loading-mask",
|
|
896
|
-
style:
|
|
896
|
+
style: Fe({ zIndex: T(ut)(".cache-page-wrapper *") })
|
|
897
897
|
}, o[0] || (o[0] = [
|
|
898
|
-
|
|
899
|
-
]), 4)) :
|
|
898
|
+
J("div", { class: "stack-tab-loading--spin turn" }, null, -1)
|
|
899
|
+
]), 4)) : re("", !0);
|
|
900
900
|
}
|
|
901
|
-
}), M = D([]),
|
|
902
|
-
let
|
|
901
|
+
}), M = D([]), W = D([]), ae = /* @__PURE__ */ new Map(), fe = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), xe = D(!0), Ke = "stacktab-active-tab", de = /* @__PURE__ */ new Map(), Mt = D(!1);
|
|
902
|
+
let Re = 0, Ct = !1, $e = "";
|
|
903
903
|
const Ce = () => {
|
|
904
|
-
const t =
|
|
904
|
+
const t = lt(), e = me(), {
|
|
905
905
|
t: n
|
|
906
906
|
} = Me(), s = () => M.value.length, r = (b) => {
|
|
907
907
|
for (const I of b) {
|
|
908
|
-
const h =
|
|
909
|
-
id:
|
|
908
|
+
const h = se(I, {
|
|
909
|
+
id: et(),
|
|
910
910
|
refreshable: !0,
|
|
911
911
|
closable: !0,
|
|
912
912
|
iframe: !1
|
|
913
|
-
}), L =
|
|
913
|
+
}), L = st(h), F = vt(h.path), P = se(h, {
|
|
914
914
|
closable: !0,
|
|
915
915
|
refreshable: !0,
|
|
916
916
|
iframe: !1
|
|
917
|
-
}),
|
|
918
|
-
id:
|
|
917
|
+
}), Le = Bt(h.id, F.path, F.query), G = {
|
|
918
|
+
id: Le,
|
|
919
919
|
tabId: h.id,
|
|
920
920
|
path: F.path,
|
|
921
|
-
query:
|
|
921
|
+
query: se(F.query, {
|
|
922
922
|
__tab: L
|
|
923
923
|
})
|
|
924
|
-
},
|
|
925
|
-
|
|
926
|
-
const
|
|
924
|
+
}, ge = new Ge();
|
|
925
|
+
ge.push(G);
|
|
926
|
+
const te = {
|
|
927
927
|
id: h.id,
|
|
928
928
|
title: P.title,
|
|
929
929
|
closable: P.closable,
|
|
930
930
|
refreshable: P.refreshable,
|
|
931
931
|
iframe: P.iframe,
|
|
932
932
|
active: !1,
|
|
933
|
-
pages:
|
|
933
|
+
pages: ge
|
|
934
934
|
};
|
|
935
|
-
W.value.push(
|
|
936
|
-
...
|
|
935
|
+
W.value.push(Le), M.value.push({
|
|
936
|
+
...te
|
|
937
937
|
});
|
|
938
938
|
}
|
|
939
|
-
const v = window.sessionStorage.getItem(
|
|
939
|
+
const v = window.sessionStorage.getItem($e + Ke);
|
|
940
940
|
if (v != null) {
|
|
941
941
|
const I = JSON.parse(v, (L, F) => L === "pages" ? new Ge(F) : F);
|
|
942
942
|
let h = !1;
|
|
@@ -947,13 +947,13 @@ const Ce = () => {
|
|
|
947
947
|
}
|
|
948
948
|
h || M.value.push(I);
|
|
949
949
|
}
|
|
950
|
-
|
|
950
|
+
Mt.value = !0;
|
|
951
951
|
}, o = (b) => {
|
|
952
952
|
for (const v of M.value)
|
|
953
953
|
if (v.id === b)
|
|
954
954
|
return !0;
|
|
955
955
|
return !1;
|
|
956
|
-
}, i = () =>
|
|
956
|
+
}, i = () => Re <= 0 || Re > 0 && Re > M.value.length, f = (b) => new Promise((v) => {
|
|
957
957
|
M.value.push(b), v(!0);
|
|
958
958
|
}), a = (b) => {
|
|
959
959
|
for (const v of M.value)
|
|
@@ -962,47 +962,47 @@ const Ce = () => {
|
|
|
962
962
|
return null;
|
|
963
963
|
}, c = (b, v) => {
|
|
964
964
|
let I, h;
|
|
965
|
-
if (b.query.__tab ? h =
|
|
966
|
-
id:
|
|
965
|
+
if (b.query.__tab ? h = as(b.query.__tab) : (h = {
|
|
966
|
+
id: et(),
|
|
967
967
|
title: n("VueStackTab.undefined"),
|
|
968
968
|
closable: !0,
|
|
969
969
|
refreshable: !0,
|
|
970
970
|
iframe: !1
|
|
971
|
-
}, b.query.__tab =
|
|
971
|
+
}, b.query.__tab = st(h)), H.has(h.id) || !v)
|
|
972
972
|
return;
|
|
973
|
-
const L = b.matched[b.matched.length - 1].path, F = b.path.endsWith("/") ? b.path.substring(0, b.path.length - 1) : b.path, P =
|
|
974
|
-
if (
|
|
973
|
+
const L = b.matched[b.matched.length - 1].path, F = b.path.endsWith("/") ? b.path.substring(0, b.path.length - 1) : b.path, P = Bt(h.id, L === F ? F : b.path, b.query.valueOf());
|
|
974
|
+
if (fe.has(P))
|
|
975
975
|
return ae.get(P);
|
|
976
|
-
const
|
|
976
|
+
const Le = b.query.__src;
|
|
977
977
|
let G = null;
|
|
978
|
-
for (const
|
|
979
|
-
|
|
980
|
-
const
|
|
978
|
+
for (const te of T(M))
|
|
979
|
+
te.active = !1, te.id === h.id && (G = te);
|
|
980
|
+
const ge = {
|
|
981
981
|
id: P,
|
|
982
982
|
tabId: h.id,
|
|
983
983
|
path: b.path,
|
|
984
984
|
query: b.query
|
|
985
985
|
};
|
|
986
986
|
if (G === null) {
|
|
987
|
-
const
|
|
988
|
-
|
|
987
|
+
const te = new Ge();
|
|
988
|
+
te.push(ge), G = {
|
|
989
989
|
id: h.id,
|
|
990
990
|
title: h.title,
|
|
991
991
|
closable: h.closable,
|
|
992
992
|
refreshable: h.refreshable,
|
|
993
993
|
iframe: h.iframe,
|
|
994
|
-
url: decodeURIComponent(
|
|
994
|
+
url: decodeURIComponent(Le),
|
|
995
995
|
active: !0,
|
|
996
|
-
pages:
|
|
996
|
+
pages: te
|
|
997
997
|
}, f(G).then(() => {
|
|
998
|
-
e.emit(
|
|
998
|
+
e.emit(X.TAB_ACTIVE, {
|
|
999
999
|
id: h.id,
|
|
1000
1000
|
isRoute: !1
|
|
1001
1001
|
});
|
|
1002
1002
|
});
|
|
1003
1003
|
} else
|
|
1004
|
-
G.active = !0, (G.pages.isEmpty() || G.pages.peek().id !==
|
|
1005
|
-
return q(G), ae.has(P) ? I = ae.get(P) : (I = /* @__PURE__ */
|
|
1004
|
+
G.active = !0, (G.pages.isEmpty() || G.pages.peek().id !== ge.id) && G.pages.push(ge);
|
|
1005
|
+
return q(G), ae.has(P) ? I = ae.get(P) : (I = /* @__PURE__ */ Q({
|
|
1006
1006
|
name: P,
|
|
1007
1007
|
components: {
|
|
1008
1008
|
DynamicComponent: v
|
|
@@ -1010,29 +1010,29 @@ const Ce = () => {
|
|
|
1010
1010
|
emits: {
|
|
1011
1011
|
onLoaded: null
|
|
1012
1012
|
},
|
|
1013
|
-
setup(
|
|
1014
|
-
return
|
|
1015
|
-
|
|
1016
|
-
}),
|
|
1013
|
+
setup(te, yt) {
|
|
1014
|
+
return He(() => {
|
|
1015
|
+
yt.emit("onLoaded"), w(P, ".cache-page-wrapper");
|
|
1016
|
+
}), mn(() => {
|
|
1017
1017
|
u(P);
|
|
1018
|
-
}),
|
|
1019
|
-
|
|
1020
|
-
}),
|
|
1018
|
+
}), gn(() => {
|
|
1019
|
+
yt.emit("onLoaded"), p(P), z(), H.clear(), v.props = null;
|
|
1020
|
+
}), Ze(() => {
|
|
1021
1021
|
l(P);
|
|
1022
1022
|
}), () => N("div", {
|
|
1023
1023
|
class: "cache-page-wrapper",
|
|
1024
1024
|
id: "W-" + h.id,
|
|
1025
|
-
style: [
|
|
1026
|
-
}, [N(
|
|
1025
|
+
style: [Ct ? "overflow:auto" : "overflow:hidden"]
|
|
1026
|
+
}, [N(Zt("dynamic-component"), {
|
|
1027
1027
|
tId: h.id,
|
|
1028
1028
|
pId: P
|
|
1029
|
-
}, null), N(
|
|
1029
|
+
}, null), N(ds, {
|
|
1030
1030
|
tId: h.id
|
|
1031
1031
|
}, null)]);
|
|
1032
1032
|
}
|
|
1033
1033
|
}), ae.set(P, I)), A(P), I;
|
|
1034
1034
|
}, p = (b) => {
|
|
1035
|
-
const v =
|
|
1035
|
+
const v = de.get(b);
|
|
1036
1036
|
if (v) {
|
|
1037
1037
|
for (const I of v.keys())
|
|
1038
1038
|
if (document.querySelector(I)) {
|
|
@@ -1042,7 +1042,7 @@ const Ce = () => {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
}, u = (b) => {
|
|
1044
1044
|
var I, h;
|
|
1045
|
-
const v =
|
|
1045
|
+
const v = de.get(b);
|
|
1046
1046
|
if (v)
|
|
1047
1047
|
for (const L of v.keys()) {
|
|
1048
1048
|
const F = {
|
|
@@ -1052,11 +1052,11 @@ const Ce = () => {
|
|
|
1052
1052
|
v.set(L, F);
|
|
1053
1053
|
}
|
|
1054
1054
|
}, l = (b) => {
|
|
1055
|
-
const v =
|
|
1056
|
-
v && (v.clear(),
|
|
1055
|
+
const v = de.get(b);
|
|
1056
|
+
v && (v.clear(), de.delete(b));
|
|
1057
1057
|
}, w = (b, ...v) => {
|
|
1058
|
-
|
|
1059
|
-
const I =
|
|
1058
|
+
de.has(b) || de.set(b, /* @__PURE__ */ new Map());
|
|
1059
|
+
const I = de.get(b);
|
|
1060
1060
|
for (const h of v)
|
|
1061
1061
|
I.set(h, {
|
|
1062
1062
|
top: 0,
|
|
@@ -1079,7 +1079,7 @@ const Ce = () => {
|
|
|
1079
1079
|
T(M)[h].pages.clear(), M.value.length > 1 && T(M)[h].active && (h === 0 ? v = T(M)[h + 1].id : v = T(M)[h - 1].id), T(M).splice(h, 1);
|
|
1080
1080
|
break;
|
|
1081
1081
|
}
|
|
1082
|
-
return v !== "" && e.emit(
|
|
1082
|
+
return v !== "" && e.emit(X.TAB_ACTIVE, {
|
|
1083
1083
|
id: v
|
|
1084
1084
|
}), I != null && I.active || (z(), H.clear()), v;
|
|
1085
1085
|
}, E = () => {
|
|
@@ -1095,7 +1095,7 @@ const Ce = () => {
|
|
|
1095
1095
|
z(), H.clear();
|
|
1096
1096
|
return;
|
|
1097
1097
|
}
|
|
1098
|
-
e.emit(
|
|
1098
|
+
e.emit(X.TAB_ACTIVE, {
|
|
1099
1099
|
id: b[b.length - 1].id
|
|
1100
1100
|
});
|
|
1101
1101
|
}, g = (b) => {
|
|
@@ -1109,7 +1109,7 @@ const Ce = () => {
|
|
|
1109
1109
|
$(L.id), H.add(v[h].id);
|
|
1110
1110
|
T(M)[h].pages.clear(), T(M).splice(h, 1);
|
|
1111
1111
|
}
|
|
1112
|
-
I.active ? (z(), H.clear()) : e.emit(
|
|
1112
|
+
I.active ? (z(), H.clear()) : e.emit(X.TAB_ACTIVE, {
|
|
1113
1113
|
id: b
|
|
1114
1114
|
});
|
|
1115
1115
|
}, y = (b) => {
|
|
@@ -1131,7 +1131,7 @@ const Ce = () => {
|
|
|
1131
1131
|
z(), H.clear();
|
|
1132
1132
|
return;
|
|
1133
1133
|
}
|
|
1134
|
-
e.emit(
|
|
1134
|
+
e.emit(X.TAB_ACTIVE, {
|
|
1135
1135
|
id: I[0].id
|
|
1136
1136
|
});
|
|
1137
1137
|
}, S = (b) => {
|
|
@@ -1153,7 +1153,7 @@ const Ce = () => {
|
|
|
1153
1153
|
z(), H.clear();
|
|
1154
1154
|
return;
|
|
1155
1155
|
}
|
|
1156
|
-
e.emit(
|
|
1156
|
+
e.emit(X.TAB_ACTIVE, {
|
|
1157
1157
|
id: v[v.length - 1].id
|
|
1158
1158
|
});
|
|
1159
1159
|
}, m = (b) => {
|
|
@@ -1163,8 +1163,8 @@ const Ce = () => {
|
|
|
1163
1163
|
const h = (v = I.pages.peek()) == null ? void 0 : v.id;
|
|
1164
1164
|
for (let L = W.value.length - 1; L >= 0; L--)
|
|
1165
1165
|
if (W.value[L] === h) {
|
|
1166
|
-
W.value.splice(L, 1), I.active && (
|
|
1167
|
-
|
|
1166
|
+
W.value.splice(L, 1), I.active && (xe.value = !1, ye(() => {
|
|
1167
|
+
xe.value = !0;
|
|
1168
1168
|
}));
|
|
1169
1169
|
break;
|
|
1170
1170
|
}
|
|
@@ -1179,10 +1179,10 @@ const Ce = () => {
|
|
|
1179
1179
|
const I = W.value[v];
|
|
1180
1180
|
b.has(I) && W.value.splice(v, 1);
|
|
1181
1181
|
}
|
|
1182
|
-
|
|
1183
|
-
|
|
1182
|
+
ye(() => {
|
|
1183
|
+
xe.value = !1, ye(() => {
|
|
1184
1184
|
setTimeout(() => {
|
|
1185
|
-
|
|
1185
|
+
xe.value = !0;
|
|
1186
1186
|
}, 300);
|
|
1187
1187
|
});
|
|
1188
1188
|
});
|
|
@@ -1191,14 +1191,14 @@ const Ce = () => {
|
|
|
1191
1191
|
}, k = (b) => ae.get(b), _ = (b) => {
|
|
1192
1192
|
ae.delete(b);
|
|
1193
1193
|
}, $ = (b) => {
|
|
1194
|
-
|
|
1194
|
+
fe.add(b);
|
|
1195
1195
|
}, z = () => {
|
|
1196
|
-
if (
|
|
1196
|
+
if (fe.size > 0) {
|
|
1197
1197
|
for (let b = W.value.length - 1; b >= 0; b--)
|
|
1198
|
-
|
|
1199
|
-
for (const b of
|
|
1198
|
+
fe.has(W.value[b]) && T(W).splice(b, 1);
|
|
1199
|
+
for (const b of fe)
|
|
1200
1200
|
_(b);
|
|
1201
|
-
|
|
1201
|
+
fe.clear();
|
|
1202
1202
|
}
|
|
1203
1203
|
}, U = (b) => {
|
|
1204
1204
|
for (let v = W.value.length - 1; v >= 0; v--)
|
|
@@ -1223,34 +1223,28 @@ const Ce = () => {
|
|
|
1223
1223
|
M.value[I].active = !1;
|
|
1224
1224
|
}
|
|
1225
1225
|
}, q = (b) => {
|
|
1226
|
-
window.sessionStorage.setItem(
|
|
1227
|
-
},
|
|
1228
|
-
window.sessionStorage.removeItem(
|
|
1229
|
-
}, Le = () => {
|
|
1230
|
-
he.value = !1, wt(), le(() => {
|
|
1231
|
-
T(M).push(...Ke), e.emit(j.TAB_ACTIVE, {
|
|
1232
|
-
id: Ke[0].id
|
|
1233
|
-
}), le(() => {
|
|
1234
|
-
he.value = !0;
|
|
1235
|
-
});
|
|
1236
|
-
});
|
|
1237
|
-
}, wt = () => {
|
|
1238
|
-
T(M).splice(0), ae.clear(), de.clear(), H.clear(), T(W).splice(0);
|
|
1226
|
+
window.sessionStorage.setItem($e + Ke, JSON.stringify(b));
|
|
1227
|
+
}, ee = () => {
|
|
1228
|
+
window.sessionStorage.removeItem($e + Ke);
|
|
1239
1229
|
};
|
|
1240
1230
|
return {
|
|
1241
1231
|
tabs: M,
|
|
1242
1232
|
caches: W,
|
|
1243
|
-
pageShown:
|
|
1244
|
-
initialed:
|
|
1233
|
+
pageShown: xe,
|
|
1234
|
+
initialed: Mt,
|
|
1245
1235
|
setMaxSize: (b) => {
|
|
1246
|
-
|
|
1236
|
+
Re = b;
|
|
1247
1237
|
},
|
|
1248
1238
|
canAddTab: i,
|
|
1249
1239
|
initial: r,
|
|
1250
1240
|
size: s,
|
|
1251
1241
|
active: C,
|
|
1252
|
-
destroy:
|
|
1253
|
-
|
|
1242
|
+
destroy: () => {
|
|
1243
|
+
T(M).splice(0), fe.clear(), H.clear(), T(W).splice(0), ae.clear(), ee();
|
|
1244
|
+
},
|
|
1245
|
+
reset: () => {
|
|
1246
|
+
E();
|
|
1247
|
+
},
|
|
1254
1248
|
addCache: A,
|
|
1255
1249
|
removeCache: U,
|
|
1256
1250
|
getTab: a,
|
|
@@ -1272,35 +1266,35 @@ const Ce = () => {
|
|
|
1272
1266
|
refreshAllTabs: O,
|
|
1273
1267
|
addPageScroller: w,
|
|
1274
1268
|
setGlobalScroll: (b) => {
|
|
1275
|
-
|
|
1269
|
+
Ct = b;
|
|
1276
1270
|
},
|
|
1277
|
-
clearSession:
|
|
1271
|
+
clearSession: ee,
|
|
1278
1272
|
setSessionPrefix: (b) => {
|
|
1279
|
-
|
|
1273
|
+
$e = b;
|
|
1280
1274
|
}
|
|
1281
1275
|
};
|
|
1282
|
-
},
|
|
1276
|
+
}, hs = { class: "stack-tab__contextmenu-item" }, ce = /* @__PURE__ */ Q({
|
|
1283
1277
|
__name: "ContextMenuItem",
|
|
1284
1278
|
props: {
|
|
1285
1279
|
icon: {},
|
|
1286
1280
|
title: {}
|
|
1287
1281
|
},
|
|
1288
1282
|
setup(t) {
|
|
1289
|
-
return (e, n) => (R(), V("div",
|
|
1290
|
-
|
|
1291
|
-
class:
|
|
1283
|
+
return (e, n) => (R(), V("div", hs, [
|
|
1284
|
+
J("div", {
|
|
1285
|
+
class: ue(["stack-tab__contextmenu-icon", e.icon])
|
|
1292
1286
|
}, null, 2),
|
|
1293
|
-
|
|
1287
|
+
J("div", {
|
|
1294
1288
|
style: { "margin-left": "8px" },
|
|
1295
1289
|
onContextmenu: n[0] || (n[0] = Ie(() => {
|
|
1296
1290
|
}, ["prevent"]))
|
|
1297
|
-
},
|
|
1291
|
+
}, jt(e.title), 33)
|
|
1298
1292
|
]));
|
|
1299
1293
|
}
|
|
1300
|
-
}),
|
|
1294
|
+
}), ps = {
|
|
1301
1295
|
key: 0,
|
|
1302
1296
|
class: "divider div-transparent"
|
|
1303
|
-
},
|
|
1297
|
+
}, bs = /* @__PURE__ */ Q({
|
|
1304
1298
|
__name: "index",
|
|
1305
1299
|
props: {
|
|
1306
1300
|
index: {},
|
|
@@ -1323,17 +1317,17 @@ const Ce = () => {
|
|
|
1323
1317
|
refreshAllTabs: p,
|
|
1324
1318
|
removeOtherTabs: u
|
|
1325
1319
|
} = Ce();
|
|
1326
|
-
return
|
|
1320
|
+
return He(() => {
|
|
1327
1321
|
const l = s.value ? s.value.clientWidth : 0, w = window.innerWidth;
|
|
1328
1322
|
r.left + l > w && (r.left = w - l - 5);
|
|
1329
1323
|
}), (l, w) => (R(), V("div", {
|
|
1330
1324
|
ref_key: "contextmenu",
|
|
1331
1325
|
ref: s,
|
|
1332
1326
|
class: "stack-tab__contextmenu",
|
|
1333
|
-
style:
|
|
1327
|
+
style: Fe({
|
|
1334
1328
|
left: `${r.left}px`,
|
|
1335
1329
|
top: `${r.top}px`,
|
|
1336
|
-
"z-index": T(
|
|
1330
|
+
"z-index": T(ut)(".stack-tab,.stack-tab *")
|
|
1337
1331
|
})
|
|
1338
1332
|
}, [
|
|
1339
1333
|
N(ce, {
|
|
@@ -1374,8 +1368,8 @@ const Ce = () => {
|
|
|
1374
1368
|
title: T(n)("VueStackTab.closeAll"),
|
|
1375
1369
|
onClick: T(i)
|
|
1376
1370
|
}, null, 8, ["title", "onClick"]),
|
|
1377
|
-
l.contextMenu !== void 0 && l.contextMenu.length > 0 ? (R(), V("div",
|
|
1378
|
-
(R(!0), V(
|
|
1371
|
+
l.contextMenu !== void 0 && l.contextMenu.length > 0 ? (R(), V("div", ps)) : re("", !0),
|
|
1372
|
+
(R(!0), V(je, null, ct(l.contextMenu, (x, B) => (R(), ve(ce, {
|
|
1379
1373
|
key: B,
|
|
1380
1374
|
icon: x.icon,
|
|
1381
1375
|
title: x.title,
|
|
@@ -1384,12 +1378,12 @@ const Ce = () => {
|
|
|
1384
1378
|
}, null, 8, ["icon", "title", "disabled", "onClick"]))), 128))
|
|
1385
1379
|
], 4));
|
|
1386
1380
|
}
|
|
1387
|
-
}),
|
|
1381
|
+
}), vs = (t, e) => {
|
|
1388
1382
|
const n = t.__vccOpts || t;
|
|
1389
1383
|
for (const [s, r] of e)
|
|
1390
1384
|
n[s] = r;
|
|
1391
1385
|
return n;
|
|
1392
|
-
},
|
|
1386
|
+
}, ms = /* @__PURE__ */ vs(bs, [["__scopeId", "data-v-d598be6e"]]), gs = () => {
|
|
1393
1387
|
const t = Ee({
|
|
1394
1388
|
item: {},
|
|
1395
1389
|
index: -1,
|
|
@@ -1397,13 +1391,13 @@ const Ce = () => {
|
|
|
1397
1391
|
top: 0,
|
|
1398
1392
|
max: 0
|
|
1399
1393
|
}), e = D(!1);
|
|
1400
|
-
|
|
1394
|
+
He(() => {
|
|
1401
1395
|
document.addEventListener("click", s);
|
|
1402
|
-
}),
|
|
1396
|
+
}), Ze(() => {
|
|
1403
1397
|
document.removeEventListener("click", s);
|
|
1404
1398
|
});
|
|
1405
1399
|
const n = async (r, o, i, f) => {
|
|
1406
|
-
e.value = !1, await
|
|
1400
|
+
e.value = !1, await ye(() => {
|
|
1407
1401
|
const { clientY: a, clientX: c } = r;
|
|
1408
1402
|
e.value = !0, Object.assign(t, { item: o, index: i, top: a, left: c, max: f });
|
|
1409
1403
|
});
|
|
@@ -1415,18 +1409,18 @@ const Ce = () => {
|
|
|
1415
1409
|
contextMenuData: t,
|
|
1416
1410
|
showContextMenu: n
|
|
1417
1411
|
};
|
|
1418
|
-
},
|
|
1412
|
+
}, ys = { class: "stack-tab__item-title" }, ws = ["title"], ks = ["title"], _s = /* @__PURE__ */ Q({
|
|
1419
1413
|
__name: "TabHeaderItem",
|
|
1420
1414
|
props: {
|
|
1421
1415
|
item: {}
|
|
1422
1416
|
},
|
|
1423
1417
|
emits: ["close", "active"],
|
|
1424
1418
|
setup(t, { emit: e }) {
|
|
1425
|
-
const n = e, s =
|
|
1426
|
-
s.on(
|
|
1419
|
+
const n = e, s = me(), { t: r } = Me(), o = D(), i = t;
|
|
1420
|
+
s.on(X.TAB_ACTIVE, ({ id: p, isRoute: u }) => {
|
|
1427
1421
|
i.item.id === p && c(u);
|
|
1428
1422
|
});
|
|
1429
|
-
const f =
|
|
1423
|
+
const f = we(() => i.item.title || r("undefined")), a = () => {
|
|
1430
1424
|
n("close", i.item);
|
|
1431
1425
|
}, c = (p = !0) => {
|
|
1432
1426
|
n("active", i.item, o, p);
|
|
@@ -1434,54 +1428,54 @@ const Ce = () => {
|
|
|
1434
1428
|
return (p, u) => (R(), V("li", {
|
|
1435
1429
|
ref_key: "curtab",
|
|
1436
1430
|
ref: o,
|
|
1437
|
-
class:
|
|
1431
|
+
class: ue(["stack-tab__item", {
|
|
1438
1432
|
"is-active": p.item.active,
|
|
1439
1433
|
"is-icon": p.item.closable
|
|
1440
1434
|
}]),
|
|
1441
1435
|
onClick: u[0] || (u[0] = (l) => c(!0))
|
|
1442
1436
|
}, [
|
|
1443
|
-
|
|
1444
|
-
|
|
1437
|
+
J("div", ys, [
|
|
1438
|
+
J("div", {
|
|
1445
1439
|
class: "stack-tab__item-title-content",
|
|
1446
1440
|
title: f.value
|
|
1447
|
-
},
|
|
1441
|
+
}, jt(f.value), 9, ws)
|
|
1448
1442
|
]),
|
|
1449
1443
|
p.item.closable ? (R(), V("div", {
|
|
1450
1444
|
key: 0,
|
|
1451
1445
|
class: "stack-tab__icon-close-fill stack-tab__item-button",
|
|
1452
1446
|
title: T(r)("VueStackTab.close"),
|
|
1453
1447
|
onClick: Ie(a, ["stop"])
|
|
1454
|
-
}, null, 8,
|
|
1448
|
+
}, null, 8, ks)) : re("", !0)
|
|
1455
1449
|
], 2));
|
|
1456
1450
|
}
|
|
1457
1451
|
});
|
|
1458
|
-
var
|
|
1459
|
-
return
|
|
1452
|
+
var pe = [], xs = function() {
|
|
1453
|
+
return pe.some(function(t) {
|
|
1460
1454
|
return t.activeTargets.length > 0;
|
|
1461
1455
|
});
|
|
1462
|
-
},
|
|
1463
|
-
return
|
|
1456
|
+
}, Ts = function() {
|
|
1457
|
+
return pe.some(function(t) {
|
|
1464
1458
|
return t.skippedTargets.length > 0;
|
|
1465
1459
|
});
|
|
1466
|
-
},
|
|
1460
|
+
}, Lt = "ResizeObserver loop completed with undelivered notifications.", Ss = function() {
|
|
1467
1461
|
var t;
|
|
1468
1462
|
typeof ErrorEvent == "function" ? t = new ErrorEvent("error", {
|
|
1469
|
-
message:
|
|
1470
|
-
}) : (t = document.createEvent("Event"), t.initEvent("error", !1, !1), t.message =
|
|
1463
|
+
message: Lt
|
|
1464
|
+
}) : (t = document.createEvent("Event"), t.initEvent("error", !1, !1), t.message = Lt), window.dispatchEvent(t);
|
|
1471
1465
|
}, Be;
|
|
1472
1466
|
(function(t) {
|
|
1473
1467
|
t.BORDER_BOX = "border-box", t.CONTENT_BOX = "content-box", t.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
|
|
1474
1468
|
})(Be || (Be = {}));
|
|
1475
|
-
var
|
|
1469
|
+
var be = function(t) {
|
|
1476
1470
|
return Object.freeze(t);
|
|
1477
|
-
},
|
|
1471
|
+
}, Os = /* @__PURE__ */ function() {
|
|
1478
1472
|
function t(e, n) {
|
|
1479
|
-
this.inlineSize = e, this.blockSize = n,
|
|
1473
|
+
this.inlineSize = e, this.blockSize = n, be(this);
|
|
1480
1474
|
}
|
|
1481
1475
|
return t;
|
|
1482
|
-
}(),
|
|
1476
|
+
}(), an = function() {
|
|
1483
1477
|
function t(e, n, s, r) {
|
|
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,
|
|
1478
|
+
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, be(this);
|
|
1485
1479
|
}
|
|
1486
1480
|
return t.prototype.toJSON = function() {
|
|
1487
1481
|
var e = this, n = e.x, s = e.y, r = e.top, o = e.right, i = e.bottom, f = e.left, a = e.width, c = e.height;
|
|
@@ -1489,22 +1483,22 @@ var me = function(t) {
|
|
|
1489
1483
|
}, t.fromRect = function(e) {
|
|
1490
1484
|
return new t(e.x, e.y, e.width, e.height);
|
|
1491
1485
|
}, t;
|
|
1492
|
-
}(),
|
|
1486
|
+
}(), mt = function(t) {
|
|
1493
1487
|
return t instanceof SVGElement && "getBBox" in t;
|
|
1494
|
-
},
|
|
1495
|
-
if (
|
|
1488
|
+
}, cn = function(t) {
|
|
1489
|
+
if (mt(t)) {
|
|
1496
1490
|
var e = t.getBBox(), n = e.width, s = e.height;
|
|
1497
1491
|
return !n && !s;
|
|
1498
1492
|
}
|
|
1499
1493
|
var r = t, o = r.offsetWidth, i = r.offsetHeight;
|
|
1500
1494
|
return !(o || i || t.getClientRects().length);
|
|
1501
|
-
},
|
|
1495
|
+
}, zt = function(t) {
|
|
1502
1496
|
var e;
|
|
1503
1497
|
if (t instanceof Element)
|
|
1504
1498
|
return !0;
|
|
1505
1499
|
var n = (e = t == null ? void 0 : t.ownerDocument) === null || e === void 0 ? void 0 : e.defaultView;
|
|
1506
1500
|
return !!(n && t instanceof n.Element);
|
|
1507
|
-
},
|
|
1501
|
+
}, As = function(t) {
|
|
1508
1502
|
switch (t.tagName) {
|
|
1509
1503
|
case "INPUT":
|
|
1510
1504
|
if (t.type !== "image")
|
|
@@ -1519,29 +1513,29 @@ var me = function(t) {
|
|
|
1519
1513
|
return !0;
|
|
1520
1514
|
}
|
|
1521
1515
|
return !1;
|
|
1522
|
-
}, Ae = typeof window < "u" ? window : {},
|
|
1516
|
+
}, Ae = typeof window < "u" ? window : {}, De = /* @__PURE__ */ new WeakMap(), Rt = /auto|scroll/, Es = /^tb|vertical/, Is = /msie|trident/i.test(Ae.navigator && Ae.navigator.userAgent), Y = function(t) {
|
|
1523
1517
|
return parseFloat(t || "0");
|
|
1524
|
-
},
|
|
1525
|
-
return t === void 0 && (t = 0), e === void 0 && (e = 0), n === void 0 && (n = !1), new
|
|
1526
|
-
},
|
|
1527
|
-
devicePixelContentBoxSize:
|
|
1528
|
-
borderBoxSize:
|
|
1529
|
-
contentBoxSize:
|
|
1530
|
-
contentRect: new
|
|
1531
|
-
}),
|
|
1532
|
-
if (e === void 0 && (e = !1),
|
|
1533
|
-
return
|
|
1534
|
-
if (
|
|
1535
|
-
return
|
|
1536
|
-
var n = getComputedStyle(t), s =
|
|
1537
|
-
devicePixelContentBoxSize:
|
|
1538
|
-
borderBoxSize:
|
|
1539
|
-
contentBoxSize:
|
|
1540
|
-
contentRect: new
|
|
1518
|
+
}, ke = function(t, e, n) {
|
|
1519
|
+
return t === void 0 && (t = 0), e === void 0 && (e = 0), n === void 0 && (n = !1), new Os((n ? e : t) || 0, (n ? t : e) || 0);
|
|
1520
|
+
}, $t = be({
|
|
1521
|
+
devicePixelContentBoxSize: ke(),
|
|
1522
|
+
borderBoxSize: ke(),
|
|
1523
|
+
contentBoxSize: ke(),
|
|
1524
|
+
contentRect: new an(0, 0, 0, 0)
|
|
1525
|
+
}), ln = function(t, e) {
|
|
1526
|
+
if (e === void 0 && (e = !1), De.has(t) && !e)
|
|
1527
|
+
return De.get(t);
|
|
1528
|
+
if (cn(t))
|
|
1529
|
+
return De.set(t, $t), $t;
|
|
1530
|
+
var n = getComputedStyle(t), s = mt(t) && t.ownerSVGElement && t.getBBox(), r = !Is && n.boxSizing === "border-box", o = Es.test(n.writingMode || ""), i = !s && Rt.test(n.overflowY || ""), f = !s && Rt.test(n.overflowX || ""), a = s ? 0 : Y(n.paddingTop), c = s ? 0 : Y(n.paddingRight), p = s ? 0 : Y(n.paddingBottom), u = s ? 0 : Y(n.paddingLeft), l = s ? 0 : Y(n.borderTopWidth), w = s ? 0 : Y(n.borderRightWidth), x = s ? 0 : Y(n.borderBottomWidth), B = s ? 0 : Y(n.borderLeftWidth), E = u + c, g = a + p, y = B + w, S = l + x, m = f ? t.offsetHeight - S - t.clientHeight : 0, O = i ? t.offsetWidth - y - t.clientWidth : 0, d = r ? E + y : 0, k = r ? g + S : 0, _ = s ? s.width : Y(n.width) - d - O, $ = s ? s.height : Y(n.height) - k - m, z = _ + E + O + y, U = $ + g + m + S, A = be({
|
|
1531
|
+
devicePixelContentBoxSize: ke(Math.round(_ * devicePixelRatio), Math.round($ * devicePixelRatio), o),
|
|
1532
|
+
borderBoxSize: ke(z, U, o),
|
|
1533
|
+
contentBoxSize: ke(_, $, o),
|
|
1534
|
+
contentRect: new an(u, a, _, $)
|
|
1541
1535
|
});
|
|
1542
|
-
return
|
|
1543
|
-
},
|
|
1544
|
-
var s =
|
|
1536
|
+
return De.set(t, A), A;
|
|
1537
|
+
}, un = function(t, e, n) {
|
|
1538
|
+
var s = ln(t, n), r = s.borderBoxSize, o = s.contentBoxSize, i = s.devicePixelContentBoxSize;
|
|
1545
1539
|
switch (e) {
|
|
1546
1540
|
case Be.DEVICE_PIXEL_CONTENT_BOX:
|
|
1547
1541
|
return i;
|
|
@@ -1550,26 +1544,26 @@ var me = function(t) {
|
|
|
1550
1544
|
default:
|
|
1551
1545
|
return o;
|
|
1552
1546
|
}
|
|
1553
|
-
},
|
|
1547
|
+
}, Bs = /* @__PURE__ */ function() {
|
|
1554
1548
|
function t(e) {
|
|
1555
|
-
var n =
|
|
1556
|
-
this.target = e, this.contentRect = n.contentRect, this.borderBoxSize =
|
|
1549
|
+
var n = ln(e);
|
|
1550
|
+
this.target = e, this.contentRect = n.contentRect, this.borderBoxSize = be([n.borderBoxSize]), this.contentBoxSize = be([n.contentBoxSize]), this.devicePixelContentBoxSize = be([n.devicePixelContentBoxSize]);
|
|
1557
1551
|
}
|
|
1558
1552
|
return t;
|
|
1559
|
-
}(),
|
|
1560
|
-
if (
|
|
1553
|
+
}(), fn = function(t) {
|
|
1554
|
+
if (cn(t))
|
|
1561
1555
|
return 1 / 0;
|
|
1562
1556
|
for (var e = 0, n = t.parentNode; n; )
|
|
1563
1557
|
e += 1, n = n.parentNode;
|
|
1564
1558
|
return e;
|
|
1565
|
-
},
|
|
1559
|
+
}, Ms = function() {
|
|
1566
1560
|
var t = 1 / 0, e = [];
|
|
1567
|
-
|
|
1561
|
+
pe.forEach(function(i) {
|
|
1568
1562
|
if (i.activeTargets.length !== 0) {
|
|
1569
1563
|
var f = [];
|
|
1570
1564
|
i.activeTargets.forEach(function(c) {
|
|
1571
|
-
var p = new
|
|
1572
|
-
f.push(p), c.lastReportedSize =
|
|
1565
|
+
var p = new Bs(c.target), u = fn(c.target);
|
|
1566
|
+
f.push(p), c.lastReportedSize = un(c.target, c.observedBox), u < t && (t = u);
|
|
1573
1567
|
}), e.push(function() {
|
|
1574
1568
|
i.callback.call(i.observer, f, i.observer);
|
|
1575
1569
|
}), i.activeTargets.splice(0, i.activeTargets.length);
|
|
@@ -1580,38 +1574,38 @@ var me = function(t) {
|
|
|
1580
1574
|
r();
|
|
1581
1575
|
}
|
|
1582
1576
|
return t;
|
|
1583
|
-
},
|
|
1584
|
-
|
|
1577
|
+
}, Dt = function(t) {
|
|
1578
|
+
pe.forEach(function(n) {
|
|
1585
1579
|
n.activeTargets.splice(0, n.activeTargets.length), n.skippedTargets.splice(0, n.skippedTargets.length), n.observationTargets.forEach(function(r) {
|
|
1586
|
-
r.isActive() && (
|
|
1580
|
+
r.isActive() && (fn(r.target) > t ? n.activeTargets.push(r) : n.skippedTargets.push(r));
|
|
1587
1581
|
});
|
|
1588
1582
|
});
|
|
1589
|
-
},
|
|
1583
|
+
}, Cs = function() {
|
|
1590
1584
|
var t = 0;
|
|
1591
|
-
for (
|
|
1592
|
-
t =
|
|
1593
|
-
return
|
|
1594
|
-
},
|
|
1595
|
-
return
|
|
1585
|
+
for (Dt(t); xs(); )
|
|
1586
|
+
t = Ms(), Dt(t);
|
|
1587
|
+
return Ts() && Ss(), t > 0;
|
|
1588
|
+
}, Je, dn = [], Ls = function() {
|
|
1589
|
+
return dn.splice(0).forEach(function(t) {
|
|
1596
1590
|
return t();
|
|
1597
1591
|
});
|
|
1598
|
-
},
|
|
1599
|
-
if (!
|
|
1592
|
+
}, zs = function(t) {
|
|
1593
|
+
if (!Je) {
|
|
1600
1594
|
var e = 0, n = document.createTextNode(""), s = { characterData: !0 };
|
|
1601
1595
|
new MutationObserver(function() {
|
|
1602
|
-
return
|
|
1603
|
-
}).observe(n, s),
|
|
1596
|
+
return Ls();
|
|
1597
|
+
}).observe(n, s), Je = function() {
|
|
1604
1598
|
n.textContent = "".concat(e ? e-- : e++);
|
|
1605
1599
|
};
|
|
1606
1600
|
}
|
|
1607
|
-
|
|
1608
|
-
},
|
|
1609
|
-
|
|
1601
|
+
dn.push(t), Je();
|
|
1602
|
+
}, Rs = function(t) {
|
|
1603
|
+
zs(function() {
|
|
1610
1604
|
requestAnimationFrame(t);
|
|
1611
1605
|
});
|
|
1612
|
-
},
|
|
1613
|
-
return !!
|
|
1614
|
-
},
|
|
1606
|
+
}, Ve = 0, $s = function() {
|
|
1607
|
+
return !!Ve;
|
|
1608
|
+
}, Ds = 250, Ps = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, Pt = [
|
|
1615
1609
|
"resize",
|
|
1616
1610
|
"load",
|
|
1617
1611
|
"transitionend",
|
|
@@ -1626,9 +1620,9 @@ var me = function(t) {
|
|
|
1626
1620
|
"mouseout",
|
|
1627
1621
|
"blur",
|
|
1628
1622
|
"focus"
|
|
1629
|
-
],
|
|
1623
|
+
], Nt = function(t) {
|
|
1630
1624
|
return t === void 0 && (t = 0), Date.now() + t;
|
|
1631
|
-
},
|
|
1625
|
+
}, Qe = !1, Ns = function() {
|
|
1632
1626
|
function t() {
|
|
1633
1627
|
var e = this;
|
|
1634
1628
|
this.stopped = !0, this.listener = function() {
|
|
@@ -1637,15 +1631,15 @@ var me = function(t) {
|
|
|
1637
1631
|
}
|
|
1638
1632
|
return t.prototype.run = function(e) {
|
|
1639
1633
|
var n = this;
|
|
1640
|
-
if (e === void 0 && (e =
|
|
1641
|
-
|
|
1642
|
-
var s =
|
|
1643
|
-
|
|
1634
|
+
if (e === void 0 && (e = Ds), !Qe) {
|
|
1635
|
+
Qe = !0;
|
|
1636
|
+
var s = Nt(e);
|
|
1637
|
+
Rs(function() {
|
|
1644
1638
|
var r = !1;
|
|
1645
1639
|
try {
|
|
1646
|
-
r =
|
|
1640
|
+
r = Cs();
|
|
1647
1641
|
} finally {
|
|
1648
|
-
if (
|
|
1642
|
+
if (Qe = !1, e = s - Nt(), !$s())
|
|
1649
1643
|
return;
|
|
1650
1644
|
r ? n.run(1e3) : e > 0 ? n.run(e) : n.start();
|
|
1651
1645
|
}
|
|
@@ -1655,25 +1649,25 @@ var me = function(t) {
|
|
|
1655
1649
|
this.stop(), this.run();
|
|
1656
1650
|
}, t.prototype.observe = function() {
|
|
1657
1651
|
var e = this, n = function() {
|
|
1658
|
-
return e.observer && e.observer.observe(document.body,
|
|
1652
|
+
return e.observer && e.observer.observe(document.body, Ps);
|
|
1659
1653
|
};
|
|
1660
1654
|
document.body ? n() : Ae.addEventListener("DOMContentLoaded", n);
|
|
1661
1655
|
}, t.prototype.start = function() {
|
|
1662
1656
|
var e = this;
|
|
1663
|
-
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(),
|
|
1657
|
+
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), Pt.forEach(function(n) {
|
|
1664
1658
|
return Ae.addEventListener(n, e.listener, !0);
|
|
1665
1659
|
}));
|
|
1666
1660
|
}, t.prototype.stop = function() {
|
|
1667
1661
|
var e = this;
|
|
1668
|
-
this.stopped || (this.observer && this.observer.disconnect(),
|
|
1662
|
+
this.stopped || (this.observer && this.observer.disconnect(), Pt.forEach(function(n) {
|
|
1669
1663
|
return Ae.removeEventListener(n, e.listener, !0);
|
|
1670
1664
|
}), this.stopped = !0);
|
|
1671
1665
|
}, t;
|
|
1672
|
-
}(),
|
|
1673
|
-
!
|
|
1674
|
-
},
|
|
1675
|
-
return !
|
|
1676
|
-
},
|
|
1666
|
+
}(), ot = new Ns(), Wt = function(t) {
|
|
1667
|
+
!Ve && t > 0 && ot.start(), Ve += t, !Ve && ot.stop();
|
|
1668
|
+
}, Ws = function(t) {
|
|
1669
|
+
return !mt(t) && !As(t) && getComputedStyle(t).display === "inline";
|
|
1670
|
+
}, Vs = function() {
|
|
1677
1671
|
function t(e, n) {
|
|
1678
1672
|
this.target = e, this.observedBox = n || Be.CONTENT_BOX, this.lastReportedSize = {
|
|
1679
1673
|
inlineSize: 0,
|
|
@@ -1681,67 +1675,67 @@ var me = function(t) {
|
|
|
1681
1675
|
};
|
|
1682
1676
|
}
|
|
1683
1677
|
return t.prototype.isActive = function() {
|
|
1684
|
-
var e =
|
|
1685
|
-
return
|
|
1678
|
+
var e = un(this.target, this.observedBox, !0);
|
|
1679
|
+
return Ws(this.target) && (this.lastReportedSize = e), this.lastReportedSize.inlineSize !== e.inlineSize || this.lastReportedSize.blockSize !== e.blockSize;
|
|
1686
1680
|
}, t;
|
|
1687
|
-
}(),
|
|
1681
|
+
}(), Us = /* @__PURE__ */ function() {
|
|
1688
1682
|
function t(e, n) {
|
|
1689
1683
|
this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = e, this.callback = n;
|
|
1690
1684
|
}
|
|
1691
1685
|
return t;
|
|
1692
|
-
}(),
|
|
1686
|
+
}(), Pe = /* @__PURE__ */ new WeakMap(), Vt = function(t, e) {
|
|
1693
1687
|
for (var n = 0; n < t.length; n += 1)
|
|
1694
1688
|
if (t[n].target === e)
|
|
1695
1689
|
return n;
|
|
1696
1690
|
return -1;
|
|
1697
|
-
},
|
|
1691
|
+
}, Ne = function() {
|
|
1698
1692
|
function t() {
|
|
1699
1693
|
}
|
|
1700
1694
|
return t.connect = function(e, n) {
|
|
1701
|
-
var s = new
|
|
1702
|
-
|
|
1695
|
+
var s = new Us(e, n);
|
|
1696
|
+
Pe.set(e, s);
|
|
1703
1697
|
}, t.observe = function(e, n, s) {
|
|
1704
|
-
var r =
|
|
1705
|
-
|
|
1698
|
+
var r = Pe.get(e), o = r.observationTargets.length === 0;
|
|
1699
|
+
Vt(r.observationTargets, n) < 0 && (o && pe.push(r), r.observationTargets.push(new Vs(n, s && s.box)), Wt(1), ot.schedule());
|
|
1706
1700
|
}, t.unobserve = function(e, n) {
|
|
1707
|
-
var s =
|
|
1708
|
-
r >= 0 && (o &&
|
|
1701
|
+
var s = Pe.get(e), r = Vt(s.observationTargets, n), o = s.observationTargets.length === 1;
|
|
1702
|
+
r >= 0 && (o && pe.splice(pe.indexOf(s), 1), s.observationTargets.splice(r, 1), Wt(-1));
|
|
1709
1703
|
}, t.disconnect = function(e) {
|
|
1710
|
-
var n = this, s =
|
|
1704
|
+
var n = this, s = Pe.get(e);
|
|
1711
1705
|
s.observationTargets.slice().forEach(function(r) {
|
|
1712
1706
|
return n.unobserve(e, r.target);
|
|
1713
1707
|
}), s.activeTargets.splice(0, s.activeTargets.length);
|
|
1714
1708
|
}, t;
|
|
1715
|
-
}(),
|
|
1709
|
+
}(), Ut = function() {
|
|
1716
1710
|
function t(e) {
|
|
1717
1711
|
if (arguments.length === 0)
|
|
1718
1712
|
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1719
1713
|
if (typeof e != "function")
|
|
1720
1714
|
throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
|
|
1721
|
-
|
|
1715
|
+
Ne.connect(this, e);
|
|
1722
1716
|
}
|
|
1723
1717
|
return t.prototype.observe = function(e, n) {
|
|
1724
1718
|
if (arguments.length === 0)
|
|
1725
1719
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1726
|
-
if (
|
|
1720
|
+
if (!zt(e))
|
|
1727
1721
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
1728
|
-
|
|
1722
|
+
Ne.observe(this, e, n);
|
|
1729
1723
|
}, t.prototype.unobserve = function(e) {
|
|
1730
1724
|
if (arguments.length === 0)
|
|
1731
1725
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
1732
|
-
if (
|
|
1726
|
+
if (!zt(e))
|
|
1733
1727
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
1734
|
-
|
|
1728
|
+
Ne.unobserve(this, e);
|
|
1735
1729
|
}, t.prototype.disconnect = function() {
|
|
1736
|
-
|
|
1730
|
+
Ne.disconnect(this);
|
|
1737
1731
|
}, t.toString = function() {
|
|
1738
1732
|
return "function ResizeObserver () { [polyfill code] }";
|
|
1739
1733
|
}, t;
|
|
1740
1734
|
}();
|
|
1741
|
-
const
|
|
1735
|
+
const qs = ["disabled", "title"], Fs = {
|
|
1742
1736
|
key: 1,
|
|
1743
1737
|
class: "stack-tab__button"
|
|
1744
|
-
},
|
|
1738
|
+
}, it = /* @__PURE__ */ Q({
|
|
1745
1739
|
__name: "TabHeaderButton",
|
|
1746
1740
|
props: {
|
|
1747
1741
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -1751,23 +1745,23 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1751
1745
|
},
|
|
1752
1746
|
setup(t) {
|
|
1753
1747
|
return (e, n) => (R(), V("div", {
|
|
1754
|
-
class:
|
|
1748
|
+
class: ue(["stack-tab__header-button", {
|
|
1755
1749
|
"stack-tab__shadow-right": e.shadow === "right",
|
|
1756
1750
|
"stack-tab__shadow-left": e.shadow === "left"
|
|
1757
1751
|
}]),
|
|
1758
1752
|
disabled: e.disabled ? "disabled" : null,
|
|
1759
1753
|
title: e.title
|
|
1760
1754
|
}, [
|
|
1761
|
-
"icon" in e.$slots ?
|
|
1755
|
+
"icon" in e.$slots ? re("", !0) : (R(), V("div", {
|
|
1762
1756
|
key: 0,
|
|
1763
|
-
class:
|
|
1757
|
+
class: ue(["stack-tab__mask-button", e.iconClass])
|
|
1764
1758
|
}, null, 2)),
|
|
1765
|
-
"icon" in e.$slots ? (R(), V("div",
|
|
1766
|
-
|
|
1767
|
-
])) :
|
|
1768
|
-
], 10,
|
|
1759
|
+
"icon" in e.$slots ? (R(), V("div", Fs, [
|
|
1760
|
+
_e(e.$slots, "icon")
|
|
1761
|
+
])) : re("", !0)
|
|
1762
|
+
], 10, qs));
|
|
1769
1763
|
}
|
|
1770
|
-
}),
|
|
1764
|
+
}), Hs = /* @__PURE__ */ Q({
|
|
1771
1765
|
__name: "TabHeaderScroll",
|
|
1772
1766
|
props: {
|
|
1773
1767
|
space: { default: 300 },
|
|
@@ -1785,16 +1779,16 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1785
1779
|
startThumbLeft: 0,
|
|
1786
1780
|
startPageX: 0
|
|
1787
1781
|
});
|
|
1788
|
-
|
|
1782
|
+
yn(u, (A) => {
|
|
1789
1783
|
w(A);
|
|
1790
1784
|
});
|
|
1791
1785
|
const w = (A) => {
|
|
1792
1786
|
i.value = A.scrollLeft <= 10, f.value = A.clientWidth + A.scrollLeft - A.scrollWidth >= -10, a.value = A.scrollWidth !== A.clientWidth;
|
|
1793
|
-
}, x =
|
|
1787
|
+
}, x = we(() => u.scrollWidth > u.clientWidth), B = we(() => {
|
|
1794
1788
|
if (!x.value) return 0;
|
|
1795
1789
|
const { clientWidth: A, scrollWidth: C } = u;
|
|
1796
1790
|
return A / C * A;
|
|
1797
|
-
}), E =
|
|
1791
|
+
}), E = we(() => {
|
|
1798
1792
|
if (!x.value) return 0;
|
|
1799
1793
|
const { clientWidth: A, scrollWidth: C, scrollLeft: q } = u;
|
|
1800
1794
|
return (A - B.value) * (q / (C - A));
|
|
@@ -1803,12 +1797,12 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1803
1797
|
return;
|
|
1804
1798
|
const { clientWidth: A, scrollWidth: C, scrollLeft: q } = n.value;
|
|
1805
1799
|
Object.assign(u, { clientWidth: A, scrollWidth: C, scrollLeft: q });
|
|
1806
|
-
}, y = new
|
|
1800
|
+
}, y = new Ut(() => {
|
|
1807
1801
|
var C;
|
|
1808
1802
|
g();
|
|
1809
1803
|
const A = (C = n.value) == null ? void 0 : C.querySelector(".stack-tab__item.is-active");
|
|
1810
1804
|
A && (U(A) || z(A));
|
|
1811
|
-
}), S = new
|
|
1805
|
+
}), S = new Ut(() => {
|
|
1812
1806
|
var A;
|
|
1813
1807
|
if (!x.value) {
|
|
1814
1808
|
const C = (A = n.value) == null ? void 0 : A.querySelector(".stack-tab__item.is-active");
|
|
@@ -1816,7 +1810,7 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1816
1810
|
}
|
|
1817
1811
|
g();
|
|
1818
1812
|
}), m = (A, C = !0) => {
|
|
1819
|
-
|
|
1813
|
+
tn({ wrap: n.value, left: A, smooth: C });
|
|
1820
1814
|
}, O = (A) => {
|
|
1821
1815
|
m(n.value.scrollLeft + A);
|
|
1822
1816
|
}, d = (A) => {
|
|
@@ -1832,85 +1826,85 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1832
1826
|
}), o.value = !0, document.addEventListener("mousemove", _), document.addEventListener("mouseup", $);
|
|
1833
1827
|
}, _ = (A) => {
|
|
1834
1828
|
const { clientWidth: C, scrollWidth: q } = u;
|
|
1835
|
-
let
|
|
1836
|
-
const
|
|
1837
|
-
|
|
1829
|
+
let ee = l.startThumbLeft + A.pageX - l.startPageX;
|
|
1830
|
+
const Xe = C - B.value;
|
|
1831
|
+
ee < 0 ? ee = 0 : ee > Xe && (ee = Xe), l.thumbLeft = ee, m(ee * (q - C) / (C - B.value), !1), A.preventDefault();
|
|
1838
1832
|
}, $ = (A) => {
|
|
1839
1833
|
o.value = !1, document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", $), A.preventDefault();
|
|
1840
1834
|
};
|
|
1841
|
-
|
|
1835
|
+
He(() => {
|
|
1842
1836
|
var C;
|
|
1843
1837
|
y.observe(c.value);
|
|
1844
1838
|
const A = (C = n.value) == null ? void 0 : C.querySelector(".stack-tab__nav");
|
|
1845
1839
|
S.observe(A);
|
|
1846
|
-
}),
|
|
1840
|
+
}), Ze(() => {
|
|
1847
1841
|
y.disconnect(), S.disconnect();
|
|
1848
1842
|
});
|
|
1849
1843
|
const z = (A) => {
|
|
1850
|
-
|
|
1844
|
+
Vn({ el: A, wrap: n, block: "end", inline: "center" });
|
|
1851
1845
|
}, U = (A) => {
|
|
1852
1846
|
if (!x.value)
|
|
1853
1847
|
return !0;
|
|
1854
1848
|
const C = A.offsetLeft, q = n.value.scrollLeft;
|
|
1855
1849
|
return !(C < q || C + A.clientWidth > q + n.value.clientWidth);
|
|
1856
1850
|
};
|
|
1857
|
-
return e({ scrollIntoView: z, isInView: U }), (A, C) => (R(), V(
|
|
1858
|
-
a.value ? (R(),
|
|
1851
|
+
return e({ scrollIntoView: z, isInView: U }), (A, C) => (R(), V(je, null, [
|
|
1852
|
+
a.value ? (R(), ve(it, {
|
|
1859
1853
|
key: 0,
|
|
1860
1854
|
"icon-class": "stack-tab__icon-left-arrow",
|
|
1861
1855
|
disabled: i.value,
|
|
1862
1856
|
onClick: C[0] || (C[0] = (q) => !i.value && O(-1 * A.space))
|
|
1863
|
-
}, null, 8, ["disabled"])) :
|
|
1864
|
-
|
|
1857
|
+
}, null, 8, ["disabled"])) : re("", !0),
|
|
1858
|
+
J("div", {
|
|
1865
1859
|
ref_key: "headerScroll",
|
|
1866
1860
|
ref: c,
|
|
1867
1861
|
class: "stack-tab__scroll",
|
|
1868
1862
|
onWheelPassive: d
|
|
1869
1863
|
}, [
|
|
1870
|
-
|
|
1864
|
+
J("div", {
|
|
1871
1865
|
ref_key: "container",
|
|
1872
1866
|
ref: n,
|
|
1873
|
-
class:
|
|
1867
|
+
class: ue(["stack-tab__scroll-container", {
|
|
1874
1868
|
"stack-tab__shadow-inset-left": !i.value && f.value,
|
|
1875
1869
|
"stack-tab__shadow-inset-right": !f.value && i.value,
|
|
1876
1870
|
"stack-tab__shadow-inset-all": !i.value && !f.value
|
|
1877
1871
|
}]),
|
|
1878
1872
|
onScrollPassive: g
|
|
1879
1873
|
}, [
|
|
1880
|
-
|
|
1874
|
+
_e(A.$slots, "default")
|
|
1881
1875
|
], 34),
|
|
1882
|
-
|
|
1876
|
+
Xt(J("div", {
|
|
1883
1877
|
ref_key: "bar",
|
|
1884
1878
|
ref: s,
|
|
1885
|
-
class:
|
|
1879
|
+
class: ue(["stack-tab__scrollbar", { "is-dragging": o.value }])
|
|
1886
1880
|
}, [
|
|
1887
|
-
|
|
1881
|
+
J("div", {
|
|
1888
1882
|
ref_key: "thumb",
|
|
1889
1883
|
ref: r,
|
|
1890
|
-
class:
|
|
1891
|
-
style:
|
|
1884
|
+
class: ue(["stack-tab__scrollbar-thumb", { "is-dragging": o.value }]),
|
|
1885
|
+
style: Fe({
|
|
1892
1886
|
width: `${B.value}px`,
|
|
1893
1887
|
transform: `translateX(${E.value}px)`
|
|
1894
1888
|
}),
|
|
1895
1889
|
onMousedown: Ie(k, ["prevent"])
|
|
1896
1890
|
}, null, 38)
|
|
1897
1891
|
], 2), [
|
|
1898
|
-
[
|
|
1892
|
+
[Gt, x.value]
|
|
1899
1893
|
])
|
|
1900
1894
|
], 544),
|
|
1901
|
-
a.value ? (R(),
|
|
1895
|
+
a.value ? (R(), ve(it, {
|
|
1902
1896
|
key: 1,
|
|
1903
1897
|
"icon-class": "stack-tab__icon-right-arrow",
|
|
1904
1898
|
disabled: f.value,
|
|
1905
1899
|
onClick: C[1] || (C[1] = (q) => !f.value && O(A.space))
|
|
1906
|
-
}, null, 8, ["disabled"])) :
|
|
1900
|
+
}, null, 8, ["disabled"])) : re("", !0)
|
|
1907
1901
|
], 64));
|
|
1908
1902
|
}
|
|
1909
|
-
}),
|
|
1903
|
+
}), Zs = { class: "stack-tab__header" }, js = /* @__PURE__ */ Q({
|
|
1910
1904
|
__name: "index",
|
|
1911
1905
|
props: {
|
|
1912
1906
|
space: {},
|
|
1913
|
-
tabScrollMode: { default:
|
|
1907
|
+
tabScrollMode: { default: he.BOTH },
|
|
1914
1908
|
tabTransition: { default: () => ({
|
|
1915
1909
|
name: "stack-tab-zoom"
|
|
1916
1910
|
}) },
|
|
@@ -1919,32 +1913,32 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1919
1913
|
},
|
|
1920
1914
|
emits: ["active"],
|
|
1921
1915
|
setup(t, { emit: e }) {
|
|
1922
|
-
const { t: n } = Me(), s =
|
|
1916
|
+
const { t: n } = Me(), s = at("maximum"), r = e, o = D(), { shown: i, contextMenuData: f, showContextMenu: a } = gs(), c = t, { removeTab: p, active: u, tabs: l } = Ce(), w = we(() => typeof c.tabTransition == "string" ? {
|
|
1923
1917
|
name: c.tabTransition
|
|
1924
|
-
} : c.tabTransition), x =
|
|
1918
|
+
} : c.tabTransition), x = we(() => c.tabScrollMode === he.BOTH || c.tabScrollMode === he.BUTTON), B = c.tabScrollMode === he.BOTH || c.tabScrollMode === he.WHEEL, E = (y) => {
|
|
1925
1919
|
y.closable && p(y.id), i.value = !1;
|
|
1926
1920
|
}, g = (y, S, m) => {
|
|
1927
|
-
o.value && (
|
|
1921
|
+
o.value && (ye(() => {
|
|
1928
1922
|
o.value.isInView(S.value) || o.value.scrollIntoView(S.value);
|
|
1929
1923
|
}), u(y.id, m), r("active", y.id));
|
|
1930
1924
|
};
|
|
1931
|
-
return (y, S) => (R(), V("div",
|
|
1932
|
-
|
|
1933
|
-
N(
|
|
1925
|
+
return (y, S) => (R(), V("div", Zs, [
|
|
1926
|
+
_e(y.$slots, "leftButton"),
|
|
1927
|
+
N(Hs, {
|
|
1934
1928
|
ref_key: "scroll",
|
|
1935
1929
|
ref: o,
|
|
1936
1930
|
space: y.space,
|
|
1937
1931
|
"is-scroll-wheel": T(B),
|
|
1938
1932
|
"is-scroll-button": x.value
|
|
1939
1933
|
}, {
|
|
1940
|
-
default:
|
|
1941
|
-
N(
|
|
1934
|
+
default: le(() => [
|
|
1935
|
+
N(Yt, wn({
|
|
1942
1936
|
key: "tabItemTrans",
|
|
1943
1937
|
tag: "ul",
|
|
1944
1938
|
class: "stack-tab__nav"
|
|
1945
1939
|
}, w.value, { appear: "" }), {
|
|
1946
|
-
default:
|
|
1947
|
-
(R(!0), V(
|
|
1940
|
+
default: le(() => [
|
|
1941
|
+
(R(!0), V(je, null, ct(T(l), (m, O) => (R(), ve(_s, {
|
|
1948
1942
|
key: m.id,
|
|
1949
1943
|
contextmenu: y.contextmenu,
|
|
1950
1944
|
item: m,
|
|
@@ -1962,32 +1956,32 @@ const Hs = ["disabled", "title"], Zs = {
|
|
|
1962
1956
|
]),
|
|
1963
1957
|
_: 1
|
|
1964
1958
|
}, 8, ["space", "is-scroll-wheel", "is-scroll-button"]),
|
|
1965
|
-
|
|
1966
|
-
N(
|
|
1959
|
+
_e(y.$slots, "rightButton"),
|
|
1960
|
+
N(it, {
|
|
1967
1961
|
"icon-class": T(s) ? "stack-tab__icon-restore" : "stack-tab__icon-fullscreen",
|
|
1968
1962
|
title: T(n)("VueStackTab.maximum"),
|
|
1969
1963
|
onClick: S[0] || (S[0] = (m) => s.value = !T(s))
|
|
1970
1964
|
}, null, 8, ["icon-class", "title"]),
|
|
1971
|
-
N(
|
|
1965
|
+
N(Kt, {
|
|
1972
1966
|
name: "stack-tab-zoom",
|
|
1973
1967
|
appear: ""
|
|
1974
1968
|
}, {
|
|
1975
|
-
default:
|
|
1976
|
-
T(i) ? (R(),
|
|
1969
|
+
default: le(() => [
|
|
1970
|
+
T(i) ? (R(), ve(ms, {
|
|
1977
1971
|
key: "tabMenuTrans",
|
|
1978
1972
|
left: T(f).left,
|
|
1979
1973
|
top: T(f).top,
|
|
1980
1974
|
"tab-item": T(f).item,
|
|
1981
1975
|
max: T(f).max,
|
|
1982
1976
|
index: T(f).index
|
|
1983
|
-
}, null, 8, ["left", "top", "tab-item", "max", "index"])) :
|
|
1977
|
+
}, null, 8, ["left", "top", "tab-item", "max", "index"])) : re("", !0)
|
|
1984
1978
|
]),
|
|
1985
1979
|
_: 1
|
|
1986
1980
|
})
|
|
1987
1981
|
]));
|
|
1988
1982
|
}
|
|
1989
1983
|
});
|
|
1990
|
-
function
|
|
1984
|
+
function Xs(t, e, n) {
|
|
1991
1985
|
var s = {}, r = s.noTrailing, o = r === void 0 ? !1 : r, i = s.noLeading, f = i === void 0 ? !1 : i, a = s.debounceMode, c = a === void 0 ? void 0 : a, p, u = !1, l = 0;
|
|
1992
1986
|
function w() {
|
|
1993
1987
|
p && clearTimeout(p);
|
|
@@ -2012,14 +2006,14 @@ function Ys(t, e, n) {
|
|
|
2012
2006
|
}
|
|
2013
2007
|
return B.cancel = x, B;
|
|
2014
2008
|
}
|
|
2015
|
-
let
|
|
2016
|
-
const
|
|
2017
|
-
const t =
|
|
2009
|
+
let qt;
|
|
2010
|
+
const Gs = () => {
|
|
2011
|
+
const t = lt(), { active: e, hasTab: n, pageShown: s, reset: r, canAddTab: o, renewTab: i, getTab: f } = Ce(), a = me(), c = Xs(500, (w, x = !1) => new Promise((B, E) => {
|
|
2018
2012
|
if (!s.value) {
|
|
2019
2013
|
E();
|
|
2020
2014
|
return;
|
|
2021
2015
|
}
|
|
2022
|
-
const g =
|
|
2016
|
+
const g = se(w, {
|
|
2023
2017
|
refreshable: !0,
|
|
2024
2018
|
closable: !0,
|
|
2025
2019
|
iframe: !1
|
|
@@ -2027,22 +2021,22 @@ const Ks = () => {
|
|
|
2027
2021
|
if (g.id && x && n(g.id)) {
|
|
2028
2022
|
i(w);
|
|
2029
2023
|
const y = f(w.id);
|
|
2030
|
-
y != null && y.active && (s.value = !1,
|
|
2024
|
+
y != null && y.active && (s.value = !1, ye(() => {
|
|
2031
2025
|
s.value = !0;
|
|
2032
2026
|
}));
|
|
2033
2027
|
}
|
|
2034
2028
|
if (n(g.id) && !x) {
|
|
2035
|
-
a.emit(
|
|
2029
|
+
a.emit(X.TAB_ACTIVE, { id: g.id }), B(g.id);
|
|
2036
2030
|
return;
|
|
2037
2031
|
}
|
|
2038
|
-
if (g.id || (g.id =
|
|
2032
|
+
if (g.id || (g.id = et()), !o()) {
|
|
2039
2033
|
E("Max Size");
|
|
2040
2034
|
return;
|
|
2041
2035
|
}
|
|
2042
2036
|
p(w, g), B(g.id);
|
|
2043
2037
|
})), p = (w, x) => {
|
|
2044
|
-
const B =
|
|
2045
|
-
let E =
|
|
2038
|
+
const B = st(x);
|
|
2039
|
+
let E = se(
|
|
2046
2040
|
{
|
|
2047
2041
|
__tab: B
|
|
2048
2042
|
},
|
|
@@ -2050,10 +2044,10 @@ const Ks = () => {
|
|
|
2050
2044
|
), g;
|
|
2051
2045
|
if (w.iframe) {
|
|
2052
2046
|
const y = encodeURIComponent(w.path);
|
|
2053
|
-
g =
|
|
2047
|
+
g = qt, E.__src = y;
|
|
2054
2048
|
} else {
|
|
2055
|
-
const y =
|
|
2056
|
-
g = y.path, E =
|
|
2049
|
+
const y = vt(w.path);
|
|
2050
|
+
g = y.path, E = se(y.query, E);
|
|
2057
2051
|
}
|
|
2058
2052
|
t.push({
|
|
2059
2053
|
path: g,
|
|
@@ -2061,9 +2055,9 @@ const Ks = () => {
|
|
|
2061
2055
|
});
|
|
2062
2056
|
};
|
|
2063
2057
|
return { openNewTab: c, setIFramePath: (w) => {
|
|
2064
|
-
|
|
2058
|
+
qt = w;
|
|
2065
2059
|
}, active: e, reset: r, getWrapper: () => document.getElementsByClassName("cache-page-wrapper")[0] };
|
|
2066
|
-
},
|
|
2060
|
+
}, Ys = { class: "stack-tab__container" }, Ks = ["src"], Js = /* @__PURE__ */ Q({
|
|
2067
2061
|
__name: "StackTabs",
|
|
2068
2062
|
props: {
|
|
2069
2063
|
defaultTabs: { default: () => [] },
|
|
@@ -2073,7 +2067,7 @@ const Ks = () => {
|
|
|
2073
2067
|
pageTransition: { default: "stack-tab-swap" },
|
|
2074
2068
|
pageTransitionBack: { default: "stack-tab-swap-back" },
|
|
2075
2069
|
tabTransition: { default: "stack-tab-zoom" },
|
|
2076
|
-
tabScrollMode: { default:
|
|
2070
|
+
tabScrollMode: { default: he.BOTH },
|
|
2077
2071
|
width: { default: "100%" },
|
|
2078
2072
|
height: { default: "100%" },
|
|
2079
2073
|
i18n: { default: "zh-CN" },
|
|
@@ -2085,64 +2079,64 @@ const Ks = () => {
|
|
|
2085
2079
|
emits: ["onActive", "onPageLoaded"],
|
|
2086
2080
|
setup(t, { emit: e }) {
|
|
2087
2081
|
const { tabs: n, initialed: s, pageShown: r, caches: o, destroy: i, addPage: f, initial: a, setMaxSize: c, setGlobalScroll: p, clearSession: u, setSessionPrefix: l } = Ce(), w = e, x = t, { changeLocale: B } = Me(), E = D(!1);
|
|
2088
|
-
|
|
2089
|
-
const { setIFramePath: g } =
|
|
2090
|
-
g(x.iframePath), p(x.globalScroll), B(x.i18n),
|
|
2082
|
+
kn("maximum", E);
|
|
2083
|
+
const { setIFramePath: g } = Gs();
|
|
2084
|
+
g(x.iframePath), p(x.globalScroll), B(x.i18n), _n(() => {
|
|
2091
2085
|
l(x.sessionPrefix), a(x.defaultTabs);
|
|
2092
2086
|
});
|
|
2093
2087
|
const y = (k, _) => f(k, _), S = (k) => {
|
|
2094
2088
|
w("onActive", k);
|
|
2095
2089
|
};
|
|
2096
|
-
c(x.max),
|
|
2090
|
+
c(x.max), _t(() => {
|
|
2097
2091
|
i();
|
|
2098
2092
|
});
|
|
2099
2093
|
const m = () => {
|
|
2100
2094
|
w("onPageLoaded");
|
|
2101
|
-
}, O = D(x.pageTransition), d =
|
|
2095
|
+
}, O = D(x.pageTransition), d = me();
|
|
2102
2096
|
return d.on("FORWARD", () => {
|
|
2103
2097
|
O.value = x.pageTransition;
|
|
2104
2098
|
}), d.on("BACKWARD", () => {
|
|
2105
2099
|
O.value = x.pageTransitionBack;
|
|
2106
|
-
}),
|
|
2100
|
+
}), _t(() => {
|
|
2107
2101
|
u();
|
|
2108
2102
|
}), (k, _) => {
|
|
2109
|
-
const $ =
|
|
2103
|
+
const $ = Zt("router-view");
|
|
2110
2104
|
return R(), V("div", {
|
|
2111
|
-
class:
|
|
2112
|
-
style:
|
|
2105
|
+
class: ue(["stack-tab", { "stack-tab__maximum": E.value }]),
|
|
2106
|
+
style: Fe({
|
|
2113
2107
|
width: k.width,
|
|
2114
2108
|
height: k.height,
|
|
2115
|
-
"z-index": E.value ? T(
|
|
2109
|
+
"z-index": E.value ? T(ut)("body *:not(.stack-tab,.stack-tab *)") : void 0
|
|
2116
2110
|
})
|
|
2117
2111
|
}, [
|
|
2118
|
-
N(
|
|
2112
|
+
N(js, {
|
|
2119
2113
|
space: k.space,
|
|
2120
2114
|
onActive: S,
|
|
2121
2115
|
"tab-transition": k.tabTransition,
|
|
2122
2116
|
max: k.max
|
|
2123
2117
|
}, {
|
|
2124
|
-
leftButton:
|
|
2125
|
-
|
|
2118
|
+
leftButton: le(() => [
|
|
2119
|
+
_e(k.$slots, "leftButton")
|
|
2126
2120
|
]),
|
|
2127
|
-
rightButton:
|
|
2128
|
-
|
|
2121
|
+
rightButton: le(() => [
|
|
2122
|
+
_e(k.$slots, "rightButton")
|
|
2129
2123
|
]),
|
|
2130
2124
|
_: 3
|
|
2131
2125
|
}, 8, ["space", "tab-transition", "max"]),
|
|
2132
|
-
|
|
2126
|
+
J("div", Ys, [
|
|
2133
2127
|
N($, null, {
|
|
2134
|
-
default:
|
|
2135
|
-
N(
|
|
2128
|
+
default: le(({ Component: z, route: U }) => [
|
|
2129
|
+
N(Kt, {
|
|
2136
2130
|
name: O.value,
|
|
2137
2131
|
appear: "",
|
|
2138
2132
|
mode: "out-in"
|
|
2139
2133
|
}, {
|
|
2140
|
-
default:
|
|
2141
|
-
(R(),
|
|
2142
|
-
T(r) ? (R(),
|
|
2134
|
+
default: le(() => [
|
|
2135
|
+
(R(), ve(xn, { include: T(o) }, [
|
|
2136
|
+
T(r) ? (R(), ve(Tn(y(U, z)), {
|
|
2143
2137
|
key: `${U.name}_${U.fullPath}`,
|
|
2144
2138
|
onOnLoaded: m
|
|
2145
|
-
}, null, 32)) :
|
|
2139
|
+
}, null, 32)) : re("", !0)
|
|
2146
2140
|
], 1032, ["include"]))
|
|
2147
2141
|
]),
|
|
2148
2142
|
_: 2
|
|
@@ -2150,18 +2144,18 @@ const Ks = () => {
|
|
|
2150
2144
|
]),
|
|
2151
2145
|
_: 1
|
|
2152
2146
|
}),
|
|
2153
|
-
N(
|
|
2147
|
+
N(Yt, {
|
|
2154
2148
|
name: k.pageTransition,
|
|
2155
2149
|
appear: ""
|
|
2156
2150
|
}, {
|
|
2157
|
-
default:
|
|
2158
|
-
(R(!0), V(
|
|
2151
|
+
default: le(() => [
|
|
2152
|
+
(R(!0), V(je, null, ct(T(n).filter((z) => z.iframe), (z) => Xt((R(), V("iframe", {
|
|
2159
2153
|
key: z.id,
|
|
2160
2154
|
class: "stack-tab__iframe",
|
|
2161
2155
|
src: /^(javascript|data):/i.test(z.url ?? "") ? "about:blank" : z.url,
|
|
2162
2156
|
frameborder: "0"
|
|
2163
|
-
}, null, 8,
|
|
2164
|
-
[
|
|
2157
|
+
}, null, 8, Ks)), [
|
|
2158
|
+
[Gt, z.active]
|
|
2165
2159
|
])), 128))
|
|
2166
2160
|
]),
|
|
2167
2161
|
_: 1
|
|
@@ -2170,16 +2164,16 @@ const Ks = () => {
|
|
|
2170
2164
|
], 6);
|
|
2171
2165
|
};
|
|
2172
2166
|
}
|
|
2173
|
-
}),
|
|
2167
|
+
}), gt = typeof Buffer == "function";
|
|
2174
2168
|
typeof TextDecoder == "function" && new TextDecoder();
|
|
2175
|
-
const
|
|
2169
|
+
const Ft = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Qs = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Te = Array.prototype.slice.call(Qs);
|
|
2176
2170
|
((t) => {
|
|
2177
2171
|
let e = {};
|
|
2178
2172
|
return t.forEach((n, s) => e[n] = s), e;
|
|
2179
2173
|
})(Te);
|
|
2180
|
-
const
|
|
2174
|
+
const K = String.fromCharCode.bind(String);
|
|
2181
2175
|
typeof Uint8Array.from == "function" && Uint8Array.from.bind(Uint8Array);
|
|
2182
|
-
const
|
|
2176
|
+
const er = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" : "_"), tr = (t) => {
|
|
2183
2177
|
let e, n, s, r, o = "";
|
|
2184
2178
|
const i = t.length % 3;
|
|
2185
2179
|
for (let f = 0; f < t.length; ) {
|
|
@@ -2188,33 +2182,33 @@ const nr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2188
2182
|
e = n << 16 | s << 8 | r, o += Te[e >> 18 & 63] + Te[e >> 12 & 63] + Te[e >> 6 & 63] + Te[e & 63];
|
|
2189
2183
|
}
|
|
2190
2184
|
return i ? o.slice(0, i - 3) + "===".substring(i) : o;
|
|
2191
|
-
},
|
|
2185
|
+
}, hn = typeof btoa == "function" ? (t) => btoa(t) : gt ? (t) => Buffer.from(t, "binary").toString("base64") : tr, nr = gt ? (t) => Buffer.from(t).toString("base64") : (t) => {
|
|
2192
2186
|
let n = [];
|
|
2193
2187
|
for (let s = 0, r = t.length; s < r; s += 4096)
|
|
2194
|
-
n.push(
|
|
2195
|
-
return
|
|
2196
|
-
},
|
|
2188
|
+
n.push(K.apply(null, t.subarray(s, s + 4096)));
|
|
2189
|
+
return hn(n.join(""));
|
|
2190
|
+
}, sr = (t) => {
|
|
2197
2191
|
if (t.length < 2) {
|
|
2198
2192
|
var e = t.charCodeAt(0);
|
|
2199
|
-
return e < 128 ? t : e < 2048 ?
|
|
2193
|
+
return e < 128 ? t : e < 2048 ? K(192 | e >>> 6) + K(128 | e & 63) : K(224 | e >>> 12 & 15) + K(128 | e >>> 6 & 63) + K(128 | e & 63);
|
|
2200
2194
|
} else {
|
|
2201
2195
|
var e = 65536 + (t.charCodeAt(0) - 55296) * 1024 + (t.charCodeAt(1) - 56320);
|
|
2202
|
-
return
|
|
2196
|
+
return K(240 | e >>> 18 & 7) + K(128 | e >>> 12 & 63) + K(128 | e >>> 6 & 63) + K(128 | e & 63);
|
|
2203
2197
|
}
|
|
2204
|
-
},
|
|
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), f = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2198
|
+
}, rr = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, or = (t) => t.replace(rr, sr), Ht = gt ? (t) => Buffer.from(t, "utf8").toString("base64") : Ft ? (t) => nr(Ft.encode(t)) : (t) => hn(or(t)), ir = (t, e = !1) => e ? er(Ht(t)) : Ht(t), ar = (t) => {
|
|
2199
|
+
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," + ir(s), f = "font-size: 1px; padding: " + Math.floor(100 / 4) + "px " + Math.floor(580 / 2) + "px; line-height: " + Math.floor(100 / 2) + "px;";
|
|
2206
2200
|
window.console.log(
|
|
2207
2201
|
"%c+",
|
|
2208
2202
|
f + `background-image: url(${i});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`
|
|
2209
2203
|
);
|
|
2210
|
-
},
|
|
2211
|
-
const { attrs: t, props: e } =
|
|
2204
|
+
}, cr = () => {
|
|
2205
|
+
const { attrs: t, props: e } = Jt(), { pageShown: n, getTab: s, markDeletableCache: r, removeComponent: o, getComponent: i, addPageScroller: f } = Ce(), a = Sn(), c = lt(), p = me();
|
|
2212
2206
|
let u = "", l = "";
|
|
2213
2207
|
u = t.tId || e.tId;
|
|
2214
2208
|
const w = t.pId || e.pId;
|
|
2215
2209
|
return l = a.query.__tab, {
|
|
2216
2210
|
forward: (g) => {
|
|
2217
|
-
const y =
|
|
2211
|
+
const y = se(
|
|
2218
2212
|
{
|
|
2219
2213
|
__tab: l
|
|
2220
2214
|
},
|
|
@@ -2235,8 +2229,8 @@ const nr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2235
2229
|
O = Math.abs(g);
|
|
2236
2230
|
else {
|
|
2237
2231
|
let _ = 1, $ = !1;
|
|
2238
|
-
const z = m.list(), U =
|
|
2239
|
-
y =
|
|
2232
|
+
const z = m.list(), U = vt(g);
|
|
2233
|
+
y = se(U.query, y);
|
|
2240
2234
|
for (let A = m.size() - 2; A >= 0; A--) {
|
|
2241
2235
|
if (z[A].path === U.path) {
|
|
2242
2236
|
$ = !0;
|
|
@@ -2255,7 +2249,7 @@ const nr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2255
2249
|
const d = m == null ? void 0 : m.peek(), k = i(d.id);
|
|
2256
2250
|
if (k != null) {
|
|
2257
2251
|
const _ = k.components.DynamicComponent;
|
|
2258
|
-
_.props =
|
|
2252
|
+
_.props = se(y, _.props);
|
|
2259
2253
|
}
|
|
2260
2254
|
p.emit("BACKWARD"), c.push({
|
|
2261
2255
|
path: d.path,
|
|
@@ -2266,36 +2260,36 @@ const nr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2266
2260
|
f(w, ...g);
|
|
2267
2261
|
}
|
|
2268
2262
|
};
|
|
2269
|
-
},
|
|
2263
|
+
}, vr = /* @__PURE__ */ Q({
|
|
2270
2264
|
__name: "iframe",
|
|
2271
2265
|
setup(t) {
|
|
2272
|
-
return
|
|
2266
|
+
return cr(), () => {
|
|
2273
2267
|
};
|
|
2274
2268
|
}
|
|
2275
|
-
}),
|
|
2276
|
-
const t =
|
|
2277
|
-
|
|
2269
|
+
}), mr = () => {
|
|
2270
|
+
const t = me(), { attrs: e } = Jt();
|
|
2271
|
+
Ze(() => {
|
|
2278
2272
|
s();
|
|
2279
2273
|
});
|
|
2280
2274
|
const n = () => {
|
|
2281
|
-
t.emit(
|
|
2275
|
+
t.emit(X.PAGE_LOADING, { tId: e.tId, value: !0 });
|
|
2282
2276
|
}, s = () => {
|
|
2283
|
-
t.emit(
|
|
2277
|
+
t.emit(X.PAGE_LOADING, { tId: e.tId, value: !1 });
|
|
2284
2278
|
};
|
|
2285
2279
|
return { openTabLoading: n, closeTabLoading: s };
|
|
2286
|
-
},
|
|
2280
|
+
}, gr = {
|
|
2287
2281
|
install(t, e) {
|
|
2288
|
-
|
|
2282
|
+
ar("0.1.51"), t.component("VueStackTabs", Js).use(fs).use(Wn().getI18n(e));
|
|
2289
2283
|
}
|
|
2290
2284
|
};
|
|
2291
2285
|
export {
|
|
2292
|
-
|
|
2286
|
+
vr as IFrame,
|
|
2293
2287
|
Ge as Stack,
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2288
|
+
Js as StackTab,
|
|
2289
|
+
it as TabHeaderButton,
|
|
2290
|
+
he as TabScrollMode,
|
|
2291
|
+
gr as default,
|
|
2292
|
+
Gs as useStackTab,
|
|
2293
|
+
mr as useTabLoading,
|
|
2294
|
+
cr as useTabRouter
|
|
2301
2295
|
};
|