golden-logic-ui 1.0.366 → 1.0.367

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.
@@ -297,7 +297,7 @@ function _K(O, ie, te, _e, le, G) {
297
297
  P("span", sK, gt(le.error_message_data), 1),
298
298
  P("small", rK, gt(te.description), 1),
299
299
  le.files.length > 0 ? (pe(), ye("section", aK, [
300
- (pe(!0), ye(Qn, null, sr(le.files, (Q, Pe) => (pe(), ye("li", lK, [
300
+ (pe(!0), ye(Qn, null, sr(le.files, (Q, Ne) => (pe(), ye("li", lK, [
301
301
  cK,
302
302
  P("div", iK, [
303
303
  P("div", uK, [
@@ -314,7 +314,7 @@ function _K(O, ie, te, _e, le, G) {
314
314
  ]))), 256))
315
315
  ])) : ut("", !0),
316
316
  P("section", gK, [
317
- (pe(!0), ye(Qn, null, sr(G.uploadFileListFinal, (Q, Pe) => (pe(), ye("li", hK, [
317
+ (pe(!0), ye(Qn, null, sr(G.uploadFileListFinal, (Q, Ne) => (pe(), ye("li", hK, [
318
318
  P("div", pK, [
319
319
  bK,
320
320
  P("div", vK, [
@@ -514,7 +514,7 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
514
514
  },
515
515
  emits: ["update:modelValue", "selected", "selectionChanged"],
516
516
  setup(O, { emit: ie }) {
517
- const te = O, _e = ie, le = Eo(null), G = Eo([]), Ae = Eo([]), Q = Eo(0), Pe = Eo(!1), pt = Eo(""), qe = Eo(""), bn = Eo(null), mn = Eo(0), No = Eo(0), us = () => {
517
+ const te = O, _e = ie, le = Eo(null), G = Eo([]), Ae = Eo([]), Q = Eo(0), Ne = Eo(!1), pt = Eo(""), qe = Eo(""), bn = Eo(null), mn = Eo(0), No = Eo(0), us = () => {
518
518
  if (bn.value) {
519
519
  mn.value = bn.value.offsetWidth;
520
520
  var rt = bn.value.getBoundingClientRect();
@@ -579,7 +579,7 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
579
579
  Me !== -1 && G.value.splice(Me, 1), Ae.value = G.value.map((nn) => nn.id), _e("update:modelValue", Ae.value), _e("selected", G.value), _e("selectionChanged", G.value);
580
580
  }
581
581
  function We(rt) {
582
- rt.target.id != te.field_name + "search" + qe.value && rt.target.id != te.field_name && !rt.target.classList.contains("showOptions") && (to(), Q.value = 0, Pe.value = !1);
582
+ rt.target.id != te.field_name + "search" + qe.value && rt.target.id != te.field_name && !rt.target.classList.contains("showOptions") && (to(), Q.value = 0, Ne.value = !1);
583
583
  }
584
584
  function ge(rt) {
585
585
  const Me = `${rt}${qe.value}`, nn = document.getElementById(Me);
@@ -619,15 +619,15 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
619
619
  }
620
620
  function Xn(rt) {
621
621
  let Me = G.value.findIndex((nn) => nn.id === rt.id);
622
- Me !== -1 ? G.value.splice(Me, 1) : G.value.push(rt), Pe.value = !1, Ae.value = G.value.map((nn) => nn.id), _e("update:modelValue", Ae.value), _e("selected", G.value), _e("selectionChanged", G.value);
622
+ Me !== -1 ? G.value.splice(Me, 1) : G.value.push(rt), Ne.value = !1, Ae.value = G.value.map((nn) => nn.id), _e("update:modelValue", Ae.value), _e("selected", G.value), _e("selectionChanged", G.value);
623
623
  }
624
624
  function at() {
625
625
  if (!te.show) {
626
- if (Pe.value) {
627
- Pe.value = !1;
626
+ if (Ne.value) {
627
+ Ne.value = !1;
628
628
  return;
629
629
  }
630
- pt.value = "", Pe.value = !0, Rj(() => {
630
+ pt.value = "", Ne.value = !0, Rj(() => {
631
631
  us();
632
632
  var rt = document.getElementById(
633
633
  `${te.field_name}search${qe.value}`
@@ -710,7 +710,7 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
710
710
  ]),
711
711
  P("i", {
712
712
  onClick: Me[1] || (Me[1] = (nn) => at()),
713
- class: an([Pe.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
713
+ class: an([Ne.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
714
714
  style: { top: "11px" }
715
715
  }, null, 2),
716
716
  Qa(P("div", {
@@ -749,7 +749,7 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
749
749
  }, gt(nn.name || nn.id || "-"), 43, GK))), 128))
750
750
  ])
751
751
  ], 4), [
752
- [n5, Pe.value]
752
+ [n5, Ne.value]
753
753
  ])
754
754
  ])
755
755
  ], 512)
@@ -919,12 +919,12 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
919
919
  row_id: _e.translatable.row_id,
920
920
  field: _e.translatable.field
921
921
  }
922
- }).then((Pe) => {
923
- Ae.value.value = JSON.stringify(Pe.data), le("update:modelValueTranslate", JSON.stringify(Pe.data));
924
- }).catch((Pe) => {
925
- console.log(Pe);
922
+ }).then((Ne) => {
923
+ Ae.value.value = JSON.stringify(Ne.data), le("update:modelValueTranslate", JSON.stringify(Ne.data));
924
+ }).catch((Ne) => {
925
+ console.log(Ne);
926
926
  });
927
- }), ie({ focus: () => G.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
927
+ }), ie({ focus: () => G.value.focus() }), (Ne, pt) => (pe(), ye(Qn, null, [
928
928
  O.show ? (pe(), ye("div", {
929
929
  key: 0,
930
930
  class: an(O.field_name)
@@ -937,14 +937,14 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
937
937
  id: O.field_name + "_i18n",
938
938
  ref_key: "input_translate",
939
939
  ref: Ae,
940
- "onUpdate:modelValue": pt[0] || (pt[0] = (qe) => Pe.inputTranslateValue = qe)
940
+ "onUpdate:modelValue": pt[0] || (pt[0] = (qe) => Ne.inputTranslateValue = qe)
941
941
  }, null, 8, JK), [
942
- [ym, Pe.inputTranslateValue]
942
+ [ym, Ne.inputTranslateValue]
943
943
  ]),
944
944
  P("p", {
945
945
  id: O.field_name,
946
946
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
947
- }, gt(Pe.model_value), 9, QK),
947
+ }, gt(Ne.model_value), 9, QK),
948
948
  eY
949
949
  ], 2)) : ut("", !0),
950
950
  O.show ? ut("", !0) : (pe(), ye("div", {
@@ -979,8 +979,8 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
979
979
  " gl-textarea-form-invalid form-input-translation mt-4 ": O.error_message !== ""
980
980
  }),
981
981
  type: O.type,
982
- onInput: pt[1] || (pt[1] = (qe) => Pe.$emit("update:modelValue", qe.target.value)),
983
- onKeydown: pt[2] || (pt[2] = (qe) => Pe.$emit("keydown", qe)),
982
+ onInput: pt[1] || (pt[1] = (qe) => Ne.$emit("update:modelValue", qe.target.value)),
983
+ onKeydown: pt[2] || (pt[2] = (qe) => Ne.$emit("keydown", qe)),
984
984
  ref_key: "input",
985
985
  ref: G,
986
986
  rows: "4"
@@ -1063,12 +1063,12 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1063
1063
  row_id: _e.translatable.row_id,
1064
1064
  field: _e.translatable.field
1065
1065
  }
1066
- }).then((Pe) => {
1067
- Ae.value.value = JSON.stringify(Pe.data), le("update:modelValueTranslate", JSON.stringify(Pe.data));
1068
- }).catch((Pe) => {
1069
- console.log(Pe);
1066
+ }).then((Ne) => {
1067
+ Ae.value.value = JSON.stringify(Ne.data), le("update:modelValueTranslate", JSON.stringify(Ne.data));
1068
+ }).catch((Ne) => {
1069
+ console.log(Ne);
1070
1070
  });
1071
- }), ie({ focus: () => G.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
1071
+ }), ie({ focus: () => G.value.focus() }), (Ne, pt) => (pe(), ye(Qn, null, [
1072
1072
  O.show ? (pe(), ye("div", {
1073
1073
  key: 0,
1074
1074
  class: an(O.field_name)
@@ -1081,9 +1081,9 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1081
1081
  id: O.field_name + "_i18n",
1082
1082
  ref_key: "input_translate",
1083
1083
  ref: Ae,
1084
- "onUpdate:modelValue": pt[0] || (pt[0] = (qe) => Pe.inputTranslateValue = qe)
1084
+ "onUpdate:modelValue": pt[0] || (pt[0] = (qe) => Ne.inputTranslateValue = qe)
1085
1085
  }, null, 8, cY), [
1086
- [ym, Pe.inputTranslateValue]
1086
+ [ym, Ne.inputTranslateValue]
1087
1087
  ]),
1088
1088
  P("p", {
1089
1089
  id: O.field_name,
@@ -1122,8 +1122,8 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1122
1122
  " gl-textarea-form-invalid form-input-translation mt-4 ": O.error_message !== ""
1123
1123
  }]),
1124
1124
  type: O.type,
1125
- onInput: pt[1] || (pt[1] = (qe) => Pe.$emit("update:modelValue", qe.target.value)),
1126
- onKeydown: pt[2] || (pt[2] = (qe) => Pe.$emit("keydown", qe)),
1125
+ onInput: pt[1] || (pt[1] = (qe) => Ne.$emit("update:modelValue", qe.target.value)),
1126
+ onKeydown: pt[2] || (pt[2] = (qe) => Ne.$emit("keydown", qe)),
1127
1127
  ref_key: "input",
1128
1128
  ref: G,
1129
1129
  rows: "4"
@@ -1194,12 +1194,11 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1194
1194
  row_id: _e.translatable.row_id,
1195
1195
  field: _e.translatable.field
1196
1196
  }
1197
- }).then((Pe) => {
1198
- Ae.value.value = JSON.stringify(Pe.data), le("update:modelValueTranslate", JSON.stringify(Pe.data));
1199
- }).catch((Pe) => {
1200
- console.log(Pe);
1197
+ }).then((Ne) => {
1198
+ }).catch((Ne) => {
1199
+ console.log(Ne);
1201
1200
  });
1202
- }), ie({ focus: () => G.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
1201
+ }), ie({ focus: () => G.value.focus() }), (Ne, pt) => (pe(), ye(Qn, null, [
1203
1202
  O.show ? (pe(), ye("div", {
1204
1203
  key: 0,
1205
1204
  class: an(O.field_name)
@@ -1211,14 +1210,14 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1211
1210
  name: O.field_name + "_i18n",
1212
1211
  id: O.field_name + "_i18n",
1213
1212
  ref: "input_translate_s",
1214
- "onUpdate:modelValue": pt[0] || (pt[0] = (qe) => Pe.inputTranslateValue = qe)
1213
+ "onUpdate:modelValue": pt[0] || (pt[0] = (qe) => Ne.inputTranslateValue = qe)
1215
1214
  }, null, 8, vY), [
1216
- [ym, Pe.inputTranslateValue]
1215
+ [ym, Ne.inputTranslateValue]
1217
1216
  ]),
1218
1217
  P("p", {
1219
1218
  id: O.field_name,
1220
1219
  class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
1221
- }, gt(Pe.model_value), 9, yY),
1220
+ }, gt(Ne.model_value), 9, yY),
1222
1221
  wY
1223
1222
  ], 2)) : ut("", !0),
1224
1223
  O.show ? ut("", !0) : (pe(), ye("div", {
@@ -1253,8 +1252,8 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1253
1252
  " gl-input-form-invalid form-input-translation mt-2 ": O.error_message !== ""
1254
1253
  }),
1255
1254
  type: O.type,
1256
- onInput: pt[1] || (pt[1] = (qe) => Pe.$emit("update:modelValue", qe.target.value)),
1257
- onKeydown: pt[2] || (pt[2] = (qe) => Pe.$emit("keydown", qe)),
1255
+ onInput: pt[1] || (pt[1] = (qe) => Ne.$emit("update:modelValue", qe.target.value)),
1256
+ onKeydown: pt[2] || (pt[2] = (qe) => Ne.$emit("keydown", qe)),
1258
1257
  ref_key: "input",
1259
1258
  ref: G
1260
1259
  }, null, 42, _Y),
@@ -1321,7 +1320,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1321
1320
  le("update:modelValue", Q);
1322
1321
  }
1323
1322
  });
1324
- return ie({ focus: () => G.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
1323
+ return ie({ focus: () => G.value.focus() }), (Q, Ne) => (pe(), ye(Qn, null, [
1325
1324
  O.show ? (pe(), ye("div", {
1326
1325
  key: 0,
1327
1326
  class: an(O.field_name)
@@ -1352,8 +1351,8 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1352
1351
  "gl-input-form-invalid": O.error_message !== ""
1353
1352
  }),
1354
1353
  type: O.type,
1355
- "onUpdate:modelValue": Pe[0] || (Pe[0] = (pt) => Ae.value = pt),
1356
- onKeydown: Pe[1] || (Pe[1] = (pt) => Q.$emit("keydown", pt)),
1354
+ "onUpdate:modelValue": Ne[0] || (Ne[0] = (pt) => Ae.value = pt),
1355
+ onKeydown: Ne[1] || (Ne[1] = (pt) => Q.$emit("keydown", pt)),
1357
1356
  ref_key: "input",
1358
1357
  ref: G,
1359
1358
  placeholder: O.placeholder
@@ -1427,7 +1426,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1427
1426
  le("update:modelValue", Q);
1428
1427
  }
1429
1428
  });
1430
- return ie({ focus: () => G.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
1429
+ return ie({ focus: () => G.value.focus() }), (Q, Ne) => (pe(), ye(Qn, null, [
1431
1430
  O.show ? (pe(), ye("div", {
1432
1431
  key: 0,
1433
1432
  class: an(O.field_name)
@@ -1460,8 +1459,8 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1460
1459
  "gl-input-form-invalid-text": O.error_message !== ""
1461
1460
  }, "!border-e-0 !rounded-s-lg"]),
1462
1461
  type: O.type,
1463
- "onUpdate:modelValue": Pe[0] || (Pe[0] = (pt) => Ae.value = pt),
1464
- onKeydown: Pe[1] || (Pe[1] = (pt) => Q.$emit("keydown", pt)),
1462
+ "onUpdate:modelValue": Ne[0] || (Ne[0] = (pt) => Ae.value = pt),
1463
+ onKeydown: Ne[1] || (Ne[1] = (pt) => Q.$emit("keydown", pt)),
1465
1464
  ref_key: "input",
1466
1465
  ref: G,
1467
1466
  placeholder: O.placeholder
@@ -1524,16 +1523,16 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1524
1523
  return te.modelValue.start;
1525
1524
  },
1526
1525
  set(pt) {
1527
- G.value.start = pt, Pe(G.value.start, G.value.end), _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end });
1526
+ G.value.start = pt, Ne(G.value.start, G.value.end), _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end });
1528
1527
  }
1529
1528
  }), Q = vc({
1530
1529
  get() {
1531
1530
  return te.modelValue.end;
1532
1531
  },
1533
1532
  set(pt) {
1534
- G.value.end = pt, Pe(G.value.start, G.value.end), _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end });
1533
+ G.value.end = pt, Ne(G.value.start, G.value.end), _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end });
1535
1534
  }
1536
- }), Pe = (pt, qe) => {
1535
+ }), Ne = (pt, qe) => {
1537
1536
  pt && qe && new Date(pt) > new Date(qe) ? (le.value = "Start date cannot be after end date.", G.value.start = "", G.value.end = "", _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end })) : pt && qe && new Date(qe) < new Date(pt) ? (le.value = "End date cannot be before start date.", G.value.start = "", G.value.end = "", _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end })) : le.value = "";
1538
1537
  };
1539
1538
  return (pt, qe) => (pe(), ye(Qn, null, [
@@ -1690,21 +1689,21 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1690
1689
  props: {},
1691
1690
  emits: ["TabChange"],
1692
1691
  setup(O, { emit: ie }) {
1693
- const te = ie, _e = Rq(), le = Eo(_e.default().map((Pe) => Pe.props)), G = Eo("");
1692
+ const te = ie, _e = Rq(), le = Eo(_e.default().map((Ne) => Ne.props)), G = Eo("");
1694
1693
  QG("selectedTitle", G);
1695
- const Ae = (Pe) => {
1696
- window.location.hash = encodeURIComponent(Pe), te("TabChange", Pe);
1694
+ const Ae = (Ne) => {
1695
+ window.location.hash = encodeURIComponent(Ne), te("TabChange", Ne);
1697
1696
  }, Q = () => {
1698
- const Pe = decodeURIComponent(window.location.hash.replace("#", "")), pt = le.value.find((qe) => qe.title === Pe);
1697
+ const Ne = decodeURIComponent(window.location.hash.replace("#", "")), pt = le.value.find((qe) => qe.title === Ne);
1699
1698
  pt && (G.value = pt.title);
1700
1699
  };
1701
- return Gx(G, (Pe) => {
1702
- Ae(Pe);
1700
+ return Gx(G, (Ne) => {
1701
+ Ae(Ne);
1703
1702
  }), _g(() => {
1704
1703
  Q(), window.addEventListener("hashchange", Q);
1705
1704
  }), W8(() => {
1706
1705
  window.removeEventListener("hashchange", Q);
1707
- }), (Pe, pt) => (pe(), ye(Qn, null, [
1706
+ }), (Ne, pt) => (pe(), ye(Qn, null, [
1708
1707
  P("div", iX, [
1709
1708
  P("div", uX, [
1710
1709
  P("ul", dX, [
@@ -1728,7 +1727,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1728
1727
  P("div", fX, [
1729
1728
  P("div", gX, [
1730
1729
  P("div", hX, [
1731
- yf(Pe.$slots, "default")
1730
+ yf(Ne.$slots, "default")
1732
1731
  ])
1733
1732
  ])
1734
1733
  ])
@@ -1812,8 +1811,8 @@ const Gae = /* @__PURE__ */ qr(pX, [["render", vX]]), yX = {
1812
1811
  const te = (le) => {
1813
1812
  ie.style.cursor = "grabbing";
1814
1813
  const G = (Q) => {
1815
- const Pe = Q.clientX || Q.touches && Q.touches[0] && Q.touches[0].clientX, pt = Q.clientY || Q.touches && Q.touches[0] && Q.touches[0].clientY, qe = Pe - O.initialX, bn = pt - O.initialY;
1816
- Math.abs(qe) > Math.abs(bn) ? (Q.preventDefault(), Math.abs(qe) >= 70 && (qe < 0 ? O.next() : O.prev(), O.initialX = Pe)) : ie.style.cursor = "grab", Math.abs(bn) > Math.abs(qe) && (ie.style.cursor = "grab");
1814
+ const Ne = Q.clientX || Q.touches && Q.touches[0] && Q.touches[0].clientX, pt = Q.clientY || Q.touches && Q.touches[0] && Q.touches[0].clientY, qe = Ne - O.initialX, bn = pt - O.initialY;
1815
+ Math.abs(qe) > Math.abs(bn) ? (Q.preventDefault(), Math.abs(qe) >= 70 && (qe < 0 ? O.next() : O.prev(), O.initialX = Ne)) : ie.style.cursor = "grab", Math.abs(bn) > Math.abs(qe) && (ie.style.cursor = "grab");
1817
1816
  }, Ae = () => {
1818
1817
  document.removeEventListener("mousemove", G), document.removeEventListener("touchmove", G), document.removeEventListener("mouseup", Ae), document.removeEventListener("touchend", Ae), ie.style.cursor = "grab";
1819
1818
  };
@@ -1835,13 +1834,13 @@ const Gae = /* @__PURE__ */ qr(pX, [["render", vX]]), yX = {
1835
1834
  this.dotsNum = this.elementsToShow == 1 ? le.length : le.length - this.elementsToShow + 1;
1836
1835
  let Q = this.elementsToShow == 1 ? Ae * le.length / this.dotsNum : Ae * (le.length - this.elementsToShow) / (this.dotsNum - 1);
1837
1836
  this.dotsNavigation = [];
1838
- for (let Pe = 0; Pe < this.dotsNum; Pe++)
1839
- this.dotsNavigation.push(Q * Pe);
1837
+ for (let Ne = 0; Ne < this.dotsNum; Ne++)
1838
+ this.dotsNavigation.push(Q * Ne);
1840
1839
  }
1841
1840
  te.style.width = le.length * Ae + "px", te.style.transition = "margin", te.style.transitionDuration = "1s";
1842
1841
  for (let Q = 0; Q < le.length; Q++) {
1843
- const Pe = le[Q];
1844
- Pe.style.width = Ae + "px";
1842
+ const Ne = le[Q];
1843
+ Ne.style.width = Ae + "px";
1845
1844
  }
1846
1845
  },
1847
1846
  setDot(O) {
@@ -2202,11 +2201,11 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2202
2201
  };
2203
2202
  return Gx(
2204
2203
  () => te.is_open,
2205
- (Q, Pe) => {
2204
+ (Q, Ne) => {
2206
2205
  Q ? le() : G();
2207
2206
  },
2208
2207
  { immediate: !0, deep: !0 }
2209
- ), (Q, Pe) => O.is_open ? (pe(), ye("div", {
2208
+ ), (Q, Ne) => O.is_open ? (pe(), ye("div", {
2210
2209
  key: 0,
2211
2210
  class: an(["fixed left-0 top-13 h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black bg-opacity-80", O.has_large_z_index ? "z-[9999]" : "z-[1055]"]),
2212
2211
  tabindex: "-1",
@@ -2345,7 +2344,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2345
2344
  "false-value": 0,
2346
2345
  ref_key: "input",
2347
2346
  ref: le,
2348
- "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => G.value = Pe)
2347
+ "onUpdate:modelValue": Q[0] || (Q[0] = (Ne) => G.value = Ne)
2349
2348
  }, null, 8, FJ), [
2350
2349
  [tq, G.value]
2351
2350
  ]),
@@ -2452,7 +2451,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2452
2451
  id: O.field_name,
2453
2452
  ref_key: "input",
2454
2453
  ref: le,
2455
- "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => G.value = Pe)
2454
+ "onUpdate:modelValue": Q[0] || (Q[0] = (Ne) => G.value = Ne)
2456
2455
  }, null, 8, JJ), [
2457
2456
  [tq, G.value]
2458
2457
  ]),
@@ -2563,7 +2562,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2563
2562
  setup(O, { emit: ie }) {
2564
2563
  const te = O, _e = ie;
2565
2564
  Eo(null);
2566
- const le = Eo({}), G = Eo(0), Ae = Eo(!1), Q = Eo(""), Pe = Eo(""), pt = Eo(null), qe = Eo(0), bn = Eo(0), mn = () => {
2565
+ const le = Eo({}), G = Eo(0), Ae = Eo(!1), Q = Eo(""), Ne = Eo(""), pt = Eo(null), qe = Eo(0), bn = Eo(0), mn = () => {
2567
2566
  if (pt.value) {
2568
2567
  qe.value = pt.value.offsetWidth;
2569
2568
  var Bt = pt.value.getBoundingClientRect();
@@ -2573,7 +2572,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2573
2572
  Bt.key === "Enter" && Bt.target.form && Bt.preventDefault();
2574
2573
  };
2575
2574
  _g(() => {
2576
- Pe.value = dn(), te.show || (window.addEventListener("scroll", mn), document.body.addEventListener("click", kt), document.addEventListener("keypress", No));
2575
+ Ne.value = dn(), te.show || (window.addEventListener("scroll", mn), document.body.addEventListener("click", kt), document.addEventListener("keypress", No));
2577
2576
  }), W8(() => {
2578
2577
  window.removeEventListener("scroll", mn), document.body.removeEventListener("click", kt), document.removeEventListener("keypress", No);
2579
2578
  });
@@ -2612,14 +2611,14 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2612
2611
  return Bt !== null && typeof Bt == "object" && Object.keys(Bt).length > 0;
2613
2612
  }
2614
2613
  function kt(Bt) {
2615
- Bt.target.id != te.field_name + "search" + Pe.value && Bt.target.id != te.field_name && !Bt.target.classList.contains("showOptions") && (os(), G.value = 0, Ae.value = !1);
2614
+ Bt.target.id != te.field_name + "search" + Ne.value && Bt.target.id != te.field_name && !Bt.target.classList.contains("showOptions") && (os(), G.value = 0, Ae.value = !1);
2616
2615
  }
2617
2616
  function Qr(Bt) {
2618
- const Dt = `${Bt}${Pe.value}`, A = document.getElementById(Dt);
2617
+ const Dt = `${Bt}${Ne.value}`, A = document.getElementById(Dt);
2619
2618
  A && A.scrollIntoView();
2620
2619
  }
2621
2620
  function eo(Bt) {
2622
- const Dt = `${Bt}${Pe.value}`, A = document.getElementById(Dt);
2621
+ const Dt = `${Bt}${Ne.value}`, A = document.getElementById(Dt);
2623
2622
  A && A.click();
2624
2623
  }
2625
2624
  function se(Bt) {
@@ -2654,7 +2653,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2654
2653
  Q.value = "", Ae.value = !0, Rj(() => {
2655
2654
  mn();
2656
2655
  var Bt = document.getElementById(
2657
- `${te.field_name}search${Pe.value}`
2656
+ `${te.field_name}search${Ne.value}`
2658
2657
  );
2659
2658
  Bt && Bt.focus();
2660
2659
  });
@@ -2745,7 +2744,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2745
2744
  Qa(P("input", {
2746
2745
  type: "search",
2747
2746
  "onUpdate:modelValue": Dt[3] || (Dt[3] = (to) => Q.value = to),
2748
- id: `${O.field_name}search${Pe.value}`,
2747
+ id: `${O.field_name}search${Ne.value}`,
2749
2748
  onKeydown: pr,
2750
2749
  onBlur: Dt[4] || (Dt[4] = (to) => os()),
2751
2750
  autocomplete: "off",
@@ -2767,7 +2766,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2767
2766
  onClick: (nn) => In(to),
2768
2767
  onMousedown: (nn) => In(to),
2769
2768
  key: rt,
2770
- id: `${rt + 1}${Pe.value}`
2769
+ id: `${rt + 1}${Ne.value}`
2771
2770
  }, [
2772
2771
  P("div", bQ, [
2773
2772
  ((Me = Oo.value) == null ? void 0 : Me.id) === to.id ? (pe(), ye("svg", vQ, wQ)) : ut("", !0),
@@ -2848,7 +2847,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2848
2847
  le("update:modelValue", Q);
2849
2848
  }
2850
2849
  });
2851
- return ie({ focus: () => G.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
2850
+ return ie({ focus: () => G.value.focus() }), (Q, Ne) => (pe(), ye(Qn, null, [
2852
2851
  O.show ? (pe(), ye("div", {
2853
2852
  key: 0,
2854
2853
  class: an(O.field_name)
@@ -2881,8 +2880,8 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2881
2880
  " gl-textarea-form-invalid mt-4 ": O.error_message !== ""
2882
2881
  }),
2883
2882
  type: O.type,
2884
- "onUpdate:modelValue": Pe[0] || (Pe[0] = (pt) => Ae.value = pt),
2885
- onKeydown: Pe[1] || (Pe[1] = (pt) => Q.$emit("keydown", pt)),
2883
+ "onUpdate:modelValue": Ne[0] || (Ne[0] = (pt) => Ae.value = pt),
2884
+ onKeydown: Ne[1] || (Ne[1] = (pt) => Q.$emit("keydown", pt)),
2886
2885
  ref_key: "input",
2887
2886
  ref: G,
2888
2887
  rows: "4",
@@ -2930,7 +2929,7 @@ var oq = { exports: {} };
2930
2929
  return { eq: e };
2931
2930
  }, Ae = G(function(e, n) {
2932
2931
  return e === n;
2933
- }), Q = Ae, Pe = function(e) {
2932
+ }), Q = Ae, Ne = function(e) {
2934
2933
  return G(function(n, o) {
2935
2934
  if (n.length !== o.length)
2936
2935
  return !1;
@@ -2940,7 +2939,7 @@ var oq = { exports: {} };
2940
2939
  return !0;
2941
2940
  });
2942
2941
  }, pt = function(e, n) {
2943
- return le(Pe(e), function(o) {
2942
+ return le(Ne(e), function(o) {
2944
2943
  return _e(o, n);
2945
2944
  });
2946
2945
  }, qe = function(e) {
@@ -2959,7 +2958,7 @@ var oq = { exports: {} };
2959
2958
  if (e === n)
2960
2959
  return !0;
2961
2960
  var o = ie(e), r = ie(n);
2962
- return o !== r ? !1 : te(o) ? e === n : o === "array" ? Pe(bn).eq(e, n) : o === "object" ? qe(bn).eq(e, n) : !1;
2961
+ return o !== r ? !1 : te(o) ? e === n : o === "array" ? Ne(bn).eq(e, n) : o === "object" ? qe(bn).eq(e, n) : !1;
2963
2962
  });
2964
2963
  const mn = Object.getPrototypeOf, No = (e, n, o) => {
2965
2964
  var r;
@@ -4295,11 +4294,11 @@ var oq = { exports: {} };
4295
4294
  failed: [],
4296
4295
  count: 0
4297
4296
  })), N = (we) => new Promise((Se, Ce) => {
4298
- let Ne;
4297
+ let Pe;
4299
4298
  const st = ct._addCacheSuffix(we), xt = M(st);
4300
4299
  r[st] = xt, xt.count++;
4301
4300
  const Ft = (Gt, ln) => {
4302
- ke(Gt, br), xt.status = ln, xt.passed = [], xt.failed = [], Ne && (Ne.onload = null, Ne.onerror = null, Ne = null);
4301
+ ke(Gt, br), xt.status = ln, xt.passed = [], xt.failed = [], Pe && (Pe.onload = null, Pe.onerror = null, Pe = null);
4303
4302
  }, Ze = () => Ft(xt.passed, 2), Ve = () => Ft(xt.failed, 3);
4304
4303
  if (Se && xt.passed.push(Se), Ce && xt.failed.push(Ce), xt.status === 1)
4305
4304
  return;
@@ -4317,19 +4316,19 @@ var oq = { exports: {} };
4317
4316
  rel: "stylesheet",
4318
4317
  type: "text/css",
4319
4318
  id: xt.id
4320
- }), n.contentCssCors && Cs(ot, "crossOrigin", "anonymous"), n.referrerPolicy && Cs(ot, "referrerpolicy", n.referrerPolicy), Ne = ot.dom, Ne.onload = Ze, Ne.onerror = Ve, y(ot), Cs(ot, "href", st);
4319
+ }), n.contentCssCors && Cs(ot, "crossOrigin", "anonymous"), n.referrerPolicy && Cs(ot, "referrerpolicy", n.referrerPolicy), Pe = ot.dom, Pe.onload = Ze, Pe.onerror = Ve, y(ot), Cs(ot, "href", st);
4321
4320
  }), F = (we, Se) => {
4322
4321
  const Ce = M(we);
4323
4322
  r[we] = Ce, Ce.count++;
4324
- const Ne = ce.fromTag("style", u.dom);
4325
- _c(Ne, {
4323
+ const Pe = ce.fromTag("style", u.dom);
4324
+ _c(Pe, {
4326
4325
  rel: "stylesheet",
4327
4326
  type: "text/css",
4328
4327
  id: Ce.id
4329
- }), Ne.dom.innerHTML = Se, y(Ne);
4328
+ }), Pe.dom.innerHTML = Se, y(Pe);
4330
4329
  }, J = (we) => Promise.allSettled(Ye(we, (Ce) => N(Ce).then(at(Ce)))).then((Ce) => {
4331
- const Ne = Go(Ce, (st) => st.status === "fulfilled");
4332
- return Ne.fail.length > 0 ? Promise.reject(Ye(Ne.fail, (st) => st.reason)) : Ye(Ne.pass, (st) => st.value);
4330
+ const Pe = Go(Ce, (st) => st.status === "fulfilled");
4331
+ return Pe.fail.length > 0 ? Promise.reject(Ye(Pe.fail, (st) => st.reason)) : Ye(Pe.pass, (st) => st.value);
4333
4332
  }), ne = (we) => {
4334
4333
  const Se = ct._addCacheSuffix(we);
4335
4334
  Yo(r, Se).each((Ce) => {
@@ -4649,7 +4648,7 @@ var oq = { exports: {} };
4649
4648
  }
4650
4649
  }, y = (n = e.schema) !== null && n !== void 0 ? n : "html5", k = RT(y);
4651
4650
  e.verify_html === !1 && (e.valid_elements = "*[*]");
4652
- const M = Xh(e.valid_styles), N = Xh(e.invalid_styles, "map"), F = Xh(e.valid_classes, "map"), J = b("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), ne = b("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), q = b("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), oe = b("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), we = "td th iframe video audio object script code", Se = b("non_empty_elements", we + " pre svg", q), Ce = b("move_caret_before_on_enter_elements", we + " table", q), Ne = "h1 h2 h3 h4 h5 h6", st = b("text_block_elements", Ne + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), xt = b("block_elements", "hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing", st), Ft = b("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"), Ze = b("transparent_elements", "a ins del canvas map"), Ve = b("wrap_block_elements", "pre " + Ne);
4651
+ const M = Xh(e.valid_styles), N = Xh(e.invalid_styles, "map"), F = Xh(e.valid_classes, "map"), J = b("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), ne = b("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), q = b("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), oe = b("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), we = "td th iframe video audio object script code", Se = b("non_empty_elements", we + " pre svg", q), Ce = b("move_caret_before_on_enter_elements", we + " table", q), Pe = "h1 h2 h3 h4 h5 h6", st = b("text_block_elements", Pe + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), xt = b("block_elements", "hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing", st), Ft = b("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"), Ze = b("transparent_elements", "a ins del canvas map"), Ve = b("wrap_block_elements", "pre " + Pe);
4653
4652
  ld("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "), (Bn) => {
4654
4653
  f[Bn] = new RegExp("</" + Bn + "[^>]*>", "gi");
4655
4654
  });
@@ -4849,10 +4848,10 @@ var oq = { exports: {} };
4849
4848
  return F[Ze] = ot[0], !0;
4850
4849
  }, Se = (Ze, Ve, ot, Gt) => {
4851
4850
  we(Ve) && we(ot) && we(Gt) && (F[Ze] = F[Ve] + " " + F[ot] + " " + F[Gt], delete F[Ve], delete F[ot], delete F[Gt]);
4852
- }, Ce = (Ze) => (J = !0, u[Ze]), Ne = (Ze, Ve) => (J && (Ze = Ze.replace(/\uFEFF[0-9]/g, (ot) => u[ot])), Ve || (Ze = Ze.replace(/\\([\'\";:])/g, "$1")), Ze), st = (Ze) => String.fromCharCode(parseInt(Ze.slice(1), 16)), xt = (Ze) => Ze.replace(/\\[0-9a-f]+/gi, st), Ft = (Ze, Ve, ot, Gt, ln, Kn) => {
4851
+ }, Ce = (Ze) => (J = !0, u[Ze]), Pe = (Ze, Ve) => (J && (Ze = Ze.replace(/\uFEFF[0-9]/g, (ot) => u[ot])), Ve || (Ze = Ze.replace(/\\([\'\";:])/g, "$1")), Ze), st = (Ze) => String.fromCharCode(parseInt(Ze.slice(1), 16)), xt = (Ze) => Ze.replace(/\\[0-9a-f]+/gi, st), Ft = (Ze, Ve, ot, Gt, ln, Kn) => {
4853
4852
  if (ln = ln || Kn, ln)
4854
- return ln = Ne(ln), "'" + ln.replace(/\'/g, "\\'") + "'";
4855
- if (Ve = Ne(Ve || ot || Gt || ""), !e.allow_script_urls) {
4853
+ return ln = Pe(ln), "'" + ln.replace(/\'/g, "\\'") + "'";
4854
+ if (Ve = Pe(Ve || ot || Gt || ""), !e.allow_script_urls) {
4856
4855
  const Zn = Ve.replace(/[\s\r\n]+/g, "");
4857
4856
  if (/(java|vb)script:/i.test(Zn) || !e.allow_svg_data_urls && /^data:image\/svg/i.test(Zn))
4858
4857
  return "";
@@ -4870,7 +4869,7 @@ var oq = { exports: {} };
4870
4869
  continue;
4871
4870
  Ve === "font-weight" && ot === "700" ? ot = "bold" : (Ve === "color" || Ve === "background-color") && (ot = ot.toLowerCase()), fe(e.force_hex_color) && e.force_hex_color !== "off" && Vy(ot).each((Gt) => {
4872
4871
  (e.force_hex_color === "always" || Gt.alpha === 1) && (ot = Qh(ti(Gt)));
4873
- }), ot = ot.replace(o, Ft), F[Ve] = J ? Ne(ot, !0) : ot;
4872
+ }), ot = ot.replace(o, Ft), F[Ve] = J ? Pe(ot, !0) : ot;
4874
4873
  }
4875
4874
  }
4876
4875
  oe("border", "", !0), oe("border", "-width"), oe("border", "-color"), oe("border", "-style"), oe("padding", ""), oe("margin", ""), Se("border", "border-width", "border-style", "border-color"), F.border === "medium none" && delete F.border, F["border-image"] === "none" && delete F["border-image"];
@@ -4882,7 +4881,7 @@ var oq = { exports: {} };
4882
4881
  const ne = (oe, we) => {
4883
4882
  const Se = we[oe];
4884
4883
  if (Se)
4885
- for (let Ce = 0, Ne = Se.length; Ce < Ne; Ce++) {
4884
+ for (let Ce = 0, Pe = Se.length; Ce < Pe; Ce++) {
4886
4885
  const st = Se[Ce], xt = N[st];
4887
4886
  xt && (J += (J.length > 0 ? " " : "") + st + ": " + xt + ";");
4888
4887
  }
@@ -5139,7 +5138,7 @@ var oq = { exports: {} };
5139
5138
  });
5140
5139
  }
5141
5140
  });
5142
- }, Ne = (Be, He) => Be.cloneNode(He), st = () => n.root_element || e.body, xt = (Be) => {
5141
+ }, Pe = (Be, He) => Be.cloneNode(He), st = () => n.root_element || e.body, xt = (Be) => {
5143
5142
  const He = oa(Be);
5144
5143
  return {
5145
5144
  x: He.x,
@@ -5447,7 +5446,7 @@ var oq = { exports: {} };
5447
5446
  events: F,
5448
5447
  isBlock: ne,
5449
5448
  root: null,
5450
- clone: Ne,
5449
+ clone: Pe,
5451
5450
  getRoot: st,
5452
5451
  getViewPort: xt,
5453
5452
  getRect: ln,
@@ -7048,15 +7047,15 @@ Required: ` + n.join(", "));
7048
7047
  if (o(oe)) {
7049
7048
  const Se = mc(b, oe, q), Ce = OE(n, oe, q);
7050
7049
  y.setStyle(Se, "top", Ce.top), f = Se;
7051
- const Ne = y.create("div", {
7050
+ const Pe = y.create("div", {
7052
7051
  class: "mce-visual-caret",
7053
7052
  "data-mce-bogus": "all"
7054
7053
  });
7055
- y.setStyles(Ne, { ...Ce }), y.add(n, Ne), l.set({
7056
- caret: Ne,
7054
+ y.setStyles(Pe, { ...Ce }), y.add(n, Pe), l.set({
7055
+ caret: Pe,
7057
7056
  element: oe,
7058
7057
  before: q
7059
- }), q && y.addClass(Ne, "mce-visual-caret-before"), N(), we = oe.ownerDocument.createRange(), we.setStart(Se, 0), we.setEnd(Se, 0);
7058
+ }), q && y.addClass(Pe, "mce-visual-caret-before"), N(), we = oe.ownerDocument.createRange(), we.setStart(Se, 0), we.setEnd(Se, 0);
7060
7059
  } else
7061
7060
  return f = cr(oe, q), we = oe.ownerDocument.createRange(), ov(f.nextSibling) ? (we.setStart(f, 0), we.setEnd(f, 0)) : (we.setStart(f, 1), we.setEnd(f, 1)), we;
7062
7061
  return we;
@@ -7621,9 +7620,9 @@ Required: ` + n.join(", "));
7621
7620
  return Ce;
7622
7621
  }, M = (oe, we) => e.getParent(oe, (Se) => Se.parentNode === we, we), N = (oe, we, Se) => {
7623
7622
  const Ce = Se ? "nextSibling" : "previousSibling";
7624
- for (let Ne = oe, st = Ne.parentNode; Ne && Ne !== we; Ne = st) {
7625
- st = Ne.parentNode;
7626
- const xt = k(Ne === oe ? Ne : Ne[Ce], Ce);
7623
+ for (let Pe = oe, st = Pe.parentNode; Pe && Pe !== we; Pe = st) {
7624
+ st = Pe.parentNode;
7625
+ const xt = k(Pe === oe ? Pe : Pe[Ce], Ce);
7627
7626
  xt.length && (Se || xt.reverse(), o(y(xt)));
7628
7627
  }
7629
7628
  };
@@ -7850,7 +7849,7 @@ Required: ` + n.join(", "));
7850
7849
  ]
7851
7850
  }, v5 = (e) => e.type === "longpress" || e.type.indexOf("touch") === 0, y5 = (e, n) => {
7852
7851
  const o = n.dom, r = n.getDoc(), l = document, u = n.getBody();
7853
- let f, b, y, k, M, N, F, J, ne, q, oe, we, Se, Ce, Ne, st, xt;
7852
+ let f, b, y, k, M, N, F, J, ne, q, oe, we, Se, Ce, Pe, st, xt;
7854
7853
  const Ft = (St) => We(St) && (Sl(St) || o.is(St, "figure.image")), Ze = (St) => gr(St) || o.hasClass(St, "mce-preview-object"), Ve = (St, $n) => {
7855
7854
  if (v5(St)) {
7856
7855
  const _o = St.touches[0];
@@ -7877,21 +7876,21 @@ Required: ` + n.join(", "));
7877
7876
  Zn(St, "width", $n), Zn(St, "height", _o);
7878
7877
  }, $s = (St) => {
7879
7878
  let $n, _o, ks, ps, Fa;
7880
- $n = St.screenX - N, _o = St.screenY - F, Ce = $n * k[2] + q, Ne = _o * k[3] + oe, Ce = Ce < 5 ? 5 : Ce, Ne = Ne < 5 ? 5 : Ne, (Ft(f) || Ze(f)) && AC(n) !== !1 ? ks = !Ut.modifierPressed(St) : ks = Ut.modifierPressed(St), ks && (x0($n) > x0(_o) ? (Ne = C0(Ce * we), Ce = C0(Ne / we)) : (Ce = C0(Ne / we), Ne = C0(Ce * we))), hs(b, Ce, Ne), ps = k.startPos.x + $n, Fa = k.startPos.y + _o, ps = ps > 0 ? ps : 0, Fa = Fa > 0 ? Fa : 0, o.setStyles(y, {
7879
+ $n = St.screenX - N, _o = St.screenY - F, Ce = $n * k[2] + q, Pe = _o * k[3] + oe, Ce = Ce < 5 ? 5 : Ce, Pe = Pe < 5 ? 5 : Pe, (Ft(f) || Ze(f)) && AC(n) !== !1 ? ks = !Ut.modifierPressed(St) : ks = Ut.modifierPressed(St), ks && (x0($n) > x0(_o) ? (Pe = C0(Ce * we), Ce = C0(Pe / we)) : (Ce = C0(Pe / we), Pe = C0(Ce * we))), hs(b, Ce, Pe), ps = k.startPos.x + $n, Fa = k.startPos.y + _o, ps = ps > 0 ? ps : 0, Fa = Fa > 0 ? Fa : 0, o.setStyles(y, {
7881
7880
  left: ps,
7882
7881
  top: Fa,
7883
7882
  display: "block"
7884
- }), y.innerHTML = Ce + " &times; " + Ne, k[2] < 0 && b.clientWidth <= Ce && o.setStyle(b, "left", J + (q - Ce)), k[3] < 0 && b.clientHeight <= Ne && o.setStyle(b, "top", ne + (oe - Ne)), $n = u.scrollWidth - st, _o = u.scrollHeight - xt, $n + _o !== 0 && o.setStyles(y, {
7883
+ }), y.innerHTML = Ce + " &times; " + Pe, k[2] < 0 && b.clientWidth <= Ce && o.setStyle(b, "left", J + (q - Ce)), k[3] < 0 && b.clientHeight <= Pe && o.setStyle(b, "top", ne + (oe - Pe)), $n = u.scrollWidth - st, _o = u.scrollHeight - xt, $n + _o !== 0 && o.setStyles(y, {
7885
7884
  left: ps - $n,
7886
7885
  top: Fa - _o
7887
7886
  }), Se || (nw(n, f, q, oe, "corner-" + k.name), Se = !0);
7888
7887
  }, Fr = () => {
7889
7888
  const St = Se;
7890
- Se = !1, St && (Zn(f, "width", Ce), Zn(f, "height", Ne)), o.unbind(r, "mousemove", $s), o.unbind(r, "mouseup", Fr), l !== r && (o.unbind(l, "mousemove", $s), o.unbind(l, "mouseup", Fr)), o.remove(b), o.remove(y), o.remove(M), $l(f), St && (Iu(n, f, Ce, Ne, "corner-" + k.name), o.setAttrib(f, "style", o.getAttrib(f, "style"))), n.nodeChanged();
7889
+ Se = !1, St && (Zn(f, "width", Ce), Zn(f, "height", Pe)), o.unbind(r, "mousemove", $s), o.unbind(r, "mouseup", Fr), l !== r && (o.unbind(l, "mousemove", $s), o.unbind(l, "mouseup", Fr)), o.remove(b), o.remove(y), o.remove(M), $l(f), St && (Iu(n, f, Ce, Pe, "corner-" + k.name), o.setAttrib(f, "style", o.getAttrib(f, "style"))), n.nodeChanged();
7891
7890
  }, $l = (St) => {
7892
7891
  lo();
7893
7892
  const $n = o.getPos(St, u), _o = $n.x, ks = $n.y, ps = St.getBoundingClientRect(), Fa = ps.width || ps.right - ps.left, gm = ps.height || ps.bottom - ps.top;
7894
- f !== St && (Tt(), f = St, Ce = Ne = 0);
7893
+ f !== St && (Tt(), f = St, Ce = Pe = 0);
7895
7894
  const vg = n.dispatch("ObjectSelected", { target: St });
7896
7895
  ln(St) && !vg.isDefaultPrevented() ? yt(e4, (ii, _d) => {
7897
7896
  const Bn = (Ms) => {
@@ -9697,16 +9696,16 @@ Required: ` + n.join(", "));
9697
9696
  else {
9698
9697
  e.selection.setContent(M);
9699
9698
  let Se = u.getNode(), Ce;
9700
- const Ne = e.getBody();
9701
- for (Ug(Se) ? Se = Ce = Ne : Ce = Se; Ce && Ce !== Ne; )
9699
+ const Pe = e.getBody();
9700
+ for (Ug(Se) ? Se = Ce = Pe : Ce = Se; Ce && Ce !== Pe; )
9702
9701
  Se = Ce, Ce = Ce.parentNode;
9703
- n = Se === Ne ? Ne.innerHTML : f.getOuterHTML(Se);
9702
+ n = Se === Pe ? Pe.innerHTML : f.getOuterHTML(Se);
9704
9703
  const st = b.parse(n), xt = UR(st), Ft = xt.bind(MR).getOr(st);
9705
9704
  xt.each((Gt) => Gt.replace(oe));
9706
9705
  const Ze = oe.children(), Ve = (l = oe.parent) !== null && l !== void 0 ? l : st;
9707
9706
  oe.unwrap();
9708
9707
  const ot = Vt(Ze, (Gt) => QS(e.schema, Gt, Ve));
9709
- JS(ot, e.schema, Ft), K4(b.getNodeFilters(), b.getAttributeFilters(), st), n = k.serialize(st), Se === Ne ? f.setHTML(Ne, n) : f.setOuterHTML(Se, n);
9708
+ JS(ot, e.schema, Ft), K4(b.getNodeFilters(), b.getAttributeFilters(), st), n = k.serialize(st), Se === Pe ? f.setHTML(Pe, n) : f.setOuterHTML(Se, n);
9710
9709
  }
9711
9710
  return TI(e, y), AI(e, f.get("mce_marker")), l3(e.getBody()), HR(f, u.getStart(), e.schema), Yx(e.schema, e.getBody(), u.getStart()), n;
9712
9711
  }, o_ = (e) => e instanceof Nc, OI = (e) => {
@@ -10217,16 +10216,16 @@ Required: ` + n.join(", "));
10217
10216
  if (f.split) {
10218
10217
  if (Se = L(Se), oe = a$(e, Se, !0), we = a$(e, Se), oe !== we) {
10219
10218
  if (oe = C3(oe, !0), we = C3(we, !1), f_(b, oe, we)) {
10220
- const Ne = z.from(oe.firstChild).getOr(oe);
10221
- k(l$(b, Ne, !0, "span", {
10219
+ const Pe = z.from(oe.firstChild).getOr(oe);
10220
+ k(l$(b, Pe, !0, "span", {
10222
10221
  id: "_start",
10223
10222
  "data-mce-type": "bookmark"
10224
10223
  })), J(!0);
10225
10224
  return;
10226
10225
  }
10227
10226
  if (f_(b, we, oe)) {
10228
- const Ne = z.from(we.lastChild).getOr(we);
10229
- k(l$(b, Ne, !1, "span", {
10227
+ const Pe = z.from(we.lastChild).getOr(we);
10228
+ k(l$(b, Pe, !1, "span", {
10230
10229
  id: "_end",
10231
10230
  "data-mce-type": "bookmark"
10232
10231
  })), J(!1);
@@ -10240,8 +10239,8 @@ Required: ` + n.join(", "));
10240
10239
  "data-mce-type": "bookmark"
10241
10240
  });
10242
10241
  const Ce = b.createRng();
10243
- Ce.setStartAfter(oe), Ce.setEndBefore(we), y0(b, Ce, (Ne) => {
10244
- ke(Ne, (st) => {
10242
+ Ce.setStartAfter(oe), Ce.setEndBefore(we), y0(b, Ce, (Pe) => {
10243
+ ke(Pe, (st) => {
10245
10244
  !Oi(st) && !Oi(st.parentNode) && k(st);
10246
10245
  });
10247
10246
  }), k(oe), k(we), oe = J(!0), we = J();
@@ -10327,7 +10326,7 @@ Required: ` + n.join(", "));
10327
10326
  }, F = (ne, q, oe) => {
10328
10327
  const we = [];
10329
10328
  let Se = !0;
10330
- const Ce = u.inline || u.block, Ne = N(Ce), st = (Ze) => vv(u) && sg(e, Ze, n, o), xt = (Ze, Ve, ot) => {
10329
+ const Ce = u.inline || u.block, Pe = N(Ce), st = (Ze) => vv(u) && sg(e, Ze, n, o), xt = (Ze, Ve, ot) => {
10331
10330
  const Gt = Ip(u) && aa(e.schema, Ze) && Xm(e, Ve, Ce);
10332
10331
  return ot && Gt;
10333
10332
  }, Ft = (Ze, Ve, ot, Gt) => {
@@ -10361,7 +10360,7 @@ Required: ` + n.join(", "));
10361
10360
  return;
10362
10361
  }
10363
10362
  }
10364
- We(Ne) && Ft(Gt, $s, $l, Zn) ? (Ve || (Ve = ne.clone(Ne, !1), hs.insertBefore(Ve, Gt), we.push(Ve)), Zn && ln && (Se = Kn), Ve.appendChild(Gt)) : (Ve = null, ke(wr(Gt.childNodes), ot), ln && (Se = Kn), Ve = null);
10363
+ We(Pe) && Ft(Gt, $s, $l, Zn) ? (Ve || (Ve = ne.clone(Pe, !1), hs.insertBefore(Ve, Gt), we.push(Ve)), Zn && ln && (Se = Kn), Ve.appendChild(Gt)) : (Ve = null, ke(wr(Gt.childNodes), ot), ln && (Se = Kn), Ve = null);
10365
10364
  };
10366
10365
  ke(Ze, ot);
10367
10366
  }), u.links === !0 && ke(we, (Ze) => {
@@ -11433,7 +11432,7 @@ Required: ` + n.join(", "));
11433
11432
  const ro = l.createElement("template");
11434
11433
  ro.content && ro.content.ownerDocument && (l = ro.content.ownerDocument);
11435
11434
  }
11436
- let Ce, Ne = "";
11435
+ let Ce, Pe = "";
11437
11436
  const { implementation: st, createNodeIterator: xt, createDocumentFragment: Ft, getElementsByTagName: Ze } = l, { importNode: Ve } = o;
11438
11437
  let ot = {};
11439
11438
  n.isSupported = typeof Ta == "function" && typeof Se == "function" && st && st.createHTMLDocument !== void 0;
@@ -11553,9 +11552,9 @@ Required: ` + n.join(", "));
11553
11552
  throw Kv('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
11554
11553
  if (typeof ze.TRUSTED_TYPES_POLICY.createScriptURL != "function")
11555
11554
  throw Kv('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
11556
- Ce = ze.TRUSTED_TYPES_POLICY, Ne = Ce.createHTML("");
11555
+ Ce = ze.TRUSTED_TYPES_POLICY, Pe = Ce.createHTML("");
11557
11556
  } else
11558
- Ce === void 0 && (Ce = V$(J, r)), Ce !== null && typeof Ne == "string" && (Ne = Ce.createHTML(""));
11557
+ Ce === void 0 && (Ce = V$(J, r)), Ce !== null && typeof Pe == "string" && (Pe = Ce.createHTML(""));
11559
11558
  la && la(ze), p1 = ze;
11560
11559
  }
11561
11560
  }, xg = gs({}, [
@@ -11635,7 +11634,7 @@ Required: ` + n.join(", "));
11635
11634
  if (!Qt || !Qt.documentElement) {
11636
11635
  Qt = st.createDocument(yg, "template", null);
11637
11636
  try {
11638
- Qt.documentElement.innerHTML = Hx ? Ne : Hr;
11637
+ Qt.documentElement.innerHTML = Hx ? Pe : Hr;
11639
11638
  } catch {
11640
11639
  }
11641
11640
  }
@@ -11778,7 +11777,7 @@ Required: ` + n.join(", "));
11778
11777
  if (!ii && !ps && !Fa && ro.indexOf("<") === -1)
11779
11778
  return Ce && Bn ? Ce.createHTML(ro) : ro;
11780
11779
  if (Qt = or(ro), !Qt)
11781
- return ii ? null : Bn ? Ne : "";
11780
+ return ii ? null : Bn ? Pe : "";
11782
11781
  }
11783
11782
  Qt && vg && rn(Qt.firstChild);
11784
11783
  const Td = ui(Vi ? ro : Qt);
@@ -12133,28 +12132,28 @@ Required: ` + n.join(", "));
12133
12132
  }
12134
12133
  return !1;
12135
12134
  }, ne = (Se) => Se.name in b || Im(n, Se) || rd(Se.name) && Se.parent === e, q = (Se, Ce) => {
12136
- const Ne = Ce ? Se.prev : Se.next;
12137
- return We(Ne) || In(Se.parent) ? !1 : ne(Se.parent) && (Se.parent !== e || r.isRootContent === !0);
12135
+ const Pe = Ce ? Se.prev : Se.next;
12136
+ return We(Pe) || In(Se.parent) ? !1 : ne(Se.parent) && (Se.parent !== e || r.isRootContent === !0);
12138
12137
  };
12139
12138
  return [
12140
12139
  (Se) => {
12141
12140
  var Ce;
12142
12141
  if (Se.type === 3 && !F(Se)) {
12143
- let Ne = (Ce = Se.value) !== null && Ce !== void 0 ? Ce : "";
12144
- Ne = Ne.replace(k, " "), (X4(Se.prev, ne) || q(Se, !0)) && (Ne = Ne.replace(M, "")), Ne.length === 0 ? Se.remove() : Se.value = Ne;
12142
+ let Pe = (Ce = Se.value) !== null && Ce !== void 0 ? Ce : "";
12143
+ Pe = Pe.replace(k, " "), (X4(Se.prev, ne) || q(Se, !0)) && (Pe = Pe.replace(M, "")), Pe.length === 0 ? Se.remove() : Se.value = Pe;
12145
12144
  }
12146
12145
  },
12147
12146
  (Se) => {
12148
12147
  var Ce;
12149
12148
  if (Se.type === 1) {
12150
- const Ne = n.getElementRule(Se.name);
12151
- if (l && Ne) {
12149
+ const Pe = n.getElementRule(Se.name);
12150
+ if (l && Pe) {
12152
12151
  const st = Iv(n, u, f, Se);
12153
- Ne.paddInEmptyBlock && st && J(Se) ? YS(o, r, ne, Se) : Ne.removeEmpty && st ? ne(Se) ? Se.remove() : Se.unwrap() : Ne.paddEmpty && (st || RR(Se)) && YS(o, r, ne, Se);
12152
+ Pe.paddInEmptyBlock && st && J(Se) ? YS(o, r, ne, Se) : Pe.removeEmpty && st ? ne(Se) ? Se.remove() : Se.unwrap() : Pe.paddEmpty && (st || RR(Se)) && YS(o, r, ne, Se);
12154
12153
  }
12155
12154
  } else if (Se.type === 3 && !F(Se)) {
12156
- let Ne = (Ce = Se.value) !== null && Ce !== void 0 ? Ce : "";
12157
- (Se.next && ne(Se.next) || q(Se, !1)) && (Ne = Ne.replace(N, "")), Ne.length === 0 ? Se.remove() : Se.value = Ne;
12155
+ let Pe = (Ce = Se.value) !== null && Ce !== void 0 ? Ce : "";
12156
+ (Se.next && ne(Se.next) || q(Se, !1)) && (Pe = Pe.replace(N, "")), Pe.length === 0 ? Se.remove() : Se.value = Pe;
12158
12157
  }
12159
12158
  }
12160
12159
  ];
@@ -12168,25 +12167,25 @@ Required: ` + n.join(", "));
12168
12167
  root_name: "body",
12169
12168
  sanitize: !0,
12170
12169
  ...e
12171
- }, u = new DOMParser(), f = wL(l, n), b = (Ce, Ne, st = "html") => {
12172
- const xt = st === "xhtml" ? "application/xhtml+xml" : "text/html", Ft = hn(n.getSpecialElements(), Ne.toLowerCase()), Ze = Ft ? `<${Ne}>${Ce}</${Ne}>` : Ce, Ve = st === "xhtml" ? `<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>${Ze}</body></html>` : `<body>${Ze}</body>`, ot = u.parseFromString(Ve, xt).body;
12170
+ }, u = new DOMParser(), f = wL(l, n), b = (Ce, Pe, st = "html") => {
12171
+ const xt = st === "xhtml" ? "application/xhtml+xml" : "text/html", Ft = hn(n.getSpecialElements(), Pe.toLowerCase()), Ze = Ft ? `<${Pe}>${Ce}</${Pe}>` : Ce, Ve = st === "xhtml" ? `<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>${Ze}</body></html>` : `<body>${Ze}</body>`, ot = u.parseFromString(Ve, xt).body;
12173
12172
  return f.sanitizeHtmlElement(ot, xt), Ft ? ot.firstChild : ot;
12174
- }, y = o.addFilter, k = o.getFilters, M = o.removeFilter, N = r.addFilter, F = r.getFilters, J = r.removeFilter, ne = (Ce, Ne) => {
12175
- QS(n, Ce) && Ne.push(Ce);
12176
- }, q = (Ce, Ne) => {
12177
- const st = fe(Ne.attr(H3)), xt = Ne.type === 1 && !hn(Ce, Ne.name) && !Im(n, Ne) && !rd(Ne.name);
12178
- return Ne.type === 3 || xt && !st;
12179
- }, oe = (Ce, Ne) => {
12173
+ }, y = o.addFilter, k = o.getFilters, M = o.removeFilter, N = r.addFilter, F = r.getFilters, J = r.removeFilter, ne = (Ce, Pe) => {
12174
+ QS(n, Ce) && Pe.push(Ce);
12175
+ }, q = (Ce, Pe) => {
12176
+ const st = fe(Pe.attr(H3)), xt = Pe.type === 1 && !hn(Ce, Pe.name) && !Im(n, Pe) && !rd(Pe.name);
12177
+ return Pe.type === 3 || xt && !st;
12178
+ }, oe = (Ce, Pe) => {
12180
12179
  const st = Y$(K$("script,style,head,html,body,title,meta,param"), n.getBlockElements()), xt = /^[ \t\r\n]+/, Ft = /[ \t\r\n]+$/;
12181
12180
  let Ze = Ce.firstChild, Ve = null;
12182
12181
  const ot = (Gt) => {
12183
12182
  var ln, Kn;
12184
12183
  Gt && (Ze = Gt.firstChild, Ze && Ze.type === 3 && (Ze.value = (ln = Ze.value) === null || ln === void 0 ? void 0 : ln.replace(xt, "")), Ze = Gt.lastChild, Ze && Ze.type === 3 && (Ze.value = (Kn = Ze.value) === null || Kn === void 0 ? void 0 : Kn.replace(Ft, "")));
12185
12184
  };
12186
- if (n.isValidChild(Ce.name, Ne.toLowerCase())) {
12185
+ if (n.isValidChild(Ce.name, Pe.toLowerCase())) {
12187
12186
  for (; Ze; ) {
12188
12187
  const Gt = Ze.next;
12189
- q(st, Ze) ? (Ve || (Ve = new Nc(Ne, 1), Ve.attr(l.forced_root_block_attrs), Ce.insert(Ve, Ze)), Ve.append(Ze)) : (ot(Ve), Ve = null), Ze = Gt;
12188
+ q(st, Ze) ? (Ve || (Ve = new Nc(Pe, 1), Ve.attr(l.forced_root_block_attrs), Ce.insert(Ve, Ze)), Ve.append(Ze)) : (ot(Ve), Ve = null), Ze = Gt;
12190
12189
  }
12191
12190
  ot(Ve);
12192
12191
  }
@@ -12198,13 +12197,13 @@ Required: ` + n.join(", "));
12198
12197
  addNodeFilter: y,
12199
12198
  getNodeFilters: k,
12200
12199
  removeNodeFilter: M,
12201
- parse: (Ce, Ne = {}) => {
12200
+ parse: (Ce, Pe = {}) => {
12202
12201
  var st;
12203
- const xt = l.validate, Ft = (st = Ne.context) !== null && st !== void 0 ? st : l.root_name, Ze = b(Ce, Ft, Ne.format);
12202
+ const xt = l.validate, Ft = (st = Pe.context) !== null && st !== void 0 ? st : l.root_name, Ze = b(Ce, Ft, Pe.format);
12204
12203
  A1(n, Ze);
12205
12204
  const Ve = new Nc(Ft, 11);
12206
12205
  Vw(Ve, Ze, n.getSpecialElements(), f.sanitizeNamespaceElement), Ze.innerHTML = "";
12207
- const [ot, Gt] = xL(Ve, n, l, Ne), ln = [], Kn = xt ? (Fr) => ne(Fr, ln) : Dt, Zn = {
12206
+ const [ot, Gt] = xL(Ve, n, l, Pe), ln = [], Kn = xt ? (Fr) => ne(Fr, ln) : Dt, Zn = {
12208
12207
  nodes: {},
12209
12208
  attributes: {}
12210
12209
  }, hs = (Fr) => G4(k(), F(), Fr, Zn);
@@ -12215,16 +12214,16 @@ Required: ` + n.join(", "));
12215
12214
  Gt,
12216
12215
  Kn
12217
12216
  ]), ln.reverse(), xt && ln.length > 0)
12218
- if (Ne.context) {
12217
+ if (Pe.context) {
12219
12218
  const {
12220
12219
  pass: Fr,
12221
12220
  fail: $l
12222
12221
  } = Go(ln, (is) => is.parent === Ve);
12223
- JS($l, n, Ve, hs), Ne.invalid = Fr.length > 0;
12222
+ JS($l, n, Ve, hs), Pe.invalid = Fr.length > 0;
12224
12223
  } else
12225
12224
  JS(ln, n, Ve, hs);
12226
- const $s = x_(l, Ne);
12227
- return $s && (Ve.name === "body" || Ne.isRootContent) && oe(Ve, $s), Ne.invalid || q4(Zn, Ne), Ve;
12225
+ const $s = x_(l, Pe);
12226
+ return $s && (Ve.name === "body" || Pe.isRootContent) && oe(Ve, $s), Pe.invalid || q4(Zn, Pe), Ve;
12228
12227
  }
12229
12228
  };
12230
12229
  return A$(Se, l), E3(Se, l, n), Se;
@@ -12446,19 +12445,19 @@ Required: ` + n.join(", "));
12446
12445
  return null;
12447
12446
  const oe = ne - q, we = q + ne, Se = (we % 2 === 0 ? we : we + 1) / 2;
12448
12447
  r[1 + Se] = M, l[1 + Se] = N + 1;
12449
- let Ce, Ne, st, xt, Ft;
12448
+ let Ce, Pe, st, xt, Ft;
12450
12449
  for (Ce = 0; Ce <= Se; ++Ce) {
12451
- for (Ne = -Ce; Ne <= Ce; Ne += 2) {
12452
- for (st = Ne + Se, Ne === -Ce || Ne !== Ce && r[st - 1] < r[st + 1] ? r[st] = r[st + 1] : r[st] = r[st - 1] + 1, xt = r[st], Ft = xt - M + F - Ne; xt < N && Ft < J && e[xt] === n[Ft]; )
12450
+ for (Pe = -Ce; Pe <= Ce; Pe += 2) {
12451
+ for (st = Pe + Se, Pe === -Ce || Pe !== Ce && r[st - 1] < r[st + 1] ? r[st] = r[st + 1] : r[st] = r[st - 1] + 1, xt = r[st], Ft = xt - M + F - Pe; xt < N && Ft < J && e[xt] === n[Ft]; )
12453
12452
  r[st] = ++xt, ++Ft;
12454
- if (oe % 2 !== 0 && oe - Ce <= Ne && Ne <= oe + Ce && l[st - oe] <= r[st])
12455
- return b(l[st - oe], Ne + M - F, N, J);
12453
+ if (oe % 2 !== 0 && oe - Ce <= Pe && Pe <= oe + Ce && l[st - oe] <= r[st])
12454
+ return b(l[st - oe], Pe + M - F, N, J);
12456
12455
  }
12457
- for (Ne = oe - Ce; Ne <= oe + Ce; Ne += 2) {
12458
- for (st = Ne + Se - oe, Ne === oe - Ce || Ne !== oe + Ce && l[st + 1] <= l[st - 1] ? l[st] = l[st + 1] - 1 : l[st] = l[st - 1], xt = l[st] - 1, Ft = xt - M + F - Ne; xt >= M && Ft >= F && e[xt] === n[Ft]; )
12456
+ for (Pe = oe - Ce; Pe <= oe + Ce; Pe += 2) {
12457
+ for (st = Pe + Se - oe, Pe === oe - Ce || Pe !== oe + Ce && l[st + 1] <= l[st - 1] ? l[st] = l[st + 1] - 1 : l[st] = l[st - 1], xt = l[st] - 1, Ft = xt - M + F - Pe; xt >= M && Ft >= F && e[xt] === n[Ft]; )
12459
12458
  l[st] = xt--, Ft--;
12460
- if (oe % 2 === 0 && -Ce <= Ne && Ne <= Ce && l[st] <= r[st + oe])
12461
- return b(l[st], Ne + M - F, N, J);
12459
+ if (oe % 2 === 0 && -Ce <= Pe && Pe <= Ce && l[st] <= r[st + oe])
12460
+ return b(l[st], Pe + M - F, N, J);
12462
12461
  }
12463
12462
  }
12464
12463
  return null;
@@ -12825,8 +12824,8 @@ Required: ` + n.join(", "));
12825
12824
  let l, u;
12826
12825
  const { selectorChangedWithUnbind: f } = SM(e, r), b = (Tt, en) => {
12827
12826
  const jn = e.createRng();
12828
- We(Tt) && We(en) ? (jn.setStart(Tt, en), jn.setEnd(Tt, en), Ne(jn), we(!1)) : (Z2(e, jn, r.getBody(), !0), Ne(jn));
12829
- }, y = (Tt) => uF(r, Tt), k = (Tt, en) => hF(r, Tt, en), M = (Tt) => b4(r.getBody(), Ce(), Tt), N = (Tt) => M5(r.getBody(), Ce(), Tt), F = (Tt, en) => $l.getBookmark(Tt, en), J = (Tt) => $l.moveToBookmark(Tt), ne = (Tt, en) => (f7(e, Tt, en).each(Ne), Tt), q = () => {
12827
+ We(Tt) && We(en) ? (jn.setStart(Tt, en), jn.setEnd(Tt, en), Pe(jn), we(!1)) : (Z2(e, jn, r.getBody(), !0), Pe(jn));
12828
+ }, y = (Tt) => uF(r, Tt), k = (Tt, en) => hF(r, Tt, en), M = (Tt) => b4(r.getBody(), Ce(), Tt), N = (Tt) => M5(r.getBody(), Ce(), Tt), F = (Tt, en) => $l.getBookmark(Tt, en), J = (Tt) => $l.moveToBookmark(Tt), ne = (Tt, en) => (f7(e, Tt, en).each(Pe), Tt), q = () => {
12830
12829
  const Tt = Ce(), en = Se();
12831
12830
  return !Tt || Tt.item ? !1 : Tt.compareEndPoints ? Tt.compareEndPoints("StartToEnd", Tt) === 0 : !en || Tt.collapsed;
12832
12831
  }, oe = () => {
@@ -12834,7 +12833,7 @@ Required: ` + n.join(", "));
12834
12833
  return en.length > 0 ? er(en, (jn) => e.isEditable(jn.parentElement)) : R5(e, Tt);
12835
12834
  }, we = (Tt) => {
12836
12835
  const en = Ce();
12837
- en.collapse(!!Tt), Ne(en);
12836
+ en.collapse(!!Tt), Pe(en);
12838
12837
  }, Se = () => n.getSelection ? n.getSelection() : n.document.selection, Ce = () => {
12839
12838
  let Tt;
12840
12839
  const en = (lo, Yt, Rn) => {
@@ -12859,7 +12858,7 @@ Required: ` + n.join(", "));
12859
12858
  Tt.setStart(lo, 0), Tt.setEnd(lo, 0);
12860
12859
  }
12861
12860
  return l && u && (en(Tt.START_TO_START, Tt, l) === 0 && en(Tt.END_TO_END, Tt, l) === 0 ? Tt = u : (l = null, u = null)), Tt;
12862
- }, Ne = (Tt, en) => {
12861
+ }, Pe = (Tt, en) => {
12863
12862
  if (!pF(Tt))
12864
12863
  return;
12865
12864
  const jn = Se();
@@ -12898,7 +12897,7 @@ Required: ` + n.join(", "));
12898
12897
  win: n,
12899
12898
  serializer: o,
12900
12899
  editor: r,
12901
- expand: (Tt = { type: "word" }) => Ne(Z(e).expand(Ce(), Tt)),
12900
+ expand: (Tt = { type: "word" }) => Pe(Z(e).expand(Ce(), Tt)),
12902
12901
  collapse: we,
12903
12902
  setCursorLocation: b,
12904
12903
  getContent: y,
@@ -12912,7 +12911,7 @@ Required: ` + n.join(", "));
12912
12911
  setNode: st,
12913
12912
  getNode: xt,
12914
12913
  getSel: Se,
12915
- setRng: Ne,
12914
+ setRng: Pe,
12916
12915
  getRng: Ce,
12917
12916
  getStart: M,
12918
12917
  getEnd: N,
@@ -12922,7 +12921,7 @@ Required: ` + n.join(", "));
12922
12921
  if (!mh(en) && gv(r)) {
12923
12922
  const jn = _(e, Tt);
12924
12923
  return jn.each((lo) => {
12925
- Ne(lo, Ze());
12924
+ Pe(lo, Ze());
12926
12925
  }), jn.getOr(Tt);
12927
12926
  }
12928
12927
  return Tt;
@@ -12943,7 +12942,7 @@ Required: ` + n.join(", "));
12943
12942
  scrollIntoView: (Tt, en) => {
12944
12943
  We(Tt) ? Ol(r, Tt, en) : T0(r, Ce(), en);
12945
12944
  },
12946
- placeCaretAt: (Tt, en) => Ne($i(Tt, en, r.getDoc())),
12945
+ placeCaretAt: (Tt, en) => Pe($i(Tt, en, r.getDoc())),
12947
12946
  getBoundingClientRect: () => {
12948
12947
  const Tt = Ce();
12949
12948
  return Tt.collapsed ? Le.fromRangeStart(Tt).getClientRects()[0] : Tt.getBoundingClientRect();
@@ -13509,8 +13508,8 @@ Options:${f}${o.join(f)}` : "";
13509
13508
  }
13510
13509
  we(r(n.basePath, st.location));
13511
13510
  };
13512
- const Ne = new FormData();
13513
- Ne.append("file", q.blob(), q.filename()), Ce.send(Ne);
13511
+ const Pe = new FormData();
13512
+ Pe.append("file", q.blob(), q.filename()), Ce.send(Pe);
13514
13513
  }), u = ge(n.handler) ? n.handler : l, f = () => new Promise((q) => {
13515
13514
  q([]);
13516
13515
  }), b = (q, oe) => ({
@@ -13527,20 +13526,20 @@ Options:${f}${o.join(f)}` : "";
13527
13526
  we(oe);
13528
13527
  }), delete o[q];
13529
13528
  }, M = (q, oe, we) => (e.markPending(q.blobUri()), new Promise((Se) => {
13530
- let Ce, Ne;
13529
+ let Ce, Pe;
13531
13530
  try {
13532
13531
  const st = () => {
13533
- Ce && (Ce.close(), Ne = Dt);
13532
+ Ce && (Ce.close(), Pe = Dt);
13534
13533
  }, xt = (Ze) => {
13535
13534
  st(), e.markUploaded(q.blobUri(), Ze), k(q.blobUri(), b(q, Ze)), Se(b(q, Ze));
13536
13535
  }, Ft = (Ze) => {
13537
13536
  st(), e.removeFailed(q.blobUri()), k(q.blobUri(), y(q, Ze)), Se(y(q, Ze));
13538
13537
  };
13539
- Ne = (Ze) => {
13538
+ Pe = (Ze) => {
13540
13539
  Ze < 0 || Ze > 100 || z.from(Ce).orThunk(() => z.from(we).map(no)).each((Ve) => {
13541
13540
  Ce = Ve, Ve.progressBar.value(Ze);
13542
13541
  });
13543
- }, oe(q, Ne).then(xt, (Ze) => {
13542
+ }, oe(q, Pe).then(xt, (Ze) => {
13544
13543
  Ft(fe(Ze) ? { message: Ze } : Ze);
13545
13544
  });
13546
13545
  } catch (st) {
@@ -13571,28 +13570,28 @@ Options:${f}${o.join(f)}` : "";
13571
13570
  }, e9 = (e) => {
13572
13571
  const n = KF();
13573
13572
  let o, r;
13574
- const l = zM(), u = [], f = (Ce) => (Ne) => e.selection ? Ce(Ne) : [], b = (Ce) => Ce + (Ce.indexOf("?") === -1 ? "?" : "&") + (/* @__PURE__ */ new Date()).getTime(), y = (Ce, Ne, st) => {
13573
+ const l = zM(), u = [], f = (Ce) => (Pe) => e.selection ? Ce(Pe) : [], b = (Ce) => Ce + (Ce.indexOf("?") === -1 ? "?" : "&") + (/* @__PURE__ */ new Date()).getTime(), y = (Ce, Pe, st) => {
13575
13574
  let xt = 0;
13576
13575
  do
13577
- xt = Ce.indexOf(Ne, xt), xt !== -1 && (Ce = Ce.substring(0, xt) + st + Ce.substr(xt + Ne.length), xt += st.length - Ne.length + 1);
13576
+ xt = Ce.indexOf(Pe, xt), xt !== -1 && (Ce = Ce.substring(0, xt) + st + Ce.substr(xt + Pe.length), xt += st.length - Pe.length + 1);
13578
13577
  while (xt !== -1);
13579
13578
  return Ce;
13580
- }, k = (Ce, Ne, st) => {
13579
+ }, k = (Ce, Pe, st) => {
13581
13580
  const xt = `src="${st}"${st === It.transparentSrc ? ' data-mce-placeholder="1"' : ""}`;
13582
- return Ce = y(Ce, `src="${Ne}"`, xt), Ce = y(Ce, 'data-mce-src="' + Ne + '"', 'data-mce-src="' + st + '"'), Ce;
13583
- }, M = (Ce, Ne) => {
13581
+ return Ce = y(Ce, `src="${Pe}"`, xt), Ce = y(Ce, 'data-mce-src="' + Pe + '"', 'data-mce-src="' + st + '"'), Ce;
13582
+ }, M = (Ce, Pe) => {
13584
13583
  ke(e.undoManager.data, (st) => {
13585
- st.type === "fragmented" ? st.fragments = Ye(st.fragments, (xt) => k(xt, Ce, Ne)) : st.content = k(st.content, Ce, Ne);
13584
+ st.type === "fragmented" ? st.fragments = Ye(st.fragments, (xt) => k(xt, Ce, Pe)) : st.content = k(st.content, Ce, Pe);
13586
13585
  });
13587
- }, N = (Ce, Ne) => {
13588
- const st = e.convertURL(Ne, "src");
13589
- M(Ce.src, Ne), _c(ce.fromDom(Ce), {
13590
- src: G1(e) ? b(Ne) : Ne,
13586
+ }, N = (Ce, Pe) => {
13587
+ const st = e.convertURL(Pe, "src");
13588
+ M(Ce.src, Pe), _c(ce.fromDom(Ce), {
13589
+ src: G1(e) ? b(Pe) : Pe,
13591
13590
  "data-mce-src": st
13592
13591
  });
13593
13592
  }, F = () => (o || (o = ey(e, l)), oe().then(f((Ce) => {
13594
- const Ne = Ye(Ce, (st) => st.blobInfo);
13595
- return o.upload(Ne, XF(e)).then(f((st) => {
13593
+ const Pe = Ye(Ce, (st) => st.blobInfo);
13594
+ return o.upload(Pe, XF(e)).then(f((st) => {
13596
13595
  const xt = [];
13597
13596
  let Ft = !1;
13598
13597
  const Ze = Ye(st, (Ve, ot) => {
@@ -13613,21 +13612,21 @@ Options:${f}${o.join(f)}` : "";
13613
13612
  });
13614
13613
  }) : Ft && e.undoManager.dispatchChange(), Ze;
13615
13614
  }));
13616
- }))), J = () => kC(e) ? F() : Promise.resolve([]), ne = (Ce) => er(u, (Ne) => Ne(Ce)), q = (Ce) => {
13615
+ }))), J = () => kC(e) ? F() : Promise.resolve([]), ne = (Ce) => er(u, (Pe) => Pe(Ce)), q = (Ce) => {
13617
13616
  u.push(Ce);
13618
13617
  }, oe = () => (r || (r = jF(l, n)), r.findAll(e.getBody(), ne).then(f((Ce) => {
13619
- const Ne = Vt(Ce, (st) => fe(st) ? (N_(e, st), !1) : st.uriType !== "blob");
13620
- return _h(e) || ke(Ne, (st) => {
13618
+ const Pe = Vt(Ce, (st) => fe(st) ? (N_(e, st), !1) : st.uriType !== "blob");
13619
+ return _h(e) || ke(Pe, (st) => {
13621
13620
  M(st.image.src, st.blobInfo.blobUri()), st.image.src = st.blobInfo.blobUri(), st.image.removeAttribute("data-mce-src");
13622
- }), Ne;
13621
+ }), Pe;
13623
13622
  }))), we = () => {
13624
13623
  n.destroy(), l.destroy(), r = o = null;
13625
- }, Se = (Ce) => Ce.replace(/src="(blob:[^"]+)"/g, (Ne, st) => {
13624
+ }, Se = (Ce) => Ce.replace(/src="(blob:[^"]+)"/g, (Pe, st) => {
13626
13625
  const xt = l.getResultUri(st);
13627
13626
  if (xt)
13628
13627
  return 'src="' + xt + '"';
13629
13628
  let Ft = n.getByUri(st);
13630
- return Ft || (Ft = Fo(e.editorManager.get(), (Ze, Ve) => Ze || Ve.editorUpload && Ve.editorUpload.blobCache.getByUri(st), void 0)), Ft ? 'src="data:' + Ft.blob().type + ";base64," + Ft.base64() + '"' : Ne;
13629
+ return Ft || (Ft = Fo(e.editorManager.get(), (Ze, Ve) => Ze || Ve.editorUpload && Ve.editorUpload.blobCache.getByUri(st), void 0)), Ft ? 'src="data:' + Ft.blob().type + ";base64," + Ft.base64() + '"' : Pe;
13631
13630
  });
13632
13631
  return e.on("SetContent", () => {
13633
13632
  kC(e) ? J() : oe();
@@ -13637,12 +13636,12 @@ Options:${f}${o.join(f)}` : "";
13637
13636
  Ce.source_view || Ce.format === "raw" || Ce.format === "tree" || (Ce.content = Se(Ce.content));
13638
13637
  }), e.on("PostRender", () => {
13639
13638
  e.parser.addNodeFilter("img", (Ce) => {
13640
- ke(Ce, (Ne) => {
13641
- const st = Ne.attr("src");
13639
+ ke(Ce, (Pe) => {
13640
+ const st = Pe.attr("src");
13642
13641
  if (!st || n.getByUri(st))
13643
13642
  return;
13644
13643
  const xt = l.getResultUri(st);
13645
- xt && Ne.attr("src", xt);
13644
+ xt && Pe.attr("src", xt);
13646
13645
  });
13647
13646
  });
13648
13647
  }), {
@@ -16261,7 +16260,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, ho(n, _D)), WN = at(HN), pk
16261
16260
  _(b, M).each((ot) => {
16262
16261
  M.setStart(ot.startContainer, ot.startOffset), M.setEnd(ot.endContainer, ot.endOffset);
16263
16262
  }), o = M.startContainer, r = M.startOffset;
16264
- const Ce = !!(n && n.shiftKey), Ne = !!(n && n.ctrlKey);
16263
+ const Ce = !!(n && n.shiftKey), Pe = !!(n && n.ctrlKey);
16265
16264
  jt(o) && o.hasChildNodes() && !q && (f = r > o.childNodes.length - 1, o = o.childNodes[Math.min(r, o.childNodes.length - 1)] || o, f && dt(o) ? r = o.data.length : r = 0);
16266
16265
  const st = Z0(b, o);
16267
16266
  if (!st || iz(e, o))
@@ -16270,7 +16269,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, ho(n, _D)), WN = at(HN), pk
16270
16269
  let xt = b.getParent(o, b.isBlock) || b.getRoot();
16271
16270
  u = We(xt == null ? void 0 : xt.parentNode) ? b.getParent(xt.parentNode, b.isBlock) : null, l = xt ? xt.nodeName.toUpperCase() : "";
16272
16271
  const Ft = u ? u.nodeName.toUpperCase() : "";
16273
- if (Ft === "LI" && !Ne) {
16272
+ if (Ft === "LI" && !Pe) {
16274
16273
  const ot = u;
16275
16274
  xt = ot, u = ot.parentNode, l = Ft;
16276
16275
  }
@@ -17536,14 +17535,14 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, ho(n, _D)), WN = at(HN), pk
17536
17535
  }, J = () => {
17537
17536
  e.on("click", (Ze) => {
17538
17537
  o.isEditable(Ze.target) || (Ze.preventDefault(), e.focus());
17539
- }), e.on("blur NewBlock", Ne), e.on("ResizeWindow FullscreenStateChanged", l.reposition), e.on("tap", (Ze) => {
17538
+ }), e.on("blur NewBlock", Pe), e.on("ResizeWindow FullscreenStateChanged", l.reposition), e.on("tap", (Ze) => {
17540
17539
  const Ve = Ze.target, ot = O6(e, Ve);
17541
17540
  by(ot) ? (Ze.preventDefault(), ny(e, ot).each(Ce)) : k(Ve) && ny(e, Ve).each(Ce);
17542
17541
  }, !0), e.on("mousedown", (Ze) => {
17543
17542
  const Ve = Ze.target;
17544
17543
  if (Ve !== r && Ve.nodeName !== "HTML" && !o.isChildOf(Ve, r) || !NF(e, Ze.clientX, Ze.clientY))
17545
17544
  return;
17546
- Ne(), xt();
17545
+ Pe(), xt();
17547
17546
  const ot = O6(e, Ve);
17548
17547
  by(ot) ? (Ze.preventDefault(), ny(e, ot).each(Ce)) : bO(r, Ze.clientX, Ze.clientY).each((Gt) => {
17549
17548
  Ze.preventDefault();
@@ -17569,7 +17568,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, ho(n, _D)), WN = at(HN), pk
17569
17568
  const Ft = (Ze) => jt(Ze) && Ze.id === "mcepastebin";
17570
17569
  e.on("AfterSetSelectionRange", (Ze) => {
17571
17570
  const Ve = Ze.range, ot = Ve.startContainer.parentElement;
17572
- !q(Ve) && !Ft(ot) && xt(), y(ot) || Ne();
17571
+ !q(Ve) && !Ft(ot) && xt(), y(ot) || Pe();
17573
17572
  }), fW(e), D6(e), gW(e);
17574
17573
  }, ne = (Ft) => sn(Ft) || Gl(Ft) || Xc(Ft), q = (Ft) => ne(Ft.startContainer) || ne(Ft.endContainer), oe = (Ft) => {
17575
17574
  const Ze = e.schema.getVoidElements(), Ve = o.createRng(), ot = Ft.startContainer, Gt = Ft.startOffset, ln = Ft.endContainer, Kn = Ft.endOffset;
@@ -17633,7 +17632,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, ho(n, _D)), WN = at(HN), pk
17633
17632
  return Se(ln);
17634
17633
  }
17635
17634
  return null;
17636
- }, Ne = () => {
17635
+ }, Pe = () => {
17637
17636
  b && b.removeAttribute(f), al(ce.fromDom(e.getBody()), "#" + u).each(xo), b = null;
17638
17637
  }, st = () => {
17639
17638
  l.destroy(), b = null;
@@ -18013,7 +18012,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, ho(n, _D)), WN = at(HN), pk
18013
18012
  const St = Rn.target;
18014
18013
  /^(IMG|HR)$/.test(St.nodeName) && l.isEditable(St) && (Rn.preventDefault(), e.selection.select(St), e.nodeChanged()), St.nodeName === "A" && l.hasClass(St, Yt) && St.childNodes.length === 0 && l.isEditable(St.parentNode) && (Rn.preventDefault(), u.select(St));
18015
18014
  });
18016
- }, Ne = () => {
18015
+ }, Pe = () => {
18017
18016
  const Yt = () => {
18018
18017
  const St = l.getAttribs(u.getStart().cloneNode(!1));
18019
18018
  return () => {
@@ -18142,7 +18141,7 @@ Input object: ` + CD(e.input), kD = (e, n) => ON(e, ho(n, _D)), WN = at(HN), pk
18142
18141
  fe(St) && /^<img[^>]*>$/.test(St) && e.dispatch("dragend", new window.DragEvent("dragend", Yt));
18143
18142
  });
18144
18143
  }, lo = () => {
18145
- xt(), ne(), It.windowsPhone || Gt(), k && (oe(), Ce(), Ve(), Fr(), st(), $l(), M ? (Kn(), Zn(), $s()) : q()), y && (we(), Se(), Ne(), Ft(), Ze(), ln(), hs(), st(), jn());
18144
+ xt(), ne(), It.windowsPhone || Gt(), k && (oe(), Ce(), Ve(), Fr(), st(), $l(), M ? (Kn(), Zn(), $s()) : q()), y && (we(), Se(), Pe(), Ft(), Ze(), ln(), hs(), st(), jn());
18146
18145
  };
18147
18146
  return _h(e) ? en() : lo(), {
18148
18147
  refreshContentEditable: is,
@@ -20306,7 +20305,7 @@ tinymce.IconManager.add("default", {
20306
20305
  }, te = (t) => {
20307
20306
  const s = typeof t;
20308
20307
  return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && ie(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
20309
- }, _e = (t) => (s) => te(s) === t, le = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Ae = (t, s) => Pe(t) && ie(t, s, (a, c) => O(a) === c), Q = _e("string"), Pe = _e("object"), pt = (t) => Ae(t, Object), qe = _e("array"), bn = G(null), mn = le("boolean"), No = G(void 0), us = (t) => t == null, Oo = (t) => !us(t), Rt = le("function"), pr = le("number"), dn = (t, s) => {
20308
+ }, _e = (t) => (s) => te(s) === t, le = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Ae = (t, s) => Ne(t) && ie(t, s, (a, c) => O(a) === c), Q = _e("string"), Ne = _e("object"), pt = (t) => Ae(t, Object), qe = _e("array"), bn = G(null), mn = le("boolean"), No = G(void 0), us = (t) => t == null, Oo = (t) => !us(t), Rt = le("function"), pr = le("number"), dn = (t, s) => {
20310
20309
  if (qe(t)) {
20311
20310
  for (let a = 0, c = t.length; a < c; ++a)
20312
20311
  if (!s(t[a]))
@@ -20608,7 +20607,7 @@ tinymce.IconManager.add("default", {
20608
20607
  return a;
20609
20608
  }, xm = Object.getPrototypeOf, Ad = (t) => ts("HTMLElement", t), nl = (t) => {
20610
20609
  const s = Wu("ownerDocument.defaultView", t);
20611
- return Pe(t) && (Ad(s).prototype.isPrototypeOf(t) || /^HTML\w*Element$/.test(xm(t).constructor.name));
20610
+ return Ne(t) && (Ad(s).prototype.isPrototypeOf(t) || /^HTML\w*Element$/.test(xm(t).constructor.name));
20612
20611
  }, Yi = 9, ws = 11, Es = 1, za = 3, Oa = (t) => t.dom.nodeName.toLowerCase(), xc = (t) => t.dom.nodeType, gi = (t) => (s) => xc(s) === t, Cc = (t) => Ro(t) && nl(t.dom), Ro = gi(Es), ea = gi(za), ua = gi(Yi), zc = gi(ws), da = (t) => (s) => Ro(s) && Oa(s) === t, Hs = (t, s) => {
20613
20612
  const a = t.dom;
20614
20613
  if (a.nodeType !== Es)
@@ -21291,7 +21290,7 @@ tinymce.IconManager.add("default", {
21291
21290
  const s = lr.partition(t);
21292
21291
  return s.errors.length > 0 ? Fg(s.errors) : lr.svalue(s.values);
21293
21292
  }
21294
- }, Hg = (t) => Pe(t) && vs(t).length > 100 ? " removed due to size" : JSON.stringify(t, null, 2), Dm = (t) => {
21293
+ }, Hg = (t) => Ne(t) && vs(t).length > 100 ? " removed due to size" : JSON.stringify(t, null, 2), Dm = (t) => {
21295
21294
  const s = t.length > 10 ? t.slice(0, 10).concat([{
21296
21295
  path: [],
21297
21296
  getErrorInfo: se("... (only showing first ten failures)")
@@ -33853,7 +33852,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
33853
33852
  }, kV = (t) => tt(oo(t, zN), SV), _D = (t) => tt(oo(t, SD), _V), UN = (t) => wV("h1,h2,h3,h4,h5,h6,a:not([href])", t), TV = (t) => NN(t.title).length > 0, EV = { find: (t) => {
33854
33853
  const s = UN(t);
33855
33854
  return oo(kV(s).concat(_D(s)), TV);
33856
- } }, hk = "tinymce-url-history", kD = 5, WN = (t) => Q(t) && /^https?/.test(t), pk = (t) => qe(t) && t.length <= kD && wn(t, WN), ZN = (t) => Pe(t) && Qo(t, (s) => !pk(s)).isNone(), yx = () => {
33855
+ } }, hk = "tinymce-url-history", kD = 5, WN = (t) => Q(t) && /^https?/.test(t), pk = (t) => qe(t) && t.length <= kD && wn(t, WN), ZN = (t) => Ne(t) && Qo(t, (s) => !pk(s)).isNone(), yx = () => {
33857
33856
  const t = Xp.getItem(hk);
33858
33857
  if (t === null)
33859
33858
  return {};
@@ -33889,7 +33888,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
33889
33888
  const g = (w, C) => {
33890
33889
  if (!Q(w))
33891
33890
  throw new Error("Expected value to be string");
33892
- if (C !== void 0 && !Pe(C))
33891
+ if (C !== void 0 && !Ne(C))
33893
33892
  throw new Error("Expected meta to be a object");
33894
33893
  d({
33895
33894
  value: w,
@@ -39957,7 +39956,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
39957
39956
  sa("onClose", fe),
39958
39957
  sa("onCancel", fe),
39959
39958
  sa("onTabChange", fe)
39960
- ]), Ce = (t) => Ys("dialog", Se, t), Ne = on([
39959
+ ]), Ce = (t) => Ys("dialog", Se, t), Pe = on([
39961
39960
  au("type", [
39962
39961
  "cancel",
39963
39962
  "custom"
@@ -39968,12 +39967,12 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
39968
39967
  $o("url"),
39969
39968
  Om("height"),
39970
39969
  Om("width"),
39971
- $m("buttons", Ne),
39970
+ $m("buttons", Pe),
39972
39971
  sa("onAction", fe),
39973
39972
  sa("onCancel", fe),
39974
39973
  sa("onClose", fe),
39975
39974
  sa("onMessage", fe)
39976
- ]), xt = (t) => Ys("dialog", st, t), Ft = (t) => Pe(t) ? [t].concat(ke(Gi(t), Ft)) : qe(t) ? ke(t, Ft) : [], Ze = (t) => Q(t.type) && Q(t.name), Ve = {
39975
+ ]), xt = (t) => Ys("dialog", st, t), Ft = (t) => Ne(t) ? [t].concat(ke(Gi(t), Ft)) : qe(t) ? ke(t, Ft) : [], Ze = (t) => Q(t.type) && Q(t.name), Ve = {
39977
39976
  checkbox: E8,
39978
39977
  colorinput: QZ,
39979
39978
  colorpicker: nj,
@@ -41136,7 +41135,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
41136
41135
  "close",
41137
41136
  "block",
41138
41137
  "unblock"
41139
- ], MG = (t) => Pe(t) && iq.indexOf(t.mceAction) !== -1, uq = (t) => !MG(t) && Pe(t) && ho(t, "mceAction"), dq = (t, s, a) => {
41138
+ ], MG = (t) => Ne(t) && iq.indexOf(t.mceAction) !== -1, uq = (t) => !MG(t) && Ne(t) && ho(t, "mceAction"), dq = (t, s, a) => {
41140
41139
  switch (a.mceAction) {
41141
41140
  case "insertContent":
41142
41141
  t.insertContent(a.content);
@@ -41488,7 +41487,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
41488
41487
  }, te = (i) => {
41489
41488
  const m = typeof i;
41490
41489
  return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && ie(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
41491
- }, _e = (i) => (m) => te(m) === i, le = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Ae = _e("string"), Q = _e("object"), Pe = _e("array"), pt = G(null), qe = le("boolean"), bn = G(void 0), mn = (i) => i == null, No = (i) => !mn(i), us = le("function"), Oo = le("number"), Rt = () => {
41490
+ }, _e = (i) => (m) => te(m) === i, le = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Ae = _e("string"), Q = _e("object"), Ne = _e("array"), pt = G(null), qe = le("boolean"), bn = G(void 0), mn = (i) => i == null, No = (i) => !mn(i), us = le("function"), Oo = le("number"), Rt = () => {
41492
41491
  }, pr = (i, m) => (...h) => i(m.apply(null, h)), dn = (i, m) => (h) => i(m(h)), fe = (i) => () => i, kt = (i) => i, Qr = (i, m) => i === m;
41493
41492
  function eo(i, ...m) {
41494
41493
  return (...h) => {
@@ -41639,7 +41638,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
41639
41638
  }, oo = (i) => {
41640
41639
  const m = [];
41641
41640
  for (let h = 0, v = i.length; h < v; ++h) {
41642
- if (!Pe(i[h]))
41641
+ if (!Ne(i[h]))
41643
41642
  throw new Error("Arr.flatten item " + h + " was not an array, input: " + i);
41644
41643
  Dt.apply(m, i[h]);
41645
41644
  }
@@ -43658,7 +43657,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
43658
43657
  const _ = $r(i).rows, D = rt(m, (L) => pa(_[L.row], L.column));
43659
43658
  return rh(i, D, h, v, Ff, ge.none, We);
43660
43659
  }, si = { generate: (i) => {
43661
- if (!Pe(i))
43660
+ if (!Ne(i))
43662
43661
  throw new Error("cases must be an array");
43663
43662
  if (i.length === 0)
43664
43663
  throw new Error("there must be at least one case");
@@ -43672,7 +43671,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
43672
43671
  throw new Error("duplicate key detected:" + L);
43673
43672
  if (L === "cata")
43674
43673
  throw new Error("cannot have a case named cata (sorry)");
43675
- if (!Pe(Z))
43674
+ if (!Ne(Z))
43676
43675
  throw new Error("case arguments must be an array");
43677
43676
  m.push(L), h[L] = (...ee) => {
43678
43677
  const de = ee.length;
@@ -45217,7 +45216,7 @@ Required: ` + m.join(", "));
45217
45216
  }, ai = (i) => {
45218
45217
  throw new Error("Unsupported keys for object: " + w0(i).join(", "));
45219
45218
  }, Dl = (i, m) => {
45220
- if (!Pe(m))
45219
+ if (!Ne(m))
45221
45220
  throw new Error("The " + i + " fields must be an array. Was: " + m + ".");
45222
45221
  Me(m, (h) => {
45223
45222
  if (!Ae(h))
@@ -45731,7 +45730,7 @@ Required: ` + m.join(", "));
45731
45730
  }, te = (S) => {
45732
45731
  const $ = typeof S;
45733
45732
  return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && ie(S, String, (U, ae) => ae.isPrototypeOf(U)) ? "string" : $;
45734
- }, _e = (S) => ($) => te($) === S, le = (S) => ($) => typeof $ === S, G = _e("string"), Ae = _e("object"), Q = _e("array"), Pe = le("boolean"), pt = (S) => S == null, qe = (S) => !pt(S), bn = le("function"), mn = le("number"), No = () => {
45733
+ }, _e = (S) => ($) => te($) === S, le = (S) => ($) => typeof $ === S, G = _e("string"), Ae = _e("object"), Q = _e("array"), Ne = le("boolean"), pt = (S) => S == null, qe = (S) => !pt(S), bn = le("function"), mn = le("number"), No = () => {
45735
45734
  }, us = (S, $) => (U) => S($(U)), Oo = (S) => () => S, Rt = (S, $) => S === $;
45736
45735
  function pr(S, ...$) {
45737
45736
  return (...U) => {
@@ -46016,7 +46015,7 @@ Required: ` + m.join(", "));
46016
46015
  const U = {};
46017
46016
  return Yi(S, $, nl(U), No), U;
46018
46017
  }, Es = (S, $, U) => {
46019
- if (G(U) || Pe(U) || mn(U))
46018
+ if (G(U) || Ne(U) || mn(U))
46020
46019
  S.setAttribute($, U + "");
46021
46020
  else
46022
46021
  throw console.error("Invalid call to Attribute.set. Key ", $, ":: Value ", U, ":: Element ", S), new Error("Attribute value was not simple");
@@ -46879,8 +46878,8 @@ Required: ` + m.join(", "));
46879
46878
  }, te = (j) => {
46880
46879
  const me = typeof j;
46881
46880
  return j === null ? "null" : me === "object" && Array.isArray(j) ? "array" : me === "object" && ie(j, String, (Te, Ie) => Ie.isPrototypeOf(Te)) ? "string" : me;
46882
- }, _e = (j) => (me) => te(me) === j, le = (j) => (me) => typeof me === j, G = (j) => (me) => j === me, Ae = _e("string"), Q = _e("object"), Pe = _e("array"), pt = G(null), qe = le("boolean"), bn = (j) => j == null, mn = (j) => !bn(j), No = le("function"), us = (j, me) => {
46883
- if (Pe(j)) {
46881
+ }, _e = (j) => (me) => te(me) === j, le = (j) => (me) => typeof me === j, G = (j) => (me) => j === me, Ae = _e("string"), Q = _e("object"), Ne = _e("array"), pt = G(null), qe = le("boolean"), bn = (j) => j == null, mn = (j) => !bn(j), No = le("function"), us = (j, me) => {
46882
+ if (Ne(j)) {
46884
46883
  for (let Te = 0, Ie = j.length; Te < Ie; ++Te)
46885
46884
  if (!me(j[Te]))
46886
46885
  return !1;
@@ -46977,7 +46976,7 @@ Required: ` + m.join(", "));
46977
46976
  }), Te), In = (j) => {
46978
46977
  const me = [];
46979
46978
  for (let Te = 0, Ie = j.length; Te < Ie; ++Te) {
46980
- if (!Pe(j[Te]))
46979
+ if (!Ne(j[Te]))
46981
46980
  throw new Error("Arr.flatten item " + Te + " was not an array, input: " + j);
46982
46981
  kt.apply(me, j[Te]);
46983
46982
  }
@@ -47325,7 +47324,7 @@ Required: ` + m.join(", "));
47325
47324
  }
47326
47325
  ], ws = { getTargets: (j) => {
47327
47326
  const me = zo(j);
47328
- return Pe(me) ? Ye.sanitize(me).orThunk(() => dn.some(nl)) : me === !1 ? dn.none() : dn.some(nl);
47327
+ return Ne(me) ? Ye.sanitize(me).orThunk(() => dn.some(nl)) : me === !1 ? dn.none() : dn.some(nl);
47329
47328
  } }, Es = (j, me, Te) => {
47330
47329
  const Ie = j.getAttrib(me, Te);
47331
47330
  return Ie !== null && Ie.length > 0 ? dn.some(Ie) : dn.none();
@@ -47636,7 +47635,7 @@ Required: ` + m.join(", "));
47636
47635
  }, _e = (I) => {
47637
47636
  const Y = typeof I;
47638
47637
  return I === null ? "null" : Y === "object" && Array.isArray(I) ? "array" : Y === "object" && te(I, String, (re, Fe) => Fe.isPrototypeOf(re)) ? "string" : Y;
47639
- }, le = (I) => (Y) => _e(Y) === I, G = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => pt(I) && te(I, Y, (re, Fe) => ie(re) === Fe), Pe = le("string"), pt = le("object"), qe = (I) => Q(I, Object), bn = le("array"), mn = Ae(null), No = G("boolean"), us = (I) => I == null, Oo = (I) => !us(I), Rt = G("function"), pr = G("number"), dn = (I, Y) => {
47638
+ }, le = (I) => (Y) => _e(Y) === I, G = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => pt(I) && te(I, Y, (re, Fe) => ie(re) === Fe), Ne = le("string"), pt = le("object"), qe = (I) => Q(I, Object), bn = le("array"), mn = Ae(null), No = G("boolean"), us = (I) => I == null, Oo = (I) => !us(I), Rt = G("function"), pr = G("number"), dn = (I, Y) => {
47640
47639
  if (bn(I)) {
47641
47640
  for (let re = 0, Fe = I.length; re < Fe; ++re)
47642
47641
  if (!Y(I[re]))
@@ -47750,7 +47749,7 @@ Required: ` + m.join(", "));
47750
47749
  };
47751
47750
  typeof window < "u" || Function("return this;")();
47752
47751
  const at = (I, Y, re) => {
47753
- if (Pe(re) || No(re) || pr(re))
47752
+ if (Ne(re) || No(re) || pr(re))
47754
47753
  I.setAttribute(Y, re + "");
47755
47754
  else
47756
47755
  throw console.error("Invalid call to Attribute.set. Key ", Y, ":: Value ", re, ":: Element ", I), new Error("Attribute value was not simple");
@@ -47808,7 +47807,7 @@ Required: ` + m.join(", "));
47808
47807
  default: !1
47809
47808
  }), Y("image_list", {
47810
47809
  processor: (re) => {
47811
- const Fe = re === !1 || Pe(re) || dn(re, pt) || Rt(re);
47810
+ const Fe = re === !1 || Ne(re) || dn(re, pt) || Rt(re);
47812
47811
  return Fe ? {
47813
47812
  value: re,
47814
47813
  valid: Fe
@@ -47855,7 +47854,7 @@ Required: ` + m.join(", "));
47855
47854
  return I;
47856
47855
  }, ji = (I, Y) => {
47857
47856
  const re = Vt(I);
47858
- Pe(re) ? fetch(re).then((Fe) => {
47857
+ Ne(re) ? fetch(re).then((Fe) => {
47859
47858
  Fe.ok && Fe.json().then(Y);
47860
47859
  }) : Rt(re) ? re(Y) : Y(re);
47861
47860
  }, ms = (I, Y, re) => {
@@ -48049,7 +48048,7 @@ Required: ` + m.join(", "));
48049
48048
  return re;
48050
48049
  })((I, Y) => qe(I) && qe(Y) ? nl(I, Y) : Y);
48051
48050
  var Yi = tinymce.util.Tools.resolve("tinymce.util.ImageUploader"), ws = tinymce.util.Tools.resolve("tinymce.util.Tools");
48052
- const Es = (I) => Pe(I.value) ? I.value : "", za = (I) => Pe(I.text) ? I.text : Pe(I.title) ? I.title : "", Oa = (I, Y) => {
48051
+ const Es = (I) => Ne(I.value) ? I.value : "", za = (I) => Ne(I.text) ? I.text : Ne(I.title) ? I.title : "", Oa = (I, Y) => {
48053
48052
  const re = [];
48054
48053
  return ws.each(I, (Fe) => {
48055
48054
  const $t = za(Fe);
@@ -48160,7 +48159,7 @@ Required: ` + m.join(", "));
48160
48159
  Us
48161
48160
  ])));
48162
48161
  });
48163
- }), Fe = ua.sanitize(Ye(I)), $t = Zi(I), Yn = Ke(I), qt = Va(I), Ps = bs(I), ct = fi(I), as = ke(I), Ua = wn(I), zs = Uo(I), Cr = Go(I), Uc = Tr(I), po = Fo(I), Wa = kt.some(Ot(I)).filter((Ns) => Pe(Ns) && Ns.length > 0);
48162
+ }), Fe = ua.sanitize(Ye(I)), $t = Zi(I), Yn = Ke(I), qt = Va(I), Ps = bs(I), ct = fi(I), as = ke(I), Ua = wn(I), zs = Uo(I), Cr = Go(I), Uc = Tr(I), po = Fo(I), Wa = kt.some(Ot(I)).filter((Ns) => Ne(Ns) && Ns.length > 0);
48164
48163
  return re.then((Ns) => ({
48165
48164
  image: ct,
48166
48165
  imageList: Ns,
@@ -48305,9 +48304,9 @@ Required: ` + m.join(", "));
48305
48304
  });
48306
48305
  });
48307
48306
  }, Hl = (I, Y, re) => {
48308
- I.hasDescription && Pe(re.alt) && (Y.alt = re.alt), I.hasAccessibilityOptions && (Y.isDecorative = re.isDecorative || Y.isDecorative || !1), I.hasImageTitle && Pe(re.title) && (Y.title = re.title), I.hasDimensions && (Pe(re.width) && (Y.dimensions.width = re.width), Pe(re.height) && (Y.dimensions.height = re.height)), Pe(re.class) && ua.findEntry(I.classList, re.class).each((Fe) => {
48307
+ I.hasDescription && Ne(re.alt) && (Y.alt = re.alt), I.hasAccessibilityOptions && (Y.isDecorative = re.isDecorative || Y.isDecorative || !1), I.hasImageTitle && Ne(re.title) && (Y.title = re.title), I.hasDimensions && (Ne(re.width) && (Y.dimensions.width = re.width), Ne(re.height) && (Y.dimensions.height = re.height)), Ne(re.class) && ua.findEntry(I.classList, re.class).each((Fe) => {
48309
48308
  Y.classes = Fe.value;
48310
- }), I.hasImageCaption && No(re.caption) && (Y.caption = re.caption), I.hasAdvTab && (Pe(re.style) && (Y.style = re.style), Pe(re.vspace) && (Y.vspace = re.vspace), Pe(re.border) && (Y.border = re.border), Pe(re.hspace) && (Y.hspace = re.hspace), Pe(re.borderstyle) && (Y.borderstyle = re.borderstyle));
48309
+ }), I.hasImageCaption && No(re.caption) && (Y.caption = re.caption), I.hasAdvTab && (Ne(re.style) && (Y.style = re.style), Ne(re.vspace) && (Y.vspace = re.vspace), Ne(re.border) && (Y.border = re.border), Ne(re.hspace) && (Y.hspace = re.hspace), Ne(re.borderstyle) && (Y.borderstyle = re.borderstyle));
48311
48310
  }, Vl = (I, Y) => {
48312
48311
  const re = Y.getData(), Fe = re.src.meta;
48313
48312
  if (Fe !== void 0) {
@@ -48505,7 +48504,7 @@ Required: ` + m.join(", "));
48505
48504
  }, te = (x) => {
48506
48505
  const T = typeof x;
48507
48506
  return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && ie(x, String, (V, K) => K.isPrototypeOf(V)) ? "string" : T;
48508
- }, _e = (x) => (T) => te(T) === x, le = (x) => (T) => typeof T === x, G = (x) => (T) => x === T, Ae = _e("string"), Q = _e("array"), Pe = le("boolean"), pt = G(void 0), qe = (x) => x == null, bn = (x) => !qe(x), mn = le("function"), No = le("number"), us = () => {
48507
+ }, _e = (x) => (T) => te(T) === x, le = (x) => (T) => typeof T === x, G = (x) => (T) => x === T, Ae = _e("string"), Q = _e("array"), Ne = le("boolean"), pt = G(void 0), qe = (x) => x == null, bn = (x) => !qe(x), mn = le("function"), No = le("number"), us = () => {
48509
48508
  }, Oo = (x, T) => (V) => x(T(V)), Rt = (x) => () => x, pr = (x) => x, dn = (x, T) => x === T;
48510
48509
  function fe(x, ...T) {
48511
48510
  return (...V) => {
@@ -48793,7 +48792,7 @@ Required: ` + m.join(", "));
48793
48792
  T(K) && (V = V.concat([K])), V = V.concat(gi(K, T));
48794
48793
  }), V;
48795
48794
  }, Cc = (x, T) => xc(x, (V) => ys(V, T)), Ro = (x, T) => Pl(T, x), ea = (x, T, V) => {
48796
- if (Ae(V) || Pe(V) || No(V))
48795
+ if (Ae(V) || Ne(V) || No(V))
48797
48796
  x.setAttribute(T, V + "");
48798
48797
  else
48799
48798
  throw console.error("Invalid call to Attribute.set. Key ", T, ":: Value ", V, ":: Element ", x), new Error("Attribute value was not simple");
@@ -50664,12 +50663,12 @@ Required: ` + T.join(", "));
50664
50663
  })();
50665
50664
  (function() {
50666
50665
  var O = tinymce.util.Tools.resolve("tinymce.PluginManager");
50667
- const ie = (Q, Pe) => {
50666
+ const ie = (Q, Ne) => {
50668
50667
  Q.focus(), Q.undoManager.transact(() => {
50669
- Q.setContent(Pe);
50668
+ Q.setContent(Ne);
50670
50669
  }), Q.selection.setCursorLocation(), Q.nodeChanged();
50671
50670
  }, te = (Q) => Q.getContent({ source_view: !0 }), _e = (Q) => {
50672
- const Pe = te(Q);
50671
+ const Ne = te(Q);
50673
50672
  Q.windowManager.open({
50674
50673
  title: "Source Code",
50675
50674
  size: "large",
@@ -50693,7 +50692,7 @@ Required: ` + T.join(", "));
50693
50692
  primary: !0
50694
50693
  }
50695
50694
  ],
50696
- initialData: { code: Pe },
50695
+ initialData: { code: Ne },
50697
50696
  onSubmit: (pt) => {
50698
50697
  ie(Q, pt.getData().code), pt.close();
50699
50698
  }
@@ -50703,15 +50702,15 @@ Required: ` + T.join(", "));
50703
50702
  _e(Q);
50704
50703
  });
50705
50704
  }, G = (Q) => {
50706
- const Pe = () => Q.execCommand("mceCodeEditor");
50705
+ const Ne = () => Q.execCommand("mceCodeEditor");
50707
50706
  Q.ui.registry.addButton("code", {
50708
50707
  icon: "sourcecode",
50709
50708
  tooltip: "Source code",
50710
- onAction: Pe
50709
+ onAction: Ne
50711
50710
  }), Q.ui.registry.addMenuItem("code", {
50712
50711
  icon: "sourcecode",
50713
50712
  text: "Source code",
50714
- onAction: Pe
50713
+ onAction: Ne
50715
50714
  });
50716
50715
  };
50717
50716
  var Ae = () => {
@@ -50757,7 +50756,7 @@ Required: ` + T.join(", "));
50757
50756
  EXTENDNUMLET: 11,
50758
50757
  AT: 12,
50759
50758
  OTHER: 13
50760
- }, Pe = [
50759
+ }, Ne = [
50761
50760
  new RegExp(Ae.aletter),
50762
50761
  new RegExp(Ae.midnumlet),
50763
50762
  new RegExp(Ae.midletter),
@@ -50771,7 +50770,7 @@ Required: ` + T.join(", "));
50771
50770
  new RegExp(Ae.katakana),
50772
50771
  new RegExp(Ae.extendnumlet),
50773
50772
  new RegExp("@")
50774
- ], pt = "", qe = new RegExp("^" + Ae.punctuation + "$"), bn = /^\s+$/, mn = Pe, No = Q.OTHER, us = (Ke) => {
50773
+ ], pt = "", qe = new RegExp("^" + Ae.punctuation + "$"), bn = /^\s+$/, mn = Ne, No = Q.OTHER, us = (Ke) => {
50775
50774
  let Ot = No;
50776
50775
  const Ye = mn.length;
50777
50776
  for (let ke = 0; ke < Ye; ++ke) {
@@ -51013,7 +51012,7 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
51013
51012
  }), Gx(() => _e.modelValue, (pt) => {
51014
51013
  Ae && Ae.getContent() !== pt && Ae.setContent(pt);
51015
51014
  });
51016
- const Pe = vc({
51015
+ const Ne = vc({
51017
51016
  get() {
51018
51017
  return _e.modelValue;
51019
51018
  },
@@ -51053,13 +51052,13 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
51053
51052
  "gl-textarea-form-invalid mt-4": O.error_message !== ""
51054
51053
  }]),
51055
51054
  type: O.type,
51056
- "onUpdate:modelValue": qe[0] || (qe[0] = (bn) => Pe.value = bn),
51055
+ "onUpdate:modelValue": qe[0] || (qe[0] = (bn) => Ne.value = bn),
51057
51056
  onKeydown: qe[1] || (qe[1] = (bn) => pt.$emit("keydown", bn)),
51058
51057
  ref_key: "input",
51059
51058
  ref: G,
51060
51059
  rows: "4"
51061
51060
  }, null, 42, FQ), [
51062
- [ym, Pe.value]
51061
+ [ym, Ne.value]
51063
51062
  ]),
51064
51063
  P("span", HQ, gt(O.error_message), 1),
51065
51064
  P("small", VQ, gt(O.description), 1)
@@ -51118,8 +51117,8 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
51118
51117
  return 0;
51119
51118
  if (this.limit === 0)
51120
51119
  return this.lastPage;
51121
- for (var O = this.currentPage, ie = this.lastPage, te = this.limit, _e = O - te, le = O + te + 1, G = [], Ae = [], Q, Pe = 1; Pe <= ie; Pe++)
51122
- (Pe === 1 || Pe === ie || Pe >= _e && Pe < le) && G.push(Pe);
51120
+ for (var O = this.currentPage, ie = this.lastPage, te = this.limit, _e = O - te, le = O + te + 1, G = [], Ae = [], Q, Ne = 1; Ne <= ie; Ne++)
51121
+ (Ne === 1 || Ne === ie || Ne >= _e && Ne < le) && G.push(Ne);
51123
51122
  return G.forEach(function(pt) {
51124
51123
  Q && (pt - Q === 2 ? Ae.push(Q + 1) : pt - Q !== 1 && Ae.push("...")), Ae.push(pt), Q = pt;
51125
51124
  }), Ae;
@@ -51286,17 +51285,17 @@ function nee(O, ie, te, _e, le, G) {
51286
51285
  ])
51287
51286
  ], 16, KQ)
51288
51287
  ], 2)) : ut("", !0),
51289
- (pe(!0), ye(Qn, null, sr(Q.computed.pageRange, (Pe, pt) => (pe(), ye("li", {
51290
- class: an(["", { active: Pe == Q.computed.currentPage }]),
51288
+ (pe(!0), ye(Qn, null, sr(Q.computed.pageRange, (Ne, pt) => (pe(), ye("li", {
51289
+ class: an(["", { active: Ne == Q.computed.currentPage }]),
51291
51290
  key: pt
51292
51291
  }, [
51293
51292
  P("a", t5({
51294
51293
  class: "",
51295
51294
  href: "#"
51296
- }, Aj(Q.pageButtonEvents(Pe), !0), {
51297
- "aria-current": Pe == Q.computed.currentPage ? "page" : null,
51298
- class: Pe == Q.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
51299
- }), gt(Pe), 17, JQ)
51295
+ }, Aj(Q.pageButtonEvents(Ne), !0), {
51296
+ "aria-current": Ne == Q.computed.currentPage ? "page" : null,
51297
+ class: Ne == Q.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
51298
+ }), gt(Ne), 17, JQ)
51300
51299
  ], 2))), 128)),
51301
51300
  Q.computed.nextPageUrl || te.showDisabled ? (pe(), ye("li", {
51302
51301
  key: 1,
@@ -51484,7 +51483,7 @@ const sq = /* @__PURE__ */ qr(UQ, [["render", nee]]), oee = {
51484
51483
  See
51485
51484
  ], kee = ["data-label"], Tee = { class: "overflow-auto max-h-40" }, Eee = { 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" };
51486
51485
  function Aee(O, ie, te, _e, le, G) {
51487
- const Ae = y1("dropdown"), Q = y1("GlDropdown"), Pe = y1("GlTextInput"), pt = y1("TailwindPagination");
51486
+ const Ae = y1("dropdown"), Q = y1("GlDropdown"), Ne = y1("GlTextInput"), pt = y1("TailwindPagination");
51488
51487
  return pe(), ye("div", see, [
51489
51488
  P("div", ree, [
51490
51489
  P("div", aee, [
@@ -51533,7 +51532,7 @@ function Aee(O, ie, te, _e, le, G) {
51533
51532
  show: !1,
51534
51533
  placeholder: "Please select an option"
51535
51534
  }, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0),
51536
- qe.type == "text" ? (pe(), vm(Pe, {
51535
+ qe.type == "text" ? (pe(), vm(Ne, {
51537
51536
  key: 1,
51538
51537
  type: "text",
51539
51538
  is_required: !1,
@@ -51543,7 +51542,7 @@ function Aee(O, ie, te, _e, le, G) {
51543
51542
  field_name: qe.field_name,
51544
51543
  label_name: qe.field_label
51545
51544
  }, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0),
51546
- qe.type == "date" ? (pe(), vm(Pe, {
51545
+ qe.type == "date" ? (pe(), vm(Ne, {
51547
51546
  key: 2,
51548
51547
  type: "date",
51549
51548
  is_required: !1,
@@ -51568,7 +51567,7 @@ function Aee(O, ie, te, _e, le, G) {
51568
51567
  show: !1,
51569
51568
  placeholder: "Please select an option"
51570
51569
  }, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0),
51571
- qe.hasOwnFilter.type == "text" ? (pe(), vm(Pe, {
51570
+ qe.hasOwnFilter.type == "text" ? (pe(), vm(Ne, {
51572
51571
  key: 1,
51573
51572
  type: "text",
51574
51573
  is_required: !1,
@@ -51578,7 +51577,7 @@ function Aee(O, ie, te, _e, le, G) {
51578
51577
  field_name: qe.field_name,
51579
51578
  label_name: qe.field_label
51580
51579
  }, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0),
51581
- qe.hasOwnFilter.type == "date" ? (pe(), vm(Pe, {
51580
+ qe.hasOwnFilter.type == "date" ? (pe(), vm(Ne, {
51582
51581
  key: 2,
51583
51582
  type: "date",
51584
51583
  is_required: !1,
@@ -51909,8 +51908,8 @@ function yte(O, ie, te, _e, le, G) {
51909
51908
  P("table", Hee, [
51910
51909
  P("thead", Vee, [
51911
51910
  P("tr", null, [
51912
- (pe(!0), ye(Qn, null, sr(te.columns, (Q, Pe) => (pe(), ye("th", {
51913
- key: Pe,
51911
+ (pe(!0), ye(Qn, null, sr(te.columns, (Q, Ne) => (pe(), ye("th", {
51912
+ key: Ne,
51914
51913
  onClick: (pt) => G.sort(Q.field_name, Q.sortable),
51915
51914
  class: "w-full px-4 py-2 lg:w-2/12"
51916
51915
  }, [
@@ -51927,8 +51926,8 @@ function yte(O, ie, te, _e, le, G) {
51927
51926
  colspan: te.columns.length
51928
51927
  }, Kee, 8, Gee)
51929
51928
  ])) : ut("", !0),
51930
- le.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(G.paginatedData, (Q, Pe) => (pe(), ye("tr", {
51931
- key: Pe,
51929
+ le.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(G.paginatedData, (Q, Ne) => (pe(), ye("tr", {
51930
+ key: Ne,
51932
51931
  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"
51933
51932
  }, [
51934
51933
  (pe(!0), ye(Qn, null, sr(te.columns, (pt, qe) => (pe(), ye("td", {
@@ -52001,7 +52000,7 @@ function yte(O, ie, te, _e, le, G) {
52001
52000
  le.currentPage !== Q ? (pe(), ye("a", {
52002
52001
  key: 0,
52003
52002
  href: "#",
52004
- onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
52003
+ onClick: oc((Ne) => G.goToPage(Q), ["prevent"]),
52005
52004
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
52006
52005
  }, gt(Q), 9, fte)) : ut("", !0)
52007
52006
  ]),
@@ -52009,7 +52008,7 @@ function yte(O, ie, te, _e, le, G) {
52009
52008
  le.currentPage === Q ? (pe(), ye("a", {
52010
52009
  key: 0,
52011
52010
  href: "#",
52012
- onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
52011
+ onClick: oc((Ne) => G.goToPage(Q), ["prevent"]),
52013
52012
  "aria-current": "page",
52014
52013
  class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
52015
52014
  }, gt(Q), 9, gte)) : ut("", !0)
@@ -52202,7 +52201,7 @@ function jte(O, ie, te, _e, le, G) {
52202
52201
  has_cancel: !1,
52203
52202
  options: le.pageOptions,
52204
52203
  modelValue: le.perPage,
52205
- "onUpdate:modelValue": ie[0] || (ie[0] = (Pe) => le.perPage = Pe),
52204
+ "onUpdate:modelValue": ie[0] || (ie[0] = (Ne) => le.perPage = Ne),
52206
52205
  is_required: !1,
52207
52206
  field_name: "perPage",
52208
52207
  label_name: "",
@@ -52218,8 +52217,8 @@ function jte(O, ie, te, _e, le, G) {
52218
52217
  Dte,
52219
52218
  Qa(P("input", {
52220
52219
  type: "text",
52221
- "onUpdate:modelValue": ie[1] || (ie[1] = (Pe) => le.search = Pe),
52222
- onInput: ie[2] || (ie[2] = (Pe) => G.handleSearch()),
52220
+ "onUpdate:modelValue": ie[1] || (ie[1] = (Ne) => le.search = Ne),
52221
+ onInput: ie[2] || (ie[2] = (Ne) => G.handleSearch()),
52223
52222
  class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
52224
52223
  placeholder: "Search ..."
52225
52224
  }, null, 544), [
@@ -52231,13 +52230,13 @@ function jte(O, ie, te, _e, le, G) {
52231
52230
  P("table", Rte, [
52232
52231
  P("thead", $te, [
52233
52232
  P("tr", null, [
52234
- (pe(!0), ye(Qn, null, sr(te.columns, (Pe, pt) => (pe(), ye("th", {
52233
+ (pe(!0), ye(Qn, null, sr(te.columns, (Ne, pt) => (pe(), ye("th", {
52235
52234
  key: pt,
52236
- onClick: (qe) => G.updateSortColumn(Pe.field_name, Pe.sortable),
52235
+ onClick: (qe) => G.updateSortColumn(Ne.field_name, Ne.sortable),
52237
52236
  class: "w-full px-4 py-2 lg:w-2/12"
52238
52237
  }, [
52239
- ko(gt(Pe.field_label) + " ", 1),
52240
- le.sortField === Pe.field_name ? (pe(), ye("span", Pte, [
52238
+ ko(gt(Ne.field_label) + " ", 1),
52239
+ le.sortField === Ne.field_name ? (pe(), ye("span", Pte, [
52241
52240
  le.sortOrder === "asc" ? (pe(), ye("i", Nte)) : (pe(), ye("i", Bte))
52242
52241
  ])) : ut("", !0)
52243
52242
  ], 8, Mte))), 128))
@@ -52249,14 +52248,14 @@ function jte(O, ie, te, _e, le, G) {
52249
52248
  colspan: te.columns.length
52250
52249
  }, Hte, 8, Lte)
52251
52250
  ])) : ut("", !0),
52252
- le.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(G.groupedItems, (Pe, pt) => (pe(), ye(Qn, null, [
52251
+ le.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(G.groupedItems, (Ne, pt) => (pe(), ye(Qn, null, [
52253
52252
  P("tr", Vte, [
52254
52253
  P("td", {
52255
52254
  colspan: te.columns.length,
52256
52255
  class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
52257
52256
  }, gt(pt), 9, zte)
52258
52257
  ]),
52259
- (pe(!0), ye(Qn, null, sr(Pe, (qe, bn) => (pe(), ye("tr", {
52258
+ (pe(!0), ye(Qn, null, sr(Ne, (qe, bn) => (pe(), ye("tr", {
52260
52259
  key: bn,
52261
52260
  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"
52262
52261
  }, [
@@ -52479,8 +52478,8 @@ function Mne(O, ie, te, _e, le, G) {
52479
52478
  P("table", sne, [
52480
52479
  P("thead", rne, [
52481
52480
  P("tr", null, [
52482
- (pe(!0), ye(Qn, null, sr(te.columns, (Q, Pe) => (pe(), ye("th", {
52483
- key: Pe,
52481
+ (pe(!0), ye(Qn, null, sr(te.columns, (Q, Ne) => (pe(), ye("th", {
52482
+ key: Ne,
52484
52483
  onClick: oc((pt) => G.sort(Q), ["prevent"]),
52485
52484
  class: "w-full px-4 py-2 lg:w-2/12 capitalize"
52486
52485
  }, [
@@ -52492,8 +52491,8 @@ function Mne(O, ie, te, _e, le, G) {
52492
52491
  ])
52493
52492
  ]),
52494
52493
  P("tbody", null, [
52495
- (pe(!0), ye(Qn, null, sr(G.paginatedData, (Q, Pe) => (pe(), ye("tr", {
52496
- key: Pe,
52494
+ (pe(!0), ye(Qn, null, sr(G.paginatedData, (Q, Ne) => (pe(), ye("tr", {
52495
+ key: Ne,
52497
52496
  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"
52498
52497
  }, [
52499
52498
  (pe(!0), ye(Qn, null, sr(te.columns, (pt, qe) => (pe(), ye("td", {
@@ -52553,7 +52552,7 @@ function Mne(O, ie, te, _e, le, G) {
52553
52552
  le.currentPage !== Q ? (pe(), ye("a", {
52554
52553
  key: 0,
52555
52554
  href: "#",
52556
- onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
52555
+ onClick: oc((Ne) => G.goToPage(Q), ["prevent"]),
52557
52556
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
52558
52557
  }, gt(Q), 9, Ene)) : ut("", !0)
52559
52558
  ]),
@@ -52561,7 +52560,7 @@ function Mne(O, ie, te, _e, le, G) {
52561
52560
  le.currentPage === Q ? (pe(), ye("a", {
52562
52561
  key: 0,
52563
52562
  href: "#",
52564
- onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
52563
+ onClick: oc((Ne) => G.goToPage(Q), ["prevent"]),
52565
52564
  "aria-current": "page",
52566
52565
  class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
52567
52566
  }, gt(Q), 9, Ane)) : ut("", !0)
@@ -52614,8 +52613,8 @@ const ole = /* @__PURE__ */ qr(Gte, [["render", Mne]]), Pne = {
52614
52613
  11: "November",
52615
52614
  12: "December",
52616
52615
  "*": "every month"
52617
- }, Pe = this.convertField(ie, "minute", 59), pt = this.convertField(te, "hour", 23), qe = this.convertField(_e, "day of the month", 31), bn = this.convertField(le, "month", 12, Q), mn = this.convertField(G, "day", 6, Ae);
52618
- return `Runs ${Pe} ${pt} ${qe} ${bn} on ${mn}.`;
52616
+ }, Ne = this.convertField(ie, "minute", 59), pt = this.convertField(te, "hour", 23), qe = this.convertField(_e, "day of the month", 31), bn = this.convertField(le, "month", 12, Q), mn = this.convertField(G, "day", 6, Ae);
52617
+ return `Runs ${Ne} ${pt} ${qe} ${bn} on ${mn}.`;
52619
52618
  },
52620
52619
  convertField(O, ie, te, _e = {}) {
52621
52620
  if (O === "*") return `every ${ie}`;
@@ -52936,7 +52935,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
52936
52935
  _e.value = !0;
52937
52936
  }, Q = () => {
52938
52937
  le.value = !1;
52939
- }, Pe = () => {
52938
+ }, Ne = () => {
52940
52939
  le.value = !0;
52941
52940
  }, pt = ie, qe = () => {
52942
52941
  axios.delete(`${te.xprops.route}/${te.row.id}`).then(() => {
@@ -52977,7 +52976,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
52977
52976
  bn.can(`delete_${O.xprops.permission}`) ? (pe(), ye("li", xoe, [
52978
52977
  P("a", {
52979
52978
  href: "#",
52980
- onClick: oc(Pe, ["prevent"]),
52979
+ onClick: oc(Ne, ["prevent"]),
52981
52980
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
52982
52981
  }, [
52983
52982
  Coe,
@@ -53042,7 +53041,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
53042
53041
  _e.value = !0;
53043
53042
  }, Q = () => {
53044
53043
  le.value = !1;
53045
- }, Pe = () => {
53044
+ }, Ne = () => {
53046
53045
  le.value = !0;
53047
53046
  }, pt = ie, qe = () => {
53048
53047
  axios.delete(`${te.xprops.route}/${te.row.id}`).then(() => {
@@ -53074,7 +53073,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
53074
53073
  bn.can(`delete_${O.xprops.permission}`) ? (pe(), ye("li", Aoe, [
53075
53074
  P("a", {
53076
53075
  href: "#",
53077
- onClick: oc(Pe, ["prevent"]),
53076
+ onClick: oc(Ne, ["prevent"]),
53078
53077
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
53079
53078
  }, [
53080
53079
  Doe,
@@ -53730,8 +53729,8 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
53730
53729
  }
53731
53730
  },
53732
53731
  setup(O, { expose: ie }) {
53733
- const te = Eo(""), _e = Eo(""), le = Eo(""), G = Eo("Cancel"), Ae = Eo(!1), Q = Eo(void 0), Pe = Eo(void 0), pt = (mn = {}) => (te.value = mn.title, _e.value = mn.message, le.value = mn.okButton, mn.cancelButton && (G.value = mn.cancelButton), Ae.value = !0, new Promise((No, us) => {
53734
- Q.value = No, Pe.value = us;
53732
+ const te = Eo(""), _e = Eo(""), le = Eo(""), G = Eo("Cancel"), Ae = Eo(!1), Q = Eo(void 0), Ne = Eo(void 0), pt = (mn = {}) => (te.value = mn.title, _e.value = mn.message, le.value = mn.okButton, mn.cancelButton && (G.value = mn.cancelButton), Ae.value = !0, new Promise((No, us) => {
53733
+ Q.value = No, Ne.value = us;
53735
53734
  })), qe = () => {
53736
53735
  Ae.value = !1, Q.value(!0);
53737
53736
  }, bn = () => {