@pksep/yui 0.1.269 → 0.1.271
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/components/ContentEditor/ContentEditor.vue.d.ts +1 -0
- package/dist/sep-yui.es.ts +234 -228
- package/dist/sep-yui.umd.ts +19 -19
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/sep-yui.es.ts
CHANGED
|
@@ -5,7 +5,7 @@ var v9 = (C) => {
|
|
|
5
5
|
var o6 = (C, g, I) => g in C ? l6(C, g, { enumerable: !0, configurable: !0, writable: !0, value: I }) : C[g] = I;
|
|
6
6
|
var Ng = (C, g, I) => o6(C, typeof g != "symbol" ? g + "" : g, I), S1 = (C, g, I) => g.has(C) || v9("Cannot " + I);
|
|
7
7
|
var d = (C, g, I) => (S1(C, g, "read from private field"), I ? I.call(C) : g.get(C)), R = (C, g, I) => g.has(C) ? v9("Cannot add the same private member more than once") : g instanceof WeakSet ? g.add(C) : g.set(C, I), Y = (C, g, I, e) => (S1(C, g, "write to private field"), e ? e.call(C, I) : g.set(C, I), I), H = (C, g, I) => (S1(C, g, "access private method"), I);
|
|
8
|
-
var
|
|
8
|
+
var Qe = (C, g, I, e) => ({
|
|
9
9
|
set _(t) {
|
|
10
10
|
Y(C, g, t, I);
|
|
11
11
|
},
|
|
@@ -1995,7 +1995,7 @@ const z$ = ["disabled", "data-testid"], v$ = ["data-testid"], J$ = ["data-testid
|
|
|
1995
1995
|
], 10, T$));
|
|
1996
1996
|
}
|
|
1997
1997
|
}), U5 = /* @__PURE__ */ qg(x$, [["__scopeId", "data-v-0f7dea38"]]);
|
|
1998
|
-
function
|
|
1998
|
+
function It(C) {
|
|
1999
1999
|
return Wy() ? (Q5(C), !0) : !1;
|
|
2000
2000
|
}
|
|
2001
2001
|
function xg(C) {
|
|
@@ -2304,9 +2304,9 @@ function B3(C, g = 1e3, I = {}) {
|
|
|
2304
2304
|
const o = lg(g, () => {
|
|
2305
2305
|
A.value && is && l();
|
|
2306
2306
|
});
|
|
2307
|
-
|
|
2307
|
+
It(o);
|
|
2308
2308
|
}
|
|
2309
|
-
return
|
|
2309
|
+
return It(s), {
|
|
2310
2310
|
isActive: A,
|
|
2311
2311
|
pause: s,
|
|
2312
2312
|
resume: l
|
|
@@ -2328,7 +2328,7 @@ function Cq(C, g, I = {}) {
|
|
|
2328
2328
|
t.value = !1, i = null, C(...l);
|
|
2329
2329
|
}, xg(g));
|
|
2330
2330
|
}
|
|
2331
|
-
return e && (t.value = !0, is && s()),
|
|
2331
|
+
return e && (t.value = !0, is && s()), It(n), {
|
|
2332
2332
|
isPending: nC(t),
|
|
2333
2333
|
start: s,
|
|
2334
2334
|
stop: n
|
|
@@ -2376,7 +2376,7 @@ function aI(...C) {
|
|
|
2376
2376
|
), l = () => {
|
|
2377
2377
|
s(), A();
|
|
2378
2378
|
};
|
|
2379
|
-
return
|
|
2379
|
+
return It(l), l;
|
|
2380
2380
|
}
|
|
2381
2381
|
let L9 = !1;
|
|
2382
2382
|
function tq(C, g, I = {}) {
|
|
@@ -2450,7 +2450,7 @@ function y3(C, g, I = {}) {
|
|
|
2450
2450
|
), o = () => i == null ? void 0 : i.takeRecords(), a = () => {
|
|
2451
2451
|
l(), n();
|
|
2452
2452
|
};
|
|
2453
|
-
return
|
|
2453
|
+
return It(a), {
|
|
2454
2454
|
isSupported: A,
|
|
2455
2455
|
stop: a,
|
|
2456
2456
|
takeRecords: o
|
|
@@ -2507,7 +2507,7 @@ function Y3(C, g = {}) {
|
|
|
2507
2507
|
function a() {
|
|
2508
2508
|
i.value = !1, s != null && t && (t.cancelAnimationFrame(s), s = null);
|
|
2509
2509
|
}
|
|
2510
|
-
return I && o(),
|
|
2510
|
+
return I && o(), It(a), {
|
|
2511
2511
|
isActive: nC(i),
|
|
2512
2512
|
pause: a,
|
|
2513
2513
|
resume: o
|
|
@@ -2539,7 +2539,7 @@ function ad(C, g = {}) {
|
|
|
2539
2539
|
}, s = Je(() => {
|
|
2540
2540
|
e.value && (n(), t = I.matchMedia(xg(C)), "addEventListener" in t ? t.addEventListener("change", A) : t.addListener(A), i.value = t.matches);
|
|
2541
2541
|
});
|
|
2542
|
-
return
|
|
2542
|
+
return It(() => {
|
|
2543
2543
|
s(), n(), t = void 0;
|
|
2544
2544
|
}), i;
|
|
2545
2545
|
}
|
|
@@ -2919,7 +2919,7 @@ function Zq(C = {}) {
|
|
|
2919
2919
|
}, t = function() {
|
|
2920
2920
|
i == null || i.removeEventListener("change", e);
|
|
2921
2921
|
}, i;
|
|
2922
|
-
e(),
|
|
2922
|
+
e(), It(t);
|
|
2923
2923
|
}
|
|
2924
2924
|
return { pixelRatio: I };
|
|
2925
2925
|
}
|
|
@@ -3036,7 +3036,7 @@ function M3(C, g, I = {}) {
|
|
|
3036
3036
|
), o = () => {
|
|
3037
3037
|
n(), l();
|
|
3038
3038
|
};
|
|
3039
|
-
return
|
|
3039
|
+
return It(o), {
|
|
3040
3040
|
isSupported: A,
|
|
3041
3041
|
stop: o
|
|
3042
3042
|
};
|
|
@@ -3151,7 +3151,7 @@ function Bq(C, g, I = {}) {
|
|
|
3151
3151
|
) : LC, u = () => {
|
|
3152
3152
|
o(), r(), a.value = !1;
|
|
3153
3153
|
};
|
|
3154
|
-
return
|
|
3154
|
+
return It(u), {
|
|
3155
3155
|
isSupported: s,
|
|
3156
3156
|
isActive: a,
|
|
3157
3157
|
pause() {
|
|
@@ -3268,7 +3268,7 @@ function Vq(C, g = {}) {
|
|
|
3268
3268
|
const G = r();
|
|
3269
3269
|
(!G || G && a()) && (i.value = G);
|
|
3270
3270
|
};
|
|
3271
|
-
return aI(I, x9, Z, !1), aI(() => Ce(t), x9, Z, !1), e &&
|
|
3271
|
+
return aI(I, x9, Z, !1), aI(() => Ce(t), x9, Z, !1), e && It(u), {
|
|
3272
3272
|
isSupported: o,
|
|
3273
3273
|
isFullscreen: i,
|
|
3274
3274
|
enter: m,
|
|
@@ -3311,7 +3311,7 @@ function Nq(C = {}) {
|
|
|
3311
3311
|
function u() {
|
|
3312
3312
|
a && t && t.geolocation.clearWatch(a);
|
|
3313
3313
|
}
|
|
3314
|
-
return
|
|
3314
|
+
return It(() => {
|
|
3315
3315
|
u();
|
|
3316
3316
|
}), {
|
|
3317
3317
|
isSupported: A,
|
|
@@ -3503,7 +3503,7 @@ function Sq(C) {
|
|
|
3503
3503
|
I(), e && (g.value = URL.createObjectURL(e));
|
|
3504
3504
|
},
|
|
3505
3505
|
{ immediate: !0 }
|
|
3506
|
-
),
|
|
3506
|
+
), It(I), nC(g);
|
|
3507
3507
|
}
|
|
3508
3508
|
function O9(C, g, I) {
|
|
3509
3509
|
if (typeof C == "function" || T0(C))
|
|
@@ -3907,7 +3907,7 @@ const SaI = /* @__PURE__ */ mg({
|
|
|
3907
3907
|
};
|
|
3908
3908
|
}
|
|
3909
3909
|
}), Et = is ? window : void 0;
|
|
3910
|
-
function
|
|
3910
|
+
function qe(C) {
|
|
3911
3911
|
var g;
|
|
3912
3912
|
const I = xg(C);
|
|
3913
3913
|
return (g = I == null ? void 0 : I.$el) != null ? g : I;
|
|
@@ -3920,7 +3920,7 @@ function Bi(...C) {
|
|
|
3920
3920
|
const i = [], A = () => {
|
|
3921
3921
|
i.forEach((o) => o()), i.length = 0;
|
|
3922
3922
|
}, n = (o, a, r, u) => (o.addEventListener(a, r, u), () => o.removeEventListener(a, r, u)), s = lg(
|
|
3923
|
-
() => [
|
|
3923
|
+
() => [qe(g), xg(t)],
|
|
3924
3924
|
([o, a]) => {
|
|
3925
3925
|
if (A(), !o)
|
|
3926
3926
|
return;
|
|
@@ -3933,7 +3933,7 @@ function Bi(...C) {
|
|
|
3933
3933
|
), l = () => {
|
|
3934
3934
|
s(), A();
|
|
3935
3935
|
};
|
|
3936
|
-
return
|
|
3936
|
+
return It(l), l;
|
|
3937
3937
|
}
|
|
3938
3938
|
let Q9 = !1;
|
|
3939
3939
|
function U9(C, g, I = {}) {
|
|
@@ -3946,11 +3946,11 @@ function U9(C, g, I = {}) {
|
|
|
3946
3946
|
if (typeof m == "string")
|
|
3947
3947
|
return Array.from(e.document.querySelectorAll(m)).some((b) => b === u.target || u.composedPath().includes(b));
|
|
3948
3948
|
{
|
|
3949
|
-
const b =
|
|
3949
|
+
const b = qe(m);
|
|
3950
3950
|
return b && (u.target === b || u.composedPath().includes(b));
|
|
3951
3951
|
}
|
|
3952
3952
|
}), l = (u) => {
|
|
3953
|
-
const m =
|
|
3953
|
+
const m = qe(C);
|
|
3954
3954
|
if (!(!m || m === u.target || u.composedPath().includes(m))) {
|
|
3955
3955
|
if (u.detail === 0 && (n = !s(u)), !n) {
|
|
3956
3956
|
n = !0;
|
|
@@ -3967,13 +3967,13 @@ function U9(C, g, I = {}) {
|
|
|
3967
3967
|
}, 0), l(u));
|
|
3968
3968
|
}, { passive: !0, capture: i }),
|
|
3969
3969
|
Bi(e, "pointerdown", (u) => {
|
|
3970
|
-
const m =
|
|
3970
|
+
const m = qe(C);
|
|
3971
3971
|
n = !s(u) && !!(m && !u.composedPath().includes(m));
|
|
3972
3972
|
}, { passive: !0 }),
|
|
3973
3973
|
A && Bi(e, "blur", (u) => {
|
|
3974
3974
|
setTimeout(() => {
|
|
3975
3975
|
var m;
|
|
3976
|
-
const b =
|
|
3976
|
+
const b = qe(C);
|
|
3977
3977
|
((m = e.document.activeElement) == null ? void 0 : m.tagName) === "IFRAME" && !(b != null && b.contains(e.document.activeElement)) && g(u);
|
|
3978
3978
|
}, 0);
|
|
3979
3979
|
})
|
|
@@ -4029,7 +4029,7 @@ const KaI = {
|
|
|
4029
4029
|
}, igg = 500, Agg = 10;
|
|
4030
4030
|
function aN(C, g, I) {
|
|
4031
4031
|
var e, t;
|
|
4032
|
-
const i = j(() =>
|
|
4032
|
+
const i = j(() => qe(C));
|
|
4033
4033
|
let A, n, s, l = !1;
|
|
4034
4034
|
function o() {
|
|
4035
4035
|
A && (clearTimeout(A), A = void 0), n = void 0, s = void 0, l = !1;
|
|
@@ -4166,7 +4166,7 @@ function ogg(C, g = {}) {
|
|
|
4166
4166
|
}, s = Je(() => {
|
|
4167
4167
|
e.value && (n(), t = I.matchMedia(xg(C)), "addEventListener" in t ? t.addEventListener("change", A) : t.addListener(A), i.value = t.matches);
|
|
4168
4168
|
});
|
|
4169
|
-
return
|
|
4169
|
+
return It(() => {
|
|
4170
4170
|
s(), n(), t = void 0;
|
|
4171
4171
|
}), i;
|
|
4172
4172
|
}
|
|
@@ -4324,7 +4324,7 @@ function mgg(C = {}) {
|
|
|
4324
4324
|
}, r = agg({ window: t }), u = j(() => r.value ? "dark" : "light"), m = s || (A == null ? Yy(e) : rgg(A, e, i, { window: t, listenToStorageChanges: n })), b = j(() => m.value === "auto" ? u.value : m.value), Z = T3(
|
|
4325
4325
|
"updateHTMLAttrs",
|
|
4326
4326
|
(B, y, M) => {
|
|
4327
|
-
const N = typeof B == "string" ? t == null ? void 0 : t.document.querySelector(B) :
|
|
4327
|
+
const N = typeof B == "string" ? t == null ? void 0 : t.document.querySelector(B) : qe(B);
|
|
4328
4328
|
if (!N)
|
|
4329
4329
|
return;
|
|
4330
4330
|
const K = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set();
|
|
@@ -4546,7 +4546,7 @@ function dN(C, g, I = {}) {
|
|
|
4546
4546
|
i && (i.disconnect(), i = void 0);
|
|
4547
4547
|
}, s = j(() => {
|
|
4548
4548
|
const a = xg(C);
|
|
4549
|
-
return Array.isArray(a) ? a.map((r) =>
|
|
4549
|
+
return Array.isArray(a) ? a.map((r) => qe(r)) : [qe(a)];
|
|
4550
4550
|
}), l = lg(
|
|
4551
4551
|
s,
|
|
4552
4552
|
(a) => {
|
|
@@ -4560,7 +4560,7 @@ function dN(C, g, I = {}) {
|
|
|
4560
4560
|
), o = () => {
|
|
4561
4561
|
n(), l();
|
|
4562
4562
|
};
|
|
4563
|
-
return
|
|
4563
|
+
return It(o), {
|
|
4564
4564
|
isSupported: A,
|
|
4565
4565
|
stop: o
|
|
4566
4566
|
};
|
|
@@ -4568,13 +4568,13 @@ function dN(C, g, I = {}) {
|
|
|
4568
4568
|
function hgg(C, g = { width: 0, height: 0 }, I = {}) {
|
|
4569
4569
|
const { window: e = Et, box: t = "content-box" } = I, i = j(() => {
|
|
4570
4570
|
var a, r;
|
|
4571
|
-
return (r = (a =
|
|
4571
|
+
return (r = (a = qe(C)) == null ? void 0 : a.namespaceURI) == null ? void 0 : r.includes("svg");
|
|
4572
4572
|
}), A = f(g.width), n = f(g.height), { stop: s } = dN(
|
|
4573
4573
|
C,
|
|
4574
4574
|
([a]) => {
|
|
4575
4575
|
const r = t === "border-box" ? a.borderBoxSize : t === "content-box" ? a.contentBoxSize : a.devicePixelContentBoxSize;
|
|
4576
4576
|
if (e && i.value) {
|
|
4577
|
-
const u =
|
|
4577
|
+
const u = qe(C);
|
|
4578
4578
|
if (u) {
|
|
4579
4579
|
const m = u.getBoundingClientRect();
|
|
4580
4580
|
A.value = m.width, n.value = m.height;
|
|
@@ -4588,11 +4588,11 @@ function hgg(C, g = { width: 0, height: 0 }, I = {}) {
|
|
|
4588
4588
|
I
|
|
4589
4589
|
);
|
|
4590
4590
|
vo(() => {
|
|
4591
|
-
const a =
|
|
4591
|
+
const a = qe(C);
|
|
4592
4592
|
a && (A.value = "offsetWidth" in a ? a.offsetWidth : g.width, n.value = "offsetHeight" in a ? a.offsetHeight : g.height);
|
|
4593
4593
|
});
|
|
4594
4594
|
const l = lg(
|
|
4595
|
-
() =>
|
|
4595
|
+
() => qe(C),
|
|
4596
4596
|
(a) => {
|
|
4597
4597
|
A.value = a ? g.width : 0, n.value = a ? g.height : 0;
|
|
4598
4598
|
}
|
|
@@ -4634,18 +4634,18 @@ function cN(C, g, I = {}) {
|
|
|
4634
4634
|
immediate: n = !0
|
|
4635
4635
|
} = I, s = Vy(() => A && "IntersectionObserver" in A), l = j(() => {
|
|
4636
4636
|
const m = xg(C);
|
|
4637
|
-
return (Array.isArray(m) ? m : [m]).map(
|
|
4637
|
+
return (Array.isArray(m) ? m : [m]).map(qe).filter(yy);
|
|
4638
4638
|
});
|
|
4639
4639
|
let o = LC;
|
|
4640
4640
|
const a = f(n), r = s.value ? lg(
|
|
4641
|
-
() => [l.value,
|
|
4641
|
+
() => [l.value, qe(e), a.value],
|
|
4642
4642
|
([m, b]) => {
|
|
4643
4643
|
if (o(), !a.value || !m.length)
|
|
4644
4644
|
return;
|
|
4645
4645
|
const Z = new IntersectionObserver(
|
|
4646
4646
|
g,
|
|
4647
4647
|
{
|
|
4648
|
-
root:
|
|
4648
|
+
root: qe(b),
|
|
4649
4649
|
rootMargin: t,
|
|
4650
4650
|
threshold: i
|
|
4651
4651
|
}
|
|
@@ -4658,7 +4658,7 @@ function cN(C, g, I = {}) {
|
|
|
4658
4658
|
) : LC, u = () => {
|
|
4659
4659
|
o(), r(), a.value = !1;
|
|
4660
4660
|
};
|
|
4661
|
-
return
|
|
4661
|
+
return It(u), {
|
|
4662
4662
|
isSupported: s,
|
|
4663
4663
|
isActive: a,
|
|
4664
4664
|
pause() {
|
|
@@ -4894,7 +4894,7 @@ function uN(C, g = {}) {
|
|
|
4894
4894
|
var K;
|
|
4895
4895
|
if (!l)
|
|
4896
4896
|
return;
|
|
4897
|
-
const F = ((K = N == null ? void 0 : N.document) == null ? void 0 : K.documentElement) || (N == null ? void 0 : N.documentElement) ||
|
|
4897
|
+
const F = ((K = N == null ? void 0 : N.document) == null ? void 0 : K.documentElement) || (N == null ? void 0 : N.documentElement) || qe(N), { display: X, flexDirection: z } = getComputedStyle(F), J = F.scrollLeft;
|
|
4898
4898
|
W.left = J < a.value, W.right = J > a.value;
|
|
4899
4899
|
const _ = Math.abs(J) <= (A.left || 0), ig = Math.abs(J) + F.clientWidth >= F.scrollWidth - (A.right || 0) - $9;
|
|
4900
4900
|
X === "flex" && z === "row-reverse" ? (G.left = ig, G.right = _) : (G.left = _, G.right = ig), a.value = J;
|
|
@@ -5199,7 +5199,7 @@ function wgg(C, g, I = {}) {
|
|
|
5199
5199
|
const A = Vy(() => e && "MutationObserver" in e), n = () => {
|
|
5200
5200
|
i && (i.disconnect(), i = void 0);
|
|
5201
5201
|
}, s = j(() => {
|
|
5202
|
-
const r = xg(C), u = (Array.isArray(r) ? r : [r]).map(
|
|
5202
|
+
const r = xg(C), u = (Array.isArray(r) ? r : [r]).map(qe).filter(yy);
|
|
5203
5203
|
return new Set(u);
|
|
5204
5204
|
}), l = lg(
|
|
5205
5205
|
() => s.value,
|
|
@@ -5210,7 +5210,7 @@ function wgg(C, g, I = {}) {
|
|
|
5210
5210
|
), o = () => i == null ? void 0 : i.takeRecords(), a = () => {
|
|
5211
5211
|
l(), n();
|
|
5212
5212
|
};
|
|
5213
|
-
return
|
|
5213
|
+
return It(a), {
|
|
5214
5214
|
isSupported: A,
|
|
5215
5215
|
stop: a,
|
|
5216
5216
|
takeRecords: o
|
|
@@ -5219,7 +5219,7 @@ function wgg(C, g, I = {}) {
|
|
|
5219
5219
|
function jW(C, g, I = {}) {
|
|
5220
5220
|
const { window: e = Et, initialValue: t, observe: i = !1 } = I, A = f(t), n = j(() => {
|
|
5221
5221
|
var l;
|
|
5222
|
-
return
|
|
5222
|
+
return qe(g) || ((l = e == null ? void 0 : e.document) == null ? void 0 : l.documentElement);
|
|
5223
5223
|
});
|
|
5224
5224
|
function s() {
|
|
5225
5225
|
var l;
|
|
@@ -5368,7 +5368,7 @@ function Bgg(C, g = !1) {
|
|
|
5368
5368
|
const n = Rp(xg(C));
|
|
5369
5369
|
!n || !I.value || (RB && (e == null || e()), n.style.overflow = t, z1.delete(n), I.value = !1);
|
|
5370
5370
|
};
|
|
5371
|
-
return
|
|
5371
|
+
return It(A), j({
|
|
5372
5372
|
get() {
|
|
5373
5373
|
return I.value;
|
|
5374
5374
|
},
|
|
@@ -54089,7 +54089,7 @@ UB.exports;
|
|
|
54089
54089
|
["partial", y],
|
|
54090
54090
|
["partialRight", M],
|
|
54091
54091
|
["rearg", K]
|
|
54092
|
-
], fg = "[object Arguments]", bI = "[object Array]", tI = "[object AsyncFunction]", CC = "[object Boolean]", HC = "[object Date]", tC = "[object DOMException]", vI = "[object Error]", TC = "[object Function]", te = "[object GeneratorFunction]", qI = "[object Map]",
|
|
54092
|
+
], fg = "[object Arguments]", bI = "[object Array]", tI = "[object AsyncFunction]", CC = "[object Boolean]", HC = "[object Date]", tC = "[object DOMException]", vI = "[object Error]", TC = "[object Function]", te = "[object GeneratorFunction]", qI = "[object Map]", Ct = "[object Number]", fn = "[object Null]", jC = "[object Object]", Te = "[object Promise]", JA = "[object Proxy]", EC = "[object RegExp]", DC = "[object Set]", ht = "[object String]", et = "[object Symbol]", fi = "[object Undefined]", je = "[object WeakMap]", bt = "[object WeakSet]", Zt = "[object ArrayBuffer]", St = "[object DataView]", LA = "[object Float32Array]", ms = "[object Float64Array]", hl = "[object Int8Array]", TA = "[object Int16Array]", jA = "[object Int32Array]", bl = "[object Uint8Array]", Xn = "[object Uint8ClampedArray]", qt = "[object Uint16Array]", tA = "[object Uint32Array]", Zl = /\b__p \+= '';/g, Ig = /\b(__p \+=) '' \+/g, P = /(__e\(.*?\)|\b__t\)) \+\n'';/g, bg = /&(?:amp|lt|gt|quot|#39);/g, iI = /[&<>"']/g, ng = RegExp(bg.source), rg = RegExp(iI.source), Dg = /<%-([\s\S]+?)%>/g, jg = /<%([\s\S]+?)%>/g, $g = /<%=([\s\S]+?)%>/g, FI = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, bC = /^\w*$/, hs = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Kt = /[\\^$.*+?()[\]{}|]/g, xA = RegExp(Kt.source), gi = /^\s+/, iA = /\s/, Hn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, jo = /\{\n\/\* \[wrapped with (.+)\] \*/, xo = /,? & /, PC = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, fe = /[()=,{}\[\]\/\s]/, O = /\\(\\)?/g, Ag = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ag = /\w*$/, Xg = /^[-+]0x[0-9a-f]+$/i, nI = /^0b[01]+$/i, BI = /^\[object .+?Constructor\]$/, OA = /^0o[0-7]+$/i, ru = /^(?:0|[1-9]\d*)$/, Gl = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, zd = /($^)/, wl = /['\n\r\u2028\u2029\\]/g, Xe = "\\ud800-\\udfff", BY = "\\u0300-\\u036f", Wh = "\\ufe20-\\ufe2f", $w = "\\u20d0-\\u20ff", qw = BY + Wh + $w, ph = "\\u2700-\\u27bf", Bh = "a-z\\xdf-\\xf6\\xf8-\\xff", ix = "\\xac\\xb1\\xd7\\xf7", Ax = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", nx = "\\u2000-\\u206f", sx = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", bX = "A-Z\\xc0-\\xd6\\xd8-\\xde", ZX = "\\ufe0e\\ufe0f", GX = ix + Ax + nx + sx, yY = "['’]", lx = "[" + Xe + "]", wX = "[" + GX + "]", gW = "[" + qw + "]", WX = "\\d+", ox = "[" + ph + "]", pX = "[" + Bh + "]", BX = "[^" + Xe + GX + WX + ph + Bh + bX + "]", YY = "\\ud83c[\\udffb-\\udfff]", ax = "(?:" + gW + "|" + YY + ")", yX = "[^" + Xe + "]", VY = "(?:\\ud83c[\\udde6-\\uddff]){2}", NY = "[\\ud800-\\udbff][\\udc00-\\udfff]", uu = "[" + bX + "]", YX = "\\u200d", VX = "(?:" + pX + "|" + BX + ")", dx = "(?:" + uu + "|" + BX + ")", NX = "(?:" + yY + "(?:d|ll|m|re|s|t|ve))?", MX = "(?:" + yY + "(?:D|LL|M|RE|S|T|VE))?", RX = ax + "?", fX = "[" + ZX + "]?", cx = "(?:" + YX + "(?:" + [yX, VY, NY].join("|") + ")" + fX + RX + ")*", rx = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", ux = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", XX = fX + RX + cx, mx = "(?:" + [ox, VY, NY].join("|") + ")" + XX, hx = "(?:" + [yX + gW + "?", gW, VY, NY, lx].join("|") + ")", bx = RegExp(yY, "g"), Zx = RegExp(gW, "g"), MY = RegExp(YY + "(?=" + YY + ")|" + hx + XX, "g"), Gx = RegExp([
|
|
54093
54093
|
uu + "?" + pX + "+" + NX + "(?=" + [wX, uu, "$"].join("|") + ")",
|
|
54094
54094
|
dx + "+" + MX + "(?=" + [wX, uu + VX, "$"].join("|") + ")",
|
|
54095
54095
|
uu + "?" + VX + "+" + NX,
|
|
@@ -54130,9 +54130,9 @@ UB.exports;
|
|
|
54130
54130
|
"parseInt",
|
|
54131
54131
|
"setTimeout"
|
|
54132
54132
|
], Bx = -1, xC = {};
|
|
54133
|
-
xC[LA] = xC[ms] = xC[hl] = xC[TA] = xC[jA] = xC[bl] = xC[Xn] = xC[qt] = xC[tA] = !0, xC[fg] = xC[bI] = xC[Zt] = xC[CC] = xC[St] = xC[HC] = xC[vI] = xC[TC] = xC[qI] = xC[
|
|
54133
|
+
xC[LA] = xC[ms] = xC[hl] = xC[TA] = xC[jA] = xC[bl] = xC[Xn] = xC[qt] = xC[tA] = !0, xC[fg] = xC[bI] = xC[Zt] = xC[CC] = xC[St] = xC[HC] = xC[vI] = xC[TC] = xC[qI] = xC[Ct] = xC[jC] = xC[EC] = xC[DC] = xC[ht] = xC[je] = !1;
|
|
54134
54134
|
var SC = {};
|
|
54135
|
-
SC[fg] = SC[bI] = SC[Zt] = SC[St] = SC[CC] = SC[HC] = SC[LA] = SC[ms] = SC[hl] = SC[TA] = SC[jA] = SC[qI] = SC[
|
|
54135
|
+
SC[fg] = SC[bI] = SC[Zt] = SC[St] = SC[CC] = SC[HC] = SC[LA] = SC[ms] = SC[hl] = SC[TA] = SC[jA] = SC[qI] = SC[Ct] = SC[jC] = SC[EC] = SC[DC] = SC[ht] = SC[et] = SC[bl] = SC[Xn] = SC[qt] = SC[tA] = !0, SC[vI] = SC[TC] = SC[je] = !1;
|
|
54136
54136
|
var yx = {
|
|
54137
54137
|
// Latin-1 Supplement block.
|
|
54138
54138
|
À: "A",
|
|
@@ -54367,8 +54367,8 @@ UB.exports;
|
|
|
54367
54367
|
}
|
|
54368
54368
|
function Xx(tg, hg, dg, Ug) {
|
|
54369
54369
|
for (var wI = -1, iC = tg == null ? 0 : tg.length; ++wI < iC; ) {
|
|
54370
|
-
var
|
|
54371
|
-
hg(Ug,
|
|
54370
|
+
var xe = tg[wI];
|
|
54371
|
+
hg(Ug, xe, dg(xe), tg);
|
|
54372
54372
|
}
|
|
54373
54373
|
return Ug;
|
|
54374
54374
|
}
|
|
@@ -54390,8 +54390,8 @@ UB.exports;
|
|
|
54390
54390
|
}
|
|
54391
54391
|
function Oo(tg, hg) {
|
|
54392
54392
|
for (var dg = -1, Ug = tg == null ? 0 : tg.length, wI = 0, iC = []; ++dg < Ug; ) {
|
|
54393
|
-
var
|
|
54394
|
-
hg(
|
|
54393
|
+
var xe = tg[dg];
|
|
54394
|
+
hg(xe, dg, tg) && (iC[wI++] = xe);
|
|
54395
54395
|
}
|
|
54396
54396
|
return iC;
|
|
54397
54397
|
}
|
|
@@ -54442,8 +54442,8 @@ UB.exports;
|
|
|
54442
54442
|
}
|
|
54443
54443
|
function LX(tg, hg, dg) {
|
|
54444
54444
|
var Ug;
|
|
54445
|
-
return dg(tg, function(wI, iC,
|
|
54446
|
-
if (hg(wI, iC,
|
|
54445
|
+
return dg(tg, function(wI, iC, xe) {
|
|
54446
|
+
if (hg(wI, iC, xe))
|
|
54447
54447
|
return Ug = iC, !1;
|
|
54448
54448
|
}), Ug;
|
|
54449
54449
|
}
|
|
@@ -54480,8 +54480,8 @@ UB.exports;
|
|
|
54480
54480
|
};
|
|
54481
54481
|
}
|
|
54482
54482
|
function xX(tg, hg, dg, Ug, wI) {
|
|
54483
|
-
return wI(tg, function(iC,
|
|
54484
|
-
dg = Ug ? (Ug = !1, iC) : hg(dg, iC,
|
|
54483
|
+
return wI(tg, function(iC, xe, VC) {
|
|
54484
|
+
dg = Ug ? (Ug = !1, iC) : hg(dg, iC, xe, VC);
|
|
54485
54485
|
}), dg;
|
|
54486
54486
|
}
|
|
54487
54487
|
function zx(tg, hg) {
|
|
@@ -54569,8 +54569,8 @@ UB.exports;
|
|
|
54569
54569
|
}
|
|
54570
54570
|
function Uo(tg, hg) {
|
|
54571
54571
|
for (var dg = -1, Ug = tg.length, wI = 0, iC = []; ++dg < Ug; ) {
|
|
54572
|
-
var
|
|
54573
|
-
(
|
|
54572
|
+
var xe = tg[dg];
|
|
54573
|
+
(xe === hg || xe === o) && (tg[dg] = o, iC[wI++] = dg);
|
|
54574
54574
|
}
|
|
54575
54575
|
return iC;
|
|
54576
54576
|
}
|
|
@@ -54623,7 +54623,7 @@ UB.exports;
|
|
|
54623
54623
|
}
|
|
54624
54624
|
var IO = function tg(hg) {
|
|
54625
54625
|
hg = hg == null ? Gt : Zu.defaults(Gt.Object(), hg, Zu.pick(Gt, px));
|
|
54626
|
-
var dg = hg.Array, Ug = hg.Date, wI = hg.Error, iC = hg.Function,
|
|
54626
|
+
var dg = hg.Array, Ug = hg.Date, wI = hg.Error, iC = hg.Function, xe = hg.Math, VC = hg.Object, JY = hg.RegExp, CO = hg.String, EA = hg.TypeError, tW = dg.prototype, eO = iC.prototype, Gu = VC.prototype, iW = hg["__core-js_shared__"], AW = eO.toString, aC = Gu.hasOwnProperty, tO = 0, _X = function() {
|
|
54627
54627
|
var c = /[^.]+$/.exec(iW && iW.keys && iW.keys.IE_PROTO || "");
|
|
54628
54628
|
return c ? "Symbol(src)_1." + c : "";
|
|
54629
54629
|
}(), nW = Gu.toString, iO = AW.call(VC), AO = Gt._, nO = JY(
|
|
@@ -54634,7 +54634,7 @@ UB.exports;
|
|
|
54634
54634
|
return c({}, "", {}), c;
|
|
54635
54635
|
} catch {
|
|
54636
54636
|
}
|
|
54637
|
-
}(), sO = hg.clearTimeout !== Gt.clearTimeout && hg.clearTimeout, lO = Ug && Ug.now !== Gt.Date.now && Ug.now, oO = hg.setTimeout !== Gt.setTimeout && hg.setTimeout, cW =
|
|
54637
|
+
}(), sO = hg.clearTimeout !== Gt.clearTimeout && hg.clearTimeout, lO = Ug && Ug.now !== Gt.Date.now && Ug.now, oO = hg.setTimeout !== Gt.setTimeout && hg.setTimeout, cW = xe.ceil, rW = xe.floor, LY = VC.getOwnPropertySymbols, aO = sW ? sW.isBuffer : I, CH = hg.isFinite, dO = tW.join, cO = EX(VC.keys, VC), Oe = xe.max, kt = xe.min, rO = Ug.now, uO = hg.parseInt, eH = xe.random, mO = tW.reverse, TY = Od(hg, "DataView"), Vh = Od(hg, "Map"), jY = Od(hg, "Promise"), wu = Od(hg, "Set"), Nh = Od(hg, "WeakMap"), Mh = Od(VC, "create"), uW = Nh && new Nh(), Wu = {}, hO = Qd(TY), bO = Qd(Vh), ZO = Qd(jY), GO = Qd(wu), wO = Qd(Nh), mW = Eo ? Eo.prototype : I, Rh = mW ? mW.valueOf : I, tH = mW ? mW.toString : I;
|
|
54638
54638
|
function v(c) {
|
|
54639
54639
|
if (ae(c) && !yI(c) && !(c instanceof jI)) {
|
|
54640
54640
|
if (c instanceof PA)
|
|
@@ -55082,7 +55082,7 @@ UB.exports;
|
|
|
55082
55082
|
return c != null && h in VC(c);
|
|
55083
55083
|
}
|
|
55084
55084
|
function CQ(c, h, w) {
|
|
55085
|
-
return c >= kt(h, w) && c <
|
|
55085
|
+
return c >= kt(h, w) && c < Oe(h, w);
|
|
55086
55086
|
}
|
|
55087
55087
|
function PY(c, h, w) {
|
|
55088
55088
|
for (var V = w ? XY : IW, k = c[0].length, L = c.length, U = L, gg = dg(L), sg = 1 / 0, Gg = []; U--; ) {
|
|
@@ -55314,7 +55314,7 @@ UB.exports;
|
|
|
55314
55314
|
return c + rW(eH() * (h - c + 1));
|
|
55315
55315
|
}
|
|
55316
55316
|
function uQ(c, h, w, V) {
|
|
55317
|
-
for (var k = -1, L =
|
|
55317
|
+
for (var k = -1, L = Oe(cW((h - c) / (w || 1)), 0), U = dg(L); L--; )
|
|
55318
55318
|
U[V ? L : ++k] = c, c += w;
|
|
55319
55319
|
return U;
|
|
55320
55320
|
}
|
|
@@ -55548,7 +55548,7 @@ UB.exports;
|
|
|
55548
55548
|
return c.index - h.index;
|
|
55549
55549
|
}
|
|
55550
55550
|
function DH(c, h, w, V) {
|
|
55551
|
-
for (var k = -1, L = c.length, U = w.length, gg = -1, sg = h.length, Gg =
|
|
55551
|
+
for (var k = -1, L = c.length, U = w.length, gg = -1, sg = h.length, Gg = Oe(L - U, 0), wg = dg(sg + Gg), Vg = !V; ++gg < sg; )
|
|
55552
55552
|
wg[gg] = h[gg];
|
|
55553
55553
|
for (; ++k < U; )
|
|
55554
55554
|
(Vg || k < L) && (wg[w[k]] = c[k]);
|
|
@@ -55557,7 +55557,7 @@ UB.exports;
|
|
|
55557
55557
|
return wg;
|
|
55558
55558
|
}
|
|
55559
55559
|
function SH(c, h, w, V) {
|
|
55560
|
-
for (var k = -1, L = c.length, U = -1, gg = w.length, sg = -1, Gg = h.length, wg =
|
|
55560
|
+
for (var k = -1, L = c.length, U = -1, gg = w.length, sg = -1, Gg = h.length, wg = Oe(L - gg, 0), Vg = dg(wg + Gg), Lg = !V; ++k < wg; )
|
|
55561
55561
|
Vg[k] = c[k];
|
|
55562
55562
|
for (var II = k; ++sg < Gg; )
|
|
55563
55563
|
Vg[II + sg] = h[sg];
|
|
@@ -55832,7 +55832,7 @@ UB.exports;
|
|
|
55832
55832
|
return h1(c) && I9(mI, HI), mI.placeholder = V, C9(mI, c, h);
|
|
55833
55833
|
}
|
|
55834
55834
|
function o1(c) {
|
|
55835
|
-
var h =
|
|
55835
|
+
var h = xe[c];
|
|
55836
55836
|
return function(w, V) {
|
|
55837
55837
|
if (w = gn(w), V = V == null ? 0 : kt(MI(V), 292), V && CH(w)) {
|
|
55838
55838
|
var k = (sC(w) + "e").split("e"), L = h(k[0] + "e" + (+k[1] + V));
|
|
@@ -55855,7 +55855,7 @@ UB.exports;
|
|
|
55855
55855
|
if (!sg && typeof c != "function")
|
|
55856
55856
|
throw new EA(A);
|
|
55857
55857
|
var Gg = V ? V.length : 0;
|
|
55858
|
-
if (Gg || (h &= ~(y | M), V = k = I), U = U === I ? U :
|
|
55858
|
+
if (Gg || (h &= ~(y | M), V = k = I), U = U === I ? U : Oe(MI(U), 0), gg = gg === I ? gg : MI(gg), Gg -= k ? k.length : 0, h & M) {
|
|
55859
55859
|
var wg = V, Vg = k;
|
|
55860
55860
|
V = k = I;
|
|
55861
55861
|
}
|
|
@@ -55871,7 +55871,7 @@ UB.exports;
|
|
|
55871
55871
|
U,
|
|
55872
55872
|
gg
|
|
55873
55873
|
];
|
|
55874
|
-
if (Lg && OQ(II, Lg), c = II[0], h = II[1], w = II[2], V = II[3], k = II[4], gg = II[9] = II[9] === I ? sg ? 0 : c.length :
|
|
55874
|
+
if (Lg && OQ(II, Lg), c = II[0], h = II[1], w = II[2], V = II[3], k = II[4], gg = II[9] = II[9] === I ? sg ? 0 : c.length : Oe(II[9] - Gg, 0), !gg && h & (p | B) && (h &= ~(p | B)), !h || h == Z)
|
|
55875
55875
|
var uI = NQ(c, h, w);
|
|
55876
55876
|
else h == p || h == B ? uI = MQ(c, h, gg) : (h == y || h == (Z | y)) && !k.length ? uI = RQ(c, h, w, V) : uI = yW.apply(I, II);
|
|
55877
55877
|
var HI = Lg ? BH : I9;
|
|
@@ -55929,7 +55929,7 @@ UB.exports;
|
|
|
55929
55929
|
return !(c.byteLength != h.byteLength || !L(new lW(c), new lW(h)));
|
|
55930
55930
|
case CC:
|
|
55931
55931
|
case HC:
|
|
55932
|
-
case
|
|
55932
|
+
case Ct:
|
|
55933
55933
|
return Kn(+c, +h);
|
|
55934
55934
|
case vI:
|
|
55935
55935
|
return c.name == h.name && c.message == h.message;
|
|
@@ -55948,7 +55948,7 @@ UB.exports;
|
|
|
55948
55948
|
V |= b, U.set(c, h);
|
|
55949
55949
|
var wg = QH(gg(c), gg(h), V, k, L, U);
|
|
55950
55950
|
return U.delete(c), wg;
|
|
55951
|
-
case
|
|
55951
|
+
case et:
|
|
55952
55952
|
if (Rh)
|
|
55953
55953
|
return Rh.call(c) == Rh.call(h);
|
|
55954
55954
|
}
|
|
@@ -56047,7 +56047,7 @@ UB.exports;
|
|
|
56047
56047
|
Qo(h, u1(c)), c = oW(c);
|
|
56048
56048
|
return h;
|
|
56049
56049
|
} : H1, Ft = Ii;
|
|
56050
|
-
(TY && Ft(new TY(new ArrayBuffer(1))) != St || Vh && Ft(new Vh()) != qI || jY && Ft(jY.resolve()) != Te || wu && Ft(new wu()) != DC || Nh && Ft(new Nh()) !=
|
|
56050
|
+
(TY && Ft(new TY(new ArrayBuffer(1))) != St || Vh && Ft(new Vh()) != qI || jY && Ft(jY.resolve()) != Te || wu && Ft(new wu()) != DC || Nh && Ft(new Nh()) != je) && (Ft = function(c) {
|
|
56051
56051
|
var h = Ii(c), w = h == jC ? c.constructor : I, V = w ? Qd(w) : "";
|
|
56052
56052
|
if (V)
|
|
56053
56053
|
switch (V) {
|
|
@@ -56060,7 +56060,7 @@ UB.exports;
|
|
|
56060
56060
|
case GO:
|
|
56061
56061
|
return DC;
|
|
56062
56062
|
case wO:
|
|
56063
|
-
return
|
|
56063
|
+
return je;
|
|
56064
56064
|
}
|
|
56065
56065
|
return h;
|
|
56066
56066
|
});
|
|
@@ -56078,7 +56078,7 @@ UB.exports;
|
|
|
56078
56078
|
h = kt(h, c + U);
|
|
56079
56079
|
break;
|
|
56080
56080
|
case "takeRight":
|
|
56081
|
-
c =
|
|
56081
|
+
c = Oe(c, h - U);
|
|
56082
56082
|
break;
|
|
56083
56083
|
}
|
|
56084
56084
|
}
|
|
@@ -56127,14 +56127,14 @@ UB.exports;
|
|
|
56127
56127
|
return XH(c, w);
|
|
56128
56128
|
case qI:
|
|
56129
56129
|
return new V();
|
|
56130
|
-
case
|
|
56130
|
+
case Ct:
|
|
56131
56131
|
case ht:
|
|
56132
56132
|
return new V(c);
|
|
56133
56133
|
case EC:
|
|
56134
56134
|
return pQ(c);
|
|
56135
56135
|
case DC:
|
|
56136
56136
|
return new V();
|
|
56137
|
-
case
|
|
56137
|
+
case et:
|
|
56138
56138
|
return BQ(c);
|
|
56139
56139
|
}
|
|
56140
56140
|
}
|
|
@@ -56224,8 +56224,8 @@ UB.exports;
|
|
|
56224
56224
|
return nW.call(c);
|
|
56225
56225
|
}
|
|
56226
56226
|
function qH(c, h, w) {
|
|
56227
|
-
return h =
|
|
56228
|
-
for (var V = arguments, k = -1, L =
|
|
56227
|
+
return h = Oe(h === I ? c.length - 1 : h, 0), function() {
|
|
56228
|
+
for (var V = arguments, k = -1, L = Oe(V.length - h, 0), U = dg(L); ++k < L; )
|
|
56229
56229
|
U[k] = V[h + k];
|
|
56230
56230
|
k = -1;
|
|
56231
56231
|
for (var gg = dg(h + 1); ++k < h; )
|
|
@@ -56312,7 +56312,7 @@ UB.exports;
|
|
|
56312
56312
|
return h.__actions__ = Xi(c.__actions__), h.__index__ = c.__index__, h.__values__ = c.__values__, h;
|
|
56313
56313
|
}
|
|
56314
56314
|
function _Q(c, h, w) {
|
|
56315
|
-
(w ? Ci(c, h, w) : h === I) ? h = 1 : h =
|
|
56315
|
+
(w ? Ci(c, h, w) : h === I) ? h = 1 : h = Oe(MI(h), 0);
|
|
56316
56316
|
var V = c == null ? 0 : c.length;
|
|
56317
56317
|
if (!V || h < 1)
|
|
56318
56318
|
return [];
|
|
@@ -56367,14 +56367,14 @@ UB.exports;
|
|
|
56367
56367
|
if (!V)
|
|
56368
56368
|
return -1;
|
|
56369
56369
|
var k = w == null ? 0 : MI(w);
|
|
56370
|
-
return k < 0 && (k =
|
|
56370
|
+
return k < 0 && (k = Oe(V + k, 0)), CW(c, cI(h, 3), k);
|
|
56371
56371
|
}
|
|
56372
56372
|
function n9(c, h, w) {
|
|
56373
56373
|
var V = c == null ? 0 : c.length;
|
|
56374
56374
|
if (!V)
|
|
56375
56375
|
return -1;
|
|
56376
56376
|
var k = V - 1;
|
|
56377
|
-
return w !== I && (k = MI(w), k = w < 0 ?
|
|
56377
|
+
return w !== I && (k = MI(w), k = w < 0 ? Oe(V + k, 0) : kt(k, V - 1)), CW(c, cI(h, 3), k, !0);
|
|
56378
56378
|
}
|
|
56379
56379
|
function s9(c) {
|
|
56380
56380
|
var h = c == null ? 0 : c.length;
|
|
@@ -56403,7 +56403,7 @@ UB.exports;
|
|
|
56403
56403
|
if (!V)
|
|
56404
56404
|
return -1;
|
|
56405
56405
|
var k = w == null ? 0 : MI(w);
|
|
56406
|
-
return k < 0 && (k =
|
|
56406
|
+
return k < 0 && (k = Oe(V + k, 0)), mu(c, h, k);
|
|
56407
56407
|
}
|
|
56408
56408
|
function d7(c) {
|
|
56409
56409
|
var h = c == null ? 0 : c.length;
|
|
@@ -56431,7 +56431,7 @@ UB.exports;
|
|
|
56431
56431
|
if (!V)
|
|
56432
56432
|
return -1;
|
|
56433
56433
|
var k = V;
|
|
56434
|
-
return w !== I && (k = MI(w), k = k < 0 ?
|
|
56434
|
+
return w !== I && (k = MI(w), k = k < 0 ? Oe(V + k, 0) : kt(k, V - 1)), h === h ? Px(c, h, k) : CW(c, TX, k, !0);
|
|
56435
56435
|
}
|
|
56436
56436
|
function b7(c, h) {
|
|
56437
56437
|
return c && c.length ? GH(c, MI(h)) : I;
|
|
@@ -56547,7 +56547,7 @@ UB.exports;
|
|
|
56547
56547
|
var h = 0;
|
|
56548
56548
|
return c = Oo(c, function(w) {
|
|
56549
56549
|
if (pe(w))
|
|
56550
|
-
return h =
|
|
56550
|
+
return h = Oe(w.length, h), !0;
|
|
56551
56551
|
}), FY(h, function(w) {
|
|
56552
56552
|
return _C(c, SY(w));
|
|
56553
56553
|
});
|
|
@@ -56676,7 +56676,7 @@ UB.exports;
|
|
|
56676
56676
|
function mU(c, h, w, V) {
|
|
56677
56677
|
c = Hi(c) ? c : Nu(c), w = w && !V ? MI(w) : 0;
|
|
56678
56678
|
var k = c.length;
|
|
56679
|
-
return w < 0 && (w =
|
|
56679
|
+
return w < 0 && (w = Oe(k + w, 0)), FW(c) ? w <= k && c.indexOf(h, w) > -1 : !!k && mu(c, h, w) > -1;
|
|
56680
56680
|
}
|
|
56681
56681
|
var hU = zI(function(c, h, w) {
|
|
56682
56682
|
var V = -1, k = typeof h == "function", L = Hi(c) ? dg(c.length) : [];
|
|
@@ -56791,7 +56791,7 @@ UB.exports;
|
|
|
56791
56791
|
var V, k, L, U, gg, sg, Gg = 0, wg = !1, Vg = !1, Lg = !0;
|
|
56792
56792
|
if (typeof c != "function")
|
|
56793
56793
|
throw new EA(A);
|
|
56794
|
-
h = gn(h) || 0, ie(w) && (wg = !!w.leading, Vg = "maxWait" in w, L = Vg ?
|
|
56794
|
+
h = gn(h) || 0, ie(w) && (wg = !!w.leading, Vg = "maxWait" in w, L = Vg ? Oe(gn(w.maxWait) || 0, h) : L, Lg = "trailing" in w ? !!w.trailing : Lg);
|
|
56795
56795
|
function II(Be) {
|
|
56796
56796
|
var kn = V, Rl = k;
|
|
56797
56797
|
return V = k = I, Gg = Be, U = c.apply(Rl, kn), U;
|
|
@@ -56901,7 +56901,7 @@ UB.exports;
|
|
|
56901
56901
|
function FU(c, h) {
|
|
56902
56902
|
if (typeof c != "function")
|
|
56903
56903
|
throw new EA(A);
|
|
56904
|
-
return h = h == null ? 0 :
|
|
56904
|
+
return h = h == null ? 0 : Oe(MI(h), 0), zI(function(w) {
|
|
56905
56905
|
var V = w[h], k = qo(w, 0, h);
|
|
56906
56906
|
return V && Qo(k, V), AA(c, this, k);
|
|
56907
56907
|
});
|
|
@@ -57039,7 +57039,7 @@ UB.exports;
|
|
|
57039
57039
|
return c == null;
|
|
57040
57040
|
}
|
|
57041
57041
|
function B9(c) {
|
|
57042
|
-
return typeof c == "number" || ae(c) && Ii(c) ==
|
|
57042
|
+
return typeof c == "number" || ae(c) && Ii(c) == Ct;
|
|
57043
57043
|
}
|
|
57044
57044
|
function zh(c) {
|
|
57045
57045
|
if (!ae(c) || Ii(c) != jC)
|
|
@@ -57059,14 +57059,14 @@ UB.exports;
|
|
|
57059
57059
|
return typeof c == "string" || !yI(c) && ae(c) && Ii(c) == ht;
|
|
57060
57060
|
}
|
|
57061
57061
|
function lA(c) {
|
|
57062
|
-
return typeof c == "symbol" || ae(c) && Ii(c) ==
|
|
57062
|
+
return typeof c == "symbol" || ae(c) && Ii(c) == et;
|
|
57063
57063
|
}
|
|
57064
57064
|
var Vu = vX ? nA(vX) : oQ;
|
|
57065
57065
|
function aE(c) {
|
|
57066
57066
|
return c === I;
|
|
57067
57067
|
}
|
|
57068
57068
|
function dE(c) {
|
|
57069
|
-
return ae(c) && Ft(c) ==
|
|
57069
|
+
return ae(c) && Ft(c) == je;
|
|
57070
57070
|
}
|
|
57071
57071
|
function cE(c) {
|
|
57072
57072
|
return ae(c) && Ii(c) == bt;
|
|
@@ -57648,7 +57648,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
57648
57648
|
v[c].placeholder = v;
|
|
57649
57649
|
}), UA(["drop", "take"], function(c, h) {
|
|
57650
57650
|
jI.prototype[c] = function(w) {
|
|
57651
|
-
w = w === I ? 1 :
|
|
57651
|
+
w = w === I ? 1 : Oe(MI(w), 0);
|
|
57652
57652
|
var V = this.__filtered__ && !h ? new jI(this) : this.clone();
|
|
57653
57653
|
return V.__filtered__ ? V.__takeCount__ = kt(w, V.__takeCount__) : V.__views__.push({
|
|
57654
57654
|
size: kt(w, Jg),
|
|
@@ -59617,7 +59617,7 @@ class W6g {
|
|
|
59617
59617
|
R(this, ty, 0);
|
|
59618
59618
|
}
|
|
59619
59619
|
get id() {
|
|
59620
|
-
return `${sZ}${
|
|
59620
|
+
return `${sZ}${Qe(this, ty)._++}`;
|
|
59621
59621
|
}
|
|
59622
59622
|
}
|
|
59623
59623
|
ty = new WeakMap();
|
|
@@ -59678,7 +59678,7 @@ const dX = class dX {
|
|
|
59678
59678
|
const t = new OffscreenCanvas(I.width, I.height);
|
|
59679
59679
|
return t.getContext("2d").drawImage(I, 0, 0), e = {
|
|
59680
59680
|
bitmap: t.transferToImageBitmap(),
|
|
59681
|
-
id: `image_${d(this, Gm)}_${
|
|
59681
|
+
id: `image_${d(this, Gm)}_${Qe(this, HZ)._++}`,
|
|
59682
59682
|
refCounter: 1,
|
|
59683
59683
|
isSvg: !1
|
|
59684
59684
|
}, d(this, Jt).set(g, e), d(this, Jt).set(e.id, e), e;
|
|
@@ -59716,7 +59716,7 @@ Gm = new WeakMap(), HZ = new WeakMap(), Jt = new WeakMap(), wm = new WeakSet(),
|
|
|
59716
59716
|
try {
|
|
59717
59717
|
e || (e = {
|
|
59718
59718
|
bitmap: null,
|
|
59719
|
-
id: `image_${d(this, Gm)}_${
|
|
59719
|
+
id: `image_${d(this, Gm)}_${Qe(this, HZ)._++}`,
|
|
59720
59720
|
refCounter: 0,
|
|
59721
59721
|
isSvg: !1
|
|
59722
59722
|
});
|
|
@@ -59880,7 +59880,7 @@ const Ay = class Ay {
|
|
|
59880
59880
|
};
|
|
59881
59881
|
Ng(Ay, "_colorsMapping", /* @__PURE__ */ new Map([["CanvasText", [0, 0, 0]], ["Canvas", [255, 255, 255]]]));
|
|
59882
59882
|
let jN = Ay;
|
|
59883
|
-
var Wm, cA, pm, ce,
|
|
59883
|
+
var Wm, cA, pm, ce, _e, Bm, sn, ym, ln, Lt, Ga, wa, Ym, Wa, Ms, on, pc, SZ, KZ, Vm, kZ, Rs, pa, Nm, Ba, fs, ny, ya, Mm, FZ, Ya, Bc, Rm, Va, zZ, Se, dC, jl, Na, Ma, vZ, fm, JZ, Ra, Xs, xl, LZ, TZ, an, vg, vp, xN, Rv, fv, sb, Xv, Hv, Dv, ON, Sv, Kv, kv, Fv, oi, Kl, zv, vv, QN, Jv, lb, UN;
|
|
59884
59884
|
const im = class im {
|
|
59885
59885
|
constructor(g, I, e, t, i, A, n, s, l, o, a, r, u, m, b, Z) {
|
|
59886
59886
|
R(this, vg);
|
|
@@ -59888,7 +59888,7 @@ const im = class im {
|
|
|
59888
59888
|
R(this, cA, null);
|
|
59889
59889
|
R(this, pm, null);
|
|
59890
59890
|
R(this, ce, /* @__PURE__ */ new Map());
|
|
59891
|
-
R(this,
|
|
59891
|
+
R(this, _e, /* @__PURE__ */ new Map());
|
|
59892
59892
|
R(this, Bm, null);
|
|
59893
59893
|
R(this, sn, null);
|
|
59894
59894
|
R(this, ym, null);
|
|
@@ -60026,9 +60026,9 @@ const im = class im {
|
|
|
60026
60026
|
destroy() {
|
|
60027
60027
|
var g, I, e, t, i, A, n, s, l;
|
|
60028
60028
|
(g = d(this, an)) == null || g.resolve(), Y(this, an, null), (I = d(this, Wm)) == null || I.abort(), Y(this, Wm, null), this._signal = null;
|
|
60029
|
-
for (const o of d(this,
|
|
60029
|
+
for (const o of d(this, _e).values())
|
|
60030
60030
|
o.destroy();
|
|
60031
|
-
d(this,
|
|
60031
|
+
d(this, _e).clear(), d(this, ce).clear(), d(this, pc).clear(), (e = d(this, Va)) == null || e.clear(), Y(this, cA, null), d(this, dC).clear(), d(this, ln).destroy(), (t = d(this, Bm)) == null || t.destroy(), (i = d(this, Lt)) == null || i.destroy(), (A = d(this, Na)) == null || A.destroy(), (n = d(this, fs)) == null || n.hide(), Y(this, fs, null), (s = d(this, Rm)) == null || s.destroy(), Y(this, Rm, null), Y(this, pm, null), d(this, Rs) && (clearTimeout(d(this, Rs)), Y(this, Rs, null)), d(this, Xs) && (clearTimeout(d(this, Xs)), Y(this, Xs, null)), (l = this._editorUndoBar) == null || l.destroy(), Y(this, fm, null);
|
|
60032
60032
|
}
|
|
60033
60033
|
combinedSignal(g) {
|
|
60034
60034
|
return AbortSignal.any([this._signal, g.signal]);
|
|
@@ -60098,7 +60098,7 @@ const im = class im {
|
|
|
60098
60098
|
(i = d(this, Lt)) == null || i.showDialog(this, g, I, e, t);
|
|
60099
60099
|
}
|
|
60100
60100
|
selectComment(g, I) {
|
|
60101
|
-
const e = d(this,
|
|
60101
|
+
const e = d(this, _e).get(g), t = e == null ? void 0 : e.getEditorByUID(I);
|
|
60102
60102
|
t == null || t.toggleComment(!0, !0);
|
|
60103
60103
|
}
|
|
60104
60104
|
updateComment(g) {
|
|
@@ -60126,7 +60126,7 @@ const im = class im {
|
|
|
60126
60126
|
return ((g = d(this, Lt)) == null ? void 0 : g.dialogElement) || null;
|
|
60127
60127
|
}
|
|
60128
60128
|
async waitForEditorsRendered(g) {
|
|
60129
|
-
if (d(this,
|
|
60129
|
+
if (d(this, _e).has(g - 1))
|
|
60130
60130
|
return;
|
|
60131
60131
|
const {
|
|
60132
60132
|
resolve: I,
|
|
@@ -60181,7 +60181,7 @@ const im = class im {
|
|
|
60181
60181
|
d(this, xl).focus();
|
|
60182
60182
|
}
|
|
60183
60183
|
findParent(g, I) {
|
|
60184
|
-
for (const e of d(this,
|
|
60184
|
+
for (const e of d(this, _e).values()) {
|
|
60185
60185
|
const {
|
|
60186
60186
|
x: t,
|
|
60187
60187
|
y: i,
|
|
@@ -60422,19 +60422,19 @@ const im = class im {
|
|
|
60422
60422
|
return d(this, ny).id;
|
|
60423
60423
|
}
|
|
60424
60424
|
get currentLayer() {
|
|
60425
|
-
return d(this,
|
|
60425
|
+
return d(this, _e).get(d(this, Ym));
|
|
60426
60426
|
}
|
|
60427
60427
|
getLayer(g) {
|
|
60428
|
-
return d(this,
|
|
60428
|
+
return d(this, _e).get(g);
|
|
60429
60429
|
}
|
|
60430
60430
|
get currentPageIndex() {
|
|
60431
60431
|
return d(this, Ym);
|
|
60432
60432
|
}
|
|
60433
60433
|
addLayer(g) {
|
|
60434
|
-
d(this,
|
|
60434
|
+
d(this, _e).set(g.pageIndex, g), d(this, ya) ? g.enable() : g.disable();
|
|
60435
60435
|
}
|
|
60436
60436
|
removeLayer(g) {
|
|
60437
|
-
d(this,
|
|
60437
|
+
d(this, _e).delete(g.pageIndex);
|
|
60438
60438
|
}
|
|
60439
60439
|
async updateMode(g, I = null, e = !1, t = !1, i = !1) {
|
|
60440
60440
|
var A, n, s, l, o, a;
|
|
@@ -60449,7 +60449,7 @@ const im = class im {
|
|
|
60449
60449
|
for (const r of d(this, ce).values())
|
|
60450
60450
|
r.addStandaloneCommentButton();
|
|
60451
60451
|
g === VI.SIGNATURE && await ((o = d(this, Na)) == null ? void 0 : o.loadSignatures()), this.setEditingState(!0), await H(this, vg, zv).call(this), this.unselectAll();
|
|
60452
|
-
for (const r of d(this,
|
|
60452
|
+
for (const r of d(this, _e).values())
|
|
60453
60453
|
r.updateMode(g);
|
|
60454
60454
|
if (g === VI.POPUP) {
|
|
60455
60455
|
d(this, pm) || Y(this, pm, await d(this, fm).getAnnotationsByType(new Set(d(this, on).map((m) => m._editorType))));
|
|
@@ -60526,7 +60526,7 @@ const im = class im {
|
|
|
60526
60526
|
enableWaiting(g = !1) {
|
|
60527
60527
|
if (d(this, FZ) !== g) {
|
|
60528
60528
|
Y(this, FZ, g);
|
|
60529
|
-
for (const I of d(this,
|
|
60529
|
+
for (const I of d(this, _e).values())
|
|
60530
60530
|
g ? I.disableClick() : I.enableClick(), I.div.classList.toggle("waiting", g);
|
|
60531
60531
|
}
|
|
60532
60532
|
}
|
|
@@ -60724,7 +60724,7 @@ const im = class im {
|
|
|
60724
60724
|
return !1;
|
|
60725
60725
|
const e = (t, i, A, n) => {
|
|
60726
60726
|
if (d(this, ce).has(t.id)) {
|
|
60727
|
-
const s = d(this,
|
|
60727
|
+
const s = d(this, _e).get(n);
|
|
60728
60728
|
s ? t._setParentAndPosition(s, i, A) : (t.pageIndex = n, t.x = i, t.y = A);
|
|
60729
60729
|
}
|
|
60730
60730
|
};
|
|
@@ -60870,7 +60870,7 @@ const im = class im {
|
|
|
60870
60870
|
(d(this, Va) || Y(this, Va, /* @__PURE__ */ new Map())).set(g, I);
|
|
60871
60871
|
}
|
|
60872
60872
|
};
|
|
60873
|
-
Wm = new WeakMap(), cA = new WeakMap(), pm = new WeakMap(), ce = new WeakMap(),
|
|
60873
|
+
Wm = new WeakMap(), cA = new WeakMap(), pm = new WeakMap(), ce = new WeakMap(), _e = new WeakMap(), Bm = new WeakMap(), sn = new WeakMap(), ym = new WeakMap(), ln = new WeakMap(), Lt = new WeakMap(), Ga = new WeakMap(), wa = new WeakMap(), Ym = new WeakMap(), Wa = new WeakMap(), Ms = new WeakMap(), on = new WeakMap(), pc = new WeakMap(), SZ = new WeakMap(), KZ = new WeakMap(), Vm = new WeakMap(), kZ = new WeakMap(), Rs = new WeakMap(), pa = new WeakMap(), Nm = new WeakMap(), Ba = new WeakMap(), fs = new WeakMap(), ny = new WeakMap(), ya = new WeakMap(), Mm = new WeakMap(), FZ = new WeakMap(), Ya = new WeakMap(), Bc = new WeakMap(), Rm = new WeakMap(), Va = new WeakMap(), zZ = new WeakMap(), Se = new WeakMap(), dC = new WeakMap(), jl = new WeakMap(), Na = new WeakMap(), Ma = new WeakMap(), vZ = new WeakMap(), fm = new WeakMap(), JZ = new WeakMap(), Ra = new WeakMap(), Xs = new WeakMap(), xl = new WeakMap(), LZ = new WeakMap(), TZ = new WeakMap(), an = new WeakMap(), vg = new WeakSet(), vp = function({
|
|
60874
60874
|
anchorNode: g
|
|
60875
60875
|
}) {
|
|
60876
60876
|
return g.nodeType === Node.TEXT_NODE ? g.parentElement : g;
|
|
@@ -60880,7 +60880,7 @@ Wm = new WeakMap(), cA = new WeakMap(), pm = new WeakMap(), ce = new WeakMap(),
|
|
|
60880
60880
|
} = this;
|
|
60881
60881
|
if (I.hasTextLayer(g))
|
|
60882
60882
|
return I;
|
|
60883
|
-
for (const e of d(this,
|
|
60883
|
+
for (const e of d(this, _e).values())
|
|
60884
60884
|
if (e.hasTextLayer(g))
|
|
60885
60885
|
return e;
|
|
60886
60886
|
return null;
|
|
@@ -60995,7 +60995,7 @@ Wm = new WeakMap(), cA = new WeakMap(), pm = new WeakMap(), ce = new WeakMap(),
|
|
|
60995
60995
|
if (!d(this, ya)) {
|
|
60996
60996
|
Y(this, ya, !0);
|
|
60997
60997
|
const g = [];
|
|
60998
|
-
for (const I of d(this,
|
|
60998
|
+
for (const I of d(this, _e).values())
|
|
60999
60999
|
g.push(I.enable());
|
|
61000
61000
|
await Promise.all(g);
|
|
61001
61001
|
for (const I of d(this, ce).values())
|
|
@@ -61004,13 +61004,13 @@ Wm = new WeakMap(), cA = new WeakMap(), pm = new WeakMap(), ce = new WeakMap(),
|
|
|
61004
61004
|
}, vv = function() {
|
|
61005
61005
|
if (this.unselectAll(), d(this, ya)) {
|
|
61006
61006
|
Y(this, ya, !1);
|
|
61007
|
-
for (const g of d(this,
|
|
61007
|
+
for (const g of d(this, _e).values())
|
|
61008
61008
|
g.disable();
|
|
61009
61009
|
for (const g of d(this, ce).values())
|
|
61010
61010
|
g.disable();
|
|
61011
61011
|
}
|
|
61012
61012
|
}, QN = function(g) {
|
|
61013
|
-
const I = d(this,
|
|
61013
|
+
const I = d(this, _e).get(g.pageIndex);
|
|
61014
61014
|
I ? I.addOrRebuild(g) : (this.addEditor(g), this.addToAnnotationStorage(g));
|
|
61015
61015
|
}, Jv = function() {
|
|
61016
61016
|
let g = null;
|
|
@@ -64108,7 +64108,7 @@ class H6g extends sJ {
|
|
|
64108
64108
|
const [t, i, A] = H(this, Qg, Qp).call(this, I), n = I.length === 1 ? t : `${t}${i}${A}`;
|
|
64109
64109
|
if (e = d(this, Qg, zt).get(n), e)
|
|
64110
64110
|
return d(this, Qg, zt).set(I, e), e;
|
|
64111
|
-
const s = `g_${d(this, Co)}_transfer_map_${
|
|
64111
|
+
const s = `g_${d(this, Co)}_transfer_map_${Qe(this, xc)._++}`, l = H(this, Qg, vu).call(this, s);
|
|
64112
64112
|
d(this, Qg, zt).set(I, l), d(this, Qg, zt).set(n, l);
|
|
64113
64113
|
const o = H(this, Qg, Ju).call(this, s);
|
|
64114
64114
|
return H(this, Qg, hb).call(this, t, i, A, o), l;
|
|
@@ -64150,7 +64150,7 @@ class H6g extends sJ {
|
|
|
64150
64150
|
const [t] = H(this, Qg, Qp).call(this, [I]), i = `alpha_${t}`;
|
|
64151
64151
|
if (e = d(this, Qg, zt).get(i), e)
|
|
64152
64152
|
return d(this, Qg, zt).set(I, e), e;
|
|
64153
|
-
const A = `g_${d(this, Co)}_alpha_map_${
|
|
64153
|
+
const A = `g_${d(this, Co)}_alpha_map_${Qe(this, xc)._++}`, n = H(this, Qg, vu).call(this, A);
|
|
64154
64154
|
d(this, Qg, zt).set(I, n), d(this, Qg, zt).set(i, n);
|
|
64155
64155
|
const s = H(this, Qg, Ju).call(this, A);
|
|
64156
64156
|
return H(this, Qg, sM).call(this, t, s), n;
|
|
@@ -64162,7 +64162,7 @@ class H6g extends sJ {
|
|
|
64162
64162
|
let t, i;
|
|
64163
64163
|
if (I ? ([t] = H(this, Qg, Qp).call(this, [I]), i = `luminosity_${t}`) : i = "luminosity", e = d(this, Qg, zt).get(i), e)
|
|
64164
64164
|
return d(this, Qg, zt).set(I, e), e;
|
|
64165
|
-
const A = `g_${d(this, Co)}_luminosity_map_${
|
|
64165
|
+
const A = `g_${d(this, Co)}_luminosity_map_${Qe(this, xc)._++}`, n = H(this, Qg, vu).call(this, A);
|
|
64166
64166
|
d(this, Qg, zt).set(I, n), d(this, Qg, zt).set(i, n);
|
|
64167
64167
|
const s = H(this, Qg, Ju).call(this, A);
|
|
64168
64168
|
return H(this, Qg, lJ).call(this, s), I && H(this, Qg, sM).call(this, t, s), n;
|
|
@@ -64611,19 +64611,19 @@ const rX = class rX {
|
|
|
64611
64611
|
throw new Error("Unreachable");
|
|
64612
64612
|
}
|
|
64613
64613
|
save(g) {
|
|
64614
|
-
return
|
|
64614
|
+
return Qe(this, _m)._++, d(this, MC).save(d(this, re)), this;
|
|
64615
64615
|
}
|
|
64616
64616
|
restore(g) {
|
|
64617
|
-
return d(this, _m) > 0 && (d(this, MC).restore(d(this, re)),
|
|
64617
|
+
return d(this, _m) > 0 && (d(this, MC).restore(d(this, re)), Qe(this, _m)._--), this;
|
|
64618
64618
|
}
|
|
64619
64619
|
recordOpenMarker(g) {
|
|
64620
|
-
return
|
|
64620
|
+
return Qe(this, Pm)._++, this;
|
|
64621
64621
|
}
|
|
64622
64622
|
getOpenMarker() {
|
|
64623
64623
|
return d(this, Pm) > 0 ? d(this, re) : d(this, MC).getOpenMarker();
|
|
64624
64624
|
}
|
|
64625
64625
|
recordCloseMarker(g) {
|
|
64626
|
-
return
|
|
64626
|
+
return Qe(this, Pm)._--, this;
|
|
64627
64627
|
}
|
|
64628
64628
|
beginMarkedContent(g) {
|
|
64629
64629
|
return this;
|
|
@@ -67356,7 +67356,7 @@ hA = new WeakMap(), pG = new WeakSet(), hM = function(g) {
|
|
|
67356
67356
|
};
|
|
67357
67357
|
const Z8g = 1e5, tK = 30;
|
|
67358
67358
|
var a3, ka, Ti, BG, yG, Pc, Ao, YG, VG, _c, C0, e0, Fa, t0, NG, i0, $c, MG, RG, A0, qc, fG, za, n0, ko, ZJ, GJ, bM, zA, Up, ZM, wJ, WJ;
|
|
67359
|
-
const
|
|
67359
|
+
const Ee = class Ee {
|
|
67360
67360
|
constructor({
|
|
67361
67361
|
textContentSource: g,
|
|
67362
67362
|
container: I,
|
|
@@ -67403,8 +67403,8 @@ const Ue = class Ue {
|
|
|
67403
67403
|
pageX: A,
|
|
67404
67404
|
pageY: n
|
|
67405
67405
|
} = e.rawDims;
|
|
67406
|
-
Y(this, RG, [1, 0, 0, -1, -A, n + i]), Y(this, VG, t), Y(this, YG, i), H(s =
|
|
67407
|
-
d(
|
|
67406
|
+
Y(this, RG, [1, 0, 0, -1, -A, n + i]), Y(this, VG, t), Y(this, YG, i), H(s = Ee, zA, wJ).call(s), Er(I, e), d(this, ka).promise.finally(() => {
|
|
67407
|
+
d(Ee, n0).delete(this), Y(this, Ao, null), Y(this, t0, null);
|
|
67408
67408
|
}).catch(() => {
|
|
67409
67409
|
});
|
|
67410
67410
|
}
|
|
@@ -67428,7 +67428,7 @@ const Ue = class Ue {
|
|
|
67428
67428
|
d(this, Pc) ?? Y(this, Pc, I.lang), Object.assign(d(this, t0), I.styles), H(this, ko, ZJ).call(this, I.items), g();
|
|
67429
67429
|
}, d(this, ka).reject);
|
|
67430
67430
|
};
|
|
67431
|
-
return Y(this, _c, d(this, i0).getReader()), d(
|
|
67431
|
+
return Y(this, _c, d(this, i0).getReader()), d(Ee, n0).add(this), g(), d(this, ka).promise;
|
|
67432
67432
|
}
|
|
67433
67433
|
update({
|
|
67434
67434
|
viewport: g,
|
|
@@ -67443,7 +67443,7 @@ const Ue = class Ue {
|
|
|
67443
67443
|
const A = {
|
|
67444
67444
|
div: null,
|
|
67445
67445
|
properties: null,
|
|
67446
|
-
ctx: H(i =
|
|
67446
|
+
ctx: H(i = Ee, zA, Up).call(i, d(this, Pc))
|
|
67447
67447
|
};
|
|
67448
67448
|
for (const n of d(this, $c))
|
|
67449
67449
|
A.properties = d(this, MG).get(n), A.div = n, H(this, ko, bM).call(this, A);
|
|
@@ -67476,7 +67476,7 @@ ka = new WeakMap(), Ti = new WeakMap(), BG = new WeakMap(), yG = new WeakMap(),
|
|
|
67476
67476
|
var t, i;
|
|
67477
67477
|
if (d(this, BG))
|
|
67478
67478
|
return;
|
|
67479
|
-
(i = d(this, Ao)).ctx ?? (i.ctx = H(t =
|
|
67479
|
+
(i = d(this, Ao)).ctx ?? (i.ctx = H(t = Ee, zA, Up).call(t, d(this, Pc)));
|
|
67480
67480
|
const I = d(this, $c), e = d(this, NG);
|
|
67481
67481
|
for (const A of g) {
|
|
67482
67482
|
if (I.length > Z8g) {
|
|
@@ -67507,12 +67507,12 @@ ka = new WeakMap(), Ti = new WeakMap(), BG = new WeakMap(), yG = new WeakMap(),
|
|
|
67507
67507
|
const A = d(this, t0)[g.fontName];
|
|
67508
67508
|
A.vertical && (i += Math.PI / 2);
|
|
67509
67509
|
let n = d(this, yG) && A.fontSubstitution || A.fontFamily;
|
|
67510
|
-
n =
|
|
67511
|
-
const s = Math.hypot(t[2], t[3]), l = s * H(b =
|
|
67510
|
+
n = Ee.fontFamilyMap.get(n) || n;
|
|
67511
|
+
const s = Math.hypot(t[2], t[3]), l = s * H(b = Ee, zA, WJ).call(b, n, A, d(this, Pc));
|
|
67512
67512
|
let o, a;
|
|
67513
67513
|
i === 0 ? (o = t[4], a = t[5] - l) : (o = t[4] + l * Math.sin(i), a = t[5] - l * Math.cos(i));
|
|
67514
67514
|
const r = "calc(var(--total-scale-factor) *", u = I.style;
|
|
67515
|
-
d(this, Ti) === d(this, C0) ? (u.left = `${(100 * o / d(this, VG)).toFixed(2)}%`, u.top = `${(100 * a / d(this, YG)).toFixed(2)}%`) : (u.left = `${r}${o.toFixed(2)}px)`, u.top = `${r}${a.toFixed(2)}px)`), u.fontSize = `${r}${(d(
|
|
67515
|
+
d(this, Ti) === d(this, C0) ? (u.left = `${(100 * o / d(this, VG)).toFixed(2)}%`, u.top = `${(100 * a / d(this, YG)).toFixed(2)}%`) : (u.left = `${r}${o.toFixed(2)}px)`, u.top = `${r}${a.toFixed(2)}px)`), u.fontSize = `${r}${(d(Ee, za) * s).toFixed(2)}px)`, u.fontFamily = n, e.fontSize = s, I.setAttribute("role", "presentation"), I.textContent = g.str, I.dir = g.dir, d(this, yG) && (I.dataset.fontName = A.fontSubstitutionLoadedName || g.fontName), i !== 0 && (e.angle = i * (180 / Math.PI));
|
|
67516
67516
|
let m = !1;
|
|
67517
67517
|
if (g.str.length > 1)
|
|
67518
67518
|
m = !0;
|
|
@@ -67534,14 +67534,14 @@ ka = new WeakMap(), Ti = new WeakMap(), BG = new WeakMap(), yG = new WeakMap(),
|
|
|
67534
67534
|
style: i
|
|
67535
67535
|
} = I;
|
|
67536
67536
|
let A = "";
|
|
67537
|
-
if (d(
|
|
67537
|
+
if (d(Ee, za) > 1 && (A = `scale(${1 / d(Ee, za)})`), e.canvasWidth !== 0 && e.hasText) {
|
|
67538
67538
|
const {
|
|
67539
67539
|
fontFamily: s
|
|
67540
67540
|
} = i, {
|
|
67541
67541
|
canvasWidth: l,
|
|
67542
67542
|
fontSize: o
|
|
67543
67543
|
} = e;
|
|
67544
|
-
H(n =
|
|
67544
|
+
H(n = Ee, zA, ZM).call(n, t, o * d(this, Fa), s);
|
|
67545
67545
|
const {
|
|
67546
67546
|
width: a
|
|
67547
67547
|
} = t.measureText(I.textContent);
|
|
@@ -67579,8 +67579,8 @@ ka = new WeakMap(), Ti = new WeakMap(), BG = new WeakMap(), yG = new WeakMap(),
|
|
|
67579
67579
|
i.canvas.width = i.canvas.height = 0;
|
|
67580
67580
|
let l = 0.8;
|
|
67581
67581
|
return n ? l = n / (n + s) : (Dt.platform.isFirefox && WI("Enable the `dom.textMetrics.fontBoundingBox.enabled` preference in `about:config` to improve TextLayer rendering."), I.ascent ? l = I.ascent : I.descent && (l = 1 + I.descent)), d(this, A0).set(g, l), l;
|
|
67582
|
-
}, R(
|
|
67583
|
-
let aZ =
|
|
67582
|
+
}, R(Ee, zA), R(Ee, A0, /* @__PURE__ */ new Map()), R(Ee, qc, /* @__PURE__ */ new Map()), R(Ee, fG, /* @__PURE__ */ new WeakMap()), R(Ee, za, null), R(Ee, n0, /* @__PURE__ */ new Set());
|
|
67583
|
+
let aZ = Ee;
|
|
67584
67584
|
const G8g = 100;
|
|
67585
67585
|
function C2(C = {}) {
|
|
67586
67586
|
typeof C == "string" || C instanceof URL ? C = {
|
|
@@ -67696,7 +67696,7 @@ const cy = class cy {
|
|
|
67696
67696
|
Ng(this, "_capability", Promise.withResolvers());
|
|
67697
67697
|
Ng(this, "_transport", null);
|
|
67698
67698
|
Ng(this, "_worker", null);
|
|
67699
|
-
Ng(this, "docId", `d${
|
|
67699
|
+
Ng(this, "docId", `d${Qe(cy, dy)._++}`);
|
|
67700
67700
|
Ng(this, "destroyed", !1);
|
|
67701
67701
|
Ng(this, "onPassword", null);
|
|
67702
67702
|
Ng(this, "onProgress", null);
|
|
@@ -68336,7 +68336,7 @@ va = new WeakMap(), On = new WeakMap(), so = new WeakMap(), Cr = new WeakMap(),
|
|
|
68336
68336
|
}
|
|
68337
68337
|
const I = new f6g();
|
|
68338
68338
|
Y(this, so, I);
|
|
68339
|
-
const e = `fake${
|
|
68339
|
+
const e = `fake${Qe($C, ry)._++}`, t = new rb(e + "_worker", e, I);
|
|
68340
68340
|
g.setup(t, I), Y(this, On, new rb(e, e + "_worker", I)), H(this, Wi, Ep).call(this);
|
|
68341
68341
|
}).catch((g) => {
|
|
68342
68342
|
d(this, va).reject(new Error(`Setting up fake worker failed: "${g.message}".`));
|
|
@@ -68887,7 +68887,7 @@ const oc = class oc {
|
|
|
68887
68887
|
La = new WeakMap(), Ar = new WeakMap(), R(oc, Ar, /* @__PURE__ */ new WeakSet());
|
|
68888
68888
|
let wM = oc;
|
|
68889
68889
|
const y8g = "5.4.449", Y8g = "f44e5f0e6";
|
|
68890
|
-
var bA, nr, a0,
|
|
68890
|
+
var bA, nr, a0, $e, KG, d0, ao, kG, Ta, Qn, FG, BC, WM, pM, BM, Cc, YJ, Aa;
|
|
68891
68891
|
const Fi = class Fi {
|
|
68892
68892
|
constructor({
|
|
68893
68893
|
editor: g = null,
|
|
@@ -68897,7 +68897,7 @@ const Fi = class Fi {
|
|
|
68897
68897
|
R(this, bA, null);
|
|
68898
68898
|
R(this, nr, null);
|
|
68899
68899
|
R(this, a0);
|
|
68900
|
-
R(this,
|
|
68900
|
+
R(this, $e, null);
|
|
68901
68901
|
R(this, KG, !1);
|
|
68902
68902
|
R(this, d0, !1);
|
|
68903
68903
|
R(this, ao, null);
|
|
@@ -68929,7 +68929,7 @@ const Fi = class Fi {
|
|
|
68929
68929
|
return e.className = "swatch", e.ariaHidden = "true", e.style.backgroundColor = d(this, a0), g.append(e), g;
|
|
68930
68930
|
}
|
|
68931
68931
|
renderMainDropdown() {
|
|
68932
|
-
const g = Y(this,
|
|
68932
|
+
const g = Y(this, $e, H(this, BC, WM).call(this));
|
|
68933
68933
|
return g.ariaOrientation = "horizontal", g.ariaLabelledBy = "highlightColorPickerLabel", g;
|
|
68934
68934
|
}
|
|
68935
68935
|
_colorSelectFromKeyboard(g) {
|
|
@@ -68947,14 +68947,14 @@ const Fi = class Fi {
|
|
|
68947
68947
|
return;
|
|
68948
68948
|
}
|
|
68949
68949
|
if (g.target === d(this, bA)) {
|
|
68950
|
-
(I = d(this,
|
|
68950
|
+
(I = d(this, $e).firstElementChild) == null || I.focus();
|
|
68951
68951
|
return;
|
|
68952
68952
|
}
|
|
68953
68953
|
(e = g.target.nextSibling) == null || e.focus();
|
|
68954
68954
|
}
|
|
68955
68955
|
_moveToPrevious(g) {
|
|
68956
68956
|
var I, e;
|
|
68957
|
-
if (g.target === ((I = d(this,
|
|
68957
|
+
if (g.target === ((I = d(this, $e)) == null ? void 0 : I.firstElementChild) || g.target === d(this, bA)) {
|
|
68958
68958
|
d(this, BC, Aa) && this._hideDropdownFromKeyboard();
|
|
68959
68959
|
return;
|
|
68960
68960
|
}
|
|
@@ -68966,7 +68966,7 @@ const Fi = class Fi {
|
|
|
68966
68966
|
H(this, BC, Cc).call(this, g);
|
|
68967
68967
|
return;
|
|
68968
68968
|
}
|
|
68969
|
-
(I = d(this,
|
|
68969
|
+
(I = d(this, $e).firstElementChild) == null || I.focus();
|
|
68970
68970
|
}
|
|
68971
68971
|
_moveToEnd(g) {
|
|
68972
68972
|
var I;
|
|
@@ -68974,11 +68974,11 @@ const Fi = class Fi {
|
|
|
68974
68974
|
H(this, BC, Cc).call(this, g);
|
|
68975
68975
|
return;
|
|
68976
68976
|
}
|
|
68977
|
-
(I = d(this,
|
|
68977
|
+
(I = d(this, $e).lastElementChild) == null || I.focus();
|
|
68978
68978
|
}
|
|
68979
68979
|
hideDropdown() {
|
|
68980
68980
|
var g, I;
|
|
68981
|
-
(g = d(this,
|
|
68981
|
+
(g = d(this, $e)) == null || g.classList.add("hidden"), d(this, bA).ariaExpanded = "false", (I = d(this, Ta)) == null || I.abort(), Y(this, Ta, null);
|
|
68982
68982
|
}
|
|
68983
68983
|
_hideDropdownFromKeyboard() {
|
|
68984
68984
|
var g;
|
|
@@ -68994,18 +68994,18 @@ const Fi = class Fi {
|
|
|
68994
68994
|
}
|
|
68995
68995
|
}
|
|
68996
68996
|
updateColor(g) {
|
|
68997
|
-
if (d(this, nr) && (d(this, nr).style.backgroundColor = g), !d(this,
|
|
68997
|
+
if (d(this, nr) && (d(this, nr).style.backgroundColor = g), !d(this, $e))
|
|
68998
68998
|
return;
|
|
68999
68999
|
const I = d(this, Qn).highlightColors.values();
|
|
69000
|
-
for (const e of d(this,
|
|
69000
|
+
for (const e of d(this, $e).children)
|
|
69001
69001
|
e.ariaSelected = I.next().value === g.toUpperCase();
|
|
69002
69002
|
}
|
|
69003
69003
|
destroy() {
|
|
69004
69004
|
var g, I;
|
|
69005
|
-
(g = d(this, bA)) == null || g.remove(), Y(this, bA, null), Y(this, nr, null), (I = d(this,
|
|
69005
|
+
(g = d(this, bA)) == null || g.remove(), Y(this, bA, null), Y(this, nr, null), (I = d(this, $e)) == null || I.remove(), Y(this, $e, null);
|
|
69006
69006
|
}
|
|
69007
69007
|
};
|
|
69008
|
-
bA = new WeakMap(), nr = new WeakMap(), a0 = new WeakMap(),
|
|
69008
|
+
bA = new WeakMap(), nr = new WeakMap(), a0 = new WeakMap(), $e = new WeakMap(), KG = new WeakMap(), d0 = new WeakMap(), ao = new WeakMap(), kG = new WeakMap(), Ta = new WeakMap(), Qn = new WeakMap(), FG = new WeakMap(), BC = new WeakSet(), WM = function() {
|
|
69009
69009
|
const g = document.createElement("div"), I = d(this, Qn)._signal;
|
|
69010
69010
|
g.addEventListener("contextmenu", Vn, {
|
|
69011
69011
|
signal: I
|
|
@@ -69036,17 +69036,17 @@ bA = new WeakMap(), nr = new WeakMap(), a0 = new WeakMap(), _e = new WeakMap(),
|
|
|
69036
69036
|
}
|
|
69037
69037
|
if (Y(this, KG, g.detail === 0), d(this, Ta) || (Y(this, Ta, new AbortController()), window.addEventListener("pointerdown", H(this, BC, YJ).bind(this), {
|
|
69038
69038
|
signal: d(this, Qn).combinedSignal(d(this, Ta))
|
|
69039
|
-
})), d(this, bA).ariaExpanded = "true", d(this,
|
|
69040
|
-
d(this,
|
|
69039
|
+
})), d(this, bA).ariaExpanded = "true", d(this, $e)) {
|
|
69040
|
+
d(this, $e).classList.remove("hidden");
|
|
69041
69041
|
return;
|
|
69042
69042
|
}
|
|
69043
|
-
const I = Y(this,
|
|
69043
|
+
const I = Y(this, $e, H(this, BC, WM).call(this));
|
|
69044
69044
|
d(this, bA).append(I);
|
|
69045
69045
|
}, YJ = function(g) {
|
|
69046
69046
|
var I;
|
|
69047
|
-
(I = d(this,
|
|
69047
|
+
(I = d(this, $e)) != null && I.contains(g.target) || this.hideDropdown();
|
|
69048
69048
|
}, Aa = function() {
|
|
69049
|
-
return d(this,
|
|
69049
|
+
return d(this, $e) && !d(this, $e).classList.contains("hidden");
|
|
69050
69050
|
}, R(Fi, FG, null);
|
|
69051
69051
|
let e2 = Fi;
|
|
69052
69052
|
var Ls, zG, c0, vG;
|
|
@@ -70729,8 +70729,8 @@ class k8g {
|
|
|
70729
70729
|
resetEdited() {
|
|
70730
70730
|
var g;
|
|
70731
70731
|
d(this, or) && ({
|
|
70732
|
-
contentsObj:
|
|
70733
|
-
richText:
|
|
70732
|
+
contentsObj: Qe(this, Ts)._,
|
|
70733
|
+
richText: Qe(this, mo)._
|
|
70734
70734
|
} = d(this, or), Y(this, or, null), (g = d(this, GA)) == null || g.remove(), Y(this, GA, null), Y(this, ro, null));
|
|
70735
70735
|
}
|
|
70736
70736
|
remove() {
|
|
@@ -71996,13 +71996,13 @@ class Eg {
|
|
|
71996
71996
|
}
|
|
71997
71997
|
}
|
|
71998
71998
|
Ng(Eg, "PRECISION", 1e-4);
|
|
71999
|
-
var BA, Un, w0, W0, xs, JI, mr, hr, Iw, Cw, p0, B0, Pa, ew, hy, by,
|
|
71999
|
+
var BA, Un, w0, W0, xs, JI, mr, hr, Iw, Cw, p0, B0, Pa, ew, hy, by, gt, Wb, TJ, jJ, xJ, OJ, QJ, UJ;
|
|
72000
72000
|
const Jl = class Jl {
|
|
72001
72001
|
constructor({
|
|
72002
72002
|
x: g,
|
|
72003
72003
|
y: I
|
|
72004
72004
|
}, e, t, i, A, n = 0) {
|
|
72005
|
-
R(this,
|
|
72005
|
+
R(this, gt);
|
|
72006
72006
|
R(this, BA);
|
|
72007
72007
|
R(this, Un, []);
|
|
72008
72008
|
R(this, w0);
|
|
@@ -72043,15 +72043,15 @@ const Jl = class Jl {
|
|
|
72043
72043
|
return "";
|
|
72044
72044
|
const g = d(this, xs), I = d(this, Un);
|
|
72045
72045
|
if (isNaN(d(this, JI)[6]) && !this.isEmpty())
|
|
72046
|
-
return H(this,
|
|
72046
|
+
return H(this, gt, TJ).call(this);
|
|
72047
72047
|
const e = [];
|
|
72048
72048
|
e.push(`M${g[4]} ${g[5]}`);
|
|
72049
72049
|
for (let t = 6; t < g.length; t += 6)
|
|
72050
72050
|
isNaN(g[t]) ? e.push(`L${g[t + 4]} ${g[t + 5]}`) : e.push(`C${g[t]} ${g[t + 1]} ${g[t + 2]} ${g[t + 3]} ${g[t + 4]} ${g[t + 5]}`);
|
|
72051
|
-
H(this,
|
|
72051
|
+
H(this, gt, xJ).call(this, e);
|
|
72052
72052
|
for (let t = I.length - 6; t >= 6; t -= 6)
|
|
72053
72053
|
isNaN(I[t]) ? e.push(`L${I[t + 4]} ${I[t + 5]}`) : e.push(`C${I[t]} ${I[t + 1]} ${I[t + 2]} ${I[t + 3]} ${I[t + 4]} ${I[t + 5]}`);
|
|
72054
|
-
return H(this,
|
|
72054
|
+
return H(this, gt, jJ).call(this, e), e.join(" ");
|
|
72055
72055
|
}
|
|
72056
72056
|
newFreeDrawOutline(g, I, e, t, i, A) {
|
|
72057
72057
|
return new EJ(g, I, e, t, i, A);
|
|
@@ -72062,7 +72062,7 @@ const Jl = class Jl {
|
|
|
72062
72062
|
for (let r = 0, u = s.length - 2; r < u; r += 2)
|
|
72063
72063
|
s[r] = (d(this, Pa)[r] - t) / A, s[r + 1] = (d(this, Pa)[r + 1] - i) / n;
|
|
72064
72064
|
if (s[s.length - 2] = (d(this, mr) - t) / A, s[s.length - 1] = (d(this, hr) - i) / n, isNaN(e[6]) && !this.isEmpty())
|
|
72065
|
-
return H(this,
|
|
72065
|
+
return H(this, gt, OJ).call(this, s);
|
|
72066
72066
|
const l = new Float32Array(d(this, xs).length + 24 + d(this, Un).length);
|
|
72067
72067
|
let o = g.length;
|
|
72068
72068
|
for (let r = 0; r < o; r += 2) {
|
|
@@ -72072,7 +72072,7 @@ const Jl = class Jl {
|
|
|
72072
72072
|
}
|
|
72073
72073
|
l[r] = g[r], l[r + 1] = g[r + 1];
|
|
72074
72074
|
}
|
|
72075
|
-
o = H(this,
|
|
72075
|
+
o = H(this, gt, UJ).call(this, l, o);
|
|
72076
72076
|
for (let r = I.length - 6; r >= 6; r -= 6)
|
|
72077
72077
|
for (let u = 0; u < 6; u += 2) {
|
|
72078
72078
|
if (isNaN(I[r + u])) {
|
|
@@ -72081,29 +72081,29 @@ const Jl = class Jl {
|
|
|
72081
72081
|
}
|
|
72082
72082
|
l[o] = I[r + u], l[o + 1] = I[r + u + 1], o += 2;
|
|
72083
72083
|
}
|
|
72084
|
-
return H(this,
|
|
72084
|
+
return H(this, gt, QJ).call(this, l, o), this.newFreeDrawOutline(l, s, d(this, BA), d(this, p0), d(this, w0), d(this, W0));
|
|
72085
72085
|
}
|
|
72086
72086
|
};
|
|
72087
|
-
BA = new WeakMap(), Un = new WeakMap(), w0 = new WeakMap(), W0 = new WeakMap(), xs = new WeakMap(), JI = new WeakMap(), mr = new WeakMap(), hr = new WeakMap(), Iw = new WeakMap(), Cw = new WeakMap(), p0 = new WeakMap(), B0 = new WeakMap(), Pa = new WeakMap(), ew = new WeakMap(), hy = new WeakMap(), by = new WeakMap(),
|
|
72087
|
+
BA = new WeakMap(), Un = new WeakMap(), w0 = new WeakMap(), W0 = new WeakMap(), xs = new WeakMap(), JI = new WeakMap(), mr = new WeakMap(), hr = new WeakMap(), Iw = new WeakMap(), Cw = new WeakMap(), p0 = new WeakMap(), B0 = new WeakMap(), Pa = new WeakMap(), ew = new WeakMap(), hy = new WeakMap(), by = new WeakMap(), gt = new WeakSet(), Wb = function() {
|
|
72088
72088
|
const g = d(this, JI).subarray(4, 6), I = d(this, JI).subarray(16, 18), [e, t, i, A] = d(this, BA);
|
|
72089
72089
|
return [(d(this, mr) + (g[0] - I[0]) / 2 - e) / i, (d(this, hr) + (g[1] - I[1]) / 2 - t) / A, (d(this, mr) + (I[0] - g[0]) / 2 - e) / i, (d(this, hr) + (I[1] - g[1]) / 2 - t) / A];
|
|
72090
72090
|
}, TJ = function() {
|
|
72091
|
-
const [g, I, e, t] = d(this, BA), [i, A, n, s] = H(this,
|
|
72091
|
+
const [g, I, e, t] = d(this, BA), [i, A, n, s] = H(this, gt, Wb).call(this);
|
|
72092
72092
|
return `M${(d(this, JI)[2] - g) / e} ${(d(this, JI)[3] - I) / t} L${(d(this, JI)[4] - g) / e} ${(d(this, JI)[5] - I) / t} L${i} ${A} L${n} ${s} L${(d(this, JI)[16] - g) / e} ${(d(this, JI)[17] - I) / t} L${(d(this, JI)[14] - g) / e} ${(d(this, JI)[15] - I) / t} Z`;
|
|
72093
72093
|
}, jJ = function(g) {
|
|
72094
72094
|
const I = d(this, Un);
|
|
72095
72095
|
g.push(`L${I[4]} ${I[5]} Z`);
|
|
72096
72096
|
}, xJ = function(g) {
|
|
72097
|
-
const [I, e, t, i] = d(this, BA), A = d(this, JI).subarray(4, 6), n = d(this, JI).subarray(16, 18), [s, l, o, a] = H(this,
|
|
72097
|
+
const [I, e, t, i] = d(this, BA), A = d(this, JI).subarray(4, 6), n = d(this, JI).subarray(16, 18), [s, l, o, a] = H(this, gt, Wb).call(this);
|
|
72098
72098
|
g.push(`L${(A[0] - I) / t} ${(A[1] - e) / i} L${s} ${l} L${o} ${a} L${(n[0] - I) / t} ${(n[1] - e) / i}`);
|
|
72099
72099
|
}, OJ = function(g) {
|
|
72100
|
-
const I = d(this, JI), [e, t, i, A] = d(this, BA), [n, s, l, o] = H(this,
|
|
72100
|
+
const I = d(this, JI), [e, t, i, A] = d(this, BA), [n, s, l, o] = H(this, gt, Wb).call(this), a = new Float32Array(36);
|
|
72101
72101
|
return a.set([NaN, NaN, NaN, NaN, (I[2] - e) / i, (I[3] - t) / A, NaN, NaN, NaN, NaN, (I[4] - e) / i, (I[5] - t) / A, NaN, NaN, NaN, NaN, n, s, NaN, NaN, NaN, NaN, l, o, NaN, NaN, NaN, NaN, (I[16] - e) / i, (I[17] - t) / A, NaN, NaN, NaN, NaN, (I[14] - e) / i, (I[15] - t) / A], 0), this.newFreeDrawOutline(a, g, d(this, BA), d(this, p0), d(this, w0), d(this, W0));
|
|
72102
72102
|
}, QJ = function(g, I) {
|
|
72103
72103
|
const e = d(this, Un);
|
|
72104
72104
|
return g.set([NaN, NaN, NaN, NaN, e[4], e[5]], I), I += 6;
|
|
72105
72105
|
}, UJ = function(g, I) {
|
|
72106
|
-
const e = d(this, JI).subarray(4, 6), t = d(this, JI).subarray(16, 18), [i, A, n, s] = d(this, BA), [l, o, a, r] = H(this,
|
|
72106
|
+
const e = d(this, JI).subarray(4, 6), t = d(this, JI).subarray(16, 18), [i, A, n, s] = d(this, BA), [l, o, a, r] = H(this, gt, Wb).call(this);
|
|
72107
72107
|
return g.set([NaN, NaN, NaN, NaN, (e[0] - i) / n, (e[1] - A) / s, NaN, NaN, NaN, NaN, l, o, NaN, NaN, NaN, NaN, a, r, NaN, NaN, NaN, NaN, (t[0] - i) / n, (t[1] - A) / s], I), I += 24;
|
|
72108
72108
|
}, R(Jl, ew, 8), R(Jl, hy, 2), R(Jl, by, d(Jl, ew) + d(Jl, hy));
|
|
72109
72109
|
let A2 = Jl;
|
|
@@ -72916,8 +72916,8 @@ V0 = new WeakMap(), ow = new WeakMap(), bo = new WeakMap(), Zr = new WeakMap(),
|
|
|
72916
72916
|
d(this, VA) === null || !this.parent || (this.parent.drawLayer.remove(d(this, VA)), Y(this, VA, null), this.parent.drawLayer.remove(d(this, xt)), Y(this, xt, null));
|
|
72917
72917
|
}, tc = function(I = this.parent) {
|
|
72918
72918
|
d(this, VA) === null && ({
|
|
72919
|
-
id:
|
|
72920
|
-
clipPathId:
|
|
72919
|
+
id: Qe(this, VA)._,
|
|
72920
|
+
clipPathId: Qe(this, Zr)._
|
|
72921
72921
|
} = I.drawLayer.draw({
|
|
72922
72922
|
bbox: d(this, YA).box,
|
|
72923
72923
|
root: {
|
|
@@ -75682,7 +75682,7 @@ Xr = new WeakMap(), F0 = new WeakMap(), Cd = new WeakMap(), ed = new WeakMap(),
|
|
|
75682
75682
|
}, Ng(vn, "_initialized", !1), R(vn, Ad, new Map([kM, QM, g5, n2, qM].map((g) => [g._editorType, g])));
|
|
75683
75683
|
let C5 = vn;
|
|
75684
75684
|
var $n, ui, Hr, hw, wy, pL, rl, n5, BL, s5;
|
|
75685
|
-
const
|
|
75685
|
+
const Pe = class Pe {
|
|
75686
75686
|
constructor({
|
|
75687
75687
|
pageIndex: g
|
|
75688
75688
|
}) {
|
|
@@ -75708,35 +75708,35 @@ const Ee = class Ee {
|
|
|
75708
75708
|
return pI(this, "_svgFactory", new i2());
|
|
75709
75709
|
}
|
|
75710
75710
|
draw(g, I = !1, e = !1) {
|
|
75711
|
-
const t =
|
|
75711
|
+
const t = Qe(Pe, hw)._++, i = H(this, rl, n5).call(this), A = Pe._svgFactory.createElement("defs");
|
|
75712
75712
|
i.append(A);
|
|
75713
|
-
const n =
|
|
75713
|
+
const n = Pe._svgFactory.createElement("path");
|
|
75714
75714
|
A.append(n);
|
|
75715
75715
|
const s = `path_p${this.pageIndex}_${t}`;
|
|
75716
75716
|
n.setAttribute("id", s), n.setAttribute("vector-effect", "non-scaling-stroke"), I && d(this, Hr).set(t, n);
|
|
75717
|
-
const l = e ? H(this, rl, BL).call(this, A, s) : null, o =
|
|
75717
|
+
const l = e ? H(this, rl, BL).call(this, A, s) : null, o = Pe._svgFactory.createElement("use");
|
|
75718
75718
|
return i.append(o), o.setAttribute("href", `#${s}`), this.updateProperties(i, g), d(this, ui).set(t, i), {
|
|
75719
75719
|
id: t,
|
|
75720
75720
|
clipPathId: `url(#${l})`
|
|
75721
75721
|
};
|
|
75722
75722
|
}
|
|
75723
75723
|
drawOutline(g, I) {
|
|
75724
|
-
const e =
|
|
75724
|
+
const e = Qe(Pe, hw)._++, t = H(this, rl, n5).call(this), i = Pe._svgFactory.createElement("defs");
|
|
75725
75725
|
t.append(i);
|
|
75726
|
-
const A =
|
|
75726
|
+
const A = Pe._svgFactory.createElement("path");
|
|
75727
75727
|
i.append(A);
|
|
75728
75728
|
const n = `path_p${this.pageIndex}_${e}`;
|
|
75729
75729
|
A.setAttribute("id", n), A.setAttribute("vector-effect", "non-scaling-stroke");
|
|
75730
75730
|
let s;
|
|
75731
75731
|
if (I) {
|
|
75732
|
-
const a =
|
|
75732
|
+
const a = Pe._svgFactory.createElement("mask");
|
|
75733
75733
|
i.append(a), s = `mask_p${this.pageIndex}_${e}`, a.setAttribute("id", s), a.setAttribute("maskUnits", "objectBoundingBox");
|
|
75734
|
-
const r =
|
|
75734
|
+
const r = Pe._svgFactory.createElement("rect");
|
|
75735
75735
|
a.append(r), r.setAttribute("width", "1"), r.setAttribute("height", "1"), r.setAttribute("fill", "white");
|
|
75736
|
-
const u =
|
|
75736
|
+
const u = Pe._svgFactory.createElement("use");
|
|
75737
75737
|
a.append(u), u.setAttribute("href", `#${n}`), u.setAttribute("stroke", "none"), u.setAttribute("fill", "black"), u.setAttribute("fill-rule", "nonzero"), u.classList.add("mask");
|
|
75738
75738
|
}
|
|
75739
|
-
const l =
|
|
75739
|
+
const l = Pe._svgFactory.createElement("use");
|
|
75740
75740
|
t.append(l), l.setAttribute("href", `#${n}`), s && l.setAttribute("mask", `url(#${s})`);
|
|
75741
75741
|
const o = l.cloneNode();
|
|
75742
75742
|
return t.append(o), l.classList.add("mainOutline"), o.classList.add("secondaryOutline"), this.updateProperties(t, g), d(this, ui).set(e, t), e;
|
|
@@ -75755,7 +75755,7 @@ const Ee = class Ee {
|
|
|
75755
75755
|
path: A
|
|
75756
75756
|
} = I, n = typeof g == "number" ? d(this, ui).get(g) : g;
|
|
75757
75757
|
if (n) {
|
|
75758
|
-
if (e && H(this, rl, s5).call(this, n, e), t && H(s =
|
|
75758
|
+
if (e && H(this, rl, s5).call(this, n, e), t && H(s = Pe, wy, pL).call(s, n, t), i) {
|
|
75759
75759
|
const {
|
|
75760
75760
|
classList: l
|
|
75761
75761
|
} = n;
|
|
@@ -75790,20 +75790,20 @@ $n = new WeakMap(), ui = new WeakMap(), Hr = new WeakMap(), hw = new WeakMap(),
|
|
|
75790
75790
|
} = g;
|
|
75791
75791
|
A.top = `${100 * e}%`, A.left = `${100 * I}%`, A.width = `${100 * t}%`, A.height = `${100 * i}%`;
|
|
75792
75792
|
}, rl = new WeakSet(), n5 = function() {
|
|
75793
|
-
const g =
|
|
75793
|
+
const g = Pe._svgFactory.create(1, 1, !0);
|
|
75794
75794
|
return d(this, $n).append(g), g.setAttribute("aria-hidden", !0), g;
|
|
75795
75795
|
}, BL = function(g, I) {
|
|
75796
|
-
const e =
|
|
75796
|
+
const e = Pe._svgFactory.createElement("clipPath");
|
|
75797
75797
|
g.append(e);
|
|
75798
75798
|
const t = `clip_${I}`;
|
|
75799
75799
|
e.setAttribute("id", t), e.setAttribute("clipPathUnits", "objectBoundingBox");
|
|
75800
|
-
const i =
|
|
75800
|
+
const i = Pe._svgFactory.createElement("use");
|
|
75801
75801
|
return e.append(i), i.setAttribute("href", `#${I}`), i.classList.add("clip"), t;
|
|
75802
75802
|
}, s5 = function(g, I) {
|
|
75803
75803
|
for (const [e, t] of Object.entries(I))
|
|
75804
75804
|
t === null ? g.removeAttribute(e) : g.setAttribute(e, t);
|
|
75805
|
-
}, R(
|
|
75806
|
-
let A5 =
|
|
75805
|
+
}, R(Pe, wy), R(Pe, hw, 0);
|
|
75806
|
+
let A5 = Pe;
|
|
75807
75807
|
globalThis._pdfjsTestingUtils = {
|
|
75808
75808
|
HighlightOutliner: zM
|
|
75809
75809
|
};
|
|
@@ -76073,11 +76073,17 @@ const $8g = () => {
|
|
|
76073
76073
|
}, Z = (y) => {
|
|
76074
76074
|
y.key === "Escape" && e.value === n.value && m();
|
|
76075
76075
|
}, G = () => {
|
|
76076
|
+
var K;
|
|
76077
|
+
const y = navigator;
|
|
76078
|
+
if (/mac/i.test(
|
|
76079
|
+
((K = y.userAgentData) == null ? void 0 : K.platform) || navigator.platform || navigator.userAgent || ""
|
|
76080
|
+
))
|
|
76081
|
+
return 0;
|
|
76076
76082
|
if (document.querySelectorAll(".modal-yui-kit").length === 1)
|
|
76077
76083
|
return window.innerWidth - document.documentElement.clientWidth;
|
|
76078
76084
|
{
|
|
76079
|
-
const
|
|
76080
|
-
return Number(
|
|
76085
|
+
const F = document.body.style.paddingRight;
|
|
76086
|
+
return Number(F.replace(/\D/g, "")) || 0;
|
|
76081
76087
|
}
|
|
76082
76088
|
}, W = () => {
|
|
76083
76089
|
document.querySelectorAll(".modal-yui-kit").length === 0 && eC(
|
|
@@ -76131,7 +76137,7 @@ const $8g = () => {
|
|
|
76131
76137
|
], 12, g_g)
|
|
76132
76138
|
], 16, q8g));
|
|
76133
76139
|
}
|
|
76134
|
-
}), Af = /* @__PURE__ */ qg(I_g, [["__scopeId", "data-v-
|
|
76140
|
+
}), Af = /* @__PURE__ */ qg(I_g, [["__scopeId", "data-v-8591fcd1"]]), C_g = /* @__PURE__ */ mg({
|
|
76135
76141
|
__name: "ModalAnimated",
|
|
76136
76142
|
props: {
|
|
76137
76143
|
animateType: {},
|
|
@@ -77120,14 +77126,14 @@ const o_g = /* @__PURE__ */ YPg(l_g), fl = (C) => {
|
|
|
77120
77126
|
}, null, 512));
|
|
77121
77127
|
}
|
|
77122
77128
|
}), Fn = (C) => C ? C instanceof File ? C.type === "application/pdf" : $0(C) : !1;
|
|
77123
|
-
var
|
|
77124
|
-
return
|
|
77129
|
+
var Ue = function() {
|
|
77130
|
+
return Ue = Object.assign || function(g) {
|
|
77125
77131
|
for (var I, e = 1, t = arguments.length; e < t; e++) {
|
|
77126
77132
|
I = arguments[e];
|
|
77127
77133
|
for (var i in I) Object.prototype.hasOwnProperty.call(I, i) && (g[i] = I[i]);
|
|
77128
77134
|
}
|
|
77129
77135
|
return g;
|
|
77130
|
-
},
|
|
77136
|
+
}, Ue.apply(this, arguments);
|
|
77131
77137
|
};
|
|
77132
77138
|
typeof window < "u" && (window.NodeList && !NodeList.prototype.forEach && (NodeList.prototype.forEach = Array.prototype.forEach), typeof window.CustomEvent != "function" && (window.CustomEvent = function(g, I) {
|
|
77133
77139
|
I = I || { bubbles: !1, cancelable: !1, detail: null };
|
|
@@ -77336,7 +77342,7 @@ function NL(C, g) {
|
|
|
77336
77342
|
throw new Error("Panzoom requires an element with a nodeType of 1");
|
|
77337
77343
|
if (!h_g(C))
|
|
77338
77344
|
throw new Error("Panzoom should be called on elements that have been attached to the DOM");
|
|
77339
|
-
g =
|
|
77345
|
+
g = Ue(Ue({}, VL), g);
|
|
77340
77346
|
var I = W_g(C), e = C.parentNode;
|
|
77341
77347
|
e.style.overflow = g.overflow, e.style.userSelect = "none", e.style.touchAction = g.touchAction, (g.canvas ? e : C).style.cursor = g.cursor, C.style.userSelect = "none", C.style.touchAction = g.touchAction, Cm(C, "transformOrigin", typeof g.origin == "string" ? g.origin : I ? "0 0" : "50% 50%");
|
|
77342
77348
|
function t() {
|
|
@@ -77365,7 +77371,7 @@ function NL(C, g) {
|
|
|
77365
77371
|
}), kg;
|
|
77366
77372
|
}
|
|
77367
77373
|
function r(ug, Mg, Jg, kg) {
|
|
77368
|
-
var yg =
|
|
77374
|
+
var yg = Ue(Ue({}, g), kg), Fg = { x: A, y: n, opts: yg };
|
|
77369
77375
|
if (!(kg != null && kg.force) && (yg.disablePan || yg.panOnlyWhenZoomed && s === yg.startScale))
|
|
77370
77376
|
return Fg;
|
|
77371
77377
|
if (ug = parseFloat(ug), Mg = parseFloat(Mg), yg.disableXAxis || (Fg.x = (yg.relative ? A : 0) + ug), yg.disableYAxis || (Fg.y = (yg.relative ? n : 0) + Mg), yg.contain) {
|
|
@@ -77373,19 +77379,19 @@ function NL(C, g) {
|
|
|
77373
77379
|
if (yg.contain === "inside") {
|
|
77374
77380
|
var TC = (-fg.elem.margin.left - fg.parent.padding.left + tC) / Jg, te = (fg.parent.width - CC - fg.parent.padding.left - fg.elem.margin.left - fg.parent.border.left - fg.parent.border.right + tC) / Jg;
|
|
77375
77381
|
Fg.x = Math.max(Math.min(Fg.x, te), TC);
|
|
77376
|
-
var qI = (-fg.elem.margin.top - fg.parent.padding.top + vI) / Jg,
|
|
77377
|
-
Fg.y = Math.max(Math.min(Fg.y,
|
|
77382
|
+
var qI = (-fg.elem.margin.top - fg.parent.padding.top + vI) / Jg, Ct = (fg.parent.height - HC - fg.parent.padding.top - fg.elem.margin.top - fg.parent.border.top - fg.parent.border.bottom + vI) / Jg;
|
|
77383
|
+
Fg.y = Math.max(Math.min(Fg.y, Ct), qI);
|
|
77378
77384
|
} else if (yg.contain === "outside") {
|
|
77379
77385
|
var TC = (-(CC - fg.parent.width) - fg.parent.padding.left - fg.parent.border.left - fg.parent.border.right + tC) / Jg, te = (tC - fg.parent.padding.left) / Jg;
|
|
77380
77386
|
Fg.x = Math.max(Math.min(Fg.x, te), TC);
|
|
77381
|
-
var qI = (-(HC - fg.parent.height) - fg.parent.padding.top - fg.parent.border.top - fg.parent.border.bottom + vI) / Jg,
|
|
77382
|
-
Fg.y = Math.max(Math.min(Fg.y,
|
|
77387
|
+
var qI = (-(HC - fg.parent.height) - fg.parent.padding.top - fg.parent.border.top - fg.parent.border.bottom + vI) / Jg, Ct = (vI - fg.parent.padding.top) / Jg;
|
|
77388
|
+
Fg.y = Math.max(Math.min(Fg.y, Ct), qI);
|
|
77383
77389
|
}
|
|
77384
77390
|
}
|
|
77385
77391
|
return yg.roundPixels && (Fg.x = Math.round(Fg.x), Fg.y = Math.round(Fg.y)), Fg;
|
|
77386
77392
|
}
|
|
77387
77393
|
function u(ug, Mg) {
|
|
77388
|
-
var Jg =
|
|
77394
|
+
var Jg = Ue(Ue({}, g), Mg), kg = { scale: s, opts: Jg };
|
|
77389
77395
|
if (!(Mg != null && Mg.force) && Jg.disableZoom)
|
|
77390
77396
|
return kg;
|
|
77391
77397
|
var yg = g.minScale, Fg = g.maxScale;
|
|
@@ -77416,7 +77422,7 @@ function NL(C, g) {
|
|
|
77416
77422
|
}
|
|
77417
77423
|
}
|
|
77418
77424
|
function Z(ug, Mg) {
|
|
77419
|
-
var Jg =
|
|
77425
|
+
var Jg = Ue(Ue(Ue({}, g), { animate: !0 }), Mg);
|
|
77420
77426
|
return b(s * Math.exp((ug ? 1 : -1) * Jg.step), Jg);
|
|
77421
77427
|
}
|
|
77422
77428
|
function G(ug) {
|
|
@@ -77435,15 +77441,15 @@ function NL(C, g) {
|
|
|
77435
77441
|
x: fg / Fg.width * (Fg.width * ug),
|
|
77436
77442
|
y: bI / Fg.height * (Fg.height * ug)
|
|
77437
77443
|
};
|
|
77438
|
-
return b(ug,
|
|
77444
|
+
return b(ug, Ue(Ue({}, Jg), { animate: !1, focal: tI }), kg);
|
|
77439
77445
|
}
|
|
77440
77446
|
function B(ug, Mg) {
|
|
77441
77447
|
ug.preventDefault();
|
|
77442
|
-
var Jg =
|
|
77448
|
+
var Jg = Ue(Ue(Ue({}, g), Mg), { animate: !1 }), kg = ug.deltaY === 0 && ug.deltaX ? ug.deltaX : ug.deltaY, yg = kg < 0 ? 1 : -1, Fg = u(s * Math.exp(yg * Jg.step / 3), Jg).scale;
|
|
77443
77449
|
return p(Fg, ug, Jg, ug);
|
|
77444
77450
|
}
|
|
77445
77451
|
function y(ug) {
|
|
77446
|
-
var Mg =
|
|
77452
|
+
var Mg = Ue(Ue(Ue({}, g), { animate: !0, force: !0 }), ug);
|
|
77447
77453
|
s = u(Mg.startScale, Mg).scale;
|
|
77448
77454
|
var Jg = r(Mg.startX, Mg.startY, s, Mg);
|
|
77449
77455
|
return A = Jg.x, n = Jg.y, a("panzoomreset", Mg);
|
|
@@ -77693,9 +77699,9 @@ const B_g = {
|
|
|
77693
77699
|
}, ug = (ng) => {
|
|
77694
77700
|
i.isMobile || Zt(ng.deltaY);
|
|
77695
77701
|
}, Mg = () => {
|
|
77696
|
-
|
|
77702
|
+
je(!0);
|
|
77697
77703
|
}, Jg = () => {
|
|
77698
|
-
|
|
77704
|
+
je(!1);
|
|
77699
77705
|
}, kg = () => {
|
|
77700
77706
|
if (a.value && a.value.rotatePdf(-90), u.value) {
|
|
77701
77707
|
i.rotateValue += -90;
|
|
@@ -77755,20 +77761,20 @@ const B_g = {
|
|
|
77755
77761
|
}, te = (ng) => {
|
|
77756
77762
|
i.isMobile && (i.startXForMobile = ng.touches[0].clientX, i.startYForMobile = ng.touches[0].clientY, i.isPointerActive = !0);
|
|
77757
77763
|
}, qI = () => {
|
|
77758
|
-
i.isMobile && (fi(),
|
|
77759
|
-
},
|
|
77764
|
+
i.isMobile && (fi(), et());
|
|
77765
|
+
}, Ct = (ng) => {
|
|
77760
77766
|
var FI, bC;
|
|
77761
77767
|
if (!i.isMobile) return;
|
|
77762
77768
|
const rg = ng.clientX, Dg = ng.clientY, jg = Math.abs(rg - i.startXForMobile), $g = Dg - i.startYForMobile;
|
|
77763
77769
|
i.isExistSwipe && $g > BV && $g > jg && e("close"), i.isChangeItemSwipe && r.value && (i.isMobile && i.zoomValue === 1 || !i.isMobile) && (i.isSwipeNextSlide && bt((FI = r.value) == null ? void 0 : FI.nextSlide()), i.isSwipePrevSlide && bt((bC = r.value) == null ? void 0 : bC.prevSlide())), fi(), hI(() => {
|
|
77764
|
-
|
|
77770
|
+
et();
|
|
77765
77771
|
});
|
|
77766
77772
|
}, fn = (ng) => {
|
|
77767
77773
|
var FI, bC;
|
|
77768
77774
|
if (!i.isMobile) return;
|
|
77769
77775
|
const rg = ng.changedTouches[0].clientX, Dg = ng.changedTouches[0].clientY, jg = Math.abs(rg - i.startXForMobile), $g = Dg - i.startYForMobile;
|
|
77770
77776
|
i.isExistSwipe && $g > BV && $g > jg && e("close"), i.isChangeItemSwipe && r.value && (i.isMobile && i.zoomValue === 1 || !i.isMobile) && (i.isSwipeNextSlide && bt((FI = r.value) == null ? void 0 : FI.nextSlide()), i.isSwipePrevSlide && bt((bC = r.value) == null ? void 0 : bC.prevSlide())), fi(), hI(() => {
|
|
77771
|
-
|
|
77777
|
+
et();
|
|
77772
77778
|
});
|
|
77773
77779
|
}, jC = (ng) => {
|
|
77774
77780
|
if (!i.isMobile || !i.isPointerActive) return;
|
|
@@ -77824,7 +77830,7 @@ const B_g = {
|
|
|
77824
77830
|
},
|
|
77825
77831
|
u.value
|
|
77826
77832
|
);
|
|
77827
|
-
},
|
|
77833
|
+
}, et = () => {
|
|
77828
77834
|
requestAnimationFrame(() => {
|
|
77829
77835
|
o.value && eC(
|
|
77830
77836
|
{
|
|
@@ -77835,7 +77841,7 @@ const B_g = {
|
|
|
77835
77841
|
});
|
|
77836
77842
|
}, fi = () => {
|
|
77837
77843
|
i.isPointerActive = !1, i.isExistSwipe = !1, i.isSwipeNextSlide = !1, i.isSwipePrevSlide = !1, i.isChangeItemSwipe = !1;
|
|
77838
|
-
},
|
|
77844
|
+
}, je = (ng) => {
|
|
77839
77845
|
const rg = i.zoomValue;
|
|
77840
77846
|
i.zoomValue += ng ? 1 : -1, i.zoomValue = Math.min(Math.max(1, i.zoomValue), 3);
|
|
77841
77847
|
const Dg = i.zoomValue;
|
|
@@ -78011,7 +78017,7 @@ const B_g = {
|
|
|
78011
78017
|
onClose: og,
|
|
78012
78018
|
onEndAnimation: q,
|
|
78013
78019
|
onUnmounted: rg[3] || (rg[3] = (Dg) => ng.$emit("unmounted")),
|
|
78014
|
-
onPointerup:
|
|
78020
|
+
onPointerup: Ct,
|
|
78015
78021
|
onPointerleave: qI,
|
|
78016
78022
|
onTouchend: fn
|
|
78017
78023
|
}, {
|
|
@@ -80973,7 +80979,7 @@ const Rqg = ["id", "data-testid"], fqg = ["data-testid"], Xqg = ["data-testid"],
|
|
|
80973
80979
|
_: 3
|
|
80974
80980
|
}, 8, ["is-show-vertical-scroll", "is-show-horizontal-scroll", "data-testid"]));
|
|
80975
80981
|
}
|
|
80976
|
-
}), EL = /* @__PURE__ */ qg(dgI, [["__scopeId", "data-v-
|
|
80982
|
+
}), EL = /* @__PURE__ */ qg(dgI, [["__scopeId", "data-v-adadb414"]]), cgI = ["rowspan", "colspan", "data-testid"], nY = /* @__PURE__ */ mg({
|
|
80977
80983
|
name: "TableTd",
|
|
80978
80984
|
__name: "TableTd",
|
|
80979
80985
|
props: {
|
|
@@ -81599,7 +81605,7 @@ const Rqg = ["id", "data-testid"], fqg = ["data-testid"], Xqg = ["data-testid"],
|
|
|
81599
81605
|
_: 3
|
|
81600
81606
|
}, 8, ["is-show-vertical-scroll", "is-show-horizontal-scroll", "data-testid"]));
|
|
81601
81607
|
}
|
|
81602
|
-
}), qL = /* @__PURE__ */ qg(KgI, [["__scopeId", "data-v-
|
|
81608
|
+
}), qL = /* @__PURE__ */ qg(KgI, [["__scopeId", "data-v-6d0e7f55"]]), kgI = ["data-testid"], FgI = /* @__PURE__ */ mg({
|
|
81603
81609
|
name: "TableRow",
|
|
81604
81610
|
__name: "TableRowNew",
|
|
81605
81611
|
props: {
|
|
@@ -111822,11 +111828,11 @@ function mlI(C) {
|
|
|
111822
111828
|
var _, ig = B === "y" ? _i : $i, og = B === "y" ? Nn : Mn, q = B === "y" ? "height" : "width", Cg = M[B], Wg = Cg + Z[ig], ug = Cg - Z[og], Mg = u ? -K[q] / 2 : 0, Jg = W === Ah ? N[q] : K[q], kg = W === Ah ? -K[q] : -N[q], yg = g.elements.arrow, Fg = u && yg ? nX(yg) : {
|
|
111823
111829
|
width: 0,
|
|
111824
111830
|
height: 0
|
|
111825
|
-
}, fg = g.modifiersData["arrow#persistent"] ? g.modifiersData["arrow#persistent"].padding : Q4(), bI = fg[ig], tI = fg[og], CC = qb(0, N[q], Fg[q]), HC = p ? N[q] / 2 - Mg - CC - bI - X.mainAxis : Jg - CC - bI - X.mainAxis, tC = p ? -N[q] / 2 + Mg + CC + tI + X.mainAxis : kg + CC + tI + X.mainAxis, vI = g.elements.arrow && Pw(g.elements.arrow), TC = vI ? B === "y" ? vI.clientTop || 0 : vI.clientLeft || 0 : 0, te = (_ = z == null ? void 0 : z[B]) != null ? _ : 0, qI = Cg + HC - te - TC,
|
|
111831
|
+
}, fg = g.modifiersData["arrow#persistent"] ? g.modifiersData["arrow#persistent"].padding : Q4(), bI = fg[ig], tI = fg[og], CC = qb(0, N[q], Fg[q]), HC = p ? N[q] / 2 - Mg - CC - bI - X.mainAxis : Jg - CC - bI - X.mainAxis, tC = p ? -N[q] / 2 + Mg + CC + tI + X.mainAxis : kg + CC + tI + X.mainAxis, vI = g.elements.arrow && Pw(g.elements.arrow), TC = vI ? B === "y" ? vI.clientTop || 0 : vI.clientLeft || 0 : 0, te = (_ = z == null ? void 0 : z[B]) != null ? _ : 0, qI = Cg + HC - te - TC, Ct = Cg + tC - te, fn = qb(u ? Iy(Wg, qI) : Wg, Cg, u ? vr(ug, Ct) : ug);
|
|
111826
111832
|
M[B] = fn, J[B] = fn - Cg;
|
|
111827
111833
|
}
|
|
111828
111834
|
if (n) {
|
|
111829
|
-
var jC, Te = B === "x" ? _i : $i, JA = B === "x" ? Nn : Mn, EC = M[y], DC = y === "y" ? "height" : "width", ht = EC + Z[Te],
|
|
111835
|
+
var jC, Te = B === "x" ? _i : $i, JA = B === "x" ? Nn : Mn, EC = M[y], DC = y === "y" ? "height" : "width", ht = EC + Z[Te], et = EC - Z[JA], fi = [_i, $i].indexOf(G) !== -1, je = (jC = z == null ? void 0 : z[y]) != null ? jC : 0, bt = fi ? ht : EC - N[DC] - K[DC] - je + X.altAxis, Zt = fi ? EC + N[DC] + K[DC] - je - X.altAxis : et, St = u && fi ? vsI(bt, EC, Zt) : qb(u ? bt : ht, EC, u ? Zt : et);
|
|
111830
111836
|
M[y] = St, J[y] = St - EC;
|
|
111831
111837
|
}
|
|
111832
111838
|
g.modifiersData[e] = J;
|
|
@@ -112960,7 +112966,7 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
112960
112966
|
t.value && Ig.preventDefault();
|
|
112961
112967
|
}, qI = (Ig) => {
|
|
112962
112968
|
Ig.button !== 0 || A.value || (b.value = !0, e.value = !1, i.value = !1);
|
|
112963
|
-
},
|
|
112969
|
+
}, Ct = () => {
|
|
112964
112970
|
if (!b.value) {
|
|
112965
112971
|
jC();
|
|
112966
112972
|
return;
|
|
@@ -112992,11 +112998,11 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
112992
112998
|
}, ht = (Ig) => {
|
|
112993
112999
|
var P;
|
|
112994
113000
|
Ig.run(), Ig.key === "link" && !((P = g.editor) != null && P.isActive("link")) && (i.value = !1), tI({ preserveHorizontal: !0 });
|
|
112995
|
-
},
|
|
113001
|
+
}, et = (Ig) => {
|
|
112996
113002
|
const { from: P, to: bg, empty: iI } = Ig.state.selection;
|
|
112997
113003
|
return iI ? null : { from: P, to: bg };
|
|
112998
113004
|
}, fi = (Ig, P) => Ig.state.doc.textBetween(P.from, P.to, `
|
|
112999
|
-
`),
|
|
113005
|
+
`), je = async (Ig) => {
|
|
113000
113006
|
var iI;
|
|
113001
113007
|
if (!Ig)
|
|
113002
113008
|
return !1;
|
|
@@ -113019,7 +113025,7 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
113019
113025
|
return "";
|
|
113020
113026
|
}
|
|
113021
113027
|
}, Zt = (Ig) => {
|
|
113022
|
-
const P =
|
|
113028
|
+
const P = et(Ig), bg = document.createElement("textarea");
|
|
113023
113029
|
bg.readOnly = !1, bg.style.position = "fixed", bg.style.top = "-9999px", bg.style.opacity = "0", document.body.appendChild(bg), bg.focus(), document.execCommand("paste");
|
|
113024
113030
|
const iI = bg.value;
|
|
113025
113031
|
return document.body.removeChild(bg), P ? fg(P) : Ig.chain().focus().run(), iI;
|
|
@@ -113038,10 +113044,10 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
113038
113044
|
tI({ preserveHorizontal: !0 });
|
|
113039
113045
|
return;
|
|
113040
113046
|
}
|
|
113041
|
-
const bg =
|
|
113047
|
+
const bg = et(P);
|
|
113042
113048
|
if (!bg)
|
|
113043
113049
|
return;
|
|
113044
|
-
const iI = await
|
|
113050
|
+
const iI = await je(
|
|
113045
113051
|
fi(P, bg)
|
|
113046
113052
|
);
|
|
113047
113053
|
iI && Ig === "cut" ? P.chain().focus().deleteRange(bg).run() : iI ? St(P, bg) : fg(bg), tI({ preserveHorizontal: !0 });
|
|
@@ -113236,9 +113242,9 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
113236
113242
|
);
|
|
113237
113243
|
};
|
|
113238
113244
|
return GI(() => {
|
|
113239
|
-
N(), tA(g.editor), window.addEventListener("resize", CC), window.addEventListener("scroll", CC, !0), window.addEventListener("pointerup",
|
|
113245
|
+
N(), tA(g.editor), window.addEventListener("resize", CC), window.addEventListener("scroll", CC, !0), window.addEventListener("pointerup", Ct, !0);
|
|
113240
113246
|
}), zo(() => {
|
|
113241
|
-
Zl(g.editor), window.removeEventListener("resize", CC), window.removeEventListener("scroll", CC, !0), window.removeEventListener("pointerup",
|
|
113247
|
+
Zl(g.editor), window.removeEventListener("resize", CC), window.removeEventListener("scroll", CC, !0), window.removeEventListener("pointerup", Ct, !0), Z !== null && cancelAnimationFrame(Z), fn();
|
|
113242
113248
|
}), lg(
|
|
113243
113249
|
() => g.editor,
|
|
113244
113250
|
(Ig, P) => {
|
|
@@ -113625,7 +113631,7 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
113625
113631
|
u.value = !1, iI(!0, O);
|
|
113626
113632
|
};
|
|
113627
113633
|
let te = !1, qI = null;
|
|
113628
|
-
const
|
|
113634
|
+
const Ct = {
|
|
113629
113635
|
png: "image/png",
|
|
113630
113636
|
jpg: "image/jpeg",
|
|
113631
113637
|
jpeg: "image/jpeg",
|
|
@@ -113662,7 +113668,7 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
113662
113668
|
if (O.type)
|
|
113663
113669
|
return O.type.toLowerCase();
|
|
113664
113670
|
const Ag = jC(O.name);
|
|
113665
|
-
return
|
|
113671
|
+
return Ct[Ag] ?? "";
|
|
113666
113672
|
}, JA = (O, Ag) => {
|
|
113667
113673
|
const ag = O.name.trim(), Xg = fn[Ag], nI = !!jC(ag);
|
|
113668
113674
|
if (!ag) {
|
|
@@ -113704,7 +113710,7 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
113704
113710
|
error: Xg
|
|
113705
113711
|
}), O;
|
|
113706
113712
|
}
|
|
113707
|
-
},
|
|
113713
|
+
}, et = (O) => {
|
|
113708
113714
|
const Ag = new DataTransfer();
|
|
113709
113715
|
return O.forEach((ag) => Ag.items.add(ag)), Ag.files;
|
|
113710
113716
|
}, fi = async (O, Ag) => {
|
|
@@ -113724,8 +113730,8 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
113724
113730
|
console.warn(`${ta} emit normalized files`, {
|
|
113725
113731
|
files: ag.map((nI) => EC(nI)),
|
|
113726
113732
|
isOnlyMedia: Xg
|
|
113727
|
-
}), n("unmount-attach-file",
|
|
113728
|
-
},
|
|
113733
|
+
}), n("unmount-attach-file", et(ag), Xg);
|
|
113734
|
+
}, je = async (O, Ag) => {
|
|
113729
113735
|
const ag = await Promise.all(Array.from(O, ht));
|
|
113730
113736
|
if (ag.length) {
|
|
113731
113737
|
if (Ag) {
|
|
@@ -113758,7 +113764,7 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
113758
113764
|
}, LA = async (O, Ag) => {
|
|
113759
113765
|
var Xg;
|
|
113760
113766
|
const ag = O.target;
|
|
113761
|
-
(Xg = ag.files) != null && Xg.length && (await
|
|
113767
|
+
(Xg = ag.files) != null && Xg.length && (await je(ag.files, Ag), ag.value = "");
|
|
113762
113768
|
}, ms = (O) => O < 1024 ? `${O} B` : O < 1024 * 1024 ? `${(O / 1024).toFixed(1)} KB` : `${(O / (1024 * 1024)).toFixed(1)} MB`, hl = (O) => {
|
|
113763
113769
|
if (!O) return "";
|
|
113764
113770
|
const Ag = O.lastIndexOf(".");
|
|
@@ -113901,7 +113907,7 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
113901
113907
|
editorProps: {
|
|
113902
113908
|
handlePaste(O, Ag) {
|
|
113903
113909
|
const ag = Ag.clipboardData;
|
|
113904
|
-
return ag && ag.files.length > 0 && e.activeAttachFile ? (Ag.preventDefault(), Ag.stopPropagation(), te || (te = !0,
|
|
113910
|
+
return ag && ag.files.length > 0 && e.activeAttachFile ? (Ag.preventDefault(), Ag.stopPropagation(), te || (te = !0, je(ag.files, !0), setTimeout(() => {
|
|
113905
113911
|
te = !1;
|
|
113906
113912
|
}, 200)), !0) : !1;
|
|
113907
113913
|
}
|
|
@@ -113966,19 +113972,19 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
113966
113972
|
fi(ag.files, O || !!Ag);
|
|
113967
113973
|
return;
|
|
113968
113974
|
}
|
|
113969
|
-
|
|
113975
|
+
je(ag.files, O);
|
|
113970
113976
|
}
|
|
113971
113977
|
}, ag.click();
|
|
113972
113978
|
}, ng = (O) => {
|
|
113973
113979
|
console.warn(
|
|
113974
113980
|
`${ta} fileDropped event received`,
|
|
113975
113981
|
O.files.map((Ag) => EC(Ag))
|
|
113976
|
-
),
|
|
113982
|
+
), je(O.files, O.onlyMedia);
|
|
113977
113983
|
}, rg = () => {
|
|
113978
113984
|
P != null && P.value && (n("unmount-send", {
|
|
113979
113985
|
content: P.value.getHTML(),
|
|
113980
|
-
files: b.value.length ?
|
|
113981
|
-
mediaFiles: Z.value.length ?
|
|
113986
|
+
files: b.value.length ? et(b.value) : void 0,
|
|
113987
|
+
mediaFiles: Z.value.length ? et(Z.value) : void 0
|
|
113982
113988
|
}), m.value = !1, bt(), gi(), P.value.chain().focus());
|
|
113983
113989
|
}, Dg = () => {
|
|
113984
113990
|
if (P != null && P.value) {
|
|
@@ -114147,7 +114153,7 @@ const BoI = /* @__PURE__ */ mg({
|
|
|
114147
114153
|
document.body.style.overflow = "", (O = P == null ? void 0 : P.value) == null || O.destroy(), s.value && (s.value.removeEventListener("keydown", PC, {
|
|
114148
114154
|
capture: !0
|
|
114149
114155
|
}), s.value.removeEventListener("contextmenu", fe)), G.value && URL.revokeObjectURL(G.value), W.value.forEach((Ag) => URL.revokeObjectURL(Ag)), window.removeEventListener("resize", iA), window.removeEventListener("scroll", iA, !0);
|
|
114150
|
-
}), g({ addSpanLink: jg, focus: hs, editor: P, emitAttachFiles: fi }), (O, Ag) => (T(), Q(dI, null, [
|
|
114156
|
+
}), g({ addSpanLink: jg, focus: hs, editor: P, emitAttachFiles: fi, queueAttachFiles: je }), (O, Ag) => (T(), Q(dI, null, [
|
|
114151
114157
|
E("div", {
|
|
114152
114158
|
ref_key: "mainMentionAnchorRef",
|
|
114153
114159
|
ref: l,
|