golden-logic-ui 1.0.438 → 1.0.439
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 +748 -748
- package/dist/golden-logic-ui.umd.cjs +16 -16
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as ue, createBlock as Zu, resolveDynamicComponent as A4, mergeProps as aO, withCtx as Cm, createElementBlock as fe, normalizeClass as Zt, createCommentVNode as Ye, renderSlot as ju, createTextVNode as Zn, createElementVNode as R, resolveComponent as Rd, createVNode as ui, createStaticVNode as $j, reactive as Pq, Fragment as jn, toDisplayString as mt, withModifiers as za, withDirectives as Tr, vModelText as _m, renderList as Ks, normalizeStyle as Mj, computed as pu, ref as co, onMounted as Dg, onBeforeUnmount as
|
|
1
|
+
import { openBlock as ue, createBlock as Zu, resolveDynamicComponent as A4, mergeProps as aO, withCtx as Cm, createElementBlock as fe, normalizeClass as Zt, createCommentVNode as Ye, renderSlot as ju, createTextVNode as Zn, createElementVNode as R, resolveComponent as Rd, createVNode as ui, createStaticVNode as $j, reactive as Pq, Fragment as jn, toDisplayString as mt, withModifiers as za, withDirectives as Tr, vModelText as _m, renderList as Ks, normalizeStyle as Mj, computed as pu, ref as co, onMounted as Dg, onBeforeUnmount as Z7, watch as Ag, vShow as Ih, nextTick as Pj, vModelDynamic as nq, useSlots as Bq, provide as oq, inject as sq, pushScopeId as rq, popScopeId as aq, vModelCheckbox as lq, toHandlers as Oj, onUnmounted as Nq, TransitionGroup as Iq, unref as Lq, resolveDirective as Bj, markRaw as Fq } from "vue";
|
|
2
2
|
const zr = (A, re) => {
|
|
3
3
|
const G = A.__vccOpts || A;
|
|
4
4
|
for (const [_e, ne] of re)
|
|
@@ -143,7 +143,7 @@ const Nj = /* @__PURE__ */ zr(Hq, [["render", zq]]), Uq = {
|
|
|
143
143
|
"aria-hidden": "true"
|
|
144
144
|
}, "", -1), qq = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Kq = /* @__PURE__ */ $j('<div class="px-4 pt-5 pb-4 sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), Yq = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
|
|
145
145
|
function Xq(A, re, G, _e, ne, Z) {
|
|
146
|
-
const
|
|
146
|
+
const Ce = Rd("gl-button");
|
|
147
147
|
return G.isOpen ? (ue(), fe("div", Wq, [
|
|
148
148
|
R("div", Zq, [
|
|
149
149
|
jq,
|
|
@@ -151,7 +151,7 @@ function Xq(A, re, G, _e, ne, Z) {
|
|
|
151
151
|
R("div", qq, [
|
|
152
152
|
Kq,
|
|
153
153
|
R("div", Yq, [
|
|
154
|
-
ui(
|
|
154
|
+
ui(Ce, {
|
|
155
155
|
onClick: Z.confirmDeletion,
|
|
156
156
|
tag: "button",
|
|
157
157
|
button_type: "red"
|
|
@@ -161,7 +161,7 @@ function Xq(A, re, G, _e, ne, Z) {
|
|
|
161
161
|
]),
|
|
162
162
|
_: 1
|
|
163
163
|
}, 8, ["onClick"]),
|
|
164
|
-
ui(
|
|
164
|
+
ui(Ce, {
|
|
165
165
|
onClick: Z.cancelDeletion,
|
|
166
166
|
tag: "button",
|
|
167
167
|
button_type: "light"
|
|
@@ -176,7 +176,7 @@ function Xq(A, re, G, _e, ne, Z) {
|
|
|
176
176
|
])
|
|
177
177
|
])) : Ye("", !0);
|
|
178
178
|
}
|
|
179
|
-
const
|
|
179
|
+
const j7 = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
180
180
|
items: []
|
|
181
181
|
}), Jq = {
|
|
182
182
|
add(A) {
|
|
@@ -195,7 +195,7 @@ const jN = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
|
195
195
|
methods: Jq
|
|
196
196
|
}, Qq = {
|
|
197
197
|
components: {
|
|
198
|
-
DeleteConfirmationModal:
|
|
198
|
+
DeleteConfirmationModal: j7
|
|
199
199
|
},
|
|
200
200
|
props: {
|
|
201
201
|
is_required: {
|
|
@@ -324,7 +324,7 @@ const jN = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
|
324
324
|
}
|
|
325
325
|
}).then((ne) => {
|
|
326
326
|
let Z = this.files.findIndex(
|
|
327
|
-
(
|
|
327
|
+
(Ce) => Ce.file_name === A.name
|
|
328
328
|
);
|
|
329
329
|
Z !== -1 && this.files.splice(Z, 1), this.has_multiple_file || (this.uploadFileList = []), this.uploadFileList.push({
|
|
330
330
|
file_name: ne.data.file_name,
|
|
@@ -338,7 +338,7 @@ const jN = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
|
338
338
|
this.field_name
|
|
339
339
|
) : console.error("An error occurred:", ne);
|
|
340
340
|
let Z = this.files.findIndex(
|
|
341
|
-
(
|
|
341
|
+
(Ce) => Ce.file_name === A.name
|
|
342
342
|
);
|
|
343
343
|
Z !== -1 && this.files.splice(Z, 1), console.log(ne), re();
|
|
344
344
|
});
|
|
@@ -380,9 +380,9 @@ const jN = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
|
380
380
|
"aria-hidden": "true"
|
|
381
381
|
}, null, -1), _K = { class: "flex flex-col ml-3" }, SK = { class: "text-xs" }, kK = { class: "text-xs" }, TK = { class: "flex gap-2" }, EK = ["href"], AK = ["onClick"];
|
|
382
382
|
function DK(A, re, G, _e, ne, Z) {
|
|
383
|
-
const
|
|
383
|
+
const Ce = Rd("DeleteConfirmationModal");
|
|
384
384
|
return ue(), fe(jn, null, [
|
|
385
|
-
ui(
|
|
385
|
+
ui(Ce, {
|
|
386
386
|
isOpen: ne.open_delete_modal,
|
|
387
387
|
onConfirmDelete: Z.deleteAction,
|
|
388
388
|
onCancelDelete: Z.closeDeleteModal
|
|
@@ -513,24 +513,24 @@ const yce = /* @__PURE__ */ zr(Qq, [["render", DK]]), OK = {
|
|
|
513
513
|
}, RK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, $K = ["name", "value", "id", "checked"], MK = ["for"];
|
|
514
514
|
function PK(A, re, G, _e, ne, Z) {
|
|
515
515
|
return ue(), fe("ul", RK, [
|
|
516
|
-
(ue(!0), fe(jn, null, Ks(ne.locals, (
|
|
516
|
+
(ue(!0), fe(jn, null, Ks(ne.locals, (Ce, ee) => (ue(), fe("li", null, [
|
|
517
517
|
R("input", {
|
|
518
518
|
type: "radio",
|
|
519
519
|
name: G.trans_selector_name,
|
|
520
|
-
value:
|
|
520
|
+
value: Ce,
|
|
521
521
|
class: "hidden peer",
|
|
522
|
-
id:
|
|
522
|
+
id: Ce + "_" + G.field_name,
|
|
523
523
|
autocomplete: "off",
|
|
524
|
-
checked:
|
|
524
|
+
checked: Ce === ne.default_language
|
|
525
525
|
}, null, 8, $K),
|
|
526
526
|
R("label", {
|
|
527
|
-
for:
|
|
527
|
+
for: Ce + "_" + G.field_name,
|
|
528
528
|
class: Zt([{
|
|
529
529
|
"border md:!rounded-s-lg": ee === 0,
|
|
530
530
|
"border md:!rounded-e-lg": ee === ne.locals.length - 1,
|
|
531
531
|
"border-t border-b": ee !== 0 && ee !== ne.locals.length - 1
|
|
532
532
|
}, "block w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
|
|
533
|
-
}, mt(
|
|
533
|
+
}, mt(Ce), 11, MK)
|
|
534
534
|
]))), 256))
|
|
535
535
|
]);
|
|
536
536
|
}
|
|
@@ -664,7 +664,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
664
664
|
},
|
|
665
665
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
666
666
|
setup(A, { emit: re }) {
|
|
667
|
-
const G = A, _e = re, ne = co(null), Z = co([]),
|
|
667
|
+
const G = A, _e = re, ne = co(null), Z = co([]), Ce = co([]), ee = co([]), $e = co(0), at = co(!1), yt = co(""), hn = co(""), Et = co(null), io = co(0), lo = co(0), eo = () => {
|
|
668
668
|
if (Et.value) {
|
|
669
669
|
io.value = Et.value.offsetWidth;
|
|
670
670
|
var Ht = Et.value.getBoundingClientRect();
|
|
@@ -675,12 +675,12 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
675
675
|
};
|
|
676
676
|
Dg(() => {
|
|
677
677
|
hn.value = he(), G.show || (window.addEventListener("scroll", eo), document.body.addEventListener("click", In), document.addEventListener("keypress", Ot));
|
|
678
|
-
}),
|
|
678
|
+
}), Z7(() => {
|
|
679
679
|
window.removeEventListener("scroll", eo), document.body.removeEventListener("click", In), document.removeEventListener("keypress", Ot);
|
|
680
680
|
});
|
|
681
681
|
const Ls = pu(() => {
|
|
682
682
|
const Ht = [], _t = new RegExp(yt.value, "ig");
|
|
683
|
-
for (const Pe of
|
|
683
|
+
for (const Pe of Ce.value) {
|
|
684
684
|
const no = String(Pe.name);
|
|
685
685
|
(yt.value.length < 1 || no.match(_t)) && Ht.length < G.maxItem && Ht.push(Pe);
|
|
686
686
|
}
|
|
@@ -747,21 +747,21 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
747
747
|
}
|
|
748
748
|
function Nt() {
|
|
749
749
|
if (kt(Z.value))
|
|
750
|
-
return ia(Z.value) ?
|
|
750
|
+
return ia(Z.value) ? Ce.value.filter(
|
|
751
751
|
(Ht) => Z.value.some(
|
|
752
752
|
(_t) => String(_t.id) === String(Ht.id)
|
|
753
753
|
)
|
|
754
|
-
) || [] :
|
|
754
|
+
) || [] : Ce.value.filter(
|
|
755
755
|
(Ht) => Z.value.some(
|
|
756
756
|
(_t) => String(_t) === String(Ht.id)
|
|
757
757
|
)
|
|
758
758
|
) || [];
|
|
759
759
|
if (G.modelValue)
|
|
760
|
-
return ia(G.modelValue) ?
|
|
760
|
+
return ia(G.modelValue) ? Ce.value.filter(
|
|
761
761
|
(Ht) => G.modelValue.some(
|
|
762
762
|
(_t) => String(_t.id) === String(Ht.id)
|
|
763
763
|
)
|
|
764
|
-
) || [] :
|
|
764
|
+
) || [] : Ce.value.filter(
|
|
765
765
|
(Ht) => G.modelValue.some(
|
|
766
766
|
(_t) => String(_t) === String(Ht.id)
|
|
767
767
|
)
|
|
@@ -802,7 +802,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
802
802
|
), Ag(
|
|
803
803
|
() => G.options,
|
|
804
804
|
() => {
|
|
805
|
-
|
|
805
|
+
Ce.value = Cn(), Z.value = Nt();
|
|
806
806
|
},
|
|
807
807
|
{ immediate: !0, deep: !0 }
|
|
808
808
|
), (Ht, _t) => (ue(), fe(jn, null, [
|
|
@@ -972,11 +972,11 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
972
972
|
},
|
|
973
973
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
974
974
|
setup(A, { expose: re, emit: G }) {
|
|
975
|
-
const _e = A, ne = G, Z = co(null),
|
|
976
|
-
|
|
975
|
+
const _e = A, ne = G, Z = co(null), Ce = co(null), ee = () => {
|
|
976
|
+
Ce.value && ne("update:modelValueTranslate", Ce.value.value);
|
|
977
977
|
};
|
|
978
978
|
return Dg(() => {
|
|
979
|
-
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate),
|
|
979
|
+
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate), Ce.value.value = _e.modelValueTranslate);
|
|
980
980
|
}), re({ focus: () => Z.value.focus() }), ($e, at) => (ue(), fe(jn, null, [
|
|
981
981
|
A.show ? (ue(), fe("div", {
|
|
982
982
|
key: 0,
|
|
@@ -989,7 +989,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
989
989
|
name: A.field_name + "_i18n",
|
|
990
990
|
id: A.field_name + "_i18n",
|
|
991
991
|
ref_key: "input_translate",
|
|
992
|
-
ref:
|
|
992
|
+
ref: Ce,
|
|
993
993
|
"onUpdate:modelValue": at[0] || (at[0] = (yt) => $e.inputTranslateValue = yt)
|
|
994
994
|
}, null, 8, nY), [
|
|
995
995
|
[_m, $e.inputTranslateValue]
|
|
@@ -1021,7 +1021,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1021
1021
|
id: A.field_name + "_i18n",
|
|
1022
1022
|
onChange: ee,
|
|
1023
1023
|
ref_key: "input_translate",
|
|
1024
|
-
ref:
|
|
1024
|
+
ref: Ce
|
|
1025
1025
|
}, null, 40, lY),
|
|
1026
1026
|
R("textarea", {
|
|
1027
1027
|
required: A.is_required,
|
|
@@ -1102,22 +1102,22 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1102
1102
|
},
|
|
1103
1103
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1104
1104
|
setup(A, { expose: re, emit: G }) {
|
|
1105
|
-
const _e = A, ne = G, Z = co(null),
|
|
1106
|
-
|
|
1105
|
+
const _e = A, ne = G, Z = co(null), Ce = co(null), ee = () => {
|
|
1106
|
+
Ce.value && ne("update:modelValueTranslate", Ce.value.value);
|
|
1107
1107
|
};
|
|
1108
1108
|
return Dg(() => {
|
|
1109
1109
|
tinymce.init({
|
|
1110
1110
|
selector: "#" + _e.field_name,
|
|
1111
1111
|
width: "100%",
|
|
1112
1112
|
height: 300
|
|
1113
|
-
}), Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate),
|
|
1113
|
+
}), Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate), Ce.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
|
|
1114
1114
|
params: {
|
|
1115
1115
|
model: _e.translatable.model,
|
|
1116
1116
|
row_id: _e.translatable.row_id,
|
|
1117
1117
|
field: _e.translatable.field
|
|
1118
1118
|
}
|
|
1119
1119
|
}).then(($e) => {
|
|
1120
|
-
|
|
1120
|
+
Ce.value.value = JSON.stringify($e.data), ne("update:modelValueTranslate", JSON.stringify($e.data));
|
|
1121
1121
|
}).catch(($e) => {
|
|
1122
1122
|
console.log($e);
|
|
1123
1123
|
});
|
|
@@ -1133,7 +1133,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1133
1133
|
name: A.field_name + "_i18n",
|
|
1134
1134
|
id: A.field_name + "_i18n",
|
|
1135
1135
|
ref_key: "input_translate",
|
|
1136
|
-
ref:
|
|
1136
|
+
ref: Ce,
|
|
1137
1137
|
"onUpdate:modelValue": at[0] || (at[0] = (yt) => $e.inputTranslateValue = yt)
|
|
1138
1138
|
}, null, 8, mY), [
|
|
1139
1139
|
[_m, $e.inputTranslateValue]
|
|
@@ -1165,7 +1165,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1165
1165
|
id: A.field_name + "_i18n",
|
|
1166
1166
|
onChange: ee,
|
|
1167
1167
|
ref_key: "input_translate",
|
|
1168
|
-
ref:
|
|
1168
|
+
ref: Ce
|
|
1169
1169
|
}, null, 40, bY),
|
|
1170
1170
|
R("textarea", {
|
|
1171
1171
|
name: A.field_name,
|
|
@@ -1237,11 +1237,11 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1237
1237
|
},
|
|
1238
1238
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1239
1239
|
setup(A, { expose: re, emit: G }) {
|
|
1240
|
-
const _e = A, ne = G, Z = co(null),
|
|
1241
|
-
|
|
1240
|
+
const _e = A, ne = G, Z = co(null), Ce = co(null), ee = () => {
|
|
1241
|
+
Ce.value && ne("update:modelValueTranslate", Ce.value.value);
|
|
1242
1242
|
};
|
|
1243
1243
|
return Dg(() => {
|
|
1244
|
-
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate),
|
|
1244
|
+
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate), Ce.value.value = _e.modelValueTranslate);
|
|
1245
1245
|
}), re({ focus: () => Z.value.focus() }), ($e, at) => (ue(), fe(jn, null, [
|
|
1246
1246
|
A.show ? (ue(), fe("div", {
|
|
1247
1247
|
key: 0,
|
|
@@ -1254,7 +1254,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1254
1254
|
name: A.field_name + "_i18n",
|
|
1255
1255
|
id: A.field_name + "_i18n",
|
|
1256
1256
|
ref_key: "input_translate",
|
|
1257
|
-
ref:
|
|
1257
|
+
ref: Ce,
|
|
1258
1258
|
"onUpdate:modelValue": at[0] || (at[0] = (yt) => $e.inputTranslateValue = yt)
|
|
1259
1259
|
}, null, 8, CY), [
|
|
1260
1260
|
[_m, $e.inputTranslateValue]
|
|
@@ -1286,7 +1286,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1286
1286
|
id: A.field_name + "_i18n",
|
|
1287
1287
|
onChange: ee,
|
|
1288
1288
|
ref_key: "input_translate",
|
|
1289
|
-
ref:
|
|
1289
|
+
ref: Ce
|
|
1290
1290
|
}, null, 40, EY),
|
|
1291
1291
|
R("input", {
|
|
1292
1292
|
required: A.is_required,
|
|
@@ -1353,7 +1353,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1353
1353
|
Dg(() => {
|
|
1354
1354
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
1355
1355
|
});
|
|
1356
|
-
const
|
|
1356
|
+
const Ce = pu({
|
|
1357
1357
|
get() {
|
|
1358
1358
|
return _e.modelValue;
|
|
1359
1359
|
},
|
|
@@ -1392,13 +1392,13 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1392
1392
|
"gl-input-form-invalid": A.error_message !== ""
|
|
1393
1393
|
}),
|
|
1394
1394
|
type: A.type,
|
|
1395
|
-
"onUpdate:modelValue": $e[0] || ($e[0] = (at) =>
|
|
1395
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (at) => Ce.value = at),
|
|
1396
1396
|
onKeydown: $e[1] || ($e[1] = (at) => ee.$emit("keydown", at)),
|
|
1397
1397
|
ref_key: "input",
|
|
1398
1398
|
ref: Z,
|
|
1399
1399
|
placeholder: A.placeholder
|
|
1400
1400
|
}, null, 42, BY), [
|
|
1401
|
-
[nq,
|
|
1401
|
+
[nq, Ce.value]
|
|
1402
1402
|
]),
|
|
1403
1403
|
R("span", NY, mt(A.error_message), 1),
|
|
1404
1404
|
R("small", IY, mt(A.description), 1)
|
|
@@ -1459,7 +1459,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1459
1459
|
Dg(() => {
|
|
1460
1460
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
1461
1461
|
});
|
|
1462
|
-
const
|
|
1462
|
+
const Ce = pu({
|
|
1463
1463
|
get() {
|
|
1464
1464
|
return _e.modelValue;
|
|
1465
1465
|
},
|
|
@@ -1500,13 +1500,13 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1500
1500
|
"gl-input-form-invalid-text": A.error_message !== ""
|
|
1501
1501
|
}, "!border-e-0 !rounded-s-lg"]),
|
|
1502
1502
|
type: A.type,
|
|
1503
|
-
"onUpdate:modelValue": $e[0] || ($e[0] = (at) =>
|
|
1503
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (at) => Ce.value = at),
|
|
1504
1504
|
onKeydown: $e[1] || ($e[1] = (at) => ee.$emit("keydown", at)),
|
|
1505
1505
|
ref_key: "input",
|
|
1506
1506
|
ref: Z,
|
|
1507
1507
|
placeholder: A.placeholder
|
|
1508
1508
|
}, null, 42, ZY), [
|
|
1509
|
-
[nq,
|
|
1509
|
+
[nq, Ce.value]
|
|
1510
1510
|
])
|
|
1511
1511
|
]),
|
|
1512
1512
|
R("label", jY, mt(A.input_text), 1)
|
|
@@ -1559,7 +1559,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1559
1559
|
end: G.modelValue.end
|
|
1560
1560
|
});
|
|
1561
1561
|
co(""), co("");
|
|
1562
|
-
const
|
|
1562
|
+
const Ce = pu({
|
|
1563
1563
|
get() {
|
|
1564
1564
|
return G.modelValue.start;
|
|
1565
1565
|
},
|
|
@@ -1607,10 +1607,10 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1607
1607
|
"gl-input-form-invalid": A.error_message !== "" || ne.value !== ""
|
|
1608
1608
|
}),
|
|
1609
1609
|
type: "date",
|
|
1610
|
-
"onUpdate:modelValue": yt[0] || (yt[0] = (hn) =>
|
|
1610
|
+
"onUpdate:modelValue": yt[0] || (yt[0] = (hn) => Ce.value = hn),
|
|
1611
1611
|
placeholder: A.placeholder
|
|
1612
1612
|
}, null, 10, eX), [
|
|
1613
|
-
[_m,
|
|
1613
|
+
[_m, Ce.value]
|
|
1614
1614
|
]),
|
|
1615
1615
|
tX,
|
|
1616
1616
|
Tr(R("input", {
|
|
@@ -1682,10 +1682,10 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1682
1682
|
emits: ["update:modelValue", "keydown"],
|
|
1683
1683
|
setup(A, { emit: re }) {
|
|
1684
1684
|
const G = re, _e = co(null), ne = (Z) => {
|
|
1685
|
-
const
|
|
1686
|
-
console.log(
|
|
1685
|
+
const Ce = Z.target.files[0];
|
|
1686
|
+
console.log(Ce), G("keydown", Z), Ce && G("update:modelValue", Ce);
|
|
1687
1687
|
};
|
|
1688
|
-
return (Z,
|
|
1688
|
+
return (Z, Ce) => (ue(), fe(jn, null, [
|
|
1689
1689
|
A.show ? (ue(), fe("div", {
|
|
1690
1690
|
key: 0,
|
|
1691
1691
|
class: Zt(A.field_name)
|
|
@@ -1732,17 +1732,17 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1732
1732
|
setup(A, { emit: re }) {
|
|
1733
1733
|
const G = re, _e = Bq(), ne = co(_e.default().map(($e) => $e.props)), Z = co("");
|
|
1734
1734
|
oq("selectedTitle", Z);
|
|
1735
|
-
const
|
|
1735
|
+
const Ce = ($e) => {
|
|
1736
1736
|
window.location.hash = encodeURIComponent($e), G("TabChange", $e);
|
|
1737
1737
|
}, ee = () => {
|
|
1738
1738
|
const $e = decodeURIComponent(window.location.hash.replace("#", "")), at = ne.value.find((yt) => yt.title === $e);
|
|
1739
1739
|
at && (Z.value = at.title);
|
|
1740
1740
|
};
|
|
1741
1741
|
return Ag(Z, ($e) => {
|
|
1742
|
-
|
|
1742
|
+
Ce($e);
|
|
1743
1743
|
}), Dg(() => {
|
|
1744
1744
|
ee(), window.addEventListener("hashchange", ee);
|
|
1745
|
-
}),
|
|
1745
|
+
}), Z7(() => {
|
|
1746
1746
|
window.removeEventListener("hashchange", ee);
|
|
1747
1747
|
}), ($e, at) => (ue(), fe(jn, null, [
|
|
1748
1748
|
R("div", fX, [
|
|
@@ -1854,10 +1854,10 @@ const Oce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
1854
1854
|
const Z = (ee) => {
|
|
1855
1855
|
const $e = ee.clientX || ee.touches && ee.touches[0] && ee.touches[0].clientX, at = ee.clientY || ee.touches && ee.touches[0] && ee.touches[0].clientY, yt = $e - A.initialX, hn = at - A.initialY;
|
|
1856
1856
|
Math.abs(yt) > Math.abs(hn) ? (ee.preventDefault(), Math.abs(yt) >= 70 && (yt < 0 ? A.next() : A.prev(), A.initialX = $e)) : re.style.cursor = "grab", Math.abs(hn) > Math.abs(yt) && (re.style.cursor = "grab");
|
|
1857
|
-
},
|
|
1858
|
-
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup",
|
|
1857
|
+
}, Ce = () => {
|
|
1858
|
+
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup", Ce), document.removeEventListener("touchend", Ce), re.style.cursor = "grab";
|
|
1859
1859
|
};
|
|
1860
|
-
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup",
|
|
1860
|
+
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup", Ce), document.addEventListener("touchend", Ce), A.initialX = ne.clientX || ne.touches && ne.touches[0] && ne.touches[0].clientX, A.initialY = ne.clientY || ne.touches && ne.touches[0] && ne.touches[0].clientY;
|
|
1861
1861
|
}, _e = (ne) => {
|
|
1862
1862
|
ne.key === "ArrowLeft" ? A.prev() : ne.key === "ArrowRight" && A.next();
|
|
1863
1863
|
};
|
|
@@ -1870,18 +1870,18 @@ const Oce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
1870
1870
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
1871
1871
|
},
|
|
1872
1872
|
initSlider() {
|
|
1873
|
-
let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter((ee) => ee.parentNode === G), Z = A.clientWidth,
|
|
1874
|
-
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1,
|
|
1873
|
+
let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter((ee) => ee.parentNode === G), Z = A.clientWidth, Ce = Z / this.elementsToShow;
|
|
1874
|
+
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, Ce = this.hide_arrow ? re.clientWidth : Z) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, Ce = this.hide_arrow ? re.clientWidth : Z), ne.length > 1) {
|
|
1875
1875
|
this.dotsNum = this.elementsToShow == 1 ? ne.length : ne.length - this.elementsToShow + 1;
|
|
1876
|
-
let ee = this.elementsToShow == 1 ?
|
|
1876
|
+
let ee = this.elementsToShow == 1 ? Ce * ne.length / this.dotsNum : Ce * (ne.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
1877
1877
|
this.dotsNavigation = [];
|
|
1878
1878
|
for (let $e = 0; $e < this.dotsNum; $e++)
|
|
1879
1879
|
this.dotsNavigation.push(ee * $e);
|
|
1880
1880
|
}
|
|
1881
|
-
G.style.width = ne.length *
|
|
1881
|
+
G.style.width = ne.length * Ce + "px", G.style.transition = "margin", G.style.transitionDuration = "1s";
|
|
1882
1882
|
for (let ee = 0; ee < ne.length; ee++) {
|
|
1883
1883
|
const $e = ne[ee];
|
|
1884
|
-
$e.style.width =
|
|
1884
|
+
$e.style.width = Ce + "px";
|
|
1885
1885
|
}
|
|
1886
1886
|
},
|
|
1887
1887
|
setDot(A) {
|
|
@@ -2084,7 +2084,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2084
2084
|
R("div", TX, [
|
|
2085
2085
|
R("button", {
|
|
2086
2086
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2087
|
-
onClick: re[0] || (re[0] = (
|
|
2087
|
+
onClick: re[0] || (re[0] = (Ce) => Z.prev())
|
|
2088
2088
|
}, [
|
|
2089
2089
|
G.direction_property == "ltr" ? (ue(), fe("svg", EX, DX)) : Ye("", !0),
|
|
2090
2090
|
G.direction_property == "rtl" ? (ue(), fe("svg", OX, $X)) : Ye("", !0)
|
|
@@ -2106,7 +2106,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2106
2106
|
R("div", BX, [
|
|
2107
2107
|
R("button", {
|
|
2108
2108
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2109
|
-
onClick: re[1] || (re[1] = za((
|
|
2109
|
+
onClick: re[1] || (re[1] = za((Ce) => Z.prev(), ["stop"]))
|
|
2110
2110
|
}, [
|
|
2111
2111
|
G.direction_property == "ltr" ? (ue(), fe("svg", NX, LX)) : Ye("", !0),
|
|
2112
2112
|
G.direction_property == "rtl" ? (ue(), fe("svg", FX, VX)) : Ye("", !0)
|
|
@@ -2121,7 +2121,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2121
2121
|
R("div", zX, [
|
|
2122
2122
|
R("button", {
|
|
2123
2123
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2124
|
-
onClick: re[2] || (re[2] = za((
|
|
2124
|
+
onClick: re[2] || (re[2] = za((Ce) => Z.next(), ["stop"]))
|
|
2125
2125
|
}, [
|
|
2126
2126
|
G.direction_property == "ltr" ? (ue(), fe("svg", UX, ZX)) : Ye("", !0),
|
|
2127
2127
|
G.direction_property == "rtl" ? (ue(), fe("svg", jX, qX)) : Ye("", !0)
|
|
@@ -2133,22 +2133,22 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2133
2133
|
key: 0,
|
|
2134
2134
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2135
2135
|
}, [
|
|
2136
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2136
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (Ce) => (ue(), fe("button", {
|
|
2137
2137
|
role: "button",
|
|
2138
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2139
|
-
key:
|
|
2140
|
-
onClick: (ee) => Z.setDot(
|
|
2138
|
+
class: Zt(["gl-dot", { active: A.currentDot == Ce }]),
|
|
2139
|
+
key: Ce,
|
|
2140
|
+
onClick: (ee) => Z.setDot(Ce)
|
|
2141
2141
|
}, XX, 10, KX))), 128))
|
|
2142
2142
|
], 2)) : Ye("", !0),
|
|
2143
2143
|
G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), fe("div", JX, [
|
|
2144
2144
|
R("div", {
|
|
2145
2145
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2146
2146
|
}, [
|
|
2147
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2147
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (Ce) => (ue(), fe("button", {
|
|
2148
2148
|
role: "button",
|
|
2149
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2150
|
-
key:
|
|
2151
|
-
onClick: (ee) => Z.setDot(
|
|
2149
|
+
class: Zt(["gl-dot", { active: A.currentDot == Ce }]),
|
|
2150
|
+
key: Ce,
|
|
2151
|
+
onClick: (ee) => Z.setDot(Ce)
|
|
2152
2152
|
}, tJ, 10, QX))), 128))
|
|
2153
2153
|
], 2),
|
|
2154
2154
|
A.dotsNum > 0 ? (ue(), fe("div", nJ, [
|
|
@@ -2156,7 +2156,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2156
2156
|
R("div", sJ, [
|
|
2157
2157
|
R("button", {
|
|
2158
2158
|
class: Zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2159
|
-
onClick: re[3] || (re[3] = (
|
|
2159
|
+
onClick: re[3] || (re[3] = (Ce) => Z.prev())
|
|
2160
2160
|
}, [
|
|
2161
2161
|
G.direction_property == "ltr" ? (ue(), fe("svg", rJ, lJ)) : Ye("", !0),
|
|
2162
2162
|
G.direction_property == "rtl" ? (ue(), fe("svg", cJ, uJ)) : Ye("", !0)
|
|
@@ -2167,7 +2167,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2167
2167
|
R("div", mJ, [
|
|
2168
2168
|
R("button", {
|
|
2169
2169
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2170
|
-
onClick: re[4] || (re[4] = (
|
|
2170
|
+
onClick: re[4] || (re[4] = (Ce) => Z.next())
|
|
2171
2171
|
}, [
|
|
2172
2172
|
G.direction_property == "ltr" ? (ue(), fe("svg", fJ, hJ)) : Ye("", !0),
|
|
2173
2173
|
G.direction_property == "rtl" ? (ue(), fe("svg", pJ, vJ)) : Ye("", !0)
|
|
@@ -2181,7 +2181,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2181
2181
|
R("div", wJ, [
|
|
2182
2182
|
R("button", {
|
|
2183
2183
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2184
|
-
onClick: re[5] || (re[5] = (
|
|
2184
|
+
onClick: re[5] || (re[5] = (Ce) => Z.next())
|
|
2185
2185
|
}, [
|
|
2186
2186
|
G.direction_property == "ltr" ? (ue(), fe("svg", xJ, _J)) : Ye("", !0),
|
|
2187
2187
|
G.direction_property == "rtl" ? (ue(), fe("svg", SJ, TJ)) : Ye("", !0)
|
|
@@ -2256,10 +2256,10 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2256
2256
|
const Z = (ee) => {
|
|
2257
2257
|
const $e = ee.clientX || ee.touches && ee.touches[0] && ee.touches[0].clientX, at = ee.clientY || ee.touches && ee.touches[0] && ee.touches[0].clientY, yt = $e - A.initialX, hn = at - A.initialY;
|
|
2258
2258
|
Math.abs(yt) > Math.abs(hn) ? (ee.preventDefault(), Math.abs(yt) >= 70 && (yt < 0 ? A.next() : A.prev(), A.initialX = $e)) : re.style.cursor = "grab", Math.abs(hn) > Math.abs(yt) && (re.style.cursor = "grab");
|
|
2259
|
-
},
|
|
2260
|
-
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup",
|
|
2259
|
+
}, Ce = () => {
|
|
2260
|
+
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup", Ce), document.removeEventListener("touchend", Ce), re.style.cursor = "grab";
|
|
2261
2261
|
};
|
|
2262
|
-
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup",
|
|
2262
|
+
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup", Ce), document.addEventListener("touchend", Ce), A.initialX = ne.clientX || ne.touches && ne.touches[0] && ne.touches[0].clientX, A.initialY = ne.clientY || ne.touches && ne.touches[0] && ne.touches[0].clientY;
|
|
2263
2263
|
}, _e = (ne) => {
|
|
2264
2264
|
ne.key === "ArrowLeft" ? A.prev() : ne.key === "ArrowRight" && A.next();
|
|
2265
2265
|
};
|
|
@@ -2272,12 +2272,12 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2272
2272
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
2273
2273
|
},
|
|
2274
2274
|
initSlider() {
|
|
2275
|
-
let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter(($e) => $e.parentNode === G),
|
|
2276
|
-
console.log("cardwidth",
|
|
2275
|
+
let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter(($e) => $e.parentNode === G), Ce = ne[0].clientWidth;
|
|
2276
|
+
console.log("cardwidth", Ce);
|
|
2277
2277
|
let ee = A.clientWidth;
|
|
2278
|
-
if (this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth : ee /
|
|
2279
|
-
this.dotsNum =
|
|
2280
|
-
let $e = this.elementsToShow
|
|
2278
|
+
if (this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth : ee / Ce), console.log("elementsToShow", this.elementsToShow), this.elementsToShow = this.elementsToShow > 1 ? this.elementsToShow - 1 : this.elementsToShow, console.log("elementsToShow new", this.elementsToShow), ne.length > 1) {
|
|
2279
|
+
this.dotsNum = ne.length / this.elementsToShow, console.log("dotsNum", this.dotsNum);
|
|
2280
|
+
let $e = this.elementsToShow * Ce;
|
|
2281
2281
|
console.log("navigation_no_between_slides", $e), this.dotsNavigation = [];
|
|
2282
2282
|
for (let at = 0; at < this.dotsNum; at++)
|
|
2283
2283
|
this.dotsNavigation.push($e * at);
|
|
@@ -2292,7 +2292,7 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2292
2292
|
this.direction_property == "rtl" ? re.style.marginRight = -this.dotsNavigation[A - 1] + "px" : re.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
|
|
2293
2293
|
}
|
|
2294
2294
|
}
|
|
2295
|
-
}, km = (A) => (rq("data-v-
|
|
2295
|
+
}, km = (A) => (rq("data-v-08865524"), A = A(), aq(), A), DJ = ["id"], OJ = {
|
|
2296
2296
|
key: 0,
|
|
2297
2297
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2298
2298
|
}, RJ = { class: "w-full" }, $J = {
|
|
@@ -2487,7 +2487,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2487
2487
|
R("div", RJ, [
|
|
2488
2488
|
R("button", {
|
|
2489
2489
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2490
|
-
onClick: re[0] || (re[0] = (
|
|
2490
|
+
onClick: re[0] || (re[0] = (Ce) => Z.prev())
|
|
2491
2491
|
}, [
|
|
2492
2492
|
G.direction_property == "ltr" ? (ue(), fe("svg", $J, PJ)) : Ye("", !0),
|
|
2493
2493
|
G.direction_property == "rtl" ? (ue(), fe("svg", BJ, IJ)) : Ye("", !0)
|
|
@@ -2509,7 +2509,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2509
2509
|
R("div", HJ, [
|
|
2510
2510
|
R("button", {
|
|
2511
2511
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2512
|
-
onClick: re[1] || (re[1] = za((
|
|
2512
|
+
onClick: re[1] || (re[1] = za((Ce) => Z.prev(), ["stop"]))
|
|
2513
2513
|
}, [
|
|
2514
2514
|
G.direction_property == "ltr" ? (ue(), fe("svg", VJ, UJ)) : Ye("", !0),
|
|
2515
2515
|
G.direction_property == "rtl" ? (ue(), fe("svg", WJ, jJ)) : Ye("", !0)
|
|
@@ -2524,7 +2524,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2524
2524
|
R("div", GJ, [
|
|
2525
2525
|
R("button", {
|
|
2526
2526
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2527
|
-
onClick: re[2] || (re[2] = za((
|
|
2527
|
+
onClick: re[2] || (re[2] = za((Ce) => Z.next(), ["stop"]))
|
|
2528
2528
|
}, [
|
|
2529
2529
|
G.direction_property == "ltr" ? (ue(), fe("svg", qJ, YJ)) : Ye("", !0),
|
|
2530
2530
|
G.direction_property == "rtl" ? (ue(), fe("svg", XJ, QJ)) : Ye("", !0)
|
|
@@ -2536,22 +2536,22 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2536
2536
|
key: 0,
|
|
2537
2537
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2538
2538
|
}, [
|
|
2539
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2539
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (Ce) => (ue(), fe("button", {
|
|
2540
2540
|
role: "button",
|
|
2541
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2542
|
-
key:
|
|
2543
|
-
onClick: (ee) => Z.setDot(
|
|
2541
|
+
class: Zt(["gl-dot", { active: A.currentDot == Ce }]),
|
|
2542
|
+
key: Ce,
|
|
2543
|
+
onClick: (ee) => Z.setDot(Ce)
|
|
2544
2544
|
}, nQ, 10, eQ))), 128))
|
|
2545
2545
|
], 2)) : Ye("", !0),
|
|
2546
2546
|
G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), fe("div", oQ, [
|
|
2547
2547
|
R("div", {
|
|
2548
2548
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2549
2549
|
}, [
|
|
2550
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2550
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (Ce) => (ue(), fe("button", {
|
|
2551
2551
|
role: "button",
|
|
2552
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2553
|
-
key:
|
|
2554
|
-
onClick: (ee) => Z.setDot(
|
|
2552
|
+
class: Zt(["gl-dot", { active: A.currentDot == Ce }]),
|
|
2553
|
+
key: Ce,
|
|
2554
|
+
onClick: (ee) => Z.setDot(Ce)
|
|
2555
2555
|
}, aQ, 10, sQ))), 128))
|
|
2556
2556
|
], 2),
|
|
2557
2557
|
A.dotsNum > 0 ? (ue(), fe("div", lQ, [
|
|
@@ -2559,7 +2559,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2559
2559
|
R("div", iQ, [
|
|
2560
2560
|
R("button", {
|
|
2561
2561
|
class: Zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2562
|
-
onClick: re[3] || (re[3] = (
|
|
2562
|
+
onClick: re[3] || (re[3] = (Ce) => Z.prev())
|
|
2563
2563
|
}, [
|
|
2564
2564
|
G.direction_property == "ltr" ? (ue(), fe("svg", uQ, mQ)) : Ye("", !0),
|
|
2565
2565
|
G.direction_property == "rtl" ? (ue(), fe("svg", fQ, hQ)) : Ye("", !0)
|
|
@@ -2570,7 +2570,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2570
2570
|
R("div", bQ, [
|
|
2571
2571
|
R("button", {
|
|
2572
2572
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2573
|
-
onClick: re[4] || (re[4] = (
|
|
2573
|
+
onClick: re[4] || (re[4] = (Ce) => Z.next())
|
|
2574
2574
|
}, [
|
|
2575
2575
|
G.direction_property == "ltr" ? (ue(), fe("svg", vQ, wQ)) : Ye("", !0),
|
|
2576
2576
|
G.direction_property == "rtl" ? (ue(), fe("svg", xQ, _Q)) : Ye("", !0)
|
|
@@ -2584,7 +2584,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2584
2584
|
R("div", kQ, [
|
|
2585
2585
|
R("button", {
|
|
2586
2586
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2587
|
-
onClick: re[5] || (re[5] = (
|
|
2587
|
+
onClick: re[5] || (re[5] = (Ce) => Z.next())
|
|
2588
2588
|
}, [
|
|
2589
2589
|
G.direction_property == "ltr" ? (ue(), fe("svg", TQ, AQ)) : Ye("", !0),
|
|
2590
2590
|
G.direction_property == "rtl" ? (ue(), fe("svg", DQ, RQ)) : Ye("", !0)
|
|
@@ -2594,7 +2594,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2594
2594
|
], 10, DJ)
|
|
2595
2595
|
]);
|
|
2596
2596
|
}
|
|
2597
|
-
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-
|
|
2597
|
+
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-08865524"]]), MQ = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, PQ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, BQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, NQ = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2598
2598
|
/* @__PURE__ */ R("svg", {
|
|
2599
2599
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2600
2600
|
fill: "currentColor",
|
|
@@ -2650,7 +2650,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
2650
2650
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2651
2651
|
}, Z = () => {
|
|
2652
2652
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
2653
|
-
},
|
|
2653
|
+
}, Ce = () => {
|
|
2654
2654
|
_e("closeModal"), Z();
|
|
2655
2655
|
};
|
|
2656
2656
|
return Ag(
|
|
@@ -2674,7 +2674,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
2674
2674
|
R("button", {
|
|
2675
2675
|
type: "button",
|
|
2676
2676
|
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
2677
|
-
onClick:
|
|
2677
|
+
onClick: Ce,
|
|
2678
2678
|
"aria-label": "Close"
|
|
2679
2679
|
}, IQ)
|
|
2680
2680
|
]),
|
|
@@ -2689,7 +2689,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
2689
2689
|
Tr(R("div", VQ, [
|
|
2690
2690
|
ju(ee.$slots, "buttons"),
|
|
2691
2691
|
R("button", {
|
|
2692
|
-
onClick:
|
|
2692
|
+
onClick: Ce,
|
|
2693
2693
|
type: "button",
|
|
2694
2694
|
class: "px-5 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-200 rounded-lg ms-3 hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"
|
|
2695
2695
|
}, " Close ")
|
|
@@ -2756,7 +2756,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
2756
2756
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2757
2757
|
}, Z = () => {
|
|
2758
2758
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
2759
|
-
},
|
|
2759
|
+
}, Ce = () => {
|
|
2760
2760
|
_e("closeModal"), Z();
|
|
2761
2761
|
};
|
|
2762
2762
|
return Ag(
|
|
@@ -2779,7 +2779,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
2779
2779
|
R("button", {
|
|
2780
2780
|
type: "button",
|
|
2781
2781
|
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
2782
|
-
onClick:
|
|
2782
|
+
onClick: Ce,
|
|
2783
2783
|
"aria-label": "Close"
|
|
2784
2784
|
}, jQ)
|
|
2785
2785
|
]),
|
|
@@ -2794,7 +2794,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
2794
2794
|
Tr(R("div", YQ, [
|
|
2795
2795
|
ju(ee.$slots, "buttons"),
|
|
2796
2796
|
R("button", {
|
|
2797
|
-
onClick:
|
|
2797
|
+
onClick: Ce,
|
|
2798
2798
|
type: "button",
|
|
2799
2799
|
class: "px-5 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-200 rounded-lg ms-3 hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"
|
|
2800
2800
|
}, " Close ")
|
|
@@ -2860,11 +2860,11 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
2860
2860
|
get() {
|
|
2861
2861
|
return G.modelValue;
|
|
2862
2862
|
},
|
|
2863
|
-
set(
|
|
2864
|
-
_e("update:modelValue",
|
|
2863
|
+
set(Ce) {
|
|
2864
|
+
_e("update:modelValue", Ce);
|
|
2865
2865
|
}
|
|
2866
2866
|
});
|
|
2867
|
-
return (
|
|
2867
|
+
return (Ce, ee) => (ue(), fe(jn, null, [
|
|
2868
2868
|
A.show ? (ue(), fe("div", {
|
|
2869
2869
|
key: 0,
|
|
2870
2870
|
class: Zt(A.field_name)
|
|
@@ -2971,11 +2971,11 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
2971
2971
|
get() {
|
|
2972
2972
|
return G.modelValue;
|
|
2973
2973
|
},
|
|
2974
|
-
set(
|
|
2975
|
-
_e("update:modelValue",
|
|
2974
|
+
set(Ce) {
|
|
2975
|
+
_e("update:modelValue", Ce);
|
|
2976
2976
|
}
|
|
2977
2977
|
});
|
|
2978
|
-
return (
|
|
2978
|
+
return (Ce, ee) => (ue(), fe(jn, null, [
|
|
2979
2979
|
A.show ? (ue(), fe("div", {
|
|
2980
2980
|
key: 0,
|
|
2981
2981
|
class: Zt(A.field_name)
|
|
@@ -3144,7 +3144,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
3144
3144
|
setup(A, { emit: re }) {
|
|
3145
3145
|
const G = A, _e = re;
|
|
3146
3146
|
co(null);
|
|
3147
|
-
const ne = co({}), Z = co([]),
|
|
3147
|
+
const ne = co({}), Z = co([]), Ce = co(0), ee = co(!1), $e = co(""), at = co(""), yt = co(null), hn = co(0), Et = co(0), io = () => {
|
|
3148
3148
|
if (yt.value) {
|
|
3149
3149
|
hn.value = yt.value.offsetWidth;
|
|
3150
3150
|
var Xt = yt.value.getBoundingClientRect();
|
|
@@ -3155,7 +3155,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
3155
3155
|
};
|
|
3156
3156
|
Dg(() => {
|
|
3157
3157
|
at.value = Ls(), G.show || (window.addEventListener("scroll", io), document.body.addEventListener("click", he), document.addEventListener("keypress", lo));
|
|
3158
|
-
}),
|
|
3158
|
+
}), Z7(() => {
|
|
3159
3159
|
window.removeEventListener("scroll", io), document.body.removeEventListener("click", he), document.removeEventListener("keypress", lo);
|
|
3160
3160
|
});
|
|
3161
3161
|
const eo = pu(() => {
|
|
@@ -3193,7 +3193,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
3193
3193
|
return Xt !== null && typeof Xt == "object" && Object.keys(Xt).length > 0;
|
|
3194
3194
|
}
|
|
3195
3195
|
function he(Xt) {
|
|
3196
|
-
Xt.target.id != G.field_name + "search" + at.value && Xt.target.id != G.field_name && !Xt.target.classList.contains("showOptions") && (pe(),
|
|
3196
|
+
Xt.target.id != G.field_name + "search" + at.value && Xt.target.id != G.field_name && !Xt.target.classList.contains("showOptions") && (pe(), Ce.value = 0, ee.value = !1);
|
|
3197
3197
|
}
|
|
3198
3198
|
function kt(Xt) {
|
|
3199
3199
|
const Cn = `${Xt}${at.value}`, Nt = document.getElementById(Cn);
|
|
@@ -3204,7 +3204,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
3204
3204
|
Nt && Nt.click();
|
|
3205
3205
|
}
|
|
3206
3206
|
function oo(Xt) {
|
|
3207
|
-
Xt === "ArrowDown" &&
|
|
3207
|
+
Xt === "ArrowDown" && Ce.value < eo.value.length && (Ce.value++, kt(Ce.value)), Xt === "ArrowUp" && Ce.value > 1 && (Ce.value--, kt(Ce.value)), Xt === "Enter" && ia(Ce.value);
|
|
3208
3208
|
}
|
|
3209
3209
|
function ae() {
|
|
3210
3210
|
return G.options.map((Xt, Cn) => typeof Xt == "object" ? Xt : { id: Xt, name: Xt });
|
|
@@ -3355,7 +3355,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
3355
3355
|
return ue(), fe("div", {
|
|
3356
3356
|
class: Zt([
|
|
3357
3357
|
"relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
3358
|
-
Ht + 1 ==
|
|
3358
|
+
Ht + 1 == Ce.value ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
3359
3359
|
]),
|
|
3360
3360
|
onClick: (Pe) => ss(ot),
|
|
3361
3361
|
onMousedown: (Pe) => ss(ot),
|
|
@@ -3433,7 +3433,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
3433
3433
|
Dg(() => {
|
|
3434
3434
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
3435
3435
|
});
|
|
3436
|
-
const
|
|
3436
|
+
const Ce = pu({
|
|
3437
3437
|
get() {
|
|
3438
3438
|
return _e.modelValue;
|
|
3439
3439
|
},
|
|
@@ -3474,14 +3474,14 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3e
|
|
|
3474
3474
|
" gl-textarea-form-invalid mt-4 ": A.error_message !== ""
|
|
3475
3475
|
}),
|
|
3476
3476
|
type: A.type,
|
|
3477
|
-
"onUpdate:modelValue": $e[0] || ($e[0] = (at) =>
|
|
3477
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (at) => Ce.value = at),
|
|
3478
3478
|
onKeydown: $e[1] || ($e[1] = (at) => ee.$emit("keydown", at)),
|
|
3479
3479
|
ref_key: "input",
|
|
3480
3480
|
ref: Z,
|
|
3481
3481
|
rows: "4",
|
|
3482
3482
|
placeholder: A.placeholder
|
|
3483
3483
|
}, null, 42, Jee), [
|
|
3484
|
-
[_m,
|
|
3484
|
+
[_m, Ce.value]
|
|
3485
3485
|
]),
|
|
3486
3486
|
R("span", Qee, mt(A.error_message), 1),
|
|
3487
3487
|
R("small", ete, mt(A.description), 1)
|
|
@@ -3521,9 +3521,9 @@ var cq = { exports: {} };
|
|
|
3521
3521
|
});
|
|
3522
3522
|
}, Z = function(e) {
|
|
3523
3523
|
return { eq: e };
|
|
3524
|
-
},
|
|
3524
|
+
}, Ce = Z(function(e, n) {
|
|
3525
3525
|
return e === n;
|
|
3526
|
-
}), ee =
|
|
3526
|
+
}), ee = Ce, $e = function(e) {
|
|
3527
3527
|
return Z(function(n, o) {
|
|
3528
3528
|
if (n.length !== o.length)
|
|
3529
3529
|
return !1;
|
|
@@ -8567,7 +8567,7 @@ Required: ` + n.join(", "));
|
|
|
8567
8567
|
us.cancel(), f = b = P = null;
|
|
8568
8568
|
}
|
|
8569
8569
|
};
|
|
8570
|
-
},
|
|
8570
|
+
}, q7 = (e, n) => {
|
|
8571
8571
|
n.fold((o) => {
|
|
8572
8572
|
e.setStartBefore(o.dom);
|
|
8573
8573
|
}, (o, r) => {
|
|
@@ -8585,7 +8585,7 @@ Required: ` + n.join(", "));
|
|
|
8585
8585
|
});
|
|
8586
8586
|
}, __ = (e, n, o) => {
|
|
8587
8587
|
const r = e.document.createRange();
|
|
8588
|
-
return
|
|
8588
|
+
return q7(r, n), aT(r, o), r;
|
|
8589
8589
|
}, xn = (e, n, o, r, l) => {
|
|
8590
8590
|
const u = e.document.createRange();
|
|
8591
8591
|
return u.setStart(n.dom, o), u.setEnd(r.dom, l), u;
|
|
@@ -9007,12 +9007,12 @@ Required: ` + n.join(", "));
|
|
|
9007
9007
|
}, Yp = (e = lt()) => z.from(e.dom.activeElement).map(ie.fromDom), O_ = (e) => Yp(xi(e)).filter((n) => e.dom.contains(n.dom)), Mv = (e, n) => {
|
|
9008
9008
|
const o = ha(n) ? _i(n).length : $r(n).length + 1;
|
|
9009
9009
|
return e > o ? o : e < 0 ? 0 : e;
|
|
9010
|
-
}, R_ = (e) => lf.range(e.start, Mv(e.soffset, e.start), e.finish, Mv(e.foffset, e.finish)), Ch = (e, n) => !ku(n.dom) && (Na(e, n) || To(e, n)), CO = (e) => (n) => Ch(e, n.start) && Ch(e, n.finish),
|
|
9010
|
+
}, R_ = (e) => lf.range(e.start, Mv(e.soffset, e.start), e.finish, Mv(e.foffset, e.finish)), Ch = (e, n) => !ku(n.dom) && (Na(e, n) || To(e, n)), CO = (e) => (n) => Ch(e, n.start) && Ch(e, n.finish), K7 = (e) => e.inline || It.browser.isFirefox(), Y7 = (e) => lf.range(ie.fromDom(e.startContainer), e.startOffset, ie.fromDom(e.endContainer), e.endOffset), X7 = (e) => {
|
|
9011
9011
|
const n = e.getSelection();
|
|
9012
|
-
return (!n || n.rangeCount === 0 ? z.none() : z.from(n.getRangeAt(0))).map(
|
|
9013
|
-
},
|
|
9012
|
+
return (!n || n.rangeCount === 0 ? z.none() : z.from(n.getRangeAt(0))).map(Y7);
|
|
9013
|
+
}, J7 = (e) => {
|
|
9014
9014
|
const n = kc(e);
|
|
9015
|
-
return
|
|
9015
|
+
return X7(n.dom).filter(CO(e));
|
|
9016
9016
|
}, _O = (e, n) => z.from(n).filter(CO(e)).map(R_), SO = (e) => {
|
|
9017
9017
|
const n = document.createRange();
|
|
9018
9018
|
try {
|
|
@@ -9021,9 +9021,9 @@ Required: ` + n.join(", "));
|
|
|
9021
9021
|
return z.none();
|
|
9022
9022
|
}
|
|
9023
9023
|
}, Pv = (e) => {
|
|
9024
|
-
const n =
|
|
9024
|
+
const n = K7(e) ? J7(ie.fromDom(e.getBody())) : z.none();
|
|
9025
9025
|
e.bookmark = n.isSome() ? n : e.bookmark;
|
|
9026
|
-
}, vT = (e) => (e.bookmark ? e.bookmark : z.none()).bind((o) => _O(ie.fromDom(e.getBody()), o)).bind(SO),
|
|
9026
|
+
}, vT = (e) => (e.bookmark ? e.bookmark : z.none()).bind((o) => _O(ie.fromDom(e.getBody()), o)).bind(SO), Q7 = (e) => {
|
|
9027
9027
|
vT(e).each((n) => e.selection.setRng(n));
|
|
9028
9028
|
}, TO = { isEditorUIElement: (e) => {
|
|
9029
9029
|
const n = e.className.toString();
|
|
@@ -9038,27 +9038,27 @@ Required: ` + n.join(", "));
|
|
|
9038
9038
|
}, o);
|
|
9039
9039
|
return r;
|
|
9040
9040
|
}
|
|
9041
|
-
},
|
|
9041
|
+
}, eN = (e) => e.type === "nodechange" && e.selectionChange, tN = (e, n) => {
|
|
9042
9042
|
const o = () => {
|
|
9043
9043
|
n.throttle();
|
|
9044
9044
|
};
|
|
9045
9045
|
Is.DOM.bind(document, "mouseup", o), e.on("remove", () => {
|
|
9046
9046
|
Is.DOM.unbind(document, "mouseup", o);
|
|
9047
9047
|
});
|
|
9048
|
-
},
|
|
9048
|
+
}, nN = (e, n) => {
|
|
9049
9049
|
e.on("mouseup touchend", (o) => {
|
|
9050
9050
|
n.throttle();
|
|
9051
9051
|
});
|
|
9052
|
-
},
|
|
9053
|
-
|
|
9054
|
-
|
|
9052
|
+
}, oN = (e, n) => {
|
|
9053
|
+
nN(e, n), e.on("keyup NodeChange AfterSetSelectionRange", (o) => {
|
|
9054
|
+
eN(o) || Pv(e);
|
|
9055
9055
|
});
|
|
9056
9056
|
}, $_ = (e) => {
|
|
9057
9057
|
const n = z0(() => {
|
|
9058
9058
|
Pv(e);
|
|
9059
9059
|
}, 0);
|
|
9060
9060
|
e.on("init", () => {
|
|
9061
|
-
e.inline &&
|
|
9061
|
+
e.inline && tN(e, n), oN(e, n);
|
|
9062
9062
|
}), e.on("remove", () => {
|
|
9063
9063
|
n.cancel();
|
|
9064
9064
|
});
|
|
@@ -9077,7 +9077,7 @@ Required: ` + n.join(", "));
|
|
|
9077
9077
|
} catch {
|
|
9078
9078
|
return document.body;
|
|
9079
9079
|
}
|
|
9080
|
-
},
|
|
9080
|
+
}, sN = (e, n) => {
|
|
9081
9081
|
const o = n.editor;
|
|
9082
9082
|
$_(o);
|
|
9083
9083
|
const r = (l, u) => {
|
|
@@ -9101,12 +9101,12 @@ Required: ` + n.join(", "));
|
|
|
9101
9101
|
b.ownerDocument === document && b !== document.body && !B_(u, b) && e.focusedEditor === u && (u.dispatch("blur", { focusedEditor: null }), e.focusedEditor = null);
|
|
9102
9102
|
});
|
|
9103
9103
|
}, M_.bind(document, "focusin", $1));
|
|
9104
|
-
},
|
|
9104
|
+
}, rN = (e, n) => {
|
|
9105
9105
|
e.focusedEditor === n.editor && (e.focusedEditor = null), !e.activeEditor && $1 && (M_.unbind(document, "focusin", $1), $1 = null);
|
|
9106
|
-
},
|
|
9107
|
-
e.on("AddEditor", Pe(
|
|
9108
|
-
},
|
|
9109
|
-
|
|
9106
|
+
}, aN = (e) => {
|
|
9107
|
+
e.on("AddEditor", Pe(sN, e)), e.on("RemoveEditor", Pe(rN, e));
|
|
9108
|
+
}, lN = (e, n) => e.dom.getParent(n, (o) => e.dom.getContentEditable(o) === "true"), cN = (e) => e.collapsed ? z.from(oi(e.startContainer, e.startOffset)).map(ie.fromDom) : z.none(), iN = (e, n) => cN(n).bind((o) => Kc(o) ? z.some(o) : Na(e, o) ? z.none() : z.some(e)), OO = (e, n) => {
|
|
9109
|
+
iN(ie.fromDom(e.getBody()), n).bind((o) => hc(o.dom)).fold(() => {
|
|
9110
9110
|
e.selection.normalize();
|
|
9111
9111
|
}, (o) => e.selection.setRng(o.toRange()));
|
|
9112
9112
|
}, wT = (e) => {
|
|
@@ -9118,26 +9118,26 @@ Required: ` + n.join(", "));
|
|
|
9118
9118
|
}
|
|
9119
9119
|
else
|
|
9120
9120
|
e.focus();
|
|
9121
|
-
},
|
|
9121
|
+
}, uN = (e) => D_(e) || O_(e).isSome(), dN = (e) => Ze(e.iframeElement) && D_(ie.fromDom(e.iframeElement)), N_ = (e) => {
|
|
9122
9122
|
const n = e.getBody();
|
|
9123
|
-
return n &&
|
|
9123
|
+
return n && uN(ie.fromDom(n));
|
|
9124
9124
|
}, RO = (e) => {
|
|
9125
9125
|
const n = xi(ie.fromDom(e.getElement()));
|
|
9126
9126
|
return Yp(n).filter((o) => !P_(o.dom) && B_(e, o.dom)).isSome();
|
|
9127
|
-
}, Xp = (e) => e.inline ? N_(e) :
|
|
9127
|
+
}, Xp = (e) => e.inline ? N_(e) : dN(e), $O = (e) => Xp(e) || RO(e), mN = (e) => {
|
|
9128
9128
|
const n = e.selection, o = e.getBody();
|
|
9129
9129
|
let r = n.getRng();
|
|
9130
9130
|
e.quirks.refreshContentEditable(), Ze(e.bookmark) && !Xp(e) && vT(e).each((u) => {
|
|
9131
9131
|
e.selection.setRng(u), r = u;
|
|
9132
9132
|
});
|
|
9133
|
-
const l =
|
|
9133
|
+
const l = lN(e, n.getNode());
|
|
9134
9134
|
if (l && e.dom.isChildOf(l, o)) {
|
|
9135
9135
|
wT(l), OO(e, r), xT(e);
|
|
9136
9136
|
return;
|
|
9137
9137
|
}
|
|
9138
9138
|
e.inline || (It.browser.isOpera() || wT(o), e.getWin().focus()), (It.browser.isFirefox() || e.inline) && (wT(o), OO(e, r)), xT(e);
|
|
9139
|
-
}, xT = (e) => e.editorManager.setActive(e),
|
|
9140
|
-
e.removed || (n ? xT(e) :
|
|
9139
|
+
}, xT = (e) => e.editorManager.setActive(e), fN = (e, n) => {
|
|
9140
|
+
e.removed || (n ? xT(e) : mN(e));
|
|
9141
9141
|
}, MO = (e, n) => n.collapsed ? e.isEditable(n.startContainer) : e.isEditable(n.startContainer) && e.isEditable(n.endContainer), PO = (e, n, o, r, l) => {
|
|
9142
9142
|
const u = o ? n.startContainer : n.endContainer, f = o ? n.startOffset : n.endOffset;
|
|
9143
9143
|
return z.from(u).map(ie.fromDom).map((b) => !r || !n.collapsed ? Cu(b, l(b, f)).getOr(b) : b).bind((b) => Ba(b) ? z.some(b) : pa(b).filter(Ba)).map((b) => b.dom).getOr(e);
|
|
@@ -9155,7 +9155,7 @@ Required: ` + n.join(", "));
|
|
|
9155
9155
|
n.collapsed || (o === r && u - l < 2 && o.hasChildNodes() && (f = o.childNodes[l]), ut(o) && ut(r) && (o.length === l ? o = _T(o.nextSibling, !0) : o = o.parentNode, u === 0 ? r = _T(r.previousSibling, !1) : r = r.parentNode, o && o === r && (f = o)));
|
|
9156
9156
|
const b = ut(f) ? f.parentNode : f;
|
|
9157
9157
|
return su(b) ? b : e;
|
|
9158
|
-
},
|
|
9158
|
+
}, gN = (e, n, o, r) => {
|
|
9159
9159
|
const l = [], u = e.getRoot(), f = e.getParent(o || CT(u, n, n.collapsed), e.isBlock), b = e.getParent(r || BO(u, n, n.collapsed), e.isBlock);
|
|
9160
9160
|
if (f && f !== u && l.push(f), f && b && f !== b) {
|
|
9161
9161
|
let y;
|
|
@@ -9164,16 +9164,16 @@ Required: ` + n.join(", "));
|
|
|
9164
9164
|
e.isBlock(y) && l.push(y);
|
|
9165
9165
|
}
|
|
9166
9166
|
return b && f !== b && b !== u && l.push(b), l;
|
|
9167
|
-
},
|
|
9167
|
+
}, hN = (e, n, o) => z.from(n).bind((r) => z.from(r.parentNode).map((l) => {
|
|
9168
9168
|
const u = e.nodeIndex(r), f = e.createRng();
|
|
9169
9169
|
return f.setStart(l, u), f.setEnd(l, u + 1), o && (Y2(e, f, r, !0), Y2(e, f, r, !1)), f;
|
|
9170
9170
|
})), ST = (e, n) => Ke(n, (o) => {
|
|
9171
9171
|
const r = e.dispatch("GetSelectionRange", { range: o });
|
|
9172
9172
|
return r.range !== o ? r.range : o;
|
|
9173
|
-
}),
|
|
9173
|
+
}), pN = (e) => bo(e) === "img" ? 1 : A0(e).fold(() => $r(e).length, (n) => n.length), bN = (e) => A0(e).filter((n) => n.trim().length !== 0 || n.indexOf(Bo) > -1).isSome(), vN = (e) => Gs(e) && Ga(e, "contenteditable") === "false", yN = [
|
|
9174
9174
|
"img",
|
|
9175
9175
|
"br"
|
|
9176
|
-
], IO = (e) =>
|
|
9176
|
+
], IO = (e) => bN(e) || qe(yN, bo(e)) || vN(e), wN = (e) => na(e, IO), xN = (e) => CN(e, IO), CN = (e, n) => {
|
|
9177
9177
|
const o = (r) => {
|
|
9178
9178
|
const l = $r(r);
|
|
9179
9179
|
for (let u = l.length - 1; u >= 0; u--) {
|
|
@@ -9187,17 +9187,17 @@ Required: ` + n.join(", "));
|
|
|
9187
9187
|
return z.none();
|
|
9188
9188
|
};
|
|
9189
9189
|
return o(e);
|
|
9190
|
-
}, LO = "[data-mce-autocompleter]",
|
|
9190
|
+
}, LO = "[data-mce-autocompleter]", _N = (e, n) => {
|
|
9191
9191
|
if (FO(ie.fromDom(e.getBody())).isNone()) {
|
|
9192
9192
|
const o = ie.fromHtml('<span data-mce-autocompleter="1" data-mce-bogus="1"></span>', e.getDoc());
|
|
9193
|
-
_r(o, ie.fromDom(n.extractContents())), n.insertNode(o.dom), pa(o).each((r) => r.dom.normalize()),
|
|
9194
|
-
e.selection.setCursorLocation(r.dom,
|
|
9193
|
+
_r(o, ie.fromDom(n.extractContents())), n.insertNode(o.dom), pa(o).each((r) => r.dom.normalize()), xN(o).map((r) => {
|
|
9194
|
+
e.selection.setCursorLocation(r.dom, pN(r));
|
|
9195
9195
|
});
|
|
9196
9196
|
}
|
|
9197
|
-
},
|
|
9197
|
+
}, SN = (e) => Ci(e, LO), FO = (e) => ll(e, LO), kN = (e, n) => FO(n).each((o) => {
|
|
9198
9198
|
const r = e.selection.getBookmark();
|
|
9199
9199
|
cl(o), e.selection.moveToBookmark(r);
|
|
9200
|
-
}),
|
|
9200
|
+
}), TN = {
|
|
9201
9201
|
"#text": 3,
|
|
9202
9202
|
"#comment": 8,
|
|
9203
9203
|
"#cdata": 4,
|
|
@@ -9216,7 +9216,7 @@ Required: ` + n.join(", "));
|
|
|
9216
9216
|
if (u = f[l], u)
|
|
9217
9217
|
return u;
|
|
9218
9218
|
}
|
|
9219
|
-
},
|
|
9219
|
+
}, EN = (e) => {
|
|
9220
9220
|
var n;
|
|
9221
9221
|
const o = (n = e.value) !== null && n !== void 0 ? n : "";
|
|
9222
9222
|
if (!Mf(o))
|
|
@@ -9229,7 +9229,7 @@ Required: ` + n.join(", "));
|
|
|
9229
9229
|
};
|
|
9230
9230
|
class Pc {
|
|
9231
9231
|
static create(n, o) {
|
|
9232
|
-
const r = new Pc(n,
|
|
9232
|
+
const r = new Pc(n, TN[n] || 1);
|
|
9233
9233
|
return o && bt(o, (l, u) => {
|
|
9234
9234
|
r.attr(u, l);
|
|
9235
9235
|
}), r;
|
|
@@ -9360,7 +9360,7 @@ Required: ` + n.join(", "));
|
|
|
9360
9360
|
if (n[f.name] || mn(f))
|
|
9361
9361
|
return !1;
|
|
9362
9362
|
}
|
|
9363
|
-
if (f.type === 8 || f.type === 3 && !
|
|
9363
|
+
if (f.type === 8 || f.type === 3 && !EN(f) || f.type === 3 && f.parent && o[f.parent.name] && Mf((l = f.value) !== null && l !== void 0 ? l : "") || r && r(f))
|
|
9364
9364
|
return !1;
|
|
9365
9365
|
} while (f = I_(f, u));
|
|
9366
9366
|
return !0;
|
|
@@ -9369,35 +9369,35 @@ Required: ` + n.join(", "));
|
|
|
9369
9369
|
return I_(this, null, n);
|
|
9370
9370
|
}
|
|
9371
9371
|
}
|
|
9372
|
-
const HO = ct.makeMap("NOSCRIPT STYLE SCRIPT XMP IFRAME NOEMBED NOFRAMES PLAINTEXT", " "), VO = (e) => he(e.nodeValue) && e.nodeValue.includes(x), L_ = (e) => `${e.length === 0 ? "" : `${Ke(e, (n) => `[${n}]`).join(",")},`}[data-mce-bogus="all"]`,
|
|
9372
|
+
const HO = ct.makeMap("NOSCRIPT STYLE SCRIPT XMP IFRAME NOEMBED NOFRAMES PLAINTEXT", " "), VO = (e) => he(e.nodeValue) && e.nodeValue.includes(x), L_ = (e) => `${e.length === 0 ? "" : `${Ke(e, (n) => `[${n}]`).join(",")},`}[data-mce-bogus="all"]`, AN = (e, n) => n.querySelectorAll(L_(e)), zO = (e) => document.createTreeWalker(e, NodeFilter.SHOW_COMMENT, (n) => VO(n) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP), UO = (e) => document.createTreeWalker(e, NodeFilter.SHOW_TEXT, (n) => {
|
|
9373
9373
|
if (VO(n)) {
|
|
9374
9374
|
const o = n.parentNode;
|
|
9375
9375
|
return o && pn(HO, o.nodeName) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
9376
9376
|
} else
|
|
9377
9377
|
return NodeFilter.FILTER_SKIP;
|
|
9378
|
-
}),
|
|
9379
|
-
Te(
|
|
9378
|
+
}), DN = (e) => zO(e).nextNode() !== null, ON = (e) => UO(e).nextNode() !== null, F_ = (e, n) => n.querySelector(L_(e)) !== null, WO = (e, n) => {
|
|
9379
|
+
Te(AN(e, n), (o) => {
|
|
9380
9380
|
const r = ie.fromDom(o);
|
|
9381
9381
|
Ga(r, "data-mce-bogus") === "all" ? Eo(r) : Te(e, (l) => {
|
|
9382
9382
|
Zr(r, l) && lr(r, l);
|
|
9383
9383
|
});
|
|
9384
9384
|
});
|
|
9385
|
-
},
|
|
9385
|
+
}, RN = (e) => {
|
|
9386
9386
|
let n = e.nextNode();
|
|
9387
9387
|
for (; n !== null; )
|
|
9388
9388
|
n.nodeValue = null, n = e.nextNode();
|
|
9389
|
-
}, $
|
|
9389
|
+
}, $N = D(RN, zO), Fn = D(RN, UO), ZO = (e, n) => {
|
|
9390
9390
|
const o = [
|
|
9391
9391
|
{
|
|
9392
9392
|
condition: Pe(F_, n),
|
|
9393
9393
|
action: Pe(WO, n)
|
|
9394
9394
|
},
|
|
9395
9395
|
{
|
|
9396
|
-
condition:
|
|
9397
|
-
action: $
|
|
9396
|
+
condition: DN,
|
|
9397
|
+
action: $N
|
|
9398
9398
|
},
|
|
9399
9399
|
{
|
|
9400
|
-
condition:
|
|
9400
|
+
condition: ON,
|
|
9401
9401
|
action: Fn
|
|
9402
9402
|
}
|
|
9403
9403
|
];
|
|
@@ -9431,13 +9431,13 @@ Required: ` + n.join(", "));
|
|
|
9431
9431
|
_r(u, l);
|
|
9432
9432
|
const f = V(l.dom.innerText);
|
|
9433
9433
|
return Eo(l), f;
|
|
9434
|
-
},
|
|
9434
|
+
}, MN = (e, n, o) => {
|
|
9435
9435
|
let r;
|
|
9436
9436
|
return n.format === "raw" ? r = ct.trim(V(ZO(o, e.serializer.getTempAttrs()).innerHTML)) : n.format === "text" ? r = Lj(e, o) : n.format === "tree" ? r = e.serializer.serialize(o, n) : r = Ij(e, e.serializer.serialize(o, n)), n.format !== "text" && !Xr(ie.fromDom(o)) && he(r) ? ct.trim(r) : r;
|
|
9437
|
-
}, Fj = (e, n) => z.from(e.getBody()).fold(ot(n.format === "tree" ? new Pc("body", 11) : ""), (o) =>
|
|
9437
|
+
}, Fj = (e, n) => z.from(e.getBody()).fold(ot(n.format === "tree" ? new Pc("body", 11) : ""), (o) => MN(e, n, o)), PN = ct.makeMap, jO = (e) => {
|
|
9438
9438
|
const n = [];
|
|
9439
9439
|
e = e || {};
|
|
9440
|
-
const o = e.indent, r =
|
|
9440
|
+
const o = e.indent, r = PN(e.indent_before || ""), l = PN(e.indent_after || ""), u = Lf.getEncodeFunc(e.entity_encoding || "raw", e.entities), f = e.element_format !== "xhtml";
|
|
9441
9441
|
return {
|
|
9442
9442
|
start: (b, y, k) => {
|
|
9443
9443
|
if (o && r[b] && n.length > 0) {
|
|
@@ -9629,7 +9629,7 @@ Required: ` + n.join(", "));
|
|
|
9629
9629
|
"font",
|
|
9630
9630
|
"text-decoration",
|
|
9631
9631
|
"text-emphasis"
|
|
9632
|
-
], TT = (e, n) => es(e.parseStyle(e.getAttrib(n, "style"))),
|
|
9632
|
+
], TT = (e, n) => es(e.parseStyle(e.getAttrib(n, "style"))), BN = (e) => _n.has(e), bw = (e, n) => nr(TT(e, n), (o) => !BN(o)), qO = (e) => zt(e, (n) => Rt(GO, (o) => Ts(n, o))), NN = (e, n, o) => {
|
|
9633
9633
|
const r = TT(e, n), l = TT(e, o), u = (f) => {
|
|
9634
9634
|
var b, y;
|
|
9635
9635
|
const k = (b = e.getStyle(n, f)) !== null && b !== void 0 ? b : "", P = (y = e.getStyle(o, f)) !== null && y !== void 0 ? y : "";
|
|
@@ -9646,38 +9646,38 @@ Required: ` + n.join(", "));
|
|
|
9646
9646
|
}, KO = (e, n, o) => z.from(o.container()).filter(ut).exists((r) => {
|
|
9647
9647
|
const l = e ? 0 : -1;
|
|
9648
9648
|
return n(r.data.charAt(o.offset() + l));
|
|
9649
|
-
}), ET = Pe(KO, !0, Hp), H_ = Pe(KO, !1, Hp),
|
|
9649
|
+
}), ET = Pe(KO, !0, Hp), H_ = Pe(KO, !1, Hp), IN = (e) => {
|
|
9650
9650
|
const n = e.container();
|
|
9651
9651
|
return ut(n) && (n.data.length === 0 || T(n.data) && vh.isBookmarkNode(n.parentNode));
|
|
9652
|
-
}, M1 = (e, n) => (o) => l1(e ? 0 : -1, o).filter(n).isSome(),
|
|
9652
|
+
}, M1 = (e, n) => (o) => l1(e ? 0 : -1, o).filter(n).isSome(), LN = (e) => Sl(e) && gr(ie.fromDom(e), "display") === "block", YO = (e) => vo(e) && !Yh(e), FN = M1(!0, LN), HN = M1(!1, LN), vw = M1(!0, hr), Bv = M1(!1, hr), XO = M1(!0, Eu), Xn = M1(!1, Eu), _h = M1(!0, YO), uf = M1(!1, YO), JO = (e) => e.slice(0, -1), QO = (e, n, o) => Na(n, e) ? JO(Ng(e, (r) => o(r) || To(r, n))) : [], AT = (e, n) => QO(e, n, tt), ag = (e, n) => [e].concat(AT(e, n)), V_ = (e, n, o) => Bu(e, n, o, IN), VN = (e) => (n) => e.isBlock(bo(n)), DT = (e, n, o) => ps(ag(ie.fromDom(n.container()), e), VN(o)), eR = (e, n, o, r) => V_(e, n.dom, o).forall((l) => DT(n, o, r).fold(() => !gd(l, o, n.dom), (u) => !gd(l, o, n.dom) && Na(u, ie.fromDom(l.container())))), tR = (e, n, o, r) => DT(n, o, r).fold(() => V_(e, n.dom, o).forall((l) => !gd(l, o, n.dom)), (l) => V_(e, l.dom, o).isNone()), OT = Pe(tR, !1), nR = Pe(tR, !0), zN = Pe(eR, !1), UN = Pe(eR, !0), WN = (e) => iv(e).exists(Vd), z_ = (e, n, o, r) => {
|
|
9653
9653
|
const l = zt(ag(ie.fromDom(o.container()), n), (f) => r.isBlock(bo(f))), u = to(l).getOr(n);
|
|
9654
|
-
return Xa(e, u.dom, o).filter(
|
|
9655
|
-
}, yw = (e, n, o) => iv(n).exists(Vd) || z_(!0, e, n, o).isSome(), ww = (e, n, o) => I3(n).exists(Vd) || z_(!1, e, n, o).isSome(),
|
|
9654
|
+
return Xa(e, u.dom, o).filter(WN);
|
|
9655
|
+
}, yw = (e, n, o) => iv(n).exists(Vd) || z_(!0, e, n, o).isSome(), ww = (e, n, o) => I3(n).exists(Vd) || z_(!1, e, n, o).isSome(), ZN = Pe(z_, !1), jN = Pe(z_, !0), oR = (e) => Le.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), sR = (e, n, o) => {
|
|
9656
9656
|
const r = zt(ag(ie.fromDom(n.container()), e), (l) => o.isBlock(bo(l)));
|
|
9657
9657
|
return to(r).getOr(e);
|
|
9658
|
-
}, rR = (e, n, o) => oR(n) ? H_(n) : H_(n) || Rc(sR(e, n, o).dom, n).exists(H_), aR = (e, n, o) => oR(n) ? ET(n) : ET(n) || Ql(sR(e, n, o).dom, n).exists(ET),
|
|
9658
|
+
}, rR = (e, n, o) => oR(n) ? H_(n) : H_(n) || Rc(sR(e, n, o).dom, n).exists(H_), aR = (e, n, o) => oR(n) ? ET(n) : ET(n) || Ql(sR(e, n, o).dom, n).exists(ET), GN = (e) => qe([
|
|
9659
9659
|
"pre",
|
|
9660
9660
|
"pre-wrap"
|
|
9661
|
-
], e), RT = (e) => iv(e).bind((n) => al(n, Ba)).exists((n) =>
|
|
9661
|
+
], e), RT = (e) => iv(e).bind((n) => al(n, Ba)).exists((n) => GN(gr(n, "white-space"))), lR = (e, n) => Rc(e.dom, n).isNone(), qN = (e, n) => Ql(e.dom, n).isNone(), KN = (e, n, o) => lR(e, n) || qN(e, n) || OT(e, n, o) || nR(e, n, o) || ww(e, n, o) || yw(e, n, o), P1 = (e) => Ze(e) && vo(e) && Kf(e), cR = (e, n) => (o) => P1(new Es(o, e)[n]()), iR = (e, n) => {
|
|
9662
9662
|
const o = Ql(e.dom, n).getOr(n), r = cR(e.dom, "next");
|
|
9663
9663
|
return n.isAtEnd() && (r(n.container()) || r(o.container()));
|
|
9664
|
-
},
|
|
9664
|
+
}, YN = (e, n) => {
|
|
9665
9665
|
const o = Rc(e.dom, n).getOr(n), r = cR(e.dom, "prev");
|
|
9666
9666
|
return n.isAtStart() && (r(n.container()) || r(o.container()));
|
|
9667
|
-
}, uR = (e, n, o) => RT(n) ? !1 :
|
|
9667
|
+
}, uR = (e, n, o) => RT(n) ? !1 : KN(e, n, o) || rR(e, n, o) || aR(e, n, o), Nv = (e, n, o) => RT(n) ? !1 : OT(e, n, o) || zN(e, n, o) || ww(e, n, o) || rR(e, n, o) || YN(e, n), dR = (e) => {
|
|
9668
9668
|
const n = e.container(), o = e.offset();
|
|
9669
9669
|
return ut(n) && o < n.data.length ? Le(n, o + 1) : e;
|
|
9670
|
-
}, Iv = (e, n, o) => RT(n) ? !1 : nR(e, n, o) ||
|
|
9670
|
+
}, Iv = (e, n, o) => RT(n) ? !1 : nR(e, n, o) || UN(e, n, o) || yw(e, n, o) || aR(e, n, o) || iR(e, n), U_ = (e, n, o) => Nv(e, n, o) || Iv(e, dR(n), o), Bc = (e, n) => hv(e.charAt(n)), mR = (e, n) => Hp(e.charAt(n)), XN = (e) => {
|
|
9671
9671
|
const n = e.container();
|
|
9672
9672
|
return ut(n) && ys(n.data, Bo);
|
|
9673
|
-
},
|
|
9673
|
+
}, JN = (e) => {
|
|
9674
9674
|
const n = e.split("");
|
|
9675
9675
|
return Ke(n, (o, r) => hv(o) && r > 0 && r < n.length - 1 && tg(n[r - 1]) && tg(n[r + 1]) ? " " : o).join("");
|
|
9676
9676
|
}, fR = (e, n, o, r) => {
|
|
9677
9677
|
const l = n.data, u = Le(n, 0);
|
|
9678
9678
|
return !o && Bc(l, 0) && !U_(e, u, r) ? (n.data = " " + l.slice(1), !0) : o && mR(l, 0) && Nv(e, u, r) ? (n.data = Bo + l.slice(1), !0) : !1;
|
|
9679
|
-
},
|
|
9680
|
-
const n = e.data, o =
|
|
9679
|
+
}, QN = (e) => {
|
|
9680
|
+
const n = e.data, o = JN(n);
|
|
9681
9681
|
return o !== n ? (e.data = o, !0) : !1;
|
|
9682
9682
|
}, Qp = (e, n, o, r) => {
|
|
9683
9683
|
const l = n.data, u = Le(n, l.length - 1);
|
|
@@ -9686,8 +9686,8 @@ Required: ` + n.join(", "));
|
|
|
9686
9686
|
const r = n.container();
|
|
9687
9687
|
if (!ut(r))
|
|
9688
9688
|
return z.none();
|
|
9689
|
-
if (
|
|
9690
|
-
const l = fR(e, r, !1, o) ||
|
|
9689
|
+
if (XN(n)) {
|
|
9690
|
+
const l = fR(e, r, !1, o) || QN(r) || Qp(e, r, !1, o);
|
|
9691
9691
|
return Co(l, n);
|
|
9692
9692
|
} else if (U_(e, n, o)) {
|
|
9693
9693
|
const l = fR(e, r, !0, o) || Qp(e, r, !0, o);
|
|
@@ -10203,7 +10203,7 @@ Required: ` + n.join(", "));
|
|
|
10203
10203
|
const l = e.getBody(), u = J_(e);
|
|
10204
10204
|
ct.each(r.select("*[data-mce-fragment]"), (f) => {
|
|
10205
10205
|
if (Ze(o[f.nodeName.toLowerCase()]) && bw(r, f)) {
|
|
10206
|
-
for (let y = f.parentElement; Ze(y) && y !== l && !
|
|
10206
|
+
for (let y = f.parentElement; Ze(y) && y !== l && !NN(r, f, y); y = y.parentElement)
|
|
10207
10207
|
if (u.compare(y, f)) {
|
|
10208
10208
|
r.remove(f, !0);
|
|
10209
10209
|
break;
|
|
@@ -13216,8 +13216,8 @@ Required: ` + n.join(", "));
|
|
|
13216
13216
|
},
|
|
13217
13217
|
selection: { getContent: (n, o) => i6(e, n, o) },
|
|
13218
13218
|
autocompleter: {
|
|
13219
|
-
addDecoration: (n) =>
|
|
13220
|
-
removeDecoration: () =>
|
|
13219
|
+
addDecoration: (n) => _N(e, n),
|
|
13220
|
+
removeDecoration: () => kN(e, ie.fromDom(e.getBody()))
|
|
13221
13221
|
},
|
|
13222
13222
|
raw: { getModel: () => z.none() }
|
|
13223
13223
|
}), Fr = (e) => {
|
|
@@ -13419,7 +13419,7 @@ Required: ` + n.join(", "));
|
|
|
13419
13419
|
const { selectorChangedWithUnbind: f } = k6(e, r), b = (Tt, on) => {
|
|
13420
13420
|
const Kn = e.createRng();
|
|
13421
13421
|
Ze(Tt) && Ze(on) ? (Kn.setStart(Tt, on), Kn.setEnd(Tt, on), Be(Kn), we(!1)) : (Y2(e, Kn, r.getBody(), !0), Be(Kn));
|
|
13422
|
-
}, y = (Tt) => mF(r, Tt), k = (Tt, on) => bF(r, Tt, on), P = (Tt) => CT(r.getBody(), Se(), Tt), B = (Tt) => BO(r.getBody(), Se(), Tt), F = (Tt, on) => Ml.getBookmark(Tt, on), Q = (Tt) => Ml.moveToBookmark(Tt), oe = (Tt, on) => (
|
|
13422
|
+
}, y = (Tt) => mF(r, Tt), k = (Tt, on) => bF(r, Tt, on), P = (Tt) => CT(r.getBody(), Se(), Tt), B = (Tt) => BO(r.getBody(), Se(), Tt), F = (Tt, on) => Ml.getBookmark(Tt, on), Q = (Tt) => Ml.moveToBookmark(Tt), oe = (Tt, on) => (hN(e, Tt, on).each(Be), Tt), K = () => {
|
|
13423
13423
|
const Tt = Se(), on = ke();
|
|
13424
13424
|
return !Tt || Tt.item ? !1 : Tt.compareEndPoints ? Tt.compareEndPoints("StartToEnd", Tt) === 0 : !on || Tt.collapsed;
|
|
13425
13425
|
}, se = () => {
|
|
@@ -13475,7 +13475,7 @@ Required: ` + n.join(", "));
|
|
|
13475
13475
|
range: Tt,
|
|
13476
13476
|
forward: on
|
|
13477
13477
|
});
|
|
13478
|
-
}, rt = (Tt) => (k(e.getOuterHTML(Tt)), Tt), wt = () => NO(r.getBody(), Se()), Ft = (Tt, on) =>
|
|
13478
|
+
}, rt = (Tt) => (k(e.getOuterHTML(Tt)), Tt), wt = () => NO(r.getBody(), Se()), Ft = (Tt, on) => gN(e, Se(), Tt, on), We = () => {
|
|
13479
13479
|
const Tt = ke(), on = Tt == null ? void 0 : Tt.anchorNode, Kn = Tt == null ? void 0 : Tt.focusNode;
|
|
13480
13480
|
if (!Tt || !on || !Kn || ku(on) || ku(Kn))
|
|
13481
13481
|
return !0;
|
|
@@ -15069,7 +15069,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15069
15069
|
return Sw(ie.fromDom(e), ie.fromDom(o.getNode())).map((u) => pr(u) ? Ni.remove(u.dom) : Ni.moveToElement(l)).orThunk(() => z.some(Ni.moveToElement(l)));
|
|
15070
15070
|
}, aM = (e, n, o, r) => Xa(n, e, o).bind((l) => y9(l.getNode()) || x9(e, n, o, l, r) ? z.none() : n && vo(l.getNode()) || !n && vo(l.getNode(!0)) ? rM(e, n, o, l) : n && uf(o) || !n && _h(o) ? z.some(Ni.moveToPosition(l)) : z.none()), C9 = (e, n) => In(n) ? z.none() : e && vo(n.nextSibling) ? z.some(Ni.moveToElement(n.nextSibling)) : !e && vo(n.previousSibling) ? z.some(Ni.moveToElement(n.previousSibling)) : z.none(), _9 = (e, n, o) => o.fold((r) => z.some(Ni.remove(r)), (r) => z.some(Ni.moveToElement(r)), (r) => gd(n, r, e) ? z.none() : z.some(Ni.moveToPosition(r))), S9 = (e, n, o, r) => w9(n, o) ? C9(n, o.getNode(!n)).orThunk(() => aM(e, n, o, r)) : aM(e, n, o, r).bind((l) => _9(e, o, l)), ek = (e, n, o, r) => {
|
|
15071
15071
|
const l = z2(n ? 1 : -1, e, o), u = Le.fromRangeStart(l), f = ie.fromDom(e);
|
|
15072
|
-
return !n && uf(u) ? z.some(Ni.remove(u.getNode(!0))) : n && _h(u) ? z.some(Ni.remove(u.getNode())) : !n && _h(u) && ww(f, u, r) ?
|
|
15072
|
+
return !n && uf(u) ? z.some(Ni.remove(u.getNode(!0))) : n && _h(u) ? z.some(Ni.remove(u.getNode())) : !n && _h(u) && ww(f, u, r) ? ZN(f, u, r).map((b) => Ni.remove(b.getNode())) : n && uf(u) && yw(f, u, r) ? jN(f, u, r).map((b) => Ni.remove(b.getNode())) : S9(e, n, u, r);
|
|
15073
15073
|
}, L5 = (e, n) => (o) => (e._selectionOverrides.hideFakeCaret(), kh(e, n, ie.fromDom(o)), !0), k9 = (e, n) => (o) => {
|
|
15074
15074
|
const r = n ? Le.before(o) : Le.after(o);
|
|
15075
15075
|
return e.selection.setRng(r.toRange()), !0;
|
|
@@ -15094,7 +15094,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15094
15094
|
return !0;
|
|
15095
15095
|
}, sx = (e, n) => e.selection.isCollapsed() ? E9(e, n) : A9(e, n), D9 = (e, n) => {
|
|
15096
15096
|
const o = Le.fromRangeStart(e.selection.getRng());
|
|
15097
|
-
return Xa(n, e.getBody(), o).filter((r) => n ?
|
|
15097
|
+
return Xa(n, e.getBody(), o).filter((r) => n ? FN(r) : HN(r)).bind((r) => l1(n ? 0 : -1, r)).map((r) => () => e.selection.select(r));
|
|
15098
15098
|
}, F5 = (e, n) => e.selection.isCollapsed() ? D9(e, n) : z.none(), ly = ut, uM = (e) => ly(e) && e.data[0] === x, dM = (e) => ly(e) && e.data[e.data.length - 1] === x, mM = (e) => {
|
|
15099
15099
|
var n;
|
|
15100
15100
|
return ((n = e.ownerDocument) !== null && n !== void 0 ? n : document).createTextNode(x);
|
|
@@ -15842,7 +15842,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15842
15842
|
}, wA = (e, n, o) => z.from(e.dom.getParent(e.selection.getNode(), "td,th")).bind((r) => z.from(e.dom.getParent(r, "table")).map((l) => o(e, n, l, r))).getOr(!1), w8 = (e, n) => wA(e, n, JH), xA = (e, n) => wA(e, n, nV), oV = (e) => {
|
|
15843
15843
|
const n = lf.exact(e, 0, e, 0);
|
|
15844
15844
|
return hT(n);
|
|
15845
|
-
}, x8 = (e, n, o) => o.fold(z.none, z.none, (r, l) =>
|
|
15845
|
+
}, x8 = (e, n, o) => o.fold(z.none, z.none, (r, l) => wN(l).map((u) => oV(u)), (r) => (e.execCommand("mceTableInsertRowAfter"), C8(e, n, r))), C8 = (e, n, o) => x8(e, n, mG(o, Vn)), sV = (e, n, o) => x8(e, n, VH(o, Vn)), Aa = (e, n) => {
|
|
15846
15846
|
const o = [
|
|
15847
15847
|
"table",
|
|
15848
15848
|
"li",
|
|
@@ -16046,7 +16046,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
16046
16046
|
trigger: o
|
|
16047
16047
|
});
|
|
16048
16048
|
});
|
|
16049
|
-
}, kd = (e, n, o, r = 0) =>
|
|
16049
|
+
}, kd = (e, n, o, r = 0) => SN(ie.fromDom(n.startContainer)).fold(() => yx(e, n, o, r), (l) => {
|
|
16050
16050
|
const u = e.createRng();
|
|
16051
16051
|
u.selectNode(l.dom);
|
|
16052
16052
|
const f = SA(u);
|
|
@@ -18969,7 +18969,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
18969
18969
|
l.onload = () => {
|
|
18970
18970
|
l.onload = null, e.dispatch("load");
|
|
18971
18971
|
}, e.contentAreaContainer = n.iframeContainer, e.iframeElement = l, e.iframeHTML = WW(e), PD.add(n.iframeContainer, l);
|
|
18972
|
-
},
|
|
18972
|
+
}, e7 = (e) => {
|
|
18973
18973
|
const n = e.iframeElement, o = () => {
|
|
18974
18974
|
e.contentDocument = n.contentDocument, XB(e);
|
|
18975
18975
|
};
|
|
@@ -18983,8 +18983,8 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
18983
18983
|
n.srcdoc = e.iframeHTML;
|
|
18984
18984
|
}
|
|
18985
18985
|
}, Fx = (e, n) => {
|
|
18986
|
-
ZW(e, n), n.editorContainer && (n.editorContainer.style.display = e.orgDisplay, e.hidden = PD.isHidden(n.editorContainer)), e.getElement().style.display = "none", PD.setAttrib(e.id, "aria-hidden", "true"), e.getElement().style.visibility = e.orgVisibility,
|
|
18987
|
-
},
|
|
18986
|
+
ZW(e, n), n.editorContainer && (n.editorContainer.style.display = e.orgDisplay, e.hidden = PD.isHidden(n.editorContainer)), e.getElement().style.display = "none", PD.setAttrib(e.id, "aria-hidden", "true"), e.getElement().style.visibility = e.orgVisibility, e7(e);
|
|
18987
|
+
}, t7 = Is.DOM, n7 = (e, n, o) => {
|
|
18988
18988
|
const r = W1.get(o), l = W1.urls[o] || e.documentBaseUrl.replace(/\/$/, "");
|
|
18989
18989
|
if (o = ct.trim(o), r && ct.inArray(n, o) === -1) {
|
|
18990
18990
|
if (e.plugins[o])
|
|
@@ -18999,7 +18999,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
18999
18999
|
}, jW = (e) => e.replace(/^\-/, ""), GW = (e) => {
|
|
19000
19000
|
const n = [];
|
|
19001
19001
|
Te(n1(e), (o) => {
|
|
19002
|
-
|
|
19002
|
+
n7(e, n, jW(o));
|
|
19003
19003
|
});
|
|
19004
19004
|
}, qW = (e) => {
|
|
19005
19005
|
const n = ct.trim(y2(e)), o = e.ui.registry.getAll().icons, r = {
|
|
@@ -19016,28 +19016,28 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19016
19016
|
e.theme = o(e, Oh.urls[n]) || {}, pe(e.theme.init) && e.theme.init(e, Oh.urls[n] || e.documentBaseUrl.replace(/\/$/, ""));
|
|
19017
19017
|
} else
|
|
19018
19018
|
e.theme = {};
|
|
19019
|
-
},
|
|
19019
|
+
}, o7 = (e) => {
|
|
19020
19020
|
const n = S2(e), o = Sd.get(n);
|
|
19021
19021
|
e.model = o(e, Sd.urls[n]);
|
|
19022
19022
|
}, YW = (e) => {
|
|
19023
19023
|
const n = e.theme.renderUI;
|
|
19024
|
-
return n ? n() :
|
|
19025
|
-
},
|
|
19024
|
+
return n ? n() : a7(e);
|
|
19025
|
+
}, s7 = (e) => {
|
|
19026
19026
|
const n = e.getElement(), r = Sp(e)(e, n);
|
|
19027
19027
|
return r.editorContainer.nodeType && (r.editorContainer.id = r.editorContainer.id || e.id + "_parent"), r.iframeContainer && r.iframeContainer.nodeType && (r.iframeContainer.id = r.iframeContainer.id || e.id + "_iframecontainer"), r.height = r.iframeHeight ? r.iframeHeight : n.offsetHeight, r;
|
|
19028
|
-
},
|
|
19028
|
+
}, r7 = (e, n) => ({
|
|
19029
19029
|
editorContainer: e,
|
|
19030
19030
|
iframeContainer: n,
|
|
19031
19031
|
api: {}
|
|
19032
19032
|
}), XW = (e) => {
|
|
19033
|
-
const n =
|
|
19034
|
-
return
|
|
19035
|
-
},
|
|
19033
|
+
const n = t7.create("div");
|
|
19034
|
+
return t7.insertAfter(n, e), r7(n, n);
|
|
19035
|
+
}, a7 = (e) => {
|
|
19036
19036
|
const n = e.getElement();
|
|
19037
|
-
return e.inline ?
|
|
19037
|
+
return e.inline ? r7(null) : XW(n);
|
|
19038
19038
|
}, JW = (e) => {
|
|
19039
19039
|
const n = e.getElement();
|
|
19040
|
-
return e.orgDisplay = n.style.display, he(Sp(e)) ? YW(e) : pe(Sp(e)) ?
|
|
19040
|
+
return e.orgDisplay = n.style.display, he(Sp(e)) ? YW(e) : pe(Sp(e)) ? s7(e) : a7(e);
|
|
19041
19041
|
}, QW = (e, n) => {
|
|
19042
19042
|
const o = {
|
|
19043
19043
|
show: z.from(n.show).getOr(Nt),
|
|
@@ -19052,13 +19052,13 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19052
19052
|
...o
|
|
19053
19053
|
};
|
|
19054
19054
|
}, eZ = async (e) => {
|
|
19055
|
-
e.dispatch("ScriptsLoaded"), qW(e), KW(e),
|
|
19055
|
+
e.dispatch("ScriptsLoaded"), qW(e), KW(e), o7(e), GW(e);
|
|
19056
19056
|
const n = await JW(e);
|
|
19057
19057
|
QW(e, z.from(n.api).getOr({})), e.editorContainer = n.editorContainer, jF(e), e.inline ? XB(e) : Fx(e, {
|
|
19058
19058
|
editorContainer: n.editorContainer,
|
|
19059
19059
|
iframeContainer: n.iframeContainer
|
|
19060
19060
|
});
|
|
19061
|
-
}, sb = Is.DOM,
|
|
19061
|
+
}, sb = Is.DOM, l7 = (e) => e.charAt(0) === "-", tZ = (e, n) => {
|
|
19062
19062
|
const o = x2(n), r = Jl(n);
|
|
19063
19063
|
if (!Mu.hasCode(o) && o !== "en") {
|
|
19064
19064
|
const l = Po(r) ? r : `${n.editorManager.baseURL}/langs/${o}.js`;
|
|
@@ -19066,9 +19066,9 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19066
19066
|
tx(n, l, o);
|
|
19067
19067
|
});
|
|
19068
19068
|
}
|
|
19069
|
-
},
|
|
19069
|
+
}, c7 = (e, n) => {
|
|
19070
19070
|
const o = Sp(e);
|
|
19071
|
-
if (he(o) && !
|
|
19071
|
+
if (he(o) && !l7(o) && !pn(Oh.urls, o)) {
|
|
19072
19072
|
const r = f3(e), l = r ? e.documentBaseURI.toAbsolute(r) : `themes/${o}/theme${n}.js`;
|
|
19073
19073
|
Oh.load(o, l).catch(() => {
|
|
19074
19074
|
zF(e, l, o);
|
|
@@ -19082,14 +19082,14 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19082
19082
|
V6(e, l, o);
|
|
19083
19083
|
});
|
|
19084
19084
|
}
|
|
19085
|
-
},
|
|
19085
|
+
}, i7 = (e) => z.from(dh(e)).filter(Po).map((n) => ({
|
|
19086
19086
|
url: n,
|
|
19087
19087
|
name: z.none()
|
|
19088
19088
|
})), ND = (e, n, o) => z.from(n).filter((r) => Po(r) && !Qw.has(r)).map((r) => ({
|
|
19089
19089
|
url: `${e.editorManager.baseURL}/icons/${r}/icons${o}.js`,
|
|
19090
19090
|
name: z.some(r)
|
|
19091
19091
|
})), nZ = (e, n, o) => {
|
|
19092
|
-
const r = ND(n, "default", o), l =
|
|
19092
|
+
const r = ND(n, "default", o), l = i7(n).orThunk(() => ND(n, y2(n), ""));
|
|
19093
19093
|
Te(zs([
|
|
19094
19094
|
r,
|
|
19095
19095
|
l
|
|
@@ -19107,19 +19107,19 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19107
19107
|
bt(Gf(e), (r, l) => {
|
|
19108
19108
|
o(l, r), e.options.set("plugins", n1(e).concat(l));
|
|
19109
19109
|
}), Te(n1(e), (r) => {
|
|
19110
|
-
r = ct.trim(r), r && !W1.urls[r] && !
|
|
19110
|
+
r = ct.trim(r), r && !W1.urls[r] && !l7(r) && o(r, `plugins/${r}/plugin${n}.js`);
|
|
19111
19111
|
});
|
|
19112
19112
|
}, sZ = (e) => {
|
|
19113
19113
|
const n = Sp(e);
|
|
19114
19114
|
return !he(n) || Ze(Oh.get(n));
|
|
19115
|
-
},
|
|
19115
|
+
}, u7 = (e) => {
|
|
19116
19116
|
const n = S2(e);
|
|
19117
19117
|
return Ze(Sd.get(n));
|
|
19118
|
-
},
|
|
19118
|
+
}, d7 = (e, n) => {
|
|
19119
19119
|
const o = ra.ScriptLoader, r = () => {
|
|
19120
|
-
!e.removed && sZ(e) &&
|
|
19120
|
+
!e.removed && sZ(e) && u7(e) && eZ(e);
|
|
19121
19121
|
};
|
|
19122
|
-
|
|
19122
|
+
c7(e, n), BD(e, n), tZ(o, e), nZ(o, e, n), oZ(e, n), o.loadQueue().then(r, r);
|
|
19123
19123
|
}, rZ = (e, n) => Ly.forElement(e, {
|
|
19124
19124
|
contentCssCors: Tp(n),
|
|
19125
19125
|
referrerPolicy: ro(n)
|
|
@@ -19157,7 +19157,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19157
19157
|
no_events: !0,
|
|
19158
19158
|
set_dirty: !1
|
|
19159
19159
|
});
|
|
19160
|
-
}, e.editorManager.on("BeforeUnload", e._beforeUnload)), e.editorManager.add(e),
|
|
19160
|
+
}, e.editorManager.on("BeforeUnload", e._beforeUnload)), e.editorManager.add(e), d7(e, e.suffix);
|
|
19161
19161
|
}, ID = (e, n) => {
|
|
19162
19162
|
e._editableRoot !== n && (e._editableRoot = n, e.readonly || (e.getBody().contentEditable = String(e.hasEditableRoot()), e.nodeChanged()), sT(e, n));
|
|
19163
19163
|
}, s4 = (e) => e._editableRoot, r4 = (e, n) => ({
|
|
@@ -19192,7 +19192,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19192
19192
|
}, p0 = (e, n) => [
|
|
19193
19193
|
..._y(e),
|
|
19194
19194
|
..._y(n)
|
|
19195
|
-
], rb = (e, n, o, r) => e && a4(n, "mobile") ? r : o,
|
|
19195
|
+
], rb = (e, n, o, r) => e && a4(n, "mobile") ? r : o, m7 = (e, n, o, r) => {
|
|
19196
19196
|
const l = _y(o.forced_plugins), u = _y(r.plugins), f = iZ(n, "mobile"), b = f.plugins ? _y(f.plugins) : u, y = rb(e, n, u, b), k = p0(l, y);
|
|
19197
19197
|
return ct.extend(r, {
|
|
19198
19198
|
forced_plugins: l,
|
|
@@ -19201,7 +19201,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19201
19201
|
}, uZ = (e, n) => e && a4(n, "mobile"), dZ = (e, n, o, r, l) => {
|
|
19202
19202
|
var u;
|
|
19203
19203
|
const f = e ? { mobile: LD((u = l.mobile) !== null && u !== void 0 ? u : {}, n) } : {}, b = lZ(["mobile"], _x(f, l)), y = ct.extend(o, r, b.options(), uZ(e, b) ? cZ(b, "mobile") : {}, { external_plugins: l4(r, b.options()) });
|
|
19204
|
-
return
|
|
19204
|
+
return m7(e, b, r, y);
|
|
19205
19205
|
}, mZ = (e, n) => dZ(Hx || Cy, Hx, n, e, n), fZ = (e, n) => iF(e, n), gZ = (e) => {
|
|
19206
19206
|
const n = (r, l) => {
|
|
19207
19207
|
e.formatter.toggle(r, l), e.nodeChanged();
|
|
@@ -19228,7 +19228,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19228
19228
|
JustifyRight: n("alignright"),
|
|
19229
19229
|
JustifyFull: n("alignjustify")
|
|
19230
19230
|
}, "state");
|
|
19231
|
-
},
|
|
19231
|
+
}, f7 = (e) => {
|
|
19232
19232
|
gZ(e), hZ(e);
|
|
19233
19233
|
}, pZ = (e) => {
|
|
19234
19234
|
e.editorCommands.addCommands({
|
|
@@ -19318,10 +19318,10 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19318
19318
|
}, yZ = {
|
|
19319
19319
|
"font-size": "size",
|
|
19320
19320
|
"font-family": "face"
|
|
19321
|
-
}, wZ = lc("font"),
|
|
19321
|
+
}, wZ = lc("font"), g7 = (e, n, o) => {
|
|
19322
19322
|
const r = (u) => Mr(u, e).orThunk(() => wZ(u) ? Xo(yZ, e).bind((f) => bi(u, f)) : z.none()), l = (u) => To(ie.fromDom(n), u);
|
|
19323
19323
|
return Th(ie.fromDom(o), (u) => r(u), l);
|
|
19324
|
-
}, xZ = (e) => e.replace(/[\'\"\\]/g, "").replace(/,\s+/g, ","),
|
|
19324
|
+
}, xZ = (e) => e.replace(/[\'\"\\]/g, "").replace(/,\s+/g, ","), h7 = (e, n) => z.from(Is.DOM.getStyle(n, e, !0)), p7 = (e) => (n, o) => z.from(o).map(ie.fromDom).filter(Ba).bind((r) => g7(e, n, r.dom).or(h7(e, r.dom))).getOr(""), HD = p7("font-size"), CZ = D(xZ, p7("font-family")), _Z = (e) => hc(e.getBody()).bind((n) => {
|
|
19325
19325
|
const o = n.container();
|
|
19326
19326
|
return z.from(ut(o) ? o.parentNode : o);
|
|
19327
19327
|
}), SZ = (e) => z.from(e.selection.getRng()).bind((n) => {
|
|
@@ -19337,12 +19337,12 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19337
19337
|
return n;
|
|
19338
19338
|
} else
|
|
19339
19339
|
return n;
|
|
19340
|
-
},
|
|
19340
|
+
}, b7 = (e) => {
|
|
19341
19341
|
const n = e.split(/\s*,\s*/);
|
|
19342
19342
|
return Ke(n, (o) => o.indexOf(" ") !== -1 && !(Ts(o, '"') || Ts(o, "'")) ? `'${o}'` : o).join(",");
|
|
19343
19343
|
}, VD = (e, n) => {
|
|
19344
19344
|
const o = u4(e, n);
|
|
19345
|
-
e.formatter.toggle("fontname", { value:
|
|
19345
|
+
e.formatter.toggle("fontname", { value: b7(o) }), e.nodeChanged();
|
|
19346
19346
|
}, TZ = (e) => i4(e, (n) => CZ(e.getBody(), n.dom)).getOr(""), EG = (e, n) => {
|
|
19347
19347
|
e.formatter.toggle("fontsize", { value: u4(e, n) }), e.nodeChanged();
|
|
19348
19348
|
}, AG = (e) => i4(e, (n) => HD(e.getBody(), n.dom)).getOr(""), EZ = (e) => i4(e, (n) => {
|
|
@@ -19351,7 +19351,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19351
19351
|
return String(u / f);
|
|
19352
19352
|
};
|
|
19353
19353
|
return r.getOrThunk(l);
|
|
19354
|
-
}).getOr(""),
|
|
19354
|
+
}).getOr(""), v7 = (e, n) => {
|
|
19355
19355
|
e.formatter.toggle("lineheight", { value: String(n) }), e.nodeChanged();
|
|
19356
19356
|
}, AZ = (e) => {
|
|
19357
19357
|
const n = (o, r) => {
|
|
@@ -19374,7 +19374,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19374
19374
|
EG(e, l);
|
|
19375
19375
|
},
|
|
19376
19376
|
LineHeight: (o, r, l) => {
|
|
19377
|
-
|
|
19377
|
+
v7(e, l);
|
|
19378
19378
|
},
|
|
19379
19379
|
Lang: (o, r, l) => {
|
|
19380
19380
|
var u;
|
|
@@ -19428,7 +19428,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19428
19428
|
iA(e);
|
|
19429
19429
|
}
|
|
19430
19430
|
}), e.editorCommands.addCommands({ Outdent: () => ck(e) }, "state");
|
|
19431
|
-
},
|
|
19431
|
+
}, y7 = (e) => {
|
|
19432
19432
|
const n = (o, r, l) => {
|
|
19433
19433
|
const u = he(l) ? { href: l } : l, f = e.dom.getParent(e.selection.getNode(), "a");
|
|
19434
19434
|
kt(u) && he(u.href) && (u.href = u.href.replace(/ /g, "%20"), (!f || !u.href) && e.formatter.remove("link"), u.href && e.formatter.apply("link", u, f));
|
|
@@ -19447,7 +19447,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19447
19447
|
mceInsertLink: n,
|
|
19448
19448
|
createLink: n
|
|
19449
19449
|
});
|
|
19450
|
-
},
|
|
19450
|
+
}, w7 = (e) => {
|
|
19451
19451
|
e.editorCommands.addCommands({
|
|
19452
19452
|
"InsertUnorderedList,InsertOrderedList": (n) => {
|
|
19453
19453
|
e.getDoc().execCommand(n);
|
|
@@ -19469,7 +19469,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19469
19469
|
}
|
|
19470
19470
|
}, "state");
|
|
19471
19471
|
}, $Z = (e) => {
|
|
19472
|
-
|
|
19472
|
+
w7(e), RZ(e);
|
|
19473
19473
|
}, MZ = (e, n, o, r) => {
|
|
19474
19474
|
const l = e.dom, u = (b) => l.isBlock(b) && b.parentElement === o, f = u(n) ? n : l.getParent(r, u, o);
|
|
19475
19475
|
return z.from(f).map(ie.fromDom);
|
|
@@ -19533,14 +19533,14 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19533
19533
|
e.getWin().print();
|
|
19534
19534
|
},
|
|
19535
19535
|
mceFocus: (n, o, r) => {
|
|
19536
|
-
|
|
19536
|
+
fN(e, r === !0);
|
|
19537
19537
|
},
|
|
19538
19538
|
mceToggleVisualAid: () => {
|
|
19539
19539
|
e.hasVisual = !e.hasVisual, e.addVisual();
|
|
19540
19540
|
}
|
|
19541
19541
|
});
|
|
19542
19542
|
}, zD = (e) => {
|
|
19543
|
-
|
|
19543
|
+
f7(e), pZ(e), DG(e), NZ(e), FD(e), y7(e), OG(e), BZ(e), MG(e), $Z(e), OZ(e), ab(e);
|
|
19544
19544
|
}, d4 = ["toggleview"], UD = (e) => qe(d4, e.toLowerCase());
|
|
19545
19545
|
class WD {
|
|
19546
19546
|
constructor(n) {
|
|
@@ -19552,7 +19552,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19552
19552
|
}
|
|
19553
19553
|
execCommand(n, o = !1, r, l) {
|
|
19554
19554
|
const u = this.editor, f = n.toLowerCase(), b = l == null ? void 0 : l.skip_focus;
|
|
19555
|
-
if (u.removed || (f !== "mcefocus" && (!/^(mceAddUndoLevel|mceEndUndoLevel)$/i.test(f) && !b ? u.focus() :
|
|
19555
|
+
if (u.removed || (f !== "mcefocus" && (!/^(mceAddUndoLevel|mceEndUndoLevel)$/i.test(f) && !b ? u.focus() : Q7(u)), u.dispatch("BeforeExecCommand", {
|
|
19556
19556
|
command: n,
|
|
19557
19557
|
ui: o,
|
|
19558
19558
|
value: r
|
|
@@ -19621,12 +19621,12 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19621
19621
|
z.from(e.selection.getNode()).each((n) => {
|
|
19622
19622
|
n.removeAttribute("data-mce-selected");
|
|
19623
19623
|
});
|
|
19624
|
-
},
|
|
19624
|
+
}, x7 = (e) => {
|
|
19625
19625
|
e.selection.setRng(e.selection.getRng());
|
|
19626
19626
|
}, HZ = (e, n) => {
|
|
19627
19627
|
const o = ie.fromDom(e.getBody());
|
|
19628
|
-
IZ(o, "mce-content-readonly", n), n ? (e.selection.controlSelection.hideResizeRect(), e._selectionOverrides.hideFakeCaret(), FZ(e), e.readonly = !0, m4(o, !1), LZ(o)) : (e.readonly = !1, e.hasEditableRoot() && m4(o, !0), v0(o), ZD(e, "StyleWithCSS", !1), ZD(e, "enableInlineTableEditing", !1), ZD(e, "enableObjectResizing", !1), $O(e) && e.focus(),
|
|
19629
|
-
}, xg = (e) => e.readonly,
|
|
19628
|
+
IZ(o, "mce-content-readonly", n), n ? (e.selection.controlSelection.hideResizeRect(), e._selectionOverrides.hideFakeCaret(), FZ(e), e.readonly = !0, m4(o, !1), LZ(o)) : (e.readonly = !1, e.hasEditableRoot() && m4(o, !0), v0(o), ZD(e, "StyleWithCSS", !1), ZD(e, "enableInlineTableEditing", !1), ZD(e, "enableObjectResizing", !1), $O(e) && e.focus(), x7(e), e.nodeChanged());
|
|
19629
|
+
}, xg = (e) => e.readonly, C7 = (e) => {
|
|
19630
19630
|
e.parser.addAttributeFilter("contenteditable", (n) => {
|
|
19631
19631
|
xg(e) && Te(n, (o) => {
|
|
19632
19632
|
o.attr(b0, o.attr("contenteditable")), o.attr("contenteditable", "false");
|
|
@@ -19637,10 +19637,10 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19637
19637
|
});
|
|
19638
19638
|
}), e.serializer.addTempAttr(b0);
|
|
19639
19639
|
}, VZ = (e) => {
|
|
19640
|
-
e.serializer ?
|
|
19641
|
-
|
|
19640
|
+
e.serializer ? C7(e) : e.on("PreInit", () => {
|
|
19641
|
+
C7(e);
|
|
19642
19642
|
});
|
|
19643
|
-
}, zZ = (e) => e.type === "click",
|
|
19643
|
+
}, zZ = (e) => e.type === "click", _7 = ["copy"], UZ = (e) => qe(_7, e.type), WZ = (e, n) => Ci(n, "a", (r) => To(r, ie.fromDom(e.getBody()))).bind((r) => bi(r, "href")), ZZ = (e, n) => {
|
|
19644
19644
|
if (zZ(n) && !Wt.metaKeyPressed(n)) {
|
|
19645
19645
|
const o = ie.fromDom(n.target);
|
|
19646
19646
|
WZ(e, o).each((r) => {
|
|
@@ -19787,9 +19787,9 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19787
19787
|
return e.getDoc().documentElement;
|
|
19788
19788
|
const o = jf(e);
|
|
19789
19789
|
return o ? (e.eventRoot || (e.eventRoot = f4.select(o)[0]), e.eventRoot) : e.getBody();
|
|
19790
|
-
}, KD = (e) => !e.hidden && !xg(e),
|
|
19790
|
+
}, KD = (e) => !e.hidden && !xg(e), S7 = (e, n, o) => {
|
|
19791
19791
|
KD(e) ? e.dispatch(n, o) : xg(e) && ZZ(e, o);
|
|
19792
|
-
},
|
|
19792
|
+
}, k7 = (e, n) => {
|
|
19793
19793
|
if (e.delegates || (e.delegates = {}), e.delegates[n] || e.removed)
|
|
19794
19794
|
return;
|
|
19795
19795
|
const o = Vx(e, n);
|
|
@@ -19805,27 +19805,27 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19805
19805
|
let b = f.length;
|
|
19806
19806
|
for (; b--; ) {
|
|
19807
19807
|
const y = f[b].getBody();
|
|
19808
|
-
(y === u || f4.isChildOf(u, y)) &&
|
|
19808
|
+
(y === u || f4.isChildOf(u, y)) && S7(f[b], n, l);
|
|
19809
19809
|
}
|
|
19810
19810
|
};
|
|
19811
19811
|
Bh[n] = r, f4.bind(o, n, r);
|
|
19812
19812
|
} else {
|
|
19813
19813
|
const r = (l) => {
|
|
19814
|
-
|
|
19814
|
+
S7(e, n, l);
|
|
19815
19815
|
};
|
|
19816
19816
|
f4.bind(o, n, r), e.delegates[n] = r;
|
|
19817
19817
|
}
|
|
19818
|
-
},
|
|
19818
|
+
}, T7 = {
|
|
19819
19819
|
...qD,
|
|
19820
19820
|
bindPendingEventDelegates() {
|
|
19821
19821
|
const e = this;
|
|
19822
19822
|
ct.each(e._pendingNativeEvents, (n) => {
|
|
19823
|
-
|
|
19823
|
+
k7(e, n);
|
|
19824
19824
|
});
|
|
19825
19825
|
},
|
|
19826
19826
|
toggleNativeEvent(e, n) {
|
|
19827
19827
|
const o = this;
|
|
19828
|
-
e === "focus" || e === "blur" || o.removed || (n ? o.initialized ?
|
|
19828
|
+
e === "focus" || e === "blur" || o.removed || (n ? o.initialized ? k7(o, e) : o._pendingNativeEvents ? o._pendingNativeEvents.push(e) : o._pendingNativeEvents = [e] : o.initialized && o.delegates && (o.dom.unbind(Vx(o, e), e, o.delegates[e]), delete o.delegates[e]));
|
|
19829
19829
|
},
|
|
19830
19830
|
unbindAllNativeEvents() {
|
|
19831
19831
|
const e = this, n = e.getBody(), o = e.dom;
|
|
@@ -19868,10 +19868,10 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19868
19868
|
}
|
|
19869
19869
|
})();
|
|
19870
19870
|
return (o) => y0(o, n, `The value must be a ${e}.`);
|
|
19871
|
-
}, KZ = (e) => he(e.processor),
|
|
19871
|
+
}, KZ = (e) => he(e.processor), E7 = (e, n) => {
|
|
19872
19872
|
const o = ea(n.message) ? "" : `. ${n.message}`;
|
|
19873
19873
|
return e + o;
|
|
19874
|
-
},
|
|
19874
|
+
}, A7 = (e) => e.valid, y0 = (e, n, o = "") => {
|
|
19875
19875
|
const r = n(e);
|
|
19876
19876
|
return Nn(r) ? r ? {
|
|
19877
19877
|
value: e,
|
|
@@ -19883,14 +19883,14 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19883
19883
|
}, xf = (e, n, o) => {
|
|
19884
19884
|
if (!ss(n)) {
|
|
19885
19885
|
const r = y0(n, o);
|
|
19886
|
-
if (
|
|
19886
|
+
if (A7(r))
|
|
19887
19887
|
return r.value;
|
|
19888
|
-
console.error(
|
|
19888
|
+
console.error(E7(`Invalid default value passed for the "${e}" option`, r));
|
|
19889
19889
|
}
|
|
19890
19890
|
}, YZ = (e, n) => {
|
|
19891
19891
|
const o = {}, r = {}, l = (B, F, Q) => {
|
|
19892
19892
|
const oe = y0(F, Q);
|
|
19893
|
-
return
|
|
19893
|
+
return A7(oe) ? (r[B] = oe.value, !0) : (console.warn(E7(`Invalid value passed for the ${B} option`, oe)), !1);
|
|
19894
19894
|
}, u = (B, F) => {
|
|
19895
19895
|
const Q = KZ(F) ? qZ(F.processor) : F.processor, oe = xf(B, F.default, Q);
|
|
19896
19896
|
o[B] = {
|
|
@@ -19919,7 +19919,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19919
19919
|
}, XZ = [
|
|
19920
19920
|
"design",
|
|
19921
19921
|
"readonly"
|
|
19922
|
-
],
|
|
19922
|
+
], D7 = (e, n, o, r) => {
|
|
19923
19923
|
const l = o[n.get()], u = o[r];
|
|
19924
19924
|
try {
|
|
19925
19925
|
u.activate();
|
|
@@ -19932,7 +19932,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19932
19932
|
if (r !== o.get()) {
|
|
19933
19933
|
if (!pn(n, r))
|
|
19934
19934
|
throw new Error(`Editor mode '${r}' is invalid`);
|
|
19935
|
-
e.initialized ?
|
|
19935
|
+
e.initialized ? D7(e, o, n, r) : e.on("init", () => D7(e, o, n, r));
|
|
19936
19936
|
}
|
|
19937
19937
|
}, QZ = (e, n, o) => {
|
|
19938
19938
|
if (qe(XZ, n))
|
|
@@ -19995,7 +19995,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19995
19995
|
n[l] ? r.push(l) : n[l] = !1;
|
|
19996
19996
|
return n.id = r.join(","), n.access && (n.alt = !0, o ? n.ctrl = !0 : n.shift = !0), n.meta && (o ? n.meta = !0 : (n.ctrl = !0, n.meta = !1)), n;
|
|
19997
19997
|
};
|
|
19998
|
-
class
|
|
19998
|
+
class O7 {
|
|
19999
19999
|
constructor(n) {
|
|
20000
20000
|
this.shortcuts = {}, this.pendingPatterns = [], this.editor = n;
|
|
20001
20001
|
const o = this;
|
|
@@ -20104,7 +20104,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20104
20104
|
}, lb = Is.DOM, lj = ct.extend, cj = ct.each;
|
|
20105
20105
|
class g4 {
|
|
20106
20106
|
constructor(n, o, r) {
|
|
20107
|
-
this.plugins = {}, this.contentCSS = [], this.contentStyles = [], this.loadedCSS = {}, this.isNotDirty = !1, this.composing = !1, this.destroyed = !1, this.hasHiddenInput = !1, this.iframeElement = null, this.initialized = !1, this.readonly = !1, this.removed = !1, this.startContent = "", this._pendingNativeEvents = [], this._skinLoaded = !1, this._editableRoot = !0, this.editorManager = r, this.documentBaseUrl = r.documentBaseURL, lj(this,
|
|
20107
|
+
this.plugins = {}, this.contentCSS = [], this.contentStyles = [], this.loadedCSS = {}, this.isNotDirty = !1, this.composing = !1, this.destroyed = !1, this.hasHiddenInput = !1, this.iframeElement = null, this.initialized = !1, this.readonly = !1, this.removed = !1, this.startContent = "", this._pendingNativeEvents = [], this._skinLoaded = !1, this._editableRoot = !0, this.editorManager = r, this.documentBaseUrl = r.documentBaseURL, lj(this, T7);
|
|
20108
20108
|
const l = this;
|
|
20109
20109
|
this.id = n, this.hidden = !1;
|
|
20110
20110
|
const u = mZ(r.defaultOptions, o);
|
|
@@ -20118,7 +20118,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20118
20118
|
const k = ro(l);
|
|
20119
20119
|
k && (ra.ScriptLoader._setReferrerPolicy(k), Is.DOM.styleSheetLoader._setReferrerPolicy(k));
|
|
20120
20120
|
const P = Tp(l);
|
|
20121
|
-
Ze(P) && Is.DOM.styleSheetLoader._setContentCssCors(P), Kl.languageLoad = f("language_load"), Kl.baseURL = r.baseURL, this.setDirty(!1), this.documentBaseURI = new Cd(h2(l), { base_uri: this.baseUri }), this.baseURI = this.baseUri, this.inline = k2(l), this.hasVisual = p3(l), this.shortcuts = new
|
|
20121
|
+
Ze(P) && Is.DOM.styleSheetLoader._setContentCssCors(P), Kl.languageLoad = f("language_load"), Kl.baseURL = r.baseURL, this.setDirty(!1), this.documentBaseURI = new Cd(h2(l), { base_uri: this.baseUri }), this.baseURI = this.baseUri, this.inline = k2(l), this.hasVisual = p3(l), this.shortcuts = new O7(this), this.editorCommands = new WD(this), zD(this);
|
|
20122
20122
|
const B = f("cache_suffix");
|
|
20123
20123
|
B && (It.cacheSuffix = B.replace(/^[\?\&]+/, "")), this.ui = {
|
|
20124
20124
|
registry: aj(),
|
|
@@ -20322,7 +20322,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20322
20322
|
}
|
|
20323
20323
|
}
|
|
20324
20324
|
const Sy = Is.DOM, h4 = ct.each;
|
|
20325
|
-
let
|
|
20325
|
+
let R7 = !1, p4, Hi = [];
|
|
20326
20326
|
const b4 = (e) => {
|
|
20327
20327
|
const n = e.type;
|
|
20328
20328
|
h4(w0.get(), (o) => {
|
|
@@ -20335,16 +20335,16 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20335
20335
|
break;
|
|
20336
20336
|
}
|
|
20337
20337
|
});
|
|
20338
|
-
}, $
|
|
20339
|
-
if (e !==
|
|
20338
|
+
}, $7 = (e) => {
|
|
20339
|
+
if (e !== R7) {
|
|
20340
20340
|
const n = Is.DOM;
|
|
20341
|
-
e ? (n.bind(window, "resize", b4), n.bind(window, "scroll", b4)) : (n.unbind(window, "resize", b4), n.unbind(window, "scroll", b4)),
|
|
20341
|
+
e ? (n.bind(window, "resize", b4), n.bind(window, "scroll", b4)) : (n.unbind(window, "resize", b4), n.unbind(window, "scroll", b4)), R7 = e;
|
|
20342
20342
|
}
|
|
20343
|
-
},
|
|
20343
|
+
}, M7 = (e) => {
|
|
20344
20344
|
const n = Hi;
|
|
20345
20345
|
return Hi = zt(Hi, (o) => e !== o), w0.activeEditor === e && (w0.activeEditor = Hi.length > 0 ? Hi[0] : null), w0.focusedEditor === e && (w0.focusedEditor = null), n.length !== Hi.length;
|
|
20346
20346
|
}, ij = (e) => {
|
|
20347
|
-
e && e.initialized && !(e.getContainer() || e.getBody()).parentNode && (
|
|
20347
|
+
e && e.initialized && !(e.getContainer() || e.getBody()).parentNode && (M7(e), e.unbindAllNativeEvents(), e.destroy(!0), e.removed = !0);
|
|
20348
20348
|
}, uj = document.compatMode !== "CSS1Compat", w0 = {
|
|
20349
20349
|
...qD,
|
|
20350
20350
|
baseURI: null,
|
|
@@ -20382,7 +20382,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20382
20382
|
f.indexOf(".min") !== -1 && (o = ".min"), n = f.substring(0, f.lastIndexOf("/"));
|
|
20383
20383
|
}
|
|
20384
20384
|
}
|
|
20385
|
-
e.baseURL = new Cd(r).toAbsolute(n), e.documentBaseURL = r, e.baseURI = new Cd(e.baseURL), e.suffix = o,
|
|
20385
|
+
e.baseURL = new Cd(r).toAbsolute(n), e.documentBaseURL = r, e.baseURI = new Cd(e.baseURL), e.suffix = o, aN(e);
|
|
20386
20386
|
},
|
|
20387
20387
|
overrideDefaults(e) {
|
|
20388
20388
|
const n = e.base_url;
|
|
@@ -20435,7 +20435,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20435
20435
|
},
|
|
20436
20436
|
add(e) {
|
|
20437
20437
|
const n = this, o = n.get(e.id);
|
|
20438
|
-
return o === e || (o === null && Hi.push(e), $
|
|
20438
|
+
return o === e || (o === null && Hi.push(e), $7(!0), n.activeEditor = e, n.dispatch("AddEditor", { editor: e }), p4 || (p4 = (r) => {
|
|
20439
20439
|
const l = n.dispatch("BeforeUnload");
|
|
20440
20440
|
if (l.returnValue)
|
|
20441
20441
|
return r.preventDefault(), r.returnValue = l.returnValue, l.returnValue;
|
|
@@ -20458,7 +20458,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20458
20458
|
});
|
|
20459
20459
|
return;
|
|
20460
20460
|
}
|
|
20461
|
-
return o = e, ae(n.get(o.id)) ? null : (
|
|
20461
|
+
return o = e, ae(n.get(o.id)) ? null : (M7(o) && n.dispatch("RemoveEditor", { editor: o }), Hi.length === 0 && window.removeEventListener("beforeunload", p4), o.remove(), $7(Hi.length > 0), o);
|
|
20462
20462
|
},
|
|
20463
20463
|
execCommand(e, n, o) {
|
|
20464
20464
|
var r;
|
|
@@ -20514,19 +20514,19 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20514
20514
|
read: r,
|
|
20515
20515
|
clear: l
|
|
20516
20516
|
};
|
|
20517
|
-
})(),
|
|
20517
|
+
})(), P7 = Math.min, cb = Math.max, v4 = Math.round, B7 = (e, n, o) => {
|
|
20518
20518
|
let r = n.x, l = n.y;
|
|
20519
20519
|
const u = e.w, f = e.h, b = n.w, y = n.h, k = (o || "").split("");
|
|
20520
20520
|
return k[0] === "b" && (l += y), k[1] === "r" && (r += b), k[0] === "c" && (l += v4(y / 2)), k[1] === "c" && (r += v4(b / 2)), k[3] === "b" && (l -= f), k[4] === "r" && (r -= u), k[3] === "c" && (l -= v4(f / 2)), k[4] === "c" && (r -= v4(u / 2)), ky(r, l, u, f);
|
|
20521
20521
|
}, mj = (e, n, o, r) => {
|
|
20522
20522
|
for (let l = 0; l < r.length; l++) {
|
|
20523
|
-
const u =
|
|
20523
|
+
const u = B7(e, n, r[l]);
|
|
20524
20524
|
if (u.x >= o.x && u.x + u.w <= o.w + o.x && u.y >= o.y && u.y + u.h <= o.h + o.y)
|
|
20525
20525
|
return r[l];
|
|
20526
20526
|
}
|
|
20527
20527
|
return null;
|
|
20528
20528
|
}, fj = (e, n, o) => ky(e.x - n, e.y - o, e.w + n * 2, e.h + o * 2), gj = (e, n) => {
|
|
20529
|
-
const o = cb(e.x, n.x), r = cb(e.y, n.y), l =
|
|
20529
|
+
const o = cb(e.x, n.x), r = cb(e.y, n.y), l = P7(e.x + e.w, n.x + n.w), u = P7(e.y + e.h, n.y + n.h);
|
|
20530
20530
|
return l - o < 0 || u - r < 0 ? null : ky(o, r, l - o, u - r);
|
|
20531
20531
|
}, hj = (e, n, o) => {
|
|
20532
20532
|
let r = e.x, l = e.y, u = e.x + e.w, f = e.y + e.h;
|
|
@@ -20537,9 +20537,9 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20537
20537
|
y: n,
|
|
20538
20538
|
w: o,
|
|
20539
20539
|
h: r
|
|
20540
|
-
}),
|
|
20540
|
+
}), N7 = {
|
|
20541
20541
|
inflate: fj,
|
|
20542
|
-
relativePosition:
|
|
20542
|
+
relativePosition: B7,
|
|
20543
20543
|
findBestRelativePosition: mj,
|
|
20544
20544
|
intersect: gj,
|
|
20545
20545
|
clamp: hj,
|
|
@@ -20615,7 +20615,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20615
20615
|
}
|
|
20616
20616
|
var yj = zx;
|
|
20617
20617
|
const wj = {
|
|
20618
|
-
geom: { Rect:
|
|
20618
|
+
geom: { Rect: N7 },
|
|
20619
20619
|
util: {
|
|
20620
20620
|
Delay: Fu,
|
|
20621
20621
|
Tools: ct,
|
|
@@ -20658,8 +20658,8 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20658
20658
|
EditorCommands: WD,
|
|
20659
20659
|
WindowManager: H6,
|
|
20660
20660
|
NotificationManager: w5,
|
|
20661
|
-
EditorObservable:
|
|
20662
|
-
Shortcuts:
|
|
20661
|
+
EditorObservable: T7,
|
|
20662
|
+
Shortcuts: O7,
|
|
20663
20663
|
Editor: g4,
|
|
20664
20664
|
FocusManager: TO,
|
|
20665
20665
|
EditorManager: w0,
|
|
@@ -20685,7 +20685,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20685
20685
|
resolve: ct.resolve,
|
|
20686
20686
|
explode: ct.explode,
|
|
20687
20687
|
_addCacheSuffix: ct._addCacheSuffix
|
|
20688
|
-
},
|
|
20688
|
+
}, I7 = ct.extend(w0, wj), L7 = (e) => {
|
|
20689
20689
|
try {
|
|
20690
20690
|
A.exports = e;
|
|
20691
20691
|
} catch {
|
|
@@ -20693,7 +20693,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20693
20693
|
};
|
|
20694
20694
|
((e) => {
|
|
20695
20695
|
window.tinymce = e, window.tinyMCE = e;
|
|
20696
|
-
})(
|
|
20696
|
+
})(I7), L7(I7);
|
|
20697
20697
|
})();
|
|
20698
20698
|
})(cq);
|
|
20699
20699
|
var nte = cq.exports;
|
|
@@ -20899,7 +20899,7 @@ tinymce.IconManager.add("default", {
|
|
|
20899
20899
|
}, G = (t) => {
|
|
20900
20900
|
const s = typeof t;
|
|
20901
20901
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && re(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20902
|
-
}, _e = (t) => (s) => G(s) === t, ne = (t) => (s) => typeof s === t, Z = (t) => (s) => t === s,
|
|
20902
|
+
}, _e = (t) => (s) => G(s) === t, ne = (t) => (s) => typeof s === t, Z = (t) => (s) => t === s, Ce = (t, s) => $e(t) && re(t, s, (a, c) => A(a) === c), ee = _e("string"), $e = _e("object"), at = (t) => Ce(t, Object), yt = _e("array"), hn = Z(null), Et = ne("boolean"), io = Z(void 0), lo = (t) => t == null, eo = (t) => !lo(t), Ot = ne("function"), Ls = ne("number"), un = (t, s) => {
|
|
20903
20903
|
if (yt(t)) {
|
|
20904
20904
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20905
20905
|
if (!s(t[a]))
|
|
@@ -22617,14 +22617,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22617
22617
|
ur(s, J), ki(s, W);
|
|
22618
22618
|
}, Me = (Oe) => {
|
|
22619
22619
|
nh(s, Oe);
|
|
22620
|
-
},
|
|
22620
|
+
}, xe = () => {
|
|
22621
22621
|
const Oe = t.domChildren;
|
|
22622
22622
|
uO(s, Oe);
|
|
22623
22623
|
}, ve = () => {
|
|
22624
22624
|
const Oe = s, dt = t.value.getOrUndefined();
|
|
22625
22625
|
dt !== qd(Oe) && mp(Oe, dt ?? "");
|
|
22626
22626
|
};
|
|
22627
|
-
return w(), de(), N(), t.innerHtml.fold(
|
|
22627
|
+
return w(), de(), N(), t.innerHtml.fold(xe, Me), ve(), s;
|
|
22628
22628
|
}, W4 = (t) => {
|
|
22629
22629
|
const s = Ae.fromTag(t.tag);
|
|
22630
22630
|
Yu(s, t.attributes), ur(s, t.classes), Ms(s, t.styles), t.innerHtml.each((c) => nh(s, c));
|
|
@@ -22670,14 +22670,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22670
22670
|
return (Ot(Je[dt.name()]) ? Je[dt.name()] : () => {
|
|
22671
22671
|
throw new Error("Could not find " + dt.name() + " in " + JSON.stringify(t, null, 2));
|
|
22672
22672
|
})();
|
|
22673
|
-
}, Me = (dt) => Ot(w[dt.name()]),
|
|
22673
|
+
}, Me = (dt) => Ot(w[dt.name()]), xe = () => d.apis, ve = (dt) => w[dt]().map((Je) => Je.state.readState()).getOr("not enabled"), Oe = {
|
|
22674
22674
|
uid: t.uid,
|
|
22675
22675
|
getSystem: c.get,
|
|
22676
22676
|
config: de,
|
|
22677
22677
|
hasConfigured: Me,
|
|
22678
22678
|
spec: t,
|
|
22679
22679
|
readState: ve,
|
|
22680
|
-
getApis:
|
|
22680
|
+
getApis: xe,
|
|
22681
22681
|
connect: H,
|
|
22682
22682
|
disconnect: W,
|
|
22683
22683
|
element: E,
|
|
@@ -23134,8 +23134,8 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23134
23134
|
]
|
|
23135
23135
|
}
|
|
23136
23136
|
]), EC = (t, s, a, c, d, g) => {
|
|
23137
|
-
const p = s.rect, w = p.x - a, C = p.y - c, E = p.width, $ = p.height, N = d - (w + E), H = g - (C + $), W = D.some(w), J = D.some(C), de = D.some(N), Me = D.some(H),
|
|
23138
|
-
return Zf(s.direction, () => Ai(t, W, J,
|
|
23137
|
+
const p = s.rect, w = p.x - a, C = p.y - c, E = p.width, $ = p.height, N = d - (w + E), H = g - (C + $), W = D.some(w), J = D.some(C), de = D.some(N), Me = D.some(H), xe = D.none();
|
|
23138
|
+
return Zf(s.direction, () => Ai(t, W, J, xe, xe), () => Ai(t, xe, J, de, xe), () => Ai(t, W, xe, xe, Me), () => Ai(t, xe, xe, de, Me), () => Ai(t, W, J, xe, xe), () => Ai(t, W, xe, xe, Me), () => Ai(t, W, J, xe, xe), () => Ai(t, xe, J, de, xe));
|
|
23139
23139
|
}, h2 = (t, s) => t.fold(() => {
|
|
23140
23140
|
const a = s.rect;
|
|
23141
23141
|
return Ai("absolute", D.some(a.x), D.some(a.y), D.none(), D.none());
|
|
@@ -23177,10 +23177,10 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23177
23177
|
y: c,
|
|
23178
23178
|
right: d,
|
|
23179
23179
|
bottom: g
|
|
23180
|
-
} = s, { x: p, y: w, right: C, bottom: E, width: $, height: N } = t, H = p >= a && p <= d, W = w >= c && w <= g, J = H && W, de = C <= d && C >= a, Me = E <= g && E >= c,
|
|
23180
|
+
} = s, { x: p, y: w, right: C, bottom: E, width: $, height: N } = t, H = p >= a && p <= d, W = w >= c && w <= g, J = H && W, de = C <= d && C >= a, Me = E <= g && E >= c, xe = de && Me, ve = Math.min($, p >= a ? d - p : C - a), Oe = Math.min(N, w >= c ? g - w : E - c);
|
|
23181
23181
|
return {
|
|
23182
23182
|
originInBounds: J,
|
|
23183
|
-
sizeInBounds:
|
|
23183
|
+
sizeInBounds: xe,
|
|
23184
23184
|
visibleW: ve,
|
|
23185
23185
|
visibleH: Oe
|
|
23186
23186
|
};
|
|
@@ -23199,10 +23199,10 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23199
23199
|
maxHeight: g
|
|
23200
23200
|
};
|
|
23201
23201
|
}, l3 = (t, s, a, c) => {
|
|
23202
|
-
const d = t.bubble, g = d.offset, p = qb(c, t.restriction, g), w = t.x + g.left, C = t.y + g.top, E = Bs(w, C, s, a), { originInBounds: $, sizeInBounds: N, visibleW: H, visibleH: W } = OC(E, p), J = $ && N, de = J ? E : y2(E, p), Me = de.width > 0 && de.height > 0, { maxWidth:
|
|
23202
|
+
const d = t.bubble, g = d.offset, p = qb(c, t.restriction, g), w = t.x + g.left, C = t.y + g.top, E = Bs(w, C, s, a), { originInBounds: $, sizeInBounds: N, visibleW: H, visibleH: W } = OC(E, p), J = $ && N, de = J ? E : y2(E, p), Me = de.width > 0 && de.height > 0, { maxWidth: xe, maxHeight: ve } = dh(t.direction, de, c), Oe = {
|
|
23203
23203
|
rect: de,
|
|
23204
23204
|
maxHeight: ve,
|
|
23205
|
-
maxWidth:
|
|
23205
|
+
maxWidth: xe,
|
|
23206
23206
|
direction: t.direction,
|
|
23207
23207
|
placement: t.placement,
|
|
23208
23208
|
classes: {
|
|
@@ -23216,7 +23216,7 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23216
23216
|
}, c3 = (t, s, a, c, d, g) => {
|
|
23217
23217
|
const p = c.width, w = c.height, C = ($, N, H, W, J) => {
|
|
23218
23218
|
const de = $(a, c, d, t, g), Me = l3(de, p, w, g);
|
|
23219
|
-
return Me.fold(ae(Me), (
|
|
23219
|
+
return Me.fold(ae(Me), (xe, ve, Oe, dt) => (J === dt ? Oe > W || ve > H : !J && dt) ? Me : J0.nofit(N, H, W, J));
|
|
23220
23220
|
};
|
|
23221
23221
|
return Wo(s, ($, N) => {
|
|
23222
23222
|
const H = In(C, N);
|
|
@@ -24683,8 +24683,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24683
24683
|
J(de, E, $), Me.stop();
|
|
24684
24684
|
})), H = (J, de) => {
|
|
24685
24685
|
const Me = ko(Ri.concat(om))(de.event);
|
|
24686
|
-
E.focusInside === h.OnEnterOrSpaceMode && Me && Yc(J, de) && d(E).each((
|
|
24687
|
-
|
|
24686
|
+
E.focusInside === h.OnEnterOrSpaceMode && Me && Yc(J, de) && d(E).each((xe) => {
|
|
24687
|
+
xe(J, E, $), de.stop();
|
|
24688
24688
|
});
|
|
24689
24689
|
}, W = [
|
|
24690
24690
|
Qe(Ou(), (J, de) => {
|
|
@@ -24712,26 +24712,26 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24712
24712
|
Re("firstTabstop", 0),
|
|
24713
24713
|
Re("useTabstopAt", Nt),
|
|
24714
24714
|
Uo("visibilitySelector")
|
|
24715
|
-
].concat([t]), a = (
|
|
24716
|
-
const Oe =
|
|
24715
|
+
].concat([t]), a = (xe, ve) => {
|
|
24716
|
+
const Oe = xe.visibilitySelector.bind((dt) => dd(ve, dt)).getOr(ve);
|
|
24717
24717
|
return Us(Oe) > 0;
|
|
24718
|
-
}, c = (
|
|
24719
|
-
const Oe = ka(
|
|
24718
|
+
}, c = (xe, ve) => {
|
|
24719
|
+
const Oe = ka(xe.element, ve.selector), dt = so(Oe, (Je) => a(ve, Je));
|
|
24720
24720
|
return D.from(dt[ve.firstTabstop]);
|
|
24721
|
-
}, d = (
|
|
24722
|
-
c(
|
|
24723
|
-
ve.focusManager.set(
|
|
24724
|
-
});
|
|
24725
|
-
}, w = (
|
|
24726
|
-
const Je = ka(
|
|
24727
|
-
return d(
|
|
24728
|
-
}, E = (
|
|
24721
|
+
}, d = (xe, ve) => ve.focusManager.get(xe).bind((Oe) => dd(Oe, ve.selector)), g = (xe, ve) => a(xe, ve) && xe.useTabstopAt(ve), p = (xe, ve, Oe) => {
|
|
24722
|
+
c(xe, ve).each((dt) => {
|
|
24723
|
+
ve.focusManager.set(xe, dt);
|
|
24724
|
+
});
|
|
24725
|
+
}, w = (xe, ve, Oe, dt, Je) => Je(ve, Oe, (Ge) => g(dt, Ge)).fold(() => dt.cyclic ? D.some(!0) : D.none(), (Ge) => (dt.focusManager.set(xe, Ge), D.some(!0))), C = (xe, ve, Oe, dt) => {
|
|
24726
|
+
const Je = ka(xe.element, Oe.selector);
|
|
24727
|
+
return d(xe, Oe).bind((Ge) => Rt(Je, In(zo, Ge)).bind((At) => w(xe, Je, At, Oe, dt)));
|
|
24728
|
+
}, E = (xe, ve, Oe) => {
|
|
24729
24729
|
const dt = Oe.cyclic ? mw : gT;
|
|
24730
|
-
return C(
|
|
24731
|
-
}, $ = (
|
|
24730
|
+
return C(xe, ve, Oe, dt);
|
|
24731
|
+
}, $ = (xe, ve, Oe) => {
|
|
24732
24732
|
const dt = Oe.cyclic ? fw : hT;
|
|
24733
|
-
return C(
|
|
24734
|
-
}, N = (
|
|
24733
|
+
return C(xe, ve, Oe, dt);
|
|
24734
|
+
}, N = (xe) => Vl(xe).bind(hi).exists((ve) => zo(ve, xe)), H = (xe, ve, Oe) => d(xe, Oe).filter((dt) => !Oe.useTabstopAt(dt)).bind((dt) => (N(dt) ? E : $)(xe, ve, Oe)), W = (xe, ve, Oe) => Oe.onEnter.bind((dt) => dt(xe, ve)), J = (xe, ve, Oe) => Oe.onEscape.bind((dt) => dt(xe, ve)), de = ae([
|
|
24735
24735
|
$o($i([
|
|
24736
24736
|
cf,
|
|
24737
24737
|
ko(af)
|
|
@@ -24830,11 +24830,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24830
24830
|
Ir(t.element, s.selector).each((c) => {
|
|
24831
24831
|
s.focusManager.set(t, c);
|
|
24832
24832
|
});
|
|
24833
|
-
}, A_ = (t, s) => s.focusManager.get(t).bind((a) => dd(a, s.selector)), D_ = (t, s, a, c) => A_(t, a).bind((d) => a.execute(t, s, d)), Yp = (t) => (s, a, c, d) => ec(s, a, c.selector).bind((g) => t(g.candidates, g.index, d.getNumRows().getOr(c.initSize.numRows), d.getNumColumns().getOr(c.initSize.numColumns))), O_ = (t, s, a) => a.captureTab ? D.some(!0) : D.none(), Mv = (t, s, a) => a.onEscape(t, s), R_ = Yp(pw), Ch = Yp(pc), CO = Yp(O1),
|
|
24833
|
+
}, A_ = (t, s) => s.focusManager.get(t).bind((a) => dd(a, s.selector)), D_ = (t, s, a, c) => A_(t, a).bind((d) => a.execute(t, s, d)), Yp = (t) => (s, a, c, d) => ec(s, a, c.selector).bind((g) => t(g.candidates, g.index, d.getNumRows().getOr(c.initSize.numRows), d.getNumColumns().getOr(c.initSize.numColumns))), O_ = (t, s, a) => a.captureTab ? D.some(!0) : D.none(), Mv = (t, s, a) => a.onEscape(t, s), R_ = Yp(pw), Ch = Yp(pc), CO = Yp(O1), K7 = Yp(sm), Y7 = ae([
|
|
24834
24834
|
$o(ko(Rv), Gn(R_, Ch)),
|
|
24835
24835
|
$o(ko(qp), qs(R_, Ch)),
|
|
24836
24836
|
$o(ko(lf), Mc(CO)),
|
|
24837
|
-
$o(ko(D1), wh(
|
|
24837
|
+
$o(ko(D1), wh(K7)),
|
|
24838
24838
|
$o($i([
|
|
24839
24839
|
cf,
|
|
24840
24840
|
ko(af)
|
|
@@ -24844,11 +24844,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24844
24844
|
ko(af)
|
|
24845
24845
|
]), O_),
|
|
24846
24846
|
$o(ko(Ri.concat(om)), D_)
|
|
24847
|
-
]),
|
|
24847
|
+
]), X7 = ae([
|
|
24848
24848
|
$o(ko(Ov), Mv),
|
|
24849
24849
|
$o(ko(Ri), me)
|
|
24850
24850
|
]);
|
|
24851
|
-
var
|
|
24851
|
+
var J7 = v(Rl, Lt, Y7, X7, () => D.some(R1));
|
|
24852
24852
|
const _O = (t, s, a, c, d) => {
|
|
24853
24853
|
const g = (w) => Ra(w) === "button" && js(w, "disabled") === "disabled", p = (w, C, E) => d(w, C, c, 0, E.length - 1, E[C], ($) => g(E[$]) ? p(w, $, E) : D.from(E[$]));
|
|
24854
24854
|
return ec(t, a, s).bind((w) => {
|
|
@@ -24870,11 +24870,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24870
24870
|
Re("allowVertical", !0),
|
|
24871
24871
|
Re("allowHorizontal", !0),
|
|
24872
24872
|
Re("cycles", !0)
|
|
24873
|
-
],
|
|
24873
|
+
], Q7 = (t, s) => s.focusManager.get(t).bind((a) => dd(a, s.selector)), kO = (t, s, a) => Q7(t, a).bind((c) => a.execute(t, s, c)), TO = (t, s, a) => {
|
|
24874
24874
|
s.getInitial(t).orThunk(() => Ir(t.element, s.selector)).each((c) => {
|
|
24875
24875
|
s.focusManager.set(t, c);
|
|
24876
24876
|
});
|
|
24877
|
-
}, EO = (t, s, a) => (a.cycles ? Pv : SO)(t, a.selector, s, -1), AO = (t, s, a) => (a.cycles ? Pv : SO)(t, a.selector, s, 1), Fu = (t) => (s, a, c, d) => t(s, a, c, d).bind(() => c.executeOnMove ? kO(s, a, c) : D.some(!0)),
|
|
24877
|
+
}, EO = (t, s, a) => (a.cycles ? Pv : SO)(t, a.selector, s, -1), AO = (t, s, a) => (a.cycles ? Pv : SO)(t, a.selector, s, 1), Fu = (t) => (s, a, c, d) => t(s, a, c, d).bind(() => c.executeOnMove ? kO(s, a, c) : D.some(!0)), eN = (t, s, a) => a.onEscape(t, s), tN = (t, s, a, c) => {
|
|
24878
24878
|
const d = [...a.allowHorizontal ? Rv : []].concat(a.allowVertical ? lf : []), g = [...a.allowHorizontal ? qp : []].concat(a.allowVertical ? D1 : []);
|
|
24879
24879
|
return [
|
|
24880
24880
|
$o(ko(d), Fu(Gn(EO, AO))),
|
|
@@ -24882,11 +24882,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24882
24882
|
$o(ko(om), kO),
|
|
24883
24883
|
$o(ko(Ri), kO)
|
|
24884
24884
|
];
|
|
24885
|
-
},
|
|
24885
|
+
}, nN = ae([
|
|
24886
24886
|
$o(ko(Ri), me),
|
|
24887
|
-
$o(ko(Ov),
|
|
24887
|
+
$o(ko(Ov), eN)
|
|
24888
24888
|
]);
|
|
24889
|
-
var
|
|
24889
|
+
var oN = v(vT, $u.init, tN, nN, () => D.some(TO));
|
|
24890
24890
|
const $_ = (t, s, a) => D.from(t[s]).bind((c) => D.from(c[a]).map((d) => ({
|
|
24891
24891
|
rowIndex: s,
|
|
24892
24892
|
columnIndex: a,
|
|
@@ -24903,7 +24903,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24903
24903
|
}, P_ = (t, s, a, c) => {
|
|
24904
24904
|
const d = Ei(a + c, 0, t.length - 1), g = t[d].length, p = Ei(s, 0, g - 1);
|
|
24905
24905
|
return $_(t, d, p);
|
|
24906
|
-
}, B_ = (t, s, a) => $1(t, s, a, 1), yT = (t, s, a) => $1(t, s, a, -1),
|
|
24906
|
+
}, B_ = (t, s, a) => $1(t, s, a, 1), yT = (t, s, a) => $1(t, s, a, -1), sN = (t, s, a) => M_(t, a, s, -1), rN = (t, s, a) => M_(t, a, s, 1), aN = (t, s, a) => DO(t, s, a, -1), lN = (t, s, a) => DO(t, s, a, 1), cN = (t, s, a) => P_(t, a, s, -1), iN = (t, s, a) => P_(t, a, s, 1), OO = [
|
|
24907
24907
|
_i("selectors", [
|
|
24908
24908
|
nt("row"),
|
|
24909
24909
|
nt("cell")
|
|
@@ -24918,26 +24918,26 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24918
24918
|
}).each((d) => {
|
|
24919
24919
|
s.focusManager.set(t, d);
|
|
24920
24920
|
});
|
|
24921
|
-
},
|
|
24921
|
+
}, uN = (t, s, a) => Pu(t.element).bind((c) => a.execute(t, s, c)), dN = (t, s) => tt(t, (a) => ka(a, s.selectors.cell)), N_ = (t, s) => (a, c, d) => {
|
|
24922
24922
|
const g = d.cycles ? t : s;
|
|
24923
24923
|
return dd(c, d.selectors.row).bind((p) => {
|
|
24924
24924
|
const w = ka(p, d.selectors.cell);
|
|
24925
24925
|
return pl(w, c).bind((C) => {
|
|
24926
24926
|
const E = ka(a, d.selectors.row);
|
|
24927
24927
|
return pl(E, p).bind(($) => {
|
|
24928
|
-
const N =
|
|
24928
|
+
const N = dN(E, d);
|
|
24929
24929
|
return g(N, $, C).map((H) => H.cell);
|
|
24930
24930
|
});
|
|
24931
24931
|
});
|
|
24932
24932
|
});
|
|
24933
|
-
}, RO = N_(yT,
|
|
24933
|
+
}, RO = N_(yT, aN), Xp = N_(B_, lN), $O = N_(sN, cN), mN = N_(rN, iN), xT = ae([
|
|
24934
24934
|
$o(ko(Rv), Gn(RO, Xp)),
|
|
24935
24935
|
$o(ko(qp), qs(RO, Xp)),
|
|
24936
24936
|
$o(ko(lf), Mc($O)),
|
|
24937
|
-
$o(ko(D1), wh(
|
|
24938
|
-
$o(ko(Ri.concat(om)),
|
|
24939
|
-
]),
|
|
24940
|
-
var MO = v(OO, $u.init, xT,
|
|
24937
|
+
$o(ko(D1), wh(mN)),
|
|
24938
|
+
$o(ko(Ri.concat(om)), uN)
|
|
24939
|
+
]), fN = ae([$o(ko(Ri), me)]);
|
|
24940
|
+
var MO = v(OO, $u.init, xT, fN, () => D.some(wT));
|
|
24941
24941
|
const PO = [
|
|
24942
24942
|
nt("selector"),
|
|
24943
24943
|
Re("execute", te),
|
|
@@ -24946,22 +24946,22 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24946
24946
|
Ir(t.element, s.selector).each((c) => {
|
|
24947
24947
|
s.focusManager.set(t, c);
|
|
24948
24948
|
});
|
|
24949
|
-
}, _T = (t, s, a) => Pv(t, a.selector, s, -1), NO = (t, s, a) => Pv(t, a.selector, s, 1),
|
|
24949
|
+
}, _T = (t, s, a) => Pv(t, a.selector, s, -1), NO = (t, s, a) => Pv(t, a.selector, s, 1), gN = (t, s, a, c) => a.moveOnTab ? xh(_T)(t, s, a, c) : D.none(), hN = (t, s, a, c) => a.moveOnTab ? xh(NO)(t, s, a, c) : D.none(), ST = ae([
|
|
24950
24950
|
$o(ko(lf), xh(_T)),
|
|
24951
24951
|
$o(ko(D1), xh(NO)),
|
|
24952
24952
|
$o($i([
|
|
24953
24953
|
cf,
|
|
24954
24954
|
ko(af)
|
|
24955
|
-
]),
|
|
24955
|
+
]), gN),
|
|
24956
24956
|
$o($i([
|
|
24957
24957
|
Kp,
|
|
24958
24958
|
ko(af)
|
|
24959
|
-
]),
|
|
24959
|
+
]), hN),
|
|
24960
24960
|
$o(ko(om), CT),
|
|
24961
24961
|
$o(ko(Ri), CT)
|
|
24962
|
-
]),
|
|
24963
|
-
var
|
|
24964
|
-
const
|
|
24962
|
+
]), pN = ae([$o(ko(Ri), me)]);
|
|
24963
|
+
var bN = v(PO, $u.init, ST, pN, () => D.some(BO));
|
|
24964
|
+
const vN = [
|
|
24965
24965
|
si("onSpace"),
|
|
24966
24966
|
si("onEnter"),
|
|
24967
24967
|
si("onShiftEnter"),
|
|
@@ -24974,7 +24974,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24974
24974
|
si("onEscape"),
|
|
24975
24975
|
Re("stopSpaceKeyup", !1),
|
|
24976
24976
|
Uo("focusIn")
|
|
24977
|
-
],
|
|
24977
|
+
], yN = (t, s, a) => [
|
|
24978
24978
|
$o(ko(Ri), a.onSpace),
|
|
24979
24979
|
$o($i([
|
|
24980
24980
|
Kp,
|
|
@@ -25001,20 +25001,20 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25001
25001
|
...a.stopSpaceKeyup ? [$o(ko(Ri), me)] : [],
|
|
25002
25002
|
$o(ko(Ov), a.onEscape)
|
|
25003
25003
|
];
|
|
25004
|
-
var
|
|
25005
|
-
const
|
|
25004
|
+
var wN = v(vN, $u.init, yN, IO, (t) => t.focusIn);
|
|
25005
|
+
const xN = O.schema(), CN = L.schema(), LO = oN.schema(), _N = J7.schema(), SN = MO.schema(), FO = et.schema(), kN = bN.schema(), TN = wN.schema();
|
|
25006
25006
|
var I_ = /* @__PURE__ */ Object.freeze({
|
|
25007
25007
|
__proto__: null,
|
|
25008
|
-
acyclic:
|
|
25009
|
-
cyclic:
|
|
25008
|
+
acyclic: xN,
|
|
25009
|
+
cyclic: CN,
|
|
25010
25010
|
flow: LO,
|
|
25011
|
-
flatgrid:
|
|
25012
|
-
matrix:
|
|
25011
|
+
flatgrid: _N,
|
|
25012
|
+
matrix: SN,
|
|
25013
25013
|
execution: FO,
|
|
25014
|
-
menu:
|
|
25015
|
-
special:
|
|
25014
|
+
menu: kN,
|
|
25015
|
+
special: TN
|
|
25016
25016
|
});
|
|
25017
|
-
const
|
|
25017
|
+
const EN = (t) => Ar(t, "setGridSize"), mn = Jb({
|
|
25018
25018
|
branchKey: "mode",
|
|
25019
25019
|
branches: I_,
|
|
25020
25020
|
name: "keying",
|
|
@@ -25030,7 +25030,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25030
25030
|
});
|
|
25031
25031
|
},
|
|
25032
25032
|
setGridSize: (t, s, a, c, d) => {
|
|
25033
|
-
|
|
25033
|
+
EN(a) ? a.setGridSize(c, d) : console.error("Layout does not support setGridSize");
|
|
25034
25034
|
}
|
|
25035
25035
|
},
|
|
25036
25036
|
state: tn
|
|
@@ -25049,26 +25049,26 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25049
25049
|
}, L_ = (t, s, a) => {
|
|
25050
25050
|
const c = t.getSystem().build(a);
|
|
25051
25051
|
Ip(t, c, s);
|
|
25052
|
-
},
|
|
25052
|
+
}, AN = (t, s, a, c) => {
|
|
25053
25053
|
tm(s), L_(t, (d, g) => $r(d, g, a), c);
|
|
25054
25054
|
}, zO = (t, s, a, c) => (s.reuseDom ? HO : Pc)(t, c), UO = (t, s, a, c) => {
|
|
25055
25055
|
L_(t, qa, c);
|
|
25056
|
-
},
|
|
25056
|
+
}, DN = (t, s, a, c) => {
|
|
25057
25057
|
L_(t, Ig, c);
|
|
25058
|
-
},
|
|
25058
|
+
}, ON = (t, s, a, c) => {
|
|
25059
25059
|
const d = F_(t);
|
|
25060
25060
|
qe(d, (p) => zo(c.element, p.element)).each(tm);
|
|
25061
25061
|
}, F_ = (t, s) => t.components(), WO = (t, s, a, c, d) => {
|
|
25062
25062
|
const g = F_(t);
|
|
25063
25063
|
return D.from(g[c]).map((p) => (d.fold(() => tm(p), (w) => {
|
|
25064
|
-
(s.reuseDom ? VO :
|
|
25064
|
+
(s.reuseDom ? VO : AN)(t, p, c, w);
|
|
25065
25065
|
}), p));
|
|
25066
25066
|
};
|
|
25067
|
-
var $
|
|
25067
|
+
var $N = /* @__PURE__ */ Object.freeze({
|
|
25068
25068
|
__proto__: null,
|
|
25069
25069
|
append: UO,
|
|
25070
|
-
prepend:
|
|
25071
|
-
remove:
|
|
25070
|
+
prepend: DN,
|
|
25071
|
+
remove: ON,
|
|
25072
25072
|
replaceAt: WO,
|
|
25073
25073
|
replaceBy: (t, s, a, c, d) => {
|
|
25074
25074
|
const g = F_(t);
|
|
@@ -25080,7 +25080,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25080
25080
|
const Fn = Sa({
|
|
25081
25081
|
fields: [Xr("reuseDom", !0)],
|
|
25082
25082
|
name: "replacing",
|
|
25083
|
-
apis: $
|
|
25083
|
+
apis: $N
|
|
25084
25084
|
}), ZO = (t, s) => {
|
|
25085
25085
|
const a = As(s);
|
|
25086
25086
|
return Sa({
|
|
@@ -25103,7 +25103,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25103
25103
|
}, kT = (t, s) => {
|
|
25104
25104
|
s.ignore || (Oc(t.element), s.onFocus(t));
|
|
25105
25105
|
};
|
|
25106
|
-
var
|
|
25106
|
+
var MN = /* @__PURE__ */ Object.freeze({
|
|
25107
25107
|
__proto__: null,
|
|
25108
25108
|
focus: kT,
|
|
25109
25109
|
blur: (t, s) => {
|
|
@@ -25130,7 +25130,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25130
25130
|
fields: Jp,
|
|
25131
25131
|
name: "focusing",
|
|
25132
25132
|
active: jO,
|
|
25133
|
-
apis:
|
|
25133
|
+
apis: MN
|
|
25134
25134
|
}), GO = (t) => ({ init: () => {
|
|
25135
25135
|
const a = gn(t);
|
|
25136
25136
|
return {
|
|
@@ -25142,28 +25142,28 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25142
25142
|
} }), TT = (t, s, a) => {
|
|
25143
25143
|
const c = s.aria;
|
|
25144
25144
|
c.update(t, c, a.get());
|
|
25145
|
-
},
|
|
25145
|
+
}, BN = (t, s, a) => {
|
|
25146
25146
|
s.toggleClass.each((c) => {
|
|
25147
25147
|
a.get() ? Nr(t.element, c) : or(t.element, c);
|
|
25148
25148
|
});
|
|
25149
25149
|
}, bw = (t, s, a, c) => {
|
|
25150
25150
|
const d = a.get();
|
|
25151
|
-
a.set(c),
|
|
25151
|
+
a.set(c), BN(t, s, a), TT(t, s, a), d !== c && s.onToggled(t, c);
|
|
25152
25152
|
}, qO = (t, s, a) => {
|
|
25153
25153
|
bw(t, s, a, !a.get());
|
|
25154
|
-
},
|
|
25154
|
+
}, NN = (t, s, a) => {
|
|
25155
25155
|
bw(t, s, a, !0);
|
|
25156
25156
|
}, KO = (t, s, a) => {
|
|
25157
25157
|
bw(t, s, a, !1);
|
|
25158
25158
|
}, ET = (t, s, a) => a.get(), H_ = (t, s, a) => {
|
|
25159
25159
|
bw(t, s, a, s.selected);
|
|
25160
25160
|
};
|
|
25161
|
-
var
|
|
25161
|
+
var IN = /* @__PURE__ */ Object.freeze({
|
|
25162
25162
|
__proto__: null,
|
|
25163
25163
|
onLoad: H_,
|
|
25164
25164
|
toggle: qO,
|
|
25165
25165
|
isOn: ET,
|
|
25166
|
-
on:
|
|
25166
|
+
on: NN,
|
|
25167
25167
|
off: KO,
|
|
25168
25168
|
set: bw
|
|
25169
25169
|
}), YO = /* @__PURE__ */ Object.freeze({
|
|
@@ -25177,9 +25177,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25177
25177
|
]));
|
|
25178
25178
|
}
|
|
25179
25179
|
});
|
|
25180
|
-
const
|
|
25180
|
+
const FN = (t, s, a) => {
|
|
25181
25181
|
It(t.element, "aria-pressed", a), s.syncWithExpanded && Bv(t, s, a);
|
|
25182
|
-
},
|
|
25182
|
+
}, HN = (t, s, a) => {
|
|
25183
25183
|
It(t.element, "aria-selected", a);
|
|
25184
25184
|
}, vw = (t, s, a) => {
|
|
25185
25185
|
It(t.element, "aria-checked", a);
|
|
@@ -25194,11 +25194,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25194
25194
|
Zl("aria", { mode: "none" }, vo("mode", {
|
|
25195
25195
|
pressed: [
|
|
25196
25196
|
Re("syncWithExpanded", !1),
|
|
25197
|
-
is("update",
|
|
25197
|
+
is("update", FN)
|
|
25198
25198
|
],
|
|
25199
25199
|
checked: [is("update", vw)],
|
|
25200
25200
|
expanded: [is("update", Bv)],
|
|
25201
|
-
selected: [is("update",
|
|
25201
|
+
selected: [is("update", HN)],
|
|
25202
25202
|
none: [is("update", he)]
|
|
25203
25203
|
}))
|
|
25204
25204
|
];
|
|
@@ -25206,7 +25206,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25206
25206
|
fields: XO,
|
|
25207
25207
|
name: "toggling",
|
|
25208
25208
|
active: YO,
|
|
25209
|
-
apis:
|
|
25209
|
+
apis: IN,
|
|
25210
25210
|
state: GO(!1)
|
|
25211
25211
|
}), _h = () => {
|
|
25212
25212
|
const t = (s, a) => {
|
|
@@ -25230,7 +25230,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25230
25230
|
(Pu(t.element).isNone() || _n.isFocused(t)) && (_n.isFocused(t) || _n.focus(t), dn(t, JO, { item: t }));
|
|
25231
25231
|
}, V_ = (t) => {
|
|
25232
25232
|
dn(t, QO, { item: t });
|
|
25233
|
-
},
|
|
25233
|
+
}, VN = (t, s) => {
|
|
25234
25234
|
dn(t, AT, {
|
|
25235
25235
|
item: t,
|
|
25236
25236
|
state: s
|
|
@@ -25239,9 +25239,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25239
25239
|
aria: { mode: "checked" },
|
|
25240
25240
|
...Bl(t, (s, a) => a !== "exclusive"),
|
|
25241
25241
|
onToggled: (s, a) => {
|
|
25242
|
-
Ot(t.onToggled) && t.onToggled(s, a),
|
|
25242
|
+
Ot(t.onToggled) && t.onToggled(s, a), VN(s, a);
|
|
25243
25243
|
}
|
|
25244
|
-
}),
|
|
25244
|
+
}), zN = (t) => ({
|
|
25245
25245
|
dom: t.dom,
|
|
25246
25246
|
domModification: {
|
|
25247
25247
|
...t.domModification,
|
|
@@ -25276,7 +25276,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25276
25276
|
]),
|
|
25277
25277
|
components: t.components,
|
|
25278
25278
|
eventOrder: t.eventOrder
|
|
25279
|
-
}),
|
|
25279
|
+
}), UN = [
|
|
25280
25280
|
nt("data"),
|
|
25281
25281
|
nt("components"),
|
|
25282
25282
|
nt("dom"),
|
|
@@ -25290,16 +25290,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25290
25290
|
]),
|
|
25291
25291
|
Re("ignoreFocus", !1),
|
|
25292
25292
|
Re("domModification", {}),
|
|
25293
|
-
is("builder",
|
|
25293
|
+
is("builder", zN),
|
|
25294
25294
|
Re("eventOrder", {})
|
|
25295
|
-
],
|
|
25295
|
+
], WN = (t) => ({
|
|
25296
25296
|
dom: t.dom,
|
|
25297
25297
|
components: t.components,
|
|
25298
25298
|
events: As([M4(pr())])
|
|
25299
25299
|
}), z_ = [
|
|
25300
25300
|
nt("dom"),
|
|
25301
25301
|
nt("components"),
|
|
25302
|
-
is("builder",
|
|
25302
|
+
is("builder", WN)
|
|
25303
25303
|
], yw = ae("item-widget"), ww = ae([Dl({
|
|
25304
25304
|
name: "widget",
|
|
25305
25305
|
overrides: (t) => ({
|
|
@@ -25311,7 +25311,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25311
25311
|
}
|
|
25312
25312
|
})])
|
|
25313
25313
|
})
|
|
25314
|
-
})]),
|
|
25314
|
+
})]), ZN = (t) => {
|
|
25315
25315
|
const s = tw(yw(), t, ww()), a = Tv(yw(), t, s.internals()), c = (g) => _s(g, t, "widget").map((p) => (mn.focusIn(p), p)), d = (g, p) => yh(p.event.target) ? D.none() : (t.autofocus && p.setSource(g.element), D.none());
|
|
25316
25316
|
return {
|
|
25317
25317
|
dom: t.dom,
|
|
@@ -25352,7 +25352,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25352
25352
|
})
|
|
25353
25353
|
])
|
|
25354
25354
|
};
|
|
25355
|
-
},
|
|
25355
|
+
}, jN = [
|
|
25356
25356
|
nt("uid"),
|
|
25357
25357
|
nt("data"),
|
|
25358
25358
|
nt("components"),
|
|
@@ -25366,10 +25366,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25366
25366
|
]),
|
|
25367
25367
|
Re("domModification", {}),
|
|
25368
25368
|
rw(ww()),
|
|
25369
|
-
is("builder",
|
|
25369
|
+
is("builder", ZN)
|
|
25370
25370
|
], oR = vo("type", {
|
|
25371
|
-
widget:
|
|
25372
|
-
item:
|
|
25371
|
+
widget: jN,
|
|
25372
|
+
item: UN,
|
|
25373
25373
|
separator: z_
|
|
25374
25374
|
}), sR = (t, s) => ({
|
|
25375
25375
|
mode: "flatgrid",
|
|
@@ -25392,7 +25392,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25392
25392
|
selector: "." + t.markers.item,
|
|
25393
25393
|
moveOnTab: s.moveOnTab,
|
|
25394
25394
|
focusManager: t.focusManager
|
|
25395
|
-
}),
|
|
25395
|
+
}), GN = ae([C1({
|
|
25396
25396
|
factory: {
|
|
25397
25397
|
sketch: (t) => {
|
|
25398
25398
|
const s = Sl("menu.spec item", oR, t);
|
|
@@ -25445,14 +25445,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25445
25445
|
Re("focusManager", i()),
|
|
25446
25446
|
Ao("onHighlight"),
|
|
25447
25447
|
Ao("onDehighlight")
|
|
25448
|
-
]), lR = ae("alloy.menu-focus"),
|
|
25448
|
+
]), lR = ae("alloy.menu-focus"), qN = (t, s) => {
|
|
25449
25449
|
const a = ka(t.element, '[role="menuitemradio"][aria-checked="true"]');
|
|
25450
25450
|
pt(a, (c) => {
|
|
25451
25451
|
zo(c, s.element) || t.getSystem().getByDom(c).each((d) => {
|
|
25452
25452
|
Xn.off(d);
|
|
25453
25453
|
});
|
|
25454
25454
|
});
|
|
25455
|
-
},
|
|
25455
|
+
}, KN = (t, s, a, c) => ({
|
|
25456
25456
|
uid: t.uid,
|
|
25457
25457
|
dom: t.dom,
|
|
25458
25458
|
markers: t.markers,
|
|
@@ -25488,7 +25488,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25488
25488
|
}),
|
|
25489
25489
|
Qe(tR(), (d, g) => {
|
|
25490
25490
|
const { item: p, state: w } = g.event;
|
|
25491
|
-
w && js(p.element, "role") === "menuitemradio" &&
|
|
25491
|
+
w && js(p.element, "role") === "menuitemradio" && qN(d, p);
|
|
25492
25492
|
})
|
|
25493
25493
|
]),
|
|
25494
25494
|
components: s,
|
|
@@ -25497,15 +25497,15 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25497
25497
|
}), P1 = Ol({
|
|
25498
25498
|
name: "Menu",
|
|
25499
25499
|
configFields: RT(),
|
|
25500
|
-
partFields:
|
|
25501
|
-
factory:
|
|
25500
|
+
partFields: GN(),
|
|
25501
|
+
factory: KN
|
|
25502
25502
|
}), cR = (t) => yc(t, (s, a) => ({
|
|
25503
25503
|
k: s,
|
|
25504
25504
|
v: a
|
|
25505
25505
|
})), iR = (t, s, a, c) => bt(a, c).bind((d) => bt(t, d).bind((g) => {
|
|
25506
25506
|
const p = iR(t, s, a, g);
|
|
25507
25507
|
return D.some([g].concat(p));
|
|
25508
|
-
})).getOr([]),
|
|
25508
|
+
})).getOr([]), YN = (t, s) => {
|
|
25509
25509
|
const a = {};
|
|
25510
25510
|
ds(t, (p, w) => {
|
|
25511
25511
|
pt(p, (C) => {
|
|
@@ -25527,14 +25527,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25527
25527
|
});
|
|
25528
25528
|
}, C = (Je, Ge, vt, At) => {
|
|
25529
25529
|
c.set(Je), t.set(vt), s.set(Ge), d.set(At);
|
|
25530
|
-
const Wn =
|
|
25530
|
+
const Wn = YN(At, vt);
|
|
25531
25531
|
a.set(Wn);
|
|
25532
25532
|
}, E = (Je) => es(t.get(), (Ge, vt) => Ge === Je), $ = (Je, Ge, vt) => de(Je).bind((At) => E(Je).bind((Wn) => Ge(Wn).map((jt) => ({
|
|
25533
25533
|
triggeredMenu: At,
|
|
25534
25534
|
triggeringItem: jt,
|
|
25535
25535
|
triggeringPath: vt
|
|
25536
25536
|
})))), N = (Je, Ge) => {
|
|
25537
|
-
const vt = so(
|
|
25537
|
+
const vt = so(xe(Je).toArray(), (At) => de(At).isSome());
|
|
25538
25538
|
return bt(a.get(), Je).bind((At) => {
|
|
25539
25539
|
const Wn = qo(vt.concat(At)), jt = Te(Wn, (Dn, Sn) => $(Dn, Ge, Wn.slice(0, Sn + 1)).fold(() => Da(c.get(), Dn) ? [] : [D.none()], (Yo) => [D.some(Yo)]));
|
|
25540
25540
|
return ts(jt);
|
|
@@ -25542,7 +25542,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25542
25542
|
}, H = (Je) => bt(t.get(), Je).map((Ge) => {
|
|
25543
25543
|
const vt = bt(a.get(), Je).getOr([]);
|
|
25544
25544
|
return [Ge].concat(vt);
|
|
25545
|
-
}), W = (Je) => bt(a.get(), Je).bind((Ge) => Ge.length > 1 ? D.some(Ge.slice(1)) : D.none()), J = (Je) => bt(a.get(), Je), de = (Je) => Me(Je).bind(Nv), Me = (Je) => bt(s.get(), Je),
|
|
25545
|
+
}), W = (Je) => bt(a.get(), Je).bind((Ge) => Ge.length > 1 ? D.some(Ge.slice(1)) : D.none()), J = (Je) => bt(a.get(), Je), de = (Je) => Me(Je).bind(Nv), Me = (Je) => bt(s.get(), Je), xe = (Je) => bt(t.get(), Je);
|
|
25546
25546
|
return {
|
|
25547
25547
|
setMenuBuilt: w,
|
|
25548
25548
|
setContents: C,
|
|
@@ -25550,7 +25550,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25550
25550
|
refresh: J,
|
|
25551
25551
|
collapse: W,
|
|
25552
25552
|
lookupMenu: Me,
|
|
25553
|
-
lookupItem:
|
|
25553
|
+
lookupItem: xe,
|
|
25554
25554
|
otherMenus: (Je) => {
|
|
25555
25555
|
const Ge = d.get();
|
|
25556
25556
|
return zt(bs(Ge), Je);
|
|
@@ -25642,7 +25642,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25642
25642
|
(function(Dt) {
|
|
25643
25643
|
Dt[Dt.HighlightSubmenu = 0] = "HighlightSubmenu", Dt[Dt.HighlightParent = 1] = "HighlightParent";
|
|
25644
25644
|
})(Me || (Me = {}));
|
|
25645
|
-
const
|
|
25645
|
+
const xe = (Dt, en, On) => {
|
|
25646
25646
|
if (On.type === "notbuilt") {
|
|
25647
25647
|
const Pn = Dt.getSystem().build(On.nbMenu());
|
|
25648
25648
|
return d.setMenuBuilt(en, Pn), Pn;
|
|
@@ -25654,7 +25654,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25654
25654
|
{
|
|
25655
25655
|
const Pn = p(en);
|
|
25656
25656
|
return d.expand(Pn).bind((yn) => (J(Dt, yn), D.from(yn[0]).bind((Hn) => d.lookupMenu(Hn).bind((ks) => {
|
|
25657
|
-
const Mo =
|
|
25657
|
+
const Mo = xe(Dt, Hn, ks);
|
|
25658
25658
|
return po(Mo.element) || Fn.append(Dt, Ti(Mo)), t.onOpenSubmenu(Dt, en, Mo, qo(yn)), On === Me.HighlightSubmenu ? (Ho.highlightFirst(Mo), de(Dt, d, yn)) : (Ho.dehighlightAll(Mo), D.some(en));
|
|
25659
25659
|
}))));
|
|
25660
25660
|
}
|
|
@@ -25753,7 +25753,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25753
25753
|
apis: Ro,
|
|
25754
25754
|
events: Wn
|
|
25755
25755
|
};
|
|
25756
|
-
},
|
|
25756
|
+
}, XN = ae("collapse-item"), JN = (t, s, a) => ({
|
|
25757
25757
|
primary: t,
|
|
25758
25758
|
menus: s,
|
|
25759
25759
|
expansions: a
|
|
@@ -25761,8 +25761,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25761
25761
|
primary: t,
|
|
25762
25762
|
menus: Mt(t, s),
|
|
25763
25763
|
expansions: {}
|
|
25764
|
-
}),
|
|
25765
|
-
value: Gt(
|
|
25764
|
+
}), QN = (t) => ({
|
|
25765
|
+
value: Gt(XN()),
|
|
25766
25766
|
meta: { text: t }
|
|
25767
25767
|
}), Qp = ri({
|
|
25768
25768
|
name: "TieredMenu",
|
|
@@ -25808,9 +25808,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25808
25808
|
},
|
|
25809
25809
|
factory: mR,
|
|
25810
25810
|
extraApis: {
|
|
25811
|
-
tieredData:
|
|
25811
|
+
tieredData: JN,
|
|
25812
25812
|
singleData: fR,
|
|
25813
|
-
collapseItem:
|
|
25813
|
+
collapseItem: QN
|
|
25814
25814
|
}
|
|
25815
25815
|
}), eI = (t, s, a, c, d) => {
|
|
25816
25816
|
const g = () => t.lazySink(s), p = c.type === "horizontal" ? {
|
|
@@ -26761,7 +26761,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26761
26761
|
return s.isSupported = !1, s;
|
|
26762
26762
|
const a = t.document, c = a.currentScript;
|
|
26763
26763
|
let { document: d } = t;
|
|
26764
|
-
const { DocumentFragment: g, HTMLTemplateElement: p, Node: w, Element: C, NodeFilter: E, NamedNodeMap: $ = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: N, DOMParser: H, trustedTypes: W } = t, J = C.prototype, de = Cw(J, "cloneNode"), Me = Cw(J, "nextSibling"),
|
|
26764
|
+
const { DocumentFragment: g, HTMLTemplateElement: p, Node: w, Element: C, NodeFilter: E, NamedNodeMap: $ = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: N, DOMParser: H, trustedTypes: W } = t, J = C.prototype, de = Cw(J, "cloneNode"), Me = Cw(J, "nextSibling"), xe = Cw(J, "childNodes"), ve = Cw(J, "parentNode");
|
|
26765
26765
|
if (typeof p == "function") {
|
|
26766
26766
|
const wo = d.createElement("template");
|
|
26767
26767
|
wo.content && wo.content.ownerDocument && (d = wo.content.ownerDocument);
|
|
@@ -26805,7 +26805,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26805
26805
|
enumerable: !0,
|
|
26806
26806
|
value: !1
|
|
26807
26807
|
}
|
|
26808
|
-
})), bl = null, zi = null, Od = !0, xm = !0, S0 = !1, mb = !0, _f = !1, Nh = !1, Kx = !1, oO = !1, Oy = !1, _4 = !1,
|
|
26808
|
+
})), bl = null, zi = null, Od = !0, xm = !0, S0 = !1, mb = !0, _f = !1, Nh = !1, Kx = !1, oO = !1, Oy = !1, _4 = !1, H7 = !1, HG = !0, VG = !1;
|
|
26809
26809
|
const Sq = "user-content-";
|
|
26810
26810
|
let _j = !0, sO = !1, S4 = {}, k4 = null;
|
|
26811
26811
|
const zG = Do({}, [
|
|
@@ -26860,11 +26860,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26860
26860
|
"value",
|
|
26861
26861
|
"style",
|
|
26862
26862
|
"xmlns"
|
|
26863
|
-
]),
|
|
26863
|
+
]), V7 = "http://www.w3.org/1998/Math/MathML", z7 = "http://www.w3.org/2000/svg", fb = "http://www.w3.org/1999/xhtml";
|
|
26864
26864
|
let T4 = fb, kj = !1, Tj = null;
|
|
26865
26865
|
const kq = Do({}, [
|
|
26866
|
-
|
|
26867
|
-
|
|
26866
|
+
V7,
|
|
26867
|
+
z7,
|
|
26868
26868
|
fb
|
|
26869
26869
|
], kh);
|
|
26870
26870
|
let Yx;
|
|
@@ -26877,7 +26877,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26877
26877
|
return Ue instanceof RegExp || Ue instanceof Function;
|
|
26878
26878
|
}, Ej = function(Ue) {
|
|
26879
26879
|
if (!(E4 && E4 === Ue)) {
|
|
26880
|
-
if ((!Ue || typeof Ue != "object") && (Ue = {}), Ue = I1(Ue), Yx = Tq.indexOf(Ue.PARSER_MEDIA_TYPE) === -1 ? Yx = Eq : Yx = Ue.PARSER_MEDIA_TYPE, Ui = Yx === "application/xhtml+xml" ? kh : Z_, Pn = "ALLOWED_TAGS" in Ue ? Do({}, Ue.ALLOWED_TAGS, Ui) : yn, Hn = "ALLOWED_ATTR" in Ue ? Do({}, Ue.ALLOWED_ATTR, Ui) : ks, Tj = "ALLOWED_NAMESPACES" in Ue ? Do({}, Ue.ALLOWED_NAMESPACES, kh) : kq, Sj = "ADD_URI_SAFE_ATTR" in Ue ? Do(I1(ZG), Ue.ADD_URI_SAFE_ATTR, Ui) : ZG, UG = "ADD_DATA_URI_TAGS" in Ue ? Do(I1(WG), Ue.ADD_DATA_URI_TAGS, Ui) : WG, k4 = "FORBID_CONTENTS" in Ue ? Do({}, Ue.FORBID_CONTENTS, Ui) : zG, bl = "FORBID_TAGS" in Ue ? Do({}, Ue.FORBID_TAGS, Ui) : {}, zi = "FORBID_ATTR" in Ue ? Do({}, Ue.FORBID_ATTR, Ui) : {}, S4 = "USE_PROFILES" in Ue ? Ue.USE_PROFILES : !1, Od = Ue.ALLOW_ARIA_ATTR !== !1, xm = Ue.ALLOW_DATA_ATTR !== !1, S0 = Ue.ALLOW_UNKNOWN_PROTOCOLS || !1, mb = Ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _f = Ue.SAFE_FOR_TEMPLATES || !1, Nh = Ue.WHOLE_DOCUMENT || !1, Oy = Ue.RETURN_DOM || !1, _4 = Ue.RETURN_DOM_FRAGMENT || !1,
|
|
26880
|
+
if ((!Ue || typeof Ue != "object") && (Ue = {}), Ue = I1(Ue), Yx = Tq.indexOf(Ue.PARSER_MEDIA_TYPE) === -1 ? Yx = Eq : Yx = Ue.PARSER_MEDIA_TYPE, Ui = Yx === "application/xhtml+xml" ? kh : Z_, Pn = "ALLOWED_TAGS" in Ue ? Do({}, Ue.ALLOWED_TAGS, Ui) : yn, Hn = "ALLOWED_ATTR" in Ue ? Do({}, Ue.ALLOWED_ATTR, Ui) : ks, Tj = "ALLOWED_NAMESPACES" in Ue ? Do({}, Ue.ALLOWED_NAMESPACES, kh) : kq, Sj = "ADD_URI_SAFE_ATTR" in Ue ? Do(I1(ZG), Ue.ADD_URI_SAFE_ATTR, Ui) : ZG, UG = "ADD_DATA_URI_TAGS" in Ue ? Do(I1(WG), Ue.ADD_DATA_URI_TAGS, Ui) : WG, k4 = "FORBID_CONTENTS" in Ue ? Do({}, Ue.FORBID_CONTENTS, Ui) : zG, bl = "FORBID_TAGS" in Ue ? Do({}, Ue.FORBID_TAGS, Ui) : {}, zi = "FORBID_ATTR" in Ue ? Do({}, Ue.FORBID_ATTR, Ui) : {}, S4 = "USE_PROFILES" in Ue ? Ue.USE_PROFILES : !1, Od = Ue.ALLOW_ARIA_ATTR !== !1, xm = Ue.ALLOW_DATA_ATTR !== !1, S0 = Ue.ALLOW_UNKNOWN_PROTOCOLS || !1, mb = Ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _f = Ue.SAFE_FOR_TEMPLATES || !1, Nh = Ue.WHOLE_DOCUMENT || !1, Oy = Ue.RETURN_DOM || !1, _4 = Ue.RETURN_DOM_FRAGMENT || !1, H7 = Ue.RETURN_TRUSTED_TYPE || !1, oO = Ue.FORCE_BODY || !1, HG = Ue.SANITIZE_DOM !== !1, VG = Ue.SANITIZE_NAMED_PROPS || !1, _j = Ue.KEEP_CONTENT !== !1, sO = Ue.IN_PLACE || !1, On = Ue.ALLOWED_URI_REGEXP || HT, T4 = Ue.NAMESPACE || fb, Mo = Ue.CUSTOM_ELEMENT_HANDLING || {}, Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Mo.tagNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Mo.attributeNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && typeof Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Mo.allowCustomizedBuiltInElements = Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _f && (xm = !1), _4 && (Oy = !0), S4 && (Pn = Do({}, [...Sw]), Hn = [], S4.html === !0 && (Do(Pn, BT), Do(Hn, j_)), S4.svg === !0 && (Do(Pn, NT), Do(Hn, G_), Do(Hn, kw)), S4.svgFilters === !0 && (Do(Pn, _w), Do(Hn, G_), Do(Hn, kw)), S4.mathMl === !0 && (Do(Pn, IT), Do(Hn, LT), Do(Hn, kw))), Ue.ADD_TAGS && (Pn === yn && (Pn = I1(Pn)), Do(Pn, Ue.ADD_TAGS, Ui)), Ue.ADD_ATTR && (Hn === ks && (Hn = I1(Hn)), Do(Hn, Ue.ADD_ATTR, Ui)), Ue.ADD_URI_SAFE_ATTR && Do(Sj, Ue.ADD_URI_SAFE_ATTR, Ui), Ue.FORBID_CONTENTS && (k4 === zG && (k4 = I1(k4)), Do(k4, Ue.FORBID_CONTENTS, Ui)), _j && (Pn["#text"] = !0), Nh && Do(Pn, [
|
|
26881
26881
|
"html",
|
|
26882
26882
|
"head",
|
|
26883
26883
|
"body"
|
|
@@ -26908,8 +26908,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26908
26908
|
"font",
|
|
26909
26909
|
"a",
|
|
26910
26910
|
"script"
|
|
26911
|
-
]),
|
|
26912
|
-
Do(
|
|
26911
|
+
]), U7 = Do({}, NT);
|
|
26912
|
+
Do(U7, _w), Do(U7, mI);
|
|
26913
26913
|
const Aj = Do({}, IT);
|
|
26914
26914
|
Do(Aj, fI);
|
|
26915
26915
|
const Oq = function(Ue) {
|
|
@@ -26919,7 +26919,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26919
26919
|
tagName: "template"
|
|
26920
26920
|
});
|
|
26921
26921
|
const Bn = Z_(Ue.tagName), ca = Z_(sn.tagName);
|
|
26922
|
-
return Tj[Ue.namespaceURI] ? Ue.namespaceURI ===
|
|
26922
|
+
return Tj[Ue.namespaceURI] ? Ue.namespaceURI === z7 ? sn.namespaceURI === fb ? Bn === "svg" : sn.namespaceURI === V7 ? Bn === "svg" && (ca === "annotation-xml" || GG[ca]) : !!U7[Bn] : Ue.namespaceURI === V7 ? sn.namespaceURI === fb ? Bn === "math" : sn.namespaceURI === z7 ? Bn === "math" && qG[ca] : !!Aj[Bn] : Ue.namespaceURI === fb ? sn.namespaceURI === z7 && !qG[ca] || sn.namespaceURI === V7 && !GG[ca] ? !1 : !Aj[Bn] && (Dq[Bn] || !U7[Bn]) : !!(Yx === "application/xhtml+xml" && Tj[Ue.namespaceURI]) : !1;
|
|
26923
26923
|
}, Xx = function(Ue) {
|
|
26924
26924
|
xw(s.removed, { element: Ue });
|
|
26925
26925
|
try {
|
|
@@ -26978,7 +26978,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26978
26978
|
return Ge.call(Ue.ownerDocument || Ue, Ue, E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT, null, !1);
|
|
26979
26979
|
}, Rq = function(Ue) {
|
|
26980
26980
|
return Ue instanceof N && (typeof Ue.nodeName != "string" || typeof Ue.textContent != "string" || typeof Ue.removeChild != "function" || !(Ue.attributes instanceof $) || typeof Ue.removeAttribute != "function" || typeof Ue.setAttribute != "function" || typeof Ue.namespaceURI != "string" || typeof Ue.insertBefore != "function" || typeof Ue.hasChildNodes != "function");
|
|
26981
|
-
},
|
|
26981
|
+
}, W7 = function(Ue) {
|
|
26982
26982
|
return typeof w == "object" ? Ue instanceof w : Ue && typeof Ue == "object" && typeof Ue.nodeType == "number" && typeof Ue.nodeName == "string";
|
|
26983
26983
|
}, gb = function(Ue, sn, Bn) {
|
|
26984
26984
|
jt[Ue] && cI(jt[Ue], (ca) => {
|
|
@@ -26992,13 +26992,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26992
26992
|
if (gb("uponSanitizeElement", Ue, {
|
|
26993
26993
|
tagName: Bn,
|
|
26994
26994
|
allowedTags: Pn
|
|
26995
|
-
}), Ue.hasChildNodes() && !
|
|
26995
|
+
}), Ue.hasChildNodes() && !W7(Ue.firstElementChild) && (!W7(Ue.content) || !W7(Ue.content.firstElementChild)) && yd(/<[/\w]/g, Ue.innerHTML) && yd(/<[/\w]/g, Ue.textContent))
|
|
26996
26996
|
return Xx(Ue), !0;
|
|
26997
26997
|
if (!Pn[Bn] || bl[Bn]) {
|
|
26998
26998
|
if (!bl[Bn] && QG(Bn) && (Mo.tagNameCheck instanceof RegExp && yd(Mo.tagNameCheck, Bn) || Mo.tagNameCheck instanceof Function && Mo.tagNameCheck(Bn)))
|
|
26999
26999
|
return !1;
|
|
27000
27000
|
if (_j && !k4[Bn]) {
|
|
27001
|
-
const ca = ve(Ue) || Ue.parentNode, Wi =
|
|
27001
|
+
const ca = ve(Ue) || Ue.parentNode, Wi = xe(Ue) || Ue.childNodes;
|
|
27002
27002
|
if (Wi && ca) {
|
|
27003
27003
|
const Tg = Wi.length;
|
|
27004
27004
|
for (let Pl = Tg - 1; Pl >= 0; --Pl)
|
|
@@ -27091,7 +27091,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27091
27091
|
};
|
|
27092
27092
|
return s.sanitize = function(wo) {
|
|
27093
27093
|
let Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, sn, Bn, ca, Wi;
|
|
27094
|
-
if (kj = !wo, kj && (wo = "<!-->"), typeof wo != "string" && !
|
|
27094
|
+
if (kj = !wo, kj && (wo = "<!-->"), typeof wo != "string" && !W7(wo))
|
|
27095
27095
|
if (typeof wo.toString == "function") {
|
|
27096
27096
|
if (wo = wo.toString(), typeof wo != "string")
|
|
27097
27097
|
throw rm("dirty is not a string, aborting");
|
|
@@ -27109,9 +27109,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27109
27109
|
sn = KG("<!---->"), Bn = sn.ownerDocument.importNode(wo, !0), Bn.nodeType === 1 && Bn.nodeName === "BODY" || Bn.nodeName === "HTML" ? sn = Bn : sn.appendChild(Bn);
|
|
27110
27110
|
else {
|
|
27111
27111
|
if (!Oy && !_f && !Nh && wo.indexOf("<") === -1)
|
|
27112
|
-
return Oe &&
|
|
27112
|
+
return Oe && H7 ? Oe.createHTML(wo) : wo;
|
|
27113
27113
|
if (sn = KG(wo), !sn)
|
|
27114
|
-
return Oy ? null :
|
|
27114
|
+
return Oy ? null : H7 ? dt : "";
|
|
27115
27115
|
}
|
|
27116
27116
|
sn && oO && Xx(sn.firstChild);
|
|
27117
27117
|
const Tg = YG(sO ? wo : sn);
|
|
@@ -27129,7 +27129,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27129
27129
|
}
|
|
27130
27130
|
let Pl = Nh ? sn.outerHTML : sn.innerHTML;
|
|
27131
27131
|
return Nh && Pn["!doctype"] && sn.ownerDocument && sn.ownerDocument.doctype && sn.ownerDocument.doctype.name && yd(bR, sn.ownerDocument.doctype.name) && (Pl = "<!DOCTYPE " + sn.ownerDocument.doctype.name + `>
|
|
27132
|
-
` + Pl), _f && (Pl = mf(Pl, Dn, " "), Pl = mf(Pl, Sn, " "), Pl = mf(Pl, Yo, " ")), Oe &&
|
|
27132
|
+
` + Pl), _f && (Pl = mf(Pl, Dn, " "), Pl = mf(Pl, Sn, " "), Pl = mf(Pl, Yo, " ")), Oe && H7 ? Oe.createHTML(Pl) : Pl;
|
|
27133
27133
|
}, s.setConfig = function(wo) {
|
|
27134
27134
|
Ej(wo), Kx = !0;
|
|
27135
27135
|
}, s.clearConfig = function() {
|
|
@@ -27379,16 +27379,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27379
27379
|
const J = {
|
|
27380
27380
|
close: $,
|
|
27381
27381
|
reposition: () => {
|
|
27382
|
-
const de = Ti(N), Me = { maxHeightFunction: kp() },
|
|
27383
|
-
if (
|
|
27382
|
+
const de = Ti(N), Me = { maxHeightFunction: kp() }, xe = t.notificationManager.getNotifications();
|
|
27383
|
+
if (xe[0] === J) {
|
|
27384
27384
|
const ve = {
|
|
27385
27385
|
...c.anchors.banner(),
|
|
27386
27386
|
overrides: Me
|
|
27387
27387
|
};
|
|
27388
27388
|
dr.showWithinBounds(H, de, { anchor: ve }, d);
|
|
27389
27389
|
} else
|
|
27390
|
-
Pe(
|
|
27391
|
-
const Oe =
|
|
27390
|
+
Pe(xe, J).each((ve) => {
|
|
27391
|
+
const Oe = xe[ve - 1].getEl(), dt = {
|
|
27392
27392
|
type: "node",
|
|
27393
27393
|
root: Vs(),
|
|
27394
27394
|
node: D.some(Ae.fromDom(Oe)),
|
|
@@ -29761,8 +29761,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29761
29761
|
fireDismissalEventInstead: {},
|
|
29762
29762
|
inlineBehaviours: xt([Un("dismissAutocompleter", [
|
|
29763
29763
|
Qe(If(), () => $()),
|
|
29764
|
-
Qe(P0(), (Me,
|
|
29765
|
-
I(
|
|
29764
|
+
Qe(P0(), (Me, xe) => {
|
|
29765
|
+
I(xe.event.target, "id").each((ve) => It(Ae.fromDom(t.getBody()), "aria-activedescendant", ve));
|
|
29766
29766
|
})
|
|
29767
29767
|
])]),
|
|
29768
29768
|
lazySink: s.getSink
|
|
@@ -29770,12 +29770,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29770
29770
|
if (p()) {
|
|
29771
29771
|
dr.hide(g), t.dom.remove(a, !1);
|
|
29772
29772
|
const Me = Ae.fromDom(t.getBody());
|
|
29773
|
-
I(Me, "aria-owns").filter((
|
|
29773
|
+
I(Me, "aria-owns").filter((xe) => xe === a).each(() => {
|
|
29774
29774
|
le(Me, "aria-owns"), le(Me, "aria-activedescendant");
|
|
29775
29775
|
});
|
|
29776
29776
|
}
|
|
29777
29777
|
}, E = () => dr.getContent(g).bind((Me) => ps(Me.components(), 0)), $ = () => t.execCommand("mceAutocompleterClose"), N = (Me) => {
|
|
29778
|
-
const
|
|
29778
|
+
const xe = nr(Me, (ve) => D.from(ve.columns)).getOr(1);
|
|
29779
29779
|
return Te(Me, (ve) => {
|
|
29780
29780
|
const Oe = ve.items;
|
|
29781
29781
|
return gF(Oe, ve.matchText, (dt, Je) => {
|
|
@@ -29789,9 +29789,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29789
29789
|
};
|
|
29790
29790
|
c.set(!0), ve.onAction(At, vt, dt, Je), c.set(!1);
|
|
29791
29791
|
});
|
|
29792
|
-
},
|
|
29792
|
+
}, xe, ff.BUBBLE_TO_SANDBOX, s, ve.highlightOn);
|
|
29793
29793
|
});
|
|
29794
|
-
}, H = (Me,
|
|
29794
|
+
}, H = (Me, xe) => {
|
|
29795
29795
|
kI(Ae.fromDom(t.getBody())).each((ve) => {
|
|
29796
29796
|
const Oe = nr(Me, (dt) => D.from(dt.columns)).getOr(1);
|
|
29797
29797
|
dr.showMenuAt(g, {
|
|
@@ -29800,14 +29800,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29800
29800
|
root: Ae.fromDom(t.getBody()),
|
|
29801
29801
|
node: D.from(ve)
|
|
29802
29802
|
}
|
|
29803
|
-
}, hF(fS("autocompleter-value", !0,
|
|
29803
|
+
}, hF(fS("autocompleter-value", !0, xe, Oe, { menuType: "normal" }), Oe, Kw.ContentFocus, "normal"));
|
|
29804
29804
|
}), E().each(Ho.highlightFirst);
|
|
29805
29805
|
}, W = (Me) => {
|
|
29806
|
-
const
|
|
29807
|
-
|
|
29806
|
+
const xe = N(Me);
|
|
29807
|
+
xe.length > 0 ? (H(Me, xe), It(Ae.fromDom(t.getBody()), "aria-owns", a), t.inline || J()) : C();
|
|
29808
29808
|
}, J = () => {
|
|
29809
29809
|
t.dom.get(a) && t.dom.remove(a, !1);
|
|
29810
|
-
const Me = t.getDoc().documentElement,
|
|
29810
|
+
const Me = t.getDoc().documentElement, xe = t.selection.getNode(), ve = P4(g.element);
|
|
29811
29811
|
Ms(ve, {
|
|
29812
29812
|
border: "0",
|
|
29813
29813
|
clip: "rect(0 0 0 0)",
|
|
@@ -29817,8 +29817,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29817
29817
|
padding: "0",
|
|
29818
29818
|
position: "absolute",
|
|
29819
29819
|
width: "1px",
|
|
29820
|
-
top: `${
|
|
29821
|
-
left: `${
|
|
29820
|
+
top: `${xe.offsetTop}px`,
|
|
29821
|
+
left: `${xe.offsetLeft}px`
|
|
29822
29822
|
}), t.dom.add(Me, ve.dom), Ir(ve, '[role="menu"]').each((Oe) => {
|
|
29823
29823
|
Co(Oe, "position"), Co(Oe, "max-height");
|
|
29824
29824
|
});
|
|
@@ -30102,86 +30102,86 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30102
30102
|
Re("eventOrder", {})
|
|
30103
30103
|
]
|
|
30104
30104
|
}), IS = (t) => {
|
|
30105
|
-
const s = (
|
|
30106
|
-
triggerEvent: (
|
|
30105
|
+
const s = (xe) => ta(t.element).fold(Nt, (ve) => zo(xe, ve)), a = B6(), c = (xe, ve) => a.find(s, xe, ve), d = _F(t.element, {
|
|
30106
|
+
triggerEvent: (xe, ve) => Wb(xe, ve.target, (Oe) => b5(c, xe, ve, Oe))
|
|
30107
30107
|
}), g = {
|
|
30108
30108
|
debugInfo: ae("real"),
|
|
30109
|
-
triggerEvent: (
|
|
30110
|
-
Wb(
|
|
30109
|
+
triggerEvent: (xe, ve, Oe) => {
|
|
30110
|
+
Wb(xe, ve, (dt) => M6(c, xe, Oe, ve, dt));
|
|
30111
30111
|
},
|
|
30112
|
-
triggerFocus: (
|
|
30113
|
-
L0(
|
|
30114
|
-
Oc(
|
|
30112
|
+
triggerFocus: (xe, ve) => {
|
|
30113
|
+
L0(xe).fold(() => {
|
|
30114
|
+
Oc(xe);
|
|
30115
30115
|
}, (Oe) => {
|
|
30116
|
-
Wb(ld(),
|
|
30116
|
+
Wb(ld(), xe, (dt) => (kF(c, ld(), {
|
|
30117
30117
|
originator: ve,
|
|
30118
30118
|
kill: he,
|
|
30119
30119
|
prevent: he,
|
|
30120
|
-
target:
|
|
30121
|
-
},
|
|
30120
|
+
target: xe
|
|
30121
|
+
}, xe, dt), !1));
|
|
30122
30122
|
});
|
|
30123
30123
|
},
|
|
30124
|
-
triggerEscape: (
|
|
30125
|
-
g.triggerEvent("keydown",
|
|
30124
|
+
triggerEscape: (xe, ve) => {
|
|
30125
|
+
g.triggerEvent("keydown", xe.element, ve.event);
|
|
30126
30126
|
},
|
|
30127
|
-
getByUid: (
|
|
30128
|
-
getByDom: (
|
|
30127
|
+
getByUid: (xe) => de(xe),
|
|
30128
|
+
getByDom: (xe) => Me(xe),
|
|
30129
30129
|
build: Tl,
|
|
30130
30130
|
buildOrPatch: Vb,
|
|
30131
|
-
addToGui: (
|
|
30132
|
-
C(
|
|
30131
|
+
addToGui: (xe) => {
|
|
30132
|
+
C(xe);
|
|
30133
30133
|
},
|
|
30134
|
-
removeFromGui: (
|
|
30135
|
-
E(
|
|
30134
|
+
removeFromGui: (xe) => {
|
|
30135
|
+
E(xe);
|
|
30136
30136
|
},
|
|
30137
|
-
addToWorld: (
|
|
30138
|
-
p(
|
|
30137
|
+
addToWorld: (xe) => {
|
|
30138
|
+
p(xe);
|
|
30139
30139
|
},
|
|
30140
|
-
removeFromWorld: (
|
|
30141
|
-
w(
|
|
30140
|
+
removeFromWorld: (xe) => {
|
|
30141
|
+
w(xe);
|
|
30142
30142
|
},
|
|
30143
|
-
broadcast: (
|
|
30144
|
-
H(
|
|
30143
|
+
broadcast: (xe) => {
|
|
30144
|
+
H(xe);
|
|
30145
30145
|
},
|
|
30146
|
-
broadcastOn: (
|
|
30147
|
-
W(
|
|
30146
|
+
broadcastOn: (xe, ve) => {
|
|
30147
|
+
W(xe, ve);
|
|
30148
30148
|
},
|
|
30149
|
-
broadcastEvent: (
|
|
30150
|
-
J(
|
|
30149
|
+
broadcastEvent: (xe, ve) => {
|
|
30150
|
+
J(xe, ve);
|
|
30151
30151
|
},
|
|
30152
30152
|
isConnected: Nt
|
|
30153
|
-
}, p = (
|
|
30154
|
-
|
|
30155
|
-
}, w = (
|
|
30156
|
-
ea(
|
|
30157
|
-
}, C = (
|
|
30158
|
-
eg(t,
|
|
30159
|
-
}, E = (
|
|
30160
|
-
tm(
|
|
30153
|
+
}, p = (xe) => {
|
|
30154
|
+
xe.connect(g), ea(xe.element) || (a.register(xe), pt(xe.components(), p), g.triggerEvent(Bf(), xe.element, { target: xe.element }));
|
|
30155
|
+
}, w = (xe) => {
|
|
30156
|
+
ea(xe.element) || (pt(xe.components(), w), a.unregister(xe)), xe.disconnect();
|
|
30157
|
+
}, C = (xe) => {
|
|
30158
|
+
eg(t, xe);
|
|
30159
|
+
}, E = (xe) => {
|
|
30160
|
+
tm(xe);
|
|
30161
30161
|
}, $ = () => {
|
|
30162
30162
|
d.unbind(), Tc(t.element);
|
|
30163
|
-
}, N = (
|
|
30163
|
+
}, N = (xe) => {
|
|
30164
30164
|
const ve = a.filter(th());
|
|
30165
30165
|
pt(ve, (Oe) => {
|
|
30166
30166
|
const dt = Oe.descHandler;
|
|
30167
|
-
ap(dt)(
|
|
30167
|
+
ap(dt)(xe);
|
|
30168
30168
|
});
|
|
30169
|
-
}, H = (
|
|
30169
|
+
}, H = (xe) => {
|
|
30170
30170
|
N({
|
|
30171
30171
|
universal: !0,
|
|
30172
|
-
data:
|
|
30172
|
+
data: xe
|
|
30173
30173
|
});
|
|
30174
|
-
}, W = (
|
|
30174
|
+
}, W = (xe, ve) => {
|
|
30175
30175
|
N({
|
|
30176
30176
|
universal: !1,
|
|
30177
|
-
channels:
|
|
30177
|
+
channels: xe,
|
|
30178
30178
|
data: ve
|
|
30179
30179
|
});
|
|
30180
|
-
}, J = (
|
|
30181
|
-
const Oe = a.filter(
|
|
30180
|
+
}, J = (xe, ve) => {
|
|
30181
|
+
const Oe = a.filter(xe);
|
|
30182
30182
|
return TF(Oe, ve);
|
|
30183
|
-
}, de = (
|
|
30184
|
-
const ve = L0(
|
|
30183
|
+
}, de = (xe) => a.getById(xe).fold(() => Vn.error(new Error('Could not find component with uid: "' + xe + '" in system.')), Vn.value), Me = (xe) => {
|
|
30184
|
+
const ve = L0(xe).getOr("not found");
|
|
30185
30185
|
return de(ve);
|
|
30186
30186
|
};
|
|
30187
30187
|
return p(t), {
|
|
@@ -30343,8 +30343,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30343
30343
|
"-": " "
|
|
30344
30344
|
}, vt = Oe.replace(/\_| \- |\-/g, (Wn) => Ge[Wn]);
|
|
30345
30345
|
return `<div class="tox-collection__item${s.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${PF.encodeAllRaw(ve.value)}" title="${vt}" aria-label="${vt}">${Je}${dt}</div>`;
|
|
30346
|
-
}), Me = t.columns !== "auto" && t.columns > 1 ? br(de, t.columns) : [de],
|
|
30347
|
-
nh(W.element,
|
|
30346
|
+
}), Me = t.columns !== "auto" && t.columns > 1 ? br(de, t.columns) : [de], xe = tt(Me, (ve) => `<div class="tox-collection__group">${ve.join("")}</div>`);
|
|
30347
|
+
nh(W.element, xe.join(""));
|
|
30348
30348
|
}, C = p((W, J, de, Me) => {
|
|
30349
30349
|
J.stop(), s.isDisabled() || dn(W, hg, {
|
|
30350
30350
|
name: t.name,
|
|
@@ -30743,8 +30743,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30743
30743
|
if (d > H)
|
|
30744
30744
|
return de;
|
|
30745
30745
|
{
|
|
30746
|
-
const Me = h9(d, N, H),
|
|
30747
|
-
return p &&
|
|
30746
|
+
const Me = h9(d, N, H), xe = J6(Me / W * c + s, J, de);
|
|
30747
|
+
return p && xe >= s && xe <= a ? g9(xe, s, a, g, w) : C ? Math.round(xe) : xe;
|
|
30748
30748
|
}
|
|
30749
30749
|
}, eM = (t) => {
|
|
30750
30750
|
const { min: s, max: a, range: c, value: d, hasMinEdge: g, hasMaxEdge: p, maxBound: w, maxOffset: C, centerMinEdge: E, centerMaxEdge: $ } = t;
|
|
@@ -31041,7 +31041,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31041
31041
|
N.setToMin(Je, t);
|
|
31042
31042
|
}, Me = (Je) => {
|
|
31043
31043
|
N.setToMax(Je, t);
|
|
31044
|
-
},
|
|
31044
|
+
}, xe = (Je) => {
|
|
31045
31045
|
const Ge = () => {
|
|
31046
31046
|
_s(Je, t, "thumb").each((At) => {
|
|
31047
31047
|
const Wn = $.value.get();
|
|
@@ -31052,7 +31052,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31052
31052
|
}, ve = (Je, Ge) => {
|
|
31053
31053
|
Ge.stop(), t.mouseIsDown.set(!0), t.onDragStart(Je, d(Je));
|
|
31054
31054
|
}, Oe = (Je, Ge) => {
|
|
31055
|
-
Ge.stop(), t.onDragEnd(Je, d(Je)),
|
|
31055
|
+
Ge.stop(), t.onDragEnd(Je, d(Je)), xe(Je);
|
|
31056
31056
|
}, dt = (Je) => {
|
|
31057
31057
|
_s(Je, t, "spectrum").map(mn.focusIn);
|
|
31058
31058
|
};
|
|
@@ -31072,7 +31072,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31072
31072
|
setValue: W
|
|
31073
31073
|
}
|
|
31074
31074
|
}),
|
|
31075
|
-
Dc.config({ channels: { [G2()]: { onReceive:
|
|
31075
|
+
Dc.config({ channels: { [G2()]: { onReceive: xe } } })
|
|
31076
31076
|
]),
|
|
31077
31077
|
events: As([
|
|
31078
31078
|
Qe(sy(), (Je, Ge) => {
|
|
@@ -31226,7 +31226,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31226
31226
|
validateOnLoad: !1
|
|
31227
31227
|
}
|
|
31228
31228
|
}), g = (H, W, J, de, Me) => {
|
|
31229
|
-
const
|
|
31229
|
+
const xe = t(iy + "range"), ve = Qo.parts.label({
|
|
31230
31230
|
dom: {
|
|
31231
31231
|
tag: "label",
|
|
31232
31232
|
attributes: { "aria-label": de }
|
|
@@ -31250,7 +31250,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31250
31250
|
}), dt = [
|
|
31251
31251
|
ve,
|
|
31252
31252
|
Oe
|
|
31253
|
-
], Je = W !== "hex" ? [Qo.parts["aria-descriptor"]({ text:
|
|
31253
|
+
], Je = W !== "hex" ? [Qo.parts["aria-descriptor"]({ text: xe })] : [], Ge = dt.concat(Je);
|
|
31254
31254
|
return {
|
|
31255
31255
|
dom: {
|
|
31256
31256
|
tag: "div",
|
|
@@ -31291,10 +31291,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31291
31291
|
hex: gn(D.some("ffffff"))
|
|
31292
31292
|
}, W = (Sn, Yo) => {
|
|
31293
31293
|
const bn = Zw(Yo);
|
|
31294
|
-
w(Sn, bn),
|
|
31294
|
+
w(Sn, bn), xe(bn);
|
|
31295
31295
|
}, J = (Sn) => H[Sn].get(), de = (Sn, Yo) => {
|
|
31296
31296
|
H[Sn].set(Yo);
|
|
31297
|
-
}, Me = () => J("red").bind((Sn) => J("green").bind((Yo) => J("blue").map((bn) => n0(Sn, Yo, bn, 1)))),
|
|
31297
|
+
}, Me = () => J("red").bind((Sn) => J("green").bind((Yo) => J("blue").map((bn) => n0(Sn, Yo, bn, 1)))), xe = (Sn) => {
|
|
31298
31298
|
const Yo = Sn.red, bn = Sn.green, Ro = Sn.blue;
|
|
31299
31299
|
de("red", D.some(Yo)), de("green", D.some(bn)), de("blue", D.some(Ro));
|
|
31300
31300
|
}, ve = (Sn, Yo) => {
|
|
@@ -31305,7 +31305,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31305
31305
|
const bn = N$(Yo);
|
|
31306
31306
|
de("hex", D.some(bn.value));
|
|
31307
31307
|
const Ro = Zw(bn);
|
|
31308
|
-
w(Sn, Ro),
|
|
31308
|
+
w(Sn, Ro), xe(Ro), dn(Sn, ax, { hex: bn }), E(Sn, bn);
|
|
31309
31309
|
}, dt = (Sn, Yo, bn) => {
|
|
31310
31310
|
const Ro = parseInt(bn, 10);
|
|
31311
31311
|
de(Yo, D.some(Ro)), Me().each((Dt) => {
|
|
@@ -31405,7 +31405,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31405
31405
|
Math.floor(Me.x),
|
|
31406
31406
|
Math.floor(100 - Me.y)
|
|
31407
31407
|
])), dn(J, lx, { value: Me });
|
|
31408
|
-
}, H = (J, de, Me,
|
|
31408
|
+
}, H = (J, de, Me, xe) => {
|
|
31409
31409
|
d(Me.element.dom, WE(Cd));
|
|
31410
31410
|
}, W = xt([
|
|
31411
31411
|
yo.config({ find: D.some }),
|
|
@@ -31471,11 +31471,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31471
31471
|
N.getOpt(Ge).each((At) => {
|
|
31472
31472
|
p.setThumb(At, vt);
|
|
31473
31473
|
});
|
|
31474
|
-
},
|
|
31474
|
+
}, xe = (Ge, vt) => {
|
|
31475
31475
|
const At = Zw(Ge);
|
|
31476
31476
|
E.paletteRgba.set(At), E.paletteHue.set(vt);
|
|
31477
31477
|
}, ve = (Ge, vt, At, Wn) => {
|
|
31478
|
-
|
|
31478
|
+
xe(vt, At), pt(Wn, (jt) => {
|
|
31479
31479
|
jt(Ge, vt, At);
|
|
31480
31480
|
});
|
|
31481
31481
|
}, Oe = () => {
|
|
@@ -32597,8 +32597,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32597
32597
|
}),
|
|
32598
32598
|
Ea(),
|
|
32599
32599
|
Un("size-input-events2", [Qe(c, (N, H) => {
|
|
32600
|
-
const W = H.event.isField1, J = W ? Li.getField1(N) : Li.getField2(N), de = W ? Li.getField2(N) : Li.getField1(N), Me = J.map(Vt.getValue).getOr(""),
|
|
32601
|
-
a = wH(Me,
|
|
32600
|
+
const W = H.event.isField1, J = W ? Li.getField1(N) : Li.getField2(N), de = W ? Li.getField2(N) : Li.getField1(N), Me = J.map(Vt.getValue).getOr(""), xe = de.map(Vt.getValue).getOr("");
|
|
32601
|
+
a = wH(Me, xe);
|
|
32602
32602
|
})])
|
|
32603
32603
|
])
|
|
32604
32604
|
});
|
|
@@ -33323,8 +33323,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33323
33323
|
BS(t, p(N), N, J, c, de, Bc.HighlightMenuAndItem).get(he);
|
|
33324
33324
|
}
|
|
33325
33325
|
}, g = pE(t), p = (N) => (H) => H.map((W) => {
|
|
33326
|
-
const J = Gi(W.menus), de = Te(J, (
|
|
33327
|
-
return Vt.getState(N).update(tt(de, (
|
|
33326
|
+
const J = Gi(W.menus), de = Te(J, (xe) => so(xe.items, (ve) => ve.type === "item"));
|
|
33327
|
+
return Vt.getState(N).update(tt(de, (xe) => xe.data)), W;
|
|
33328
33328
|
}), w = (N) => yo.getCurrent(N), C = "typeaheadevents", E = [
|
|
33329
33329
|
_n.config({}),
|
|
33330
33330
|
Vt.config({
|
|
@@ -33351,9 +33351,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33351
33351
|
onStream: (N, H) => {
|
|
33352
33352
|
const W = Fr.getCoupled(N, "sandbox");
|
|
33353
33353
|
if (_n.isFocused(N) && qd(N.element).length >= t.minChars) {
|
|
33354
|
-
const de = w(W).bind((
|
|
33354
|
+
const de = w(W).bind((xe) => Ho.getHighlighted(xe).map(Vt.getValue));
|
|
33355
33355
|
t.previewing.set(!0);
|
|
33356
|
-
const Me = (
|
|
33356
|
+
const Me = (xe) => {
|
|
33357
33357
|
w(W).each((ve) => {
|
|
33358
33358
|
de.fold(() => {
|
|
33359
33359
|
t.model.selectsOver && Ho.highlightFirst(ve);
|
|
@@ -33638,8 +33638,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33638
33638
|
}, H = [], W = s.translate(t.text.getOr("")), J = Sr(W), Me = [
|
|
33639
33639
|
...Jv([d.map((ve) => ve.asSpec())]),
|
|
33640
33640
|
...t.text.isSome() ? [J] : []
|
|
33641
|
-
],
|
|
33642
|
-
return Ja.sketch(
|
|
33641
|
+
], xe = gk(w, D.some(g), H, N, Me, s);
|
|
33642
|
+
return Ja.sketch(xe);
|
|
33643
33643
|
}, hk = (t, s, a) => {
|
|
33644
33644
|
if (UH(t, s)) {
|
|
33645
33645
|
const c = () => p, d = t, g = {
|
|
@@ -33845,7 +33845,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33845
33845
|
[J.asSpec()],
|
|
33846
33846
|
H.map(() => de.asSpec()).toArray()
|
|
33847
33847
|
])
|
|
33848
|
-
}),
|
|
33848
|
+
}), xe = (ve) => {
|
|
33849
33849
|
yo.getCurrent(ve).each((Oe) => {
|
|
33850
33850
|
const dt = Vt.getValue(Oe), Je = {
|
|
33851
33851
|
fieldname: t.name,
|
|
@@ -33872,7 +33872,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33872
33872
|
}
|
|
33873
33873
|
}),
|
|
33874
33874
|
Ea(),
|
|
33875
|
-
Un("url-input-events", [Qe(W,
|
|
33875
|
+
Un("url-input-events", [Qe(W, xe)])
|
|
33876
33876
|
])
|
|
33877
33877
|
});
|
|
33878
33878
|
}, xA = (t, s) => {
|
|
@@ -34567,7 +34567,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34567
34567
|
});
|
|
34568
34568
|
}, de = (Ge) => c(Ud(), C2(Ge)), Me = (Ge) => {
|
|
34569
34569
|
d(ph(), {}), c(id(), C2(Ge));
|
|
34570
|
-
},
|
|
34570
|
+
}, xe = Ie(Ae.fromDom(t.getElement())), ve = Qb(xe, "scroll", (Ge) => {
|
|
34571
34571
|
requestAnimationFrame(() => {
|
|
34572
34572
|
const vt = t.getContainer();
|
|
34573
34573
|
if (vt != null) {
|
|
@@ -34612,8 +34612,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34612
34612
|
const $ = Fn.contents(E), N = C.length, H = N - $.length, W = H > 0 ? ho(H, () => t.makeItem()) : [], J = $.slice(N);
|
|
34613
34613
|
pt(J, (Me) => Fn.remove(E, Me)), pt(W, (Me) => Fn.append(E, Me));
|
|
34614
34614
|
const de = Fn.contents(E);
|
|
34615
|
-
pt(de, (Me,
|
|
34616
|
-
t.setupItem(w, Me, C[
|
|
34615
|
+
pt(de, (Me, xe) => {
|
|
34616
|
+
t.setupItem(w, Me, C[xe], xe);
|
|
34617
34617
|
});
|
|
34618
34618
|
});
|
|
34619
34619
|
}, g = t.shell ? {
|
|
@@ -34954,8 +34954,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34954
34954
|
if (de && E < J)
|
|
34955
34955
|
Lg(g.left, E - H, a);
|
|
34956
34956
|
else if (Me && $ > W) {
|
|
34957
|
-
const
|
|
34958
|
-
Lg(g.left,
|
|
34957
|
+
const xe = E - d + C + H;
|
|
34958
|
+
Lg(g.left, xe, a);
|
|
34959
34959
|
}
|
|
34960
34960
|
}, Ek = (t, s) => no(sr.getModes(t), s), X1 = (t) => {
|
|
34961
34961
|
const s = (c) => Md(c) + (parseInt(ls(c, "margin-top"), 10) || 0) + (parseInt(ls(c, "margin-bottom"), 10) || 0), a = t.element;
|
|
@@ -35220,20 +35220,20 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35220
35220
|
}));
|
|
35221
35221
|
return lw(hP, fz, d, hz, a);
|
|
35222
35222
|
}, hz = (t, s) => {
|
|
35223
|
-
const a = (de) => ow(t), c = (de, Me) => _s(de, t, Me), d = (de, Me) => (
|
|
35224
|
-
pt(
|
|
35223
|
+
const a = (de) => ow(t), c = (de, Me) => _s(de, t, Me), d = (de, Me) => (xe, ve) => _s(xe, t, ve).map((Oe) => de(Oe, ve)).getOr(Me), g = (de) => (Me, xe) => {
|
|
35224
|
+
pt(xe, (ve) => de(Me, ve));
|
|
35225
35225
|
}, p = (de, Me) => js(de.element, "aria-hidden") !== "true", w = (de, Me) => {
|
|
35226
35226
|
if (!p(de)) {
|
|
35227
|
-
const
|
|
35228
|
-
Co(
|
|
35227
|
+
const xe = de.element;
|
|
35228
|
+
Co(xe, "display"), le(xe, "aria-hidden"), dn(de, M0(), {
|
|
35229
35229
|
name: Me,
|
|
35230
35230
|
visible: !0
|
|
35231
35231
|
});
|
|
35232
35232
|
}
|
|
35233
35233
|
}, C = (de, Me) => {
|
|
35234
35234
|
if (p(de)) {
|
|
35235
|
-
const
|
|
35236
|
-
Yt(
|
|
35235
|
+
const xe = de.element;
|
|
35236
|
+
Yt(xe, "display", "none"), It(xe, "aria-hidden", "true"), dn(de, M0(), {
|
|
35237
35237
|
name: Me,
|
|
35238
35238
|
visible: !1
|
|
35239
35239
|
});
|
|
@@ -36156,7 +36156,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36156
36156
|
tag: "button",
|
|
36157
36157
|
classes: E.concat(...t.icon.isSome() && !de ? ["tox-button--icon"] : []).concat(...de ? ["tox-button--icon-and-text"] : []).concat(...t.borderless ? ["tox-button--naked"] : []).concat(...t.type === "togglebutton" && t.active ? ["tox-button--enabled"] : []),
|
|
36158
36158
|
attributes: H
|
|
36159
|
-
},
|
|
36159
|
+
}, xe = [], ve = gk(C, D.some(w), xe, Me, J, s);
|
|
36160
36160
|
return Ja.sketch(ve);
|
|
36161
36161
|
}, lD = (t, s) => qz(t, s), vy = (t, s) => ({
|
|
36162
36162
|
dom: {
|
|
@@ -37034,7 +37034,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37034
37034
|
]
|
|
37035
37035
|
}
|
|
37036
37036
|
});
|
|
37037
|
-
}, de = Jo(J((ve) => $(!1, ve), "minus", "Decrease font size", [])), Me = Jo(J((ve) => N(!1, ve), "plus", "Increase font size", [])),
|
|
37037
|
+
}, de = Jo(J((ve) => $(!1, ve), "minus", "Decrease font size", [])), Me = Jo(J((ve) => N(!1, ve), "plus", "Increase font size", [])), xe = Jo({
|
|
37038
37038
|
dom: {
|
|
37039
37039
|
tag: "div",
|
|
37040
37040
|
classes: ["tox-input-wrapper"]
|
|
@@ -37097,7 +37097,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37097
37097
|
},
|
|
37098
37098
|
components: [
|
|
37099
37099
|
de.asSpec(),
|
|
37100
|
-
|
|
37100
|
+
xe.asSpec(),
|
|
37101
37101
|
Me.asSpec()
|
|
37102
37102
|
],
|
|
37103
37103
|
behaviours: xt([
|
|
@@ -37802,9 +37802,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37802
37802
|
return (de = Os.whichSidebar(C)) !== null && de !== void 0 ? de : "";
|
|
37803
37803
|
}), t.addCommand("ToggleView", (de, Me) => {
|
|
37804
37804
|
if (Os.toggleView(C, Me)) {
|
|
37805
|
-
const
|
|
37806
|
-
g.mothership.broadcastOn([pd()], { target:
|
|
37807
|
-
ve.broadcastOn([pd()], { target:
|
|
37805
|
+
const xe = C.element;
|
|
37806
|
+
g.mothership.broadcastOn([pd()], { target: xe }), pt(p, (ve) => {
|
|
37807
|
+
ve.broadcastOn([pd()], { target: xe });
|
|
37808
37808
|
}), hn(Os.whichView(C)) && (t.focus(), t.nodeChanged(), Os.refreshToolbar(C));
|
|
37809
37809
|
}
|
|
37810
37810
|
}), t.addQueryValueHandler("ToggleView", () => {
|
|
@@ -37841,10 +37841,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37841
37841
|
const s = Rw(t), a = qT(t), c = X_(t);
|
|
37842
37842
|
return _D(s).map((d) => Xk(d, a, c));
|
|
37843
37843
|
}, cW = (t) => DB(t).getOr(Rw(t)), { ToolbarLocation: nb, ToolbarMode: OB } = SI, iW = 40, uW = (t, s, a, c, d) => {
|
|
37844
|
-
const { mainUi: g, uiMotherships: p } = a, w = L1.DOM, C = Uv(t), E = Pw(t), $ = X_(t).or(DB(t)), N = c.shared.header, H = N.isPositionedAtTop, W = Hv(t), J = W === OB.sliding || W === OB.floating, de = gn(!1), Me = () => de.get() && !t.removed,
|
|
37844
|
+
const { mainUi: g, uiMotherships: p } = a, w = L1.DOM, C = Uv(t), E = Pw(t), $ = X_(t).or(DB(t)), N = c.shared.header, H = N.isPositionedAtTop, W = Hv(t), J = W === OB.sliding || W === OB.floating, de = gn(!1), Me = () => de.get() && !t.removed, xe = (bn) => J ? bn.fold(ae(0), (Ro) => Ro.components().length > 1 ? Us(Ro.components()[1].element) : 0) : 0, ve = (bn) => {
|
|
37845
37845
|
switch ($w(t)) {
|
|
37846
37846
|
case nb.auto:
|
|
37847
|
-
const Ro = Os.getToolbar(g.outerContainer), Dt =
|
|
37847
|
+
const Ro = Os.getToolbar(g.outerContainer), Dt = xe(Ro), en = Us(bn.element) - Dt, On = Xs(s);
|
|
37848
37848
|
if (On.y > en)
|
|
37849
37849
|
return "top";
|
|
37850
37850
|
{
|
|
@@ -37873,7 +37873,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37873
37873
|
});
|
|
37874
37874
|
}, Je = (bn) => {
|
|
37875
37875
|
d.on((Ro) => {
|
|
37876
|
-
const Dt = Os.getToolbar(g.outerContainer), en =
|
|
37876
|
+
const Dt = Os.getToolbar(g.outerContainer), en = xe(Dt), On = Xs(s), { top: Pn, left: yn } = Ge(t, g.outerContainer.element).fold(() => ({
|
|
37877
37877
|
top: H() ? Math.max(On.y - Us(Ro.element) + en, 0) : On.bottom,
|
|
37878
37878
|
left: On.x
|
|
37879
37879
|
}), (Mo) => {
|
|
@@ -38387,7 +38387,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38387
38387
|
const jt = $.element;
|
|
38388
38388
|
Co(jt, "display"), J() ? Yt(jt, "display", "none") : (C.set(0), dr.reposition($));
|
|
38389
38389
|
}
|
|
38390
|
-
},
|
|
38390
|
+
}, xe = (jt) => ({
|
|
38391
38391
|
dom: {
|
|
38392
38392
|
tag: "div",
|
|
38393
38393
|
classes: ["tox-pop__dialog"]
|
|
@@ -38406,7 +38406,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38406
38406
|
])
|
|
38407
38407
|
}), ve = Gs(() => VB(s, (jt) => {
|
|
38408
38408
|
const Dn = Je([jt]);
|
|
38409
|
-
dn($, zB, { forwardContents:
|
|
38409
|
+
dn($, zB, { forwardContents: xe(Dn) });
|
|
38410
38410
|
})), Oe = (jt, Dn) => qk(t, {
|
|
38411
38411
|
buttons: jt,
|
|
38412
38412
|
toolbar: Dn.items,
|
|
@@ -38437,7 +38437,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38437
38437
|
const Sn = Je(jt), Yo = jt[0].position, bn = Ge(Yo, Dn);
|
|
38438
38438
|
E.set(Yo), C.set(1);
|
|
38439
38439
|
const Ro = $.element;
|
|
38440
|
-
Co(Ro, "display"), W(Dn) || (or(Ro, n4), Al.reset(a, $)), dr.showWithinBounds($,
|
|
38440
|
+
Co(Ro, "display"), W(Dn) || (or(Ro, n4), Al.reset(a, $)), dr.showWithinBounds($, xe(Sn), {
|
|
38441
38441
|
anchor: bn,
|
|
38442
38442
|
transition: {
|
|
38443
38443
|
classes: [n4],
|
|
@@ -38968,46 +38968,46 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38968
38968
|
},
|
|
38969
38969
|
default: "link linkchecker image editimage table spellchecker configurepermanentpen"
|
|
38970
38970
|
});
|
|
38971
|
-
}, QB = JB("contextmenu_never_use_native"), WW = JB("contextmenu_avoid_overlap"), ZW = (t) =>
|
|
38971
|
+
}, QB = JB("contextmenu_never_use_native"), WW = JB("contextmenu_avoid_overlap"), ZW = (t) => e7(t).length === 0, e7 = (t) => {
|
|
38972
38972
|
const s = t.ui.registry.getAll().contextMenus, a = t.options.get("contextmenu");
|
|
38973
38973
|
return t.options.isSet("contextmenu") ? a : so(a, (c) => xo(s, c));
|
|
38974
38974
|
}, Fx = (t, s) => ({
|
|
38975
38975
|
type: "makeshift",
|
|
38976
38976
|
x: t,
|
|
38977
38977
|
y: s
|
|
38978
|
-
}),
|
|
38979
|
-
if (
|
|
38978
|
+
}), t7 = (t, s, a) => Fx(t.x + s, t.y + a), n7 = (t) => t.type === "longpress" || t.type.indexOf("touch") === 0, jW = (t) => {
|
|
38979
|
+
if (n7(t)) {
|
|
38980
38980
|
const s = t.touches[0];
|
|
38981
38981
|
return Fx(s.pageX, s.pageY);
|
|
38982
38982
|
} else
|
|
38983
38983
|
return Fx(t.pageX, t.pageY);
|
|
38984
38984
|
}, GW = (t) => {
|
|
38985
|
-
if (
|
|
38985
|
+
if (n7(t)) {
|
|
38986
38986
|
const s = t.touches[0];
|
|
38987
38987
|
return Fx(s.clientX, s.clientY);
|
|
38988
38988
|
} else
|
|
38989
38989
|
return Fx(t.clientX, t.clientY);
|
|
38990
38990
|
}, qW = (t, s) => {
|
|
38991
38991
|
const a = L1.DOM.getPos(t);
|
|
38992
|
-
return
|
|
38993
|
-
}, KW = (t, s) => s.type === "contextmenu" || s.type === "longpress" ? t.inline ? jW(s) : qW(t.getContentAreaContainer(), GW(s)) :
|
|
38992
|
+
return t7(s, a.x, a.y);
|
|
38993
|
+
}, KW = (t, s) => s.type === "contextmenu" || s.type === "longpress" ? t.inline ? jW(s) : qW(t.getContentAreaContainer(), GW(s)) : o7(t), o7 = (t) => ({
|
|
38994
38994
|
type: "selection",
|
|
38995
38995
|
root: Ae.fromDom(t.selection.getNode())
|
|
38996
38996
|
}), YW = (t) => ({
|
|
38997
38997
|
type: "node",
|
|
38998
38998
|
node: D.some(Ae.fromDom(t.selection.getNode())),
|
|
38999
38999
|
root: Ae.fromDom(t.getBody())
|
|
39000
|
-
}),
|
|
39000
|
+
}), s7 = (t, s, a) => {
|
|
39001
39001
|
switch (a) {
|
|
39002
39002
|
case "node":
|
|
39003
39003
|
return YW(t);
|
|
39004
39004
|
case "point":
|
|
39005
39005
|
return KW(t, s);
|
|
39006
39006
|
case "selection":
|
|
39007
|
-
return
|
|
39007
|
+
return o7(t);
|
|
39008
39008
|
}
|
|
39009
|
-
},
|
|
39010
|
-
const p = a(), w =
|
|
39009
|
+
}, r7 = (t, s, a, c, d, g) => {
|
|
39010
|
+
const p = a(), w = s7(t, s, g);
|
|
39011
39011
|
fy(p, ff.CLOSE_ON_EXECUTE, c, {
|
|
39012
39012
|
isHorizontalMenu: !1,
|
|
39013
39013
|
search: D.none()
|
|
@@ -39046,7 +39046,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39046
39046
|
yx,
|
|
39047
39047
|
hy
|
|
39048
39048
|
]
|
|
39049
|
-
},
|
|
39049
|
+
}, a7 = 12, JW = {
|
|
39050
39050
|
valignCentre: [],
|
|
39051
39051
|
alignCentre: [],
|
|
39052
39052
|
alignLeft: ["tox-pop--align-left"],
|
|
@@ -39080,9 +39080,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39080
39080
|
t.off("touchend", a), t.off("longpresscancel", d), t.off("mousedown", c);
|
|
39081
39081
|
};
|
|
39082
39082
|
}, sb = (t, s, a) => {
|
|
39083
|
-
const c =
|
|
39083
|
+
const c = s7(t, s, a);
|
|
39084
39084
|
return {
|
|
39085
|
-
bubble: Qd(0, a === "point" ?
|
|
39085
|
+
bubble: Qd(0, a === "point" ? a7 : 0, JW),
|
|
39086
39086
|
layouts: XW,
|
|
39087
39087
|
overrides: {
|
|
39088
39088
|
maxWidthFunction: Mk(),
|
|
@@ -39090,7 +39090,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39090
39090
|
},
|
|
39091
39091
|
...c
|
|
39092
39092
|
};
|
|
39093
|
-
},
|
|
39093
|
+
}, l7 = (t, s, a, c, d, g, p) => {
|
|
39094
39094
|
const w = sb(t, s, g);
|
|
39095
39095
|
fy(a, ff.CLOSE_ON_EXECUTE, c, {
|
|
39096
39096
|
isHorizontalMenu: !0,
|
|
@@ -39110,7 +39110,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39110
39110
|
}, tZ = (t, s, a, c, d, g) => {
|
|
39111
39111
|
const p = yi(), w = p.os.isiOS(), C = p.os.isMacOS(), E = p.os.isAndroid(), $ = p.deviceType.isTouch(), N = () => !(E || w || C && $), H = () => {
|
|
39112
39112
|
const W = a();
|
|
39113
|
-
|
|
39113
|
+
l7(t, s, W, c, d, g, N());
|
|
39114
39114
|
};
|
|
39115
39115
|
if ((C || w) && g !== "node") {
|
|
39116
39116
|
const W = () => {
|
|
@@ -39119,7 +39119,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39119
39119
|
QW(t, s) ? W() : (t.once("selectionchange", W), t.once("touchend", () => t.off("selectionchange", W)));
|
|
39120
39120
|
} else
|
|
39121
39121
|
H();
|
|
39122
|
-
},
|
|
39122
|
+
}, c7 = (t) => ee(t) ? t === "|" : t.type === "separator", BD = { type: "separator" }, i7 = (t) => {
|
|
39123
39123
|
const s = (a) => ({
|
|
39124
39124
|
text: a.text,
|
|
39125
39125
|
icon: a.icon,
|
|
@@ -39137,7 +39137,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39137
39137
|
...s(t),
|
|
39138
39138
|
getSubmenuItems: () => {
|
|
39139
39139
|
const c = t.getSubmenuItems();
|
|
39140
|
-
return ee(c) ? c : tt(c,
|
|
39140
|
+
return ee(c) ? c : tt(c, i7);
|
|
39141
39141
|
}
|
|
39142
39142
|
};
|
|
39143
39143
|
default:
|
|
@@ -39151,7 +39151,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39151
39151
|
}, ND = (t, s) => {
|
|
39152
39152
|
if (s.length === 0)
|
|
39153
39153
|
return t;
|
|
39154
|
-
const c = vc(t).filter((d) => !
|
|
39154
|
+
const c = vc(t).filter((d) => !c7(d)).fold(() => [], (d) => [BD]);
|
|
39155
39155
|
return t.concat(c).concat(s).concat([BD]);
|
|
39156
39156
|
}, nZ = (t, s, a) => {
|
|
39157
39157
|
const c = Wo(s, (d, g) => bt(t, g.toLowerCase()).map((p) => {
|
|
@@ -39159,16 +39159,16 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39159
39159
|
if (ee(w) && ua(Ur(w)))
|
|
39160
39160
|
return ND(d, w.split(" "));
|
|
39161
39161
|
if (yt(w) && w.length > 0) {
|
|
39162
|
-
const C = tt(w,
|
|
39162
|
+
const C = tt(w, i7);
|
|
39163
39163
|
return ND(d, C);
|
|
39164
39164
|
} else
|
|
39165
39165
|
return d;
|
|
39166
39166
|
}).getOrThunk(() => d.concat([g])), []);
|
|
39167
|
-
return c.length > 0 &&
|
|
39168
|
-
}, oZ = (t, s) => s.ctrlKey && !QB(t), sZ = (t) => t.type === "longpress" || xo(t, "touches"),
|
|
39169
|
-
const a = WW(t), c =
|
|
39167
|
+
return c.length > 0 && c7(c[c.length - 1]) && c.pop(), c;
|
|
39168
|
+
}, oZ = (t, s) => s.ctrlKey && !QB(t), sZ = (t) => t.type === "longpress" || xo(t, "touches"), u7 = (t, s) => !sZ(s) && (s.button !== 2 || s.target === t.getBody() && s.pointerType === ""), d7 = (t, s) => u7(t, s) ? t.selection.getStart(!0) : s.target, rZ = (t, s) => {
|
|
39169
|
+
const a = WW(t), c = u7(t, s) ? "selection" : "point";
|
|
39170
39170
|
if (ua(a)) {
|
|
39171
|
-
const d =
|
|
39171
|
+
const d = d7(t, s);
|
|
39172
39172
|
return Yw(Ae.fromDom(d), a) ? "node" : c;
|
|
39173
39173
|
} else
|
|
39174
39174
|
return c;
|
|
@@ -39187,10 +39187,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39187
39187
|
if (QB(t) && C.preventDefault(), oZ(t, C) || ZW(t))
|
|
39188
39188
|
return;
|
|
39189
39189
|
const E = rZ(t, C), $ = () => {
|
|
39190
|
-
const H =
|
|
39190
|
+
const H = d7(t, C), W = t.ui.registry.getAll(), J = e7(t);
|
|
39191
39191
|
return nZ(W.contextMenus, J, H);
|
|
39192
39192
|
};
|
|
39193
|
-
(d() ? tZ :
|
|
39193
|
+
(d() ? tZ : r7)(t, C, $, a, g, E);
|
|
39194
39194
|
};
|
|
39195
39195
|
t.on("init", () => {
|
|
39196
39196
|
const C = "ResizeEditor ScrollContent ScrollWindow longpresscancel" + (d() ? "" : " ResizeWindow");
|
|
@@ -39252,11 +39252,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39252
39252
|
return p(w.getOr(E.left), C.getOr(E.top));
|
|
39253
39253
|
};
|
|
39254
39254
|
return t.fold(d(_y, l4), d(Cy, p0), d(Hx, rb));
|
|
39255
|
-
}, l4 = ID.offset, p0 = ID.absolute, rb = ID.fixed,
|
|
39255
|
+
}, l4 = ID.offset, p0 = ID.absolute, rb = ID.fixed, m7 = (t, s) => {
|
|
39256
39256
|
const a = js(t, s);
|
|
39257
39257
|
return io(a) ? NaN : parseInt(a, 10);
|
|
39258
39258
|
}, uZ = (t, s) => {
|
|
39259
|
-
const a = t.element, c =
|
|
39259
|
+
const a = t.element, c = m7(a, s.leftAttr), d = m7(a, s.topAttr);
|
|
39260
39260
|
return isNaN(c) || isNaN(d) ? D.none() : D.some(Lo(c, d));
|
|
39261
39261
|
}, dZ = (t, s, a) => {
|
|
39262
39262
|
const c = t.element;
|
|
@@ -39275,7 +39275,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39275
39275
|
}));
|
|
39276
39276
|
}, hZ = (t, s) => {
|
|
39277
39277
|
mZ(t, s);
|
|
39278
|
-
},
|
|
39278
|
+
}, f7 = (t, s, a, c) => nr(t, (d) => {
|
|
39279
39279
|
const g = d.sensor;
|
|
39280
39280
|
return lZ(s, g, d.range.left, d.range.top, a, c) ? D.some({
|
|
39281
39281
|
output: LD(d.output, s, a, c),
|
|
@@ -39283,7 +39283,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39283
39283
|
}) : D.none();
|
|
39284
39284
|
}), pZ = (t, s, a, c, d) => {
|
|
39285
39285
|
const g = s.getSnapPoints(t);
|
|
39286
|
-
return
|
|
39286
|
+
return f7(g, a, c, d).orThunk(() => Wo(g, (C, E) => {
|
|
39287
39287
|
const $ = E.sensor, N = cZ(a, $, E.range.left, E.range.top, c, d);
|
|
39288
39288
|
return C.deltas.fold(() => ({
|
|
39289
39289
|
deltas: D.some(N),
|
|
@@ -39304,7 +39304,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39304
39304
|
})));
|
|
39305
39305
|
}, bZ = (t, s, a, c, d) => {
|
|
39306
39306
|
const g = s.getSnapPoints(t);
|
|
39307
|
-
return
|
|
39307
|
+
return f7(g, a, c, d);
|
|
39308
39308
|
}, vZ = (t, s, a) => ({
|
|
39309
39309
|
coord: LD(t.output, t.output, s, a),
|
|
39310
39310
|
extra: t.extra
|
|
@@ -39329,11 +39329,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39329
39329
|
It(s, FD, a);
|
|
39330
39330
|
}), Yt(s, "z-index", ls(t.element, "z-index"));
|
|
39331
39331
|
});
|
|
39332
|
-
},
|
|
39332
|
+
}, g7 = (t, s) => {
|
|
39333
39333
|
t.getSystem().addToGui(s), wZ(s);
|
|
39334
39334
|
}, xZ = (t) => {
|
|
39335
39335
|
yZ(t), t.getSystem().removeFromGui(t);
|
|
39336
|
-
},
|
|
39336
|
+
}, h7 = (t, s, a) => t.getSystem().build(gf.sketch({
|
|
39337
39337
|
dom: {
|
|
39338
39338
|
styles: {
|
|
39339
39339
|
left: "0px",
|
|
@@ -39347,7 +39347,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39347
39347
|
},
|
|
39348
39348
|
events: a
|
|
39349
39349
|
}));
|
|
39350
|
-
var
|
|
39350
|
+
var p7 = kl("snaps", [
|
|
39351
39351
|
nt("getSnapPoints"),
|
|
39352
39352
|
Ao("onSensor"),
|
|
39353
39353
|
nt("leftAttr"),
|
|
@@ -39363,7 +39363,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39363
39363
|
Re("repositionTarget", !0),
|
|
39364
39364
|
Re("onDrop", he),
|
|
39365
39365
|
sa("getBounds", na),
|
|
39366
|
-
|
|
39366
|
+
p7
|
|
39367
39367
|
], CZ = (t) => vl(zs(t, "left"), zs(t, "top"), zs(t, "position"), (s, a, c) => (c === "fixed" ? rb : l4)(parseInt(s, 10), parseInt(a, 10))).getOrThunk(() => {
|
|
39368
39368
|
const s = Cl(t);
|
|
39369
39369
|
return p0(s.left, s.top);
|
|
@@ -39403,7 +39403,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39403
39403
|
g.each((w) => {
|
|
39404
39404
|
kZ(t, s, p, w);
|
|
39405
39405
|
});
|
|
39406
|
-
},
|
|
39406
|
+
}, b7 = (t, s, a, c) => {
|
|
39407
39407
|
s.each(xZ), a.snaps.each((g) => {
|
|
39408
39408
|
hZ(t, g);
|
|
39409
39409
|
});
|
|
@@ -39432,24 +39432,24 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39432
39432
|
getData: (t) => D.from(Lo(t.x, t.y)),
|
|
39433
39433
|
getDelta: (t, s) => Lo(s.left - t.left, s.top - t.top)
|
|
39434
39434
|
});
|
|
39435
|
-
const
|
|
39435
|
+
const v7 = (t, s, a) => [Qe(uo(), (c, d) => {
|
|
39436
39436
|
if (d.event.raw.button !== 0)
|
|
39437
39437
|
return;
|
|
39438
39438
|
d.stop();
|
|
39439
|
-
const p = () =>
|
|
39439
|
+
const p = () => b7(c, D.some(E), t, s), w = T6(p, 200), C = {
|
|
39440
39440
|
drop: p,
|
|
39441
39441
|
delayDrop: w.schedule,
|
|
39442
39442
|
forceDrop: p,
|
|
39443
39443
|
move: (N) => {
|
|
39444
39444
|
w.cancel(), u4(c, t, s, EZ, N);
|
|
39445
39445
|
}
|
|
39446
|
-
}, E =
|
|
39446
|
+
}, E = h7(c, t.blockerClass, TZ(C));
|
|
39447
39447
|
(() => {
|
|
39448
|
-
a(c),
|
|
39448
|
+
a(c), g7(c, E);
|
|
39449
39449
|
})();
|
|
39450
39450
|
})], AZ = [
|
|
39451
39451
|
...HD,
|
|
39452
|
-
is("dragger", { handlers: VD(
|
|
39452
|
+
is("dragger", { handlers: VD(v7) })
|
|
39453
39453
|
], DZ = (t) => As([
|
|
39454
39454
|
Qe(Xc(), t.forceDrop),
|
|
39455
39455
|
Qe(Fm(), t.drop),
|
|
@@ -39461,7 +39461,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39461
39461
|
const s = t[0];
|
|
39462
39462
|
return D.some(Lo(s.clientX, s.clientY));
|
|
39463
39463
|
};
|
|
39464
|
-
var
|
|
39464
|
+
var y7 = /* @__PURE__ */ Object.freeze({
|
|
39465
39465
|
__proto__: null,
|
|
39466
39466
|
getData: (t) => {
|
|
39467
39467
|
const a = t.raw.touches;
|
|
@@ -39469,9 +39469,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39469
39469
|
},
|
|
39470
39470
|
getDelta: (t, s) => Lo(s.left - t.left, s.top - t.top)
|
|
39471
39471
|
});
|
|
39472
|
-
const
|
|
39472
|
+
const w7 = (t, s, a) => {
|
|
39473
39473
|
const c = ro(), d = (g) => {
|
|
39474
|
-
|
|
39474
|
+
b7(g, c.get(), t, s), c.clear();
|
|
39475
39475
|
};
|
|
39476
39476
|
return [
|
|
39477
39477
|
Qe(Xc(), (g, p) => {
|
|
@@ -39481,15 +39481,15 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39481
39481
|
delayDrop: he,
|
|
39482
39482
|
forceDrop: w,
|
|
39483
39483
|
move: (N) => {
|
|
39484
|
-
u4(g, t, s,
|
|
39484
|
+
u4(g, t, s, y7, N);
|
|
39485
39485
|
}
|
|
39486
|
-
}, E =
|
|
39486
|
+
}, E = h7(g, t.blockerClass, DZ(C));
|
|
39487
39487
|
c.set(E), (() => {
|
|
39488
|
-
a(g),
|
|
39488
|
+
a(g), g7(g, E);
|
|
39489
39489
|
})();
|
|
39490
39490
|
}),
|
|
39491
39491
|
Qe($f(), (g, p) => {
|
|
39492
|
-
p.stop(), u4(g, t, s,
|
|
39492
|
+
p.stop(), u4(g, t, s, y7, p.event);
|
|
39493
39493
|
}),
|
|
39494
39494
|
Qe(Fm(), (g, p) => {
|
|
39495
39495
|
p.stop(), d(g);
|
|
@@ -39498,10 +39498,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39498
39498
|
];
|
|
39499
39499
|
}, RZ = [
|
|
39500
39500
|
...HD,
|
|
39501
|
-
is("dragger", { handlers: VD(
|
|
39501
|
+
is("dragger", { handlers: VD(w7) })
|
|
39502
39502
|
], $Z = (t, s, a) => [
|
|
39503
|
-
...
|
|
39504
|
-
...
|
|
39503
|
+
...v7(t, s, a),
|
|
39504
|
+
...w7(t, s, a)
|
|
39505
39505
|
], MZ = [
|
|
39506
39506
|
...HD,
|
|
39507
39507
|
is("dragger", { handlers: VD($Z) })
|
|
@@ -39618,14 +39618,14 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39618
39618
|
finish: vt
|
|
39619
39619
|
});
|
|
39620
39620
|
});
|
|
39621
|
-
}), W = b0(N), J = b0(H), de = Tl(W.asSpec()), Me = Tl(J.asSpec()),
|
|
39621
|
+
}), W = b0(N), J = b0(H), de = Tl(W.asSpec()), Me = Tl(J.asSpec()), xe = (vt, At, Wn, jt) => {
|
|
39622
39622
|
const Dn = At.dom.getBoundingClientRect();
|
|
39623
39623
|
Co(vt.element, "display");
|
|
39624
39624
|
const Sn = Hl(Ae.fromDom(t.getBody())).dom.innerHeight, Yo = Wn(Dn), bn = jt(Dn, Sn);
|
|
39625
39625
|
(Yo || bn) && Yt(vt.element, "display", "none");
|
|
39626
39626
|
}, ve = (vt, At, Wn, jt) => {
|
|
39627
39627
|
const Dn = Wn(At);
|
|
39628
|
-
ab.snapTo(vt, Dn),
|
|
39628
|
+
ab.snapTo(vt, Dn), xe(vt, At, (bn) => bn[jt] < 0, (bn, Ro) => bn[jt] > Ro);
|
|
39629
39629
|
}, Oe = (vt) => ve(de, vt, w, "top"), dt = () => g.get().each(Oe), Je = (vt) => ve(Me, vt, E, "bottom"), Ge = () => p.get().each(Je);
|
|
39630
39630
|
yi().deviceType.isTouch() && (t.on("TableSelectionChange", (vt) => {
|
|
39631
39631
|
d.get() || (eg(s, de), eg(s, Me), d.set(!0)), g.set(vt.start), p.set(vt.finish), vt.otherCells.each((At) => {
|
|
@@ -39721,7 +39721,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39721
39721
|
const FZ = (t, s, a, c, d) => {
|
|
39722
39722
|
const g = { height: Xk(c + s.top, Fv(t), KT(t)) };
|
|
39723
39723
|
return a === v0.Both && (g.width = Xk(d + s.left, qT(t), X_(t))), g;
|
|
39724
|
-
},
|
|
39724
|
+
}, x7 = (t, s, a) => {
|
|
39725
39725
|
const c = Ae.fromDom(t.getContainer()), d = FZ(t, s, a, Us(c), Wr(c));
|
|
39726
39726
|
ds(d, (g, p) => {
|
|
39727
39727
|
Ls(g) && Yt(c, p, Yk(g));
|
|
@@ -39731,8 +39731,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39731
39731
|
return s === !1 ? v0.None : s === "both" ? v0.Both : v0.Vertical;
|
|
39732
39732
|
}, xg = (t, s, a, c) => {
|
|
39733
39733
|
const g = Lo(a * 20, c * 20);
|
|
39734
|
-
return
|
|
39735
|
-
},
|
|
39734
|
+
return x7(t, g, s), D.some(!0);
|
|
39735
|
+
}, C7 = (t, s) => {
|
|
39736
39736
|
const a = HZ(t);
|
|
39737
39737
|
if (a === v0.None)
|
|
39738
39738
|
return D.none();
|
|
@@ -39748,7 +39748,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39748
39748
|
ab.config({
|
|
39749
39749
|
mode: "mouse",
|
|
39750
39750
|
repositionTarget: !1,
|
|
39751
|
-
onDrag: (d, g, p) =>
|
|
39751
|
+
onDrag: (d, g, p) => x7(t, p, a),
|
|
39752
39752
|
blockerClass: "tox-blocker"
|
|
39753
39753
|
}),
|
|
39754
39754
|
mn.config({
|
|
@@ -39895,11 +39895,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39895
39895
|
classes: ["tox-statusbar"]
|
|
39896
39896
|
},
|
|
39897
39897
|
components: (() => {
|
|
39898
|
-
const w = g(), C =
|
|
39898
|
+
const w = g(), C = C7(t, s);
|
|
39899
39899
|
return w.concat(C.toArray());
|
|
39900
39900
|
})()
|
|
39901
39901
|
};
|
|
39902
|
-
},
|
|
39902
|
+
}, _7 = (t, s) => s.get().getOrDie(`UI for ${t} has not been rendered`), UZ = (t, s) => {
|
|
39903
39903
|
const a = t.inline, c = a ? fW : AB, d = Pw(t) ? fP : Tx, g = gW(), p = ro(), w = ro(), C = ro(), H = yi().deviceType.isTouch() ? ["tox-platform-touch"] : [], W = rE(t), J = Hv(t), de = Jo({
|
|
39904
39904
|
dom: {
|
|
39905
39905
|
tag: "div",
|
|
@@ -39910,7 +39910,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39910
39910
|
tag: "div",
|
|
39911
39911
|
classes: ["tox-bottom-anchorbar"]
|
|
39912
39912
|
}
|
|
39913
|
-
}),
|
|
39913
|
+
}), xe = () => g.mainUi.get().map((yn) => yn.outerContainer).bind(Os.getHeader), ve = () => Vn.fromOption(g.dialogUi.get().map((yn) => yn.sink), "UI has not been rendered"), Oe = () => Vn.fromOption(g.popupUi.get().map((yn) => yn.sink), "(popup) UI has not been rendered"), dt = g.lazyGetInOuterOrDie("anchor bar", de.getOpt), Je = g.lazyGetInOuterOrDie("bottom anchor bar", Me.getOpt), Ge = g.lazyGetInOuterOrDie("toolbar", Os.getToolbar), vt = g.lazyGetInOuterOrDie("throbber", Os.getThrobber), At = py({
|
|
39914
39914
|
popup: Oe,
|
|
39915
39915
|
dialog: ve
|
|
39916
39916
|
}, t, dt, Je), Wn = () => {
|
|
@@ -39938,7 +39938,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39938
39938
|
},
|
|
39939
39939
|
type: J,
|
|
39940
39940
|
lazyToolbar: Ge,
|
|
39941
|
-
lazyHeader: () =>
|
|
39941
|
+
lazyHeader: () => xe().getOrDie("Could not find header element"),
|
|
39942
39942
|
...yn
|
|
39943
39943
|
}), Mo = Os.parts["multiple-toolbar"]({
|
|
39944
39944
|
dom: {
|
|
@@ -40007,7 +40007,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40007
40007
|
].concat(H),
|
|
40008
40008
|
attributes: { ...Hu.isRtl() ? { dir: "rtl" } : {} }
|
|
40009
40009
|
},
|
|
40010
|
-
behaviours: xt([Al.config({ useFixed: () => d.isDocked(
|
|
40010
|
+
behaviours: xt([Al.config({ useFixed: () => d.isDocked(xe) })])
|
|
40011
40011
|
}, Mo = {
|
|
40012
40012
|
dom: { styles: { width: document.body.clientWidth + "px" } },
|
|
40013
40013
|
events: As([Qe(id(), (Od) => {
|
|
@@ -40031,7 +40031,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40031
40031
|
attributes: { ...Hu.isRtl() ? { dir: "rtl" } : {} }
|
|
40032
40032
|
},
|
|
40033
40033
|
behaviours: xt([Al.config({
|
|
40034
|
-
useFixed: () => d.isDocked(
|
|
40034
|
+
useFixed: () => d.isDocked(xe),
|
|
40035
40035
|
getBounds: () => s.getPopupSinkBounds()
|
|
40036
40036
|
})])
|
|
40037
40037
|
}, Hn = Tl(yn), ks = IS(Hn);
|
|
@@ -40122,7 +40122,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40122
40122
|
sidebar: xm,
|
|
40123
40123
|
views: S0
|
|
40124
40124
|
};
|
|
40125
|
-
Dt(Hn.outerContainer), Y8(t, Hn.mothership, Mo), d.setup(t, At.popup.shared,
|
|
40125
|
+
Dt(Hn.outerContainer), Y8(t, Hn.mothership, Mo), d.setup(t, At.popup.shared, xe), XB(t, At.popup), aZ(t, At.popup.shared.getSink, At.popup), vP(t), Dz(t, vt, At.popup.shared), WB(t, Od, ks.sink, { backstage: At.popup }), IZ(t, ks.sink);
|
|
40126
40126
|
const Nh = t.getElement(), Kx = Ro(Hn.outerContainer), oO = {
|
|
40127
40127
|
targetNode: Nh,
|
|
40128
40128
|
height: Kx
|
|
@@ -40142,11 +40142,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40142
40142
|
return {
|
|
40143
40143
|
popups: {
|
|
40144
40144
|
backstage: At.popup,
|
|
40145
|
-
getMothership: () =>
|
|
40145
|
+
getMothership: () => _7("popups", C)
|
|
40146
40146
|
},
|
|
40147
40147
|
dialogs: {
|
|
40148
40148
|
backstage: At.dialog,
|
|
40149
|
-
getMothership: () =>
|
|
40149
|
+
getMothership: () => _7("dialogs", w)
|
|
40150
40150
|
},
|
|
40151
40151
|
renderUI: Pn
|
|
40152
40152
|
};
|
|
@@ -40330,26 +40330,26 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40330
40330
|
"custom"
|
|
40331
40331
|
]),
|
|
40332
40332
|
...Vx
|
|
40333
|
-
],
|
|
40333
|
+
], S7 = [
|
|
40334
40334
|
au("type", ["menu"]),
|
|
40335
40335
|
ug,
|
|
40336
40336
|
Lw,
|
|
40337
40337
|
Vu,
|
|
40338
40338
|
Ec("items", qD),
|
|
40339
40339
|
...Bh
|
|
40340
|
-
],
|
|
40340
|
+
], k7 = [
|
|
40341
40341
|
...Bh,
|
|
40342
40342
|
au("type", ["togglebutton"]),
|
|
40343
40343
|
Bo("tooltip"),
|
|
40344
40344
|
Vu,
|
|
40345
40345
|
ug,
|
|
40346
40346
|
Xr("active", !1)
|
|
40347
|
-
],
|
|
40347
|
+
], T7 = vo("type", {
|
|
40348
40348
|
submit: KD,
|
|
40349
40349
|
cancel: KD,
|
|
40350
40350
|
custom: KD,
|
|
40351
|
-
menu:
|
|
40352
|
-
togglebutton:
|
|
40351
|
+
menu: S7,
|
|
40352
|
+
togglebutton: k7
|
|
40353
40353
|
}), GZ = [
|
|
40354
40354
|
Qr,
|
|
40355
40355
|
Eh,
|
|
@@ -40364,7 +40364,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40364
40364
|
], qZ = rn(GZ), KZ = (t) => [
|
|
40365
40365
|
Qr,
|
|
40366
40366
|
t
|
|
40367
|
-
],
|
|
40367
|
+
], E7 = [
|
|
40368
40368
|
Qr,
|
|
40369
40369
|
Eh,
|
|
40370
40370
|
wd,
|
|
@@ -40377,17 +40377,17 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40377
40377
|
"toolbar"
|
|
40378
40378
|
]),
|
|
40379
40379
|
dg
|
|
40380
|
-
],
|
|
40380
|
+
], A7 = rn(E7), y0 = [
|
|
40381
40381
|
Qr,
|
|
40382
40382
|
_E
|
|
40383
40383
|
], xf = y0.concat([hS]), YZ = y0.concat([
|
|
40384
40384
|
gS,
|
|
40385
40385
|
wd
|
|
40386
|
-
]), XZ = rn(YZ),
|
|
40386
|
+
]), XZ = rn(YZ), D7 = ru, JZ = xf.concat([l$("auto")]), QZ = rn(JZ), ej = Tu([
|
|
40387
40387
|
Gv,
|
|
40388
40388
|
Eh,
|
|
40389
40389
|
SE
|
|
40390
|
-
]), YD = xf.concat([Kc("storageKey", "default")]), XD = rn(YD), tj = ya, oj = rn(xf), sj = ya,
|
|
40390
|
+
]), YD = xf.concat([Kc("storageKey", "default")]), XD = rn(YD), tj = ya, oj = rn(xf), sj = ya, O7 = y0.concat([
|
|
40391
40391
|
Kc("tag", "textarea"),
|
|
40392
40392
|
Bo("scriptId"),
|
|
40393
40393
|
Bo("scriptUrl"),
|
|
@@ -40395,7 +40395,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40395
40395
|
]), rj = y0.concat([
|
|
40396
40396
|
Kc("tag", "textarea"),
|
|
40397
40397
|
lu("init")
|
|
40398
|
-
]), aj = Hd((t) => Js("customeditor.old", Es(rj), t).orThunk(() => Js("customeditor.new", Es(
|
|
40398
|
+
]), aj = Hd((t) => Js("customeditor.old", Es(rj), t).orThunk(() => Js("customeditor.new", Es(O7), t))), lb = ya, cj = rn(xf), g4 = vb(), Sy = (t) => [
|
|
40399
40399
|
Qr,
|
|
40400
40400
|
Kg("columns"),
|
|
40401
40401
|
t
|
|
@@ -40406,12 +40406,12 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40406
40406
|
"presentation",
|
|
40407
40407
|
"document"
|
|
40408
40408
|
])
|
|
40409
|
-
],
|
|
40409
|
+
], R7 = rn(h4), p4 = xf.concat([
|
|
40410
40410
|
Xr("border", !1),
|
|
40411
40411
|
Xr("sandboxed", !0),
|
|
40412
40412
|
Xr("streamContent", !1),
|
|
40413
40413
|
Xr("transparent", !0)
|
|
40414
|
-
]), Hi = rn(p4), b4 = ya, $
|
|
40414
|
+
]), Hi = rn(p4), b4 = ya, $7 = rn(y0.concat([La("height")])), M7 = rn([
|
|
40415
40415
|
Bo("url"),
|
|
40416
40416
|
Bm("zoom"),
|
|
40417
40417
|
Bm("cachedWidth"),
|
|
@@ -40433,16 +40433,16 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40433
40433
|
], dj = [
|
|
40434
40434
|
Eh,
|
|
40435
40435
|
Gv
|
|
40436
|
-
],
|
|
40436
|
+
], P7 = [
|
|
40437
40437
|
Eh,
|
|
40438
40438
|
Ec("items", Of("items", () => cb))
|
|
40439
40439
|
], cb = qt([
|
|
40440
40440
|
rn(dj),
|
|
40441
|
-
rn(
|
|
40441
|
+
rn(P7)
|
|
40442
40442
|
]), v4 = xf.concat([
|
|
40443
40443
|
Ec("items", cb),
|
|
40444
40444
|
wd
|
|
40445
|
-
]),
|
|
40445
|
+
]), B7 = rn(v4), mj = ya, fj = xf.concat([
|
|
40446
40446
|
A0("items", [
|
|
40447
40447
|
Eh,
|
|
40448
40448
|
Gv
|
|
@@ -40452,7 +40452,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40452
40452
|
]), gj = rn(fj), hj = ya, ky = xf.concat([
|
|
40453
40453
|
Xr("constrain", !0),
|
|
40454
40454
|
wd
|
|
40455
|
-
]), BG = rn(ky),
|
|
40455
|
+
]), BG = rn(ky), N7 = rn([
|
|
40456
40456
|
Bo("width"),
|
|
40457
40457
|
Bo("height")
|
|
40458
40458
|
]), pj = y0.concat([
|
|
@@ -40467,7 +40467,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40467
40467
|
La("placeholder"),
|
|
40468
40468
|
Xr("maximized", !1),
|
|
40469
40469
|
wd
|
|
40470
|
-
]), wj = rn(yj),
|
|
40470
|
+
]), wj = rn(yj), I7 = ya, L7 = [
|
|
40471
40471
|
au("type", [
|
|
40472
40472
|
"directory",
|
|
40473
40473
|
"leaf"
|
|
@@ -40475,7 +40475,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40475
40475
|
o$,
|
|
40476
40476
|
Bo("id"),
|
|
40477
40477
|
Au("menu", KA)
|
|
40478
|
-
], e = rn(
|
|
40478
|
+
], e = rn(L7), n = L7.concat([Ec("children", Of("children", () => ut("type", {
|
|
40479
40479
|
directory: o,
|
|
40480
40480
|
leaf: e
|
|
40481
40481
|
})))]), o = rn(n), r = ut("type", {
|
|
@@ -40502,7 +40502,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40502
40502
|
]), k = (t) => Ia("items", "items", Eo(), ku(Hd((s) => Js(`Checking item of ${t}`, P, s).fold((a) => Vn.error(il(a)), (a) => Vn.value(a))))), P = va(() => ut("type", {
|
|
40503
40503
|
alertbanner: qZ,
|
|
40504
40504
|
bar: rn(KZ(k("bar"))),
|
|
40505
|
-
button:
|
|
40505
|
+
button: A7,
|
|
40506
40506
|
checkbox: XZ,
|
|
40507
40507
|
colorinput: XD,
|
|
40508
40508
|
colorpicker: oj,
|
|
@@ -40510,15 +40510,15 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40510
40510
|
grid: rn(Sy(k("grid"))),
|
|
40511
40511
|
iframe: Hi,
|
|
40512
40512
|
input: uj,
|
|
40513
|
-
listbox:
|
|
40513
|
+
listbox: B7,
|
|
40514
40514
|
selectbox: gj,
|
|
40515
40515
|
sizeinput: BG,
|
|
40516
40516
|
slider: NG,
|
|
40517
40517
|
textarea: wj,
|
|
40518
40518
|
urlinput: b,
|
|
40519
40519
|
customeditor: aj,
|
|
40520
|
-
htmlpanel:
|
|
40521
|
-
imagepreview: $
|
|
40520
|
+
htmlpanel: R7,
|
|
40521
|
+
imagepreview: $7,
|
|
40522
40522
|
collection: QZ,
|
|
40523
40523
|
label: rn(PG(k("label"))),
|
|
40524
40524
|
table: zx,
|
|
@@ -40535,7 +40535,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40535
40535
|
], oe = [
|
|
40536
40536
|
Qr,
|
|
40537
40537
|
A0("tabs", Q)
|
|
40538
|
-
], K = rn(oe), se = Vx, we =
|
|
40538
|
+
], K = rn(oe), se = Vx, we = T7, ke = rn([
|
|
40539
40539
|
Bo("title"),
|
|
40540
40540
|
dc("body", ut("type", {
|
|
40541
40541
|
panel: F,
|
|
@@ -40567,19 +40567,19 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40567
40567
|
sa("onClose", he),
|
|
40568
40568
|
sa("onMessage", he)
|
|
40569
40569
|
]), wt = (t) => Js("dialog", rt, t), Ft = (t) => $e(t) ? [t].concat(Te(Gi(t), Ft)) : yt(t) ? Te(t, Ft) : [], We = (t) => ee(t.type) && ee(t.name), Ve = {
|
|
40570
|
-
checkbox:
|
|
40570
|
+
checkbox: D7,
|
|
40571
40571
|
colorinput: tj,
|
|
40572
40572
|
colorpicker: sj,
|
|
40573
40573
|
dropzone: g4,
|
|
40574
40574
|
input: w0,
|
|
40575
40575
|
iframe: b4,
|
|
40576
|
-
imagepreview:
|
|
40576
|
+
imagepreview: M7,
|
|
40577
40577
|
selectbox: hj,
|
|
40578
|
-
sizeinput:
|
|
40578
|
+
sizeinput: N7,
|
|
40579
40579
|
slider: bj,
|
|
40580
40580
|
listbox: mj,
|
|
40581
|
-
size:
|
|
40582
|
-
textarea:
|
|
40581
|
+
size: N7,
|
|
40582
|
+
textarea: I7,
|
|
40583
40583
|
urlinput: y,
|
|
40584
40584
|
customeditor: lb,
|
|
40585
40585
|
collection: ej,
|
|
@@ -41510,17 +41510,17 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41510
41510
|
de.getSystem().isConnected() && J(de);
|
|
41511
41511
|
}, W = {
|
|
41512
41512
|
getData: () => {
|
|
41513
|
-
const J = t.getRoot(), de = J.getSystem().isConnected() ? t.getFormWrapper() : J, Me = Vt.getValue(de),
|
|
41513
|
+
const J = t.getRoot(), de = J.getSystem().isConnected() ? t.getFormWrapper() : J, Me = Vt.getValue(de), xe = Ko(a, (ve) => ve.get());
|
|
41514
41514
|
return {
|
|
41515
41515
|
...Me,
|
|
41516
|
-
...
|
|
41516
|
+
...xe
|
|
41517
41517
|
};
|
|
41518
41518
|
},
|
|
41519
41519
|
setData: (J) => {
|
|
41520
41520
|
c((de) => {
|
|
41521
|
-
const Me = W.getData(),
|
|
41521
|
+
const Me = W.getData(), xe = Go(Me, J), ve = wm(t, xe), Oe = t.getFormWrapper();
|
|
41522
41522
|
Vt.setValue(Oe, ve), ds(a, (dt, Je) => {
|
|
41523
|
-
xo(
|
|
41523
|
+
xo(xe, Je) && dt.set(xe[Je]);
|
|
41524
41524
|
});
|
|
41525
41525
|
});
|
|
41526
41526
|
},
|
|
@@ -41552,11 +41552,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41552
41552
|
},
|
|
41553
41553
|
redial: (J) => {
|
|
41554
41554
|
c((de) => {
|
|
41555
|
-
const Me = t.getId(),
|
|
41556
|
-
de.getSystem().broadcastOn([`${dy}-${Me}`],
|
|
41557
|
-
...
|
|
41555
|
+
const Me = t.getId(), xe = s(J), ve = x4(xe.internalDialog.buttons, a);
|
|
41556
|
+
de.getSystem().broadcastOn([`${dy}-${Me}`], xe), de.getSystem().broadcastOn([`${vg}-${Me}`], xe.internalDialog), de.getSystem().broadcastOn([`${sk}-${Me}`], xe.internalDialog), de.getSystem().broadcastOn([`${K5}-${Me}`], {
|
|
41557
|
+
...xe.internalDialog,
|
|
41558
41558
|
buttons: ve
|
|
41559
|
-
}), W.setData(
|
|
41559
|
+
}), W.setData(xe.initialData);
|
|
41560
41560
|
});
|
|
41561
41561
|
},
|
|
41562
41562
|
close: () => {
|
|
@@ -41571,7 +41571,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41571
41571
|
const c = Gt("dialog"), d = t.internalDialog, g = St(d.title, c, a), p = gn(d.size), w = el(p.get()).toArray(), C = (ve, Oe) => (p.set(Oe.internalDialog.size), _0(Oe.internalDialog.size, ve), D.some(Oe)), E = Zx({
|
|
41572
41572
|
body: d.body,
|
|
41573
41573
|
initialData: d.initialData
|
|
41574
|
-
}, c, a), $ = x4(d.buttons), N = eO($), H = pn($.length !== 0, Dd({ buttons: $ }, c, a)), W = ao(() =>
|
|
41574
|
+
}, c, a), $ = x4(d.buttons), N = eO($), H = pn($.length !== 0, Dd({ buttons: $ }, c, a)), W = ao(() => xe, ln(() => de, a.shared.providers, s), a.shared.getSink), J = {
|
|
41575
41575
|
id: c,
|
|
41576
41576
|
header: g,
|
|
41577
41577
|
body: E,
|
|
@@ -41598,10 +41598,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41598
41598
|
getFormWrapper: ve,
|
|
41599
41599
|
toggleFullscreen: Oe
|
|
41600
41600
|
};
|
|
41601
|
-
})(),
|
|
41601
|
+
})(), xe = C4(Me, s.redial, N);
|
|
41602
41602
|
return {
|
|
41603
41603
|
dialog: de,
|
|
41604
|
-
instanceApi:
|
|
41604
|
+
instanceApi: xe
|
|
41605
41605
|
};
|
|
41606
41606
|
}, nO = (t, s, a, c = !1, d) => {
|
|
41607
41607
|
const g = Gt("dialog"), p = Gt("dialog-label"), w = Gt("dialog-content"), C = t.internalDialog, E = gn(C.size), $ = el(E.get()).toArray(), N = (Ge, vt) => (E.set(vt.internalDialog.size), _0(vt.internalDialog.size, Ge), d(), D.some(vt)), H = Jo(Ne({
|
|
@@ -41610,7 +41610,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41610
41610
|
}, g, p, a.shared.providers)), W = Jo(_g({
|
|
41611
41611
|
body: C.body,
|
|
41612
41612
|
initialData: C.initialData
|
|
41613
|
-
}, g, w, a, c)), J = x4(C.buttons), de = eO(J), Me = pn(J.length !== 0, Jo(Lc({ buttons: J }, g, a))),
|
|
41613
|
+
}, g, w, a, c)), J = x4(C.buttons), de = eO(J), Me = pn(J.length !== 0, Jo(Lc({ buttons: J }, g, a))), xe = ao(() => Je, {
|
|
41614
41614
|
onBlock: (Ge) => {
|
|
41615
41615
|
pm.block(Oe, (vt, At) => {
|
|
41616
41616
|
const Wn = H.getOpt(Oe).map((jt) => Us(jt.element));
|
|
@@ -41658,7 +41658,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41658
41658
|
initialData: t
|
|
41659
41659
|
}),
|
|
41660
41660
|
_n.config({}),
|
|
41661
|
-
Un("execute-on-form",
|
|
41661
|
+
Un("execute-on-form", xe.concat([
|
|
41662
41662
|
Wd(dl(), (Ge, vt) => {
|
|
41663
41663
|
mn.focusIn(Ge);
|
|
41664
41664
|
}),
|
|
@@ -41693,7 +41693,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41693
41693
|
instanceApi: Je
|
|
41694
41694
|
};
|
|
41695
41695
|
};
|
|
41696
|
-
var
|
|
41696
|
+
var F7 = tinymce.util.Tools.resolve("tinymce.util.URI");
|
|
41697
41697
|
const fq = (t) => {
|
|
41698
41698
|
const s = (p) => {
|
|
41699
41699
|
t.getSystem().isConnected() && p(t);
|
|
@@ -41752,7 +41752,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41752
41752
|
break;
|
|
41753
41753
|
}
|
|
41754
41754
|
}, bq = (t, s, a, c) => {
|
|
41755
|
-
const d = Gt("dialog"), g = St(t.title, d, c), p = Ay(t), w = t.buttons.bind((Oe) => Oe.length === 0 ? D.none() : D.some(Dd({ buttons: Oe }, d, c))), C = xj(() => ve, ln(() =>
|
|
41755
|
+
const d = Gt("dialog"), g = St(t.title, d, c), p = Ay(t), w = t.buttons.bind((Oe) => Oe.length === 0 ? D.none() : D.some(Dd({ buttons: Oe }, d, c))), C = xj(() => ve, ln(() => xe, c.shared.providers, s)), E = {
|
|
41756
41756
|
...t.height.fold(() => ({}), (Oe) => ({
|
|
41757
41757
|
height: Oe + "px",
|
|
41758
41758
|
"max-height": Oe + "px"
|
|
@@ -41761,7 +41761,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41761
41761
|
width: Oe + "px",
|
|
41762
41762
|
"max-width": Oe + "px"
|
|
41763
41763
|
}))
|
|
41764
|
-
}, $ = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], N = new
|
|
41764
|
+
}, $ = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], N = new F7(t.url, { base_uri: new F7(window.location.href) }), H = `${N.protocol}://${N.host}${N.port ? ":" + N.port : ""}`, W = Xm(), J = (Oe, dt) => D.some(dt), de = [
|
|
41765
41765
|
Kn.config({
|
|
41766
41766
|
channel: `${dy}-${d}`,
|
|
41767
41767
|
updateState: J,
|
|
@@ -41770,7 +41770,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41770
41770
|
Un("messages", [
|
|
41771
41771
|
Cs(() => {
|
|
41772
41772
|
const Oe = Jl(Ae.fromDom(window), "message", (dt) => {
|
|
41773
|
-
if (N.isSameOrigin(new
|
|
41773
|
+
if (N.isSameOrigin(new F7(dt.raw.origin))) {
|
|
41774
41774
|
const Je = dt.raw.data;
|
|
41775
41775
|
IG(Je) ? pq(a, ve, Je) : hq(Je) && t.onMessage(ve, Je);
|
|
41776
41776
|
}
|
|
@@ -41791,7 +41791,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41791
41791
|
}
|
|
41792
41792
|
}
|
|
41793
41793
|
})
|
|
41794
|
-
],
|
|
41794
|
+
], xe = QD({
|
|
41795
41795
|
id: d,
|
|
41796
41796
|
header: g,
|
|
41797
41797
|
body: p,
|
|
@@ -41799,9 +41799,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41799
41799
|
extraClasses: $,
|
|
41800
41800
|
extraBehaviours: de,
|
|
41801
41801
|
extraStyles: E
|
|
41802
|
-
}, C, c), ve = fq(
|
|
41802
|
+
}, C, c), ve = fq(xe);
|
|
41803
41803
|
return {
|
|
41804
|
-
dialog:
|
|
41804
|
+
dialog: xe,
|
|
41805
41805
|
instanceApi: ve
|
|
41806
41806
|
};
|
|
41807
41807
|
}, vq = (t) => {
|
|
@@ -41906,8 +41906,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41906
41906
|
}
|
|
41907
41907
|
return C(J, Me);
|
|
41908
41908
|
}, p = (J, de) => w(J, de), w = (J, de) => {
|
|
41909
|
-
const Me = (
|
|
41910
|
-
const ve = bq(
|
|
41909
|
+
const Me = (xe) => {
|
|
41910
|
+
const ve = bq(xe, {
|
|
41911
41911
|
closeWindow: () => {
|
|
41912
41912
|
Kr.hide(ve.dialog), de(ve.instanceApi);
|
|
41913
41913
|
}
|
|
@@ -41916,11 +41916,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41916
41916
|
};
|
|
41917
41917
|
return qn.openUrl(Me, J);
|
|
41918
41918
|
}, C = (J, de) => {
|
|
41919
|
-
const Me = (
|
|
41919
|
+
const Me = (xe, ve, Oe) => {
|
|
41920
41920
|
const dt = ve, Ge = Cj({
|
|
41921
41921
|
dataValidator: Oe,
|
|
41922
41922
|
initialData: dt,
|
|
41923
|
-
internalDialog:
|
|
41923
|
+
internalDialog: xe
|
|
41924
41924
|
}, {
|
|
41925
41925
|
redial: qn.redial,
|
|
41926
41926
|
closeWindow: () => {
|
|
@@ -41930,7 +41930,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41930
41930
|
return Kr.show(Ge.dialog), Ge.instanceApi.setData(dt), Ge.instanceApi;
|
|
41931
41931
|
};
|
|
41932
41932
|
return qn.open(Me, J);
|
|
41933
|
-
}, E = (J, de, Me,
|
|
41933
|
+
}, E = (J, de, Me, xe) => {
|
|
41934
41934
|
const ve = (Oe, dt, Je) => {
|
|
41935
41935
|
const Ge = LG(dt, Je), vt = ro(), At = t.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
41936
41936
|
dataValidator: Je,
|
|
@@ -41943,13 +41943,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41943
41943
|
closeWindow: () => {
|
|
41944
41944
|
vt.on(dr.hide), s.off("ResizeEditor", jt), vt.clear(), Me(Dn.instanceApi);
|
|
41945
41945
|
}
|
|
41946
|
-
}, t.backstages.popup,
|
|
41946
|
+
}, t.backstages.popup, xe.ariaAttrs, jt), Sn = Tl(dr.sketch({
|
|
41947
41947
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41948
41948
|
dom: {
|
|
41949
41949
|
tag: "div",
|
|
41950
41950
|
classes: []
|
|
41951
41951
|
},
|
|
41952
|
-
fireDismissalEventInstead:
|
|
41952
|
+
fireDismissalEventInstead: xe.persistent ? { event: "doNotDismissYet" } : {},
|
|
41953
41953
|
...At ? {} : { fireRepositionEventInstead: {} },
|
|
41954
41954
|
inlineBehaviours: xt([
|
|
41955
41955
|
Un("window-manager-inline-events", [Qe(If(), (bn, Ro) => {
|
|
@@ -41967,7 +41967,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41967
41967
|
return dr.showWithinBounds(Sn, Ti(Dn.dialog), { anchor: de }, Yo), (!a || !At) && (sr.refresh(Sn), s.on("ResizeEditor", jt)), Dn.instanceApi.setData(Ge), mn.focusIn(Dn.dialog), Dn.instanceApi;
|
|
41968
41968
|
};
|
|
41969
41969
|
return qn.open(ve, J);
|
|
41970
|
-
}, $ = (J, de, Me,
|
|
41970
|
+
}, $ = (J, de, Me, xe) => {
|
|
41971
41971
|
const ve = (Oe, dt, Je) => {
|
|
41972
41972
|
const Ge = LG(dt, Je), vt = ro(), At = t.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
41973
41973
|
dataValidator: Je,
|
|
@@ -41980,13 +41980,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41980
41980
|
closeWindow: () => {
|
|
41981
41981
|
vt.on(dr.hide), s.off("ResizeEditor ScrollWindow ElementScroll", jt), vt.clear(), Me(Dn.instanceApi);
|
|
41982
41982
|
}
|
|
41983
|
-
}, t.backstages.popup,
|
|
41983
|
+
}, t.backstages.popup, xe.ariaAttrs, jt), Sn = Tl(dr.sketch({
|
|
41984
41984
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41985
41985
|
dom: {
|
|
41986
41986
|
tag: "div",
|
|
41987
41987
|
classes: []
|
|
41988
41988
|
},
|
|
41989
|
-
fireDismissalEventInstead:
|
|
41989
|
+
fireDismissalEventInstead: xe.persistent ? { event: "doNotDismissYet" } : {},
|
|
41990
41990
|
...At ? {} : { fireRepositionEventInstead: {} },
|
|
41991
41991
|
inlineBehaviours: xt([
|
|
41992
41992
|
Un("window-manager-inline-events", [Qe(If(), (bn, Ro) => {
|
|
@@ -42081,7 +42081,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42081
42081
|
}, G = (i) => {
|
|
42082
42082
|
const m = typeof i;
|
|
42083
42083
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && re(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
42084
|
-
}, _e = (i) => (m) => G(m) === i, ne = (i) => (m) => typeof m === i, Z = (i) => (m) => i === m,
|
|
42084
|
+
}, _e = (i) => (m) => G(m) === i, ne = (i) => (m) => typeof m === i, Z = (i) => (m) => i === m, Ce = _e("string"), ee = _e("object"), $e = _e("array"), at = Z(null), yt = ne("boolean"), hn = Z(void 0), Et = (i) => i == null, io = (i) => !Et(i), lo = ne("function"), eo = ne("number"), Ot = () => {
|
|
42085
42085
|
}, Ls = (i, m) => (...h) => i(m.apply(null, h)), un = (i, m) => (h) => i(m(h)), he = (i) => () => i, kt = (i) => i, ia = (i, m) => i === m;
|
|
42086
42086
|
function oo(i, ...m) {
|
|
42087
42087
|
return (...h) => {
|
|
@@ -42315,7 +42315,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42315
42315
|
const m = wr("ownerDocument.defaultView", i);
|
|
42316
42316
|
return ee(i) && (Gi(m).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(es(i).constructor.name));
|
|
42317
42317
|
}, xo = 8, Ar = 9, Da = 11, Nl = 1, Oa = 3, ts = (i) => i.dom.nodeName.toLowerCase(), nl = (i) => i.dom.nodeType, vl = (i) => (m) => nl(m) === i, Xo = (i) => nl(i) === xo || ts(i) === "#comment", pn = (i) => Dr(i) && bt(i.dom), Dr = vl(Nl), Il = vl(Oa), Fc = vl(Ar), mi = vl(Da), xr = (i) => (m) => Dr(m) && ts(m) === i, fr = (i, m, h) => {
|
|
42318
|
-
if (
|
|
42318
|
+
if (Ce(h) || yt(h) || eo(h))
|
|
42319
42319
|
i.setAttribute(m, h + "");
|
|
42320
42320
|
else
|
|
42321
42321
|
throw console.error("Invalid call to Attribute.set. Key ", m, ":: Value ", h, ":: Element ", i), new Error("Attribute value was not simple");
|
|
@@ -42589,7 +42589,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42589
42589
|
const m = parseFloat(i);
|
|
42590
42590
|
return isNaN(m) ? pe.none() : pe.some(m);
|
|
42591
42591
|
}, Wr = (i) => i.style !== void 0 && lo(i.style.getPropertyValue), ga = (i, m, h) => {
|
|
42592
|
-
if (!
|
|
42592
|
+
if (!Ce(h))
|
|
42593
42593
|
throw console.error("Invalid call to CSS.set. Property ", m, ":: Value ", h, ":: Element ", i), new Error("CSS value must be a string: " + h);
|
|
42594
42594
|
Wr(i) && i.style.setProperty(m, h);
|
|
42595
42595
|
}, Hh = (i, m) => {
|
|
@@ -44902,7 +44902,7 @@ Required: ` + m.join(", "));
|
|
|
44902
44902
|
y2(i, v.dom);
|
|
44903
44903
|
});
|
|
44904
44904
|
});
|
|
44905
|
-
}, ov = (i) =>
|
|
44905
|
+
}, ov = (i) => Ce(i) && i.indexOf("%") !== -1, _3 = (i, m, h, v, S) => {
|
|
44906
44906
|
const O = Py(i), L = {
|
|
44907
44907
|
styles: O,
|
|
44908
44908
|
attributes: cd(i),
|
|
@@ -45038,7 +45038,7 @@ Required: ` + m.join(", "));
|
|
|
45038
45038
|
const Gn = ho(iu(i), Sb);
|
|
45039
45039
|
if (Gn.length === 0)
|
|
45040
45040
|
return;
|
|
45041
|
-
const qs = yr(tn, (Ta, kr) => i.formatter.has(En(kr)) &&
|
|
45041
|
+
const qs = yr(tn, (Ta, kr) => i.formatter.has(En(kr)) && Ce(Ta));
|
|
45042
45042
|
yc(qs) || (Vo(qs, (Ta, kr) => {
|
|
45043
45043
|
const Mc = En(kr);
|
|
45044
45044
|
Pe(Gn, (wh) => {
|
|
@@ -45330,7 +45330,7 @@ Required: ` + m.join(", "));
|
|
|
45330
45330
|
...i,
|
|
45331
45331
|
on: (h) => i.get().each(h)
|
|
45332
45332
|
};
|
|
45333
|
-
}, gv = (i, m) => Ps(i, "td,th", m), Oi = (i) => Ra(i).exists(Bf),
|
|
45333
|
+
}, gv = (i, m) => Ps(i, "td,th", m), Oi = (i) => Ra(i).exists(Bf), G7 = (i, m, h, v) => {
|
|
45334
45334
|
const S = Fp(), O = S.clear, L = (De) => {
|
|
45335
45335
|
S.on((lt) => {
|
|
45336
45336
|
v.clearBeforeUpdate(m), gv(De.target, h).each((Bt) => {
|
|
@@ -45542,7 +45542,7 @@ Required: ` + m.join(", "));
|
|
|
45542
45542
|
rows: i,
|
|
45543
45543
|
cols: m
|
|
45544
45544
|
}), Jr = (i, m, h, v) => {
|
|
45545
|
-
const S = Up(i), O =
|
|
45545
|
+
const S = Up(i), O = G7(S, m, h, v);
|
|
45546
45546
|
return {
|
|
45547
45547
|
clearstate: O.clearstate,
|
|
45548
45548
|
mousedown: O.mousedown,
|
|
@@ -45813,7 +45813,7 @@ Required: ` + m.join(", "));
|
|
|
45813
45813
|
if (!$e(m))
|
|
45814
45814
|
throw new Error("The " + i + " fields must be an array. Was: " + m + ".");
|
|
45815
45815
|
Pe(m, (h) => {
|
|
45816
|
-
if (!
|
|
45816
|
+
if (!Ce(h))
|
|
45817
45817
|
throw new Error("The value " + h + " in the " + i + " fields was not a string.");
|
|
45818
45818
|
});
|
|
45819
45819
|
}, yh = (i, m) => {
|
|
@@ -46324,7 +46324,7 @@ Required: ` + m.join(", "));
|
|
|
46324
46324
|
}, G = (_) => {
|
|
46325
46325
|
const M = typeof _;
|
|
46326
46326
|
return _ === null ? "null" : M === "object" && Array.isArray(_) ? "array" : M === "object" && re(_, String, (U, ce) => ce.isPrototypeOf(U)) ? "string" : M;
|
|
46327
|
-
}, _e = (_) => (M) => G(M) === _, ne = (_) => (M) => typeof M === _, Z = _e("string"),
|
|
46327
|
+
}, _e = (_) => (M) => G(M) === _, ne = (_) => (M) => typeof M === _, Z = _e("string"), Ce = _e("object"), ee = _e("array"), $e = ne("boolean"), at = (_) => _ == null, yt = (_) => !at(_), hn = ne("function"), Et = ne("number"), io = () => {
|
|
46328
46328
|
}, lo = (_, M) => (U) => _(M(U)), eo = (_) => () => _, Ot = (_, M) => _ === M;
|
|
46329
46329
|
function Ls(_, ...M) {
|
|
46330
46330
|
return (...U) => {
|
|
@@ -46529,7 +46529,7 @@ Required: ` + m.join(", "));
|
|
|
46529
46529
|
return U;
|
|
46530
46530
|
}, nr = Object.getPrototypeOf, bs = (_) => yr("HTMLElement", _), ji = (_) => {
|
|
46531
46531
|
const M = vr("ownerDocument.defaultView", _);
|
|
46532
|
-
return
|
|
46532
|
+
return Ce(_) && (bs(M).prototype.isPrototypeOf(_) || /^HTML\w*Element$/.test(nr(_).constructor.name));
|
|
46533
46533
|
}, ds = (_) => _.dom.nodeName.toLowerCase(), Ko = (_) => _.dom.nodeType, yc = (_) => (M) => Ko(M) === _, to = (_) => Ko(_) === z || ds(_) === "#comment", vs = (_) => wr(_) && ji(_.dom), wr = yc(rs), Bl = yc(Wo), di = yc(tl), es = yc(so), Gi = (_) => (M) => wr(M) && ds(M) === _, bt = (_) => wn.fromDom(_.dom.ownerDocument), xo = (_) => di(_) ? _ : bt(_), Ar = (_) => kt.from(_.dom.parentNode).map(wn.fromDom), Da = (_) => kt.from(_.dom.parentElement).map(wn.fromDom), Nl = (_) => kt.from(_.dom.nextSibling).map(wn.fromDom), Oa = (_) => Ze(_.dom.childNodes, wn.fromDom), ts = (_, M) => {
|
|
46534
46534
|
const U = _.dom.childNodes;
|
|
46535
46535
|
return kt.from(U[M]).map(wn.fromDom);
|
|
@@ -47157,7 +47157,7 @@ Required: ` + m.join(", "));
|
|
|
47157
47157
|
const ce = Pa(_);
|
|
47158
47158
|
if (ja(_, ce))
|
|
47159
47159
|
return;
|
|
47160
|
-
const be = Yu(_), it =
|
|
47160
|
+
const be = Yu(_), it = Ce(U) ? U : {};
|
|
47161
47161
|
be.length > 0 ? hb(_, ce, be, M, it) : Hg(_, ce, M, it);
|
|
47162
47162
|
}, Mm = ea.DOM, Id = (_, M) => {
|
|
47163
47163
|
const U = M.parentElement;
|
|
@@ -47294,7 +47294,7 @@ Required: ` + m.join(", "));
|
|
|
47294
47294
|
}), Mr = (_, M) => {
|
|
47295
47295
|
const U = Pa(_);
|
|
47296
47296
|
U === null || ja(_, U) || _.undoManager.transact(() => {
|
|
47297
|
-
|
|
47297
|
+
Ce(M.styles) && _.dom.setStyles(U, M.styles), Ce(M.attrs) && $d(M.attrs, (ce, be) => _.dom.setAttrib(U, be, ce));
|
|
47298
47298
|
});
|
|
47299
47299
|
}, Fd = (_) => {
|
|
47300
47300
|
const M = _t(Lh(_).split("")), U = Ze(M, (ce, be) => {
|
|
@@ -47399,7 +47399,7 @@ Required: ` + m.join(", "));
|
|
|
47399
47399
|
}), _.addCommand("RemoveList", () => {
|
|
47400
47400
|
Bg(_);
|
|
47401
47401
|
}), Gc(_), _.addCommand("mceListUpdate", (M, U) => {
|
|
47402
|
-
|
|
47402
|
+
Ce(U) && Mr(_, U);
|
|
47403
47403
|
}), _.addQueryStateHandler("InsertUnorderedList", Go(_, "UL")), _.addQueryStateHandler("InsertOrderedList", Go(_, "OL")), _.addQueryStateHandler("InsertDefinitionList", Go(_, "DL"));
|
|
47404
47404
|
};
|
|
47405
47405
|
var cl = tinymce.util.Tools.resolve("tinymce.html.Node");
|
|
@@ -47472,7 +47472,7 @@ Required: ` + m.join(", "));
|
|
|
47472
47472
|
}, G = (q) => {
|
|
47473
47473
|
const ge = typeof q;
|
|
47474
47474
|
return q === null ? "null" : ge === "object" && Array.isArray(q) ? "array" : ge === "object" && re(q, String, (Ee, Ie) => Ie.isPrototypeOf(Ee)) ? "string" : ge;
|
|
47475
|
-
}, _e = (q) => (ge) => G(ge) === q, ne = (q) => (ge) => typeof ge === q, Z = (q) => (ge) => q === ge,
|
|
47475
|
+
}, _e = (q) => (ge) => G(ge) === q, ne = (q) => (ge) => typeof ge === q, Z = (q) => (ge) => q === ge, Ce = _e("string"), ee = _e("object"), $e = _e("array"), at = Z(null), yt = ne("boolean"), hn = (q) => q == null, Et = (q) => !hn(q), io = ne("function"), lo = (q, ge) => {
|
|
47476
47476
|
if ($e(q)) {
|
|
47477
47477
|
for (let Ee = 0, Ie = q.length; Ee < Ie; ++Ee)
|
|
47478
47478
|
if (!ge(q[Ee]))
|
|
@@ -47593,7 +47593,7 @@ Required: ` + m.join(", "));
|
|
|
47593
47593
|
const ge = q.options.register;
|
|
47594
47594
|
ge("link_assume_external_targets", {
|
|
47595
47595
|
processor: (Ee) => {
|
|
47596
|
-
const Ie =
|
|
47596
|
+
const Ie = Ce(Ee) || yt(Ee);
|
|
47597
47597
|
return Ie ? Ee === !0 ? {
|
|
47598
47598
|
value: 1,
|
|
47599
47599
|
valid: Ie
|
|
@@ -47612,7 +47612,7 @@ Required: ` + m.join(", "));
|
|
|
47612
47612
|
}), ge("link_context_toolbar", {
|
|
47613
47613
|
processor: "boolean",
|
|
47614
47614
|
default: !1
|
|
47615
|
-
}), ge("link_list", { processor: (Ee) =>
|
|
47615
|
+
}), ge("link_list", { processor: (Ee) => Ce(Ee) || io(Ee) || lo(Ee, ee) }), ge("link_default_target", { processor: "string" }), ge("link_default_protocol", {
|
|
47616
47616
|
processor: "string",
|
|
47617
47617
|
default: "https"
|
|
47618
47618
|
}), ge("link_target_list", {
|
|
@@ -47636,7 +47636,7 @@ Required: ` + m.join(", "));
|
|
|
47636
47636
|
});
|
|
47637
47637
|
}, ot = D("link_assume_external_targets"), Ht = D("link_context_toolbar"), _t = D("link_list"), Pe = D("link_default_target"), no = D("link_default_protocol"), Ys = D("link_target_list"), ho = D("link_rel_list"), br = D("link_class_list"), tt = D("link_title"), pt = D("allow_unsafe_link_target"), z = D("link_quicklink");
|
|
47638
47638
|
var tl = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
47639
|
-
const so = (q) =>
|
|
47639
|
+
const so = (q) => Ce(q.value) ? q.value : "", rs = (q) => Ce(q.text) ? q.text : Ce(q.title) ? q.title : "", Wo = (q, ge) => {
|
|
47640
47640
|
const Ee = [];
|
|
47641
47641
|
return tl.each(q, (Ie) => {
|
|
47642
47642
|
const ft = rs(Ie);
|
|
@@ -47895,7 +47895,7 @@ Required: ` + m.join(", "));
|
|
|
47895
47895
|
}, ns = { getLinks: (q) => {
|
|
47896
47896
|
const ge = (Ie) => q.convertURL(Ie.value || Ie.url || "", "href"), Ee = _t(q);
|
|
47897
47897
|
return new Promise((Ie) => {
|
|
47898
|
-
|
|
47898
|
+
Ce(Ee) ? fetch(Ee).then((ft) => ft.ok ? ft.text().then(Gu) : Promise.reject()).then(Ie, () => Ie(un.none())) : io(Ee) ? Ee((ft) => Ie(un.some(ft))) : Ie(un.from(Ee));
|
|
47899
47899
|
}).then((Ie) => Ie.bind(Ke.sanitizeWith(ge)).map((ft) => ft.length > 0 ? [{
|
|
47900
47900
|
text: "None",
|
|
47901
47901
|
value: ""
|
|
@@ -48229,7 +48229,7 @@ Required: ` + m.join(", "));
|
|
|
48229
48229
|
}, _e = (I) => {
|
|
48230
48230
|
const X = typeof I;
|
|
48231
48231
|
return I === null ? "null" : X === "object" && Array.isArray(I) ? "array" : X === "object" && G(I, String, (le, Fe) => Fe.isPrototypeOf(le)) ? "string" : X;
|
|
48232
|
-
}, ne = (I) => (X) => _e(X) === I, Z = (I) => (X) => typeof X === I,
|
|
48232
|
+
}, ne = (I) => (X) => _e(X) === I, Z = (I) => (X) => typeof X === I, Ce = (I) => (X) => I === X, ee = (I, X) => at(I) && G(I, X, (le, Fe) => re(le) === Fe), $e = ne("string"), at = ne("object"), yt = (I) => ee(I, Object), hn = ne("array"), Et = Ce(null), io = Z("boolean"), lo = (I) => I == null, eo = (I) => !lo(I), Ot = Z("function"), Ls = Z("number"), un = (I, X) => {
|
|
48233
48233
|
if (hn(I)) {
|
|
48234
48234
|
for (let le = 0, Fe = I.length; le < Fe; ++le)
|
|
48235
48235
|
if (!X(I[le]))
|
|
@@ -49098,7 +49098,7 @@ Required: ` + m.join(", "));
|
|
|
49098
49098
|
}, G = (x) => {
|
|
49099
49099
|
const T = typeof x;
|
|
49100
49100
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && re(x, String, (V, Y) => Y.isPrototypeOf(V)) ? "string" : T;
|
|
49101
|
-
}, _e = (x) => (T) => G(T) === x, ne = (x) => (T) => typeof T === x, Z = (x) => (T) => x === T,
|
|
49101
|
+
}, _e = (x) => (T) => G(T) === x, ne = (x) => (T) => typeof T === x, Z = (x) => (T) => x === T, Ce = _e("string"), ee = _e("array"), $e = ne("boolean"), at = Z(void 0), yt = (x) => x == null, hn = (x) => !yt(x), Et = ne("function"), io = ne("number"), lo = () => {
|
|
49102
49102
|
}, eo = (x, T) => (V) => x(T(V)), Ot = (x) => () => x, Ls = (x) => x, un = (x, T) => x === T;
|
|
49103
49103
|
function he(x, ...T) {
|
|
49104
49104
|
return (...V) => {
|
|
@@ -49386,7 +49386,7 @@ Required: ` + m.join(", "));
|
|
|
49386
49386
|
T(Y) && (V = V.concat([Y])), V = V.concat(gi(Y, T));
|
|
49387
49387
|
}), V;
|
|
49388
49388
|
}, xc = (x, T) => wc(x, (V) => vs(V, T)), Po = (x, T) => Bl(T, x), ea = (x, T, V) => {
|
|
49389
|
-
if (
|
|
49389
|
+
if (Ce(V) || $e(V) || io(V))
|
|
49390
49390
|
x.setAttribute(T, V + "");
|
|
49391
49391
|
else
|
|
49392
49392
|
throw console.error("Invalid call to Attribute.set. Key ", T, ":: Value ", V, ":: Element ", x), new Error("Attribute value was not simple");
|
|
@@ -49416,7 +49416,7 @@ Required: ` + m.join(", "));
|
|
|
49416
49416
|
const T = parseFloat(x);
|
|
49417
49417
|
return isNaN(T) ? ae.none() : ae.some(T);
|
|
49418
49418
|
}, hi = (x) => x.style !== void 0 && Et(x.style.getPropertyValue), bu = (x, T, V) => {
|
|
49419
|
-
if (!
|
|
49419
|
+
if (!Ce(V))
|
|
49420
49420
|
throw console.error("Invalid call to CSS.set. Property ", T, ":: Value ", V, ":: Element ", x), new Error("CSS value must be a string: " + V);
|
|
49421
49421
|
hi(x) && x.style.setProperty(T, V);
|
|
49422
49422
|
}, Ku = (x, T) => {
|
|
@@ -50651,7 +50651,7 @@ Required: ` + T.join(", "));
|
|
|
50651
50651
|
return Y.concat(ye).concat(je).concat(gt).concat(Mt);
|
|
50652
50652
|
}, yb = (x, T, V, Y) => {
|
|
50653
50653
|
if (T.tagName === "TD" || T.tagName === "TH")
|
|
50654
|
-
|
|
50654
|
+
Ce(V) && hn(Y) ? x.setStyle(T, V, Y) : x.setStyles(T, V);
|
|
50655
50655
|
else if (T.children)
|
|
50656
50656
|
for (let ye = 0; ye < T.children.length; ye++)
|
|
50657
50657
|
yb(x, T.children[ye], V, Y);
|
|
@@ -51307,10 +51307,10 @@ Required: ` + T.join(", "));
|
|
|
51307
51307
|
onAction: $e
|
|
51308
51308
|
});
|
|
51309
51309
|
};
|
|
51310
|
-
var
|
|
51310
|
+
var Ce = () => {
|
|
51311
51311
|
A.add("code", (ee) => (ne(ee), Z(ee), {}));
|
|
51312
51312
|
};
|
|
51313
|
-
|
|
51313
|
+
Ce();
|
|
51314
51314
|
})();
|
|
51315
51315
|
(function() {
|
|
51316
51316
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
@@ -51321,7 +51321,7 @@ Required: ` + T.join(", "));
|
|
|
51321
51321
|
Te[wn] = Rt(qo, wn);
|
|
51322
51322
|
}
|
|
51323
51323
|
return Te;
|
|
51324
|
-
},
|
|
51324
|
+
}, Ce = {
|
|
51325
51325
|
aletter: "[A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-׳ؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆༀཀ-ཇཉ-ཬྈ-ྌႠ-Ⴥა-ჺჼᄀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᨀ-ᨖᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᯀ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⒶ-ⓩⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〻〼ㄅ-ㄭㄱ-ㆎㆠ-ㆺꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐꞑꞠ-ꞩꟺ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]",
|
|
51326
51326
|
midnumlet: "[-'\\.‘’․﹒'.]",
|
|
51327
51327
|
midletter: "[:··״‧︓﹕:]",
|
|
@@ -51351,20 +51351,20 @@ Required: ` + T.join(", "));
|
|
|
51351
51351
|
AT: 12,
|
|
51352
51352
|
OTHER: 13
|
|
51353
51353
|
}, $e = [
|
|
51354
|
-
new RegExp(
|
|
51355
|
-
new RegExp(
|
|
51356
|
-
new RegExp(
|
|
51357
|
-
new RegExp(
|
|
51358
|
-
new RegExp(
|
|
51359
|
-
new RegExp(
|
|
51360
|
-
new RegExp(
|
|
51361
|
-
new RegExp(
|
|
51362
|
-
new RegExp(
|
|
51363
|
-
new RegExp(
|
|
51364
|
-
new RegExp(
|
|
51365
|
-
new RegExp(
|
|
51354
|
+
new RegExp(Ce.aletter),
|
|
51355
|
+
new RegExp(Ce.midnumlet),
|
|
51356
|
+
new RegExp(Ce.midletter),
|
|
51357
|
+
new RegExp(Ce.midnum),
|
|
51358
|
+
new RegExp(Ce.numeric),
|
|
51359
|
+
new RegExp(Ce.cr),
|
|
51360
|
+
new RegExp(Ce.lf),
|
|
51361
|
+
new RegExp(Ce.newline),
|
|
51362
|
+
new RegExp(Ce.extend),
|
|
51363
|
+
new RegExp(Ce.format),
|
|
51364
|
+
new RegExp(Ce.katakana),
|
|
51365
|
+
new RegExp(Ce.extendnumlet),
|
|
51366
51366
|
new RegExp("@")
|
|
51367
|
-
], at = "", yt = new RegExp("^" +
|
|
51367
|
+
], at = "", yt = new RegExp("^" + Ce.punctuation + "$"), hn = /^\s+$/, Et = $e, io = ee.OTHER, lo = (qe) => {
|
|
51368
51368
|
let Rt = io;
|
|
51369
51369
|
const Ke = Et.length;
|
|
51370
51370
|
for (let Te = 0; Te < Ke; ++Te) {
|
|
@@ -51577,9 +51577,9 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51577
51577
|
emits: ["update:modelValue", "keydown"],
|
|
51578
51578
|
setup(A, { expose: re, emit: G }) {
|
|
51579
51579
|
const _e = A, ne = G, Z = co(null);
|
|
51580
|
-
let
|
|
51580
|
+
let Ce = null;
|
|
51581
51581
|
Dg(async () => {
|
|
51582
|
-
await Pj(),
|
|
51582
|
+
await Pj(), Ce && (Ce.destroy(), Ce = null), ote.init({
|
|
51583
51583
|
selector: "#" + _e.field_name,
|
|
51584
51584
|
height: 300,
|
|
51585
51585
|
plugins: [
|
|
@@ -51594,17 +51594,17 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51594
51594
|
content_css: !1,
|
|
51595
51595
|
// disable import of css
|
|
51596
51596
|
setup(at) {
|
|
51597
|
-
|
|
51597
|
+
Ce = at, at.on("Change", () => {
|
|
51598
51598
|
ne("update:modelValue", at.getContent());
|
|
51599
51599
|
}), at.on("init", () => {
|
|
51600
51600
|
at.setContent(_e.modelValue);
|
|
51601
51601
|
});
|
|
51602
51602
|
}
|
|
51603
51603
|
});
|
|
51604
|
-
}),
|
|
51605
|
-
|
|
51604
|
+
}), Z7(() => {
|
|
51605
|
+
Ce && (Ce.destroy(), Ce = null);
|
|
51606
51606
|
}), Ag(() => _e.modelValue, (at) => {
|
|
51607
|
-
|
|
51607
|
+
Ce && Ce.getContent() !== at && Ce.setContent(at);
|
|
51608
51608
|
});
|
|
51609
51609
|
const $e = pu({
|
|
51610
51610
|
get() {
|
|
@@ -51711,11 +51711,11 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51711
51711
|
return 0;
|
|
51712
51712
|
if (this.limit === 0)
|
|
51713
51713
|
return this.lastPage;
|
|
51714
|
-
for (var A = this.currentPage, re = this.lastPage, G = this.limit, _e = A - G, ne = A + G + 1, Z = [],
|
|
51714
|
+
for (var A = this.currentPage, re = this.lastPage, G = this.limit, _e = A - G, ne = A + G + 1, Z = [], Ce = [], ee, $e = 1; $e <= re; $e++)
|
|
51715
51715
|
($e === 1 || $e === re || $e >= _e && $e < ne) && Z.push($e);
|
|
51716
51716
|
return Z.forEach(function(at) {
|
|
51717
|
-
ee && (at - ee === 2 ?
|
|
51718
|
-
}),
|
|
51717
|
+
ee && (at - ee === 2 ? Ce.push(ee + 1) : at - ee !== 1 && Ce.push("...")), Ce.push(at), ee = at;
|
|
51718
|
+
}), Ce;
|
|
51719
51719
|
}
|
|
51720
51720
|
},
|
|
51721
51721
|
methods: {
|
|
@@ -51838,8 +51838,8 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51838
51838
|
})
|
|
51839
51839
|
], -1);
|
|
51840
51840
|
function kte(A, re, G, _e, ne, Z) {
|
|
51841
|
-
const
|
|
51842
|
-
return ue(), Zu(
|
|
51841
|
+
const Ce = Rd("RenderlessPagination");
|
|
51842
|
+
return ue(), Zu(Ce, {
|
|
51843
51843
|
data: G.data,
|
|
51844
51844
|
limit: G.limit,
|
|
51845
51845
|
onPaginationChangePage: Z.onPaginationChangePage
|
|
@@ -51949,16 +51949,16 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
51949
51949
|
}
|
|
51950
51950
|
},
|
|
51951
51951
|
setup(A, { expose: re }) {
|
|
51952
|
-
const G = co(""), _e = co(""), ne = co(""), Z = co("Cancel"),
|
|
51952
|
+
const G = co(""), _e = co(""), ne = co(""), Z = co("Cancel"), Ce = co(!1), ee = co(!1), $e = co(void 0), at = co(void 0), yt = (eo = {}) => (G.value = eo.title, _e.value = eo.message, ne.value = eo.okButton, eo.cancelButton && (Z.value = eo.cancelButton), Ce.value = !0, new Promise((Ot, Ls) => {
|
|
51953
51953
|
$e.value = Ot, at.value = Ls;
|
|
51954
51954
|
})), hn = () => {
|
|
51955
51955
|
ee.value = !0;
|
|
51956
51956
|
}, Et = () => {
|
|
51957
51957
|
ee.value = !1;
|
|
51958
51958
|
}, io = () => {
|
|
51959
|
-
|
|
51959
|
+
Ce.value = !1, $e.value(!0);
|
|
51960
51960
|
}, lo = () => {
|
|
51961
|
-
|
|
51961
|
+
Ce.value = !1, $e.value(!1);
|
|
51962
51962
|
};
|
|
51963
51963
|
return re({
|
|
51964
51964
|
show: yt,
|
|
@@ -51966,7 +51966,7 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
51966
51966
|
hideLoading: Et
|
|
51967
51967
|
}), (eo, Ot) => {
|
|
51968
51968
|
const Ls = Rd("gl-button");
|
|
51969
|
-
return
|
|
51969
|
+
return Ce.value ? (ue(), fe("div", Tte, [
|
|
51970
51970
|
R("div", Ete, [
|
|
51971
51971
|
Ate,
|
|
51972
51972
|
Dte,
|
|
@@ -52229,9 +52229,9 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
52229
52229
|
"data-label": ""
|
|
52230
52230
|
}, dne = ["checked", "onChange"], mne = ["data-label"], fne = { class: "overflow-auto max-h-40" }, gne = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
52231
52231
|
function hne(A, re, G, _e, ne, Z) {
|
|
52232
|
-
const
|
|
52232
|
+
const Ce = Rd("DynamicConfirmation"), ee = Rd("dropdown"), $e = Rd("GlDropdown"), at = Rd("GlTextInput"), yt = Rd("gl-button"), hn = Rd("TailwindPagination");
|
|
52233
52233
|
return ue(), fe(jn, null, [
|
|
52234
|
-
ui(
|
|
52234
|
+
ui(Ce, { ref: "ConfirmationDelete" }, null, 512),
|
|
52235
52235
|
R("div", Vte, [
|
|
52236
52236
|
R("div", zte, [
|
|
52237
52237
|
R("div", Ute, [
|
|
@@ -52665,13 +52665,13 @@ const Fce = /* @__PURE__ */ zr(Hte, [["render", hne]]), pne = {
|
|
|
52665
52665
|
soe
|
|
52666
52666
|
];
|
|
52667
52667
|
function aoe(A, re, G, _e, ne, Z) {
|
|
52668
|
-
const
|
|
52668
|
+
const Ce = Rd("dropdown");
|
|
52669
52669
|
return ue(), fe("div", bne, [
|
|
52670
52670
|
R("div", vne, [
|
|
52671
52671
|
R("div", yne, [
|
|
52672
52672
|
wne,
|
|
52673
52673
|
R("div", xne, [
|
|
52674
|
-
ui(
|
|
52674
|
+
ui(Ce, {
|
|
52675
52675
|
has_cancel: !1,
|
|
52676
52676
|
options: ne.showNoOfEntries,
|
|
52677
52677
|
modelValue: ne.itemsPerPage,
|
|
@@ -52986,13 +52986,13 @@ const Hce = /* @__PURE__ */ zr(pne, [["render", aoe]]), loe = {
|
|
|
52986
52986
|
Toe
|
|
52987
52987
|
], Aoe = { class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500" }, Doe = ["colspan"], Ooe = ["data-label"], Roe = { class: "overflow-auto max-h-40" }, $oe = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
52988
52988
|
function Moe(A, re, G, _e, ne, Z) {
|
|
52989
|
-
const
|
|
52989
|
+
const Ce = Rd("dropdown"), ee = Rd("TailwindPagination");
|
|
52990
52990
|
return ue(), fe("div", coe, [
|
|
52991
52991
|
R("div", ioe, [
|
|
52992
52992
|
R("div", uoe, [
|
|
52993
52993
|
doe,
|
|
52994
52994
|
R("div", moe, [
|
|
52995
|
-
ui(
|
|
52995
|
+
ui(Ce, {
|
|
52996
52996
|
has_cancel: !1,
|
|
52997
52997
|
options: ne.pageOptions,
|
|
52998
52998
|
modelValue: ne.perPage,
|
|
@@ -53235,13 +53235,13 @@ const Vce = /* @__PURE__ */ zr(loe, [["render", Moe]]), Poe = {
|
|
|
53235
53235
|
vse
|
|
53236
53236
|
];
|
|
53237
53237
|
function wse(A, re, G, _e, ne, Z) {
|
|
53238
|
-
const
|
|
53238
|
+
const Ce = Rd("dropdown");
|
|
53239
53239
|
return ue(), fe("div", Boe, [
|
|
53240
53240
|
R("div", Noe, [
|
|
53241
53241
|
R("div", Ioe, [
|
|
53242
53242
|
Loe,
|
|
53243
53243
|
R("div", Foe, [
|
|
53244
|
-
ui(
|
|
53244
|
+
ui(Ce, {
|
|
53245
53245
|
has_cancel: !1,
|
|
53246
53246
|
options: ne.showNoOfEntries,
|
|
53247
53247
|
modelValue: ne.itemsPerPage,
|
|
@@ -53385,7 +53385,7 @@ const zce = /* @__PURE__ */ zr(Poe, [["render", wse]]), xse = {
|
|
|
53385
53385
|
return "Runs every minute.";
|
|
53386
53386
|
if (re === "0" && G === "0" && _e === "*" && ne === "*" && Z !== "*")
|
|
53387
53387
|
return `Runs at 12:00 AM every ${this.convertDayOfWeek(Z)}.`;
|
|
53388
|
-
const
|
|
53388
|
+
const Ce = {
|
|
53389
53389
|
0: "Sunday",
|
|
53390
53390
|
1: "Monday",
|
|
53391
53391
|
2: "Tuesday",
|
|
@@ -53408,7 +53408,7 @@ const zce = /* @__PURE__ */ zr(Poe, [["render", wse]]), xse = {
|
|
|
53408
53408
|
11: "November",
|
|
53409
53409
|
12: "December",
|
|
53410
53410
|
"*": "every month"
|
|
53411
|
-
}, $e = this.convertField(re, "minute", 59), at = this.convertField(G, "hour", 23), yt = this.convertField(_e, "day of the month", 31), hn = this.convertField(ne, "month", 12, ee), Et = this.convertField(Z, "day", 6,
|
|
53411
|
+
}, $e = this.convertField(re, "minute", 59), at = this.convertField(G, "hour", 23), yt = this.convertField(_e, "day of the month", 31), hn = this.convertField(ne, "month", 12, ee), Et = this.convertField(Z, "day", 6, Ce);
|
|
53412
53412
|
return `Runs ${$e} ${at} ${yt} ${hn} on ${Et}.`;
|
|
53413
53413
|
},
|
|
53414
53414
|
convertField(A, re, G, _e = {}) {
|
|
@@ -53493,12 +53493,12 @@ const Wce = /* @__PURE__ */ zr(kse, [["render", Tse]]), Ese = {
|
|
|
53493
53493
|
return at = Math.floor(at / 16), (hn === "x" ? Et : Et & 3 | 8).toString(16);
|
|
53494
53494
|
});
|
|
53495
53495
|
return yt;
|
|
53496
|
-
})(), ne = { isOpen: A, id: _e }, Z = pu(() => re.accordions.value),
|
|
53496
|
+
})(), ne = { isOpen: A, id: _e }, Z = pu(() => re.accordions.value), Ce = pu(() => Z.value.length > 0 && Z.value[0].id === _e), ee = pu(() => Z.value.length > 0 && Z.value[Z.value.length - 1].id === _e);
|
|
53497
53497
|
return Dg(() => {
|
|
53498
53498
|
re.registerAccordion(ne);
|
|
53499
53499
|
}), Nq(() => {
|
|
53500
53500
|
re.unregisterAccordion(ne);
|
|
53501
|
-
}), { isOpen: A, isFirstAccordion:
|
|
53501
|
+
}), { isOpen: A, isFirstAccordion: Ce, isLastAccordion: ee, toggle: () => {
|
|
53502
53502
|
re.toggleAccordion(ne);
|
|
53503
53503
|
} };
|
|
53504
53504
|
}
|
|
@@ -53537,7 +53537,7 @@ function Bse(A, re, G, _e, ne, Z) {
|
|
|
53537
53537
|
return ue(), fe("div", null, [
|
|
53538
53538
|
R("h2", null, [
|
|
53539
53539
|
R("button", {
|
|
53540
|
-
onClick: re[0] || (re[0] = (...
|
|
53540
|
+
onClick: re[0] || (re[0] = (...Ce) => _e.toggle && _e.toggle(...Ce)),
|
|
53541
53541
|
type: "button",
|
|
53542
53542
|
class: Zt(["flex items-center justify-between w-full gap-3 p-5 font-medium text-gray-500 border border-gray-200 rtl:text-right dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800", {
|
|
53543
53543
|
"rounded-t-xl": _e.isFirstAccordion,
|
|
@@ -53648,7 +53648,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53648
53648
|
G.type === "warning" ? (ue(), fe("div", Zse, qse)) : Ye("", !0),
|
|
53649
53649
|
R("div", Kse, mt(G.message), 1),
|
|
53650
53650
|
R("button", {
|
|
53651
|
-
onClick: Z[0] || (Z[0] = (
|
|
53651
|
+
onClick: Z[0] || (Z[0] = (Ce) => _e("remove")),
|
|
53652
53652
|
type: "button",
|
|
53653
53653
|
class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
53654
53654
|
"data-dismiss-target": "#toast-default",
|
|
@@ -53676,7 +53676,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53676
53676
|
message: ne.message,
|
|
53677
53677
|
type: ne.type,
|
|
53678
53678
|
duration: ne.duration,
|
|
53679
|
-
onRemove: (
|
|
53679
|
+
onRemove: (Ce) => re(Z)
|
|
53680
53680
|
}, null, 8, ["message", "type", "duration", "onRemove"]))), 128))
|
|
53681
53681
|
]),
|
|
53682
53682
|
_: 1
|
|
@@ -53726,7 +53726,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53726
53726
|
setup(A, { emit: re }) {
|
|
53727
53727
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53728
53728
|
_e.value = !1;
|
|
53729
|
-
},
|
|
53729
|
+
}, Ce = () => {
|
|
53730
53730
|
_e.value = !0;
|
|
53731
53731
|
}, ee = () => {
|
|
53732
53732
|
ne.value = !1;
|
|
@@ -53746,14 +53746,14 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53746
53746
|
return (hn, Et) => {
|
|
53747
53747
|
const io = Bj("click-outside");
|
|
53748
53748
|
return ue(), fe(jn, null, [
|
|
53749
|
-
ui(
|
|
53749
|
+
ui(j7, {
|
|
53750
53750
|
isOpen: ne.value,
|
|
53751
53751
|
onConfirmDelete: yt,
|
|
53752
53752
|
onCancelDelete: ee
|
|
53753
53753
|
}, null, 8, ["isOpen"]),
|
|
53754
53754
|
A.row && hn.can(`edit_${A.xprops.permission} || delete_${A.xprops.permission}`) ? Tr((ue(), fe("div", ere, [
|
|
53755
53755
|
R("button", {
|
|
53756
|
-
onClick:
|
|
53756
|
+
onClick: Ce,
|
|
53757
53757
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
53758
53758
|
type: "button"
|
|
53759
53759
|
}, nre),
|
|
@@ -53832,7 +53832,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53832
53832
|
setup(A, { emit: re }) {
|
|
53833
53833
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53834
53834
|
_e.value = !1;
|
|
53835
|
-
},
|
|
53835
|
+
}, Ce = () => {
|
|
53836
53836
|
_e.value = !0;
|
|
53837
53837
|
}, ee = () => {
|
|
53838
53838
|
ne.value = !1;
|
|
@@ -53852,14 +53852,14 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53852
53852
|
return (hn, Et) => {
|
|
53853
53853
|
const io = Bj("click-outside");
|
|
53854
53854
|
return ue(), fe(jn, null, [
|
|
53855
|
-
ui(
|
|
53855
|
+
ui(j7, {
|
|
53856
53856
|
isOpen: ne.value,
|
|
53857
53857
|
onConfirmDelete: yt,
|
|
53858
53858
|
onCancelDelete: ee
|
|
53859
53859
|
}, null, 8, ["isOpen"]),
|
|
53860
53860
|
A.row && hn.can(`delete_${A.xprops.permission}`) ? Tr((ue(), fe("div", ure, [
|
|
53861
53861
|
R("button", {
|
|
53862
|
-
onClick:
|
|
53862
|
+
onClick: Ce,
|
|
53863
53863
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
53864
53864
|
type: "button"
|
|
53865
53865
|
}, mre),
|
|
@@ -53929,7 +53929,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53929
53929
|
setup(A, { emit: re }) {
|
|
53930
53930
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53931
53931
|
ne.value = !1;
|
|
53932
|
-
},
|
|
53932
|
+
}, Ce = () => {
|
|
53933
53933
|
ne.value = !0;
|
|
53934
53934
|
}, ee = () => {
|
|
53935
53935
|
_e.value = !1;
|
|
@@ -53951,7 +53951,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53951
53951
|
return (Et, io) => {
|
|
53952
53952
|
const lo = Bj("click-outside");
|
|
53953
53953
|
return ue(), fe(jn, null, [
|
|
53954
|
-
ui(
|
|
53954
|
+
ui(j7, {
|
|
53955
53955
|
isOpen: ne.value,
|
|
53956
53956
|
onConfirmDelete: hn,
|
|
53957
53957
|
onCancelDelete: Z
|
|
@@ -53977,7 +53977,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53977
53977
|
Et.can(`delete_${A.xprops.permission}`) ? (ue(), fe("li", Sre, [
|
|
53978
53978
|
R("a", {
|
|
53979
53979
|
href: "#",
|
|
53980
|
-
onClick: za(
|
|
53980
|
+
onClick: za(Ce, ["prevent"]),
|
|
53981
53981
|
class: "block px-4 py-2 text-red-600 hover:text-white hover:bg-red-600 dark:text-red-500 dark:hover:text-white dark:hover:bg-red-600"
|
|
53982
53982
|
}, [
|
|
53983
53983
|
kre,
|
|
@@ -54049,13 +54049,13 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
54049
54049
|
], -1);
|
|
54050
54050
|
function $re(A, re, G, _e, ne, Z) {
|
|
54051
54051
|
return ue(), fe("div", null, [
|
|
54052
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row, (
|
|
54052
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row, (Ce, ee) => (ue(), fe("div", {
|
|
54053
54053
|
key: ee,
|
|
54054
54054
|
class: "m-1 d-inline-block"
|
|
54055
54055
|
}, [
|
|
54056
54056
|
R("a", {
|
|
54057
|
-
href:
|
|
54058
|
-
title:
|
|
54057
|
+
href: Ce,
|
|
54058
|
+
title: Ce,
|
|
54059
54059
|
target: "_blank",
|
|
54060
54060
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
54061
54061
|
}, [
|
|
@@ -54124,13 +54124,13 @@ const Yce = /* @__PURE__ */ zr(Tre, [["render", $re]]), Mre = {
|
|
|
54124
54124
|
})
|
|
54125
54125
|
], -1);
|
|
54126
54126
|
function Fre(A, re, G, _e, ne, Z) {
|
|
54127
|
-
return Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[G.field], (
|
|
54128
|
-
key:
|
|
54127
|
+
return Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[G.field], (Ce) => (ue(), fe("div", {
|
|
54128
|
+
key: Ce.id,
|
|
54129
54129
|
class: "m-1 d-inline-block"
|
|
54130
54130
|
}, [
|
|
54131
54131
|
R("a", {
|
|
54132
|
-
href:
|
|
54133
|
-
title:
|
|
54132
|
+
href: Ce.url,
|
|
54133
|
+
title: Ce.name,
|
|
54134
54134
|
target: "_blank",
|
|
54135
54135
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
54136
54136
|
}, [
|
|
@@ -54183,10 +54183,10 @@ const Jce = /* @__PURE__ */ zr(Hre, [["render", Ure]]), Wre = {
|
|
|
54183
54183
|
};
|
|
54184
54184
|
function Gre(A, re, G, _e, ne, Z) {
|
|
54185
54185
|
return this.row[this.entry.key] ? (ue(), fe("div", Zre, [
|
|
54186
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[Z.entry.key], (
|
|
54186
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[Z.entry.key], (Ce, ee) => (ue(), fe("span", {
|
|
54187
54187
|
key: ee,
|
|
54188
54188
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54189
|
-
}, mt(
|
|
54189
|
+
}, mt(Ce[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(), fe("span", jre, mt(G.row[Z.entry.key][Z.entry.field]), 1)) : Ye("", !0)
|
|
54190
54190
|
])) : Ye("", !0);
|
|
54191
54191
|
}
|
|
54192
54192
|
const Qce = /* @__PURE__ */ zr(Wre, [["render", Gre]]), qre = {
|
|
@@ -54214,10 +54214,10 @@ const Qce = /* @__PURE__ */ zr(Wre, [["render", Gre]]), qre = {
|
|
|
54214
54214
|
};
|
|
54215
54215
|
function Xre(A, re, G, _e, ne, Z) {
|
|
54216
54216
|
return ue(), fe("div", Kre, [
|
|
54217
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(Z.getNestedValue(G.row, Z.entry.keys), (
|
|
54217
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(Z.getNestedValue(G.row, Z.entry.keys), (Ce, ee) => (ue(), fe("span", {
|
|
54218
54218
|
key: ee,
|
|
54219
54219
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54220
|
-
}, mt(
|
|
54220
|
+
}, mt(Ce[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(), fe("span", Yre, mt(Z.getNestedValue(G.row, Z.entry.keys)[Z.entry.field]), 1)) : Ye("", !0)
|
|
54221
54221
|
]);
|
|
54222
54222
|
}
|
|
54223
54223
|
const eie = /* @__PURE__ */ zr(qre, [["render", Xre]]), Jre = {
|
|
@@ -54256,13 +54256,13 @@ const tie = /* @__PURE__ */ zr(Jre, [["render", oae], ["__scopeId", "data-v-3a28
|
|
|
54256
54256
|
}, aae = ["src", "alt"], lae = { key: 1 }, cae = ["src", "alt"];
|
|
54257
54257
|
function iae(A, re, G, _e, ne, Z) {
|
|
54258
54258
|
return Z.isArray ? (ue(), fe("div", rae, [
|
|
54259
|
-
(ue(!0), fe(jn, null, Ks(G.row[G.field], (
|
|
54260
|
-
key:
|
|
54259
|
+
(ue(!0), fe(jn, null, Ks(G.row[G.field], (Ce) => (ue(), fe("div", {
|
|
54260
|
+
key: Ce.id
|
|
54261
54261
|
}, [
|
|
54262
54262
|
R("img", {
|
|
54263
54263
|
class: "h-auto max-w-full rounded-lg",
|
|
54264
|
-
src:
|
|
54265
|
-
alt:
|
|
54264
|
+
src: Ce.thumbnail,
|
|
54265
|
+
alt: Ce.file_name
|
|
54266
54266
|
}, null, 8, aae)
|
|
54267
54267
|
]))), 128))
|
|
54268
54268
|
])) : Z.isObject ? (ue(), fe("div", lae, [
|
|
@@ -54494,8 +54494,8 @@ const aie = /* @__PURE__ */ zr(Mae, [["render", Zae]]), jae = {
|
|
|
54494
54494
|
return "";
|
|
54495
54495
|
const A = new Date(this.row[this.field]), re = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), _e = A.getDate();
|
|
54496
54496
|
let ne = A.getHours();
|
|
54497
|
-
const Z = A.getMinutes(),
|
|
54498
|
-
return ne = ne % 12, ne = ne || 12, `${G} ${_e}, ${re}, ${ne}:${Z}:${
|
|
54497
|
+
const Z = A.getMinutes(), Ce = A.getSeconds(), ee = ne >= 12 ? "pm" : "am";
|
|
54498
|
+
return ne = ne % 12, ne = ne || 12, `${G} ${_e}, ${re}, ${ne}:${Z}:${Ce} ${ee}`;
|
|
54499
54499
|
}
|
|
54500
54500
|
}
|
|
54501
54501
|
}, Gae = { class: "w-full" };
|
|
@@ -54585,7 +54585,7 @@ const uie = /* @__PURE__ */ zr(lle, [["render", ule]]), dle = {
|
|
|
54585
54585
|
"aria-hidden": "true"
|
|
54586
54586
|
}, "", -1), ple = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, ble = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, vle = { class: "sm:flex sm:items-start" }, yle = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, wle = { class: "text-lg font-medium leading-6" }, xle = { class: "mt-2" }, Cle = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
|
|
54587
54587
|
function _le(A, re, G, _e, ne, Z) {
|
|
54588
|
-
const
|
|
54588
|
+
const Ce = Rd("gl-button");
|
|
54589
54589
|
return G.isOpen ? (ue(), fe("div", mle, [
|
|
54590
54590
|
R("div", fle, [
|
|
54591
54591
|
gle,
|
|
@@ -54602,7 +54602,7 @@ function _le(A, re, G, _e, ne, Z) {
|
|
|
54602
54602
|
])
|
|
54603
54603
|
]),
|
|
54604
54604
|
R("div", Cle, [
|
|
54605
|
-
ui(
|
|
54605
|
+
ui(Ce, {
|
|
54606
54606
|
onClick: Z.confirmAction,
|
|
54607
54607
|
tag: "button",
|
|
54608
54608
|
button_type: "red"
|
|
@@ -54612,7 +54612,7 @@ function _le(A, re, G, _e, ne, Z) {
|
|
|
54612
54612
|
]),
|
|
54613
54613
|
_: 1
|
|
54614
54614
|
}, 8, ["onClick"]),
|
|
54615
|
-
ui(
|
|
54615
|
+
ui(Ce, {
|
|
54616
54616
|
onClick: Z.cancelAction,
|
|
54617
54617
|
tag: "button",
|
|
54618
54618
|
button_type: "light"
|
|
@@ -54683,11 +54683,11 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54683
54683
|
G.value = !0, setTimeout(() => {
|
|
54684
54684
|
G.value = !1;
|
|
54685
54685
|
}, 2e3);
|
|
54686
|
-
}).catch(function(
|
|
54687
|
-
console.error("Error copying to clipboard: ",
|
|
54686
|
+
}).catch(function(Ce) {
|
|
54687
|
+
console.error("Error copying to clipboard: ", Ce);
|
|
54688
54688
|
});
|
|
54689
54689
|
}, ne = pu(() => re.code);
|
|
54690
|
-
return (Z,
|
|
54690
|
+
return (Z, Ce) => (ue(), fe("div", Sle, [
|
|
54691
54691
|
R("div", kle, [
|
|
54692
54692
|
R("p", Tle, mt(A.label_name), 1)
|
|
54693
54693
|
]),
|
|
@@ -54697,7 +54697,7 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54697
54697
|
]),
|
|
54698
54698
|
R("div", Ole, [
|
|
54699
54699
|
R("button", {
|
|
54700
|
-
onClick:
|
|
54700
|
+
onClick: Ce[0] || (Ce[0] = (ee) => _e(ne.value)),
|
|
54701
54701
|
class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
|
|
54702
54702
|
}, [
|
|
54703
54703
|
G.value ? Ye("", !0) : (ue(), fe("span", Rle, Ple)),
|
|
@@ -54763,11 +54763,11 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54763
54763
|
G.value = !0, setTimeout(() => {
|
|
54764
54764
|
G.value = !1;
|
|
54765
54765
|
}, 2e3);
|
|
54766
|
-
}).catch(function(
|
|
54767
|
-
console.error("Error copying to clipboard: ",
|
|
54766
|
+
}).catch(function(Ce) {
|
|
54767
|
+
console.error("Error copying to clipboard: ", Ce);
|
|
54768
54768
|
});
|
|
54769
54769
|
}, ne = pu(() => re.code);
|
|
54770
|
-
return (Z,
|
|
54770
|
+
return (Z, Ce) => (ue(), fe("div", Hle, [
|
|
54771
54771
|
R("div", Vle, [
|
|
54772
54772
|
R("label", zle, mt(A.label_name), 1)
|
|
54773
54773
|
]),
|
|
@@ -54785,7 +54785,7 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54785
54785
|
]),
|
|
54786
54786
|
R("button", {
|
|
54787
54787
|
style: { padding: ".61rem" },
|
|
54788
|
-
onClick:
|
|
54788
|
+
onClick: Ce[0] || (Ce[0] = (ee) => _e(ne.value)),
|
|
54789
54789
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
54790
54790
|
type: "button"
|
|
54791
54791
|
}, [
|
|
@@ -54932,7 +54932,7 @@ export {
|
|
|
54932
54932
|
sie as GlDatatableStatusGeneral,
|
|
54933
54933
|
rie as GlDatatableStatusSpecficColor,
|
|
54934
54934
|
Ece as GlDateRangePicker,
|
|
54935
|
-
|
|
54935
|
+
j7 as GlDeleteConfirmationModal,
|
|
54936
54936
|
Gee as GlDropdown,
|
|
54937
54937
|
Fte as GlDynamicConfirmation,
|
|
54938
54938
|
yce as GlFilesUpload,
|