golden-logic-ui 1.0.516 → 1.0.518

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.
@@ -1,7 +1,7 @@
1
1
  import { openBlock as ue, createBlock as ju, resolveDynamicComponent as A4, mergeProps as aO, withCtx as Cm, createElementBlock as de, normalizeClass as zt, createCommentVNode as qe, renderSlot as Zi, createTextVNode as Zn, createElementVNode as R, resolveComponent as Rd, createVNode as ui, createStaticVNode as jP, reactive as Bq, Fragment as jn, toDisplayString as dt, withModifiers as za, withDirectives as fr, vModelText as _m, renderList as Ks, normalizeStyle as Mj, computed as bu, ref as co, onMounted as Og, onBeforeUnmount as lO, watch as Sf, vShow as kf, nextTick as Bj, vModelDynamic as nq, useSlots as Pq, provide as oq, inject as sq, pushScopeId as rq, popScopeId as aq, vModelCheckbox as lq, toHandlers as Rj, onUnmounted as Nq, TransitionGroup as Iq, unref as Lq, resolveDirective as Pj, markRaw as Fq } from "vue";
2
- const zr = (A, te) => {
2
+ const zr = (A, ee) => {
3
3
  const G = A.__vccOpts || A;
4
- for (const [Ce, oe] of te)
4
+ for (const [Ce, oe] of ee)
5
5
  G[Ce] = oe;
6
6
  return G;
7
7
  }, Hq = {
@@ -87,7 +87,7 @@ const zr = (A, te) => {
87
87
  fill: "#1C64F2"
88
88
  })
89
89
  ], -1);
