golden-logic-ui 1.2.217 → 1.2.218
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/golden-logic-ui.js +434 -434
- package/dist/golden-logic-ui.umd.cjs +21 -21
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -3773,10 +3773,10 @@ const pRe = /* @__PURE__ */ Ii(z0e, [["render", ype], ["__scopeId", "data-v-4c7f
|
|
|
3773
3773
|
}
|
|
3774
3774
|
let Ae = dt(ft.data);
|
|
3775
3775
|
Ct === "down" && (j.value.push(...Ae), R.value++, M.value = ft.last_page), M.value || (M.value = ft.last_page), L.value || (L.value = 1);
|
|
3776
|
-
const
|
|
3777
|
-
|
|
3778
|
-
(yt) => yt.value ===
|
|
3779
|
-
) || j.value.unshift(
|
|
3776
|
+
const ze = Ye();
|
|
3777
|
+
console.log("Default option added:", ze), ze && ze.value && (j.value.some(
|
|
3778
|
+
(yt) => yt.value === ze.value
|
|
3779
|
+
) || j.value.unshift(ze), c.value = ze, console.log("Default option added:", ze)), Qe && (x.value = "", j.value = []);
|
|
3780
3780
|
} catch (_e) {
|
|
3781
3781
|
console.error("Error fetching data:", _e);
|
|
3782
3782
|
}
|
|
@@ -3855,8 +3855,8 @@ const pRe = /* @__PURE__ */ Ii(z0e, [["render", ype], ["__scopeId", "data-v-4c7f
|
|
|
3855
3855
|
function ue(Ct) {
|
|
3856
3856
|
const Qe = `${Ct}${C.value}`, _e = document.getElementById(Qe), ft = be.value;
|
|
3857
3857
|
if (_e && ft) {
|
|
3858
|
-
const Ae = _e.getBoundingClientRect(),
|
|
3859
|
-
Ae.top <
|
|
3858
|
+
const Ae = _e.getBoundingClientRect(), ze = ft.getBoundingClientRect();
|
|
3859
|
+
Ae.top < ze.top ? ft.scrollTop -= ze.top - Ae.top : Ae.bottom > ze.bottom && (ft.scrollTop += Ae.bottom - ze.bottom);
|
|
3860
3860
|
}
|
|
3861
3861
|
}
|
|
3862
3862
|
function At(Ct) {
|
|
@@ -3945,7 +3945,7 @@ const pRe = /* @__PURE__ */ Ii(z0e, [["render", ype], ["__scopeId", "data-v-4c7f
|
|
|
3945
3945
|
readonly: ""
|
|
3946
3946
|
}, null, 10, d1e),
|
|
3947
3947
|
yr(Z("i", {
|
|
3948
|
-
onClick: Qe[0] || (Qe[0] = Pa((
|
|
3948
|
+
onClick: Qe[0] || (Qe[0] = Pa((ze) => $t(), ["stop"])),
|
|
3949
3949
|
class: "absolute text-gray-500 cursor-pointer pointer-events-auto ltr:right-8 rtl:left-8 hover:text-red-600 dark:hover:text-red-400",
|
|
3950
3950
|
style: { top: "13px" }
|
|
3951
3951
|
}, Qe[5] || (Qe[5] = [
|
|
@@ -3968,7 +3968,7 @@ const pRe = /* @__PURE__ */ Ii(z0e, [["render", ype], ["__scopeId", "data-v-4c7f
|
|
|
3968
3968
|
[Ld, St(c.value) && r.has_cancel]
|
|
3969
3969
|
]),
|
|
3970
3970
|
Z("i", {
|
|
3971
|
-
onClick: Qe[1] || (Qe[1] = Pa((
|
|
3971
|
+
onClick: Qe[1] || (Qe[1] = Pa((ze) => wt(), ["stop"])),
|
|
3972
3972
|
class: "absolute text-xl text-gray-500 cursor-pointer ltr:right-2 rtl:left-2 hover:text-gray-700 dark:hover:text-gray-700 showOptions",
|
|
3973
3973
|
style: { top: "14px" }
|
|
3974
3974
|
}, [
|
|
@@ -3998,10 +3998,10 @@ const pRe = /* @__PURE__ */ Ii(z0e, [["render", ype], ["__scopeId", "data-v-4c7f
|
|
|
3998
3998
|
Qe[7] || (Qe[7] = Z("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, null, -1)),
|
|
3999
3999
|
yr(Z("input", {
|
|
4000
4000
|
type: "search",
|
|
4001
|
-
"onUpdate:modelValue": Qe[2] || (Qe[2] = (
|
|
4001
|
+
"onUpdate:modelValue": Qe[2] || (Qe[2] = (ze) => x.value = ze),
|
|
4002
4002
|
id: `${r.field_name}search${C.value}`,
|
|
4003
4003
|
onKeydown: st,
|
|
4004
|
-
onBlur: Qe[3] || (Qe[3] = (
|
|
4004
|
+
onBlur: Qe[3] || (Qe[3] = (ze) => Zn()),
|
|
4005
4005
|
autocomplete: "off",
|
|
4006
4006
|
class: "block w-full p-2 text-sm text-gray-900 outline-hidden dark:bg-gray-800 dark:text-white",
|
|
4007
4007
|
placeholder: r.search_input_placeholder
|
|
@@ -4016,20 +4016,20 @@ const pRe = /* @__PURE__ */ Ii(z0e, [["render", ype], ["__scopeId", "data-v-4c7f
|
|
|
4016
4016
|
ref_key: "dropdownRef",
|
|
4017
4017
|
ref: be
|
|
4018
4018
|
}, [
|
|
4019
|
-
j.value.length ? (Fe(!0), He(so, { key: 0 }, Br(j.value, (
|
|
4019
|
+
j.value.length ? (Fe(!0), He(so, { key: 0 }, Br(j.value, (ze, Be) => {
|
|
4020
4020
|
var yt;
|
|
4021
4021
|
return Fe(), He("div", {
|
|
4022
4022
|
class: Tn([
|
|
4023
4023
|
"relative px-2 py-0.5 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-700 dark:hover:text-white hover:rounded-sm",
|
|
4024
4024
|
Be + 1 == h.value ? "bg-gray-100 dark:bg-gray-700 rounded-sm" : ""
|
|
4025
4025
|
]),
|
|
4026
|
-
onClick: (te) => Lt(
|
|
4027
|
-
onMousedown: (te) => Lt(
|
|
4026
|
+
onClick: (te) => Lt(ze),
|
|
4027
|
+
onMousedown: (te) => Lt(ze),
|
|
4028
4028
|
key: Be,
|
|
4029
4029
|
id: `${Be + 1}${C.value}`
|
|
4030
4030
|
}, [
|
|
4031
4031
|
Z("div", b1e, [
|
|
4032
|
-
((yt = c.value) == null ? void 0 : yt.id) ===
|
|
4032
|
+
((yt = c.value) == null ? void 0 : yt.id) === ze.id ? (Fe(), He("svg", v1e, Qe[9] || (Qe[9] = [
|
|
4033
4033
|
Z("path", {
|
|
4034
4034
|
stroke: "currentColor",
|
|
4035
4035
|
"stroke-linecap": "round",
|
|
@@ -4039,7 +4039,7 @@ const pRe = /* @__PURE__ */ Ii(z0e, [["render", ype], ["__scopeId", "data-v-4c7f
|
|
|
4039
4039
|
}, null, -1)
|
|
4040
4040
|
]))) : Nt("", !0),
|
|
4041
4041
|
Z("span", {
|
|
4042
|
-
innerHTML:
|
|
4042
|
+
innerHTML: ze.name || ze.id || "-"
|
|
4043
4043
|
}, null, 8, y1e)
|
|
4044
4044
|
])
|
|
4045
4045
|
], 42, p1e);
|
|
@@ -4255,7 +4255,7 @@ function $1e() {
|
|
|
4255
4255
|
}
|
|
4256
4256
|
const _e = (e) => (o) => !e(o), ft = (e) => () => {
|
|
4257
4257
|
throw new Error(e);
|
|
4258
|
-
}, Ae = (e) => e(),
|
|
4258
|
+
}, Ae = (e) => e(), ze = (e) => {
|
|
4259
4259
|
e();
|
|
4260
4260
|
}, Be = $t(!1), yt = $t(!0);
|
|
4261
4261
|
class te {
|
|
@@ -5466,7 +5466,7 @@ function $1e() {
|
|
|
5466
5466
|
const on = tn._addCacheSuffix(nt), xn = q(on);
|
|
5467
5467
|
u[on] = xn, xn.count++;
|
|
5468
5468
|
const Yn = (Vn, ys) => {
|
|
5469
|
-
Ce(Vn,
|
|
5469
|
+
Ce(Vn, ze), xn.status = ys, xn.passed = [], xn.failed = [], Rt && (Rt.onload = null, Rt.onerror = null, Rt = null);
|
|
5470
5470
|
}, jt = () => Yn(xn.passed, 2), Qt = () => Yn(xn.failed, 3);
|
|
5471
5471
|
if (Ot && xn.passed.push(Ot), kt && xn.failed.push(kt), xn.status === 1)
|
|
5472
5472
|
return;
|
|
@@ -6816,7 +6816,7 @@ function $1e() {
|
|
|
6816
6816
|
}, () => (i.states[I] = vn, u("reject", I), Promise.reject(I)))))), w = (P) => (i.loading = !0, v(P).then((I) => {
|
|
6817
6817
|
i.loading = !1;
|
|
6818
6818
|
const q = i.queueLoadedCallbacks.shift();
|
|
6819
|
-
return te.from(q).each(
|
|
6819
|
+
return te.from(q).each(ze), m(I);
|
|
6820
6820
|
})), E = $a(o);
|
|
6821
6821
|
return i.loading ? new Promise((P, I) => {
|
|
6822
6822
|
i.queueLoadedCallbacks.push(() => {
|
|
@@ -15796,7 +15796,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15796
15796
|
}).getOr(!0), $I = (e, o) => (i) => O3(o, i).map((u) => () => LC(e, u)), QC = (e, o, i, u) => {
|
|
15797
15797
|
const m = e.getBody(), v = Qe(M1, e);
|
|
15798
15798
|
e.undoManager.ignore(() => {
|
|
15799
|
-
e.selection.setRng(ry(i, u)), m4(e), qg(v, m, Wt.fromRangeStart(e.selection.getRng())).map(F$).bind($I(e, o)).each(
|
|
15799
|
+
e.selection.setRng(ry(i, u)), m4(e), qg(v, m, Wt.fromRangeStart(e.selection.getRng())).map(F$).bind($I(e, o)).each(ze);
|
|
15800
15800
|
}), e.nodeChanged();
|
|
15801
15801
|
}, kq = (e, o) => {
|
|
15802
15802
|
const i = Bh(o, e);
|
|
@@ -15928,11 +15928,11 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15928
15928
|
], (u) => u(e, i)).filter((u) => e.selection.isEditable()), qI = (e, o) => {
|
|
15929
15929
|
B3(e, o, !1).fold(() => {
|
|
15930
15930
|
e.selection.isEditable() && (m4(e), B1(e));
|
|
15931
|
-
},
|
|
15931
|
+
}, ze);
|
|
15932
15932
|
}, n8 = (e, o) => {
|
|
15933
15933
|
B3(e, o, !0).fold(() => {
|
|
15934
15934
|
e.selection.isEditable() && hi(e);
|
|
15935
|
-
},
|
|
15935
|
+
}, ze);
|
|
15936
15936
|
}, K1 = (e, o) => {
|
|
15937
15937
|
e.addCommand("delete", () => {
|
|
15938
15938
|
qI(e, o);
|
|
@@ -21491,7 +21491,7 @@ function M1e() {
|
|
|
21491
21491
|
for (let g = 0; g < n; g++)
|
|
21492
21492
|
d.push(l(g));
|
|
21493
21493
|
return d;
|
|
21494
|
-
},
|
|
21494
|
+
}, ze = (n, l) => {
|
|
21495
21495
|
const d = [];
|
|
21496
21496
|
for (let g = 0; g < n.length; g += l) {
|
|
21497
21497
|
const y = Lt.call(n, g, g + l);
|
|
@@ -23596,14 +23596,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(Be(l, (d) => d.name),
|
|
|
23596
23596
|
$0(l, Pe), zc(l, pe);
|
|
23597
23597
|
}, it = (pt) => {
|
|
23598
23598
|
Bi(l, pt);
|
|
23599
|
-
},
|
|
23599
|
+
}, Ze = () => {
|
|
23600
23600
|
const pt = n.domChildren;
|
|
23601
23601
|
pO(l, pt);
|
|
23602
23602
|
}, mt = () => {
|
|
23603
23603
|
const pt = l, Mt = n.value.getOrUndefined();
|
|
23604
23604
|
Mt !== $m(pt) && Qa(pt, Mt ?? "");
|
|
23605
23605
|
};
|
|
23606
|
-
return D(), Xe(), J(), n.innerHtml.fold(
|
|
23606
|
+
return D(), Xe(), J(), n.innerHtml.fold(Ze, it), mt(), l;
|
|
23607
23607
|
}, t5 = (n) => {
|
|
23608
23608
|
const l = ht.fromTag(n.tag);
|
|
23609
23609
|
ts(l, n.attributes), $0(l, n.classes), Qo(l, n.styles), n.innerHtml.each((g) => Bi(l, g));
|
|
@@ -23649,14 +23649,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(Be(l, (d) => d.name),
|
|
|
23649
23649
|
return (K(Vt[Mt.name()]) ? Vt[Mt.name()] : () => {
|
|
23650
23650
|
throw new Error("Could not find " + Mt.name() + " in " + JSON.stringify(n, null, 2));
|
|
23651
23651
|
})();
|
|
23652
|
-
}, it = (Mt) => K(D[Mt.name()]),
|
|
23652
|
+
}, it = (Mt) => K(D[Mt.name()]), Ze = () => y.apis, mt = (Mt) => D[Mt]().map((Vt) => Vt.state.readState()).getOr("not enabled"), pt = {
|
|
23653
23653
|
uid: n.uid,
|
|
23654
23654
|
getSystem: g.get,
|
|
23655
23655
|
config: Xe,
|
|
23656
23656
|
hasConfigured: it,
|
|
23657
23657
|
spec: n,
|
|
23658
23658
|
readState: mt,
|
|
23659
|
-
getApis:
|
|
23659
|
+
getApis: Ze,
|
|
23660
23660
|
connect: ae,
|
|
23661
23661
|
disconnect: pe,
|
|
23662
23662
|
element: H,
|
|
@@ -23892,8 +23892,8 @@ Receiver: ` + tf(l.element), H, S.data);
|
|
|
23892
23892
|
]
|
|
23893
23893
|
}
|
|
23894
23894
|
]), _w = (n, l, d, g, y, S) => {
|
|
23895
|
-
const k = l.rect, D = k.x - d, N = k.y - g, H = k.width, U = k.height, J = y - (D + H), ae = S - (N + U), pe = F.some(D), Pe = F.some(N), Xe = F.some(J), it = F.some(ae),
|
|
23896
|
-
return c1(l.direction, () => wc(n, pe, Pe,
|
|
23895
|
+
const k = l.rect, D = k.x - d, N = k.y - g, H = k.width, U = k.height, J = y - (D + H), ae = S - (N + U), pe = F.some(D), Pe = F.some(N), Xe = F.some(J), it = F.some(ae), Ze = F.none();
|
|
23896
|
+
return c1(l.direction, () => wc(n, pe, Pe, Ze, Ze), () => wc(n, Ze, Pe, Xe, Ze), () => wc(n, pe, Ze, Ze, it), () => wc(n, Ze, Ze, Xe, it), () => wc(n, pe, Pe, Ze, Ze), () => wc(n, pe, Ze, Ze, it), () => wc(n, pe, Pe, Ze, Ze), () => wc(n, Ze, Pe, Xe, Ze));
|
|
23897
23897
|
}, Z_ = (n, l) => n.fold(() => {
|
|
23898
23898
|
const d = l.rect;
|
|
23899
23899
|
return wc("absolute", F.some(d.x), F.some(d.y), F.none(), F.none());
|
|
@@ -23935,10 +23935,10 @@ Receiver: ` + tf(l.element), H, S.data);
|
|
|
23935
23935
|
y: g,
|
|
23936
23936
|
right: y,
|
|
23937
23937
|
bottom: S
|
|
23938
|
-
} = l, { x: k, y: D, right: N, bottom: H, width: U, height: J } = n, ae = k >= d && k <= y, pe = D >= g && D <= S, Pe = ae && pe, Xe = N <= y && N >= d, it = H <= S && H >= g,
|
|
23938
|
+
} = l, { x: k, y: D, right: N, bottom: H, width: U, height: J } = n, ae = k >= d && k <= y, pe = D >= g && D <= S, Pe = ae && pe, Xe = N <= y && N >= d, it = H <= S && H >= g, Ze = Xe && it, mt = Math.min(U, k >= d ? y - k : N - d), pt = Math.min(J, D >= g ? S - D : H - g);
|
|
23939
23939
|
return {
|
|
23940
23940
|
originInBounds: Pe,
|
|
23941
|
-
sizeInBounds:
|
|
23941
|
+
sizeInBounds: Ze,
|
|
23942
23942
|
visibleW: mt,
|
|
23943
23943
|
visibleH: pt
|
|
23944
23944
|
};
|
|
@@ -23957,10 +23957,10 @@ Receiver: ` + tf(l.element), H, S.data);
|
|
|
23957
23957
|
maxHeight: S
|
|
23958
23958
|
};
|
|
23959
23959
|
}, b5 = (n, l, d, g) => {
|
|
23960
|
-
const y = n.bubble, S = y.offset, k = l5(g, n.restriction, S), D = n.x + S.left, N = n.y + S.top, H = ei(D, N, l, d), { originInBounds: U, sizeInBounds: J, visibleW: ae, visibleH: pe } = kO(H, k), Pe = U && J, Xe = Pe ? H : p5(H, k), it = Xe.width > 0 && Xe.height > 0, { maxWidth:
|
|
23960
|
+
const y = n.bubble, S = y.offset, k = l5(g, n.restriction, S), D = n.x + S.left, N = n.y + S.top, H = ei(D, N, l, d), { originInBounds: U, sizeInBounds: J, visibleW: ae, visibleH: pe } = kO(H, k), Pe = U && J, Xe = Pe ? H : p5(H, k), it = Xe.width > 0 && Xe.height > 0, { maxWidth: Ze, maxHeight: mt } = j_(n.direction, Xe, g), pt = {
|
|
23961
23961
|
rect: Xe,
|
|
23962
23962
|
maxHeight: mt,
|
|
23963
|
-
maxWidth:
|
|
23963
|
+
maxWidth: Ze,
|
|
23964
23964
|
direction: n.direction,
|
|
23965
23965
|
placement: n.placement,
|
|
23966
23966
|
classes: {
|
|
@@ -23974,7 +23974,7 @@ Receiver: ` + tf(l.element), H, S.data);
|
|
|
23974
23974
|
}, G_ = (n, l, d, g, y, S) => {
|
|
23975
23975
|
const k = g.width, D = g.height, N = (U, J, ae, pe, Pe) => {
|
|
23976
23976
|
const Xe = U(d, g, y, n, S), it = b5(Xe, k, D, S);
|
|
23977
|
-
return it.fold(X(it), (
|
|
23977
|
+
return it.fold(X(it), (Ze, mt, pt, Mt) => (Pe === Mt ? pt > pe || mt > ae : !Pe && Mt) ? it : Mg.nofit(J, ae, pe, Pe));
|
|
23978
23978
|
};
|
|
23979
23979
|
return cs(l, (U, J) => {
|
|
23980
23980
|
const ae = St(N, J);
|
|
@@ -25423,8 +25423,8 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
25423
25423
|
Pe(Xe, H, U), it.stop();
|
|
25424
25424
|
})), ae = (Pe, Xe) => {
|
|
25425
25425
|
const it = ms(yn.concat(un))(Xe.event);
|
|
25426
|
-
H.focusInside === Bl.OnEnterOrSpaceMode && it && Bb(Pe, Xe) && y(H).each((
|
|
25427
|
-
|
|
25426
|
+
H.focusInside === Bl.OnEnterOrSpaceMode && it && Bb(Pe, Xe) && y(H).each((Ze) => {
|
|
25427
|
+
Ze(Pe, H, U), Xe.stop();
|
|
25428
25428
|
});
|
|
25429
25429
|
}, pe = [
|
|
25430
25430
|
Gt(yu(), (Pe, Xe) => {
|
|
@@ -25452,26 +25452,26 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
25452
25452
|
Ee("firstTabstop", 0),
|
|
25453
25453
|
Ee("useTabstopAt", dt),
|
|
25454
25454
|
Bo("visibilitySelector")
|
|
25455
|
-
].concat([n]), d = (
|
|
25456
|
-
const pt =
|
|
25455
|
+
].concat([n]), d = (Ze, mt) => {
|
|
25456
|
+
const pt = Ze.visibilitySelector.bind((Mt) => _i(mt, Mt)).getOr(mt);
|
|
25457
25457
|
return fi(pt) > 0;
|
|
25458
|
-
}, g = (
|
|
25459
|
-
const pt = Tc(
|
|
25458
|
+
}, g = (Ze, mt) => {
|
|
25459
|
+
const pt = Tc(Ze.element, mt.selector), Mt = rn(pt, (Vt) => d(mt, Vt));
|
|
25460
25460
|
return F.from(Mt[mt.firstTabstop]);
|
|
25461
|
-
}, y = (
|
|
25462
|
-
g(
|
|
25463
|
-
mt.focusManager.set(
|
|
25461
|
+
}, y = (Ze, mt) => mt.focusManager.get(Ze).bind((pt) => _i(pt, mt.selector)), S = (Ze, mt) => d(Ze, mt) && Ze.useTabstopAt(mt), k = (Ze, mt, pt) => {
|
|
25462
|
+
g(Ze, mt).each((Mt) => {
|
|
25463
|
+
mt.focusManager.set(Ze, Mt);
|
|
25464
25464
|
});
|
|
25465
|
-
}, D = (
|
|
25466
|
-
const Vt = rn(Tc(
|
|
25467
|
-
return y(
|
|
25468
|
-
}, H = (
|
|
25465
|
+
}, D = (Ze, mt, pt, Mt, Vt) => Vt(mt, pt, (Rn) => S(Mt, Rn)).fold(() => Mt.cyclic ? F.some(!0) : F.none(), (Rn) => (Mt.focusManager.set(Ze, Rn), F.some(!0))), N = (Ze, mt, pt, Mt) => {
|
|
25466
|
+
const Vt = rn(Tc(Ze.element, pt.selector), (Rn) => d(pt, Rn));
|
|
25467
|
+
return y(Ze, pt).bind((Rn) => ct(Vt, St(bo, Rn)).bind((Ht) => D(Ze, Vt, Ht, pt, Mt)));
|
|
25468
|
+
}, H = (Ze, mt, pt) => {
|
|
25469
25469
|
const Mt = pt.cyclic ? en : Wn;
|
|
25470
|
-
return N(
|
|
25471
|
-
}, U = (
|
|
25470
|
+
return N(Ze, mt, pt, Mt);
|
|
25471
|
+
}, U = (Ze, mt, pt) => {
|
|
25472
25472
|
const Mt = pt.cyclic ? lr : cr;
|
|
25473
|
-
return N(
|
|
25474
|
-
}, J = (
|
|
25473
|
+
return N(Ze, mt, pt, Mt);
|
|
25474
|
+
}, J = (Ze) => iu(Ze).bind(Mc).exists((mt) => bo(mt, Ze)), ae = (Ze, mt, pt) => y(Ze, pt).filter((Mt) => !pt.useTabstopAt(Mt)).bind((Mt) => (J(Mt) ? H : U)(Ze, mt, pt)), pe = (Ze, mt, pt) => pt.onEnter.bind((Mt) => Mt(Ze, mt)), Pe = (Ze, mt, pt) => pt.onEscape.bind((Mt) => Mt(Ze, mt)), Xe = X([
|
|
25475
25475
|
Po(Nr([
|
|
25476
25476
|
uc,
|
|
25477
25477
|
ms(Tt)
|
|
@@ -26277,7 +26277,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
26277
26277
|
triggeringItem: Ps,
|
|
26278
26278
|
triggeringPath: mn
|
|
26279
26279
|
})))), J = (Vt, Rn) => {
|
|
26280
|
-
const mn = rn(
|
|
26280
|
+
const mn = rn(Ze(Vt).toArray(), (Ht) => Xe(Ht).isSome());
|
|
26281
26281
|
return gn(d.get(), Vt).bind((Ht) => {
|
|
26282
26282
|
const zn = Ds(mn.concat(Ht)), Ps = Ce(zn, (Cs, So) => U(Cs, Rn, zn.slice(0, So + 1)).fold(() => Ir(g.get(), Cs) ? [] : [F.none()], (Hs) => [F.some(Hs)]));
|
|
26283
26283
|
return Uo(Ps);
|
|
@@ -26285,7 +26285,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
26285
26285
|
}, ae = (Vt) => gn(n.get(), Vt).map((Rn) => {
|
|
26286
26286
|
const mn = gn(d.get(), Vt).getOr([]);
|
|
26287
26287
|
return [Rn].concat(mn);
|
|
26288
|
-
}), pe = (Vt) => gn(d.get(), Vt).bind((Rn) => Rn.length > 1 ? F.some(Rn.slice(1)) : F.none()), Pe = (Vt) => gn(d.get(), Vt), Xe = (Vt) => it(Vt).bind(J7), it = (Vt) => gn(l.get(), Vt),
|
|
26288
|
+
}), pe = (Vt) => gn(d.get(), Vt).bind((Rn) => Rn.length > 1 ? F.some(Rn.slice(1)) : F.none()), Pe = (Vt) => gn(d.get(), Vt), Xe = (Vt) => it(Vt).bind(J7), it = (Vt) => gn(l.get(), Vt), Ze = (Vt) => gn(n.get(), Vt);
|
|
26289
26289
|
return {
|
|
26290
26290
|
setMenuBuilt: D,
|
|
26291
26291
|
setContents: N,
|
|
@@ -26293,7 +26293,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
26293
26293
|
refresh: Pe,
|
|
26294
26294
|
collapse: pe,
|
|
26295
26295
|
lookupMenu: it,
|
|
26296
|
-
lookupItem:
|
|
26296
|
+
lookupItem: Ze,
|
|
26297
26297
|
otherMenus: (Vt) => {
|
|
26298
26298
|
const Rn = y.get();
|
|
26299
26299
|
return Cn(lo(Rn), Vt);
|
|
@@ -26385,7 +26385,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
26385
26385
|
(function(hn) {
|
|
26386
26386
|
hn[hn.HighlightSubmenu = 0] = "HighlightSubmenu", hn[hn.HighlightParent = 1] = "HighlightParent";
|
|
26387
26387
|
})(it || (it = {}));
|
|
26388
|
-
const
|
|
26388
|
+
const Ze = (hn, Pn, Ns) => {
|
|
26389
26389
|
if (Ns.type === "notbuilt") {
|
|
26390
26390
|
const no = hn.getSystem().build(Ns.nbMenu());
|
|
26391
26391
|
return y.setMenuBuilt(Pn, no), no;
|
|
@@ -26397,7 +26397,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
26397
26397
|
{
|
|
26398
26398
|
const no = k(Pn);
|
|
26399
26399
|
return y.expand(no).bind((ws) => (Pe(hn, ws), F.from(ws[0]).bind((eo) => y.lookupMenu(eo).bind((Er) => {
|
|
26400
|
-
const vr =
|
|
26400
|
+
const vr = Ze(hn, eo, Er);
|
|
26401
26401
|
return Ve(vr.element) || Zs.append(hn, ba(vr)), n.onOpenSubmenu(hn, Pn, vr, Ds(ws)), Ns === it.HighlightSubmenu ? (Oe.highlightFirst(vr), Xe(hn, y, ws)) : (Oe.dehighlightAll(vr), F.some(Pn));
|
|
26402
26402
|
}))));
|
|
26403
26403
|
}
|
|
@@ -27429,7 +27429,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
27429
27429
|
HTMLFormElement: J,
|
|
27430
27430
|
DOMParser: ae,
|
|
27431
27431
|
trustedTypes: pe
|
|
27432
|
-
} = n, Pe = N.prototype, Xe = XS(Pe, "cloneNode"), it = XS(Pe, "remove"),
|
|
27432
|
+
} = n, Pe = N.prototype, Xe = XS(Pe, "cloneNode"), it = XS(Pe, "remove"), Ze = XS(Pe, "nextSibling"), mt = XS(Pe, "childNodes"), pt = XS(Pe, "parentNode");
|
|
27433
27433
|
if (typeof k == "function") {
|
|
27434
27434
|
const Vo = d.createElement("template");
|
|
27435
27435
|
Vo.content && Vo.content.ownerDocument && (d = Vo.content.ownerDocument);
|
|
@@ -27612,7 +27612,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
27612
27612
|
const od = wf.length;
|
|
27613
27613
|
for (let sm = od - 1; sm >= 0; --sm) {
|
|
27614
27614
|
const ub = Xe(wf[sm], !0);
|
|
27615
|
-
ub.__removalCount = (It.__removalCount || 0) + 1, Ql.insertBefore(ub,
|
|
27615
|
+
ub.__removalCount = (It.__removalCount || 0) + 1, Ql.insertBefore(ub, Ze(It));
|
|
27616
27616
|
}
|
|
27617
27617
|
}
|
|
27618
27618
|
}
|
|
@@ -28006,7 +28006,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
28006
28006
|
open: (J, ae, pe) => {
|
|
28007
28007
|
const Pe = () => {
|
|
28008
28008
|
const pt = (mn) => {
|
|
28009
|
-
Zs.remove(mn, it),
|
|
28009
|
+
Zs.remove(mn, it), Ze();
|
|
28010
28010
|
}, Mt = (mn, Ht) => {
|
|
28011
28011
|
mi(mn.element).length === 0 ? Vt(mn, Ht) : Rn(mn, Ht);
|
|
28012
28012
|
}, Vt = (mn, Ht) => {
|
|
@@ -28087,14 +28087,14 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
28087
28087
|
be(J.timeout) && J.timeout > 0 && g4.setEditorTimeout(n, () => {
|
|
28088
28088
|
Pe();
|
|
28089
28089
|
}, J.timeout);
|
|
28090
|
-
const
|
|
28090
|
+
const Ze = () => {
|
|
28091
28091
|
g.on((pt) => {
|
|
28092
28092
|
hi.reposition(pt), pt.hasConfigured(si) && si.refresh(pt), D(pt.components());
|
|
28093
28093
|
});
|
|
28094
28094
|
};
|
|
28095
28095
|
return {
|
|
28096
28096
|
close: Pe,
|
|
28097
|
-
reposition:
|
|
28097
|
+
reposition: Ze,
|
|
28098
28098
|
text: (pt) => {
|
|
28099
28099
|
I4.updateText(it, pt);
|
|
28100
28100
|
},
|
|
@@ -28304,7 +28304,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
28304
28304
|
}
|
|
28305
28305
|
} : n;
|
|
28306
28306
|
}, sC = (n, l) => (d) => {
|
|
28307
|
-
const g =
|
|
28307
|
+
const g = ze(d, l);
|
|
28308
28308
|
return Be(g, (y) => ({
|
|
28309
28309
|
dom: n,
|
|
28310
28310
|
components: y
|
|
@@ -30384,7 +30384,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
30384
30384
|
fireDismissalEventInstead: {},
|
|
30385
30385
|
inlineBehaviours: vn([Us("dismissAutocompleter", [
|
|
30386
30386
|
Gt(kg(), () => J()),
|
|
30387
|
-
Gt(Yy(), (
|
|
30387
|
+
Gt(Yy(), (Ze, mt) => {
|
|
30388
30388
|
zs(mt.event.target, "id").each((pt) => Yt(ht.fromDom(n.getBody()), "aria-activedescendant", pt));
|
|
30389
30389
|
})
|
|
30390
30390
|
])]),
|
|
@@ -30392,14 +30392,14 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
30392
30392
|
})), D = () => hi.isOpen(k), N = y.get, H = () => {
|
|
30393
30393
|
if (D()) {
|
|
30394
30394
|
hi.hide(k), n.dom.remove(d, !1);
|
|
30395
|
-
const
|
|
30396
|
-
zs(
|
|
30397
|
-
me(
|
|
30395
|
+
const Ze = ht.fromDom(n.getBody());
|
|
30396
|
+
zs(Ze, "aria-owns").filter((mt) => mt === d).each(() => {
|
|
30397
|
+
me(Ze, "aria-owns"), me(Ze, "aria-activedescendant");
|
|
30398
30398
|
});
|
|
30399
30399
|
}
|
|
30400
|
-
}, U = () => hi.getContent(k).bind((
|
|
30401
|
-
const mt = Ys(
|
|
30402
|
-
return Ce(
|
|
30400
|
+
}, U = () => hi.getContent(k).bind((Ze) => js(Ze.components(), 0)), J = () => n.execCommand("mceAutocompleterClose"), ae = (Ze) => {
|
|
30401
|
+
const mt = Ys(Ze, (pt) => F.from(pt.columns)).getOr(1);
|
|
30402
|
+
return Ce(Ze, (pt) => {
|
|
30403
30403
|
const Mt = pt.items;
|
|
30404
30404
|
return dX(Mt, pt.matchText, (Vt, Rn) => {
|
|
30405
30405
|
const mn = {
|
|
@@ -30413,8 +30413,8 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
30413
30413
|
});
|
|
30414
30414
|
}, mt, hf.BUBBLE_TO_SANDBOX, l, pt.highlightOn);
|
|
30415
30415
|
});
|
|
30416
|
-
}, pe = (
|
|
30417
|
-
const pt = Ys(
|
|
30416
|
+
}, pe = (Ze, mt) => {
|
|
30417
|
+
const pt = Ys(Ze, (Mt) => F.from(Mt.columns)).getOr(1);
|
|
30418
30418
|
hi.showMenuAt(k, {
|
|
30419
30419
|
anchor: {
|
|
30420
30420
|
type: "selection",
|
|
@@ -30422,12 +30422,12 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
30422
30422
|
root: ht.fromDom(n.getBody())
|
|
30423
30423
|
}
|
|
30424
30424
|
}, fX(kD("autocompleter-value", !0, mt, pt, { menuType: "normal" }), pt, a3.ContentFocus, "normal")), U().each(Oe.highlightFirst);
|
|
30425
|
-
}, Pe = (
|
|
30426
|
-
const mt = ae(
|
|
30427
|
-
mt.length > 0 ? (pe(
|
|
30425
|
+
}, Pe = (Ze) => {
|
|
30426
|
+
const mt = ae(Ze);
|
|
30427
|
+
mt.length > 0 ? (pe(Ze, mt), Yt(ht.fromDom(n.getBody()), "aria-owns", d), n.inline || Xe()) : H();
|
|
30428
30428
|
}, Xe = () => {
|
|
30429
30429
|
n.dom.get(d) && n.dom.remove(d, !1);
|
|
30430
|
-
const
|
|
30430
|
+
const Ze = n.getDoc().documentElement, mt = n.selection.getNode(), pt = m_(k.element);
|
|
30431
30431
|
Qo(pt, {
|
|
30432
30432
|
border: "0",
|
|
30433
30433
|
clip: "rect(0 0 0 0)",
|
|
@@ -30439,13 +30439,13 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
30439
30439
|
width: "1px",
|
|
30440
30440
|
top: `${mt.offsetTop}px`,
|
|
30441
30441
|
left: `${mt.offsetLeft}px`
|
|
30442
|
-
}), n.dom.add(
|
|
30442
|
+
}), n.dom.add(Ze, pt.dom), uo(pt, '[role="menu"]').each((Mt) => {
|
|
30443
30443
|
ho(Mt, "position"), ho(Mt, "max-height");
|
|
30444
30444
|
});
|
|
30445
30445
|
};
|
|
30446
|
-
n.on("AutocompleterStart", ({ lookupData:
|
|
30447
|
-
y.set(!0), g.set(!1), Pe(
|
|
30448
|
-
}), n.on("AutocompleterUpdate", ({ lookupData:
|
|
30446
|
+
n.on("AutocompleterStart", ({ lookupData: Ze }) => {
|
|
30447
|
+
y.set(!0), g.set(!1), Pe(Ze);
|
|
30448
|
+
}), n.on("AutocompleterUpdate", ({ lookupData: Ze }) => Pe(Ze)), n.on("AutocompleterUpdateActiveRange", ({ range: Ze }) => S.set(Ze)), n.on("AutocompleterEnd", () => {
|
|
30449
30449
|
H(), y.set(!1), g.set(!1), S.clear();
|
|
30450
30450
|
});
|
|
30451
30451
|
const it = {
|
|
@@ -30700,86 +30700,86 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
30700
30700
|
Ee("eventOrder", {})
|
|
30701
30701
|
]
|
|
30702
30702
|
}), v$ = (n) => {
|
|
30703
|
-
const l = (
|
|
30704
|
-
triggerEvent: (
|
|
30703
|
+
const l = (Ze) => $i(n.element).fold(dt, (mt) => bo(Ze, mt)), d = xX(), g = (Ze, mt) => d.find(l, Ze, mt), y = mX(n.element, {
|
|
30704
|
+
triggerEvent: (Ze, mt) => Dh(Ze, mt.target, (pt) => vX(g, Ze, mt, pt))
|
|
30705
30705
|
}), S = {
|
|
30706
30706
|
debugInfo: X("real"),
|
|
30707
|
-
triggerEvent: (
|
|
30708
|
-
Dh(
|
|
30707
|
+
triggerEvent: (Ze, mt, pt) => {
|
|
30708
|
+
Dh(Ze, mt, (Mt) => FF(g, Ze, pt, mt, Mt));
|
|
30709
30709
|
},
|
|
30710
|
-
triggerFocus: (
|
|
30711
|
-
ov(
|
|
30712
|
-
Dl(
|
|
30710
|
+
triggerFocus: (Ze, mt) => {
|
|
30711
|
+
ov(Ze).fold(() => {
|
|
30712
|
+
Dl(Ze);
|
|
30713
30713
|
}, (pt) => {
|
|
30714
|
-
Dh(Sg(),
|
|
30714
|
+
Dh(Sg(), Ze, (Mt) => (pX(g, Sg(), {
|
|
30715
30715
|
originator: mt,
|
|
30716
30716
|
kill: ne,
|
|
30717
30717
|
prevent: ne,
|
|
30718
|
-
target:
|
|
30719
|
-
},
|
|
30718
|
+
target: Ze
|
|
30719
|
+
}, Ze, Mt), !1));
|
|
30720
30720
|
});
|
|
30721
30721
|
},
|
|
30722
|
-
triggerEscape: (
|
|
30723
|
-
S.triggerEvent("keydown",
|
|
30722
|
+
triggerEscape: (Ze, mt) => {
|
|
30723
|
+
S.triggerEvent("keydown", Ze.element, mt.event);
|
|
30724
30724
|
},
|
|
30725
|
-
getByUid: (
|
|
30726
|
-
getByDom: (
|
|
30725
|
+
getByUid: (Ze) => Xe(Ze),
|
|
30726
|
+
getByDom: (Ze) => it(Ze),
|
|
30727
30727
|
build: lc,
|
|
30728
30728
|
buildOrPatch: ac,
|
|
30729
|
-
addToGui: (
|
|
30730
|
-
N(
|
|
30729
|
+
addToGui: (Ze) => {
|
|
30730
|
+
N(Ze);
|
|
30731
30731
|
},
|
|
30732
|
-
removeFromGui: (
|
|
30733
|
-
H(
|
|
30732
|
+
removeFromGui: (Ze) => {
|
|
30733
|
+
H(Ze);
|
|
30734
30734
|
},
|
|
30735
|
-
addToWorld: (
|
|
30736
|
-
k(
|
|
30735
|
+
addToWorld: (Ze) => {
|
|
30736
|
+
k(Ze);
|
|
30737
30737
|
},
|
|
30738
|
-
removeFromWorld: (
|
|
30739
|
-
D(
|
|
30738
|
+
removeFromWorld: (Ze) => {
|
|
30739
|
+
D(Ze);
|
|
30740
30740
|
},
|
|
30741
|
-
broadcast: (
|
|
30742
|
-
ae(
|
|
30741
|
+
broadcast: (Ze) => {
|
|
30742
|
+
ae(Ze);
|
|
30743
30743
|
},
|
|
30744
|
-
broadcastOn: (
|
|
30745
|
-
pe(
|
|
30744
|
+
broadcastOn: (Ze, mt) => {
|
|
30745
|
+
pe(Ze, mt);
|
|
30746
30746
|
},
|
|
30747
|
-
broadcastEvent: (
|
|
30748
|
-
Pe(
|
|
30747
|
+
broadcastEvent: (Ze, mt) => {
|
|
30748
|
+
Pe(Ze, mt);
|
|
30749
30749
|
},
|
|
30750
30750
|
isConnected: dt
|
|
30751
|
-
}, k = (
|
|
30752
|
-
|
|
30753
|
-
}, D = (
|
|
30754
|
-
mo(
|
|
30755
|
-
}, N = (
|
|
30756
|
-
G0(n,
|
|
30757
|
-
}, H = (
|
|
30758
|
-
Vf(
|
|
30751
|
+
}, k = (Ze) => {
|
|
30752
|
+
Ze.connect(S), mo(Ze.element) || (d.register(Ze), yt(Ze.components(), k), S.triggerEvent(_h(), Ze.element, { target: Ze.element }));
|
|
30753
|
+
}, D = (Ze) => {
|
|
30754
|
+
mo(Ze.element) || (yt(Ze.components(), D), d.unregister(Ze)), Ze.disconnect();
|
|
30755
|
+
}, N = (Ze) => {
|
|
30756
|
+
G0(n, Ze);
|
|
30757
|
+
}, H = (Ze) => {
|
|
30758
|
+
Vf(Ze);
|
|
30759
30759
|
}, U = () => {
|
|
30760
30760
|
y.unbind(), Nc(n.element);
|
|
30761
|
-
}, J = (
|
|
30761
|
+
}, J = (Ze) => {
|
|
30762
30762
|
const mt = d.filter(Cg());
|
|
30763
30763
|
yt(mt, (pt) => {
|
|
30764
30764
|
const Mt = pt.descHandler;
|
|
30765
|
-
Dm(Mt)(
|
|
30765
|
+
Dm(Mt)(Ze);
|
|
30766
30766
|
});
|
|
30767
|
-
}, ae = (
|
|
30767
|
+
}, ae = (Ze) => {
|
|
30768
30768
|
J({
|
|
30769
30769
|
universal: !0,
|
|
30770
|
-
data:
|
|
30770
|
+
data: Ze
|
|
30771
30771
|
});
|
|
30772
|
-
}, pe = (
|
|
30772
|
+
}, pe = (Ze, mt) => {
|
|
30773
30773
|
J({
|
|
30774
30774
|
universal: !1,
|
|
30775
|
-
channels:
|
|
30775
|
+
channels: Ze,
|
|
30776
30776
|
data: mt
|
|
30777
30777
|
});
|
|
30778
|
-
}, Pe = (
|
|
30779
|
-
const pt = d.filter(
|
|
30778
|
+
}, Pe = (Ze, mt) => {
|
|
30779
|
+
const pt = d.filter(Ze);
|
|
30780
30780
|
return bX(pt, mt);
|
|
30781
|
-
}, Xe = (
|
|
30782
|
-
const mt = ov(
|
|
30781
|
+
}, Xe = (Ze) => d.getById(Ze).fold(() => po.error(new Error('Could not find component with uid: "' + Ze + '" in system.')), po.value), it = (Ze) => {
|
|
30782
|
+
const mt = ov(Ze).getOr("not found");
|
|
30783
30783
|
return Xe(mt);
|
|
30784
30784
|
};
|
|
30785
30785
|
return k(n), {
|
|
@@ -30920,14 +30920,14 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
30920
30920
|
pe(Pe, Xe, it, ro(it, "data-collection-item-value"));
|
|
30921
30921
|
});
|
|
30922
30922
|
}, D = (pe, Pe) => {
|
|
30923
|
-
const it = l.checkUiComponentContext("mode:design").shouldDisable || l.isDisabled() ? " tox-collection__item--state-disabled" : "",
|
|
30923
|
+
const it = l.checkUiComponentContext("mode:design").shouldDisable || l.isDisabled() ? " tox-collection__item--state-disabled" : "", Ze = Be(Pe, (Mt) => {
|
|
30924
30924
|
const Vt = Zf.translate(Mt.text), Rn = n.columns === 1 ? `<div class="tox-collection__item-label">${Vt}</div>` : "", mn = `<div class="tox-collection__item-icon">${S(Mt.icon)}</div>`, Ht = {
|
|
30925
30925
|
_: " ",
|
|
30926
30926
|
" - ": " ",
|
|
30927
30927
|
"-": " "
|
|
30928
30928
|
}, zn = Vt.replace(/\_| \- |\-/g, (Ps) => Ht[Ps]);
|
|
30929
30929
|
return `<div data-mce-tooltip="${zn}" class="tox-collection__item${it}" tabindex="-1" data-collection-item-value="${kX.encodeAllRaw(Mt.value)}" aria-label="${zn}">${mn}${Rn}</div>`;
|
|
30930
|
-
}), mt = n.columns !== "auto" && n.columns > 1 ? Ze
|
|
30930
|
+
}), mt = n.columns !== "auto" && n.columns > 1 ? ze(Ze, n.columns) : [Ze], pt = Be(mt, (Mt) => `<div class="tox-collection__group">${Mt.join("")}</div>`);
|
|
30931
30931
|
Bi(pe.element, pt.join(""));
|
|
30932
30932
|
}, N = k((pe, Pe, Xe, it) => {
|
|
30933
30933
|
Pe.stop(), l.checkUiComponentContext("mode:design").shouldDisable || l.isDisabled() || vs(pe, Ed, {
|
|
@@ -31369,8 +31369,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
31369
31369
|
if (y > ae)
|
|
31370
31370
|
return Xe;
|
|
31371
31371
|
{
|
|
31372
|
-
const it = dI(y, J, ae),
|
|
31373
|
-
return k &&
|
|
31372
|
+
const it = dI(y, J, ae), Ze = T$(it / pe * g + l, Pe, Xe);
|
|
31373
|
+
return k && Ze >= l && Ze <= d ? uI(Ze, l, d, S, D) : N ? Math.round(Ze) : Ze;
|
|
31374
31374
|
}
|
|
31375
31375
|
}, p3 = (n) => {
|
|
31376
31376
|
const { min: l, max: d, range: g, value: y, hasMinEdge: S, hasMaxEdge: k, maxBound: D, maxOffset: N, centerMinEdge: H, centerMaxEdge: U } = n;
|
|
@@ -31665,7 +31665,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
31665
31665
|
J.setToMin(Vt, n);
|
|
31666
31666
|
}, it = (Vt) => {
|
|
31667
31667
|
J.setToMax(Vt, n);
|
|
31668
|
-
},
|
|
31668
|
+
}, Ze = (Vt) => {
|
|
31669
31669
|
const Rn = () => {
|
|
31670
31670
|
Mr(Vt, n, "thumb").each((Ht) => {
|
|
31671
31671
|
const zn = U.value.get();
|
|
@@ -31676,7 +31676,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
31676
31676
|
}, mt = (Vt, Rn) => {
|
|
31677
31677
|
Rn.stop(), n.mouseIsDown.set(!0), n.onDragStart(Vt, y(Vt));
|
|
31678
31678
|
}, pt = (Vt, Rn) => {
|
|
31679
|
-
Rn.stop(), n.onDragEnd(Vt, y(Vt)),
|
|
31679
|
+
Rn.stop(), n.onDragEnd(Vt, y(Vt)), Ze(Vt);
|
|
31680
31680
|
}, Mt = (Vt) => {
|
|
31681
31681
|
Mr(Vt, n, "spectrum").map(gs.focusIn);
|
|
31682
31682
|
};
|
|
@@ -31696,7 +31696,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
31696
31696
|
setValue: pe
|
|
31697
31697
|
}
|
|
31698
31698
|
}),
|
|
31699
|
-
Uc.config({ channels: { [UO()]: { onReceive:
|
|
31699
|
+
Uc.config({ channels: { [UO()]: { onReceive: Ze } } })
|
|
31700
31700
|
]),
|
|
31701
31701
|
events: Rr([
|
|
31702
31702
|
Gt(MC(), (Vt, Rn) => {
|
|
@@ -31829,22 +31829,22 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
31829
31829
|
immediatelyHide: ne
|
|
31830
31830
|
}, yq = (n, l, d, g, y, S) => {
|
|
31831
31831
|
const k = (Xe, it) => {
|
|
31832
|
-
const
|
|
31833
|
-
Xe !==
|
|
31834
|
-
}, D = (Xe, it,
|
|
31832
|
+
const Ze = it.get();
|
|
31833
|
+
Xe !== Ze.isEnabled() && (Ze.setEnabled(Xe), Xe ? Ze.immediatelyShow() : Ze.immediatelyHide());
|
|
31834
|
+
}, D = (Xe, it, Ze) => Gm.config({
|
|
31835
31835
|
invalidClass: l("invalid"),
|
|
31836
31836
|
notify: {
|
|
31837
31837
|
onValidate: (mt) => {
|
|
31838
31838
|
vs(mt, Z$, { type: Xe });
|
|
31839
31839
|
},
|
|
31840
31840
|
onValid: (mt) => {
|
|
31841
|
-
k(!1,
|
|
31841
|
+
k(!1, Ze), vs(mt, LC, {
|
|
31842
31842
|
type: Xe,
|
|
31843
31843
|
value: Fn.getValue(mt)
|
|
31844
31844
|
});
|
|
31845
31845
|
},
|
|
31846
31846
|
onInvalid: (mt) => {
|
|
31847
|
-
k(!0,
|
|
31847
|
+
k(!0, Ze), vs(mt, z$, {
|
|
31848
31848
|
type: Xe,
|
|
31849
31849
|
value: Fn.getValue(mt)
|
|
31850
31850
|
});
|
|
@@ -31857,10 +31857,10 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
31857
31857
|
},
|
|
31858
31858
|
validateOnLoad: !1
|
|
31859
31859
|
}
|
|
31860
|
-
}), N = (Xe, it,
|
|
31860
|
+
}), N = (Xe, it, Ze, mt, pt) => {
|
|
31861
31861
|
const Mt = ls(vq), Vt = n(U$ + "range"), Rn = ko.parts.label({
|
|
31862
31862
|
dom: { tag: "label" },
|
|
31863
|
-
components: [Vr(
|
|
31863
|
+
components: [Vr(Ze)]
|
|
31864
31864
|
}), mn = ko.parts.field({
|
|
31865
31865
|
data: pt,
|
|
31866
31866
|
factory: lp,
|
|
@@ -31919,14 +31919,14 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
31919
31919
|
components: Hs
|
|
31920
31920
|
};
|
|
31921
31921
|
}, H = (Xe, it) => {
|
|
31922
|
-
const
|
|
31922
|
+
const Ze = pC(it);
|
|
31923
31923
|
return oy.getField(Xe, "hex").each((mt) => {
|
|
31924
|
-
Is.isFocused(mt) || Fn.setValue(Xe, { hex:
|
|
31925
|
-
}),
|
|
31924
|
+
Is.isFocused(mt) || Fn.setValue(Xe, { hex: Ze.value });
|
|
31925
|
+
}), Ze;
|
|
31926
31926
|
}, U = (Xe, it) => {
|
|
31927
|
-
const
|
|
31927
|
+
const Ze = it.red, mt = it.green, pt = it.blue;
|
|
31928
31928
|
Fn.setValue(Xe, {
|
|
31929
|
-
red:
|
|
31929
|
+
red: Ze,
|
|
31930
31930
|
green: mt,
|
|
31931
31931
|
blue: pt
|
|
31932
31932
|
});
|
|
@@ -31938,8 +31938,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
31938
31938
|
attributes: { role: "presentation" }
|
|
31939
31939
|
}
|
|
31940
31940
|
}), ae = (Xe, it) => {
|
|
31941
|
-
J.getOpt(Xe).each((
|
|
31942
|
-
kn(
|
|
31941
|
+
J.getOpt(Xe).each((Ze) => {
|
|
31942
|
+
kn(Ze.element, "background-color", "#" + it.value);
|
|
31943
31943
|
});
|
|
31944
31944
|
};
|
|
31945
31945
|
return qc({
|
|
@@ -31952,9 +31952,9 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
31952
31952
|
}, it = (as, hn) => {
|
|
31953
31953
|
const Pn = bC(hn);
|
|
31954
31954
|
U(as, Pn), Mt(Pn);
|
|
31955
|
-
},
|
|
31955
|
+
}, Ze = (as) => Xe[as].get(), mt = (as, hn) => {
|
|
31956
31956
|
Xe[as].set(hn);
|
|
31957
|
-
}, pt = () =>
|
|
31957
|
+
}, pt = () => Ze("red").bind((as) => Ze("green").bind((hn) => Ze("blue").map((Pn) => Wv(as, hn, Pn, 1)))), Mt = (as) => {
|
|
31958
31958
|
const hn = as.red, Pn = as.green, Ns = as.blue;
|
|
31959
31959
|
mt("red", F.some(hn)), mt("green", F.some(Pn)), mt("blue", F.some(Ns));
|
|
31960
31960
|
}, Vt = (as, hn) => {
|
|
@@ -32011,8 +32011,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32011
32011
|
name: "RgbForm",
|
|
32012
32012
|
configFields: [],
|
|
32013
32013
|
apis: {
|
|
32014
|
-
updateHex: (Xe, it,
|
|
32015
|
-
Xe.updateHex(it,
|
|
32014
|
+
updateHex: (Xe, it, Ze) => {
|
|
32015
|
+
Xe.updateHex(it, Ze);
|
|
32016
32016
|
}
|
|
32017
32017
|
},
|
|
32018
32018
|
extraApis: {}
|
|
@@ -32065,7 +32065,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32065
32065
|
Math.floor(it.x),
|
|
32066
32066
|
Math.floor(100 - it.y)
|
|
32067
32067
|
])), vs(Pe, TI, { value: it });
|
|
32068
|
-
}, ae = (Pe, Xe, it,
|
|
32068
|
+
}, ae = (Pe, Xe, it, Ze) => {
|
|
32069
32069
|
y(it.element.dom, qB(jB));
|
|
32070
32070
|
}, pe = vn([
|
|
32071
32071
|
Fo.config({ find: F.some }),
|
|
@@ -32123,7 +32123,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32123
32123
|
Pe.getOpt(Ht).each((Ps) => {
|
|
32124
32124
|
D.updateHex(Ps, zn);
|
|
32125
32125
|
});
|
|
32126
|
-
},
|
|
32126
|
+
}, Ze = (Ht, zn, Ps) => {
|
|
32127
32127
|
ae.getOpt(Ht).each((Cs) => {
|
|
32128
32128
|
qh.setValue(Cs, U(Ps));
|
|
32129
32129
|
});
|
|
@@ -32156,7 +32156,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32156
32156
|
}, mn = () => {
|
|
32157
32157
|
const Ht = [
|
|
32158
32158
|
Xe,
|
|
32159
|
-
|
|
32159
|
+
Ze,
|
|
32160
32160
|
mt
|
|
32161
32161
|
];
|
|
32162
32162
|
return (zn, Ps) => {
|
|
@@ -32732,9 +32732,9 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32732
32732
|
components: [Vr(d.translate(n))],
|
|
32733
32733
|
behaviours: vn([Zs.config({})])
|
|
32734
32734
|
}), Xf = Xn("update-menu-text"), J1 = Xn("update-menu-icon"), jI = Xn("update-tooltip-text"), o8 = (n, l, d, g) => {
|
|
32735
|
-
const y = ls(ne), S = ls(n.tooltip), k = n.text.map((it) => er(s8(it, l, d.providers))), D = n.icon.map((it) => er(K1(it, d.providers.icons))), N = (it,
|
|
32735
|
+
const y = ls(ne), S = ls(n.tooltip), k = n.text.map((it) => er(s8(it, l, d.providers))), D = n.icon.map((it) => er(K1(it, d.providers.icons))), N = (it, Ze) => {
|
|
32736
32736
|
const mt = Fn.getValue(it);
|
|
32737
|
-
return Is.focus(mt), vs(mt, "keydown", { raw:
|
|
32737
|
+
return Is.focus(mt), vs(mt, "keydown", { raw: Ze.event.raw }), Td.close(mt), F.some(!0);
|
|
32738
32738
|
}, H = n.role.fold(() => ({}), (it) => ({ role: it })), U = F.from(n.listRole).map((it) => ({ listRole: it })).getOr({}), J = n.ariaLabel.fold(() => ({}), (it) => ({ "aria-label": d.providers.translate(it) })), ae = ff("chevron-down", {
|
|
32739
32739
|
tag: "div",
|
|
32740
32740
|
classes: [`${l}__select-chevron`]
|
|
@@ -32761,7 +32761,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32761
32761
|
]),
|
|
32762
32762
|
matchWidth: !0,
|
|
32763
32763
|
useMinWidth: !0,
|
|
32764
|
-
onOpen: (it,
|
|
32764
|
+
onOpen: (it, Ze, mt) => {
|
|
32765
32765
|
n.searchable && CC(mt);
|
|
32766
32766
|
},
|
|
32767
32767
|
dropdownBehaviours: vn([
|
|
@@ -32772,10 +32772,10 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32772
32772
|
Zs.config({}),
|
|
32773
32773
|
...n.tooltip.map((it) => li.config(d.providers.tooltips.getConfig({
|
|
32774
32774
|
tooltipText: d.providers.translate(it),
|
|
32775
|
-
onShow: (
|
|
32775
|
+
onShow: (Ze) => {
|
|
32776
32776
|
if (ui(S.get(), n.tooltip, (mt, pt) => pt !== mt).getOr(!1)) {
|
|
32777
32777
|
const mt = d.providers.translate(S.get().getOr(""));
|
|
32778
|
-
li.setComponents(
|
|
32778
|
+
li.setComponents(Ze, d.providers.tooltips.getComponents({ tooltipText: mt }));
|
|
32779
32779
|
}
|
|
32780
32780
|
}
|
|
32781
32781
|
}))).toArray(),
|
|
@@ -32783,24 +32783,24 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32783
32783
|
Zh(n, y),
|
|
32784
32784
|
W1(n, y)
|
|
32785
32785
|
]),
|
|
32786
|
-
Us(pe, [hr((it,
|
|
32786
|
+
Us(pe, [hr((it, Ze) => {
|
|
32787
32787
|
n.listRole !== "listbox" && B3(it);
|
|
32788
32788
|
})]),
|
|
32789
|
-
Us("update-dropdown-width-variable", [Gt(km(), (it,
|
|
32789
|
+
Us("update-dropdown-width-variable", [Gt(km(), (it, Ze) => Td.close(it))]),
|
|
32790
32790
|
Us("menubutton-update-display-text", [
|
|
32791
|
-
Gt(Xf, (it,
|
|
32791
|
+
Gt(Xf, (it, Ze) => {
|
|
32792
32792
|
k.bind((mt) => mt.getOpt(it)).each((mt) => {
|
|
32793
|
-
Zs.set(mt, [Vr(d.providers.translate(
|
|
32793
|
+
Zs.set(mt, [Vr(d.providers.translate(Ze.event.text))]);
|
|
32794
32794
|
});
|
|
32795
32795
|
}),
|
|
32796
|
-
Gt(J1, (it,
|
|
32796
|
+
Gt(J1, (it, Ze) => {
|
|
32797
32797
|
D.bind((mt) => mt.getOpt(it)).each((mt) => {
|
|
32798
|
-
Zs.set(mt, [K1(
|
|
32798
|
+
Zs.set(mt, [K1(Ze.event.icon, d.providers.icons)]);
|
|
32799
32799
|
});
|
|
32800
32800
|
}),
|
|
32801
|
-
Gt(jI, (it,
|
|
32802
|
-
const mt = d.providers.translate(
|
|
32803
|
-
Yt(it.element, "aria-label", mt), S.set(F.some(
|
|
32801
|
+
Gt(jI, (it, Ze) => {
|
|
32802
|
+
const mt = d.providers.translate(Ze.event.text);
|
|
32803
|
+
Yt(it.element, "aria-label", mt), S.set(F.some(Ze.event.text));
|
|
32804
32804
|
})
|
|
32805
32805
|
])
|
|
32806
32806
|
]),
|
|
@@ -32825,11 +32825,11 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32825
32825
|
onRight: N
|
|
32826
32826
|
}),
|
|
32827
32827
|
Us("dropdown-sandbox-events", [
|
|
32828
|
-
Gt(YN, (it,
|
|
32829
|
-
jv(it),
|
|
32828
|
+
Gt(YN, (it, Ze) => {
|
|
32829
|
+
jv(it), Ze.stop();
|
|
32830
32830
|
}),
|
|
32831
|
-
Gt(KN, (it,
|
|
32832
|
-
lX(it,
|
|
32831
|
+
Gt(KN, (it, Ze) => {
|
|
32832
|
+
lX(it, Ze), Ze.stop();
|
|
32833
32833
|
})
|
|
32834
32834
|
])
|
|
32835
32835
|
]),
|
|
@@ -32841,7 +32841,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32841
32841
|
fakeFocus: n.searchable,
|
|
32842
32842
|
...n.listRole === "listbox" ? {} : {
|
|
32843
32843
|
onHighlightItem: SC,
|
|
32844
|
-
onCollapseMenu: (it,
|
|
32844
|
+
onCollapseMenu: (it, Ze, mt) => {
|
|
32845
32845
|
Oe.getHighlighted(mt).each((pt) => {
|
|
32846
32846
|
SC(it, mt, pt);
|
|
32847
32847
|
});
|
|
@@ -32851,8 +32851,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32851
32851
|
}
|
|
32852
32852
|
},
|
|
32853
32853
|
getAnchorOverrides: () => ({
|
|
32854
|
-
maxHeightFunction: (it,
|
|
32855
|
-
Rw()(it,
|
|
32854
|
+
maxHeightFunction: (it, Ze) => {
|
|
32855
|
+
Rw()(it, Ze - 10);
|
|
32856
32856
|
}
|
|
32857
32857
|
}),
|
|
32858
32858
|
fetch: (it) => fc.nu(St(n.fetch, it))
|
|
@@ -33253,10 +33253,10 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
33253
33253
|
k,
|
|
33254
33254
|
Hr.config({}),
|
|
33255
33255
|
Us("size-input-events", [
|
|
33256
|
-
Gt(pd(), (it,
|
|
33256
|
+
Gt(pd(), (it, Ze) => {
|
|
33257
33257
|
vs(it, g, { isField1: Xe });
|
|
33258
33258
|
}),
|
|
33259
|
-
Gt(Ff(), (it,
|
|
33259
|
+
Gt(Ff(), (it, Ze) => {
|
|
33260
33260
|
vs(it, Ku, { name: n.name });
|
|
33261
33261
|
})
|
|
33262
33262
|
])
|
|
@@ -33298,7 +33298,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
33298
33298
|
field2Name: "height",
|
|
33299
33299
|
locked: !0,
|
|
33300
33300
|
markers: { lockClass: "tox-locked" },
|
|
33301
|
-
onLockedChange: (Xe, it,
|
|
33301
|
+
onLockedChange: (Xe, it, Ze) => {
|
|
33302
33302
|
zC(Fn.getValue(Xe)).each((mt) => {
|
|
33303
33303
|
d(mt).each((pt) => {
|
|
33304
33304
|
Fn.setValue(it, a8(pt));
|
|
@@ -33317,7 +33317,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
33317
33317
|
}),
|
|
33318
33318
|
fa(() => l.checkUiComponentContext("mode:design")),
|
|
33319
33319
|
Us("size-input-events2", [Gt(g, (Xe, it) => {
|
|
33320
|
-
const
|
|
33320
|
+
const Ze = it.event.isField1, mt = Ze ? qi.getField1(Xe) : qi.getField2(Xe), pt = Ze ? qi.getField2(Xe) : qi.getField1(Xe), Mt = mt.map(Fn.getValue).getOr(""), Vt = pt.map(Fn.getValue).getOr("");
|
|
33321
33321
|
d = rL(Mt, Vt);
|
|
33322
33322
|
})])
|
|
33323
33323
|
])
|
|
@@ -34061,8 +34061,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
34061
34061
|
wC(n, k(J), J, Pe, g, Xe, nl.HighlightMenuAndItem).get(ne);
|
|
34062
34062
|
}
|
|
34063
34063
|
}, S = px(n), k = (J) => (ae) => ae.map((pe) => {
|
|
34064
|
-
const Pe = Fr(pe.menus), Xe = Ce(Pe, (
|
|
34065
|
-
return Fn.getState(J).update(Be(Xe, (
|
|
34064
|
+
const Pe = Fr(pe.menus), Xe = Ce(Pe, (Ze) => rn(Ze.items, (mt) => mt.type === "item"));
|
|
34065
|
+
return Fn.getState(J).update(Be(Xe, (Ze) => Ze.data)), pe;
|
|
34066
34066
|
}), D = (J) => Fo.getCurrent(J), N = "typeaheadevents", H = [
|
|
34067
34067
|
Is.config({}),
|
|
34068
34068
|
Fn.config({
|
|
@@ -34089,9 +34089,9 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
34089
34089
|
onStream: (J, ae) => {
|
|
34090
34090
|
const pe = Xi.getCoupled(J, "sandbox");
|
|
34091
34091
|
if (Is.isFocused(J) && $m(J.element).length >= n.minChars) {
|
|
34092
|
-
const Xe = D(pe).bind((
|
|
34092
|
+
const Xe = D(pe).bind((Ze) => Oe.getHighlighted(Ze).map(Fn.getValue));
|
|
34093
34093
|
n.previewing.set(!0);
|
|
34094
|
-
const it = (
|
|
34094
|
+
const it = (Ze) => {
|
|
34095
34095
|
D(pe).each((mt) => {
|
|
34096
34096
|
Xe.fold(() => {
|
|
34097
34097
|
n.model.selectsOver && Oe.highlightFirst(mt);
|
|
@@ -34373,10 +34373,10 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
34373
34373
|
...H,
|
|
34374
34374
|
...G(d) ? { "data-mce-name": d } : {}
|
|
34375
34375
|
}
|
|
34376
|
-
}, pe = [], Pe = l.translate(n.text.getOr("")), Xe = Vr(Pe),
|
|
34376
|
+
}, pe = [], Pe = l.translate(n.text.getOr("")), Xe = Vr(Pe), Ze = [
|
|
34377
34377
|
...qm([S.map((pt) => pt.asSpec())]),
|
|
34378
34378
|
...n.text.isSome() ? [Xe] : []
|
|
34379
|
-
], mt = ay(N, F.some(k), pe, ae,
|
|
34379
|
+
], mt = ay(N, F.some(k), pe, ae, Ze, n.tooltip, l);
|
|
34380
34380
|
return Wa.sketch(mt);
|
|
34381
34381
|
}, Z3 = (n, l, d) => {
|
|
34382
34382
|
if (O8(n, l)) {
|
|
@@ -34586,7 +34586,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
34586
34586
|
[Pe.asSpec()],
|
|
34587
34587
|
ae.map(() => Xe.asSpec()).toArray()
|
|
34588
34588
|
])
|
|
34589
|
-
}),
|
|
34589
|
+
}), Ze = (mt) => {
|
|
34590
34590
|
Fo.getCurrent(mt).each((pt) => {
|
|
34591
34591
|
const Mt = Fn.getValue(pt), Vt = {
|
|
34592
34592
|
fieldname: n.name,
|
|
@@ -34613,7 +34613,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
34613
34613
|
}
|
|
34614
34614
|
}),
|
|
34615
34615
|
fa(() => y.checkUiComponentContext(n.context)),
|
|
34616
|
-
Us("url-input-events", [Gt(pe,
|
|
34616
|
+
Us("url-input-events", [Gt(pe, Ze)])
|
|
34617
34617
|
])
|
|
34618
34618
|
});
|
|
34619
34619
|
}, Dj = (n, l) => {
|
|
@@ -35335,19 +35335,19 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
35335
35335
|
isDisabled: () => !l.ui.isEnabled(),
|
|
35336
35336
|
getOption: l.options.get,
|
|
35337
35337
|
tooltips: B8(n.dialog),
|
|
35338
|
-
checkUiComponentContext: (
|
|
35338
|
+
checkUiComponentContext: (Ze) => {
|
|
35339
35339
|
if (v4(l))
|
|
35340
35340
|
return {
|
|
35341
35341
|
contextType: "disabled",
|
|
35342
35342
|
shouldDisable: !0
|
|
35343
35343
|
};
|
|
35344
|
-
const [mt, pt = ""] =
|
|
35344
|
+
const [mt, pt = ""] = Ze.split(":"), Mt = l.ui.registry.getAll().contexts, Vt = gn(Mt, mt).fold(() => gn(Mt, "mode").map((Rn) => Rn("design")).getOr(!1), (Rn) => pt.charAt(0) === "!" ? !Rn(pt.slice(1)) : Rn(pt));
|
|
35345
35345
|
return {
|
|
35346
35346
|
contextType: mt,
|
|
35347
35347
|
shouldDisable: !Vt
|
|
35348
35348
|
};
|
|
35349
35349
|
}
|
|
35350
|
-
}, D = dG(l), N = HL(l), H = Hj(l), U = Zj(l), J = () => y.get(), ae = (
|
|
35350
|
+
}, D = dG(l), N = HL(l), H = Hj(l), U = Zj(l), J = () => y.get(), ae = (Ze) => y.set(Ze), pe = {
|
|
35351
35351
|
shared: {
|
|
35352
35352
|
providers: k,
|
|
35353
35353
|
anchors: Lj(l, d, g, S.isPositionedAtTop),
|
|
@@ -35359,18 +35359,18 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
35359
35359
|
dialog: U,
|
|
35360
35360
|
isContextMenuOpen: J,
|
|
35361
35361
|
setContextMenuState: ae
|
|
35362
|
-
}, Pe = (
|
|
35362
|
+
}, Pe = (Ze) => F.none(), Xe = {
|
|
35363
35363
|
...pe,
|
|
35364
35364
|
shared: {
|
|
35365
35365
|
...pe.shared,
|
|
35366
|
-
interpreter: (
|
|
35366
|
+
interpreter: (Ze) => NL(Ze, {}, Xe, Pe),
|
|
35367
35367
|
getSink: n.popup
|
|
35368
35368
|
}
|
|
35369
35369
|
}, it = {
|
|
35370
35370
|
...pe,
|
|
35371
35371
|
shared: {
|
|
35372
35372
|
...pe.shared,
|
|
35373
|
-
interpreter: (
|
|
35373
|
+
interpreter: (Ze) => NL(Ze, {}, it, Pe),
|
|
35374
35374
|
getSink: n.dialog
|
|
35375
35375
|
}
|
|
35376
35376
|
};
|
|
@@ -35403,7 +35403,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
35403
35403
|
});
|
|
35404
35404
|
}, Xe = (Ht) => g(qy(), K_(Ht)), it = (Ht) => {
|
|
35405
35405
|
y(Fm(), {}), g(km(), K_(Ht));
|
|
35406
|
-
},
|
|
35406
|
+
}, Ze = Kr(ht.fromDom(n.getElement())), mt = _O(Ze, "scroll", (Ht) => {
|
|
35407
35407
|
requestAnimationFrame(() => {
|
|
35408
35408
|
const zn = n.getContainer();
|
|
35409
35409
|
if (zn != null) {
|
|
@@ -35458,8 +35458,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
35458
35458
|
const U = Zs.contents(H), J = N.length, ae = J - U.length, pe = ae > 0 ? Ae(ae, () => n.makeItem()) : [], Pe = U.slice(J);
|
|
35459
35459
|
yt(Pe, (it) => Zs.remove(H, it)), yt(pe, (it) => Zs.append(H, it));
|
|
35460
35460
|
const Xe = Zs.contents(H);
|
|
35461
|
-
yt(Xe, (it,
|
|
35462
|
-
n.setupItem(D, it, N[
|
|
35461
|
+
yt(Xe, (it, Ze) => {
|
|
35462
|
+
n.setupItem(D, it, N[Ze], Ze);
|
|
35463
35463
|
});
|
|
35464
35464
|
});
|
|
35465
35465
|
}, S = n.shell ? {
|
|
@@ -35544,8 +35544,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
35544
35544
|
if (Xe && H < Pe)
|
|
35545
35545
|
Mf(S.left, H - ae, d);
|
|
35546
35546
|
else if (it && U > pe) {
|
|
35547
|
-
const
|
|
35548
|
-
Mf(S.left,
|
|
35547
|
+
const Ze = H - y + N + ae;
|
|
35548
|
+
Mf(S.left, Ze, d);
|
|
35549
35549
|
}
|
|
35550
35550
|
}, dy = (n, l) => _e(si.getModes(n), l), J3 = (n) => {
|
|
35551
35551
|
const l = (g) => du(g) + (parseInt(tn(g, "margin-top"), 10) || 0) + (parseInt(tn(g, "margin-bottom"), 10) || 0), d = n.element;
|
|
@@ -35817,20 +35817,20 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
35817
35817
|
}));
|
|
35818
35818
|
return Rv(i9, a9, y, PG, d);
|
|
35819
35819
|
}, PG = (n, l) => {
|
|
35820
|
-
const d = (Xe) => mS(n), g = (Xe, it) => Mr(Xe, n, it), y = (Xe, it) => (
|
|
35821
|
-
yt(
|
|
35820
|
+
const d = (Xe) => mS(n), g = (Xe, it) => Mr(Xe, n, it), y = (Xe, it) => (Ze, mt) => Mr(Ze, n, mt).map((pt) => Xe(pt, mt)).getOr(it), S = (Xe) => (it, Ze) => {
|
|
35821
|
+
yt(Ze, (mt) => Xe(it, mt));
|
|
35822
35822
|
}, k = (Xe, it) => ro(Xe.element, "aria-hidden") !== "true", D = (Xe, it) => {
|
|
35823
35823
|
if (!k(Xe)) {
|
|
35824
|
-
const
|
|
35825
|
-
ho(
|
|
35824
|
+
const Ze = Xe.element;
|
|
35825
|
+
ho(Ze, "display"), me(Ze, "aria-hidden"), vs(Xe, jy(), {
|
|
35826
35826
|
name: it,
|
|
35827
35827
|
visible: !0
|
|
35828
35828
|
});
|
|
35829
35829
|
}
|
|
35830
35830
|
}, N = (Xe, it) => {
|
|
35831
35831
|
if (k(Xe)) {
|
|
35832
|
-
const
|
|
35833
|
-
kn(
|
|
35832
|
+
const Ze = Xe.element;
|
|
35833
|
+
kn(Ze, "display", "none"), Yt(Ze, "aria-hidden", "true"), vs(Xe, jy(), {
|
|
35834
35834
|
name: it,
|
|
35835
35835
|
visible: !1
|
|
35836
35836
|
});
|
|
@@ -36782,7 +36782,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
36782
36782
|
tag: "button",
|
|
36783
36783
|
classes: H.concat(...n.icon.isSome() && !Xe ? ["tox-button--icon"] : []).concat(...Xe ? ["tox-button--icon-and-text"] : []).concat(...n.borderless ? ["tox-button--naked"] : []).concat(...n.type === "togglebutton" && n.active ? ["tox-button--enabled"] : []),
|
|
36784
36784
|
attributes: ae
|
|
36785
|
-
},
|
|
36785
|
+
}, Ze = [], mt = ay(N, F.some(D), Ze, it, Pe, n.tooltip, l);
|
|
36786
36786
|
return Wa.sketch(mt);
|
|
36787
36787
|
}, E9 = (n, l) => T9(n, l), dY = (n, l) => ({
|
|
36788
36788
|
dom: {
|
|
@@ -38222,7 +38222,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38222
38222
|
]
|
|
38223
38223
|
}
|
|
38224
38224
|
});
|
|
38225
|
-
}, it = er(Xe((pt) => J(!1, pt), "minus", "Decrease font size", [])),
|
|
38225
|
+
}, it = er(Xe((pt) => J(!1, pt), "minus", "Decrease font size", [])), Ze = er(Xe((pt) => ae(!1, pt), "plus", "Increase font size", [])), mt = er({
|
|
38226
38226
|
dom: {
|
|
38227
38227
|
tag: "div",
|
|
38228
38228
|
classes: ["tox-input-wrapper"]
|
|
@@ -38270,7 +38270,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38270
38270
|
Us("input-wrapper-events", [Gt(ef(), (pt) => {
|
|
38271
38271
|
yt([
|
|
38272
38272
|
it,
|
|
38273
|
-
|
|
38273
|
+
Ze
|
|
38274
38274
|
], (Mt) => {
|
|
38275
38275
|
const Vt = ht.fromDom(Mt.get(pt).element.dom);
|
|
38276
38276
|
Ha(Vt) && Mh(Vt);
|
|
@@ -38287,7 +38287,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38287
38287
|
components: [
|
|
38288
38288
|
it.asSpec(),
|
|
38289
38289
|
mt.asSpec(),
|
|
38290
|
-
|
|
38290
|
+
Ze.asSpec()
|
|
38291
38291
|
],
|
|
38292
38292
|
behaviours: vn([
|
|
38293
38293
|
Is.config({}),
|
|
@@ -38618,9 +38618,9 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38618
38618
|
return (Xe = qr.whichSidebar(N)) !== null && Xe !== void 0 ? Xe : "";
|
|
38619
38619
|
}), n.addCommand("ToggleView", (Xe, it) => {
|
|
38620
38620
|
if (qr.toggleView(N, it)) {
|
|
38621
|
-
const
|
|
38622
|
-
S.mothership.broadcastOn([Bm()], { target:
|
|
38623
|
-
mt.broadcastOn([Bm()], { target:
|
|
38621
|
+
const Ze = N.element;
|
|
38622
|
+
S.mothership.broadcastOn([Bm()], { target: Ze }), yt(k, (mt) => {
|
|
38623
|
+
mt.broadcastOn([Bm()], { target: Ze });
|
|
38624
38624
|
}), R(qr.whichView(N)) && (n.focus(), n.nodeChanged(), qr.refreshToolbar(N)), yW(n);
|
|
38625
38625
|
}
|
|
38626
38626
|
}), n.addQueryValueHandler("ToggleView", () => {
|
|
@@ -38673,7 +38673,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38673
38673
|
const l = MP(n), d = FS(n), g = F1(n);
|
|
38674
38674
|
return vE(l).map((y) => hk(y, d, g));
|
|
38675
38675
|
}, wK = (n) => RR(n).getOr(MP(n)), { ToolbarLocation: MR, ToolbarMode: xQ } = zZ, SK = 40, CK = (n, l, d, g, y) => {
|
|
38676
|
-
const { mainUi: S, uiMotherships: k } = d, D = NS.DOM, N = Hh(n), H = I1(n), U = F1(n).or(RR(n)), J = g.shared.header, ae = J.isPositionedAtTop, pe = 150, Pe = hx(n), Xe = Pe === xQ.sliding || Pe === xQ.floating, it = ls(!1),
|
|
38676
|
+
const { mainUi: S, uiMotherships: k } = d, D = NS.DOM, N = Hh(n), H = I1(n), U = F1(n).or(RR(n)), J = g.shared.header, ae = J.isPositionedAtTop, pe = 150, Pe = hx(n), Xe = Pe === xQ.sliding || Pe === xQ.floating, it = ls(!1), Ze = () => it.get() && !n.removed, mt = (as) => Xe ? as.fold(X(0), (hn) => hn.components().length > 1 ? fi(hn.components()[1].element) : 0) : 0, pt = (as) => {
|
|
38677
38677
|
switch (O4(n)) {
|
|
38678
38678
|
case MR.auto:
|
|
38679
38679
|
const hn = qr.getToolbar(S.outerContainer), Pn = mt(hn), Ns = fi(as.element) - Pn, no = Ni(l);
|
|
@@ -38727,7 +38727,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38727
38727
|
as.broadcastOn([Fm()], {});
|
|
38728
38728
|
});
|
|
38729
38729
|
}, zn = () => !N && (oa(S.outerContainer.element).left + _t(S.outerContainer.element) >= window.innerWidth - SK || nr(S.outerContainer.element, "width").isSome()) ? (kn(S.outerContainer.element, "position", "absolute"), kn(S.outerContainer.element, "left", "0px"), ho(S.outerContainer.element, "width"), !0) : !1, Ps = (as) => {
|
|
38730
|
-
if (!
|
|
38730
|
+
if (!Ze())
|
|
38731
38731
|
return;
|
|
38732
38732
|
N || Vt();
|
|
38733
38733
|
const hn = ll(), Pn = N ? !1 : zn();
|
|
@@ -38738,12 +38738,12 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38738
38738
|
});
|
|
38739
38739
|
}
|
|
38740
38740
|
H && y.on(as), Ht();
|
|
38741
|
-
}, Cs = () => N || !H || !
|
|
38741
|
+
}, Cs = () => N || !H || !Ze() ? !1 : y.get().exists((as) => {
|
|
38742
38742
|
const hn = J.getDockingMode(), Pn = pt(as);
|
|
38743
38743
|
return Pn !== hn ? (Mt(Pn), !0) : !1;
|
|
38744
38744
|
});
|
|
38745
38745
|
return {
|
|
38746
|
-
isVisible:
|
|
38746
|
+
isVisible: Ze,
|
|
38747
38747
|
isPositionedAtTop: ae,
|
|
38748
38748
|
show: () => {
|
|
38749
38749
|
it.set(!0), kn(S.outerContainer.element, "display", "flex"), D.addClass(n.getBody(), "mce-edit-focus"), yt(k, (as) => {
|
|
@@ -38943,7 +38943,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38943
38943
|
})
|
|
38944
38944
|
]),
|
|
38945
38945
|
selectOnFocus: !1
|
|
38946
|
-
}),
|
|
38946
|
+
}), Ze = (mn) => ({
|
|
38947
38947
|
dom: {
|
|
38948
38948
|
tag: "label",
|
|
38949
38949
|
classes: ["tox-label"]
|
|
@@ -38967,10 +38967,10 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38967
38967
|
})
|
|
38968
38968
|
])
|
|
38969
38969
|
}), pt = mt(qi.parts.field1(Pe([
|
|
38970
|
-
ko.parts.label(
|
|
38970
|
+
ko.parts.label(Ze("Width:")),
|
|
38971
38971
|
it(!0)
|
|
38972
38972
|
]))), Mt = mt(qi.parts.field2(Pe([
|
|
38973
|
-
ko.parts.label(
|
|
38973
|
+
ko.parts.label(Ze("Height:")),
|
|
38974
38974
|
it(!1)
|
|
38975
38975
|
]))), Vt = ls(ne), Rn = [
|
|
38976
38976
|
Zh({
|
|
@@ -38989,7 +38989,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38989
38989
|
pt,
|
|
38990
38990
|
Mt,
|
|
38991
38991
|
Pe([
|
|
38992
|
-
|
|
38992
|
+
Ze(h1),
|
|
38993
38993
|
pe
|
|
38994
38994
|
])
|
|
38995
38995
|
],
|
|
@@ -39430,7 +39430,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
39430
39430
|
return !0;
|
|
39431
39431
|
}, it = () => {
|
|
39432
39432
|
D.clear(), N.clear(), H.clear(), hi.hide(J);
|
|
39433
|
-
},
|
|
39433
|
+
}, Ze = () => {
|
|
39434
39434
|
if (hi.isOpen(J)) {
|
|
39435
39435
|
const Hs = J.element;
|
|
39436
39436
|
ho(Hs, "display"), Xe() ? kn(Hs, "display", "none") : (N.set(0), hi.reposition(J));
|
|
@@ -39496,7 +39496,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
39496
39496
|
}
|
|
39497
39497
|
}, () => F.some(ae())), Gs.fold(D.clear, D.set), Xe() && kn(Ns, "display", "none");
|
|
39498
39498
|
}, Ps = () => {
|
|
39499
|
-
kn(J.element, "transition", "none"),
|
|
39499
|
+
kn(J.element, "transition", "none"), Ze(), ho(J.element, "transition");
|
|
39500
39500
|
};
|
|
39501
39501
|
let Cs = !1;
|
|
39502
39502
|
const So = j$(() => {
|
|
@@ -39511,7 +39511,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
39511
39511
|
}
|
|
39512
39512
|
}, 17);
|
|
39513
39513
|
n.on("init", () => {
|
|
39514
|
-
n.on("remove", it), n.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress",
|
|
39514
|
+
n.on("remove", it), n.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress", Ze), n.on("click focus SetContent", So.throttle), n.on("keyup", (Hs) => {
|
|
39515
39515
|
(!LQ(Hs.keyCode) || !U.inSubtoolbar()) && So.throttle();
|
|
39516
39516
|
}), n.on(kQ, it), n.on(CQ, (Hs) => {
|
|
39517
39517
|
const Gs = Mt();
|
|
@@ -40701,14 +40701,14 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
40701
40701
|
finish: mn
|
|
40702
40702
|
});
|
|
40703
40703
|
});
|
|
40704
|
-
}), pe = OV(J), Pe = OV(ae), Xe = lc(pe.asSpec()), it = lc(Pe.asSpec()),
|
|
40704
|
+
}), pe = OV(J), Pe = OV(ae), Xe = lc(pe.asSpec()), it = lc(Pe.asSpec()), Ze = (mn, Ht, zn, Ps) => {
|
|
40705
40705
|
const Cs = Ht.dom.getBoundingClientRect();
|
|
40706
40706
|
ho(mn.element, "display");
|
|
40707
40707
|
const So = Jl(ht.fromDom(n.getBody())).dom.innerHeight, Hs = zn(Cs), Gs = Ps(Cs, So);
|
|
40708
40708
|
(Hs || Gs) && kn(mn.element, "display", "none");
|
|
40709
40709
|
}, mt = (mn, Ht, zn, Ps) => {
|
|
40710
40710
|
const Cs = zn(Ht);
|
|
40711
|
-
my.snapTo(mn, Cs),
|
|
40711
|
+
my.snapTo(mn, Cs), Ze(mn, Ht, (Gs) => Gs[Ps] < 0, (Gs, as) => Gs[Ps] > as);
|
|
40712
40712
|
}, pt = (mn) => mt(Xe, mn, D, "top"), Mt = () => S.get().each(pt), Vt = (mn) => mt(it, mn, H, "bottom"), Rn = () => k.get().each(Vt);
|
|
40713
40713
|
if (ii().deviceType.isTouch()) {
|
|
40714
40714
|
const mn = (Ht) => Be(Ht, ht.fromDom);
|
|
@@ -41019,7 +41019,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41019
41019
|
tag: "div",
|
|
41020
41020
|
classes: ["tox-bottom-anchorbar"]
|
|
41021
41021
|
}
|
|
41022
|
-
}),
|
|
41022
|
+
}), Ze = () => S.mainUi.get().map((ws) => ws.outerContainer).bind(qr.getHeader), mt = () => po.fromOption(S.dialogUi.get().map((ws) => ws.sink), "UI has not been rendered"), pt = () => po.fromOption(S.popupUi.get().map((ws) => ws.sink), "(popup) UI has not been rendered"), Mt = S.lazyGetInOuterOrDie("anchor bar", Xe.getOpt), Vt = S.lazyGetInOuterOrDie("bottom anchor bar", it.getOpt), Rn = S.lazyGetInOuterOrDie("toolbar", qr.getToolbar), mn = S.lazyGetInOuterOrDie("throbber", qr.getThrobber), Ht = fG({
|
|
41023
41023
|
popup: pt,
|
|
41024
41024
|
dialog: mt
|
|
41025
41025
|
}, n, Mt, Vt), zn = () => {
|
|
@@ -41047,7 +41047,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41047
41047
|
},
|
|
41048
41048
|
type: Pe,
|
|
41049
41049
|
lazyToolbar: Rn,
|
|
41050
|
-
lazyHeader: () =>
|
|
41050
|
+
lazyHeader: () => Ze().getOrDie("Could not find header element"),
|
|
41051
41051
|
...ws
|
|
41052
41052
|
}), vr = qr.parts["multiple-toolbar"]({
|
|
41053
41053
|
dom: {
|
|
@@ -41117,7 +41117,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41117
41117
|
].concat(ae),
|
|
41118
41118
|
attributes: { ...Zf.isRtl() ? { dir: "rtl" } : {} }
|
|
41119
41119
|
},
|
|
41120
|
-
behaviours: vn([$l.config({ useFixed: () => y.isDocked(
|
|
41120
|
+
behaviours: vn([$l.config({ useFixed: () => y.isDocked(Ze) })])
|
|
41121
41121
|
}, vr = {
|
|
41122
41122
|
dom: { styles: { width: document.body.clientWidth + "px" } },
|
|
41123
41123
|
events: Rr([Gt(km(), (yf) => {
|
|
@@ -41141,7 +41141,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41141
41141
|
attributes: { ...Zf.isRtl() ? { dir: "rtl" } : {} }
|
|
41142
41142
|
},
|
|
41143
41143
|
behaviours: vn([$l.config({
|
|
41144
|
-
useFixed: () => y.isDocked(
|
|
41144
|
+
useFixed: () => y.isDocked(Ze),
|
|
41145
41145
|
getBounds: () => l.getPopupSinkBounds()
|
|
41146
41146
|
})])
|
|
41147
41147
|
}, eo = lc(ws), Er = v$(eo);
|
|
@@ -41232,7 +41232,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41232
41232
|
sidebar: hc,
|
|
41233
41233
|
views: Of
|
|
41234
41234
|
};
|
|
41235
|
-
hn(eo.outerContainer), hG(n, eo.mothership, vr), y.setup(n, Ht.popup.shared,
|
|
41235
|
+
hn(eo.outerContainer), hG(n, eo.mothership, vr), y.setup(n, Ht.popup.shared, Ze), oJ(n, Ht.popup), yJ(n, Ht.popup.shared.getSink, Ht.popup), $G(n), zG(n, mn, Ht.popup.shared), QQ(n, yf, Er.sink, { backstage: Ht.popup }), ZJ(n, Er.sink);
|
|
41236
41236
|
const Ak = n.getElement(), o0 = as(eo.outerContainer), y6 = {
|
|
41237
41237
|
targetNode: Ak,
|
|
41238
41238
|
height: o0
|
|
@@ -41334,7 +41334,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41334
41334
|
]), kV = (n, l, d, g) => {
|
|
41335
41335
|
const y = Ko(), S = (Pe) => {
|
|
41336
41336
|
y.set(Pe);
|
|
41337
|
-
const Xe = n.lazySink(Pe).getOrDie(), it = g.blocker(),
|
|
41337
|
+
const Xe = n.lazySink(Pe).getOrDie(), it = g.blocker(), Ze = Xe.getSystem().build({
|
|
41338
41338
|
...it,
|
|
41339
41339
|
components: it.components.concat([ba(Pe)]),
|
|
41340
41340
|
behaviours: vn([
|
|
@@ -41344,7 +41344,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41344
41344
|
})])
|
|
41345
41345
|
])
|
|
41346
41346
|
});
|
|
41347
|
-
G0(Xe,
|
|
41347
|
+
G0(Xe, Ze), gs.focusIn(Pe);
|
|
41348
41348
|
}, k = (Pe) => {
|
|
41349
41349
|
y.clear(), $i(Pe.element).each((Xe) => {
|
|
41350
41350
|
Pe.getSystem().getByDom(Xe).each((it) => {
|
|
@@ -42648,17 +42648,17 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42648
42648
|
Xe.getSystem().isConnected() && Pe(Xe);
|
|
42649
42649
|
}, pe = {
|
|
42650
42650
|
getData: () => {
|
|
42651
|
-
const Pe = n.getRoot(), Xe = Pe.getSystem().isConnected() ? n.getFormWrapper() : Pe, it = Fn.getValue(Xe),
|
|
42651
|
+
const Pe = n.getRoot(), Xe = Pe.getSystem().isConnected() ? n.getFormWrapper() : Pe, it = Fn.getValue(Xe), Ze = Xt(d, (mt) => mt.get());
|
|
42652
42652
|
return {
|
|
42653
42653
|
...it,
|
|
42654
|
-
...
|
|
42654
|
+
...Ze
|
|
42655
42655
|
};
|
|
42656
42656
|
},
|
|
42657
42657
|
setData: (Pe) => {
|
|
42658
42658
|
g((Xe) => {
|
|
42659
|
-
const it = pe.getData(),
|
|
42659
|
+
const it = pe.getData(), Ze = Qn(it, Pe), mt = Ek(n, Ze), pt = n.getFormWrapper();
|
|
42660
42660
|
Fn.setValue(pt, mt), Ho(d, (Mt, Vt) => {
|
|
42661
|
-
Js(
|
|
42661
|
+
Js(Ze, Vt) && Mt.set(Ze[Vt]);
|
|
42662
42662
|
});
|
|
42663
42663
|
});
|
|
42664
42664
|
},
|
|
@@ -42690,11 +42690,11 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42690
42690
|
},
|
|
42691
42691
|
redial: (Pe) => {
|
|
42692
42692
|
g((Xe) => {
|
|
42693
|
-
const it = n.getId(),
|
|
42694
|
-
Xe.getSystem().broadcastOn([`${M3}-${it}`],
|
|
42695
|
-
...
|
|
42693
|
+
const it = n.getId(), Ze = l(Pe), mt = FE(Ze.internalDialog.buttons, d);
|
|
42694
|
+
Xe.getSystem().broadcastOn([`${M3}-${it}`], Ze), Xe.getSystem().broadcastOn([`${FI}-${it}`], Ze.internalDialog), Xe.getSystem().broadcastOn([`${II}-${it}`], Ze.internalDialog), Xe.getSystem().broadcastOn([`${LI}-${it}`], {
|
|
42695
|
+
...Ze.internalDialog,
|
|
42696
42696
|
buttons: mt
|
|
42697
|
-
}), pe.setData(
|
|
42697
|
+
}), pe.setData(Ze.initialData);
|
|
42698
42698
|
});
|
|
42699
42699
|
},
|
|
42700
42700
|
close: () => {
|
|
@@ -42706,7 +42706,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42706
42706
|
};
|
|
42707
42707
|
return pe;
|
|
42708
42708
|
}, kee = (n, l, d) => {
|
|
42709
|
-
const g = Xn("dialog"), y = n.internalDialog, S = tm(y.title, g, d), k = ls(y.size), D = (pt) => th(
|
|
42709
|
+
const g = Xn("dialog"), y = n.internalDialog, S = tm(y.title, g, d), k = ls(y.size), D = (pt) => th(Ze, pt), N = Tk(k.get()).toArray(), H = (pt, Mt) => (k.set(Mt.internalDialog.size), s0(Mt.internalDialog.size, pt), F.some(Mt)), U = u2({
|
|
42710
42710
|
body: y.body,
|
|
42711
42711
|
initialData: y.initialData
|
|
42712
42712
|
}, g, d, D), J = FE(y.buttons), ae = b6(J), pe = us(J.length !== 0, Pd({ buttons: J }, g, d)), Pe = Ft(() => mt, f2(() => it, d.shared.providers, l), d.shared.getSink), Xe = {
|
|
@@ -42721,7 +42721,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42721
42721
|
initialData: n
|
|
42722
42722
|
})],
|
|
42723
42723
|
extraStyles: {}
|
|
42724
|
-
}, it = p6(Xe, Pe, d),
|
|
42724
|
+
}, it = p6(Xe, Pe, d), Ze = (() => {
|
|
42725
42725
|
const pt = () => {
|
|
42726
42726
|
const Vt = Xa.getBody(it);
|
|
42727
42727
|
return Fo.getCurrent(Vt).getOr(Vt);
|
|
@@ -42736,7 +42736,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42736
42736
|
getFormWrapper: pt,
|
|
42737
42737
|
toggleFullscreen: Mt
|
|
42738
42738
|
};
|
|
42739
|
-
})(), mt = Jc(
|
|
42739
|
+
})(), mt = Jc(Ze, l.redial, ae);
|
|
42740
42740
|
return {
|
|
42741
42741
|
dialog: it,
|
|
42742
42742
|
instanceApi: mt
|
|
@@ -42748,7 +42748,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42748
42748
|
}, S, k, d.shared.providers)), Pe = er(Sk({
|
|
42749
42749
|
body: N.body,
|
|
42750
42750
|
initialData: N.initialData
|
|
42751
|
-
}, S, D, d, g, H)), Xe = FE(N.buttons), it = b6(Xe),
|
|
42751
|
+
}, S, D, d, g, H)), Xe = FE(N.buttons), it = b6(Xe), Ze = us(Xe.length !== 0, er(Kc({ buttons: Xe }, S, d))), mt = Ft(() => Ht, {
|
|
42752
42752
|
onBlock: (zn) => {
|
|
42753
42753
|
Ym.block(Vt, (Ps, Cs) => {
|
|
42754
42754
|
const So = pe.getOpt(Vt).map((Hs) => fi(Hs.element));
|
|
@@ -42811,14 +42811,14 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42811
42811
|
components: [
|
|
42812
42812
|
pe.asSpec(),
|
|
42813
42813
|
Pe.asSpec(),
|
|
42814
|
-
...
|
|
42814
|
+
...Ze.map((zn) => zn.asSpec()).toArray()
|
|
42815
42815
|
]
|
|
42816
42816
|
}), Rn = () => {
|
|
42817
42817
|
g6(Vt, U.get());
|
|
42818
42818
|
}, mn = {
|
|
42819
42819
|
getId: X(S),
|
|
42820
42820
|
getRoot: X(Vt),
|
|
42821
|
-
getFooter: () =>
|
|
42821
|
+
getFooter: () => Ze.map((zn) => zn.get(Vt)),
|
|
42822
42822
|
getBody: () => Pe.get(Vt),
|
|
42823
42823
|
getFormWrapper: () => {
|
|
42824
42824
|
const zn = Pe.get(Vt);
|
|
@@ -42890,7 +42890,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42890
42890
|
break;
|
|
42891
42891
|
}
|
|
42892
42892
|
}, ghe = (n, l, d, g) => {
|
|
42893
|
-
const y = Xn("dialog"), S = tm(n.title, y, g), k = FV(n), D = n.buttons.bind((pt) => pt.length === 0 ? F.none() : F.some(Pd({ buttons: pt }, y, g))), N = No(() => mt, f2(() =>
|
|
42893
|
+
const y = Xn("dialog"), S = tm(n.title, y, g), k = FV(n), D = n.buttons.bind((pt) => pt.length === 0 ? F.none() : F.some(Pd({ buttons: pt }, y, g))), N = No(() => mt, f2(() => Ze, g.shared.providers, l)), H = {
|
|
42894
42894
|
...n.height.fold(() => ({}), (pt) => ({
|
|
42895
42895
|
height: pt + "px",
|
|
42896
42896
|
"max-height": pt + "px"
|
|
@@ -42929,7 +42929,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42929
42929
|
}
|
|
42930
42930
|
}
|
|
42931
42931
|
})
|
|
42932
|
-
],
|
|
42932
|
+
], Ze = p6({
|
|
42933
42933
|
id: y,
|
|
42934
42934
|
header: S,
|
|
42935
42935
|
body: k,
|
|
@@ -42937,9 +42937,9 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42937
42937
|
extraClasses: U,
|
|
42938
42938
|
extraBehaviours: Xe,
|
|
42939
42939
|
extraStyles: H
|
|
42940
|
-
}, N, g), mt = dhe(
|
|
42940
|
+
}, N, g), mt = dhe(Ze);
|
|
42941
42941
|
return {
|
|
42942
|
-
dialog:
|
|
42942
|
+
dialog: Ze,
|
|
42943
42943
|
instanceApi: mt
|
|
42944
42944
|
};
|
|
42945
42945
|
}, phe = (n) => {
|
|
@@ -43047,8 +43047,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
43047
43047
|
}
|
|
43048
43048
|
return N(Pe, it);
|
|
43049
43049
|
}, k = (Pe, Xe) => D(Pe, Xe), D = (Pe, Xe) => {
|
|
43050
|
-
const it = (
|
|
43051
|
-
const mt = ghe(
|
|
43050
|
+
const it = (Ze) => {
|
|
43051
|
+
const mt = ghe(Ze, {
|
|
43052
43052
|
closeWindow: () => {
|
|
43053
43053
|
Xa.hide(mt.dialog), Xe(mt.instanceApi);
|
|
43054
43054
|
}
|
|
@@ -43057,11 +43057,11 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
43057
43057
|
};
|
|
43058
43058
|
return Gi.openUrl(it, Pe);
|
|
43059
43059
|
}, N = (Pe, Xe) => {
|
|
43060
|
-
const it = (
|
|
43060
|
+
const it = (Ze, mt, pt) => {
|
|
43061
43061
|
const Mt = mt, Rn = kee({
|
|
43062
43062
|
dataValidator: pt,
|
|
43063
43063
|
initialData: Mt,
|
|
43064
|
-
internalDialog:
|
|
43064
|
+
internalDialog: Ze
|
|
43065
43065
|
}, {
|
|
43066
43066
|
redial: Gi.redial,
|
|
43067
43067
|
closeWindow: () => {
|
|
@@ -43071,7 +43071,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
43071
43071
|
return Xa.show(Rn.dialog), Rn.instanceApi.setData(Mt), Rn.instanceApi;
|
|
43072
43072
|
};
|
|
43073
43073
|
return Gi.open(it, Pe);
|
|
43074
|
-
}, H = (Pe, Xe, it,
|
|
43074
|
+
}, H = (Pe, Xe, it, Ze) => {
|
|
43075
43075
|
const mt = (pt, Mt, Vt) => {
|
|
43076
43076
|
const Rn = Boe(Mt, Vt), mn = Ko(), Ht = n.backstages.popup.shared.header.isPositionedAtTop(), zn = {
|
|
43077
43077
|
dataValidator: Vt,
|
|
@@ -43084,13 +43084,13 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
43084
43084
|
closeWindow: () => {
|
|
43085
43085
|
mn.on(hi.hide), l.off("ResizeEditor", Ps), mn.clear(), it(Cs.instanceApi);
|
|
43086
43086
|
}
|
|
43087
|
-
}, n.backstages.popup,
|
|
43087
|
+
}, n.backstages.popup, Ze.ariaAttrs, Ps), So = lc(hi.sketch({
|
|
43088
43088
|
lazySink: n.backstages.popup.shared.getSink,
|
|
43089
43089
|
dom: {
|
|
43090
43090
|
tag: "div",
|
|
43091
43091
|
classes: []
|
|
43092
43092
|
},
|
|
43093
|
-
fireDismissalEventInstead:
|
|
43093
|
+
fireDismissalEventInstead: Ze.persistent ? { event: "doNotDismissYet" } : {},
|
|
43094
43094
|
...Ht ? {} : { fireRepositionEventInstead: {} },
|
|
43095
43095
|
inlineBehaviours: vn([
|
|
43096
43096
|
Us("window-manager-inline-events", [Gt(kg(), (Gs, as) => {
|
|
@@ -43108,7 +43108,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
43108
43108
|
return hi.showWithinBounds(So, ba(Cs.dialog), { anchor: Xe }, Hs), (!d || !Ht) && (si.refresh(So), l.on("ResizeEditor", Ps)), Cs.instanceApi.setData(Rn), gs.focusIn(Cs.dialog), Cs.instanceApi;
|
|
43109
43109
|
};
|
|
43110
43110
|
return Gi.open(mt, Pe);
|
|
43111
|
-
}, U = (Pe, Xe, it,
|
|
43111
|
+
}, U = (Pe, Xe, it, Ze) => {
|
|
43112
43112
|
const mt = (pt, Mt, Vt) => {
|
|
43113
43113
|
const Rn = Boe(Mt, Vt), mn = Ko(), Ht = n.backstages.popup.shared.header.isPositionedAtTop(), zn = {
|
|
43114
43114
|
dataValidator: Vt,
|
|
@@ -43121,13 +43121,13 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
43121
43121
|
closeWindow: () => {
|
|
43122
43122
|
mn.on(hi.hide), l.off("ResizeEditor ScrollWindow ElementScroll", Ps), mn.clear(), it(Cs.instanceApi);
|
|
43123
43123
|
}
|
|
43124
|
-
}, n.backstages.popup,
|
|
43124
|
+
}, n.backstages.popup, Ze.ariaAttrs, Ps), So = lc(hi.sketch({
|
|
43125
43125
|
lazySink: n.backstages.popup.shared.getSink,
|
|
43126
43126
|
dom: {
|
|
43127
43127
|
tag: "div",
|
|
43128
43128
|
classes: []
|
|
43129
43129
|
},
|
|
43130
|
-
fireDismissalEventInstead:
|
|
43130
|
+
fireDismissalEventInstead: Ze.persistent ? { event: "doNotDismissYet" } : {},
|
|
43131
43131
|
...Ht ? {} : { fireRepositionEventInstead: {} },
|
|
43132
43132
|
inlineBehaviours: vn([
|
|
43133
43133
|
Us("window-manager-inline-events", [Gt(kg(), (Gs, as) => {
|
|
@@ -43355,7 +43355,7 @@ function N1e() {
|
|
|
43355
43355
|
O(W, A) && _.push(W);
|
|
43356
43356
|
}
|
|
43357
43357
|
return _;
|
|
43358
|
-
},
|
|
43358
|
+
}, ze = (p, O, _) => (_e(p, (A, V) => {
|
|
43359
43359
|
_ = O(_, A, V);
|
|
43360
43360
|
}), _), Be = (p, O, _) => (Qe(p, (A, V) => {
|
|
43361
43361
|
_ = O(_, A, V);
|
|
@@ -44440,7 +44440,7 @@ function N1e() {
|
|
|
44440
44440
|
}), A;
|
|
44441
44441
|
}, Bb = (p) => p, M2 = (p, O, _) => Zp(p).map((V) => {
|
|
44442
44442
|
const W = _.join(","), re = jn(V, W, (ve) => Jt(ve, p));
|
|
44443
|
-
return
|
|
44443
|
+
return ze(re, (ve, Oe) => {
|
|
44444
44444
|
const rt = Jl(Oe);
|
|
44445
44445
|
return dr(ve, rt), rt;
|
|
44446
44446
|
}, O);
|
|
@@ -44749,7 +44749,7 @@ function N1e() {
|
|
|
44749
44749
|
return A(p, O, V, W);
|
|
44750
44750
|
}, Gt = (p, O, _) => _.length > 0 ? NA(p, O, _, Q2) : ue.none(), Q2 = (p, O, _, A) => {
|
|
44751
44751
|
const V = O(p, _);
|
|
44752
|
-
return
|
|
44752
|
+
return ze(A, (W, re) => {
|
|
44753
44753
|
const ve = O(p, re);
|
|
44754
44754
|
return BA(p, W, ve);
|
|
44755
44755
|
}, V);
|
|
@@ -45365,7 +45365,7 @@ function N1e() {
|
|
|
45365
45365
|
const re = O > 0 && O < kl(W) && A(cl(W, O - 1), cl(W, O)), ve = Ro(W, O, W.section, re, _, A, V);
|
|
45366
45366
|
return w0(W, O, ve);
|
|
45367
45367
|
}), L0 = (p, O) => ss(p, (_) => {
|
|
45368
|
-
const A = _.cells, V =
|
|
45368
|
+
const A = _.cells, V = ze(O, (W, re) => re >= 0 && re < W.length ? W.slice(0, re).concat(W.slice(re + 1)) : W, A);
|
|
45369
45369
|
return V.length > 0 ? [Ra(_.element, V, _.section, _.isNew)] : [];
|
|
45370
45370
|
}), lO = (p, O, _) => {
|
|
45371
45371
|
const { rows: A, cols: V } = uo(p);
|
|
@@ -45504,7 +45504,7 @@ Required: ` + O.join(", "));
|
|
|
45504
45504
|
}, cO = (p, O) => Ct(p.all, (_, A) => ({
|
|
45505
45505
|
element: _.element,
|
|
45506
45506
|
height: O[A]
|
|
45507
|
-
})), v_ = (p) =>
|
|
45507
|
+
})), v_ = (p) => ze(p, (O, _) => O + _, 0), uO = (p, O) => $o.hasColumns(p) ? b_(p, O) : V0(p, O), Dg = (p, O, _) => {
|
|
45508
45508
|
const A = uO(p, O);
|
|
45509
45509
|
Qe(A, (V) => {
|
|
45510
45510
|
_.setElementWidth(V.element, V.width);
|
|
@@ -45668,7 +45668,7 @@ Required: ` + O.join(", "));
|
|
|
45668
45668
|
const A = $m(p, O, _);
|
|
45669
45669
|
return mO(p, A);
|
|
45670
45670
|
}, gO = (p) => Be(p, (_, A) => $t(_, (W) => W.row === A.row) ? _ : _.concat([A]), []).sort((_, A) => _.row - A.row), hw = (p, O, _, A) => {
|
|
45671
|
-
const V = O[0].row, W = gO(O), re =
|
|
45671
|
+
const V = O[0].row, W = gO(O), re = ze(W, (ve, Oe) => ({
|
|
45672
45672
|
grid: Em(ve.grid, V, Oe.row + ve.delta, _, A.getOrInit),
|
|
45673
45673
|
delta: ve.delta + 1
|
|
45674
45674
|
}), {
|
|
@@ -45677,10 +45677,10 @@ Required: ` + O.join(", "));
|
|
|
45677
45677
|
}).grid;
|
|
45678
45678
|
return Qa(re, V, O[0].column);
|
|
45679
45679
|
}, S_ = (p, O, _, A) => {
|
|
45680
|
-
const V = gO(O), W = V[V.length - 1], re = W.row + W.rowspan, ve =
|
|
45680
|
+
const V = gO(O), W = V[V.length - 1], re = W.row + W.rowspan, ve = ze(V, (Oe, rt) => Em(Oe, re, rt.row, _, A.getOrInit), p);
|
|
45681
45681
|
return Qa(ve, re, O[0].column);
|
|
45682
45682
|
}, C_ = (p, O, _, A) => {
|
|
45683
|
-
const V = O.details, W = Pm(V), re = W[0].column, ve =
|
|
45683
|
+
const V = O.details, W = Pm(V), re = W[0].column, ve = ze(W, (Oe, rt) => ({
|
|
45684
45684
|
grid: Zc(Oe.grid, re, rt.column + Oe.delta, _, A.getOrInit),
|
|
45685
45685
|
delta: Oe.delta + 1
|
|
45686
45686
|
}), {
|
|
@@ -45689,7 +45689,7 @@ Required: ` + O.join(", "));
|
|
|
45689
45689
|
}).grid;
|
|
45690
45690
|
return Qa(ve, V[0].row, re);
|
|
45691
45691
|
}, k_ = (p, O, _, A) => {
|
|
45692
|
-
const V = O.details, W = V[V.length - 1], re = W.column + W.colspan, ve = Pm(V), Oe =
|
|
45692
|
+
const V = O.details, W = V[V.length - 1], re = W.column + W.colspan, ve = Pm(V), Oe = ze(ve, (rt, Tt) => Zc(rt, re, Tt.column, _, A.getOrInit), p);
|
|
45693
45693
|
return Qa(Oe, V[0].row, re);
|
|
45694
45694
|
}, pO = (p, O, _, A) => {
|
|
45695
45695
|
const V = Pm(O), W = Ct(V, (ve) => ve.column), re = p_(p, W, !0, _, A.replaceOrInit);
|
|
@@ -45718,7 +45718,7 @@ Required: ` + O.join(", "));
|
|
|
45718
45718
|
const W = ew(p, O.bounds, _, A.merge(V));
|
|
45719
45719
|
return mO(W, ue.from(V[0]));
|
|
45720
45720
|
}, o5 = (p, O, _, A) => {
|
|
45721
|
-
const W =
|
|
45721
|
+
const W = ze(O, (re, ve) => Bi(re, ve, _, A.unmerge(ve)), p);
|
|
45722
45722
|
return mO(W, ue.from(O[0]));
|
|
45723
45723
|
}, $_ = (p, O, _, A) => {
|
|
45724
45724
|
const W = ((Oe, rt) => {
|
|
@@ -45939,7 +45939,7 @@ Required: ` + O.join(", "));
|
|
|
45939
45939
|
}, kw = (p, O, _) => p.fold(() => O, (A) => Wu(O, _, A), (A) => Ha(O, _)), wO = (p, O, _) => {
|
|
45940
45940
|
const A = Mh.from(_), V = cs(p, (W) => W === "0px") ? cc(A, p.length) : kw(A, p, O);
|
|
45941
45941
|
return U_(V);
|
|
45942
|
-
}, _w = (p, O) => p.length === 0 ? O :
|
|
45942
|
+
}, _w = (p, O) => p.length === 0 ? O : ze(p, (_, A) => Mh.from(A).fold(ne(0), de, de) + _, 0), Z_ = (p, O) => {
|
|
45943
45943
|
const _ = Math.floor(p);
|
|
45944
45944
|
return {
|
|
45945
45945
|
value: _ + O,
|
|
@@ -45948,7 +45948,7 @@ Required: ` + O.join(", "));
|
|
|
45948
45948
|
}, SO = (p, O) => Mh.from(p).fold(ne(p), (_) => _ + O + "px", (_) => _ + O + "%"), U_ = (p) => {
|
|
45949
45949
|
if (p.length === 0)
|
|
45950
45950
|
return p;
|
|
45951
|
-
const O =
|
|
45951
|
+
const O = ze(p, (A, V) => {
|
|
45952
45952
|
const W = Mh.from(V).fold(() => ({
|
|
45953
45953
|
value: V,
|
|
45954
45954
|
remainder: 0
|
|
@@ -47655,7 +47655,7 @@ function B1e() {
|
|
|
47655
47655
|
je(Qn) || le.push(Qn);
|
|
47656
47656
|
}
|
|
47657
47657
|
return le;
|
|
47658
|
-
},
|
|
47658
|
+
}, ze = (Q, Y, le = K) => Q.exists((je) => le(je, Y)), Be = (Q, Y, le = K) => yt(Q, Y, le).getOr(Q.isNone() && Y.isNone()), yt = (Q, Y, le) => Q.isSome() && Y.isSome() ? de.some(le(Q.getOrDie(), Y.getOrDie())) : de.none(), te = 8, Dn = 11, rn = 1, ss = 3, cs = (Q, Y) => {
|
|
47659
47659
|
const je = (Y || document).createElement("div");
|
|
47660
47660
|
if (je.innerHTML = Q, !je.hasChildNodes() || je.childNodes.length > 1) {
|
|
47661
47661
|
const lt = "HTML does not have a single root node";
|
|
@@ -48523,7 +48523,7 @@ function B1e() {
|
|
|
48523
48523
|
}
|
|
48524
48524
|
}, Bc = (Q) => {
|
|
48525
48525
|
const Y = parseInt(Q.start, 10);
|
|
48526
|
-
return
|
|
48526
|
+
return ze(Q.listStyleType, "upper-alpha") ? gg(Y) : ze(Q.listStyleType, "lower-alpha") ? gg(Y).toLowerCase() : Q.start;
|
|
48527
48527
|
}, vh = (Q) => {
|
|
48528
48528
|
const Y = sa(Q);
|
|
48529
48529
|
!Di(Y) || nr(Q, Y) || Q.windowManager.open({
|
|
@@ -48825,7 +48825,7 @@ function F1e() {
|
|
|
48825
48825
|
processor: "boolean",
|
|
48826
48826
|
default: !1
|
|
48827
48827
|
}), Ve("link_attributes_postprocess", { processor: "function" });
|
|
48828
|
-
}, $t = F("link_assume_external_targets"), Zn = F("link_context_toolbar"), Ct = F("link_list"), Qe = F("link_default_target"), _e = F("link_default_protocol"), ft = F("link_target_list"), Ae = F("link_rel_list"),
|
|
48828
|
+
}, $t = F("link_assume_external_targets"), Zn = F("link_context_toolbar"), Ct = F("link_list"), Qe = F("link_default_target"), _e = F("link_default_protocol"), ft = F("link_target_list"), Ae = F("link_rel_list"), ze = F("link_class_list"), Be = F("link_title"), yt = F("allow_unsafe_link_target"), te = F("link_quicklink"), Dn = F("link_attributes_postprocess"), rn = Object.keys, ss = Object.hasOwnProperty, cs = (ge, Ve) => {
|
|
48829
48829
|
const gt = rn(ge);
|
|
48830
48830
|
for (let qt = 0, pn = gt.length; qt < pn; qt++) {
|
|
48831
48831
|
const Yt = gt[qt], ts = ge[Yt];
|
|
@@ -49077,7 +49077,7 @@ function F1e() {
|
|
|
49077
49077
|
value: ""
|
|
49078
49078
|
}].concat(gt)) : Se.none();
|
|
49079
49079
|
} }, Ge = { getClasses: (ge) => {
|
|
49080
|
-
const Ve =
|
|
49080
|
+
const Ve = ze(ge);
|
|
49081
49081
|
return Ve.length > 0 ? qe.sanitize(Ve) : Se.none();
|
|
49082
49082
|
} }, zt = (ge) => {
|
|
49083
49083
|
try {
|
|
@@ -50509,9 +50509,9 @@ function L1e() {
|
|
|
50509
50509
|
validate: !1,
|
|
50510
50510
|
allow_conditional_comments: !0,
|
|
50511
50511
|
...fe
|
|
50512
|
-
}, ce),
|
|
50513
|
-
const Me = fe.attr("style"), Le = Me ?
|
|
50514
|
-
x(ce.width) && (Le["max-width"] = Be(ce.width)), x(ce.height) && (Le["max-height"] = Be(ce.height)), fe.attr("style",
|
|
50512
|
+
}, ce), ze = dt.DOM, Be = (ce) => /^[0-9.]+$/.test(ce) ? ce + "px" : ce, yt = (ce, fe) => {
|
|
50513
|
+
const Me = fe.attr("style"), Le = Me ? ze.parseStyle(Me) : {};
|
|
50514
|
+
x(ce.width) && (Le["max-width"] = Be(ce.width)), x(ce.height) && (Le["max-height"] = Be(ce.height)), fe.attr("style", ze.serializeStyle(Le));
|
|
50515
50515
|
}, te = [
|
|
50516
50516
|
"source",
|
|
50517
50517
|
"altsource"
|
|
@@ -51227,7 +51227,7 @@ function Q1e() {
|
|
|
51227
51227
|
if (at.call(B, z))
|
|
51228
51228
|
return !1;
|
|
51229
51229
|
return !0;
|
|
51230
|
-
}, Qe = Array.prototype.indexOf, _e = Array.prototype.push, ft = (B, z) => Qe.call(B, z), Ae = (B, z) => ft(B, z) > -1,
|
|
51230
|
+
}, Qe = Array.prototype.indexOf, _e = Array.prototype.push, ft = (B, z) => Qe.call(B, z), Ae = (B, z) => ft(B, z) > -1, ze = (B, z) => {
|
|
51231
51231
|
for (let ie = 0, we = B.length; ie < we; ie++) {
|
|
51232
51232
|
const ut = B[ie];
|
|
51233
51233
|
if (z(ut, ie))
|
|
@@ -51925,7 +51925,7 @@ function Q1e() {
|
|
|
51925
51925
|
return ht(ut, B, ie);
|
|
51926
51926
|
}, bh = ph("th,td,caption"), ia = ph("th,td"), ls = (B) => $p(B.model.table.getSelectedCells()), x0 = (B, z) => {
|
|
51927
51927
|
const ie = ia(B), we = ie.bind((ut) => Et(ut)).map((ut) => jn(ut));
|
|
51928
|
-
return Ru(ie, we, (ut, Ee) => ss(Ee, (bn) =>
|
|
51928
|
+
return Ru(ie, we, (ut, Ee) => ss(Ee, (bn) => ze($p(bn.dom.cells), (ns) => Pi(ns, z) === "1" || Qs(ns, ut)))).getOr([]);
|
|
51929
51929
|
}, gu = [
|
|
51930
51930
|
{
|
|
51931
51931
|
text: "None",
|
|
@@ -51993,7 +51993,7 @@ function Q1e() {
|
|
|
51993
51993
|
}, pg = () => Qr((B) => B.unbind()), po = (B, z, ie) => (we) => {
|
|
51994
51994
|
const ut = pg(), Ee = au(ie), bn = () => {
|
|
51995
51995
|
const ns = ls(B), rs = (qs) => B.formatter.match(z, { value: ie }, qs.dom, Ee);
|
|
51996
|
-
Ee ? (we.setActive(!
|
|
51996
|
+
Ee ? (we.setActive(!ze(ns, rs)), ut.set(B.formatter.formatChanged(z, (qs) => we.setActive(!qs), !0))) : (we.setActive(Un(ns, rs)), ut.set(B.formatter.formatChanged(z, we.setActive, !1, { value: ie })));
|
|
51997
51997
|
};
|
|
51998
51998
|
return B.initialized ? bn() : B.on("init", bn), ut.clear;
|
|
51999
51999
|
}, ga = (B) => Zn(B, "menu"), Fc = (B) => yt(B, (z) => {
|
|
@@ -52376,7 +52376,7 @@ Required: ` + z.join(", "));
|
|
|
52376
52376
|
...ie ? vg(z) : {}
|
|
52377
52377
|
};
|
|
52378
52378
|
}, ds = (B, z) => {
|
|
52379
|
-
const ie = fu.fromTable(B), we = fu.justCells(ie), ut = ss(we, (Ee) =>
|
|
52379
|
+
const ie = fu.fromTable(B), we = fu.justCells(ie), ut = ss(we, (Ee) => ze(z, (bn) => Qs(Ee.element, bn)));
|
|
52380
52380
|
return yt(ut, (Ee) => ({
|
|
52381
52381
|
element: Ee.element.dom,
|
|
52382
52382
|
column: fu.getColumnAt(ie, Ee.column).map((bn) => bn.element.dom)
|
|
@@ -53494,7 +53494,7 @@ function H1e() {
|
|
|
53494
53494
|
getCharacterCountWithoutSpaces: _e(Ue, Ct)
|
|
53495
53495
|
},
|
|
53496
53496
|
getCount: ft(Ue)
|
|
53497
|
-
}),
|
|
53497
|
+
}), ze = (Ue, ct) => {
|
|
53498
53498
|
Ue.windowManager.open({
|
|
53499
53499
|
title: "Word Count",
|
|
53500
53500
|
body: {
|
|
@@ -53533,7 +53533,7 @@ function H1e() {
|
|
|
53533
53533
|
}]
|
|
53534
53534
|
});
|
|
53535
53535
|
}, Be = (Ue, ct) => {
|
|
53536
|
-
Ue.addCommand("mceWordCount", () =>
|
|
53536
|
+
Ue.addCommand("mceWordCount", () => ze(Ue, ct));
|
|
53537
53537
|
}, yt = (Ue, ct) => {
|
|
53538
53538
|
let bt = null;
|
|
53539
53539
|
return {
|
|
@@ -53749,7 +53749,7 @@ function z1e() {
|
|
|
53749
53749
|
...ke,
|
|
53750
53750
|
on: (_t) => ke.get().each(_t)
|
|
53751
53751
|
};
|
|
53752
|
-
},
|
|
53752
|
+
}, ze = (ke, De) => {
|
|
53753
53753
|
let _t = null;
|
|
53754
53754
|
return {
|
|
53755
53755
|
cancel: () => {
|
|
@@ -54190,7 +54190,7 @@ function z1e() {
|
|
|
54190
54190
|
width: ke.width + "px"
|
|
54191
54191
|
}));
|
|
54192
54192
|
});
|
|
54193
|
-
}, io =
|
|
54193
|
+
}, io = ze(() => {
|
|
54194
54194
|
hs(), xo();
|
|
54195
54195
|
}, 50);
|
|
54196
54196
|
return {
|
|
@@ -54549,7 +54549,7 @@ function Z1e() {
|
|
|
54549
54549
|
}, Qe = {
|
|
54550
54550
|
unknown: Zn,
|
|
54551
54551
|
nu: Ct
|
|
54552
|
-
}, _e = "Windows", ft = "iOS", Ae = "Android",
|
|
54552
|
+
}, _e = "Windows", ft = "iOS", Ae = "Android", ze = "Linux", Be = "macOS", yt = "Solaris", te = "FreeBSD", Dn = "ChromeOS", rn = () => ss({
|
|
54553
54553
|
current: void 0,
|
|
54554
54554
|
version: Se.unknown()
|
|
54555
54555
|
}), ss = (Xt) => {
|
|
@@ -54561,7 +54561,7 @@ function Z1e() {
|
|
|
54561
54561
|
isiOS: In(ft),
|
|
54562
54562
|
isAndroid: In(Ae),
|
|
54563
54563
|
isMacOS: In(Be),
|
|
54564
|
-
isLinux: In(
|
|
54564
|
+
isLinux: In(ze),
|
|
54565
54565
|
isSolaris: In(yt),
|
|
54566
54566
|
isFreeBSD: In(te),
|
|
54567
54567
|
isChromeOS: In(Dn)
|
|
@@ -54752,7 +54752,7 @@ function U1e() {
|
|
|
54752
54752
|
}
|
|
54753
54753
|
C.singletonNone = new C(!1);
|
|
54754
54754
|
const T = Array.prototype.indexOf, R = (Qe, _e) => T.call(Qe, _e), M = (Qe, _e) => R(Qe, _e) > -1, L = (Qe, _e, ft) => {
|
|
54755
|
-
for (let Ae = 0,
|
|
54755
|
+
for (let Ae = 0, ze = Qe.length; Ae < ze; Ae++) {
|
|
54756
54756
|
const Be = Qe[Ae];
|
|
54757
54757
|
if (_e(Be, Ae))
|
|
54758
54758
|
return C.some(Be);
|
|
@@ -54762,7 +54762,7 @@ function U1e() {
|
|
|
54762
54762
|
return C.none();
|
|
54763
54763
|
}, j = Object.keys, G = (Qe, _e) => {
|
|
54764
54764
|
const ft = j(Qe);
|
|
54765
|
-
for (let Ae = 0,
|
|
54765
|
+
for (let Ae = 0, ze = ft.length; Ae < ze; Ae++) {
|
|
54766
54766
|
const Be = ft[Ae], yt = Qe[Be];
|
|
54767
54767
|
_e(yt, Be);
|
|
54768
54768
|
}
|
|
@@ -54771,8 +54771,8 @@ function U1e() {
|
|
|
54771
54771
|
v: _e(ft, Ae)
|
|
54772
54772
|
})), be = (Qe, _e) => {
|
|
54773
54773
|
const ft = {};
|
|
54774
|
-
return G(Qe, (Ae,
|
|
54775
|
-
const Be = _e(Ae,
|
|
54774
|
+
return G(Qe, (Ae, ze) => {
|
|
54775
|
+
const Be = _e(Ae, ze);
|
|
54776
54776
|
ft[Be.k] = Be.v;
|
|
54777
54777
|
}), ft;
|
|
54778
54778
|
};
|
|
@@ -54795,7 +54795,7 @@ function U1e() {
|
|
|
54795
54795
|
ft.setActive(st(Be, yt, _e)), ft.setEnabled(!Re(Be, te));
|
|
54796
54796
|
};
|
|
54797
54797
|
return ue(Qe, (Be) => Ae(Qe, Be.parents));
|
|
54798
|
-
}, F = (Qe, _e, ft, Ae,
|
|
54798
|
+
}, F = (Qe, _e, ft, Ae, ze, Be) => {
|
|
54799
54799
|
const yt = {
|
|
54800
54800
|
"lower-latin": "lower-alpha",
|
|
54801
54801
|
"upper-latin": "upper-alpha",
|
|
@@ -54804,12 +54804,12 @@ function U1e() {
|
|
|
54804
54804
|
}, te = K(yt, (Dn) => M(Be, Dn));
|
|
54805
54805
|
Qe.ui.registry.addSplitButton(_e, {
|
|
54806
54806
|
tooltip: ft,
|
|
54807
|
-
icon:
|
|
54807
|
+
icon: ze === "OL" ? "ordered-list" : "unordered-list",
|
|
54808
54808
|
presets: "listpreview",
|
|
54809
54809
|
columns: 3,
|
|
54810
54810
|
fetch: (Dn) => {
|
|
54811
54811
|
const rn = Se.map(Be, (ss) => {
|
|
54812
|
-
const cs =
|
|
54812
|
+
const cs = ze === "OL" ? "num" : "bull", rr = ss === "disc" || ss === "decimal" ? "default" : ss, Ue = ot(ss), ct = At(ss);
|
|
54813
54813
|
return {
|
|
54814
54814
|
type: "choiceitem",
|
|
54815
54815
|
value: Ue,
|
|
@@ -54821,21 +54821,21 @@ function U1e() {
|
|
|
54821
54821
|
},
|
|
54822
54822
|
onAction: () => Qe.execCommand(Ae),
|
|
54823
54823
|
onItemAction: (Dn, rn) => {
|
|
54824
|
-
t(Qe,
|
|
54824
|
+
t(Qe, ze, rn);
|
|
54825
54825
|
},
|
|
54826
54826
|
select: (Dn) => at(Qe).exists((ss) => Dn === ss || yt[ss] === Dn && !te[Dn]),
|
|
54827
|
-
onSetup: dt(Qe,
|
|
54827
|
+
onSetup: dt(Qe, ze)
|
|
54828
54828
|
});
|
|
54829
|
-
}, Lt = (Qe, _e, ft, Ae,
|
|
54829
|
+
}, Lt = (Qe, _e, ft, Ae, ze, Be) => {
|
|
54830
54830
|
Qe.ui.registry.addToggleButton(_e, {
|
|
54831
54831
|
active: !1,
|
|
54832
54832
|
tooltip: ft,
|
|
54833
|
-
icon:
|
|
54834
|
-
onSetup: dt(Qe,
|
|
54835
|
-
onAction: () => Qe.queryCommandState(Ae) || Be === "" ? Qe.execCommand(Ae) : t(Qe,
|
|
54833
|
+
icon: ze === "OL" ? "ordered-list" : "unordered-list",
|
|
54834
|
+
onSetup: dt(Qe, ze),
|
|
54835
|
+
onAction: () => Qe.queryCommandState(Ae) || Be === "" ? Qe.execCommand(Ae) : t(Qe, ze, Be)
|
|
54836
54836
|
});
|
|
54837
|
-
}, $t = (Qe, _e, ft, Ae,
|
|
54838
|
-
Be.length > 1 ? F(Qe, _e, ft, Ae,
|
|
54837
|
+
}, $t = (Qe, _e, ft, Ae, ze, Be) => {
|
|
54838
|
+
Be.length > 1 ? F(Qe, _e, ft, Ae, ze, Be) : Lt(Qe, _e, ft, Ae, ze, ot(Be[0]));
|
|
54839
54839
|
}, Zn = (Qe) => {
|
|
54840
54840
|
$t(Qe, "numlist", "Numbered list", "InsertOrderedList", "OL", f(Qe)), $t(Qe, "bullist", "Bullet list", "InsertUnorderedList", "UL", h(Qe));
|
|
54841
54841
|
};
|
|
@@ -54992,7 +54992,7 @@ function W1e() {
|
|
|
54992
54992
|
Ie.setAttribute(Ge, zt + "");
|
|
54993
54993
|
else
|
|
54994
54994
|
throw console.error("Invalid call to Attribute.set. Key ", Ge, ":: Value ", zt, ":: Element ", Ie), new Error("Attribute value was not simple");
|
|
54995
|
-
},
|
|
54995
|
+
}, ze = (Ie, Ge, zt) => {
|
|
54996
54996
|
Ae(Ie.dom, Ge, zt);
|
|
54997
54997
|
}, Be = (Ie, Ge) => {
|
|
54998
54998
|
const Jt = (Ge || document).createElement("div");
|
|
@@ -55152,7 +55152,7 @@ function W1e() {
|
|
|
55152
55152
|
at(Ie, (zt, Jt) => {
|
|
55153
55153
|
at(zt, (_n) => {
|
|
55154
55154
|
const es = ss.fromDom(Ge.cloneNode(!1));
|
|
55155
|
-
|
|
55155
|
+
ze(es, "data-mce-index", Jt);
|
|
55156
55156
|
const os = _n.element.dom;
|
|
55157
55157
|
if (os.length === _n.finish && _n.start === 0)
|
|
55158
55158
|
Cn(_n.element, es);
|
|
@@ -55638,42 +55638,42 @@ var $re = {}, Rre;
|
|
|
55638
55638
|
function q1e() {
|
|
55639
55639
|
return Rre || (Rre = 1, function() {
|
|
55640
55640
|
var r = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
55641
|
-
const t = () => /(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g, s = (Ae) => (
|
|
55642
|
-
const
|
|
55643
|
-
|
|
55641
|
+
const t = () => /(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g, s = (Ae) => (ze) => ze.options.get(Ae), a = (Ae) => {
|
|
55642
|
+
const ze = Ae.options.register;
|
|
55643
|
+
ze("autolink_pattern", {
|
|
55644
55644
|
processor: "regexp",
|
|
55645
55645
|
default: new RegExp("^" + t().source + "$", "i")
|
|
55646
|
-
}),
|
|
55646
|
+
}), ze("link_default_target", { processor: "string" }), ze("link_default_protocol", {
|
|
55647
55647
|
processor: "string",
|
|
55648
55648
|
default: "https"
|
|
55649
55649
|
});
|
|
55650
|
-
}, c = s("autolink_pattern"), f = s("link_default_target"), h = s("link_default_protocol"), b = s("allow_unsafe_link_target"), x = (Ae,
|
|
55650
|
+
}, c = s("autolink_pattern"), f = s("link_default_target"), h = s("link_default_protocol"), b = s("allow_unsafe_link_target"), x = (Ae, ze, Be) => {
|
|
55651
55651
|
var yt;
|
|
55652
|
-
return Be(Ae,
|
|
55652
|
+
return Be(Ae, ze.prototype) ? !0 : ((yt = Ae.constructor) === null || yt === void 0 ? void 0 : yt.name) === ze.name;
|
|
55653
55653
|
}, C = (Ae) => {
|
|
55654
|
-
const
|
|
55655
|
-
return Ae === null ? "null" :
|
|
55656
|
-
}, T = (Ae) => (
|
|
55657
|
-
const te = Ae.indexOf(
|
|
55658
|
-
return te !== -1 ? L(yt) ? !0 : te +
|
|
55659
|
-
}, wt = (Ae,
|
|
55654
|
+
const ze = typeof Ae;
|
|
55655
|
+
return Ae === null ? "null" : ze === "object" && Array.isArray(Ae) ? "array" : ze === "object" && x(Ae, String, (Be, yt) => yt.isPrototypeOf(Be)) ? "string" : ze;
|
|
55656
|
+
}, T = (Ae) => (ze) => C(ze) === Ae, R = (Ae) => (ze) => Ae === ze, M = T("string"), L = R(void 0), j = (Ae) => Ae == null, G = (Ae) => !j(Ae), K = (Ae) => (ze) => !Ae(ze), be = Object.hasOwnProperty, Se = (Ae, ze) => be.call(Ae, ze), ne = (Ae, ze, Be) => Ae.length >= ze.length && Ae.substr(Be, Be + ze.length) === ze, de = (Ae, ze, Be = 0, yt) => {
|
|
55657
|
+
const te = Ae.indexOf(ze, Be);
|
|
55658
|
+
return te !== -1 ? L(yt) ? !0 : te + ze.length <= yt : !1;
|
|
55659
|
+
}, wt = (Ae, ze) => ne(Ae, ze, 0), Ye = "\uFEFF", X = (Ae) => Ae === Ye, st = (Ae) => Ae.replace(/\uFEFF/g, "");
|
|
55660
55660
|
var at = tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");
|
|
55661
|
-
const St = (Ae) => Ae.nodeType === 3, Re = (Ae) => Ae.nodeType === 1, ue = (Ae) => /^[(\[{ \u00a0]$/.test(Ae), At = (Ae) => /^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(Ae), ot = (Ae) => /[?!,.;:]/.test(Ae), dt = (Ae,
|
|
55662
|
-
for (let yt =
|
|
55661
|
+
const St = (Ae) => Ae.nodeType === 3, Re = (Ae) => Ae.nodeType === 1, ue = (Ae) => /^[(\[{ \u00a0]$/.test(Ae), At = (Ae) => /^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(Ae), ot = (Ae) => /[?!,.;:]/.test(Ae), dt = (Ae, ze, Be) => {
|
|
55662
|
+
for (let yt = ze - 1; yt >= 0; yt--) {
|
|
55663
55663
|
const te = Ae.charAt(yt);
|
|
55664
55664
|
if (!X(te) && Be(te))
|
|
55665
55665
|
return yt;
|
|
55666
55666
|
}
|
|
55667
55667
|
return -1;
|
|
55668
|
-
}, F = (Ae,
|
|
55669
|
-
let Be = Ae, yt =
|
|
55668
|
+
}, F = (Ae, ze) => {
|
|
55669
|
+
let Be = Ae, yt = ze;
|
|
55670
55670
|
for (; Re(Be) && Be.childNodes[yt]; )
|
|
55671
55671
|
Be = Be.childNodes[yt], yt = St(Be) ? Be.data.length : Be.childNodes.length;
|
|
55672
55672
|
return {
|
|
55673
55673
|
container: Be,
|
|
55674
55674
|
offset: yt
|
|
55675
55675
|
};
|
|
55676
|
-
}, Lt = (Ae,
|
|
55676
|
+
}, Lt = (Ae, ze) => {
|
|
55677
55677
|
var Be;
|
|
55678
55678
|
const yt = Ae.schema.getVoidElements(), te = c(Ae), { dom: Dn, selection: rn } = Ae;
|
|
55679
55679
|
if (Dn.getParent(rn.getNode(), "a[href]") !== null || Ae.mode.isReadOnly())
|
|
@@ -55681,7 +55681,7 @@ function q1e() {
|
|
|
55681
55681
|
const ss = rn.getRng(), cs = at(Dn, (Bs) => Dn.isBlock(Bs) || Se(yt, Bs.nodeName.toLowerCase()) || Dn.getContentEditable(Bs) === "false"), {
|
|
55682
55682
|
container: rr,
|
|
55683
55683
|
offset: Ue
|
|
55684
|
-
} = F(ss.endContainer, ss.endOffset), ct = (Be = Dn.getParent(rr, Dn.isBlock)) !== null && Be !== void 0 ? Be : Dn.getRoot(), bt = cs.backwards(rr, Ue +
|
|
55684
|
+
} = F(ss.endContainer, ss.endOffset), ct = (Be = Dn.getParent(rr, Dn.isBlock)) !== null && Be !== void 0 ? Be : Dn.getRoot(), bt = cs.backwards(rr, Ue + ze, (Bs, ir) => {
|
|
55685
55685
|
const js = Bs.data, Lo = dt(js, ir, K(ue));
|
|
55686
55686
|
return Lo === -1 || ot(js[Lo]) ? Lo : Lo + 1;
|
|
55687
55687
|
}, ct);
|
|
@@ -55703,8 +55703,8 @@ function q1e() {
|
|
|
55703
55703
|
};
|
|
55704
55704
|
} else
|
|
55705
55705
|
return null;
|
|
55706
|
-
}, $t = (Ae,
|
|
55707
|
-
const { dom: Be, selection: yt } = Ae, { rng: te, url: Dn } =
|
|
55706
|
+
}, $t = (Ae, ze) => {
|
|
55707
|
+
const { dom: Be, selection: yt } = Ae, { rng: te, url: Dn } = ze, rn = yt.getBookmark();
|
|
55708
55708
|
yt.setRng(te);
|
|
55709
55709
|
const ss = "createlink", cs = {
|
|
55710
55710
|
command: ss,
|
|
@@ -55721,16 +55721,16 @@ function q1e() {
|
|
|
55721
55721
|
}
|
|
55722
55722
|
yt.moveToBookmark(rn), Ae.nodeChanged();
|
|
55723
55723
|
}, Zn = (Ae) => {
|
|
55724
|
-
const
|
|
55725
|
-
G(
|
|
55724
|
+
const ze = Lt(Ae, -1);
|
|
55725
|
+
G(ze) && $t(Ae, ze);
|
|
55726
55726
|
}, Ct = Zn, Qe = (Ae) => {
|
|
55727
|
-
const
|
|
55728
|
-
G(
|
|
55727
|
+
const ze = Lt(Ae, 0);
|
|
55728
|
+
G(ze) && $t(Ae, ze);
|
|
55729
55729
|
}, _e = (Ae) => {
|
|
55730
|
-
Ae.on("keydown", (
|
|
55731
|
-
|
|
55732
|
-
}), Ae.on("keyup", (
|
|
55733
|
-
|
|
55730
|
+
Ae.on("keydown", (ze) => {
|
|
55731
|
+
ze.keyCode === 13 && !ze.isDefaultPrevented() && Qe(Ae);
|
|
55732
|
+
}), Ae.on("keyup", (ze) => {
|
|
55733
|
+
ze.keyCode === 32 ? Zn(Ae) : (ze.keyCode === 48 && ze.shiftKey || ze.keyCode === 221) && Ct(Ae);
|
|
55734
55734
|
});
|
|
55735
55735
|
};
|
|
55736
55736
|
var ft = () => {
|
|
@@ -57102,10 +57102,10 @@ function j1e() {
|
|
|
57102
57102
|
}, ft = (Ue, ct, bt = 0, Ce) => {
|
|
57103
57103
|
const Un = Ue.indexOf(ct, bt);
|
|
57104
57104
|
return Un !== -1 ? T(Ce) ? !0 : Un + ct.length <= Ce : !1;
|
|
57105
|
-
}, Ae = String.fromCodePoint,
|
|
57105
|
+
}, Ae = String.fromCodePoint, ze = (Ue, ct, bt) => ft(Ae(Ue).toLowerCase(), bt) ? !0 : ft(ct.toLowerCase(), bt) || ft(ct.toLowerCase().replace(/\s+/g, ""), bt), Be = (Ue, ct) => {
|
|
57106
57106
|
const bt = [], Ce = ct.toLowerCase();
|
|
57107
57107
|
return ne(Ue.characters, (Un) => {
|
|
57108
|
-
|
|
57108
|
+
ze(Un[0], Un[1], Ce) && bt.push(Un);
|
|
57109
57109
|
}), Se(bt, (Un) => ({
|
|
57110
57110
|
text: Un[1],
|
|
57111
57111
|
value: Ae(Un[0]),
|
|
@@ -67599,10 +67599,10 @@ function Aye(r) {
|
|
|
67599
67599
|
} else {
|
|
67600
67600
|
let Qe = b.pos - ot;
|
|
67601
67601
|
b.next();
|
|
67602
|
-
let _e = [], ft = [], Ae = Re >= h ? Re : -1,
|
|
67602
|
+
let _e = [], ft = [], Ae = Re >= h ? Re : -1, ze = 0, Be = At;
|
|
67603
67603
|
for (; b.pos > Qe; )
|
|
67604
|
-
Ae >= 0 && b.id == Ae && b.size >= 0 ? (b.end <= Be - c && (j(_e, ft, ue,
|
|
67605
|
-
if (Ae >= 0 &&
|
|
67604
|
+
Ae >= 0 && b.id == Ae && b.size >= 0 ? (b.end <= Be - c && (j(_e, ft, ue, ze, b.end, Be, Ae, dt, F), ze = _e.length, Be = b.end), b.next()) : St > 2500 ? M(ue, Qe, _e, ft) : R(ue, Qe, _e, ft, Ae, St + 1);
|
|
67605
|
+
if (Ae >= 0 && ze > 0 && ze < _e.length && j(_e, ft, ue, ze, ue, Be, Ae, dt, F), _e.reverse(), ft.reverse(), Ae > -1 && ze > 0) {
|
|
67606
67606
|
let yt = L(Lt, F);
|
|
67607
67607
|
$t = Rne(Lt, _e, ft, 0, _e.length, 0, At - ue, yt, yt);
|
|
67608
67608
|
} else
|
|
@@ -77545,7 +77545,7 @@ var QCe = /* @__PURE__ */ function() {
|
|
|
77545
77545
|
function Ae(xe) {
|
|
77546
77546
|
return Qe ? Qe.deflateRawSync(xe) : kr(xe);
|
|
77547
77547
|
}
|
|
77548
|
-
var
|
|
77548
|
+
var ze = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Be = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258], yt = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577];
|
|
77549
77549
|
function te(xe) {
|
|
77550
77550
|
var qe = (xe << 1 | xe << 11) & 139536 | (xe << 5 | xe << 15) & 558144;
|
|
77551
77551
|
return (qe >> 16 | qe >> 8 | qe) & 255;
|
|
@@ -77713,7 +77713,7 @@ var QCe = /* @__PURE__ */ function() {
|
|
|
77713
77713
|
var tt = ct(xe, qe) + 4;
|
|
77714
77714
|
qe += 4;
|
|
77715
77715
|
for (var et = 0, ce = Dn ? new Uint8Array(19) : js(19), fe = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Me = 1, Le = Dn ? new Uint8Array(8) : js(8), xt = Dn ? new Uint8Array(8) : js(8), Ut = ce.length, cn = 0; cn < tt; ++cn)
|
|
77716
|
-
ce[
|
|
77716
|
+
ce[ze[cn]] = et = Ue(xe, qe), Me < et && (Me = et), Le[et]++, qe += 3;
|
|
77717
77717
|
var Bn = 0;
|
|
77718
77718
|
for (Le[0] = 0, cn = 1; cn <= Me; ++cn) xt[cn] = Bn = Bn + Le[cn - 1] << 1;
|
|
77719
77719
|
for (cn = 0; cn < Ut; ++cn) (Bn = ce[cn]) != 0 && (fe[cn] = xt[Bn]++);
|
|
@@ -80680,8 +80680,8 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
80680
80680
|
var j = M.split(/[\n\r]+/), G = -1, K = -1, be = 0, Se = 0, ne = [], de = [], wt = null, Ye = {}, X = [], st = [], at = [], St = 0, Re;
|
|
80681
80681
|
for (+L.codepage >= 0 && cM(+L.codepage); be !== j.length; ++be) {
|
|
80682
80682
|
St = 0;
|
|
80683
|
-
var ue = j[be].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g, a).replace(t, s), At = ue.replace(/;;/g, "\0").split(";").map(function(
|
|
80684
|
-
return
|
|
80683
|
+
var ue = j[be].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g, a).replace(t, s), At = ue.replace(/;;/g, "\0").split(";").map(function(ze) {
|
|
80684
|
+
return ze.replace(/\u0000/g, ";");
|
|
80685
80685
|
}), ot = At[0], dt;
|
|
80686
80686
|
if (ue.length > 0) switch (ot) {
|
|
80687
80687
|
case "ID":
|
|
@@ -81196,8 +81196,8 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81196
81196
|
function r(_e, ft, Ae) {
|
|
81197
81197
|
if (_e) {
|
|
81198
81198
|
sg(_e, _e.l || 0);
|
|
81199
|
-
for (var
|
|
81200
|
-
var Be = _e.read_shift(2), yt =
|
|
81199
|
+
for (var ze = Ae.Enum || Ct; _e.l < _e.length; ) {
|
|
81200
|
+
var Be = _e.read_shift(2), yt = ze[Be] || ze[65535], te = _e.read_shift(2), Dn = _e.l + te, rn = yt.f && yt.f(_e, te, Ae);
|
|
81201
81201
|
if (_e.l = Dn, ft(rn, yt, Be)) return;
|
|
81202
81202
|
}
|
|
81203
81203
|
}
|
|
@@ -81216,7 +81216,7 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81216
81216
|
}
|
|
81217
81217
|
function s(_e, ft) {
|
|
81218
81218
|
if (!_e) return _e;
|
|
81219
|
-
var Ae = ft || {},
|
|
81219
|
+
var Ae = ft || {}, ze = Ae.dense ? [] : {}, Be = "Sheet1", yt = "", te = 0, Dn = {}, rn = [], ss = [], cs = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, rr = Ae.sheetRows || 0;
|
|
81220
81220
|
if (_e[2] == 0 && (_e[3] == 8 || _e[3] == 9) && _e.length >= 16 && _e[14] == 5 && _e[15] === 108)
|
|
81221
81221
|
throw new Error("Unsupported Works 3 for Mac file");
|
|
81222
81222
|
if (_e[2] == 2)
|
|
@@ -81247,13 +81247,13 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81247
81247
|
case 14:
|
|
81248
81248
|
/* NUMBER */
|
|
81249
81249
|
case 16:
|
|
81250
|
-
Ds == 14 && (Ce[2] & 112) == 112 && (Ce[2] & 15) > 1 && (Ce[2] & 15) < 15 && (Ce[1].z = Ae.dateNF || pc[14], Ae.cellDates && (Ce[1].t = "d", Ce[1].v = Wde(Ce[1].v))), Ae.qpro && Ce[3] > te && (
|
|
81251
|
-
var Cn = Ae.dense ? (
|
|
81250
|
+
Ds == 14 && (Ce[2] & 112) == 112 && (Ce[2] & 15) > 1 && (Ce[2] & 15) < 15 && (Ce[1].z = Ae.dateNF || pc[14], Ae.cellDates && (Ce[1].t = "d", Ce[1].v = Wde(Ce[1].v))), Ae.qpro && Ce[3] > te && (ze["!ref"] = ou(cs), Dn[Be] = ze, rn.push(Be), ze = Ae.dense ? [] : {}, cs = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, te = Ce[3], Be = yt || "Sheet" + (te + 1), yt = "");
|
|
81251
|
+
var Cn = Ae.dense ? (ze[Ce[0].r] || [])[Ce[0].c] : ze[wa(Ce[0])];
|
|
81252
81252
|
if (Cn) {
|
|
81253
81253
|
Cn.t = Ce[1].t, Cn.v = Ce[1].v, Ce[1].z != null && (Cn.z = Ce[1].z), Ce[1].f != null && (Cn.f = Ce[1].f);
|
|
81254
81254
|
break;
|
|
81255
81255
|
}
|
|
81256
|
-
Ae.dense ? (
|
|
81256
|
+
Ae.dense ? (ze[Ce[0].r] || (ze[Ce[0].r] = []), ze[Ce[0].r][Ce[0].c] = Ce[1]) : ze[wa(Ce[0])] = Ce[1];
|
|
81257
81257
|
break;
|
|
81258
81258
|
}
|
|
81259
81259
|
}, Ae);
|
|
@@ -81278,8 +81278,8 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81278
81278
|
case 39:
|
|
81279
81279
|
/* NUMBER27 */
|
|
81280
81280
|
case 40:
|
|
81281
|
-
if (Ce[3] > te && (
|
|
81282
|
-
Ae.dense ? (
|
|
81281
|
+
if (Ce[3] > te && (ze["!ref"] = ou(cs), Dn[Be] = ze, rn.push(Be), ze = Ae.dense ? [] : {}, cs = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, te = Ce[3], Be = "Sheet" + (te + 1)), rr > 0 && Ce[0].r >= rr) break;
|
|
81282
|
+
Ae.dense ? (ze[Ce[0].r] || (ze[Ce[0].r] = []), ze[Ce[0].r][Ce[0].c] = Ce[1]) : ze[wa(Ce[0])] = Ce[1], cs.e.c < Ce[0].c && (cs.e.c = Ce[0].c), cs.e.r < Ce[0].r && (cs.e.r = Ce[0].r);
|
|
81283
81283
|
break;
|
|
81284
81284
|
case 27:
|
|
81285
81285
|
Ce[14e3] && (ss[Ce[14e3][0]] = Ce[14e3][1]);
|
|
@@ -81290,35 +81290,35 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81290
81290
|
}
|
|
81291
81291
|
}, Ae);
|
|
81292
81292
|
else throw new Error("Unrecognized LOTUS BOF " + _e[2]);
|
|
81293
|
-
if (
|
|
81293
|
+
if (ze["!ref"] = ou(cs), Dn[yt || Be] = ze, rn.push(yt || Be), !ss.length) return { SheetNames: rn, Sheets: Dn };
|
|
81294
81294
|
for (var Ue = {}, ct = [], bt = 0; bt < ss.length; ++bt) Dn[rn[bt]] ? (ct.push(ss[bt] || rn[bt]), Ue[ss[bt]] = Dn[ss[bt]] || Dn[rn[bt]]) : (ct.push(ss[bt]), Ue[ss[bt]] = { "!ref": "A1" });
|
|
81295
81295
|
return { SheetNames: ct, Sheets: Ue };
|
|
81296
81296
|
}
|
|
81297
81297
|
function a(_e, ft) {
|
|
81298
81298
|
var Ae = ft || {};
|
|
81299
81299
|
if (+Ae.codepage >= 0 && cM(+Ae.codepage), Ae.type == "string") throw new Error("Cannot write WK1 to JS string");
|
|
81300
|
-
var
|
|
81301
|
-
Rs(
|
|
81300
|
+
var ze = am(), Be = bl(_e["!ref"]), yt = Array.isArray(_e), te = [];
|
|
81301
|
+
Rs(ze, 0, f(1030)), Rs(ze, 6, x(Be));
|
|
81302
81302
|
for (var Dn = Math.min(Be.e.r, 8191), rn = Be.s.r; rn <= Dn; ++rn)
|
|
81303
81303
|
for (var ss = Qd(rn), cs = Be.s.c; cs <= Be.e.c; ++cs) {
|
|
81304
81304
|
rn === Be.s.r && (te[cs] = _f(cs));
|
|
81305
81305
|
var rr = te[cs] + ss, Ue = yt ? (_e[rn] || [])[cs] : _e[rr];
|
|
81306
81306
|
if (!(!Ue || Ue.t == "z"))
|
|
81307
81307
|
if (Ue.t == "n")
|
|
81308
|
-
(Ue.v | 0) == Ue.v && Ue.v >= -32768 && Ue.v <= 32767 ? Rs(
|
|
81308
|
+
(Ue.v | 0) == Ue.v && Ue.v >= -32768 && Ue.v <= 32767 ? Rs(ze, 13, L(rn, cs, Ue.v)) : Rs(ze, 14, G(rn, cs, Ue.v));
|
|
81309
81309
|
else {
|
|
81310
81310
|
var ct = By(Ue);
|
|
81311
|
-
Rs(
|
|
81311
|
+
Rs(ze, 15, R(rn, cs, ct.slice(0, 239)));
|
|
81312
81312
|
}
|
|
81313
81313
|
}
|
|
81314
|
-
return Rs(
|
|
81314
|
+
return Rs(ze, 1), ze.end();
|
|
81315
81315
|
}
|
|
81316
81316
|
function c(_e, ft) {
|
|
81317
81317
|
var Ae = ft || {};
|
|
81318
81318
|
if (+Ae.codepage >= 0 && cM(+Ae.codepage), Ae.type == "string") throw new Error("Cannot write WK3 to JS string");
|
|
81319
|
-
var
|
|
81320
|
-
Rs(
|
|
81321
|
-
for (var Be = 0, yt = 0; Be < _e.SheetNames.length; ++Be) (_e.Sheets[_e.SheetNames[Be]] || {})["!ref"] && Rs(
|
|
81319
|
+
var ze = am();
|
|
81320
|
+
Rs(ze, 0, h(_e));
|
|
81321
|
+
for (var Be = 0, yt = 0; Be < _e.SheetNames.length; ++Be) (_e.Sheets[_e.SheetNames[Be]] || {})["!ref"] && Rs(ze, 27, Zn(_e.SheetNames[Be], yt++));
|
|
81322
81322
|
var te = 0;
|
|
81323
81323
|
for (Be = 0; Be < _e.SheetNames.length; ++Be) {
|
|
81324
81324
|
var Dn = _e.Sheets[_e.SheetNames[Be]];
|
|
@@ -81329,16 +81329,16 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81329
81329
|
var Ce = cs[bt] + ct, Un = ss ? (Dn[Ue] || [])[bt] : Dn[Ce];
|
|
81330
81330
|
if (!(!Un || Un.t == "z"))
|
|
81331
81331
|
if (Un.t == "n")
|
|
81332
|
-
Rs(
|
|
81332
|
+
Rs(ze, 23, St(Ue, bt, te, Un.v));
|
|
81333
81333
|
else {
|
|
81334
81334
|
var Ds = By(Un);
|
|
81335
|
-
Rs(
|
|
81335
|
+
Rs(ze, 22, X(Ue, bt, te, Ds.slice(0, 239)));
|
|
81336
81336
|
}
|
|
81337
81337
|
}
|
|
81338
81338
|
++te;
|
|
81339
81339
|
}
|
|
81340
81340
|
}
|
|
81341
|
-
return Rs(
|
|
81341
|
+
return Rs(ze, 1), ze.end();
|
|
81342
81342
|
}
|
|
81343
81343
|
function f(_e) {
|
|
81344
81344
|
var ft = Sn(2);
|
|
@@ -81347,65 +81347,65 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81347
81347
|
function h(_e) {
|
|
81348
81348
|
var ft = Sn(26);
|
|
81349
81349
|
ft.write_shift(2, 4096), ft.write_shift(2, 4), ft.write_shift(4, 0);
|
|
81350
|
-
for (var Ae = 0,
|
|
81350
|
+
for (var Ae = 0, ze = 0, Be = 0, yt = 0; yt < _e.SheetNames.length; ++yt) {
|
|
81351
81351
|
var te = _e.SheetNames[yt], Dn = _e.Sheets[te];
|
|
81352
81352
|
if (!(!Dn || !Dn["!ref"])) {
|
|
81353
81353
|
++Be;
|
|
81354
81354
|
var rn = ag(Dn["!ref"]);
|
|
81355
|
-
Ae < rn.e.r && (Ae = rn.e.r),
|
|
81355
|
+
Ae < rn.e.r && (Ae = rn.e.r), ze < rn.e.c && (ze = rn.e.c);
|
|
81356
81356
|
}
|
|
81357
81357
|
}
|
|
81358
|
-
return Ae > 8191 && (Ae = 8191), ft.write_shift(2, Ae), ft.write_shift(1, Be), ft.write_shift(1,
|
|
81358
|
+
return Ae > 8191 && (Ae = 8191), ft.write_shift(2, Ae), ft.write_shift(1, Be), ft.write_shift(1, ze), ft.write_shift(2, 0), ft.write_shift(2, 0), ft.write_shift(1, 1), ft.write_shift(1, 2), ft.write_shift(4, 0), ft.write_shift(4, 0), ft;
|
|
81359
81359
|
}
|
|
81360
81360
|
function b(_e, ft, Ae) {
|
|
81361
|
-
var
|
|
81362
|
-
return ft == 8 && Ae.qpro ? (
|
|
81361
|
+
var ze = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } };
|
|
81362
|
+
return ft == 8 && Ae.qpro ? (ze.s.c = _e.read_shift(1), _e.l++, ze.s.r = _e.read_shift(2), ze.e.c = _e.read_shift(1), _e.l++, ze.e.r = _e.read_shift(2), ze) : (ze.s.c = _e.read_shift(2), ze.s.r = _e.read_shift(2), ft == 12 && Ae.qpro && (_e.l += 2), ze.e.c = _e.read_shift(2), ze.e.r = _e.read_shift(2), ft == 12 && Ae.qpro && (_e.l += 2), ze.s.c == 65535 && (ze.s.c = ze.e.c = ze.s.r = ze.e.r = 0), ze);
|
|
81363
81363
|
}
|
|
81364
81364
|
function x(_e) {
|
|
81365
81365
|
var ft = Sn(8);
|
|
81366
81366
|
return ft.write_shift(2, _e.s.c), ft.write_shift(2, _e.s.r), ft.write_shift(2, _e.e.c), ft.write_shift(2, _e.e.r), ft;
|
|
81367
81367
|
}
|
|
81368
81368
|
function C(_e, ft, Ae) {
|
|
81369
|
-
var
|
|
81370
|
-
return Ae.qpro && Ae.vers != 20768 ? (
|
|
81369
|
+
var ze = [{ c: 0, r: 0 }, { t: "n", v: 0 }, 0, 0];
|
|
81370
|
+
return Ae.qpro && Ae.vers != 20768 ? (ze[0].c = _e.read_shift(1), ze[3] = _e.read_shift(1), ze[0].r = _e.read_shift(2), _e.l += 2) : (ze[2] = _e.read_shift(1), ze[0].c = _e.read_shift(2), ze[0].r = _e.read_shift(2)), ze;
|
|
81371
81371
|
}
|
|
81372
81372
|
function T(_e, ft, Ae) {
|
|
81373
|
-
var
|
|
81373
|
+
var ze = _e.l + ft, Be = C(_e, ft, Ae);
|
|
81374
81374
|
if (Be[1].t = "s", Ae.vers == 20768) {
|
|
81375
81375
|
_e.l++;
|
|
81376
81376
|
var yt = _e.read_shift(1);
|
|
81377
81377
|
return Be[1].v = _e.read_shift(yt, "utf8"), Be;
|
|
81378
81378
|
}
|
|
81379
|
-
return Ae.qpro && _e.l++, Be[1].v = _e.read_shift(
|
|
81379
|
+
return Ae.qpro && _e.l++, Be[1].v = _e.read_shift(ze - _e.l, "cstr"), Be;
|
|
81380
81380
|
}
|
|
81381
81381
|
function R(_e, ft, Ae) {
|
|
81382
|
-
var
|
|
81383
|
-
|
|
81384
|
-
for (var Be = 0; Be <
|
|
81382
|
+
var ze = Sn(7 + Ae.length);
|
|
81383
|
+
ze.write_shift(1, 255), ze.write_shift(2, ft), ze.write_shift(2, _e), ze.write_shift(1, 39);
|
|
81384
|
+
for (var Be = 0; Be < ze.length; ++Be) {
|
|
81385
81385
|
var yt = Ae.charCodeAt(Be);
|
|
81386
|
-
|
|
81386
|
+
ze.write_shift(1, yt >= 128 ? 95 : yt);
|
|
81387
81387
|
}
|
|
81388
|
-
return
|
|
81388
|
+
return ze.write_shift(1, 0), ze;
|
|
81389
81389
|
}
|
|
81390
81390
|
function M(_e, ft, Ae) {
|
|
81391
|
-
var
|
|
81392
|
-
return
|
|
81391
|
+
var ze = C(_e, ft, Ae);
|
|
81392
|
+
return ze[1].v = _e.read_shift(2, "i"), ze;
|
|
81393
81393
|
}
|
|
81394
81394
|
function L(_e, ft, Ae) {
|
|
81395
|
-
var
|
|
81396
|
-
return
|
|
81395
|
+
var ze = Sn(7);
|
|
81396
|
+
return ze.write_shift(1, 255), ze.write_shift(2, ft), ze.write_shift(2, _e), ze.write_shift(2, Ae, "i"), ze;
|
|
81397
81397
|
}
|
|
81398
81398
|
function j(_e, ft, Ae) {
|
|
81399
|
-
var
|
|
81400
|
-
return
|
|
81399
|
+
var ze = C(_e, ft, Ae);
|
|
81400
|
+
return ze[1].v = _e.read_shift(8, "f"), ze;
|
|
81401
81401
|
}
|
|
81402
81402
|
function G(_e, ft, Ae) {
|
|
81403
|
-
var
|
|
81404
|
-
return
|
|
81403
|
+
var ze = Sn(13);
|
|
81404
|
+
return ze.write_shift(1, 255), ze.write_shift(2, ft), ze.write_shift(2, _e), ze.write_shift(8, Ae, "f"), ze;
|
|
81405
81405
|
}
|
|
81406
81406
|
function K(_e, ft, Ae) {
|
|
81407
|
-
var
|
|
81408
|
-
if (Be[1].v = _e.read_shift(8, "f"), Ae.qpro) _e.l =
|
|
81407
|
+
var ze = _e.l + ft, Be = C(_e, ft, Ae);
|
|
81408
|
+
if (Be[1].v = _e.read_shift(8, "f"), Ae.qpro) _e.l = ze;
|
|
81409
81409
|
else {
|
|
81410
81410
|
var yt = _e.read_shift(2);
|
|
81411
81411
|
de(_e.slice(_e.l, _e.l + yt), Be), _e.l += yt;
|
|
@@ -81413,8 +81413,8 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81413
81413
|
return Be;
|
|
81414
81414
|
}
|
|
81415
81415
|
function be(_e, ft, Ae) {
|
|
81416
|
-
var
|
|
81417
|
-
return ft &= -32769, ft = (
|
|
81416
|
+
var ze = ft & 32768;
|
|
81417
|
+
return ft &= -32769, ft = (ze ? _e : 0) + (ft >= 8192 ? ft - 16384 : ft), (ze ? "" : "$") + (Ae ? _f(ft) : Qd(ft));
|
|
81418
81418
|
}
|
|
81419
81419
|
var Se = {
|
|
81420
81420
|
51: ["FALSE", 0],
|
|
@@ -81466,7 +81466,7 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81466
81466
|
];
|
|
81467
81467
|
function de(_e, ft) {
|
|
81468
81468
|
sg(_e, 0);
|
|
81469
|
-
for (var Ae = [],
|
|
81469
|
+
for (var Ae = [], ze = 0, Be = "", yt = "", te = "", Dn = ""; _e.l < _e.length; ) {
|
|
81470
81470
|
var rn = _e[_e.l++];
|
|
81471
81471
|
switch (rn) {
|
|
81472
81472
|
case 0:
|
|
@@ -81516,12 +81516,12 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81516
81516
|
if (rn < 32 && ne[rn])
|
|
81517
81517
|
Dn = Ae.pop(), te = Ae.pop(), Ae.push(te + ne[rn] + Dn);
|
|
81518
81518
|
else if (Se[rn]) {
|
|
81519
|
-
if (
|
|
81519
|
+
if (ze = Se[rn][1], ze == 69 && (ze = _e[_e.l++]), ze > Ae.length) {
|
|
81520
81520
|
console.error("WK1 bad formula parse 0x" + rn.toString(16) + ":|" + Ae.join("|") + "|");
|
|
81521
81521
|
return;
|
|
81522
81522
|
}
|
|
81523
|
-
var Ue = Ae.slice(-
|
|
81524
|
-
Ae.length -=
|
|
81523
|
+
var Ue = Ae.slice(-ze);
|
|
81524
|
+
Ae.length -= ze, Ae.push(Se[rn][0] + "(" + Ue.join(",") + ")");
|
|
81525
81525
|
} else return rn <= 7 ? console.error("WK1 invalid opcode " + rn.toString(16)) : rn <= 24 ? console.error("WK1 unsupported op " + rn.toString(16)) : rn <= 30 ? console.error("WK1 invalid opcode " + rn.toString(16)) : rn <= 115 ? console.error("WK1 unsupported function opcode " + rn.toString(16)) : console.error("WK1 unrecognized opcode " + rn.toString(16));
|
|
81526
81526
|
}
|
|
81527
81527
|
}
|
|
@@ -81535,11 +81535,11 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81535
81535
|
var Ae = wt(_e);
|
|
81536
81536
|
return Ae[1].t = "s", Ae[1].v = _e.read_shift(ft - 4, "cstr"), Ae;
|
|
81537
81537
|
}
|
|
81538
|
-
function X(_e, ft, Ae,
|
|
81539
|
-
var Be = Sn(6 +
|
|
81538
|
+
function X(_e, ft, Ae, ze) {
|
|
81539
|
+
var Be = Sn(6 + ze.length);
|
|
81540
81540
|
Be.write_shift(2, _e), Be.write_shift(1, Ae), Be.write_shift(1, ft), Be.write_shift(1, 39);
|
|
81541
|
-
for (var yt = 0; yt <
|
|
81542
|
-
var te =
|
|
81541
|
+
for (var yt = 0; yt < ze.length; ++yt) {
|
|
81542
|
+
var te = ze.charCodeAt(yt);
|
|
81543
81543
|
Be.write_shift(1, te >= 128 ? 95 : te);
|
|
81544
81544
|
}
|
|
81545
81545
|
return Be.write_shift(1, 0), Be;
|
|
@@ -81547,61 +81547,61 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81547
81547
|
function st(_e, ft) {
|
|
81548
81548
|
var Ae = wt(_e);
|
|
81549
81549
|
Ae[1].v = _e.read_shift(2);
|
|
81550
|
-
var
|
|
81550
|
+
var ze = Ae[1].v >> 1;
|
|
81551
81551
|
if (Ae[1].v & 1)
|
|
81552
|
-
switch (
|
|
81552
|
+
switch (ze & 7) {
|
|
81553
81553
|
case 0:
|
|
81554
|
-
|
|
81554
|
+
ze = (ze >> 3) * 5e3;
|
|
81555
81555
|
break;
|
|
81556
81556
|
case 1:
|
|
81557
|
-
|
|
81557
|
+
ze = (ze >> 3) * 500;
|
|
81558
81558
|
break;
|
|
81559
81559
|
case 2:
|
|
81560
|
-
|
|
81560
|
+
ze = (ze >> 3) / 20;
|
|
81561
81561
|
break;
|
|
81562
81562
|
case 3:
|
|
81563
|
-
|
|
81563
|
+
ze = (ze >> 3) / 200;
|
|
81564
81564
|
break;
|
|
81565
81565
|
case 4:
|
|
81566
|
-
|
|
81566
|
+
ze = (ze >> 3) / 2e3;
|
|
81567
81567
|
break;
|
|
81568
81568
|
case 5:
|
|
81569
|
-
|
|
81569
|
+
ze = (ze >> 3) / 2e4;
|
|
81570
81570
|
break;
|
|
81571
81571
|
case 6:
|
|
81572
|
-
|
|
81572
|
+
ze = (ze >> 3) / 16;
|
|
81573
81573
|
break;
|
|
81574
81574
|
case 7:
|
|
81575
|
-
|
|
81575
|
+
ze = (ze >> 3) / 64;
|
|
81576
81576
|
break;
|
|
81577
81577
|
}
|
|
81578
|
-
return Ae[1].v =
|
|
81578
|
+
return Ae[1].v = ze, Ae;
|
|
81579
81579
|
}
|
|
81580
81580
|
function at(_e, ft) {
|
|
81581
|
-
var Ae = wt(_e),
|
|
81581
|
+
var Ae = wt(_e), ze = _e.read_shift(4), Be = _e.read_shift(4), yt = _e.read_shift(2);
|
|
81582
81582
|
if (yt == 65535)
|
|
81583
|
-
return
|
|
81583
|
+
return ze === 0 && Be === 3221225472 ? (Ae[1].t = "e", Ae[1].v = 15) : ze === 0 && Be === 3489660928 ? (Ae[1].t = "e", Ae[1].v = 42) : Ae[1].v = 0, Ae;
|
|
81584
81584
|
var te = yt & 32768;
|
|
81585
|
-
return yt = (yt & 32767) - 16446, Ae[1].v = (1 - te * 2) * (Be * Math.pow(2, yt + 32) +
|
|
81585
|
+
return yt = (yt & 32767) - 16446, Ae[1].v = (1 - te * 2) * (Be * Math.pow(2, yt + 32) + ze * Math.pow(2, yt)), Ae;
|
|
81586
81586
|
}
|
|
81587
|
-
function St(_e, ft, Ae,
|
|
81587
|
+
function St(_e, ft, Ae, ze) {
|
|
81588
81588
|
var Be = Sn(14);
|
|
81589
|
-
if (Be.write_shift(2, _e), Be.write_shift(1, Ae), Be.write_shift(1, ft),
|
|
81589
|
+
if (Be.write_shift(2, _e), Be.write_shift(1, Ae), Be.write_shift(1, ft), ze == 0)
|
|
81590
81590
|
return Be.write_shift(4, 0), Be.write_shift(4, 0), Be.write_shift(2, 65535), Be;
|
|
81591
81591
|
var yt = 0, te = 0, Dn = 0, rn = 0;
|
|
81592
|
-
return
|
|
81592
|
+
return ze < 0 && (yt = 1, ze = -ze), te = Math.log2(ze) | 0, ze /= Math.pow(2, te - 31), rn = ze >>> 0, (rn & 2147483648) == 0 && (ze /= 2, ++te, rn = ze >>> 0), ze -= rn, rn |= 2147483648, rn >>>= 0, ze *= Math.pow(2, 32), Dn = ze >>> 0, Be.write_shift(4, Dn), Be.write_shift(4, rn), te += 16383 + (yt ? 32768 : 0), Be.write_shift(2, te), Be;
|
|
81593
81593
|
}
|
|
81594
81594
|
function Re(_e, ft) {
|
|
81595
81595
|
var Ae = at(_e);
|
|
81596
81596
|
return _e.l += ft - 14, Ae;
|
|
81597
81597
|
}
|
|
81598
81598
|
function ue(_e, ft) {
|
|
81599
|
-
var Ae = wt(_e),
|
|
81600
|
-
return Ae[1].v =
|
|
81599
|
+
var Ae = wt(_e), ze = _e.read_shift(4);
|
|
81600
|
+
return Ae[1].v = ze >> 6, Ae;
|
|
81601
81601
|
}
|
|
81602
81602
|
function At(_e, ft) {
|
|
81603
|
-
var Ae = wt(_e),
|
|
81604
|
-
return Ae[1].v =
|
|
81603
|
+
var Ae = wt(_e), ze = _e.read_shift(8, "f");
|
|
81604
|
+
return Ae[1].v = ze, Ae;
|
|
81605
81605
|
}
|
|
81606
81606
|
function ot(_e, ft) {
|
|
81607
81607
|
var Ae = At(_e);
|
|
@@ -81613,19 +81613,19 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81613
81613
|
function F(_e, ft) {
|
|
81614
81614
|
var Ae = _e[_e.l++];
|
|
81615
81615
|
Ae > ft - 1 && (Ae = ft - 1);
|
|
81616
|
-
for (var
|
|
81617
|
-
return
|
|
81616
|
+
for (var ze = ""; ze.length < Ae; ) ze += String.fromCharCode(_e[_e.l++]);
|
|
81617
|
+
return ze;
|
|
81618
81618
|
}
|
|
81619
81619
|
function Lt(_e, ft, Ae) {
|
|
81620
81620
|
if (!(!Ae.qpro || ft < 21)) {
|
|
81621
|
-
var
|
|
81621
|
+
var ze = _e.read_shift(1);
|
|
81622
81622
|
_e.l += 17, _e.l += 1, _e.l += 2;
|
|
81623
81623
|
var Be = _e.read_shift(ft - 21, "cstr");
|
|
81624
|
-
return [
|
|
81624
|
+
return [ze, Be];
|
|
81625
81625
|
}
|
|
81626
81626
|
}
|
|
81627
81627
|
function $t(_e, ft) {
|
|
81628
|
-
for (var Ae = {},
|
|
81628
|
+
for (var Ae = {}, ze = _e.l + ft; _e.l < ze; ) {
|
|
81629
81629
|
var Be = _e.read_shift(2);
|
|
81630
81630
|
if (Be == 14e3) {
|
|
81631
81631
|
for (Ae[Be] = [0, ""], Ae[Be][0] = _e.read_shift(2); _e[_e.l]; )
|
|
@@ -81638,8 +81638,8 @@ var y_e = /* @__PURE__ */ function() {
|
|
|
81638
81638
|
function Zn(_e, ft) {
|
|
81639
81639
|
var Ae = Sn(5 + _e.length);
|
|
81640
81640
|
Ae.write_shift(2, 14e3), Ae.write_shift(2, ft);
|
|
81641
|
-
for (var
|
|
81642
|
-
var Be = _e.charCodeAt(
|
|
81641
|
+
for (var ze = 0; ze < _e.length; ++ze) {
|
|
81642
|
+
var Be = _e.charCodeAt(ze);
|
|
81643
81643
|
Ae[Ae.l++] = Be > 127 ? 95 : Be;
|
|
81644
81644
|
}
|
|
81645
81645
|
return Ae[Ae.l++] = 0, Ae;
|
|
@@ -90771,11 +90771,11 @@ function AAe(r, t) {
|
|
|
90771
90771
|
C.FileIndex.map(function(ft, Ae) {
|
|
90772
90772
|
return [ft, C.FullPaths[Ae]];
|
|
90773
90773
|
}).forEach(function(ft) {
|
|
90774
|
-
var Ae = ft[0],
|
|
90774
|
+
var Ae = ft[0], ze = ft[1];
|
|
90775
90775
|
if (Ae.type == 2 && Ae.name.match(/\.iwa/)) {
|
|
90776
90776
|
var Be = Ae.content, yt = Op(Be), te = yp(yt);
|
|
90777
90777
|
te.forEach(function(Dn) {
|
|
90778
|
-
x.push(Dn.id), b[Dn.id] = { deps: [], location:
|
|
90778
|
+
x.push(Dn.id), b[Dn.id] = { deps: [], location: ze, type: uA(Dn.messages[0].meta[1][0].data) };
|
|
90779
90779
|
});
|
|
90780
90780
|
}
|
|
90781
90781
|
}), x.sort(function(ft, Ae) {
|
|
@@ -90791,8 +90791,8 @@ function AAe(r, t) {
|
|
|
90791
90791
|
}).forEach(function(ft) {
|
|
90792
90792
|
var Ae = ft[0];
|
|
90793
90793
|
if (ft[1], !!Ae.name.match(/\.iwa/)) {
|
|
90794
|
-
var
|
|
90795
|
-
|
|
90794
|
+
var ze = yp(Op(Ae.content));
|
|
90795
|
+
ze.forEach(function(Be) {
|
|
90796
90796
|
Be.messages.forEach(function(yt) {
|
|
90797
90797
|
T.forEach(function(te) {
|
|
90798
90798
|
Be.messages.some(function(Dn) {
|
|
@@ -90863,11 +90863,11 @@ function AAe(r, t) {
|
|
|
90863
90863
|
ne.content = XE(WE(de)), ne.size = ne.content.length;
|
|
90864
90864
|
var F = h2(St[4][0].data);
|
|
90865
90865
|
(function() {
|
|
90866
|
-
for (var ft = Aa.find(C, b[F].location), Ae = yp(Op(ft.content)),
|
|
90866
|
+
for (var ft = Aa.find(C, b[F].location), Ae = yp(Op(ft.content)), ze, Be = 0; Be < Ae.length; ++Be) {
|
|
90867
90867
|
var yt = Ae[Be];
|
|
90868
|
-
yt.id == F && (
|
|
90868
|
+
yt.id == F && (ze = yt);
|
|
90869
90869
|
}
|
|
90870
|
-
var te = Du(
|
|
90870
|
+
var te = Du(ze.messages[0].data);
|
|
90871
90871
|
{
|
|
90872
90872
|
te[3] = [];
|
|
90873
90873
|
var Dn = [];
|
|
@@ -90875,7 +90875,7 @@ function AAe(r, t) {
|
|
|
90875
90875
|
Dn[1] = [{ type: 0, data: ya(rr) }], Dn[2] = [{ type: 0, data: ya(1) }], Dn[3] = [{ type: 2, data: CAe(cs) }], te[3].push({ type: 2, data: $d(Dn) });
|
|
90876
90876
|
});
|
|
90877
90877
|
}
|
|
90878
|
-
|
|
90878
|
+
ze.messages[0].data = $d(te);
|
|
90879
90879
|
var rn = WE(Ae), ss = XE(rn);
|
|
90880
90880
|
ft.content = ss, ft.size = ft.content.length;
|
|
90881
90881
|
})();
|
|
@@ -90887,11 +90887,11 @@ function AAe(r, t) {
|
|
|
90887
90887
|
{
|
|
90888
90888
|
var Ct = h2(Zn[2][0].data);
|
|
90889
90889
|
(function() {
|
|
90890
|
-
for (var ft = Aa.find(C, b[Ct].location), Ae = yp(Op(ft.content)),
|
|
90890
|
+
for (var ft = Aa.find(C, b[Ct].location), Ae = yp(Op(ft.content)), ze, Be = 0; Be < Ae.length; ++Be) {
|
|
90891
90891
|
var yt = Ae[Be];
|
|
90892
|
-
yt.id == Ct && (
|
|
90892
|
+
yt.id == Ct && (ze = yt);
|
|
90893
90893
|
}
|
|
90894
|
-
var te = Du(
|
|
90894
|
+
var te = Du(ze.messages[0].data);
|
|
90895
90895
|
{
|
|
90896
90896
|
delete te[6], delete Lt[7];
|
|
90897
90897
|
var Dn = new Uint8Array(te[5][0].data);
|
|
@@ -90902,7 +90902,7 @@ function AAe(r, t) {
|
|
|
90902
90902
|
}
|
|
90903
90903
|
te[1] = [{ type: 0, data: ya(a.e.c + 1) }], te[2] = [{ type: 0, data: ya(a.e.r + 1) }], te[3] = [{ type: 0, data: ya(rn) }], te[4] = [{ type: 0, data: ya(a.e.r + 1) }];
|
|
90904
90904
|
}
|
|
90905
|
-
|
|
90905
|
+
ze.messages[0].data = $d(te);
|
|
90906
90906
|
var rr = WE(Ae), Ue = XE(rr);
|
|
90907
90907
|
ft.content = Ue, ft.size = ft.content.length;
|
|
90908
90908
|
})();
|