golden-logic-ui 1.2.252 → 1.2.254
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/golden-logic-ui.js +256 -248
- package/dist/golden-logic-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createBlock as nu, openBlock as Be, resolveDynamicComponent as fA, mergeProps as N6, withCtx as ou, createElementBlock as He, createCommentVNode as $t, renderSlot as Ru, normalizeClass as En, createElementVNode as U, resolveComponent as id, toDisplayString as Ht, createVNode as Vl, createTextVNode as fo, reactive as $he, Fragment as so, withModifiers as Pa, renderList as Nr, normalizeStyle as Rle, computed as pc, ref as
|
|
1
|
+
import { createBlock as nu, openBlock as Be, resolveDynamicComponent as fA, mergeProps as N6, withCtx as ou, createElementBlock as He, createCommentVNode as $t, renderSlot as Ru, normalizeClass as En, createElementVNode as U, resolveComponent as id, toDisplayString as Ht, createVNode as Vl, createTextVNode as fo, reactive as $he, Fragment as so, withModifiers as Pa, renderList as Nr, normalizeStyle as Rle, computed as pc, ref as Ks, onMounted as lh, onBeforeUnmount as CA, watch as Dc, withDirectives as zr, vModelText as Cp, vShow as Ld, nextTick as bz, vModelDynamic as sre, onUnmounted as vz, useSlots as Rhe, provide as Mle, inject as gne, createStaticVNode as yz, vModelCheckbox as pne, toHandlers as Mee, resolveDirective as Ik, TransitionGroup as Mhe, unref as Nhe, markRaw as Bhe } from "vue";
|
|
2
2
|
const Ii = (r, t) => {
|
|
3
3
|
const s = r.__vccOpts || r;
|
|
4
4
|
for (const [a, c] of t)
|
|
@@ -560,6 +560,10 @@ const iRe = /* @__PURE__ */ Ii(Jhe, [["render", wme]]), Sme = {
|
|
|
560
560
|
trans_selector_name: {
|
|
561
561
|
type: String,
|
|
562
562
|
default: "i18n_selector"
|
|
563
|
+
},
|
|
564
|
+
selectorClass: {
|
|
565
|
+
type: String,
|
|
566
|
+
default: "gl-multilanguage"
|
|
563
567
|
}
|
|
564
568
|
},
|
|
565
569
|
data() {
|
|
@@ -574,7 +578,7 @@ const iRe = /* @__PURE__ */ Ii(Jhe, [["render", wme]]), Sme = {
|
|
|
574
578
|
id: this.menu_id
|
|
575
579
|
};
|
|
576
580
|
axios.get("/admin/get_locals", { params: r }).then((t) => {
|
|
577
|
-
this.locals = t.data.locals, this.default_language = t.data.default_language, this.$refs.language_selector.classList.add(
|
|
581
|
+
this.locals = t.data.locals, this.default_language = t.data.default_language, this.$refs.language_selector.classList.add(this.selectorClass);
|
|
578
582
|
}).catch((t) => {
|
|
579
583
|
console.error(t);
|
|
580
584
|
});
|
|
@@ -732,7 +736,7 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
732
736
|
},
|
|
733
737
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
734
738
|
setup(r, { emit: t }) {
|
|
735
|
-
const s = r, a = t, c =
|
|
739
|
+
const s = r, a = t, c = Ks(null), f = Ks([]), h = Ks([]), b = Ks([]), x = Ks(0), C = Ks(!1), T = Ks(""), R = Ks(""), M = Ks(null), L = (F) => {
|
|
736
740
|
F.key === "Enter" && F.target.form && F.preventDefault();
|
|
737
741
|
};
|
|
738
742
|
lh(() => {
|
|
@@ -1078,12 +1082,12 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1078
1082
|
},
|
|
1079
1083
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1080
1084
|
setup(r, { expose: t, emit: s }) {
|
|
1081
|
-
const a = r, c = s, f =
|
|
1085
|
+
const a = r, c = s, f = Ks(null), h = Ks(null), b = Ks(null), x = () => {
|
|
1082
1086
|
h.value && c("update:modelValueTranslate", h.value.value);
|
|
1083
1087
|
};
|
|
1084
1088
|
return lh(() => {
|
|
1085
|
-
f.value !== null && f.value.hasAttribute("autofocus") && f.value.focus(), a.modelValue && (c("update:modelValue", a.modelValue), f.value && (f.value.value = a.modelValue)), a.modelValueTranslate && (c("update:modelValueTranslate", a.modelValueTranslate), h.value && (h.value.value = a.modelValueTranslate)), f.value && f.value.classList.add("gl-multilanguage"),
|
|
1086
|
-
}), t({ focus: () => f.value.focus() }), (
|
|
1089
|
+
f.value !== null && f.value.hasAttribute("autofocus") && f.value.focus(), a.modelValue && (c("update:modelValue", a.modelValue), f.value && (f.value.value = a.modelValue)), a.modelValueTranslate && (c("update:modelValueTranslate", a.modelValueTranslate), h.value && (h.value.value = a.modelValueTranslate)), f.value && f.value.classList.add("gl-multilanguage"), b.value && b.value.classList.add("gl-multilanguage");
|
|
1090
|
+
}), t({ focus: () => f.value.focus() }), (C, T) => (Be(), He(so, null, [
|
|
1087
1091
|
r.show ? (Be(), He("div", {
|
|
1088
1092
|
key: 0,
|
|
1089
1093
|
class: En(r.field_name)
|
|
@@ -1098,10 +1102,12 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1098
1102
|
ref: h
|
|
1099
1103
|
}, null, 8, jme),
|
|
1100
1104
|
U("p", {
|
|
1105
|
+
ref_key: "output_translate",
|
|
1106
|
+
ref: b,
|
|
1101
1107
|
id: r.field_name,
|
|
1102
1108
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1103
|
-
}, Ht(
|
|
1104
|
-
|
|
1109
|
+
}, Ht(C.model_value), 9, Gme),
|
|
1110
|
+
T[2] || (T[2] = U("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
1105
1111
|
], 2)) : $t("", !0),
|
|
1106
1112
|
r.show ? $t("", !0) : (Be(), He("div", {
|
|
1107
1113
|
key: 1,
|
|
@@ -1115,14 +1121,14 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1115
1121
|
}),
|
|
1116
1122
|
for: r.field_name
|
|
1117
1123
|
}, Ht(r.label_name), 11, Yme),
|
|
1118
|
-
|
|
1124
|
+
T[3] || (T[3] = U("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-blue-900 dark:text-blue-300" }, null, -1)),
|
|
1119
1125
|
U("input", {
|
|
1120
1126
|
class: "mb-4",
|
|
1121
1127
|
type: "hidden",
|
|
1122
1128
|
"data-i18n": "true",
|
|
1123
1129
|
name: r.field_name + "_i18n",
|
|
1124
1130
|
id: r.field_name + "_i18n",
|
|
1125
|
-
onChange:
|
|
1131
|
+
onChange: x,
|
|
1126
1132
|
ref_key: "input_translate",
|
|
1127
1133
|
ref: h
|
|
1128
1134
|
}, null, 40, Kme),
|
|
@@ -1135,8 +1141,8 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1135
1141
|
name: r.field_name,
|
|
1136
1142
|
id: r.field_name,
|
|
1137
1143
|
type: r.type,
|
|
1138
|
-
onInput:
|
|
1139
|
-
onKeydown:
|
|
1144
|
+
onInput: T[0] || (T[0] = (R) => C.$emit("update:modelValue", R.target.value)),
|
|
1145
|
+
onKeydown: T[1] || (T[1] = (R) => C.$emit("keydown", R)),
|
|
1140
1146
|
ref_key: "input",
|
|
1141
1147
|
ref: f,
|
|
1142
1148
|
rows: "4"
|
|
@@ -1196,12 +1202,12 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1196
1202
|
},
|
|
1197
1203
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1198
1204
|
setup(r, { expose: t, emit: s }) {
|
|
1199
|
-
const a = r, c = s, f =
|
|
1205
|
+
const a = r, c = s, f = Ks(null), h = Ks(null), b = Ks(null), x = () => {
|
|
1200
1206
|
h.value && c("update:modelValueTranslate", h.value.value);
|
|
1201
1207
|
};
|
|
1202
1208
|
return lh(() => {
|
|
1203
|
-
f.value !== null && f.value.hasAttribute("autofocus") && f.value.focus(), a.modelValue && (c("update:modelValue", a.modelValue), f.value && (f.value.value = a.modelValue)), a.modelValueTranslate && (c("update:modelValueTranslate", a.modelValueTranslate), h.value && (h.value.value = a.modelValueTranslate)), f.value && f.value.classList.add("gl-multilanguage"),
|
|
1204
|
-
}), t({ focus: () => f.value.focus() }), (
|
|
1209
|
+
f.value !== null && f.value.hasAttribute("autofocus") && f.value.focus(), a.modelValue && (c("update:modelValue", a.modelValue), f.value && (f.value.value = a.modelValue)), a.modelValueTranslate && (c("update:modelValueTranslate", a.modelValueTranslate), h.value && (h.value.value = a.modelValueTranslate)), f.value && f.value.classList.add("gl-multilanguage"), b.value && b.value.classList.add("gl-multilanguage");
|
|
1210
|
+
}), t({ focus: () => f.value.focus() }), (C, T) => (Be(), He(so, null, [
|
|
1205
1211
|
r.show ? (Be(), He("div", {
|
|
1206
1212
|
key: 0,
|
|
1207
1213
|
class: En(r.field_name)
|
|
@@ -1216,10 +1222,12 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1216
1222
|
ref: h
|
|
1217
1223
|
}, null, 8, sge),
|
|
1218
1224
|
U("p", {
|
|
1225
|
+
ref_key: "output_translate",
|
|
1226
|
+
ref: b,
|
|
1219
1227
|
id: r.field_name,
|
|
1220
1228
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1221
|
-
}, Ht(
|
|
1222
|
-
|
|
1229
|
+
}, Ht(C.model_value), 9, oge),
|
|
1230
|
+
T[2] || (T[2] = U("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
1223
1231
|
], 2)) : $t("", !0),
|
|
1224
1232
|
r.show ? $t("", !0) : (Be(), He("div", {
|
|
1225
1233
|
key: 1,
|
|
@@ -1233,14 +1241,14 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1233
1241
|
}),
|
|
1234
1242
|
for: r.field_name
|
|
1235
1243
|
}, Ht(r.label_name), 11, rge),
|
|
1236
|
-
|
|
1244
|
+
T[3] || (T[3] = U("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-blue-900 dark:text-blue-300" }, null, -1)),
|
|
1237
1245
|
U("input", {
|
|
1238
1246
|
class: "mb-4",
|
|
1239
1247
|
type: "hidden",
|
|
1240
1248
|
"data-i18n": "true",
|
|
1241
1249
|
name: r.field_name + "_i18n",
|
|
1242
1250
|
id: r.field_name + "_i18n",
|
|
1243
|
-
onChange:
|
|
1251
|
+
onChange: x,
|
|
1244
1252
|
ref_key: "input_translate",
|
|
1245
1253
|
ref: h
|
|
1246
1254
|
}, null, 40, ige),
|
|
@@ -1253,8 +1261,8 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1253
1261
|
" gl-input-form-invalid": r.error_message !== ""
|
|
1254
1262
|
}]),
|
|
1255
1263
|
type: r.type,
|
|
1256
|
-
onInput:
|
|
1257
|
-
onKeydown:
|
|
1264
|
+
onInput: T[0] || (T[0] = (R) => C.$emit("update:modelValue", R.target.value)),
|
|
1265
|
+
onKeydown: T[1] || (T[1] = (R) => C.$emit("keydown", R)),
|
|
1258
1266
|
ref_key: "input",
|
|
1259
1267
|
ref: f
|
|
1260
1268
|
}, null, 42, age),
|
|
@@ -1335,7 +1343,7 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1335
1343
|
},
|
|
1336
1344
|
emits: ["update:modelValue", "keydown", "blur-sm", "keyup"],
|
|
1337
1345
|
setup(r, { expose: t, emit: s }) {
|
|
1338
|
-
const a = r, c = s, f =
|
|
1346
|
+
const a = r, c = s, f = Ks(null);
|
|
1339
1347
|
lh(() => {
|
|
1340
1348
|
f.value !== null && f.value.hasAttribute("autofocus") && f.value.focus();
|
|
1341
1349
|
});
|
|
@@ -1534,7 +1542,7 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1534
1542
|
},
|
|
1535
1543
|
emits: ["update:modelValue", "change", "blur-sm"],
|
|
1536
1544
|
setup(r, { expose: t, emit: s }) {
|
|
1537
|
-
const a = r, c = s, f =
|
|
1545
|
+
const a = r, c = s, f = Ks(null), h = Ks(null), b = Ks(!1), x = Ks((/* @__PURE__ */ new Date()).getMonth()), C = Ks((/* @__PURE__ */ new Date()).getFullYear()), T = (ft) => {
|
|
1538
1546
|
if (!ft) return null;
|
|
1539
1547
|
if (ft.toLowerCase() === "today")
|
|
1540
1548
|
return /* @__PURE__ */ new Date();
|
|
@@ -1598,7 +1606,7 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1598
1606
|
}
|
|
1599
1607
|
const lt = new Date(Ut, vt, $e);
|
|
1600
1608
|
return isNaN(lt.getTime()) ? null : lt;
|
|
1601
|
-
}, Z =
|
|
1609
|
+
}, Z = Ks("");
|
|
1602
1610
|
Dc(() => a.modelValue, (ft) => {
|
|
1603
1611
|
Z.value = L(ft);
|
|
1604
1612
|
}, { immediate: !0 });
|
|
@@ -2036,7 +2044,7 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
2036
2044
|
},
|
|
2037
2045
|
emits: ["update:modelValue", "change"],
|
|
2038
2046
|
setup(r, { emit: t }) {
|
|
2039
|
-
const s = r, a = t, c =
|
|
2047
|
+
const s = r, a = t, c = Ks(""), f = Ks({
|
|
2040
2048
|
start: s.modelValue.start,
|
|
2041
2049
|
end: s.modelValue.end
|
|
2042
2050
|
});
|
|
@@ -2205,7 +2213,7 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
2205
2213
|
},
|
|
2206
2214
|
emits: ["update:modelValue", "keydown"],
|
|
2207
2215
|
setup(r, { emit: t }) {
|
|
2208
|
-
const s = t, a =
|
|
2216
|
+
const s = t, a = Ks(null), c = (f) => {
|
|
2209
2217
|
const h = f.target.files[0];
|
|
2210
2218
|
console.log(h), s("keydown", f), h && s("update:modelValue", h);
|
|
2211
2219
|
};
|
|
@@ -2263,7 +2271,7 @@ const aRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
2263
2271
|
},
|
|
2264
2272
|
emits: ["TabChange"],
|
|
2265
2273
|
setup(r, { expose: t, emit: s }) {
|
|
2266
|
-
const a = s, c = Rhe(), f =
|
|
2274
|
+
const a = s, c = Rhe(), f = Ks(c.default().map((R) => R.props)), h = Ks("");
|
|
2267
2275
|
Mle("selectedTitle", h);
|
|
2268
2276
|
const b = (R) => R.trim().toLowerCase().replace(/\s+/g, "-"), x = (R) => {
|
|
2269
2277
|
const M = b(R);
|
|
@@ -3606,7 +3614,7 @@ const bRe = /* @__PURE__ */ Ii(W0e, [["render", wpe], ["__scopeId", "data-v-4c7f
|
|
|
3606
3614
|
},
|
|
3607
3615
|
emits: ["update:modelValue"],
|
|
3608
3616
|
setup(r, { emit: t }) {
|
|
3609
|
-
const s = r, a = t, c =
|
|
3617
|
+
const s = r, a = t, c = Ks(null), f = pc({
|
|
3610
3618
|
get() {
|
|
3611
3619
|
return s.modelValue;
|
|
3612
3620
|
},
|
|
@@ -3717,7 +3725,7 @@ const bRe = /* @__PURE__ */ Ii(W0e, [["render", wpe], ["__scopeId", "data-v-4c7f
|
|
|
3717
3725
|
},
|
|
3718
3726
|
emits: ["update:modelValue"],
|
|
3719
3727
|
setup(r, { emit: t }) {
|
|
3720
|
-
const s = r, a = t, c =
|
|
3728
|
+
const s = r, a = t, c = Ks(null), f = pc({
|
|
3721
3729
|
get() {
|
|
3722
3730
|
return s.modelValue;
|
|
3723
3731
|
},
|
|
@@ -3880,8 +3888,8 @@ const bRe = /* @__PURE__ */ Ii(W0e, [["render", wpe], ["__scopeId", "data-v-4c7f
|
|
|
3880
3888
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
3881
3889
|
setup(r, { emit: t }) {
|
|
3882
3890
|
const s = r, a = t;
|
|
3883
|
-
|
|
3884
|
-
const c =
|
|
3891
|
+
Ks(null);
|
|
3892
|
+
const c = Ks({}), f = Ks(!1), h = Ks(0), b = Ks(!1), x = Ks(""), C = Ks(""), T = Ks(!1), R = Ks(1), M = Ks(null), L = Ks(1), q = Ks([]), Z = Ks([]), K = Ks(null), ce = Ks(null), we = async (vt = "down") => {
|
|
3885
3893
|
if (!T.value) {
|
|
3886
3894
|
T.value = !0;
|
|
3887
3895
|
try {
|
|
@@ -4226,7 +4234,7 @@ const bRe = /* @__PURE__ */ Ii(W0e, [["render", wpe], ["__scopeId", "data-v-4c7f
|
|
|
4226
4234
|
},
|
|
4227
4235
|
emits: ["update:modelValue", "keydown"],
|
|
4228
4236
|
setup(r, { expose: t, emit: s }) {
|
|
4229
|
-
const a = r, c = s, f =
|
|
4237
|
+
const a = r, c = s, f = Ks(null);
|
|
4230
4238
|
lh(() => {
|
|
4231
4239
|
f.value !== null && f.value.hasAttribute("autofocus") && f.value.focus();
|
|
4232
4240
|
});
|
|
@@ -4542,7 +4550,7 @@ function N1e() {
|
|
|
4542
4550
|
}, Wt = (e, o) => {
|
|
4543
4551
|
const i = $n.call(e, 0);
|
|
4544
4552
|
return i.sort(o), i;
|
|
4545
|
-
}, Nn = (e, o) => o >= 0 && o < e.length ? ne.some(e[o]) : ne.none(), Pn = (e) => Nn(e, 0), Ln = (e) => Nn(e, e.length - 1),
|
|
4553
|
+
}, Nn = (e, o) => o >= 0 && o < e.length ? ne.some(e[o]) : ne.none(), Pn = (e) => Nn(e, 0), Ln = (e) => Nn(e, e.length - 1), Js = de(Array.from) ? Array.from : (e) => $n.call(e), jo = (e, o) => {
|
|
4546
4554
|
for (let i = 0; i < e.length; i++) {
|
|
4547
4555
|
const u = o(e[i], i);
|
|
4548
4556
|
if (u.isSome())
|
|
@@ -4562,7 +4570,7 @@ function N1e() {
|
|
|
4562
4570
|
const v = i[u], w = e[v];
|
|
4563
4571
|
o(w, v);
|
|
4564
4572
|
}
|
|
4565
|
-
},
|
|
4573
|
+
}, eo = (e, o) => gr(e, (i, u) => ({
|
|
4566
4574
|
k: u,
|
|
4567
4575
|
v: o(i, u)
|
|
4568
4576
|
})), gr = (e, o) => {
|
|
@@ -5741,7 +5749,7 @@ function N1e() {
|
|
|
5741
5749
|
},
|
|
5742
5750
|
decode: (e) => e.replace(Ib, (o, i) => i ? (i.charAt(0).toLowerCase() === "x" ? i = parseInt(i.substr(1), 16) : i = parseInt(i, 10), i > 65535 ? (i -= 65536, String.fromCharCode(55296 + (i >> 10), 56320 + (i & 1023))) : zy[i] || String.fromCharCode(i)) : ef[o] || Ou[o] || pd(o))
|
|
5743
5751
|
}, Xl = (e, o) => (e = nn.trim(e), e ? e.split(o || " ") : []), Hi = (e) => new RegExp("^" + e.replace(/([?+*])/g, ".$1") + "$"), NA = (e) => De(e) && e.source && Object.prototype.toString.call(e) === "[object RegExp]", wg = (e) => {
|
|
5744
|
-
const o = (i) => nt(i) ? pt(i, o) : NA(i) ? new RegExp(i.source, i.flags) : De(i) ?
|
|
5752
|
+
const o = (i) => nt(i) ? pt(i, o) : NA(i) ? new RegExp(i.source, i.flags) : De(i) ? eo(i, o) : i;
|
|
5745
5753
|
return o(e);
|
|
5746
5754
|
}, Qb = (e) => {
|
|
5747
5755
|
const o = /^(~)?(.+)$/;
|
|
@@ -6596,7 +6604,7 @@ function N1e() {
|
|
|
6596
6604
|
}, ji = (Pt, Nt) => wr(Pt, Nt, "nextSibling"), Gi = (Pt, Nt) => wr(Pt, Nt, "previousSibling"), Ll = (Pt) => de(Pt.querySelectorAll), Rn = (Pt, Nt) => {
|
|
6597
6605
|
var An, Sn;
|
|
6598
6606
|
const Ms = (Sn = (An = ye(Nt)) !== null && An !== void 0 ? An : o.root_element) !== null && Sn !== void 0 ? Sn : e;
|
|
6599
|
-
return Ll(Ms) ?
|
|
6607
|
+
return Ll(Ms) ? Js(Ms.querySelectorAll(Pt)) : [];
|
|
6600
6608
|
}, Os = function(Pt, Nt, An) {
|
|
6601
6609
|
const Sn = An ?? this;
|
|
6602
6610
|
if (nt(Pt)) {
|
|
@@ -6951,7 +6959,7 @@ function N1e() {
|
|
|
6951
6959
|
const i = e.indexOf(o);
|
|
6952
6960
|
return i !== -1 && e.indexOf(o, i + 1) > i;
|
|
6953
6961
|
}, LA = (e) => De(e) && us(e, "raw"), r_ = (e) => nt(e) && e.length > 1, Ub = {}, Jp = Dr("en"), i_ = () => zo(Ub, Jp.get()), zc = {
|
|
6954
|
-
getData: () =>
|
|
6962
|
+
getData: () => eo(Ub, (e) => ({ ...e })),
|
|
6955
6963
|
setCode: (e) => {
|
|
6956
6964
|
e && Jp.set(e);
|
|
6957
6965
|
},
|
|
@@ -7415,7 +7423,7 @@ function N1e() {
|
|
|
7415
7423
|
return !0;
|
|
7416
7424
|
}
|
|
7417
7425
|
return !0;
|
|
7418
|
-
}, aw = (e) => Em(e) ? !Bs(
|
|
7426
|
+
}, aw = (e) => Em(e) ? !Bs(Js(e.getElementsByTagName("*")), (o, i) => o || ow(i), !1) : !1, ov = (e) => iw(e) || aw(e), Q0 = (e, o) => Cc(e) && YA(e, o), b_ = ds, cO = Cc, v_ = yh("display", "block table"), uO = yh("float", "left right"), Pg = GA(b_, cO, be(uO)), y_ = be(yh("white-space", "pre pre-line pre-wrap")), V0 = sn, a1 = Ar, O_ = Yr.nodeIndex, Am = jA, dO = (e) => e ? e.createRange() : Yr.DOM.createRng(), rv = (e) => te(e) && /[\r\n\t ]/.test(e), lw = (e) => !!e.setStart && !!e.setEnd, cw = (e) => {
|
|
7419
7427
|
const o = e.startContainer, i = e.startOffset;
|
|
7420
7428
|
if (rv(e.toString()) && y_(o.parentNode) && sn(o)) {
|
|
7421
7429
|
const u = o.data;
|
|
@@ -8565,7 +8573,7 @@ Required: ` + o.join(", "));
|
|
|
8565
8573
|
const i = Uw(e.data.substr(0, o.offset())), u = Uw(e.data.substr(o.offset()));
|
|
8566
8574
|
return (i.text + u.text).length > 0 ? (NO(e), Zt(e, o.offset() - i.count)) : o;
|
|
8567
8575
|
}, m1 = (e, o) => {
|
|
8568
|
-
const i = o.container(), u = rr(
|
|
8576
|
+
const i = o.container(), u = rr(Js(i.childNodes), e).map((m) => m < o.offset() ? Zt(i, o.offset() - 1) : o).getOr(o);
|
|
8569
8577
|
return Z0(e), u;
|
|
8570
8578
|
}, Xw = (e, o) => zw(e) && o.container() === e ? BO(e, o) : Ww(e, o), M5 = (e, o) => o.container() === e.parentNode ? m1(e, o) : Ww(e, o), N5 = (e, o) => Zt.isTextPosition(o) ? Xw(e, o) : M5(e, o), Z0 = (e) => {
|
|
8571
8579
|
R5(e) && ac(e) && (ev(e) ? e.removeAttribute("data-mce-caret") : Zw(e)), zw(e) && (NO(e), e.data.length === 0 && Zw(e));
|
|
@@ -9299,7 +9307,7 @@ Required: ` + o.join(", "));
|
|
|
9299
9307
|
},
|
|
9300
9308
|
getAll: (v) => {
|
|
9301
9309
|
const w = Gb(e, v);
|
|
9302
|
-
return
|
|
9310
|
+
return eo(w, (E) => pt(E, (P) => P.dom));
|
|
9303
9311
|
}
|
|
9304
9312
|
};
|
|
9305
9313
|
}, Hf = (e) => ({
|
|
@@ -10910,7 +10918,7 @@ Required: ` + o.join(", "));
|
|
|
10910
10918
|
}, GP = (e, o) => {
|
|
10911
10919
|
const i = (u, m) => {
|
|
10912
10920
|
pn(u, (v) => {
|
|
10913
|
-
const w =
|
|
10921
|
+
const w = Js(v.nodes);
|
|
10914
10922
|
Ce(v.filter.callbacks, (E) => {
|
|
10915
10923
|
for (let P = w.length - 1; P >= 0; P--) {
|
|
10916
10924
|
const I = w[P];
|
|
@@ -11594,7 +11602,7 @@ Required: ` + o.join(", "));
|
|
|
11594
11602
|
const u = o.parentNode;
|
|
11595
11603
|
let m;
|
|
11596
11604
|
const v = e.dom, w = Ha(e);
|
|
11597
|
-
Ih(i) && u === v.getRoot() && (!i.list_block || !eC(o, i.list_block)) && Ce(
|
|
11605
|
+
Ih(i) && u === v.getRoot() && (!i.list_block || !eC(o, i.list_block)) && Ce(Js(o.childNodes), (E) => {
|
|
11598
11606
|
Qg(e, w, E.nodeName.toLowerCase()) ? m ? m.appendChild(E) : (m = V4(v, E, w), v.setAttribs(m, Xu(e))) : m = null;
|
|
11599
11607
|
}), !(GO(i) && !eC(i.inline, o)) && v.remove(o, !0);
|
|
11600
11608
|
}, qN = (e, o, i) => Kt(e) ? {
|
|
@@ -11696,7 +11704,7 @@ Required: ` + o.join(", "));
|
|
|
11696
11704
|
const Re = z1(e, ye, o, i, m);
|
|
11697
11705
|
return yU(e, v, Re, ye, ye, !0, w, i);
|
|
11698
11706
|
}, j = (ye) => ku(ye) && ds(ye) && (ye.id === "_start" || ye.id === "_end"), ee = (ye) => ct(v, (Re) => px(e, Re, i, ye, ye)), se = (ye) => {
|
|
11699
|
-
const Re =
|
|
11707
|
+
const Re = Js(ye.childNodes), yt = ee(ye) || ct(v, (rn) => mx(E, ye, rn)), _t = ye.parentNode;
|
|
11700
11708
|
if (!yt && Me(_t) && S1(w) && ee(_t), w.deep && Re.length)
|
|
11701
11709
|
for (let rn = 0; rn < Re.length; rn++)
|
|
11702
11710
|
se(Re[rn]);
|
|
@@ -11871,12 +11879,12 @@ Required: ` + o.join(", "));
|
|
|
11871
11879
|
return;
|
|
11872
11880
|
}
|
|
11873
11881
|
}
|
|
11874
|
-
Me(Rt) && Yn(Hn, wr, Gi, wo) ? (It || (It = Te.clone(Rt, !1), or.insertBefore(It, Hn), tt.push(It)), wo && ys && (yt = vo), It.appendChild(Hn)) : (It = null, Ce(
|
|
11882
|
+
Me(Rt) && Yn(Hn, wr, Gi, wo) ? (It || (It = Te.clone(Rt, !1), or.insertBefore(It, Hn), tt.push(It)), wo && ys && (yt = vo), It.appendChild(Hn)) : (It = null, Ce(Js(Hn.childNodes), ln), ys && (yt = vo), It = null);
|
|
11875
11883
|
};
|
|
11876
11884
|
Ce(qt, ln);
|
|
11877
11885
|
}), v.links === !0 && Ce(tt, (qt) => {
|
|
11878
11886
|
const It = (ln) => {
|
|
11879
|
-
ln.nodeName === "A" && I(ln, v), Ce(
|
|
11887
|
+
ln.nodeName === "A" && I(ln, v), Ce(Js(ln.childNodes), It);
|
|
11880
11888
|
};
|
|
11881
11889
|
It(qt);
|
|
11882
11890
|
}), Ce(tt, (qt) => {
|
|
@@ -13422,8 +13430,8 @@ Required: ` + o.join(", "));
|
|
|
13422
13430
|
Ce(e, (u) => {
|
|
13423
13431
|
u[0] === kx ? i++ : u[0] === UB ? (bC(o, u[1], i), i++) : u[0] === WB && qB(o, i);
|
|
13424
13432
|
});
|
|
13425
|
-
}, jB = (e, o) => kn(pt(
|
|
13426
|
-
const i = pt(
|
|
13433
|
+
}, jB = (e, o) => kn(pt(Js(e.childNodes), F(Cu, j4)), (i) => i.length > 0), GB = (e, o) => {
|
|
13434
|
+
const i = pt(Js(o.childNodes), j4);
|
|
13427
13435
|
return GD(Wv(i, e), o), o;
|
|
13428
13436
|
}, hW = Qe(() => document.implementation.createHTMLDocument("undo")), mW = (e) => e.querySelector("iframe") !== null, gW = (e) => ({
|
|
13429
13437
|
type: "fragmented",
|
|
@@ -14410,7 +14418,7 @@ Options:
|
|
|
14410
14418
|
return pt(o, (v) => xX(v) ? v : OX(v) && !e.inline ? `${i}/${v}/${m}` : e.documentBaseURI.toAbsolute(v));
|
|
14411
14419
|
}, y$ = (e) => {
|
|
14412
14420
|
e.contentCSS = e.contentCSS.concat(wX(e), Xse(e));
|
|
14413
|
-
}, SX = (e) => e ?
|
|
14421
|
+
}, SX = (e) => e ? Js(e.getElementsByTagName("img")) : [], CX = (e, o) => {
|
|
14414
14422
|
const i = {};
|
|
14415
14423
|
return { findAll: (m, v = Ot) => {
|
|
14416
14424
|
const w = kn(SX(m), (P) => {
|
|
@@ -16787,7 +16795,7 @@ Options:
|
|
|
16787
16795
|
` + Rj(e.errors).join(`
|
|
16788
16796
|
`) + `
|
|
16789
16797
|
|
|
16790
|
-
Input object: ` + _8(e.input), X3 = (e, o) => FL(e,
|
|
16798
|
+
Input object: ` + _8(e.input), X3 = (e, o) => FL(e, eo(o, tk)), Xj = ft(Fj), q3 = (e, o) => R8((i) => {
|
|
16791
16799
|
const u = typeof i;
|
|
16792
16800
|
return e(i) ? mr.svalue(i) : mr.serror(`Expected type: ${o} but got: ${u}`);
|
|
16793
16801
|
}), qj = q3(Kt, "number"), Ix = q3(te, "string"), VL = q3(ot, "boolean"), N8 = q3(de, "function"), ly = Nj, HL = Bj, B8 = (e) => Uj((o) => Ue(e, o) ? lc.value(o) : lc.error(`Unsupported value: "${o}", choose one of "${e.join(", ")}".`)), j3 = (e, o) => ly(e, e, Nx(), o), zL = (e) => j3(e, Ix), F8 = (e, o) => ly(e, e, Nx(), B8(o)), ZL = (e) => j3(e, N8), UL = (e, o) => ly(e, e, Nx(), M8(o)), nk = (e, o) => ly(e, e, Gh(), o), cy = (e) => nk(e, Ix), jj = (e) => nk(e, N8), WL = (e, o) => nk(e, tk(o)), Gj = (e, o) => ly(e, e, Bx(o), Xj()), Lx = (e, o, i) => ly(e, e, Bx(o), i), I8 = (e, o) => Lx(e, o, qj), G3 = (e, o) => Lx(e, o, Ix), XL = (e, o, i) => Lx(e, o, B8(i)), L8 = (e, o) => Lx(e, o, VL), Gg = (e, o) => Lx(e, o, N8), qL = (e, o, i) => Lx(e, o, M8(i)), Yj = zL("type"), Kj = ZL("fetch"), Q8 = ZL("onAction"), Jj = Gg("onSetup", () => kt), eG = cy("text"), tG = cy("icon"), nG = cy("tooltip"), sG = cy("label"), coe = L8("active", !1), oG = L8("enabled", !0), sk = L8("primary", !1), jL = (e) => Gj("columns", e), uy = (e) => G3("type", e), rG = tk([
|
|
@@ -16883,7 +16891,7 @@ Input object: ` + _8(e.input), X3 = (e, o) => FL(e, Js(o, tk)), Xj = ft(Fj), q3
|
|
|
16883
16891
|
]))
|
|
16884
16892
|
].concat(Y3));
|
|
16885
16893
|
const fG = (e) => {
|
|
16886
|
-
const o = e.ui.registry.getAll().popups, i =
|
|
16894
|
+
const o = e.ui.registry.getAll().popups, i = eo(o, (w) => GL(w).fold((E) => {
|
|
16887
16895
|
throw new Error(QL(E));
|
|
16888
16896
|
}, Ut)), u = $a(ui(i, (w) => w.trigger)), m = Si(i);
|
|
16889
16897
|
return {
|
|
@@ -18133,7 +18141,7 @@ Input object: ` + _8(e.input), X3 = (e, o) => FL(e, Js(o, tk)), Xj = ft(Fj), q3
|
|
|
18133
18141
|
const o = Qw(e);
|
|
18134
18142
|
return (i) => bs(i.type, "image/") && ct(o, (u) => PY(u) === i.type);
|
|
18135
18143
|
}, CR = (e, o) => {
|
|
18136
|
-
const i = o.items ? ur(
|
|
18144
|
+
const i = o.items ? ur(Js(o.items), (m) => m.kind === "file" ? [m.getAsFile()] : []) : [], u = o.files ? Js(o.files) : [];
|
|
18137
18145
|
return kn(i.length > 0 ? i : u, SR(e));
|
|
18138
18146
|
}, Y9 = (e, o, i) => {
|
|
18139
18147
|
const u = G9(o) ? o.clipboardData : o.dataTransfer;
|
|
@@ -18398,7 +18406,7 @@ Input object: ` + _8(e.input), X3 = (e, o) => FL(e, Js(o, tk)), Xj = ft(Fj), q3
|
|
|
18398
18406
|
node: e.node,
|
|
18399
18407
|
position: tK(e, o) < nK(e, o) ? Kx.Before : Kx.After
|
|
18400
18408
|
}), aK = (e, o, i) => o > e.left && o < e.right ? 0 : Math.min(Math.abs(e.left - o), Math.abs(e.right - o)), DR = (e, o, i, u) => {
|
|
18401
|
-
const m = (ee) => Cc(ee.node) ? ne.some(ee) : ds(ee.node) ? DR(
|
|
18409
|
+
const m = (ee) => Cc(ee.node) ? ne.some(ee) : ds(ee.node) ? DR(Js(ee.node.childNodes), o, i, !1) : ne.none(), v = (ee, se, he) => m(se).filter((Te) => Math.abs(he(ee, o, i) - he(Te, o, i)) < 2 && sn(Te.node)), w = (ee, se) => {
|
|
18402
18410
|
const he = Wt(ee, (Te, ye) => se(Te, o, i) - se(ye, o, i));
|
|
18403
18411
|
return jo(he, m).map((Te) => u && !sn(Te.node) && he.length > 1 ? v(Te, he[1], se).getOr(Te) : Te);
|
|
18404
18412
|
}, [E, P] = rK(_I(e), i), {
|
|
@@ -21735,7 +21743,7 @@ function F1e() {
|
|
|
21735
21743
|
Ho(n, (y, S) => {
|
|
21736
21744
|
(l(y, S) ? d : g)(y, S);
|
|
21737
21745
|
});
|
|
21738
|
-
},
|
|
21746
|
+
}, Js = (n, l) => {
|
|
21739
21747
|
const d = {}, g = {};
|
|
21740
21748
|
return Ln(n, l, Pn(d), Pn(g)), {
|
|
21741
21749
|
t: d,
|
|
@@ -21757,7 +21765,7 @@ function F1e() {
|
|
|
21757
21765
|
return F.some(k);
|
|
21758
21766
|
}
|
|
21759
21767
|
return F.none();
|
|
21760
|
-
}, Br = (n) => kr(n, ot), pn = (n, l) =>
|
|
21768
|
+
}, Br = (n) => kr(n, ot), pn = (n, l) => eo(n, l) ? F.from(n[l]) : F.none(), eo = (n, l) => Cr.call(n, l), gr = (n, l) => eo(n, l) && n[l] !== void 0 && n[l] !== null, Fr = (n, l, d = it) => n.exists((g) => d(g, l)), wi = (n, l, d = it) => ui(n, l, d).getOr(n.isNone() && l.isNone()), Li = (n) => {
|
|
21761
21769
|
const l = [], d = (g) => {
|
|
21762
21770
|
l.push(g);
|
|
21763
21771
|
};
|
|
@@ -22522,7 +22530,7 @@ function F1e() {
|
|
|
22522
22530
|
for (let g = 0; g < l.length; g++) {
|
|
22523
22531
|
const y = l[g];
|
|
22524
22532
|
for (const S in y)
|
|
22525
|
-
|
|
22533
|
+
eo(y, S) && (d[S] = n(d[S], y[S]));
|
|
22526
22534
|
}
|
|
22527
22535
|
return d;
|
|
22528
22536
|
}, Vn = cn(at), ao = cn(je), Fs = () => ({
|
|
@@ -23499,7 +23507,7 @@ Check the ` + wg() + " event handlers"), !1) : !0;
|
|
|
23499
23507
|
}, v_ = cO(), uO = Xn("alloy-premade"), Pg = (n) => (Object.defineProperty(n.element.dom, uO, {
|
|
23500
23508
|
value: n.uid,
|
|
23501
23509
|
writable: !0
|
|
23502
|
-
}), yu(uO, n)), y_ = (n) =>
|
|
23510
|
+
}), yu(uO, n)), y_ = (n) => eo(n.dom, uO), V0 = (n) => pn(n, uO), a1 = (n) => Kp((l, ...d) => n(l.getApis(), l, ...d), n), O_ = (n, l) => {
|
|
23503
23511
|
const d = Ie(l, (y) => Se(y.name(), [
|
|
23504
23512
|
on("config"),
|
|
23505
23513
|
Ee("state", vd)
|
|
@@ -23699,7 +23707,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ie(l, (d) => d.name),
|
|
|
23699
23707
|
const y = tc(n, g);
|
|
23700
23708
|
return hw(n, d, y), d;
|
|
23701
23709
|
}), __ = (n, l) => {
|
|
23702
|
-
const d = lo(n), g = lo(l), y = kn(g, d), S =
|
|
23710
|
+
const d = lo(n), g = lo(l), y = kn(g, d), S = Js(n, (k, D) => !eo(l, D) || k !== l[D]).t;
|
|
23703
23711
|
return {
|
|
23704
23712
|
toRemove: y,
|
|
23705
23713
|
toSet: S
|
|
@@ -23837,7 +23845,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ie(l, (d) => d.name),
|
|
|
23837
23845
|
events: {}
|
|
23838
23846
|
};
|
|
23839
23847
|
return Pg(k);
|
|
23840
|
-
}, R_ = Q0, MM = (n) =>
|
|
23848
|
+
}, R_ = Q0, MM = (n) => eo(n, "uid"), lc = (n, l) => V0(n).getOrThunk(() => {
|
|
23841
23849
|
const d = MM(n) ? n : {
|
|
23842
23850
|
uid: R_(""),
|
|
23843
23851
|
...n
|
|
@@ -25118,7 +25126,7 @@ Receiver: ` + tf(l.element), H, S.data);
|
|
|
25118
25126
|
"valueThunks"
|
|
25119
25127
|
]
|
|
25120
25128
|
}
|
|
25121
|
-
]), qO = (n) =>
|
|
25129
|
+
]), qO = (n) => eo(n, "uiType"), jO = (n, l, d, g) => n.exists((y) => y !== d.owner) ? tp.single(!0, G(d)) : pn(g, d.name).fold(() => {
|
|
25122
25130
|
throw new Error("Unknown placeholder component: " + d.name + `
|
|
25123
25131
|
Known: [` + lo(g) + `]
|
|
25124
25132
|
Namespace: ` + n.getOr("none") + `
|
|
@@ -25307,7 +25315,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
25307
25315
|
}, Rv = (n, l, d, g, y) => {
|
|
25308
25316
|
const S = pS(y), k = fS(d), D = k1(d), N = ex(n, l, S, k, [D]), H = KO(n, N, d), W = hS(n, N, H.internals());
|
|
25309
25317
|
return g(N, W, S, H.externals());
|
|
25310
|
-
}, jT = (n) =>
|
|
25318
|
+
}, jT = (n) => eo(n, "uid"), pS = (n) => jT(n) ? n : {
|
|
25311
25319
|
...n,
|
|
25312
25320
|
uid: Q0("uid")
|
|
25313
25321
|
}, GT = (n) => n.uid !== void 0, Qm = Lc([
|
|
@@ -26269,7 +26277,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
26269
26277
|
},
|
|
26270
26278
|
name: "items",
|
|
26271
26279
|
unit: "item",
|
|
26272
|
-
defaults: (n, l) =>
|
|
26280
|
+
defaults: (n, l) => eo(l, "uid") ? l : {
|
|
26273
26281
|
...l,
|
|
26274
26282
|
uid: Q0("item")
|
|
26275
26283
|
},
|
|
@@ -26440,9 +26448,9 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
26440
26448
|
n[n.HighlightMenuAndItem = 0] = "HighlightMenuAndItem", n[n.HighlightJustMenu = 1] = "HighlightJustMenu", n[n.HighlightNone = 2] = "HighlightNone";
|
|
26441
26449
|
})(nl || (nl = {}));
|
|
26442
26450
|
const QZ = (n, l) => {
|
|
26443
|
-
const d = Ko(), g = (mn, Dn, Ns) => Wt(Ns, (
|
|
26444
|
-
const
|
|
26445
|
-
...
|
|
26451
|
+
const d = Ko(), g = (mn, Dn, Ns) => Wt(Ns, (no, ws) => {
|
|
26452
|
+
const to = () => rp.sketch({
|
|
26453
|
+
...no,
|
|
26446
26454
|
value: ws,
|
|
26447
26455
|
markers: n.markers,
|
|
26448
26456
|
fakeFocus: n.fakeFocus,
|
|
@@ -26462,50 +26470,50 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
26462
26470
|
});
|
|
26463
26471
|
return ws === Dn ? {
|
|
26464
26472
|
type: "prepared",
|
|
26465
|
-
menu: mn.getSystem().build(
|
|
26473
|
+
menu: mn.getSystem().build(to())
|
|
26466
26474
|
} : {
|
|
26467
26475
|
type: "notbuilt",
|
|
26468
|
-
nbMenu:
|
|
26476
|
+
nbMenu: to
|
|
26469
26477
|
};
|
|
26470
26478
|
}), y = M1.init(), S = (mn) => {
|
|
26471
26479
|
const Dn = g(mn, n.data.primary, n.data.menus), Ns = N();
|
|
26472
26480
|
return y.setContents(n.data.primary, Dn, n.data.expansions, Ns), y.getPrimary();
|
|
26473
|
-
}, k = (mn) => In.getValue(mn).value, D = (mn, Dn, Ns) => Ys(Dn, (
|
|
26474
|
-
if (!
|
|
26481
|
+
}, k = (mn) => In.getValue(mn).value, D = (mn, Dn, Ns) => Ys(Dn, (no) => {
|
|
26482
|
+
if (!no.getSystem().isConnected())
|
|
26475
26483
|
return F.none();
|
|
26476
|
-
const ws = Oe.getCandidates(
|
|
26477
|
-
return Ue(ws, (
|
|
26478
|
-
}), N = (mn) => Wt(n.data.menus, (Dn, Ns) => Ce(Dn.items, (
|
|
26484
|
+
const ws = Oe.getCandidates(no);
|
|
26485
|
+
return Ue(ws, (to) => k(to) === Ns);
|
|
26486
|
+
}), N = (mn) => Wt(n.data.menus, (Dn, Ns) => Ce(Dn.items, (no) => no.type === "separator" ? [] : [no.data.value])), H = Oe.highlight, W = (mn, Dn) => {
|
|
26479
26487
|
H(mn, Dn), Oe.getHighlighted(Dn).orThunk(() => Oe.getFirst(Dn)).each((Ns) => {
|
|
26480
26488
|
n.fakeFocus ? Oe.highlight(Dn, Ns) : F2(mn, Ns.element, Wp());
|
|
26481
26489
|
});
|
|
26482
|
-
}, J = (mn, Dn) => Li(Ie(Dn, (Ns) => mn.lookupMenu(Ns).bind((
|
|
26483
|
-
const
|
|
26484
|
-
Ot(
|
|
26490
|
+
}, J = (mn, Dn) => Li(Ie(Dn, (Ns) => mn.lookupMenu(Ns).bind((no) => no.type === "prepared" ? F.some(no.menu) : F.none()))), ae = (mn, Dn, Ns) => {
|
|
26491
|
+
const no = J(Dn, Dn.otherMenus(Ns));
|
|
26492
|
+
Ot(no, (ws) => {
|
|
26485
26493
|
Zc(ws.element, [n.markers.backgroundMenu]), n.stayInDom || Zs.remove(mn, ws);
|
|
26486
26494
|
});
|
|
26487
26495
|
}, pe = (mn) => d.get().getOrThunk(() => {
|
|
26488
|
-
const Dn = {}, Ns = Ec(mn.element, `.${n.markers.item}`),
|
|
26489
|
-
return Ot(
|
|
26490
|
-
mn.getSystem().getByDom(ws).each((
|
|
26491
|
-
const Tr = k(
|
|
26492
|
-
Dn[Tr] =
|
|
26496
|
+
const Dn = {}, Ns = Ec(mn.element, `.${n.markers.item}`), no = an(Ns, (ws) => ro(ws, "aria-haspopup") === "true");
|
|
26497
|
+
return Ot(no, (ws) => {
|
|
26498
|
+
mn.getSystem().getByDom(ws).each((to) => {
|
|
26499
|
+
const Tr = k(to);
|
|
26500
|
+
Dn[Tr] = to;
|
|
26493
26501
|
});
|
|
26494
26502
|
}), d.set(Dn), Dn;
|
|
26495
26503
|
}), Ae = (mn, Dn) => {
|
|
26496
26504
|
const Ns = pe(mn);
|
|
26497
|
-
Ho(Ns, (
|
|
26498
|
-
const
|
|
26499
|
-
Gt(
|
|
26505
|
+
Ho(Ns, (no, ws) => {
|
|
26506
|
+
const to = be(Dn, ws);
|
|
26507
|
+
Gt(no.element, "aria-expanded", to);
|
|
26500
26508
|
});
|
|
26501
|
-
}, Xe = (mn, Dn, Ns) => F.from(Ns[0]).bind((
|
|
26509
|
+
}, Xe = (mn, Dn, Ns) => F.from(Ns[0]).bind((no) => Dn.lookupMenu(no).bind((ws) => {
|
|
26502
26510
|
if (ws.type === "notbuilt")
|
|
26503
26511
|
return F.none();
|
|
26504
26512
|
{
|
|
26505
|
-
const
|
|
26513
|
+
const to = ws.menu, Tr = J(Dn, Ns.slice(1));
|
|
26506
26514
|
return Ot(Tr, (vr) => {
|
|
26507
26515
|
zi(vr.element, n.markers.backgroundMenu);
|
|
26508
|
-
}), Ve(
|
|
26516
|
+
}), Ve(to.element) || Zs.append(mn, ba(to)), Zc(to.element, [n.markers.backgroundMenu]), W(mn, to), ae(mn, Dn, Ns), F.some(to);
|
|
26509
26517
|
}
|
|
26510
26518
|
}));
|
|
26511
26519
|
let rt;
|
|
@@ -26514,41 +26522,41 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
26514
26522
|
})(rt || (rt = {}));
|
|
26515
26523
|
const ze = (mn, Dn, Ns) => {
|
|
26516
26524
|
if (Ns.type === "notbuilt") {
|
|
26517
|
-
const
|
|
26518
|
-
return y.setMenuBuilt(Dn,
|
|
26525
|
+
const no = mn.getSystem().build(Ns.nbMenu());
|
|
26526
|
+
return y.setMenuBuilt(Dn, no), no;
|
|
26519
26527
|
} else
|
|
26520
26528
|
return Ns.menu;
|
|
26521
26529
|
}, ht = (mn, Dn, Ns = rt.HighlightSubmenu) => {
|
|
26522
26530
|
if (Dn.hasConfigured(Gn) && Gn.isDisabled(Dn))
|
|
26523
26531
|
return F.some(Dn);
|
|
26524
26532
|
{
|
|
26525
|
-
const
|
|
26526
|
-
return y.expand(
|
|
26527
|
-
const vr = ze(mn,
|
|
26533
|
+
const no = k(Dn);
|
|
26534
|
+
return y.expand(no).bind((ws) => (Ae(mn, ws), F.from(ws[0]).bind((to) => y.lookupMenu(to).bind((Tr) => {
|
|
26535
|
+
const vr = ze(mn, to, Tr);
|
|
26528
26536
|
return Ve(vr.element) || Zs.append(mn, ba(vr)), n.onOpenSubmenu(mn, Dn, vr, Ds(ws)), Ns === rt.HighlightSubmenu ? (Oe.highlightFirst(vr), Xe(mn, y, ws)) : (Oe.dehighlightAll(vr), F.some(Dn));
|
|
26529
26537
|
}))));
|
|
26530
26538
|
}
|
|
26531
26539
|
}, gt = (mn, Dn) => {
|
|
26532
26540
|
const Ns = k(Dn);
|
|
26533
|
-
return y.collapse(Ns).bind((
|
|
26541
|
+
return y.collapse(Ns).bind((no) => (Ae(mn, no), Xe(mn, y, no).map((ws) => (n.onCollapseMenu(mn, Dn, ws), ws))));
|
|
26534
26542
|
}, Mt = (mn, Dn) => {
|
|
26535
26543
|
const Ns = k(Dn);
|
|
26536
|
-
return y.refresh(Ns).bind((
|
|
26537
|
-
}, Lt = (mn, Dn) => _1(Dn.element) ? F.none() : ht(mn, Dn, rt.HighlightSubmenu), Mn = (mn, Dn) => _1(Dn.element) ? F.none() : gt(mn, Dn), gn = (mn, Dn) => gt(mn, Dn).orThunk(() => n.onEscape(mn, Dn).map(() => mn)), Qt = (mn) => (Dn, Ns) => _i(Ns.getSource(), `.${n.markers.item}`).bind((
|
|
26544
|
+
return y.refresh(Ns).bind((no) => (Ae(mn, no), Xe(mn, y, no)));
|
|
26545
|
+
}, Lt = (mn, Dn) => _1(Dn.element) ? F.none() : ht(mn, Dn, rt.HighlightSubmenu), Mn = (mn, Dn) => _1(Dn.element) ? F.none() : gt(mn, Dn), gn = (mn, Dn) => gt(mn, Dn).orThunk(() => n.onEscape(mn, Dn).map(() => mn)), Qt = (mn) => (Dn, Ns) => _i(Ns.getSource(), `.${n.markers.item}`).bind((no) => Dn.getSystem().getByDom(no).toOptional().bind((ws) => mn(Dn, ws).map(kt))), Zn = $r([
|
|
26538
26546
|
jt(DP(), (mn, Dn) => {
|
|
26539
26547
|
const Ns = Dn.event.item;
|
|
26540
26548
|
y.lookupItem(k(Ns)).each(() => {
|
|
26541
|
-
const
|
|
26542
|
-
Oe.highlight(mn,
|
|
26549
|
+
const no = Dn.event.menu;
|
|
26550
|
+
Oe.highlight(mn, no);
|
|
26543
26551
|
const ws = k(Dn.event.item);
|
|
26544
|
-
y.refresh(ws).each((
|
|
26552
|
+
y.refresh(ws).each((to) => ae(mn, y, to));
|
|
26545
26553
|
});
|
|
26546
26554
|
}),
|
|
26547
26555
|
If((mn, Dn) => {
|
|
26548
26556
|
const Ns = Dn.event.target;
|
|
26549
|
-
mn.getSystem().getByDom(Ns).each((
|
|
26550
|
-
k(
|
|
26551
|
-
n.onExecute(mn,
|
|
26557
|
+
mn.getSystem().getByDom(Ns).each((no) => {
|
|
26558
|
+
k(no).indexOf("collapse-item") === 0 && gt(mn, no), ht(mn, no, rt.HighlightSubmenu).fold(() => {
|
|
26559
|
+
n.onExecute(mn, no);
|
|
26552
26560
|
}, te);
|
|
26553
26561
|
});
|
|
26554
26562
|
}),
|
|
@@ -26579,18 +26587,18 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
26579
26587
|
collapseMenu: Cs,
|
|
26580
26588
|
highlightPrimary: So,
|
|
26581
26589
|
repositionMenus: (mn) => {
|
|
26582
|
-
y.getPrimary().bind((Ns) => Ps(mn).bind((
|
|
26583
|
-
const ws = k(
|
|
26590
|
+
y.getPrimary().bind((Ns) => Ps(mn).bind((no) => {
|
|
26591
|
+
const ws = k(no), to = Br(y.getMenus()), Tr = Li(Ie(to, M1.extractPreparedMenu));
|
|
26584
26592
|
return y.getTriggeringPath(ws, (vr) => D(mn, Tr, vr));
|
|
26585
|
-
}).map((
|
|
26593
|
+
}).map((no) => ({
|
|
26586
26594
|
primary: Ns,
|
|
26587
|
-
triggeringPath:
|
|
26595
|
+
triggeringPath: no
|
|
26588
26596
|
}))).fold(() => {
|
|
26589
26597
|
Hs(mn).each((Ns) => {
|
|
26590
26598
|
n.onRepositionMenu(mn, Ns, []);
|
|
26591
26599
|
});
|
|
26592
|
-
}, ({ primary: Ns, triggeringPath:
|
|
26593
|
-
n.onRepositionMenu(mn, Ns,
|
|
26600
|
+
}, ({ primary: Ns, triggeringPath: no }) => {
|
|
26601
|
+
n.onRepositionMenu(mn, Ns, no);
|
|
26594
26602
|
});
|
|
26595
26603
|
}
|
|
26596
26604
|
};
|
|
@@ -27579,11 +27587,11 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
27579
27587
|
ARIA_ATTR: mn,
|
|
27580
27588
|
IS_SCRIPT_OR_DATA: Dn,
|
|
27581
27589
|
ATTR_WHITESPACE: Ns,
|
|
27582
|
-
CUSTOM_ELEMENT:
|
|
27590
|
+
CUSTOM_ELEMENT: no
|
|
27583
27591
|
} = uD;
|
|
27584
27592
|
let {
|
|
27585
27593
|
IS_ALLOWED_URI: ws
|
|
27586
|
-
} = uD,
|
|
27594
|
+
} = uD, to = null;
|
|
27587
27595
|
const Tr = Wr({}, [...R4, ...qS, ...M4, ...mx, ...Zm]);
|
|
27588
27596
|
let vr = null;
|
|
27589
27597
|
const sd = Wr({}, [...N4, ...iD, ...AN, ...B4]);
|
|
@@ -27627,7 +27635,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
27627
27635
|
let Ft = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
27628
27636
|
if (!(ZE && ZE === Ft)) {
|
|
27629
27637
|
if ((!Ft || typeof Ft != "object") && (Ft = {}), Ft = V1(Ft), S6 = // eslint-disable-next-line unicorn/prefer-includes
|
|
27630
|
-
_he.indexOf(Ft.PARSER_MEDIA_TYPE) === -1 ? The : Ft.PARSER_MEDIA_TYPE, od = S6 === "application/xhtml+xml" ? oD : $4,
|
|
27638
|
+
_he.indexOf(Ft.PARSER_MEDIA_TYPE) === -1 ? The : Ft.PARSER_MEDIA_TYPE, od = S6 === "application/xhtml+xml" ? oD : $4, to = zm(Ft, "ALLOWED_TAGS") ? Wr({}, Ft.ALLOWED_TAGS, od) : Tr, vr = zm(Ft, "ALLOWED_ATTR") ? Wr({}, Ft.ALLOWED_ATTR, od) : sd, Dee = zm(Ft, "ALLOWED_NAMESPACES") ? Wr({}, Ft.ALLOWED_NAMESPACES, oD) : Che, Aee = zm(Ft, "ADD_URI_SAFE_ATTR") ? Wr(V1(Zoe), Ft.ADD_URI_SAFE_ATTR, od) : Zoe, Hoe = zm(Ft, "ADD_DATA_URI_TAGS") ? Wr(V1(zoe), Ft.ADD_DATA_URI_TAGS, od) : zoe, HE = zm(Ft, "FORBID_CONTENTS") ? Wr({}, Ft.FORBID_CONTENTS, od) : Voe, yf = zm(Ft, "FORBID_TAGS") ? Wr({}, Ft.FORBID_TAGS, od) : {}, mc = zm(Ft, "FORBID_ATTR") ? Wr({}, Ft.FORBID_ATTR, od) : {}, VE = zm(Ft, "USE_PROFILES") ? Ft.USE_PROFILES : !1, Of = Ft.ALLOW_ARIA_ATTR !== !1, xf = Ft.ALLOW_DATA_ATTR !== !1, tm = Ft.ALLOW_UNKNOWN_PROTOCOLS || !1, Ak = Ft.ALLOW_SELF_CLOSE_IN_ATTR !== !1, s0 = Ft.SAFE_FOR_TEMPLATES || !1, O6 = Ft.SAFE_FOR_XML !== !1, Oy = Ft.WHOLE_DOCUMENT || !1, QE = Ft.RETURN_DOM || !1, LV = Ft.RETURN_DOM_FRAGMENT || !1, QV = Ft.RETURN_TRUSTED_TYPE || !1, Tee = Ft.FORCE_BODY || !1, Loe = Ft.SANITIZE_DOM !== !1, Qoe = Ft.SANITIZE_NAMED_PROPS || !1, Eee = Ft.KEEP_CONTENT !== !1, w6 = Ft.IN_PLACE || !1, ws = Ft.ALLOWED_URI_REGEXP || DN, zE = Ft.NAMESPACE || xy, zV = Ft.MATHML_TEXT_INTEGRATION_POINTS || zV, ZV = Ft.HTML_INTEGRATION_POINTS || ZV, Oi = Ft.CUSTOM_ELEMENT_HANDLING || {}, Ft.CUSTOM_ELEMENT_HANDLING && Uoe(Ft.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Oi.tagNameCheck = Ft.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Ft.CUSTOM_ELEMENT_HANDLING && Uoe(Ft.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Oi.attributeNameCheck = Ft.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Ft.CUSTOM_ELEMENT_HANDLING && typeof Ft.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Oi.allowCustomizedBuiltInElements = Ft.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), s0 && (xf = !1), LV && (QE = !0), VE && (to = Wr({}, Zm), vr = [], VE.html === !0 && (Wr(to, R4), Wr(vr, N4)), VE.svg === !0 && (Wr(to, qS), Wr(vr, iD), Wr(vr, B4)), VE.svgFilters === !0 && (Wr(to, M4), Wr(vr, iD), Wr(vr, B4)), VE.mathMl === !0 && (Wr(to, mx), Wr(vr, AN), Wr(vr, B4))), Ft.ADD_TAGS && (to === Tr && (to = V1(to)), Wr(to, Ft.ADD_TAGS, od)), Ft.ADD_ATTR && (vr === sd && (vr = V1(vr)), Wr(vr, Ft.ADD_ATTR, od)), Ft.ADD_URI_SAFE_ATTR && Wr(Aee, Ft.ADD_URI_SAFE_ATTR, od), Ft.FORBID_CONTENTS && (HE === Voe && (HE = V1(HE)), Wr(HE, Ft.FORBID_CONTENTS, od)), Eee && (to["#text"] = !0), Oy && Wr(to, ["html", "head", "body"]), to.table && (Wr(to, ["tbody"]), delete yf.tbody), Ft.TRUSTED_TYPES_POLICY) {
|
|
27631
27639
|
if (typeof Ft.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
27632
27640
|
throw WS('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
27633
27641
|
if (typeof Ft.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -27726,10 +27734,10 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
27726
27734
|
const _o = od(Ft.nodeName);
|
|
27727
27735
|
if (wy(Cs.uponSanitizeElement, Ft, {
|
|
27728
27736
|
tagName: _o,
|
|
27729
|
-
allowedTags:
|
|
27737
|
+
allowedTags: to
|
|
27730
27738
|
}), Ft.hasChildNodes() && !Goe(Ft.firstElementChild) && Gc(/<[/\w]/g, Ft.innerHTML) && Gc(/<[/\w]/g, Ft.textContent) || Ft.nodeType === GS.progressingInstruction || O6 && Ft.nodeType === GS.comment && Gc(/<[/\w]/g, Ft.data))
|
|
27731
27739
|
return cb(Ft), !0;
|
|
27732
|
-
if (!
|
|
27740
|
+
if (!to[_o] || yf[_o]) {
|
|
27733
27741
|
if (!yf[_o] && Joe(_o) && (Oi.tagNameCheck instanceof RegExp && Gc(Oi.tagNameCheck, _o) || Oi.tagNameCheck instanceof Function && Oi.tagNameCheck(_o)))
|
|
27734
27742
|
return !1;
|
|
27735
27743
|
if (Eee && !HE[_o]) {
|
|
@@ -27777,7 +27785,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
27777
27785
|
}
|
|
27778
27786
|
return !0;
|
|
27779
27787
|
}, Joe = function(Ft) {
|
|
27780
|
-
return Ft !== "annotation-xml" && TN(Ft,
|
|
27788
|
+
return Ft !== "annotation-xml" && TN(Ft, no);
|
|
27781
27789
|
}, ere = function(Ft) {
|
|
27782
27790
|
wy(Cs.beforeSanitizeAttributes, Ft, null);
|
|
27783
27791
|
const {
|
|
@@ -27861,7 +27869,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
27861
27869
|
if (x6 || $ee(Ft), l.removed = [], typeof Vo == "string" && (w6 = !1), w6) {
|
|
27862
27870
|
if (Vo.nodeName) {
|
|
27863
27871
|
const ub = od(Vo.nodeName);
|
|
27864
|
-
if (!
|
|
27872
|
+
if (!to[ub] || yf[ub])
|
|
27865
27873
|
throw WS("root node is forbidden and cannot be sanitized in-place");
|
|
27866
27874
|
}
|
|
27867
27875
|
} else if (Vo instanceof D)
|
|
@@ -27888,7 +27896,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
27888
27896
|
return (vr.shadowroot || vr.shadowrootmode) && (wf = Ps.call(g, wf, !0)), wf;
|
|
27889
27897
|
}
|
|
27890
27898
|
let nm = Oy ? _s.outerHTML : _s.innerHTML;
|
|
27891
|
-
return Oy &&
|
|
27899
|
+
return Oy && to["!doctype"] && _s.ownerDocument && _s.ownerDocument.doctype && _s.ownerDocument.doctype.name && Gc($N, _s.ownerDocument.doctype.name) && (nm = "<!DOCTYPE " + _s.ownerDocument.doctype.name + `>
|
|
27892
27900
|
` + nm), s0 && D4([So, Hs, Gs], (ub) => {
|
|
27893
27901
|
nm = US(nm, ub, " ");
|
|
27894
27902
|
}), Mt && QV ? Mt.createHTML(nm) : nm;
|
|
@@ -27933,7 +27941,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
27933
27941
|
const d = n.toLowerCase();
|
|
27934
27942
|
if (Zf.isRtl()) {
|
|
27935
27943
|
const g = xe(d, "-rtl");
|
|
27936
|
-
return
|
|
27944
|
+
return eo(l, g) ? g : d;
|
|
27937
27945
|
} else
|
|
27938
27946
|
return d;
|
|
27939
27947
|
}, gx = (n, l) => pn(l, F4(n, l)), hD = (n, l) => {
|
|
@@ -27942,7 +27950,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
27942
27950
|
}, cU = (n, l, d) => {
|
|
27943
27951
|
const g = l();
|
|
27944
27952
|
return gx(n, g).or(d).getOrThunk(fD(g));
|
|
27945
|
-
}, uU = (n) => Zf.isRtl() ?
|
|
27953
|
+
}, uU = (n) => Zf.isRtl() ? eo(LN, n) : !1, mD = () => Us("add-focusable", [hr((n) => {
|
|
27946
27954
|
kl(n.element, "svg").each((l) => Gt(l, "focusable", "false"));
|
|
27947
27955
|
})]), QN = (n, l, d, g) => {
|
|
27948
27956
|
var y, S;
|
|
@@ -27960,7 +27968,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
27960
27968
|
])
|
|
27961
27969
|
};
|
|
27962
27970
|
}, ff = (n, l, d, g = F.none()) => QN(l, n, d(), g), VN = (n, l, d) => {
|
|
27963
|
-
const g = d(), y = Ue(n, (S) =>
|
|
27971
|
+
const g = d(), y = Ue(n, (S) => eo(g, F4(S, g)));
|
|
27964
27972
|
return QN(l, y.getOr(dD), g, F.none());
|
|
27965
27973
|
}, HN = {
|
|
27966
27974
|
success: "checkmark",
|
|
@@ -28495,7 +28503,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
28495
28503
|
const d = [];
|
|
28496
28504
|
let g = [];
|
|
28497
28505
|
return Ot(n, (y, S) => {
|
|
28498
|
-
l(y, S) ? (g.length > 0 && d.push(g), g = [], (
|
|
28506
|
+
l(y, S) ? (g.length > 0 && d.push(g), g = [], (eo(y.dom, "innerHtml") || y.components && y.components.length > 0) && g.push(y)) : g.push(y);
|
|
28499
28507
|
}), g.length > 0 && d.push(g), Ie(d, (y) => ({
|
|
28500
28508
|
dom: {
|
|
28501
28509
|
tag: "div",
|
|
@@ -29002,7 +29010,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
29002
29010
|
access: "Shift+Alt"
|
|
29003
29011
|
}, S = n.split("+"), k = Ie(S, (D) => {
|
|
29004
29012
|
const N = D.toLowerCase().trim();
|
|
29005
|
-
return
|
|
29013
|
+
return eo(y, N) ? y[N] : D;
|
|
29006
29014
|
});
|
|
29007
29015
|
return l ? k.join("") : k.join("+");
|
|
29008
29016
|
}, mC = (n, l, d = [gD]) => ff(n, {
|
|
@@ -29131,7 +29139,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
29131
29139
|
const y = {
|
|
29132
29140
|
tag: "div",
|
|
29133
29141
|
classes: [gD]
|
|
29134
|
-
}, S = (ae) => ff(ae, y, l.icons, g), k = () => F.some({ dom: y }), D = d ? n.iconContent.map(S).orThunk(k) : F.none(), N = n.checkMark, H = F.from(n.meta).fold(() => q4, (ae) =>
|
|
29142
|
+
}, S = (ae) => ff(ae, y, l.icons, g), k = () => F.some({ dom: y }), D = d ? n.iconContent.map(S).orThunk(k) : F.none(), N = n.checkMark, H = F.from(n.meta).fold(() => q4, (ae) => eo(ae, "style") ? St(sW, ae.style) : q4), W = n.htmlContent.fold(() => n.textContent.map(H), (ae) => F.some(ZD(ae, [pD])));
|
|
29135
29143
|
return {
|
|
29136
29144
|
dom: WD(n.ariaLabel, []),
|
|
29137
29145
|
optComponents: [
|
|
@@ -30467,7 +30475,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
30467
30475
|
}));
|
|
30468
30476
|
}, $F = (n, l, d, g, y, S) => {
|
|
30469
30477
|
const k = oC(l), D = Li(Ie(l, (W) => {
|
|
30470
|
-
const J = (pe) => y ? !
|
|
30478
|
+
const J = (pe) => y ? !eo(pe, "text") : k, ae = (pe) => dX(pe, d, g, J(pe), y);
|
|
30471
30479
|
return W.type === "nestedmenuitem" && W.getSubmenuItems().length <= 0 ? ae({
|
|
30472
30480
|
...W,
|
|
30473
30481
|
enabled: !1
|
|
@@ -30754,7 +30762,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
30754
30762
|
registerId: l,
|
|
30755
30763
|
unregisterId: (k) => {
|
|
30756
30764
|
Ho(n, (D, N) => {
|
|
30757
|
-
|
|
30765
|
+
eo(D, k) && delete D[k];
|
|
30758
30766
|
});
|
|
30759
30767
|
},
|
|
30760
30768
|
filterByType: (k) => pn(n, k).map((D) => kr(D, (N, H) => v$(H, N))).getOr([]),
|
|
@@ -32086,8 +32094,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32086
32094
|
W(as, Ns), Mt(Ns), vs(as, V$, { hex: Dn }), ae(as, Dn);
|
|
32087
32095
|
}, gn = (as, mn, Dn) => {
|
|
32088
32096
|
const Ns = parseInt(Dn, 10);
|
|
32089
|
-
ht(mn, F.some(Ns)), gt().each((
|
|
32090
|
-
const ws = H(as,
|
|
32097
|
+
ht(mn, F.some(Ns)), gt().each((no) => {
|
|
32098
|
+
const ws = H(as, no);
|
|
32091
32099
|
vs(as, V$, { hex: ws }), ae(as, ws);
|
|
32092
32100
|
});
|
|
32093
32101
|
}, Qt = (as) => as.type === "hex", Zn = (as, mn) => {
|
|
@@ -32411,7 +32419,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32411
32419
|
};
|
|
32412
32420
|
};
|
|
32413
32421
|
var Eq = tinymce.util.Tools.resolve("tinymce.Resource");
|
|
32414
|
-
const q$ = (n) =>
|
|
32422
|
+
const q$ = (n) => eo(n, "init"), Aq = (n) => {
|
|
32415
32423
|
const l = Ko(), d = er({ dom: { tag: n.tag } }), g = Ko(), y = !q$(n) && n.onFocus.isSome() ? [
|
|
32416
32424
|
Is.config({
|
|
32417
32425
|
onFocus: (S) => {
|
|
@@ -32975,8 +32983,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
32975
32983
|
}),
|
|
32976
32984
|
fetch: (rt) => hc.nu(St(n.fetch, rt))
|
|
32977
32985
|
})).asSpec();
|
|
32978
|
-
}, i8 = (n) => b(n), YI = (n) => n.type === "separator", Qq = (n) =>
|
|
32979
|
-
const d = cs(n, (g, y) => i8(y) ? y === "" ? g : y === "|" ? g.length > 0 && !YI(g[g.length - 1]) ? g.concat([Vq]) : g :
|
|
32986
|
+
}, i8 = (n) => b(n), YI = (n) => n.type === "separator", Qq = (n) => eo(n, "getSubmenuItems"), Vq = { type: "separator" }, a8 = (n, l) => {
|
|
32987
|
+
const d = cs(n, (g, y) => i8(y) ? y === "" ? g : y === "|" ? g.length > 0 && !YI(g[g.length - 1]) ? g.concat([Vq]) : g : eo(l, y.toLowerCase()) ? g.concat([l[y.toLowerCase()]]) : g : g.concat([y]), []);
|
|
32980
32988
|
return d.length > 0 && YI(d[d.length - 1]) && d.pop(), d;
|
|
32981
32989
|
}, Hq = (n, l) => {
|
|
32982
32990
|
const d = n.getSubmenuItems(), g = JI(d, l), y = Vn(g.menus, { [n.value]: g.items }), S = Vn(g.expansions, { [n.value]: n.value });
|
|
@@ -33023,7 +33031,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
33023
33031
|
return F.none();
|
|
33024
33032
|
const k = eL(g), D = $F(y, S.items, l, d, g.isHorizontalMenu, k), N = zq(g), H = Wt(S.menus, (J, ae) => $F(ae, J, l, d, !1, N)), W = Vn(H, yu(y, D));
|
|
33025
33033
|
return F.from(N1.tieredData(y, W, S.expansions));
|
|
33026
|
-
}, F3 = (n) => !
|
|
33034
|
+
}, F3 = (n) => !eo(n, "items"), tL = "data-value", nL = (n, l, d, g, y) => Ie(d, (S) => F3(S) ? {
|
|
33027
33035
|
type: "togglemenuitem",
|
|
33028
33036
|
...y ? {} : { role: "option" },
|
|
33029
33037
|
text: S.text,
|
|
@@ -33317,7 +33325,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
33317
33325
|
pc: 12,
|
|
33318
33326
|
mm: 25.4,
|
|
33319
33327
|
in: 1
|
|
33320
|
-
}, g = (y) =>
|
|
33328
|
+
}, g = (y) => eo(d, y);
|
|
33321
33329
|
return n.unit === l ? F.some(n.value) : g(n.unit) && g(l) ? d[n.unit] === d[l] ? F.some(n.value) : F.some(n.value / d[n.unit] * d[l]) : F.none();
|
|
33322
33330
|
}, L3 = (n) => F.none(), Yq = (n, l) => (d) => ZC(d, l).map((g) => ({
|
|
33323
33331
|
value: g * n,
|
|
@@ -35236,7 +35244,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
35236
35244
|
}
|
|
35237
35245
|
]
|
|
35238
35246
|
}
|
|
35239
|
-
], Xj = (n) =>
|
|
35247
|
+
], Xj = (n) => eo(n, "items"), q3 = (n) => eo(n, "block"), qj = (n) => eo(n, "inline"), Ix = (n) => eo(n, "selector"), VL = (n) => cs(n, (l, d) => {
|
|
35240
35248
|
if (Xj(d)) {
|
|
35241
35249
|
const g = VL(d.items);
|
|
35242
35250
|
return {
|
|
@@ -36044,7 +36052,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
36044
36052
|
Fo.getCurrent(n).each((y) => {
|
|
36045
36053
|
Zs.set(y, [J8(l)]);
|
|
36046
36054
|
const S = d?.toLowerCase();
|
|
36047
|
-
b(S) &&
|
|
36055
|
+
b(S) && eo(l, S) && Fo.getCurrent(y).each((k) => {
|
|
36048
36056
|
Il.showSlot(k, S), ed.immediateGrow(y), ho(y.element, "width"), Hx(n.element, "region");
|
|
36049
36057
|
});
|
|
36050
36058
|
});
|
|
@@ -37371,8 +37379,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
37371
37379
|
...F9,
|
|
37372
37380
|
...l.menus
|
|
37373
37381
|
}, g = lo(l.menus).length > 0, y = l.menubar === void 0 || l.menubar === !0 ? gR(B9) : gR(l.menubar === !1 ? "" : l.menubar), S = an(y, (D) => {
|
|
37374
|
-
const N =
|
|
37375
|
-
return g ? N || pn(l.menus, D).exists((H) =>
|
|
37382
|
+
const N = eo(F9, D);
|
|
37383
|
+
return g ? N || pn(l.menus, D).exists((H) => eo(H, "items")) : N;
|
|
37376
37384
|
}), k = Ie(S, (D) => {
|
|
37377
37385
|
const N = d[D];
|
|
37378
37386
|
return CY({
|
|
@@ -38638,7 +38646,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38638
38646
|
navigateback: LY
|
|
38639
38647
|
}, mK = (n) => {
|
|
38640
38648
|
const l = Ie(fK, (d) => {
|
|
38641
|
-
const g = an(d.items, (y) =>
|
|
38649
|
+
const g = an(d.items, (y) => eo(n, y) || eo(vQ, y));
|
|
38642
38650
|
return {
|
|
38643
38651
|
name: d.name,
|
|
38644
38652
|
items: g
|
|
@@ -38648,7 +38656,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38648
38656
|
}, gK = (n) => {
|
|
38649
38657
|
const l = n.split("|");
|
|
38650
38658
|
return Ie(l, (d) => ({ items: d.trim().split(" ") }));
|
|
38651
|
-
}, pK = (n) => we(n, (l) => (
|
|
38659
|
+
}, pK = (n) => we(n, (l) => (eo(l, "name") || eo(l, "label")) && eo(l, "items")), vE = (n) => {
|
|
38652
38660
|
const l = n.toolbar, d = n.buttons;
|
|
38653
38661
|
return l === !1 ? [] : l === void 0 || l === !0 ? mK(d) : b(l) ? gK(l) : pK(l) ? l : (console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"), []);
|
|
38654
38662
|
}, bK = (n, l, d, g, y, S) => pn(l, d.toLowerCase()).orThunk(() => S.bind((k) => Ys(k, (D) => pn(l, D + d.toLowerCase())))).fold(() => pn(vQ, d.toLowerCase()).map((k) => k(n, y)), (k) => k.type === "grouptoolbarbutton" && !g ? (console.warn(`Ignoring the '${d}' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested.`), F.none()) : bQ(k, y, n, d.toLowerCase())), fy = (n, l, d, g) => {
|
|
@@ -38790,12 +38798,12 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38790
38798
|
const { mainUi: S, uiMotherships: k } = d, D = NS.DOM, N = Vh(n), H = I1(n), W = F1(n).or(MR(n)), J = g.shared.header, ae = J.isPositionedAtTop, pe = 150, Ae = hx(n), Xe = Ae === xQ.sliding || Ae === xQ.floating, rt = ls(!1), ze = () => rt.get() && !n.removed, ht = (as) => Xe ? as.fold(G(0), (mn) => mn.components().length > 1 ? fi(mn.components()[1].element) : 0) : 0, gt = (as) => {
|
|
38791
38799
|
switch (O4(n)) {
|
|
38792
38800
|
case NR.auto:
|
|
38793
|
-
const mn = qr.getToolbar(S.outerContainer), Dn = ht(mn), Ns = fi(as.element) - Dn,
|
|
38794
|
-
if (
|
|
38801
|
+
const mn = qr.getToolbar(S.outerContainer), Dn = ht(mn), Ns = fi(as.element) - Dn, no = Ni(l);
|
|
38802
|
+
if (no.y > Ns)
|
|
38795
38803
|
return "top";
|
|
38796
38804
|
{
|
|
38797
|
-
const
|
|
38798
|
-
return
|
|
38805
|
+
const to = Ol(l), Tr = Math.max(to.dom.scrollHeight, fi(to));
|
|
38806
|
+
return no.bottom < Tr - Ns || ia().bottom < no.bottom - Ns ? "bottom" : "top";
|
|
38799
38807
|
}
|
|
38800
38808
|
case NR.bottom:
|
|
38801
38809
|
return "bottom";
|
|
@@ -38816,12 +38824,12 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38816
38824
|
});
|
|
38817
38825
|
}, Mn = (as, mn) => {
|
|
38818
38826
|
y.on((Dn) => {
|
|
38819
|
-
const Ns = qr.getToolbar(S.outerContainer),
|
|
38827
|
+
const Ns = qr.getToolbar(S.outerContainer), no = ht(Ns), ws = Ni(l), to = gn(n, S.outerContainer.element), Tr = () => to.fold(() => ws.x, (mc) => {
|
|
38820
38828
|
const Of = Ni(mc);
|
|
38821
38829
|
return bo(mc, mt()) ? ws.x : ws.x - Of.x;
|
|
38822
|
-
}), vr = () =>
|
|
38830
|
+
}), vr = () => to.fold(() => ae() ? Math.max(ws.y - fi(Dn.element) + no, 0) : ws.bottom, (mc) => {
|
|
38823
38831
|
var Of;
|
|
38824
|
-
const xf = Ni(mc), tm = (Of = mc.dom.scrollTop) !== null && Of !== void 0 ? Of : 0, s0 = bo(mc, mt()) ? Math.max(ws.y - fi(Dn.element) +
|
|
38832
|
+
const xf = Ni(mc), tm = (Of = mc.dom.scrollTop) !== null && Of !== void 0 ? Of : 0, s0 = bo(mc, mt()) ? Math.max(ws.y - fi(Dn.element) + no, 0) : ws.y - xf.y + tm - fi(Dn.element) + no;
|
|
38825
38833
|
return ae() ? s0 : ws.bottom;
|
|
38826
38834
|
}), sd = Tr(), Oi = us(as, Math.ceil(S.outerContainer.element.dom.getBoundingClientRect().width)).filter((mc) => mc > pe).map((mc) => {
|
|
38827
38835
|
const Of = mn.getOr(ll()), xf = window.innerWidth - (sd - Of.left), tm = Math.max(Math.min(mc, xf), pe);
|
|
@@ -38846,8 +38854,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
38846
38854
|
N || Lt();
|
|
38847
38855
|
const mn = ll(), Dn = N ? !1 : Zn();
|
|
38848
38856
|
if (Xe && qr.refreshToolbar(S.outerContainer), !N) {
|
|
38849
|
-
const Ns = ll(),
|
|
38850
|
-
Mn(Dn,
|
|
38857
|
+
const Ns = ll(), no = us(mn.left !== Ns.left, mn);
|
|
38858
|
+
Mn(Dn, no), no.each((ws) => {
|
|
38851
38859
|
Mf(ws.left, Ns.top);
|
|
38852
38860
|
});
|
|
38853
38861
|
}
|
|
@@ -39580,7 +39588,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
39580
39588
|
const { buttons: Gs } = n.ui.registry.getAll(), as = Mt(), mn = {
|
|
39581
39589
|
...Gs,
|
|
39582
39590
|
...as.formNavigators
|
|
39583
|
-
}, Dn = hx(n) === df.scrolling ? df.scrolling : df.default, Ns = pt(Ie(Hs, (
|
|
39591
|
+
}, Dn = hx(n) === df.scrolling ? df.scrolling : df.default, Ns = pt(Ie(Hs, (no) => no.type === "contexttoolbar" ? Lt(mn, BD(no)) : Mn(no, S.providers)));
|
|
39584
39592
|
return iE({
|
|
39585
39593
|
type: Dn,
|
|
39586
39594
|
uid: Xn("context-toolbar"),
|
|
@@ -40167,7 +40175,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
40167
40175
|
});
|
|
40168
40176
|
}, ZQ = WR("contextmenu_never_use_native"), iJ = WR("contextmenu_avoid_overlap"), aJ = (n) => UQ(n).length === 0, UQ = (n) => {
|
|
40169
40177
|
const l = n.ui.registry.getAll().contextMenus, d = n.options.get("contextmenu");
|
|
40170
|
-
return n.options.isSet("contextmenu") ? d : an(d, (g) =>
|
|
40178
|
+
return n.options.isSet("contextmenu") ? d : an(d, (g) => eo(l, g));
|
|
40171
40179
|
}, yk = (n, l) => ({
|
|
40172
40180
|
type: "makeshift",
|
|
40173
40181
|
x: n,
|
|
@@ -40362,7 +40370,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
40362
40370
|
return y;
|
|
40363
40371
|
}).getOrThunk(() => y.concat([S])), []);
|
|
40364
40372
|
return g.length > 0 && KQ(g[g.length - 1]) && g.pop(), g;
|
|
40365
|
-
}, vJ = (n, l) => l.ctrlKey && !ZQ(n), yJ = (n) => n.type === "longpress" ||
|
|
40373
|
+
}, vJ = (n, l) => l.ctrlKey && !ZQ(n), yJ = (n) => n.type === "longpress" || eo(n, "touches"), YR = (n, l) => !yJ(l) && (l.button !== 2 || l.target === n.getBody() && l.pointerType === ""), tV = (n, l) => YR(n, l) ? n.selection.getStart(!0) : l.target, nV = (n, l) => {
|
|
40366
40374
|
const d = iJ(n), g = YR(n, l) ? "selection" : "point";
|
|
40367
40375
|
if (ue(d)) {
|
|
40368
40376
|
const y = tV(n, l);
|
|
@@ -41133,7 +41141,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41133
41141
|
popup: gt,
|
|
41134
41142
|
dialog: ht
|
|
41135
41143
|
}, n, Mt, Lt), Zn = () => {
|
|
41136
|
-
const ws = { attributes: { [PO]: pe ? Mh.BottomToTop : Mh.TopToBottom } },
|
|
41144
|
+
const ws = { attributes: { [PO]: pe ? Mh.BottomToTop : Mh.TopToBottom } }, to = qr.parts.menubar({
|
|
41137
41145
|
dom: {
|
|
41138
41146
|
tag: "div",
|
|
41139
41147
|
classes: ["tox-menubar"]
|
|
@@ -41171,7 +41179,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41171
41179
|
type: Ae
|
|
41172
41180
|
}), sd = LS(n), Oi = _4(n), yf = k4(n), mc = UP(n), Of = Ps(mc), xf = sd || Oi || yf, tm = () => sd ? [vr] : Oi ? [Tr] : [], Ak = [
|
|
41173
41181
|
Of,
|
|
41174
|
-
|
|
41182
|
+
to
|
|
41175
41183
|
];
|
|
41176
41184
|
return qr.parts.header({
|
|
41177
41185
|
dom: {
|
|
@@ -41200,7 +41208,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41200
41208
|
tag: "div",
|
|
41201
41209
|
classes: ["tox-edit-area"]
|
|
41202
41210
|
}
|
|
41203
|
-
}),
|
|
41211
|
+
}), to = qr.parts.sidebar({
|
|
41204
41212
|
dom: {
|
|
41205
41213
|
tag: "div",
|
|
41206
41214
|
classes: ["tox-sidebar"]
|
|
@@ -41213,11 +41221,11 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41213
41221
|
},
|
|
41214
41222
|
components: [
|
|
41215
41223
|
ws,
|
|
41216
|
-
|
|
41224
|
+
to
|
|
41217
41225
|
]
|
|
41218
41226
|
};
|
|
41219
41227
|
}, So = () => {
|
|
41220
|
-
const ws = qP(n),
|
|
41228
|
+
const ws = qP(n), to = bo(mt(), ws) && nn(ws, "display") === "grid", Tr = {
|
|
41221
41229
|
dom: {
|
|
41222
41230
|
tag: "div",
|
|
41223
41231
|
classes: [
|
|
@@ -41233,7 +41241,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41233
41241
|
events: $r([jt(Cm(), (yf) => {
|
|
41234
41242
|
_n(yf.element, "width", document.body.clientWidth + "px");
|
|
41235
41243
|
})])
|
|
41236
|
-
}, sd = cc(Vn(Tr,
|
|
41244
|
+
}, sd = cc(Vn(Tr, to ? vr : {})), Oi = y$(sd);
|
|
41237
41245
|
return D.set(Oi), {
|
|
41238
41246
|
sink: sd,
|
|
41239
41247
|
mothership: Oi
|
|
@@ -41254,13 +41262,13 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41254
41262
|
useFixed: () => y.isDocked(ze),
|
|
41255
41263
|
getBounds: () => l.getPopupSinkBounds()
|
|
41256
41264
|
})])
|
|
41257
|
-
},
|
|
41265
|
+
}, to = cc(ws), Tr = y$(to);
|
|
41258
41266
|
return N.set(Tr), {
|
|
41259
|
-
sink:
|
|
41267
|
+
sink: to,
|
|
41260
41268
|
mothership: Tr
|
|
41261
41269
|
};
|
|
41262
41270
|
}, Gs = () => {
|
|
41263
|
-
const ws = Zn(),
|
|
41271
|
+
const ws = Zn(), to = Cs(), Tr = qr.parts.throbber({
|
|
41264
41272
|
dom: {
|
|
41265
41273
|
tag: "div",
|
|
41266
41274
|
classes: ["tox-throbber"]
|
|
@@ -41268,7 +41276,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41268
41276
|
backstage: Qt.popup
|
|
41269
41277
|
}), vr = qr.parts.viewWrapper({ backstage: Qt.popup }), sd = S4(n) && !d ? F.some(i6(n, Qt.popup.shared.providers)) : F.none(), Oi = pt([
|
|
41270
41278
|
pe ? [] : [ws],
|
|
41271
|
-
d ? [] : [
|
|
41279
|
+
d ? [] : [to],
|
|
41272
41280
|
pe ? [ws] : []
|
|
41273
41281
|
]), yf = qr.parts.editorContainer({
|
|
41274
41282
|
components: pt([
|
|
@@ -41317,18 +41325,18 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41317
41325
|
outerContainer: xf
|
|
41318
41326
|
};
|
|
41319
41327
|
}, as = (ws) => {
|
|
41320
|
-
const
|
|
41321
|
-
return n.inline || (jr("div", "width", Tr) && _n(ws.element, "width", Tr), jr("div", "height",
|
|
41328
|
+
const to = OE(wK(n)), Tr = OE(SK(n));
|
|
41329
|
+
return n.inline || (jr("div", "width", Tr) && _n(ws.element, "width", Tr), jr("div", "height", to) ? _n(ws.element, "height", to) : _n(ws.element, "height", "400px")), to;
|
|
41322
41330
|
}, mn = (ws) => {
|
|
41323
41331
|
n.addShortcut("alt+F9", "focus menubar", () => {
|
|
41324
41332
|
qr.focusMenubar(ws);
|
|
41325
41333
|
}), n.addShortcut("alt+F10", "focus toolbar", () => {
|
|
41326
41334
|
qr.focusToolbar(ws);
|
|
41327
|
-
}), n.addCommand("ToggleToolbarDrawer", (
|
|
41335
|
+
}), n.addCommand("ToggleToolbarDrawer", (to, Tr) => {
|
|
41328
41336
|
Tr?.skipFocus ? qr.toggleToolbarDrawerWithoutFocusing(ws) : qr.toggleToolbarDrawer(ws);
|
|
41329
41337
|
}), n.addQueryStateHandler("ToggleToolbarDrawer", () => qr.isToolbarDrawerToggled(ws));
|
|
41330
41338
|
}, Dn = (ws) => {
|
|
41331
|
-
const { mainUi:
|
|
41339
|
+
const { mainUi: to, popupUi: Tr, uiMotherships: vr } = ws;
|
|
41332
41340
|
Wt(y4(n), (Oy, x6) => {
|
|
41333
41341
|
n.ui.registry.addGroupToolbarButton(x6, Oy);
|
|
41334
41342
|
});
|
|
@@ -41342,18 +41350,18 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41342
41350
|
sidebar: mc,
|
|
41343
41351
|
views: Of
|
|
41344
41352
|
};
|
|
41345
|
-
mn(
|
|
41346
|
-
const Ak = n.getElement(), s0 = as(
|
|
41353
|
+
mn(to.outerContainer), mG(n, to.mothership, vr), y.setup(n, Qt.popup.shared, ze), rJ(n, Qt.popup), OJ(n, Qt.popup.shared.getSink, Qt.popup), RG(n), ZG(n, gn, Qt.popup.shared), QQ(n, yf, Tr.sink, { backstage: Qt.popup }), UJ(n, Tr.sink);
|
|
41354
|
+
const Ak = n.getElement(), s0 = as(to.outerContainer), O6 = {
|
|
41347
41355
|
targetNode: Ak,
|
|
41348
41356
|
height: s0
|
|
41349
41357
|
};
|
|
41350
41358
|
return g.render(n, ws, tm, Qt.popup, O6);
|
|
41351
|
-
}, Ns = (ws) => (N.set(ws.mothership), ws),
|
|
41352
|
-
const ws = Gs(),
|
|
41353
|
-
S.dialogUi.set(
|
|
41359
|
+
}, Ns = (ws) => (N.set(ws.mothership), ws), no = () => {
|
|
41360
|
+
const ws = Gs(), to = So(), Tr = ip(n) ? Hs() : Ns(to);
|
|
41361
|
+
S.dialogUi.set(to), S.popupUi.set(Tr), S.mainUi.set(ws);
|
|
41354
41362
|
const vr = {
|
|
41355
41363
|
popupUi: Tr,
|
|
41356
|
-
dialogUi:
|
|
41364
|
+
dialogUi: to,
|
|
41357
41365
|
mainUi: ws,
|
|
41358
41366
|
uiMotherships: S.getUiMotherships()
|
|
41359
41367
|
};
|
|
@@ -41368,7 +41376,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
41368
41376
|
backstage: Qt.dialog,
|
|
41369
41377
|
getMothership: () => r2("dialogs", D)
|
|
41370
41378
|
},
|
|
41371
|
-
renderUI:
|
|
41379
|
+
renderUI: no
|
|
41372
41380
|
};
|
|
41373
41381
|
}, AE = (n) => n.dom.textContent, gy = (n, l) => {
|
|
41374
41382
|
const d = zs(n, "id").fold(() => {
|
|
@@ -42763,7 +42771,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42763
42771
|
g((Xe) => {
|
|
42764
42772
|
const rt = pe.getData(), ze = Vn(rt, Ae), ht = Ek(n, ze), gt = n.getFormWrapper();
|
|
42765
42773
|
In.setValue(gt, ht), Ho(d, (Mt, Lt) => {
|
|
42766
|
-
|
|
42774
|
+
eo(ze, Lt) && Mt.set(ze[Lt]);
|
|
42767
42775
|
});
|
|
42768
42776
|
});
|
|
42769
42777
|
},
|
|
@@ -42972,7 +42980,7 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
42972
42980
|
"close",
|
|
42973
42981
|
"block",
|
|
42974
42982
|
"unblock"
|
|
42975
|
-
], Boe = (n) => x(n) && hhe.indexOf(n.mceAction) !== -1, mhe = (n) => !Boe(n) && x(n) &&
|
|
42983
|
+
], Boe = (n) => x(n) && hhe.indexOf(n.mceAction) !== -1, mhe = (n) => !Boe(n) && x(n) && eo(n, "mceAction"), ghe = (n, l, d) => {
|
|
42976
42984
|
switch (d.mceAction) {
|
|
42977
42985
|
case "insertContent":
|
|
42978
42986
|
n.insertContent(d.content);
|
|
@@ -43265,8 +43273,8 @@ The conflicting element is` + (Ve(J.element) ? " " : " not ") + "already in the
|
|
|
43265
43273
|
}));
|
|
43266
43274
|
gn.set(So);
|
|
43267
43275
|
const Hs = () => n.backstages.popup.shared.getSink().toOptional().bind((Gs) => {
|
|
43268
|
-
const as = L1(l, Gs.element), mn = 15, Dn = as.map((ws) => Q1(ws)).getOr(ia()), Ns = Ni(dt.fromDom(l.getContentAreaContainer())),
|
|
43269
|
-
return F.some(ei(
|
|
43276
|
+
const as = L1(l, Gs.element), mn = 15, Dn = as.map((ws) => Q1(ws)).getOr(ia()), Ns = Ni(dt.fromDom(l.getContentAreaContainer())), no = gh(Ns, Dn);
|
|
43277
|
+
return F.some(ei(no.x, no.y, no.width, no.height - mn));
|
|
43270
43278
|
});
|
|
43271
43279
|
return hi.showWithinBounds(So, ba(Cs.dialog), { anchor: Xe }, Hs), si.refresh(So), l.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", Ps), Cs.instanceApi.setData(Mn), gs.focusIn(Cs.dialog), Cs.instanceApi;
|
|
43272
43280
|
};
|
|
@@ -43554,18 +43562,18 @@ function I1e() {
|
|
|
43554
43562
|
for (let A = 0; A < p.length && _ !== void 0 && _ !== null; ++A)
|
|
43555
43563
|
_ = _[p[A]];
|
|
43556
43564
|
return _;
|
|
43557
|
-
},
|
|
43565
|
+
}, Js = (p, O) => {
|
|
43558
43566
|
const _ = p.split(".");
|
|
43559
43567
|
return Ln(_, O);
|
|
43560
|
-
}, jo = (p, O) =>
|
|
43568
|
+
}, jo = (p, O) => Js(p, O), kr = (p, O) => {
|
|
43561
43569
|
const _ = jo(p, O);
|
|
43562
43570
|
if (_ == null)
|
|
43563
43571
|
throw new Error(p + " not available on this browser");
|
|
43564
43572
|
return _;
|
|
43565
43573
|
}, Qs = Object.getPrototypeOf, Br = (p) => kr("HTMLElement", p), pn = (p) => {
|
|
43566
|
-
const O =
|
|
43574
|
+
const O = Js("ownerDocument.defaultView", p);
|
|
43567
43575
|
return b(p) && (Br(O).prototype.isPrototypeOf(p) || /^HTML\w*Element$/.test(Qs(p).constructor.name));
|
|
43568
|
-
},
|
|
43576
|
+
}, eo = 8, gr = 9, Fr = 11, wi = 1, Li = 3, Uo = (p) => p.dom.nodeName.toLowerCase(), ui = (p) => p.dom.nodeType, Si = (p) => (O) => ui(O) === p, zo = (p) => ui(p) === eo || Uo(p) === "#comment", us = (p) => ar(p) && pn(p.dom), ar = Si(wi), di = Si(Li), $a = Si(gr), vl = Si(Fr), xe = (p) => (O) => ar(O) && Uo(O) === p, qe = (p, O, _) => {
|
|
43569
43577
|
if (h(_) || T(_) || Z(_))
|
|
43570
43578
|
p.setAttribute(O, _ + "");
|
|
43571
43579
|
else
|
|
@@ -47818,14 +47826,14 @@ function L1e() {
|
|
|
47818
47826
|
}, ur = Object.getPrototypeOf, Ys = (Q) => ci("HTMLElement", Q), lo = (Q) => {
|
|
47819
47827
|
const Y = js("ownerDocument.defaultView", Q);
|
|
47820
47828
|
return h(Q) && (Ys(Y).prototype.isPrototypeOf(Q) || /^HTML\w*Element$/.test(ur(Q).constructor.name));
|
|
47821
|
-
}, Cr = (Q) => Q.dom.nodeName.toLowerCase(), Ho = (Q) => Q.dom.nodeType, Wt = (Q) => (Y) => Ho(Y) === Q, Nn = (Q) => Ho(Q) === ne || Cr(Q) === "#comment", Pn = (Q) => Ln(Q) && lo(Q.dom), Ln = Wt(an),
|
|
47829
|
+
}, Cr = (Q) => Q.dom.nodeName.toLowerCase(), Ho = (Q) => Q.dom.nodeType, Wt = (Q) => (Y) => Ho(Y) === Q, Nn = (Q) => Ho(Q) === ne || Cr(Q) === "#comment", Pn = (Q) => Ln(Q) && lo(Q.dom), Ln = Wt(an), Js = Wt(ss), jo = Wt($n), kr = (Q) => (Y) => Ln(Y) && Cr(Y) === Q, Qs = (Q) => De.from(Q.dom.parentNode).map(Ce.fromDom), Br = (Q) => De.from(Q.dom.parentElement).map(Ce.fromDom), pn = (Q) => De.from(Q.dom.nextSibling).map(Ce.fromDom), eo = (Q) => Me(Q.dom.childNodes, Ce.fromDom), gr = (Q, Y) => {
|
|
47822
47830
|
const le = Q.dom.childNodes;
|
|
47823
47831
|
return De.from(le[Y]).map(Ce.fromDom);
|
|
47824
47832
|
}, Fr = (Q) => gr(Q, 0), wi = (Q) => gr(Q, Q.dom.childNodes.length - 1), Li = (Q) => jo(Q) && T(Q.dom.host), Uo = (Q) => Ce.fromDom(Q.dom.getRootNode()), ui = (Q) => {
|
|
47825
47833
|
const Y = Uo(Q);
|
|
47826
47834
|
return Li(Y) ? De.some(Y) : De.none();
|
|
47827
47835
|
}, Si = (Q) => Ce.fromDom(Q.dom.host), zo = (Q) => {
|
|
47828
|
-
const Y =
|
|
47836
|
+
const Y = Js(Q) ? Q.dom.parentNode : Q.dom;
|
|
47829
47837
|
if (Y == null || Y.ownerDocument === null)
|
|
47830
47838
|
return !1;
|
|
47831
47839
|
const le = Y.ownerDocument;
|
|
@@ -47873,7 +47881,7 @@ function L1e() {
|
|
|
47873
47881
|
ue(Q, le);
|
|
47874
47882
|
});
|
|
47875
47883
|
}, Qe = (Q) => {
|
|
47876
|
-
Q.dom.textContent = "", de(
|
|
47884
|
+
Q.dom.textContent = "", de(eo(Q), (Y) => {
|
|
47877
47885
|
xt(Y);
|
|
47878
47886
|
});
|
|
47879
47887
|
}, xt = (Q) => {
|
|
@@ -47912,7 +47920,7 @@ function L1e() {
|
|
|
47912
47920
|
}, Oo = (Q, Y) => {
|
|
47913
47921
|
const le = bs(Q, Y);
|
|
47914
47922
|
et(Q, le);
|
|
47915
|
-
const je =
|
|
47923
|
+
const je = eo(Q);
|
|
47916
47924
|
return Ne(le, je), xt(Q), le;
|
|
47917
47925
|
};
|
|
47918
47926
|
var pr = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), Wo = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
@@ -48055,7 +48063,7 @@ function L1e() {
|
|
|
48055
48063
|
const je = Q.dom;
|
|
48056
48064
|
cm(je, Y, le);
|
|
48057
48065
|
}, yr = (Q) => To(Q, "OL,UL"), hu = (Q) => To(Q, "LI"), Mi = (Q) => Fr(Q).exists(yr), oa = (Q) => wi(Q).exists(yr), Ka = (Q) => "listAttributes" in Q, Fu = (Q) => "isComment" in Q, ke = (Q) => "isFragment" in Q, Pe = (Q) => Q.depth > 0, Tt = (Q) => Q.isSelected, Yt = (Q) => {
|
|
48058
|
-
const Y =
|
|
48066
|
+
const Y = eo(Q), le = oa(Q) ? Y.slice(0, -1) : Y;
|
|
48059
48067
|
return Me(le, ps);
|
|
48060
48068
|
}, hs = (Q, Y, le) => Qs(Q).filter(Ln).map((je) => ({
|
|
48061
48069
|
depth: Y,
|
|
@@ -48173,7 +48181,7 @@ function L1e() {
|
|
|
48173
48181
|
const Vn = wi(je).filter(yr).map((ao) => yc(Q, Y, le, ao)).getOr([]);
|
|
48174
48182
|
return cn.toArray().concat(Vn);
|
|
48175
48183
|
}, Pf = (Q, Y, le, je) => Fr(je).filter(yr).fold(() => Af(Q, Y, le, je), (at) => {
|
|
48176
|
-
const cn = kt(
|
|
48184
|
+
const cn = kt(eo(je), (Vn, ao, Fs) => {
|
|
48177
48185
|
if (Fs === 0)
|
|
48178
48186
|
return Vn;
|
|
48179
48187
|
if (hu(ao))
|
|
@@ -48191,7 +48199,7 @@ function L1e() {
|
|
|
48191
48199
|
}
|
|
48192
48200
|
}, []);
|
|
48193
48201
|
return yc(Q, Y, le, at).concat(cn);
|
|
48194
|
-
}), yc = (Q, Y, le, je) => Ut(
|
|
48202
|
+
}), yc = (Q, Y, le, je) => Ut(eo(je), (at) => {
|
|
48195
48203
|
const cn = yr(at) ? yc : Pf, Vn = Q + 1;
|
|
48196
48204
|
return cn(Vn, Y, le, at);
|
|
48197
48205
|
}), al = (Q, Y) => {
|
|
@@ -48964,7 +48972,7 @@ function Q1e() {
|
|
|
48964
48972
|
}, ci = (ge, Ve) => {
|
|
48965
48973
|
const mt = ["noopener"], Xt = ge ? ge.split(/\s+/) : [], bn = (zs) => kn.trim(zs.sort().join(" ")), Gt = (zs) => (zs = ts(zs), zs.length > 0 ? zs.concat(mt) : mt), ts = (zs) => zs.filter((oe) => kn.inArray(mt, oe) === -1), ro = Ve ? Gt(Xt) : ts(Xt);
|
|
48966
48974
|
return ro.length > 0 ? bn(ro) : "";
|
|
48967
|
-
}, ur = (ge) => ge.replace(/\uFEFF/g, ""), Ys = (ge, Ve) => (Ve = Ve || Ho(ge.selection.getRng())[0] || ge.selection.getNode(),
|
|
48975
|
+
}, ur = (ge) => ge.replace(/\uFEFF/g, ""), Ys = (ge, Ve) => (Ve = Ve || Ho(ge.selection.getRng())[0] || ge.selection.getNode(), Js(Ve) ? we.from(ge.dom.select("a[href]", Ve)[0]) : we.from(ge.dom.getParent(Ve, "a[href]"))), lo = (ge, Ve) => Ys(ge, Ve).isSome(), Cr = (ge, Ve) => {
|
|
48968
48976
|
const mt = Ve.fold(() => ge.getContent({ format: "text" }), (Xt) => Xt.innerText || Xt.textContent || "");
|
|
48969
48977
|
return ur(mt);
|
|
48970
48978
|
}, Ho = (ge) => ir(ge, Bs), Wt = (ge) => kn.grep(ge, Bs), Nn = (ge) => Wt(ge).length > 0, Pn = (ge) => Ho(ge).length > 0, Ln = (ge) => {
|
|
@@ -48973,7 +48981,7 @@ function Q1e() {
|
|
|
48973
48981
|
return !1;
|
|
48974
48982
|
const bn = ge.selection.getRng();
|
|
48975
48983
|
return bn.collapsed ? !0 : ir(bn, mt).length === 0;
|
|
48976
|
-
},
|
|
48984
|
+
}, Js = (ge) => M(ge) && ge.nodeName === "FIGURE" && /\bimage\b/i.test(ge.className), jo = (ge) => it([
|
|
48977
48985
|
"title",
|
|
48978
48986
|
"rel",
|
|
48979
48987
|
"class",
|
|
@@ -48995,14 +49003,14 @@ function Q1e() {
|
|
|
48995
49003
|
bn.setStartAfter(Ve), bn.setEndAfter(Ve), ge.selection.setRng(bn);
|
|
48996
49004
|
}, pn = (ge, Ve, mt, Xt) => {
|
|
48997
49005
|
const bn = ge.dom;
|
|
48998
|
-
|
|
49006
|
+
Js(Ve) ? zo(bn, Ve, Xt) : mt.fold(() => {
|
|
48999
49007
|
ge.execCommand("mceInsertLink", !1, Xt);
|
|
49000
49008
|
const Gt = ge.selection.getEnd(), ts = bn.createRng();
|
|
49001
49009
|
ts.setStartAfter(Gt), ts.setEndAfter(Gt), ge.selection.setRng(ts);
|
|
49002
49010
|
}, (Gt) => {
|
|
49003
49011
|
ge.insertContent(bn.createHTML("a", Xt, bn.encode(Gt)));
|
|
49004
49012
|
});
|
|
49005
|
-
},
|
|
49013
|
+
}, eo = (ge, Ve, mt) => {
|
|
49006
49014
|
const Xt = ge.selection.getNode(), bn = Ys(ge, Xt), Gt = Qs(ge, jo(mt)), ts = $n(ge);
|
|
49007
49015
|
M(ts) && ts(Gt), ge.undoManager.transact(() => {
|
|
49008
49016
|
mt.href === Ve.href && Ve.attach(), bn.fold(() => {
|
|
@@ -49017,7 +49025,7 @@ function Q1e() {
|
|
|
49017
49025
|
}, Fr = (ge) => {
|
|
49018
49026
|
ge.undoManager.transact(() => {
|
|
49019
49027
|
const Ve = ge.selection.getNode();
|
|
49020
|
-
|
|
49028
|
+
Js(Ve) ? Si(ge, Ve) : gr(ge), ge.focus();
|
|
49021
49029
|
});
|
|
49022
49030
|
}, wi = (ge) => {
|
|
49023
49031
|
const {
|
|
@@ -49048,7 +49056,7 @@ function Q1e() {
|
|
|
49048
49056
|
};
|
|
49049
49057
|
}, Uo = (ge, Ve, mt) => {
|
|
49050
49058
|
const Xt = Li(ge, mt);
|
|
49051
|
-
ge.hasPlugin("rtc", !0) ? ge.execCommand("createlink", !1, wi(Xt)) :
|
|
49059
|
+
ge.hasPlugin("rtc", !0) ? ge.execCommand("createlink", !1, wi(Xt)) : eo(ge, Ve, Xt);
|
|
49052
49060
|
}, ui = (ge) => {
|
|
49053
49061
|
ge.hasPlugin("rtc", !0) ? ge.execCommand("unlink") : Fr(ge);
|
|
49054
49062
|
}, Si = (ge, Ve) => {
|
|
@@ -49821,19 +49829,19 @@ function V1e() {
|
|
|
49821
49829
|
allow_script_urls: Ye("allow_script_urls"),
|
|
49822
49830
|
allow_svg_data_urls: Ye("allow_svg_data_urls")
|
|
49823
49831
|
});
|
|
49824
|
-
}, Ln = Ot.DOM,
|
|
49832
|
+
}, Ln = Ot.DOM, Js = (oe) => oe.style.marginLeft && oe.style.marginRight && oe.style.marginLeft === oe.style.marginRight ? ur(oe.style.marginLeft) : "", jo = (oe) => oe.style.marginTop && oe.style.marginBottom && oe.style.marginTop === oe.style.marginBottom ? ur(oe.style.marginTop) : "", kr = (oe) => oe.style.borderWidth ? ur(oe.style.borderWidth) : "", Qs = (oe, me) => {
|
|
49825
49833
|
var Ye;
|
|
49826
49834
|
return oe.hasAttribute(me) && (Ye = oe.getAttribute(me)) !== null && Ye !== void 0 ? Ye : "";
|
|
49827
49835
|
}, Br = (oe) => oe.parentNode !== null && oe.parentNode.nodeName === "FIGURE", pn = (oe, me, Ye) => {
|
|
49828
49836
|
Ye === "" || Ye === null ? oe.removeAttribute(me) : oe.setAttribute(me, Ye);
|
|
49829
|
-
},
|
|
49837
|
+
}, eo = (oe) => {
|
|
49830
49838
|
const me = Ln.create("figure", { class: "image" });
|
|
49831
49839
|
Ln.insertAfter(me, oe), me.appendChild(oe), me.appendChild(Ln.create("figcaption", { contentEditable: "true" }, "Caption")), me.contentEditable = "false";
|
|
49832
49840
|
}, gr = (oe) => {
|
|
49833
49841
|
const me = oe.parentNode;
|
|
49834
49842
|
Z(me) && (Ln.insertAfter(oe, me), Ln.remove(me));
|
|
49835
49843
|
}, Fr = (oe) => {
|
|
49836
|
-
Br(oe) ? gr(oe) :
|
|
49844
|
+
Br(oe) ? gr(oe) : eo(oe);
|
|
49837
49845
|
}, wi = (oe, me) => {
|
|
49838
49846
|
const Ye = oe.getAttribute("style"), At = me(Ye !== null ? Ye : "");
|
|
49839
49847
|
At.length > 0 ? (oe.setAttribute("style", At), oe.setAttribute("data-mce-style", At)) : oe.removeAttribute("style");
|
|
@@ -49871,7 +49879,7 @@ function V1e() {
|
|
|
49871
49879
|
}), Fe = (oe, me) => {
|
|
49872
49880
|
var Ye;
|
|
49873
49881
|
const At = document.createElement("img");
|
|
49874
|
-
return pn(At, "style", me.style), (
|
|
49882
|
+
return pn(At, "style", me.style), (Js(At) || me.hspace !== "") && ui(At, me.hspace), (jo(At) || me.vspace !== "") && Si(At, me.vspace), (kr(At) || me.border !== "") && zo(At, me.border), (ar(At) || me.borderStyle !== "") && us(At, me.borderStyle), oe((Ye = At.getAttribute("style")) !== null && Ye !== void 0 ? Ye : "");
|
|
49875
49883
|
}, We = (oe, me) => {
|
|
49876
49884
|
const Ye = document.createElement("img");
|
|
49877
49885
|
if (Qe(oe, {
|
|
@@ -49891,7 +49899,7 @@ function V1e() {
|
|
|
49891
49899
|
class: Qs(me, "class"),
|
|
49892
49900
|
style: oe(Qs(me, "style")),
|
|
49893
49901
|
caption: Br(me),
|
|
49894
|
-
hspace:
|
|
49902
|
+
hspace: Js(me),
|
|
49895
49903
|
vspace: jo(me),
|
|
49896
49904
|
border: kr(me),
|
|
49897
49905
|
borderStyle: ar(me),
|
|
@@ -50904,7 +50912,7 @@ function H1e() {
|
|
|
50904
50912
|
for (let xt = Ne.length - 1; xt >= 0; xt--)
|
|
50905
50913
|
fe[Qe] === Ne[xt] && Ne.splice(xt, 1);
|
|
50906
50914
|
ue.selection.select(Ne[0]);
|
|
50907
|
-
},
|
|
50915
|
+
}, Js = (ue, fe) => {
|
|
50908
50916
|
const Ne = ue.dom.select("*[data-mce-object]");
|
|
50909
50917
|
ue.insertContent(fe), Ln(ue, Ne), ue.nodeChanged();
|
|
50910
50918
|
}, jo = (ue, fe) => x(fe) && fe === "ephox-embed-iri" && x(rr(ue)), kr = (ue, fe) => ((Qe, xt) => Qe.width !== xt.width || Qe.height !== xt.height)(ue, fe) && jo(fe.source, ue.type), Qs = (ue, fe, Ne) => {
|
|
@@ -50912,8 +50920,8 @@ function H1e() {
|
|
|
50912
50920
|
fe.embed = kr(ue, fe) && Kt(Ne) ? Un(Ne, {
|
|
50913
50921
|
...fe,
|
|
50914
50922
|
embed: ""
|
|
50915
|
-
}) : $n((Qe = fe.embed) !== null && Qe !== void 0 ? Qe : "", fe, !1, Ne.schema), fe.embed && (ue.source === fe.source || ci(fe.source)) ?
|
|
50916
|
-
|
|
50923
|
+
}) : $n((Qe = fe.embed) !== null && Qe !== void 0 ? Qe : "", fe, !1, Ne.schema), fe.embed && (ue.source === fe.source || ci(fe.source)) ? Js(Ne, fe.embed) : Lo(Ne, fe).then((xt) => {
|
|
50924
|
+
Js(Ne, xt.html);
|
|
50917
50925
|
}).catch(Wt(Ne));
|
|
50918
50926
|
}, Br = (ue) => {
|
|
50919
50927
|
const fe = Nn(ue), Ne = L(fe), Qe = Ho(fe), xt = (Qn, ps) => {
|
|
@@ -51025,7 +51033,7 @@ function H1e() {
|
|
|
51025
51033
|
});
|
|
51026
51034
|
}, pn = (ue) => ({ showDialog: () => {
|
|
51027
51035
|
Br(ue);
|
|
51028
|
-
} }),
|
|
51036
|
+
} }), eo = (ue) => {
|
|
51029
51037
|
const fe = () => {
|
|
51030
51038
|
Br(ue);
|
|
51031
51039
|
};
|
|
@@ -51209,7 +51217,7 @@ function H1e() {
|
|
|
51209
51217
|
});
|
|
51210
51218
|
};
|
|
51211
51219
|
var Je = () => {
|
|
51212
|
-
r.add("media", (ue) => (De(ue),
|
|
51220
|
+
r.add("media", (ue) => (De(ue), eo(ue), et(ue), Fe(ue), qe(ue), kn(ue), pn(ue)));
|
|
51213
51221
|
};
|
|
51214
51222
|
Je();
|
|
51215
51223
|
})()), pre;
|
|
@@ -51459,15 +51467,15 @@ function z1e() {
|
|
|
51459
51467
|
return Se.mozMatchesSelector(z);
|
|
51460
51468
|
throw new Error("Browser lacks native selectors");
|
|
51461
51469
|
}
|
|
51462
|
-
},
|
|
51470
|
+
}, Js = (B) => B.nodeType !== ur && B.nodeType !== Lo && B.nodeType !== ci || B.childElementCount === 0, jo = (B, z) => {
|
|
51463
51471
|
const ie = z === void 0 ? document : z.dom;
|
|
51464
|
-
return
|
|
51472
|
+
return Js(ie) ? [] : Ot(ie.querySelectorAll(B), Pn.fromDom);
|
|
51465
51473
|
}, kr = (B, z) => {
|
|
51466
51474
|
const ie = z === void 0 ? document : z.dom;
|
|
51467
|
-
return
|
|
51475
|
+
return Js(ie) ? G.none() : G.from(ie.querySelector(B)).map(Pn.fromDom);
|
|
51468
51476
|
}, Qs = (B, z) => B.dom === z.dom, Br = Ln;
|
|
51469
51477
|
typeof window < "u" || Function("return this;")();
|
|
51470
|
-
const pn = (B) => B.dom.nodeName.toLowerCase(),
|
|
51478
|
+
const pn = (B) => B.dom.nodeName.toLowerCase(), eo = (B) => B.dom.nodeType, gr = (B) => (z) => eo(z) === B, Fr = (B) => eo(B) === js || pn(B) === "#comment", wi = gr(ur), Li = gr(Ys), Uo = gr(Lo), ui = gr(ci), Si = (B) => (z) => wi(z) && pn(z) === B, zo = (B) => Pn.fromDom(B.dom.ownerDocument), us = (B) => Uo(B) ? B : zo(B), ar = (B) => G.from(B.dom.parentNode).map(Pn.fromDom), di = (B, z) => {
|
|
51471
51479
|
const ie = M(z) ? z : Ct;
|
|
51472
51480
|
let Se = B.dom;
|
|
51473
51481
|
const ut = [];
|
|
@@ -53913,7 +53921,7 @@ function W1e() {
|
|
|
53913
53921
|
}, Ln = (ke, Pe) => {
|
|
53914
53922
|
const Yt = (Pe || document).createElement(ke);
|
|
53915
53923
|
return jo(Yt);
|
|
53916
|
-
},
|
|
53924
|
+
}, Js = (ke, Pe) => {
|
|
53917
53925
|
const Yt = (Pe || document).createTextNode(ke);
|
|
53918
53926
|
return jo(Yt);
|
|
53919
53927
|
}, jo = (ke) => {
|
|
@@ -53923,7 +53931,7 @@ function W1e() {
|
|
|
53923
53931
|
}, Qs = {
|
|
53924
53932
|
fromHtml: Pn,
|
|
53925
53933
|
fromTag: Ln,
|
|
53926
|
-
fromText:
|
|
53934
|
+
fromText: Js,
|
|
53927
53935
|
fromDom: jo,
|
|
53928
53936
|
fromPoint: (ke, Pe, Tt) => it.from(ke.dom.elementFromPoint(Pe, Tt)).map(jo)
|
|
53929
53937
|
}, Br = (ke, Pe) => {
|
|
@@ -53942,7 +53950,7 @@ function W1e() {
|
|
|
53942
53950
|
return Yt.mozMatchesSelector(Pe);
|
|
53943
53951
|
throw new Error("Browser lacks native selectors");
|
|
53944
53952
|
}
|
|
53945
|
-
}, pn = (ke) => ke.nodeType !== Un && ke.nodeType !== pt && ke.nodeType !== Ce || ke.childElementCount === 0,
|
|
53953
|
+
}, pn = (ke) => ke.nodeType !== Un && ke.nodeType !== pt && ke.nodeType !== Ce || ke.childElementCount === 0, eo = (ke, Pe) => {
|
|
53946
53954
|
const Tt = document;
|
|
53947
53955
|
return pn(Tt) ? [] : Me(Tt.querySelectorAll(ke), Qs.fromDom);
|
|
53948
53956
|
}, gr = (ke, Pe) => ke.dom === Pe.dom, Fr = (ke) => Qs.fromDom(ke.dom.ownerDocument), wi = (ke) => it.from(ke.dom.parentNode).map(Qs.fromDom), Li = (ke, Pe) => {
|
|
@@ -54265,7 +54273,7 @@ function W1e() {
|
|
|
54265
54273
|
}, oe = (ke) => {
|
|
54266
54274
|
const Pe = ke.dom;
|
|
54267
54275
|
Pe.exitFullscreen ? Pe.exitFullscreen() : Pe.msExitFullscreen ? Pe.msExitFullscreen() : Pe.webkitCancelFullScreen && Pe.webkitCancelFullScreen();
|
|
54268
|
-
}, me = (ke) => ke.dom === ts(Fr(ke).dom), Ye = (ke, Pe, Tt) => Kt(Li(ke, Tt), Pe), At = (ke, Pe) => Kt(Uo(ke), Pe), jn = (ke) =>
|
|
54276
|
+
}, me = (ke) => ke.dom === ts(Fr(ke).dom), Ye = (ke, Pe, Tt) => Kt(Li(ke, Tt), Pe), At = (ke, Pe) => Kt(Uo(ke), Pe), jn = (ke) => eo(ke), _n = (ke, Pe, Tt) => Ye(ke, (Yt) => Br(Yt, Pe), Tt), Qo = (ke, Pe) => At(ke, (Tt) => Br(Tt, Pe)), gi = "data-ephox-mobile-fullscreen-style", nn = "display:none!important;", Sa = "position:absolute!important;", nr = "top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;", vc = "background-color:rgb(255,255,255)!important;", jr = ge.os.isAndroid(), ho = (ke) => {
|
|
54269
54277
|
const Pe = Je(ke, "background-color");
|
|
54270
54278
|
return Pe !== void 0 && Pe !== "" ? "background-color:" + Pe + "!important" : vc;
|
|
54271
54279
|
}, Ma = (ke, Pe, Tt) => {
|
|
@@ -54459,7 +54467,7 @@ function X1e() {
|
|
|
54459
54467
|
}
|
|
54460
54468
|
f.singletonNone = new f(!1);
|
|
54461
54469
|
const h = (Wt) => () => Wt, b = h(!1), x = (Wt, Nn, Pn) => {
|
|
54462
|
-
for (let Ln = 0,
|
|
54470
|
+
for (let Ln = 0, Js = Wt.length; Ln < Js; Ln++) {
|
|
54463
54471
|
const jo = Wt[Ln];
|
|
54464
54472
|
if (Nn(jo, Ln))
|
|
54465
54473
|
return f.some(jo);
|
|
@@ -54480,16 +54488,16 @@ function X1e() {
|
|
|
54480
54488
|
let Nn = !1, Pn;
|
|
54481
54489
|
return (...Ln) => (Nn || (Nn = !0, Pn = Wt.apply(null, Ln)), Pn);
|
|
54482
54490
|
}, M = (Wt, Nn, Pn, Ln) => {
|
|
54483
|
-
const
|
|
54491
|
+
const Js = Wt.isiOS() && /ipad/i.test(Pn) === !0, jo = Wt.isiOS() && !Js, kr = Wt.isiOS() || Wt.isAndroid(), Qs = kr || Ln("(pointer:coarse)"), Br = Js || !jo && kr && Ln("(min-device-width:768px)"), pn = jo || kr && !Br, eo = Nn.isSafari() && Wt.isiOS() && /safari/i.test(Pn) === !1, gr = !pn && !Br && !eo;
|
|
54484
54492
|
return {
|
|
54485
|
-
isiPad: h(
|
|
54493
|
+
isiPad: h(Js),
|
|
54486
54494
|
isiPhone: h(jo),
|
|
54487
54495
|
isTablet: h(Br),
|
|
54488
54496
|
isPhone: h(pn),
|
|
54489
54497
|
isTouch: h(Qs),
|
|
54490
54498
|
isAndroid: Wt.isAndroid,
|
|
54491
54499
|
isiOS: Wt.isiOS,
|
|
54492
|
-
isWebView: h(
|
|
54500
|
+
isWebView: h(eo),
|
|
54493
54501
|
isDesktop: h(gr)
|
|
54494
54502
|
};
|
|
54495
54503
|
}, L = (Wt, Nn) => {
|
|
@@ -54505,7 +54513,7 @@ function X1e() {
|
|
|
54505
54513
|
major: 0,
|
|
54506
54514
|
minor: 0
|
|
54507
54515
|
};
|
|
54508
|
-
const Ln = (
|
|
54516
|
+
const Ln = (Js) => Number(Nn.replace(Pn, "$" + Js));
|
|
54509
54517
|
return ce(Ln(1), Ln(2));
|
|
54510
54518
|
}, Z = (Wt, Nn) => {
|
|
54511
54519
|
const Pn = String(Nn).toLowerCase();
|
|
@@ -54519,11 +54527,11 @@ function X1e() {
|
|
|
54519
54527
|
unknown: K
|
|
54520
54528
|
}, te = (Wt, Nn) => T(Nn.brands, (Pn) => {
|
|
54521
54529
|
const Ln = Pn.brand.toLowerCase();
|
|
54522
|
-
return C(Wt, (
|
|
54530
|
+
return C(Wt, (Js) => {
|
|
54523
54531
|
var jo;
|
|
54524
|
-
return Ln === ((jo =
|
|
54525
|
-
}).map((
|
|
54526
|
-
current:
|
|
54532
|
+
return Ln === ((jo = Js.brand) === null || jo === void 0 ? void 0 : jo.toLowerCase());
|
|
54533
|
+
}).map((Js) => ({
|
|
54534
|
+
current: Js.name,
|
|
54527
54535
|
version: we.nu(parseInt(Pn.version, 10), 0)
|
|
54528
54536
|
}));
|
|
54529
54537
|
}), De = (Wt, Nn) => {
|
|
@@ -54542,8 +54550,8 @@ function X1e() {
|
|
|
54542
54550
|
version: Ln
|
|
54543
54551
|
};
|
|
54544
54552
|
}), G = (Wt, Nn, Pn = 0, Ln) => {
|
|
54545
|
-
const
|
|
54546
|
-
return
|
|
54553
|
+
const Js = Wt.indexOf(Nn, Pn);
|
|
54554
|
+
return Js !== -1 ? s(Ln) ? !0 : Js + Nn.length <= Ln : !1;
|
|
54547
54555
|
}, ot = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, it = (Wt) => (Nn) => G(Nn, Wt), St = [
|
|
54548
54556
|
{
|
|
54549
54557
|
name: "Edge",
|
|
@@ -54640,7 +54648,7 @@ function X1e() {
|
|
|
54640
54648
|
current: void 0,
|
|
54641
54649
|
version: we.unknown()
|
|
54642
54650
|
}), vt = (Wt) => {
|
|
54643
|
-
const Nn = Wt.current, Pn = Wt.version, Ln = (
|
|
54651
|
+
const Nn = Wt.current, Pn = Wt.version, Ln = (Js) => () => Nn === Js;
|
|
54644
54652
|
return {
|
|
54645
54653
|
current: Nn,
|
|
54646
54654
|
version: Pn,
|
|
@@ -54658,7 +54666,7 @@ function X1e() {
|
|
|
54658
54666
|
current: void 0,
|
|
54659
54667
|
version: we.unknown()
|
|
54660
54668
|
}), ss = (Wt) => {
|
|
54661
|
-
const Nn = Wt.current, Pn = Wt.version, Ln = (
|
|
54669
|
+
const Nn = Wt.current, Pn = Wt.version, Ln = (Js) => () => Nn === Js;
|
|
54662
54670
|
return {
|
|
54663
54671
|
current: Nn,
|
|
54664
54672
|
version: Pn,
|
|
@@ -54675,7 +54683,7 @@ function X1e() {
|
|
|
54675
54683
|
unknown: an,
|
|
54676
54684
|
nu: ss
|
|
54677
54685
|
}, Ue = { detect: (Wt, Nn, Pn) => {
|
|
54678
|
-
const Ln = de.browsers(),
|
|
54686
|
+
const Ln = de.browsers(), Js = de.oses(), jo = Nn.bind((Br) => te(Ln, Br)).orThunk(() => Ct(Ln, Wt)).fold($e.unknown, $e.nu), kr = nt(Js, Wt).fold(cs.unknown, cs.nu), Qs = M(kr, jo, Wt, Pn);
|
|
54679
54687
|
return {
|
|
54680
54688
|
browser: jo,
|
|
54681
54689
|
os: kr,
|
|
@@ -54687,9 +54695,9 @@ function X1e() {
|
|
|
54687
54695
|
const Wt = Un() || Ds();
|
|
54688
54696
|
return `<script>(${((Pn) => {
|
|
54689
54697
|
document.addEventListener("click", (Ln) => {
|
|
54690
|
-
for (let
|
|
54691
|
-
if (
|
|
54692
|
-
const kr =
|
|
54698
|
+
for (let Js = Ln.target; Js; Js = Js.parentNode)
|
|
54699
|
+
if (Js.nodeName === "A") {
|
|
54700
|
+
const kr = Js.getAttribute("href");
|
|
54693
54701
|
if (kr && kr.startsWith("#")) {
|
|
54694
54702
|
Ln.preventDefault();
|
|
54695
54703
|
const Br = document.getElementById(kr.substring(1));
|
|
@@ -54705,12 +54713,12 @@ function X1e() {
|
|
|
54705
54713
|
const Bs = (Wt) => (Nn) => Nn.options.get(Wt), ir = Bs("content_style"), js = Bs("content_css_cors"), Lo = Bs("body_class"), ci = Bs("body_id"), ur = (Wt) => {
|
|
54706
54714
|
var Nn;
|
|
54707
54715
|
let Pn = "";
|
|
54708
|
-
const Ln = Wt.dom.encode,
|
|
54716
|
+
const Ln = Wt.dom.encode, Js = (Nn = ir(Wt)) !== null && Nn !== void 0 ? Nn : "";
|
|
54709
54717
|
Pn += `<base href="${Ln(Wt.documentBaseURI.getURI())}">`;
|
|
54710
54718
|
const jo = js(Wt) ? ' crossorigin="anonymous"' : "";
|
|
54711
54719
|
To.each(Wt.contentCSS, (gr) => {
|
|
54712
54720
|
Pn += '<link type="text/css" rel="stylesheet" href="' + Ln(Wt.documentBaseURI.toAbsolute(gr)) + '"' + jo + ">";
|
|
54713
|
-
}),
|
|
54721
|
+
}), Js && (Pn += '<style type="text/css">' + Js + "</style>");
|
|
54714
54722
|
const kr = ci(Wt), Qs = Lo(Wt), Br = Wt.getBody().dir, pn = Br ? ' dir="' + Ln(Br) + '"' : "";
|
|
54715
54723
|
return "<!DOCTYPE html><html><head>" + Pn + '</head><body id="' + Ln(kr) + '" class="mce-content-body ' + Ln(Qs) + '"' + pn + ">" + Wt.getContent() + kn() + "</body></html>";
|
|
54716
54724
|
}, Ys = (Wt) => {
|
|
@@ -55160,7 +55168,7 @@ function j1e() {
|
|
|
55160
55168
|
sOffset: 0,
|
|
55161
55169
|
fOffset: 0,
|
|
55162
55170
|
elements: []
|
|
55163
|
-
}), Ln = (Le, Ge) => Ce(ss.fromDom(Le), Ge),
|
|
55171
|
+
}), Ln = (Le, Ge) => Ce(ss.fromDom(Le), Ge), Js = (Le, Ge, Vt, Jt, Tn, es = !0) => {
|
|
55164
55172
|
let os = es ? Ge(!1) : Vt;
|
|
55165
55173
|
for (; os; ) {
|
|
55166
55174
|
const Qn = lo(Le, os);
|
|
@@ -55182,7 +55190,7 @@ function j1e() {
|
|
|
55182
55190
|
if (Wt(Le, Vt))
|
|
55183
55191
|
return;
|
|
55184
55192
|
const os = (es = Le.getParent(Jt, Le.isBlock)) !== null && es !== void 0 ? es : Le.getRoot(), Qn = new ur(Vt, os), ps = Tn ? Qn.next.bind(Qn) : Qn.prev.bind(Qn);
|
|
55185
|
-
|
|
55193
|
+
Js(Le, ps, Vt, {
|
|
55186
55194
|
boundary: q,
|
|
55187
55195
|
cef: q,
|
|
55188
55196
|
text: (bs) => {
|
|
@@ -55194,7 +55202,7 @@ function j1e() {
|
|
|
55194
55202
|
let ps = Pn();
|
|
55195
55203
|
jo(Le, ps, Vt, Ge, !1);
|
|
55196
55204
|
const bs = () => (ps.elements.length > 0 && (Qn.push(ps), ps = Pn()), !1);
|
|
55197
|
-
return
|
|
55205
|
+
return Js(Le, os.next.bind(os), Vt, {
|
|
55198
55206
|
boundary: bs,
|
|
55199
55207
|
cef: (Oo) => (bs(), Tn && Qn.push(...Tn.cef(Oo)), !1),
|
|
55200
55208
|
text: (Oo) => {
|
|
@@ -55218,7 +55226,7 @@ function j1e() {
|
|
|
55218
55226
|
}, Br = (Le, Ge) => Ge.collapsed ? [] : Qs(Le, Ge), pn = (Le, Ge) => {
|
|
55219
55227
|
const Vt = Le.createRng();
|
|
55220
55228
|
return Vt.selectNode(Ge), Br(Le, Vt);
|
|
55221
|
-
},
|
|
55229
|
+
}, eo = (Le, Ge) => Kt(Ge, (Vt) => pn(Le, Vt)), gr = (Le, Ge, Vt = 0, Jt = Le.length) => {
|
|
55222
55230
|
const Tn = Ge.regex;
|
|
55223
55231
|
Tn.lastIndex = Vt;
|
|
55224
55232
|
const es = [];
|
|
@@ -55272,7 +55280,7 @@ function j1e() {
|
|
|
55272
55280
|
const Tn = pn(Le, Vt), es = wi(Ge, Tn);
|
|
55273
55281
|
return Li(es, Jt), es.length;
|
|
55274
55282
|
}, ui = (Le, Ge, Vt, Jt) => {
|
|
55275
|
-
const Tn = Vt.getBookmark(), es = Le.select("td[data-mce-selected],th[data-mce-selected]"), os = es.length > 0 ?
|
|
55283
|
+
const Tn = Vt.getBookmark(), es = Le.select("td[data-mce-selected],th[data-mce-selected]"), os = es.length > 0 ? eo(Le, es) : Br(Le, Vt.getRng()), Qn = wi(Ge, os);
|
|
55276
55284
|
return Li(Qn, Jt), Vt.moveToBookmark(Tn), Qn.length;
|
|
55277
55285
|
}, Si = (Le) => Le.getAttribute("data-mce-index"), zo = (Le, Ge, Vt, Jt) => {
|
|
55278
55286
|
const Tn = Le.dom.create("span", { "data-mce-bogus": 1 });
|
|
@@ -57508,9 +57516,9 @@ const tbe = { class: "font-bold ptext-lg dark:text-white" }, nbe = ["id"], sbe =
|
|
|
57508
57516
|
},
|
|
57509
57517
|
emits: ["update:modelValue", "keydown"],
|
|
57510
57518
|
setup(r, { expose: t, emit: s }) {
|
|
57511
|
-
const a = r, c = s, f =
|
|
57519
|
+
const a = r, c = s, f = Ks(null);
|
|
57512
57520
|
let h = null;
|
|
57513
|
-
|
|
57521
|
+
Ks(!1), lh(async () => {
|
|
57514
57522
|
await bz(), h && (h.destroy(), h = null), Nle.init({
|
|
57515
57523
|
selector: "#" + a.field_name,
|
|
57516
57524
|
height: 300,
|
|
@@ -73272,7 +73280,7 @@ const W2e = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(nav
|
|
|
73272
73280
|
},
|
|
73273
73281
|
emits: ["update:modelValue", "change"],
|
|
73274
73282
|
setup(r, { emit: t }) {
|
|
73275
|
-
const s = r, a = t, c =
|
|
73283
|
+
const s = r, a = t, c = Ks(null);
|
|
73276
73284
|
let f = null;
|
|
73277
73285
|
const h = (T) => T === "javascript" ? qne() : [], b = (T) => T === "one-dark" || document.body.classList.contains("dark") ? YH : [], x = (T) => T ? [eue()] : [], C = (T) => T ? [rA()] : [];
|
|
73278
73286
|
return lh(() => {
|
|
@@ -75290,7 +75298,7 @@ const Wae = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
75290
75298
|
},
|
|
75291
75299
|
emits: ["update:modelValue", "change"],
|
|
75292
75300
|
setup(r, { emit: t }) {
|
|
75293
|
-
const s = r, a = t, c =
|
|
75301
|
+
const s = r, a = t, c = Ks(null), f = Ks(null);
|
|
75294
75302
|
let h = null;
|
|
75295
75303
|
const b = (M) => {
|
|
75296
75304
|
switch (M) {
|
|
@@ -75491,9 +75499,9 @@ const Wae = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
75491
75499
|
},
|
|
75492
75500
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
75493
75501
|
setup(r, { expose: t, emit: s }) {
|
|
75494
|
-
const a = r, c = s, f =
|
|
75502
|
+
const a = r, c = s, f = Ks(null), h = Ks(null);
|
|
75495
75503
|
let b = null;
|
|
75496
|
-
|
|
75504
|
+
Ks(!1);
|
|
75497
75505
|
const x = async () => {
|
|
75498
75506
|
await bz(), b && (b.destroy(), b = null), Nle.init({
|
|
75499
75507
|
selector: "#" + a.field_name,
|
|
@@ -75899,7 +75907,7 @@ const Pde = /* @__PURE__ */ Ii(XSe, [["render", tCe]]), nCe = {
|
|
|
75899
75907
|
}
|
|
75900
75908
|
},
|
|
75901
75909
|
setup(r, { expose: t }) {
|
|
75902
|
-
const s =
|
|
75910
|
+
const s = Ks(""), a = Ks(""), c = Ks(""), f = Ks("Cancel"), h = Ks(!1), b = Ks(!1), x = Ks(!1), C = Ks(void 0), T = Ks(void 0), R = (K = {}) => (s.value = K.title, a.value = K.message, c.value = K.okButton, K.cancelButton && (f.value = K.cancelButton), K.hasLoading && (x.value = K.hasLoading), h.value = !0, new Promise((ce, we) => {
|
|
75903
75911
|
C.value = ce, T.value = we;
|
|
75904
75912
|
})), M = () => {
|
|
75905
75913
|
b.value = !0;
|
|
@@ -77471,7 +77479,7 @@ var zCe = /* @__PURE__ */ (function() {
|
|
|
77471
77479
|
var Fe = qe || {};
|
|
77472
77480
|
if (Fe.fileType == "mad") return zo(xe, Fe);
|
|
77473
77481
|
if (it(xe), Fe.fileType === "zip")
|
|
77474
|
-
return
|
|
77482
|
+
return eo(xe, Fe);
|
|
77475
77483
|
var We = (function(Fn) {
|
|
77476
77484
|
for (var bt = 0, dt = 0, Le = 0; Le < Fn.FileIndex.length; ++Le) {
|
|
77477
77485
|
var Ge = Fn.FileIndex[Le];
|
|
@@ -77779,7 +77787,7 @@ var zCe = /* @__PURE__ */ (function() {
|
|
|
77779
77787
|
return qe.slice(0, Fe);
|
|
77780
77788
|
}
|
|
77781
77789
|
var Ho = $n ? new Uint16Array(32768) : js(32768), Wt = $n ? new Uint16Array(32768) : js(32768), Nn = $n ? new Uint16Array(128) : js(128), Pn = 1, Ln = 1;
|
|
77782
|
-
function
|
|
77790
|
+
function Js(xe, qe) {
|
|
77783
77791
|
var Fe = pt(xe, qe) + 257;
|
|
77784
77792
|
qe += 5;
|
|
77785
77793
|
var We = pt(xe, qe) + 1;
|
|
@@ -77823,7 +77831,7 @@ var zCe = /* @__PURE__ */ (function() {
|
|
|
77823
77831
|
return [Zk(qe), 2];
|
|
77824
77832
|
for (var Fe = 0, We = 0, et = qae(qe || 1 << 18), Je = 0, ue = et.length >>> 0, fe = 0, Ne = 0; (We & 1) == 0; ) {
|
|
77825
77833
|
if (We = Ue(xe, Fe), Fe += 3, We >>> 1)
|
|
77826
|
-
We >> 1 == 1 ? (fe = 9, Ne = 5) : (Fe =
|
|
77834
|
+
We >> 1 == 1 ? (fe = 9, Ne = 5) : (Fe = Js(xe, Fe), fe = Pn, Ne = Ln);
|
|
77827
77835
|
else {
|
|
77828
77836
|
Fe & 7 && (Fe += 8 - (Fe & 7));
|
|
77829
77837
|
var Qe = xe[Fe >>> 3] | xe[(Fe >>> 3) + 1] << 8;
|
|
@@ -77919,7 +77927,7 @@ var zCe = /* @__PURE__ */ (function() {
|
|
|
77919
77927
|
var Ge = !1;
|
|
77920
77928
|
Je & 8 && (Ne = xe.read_shift(4), Ne == 134695760 && (Ne = xe.read_shift(4), Ge = !0), Qe = xe.read_shift(4), xt = xe.read_shift(4)), Qe != qe && Qs(Ge, "Bad compressed size: " + qe + " != " + Qe), xt != Fe && Qs(Ge, "Bad uncompressed size: " + Fe + " != " + xt), ar(We, Fn, Le, { unsafe: !0, mt: fe });
|
|
77921
77929
|
}
|
|
77922
|
-
function
|
|
77930
|
+
function eo(xe, qe) {
|
|
77923
77931
|
var Fe = qe || {}, We = [], et = [], Je = Cn(1), ue = Fe.compression ? 8 : 0, fe = 0, Ne = 0, Qe = 0, xt = 0, zt = 0, un = xe.FullPaths[0], Fn = un, bt = xe.FileIndex[0], dt = [], Le = 0;
|
|
77924
77932
|
for (Ne = 1; Ne < xe.FullPaths.length; ++Ne)
|
|
77925
77933
|
if (Fn = xe.FullPaths[Ne].slice(un.length), bt = xe.FileIndex[Ne], !(!bt.size || !bt.content || Fn == "Sh33tJ5")) {
|
|
@@ -93806,7 +93814,7 @@ function wDe(r, t, s, a, c, f) {
|
|
|
93806
93814
|
}
|
|
93807
93815
|
const BRe = /* @__PURE__ */ Ii(yDe, [["render", wDe]]), SDe = {
|
|
93808
93816
|
setup() {
|
|
93809
|
-
const r =
|
|
93817
|
+
const r = Ks([]);
|
|
93810
93818
|
return Mle("accordionsWrapper", {
|
|
93811
93819
|
registerAccordion: (c) => {
|
|
93812
93820
|
r.value.push(c);
|
|
@@ -93837,7 +93845,7 @@ const FRe = /* @__PURE__ */ Ii(SDe, [["render", CDe]]), kDe = {
|
|
|
93837
93845
|
}
|
|
93838
93846
|
},
|
|
93839
93847
|
setup() {
|
|
93840
|
-
const r =
|
|
93848
|
+
const r = Ks(!1), t = gne("accordionsWrapper"), a = (() => {
|
|
93841
93849
|
var C = (/* @__PURE__ */ new Date()).getTime();
|
|
93842
93850
|
typeof performance < "u" && typeof performance.now == "function" && (C += performance.now());
|
|
93843
93851
|
var T = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(R) {
|
|
@@ -94081,7 +94089,7 @@ const IRe = /* @__PURE__ */ Ii(kDe, [["render", ADe]]), PDe = {
|
|
|
94081
94089
|
},
|
|
94082
94090
|
emits: ["deleteAction"],
|
|
94083
94091
|
setup(r, { emit: t }) {
|
|
94084
|
-
const s = r, a =
|
|
94092
|
+
const s = r, a = Ks(!1), c = Ks(!1), f = () => {
|
|
94085
94093
|
a.value = !1;
|
|
94086
94094
|
}, h = () => {
|
|
94087
94095
|
a.value = !0;
|
|
@@ -94187,7 +94195,7 @@ const IRe = /* @__PURE__ */ Ii(kDe, [["render", ADe]]), PDe = {
|
|
|
94187
94195
|
},
|
|
94188
94196
|
emits: ["deleteAction"],
|
|
94189
94197
|
setup(r, { emit: t }) {
|
|
94190
|
-
const s = r, a =
|
|
94198
|
+
const s = r, a = Ks(!1), c = Ks(!1), f = () => {
|
|
94191
94199
|
a.value = !1;
|
|
94192
94200
|
}, h = () => {
|
|
94193
94201
|
a.value = !0;
|
|
@@ -94290,7 +94298,7 @@ const IRe = /* @__PURE__ */ Ii(kDe, [["render", ADe]]), PDe = {
|
|
|
94290
94298
|
},
|
|
94291
94299
|
emits: ["deleteAction", "editAction"],
|
|
94292
94300
|
setup(r, { emit: t }) {
|
|
94293
|
-
const s = r, a =
|
|
94301
|
+
const s = r, a = Ks(!1), c = Ks(!1), f = () => {
|
|
94294
94302
|
c.value = !1;
|
|
94295
94303
|
}, h = () => {
|
|
94296
94304
|
c.value = !0;
|
|
@@ -95033,7 +95041,7 @@ const o6e = /* @__PURE__ */ Ii(v8e, [["render", E8e]]), A8e = { class: "w-full"
|
|
|
95033
95041
|
}
|
|
95034
95042
|
},
|
|
95035
95043
|
setup(r) {
|
|
95036
|
-
const t = r, s =
|
|
95044
|
+
const t = r, s = Ks(!1), a = (f) => {
|
|
95037
95045
|
navigator.clipboard.writeText(f).then(function() {
|
|
95038
95046
|
s.value = !0, setTimeout(() => {
|
|
95039
95047
|
s.value = !1;
|
|
@@ -95119,7 +95127,7 @@ const o6e = /* @__PURE__ */ Ii(v8e, [["render", E8e]]), A8e = { class: "w-full"
|
|
|
95119
95127
|
}
|
|
95120
95128
|
},
|
|
95121
95129
|
setup(r) {
|
|
95122
|
-
const t = r, s =
|
|
95130
|
+
const t = r, s = Ks(!1), a = (f) => {
|
|
95123
95131
|
navigator.clipboard.writeText(f).then(function() {
|
|
95124
95132
|
s.value = !0, setTimeout(() => {
|
|
95125
95133
|
s.value = !1;
|