@beterdichtbij/component-library 0.18.0 → 0.19.0
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/bd-component-lib.cjs.js +20 -20
- package/dist/bd-component-lib.es.js +343 -333
- package/dist/bd-component-lib.umd.js +17 -17
- package/dist/composables/useModal.d.ts +4 -0
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Be, computed as Ie, openBlock as ie, createElementBlock as he, normalizeClass as Ye, renderSlot as je, createElementVNode as de, createStaticVNode as yf, mergeProps as
|
|
1
|
+
import { defineComponent as Be, computed as Ie, openBlock as ie, createElementBlock as he, normalizeClass as Ye, renderSlot as je, createElementVNode as de, createStaticVNode as yf, mergeProps as Rn, resolveComponent as Om, createBlock as st, resolveDynamicComponent as _o, withCtx as ot, createTextVNode as en, toDisplayString as Ke, createVNode as ze, unref as Ee, createCommentVNode as Ve, getCurrentScope as Mm, onScopeDispose as Im, ref as yn, watch as qn, getCurrentInstance as bf, nextTick as Ef, withDirectives as ri, isRef as Bl, vModelText as Nm, withKeys as Dm, useAttrs as Rm, Fragment as Dr, withModifiers as Xc, onMounted as es, vShow as Qc, renderList as Po, vModelSelect as Lm, vModelCheckbox as _m, normalizeProps as Pm, guardReactiveProps as Fm, onBeforeUnmount as Fo, h as Jn, watchEffect as $m, Teleport as Bm, shallowRef as zm, reactive as Vm, markRaw as Hm, customRef as Um, createApp as jm } from "vue";
|
|
2
2
|
const Wm = /* @__PURE__ */ Be({
|
|
3
3
|
__name: "BDCol",
|
|
4
4
|
props: {
|
|
@@ -108,7 +108,7 @@ const Vl = /* @__PURE__ */ tt(qm, [["render", rg]]), ig = {}, sg = {
|
|
|
108
108
|
function lg(n, e) {
|
|
109
109
|
return ie(), he("svg", sg, ag);
|
|
110
110
|
}
|
|
111
|
-
const
|
|
111
|
+
const ii = /* @__PURE__ */ tt(ig, [["render", lg]]), cg = {}, ug = {
|
|
112
112
|
class: "icon icon-calendar",
|
|
113
113
|
xmlns: "http://www.w3.org/2000/svg",
|
|
114
114
|
width: "17",
|
|
@@ -334,7 +334,7 @@ const Fv = /* @__PURE__ */ tt(Dv, [["render", Pv]]), $v = {}, Bv = /* @__PURE__
|
|
|
334
334
|
Bv
|
|
335
335
|
];
|
|
336
336
|
function Vv(n, e) {
|
|
337
|
-
return ie(), he("svg",
|
|
337
|
+
return ie(), he("svg", Rn({ class: "bd-logo" }, n.$attrs, {
|
|
338
338
|
version: "1.1",
|
|
339
339
|
xmlns: "http://www.w3.org/2000/svg",
|
|
340
340
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
@@ -358,7 +358,7 @@ const Hv = /* @__PURE__ */ tt($v, [["render", Vv]]), Zc = /^https:/i, Ul = /* @_
|
|
|
358
358
|
return { to: i };
|
|
359
359
|
}
|
|
360
360
|
});
|
|
361
|
-
return (i, s) => (ie(), st(_o(t.value),
|
|
361
|
+
return (i, s) => (ie(), st(_o(t.value), Rn({ class: "bd-link" }, r.value), {
|
|
362
362
|
default: ot(() => [
|
|
363
363
|
je(i.$slots, "default", {}, () => [
|
|
364
364
|
en(Ke(e.text), 1)
|
|
@@ -503,7 +503,7 @@ function n1(n) {
|
|
|
503
503
|
return JSON.parse(JSON.stringify(n));
|
|
504
504
|
}
|
|
505
505
|
function r1(n, e = {}) {
|
|
506
|
-
const { initialValue: t = !1, focusVisible: r = !1 } = e, i =
|
|
506
|
+
const { initialValue: t = !1, focusVisible: r = !1 } = e, i = yn(!1), s = Ie(() => Lf(n));
|
|
507
507
|
qc(s, "focus", (l) => {
|
|
508
508
|
var a, c;
|
|
509
509
|
(!r || (c = (a = l.target).matches) != null && c.call(a, ":focus-visible")) && (i.value = !0);
|
|
@@ -523,7 +523,7 @@ function r1(n, e = {}) {
|
|
|
523
523
|
{ immediate: !0, flush: "post" }
|
|
524
524
|
), { focused: o };
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function Rr(n, e, t, r = {}) {
|
|
527
527
|
var i, s, o;
|
|
528
528
|
const {
|
|
529
529
|
clone: l = !1,
|
|
@@ -539,7 +539,7 @@ function Dr(n, e, t, r = {}) {
|
|
|
539
539
|
f ? f(x) && h(m, x) : h(m, x);
|
|
540
540
|
};
|
|
541
541
|
if (a) {
|
|
542
|
-
const x = E(), y =
|
|
542
|
+
const x = E(), y = yn(x);
|
|
543
543
|
let N = !1;
|
|
544
544
|
return qn(
|
|
545
545
|
() => n[e],
|
|
@@ -589,7 +589,7 @@ const i1 = { class: "bd-zoom-slider d-flex" }, s1 = /* @__PURE__ */ de("g", { tr
|
|
|
589
589
|
},
|
|
590
590
|
emits: ["update:modelValue"],
|
|
591
591
|
setup(n, { emit: e }) {
|
|
592
|
-
const t = n, r =
|
|
592
|
+
const t = n, r = Rr(t, "modelValue", e);
|
|
593
593
|
function i() {
|
|
594
594
|
r.value !== 0 && r.value--;
|
|
595
595
|
}
|
|
@@ -607,7 +607,7 @@ const i1 = { class: "bd-zoom-slider d-flex" }, s1 = /* @__PURE__ */ de("g", { tr
|
|
|
607
607
|
width: "20",
|
|
608
608
|
onClick: i
|
|
609
609
|
}, o1)),
|
|
610
|
-
|
|
610
|
+
ri(de("input", {
|
|
611
611
|
type: "range",
|
|
612
612
|
"onUpdate:modelValue": l[0] || (l[0] = (a) => Bl(r) ? r.value = a : null),
|
|
613
613
|
min: "0",
|
|
@@ -640,7 +640,7 @@ function Pf(n) {
|
|
|
640
640
|
return hs.substring(pr, pr++ + t);
|
|
641
641
|
}
|
|
642
642
|
function ts() {
|
|
643
|
-
return { uniqueIdentifier:
|
|
643
|
+
return { uniqueIdentifier: yn(Pf()) };
|
|
644
644
|
}
|
|
645
645
|
const d1 = ["id"], f1 = { key: 0 }, Ff = /* @__PURE__ */ Be({
|
|
646
646
|
__name: "BDCard",
|
|
@@ -945,7 +945,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
945
945
|
},
|
|
946
946
|
emits: ["update:modelValue", "click", "blur", "enter"],
|
|
947
947
|
setup(n, { emit: e }) {
|
|
948
|
-
const t = n, { uniqueIdentifier: r } = ts(), i =
|
|
948
|
+
const t = n, { uniqueIdentifier: r } = ts(), i = Rr(t, "modelValue", e), s = `__BD__FORM__LABEL__${r.value}`, o = `__BD__FORM__GROUP__${r.value}`, l = `form-input-${t.label ? t.label.replace(/ /g, "-").toLowerCase() : r.value}`, a = `validationFeedback${t.label ? t.label.replace(/ /g, "") : r.value}`, c = Ie(() => ({
|
|
949
949
|
[`${t.inputClass}`]: t.inputClass,
|
|
950
950
|
"is-invalid": t.state === !1,
|
|
951
951
|
"is-valid": t.state === !0,
|
|
@@ -976,7 +976,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
976
976
|
de("div", {
|
|
977
977
|
class: Ye(f.formFieldClass)
|
|
978
978
|
}, [
|
|
979
|
-
|
|
979
|
+
ri(de("input", Rn({
|
|
980
980
|
value: f.modelValue,
|
|
981
981
|
type: f.type,
|
|
982
982
|
id: l,
|
|
@@ -1008,7 +1008,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1008
1008
|
},
|
|
1009
1009
|
setup(n) {
|
|
1010
1010
|
const e = n, t = Rm();
|
|
1011
|
-
return (r, i) => (ie(), he(
|
|
1011
|
+
return (r, i) => (ie(), he(Dr, null, [
|
|
1012
1012
|
e.label ? (ie(), he("label", {
|
|
1013
1013
|
key: 0,
|
|
1014
1014
|
for: e.labelForId,
|
|
@@ -1077,7 +1077,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1077
1077
|
},
|
|
1078
1078
|
emits: ["click", "update:modelValue"],
|
|
1079
1079
|
setup(n, { emit: e }) {
|
|
1080
|
-
const t = n, r =
|
|
1080
|
+
const t = n, r = Rr(t, "modelValue", e), i = yn(Math.ceil(t.totalRows / t.rowsPerPage)), s = yn([]);
|
|
1081
1081
|
qn([() => t.totalRows, () => t.rowsPerPage], () => {
|
|
1082
1082
|
i.value = Math.ceil(t.totalRows / t.rowsPerPage), s.value = a();
|
|
1083
1083
|
}), es(() => {
|
|
@@ -1117,7 +1117,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1117
1117
|
de("ul", {
|
|
1118
1118
|
class: Ye(["pagination", o.value])
|
|
1119
1119
|
}, [
|
|
1120
|
-
|
|
1120
|
+
ri(de("li", R1, [
|
|
1121
1121
|
de("a", {
|
|
1122
1122
|
class: "page-link d-flex justify-content-center align-items-center",
|
|
1123
1123
|
"aria-label": "Previous",
|
|
@@ -1129,7 +1129,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1129
1129
|
], 512), [
|
|
1130
1130
|
[Qc, Ee(r) > 1]
|
|
1131
1131
|
]),
|
|
1132
|
-
(ie(!0), he(
|
|
1132
|
+
(ie(!0), he(Dr, null, Po(s.value, (d) => (ie(), he("li", {
|
|
1133
1133
|
class: Ye(["page-item", { active: Ee(r) === d, disabled: typeof d == "string" }]),
|
|
1134
1134
|
key: d
|
|
1135
1135
|
}, [
|
|
@@ -1139,7 +1139,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1139
1139
|
"data-page": d
|
|
1140
1140
|
}, Ke(d), 9, _1)
|
|
1141
1141
|
], 2))), 128)),
|
|
1142
|
-
|
|
1142
|
+
ri(de("li", P1, [
|
|
1143
1143
|
de("a", {
|
|
1144
1144
|
class: "page-link d-flex justify-content-center align-items-center",
|
|
1145
1145
|
"aria-label": "Next",
|
|
@@ -1166,7 +1166,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1166
1166
|
},
|
|
1167
1167
|
emits: ["update:modelValue", "change", "input"],
|
|
1168
1168
|
setup(n, { emit: e }) {
|
|
1169
|
-
const t = n, r =
|
|
1169
|
+
const t = n, r = Rr(t, "modelValue", e), i = yn(null), { focused: s } = r1(i, { initialValue: t.autofocus }), o = Ie(() => ({
|
|
1170
1170
|
"form-select": !0,
|
|
1171
1171
|
"bd-form-select": !0,
|
|
1172
1172
|
"is-invalid": t.state === !1,
|
|
@@ -1180,7 +1180,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1180
1180
|
}, a = (c) => {
|
|
1181
1181
|
e("change", c.target.value);
|
|
1182
1182
|
};
|
|
1183
|
-
return (c, u) =>
|
|
1183
|
+
return (c, u) => ri((ie(), he("select", {
|
|
1184
1184
|
class: Ye(o.value),
|
|
1185
1185
|
"onUpdate:modelValue": u[0] || (u[0] = (d) => Bl(r) ? r.value = d : null),
|
|
1186
1186
|
disabled: t.disabled,
|
|
@@ -1190,7 +1190,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1190
1190
|
onChange: a
|
|
1191
1191
|
}, [
|
|
1192
1192
|
je(c.$slots, "first", {}, () => [
|
|
1193
|
-
(ie(!0), he(
|
|
1193
|
+
(ie(!0), he(Dr, null, Po(t.options, (d) => (ie(), he("option", {
|
|
1194
1194
|
value: d.value,
|
|
1195
1195
|
key: d.value
|
|
1196
1196
|
}, Ke(d.text), 9, z1))), 128))
|
|
@@ -1209,7 +1209,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1209
1209
|
},
|
|
1210
1210
|
emits: ["update:modelValue", "change", "input"],
|
|
1211
1211
|
setup(n, { emit: e }) {
|
|
1212
|
-
const t = n, { uniqueIdentifier: r } = ts(), i =
|
|
1212
|
+
const t = n, { uniqueIdentifier: r } = ts(), i = Rr(t, "modelValue", e), s = `form-check-input-${r.value}`, o = Ie(() => ["form-check", "bd-form-checkbox"]), l = Ie(() => ({
|
|
1213
1213
|
"form-check-input": !0,
|
|
1214
1214
|
"is-invalid": t.state === !1
|
|
1215
1215
|
})), a = (u) => {
|
|
@@ -1220,7 +1220,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1220
1220
|
return (u, d) => (ie(), he("div", {
|
|
1221
1221
|
class: Ye(o.value)
|
|
1222
1222
|
}, [
|
|
1223
|
-
|
|
1223
|
+
ri(de("input", {
|
|
1224
1224
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => Bl(i) ? i.value = f : null),
|
|
1225
1225
|
class: Ye(l.value),
|
|
1226
1226
|
type: "checkbox",
|
|
@@ -1277,7 +1277,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1277
1277
|
]))
|
|
1278
1278
|
]));
|
|
1279
1279
|
}
|
|
1280
|
-
}),
|
|
1280
|
+
}), Xr = {
|
|
1281
1281
|
DANGER: "danger",
|
|
1282
1282
|
WARNING: "warning",
|
|
1283
1283
|
INFO: "info",
|
|
@@ -1292,7 +1292,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1292
1292
|
props: {
|
|
1293
1293
|
id: {},
|
|
1294
1294
|
show: { type: Boolean, default: !1 },
|
|
1295
|
-
variant: { default:
|
|
1295
|
+
variant: { default: Xr.INFO },
|
|
1296
1296
|
title: { default: "" },
|
|
1297
1297
|
text: { default: "" }
|
|
1298
1298
|
},
|
|
@@ -1300,7 +1300,7 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1300
1300
|
const e = n, t = Ie(() => ({
|
|
1301
1301
|
show: e.show,
|
|
1302
1302
|
[`bd-toast-${e.variant}`]: !0
|
|
1303
|
-
})), r = Ie(() => e.variant !==
|
|
1303
|
+
})), r = Ie(() => e.variant !== Xr.SUCCESS);
|
|
1304
1304
|
return (i, s) => (ie(), he("div", {
|
|
1305
1305
|
class: Ye(["toast bd-toast", t.value]),
|
|
1306
1306
|
role: "alert",
|
|
@@ -1332,8 +1332,8 @@ const nl = /* @__PURE__ */ new WeakMap(), T1 = (n) => {
|
|
|
1332
1332
|
const t = n, r = () => {
|
|
1333
1333
|
e("click");
|
|
1334
1334
|
};
|
|
1335
|
-
return (i, s) => (ie(), he("li",
|
|
1336
|
-
ze(Ul,
|
|
1335
|
+
return (i, s) => (ie(), he("li", Rn({ class: "bd-dropdown-item" }, i.$attrs), [
|
|
1336
|
+
ze(Ul, Rn({
|
|
1337
1337
|
class: "dropdown-item",
|
|
1338
1338
|
onClick: r
|
|
1339
1339
|
}, t), {
|
|
@@ -4546,8 +4546,8 @@ var zf = { exports: {} };
|
|
|
4546
4546
|
return C === "." || C.toLowerCase() === "%2e";
|
|
4547
4547
|
}, _e = function(C) {
|
|
4548
4548
|
return C = C.toLowerCase(), C === ".." || C === "%2e." || C === ".%2e" || C === "%2e%2e";
|
|
4549
|
-
}, nt = {}, kt = {}, ht = {}, Pn = {}, Y = {}, ae = {}, le = {}, Ae = {}, ke = {}, Je = {}, Ze = {}, vt = {}, yt = {}, ct = {}, ln = {}, Fn = {}, Dt = {}, Bt = {},
|
|
4550
|
-
var se = Q || nt, Me = 0, ge = "", He = !1, Qe = !1, qe = !1, Ht, ne, it,
|
|
4549
|
+
}, nt = {}, kt = {}, ht = {}, Pn = {}, Y = {}, ae = {}, le = {}, Ae = {}, ke = {}, Je = {}, Ze = {}, vt = {}, yt = {}, ct = {}, ln = {}, Fn = {}, Dt = {}, Bt = {}, Pr = {}, zt = {}, xn = {}, cn = function(C, q, Q, ee) {
|
|
4550
|
+
var se = Q || nt, Me = 0, ge = "", He = !1, Qe = !1, qe = !1, Ht, ne, it, An;
|
|
4551
4551
|
for (Q || (C.scheme = "", C.username = "", C.password = "", C.host = null, C.port = null, C.path = [], C.query = null, C.fragment = null, C.cannotBeABaseURL = !1, q = q.replace(w, "")), q = q.replace(O, ""), Ht = S(q); Me <= Ht.length; ) {
|
|
4552
4552
|
switch (ne = Ht[Me], se) {
|
|
4553
4553
|
case nt:
|
|
@@ -4570,7 +4570,7 @@ var zf = { exports: {} };
|
|
|
4570
4570
|
K(C) && W[C.scheme] == C.port && (C.port = null);
|
|
4571
4571
|
return;
|
|
4572
4572
|
}
|
|
4573
|
-
ge = "", C.scheme == "file" ? se = ct : K(C) && ee && ee.scheme == C.scheme ? se = Pn : K(C) ? se = Ae : Ht[Me + 1] == "/" ? (se = Y, Me++) : (C.cannotBeABaseURL = !0, C.path.push(""), se =
|
|
4573
|
+
ge = "", C.scheme == "file" ? se = ct : K(C) && ee && ee.scheme == C.scheme ? se = Pn : K(C) ? se = Ae : Ht[Me + 1] == "/" ? (se = Y, Me++) : (C.cannotBeABaseURL = !0, C.path.push(""), se = Pr);
|
|
4574
4574
|
} else {
|
|
4575
4575
|
if (Q)
|
|
4576
4576
|
return X;
|
|
@@ -4582,7 +4582,7 @@ var zf = { exports: {} };
|
|
|
4582
4582
|
if (!ee || ee.cannotBeABaseURL && ne != "#")
|
|
4583
4583
|
return X;
|
|
4584
4584
|
if (ee.cannotBeABaseURL && ne == "#") {
|
|
4585
|
-
C.scheme = ee.scheme, C.path = ee.path.slice(), C.query = ee.query, C.fragment = "", C.cannotBeABaseURL = !0, se =
|
|
4585
|
+
C.scheme = ee.scheme, C.path = ee.path.slice(), C.query = ee.query, C.fragment = "", C.cannotBeABaseURL = !0, se = xn;
|
|
4586
4586
|
break;
|
|
4587
4587
|
}
|
|
4588
4588
|
se = ee.scheme == "file" ? ct : ae;
|
|
@@ -4611,7 +4611,7 @@ var zf = { exports: {} };
|
|
|
4611
4611
|
else if (ne == "?")
|
|
4612
4612
|
C.username = ee.username, C.password = ee.password, C.host = ee.host, C.port = ee.port, C.path = ee.path.slice(), C.query = "", se = zt;
|
|
4613
4613
|
else if (ne == "#")
|
|
4614
|
-
C.username = ee.username, C.password = ee.password, C.host = ee.host, C.port = ee.port, C.path = ee.path.slice(), C.query = ee.query, C.fragment = "", se =
|
|
4614
|
+
C.username = ee.username, C.password = ee.password, C.host = ee.host, C.port = ee.port, C.path = ee.path.slice(), C.query = ee.query, C.fragment = "", se = xn;
|
|
4615
4615
|
else {
|
|
4616
4616
|
C.username = ee.username, C.password = ee.password, C.host = ee.host, C.port = ee.port, C.path = ee.path.slice(), C.path.pop(), se = Bt;
|
|
4617
4617
|
continue;
|
|
@@ -4666,8 +4666,8 @@ var zf = { exports: {} };
|
|
|
4666
4666
|
} else if (ne == ":" && !Qe) {
|
|
4667
4667
|
if (ge == "")
|
|
4668
4668
|
return re;
|
|
4669
|
-
if (
|
|
4670
|
-
return
|
|
4669
|
+
if (An = k(C, ge), An)
|
|
4670
|
+
return An;
|
|
4671
4671
|
if (ge = "", se = yt, Q == vt)
|
|
4672
4672
|
return;
|
|
4673
4673
|
} else if (ne == T || ne == "/" || ne == "?" || ne == "#" || ne == "\\" && K(C)) {
|
|
@@ -4675,8 +4675,8 @@ var zf = { exports: {} };
|
|
|
4675
4675
|
return re;
|
|
4676
4676
|
if (Q && ge == "" && (Z(C) || C.port !== null))
|
|
4677
4677
|
return;
|
|
4678
|
-
if (
|
|
4679
|
-
return
|
|
4678
|
+
if (An = k(C, ge), An)
|
|
4679
|
+
return An;
|
|
4680
4680
|
if (ge = "", se = Dt, Q)
|
|
4681
4681
|
return;
|
|
4682
4682
|
continue;
|
|
@@ -4709,7 +4709,7 @@ var zf = { exports: {} };
|
|
|
4709
4709
|
else if (ne == "?")
|
|
4710
4710
|
C.host = ee.host, C.path = ee.path.slice(), C.query = "", se = zt;
|
|
4711
4711
|
else if (ne == "#")
|
|
4712
|
-
C.host = ee.host, C.path = ee.path.slice(), C.query = ee.query, C.fragment = "", se =
|
|
4712
|
+
C.host = ee.host, C.path = ee.path.slice(), C.query = ee.query, C.fragment = "", se = xn;
|
|
4713
4713
|
else {
|
|
4714
4714
|
Le(Ht.slice(Me).join("")) || (C.host = ee.host, C.path = ee.path.slice(), Ge(C)), se = Bt;
|
|
4715
4715
|
continue;
|
|
@@ -4735,8 +4735,8 @@ var zf = { exports: {} };
|
|
|
4735
4735
|
return;
|
|
4736
4736
|
se = Dt;
|
|
4737
4737
|
} else {
|
|
4738
|
-
if (
|
|
4739
|
-
return
|
|
4738
|
+
if (An = k(C, ge), An)
|
|
4739
|
+
return An;
|
|
4740
4740
|
if (C.host == "localhost" && (C.host = ""), Q)
|
|
4741
4741
|
return;
|
|
4742
4742
|
ge = "", se = Dt;
|
|
@@ -4752,7 +4752,7 @@ var zf = { exports: {} };
|
|
|
4752
4752
|
} else if (!Q && ne == "?")
|
|
4753
4753
|
C.query = "", se = zt;
|
|
4754
4754
|
else if (!Q && ne == "#")
|
|
4755
|
-
C.fragment = "", se =
|
|
4755
|
+
C.fragment = "", se = xn;
|
|
4756
4756
|
else if (ne != T && (se = Bt, ne != "/"))
|
|
4757
4757
|
continue;
|
|
4758
4758
|
break;
|
|
@@ -4761,17 +4761,17 @@ var zf = { exports: {} };
|
|
|
4761
4761
|
if (_e(ge) ? (Ge(C), ne != "/" && !(ne == "\\" && K(C)) && C.path.push("")) : We(ge) ? ne != "/" && !(ne == "\\" && K(C)) && C.path.push("") : (C.scheme == "file" && !C.path.length && ye(ge) && (C.host && (C.host = ""), ge = ge.charAt(0) + ":"), C.path.push(ge)), ge = "", C.scheme == "file" && (ne == T || ne == "?" || ne == "#"))
|
|
4762
4762
|
for (; C.path.length > 1 && C.path[0] === ""; )
|
|
4763
4763
|
C.path.shift();
|
|
4764
|
-
ne == "?" ? (C.query = "", se = zt) : ne == "#" && (C.fragment = "", se =
|
|
4764
|
+
ne == "?" ? (C.query = "", se = zt) : ne == "#" && (C.fragment = "", se = xn);
|
|
4765
4765
|
} else
|
|
4766
4766
|
ge += H(ne, z);
|
|
4767
4767
|
break;
|
|
4768
|
-
case
|
|
4769
|
-
ne == "?" ? (C.query = "", se = zt) : ne == "#" ? (C.fragment = "", se =
|
|
4768
|
+
case Pr:
|
|
4769
|
+
ne == "?" ? (C.query = "", se = zt) : ne == "#" ? (C.fragment = "", se = xn) : ne != T && (C.path[0] += H(ne, D));
|
|
4770
4770
|
break;
|
|
4771
4771
|
case zt:
|
|
4772
|
-
!Q && ne == "#" ? (C.fragment = "", se =
|
|
4772
|
+
!Q && ne == "#" ? (C.fragment = "", se = xn) : ne != T && (ne == "'" && K(C) ? C.query += "%27" : ne == "#" ? C.query += "%23" : C.query += H(ne, D));
|
|
4773
4773
|
break;
|
|
4774
|
-
case
|
|
4774
|
+
case xn:
|
|
4775
4775
|
ne != T && (C.fragment += H(ne, R));
|
|
4776
4776
|
break;
|
|
4777
4777
|
}
|
|
@@ -4911,7 +4911,7 @@ var zf = { exports: {} };
|
|
|
4911
4911
|
q.fragment = null;
|
|
4912
4912
|
return;
|
|
4913
4913
|
}
|
|
4914
|
-
C.charAt(0) == "#" && (C = C.slice(1)), q.fragment = "", cn(q, C,
|
|
4914
|
+
C.charAt(0) == "#" && (C = C.slice(1)), q.fragment = "", cn(q, C, xn);
|
|
4915
4915
|
})
|
|
4916
4916
|
}), h(aa, "toJSON", function() {
|
|
4917
4917
|
return fs.call(this);
|
|
@@ -7310,7 +7310,7 @@ const iu = /* @__PURE__ */ Z1(q1), e0 = { class: "fallback" }, t0 = /* @__PURE__
|
|
|
7310
7310
|
},
|
|
7311
7311
|
emits: ["update:modelValue"],
|
|
7312
7312
|
setup(n, { emit: e }) {
|
|
7313
|
-
const t = n, r = Ie(() => ({ variant: Bo.PRIMARY, size: bt.SM })), i =
|
|
7313
|
+
const t = n, r = Ie(() => ({ variant: Bo.PRIMARY, size: bt.SM })), i = Rr(t, "modelValue", e);
|
|
7314
7314
|
let s = null;
|
|
7315
7315
|
iu.autoDiscover = !1, qn(() => t.modelValue, () => {
|
|
7316
7316
|
o();
|
|
@@ -7357,7 +7357,7 @@ const iu = /* @__PURE__ */ Z1(q1), e0 = { class: "fallback" }, t0 = /* @__PURE__
|
|
|
7357
7357
|
});
|
|
7358
7358
|
h !== -1 && i.value.splice(h, 1);
|
|
7359
7359
|
}, f = Ie(() => t.tag ?? "form");
|
|
7360
|
-
return (p, h) => (ie(), he(
|
|
7360
|
+
return (p, h) => (ie(), he(Dr, null, [
|
|
7361
7361
|
(ie(), st(_o(f.value), {
|
|
7362
7362
|
id: "dropzone",
|
|
7363
7363
|
class: "dropzone bd-dropzone",
|
|
@@ -7368,14 +7368,14 @@ const iu = /* @__PURE__ */ Z1(q1), e0 = { class: "fallback" }, t0 = /* @__PURE__
|
|
|
7368
7368
|
t0,
|
|
7369
7369
|
en(" test "),
|
|
7370
7370
|
de("label", n0, [
|
|
7371
|
-
ze(Ee(
|
|
7371
|
+
ze(Ee(ii)),
|
|
7372
7372
|
en(" " + Ke(t.buttonText), 1)
|
|
7373
7373
|
])
|
|
7374
7374
|
]),
|
|
7375
7375
|
de("div", r0, [
|
|
7376
7376
|
ze(Ee(Kt), Pm(Fm(r.value)), {
|
|
7377
7377
|
default: ot(() => [
|
|
7378
|
-
ze(Ee(
|
|
7378
|
+
ze(Ee(ii)),
|
|
7379
7379
|
en(" " + Ke(t.buttonText), 1)
|
|
7380
7380
|
]),
|
|
7381
7381
|
_: 1
|
|
@@ -9504,7 +9504,7 @@ function lu(n, e) {
|
|
|
9504
9504
|
}
|
|
9505
9505
|
return t;
|
|
9506
9506
|
}
|
|
9507
|
-
class
|
|
9507
|
+
class si {
|
|
9508
9508
|
/**
|
|
9509
9509
|
Create a parser that targets the given schema, using the given
|
|
9510
9510
|
parsing rules.
|
|
@@ -9609,7 +9609,7 @@ class ii {
|
|
|
9609
9609
|
[priority](https://prosemirror.net/docs/ref/#model.ParseRule.priority).
|
|
9610
9610
|
*/
|
|
9611
9611
|
static fromSchema(e) {
|
|
9612
|
-
return e.cached.domParser || (e.cached.domParser = new
|
|
9612
|
+
return e.cached.domParser || (e.cached.domParser = new si(e, si.schemaRules(e)));
|
|
9613
9613
|
}
|
|
9614
9614
|
}
|
|
9615
9615
|
const th = {
|
|
@@ -10618,7 +10618,7 @@ class Gn extends gt {
|
|
|
10618
10618
|
return new Gn(this.pos, this.mark);
|
|
10619
10619
|
}
|
|
10620
10620
|
}
|
|
10621
|
-
return new
|
|
10621
|
+
return new oi(this.pos, this.mark);
|
|
10622
10622
|
}
|
|
10623
10623
|
map(e) {
|
|
10624
10624
|
let t = e.mapResult(this.pos, 1);
|
|
@@ -10637,7 +10637,7 @@ class Gn extends gt {
|
|
|
10637
10637
|
}
|
|
10638
10638
|
}
|
|
10639
10639
|
gt.jsonID("addNodeMark", Gn);
|
|
10640
|
-
class
|
|
10640
|
+
class oi extends gt {
|
|
10641
10641
|
/**
|
|
10642
10642
|
Create a mark-removing step.
|
|
10643
10643
|
*/
|
|
@@ -10657,7 +10657,7 @@ class si extends gt {
|
|
|
10657
10657
|
}
|
|
10658
10658
|
map(e) {
|
|
10659
10659
|
let t = e.mapResult(this.pos, 1);
|
|
10660
|
-
return t.deletedAfter ? null : new
|
|
10660
|
+
return t.deletedAfter ? null : new oi(t.pos, this.mark);
|
|
10661
10661
|
}
|
|
10662
10662
|
toJSON() {
|
|
10663
10663
|
return { stepType: "removeNodeMark", pos: this.pos, mark: this.mark.toJSON() };
|
|
@@ -10668,10 +10668,10 @@ class si extends gt {
|
|
|
10668
10668
|
static fromJSON(e, t) {
|
|
10669
10669
|
if (typeof t.pos != "number")
|
|
10670
10670
|
throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");
|
|
10671
|
-
return new
|
|
10671
|
+
return new oi(t.pos, e.markFromJSON(t.mark));
|
|
10672
10672
|
}
|
|
10673
10673
|
}
|
|
10674
|
-
gt.jsonID("removeNodeMark",
|
|
10674
|
+
gt.jsonID("removeNodeMark", oi);
|
|
10675
10675
|
class dt extends gt {
|
|
10676
10676
|
/**
|
|
10677
10677
|
The given `slice` should fit the 'gap' between `from` and
|
|
@@ -10948,7 +10948,7 @@ function G0(n, e, t, r, i) {
|
|
|
10948
10948
|
throw new RangeError("Invalid content for node type " + t.name);
|
|
10949
10949
|
n.step(new at(e, e + s.nodeSize, e + 1, e + s.nodeSize - 1, new me(oe.from(o), 0, 0), 1, !0));
|
|
10950
10950
|
}
|
|
10951
|
-
function
|
|
10951
|
+
function ei(n, e, t = 1, r) {
|
|
10952
10952
|
let i = n.resolve(e), s = i.depth - t, o = r && r[r.length - 1] || i.parent;
|
|
10953
10953
|
if (s < 0 || i.parent.type.spec.isolating || !i.parent.canReplace(i.index(), i.parent.childCount) || !o.type.validContent(i.parent.content.cutByIndex(i.index(), i.parent.childCount)))
|
|
10954
10954
|
return !1;
|
|
@@ -11318,7 +11318,7 @@ function fh(n, e) {
|
|
|
11318
11318
|
}
|
|
11319
11319
|
return t;
|
|
11320
11320
|
}
|
|
11321
|
-
class
|
|
11321
|
+
class ti extends gt {
|
|
11322
11322
|
/**
|
|
11323
11323
|
Construct an attribute step.
|
|
11324
11324
|
*/
|
|
@@ -11340,11 +11340,11 @@ class ei extends gt {
|
|
|
11340
11340
|
return Rt.empty;
|
|
11341
11341
|
}
|
|
11342
11342
|
invert(e) {
|
|
11343
|
-
return new
|
|
11343
|
+
return new ti(this.pos, this.attr, e.nodeAt(this.pos).attrs[this.attr]);
|
|
11344
11344
|
}
|
|
11345
11345
|
map(e) {
|
|
11346
11346
|
let t = e.mapResult(this.pos, 1);
|
|
11347
|
-
return t.deletedAfter ? null : new
|
|
11347
|
+
return t.deletedAfter ? null : new ti(t.pos, this.attr, this.value);
|
|
11348
11348
|
}
|
|
11349
11349
|
toJSON() {
|
|
11350
11350
|
return { stepType: "attr", pos: this.pos, attr: this.attr, value: this.value };
|
|
@@ -11352,10 +11352,10 @@ class ei extends gt {
|
|
|
11352
11352
|
static fromJSON(e, t) {
|
|
11353
11353
|
if (typeof t.pos != "number" || typeof t.attr != "string")
|
|
11354
11354
|
throw new RangeError("Invalid input for AttrStep.fromJSON");
|
|
11355
|
-
return new
|
|
11355
|
+
return new ti(t.pos, t.attr, t.value);
|
|
11356
11356
|
}
|
|
11357
11357
|
}
|
|
11358
|
-
gt.jsonID("attr",
|
|
11358
|
+
gt.jsonID("attr", ti);
|
|
11359
11359
|
class Hi extends gt {
|
|
11360
11360
|
/**
|
|
11361
11361
|
Construct an attribute step.
|
|
@@ -11390,15 +11390,15 @@ class Hi extends gt {
|
|
|
11390
11390
|
}
|
|
11391
11391
|
}
|
|
11392
11392
|
gt.jsonID("docAttr", Hi);
|
|
11393
|
-
let
|
|
11393
|
+
let ai = class extends Error {
|
|
11394
11394
|
};
|
|
11395
|
-
|
|
11395
|
+
ai = function n(e) {
|
|
11396
11396
|
let t = Error.call(this, e);
|
|
11397
11397
|
return t.__proto__ = n.prototype, t;
|
|
11398
11398
|
};
|
|
11399
|
-
|
|
11400
|
-
|
|
11401
|
-
|
|
11399
|
+
ai.prototype = Object.create(Error.prototype);
|
|
11400
|
+
ai.prototype.constructor = ai;
|
|
11401
|
+
ai.prototype.name = "TransformError";
|
|
11402
11402
|
class hh {
|
|
11403
11403
|
/**
|
|
11404
11404
|
Create a transform that starts with the given document.
|
|
@@ -11419,7 +11419,7 @@ class hh {
|
|
|
11419
11419
|
step(e) {
|
|
11420
11420
|
let t = this.maybeStep(e);
|
|
11421
11421
|
if (t.failed)
|
|
11422
|
-
throw new
|
|
11422
|
+
throw new ai(t.failed);
|
|
11423
11423
|
return this;
|
|
11424
11424
|
}
|
|
11425
11425
|
/**
|
|
@@ -11556,7 +11556,7 @@ class hh {
|
|
|
11556
11556
|
to set attributes on the document itself.
|
|
11557
11557
|
*/
|
|
11558
11558
|
setNodeAttribute(e, t, r) {
|
|
11559
|
-
return this.step(new
|
|
11559
|
+
return this.step(new ti(e, t, r)), this;
|
|
11560
11560
|
}
|
|
11561
11561
|
/**
|
|
11562
11562
|
Set a single attribute on the document to a new value.
|
|
@@ -11582,7 +11582,7 @@ class hh {
|
|
|
11582
11582
|
if (t = t.isInSet(r.marks), !t)
|
|
11583
11583
|
return this;
|
|
11584
11584
|
}
|
|
11585
|
-
return this.step(new
|
|
11585
|
+
return this.step(new oi(e, t)), this;
|
|
11586
11586
|
}
|
|
11587
11587
|
/**
|
|
11588
11588
|
Split the node at the given position, and optionally, if `depth` is
|
|
@@ -11714,11 +11714,11 @@ class Fe {
|
|
|
11714
11714
|
found.
|
|
11715
11715
|
*/
|
|
11716
11716
|
static findFrom(e, t, r = !1) {
|
|
11717
|
-
let i = e.parent.inlineContent ? new $e(e) :
|
|
11717
|
+
let i = e.parent.inlineContent ? new $e(e) : Ur(e.node(0), e.parent, e.pos, e.index(), t, r);
|
|
11718
11718
|
if (i)
|
|
11719
11719
|
return i;
|
|
11720
11720
|
for (let s = e.depth - 1; s >= 0; s--) {
|
|
11721
|
-
let o = t < 0 ?
|
|
11721
|
+
let o = t < 0 ? Ur(e.node(0), e.node(s), e.before(s + 1), e.index(s), t, r) : Ur(e.node(0), e.node(s), e.after(s + 1), e.index(s) + 1, t, r);
|
|
11722
11722
|
if (o)
|
|
11723
11723
|
return o;
|
|
11724
11724
|
}
|
|
@@ -11739,14 +11739,14 @@ class Fe {
|
|
|
11739
11739
|
exists.
|
|
11740
11740
|
*/
|
|
11741
11741
|
static atStart(e) {
|
|
11742
|
-
return
|
|
11742
|
+
return Ur(e, e, 0, 0, 1) || new tn(e);
|
|
11743
11743
|
}
|
|
11744
11744
|
/**
|
|
11745
11745
|
Find the cursor or leaf node selection closest to the end of the
|
|
11746
11746
|
given document.
|
|
11747
11747
|
*/
|
|
11748
11748
|
static atEnd(e) {
|
|
11749
|
-
return
|
|
11749
|
+
return Ur(e, e, e.content.size, e.childCount, -1) || new tn(e);
|
|
11750
11750
|
}
|
|
11751
11751
|
/**
|
|
11752
11752
|
Deserialize the JSON representation of a selection. Must be
|
|
@@ -11985,7 +11985,7 @@ const sy = {
|
|
|
11985
11985
|
return new tn(n);
|
|
11986
11986
|
}
|
|
11987
11987
|
};
|
|
11988
|
-
function
|
|
11988
|
+
function Ur(n, e, t, r, i, s = !1) {
|
|
11989
11989
|
if (e.inlineContent)
|
|
11990
11990
|
return $e.create(n, t);
|
|
11991
11991
|
for (let o = r - (i > 0 ? 0 : 1); i > 0 ? o < e.childCount : o >= 0; o += i) {
|
|
@@ -11994,7 +11994,7 @@ function Hr(n, e, t, r, i, s = !1) {
|
|
|
11994
11994
|
if (!s && Ce.isSelectable(l))
|
|
11995
11995
|
return Ce.create(n, t - (i < 0 ? l.nodeSize : 0));
|
|
11996
11996
|
} else {
|
|
11997
|
-
let a =
|
|
11997
|
+
let a = Ur(n, l, t + i, i < 0 ? l.childCount : 0, i, s);
|
|
11998
11998
|
if (a)
|
|
11999
11999
|
return a;
|
|
12000
12000
|
}
|
|
@@ -12217,7 +12217,7 @@ class ba {
|
|
|
12217
12217
|
});
|
|
12218
12218
|
}
|
|
12219
12219
|
}
|
|
12220
|
-
class
|
|
12220
|
+
class Qr {
|
|
12221
12221
|
/**
|
|
12222
12222
|
@internal
|
|
12223
12223
|
*/
|
|
@@ -12292,7 +12292,7 @@ class Xr {
|
|
|
12292
12292
|
applyInner(e) {
|
|
12293
12293
|
if (!e.before.eq(this.doc))
|
|
12294
12294
|
throw new RangeError("Applying a mismatched transaction");
|
|
12295
|
-
let t = new
|
|
12295
|
+
let t = new Qr(this.config), r = this.config.fields;
|
|
12296
12296
|
for (let i = 0; i < r.length; i++) {
|
|
12297
12297
|
let s = r[i];
|
|
12298
12298
|
t[s.name] = s.apply(e, this[s.name], this, t);
|
|
@@ -12309,7 +12309,7 @@ class Xr {
|
|
|
12309
12309
|
Create a new state.
|
|
12310
12310
|
*/
|
|
12311
12311
|
static create(e) {
|
|
12312
|
-
let t = new ba(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new
|
|
12312
|
+
let t = new ba(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new Qr(t);
|
|
12313
12313
|
for (let i = 0; i < t.fields.length; i++)
|
|
12314
12314
|
r[t.fields[i].name] = t.fields[i].init(e, r);
|
|
12315
12315
|
return r;
|
|
@@ -12323,7 +12323,7 @@ class Xr {
|
|
|
12323
12323
|
configuration object..
|
|
12324
12324
|
*/
|
|
12325
12325
|
reconfigure(e) {
|
|
12326
|
-
let t = new ba(this.schema, e.plugins), r = t.fields, i = new
|
|
12326
|
+
let t = new ba(this.schema, e.plugins), r = t.fields, i = new Qr(t);
|
|
12327
12327
|
for (let s = 0; s < r.length; s++) {
|
|
12328
12328
|
let o = r[s].name;
|
|
12329
12329
|
i[o] = this.hasOwnProperty(o) ? this[o] : r[s].init(e, i);
|
|
@@ -12360,7 +12360,7 @@ class Xr {
|
|
|
12360
12360
|
throw new RangeError("Invalid input for EditorState.fromJSON");
|
|
12361
12361
|
if (!e.schema)
|
|
12362
12362
|
throw new RangeError("Required config field 'schema' missing");
|
|
12363
|
-
let i = new ba(e.schema, e.plugins), s = new
|
|
12363
|
+
let i = new ba(e.schema, e.plugins), s = new Qr(i);
|
|
12364
12364
|
return i.fields.forEach((o) => {
|
|
12365
12365
|
if (o.name == "doc")
|
|
12366
12366
|
s.doc = Tr.fromJSON(e.schema, t.doc);
|
|
@@ -12437,7 +12437,7 @@ const Et = function(n) {
|
|
|
12437
12437
|
return e && e.nodeType == 11 ? e.host : e;
|
|
12438
12438
|
};
|
|
12439
12439
|
let Su = null;
|
|
12440
|
-
const
|
|
12440
|
+
const kn = function(n, e, t) {
|
|
12441
12441
|
let r = Su || (Su = document.createRange());
|
|
12442
12442
|
return r.setEnd(n, t ?? n.nodeValue.length), r.setStart(n, e || 0), r;
|
|
12443
12443
|
}, kr = function(n, e, t, r) {
|
|
@@ -12506,9 +12506,9 @@ function dy(n, e, t) {
|
|
|
12506
12506
|
return { node: r.startContainer, offset: r.startOffset };
|
|
12507
12507
|
}
|
|
12508
12508
|
}
|
|
12509
|
-
const
|
|
12509
|
+
const bn = typeof navigator < "u" ? navigator : null, xu = typeof document < "u" ? document : null, sr = bn && bn.userAgent || "", ll = /Edge\/(\d+)/.exec(sr), gh = /MSIE \d/.exec(sr), cl = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(sr), It = !!(gh || cl || ll), Xn = gh ? document.documentMode : cl ? +cl[1] : ll ? +ll[1] : 0, rn = !It && /gecko\/(\d+)/i.test(sr);
|
|
12510
12510
|
rn && +(/Firefox\/(\d+)/.exec(sr) || [0, 0])[1];
|
|
12511
|
-
const ul = !It && /Chrome\/(\d+)/.exec(sr), mt = !!ul, fy = ul ? +ul[1] : 0, xt = !It && !!
|
|
12511
|
+
const ul = !It && /Chrome\/(\d+)/.exec(sr), mt = !!ul, fy = ul ? +ul[1] : 0, xt = !It && !!bn && /Apple Computer/.test(bn.vendor), li = xt && (/Mobile\/\w+/.test(sr) || !!bn && bn.maxTouchPoints > 2), Wt = li || (bn ? /Mac/.test(bn.platform) : !1), hy = bn ? /Win/.test(bn.platform) : !1, qt = /Android \d/.test(sr), ns = !!xu && "webkitFontSmoothing" in xu.documentElement.style, py = ns ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
12512
12512
|
function my(n) {
|
|
12513
12513
|
return {
|
|
12514
12514
|
left: 0,
|
|
@@ -12517,7 +12517,7 @@ function my(n) {
|
|
|
12517
12517
|
bottom: n.documentElement.clientHeight
|
|
12518
12518
|
};
|
|
12519
12519
|
}
|
|
12520
|
-
function
|
|
12520
|
+
function Cn(n, e) {
|
|
12521
12521
|
return typeof n == "number" ? n : n[e];
|
|
12522
12522
|
}
|
|
12523
12523
|
function gy(n) {
|
|
@@ -12535,7 +12535,7 @@ function Au(n, e, t) {
|
|
|
12535
12535
|
if (o.nodeType != 1)
|
|
12536
12536
|
continue;
|
|
12537
12537
|
let l = o, a = l == s.body, c = a ? my(s) : gy(l), u = 0, d = 0;
|
|
12538
|
-
if (e.top < c.top +
|
|
12538
|
+
if (e.top < c.top + Cn(r, "top") ? d = -(c.top - e.top + Cn(i, "top")) : e.bottom > c.bottom - Cn(r, "bottom") && (d = e.bottom - e.top > c.bottom - c.top ? e.top + Cn(i, "top") - c.top : e.bottom - c.bottom + Cn(i, "bottom")), e.left < c.left + Cn(r, "left") ? u = -(c.left - e.left + Cn(i, "left")) : e.right > c.right - Cn(r, "right") && (u = e.right - c.right + Cn(i, "right")), u || d)
|
|
12539
12539
|
if (a)
|
|
12540
12540
|
s.defaultView.scrollBy(u, d);
|
|
12541
12541
|
else {
|
|
@@ -12578,18 +12578,18 @@ function yh(n, e) {
|
|
|
12578
12578
|
r.scrollTop != i + e && (r.scrollTop = i + e), r.scrollLeft != s && (r.scrollLeft = s);
|
|
12579
12579
|
}
|
|
12580
12580
|
}
|
|
12581
|
-
let
|
|
12581
|
+
let Fr = null;
|
|
12582
12582
|
function by(n) {
|
|
12583
12583
|
if (n.setActive)
|
|
12584
12584
|
return n.setActive();
|
|
12585
|
-
if (
|
|
12586
|
-
return n.focus(
|
|
12585
|
+
if (Fr)
|
|
12586
|
+
return n.focus(Fr);
|
|
12587
12587
|
let e = vh(n);
|
|
12588
|
-
n.focus(
|
|
12588
|
+
n.focus(Fr == null ? {
|
|
12589
12589
|
get preventScroll() {
|
|
12590
|
-
return
|
|
12590
|
+
return Fr = { preventScroll: !0 }, !0;
|
|
12591
12591
|
}
|
|
12592
|
-
} : void 0),
|
|
12592
|
+
} : void 0), Fr || (Fr = !1, yh(e, 0));
|
|
12593
12593
|
}
|
|
12594
12594
|
function bh(n, e) {
|
|
12595
12595
|
let t, r = 2e8, i, s = 0, o = e.top, l = e.top, a, c;
|
|
@@ -12598,7 +12598,7 @@ function bh(n, e) {
|
|
|
12598
12598
|
if (u.nodeType == 1)
|
|
12599
12599
|
f = u.getClientRects();
|
|
12600
12600
|
else if (u.nodeType == 3)
|
|
12601
|
-
f =
|
|
12601
|
+
f = kn(u).getClientRects();
|
|
12602
12602
|
else
|
|
12603
12603
|
continue;
|
|
12604
12604
|
for (let p = 0; p < f.length; p++) {
|
|
@@ -12719,11 +12719,11 @@ function Sh(n, e, t) {
|
|
|
12719
12719
|
let { node: r, offset: i, atom: s } = n.docView.domFromPos(e, t < 0 ? -1 : 1), o = ns || rn;
|
|
12720
12720
|
if (r.nodeType == 3)
|
|
12721
12721
|
if (o && (Cy.test(r.nodeValue) || (t < 0 ? !i : i == r.nodeValue.length))) {
|
|
12722
|
-
let a = Vn(
|
|
12722
|
+
let a = Vn(kn(r, i, i), t);
|
|
12723
12723
|
if (rn && i && /\s/.test(r.nodeValue[i - 1]) && i < r.nodeValue.length) {
|
|
12724
|
-
let c = Vn(
|
|
12724
|
+
let c = Vn(kn(r, i - 1, i - 1), -1);
|
|
12725
12725
|
if (c.top == a.top) {
|
|
12726
|
-
let u = Vn(
|
|
12726
|
+
let u = Vn(kn(r, i, i + 1), -1);
|
|
12727
12727
|
if (u.top != a.top)
|
|
12728
12728
|
return xi(u, u.left < c.left);
|
|
12729
12729
|
}
|
|
@@ -12731,7 +12731,7 @@ function Sh(n, e, t) {
|
|
|
12731
12731
|
return a;
|
|
12732
12732
|
} else {
|
|
12733
12733
|
let a = i, c = i, u = t < 0 ? 1 : -1;
|
|
12734
|
-
return t < 0 && !i ? (c++, u = -1) : t >= 0 && i == r.nodeValue.length ? (a--, u = 1) : t < 0 ? a-- : c++, xi(Vn(
|
|
12734
|
+
return t < 0 && !i ? (c++, u = -1) : t >= 0 && i == r.nodeValue.length ? (a--, u = 1) : t < 0 ? a-- : c++, xi(Vn(kn(r, a, c), u), u < 0);
|
|
12735
12735
|
}
|
|
12736
12736
|
if (!n.state.doc.resolve(e - (s || 0)).parent.inlineContent) {
|
|
12737
12737
|
if (s == null && i && (t < 0 || i == pn(r))) {
|
|
@@ -12747,7 +12747,7 @@ function Sh(n, e, t) {
|
|
|
12747
12747
|
return Sa(r.getBoundingClientRect(), t >= 0);
|
|
12748
12748
|
}
|
|
12749
12749
|
if (s == null && i && (t < 0 || i == pn(r))) {
|
|
12750
|
-
let a = r.childNodes[i - 1], c = a.nodeType == 3 ?
|
|
12750
|
+
let a = r.childNodes[i - 1], c = a.nodeType == 3 ? kn(a, pn(a) - (o ? 0 : 1)) : a.nodeType == 1 && (a.nodeName != "BR" || !a.nextSibling) ? a : null;
|
|
12751
12751
|
if (c)
|
|
12752
12752
|
return xi(Vn(c, 1), !1);
|
|
12753
12753
|
}
|
|
@@ -12755,11 +12755,11 @@ function Sh(n, e, t) {
|
|
|
12755
12755
|
let a = r.childNodes[i];
|
|
12756
12756
|
for (; a.pmViewDesc && a.pmViewDesc.ignoreForCoords; )
|
|
12757
12757
|
a = a.nextSibling;
|
|
12758
|
-
let c = a ? a.nodeType == 3 ?
|
|
12758
|
+
let c = a ? a.nodeType == 3 ? kn(a, 0, o ? 0 : 1) : a.nodeType == 1 ? a : null : null;
|
|
12759
12759
|
if (c)
|
|
12760
12760
|
return xi(Vn(c, -1), !0);
|
|
12761
12761
|
}
|
|
12762
|
-
return xi(Vn(r.nodeType == 3 ?
|
|
12762
|
+
return xi(Vn(r.nodeType == 3 ? kn(r) : r, -t), t >= 0);
|
|
12763
12763
|
}
|
|
12764
12764
|
function xi(n, e) {
|
|
12765
12765
|
if (n.width == 0)
|
|
@@ -12802,7 +12802,7 @@ function wy(n, e, t) {
|
|
|
12802
12802
|
if (l.nodeType == 1)
|
|
12803
12803
|
a = l.getClientRects();
|
|
12804
12804
|
else if (l.nodeType == 3)
|
|
12805
|
-
a =
|
|
12805
|
+
a = kn(l, 0, l.nodeValue.length).getClientRects();
|
|
12806
12806
|
else
|
|
12807
12807
|
continue;
|
|
12808
12808
|
for (let c = 0; c < a.length; c++) {
|
|
@@ -12835,7 +12835,7 @@ let wu = null, ku = null, Ou = !1;
|
|
|
12835
12835
|
function My(n, e, t) {
|
|
12836
12836
|
return wu == e && ku == t ? Ou : (wu = e, ku = t, Ou = t == "up" || t == "down" ? wy(n, e, t) : Oy(n, e, t));
|
|
12837
12837
|
}
|
|
12838
|
-
const Yt = 0, Mu = 1, mr = 2,
|
|
12838
|
+
const Yt = 0, Mu = 1, mr = 2, En = 3;
|
|
12839
12839
|
class rs {
|
|
12840
12840
|
constructor(e, t, r, i) {
|
|
12841
12841
|
this.parent = e, this.children = t, this.dom = r, this.contentDOM = i, this.dirty = Yt, r.pmViewDesc = this;
|
|
@@ -13145,10 +13145,10 @@ class rs {
|
|
|
13145
13145
|
if (r == o ? e <= o && t >= r : e < o && t > r) {
|
|
13146
13146
|
let l = r + s.border, a = o - s.border;
|
|
13147
13147
|
if (e >= l && t <= a) {
|
|
13148
|
-
this.dirty = e == r || t == o ? mr : Mu, e == l && t == a && (s.contentLost || s.dom.parentNode != this.contentDOM) ? s.dirty =
|
|
13148
|
+
this.dirty = e == r || t == o ? mr : Mu, e == l && t == a && (s.contentLost || s.dom.parentNode != this.contentDOM) ? s.dirty = En : s.markDirty(e - l, t - l);
|
|
13149
13149
|
return;
|
|
13150
13150
|
} else
|
|
13151
|
-
s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ? mr :
|
|
13151
|
+
s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ? mr : En;
|
|
13152
13152
|
}
|
|
13153
13153
|
r = o;
|
|
13154
13154
|
}
|
|
@@ -13234,10 +13234,10 @@ class Or extends rs {
|
|
|
13234
13234
|
return (!o || !o.dom) && (o = mn.renderSpec(document, t.type.spec.toDOM(t, r))), new Or(e, t, o.dom, o.contentDOM || o.dom);
|
|
13235
13235
|
}
|
|
13236
13236
|
parseRule() {
|
|
13237
|
-
return this.dirty &
|
|
13237
|
+
return this.dirty & En || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
13238
13238
|
}
|
|
13239
13239
|
matchesMark(e) {
|
|
13240
|
-
return this.dirty !=
|
|
13240
|
+
return this.dirty != En && this.mark.eq(e);
|
|
13241
13241
|
}
|
|
13242
13242
|
markDirty(e, t) {
|
|
13243
13243
|
if (super.markDirty(e, t), this.dirty != Yt) {
|
|
@@ -13327,7 +13327,7 @@ class Qn extends rs {
|
|
|
13327
13327
|
a.syncToMarks(c.marks, r, e);
|
|
13328
13328
|
let p;
|
|
13329
13329
|
a.findNodeMatch(c, u, d, f) || l && e.state.selection.from > i && e.state.selection.to < i + c.nodeSize && (p = a.findIndexWithChild(s.node)) > -1 && a.updateNodeAt(c, u, d, p, e) || a.updateNextNode(c, u, d, e, f, i) || a.addNode(c, u, d, e, i), i += c.nodeSize;
|
|
13330
|
-
}), a.syncToMarks([], r, e), this.node.isTextblock && a.addTextblockHacks(), a.destroyRest(), (a.changed || this.dirty == mr) && (o && this.protectLocalComposition(e, o), Ch(this.contentDOM, this.children, e),
|
|
13330
|
+
}), a.syncToMarks([], r, e), this.node.isTextblock && a.addTextblockHacks(), a.destroyRest(), (a.changed || this.dirty == mr) && (o && this.protectLocalComposition(e, o), Ch(this.contentDOM, this.children, e), li && Fy(this.dom));
|
|
13331
13331
|
}
|
|
13332
13332
|
localCompositionInfo(e, t) {
|
|
13333
13333
|
let { from: r, to: i } = e.state.selection;
|
|
@@ -13359,7 +13359,7 @@ class Qn extends rs {
|
|
|
13359
13359
|
// If this desc must be updated to match the given node decoration,
|
|
13360
13360
|
// do so and return true.
|
|
13361
13361
|
update(e, t, r, i) {
|
|
13362
|
-
return this.dirty ==
|
|
13362
|
+
return this.dirty == En || !e.sameMarkup(this.node) ? !1 : (this.updateInner(e, t, r, i), !0);
|
|
13363
13363
|
}
|
|
13364
13364
|
updateInner(e, t, r, i) {
|
|
13365
13365
|
this.updateOuterDeco(t), this.node = e, this.innerDeco = r, this.contentDOM && this.updateChildren(i, this.posAtStart), this.dirty = Yt;
|
|
@@ -13398,7 +13398,7 @@ class jo extends Qn {
|
|
|
13398
13398
|
return { skip: e || !0 };
|
|
13399
13399
|
}
|
|
13400
13400
|
update(e, t, r, i) {
|
|
13401
|
-
return this.dirty ==
|
|
13401
|
+
return this.dirty == En || this.dirty != Yt && !this.inParent() || !e.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(t), (this.dirty != Yt || e.text != this.node.text) && e.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = e.text, i.trackWrites == this.nodeDOM && (i.trackWrites = null)), this.node = e, this.dirty = Yt, !0);
|
|
13402
13402
|
}
|
|
13403
13403
|
inParent() {
|
|
13404
13404
|
let e = this.parent.contentDOM;
|
|
@@ -13421,7 +13421,7 @@ class jo extends Qn {
|
|
|
13421
13421
|
return new jo(this.parent, i, this.outerDeco, this.innerDeco, s, s, r);
|
|
13422
13422
|
}
|
|
13423
13423
|
markDirty(e, t) {
|
|
13424
|
-
super.markDirty(e, t), this.dom != this.nodeDOM && (e == 0 || t == this.nodeDOM.nodeValue.length) && (this.dirty =
|
|
13424
|
+
super.markDirty(e, t), this.dom != this.nodeDOM && (e == 0 || t == this.nodeDOM.nodeValue.length) && (this.dirty = En);
|
|
13425
13425
|
}
|
|
13426
13426
|
get domAtom() {
|
|
13427
13427
|
return !1;
|
|
@@ -13449,7 +13449,7 @@ class Ny extends Qn {
|
|
|
13449
13449
|
// through. If it does, and there's a `contentDOM` node, our logic
|
|
13450
13450
|
// updates the children.
|
|
13451
13451
|
update(e, t, r, i) {
|
|
13452
|
-
if (this.dirty ==
|
|
13452
|
+
if (this.dirty == En)
|
|
13453
13453
|
return !1;
|
|
13454
13454
|
if (this.spec.update) {
|
|
13455
13455
|
let s = this.spec.update(e, t, r);
|
|
@@ -13629,7 +13629,7 @@ class Ry {
|
|
|
13629
13629
|
}
|
|
13630
13630
|
updateNodeAt(e, t, r, i, s) {
|
|
13631
13631
|
let o = this.top.children[i];
|
|
13632
|
-
return o.dirty ==
|
|
13632
|
+
return o.dirty == En && o.dom == o.contentDOM && (o.dirty = mr), o.update(e, t, r, s) ? (this.destroyBetween(this.index, i), this.index++, !0) : !1;
|
|
13633
13633
|
}
|
|
13634
13634
|
findIndexWithChild(e) {
|
|
13635
13635
|
for (; ; ) {
|
|
@@ -13657,7 +13657,7 @@ class Ry {
|
|
|
13657
13657
|
let c = this.preMatch.matched.get(a);
|
|
13658
13658
|
if (c != null && c != s)
|
|
13659
13659
|
return !1;
|
|
13660
|
-
let u = a.dom, d, f = this.isLocked(u) && !(e.isText && a.node && a.node.isText && a.nodeDOM.nodeValue == e.text && a.dirty !=
|
|
13660
|
+
let u = a.dom, d, f = this.isLocked(u) && !(e.isText && a.node && a.node.isText && a.nodeDOM.nodeValue == e.text && a.dirty != En && fl(t, a.outerDeco));
|
|
13661
13661
|
if (!f && a.update(e, t, r, i))
|
|
13662
13662
|
return this.destroyBetween(this.index, l), a.dom != u && (this.changed = !0), this.index++, !0;
|
|
13663
13663
|
if (!f && (d = this.recreateWrapper(a, e, t, r, i, o)))
|
|
@@ -13877,7 +13877,7 @@ function Ql(n, e = null) {
|
|
|
13877
13877
|
function Oh(n) {
|
|
13878
13878
|
return n.editable ? n.hasFocus() : Ih(n) && document.activeElement && document.activeElement.contains(n.dom);
|
|
13879
13879
|
}
|
|
13880
|
-
function
|
|
13880
|
+
function In(n, e = !1) {
|
|
13881
13881
|
let t = n.state.selection;
|
|
13882
13882
|
if (Mh(n, t), !!Oh(n)) {
|
|
13883
13883
|
if (!e && n.input.mouseDown && n.input.mouseDown.allowDefault && mt) {
|
|
@@ -14003,7 +14003,7 @@ function Li(n, e) {
|
|
|
14003
14003
|
let t = n.pmViewDesc;
|
|
14004
14004
|
return t && t.size == 0 && (e < 0 || n.nextSibling || n.nodeName != "BR");
|
|
14005
14005
|
}
|
|
14006
|
-
function
|
|
14006
|
+
function $r(n, e) {
|
|
14007
14007
|
return e < 0 ? Uy(n) : jy(n);
|
|
14008
14008
|
}
|
|
14009
14009
|
function Uy(n) {
|
|
@@ -14116,7 +14116,7 @@ function ml(n, e, t) {
|
|
|
14116
14116
|
n.domObserver.setCurSelection();
|
|
14117
14117
|
let { state: i } = n;
|
|
14118
14118
|
setTimeout(() => {
|
|
14119
|
-
n.state == i &&
|
|
14119
|
+
n.state == i && In(n);
|
|
14120
14120
|
}, 50);
|
|
14121
14121
|
}
|
|
14122
14122
|
function $u(n, e) {
|
|
@@ -14189,22 +14189,22 @@ function Yy(n) {
|
|
|
14189
14189
|
function Jy(n, e) {
|
|
14190
14190
|
let t = e.keyCode, r = Yy(e);
|
|
14191
14191
|
if (t == 8 || Wt && t == 72 && r == "c")
|
|
14192
|
-
return zu(n, -1) ||
|
|
14192
|
+
return zu(n, -1) || $r(n, -1);
|
|
14193
14193
|
if (t == 46 && !e.shiftKey || Wt && t == 68 && r == "c")
|
|
14194
|
-
return zu(n, 1) ||
|
|
14194
|
+
return zu(n, 1) || $r(n, 1);
|
|
14195
14195
|
if (t == 13 || t == 27)
|
|
14196
14196
|
return !0;
|
|
14197
14197
|
if (t == 37 || Wt && t == 66 && r == "c") {
|
|
14198
14198
|
let i = t == 37 ? $u(n, n.state.selection.from) == "ltr" ? -1 : 1 : -1;
|
|
14199
|
-
return Fu(n, i, r) ||
|
|
14199
|
+
return Fu(n, i, r) || $r(n, i);
|
|
14200
14200
|
} else if (t == 39 || Wt && t == 70 && r == "c") {
|
|
14201
14201
|
let i = t == 39 ? $u(n, n.state.selection.from) == "ltr" ? 1 : -1 : 1;
|
|
14202
|
-
return Fu(n, i, r) ||
|
|
14202
|
+
return Fu(n, i, r) || $r(n, i);
|
|
14203
14203
|
} else {
|
|
14204
14204
|
if (t == 38 || Wt && t == 80 && r == "c")
|
|
14205
|
-
return Bu(n, -1, r) ||
|
|
14205
|
+
return Bu(n, -1, r) || $r(n, -1);
|
|
14206
14206
|
if (t == 40 || Wt && t == 78 && r == "c")
|
|
14207
|
-
return Gy(n) || Bu(n, 1, r) ||
|
|
14207
|
+
return Gy(n) || Bu(n, 1, r) || $r(n, 1);
|
|
14208
14208
|
if (r == (Wt ? "m" : "c") && (t == 66 || t == 73 || t == 89 || t == 90))
|
|
14209
14209
|
return !0;
|
|
14210
14210
|
}
|
|
@@ -14273,7 +14273,7 @@ function Rh(n, e, t, r, i) {
|
|
|
14273
14273
|
break;
|
|
14274
14274
|
o = f;
|
|
14275
14275
|
}
|
|
14276
|
-
if (l || (l = (n.someProp("clipboardParser") || n.someProp("domParser") ||
|
|
14276
|
+
if (l || (l = (n.someProp("clipboardParser") || n.someProp("domParser") || si.fromSchema(n.state.schema)).parseSlice(o, {
|
|
14277
14277
|
preserveWhitespace: !!(a || u),
|
|
14278
14278
|
context: i,
|
|
14279
14279
|
ruleFromNode(f) {
|
|
@@ -14445,7 +14445,7 @@ function ob(n, e) {
|
|
|
14445
14445
|
Ct.keydown = (n, e) => {
|
|
14446
14446
|
let t = e;
|
|
14447
14447
|
if (n.input.shiftKey = t.keyCode == 16 || t.shiftKey, !zh(n, t) && (n.input.lastKeyCode = t.keyCode, n.input.lastKeyCodeTime = Date.now(), !(qt && mt && t.keyCode == 13)))
|
|
14448
|
-
if (t.keyCode != 229 && n.domObserver.forceFlush(),
|
|
14448
|
+
if (t.keyCode != 229 && n.domObserver.forceFlush(), li && t.keyCode == 13 && !t.ctrlKey && !t.altKey && !t.metaKey) {
|
|
14449
14449
|
let r = Date.now();
|
|
14450
14450
|
n.input.lastIOSEnter = r, n.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
|
|
14451
14451
|
n.input.lastIOSEnter == r && (n.someProp("handleKeyDown", (i) => i(n, hr(13, "Enter"))), n.input.lastIOSEnter = 0);
|
|
@@ -14486,7 +14486,7 @@ function ec(n, e, t, r, i) {
|
|
|
14486
14486
|
return !0;
|
|
14487
14487
|
return !1;
|
|
14488
14488
|
}
|
|
14489
|
-
function
|
|
14489
|
+
function ni(n, e, t) {
|
|
14490
14490
|
n.focused || n.focus();
|
|
14491
14491
|
let r = n.state.tr.setSelection(e);
|
|
14492
14492
|
t == "pointer" && r.setMeta("pointer", !0), n.dispatch(r);
|
|
@@ -14495,7 +14495,7 @@ function lb(n, e) {
|
|
|
14495
14495
|
if (e == -1)
|
|
14496
14496
|
return !1;
|
|
14497
14497
|
let t = n.state.doc.resolve(e), r = t.nodeAfter;
|
|
14498
|
-
return r && r.isAtom && Ce.isSelectable(r) ? (
|
|
14498
|
+
return r && r.isAtom && Ce.isSelectable(r) ? (ni(n, new Ce(t), "pointer"), !0) : !1;
|
|
14499
14499
|
}
|
|
14500
14500
|
function cb(n, e) {
|
|
14501
14501
|
if (e == -1)
|
|
@@ -14510,7 +14510,7 @@ function cb(n, e) {
|
|
|
14510
14510
|
break;
|
|
14511
14511
|
}
|
|
14512
14512
|
}
|
|
14513
|
-
return i != null ? (
|
|
14513
|
+
return i != null ? (ni(n, Ce.create(n.state.doc, i), "pointer"), !0) : !1;
|
|
14514
14514
|
}
|
|
14515
14515
|
function ub(n, e, t, r, i) {
|
|
14516
14516
|
return ec(n, "handleClickOn", e, t, r) || n.someProp("handleClick", (s) => s(n, e, r)) || (i ? cb(n, t) : lb(n, t));
|
|
@@ -14526,14 +14526,14 @@ function hb(n, e, t) {
|
|
|
14526
14526
|
return !1;
|
|
14527
14527
|
let r = n.state.doc;
|
|
14528
14528
|
if (e == -1)
|
|
14529
|
-
return r.inlineContent ? (
|
|
14529
|
+
return r.inlineContent ? (ni(n, $e.create(r, 0, r.content.size), "pointer"), !0) : !1;
|
|
14530
14530
|
let i = r.resolve(e);
|
|
14531
14531
|
for (let s = i.depth + 1; s > 0; s--) {
|
|
14532
14532
|
let o = s > i.depth ? i.nodeAfter : i.node(s), l = i.before(s);
|
|
14533
14533
|
if (o.inlineContent)
|
|
14534
|
-
|
|
14534
|
+
ni(n, $e.create(r, l + 1, l + 1 + o.content.size), "pointer");
|
|
14535
14535
|
else if (Ce.isSelectable(o))
|
|
14536
|
-
|
|
14536
|
+
ni(n, Ce.create(r, l), "pointer");
|
|
14537
14537
|
else
|
|
14538
14538
|
continue;
|
|
14539
14539
|
return !0;
|
|
@@ -14574,7 +14574,7 @@ class pb {
|
|
|
14574
14574
|
}, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), Yn(e, "pointer");
|
|
14575
14575
|
}
|
|
14576
14576
|
done() {
|
|
14577
|
-
this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() =>
|
|
14577
|
+
this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => In(this.view)), this.view.input.mouseDown = null;
|
|
14578
14578
|
}
|
|
14579
14579
|
up(e) {
|
|
14580
14580
|
if (this.done(), !this.view.dom.contains(e.target))
|
|
@@ -14588,7 +14588,7 @@ class pb {
|
|
|
14588
14588
|
// (hidden) cursor is doesn't change the selection, and
|
|
14589
14589
|
// thus doesn't get a reaction from ProseMirror. This
|
|
14590
14590
|
// works around that.
|
|
14591
|
-
mt && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (
|
|
14591
|
+
mt && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (ni(this.view, Fe.near(this.view.state.doc.resolve(t.pos)), "pointer"), e.preventDefault()) : Yn(this.view, "pointer");
|
|
14592
14592
|
}
|
|
14593
14593
|
move(e) {
|
|
14594
14594
|
this.updateAllowDefault(e), Yn(this.view, "pointer"), e.buttons == 0 && this.done();
|
|
@@ -14664,7 +14664,7 @@ function vb(n, e) {
|
|
|
14664
14664
|
t.parentNode && t.parentNode.removeChild(t), n.focus();
|
|
14665
14665
|
}, 50);
|
|
14666
14666
|
}
|
|
14667
|
-
const ji = It && Xn < 15 ||
|
|
14667
|
+
const ji = It && Xn < 15 || li && py < 604;
|
|
14668
14668
|
At.copy = Ct.cut = (n, e) => {
|
|
14669
14669
|
let t = e, r = n.state.selection, i = t.type == "cut";
|
|
14670
14670
|
if (r.empty)
|
|
@@ -14777,7 +14777,7 @@ Ct.drop = (n, e) => {
|
|
|
14777
14777
|
};
|
|
14778
14778
|
At.focus = (n) => {
|
|
14779
14779
|
n.input.lastFocus = Date.now(), n.focused || (n.domObserver.stop(), n.dom.classList.add("ProseMirror-focused"), n.domObserver.start(), n.focused = !0, setTimeout(() => {
|
|
14780
|
-
n.docView && n.hasFocus() && !n.domObserver.currentSelection.eq(n.domSelectionRange()) &&
|
|
14780
|
+
n.docView && n.hasFocus() && !n.domObserver.currentSelection.eq(n.domSelectionRange()) && In(n);
|
|
14781
14781
|
}, 20));
|
|
14782
14782
|
};
|
|
14783
14783
|
At.blur = (n, e) => {
|
|
@@ -14939,13 +14939,13 @@ class Gt {
|
|
|
14939
14939
|
return this.type instanceof Ks;
|
|
14940
14940
|
}
|
|
14941
14941
|
}
|
|
14942
|
-
const
|
|
14942
|
+
const jr = [], xr = {};
|
|
14943
14943
|
class rt {
|
|
14944
14944
|
/**
|
|
14945
14945
|
@internal
|
|
14946
14946
|
*/
|
|
14947
14947
|
constructor(e, t) {
|
|
14948
|
-
this.local = e.length ? e :
|
|
14948
|
+
this.local = e.length ? e : jr, this.children = t.length ? t : jr;
|
|
14949
14949
|
}
|
|
14950
14950
|
/**
|
|
14951
14951
|
Create a set of decorations, using the structure of the given
|
|
@@ -14994,7 +14994,7 @@ class rt {
|
|
|
14994
14994
|
let a = this.local[l].map(e, r, i);
|
|
14995
14995
|
a && a.type.valid(t, a) ? (o || (o = [])).push(a) : s.onRemove && s.onRemove(this.local[l].spec);
|
|
14996
14996
|
}
|
|
14997
|
-
return this.children.length ? Eb(this.children, o || [], e, t, r, i, s) : o ? new rt(o.sort(Ar),
|
|
14997
|
+
return this.children.length ? Eb(this.children, o || [], e, t, r, i, s) : o ? new rt(o.sort(Ar), jr) : pt;
|
|
14998
14998
|
}
|
|
14999
14999
|
/**
|
|
15000
15000
|
Add the given array of decorations to the ones in the set,
|
|
@@ -15070,7 +15070,7 @@ class rt {
|
|
|
15070
15070
|
}
|
|
15071
15071
|
}
|
|
15072
15072
|
if (i) {
|
|
15073
|
-
let l = new rt(i.sort(Ar),
|
|
15073
|
+
let l = new rt(i.sort(Ar), jr);
|
|
15074
15074
|
return r ? new jn([l, r]) : l;
|
|
15075
15075
|
}
|
|
15076
15076
|
return r || pt;
|
|
@@ -15102,7 +15102,7 @@ class rt {
|
|
|
15102
15102
|
*/
|
|
15103
15103
|
localsInner(e) {
|
|
15104
15104
|
if (this == pt)
|
|
15105
|
-
return
|
|
15105
|
+
return jr;
|
|
15106
15106
|
if (e.inlineContent || !this.local.some(Zn.is))
|
|
15107
15107
|
return this.local;
|
|
15108
15108
|
let t = [];
|
|
@@ -15153,7 +15153,7 @@ class jn {
|
|
|
15153
15153
|
t.push(s[o]);
|
|
15154
15154
|
}
|
|
15155
15155
|
}
|
|
15156
|
-
return t ? rc(r ? t : t.sort(Ar)) :
|
|
15156
|
+
return t ? rc(r ? t : t.sort(Ar)) : jr;
|
|
15157
15157
|
}
|
|
15158
15158
|
// Create a group for the given array of decoration sets, or return
|
|
15159
15159
|
// a single set when possible.
|
|
@@ -15369,7 +15369,7 @@ class Cb {
|
|
|
15369
15369
|
onSelectionChange() {
|
|
15370
15370
|
if (Pu(this.view)) {
|
|
15371
15371
|
if (this.suppressingSelectionUpdates)
|
|
15372
|
-
return
|
|
15372
|
+
return In(this.view);
|
|
15373
15373
|
if (It && Xn <= 11 && !this.view.state.selection.empty) {
|
|
15374
15374
|
let e = this.view.domSelectionRange();
|
|
15375
15375
|
if (e.focusNode && kr(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
|
|
@@ -15425,7 +15425,7 @@ class Cb {
|
|
|
15425
15425
|
}
|
|
15426
15426
|
}
|
|
15427
15427
|
let c = null;
|
|
15428
|
-
s < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && Uo(r) && (c = Ql(e)) && c.eq(Fe.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0,
|
|
15428
|
+
s < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && Uo(r) && (c = Ql(e)) && c.eq(Fe.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, In(e), this.currentSelection.set(r), e.scrollToSelection()) : (s > -1 || i) && (s > -1 && (e.docView.markDirty(s, o), wb(e)), this.handleDOMChange(s, o, l, a), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || In(e), this.currentSelection.set(r));
|
|
15429
15429
|
}
|
|
15430
15430
|
registerMutation(e, t) {
|
|
15431
15431
|
if (t.indexOf(e.target) > -1)
|
|
@@ -15488,7 +15488,7 @@ function Ob(n, e, t) {
|
|
|
15488
15488
|
if (!S || S.size)
|
|
15489
15489
|
break;
|
|
15490
15490
|
}
|
|
15491
|
-
let d = n.state.doc, f = n.someProp("domParser") ||
|
|
15491
|
+
let d = n.state.doc, f = n.someProp("domParser") || si.fromSchema(n.state.schema), p = d.resolve(o), h = null, m = f.parse(r, {
|
|
15492
15492
|
topNode: p.parent,
|
|
15493
15493
|
topMatch: p.parent.contentMatchAt(p.index()),
|
|
15494
15494
|
topOpen: !0,
|
|
@@ -15537,7 +15537,7 @@ function Nb(n, e, t, r, i) {
|
|
|
15537
15537
|
let a = n.state.selection, c = Ob(n, e, t), u = n.state.doc, d = u.slice(c.from, c.to), f, p;
|
|
15538
15538
|
n.input.lastKeyCode === 8 && Date.now() - 100 < n.input.lastKeyCodeTime ? (f = n.state.selection.to, p = "end") : (f = n.state.selection.from, p = "start"), n.input.lastKeyCode = null;
|
|
15539
15539
|
let h = Lb(d.content, c.doc.content, c.from, f, p);
|
|
15540
|
-
if ((
|
|
15540
|
+
if ((li && n.input.lastIOSEnter > Date.now() - 225 || qt) && i.some((B) => B.nodeType == 1 && !Ib.test(B.nodeName)) && (!h || h.endA >= h.endB) && n.someProp("handleKeyDown", (B) => B(n, hr(13, "Enter")))) {
|
|
15541
15541
|
n.input.lastIOSEnter = 0;
|
|
15542
15542
|
return;
|
|
15543
15543
|
}
|
|
@@ -15560,7 +15560,7 @@ function Nb(n, e, t, r, i) {
|
|
|
15560
15560
|
}
|
|
15561
15561
|
n.input.domChangeCount++, n.state.selection.from < n.state.selection.to && h.start == h.endB && n.state.selection instanceof $e && (h.start > n.state.selection.from && h.start <= n.state.selection.from + 2 && n.state.selection.from >= c.from ? h.start = n.state.selection.from : h.endA < n.state.selection.to && h.endA >= n.state.selection.to - 2 && n.state.selection.to <= c.to && (h.endB += n.state.selection.to - h.endA, h.endA = n.state.selection.to)), It && Xn <= 11 && h.endB == h.start + 1 && h.endA == h.start && h.start > c.from && c.doc.textBetween(h.start - c.from - 1, h.start - c.from + 1) == " " && (h.start--, h.endA--, h.endB--);
|
|
15562
15562
|
let m = c.doc.resolveNoCache(h.start - c.from), g = c.doc.resolveNoCache(h.endB - c.from), E = u.resolve(h.start), S = m.sameParent(g) && m.parent.inlineContent && E.end() >= h.endA, x;
|
|
15563
|
-
if ((
|
|
15563
|
+
if ((li && n.input.lastIOSEnter > Date.now() - 225 && (!S || i.some((B) => B.nodeName == "DIV" || B.nodeName == "P")) || !S && m.pos < c.doc.content.size && !m.sameParent(g) && (x = Fe.findFrom(c.doc.resolve(m.pos + 1), 1, !0)) && x.head == g.pos) && n.someProp("handleKeyDown", (B) => B(n, hr(13, "Enter")))) {
|
|
15564
15564
|
n.input.lastIOSEnter = 0;
|
|
15565
15565
|
return;
|
|
15566
15566
|
}
|
|
@@ -15576,7 +15576,7 @@ function Nb(n, e, t, r, i) {
|
|
|
15576
15576
|
let y = h.start, N = h.endA, A, P, $;
|
|
15577
15577
|
if (S) {
|
|
15578
15578
|
if (m.pos == g.pos)
|
|
15579
|
-
It && Xn <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() =>
|
|
15579
|
+
It && Xn <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => In(n), 20)), A = n.state.tr.delete(y, N), P = u.resolve(h.start).marksAcross(u.resolve(h.endA));
|
|
15580
15580
|
else if (
|
|
15581
15581
|
// Adding or removing a mark
|
|
15582
15582
|
h.endA == h.endB && ($ = Db(m.parent.content.cut(m.parentOffset, g.parentOffset), E.parent.content.cut(E.parentOffset, h.endA - E.start())))
|
|
@@ -15744,7 +15744,7 @@ class _b {
|
|
|
15744
15744
|
let h = mt ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
15745
15745
|
(s || !this.docView.update(e.doc, c, a, this)) && (this.docView.updateOuterDeco([]), this.docView.destroy(), this.docView = Iu(e.doc, c, a, this.dom, this)), h && !this.trackWrites && (p = !0);
|
|
15746
15746
|
}
|
|
15747
|
-
p || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Hy(this)) ?
|
|
15747
|
+
p || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Hy(this)) ? In(this, p) : (Mh(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
15748
15748
|
}
|
|
15749
15749
|
this.updatePluginViews(i), !((r = this.dragging) === null || r === void 0) && r.node && !i.doc.eq(e.doc) && this.updateDraggedNode(this.dragging, i), u == "reset" ? this.dom.scrollTop = 0 : u == "to selection" ? this.scrollToSelection() : f && yy(f);
|
|
15750
15750
|
}
|
|
@@ -15832,7 +15832,7 @@ class _b {
|
|
|
15832
15832
|
Focus the editor.
|
|
15833
15833
|
*/
|
|
15834
15834
|
focus() {
|
|
15835
|
-
this.domObserver.stop(), this.editable && by(this.dom),
|
|
15835
|
+
this.domObserver.stop(), this.editable && by(this.dom), In(this), this.domObserver.start();
|
|
15836
15836
|
}
|
|
15837
15837
|
/**
|
|
15838
15838
|
Get the document root in which the editor exists. This will
|
|
@@ -16202,19 +16202,19 @@ const Yb = (n, e, t) => {
|
|
|
16202
16202
|
let s = i.nodeBefore;
|
|
16203
16203
|
if (!s.type.spec.isolating && Zh(n, i, e))
|
|
16204
16204
|
return !0;
|
|
16205
|
-
if (r.parent.content.size == 0 && (
|
|
16205
|
+
if (r.parent.content.size == 0 && (ci(s, "end") || Ce.isSelectable(s))) {
|
|
16206
16206
|
let o = Gl(n.doc, r.before(), r.after(), me.empty);
|
|
16207
16207
|
if (o && o.slice.size < o.to - o.from) {
|
|
16208
16208
|
if (e) {
|
|
16209
16209
|
let l = n.tr.step(o);
|
|
16210
|
-
l.setSelection(
|
|
16210
|
+
l.setSelection(ci(s, "end") ? Fe.findFrom(l.doc.resolve(l.mapping.map(i.pos, -1)), -1) : Ce.create(l.doc, i.pos - s.nodeSize)), e(l.scrollIntoView());
|
|
16211
16211
|
}
|
|
16212
16212
|
return !0;
|
|
16213
16213
|
}
|
|
16214
16214
|
}
|
|
16215
16215
|
return s.isAtom && i.depth == r.depth - 1 ? (e && e(n.tr.delete(i.pos - s.nodeSize, i.pos).scrollIntoView()), !0) : !1;
|
|
16216
16216
|
};
|
|
16217
|
-
function
|
|
16217
|
+
function ci(n, e, t = !1) {
|
|
16218
16218
|
for (let r = n; r; r = e == "start" ? r.firstChild : r.lastChild) {
|
|
16219
16219
|
if (r.isTextblock)
|
|
16220
16220
|
return !0;
|
|
@@ -16259,12 +16259,12 @@ const Qb = (n, e, t) => {
|
|
|
16259
16259
|
let s = i.nodeAfter;
|
|
16260
16260
|
if (Zh(n, i, e))
|
|
16261
16261
|
return !0;
|
|
16262
|
-
if (r.parent.content.size == 0 && (
|
|
16262
|
+
if (r.parent.content.size == 0 && (ci(s, "start") || Ce.isSelectable(s))) {
|
|
16263
16263
|
let o = Gl(n.doc, r.before(), r.after(), me.empty);
|
|
16264
16264
|
if (o && o.slice.size < o.to - o.from) {
|
|
16265
16265
|
if (e) {
|
|
16266
16266
|
let l = n.tr.step(o);
|
|
16267
|
-
l.setSelection(
|
|
16267
|
+
l.setSelection(ci(s, "start") ? Fe.findFrom(l.doc.resolve(l.mapping.map(i.pos)), 1) : Ce.create(l.doc, l.mapping.map(i.pos))), e(l.scrollIntoView());
|
|
16268
16268
|
}
|
|
16269
16269
|
return !0;
|
|
16270
16270
|
}
|
|
@@ -16361,7 +16361,7 @@ const r2 = (n, e) => {
|
|
|
16361
16361
|
return !1;
|
|
16362
16362
|
if (t.depth > 1 && t.after() != t.end(-1)) {
|
|
16363
16363
|
let s = t.before();
|
|
16364
|
-
if (
|
|
16364
|
+
if (ei(n.doc, s))
|
|
16365
16365
|
return e && e(n.tr.split(s).scrollIntoView()), !0;
|
|
16366
16366
|
}
|
|
16367
16367
|
let r = t.blockRange(), i = r && vi(r);
|
|
@@ -16395,7 +16395,7 @@ function Zh(n, e, t) {
|
|
|
16395
16395
|
let a = Fe.findFrom(e, 1), c = a && a.$from.blockRange(a.$to), u = c && vi(c);
|
|
16396
16396
|
if (u != null && u >= e.depth)
|
|
16397
16397
|
return t && t(n.tr.lift(c, u).scrollIntoView()), !0;
|
|
16398
|
-
if (l &&
|
|
16398
|
+
if (l && ci(i, "start", !0) && ci(r, "end")) {
|
|
16399
16399
|
let d = r, f = [];
|
|
16400
16400
|
for (; f.push(d), !d.isTextblock; )
|
|
16401
16401
|
d = d.lastChild;
|
|
@@ -16489,7 +16489,7 @@ function f2(n, e, t, r, i) {
|
|
|
16489
16489
|
t[u].type == i && (o = u + 1);
|
|
16490
16490
|
let l = t.length - o, a = e.start + t.length - (r ? 2 : 0), c = e.parent;
|
|
16491
16491
|
for (let u = e.startIndex, d = e.endIndex, f = !0; u < d; u++, f = !1)
|
|
16492
|
-
!f &&
|
|
16492
|
+
!f && ei(n.doc, a, l) && (n.split(a, l), a += 2 * l), a += c.child(u).nodeSize;
|
|
16493
16493
|
return n;
|
|
16494
16494
|
}
|
|
16495
16495
|
function h2(n) {
|
|
@@ -17090,9 +17090,9 @@ function M2(n) {
|
|
|
17090
17090
|
const e = n.filter((t, r) => n.indexOf(t) !== r);
|
|
17091
17091
|
return [...new Set(e)];
|
|
17092
17092
|
}
|
|
17093
|
-
class
|
|
17093
|
+
class Zr {
|
|
17094
17094
|
constructor(e, t) {
|
|
17095
|
-
this.splittableMarks = [], this.editor = t, this.extensions =
|
|
17095
|
+
this.splittableMarks = [], this.editor = t, this.extensions = Zr.resolve(e), this.schema = E2(this.extensions, t), this.extensions.forEach((r) => {
|
|
17096
17096
|
var i;
|
|
17097
17097
|
this.editor.extensionStorage[r.name] = r.storage;
|
|
17098
17098
|
const s = {
|
|
@@ -17122,7 +17122,7 @@ class Qr {
|
|
|
17122
17122
|
});
|
|
17123
17123
|
}
|
|
17124
17124
|
static resolve(e) {
|
|
17125
|
-
const t =
|
|
17125
|
+
const t = Zr.sort(Zr.flatten(e)), r = M2(t.map((i) => i.name));
|
|
17126
17126
|
return r.length && console.warn(`[tiptap warn]: Duplicate extension names found: [${r.map((i) => `'${i}'`).join(", ")}]. This can lead to issues.`), t;
|
|
17127
17127
|
}
|
|
17128
17128
|
static flatten(e) {
|
|
@@ -17157,7 +17157,7 @@ class Qr {
|
|
|
17157
17157
|
}, {});
|
|
17158
17158
|
}
|
|
17159
17159
|
get plugins() {
|
|
17160
|
-
const { editor: e } = this, t =
|
|
17160
|
+
const { editor: e } = this, t = Zr.sort([...this.extensions].reverse()), r = [], i = [], s = t.map((o) => {
|
|
17161
17161
|
const l = {
|
|
17162
17162
|
name: o.name,
|
|
17163
17163
|
options: o.options,
|
|
@@ -17166,7 +17166,7 @@ class Qr {
|
|
|
17166
17166
|
type: ka(o.name, this.schema)
|
|
17167
17167
|
}, a = [], c = ve(o, "addKeyboardShortcuts", l);
|
|
17168
17168
|
let u = {};
|
|
17169
|
-
if (o.type === "mark" && o.config.exitable && (u.ArrowRight = () =>
|
|
17169
|
+
if (o.type === "mark" && o.config.exitable && (u.ArrowRight = () => Sn.handleExit({ editor: e, mark: o })), c) {
|
|
17170
17170
|
const m = Object.fromEntries(Object.entries(c()).map(([g, E]) => [g, () => E({ editor: e })]));
|
|
17171
17171
|
u = { ...u, ...m };
|
|
17172
17172
|
}
|
|
@@ -17420,7 +17420,7 @@ const W2 = (n, e = {}) => ({ tr: t, state: r, dispatch: i }) => {
|
|
|
17420
17420
|
function oc(n) {
|
|
17421
17421
|
return n instanceof $e;
|
|
17422
17422
|
}
|
|
17423
|
-
function
|
|
17423
|
+
function Mn(n = 0, e = 0, t = 0) {
|
|
17424
17424
|
return Math.min(Math.max(n, e), t);
|
|
17425
17425
|
}
|
|
17426
17426
|
function sp(n, e = null) {
|
|
@@ -17432,7 +17432,7 @@ function sp(n, e = null) {
|
|
|
17432
17432
|
if (e === "end")
|
|
17433
17433
|
return r;
|
|
17434
17434
|
const i = t.from, s = r.to;
|
|
17435
|
-
return e === "all" ? $e.create(n,
|
|
17435
|
+
return e === "all" ? $e.create(n, Mn(0, i, s), Mn(n.content.size, i, s)) : $e.create(n, Mn(e, i, s), Mn(e, i, s));
|
|
17436
17436
|
}
|
|
17437
17437
|
function ac() {
|
|
17438
17438
|
return [
|
|
@@ -17477,7 +17477,7 @@ function Xs(n, e, t) {
|
|
|
17477
17477
|
return console.warn("[tiptap warn]: Invalid content.", "Passed value:", n, "Error:", r), Xs("", e, t);
|
|
17478
17478
|
}
|
|
17479
17479
|
if (typeof n == "string") {
|
|
17480
|
-
const r =
|
|
17480
|
+
const r = si.fromSchema(e);
|
|
17481
17481
|
return t.slice ? r.parseSlice(id(n), t.parseOptions).content : r.parse(id(n), t.parseOptions);
|
|
17482
17482
|
}
|
|
17483
17483
|
return Xs("", e, t);
|
|
@@ -17809,7 +17809,7 @@ function DE(n) {
|
|
|
17809
17809
|
return n instanceof Ce;
|
|
17810
17810
|
}
|
|
17811
17811
|
function cp(n, e, t) {
|
|
17812
|
-
const i = n.state.doc.content.size, s =
|
|
17812
|
+
const i = n.state.doc.content.size, s = Mn(e, 0, i), o = Mn(t, 0, i), l = n.coordsAtPos(s), a = n.coordsAtPos(o, -1), c = Math.min(l.top, a.top), u = Math.max(l.bottom, a.bottom), d = Math.min(l.left, a.left), f = Math.max(l.right, a.right), p = f - d, h = u - c, E = {
|
|
17813
17813
|
top: c,
|
|
17814
17814
|
bottom: u,
|
|
17815
17815
|
left: d,
|
|
@@ -17874,13 +17874,13 @@ const LE = (n, e = {}) => ({ tr: t, state: r, dispatch: i }) => {
|
|
|
17874
17874
|
return s.isTextblock ? i().command(({ commands: o }) => ed(s, e)(t) ? !0 : o.clearNodes()).command(({ state: o }) => ed(s, e)(o, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
|
|
17875
17875
|
}, FE = (n) => ({ tr: e, dispatch: t }) => {
|
|
17876
17876
|
if (t) {
|
|
17877
|
-
const { doc: r } = e, i =
|
|
17877
|
+
const { doc: r } = e, i = Mn(n, 0, r.content.size), s = Ce.create(r, i);
|
|
17878
17878
|
e.setSelection(s);
|
|
17879
17879
|
}
|
|
17880
17880
|
return !0;
|
|
17881
17881
|
}, $E = (n) => ({ tr: e, dispatch: t }) => {
|
|
17882
17882
|
if (t) {
|
|
17883
|
-
const { doc: r } = e, { from: i, to: s } = typeof n == "number" ? { from: n, to: n } : n, o = $e.atStart(r).from, l = $e.atEnd(r).to, a =
|
|
17883
|
+
const { doc: r } = e, { from: i, to: s } = typeof n == "number" ? { from: n, to: n } : n, o = $e.atStart(r).from, l = $e.atEnd(r).to, a = Mn(i, o, l), c = Mn(s, o, l), u = $e.create(r, a, c);
|
|
17884
17884
|
e.setSelection(u);
|
|
17885
17885
|
}
|
|
17886
17886
|
return !0;
|
|
@@ -17898,7 +17898,7 @@ function ad(n, e) {
|
|
|
17898
17898
|
const zE = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, editor: i }) => {
|
|
17899
17899
|
const { selection: s, doc: o } = e, { $from: l, $to: a } = s, c = i.extensionManager.attributes, u = Is(c, l.node().type.name, l.node().attrs);
|
|
17900
17900
|
if (s instanceof Ce && s.node.isBlock)
|
|
17901
|
-
return !l.parentOffset || !
|
|
17901
|
+
return !l.parentOffset || !ei(o, l.pos) ? !1 : (r && (n && ad(t, i.extensionManager.splittableMarks), e.split(l.pos).scrollIntoView()), !0);
|
|
17902
17902
|
if (!l.parent.isBlock)
|
|
17903
17903
|
return !1;
|
|
17904
17904
|
if (r) {
|
|
@@ -17910,8 +17910,8 @@ const zE = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
|
|
|
17910
17910
|
type: f,
|
|
17911
17911
|
attrs: u
|
|
17912
17912
|
}
|
|
17913
|
-
] : void 0, h =
|
|
17914
|
-
if (!p && !h &&
|
|
17913
|
+
] : void 0, h = ei(e.doc, e.mapping.map(l.pos), 1, p);
|
|
17914
|
+
if (!p && !h && ei(e.doc, e.mapping.map(l.pos), 1, f ? [{ type: f }] : void 0) && (h = !0, p = f ? [
|
|
17915
17915
|
{
|
|
17916
17916
|
type: f,
|
|
17917
17917
|
attrs: u
|
|
@@ -17959,7 +17959,7 @@ const zE = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
|
|
|
17959
17959
|
{ type: o, attrs: p },
|
|
17960
17960
|
{ type: f, attrs: h }
|
|
17961
17961
|
] : [{ type: o, attrs: p }];
|
|
17962
|
-
if (!
|
|
17962
|
+
if (!ei(e.doc, l.pos, 2))
|
|
17963
17963
|
return !1;
|
|
17964
17964
|
if (r) {
|
|
17965
17965
|
const { selection: g, storedMarks: E } = t, { splittableMarks: S } = i.extensionManager, x = E || g.$to.parentOffset && g.$from.marks();
|
|
@@ -18473,7 +18473,7 @@ let a5 = class extends v2 {
|
|
|
18473
18473
|
*/
|
|
18474
18474
|
createExtensionManager() {
|
|
18475
18475
|
const t = [...this.options.enableCoreExtensions ? Object.values(i5) : [], ...this.options.extensions].filter((r) => ["extension", "node", "mark"].includes(r == null ? void 0 : r.type));
|
|
18476
|
-
this.extensionManager = new
|
|
18476
|
+
this.extensionManager = new Zr(t, this);
|
|
18477
18477
|
}
|
|
18478
18478
|
/**
|
|
18479
18479
|
* Creates an command manager.
|
|
@@ -18497,7 +18497,7 @@ let a5 = class extends v2 {
|
|
|
18497
18497
|
this.view = new _b(this.options.element, {
|
|
18498
18498
|
...this.options.editorProps,
|
|
18499
18499
|
dispatchTransaction: this.dispatchTransaction.bind(this),
|
|
18500
|
-
state:
|
|
18500
|
+
state: Qr.create({
|
|
18501
18501
|
doc: e,
|
|
18502
18502
|
selection: t || void 0
|
|
18503
18503
|
})
|
|
@@ -18676,7 +18676,7 @@ function Zs(n) {
|
|
|
18676
18676
|
}
|
|
18677
18677
|
});
|
|
18678
18678
|
}
|
|
18679
|
-
class
|
|
18679
|
+
class Sn {
|
|
18680
18680
|
constructor(e = {}) {
|
|
18681
18681
|
this.type = "mark", this.name = "mark", this.parent = null, this.child = null, this.config = {
|
|
18682
18682
|
name: this.name,
|
|
@@ -18692,7 +18692,7 @@ class En {
|
|
|
18692
18692
|
})) || {};
|
|
18693
18693
|
}
|
|
18694
18694
|
static create(e = {}) {
|
|
18695
|
-
return new
|
|
18695
|
+
return new Sn(e);
|
|
18696
18696
|
}
|
|
18697
18697
|
configure(e = {}) {
|
|
18698
18698
|
const t = this.extend();
|
|
@@ -18702,7 +18702,7 @@ class En {
|
|
|
18702
18702
|
})), t;
|
|
18703
18703
|
}
|
|
18704
18704
|
extend(e = {}) {
|
|
18705
|
-
const t = new
|
|
18705
|
+
const t = new Sn(e);
|
|
18706
18706
|
return t.parent = this, this.child = t, t.name = e.name ? e.name : t.parent.name, e.defaultOptions && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`), t.options = Pe(ve(t, "addOptions", {
|
|
18707
18707
|
name: t.name
|
|
18708
18708
|
})), t.storage = Pe(ve(t, "addStorage", {
|
|
@@ -18775,12 +18775,12 @@ function Yi(n) {
|
|
|
18775
18775
|
}
|
|
18776
18776
|
});
|
|
18777
18777
|
}
|
|
18778
|
-
var St = "top", Pt = "bottom", Ft = "right", Tt = "left", is = "auto", yi = [St, Pt, Ft, Tt], Mr = "start",
|
|
18779
|
-
return n.concat([e + "-" + Mr, e + "-" +
|
|
18778
|
+
var St = "top", Pt = "bottom", Ft = "right", Tt = "left", is = "auto", yi = [St, Pt, Ft, Tt], Mr = "start", ui = "end", up = "clippingParents", uc = "viewport", Wr = "popper", dp = "reference", Tl = /* @__PURE__ */ yi.reduce(function(n, e) {
|
|
18779
|
+
return n.concat([e + "-" + Mr, e + "-" + ui]);
|
|
18780
18780
|
}, []), dc = /* @__PURE__ */ [].concat(yi, [is]).reduce(function(n, e) {
|
|
18781
|
-
return n.concat([e, e + "-" + Mr, e + "-" +
|
|
18781
|
+
return n.concat([e, e + "-" + Mr, e + "-" + ui]);
|
|
18782
18782
|
}, []), fp = "beforeRead", hp = "read", pp = "afterRead", mp = "beforeMain", gp = "main", vp = "afterMain", yp = "beforeWrite", bp = "write", Ep = "afterWrite", qs = [fp, hp, pp, mp, gp, vp, yp, bp, Ep];
|
|
18783
|
-
function
|
|
18783
|
+
function Tn(n) {
|
|
18784
18784
|
return n ? (n.nodeName || "").toLowerCase() : null;
|
|
18785
18785
|
}
|
|
18786
18786
|
function $t(n) {
|
|
@@ -18810,7 +18810,7 @@ function l5(n) {
|
|
|
18810
18810
|
var e = n.state;
|
|
18811
18811
|
Object.keys(e.elements).forEach(function(t) {
|
|
18812
18812
|
var r = e.styles[t] || {}, i = e.attributes[t] || {}, s = e.elements[t];
|
|
18813
|
-
!_t(s) || !
|
|
18813
|
+
!_t(s) || !Tn(s) || (Object.assign(s.style, r), Object.keys(i).forEach(function(o) {
|
|
18814
18814
|
var l = i[o];
|
|
18815
18815
|
l === !1 ? s.removeAttribute(o) : s.setAttribute(o, l === !0 ? "" : l);
|
|
18816
18816
|
}));
|
|
@@ -18834,7 +18834,7 @@ function c5(n) {
|
|
|
18834
18834
|
var i = e.elements[r], s = e.attributes[r] || {}, o = Object.keys(e.styles.hasOwnProperty(r) ? e.styles[r] : t[r]), l = o.reduce(function(a, c) {
|
|
18835
18835
|
return a[c] = "", a;
|
|
18836
18836
|
}, {});
|
|
18837
|
-
!_t(i) || !
|
|
18837
|
+
!_t(i) || !Tn(i) || (Object.assign(i.style, l), Object.keys(s).forEach(function(a) {
|
|
18838
18838
|
i.removeAttribute(a);
|
|
18839
18839
|
}));
|
|
18840
18840
|
});
|
|
@@ -18851,7 +18851,7 @@ const Zo = {
|
|
|
18851
18851
|
function nn(n) {
|
|
18852
18852
|
return n.split("-")[0];
|
|
18853
18853
|
}
|
|
18854
|
-
var Cr = Math.max, eo = Math.min,
|
|
18854
|
+
var Cr = Math.max, eo = Math.min, di = Math.round;
|
|
18855
18855
|
function xl() {
|
|
18856
18856
|
var n = navigator.userAgentData;
|
|
18857
18857
|
return n != null && n.brands && Array.isArray(n.brands) ? n.brands.map(function(e) {
|
|
@@ -18861,10 +18861,10 @@ function xl() {
|
|
|
18861
18861
|
function Sp() {
|
|
18862
18862
|
return !/^((?!chrome|android).)*safari/i.test(xl());
|
|
18863
18863
|
}
|
|
18864
|
-
function
|
|
18864
|
+
function fi(n, e, t) {
|
|
18865
18865
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
18866
18866
|
var r = n.getBoundingClientRect(), i = 1, s = 1;
|
|
18867
|
-
e && _t(n) && (i = n.offsetWidth > 0 &&
|
|
18867
|
+
e && _t(n) && (i = n.offsetWidth > 0 && di(r.width) / n.offsetWidth || 1, s = n.offsetHeight > 0 && di(r.height) / n.offsetHeight || 1);
|
|
18868
18868
|
var o = Ir(n) ? $t(n) : window, l = o.visualViewport, a = !Sp() && t, c = (r.left + (a && l ? l.offsetLeft : 0)) / i, u = (r.top + (a && l ? l.offsetTop : 0)) / s, d = r.width / i, f = r.height / s;
|
|
18869
18869
|
return {
|
|
18870
18870
|
width: d,
|
|
@@ -18878,7 +18878,7 @@ function di(n, e, t) {
|
|
|
18878
18878
|
};
|
|
18879
18879
|
}
|
|
18880
18880
|
function hc(n) {
|
|
18881
|
-
var e =
|
|
18881
|
+
var e = fi(n), t = n.offsetWidth, r = n.offsetHeight;
|
|
18882
18882
|
return Math.abs(e.width - t) <= 1 && (t = e.width), Math.abs(e.height - r) <= 1 && (r = e.height), {
|
|
18883
18883
|
x: n.offsetLeft,
|
|
18884
18884
|
y: n.offsetTop,
|
|
@@ -18904,7 +18904,7 @@ function sn(n) {
|
|
|
18904
18904
|
return $t(n).getComputedStyle(n);
|
|
18905
18905
|
}
|
|
18906
18906
|
function u5(n) {
|
|
18907
|
-
return ["table", "td", "th"].indexOf(
|
|
18907
|
+
return ["table", "td", "th"].indexOf(Tn(n)) >= 0;
|
|
18908
18908
|
}
|
|
18909
18909
|
function ar(n) {
|
|
18910
18910
|
return ((Ir(n) ? n.ownerDocument : (
|
|
@@ -18913,7 +18913,7 @@ function ar(n) {
|
|
|
18913
18913
|
)) || window.document).documentElement;
|
|
18914
18914
|
}
|
|
18915
18915
|
function qo(n) {
|
|
18916
|
-
return
|
|
18916
|
+
return Tn(n) === "html" ? n : (
|
|
18917
18917
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
18918
18918
|
// $FlowFixMe[incompatible-return]
|
|
18919
18919
|
// $FlowFixMe[prop-missing]
|
|
@@ -18936,7 +18936,7 @@ function d5(n) {
|
|
|
18936
18936
|
return null;
|
|
18937
18937
|
}
|
|
18938
18938
|
var i = qo(n);
|
|
18939
|
-
for (fc(i) && (i = i.host); _t(i) && ["html", "body"].indexOf(
|
|
18939
|
+
for (fc(i) && (i = i.host); _t(i) && ["html", "body"].indexOf(Tn(i)) < 0; ) {
|
|
18940
18940
|
var s = sn(i);
|
|
18941
18941
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || e && s.willChange === "filter" || e && s.filter && s.filter !== "none")
|
|
18942
18942
|
return i;
|
|
@@ -18947,7 +18947,7 @@ function d5(n) {
|
|
|
18947
18947
|
function ss(n) {
|
|
18948
18948
|
for (var e = $t(n), t = ld(n); t && u5(t) && sn(t).position === "static"; )
|
|
18949
18949
|
t = ld(t);
|
|
18950
|
-
return t && (
|
|
18950
|
+
return t && (Tn(t) === "html" || Tn(t) === "body" && sn(t).position === "static") ? e : t || d5(n) || e;
|
|
18951
18951
|
}
|
|
18952
18952
|
function pc(n) {
|
|
18953
18953
|
return ["top", "bottom"].indexOf(n) >= 0 ? "x" : "y";
|
|
@@ -19006,7 +19006,7 @@ const wp = {
|
|
|
19006
19006
|
requires: ["popperOffsets"],
|
|
19007
19007
|
requiresIfExists: ["preventOverflow"]
|
|
19008
19008
|
};
|
|
19009
|
-
function
|
|
19009
|
+
function hi(n) {
|
|
19010
19010
|
return n.split("-")[1];
|
|
19011
19011
|
}
|
|
19012
19012
|
var g5 = {
|
|
@@ -19018,8 +19018,8 @@ var g5 = {
|
|
|
19018
19018
|
function v5(n, e) {
|
|
19019
19019
|
var t = n.x, r = n.y, i = e.devicePixelRatio || 1;
|
|
19020
19020
|
return {
|
|
19021
|
-
x:
|
|
19022
|
-
y:
|
|
19021
|
+
x: di(t * i) / i || 0,
|
|
19022
|
+
y: di(r * i) / i || 0
|
|
19023
19023
|
};
|
|
19024
19024
|
}
|
|
19025
19025
|
function cd(n) {
|
|
@@ -19034,7 +19034,7 @@ function cd(n) {
|
|
|
19034
19034
|
var E = o.hasOwnProperty("x"), S = o.hasOwnProperty("y"), x = Tt, y = St, N = window;
|
|
19035
19035
|
if (c) {
|
|
19036
19036
|
var A = ss(t), P = "clientHeight", $ = "clientWidth";
|
|
19037
|
-
if (A === $t(t) && (A = ar(t), sn(A).position !== "static" && l === "absolute" && (P = "scrollHeight", $ = "scrollWidth")), A = A, i === St || (i === Tt || i === Ft) && s ===
|
|
19037
|
+
if (A === $t(t) && (A = ar(t), sn(A).position !== "static" && l === "absolute" && (P = "scrollHeight", $ = "scrollWidth")), A = A, i === St || (i === Tt || i === Ft) && s === ui) {
|
|
19038
19038
|
y = Pt;
|
|
19039
19039
|
var B = d && A === N && N.visualViewport ? N.visualViewport.height : (
|
|
19040
19040
|
// $FlowFixMe[prop-missing]
|
|
@@ -19042,7 +19042,7 @@ function cd(n) {
|
|
|
19042
19042
|
);
|
|
19043
19043
|
m -= B - r.height, m *= a ? 1 : -1;
|
|
19044
19044
|
}
|
|
19045
|
-
if (i === Tt || (i === St || i === Pt) && s ===
|
|
19045
|
+
if (i === Tt || (i === St || i === Pt) && s === ui) {
|
|
19046
19046
|
x = Ft;
|
|
19047
19047
|
var F = d && A === N && N.visualViewport ? N.visualViewport.width : (
|
|
19048
19048
|
// $FlowFixMe[prop-missing]
|
|
@@ -19080,7 +19080,7 @@ function y5(n) {
|
|
|
19080
19080
|
}
|
|
19081
19081
|
var u = {
|
|
19082
19082
|
placement: nn(e.placement),
|
|
19083
|
-
variation:
|
|
19083
|
+
variation: hi(e.placement),
|
|
19084
19084
|
popper: e.elements.popper,
|
|
19085
19085
|
popperRect: e.rects.popper,
|
|
19086
19086
|
gpuAcceleration: i,
|
|
@@ -19157,7 +19157,7 @@ function vc(n) {
|
|
|
19157
19157
|
};
|
|
19158
19158
|
}
|
|
19159
19159
|
function yc(n) {
|
|
19160
|
-
return
|
|
19160
|
+
return fi(ar(n)).left + vc(n).scrollLeft;
|
|
19161
19161
|
}
|
|
19162
19162
|
function T5(n, e) {
|
|
19163
19163
|
var t = $t(n), r = ar(n), i = t.visualViewport, s = r.clientWidth, o = r.clientHeight, l = 0, a = 0;
|
|
@@ -19187,7 +19187,7 @@ function bc(n) {
|
|
|
19187
19187
|
return /auto|scroll|overlay|hidden/.test(t + i + r);
|
|
19188
19188
|
}
|
|
19189
19189
|
function kp(n) {
|
|
19190
|
-
return ["html", "body", "#document"].indexOf(
|
|
19190
|
+
return ["html", "body", "#document"].indexOf(Tn(n)) >= 0 ? n.ownerDocument.body : _t(n) && bc(n) ? n : kp(qo(n));
|
|
19191
19191
|
}
|
|
19192
19192
|
function Pi(n, e) {
|
|
19193
19193
|
var t;
|
|
@@ -19207,7 +19207,7 @@ function Al(n) {
|
|
|
19207
19207
|
});
|
|
19208
19208
|
}
|
|
19209
19209
|
function A5(n, e) {
|
|
19210
|
-
var t =
|
|
19210
|
+
var t = fi(n, !1, e === "fixed");
|
|
19211
19211
|
return t.top = t.top + n.clientTop, t.left = t.left + n.clientLeft, t.bottom = t.top + n.clientHeight, t.right = t.left + n.clientWidth, t.width = n.clientWidth, t.height = n.clientHeight, t.x = t.left, t.y = t.top, t;
|
|
19212
19212
|
}
|
|
19213
19213
|
function dd(n, e, t) {
|
|
@@ -19216,7 +19216,7 @@ function dd(n, e, t) {
|
|
|
19216
19216
|
function C5(n) {
|
|
19217
19217
|
var e = Pi(qo(n)), t = ["absolute", "fixed"].indexOf(sn(n).position) >= 0, r = t && _t(n) ? ss(n) : n;
|
|
19218
19218
|
return Ir(r) ? e.filter(function(i) {
|
|
19219
|
-
return Ir(i) && Tp(i, r) &&
|
|
19219
|
+
return Ir(i) && Tp(i, r) && Tn(i) !== "body";
|
|
19220
19220
|
}) : [];
|
|
19221
19221
|
}
|
|
19222
19222
|
function w5(n, e, t, r) {
|
|
@@ -19227,7 +19227,7 @@ function w5(n, e, t, r) {
|
|
|
19227
19227
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
19228
19228
|
}
|
|
19229
19229
|
function Op(n) {
|
|
19230
|
-
var e = n.reference, t = n.element, r = n.placement, i = r ? nn(r) : null, s = r ?
|
|
19230
|
+
var e = n.reference, t = n.element, r = n.placement, i = r ? nn(r) : null, s = r ? hi(r) : null, o = e.x + e.width / 2 - t.width / 2, l = e.y + e.height / 2 - t.height / 2, a;
|
|
19231
19231
|
switch (i) {
|
|
19232
19232
|
case St:
|
|
19233
19233
|
a = {
|
|
@@ -19266,27 +19266,27 @@ function Op(n) {
|
|
|
19266
19266
|
case Mr:
|
|
19267
19267
|
a[c] = a[c] - (e[u] / 2 - t[u] / 2);
|
|
19268
19268
|
break;
|
|
19269
|
-
case
|
|
19269
|
+
case ui:
|
|
19270
19270
|
a[c] = a[c] + (e[u] / 2 - t[u] / 2);
|
|
19271
19271
|
break;
|
|
19272
19272
|
}
|
|
19273
19273
|
}
|
|
19274
19274
|
return a;
|
|
19275
19275
|
}
|
|
19276
|
-
function
|
|
19276
|
+
function pi(n, e) {
|
|
19277
19277
|
e === void 0 && (e = {});
|
|
19278
|
-
var t = e, r = t.placement, i = r === void 0 ? n.placement : r, s = t.strategy, o = s === void 0 ? n.strategy : s, l = t.boundary, a = l === void 0 ? up : l, c = t.rootBoundary, u = c === void 0 ? uc : c, d = t.elementContext, f = d === void 0 ?
|
|
19278
|
+
var t = e, r = t.placement, i = r === void 0 ? n.placement : r, s = t.strategy, o = s === void 0 ? n.strategy : s, l = t.boundary, a = l === void 0 ? up : l, c = t.rootBoundary, u = c === void 0 ? uc : c, d = t.elementContext, f = d === void 0 ? Wr : d, p = t.altBoundary, h = p === void 0 ? !1 : p, m = t.padding, g = m === void 0 ? 0 : m, E = Ap(typeof g != "number" ? g : Cp(g, yi)), S = f === Wr ? dp : Wr, x = n.rects.popper, y = n.elements[h ? S : f], N = w5(Ir(y) ? y : y.contextElement || ar(n.elements.popper), a, u, o), A = fi(n.elements.reference), P = Op({
|
|
19279
19279
|
reference: A,
|
|
19280
19280
|
element: x,
|
|
19281
19281
|
strategy: "absolute",
|
|
19282
19282
|
placement: i
|
|
19283
|
-
}), $ = Al(Object.assign({}, x, P)), B = f ===
|
|
19283
|
+
}), $ = Al(Object.assign({}, x, P)), B = f === Wr ? $ : A, F = {
|
|
19284
19284
|
top: N.top - B.top + E.top,
|
|
19285
19285
|
bottom: B.bottom - N.bottom + E.bottom,
|
|
19286
19286
|
left: N.left - B.left + E.left,
|
|
19287
19287
|
right: B.right - N.right + E.right
|
|
19288
19288
|
}, _ = n.modifiersData.offset;
|
|
19289
|
-
if (f ===
|
|
19289
|
+
if (f === Wr && _) {
|
|
19290
19290
|
var L = _[i];
|
|
19291
19291
|
Object.keys(F).forEach(function(V) {
|
|
19292
19292
|
var G = [Ft, Pt].indexOf(V) >= 0 ? 1 : -1, J = [St, Pt].indexOf(V) >= 0 ? "y" : "x";
|
|
@@ -19297,14 +19297,14 @@ function hi(n, e) {
|
|
|
19297
19297
|
}
|
|
19298
19298
|
function k5(n, e) {
|
|
19299
19299
|
e === void 0 && (e = {});
|
|
19300
|
-
var t = e, r = t.placement, i = t.boundary, s = t.rootBoundary, o = t.padding, l = t.flipVariations, a = t.allowedAutoPlacements, c = a === void 0 ? dc : a, u =
|
|
19301
|
-
return
|
|
19300
|
+
var t = e, r = t.placement, i = t.boundary, s = t.rootBoundary, o = t.padding, l = t.flipVariations, a = t.allowedAutoPlacements, c = a === void 0 ? dc : a, u = hi(r), d = u ? l ? Tl : Tl.filter(function(h) {
|
|
19301
|
+
return hi(h) === u;
|
|
19302
19302
|
}) : yi, f = d.filter(function(h) {
|
|
19303
19303
|
return c.indexOf(h) >= 0;
|
|
19304
19304
|
});
|
|
19305
19305
|
f.length === 0 && (f = d, process.env.NODE_ENV !== "production" && console.error(["Popper: The `allowedAutoPlacements` option did not allow any", "placements. Ensure the `placement` option matches the variation", "of the allowed placements.", 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(" ")));
|
|
19306
19306
|
var p = f.reduce(function(h, m) {
|
|
19307
|
-
return h[m] =
|
|
19307
|
+
return h[m] = pi(n, {
|
|
19308
19308
|
placement: m,
|
|
19309
19309
|
boundary: i,
|
|
19310
19310
|
rootBoundary: s,
|
|
@@ -19334,7 +19334,7 @@ function M5(n) {
|
|
|
19334
19334
|
allowedAutoPlacements: m
|
|
19335
19335
|
}) : Oe);
|
|
19336
19336
|
}, []), N = e.rects.reference, A = e.rects.popper, P = /* @__PURE__ */ new Map(), $ = !0, B = y[0], F = 0; F < y.length; F++) {
|
|
19337
|
-
var _ = y[F], L = nn(_), V =
|
|
19337
|
+
var _ = y[F], L = nn(_), V = hi(_) === Mr, G = [St, Pt].indexOf(L) >= 0, J = G ? "width" : "height", X = pi(e, {
|
|
19338
19338
|
placement: _,
|
|
19339
19339
|
boundary: u,
|
|
19340
19340
|
rootBoundary: d,
|
|
@@ -19397,9 +19397,9 @@ function hd(n) {
|
|
|
19397
19397
|
});
|
|
19398
19398
|
}
|
|
19399
19399
|
function I5(n) {
|
|
19400
|
-
var e = n.state, t = n.name, r = e.rects.reference, i = e.rects.popper, s = e.modifiersData.preventOverflow, o =
|
|
19400
|
+
var e = n.state, t = n.name, r = e.rects.reference, i = e.rects.popper, s = e.modifiersData.preventOverflow, o = pi(e, {
|
|
19401
19401
|
elementContext: "reference"
|
|
19402
|
-
}), l =
|
|
19402
|
+
}), l = pi(e, {
|
|
19403
19403
|
altBoundary: !0
|
|
19404
19404
|
}), a = fd(o, r), c = fd(l, i, s), u = hd(a), d = hd(c);
|
|
19405
19405
|
e.modifiersData[t] = {
|
|
@@ -19464,12 +19464,12 @@ function L5(n) {
|
|
|
19464
19464
|
return n === "x" ? "y" : "x";
|
|
19465
19465
|
}
|
|
19466
19466
|
function _5(n) {
|
|
19467
|
-
var e = n.state, t = n.options, r = n.name, i = t.mainAxis, s = i === void 0 ? !0 : i, o = t.altAxis, l = o === void 0 ? !1 : o, a = t.boundary, c = t.rootBoundary, u = t.altBoundary, d = t.padding, f = t.tether, p = f === void 0 ? !0 : f, h = t.tetherOffset, m = h === void 0 ? 0 : h, g =
|
|
19467
|
+
var e = n.state, t = n.options, r = n.name, i = t.mainAxis, s = i === void 0 ? !0 : i, o = t.altAxis, l = o === void 0 ? !1 : o, a = t.boundary, c = t.rootBoundary, u = t.altBoundary, d = t.padding, f = t.tether, p = f === void 0 ? !0 : f, h = t.tetherOffset, m = h === void 0 ? 0 : h, g = pi(e, {
|
|
19468
19468
|
boundary: a,
|
|
19469
19469
|
rootBoundary: c,
|
|
19470
19470
|
padding: d,
|
|
19471
19471
|
altBoundary: u
|
|
19472
|
-
}), E = nn(e.placement), S =
|
|
19472
|
+
}), E = nn(e.placement), S = hi(e.placement), x = !S, y = pc(E), N = L5(y), A = e.modifiersData.popperOffsets, P = e.rects.reference, $ = e.rects.popper, B = typeof m == "function" ? m(Object.assign({}, e.rects, {
|
|
19473
19473
|
placement: e.placement
|
|
19474
19474
|
})) : m, F = typeof B == "number" ? {
|
|
19475
19475
|
mainAxis: B,
|
|
@@ -19513,20 +19513,20 @@ function F5(n) {
|
|
|
19513
19513
|
return n === $t(n) || !_t(n) ? vc(n) : P5(n);
|
|
19514
19514
|
}
|
|
19515
19515
|
function $5(n) {
|
|
19516
|
-
var e = n.getBoundingClientRect(), t =
|
|
19516
|
+
var e = n.getBoundingClientRect(), t = di(e.width) / n.offsetWidth || 1, r = di(e.height) / n.offsetHeight || 1;
|
|
19517
19517
|
return t !== 1 || r !== 1;
|
|
19518
19518
|
}
|
|
19519
19519
|
function B5(n, e, t) {
|
|
19520
19520
|
t === void 0 && (t = !1);
|
|
19521
|
-
var r = _t(e), i = _t(e) && $5(e), s = ar(e), o =
|
|
19521
|
+
var r = _t(e), i = _t(e) && $5(e), s = ar(e), o = fi(n, i, t), l = {
|
|
19522
19522
|
scrollLeft: 0,
|
|
19523
19523
|
scrollTop: 0
|
|
19524
19524
|
}, a = {
|
|
19525
19525
|
x: 0,
|
|
19526
19526
|
y: 0
|
|
19527
19527
|
};
|
|
19528
|
-
return (r || !r && !t) && ((
|
|
19529
|
-
bc(s)) && (l = F5(e)), _t(e) ? (a =
|
|
19528
|
+
return (r || !r && !t) && ((Tn(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
19529
|
+
bc(s)) && (l = F5(e)), _t(e) ? (a = fi(e, !0), a.x += e.clientLeft, a.y += e.clientTop) : s && (a.x = yc(s))), {
|
|
19530
19530
|
x: o.left + l.scrollLeft - a.x,
|
|
19531
19531
|
y: o.top + l.scrollTop - a.y,
|
|
19532
19532
|
width: o.width,
|
|
@@ -19798,8 +19798,8 @@ const Rp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19798
19798
|
createPopper: ta,
|
|
19799
19799
|
createPopperBase: Y5,
|
|
19800
19800
|
createPopperLite: X5,
|
|
19801
|
-
detectOverflow:
|
|
19802
|
-
end:
|
|
19801
|
+
detectOverflow: pi,
|
|
19802
|
+
end: ui,
|
|
19803
19803
|
eventListeners: gc,
|
|
19804
19804
|
flip: Mp,
|
|
19805
19805
|
hide: Ip,
|
|
@@ -19808,7 +19808,7 @@ const Rp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19808
19808
|
modifierPhases: qs,
|
|
19809
19809
|
offset: Np,
|
|
19810
19810
|
placements: dc,
|
|
19811
|
-
popper:
|
|
19811
|
+
popper: Wr,
|
|
19812
19812
|
popperGenerator: ea,
|
|
19813
19813
|
popperOffsets: Ec,
|
|
19814
19814
|
preventOverflow: Dp,
|
|
@@ -19863,7 +19863,7 @@ function tS(n, e) {
|
|
|
19863
19863
|
function nS(n) {
|
|
19864
19864
|
return n.split(/\s+/).filter(Boolean);
|
|
19865
19865
|
}
|
|
19866
|
-
function
|
|
19866
|
+
function Kr(n) {
|
|
19867
19867
|
return [].concat(n);
|
|
19868
19868
|
}
|
|
19869
19869
|
function bd(n, e) {
|
|
@@ -19916,7 +19916,7 @@ function Sd(n, e) {
|
|
|
19916
19916
|
});
|
|
19917
19917
|
}
|
|
19918
19918
|
function cS(n) {
|
|
19919
|
-
var e, t =
|
|
19919
|
+
var e, t = Kr(n), r = t[0];
|
|
19920
19920
|
return r != null && (e = r.ownerDocument) != null && e.body ? r.ownerDocument : document;
|
|
19921
19921
|
}
|
|
19922
19922
|
function uS(n, e) {
|
|
@@ -19968,7 +19968,7 @@ var pS = typeof window < "u" && typeof document < "u", mS = pS ? (
|
|
|
19968
19968
|
// @ts-ignore
|
|
19969
19969
|
!!window.msCrypto
|
|
19970
19970
|
) : !1;
|
|
19971
|
-
function
|
|
19971
|
+
function Br(n) {
|
|
19972
19972
|
var e = n === "destroy" ? "n already-" : " ";
|
|
19973
19973
|
return [n + "() was called on a" + e + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
|
|
19974
19974
|
}
|
|
@@ -20001,7 +20001,7 @@ process.env.NODE_ENV !== "production" && vS();
|
|
|
20001
20001
|
function vS() {
|
|
20002
20002
|
Xi = /* @__PURE__ */ new Set();
|
|
20003
20003
|
}
|
|
20004
|
-
function
|
|
20004
|
+
function On(n, e) {
|
|
20005
20005
|
if (n && !Xi.has(e)) {
|
|
20006
20006
|
var t;
|
|
20007
20007
|
Xi.add(e), (t = console).warn.apply(t, zp(e));
|
|
@@ -20133,7 +20133,7 @@ function Up(n, e) {
|
|
|
20133
20133
|
var i = tS(Lt, Object.keys(Vp)), s = !eS(i, r);
|
|
20134
20134
|
s && (s = e.filter(function(o) {
|
|
20135
20135
|
return o.name === r;
|
|
20136
|
-
}).length === 0),
|
|
20136
|
+
}).length === 0), On(s, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
20137
20137
|
|
|
20138
20138
|
`, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
20139
20139
|
`, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
|
|
@@ -20266,7 +20266,7 @@ function CS(n, e) {
|
|
|
20266
20266
|
function ce() {
|
|
20267
20267
|
var Y = y.props.aria;
|
|
20268
20268
|
if (Y.content) {
|
|
20269
|
-
var ae = "aria-" + Y.content, le = A.id, Ae =
|
|
20269
|
+
var ae = "aria-" + Y.content, le = A.id, Ae = Kr(y.props.triggerTarget || n);
|
|
20270
20270
|
Ae.forEach(function(ke) {
|
|
20271
20271
|
var Je = ke.getAttribute(ae);
|
|
20272
20272
|
if (y.state.isVisible)
|
|
@@ -20280,7 +20280,7 @@ function CS(n, e) {
|
|
|
20280
20280
|
}
|
|
20281
20281
|
function pe() {
|
|
20282
20282
|
if (!(B || !y.props.aria.expanded)) {
|
|
20283
|
-
var Y =
|
|
20283
|
+
var Y = Kr(y.props.triggerTarget || n);
|
|
20284
20284
|
Y.forEach(function(ae) {
|
|
20285
20285
|
y.props.interactive ? ae.setAttribute("aria-expanded", y.state.isVisible && ae === V() ? "true" : "false") : ae.removeAttribute("aria-expanded");
|
|
20286
20286
|
});
|
|
@@ -20295,7 +20295,7 @@ function CS(n, e) {
|
|
|
20295
20295
|
if (!(hn.isTouch && (a || Y.type === "mousedown"))) {
|
|
20296
20296
|
var ae = Y.composedPath && Y.composedPath()[0] || Y.target;
|
|
20297
20297
|
if (!(y.props.interactive && Td(A, ae))) {
|
|
20298
|
-
if (
|
|
20298
|
+
if (Kr(y.props.triggerTarget || n).some(function(le) {
|
|
20299
20299
|
return Td(le, ae);
|
|
20300
20300
|
})) {
|
|
20301
20301
|
if (hn.isTouch || y.state.isVisible && y.props.trigger.indexOf("click") >= 0)
|
|
@@ -20341,7 +20341,7 @@ function CS(n, e) {
|
|
|
20341
20341
|
}
|
|
20342
20342
|
function T(Y, ae, le) {
|
|
20343
20343
|
le === void 0 && (le = !1);
|
|
20344
|
-
var Ae =
|
|
20344
|
+
var Ae = Kr(y.props.triggerTarget || n);
|
|
20345
20345
|
Ae.forEach(function(ke) {
|
|
20346
20346
|
ke.addEventListener(Y, ae, le), p.push({
|
|
20347
20347
|
node: ke,
|
|
@@ -20429,9 +20429,9 @@ function CS(n, e) {
|
|
|
20429
20429
|
fn: function(Fn) {
|
|
20430
20430
|
var Dt = Fn.state;
|
|
20431
20431
|
if (L()) {
|
|
20432
|
-
var Bt = J(),
|
|
20432
|
+
var Bt = J(), Pr = Bt.box;
|
|
20433
20433
|
["placement", "reference-hidden", "escaped"].forEach(function(zt) {
|
|
20434
|
-
zt === "placement" ?
|
|
20434
|
+
zt === "placement" ? Pr.setAttribute("data-placement", Dt.placement) : Dt.attributes.popper["data-popper-" + zt] ? Pr.setAttribute("data-" + zt, "") : Pr.removeAttribute("data-" + zt);
|
|
20435
20435
|
}), Dt.attributes.popper = {};
|
|
20436
20436
|
}
|
|
20437
20437
|
}
|
|
@@ -20478,7 +20478,7 @@ function CS(n, e) {
|
|
|
20478
20478
|
}
|
|
20479
20479
|
function H() {
|
|
20480
20480
|
var Y = y.props.appendTo, ae, le = V();
|
|
20481
|
-
y.props.interactive && Y === Fp || Y === "parent" ? ae = le.parentNode : ae = $p(Y, [le]), ae.contains(A) || ae.appendChild(A), y.state.isMounted = !0, z(), process.env.NODE_ENV !== "production" &&
|
|
20481
|
+
y.props.interactive && Y === Fp || Y === "parent" ? ae = le.parentNode : ae = $p(Y, [le]), ae.contains(A) || ae.appendChild(A), y.state.isMounted = !0, z(), process.env.NODE_ENV !== "production" && On(y.props.interactive && Y === Lt.appendTo && le.nextElementSibling !== A, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
20482
20482
|
|
|
20483
20483
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
20484
20484
|
|
|
@@ -20520,12 +20520,12 @@ function CS(n, e) {
|
|
|
20520
20520
|
clearTimeout(r), clearTimeout(i), cancelAnimationFrame(s);
|
|
20521
20521
|
}
|
|
20522
20522
|
function Ge(Y) {
|
|
20523
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
20523
|
+
if (process.env.NODE_ENV !== "production" && On(y.state.isDestroyed, Br("setProps")), !y.state.isDestroyed) {
|
|
20524
20524
|
U("onBeforeUpdate", [y, Y]), v();
|
|
20525
20525
|
var ae = y.props, le = Cd(n, Object.assign({}, ae, Ed(Y), {
|
|
20526
20526
|
ignoreAttributes: !0
|
|
20527
20527
|
}));
|
|
20528
|
-
y.props = le, k(), ae.interactiveDebounce !== le.interactiveDebounce && (Te(), h = yd(M, le.interactiveDebounce)), ae.triggerTarget && !le.triggerTarget ?
|
|
20528
|
+
y.props = le, k(), ae.interactiveDebounce !== le.interactiveDebounce && (Te(), h = yd(M, le.interactiveDebounce)), ae.triggerTarget && !le.triggerTarget ? Kr(ae.triggerTarget).forEach(function(Ae) {
|
|
20529
20529
|
Ae.removeAttribute("aria-expanded");
|
|
20530
20530
|
}) : le.triggerTarget && n.removeAttribute("aria-expanded"), pe(), re(), P && P(ae, le), y.popperInstance && (z(), W().forEach(function(Ae) {
|
|
20531
20531
|
requestAnimationFrame(Ae._tippy.popperInstance.forceUpdate);
|
|
@@ -20538,7 +20538,7 @@ function CS(n, e) {
|
|
|
20538
20538
|
});
|
|
20539
20539
|
}
|
|
20540
20540
|
function _e() {
|
|
20541
|
-
process.env.NODE_ENV !== "production" &&
|
|
20541
|
+
process.env.NODE_ENV !== "production" && On(y.state.isDestroyed, Br("show"));
|
|
20542
20542
|
var Y = y.state.isVisible, ae = y.state.isDestroyed, le = !y.state.isEnabled, Ae = hn.isTouch && !y.props.touch, ke = Da(y.props.duration, 0, Lt.duration);
|
|
20543
20543
|
if (!(Y || ae || le || Ae) && !V().hasAttribute("disabled") && (U("onShow", [y], !1), y.props.onShow(y) !== !1)) {
|
|
20544
20544
|
if (y.state.isVisible = !0, L() && (A.style.visibility = "visible"), re(), Oe(), y.state.isMounted || (A.style.transition = "none"), L()) {
|
|
@@ -20560,7 +20560,7 @@ function CS(n, e) {
|
|
|
20560
20560
|
}
|
|
20561
20561
|
}
|
|
20562
20562
|
function nt() {
|
|
20563
|
-
process.env.NODE_ENV !== "production" &&
|
|
20563
|
+
process.env.NODE_ENV !== "production" && On(y.state.isDestroyed, Br("hide"));
|
|
20564
20564
|
var Y = !y.state.isVisible, ae = y.state.isDestroyed, le = !y.state.isEnabled, Ae = Da(y.props.duration, 1, Lt.duration);
|
|
20565
20565
|
if (!(Y || ae || le) && (U("onHide", [y], !1), y.props.onHide(y) !== !1)) {
|
|
20566
20566
|
if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, o = !1, L() && (A.style.visibility = "hidden"), Te(), De(), re(!0), L()) {
|
|
@@ -20571,17 +20571,17 @@ function CS(n, e) {
|
|
|
20571
20571
|
}
|
|
20572
20572
|
}
|
|
20573
20573
|
function kt(Y) {
|
|
20574
|
-
process.env.NODE_ENV !== "production" &&
|
|
20574
|
+
process.env.NODE_ENV !== "production" && On(y.state.isDestroyed, Br("hideWithInteractivity")), G().addEventListener("mousemove", h), bd(ys, h), h(Y);
|
|
20575
20575
|
}
|
|
20576
20576
|
function ht() {
|
|
20577
|
-
process.env.NODE_ENV !== "production" &&
|
|
20577
|
+
process.env.NODE_ENV !== "production" && On(y.state.isDestroyed, Br("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (j(), W().forEach(function(Y) {
|
|
20578
20578
|
Y._tippy.unmount();
|
|
20579
20579
|
}), A.parentNode && A.parentNode.removeChild(A), _a = _a.filter(function(Y) {
|
|
20580
20580
|
return Y !== y;
|
|
20581
20581
|
}), y.state.isMounted = !1, U("onHidden", [y]));
|
|
20582
20582
|
}
|
|
20583
20583
|
function Pn() {
|
|
20584
|
-
process.env.NODE_ENV !== "production" &&
|
|
20584
|
+
process.env.NODE_ENV !== "production" && On(y.state.isDestroyed, Br("destroy")), !y.state.isDestroyed && (y.clearDelayTimeouts(), y.unmount(), v(), delete n._tippy, y.state.isDestroyed = !0, U("onDestroy", [y]));
|
|
20585
20585
|
}
|
|
20586
20586
|
}
|
|
20587
20587
|
function bi(n, e) {
|
|
@@ -20593,7 +20593,7 @@ function bi(n, e) {
|
|
|
20593
20593
|
}), i = lS(n);
|
|
20594
20594
|
if (process.env.NODE_ENV !== "production") {
|
|
20595
20595
|
var s = Ji(r.content), o = i.length > 1;
|
|
20596
|
-
|
|
20596
|
+
On(s && o, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
|
|
20597
20597
|
|
|
20598
20598
|
`, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
|
|
20599
20599
|
|
|
@@ -20863,7 +20863,7 @@ Be({
|
|
|
20863
20863
|
}
|
|
20864
20864
|
},
|
|
20865
20865
|
setup(n, { slots: e }) {
|
|
20866
|
-
const t =
|
|
20866
|
+
const t = yn(null);
|
|
20867
20867
|
return es(() => {
|
|
20868
20868
|
const { updateDelay: r, editor: i, pluginKey: s, shouldShow: o, tippyOptions: l } = n;
|
|
20869
20869
|
i.registerPlugin(Wp({
|
|
@@ -20931,7 +20931,7 @@ const MS = Be({
|
|
|
20931
20931
|
}
|
|
20932
20932
|
},
|
|
20933
20933
|
setup(n) {
|
|
20934
|
-
const e =
|
|
20934
|
+
const e = yn(), t = bf();
|
|
20935
20935
|
return $m(() => {
|
|
20936
20936
|
const r = n.editor;
|
|
20937
20937
|
r && r.options.element && e.value && Ef(() => {
|
|
@@ -20995,7 +20995,7 @@ Be({
|
|
|
20995
20995
|
}
|
|
20996
20996
|
},
|
|
20997
20997
|
setup(n, { slots: e }) {
|
|
20998
|
-
const t =
|
|
20998
|
+
const t = yn(null);
|
|
20999
20999
|
return es(() => {
|
|
21000
21000
|
const { pluginKey: r, editor: i, tippyOptions: s, shouldShow: o } = n;
|
|
21001
21001
|
i.registerPlugin(Kp({
|
|
@@ -21097,7 +21097,7 @@ const IS = (n = {}) => {
|
|
|
21097
21097
|
}), RS = Ln.create({
|
|
21098
21098
|
name: "text",
|
|
21099
21099
|
group: "inline"
|
|
21100
|
-
}), LS = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", _S = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",
|
|
21100
|
+
}), LS = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", _S = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", mi = (n, e) => {
|
|
21101
21101
|
for (const t in e)
|
|
21102
21102
|
n[t] = e[t];
|
|
21103
21103
|
return n;
|
|
@@ -21231,10 +21231,10 @@ Ot.prototype = {
|
|
|
21231
21231
|
return i.j[n] = e, e;
|
|
21232
21232
|
const s = e;
|
|
21233
21233
|
let o, l = i.go(n);
|
|
21234
|
-
if (l ? (o = new Ot(),
|
|
21234
|
+
if (l ? (o = new Ot(), mi(o.j, l.j), o.jr.push.apply(o.jr, l.jr), o.jd = l.jd, o.t = l.t) : o = new Ot(), s) {
|
|
21235
21235
|
if (r)
|
|
21236
21236
|
if (o.t && typeof o.t == "string") {
|
|
21237
|
-
const a =
|
|
21237
|
+
const a = mi(BS(o.t, r), t);
|
|
21238
21238
|
vr(s, a, r);
|
|
21239
21239
|
} else
|
|
21240
21240
|
t && vr(s, t, r);
|
|
@@ -21243,16 +21243,16 @@ Ot.prototype = {
|
|
|
21243
21243
|
return i.j[n] = o, o;
|
|
21244
21244
|
}
|
|
21245
21245
|
};
|
|
21246
|
-
const Re = (n, e, t, r, i) => n.ta(e, t, r, i), Ut = (n, e, t, r, i) => n.tr(e, t, r, i), Id = (n, e, t, r, i) => n.ts(e, t, r, i), fe = (n, e, t, r, i) => n.tt(e, t, r, i),
|
|
21246
|
+
const Re = (n, e, t, r, i) => n.ta(e, t, r, i), Ut = (n, e, t, r, i) => n.tr(e, t, r, i), Id = (n, e, t, r, i) => n.ts(e, t, r, i), fe = (n, e, t, r, i) => n.tt(e, t, r, i), wn = "WORD", Dl = "UWORD", Qi = "LOCALHOST", Rl = "TLD", Ll = "UTLD", Rs = "SCHEME", Gr = "SLASH_SCHEME", Tc = "NUM", Yp = "WS", xc = "NL", $i = "OPENBRACE", Bi = "CLOSEBRACE", no = "OPENBRACKET", ro = "CLOSEBRACKET", io = "OPENPAREN", so = "CLOSEPAREN", oo = "OPENANGLEBRACKET", ao = "CLOSEANGLEBRACKET", lo = "FULLWIDTHLEFTPAREN", co = "FULLWIDTHRIGHTPAREN", uo = "LEFTCORNERBRACKET", fo = "RIGHTCORNERBRACKET", ho = "LEFTWHITECORNERBRACKET", po = "RIGHTWHITECORNERBRACKET", mo = "FULLWIDTHLESSTHAN", go = "FULLWIDTHGREATERTHAN", vo = "AMPERSAND", yo = "APOSTROPHE", bo = "ASTERISK", Un = "AT", Eo = "BACKSLASH", So = "BACKTICK", To = "CARET", Wn = "COLON", Ac = "COMMA", xo = "DOLLAR", un = "DOT", Ao = "EQUALS", Cc = "EXCLAMATION", dn = "HYPHEN", Co = "PERCENT", wo = "PIPE", ko = "PLUS", Oo = "POUND", Mo = "QUERY", wc = "QUOTE", kc = "SEMI", fn = "SLASH", zi = "TILDE", Io = "UNDERSCORE", Jp = "EMOJI", No = "SYM";
|
|
21247
21247
|
var Xp = /* @__PURE__ */ Object.freeze({
|
|
21248
21248
|
__proto__: null,
|
|
21249
|
-
WORD:
|
|
21249
|
+
WORD: wn,
|
|
21250
21250
|
UWORD: Dl,
|
|
21251
21251
|
LOCALHOST: Qi,
|
|
21252
21252
|
TLD: Rl,
|
|
21253
21253
|
UTLD: Ll,
|
|
21254
21254
|
SCHEME: Rs,
|
|
21255
|
-
SLASH_SCHEME:
|
|
21255
|
+
SLASH_SCHEME: Gr,
|
|
21256
21256
|
NUM: Tc,
|
|
21257
21257
|
WS: Yp,
|
|
21258
21258
|
NL: xc,
|
|
@@ -21299,7 +21299,7 @@ var Xp = /* @__PURE__ */ Object.freeze({
|
|
|
21299
21299
|
EMOJI: Jp,
|
|
21300
21300
|
SYM: No
|
|
21301
21301
|
});
|
|
21302
|
-
const
|
|
21302
|
+
const zr = /[a-z]/, Pa = /\p{L}/u, Fa = /\p{Emoji}/u, $a = /\d/, Nd = /\s/, Dd = `
|
|
21303
21303
|
`, zS = "️", VS = "";
|
|
21304
21304
|
let Es = null, Ss = null;
|
|
21305
21305
|
function HS(n) {
|
|
@@ -21312,14 +21312,14 @@ function HS(n) {
|
|
|
21312
21312
|
[Ol]: !0
|
|
21313
21313
|
});
|
|
21314
21314
|
Ut(r, $a, r);
|
|
21315
|
-
const i = Ut(t,
|
|
21315
|
+
const i = Ut(t, zr, wn, {
|
|
21316
21316
|
[Ml]: !0
|
|
21317
21317
|
});
|
|
21318
|
-
Ut(i,
|
|
21318
|
+
Ut(i, zr, i);
|
|
21319
21319
|
const s = Ut(t, Pa, Dl, {
|
|
21320
21320
|
[Il]: !0
|
|
21321
21321
|
});
|
|
21322
|
-
Ut(s,
|
|
21322
|
+
Ut(s, zr), Ut(s, Pa, s);
|
|
21323
21323
|
const o = Ut(t, Nd, Yp, {
|
|
21324
21324
|
[Md]: !0
|
|
21325
21325
|
});
|
|
@@ -21332,9 +21332,9 @@ function HS(n) {
|
|
|
21332
21332
|
Ut(l, Fa, l), fe(l, zS, l);
|
|
21333
21333
|
const a = fe(l, VS);
|
|
21334
21334
|
Ut(a, Fa, l);
|
|
21335
|
-
const c = [[
|
|
21335
|
+
const c = [[zr, i]], u = [[zr, null], [Pa, s]];
|
|
21336
21336
|
for (let d = 0; d < Es.length; d++)
|
|
21337
|
-
Bn(t, Es[d], Rl,
|
|
21337
|
+
Bn(t, Es[d], Rl, wn, c);
|
|
21338
21338
|
for (let d = 0; d < Ss.length; d++)
|
|
21339
21339
|
Bn(t, Ss[d], Ll, Dl, u);
|
|
21340
21340
|
vr(Rl, {
|
|
@@ -21343,10 +21343,10 @@ function HS(n) {
|
|
|
21343
21343
|
}, e), vr(Ll, {
|
|
21344
21344
|
utld: !0,
|
|
21345
21345
|
alpha: !0
|
|
21346
|
-
}, e), Bn(t, "file", Rs,
|
|
21346
|
+
}, e), Bn(t, "file", Rs, wn, c), Bn(t, "mailto", Rs, wn, c), Bn(t, "http", Gr, wn, c), Bn(t, "https", Gr, wn, c), Bn(t, "ftp", Gr, wn, c), Bn(t, "ftps", Gr, wn, c), vr(Rs, {
|
|
21347
21347
|
scheme: !0,
|
|
21348
21348
|
ascii: !0
|
|
21349
|
-
}, e), vr(
|
|
21349
|
+
}, e), vr(Gr, {
|
|
21350
21350
|
slashscheme: !0,
|
|
21351
21351
|
ascii: !0
|
|
21352
21352
|
}, e), n = n.sort((d, f) => d[0] > f[0] ? 1 : -1);
|
|
@@ -21356,13 +21356,13 @@ function HS(n) {
|
|
|
21356
21356
|
} : {
|
|
21357
21357
|
[FS]: !0
|
|
21358
21358
|
};
|
|
21359
|
-
f.indexOf("-") >= 0 ? h[Nl] = !0 :
|
|
21359
|
+
f.indexOf("-") >= 0 ? h[Nl] = !0 : zr.test(f) ? $a.test(f) ? h[Ds] = !0 : h[Ml] = !0 : h[Ol] = !0, Id(t, f, f, h);
|
|
21360
21360
|
}
|
|
21361
21361
|
return Id(t, "localhost", Qi, {
|
|
21362
21362
|
ascii: !0
|
|
21363
21363
|
}), t.jd = new Ot(No), {
|
|
21364
21364
|
start: t,
|
|
21365
|
-
tokens:
|
|
21365
|
+
tokens: mi({
|
|
21366
21366
|
groups: e
|
|
21367
21367
|
}, Xp)
|
|
21368
21368
|
};
|
|
@@ -21440,8 +21440,8 @@ const Zi = {
|
|
|
21440
21440
|
};
|
|
21441
21441
|
function Oc(n, e) {
|
|
21442
21442
|
e === void 0 && (e = null);
|
|
21443
|
-
let t =
|
|
21444
|
-
n && (t =
|
|
21443
|
+
let t = mi({}, Zi);
|
|
21444
|
+
n && (t = mi(t, n instanceof Oc ? n.o : n));
|
|
21445
21445
|
const r = t.ignoreTags, i = [];
|
|
21446
21446
|
for (let s = 0; s < r.length; s++)
|
|
21447
21447
|
i.push(r[s].toUpperCase());
|
|
@@ -21611,7 +21611,7 @@ Qp.prototype = {
|
|
|
21611
21611
|
*/
|
|
21612
21612
|
render(n) {
|
|
21613
21613
|
const e = this, t = this.toHref(n.get("defaultProtocol")), r = n.get("formatHref", t, this), i = n.get("tagName", t, e), s = this.toFormattedString(n), o = {}, l = n.get("className", t, e), a = n.get("target", t, e), c = n.get("rel", t, e), u = n.getObj("attributes", t, e), d = n.getObj("events", t, e);
|
|
21614
|
-
return o.href = r, l && (o.class = l), a && (o.target = a), c && (o.rel = c), u &&
|
|
21614
|
+
return o.href = r, l && (o.class = l), a && (o.target = a), c && (o.rel = c), u && mi(o, u), {
|
|
21615
21615
|
tagName: i,
|
|
21616
21616
|
attributes: o,
|
|
21617
21617
|
content: s,
|
|
@@ -21861,7 +21861,7 @@ function t3(n) {
|
|
|
21861
21861
|
}
|
|
21862
21862
|
});
|
|
21863
21863
|
}
|
|
21864
|
-
const n3 =
|
|
21864
|
+
const n3 = Sn.create({
|
|
21865
21865
|
name: "link",
|
|
21866
21866
|
priority: 1e3,
|
|
21867
21867
|
keepOnSplit: !1,
|
|
@@ -22016,7 +22016,7 @@ const n3 = En.create({
|
|
|
22016
22016
|
})
|
|
22017
22017
|
];
|
|
22018
22018
|
}
|
|
22019
|
-
}), s3 = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/, o3 = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g, a3 = /(?:^|\s)((?:__)((?:[^__]+))(?:__))$/, l3 = /(?:^|\s)((?:__)((?:[^__]+))(?:__))/g, c3 =
|
|
22019
|
+
}), s3 = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/, o3 = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g, a3 = /(?:^|\s)((?:__)((?:[^__]+))(?:__))$/, l3 = /(?:^|\s)((?:__)((?:[^__]+))(?:__))/g, c3 = Sn.create({
|
|
22020
22020
|
name: "bold",
|
|
22021
22021
|
addOptions() {
|
|
22022
22022
|
return {
|
|
@@ -22078,7 +22078,7 @@ const n3 = En.create({
|
|
|
22078
22078
|
})
|
|
22079
22079
|
];
|
|
22080
22080
|
}
|
|
22081
|
-
}), u3 = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/, d3 = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g, f3 = /(?:^|\s)((?:_)((?:[^_]+))(?:_))$/, h3 = /(?:^|\s)((?:_)((?:[^_]+))(?:_))/g, p3 =
|
|
22081
|
+
}), u3 = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/, d3 = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g, f3 = /(?:^|\s)((?:_)((?:[^_]+))(?:_))$/, h3 = /(?:^|\s)((?:_)((?:[^_]+))(?:_))/g, p3 = Sn.create({
|
|
22082
22082
|
name: "italic",
|
|
22083
22083
|
addOptions() {
|
|
22084
22084
|
return {
|
|
@@ -22139,7 +22139,7 @@ const n3 = En.create({
|
|
|
22139
22139
|
})
|
|
22140
22140
|
];
|
|
22141
22141
|
}
|
|
22142
|
-
}), m3 =
|
|
22142
|
+
}), m3 = Sn.create({
|
|
22143
22143
|
name: "underline",
|
|
22144
22144
|
addOptions() {
|
|
22145
22145
|
return {
|
|
@@ -22230,7 +22230,7 @@ const n3 = En.create({
|
|
|
22230
22230
|
"Shift-Tab": () => this.editor.commands.liftListItem(this.name)
|
|
22231
22231
|
};
|
|
22232
22232
|
}
|
|
22233
|
-
}), $d =
|
|
22233
|
+
}), $d = Sn.create({
|
|
22234
22234
|
name: "textStyle",
|
|
22235
22235
|
addOptions() {
|
|
22236
22236
|
return {
|
|
@@ -22332,7 +22332,7 @@ const n3 = En.create({
|
|
|
22332
22332
|
"Shift-Tab": () => this.editor.commands.liftListItem(this.name)
|
|
22333
22333
|
};
|
|
22334
22334
|
}
|
|
22335
|
-
}), zd =
|
|
22335
|
+
}), zd = Sn.create({
|
|
22336
22336
|
name: "textStyle",
|
|
22337
22337
|
addOptions() {
|
|
22338
22338
|
return {
|
|
@@ -22488,7 +22488,7 @@ const n3 = En.create({
|
|
|
22488
22488
|
e("delete", r);
|
|
22489
22489
|
};
|
|
22490
22490
|
return (r, i) => (ie(), he("ul", T3, [
|
|
22491
|
-
(ie(!0), he(
|
|
22491
|
+
(ie(!0), he(Dr, null, Po(r.files, (s) => (ie(), he("li", {
|
|
22492
22492
|
class: "attachment-list__item",
|
|
22493
22493
|
key: s.CorrelationId
|
|
22494
22494
|
}, [
|
|
@@ -22505,13 +22505,13 @@ const n3 = En.create({
|
|
|
22505
22505
|
_: 2
|
|
22506
22506
|
}, 1032, ["onClick"])) : Ve("", !0),
|
|
22507
22507
|
r.noDownload ? (ie(), he("div", A3, [
|
|
22508
|
-
ze(Ee(
|
|
22508
|
+
ze(Ee(ii)),
|
|
22509
22509
|
en(" " + Ke(s.Naam.trim()), 1)
|
|
22510
22510
|
])) : (ie(), he("a", {
|
|
22511
22511
|
key: 2,
|
|
22512
22512
|
href: s.downloadUrl
|
|
22513
22513
|
}, [
|
|
22514
|
-
ze(Ee(
|
|
22514
|
+
ze(Ee(ii)),
|
|
22515
22515
|
en(" " + Ke(s.Naam.trim()), 1)
|
|
22516
22516
|
], 8, C3))
|
|
22517
22517
|
])
|
|
@@ -22534,7 +22534,7 @@ const n3 = En.create({
|
|
|
22534
22534
|
s.target && s.target.className === "img-preview" && e("show", o);
|
|
22535
22535
|
};
|
|
22536
22536
|
return (s, o) => (ie(), he("ul", w3, [
|
|
22537
|
-
(ie(!0), he(
|
|
22537
|
+
(ie(!0), he(Dr, null, Po(s.files, (l) => (ie(), he("li", {
|
|
22538
22538
|
class: "attachment-list__item",
|
|
22539
22539
|
key: l.CorrelationId
|
|
22540
22540
|
}, [
|
|
@@ -22613,7 +22613,7 @@ const n3 = En.create({
|
|
|
22613
22613
|
setup(n, { emit: e }) {
|
|
22614
22614
|
const t = n, r = () => {
|
|
22615
22615
|
e("upload");
|
|
22616
|
-
}, i =
|
|
22616
|
+
}, i = Rr(t, "modelValue", e), s = [NS, DS, RS, i3.configure({ placeholder: t.placeholder }), S3];
|
|
22617
22617
|
t.variant === za.FULL && s.push(
|
|
22618
22618
|
c3,
|
|
22619
22619
|
p3,
|
|
@@ -22653,7 +22653,7 @@ const n3 = En.create({
|
|
|
22653
22653
|
}, g = (E) => {
|
|
22654
22654
|
e("action", { name: "image-attachment", obj: E });
|
|
22655
22655
|
};
|
|
22656
|
-
return (E, S) => (ie(), he(
|
|
22656
|
+
return (E, S) => (ie(), he(Dr, null, [
|
|
22657
22657
|
de("div", {
|
|
22658
22658
|
class: Ye(["bd-markdown-editor", l.value])
|
|
22659
22659
|
}, [
|
|
@@ -22681,7 +22681,7 @@ const n3 = En.create({
|
|
|
22681
22681
|
onClick: r
|
|
22682
22682
|
}, {
|
|
22683
22683
|
default: ot(() => [
|
|
22684
|
-
ze(Ee(
|
|
22684
|
+
ze(Ee(ii))
|
|
22685
22685
|
]),
|
|
22686
22686
|
_: 1
|
|
22687
22687
|
}),
|
|
@@ -22782,7 +22782,7 @@ const n3 = En.create({
|
|
|
22782
22782
|
return typeof e.details == "string" ? e.details : (r = e.details) == null ? void 0 : r.join(" • ");
|
|
22783
22783
|
});
|
|
22784
22784
|
return (r, i) => (ie(), he("div", U3, [
|
|
22785
|
-
e.hideImage ? Ve("", !0) : (ie(), st(Rf,
|
|
22785
|
+
e.hideImage ? Ve("", !0) : (ie(), st(Rf, Rn({ key: 0 }, e.img, { size: "sm" }), null, 16)),
|
|
22786
22786
|
de("div", j3, [
|
|
22787
22787
|
de("header", null, [
|
|
22788
22788
|
de("h5", W3, Ke(e.name), 1),
|
|
@@ -22824,7 +22824,7 @@ const n3 = En.create({
|
|
|
22824
22824
|
"aria-labelledby": r
|
|
22825
22825
|
}));
|
|
22826
22826
|
return (l, a) => (ie(), he("div", Y3, [
|
|
22827
|
-
(ie(), st(_o(e.toggleTag),
|
|
22827
|
+
(ie(), st(_o(e.toggleTag), Rn({
|
|
22828
22828
|
class: "dropdown-toggle",
|
|
22829
22829
|
target: "_self",
|
|
22830
22830
|
role: "button",
|
|
@@ -22835,7 +22835,7 @@ const n3 = En.create({
|
|
|
22835
22835
|
]),
|
|
22836
22836
|
_: 1
|
|
22837
22837
|
}, 16)),
|
|
22838
|
-
de("ul",
|
|
22838
|
+
de("ul", Rn({
|
|
22839
22839
|
class: ["dropdown-menu", s.value]
|
|
22840
22840
|
}, o.value), [
|
|
22841
22841
|
je(l.$slots, "default")
|
|
@@ -22948,8 +22948,8 @@ const zn = /* @__PURE__ */ new Map(), Va = {
|
|
|
22948
22948
|
return !r && !i ? 0 : (e = e.split(",")[0], t = t.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(t)) * oT);
|
|
22949
22949
|
}, tm = (n) => {
|
|
22950
22950
|
n.dispatchEvent(new Event(_l));
|
|
22951
|
-
},
|
|
22952
|
-
if (!
|
|
22951
|
+
}, Nn = (n) => !n || typeof n != "object" ? !1 : (typeof n.jquery < "u" && (n = n[0]), typeof n.nodeType < "u"), tr = (n) => Nn(n) ? n.jquery ? n[0] : n : typeof n == "string" && n.length > 0 ? document.querySelector(em(n)) : null, Ei = (n) => {
|
|
22952
|
+
if (!Nn(n) || n.getClientRects().length === 0)
|
|
22953
22953
|
return !1;
|
|
22954
22954
|
const e = getComputedStyle(n).getPropertyValue("visibility") === "visible", t = n.closest("details:not([open])");
|
|
22955
22955
|
if (!t)
|
|
@@ -23144,7 +23144,7 @@ function Kd(n) {
|
|
|
23144
23144
|
function ja(n) {
|
|
23145
23145
|
return n.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
|
|
23146
23146
|
}
|
|
23147
|
-
const
|
|
23147
|
+
const Dn = {
|
|
23148
23148
|
setDataAttribute(n, e, t) {
|
|
23149
23149
|
n.setAttribute(`data-bs-${ja(e)}`, t);
|
|
23150
23150
|
},
|
|
@@ -23183,17 +23183,17 @@ class ls {
|
|
|
23183
23183
|
return e;
|
|
23184
23184
|
}
|
|
23185
23185
|
_mergeConfigObj(e, t) {
|
|
23186
|
-
const r =
|
|
23186
|
+
const r = Nn(t) ? Dn.getDataAttribute(t, "config") : {};
|
|
23187
23187
|
return {
|
|
23188
23188
|
...this.constructor.Default,
|
|
23189
23189
|
...typeof r == "object" ? r : {},
|
|
23190
|
-
...
|
|
23190
|
+
...Nn(t) ? Dn.getDataAttributes(t) : {},
|
|
23191
23191
|
...typeof e == "object" ? e : {}
|
|
23192
23192
|
};
|
|
23193
23193
|
}
|
|
23194
23194
|
_typeCheckConfig(e, t = this.constructor.DefaultType) {
|
|
23195
23195
|
for (const [r, i] of Object.entries(t)) {
|
|
23196
|
-
const s = e[r], o =
|
|
23196
|
+
const s = e[r], o = Nn(s) ? "element" : aT(s);
|
|
23197
23197
|
if (!new RegExp(i).test(o))
|
|
23198
23198
|
throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${i}".`);
|
|
23199
23199
|
}
|
|
@@ -23420,9 +23420,9 @@ class Ro extends ls {
|
|
|
23420
23420
|
return "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0;
|
|
23421
23421
|
}
|
|
23422
23422
|
}
|
|
23423
|
-
const UT = "carousel", jT = "bs.carousel", lr = `.${jT}`, fm = ".data-api", WT = "ArrowLeft", KT = "ArrowRight", GT = 500, Ai = "next",
|
|
23423
|
+
const UT = "carousel", jT = "bs.carousel", lr = `.${jT}`, fm = ".data-api", WT = "ArrowLeft", KT = "ArrowRight", GT = 500, Ai = "next", Vr = "prev", Yr = "left", Ls = "right", YT = `slide${lr}`, Ka = `slid${lr}`, JT = `keydown${lr}`, XT = `mouseenter${lr}`, QT = `mouseleave${lr}`, ZT = `dragstart${lr}`, qT = `load${lr}${fm}`, ex = `click${lr}${fm}`, hm = "carousel", xs = "active", tx = "slide", nx = "carousel-item-end", rx = "carousel-item-start", ix = "carousel-item-next", sx = "carousel-item-prev", pm = ".active", mm = ".carousel-item", ox = pm + mm, ax = ".carousel-item img", lx = ".carousel-indicators", cx = "[data-bs-slide], [data-bs-slide-to]", ux = '[data-bs-ride="carousel"]', dx = {
|
|
23424
23424
|
[WT]: Ls,
|
|
23425
|
-
[KT]:
|
|
23425
|
+
[KT]: Yr
|
|
23426
23426
|
}, fx = {
|
|
23427
23427
|
interval: 5e3,
|
|
23428
23428
|
keyboard: !0,
|
|
@@ -23461,7 +23461,7 @@ class cs extends an {
|
|
|
23461
23461
|
!document.hidden && Ei(this._element) && this.next();
|
|
23462
23462
|
}
|
|
23463
23463
|
prev() {
|
|
23464
|
-
this._slide(
|
|
23464
|
+
this._slide(Vr);
|
|
23465
23465
|
}
|
|
23466
23466
|
pause() {
|
|
23467
23467
|
this._isSliding && tm(this._element), this._clearInterval();
|
|
@@ -23489,7 +23489,7 @@ class cs extends an {
|
|
|
23489
23489
|
const r = this._getItemIndex(this._getActive());
|
|
23490
23490
|
if (r === e)
|
|
23491
23491
|
return;
|
|
23492
|
-
const i = e > r ? Ai :
|
|
23492
|
+
const i = e > r ? Ai : Vr;
|
|
23493
23493
|
this._slide(i, t[e]);
|
|
23494
23494
|
}
|
|
23495
23495
|
dispose() {
|
|
@@ -23506,7 +23506,7 @@ class cs extends an {
|
|
|
23506
23506
|
for (const r of Se.find(ax, this._element))
|
|
23507
23507
|
te.on(r, ZT, (i) => i.preventDefault());
|
|
23508
23508
|
const t = {
|
|
23509
|
-
leftCallback: () => this._slide(this._directionToOrder(
|
|
23509
|
+
leftCallback: () => this._slide(this._directionToOrder(Yr)),
|
|
23510
23510
|
rightCallback: () => this._slide(this._directionToOrder(Ls)),
|
|
23511
23511
|
endCallback: () => {
|
|
23512
23512
|
this._config.pause === "hover" && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), GT + this._config.interval));
|
|
@@ -23574,10 +23574,10 @@ class cs extends an {
|
|
|
23574
23574
|
this._interval && (clearInterval(this._interval), this._interval = null);
|
|
23575
23575
|
}
|
|
23576
23576
|
_directionToOrder(e) {
|
|
23577
|
-
return Xt() ? e ===
|
|
23577
|
+
return Xt() ? e === Yr ? Vr : Ai : e === Yr ? Ai : Vr;
|
|
23578
23578
|
}
|
|
23579
23579
|
_orderToDirection(e) {
|
|
23580
|
-
return Xt() ? e ===
|
|
23580
|
+
return Xt() ? e === Vr ? Yr : Ls : e === Vr ? Ls : Yr;
|
|
23581
23581
|
}
|
|
23582
23582
|
// Static
|
|
23583
23583
|
static jQueryInterface(e) {
|
|
@@ -23605,7 +23605,7 @@ te.on(document, ex, cx, function(n) {
|
|
|
23605
23605
|
t.to(r), t._maybeEnableCycle();
|
|
23606
23606
|
return;
|
|
23607
23607
|
}
|
|
23608
|
-
if (
|
|
23608
|
+
if (Dn.getDataAttribute(this, "slide") === "next") {
|
|
23609
23609
|
t.next(), t._maybeEnableCycle();
|
|
23610
23610
|
return;
|
|
23611
23611
|
}
|
|
@@ -23617,7 +23617,7 @@ te.on(window, qT, () => {
|
|
|
23617
23617
|
cs.getOrCreateInstance(e);
|
|
23618
23618
|
});
|
|
23619
23619
|
Zt(cs);
|
|
23620
|
-
const px = "collapse", mx = "bs.collapse", us = `.${mx}`, gx = ".data-api", vx = `show${us}`, yx = `shown${us}`, bx = `hide${us}`, Ex = `hidden${us}`, Sx = `click${us}${gx}`, Ga = "show",
|
|
23620
|
+
const px = "collapse", mx = "bs.collapse", us = `.${mx}`, gx = ".data-api", vx = `show${us}`, yx = `shown${us}`, bx = `hide${us}`, Ex = `hidden${us}`, Sx = `click${us}${gx}`, Ga = "show", qr = "collapse", As = "collapsing", Tx = "collapsed", xx = `:scope .${qr} .${qr}`, Ax = "collapse-horizontal", Cx = "width", wx = "height", kx = ".collapse.show, .collapse.collapsing", Fl = '[data-bs-toggle="collapse"]', Ox = {
|
|
23621
23621
|
parent: null,
|
|
23622
23622
|
toggle: !0
|
|
23623
23623
|
}, Mx = {
|
|
@@ -23659,9 +23659,9 @@ class qi extends an {
|
|
|
23659
23659
|
for (const l of e)
|
|
23660
23660
|
l.hide();
|
|
23661
23661
|
const r = this._getDimension();
|
|
23662
|
-
this._element.classList.remove(
|
|
23662
|
+
this._element.classList.remove(qr), this._element.classList.add(As), this._element.style[r] = 0, this._addAriaAndCollapsedClass(this._triggerArray, !0), this._isTransitioning = !0;
|
|
23663
23663
|
const i = () => {
|
|
23664
|
-
this._isTransitioning = !1, this._element.classList.remove(As), this._element.classList.add(
|
|
23664
|
+
this._isTransitioning = !1, this._element.classList.remove(As), this._element.classList.add(qr, Ga), this._element.style[r] = "", te.trigger(this._element, yx);
|
|
23665
23665
|
}, o = `scroll${r[0].toUpperCase() + r.slice(1)}`;
|
|
23666
23666
|
this._queueCallback(i, this._element, !0), this._element.style[r] = `${this._element[o]}px`;
|
|
23667
23667
|
}
|
|
@@ -23669,14 +23669,14 @@ class qi extends an {
|
|
|
23669
23669
|
if (this._isTransitioning || !this._isShown() || te.trigger(this._element, bx).defaultPrevented)
|
|
23670
23670
|
return;
|
|
23671
23671
|
const t = this._getDimension();
|
|
23672
|
-
this._element.style[t] = `${this._element.getBoundingClientRect()[t]}px`, as(this._element), this._element.classList.add(As), this._element.classList.remove(
|
|
23672
|
+
this._element.style[t] = `${this._element.getBoundingClientRect()[t]}px`, as(this._element), this._element.classList.add(As), this._element.classList.remove(qr, Ga);
|
|
23673
23673
|
for (const i of this._triggerArray) {
|
|
23674
23674
|
const s = Se.getElementFromSelector(i);
|
|
23675
23675
|
s && !this._isShown(s) && this._addAriaAndCollapsedClass([i], !1);
|
|
23676
23676
|
}
|
|
23677
23677
|
this._isTransitioning = !0;
|
|
23678
23678
|
const r = () => {
|
|
23679
|
-
this._isTransitioning = !1, this._element.classList.remove(As), this._element.classList.add(
|
|
23679
|
+
this._isTransitioning = !1, this._element.classList.remove(As), this._element.classList.add(qr), te.trigger(this._element, Ex);
|
|
23680
23680
|
};
|
|
23681
23681
|
this._element.style[t] = "", this._queueCallback(r, this._element, !0);
|
|
23682
23682
|
}
|
|
@@ -23729,7 +23729,7 @@ te.on(document, Sx, Fl, function(n) {
|
|
|
23729
23729
|
}).toggle();
|
|
23730
23730
|
});
|
|
23731
23731
|
Zt(qi);
|
|
23732
|
-
const Yd = "dropdown", Ix = "bs.dropdown",
|
|
23732
|
+
const Yd = "dropdown", Ix = "bs.dropdown", Lr = `.${Ix}`, Dc = ".data-api", Nx = "Escape", Jd = "Tab", Dx = "ArrowUp", Xd = "ArrowDown", Rx = 2, Lx = `hide${Lr}`, _x = `hidden${Lr}`, Px = `show${Lr}`, Fx = `shown${Lr}`, gm = `click${Lr}${Dc}`, vm = `keydown${Lr}${Dc}`, $x = `keyup${Lr}${Dc}`, Jr = "show", Bx = "dropup", zx = "dropend", Vx = "dropstart", Hx = "dropup-center", Ux = "dropdown-center", yr = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', jx = `${yr}.${Jr}`, _s = ".dropdown-menu", Wx = ".navbar", Kx = ".navbar-nav", Gx = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", Yx = Xt() ? "top-end" : "top-start", Jx = Xt() ? "top-start" : "top-end", Xx = Xt() ? "bottom-end" : "bottom-start", Qx = Xt() ? "bottom-start" : "bottom-end", Zx = Xt() ? "left-start" : "right-start", qx = Xt() ? "right-start" : "left-start", eA = "top", tA = "bottom", nA = {
|
|
23733
23733
|
autoClose: !0,
|
|
23734
23734
|
boundary: "clippingParents",
|
|
23735
23735
|
display: "dynamic",
|
|
@@ -23772,7 +23772,7 @@ class vn extends an {
|
|
|
23772
23772
|
if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(Kx))
|
|
23773
23773
|
for (const r of [].concat(...document.body.children))
|
|
23774
23774
|
te.on(r, "mouseover", Do);
|
|
23775
|
-
this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(
|
|
23775
|
+
this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(Jr), this._element.classList.add(Jr), te.trigger(this._element, Fx, e);
|
|
23776
23776
|
}
|
|
23777
23777
|
}
|
|
23778
23778
|
hide() {
|
|
@@ -23795,11 +23795,11 @@ class vn extends an {
|
|
|
23795
23795
|
if ("ontouchstart" in document.documentElement)
|
|
23796
23796
|
for (const r of [].concat(...document.body.children))
|
|
23797
23797
|
te.off(r, "mouseover", Do);
|
|
23798
|
-
this._popper && this._popper.destroy(), this._menu.classList.remove(
|
|
23798
|
+
this._popper && this._popper.destroy(), this._menu.classList.remove(Jr), this._element.classList.remove(Jr), this._element.setAttribute("aria-expanded", "false"), Dn.removeDataAttribute(this._menu, "popper"), te.trigger(this._element, _x, e);
|
|
23799
23799
|
}
|
|
23800
23800
|
}
|
|
23801
23801
|
_getConfig(e) {
|
|
23802
|
-
if (e = super._getConfig(e), typeof e.reference == "object" && !
|
|
23802
|
+
if (e = super._getConfig(e), typeof e.reference == "object" && !Nn(e.reference) && typeof e.reference.getBoundingClientRect != "function")
|
|
23803
23803
|
throw new TypeError(`${Yd.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);
|
|
23804
23804
|
return e;
|
|
23805
23805
|
}
|
|
@@ -23807,12 +23807,12 @@ class vn extends an {
|
|
|
23807
23807
|
if (typeof Rp > "u")
|
|
23808
23808
|
throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");
|
|
23809
23809
|
let e = this._element;
|
|
23810
|
-
this._config.reference === "parent" ? e = this._parent :
|
|
23810
|
+
this._config.reference === "parent" ? e = this._parent : Nn(this._config.reference) ? e = tr(this._config.reference) : typeof this._config.reference == "object" && (e = this._config.reference);
|
|
23811
23811
|
const t = this._getPopperConfig();
|
|
23812
23812
|
this._popper = ta(e, this._menu, t);
|
|
23813
23813
|
}
|
|
23814
23814
|
_isShown() {
|
|
23815
|
-
return this._menu.classList.contains(
|
|
23815
|
+
return this._menu.classList.contains(Jr);
|
|
23816
23816
|
}
|
|
23817
23817
|
_getPlacement() {
|
|
23818
23818
|
const e = this._parent;
|
|
@@ -23851,7 +23851,7 @@ class vn extends an {
|
|
|
23851
23851
|
}
|
|
23852
23852
|
}]
|
|
23853
23853
|
};
|
|
23854
|
-
return (this._inNavbar || this._config.display === "static") && (
|
|
23854
|
+
return (this._inNavbar || this._config.display === "static") && (Dn.setDataAttribute(this._menu, "popper", "static"), e.modifiers = [{
|
|
23855
23855
|
name: "applyStyles",
|
|
23856
23856
|
enabled: !1
|
|
23857
23857
|
}]), {
|
|
@@ -24070,21 +24070,21 @@ class $l {
|
|
|
24070
24070
|
}
|
|
24071
24071
|
_saveInitialAttribute(e, t) {
|
|
24072
24072
|
const r = e.style.getPropertyValue(t);
|
|
24073
|
-
r &&
|
|
24073
|
+
r && Dn.setDataAttribute(e, t, r);
|
|
24074
24074
|
}
|
|
24075
24075
|
_resetElementAttributes(e, t) {
|
|
24076
24076
|
const r = (i) => {
|
|
24077
|
-
const s =
|
|
24077
|
+
const s = Dn.getDataAttribute(i, t);
|
|
24078
24078
|
if (s === null) {
|
|
24079
24079
|
i.style.removeProperty(t);
|
|
24080
24080
|
return;
|
|
24081
24081
|
}
|
|
24082
|
-
|
|
24082
|
+
Dn.removeDataAttribute(i, t), i.style.setProperty(t, s);
|
|
24083
24083
|
};
|
|
24084
24084
|
this._applyManipulationCallback(e, r);
|
|
24085
24085
|
}
|
|
24086
24086
|
_applyManipulationCallback(e, t) {
|
|
24087
|
-
if (
|
|
24087
|
+
if (Nn(e)) {
|
|
24088
24088
|
t(e);
|
|
24089
24089
|
return;
|
|
24090
24090
|
}
|
|
@@ -24101,7 +24101,7 @@ const mA = "modal", gA = "bs.modal", Qt = `.${gA}`, vA = ".data-api", yA = "Esca
|
|
|
24101
24101
|
focus: "boolean",
|
|
24102
24102
|
keyboard: "boolean"
|
|
24103
24103
|
};
|
|
24104
|
-
class
|
|
24104
|
+
class Nr extends an {
|
|
24105
24105
|
constructor(e, t) {
|
|
24106
24106
|
super(e, t), this._dialog = Se.findOne(MA, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new $l(), this._addEventListeners();
|
|
24107
24107
|
}
|
|
@@ -24218,7 +24218,7 @@ class mi extends an {
|
|
|
24218
24218
|
// Static
|
|
24219
24219
|
static jQueryInterface(e, t) {
|
|
24220
24220
|
return this.each(function() {
|
|
24221
|
-
const r =
|
|
24221
|
+
const r = Nr.getOrCreateInstance(this, e);
|
|
24222
24222
|
if (typeof e == "string") {
|
|
24223
24223
|
if (typeof r[e] > "u")
|
|
24224
24224
|
throw new TypeError(`No method named "${e}"`);
|
|
@@ -24235,10 +24235,10 @@ te.on(document, wA, NA, function(n) {
|
|
|
24235
24235
|
});
|
|
24236
24236
|
});
|
|
24237
24237
|
const t = Se.findOne(OA);
|
|
24238
|
-
t &&
|
|
24238
|
+
t && Nr.getInstance(t).hide(), Nr.getOrCreateInstance(e).toggle(this);
|
|
24239
24239
|
});
|
|
24240
|
-
ra(
|
|
24241
|
-
Zt(
|
|
24240
|
+
ra(Nr);
|
|
24241
|
+
Zt(Nr);
|
|
24242
24242
|
const LA = "offcanvas", _A = "bs.offcanvas", _n = `.${_A}`, xm = ".data-api", PA = `load${_n}${xm}`, FA = "Escape", of = "show", af = "showing", lf = "hiding", $A = "offcanvas-backdrop", Am = ".offcanvas.show", BA = `show${_n}`, zA = `shown${_n}`, VA = `hide${_n}`, cf = `hidePrevented${_n}`, Cm = `hidden${_n}`, HA = `resize${_n}`, UA = `click${_n}${xm}`, jA = `keydown.dismiss${_n}`, WA = '[data-bs-toggle="offcanvas"]', KA = {
|
|
24243
24243
|
backdrop: !0,
|
|
24244
24244
|
keyboard: !0,
|
|
@@ -24484,7 +24484,7 @@ class rC extends ls {
|
|
|
24484
24484
|
i.remove();
|
|
24485
24485
|
return;
|
|
24486
24486
|
}
|
|
24487
|
-
if (
|
|
24487
|
+
if (Nn(t)) {
|
|
24488
24488
|
this._putElementInTemplate(tr(t), i);
|
|
24489
24489
|
return;
|
|
24490
24490
|
}
|
|
@@ -24768,7 +24768,7 @@ class Ti extends an {
|
|
|
24768
24768
|
return Object.values(this._activeTrigger).includes(!0);
|
|
24769
24769
|
}
|
|
24770
24770
|
_getConfig(e) {
|
|
24771
|
-
const t =
|
|
24771
|
+
const t = Dn.getDataAttributes(this._element);
|
|
24772
24772
|
for (const r of Object.keys(t))
|
|
24773
24773
|
sC.has(r) && delete t[r];
|
|
24774
24774
|
return e = {
|
|
@@ -24853,7 +24853,7 @@ class Rc extends Ti {
|
|
|
24853
24853
|
}
|
|
24854
24854
|
}
|
|
24855
24855
|
Zt(Rc);
|
|
24856
|
-
const OC = "scrollspy", MC = "bs.scrollspy", Lc = `.${MC}`, IC = ".data-api", NC = `activate${Lc}`, ff = `click${Lc}`, DC = `load${Lc}${IC}`, RC = "dropdown-item",
|
|
24856
|
+
const OC = "scrollspy", MC = "bs.scrollspy", Lc = `.${MC}`, IC = ".data-api", NC = `activate${Lc}`, ff = `click${Lc}`, DC = `load${Lc}${IC}`, RC = "dropdown-item", Hr = "active", LC = '[data-bs-spy="scroll"]', Qa = "[href]", _C = ".nav, .list-group", hf = ".nav-link", PC = ".nav-item", FC = ".list-group-item", $C = `${hf}, ${PC} > ${hf}, ${FC}`, BC = ".dropdown", zC = ".dropdown-toggle", VC = {
|
|
24857
24857
|
offset: null,
|
|
24858
24858
|
// TODO: v6 @deprecated, keep it for backwards compatibility reasons
|
|
24859
24859
|
rootMargin: "0px 0px -25%",
|
|
@@ -24954,24 +24954,24 @@ class oa extends an {
|
|
|
24954
24954
|
}
|
|
24955
24955
|
}
|
|
24956
24956
|
_process(e) {
|
|
24957
|
-
this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(
|
|
24957
|
+
this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(Hr), this._activateParents(e), te.trigger(this._element, NC, {
|
|
24958
24958
|
relatedTarget: e
|
|
24959
24959
|
}));
|
|
24960
24960
|
}
|
|
24961
24961
|
_activateParents(e) {
|
|
24962
24962
|
if (e.classList.contains(RC)) {
|
|
24963
|
-
Se.findOne(zC, e.closest(BC)).classList.add(
|
|
24963
|
+
Se.findOne(zC, e.closest(BC)).classList.add(Hr);
|
|
24964
24964
|
return;
|
|
24965
24965
|
}
|
|
24966
24966
|
for (const t of Se.parents(e, _C))
|
|
24967
24967
|
for (const r of Se.prev(t, $C))
|
|
24968
|
-
r.classList.add(
|
|
24968
|
+
r.classList.add(Hr);
|
|
24969
24969
|
}
|
|
24970
24970
|
_clearActiveClass(e) {
|
|
24971
|
-
e.classList.remove(
|
|
24972
|
-
const t = Se.find(`${Qa}.${
|
|
24971
|
+
e.classList.remove(Hr);
|
|
24972
|
+
const t = Se.find(`${Qa}.${Hr}`, e);
|
|
24973
24973
|
for (const r of t)
|
|
24974
|
-
r.classList.remove(
|
|
24974
|
+
r.classList.remove(Hr);
|
|
24975
24975
|
}
|
|
24976
24976
|
// Static
|
|
24977
24977
|
static jQueryInterface(e) {
|
|
@@ -24990,7 +24990,7 @@ te.on(window, DC, () => {
|
|
|
24990
24990
|
oa.getOrCreateInstance(n);
|
|
24991
24991
|
});
|
|
24992
24992
|
Zt(oa);
|
|
24993
|
-
const UC = "tab", jC = "bs.tab",
|
|
24993
|
+
const UC = "tab", jC = "bs.tab", _r = `.${jC}`, WC = `hide${_r}`, KC = `hidden${_r}`, GC = `show${_r}`, YC = `shown${_r}`, JC = `click${_r}`, XC = `keydown${_r}`, QC = `load${_r}`, ZC = "ArrowLeft", pf = "ArrowRight", qC = "ArrowUp", mf = "ArrowDown", br = "active", gf = "fade", Za = "show", ew = "dropdown", tw = ".dropdown-toggle", nw = ".dropdown-menu", qa = ":not(.dropdown-toggle)", rw = '.list-group, .nav, [role="tablist"]', iw = ".nav-item, .list-group-item", sw = `.nav-link${qa}, .list-group-item${qa}, [role="tab"]${qa}`, km = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', el = `${sw}, ${km}`, ow = `.${br}[data-bs-toggle="tab"], .${br}[data-bs-toggle="pill"], .${br}[data-bs-toggle="list"]`;
|
|
24994
24994
|
class gi extends an {
|
|
24995
24995
|
constructor(e) {
|
|
24996
24996
|
super(e), this._parent = this._element.closest(rw), this._parent && (this._setInitialAttributes(this._parent, this._getChildren()), te.on(this._element, XC, (t) => this._keydown(t)));
|
|
@@ -25208,8 +25208,17 @@ class ds extends an {
|
|
|
25208
25208
|
}
|
|
25209
25209
|
ra(ds);
|
|
25210
25210
|
Zt(ds);
|
|
25211
|
-
|
|
25212
|
-
const e = (
|
|
25211
|
+
const xw = (n) => {
|
|
25212
|
+
const e = yn(null);
|
|
25213
|
+
return { showModal: () => {
|
|
25214
|
+
const i = document.getElementById(n);
|
|
25215
|
+
i instanceof HTMLElement ? (e.value || (e.value = new Nr(i, {})), e.value.show()) : console.error(`Modal '${n}' niet gevonden.`);
|
|
25216
|
+
}, closeModal: () => {
|
|
25217
|
+
e.value && e.value.hide();
|
|
25218
|
+
} };
|
|
25219
|
+
};
|
|
25220
|
+
function Aw(n = void 0) {
|
|
25221
|
+
const e = (l) => s("Succesvol", l, Xr.SUCCESS), t = (l) => s("Waarschuwing", l, Xr.WARNING), r = (l) => s("Informatie", l, Xr.INFO), i = (l) => s("Mislukt", l, Xr.DANGER);
|
|
25213
25222
|
function s(l, a, c) {
|
|
25214
25223
|
const u = `toast-${Pf()}`, d = {
|
|
25215
25224
|
id: u,
|
|
@@ -25283,7 +25292,7 @@ const Ew = {
|
|
|
25283
25292
|
}), o = () => {
|
|
25284
25293
|
e("click");
|
|
25285
25294
|
};
|
|
25286
|
-
return (l, a) => (ie(), st(_o(i.value),
|
|
25295
|
+
return (l, a) => (ie(), st(_o(i.value), Rn({
|
|
25287
25296
|
class: ["bd-btn", r.value]
|
|
25288
25297
|
}, s.value, { onClick: o }), {
|
|
25289
25298
|
default: ot(() => [
|
|
@@ -25294,9 +25303,9 @@ const Ew = {
|
|
|
25294
25303
|
_: 3
|
|
25295
25304
|
}, 16, ["class"]));
|
|
25296
25305
|
}
|
|
25297
|
-
}),
|
|
25306
|
+
}), Cw = {
|
|
25298
25307
|
install: (n) => {
|
|
25299
|
-
n.component("BDCol", Wm), n.component("BDContainer", Km), n.component("BRow", Gm), n.component("BDButton", Kt), n.component("BDLogo", Hv), n.component("BDLink", Ul), n.component("BDDropdownItem", Q1), n.component("BDDropdown", J3), n.component("BDAlert", jv), n.component("BDProfileImage", Rf), n.component("BDZoomslider", u1), n.component("BDCard", Ff), n.component("BDCollapsableCard", g1), n.component("BDFormInput", C1), n.component("BDInputGroup", k1), n.component("BDFormInvalidFeedback", jl), n.component("BDBadge", M1), n.component("BDForm", N1), n.component("BDPagination", $1), n.component("BDDropzone", h0), n.component("BDMarkdownEditor", H3), n.component("BDModal", iT), n.component("BDFormSelect", V1), n.component("BDUser", G3), n.component("IconAttachment",
|
|
25308
|
+
n.component("BDCol", Wm), n.component("BDContainer", Km), n.component("BRow", Gm), n.component("BDButton", Kt), n.component("BDLogo", Hv), n.component("BDLink", Ul), n.component("BDDropdownItem", Q1), n.component("BDDropdown", J3), n.component("BDAlert", jv), n.component("BDProfileImage", Rf), n.component("BDZoomslider", u1), n.component("BDCard", Ff), n.component("BDCollapsableCard", g1), n.component("BDFormInput", C1), n.component("BDInputGroup", k1), n.component("BDFormInvalidFeedback", jl), n.component("BDBadge", M1), n.component("BDForm", N1), n.component("BDPagination", $1), n.component("BDDropzone", h0), n.component("BDMarkdownEditor", H3), n.component("BDModal", iT), n.component("BDFormSelect", V1), n.component("BDUser", G3), n.component("IconAttachment", ii), n.component("IconBold", kf), n.component("IconBulletList", Mf), n.component("IconCaretDown", Tf), n.component("IconCaretLeft", Af), n.component("IconCaretRight", xf), n.component("IconCheck", zl), n.component("IconClose", Cf), n.component("IconError", Vl), n.component("IconFile", Sf), n.component("IconHyperlink", Nf), n.component("IconInfo", Hl), n.component("IconOrderedList", If), n.component("IconItalic", wf), n.component("IconRemove", $o), n.component("IconUnderline", Of), n.component("IconCalendar", pg), n.component("BDArticle", K1), n.component("BDFormCheckbox", U1), n.component("BDToast", Bf), n.component("BDAttachmentPreviewList", Zp), n.component("IconDownloadImage", Df), n.component("BDImageAttachmentPreviewList", qp), n.component("IconMenu", Fv);
|
|
25300
25309
|
}
|
|
25301
25310
|
};
|
|
25302
25311
|
export {
|
|
@@ -25329,7 +25338,7 @@ export {
|
|
|
25329
25338
|
Bf as BDToast,
|
|
25330
25339
|
G3 as BDUser,
|
|
25331
25340
|
u1 as BDZoomslider,
|
|
25332
|
-
|
|
25341
|
+
ii as IconAttachment,
|
|
25333
25342
|
kf as IconBold,
|
|
25334
25343
|
Mf as IconBulletList,
|
|
25335
25344
|
pg as IconCalendar,
|
|
@@ -25346,6 +25355,7 @@ export {
|
|
|
25346
25355
|
If as IconOrderedList,
|
|
25347
25356
|
$o as IconRemove,
|
|
25348
25357
|
Of as IconUnderline,
|
|
25349
|
-
|
|
25350
|
-
xw as
|
|
25358
|
+
Cw as default,
|
|
25359
|
+
xw as useModal,
|
|
25360
|
+
Aw as useToaster
|
|
25351
25361
|
};
|