90
- function zq(A, te, G, Ce, oe, U) {
90
+ function zq(A, ee, G, Ce, oe, U) {
91
91
  return G.is_loading ? (ue(), ju(A4("button"), {
92
92
  key: 1,
93
93
  disabled: "",
@@ -142,7 +142,7 @@ const Nj = /* @__PURE__ */ zr(Hq, [["render", zq]]), Uq = {
142
142
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
143
143
  "aria-hidden": "true"
144
144
  }, "​", -1), qq = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Kq = /* @__PURE__ */ jP('<div class="px-4 pt-5 pb-4 sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), Yq = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
145
- function Xq(A, te, G, Ce, oe, U) {
145
+ function Xq(A, ee, G, Ce, oe, U) {
146
146
  const be = Rd("gl-button");
147
147
  return G.isOpen ? (ue(), de("div", Wq, [
148
148
  R("div", Zq, [
@@ -268,10 +268,10 @@ const GP = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Bq({
268
268
  },
269
269
  deleteAction() {
270
270
  axios.delete(this.route_url + "/destroyMedia/" + this.media_id).then((A) => {
271
- let te = this.uploadFileList.findIndex(
271
+ let ee = this.uploadFileList.findIndex(
272
272
  (G) => G.id === this.media_id
273
273
  );
274
- te !== -1 && this.uploadFileList.splice(te, 1), this.closeDeleteModal(), Ry.methods.add({
274
+ ee !== -1 && this.uploadFileList.splice(ee, 1), this.closeDeleteModal(), Ry.methods.add({
275
275
  message: "Item deleted successfully.",
276
276
  type: "success",
277
277
  duration: 5e3
@@ -285,8 +285,8 @@ const GP = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Bq({
285
285
  },
286
286
  formatFileSize(A) {
287
287
  if (A === 0) return "0 Bytes";
288
- const te = 1024, G = ["Bytes", "KB", "MB", "GB", "TB"], Ce = Math.floor(Math.log(A) / Math.log(te));
289
- return parseFloat((A / Math.pow(te, Ce)).toFixed(2)) + " " + G[Ce];
288
+ const ee = 1024, G = ["Bytes", "KB", "MB", "GB", "TB"], Ce = Math.floor(Math.log(A) / Math.log(ee));
289
+ return parseFloat((A / Math.pow(ee, Ce)).toFixed(2)) + " " + G[Ce];
290
290
  },
291
291
  onDragOver(A) {
292
292
  A.preventDefault(), this.isDragging = !0, A.dataTransfer.dropEffect = "copy";
@@ -296,23 +296,23 @@ const GP = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Bq({
296
296
  },
297
297
  onDrop(A) {
298
298
  A.preventDefault(), this.isDragging = !1;
299
- const te = A.dataTransfer.files;
300
- Array.from(te).forEach((G) => {
299
+ const ee = A.dataTransfer.files;
300
+ Array.from(ee).forEach((G) => {
301
301
  this.uploadFile(G);
302
302
  });
303
303
  },
304
304
  async uploadFiles(A) {
305
- const te = A.target.files, G = Array.from(te).map(
305
+ const ee = A.target.files, G = Array.from(ee).map(
306
306
  (Ce) => this.uploadFile(Ce)
307
307
  );
308
308
  await Promise.all(G), this.$emit("uploaded"), this.$emit("update:modelValue", this.uploadFileList), console.log("uploadFileList", this.uploadFileList);
309
309
  },
310
- getFirstError(A, te) {
311
- return A.hasOwnProperty(te) ? A[te][0] : "";
310
+ getFirstError(A, ee) {
311
+ return A.hasOwnProperty(ee) ? A[ee][0] : "";
312
312
  },
313
313
  async uploadFile(A) {
314
- return new Promise((te, G) => {
315
- A || te();
314
+ return new Promise((ee, G) => {
315
+ A || ee();
316
316
  const Ce = new FormData();
317
317
  Ce.append(this.field_name, A), Ce.append("accepts_file_types", this.accepts_file_types), Ce.append("max_file_size", this.max_file_size), Ce.append("field_name", this.field_name), Object.entries(this.file_config).forEach(([oe, U]) => {
318
318
  Ce.append(oe, U);
@@ -331,7 +331,7 @@ const GP = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Bq({
331
331
  size: oe.data.size,
332
332
  id: oe.data.id,
333
333
  url: oe.data.url
334
- }), this.error_message_data = "", te();
334
+ }), this.error_message_data = "", ee();
335
335
  }).catch((oe) => {
336
336
  oe.response.status === 422 ? this.error_message_data = this.getFirstError(
337
337
  oe.response.data.errors,
@@ -340,7 +340,7 @@ const GP = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Bq({
340
340
  let U = this.files.findIndex(
341
341
  (be) => be.file_name === A.name
342
342
  );
343
- U !== -1 && this.files.splice(U, 1), console.log(oe), te();
343
+ U !== -1 && this.files.splice(U, 1), console.log(oe), ee();
344
344
  });
345
345
  });
346
346
  }
@@ -379,7 +379,7 @@ const GP = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Bq({
379
379
  class: "text-3xl fas fa-file-alt",
380
380
  "aria-hidden": "true"
381
381
  }, null, -1), _K = { class: "flex flex-col ml-3" }, SK = { class: "text-xs" }, kK = { class: "text-xs" }, TK = { class: "flex gap-2" }, EK = ["href"], AK = ["onClick"];
382
- function DK(A, te, G, Ce, oe, U) {
382
+ function DK(A, ee, G, Ce, oe, U) {
383
383
  const be = Rd("DeleteConfirmationModal");
384
384
  return ue(), de(jn, null, [
385
385
  ui(be, {
@@ -401,9 +401,9 @@ function DK(A, te, G, Ce, oe, U) {
401
401
  })
402
402
  }, dt(G.label_name), 3),
403
403
  R("div", {
404
- onDragover: te[3] || (te[3] = za((...q) => U.onDragOver && U.onDragOver(...q), ["prevent"])),
405
- onDragleave: te[4] || (te[4] = za((...q) => U.onDragLeave && U.onDragLeave(...q), ["prevent"])),
406
- onDrop: te[5] || (te[5] = za((...q) => U.onDrop && U.onDrop(...q), ["prevent"])),
404
+ onDragover: ee[3] || (ee[3] = za((...q) => U.onDragOver && U.onDragOver(...q), ["prevent"])),
405
+ onDragleave: ee[4] || (ee[4] = za((...q) => U.onDragLeave && U.onDragLeave(...q), ["prevent"])),
406
+ onDrop: ee[5] || (ee[5] = za((...q) => U.onDrop && U.onDrop(...q), ["prevent"])),
407
407
  class: "flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
408
408
  }, [
409
409
  R("div", eK, [
@@ -412,19 +412,19 @@ function DK(A, te, G, Ce, oe, U) {
412
412
  ref: "file_input" + G.field_name,
413
413
  hidden: "",
414
414
  multiple: G.has_multiple_file,
415
- onChange: te[0] || (te[0] = (...q) => U.uploadFiles && U.uploadFiles(...q))
415
+ onChange: ee[0] || (ee[0] = (...q) => U.uploadFiles && U.uploadFiles(...q))
416
416
  }, null, 40, tK),
417
417
  fr(R("input", {
418
418
  type: "hidden",
419
419
  name: G.field_name,
420
- "onUpdate:modelValue": te[1] || (te[1] = (q) => U.uploadFileListFinal = q)
420
+ "onUpdate:modelValue": ee[1] || (ee[1] = (q) => U.uploadFileListFinal = q)
421
421
  }, null, 8, nK), [
422
422
  [_m, U.uploadFileListFinal]
423
423
  ]),
424
424
  oe.isDragging ? (ue(), de("div", aK, cK)) : (ue(), de("div", {
425
425
  key: 0,
426
426
  class: "flex flex-col items-center justify-center",
427
- onClick: te[2] || (te[2] = (q) => A.$refs["file_input" + this.field_name].click())
427
+ onClick: ee[2] || (ee[2] = (q) => A.$refs["file_input" + this.field_name].click())
428
428
  }, rK))
429
429
  ])
430
430
  ], 32),
@@ -498,10 +498,10 @@ const Dce = /* @__PURE__ */ zr(Qq, [["render", DK]]), OK = {
498
498
  const A = {
499
499
  id: this.menu_id
500
500
  };
501
- axios.get("/admin/get_locals", { params: A }).then((te) => {
502
- this.locals = te.data.locals, this.default_language = te.data.default_language;
503
- }).catch((te) => {
504
- console.error(te);
501
+ axios.get("/admin/get_locals", { params: A }).then((ee) => {
502
+ this.locals = ee.data.locals, this.default_language = ee.data.default_language;
503
+ }).catch((ee) => {
504
+ console.error(ee);
505
505
  });
506
506
  }
507
507
  },
@@ -511,7 +511,7 @@ const Dce = /* @__PURE__ */ zr(Qq, [["render", DK]]), OK = {
511
511
  mounted() {
512
512
  }
513
513
  }, RK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, $K = ["name", "value", "id", "checked"], MK = ["for"];
514
- function BK(A, te, G, Ce, oe, U) {
514
+ function BK(A, ee, G, Ce, oe, U) {
515
515
  return ue(), de("ul", RK, [
516
516
  (ue(!0), de(jn, null, Ks(oe.locals, (be, q) => (ue(), de("li", null, [
517
517
  R("input", {
@@ -547,7 +547,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
547
547
  }
548
548
  },
549
549
  setup(A) {
550
- const te = A, G = bu(() => te.class), Ce = bu(() => te.body_class);
550
+ const ee = A, G = bu(() => ee.class), Ce = bu(() => ee.body_class);
551
551
  return (oe, U) => (ue(), de("div", {
552
552
  class: zt(["flex flex-col gap-9", G.value])
553
553
  }, [
@@ -663,8 +663,8 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
663
663
  }
664
664
  },
665
665
  emits: ["update:modelValue", "selected", "selectionChanged"],
666
- setup(A, { emit: te }) {
667
- const G = A, Ce = te, oe = co(null), U = co([]), be = co([]), q = co([]), De = co(0), tt = co(!1), pt = co(""), cn = co(""), kt = co(null), io = co(0), lo = co(0), eo = () => {
666
+ setup(A, { emit: ee }) {
667
+ const G = A, Ce = ee, oe = co(null), U = co([]), be = co([]), q = co([]), De = co(0), tt = co(!1), pt = co(""), cn = co(""), kt = co(null), io = co(0), lo = co(0), eo = () => {
668
668
  if (kt.value) {
669
669
  io.value = kt.value.offsetWidth;
670
670
  var Ht = kt.value.getBoundingClientRect();
@@ -971,13 +971,13 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
971
971
  }
972
972
  },
973
973
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
974
- setup(A, { expose: te, emit: G }) {
974
+ setup(A, { expose: ee, emit: G }) {
975
975
  const Ce = A, oe = G, U = co(null), be = co(null), q = () => {
976
976
  be.value && oe("update:modelValueTranslate", be.value.value);
977
977
  };
978
978
  return Og(() => {
979
979
  U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), Ce.modelValue && (oe("update:modelValue", Ce.modelValue), U.value.value = Ce.modelValue), Ce.modelValueTranslate && (oe("update:modelValueTranslate", Ce.modelValueTranslate), be.value.value = Ce.modelValueTranslate);
980
- }), te({ focus: () => U.value.focus() }), (De, tt) => (ue(), de(jn, null, [
980
+ }), ee({ focus: () => U.value.focus() }), (De, tt) => (ue(), de(jn, null, [
981
981
  A.show ? (ue(), de("div", {
982
982
  key: 0,
983
983
  class: zt(A.field_name)
@@ -1101,7 +1101,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1101
1101
  }
1102
1102
  },
1103
1103
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1104
- setup(A, { expose: te, emit: G }) {
1104
+ setup(A, { expose: ee, emit: G }) {
1105
1105
  const Ce = A, oe = G, U = co(null), be = co(null), q = () => {
1106
1106
  be.value && oe("update:modelValueTranslate", be.value.value);
1107
1107
  };
@@ -1121,7 +1121,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1121
1121
  }).catch((De) => {
1122
1122
  console.log(De);
1123
1123
  });
1124
- }), te({ focus: () => U.value.focus() }), (De, tt) => (ue(), de(jn, null, [
1124
+ }), ee({ focus: () => U.value.focus() }), (De, tt) => (ue(), de(jn, null, [
1125
1125
  A.show ? (ue(), de("div", {
1126
1126
  key: 0,
1127
1127
  class: zt(A.field_name)
@@ -1236,13 +1236,13 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1236
1236
  }
1237
1237
  },
1238
1238
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1239
- setup(A, { expose: te, emit: G }) {
1239
+ setup(A, { expose: ee, emit: G }) {
1240
1240
  const Ce = A, oe = G, U = co(null), be = co(null), q = () => {
1241
1241
  be.value && oe("update:modelValueTranslate", be.value.value);
1242
1242
  };
1243
1243
  return Og(() => {
1244
1244
  U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), Ce.modelValue && (oe("update:modelValue", Ce.modelValue), U.value.value = Ce.modelValue), Ce.modelValueTranslate && (oe("update:modelValueTranslate", Ce.modelValueTranslate), be.value.value = Ce.modelValueTranslate);
1245
- }), te({ focus: () => U.value.focus() }), (De, tt) => (ue(), de(jn, null, [
1245
+ }), ee({ focus: () => U.value.focus() }), (De, tt) => (ue(), de(jn, null, [
1246
1246
  A.show ? (ue(), de("div", {
1247
1247
  key: 0,
1248
1248
  class: zt(A.field_name)
@@ -1348,7 +1348,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1348
1348
  }
1349
1349
  },
1350
1350
  emits: ["update:modelValue", "keydown", "blur"],
1351
- setup(A, { expose: te, emit: G }) {
1351
+ setup(A, { expose: ee, emit: G }) {
1352
1352
  const Ce = A, oe = G, U = co(null);
1353
1353
  Og(() => {
1354
1354
  U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
@@ -1361,7 +1361,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1361
1361
  oe("update:modelValue", q);
1362
1362
  }
1363
1363
  });
1364
- return te({ focus: () => U.value.focus() }), (q, De) => (ue(), de(jn, null, [
1364
+ return ee({ focus: () => U.value.focus() }), (q, De) => (ue(), de(jn, null, [
1365
1365
  A.show ? (ue(), de("div", {
1366
1366
  key: 0,
1367
1367
  class: zt(A.field_name)
@@ -1455,7 +1455,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1455
1455
  }
1456
1456
  },
1457
1457
  emits: ["update:modelValue", "keydown"],
1458
- setup(A, { expose: te, emit: G }) {
1458
+ setup(A, { expose: ee, emit: G }) {
1459
1459
  const Ce = A, oe = G, U = co(null);
1460
1460
  Og(() => {
1461
1461
  U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
@@ -1468,7 +1468,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1468
1468
  oe("update:modelValue", q);
1469
1469
  }
1470
1470
  });
1471
- return te({ focus: () => U.value.focus() }), (q, De) => (ue(), de(jn, null, [
1471
+ return ee({ focus: () => U.value.focus() }), (q, De) => (ue(), de(jn, null, [
1472
1472
  A.show ? (ue(), de("div", {
1473
1473
  key: 0,
1474
1474
  class: zt(A.field_name)
@@ -1554,8 +1554,8 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1554
1554
  }
1555
1555
  },
1556
1556
  emits: ["update:modelValue", "keydown"],
1557
- setup(A, { emit: te }) {
1558
- const G = A, Ce = te, oe = co(""), U = co({
1557
+ setup(A, { emit: ee }) {
1558
+ const G = A, Ce = ee, oe = co(""), U = co({
1559
1559
  start: G.modelValue.start,
1560
1560
  end: G.modelValue.end
1561
1561
  });
@@ -1681,8 +1681,8 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1681
1681
  }
1682
1682
  },
1683
1683
  emits: ["update:modelValue", "keydown"],
1684
- setup(A, { emit: te }) {
1685
- const G = te, Ce = co(null), oe = (U) => {
1684
+ setup(A, { emit: ee }) {
1685
+ const G = ee, Ce = co(null), oe = (U) => {
1686
1686
  const be = U.target.files[0];
1687
1687
  console.log(be), G("keydown", U), be && G("update:modelValue", be);
1688
1688
  };
@@ -1730,8 +1730,8 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1730
1730
  __name: "GlTabsWrapper",
1731
1731
  props: {},
1732
1732
  emits: ["TabChange"],
1733
- setup(A, { emit: te }) {
1734
- const G = te, Ce = Pq(), oe = co(Ce.default().map((De) => De.props)), U = co("");
1733
+ setup(A, { emit: ee }) {
1734
+ const G = ee, Ce = Pq(), oe = co(Ce.default().map((De) => De.props)), U = co("");
1735
1735
  oq("selectedTitle", U);
1736
1736
  const be = (De) => {
1737
1737
  window.location.hash = encodeURIComponent(De), G("TabChange", De);
@@ -1786,7 +1786,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1786
1786
  key: 0,
1787
1787
  class: "block"
1788
1788
  };
1789
- function CX(A, te, G, Ce, oe, U) {
1789
+ function CX(A, ee, G, Ce, oe, U) {
1790
1790
  return G.title == Ce.selectedTitle ? (ue(), de("div", xX, [
1791
1791
  Zi(A.$slots, "default")
1792
1792
  ])) : qe("", !0);
@@ -1842,8 +1842,8 @@ const Hce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
1842
1842
  methods: {
1843
1843
  observeSlotChanges() {
1844
1844
  const A = this.$refs.slotContainer;
1845
- A && (this.mutationObserver = new MutationObserver((te) => {
1846
- te.forEach((G) => {
1845
+ A && (this.mutationObserver = new MutationObserver((ee) => {
1846
+ ee.forEach((G) => {
1847
1847
  this.initSlider();
1848
1848
  });
1849
1849
  }), this.mutationObserver.observe(A, {
@@ -1863,11 +1863,11 @@ const Hce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
1863
1863
  return !this.hide_arrow && this.slider_arrows_indicators_position === "arrows_outside_slider" ? A += " w-12/12 xl:w-8/12 xxl:w-8/12 md:w-8/12 sm:w-8/12" : this.slider_arrows_indicators_position !== "arrows_outside_slider" && (A += " w-12/12 "), A;
1864
1864
  },
1865
1865
  generateRandomString(A) {
1866
- let te = "";
1866
+ let ee = "";
1867
1867
  const G = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", Ce = G.length;
1868
1868
  for (let oe = 0; oe < A; oe++)
1869
- te += G.charAt(Math.floor(Math.random() * Ce));
1870
- return te;
1869
+ ee += G.charAt(Math.floor(Math.random() * Ce));
1870
+ return ee;
1871
1871
  },
1872
1872
  movingActions() {
1873
1873
  },
@@ -1878,8 +1878,8 @@ const Hce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
1878
1878
  this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
1879
1879
  },
1880
1880
  initSlider() {
1881
- let A = document.getElementById("sliderContainer_" + this.Random_string), te = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), Ce = Array.from(G.querySelectorAll("li")).filter((be) => be.parentNode === G), oe = A.clientWidth, U = oe / this.elementsToShow;
1882
- if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, U = this.hide_arrow ? te.clientWidth : oe) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, U = this.hide_arrow ? te.clientWidth : oe), Ce.length > 1) {
1881
+ let A = document.getElementById("sliderContainer_" + this.Random_string), ee = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), Ce = Array.from(G.querySelectorAll("li")).filter((be) => be.parentNode === G), oe = A.clientWidth, U = oe / this.elementsToShow;
1882
+ if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, U = this.hide_arrow ? ee.clientWidth : oe) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, U = this.hide_arrow ? ee.clientWidth : oe), Ce.length > 1) {
1883
1883
  this.dotsNum = this.elementsToShow === 1 ? Ce.length : Ce.length - this.elementsToShow + 1;
1884
1884
  let be = this.elementsToShow === 1 ? U * Ce.length / this.dotsNum : U * (Ce.length - this.elementsToShow) / (this.dotsNum - 1);
1885
1885
  this.dotsNavigation = Array.from({ length: this.dotsNum }, (q, De) => be * De);
@@ -1887,8 +1887,8 @@ const Hce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
1887
1887
  G.style.width = `${Ce.length * U}px`, G.style.transition = "margin", G.style.transitionDuration = "1s", Ce.forEach((be) => be.style.width = `${U}px`);
1888
1888
  },
1889
1889
  setDot(A) {
1890
- let te = document.getElementById("slider_" + this.Random_string);
1891
- this.direction_property === "rtl" ? te.style.marginRight = -this.dotsNavigation[A - 1] + "px" : te.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
1890
+ let ee = document.getElementById("slider_" + this.Random_string);
1891
+ this.direction_property === "rtl" ? ee.style.marginRight = -this.dotsNavigation[A - 1] + "px" : ee.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
1892
1892
  }
1893
1893
  }
1894
1894
  }, Sm = (A) => (rq("data-v-656677e7"), A = A(), aq(), A), SX = ["id"], kX = {
@@ -2076,7 +2076,7 @@ const Hce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
2076
2076
  }, null, -1)), TJ = [
2077
2077
  kJ
2078
2078
  ];
2079
- function EJ(A, te, G, Ce, oe, U) {
2079
+ function EJ(A, ee, G, Ce, oe, U) {
2080
2080
  return ue(), de("div", null, [
2081
2081
  R("div", {
2082
2082
  class: zt(["", !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
@@ -2086,7 +2086,7 @@ function EJ(A, te, G, Ce, oe, U) {
2086
2086
  R("div", TX, [
2087
2087
  R("button", {
2088
2088
  class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
2089
- onClick: te[0] || (te[0] = (be) => U.prev())
2089
+ onClick: ee[0] || (ee[0] = (be) => U.prev())
2090
2090
  }, [
2091
2091
  G.direction_property == "ltr" ? (ue(), de("svg", EX, DX)) : qe("", !0),
2092
2092
  G.direction_property == "rtl" ? (ue(), de("svg", OX, $X)) : qe("", !0)
@@ -2109,7 +2109,7 @@ function EJ(A, te, G, Ce, oe, U) {
2109
2109
  R("div", PX, [
2110
2110
  R("button", {
2111
2111
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2112
- onClick: te[1] || (te[1] = za((be) => U.prev(), ["stop"]))
2112
+ onClick: ee[1] || (ee[1] = za((be) => U.prev(), ["stop"]))
2113
2113
  }, [
2114
2114
  G.direction_property == "ltr" ? (ue(), de("svg", NX, LX)) : qe("", !0),
2115
2115
  G.direction_property == "rtl" ? (ue(), de("svg", FX, VX)) : qe("", !0)
@@ -2124,7 +2124,7 @@ function EJ(A, te, G, Ce, oe, U) {
2124
2124
  R("div", zX, [
2125
2125
  R("button", {
2126
2126
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2127
- onClick: te[2] || (te[2] = za((be) => U.next(), ["stop"]))
2127
+ onClick: ee[2] || (ee[2] = za((be) => U.next(), ["stop"]))
2128
2128
  }, [
2129
2129
  G.direction_property == "ltr" ? (ue(), de("svg", UX, ZX)) : qe("", !0),
2130
2130
  G.direction_property == "rtl" ? (ue(), de("svg", jX, qX)) : qe("", !0)
@@ -2159,7 +2159,7 @@ function EJ(A, te, G, Ce, oe, U) {
2159
2159
  R("div", sJ, [
2160
2160
  R("button", {
2161
2161
  class: zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
2162
- onClick: te[3] || (te[3] = (be) => U.prev())
2162
+ onClick: ee[3] || (ee[3] = (be) => U.prev())
2163
2163
  }, [
2164
2164
  G.direction_property == "ltr" ? (ue(), de("svg", rJ, lJ)) : qe("", !0),
2165
2165
  G.direction_property == "rtl" ? (ue(), de("svg", cJ, uJ)) : qe("", !0)
@@ -2170,7 +2170,7 @@ function EJ(A, te, G, Ce, oe, U) {
2170
2170
  R("div", mJ, [
2171
2171
  R("button", {
2172
2172
  class: "p-3 rounded-full arrow_button_styles",
2173
- onClick: te[4] || (te[4] = (be) => U.next())
2173
+ onClick: ee[4] || (ee[4] = (be) => U.next())
2174
2174
  }, [
2175
2175
  G.direction_property == "ltr" ? (ue(), de("svg", fJ, hJ)) : qe("", !0),
2176
2176
  G.direction_property == "rtl" ? (ue(), de("svg", pJ, vJ)) : qe("", !0)
@@ -2184,7 +2184,7 @@ function EJ(A, te, G, Ce, oe, U) {
2184
2184
  R("div", wJ, [
2185
2185
  R("button", {
2186
2186
  class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
2187
- onClick: te[5] || (te[5] = (be) => U.next())
2187
+ onClick: ee[5] || (ee[5] = (be) => U.next())
2188
2188
  }, [
2189
2189
  G.direction_property == "ltr" ? (ue(), de("svg", xJ, _J)) : qe("", !0),
2190
2190
  G.direction_property == "rtl" ? (ue(), de("svg", SJ, TJ)) : qe("", !0)
@@ -2251,8 +2251,8 @@ const Vce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
2251
2251
  methods: {
2252
2252
  observeSlotChanges() {
2253
2253
  const A = this.$refs.slotContainer;
2254
- A && (this.mutationObserver = new MutationObserver((te) => {
2255
- te.forEach((G) => {
2254
+ A && (this.mutationObserver = new MutationObserver((ee) => {
2255
+ ee.forEach((G) => {
2256
2256
  this.initSlider();
2257
2257
  });
2258
2258
  }), this.mutationObserver.observe(A, {
@@ -2269,27 +2269,27 @@ const Vce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
2269
2269
  return !this.hide_arrow && this.slider_arrows_indicators_position == "arrows_outside_slider" || this.slider_arrows_indicators_position != "arrows_outside_slider", A;
2270
2270
  },
2271
2271
  generateRandomString(A) {
2272
- let te = "";
2272
+ let ee = "";
2273
2273
  const G = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", Ce = G.length;
2274
2274
  for (let oe = 0; oe < A; oe++)
2275
- te += G.charAt(Math.floor(Math.random() * Ce));
2276
- return te;
2275
+ ee += G.charAt(Math.floor(Math.random() * Ce));
2276
+ return ee;
2277
2277
  },
2278
2278
  movingActions() {
2279
- let A = this, te = document.getElementById("slider_" + this.Random_string);
2279
+ let A = this, ee = document.getElementById("slider_" + this.Random_string);
2280
2280
  const G = (oe) => {
2281
- te.style.cursor = "grabbing";
2281
+ ee.style.cursor = "grabbing";
2282
2282
  const U = (q) => {
2283
2283
  const De = q.clientX || q.touches && q.touches[0] && q.touches[0].clientX, tt = q.clientY || q.touches && q.touches[0] && q.touches[0].clientY, pt = De - A.initialX, cn = tt - A.initialY;
2284
- Math.abs(pt) > Math.abs(cn) ? (q.preventDefault(), Math.abs(pt) >= 70 && (pt < 0 ? A.next() : A.prev(), A.initialX = De)) : te.style.cursor = "grab", Math.abs(cn) > Math.abs(pt) && (te.style.cursor = "grab");
2284
+ Math.abs(pt) > Math.abs(cn) ? (q.preventDefault(), Math.abs(pt) >= 70 && (pt < 0 ? A.next() : A.prev(), A.initialX = De)) : ee.style.cursor = "grab", Math.abs(cn) > Math.abs(pt) && (ee.style.cursor = "grab");
2285
2285
  }, be = () => {
2286
- document.removeEventListener("mousemove", U), document.removeEventListener("touchmove", U), document.removeEventListener("mouseup", be), document.removeEventListener("touchend", be), te.style.cursor = "grab";
2286
+ document.removeEventListener("mousemove", U), document.removeEventListener("touchmove", U), document.removeEventListener("mouseup", be), document.removeEventListener("touchend", be), ee.style.cursor = "grab";
2287
2287
  };
2288
2288
  document.addEventListener("mousemove", U), document.addEventListener("touchmove", U, { passive: !1 }), document.addEventListener("mouseup", be), document.addEventListener("touchend", be), A.initialX = oe.clientX || oe.touches && oe.touches[0] && oe.touches[0].clientX, A.initialY = oe.clientY || oe.touches && oe.touches[0] && oe.touches[0].clientY;
2289
2289
  }, Ce = (oe) => {
2290
2290
  oe.key === "ArrowLeft" ? A.prev() : oe.key === "ArrowRight" && A.next();
2291
2291
  };
2292
- te.addEventListener("mousedown", G), te.addEventListener("touchstart", G), document.addEventListener("keydown", Ce);
2292
+ ee.addEventListener("mousedown", G), ee.addEventListener("touchstart", G), document.addEventListener("keydown", Ce);
2293
2293
  },
2294
2294
  next() {
2295
2295
  this.currentDot < this.dotsNavigation.length && (this.currentDot++, this.setDot(this.currentDot));
@@ -2298,12 +2298,12 @@ const Vce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
2298
2298
  this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
2299
2299
  },
2300
2300
  initSlider() {
2301
- let A = document.getElementById("sliderContainer_" + this.Random_string), te = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), Ce = G.querySelectorAll("li"), oe = Array.from(Ce).filter((q) => q.parentNode === G);
2301
+ let A = document.getElementById("sliderContainer_" + this.Random_string), ee = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), Ce = G.querySelectorAll("li"), oe = Array.from(Ce).filter((q) => q.parentNode === G);
2302
2302
  oe[0];
2303
2303
  let U = this.element_size + 28, be = A.clientWidth;
2304
- if (this.elementsToShow = Math.floor(this.hide_arrow ? te.clientWidth / U : be / U), U = (this.hide_arrow ? te.clientWidth : be) / this.elementsToShow - 28, oe.length > 1) {
2304
+ if (this.elementsToShow = Math.floor(this.hide_arrow ? ee.clientWidth / U : be / U), U = (this.hide_arrow ? ee.clientWidth : be) / this.elementsToShow - 28, oe.length > 1) {
2305
2305
  this.dotsNum = Math.ceil(oe.length / this.elementsToShow);
2306
- let q = this.hide_arrow ? te.clientWidth : be;
2306
+ let q = this.hide_arrow ? ee.clientWidth : be;
2307
2307
  this.dotsNavigation = [];
2308
2308
  for (let De = 0; De < this.dotsNum; De++)
2309
2309
  this.dotsNavigation.push(q * De);
@@ -2315,8 +2315,8 @@ const Vce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
2315
2315
  }
2316
2316
  },
2317
2317
  setDot(A) {
2318
- let te = document.getElementById("slider_" + this.Random_string);
2319
- this.direction_property == "rtl" ? te.style.marginRight = -this.dotsNavigation[A - 1] + "px" : te.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
2318
+ let ee = document.getElementById("slider_" + this.Random_string);
2319
+ this.direction_property == "rtl" ? ee.style.marginRight = -this.dotsNavigation[A - 1] + "px" : ee.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
2320
2320
  }
2321
2321
  }
2322
2322
  }, km = (A) => (rq("data-v-bb117eda"), A = A(), aq(), A), DJ = ["id"], OJ = {
@@ -2504,7 +2504,7 @@ const Vce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
2504
2504
  }, null, -1)), RQ = [
2505
2505
  OQ
2506
2506
  ];
2507
- function $Q(A, te, G, Ce, oe, U) {
2507
+ function $Q(A, ee, G, Ce, oe, U) {
2508
2508
  return ue(), de("div", null, [
2509
2509
  R("div", {
2510
2510
  class: zt(["w-full", !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
@@ -2514,7 +2514,7 @@ function $Q(A, te, G, Ce, oe, U) {
2514
2514
  R("div", RJ, [
2515
2515
  R("button", {
2516
2516
  class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
2517
- onClick: te[0] || (te[0] = (be) => U.prev())
2517
+ onClick: ee[0] || (ee[0] = (be) => U.prev())
2518
2518
  }, [
2519
2519
  G.direction_property == "ltr" ? (ue(), de("svg", $J, BJ)) : qe("", !0),
2520
2520
  G.direction_property == "rtl" ? (ue(), de("svg", PJ, IJ)) : qe("", !0)
@@ -2537,7 +2537,7 @@ function $Q(A, te, G, Ce, oe, U) {
2537
2537
  R("div", HJ, [
2538
2538
  R("button", {
2539
2539
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2540
- onClick: te[1] || (te[1] = za((be) => U.prev(), ["stop"]))
2540
+ onClick: ee[1] || (ee[1] = za((be) => U.prev(), ["stop"]))
2541
2541
  }, [
2542
2542
  G.direction_property == "ltr" ? (ue(), de("svg", VJ, UJ)) : qe("", !0),
2543
2543
  G.direction_property == "rtl" ? (ue(), de("svg", WJ, jJ)) : qe("", !0)
@@ -2552,7 +2552,7 @@ function $Q(A, te, G, Ce, oe, U) {
2552
2552
  R("div", GJ, [
2553
2553
  R("button", {
2554
2554
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2555
- onClick: te[2] || (te[2] = za((be) => U.next(), ["stop"]))
2555
+ onClick: ee[2] || (ee[2] = za((be) => U.next(), ["stop"]))
2556
2556
  }, [
2557
2557
  G.direction_property == "ltr" ? (ue(), de("svg", qJ, YJ)) : qe("", !0),
2558
2558
  G.direction_property == "rtl" ? (ue(), de("svg", XJ, QJ)) : qe("", !0)
@@ -2587,7 +2587,7 @@ function $Q(A, te, G, Ce, oe, U) {
2587
2587
  R("div", iQ, [
2588
2588
  R("button", {
2589
2589
  class: zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
2590
- onClick: te[3] || (te[3] = (be) => U.prev())
2590
+ onClick: ee[3] || (ee[3] = (be) => U.prev())
2591
2591
  }, [
2592
2592
  G.direction_property == "ltr" ? (ue(), de("svg", uQ, mQ)) : qe("", !0),
2593
2593
  G.direction_property == "rtl" ? (ue(), de("svg", fQ, hQ)) : qe("", !0)
@@ -2598,7 +2598,7 @@ function $Q(A, te, G, Ce, oe, U) {
2598
2598
  R("div", bQ, [
2599
2599
  R("button", {
2600
2600
  class: "p-3 rounded-full arrow_button_styles",
2601
- onClick: te[4] || (te[4] = (be) => U.next())
2601
+ onClick: ee[4] || (ee[4] = (be) => U.next())
2602
2602
  }, [
2603
2603
  G.direction_property == "ltr" ? (ue(), de("svg", vQ, wQ)) : qe("", !0),
2604
2604
  G.direction_property == "rtl" ? (ue(), de("svg", xQ, _Q)) : qe("", !0)
@@ -2612,7 +2612,7 @@ function $Q(A, te, G, Ce, oe, U) {
2612
2612
  R("div", kQ, [
2613
2613
  R("button", {
2614
2614
  class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
2615
- onClick: te[5] || (te[5] = (be) => U.next())
2615
+ onClick: ee[5] || (ee[5] = (be) => U.next())
2616
2616
  }, [
2617
2617
  G.direction_property == "ltr" ? (ue(), de("svg", TQ, AQ)) : qe("", !0),
2618
2618
  G.direction_property == "rtl" ? (ue(), de("svg", DQ, RQ)) : qe("", !0)
@@ -2677,8 +2677,8 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
2677
2677
  }
2678
2678
  },
2679
2679
  emits: ["closeModal"],
2680
- setup(A, { emit: te }) {
2681
- const G = A, Ce = te, oe = () => {
2680
+ setup(A, { emit: ee }) {
2681
+ const G = A, Ce = ee, oe = () => {
2682
2682
  document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
2683
2683
  }, U = () => {
2684
2684
  document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
@@ -2796,8 +2796,8 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
2796
2796
  }
2797
2797
  },
2798
2798
  emits: ["closeModal"],
2799
- setup(A, { emit: te }) {
2800
- const G = A, Ce = te, oe = () => {
2799
+ setup(A, { emit: ee }) {
2800
+ const G = A, Ce = ee, oe = () => {
2801
2801
  document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
2802
2802
  }, U = () => {
2803
2803
  document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
@@ -2904,8 +2904,8 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
2904
2904
  }
2905
2905
  },
2906
2906
  emits: ["closeModal"],
2907
- setup(A, { emit: te }) {
2908
- const G = A, Ce = te, oe = () => {
2907
+ setup(A, { emit: ee }) {
2908
+ const G = A, Ce = ee, oe = () => {
2909
2909
  document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
2910
2910
  }, U = () => {
2911
2911
  document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
@@ -3007,8 +3007,8 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3007
3007
  }
3008
3008
  },
3009
3009
  emits: ["update:modelValue"],
3010
- setup(A, { emit: te }) {
3011
- const G = A, Ce = te, oe = co(null), U = bu({
3010
+ setup(A, { emit: ee }) {
3011
+ const G = A, Ce = ee, oe = co(null), U = bu({
3012
3012
  get() {
3013
3013
  return G.modelValue;
3014
3014
  },
@@ -3118,8 +3118,8 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3118
3118
  }
3119
3119
  },
3120
3120
  emits: ["update:modelValue"],
3121
- setup(A, { emit: te }) {
3122
- const G = A, Ce = te, oe = co(null), U = bu({
3121
+ setup(A, { emit: ee }) {
3122
+ const G = A, Ce = ee, oe = co(null), U = bu({
3123
3123
  get() {
3124
3124
  return G.modelValue;
3125
3125
  },
@@ -3293,8 +3293,8 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3293
3293
  }
3294
3294
  },
3295
3295
  emits: ["update:modelValue", "selected", "selectionChanged"],
3296
- setup(A, { emit: te }) {
3297
- const G = A, Ce = te;
3296
+ setup(A, { emit: ee }) {
3297
+ const G = A, Ce = ee;
3298
3298
  co(null);
3299
3299
  const oe = co({}), U = co([]), be = co(0), q = co(!1), De = co(""), tt = co(""), pt = co(null), cn = co(0), kt = co(0), io = () => {
3300
3300
  if (pt.value) {
@@ -3580,7 +3580,7 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3580
3580
  }
3581
3581
  },
3582
3582
  emits: ["update:modelValue", "keydown"],
3583
- setup(A, { expose: te, emit: G }) {
3583
+ setup(A, { expose: ee, emit: G }) {
3584
3584
  const Ce = A, oe = G, U = co(null);
3585
3585
  Og(() => {
3586
3586
  U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
@@ -3593,7 +3593,7 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3593
3593
  oe("update:modelValue", q);
3594
3594
  }
3595
3595
  });
3596
- return te({ focus: () => U.value.focus() }), (q, De) => (ue(), de(jn, null, [
3596
+ return ee({ focus: () => U.value.focus() }), (q, De) => (ue(), de(jn, null, [
3597
3597
  A.show ? (ue(), de("div", {
3598
3598
  key: 0,
3599
3599
  class: zt(A.field_name)
@@ -3647,7 +3647,7 @@ function ute(A) {
3647
3647
  var cq = { exports: {} };
3648
3648
  (function(A) {
3649
3649
  (function() {
3650
- var te = function(e) {
3650
+ var ee = function(e) {
3651
3651
  if (e === null)
3652
3652
  return "null";
3653
3653
  if (e === void 0)
@@ -3703,7 +3703,7 @@ var cq = { exports: {} };
3703
3703
  }, cn = U(function(e, n) {
3704
3704
  if (e === n)
3705
3705
  return !0;
3706
- var o = te(e), r = te(n);
3706
+ var o = ee(e), r = ee(n);
3707
3707
  return o !== r ? !1 : G(o) ? e === n : o === "array" ? De(cn).eq(e, n) : o === "object" ? pt(cn).eq(e, n) : !1;
3708
3708
  });
3709
3709
  const kt = Object.getPrototypeOf, io = (e, n, o) => {
@@ -5072,7 +5072,7 @@ var cq = { exports: {} };
5072
5072
  type: "text/css",
5073
5073
  id: Se.id
5074
5074
  }), Pe.dom.innerHTML = ke, y(Pe);
5075
- }, ee = (xe) => Promise.allSettled(Ye(xe, (Se) => P(Se).then(st(Se)))).then((Se) => {
5075
+ }, te = (xe) => Promise.allSettled(Ye(xe, (Se) => P(Se).then(st(Se)))).then((Se) => {
5076
5076
  const Pe = qo(Se, (at) => at.status === "fulfilled");
5077
5077
  return Pe.fail.length > 0 ? Promise.reject(Ye(Pe.fail, (at) => at.reason)) : Ye(Pe.pass, (at) => at.value);
5078
5078
  }), se = (xe) => {
@@ -5084,7 +5084,7 @@ var cq = { exports: {} };
5084
5084
  return {
5085
5085
  load: P,
5086
5086
  loadRawCss: F,
5087
- loadAll: ee,
5087
+ loadAll: te,
5088
5088
  unload: se,
5089
5089
  unloadRawCss: (xe) => {
5090
5090
  Xo(r, xe).each((ke) => {
@@ -5242,20 +5242,20 @@ var cq = { exports: {} };
5242
5242
  };
5243
5243
  }, f = (y, k = "", B = "") => {
5244
5244
  const P = ml(B), F = ml(y);
5245
- let ee = F.length;
5245
+ let te = F.length;
5246
5246
  const se = ml([
5247
5247
  n,
5248
5248
  k
5249
5249
  ].join(" "));
5250
- for (; ee--; )
5251
- u(F[ee], se.slice(), P);
5250
+ for (; te--; )
5251
+ u(F[te], se.slice(), P);
5252
5252
  }, b = (y, k) => {
5253
5253
  const B = ml(y), P = ml(k);
5254
5254
  let F = B.length;
5255
5255
  for (; F--; ) {
5256
- const ee = l[B[F]];
5256
+ const te = l[B[F]];
5257
5257
  for (let se = 0, Y = P.length; se < Y; se++)
5258
- ee.attributes[P[se]] = {}, ee.attributesOrder.push(P[se]);
5258
+ te.attributes[P[se]] = {}, te.attributesOrder.push(P[se]);
5259
5259
  }
5260
5260
  };
5261
5261
  return e !== "html5-strict" && (Te(ml("acronym applet basefont big font strike tt"), (B) => {
@@ -5334,8 +5334,8 @@ var cq = { exports: {} };
5334
5334
  name: B,
5335
5335
  value: F
5336
5336
  }), y.forcedValue = F) : P === "<" && (y.validValues = ct.makeMap(F, "?"))), r.test(B)) {
5337
- const ee = y;
5338
- n.attributePatterns = n.attributePatterns || [], ee.pattern = Gt(B), n.attributePatterns.push(ee);
5337
+ const te = y;
5338
+ n.attributePatterns = n.attributePatterns || [], te.pattern = Gt(B), n.attributePatterns.push(te);
5339
5339
  } else
5340
5340
  l[B] || u.push(B), l[B] = y;
5341
5341
  }
@@ -5394,7 +5394,7 @@ var cq = { exports: {} };
5394
5394
  }
5395
5395
  }, y = (n = e.schema) !== null && n !== void 0 ? n : "html5", k = N4(y);
5396
5396
  e.verify_html === !1 && (e.valid_elements = "*[*]");
5397
- const B = op(e.valid_styles), P = op(e.invalid_styles, "map"), F = op(e.valid_classes, "map"), ee = b("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), se = b("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), Y = b("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), re = b("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), xe = "td th iframe video audio object script code", ke = b("non_empty_elements", xe + " pre svg", Y), Se = b("move_caret_before_on_enter_elements", xe + " table", Y), Pe = "h1 h2 h3 h4 h5 h6", at = b("text_block_elements", Pe + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), wt = 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", at), Ft = b("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"), We = b("transparent_elements", "a ins del canvas map"), Ve = b("wrap_block_elements", "pre " + Pe);
5397
+ const B = op(e.valid_styles), P = op(e.invalid_styles, "map"), F = op(e.valid_classes, "map"), te = b("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), se = b("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), Y = b("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), re = b("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), xe = "td th iframe video audio object script code", ke = b("non_empty_elements", xe + " pre svg", Y), Se = b("move_caret_before_on_enter_elements", xe + " table", Y), Pe = "h1 h2 h3 h4 h5 h6", at = b("text_block_elements", Pe + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), wt = 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", at), Ft = b("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"), We = b("transparent_elements", "a ins del canvas map"), Ve = b("wrap_block_elements", "pre " + Pe);
5398
5398
  ud("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "), (Ln) => {
5399
5399
  f[Ln] = new RegExp("</" + Ln + "[^>]*>", "gi");
5400
5400
  });
@@ -5475,7 +5475,7 @@ var cq = { exports: {} };
5475
5475
  }), e.invalid_elements && ud(uu(e.invalid_elements), (Ln) => {
5476
5476
  o[Ln] && delete o[Ln];
5477
5477
  }), qn("span") || rt("span[!data-mce-type|*]");
5478
- const gs = st(B), Rs = st(P), Hr = st(F), Ml = st(re), us = st(wt), Et = st(at), on = st(Ft), Kn = st(Object.seal(Y)), mo = st(se), Qt = st(ke), $n = st(Se), Ct = st(ee), Mn = st(We), Oo = st(Ve), Ss = st(Object.seal(f)), hs = (Ln, Io) => {
5478
+ const gs = st(B), Rs = st(P), Hr = st(F), Ml = st(re), us = st(wt), Et = st(at), on = st(Ft), Kn = st(Object.seal(Y)), mo = st(se), Qt = st(ke), $n = st(Se), Ct = st(te), Mn = st(We), Oo = st(Ve), Ss = st(Object.seal(f)), hs = (Ln, Io) => {
5479
5479
  const $s = r[Ln.toLowerCase()];
5480
5480
  return !!($s && $s[Io.toLowerCase()]);
5481
5481
  }, Ha = (Ln, Io) => {
@@ -5558,7 +5558,7 @@ var cq = { exports: {} };
5558
5558
  const B = {
5559
5559
  parse: (P) => {
5560
5560
  const F = {};
5561
- let ee = !1;
5561
+ let te = !1;
5562
5562
  const se = e.url_converter, Y = e.url_converter_scope || B, re = (We, Ve, rt) => {
5563
5563
  const Kt = F[We + "-top" + Ve];
5564
5564
  if (!Kt)
@@ -5594,7 +5594,7 @@ var cq = { exports: {} };
5594
5594
  return F[We] = rt[0], !0;
5595
5595
  }, ke = (We, Ve, rt, Kt) => {
5596
5596
  xe(Ve) && xe(rt) && xe(Kt) && (F[We] = F[Ve] + " " + F[rt] + " " + F[Kt], delete F[Ve], delete F[rt], delete F[Kt]);
5597
- }, Se = (We) => (ee = !0, u[We]), Pe = (We, Ve) => (ee && (We = We.replace(/\uFEFF[0-9]/g, (rt) => u[rt])), Ve || (We = We.replace(/\\([\'\";:])/g, "$1")), We), at = (We) => String.fromCharCode(parseInt(We.slice(1), 16)), wt = (We) => We.replace(/\\[0-9a-f]+/gi, at), Ft = (We, Ve, rt, Kt, un, Jn) => {
5597
+ }, Se = (We) => (te = !0, u[We]), Pe = (We, Ve) => (te && (We = We.replace(/\uFEFF[0-9]/g, (rt) => u[rt])), Ve || (We = We.replace(/\\([\'\";:])/g, "$1")), We), at = (We) => String.fromCharCode(parseInt(We.slice(1), 16)), wt = (We) => We.replace(/\\[0-9a-f]+/gi, at), Ft = (We, Ve, rt, Kt, un, Jn) => {
5598
5598
  if (un = un || Jn, un)
5599
5599
  return un = Pe(un), "'" + un.replace(/\'/g, "\\'") + "'";
5600
5600
  if (Ve = Pe(Ve || rt || Kt || ""), !e.allow_script_urls) {
@@ -5615,7 +5615,7 @@ var cq = { exports: {} };
5615
5615
  continue;
5616
5616
  Ve === "font-weight" && rt === "700" ? rt = "bold" : (Ve === "color" || Ve === "background-color") && (rt = rt.toLowerCase()), he(e.force_hex_color) && e.force_hex_color !== "off" && jy(rt).each((Kt) => {
5617
5617
  (e.force_hex_color === "always" || Kt.alpha === 1) && (rt = rp(ei(Kt)));
5618
- }), rt = rt.replace(o, Ft), F[Ve] = ee ? Pe(rt, !0) : rt;
5618
+ }), rt = rt.replace(o, Ft), F[Ve] = te ? Pe(rt, !0) : rt;
5619
5619
  }
5620
5620
  }
5621
5621
  re("border", "", !0), re("border", "-width"), re("border", "-color"), re("border", "-style"), re("padding", ""), re("margin", ""), ke("border", "border-width", "border-style", "border-color"), F.border === "medium none" && delete F.border, F["border-image"] === "none" && delete F["border-image"];
@@ -5623,13 +5623,13 @@ var cq = { exports: {} };
5623
5623
  return F;
5624
5624
  },
5625
5625
  serialize: (P, F) => {
5626
- let ee = "";
5626
+ let te = "";
5627
5627
  const se = (re, xe) => {
5628
5628
  const ke = xe[re];
5629
5629
  if (ke)
5630
5630
  for (let Se = 0, Pe = ke.length; Se < Pe; Se++) {
5631
5631
  const at = ke[Se], wt = P[at];
5632
- wt && (ee += (ee.length > 0 ? " " : "") + at + ": " + wt + ";");
5632
+ wt && (te += (te.length > 0 ? " " : "") + at + ": " + wt + ";");
5633
5633
  }
5634
5634
  }, Y = (re, xe) => {
5635
5635
  if (!b || !xe)
@@ -5638,8 +5638,8 @@ var cq = { exports: {} };
5638
5638
  return ke && ke[re] ? !1 : (ke = b[xe], !(ke && ke[re]));
5639
5639
  };
5640
5640
  return F && f ? (se("*", f), se(F, f)) : vt(P, (re, xe) => {
5641
- re && Y(xe, F) && (ee += (ee.length > 0 ? " " : "") + xe + ": " + re + ";");
5642
- }), ee;
5641
+ re && Y(xe, F) && (te += (te.length > 0 ? " " : "") + xe + ": " + re + ";");
5642
+ }), te;
5643
5643
  }
5644
5644
  };
5645
5645
  return B;
@@ -5706,12 +5706,12 @@ var cq = { exports: {} };
5706
5706
  const B = o.split(" ");
5707
5707
  let P = B.length;
5708
5708
  for (; P--; ) {
5709
- let F = B[P], ee = y, se = !1, Y = !1;
5709
+ let F = B[P], te = y, se = !1, Y = !1;
5710
5710
  if (F === "DOMContentLoaded" && (F = "ready"), u.domLoaded && F === "ready" && n.readyState === "complete") {
5711
5711
  r.call(l, H0({ type: F }));
5712
5712
  continue;
5713
5713
  }
5714
- !u.hasFocusIn && (F === "focusin" || F === "focusout") && (se = !0, Y = F === "focusin" ? "focus" : "blur", ee = (re) => {
5714
+ !u.hasFocusIn && (F === "focusin" || F === "focusout") && (se = !0, Y = F === "focusin" ? "focus" : "blur", te = (re) => {
5715
5715
  const xe = H0(re || b.event);
5716
5716
  xe.type = xe.type === "focus" ? "focusin" : "focusout", u.executeHandlers(xe, k);
5717
5717
  }), f = u.events[k][F], f ? F === "ready" && u.domLoaded ? r(H0({ type: F })) : f.push({
@@ -5720,7 +5720,7 @@ var cq = { exports: {} };
5720
5720
  }) : (u.events[k][F] = f = [{
5721
5721
  func: r,
5722
5722
  scope: l
5723
- }], f.fakeName = Y, f.capture = se, f.nativeHandler = ee, F === "ready" ? qy(n, ee, u) : Bb(n, Y || F, ee, se));
5723
+ }], f.fakeName = Y, f.capture = se, f.nativeHandler = te, F === "ready" ? qy(n, te, u) : Bb(n, Y || F, te, se));
5724
5724
  }
5725
5725
  return n = f = null, r;
5726
5726
  }
@@ -5740,8 +5740,8 @@ var cq = { exports: {} };
5740
5740
  let B = k.length;
5741
5741
  for (; B--; )
5742
5742
  if (k[B].func === r) {
5743
- const P = k.nativeHandler, F = k.fakeName, ee = k.capture, se = k.slice(0, B).concat(k.slice(B + 1));
5744
- se.nativeHandler = P, se.fakeName = F, se.capture = ee, u[y] = se;
5743
+ const P = k.nativeHandler, F = k.fakeName, te = k.capture, se = k.slice(0, B).concat(k.slice(B + 1));
5744
+ se.nativeHandler = P, se.fakeName = F, se.capture = te, u[y] = se;
5745
5745
  }
5746
5746
  }
5747
5747
  (!r || k.length === 0) && (delete u[y], cp(n, k.fakeName || y, k.nativeHandler, k.capture));
@@ -5859,7 +5859,7 @@ var cq = { exports: {} };
5859
5859
  url_converter: n.url_converter,
5860
5860
  url_converter_scope: n.url_converter_scope,
5861
5861
  force_hex_color: n.force_hex_color
5862
- }, n.schema), F = n.ownEvents ? new ti() : ti.Event, ee = B.getBlockElements(), se = (Ne) => he(Ne) ? pn(ee, Ne) : qt(Ne) && (pn(ee, Ne.nodeName) || _o(B, Ne)), Y = (Ne) => Ne && e && he(Ne) ? e.getElementById(Ne) : Ne, re = (Ne) => {
5862
+ }, n.schema), F = n.ownEvents ? new ti() : ti.Event, te = B.getBlockElements(), se = (Ne) => he(Ne) ? pn(te, Ne) : qt(Ne) && (pn(te, Ne.nodeName) || _o(B, Ne)), Y = (Ne) => Ne && e && he(Ne) ? e.getElementById(Ne) : Ne, re = (Ne) => {
5863
5863
  const He = Y(Ne);
5864
5864
  return Ze(He) ? ie.fromDom(He) : null;
5865
5865
  }, xe = (Ne, He, St = "") => {
@@ -6418,7 +6418,7 @@ var cq = { exports: {} };
6418
6418
  prefix: Y.prefix,
6419
6419
  resource: re,
6420
6420
  suffix: Y.suffix
6421
- } : re, ee = (Y, re) => {
6421
+ } : re, te = (Y, re) => {
6422
6422
  if (n[Y])
6423
6423
  return Promise.resolve();
6424
6424
  let xe = he(re) ? re : re.prefix + re.resource + re.suffix;
@@ -6441,7 +6441,7 @@ var cq = { exports: {} };
6441
6441
  add: B,
6442
6442
  remove: P,
6443
6443
  createUrl: F,
6444
- load: ee,
6444
+ load: te,
6445
6445
  waitFor: se
6446
6446
  };
6447
6447
  };
@@ -6527,39 +6527,39 @@ var cq = { exports: {} };
6527
6527
  listeners: [],
6528
6528
  previous: Uf()
6529
6529
  }), l = (P, F) => {
6530
- u(P, (ee) => (F(ee), ee));
6530
+ u(P, (te) => (F(te), te));
6531
6531
  }, u = (P, F) => {
6532
- const ee = o.get(), se = Xo(ee, P).getOrThunk(r), Y = F(se);
6533
- ee[P] = Y, o.set(ee);
6534
- }, f = (P, F, ee) => {
6532
+ const te = o.get(), se = Xo(te, P).getOrThunk(r), Y = F(se);
6533
+ te[P] = Y, o.set(te);
6534
+ }, f = (P, F, te) => {
6535
6535
  l(P, (se) => {
6536
6536
  Te(se.listeners, (Y) => Y(!0, P, {
6537
6537
  uid: F,
6538
- nodes: Ye(ee, (re) => re.dom)
6538
+ nodes: Ye(te, (re) => re.dom)
6539
6539
  }));
6540
6540
  });
6541
6541
  }, b = (P) => {
6542
6542
  l(P, (F) => {
6543
- Te(F.listeners, (ee) => ee(!1, P));
6543
+ Te(F.listeners, (te) => te(!1, P));
6544
6544
  });
6545
6545
  }, y = (P, F) => {
6546
- Te(fC(e, P), (ee) => {
6547
- F ? xs(ee, gp(), "true") : lr(ee, gp());
6546
+ Te(fC(e, P), (te) => {
6547
+ F ? xs(te, gp(), "true") : lr(te, gp());
6548
6548
  });
6549
6549
  }, k = Fb(() => {
6550
6550
  const P = Ko(n.getNames());
6551
6551
  Te(P, (F) => {
6552
- u(F, (ee) => {
6553
- const se = ee.previous.get();
6552
+ u(F, (te) => {
6553
+ const se = te.previous.get();
6554
6554
  return kr(e, z.some(F)).fold(() => {
6555
6555
  se.each((Y) => {
6556
- b(F), ee.previous.clear(), y(Y, !1);
6556
+ b(F), te.previous.clear(), y(Y, !1);
6557
6557
  });
6558
6558
  }, ({ uid: Y, name: re, elements: xe }) => {
6559
- ls(se, Y) || (se.each((ke) => y(ke, !1)), f(re, Y, xe), ee.previous.set(Y), y(Y, !0));
6559
+ ls(se, Y) || (se.each((ke) => y(ke, !1)), f(re, Y, xe), te.previous.set(Y), y(Y, !0));
6560
6560
  }), {
6561
- previous: ee.previous,
6562
- listeners: ee.listeners
6561
+ previous: te.previous,
6562
+ listeners: te.listeners
6563
6563
  };
6564
6564
  });
6565
6565
  });
@@ -6569,9 +6569,9 @@ var cq = { exports: {} };
6569
6569
  }), e.on("NodeChange", () => {
6570
6570
  k.throttle();
6571
6571
  }), { addListener: (P, F) => {
6572
- u(P, (ee) => ({
6573
- previous: ee.previous,
6574
- listeners: ee.listeners.concat([F])
6572
+ u(P, (te) => ({
6573
+ previous: te.previous,
6574
+ listeners: te.listeners.concat([F])
6575
6575
  }));
6576
6576
  } };
6577
6577
  }, Ti = (e, n) => {
@@ -8286,7 +8286,7 @@ Required: ` + n.join(", "));
8286
8286
  }, Dl = (e, n, o) => fu(e, n, o, (r) => hv(r) || Hp(r)), Lu = (e, n, o) => fu(e, n, o, og), $c = (e, n, o, r, l, u) => {
8287
8287
  let f;
8288
8288
  const b = e.getParent(o, e.isBlock) || n, y = (B, P, F) => {
8289
- const ee = Wf(e), se = l ? ee.backwards : ee.forwards;
8289
+ const te = Wf(e), se = l ? te.backwards : te.forwards;
8290
8290
  return z.from(se(B, P, (Y, re) => Wp(Y.parentNode) ? -1 : (f = Y, F(l, Y, re)), b));
8291
8291
  };
8292
8292
  return y(o, r, Dl).bind((B) => u ? y(B.container, B.offset + (l ? -1 : 0), Lu) : z.some(B)).orThunk(() => f ? z.some({
@@ -8379,9 +8379,9 @@ Required: ` + n.join(", "));
8379
8379
  return P(u, F, !0);
8380
8380
  if (e.isChildOf(b, u))
8381
8381
  return P(b, F);
8382
- const ee = B(u, F) || u, se = B(b, F) || b;
8383
- P(u, ee, !0);
8384
- const Y = k(ee === u ? ee : ee.nextSibling, "nextSibling", se === b ? se.nextSibling : se);
8382
+ const te = B(u, F) || u, se = B(b, F) || b;
8383
+ P(u, te, !0);
8384
+ const Y = k(te === u ? te : te.nextSibling, "nextSibling", se === b ? se.nextSibling : se);
8385
8385
  Y.length && o(y(Y)), P(b, se);
8386
8386
  }, ew = [
8387
8387
  'pre[class*=language-][contenteditable="false"]',
@@ -8435,12 +8435,12 @@ Required: ` + n.join(", "));
8435
8435
  break;
8436
8436
  }
8437
8437
  }
8438
- }, ee = (se) => {
8438
+ }, te = (se) => {
8439
8439
  const Y = Ye(se, ie.fromDom);
8440
8440
  P(Y);
8441
8441
  };
8442
8442
  return S1(e.dom, n, (se) => {
8443
- k(), ee(se);
8443
+ k(), te(se);
8444
8444
  }), f;
8445
8445
  }, nw = (e, n, o, r) => {
8446
8446
  e.undoManager.transact(() => {
@@ -8595,7 +8595,7 @@ Required: ` + n.join(", "));
8595
8595
  ]
8596
8596
  }, xO = (e) => e.type === "longpress" || e.type.indexOf("touch") === 0, CO = (e, n) => {
8597
8597
  const o = n.dom, r = n.getDoc(), l = document, u = n.getBody();
8598
- let f, b, y, k, B, P, F, ee, se, Y, re, xe, ke, Se, Pe, at, wt;
8598
+ let f, b, y, k, B, P, F, te, se, Y, re, xe, ke, Se, Pe, at, wt;
8599
8599
  const Ft = (Ct) => Ze(Ct) && (Sl(Ct) || o.is(Ct, "figure.image")), We = (Ct) => pr(Ct) || o.hasClass(Ct, "mce-preview-object"), Ve = (Ct, Mn) => {
8600
8600
  if (xO(Ct)) {
8601
8601
  const Oo = Ct.touches[0];
@@ -8626,7 +8626,7 @@ Required: ` + n.join(", "));
8626
8626
  left: hs,
8627
8627
  top: Ha,
8628
8628
  display: "block"
8629
- }), y.innerHTML = Se + " &times; " + Pe, k[2] < 0 && b.clientWidth <= Se && o.setStyle(b, "left", ee + (Y - Se)), k[3] < 0 && b.clientHeight <= Pe && o.setStyle(b, "top", se + (re - Pe)), Mn = u.scrollWidth - at, Oo = u.scrollHeight - wt, Mn + Oo !== 0 && o.setStyles(y, {
8629
+ }), y.innerHTML = Se + " &times; " + Pe, k[2] < 0 && b.clientWidth <= Se && o.setStyle(b, "left", te + (Y - Se)), k[3] < 0 && b.clientHeight <= Pe && o.setStyle(b, "top", se + (re - Pe)), Mn = u.scrollWidth - at, Oo = u.scrollHeight - wt, Mn + Oo !== 0 && o.setStyles(y, {
8630
8630
  left: hs - Mn,
8631
8631
  top: Ha - Oo
8632
8632
  }), ke || (lw(n, f, Y, re, "corner-" + k.name), ke = !0);
@@ -9677,36 +9677,36 @@ Required: ` + n.join(", "));
9677
9677
  B(y);
9678
9678
  else {
9679
9679
  const P = y.name, F = P in n.getVoidElements();
9680
- let ee = y.attributes;
9681
- if (u && ee && ee.length > 1) {
9680
+ let te = y.attributes;
9681
+ if (u && te && te.length > 1) {
9682
9682
  const se = [];
9683
9683
  se.map = {};
9684
9684
  const Y = n.getElementRule(y.name);
9685
9685
  if (Y) {
9686
9686
  for (let re = 0, xe = Y.attributesOrder.length; re < xe; re++) {
9687
9687
  const ke = Y.attributesOrder[re];
9688
- if (ke in ee.map) {
9689
- const Se = ee.map[ke];
9688
+ if (ke in te.map) {
9689
+ const Se = te.map[ke];
9690
9690
  se.map[ke] = Se, se.push({
9691
9691
  name: ke,
9692
9692
  value: Se
9693
9693
  });
9694
9694
  }
9695
9695
  }
9696
- for (let re = 0, xe = ee.length; re < xe; re++) {
9697
- const ke = ee[re].name;
9696
+ for (let re = 0, xe = te.length; re < xe; re++) {
9697
+ const ke = te[re].name;
9698
9698
  if (!(ke in se.map)) {
9699
- const Se = ee.map[ke];
9699
+ const Se = te.map[ke];
9700
9700
  se.map[ke] = Se, se.push({
9701
9701
  name: ke,
9702
9702
  value: Se
9703
9703
  });
9704
9704
  }
9705
9705
  }
9706
- ee = se;
9706
+ te = se;
9707
9707
  }
9708
9708
  }
9709
- if (o.start(P, ee, F), cd(P))
9709
+ if (o.start(P, te, F), cd(P))
9710
9710
  he(y.value) && o.text(y.value, !0), o.end(P);
9711
9711
  else if (!F) {
9712
9712
  let se = y.firstChild;
@@ -10211,7 +10211,7 @@ Required: ` + n.join(", "));
10211
10211
  const l = n.getTextBlockElements(), u = n.getNonEmptyElements(), f = n.getWhitespaceElements(), b = ct.makeMap("tr,td,th,tbody,thead,tfoot,table,summary"), y = /* @__PURE__ */ new Set(), k = (B) => B !== o && !b[B.name];
10212
10212
  for (let B = 0; B < e.length; B++) {
10213
10213
  const P = e[B];
10214
- let F, ee, se;
10214
+ let F, te, se;
10215
10215
  if (!P.parent || y.has(P))
10216
10216
  continue;
10217
10217
  if (l[P.name] && P.parent.name === "li") {
@@ -10230,8 +10230,8 @@ Required: ` + n.join(", "));
10230
10230
  if (oS(n, P, F))
10231
10231
  tS(P, n);
10232
10232
  else {
10233
- Y.reverse(), ee = Y[0].clone(), r(ee);
10234
- let re = ee;
10233
+ Y.reverse(), te = Y[0].clone(), r(te);
10234
+ let re = te;
10235
10235
  for (let xe = 0; xe < Y.length - 1; xe++) {
10236
10236
  n.isValidChild(re.name, Y[xe].name) && xe > 0 ? (se = Y[xe].clone(), r(se), re.append(se)) : se = re;
10237
10237
  for (let ke = Y[xe].firstChild; ke && ke !== Y[xe + 1]; ) {
@@ -10240,7 +10240,7 @@ Required: ` + n.join(", "));
10240
10240
  }
10241
10241
  re = se;
10242
10242
  }
10243
- Vv(n, u, f, ee) ? F.insert(P, Y[0], !0) : (F.insert(ee, Y[0], !0), F.insert(P, ee)), F = Y[0], (Vv(n, u, f, F) || tE(F, "br")) && F.empty().remove();
10243
+ Vv(n, u, f, te) ? F.insert(P, Y[0], !0) : (F.insert(te, Y[0], !0), F.insert(P, te)), F = Y[0], (Vv(n, u, f, F) || tE(F, "br")) && F.empty().remove();
10244
10244
  }
10245
10245
  else if (P.parent) {
10246
10246
  if (P.name === "li") {
@@ -10321,7 +10321,7 @@ Required: ` + n.join(", "));
10321
10321
  }), zR(e, o);
10322
10322
  }, EI = (e, n, o, r) => (r.insertAfter(n.reverse(), e), cE(n[0], o)), iE = (e, n, o, r) => {
10323
10323
  const l = rE(n, e, r), u = ig(n, o.startContainer), f = Bw(HR(l.firstChild)), b = 1, y = 2, k = n.getRoot(), B = (P) => {
10324
- const F = Le.fromRangeStart(o), ee = hd(n.getRoot()), se = P === b ? ee.prev(F) : ee.next(F), Y = se == null ? void 0 : se.getNode();
10324
+ const F = Le.fromRangeStart(o), te = hd(n.getRoot()), se = P === b ? te.prev(F) : te.next(F), Y = se == null ? void 0 : se.getNode();
10325
10325
  return Y ? ig(n, Y) !== u : !0;
10326
10326
  };
10327
10327
  return u ? B(b) ? Vj(u, f, k) : B(y) ? EI(u, f, k, n) : TI(u, f, k, o) : null;
@@ -10387,17 +10387,17 @@ Required: ` + n.join(", "));
10387
10387
  const B = n.previousSibling;
10388
10388
  if (ut(B)) {
10389
10389
  k.setStart(B, (r = (o = B.nodeValue) === null || o === void 0 ? void 0 : o.length) !== null && r !== void 0 ? r : 0);
10390
- const ee = n.nextSibling;
10391
- ut(ee) && (B.appendData(ee.data), (l = ee.parentNode) === null || l === void 0 || l.removeChild(ee));
10390
+ const te = n.nextSibling;
10391
+ ut(te) && (B.appendData(te.data), (l = te.parentNode) === null || l === void 0 || l.removeChild(te));
10392
10392
  } else
10393
10393
  k.setStartBefore(n), k.setEndBefore(n);
10394
- const P = (ee) => {
10395
- let se = Le.fromRangeStart(ee);
10394
+ const P = (te) => {
10395
+ let se = Le.fromRangeStart(te);
10396
10396
  return se = hd(e.getBody()).next(se), se == null ? void 0 : se.toRange();
10397
10397
  }, F = f.getParent(n, f.isBlock);
10398
10398
  if (f.remove(n), F && f.isEmpty(F)) {
10399
- const ee = Wv(F);
10400
- Gc(ie.fromDom(F)), k.setStart(F, 0), k.setEnd(F, 0), !ee && !OI(F) && (u = P(k)) ? (k = u, f.remove(F)) : f.add(F, f.create("br", ee ? {} : { "data-mce-bogus": "1" }));
10399
+ const te = Wv(F);
10400
+ Gc(ie.fromDom(F)), k.setStart(F, 0), k.setEnd(F, 0), !te && !OI(F) && (u = P(k)) ? (k = u, f.remove(F)) : f.add(F, f.create("br", te ? {} : { "data-mce-bogus": "1" }));
10401
10401
  }
10402
10402
  b.setRng(k);
10403
10403
  }, Pw = (e) => {
@@ -10418,8 +10418,8 @@ Required: ` + n.join(", "));
10418
10418
  const u = e.selection, f = e.dom, b = e.parser, y = o.merge, k = Jp({ validate: !0 }, e.schema), B = '<span id="mce_marker" data-mce-type="bookmark">&#xFEFF;</span>';
10419
10419
  o.preserve_zwsp || (n = V(n)), n.indexOf("{$caret}") === -1 && (n += "{$caret}"), n = n.replace(/\{\$caret\}/, B);
10420
10420
  let P = u.getRng();
10421
- const F = P.startContainer, ee = e.getBody();
10422
- F === ee && u.isCollapsed() && f.isBlock(ee.firstChild) && ZR(e, ee.firstChild) && f.isEmpty(ee.firstChild) && (P = f.createRng(), P.setStart(ee.firstChild, 0), P.setEnd(ee.firstChild, 0), u.setRng(P)), u.isCollapsed() || Pw(e);
10421
+ const F = P.startContainer, te = e.getBody();
10422
+ F === te && u.isCollapsed() && f.isBlock(te.firstChild) && ZR(e, te.firstChild) && f.isEmpty(te.firstChild) && (P = f.createRng(), P.setStart(te.firstChild, 0), P.setEnd(te.firstChild, 0), u.setRng(P)), u.isCollapsed() || Pw(e);
10423
10423
  const se = u.getNode(), Y = {
10424
10424
  context: se.nodeName.toLowerCase(),
10425
10425
  data: o.data,
@@ -10668,29 +10668,29 @@ Required: ` + n.join(", "));
10668
10668
  let P = k;
10669
10669
  ut(k) && (B !== k.data.length && (f = !0), P = P.parentNode);
10670
10670
  const F = [];
10671
- let ee;
10671
+ let te;
10672
10672
  for (; P; ) {
10673
10673
  if (ug(e, P, n, o, r)) {
10674
- ee = P;
10674
+ te = P;
10675
10675
  break;
10676
10676
  }
10677
10677
  P.nextSibling && (f = !0), F.push(P), P = P.parentNode;
10678
10678
  }
10679
- if (ee)
10679
+ if (te)
10680
10680
  if (f) {
10681
10681
  const se = u.getBookmark();
10682
10682
  y.collapse(!0);
10683
10683
  let Y = of(l, y, b, !0);
10684
10684
  Y = L(Y), e.formatter.remove(n, o, Y, r), u.moveToBookmark(se);
10685
10685
  } else {
10686
- const se = ph(e.getBody(), ee), Y = Ze(se) ? l.getParents(ee.parentNode, bt, se) : [], re = vE(!1).dom;
10687
- uS(e, re, se ?? ee);
10688
- const xe = II(e, re, ee, n, o, r), ke = dS([
10686
+ const se = ph(e.getBody(), te), Y = Ze(se) ? l.getParents(te.parentNode, bt, se) : [], re = vE(!1).dom;
10687
+ uS(e, re, se ?? te);
10688
+ const xe = II(e, re, te, n, o, r), ke = dS([
10689
10689
  ...F,
10690
10690
  ...xe.toArray(),
10691
10691
  ...Y
10692
10692
  ], re);
10693
- se && yE(e, se, Ze(se)), u.setCursorLocation(ke, 1), l.isEmpty(ee) && l.remove(ee);
10693
+ se && yE(e, se, Ze(se)), u.setCursorLocation(ke, 1), l.isEmpty(te) && l.remove(te);
10694
10694
  }
10695
10695
  }, CE = (e, n, o) => {
10696
10696
  const r = e.selection, l = e.getBody();
@@ -10873,27 +10873,27 @@ Required: ` + n.join(", "));
10873
10873
  if (n.remove !== "all") {
10874
10874
  DE(u, y, n, o, l), Fw(n.attributes, (P, F) => {
10875
10875
  const {
10876
- name: ee,
10876
+ name: te,
10877
10877
  value: se
10878
10878
  } = Yv(F, P, o);
10879
- if (n.remove_similar || ae(se) || !qt(l) || Kv(u.getAttrib(l, ee), se)) {
10880
- if (ee === "class") {
10881
- const Y = u.getAttrib(y, ee);
10879
+ if (n.remove_similar || ae(se) || !qt(l) || Kv(u.getAttrib(l, te), se)) {
10880
+ if (te === "class") {
10881
+ const Y = u.getAttrib(y, te);
10882
10882
  if (Y) {
10883
10883
  let re = "";
10884
10884
  if (Te(Y.split(/\s+/), (xe) => {
10885
10885
  /mce\-\w+/.test(xe) && (re += (re ? " " : "") + xe);
10886
10886
  }), re) {
10887
- u.setAttrib(y, ee, re);
10887
+ u.setAttrib(y, te, re);
10888
10888
  return;
10889
10889
  }
10890
10890
  }
10891
10891
  }
10892
- if (c$.test(ee) && y.removeAttribute("data-mce-" + ee), ee === "style" && Br(["li"])(y) && u.getStyle(y, "list-style-type") === "none") {
10893
- y.removeAttribute(ee), u.setStyle(y, "list-style-type", "none");
10892
+ if (c$.test(te) && y.removeAttribute("data-mce-" + te), te === "style" && Br(["li"])(y) && u.getStyle(y, "list-style-type") === "none") {
10893
+ y.removeAttribute(te), u.setStyle(y, "list-style-type", "none");
10894
10894
  return;
10895
10895
  }
10896
- ee === "class" && y.removeAttribute("className"), y.removeAttribute(ee);
10896
+ te === "class" && y.removeAttribute("className"), y.removeAttribute(te);
10897
10897
  }
10898
10898
  }), Fw(n.classes, (P) => {
10899
10899
  P = bd(P, o), (!qt(l) || u.hasClass(l, P)) && u.removeClass(y, P);
@@ -10919,8 +10919,8 @@ Required: ` + n.join(", "));
10919
10919
  let B, P;
10920
10920
  const F = e.dom;
10921
10921
  if (o) {
10922
- const ee = o.parentNode;
10923
- for (let se = r.parentNode; se && se !== ee; se = se.parentNode) {
10922
+ const te = o.parentNode;
10923
+ for (let se = r.parentNode; se && se !== te; se = se.parentNode) {
10924
10924
  let Y = F.clone(se, !1);
10925
10925
  for (let re = 0; re < n.length && (Y = h$(e, n[re], b, Y), Y !== null); re++)
10926
10926
  ;
@@ -10950,7 +10950,7 @@ Required: ` + n.join(", "));
10950
10950
  styles: { textDecoration: at }
10951
10951
  }, void 0, Y);
10952
10952
  });
10953
- }, ee = (Y) => {
10953
+ }, te = (Y) => {
10954
10954
  const re = b.get(Y ? "_start" : "_end");
10955
10955
  if (re) {
10956
10956
  let xe = re[Y ? "firstChild" : "lastChild"];
@@ -10966,7 +10966,7 @@ Required: ` + n.join(", "));
10966
10966
  k(u$(b, Pe, !0, "span", {
10967
10967
  id: "_start",
10968
10968
  "data-mce-type": "bookmark"
10969
- })), ee(!0);
10969
+ })), te(!0);
10970
10970
  return;
10971
10971
  }
10972
10972
  if (bS(b, xe, re)) {
@@ -10974,7 +10974,7 @@ Required: ` + n.join(", "));
10974
10974
  k(u$(b, Pe, !1, "span", {
10975
10975
  id: "_end",
10976
10976
  "data-mce-type": "bookmark"
10977
- })), ee(!1);
10977
+ })), te(!1);
10978
10978
  return;
10979
10979
  }
10980
10980
  re = AE(b, re, "span", {
@@ -10989,7 +10989,7 @@ Required: ` + n.join(", "));
10989
10989
  Te(Pe, (at) => {
10990
10990
  !Oi(at) && !Oi(at.parentNode) && k(at);
10991
10991
  });
10992
- }), k(re), k(xe), re = ee(!0), xe = ee();
10992
+ }), k(re), k(xe), re = te(!0), xe = te();
10993
10993
  } else
10994
10994
  re = xe = k(re);
10995
10995
  ke.startContainer = re.parentNode ? re.parentNode : re, ke.startOffset = b.nodeIndex(re), ke.endContainer = xe.parentNode ? xe.parentNode : xe, ke.endOffset = b.nodeIndex(xe) + 1;
@@ -11130,9 +11130,9 @@ Required: ` + n.join(", "));
11130
11130
  }
11131
11131
  (Jr(u) || vd(u) && u.wrapper) && (!u.exact && Kt === 1 && (We = rt(We)), qI(e, l, o, We), KI(e, u, n, o, We), jI(se, u, o, We), ZI(se, u, o, We), GI(se, u, o, We), hS(e, u, o, We));
11132
11132
  });
11133
- }, ee = g1(r) ? r : y.getNode();
11134
- if (b.getContentEditable(ee) === "false" && !p1(e, ee)) {
11135
- r = ee, B(l, r), Ol(e, n, r, o);
11133
+ }, te = g1(r) ? r : y.getNode();
11134
+ if (b.getContentEditable(te) === "false" && !p1(e, te)) {
11135
+ r = te, B(l, r), Ol(e, n, r, o);
11136
11136
  return;
11137
11137
  }
11138
11138
  if (u) {
@@ -11310,8 +11310,8 @@ Required: ` + n.join(", "));
11310
11310
  f.body = 1;
11311
11311
  const k = (B) => B.name in f || zm(o, B);
11312
11312
  for (let B = 0, P = r.length; B < P; B++) {
11313
- let F = r[B], ee = F.parent;
11314
- if (ee && k(ee) && F === ee.lastChild) {
11313
+ let F = r[B], te = F.parent;
11314
+ if (te && k(te) && F === te.lastChild) {
11315
11315
  let se = F.prev;
11316
11316
  for (; se; ) {
11317
11317
  const Y = se.name;
@@ -11321,15 +11321,15 @@ Required: ` + n.join(", "));
11321
11321
  }
11322
11322
  se = se.prev;
11323
11323
  }
11324
- if (F && (F.remove(), Vv(o, b, y, ee))) {
11325
- const Y = o.getElementRule(ee.name);
11326
- Y && (Y.removeEmpty ? ee.remove() : Y.paddEmpty && eS(e, u, k, ee));
11324
+ if (F && (F.remove(), Vv(o, b, y, te))) {
11325
+ const Y = o.getElementRule(te.name);
11326
+ Y && (Y.removeEmpty ? te.remove() : Y.paddEmpty && eS(e, u, k, te));
11327
11327
  }
11328
11328
  } else {
11329
11329
  let se = F;
11330
- for (; ee && ee.firstChild === se && ee.lastChild === se && (se = ee, !f[ee.name]); )
11331
- ee = ee.parent;
11332
- if (se === ee) {
11330
+ for (; te && te.firstChild === se && te.lastChild === se && (se = te, !f[te.name]); )
11331
+ te = te.parent;
11332
+ if (se === te) {
11333
11333
  const Y = new Bc("#text", 3);
11334
11334
  Y.value = Po, F.replace(Y);
11335
11335
  }
@@ -11452,8 +11452,8 @@ Required: ` + n.join(", "));
11452
11452
  let B = "";
11453
11453
  for (let P = 0; P < k.length; P++) {
11454
11454
  const F = k[P];
11455
- let ee = !1, se = r["*"];
11456
- se && se[F] && (ee = !0), se = r[b.name], !ee && se && se[F] && (ee = !0), ee && (B && (B += " "), B += F);
11455
+ let te = !1, se = r["*"];
11456
+ se && se[F] && (te = !0), se = r[b.name], !te && se && se[F] && (te = !0), te && (B && (B += " "), B += F);
11457
11457
  }
11458
11458
  B.length || (B = null), b.attr("class", B);
11459
11459
  }
@@ -12173,7 +12173,7 @@ Required: ` + n.join(", "));
12173
12173
  return n.isSupported = !1, n;
12174
12174
  const o = e.document, r = o.currentScript;
12175
12175
  let { document: l } = e;
12176
- const { DocumentFragment: u, HTMLTemplateElement: f, Node: b, Element: y, NodeFilter: k, NamedNodeMap: B = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: P, DOMParser: F, trustedTypes: ee } = e, se = y.prototype, Y = CS(se, "cloneNode"), re = CS(se, "nextSibling"), xe = CS(se, "childNodes"), ke = CS(se, "parentNode");
12176
+ const { DocumentFragment: u, HTMLTemplateElement: f, Node: b, Element: y, NodeFilter: k, NamedNodeMap: B = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: P, DOMParser: F, trustedTypes: te } = e, se = y.prototype, Y = CS(se, "cloneNode"), re = CS(se, "nextSibling"), xe = CS(se, "childNodes"), ke = CS(se, "parentNode");
12177
12177
  if (typeof f == "function") {
12178
12178
  const ao = l.createElement("template");
12179
12179
  ao.content && ao.content.ownerDocument && (l = ao.content.ownerDocument);
@@ -12300,7 +12300,7 @@ Required: ` + n.join(", "));
12300
12300
  throw Qv('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
12301
12301
  Se = ze.TRUSTED_TYPES_POLICY, Pe = Se.createHTML("");
12302
12302
  } else
12303
- Se === void 0 && (Se = W$(ee, r)), Se !== null && typeof Pe == "string" && (Pe = Se.createHTML(""));
12303
+ Se === void 0 && (Se = W$(te, r)), Se !== null && typeof Pe == "string" && (Pe = Se.createHTML(""));
12304
12304
  la && la(ze), C0 = ze;
12305
12305
  }
12306
12306
  }, Eg = fs({}, [
@@ -12475,8 +12475,8 @@ Required: ` + n.join(", "));
12475
12475
  fo(wm, ze);
12476
12476
  continue;
12477
12477
  }
12478
- if ($s && (Vr === "id" || Vr === "name") && (fo(wm, ze), kn = tr + kn), Se && typeof ee == "object" && typeof ee.getAttributeType == "function" && !C4)
12479
- switch (ee.getAttributeType(nO, Vr)) {
12478
+ if ($s && (Vr === "id" || Vr === "name") && (fo(wm, ze), kn = tr + kn), Se && typeof te == "object" && typeof te.getAttributeType == "function" && !C4)
12479
+ switch (te.getAttributeType(nO, Vr)) {
12480
12480
  case "TrustedHTML": {
12481
12481
  kn = Se.createHTML(kn);
12482
12482
  break;
@@ -12737,8 +12737,8 @@ Required: ` + n.join(", "));
12737
12737
  }
12738
12738
  if (e.nodeType !== ac || P === "body")
12739
12739
  return;
12740
- const F = ie.fromDom(e), ee = Zr(F, ZE), se = Ga(F, "data-mce-bogus");
12741
- if (!ee && he(se)) {
12740
+ const F = ie.fromDom(e), te = Zr(F, ZE), se = Ga(F, "data-mce-bogus");
12741
+ if (!te && he(se)) {
12742
12742
  se === "all" ? Eo(F) : cl(F);
12743
12743
  return;
12744
12744
  }
@@ -12748,7 +12748,7 @@ Required: ` + n.join(", "));
12748
12748
  return;
12749
12749
  } else
12750
12750
  Ze(l) && (l.allowedTags[P] = !0);
12751
- if (k && Y && !ee) {
12751
+ if (k && Y && !te) {
12752
12752
  if (Te((b = Y.attributesForced) !== null && b !== void 0 ? b : [], (re) => {
12753
12753
  xs(F, re.name, re.value === "{$uid}" ? `mce_${K$++}` : re.value);
12754
12754
  }), Te((y = Y.attributesDefault) !== null && y !== void 0 ? y : [], (re) => {
@@ -12842,7 +12842,7 @@ Required: ` + n.join(", "));
12842
12842
  const k = f[b], B = new Bc(k.nodeName.toLowerCase(), k.nodeType);
12843
12843
  if (qt(k)) {
12844
12844
  const P = k.attributes;
12845
- for (let F = 0, ee = P.length; F < ee; F++) {
12845
+ for (let F = 0, te = P.length; F < te; F++) {
12846
12846
  const se = P[F];
12847
12847
  B.attr(se.name, se.value);
12848
12848
  }
@@ -12869,7 +12869,7 @@ Required: ` + n.join(", "));
12869
12869
  Se = Se.parent;
12870
12870
  }
12871
12871
  return !1;
12872
- }, ee = (ke) => {
12872
+ }, te = (ke) => {
12873
12873
  let Se = ke;
12874
12874
  for (; Ze(Se); ) {
12875
12875
  if (Se.name in y)
@@ -12895,7 +12895,7 @@ Required: ` + n.join(", "));
12895
12895
  const Pe = n.getElementRule(ke.name);
12896
12896
  if (l && Pe) {
12897
12897
  const at = Vv(n, u, f, ke);
12898
- Pe.paddInEmptyBlock && at && ee(ke) ? eS(o, r, se, ke) : Pe.removeEmpty && at ? se(ke) ? ke.remove() : ke.unwrap() : Pe.paddEmpty && (at || BR(ke)) && eS(o, r, se, ke);
12898
+ Pe.paddInEmptyBlock && at && te(ke) ? eS(o, r, se, ke) : Pe.removeEmpty && at ? se(ke) ? ke.remove() : ke.unwrap() : Pe.paddEmpty && (at || BR(ke)) && eS(o, r, se, ke);
12899
12899
  }
12900
12900
  } else if (ke.type === 3 && !F(ke)) {
12901
12901
  let Pe = (Se = ke.value) !== null && Se !== void 0 ? Se : "";
@@ -12916,7 +12916,7 @@ Required: ` + n.join(", "));
12916
12916
  }, u = new DOMParser(), f = _L(l, n), b = (Se, Pe, at = "html") => {
12917
12917
  const wt = at === "xhtml" ? "application/xhtml+xml" : "text/html", Ft = pn(n.getSpecialElements(), Pe.toLowerCase()), We = Ft ? `<${Pe}>${Se}</${Pe}>` : Se, Ve = at === "xhtml" ? `<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>${We}</body></html>` : `<body>${We}</body>`, rt = u.parseFromString(Ve, wt).body;
12918
12918
  return f.sanitizeHtmlElement(rt, wt), Ft ? rt.firstChild : rt;
12919
- }, y = o.addFilter, k = o.getFilters, B = o.removeFilter, P = r.addFilter, F = r.getFilters, ee = r.removeFilter, se = (Se, Pe) => {
12919
+ }, y = o.addFilter, k = o.getFilters, B = o.removeFilter, P = r.addFilter, F = r.getFilters, te = r.removeFilter, se = (Se, Pe) => {
12920
12920
  oS(n, Se) && Pe.push(Se);
12921
12921
  }, Y = (Se, Pe) => {
12922
12922
  const at = he(Pe.attr(ZE)), wt = Pe.type === 1 && !pn(Se, Pe.name) && !zm(n, Pe) && !cd(Pe.name);
@@ -12939,7 +12939,7 @@ Required: ` + n.join(", "));
12939
12939
  schema: n,
12940
12940
  addAttributeFilter: P,
12941
12941
  getAttributeFilters: F,
12942
- removeAttributeFilter: ee,
12942
+ removeAttributeFilter: te,
12943
12943
  addNodeFilter: y,
12944
12944
  getNodeFilters: k,
12945
12945
  removeNodeFilter: B,
@@ -13124,8 +13124,8 @@ Required: ` + n.join(", "));
13124
13124
  if (F === -1)
13125
13125
  return y;
13126
13126
  {
13127
- const ee = RS(P, F - 1), se = RS(P, F + y.length);
13128
- return (ee ? " " : "") + y + (se ? " " : "");
13127
+ const te = RS(P, F - 1), se = RS(P, F + y.length);
13128
+ return (te ? " " : "") + y + (se ? " " : "");
13129
13129
  }
13130
13130
  } else
13131
13131
  return y;
@@ -13156,15 +13156,15 @@ Required: ` + n.join(", "));
13156
13156
  start: B,
13157
13157
  end: P,
13158
13158
  diag: F
13159
- }), f = (B, P, F, ee, se) => {
13160
- const Y = y(B, P, F, ee);
13161
- if (Y === null || Y.start === P && Y.diag === P - ee || Y.end === B && Y.diag === B - F) {
13159
+ }), f = (B, P, F, te, se) => {
13160
+ const Y = y(B, P, F, te);
13161
+ if (Y === null || Y.start === P && Y.diag === P - te || Y.end === B && Y.diag === B - F) {
13162
13162
  let re = B, xe = F;
13163
- for (; re < P || xe < ee; )
13164
- re < P && xe < ee && e[re] === n[xe] ? (se.push([
13163
+ for (; re < P || xe < te; )
13164
+ re < P && xe < te && e[re] === n[xe] ? (se.push([
13165
13165
  qw,
13166
13166
  e[re]
13167
- ]), ++re, ++xe) : P - B > ee - F ? (se.push([
13167
+ ]), ++re, ++xe) : P - B > te - F ? (se.push([
13168
13168
  s5,
13169
13169
  e[re]
13170
13170
  ]), ++re) : (se.push([
@@ -13178,15 +13178,15 @@ Required: ` + n.join(", "));
13178
13178
  qw,
13179
13179
  e[re]
13180
13180
  ]);
13181
- f(Y.end, P, Y.end - Y.diag, ee, se);
13181
+ f(Y.end, P, Y.end - Y.diag, te, se);
13182
13182
  }
13183
- }, b = (B, P, F, ee) => {
13183
+ }, b = (B, P, F, te) => {
13184
13184
  let se = B;
13185
- for (; se - P < ee && se < F && e[se] === n[se - P]; )
13185
+ for (; se - P < te && se < F && e[se] === n[se - P]; )
13186
13186
  ++se;
13187
13187
  return u(B, se, P);
13188
- }, y = (B, P, F, ee) => {
13189
- const se = P - B, Y = ee - F;
13188
+ }, y = (B, P, F, te) => {
13189
+ const se = P - B, Y = te - F;
13190
13190
  if (se === 0 || Y === 0)
13191
13191
  return null;
13192
13192
  const re = se - Y, xe = Y + se, ke = (xe % 2 === 0 ? xe : xe + 1) / 2;
@@ -13194,16 +13194,16 @@ Required: ` + n.join(", "));
13194
13194
  let Se, Pe, at, wt, Ft;
13195
13195
  for (Se = 0; Se <= ke; ++Se) {
13196
13196
  for (Pe = -Se; Pe <= Se; Pe += 2) {
13197
- for (at = Pe + ke, Pe === -Se || Pe !== Se && r[at - 1] < r[at + 1] ? r[at] = r[at + 1] : r[at] = r[at - 1] + 1, wt = r[at], Ft = wt - B + F - Pe; wt < P && Ft < ee && e[wt] === n[Ft]; )
13197
+ for (at = Pe + ke, Pe === -Se || Pe !== Se && r[at - 1] < r[at + 1] ? r[at] = r[at + 1] : r[at] = r[at - 1] + 1, wt = r[at], Ft = wt - B + F - Pe; wt < P && Ft < te && e[wt] === n[Ft]; )
13198
13198
  r[at] = ++wt, ++Ft;
13199
13199
  if (re % 2 !== 0 && re - Se <= Pe && Pe <= re + Se && l[at - re] <= r[at])
13200
- return b(l[at - re], Pe + B - F, P, ee);
13200
+ return b(l[at - re], Pe + B - F, P, te);
13201
13201
  }
13202
13202
  for (Pe = re - Se; Pe <= re + Se; Pe += 2) {
13203
13203
  for (at = Pe + ke - re, Pe === re - Se || Pe !== re + Se && l[at + 1] <= l[at - 1] ? l[at] = l[at + 1] - 1 : l[at] = l[at - 1], wt = l[at] - 1, Ft = wt - B + F - Pe; wt >= B && Ft >= F && e[wt] === n[Ft]; )
13204
13204
  l[at] = wt--, Ft--;
13205
13205
  if (re % 2 === 0 && -Se <= Pe && Pe <= Se && l[at] <= r[at + re])
13206
- return b(l[at], Pe + B - F, P, ee);
13206
+ return b(l[at], Pe + B - F, P, te);
13207
13207
  }
13208
13208
  }
13209
13209
  return null;
@@ -13398,7 +13398,7 @@ Required: ` + n.join(", "));
13398
13398
  apply: (k, B, P) => l.apply(k, n(B)),
13399
13399
  remove: (k, B, P, F) => l.remove(k, n(B)),
13400
13400
  toggle: (k, B, P) => l.toggle(k, n(B)),
13401
- formatChanged: (k, B, P, F, ee) => l.formatChanged(B, P, F, ee)
13401
+ formatChanged: (k, B, P, F, te) => l.formatChanged(B, P, F, te)
13402
13402
  },
13403
13403
  editor: {
13404
13404
  getContent: (k) => u.getContent(k),
@@ -13536,18 +13536,18 @@ Required: ` + n.join(", "));
13536
13536
  o = {}, r = {}, n.on("NodeChange", (b) => {
13537
13537
  const y = b.element, k = u(y), B = {};
13538
13538
  vt(o, (P, F) => {
13539
- l(F, k).each((ee) => {
13539
+ l(F, k).each((te) => {
13540
13540
  r[F] || (Te(P, (se) => {
13541
13541
  se(!0, {
13542
- node: ee,
13542
+ node: te,
13543
13543
  selector: F,
13544
13544
  parents: k
13545
13545
  });
13546
13546
  }), r[F] = P), B[F] = P;
13547
13547
  });
13548
13548
  }), vt(r, (P, F) => {
13549
- B[F] || (delete r[F], Te(P, (ee) => {
13550
- ee(!1, {
13549
+ B[F] || (delete r[F], Te(P, (te) => {
13550
+ te(!1, {
13551
13551
  node: y,
13552
13552
  selector: F,
13553
13553
  parents: k
@@ -13571,7 +13571,7 @@ Required: ` + n.join(", "));
13571
13571
  const { selectorChangedWithUnbind: f } = T6(e, r), b = (Et, on) => {
13572
13572
  const Kn = e.createRng();
13573
13573
  Ze(Et) && Ze(on) ? (Kn.setStart(Et, on), Kn.setEnd(Et, on), Pe(Kn), xe(!1)) : (Y2(e, Kn, r.getBody(), !0), Pe(Kn));
13574
- }, y = (Et) => fF(r, Et), k = (Et, on) => vF(r, Et, on), B = (Et) => CT(r.getBody(), Se(), Et), P = (Et) => NO(r.getBody(), Se(), Et), F = (Et, on) => Ml.getBookmark(Et, on), ee = (Et) => Ml.moveToBookmark(Et), se = (Et, on) => (pN(e, Et, on).each(Pe), Et), Y = () => {
13574
+ }, y = (Et) => fF(r, Et), k = (Et, on) => vF(r, Et, on), B = (Et) => CT(r.getBody(), Se(), Et), P = (Et) => NO(r.getBody(), Se(), Et), F = (Et, on) => Ml.getBookmark(Et, on), te = (Et) => Ml.moveToBookmark(Et), se = (Et, on) => (pN(e, Et, on).each(Pe), Et), Y = () => {
13575
13575
  const Et = Se(), on = ke();
13576
13576
  return !Et || Et.item ? !1 : Et.compareEndPoints ? Et.compareEndPoints("StartToEnd", Et) === 0 : !on || Et.collapsed;
13577
13577
  }, re = () => {
@@ -13649,7 +13649,7 @@ Required: ` + n.join(", "));
13649
13649
  getContent: y,
13650
13650
  setContent: k,
13651
13651
  getBookmark: F,
13652
- moveToBookmark: ee,
13652
+ moveToBookmark: te,
13653
13653
  select: se,
13654
13654
  isCollapsed: Y,
13655
13655
  isEditable: re,
@@ -13828,8 +13828,8 @@ Required: ` + n.join(", "));
13828
13828
  const B = {
13829
13829
  format: "html",
13830
13830
  ...k
13831
- }, P = wF(n, y, B), F = CF(l, P, B), ee = _F(f, F, B);
13832
- return B.format === "tree" ? ee : O6(n, r, u, ee, B);
13831
+ }, P = wF(n, y, B), F = CF(l, P, B), te = _F(f, F, B);
13832
+ return B.format === "tree" ? te : O6(n, r, u, te, B);
13833
13833
  };
13834
13834
  return {
13835
13835
  schema: u,
@@ -13990,17 +13990,17 @@ Options:${f}${o.join(f)}` : "";
13990
13990
  const n = [], o = () => {
13991
13991
  const F = e.theme;
13992
13992
  return F && F.getNotificationManagerImpl ? F.getNotificationManagerImpl() : H6();
13993
- }, r = () => z.from(n[0]), l = (F, ee) => F.type === ee.type && F.text === ee.text && !F.progressBar && !F.timeout && !ee.progressBar && !ee.timeout, u = () => {
13993
+ }, r = () => z.from(n[0]), l = (F, te) => F.type === te.type && F.text === te.text && !F.progressBar && !F.timeout && !te.progressBar && !te.timeout, u = () => {
13994
13994
  Te(n, (F) => {
13995
13995
  F.reposition();
13996
13996
  });
13997
13997
  }, f = (F) => {
13998
13998
  n.push(F);
13999
13999
  }, b = (F) => {
14000
- yr(n, (ee) => ee === F).each((ee) => {
14001
- n.splice(ee, 1);
14000
+ yr(n, (te) => te === F).each((te) => {
14001
+ n.splice(te, 1);
14002
14002
  });
14003
- }, y = (F, ee = !0) => e.removed || !F6(e) ? {} : (ee && e.dispatch("BeforeOpenNotification", { notification: F }), ps(n, (se) => l(o().getArgs(se), F)).getOrThunk(() => {
14003
+ }, y = (F, te = !0) => e.removed || !F6(e) ? {} : (te && e.dispatch("BeforeOpenNotification", { notification: F }), ps(n, (se) => l(o().getArgs(se), F)).getOrThunk(() => {
14004
14004
  e.editorManager.setActive(e);
14005
14005
  const se = o().open(F, () => {
14006
14006
  b(se), u(), MO(e) && r().fold(() => e.focus(), (Y) => A_(ie.fromDom(Y.getEl())));
@@ -14013,17 +14013,17 @@ Options:${f}${o.join(f)}` : "";
14013
14013
  }, B = st(n);
14014
14014
  return ((F) => {
14015
14015
  F.on("SkinLoaded", () => {
14016
- const ee = m3(F);
14017
- ee && y({
14018
- text: ee,
14016
+ const te = m3(F);
14017
+ te && y({
14018
+ text: te,
14019
14019
  type: "warning",
14020
14020
  timeout: 0
14021
14021
  }, !1), u();
14022
14022
  }), F.on("show ResizeEditor ResizeWindow NodeChange", () => {
14023
14023
  requestAnimationFrame(u);
14024
14024
  }), F.on("remove", () => {
14025
- Te(n.slice(), (ee) => {
14026
- o().close(ee);
14025
+ Te(n.slice(), (te) => {
14026
+ o().close(te);
14027
14027
  });
14028
14028
  });
14029
14029
  })(e), {
@@ -14064,7 +14064,7 @@ Options:${f}${o.join(f)}` : "";
14064
14064
  }, B = (Y, re) => k(() => o().open(Y, re, b)), P = (Y) => k(() => o().openUrl(Y, b)), F = (Y, re, xe) => {
14065
14065
  const ke = o();
14066
14066
  ke.alert(Y, r(xe || ke, re));
14067
- }, ee = (Y, re, xe) => {
14067
+ }, te = (Y, re, xe) => {
14068
14068
  const ke = o();
14069
14069
  ke.confirm(Y, r(xe || ke, re));
14070
14070
  }, se = () => {
@@ -14080,7 +14080,7 @@ Options:${f}${o.join(f)}` : "";
14080
14080
  open: B,
14081
14081
  openUrl: P,
14082
14082
  alert: F,
14083
- confirm: ee,
14083
+ confirm: te,
14084
14084
  close: se
14085
14085
  };
14086
14086
  }, HF = (e, n) => {
@@ -14148,23 +14148,23 @@ Options:${f}${o.join(f)}` : "";
14148
14148
  } };
14149
14149
  }, Z6 = () => {
14150
14150
  let o = {};
14151
- const r = (F, ee) => ({
14151
+ const r = (F, te) => ({
14152
14152
  status: F,
14153
- resultUri: ee
14153
+ resultUri: te
14154
14154
  }), l = (F) => F in o;
14155
14155
  return {
14156
14156
  hasBlobUri: l,
14157
14157
  getResultUri: (F) => {
14158
- const ee = o[F];
14159
- return ee ? ee.resultUri : null;
14158
+ const te = o[F];
14159
+ return te ? te.resultUri : null;
14160
14160
  },
14161
14161
  isPending: (F) => l(F) ? o[F].status === 1 : !1,
14162
14162
  isUploaded: (F) => l(F) ? o[F].status === 2 : !1,
14163
14163
  markPending: (F) => {
14164
14164
  o[F] = r(1, null);
14165
14165
  },
14166
- markUploaded: (F, ee) => {
14167
- o[F] = r(2, ee);
14166
+ markUploaded: (F, te) => {
14167
+ o[F] = r(2, te);
14168
14168
  },
14169
14169
  removeFailed: (F) => {
14170
14170
  delete o[F];
@@ -14191,14 +14191,14 @@ Options:${f}${o.join(f)}` : "";
14191
14191
  "image/webp": "webp",
14192
14192
  "image/bmp": "bmp",
14193
14193
  "image/tiff": "tiff"
14194
- })[P.toLowerCase()] || "dat", o = (P, F, ee, se, Y) => {
14194
+ })[P.toLowerCase()] || "dat", o = (P, F, te, se, Y) => {
14195
14195
  if (he(P))
14196
14196
  return r({
14197
14197
  id: P,
14198
14198
  name: se,
14199
14199
  filename: Y,
14200
14200
  blob: F,
14201
- base64: ee
14201
+ base64: te
14202
14202
  });
14203
14203
  if (Tt(P))
14204
14204
  return r(P);
@@ -14206,11 +14206,11 @@ Options:${f}${o.join(f)}` : "";
14206
14206
  }, r = (P) => {
14207
14207
  if (!P.blob || !P.base64)
14208
14208
  throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");
14209
- const F = P.id || VS("blobid"), ee = P.name || F, se = P.blob;
14209
+ const F = P.id || VS("blobid"), te = P.name || F, se = P.blob;
14210
14210
  return {
14211
14211
  id: st(F),
14212
- name: st(ee),
14213
- filename: st(P.filename || ee + "." + n(se.type)),
14212
+ name: st(te),
14213
+ filename: st(P.filename || te + "." + n(se.type)),
14214
14214
  blob: st(se),
14215
14215
  base64: st(P.base64),
14216
14216
  blobUri: st(P.blobUri || URL.createObjectURL(se)),
@@ -14224,7 +14224,7 @@ Options:${f}${o.join(f)}` : "";
14224
14224
  add: l,
14225
14225
  get: f,
14226
14226
  getByUri: (P) => u((F) => F.blobUri() === P),
14227
- getByData: (P, F) => u((ee) => ee.base64() === P && ee.blob().type === F),
14227
+ getByData: (P, F) => u((te) => te.base64() === P && te.blob().type === F),
14228
14228
  findFirst: u,
14229
14229
  removeByUri: (P) => {
14230
14230
  e = Ut(e, (F) => F.blobUri() === P ? (URL.revokeObjectURL(F.blobUri()), !1) : !0);
@@ -14296,8 +14296,8 @@ Options:${f}${o.join(f)}` : "";
14296
14296
  return new Promise((xe) => {
14297
14297
  o[re] = o[re] || [], o[re].push(xe);
14298
14298
  });
14299
- }, ee = (Y, re) => (Y = ct.grep(Y, (xe) => !e.isUploaded(xe.blobUri())), Promise.all(ct.map(Y, (xe) => e.isPending(xe.blobUri()) ? F(xe) : B(xe, u, re))));
14300
- return { upload: (Y, re) => !n.url && P(u) ? f() : ee(Y, re) };
14299
+ }, te = (Y, re) => (Y = ct.grep(Y, (xe) => !e.isUploaded(xe.blobUri())), Promise.all(ct.map(Y, (xe) => e.isPending(xe.blobUri()) ? F(xe) : B(xe, u, re))));
14300
+ return { upload: (Y, re) => !n.url && P(u) ? f() : te(Y, re) };
14301
14301
  }, e9 = (e) => () => e.notificationManager.open({
14302
14302
  text: e.translate("Image uploading..."),
14303
14303
  type: "info",
@@ -14358,7 +14358,7 @@ Options:${f}${o.join(f)}` : "";
14358
14358
  });
14359
14359
  }) : Ft && e.undoManager.dispatchChange(), We;
14360
14360
  }));
14361
- }))), ee = () => DC(e) ? F() : Promise.resolve([]), se = (Se) => nr(u, (Pe) => Pe(Se)), Y = (Se) => {
14361
+ }))), te = () => DC(e) ? F() : Promise.resolve([]), se = (Se) => nr(u, (Pe) => Pe(Se)), Y = (Se) => {
14362
14362
  u.push(Se);
14363
14363
  }, re = () => (r || (r = KF(l, n)), r.findAll(e.getBody(), se).then(f((Se) => {
14364
14364
  const Pe = Ut(Se, (at) => he(at) ? (FS(e, at), !1) : at.uriType !== "blob");
@@ -14375,7 +14375,7 @@ Options:${f}${o.join(f)}` : "";
14375
14375
  return Ft || (Ft = Vo(e.editorManager.get(), (We, Ve) => We || Ve.editorUpload && Ve.editorUpload.blobCache.getByUri(at), void 0)), Ft ? 'src="data:' + Ft.blob().type + ";base64," + Ft.base64() + '"' : Pe;
14376
14376
  });
14377
14377
  return e.on("SetContent", () => {
14378
- DC(e) ? ee() : re();
14378
+ DC(e) ? te() : re();
14379
14379
  }), e.on("RawSaveContent", (Se) => {
14380
14380
  Se.content = ke(Se.content);
14381
14381
  }), e.on("GetContent", (Se) => {
@@ -14394,7 +14394,7 @@ Options:${f}${o.join(f)}` : "";
14394
14394
  blobCache: n,
14395
14395
  addFilter: Y,
14396
14396
  uploadImages: F,
14397
- uploadImagesAuto: ee,
14397
+ uploadImagesAuto: te,
14398
14398
  scanForImages: re,
14399
14399
  destroy: xe
14400
14400
  };
@@ -14807,9 +14807,9 @@ Options:${f}${o.join(f)}` : "";
14807
14807
  return P && P.length ? k && Ke(P, k) ? k : P[0] : !1;
14808
14808
  }, f = (y, k, B) => {
14809
14809
  let P;
14810
- const F = k[0], ee = ry(F) ? F.name : void 0, se = u(y, ee);
14810
+ const F = k[0], te = ry(F) ? F.name : void 0, se = u(y, te);
14811
14811
  if (se)
14812
- ee === se ? (P = F, k = k.slice(1)) : P = se;
14812
+ te === se ? (P = F, k = k.slice(1)) : P = se;
14813
14813
  else if (F)
14814
14814
  P = F, k = k.slice(1);
14815
14815
  else if (!B)
@@ -14861,7 +14861,7 @@ Options:${f}${o.join(f)}` : "";
14861
14861
  let o = "", r = BC(e);
14862
14862
  if (r === "")
14863
14863
  return "";
14864
- const l = (F) => he(F) ? F.replace(/%(\w+)/g, "") : "", u = (F, ee) => bc.getStyle(ee ?? e.getBody(), F, !0);
14864
+ const l = (F) => he(F) ? F.replace(/%(\w+)/g, "") : "", u = (F, te) => bc.getStyle(te ?? e.getBody(), F, !0);
14865
14865
  if (he(n)) {
14866
14866
  const F = e.formatter.get(n);
14867
14867
  if (!F)
@@ -14878,29 +14878,29 @@ Options:${f}${o.join(f)}` : "";
14878
14878
  const y = _5(n.selector);
14879
14879
  y.length > 0 ? (y[0].name || (y[0].name = f), f = n.selector, b = ox(y, e)) : b = ox([f], e);
14880
14880
  const k = bc.select(f, b)[0] || b.firstChild;
14881
- vg(n.styles, (F, ee) => {
14881
+ vg(n.styles, (F, te) => {
14882
14882
  const se = l(F);
14883
- se && bc.setStyle(k, ee, se);
14884
- }), vg(n.attributes, (F, ee) => {
14883
+ se && bc.setStyle(k, te, se);
14884
+ }), vg(n.attributes, (F, te) => {
14885
14885
  const se = l(F);
14886
- se && bc.setAttrib(k, ee, se);
14886
+ se && bc.setAttrib(k, te, se);
14887
14887
  }), vg(n.classes, (F) => {
14888
- const ee = l(F);
14889
- bc.hasClass(k, ee) || bc.addClass(k, ee);
14888
+ const te = l(F);
14889
+ bc.hasClass(k, te) || bc.addClass(k, te);
14890
14890
  }), e.dispatch("PreviewFormats"), bc.setStyles(b, {
14891
14891
  position: "absolute",
14892
14892
  left: -65535
14893
14893
  }), e.getBody().appendChild(b);
14894
14894
  const B = u("fontSize"), P = /px$/.test(B) ? parseInt(B, 10) : 0;
14895
14895
  return vg(r.split(" "), (F) => {
14896
- let ee = u(F, k);
14897
- if (!(F === "background-color" && /transparent|rgba\s*\([^)]+,\s*0\)/.test(ee) && (ee = u(F), rp(ee).toLowerCase() === "#ffffff")) && !(F === "color" && rp(ee).toLowerCase() === "#000000")) {
14898
- if (F === "font-size" && /em|%$/.test(ee)) {
14896
+ let te = u(F, k);
14897
+ if (!(F === "background-color" && /transparent|rgba\s*\([^)]+,\s*0\)/.test(te) && (te = u(F), rp(te).toLowerCase() === "#ffffff")) && !(F === "color" && rp(te).toLowerCase() === "#000000")) {
14898
+ if (F === "font-size" && /em|%$/.test(te)) {
14899
14899
  if (P === 0)
14900
14900
  return;
14901
- ee = parseFloat(ee) / (/%$/.test(ee) ? 100 : 1) * P + "px";
14901
+ te = parseFloat(te) / (/%$/.test(te) ? 100 : 1) * P + "px";
14902
14902
  }
14903
- F === "border" && ee && (o += "padding:0 2px;"), o += F + ":" + ee + ";";
14903
+ F === "border" && te && (o += "padding:0 2px;"), o += F + ":" + te + ";";
14904
14904
  }
14905
14905
  }), e.dispatch("AfterPreviewFormats"), bc.remove(b), o;
14906
14906
  }, q6 = (e) => {
@@ -15425,8 +15425,8 @@ Options:${f}${o.join(f)}` : "";
15425
15425
  const b = [], y = (P) => {
15426
15426
  let F = AM([P]);
15427
15427
  e === -1 && (F = F.reverse());
15428
- for (let ee = 0; ee < F.length; ee++) {
15429
- const se = F[ee];
15428
+ for (let te = 0; te < F.length; te++) {
15429
+ const se = F[te];
15430
15430
  if (!o(se, k)) {
15431
15431
  if (b.length > 0 && n(se, Or(b)) && f++, se.line = f, l(se))
15432
15432
  return !0;
@@ -15453,10 +15453,10 @@ Options:${f}${o.join(f)}` : "";
15453
15453
  if (b(F, P))
15454
15454
  continue;
15455
15455
  k.length > 0 && f(F, Or(k)) && B++;
15456
- const ee = ih(F);
15457
- if (ee.position = y, ee.line = B, o(ee))
15456
+ const te = ih(F);
15457
+ if (te.position = y, te.line = B, o(te))
15458
15458
  return k;
15459
- k.push(ee);
15459
+ k.push(te);
15460
15460
  } while (y = u(y));
15461
15461
  return k;
15462
15462
  }, uy = (e) => (n) => j5(e, n), dy = (e) => (n) => G5(e, n), wg = (e, n) => {
@@ -15483,8 +15483,8 @@ Options:${f}${o.join(f)}` : "";
15483
15483
  return F ? z.some(o) : z.none();
15484
15484
  if (k(P))
15485
15485
  return yg(n, e, P.getNode(!f), f, !1);
15486
- const ee = y(P);
15487
- return ee && k(ee) && U2(P, ee) ? yg(n, e, ee.getNode(!f), f, !1) : F ? sk(e, P.toRange(), !1) : z.none();
15486
+ const te = y(P);
15487
+ return te && k(te) && U2(P, te) ? yg(n, e, te.getNode(!f), f, !1) : F ? sk(e, P.toRange(), !1) : z.none();
15488
15488
  }, Y5 = (e, n, o, r, l, u) => {
15489
15489
  const f = eg(n, e.getBody(), o), b = Or(f.getClientRects()), y = n === ix.Down, k = e.getBody();
15490
15490
  if (!b)
@@ -15493,15 +15493,15 @@ Options:${f}${o.join(f)}` : "";
15493
15493
  const re = y ? Le.fromRangeEnd(o) : Le.fromRangeStart(o);
15494
15494
  return (y ? K9 : q9)(k, re).orThunk(() => z.from(re)).map((ke) => ke.toRange());
15495
15495
  }
15496
- const P = (y ? OM : DM)(k, uy(1), f), F = Ut(P, dy(1)), ee = b.left, se = EM(F, ee);
15496
+ const P = (y ? OM : DM)(k, uy(1), f), F = Ut(P, dy(1)), te = b.left, se = EM(F, te);
15497
15497
  if (se && u(se.node)) {
15498
- const re = Math.abs(ee - se.left), xe = Math.abs(ee - se.right);
15498
+ const re = Math.abs(te - se.left), xe = Math.abs(te - se.right);
15499
15499
  return yg(n, e, se.node, re < xe, !1);
15500
15500
  }
15501
15501
  let Y;
15502
15502
  if (r(f) ? Y = f.getNode() : l(f) ? Y = f.getNode(!0) : Y = Qy(o), Y) {
15503
15503
  const re = Q9(n, k, uy(1), Y);
15504
- let xe = EM(Ut(re, dy(1)), ee);
15504
+ let xe = EM(Ut(re, dy(1)), te);
15505
15505
  if (xe || (xe = Or(Ut(re, dy(0))), xe))
15506
15506
  return sk(e, xe.position.toRange(), !1);
15507
15507
  }
@@ -15765,7 +15765,7 @@ Options:${f}${o.join(f)}` : "";
15765
15765
  const P = f.nodeName.toLowerCase();
15766
15766
  if (!r.isValidChild(P, B.toLowerCase()) || SH(l, f, u))
15767
15767
  return;
15768
- const F = o.getRng(), { startContainer: ee, startOffset: se, endContainer: Y, endOffset: re } = F, xe = Xp(e);
15768
+ const F = o.getRng(), { startContainer: te, startOffset: se, endContainer: Y, endOffset: re } = F, xe = Xp(e);
15769
15769
  let ke = f.firstChild;
15770
15770
  for (; ke; )
15771
15771
  if (qt(ke) && Sb(r, ke), JM(r, ke)) {
@@ -15776,7 +15776,7 @@ Options:${f}${o.join(f)}` : "";
15776
15776
  b || (b = QM(e), f.insertBefore(b, ke), k = !0), y = ke, ke = ke.nextSibling, b.appendChild(y);
15777
15777
  } else
15778
15778
  b = null, ke = ke.nextSibling;
15779
- k && xe && (F.setStart(ee, se), F.setEnd(Y, re), o.setRng(F), e.nodeChanged());
15779
+ k && xe && (F.setStart(te, se), F.setEnd(Y, re), o.setRng(F), e.nodeChanged());
15780
15780
  }, e8 = (e, n, o) => {
15781
15781
  const r = ie.fromDom(QM(e)), l = Gl();
15782
15782
  Sr(r, l), o(n, r);
@@ -16493,10 +16493,10 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
16493
16493
  b(k).fold(l, (B) => {
16494
16494
  u(B.context), B.lookupData.then((P) => {
16495
16495
  n.get().map((F) => {
16496
- const ee = B.context;
16497
- F.trigger === ee.trigger && (ee.text.length - F.matchLength >= 10 ? l() : (n.set({
16496
+ const te = B.context;
16497
+ F.trigger === te.trigger && (te.text.length - F.matchLength >= 10 ? l() : (n.set({
16498
16498
  ...F,
16499
- matchLength: ee.text.length
16499
+ matchLength: te.text.length
16500
16500
  }), o.get() ? w_(e, { lookupData: P }) : (o.set(!0), cw(e, { lookupData: P }))));
16501
16501
  });
16502
16502
  });
@@ -16541,8 +16541,8 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
16541
16541
  if (o === "character") {
16542
16542
  const f = Le.fromRangeStart(l.getRng()), b = r.getParent(f.container(), r.isBlock), y = Ex(r, f), k = b && r.isEmpty(b), B = ae(b == null ? void 0 : b.previousSibling), P = ae(b == null ? void 0 : b.nextSibling);
16543
16543
  return k && (n ? P : B) && ef(!n, u, f).exists((se) => l7(r, se) && !Za(y, Ex(r, se))) ? !0 : ef(n, u, f).fold(nt, (F) => {
16544
- const ee = Ex(r, F);
16545
- if (l7(r, F) && !Za(y, ee)) {
16544
+ const te = Ex(r, F);
16545
+ if (l7(r, F) && !Za(y, te)) {
16546
16546
  if (n || UA(e, F, !1), b && k) {
16547
16547
  if (n && B)
16548
16548
  return !0;
@@ -16566,14 +16566,14 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
16566
16566
  let { anchorNode: y, anchorOffset: k, focusNode: B, focusOffset: P } = b ?? {};
16567
16567
  const F = () => {
16568
16568
  Ze(y) && Ze(k) && Ze(B) && Ze(P) && (b == null || b.setBaseAndExtent(y, k, B, P));
16569
- }, ee = () => {
16569
+ }, te = () => {
16570
16570
  y = b == null ? void 0 : b.anchorNode, k = b == null ? void 0 : b.anchorOffset, B = b == null ? void 0 : b.focusNode, P = b == null ? void 0 : b.focusOffset;
16571
16571
  }, se = (re, xe) => {
16572
16572
  Te(re.childNodes, (ke) => {
16573
16573
  g1(ke) && xe.appendChild(ke);
16574
16574
  });
16575
16575
  }, Y = e.dom.create("span", { "data-mce-bogus": "1" });
16576
- se(l, Y), l.appendChild(Y), F(), (o === "word" || o === "line") && (b == null || b.modify("extend", n ? "right" : "left", o)), !r.isCollapsed() && a7(r.getRng(), Y) ? VA(l) : (e.execCommand(n ? "ForwardDelete" : "Delete"), ee(), se(Y, l), F()), e.dom.remove(Y);
16576
+ se(l, Y), l.appendChild(Y), F(), (o === "word" || o === "line") && (b == null || b.modify("extend", n ? "right" : "left", o)), !r.isCollapsed() && a7(r.getRng(), Y) ? VA(l) : (e.execCommand(n ? "ForwardDelete" : "Delete"), te(), se(Y, l), F()), e.dom.remove(Y);
16577
16577
  }), !0) : !1;
16578
16578
  }, g0 = (e, n, o) => JV(e, n, o) || HA && kk(e, n, o) ? z.some(Nt) : z.none(), WA = (e) => (n, o, r = {}) => {
16579
16579
  const l = n.getBody(), u = {
@@ -16838,21 +16838,21 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
16838
16838
  const b = e.dom, y = e.schema, k = Xl(e), B = o ? o.nodeName.toUpperCase() : "";
16839
16839
  let P = n;
16840
16840
  const F = y.getTextInlineElements();
16841
- let ee;
16842
- u || B === "TABLE" || B === "HR" ? ee = b.create(u || k, f || {}) : ee = o.cloneNode(!1);
16843
- let se = ee;
16841
+ let te;
16842
+ u || B === "TABLE" || B === "HR" ? te = b.create(u || k, f || {}) : te = o.cloneNode(!1);
16843
+ let se = te;
16844
16844
  if (!l)
16845
- b.setAttrib(ee, "style", null), b.setAttrib(ee, "class", null);
16845
+ b.setAttrib(te, "style", null), b.setAttrib(te, "class", null);
16846
16846
  else
16847
16847
  do
16848
16848
  if (F[P.nodeName]) {
16849
16849
  if (Di(P) || Oi(P))
16850
16850
  continue;
16851
16851
  const Y = P.cloneNode(!1);
16852
- b.setAttrib(Y, "id", ""), ee.hasChildNodes() ? (Y.appendChild(ee.firstChild), ee.appendChild(Y)) : (se = Y, ee.appendChild(Y));
16852
+ b.setAttrib(Y, "id", ""), te.hasChildNodes() ? (Y.appendChild(te.firstChild), te.appendChild(Y)) : (se = Y, te.appendChild(Y));
16853
16853
  }
16854
16854
  while ((P = P.parentNode) && P !== r);
16855
- return X1(e, ee), ZA(se), ee;
16855
+ return X1(e, te), ZA(se), te;
16856
16856
  }, f7 = (e, n) => e.dom.getParent(n, ot), rz = (e, n, o) => {
16857
16857
  let r = n;
16858
16858
  for (; r && r !== e && ae(r.nextSibling); ) {
@@ -16904,7 +16904,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
16904
16904
  const P = B.extractContents();
16905
16905
  if (l === "LI" && cz(P, "LI")) {
16906
16906
  const F = Ut(Ye(k.children, ie.fromDom), no(lc("br")));
16907
- k = P.firstChild, u.insertAfter(P, o), Te(F, (ee) => nd(ie.fromDom(k), ee)), y && k.setAttribute("style", y);
16907
+ k = P.firstChild, u.insertAfter(P, o), Te(F, (te) => nd(ie.fromDom(k), te)), y && k.setAttribute("style", y);
16908
16908
  } else
16909
16909
  u.insertAfter(P, o), u.insertAfter(k, o);
16910
16910
  u.remove(r);
@@ -16946,8 +16946,8 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
16946
16946
  let k = b.getParent(r, b.isBlock);
16947
16947
  if (!k || !YA(b, k)) {
16948
16948
  if (k = k || y, !k.hasChildNodes()) {
16949
- const ee = b.create(n);
16950
- return X1(e, ee), k.appendChild(ee), o.setStart(ee, 0), o.setEnd(ee, 0), ee;
16949
+ const te = b.create(n);
16950
+ return X1(e, te), k.appendChild(te), o.setStart(te, 0), o.setEnd(te, 0), te;
16951
16951
  }
16952
16952
  let B = r;
16953
16953
  for (; B && B.parentNode !== k; )
@@ -16957,8 +16957,8 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
16957
16957
  P = B, B = B.previousSibling;
16958
16958
  const F = (f = P == null ? void 0 : P.parentElement) === null || f === void 0 ? void 0 : f.nodeName;
16959
16959
  if (P && F && e.schema.isValidChild(F, n.toLowerCase())) {
16960
- const ee = P.parentNode, se = b.create(n);
16961
- for (X1(e, se), ee.insertBefore(se, P), B = P; B && !b.isBlock(B); ) {
16960
+ const te = P.parentNode, se = b.create(n);
16961
+ for (X1(e, se), te.insertBefore(se, P), B = P; B && !b.isBlock(B); ) {
16962
16962
  const Y = B.nextSibling;
16963
16963
  se.appendChild(B), B = Y;
16964
16964
  }
@@ -16976,7 +16976,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
16976
16976
  }, v7 = {
16977
16977
  insert: (e, n) => {
16978
16978
  let o, r, l, u, f = !1;
16979
- const b = e.dom, y = e.schema, k = y.getNonEmptyElements(), B = e.selection.getRng(), P = Xl(e), F = ie.fromDom(B.startContainer), ee = _u(F, B.startOffset), se = ee.exists((rt) => Gs(rt) && !Vn(rt)), Y = B.collapsed && se, re = (rt, Kt) => jA(e, o, wt, at, a3(e), rt, Kt), xe = (rt) => {
16979
+ const b = e.dom, y = e.schema, k = y.getNonEmptyElements(), B = e.selection.getRng(), P = Xl(e), F = ie.fromDom(B.startContainer), te = _u(F, B.startOffset), se = te.exists((rt) => Gs(rt) && !Vn(rt)), Y = B.collapsed && se, re = (rt, Kt) => jA(e, o, wt, at, a3(e), rt, Kt), xe = (rt) => {
16980
16980
  const Kt = XA(rt, o, r);
16981
16981
  if (ut(o) && (rt ? Kt > 0 : Kt < o.data.length))
16982
16982
  return !1;
@@ -17030,7 +17030,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
17030
17030
  const We = wt.parentNode;
17031
17031
  let Ve;
17032
17032
  if (Y)
17033
- Ve = re(P), ee.fold(() => {
17033
+ Ve = re(P), te.fold(() => {
17034
17034
  Sr(F, ie.fromDom(Ve));
17035
17035
  }, (rt) => {
17036
17036
  jr(rt, ie.fromDom(Ve));
@@ -17066,13 +17066,13 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
17066
17066
  }, vz = (e, n) => {
17067
17067
  const o = e.selection, r = e.dom, l = o.getRng();
17068
17068
  let u, f = !1;
17069
- S(r, l).each((ee) => {
17070
- l.setStart(ee.startContainer, ee.startOffset), l.setEnd(ee.endContainer, ee.endOffset);
17069
+ S(r, l).each((te) => {
17070
+ l.setStart(te.startContainer, te.startOffset), l.setEnd(te.endContainer, te.endOffset);
17071
17071
  });
17072
17072
  let b = l.startOffset, y = l.startContainer;
17073
17073
  if (qt(y) && y.hasChildNodes()) {
17074
- const ee = b > y.childNodes.length - 1;
17075
- y = y.childNodes[Math.min(b, y.childNodes.length - 1)] || y, ee && ut(y) ? b = y.data.length : b = 0;
17074
+ const te = b > y.childNodes.length - 1;
17075
+ y = y.childNodes[Math.min(b, y.childNodes.length - 1)] || y, te && ut(y) ? b = y.data.length : b = 0;
17076
17076
  }
17077
17077
  let k = r.getParent(y, r.isBlock);
17078
17078
  const B = k && k.parentNode ? r.getParent(k.parentNode, r.isBlock) : null, P = B ? B.nodeName.toUpperCase() : "", F = !!(n && n.ctrlKey);
@@ -17879,8 +17879,8 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
17879
17879
  let re = Y, xe = u.getStyle(f, l[se], !0);
17880
17880
  /color/.test(l[se]) && (re = dB(re), xe = dB(xe)), xe !== re && (F[l[se]] = Y);
17881
17881
  }
17882
- const ee = u.serializeStyle(F, "span");
17883
- return ee ? y + ' style="' + ee + '"' + B : y + B;
17882
+ const te = u.serializeStyle(F, "span");
17883
+ return te ? y + ' style="' + te + '"' + B : y + B;
17884
17884
  });
17885
17885
  } else
17886
17886
  n = n.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi, "$1$3");
@@ -17957,9 +17957,9 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
17957
17957
  node: e.node,
17958
17958
  position: WU(e, n) < ZU(e, n) ? tb.Before : tb.After
17959
17959
  }), zk = (e, n, o) => n > e.left && n < e.right ? 0 : Math.min(Math.abs(e.left - n), Math.abs(e.right - n)), Uk = (e, n, o, r) => {
17960
- const l = (P) => uo(P.node) ? z.some(P) : qt(P.node) ? Uk(xr(P.node.childNodes), n, o, !1) : z.none(), u = (P, F, ee) => l(F).filter((se) => Math.abs(ee(P, n, o) - ee(se, n, o)) < 2 && ut(se.node)), f = (P, F) => {
17961
- const ee = Ko(P, (se, Y) => F(se, n, o) - F(Y, n, o));
17962
- return Pl(ee, l).map((se) => r && !ut(se.node) && ee.length > 1 ? u(se, ee[1], F).getOr(se) : se);
17960
+ const l = (P) => uo(P.node) ? z.some(P) : qt(P.node) ? Uk(xr(P.node.childNodes), n, o, !1) : z.none(), u = (P, F, te) => l(F).filter((se) => Math.abs(te(P, n, o) - te(se, n, o)) < 2 && ut(se.node)), f = (P, F) => {
17961
+ const te = Ko(P, (se, Y) => F(se, n, o) - F(Y, n, o));
17962
+ return Pl(te, l).map((se) => r && !ut(se.node) && te.length > 1 ? u(se, te[1], F).getOr(se) : se);
17963
17963
  }, [b, y] = KU(AM(e), o), {
17964
17964
  pass: k,
17965
17965
  fail: B
@@ -18119,8 +18119,8 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18119
18119
  behavior: "smooth"
18120
18120
  });
18121
18121
  }, EB = Kk("left", -Zk), AB = Kk("left", Zk), aW = Kk("top", -Zk), DB = Kk("top", Zk), _D = (e, n, o, r, l, u, f, b, y, k, B, P) => {
18122
- let F = 0, ee = 0;
18123
- e.style.left = n.pageX + "px", e.style.top = n.pageY + "px", n.pageX + o > l && (F = n.pageX + o - l), n.pageY + r > u && (ee = n.pageY + r - u), e.style.width = o - F + "px", e.style.height = r - ee + "px";
18122
+ let F = 0, te = 0;
18123
+ e.style.left = n.pageX + "px", e.style.top = n.pageY + "px", n.pageX + o > l && (F = n.pageX + o - l), n.pageY + r > u && (te = n.pageY + r - u), e.style.width = o - F + "px", e.style.height = r - te + "px";
18124
18124
  const se = y.clientHeight, Y = y.clientWidth, re = f + y.getBoundingClientRect().top, xe = b + y.getBoundingClientRect().left;
18125
18125
  B.on((ke) => {
18126
18126
  ke.intervalId.clear(), ke.dragging && P && (f + jk >= se ? ke.intervalId.set(DB(k)) : f - jk <= 0 ? ke.intervalId.set(aW(k)) : b + jk >= Y ? ke.intervalId.set(AB(k)) : b - jk <= 0 ? ke.intervalId.set(EB(k)) : re + Gk >= window.innerHeight ? ke.intervalId.set(DB(window)) : re - Gk <= 0 ? ke.intervalId.set(aW(window)) : xe + Gk >= window.innerWidth ? ke.intervalId.set(AB(window)) : xe - Gk <= 0 && ke.intervalId.set(EB(window)));
@@ -18278,7 +18278,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18278
18278
  before: Ve
18279
18279
  }).isDefaultPrevented() ? null : (rt && n.scrollIntoView(We, Ft === -1), l.show(Ve, We)), F = (Ft) => {
18280
18280
  Ft.hasAttribute("data-mce-caret") && (iu(Ft), n.scrollIntoView(Ft));
18281
- }, ee = () => {
18281
+ }, te = () => {
18282
18282
  e.on("click", (We) => {
18283
18283
  o.isEditable(We.target) || (We.preventDefault(), e.focus());
18284
18284
  }), e.on("blur NewBlock", Pe), e.on("ResizeWindow FullscreenStateChanged", l.reposition), e.on("tap", (We) => {
@@ -18385,7 +18385,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18385
18385
  }, wt = () => {
18386
18386
  l.hide();
18387
18387
  };
18388
- return Oh(e) || ee(), {
18388
+ return Oh(e) || te(), {
18389
18389
  showCaret: P,
18390
18390
  showBlockCaretContainer: F,
18391
18391
  hideFakeCaret: wt,
@@ -18515,8 +18515,8 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18515
18515
  } else {
18516
18516
  const P = f.offset - l.length;
18517
18517
  return bk(f.container, P, o).map((F) => {
18518
- const ee = e.createRng();
18519
- return ee.setStart(F.container, F.offset), ee.setEnd(f.container, f.offset), ee;
18518
+ const te = e.createRng();
18519
+ return te.setStart(F.container, F.offset), te.setEnd(f.container, f.offset), te;
18520
18520
  }).filter((F) => F.toString() === l).orThunk(() => VB(e, n, o, bf(f.container, 0)));
18521
18521
  }
18522
18522
  });
@@ -18552,8 +18552,8 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18552
18552
  const P = t4(e, o.remainingPatterns, k.container, k.offset, n, r), F = P.getOr({
18553
18553
  matches: [],
18554
18554
  position: k
18555
- }), ee = F.position;
18556
- return TW(l, f, ee.container, ee.offset, n, P.isNone()).map((Y) => {
18555
+ }), te = F.position;
18556
+ return TW(l, f, te.container, te.offset, n, P.isNone()).map((Y) => {
18557
18557
  const re = xW(l, u, Y, r);
18558
18558
  return {
18559
18559
  matches: F.matches.concat([{
@@ -18645,7 +18645,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18645
18645
  const k = e.selection.getRng(), B = xg(k.startContainer, k.startOffset, e.dom.getRoot());
18646
18646
  e.execCommand("mceInsertNewLine"), B.each((P) => {
18647
18647
  const F = P.container;
18648
- F.data.charAt(P.offset - 1) === Yg && (F.deleteData(P.offset - 1, 1), ob(e.dom, F.parentNode, (ee) => ee === e.dom.getRoot()));
18648
+ F.data.charAt(P.offset - 1) === Yg && (F.deleteData(P.offset - 1, 1), ob(e.dom, F.parentNode, (te) => te === e.dom.getRoot()));
18649
18649
  });
18650
18650
  }), !0) : !1;
18651
18651
  }).getOr(!1);
@@ -18696,7 +18696,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18696
18696
  e.getDoc().execCommand(Qt, !1, String($n));
18697
18697
  } catch {
18698
18698
  }
18699
- }, ee = (Qt) => Qt.isDefaultPrevented(), se = () => {
18699
+ }, te = (Qt) => Qt.isDefaultPrevented(), se = () => {
18700
18700
  const Qt = (Ct) => {
18701
18701
  const Mn = l.create("body"), Oo = Ct.cloneContents();
18702
18702
  return Mn.appendChild(Oo), u.serializer.serialize(Mn, { format: "html" });
@@ -18708,7 +18708,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18708
18708
  };
18709
18709
  e.on("keydown", (Ct) => {
18710
18710
  const Mn = Ct.keyCode;
18711
- if (!ee(Ct) && (Mn === r || Mn === o) && e.selection.isEditable()) {
18711
+ if (!te(Ct) && (Mn === r || Mn === o) && e.selection.isEditable()) {
18712
18712
  const Oo = e.selection.isCollapsed(), Ss = e.getBody();
18713
18713
  if (Oo && !br(ie.fromDom(Ss)) || !Oo && !$n(e.selection.getRng()))
18714
18714
  return;
@@ -18730,7 +18730,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18730
18730
  });
18731
18731
  }, xe = () => {
18732
18732
  e.on("keydown", (Qt) => {
18733
- if (!ee(Qt) && Qt.keyCode === o) {
18733
+ if (!te(Qt) && Qt.keyCode === o) {
18734
18734
  if (!e.getBody().getElementsByTagName("hr").length)
18735
18735
  return;
18736
18736
  if (u.isCollapsed() && u.getRng().startOffset === 0) {
@@ -18745,7 +18745,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18745
18745
  });
18746
18746
  }, ke = () => {
18747
18747
  Range.prototype.getClientRects || e.on("mousedown", (Qt) => {
18748
- if (!ee(Qt) && Qt.target.nodeName === "HTML") {
18748
+ if (!te(Qt) && Qt.target.nodeName === "HTML") {
18749
18749
  const $n = e.getBody();
18750
18750
  $n.blur(), Hu.setEditorTimeout(e, () => {
18751
18751
  $n.focus();
@@ -18770,9 +18770,9 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18770
18770
  }, $n = () => !u.isCollapsed() && l.getParent(u.getStart(), l.isBlock) !== l.getParent(u.getEnd(), l.isBlock);
18771
18771
  e.on("keypress", (Ct) => {
18772
18772
  let Mn;
18773
- return !ee(Ct) && (Ct.keyCode === 8 || Ct.keyCode === 46) && $n() ? (Mn = Qt(), e.getDoc().execCommand("delete", !1), Mn(), Ct.preventDefault(), !1) : !0;
18773
+ return !te(Ct) && (Ct.keyCode === 8 || Ct.keyCode === 46) && $n() ? (Mn = Qt(), e.getDoc().execCommand("delete", !1), Mn(), Ct.preventDefault(), !1) : !0;
18774
18774
  }), l.bind(e.getDoc(), "cut", (Ct) => {
18775
- if (!ee(Ct) && $n()) {
18775
+ if (!te(Ct) && $n()) {
18776
18776
  const Mn = Qt();
18777
18777
  Hu.setEditorTimeout(e, () => {
18778
18778
  Mn();
@@ -18781,7 +18781,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18781
18781
  });
18782
18782
  }, at = () => {
18783
18783
  e.on("keydown", (Qt) => {
18784
- if (!ee(Qt) && Qt.keyCode === o && u.isCollapsed() && u.getRng().startOffset === 0) {
18784
+ if (!te(Qt) && Qt.keyCode === o && u.isCollapsed() && u.getRng().startOffset === 0) {
18785
18785
  const $n = u.getNode().previousSibling;
18786
18786
  if ($n && $n.nodeName && $n.nodeName.toLowerCase() === "table")
18787
18787
  return Qt.preventDefault(), !1;
@@ -18790,7 +18790,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
18790
18790
  });
18791
18791
  }, wt = () => {
18792
18792
  e.on("keydown", (Qt) => {
18793
- if (ee(Qt) || Qt.keyCode !== Zt.BACKSPACE)
18793
+ if (te(Qt) || Qt.keyCode !== Zt.BACKSPACE)
18794
18794
  return;
18795
18795
  let $n = u.getRng();
18796
18796
  const Ct = $n.startContainer, Mn = $n.startOffset, Oo = l.getRoot();
@@ -20040,16 +20040,16 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
20040
20040
  console.error(AP(`Invalid default value passed for the "${e}" option`, r));
20041
20041
  }
20042
20042
  }, XZ = (e, n) => {
20043
- const o = {}, r = {}, l = (P, F, ee) => {
20044
- const se = y0(F, ee);
20043
+ const o = {}, r = {}, l = (P, F, te) => {
20044
+ const se = y0(F, te);
20045
20045
  return DP(se) ? (r[P] = se.value, !0) : (console.warn(AP(`Invalid value passed for the ${P} option`, se)), !1);
20046
20046
  }, u = (P, F) => {
20047
- const ee = YZ(F) ? KZ(F.processor) : F.processor, se = xf(P, F.default, ee);
20047
+ const te = YZ(F) ? KZ(F.processor) : F.processor, se = xf(P, F.default, te);
20048
20048
  o[P] = {
20049
20049
  ...F,
20050
20050
  default: se,
20051
- processor: ee
20052
- }, Xo(r, P).orThunk(() => Xo(n, P)).each((re) => l(P, re, ee));
20051
+ processor: te
20052
+ }, Xo(r, P).orThunk(() => Xo(n, P)).each((re) => l(P, re, te));
20053
20053
  }, f = (P) => pn(o, P);
20054
20054
  return {
20055
20055
  register: u,
@@ -20057,8 +20057,8 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
20057
20057
  get: (P) => Xo(r, P).orThunk(() => Xo(o, P).map((F) => F.default)).getOrUndefined(),
20058
20058
  set: (P, F) => {
20059
20059
  if (f(P)) {
20060
- const ee = o[P];
20061
- return ee.immutable ? (console.error(`"${P}" is an immutable option and cannot be updated`), !1) : l(P, F, ee.processor);
20060
+ const te = o[P];
20061
+ return te.immutable ? (console.error(`"${P}" is an immutable option and cannot be updated`), !1) : l(P, F, te.processor);
20062
20062
  } else
20063
20063
  return console.warn(`"${P}" is not a registered option. Ensure the option has been registered before setting a value.`), !1;
20064
20064
  },
@@ -20200,9 +20200,9 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
20200
20200
  }
20201
20201
  }
20202
20202
  const aj = () => {
20203
- const e = {}, n = {}, o = {}, r = {}, l = {}, u = {}, f = {}, b = {}, y = (B, P) => (F, ee) => {
20203
+ const e = {}, n = {}, o = {}, r = {}, l = {}, u = {}, f = {}, b = {}, y = (B, P) => (F, te) => {
20204
20204
  B[F.toLowerCase()] = {
20205
- ...ee,
20205
+ ...te,
20206
20206
  type: P
20207
20207
  };
20208
20208
  }, k = (B, P) => r[B.toLowerCase()] = P;
@@ -20564,7 +20564,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
20564
20564
  let B = 0;
20565
20565
  const P = [];
20566
20566
  let F;
20567
- const ee = (se, Y, re) => {
20567
+ const te = (se, Y, re) => {
20568
20568
  const xe = new g4(se, Y, n);
20569
20569
  P.push(xe), xe.on("init", () => {
20570
20570
  ++B === F.length && y(P);
@@ -20573,7 +20573,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
20573
20573
  Sy.unbind(window, "ready", k), f("onpageload"), F = di(b(e)), ct.each(F, (se) => {
20574
20574
  uj(n.get(se.id));
20575
20575
  }), F = ct.grep(F, (se) => !n.get(se.id)), F.length === 0 ? y([]) : h4(F, (se) => {
20576
- l(e, se) ? nx("Could not initialize inline editor on invalid inline target element", se) : ee(u(se), e, se);
20576
+ l(e, se) ? nx("Could not initialize inline editor on invalid inline target element", se) : te(u(se), e, se);
20577
20577
  });
20578
20578
  };
20579
20579
  return Sy.bind(window, "ready", k), new Promise((B) => {
@@ -20717,8 +20717,8 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
20717
20717
  if (e[y] !== void 0)
20718
20718
  return e[y];
20719
20719
  {
20720
- const F = new Promise((ee, se) => {
20721
- const Y = bj(ee, se);
20720
+ const F = new Promise((te, se) => {
20721
+ const Y = bj(te, se);
20722
20722
  n[y] = Y.resolve, ra.ScriptLoader.loadScript(k).then(() => Y.start(P), () => Y.reject(B));
20723
20723
  });
20724
20724
  return e[y] = F, F;
@@ -21045,13 +21045,13 @@ tinymce.IconManager.add("default", {
21045
21045
  }
21046
21046
  });
21047
21047
  (function() {
21048
- const A = Object.getPrototypeOf, te = (t, s, a) => {
21048
+ const A = Object.getPrototypeOf, ee = (t, s, a) => {
21049
21049
  var c;
21050
21050
  return a(t, s.prototype) ? !0 : ((c = t.constructor) === null || c === void 0 ? void 0 : c.name) === s.name;
21051
21051
  }, G = (t) => {
21052
21052
  const s = typeof t;
21053
- return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && te(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
21054
- }, Ce = (t) => (s) => G(s) === t, oe = (t) => (s) => typeof s === t, U = (t) => (s) => t === s, be = (t, s) => De(t) && te(t, s, (a, c) => A(a) === c), q = Ce("string"), De = Ce("object"), tt = (t) => be(t, Object), pt = Ce("array"), cn = U(null), kt = oe("boolean"), io = U(void 0), lo = (t) => t == null, eo = (t) => !lo(t), Ot = oe("function"), Ls = oe("number"), dn = (t, s) => {
21053
+ return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && ee(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
21054
+ }, Ce = (t) => (s) => G(s) === t, oe = (t) => (s) => typeof s === t, U = (t) => (s) => t === s, be = (t, s) => De(t) && ee(t, s, (a, c) => A(a) === c), q = Ce("string"), De = Ce("object"), tt = (t) => be(t, Object), pt = Ce("array"), cn = U(null), kt = oe("boolean"), io = U(void 0), lo = (t) => t == null, eo = (t) => !lo(t), Ot = oe("function"), Ls = oe("number"), dn = (t, s) => {
21055
21055
  if (pt(t)) {
21056
21056
  for (let a = 0, c = t.length; a < c; ++a)
21057
21057
  if (!s(t[a]))
@@ -40680,13 +40680,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
40680
40680
  Qr,
40681
40681
  $e("classes", []),
40682
40682
  Ec("items", B)
40683
- ], F = rn(P), ee = [
40683
+ ], F = rn(P), te = [
40684
40684
  bS("tab"),
40685
40685
  s$,
40686
40686
  Ec("items", B)
40687
40687
  ], se = [
40688
40688
  Qr,
40689
- A0("tabs", ee)
40689
+ A0("tabs", te)
40690
40690
  ], Y = rn(se), re = Vx, xe = EP, ke = rn([
40691
40691
  Po("title"),
40692
40692
  dc("body", ut("type", {
@@ -42227,12 +42227,12 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
42227
42227
  })();
42228
42228
  (function() {
42229
42229
  var A = tinymce.util.Tools.resolve("tinymce.ModelManager");
42230
- const te = (i, m, h) => {
42230
+ const ee = (i, m, h) => {
42231
42231
  var v;
42232
42232
  return h(i, m.prototype) ? !0 : ((v = i.constructor) === null || v === void 0 ? void 0 : v.name) === m.name;
42233
42233
  }, G = (i) => {
42234
42234
  const m = typeof i;
42235
- return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && te(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
42235
+ return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && ee(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
42236
42236
  }, Ce = (i) => (m) => G(m) === i, oe = (i) => (m) => typeof m === i, U = (i) => (m) => i === m, be = Ce("string"), q = Ce("object"), De = Ce("array"), tt = U(null), pt = oe("boolean"), cn = U(void 0), kt = (i) => i == null, io = (i) => !kt(i), lo = oe("function"), eo = oe("number"), Ot = () => {
42237
42237
  }, Ls = (i, m) => (...h) => i(m.apply(null, h)), dn = (i, m) => (h) => i(m(h)), he = (i) => () => i, Tt = (i) => i, ia = (i, m) => i === m;
42238
42238
  function oo(i, ...m) {
@@ -46470,12 +46470,12 @@ Required: ` + m.join(", "));
46470
46470
  })();
46471
46471
  (function() {
46472
46472
  var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
46473
- const te = (_, M, W) => {
46473
+ const ee = (_, M, W) => {
46474
46474
  var ce;
46475
46475
  return W(_, M.prototype) ? !0 : ((ce = _.constructor) === null || ce === void 0 ? void 0 : ce.name) === M.name;
46476
46476
  }, G = (_) => {
46477
46477
  const M = typeof _;
46478
- return _ === null ? "null" : M === "object" && Array.isArray(_) ? "array" : M === "object" && te(_, String, (W, ce) => ce.isPrototypeOf(W)) ? "string" : M;
46478
+ return _ === null ? "null" : M === "object" && Array.isArray(_) ? "array" : M === "object" && ee(_, String, (W, ce) => ce.isPrototypeOf(W)) ? "string" : M;
46479
46479
  }, Ce = (_) => (M) => G(M) === _, oe = (_) => (M) => typeof M === _, U = Ce("string"), be = Ce("object"), q = Ce("array"), De = oe("boolean"), tt = (_) => _ == null, pt = (_) => !tt(_), cn = oe("function"), kt = oe("number"), io = () => {
46480
46480
  }, lo = (_, M) => (W) => _(M(W)), eo = (_) => () => _, Ot = (_, M) => _ === M;
46481
46481
  function Ls(_, ...M) {
@@ -47618,12 +47618,12 @@ Required: ` + m.join(", "));
47618
47618
  })();
47619
47619
  (function() {
47620
47620
  var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
47621
- const te = (K, ge, Ee) => {
47621
+ const ee = (K, ge, Ee) => {
47622
47622
  var Ie;
47623
47623
  return Ee(K, ge.prototype) ? !0 : ((Ie = K.constructor) === null || Ie === void 0 ? void 0 : Ie.name) === ge.name;
47624
47624
  }, G = (K) => {
47625
47625
  const ge = typeof K;
47626
- return K === null ? "null" : ge === "object" && Array.isArray(K) ? "array" : ge === "object" && te(K, String, (Ee, Ie) => Ie.isPrototypeOf(Ee)) ? "string" : ge;
47626
+ return K === null ? "null" : ge === "object" && Array.isArray(K) ? "array" : ge === "object" && ee(K, String, (Ee, Ie) => Ie.isPrototypeOf(Ee)) ? "string" : ge;
47627
47627
  }, Ce = (K) => (ge) => G(ge) === K, oe = (K) => (ge) => typeof ge === K, U = (K) => (ge) => K === ge, be = Ce("string"), q = Ce("object"), De = Ce("array"), tt = U(null), pt = oe("boolean"), cn = (K) => K == null, kt = (K) => !cn(K), io = oe("function"), lo = (K, ge) => {
47628
47628
  if (De(K)) {
47629
47629
  for (let Ee = 0, Ie = K.length; Ee < Ie; ++Ee)
@@ -48375,13 +48375,13 @@ Required: ` + m.join(", "));
48375
48375
  })();
48376
48376
  (function() {
48377
48377
  var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
48378
- const te = Object.getPrototypeOf, G = (I, J, le) => {
48378
+ const ee = Object.getPrototypeOf, G = (I, J, le) => {
48379
48379
  var Fe;
48380
48380
  return le(I, J.prototype) ? !0 : ((Fe = I.constructor) === null || Fe === void 0 ? void 0 : Fe.name) === J.name;
48381
48381
  }, Ce = (I) => {
48382
48382
  const J = typeof I;
48383
48383
  return I === null ? "null" : J === "object" && Array.isArray(I) ? "array" : J === "object" && G(I, String, (le, Fe) => Fe.isPrototypeOf(le)) ? "string" : J;
48384
- }, oe = (I) => (J) => Ce(J) === I, U = (I) => (J) => typeof J === I, be = (I) => (J) => I === J, q = (I, J) => tt(I) && G(I, J, (le, Fe) => te(le) === Fe), De = oe("string"), tt = oe("object"), pt = (I) => q(I, Object), cn = oe("array"), kt = be(null), io = U("boolean"), lo = (I) => I == null, eo = (I) => !lo(I), Ot = U("function"), Ls = U("number"), dn = (I, J) => {
48384
+ }, oe = (I) => (J) => Ce(J) === I, U = (I) => (J) => typeof J === I, be = (I) => (J) => I === J, q = (I, J) => tt(I) && G(I, J, (le, Fe) => ee(le) === Fe), De = oe("string"), tt = oe("object"), pt = (I) => q(I, Object), cn = oe("array"), kt = be(null), io = U("boolean"), lo = (I) => I == null, eo = (I) => !lo(I), Ot = U("function"), Ls = U("number"), dn = (I, J) => {
48385
48385
  if (cn(I)) {
48386
48386
  for (let le = 0, Fe = I.length; le < Fe; ++le)
48387
48387
  if (!J(I[le]))
@@ -49244,12 +49244,12 @@ Required: ` + m.join(", "));
49244
49244
  })();
49245
49245
  (function() {
49246
49246
  var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
49247
- const te = (x, T, V) => {
49247
+ const ee = (x, T, V) => {
49248
49248
  var X;
49249
49249
  return V(x, T.prototype) ? !0 : ((X = x.constructor) === null || X === void 0 ? void 0 : X.name) === T.name;
49250
49250
  }, G = (x) => {
49251
49251
  const T = typeof x;
49252
- return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && te(x, String, (V, X) => X.isPrototypeOf(V)) ? "string" : T;
49252
+ return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && ee(x, String, (V, X) => X.isPrototypeOf(V)) ? "string" : T;
49253
49253
  }, Ce = (x) => (T) => G(T) === x, oe = (x) => (T) => typeof T === x, U = (x) => (T) => x === T, be = Ce("string"), q = Ce("array"), De = oe("boolean"), tt = U(void 0), pt = (x) => x == null, cn = (x) => !pt(x), kt = oe("function"), io = oe("number"), lo = () => {
49254
49254
  }, eo = (x, T) => (V) => x(T(V)), Ot = (x) => () => x, Ls = (x) => x, dn = (x, T) => x === T;
49255
49255
  function he(x, ...T) {
@@ -51409,7 +51409,7 @@ Required: ` + T.join(", "));
51409
51409
  })();
51410
51410
  (function() {
51411
51411
  var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
51412
- const te = (q, De) => {
51412
+ const ee = (q, De) => {
51413
51413
  q.focus(), q.undoManager.transact(() => {
51414
51414
  q.setContent(De);
51415
51415
  }), q.selection.setCursorLocation(), q.nodeChanged();
@@ -51440,7 +51440,7 @@ Required: ` + T.join(", "));
51440
51440
  ],
51441
51441
  initialData: { code: De },
51442
51442
  onSubmit: (tt) => {
51443
- te(q, tt.getData().code), tt.close();
51443
+ ee(q, tt.getData().code), tt.close();
51444
51444
  }
51445
51445
  });
51446
51446
  }, oe = (q) => {
@@ -51727,7 +51727,7 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
51727
51727
  description: { type: String, default: "" }
51728
51728
  },
51729
51729
  emits: ["update:modelValue", "keydown"],
51730
- setup(A, { expose: te, emit: G }) {
51730
+ setup(A, { expose: ee, emit: G }) {
51731
51731
  const Ce = A, oe = G, U = co(null);
51732
51732
  let be = null;
51733
51733
  Og(async () => {
@@ -51766,7 +51766,7 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
51766
51766
  oe("update:modelValue", tt);
51767
51767
  }
51768
51768
  });
51769
- return te({ focus: () => U.value.focus() }), (tt, pt) => (ue(), de(jn, null, [
51769
+ return ee({ focus: () => U.value.focus() }), (tt, pt) => (ue(), de(jn, null, [
51770
51770
  A.show ? (ue(), de("div", {
51771
51771
  key: 0,
51772
51772
  class: zt(A.field_name)
@@ -51863,8 +51863,8 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
51863
51863
  return 0;
51864
51864
  if (this.limit === 0)
51865
51865
  return this.lastPage;
51866
- for (var A = this.currentPage, te = this.lastPage, G = this.limit, Ce = A - G, oe = A + G + 1, U = [], be = [], q, De = 1; De <= te; De++)
51867
- (De === 1 || De === te || De >= Ce && De < oe) && U.push(De);
51866
+ for (var A = this.currentPage, ee = this.lastPage, G = this.limit, Ce = A - G, oe = A + G + 1, U = [], be = [], q, De = 1; De <= ee; De++)
51867
+ (De === 1 || De === ee || De >= Ce && De < oe) && U.push(De);
51868
51868
  return U.forEach(function(tt) {
51869
51869
  q && (tt - q === 2 ? be.push(q + 1) : tt - q !== 1 && be.push("...")), be.push(tt), q = tt;
51870
51870
  }), be;
@@ -51910,8 +51910,8 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
51910
51910
  }
51911
51911
  },
51912
51912
  pageButtonEvents: (A) => ({
51913
- click: (te) => {
51914
- te.preventDefault(), this.selectPage(A);
51913
+ click: (ee) => {
51914
+ ee.preventDefault(), this.selectPage(A);
51915
51915
  }
51916
51916
  })
51917
51917
  });
@@ -51989,7 +51989,7 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
51989
51989
  d: "m1 9 4-4-4-4"
51990
51990
  })
51991
51991
  ], -1);
51992
- function Bte(A, te, G, Ce, oe, U) {
51992
+ function Bte(A, ee, G, Ce, oe, U) {
51993
51993
  const be = Rd("RenderlessPagination");
51994
51994
  return ue(), ju(be, {
51995
51995
  data: G.data,
@@ -52100,7 +52100,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52100
52100
  default: !1
52101
52101
  }
52102
52102
  },
52103
- setup(A, { expose: te }) {
52103
+ setup(A, { expose: ee }) {
52104
52104
  const G = co(""), Ce = co(""), oe = co(""), U = co("Cancel"), be = co(!1), q = co(!1), De = co(void 0), tt = co(void 0), pt = (eo = {}) => (G.value = eo.title, Ce.value = eo.message, oe.value = eo.okButton, eo.cancelButton && (U.value = eo.cancelButton), be.value = !0, new Promise((Ot, Ls) => {
52105
52105
  De.value = Ot, tt.value = Ls;
52106
52106
  })), cn = () => {
@@ -52112,7 +52112,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52112
52112
  }, lo = () => {
52113
52113
  be.value = !1, De.value(!1);
52114
52114
  };
52115
- return te({
52115
+ return ee({
52116
52116
  show: pt,
52117
52117
  showLoading: cn,
52118
52118
  hideLoading: kt
@@ -52241,8 +52241,8 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52241
52241
  message: "Are you sure you want to delete the selected items?",
52242
52242
  okButton: "Yes, delete it"
52243
52243
  }))
52244
- this.$refs.ConfirmationDelete.showLoading(), this.checkedIds.forEach((te) => {
52245
- axios.delete(`${this.xprops.route}/${te}`).then(() => {
52244
+ this.$refs.ConfirmationDelete.showLoading(), this.checkedIds.forEach((ee) => {
52245
+ axios.delete(`${this.xprops.route}/${ee}`).then(() => {
52246
52246
  }).catch((G) => {
52247
52247
  console.log(G);
52248
52248
  });
@@ -52261,7 +52261,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52261
52261
  this.checkedIds = [];
52262
52262
  },
52263
52263
  toggleCheck(A) {
52264
- this.checkedIds.includes(A) ? this.checkedIds = this.checkedIds.filter((te) => te !== A) : this.checkedIds.push(A);
52264
+ this.checkedIds.includes(A) ? this.checkedIds = this.checkedIds.filter((ee) => ee !== A) : this.checkedIds.push(A);
52265
52265
  },
52266
52266
  editAction(A) {
52267
52267
  this.$emit("editAction", A);
@@ -52274,7 +52274,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52274
52274
  },
52275
52275
  GetItemLists(A = 1) {
52276
52276
  this.isLoading = !0, this.page = A;
52277
- const te = {
52277
+ const ee = {
52278
52278
  sort: this.sortField,
52279
52279
  order: this.sortOrder,
52280
52280
  s: this.search,
@@ -52282,14 +52282,14 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52282
52282
  page: this.page,
52283
52283
  ...this.dynamicFilters
52284
52284
  };
52285
- axios.get(this.xprops.route_get_data, { params: te }).then((G) => {
52285
+ axios.get(this.xprops.route_get_data, { params: ee }).then((G) => {
52286
52286
  this.itemLists = G.data, this.isLoading = !1;
52287
52287
  }).catch((G) => {
52288
52288
  console.error(G), this.isLoading = !1;
52289
52289
  });
52290
52290
  },
52291
- updateSortColumn(A, te) {
52292
- te && (A === this.sortField ? this.sortOrder = this.sortOrder === "asc" ? "desc" : "asc" : (this.sortField = A, this.sortOrder = "asc"), this.GetItemLists(this.page));
52291
+ updateSortColumn(A, ee) {
52292
+ ee && (A === this.sortField ? this.sortOrder = this.sortOrder === "asc" ? "desc" : "asc" : (this.sortField = A, this.sortOrder = "asc"), this.GetItemLists(this.page));
52293
52293
  },
52294
52294
  handleSearch() {
52295
52295
  this.sortField = this.columns[0].field_name, this.sortOrder = "asc", this.page = 1, this.GetItemLists(this.page);
@@ -52299,14 +52299,17 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52299
52299
  this.GetItemLists(), this.isMounted = !0, console.log("columnsValues " + this.columnsValues);
52300
52300
  },
52301
52301
  watch: {
52302
+ columns(A, ee) {
52303
+ console.log("Columns changed:", A);
52304
+ },
52302
52305
  searchFilter() {
52303
52306
  this.filteredOptions.length === 0 ? this.selected = {} : this.selected = this.filteredOptions[0];
52304
52307
  },
52305
52308
  perPage(A) {
52306
52309
  this.page = 1, this.perPage = A, this.GetItemLists(this.page);
52307
52310
  },
52308
- refreshData(A, te) {
52309
- this.isMounted && A !== te && this.GetItemLists();
52311
+ refreshData(A, ee) {
52312
+ this.isMounted && A !== ee && this.GetItemLists();
52310
52313
  },
52311
52314
  dynamicFilters: {
52312
52315
  handler(A) {
@@ -52387,7 +52390,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52387
52390
  class: "text-center rounded-t-lg lg:rounded-t-none text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700",
52388
52391
  "data-label": ""
52389
52392
  }, wne = ["checked", "onChange"], xne = ["data-label"], Cne = { class: "overflow-auto max-h-40" }, _ne = { 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" };
52390
- function Sne(A, te, G, Ce, oe, U) {
52393
+ function Sne(A, ee, G, Ce, oe, U) {
52391
52394
  const be = Rd("DynamicConfirmation"), q = Rd("dropdown"), De = Rd("GlDropdown"), tt = Rd("GlTextInput"), pt = Rd("gl-button"), cn = Rd("TailwindPagination");
52392
52395
  return ue(), de(jn, null, [
52393
52396
  ui(be, { ref: "ConfirmationDelete" }, null, 512),
@@ -52400,7 +52403,7 @@ function Sne(A, te, G, Ce, oe, U) {
52400
52403
  has_cancel: !1,
52401
52404
  options: oe.pageOptions,
52402
52405
  modelValue: oe.perPage,
52403
- "onUpdate:modelValue": te[0] || (te[0] = (kt) => oe.perPage = kt),
52406
+ "onUpdate:modelValue": ee[0] || (ee[0] = (kt) => oe.perPage = kt),
52404
52407
  is_required: !1,
52405
52408
  field_name: "perPage",
52406
52409
  label_name: "",
@@ -52416,8 +52419,8 @@ function Sne(A, te, G, Ce, oe, U) {
52416
52419
  sne,
52417
52420
  fr(R("input", {
52418
52421
  type: "text",
52419
- "onUpdate:modelValue": te[1] || (te[1] = (kt) => oe.search = kt),
52420
- onInput: te[2] || (te[2] = (kt) => U.handleSearch()),
52422
+ "onUpdate:modelValue": ee[1] || (ee[1] = (kt) => oe.search = kt),
52423
+ onInput: ee[2] || (ee[2] = (kt) => U.handleSearch()),
52421
52424
  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",
52422
52425
  placeholder: "Search ..."
52423
52426
  }, null, 544), [
@@ -52584,7 +52587,7 @@ function Sne(A, te, G, Ce, oe, U) {
52584
52587
  field: lo.field_name,
52585
52588
  xprops: G.xprops,
52586
52589
  tdProps: lo.tdProps,
52587
- onDeleteAction: te[3] || (te[3] = (Ot) => U.GetItemLists()),
52590
+ onDeleteAction: ee[3] || (ee[3] = (Ot) => U.GetItemLists()),
52588
52591
  onEditAction: (Ot) => U.editAction(kt),
52589
52592
  onGeneralAction: (Ot) => U.generalAction(kt)
52590
52593
  }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ue(), de(jn, { key: 1 }, [
@@ -52645,16 +52648,16 @@ const Yce = /* @__PURE__ */ zr(Kte, [["render", Sne]]), kne = {
52645
52648
  return Math.ceil(this.filteredData.length / this.itemsPerPage);
52646
52649
  },
52647
52650
  paginatedData() {
52648
- const A = (this.currentPage - 1) * this.itemsPerPage, te = A + this.itemsPerPage;
52649
- return this.filteredData.slice(A, te);
52651
+ const A = (this.currentPage - 1) * this.itemsPerPage, ee = A + this.itemsPerPage;
52652
+ return this.filteredData.slice(A, ee);
52650
52653
  },
52651
52654
  displayedPageNumbers() {
52652
52655
  let A = Math.max(
52653
52656
  this.currentPage - Math.floor(this.maxDisplayedPages / 2),
52654
52657
  1
52655
- ), te = A + this.maxDisplayedPages - 1;
52656
- return te > this.totalPages && (te = this.totalPages, A = Math.max(te - this.maxDisplayedPages + 1, 1)), Array.from(
52657
- { length: te - A + 1 },
52658
+ ), ee = A + this.maxDisplayedPages - 1;
52659
+ return ee > this.totalPages && (ee = this.totalPages, A = Math.max(ee - this.maxDisplayedPages + 1, 1)), Array.from(
52660
+ { length: ee - A + 1 },
52658
52661
  (G, Ce) => A + Ce
52659
52662
  );
52660
52663
  },
@@ -52689,7 +52692,7 @@ const Yce = /* @__PURE__ */ zr(Kte, [["render", Sne]]), kne = {
52689
52692
  A === this.sortKey ? this.sortOrder *= -1 : (this.sortKey = A, this.sortOrder = 1);
52690
52693
  },
52691
52694
  sortData(A) {
52692
- return this.sortKey ? A.slice().sort((te, G) => (te[this.sortKey] < G[this.sortKey] ? -1 : 1) * this.sortOrder) : A;
52695
+ return this.sortKey ? A.slice().sort((ee, G) => (ee[this.sortKey] < G[this.sortKey] ? -1 : 1) * this.sortOrder) : A;
52693
52696
  },
52694
52697
  previousPage() {
52695
52698
  this.currentPage > 1 && this.currentPage--;
@@ -52823,7 +52826,7 @@ const Yce = /* @__PURE__ */ zr(Kte, [["render", Sne]]), kne = {
52823
52826
  moe,
52824
52827
  foe
52825
52828
  ];
52826
- function hoe(A, te, G, Ce, oe, U) {
52829
+ function hoe(A, ee, G, Ce, oe, U) {
52827
52830
  const be = Rd("dropdown");
52828
52831
  return ue(), de("div", Tne, [
52829
52832
  R("div", Ene, [
@@ -52834,7 +52837,7 @@ function hoe(A, te, G, Ce, oe, U) {
52834
52837
  has_cancel: !1,
52835
52838
  options: oe.showNoOfEntries,
52836
52839
  modelValue: oe.itemsPerPage,
52837
- "onUpdate:modelValue": te[0] || (te[0] = (q) => oe.itemsPerPage = q),
52840
+ "onUpdate:modelValue": ee[0] || (ee[0] = (q) => oe.itemsPerPage = q),
52838
52841
  is_required: !1,
52839
52842
  field_name: "NoOfEntries",
52840
52843
  label_name: "",
@@ -52850,7 +52853,7 @@ function hoe(A, te, G, Ce, oe, U) {
52850
52853
  Bne,
52851
52854
  fr(R("input", {
52852
52855
  type: "text",
52853
- "onUpdate:modelValue": te[1] || (te[1] = (q) => oe.search = q),
52856
+ "onUpdate:modelValue": ee[1] || (ee[1] = (q) => oe.search = q),
52854
52857
  class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 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",
52855
52858
  placeholder: "Search ..."
52856
52859
  }, null, 512), [
@@ -52899,7 +52902,7 @@ function hoe(A, te, G, Ce, oe, U) {
52899
52902
  field: tt.field_name,
52900
52903
  xprops: G.xprops,
52901
52904
  tdProps: tt.tdProps,
52902
- onDeleteAction: te[2] || (te[2] = (cn) => U.GetItemLists()),
52905
+ onDeleteAction: ee[2] || (ee[2] = (cn) => U.GetItemLists()),
52903
52906
  onEditAction: (cn) => U.editAction(q),
52904
52907
  onGeneralAction: (cn) => U.generalAction(q)
52905
52908
  }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ue(), de(jn, { key: 1 }, [
@@ -52915,13 +52918,13 @@ function hoe(A, te, G, Ce, oe, U) {
52915
52918
  R("div", Kne, [
52916
52919
  R("a", {
52917
52920
  href: "#",
52918
- onClick: te[3] || (te[3] = za((...q) => U.previousPage && U.previousPage(...q), ["prevent"])),
52921
+ onClick: ee[3] || (ee[3] = za((...q) => U.previousPage && U.previousPage(...q), ["prevent"])),
52919
52922
  disabled: oe.currentPage === 1,
52920
52923
  class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
52921
52924
  }, "Previous", 8, Yne),
52922
52925
  R("a", {
52923
52926
  href: "#",
52924
- onClick: te[4] || (te[4] = za((...q) => U.nextPage && U.nextPage(...q), ["prevent"])),
52927
+ onClick: ee[4] || (ee[4] = za((...q) => U.nextPage && U.nextPage(...q), ["prevent"])),
52925
52928
  disabled: oe.currentPage === U.totalPages,
52926
52929
  class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
52927
52930
  }, "Next", 8, Xne)
@@ -52944,7 +52947,7 @@ function hoe(A, te, G, Ce, oe, U) {
52944
52947
  R("li", null, [
52945
52948
  R("a", {
52946
52949
  href: "#",
52947
- onClick: te[5] || (te[5] = za((...q) => U.previousPage && U.previousPage(...q), ["prevent"])),
52950
+ onClick: ee[5] || (ee[5] = za((...q) => U.previousPage && U.previousPage(...q), ["prevent"])),
52948
52951
  disabled: oe.currentPage === 1,
52949
52952
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg 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"
52950
52953
  }, coe, 8, roe)
@@ -52971,7 +52974,7 @@ function hoe(A, te, G, Ce, oe, U) {
52971
52974
  R("li", null, [
52972
52975
  R("a", {
52973
52976
  href: "#",
52974
- onClick: te[6] || (te[6] = za((...q) => U.nextPage && U.nextPage(...q), ["prevent"])),
52977
+ onClick: ee[6] || (ee[6] = za((...q) => U.nextPage && U.nextPage(...q), ["prevent"])),
52975
52978
  disabled: oe.currentPage === U.totalPages,
52976
52979
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg 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"
52977
52980
  }, goe, 8, doe)
@@ -53026,11 +53029,11 @@ const Xce = /* @__PURE__ */ zr(kne, [["render", hoe]]), poe = {
53026
53029
  },
53027
53030
  methods: {
53028
53031
  groupBy(A) {
53029
- return this.itemLists.data ? this.itemLists.data.reduce((te, G) => {
53032
+ return this.itemLists.data ? this.itemLists.data.reduce((ee, G) => {
53030
53033
  const Ce = G[A];
53031
- te[Ce] || (te[Ce] = []);
53034
+ ee[Ce] || (ee[Ce] = []);
53032
53035
  const oe = { ...G };
53033
- return delete oe[A], te[Ce].push(oe), te;
53036
+ return delete oe[A], ee[Ce].push(oe), ee;
53034
53037
  }, {}) : [];
53035
53038
  },
53036
53039
  editAction(A) {
@@ -53041,21 +53044,21 @@ const Xce = /* @__PURE__ */ zr(kne, [["render", hoe]]), poe = {
53041
53044
  },
53042
53045
  GetItemLists(A = 1) {
53043
53046
  this.isLoading = !0, this.page = A;
53044
- const te = {
53047
+ const ee = {
53045
53048
  sort: this.sortField,
53046
53049
  order: this.sortOrder,
53047
53050
  s: this.search,
53048
53051
  limit: this.perPage,
53049
53052
  page: this.page
53050
53053
  };
53051
- axios.get(this.xprops.route_get_data, { params: te }).then((G) => {
53054
+ axios.get(this.xprops.route_get_data, { params: ee }).then((G) => {
53052
53055
  this.itemLists = G.data, this.isLoading = !1;
53053
53056
  }).catch((G) => {
53054
53057
  console.error(G), this.isLoading = !1;
53055
53058
  });
53056
53059
  },
53057
- updateSortColumn(A, te) {
53058
- te && (A === this.sortField ? this.sortOrder = this.sortOrder === "asc" ? "desc" : "asc" : (this.sortField = A, this.sortOrder = "asc"), this.GetItemLists(this.page));
53060
+ updateSortColumn(A, ee) {
53061
+ ee && (A === this.sortField ? this.sortOrder = this.sortOrder === "asc" ? "desc" : "asc" : (this.sortField = A, this.sortOrder = "asc"), this.GetItemLists(this.page));
53059
53062
  },
53060
53063
  handleSearch() {
53061
53064
  this.sortField = this.columns[0].field_name, this.sortOrder = "asc", this.page = 1, this.GetItemLists(this.page);
@@ -53071,8 +53074,8 @@ const Xce = /* @__PURE__ */ zr(kne, [["render", hoe]]), poe = {
53071
53074
  perPage(A) {
53072
53075
  this.page = 1, this.perPage = A, this.GetItemLists(this.page);
53073
53076
  },
53074
- refreshData(A, te) {
53075
- this.isMounted && A !== te && this.GetItemLists();
53077
+ refreshData(A, ee) {
53078
+ this.isMounted && A !== ee && this.GetItemLists();
53076
53079
  }
53077
53080
  }
53078
53081
  }, boe = { class: "p-2" }, voe = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, yoe = { class: "flex items-center gap-2" }, woe = /* @__PURE__ */ R("span", { class: "font-medium" }, " Show ", -1), xoe = { style: { "margin-top": "9px" } }, Coe = /* @__PURE__ */ R("span", { class: "font-medium" }, " Entries ", -1), _oe = /* @__PURE__ */ R("label", {
@@ -53144,7 +53147,7 @@ const Xce = /* @__PURE__ */ zr(kne, [["render", hoe]]), poe = {
53144
53147
  ], -1), Noe = [
53145
53148
  Poe
53146
53149
  ], Ioe = { 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" }, Loe = ["colspan"], Foe = ["data-label"], Hoe = { class: "overflow-auto max-h-40" }, Voe = { 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" };
53147
- function zoe(A, te, G, Ce, oe, U) {
53150
+ function zoe(A, ee, G, Ce, oe, U) {
53148
53151
  const be = Rd("dropdown"), q = Rd("TailwindPagination");
53149
53152
  return ue(), de("div", boe, [
53150
53153
  R("div", voe, [
@@ -53155,7 +53158,7 @@ function zoe(A, te, G, Ce, oe, U) {
53155
53158
  has_cancel: !1,
53156
53159
  options: oe.pageOptions,
53157
53160
  modelValue: oe.perPage,
53158
- "onUpdate:modelValue": te[0] || (te[0] = (De) => oe.perPage = De),
53161
+ "onUpdate:modelValue": ee[0] || (ee[0] = (De) => oe.perPage = De),
53159
53162
  is_required: !1,
53160
53163
  field_name: "perPage",
53161
53164
  label_name: "",
@@ -53171,8 +53174,8 @@ function zoe(A, te, G, Ce, oe, U) {
53171
53174
  koe,
53172
53175
  fr(R("input", {
53173
53176
  type: "text",
53174
- "onUpdate:modelValue": te[1] || (te[1] = (De) => oe.search = De),
53175
- onInput: te[2] || (te[2] = (De) => U.handleSearch()),
53177
+ "onUpdate:modelValue": ee[1] || (ee[1] = (De) => oe.search = De),
53178
+ onInput: ee[2] || (ee[2] = (De) => U.handleSearch()),
53176
53179
  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",
53177
53180
  placeholder: "Search ..."
53178
53181
  }, null, 544), [
@@ -53225,7 +53228,7 @@ function zoe(A, te, G, Ce, oe, U) {
53225
53228
  field: kt.field_name,
53226
53229
  xprops: G.xprops,
53227
53230
  tdProps: kt.tdProps,
53228
- onDeleteAction: te[3] || (te[3] = (lo) => U.GetItemLists()),
53231
+ onDeleteAction: ee[3] || (ee[3] = (lo) => U.GetItemLists()),
53229
53232
  onEditAction: (lo) => U.editAction(pt)
53230
53233
  }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (ue(), de(jn, { key: 1 }, [
53231
53234
  Zn(dt(pt[kt.field_name]), 1)
@@ -53279,16 +53282,16 @@ const Jce = /* @__PURE__ */ zr(poe, [["render", zoe]]), Uoe = {
53279
53282
  return Math.ceil(this.filteredData.length / this.itemsPerPage);
53280
53283
  },
53281
53284
  paginatedData() {
53282
- const A = (this.currentPage - 1) * this.itemsPerPage, te = A + this.itemsPerPage;
53283
- return this.filteredData.slice(A, te);
53285
+ const A = (this.currentPage - 1) * this.itemsPerPage, ee = A + this.itemsPerPage;
53286
+ return this.filteredData.slice(A, ee);
53284
53287
  },
53285
53288
  displayedPageNumbers() {
53286
53289
  let A = Math.max(
53287
53290
  this.currentPage - Math.floor(this.maxDisplayedPages / 2),
53288
53291
  1
53289
- ), te = A + this.maxDisplayedPages - 1;
53290
- return te > this.totalPages && (te = this.totalPages, A = Math.max(te - this.maxDisplayedPages + 1, 1)), Array.from(
53291
- { length: te - A + 1 },
53292
+ ), ee = A + this.maxDisplayedPages - 1;
53293
+ return ee > this.totalPages && (ee = this.totalPages, A = Math.max(ee - this.maxDisplayedPages + 1, 1)), Array.from(
53294
+ { length: ee - A + 1 },
53292
53295
  (G, Ce) => A + Ce
53293
53296
  );
53294
53297
  },
@@ -53311,7 +53314,7 @@ const Jce = /* @__PURE__ */ zr(poe, [["render", zoe]]), Uoe = {
53311
53314
  A === this.sortKey ? this.sortOrder *= -1 : (this.sortKey = A, this.sortOrder = 1);
53312
53315
  },
53313
53316
  sortData(A) {
53314
- return this.sortKey ? A.slice().sort((te, G) => (te[this.sortKey] < G[this.sortKey] ? -1 : 1) * this.sortOrder) : A;
53317
+ return this.sortKey ? A.slice().sort((ee, G) => (ee[this.sortKey] < G[this.sortKey] ? -1 : 1) * this.sortOrder) : A;
53315
53318
  },
53316
53319
  previousPage() {
53317
53320
  this.currentPage > 1 && this.currentPage--;
@@ -53393,7 +53396,7 @@ const Jce = /* @__PURE__ */ zr(poe, [["render", zoe]]), Uoe = {
53393
53396
  Tse,
53394
53397
  Ese
53395
53398
  ];
53396
- function Dse(A, te, G, Ce, oe, U) {
53399
+ function Dse(A, ee, G, Ce, oe, U) {
53397
53400
  const be = Rd("dropdown");
53398
53401
  return ue(), de("div", Woe, [
53399
53402
  R("div", Zoe, [
@@ -53404,7 +53407,7 @@ function Dse(A, te, G, Ce, oe, U) {
53404
53407
  has_cancel: !1,
53405
53408
  options: oe.showNoOfEntries,
53406
53409
  modelValue: oe.itemsPerPage,
53407
- "onUpdate:modelValue": te[0] || (te[0] = (q) => oe.itemsPerPage = q),
53410
+ "onUpdate:modelValue": ee[0] || (ee[0] = (q) => oe.itemsPerPage = q),
53408
53411
  is_required: !1,
53409
53412
  field_name: "NoOfEntries",
53410
53413
  label_name: "",
@@ -53420,7 +53423,7 @@ function Dse(A, te, G, Ce, oe, U) {
53420
53423
  Joe,
53421
53424
  fr(R("input", {
53422
53425
  type: "text",
53423
- "onUpdate:modelValue": te[1] || (te[1] = (q) => oe.search = q),
53426
+ "onUpdate:modelValue": ee[1] || (ee[1] = (q) => oe.search = q),
53424
53427
  class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 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",
53425
53428
  placeholder: "Search ..."
53426
53429
  }, null, 512), [
@@ -53467,13 +53470,13 @@ function Dse(A, te, G, Ce, oe, U) {
53467
53470
  R("div", ise, [
53468
53471
  R("a", {
53469
53472
  href: "#",
53470
- onClick: te[2] || (te[2] = za((...q) => U.previousPage && U.previousPage(...q), ["prevent"])),
53473
+ onClick: ee[2] || (ee[2] = za((...q) => U.previousPage && U.previousPage(...q), ["prevent"])),
53471
53474
  disabled: oe.currentPage === 1,
53472
53475
  class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
53473
53476
  }, "Previous", 8, use),
53474
53477
  R("a", {
53475
53478
  href: "#",
53476
- onClick: te[3] || (te[3] = za((...q) => U.nextPage && U.nextPage(...q), ["prevent"])),
53479
+ onClick: ee[3] || (ee[3] = za((...q) => U.nextPage && U.nextPage(...q), ["prevent"])),
53477
53480
  disabled: oe.currentPage === U.totalPages,
53478
53481
  class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
53479
53482
  }, "Next", 8, dse)
@@ -53496,7 +53499,7 @@ function Dse(A, te, G, Ce, oe, U) {
53496
53499
  R("li", null, [
53497
53500
  R("a", {
53498
53501
  href: "#",
53499
- onClick: te[4] || (te[4] = za((...q) => U.previousPage && U.previousPage(...q), ["prevent"])),
53502
+ onClick: ee[4] || (ee[4] = za((...q) => U.previousPage && U.previousPage(...q), ["prevent"])),
53500
53503
  disabled: oe.currentPage === 1,
53501
53504
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg 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"
53502
53505
  }, Cse, 8, yse)
@@ -53523,7 +53526,7 @@ function Dse(A, te, G, Ce, oe, U) {
53523
53526
  R("li", null, [
53524
53527
  R("a", {
53525
53528
  href: "#",
53526
- onClick: te[5] || (te[5] = za((...q) => U.nextPage && U.nextPage(...q), ["prevent"])),
53529
+ onClick: ee[5] || (ee[5] = za((...q) => U.nextPage && U.nextPage(...q), ["prevent"])),
53527
53530
  disabled: oe.currentPage === U.totalPages,
53528
53531
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg 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"
53529
53532
  }, Ase, 8, kse)
@@ -53539,10 +53542,10 @@ const Qce = /* @__PURE__ */ zr(Uoe, [["render", Dse]]), Ose = {
53539
53542
  props: ["field", "row", "tdProps"],
53540
53543
  methods: {
53541
53544
  convertCronToHuman(A) {
53542
- const [te, G, Ce, oe, U] = A.split(" ");
53543
- if (te === "*" && G === "*" && Ce === "*" && oe === "*" && U === "*")
53545
+ const [ee, G, Ce, oe, U] = A.split(" ");
53546
+ if (ee === "*" && G === "*" && Ce === "*" && oe === "*" && U === "*")
53544
53547
  return "Runs every minute.";
53545
- if (te === "0" && G === "0" && Ce === "*" && oe === "*" && U !== "*")
53548
+ if (ee === "0" && G === "0" && Ce === "*" && oe === "*" && U !== "*")
53546
53549
  return `Runs at 12:00 AM every ${this.convertDayOfWeek(U)}.`;
53547
53550
  const be = {
53548
53551
  0: "Sunday",
@@ -53567,24 +53570,24 @@ const Qce = /* @__PURE__ */ zr(Uoe, [["render", Dse]]), Ose = {
53567
53570
  11: "November",
53568
53571
  12: "December",
53569
53572
  "*": "every month"
53570
- }, De = this.convertField(te, "minute", 59), tt = this.convertField(G, "hour", 23), pt = this.convertField(Ce, "day of the month", 31), cn = this.convertField(oe, "month", 12, q), kt = this.convertField(U, "day", 6, be);
53573
+ }, De = this.convertField(ee, "minute", 59), tt = this.convertField(G, "hour", 23), pt = this.convertField(Ce, "day of the month", 31), cn = this.convertField(oe, "month", 12, q), kt = this.convertField(U, "day", 6, be);
53571
53574
  return `Runs ${De} ${tt} ${pt} ${cn} on ${kt}.`;
53572
53575
  },
53573
- convertField(A, te, G, Ce = {}) {
53574
- if (A === "*") return `every ${te}`;
53576
+ convertField(A, ee, G, Ce = {}) {
53577
+ if (A === "*") return `every ${ee}`;
53575
53578
  if (A.includes("/")) {
53576
53579
  const [oe, U] = A.split("/");
53577
- return `every ${U} ${te}${U > 1 ? "s" : ""} starting at ${oe}`;
53580
+ return `every ${U} ${ee}${U > 1 ? "s" : ""} starting at ${oe}`;
53578
53581
  }
53579
53582
  if (A.includes("-")) {
53580
53583
  const [oe, U] = A.split("-");
53581
- return `${te}s from ${oe} to ${U}`;
53584
+ return `${ee}s from ${oe} to ${U}`;
53582
53585
  }
53583
53586
  if (A.includes(",")) {
53584
53587
  const oe = A.split(",").map((U) => Ce[U] || U);
53585
- return `${te}s on ${oe.join(", ")}`;
53588
+ return `${ee}s on ${oe.join(", ")}`;
53586
53589
  }
53587
- return Ce[A] || `${te} ${A}`;
53590
+ return Ce[A] || `${ee} ${A}`;
53588
53591
  },
53589
53592
  convertDayOfWeek(A) {
53590
53593
  return {
@@ -53598,15 +53601,15 @@ const Qce = /* @__PURE__ */ zr(Uoe, [["render", Dse]]), Ose = {
53598
53601
  }[A] || "Invalid day";
53599
53602
  },
53600
53603
  formatHour(A) {
53601
- const te = parseInt(A, 10), G = te >= 12 ? "PM" : "AM";
53602
- return `${(te % 12 || 12).toString().padStart(2, "0")}:00 ${G}`;
53604
+ const ee = parseInt(A, 10), G = ee >= 12 ? "PM" : "AM";
53605
+ return `${(ee % 12 || 12).toString().padStart(2, "0")}:00 ${G}`;
53603
53606
  }
53604
53607
  }
53605
53608
  }, Rse = {
53606
53609
  key: 0,
53607
53610
  class: "flex flex-wrap gap-2"
53608
53611
  }, $se = { class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300" };
53609
- function Mse(A, te, G, Ce, oe, U) {
53612
+ function Mse(A, ee, G, Ce, oe, U) {
53610
53613
  return G.row[G.field] ? (ue(), de("div", Rse, [
53611
53614
  R("span", $se, dt(U.convertCronToHuman(G.row[G.field])), 1)
53612
53615
  ])) : qe("", !0);
@@ -53631,7 +53634,7 @@ const eie = /* @__PURE__ */ zr(Ose, [["render", Mse]]), Bse = {
53631
53634
  }), {};
53632
53635
  }
53633
53636
  };
53634
- function Pse(A, te, G, Ce, oe, U) {
53637
+ function Pse(A, ee, G, Ce, oe, U) {
53635
53638
  return ue(), de("div", null, [
53636
53639
  Zi(A.$slots, "default")
53637
53640
  ]);
@@ -53644,7 +53647,7 @@ const tie = /* @__PURE__ */ zr(Bse, [["render", Pse]]), Nse = {
53644
53647
  }
53645
53648
  },
53646
53649
  setup() {
53647
- const A = co(!1), te = sq("accordionsWrapper"), Ce = (() => {
53650
+ const A = co(!1), ee = sq("accordionsWrapper"), Ce = (() => {
53648
53651
  var tt = (/* @__PURE__ */ new Date()).getTime();
53649
53652
  typeof performance < "u" && typeof performance.now == "function" && (tt += performance.now());
53650
53653
  var pt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(cn) {
@@ -53652,13 +53655,13 @@ const tie = /* @__PURE__ */ zr(Bse, [["render", Pse]]), Nse = {
53652
53655
  return tt = Math.floor(tt / 16), (cn === "x" ? kt : kt & 3 | 8).toString(16);
53653
53656
  });
53654
53657
  return pt;
53655
- })(), oe = { isOpen: A, id: Ce }, U = bu(() => te.accordions.value), be = bu(() => U.value.length > 0 && U.value[0].id === Ce), q = bu(() => U.value.length > 0 && U.value[U.value.length - 1].id === Ce);
53658
+ })(), oe = { isOpen: A, id: Ce }, U = bu(() => ee.accordions.value), be = bu(() => U.value.length > 0 && U.value[0].id === Ce), q = bu(() => U.value.length > 0 && U.value[U.value.length - 1].id === Ce);
53656
53659
  return Og(() => {
53657
- te.registerAccordion(oe);
53660
+ ee.registerAccordion(oe);
53658
53661
  }), Nq(() => {
53659
- te.unregisterAccordion(oe);
53662
+ ee.unregisterAccordion(oe);
53660
53663
  }), { isOpen: A, isFirstAccordion: be, isLastAccordion: q, toggle: () => {
53661
- te.toggleAccordion(oe);
53664
+ ee.toggleAccordion(oe);
53662
53665
  } };
53663
53666
  }
53664
53667
  }, Ise = { class: "flex items-center" }, Lse = {
@@ -53692,11 +53695,11 @@ const tie = /* @__PURE__ */ zr(Bse, [["render", Pse]]), Nse = {
53692
53695
  }, null, -1), Use = [
53693
53696
  zse
53694
53697
  ];
53695
- function Wse(A, te, G, Ce, oe, U) {
53698
+ function Wse(A, ee, G, Ce, oe, U) {
53696
53699
  return ue(), de("div", null, [
53697
53700
  R("h2", null, [
53698
53701
  R("button", {
53699
- onClick: te[0] || (te[0] = (...be) => Ce.toggle && Ce.toggle(...be)),
53702
+ onClick: ee[0] || (ee[0] = (...be) => Ce.toggle && Ce.toggle(...be)),
53700
53703
  type: "button",
53701
53704
  class: zt(["flex items-center justify-between w-full gap-3 p-5 font-medium text-gray-500 border border-gray-200 rtl:text-right dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800", {
53702
53705
  "rounded-t-xl": Ce.isFirstAccordion,
@@ -53795,12 +53798,12 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
53795
53798
  }
53796
53799
  },
53797
53800
  emits: ["remove"],
53798
- setup(A, { emit: te }) {
53801
+ setup(A, { emit: ee }) {
53799
53802
  const G = A;
53800
53803
  Og(() => {
53801
53804
  setTimeout(() => Ce("remove"), G.duration);
53802
53805
  });
53803
- const Ce = te;
53806
+ const Ce = ee;
53804
53807
  return (oe, U) => (ue(), de("div", Zse, [
53805
53808
  G.type === "success" ? (ue(), de("div", jse, Kse)) : qe("", !0),
53806
53809
  G.type === "error" ? (ue(), de("div", Yse, Qse)) : qe("", !0),
@@ -53818,7 +53821,7 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
53818
53821
  }, oie = {
53819
53822
  __name: "GlToastList",
53820
53823
  setup(A) {
53821
- function te(G) {
53824
+ function ee(G) {
53822
53825
  Ry.methods.remove(G);
53823
53826
  }
53824
53827
  return (G, Ce) => (ue(), ju(Iq, {
@@ -53835,7 +53838,7 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
53835
53838
  message: oe.message,
53836
53839
  type: oe.type,
53837
53840
  duration: oe.duration,
53838
- onRemove: (be) => te(U)
53841
+ onRemove: (be) => ee(U)
53839
53842
  }, null, 8, ["message", "type", "duration", "onRemove"]))), 128))
53840
53843
  ]),
53841
53844
  _: 1
@@ -53882,7 +53885,7 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
53882
53885
  }
53883
53886
  },
53884
53887
  emits: ["deleteAction"],
53885
- setup(A, { emit: te }) {
53888
+ setup(A, { emit: ee }) {
53886
53889
  const G = A, Ce = co(!1), oe = co(!1), U = () => {
53887
53890
  Ce.value = !1;
53888
53891
  }, be = () => {
@@ -53891,7 +53894,7 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
53891
53894
  oe.value = !1;
53892
53895
  }, De = () => {
53893
53896
  oe.value = !0;
53894
- }, tt = te, pt = () => {
53897
+ }, tt = ee, pt = () => {
53895
53898
  axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
53896
53899
  q(), tt("deleteAction"), Ry.methods.add({
53897
53900
  message: "Item deleted successfully.",
@@ -53988,7 +53991,7 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
53988
53991
  }
53989
53992
  },
53990
53993
  emits: ["deleteAction"],
53991
- setup(A, { emit: te }) {
53994
+ setup(A, { emit: ee }) {
53992
53995
  const G = A, Ce = co(!1), oe = co(!1), U = () => {
53993
53996
  Ce.value = !1;
53994
53997
  }, be = () => {
@@ -53997,7 +54000,7 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
53997
54000
  oe.value = !1;
53998
54001
  }, De = () => {
53999
54002
  oe.value = !0;
54000
- }, tt = te, pt = () => {
54003
+ }, tt = ee, pt = () => {
54001
54004
  axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
54002
54005
  q(), tt("deleteAction"), Ry.methods.add({
54003
54006
  message: "Item deleted successfully.",
@@ -54085,7 +54088,7 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
54085
54088
  }
54086
54089
  },
54087
54090
  emits: ["deleteAction", "editAction"],
54088
- setup(A, { emit: te }) {
54091
+ setup(A, { emit: ee }) {
54089
54092
  const G = A, Ce = co(!1), oe = co(!1), U = () => {
54090
54093
  oe.value = !1;
54091
54094
  }, be = () => {
@@ -54094,7 +54097,7 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
54094
54097
  Ce.value = !1;
54095
54098
  }, De = () => {
54096
54099
  Ce.value = !0;
54097
- }, tt = te, pt = (kt) => {
54100
+ }, tt = ee, pt = (kt) => {
54098
54101
  tt("editAction", kt);
54099
54102
  }, cn = () => {
54100
54103
  axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
@@ -54206,7 +54209,7 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
54206
54209
  "clip-rule": "evenodd"
54207
54210
  })
54208
54211
  ], -1);
54209
- function Vre(A, te, G, Ce, oe, U) {
54212
+ function Vre(A, ee, G, Ce, oe, U) {
54210
54213
  return ue(), de("div", null, [
54211
54214
  U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row, (be, q) => (ue(), de("div", {
54212
54215
  key: q,
@@ -54282,7 +54285,7 @@ const lie = /* @__PURE__ */ zr(Pre, [["render", Vre]]), zre = {
54282
54285
  "clip-rule": "evenodd"
54283
54286
  })
54284
54287
  ], -1);
54285
- function qre(A, te, G, Ce, oe, U) {
54288
+ function qre(A, ee, G, Ce, oe, U) {
54286
54289
  return U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row[G.field], (be) => (ue(), de("div", {
54287
54290
  key: be.id,
54288
54291
  class: "m-1 d-inline-block"
@@ -54311,7 +54314,7 @@ function qre(A, te, G, Ce, oe, U) {
54311
54314
  const cie = /* @__PURE__ */ zr(zre, [["render", qre]]), Kre = {
54312
54315
  props: ["field", "row", "tdProps"]
54313
54316
  }, Yre = { key: 0 }, Xre = ["innerHTML"];
54314
- function Jre(A, te, G, Ce, oe, U) {
54317
+ function Jre(A, ee, G, Ce, oe, U) {
54315
54318
  return G.row[G.field] ? (ue(), de("div", Yre, [
54316
54319
  R("div", {
54317
54320
  class: "w-full",
@@ -54323,8 +54326,8 @@ const iie = /* @__PURE__ */ zr(Kre, [["render", Jre]]), Qre = {
54323
54326
  props: ["field", "row", "tdProps"],
54324
54327
  computed: {
54325
54328
  entry() {
54326
- const [A, te] = this.field.split(".");
54327
- return Fq({ key: A, field: te });
54329
+ const [A, ee] = this.field.split(".");
54330
+ return Fq({ key: A, field: ee });
54328
54331
  },
54329
54332
  isArray() {
54330
54333
  return Array.isArray(this.row[this.entry.key]);
@@ -54340,7 +54343,7 @@ const iie = /* @__PURE__ */ zr(Kre, [["render", Jre]]), Qre = {
54340
54343
  key: 1,
54341
54344
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
54342
54345
  };
54343
- function nae(A, te, G, Ce, oe, U) {
54346
+ function nae(A, ee, G, Ce, oe, U) {
54344
54347
  return this.row[this.entry.key] ? (ue(), de("div", eae, [
54345
54348
  U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row[U.entry.key], (be, q) => (ue(), de("span", {
54346
54349
  key: q,
@@ -54352,8 +54355,8 @@ const uie = /* @__PURE__ */ zr(Qre, [["render", nae]]), oae = {
54352
54355
  props: ["field", "row", "tdProps"],
54353
54356
  computed: {
54354
54357
  entry() {
54355
- const A = this.field.split("."), te = A.pop();
54356
- return { keys: A, field: te };
54358
+ const A = this.field.split("."), ee = A.pop();
54359
+ return { keys: A, field: ee };
54357
54360
  },
54358
54361
  isArray() {
54359
54362
  return Array.isArray(this.getNestedValue(this.row, this.entry.keys));
@@ -54363,15 +54366,15 @@ const uie = /* @__PURE__ */ zr(Qre, [["render", nae]]), oae = {
54363
54366
  }
54364
54367
  },
54365
54368
  methods: {
54366
- getNestedValue(A, te) {
54367
- return te.reduce((G, Ce) => (G || {})[Ce], A);
54369
+ getNestedValue(A, ee) {
54370
+ return ee.reduce((G, Ce) => (G || {})[Ce], A);
54368
54371
  }
54369
54372
  }
54370
54373
  }, sae = { class: "flex flex-wrap gap-2" }, rae = {
54371
54374
  key: 1,
54372
54375
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
54373
54376
  };
54374
- function aae(A, te, G, Ce, oe, U) {
54377
+ function aae(A, ee, G, Ce, oe, U) {
54375
54378
  return ue(), de("div", sae, [
54376
54379
  U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(U.getNestedValue(G.row, U.entry.keys), (be, q) => (ue(), de("span", {
54377
54380
  key: q,
@@ -54382,7 +54385,7 @@ function aae(A, te, G, Ce, oe, U) {
54382
54385
  const die = /* @__PURE__ */ zr(oae, [["render", aae]]), lae = {
54383
54386
  props: ["field", "row", "tdProps"]
54384
54387
  }, cae = { key: 0 }, iae = { class: "m-1 d-inline-block" }, uae = ["href", "title"], dae = ["src", "alt", "title"];
54385
- function mae(A, te, G, Ce, oe, U) {
54388
+ function mae(A, ee, G, Ce, oe, U) {
54386
54389
  return G.row[G.field] ? (ue(), de("div", cae, [
54387
54390
  R("div", iae, [
54388
54391
  R("a", {
@@ -54413,7 +54416,7 @@ const mie = /* @__PURE__ */ zr(lae, [["render", mae], ["__scopeId", "data-v-3a28
54413
54416
  key: 0,
54414
54417
  class: "grid grid-cols-2 gap-4"
54415
54418
  }, hae = ["src", "alt"], pae = { key: 1 }, bae = ["src", "alt"];
54416
- function vae(A, te, G, Ce, oe, U) {
54419
+ function vae(A, ee, G, Ce, oe, U) {
54417
54420
  return U.isArray ? (ue(), de("div", gae, [
54418
54421
  (ue(!0), de(jn, null, Ks(G.row[G.field], (be) => (ue(), de("div", {
54419
54422
  key: be.id
@@ -54446,7 +54449,7 @@ const fie = /* @__PURE__ */ zr(fae, [["render", vae]]), yae = {
54446
54449
  key: 1,
54447
54450
  class: "inline-flex items-center px-2 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full dark:bg-red-900 dark:text-red-300"
54448
54451
  }, Sae = /* @__PURE__ */ R("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
54449
- function kae(A, te, G, Ce, oe, U) {
54452
+ function kae(A, ee, G, Ce, oe, U) {
54450
54453
  return ue(), de("div", wae, [
54451
54454
  U.isActive ? (ue(), de("span", xae, [
54452
54455
  Cae,
@@ -54461,10 +54464,10 @@ const gie = /* @__PURE__ */ zr(yae, [["render", kae]]), Tae = {
54461
54464
  props: ["field", "row", "tdProps"],
54462
54465
  computed: {
54463
54466
  hasLabelColor(A) {
54464
- const te = this.tdProps.status_general_labels_color.find(
54467
+ const ee = this.tdProps.status_general_labels_color.find(
54465
54468
  (G) => G.label === this.row[this.field]
54466
54469
  );
54467
- return te ? te.class : "";
54470
+ return ee ? ee.class : "";
54468
54471
  }
54469
54472
  }
54470
54473
  }, Eae = { class: "flex flex-wrap gap-2 text-nowrap" }, Aae = {
@@ -54486,7 +54489,7 @@ const gie = /* @__PURE__ */ zr(yae, [["render", kae]]), Tae = {
54486
54489
  /* @__PURE__ */ R("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
54487
54490
  /* @__PURE__ */ R("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
54488
54491
  ], -1);
54489
- function Lae(A, te, G, Ce, oe, U) {
54492
+ function Lae(A, ee, G, Ce, oe, U) {
54490
54493
  return ue(), de("div", Eae, [
54491
54494
  U.hasLabelColor == "green" ? (ue(), de("span", Aae, [
54492
54495
  Dae,
@@ -54532,7 +54535,7 @@ const hie = /* @__PURE__ */ zr(Tae, [["render", Lae]]), Fae = {
54532
54535
  }
54533
54536
  }
54534
54537
  }, Hae = { class: "flex flex-wrap gap-2 text-nowrap lg:justify-center" };
54535
- function Vae(A, te, G, Ce, oe, U) {
54538
+ function Vae(A, ee, G, Ce, oe, U) {
54536
54539
  return ue(), de("div", Hae, [
54537
54540
  U.hasLabelColor == "Default" ? (ue(), de("span", {
54538
54541
  key: 0,
@@ -54572,8 +54575,8 @@ const pie = /* @__PURE__ */ zr(Fae, [["render", Vae]]), zae = {
54572
54575
  props: ["field", "row", "tdProps"],
54573
54576
  computed: {
54574
54577
  entry() {
54575
- const A = this.field.split("."), te = A.pop();
54576
- return { keys: A, field: te };
54578
+ const A = this.field.split("."), ee = A.pop();
54579
+ return { keys: A, field: ee };
54577
54580
  },
54578
54581
  isArray() {
54579
54582
  return Array.isArray(this.getNestedValue(this.row, this.entry.keys));
@@ -54582,14 +54585,14 @@ const pie = /* @__PURE__ */ zr(Fae, [["render", Vae]]), zae = {
54582
54585
  return typeof this.getNestedValue(this.row, this.entry.keys) == "object";
54583
54586
  },
54584
54587
  hasLabelColor(A) {
54585
- const te = this.tdProps.status_general_labels_color.find(
54588
+ const ee = this.tdProps.status_general_labels_color.find(
54586
54589
  (G) => G.text === this.getValue()
54587
54590
  );
54588
- return te ? te.class : "";
54591
+ return ee ? ee.class : "";
54589
54592
  },
54590
54593
  getLabel() {
54591
54594
  const A = this.tdProps.status_general_labels_color.find(
54592
- (te) => te.text === this.getValue()
54595
+ (ee) => ee.text === this.getValue()
54593
54596
  );
54594
54597
  return A ? A.label : "";
54595
54598
  }
@@ -54598,8 +54601,8 @@ const pie = /* @__PURE__ */ zr(Fae, [["render", Vae]]), zae = {
54598
54601
  getValue() {
54599
54602
  return this.isObject ? this.getNestedValue(this.row, this.entry.keys)[this.entry.field] : this.row[this.field];
54600
54603
  },
54601
- getNestedValue(A, te) {
54602
- return te.reduce((G, Ce) => (G || {})[Ce], A);
54604
+ getNestedValue(A, ee) {
54605
+ return ee.reduce((G, Ce) => (G || {})[Ce], A);
54603
54606
  }
54604
54607
  }
54605
54608
  }, Uae = { class: "flex flex-wrap gap-2 text-nowrap" }, Wae = {
@@ -54621,7 +54624,7 @@ const pie = /* @__PURE__ */ zr(Fae, [["render", Vae]]), zae = {
54621
54624
  /* @__PURE__ */ R("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
54622
54625
  /* @__PURE__ */ R("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
54623
54626
  ], -1);
54624
- function ele(A, te, G, Ce, oe, U) {
54627
+ function ele(A, ee, G, Ce, oe, U) {
54625
54628
  return ue(), de("div", Uae, [
54626
54629
  U.hasLabelColor == "green" ? (ue(), de("span", Wae, [
54627
54630
  Zae,
@@ -54651,14 +54654,14 @@ const bie = /* @__PURE__ */ zr(zae, [["render", ele]]), tle = {
54651
54654
  formattedDate() {
54652
54655
  if (!this.row[this.field])
54653
54656
  return "";
54654
- const A = new Date(this.row[this.field]), te = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), Ce = A.getDate();
54657
+ const A = new Date(this.row[this.field]), ee = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), Ce = A.getDate();
54655
54658
  let oe = A.getHours();
54656
54659
  const U = A.getMinutes(), be = A.getSeconds(), q = oe >= 12 ? "pm" : "am";
54657
- return oe = oe % 12, oe = oe || 12, `${G} ${Ce}, ${te}, ${oe}:${U}:${be} ${q}`;
54660
+ return oe = oe % 12, oe = oe || 12, `${G} ${Ce}, ${ee}, ${oe}:${U}:${be} ${q}`;
54658
54661
  }
54659
54662
  }
54660
54663
  }, nle = { class: "w-full" };
54661
- function ole(A, te, G, Ce, oe, U) {
54664
+ function ole(A, ee, G, Ce, oe, U) {
54662
54665
  return ue(), de("div", nle, dt(U.formattedDate), 1);
54663
54666
  }
54664
54667
  const vie = /* @__PURE__ */ zr(tle, [["render", ole]]), sle = {
@@ -54667,12 +54670,12 @@ const vie = /* @__PURE__ */ zr(tle, [["render", ole]]), sle = {
54667
54670
  formattedDate() {
54668
54671
  if (!this.row[this.field])
54669
54672
  return "";
54670
- const A = new Date(this.row[this.field]), te = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), Ce = A.getDate();
54671
- return `${G} ${Ce}, ${te}`;
54673
+ const A = new Date(this.row[this.field]), ee = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), Ce = A.getDate();
54674
+ return `${G} ${Ce}, ${ee}`;
54672
54675
  }
54673
54676
  }
54674
54677
  }, rle = { class: "w-full" };
54675
- function ale(A, te, G, Ce, oe, U) {
54678
+ function ale(A, ee, G, Ce, oe, U) {
54676
54679
  return ue(), de("div", rle, dt(U.formattedDate), 1);
54677
54680
  }
54678
54681
  const yie = /* @__PURE__ */ zr(sle, [["render", ale]]), lle = {
@@ -54690,7 +54693,7 @@ const yie = /* @__PURE__ */ zr(sle, [["render", ale]]), lle = {
54690
54693
  key: 2,
54691
54694
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
54692
54695
  }, gle = /* @__PURE__ */ R("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
54693
- function hle(A, te, G, Ce, oe, U) {
54696
+ function hle(A, ee, G, Ce, oe, U) {
54694
54697
  return ue(), de("div", cle, [
54695
54698
  G.row[G.field] === 0 ? (ue(), de("span", ile, [
54696
54699
  ule,
@@ -54712,7 +54715,7 @@ const wie = /* @__PURE__ */ zr(lle, [["render", hle]]), ple = {
54712
54715
  key: 0,
54713
54716
  class: "text-nowrap w-full"
54714
54717
  }, vle = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
54715
- function yle(A, te, G, Ce, oe, U) {
54718
+ function yle(A, ee, G, Ce, oe, U) {
54716
54719
  return G.row[G.field] ? (ue(), de("div", ble, [
54717
54720
  R("pre", vle, " " + dt(G.row[G.field]) + `
54718
54721
  `, 1)
@@ -54743,7 +54746,7 @@ const xie = /* @__PURE__ */ zr(ple, [["render", yle]]), wle = {
54743
54746
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
54744
54747
  "aria-hidden": "true"
54745
54748
  }, "​", -1), kle = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Tle = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, Ele = { class: "sm:flex sm:items-start" }, Ale = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Dle = { class: "text-lg font-medium leading-6" }, Ole = { class: "mt-2" }, Rle = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
54746
- function $le(A, te, G, Ce, oe, U) {
54749
+ function $le(A, ee, G, Ce, oe, U) {
54747
54750
  const be = Rd("gl-button");
54748
54751
  return G.isOpen ? (ue(), de("div", xle, [
54749
54752
  R("div", Cle, [
@@ -54837,7 +54840,7 @@ const Cie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
54837
54840
  }
54838
54841
  },
54839
54842
  setup(A) {
54840
- const te = A, G = co(!1), Ce = (U) => {
54843
+ const ee = A, G = co(!1), Ce = (U) => {
54841
54844
  navigator.clipboard.writeText(U).then(function() {
54842
54845
  G.value = !0, setTimeout(() => {
54843
54846
  G.value = !1;
@@ -54845,7 +54848,7 @@ const Cie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
54845
54848
  }).catch(function(be) {
54846
54849
  console.error("Error copying to clipboard: ", be);
54847
54850
  });
54848
- }, oe = bu(() => te.code);
54851
+ }, oe = bu(() => ee.code);
54849
54852
  return (U, be) => (ue(), de("div", Mle, [
54850
54853
  R("div", Ble, [
54851
54854
  R("p", Ple, dt(A.label_name), 1)
@@ -54917,7 +54920,7 @@ const Cie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
54917
54920
  }
54918
54921
  },
54919
54922
  setup(A) {
54920
- const te = A, G = co(!1), Ce = (U) => {
54923
+ const ee = A, G = co(!1), Ce = (U) => {
54921
54924
  navigator.clipboard.writeText(U).then(function() {
54922
54925
  G.value = !0, setTimeout(() => {
54923
54926
  G.value = !1;
@@ -54925,7 +54928,7 @@ const Cie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
54925
54928
  }).catch(function(be) {
54926
54929
  console.error("Error copying to clipboard: ", be);
54927
54930
  });
54928
- }, oe = bu(() => te.code);
54931
+ }, oe = bu(() => ee.code);
54929
54932
  return (U, be) => (ue(), de("div", Kle, [
54930
54933
  R("div", Yle, [
54931
54934
  R("label", Xle, dt(A.label_name), 1)
@@ -54976,7 +54979,7 @@ const Cie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
54976
54979
  }
54977
54980
  },
54978
54981
  setup(A) {
54979
- return (te, G) => (ue(), de("div", ice, [
54982
+ return (ee, G) => (ue(), de("div", ice, [
54980
54983
  A.status === 0 ? (ue(), de("span", uce, [
54981
54984
  dce,
54982
54985
  Zn(" Running")
@@ -55024,8 +55027,8 @@ const Cie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
55024
55027
  }
55025
55028
  },
55026
55029
  emits: ["reconnect"],
55027
- setup(A, { emit: te }) {
55028
- const G = te, Ce = () => {
55030
+ setup(A, { emit: ee }) {
55031
+ const G = ee, Ce = () => {
55029
55032
  G("reconnect");
55030
55033
  };
55031
55034
  return (oe, U) => (ue(), de("div", pce, [
@@ -55050,9 +55053,9 @@ const Cie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
55050
55053
  ]));
55051
55054
  }
55052
55055
  }, Eie = {
55053
- beforeMount: (A, te) => {
55056
+ beforeMount: (A, ee) => {
55054
55057
  A.clickOutsideEvent = (G) => {
55055
- A == G.target || A.contains(G.target) || te.value(G, A);
55058
+ A == G.target || A.contains(G.target) || ee.value(G, A);
55056
55059
  }, document.addEventListener("click", A.clickOutsideEvent);
55057
55060
  },
55058
55061
  unmounted: (A) => {
@@ -55075,8 +55078,8 @@ class Tce {
55075
55078
  *
55076
55079
  * @param {string} field
55077
55080
  */
55078
- has(te) {
55079
- return this.errors.hasOwnProperty(te);
55081
+ has(ee) {
55082
+ return this.errors.hasOwnProperty(ee);
55080
55083
  }
55081
55084
  /**
55082
55085
  * Determine if we have any errors.
@@ -55089,26 +55092,26 @@ class Tce {
55089
55092
  *
55090
55093
  * @param {string} field
55091
55094
  */
55092
- get(te) {
55093
- if (this.errors[te])
55094
- return this.errors[te][0];
55095
+ get(ee) {
55096
+ if (this.errors[ee])
55097
+ return this.errors[ee][0];
55095
55098
  }
55096
55099
  /**
55097
55100
  * Record the new errors.
55098
55101
  *
55099
55102
  * @param {object} errors
55100
55103
  */
55101
- record(te) {
55102
- this.errors = te;
55104
+ record(ee) {
55105
+ this.errors = ee;
55103
55106
  }
55104
55107
  /**
55105
55108
  * Clear one or all error fields.
55106
55109
  *
55107
55110
  * @param {string|null} field
55108
55111
  */
55109
- clear(te) {
55110
- if (te) {
55111
- delete this.errors[te];
55112
+ clear(ee) {
55113
+ if (ee) {
55114
+ delete this.errors[ee];
55112
55115
  return;
55113
55116
  }
55114
55117
  this.errors = {};
@@ -55120,27 +55123,27 @@ class Aie {
55120
55123
  *
55121
55124
  * @param {object} data
55122
55125
  */
55123
- constructor(te) {
55124
- this.originalData = te;
55125
- for (let G in te)
55126
- this[G] = te[G];
55126
+ constructor(ee) {
55127
+ this.originalData = ee;
55128
+ for (let G in ee)
55129
+ this[G] = ee[G];
55127
55130
  this.errors = new Tce();
55128
55131
  }
55129
55132
  /**
55130
55133
  * Fetch all relevant data for the form.
55131
55134
  */
55132
55135
  data() {
55133
- let te = {};
55136
+ let ee = {};
55134
55137
  for (let G in this.originalData)
55135
- te[G] = this[G];
55136
- return te;
55138
+ ee[G] = this[G];
55139
+ return ee;
55137
55140
  }
55138
55141
  /**
55139
55142
  * Reset the form fields.
55140
55143
  */
55141
55144
  reset() {
55142
- for (let te in this.originalData)
55143
- this[te] = "";
55145
+ for (let ee in this.originalData)
55146
+ this[ee] = "";
55144
55147
  this.errors.clear();
55145
55148
  }
55146
55149
  /**
@@ -55148,32 +55151,32 @@ class Aie {
55148
55151
  * .
55149
55152
  * @param {string} url
55150
55153
  */
55151
- post(te) {
55152
- return this.submit("post", te);
55154
+ post(ee) {
55155
+ return this.submit("post", ee);
55153
55156
  }
55154
55157
  /**
55155
55158
  * Send a PUT request to the given URL.
55156
55159
  * .
55157
55160
  * @param {string} url
55158
55161
  */
55159
- put(te) {
55160
- return this.submit("put", te);
55162
+ put(ee) {
55163
+ return this.submit("put", ee);
55161
55164
  }
55162
55165
  /**
55163
55166
  * Send a PATCH request to the given URL.
55164
55167
  * .
55165
55168
  * @param {string} url
55166
55169
  */
55167
- patch(te) {
55168
- return this.submit("patch", te);
55170
+ patch(ee) {
55171
+ return this.submit("patch", ee);
55169
55172
  }
55170
55173
  /**
55171
55174
  * Send a DELETE request to the given URL.
55172
55175
  * .
55173
55176
  * @param {string} url
55174
55177
  */
55175
- delete(te) {
55176
- return this.submit("delete", te);
55178
+ delete(ee) {
55179
+ return this.submit("delete", ee);
55177
55180
  }
55178
55181
  /**
55179
55182
  * Submit the form.
@@ -55181,9 +55184,9 @@ class Aie {
55181
55184
  * @param {string} requestType
55182
55185
  * @param {string} url
55183
55186
  */
55184
- submit(te, G) {
55187
+ submit(ee, G) {
55185
55188
  return new Promise((Ce, oe) => {
55186
- axios[te](G, this.data()).then((U) => {
55189
+ axios[ee](G, this.data()).then((U) => {
55187
55190
  this.onSuccess(U.data), Ce(U.data);
55188
55191
  }).catch((U) => {
55189
55192
  this.onFail(U.response.data), oe(U.response.data);
@@ -55195,19 +55198,19 @@ class Aie {
55195
55198
  *
55196
55199
  * @param {object} data
55197
55200
  */
55198
- onSuccess(te) {
55199
- alert(te.message), this.reset();
55201
+ onSuccess(ee) {
55202
+ alert(ee.message), this.reset();
55200
55203
  }
55201
55204
  /**
55202
55205
  * Handle a failed form submission.
55203
55206
  *
55204
55207
  * @param {object} errors
55205
55208
  */
55206
- onFail(te) {
55207
- this.errors.record(te);
55209
+ onFail(ee) {
55210
+ this.errors.record(ee);
55208
55211
  }
55209
55212
  }
55210
- (function(A, te) {
55213
+ (function(A, ee) {
55211
55214
  var G = "multilingual", Ce = {
55212
55215
  type: "normal",
55213
55216
  editing: !1,
@@ -55217,7 +55220,7 @@ class Aie {
55217
55220
  langSelectors: ".language-selector"
55218
55221
  };
55219
55222
  function oe(U, be) {
55220
- this.container = U, this.element = te.querySelector(U), this.settings = Object.assign({}, Ce, be), this._defaults = Ce, this._name = G, this.init();
55223
+ this.container = U, this.element = ee.querySelector(U), this.settings = Object.assign({}, Ce, be), this._defaults = Ce, this._name = G, this.init();
55221
55224
  }
55222
55225
  Object.assign(oe.prototype, {
55223
55226
  init: function() {
@@ -55318,9 +55321,9 @@ class Aie {
55318
55321
  });
55319
55322
  },
55320
55323
  updateInputCache: function(U) {
55321
- var be = this, q = U.dataset.inpUsr, De = te.getElementById(q).value, tt = {};
55322
- if (te.getElementById(q).classList.contains("tiny")) {
55323
- var pt = tinymce.get(te.getElementById(q).name);
55324
+ var be = this, q = U.dataset.inpUsr, De = ee.getElementById(q).value, tt = {};
55325
+ if (ee.getElementById(q).classList.contains("tiny")) {
55326
+ var pt = tinymce.get(ee.getElementById(q).name);
55324
55327
  De = pt.getContent();
55325
55328
  }
55326
55329
  be.langSelectors.forEach(function(cn) {
@@ -55331,11 +55334,11 @@ class Aie {
55331
55334
  loadLang: function(U, be) {
55332
55335
  var q = U.dataset.inpUsr, De = U.dataset[be];
55333
55336
  if (!this.settings.editing)
55334
- this.settings.type === "tiny" ? te.getElementById(q).innerHTML = De : te.getElementById(q).textContent = De;
55337
+ this.settings.type === "tiny" ? ee.getElementById(q).innerHTML = De : ee.getElementById(q).textContent = De;
55335
55338
  else {
55336
- te.getElementById(q).value = De;
55339
+ ee.getElementById(q).value = De;
55337
55340
  var tt = tinymce.get(q);
55338
- te.getElementById(q).classList.contains("tiny") && tt && tt.initialized ? tt.setContent(De) : te.getElementById(q).value = De;
55341
+ ee.getElementById(q).classList.contains("tiny") && tt && tt.initialized ? tt.setContent(De) : ee.getElementById(q).value = De;
55339
55342
  }
55340
55343
  }
55341
55344
  }), A.multilingual = oe;