@pksep/yui 0.1.198 → 0.1.200
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/sep-yui.es.ts
CHANGED
|
@@ -5,7 +5,7 @@ var gf = (C) => {
|
|
|
5
5
|
var N7 = (C, g, I) => g in C ? V7(C, g, { enumerable: !0, configurable: !0, writable: !0, value: I }) : C[g] = I;
|
|
6
6
|
var bg = (C, g, I) => N7(C, typeof g != "symbol" ? g + "" : g, I), sY = (C, g, I) => g.has(C) || gf("Cannot " + I);
|
|
7
7
|
var d = (C, g, I) => (sY(C, g, "read from private field"), I ? I.call(C) : g.get(C)), R = (C, g, I) => g.has(C) ? gf("Cannot add the same private member more than once") : g instanceof WeakSet ? g.add(C) : g.set(C, I), V = (C, g, I, e) => (sY(C, g, "write to private field"), e ? e.call(C, I) : g.set(C, I), I), f = (C, g, I) => (sY(C, g, "access private method"), I);
|
|
8
|
-
var
|
|
8
|
+
var Be = (C, g, I, e) => ({
|
|
9
9
|
set _(t) {
|
|
10
10
|
V(C, g, t, I);
|
|
11
11
|
},
|
|
@@ -13,7 +13,7 @@ var We = (C, g, I, e) => ({
|
|
|
13
13
|
return d(C, g, e);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import { defineComponent as ng, computed as j, openBlock as x, createElementBlock as Q, normalizeStyle as
|
|
16
|
+
import { defineComponent as ng, computed as j, openBlock as x, createElementBlock as Q, normalizeStyle as ae, unref as q, createElementVNode as gg, reactive as cg, ref as H, onMounted as iI, normalizeClass as Ng, toDisplayString as $g, createVNode as dg, Fragment as GI, renderList as TI, createCommentVNode as wg, createTextVNode as fA, createBlock as Lg, withKeys as CG, renderSlot as Jg, watch as eg, toRef as mK, readonly as vI, customRef as Jl, isRef as MC, getCurrentScope as Op, onScopeDispose as i1, toRefs as Km, nextTick as yI, onUnmounted as jA, getCurrentInstance as xA, shallowRef as wI, isReadonly as km, watchEffect as ue, toRaw as Qp, h as Ie, useId as eG, withDirectives as UC, vShow as Hl, withCtx as zg, withModifiers as CI, shallowReadonly as Nr, onBeforeUnmount as Ra, mergeModels as CA, useModel as ba, effectScope as hK, provide as bK, inject as la, onBeforeMount as M7, isReactive as R7, onUpdated as ZK, shallowReactive as CB, onBeforeUpdate as X7, TransitionGroup as H7, markRaw as GK, useAttrs as wK, mergeProps as Up, vModelText as th, vModelDynamic as f7, Transition as Ep, Teleport as A1, vModelCheckbox as D7, resolveDynamicComponent as S7, vModelRadio as K7, createSlots as k7, resolveComponent as nW, useTemplateRef as WV } from "vue";
|
|
17
17
|
var WC = /* @__PURE__ */ ((C) => (C.default = "default", C.lightBlue = "light-blue", C.blue = "blue", C.green = "green", C.red = "red", C.orange = "orange", C.pink = "pink", C.violet = "violet", C.yellow = "yellow", C.contrastBlue = "contrast-blue", C.disabled = "disabled", C))(WC || {}), Wg = /* @__PURE__ */ ((C) => (C.notification = "notification", C.notificationYes = "notification-yes", C.help = "help", C.moonFill = "moon-fill", C.arrowLeft = "arrow-left", C.chevronDown = "chevron-down", C.chevronUp = "chevron-up", C.checkbox = "checkbox", C.chevronRight = "chevron-right", C.chevronLeft = "chevron-left", C.dark = "dark", C.deleteSmall = "delete-small", C.exitBig = "exit-big", C.exitSmall = "exit-small", C.exit = "exit", C.exitCircle = "exit-circle", C.externalLink = "external-link", C.leftBigSmall = "left-big-small", C.light = "light", C.leftBig = "left-big", C.rightSmall = "right-small", C.settings = "settings", C.settingsDark = "settings-dark", C.searchNormal = "search-normal", C.search = "search", C.filter = "filter", C.bgNotContent = "bg-not-content", C.document = "document", C.baseDetail = "base-detail", C.plusSmall = "plus-small", C.plus = "plus", C.addPlus = "add-plus", C.closeVision = "close-vision", C.openVision = "open-vision", C.trash = "trash", C.printer = "printer", C.uploadCloud = "upload-cloud", C.archive = "archive", C.menuClose = "menu-close", C.menuOpen = "menu-open", C.bookOpen = "book-open", C.chartLine = "chart-line", C.marriage = "marriage", C.baseOfAssemblyUnits = "base-of-assembly-units", C.equipmentBase = "equipment-base", C.supplierDatabase = "supplier-database", C.theDatabaseOfMaterials = "the-database-of-materials", C.theBaseOfTheTool = "the-base-of-the-tool", C.fileDatabase = "file-database", C.baseOfEquipmentAndInventory = "base-of-equipment-and-inventory", C.mainPage = "main-page", C.shopping = "shopping", C.shippingTasks = "shipping-tasks", C.warehouse = "warehouse", C.production = "production", C.wastes = "wastes", C.paperClip = "paper-clip", C.writeDowns = "write-downs", C.theComplaint = "the-complaint", C.usersGroup = "users-group", C.reports = "reports", C.editing = "editing", C.shadedArrowDown = "shaded-arrow-down", C.shadedArrowRight = "shaded-arrow-right", C.shadedArrowLeft = "shaded-arrow-left", C.shadedArrowUp = "shaded-arrow-up", C.star = "star", C.info = "info", C.files = "files", C.moreHorizontal = "more-horizontal", C.moreVertical = "more-vertical", C.fileText = "file-text", C.gitPullRequest = "git-pull-request", C.folder = "folder", C.crossLarge = "cross-large", C.crossSmall = "cross-small", C.profileIcon = "profile-icon", C.profile = "profile", C.rightBig = "right-big", C.alertTriangle = "alert-triangle", C.copy = "copy", C.action = "action", C.reset = "reset", C.move = "move", C.eye = "eye", C.eyeOff = "eye-off", C.handSignEmoji = "hand-sign-emoji", C.calendar = "calendar", C.paint = "paint", C.closeTag = "close-tag", C.arrowUp = "arrow-up", C.arrowDown = "arrow-down", C.openDocument = "open-document", C.time = "time", C.menuArchive = "menu-archive", C.baseProduct = "base-product", C.sidebar = "sidebar", C.pin = "pin", C.read = "read", C.atSign = "at-sign", C.smile = "smile", C.planeRight = "plane-right", C.addUser = "add-user", C.noDistrub = "no-distrub", C.logout = "logout", C.minus = "minus", C.keyboard = "keyboard", C.planeRightFill = "plane-right-fill", C.message = "message", C.darkThemeSwitcher = "dark-theme-switcher", C.qrCode = "qr-code", C.distrub = "distrub", C.delivered = "delivered", C.notDelivered = "not-delivered", C.zoomMinus = "zoom-minus", C.zoomPlus = "zoom-plus", C))(Wg || {});
|
|
18
18
|
const F7 = {
|
|
19
19
|
name: "alert-triangle",
|
|
@@ -1328,7 +1328,7 @@ const F7 = {
|
|
|
1328
1328
|
return x(), Q("svg", {
|
|
1329
1329
|
class: "icon-yui-kit",
|
|
1330
1330
|
"data-testid": g.dataTestid,
|
|
1331
|
-
style:
|
|
1331
|
+
style: ae(I.value),
|
|
1332
1332
|
fill: (n = q(lY)[e(g.name)]) == null ? void 0 : n.fill,
|
|
1333
1333
|
viewBox: ((s = q(lY)[e(g.name)]) == null ? void 0 : s.viewbox) || "0 0 24 24"
|
|
1334
1334
|
}, [
|
|
@@ -1352,7 +1352,7 @@ const F7 = {
|
|
|
1352
1352
|
disabled: { type: Boolean, default: !1 },
|
|
1353
1353
|
dataTestid: { default: "Badges" }
|
|
1354
1354
|
},
|
|
1355
|
-
emits: ["choose"],
|
|
1355
|
+
emits: ["choose", "remove"],
|
|
1356
1356
|
setup(C, { expose: g, emit: I }) {
|
|
1357
1357
|
const e = C, t = I, i = cg({
|
|
1358
1358
|
choosed: e.choosed
|
|
@@ -1372,14 +1372,16 @@ const F7 = {
|
|
|
1372
1372
|
"disabled-yui-kit": e.type === WC.disabled
|
|
1373
1373
|
})), o = () => {
|
|
1374
1374
|
t("choose", i.choosed, e.text), e.disabled || (i.choosed = !i.choosed);
|
|
1375
|
-
}, a =
|
|
1375
|
+
}, a = () => {
|
|
1376
|
+
t("remove", e.text);
|
|
1377
|
+
}, r = new ResizeObserver(() => {
|
|
1376
1378
|
s.value = n();
|
|
1377
1379
|
});
|
|
1378
1380
|
return g({
|
|
1379
1381
|
isSpanOverflow: s
|
|
1380
1382
|
}), iI(() => {
|
|
1381
|
-
A.value &&
|
|
1382
|
-
}), (
|
|
1383
|
+
A.value && r.observe(A.value);
|
|
1384
|
+
}), (u, h) => (x(), Q("div", {
|
|
1383
1385
|
class: Ng(l.value),
|
|
1384
1386
|
onClick: o,
|
|
1385
1387
|
"data-testid": e.dataTestid
|
|
@@ -1396,11 +1398,12 @@ const F7 = {
|
|
|
1396
1398
|
height: 10,
|
|
1397
1399
|
"data-testid": `${e.dataTestid}-Icon`,
|
|
1398
1400
|
name: q(Wg).closeTag,
|
|
1399
|
-
color: "var(--text-neutral-color)"
|
|
1401
|
+
color: "var(--text-neutral-color)",
|
|
1402
|
+
onClick: a
|
|
1400
1403
|
}, null, 8, ["data-testid", "name"])
|
|
1401
1404
|
], 10, A8));
|
|
1402
1405
|
}
|
|
1403
|
-
}), vt = /* @__PURE__ */ Kg(s8, [["__scopeId", "data-v-
|
|
1406
|
+
}), vt = /* @__PURE__ */ Kg(s8, [["__scopeId", "data-v-8043ecdc"]]), l8 = ["data-testid"], o8 = ["data-testid"], a8 = ["data-testid"], d8 = ["data-testid"], c8 = ["data-testid"], r8 = ["data-testid"], u8 = ["title", "onClick", "data-testid"], m8 = ["data-testid"], h8 = ["onClick", "data-testid"], b8 = ["data-testid"], oY = 25, Z8 = /* @__PURE__ */ ng({
|
|
1404
1407
|
__name: "BreadCrumbs",
|
|
1405
1408
|
props: {
|
|
1406
1409
|
items: {},
|
|
@@ -1549,14 +1552,14 @@ const G8 = ["disabled", "data-testid"], w8 = ["data-testid"], W8 = ["data-testid
|
|
|
1549
1552
|
class: Ng(t.value),
|
|
1550
1553
|
disabled: I.disabled,
|
|
1551
1554
|
tabindex: "0",
|
|
1552
|
-
style:
|
|
1555
|
+
style: ae(i.value),
|
|
1553
1556
|
"data-testid": I.dataTestid,
|
|
1554
1557
|
onClick: n,
|
|
1555
1558
|
onKeyup: CG(n, ["enter"])
|
|
1556
1559
|
}, [
|
|
1557
1560
|
s.$slots["left-icon"] ? (x(), Q("span", {
|
|
1558
1561
|
key: 0,
|
|
1559
|
-
style:
|
|
1562
|
+
style: ae(A.value),
|
|
1560
1563
|
"data-testid": `${I.dataTestid}-LeftIcon`
|
|
1561
1564
|
}, [
|
|
1562
1565
|
Jg(s.$slots, "left-icon", {}, void 0, !0)
|
|
@@ -1564,7 +1567,7 @@ const G8 = ["disabled", "data-testid"], w8 = ["data-testid"], W8 = ["data-testid
|
|
|
1564
1567
|
Jg(s.$slots, "default", {}, void 0, !0),
|
|
1565
1568
|
s.$slots["right-icon"] ? (x(), Q("span", {
|
|
1566
1569
|
key: 1,
|
|
1567
|
-
style:
|
|
1570
|
+
style: ae(A.value),
|
|
1568
1571
|
"data-testid": `${I.dataTestid}-RightIcon`
|
|
1569
1572
|
}, [
|
|
1570
1573
|
Jg(s.$slots, "right-icon", {}, void 0, !0)
|
|
@@ -2176,7 +2179,7 @@ function oa(C, g = {}) {
|
|
|
2176
2179
|
i.value = l.matches;
|
|
2177
2180
|
}, n = () => {
|
|
2178
2181
|
t && ("removeEventListener" in t ? t.removeEventListener("change", A) : t.removeListener(A));
|
|
2179
|
-
}, s =
|
|
2182
|
+
}, s = ue(() => {
|
|
2180
2183
|
e.value && (n(), t = I.matchMedia(Yg(C)), "addEventListener" in t ? t.addEventListener("change", A) : t.addListener(A), i.value = t.matches);
|
|
2181
2184
|
});
|
|
2182
2185
|
return Re(() => {
|
|
@@ -3803,7 +3806,7 @@ function x_(C, g = {}) {
|
|
|
3803
3806
|
i.value = l.matches;
|
|
3804
3807
|
}, n = () => {
|
|
3805
3808
|
t && ("removeEventListener" in t ? t.removeEventListener("change", A) : t.removeListener(A));
|
|
3806
|
-
}, s =
|
|
3809
|
+
}, s = ue(() => {
|
|
3807
3810
|
e.value && (n(), t = I.matchMedia(Yg(C)), "addEventListener" in t ? t.addEventListener("change", A) : t.addListener(A), i.value = t.matches);
|
|
3808
3811
|
});
|
|
3809
3812
|
return Re(() => {
|
|
@@ -5103,7 +5106,7 @@ const nq = ["data-testid"], sq = ["data-testid"], lq = ["open", "data-testid"],
|
|
|
5103
5106
|
const I = C, e = g, t = cg({
|
|
5104
5107
|
isOpened: !1
|
|
5105
5108
|
}), i = eG(), A = H(null), n = H(null), s = H(null), l = j(() => `--anchor-select-${i}`);
|
|
5106
|
-
|
|
5109
|
+
ue(() => t.isOpened = I.isOpened);
|
|
5107
5110
|
const o = () => {
|
|
5108
5111
|
I.disabled || I.disableOpen || (t.isOpened = !t.isOpened, e("change", t.isOpened));
|
|
5109
5112
|
}, a = () => {
|
|
@@ -44636,7 +44639,7 @@ const STg = ["data-testid"], KTg = ["data-testid"], kTg = ["data-testid"], FTg =
|
|
|
44636
44639
|
value: "",
|
|
44637
44640
|
isActive: !1
|
|
44638
44641
|
}), t = g;
|
|
44639
|
-
|
|
44642
|
+
ue(() => e.isActive = I.isActive), ue(() => e.value = I.value);
|
|
44640
44643
|
const i = () => {
|
|
44641
44644
|
t("clear");
|
|
44642
44645
|
}, A = () => {
|
|
@@ -46116,7 +46119,7 @@ const Jjg = /* @__PURE__ */ ng({
|
|
|
46116
46119
|
ref_key: "popoverContent",
|
|
46117
46120
|
ref: A,
|
|
46118
46121
|
class: Ng(["popover-content", [`popover-${C.placement}`, { "popover-show": I.open }]]),
|
|
46119
|
-
style:
|
|
46122
|
+
style: ae(q(n))
|
|
46120
46123
|
}, [
|
|
46121
46124
|
Jg(o.$slots, "default", {}, void 0, !0)
|
|
46122
46125
|
], 6)) : wg("", !0)
|
|
@@ -46195,7 +46198,7 @@ const Jjg = /* @__PURE__ */ ng({
|
|
|
46195
46198
|
}, u = () => {
|
|
46196
46199
|
t.isActive = !1, a(), r();
|
|
46197
46200
|
};
|
|
46198
|
-
|
|
46201
|
+
ue(() => t.startDate = e.startDate ?? null), ue(() => t.endDate = e.endDate ?? null);
|
|
46199
46202
|
const h = () => {
|
|
46200
46203
|
const Z = t.startDate ?? /* @__PURE__ */ new Date();
|
|
46201
46204
|
if (e.startDate) {
|
|
@@ -46421,7 +46424,7 @@ const Ojg = ["data-testid"], Qjg = ["data-testid"], Ujg = /* @__PURE__ */ ng({
|
|
|
46421
46424
|
}), t = g, i = H(), A = (s) => {
|
|
46422
46425
|
t("change", s);
|
|
46423
46426
|
};
|
|
46424
|
-
|
|
46427
|
+
ue(() => e.date = I.setDate || null);
|
|
46425
46428
|
const n = () => {
|
|
46426
46429
|
var s, l;
|
|
46427
46430
|
return {
|
|
@@ -46474,7 +46477,7 @@ const Ojg = ["data-testid"], Qjg = ["data-testid"], Ujg = /* @__PURE__ */ ng({
|
|
|
46474
46477
|
function DD(C, g) {
|
|
46475
46478
|
var I;
|
|
46476
46479
|
const e = wI();
|
|
46477
|
-
return
|
|
46480
|
+
return ue(() => {
|
|
46478
46481
|
e.value = C();
|
|
46479
46482
|
}, {
|
|
46480
46483
|
...g,
|
|
@@ -46765,16 +46768,16 @@ function B3(C) {
|
|
|
46765
46768
|
function mG(C) {
|
|
46766
46769
|
return C || xA();
|
|
46767
46770
|
}
|
|
46768
|
-
function
|
|
46771
|
+
function ce(...C) {
|
|
46769
46772
|
if (C.length !== 1)
|
|
46770
46773
|
return mK(...C);
|
|
46771
46774
|
const g = C[0];
|
|
46772
46775
|
return typeof g == "function" ? vI(Jl(() => ({ get: g, set: _I }))) : H(g);
|
|
46773
46776
|
}
|
|
46774
|
-
const rxg =
|
|
46777
|
+
const rxg = ce;
|
|
46775
46778
|
function uxg(C, ...g) {
|
|
46776
46779
|
const I = g.flat(), e = I[0];
|
|
46777
|
-
return _1(() => Object.fromEntries(typeof e == "function" ? Object.entries(Km(C)).filter(([t, i]) => e(_(i), t)) : I.map((t) => [t,
|
|
46780
|
+
return _1(() => Object.fromEntries(typeof e == "function" ? Object.entries(Km(C)).filter(([t, i]) => e(_(i), t)) : I.map((t) => [t, ce(C, t)])));
|
|
46778
46781
|
}
|
|
46779
46782
|
function SD(C, g = 1e4) {
|
|
46780
46783
|
return Jl((I, e) => {
|
|
@@ -47542,7 +47545,7 @@ function FD(C, g, I) {
|
|
|
47542
47545
|
onError: n = _I
|
|
47543
47546
|
} = e, s = H(!t), l = A ? wI(g) : H(g);
|
|
47544
47547
|
let o = 0;
|
|
47545
|
-
return
|
|
47548
|
+
return ue(async (a) => {
|
|
47546
47549
|
if (!s.value)
|
|
47547
47550
|
return;
|
|
47548
47551
|
o++;
|
|
@@ -48279,7 +48282,7 @@ function ri(C, g = {}) {
|
|
|
48279
48282
|
i.value = l.matches;
|
|
48280
48283
|
}, n = () => {
|
|
48281
48284
|
t && ("removeEventListener" in t ? t.removeEventListener("change", A) : t.removeListener(A));
|
|
48282
|
-
}, s =
|
|
48285
|
+
}, s = ue(() => {
|
|
48283
48286
|
e.value && (n(), t = I.matchMedia(_(C)), "addEventListener" in t ? t.addEventListener("change", A) : t.addListener(A), i.value = t.matches);
|
|
48284
48287
|
});
|
|
48285
48288
|
return DI(() => {
|
|
@@ -48738,7 +48741,7 @@ function K3(C = {}) {
|
|
|
48738
48741
|
light: "light",
|
|
48739
48742
|
dark: "dark",
|
|
48740
48743
|
...C.modes || {}
|
|
48741
|
-
}, r = tR({ window: t }), u = j(() => r.value ? "dark" : "light"), h = s || (A == null ?
|
|
48744
|
+
}, r = tR({ window: t }), u = j(() => r.value ? "dark" : "light"), h = s || (A == null ? ce(e) : my(A, e, i, { window: t, listenToStorageChanges: n })), b = j(() => h.value === "auto" ? u.value : h.value), G = uy(
|
|
48742
48745
|
"updateHTMLAttrs",
|
|
48743
48746
|
(p, y, M) => {
|
|
48744
48747
|
const Y = typeof p == "string" ? t == null ? void 0 : t.document.querySelector(p) : MI(p);
|
|
@@ -48845,7 +48848,7 @@ function k3(C) {
|
|
|
48845
48848
|
return ZK(I.trigger), iI(I.trigger), I;
|
|
48846
48849
|
}
|
|
48847
48850
|
function EOg(C, g) {
|
|
48848
|
-
const I = wI(l()), e =
|
|
48851
|
+
const I = wI(l()), e = ce(C), t = j({
|
|
48849
48852
|
get() {
|
|
48850
48853
|
var o;
|
|
48851
48854
|
const a = e.value;
|
|
@@ -49472,7 +49475,7 @@ function aQg(C) {
|
|
|
49472
49475
|
return C === !0 ? {} : C;
|
|
49473
49476
|
}
|
|
49474
49477
|
function dQg(C, g = [], I = {}) {
|
|
49475
|
-
const e = H(null), t = H(null), i = H("CONNECTING"), A = H(null), n = wI(null), s =
|
|
49478
|
+
const e = H(null), t = H(null), i = H("CONNECTING"), A = H(null), n = wI(null), s = ce(C), l = wI(null);
|
|
49476
49479
|
let o = !1, a = 0;
|
|
49477
49480
|
const {
|
|
49478
49481
|
withCredentials: r = !1,
|
|
@@ -49531,7 +49534,7 @@ function rQg(C = null, g = {}) {
|
|
|
49531
49534
|
baseUrl: I = "",
|
|
49532
49535
|
rel: e = "icon",
|
|
49533
49536
|
document: t = Pt
|
|
49534
|
-
} = g, i =
|
|
49537
|
+
} = g, i = ce(C), A = (n) => {
|
|
49535
49538
|
const s = t == null ? void 0 : t.head.querySelectorAll(`link[rel*="${e}"]`);
|
|
49536
49539
|
if (!s || s.length === 0) {
|
|
49537
49540
|
const l = t == null ? void 0 : t.createElement("link");
|
|
@@ -49688,11 +49691,11 @@ function x3(C, ...g) {
|
|
|
49688
49691
|
}).finally(() => {
|
|
49689
49692
|
fg === z && X(!1), M && M.stop(), r.trigger(null);
|
|
49690
49693
|
});
|
|
49691
|
-
}, F =
|
|
49694
|
+
}, F = ce(i.refetch);
|
|
49692
49695
|
eg(
|
|
49693
49696
|
[
|
|
49694
49697
|
F,
|
|
49695
|
-
|
|
49698
|
+
ce(C)
|
|
49696
49699
|
],
|
|
49697
49700
|
([P]) => P && D(),
|
|
49698
49701
|
{ deep: !0 }
|
|
@@ -49732,7 +49735,7 @@ function x3(C, ...g) {
|
|
|
49732
49735
|
return A.method = P, A.payload = Ig, A.payloadType = ug, MC(A.payload) && eg(
|
|
49733
49736
|
[
|
|
49734
49737
|
F,
|
|
49735
|
-
|
|
49738
|
+
ce(A.payload)
|
|
49736
49739
|
],
|
|
49737
49740
|
([fg]) => fg && D(),
|
|
49738
49741
|
{ deep: !0 }
|
|
@@ -50426,7 +50429,7 @@ const vQg = {
|
|
|
50426
50429
|
tracks: []
|
|
50427
50430
|
};
|
|
50428
50431
|
function LQg(C, g = {}) {
|
|
50429
|
-
C =
|
|
50432
|
+
C = ce(C), g = {
|
|
50430
50433
|
...vQg,
|
|
50431
50434
|
...g
|
|
50432
50435
|
};
|
|
@@ -50452,7 +50455,7 @@ function LQg(C, g = {}) {
|
|
|
50452
50455
|
Z && (b.value ? I.exitPictureInPicture().then(D).catch(F) : L.requestPictureInPicture().then(D).catch(F));
|
|
50453
50456
|
});
|
|
50454
50457
|
});
|
|
50455
|
-
|
|
50458
|
+
ue(() => {
|
|
50456
50459
|
if (!I)
|
|
50457
50460
|
return;
|
|
50458
50461
|
const D = _(C);
|
|
@@ -50478,7 +50481,7 @@ function LQg(C, g = {}) {
|
|
|
50478
50481
|
}), eg([C, o], () => {
|
|
50479
50482
|
const D = _(C);
|
|
50480
50483
|
D && (D.playbackRate = o.value);
|
|
50481
|
-
}),
|
|
50484
|
+
}), ue(() => {
|
|
50482
50485
|
if (!I)
|
|
50483
50486
|
return;
|
|
50484
50487
|
const D = _(g.tracks), F = _(C);
|
|
@@ -50948,7 +50951,7 @@ function e4g(C, g = {}) {
|
|
|
50948
50951
|
};
|
|
50949
50952
|
}
|
|
50950
50953
|
function t4g(C, g = {}) {
|
|
50951
|
-
const I =
|
|
50954
|
+
const I = ce(C), {
|
|
50952
50955
|
threshold: e = 50,
|
|
50953
50956
|
onSwipe: t,
|
|
50954
50957
|
onSwipeEnd: i,
|
|
@@ -51021,7 +51024,7 @@ function s4g(C) {
|
|
|
51021
51024
|
function l4g(C, g) {
|
|
51022
51025
|
const I = wI(g);
|
|
51023
51026
|
return eg(
|
|
51024
|
-
|
|
51027
|
+
ce(C),
|
|
51025
51028
|
(e, t) => {
|
|
51026
51029
|
I.value = t;
|
|
51027
51030
|
},
|
|
@@ -51099,7 +51102,7 @@ const fY = /* @__PURE__ */ new WeakMap();
|
|
|
51099
51102
|
function c4g(C, g = !1) {
|
|
51100
51103
|
const I = H(g);
|
|
51101
51104
|
let e = null, t = "";
|
|
51102
|
-
eg(
|
|
51105
|
+
eg(ce(C), (n) => {
|
|
51103
51106
|
const s = rW(_(n));
|
|
51104
51107
|
if (s) {
|
|
51105
51108
|
const l = s;
|
|
@@ -51165,7 +51168,7 @@ function h4g(...C) {
|
|
|
51165
51168
|
dirty: s = !1,
|
|
51166
51169
|
sortFn: l = m4g
|
|
51167
51170
|
} = n;
|
|
51168
|
-
return s ? (
|
|
51171
|
+
return s ? (ue(() => {
|
|
51169
51172
|
const o = l(_(i), A);
|
|
51170
51173
|
MC(i) ? i.value = o : i.splice(0, i.length, ...o);
|
|
51171
51174
|
}), i) : j(() => l([..._(i)], A));
|
|
@@ -51176,7 +51179,7 @@ function b4g(C = {}) {
|
|
|
51176
51179
|
continuous: I = !0,
|
|
51177
51180
|
maxAlternatives: e = 1,
|
|
51178
51181
|
window: t = vg
|
|
51179
|
-
} = C, i =
|
|
51182
|
+
} = C, i = ce(C.lang || "en-US"), A = H(!1), n = H(!1), s = H(""), l = wI(void 0), o = (G = !A.value) => {
|
|
51180
51183
|
A.value = G;
|
|
51181
51184
|
}, a = () => {
|
|
51182
51185
|
A.value = !0;
|
|
@@ -51217,7 +51220,7 @@ function Z4g(C, g = {}) {
|
|
|
51217
51220
|
rate: e = 1,
|
|
51218
51221
|
volume: t = 1,
|
|
51219
51222
|
window: i = vg
|
|
51220
|
-
} = g, A = i && i.speechSynthesis, n = SI(() => A), s = H(!1), l = H("init"), o =
|
|
51223
|
+
} = g, A = i && i.speechSynthesis, n = SI(() => A), s = H(!1), l = H("init"), o = ce(C || ""), a = ce(g.lang || "en-US"), r = wI(void 0), u = (W = !s.value) => {
|
|
51221
51224
|
s.value = W;
|
|
51222
51225
|
}, h = (W) => {
|
|
51223
51226
|
W.lang = _(a), W.voice = _(g.voice) || null, W.pitch = _(I), W.rate = _(e), W.volume = t, W.onstart = () => {
|
|
@@ -51654,7 +51657,7 @@ function F4g(C = null, g = {}) {
|
|
|
51654
51657
|
const {
|
|
51655
51658
|
document: i = Pt,
|
|
51656
51659
|
restoreOnUnmount: A = (a) => a
|
|
51657
|
-
} = g, n = (I = i == null ? void 0 : i.title) != null ? I : "", s =
|
|
51660
|
+
} = g, n = (I = i == null ? void 0 : i.title) != null ? I : "", s = ce((e = C ?? (i == null ? void 0 : i.title)) != null ? e : null), l = C && typeof C == "function";
|
|
51658
51661
|
function o(a) {
|
|
51659
51662
|
if (!("titleTemplate" in g))
|
|
51660
51663
|
return a;
|
|
@@ -51959,7 +51962,7 @@ function O4g(C) {
|
|
|
51959
51962
|
pattern: g = [],
|
|
51960
51963
|
interval: I = 0,
|
|
51961
51964
|
navigator: e = Zi
|
|
51962
|
-
} = C || {}, t = SI(() => typeof e < "u" && "vibrate" in e), i =
|
|
51965
|
+
} = C || {}, t = SI(() => typeof e < "u" && "vibrate" in e), i = ce(g);
|
|
51963
51966
|
let A;
|
|
51964
51967
|
const n = (l = i.value) => {
|
|
51965
51968
|
t.value && e.vibrate(l);
|
|
@@ -52194,7 +52197,7 @@ function $4g(C, g = {}) {
|
|
|
52194
52197
|
immediate: A = !0,
|
|
52195
52198
|
autoClose: n = !0,
|
|
52196
52199
|
protocols: s = []
|
|
52197
|
-
} = g, l = H(null), o = H("CLOSED"), a = H(), r =
|
|
52200
|
+
} = g, l = H(null), o = H("CLOSED"), a = H(), r = ce(C);
|
|
52198
52201
|
let u, h, b = !1, G = 0, Z = [], W;
|
|
52199
52202
|
const B = () => {
|
|
52200
52203
|
if (Z.length && a.value && o.value === "OPEN") {
|
|
@@ -52529,7 +52532,7 @@ const dlI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
52529
52532
|
throttledWatch: kD,
|
|
52530
52533
|
timestamp: Tc,
|
|
52531
52534
|
toReactive: c3,
|
|
52532
|
-
toRef:
|
|
52535
|
+
toRef: ce,
|
|
52533
52536
|
toRefs: CR,
|
|
52534
52537
|
toValue: _,
|
|
52535
52538
|
tryOnBeforeMount: Gxg,
|
|
@@ -52731,7 +52734,7 @@ const dlI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
52731
52734
|
}), lg(e, "keydown", (o) => {
|
|
52732
52735
|
(o.key === "Escape" || o.key === "Esc") && (I.noClose || s());
|
|
52733
52736
|
}), iI(() => {
|
|
52734
|
-
|
|
52737
|
+
ue(() => {
|
|
52735
52738
|
I.open !== i.value && (l(), i.value = I.open);
|
|
52736
52739
|
});
|
|
52737
52740
|
}), (o, a) => (x(), Q("dialog", Up({
|
|
@@ -52744,7 +52747,7 @@ const dlI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
52744
52747
|
gg("div", {
|
|
52745
52748
|
"data-testid": `${I.dataTestid}-Content`,
|
|
52746
52749
|
class: "dialog-yui-kit__dialog-content",
|
|
52747
|
-
style:
|
|
52750
|
+
style: ae(A.value)
|
|
52748
52751
|
}, [
|
|
52749
52752
|
Jg(o.$slots, "default", {}, void 0, !0)
|
|
52750
52753
|
], 12, lUg)
|
|
@@ -53241,7 +53244,7 @@ wB.exports;
|
|
|
53241
53244
|
["partial", y],
|
|
53242
53245
|
["partialRight", M],
|
|
53243
53246
|
["rearg", X]
|
|
53244
|
-
], BI = "[object Arguments]", kC = "[object Array]", FI = "[object AsyncFunction]", FC = "[object Boolean]", Bt = "[object Date]", OA = "[object DOMException]",
|
|
53247
|
+
], BI = "[object Arguments]", kC = "[object Array]", FI = "[object AsyncFunction]", FC = "[object Boolean]", Bt = "[object Date]", OA = "[object DOMException]", be = "[object Error]", tA = "[object Function]", iA = "[object GeneratorFunction]", Ze = "[object Map]", Nn = "[object Number]", Fa = "[object Null]", ee = "[object Object]", sr = "[object Promise]", uh = "[object Proxy]", pt = "[object RegExp]", Xe = "[object Set]", Mn = "[object String]", QA = "[object Symbol]", Ns = "[object Undefined]", rg = "[object WeakMap]", Gg = "[object WeakSet]", Qg = "[object ArrayBuffer]", mI = "[object DataView]", cC = "[object Float32Array]", Ge = "[object Float64Array]", wi = "[object Int8Array]", lr = "[object Int16Array]", or = "[object Int32Array]", ar = "[object Uint8Array]", dr = "[object Uint8ClampedArray]", te = "[object Uint16Array]", Oe = "[object Uint32Array]", cr = /\b__p \+= '';/g, ET = /\b(__p \+=) '' \+/g, PT = /(__e\(.*?\)|\b__t\)) \+\n'';/g, yX = /&(?:amp|lt|gt|quot|#39);/g, YX = /[&<>"']/g, _T = RegExp(yX.source), qT = RegExp(YX.source), $T = /<%-([\s\S]+?)%>/g, gj = /<%([\s\S]+?)%>/g, VX = /<%=([\s\S]+?)%>/g, Ij = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Cj = /^\w*$/, ej = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Py = /[\\^$.*+?()[\]{}|]/g, tj = RegExp(Py.source), _y = /^\s+/, ij = /\s/, Aj = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, nj = /\{\n\/\* \[wrapped with (.+)\] \*/, sj = /,? & /, lj = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, oj = /[()=,{}\[\]\/\s]/, aj = /\\(\\)?/g, dj = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, NX = /\w*$/, cj = /^[-+]0x[0-9a-f]+$/i, rj = /^0b[01]+$/i, uj = /^\[object .+?Constructor\]$/, mj = /^0o[0-7]+$/i, hj = /^(?:0|[1-9]\d*)$/, bj = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, SG = /($^)/, Zj = /['\n\r\u2028\u2029\\]/g, KG = "\\ud800-\\udfff", Gj = "\\u0300-\\u036f", wj = "\\ufe20-\\ufe2f", Wj = "\\u20d0-\\u20ff", MX = Gj + wj + Wj, RX = "\\u2700-\\u27bf", XX = "a-z\\xdf-\\xf6\\xf8-\\xff", Bj = "\\xac\\xb1\\xd7\\xf7", pj = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", yj = "\\u2000-\\u206f", Yj = " \\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", HX = "A-Z\\xc0-\\xd6\\xd8-\\xde", fX = "\\ufe0e\\ufe0f", DX = Bj + pj + yj + Yj, qy = "['’]", Vj = "[" + KG + "]", SX = "[" + DX + "]", kG = "[" + MX + "]", KX = "\\d+", Nj = "[" + RX + "]", kX = "[" + XX + "]", FX = "[^" + KG + DX + KX + RX + XX + HX + "]", $y = "\\ud83c[\\udffb-\\udfff]", Mj = "(?:" + kG + "|" + $y + ")", zX = "[^" + KG + "]", g2 = "(?:\\ud83c[\\udde6-\\uddff]){2}", I2 = "[\\ud800-\\udbff][\\udc00-\\udfff]", rr = "[" + HX + "]", JX = "\\u200d", vX = "(?:" + kX + "|" + FX + ")", Rj = "(?:" + rr + "|" + FX + ")", LX = "(?:" + qy + "(?:d|ll|m|re|s|t|ve))?", TX = "(?:" + qy + "(?:D|LL|M|RE|S|T|VE))?", jX = Mj + "?", xX = "[" + fX + "]?", Xj = "(?:" + JX + "(?:" + [zX, g2, I2].join("|") + ")" + xX + jX + ")*", Hj = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", fj = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", OX = xX + jX + Xj, Dj = "(?:" + [Nj, g2, I2].join("|") + ")" + OX, Sj = "(?:" + [zX + kG + "?", kG, g2, I2, Vj].join("|") + ")", Kj = RegExp(qy, "g"), kj = RegExp(kG, "g"), C2 = RegExp($y + "(?=" + $y + ")|" + Sj + OX, "g"), Fj = RegExp([
|
|
53245
53248
|
rr + "?" + kX + "+" + LX + "(?=" + [SX, rr, "$"].join("|") + ")",
|
|
53246
53249
|
Rj + "+" + TX + "(?=" + [SX, rr + vX, "$"].join("|") + ")",
|
|
53247
53250
|
rr + "?" + vX + "+" + LX,
|
|
@@ -53282,9 +53285,9 @@ wB.exports;
|
|
|
53282
53285
|
"parseInt",
|
|
53283
53286
|
"setTimeout"
|
|
53284
53287
|
], Lj = -1, ZC = {};
|
|
53285
|
-
ZC[cC] = ZC[
|
|
53288
|
+
ZC[cC] = ZC[Ge] = ZC[wi] = ZC[lr] = ZC[or] = ZC[ar] = ZC[dr] = ZC[te] = ZC[Oe] = !0, ZC[BI] = ZC[kC] = ZC[Qg] = ZC[FC] = ZC[mI] = ZC[Bt] = ZC[be] = ZC[tA] = ZC[Ze] = ZC[Nn] = ZC[ee] = ZC[pt] = ZC[Xe] = ZC[Mn] = ZC[rg] = !1;
|
|
53286
53289
|
var rC = {};
|
|
53287
|
-
rC[BI] = rC[kC] = rC[Qg] = rC[mI] = rC[FC] = rC[Bt] = rC[cC] = rC[
|
|
53290
|
+
rC[BI] = rC[kC] = rC[Qg] = rC[mI] = rC[FC] = rC[Bt] = rC[cC] = rC[Ge] = rC[wi] = rC[lr] = rC[or] = rC[Ze] = rC[Nn] = rC[ee] = rC[pt] = rC[Xe] = rC[Mn] = rC[QA] = rC[ar] = rC[dr] = rC[te] = rC[Oe] = !0, rC[be] = rC[tA] = rC[rg] = !1;
|
|
53288
53291
|
var Tj = {
|
|
53289
53292
|
// Latin-1 Supplement block.
|
|
53290
53293
|
À: "A",
|
|
@@ -53519,8 +53522,8 @@ wB.exports;
|
|
|
53519
53522
|
}
|
|
53520
53523
|
function Pj($, sg, ig, Rg) {
|
|
53521
53524
|
for (var II = -1, zI = $ == null ? 0 : $.length; ++II < zI; ) {
|
|
53522
|
-
var
|
|
53523
|
-
sg(Rg,
|
|
53525
|
+
var we = $[II];
|
|
53526
|
+
sg(Rg, we, ig(we), $);
|
|
53524
53527
|
}
|
|
53525
53528
|
return Rg;
|
|
53526
53529
|
}
|
|
@@ -53542,8 +53545,8 @@ wB.exports;
|
|
|
53542
53545
|
}
|
|
53543
53546
|
function xl($, sg) {
|
|
53544
53547
|
for (var ig = -1, Rg = $ == null ? 0 : $.length, II = 0, zI = []; ++ig < Rg; ) {
|
|
53545
|
-
var
|
|
53546
|
-
sg(
|
|
53548
|
+
var we = $[ig];
|
|
53549
|
+
sg(we, ig, $) && (zI[II++] = we);
|
|
53547
53550
|
}
|
|
53548
53551
|
return zI;
|
|
53549
53552
|
}
|
|
@@ -53594,8 +53597,8 @@ wB.exports;
|
|
|
53594
53597
|
}
|
|
53595
53598
|
function CH($, sg, ig) {
|
|
53596
53599
|
var Rg;
|
|
53597
|
-
return ig($, function(II, zI,
|
|
53598
|
-
if (sg(II, zI,
|
|
53600
|
+
return ig($, function(II, zI, we) {
|
|
53601
|
+
if (sg(II, zI, we))
|
|
53599
53602
|
return Rg = zI, !1;
|
|
53600
53603
|
}), Rg;
|
|
53601
53604
|
}
|
|
@@ -53632,8 +53635,8 @@ wB.exports;
|
|
|
53632
53635
|
};
|
|
53633
53636
|
}
|
|
53634
53637
|
function iH($, sg, ig, Rg, II) {
|
|
53635
|
-
return II($, function(zI,
|
|
53636
|
-
ig = Rg ? (Rg = !1, zI) : sg(ig, zI,
|
|
53638
|
+
return II($, function(zI, we, nC) {
|
|
53639
|
+
ig = Rg ? (Rg = !1, zI) : sg(ig, zI, we, nC);
|
|
53637
53640
|
}), ig;
|
|
53638
53641
|
}
|
|
53639
53642
|
function ex($, sg) {
|
|
@@ -53721,8 +53724,8 @@ wB.exports;
|
|
|
53721
53724
|
}
|
|
53722
53725
|
function Ql($, sg) {
|
|
53723
53726
|
for (var ig = -1, Rg = $.length, II = 0, zI = []; ++ig < Rg; ) {
|
|
53724
|
-
var
|
|
53725
|
-
(
|
|
53727
|
+
var we = $[ig];
|
|
53728
|
+
(we === sg || we === o) && ($[ig] = o, zI[II++] = ig);
|
|
53726
53729
|
}
|
|
53727
53730
|
return zI;
|
|
53728
53731
|
}
|
|
@@ -53775,7 +53778,7 @@ wB.exports;
|
|
|
53775
53778
|
}
|
|
53776
53779
|
var Zx = function $(sg) {
|
|
53777
53780
|
sg = sg == null ? Qe : br.defaults(Qe.Object(), sg, br.pick(Qe, vj));
|
|
53778
|
-
var ig = sg.Array, Rg = sg.Date, II = sg.Error, zI = sg.Function,
|
|
53781
|
+
var ig = sg.Array, Rg = sg.Date, II = sg.Error, zI = sg.Function, we = sg.Math, nC = sg.Object, r2 = sg.RegExp, Gx = sg.String, sA = sg.TypeError, vG = ig.prototype, wx = zI.prototype, Zr = nC.prototype, LG = sg["__core-js_shared__"], TG = wx.toString, xI = Zr.hasOwnProperty, Wx = 0, aH = function() {
|
|
53779
53782
|
var c = /[^.]+$/.exec(LG && LG.keys && LG.keys.IE_PROTO || "");
|
|
53780
53783
|
return c ? "Symbol(src)_1." + c : "";
|
|
53781
53784
|
}(), jG = Zr.toString, Bx = TG.call(nC), px = Qe._, yx = r2(
|
|
@@ -53786,7 +53789,7 @@ wB.exports;
|
|
|
53786
53789
|
return c({}, "", {}), c;
|
|
53787
53790
|
} catch {
|
|
53788
53791
|
}
|
|
53789
|
-
}(), Yx = sg.clearTimeout !== Qe.clearTimeout && sg.clearTimeout, Vx = Rg && Rg.now !== Qe.Date.now && Rg.now, Nx = sg.setTimeout !== Qe.setTimeout && sg.setTimeout, PG =
|
|
53792
|
+
}(), Yx = sg.clearTimeout !== Qe.clearTimeout && sg.clearTimeout, Vx = Rg && Rg.now !== Qe.Date.now && Rg.now, Nx = sg.setTimeout !== Qe.setTimeout && sg.setTimeout, PG = we.ceil, _G = we.floor, u2 = nC.getOwnPropertySymbols, Mx = xG ? xG.isBuffer : I, mH = sg.isFinite, Rx = vG.join, Xx = lH(nC.keys, nC), We = we.max, st = we.min, Hx = Rg.now, fx = sg.parseInt, hH = we.random, Dx = vG.reverse, m2 = xa(sg, "DataView"), bh = xa(sg, "Map"), h2 = xa(sg, "Promise"), Gr = xa(sg, "Set"), Zh = xa(sg, "WeakMap"), Gh = xa(nC, "create"), qG = Zh && new Zh(), wr = {}, Sx = Oa(m2), Kx = Oa(bh), kx = Oa(h2), Fx = Oa(Gr), zx = Oa(Zh), $G = Ul ? Ul.prototype : I, wh = $G ? $G.valueOf : I, bH = $G ? $G.toString : I;
|
|
53790
53793
|
function J(c) {
|
|
53791
53794
|
if (zC(c) && !AI(c) && !(c instanceof VI)) {
|
|
53792
53795
|
if (c instanceof lA)
|
|
@@ -54234,7 +54237,7 @@ wB.exports;
|
|
|
54234
54237
|
return c != null && m in nC(c);
|
|
54235
54238
|
}
|
|
54236
54239
|
function GO(c, m, w) {
|
|
54237
|
-
return c >= st(m, w) && c <
|
|
54240
|
+
return c >= st(m, w) && c < We(m, w);
|
|
54238
54241
|
}
|
|
54239
54242
|
function B2(c, m, w) {
|
|
54240
54243
|
for (var N = w ? i2 : FG, k = c[0].length, v = c.length, O = v, U = ig(v), Cg = 1 / 0, og = []; O--; ) {
|
|
@@ -54300,7 +54303,7 @@ wB.exports;
|
|
|
54300
54303
|
return yg ? (v || (v = new EA()), qO(c, m, w, N, k, v)) : !1;
|
|
54301
54304
|
}
|
|
54302
54305
|
function yO(c) {
|
|
54303
|
-
return zC(c) && lt(c) ==
|
|
54306
|
+
return zC(c) && lt(c) == Ze;
|
|
54304
54307
|
}
|
|
54305
54308
|
function p2(c, m, w, N) {
|
|
54306
54309
|
var k = w.length, v = k, O = !N;
|
|
@@ -54466,7 +54469,7 @@ wB.exports;
|
|
|
54466
54469
|
return c + _G(hH() * (m - c + 1));
|
|
54467
54470
|
}
|
|
54468
54471
|
function fO(c, m, w, N) {
|
|
54469
|
-
for (var k = -1, v =
|
|
54472
|
+
for (var k = -1, v = We(PG((m - c) / (w || 1)), 0), O = ig(v); v--; )
|
|
54470
54473
|
O[N ? v : ++k] = c, c += w;
|
|
54471
54474
|
return O;
|
|
54472
54475
|
}
|
|
@@ -54700,7 +54703,7 @@ wB.exports;
|
|
|
54700
54703
|
return c.index - m.index;
|
|
54701
54704
|
}
|
|
54702
54705
|
function UH(c, m, w, N) {
|
|
54703
|
-
for (var k = -1, v = c.length, O = w.length, U = -1, Cg = m.length, og =
|
|
54706
|
+
for (var k = -1, v = c.length, O = w.length, U = -1, Cg = m.length, og = We(v - O, 0), ag = ig(Cg + og), mg = !N; ++U < Cg; )
|
|
54704
54707
|
ag[U] = m[U];
|
|
54705
54708
|
for (; ++k < O; )
|
|
54706
54709
|
(mg || k < v) && (ag[w[k]] = c[k]);
|
|
@@ -54709,7 +54712,7 @@ wB.exports;
|
|
|
54709
54712
|
return ag;
|
|
54710
54713
|
}
|
|
54711
54714
|
function EH(c, m, w, N) {
|
|
54712
|
-
for (var k = -1, v = c.length, O = -1, U = w.length, Cg = -1, og = m.length, ag =
|
|
54715
|
+
for (var k = -1, v = c.length, O = -1, U = w.length, Cg = -1, og = m.length, ag = We(v - U, 0), mg = ig(ag + og), yg = !N; ++k < ag; )
|
|
54713
54716
|
mg[k] = c[k];
|
|
54714
54717
|
for (var Sg = k; ++Cg < og; )
|
|
54715
54718
|
mg[Sg + Cg] = m[Cg];
|
|
@@ -54984,7 +54987,7 @@ wB.exports;
|
|
|
54984
54987
|
return j2(c) && u5(qg, hI), qg.placeholder = N, m5(qg, c, m);
|
|
54985
54988
|
}
|
|
54986
54989
|
function k2(c) {
|
|
54987
|
-
var m =
|
|
54990
|
+
var m = we[c];
|
|
54988
54991
|
return function(w, N) {
|
|
54989
54992
|
if (w = cA(w), N = N == null ? 0 : st(aI(N), 292), N && mH(w)) {
|
|
54990
54993
|
var k = (LI(w) + "e").split("e"), v = m(k[0] + "e" + (+k[1] + N));
|
|
@@ -54999,7 +55002,7 @@ wB.exports;
|
|
|
54999
55002
|
function t5(c) {
|
|
55000
55003
|
return function(m) {
|
|
55001
55004
|
var w = lt(m);
|
|
55002
|
-
return w ==
|
|
55005
|
+
return w == Ze ? c2(m) : w == Xe ? dx(m) : tx(m, c(m));
|
|
55003
55006
|
};
|
|
55004
55007
|
}
|
|
55005
55008
|
function Hs(c, m, w, N, k, v, O, U) {
|
|
@@ -55007,7 +55010,7 @@ wB.exports;
|
|
|
55007
55010
|
if (!Cg && typeof c != "function")
|
|
55008
55011
|
throw new sA(A);
|
|
55009
55012
|
var og = N ? N.length : 0;
|
|
55010
|
-
if (og || (m &= ~(y | M), N = k = I), O = O === I ? O :
|
|
55013
|
+
if (og || (m &= ~(y | M), N = k = I), O = O === I ? O : We(aI(O), 0), U = U === I ? U : aI(U), og -= k ? k.length : 0, m & M) {
|
|
55011
55014
|
var ag = N, mg = k;
|
|
55012
55015
|
N = k = I;
|
|
55013
55016
|
}
|
|
@@ -55023,7 +55026,7 @@ wB.exports;
|
|
|
55023
55026
|
O,
|
|
55024
55027
|
U
|
|
55025
55028
|
];
|
|
55026
|
-
if (yg && oQ(Sg, yg), c = Sg[0], m = Sg[1], w = Sg[2], N = Sg[3], k = Sg[4], U = Sg[9] = Sg[9] === I ? Cg ? 0 : c.length :
|
|
55029
|
+
if (yg && oQ(Sg, yg), c = Sg[0], m = Sg[1], w = Sg[2], N = Sg[3], k = Sg[4], U = Sg[9] = Sg[9] === I ? Cg ? 0 : c.length : We(Sg[9] - og, 0), !U && m & (B | p) && (m &= ~(B | p)), !m || m == G)
|
|
55027
55030
|
var _g = OO(c, m, w);
|
|
55028
55031
|
else m == B || m == p ? _g = QO(c, m, U) : (m == y || m == (G | y)) && !k.length ? _g = UO(c, m, w, N) : _g = sw.apply(I, Sg);
|
|
55029
55032
|
var hI = yg ? FH : u5;
|
|
@@ -55083,12 +55086,12 @@ wB.exports;
|
|
|
55083
55086
|
case Bt:
|
|
55084
55087
|
case Nn:
|
|
55085
55088
|
return PA(+c, +m);
|
|
55086
|
-
case
|
|
55089
|
+
case be:
|
|
55087
55090
|
return c.name == m.name && c.message == m.message;
|
|
55088
55091
|
case pt:
|
|
55089
55092
|
case Mn:
|
|
55090
55093
|
return c == m + "";
|
|
55091
|
-
case
|
|
55094
|
+
case Ze:
|
|
55092
55095
|
var U = c2;
|
|
55093
55096
|
case Xe:
|
|
55094
55097
|
var Cg = N & h;
|
|
@@ -55199,14 +55202,14 @@ wB.exports;
|
|
|
55199
55202
|
Ol(m, L2(c)), c = QG(c);
|
|
55200
55203
|
return m;
|
|
55201
55204
|
} : AY, lt = yt;
|
|
55202
|
-
(m2 && lt(new m2(new ArrayBuffer(1))) != mI || bh && lt(new bh()) !=
|
|
55205
|
+
(m2 && lt(new m2(new ArrayBuffer(1))) != mI || bh && lt(new bh()) != Ze || h2 && lt(h2.resolve()) != sr || Gr && lt(new Gr()) != Xe || Zh && lt(new Zh()) != rg) && (lt = function(c) {
|
|
55203
55206
|
var m = yt(c), w = m == ee ? c.constructor : I, N = w ? Oa(w) : "";
|
|
55204
55207
|
if (N)
|
|
55205
55208
|
switch (N) {
|
|
55206
55209
|
case Sx:
|
|
55207
55210
|
return mI;
|
|
55208
55211
|
case Kx:
|
|
55209
|
-
return
|
|
55212
|
+
return Ze;
|
|
55210
55213
|
case kx:
|
|
55211
55214
|
return sr;
|
|
55212
55215
|
case Fx:
|
|
@@ -55230,7 +55233,7 @@ wB.exports;
|
|
|
55230
55233
|
m = st(m, c + O);
|
|
55231
55234
|
break;
|
|
55232
55235
|
case "takeRight":
|
|
55233
|
-
c =
|
|
55236
|
+
c = We(c, m - O);
|
|
55234
55237
|
break;
|
|
55235
55238
|
}
|
|
55236
55239
|
}
|
|
@@ -55268,7 +55271,7 @@ wB.exports;
|
|
|
55268
55271
|
case mI:
|
|
55269
55272
|
return JO(c, w);
|
|
55270
55273
|
case cC:
|
|
55271
|
-
case
|
|
55274
|
+
case Ge:
|
|
55272
55275
|
case wi:
|
|
55273
55276
|
case lr:
|
|
55274
55277
|
case or:
|
|
@@ -55277,7 +55280,7 @@ wB.exports;
|
|
|
55277
55280
|
case te:
|
|
55278
55281
|
case Oe:
|
|
55279
55282
|
return OH(c, w);
|
|
55280
|
-
case
|
|
55283
|
+
case Ze:
|
|
55281
55284
|
return new N();
|
|
55282
55285
|
case Nn:
|
|
55283
55286
|
case Mn:
|
|
@@ -55376,8 +55379,8 @@ wB.exports;
|
|
|
55376
55379
|
return jG.call(c);
|
|
55377
55380
|
}
|
|
55378
55381
|
function c5(c, m, w) {
|
|
55379
|
-
return m =
|
|
55380
|
-
for (var N = arguments, k = -1, v =
|
|
55382
|
+
return m = We(m === I ? c.length - 1 : m, 0), function() {
|
|
55383
|
+
for (var N = arguments, k = -1, v = We(N.length - m, 0), O = ig(v); ++k < v; )
|
|
55381
55384
|
O[k] = N[m + k];
|
|
55382
55385
|
k = -1;
|
|
55383
55386
|
for (var U = ig(m + 1); ++k < m; )
|
|
@@ -55464,7 +55467,7 @@ wB.exports;
|
|
|
55464
55467
|
return m.__actions__ = _t(c.__actions__), m.__index__ = c.__index__, m.__values__ = c.__values__, m;
|
|
55465
55468
|
}
|
|
55466
55469
|
function uQ(c, m, w) {
|
|
55467
|
-
(w ? Yt(c, m, w) : m === I) ? m = 1 : m =
|
|
55470
|
+
(w ? Yt(c, m, w) : m === I) ? m = 1 : m = We(aI(m), 0);
|
|
55468
55471
|
var N = c == null ? 0 : c.length;
|
|
55469
55472
|
if (!N || m < 1)
|
|
55470
55473
|
return [];
|
|
@@ -55519,14 +55522,14 @@ wB.exports;
|
|
|
55519
55522
|
if (!N)
|
|
55520
55523
|
return -1;
|
|
55521
55524
|
var k = w == null ? 0 : aI(w);
|
|
55522
|
-
return k < 0 && (k =
|
|
55525
|
+
return k < 0 && (k = We(N + k, 0)), zG(c, Ug(m, 3), k);
|
|
55523
55526
|
}
|
|
55524
55527
|
function w5(c, m, w) {
|
|
55525
55528
|
var N = c == null ? 0 : c.length;
|
|
55526
55529
|
if (!N)
|
|
55527
55530
|
return -1;
|
|
55528
55531
|
var k = N - 1;
|
|
55529
|
-
return w !== I && (k = aI(w), k = w < 0 ?
|
|
55532
|
+
return w !== I && (k = aI(w), k = w < 0 ? We(N + k, 0) : st(k, N - 1)), zG(c, Ug(m, 3), k, !0);
|
|
55530
55533
|
}
|
|
55531
55534
|
function W5(c) {
|
|
55532
55535
|
var m = c == null ? 0 : c.length;
|
|
@@ -55555,7 +55558,7 @@ wB.exports;
|
|
|
55555
55558
|
if (!N)
|
|
55556
55559
|
return -1;
|
|
55557
55560
|
var k = w == null ? 0 : aI(w);
|
|
55558
|
-
return k < 0 && (k =
|
|
55561
|
+
return k < 0 && (k = We(N + k, 0)), ur(c, m, k);
|
|
55559
55562
|
}
|
|
55560
55563
|
function RQ(c) {
|
|
55561
55564
|
var m = c == null ? 0 : c.length;
|
|
@@ -55583,7 +55586,7 @@ wB.exports;
|
|
|
55583
55586
|
if (!N)
|
|
55584
55587
|
return -1;
|
|
55585
55588
|
var k = N;
|
|
55586
|
-
return w !== I && (k = aI(w), k = k < 0 ?
|
|
55589
|
+
return w !== I && (k = aI(w), k = k < 0 ? We(N + k, 0) : st(k, N - 1)), m === m ? rx(c, m, k) : zG(c, eH, k, !0);
|
|
55587
55590
|
}
|
|
55588
55591
|
function KQ(c, m) {
|
|
55589
55592
|
return c && c.length ? DH(c, aI(m)) : I;
|
|
@@ -55699,7 +55702,7 @@ wB.exports;
|
|
|
55699
55702
|
var m = 0;
|
|
55700
55703
|
return c = xl(c, function(w) {
|
|
55701
55704
|
if (_C(w))
|
|
55702
|
-
return m =
|
|
55705
|
+
return m = We(w.length, m), !0;
|
|
55703
55706
|
}), a2(m, function(w) {
|
|
55704
55707
|
return pC(c, s2(w));
|
|
55705
55708
|
});
|
|
@@ -55828,7 +55831,7 @@ wB.exports;
|
|
|
55828
55831
|
function D4(c, m, w, N) {
|
|
55829
55832
|
c = qt(c) ? c : Vr(c), w = w && !N ? aI(w) : 0;
|
|
55830
55833
|
var k = c.length;
|
|
55831
|
-
return w < 0 && (w =
|
|
55834
|
+
return w < 0 && (w = We(k + w, 0)), ww(c) ? w <= k && c.indexOf(m, w) > -1 : !!k && ur(c, m, w) > -1;
|
|
55832
55835
|
}
|
|
55833
55836
|
var S4 = WI(function(c, m, w) {
|
|
55834
55837
|
var N = -1, k = typeof m == "function", v = qt(c) ? ig(c.length) : [];
|
|
@@ -55881,7 +55884,7 @@ wB.exports;
|
|
|
55881
55884
|
if (qt(c))
|
|
55882
55885
|
return ww(c) ? hr(c) : c.length;
|
|
55883
55886
|
var m = lt(c);
|
|
55884
|
-
return m ==
|
|
55887
|
+
return m == Ze || m == Xe ? c.size : y2(c).length;
|
|
55885
55888
|
}
|
|
55886
55889
|
function O4(c, m, w) {
|
|
55887
55890
|
var N = AI(c) ? n2 : FO;
|
|
@@ -55943,7 +55946,7 @@ wB.exports;
|
|
|
55943
55946
|
var N, k, v, O, U, Cg, og = 0, ag = !1, mg = !1, yg = !0;
|
|
55944
55947
|
if (typeof c != "function")
|
|
55945
55948
|
throw new sA(A);
|
|
55946
|
-
m = cA(m) || 0, RC(w) && (ag = !!w.leading, mg = "maxWait" in w, v = mg ?
|
|
55949
|
+
m = cA(m) || 0, RC(w) && (ag = !!w.leading, mg = "maxWait" in w, v = mg ? We(cA(w.maxWait) || 0, m) : v, yg = "trailing" in w ? !!w.trailing : yg);
|
|
55947
55950
|
function Sg(qC) {
|
|
55948
55951
|
var _A = N, ks = k;
|
|
55949
55952
|
return N = k = I, og = qC, O = c.apply(ks, _A), O;
|
|
@@ -56053,7 +56056,7 @@ wB.exports;
|
|
|
56053
56056
|
function CU(c, m) {
|
|
56054
56057
|
if (typeof c != "function")
|
|
56055
56058
|
throw new sA(A);
|
|
56056
|
-
return m = m == null ? 0 :
|
|
56059
|
+
return m = m == null ? 0 : We(aI(m), 0), WI(function(w) {
|
|
56057
56060
|
var N = w[m], k = ql(w, 0, m);
|
|
56058
56061
|
return N && Ol(k, N), Wi(c, this, k);
|
|
56059
56062
|
});
|
|
@@ -56124,7 +56127,7 @@ wB.exports;
|
|
|
56124
56127
|
if (qt(c) && (AI(c) || typeof c == "string" || typeof c.splice == "function" || $l(c) || Yr(c) || Qa(c)))
|
|
56125
56128
|
return !c.length;
|
|
56126
56129
|
var m = lt(c);
|
|
56127
|
-
if (m ==
|
|
56130
|
+
if (m == Ze || m == Xe)
|
|
56128
56131
|
return !c.size;
|
|
56129
56132
|
if (Nh(c))
|
|
56130
56133
|
return !y2(c).length;
|
|
@@ -56145,7 +56148,7 @@ wB.exports;
|
|
|
56145
56148
|
if (!zC(c))
|
|
56146
56149
|
return !1;
|
|
56147
56150
|
var m = yt(c);
|
|
56148
|
-
return m ==
|
|
56151
|
+
return m == be || m == OA || typeof c.message == "string" && typeof c.name == "string" && !Rh(c);
|
|
56149
56152
|
}
|
|
56150
56153
|
function wU(c) {
|
|
56151
56154
|
return typeof c == "number" && mH(c);
|
|
@@ -56233,7 +56236,7 @@ wB.exports;
|
|
|
56233
56236
|
return ww(c) ? UA(c) : _t(c);
|
|
56234
56237
|
if (hh && c[hh])
|
|
56235
56238
|
return ax(c[hh]());
|
|
56236
|
-
var m = lt(c), w = m ==
|
|
56239
|
+
var m = lt(c), w = m == Ze ? c2 : m == Xe ? JG : Vr;
|
|
56237
56240
|
return w(c);
|
|
56238
56241
|
}
|
|
56239
56242
|
function Ks(c) {
|
|
@@ -56800,7 +56803,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
56800
56803
|
J[c].placeholder = J;
|
|
56801
56804
|
}), nA(["drop", "take"], function(c, m) {
|
|
56802
56805
|
VI.prototype[c] = function(w) {
|
|
56803
|
-
w = w === I ? 1 :
|
|
56806
|
+
w = w === I ? 1 : We(aI(w), 0);
|
|
56804
56807
|
var N = this.__filtered__ && !m ? new VI(this) : this.clone();
|
|
56805
56808
|
return N.__filtered__ ? N.__takeCount__ = st(w, N.__takeCount__) : N.__views__.push({
|
|
56806
56809
|
size: st(w, RI),
|
|
@@ -57093,7 +57096,7 @@ const EUg = ["data-testid"], PUg = ["data-testid"], _Ug = ["data-testid"], qUg =
|
|
|
57093
57096
|
(x(!0), Q(GI, null, TI(b.value, (Y, X) => (x(), Q("li", {
|
|
57094
57097
|
class: "filter-yui-kit__select-item",
|
|
57095
57098
|
key: Y.value,
|
|
57096
|
-
style:
|
|
57099
|
+
style: ae(X === 0 ? { paddingTop: "10px" } : ""),
|
|
57097
57100
|
"data-testid": `${I.dataTestid}-SelectList-Item`
|
|
57098
57101
|
}, [
|
|
57099
57102
|
Y.choose ? wg("", !0) : (x(), Lg(vt, {
|
|
@@ -57147,7 +57150,7 @@ const EUg = ["data-testid"], PUg = ["data-testid"], _Ug = ["data-testid"], qUg =
|
|
|
57147
57150
|
var o;
|
|
57148
57151
|
(((o = t.values) == null ? void 0 : o.length) != 0 || !e.disableOpen) && (t.isOpened = l, !t.isOpened && t.searchValue != "" && I("error"));
|
|
57149
57152
|
};
|
|
57150
|
-
|
|
57153
|
+
ue(() => t.values = e.options), ue(() => t.searchValue = e.defaultOption || ""), eg(
|
|
57151
57154
|
() => t.searchValue,
|
|
57152
57155
|
() => {
|
|
57153
57156
|
t.searchValue == "" && (t.values = e.options);
|
|
@@ -58899,7 +58902,7 @@ class qEg {
|
|
|
58899
58902
|
R(this, Np, 0);
|
|
58900
58903
|
}
|
|
58901
58904
|
get id() {
|
|
58902
|
-
return `${Q0}${
|
|
58905
|
+
return `${Q0}${Be(this, Np)._++}`;
|
|
58903
58906
|
}
|
|
58904
58907
|
}
|
|
58905
58908
|
Np = new WeakMap();
|
|
@@ -58960,7 +58963,7 @@ const ZX = class ZX {
|
|
|
58960
58963
|
const t = new OffscreenCanvas(I.width, I.height);
|
|
58961
58964
|
return t.getContext("2d").drawImage(I, 0, 0), e = {
|
|
58962
58965
|
bitmap: t.transferToImageBitmap(),
|
|
58963
|
-
id: `image_${d(this, ru)}_${
|
|
58966
|
+
id: `image_${d(this, ru)}_${Be(this, hb)._++}`,
|
|
58964
58967
|
refCounter: 1,
|
|
58965
58968
|
isSvg: !1
|
|
58966
58969
|
}, d(this, dt).set(g, e), d(this, dt).set(e.id, e), e;
|
|
@@ -58998,7 +59001,7 @@ ru = new WeakMap(), hb = new WeakMap(), dt = new WeakMap(), uu = new WeakSet(),
|
|
|
58998
59001
|
try {
|
|
58999
59002
|
e || (e = {
|
|
59000
59003
|
bitmap: null,
|
|
59001
|
-
id: `image_${d(this, ru)}_${
|
|
59004
|
+
id: `image_${d(this, ru)}_${Be(this, hb)._++}`,
|
|
59002
59005
|
refCounter: 0,
|
|
59003
59006
|
isSvg: !1
|
|
59004
59007
|
});
|
|
@@ -59162,7 +59165,7 @@ const Rp = class Rp {
|
|
|
59162
59165
|
};
|
|
59163
59166
|
bg(Rp, "_colorsMapping", /* @__PURE__ */ new Map([["CanvasText", [0, 0, 0]], ["Canvas", [255, 255, 255]]]));
|
|
59164
59167
|
let AN = Rp;
|
|
59165
|
-
var mu, Mi, hu, vC,
|
|
59168
|
+
var mu, Mi, hu, vC, Ye, bu, GA, Zu, wA, ct, ho, bo, Gu, Zo, Jn, WA, bd, Zb, Gb, wu, wb, vn, Go, Wu, wo, Ln, Xp, Wo, Bu, Wb, Bo, Zd, pu, po, Bb, ne, OI, Ps, yo, Yo, pb, yu, yb, Vo, Tn, _s, Yb, Vb, BA, pg, bW, nN, DF, SF, I0, KF, kF, FF, sN, zF, JF, vF, LF, Dt, Ts, TF, jF, lN, xF, C0, oN;
|
|
59166
59169
|
const gu = class gu {
|
|
59167
59170
|
constructor(g, I, e, t, i, A, n, s, l, o, a, r, u, h, b, G) {
|
|
59168
59171
|
R(this, pg);
|
|
@@ -59170,7 +59173,7 @@ const gu = class gu {
|
|
|
59170
59173
|
R(this, Mi, null);
|
|
59171
59174
|
R(this, hu, null);
|
|
59172
59175
|
R(this, vC, /* @__PURE__ */ new Map());
|
|
59173
|
-
R(this,
|
|
59176
|
+
R(this, Ye, /* @__PURE__ */ new Map());
|
|
59174
59177
|
R(this, bu, null);
|
|
59175
59178
|
R(this, GA, null);
|
|
59176
59179
|
R(this, Zu, null);
|
|
@@ -59308,9 +59311,9 @@ const gu = class gu {
|
|
|
59308
59311
|
destroy() {
|
|
59309
59312
|
var g, I, e, t, i, A, n, s, l;
|
|
59310
59313
|
(g = d(this, BA)) == null || g.resolve(), V(this, BA, null), (I = d(this, mu)) == null || I.abort(), V(this, mu, null), this._signal = null;
|
|
59311
|
-
for (const o of d(this,
|
|
59314
|
+
for (const o of d(this, Ye).values())
|
|
59312
59315
|
o.destroy();
|
|
59313
|
-
d(this,
|
|
59316
|
+
d(this, Ye).clear(), d(this, vC).clear(), d(this, bd).clear(), (e = d(this, po)) == null || e.clear(), V(this, Mi, null), d(this, OI).clear(), d(this, wA).destroy(), (t = d(this, bu)) == null || t.destroy(), (i = d(this, ct)) == null || i.destroy(), (A = d(this, yo)) == null || A.destroy(), (n = d(this, Ln)) == null || n.hide(), V(this, Ln, null), (s = d(this, pu)) == null || s.destroy(), V(this, pu, null), V(this, hu, null), d(this, vn) && (clearTimeout(d(this, vn)), V(this, vn, null)), d(this, Tn) && (clearTimeout(d(this, Tn)), V(this, Tn, null)), (l = this._editorUndoBar) == null || l.destroy(), V(this, yu, null);
|
|
59314
59317
|
}
|
|
59315
59318
|
combinedSignal(g) {
|
|
59316
59319
|
return AbortSignal.any([this._signal, g.signal]);
|
|
@@ -59380,7 +59383,7 @@ const gu = class gu {
|
|
|
59380
59383
|
(i = d(this, ct)) == null || i.showDialog(this, g, I, e, t);
|
|
59381
59384
|
}
|
|
59382
59385
|
selectComment(g, I) {
|
|
59383
|
-
const e = d(this,
|
|
59386
|
+
const e = d(this, Ye).get(g), t = e == null ? void 0 : e.getEditorByUID(I);
|
|
59384
59387
|
t == null || t.toggleComment(!0, !0);
|
|
59385
59388
|
}
|
|
59386
59389
|
updateComment(g) {
|
|
@@ -59408,7 +59411,7 @@ const gu = class gu {
|
|
|
59408
59411
|
return ((g = d(this, ct)) == null ? void 0 : g.dialogElement) || null;
|
|
59409
59412
|
}
|
|
59410
59413
|
async waitForEditorsRendered(g) {
|
|
59411
|
-
if (d(this,
|
|
59414
|
+
if (d(this, Ye).has(g - 1))
|
|
59412
59415
|
return;
|
|
59413
59416
|
const {
|
|
59414
59417
|
resolve: I,
|
|
@@ -59463,7 +59466,7 @@ const gu = class gu {
|
|
|
59463
59466
|
d(this, _s).focus();
|
|
59464
59467
|
}
|
|
59465
59468
|
findParent(g, I) {
|
|
59466
|
-
for (const e of d(this,
|
|
59469
|
+
for (const e of d(this, Ye).values()) {
|
|
59467
59470
|
const {
|
|
59468
59471
|
x: t,
|
|
59469
59472
|
y: i,
|
|
@@ -59704,19 +59707,19 @@ const gu = class gu {
|
|
|
59704
59707
|
return d(this, Xp).id;
|
|
59705
59708
|
}
|
|
59706
59709
|
get currentLayer() {
|
|
59707
|
-
return d(this,
|
|
59710
|
+
return d(this, Ye).get(d(this, Gu));
|
|
59708
59711
|
}
|
|
59709
59712
|
getLayer(g) {
|
|
59710
|
-
return d(this,
|
|
59713
|
+
return d(this, Ye).get(g);
|
|
59711
59714
|
}
|
|
59712
59715
|
get currentPageIndex() {
|
|
59713
59716
|
return d(this, Gu);
|
|
59714
59717
|
}
|
|
59715
59718
|
addLayer(g) {
|
|
59716
|
-
d(this,
|
|
59719
|
+
d(this, Ye).set(g.pageIndex, g), d(this, Wo) ? g.enable() : g.disable();
|
|
59717
59720
|
}
|
|
59718
59721
|
removeLayer(g) {
|
|
59719
|
-
d(this,
|
|
59722
|
+
d(this, Ye).delete(g.pageIndex);
|
|
59720
59723
|
}
|
|
59721
59724
|
async updateMode(g, I = null, e = !1, t = !1, i = !1) {
|
|
59722
59725
|
var A, n, s, l, o, a;
|
|
@@ -59731,7 +59734,7 @@ const gu = class gu {
|
|
|
59731
59734
|
for (const r of d(this, vC).values())
|
|
59732
59735
|
r.addStandaloneCommentButton();
|
|
59733
59736
|
g === sI.SIGNATURE && await ((o = d(this, yo)) == null ? void 0 : o.loadSignatures()), this.setEditingState(!0), await f(this, pg, TF).call(this), this.unselectAll();
|
|
59734
|
-
for (const r of d(this,
|
|
59737
|
+
for (const r of d(this, Ye).values())
|
|
59735
59738
|
r.updateMode(g);
|
|
59736
59739
|
if (g === sI.POPUP) {
|
|
59737
59740
|
d(this, hu) || V(this, hu, await d(this, yu).getAnnotationsByType(new Set(d(this, WA).map((h) => h._editorType))));
|
|
@@ -59808,7 +59811,7 @@ const gu = class gu {
|
|
|
59808
59811
|
enableWaiting(g = !1) {
|
|
59809
59812
|
if (d(this, Wb) !== g) {
|
|
59810
59813
|
V(this, Wb, g);
|
|
59811
|
-
for (const I of d(this,
|
|
59814
|
+
for (const I of d(this, Ye).values())
|
|
59812
59815
|
g ? I.disableClick() : I.enableClick(), I.div.classList.toggle("waiting", g);
|
|
59813
59816
|
}
|
|
59814
59817
|
}
|
|
@@ -60006,7 +60009,7 @@ const gu = class gu {
|
|
|
60006
60009
|
return !1;
|
|
60007
60010
|
const e = (t, i, A, n) => {
|
|
60008
60011
|
if (d(this, vC).has(t.id)) {
|
|
60009
|
-
const s = d(this,
|
|
60012
|
+
const s = d(this, Ye).get(n);
|
|
60010
60013
|
s ? t._setParentAndPosition(s, i, A) : (t.pageIndex = n, t.x = i, t.y = A);
|
|
60011
60014
|
}
|
|
60012
60015
|
};
|
|
@@ -60152,7 +60155,7 @@ const gu = class gu {
|
|
|
60152
60155
|
(d(this, po) || V(this, po, /* @__PURE__ */ new Map())).set(g, I);
|
|
60153
60156
|
}
|
|
60154
60157
|
};
|
|
60155
|
-
mu = new WeakMap(), Mi = new WeakMap(), hu = new WeakMap(), vC = new WeakMap(),
|
|
60158
|
+
mu = new WeakMap(), Mi = new WeakMap(), hu = new WeakMap(), vC = new WeakMap(), Ye = new WeakMap(), bu = new WeakMap(), GA = new WeakMap(), Zu = new WeakMap(), wA = new WeakMap(), ct = new WeakMap(), ho = new WeakMap(), bo = new WeakMap(), Gu = new WeakMap(), Zo = new WeakMap(), Jn = new WeakMap(), WA = new WeakMap(), bd = new WeakMap(), Zb = new WeakMap(), Gb = new WeakMap(), wu = new WeakMap(), wb = new WeakMap(), vn = new WeakMap(), Go = new WeakMap(), Wu = new WeakMap(), wo = new WeakMap(), Ln = new WeakMap(), Xp = new WeakMap(), Wo = new WeakMap(), Bu = new WeakMap(), Wb = new WeakMap(), Bo = new WeakMap(), Zd = new WeakMap(), pu = new WeakMap(), po = new WeakMap(), Bb = new WeakMap(), ne = new WeakMap(), OI = new WeakMap(), Ps = new WeakMap(), yo = new WeakMap(), Yo = new WeakMap(), pb = new WeakMap(), yu = new WeakMap(), yb = new WeakMap(), Vo = new WeakMap(), Tn = new WeakMap(), _s = new WeakMap(), Yb = new WeakMap(), Vb = new WeakMap(), BA = new WeakMap(), pg = new WeakSet(), bW = function({
|
|
60156
60159
|
anchorNode: g
|
|
60157
60160
|
}) {
|
|
60158
60161
|
return g.nodeType === Node.TEXT_NODE ? g.parentElement : g;
|
|
@@ -60162,7 +60165,7 @@ mu = new WeakMap(), Mi = new WeakMap(), hu = new WeakMap(), vC = new WeakMap(),
|
|
|
60162
60165
|
} = this;
|
|
60163
60166
|
if (I.hasTextLayer(g))
|
|
60164
60167
|
return I;
|
|
60165
|
-
for (const e of d(this,
|
|
60168
|
+
for (const e of d(this, Ye).values())
|
|
60166
60169
|
if (e.hasTextLayer(g))
|
|
60167
60170
|
return e;
|
|
60168
60171
|
return null;
|
|
@@ -60277,7 +60280,7 @@ mu = new WeakMap(), Mi = new WeakMap(), hu = new WeakMap(), vC = new WeakMap(),
|
|
|
60277
60280
|
if (!d(this, Wo)) {
|
|
60278
60281
|
V(this, Wo, !0);
|
|
60279
60282
|
const g = [];
|
|
60280
|
-
for (const I of d(this,
|
|
60283
|
+
for (const I of d(this, Ye).values())
|
|
60281
60284
|
g.push(I.enable());
|
|
60282
60285
|
await Promise.all(g);
|
|
60283
60286
|
for (const I of d(this, vC).values())
|
|
@@ -60286,13 +60289,13 @@ mu = new WeakMap(), Mi = new WeakMap(), hu = new WeakMap(), vC = new WeakMap(),
|
|
|
60286
60289
|
}, jF = function() {
|
|
60287
60290
|
if (this.unselectAll(), d(this, Wo)) {
|
|
60288
60291
|
V(this, Wo, !1);
|
|
60289
|
-
for (const g of d(this,
|
|
60292
|
+
for (const g of d(this, Ye).values())
|
|
60290
60293
|
g.disable();
|
|
60291
60294
|
for (const g of d(this, vC).values())
|
|
60292
60295
|
g.disable();
|
|
60293
60296
|
}
|
|
60294
60297
|
}, lN = function(g) {
|
|
60295
|
-
const I = d(this,
|
|
60298
|
+
const I = d(this, Ye).get(g.pageIndex);
|
|
60296
60299
|
I ? I.addOrRebuild(g) : (this.addEditor(g), this.addToAnnotationStorage(g));
|
|
60297
60300
|
}, xF = function() {
|
|
60298
60301
|
let g = null;
|
|
@@ -63390,7 +63393,7 @@ class l7g extends dz {
|
|
|
63390
63393
|
const [t, i, A] = f(this, Mg, yW).call(this, I), n = I.length === 1 ? t : `${t}${i}${A}`;
|
|
63391
63394
|
if (e = d(this, Mg, ot).get(n), e)
|
|
63392
63395
|
return d(this, Mg, ot).set(I, e), e;
|
|
63393
|
-
const s = `g_${d(this, sl)}_transfer_map_${
|
|
63396
|
+
const s = `g_${d(this, sl)}_transfer_map_${Be(this, Jd)._++}`, l = f(this, Mg, zr).call(this, s);
|
|
63394
63397
|
d(this, Mg, ot).set(I, l), d(this, Mg, ot).set(n, l);
|
|
63395
63398
|
const o = f(this, Mg, Jr).call(this, s);
|
|
63396
63399
|
return f(this, Mg, o0).call(this, t, i, A, o), l;
|
|
@@ -63432,7 +63435,7 @@ class l7g extends dz {
|
|
|
63432
63435
|
const [t] = f(this, Mg, yW).call(this, [I]), i = `alpha_${t}`;
|
|
63433
63436
|
if (e = d(this, Mg, ot).get(i), e)
|
|
63434
63437
|
return d(this, Mg, ot).set(I, e), e;
|
|
63435
|
-
const A = `g_${d(this, sl)}_alpha_map_${
|
|
63438
|
+
const A = `g_${d(this, sl)}_alpha_map_${Be(this, Jd)._++}`, n = f(this, Mg, zr).call(this, A);
|
|
63436
63439
|
d(this, Mg, ot).set(I, n), d(this, Mg, ot).set(i, n);
|
|
63437
63440
|
const s = f(this, Mg, Jr).call(this, A);
|
|
63438
63441
|
return f(this, Mg, pN).call(this, t, s), n;
|
|
@@ -63444,7 +63447,7 @@ class l7g extends dz {
|
|
|
63444
63447
|
let t, i;
|
|
63445
63448
|
if (I ? ([t] = f(this, Mg, yW).call(this, [I]), i = `luminosity_${t}`) : i = "luminosity", e = d(this, Mg, ot).get(i), e)
|
|
63446
63449
|
return d(this, Mg, ot).set(I, e), e;
|
|
63447
|
-
const A = `g_${d(this, sl)}_luminosity_map_${
|
|
63450
|
+
const A = `g_${d(this, sl)}_luminosity_map_${Be(this, Jd)._++}`, n = f(this, Mg, zr).call(this, A);
|
|
63448
63451
|
d(this, Mg, ot).set(I, n), d(this, Mg, ot).set(i, n);
|
|
63449
63452
|
const s = f(this, Mg, Jr).call(this, A);
|
|
63450
63453
|
return f(this, Mg, cz).call(this, s), I && f(this, Mg, pN).call(this, t, s), n;
|
|
@@ -63893,19 +63896,19 @@ const wX = class wX {
|
|
|
63893
63896
|
throw new Error("Unreachable");
|
|
63894
63897
|
}
|
|
63895
63898
|
save(g) {
|
|
63896
|
-
return
|
|
63899
|
+
return Be(this, xu)._++, d(this, lC).save(d(this, LC)), this;
|
|
63897
63900
|
}
|
|
63898
63901
|
restore(g) {
|
|
63899
|
-
return d(this, xu) > 0 && (d(this, lC).restore(d(this, LC)),
|
|
63902
|
+
return d(this, xu) > 0 && (d(this, lC).restore(d(this, LC)), Be(this, xu)._--), this;
|
|
63900
63903
|
}
|
|
63901
63904
|
recordOpenMarker(g) {
|
|
63902
|
-
return
|
|
63905
|
+
return Be(this, ju)._++, this;
|
|
63903
63906
|
}
|
|
63904
63907
|
getOpenMarker() {
|
|
63905
63908
|
return d(this, ju) > 0 ? d(this, LC) : d(this, lC).getOpenMarker();
|
|
63906
63909
|
}
|
|
63907
63910
|
recordCloseMarker(g) {
|
|
63908
|
-
return
|
|
63911
|
+
return Be(this, ju)._--, this;
|
|
63909
63912
|
}
|
|
63910
63913
|
beginMarkedContent(g) {
|
|
63911
63914
|
return this;
|
|
@@ -64178,8 +64181,8 @@ const o9 = {
|
|
|
64178
64181
|
X && (M = l), z && (Y = o);
|
|
64179
64182
|
const Pg = this.getSizeAndScale(M, this.ctx.canvas.width, p), Og = this.getSizeAndScale(Y, this.ctx.canvas.height, y), lI = Pg.size, BI = Og.size, kC = g.cachedCanvases.getCanvas("pattern-workaround", lI, BI), FI = kC.context, FC = X ? Math.floor(b / l) : 0, Bt = z ? Math.floor(G / o) : 0;
|
|
64180
64183
|
for (let OA = 0; OA <= FC; OA++)
|
|
64181
|
-
for (let
|
|
64182
|
-
FI.drawImage(RI, lI * OA, BI *
|
|
64184
|
+
for (let be = 0; be <= Bt; be++)
|
|
64185
|
+
FI.drawImage(RI, lI * OA, BI * be, lI, BI, 0, 0, lI, BI);
|
|
64183
64186
|
return {
|
|
64184
64187
|
canvas: kC.canvas,
|
|
64185
64188
|
scaleX: Pg.scale,
|
|
@@ -66638,7 +66641,7 @@ fi = new WeakMap(), nZ = new WeakSet(), fN = function(g) {
|
|
|
66638
66641
|
};
|
|
66639
66642
|
const E7g = 1e5, Z9 = 30;
|
|
66640
66643
|
var uK, Do, si, sZ, lZ, xd, dl, oZ, aZ, Od, Pu, _u, So, qu, dZ, $u, Qd, cZ, rZ, gm, Ud, uZ, Ko, Im, zl, Bz, pz, DN, IA, YW, SN, yz, Yz;
|
|
66641
|
-
const
|
|
66644
|
+
const pe = class pe {
|
|
66642
66645
|
constructor({
|
|
66643
66646
|
textContentSource: g,
|
|
66644
66647
|
container: I,
|
|
@@ -66685,8 +66688,8 @@ const Be = class Be {
|
|
|
66685
66688
|
pageX: A,
|
|
66686
66689
|
pageY: n
|
|
66687
66690
|
} = e.rawDims;
|
|
66688
|
-
V(this, rZ, [1, 0, 0, -1, -A, n + i]), V(this, aZ, t), V(this, oZ, i), f(s =
|
|
66689
|
-
d(
|
|
66691
|
+
V(this, rZ, [1, 0, 0, -1, -A, n + i]), V(this, aZ, t), V(this, oZ, i), f(s = pe, IA, yz).call(s), jc(I, e), d(this, Do).promise.finally(() => {
|
|
66692
|
+
d(pe, Im).delete(this), V(this, dl, null), V(this, qu, null);
|
|
66690
66693
|
}).catch(() => {
|
|
66691
66694
|
});
|
|
66692
66695
|
}
|
|
@@ -66710,7 +66713,7 @@ const Be = class Be {
|
|
|
66710
66713
|
d(this, xd) ?? V(this, xd, I.lang), Object.assign(d(this, qu), I.styles), f(this, zl, Bz).call(this, I.items), g();
|
|
66711
66714
|
}, d(this, Do).reject);
|
|
66712
66715
|
};
|
|
66713
|
-
return V(this, Od, d(this, $u).getReader()), d(
|
|
66716
|
+
return V(this, Od, d(this, $u).getReader()), d(pe, Im).add(this), g(), d(this, Do).promise;
|
|
66714
66717
|
}
|
|
66715
66718
|
update({
|
|
66716
66719
|
viewport: g,
|
|
@@ -66725,7 +66728,7 @@ const Be = class Be {
|
|
|
66725
66728
|
const A = {
|
|
66726
66729
|
div: null,
|
|
66727
66730
|
properties: null,
|
|
66728
|
-
ctx: f(i =
|
|
66731
|
+
ctx: f(i = pe, IA, YW).call(i, d(this, xd))
|
|
66729
66732
|
};
|
|
66730
66733
|
for (const n of d(this, Qd))
|
|
66731
66734
|
A.properties = d(this, cZ).get(n), A.div = n, f(this, zl, DN).call(this, A);
|
|
@@ -66758,7 +66761,7 @@ Do = new WeakMap(), si = new WeakMap(), sZ = new WeakMap(), lZ = new WeakMap(),
|
|
|
66758
66761
|
var t, i;
|
|
66759
66762
|
if (d(this, sZ))
|
|
66760
66763
|
return;
|
|
66761
|
-
(i = d(this, dl)).ctx ?? (i.ctx = f(t =
|
|
66764
|
+
(i = d(this, dl)).ctx ?? (i.ctx = f(t = pe, IA, YW).call(t, d(this, xd)));
|
|
66762
66765
|
const I = d(this, Qd), e = d(this, dZ);
|
|
66763
66766
|
for (const A of g) {
|
|
66764
66767
|
if (I.length > E7g) {
|
|
@@ -66789,12 +66792,12 @@ Do = new WeakMap(), si = new WeakMap(), sZ = new WeakMap(), lZ = new WeakMap(),
|
|
|
66789
66792
|
const A = d(this, qu)[g.fontName];
|
|
66790
66793
|
A.vertical && (i += Math.PI / 2);
|
|
66791
66794
|
let n = d(this, lZ) && A.fontSubstitution || A.fontFamily;
|
|
66792
|
-
n =
|
|
66793
|
-
const s = Math.hypot(t[2], t[3]), l = s * f(b =
|
|
66795
|
+
n = pe.fontFamilyMap.get(n) || n;
|
|
66796
|
+
const s = Math.hypot(t[2], t[3]), l = s * f(b = pe, IA, Yz).call(b, n, A, d(this, xd));
|
|
66794
66797
|
let o, a;
|
|
66795
66798
|
i === 0 ? (o = t[4], a = t[5] - l) : (o = t[4] + l * Math.sin(i), a = t[5] - l * Math.cos(i));
|
|
66796
66799
|
const r = "calc(var(--total-scale-factor) *", u = I.style;
|
|
66797
|
-
d(this, si) === d(this, Pu) ? (u.left = `${(100 * o / d(this, aZ)).toFixed(2)}%`, u.top = `${(100 * a / d(this, oZ)).toFixed(2)}%`) : (u.left = `${r}${o.toFixed(2)}px)`, u.top = `${r}${a.toFixed(2)}px)`), u.fontSize = `${r}${(d(
|
|
66800
|
+
d(this, si) === d(this, Pu) ? (u.left = `${(100 * o / d(this, aZ)).toFixed(2)}%`, u.top = `${(100 * a / d(this, oZ)).toFixed(2)}%`) : (u.left = `${r}${o.toFixed(2)}px)`, u.top = `${r}${a.toFixed(2)}px)`), u.fontSize = `${r}${(d(pe, Ko) * s).toFixed(2)}px)`, u.fontFamily = n, e.fontSize = s, I.setAttribute("role", "presentation"), I.textContent = g.str, I.dir = g.dir, d(this, lZ) && (I.dataset.fontName = A.fontSubstitutionLoadedName || g.fontName), i !== 0 && (e.angle = i * (180 / Math.PI));
|
|
66798
66801
|
let h = !1;
|
|
66799
66802
|
if (g.str.length > 1)
|
|
66800
66803
|
h = !0;
|
|
@@ -66816,14 +66819,14 @@ Do = new WeakMap(), si = new WeakMap(), sZ = new WeakMap(), lZ = new WeakMap(),
|
|
|
66816
66819
|
style: i
|
|
66817
66820
|
} = I;
|
|
66818
66821
|
let A = "";
|
|
66819
|
-
if (d(
|
|
66822
|
+
if (d(pe, Ko) > 1 && (A = `scale(${1 / d(pe, Ko)})`), e.canvasWidth !== 0 && e.hasText) {
|
|
66820
66823
|
const {
|
|
66821
66824
|
fontFamily: s
|
|
66822
66825
|
} = i, {
|
|
66823
66826
|
canvasWidth: l,
|
|
66824
66827
|
fontSize: o
|
|
66825
66828
|
} = e;
|
|
66826
|
-
f(n =
|
|
66829
|
+
f(n = pe, IA, SN).call(n, t, o * d(this, So), s);
|
|
66827
66830
|
const {
|
|
66828
66831
|
width: a
|
|
66829
66832
|
} = t.measureText(I.textContent);
|
|
@@ -66861,8 +66864,8 @@ Do = new WeakMap(), si = new WeakMap(), sZ = new WeakMap(), lZ = new WeakMap(),
|
|
|
66861
66864
|
i.canvas.width = i.canvas.height = 0;
|
|
66862
66865
|
let l = 0.8;
|
|
66863
66866
|
return n ? l = n / (n + s) : (nt.platform.isFirefox && eI("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, gm).set(g, l), l;
|
|
66864
|
-
}, R(
|
|
66865
|
-
let P0 =
|
|
66867
|
+
}, R(pe, IA), R(pe, gm, /* @__PURE__ */ new Map()), R(pe, Ud, /* @__PURE__ */ new Map()), R(pe, uZ, /* @__PURE__ */ new WeakMap()), R(pe, Ko, null), R(pe, Im, /* @__PURE__ */ new Set());
|
|
66868
|
+
let P0 = pe;
|
|
66866
66869
|
const P7g = 100;
|
|
66867
66870
|
function dR(C = {}) {
|
|
66868
66871
|
typeof C == "string" || C instanceof URL ? C = {
|
|
@@ -66942,9 +66945,9 @@ function dR(C = {}) {
|
|
|
66942
66945
|
if (o.destroyed)
|
|
66943
66946
|
throw new Error("Worker was destroyed");
|
|
66944
66947
|
const OA = o.messageHandler.sendWithPromise("GetDocRequest", FC, t ? [t.buffer] : null);
|
|
66945
|
-
let
|
|
66948
|
+
let be;
|
|
66946
66949
|
if (s)
|
|
66947
|
-
|
|
66950
|
+
be = new H7g(s, {
|
|
66948
66951
|
disableRange: Ag,
|
|
66949
66952
|
disableStream: P
|
|
66950
66953
|
});
|
|
@@ -66952,7 +66955,7 @@ function dR(C = {}) {
|
|
|
66952
66955
|
if (!e)
|
|
66953
66956
|
throw new Error("getDocument - no `url` parameter provided.");
|
|
66954
66957
|
const tA = $h(e) ? K7g : zt ? O7g : v7g;
|
|
66955
|
-
|
|
66958
|
+
be = new tA({
|
|
66956
66959
|
url: e,
|
|
66957
66960
|
length: Og,
|
|
66958
66961
|
httpHeaders: i,
|
|
@@ -66967,8 +66970,8 @@ function dR(C = {}) {
|
|
|
66967
66970
|
throw new Error("Loading aborted");
|
|
66968
66971
|
if (o.destroyed)
|
|
66969
66972
|
throw new Error("Worker was destroyed");
|
|
66970
|
-
const iA = new n0(I, tA, o.port),
|
|
66971
|
-
g._transport =
|
|
66973
|
+
const iA = new n0(I, tA, o.port), Ze = new $7g(iA, g, be, Bt, FI, RI);
|
|
66974
|
+
g._transport = Ze, iA.send("Ready", null);
|
|
66972
66975
|
});
|
|
66973
66976
|
}).catch(g._capability.reject), g;
|
|
66974
66977
|
}
|
|
@@ -66978,7 +66981,7 @@ const kp = class kp {
|
|
|
66978
66981
|
bg(this, "_capability", Promise.withResolvers());
|
|
66979
66982
|
bg(this, "_transport", null);
|
|
66980
66983
|
bg(this, "_worker", null);
|
|
66981
|
-
bg(this, "docId", `d${
|
|
66984
|
+
bg(this, "docId", `d${Be(kp, Kp)._++}`);
|
|
66982
66985
|
bg(this, "destroyed", !1);
|
|
66983
66986
|
bg(this, "onPassword", null);
|
|
66984
66987
|
bg(this, "onProgress", null);
|
|
@@ -67618,7 +67621,7 @@ ko = new WeakMap(), An = new WeakMap(), rl = new WeakMap(), _d = new WeakMap(),
|
|
|
67618
67621
|
}
|
|
67619
67622
|
const I = new n7g();
|
|
67620
67623
|
V(this, rl, I);
|
|
67621
|
-
const e = `fake${
|
|
67624
|
+
const e = `fake${Be(yC, Fp)._++}`, t = new n0(e + "_worker", e, I);
|
|
67622
67625
|
g.setup(t, I), V(this, An, new n0(e, e + "_worker", I)), f(this, jt, VW).call(this);
|
|
67623
67626
|
}).catch((g) => {
|
|
67624
67627
|
d(this, ko).reject(new Error(`Setting up fake worker failed: "${g.message}".`));
|
|
@@ -68169,7 +68172,7 @@ const nd = class nd {
|
|
|
68169
68172
|
zo = new WeakMap(), Ic = new WeakMap(), R(nd, Ic, /* @__PURE__ */ new WeakSet());
|
|
68170
68173
|
let kN = nd;
|
|
68171
68174
|
const IPg = "5.4.449", CPg = "f44e5f0e6";
|
|
68172
|
-
var Di, Cc, im,
|
|
68175
|
+
var Di, Cc, im, Ve, GZ, Am, hl, wZ, Jo, nn, WZ, tC, FN, zN, JN, gd, Rz, Co;
|
|
68173
68176
|
const ei = class ei {
|
|
68174
68177
|
constructor({
|
|
68175
68178
|
editor: g = null,
|
|
@@ -68179,7 +68182,7 @@ const ei = class ei {
|
|
|
68179
68182
|
R(this, Di, null);
|
|
68180
68183
|
R(this, Cc, null);
|
|
68181
68184
|
R(this, im);
|
|
68182
|
-
R(this,
|
|
68185
|
+
R(this, Ve, null);
|
|
68183
68186
|
R(this, GZ, !1);
|
|
68184
68187
|
R(this, Am, !1);
|
|
68185
68188
|
R(this, hl, null);
|
|
@@ -68211,7 +68214,7 @@ const ei = class ei {
|
|
|
68211
68214
|
return e.className = "swatch", e.ariaHidden = "true", e.style.backgroundColor = d(this, im), g.append(e), g;
|
|
68212
68215
|
}
|
|
68213
68216
|
renderMainDropdown() {
|
|
68214
|
-
const g = V(this,
|
|
68217
|
+
const g = V(this, Ve, f(this, tC, FN).call(this));
|
|
68215
68218
|
return g.ariaOrientation = "horizontal", g.ariaLabelledBy = "highlightColorPickerLabel", g;
|
|
68216
68219
|
}
|
|
68217
68220
|
_colorSelectFromKeyboard(g) {
|
|
@@ -68229,14 +68232,14 @@ const ei = class ei {
|
|
|
68229
68232
|
return;
|
|
68230
68233
|
}
|
|
68231
68234
|
if (g.target === d(this, Di)) {
|
|
68232
|
-
(I = d(this,
|
|
68235
|
+
(I = d(this, Ve).firstElementChild) == null || I.focus();
|
|
68233
68236
|
return;
|
|
68234
68237
|
}
|
|
68235
68238
|
(e = g.target.nextSibling) == null || e.focus();
|
|
68236
68239
|
}
|
|
68237
68240
|
_moveToPrevious(g) {
|
|
68238
68241
|
var I, e;
|
|
68239
|
-
if (g.target === ((I = d(this,
|
|
68242
|
+
if (g.target === ((I = d(this, Ve)) == null ? void 0 : I.firstElementChild) || g.target === d(this, Di)) {
|
|
68240
68243
|
d(this, tC, Co) && this._hideDropdownFromKeyboard();
|
|
68241
68244
|
return;
|
|
68242
68245
|
}
|
|
@@ -68248,7 +68251,7 @@ const ei = class ei {
|
|
|
68248
68251
|
f(this, tC, gd).call(this, g);
|
|
68249
68252
|
return;
|
|
68250
68253
|
}
|
|
68251
|
-
(I = d(this,
|
|
68254
|
+
(I = d(this, Ve).firstElementChild) == null || I.focus();
|
|
68252
68255
|
}
|
|
68253
68256
|
_moveToEnd(g) {
|
|
68254
68257
|
var I;
|
|
@@ -68256,11 +68259,11 @@ const ei = class ei {
|
|
|
68256
68259
|
f(this, tC, gd).call(this, g);
|
|
68257
68260
|
return;
|
|
68258
68261
|
}
|
|
68259
|
-
(I = d(this,
|
|
68262
|
+
(I = d(this, Ve).lastElementChild) == null || I.focus();
|
|
68260
68263
|
}
|
|
68261
68264
|
hideDropdown() {
|
|
68262
68265
|
var g, I;
|
|
68263
|
-
(g = d(this,
|
|
68266
|
+
(g = d(this, Ve)) == null || g.classList.add("hidden"), d(this, Di).ariaExpanded = "false", (I = d(this, Jo)) == null || I.abort(), V(this, Jo, null);
|
|
68264
68267
|
}
|
|
68265
68268
|
_hideDropdownFromKeyboard() {
|
|
68266
68269
|
var g;
|
|
@@ -68276,18 +68279,18 @@ const ei = class ei {
|
|
|
68276
68279
|
}
|
|
68277
68280
|
}
|
|
68278
68281
|
updateColor(g) {
|
|
68279
|
-
if (d(this, Cc) && (d(this, Cc).style.backgroundColor = g), !d(this,
|
|
68282
|
+
if (d(this, Cc) && (d(this, Cc).style.backgroundColor = g), !d(this, Ve))
|
|
68280
68283
|
return;
|
|
68281
68284
|
const I = d(this, nn).highlightColors.values();
|
|
68282
|
-
for (const e of d(this,
|
|
68285
|
+
for (const e of d(this, Ve).children)
|
|
68283
68286
|
e.ariaSelected = I.next().value === g.toUpperCase();
|
|
68284
68287
|
}
|
|
68285
68288
|
destroy() {
|
|
68286
68289
|
var g, I;
|
|
68287
|
-
(g = d(this, Di)) == null || g.remove(), V(this, Di, null), V(this, Cc, null), (I = d(this,
|
|
68290
|
+
(g = d(this, Di)) == null || g.remove(), V(this, Di, null), V(this, Cc, null), (I = d(this, Ve)) == null || I.remove(), V(this, Ve, null);
|
|
68288
68291
|
}
|
|
68289
68292
|
};
|
|
68290
|
-
Di = new WeakMap(), Cc = new WeakMap(), im = new WeakMap(),
|
|
68293
|
+
Di = new WeakMap(), Cc = new WeakMap(), im = new WeakMap(), Ve = new WeakMap(), GZ = new WeakMap(), Am = new WeakMap(), hl = new WeakMap(), wZ = new WeakMap(), Jo = new WeakMap(), nn = new WeakMap(), WZ = new WeakMap(), tC = new WeakSet(), FN = function() {
|
|
68291
68294
|
const g = document.createElement("div"), I = d(this, nn)._signal;
|
|
68292
68295
|
g.addEventListener("contextmenu", vA, {
|
|
68293
68296
|
signal: I
|
|
@@ -68318,17 +68321,17 @@ Di = new WeakMap(), Cc = new WeakMap(), im = new WeakMap(), Ye = new WeakMap(),
|
|
|
68318
68321
|
}
|
|
68319
68322
|
if (V(this, GZ, g.detail === 0), d(this, Jo) || (V(this, Jo, new AbortController()), window.addEventListener("pointerdown", f(this, tC, Rz).bind(this), {
|
|
68320
68323
|
signal: d(this, nn).combinedSignal(d(this, Jo))
|
|
68321
|
-
})), d(this, Di).ariaExpanded = "true", d(this,
|
|
68322
|
-
d(this,
|
|
68324
|
+
})), d(this, Di).ariaExpanded = "true", d(this, Ve)) {
|
|
68325
|
+
d(this, Ve).classList.remove("hidden");
|
|
68323
68326
|
return;
|
|
68324
68327
|
}
|
|
68325
|
-
const I = V(this,
|
|
68328
|
+
const I = V(this, Ve, f(this, tC, FN).call(this));
|
|
68326
68329
|
d(this, Di).append(I);
|
|
68327
68330
|
}, Rz = function(g) {
|
|
68328
68331
|
var I;
|
|
68329
|
-
(I = d(this,
|
|
68332
|
+
(I = d(this, Ve)) != null && I.contains(g.target) || this.hideDropdown();
|
|
68330
68333
|
}, Co = function() {
|
|
68331
|
-
return d(this,
|
|
68334
|
+
return d(this, Ve) && !d(this, Ve).classList.contains("hidden");
|
|
68332
68335
|
}, R(ei, WZ, null);
|
|
68333
68336
|
let RB = ei;
|
|
68334
68337
|
var $n, BZ, nm, pZ;
|
|
@@ -70011,8 +70014,8 @@ class cPg {
|
|
|
70011
70014
|
resetEdited() {
|
|
70012
70015
|
var g;
|
|
70013
70016
|
d(this, ic) && ({
|
|
70014
|
-
contentsObj:
|
|
70015
|
-
richText:
|
|
70017
|
+
contentsObj: Be(this, gs)._,
|
|
70018
|
+
richText: Be(this, wl)._
|
|
70016
70019
|
} = d(this, ic), V(this, ic, null), (g = d(this, Ki)) == null || g.remove(), V(this, Ki, null), V(this, Zl, null));
|
|
70017
70020
|
}
|
|
70018
70021
|
remove() {
|
|
@@ -70764,14 +70767,14 @@ nc = new WeakMap(), sc = new WeakMap(), rm = new WeakMap(), Oo = new WeakMap(),
|
|
|
70764
70767
|
};
|
|
70765
70768
|
let _N = pX;
|
|
70766
70769
|
const jw = /\r\n?|\n/g;
|
|
70767
|
-
var Fi, FZ, oc, zi,
|
|
70770
|
+
var Fi, FZ, oc, zi, re, Lz, Tz, jz, DW, Kl, SW, KW, xz, gM, Oz;
|
|
70768
70771
|
const GC = class GC extends hC {
|
|
70769
70772
|
constructor(I) {
|
|
70770
70773
|
super({
|
|
70771
70774
|
...I,
|
|
70772
70775
|
name: "freeTextEditor"
|
|
70773
70776
|
});
|
|
70774
|
-
R(this,
|
|
70777
|
+
R(this, re);
|
|
70775
70778
|
R(this, Fi, "");
|
|
70776
70779
|
R(this, FZ, `${this.id}-editor`);
|
|
70777
70780
|
R(this, oc, null);
|
|
@@ -70827,10 +70830,10 @@ const GC = class GC extends hC {
|
|
|
70827
70830
|
updateParams(I, e) {
|
|
70828
70831
|
switch (I) {
|
|
70829
70832
|
case HI.FREETEXT_SIZE:
|
|
70830
|
-
f(this,
|
|
70833
|
+
f(this, re, Lz).call(this, e);
|
|
70831
70834
|
break;
|
|
70832
70835
|
case HI.FREETEXT_COLOR:
|
|
70833
|
-
f(this,
|
|
70836
|
+
f(this, re, Tz).call(this, e);
|
|
70834
70837
|
break;
|
|
70835
70838
|
}
|
|
70836
70839
|
}
|
|
@@ -70900,7 +70903,7 @@ const GC = class GC extends hC {
|
|
|
70900
70903
|
if (!this.isInEditMode())
|
|
70901
70904
|
return;
|
|
70902
70905
|
super.commit(), this.disableEditMode();
|
|
70903
|
-
const I = d(this, Fi), e = V(this, Fi, f(this,
|
|
70906
|
+
const I = d(this, Fi), e = V(this, Fi, f(this, re, jz).call(this).trimEnd());
|
|
70904
70907
|
if (I === e)
|
|
70905
70908
|
return;
|
|
70906
70909
|
const t = (i) => {
|
|
@@ -70908,7 +70911,7 @@ const GC = class GC extends hC {
|
|
|
70908
70911
|
this.remove();
|
|
70909
70912
|
return;
|
|
70910
70913
|
}
|
|
70911
|
-
f(this,
|
|
70914
|
+
f(this, re, KW).call(this), this._uiManager.rebuild(this), f(this, re, DW).call(this);
|
|
70912
70915
|
};
|
|
70913
70916
|
this.addCommands({
|
|
70914
70917
|
cmd: () => {
|
|
@@ -70918,7 +70921,7 @@ const GC = class GC extends hC {
|
|
|
70918
70921
|
t(I);
|
|
70919
70922
|
},
|
|
70920
70923
|
mustExec: !1
|
|
70921
|
-
}), f(this,
|
|
70924
|
+
}), f(this, re, DW).call(this);
|
|
70922
70925
|
}
|
|
70923
70926
|
shouldGetKeyboardEvents() {
|
|
70924
70927
|
return this.isInEditMode();
|
|
@@ -70985,7 +70988,7 @@ const GC = class GC extends hC {
|
|
|
70985
70988
|
this.setAt(h * i, b * A, s, l);
|
|
70986
70989
|
} else
|
|
70987
70990
|
this._moveAfterPaste(I, e);
|
|
70988
|
-
f(this,
|
|
70991
|
+
f(this, re, KW).call(this), this._isDraggable = !0, this.editorDiv.contentEditable = !1;
|
|
70989
70992
|
} else
|
|
70990
70993
|
this._isDraggable = !1, this.editorDiv.contentEditable = !0;
|
|
70991
70994
|
return this.div;
|
|
@@ -71036,7 +71039,7 @@ const GC = class GC extends hC {
|
|
|
71036
71039
|
}
|
|
71037
71040
|
V(this, Fi, `${o.join(`
|
|
71038
71041
|
`)}${i}${a.join(`
|
|
71039
|
-
`)}`), f(this,
|
|
71042
|
+
`)}`), f(this, re, KW).call(this);
|
|
71040
71043
|
const r = new Range();
|
|
71041
71044
|
let u = Math.sumPrecise(o.map((Z) => Z.length));
|
|
71042
71045
|
for (const {
|
|
@@ -71119,9 +71122,9 @@ const GC = class GC extends hC {
|
|
|
71119
71122
|
const e = hC._colorManager.convert(this.isAttachedToDOM ? getComputedStyle(this.editorDiv).color : this.color), t = Object.assign(super.serialize(I), {
|
|
71120
71123
|
color: e,
|
|
71121
71124
|
fontSize: d(this, zi),
|
|
71122
|
-
value: f(this,
|
|
71125
|
+
value: f(this, re, xz).call(this)
|
|
71123
71126
|
});
|
|
71124
|
-
return this.addComment(t), I ? (t.isCopy = !0, t) : this.annotationElementId && !f(this,
|
|
71127
|
+
return this.addComment(t), I ? (t.isCopy = !0, t) : this.annotationElementId && !f(this, re, Oz).call(this, t) ? null : (t.id = this.annotationElementId, t);
|
|
71125
71128
|
}
|
|
71126
71129
|
renderAnnotationElement(I) {
|
|
71127
71130
|
const e = super.renderAnnotationElement(I);
|
|
@@ -71147,9 +71150,9 @@ const GC = class GC extends hC {
|
|
|
71147
71150
|
super.resetAnnotationElement(I), I.resetEdited();
|
|
71148
71151
|
}
|
|
71149
71152
|
};
|
|
71150
|
-
Fi = new WeakMap(), FZ = new WeakMap(), oc = new WeakMap(), zi = new WeakMap(),
|
|
71153
|
+
Fi = new WeakMap(), FZ = new WeakMap(), oc = new WeakMap(), zi = new WeakMap(), re = new WeakSet(), Lz = function(I) {
|
|
71151
71154
|
const e = (i) => {
|
|
71152
|
-
this.editorDiv.style.fontSize = `calc(${i}px * var(--total-scale-factor))`, this.translate(0, -(i - d(this, zi)) * this.parentScale), V(this, zi, i), f(this,
|
|
71155
|
+
this.editorDiv.style.fontSize = `calc(${i}px * var(--total-scale-factor))`, this.translate(0, -(i - d(this, zi)) * this.parentScale), V(this, zi, i), f(this, re, DW).call(this);
|
|
71153
71156
|
}, t = d(this, zi);
|
|
71154
71157
|
this.addCommands({
|
|
71155
71158
|
cmd: e.bind(this, I),
|
|
@@ -72198,8 +72201,8 @@ wm = new WeakMap(), UZ = new WeakMap(), Bl = new WeakMap(), rc = new WeakMap(),
|
|
|
72198
72201
|
d(this, Ti) === null || !this.parent || (this.parent.drawLayer.remove(d(this, Ti)), V(this, Ti, null), this.parent.drawLayer.remove(d(this, mt)), V(this, mt, null));
|
|
72199
72202
|
}, Cd = function(I = this.parent) {
|
|
72200
72203
|
d(this, Ti) === null && ({
|
|
72201
|
-
id:
|
|
72202
|
-
clipPathId:
|
|
72204
|
+
id: Be(this, Ti)._,
|
|
72205
|
+
clipPathId: Be(this, rc)._
|
|
72203
72206
|
} = I.drawLayer.draw({
|
|
72204
72207
|
bbox: d(this, Li).box,
|
|
72205
72208
|
root: {
|
|
@@ -74964,7 +74967,7 @@ Vc = new WeakMap(), Hm = new WeakMap(), $o = new WeakMap(), ga = new WeakMap(),
|
|
|
74964
74967
|
}, bg($A, "_initialized", !1), R($A, ea, new Map([$N, lM, mM, DB, uM].map((g) => [g._editorType, g])));
|
|
74965
74968
|
let bM = $A;
|
|
74966
74969
|
var dn, Ft, Nc, IG, xp, VJ, ys, BM, NJ, pM;
|
|
74967
|
-
const
|
|
74970
|
+
const ye = class ye {
|
|
74968
74971
|
constructor({
|
|
74969
74972
|
pageIndex: g
|
|
74970
74973
|
}) {
|
|
@@ -74990,35 +74993,35 @@ const pe = class pe {
|
|
|
74990
74993
|
return tI(this, "_svgFactory", new HB());
|
|
74991
74994
|
}
|
|
74992
74995
|
draw(g, I = !1, e = !1) {
|
|
74993
|
-
const t =
|
|
74996
|
+
const t = Be(ye, IG)._++, i = f(this, ys, BM).call(this), A = ye._svgFactory.createElement("defs");
|
|
74994
74997
|
i.append(A);
|
|
74995
|
-
const n =
|
|
74998
|
+
const n = ye._svgFactory.createElement("path");
|
|
74996
74999
|
A.append(n);
|
|
74997
75000
|
const s = `path_p${this.pageIndex}_${t}`;
|
|
74998
75001
|
n.setAttribute("id", s), n.setAttribute("vector-effect", "non-scaling-stroke"), I && d(this, Nc).set(t, n);
|
|
74999
|
-
const l = e ? f(this, ys, NJ).call(this, A, s) : null, o =
|
|
75002
|
+
const l = e ? f(this, ys, NJ).call(this, A, s) : null, o = ye._svgFactory.createElement("use");
|
|
75000
75003
|
return i.append(o), o.setAttribute("href", `#${s}`), this.updateProperties(i, g), d(this, Ft).set(t, i), {
|
|
75001
75004
|
id: t,
|
|
75002
75005
|
clipPathId: `url(#${l})`
|
|
75003
75006
|
};
|
|
75004
75007
|
}
|
|
75005
75008
|
drawOutline(g, I) {
|
|
75006
|
-
const e =
|
|
75009
|
+
const e = Be(ye, IG)._++, t = f(this, ys, BM).call(this), i = ye._svgFactory.createElement("defs");
|
|
75007
75010
|
t.append(i);
|
|
75008
|
-
const A =
|
|
75011
|
+
const A = ye._svgFactory.createElement("path");
|
|
75009
75012
|
i.append(A);
|
|
75010
75013
|
const n = `path_p${this.pageIndex}_${e}`;
|
|
75011
75014
|
A.setAttribute("id", n), A.setAttribute("vector-effect", "non-scaling-stroke");
|
|
75012
75015
|
let s;
|
|
75013
75016
|
if (I) {
|
|
75014
|
-
const a =
|
|
75017
|
+
const a = ye._svgFactory.createElement("mask");
|
|
75015
75018
|
i.append(a), s = `mask_p${this.pageIndex}_${e}`, a.setAttribute("id", s), a.setAttribute("maskUnits", "objectBoundingBox");
|
|
75016
|
-
const r =
|
|
75019
|
+
const r = ye._svgFactory.createElement("rect");
|
|
75017
75020
|
a.append(r), r.setAttribute("width", "1"), r.setAttribute("height", "1"), r.setAttribute("fill", "white");
|
|
75018
|
-
const u =
|
|
75021
|
+
const u = ye._svgFactory.createElement("use");
|
|
75019
75022
|
a.append(u), u.setAttribute("href", `#${n}`), u.setAttribute("stroke", "none"), u.setAttribute("fill", "black"), u.setAttribute("fill-rule", "nonzero"), u.classList.add("mask");
|
|
75020
75023
|
}
|
|
75021
|
-
const l =
|
|
75024
|
+
const l = ye._svgFactory.createElement("use");
|
|
75022
75025
|
t.append(l), l.setAttribute("href", `#${n}`), s && l.setAttribute("mask", `url(#${s})`);
|
|
75023
75026
|
const o = l.cloneNode();
|
|
75024
75027
|
return t.append(o), l.classList.add("mainOutline"), o.classList.add("secondaryOutline"), this.updateProperties(t, g), d(this, Ft).set(e, t), e;
|
|
@@ -75037,7 +75040,7 @@ const pe = class pe {
|
|
|
75037
75040
|
path: A
|
|
75038
75041
|
} = I, n = typeof g == "number" ? d(this, Ft).get(g) : g;
|
|
75039
75042
|
if (n) {
|
|
75040
|
-
if (e && f(this, ys, pM).call(this, n, e), t && f(s =
|
|
75043
|
+
if (e && f(this, ys, pM).call(this, n, e), t && f(s = ye, xp, VJ).call(s, n, t), i) {
|
|
75041
75044
|
const {
|
|
75042
75045
|
classList: l
|
|
75043
75046
|
} = n;
|
|
@@ -75072,20 +75075,20 @@ dn = new WeakMap(), Ft = new WeakMap(), Nc = new WeakMap(), IG = new WeakMap(),
|
|
|
75072
75075
|
} = g;
|
|
75073
75076
|
A.top = `${100 * e}%`, A.left = `${100 * I}%`, A.width = `${100 * t}%`, A.height = `${100 * i}%`;
|
|
75074
75077
|
}, ys = new WeakSet(), BM = function() {
|
|
75075
|
-
const g =
|
|
75078
|
+
const g = ye._svgFactory.create(1, 1, !0);
|
|
75076
75079
|
return d(this, dn).append(g), g.setAttribute("aria-hidden", !0), g;
|
|
75077
75080
|
}, NJ = function(g, I) {
|
|
75078
|
-
const e =
|
|
75081
|
+
const e = ye._svgFactory.createElement("clipPath");
|
|
75079
75082
|
g.append(e);
|
|
75080
75083
|
const t = `clip_${I}`;
|
|
75081
75084
|
e.setAttribute("id", t), e.setAttribute("clipPathUnits", "objectBoundingBox");
|
|
75082
|
-
const i =
|
|
75085
|
+
const i = ye._svgFactory.createElement("use");
|
|
75083
75086
|
return e.append(i), i.setAttribute("href", `#${I}`), i.classList.add("clip"), t;
|
|
75084
75087
|
}, pM = function(g, I) {
|
|
75085
75088
|
for (const [e, t] of Object.entries(I))
|
|
75086
75089
|
t === null ? g.removeAttribute(e) : g.setAttribute(e, t);
|
|
75087
|
-
}, R(
|
|
75088
|
-
let WM =
|
|
75090
|
+
}, R(ye, xp), R(ye, IG, 0);
|
|
75091
|
+
let WM = ye;
|
|
75089
75092
|
globalThis._pdfjsTestingUtils = {
|
|
75090
75093
|
HighlightOutliner: IM
|
|
75091
75094
|
};
|
|
@@ -75365,7 +75368,7 @@ const NPg = () => {
|
|
|
75365
75368
|
return g({
|
|
75366
75369
|
closeDialog: b
|
|
75367
75370
|
}), iI(() => {
|
|
75368
|
-
|
|
75371
|
+
ue(() => {
|
|
75369
75372
|
A.open !== l.value && (u(), l.value = A.open, n.value && n.value.focus());
|
|
75370
75373
|
}), n.value && n.value.addEventListener("cancel", (y) => {
|
|
75371
75374
|
y.preventDefault();
|
|
@@ -75390,7 +75393,7 @@ const NPg = () => {
|
|
|
75390
75393
|
}), [
|
|
75391
75394
|
gg("div", {
|
|
75392
75395
|
class: "modal-yui-kit__modal-content",
|
|
75393
|
-
style:
|
|
75396
|
+
style: ae(o.value),
|
|
75394
75397
|
"data-testid": `${A.dataTestid}-ModalContent`
|
|
75395
75398
|
}, [
|
|
75396
75399
|
Jg(p.$slots, "default", {}, void 0, !0)
|
|
@@ -76415,7 +76418,7 @@ const zPg = /* @__PURE__ */ UUg(FPg), Uh = (C) => {
|
|
|
76415
76418
|
PI(Gg, u.value);
|
|
76416
76419
|
}
|
|
76417
76420
|
}, L = () => {
|
|
76418
|
-
var mI, cC,
|
|
76421
|
+
var mI, cC, Ge;
|
|
76419
76422
|
if (!((mI = i.file) != null && mI.path)) return;
|
|
76420
76423
|
let rg = "pdf", Gg = "", Qg = "";
|
|
76421
76424
|
xY((cC = i.file) == null ? void 0 : cC.path) && (rg = "image", Gg = `
|
|
@@ -76424,7 +76427,7 @@ const zPg = /* @__PURE__ */ UUg(FPg), Uh = (C) => {
|
|
|
76424
76427
|
margin: 10mm;
|
|
76425
76428
|
}
|
|
76426
76429
|
`, Qg = "max-height: 95vh; margin-bottom: 10px; max-width: 100%"), zPg({
|
|
76427
|
-
printable: (
|
|
76430
|
+
printable: (Ge = i.file) == null ? void 0 : Ge.path,
|
|
76428
76431
|
type: rg,
|
|
76429
76432
|
style: Gg,
|
|
76430
76433
|
imageStyle: Qg
|
|
@@ -76459,29 +76462,29 @@ const zPg = /* @__PURE__ */ UUg(FPg), Uh = (C) => {
|
|
|
76459
76462
|
}, Og = (rg) => {
|
|
76460
76463
|
i.isMobile && (i.startXForMobile = rg.touches[0].clientX, i.startYForMobile = rg.touches[0].clientY, i.isPointerActive = !0);
|
|
76461
76464
|
}, lI = () => {
|
|
76462
|
-
i.isMobile && (
|
|
76465
|
+
i.isMobile && (Ze(), iA());
|
|
76463
76466
|
}, BI = (rg) => {
|
|
76464
|
-
var
|
|
76467
|
+
var Ge, wi;
|
|
76465
76468
|
if (!i.isMobile) return;
|
|
76466
76469
|
const Gg = rg.clientX, Qg = rg.clientY, mI = Math.abs(Gg - i.startXForMobile), cC = Qg - i.startYForMobile;
|
|
76467
|
-
i.isExistSwipe && cC > OY && cC > mI && e("close"), i.isChangeItemSwipe && r.value && (i.isSwipeNextSlide && ee((
|
|
76470
|
+
i.isExistSwipe && cC > OY && cC > mI && e("close"), i.isChangeItemSwipe && r.value && (i.isSwipeNextSlide && ee((Ge = r.value) == null ? void 0 : Ge.nextSlide()), i.isSwipePrevSlide && ee((wi = r.value) == null ? void 0 : wi.prevSlide())), Ze(), yI(() => {
|
|
76468
76471
|
iA();
|
|
76469
76472
|
});
|
|
76470
76473
|
}, kC = (rg) => {
|
|
76471
|
-
var
|
|
76474
|
+
var Ge, wi;
|
|
76472
76475
|
if (!i.isMobile) return;
|
|
76473
76476
|
const Gg = rg.changedTouches[0].clientX, Qg = rg.changedTouches[0].clientY, mI = Math.abs(Gg - i.startXForMobile), cC = Qg - i.startYForMobile;
|
|
76474
|
-
i.isExistSwipe && cC > OY && cC > mI && e("close"), i.isChangeItemSwipe && r.value && (i.isSwipeNextSlide && ee((
|
|
76477
|
+
i.isExistSwipe && cC > OY && cC > mI && e("close"), i.isChangeItemSwipe && r.value && (i.isSwipeNextSlide && ee((Ge = r.value) == null ? void 0 : Ge.nextSlide()), i.isSwipePrevSlide && ee((wi = r.value) == null ? void 0 : wi.prevSlide())), Ze(), yI(() => {
|
|
76475
76478
|
iA();
|
|
76476
76479
|
});
|
|
76477
76480
|
}, FI = (rg) => {
|
|
76478
76481
|
if (!i.isMobile || !i.isPointerActive) return;
|
|
76479
76482
|
const Gg = rg.clientY - i.startYForMobile, Qg = rg.clientX - i.startXForMobile;
|
|
76480
|
-
|
|
76483
|
+
be(Qg, Gg);
|
|
76481
76484
|
}, FC = (rg) => {
|
|
76482
76485
|
if (!i.isMobile) return;
|
|
76483
76486
|
const Gg = rg.touches[0].clientX, Qg = rg.touches[0].clientY, mI = Gg - i.startXForMobile, cC = Qg - i.startYForMobile;
|
|
76484
|
-
|
|
76487
|
+
be(mI, cC);
|
|
76485
76488
|
}, Bt = (rg) => {
|
|
76486
76489
|
const Gg = rg.target;
|
|
76487
76490
|
!i.isMobile || !Gg || Gg.scrollHeight <= Gg.clientHeight || !i.isExitScrollActive && Gg.scrollTop === 0 && rg.preventDefault();
|
|
@@ -76490,7 +76493,7 @@ const zPg = /* @__PURE__ */ UUg(FPg), Uh = (C) => {
|
|
|
76490
76493
|
const rg = s.value.offsetWidth, Gg = s.value.offsetHeight, Qg = u.value.offsetWidth, mI = u.value.offsetHeight;
|
|
76491
76494
|
let cC = 1;
|
|
76492
76495
|
return Math.abs(i.rotateValue) % 180 === 0 || (mI > rg ? cC = rg / mI : Qg > Gg && (cC = Gg / Qg)), cC;
|
|
76493
|
-
},
|
|
76496
|
+
}, be = (rg, Gg) => {
|
|
76494
76497
|
const Qg = Math.abs(rg);
|
|
76495
76498
|
if (Qg < Gg && Gg > B9 && !i.isChangeItemSwipe && s.value && s.value.scrollTop === 0 && (i.isExistSwipe = !0), Qg > Gg && Qg > c6g && !i.isExistSwipe && (i.isChangeItemSwipe = !0), i.isExistSwipe) {
|
|
76496
76499
|
const mI = Math.max(
|
|
@@ -76534,14 +76537,14 @@ const zPg = /* @__PURE__ */ UUg(FPg), Uh = (C) => {
|
|
|
76534
76537
|
o.value
|
|
76535
76538
|
);
|
|
76536
76539
|
});
|
|
76537
|
-
},
|
|
76540
|
+
}, Ze = () => {
|
|
76538
76541
|
i.isPointerActive = !1, i.isExistSwipe = !1, i.isSwipeNextSlide = !1, i.isSwipePrevSlide = !1, i.isChangeItemSwipe = !1;
|
|
76539
76542
|
}, Nn = () => {
|
|
76540
76543
|
if (!s.value || !l.value) return;
|
|
76541
76544
|
const rg = s.value.clientWidth, Gg = s.value.clientHeight, Qg = l.value.offsetWidth * i.zoomValue, mI = l.value.offsetHeight * i.zoomValue, cC = Math.max(0, (Qg - rg) / 2);
|
|
76542
76545
|
i.offsetX = Math.min(cC, Math.max(-cC, i.offsetX));
|
|
76543
|
-
const
|
|
76544
|
-
i.offsetY = Math.min(
|
|
76546
|
+
const Ge = Math.max(0, (mI - Gg) / 2);
|
|
76547
|
+
i.offsetY = Math.min(Ge, Math.max(-Ge, i.offsetY));
|
|
76545
76548
|
}, Fa = (rg) => {
|
|
76546
76549
|
const Gg = i.zoomValue;
|
|
76547
76550
|
i.zoomValue += rg ? 1 : -1, i.zoomValue = Math.min(Math.max(1, i.zoomValue), 3);
|
|
@@ -76606,7 +76609,7 @@ const zPg = /* @__PURE__ */ UUg(FPg), Uh = (C) => {
|
|
|
76606
76609
|
onTouchend: kC
|
|
76607
76610
|
}, {
|
|
76608
76611
|
default: zg(() => {
|
|
76609
|
-
var Qg, mI, cC,
|
|
76612
|
+
var Qg, mI, cC, Ge, wi, lr, or, ar, dr;
|
|
76610
76613
|
return [
|
|
76611
76614
|
gg("div", vPg, [
|
|
76612
76615
|
gg("div", {
|
|
@@ -76669,7 +76672,7 @@ const zPg = /* @__PURE__ */ UUg(FPg), Uh = (C) => {
|
|
|
76669
76672
|
onMousedown: CI(Ig, ["self"]),
|
|
76670
76673
|
onMouseup: CI(ug, ["self"])
|
|
76671
76674
|
}, [
|
|
76672
|
-
q(Fs)((cC = i.file) == null ? void 0 : cC.path) || q(Fs)((
|
|
76675
|
+
q(Fs)((cC = i.file) == null ? void 0 : cC.path) || q(Fs)((Ge = i.file) == null ? void 0 : Ge.file) ? (x(), Q("div", {
|
|
76673
76676
|
key: 0,
|
|
76674
76677
|
ref_key: "itemRef",
|
|
76675
76678
|
ref: s,
|
|
@@ -77195,7 +77198,7 @@ const K6g = ["disabled", "data-testid"], k6g = ["id", "disabled", "data-testid"]
|
|
|
77195
77198
|
return (l, o) => (x(), Q("div", {
|
|
77196
77199
|
class: Ng(A.value),
|
|
77197
77200
|
disabled: I.disabled,
|
|
77198
|
-
style:
|
|
77201
|
+
style: ae(n.value),
|
|
77199
77202
|
"data-testid": `${I.dataTestid}-Toggle`
|
|
77200
77203
|
}, [
|
|
77201
77204
|
UC(gg("input", {
|
|
@@ -77866,7 +77869,7 @@ const q6g = /* @__PURE__ */ ng({
|
|
|
77866
77869
|
options: e.options,
|
|
77867
77870
|
tag: e.tag,
|
|
77868
77871
|
class: Ng(e.class),
|
|
77869
|
-
style:
|
|
77872
|
+
style: ae(e.style),
|
|
77870
77873
|
"data-testid": `${e.dataTestid}-Scroll`,
|
|
77871
77874
|
ref_key: "scrollbar",
|
|
77872
77875
|
ref: t
|
|
@@ -77896,7 +77899,7 @@ const g8g = ["data-testid", "checked", "disabled"], I8g = /* @__PURE__ */ ng({
|
|
|
77896
77899
|
const I = C, e = g, t = cg({
|
|
77897
77900
|
isChecked: I.modelValue
|
|
77898
77901
|
});
|
|
77899
|
-
|
|
77902
|
+
ue(() => {
|
|
77900
77903
|
t.isChecked = I.modelValue;
|
|
77901
77904
|
});
|
|
77902
77905
|
const i = () => {
|
|
@@ -77930,21 +77933,35 @@ const g8g = ["data-testid", "checked", "disabled"], I8g = /* @__PURE__ */ ng({
|
|
|
77930
77933
|
dataTestid: {}
|
|
77931
77934
|
},
|
|
77932
77935
|
setup(C) {
|
|
77933
|
-
const g = C, I = H(null), e = H(!1), t = H(!1), i = j(() => g.initials ? g.initials.charAt(0).toUpperCase() : ""), A =
|
|
77936
|
+
const g = C, I = H(null), e = H(!1), t = H(!1), i = j(() => g.initials ? g.initials.charAt(0).toUpperCase() : ""), A = [
|
|
77937
|
+
"var(--error-color)",
|
|
77938
|
+
"var(--orange4)",
|
|
77939
|
+
"var(--green2)",
|
|
77940
|
+
"var(--blue24)",
|
|
77941
|
+
"var(--blue22)",
|
|
77942
|
+
"var(--blue4)",
|
|
77943
|
+
"var(--violet2)",
|
|
77944
|
+
"var(--pink-color)"
|
|
77945
|
+
], n = j(() => {
|
|
77946
|
+
if (!i.value) return A[0];
|
|
77947
|
+
const a = i.value.charCodeAt(0);
|
|
77948
|
+
return A[a % A.length];
|
|
77949
|
+
}), s = j(() => !g.url || !e.value || t.value), l = () => {
|
|
77934
77950
|
e.value = !0, t.value = !1;
|
|
77935
|
-
},
|
|
77951
|
+
}, o = () => {
|
|
77936
77952
|
t.value = !0, e.value = !1;
|
|
77937
77953
|
};
|
|
77938
77954
|
return eg(
|
|
77939
77955
|
() => g.url,
|
|
77940
|
-
async (
|
|
77941
|
-
var
|
|
77942
|
-
e.value = !1, t.value = !1,
|
|
77956
|
+
async (a) => {
|
|
77957
|
+
var r;
|
|
77958
|
+
e.value = !1, t.value = !1, a && (await yI(), (r = I.value) != null && r.complete && I.value.naturalWidth > 0 && (e.value = !0));
|
|
77943
77959
|
},
|
|
77944
77960
|
{ immediate: !0 }
|
|
77945
|
-
), (
|
|
77961
|
+
), (a, r) => (x(), Q("div", {
|
|
77946
77962
|
"data-testid": g.dataTestid,
|
|
77947
|
-
class: "avatar-yui-kit"
|
|
77963
|
+
class: "avatar-yui-kit",
|
|
77964
|
+
style: ae({ backgroundColor: n.value })
|
|
77948
77965
|
}, [
|
|
77949
77966
|
g.url ? (x(), Q("img", {
|
|
77950
77967
|
key: 0,
|
|
@@ -77953,19 +77970,19 @@ const g8g = ["data-testid", "checked", "disabled"], I8g = /* @__PURE__ */ ng({
|
|
|
77953
77970
|
src: g.url,
|
|
77954
77971
|
alt: g.alt,
|
|
77955
77972
|
class: Ng(["avatar-yui-kit__image", { "is-visible": e.value }]),
|
|
77956
|
-
onLoad:
|
|
77957
|
-
onError:
|
|
77973
|
+
onLoad: l,
|
|
77974
|
+
onError: o
|
|
77958
77975
|
}, null, 42, e8g)) : wg("", !0),
|
|
77959
|
-
|
|
77976
|
+
s.value ? (x(), Q("div", t8g, [
|
|
77960
77977
|
g.defaultImage ? (x(), Q("img", {
|
|
77961
77978
|
key: 0,
|
|
77962
77979
|
src: g.defaultImage,
|
|
77963
77980
|
class: "avatar-yui-kit__image is-visible"
|
|
77964
77981
|
}, null, 8, i8g)) : (x(), Q("div", A8g, $g(i.value), 1))
|
|
77965
77982
|
])) : wg("", !0)
|
|
77966
|
-
],
|
|
77983
|
+
], 12, C8g));
|
|
77967
77984
|
}
|
|
77968
|
-
}), wR = /* @__PURE__ */ Kg(n8g, [["__scopeId", "data-v-
|
|
77985
|
+
}), wR = /* @__PURE__ */ Kg(n8g, [["__scopeId", "data-v-ee95e1b2"]]), s8g = ["data-testid", "aria-label"], l8g = ["data-testid"], o8g = /* @__PURE__ */ ng({
|
|
77969
77986
|
name: "Tooltip",
|
|
77970
77987
|
__name: "Tooltip",
|
|
77971
77988
|
props: {
|
|
@@ -78259,7 +78276,7 @@ const g8g = ["data-testid", "checked", "disabled"], I8g = /* @__PURE__ */ ng({
|
|
|
78259
78276
|
default: zg(() => [
|
|
78260
78277
|
UC(gg("div", {
|
|
78261
78278
|
class: "popover-yui-kit__content",
|
|
78262
|
-
style:
|
|
78279
|
+
style: ae({
|
|
78263
78280
|
transform: `translateY(${I.translateY})`
|
|
78264
78281
|
}),
|
|
78265
78282
|
ref_key: "floating",
|
|
@@ -78276,7 +78293,7 @@ const g8g = ["data-testid", "checked", "disabled"], I8g = /* @__PURE__ */ ng({
|
|
|
78276
78293
|
(x(!0), Q(GI, null, TI(I.options, (D, F) => (x(), Q("div", {
|
|
78277
78294
|
class: "popover-yui-kit__options__item",
|
|
78278
78295
|
key: F,
|
|
78279
|
-
style:
|
|
78296
|
+
style: ae(D.style),
|
|
78280
78297
|
onClick: CI((L) => b(D), ["stop"]),
|
|
78281
78298
|
"data-testid": `${I.dataTestid}-Item${F}`
|
|
78282
78299
|
}, $g(D.value), 13, r8g))), 128))
|
|
@@ -78988,14 +79005,14 @@ const T8g = ["id", "data-testid"], j8g = ["data-testid"], x8g = ["data-testid"],
|
|
|
78988
79005
|
}, [
|
|
78989
79006
|
gg("div", {
|
|
78990
79007
|
class: "pie-chart-border",
|
|
78991
|
-
style:
|
|
79008
|
+
style: ae({
|
|
78992
79009
|
"border-color": g.percent < 50 ? "var(--error-light-color)" : "var(--orange-color)"
|
|
78993
79010
|
}),
|
|
78994
79011
|
"data-testid": `${g.dataTestid}-PieChart-Border`
|
|
78995
79012
|
}, [
|
|
78996
79013
|
gg("div", {
|
|
78997
79014
|
class: "sector",
|
|
78998
|
-
style:
|
|
79015
|
+
style: ae({
|
|
78999
79016
|
clipPath: I(),
|
|
79000
79017
|
"background-color": g.percent < 50 ? "var(--error-light-color)" : "var(--orange-color)"
|
|
79001
79018
|
}),
|
|
@@ -83464,7 +83481,7 @@ class Wt {
|
|
|
83464
83481
|
return EY[g] = I, I.prototype.jsonID = g, I;
|
|
83465
83482
|
}
|
|
83466
83483
|
}
|
|
83467
|
-
class
|
|
83484
|
+
class de {
|
|
83468
83485
|
/**
|
|
83469
83486
|
@internal
|
|
83470
83487
|
*/
|
|
@@ -83475,13 +83492,13 @@ class ae {
|
|
|
83475
83492
|
Create a successful step result.
|
|
83476
83493
|
*/
|
|
83477
83494
|
static ok(g) {
|
|
83478
|
-
return new
|
|
83495
|
+
return new de(g, null);
|
|
83479
83496
|
}
|
|
83480
83497
|
/**
|
|
83481
83498
|
Create a failed step result.
|
|
83482
83499
|
*/
|
|
83483
83500
|
static fail(g) {
|
|
83484
|
-
return new
|
|
83501
|
+
return new de(null, g);
|
|
83485
83502
|
}
|
|
83486
83503
|
/**
|
|
83487
83504
|
Call [`Node.replace`](https://prosemirror.net/docs/ref/#model.Node.replace) with the given
|
|
@@ -83490,10 +83507,10 @@ class ae {
|
|
|
83490
83507
|
*/
|
|
83491
83508
|
static fromReplace(g, I, e, t) {
|
|
83492
83509
|
try {
|
|
83493
|
-
return
|
|
83510
|
+
return de.ok(g.replace(I, e, t));
|
|
83494
83511
|
} catch (i) {
|
|
83495
83512
|
if (i instanceof FB)
|
|
83496
|
-
return
|
|
83513
|
+
return de.fail(i.message);
|
|
83497
83514
|
throw i;
|
|
83498
83515
|
}
|
|
83499
83516
|
}
|
|
@@ -83515,7 +83532,7 @@ class Aa extends Wt {
|
|
|
83515
83532
|
}
|
|
83516
83533
|
apply(g) {
|
|
83517
83534
|
let I = g.slice(this.from, this.to), e = g.resolve(this.from), t = e.node(e.sharedDepth(this.to)), i = new Vg(NR(I.content, (A, n) => !A.isAtom || !n.type.allowsMarkType(this.mark.type) ? A : A.mark(this.mark.addToSet(A.marks)), t), I.openStart, I.openEnd);
|
|
83518
|
-
return
|
|
83535
|
+
return de.fromReplace(g, this.from, this.to, i);
|
|
83519
83536
|
}
|
|
83520
83537
|
invert() {
|
|
83521
83538
|
return new un(this.from, this.to, this.mark);
|
|
@@ -83554,7 +83571,7 @@ class un extends Wt {
|
|
|
83554
83571
|
}
|
|
83555
83572
|
apply(g) {
|
|
83556
83573
|
let I = g.slice(this.from, this.to), e = new Vg(NR(I.content, (t) => t.mark(this.mark.removeFromSet(t.marks)), g), I.openStart, I.openEnd);
|
|
83557
|
-
return
|
|
83574
|
+
return de.fromReplace(g, this.from, this.to, e);
|
|
83558
83575
|
}
|
|
83559
83576
|
invert() {
|
|
83560
83577
|
return new Aa(this.from, this.to, this.mark);
|
|
@@ -83594,9 +83611,9 @@ class na extends Wt {
|
|
|
83594
83611
|
apply(g) {
|
|
83595
83612
|
let I = g.nodeAt(this.pos);
|
|
83596
83613
|
if (!I)
|
|
83597
|
-
return
|
|
83614
|
+
return de.fail("No node at mark step's position");
|
|
83598
83615
|
let e = I.type.create(I.attrs, null, this.mark.addToSet(I.marks));
|
|
83599
|
-
return
|
|
83616
|
+
return de.fromReplace(g, this.pos, this.pos + 1, new Vg(hg.from(e), 0, I.isLeaf ? 0 : 1));
|
|
83600
83617
|
}
|
|
83601
83618
|
invert(g) {
|
|
83602
83619
|
let I = g.nodeAt(this.pos);
|
|
@@ -83638,9 +83655,9 @@ class Uc extends Wt {
|
|
|
83638
83655
|
apply(g) {
|
|
83639
83656
|
let I = g.nodeAt(this.pos);
|
|
83640
83657
|
if (!I)
|
|
83641
|
-
return
|
|
83658
|
+
return de.fail("No node at mark step's position");
|
|
83642
83659
|
let e = I.type.create(I.attrs, null, this.mark.removeFromSet(I.marks));
|
|
83643
|
-
return
|
|
83660
|
+
return de.fromReplace(g, this.pos, this.pos + 1, new Vg(hg.from(e), 0, I.isLeaf ? 0 : 1));
|
|
83644
83661
|
}
|
|
83645
83662
|
invert(g) {
|
|
83646
83663
|
let I = g.nodeAt(this.pos);
|
|
@@ -83677,7 +83694,7 @@ class Je extends Wt {
|
|
|
83677
83694
|
super(), this.from = g, this.to = I, this.slice = e, this.structure = t;
|
|
83678
83695
|
}
|
|
83679
83696
|
apply(g) {
|
|
83680
|
-
return this.structure && HM(g, this.from, this.to) ?
|
|
83697
|
+
return this.structure && HM(g, this.from, this.to) ? de.fail("Structure replace would overwrite content") : de.fromReplace(g, this.from, this.to, this.slice);
|
|
83681
83698
|
}
|
|
83682
83699
|
getMap() {
|
|
83683
83700
|
return new qi([this.from, this.to - this.from, this.slice.size]);
|
|
@@ -83727,12 +83744,12 @@ class Le extends Wt {
|
|
|
83727
83744
|
}
|
|
83728
83745
|
apply(g) {
|
|
83729
83746
|
if (this.structure && (HM(g, this.from, this.gapFrom) || HM(g, this.gapTo, this.to)))
|
|
83730
|
-
return
|
|
83747
|
+
return de.fail("Structure gap-replace would overwrite content");
|
|
83731
83748
|
let I = g.slice(this.gapFrom, this.gapTo);
|
|
83732
83749
|
if (I.openStart || I.openEnd)
|
|
83733
|
-
return
|
|
83750
|
+
return de.fail("Gap is not a flat range");
|
|
83734
83751
|
let e = this.slice.insertAt(this.insert, I.content);
|
|
83735
|
-
return e ?
|
|
83752
|
+
return e ? de.fromReplace(g, this.from, this.to, e) : de.fail("Content does not fit in gap");
|
|
83736
83753
|
}
|
|
83737
83754
|
getMap() {
|
|
83738
83755
|
return new qi([
|
|
@@ -84368,13 +84385,13 @@ class lu extends Wt {
|
|
|
84368
84385
|
apply(g) {
|
|
84369
84386
|
let I = g.nodeAt(this.pos);
|
|
84370
84387
|
if (!I)
|
|
84371
|
-
return
|
|
84388
|
+
return de.fail("No node at attribute step's position");
|
|
84372
84389
|
let e = /* @__PURE__ */ Object.create(null);
|
|
84373
84390
|
for (let i in I.attrs)
|
|
84374
84391
|
e[i] = I.attrs[i];
|
|
84375
84392
|
e[this.attr] = this.value;
|
|
84376
84393
|
let t = I.type.create(e, null, I.marks);
|
|
84377
|
-
return
|
|
84394
|
+
return de.fromReplace(g, this.pos, this.pos + 1, new Vg(hg.from(t), 0, I.isLeaf ? 0 : 1));
|
|
84378
84395
|
}
|
|
84379
84396
|
getMap() {
|
|
84380
84397
|
return qi.empty;
|
|
@@ -84409,7 +84426,7 @@ class Cb extends Wt {
|
|
|
84409
84426
|
I[t] = g.attrs[t];
|
|
84410
84427
|
I[this.attr] = this.value;
|
|
84411
84428
|
let e = g.type.create(I, g.content, g.marks);
|
|
84412
|
-
return
|
|
84429
|
+
return de.ok(e);
|
|
84413
84430
|
}
|
|
84414
84431
|
getMap() {
|
|
84415
84432
|
return qi.empty;
|
|
@@ -90311,7 +90328,7 @@ function SL(C, g) {
|
|
|
90311
90328
|
const n = A.find((s) => s.type.name === I.name);
|
|
90312
90329
|
return n ? { ...n.attrs } : {};
|
|
90313
90330
|
}
|
|
90314
|
-
function
|
|
90331
|
+
function me(C, g) {
|
|
90315
90332
|
if (typeof C == "string") {
|
|
90316
90333
|
if (!g.nodes[C])
|
|
90317
90334
|
throw Error(`There is no node type named '${C}'. Maybe you forgot to add the extension?`);
|
|
@@ -90320,7 +90337,7 @@ function ue(C, g) {
|
|
|
90320
90337
|
return C;
|
|
90321
90338
|
}
|
|
90322
90339
|
function RII(C, g) {
|
|
90323
|
-
const I =
|
|
90340
|
+
const I = me(g, C.schema), { from: e, to: t } = C.selection, i = [];
|
|
90324
90341
|
C.doc.nodesBetween(e, t, (n) => {
|
|
90325
90342
|
i.push(n);
|
|
90326
90343
|
});
|
|
@@ -90489,7 +90506,7 @@ function jM(C, g, I = {}) {
|
|
|
90489
90506
|
return (s > 0 ? s + l : s) >= A;
|
|
90490
90507
|
}
|
|
90491
90508
|
function Na(C, g, I = {}) {
|
|
90492
|
-
const { from: e, to: t, empty: i } = C.selection, A = g ?
|
|
90509
|
+
const { from: e, to: t, empty: i } = C.selection, A = g ? me(g, C.schema) : null, n = [];
|
|
90493
90510
|
C.doc.nodesBetween(e, t, (a, r) => {
|
|
90494
90511
|
if (a.isText)
|
|
90495
90512
|
return;
|
|
@@ -91062,7 +91079,7 @@ var Oy = class {
|
|
|
91062
91079
|
options: I.options,
|
|
91063
91080
|
storage: this.editor.extensionStorage[I.name],
|
|
91064
91081
|
editor: C,
|
|
91065
|
-
type:
|
|
91082
|
+
type: me(I.name, this.schema)
|
|
91066
91083
|
}, i = Tg(I, "addNodeView", t);
|
|
91067
91084
|
if (!i)
|
|
91068
91085
|
return [];
|
|
@@ -91161,7 +91178,7 @@ VL(UII, {
|
|
|
91161
91178
|
Tabindex: () => CT,
|
|
91162
91179
|
focusEventsPluginKey: () => qL
|
|
91163
91180
|
});
|
|
91164
|
-
var
|
|
91181
|
+
var he = class jL extends ER {
|
|
91165
91182
|
constructor() {
|
|
91166
91183
|
super(...arguments), this.type = "extension";
|
|
91167
91184
|
}
|
|
@@ -91180,7 +91197,7 @@ var me = class jL extends ER {
|
|
|
91180
91197
|
const I = typeof g == "function" ? g() : g;
|
|
91181
91198
|
return super.extend(I);
|
|
91182
91199
|
}
|
|
91183
|
-
}, xL =
|
|
91200
|
+
}, xL = he.create({
|
|
91184
91201
|
name: "clipboardTextSerializer",
|
|
91185
91202
|
addOptions() {
|
|
91186
91203
|
return {
|
|
@@ -91304,7 +91321,7 @@ var EII = () => ({ editor: C, view: g }) => (requestAnimationFrame(() => {
|
|
|
91304
91321
|
}
|
|
91305
91322
|
return !1;
|
|
91306
91323
|
}, CCI = (C) => ({ tr: g, state: I, dispatch: e }) => {
|
|
91307
|
-
const t =
|
|
91324
|
+
const t = me(C, I.schema), i = g.selection.$anchor;
|
|
91308
91325
|
for (let A = i.depth; A > 0; A -= 1)
|
|
91309
91326
|
if (i.node(A).type === t) {
|
|
91310
91327
|
if (e) {
|
|
@@ -91480,10 +91497,10 @@ var pCI = (C) => ({ editor: g, view: I, tr: e, dispatch: t }) => {
|
|
|
91480
91497
|
o && t && e.maybeStep(o);
|
|
91481
91498
|
}), !0;
|
|
91482
91499
|
}, yCI = (C, g = {}) => ({ state: I, dispatch: e }) => {
|
|
91483
|
-
const t =
|
|
91500
|
+
const t = me(C, I.schema);
|
|
91484
91501
|
return Na(I, t, g) ? eII(I, e) : !1;
|
|
91485
91502
|
}, YCI = () => ({ state: C, dispatch: g }) => nII(C, g), VCI = (C) => ({ state: g, dispatch: I }) => {
|
|
91486
|
-
const e =
|
|
91503
|
+
const e = me(C, g.schema);
|
|
91487
91504
|
return mII(e)(g, I);
|
|
91488
91505
|
}, NCI = () => ({ state: C, dispatch: g }) => tII(C, g);
|
|
91489
91506
|
function fS(C, g) {
|
|
@@ -91496,7 +91513,7 @@ var MCI = (C, g) => ({ tr: I, state: e, dispatch: t }) => {
|
|
|
91496
91513
|
typeof C == "string" ? C : C.name,
|
|
91497
91514
|
e.schema
|
|
91498
91515
|
);
|
|
91499
|
-
return n ? (n === "node" && (i =
|
|
91516
|
+
return n ? (n === "node" && (i = me(C, e.schema)), n === "mark" && (A = jl(C, e.schema)), t && I.selection.ranges.forEach((s) => {
|
|
91500
91517
|
e.doc.nodesBetween(s.$from.pos, s.$to.pos, (l, o) => {
|
|
91501
91518
|
i && i === l.type && I.setNodeMarkup(o, void 0, fS(l.attrs, g)), A && l.marks.length && l.marks.forEach((a) => {
|
|
91502
91519
|
A === a.type && I.addMark(o, o + l.nodeSize, A.create(fS(a.attrs, g)));
|
|
@@ -91574,7 +91591,7 @@ var zCI = (C, g = {}) => ({ tr: I, state: e, dispatch: t }) => {
|
|
|
91574
91591
|
});
|
|
91575
91592
|
return FCI(e, I, s);
|
|
91576
91593
|
}, JCI = (C, g) => ({ tr: I }) => (I.setMeta(C, g), !0), vCI = (C, g = {}) => ({ state: I, dispatch: e, chain: t }) => {
|
|
91577
|
-
const i =
|
|
91594
|
+
const i = me(C, I.schema);
|
|
91578
91595
|
let A;
|
|
91579
91596
|
return I.selection.$anchor.sameParent(I.selection.$head) && (A = I.selection.$anchor.parent.attrs), i.isTextblock ? t().command(({ commands: n }) => VS(i, { ...A, ...g })(I) ? !0 : n.clearNodes()).command(({ state: n }) => VS(i, { ...A, ...g })(n, e)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
|
|
91580
91597
|
}, LCI = (C) => ({ tr: g, dispatch: I }) => {
|
|
@@ -91590,7 +91607,7 @@ var zCI = (C, g = {}) => ({ tr: I, state: e, dispatch: t }) => {
|
|
|
91590
91607
|
}
|
|
91591
91608
|
return !0;
|
|
91592
91609
|
}, jCI = (C) => ({ state: g, dispatch: I }) => {
|
|
91593
|
-
const e =
|
|
91610
|
+
const e = me(C, g.schema);
|
|
91594
91611
|
return ZII(e)(g, I);
|
|
91595
91612
|
};
|
|
91596
91613
|
function DS(C, g) {
|
|
@@ -91628,7 +91645,7 @@ var xCI = ({ keepMarks: C = !0 } = {}) => ({ tr: g, state: I, dispatch: e, edito
|
|
|
91628
91645
|
return h;
|
|
91629
91646
|
}, OCI = (C, g = {}) => ({ tr: I, state: e, dispatch: t, editor: i }) => {
|
|
91630
91647
|
var A;
|
|
91631
|
-
const n =
|
|
91648
|
+
const n = me(C, e.schema), { $from: s, $to: l } = e.selection, o = e.selection.node;
|
|
91632
91649
|
if (o && o.isBlock || s.depth < 2 || !s.sameParent(l))
|
|
91633
91650
|
return !1;
|
|
91634
91651
|
const a = s.node(-1);
|
|
@@ -91703,7 +91720,7 @@ var xCI = ({ keepMarks: C = !0 } = {}) => ({ tr: g, state: I, dispatch: e, edito
|
|
|
91703
91720
|
const t = C.doc.nodeAt(e);
|
|
91704
91721
|
return I.node.type === (t == null ? void 0 : t.type) && Sa(C.doc, e) && C.join(e), !0;
|
|
91705
91722
|
}, QCI = (C, g, I, e = {}) => ({ editor: t, tr: i, state: A, dispatch: n, chain: s, commands: l, can: o }) => {
|
|
91706
|
-
const { extensions: a, splittableMarks: r } = t.extensionManager, u =
|
|
91723
|
+
const { extensions: a, splittableMarks: r } = t.extensionManager, u = me(C, A.schema), h = me(g, A.schema), { selection: b, storedMarks: G } = A, { $from: Z, $to: W } = b, B = Z.blockRange(W), p = G || b.$to.parentOffset && b.$from.marks();
|
|
91707
91724
|
if (!B)
|
|
91708
91725
|
return !1;
|
|
91709
91726
|
const y = Ly((M) => HS(M.type.name, a))(b);
|
|
@@ -91721,11 +91738,11 @@ var xCI = ({ keepMarks: C = !0 } = {}) => ({ tr: g, state: I, dispatch: e, edito
|
|
|
91721
91738
|
const { extendEmptyMarkRange: i = !1 } = I, A = jl(C, e.schema);
|
|
91722
91739
|
return jM(e, A, g) ? t.unsetMark(A, { extendEmptyMarkRange: i }) : t.setMark(A, g);
|
|
91723
91740
|
}, ECI = (C, g, I = {}) => ({ state: e, commands: t }) => {
|
|
91724
|
-
const i =
|
|
91741
|
+
const i = me(C, e.schema), A = me(g, e.schema), n = Na(e, i, I);
|
|
91725
91742
|
let s;
|
|
91726
91743
|
return e.selection.$anchor.sameParent(e.selection.$head) && (s = e.selection.$anchor.parent.attrs), n ? t.setNode(A, s) : t.setNode(i, { ...s, ...I });
|
|
91727
91744
|
}, PCI = (C, g = {}) => ({ state: I, commands: e }) => {
|
|
91728
|
-
const t =
|
|
91745
|
+
const t = me(C, I.schema);
|
|
91729
91746
|
return Na(I, t, g) ? e.lift(t) : e.wrapIn(t, g);
|
|
91730
91747
|
}, _CI = () => ({ state: C, dispatch: g }) => {
|
|
91731
91748
|
const I = C.plugins;
|
|
@@ -91772,7 +91789,7 @@ var xCI = ({ keepMarks: C = !0 } = {}) => ({ tr: g, state: I, dispatch: e, edito
|
|
|
91772
91789
|
typeof C == "string" ? C : C.name,
|
|
91773
91790
|
e.schema
|
|
91774
91791
|
);
|
|
91775
|
-
return n ? (n === "node" && (i =
|
|
91792
|
+
return n ? (n === "node" && (i = me(C, e.schema)), n === "mark" && (A = jl(C, e.schema)), t && I.selection.ranges.forEach((s) => {
|
|
91776
91793
|
const l = s.$from.pos, o = s.$to.pos;
|
|
91777
91794
|
let a, r, u, h;
|
|
91778
91795
|
I.selection.empty ? e.doc.nodesBetween(l, o, (b, G) => {
|
|
@@ -91809,19 +91826,19 @@ var xCI = ({ keepMarks: C = !0 } = {}) => ({ tr: g, state: I, dispatch: e, edito
|
|
|
91809
91826
|
}));
|
|
91810
91827
|
}), !0) : !1;
|
|
91811
91828
|
}, IeI = (C, g = {}) => ({ state: I, dispatch: e }) => {
|
|
91812
|
-
const t =
|
|
91829
|
+
const t = me(C, I.schema);
|
|
91813
91830
|
return dII(t, g)(I, e);
|
|
91814
91831
|
}, CeI = (C, g = {}) => ({ state: I, dispatch: e }) => {
|
|
91815
|
-
const t =
|
|
91832
|
+
const t = me(C, I.schema);
|
|
91816
91833
|
return cII(t, g)(I, e);
|
|
91817
|
-
}, UL =
|
|
91834
|
+
}, UL = he.create({
|
|
91818
91835
|
name: "commands",
|
|
91819
91836
|
addCommands() {
|
|
91820
91837
|
return {
|
|
91821
91838
|
...OL
|
|
91822
91839
|
};
|
|
91823
91840
|
}
|
|
91824
|
-
}), EL =
|
|
91841
|
+
}), EL = he.create({
|
|
91825
91842
|
name: "delete",
|
|
91826
91843
|
onUpdate({ transaction: C, appendedTransactions: g }) {
|
|
91827
91844
|
var I, e, t;
|
|
@@ -91877,7 +91894,7 @@ var xCI = ({ keepMarks: C = !0 } = {}) => ({ tr: g, state: I, dispatch: e, edito
|
|
|
91877
91894
|
};
|
|
91878
91895
|
(t = (e = (I = this.editor.options.coreExtensionOptions) == null ? void 0 : I.delete) == null ? void 0 : e.async) == null || t ? setTimeout(i, 0) : i();
|
|
91879
91896
|
}
|
|
91880
|
-
}), PL =
|
|
91897
|
+
}), PL = he.create({
|
|
91881
91898
|
name: "drop",
|
|
91882
91899
|
addProseMirrorPlugins() {
|
|
91883
91900
|
return [
|
|
@@ -91896,7 +91913,7 @@ var xCI = ({ keepMarks: C = !0 } = {}) => ({ tr: g, state: I, dispatch: e, edito
|
|
|
91896
91913
|
})
|
|
91897
91914
|
];
|
|
91898
91915
|
}
|
|
91899
|
-
}), _L =
|
|
91916
|
+
}), _L = he.create({
|
|
91900
91917
|
name: "editable",
|
|
91901
91918
|
addProseMirrorPlugins() {
|
|
91902
91919
|
return [
|
|
@@ -91908,7 +91925,7 @@ var xCI = ({ keepMarks: C = !0 } = {}) => ({ tr: g, state: I, dispatch: e, edito
|
|
|
91908
91925
|
})
|
|
91909
91926
|
];
|
|
91910
91927
|
}
|
|
91911
|
-
}), qL = new xe("focusEvents"), $L =
|
|
91928
|
+
}), qL = new xe("focusEvents"), $L = he.create({
|
|
91912
91929
|
name: "focusEvents",
|
|
91913
91930
|
addProseMirrorPlugins() {
|
|
91914
91931
|
const { editor: C } = this;
|
|
@@ -91932,7 +91949,7 @@ var xCI = ({ keepMarks: C = !0 } = {}) => ({ tr: g, state: I, dispatch: e, edito
|
|
|
91932
91949
|
})
|
|
91933
91950
|
];
|
|
91934
91951
|
}
|
|
91935
|
-
}), gT =
|
|
91952
|
+
}), gT = he.create({
|
|
91936
91953
|
name: "keymap",
|
|
91937
91954
|
addKeyboardShortcuts() {
|
|
91938
91955
|
const C = () => this.editor.commands.first(({ commands: A }) => [
|
|
@@ -92010,7 +92027,7 @@ var xCI = ({ keepMarks: C = !0 } = {}) => ({ tr: g, state: I, dispatch: e, edito
|
|
|
92010
92027
|
})
|
|
92011
92028
|
];
|
|
92012
92029
|
}
|
|
92013
|
-
}), IT =
|
|
92030
|
+
}), IT = he.create({
|
|
92014
92031
|
name: "paste",
|
|
92015
92032
|
addProseMirrorPlugins() {
|
|
92016
92033
|
return [
|
|
@@ -92028,7 +92045,7 @@ var xCI = ({ keepMarks: C = !0 } = {}) => ({ tr: g, state: I, dispatch: e, edito
|
|
|
92028
92045
|
})
|
|
92029
92046
|
];
|
|
92030
92047
|
}
|
|
92031
|
-
}), CT =
|
|
92048
|
+
}), CT = he.create({
|
|
92032
92049
|
name: "tabindex",
|
|
92033
92050
|
addProseMirrorPlugins() {
|
|
92034
92051
|
return [
|
|
@@ -92865,7 +92882,7 @@ var oeI = class extends AeI {
|
|
|
92865
92882
|
},
|
|
92866
92883
|
setup(C) {
|
|
92867
92884
|
const g = H(), I = xA();
|
|
92868
|
-
return
|
|
92885
|
+
return ue(() => {
|
|
92869
92886
|
const e = C.editor;
|
|
92870
92887
|
e && e.options.element && g.value && yI(() => {
|
|
92871
92888
|
var t;
|
|
@@ -94588,7 +94605,7 @@ ntI(ltI, {
|
|
|
94588
94605
|
nextListIsHigher: () => GT
|
|
94589
94606
|
});
|
|
94590
94607
|
var XG = (C, g) => {
|
|
94591
|
-
const { $from: I } = g.selection, e =
|
|
94608
|
+
const { $from: I } = g.selection, e = me(C, g.schema);
|
|
94592
94609
|
let t = null, i = I.depth, A = I.pos, n = null;
|
|
94593
94610
|
for (; i > 0 && n === null; )
|
|
94594
94611
|
t = I.node(i), t.type === e ? n = i : (i -= 1, A -= 1);
|
|
@@ -94609,7 +94626,7 @@ var XG = (C, g) => {
|
|
|
94609
94626
|
}, bT = (C, g, I) => {
|
|
94610
94627
|
if (!I)
|
|
94611
94628
|
return !1;
|
|
94612
|
-
const e =
|
|
94629
|
+
const e = me(C, g.schema);
|
|
94613
94630
|
let t = !1;
|
|
94614
94631
|
return I.descendants((i) => {
|
|
94615
94632
|
i.type === e && (t = !0);
|
|
@@ -94652,7 +94669,7 @@ var XG = (C, g) => {
|
|
|
94652
94669
|
var I;
|
|
94653
94670
|
const { $anchor: e } = g.selection, t = g.doc.resolve(e.pos - e.parentOffset - 2);
|
|
94654
94671
|
return !(t.index() === t.parent.childCount - 1 || ((I = t.nodeAfter) == null ? void 0 : I.type.name) !== C);
|
|
94655
|
-
}, wT =
|
|
94672
|
+
}, wT = he.create({
|
|
94656
94673
|
name: "listKeymap",
|
|
94657
94674
|
addOptions() {
|
|
94658
94675
|
return {
|
|
@@ -94905,7 +94922,7 @@ var XG = (C, g) => {
|
|
|
94905
94922
|
};
|
|
94906
94923
|
}
|
|
94907
94924
|
});
|
|
94908
|
-
|
|
94925
|
+
he.create({
|
|
94909
94926
|
name: "listKit",
|
|
94910
94927
|
addExtensions() {
|
|
94911
94928
|
const C = [];
|
|
@@ -95644,7 +95661,7 @@ function pT(C, g) {
|
|
|
95644
95661
|
};
|
|
95645
95662
|
}
|
|
95646
95663
|
const yT = pT(!1, !0), YT = pT(!0, !0);
|
|
95647
|
-
|
|
95664
|
+
he.create({
|
|
95648
95665
|
name: "characterCount",
|
|
95649
95666
|
addOptions() {
|
|
95650
95667
|
return {
|
|
@@ -95713,7 +95730,7 @@ me.create({
|
|
|
95713
95730
|
];
|
|
95714
95731
|
}
|
|
95715
95732
|
});
|
|
95716
|
-
var ztI =
|
|
95733
|
+
var ztI = he.create({
|
|
95717
95734
|
name: "dropCursor",
|
|
95718
95735
|
addOptions() {
|
|
95719
95736
|
return {
|
|
@@ -95726,7 +95743,7 @@ var ztI = me.create({
|
|
|
95726
95743
|
return [wtI(this.options)];
|
|
95727
95744
|
}
|
|
95728
95745
|
});
|
|
95729
|
-
|
|
95746
|
+
he.create({
|
|
95730
95747
|
name: "focus",
|
|
95731
95748
|
addOptions() {
|
|
95732
95749
|
return {
|
|
@@ -95769,7 +95786,7 @@ me.create({
|
|
|
95769
95786
|
];
|
|
95770
95787
|
}
|
|
95771
95788
|
});
|
|
95772
|
-
var JtI =
|
|
95789
|
+
var JtI = he.create({
|
|
95773
95790
|
name: "gapCursor",
|
|
95774
95791
|
addProseMirrorPlugins() {
|
|
95775
95792
|
return [ytI()];
|
|
@@ -95785,7 +95802,7 @@ var JtI = me.create({
|
|
|
95785
95802
|
allowGapCursor: (g = UI(Tg(C, "allowGapCursor", I))) != null ? g : null
|
|
95786
95803
|
};
|
|
95787
95804
|
}
|
|
95788
|
-
}), vtI =
|
|
95805
|
+
}), vtI = he.create({
|
|
95789
95806
|
name: "placeholder",
|
|
95790
95807
|
addOptions() {
|
|
95791
95808
|
return {
|
|
@@ -95831,7 +95848,7 @@ var JtI = me.create({
|
|
|
95831
95848
|
];
|
|
95832
95849
|
}
|
|
95833
95850
|
});
|
|
95834
|
-
|
|
95851
|
+
he.create({
|
|
95835
95852
|
name: "selection",
|
|
95836
95853
|
addOptions() {
|
|
95837
95854
|
return {
|
|
@@ -95859,7 +95876,7 @@ me.create({
|
|
|
95859
95876
|
function ES({ types: C, node: g }) {
|
|
95860
95877
|
return g && Array.isArray(C) && C.includes(g.type) || (g == null ? void 0 : g.type) === C;
|
|
95861
95878
|
}
|
|
95862
|
-
var LtI =
|
|
95879
|
+
var LtI = he.create({
|
|
95863
95880
|
name: "trailingNode",
|
|
95864
95881
|
addOptions() {
|
|
95865
95882
|
return {
|
|
@@ -95892,7 +95909,7 @@ var LtI = me.create({
|
|
|
95892
95909
|
})
|
|
95893
95910
|
];
|
|
95894
95911
|
}
|
|
95895
|
-
}), TtI =
|
|
95912
|
+
}), TtI = he.create({
|
|
95896
95913
|
name: "undoRedo",
|
|
95897
95914
|
addOptions() {
|
|
95898
95915
|
return {
|
|
@@ -95919,7 +95936,7 @@ var LtI = me.create({
|
|
|
95919
95936
|
"Shift-Mod-я": () => this.editor.commands.redo()
|
|
95920
95937
|
};
|
|
95921
95938
|
}
|
|
95922
|
-
}), jtI =
|
|
95939
|
+
}), jtI = he.create({
|
|
95923
95940
|
name: "starterKit",
|
|
95924
95941
|
addExtensions() {
|
|
95925
95942
|
var C, g, I, e;
|
|
@@ -108817,7 +108834,7 @@ function bAI(C) {
|
|
|
108817
108834
|
var E, tg = p === "y" ? mi : hi, Ag = p === "y" ? LA : TA, P = p === "y" ? "height" : "width", Ig = M[p], ug = Ig + G[tg], fg = Ig - G[Ag], uI = u ? -X[P] / 2 : 0, RI = W === $m ? Y[P] : X[P], Pg = W === $m ? -X[P] : -Y[P], Og = g.elements.arrow, lI = u && Og ? cX(Og) : {
|
|
108818
108835
|
width: 0,
|
|
108819
108836
|
height: 0
|
|
108820
|
-
}, BI = g.modifiersData["arrow#persistent"] ? g.modifiersData["arrow#persistent"].padding : KT(), kC = BI[tg], FI = BI[Ag], FC = z0(0, Y[P], lI[P]), Bt = B ? Y[P] / 2 - uI - FC - kC - D.mainAxis : RI - FC - kC - D.mainAxis, OA = B ? -Y[P] / 2 + uI + FC + FI + D.mainAxis : Pg + FC + FI + D.mainAxis,
|
|
108837
|
+
}, BI = g.modifiersData["arrow#persistent"] ? g.modifiersData["arrow#persistent"].padding : KT(), kC = BI[tg], FI = BI[Ag], FC = z0(0, Y[P], lI[P]), Bt = B ? Y[P] / 2 - uI - FC - kC - D.mainAxis : RI - FC - kC - D.mainAxis, OA = B ? -Y[P] / 2 + uI + FC + FI + D.mainAxis : Pg + FC + FI + D.mainAxis, be = g.elements.arrow && fG(g.elements.arrow), tA = be ? p === "y" ? be.clientTop || 0 : be.clientLeft || 0 : 0, iA = (E = F == null ? void 0 : F[p]) != null ? E : 0, Ze = Ig + Bt - iA - tA, Nn = Ig + OA - iA, Fa = z0(u ? Yp(ug, Ze) : ug, Ig, u ? Sc(fg, Nn) : fg);
|
|
108821
108838
|
M[p] = Fa, L[p] = Fa - Ig;
|
|
108822
108839
|
}
|
|
108823
108840
|
if (n) {
|
|
@@ -110470,7 +110487,7 @@ const YnI = /* @__PURE__ */ ng({
|
|
|
110470
110487
|
t.editingValue === "hour" ? (x(), Q("div", QnI, [
|
|
110471
110488
|
gg("div", {
|
|
110472
110489
|
class: "clock-hand",
|
|
110473
|
-
style:
|
|
110490
|
+
style: ae(n.value)
|
|
110474
110491
|
}, null, 4),
|
|
110475
110492
|
(x(), Q(GI, null, TI(12, (M) => gg("div", {
|
|
110476
110493
|
key: "outer-" + M,
|
|
@@ -110478,7 +110495,7 @@ const YnI = /* @__PURE__ */ ng({
|
|
|
110478
110495
|
"clock-number": !0,
|
|
110479
110496
|
active: M === Number(t.hours)
|
|
110480
110497
|
}),
|
|
110481
|
-
style:
|
|
110498
|
+
style: ae(l(M, 100))
|
|
110482
110499
|
}, $g(M), 7)), 64)),
|
|
110483
110500
|
(x(), Q(GI, null, TI(12, (M) => gg("div", {
|
|
110484
110501
|
key: "inner-" + M,
|
|
@@ -110486,12 +110503,12 @@ const YnI = /* @__PURE__ */ ng({
|
|
|
110486
110503
|
"clock-number": !0,
|
|
110487
110504
|
active: M + 12 === (Number(t.hours) || 24)
|
|
110488
110505
|
}),
|
|
110489
|
-
style:
|
|
110506
|
+
style: ae(l(M + 12, 70))
|
|
110490
110507
|
}, $g(M + 12), 7)), 64))
|
|
110491
110508
|
])) : (x(), Q("div", UnI, [
|
|
110492
110509
|
gg("div", {
|
|
110493
110510
|
class: "clock-hand",
|
|
110494
|
-
style:
|
|
110511
|
+
style: ae(s.value)
|
|
110495
110512
|
}, null, 4),
|
|
110496
110513
|
(x(!0), Q(GI, null, TI(Array.from({ length: 60 }, (M, Y) => Y), (M) => (x(), Q("div", {
|
|
110497
110514
|
key: M,
|
|
@@ -110499,7 +110516,7 @@ const YnI = /* @__PURE__ */ ng({
|
|
|
110499
110516
|
"clock-number": !0,
|
|
110500
110517
|
active: M === Number(t.minutes || 0)
|
|
110501
110518
|
}),
|
|
110502
|
-
style:
|
|
110519
|
+
style: ae(l(M / 5, 100))
|
|
110503
110520
|
}, [
|
|
110504
110521
|
M === Number(t.minutes) && M % 5 ? (x(), Q("div", EnI)) : wg("", !0),
|
|
110505
110522
|
fA(" " + $g(M % 5 ? "" : M % 60), 1)
|