golden-logic-ui 1.0.260 → 1.0.263

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.
@@ -267,9 +267,9 @@ function SK(O, me, se, Ee, he, K) {
267
267
  })
268
268
  }, mt(se.label_name), 3),
269
269
  P("div", {
270
- onDragover: me[3] || (me[3] = oc((...X) => K.onDragOver && K.onDragOver(...X), ["prevent"])),
271
- onDragleave: me[4] || (me[4] = oc((...X) => K.onDragLeave && K.onDragLeave(...X), ["prevent"])),
272
- onDrop: me[5] || (me[5] = oc((...X) => K.onDrop && K.onDrop(...X), ["prevent"])),
270
+ onDragover: me[3] || (me[3] = oc((...J) => K.onDragOver && K.onDragOver(...J), ["prevent"])),
271
+ onDragleave: me[4] || (me[4] = oc((...J) => K.onDragLeave && K.onDragLeave(...J), ["prevent"])),
272
+ onDrop: me[5] || (me[5] = oc((...J) => K.onDrop && K.onDrop(...J), ["prevent"])),
273
273
  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"
274
274
  }, [
275
275
  P("div", qq, [
@@ -278,60 +278,60 @@ function SK(O, me, se, Ee, he, K) {
278
278
  ref: "file_input" + se.field_name,
279
279
  hidden: "",
280
280
  multiple: se.has_multiple_file,
281
- onChange: me[0] || (me[0] = (...X) => K.uploadFiles && K.uploadFiles(...X))
281
+ onChange: me[0] || (me[0] = (...J) => K.uploadFiles && K.uploadFiles(...J))
282
282
  }, null, 40, Kq),
283
283
  Qa(P("input", {
284
284
  type: "hidden",
285
285
  name: se.field_name,
286
- "onUpdate:modelValue": me[1] || (me[1] = (X) => K.uploadFileListFinal = X)
286
+ "onUpdate:modelValue": me[1] || (me[1] = (J) => K.uploadFileListFinal = J)
287
287
  }, null, 8, Yq), [
288
288
  [vm, K.uploadFileListFinal]
289
289
  ]),
290
290
  he.isDragging ? (ve(), we("div", eK, nK)) : (ve(), we("div", {
291
291
  key: 0,
292
292
  class: "flex flex-col items-center justify-center",
293
- onClick: me[2] || (me[2] = (X) => O.$refs["file_input" + this.field_name].click())
293
+ onClick: me[2] || (me[2] = (J) => O.$refs["file_input" + this.field_name].click())
294
294
  }, Qq))
295
295
  ])
296
296
  ], 32),
297
297
  P("span", oK, mt(he.error_message_data), 1),
298
298
  P("small", sK, mt(se.description), 1),
299
299
  he.files.length > 0 ? (ve(), we("section", rK, [
300
- (ve(!0), we(bo, null, kr(he.files, (X, Be) => (ve(), we("li", aK, [
300
+ (ve(!0), we(bo, null, kr(he.files, (J, Be) => (ve(), we("li", aK, [
301
301
  lK,
302
302
  P("div", cK, [
303
303
  P("div", iK, [
304
- P("span", uK, mt(K.getFileName(X.file_name)), 1),
305
- P("span", dK, mt(X.loading), 1)
304
+ P("span", uK, mt(K.getFileName(J.file_name)), 1),
305
+ P("span", dK, mt(J.loading), 1)
306
306
  ]),
307
307
  P("div", mK, [
308
308
  P("div", {
309
309
  class: "h-full bg-gray-500 rounded-full dark:bg-gray-400",
310
- style: Dq({ width: X.loading + "%" })
310
+ style: Dq({ width: J.loading + "%" })
311
311
  }, null, 4)
312
312
  ])
313
313
  ])
314
314
  ]))), 256))
315
315
  ])) : pt("", !0),
316
316
  P("section", fK, [
317
- (ve(!0), we(bo, null, kr(K.uploadFileListFinal, (X, Be) => (ve(), we("li", gK, [
317
+ (ve(!0), we(bo, null, kr(K.uploadFileListFinal, (J, Be) => (ve(), we("li", gK, [
318
318
  P("div", hK, [
319
319
  pK,
320
320
  P("div", bK, [
321
- P("span", vK, mt(K.getFileName(X.file_name)), 1),
322
- P("span", yK, mt(K.formatFileSize(X.size)), 1)
321
+ P("span", vK, mt(K.getFileName(J.file_name)), 1),
322
+ P("span", yK, mt(K.formatFileSize(J.size)), 1)
323
323
  ])
324
324
  ]),
325
325
  P("div", xK, [
326
326
  P("a", {
327
- href: X.url,
327
+ href: J.url,
328
328
  target: "_blank",
329
329
  class: "text-lg text-blue-600 cursor-pointer dark:text-blue-400 fas fa-download"
330
330
  }, null, 8, wK),
331
331
  se.is_enable_delete ? (ve(), we("i", {
332
332
  key: 0,
333
333
  onClick: (ft) => {
334
- he.media_id = X.id, he.open_delete_modal = !0;
334
+ he.media_id = J.id, he.open_delete_modal = !0;
335
335
  },
336
336
  class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
337
337
  }, null, 8, CK)) : pt("", !0)
@@ -379,7 +379,7 @@ const Eae = /* @__PURE__ */ Jr(Gq, [["render", SK]]), _K = {
379
379
  }, kK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, TK = ["name", "value", "id", "checked"], EK = ["for"];
380
380
  function AK(O, me, se, Ee, he, K) {
381
381
  return ve(), we("ul", kK, [
382
- (ve(!0), we(bo, null, kr(he.locals, (De, X) => (ve(), we("li", null, [
382
+ (ve(!0), we(bo, null, kr(he.locals, (De, J) => (ve(), we("li", null, [
383
383
  P("input", {
384
384
  type: "radio",
385
385
  name: se.trans_selector_name,
@@ -392,9 +392,9 @@ function AK(O, me, se, Ee, he, K) {
392
392
  P("label", {
393
393
  for: De + "_" + se.field_name,
394
394
  class: rn([{
395
- "border md:!rounded-s-lg": X === 0,
396
- "border md:!rounded-e-lg": X === he.locals.length - 1,
397
- "border-t border-b": X !== 0 && X !== he.locals.length - 1
395
+ "border md:!rounded-s-lg": J === 0,
396
+ "border md:!rounded-e-lg": J === he.locals.length - 1,
397
+ "border-t border-b": J !== 0 && J !== he.locals.length - 1
398
398
  }, "w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
399
399
  }, mt(De), 11, EK)
400
400
  ]))), 256))
@@ -514,7 +514,7 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
514
514
  },
515
515
  emits: ["update:modelValue", "selected", "selectionChanged"],
516
516
  setup(O, { emit: me }) {
517
- const se = O, Ee = me, he = Wo(null), K = Wo([]), De = Wo([]), X = Wo(0), Be = Wo(!1), ft = Wo(""), jt = Wo("");
517
+ const se = O, Ee = me, he = Wo(null), K = Wo([]), De = Wo([]), J = Wo(0), Be = Wo(!1), ft = Wo(""), jt = Wo("");
518
518
  Oh(() => {
519
519
  jt.value = No(), se.show || (document.body.addEventListener("click", (Ge) => {
520
520
  Xn(Ge);
@@ -573,7 +573,7 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
573
573
  A !== -1 && K.value.splice(A, 1), De.value = K.value.map((Xt) => Xt.id), Ee("update:modelValue", De.value), Ee("selected", K.value), Ee("selectionChanged", K.value);
574
574
  }
575
575
  function Xn(Ge) {
576
- Ge.target.id != se.field_name + "search" + jt.value && Ge.target.id != se.field_name && !Ge.target.classList.contains("showOptions") && (Jn(), X.value = 0, Be.value = !1);
576
+ Ge.target.id != se.field_name + "search" + jt.value && Ge.target.id != se.field_name && !Ge.target.classList.contains("showOptions") && (Jn(), J.value = 0, Be.value = !1);
577
577
  }
578
578
  function oe(Ge) {
579
579
  const A = `${Ge}${jt.value}`, Xt = document.getElementById(A);
@@ -584,7 +584,7 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
584
584
  Xt && Xt.click();
585
585
  }
586
586
  function os(Ge) {
587
- Ge === "ArrowDown" && X.value < Zo.value.length && (X.value++, oe(X.value)), Ge === "ArrowUp" && X.value > 1 && (X.value--, oe(X.value)), Ge === "Enter" && Pn(X.value);
587
+ Ge === "ArrowDown" && J.value < Zo.value.length && (J.value++, oe(J.value)), Ge === "ArrowUp" && J.value > 1 && (J.value--, oe(J.value)), Ge === "Enter" && Pn(J.value);
588
588
  }
589
589
  function St() {
590
590
  return se.options.map((Ge, A) => typeof Ge == "object" ? Ge : { id: Ge, name: Ge });
@@ -701,42 +701,42 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
701
701
  onClick: A[1] || (A[1] = (Xt) => Ro()),
702
702
  class: rn([Be.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
703
703
  style: { top: "11px" }
704
- }, null, 2)
705
- ]),
706
- Qa(P("div", VK, [
707
- P("div", zK, [
708
- UK,
709
- P("div", WK, [
710
- ZK,
711
- Qa(P("input", {
712
- type: "search",
713
- "onUpdate:modelValue": A[2] || (A[2] = (Xt) => ft.value = Xt),
714
- ref: he.value,
715
- id: `${O.field_name}search${jt.value}`,
716
- onKeydown: ir,
717
- onBlur: A[3] || (A[3] = (Xt) => Jn()),
718
- autocomplete: "off",
719
- 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",
720
- placeholder: "Search ..."
721
- }, null, 40, jK), [
722
- [vm, ft.value]
704
+ }, null, 2),
705
+ Qa(P("div", VK, [
706
+ P("div", zK, [
707
+ UK,
708
+ P("div", WK, [
709
+ ZK,
710
+ Qa(P("input", {
711
+ type: "search",
712
+ "onUpdate:modelValue": A[2] || (A[2] = (Xt) => ft.value = Xt),
713
+ ref: he.value,
714
+ id: `${O.field_name}search${jt.value}`,
715
+ onKeydown: ir,
716
+ onBlur: A[3] || (A[3] = (Xt) => Jn()),
717
+ autocomplete: "off",
718
+ 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",
719
+ placeholder: "Search ..."
720
+ }, null, 40, jK), [
721
+ [vm, ft.value]
722
+ ])
723
723
  ])
724
+ ]),
725
+ P("div", GK, [
726
+ (ve(!0), we(bo, null, kr(Zo.value, (Xt, nt) => (ve(), we("div", {
727
+ class: rn([
728
+ "block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
729
+ nt + 1 == J.value || mn(Xt.id) ? "bg-gray-100 dark:bg-gray-600" : ""
730
+ ]),
731
+ onClick: (Bo) => ie(Xt),
732
+ onMousedown: (Bo) => ie(Xt),
733
+ key: nt,
734
+ id: `${nt + 1}${jt.value}`
735
+ }, mt(Xt.name || Xt.id || "-"), 43, qK))), 128))
724
736
  ])
725
- ]),
726
- P("div", GK, [
727
- (ve(!0), we(bo, null, kr(Zo.value, (Xt, nt) => (ve(), we("div", {
728
- class: rn([
729
- "block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
730
- nt + 1 == X.value || mn(Xt.id) ? "bg-gray-100 dark:bg-gray-600" : ""
731
- ]),
732
- onClick: (Bo) => ie(Xt),
733
- onMousedown: (Bo) => ie(Xt),
734
- key: nt,
735
- id: `${nt + 1}${jt.value}`
736
- }, mt(Xt.name || Xt.id || "-"), 43, qK))), 128))
737
+ ], 512), [
738
+ [n5, Be.value]
737
739
  ])
738
- ], 512), [
739
- [n5, Be.value]
740
740
  ])
741
741
  ])
742
742
  ])) : pt("", !0)
@@ -909,12 +909,12 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
909
909
  model: Ee.translatable.model,
910
910
  row_id: Ee.translatable.row_id,
911
911
  field: Ee.translatable.field
912
- }).then((X) => {
913
- De.value.value = JSON.stringify(X.data), he("update:modelValueTranslate", JSON.stringify(X.data)), console.log("input_translate", De.value.value);
914
- }).catch((X) => {
915
- console.log(X);
912
+ }).then((J) => {
913
+ De.value.value = JSON.stringify(J.data), he("update:modelValueTranslate", JSON.stringify(J.data)), console.log("input_translate", De.value.value);
914
+ }).catch((J) => {
915
+ console.log(J);
916
916
  });
917
- }), me({ focus: () => K.value.focus() }), (X, Be) => (ve(), we(bo, null, [
917
+ }), me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
918
918
  O.show ? (ve(), we("div", {
919
919
  key: 0,
920
920
  class: rn(O.field_name)
@@ -927,9 +927,9 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
927
927
  id: O.field_name + "_i18n",
928
928
  ref_key: "input_translate",
929
929
  ref: De,
930
- "onUpdate:modelValue": Be[0] || (Be[0] = (ft) => X.inputTranslateValue = ft)
930
+ "onUpdate:modelValue": Be[0] || (Be[0] = (ft) => J.inputTranslateValue = ft)
931
931
  }, null, 8, QK), [
932
- [vm, X.inputTranslateValue]
932
+ [vm, J.inputTranslateValue]
933
933
  ]),
934
934
  P("p", {
935
935
  id: O.field_name,
@@ -956,7 +956,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
956
956
  "data-i18n": "true",
957
957
  name: O.field_name + "_i18n",
958
958
  id: O.field_name + "_i18n",
959
- onInput: Be[1] || (Be[1] = (ft) => X.$emit("update:modelValueTranslate", ft.target.value)),
959
+ onInput: Be[1] || (Be[1] = (ft) => J.$emit("update:modelValueTranslate", ft.target.value)),
960
960
  ref_key: "input_translate",
961
961
  ref: De
962
962
  }, null, 40, sY),
@@ -969,8 +969,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
969
969
  " gl-textarea-form-invalid form-input-translation mt-4 ": O.error_message !== ""
970
970
  }),
971
971
  type: O.type,
972
- onInput: Be[2] || (Be[2] = (ft) => X.$emit("update:modelValue", ft.target.value)),
973
- onKeydown: Be[3] || (Be[3] = (ft) => X.$emit("keydown", ft)),
972
+ onInput: Be[2] || (Be[2] = (ft) => J.$emit("update:modelValue", ft.target.value)),
973
+ onKeydown: Be[3] || (Be[3] = (ft) => J.$emit("keydown", ft)),
974
974
  ref_key: "input",
975
975
  ref: K,
976
976
  rows: "4"
@@ -1049,12 +1049,12 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1049
1049
  model: Ee.translatable.model,
1050
1050
  row_id: Ee.translatable.row_id,
1051
1051
  field: Ee.translatable.field
1052
- }).then((X) => {
1053
- De.value.value = JSON.stringify(X.data), he("update:modelValueTranslate", JSON.stringify(X.data));
1054
- }).catch((X) => {
1055
- console.log(X);
1052
+ }).then((J) => {
1053
+ De.value.value = JSON.stringify(J.data), he("update:modelValueTranslate", JSON.stringify(J.data));
1054
+ }).catch((J) => {
1055
+ console.log(J);
1056
1056
  });
1057
- }), me({ focus: () => K.value.focus() }), (X, Be) => (ve(), we(bo, null, [
1057
+ }), me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
1058
1058
  O.show ? (ve(), we("div", {
1059
1059
  key: 0,
1060
1060
  class: rn(O.field_name)
@@ -1067,9 +1067,9 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1067
1067
  id: O.field_name + "_i18n",
1068
1068
  ref_key: "input_translate",
1069
1069
  ref: De,
1070
- "onUpdate:modelValue": Be[0] || (Be[0] = (ft) => X.inputTranslateValue = ft)
1070
+ "onUpdate:modelValue": Be[0] || (Be[0] = (ft) => J.inputTranslateValue = ft)
1071
1071
  }, null, 8, iY), [
1072
- [vm, X.inputTranslateValue]
1072
+ [vm, J.inputTranslateValue]
1073
1073
  ]),
1074
1074
  P("p", {
1075
1075
  id: O.field_name,
@@ -1096,7 +1096,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1096
1096
  "data-i18n": "true",
1097
1097
  name: O.field_name + "_i18n",
1098
1098
  id: O.field_name + "_i18n",
1099
- onInput: Be[1] || (Be[1] = (ft) => X.$emit("update:modelValueTranslate", ft.target.value)),
1099
+ onInput: Be[1] || (Be[1] = (ft) => J.$emit("update:modelValueTranslate", ft.target.value)),
1100
1100
  ref_key: "input_translate",
1101
1101
  ref: De
1102
1102
  }, null, 40, gY),
@@ -1108,8 +1108,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1108
1108
  " gl-textarea-form-invalid form-input-translation mt-4 ": O.error_message !== ""
1109
1109
  }]),
1110
1110
  type: O.type,
1111
- onInput: Be[2] || (Be[2] = (ft) => X.$emit("update:modelValue", ft.target.value)),
1112
- onKeydown: Be[3] || (Be[3] = (ft) => X.$emit("keydown", ft)),
1111
+ onInput: Be[2] || (Be[2] = (ft) => J.$emit("update:modelValue", ft.target.value)),
1112
+ onKeydown: Be[3] || (Be[3] = (ft) => J.$emit("keydown", ft)),
1113
1113
  ref_key: "input",
1114
1114
  ref: K,
1115
1115
  rows: "4"
@@ -1184,12 +1184,12 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1184
1184
  model: Ee.translatable.model,
1185
1185
  row_id: Ee.translatable.row_id,
1186
1186
  field: Ee.translatable.field
1187
- }).then((X) => {
1188
- De.value.value = JSON.stringify(X.data), he("update:modelValueTranslate", JSON.stringify(X.data));
1189
- }).catch((X) => {
1190
- console.log(X);
1187
+ }).then((J) => {
1188
+ De.value.value = JSON.stringify(J.data), he("update:modelValueTranslate", JSON.stringify(J.data));
1189
+ }).catch((J) => {
1190
+ console.log(J);
1191
1191
  });
1192
- }), me({ focus: () => K.value.focus() }), (X, Be) => (ve(), we(bo, null, [
1192
+ }), me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
1193
1193
  O.show ? (ve(), we("div", {
1194
1194
  key: 0,
1195
1195
  class: rn(O.field_name)
@@ -1201,9 +1201,9 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1201
1201
  name: O.field_name + "_i18n",
1202
1202
  id: O.field_name + "_i18n",
1203
1203
  ref: "input_translate_s",
1204
- "onUpdate:modelValue": Be[0] || (Be[0] = (ft) => X.inputTranslateValue = ft)
1204
+ "onUpdate:modelValue": Be[0] || (Be[0] = (ft) => J.inputTranslateValue = ft)
1205
1205
  }, null, 8, yY), [
1206
- [vm, X.inputTranslateValue]
1206
+ [vm, J.inputTranslateValue]
1207
1207
  ]),
1208
1208
  P("p", {
1209
1209
  id: O.field_name,
@@ -1230,7 +1230,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1230
1230
  "data-i18n": "true",
1231
1231
  name: O.field_name + "_i18n",
1232
1232
  id: O.field_name + "_i18n",
1233
- onInput: Be[1] || (Be[1] = (ft) => X.$emit("update:modelValueTranslate", ft.target.value)),
1233
+ onInput: Be[1] || (Be[1] = (ft) => J.$emit("update:modelValueTranslate", ft.target.value)),
1234
1234
  ref_key: "input_translate",
1235
1235
  ref: De
1236
1236
  }, null, 40, _Y),
@@ -1243,8 +1243,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1243
1243
  " gl-input-form-invalid form-input-translation mt-2 ": O.error_message !== ""
1244
1244
  }),
1245
1245
  type: O.type,
1246
- onInput: Be[2] || (Be[2] = (ft) => X.$emit("update:modelValue", ft.target.value)),
1247
- onKeydown: Be[3] || (Be[3] = (ft) => X.$emit("keydown", ft)),
1246
+ onInput: Be[2] || (Be[2] = (ft) => J.$emit("update:modelValue", ft.target.value)),
1247
+ onKeydown: Be[3] || (Be[3] = (ft) => J.$emit("keydown", ft)),
1248
1248
  ref_key: "input",
1249
1249
  ref: K
1250
1250
  }, null, 42, kY),
@@ -1307,11 +1307,11 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1307
1307
  get() {
1308
1308
  return Ee.modelValue;
1309
1309
  },
1310
- set(X) {
1311
- he("update:modelValue", X), console.log(X);
1310
+ set(J) {
1311
+ he("update:modelValue", J);
1312
1312
  }
1313
1313
  });
1314
- return me({ focus: () => K.value.focus() }), (X, Be) => (ve(), we(bo, null, [
1314
+ return me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
1315
1315
  O.show ? (ve(), we("div", {
1316
1316
  key: 0,
1317
1317
  class: rn(O.field_name)
@@ -1343,7 +1343,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1343
1343
  }),
1344
1344
  type: O.type,
1345
1345
  "onUpdate:modelValue": Be[0] || (Be[0] = (ft) => De.value = ft),
1346
- onKeydown: Be[1] || (Be[1] = (ft) => X.$emit("keydown", ft)),
1346
+ onKeydown: Be[1] || (Be[1] = (ft) => J.$emit("keydown", ft)),
1347
1347
  ref_key: "input",
1348
1348
  ref: K,
1349
1349
  placeholder: O.placeholder
@@ -1413,11 +1413,11 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1413
1413
  get() {
1414
1414
  return Ee.modelValue;
1415
1415
  },
1416
- set(X) {
1417
- he("update:modelValue", X), console.log(X);
1416
+ set(J) {
1417
+ he("update:modelValue", J);
1418
1418
  }
1419
1419
  });
1420
- return me({ focus: () => K.value.focus() }), (X, Be) => (ve(), we(bo, null, [
1420
+ return me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
1421
1421
  O.show ? (ve(), we("div", {
1422
1422
  key: 0,
1423
1423
  class: rn(O.field_name)
@@ -1451,7 +1451,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1451
1451
  }, "!border-e-0 !rounded-s-lg"]),
1452
1452
  type: O.type,
1453
1453
  "onUpdate:modelValue": Be[0] || (Be[0] = (ft) => De.value = ft),
1454
- onKeydown: Be[1] || (Be[1] = (ft) => X.$emit("keydown", ft)),
1454
+ onKeydown: Be[1] || (Be[1] = (ft) => J.$emit("keydown", ft)),
1455
1455
  ref_key: "input",
1456
1456
  ref: K,
1457
1457
  placeholder: O.placeholder
@@ -1516,7 +1516,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1516
1516
  set(ft) {
1517
1517
  K.value.start = ft, Be(K.value.start, K.value.end), Ee("update:modelValue", { start: K.value.start, end: K.value.end }), Ee("keydown", { start: K.value.start, end: K.value.end });
1518
1518
  }
1519
- }), X = vc({
1519
+ }), J = vc({
1520
1520
  get() {
1521
1521
  return se.modelValue.end;
1522
1522
  },
@@ -1572,10 +1572,10 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1572
1572
  "gl-input-form-invalid": O.error_message !== "" || he.value !== ""
1573
1573
  }),
1574
1574
  type: "date",
1575
- "onUpdate:modelValue": jt[1] || (jt[1] = (xn) => X.value = xn),
1575
+ "onUpdate:modelValue": jt[1] || (jt[1] = (xn) => J.value = xn),
1576
1576
  placeholder: O.placeholder
1577
1577
  }, null, 10, JY), [
1578
- [vm, X.value]
1578
+ [vm, J.value]
1579
1579
  ])
1580
1580
  ]),
1581
1581
  P("div", QY, [
@@ -1693,7 +1693,7 @@ function bX(O, me, se, Ee, he, K) {
1693
1693
  P("ul", mX, [
1694
1694
  (ve(!0), we(bo, null, kr(Ee.tabs, (De) => (ve(), we("li", {
1695
1695
  key: De.title,
1696
- onClick: (X) => Ee.selectedTitle = De.title,
1696
+ onClick: (J) => Ee.selectedTitle = De.title,
1697
1697
  class: "flex-auto -mb-px text-center"
1698
1698
  }, [
1699
1699
  P("a", {
@@ -1794,9 +1794,9 @@ const Hae = /* @__PURE__ */ Jr(vX, [["render", xX]]), wX = {
1794
1794
  let O = this, me = document.getElementById("slider_" + this.Random_string);
1795
1795
  const se = (he) => {
1796
1796
  me.style.cursor = "grabbing";
1797
- const K = (X) => {
1798
- const Be = X.clientX || X.touches && X.touches[0] && X.touches[0].clientX, ft = X.clientY || X.touches && X.touches[0] && X.touches[0].clientY, jt = Be - O.initialX, xn = ft - O.initialY;
1799
- Math.abs(jt) > Math.abs(xn) ? (X.preventDefault(), Math.abs(jt) >= 70 && (jt < 0 ? O.next() : O.prev(), O.initialX = Be)) : me.style.cursor = "grab", Math.abs(xn) > Math.abs(jt) && (me.style.cursor = "grab");
1797
+ const K = (J) => {
1798
+ const Be = J.clientX || J.touches && J.touches[0] && J.touches[0].clientX, ft = J.clientY || J.touches && J.touches[0] && J.touches[0].clientY, jt = Be - O.initialX, xn = ft - O.initialY;
1799
+ Math.abs(jt) > Math.abs(xn) ? (J.preventDefault(), Math.abs(jt) >= 70 && (jt < 0 ? O.next() : O.prev(), O.initialX = Be)) : me.style.cursor = "grab", Math.abs(xn) > Math.abs(jt) && (me.style.cursor = "grab");
1800
1800
  }, De = () => {
1801
1801
  document.removeEventListener("mousemove", K), document.removeEventListener("touchmove", K), document.removeEventListener("mouseup", De), document.removeEventListener("touchend", De), me.style.cursor = "grab";
1802
1802
  };
@@ -1813,17 +1813,17 @@ const Hae = /* @__PURE__ */ Jr(vX, [["render", xX]]), wX = {
1813
1813
  this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
1814
1814
  },
1815
1815
  initSlider() {
1816
- let O = document.getElementById("sliderContainer_" + this.Random_string), me = document.getElementById("mainSliderContainer_" + this.Random_string), se = document.getElementById("slider_" + this.Random_string), Ee = se.querySelectorAll("li"), he = Array.from(Ee).filter((X) => X.parentNode === se), K = O.clientWidth, De = K / this.elementsToShow;
1816
+ let O = document.getElementById("sliderContainer_" + this.Random_string), me = document.getElementById("mainSliderContainer_" + this.Random_string), se = document.getElementById("slider_" + this.Random_string), Ee = se.querySelectorAll("li"), he = Array.from(Ee).filter((J) => J.parentNode === se), K = O.clientWidth, De = K / this.elementsToShow;
1817
1817
  if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, De = this.hide_arrow ? me.clientWidth : K) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, De = this.hide_arrow ? me.clientWidth : K), he.length > 1) {
1818
1818
  this.dotsNum = this.elementsToShow == 1 ? he.length : he.length - this.elementsToShow + 1;
1819
- let X = this.elementsToShow == 1 ? De * he.length / this.dotsNum : De * (he.length - this.elementsToShow) / (this.dotsNum - 1);
1819
+ let J = this.elementsToShow == 1 ? De * he.length / this.dotsNum : De * (he.length - this.elementsToShow) / (this.dotsNum - 1);
1820
1820
  this.dotsNavigation = [];
1821
1821
  for (let Be = 0; Be < this.dotsNum; Be++)
1822
- this.dotsNavigation.push(X * Be);
1822
+ this.dotsNavigation.push(J * Be);
1823
1823
  }
1824
1824
  se.style.width = he.length * De + "px", se.style.transition = "margin", se.style.transitionDuration = "1s";
1825
- for (let X = 0; X < he.length; X++) {
1826
- const Be = he[X];
1825
+ for (let J = 0; J < he.length; J++) {
1826
+ const Be = he[J];
1827
1827
  Be.style.width = De + "px";
1828
1828
  }
1829
1829
  },
@@ -2080,7 +2080,7 @@ function kJ(O, me, se, Ee, he, K) {
2080
2080
  role: "button",
2081
2081
  class: rn(["gl-dot", { active: O.currentDot == De }]),
2082
2082
  key: De,
2083
- onClick: (X) => K.setDot(De)
2083
+ onClick: (J) => K.setDot(De)
2084
2084
  }, KX, 10, GX))), 128))
2085
2085
  ], 2)) : pt("", !0),
2086
2086
  se.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ve(), we("div", YX, [
@@ -2091,7 +2091,7 @@ function kJ(O, me, se, Ee, he, K) {
2091
2091
  role: "button",
2092
2092
  class: rn(["gl-dot", { active: O.currentDot == De }]),
2093
2093
  key: De,
2094
- onClick: (X) => K.setDot(De)
2094
+ onClick: (J) => K.setDot(De)
2095
2095
  }, QX, 10, XX))), 128))
2096
2096
  ], 2),
2097
2097
  O.dotsNum > 0 ? (ve(), we("div", eJ, [
@@ -2185,11 +2185,11 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2185
2185
  };
2186
2186
  return ST(
2187
2187
  () => se.is_open,
2188
- (X, Be) => {
2189
- X ? he() : K();
2188
+ (J, Be) => {
2189
+ J ? he() : K();
2190
2190
  },
2191
2191
  { immediate: !0, deep: !0 }
2192
- ), (X, Be) => O.is_open ? (ve(), we("div", {
2192
+ ), (J, Be) => O.is_open ? (ve(), we("div", {
2193
2193
  key: 0,
2194
2194
  class: rn(["fixed left-0 top-13 h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black bg-opacity-80", O.has_large_z_index ? "z-[9999]" : "z-[1055]"]),
2195
2195
  tabindex: "-1",
@@ -2211,10 +2211,10 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2211
2211
  P("div", {
2212
2212
  class: rn(["relative overflow-y-auto", O.bodyClass])
2213
2213
  }, [
2214
- vf(X.$slots, "body")
2214
+ vf(J.$slots, "body")
2215
2215
  ], 2),
2216
2216
  P("div", RJ, [
2217
- vf(X.$slots, "buttons"),
2217
+ vf(J.$slots, "buttons"),
2218
2218
  P("button", {
2219
2219
  onClick: De,
2220
2220
  type: "button",
@@ -2282,7 +2282,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2282
2282
  Ee("update:modelValue", De);
2283
2283
  }
2284
2284
  });
2285
- return (De, X) => (ve(), we(bo, null, [
2285
+ return (De, J) => (ve(), we(bo, null, [
2286
2286
  O.show ? (ve(), we("div", {
2287
2287
  key: 0,
2288
2288
  class: rn(O.field_name)
@@ -2328,7 +2328,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2328
2328
  "false-value": 0,
2329
2329
  ref_key: "input",
2330
2330
  ref: he,
2331
- "onUpdate:modelValue": X[0] || (X[0] = (Be) => K.value = Be)
2331
+ "onUpdate:modelValue": J[0] || (J[0] = (Be) => K.value = Be)
2332
2332
  }, null, 8, VJ), [
2333
2333
  [QG, K.value]
2334
2334
  ]),
@@ -2393,7 +2393,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2393
2393
  Ee("update:modelValue", De);
2394
2394
  }
2395
2395
  });
2396
- return (De, X) => (ve(), we(bo, null, [
2396
+ return (De, J) => (ve(), we(bo, null, [
2397
2397
  O.show ? (ve(), we("div", {
2398
2398
  key: 0,
2399
2399
  class: rn(O.field_name)
@@ -2435,7 +2435,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2435
2435
  id: O.field_name,
2436
2436
  ref_key: "input",
2437
2437
  ref: he,
2438
- "onUpdate:modelValue": X[0] || (X[0] = (Be) => K.value = Be)
2438
+ "onUpdate:modelValue": J[0] || (J[0] = (Be) => K.value = Be)
2439
2439
  }, null, 8, eQ), [
2440
2440
  [QG, K.value]
2441
2441
  ]),
@@ -2544,7 +2544,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2544
2544
  },
2545
2545
  emits: ["update:modelValue", "selected", "selectionChanged"],
2546
2546
  setup(O, { emit: me }) {
2547
- const se = O, Ee = me, he = Wo(null), K = Wo({}), De = Wo(0), X = Wo(!1), Be = Wo(""), ft = Wo("");
2547
+ const se = O, Ee = me, he = Wo(null), K = Wo({}), De = Wo(0), J = Wo(!1), Be = Wo(""), ft = Wo("");
2548
2548
  Oh(() => {
2549
2549
  ft.value = ir(), se.show || (document.body.addEventListener("click", (St) => {
2550
2550
  Pt(St);
@@ -2587,7 +2587,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2587
2587
  return St !== null && typeof St == "object" && Object.keys(St).length > 0;
2588
2588
  }
2589
2589
  function Pt(St) {
2590
- St.target.id != se.field_name + "search" + ft.value && St.target.id != se.field_name && !St.target.classList.contains("showOptions") && (os(), De.value = 0, X.value = !1);
2590
+ St.target.id != se.field_name + "search" + ft.value && St.target.id != se.field_name && !St.target.classList.contains("showOptions") && (os(), De.value = 0, J.value = !1);
2591
2591
  }
2592
2592
  function ur(St) {
2593
2593
  const He = `${St}${ft.value}`, ie = document.getElementById(He);
@@ -2618,15 +2618,15 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2618
2618
  ) || {};
2619
2619
  }
2620
2620
  function Xn(St) {
2621
- K.value = St, X.value = !1, Ee("update:modelValue", K.value.id), Ee("selected", K.value), Ee("selectionChanged", K.value);
2621
+ K.value = St, J.value = !1, Ee("update:modelValue", K.value.id), Ee("selected", K.value), Ee("selectionChanged", K.value);
2622
2622
  }
2623
2623
  function oe() {
2624
2624
  if (!se.show) {
2625
- if (X.value) {
2626
- X.value = !1;
2625
+ if (J.value) {
2626
+ J.value = !1;
2627
2627
  return;
2628
2628
  }
2629
- Be.value = "", X.value = !0, Dj(() => {
2629
+ Be.value = "", J.value = !0, Dj(() => {
2630
2630
  var St = document.getElementById(
2631
2631
  `${se.field_name}search${ft.value}`
2632
2632
  );
@@ -2699,7 +2699,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2699
2699
  ]),
2700
2700
  P("i", {
2701
2701
  onClick: He[2] || (He[2] = (Ge) => oe()),
2702
- class: rn([X.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
2702
+ class: rn([J.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
2703
2703
  style: { top: "11px" }
2704
2704
  }, null, 2)
2705
2705
  ]),
@@ -2743,7 +2743,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2743
2743
  }), 128))
2744
2744
  ])
2745
2745
  ], 512), [
2746
- [n5, X.value]
2746
+ [n5, J.value]
2747
2747
  ])
2748
2748
  ])
2749
2749
  ])) : pt("", !0),
@@ -2807,11 +2807,11 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2807
2807
  get() {
2808
2808
  return Ee.modelValue;
2809
2809
  },
2810
- set(X) {
2811
- he("update:modelValue", X);
2810
+ set(J) {
2811
+ he("update:modelValue", J);
2812
2812
  }
2813
2813
  });
2814
- return me({ focus: () => K.value.focus() }), (X, Be) => (ve(), we(bo, null, [
2814
+ return me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
2815
2815
  O.show ? (ve(), we("div", {
2816
2816
  key: 0,
2817
2817
  class: rn(O.field_name)
@@ -2845,7 +2845,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
2845
2845
  }),
2846
2846
  type: O.type,
2847
2847
  "onUpdate:modelValue": Be[0] || (Be[0] = (ft) => De.value = ft),
2848
- onKeydown: Be[1] || (Be[1] = (ft) => X.$emit("keydown", ft)),
2848
+ onKeydown: Be[1] || (Be[1] = (ft) => J.$emit("keydown", ft)),
2849
2849
  ref_key: "input",
2850
2850
  ref: K,
2851
2851
  rows: "4",
@@ -2893,7 +2893,7 @@ var tq = { exports: {} };
2893
2893
  return { eq: e };
2894
2894
  }, De = K(function(e, n) {
2895
2895
  return e === n;
2896
- }), X = De, Be = function(e) {
2896
+ }), J = De, Be = function(e) {
2897
2897
  return K(function(n, o) {
2898
2898
  if (n.length !== o.length)
2899
2899
  return !1;
@@ -2909,7 +2909,7 @@ var tq = { exports: {} };
2909
2909
  }, jt = function(e) {
2910
2910
  return K(function(n, o) {
2911
2911
  var r = Object.keys(n), l = Object.keys(o);
2912
- if (!ft(X).eq(r, l))
2912
+ if (!ft(J).eq(r, l))
2913
2913
  return !1;
2914
2914
  for (var u = r.length, f = 0; f < u; f++) {
2915
2915
  var b = r[f];
@@ -20269,7 +20269,7 @@ tinymce.IconManager.add("default", {
20269
20269
  }, se = (t) => {
20270
20270
  const s = typeof t;
20271
20271
  return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && me(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
20272
- }, Ee = (t) => (s) => se(s) === t, he = (t) => (s) => typeof s === t, K = (t) => (s) => t === s, De = (t, s) => Be(t) && me(t, s, (a, c) => O(a) === c), X = Ee("string"), Be = Ee("object"), ft = (t) => De(t, Object), jt = Ee("array"), xn = K(null), zn = he("boolean"), Zo = K(void 0), ir = (t) => t == null, No = (t) => !ir(t), Pt = he("function"), ur = he("number"), mn = (t, s) => {
20272
+ }, Ee = (t) => (s) => se(s) === t, he = (t) => (s) => typeof s === t, K = (t) => (s) => t === s, De = (t, s) => Be(t) && me(t, s, (a, c) => O(a) === c), J = Ee("string"), Be = Ee("object"), ft = (t) => De(t, Object), jt = Ee("array"), xn = K(null), zn = he("boolean"), Zo = K(void 0), ir = (t) => t == null, No = (t) => !ir(t), Pt = he("function"), ur = he("number"), mn = (t, s) => {
20273
20273
  if (jt(t)) {
20274
20274
  for (let a = 0, c = t.length; a < c; ++a)
20275
20275
  if (!s(t[a]))
@@ -20642,7 +20642,7 @@ tinymce.IconManager.add("default", {
20642
20642
  throw new Error("Body is not available yet");
20643
20643
  return Te.fromDom(s);
20644
20644
  }, bu = (t, s, a) => {
20645
- if (X(a) || zn(a) || ur(a))
20645
+ if (J(a) || zn(a) || ur(a))
20646
20646
  t.setAttribute(s, a + "");
20647
20647
  else
20648
20648
  throw console.error("Invalid call to Attribute.set. Key ", s, ":: Value ", a, ":: Element ", t), new Error("Attribute value was not simple");
@@ -20662,7 +20662,7 @@ tinymce.IconManager.add("default", {
20662
20662
  }, re = (t, s) => {
20663
20663
  t.dom.removeAttribute(s);
20664
20664
  }, Le = (t) => Ho(t.dom.attributes, (s, a) => (s[a.name] = a.value, s), {}), Ot = (t, s, a) => {
20665
- if (!X(a))
20665
+ if (!J(a))
20666
20666
  throw console.error("Invalid call to CSS.set. Property ", s, ":: Value ", a, ":: Element ", t), new Error("CSS value must be a string: " + a);
20667
20667
  Dr(t) && t.style.setProperty(s, a);
20668
20668
  }, Kn = (t, s) => {
@@ -21372,7 +21372,7 @@ tinymce.IconManager.add("default", {
21372
21372
  }, ku = Ea(_u, nn), Mr = oe(Dn), td = (t, s) => qt((a) => {
21373
21373
  const c = typeof a;
21374
21374
  return t(a) ? sr.svalue(a) : sr.serror(`Expected type: ${s} but got: ${c}`);
21375
- }), Fg = td(ur, "number"), ba = td(X, "string"), ru = td(zn, "boolean"), Uh = td(Pt, "function"), Tu = (t) => {
21375
+ }), Fg = td(ur, "number"), ba = td(J, "string"), ru = td(zn, "boolean"), Uh = td(Pt, "function"), Tu = (t) => {
21376
21376
  if (Object(t) !== t)
21377
21377
  return !0;
21378
21378
  switch ({}.toString.call(t).slice(8, -1)) {
@@ -21448,7 +21448,7 @@ Input object: ` + Lg(t.input), co = (t, s) => it(t, qo(s, nn)), kf = (t, s) => u
21448
21448
  if (s.length !== H.length)
21449
21449
  throw new Error("Wrong number of arguments to match. Expected: " + s.join(",") + `
21450
21450
  Actual: ` + H.join(","));
21451
- if (!vn(s, (J) => jo(H, J)))
21451
+ if (!vn(s, (X) => jo(H, X)))
21452
21452
  throw new Error("Not all branches were specified when using match. Specified: " + H.join(", ") + `
21453
21453
  Required: ` + s.join(", "));
21454
21454
  return B[p].apply(null, C);
@@ -21983,8 +21983,8 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
21983
21983
  toRemove: R
21984
21984
  } = $u(t.styles, C), B = () => {
21985
21985
  bt(R, (Oe) => fo(s, Oe)), $s(s, E);
21986
- }, H = sp(s), W = Ft(H, t.classes), J = Ft(t.classes, H), ce = () => {
21987
- ar(s, J), ki(s, W);
21986
+ }, H = sp(s), W = Ft(H, t.classes), X = Ft(t.classes, H), ce = () => {
21987
+ ar(s, X), ki(s, W);
21988
21988
  }, $e = (Oe) => {
21989
21989
  Kg(s, Oe);
21990
21990
  }, xe = () => {
@@ -22032,7 +22032,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
22032
22032
  c.set(ut);
22033
22033
  }, W = () => {
22034
22034
  c.set(Fm(a));
22035
- }, J = () => {
22035
+ }, X = () => {
22036
22036
  const ut = $a(E), Xe = _e(ut, (je) => c.get().getByDom(je).fold(() => [], Io));
22037
22037
  B.set(Xe);
22038
22038
  }, ce = (ut) => {
@@ -22051,7 +22051,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
22051
22051
  connect: H,
22052
22052
  disconnect: W,
22053
22053
  element: E,
22054
- syncComponents: J,
22054
+ syncComponents: X,
22055
22055
  components: B.get,
22056
22056
  events: R
22057
22057
  };
@@ -22299,8 +22299,8 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
22299
22299
  "bottom"
22300
22300
  ], (a) => vt(s, a).map((c) => Qy(t, c))), zb = (t, s, a) => {
22301
22301
  const c = (C, E) => s[C].map((R) => {
22302
- const B = C === "top" || C === "bottom", H = B ? a.top : a.left, J = (C === "left" || C === "top" ? Math.max : Math.min)(R, E) + H;
22303
- return B ? Ei(J, t.y, t.bottom) : Ei(J, t.x, t.right);
22302
+ const B = C === "top" || C === "bottom", H = B ? a.top : a.left, X = (C === "left" || C === "top" ? Math.max : Math.min)(R, E) + H;
22303
+ return B ? Ei(X, t.y, t.bottom) : Ei(X, t.x, t.right);
22304
22304
  }).getOr(E), d = c("left", t.x), g = c("top", t.y), p = c("right", t.right), x = c("bottom", t.bottom);
22305
22305
  return Ps(d, g, p - d, x - g);
22306
22306
  }, Wm = "layout", e2 = (t) => t.x, Ub = (t, s) => t.x + t.width / 2 - s.width / 2, t2 = (t, s) => t.x + t.width - s.width, H1 = (t, s) => t.y - s.height, fp = (t) => t.y + t.height, n2 = (t, s) => t.y + t.height / 2 - s.height / 2, jT = (t) => t.x + t.width, fc = (t, s) => t.x - s.width, xa = (t, s, a) => ya(e2(t), fp(t), a.southeast(), L1(), "southeast", Ks(t, {
@@ -22420,7 +22420,7 @@ Receiver: ` + zd(s.element), E, g.data);
22420
22420
  };
22421
22421
  },
22422
22422
  schema: oe(s),
22423
- exhibit: (B, H) => tl(x(B), vt(c, "exhibit"), (W, J) => J(H, W.config, W.state)).getOrThunk(() => ti({})),
22423
+ exhibit: (B, H) => tl(x(B), vt(c, "exhibit"), (W, X) => X(H, W.config, W.state)).getOrThunk(() => ti({})),
22424
22424
  name: oe(a),
22425
22425
  handlers: (B) => x(B).map((H) => vt(c, "events").getOr(() => ({}))(H.config, H.state)).getOr({})
22426
22426
  };
@@ -22504,8 +22504,8 @@ Receiver: ` + zd(s.element), E, g.data);
22504
22504
  ]
22505
22505
  }
22506
22506
  ]), CC = (t, s, a, c, d, g) => {
22507
- const p = s.rect, x = p.x - a, C = p.y - c, E = p.width, R = p.height, B = d - (x + E), H = g - (C + R), W = A.some(x), J = A.some(C), ce = A.some(B), $e = A.some(H), xe = A.none();
22508
- return Hf(s.direction, () => Ai(t, W, J, xe, xe), () => Ai(t, xe, J, ce, xe), () => Ai(t, W, xe, xe, $e), () => Ai(t, xe, xe, ce, $e), () => Ai(t, W, J, xe, xe), () => Ai(t, W, xe, xe, $e), () => Ai(t, W, J, xe, xe), () => Ai(t, xe, J, ce, xe));
22507
+ const p = s.rect, x = p.x - a, C = p.y - c, E = p.width, R = p.height, B = d - (x + E), H = g - (C + R), W = A.some(x), X = A.some(C), ce = A.some(B), $e = A.some(H), xe = A.none();
22508
+ return Hf(s.direction, () => Ai(t, W, X, xe, xe), () => Ai(t, xe, X, ce, xe), () => Ai(t, W, xe, xe, $e), () => Ai(t, xe, xe, ce, $e), () => Ai(t, W, X, xe, xe), () => Ai(t, W, xe, xe, $e), () => Ai(t, W, X, xe, xe), () => Ai(t, xe, X, ce, xe));
22509
22509
  }, u2 = (t, s) => t.fold(() => {
22510
22510
  const a = s.rect;
22511
22511
  return Ai("absolute", A.some(a.x), A.some(a.y), A.none(), A.none());
@@ -22547,9 +22547,9 @@ Receiver: ` + zd(s.element), E, g.data);
22547
22547
  y: c,
22548
22548
  right: d,
22549
22549
  bottom: g
22550
- } = s, { x: p, y: x, right: C, bottom: E, width: R, height: B } = t, H = p >= a && p <= d, W = x >= c && x <= g, J = H && W, ce = C <= d && C >= a, $e = E <= g && E >= c, xe = ce && $e, pe = Math.min(R, p >= a ? d - p : C - a), Oe = Math.min(B, x >= c ? g - x : E - c);
22550
+ } = s, { x: p, y: x, right: C, bottom: E, width: R, height: B } = t, H = p >= a && p <= d, W = x >= c && x <= g, X = H && W, ce = C <= d && C >= a, $e = E <= g && E >= c, xe = ce && $e, pe = Math.min(R, p >= a ? d - p : C - a), Oe = Math.min(B, x >= c ? g - x : E - c);
22551
22551
  return {
22552
- originInBounds: J,
22552
+ originInBounds: X,
22553
22553
  sizeInBounds: xe,
22554
22554
  visibleW: pe,
22555
22555
  visibleH: Oe
@@ -22560,8 +22560,8 @@ Receiver: ` + zd(s.element), E, g.data);
22560
22560
  y: c,
22561
22561
  right: d,
22562
22562
  bottom: g
22563
- } = s, { x: p, y: x, width: C, height: E } = t, R = Math.max(a, d - C), B = Math.max(c, g - E), H = Ei(p, a, R), W = Ei(x, c, B), J = Math.min(H + C, d) - H, ce = Math.min(W + E, g) - W;
22564
- return Ps(H, W, J, ce);
22563
+ } = s, { x: p, y: x, width: C, height: E } = t, R = Math.max(a, d - C), B = Math.max(c, g - E), H = Ei(p, a, R), W = Ei(x, c, B), X = Math.min(H + C, d) - H, ce = Math.min(W + E, g) - W;
22564
+ return Ps(H, W, X, ce);
22565
22565
  }, sh = (t, s, a) => {
22566
22566
  const c = oe(s.bottom - a.y), d = oe(a.bottom - s.y), g = Xy(t, d, d, c), p = oe(s.right - a.x), x = oe(a.right - s.x);
22567
22567
  return {
@@ -22569,7 +22569,7 @@ Receiver: ` + zd(s.element), E, g.data);
22569
22569
  maxHeight: g
22570
22570
  };
22571
22571
  }, nE = (t, s, a, c) => {
22572
- const d = t.bubble, g = d.offset, p = zb(c, t.restriction, g), x = t.x + g.left, C = t.y + g.top, E = Ps(x, C, s, a), { originInBounds: R, sizeInBounds: B, visibleW: H, visibleH: W } = kC(E, p), J = R && B, ce = J ? E : g2(E, p), $e = ce.width > 0 && ce.height > 0, { maxWidth: xe, maxHeight: pe } = sh(t.direction, ce, c), Oe = {
22572
+ const d = t.bubble, g = d.offset, p = zb(c, t.restriction, g), x = t.x + g.left, C = t.y + g.top, E = Ps(x, C, s, a), { originInBounds: R, sizeInBounds: B, visibleW: H, visibleH: W } = kC(E, p), X = R && B, ce = X ? E : g2(E, p), $e = ce.width > 0 && ce.height > 0, { maxWidth: xe, maxHeight: pe } = sh(t.direction, ce, c), Oe = {
22573
22573
  rect: ce,
22574
22574
  maxHeight: pe,
22575
22575
  maxWidth: xe,
@@ -22582,11 +22582,11 @@ Receiver: ` + zd(s.element), E, g.data);
22582
22582
  layout: t.label,
22583
22583
  testY: C
22584
22584
  };
22585
- return J || t.alwaysFit ? Z1.fit(Oe) : Z1.nofit(Oe, H, W, $e);
22585
+ return X || t.alwaysFit ? Z1.fit(Oe) : Z1.nofit(Oe, H, W, $e);
22586
22586
  }, oE = (t, s, a, c, d, g) => {
22587
- const p = c.width, x = c.height, C = (R, B, H, W, J) => {
22587
+ const p = c.width, x = c.height, C = (R, B, H, W, X) => {
22588
22588
  const ce = R(a, c, d, t, g), $e = nE(ce, p, x, g);
22589
- return $e.fold(oe($e), (xe, pe, Oe, ut) => (J === ut ? Oe > W || pe > H : !J && ut) ? $e : Z1.nofit(B, H, W, J));
22589
+ return $e.fold(oe($e), (xe, pe, Oe, ut) => (X === ut ? Oe > W || pe > H : !X && ut) ? $e : Z1.nofit(B, H, W, X));
22590
22590
  };
22591
22591
  return Ho(s, (R, B) => {
22592
22592
  const H = St(C, B);
@@ -22641,7 +22641,7 @@ Receiver: ` + zd(s.element), E, g.data);
22641
22641
  const x = as(t, g).split(/\s*,\s*/);
22642
22642
  return Qn(x, ca);
22643
22643
  }, a = (g) => {
22644
- if (X(g) && /^[\d.]+/.test(g)) {
22644
+ if (J(g) && /^[\d.]+/.test(g)) {
22645
22645
  const p = parseFloat(g);
22646
22646
  return vl(g, "ms") ? p : p * 1e3;
22647
22647
  } else
@@ -22838,7 +22838,7 @@ Receiver: ` + zd(s.element), E, g.data);
22838
22838
  Fo("onBottomLtr"),
22839
22839
  Fo("onBottomRtl")
22840
22840
  ]), Yb = (t, s, a, c, d, g, p) => {
22841
- const x = p.map(K1).getOr(!1), C = s.layouts.map((W) => W.onLtr(t)), E = s.layouts.map((W) => W.onRtl(t)), R = x ? s.layouts.bind((W) => W.onBottomLtr.map((J) => J(t))).or(C).getOr(d) : C.getOr(a), B = x ? s.layouts.bind((W) => W.onBottomRtl.map((J) => J(t))).or(E).getOr(g) : E.getOr(c);
22841
+ const x = p.map(K1).getOr(!1), C = s.layouts.map((W) => W.onLtr(t)), E = s.layouts.map((W) => W.onRtl(t)), R = x ? s.layouts.bind((W) => W.onBottomLtr.map((X) => X(t))).or(C).getOr(d) : C.getOr(a), B = x ? s.layouts.bind((W) => W.onBottomRtl.map((X) => X(t))).or(E).getOr(g) : E.getOr(c);
22842
22842
  return Kb(R, B)(t);
22843
22843
  }, dE = (t, s, a) => {
22844
22844
  const c = s.hotspot, d = d2(a, c.element), g = Yb(t.element, s, Wb(), a2(), r2(), hC(), A.some(s.hotspot.element));
@@ -23226,8 +23226,8 @@ Receiver: ` + zd(s.element), E, g.data);
23226
23226
  Gt(C, "visibility", "hidden");
23227
23227
  const B = s.useFixed() ? ov() : $E(t);
23228
23228
  x.placement(t, x, B).each((H) => {
23229
- const W = g.orThunk(() => s.getBounds.map(Ro)), J = KC(B, H, W, c, E, p.transition);
23230
- a.set(c.uid, J);
23229
+ const W = g.orThunk(() => s.getBounds.map(Ro)), X = KC(B, H, W, c, E, p.transition);
23230
+ a.set(c.uid, X);
23231
23231
  }), R.fold(() => {
23232
23232
  fo(C, "visibility");
23233
23233
  }, (H) => {
@@ -24043,29 +24043,29 @@ Components: ` + JSON.stringify(s.components, null, 2));
24043
24043
  cs("state", s),
24044
24044
  cs("sendFocusIn", d)
24045
24045
  ]), p = (E, R, B, H, W) => {
24046
- const J = B(E, R, H, W);
24047
- return m4(J, R.event).bind((ce) => ce(E, R, H, W));
24046
+ const X = B(E, R, H, W);
24047
+ return m4(X, R.event).bind((ce) => ce(E, R, H, W));
24048
24048
  }, C = {
24049
24049
  schema: g,
24050
24050
  processKey: p,
24051
24051
  toEvents: (E, R) => {
24052
- const B = E.focusInside !== h.OnFocusMode ? A.none() : d(E).map((J) => Je(sd(), (ce, $e) => {
24053
- J(ce, E, R), $e.stop();
24054
- })), H = (J, ce) => {
24052
+ const B = E.focusInside !== h.OnFocusMode ? A.none() : d(E).map((X) => Je(sd(), (ce, $e) => {
24053
+ X(ce, E, R), $e.stop();
24054
+ })), H = (X, ce) => {
24055
24055
  const $e = po(Ri.concat(Qd))(ce.event);
24056
- E.focusInside === h.OnEnterOrSpaceMode && $e && Xc(J, ce) && d(E).each((xe) => {
24057
- xe(J, E, R), ce.stop();
24056
+ E.focusInside === h.OnEnterOrSpaceMode && $e && Xc(X, ce) && d(E).each((xe) => {
24057
+ xe(X, E, R), ce.stop();
24058
24058
  });
24059
24059
  }, W = [
24060
- Je(Du(), (J, ce) => {
24061
- p(J, ce, a, E, R).fold(() => {
24062
- H(J, ce);
24060
+ Je(Du(), (X, ce) => {
24061
+ p(X, ce, a, E, R).fold(() => {
24062
+ H(X, ce);
24063
24063
  }, ($e) => {
24064
24064
  ce.stop();
24065
24065
  });
24066
24066
  }),
24067
- Je(Af(), (J, ce) => {
24068
- p(J, ce, c, E, R).each(($e) => {
24067
+ Je(Af(), (X, ce) => {
24068
+ p(X, ce, c, E, R).each(($e) => {
24069
24069
  ce.stop();
24070
24070
  });
24071
24071
  })
@@ -24101,7 +24101,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24101
24101
  }, R = (xe, pe, Oe) => {
24102
24102
  const ut = Oe.cyclic ? cx : u4;
24103
24103
  return C(xe, pe, Oe, ut);
24104
- }, B = (xe) => Hl(xe).bind(hi).exists((pe) => Lo(pe, xe)), H = (xe, pe, Oe) => d(xe, Oe).filter((ut) => !Oe.useTabstopAt(ut)).bind((ut) => (B(ut) ? E : R)(xe, pe, Oe)), W = (xe, pe, Oe) => Oe.onEnter.bind((ut) => ut(xe, pe)), J = (xe, pe, Oe) => Oe.onEscape.bind((ut) => ut(xe, pe)), ce = oe([
24104
+ }, B = (xe) => Hl(xe).bind(hi).exists((pe) => Lo(pe, xe)), H = (xe, pe, Oe) => d(xe, Oe).filter((ut) => !Oe.useTabstopAt(ut)).bind((ut) => (B(ut) ? E : R)(xe, pe, Oe)), W = (xe, pe, Oe) => Oe.onEnter.bind((ut) => ut(xe, pe)), X = (xe, pe, Oe) => Oe.onEscape.bind((ut) => ut(xe, pe)), ce = oe([
24105
24105
  ko($i([
24106
24106
  nf,
24107
24107
  po(ef)
@@ -24112,7 +24112,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24112
24112
  po(Qd)
24113
24113
  ]), W)
24114
24114
  ]), $e = oe([
24115
- ko(po(_v), J),
24115
+ ko(po(_v), X),
24116
24116
  ko(po(ef), H)
24117
24117
  ]);
24118
24118
  return v(s, Ru.init, ce, $e, () => A.some(p));
@@ -24912,12 +24912,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
24912
24912
  }, H = (Xe) => vt(t.get(), Xe).map((je) => {
24913
24913
  const yt = vt(a.get(), Xe).getOr([]);
24914
24914
  return [je].concat(yt);
24915
- }), W = (Xe) => vt(a.get(), Xe).bind((je) => je.length > 1 ? A.some(je.slice(1)) : A.none()), J = (Xe) => vt(a.get(), Xe), ce = (Xe) => $e(Xe).bind(Ov), $e = (Xe) => vt(s.get(), Xe), xe = (Xe) => vt(t.get(), Xe);
24915
+ }), W = (Xe) => vt(a.get(), Xe).bind((je) => je.length > 1 ? A.some(je.slice(1)) : A.none()), X = (Xe) => vt(a.get(), Xe), ce = (Xe) => $e(Xe).bind(Ov), $e = (Xe) => vt(s.get(), Xe), xe = (Xe) => vt(t.get(), Xe);
24916
24916
  return {
24917
24917
  setMenuBuilt: x,
24918
24918
  setContents: C,
24919
24919
  expand: H,
24920
- refresh: J,
24920
+ refresh: X,
24921
24921
  collapse: W,
24922
24922
  lookupMenu: $e,
24923
24923
  lookupItem: xe,
@@ -24992,7 +24992,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24992
24992
  Yt[_s] = In;
24993
24993
  });
24994
24994
  }), a.set(Yt), Yt;
24995
- }), J = (At, Yt) => {
24995
+ }), X = (At, Yt) => {
24996
24996
  const An = W(At);
24997
24997
  us(An, ($n, bn) => {
24998
24998
  const In = jo(Yt, bn);
@@ -25023,17 +25023,17 @@ Components: ` + JSON.stringify(s.components, null, 2));
25023
25023
  return A.some(Yt);
25024
25024
  {
25025
25025
  const $n = p(Yt);
25026
- return d.expand($n).bind((bn) => (J(At, bn), A.from(bn[0]).bind((In) => d.lookupMenu(In).bind((_s) => {
25026
+ return d.expand($n).bind((bn) => (X(At, bn), A.from(bn[0]).bind((In) => d.lookupMenu(In).bind((_s) => {
25027
25027
  const To = xe(At, In, _s);
25028
25028
  return ao(To.element) || Bn.append(At, Ti(To)), t.onOpenSubmenu(At, Yt, To, Go(bn)), An === $e.HighlightSubmenu ? (Po.highlightFirst(To), ce(At, d, bn)) : (Po.dehighlightAll(To), A.some(Yt));
25029
25029
  }))));
25030
25030
  }
25031
25031
  }, Oe = (At, Yt) => {
25032
25032
  const An = p(Yt);
25033
- return d.collapse(An).bind(($n) => (J(At, $n), ce(At, d, $n).map((bn) => (t.onCollapseMenu(At, Yt, bn), bn))));
25033
+ return d.collapse(An).bind(($n) => (X(At, $n), ce(At, d, $n).map((bn) => (t.onCollapseMenu(At, Yt, bn), bn))));
25034
25034
  }, ut = (At, Yt) => {
25035
25035
  const An = p(Yt);
25036
- return d.refresh(An).bind(($n) => (J(At, $n), ce(At, d, $n)));
25036
+ return d.refresh(An).bind(($n) => (X(At, $n), ce(At, d, $n)));
25037
25037
  }, Xe = (At, Yt) => mh(Yt.element) ? A.none() : pe(At, Yt, $e.HighlightSubmenu), je = (At, Yt) => mh(Yt.element) ? A.none() : Oe(At, Yt), yt = (At, Yt) => Oe(At, Yt).orThunk(() => t.onEscape(At, Yt).map(() => At)), Et = (At) => (Yt, An) => cd(An.getSource(), `.${t.markers.item}`).bind(($n) => Yt.getSystem().getByDom($n).toOptional().bind((bn) => At(Yt, bn).map(Ge))), Vn = Es([
25038
25038
  Je(rR(), (At, Yt) => {
25039
25039
  const An = Yt.event.item;
@@ -25213,12 +25213,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
25213
25213
  onRepositionMenu: (E, R, B) => {
25214
25214
  const H = g().getOrDie();
25215
25215
  El.positionWithinBounds(H, R, a, d()), bt(B, (W) => {
25216
- const J = C(W.triggeringPath);
25216
+ const X = C(W.triggeringPath);
25217
25217
  El.position(H, W.triggeredMenu, {
25218
25218
  anchor: {
25219
25219
  type: "submenu",
25220
25220
  item: W.triggeringItem,
25221
- ...J
25221
+ ...X
25222
25222
  }
25223
25223
  });
25224
25224
  });
@@ -25227,20 +25227,20 @@ Components: ` + JSON.stringify(s.components, null, 2));
25227
25227
  }, J7 = (t, s) => {
25228
25228
  const a = (H, W) => t.getRelated(H).exists((ce) => zm(ce, W)), c = (H, W) => {
25229
25229
  ho.setContent(H, W);
25230
- }, d = (H, W, J) => {
25230
+ }, d = (H, W, X) => {
25231
25231
  const ce = A.none;
25232
- g(H, W, J, ce);
25233
- }, g = (H, W, J, ce) => {
25232
+ g(H, W, X, ce);
25233
+ }, g = (H, W, X, ce) => {
25234
25234
  const $e = t.lazySink(H).getOrDie();
25235
- ho.openWhileCloaked(H, W, () => El.positionWithinBounds($e, H, J, ce())), Lt.setValue(H, A.some({
25235
+ ho.openWhileCloaked(H, W, () => El.positionWithinBounds($e, H, X, ce())), Lt.setValue(H, A.some({
25236
25236
  mode: "position",
25237
- config: J,
25237
+ config: X,
25238
25238
  getBounds: ce
25239
25239
  }));
25240
- }, p = (H, W, J) => {
25241
- x(H, W, J, A.none);
25242
- }, x = (H, W, J, ce) => {
25243
- const $e = X7(t, H, W, J, ce);
25240
+ }, p = (H, W, X) => {
25241
+ x(H, W, X, A.none);
25242
+ }, x = (H, W, X, ce) => {
25243
+ const $e = X7(t, H, W, X, ce);
25244
25244
  ho.open(H, $e), Lt.setValue(H, A.some({
25245
25245
  mode: "menu",
25246
25246
  menu: $e
@@ -25254,8 +25254,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
25254
25254
  ho.getState(H).each(jp.repositionMenus);
25255
25255
  break;
25256
25256
  case "position":
25257
- const J = t.lazySink(H).getOrDie();
25258
- El.positionWithinBounds(J, H, W.config, W.getBounds());
25257
+ const X = t.lazySink(H).getOrDie();
25258
+ El.positionWithinBounds(X, H, W.config, W.getBounds());
25259
25259
  break;
25260
25260
  }
25261
25261
  });
@@ -25275,7 +25275,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25275
25275
  dom: t.dom,
25276
25276
  behaviours: jr(t.inlineBehaviours, [
25277
25277
  ho.config({
25278
- isPartOf: (H, W, J) => zm(W, J) || a(H, J),
25278
+ isPartOf: (H, W, X) => zm(W, X) || a(H, X),
25279
25279
  getAttachPoint: (H) => t.lazySink(H).getOrDie(),
25280
25280
  onOpen: (H) => {
25281
25281
  t.onShow(H);
@@ -26131,7 +26131,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26131
26131
  return s.isSupported = !1, s;
26132
26132
  const a = t.document, c = a.currentScript;
26133
26133
  let { document: d } = t;
26134
- const { DocumentFragment: g, HTMLTemplateElement: p, Node: x, Element: C, NodeFilter: E, NamedNodeMap: R = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: B, DOMParser: H, trustedTypes: W } = t, J = C.prototype, ce = bx(J, "cloneNode"), $e = bx(J, "nextSibling"), xe = bx(J, "childNodes"), pe = bx(J, "parentNode");
26134
+ const { DocumentFragment: g, HTMLTemplateElement: p, Node: x, Element: C, NodeFilter: E, NamedNodeMap: R = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: B, DOMParser: H, trustedTypes: W } = t, X = C.prototype, ce = bx(X, "cloneNode"), $e = bx(X, "nextSibling"), xe = bx(X, "childNodes"), pe = bx(X, "parentNode");
26135
26135
  if (typeof p == "function") {
26136
26136
  const uo = d.createElement("template");
26137
26137
  uo.content && uo.content.ownerDocument && (d = uo.content.ownerDocument);
@@ -26611,7 +26611,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26611
26611
  ],
26612
26612
  behaviours: wt([Bn.config({})])
26613
26613
  }), x = {
26614
- updateProgress: (W, J) => {
26614
+ updateProgress: (W, X) => {
26615
26615
  W.getSystem().isConnected() && d.getOpt(W).each((ce) => {
26616
26616
  Bn.set(ce, [
26617
26617
  {
@@ -26619,16 +26619,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
26619
26619
  tag: "div",
26620
26620
  classes: ["tox-bar-container"]
26621
26621
  },
26622
- components: [a(J)]
26622
+ components: [a(X)]
26623
26623
  },
26624
- c(J)
26624
+ c(X)
26625
26625
  ]);
26626
26626
  });
26627
26627
  },
26628
- updateText: (W, J) => {
26628
+ updateText: (W, X) => {
26629
26629
  if (W.getSystem().isConnected()) {
26630
26630
  const ce = s.get(W);
26631
- Bn.set(ce, [Sr(J)]);
26631
+ Bn.set(ce, [Sr(X)]);
26632
26632
  }
26633
26633
  }
26634
26634
  }, C = Ke([
@@ -26746,18 +26746,18 @@ Components: ` + JSON.stringify(s.components, null, 2));
26746
26746
  a.add(H), ur(C.timeout) && C.timeout > 0 && A0.setEditorTimeout(t, () => {
26747
26747
  R();
26748
26748
  }, C.timeout);
26749
- const J = {
26749
+ const X = {
26750
26750
  close: R,
26751
26751
  reposition: () => {
26752
26752
  const ce = Ti(B), $e = { maxHeightFunction: vp() }, xe = t.notificationManager.getNotifications();
26753
- if (xe[0] === J) {
26753
+ if (xe[0] === X) {
26754
26754
  const pe = {
26755
26755
  ...c.anchors.banner(),
26756
26756
  overrides: $e
26757
26757
  };
26758
26758
  lr.showWithinBounds(H, ce, { anchor: pe }, d);
26759
26759
  } else
26760
- ot(xe, J).each((pe) => {
26760
+ ot(xe, X).each((pe) => {
26761
26761
  const Oe = xe[pe - 1].getEl(), ut = {
26762
26762
  type: "node",
26763
26763
  root: Fs(),
@@ -26782,7 +26782,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26782
26782
  }
26783
26783
  }
26784
26784
  };
26785
- return J;
26785
+ return X;
26786
26786
  },
26787
26787
  close: (C) => {
26788
26788
  C.close();
@@ -26798,9 +26798,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
26798
26798
  t.auto = "auto", t.top = "top", t.bottom = "bottom";
26799
26799
  })(_x || (_x = {}));
26800
26800
  const As = (t) => (s) => s.options.get(t), kx = (t) => (s) => A.from(t(s)), wR = (t) => {
26801
- const s = $v.deviceType.isPhone(), a = $v.deviceType.isTablet() || s, c = t.options.register, d = (p) => X(p) || p === !1, g = (p) => X(p) || ur(p);
26801
+ const s = $v.deviceType.isPhone(), a = $v.deviceType.isTablet() || s, c = t.options.register, d = (p) => J(p) || p === !1, g = (p) => J(p) || ur(p);
26802
26802
  c("skin", {
26803
- processor: (p) => X(p) || p === !1,
26803
+ processor: (p) => J(p) || p === !1,
26804
26804
  default: "oxide"
26805
26805
  }), c("skin_url", { processor: "string" }), c("height", {
26806
26806
  processor: g,
@@ -26836,13 +26836,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
26836
26836
  processor: "string",
26837
26837
  default: ""
26838
26838
  }), c("menubar", {
26839
- processor: (p) => X(p) || zn(p),
26839
+ processor: (p) => J(p) || zn(p),
26840
26840
  default: !s
26841
26841
  }), c("menu", {
26842
26842
  processor: "object",
26843
26843
  default: {}
26844
26844
  }), c("toolbar", {
26845
- processor: (p) => zn(p) || X(p) || jt(p) ? {
26845
+ processor: (p) => zn(p) || J(p) || jt(p) ? {
26846
26846
  value: p,
26847
26847
  valid: !0
26848
26848
  } : {
@@ -26921,14 +26921,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
26921
26921
  return xR.baseURL + "/skins/ui/" + a;
26922
26922
  }
26923
26923
  }, e_ = (t) => A.from(t.options.get("skin_url")), BR = (t) => t.options.get("line_height_formats").split(" "), t_ = (t) => {
26924
- const s = qS(t), a = X(s), c = jt(s) && s.length > 0;
26924
+ const s = qS(t), a = J(s), c = jt(s) && s.length > 0;
26925
26925
  return !Ax(t) && (c || a || s === !0);
26926
26926
  }, Q4 = (t) => {
26927
- const s = ro(9, (c) => t.options.get("toolbar" + (c + 1))), a = Qn(s, X);
26927
+ const s = ro(9, (c) => t.options.get("toolbar" + (c + 1))), a = Qn(s, J);
26928
26928
  return gn(a.length > 0, a);
26929
26929
  }, Ax = (t) => Q4(t).fold(() => {
26930
26930
  const s = qS(t);
26931
- return mn(s, X) && s.length > 0;
26931
+ return mn(s, J) && s.length > 0;
26932
26932
  }, Ge), e3 = (t) => Ex(t) === _x.bottom, IR = (t) => {
26933
26933
  var s;
26934
26934
  if (!t.inline)
@@ -28128,7 +28128,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
28128
28128
  }, Pi = (t, s) => () => t.execCommand(s);
28129
28129
  var Yp = tinymce.util.Tools.resolve("tinymce.util.LocalStorage");
28130
28130
  const z3 = {}, U3 = (t, s = 10) => {
28131
- const a = Yp.getItem(t), c = X(a) ? JSON.parse(a) : [], g = ((E) => s - E.length < 0 ? E.slice(0, s) : E)(c), p = (E) => {
28131
+ const a = Yp.getItem(t), c = J(a) ? JSON.parse(a) : [], g = ((E) => s - E.length < 0 ? E.slice(0, s) : E)(c), p = (E) => {
28132
28132
  ot(g, E).each(x), g.unshift(E), g.length > s && g.pop(), Yp.setItem(t, JSON.stringify(g));
28133
28133
  }, x = (E) => {
28134
28134
  g.splice(E, 1);
@@ -28181,7 +28181,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
28181
28181
  });
28182
28182
  return s;
28183
28183
  }, ig = (t) => (s) => s.options.get(t), j3 = "#000000", _L = (t) => {
28184
- const s = t.options.register, a = (d) => mn(d, X) ? {
28184
+ const s = t.options.register, a = (d) => mn(d, J) ? {
28185
28185
  value: SL(d),
28186
28186
  valid: !0
28187
28187
  } : {
@@ -28806,8 +28806,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
28806
28806
  El.position(W, H, { anchor: a }), ho.decloak(d);
28807
28807
  },
28808
28808
  onOpenSubmenu: (B, H, W) => {
28809
- const J = C().getOrDie();
28810
- El.position(J, W, {
28809
+ const X = C().getOrDie();
28810
+ El.position(X, W, {
28811
28811
  anchor: {
28812
28812
  type: "submenu",
28813
28813
  item: H
@@ -28815,9 +28815,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
28815
28815
  }), ho.decloak(d);
28816
28816
  },
28817
28817
  onRepositionMenu: (B, H, W) => {
28818
- const J = C().getOrDie();
28819
- El.position(J, H, { anchor: a }), bt(W, (ce) => {
28820
- El.position(J, ce.triggeredMenu, {
28818
+ const X = C().getOrDie();
28819
+ El.position(X, H, { anchor: a }), bt(W, (ce) => {
28820
+ El.position(X, ce.triggeredMenu, {
28821
28821
  anchor: {
28822
28822
  type: "submenu",
28823
28823
  item: ce.triggeringItem
@@ -29174,8 +29174,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
29174
29174
  }), E().each(Po.highlightFirst);
29175
29175
  }, W = ($e) => {
29176
29176
  const xe = B($e);
29177
- xe.length > 0 ? (H($e, xe), Nt(Te.fromDom(t.getBody()), "aria-owns", a), t.inline || J()) : C();
29178
- }, J = () => {
29177
+ xe.length > 0 ? (H($e, xe), Nt(Te.fromDom(t.getBody()), "aria-owns", a), t.inline || X()) : C();
29178
+ }, X = () => {
29179
29179
  t.dom.get(a) && t.dom.remove(a, !1);
29180
29180
  const $e = t.getDoc().documentElement, xe = t.selection.getNode(), pe = DT(g.element);
29181
29181
  $s(pe, {
@@ -29314,10 +29314,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
29314
29314
  "dragover",
29315
29315
  "drop",
29316
29316
  "keyup"
29317
- ]), (W) => Xl(t, W, (J) => {
29318
- d.fireIfReady(J, W).each(($e) => {
29319
- $e && J.kill();
29320
- }), a.triggerEvent(W, J) && J.kill();
29317
+ ]), (W) => Xl(t, W, (X) => {
29318
+ d.fireIfReady(X, W).each(($e) => {
29319
+ $e && X.kill();
29320
+ }), a.triggerEvent(W, X) && X.kill();
29321
29321
  })), p = eo(), x = Xl(t, "paste", (W) => {
29322
29322
  d.fireIfReady(W, "paste").each((ce) => {
29323
29323
  ce && W.kill();
@@ -29517,7 +29517,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29517
29517
  W(xe, pe);
29518
29518
  },
29519
29519
  broadcastEvent: (xe, pe) => {
29520
- J(xe, pe);
29520
+ X(xe, pe);
29521
29521
  },
29522
29522
  isConnected: Ge
29523
29523
  }, p = (xe) => {
@@ -29547,7 +29547,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29547
29547
  channels: xe,
29548
29548
  data: pe
29549
29549
  });
29550
- }, J = (xe, pe) => {
29550
+ }, X = (xe, pe) => {
29551
29551
  const Oe = a.filter(xe);
29552
29552
  return SF(Oe, pe);
29553
29553
  }, ce = (xe) => a.getById(xe).fold(() => Ln.error(new Error('Could not find component with uid: "' + xe + '" in system.')), Ln.value), $e = (xe) => {
@@ -29566,7 +29566,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29566
29566
  removeFromWorld: x,
29567
29567
  broadcast: H,
29568
29568
  broadcastOn: W,
29569
- broadcastEvent: J
29569
+ broadcastEvent: X
29570
29570
  };
29571
29571
  }, TF = (t, s) => ({
29572
29572
  dom: {
@@ -29699,14 +29699,14 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29699
29699
  components: [Sr(s.translate(t))]
29700
29700
  }), Ni = Ut("form-component-change"), Xv = Ut("form-close"), Qp = Ut("form-cancel"), ug = Ut("form-action"), Kx = Ut("form-submit"), fA = Ut("form-block"), gA = Ut("form-unblock"), PM = Ut("form-tabchange"), NM = Ut("form-resize"), PF = (t, s, a) => {
29701
29701
  const c = t.label.map((W) => wd(W, s)), d = s.icons(), g = (W) => {
29702
- var J;
29703
- return (J = d[W]) !== null && J !== void 0 ? J : W;
29704
- }, p = (W) => (J, ce) => {
29702
+ var X;
29703
+ return (X = d[W]) !== null && X !== void 0 ? X : W;
29704
+ }, p = (W) => (X, ce) => {
29705
29705
  cd(ce.event.target, "[data-collection-item-value]").each(($e) => {
29706
- W(J, ce, $e, Ws($e, "data-collection-item-value"));
29706
+ W(X, ce, $e, Ws($e, "data-collection-item-value"));
29707
29707
  });
29708
- }, x = (W, J) => {
29709
- const ce = et(J, (pe) => {
29708
+ }, x = (W, X) => {
29709
+ const ce = et(X, (pe) => {
29710
29710
  const Oe = Fu.translate(pe.text), ut = t.columns === 1 ? `<div class="tox-collection__item-label">${Oe}</div>` : "", Xe = `<div class="tox-collection__item-icon">${g(pe.icon)}</div>`, je = {
29711
29711
  _: " ",
29712
29712
  " - ": " ",
@@ -29715,34 +29715,34 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29715
29715
  return `<div class="tox-collection__item${s.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${RF.encodeAllRaw(pe.value)}" title="${yt}" aria-label="${yt}">${Xe}${ut}</div>`;
29716
29716
  }), $e = t.columns !== "auto" && t.columns > 1 ? pr(ce, t.columns) : [ce], xe = et($e, (pe) => `<div class="tox-collection__group">${pe.join("")}</div>`);
29717
29717
  Kg(W.element, xe.join(""));
29718
- }, C = p((W, J, ce, $e) => {
29719
- J.stop(), s.isDisabled() || ln(W, ug, {
29718
+ }, C = p((W, X, ce, $e) => {
29719
+ X.stop(), s.isDisabled() || ln(W, ug, {
29720
29720
  name: t.name,
29721
29721
  value: $e
29722
29722
  });
29723
29723
  }), E = [
29724
- Je(od(), p((W, J, ce) => {
29724
+ Je(od(), p((W, X, ce) => {
29725
29725
  Rc(ce);
29726
29726
  })),
29727
29727
  Je(Nm(), C),
29728
29728
  Je(rd(), C),
29729
- Je(ul(), p((W, J, ce) => {
29729
+ Je(ul(), p((W, X, ce) => {
29730
29730
  Br(W.element, "." + Ox).each(($e) => {
29731
29731
  Qs($e, Ox);
29732
29732
  }), Nr(ce, Ox);
29733
29733
  })),
29734
29734
  Je(Pm(), p((W) => {
29735
- Br(W.element, "." + Ox).each((J) => {
29736
- Qs(J, Ox);
29735
+ Br(W.element, "." + Ox).each((X) => {
29736
+ Qs(X, Ox);
29737
29737
  });
29738
29738
  })),
29739
- Ou(p((W, J, ce, $e) => {
29739
+ Ou(p((W, X, ce, $e) => {
29740
29740
  ln(W, ug, {
29741
29741
  name: t.name,
29742
29742
  value: $e
29743
29743
  });
29744
29744
  }))
29745
- ], R = (W, J) => et(Sa(W.element, ".tox-collection__item"), J), B = Jo.parts.field({
29745
+ ], R = (W, X) => et(Sa(W.element, ".tox-collection__item"), X), B = Jo.parts.field({
29746
29746
  dom: {
29747
29747
  tag: "div",
29748
29748
  classes: ["tox-collection"].concat(t.columns !== 1 ? ["tox-collection--grid"] : ["tox-collection--list"])
@@ -29753,13 +29753,13 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29753
29753
  yn.config({
29754
29754
  disabled: s.isDisabled,
29755
29755
  onDisabled: (W) => {
29756
- R(W, (J) => {
29757
- Nr(J, "tox-collection__item--state-disabled"), Nt(J, "aria-disabled", !0);
29756
+ R(W, (X) => {
29757
+ Nr(X, "tox-collection__item--state-disabled"), Nt(X, "aria-disabled", !0);
29758
29758
  });
29759
29759
  },
29760
29760
  onEnabled: (W) => {
29761
- R(W, (J) => {
29762
- Qs(J, "tox-collection__item--state-disabled"), re(J, "aria-disabled");
29761
+ R(W, (X) => {
29762
+ Qs(X, "tox-collection__item--state-disabled"), re(X, "aria-disabled");
29763
29763
  });
29764
29764
  }
29765
29765
  }),
@@ -29770,8 +29770,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29770
29770
  mode: "memory",
29771
29771
  initialValue: a.getOr([])
29772
29772
  },
29773
- onSetValue: (W, J) => {
29774
- x(W, J), t.columns === "auto" && E3(W, 5, "tox-collection__item").each(({ numRows: ce, numColumns: $e }) => {
29773
+ onSetValue: (W, X) => {
29774
+ x(W, X), t.columns === "auto" && E3(W, 5, "tox-collection__item").each(({ numRows: ce, numColumns: $e }) => {
29775
29775
  cn.setGridSize(W, ce, $e);
29776
29776
  }), go(W, NM);
29777
29777
  }
@@ -30107,13 +30107,13 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30107
30107
  const p = (t - g) % c, x = Math.round(p / c), C = Math.floor((t - g) / c), E = Math.floor((a - g) / c), R = Math.min(E, C + x), B = g + R * c;
30108
30108
  return Math.max(g, B);
30109
30109
  }), m9 = (t, s, a) => Math.min(a, Math.max(t, s)) - s, XM = (t) => {
30110
- const { min: s, max: a, range: c, value: d, step: g, snap: p, snapStart: x, rounded: C, hasMinEdge: E, hasMaxEdge: R, minBound: B, maxBound: H, screenRange: W } = t, J = E ? s - 1 : s, ce = R ? a + 1 : a;
30110
+ const { min: s, max: a, range: c, value: d, step: g, snap: p, snapStart: x, rounded: C, hasMinEdge: E, hasMaxEdge: R, minBound: B, maxBound: H, screenRange: W } = t, X = E ? s - 1 : s, ce = R ? a + 1 : a;
30111
30111
  if (d < B)
30112
- return J;
30112
+ return X;
30113
30113
  if (d > H)
30114
30114
  return ce;
30115
30115
  {
30116
- const $e = m9(d, B, H), xe = YM($e / W * c + s, J, ce);
30116
+ const $e = m9(d, B, H), xe = YM($e / W * c + s, X, ce);
30117
30117
  return p && xe >= s && xe <= a ? d9(xe, s, a, g, x) : C ? Math.round(xe) : xe;
30118
30118
  }
30119
30119
  }, JM = (t) => {
@@ -30403,7 +30403,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30403
30403
  R.value.set(je);
30404
30404
  const yt = d(Xe);
30405
30405
  H(Xe, yt);
30406
- }, J = (Xe, je) => {
30406
+ }, X = (Xe, je) => {
30407
30407
  W(Xe, je);
30408
30408
  const yt = d(Xe);
30409
30409
  return t.onChange(Xe, yt, je), A.some(!0);
@@ -30446,7 +30446,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30446
30446
  ]),
30447
30447
  events: Es([
30448
30448
  Je(Jv(), (Xe, je) => {
30449
- J(Xe, je.event.value);
30449
+ X(Xe, je.event.value);
30450
30450
  }),
30451
30451
  ws((Xe, je) => {
30452
30452
  const yt = R.getInitialValue();
@@ -30572,36 +30572,36 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30572
30572
  const d = (H, W) => zu.config({
30573
30573
  invalidClass: s("invalid"),
30574
30574
  notify: {
30575
- onValidate: (J) => {
30576
- ln(J, uf, { type: H });
30575
+ onValidate: (X) => {
30576
+ ln(X, uf, { type: H });
30577
30577
  },
30578
- onValid: (J) => {
30579
- ln(J, LA, {
30578
+ onValid: (X) => {
30579
+ ln(X, LA, {
30580
30580
  type: H,
30581
- value: Lt.getValue(J)
30581
+ value: Lt.getValue(X)
30582
30582
  });
30583
30583
  },
30584
- onInvalid: (J) => {
30585
- ln(J, bP, {
30584
+ onInvalid: (X) => {
30585
+ ln(X, bP, {
30586
30586
  type: H,
30587
- value: Lt.getValue(J)
30587
+ value: Lt.getValue(X)
30588
30588
  });
30589
30589
  }
30590
30590
  },
30591
30591
  validator: {
30592
- validate: (J) => {
30593
- const ce = Lt.getValue(J), $e = W(ce) ? Ln.value(!0) : Ln.error(t("aria.input.invalid"));
30592
+ validate: (X) => {
30593
+ const ce = Lt.getValue(X), $e = W(ce) ? Ln.value(!0) : Ln.error(t("aria.input.invalid"));
30594
30594
  return ec.pure($e);
30595
30595
  },
30596
30596
  validateOnLoad: !1
30597
30597
  }
30598
- }), g = (H, W, J, ce, $e) => {
30598
+ }), g = (H, W, X, ce, $e) => {
30599
30599
  const xe = t(oy + "range"), pe = Jo.parts.label({
30600
30600
  dom: {
30601
30601
  tag: "label",
30602
30602
  attributes: { "aria-label": ce }
30603
30603
  },
30604
- components: [Sr(J)]
30604
+ components: [Sr(X)]
30605
30605
  }), Oe = Jo.parts.field({
30606
30606
  data: $e,
30607
30607
  factory: M0,
@@ -30629,14 +30629,14 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30629
30629
  components: je
30630
30630
  };
30631
30631
  }, p = (H, W) => {
30632
- const J = Kv(W);
30632
+ const X = Kv(W);
30633
30633
  return ny.getField(H, "hex").each((ce) => {
30634
- wn.isFocused(ce) || Lt.setValue(H, { hex: J.value });
30635
- }), J;
30634
+ wn.isFocused(ce) || Lt.setValue(H, { hex: X.value });
30635
+ }), X;
30636
30636
  }, x = (H, W) => {
30637
- const J = W.red, ce = W.green, $e = W.blue;
30637
+ const X = W.red, ce = W.green, $e = W.blue;
30638
30638
  Lt.setValue(H, {
30639
- red: J,
30639
+ red: X,
30640
30640
  green: ce,
30641
30641
  blue: $e
30642
30642
  });
@@ -30648,8 +30648,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30648
30648
  attributes: { role: "presentation" }
30649
30649
  }
30650
30650
  }), E = (H, W) => {
30651
- C.getOpt(H).each((J) => {
30652
- Gt(J.element, "background-color", "#" + W.value);
30651
+ C.getOpt(H).each((X) => {
30652
+ Gt(X.element, "background-color", "#" + W.value);
30653
30653
  });
30654
30654
  };
30655
30655
  return ai({
@@ -30662,9 +30662,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30662
30662
  }, W = (Cn, Ko) => {
30663
30663
  const hn = Hx(Ko);
30664
30664
  x(Cn, hn), xe(hn);
30665
- }, J = (Cn) => H[Cn].get(), ce = (Cn, Ko) => {
30665
+ }, X = (Cn) => H[Cn].get(), ce = (Cn, Ko) => {
30666
30666
  H[Cn].set(Ko);
30667
- }, $e = () => J("red").bind((Cn) => J("green").bind((Ko) => J("blue").map((hn) => Kp(Cn, Ko, hn, 1)))), xe = (Cn) => {
30667
+ }, $e = () => X("red").bind((Cn) => X("green").bind((Ko) => X("blue").map((hn) => Kp(Cn, Ko, hn, 1)))), xe = (Cn) => {
30668
30668
  const Ko = Cn.red, hn = Cn.green, _o = Cn.blue;
30669
30669
  ce("red", A.some(Ko)), ce("green", A.some(hn)), ce("blue", A.some(_o));
30670
30670
  }, pe = (Cn, Ko) => {
@@ -30721,8 +30721,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30721
30721
  name: "RgbForm",
30722
30722
  configFields: [],
30723
30723
  apis: {
30724
- updateHex: (H, W, J) => {
30725
- H.updateHex(W, J);
30724
+ updateHex: (H, W, X) => {
30725
+ H.updateHex(W, X);
30726
30726
  }
30727
30727
  },
30728
30728
  extraApis: {}
@@ -30746,8 +30746,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30746
30746
  if (W === null)
30747
30747
  return;
30748
30748
  W.fillStyle = R, W.fillRect(0, 0, B, H);
30749
- const J = W.createLinearGradient(0, 0, B, 0);
30750
- J.addColorStop(0, "rgba(255,255,255,1)"), J.addColorStop(1, "rgba(255,255,255,0)"), W.fillStyle = J, W.fillRect(0, 0, B, H);
30749
+ const X = W.createLinearGradient(0, 0, B, 0);
30750
+ X.addColorStop(0, "rgba(255,255,255,1)"), X.addColorStop(1, "rgba(255,255,255,0)"), W.fillStyle = X, W.fillRect(0, 0, B, H);
30751
30751
  const ce = W.createLinearGradient(0, 0, 0, H);
30752
30752
  ce.addColorStop(0, "rgba(0,0,0,0)"), ce.addColorStop(1, "rgba(0,0,0,1)"), W.fillStyle = ce, W.fillRect(0, 0, B, H);
30753
30753
  }, g = (E, R) => {
@@ -30769,13 +30769,13 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30769
30769
  const R = oe({
30770
30770
  x: 0,
30771
30771
  y: 0
30772
- }), B = (J, ce, $e) => {
30773
- ur($e) || Nt(J.element, "aria-valuetext", t([
30772
+ }), B = (X, ce, $e) => {
30773
+ ur($e) || Nt(X.element, "aria-valuetext", t([
30774
30774
  "Saturation {0}%, Brightness {1}%",
30775
30775
  Math.floor($e.x),
30776
30776
  Math.floor(100 - $e.y)
30777
- ])), ln(J, nw, { value: $e });
30778
- }, H = (J, ce, $e, xe) => {
30777
+ ])), ln(X, nw, { value: $e });
30778
+ }, H = (X, ce, $e, xe) => {
30779
30779
  d($e.element.dom, F3(yd));
30780
30780
  }, W = wt([
30781
30781
  io.config({ find: A.some }),
@@ -30829,7 +30829,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30829
30829
  B.getOpt(je).each((Vn) => {
30830
30830
  p.setHue(Vn, Et);
30831
30831
  });
30832
- }, J = (je, yt) => {
30832
+ }, X = (je, yt) => {
30833
30833
  H.getOpt(je).each((Et) => {
30834
30834
  g.updateHex(Et, yt);
30835
30835
  });
@@ -30849,7 +30849,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30849
30849
  zt(je, yt, Et);
30850
30850
  });
30851
30851
  }, Oe = () => {
30852
- const je = [J];
30852
+ const je = [X];
30853
30853
  return (yt, Et) => {
30854
30854
  const Vn = Et.event.value, zt = E.paletteHue.get(), En = zx(zt, Vn.x, 100 - Vn.y), Cn = J$(En);
30855
30855
  pe(yt, Cn, zt, je);
@@ -30857,7 +30857,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30857
30857
  }, ut = () => {
30858
30858
  const je = [
30859
30859
  W,
30860
- J
30860
+ X
30861
30861
  ];
30862
30862
  return (yt, Et) => {
30863
30863
  const Vn = x(Et.event.value), zt = E.paletteRgba.get(), En = C_(zt), Cn = zx(Vn, En.saturation, En.value), Ko = J$(Cn);
@@ -30948,7 +30948,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30948
30948
  "colorcustom.rgb.range": "Range 0 to 255",
30949
30949
  "aria.color.picker": "Color Picker",
30950
30950
  "aria.input.invalid": "Invalid input"
30951
- }, W9 = (t) => (s) => X(s) ? t.translate(U9[s]) : t.translate(s), Z9 = (t, s, a) => {
30951
+ }, W9 = (t) => (s) => J(s) ? t.translate(U9[s]) : t.translate(s), Z9 = (t, s, a) => {
30952
30952
  const c = (C) => "tox-" + C, d = vP(W9(s), c), g = (C) => {
30953
30953
  ln(C, ug, {
30954
30954
  name: "hex-valid",
@@ -30976,11 +30976,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30976
30976
  const E = x.get(C);
30977
30977
  return io.getCurrent(E).bind((H) => Lt.getValue(H).hex).map((H) => "#" + mi(H, "#")).getOr("");
30978
30978
  }, (C, E) => {
30979
- const R = /^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/, B = A.from(R.exec(E)).bind((J) => hs(J, 1)), H = x.get(C);
30979
+ const R = /^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/, B = A.from(R.exec(E)).bind((X) => hs(X, 1)), H = x.get(C);
30980
30980
  io.getCurrent(H).fold(() => {
30981
30981
  console.log("Can not find form");
30982
- }, (J) => {
30983
- Lt.setValue(J, { hex: B.getOr("") }), ny.getField(J, "hex").each((ce) => {
30982
+ }, (X) => {
30983
+ Lt.setValue(X, { hex: B.getOr("") }), ny.getField(X, "hex").each((ce) => {
30984
30984
  go(ce, Zg());
30985
30985
  });
30986
30986
  });
@@ -31022,19 +31022,19 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31022
31022
  }, G9 = (t, s, a) => {
31023
31023
  const c = (H, W) => {
31024
31024
  W.stop();
31025
- }, d = (H) => (W, J) => {
31025
+ }, d = (H) => (W, X) => {
31026
31026
  bt(H, (ce) => {
31027
- ce(W, J);
31027
+ ce(W, X);
31028
31028
  });
31029
31029
  }, g = (H, W) => {
31030
- var J;
31030
+ var X;
31031
31031
  if (!yn.isDisabled(H)) {
31032
31032
  const ce = W.event.raw;
31033
- x(H, (J = ce.dataTransfer) === null || J === void 0 ? void 0 : J.files);
31033
+ x(H, (X = ce.dataTransfer) === null || X === void 0 ? void 0 : X.files);
31034
31034
  }
31035
31035
  }, p = (H, W) => {
31036
- const J = W.event.raw.target;
31037
- x(H, J.files);
31036
+ const X = W.event.raw.target;
31037
+ x(H, X.files);
31038
31038
  }, x = (H, W) => {
31039
31039
  W && (Lt.setValue(H, _P(W, s)), ln(H, Ni, { name: t.name }));
31040
31040
  }, C = Xo({
@@ -31255,9 +31255,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31255
31255
  channels: {
31256
31256
  [ay]: {
31257
31257
  onReceive: (H, W) => {
31258
- W.newFocus.each((J) => {
31258
+ W.newFocus.each((X) => {
31259
31259
  Vl(H.element).each((ce) => {
31260
- (Lo(H.element, J) ? Nr : Qs)(ce, "tox-navobj-bordered-focus");
31260
+ (Lo(H.element, X) ? Nr : Qs)(ce, "tox-navobj-bordered-focus");
31261
31261
  });
31262
31262
  });
31263
31263
  }
@@ -31306,9 +31306,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31306
31306
  const R = { url: E.url };
31307
31307
  E.zoom.each((H) => R.zoom = H), E.cachedWidth.each((H) => R.cachedWidth = H), E.cachedHeight.each((H) => R.cachedHeight = H), a.set(R);
31308
31308
  const B = () => {
31309
- const { cachedWidth: H, cachedHeight: W, zoom: J } = R;
31309
+ const { cachedWidth: H, cachedHeight: W, zoom: X } = R;
31310
31310
  if (!Zo(H) && !Zo(W)) {
31311
- if (Zo(J)) {
31311
+ if (Zo(X)) {
31312
31312
  const $e = oH(C.element, H, W);
31313
31313
  R.zoom = $e;
31314
31314
  }
@@ -31320,8 +31320,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31320
31320
  };
31321
31321
  c.getOpt(C).each((H) => {
31322
31322
  const W = H.element;
31323
- E.url !== Ws(W, "src") && (Nt(W, "src", E.url), Qs(C.element, "tox-imagepreview__loaded")), B(), nH(W).then((J) => {
31324
- C.getSystem().isConnected() && (Nr(C.element, "tox-imagepreview__loaded"), R.cachedWidth = J.dom.naturalWidth, R.cachedHeight = J.dom.naturalHeight, B());
31323
+ E.url !== Ws(W, "src") && (Nt(W, "src", E.url), Qs(C.element, "tox-imagepreview__loaded")), B(), nH(W).then((X) => {
31324
+ C.getSystem().isConnected() && (Nr(C.element, "tox-imagepreview__loaded"), R.cachedWidth = X.dom.naturalWidth, R.cachedHeight = X.dom.naturalHeight, B());
31325
31325
  });
31326
31326
  });
31327
31327
  }, p = {};
@@ -31409,8 +31409,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31409
31409
  behaviours: wt([Bn.config({})])
31410
31410
  }), Uu = Ut("update-menu-text"), r1 = Ut("update-menu-icon"), XA = (t, s, a) => {
31411
31411
  const c = dn(fe), d = t.text.map((H) => Xo(MP(H, s, a.providers))), g = t.icon.map((H) => Xo(s1(H, a.providers.icons))), p = (H, W) => {
31412
- const J = Lt.getValue(H);
31413
- return wn.focus(J), ln(J, "keydown", { raw: W.event.raw }), xd.close(J), A.some(!0);
31412
+ const X = Lt.getValue(H);
31413
+ return wn.focus(X), ln(X, "keydown", { raw: W.event.raw }), xd.close(X), A.some(!0);
31414
31414
  }, x = t.role.fold(() => ({}), (H) => ({ role: H })), C = t.tooltip.fold(() => ({}), (H) => {
31415
31415
  const W = a.providers.translate(H);
31416
31416
  return {
@@ -31439,8 +31439,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31439
31439
  ]),
31440
31440
  matchWidth: !0,
31441
31441
  useMinWidth: !0,
31442
- onOpen: (H, W, J) => {
31443
- t.searchable && cF(J);
31442
+ onOpen: (H, W, X) => {
31443
+ t.searchable && cF(X);
31444
31444
  },
31445
31445
  dropdownBehaviours: wt([
31446
31446
  ...t.dropdownBehaviours,
@@ -31455,13 +31455,13 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31455
31455
  Hn(R, [ws((H, W) => qA(H))]),
31456
31456
  Hn("menubutton-update-display-text", [
31457
31457
  Je(Uu, (H, W) => {
31458
- d.bind((J) => J.getOpt(H)).each((J) => {
31459
- Bn.set(J, [Sr(a.providers.translate(W.event.text))]);
31458
+ d.bind((X) => X.getOpt(H)).each((X) => {
31459
+ Bn.set(X, [Sr(a.providers.translate(W.event.text))]);
31460
31460
  });
31461
31461
  }),
31462
31462
  Je(r1, (H, W) => {
31463
- g.bind((J) => J.getOpt(H)).each((J) => {
31464
- Bn.set(J, [s1(W.event.icon, a.providers.icons)]);
31463
+ g.bind((X) => X.getOpt(H)).each((X) => {
31464
+ Bn.set(X, [s1(W.event.icon, a.providers.icons)]);
31465
31465
  });
31466
31466
  })
31467
31467
  ])
@@ -31501,9 +31501,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31501
31501
  ...Fv(!1, t.columns, t.presets),
31502
31502
  fakeFocus: t.searchable,
31503
31503
  onHighlightItem: uA,
31504
- onCollapseMenu: (H, W, J) => {
31505
- Po.getHighlighted(J).each((ce) => {
31506
- uA(H, J, ce);
31504
+ onCollapseMenu: (H, W, X) => {
31505
+ Po.getHighlighted(X).each((ce) => {
31506
+ uA(H, X, ce);
31507
31507
  });
31508
31508
  },
31509
31509
  onDehighlightItem: lF
@@ -31516,7 +31516,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31516
31516
  }),
31517
31517
  fetch: (H) => ec.nu(St(t.fetch, H))
31518
31518
  })).asSpec();
31519
- }, aH = (t) => X(t), PP = (t) => t.type === "separator", lH = (t) => mo(t, "getSubmenuItems"), NP = { type: "separator" }, cH = (t, s) => {
31519
+ }, aH = (t) => J(t), PP = (t) => t.type === "separator", lH = (t) => mo(t, "getSubmenuItems"), NP = { type: "separator" }, cH = (t, s) => {
31520
31520
  const a = Ho(t, (c, d) => aH(d) ? d === "" ? c : d === "|" ? c.length > 0 && !PP(c[c.length - 1]) ? c.concat([NP]) : c : mo(s, d.toLowerCase()) ? c.concat([s[d.toLowerCase()]]) : c : c.concat([d]), []);
31521
31521
  return a.length > 0 && PP(a[a.length - 1]) && a.pop(), a;
31522
31522
  }, BP = (t, s) => {
@@ -31530,7 +31530,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31530
31530
  const s = vt(t, "value").getOrThunk(() => Ut("generated-menu-item"));
31531
31531
  return Uo({ value: s }, t);
31532
31532
  }, IP = (t, s) => {
31533
- const a = cH(X(t) ? t.split(" ") : t, s);
31533
+ const a = cH(J(t) ? t.split(" ") : t, s);
31534
31534
  return ss(a, (c, d) => {
31535
31535
  if (lH(d)) {
31536
31536
  const g = iH(d), p = BP(g, s);
@@ -31949,8 +31949,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31949
31949
  locked: !0,
31950
31950
  markers: { lockClass: "tox-locked" },
31951
31951
  onLockedChange: (B, H, W) => {
31952
- oD(Lt.getValue(B)).each((J) => {
31953
- a(J).each((ce) => {
31952
+ oD(Lt.getValue(B)).each((X) => {
31953
+ a(X).each((ce) => {
31954
31954
  Lt.setValue(H, VP(ce));
31955
31955
  });
31956
31956
  });
@@ -31967,7 +31967,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
31967
31967
  }),
31968
31968
  ka(),
31969
31969
  Hn("size-input-events2", [Je(c, (B, H) => {
31970
- const W = H.event.isField1, J = W ? Li.getField1(B) : Li.getField2(B), ce = W ? Li.getField2(B) : Li.getField1(B), $e = J.map(Lt.getValue).getOr(""), xe = ce.map(Lt.getValue).getOr("");
31970
+ const W = H.event.isField1, X = W ? Li.getField1(B) : Li.getField2(B), ce = W ? Li.getField2(B) : Li.getField1(B), $e = X.map(Lt.getValue).getOr(""), xe = ce.map(Lt.getValue).getOr("");
31971
31971
  a = bH($e, xe);
31972
31972
  })])
31973
31973
  ])
@@ -32069,20 +32069,20 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32069
32069
  execute: (W) => (go(W, Kx), A.some(!0))
32070
32070
  }),
32071
32071
  Hn("textfield-change", [
32072
- Je(Zg(), (W, J) => {
32072
+ Je(Zg(), (W, X) => {
32073
32073
  ln(W, Ni, { name: t.name });
32074
32074
  }),
32075
- Je(Gg(), (W, J) => {
32075
+ Je(Gg(), (W, X) => {
32076
32076
  ln(W, Ni, { name: t.name });
32077
32077
  })
32078
32078
  ]),
32079
32079
  Ys.config({})
32080
32080
  ], d = t.validation.map((W) => zu.config({
32081
- getRoot: (J) => Vl(J.element),
32081
+ getRoot: (X) => Vl(X.element),
32082
32082
  invalidClass: "tox-invalid",
32083
32083
  validator: {
32084
- validate: (J) => {
32085
- const ce = Lt.getValue(J), $e = W.validator(ce);
32084
+ validate: (X) => {
32085
+ const ce = Lt.getValue(X), $e = W.validator(ce);
32086
32086
  return ec.pure($e === !0 ? Ln.value(ce) : Ln.error($e));
32087
32087
  },
32088
32088
  validateOnLoad: W.validateOnLoad
@@ -32381,8 +32381,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32381
32381
  const R = E.event.raw.code === "ArrowLeft", B = E.event.raw.code === "ArrowRight";
32382
32382
  R ? (oi(C.element, ".tox-tree--directory").each((H) => {
32383
32383
  C.getSystem().getByDom(H).each((W) => {
32384
- Ib(H, ".tox-tree--directory__label").each((J) => {
32385
- W.getSystem().getByDom(J).each(wn.focus);
32384
+ Ib(H, ".tox-tree--directory__label").each((X) => {
32385
+ W.getSystem().getByDom(X).each(wn.focus);
32386
32386
  });
32387
32387
  });
32388
32388
  }), E.stop()) : B && E.stop();
@@ -32445,8 +32445,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32445
32445
  E && a && C.stop(), (E || R) && oi(x.element, ".tox-tree--directory").each((B) => {
32446
32446
  x.getSystem().getByDom(B).each((H) => {
32447
32447
  !Gn.isOn(H) && E || Gn.isOn(H) && R ? (p(x), C.stop()) : R && !Gn.isOn(H) && (oi(H.element, ".tox-tree--directory").each((W) => {
32448
- Ib(W, ".tox-tree--directory__label").each((J) => {
32449
- H.getSystem().getByDom(J).each(wn.focus);
32448
+ Ib(W, ".tox-tree--directory__label").each((X) => {
32449
+ H.getSystem().getByDom(X).each(wn.focus);
32450
32450
  });
32451
32451
  }), C.stop());
32452
32452
  });
@@ -32532,19 +32532,19 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32532
32532
  Gn.set(B, R);
32533
32533
  }),
32534
32534
  Je("expand-tree-node", (B, H) => {
32535
- const { expanded: W, node: J } = H.event;
32535
+ const { expanded: W, node: X } = H.event;
32536
32536
  C.set(W ? [
32537
32537
  ...C.get(),
32538
- J
32539
- ] : C.get().filter((ce) => ce !== J));
32538
+ X
32539
+ ] : C.get().filter((ce) => ce !== X));
32540
32540
  })
32541
32541
  ]),
32542
32542
  Gn.config({
32543
32543
  ...t.children.length > 0 ? { aria: { mode: "expanded" } } : {},
32544
32544
  toggleClass: "tox-tree--directory--expanded",
32545
32545
  onToggled: (B, H) => {
32546
- const W = B.components()[1], J = E(H);
32547
- H ? Fi.grow(W) : Fi.shrink(W), Bn.set(W, J);
32546
+ const W = B.components()[1], X = E(H);
32547
+ H ? Fi.grow(W) : Fi.shrink(W), Bn.set(W, X);
32548
32548
  }
32549
32549
  })
32550
32550
  ])
@@ -32677,23 +32677,23 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32677
32677
  }, ck = oe("alloy.typeahead.itemexecute"), rG = (t, s, a, c) => {
32678
32678
  const d = (B, H, W) => {
32679
32679
  t.previewing.set(!1);
32680
- const J = Lr.getCoupled(B, "sandbox");
32681
- if (ho.isOpen(J))
32682
- io.getCurrent(J).each((ce) => {
32680
+ const X = Lr.getCoupled(B, "sandbox");
32681
+ if (ho.isOpen(X))
32682
+ io.getCurrent(X).each((ce) => {
32683
32683
  Po.getHighlighted(ce).fold(() => {
32684
32684
  W(ce);
32685
32685
  }, () => {
32686
- Oy(J, ce.element, "keydown", H);
32686
+ Oy(X, ce.element, "keydown", H);
32687
32687
  });
32688
32688
  });
32689
32689
  else {
32690
32690
  const ce = ($e) => {
32691
32691
  io.getCurrent($e).each(W);
32692
32692
  };
32693
- O_(t, p(B), B, J, c, ce, Bc.HighlightMenuAndItem).get(fe);
32693
+ O_(t, p(B), B, X, c, ce, Bc.HighlightMenuAndItem).get(fe);
32694
32694
  }
32695
32695
  }, g = d3(t), p = (B) => (H) => H.map((W) => {
32696
- const J = Gi(W.menus), ce = _e(J, (xe) => Qn(xe.items, (pe) => pe.type === "item"));
32696
+ const X = Gi(W.menus), ce = _e(X, (xe) => Qn(xe.items, (pe) => pe.type === "item"));
32697
32697
  return Lt.getState(B).update(et(ce, (xe) => xe.data)), W;
32698
32698
  }), x = (B) => io.getCurrent(B), C = "typeaheadevents", E = [
32699
32699
  wn.config({}),
@@ -32748,10 +32748,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32748
32748
  onEnter: (B) => {
32749
32749
  const H = Lr.getCoupled(B, "sandbox"), W = ho.isOpen(H);
32750
32750
  if (W && !t.previewing.get())
32751
- return x(H).bind((J) => Po.getHighlighted(J)).map((J) => (ln(B, ck(), { item: J }), !0));
32751
+ return x(H).bind((X) => Po.getHighlighted(X)).map((X) => (ln(B, ck(), { item: X }), !0));
32752
32752
  {
32753
- const J = Lt.getValue(B);
32754
- return go(B, hb()), t.onExecute(H, B, J), W && ho.close(H), A.some(!0);
32753
+ const X = Lt.getValue(B);
32754
+ return go(B, hb()), t.onExecute(H, B, X), W && ho.close(H), A.some(!0);
32755
32755
  }
32756
32756
  }
32757
32757
  }),
@@ -33005,9 +33005,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33005
33005
  ...R ? ["tox-button--icon-and-text"] : []
33006
33006
  ],
33007
33007
  attributes: C
33008
- }, H = [], W = s.translate(t.text.getOr("")), J = Sr(W), $e = [
33008
+ }, H = [], W = s.translate(t.text.getOr("")), X = Sr(W), $e = [
33009
33009
  ...jv([d.map((pe) => pe.asSpec())]),
33010
- ...t.text.isSome() ? [J] : []
33010
+ ...t.text.isSome() ? [X] : []
33011
33011
  ], xe = ik(x, A.some(g), H, B, $e, s);
33012
33012
  return Ya.sketch(xe);
33013
33013
  }, uk = (t, s, a) => {
@@ -33096,7 +33096,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33096
33096
  });
33097
33097
  return ec.pure(ut);
33098
33098
  },
33099
- getHotspot: (pe) => J.getOpt(pe),
33099
+ getHotspot: (pe) => X.getOpt(pe),
33100
33100
  onSetValue: (pe, Oe) => {
33101
33101
  pe.hasConfigured(zu) && zu.run(pe).get(fe);
33102
33102
  },
@@ -33188,7 +33188,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33188
33188
  classes: ["tox-control-wrap__status-icon-wrap"]
33189
33189
  },
33190
33190
  components: [R.asSpec()]
33191
- }), H = a.getUrlPicker(t.filetype), W = Ut("browser.url.event"), J = Xo({
33191
+ }), H = a.getUrlPicker(t.filetype), W = Ut("browser.url.event"), X = Xo({
33192
33192
  dom: {
33193
33193
  tag: "div",
33194
33194
  classes: ["tox-control-wrap"]
@@ -33212,7 +33212,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33212
33212
  classes: ["tox-form__controls-h-stack"]
33213
33213
  },
33214
33214
  components: Ke([
33215
- [J.asSpec()],
33215
+ [X.asSpec()],
33216
33216
  H.map(() => ce.asSpec()).toArray()
33217
33217
  ])
33218
33218
  }), xe = (pe) => {
@@ -33710,7 +33710,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33710
33710
  }])
33711
33711
  };
33712
33712
  } else if (fV(a) || mV(a) || gV(a)) {
33713
- const d = `custom-${X(a.name) ? a.name : a.title.toLowerCase()}`;
33713
+ const d = `custom-${J(a.name) ? a.name : a.title.toLowerCase()}`;
33714
33714
  return {
33715
33715
  customFormats: s.customFormats.concat([{
33716
33716
  name: d,
@@ -33759,7 +33759,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33759
33759
  getStyleItems: oe(E)
33760
33760
  };
33761
33761
  }, p = (C) => {
33762
- const E = X(C.name) ? C.name : Ut(C.title), R = `custom-${E}`, B = {
33762
+ const E = J(C.name) ? C.name : Ut(C.title), R = `custom-${E}`, B = {
33763
33763
  ...C,
33764
33764
  type: "formatter",
33765
33765
  format: R,
@@ -33816,7 +33816,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33816
33816
  }, _V = (t) => et(Qn(t, zN), CV), _D = (t) => et(Qn(t, SD), SV), UN = (t) => yV("h1,h2,h3,h4,h5,h6,a:not([href])", t), kV = (t) => NN(t.title).length > 0, TV = { find: (t) => {
33817
33817
  const s = UN(t);
33818
33818
  return Qn(_V(s).concat(_D(s)), kV);
33819
- } }, gk = "tinymce-url-history", kD = 5, WN = (t) => X(t) && /^https?/.test(t), hk = (t) => jt(t) && t.length <= kD && vn(t, WN), ZN = (t) => Be(t) && Qo(t, (s) => !hk(s)).isNone(), yw = () => {
33819
+ } }, gk = "tinymce-url-history", kD = 5, WN = (t) => J(t) && /^https?/.test(t), hk = (t) => jt(t) && t.length <= kD && vn(t, WN), ZN = (t) => Be(t) && Qo(t, (s) => !hk(s)).isNone(), yw = () => {
33820
33820
  const t = Yp.getItem(gk);
33821
33821
  if (t === null)
33822
33822
  return {};
@@ -33850,7 +33850,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33850
33850
  return zn(a) ? a ? pk(t) : A.none() : a[s] ? pk(t) : A.none();
33851
33851
  }, DV = (t, s) => GN(t, s).map((a) => (c) => ec.nu((d) => {
33852
33852
  const g = (x, C) => {
33853
- if (!X(x))
33853
+ if (!J(x))
33854
33854
  throw new Error("Expected value to be string");
33855
33855
  if (C !== void 0 && !Be(C))
33856
33856
  throw new Error("Expected meta to be a object");
@@ -33864,7 +33864,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33864
33864
  ...A.from(c.meta).getOr({})
33865
33865
  };
33866
33866
  a.call(t, g, c.value, p);
33867
- })), bk = (t) => A.from(t).filter(X).getOrUndefined(), vk = (t) => K4(t) ? A.some({
33867
+ })), bk = (t) => A.from(t).filter(J).getOrUndefined(), vk = (t) => K4(t) ? A.some({
33868
33868
  targets: TV.find(t.getBody()),
33869
33869
  anchorTop: bk(KS(t)),
33870
33870
  anchorBottom: bk(RR(t))
@@ -33893,11 +33893,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33893
33893
  dialog: R,
33894
33894
  isContextMenuOpen: B,
33895
33895
  setContextMenuState: H
33896
- }, J = {
33896
+ }, X = {
33897
33897
  ...W,
33898
33898
  shared: {
33899
33899
  ...W.shared,
33900
- interpreter: ($e) => wN($e, {}, J),
33900
+ interpreter: ($e) => wN($e, {}, X),
33901
33901
  getSink: t.popup
33902
33902
  }
33903
33903
  }, ce = {
@@ -33909,7 +33909,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33909
33909
  }
33910
33910
  };
33911
33911
  return {
33912
- popup: J,
33912
+ popup: X,
33913
33913
  dialog: ce
33914
33914
  };
33915
33915
  }, qN = (t, s, a) => {
@@ -33931,7 +33931,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33931
33931
  je.raw.button === 0 && d(z2(), { target: je.target });
33932
33932
  }), H = (je) => d(fd(), { target: Te.fromDom(je.target) }), W = (je) => {
33933
33933
  je.button === 0 && d(z2(), { target: Te.fromDom(je.target) });
33934
- }, J = () => {
33934
+ }, X = () => {
33935
33935
  bt(t.editorManager.get(), (je) => {
33936
33936
  t !== je && je.dispatch("DismissPopups", { relatedTarget: t });
33937
33937
  });
@@ -33954,9 +33954,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33954
33954
  d(fd(), { target: Te.fromDom(je.relatedTarget.getContainer()) });
33955
33955
  };
33956
33956
  t.on("PostRender", () => {
33957
- t.on("click", H), t.on("tap", H), t.on("mouseup", W), t.on("mousedown", J), t.on("ScrollWindow", ce), t.on("ResizeWindow", $e), t.on("ResizeEditor", Oe), t.on("AfterProgressState", ut), t.on("DismissPopups", Xe);
33957
+ t.on("click", H), t.on("tap", H), t.on("mouseup", W), t.on("mousedown", X), t.on("ScrollWindow", ce), t.on("ResizeWindow", $e), t.on("ResizeEditor", Oe), t.on("AfterProgressState", ut), t.on("DismissPopups", Xe);
33958
33958
  }), t.on("remove", () => {
33959
- t.off("click", H), t.off("tap", H), t.off("mouseup", W), t.off("mousedown", J), t.off("ScrollWindow", ce), t.off("ResizeWindow", $e), t.off("ResizeEditor", Oe), t.off("AfterProgressState", ut), t.off("DismissPopups", Xe), R.unbind(), x.unbind(), C.unbind(), E.unbind(), B.unbind(), pe.unbind();
33959
+ t.off("click", H), t.off("tap", H), t.off("mouseup", W), t.off("mousedown", X), t.off("ScrollWindow", ce), t.off("ResizeWindow", $e), t.off("ResizeEditor", Oe), t.off("AfterProgressState", ut), t.off("DismissPopups", Xe), R.unbind(), x.unbind(), C.unbind(), E.unbind(), B.unbind(), pe.unbind();
33960
33960
  }), t.on("detach", () => {
33961
33961
  bt([
33962
33962
  s,
@@ -33979,8 +33979,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33979
33979
  p(x).fold(() => {
33980
33980
  throw console.error("Custom List was defined to not be a shell, but no item container was specified in components"), new Error("Custom List was defined to not be a shell, but no item container was specified in components");
33981
33981
  }, (E) => {
33982
- const R = Bn.contents(E), B = C.length, H = B - R.length, W = H > 0 ? ro(H, () => t.makeItem()) : [], J = R.slice(B);
33983
- bt(J, ($e) => Bn.remove(E, $e)), bt(W, ($e) => Bn.append(E, $e));
33982
+ const R = Bn.contents(E), B = C.length, H = B - R.length, W = H > 0 ? ro(H, () => t.makeItem()) : [], X = R.slice(B);
33983
+ bt(X, ($e) => Bn.remove(E, $e)), bt(W, ($e) => Bn.append(E, $e));
33984
33984
  const ce = Bn.contents(E);
33985
33985
  bt(ce, ($e, xe) => {
33986
33986
  t.setupItem(x, $e, C[xe], xe);
@@ -34320,8 +34320,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
34320
34320
  fadeOutClass: "tox-editor-dock-fadeout",
34321
34321
  transitionClass: "tox-editor-dock-transition"
34322
34322
  }, cB = "tox-tinymce--toolbar-sticky-on", iB = "tox-tinymce--toolbar-sticky-off", HD = (t, s) => {
34323
- const a = da(s), d = Fl(s).dom.innerHeight, g = Ga(a), p = Te.fromDom(t.elm), x = rl(p), C = Vs(p), E = x.y, R = E + C, B = wl(s), H = Vs(s), W = B.top, J = W + H, ce = Math.abs(W - g.top) < 2, $e = Math.abs(J - (g.top + d)) < 2;
34324
- if (ce && E < J)
34323
+ const a = da(s), d = Fl(s).dom.innerHeight, g = Ga(a), p = Te.fromDom(t.elm), x = rl(p), C = Vs(p), E = x.y, R = E + C, B = wl(s), H = Vs(s), W = B.top, X = W + H, ce = Math.abs(W - g.top) < 2, $e = Math.abs(X - (g.top + d)) < 2;
34324
+ if (ce && E < X)
34325
34325
  Rg(g.left, E - H, a);
34326
34326
  else if ($e && R > W) {
34327
34327
  const xe = E - d + C + H;
@@ -34386,11 +34386,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
34386
34386
  return A.from(E).map((R) => {
34387
34387
  const B = Gs(Te.fromDom(R));
34388
34388
  return Jp(t, x.element).fold(() => {
34389
- const W = B.height - C, J = B.y + (Ck(x, "top") ? 0 : C);
34390
- return Ps(B.x, J, B.width, W);
34389
+ const W = B.height - C, X = B.y + (Ck(x, "top") ? 0 : C);
34390
+ return Ps(B.x, X, B.width, W);
34391
34391
  }, (W) => {
34392
- const J = Pg(B, Yv(W)), ce = Ck(x, "top") ? J.y : J.y + C;
34393
- return Ps(J.x, ce, J.width, J.height - C);
34392
+ const X = Pg(B, Yv(W)), ce = Ck(x, "top") ? X.y : X.y + C;
34393
+ return Ps(X.x, ce, X.width, X.height - C);
34394
34394
  });
34395
34395
  });
34396
34396
  },
@@ -34608,7 +34608,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
34608
34608
  visible: !1
34609
34609
  });
34610
34610
  }
34611
- }, E = d(p, !1), R = d(C), B = g(R), H = (ce) => B(ce, a()), W = d(x), J = {
34611
+ }, E = d(p, !1), R = d(C), B = g(R), H = (ce) => B(ce, a()), W = d(x), X = {
34612
34612
  getSlotNames: a,
34613
34613
  getSlot: c,
34614
34614
  isShowing: E,
@@ -34621,7 +34621,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
34621
34621
  dom: t.dom,
34622
34622
  components: s,
34623
34623
  behaviours: Ym(t.slotBehaviours),
34624
- apis: J
34624
+ apis: X
34625
34625
  };
34626
34626
  }, Lc = {
34627
34627
  ...qo({
@@ -34699,7 +34699,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
34699
34699
  io.getCurrent(t).each((d) => {
34700
34700
  Bn.set(d, [pz(s)]);
34701
34701
  const g = a == null ? void 0 : a.toLowerCase();
34702
- X(g) && mo(s, g) && io.getCurrent(d).each((p) => {
34702
+ J(g) && mo(s, g) && io.getCurrent(d).each((p) => {
34703
34703
  Lc.showSlot(p, g), Fi.immediateGrow(d), fo(d.element, "width"), kk(t.element, "region");
34704
34704
  });
34705
34705
  });
@@ -35519,14 +35519,14 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
35519
35519
  }, E = mD((c = t.buttonType) !== null && c !== void 0 ? c : "secondary"), R = d ? t.text.map(s.translate) : A.some(s.translate(t.text)), B = R.map(Sr), H = C.tooltip.or(R).map((Oe) => ({
35520
35520
  "aria-label": s.translate(Oe),
35521
35521
  title: s.translate(Oe)
35522
- })).getOr({}), W = g.map((Oe) => Oe.asSpec()), J = jv([
35522
+ })).getOr({}), W = g.map((Oe) => Oe.asSpec()), X = jv([
35523
35523
  W,
35524
35524
  B
35525
35525
  ]), ce = t.icon.isSome() && B.isSome(), $e = {
35526
35526
  tag: "button",
35527
35527
  classes: E.concat(...t.icon.isSome() && !ce ? ["tox-button--icon"] : []).concat(...ce ? ["tox-button--icon-and-text"] : []).concat(...t.borderless ? ["tox-button--naked"] : []).concat(...t.type === "togglebutton" && t.active ? ["tox-button--enabled"] : []),
35528
35528
  attributes: H
35529
- }, xe = [], pe = ik(C, A.some(x), xe, $e, J, s);
35529
+ }, xe = [], pe = ik(C, A.some(x), xe, $e, X, s);
35530
35530
  return Ya.sketch(pe);
35531
35531
  }, nO = (t, s) => Zz(t, s), my = (t, s) => ({
35532
35532
  dom: {
@@ -35662,8 +35662,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
35662
35662
  },
35663
35663
  whichView: (p) => io.getCurrent(p).bind(Ew),
35664
35664
  toggleView: (p, x, C, E) => io.getCurrent(p).exists((R) => {
35665
- const B = Ew(R), H = B.exists((J) => E === J), W = Lc.getSlot(R, E).isSome();
35666
- return W && (Lc.hideAllSlots(R), H ? (rO(p), x()) : (C(), Yz(p), Lc.showSlot(R, E), Jz(R, E)), B.each((J) => Qz(R, J))), W;
35665
+ const B = Ew(R), H = B.exists((X) => E === X), W = Lc.getSlot(R, E).isSome();
35666
+ return W && (Lc.hideAllSlots(R), H ? (rO(p), x()) : (C(), Yz(p), Lc.showSlot(R, E), Jz(R, E)), B.each((X) => Qz(R, X))), W;
35667
35667
  })
35668
35668
  };
35669
35669
  return {
@@ -35990,7 +35990,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
35990
35990
  }, s, t);
35991
35991
  });
35992
35992
  return Qn(p, (x) => {
35993
- const C = (E) => X(E) || E.type !== "separator";
35993
+ const C = (E) => J(E) || E.type !== "separator";
35994
35994
  return x.getItems().length > 0 && dr(x.getItems(), C);
35995
35995
  });
35996
35996
  }, dU = (t) => {
@@ -36002,7 +36002,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36002
36002
  };
36003
36003
  }, mU = (t, s) => () => H3(t, { message: s }), ZB = (t, s, a) => (t.on("remove", () => a.unload(s)), a.load(s)), cO = (t, s, a, c) => (t.on("remove", () => c.unloadRawCss(s)), c.loadRawCss(s, a)), fU = async (t, s) => {
36004
36004
  const c = "ui/" + e_(t).getOr("default") + "/skin.css", d = tinymce.Resource.get(c);
36005
- if (X(d))
36005
+ if (J(d))
36006
36006
  return Promise.resolve(cO(t, c, d, t.ui.styleSheetLoader));
36007
36007
  {
36008
36008
  const g = s + "/skin.min.css";
@@ -36011,7 +36011,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36011
36011
  }, gU = async (t, s) => {
36012
36012
  if (un(Te.fromDom(t.getElement()))) {
36013
36013
  const d = "ui/" + e_(t).getOr("default") + "/skin.shadowdom.css", g = tinymce.Resource.get(d);
36014
- if (X(g))
36014
+ if (J(g))
36015
36015
  return cO(t, d, g, R0.DOM.styleSheetLoader), Promise.resolve();
36016
36016
  {
36017
36017
  const p = s + "/skin.shadowdom.min.css";
@@ -36024,7 +36024,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36024
36024
  c && s.contentCSS.push(c + (t ? "/content.inline" : "/content") + ".min.css");
36025
36025
  }, (c) => {
36026
36026
  const d = "ui/" + c + (t ? "/content.inline" : "/content") + ".css", g = tinymce.Resource.get(d);
36027
- if (X(g))
36027
+ if (J(g))
36028
36028
  cO(s, d, g, s.ui.styleSheetLoader);
36029
36029
  else {
36030
36030
  const p = QS(s);
@@ -36032,7 +36032,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36032
36032
  }
36033
36033
  });
36034
36034
  const a = QS(s);
36035
- if (!J4(s) && X(a))
36035
+ if (!J4(s) && J(a))
36036
36036
  return Promise.all([
36037
36037
  fU(s, a),
36038
36038
  gU(s, a)
@@ -36244,10 +36244,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36244
36244
  return !1;
36245
36245
  }, hO = (t) => {
36246
36246
  const s = () => {
36247
- const C = (J) => J ? s6(J)[0] : "", E = t.queryCommandValue("FontName"), R = x.data, B = E ? E.toLowerCase() : "", H = NR(t);
36247
+ const C = (X) => X ? s6(X)[0] : "", E = t.queryCommandValue("FontName"), R = x.data, B = E ? E.toLowerCase() : "", H = NR(t);
36248
36248
  return {
36249
- matchOpt: qe(R, (J) => {
36250
- const ce = J.format;
36249
+ matchOpt: qe(R, (X) => {
36250
+ const ce = X.format;
36251
36251
  return ce.toLowerCase() === B || C(ce).toLowerCase() === C(B).toLowerCase();
36252
36252
  }).orThunk(() => gn(SU(B, H), {
36253
36253
  title: gO,
@@ -36358,7 +36358,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36358
36358
  a.onAction(je, ut), c.each((zt) => {
36359
36359
  Lt.setValue(zt, je), Oe && (Et.each((En) => zt.element.dom.selectionStart = En), Vn.each((En) => zt.element.dom.selectionEnd = En));
36360
36360
  });
36361
- }, R = (pe, Oe) => E((ut, Xe) => ut - Xe, pe, Oe), B = (pe, Oe) => E((ut, Xe) => ut + Xe, pe, Oe), H = (pe) => Vl(pe.element).fold(A.none, (Oe) => (Rc(Oe), A.some(!0))), W = (pe) => U1(pe.element) ? (hi(pe.element).each((Oe) => Rc(Oe)), A.some(!0)) : A.none(), J = (pe, Oe, ut, Xe) => {
36361
+ }, R = (pe, Oe) => E((ut, Xe) => ut - Xe, pe, Oe), B = (pe, Oe) => E((ut, Xe) => ut + Xe, pe, Oe), H = (pe) => Vl(pe.element).fold(A.none, (Oe) => (Rc(Oe), A.some(!0))), W = (pe) => U1(pe.element) ? (hi(pe.element).each((Oe) => Rc(Oe)), A.some(!0)) : A.none(), X = (pe, Oe, ut, Xe) => {
36362
36362
  const je = dn(fe), yt = s.shared.providers.translate(ut), Et = Ut("altExecuting"), Vn = am(t, "NodeChange SwitchMode", (En) => {
36363
36363
  yn.set(En.getComponent(), !t.selection.isEditable());
36364
36364
  }), zt = (En) => {
@@ -36404,7 +36404,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36404
36404
  ]
36405
36405
  }
36406
36406
  });
36407
- }, ce = Xo(J((pe) => R(!1, pe), "minus", "Decrease font size", [])), $e = Xo(J((pe) => B(!1, pe), "plus", "Increase font size", [])), xe = Xo({
36407
+ }, ce = Xo(X((pe) => R(!1, pe), "minus", "Decrease font size", [])), $e = Xo(X((pe) => B(!1, pe), "plus", "Increase font size", [])), xe = Xo({
36408
36408
  dom: {
36409
36409
  tag: "div",
36410
36410
  classes: ["tox-input-wrapper"]
@@ -36507,7 +36507,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36507
36507
  if (R)
36508
36508
  for (let B = 3; C.isNone() && B >= 0; B--) {
36509
36509
  const H = MU(R, B), W = PU(H);
36510
- C = qe(E, (J) => J.format === R || J.format === H || J.format === W);
36510
+ C = qe(E, (X) => X.format === R || X.format === H || X.format === W);
36511
36511
  }
36512
36512
  return {
36513
36513
  matchOpt: C,
@@ -36715,8 +36715,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36715
36715
  }, C = {
36716
36716
  ...Es([ws((R, B) => {
36717
36717
  Cs(R, t, "aria-descriptor").each((W) => {
36718
- const J = Ut("aria");
36719
- Nt(W.element, "id", J), Nt(R.element, "aria-describedby", J);
36718
+ const X = Ut("aria");
36719
+ Nt(W.element, "id", X), Nt(R.element, "aria-describedby", X);
36720
36720
  });
36721
36721
  })]),
36722
36722
  ...of(A.some(g))
@@ -37093,7 +37093,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37093
37093
  return et(s, (a) => ({ items: a.trim().split(" ") }));
37094
37094
  }, w6 = (t) => mn(t, (s) => mo(s, "name") && mo(s, "items")), eW = (t) => {
37095
37095
  const s = t.toolbar, a = t.buttons;
37096
- return s === !1 ? [] : s === void 0 || s === !0 ? Vk(a) : X(s) ? zk(s) : w6(s) ? s : (console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"), []);
37096
+ return s === !1 ? [] : s === void 0 || s === !0 ? Vk(a) : J(s) ? zk(s) : w6(s) ? s : (console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"), []);
37097
37097
  }, tW = (t, s, a, c, d, g) => vt(s, a.toLowerCase()).orThunk(() => g.bind((p) => Js(p, (x) => vt(s, x + a.toLowerCase())))).fold(() => vt(x6, a.toLowerCase()).map((p) => p(t, d)), (p) => p.type === "grouptoolbarbutton" && !c ? (console.warn(`Ignoring the '${a}' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested.`), A.none()) : Hk(p, d, t)), Uk = (t, s, a, c) => {
37098
37098
  const d = eW(s), g = et(d, (p) => {
37099
37099
  const x = _e(p.items, (C) => C.trim().length === 0 ? [] : tW(t, s.buttons, C, s.allowToolbarGroups, a, c).toArray());
@@ -37105,7 +37105,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37105
37105
  return Qn(g, (p) => p.items.length > 0);
37106
37106
  }, C6 = (t, s, a, c) => {
37107
37107
  const d = s.mainUi.outerContainer, g = a.toolbar, p = a.buttons;
37108
- if (mn(g, X)) {
37108
+ if (mn(g, J)) {
37109
37109
  const x = g.map((C) => {
37110
37110
  const E = {
37111
37111
  toolbar: C,
@@ -37188,7 +37188,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37188
37188
  const ce = t.getWin().innerWidth;
37189
37189
  ce !== x.get() && (W(), x.set(ce));
37190
37190
  });
37191
- const J = {
37191
+ const X = {
37192
37192
  setEnabled: (ce) => {
37193
37193
  h_(s, !ce);
37194
37194
  },
@@ -37197,7 +37197,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37197
37197
  return {
37198
37198
  iframeContainer: B.element.dom,
37199
37199
  editorContainer: C.element.dom,
37200
- api: J
37200
+ api: X
37201
37201
  };
37202
37202
  }
37203
37203
  });
@@ -37211,7 +37211,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37211
37211
  const s = Tx(t), a = U4(t), c = jS(t);
37212
37212
  return vO(s).map((d) => jk(d, a, c));
37213
37213
  }, rW = (t) => E6(t).getOr(Tx(t)), { ToolbarLocation: K0, ToolbarMode: A6 } = wI, aW = 40, lW = (t, s, a, c, d) => {
37214
- const { mainUi: g, uiMotherships: p } = a, x = R0.DOM, C = Iv(t), E = Dx(t), R = jS(t).or(E6(t)), B = c.shared.header, H = B.isPositionedAtTop, W = Pv(t), J = W === A6.sliding || W === A6.floating, ce = dn(!1), $e = () => ce.get() && !t.removed, xe = (hn) => J ? hn.fold(oe(0), (_o) => _o.components().length > 1 ? Vs(_o.components()[1].element) : 0) : 0, pe = (hn) => {
37214
+ const { mainUi: g, uiMotherships: p } = a, x = R0.DOM, C = Iv(t), E = Dx(t), R = jS(t).or(E6(t)), B = c.shared.header, H = B.isPositionedAtTop, W = Pv(t), X = W === A6.sliding || W === A6.floating, ce = dn(!1), $e = () => ce.get() && !t.removed, xe = (hn) => X ? hn.fold(oe(0), (_o) => _o.components().length > 1 ? Vs(_o.components()[1].element) : 0) : 0, pe = (hn) => {
37215
37215
  switch (Ex(t)) {
37216
37216
  case K0.auto:
37217
37217
  const _o = Ds.getToolbar(g.outerContainer), At = xe(_o), Yt = Vs(hn.element) - At, An = Gs(s);
@@ -37284,7 +37284,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37284
37284
  return;
37285
37285
  C || ut();
37286
37286
  const _o = C ? A.none() : Et();
37287
- J && Ds.refreshToolbar(g.outerContainer), C || Xe(_o), E && d.on(hn), yt();
37287
+ X && Ds.refreshToolbar(g.outerContainer), C || Xe(_o), E && d.on(hn), yt();
37288
37288
  }, zt = () => C || !E || !$e() ? !1 : d.get().exists((hn) => {
37289
37289
  const _o = B.getDockingMode(), At = pe(hn);
37290
37290
  return At !== _o ? (Oe(At), !0) : !1;
@@ -37319,11 +37319,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37319
37319
  const { pos: R, bounds: B } = yO(s, a.isPositionedAtTop()), {
37320
37320
  pos: H,
37321
37321
  bounds: W
37322
- } = d.get(), J = B.height !== W.height || B.width !== W.width;
37322
+ } = d.get(), X = B.height !== W.height || B.width !== W.width;
37323
37323
  d.set({
37324
37324
  pos: R,
37325
37325
  bounds: B
37326
- }), J && y_(t, E), a.isVisible() && (H !== R ? a.update(er.reset) : J && (a.updateMode(), a.repositionPopups()));
37326
+ }), X && y_(t, E), a.isVisible() && (H !== R ? a.update(er.reset) : X && (a.updateMode(), a.repositionPopups()));
37327
37327
  };
37328
37328
  c || (t.on("activate", a.show), t.on("deactivate", a.hide)), t.on("SkinLoaded ResizeWindow", () => a.update(er.reset)), t.on("NodeChange keydown", (E) => {
37329
37329
  requestAnimationFrame(() => g(E));
@@ -37532,13 +37532,13 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37532
37532
  }
37533
37533
  }, B6 = (t, s, a, c) => {
37534
37534
  const d = (C) => (E, R, B, H, W) => {
37535
- const J = Kk(t, H, C, a, W), ce = {
37535
+ const X = Kk(t, H, C, a, W), ce = {
37536
37536
  ...E,
37537
37537
  y: W.y,
37538
37538
  height: W.height
37539
37539
  };
37540
37540
  return {
37541
- ...J(ce, R, B, H, W),
37541
+ ...X(ce, R, B, H, W),
37542
37542
  alwaysFit: !0
37543
37543
  };
37544
37544
  }, g = (C) => SO(c) ? [d(C)] : [];
@@ -37744,7 +37744,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37744
37744
  })), B = () => {
37745
37745
  const zt = E.get().getOr("node"), En = SO(zt) ? 1 : 0;
37746
37746
  return CO(t, g, zt, En);
37747
- }, H = () => !t.removed && !(p() && d.isContextMenuOpen()), W = (zt) => Aa(tl(zt, x.get(), Lo), !0), J = () => {
37747
+ }, H = () => !t.removed && !(p() && d.isContextMenuOpen()), W = (zt) => Aa(tl(zt, x.get(), Lo), !0), X = () => {
37748
37748
  if (H()) {
37749
37749
  const zt = B(), En = Aa(E.get(), "node") ? $6(t, x.get()) : Rw(t);
37750
37750
  return zt.height <= 0 || !Y0(En, zt, 0.01);
@@ -37755,7 +37755,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37755
37755
  }, $e = () => {
37756
37756
  if (lr.isOpen(R)) {
37757
37757
  const zt = R.element;
37758
- fo(zt, "display"), J() ? Gt(zt, "display", "none") : (C.set(0), lr.reposition(R));
37758
+ fo(zt, "display"), X() ? Gt(zt, "display", "none") : (C.set(0), lr.reposition(R));
37759
37759
  }
37760
37760
  }, xe = (zt) => ({
37761
37761
  dom: {
@@ -37813,7 +37813,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37813
37813
  classes: [Xk],
37814
37814
  mode: "placement"
37815
37815
  }
37816
- }, () => A.some(B())), En.fold(x.clear, x.set), J() && Gt(_o, "display", "none");
37816
+ }, () => A.some(B())), En.fold(x.clear, x.set), X() && Gt(_o, "display", "none");
37817
37817
  };
37818
37818
  let Et = !1;
37819
37819
  const Vn = J_(() => {
@@ -38317,7 +38317,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
38317
38317
  AO(t), LW(t);
38318
38318
  }, K6 = (t, s) => {
38319
38319
  kW(t), NW(t), AW(t, s), q6(t), iM(t), FW(t), TO(t), EW(t), RW(t);
38320
- }, HW = (t) => X(t) ? t.split(/[ ,]/) : t, Y6 = (t) => (s) => s.options.get(t), DO = (t) => {
38320
+ }, HW = (t) => J(t) ? t.split(/[ ,]/) : t, Y6 = (t) => (s) => s.options.get(t), DO = (t) => {
38321
38321
  const s = t.options.register;
38322
38322
  s("contextmenu_avoid_overlap", {
38323
38323
  processor: "string",
@@ -38329,7 +38329,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
38329
38329
  processor: (a) => a === !1 ? {
38330
38330
  value: [],
38331
38331
  valid: !0
38332
- } : X(a) || mn(a, X) ? {
38332
+ } : J(a) || mn(a, J) ? {
38333
38333
  value: HW(a),
38334
38334
  valid: !0
38335
38335
  } : {
@@ -38489,14 +38489,14 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
38489
38489
  YW(t, s) ? W() : (t.once("selectionchange", W), t.once("touchend", () => t.off("selectionchange", W)));
38490
38490
  } else
38491
38491
  H();
38492
- }, a8 = (t) => X(t) ? t === "|" : t.type === "separator", OO = { type: "separator" }, l8 = (t) => {
38492
+ }, a8 = (t) => J(t) ? t === "|" : t.type === "separator", OO = { type: "separator" }, l8 = (t) => {
38493
38493
  const s = (a) => ({
38494
38494
  text: a.text,
38495
38495
  icon: a.icon,
38496
38496
  enabled: a.enabled,
38497
38497
  shortcut: a.shortcut
38498
38498
  });
38499
- if (X(t))
38499
+ if (J(t))
38500
38500
  return t;
38501
38501
  switch (t.type) {
38502
38502
  case "separator":
@@ -38507,7 +38507,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
38507
38507
  ...s(t),
38508
38508
  getSubmenuItems: () => {
38509
38509
  const c = t.getSubmenuItems();
38510
- return X(c) ? c : et(c, l8);
38510
+ return J(c) ? c : et(c, l8);
38511
38511
  }
38512
38512
  };
38513
38513
  default:
@@ -38526,7 +38526,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
38526
38526
  }, QW = (t, s, a) => {
38527
38527
  const c = Ho(s, (d, g) => vt(t, g.toLowerCase()).map((p) => {
38528
38528
  const x = p.update(a);
38529
- if (X(x) && ca(Vr(x)))
38529
+ if (J(x) && ca(Vr(x)))
38530
38530
  return RO(d, x.split(" "));
38531
38531
  if (jt(x) && x.length > 0) {
38532
38532
  const C = et(x, l8);
@@ -38557,8 +38557,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
38557
38557
  if (X6(t) && C.preventDefault(), eZ(t, C) || zW(t))
38558
38558
  return;
38559
38559
  const E = nZ(t, C), R = () => {
38560
- const H = i8(t, C), W = t.ui.registry.getAll(), J = J6(t);
38561
- return QW(W.contextMenus, J, H);
38560
+ const H = i8(t, C), W = t.ui.registry.getAll(), X = J6(t);
38561
+ return QW(W.contextMenus, X, H);
38562
38562
  };
38563
38563
  (d() ? JW : o8)(t, C, R, a, g, E);
38564
38564
  };
@@ -38659,8 +38659,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
38659
38659
  deltas: A.some(B),
38660
38660
  snap: A.some(E)
38661
38661
  }), (H) => {
38662
- const W = (B.left + B.top) / 2, J = (H.left + H.top) / 2;
38663
- return W <= J ? {
38662
+ const W = (B.left + B.top) / 2, X = (H.left + H.top) / 2;
38663
+ return W <= X ? {
38664
38664
  deltas: A.some(B),
38665
38665
  snap: A.some(E)
38666
38666
  } : C;
@@ -38973,7 +38973,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
38973
38973
  return LO(W.getOpt(s), yt, Et.x, Et.y, Et.width, Et.height);
38974
38974
  }, C = () => et(a.get(), (yt) => x(yt)), E = (yt) => {
38975
38975
  const Et = rl(yt);
38976
- return LO(J.getOpt(s), yt, Et.right, Et.bottom, Et.width, Et.height);
38976
+ return LO(X.getOpt(s), yt, Et.right, Et.bottom, Et.width, Et.height);
38977
38977
  }, R = () => et(c.get(), (yt) => E(yt)), B = FO(C, g, (yt) => {
38978
38978
  p.get().each((Et) => {
38979
38979
  t.dispatch("TableSelectorChange", {
@@ -38988,7 +38988,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
38988
38988
  finish: yt
38989
38989
  });
38990
38990
  });
38991
- }), W = u1(B), J = u1(H), ce = kl(W.asSpec()), $e = kl(J.asSpec()), xe = (yt, Et, Vn, zt) => {
38991
+ }), W = u1(B), X = u1(H), ce = kl(W.asSpec()), $e = kl(X.asSpec()), xe = (yt, Et, Vn, zt) => {
38992
38992
  const En = Et.dom.getBoundingClientRect();
38993
38993
  fo(yt.element, "display");
38994
38994
  const Cn = Fl(Te.fromDom(t.getBody())).dom.innerHeight, Ko = Vn(En), hn = zt(En, Cn);
@@ -39232,12 +39232,12 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
39232
39232
  };
39233
39233
  }, g = () => {
39234
39234
  const x = [], C = JS(t), E = Nv(t), R = X4(t) || t.hasPlugin("wordcount"), B = () => {
39235
- const H = "tox-statusbar__text-container--flex-start", W = "tox-statusbar__text-container--flex-end", J = "tox-statusbar__text-container--space-around";
39235
+ const H = "tox-statusbar__text-container--flex-start", W = "tox-statusbar__text-container--flex-end", X = "tox-statusbar__text-container--space-around";
39236
39236
  if (C) {
39237
39237
  const ce = "tox-statusbar__text-container-3-cols";
39238
39238
  return !R && !E ? [
39239
39239
  ce,
39240
- J
39240
+ X
39241
39241
  ] : R && !E ? [
39242
39242
  ce,
39243
39243
  W
@@ -39270,7 +39270,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
39270
39270
  })()
39271
39271
  };
39272
39272
  }, w8 = (t, s) => s.get().getOrDie(`UI for ${t} has not been rendered`), HZ = (t, s) => {
39273
- const a = t.inline, c = a ? uW : T6, d = Dx(t) ? dB : ww, g = dW(), p = eo(), x = eo(), C = eo(), H = yi().deviceType.isTouch() ? ["tox-platform-touch"] : [], W = e3(t), J = Pv(t), ce = Xo({
39273
+ const a = t.inline, c = a ? uW : T6, d = Dx(t) ? dB : ww, g = dW(), p = eo(), x = eo(), C = eo(), H = yi().deviceType.isTouch() ? ["tox-platform-touch"] : [], W = e3(t), X = Pv(t), ce = Xo({
39274
39274
  dom: {
39275
39275
  tag: "div",
39276
39276
  classes: ["tox-anchorbar"]
@@ -39306,7 +39306,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
39306
39306
  onToolbarToggled: (Ww) => {
39307
39307
  hL(t, Ww);
39308
39308
  },
39309
- type: J,
39309
+ type: X,
39310
39310
  lazyToolbar: je,
39311
39311
  lazyHeader: () => xe().getOrDie("Could not find header element"),
39312
39312
  ...bn
@@ -39319,7 +39319,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
39319
39319
  onEscape: () => {
39320
39320
  t.focus();
39321
39321
  },
39322
- type: J
39322
+ type: X
39323
39323
  }), pl = Ax(t), zi = t_(t), Ed = Bv(t), bm = PR(t), b1 = zt(), rb = pl || zi || Ed, bf = () => pl ? [To] : zi ? [_s] : [], Dh = bm ? [
39324
39324
  b1,
39325
39325
  In
@@ -39487,7 +39487,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
39487
39487
  menus: LR(t),
39488
39488
  menubar: j4(t),
39489
39489
  toolbar: rb.getOrThunk(() => qS(t)),
39490
- allowToolbarGroups: J === gu.floating,
39490
+ allowToolbarGroups: X === gu.floating,
39491
39491
  buttons: pl,
39492
39492
  sidebar: bm,
39493
39493
  views: b1
@@ -39594,7 +39594,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
39594
39594
  ]), zO = (t, s, a, c) => {
39595
39595
  const d = eo(), g = (W) => {
39596
39596
  d.set(W);
39597
- const J = t.lazySink(W).getOrDie(), ce = c.blocker(), $e = J.getSystem().build({
39597
+ const X = t.lazySink(W).getOrDie(), ce = c.blocker(), $e = X.getSystem().build({
39598
39598
  ...ce,
39599
39599
  components: ce.components.concat([Ti(W)]),
39600
39600
  behaviours: wt([
@@ -39604,15 +39604,15 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
39604
39604
  })])
39605
39605
  ])
39606
39606
  });
39607
- Kf(J, $e), cn.focusIn(W);
39607
+ Kf(X, $e), cn.focusIn(W);
39608
39608
  }, p = (W) => {
39609
- d.clear(), ea(W.element).each((J) => {
39610
- W.getSystem().getByDom(J).each((ce) => {
39609
+ d.clear(), ea(W.element).each((X) => {
39610
+ W.getSystem().getByDom(X).each((ce) => {
39611
39611
  Xd(ce);
39612
39612
  });
39613
39613
  });
39614
- }, x = (W) => Jm(W, t, "body"), C = (W) => Cs(W, t, "footer"), E = (W, J) => {
39615
- mm.block(W, J);
39614
+ }, x = (W) => Jm(W, t, "body"), C = (W) => Cs(W, t, "footer"), E = (W, X) => {
39615
+ mm.block(W, X);
39616
39616
  }, R = (W) => {
39617
39617
  mm.unblock(W);
39618
39618
  }, B = Ut("modal-events"), H = {
@@ -39936,7 +39936,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
39936
39936
  oa("onCancel", fe),
39937
39937
  oa("onClose", fe),
39938
39938
  oa("onMessage", fe)
39939
- ]), xt = (t) => qs("dialog", rt, t), It = (t) => Be(t) ? [t].concat(_e(Gi(t), It)) : jt(t) ? _e(t, It) : [], We = (t) => X(t.type) && X(t.name), Ve = {
39939
+ ]), xt = (t) => qs("dialog", rt, t), It = (t) => Be(t) ? [t].concat(_e(Gi(t), It)) : jt(t) ? _e(t, It) : [], We = (t) => J(t.type) && J(t.name), Ve = {
39940
39940
  checkbox: E8,
39941
39941
  colorinput: JZ,
39942
39942
  colorpicker: tj,
@@ -40809,12 +40809,12 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40809
40809
  p.onChange(g, { name: x.name });
40810
40810
  }),
40811
40811
  c(ug, (g, p, x, C) => {
40812
- const E = () => C.getSystem().isConnected() ? cn.focusIn(C) : void 0, R = (W) => Y(W, "disabled") || I(W, "aria-disabled").exists((J) => J === "true"), B = Ne(C.element), H = qd(B);
40812
+ const E = () => C.getSystem().isConnected() ? cn.focusIn(C) : void 0, R = (W) => Y(W, "disabled") || I(W, "aria-disabled").exists((X) => X === "true"), B = Ne(C.element), H = qd(B);
40813
40813
  p.onAction(g, {
40814
40814
  name: x.name,
40815
40815
  value: x.value
40816
40816
  }), qd(B).fold(E, (W) => {
40817
- R(W) || H.exists((J) => Or(W, J) && R(J)) ? E() : a().toOptional().filter((J) => !Or(J.element, W)).each(E);
40817
+ R(W) || H.exists((X) => Or(W, X) && R(X)) ? E() : a().toOptional().filter((X) => !Or(X.element, W)).each(E);
40818
40818
  });
40819
40819
  }),
40820
40820
  c(PM, (g, p, x) => {
@@ -40875,54 +40875,54 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40875
40875
  const a = t.getRoot();
40876
40876
  return Zn.getState(a).get().map((c) => ls(qs("data", c.dataValidator, s))).getOr(s);
40877
40877
  }, bT = (t, s, a) => {
40878
- const c = (J) => {
40878
+ const c = (X) => {
40879
40879
  const ce = t.getRoot();
40880
- ce.getSystem().isConnected() && J(ce);
40880
+ ce.getSystem().isConnected() && X(ce);
40881
40881
  }, W = {
40882
40882
  getData: () => {
40883
- const J = t.getRoot(), ce = J.getSystem().isConnected() ? t.getFormWrapper() : J, $e = Lt.getValue(ce), xe = qo(a, (pe) => pe.get());
40883
+ const X = t.getRoot(), ce = X.getSystem().isConnected() ? t.getFormWrapper() : X, $e = Lt.getValue(ce), xe = qo(a, (pe) => pe.get());
40884
40884
  return {
40885
40885
  ...$e,
40886
40886
  ...xe
40887
40887
  };
40888
40888
  },
40889
- setData: (J) => {
40889
+ setData: (X) => {
40890
40890
  c((ce) => {
40891
- const $e = W.getData(), xe = Uo($e, J), pe = pm(t, xe), Oe = t.getFormWrapper();
40891
+ const $e = W.getData(), xe = Uo($e, X), pe = pm(t, xe), Oe = t.getFormWrapper();
40892
40892
  Lt.setValue(Oe, pe), us(a, (ut, Xe) => {
40893
40893
  mo(xe, Xe) && ut.set(xe[Xe]);
40894
40894
  });
40895
40895
  });
40896
40896
  },
40897
- setEnabled: (J, ce) => {
40898
- Ha(t, J).each(ce ? yn.enable : yn.disable);
40897
+ setEnabled: (X, ce) => {
40898
+ Ha(t, X).each(ce ? yn.enable : yn.disable);
40899
40899
  },
40900
- focus: (J) => {
40901
- Ha(t, J).each(wn.focus);
40900
+ focus: (X) => {
40901
+ Ha(t, X).each(wn.focus);
40902
40902
  },
40903
- block: (J) => {
40904
- if (!X(J))
40903
+ block: (X) => {
40904
+ if (!J(X))
40905
40905
  throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
40906
40906
  c((ce) => {
40907
- ln(ce, fA, { message: J });
40907
+ ln(ce, fA, { message: X });
40908
40908
  });
40909
40909
  },
40910
40910
  unblock: () => {
40911
- c((J) => {
40912
- go(J, gA);
40911
+ c((X) => {
40912
+ go(X, gA);
40913
40913
  });
40914
40914
  },
40915
- showTab: (J) => {
40915
+ showTab: (X) => {
40916
40916
  c((ce) => {
40917
40917
  const $e = t.getBody();
40918
40918
  Zn.getState($e).get().exists((pe) => pe.isTabPanel()) && io.getCurrent($e).each((pe) => {
40919
- Xs.showTab(pe, J);
40919
+ Xs.showTab(pe, X);
40920
40920
  });
40921
40921
  });
40922
40922
  },
40923
- redial: (J) => {
40923
+ redial: (X) => {
40924
40924
  c((ce) => {
40925
- const $e = t.getId(), xe = s(J), pe = pT(xe.internalDialog.buttons, a);
40925
+ const $e = t.getId(), xe = s(X), pe = pT(xe.internalDialog.buttons, a);
40926
40926
  ce.getSystem().broadcastOn([`${ry}-${$e}`], xe), ce.getSystem().broadcastOn([`${fg}-${$e}`], xe.internalDialog), ce.getSystem().broadcastOn([`${Q_}-${$e}`], xe.internalDialog), ce.getSystem().broadcastOn([`${WA}-${$e}`], {
40927
40927
  ...xe.internalDialog,
40928
40928
  buttons: pe
@@ -40930,8 +40930,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40930
40930
  });
40931
40931
  },
40932
40932
  close: () => {
40933
- c((J) => {
40934
- go(J, Xv);
40933
+ c((X) => {
40934
+ go(X, Xv);
40935
40935
  });
40936
40936
  },
40937
40937
  toggleFullscreen: t.toggleFullscreen
@@ -40941,7 +40941,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40941
40941
  const c = Ut("dialog"), d = t.internalDialog, g = _t(d.title, c, a), p = dn(d.size), x = Ja(p.get()).toArray(), C = (pe, Oe) => (p.set(Oe.internalDialog.size), p1(Oe.internalDialog.size, pe), A.some(Oe)), E = Hw({
40942
40942
  body: d.body,
40943
40943
  initialData: d.initialData
40944
- }, c, a), R = pT(d.buttons), B = KO(R), H = gn(R.length !== 0, Td({ buttons: R }, c, a)), W = to(() => xe, sn(() => ce, a.shared.providers, s), a.shared.getSink), J = {
40944
+ }, c, a), R = pT(d.buttons), B = KO(R), H = gn(R.length !== 0, Td({ buttons: R }, c, a)), W = to(() => xe, sn(() => ce, a.shared.providers, s), a.shared.getSink), X = {
40945
40945
  id: c,
40946
40946
  header: g,
40947
40947
  body: E,
@@ -40953,7 +40953,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40953
40953
  initialData: t
40954
40954
  })],
40955
40955
  extraStyles: {}
40956
- }, ce = qO(J, W, a), $e = (() => {
40956
+ }, ce = qO(X, W, a), $e = (() => {
40957
40957
  const pe = () => {
40958
40958
  const ut = Gr.getBody(ce);
40959
40959
  return io.getCurrent(ut).getOr(ut);
@@ -40980,7 +40980,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40980
40980
  }, g, p, a.shared.providers)), W = Xo(vg({
40981
40981
  body: C.body,
40982
40982
  initialData: C.initialData
40983
- }, g, x, a, c)), J = pT(C.buttons), ce = KO(J), $e = gn(J.length !== 0, Xo(Fc({ buttons: J }, g, a))), xe = to(() => Xe, {
40983
+ }, g, x, a, c)), X = pT(C.buttons), ce = KO(X), $e = gn(X.length !== 0, Xo(Fc({ buttons: X }, g, a))), xe = to(() => Xe, {
40984
40984
  onBlock: (je) => {
40985
40985
  mm.block(Oe, (yt, Et) => {
40986
40986
  const Vn = H.getOpt(Oe).map((zt) => Vs(zt.element));
@@ -41070,7 +41070,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41070
41070
  };
41071
41071
  return {
41072
41072
  block: (p) => {
41073
- if (!X(p))
41073
+ if (!J(p))
41074
41074
  throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
41075
41075
  s((x) => {
41076
41076
  ln(x, fA, { message: p });
@@ -41131,10 +41131,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41131
41131
  width: Oe + "px",
41132
41132
  "max-width": Oe + "px"
41133
41133
  }))
41134
- }, R = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], B = new I8(t.url, { base_uri: new I8(window.location.href) }), H = `${B.protocol}://${B.host}${B.port ? ":" + B.port : ""}`, W = Zm(), J = (Oe, ut) => A.some(ut), ce = [
41134
+ }, R = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], B = new I8(t.url, { base_uri: new I8(window.location.href) }), H = `${B.protocol}://${B.host}${B.port ? ":" + B.port : ""}`, W = Zm(), X = (Oe, ut) => A.some(ut), ce = [
41135
41135
  Zn.config({
41136
41136
  channel: `${ry}-${d}`,
41137
- updateState: J,
41137
+ updateState: X,
41138
41138
  initialData: t
41139
41139
  }),
41140
41140
  Hn("messages", [
@@ -41265,17 +41265,17 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41265
41265
  optScrollEnv: A.none()
41266
41266
  }))
41267
41267
  })], gq = (t) => {
41268
- const s = t.editor, a = Dx(s), c = dq(t.backstages.dialog), d = mq(t.backstages.dialog), g = (J, ce, $e) => {
41268
+ const s = t.editor, a = Dx(s), c = dq(t.backstages.dialog), d = mq(t.backstages.dialog), g = (X, ce, $e) => {
41269
41269
  if (!Zo(ce)) {
41270
41270
  if (ce.inline === "toolbar")
41271
- return E(J, t.backstages.popup.shared.anchors.inlineDialog(), $e, ce);
41271
+ return E(X, t.backstages.popup.shared.anchors.inlineDialog(), $e, ce);
41272
41272
  if (ce.inline === "bottom")
41273
- return R(J, t.backstages.popup.shared.anchors.inlineBottomDialog(), $e, ce);
41273
+ return R(X, t.backstages.popup.shared.anchors.inlineBottomDialog(), $e, ce);
41274
41274
  if (ce.inline === "cursor")
41275
- return E(J, t.backstages.popup.shared.anchors.cursor(), $e, ce);
41275
+ return E(X, t.backstages.popup.shared.anchors.cursor(), $e, ce);
41276
41276
  }
41277
- return C(J, $e);
41278
- }, p = (J, ce) => x(J, ce), x = (J, ce) => {
41277
+ return C(X, $e);
41278
+ }, p = (X, ce) => x(X, ce), x = (X, ce) => {
41279
41279
  const $e = (xe) => {
41280
41280
  const pe = uq(xe, {
41281
41281
  closeWindow: () => {
@@ -41284,8 +41284,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41284
41284
  }, s, t.backstages.dialog);
41285
41285
  return Gr.show(pe.dialog), pe.instanceApi;
41286
41286
  };
41287
- return Wn.openUrl($e, J);
41288
- }, C = (J, ce) => {
41287
+ return Wn.openUrl($e, X);
41288
+ }, C = (X, ce) => {
41289
41289
  const $e = (xe, pe, Oe) => {
41290
41290
  const ut = pe, je = yj({
41291
41291
  dataValidator: Oe,
@@ -41299,8 +41299,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41299
41299
  }, t.backstages.dialog);
41300
41300
  return Gr.show(je.dialog), je.instanceApi.setData(ut), je.instanceApi;
41301
41301
  };
41302
- return Wn.open($e, J);
41303
- }, E = (J, ce, $e, xe) => {
41302
+ return Wn.open($e, X);
41303
+ }, E = (X, ce, $e, xe) => {
41304
41304
  const pe = (Oe, ut, Xe) => {
41305
41305
  const je = $G(ut, Xe), yt = eo(), Et = t.backstages.popup.shared.header.isPositionedAtTop(), Vn = {
41306
41306
  dataValidator: Xe,
@@ -41336,8 +41336,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41336
41336
  };
41337
41337
  return lr.showWithinBounds(Cn, Ti(En.dialog), { anchor: ce }, Ko), (!a || !Et) && (er.refresh(Cn), s.on("ResizeEditor", zt)), En.instanceApi.setData(je), cn.focusIn(En.dialog), En.instanceApi;
41338
41338
  };
41339
- return Wn.open(pe, J);
41340
- }, R = (J, ce, $e, xe) => {
41339
+ return Wn.open(pe, X);
41340
+ }, R = (X, ce, $e, xe) => {
41341
41341
  const pe = (Oe, ut, Xe) => {
41342
41342
  const je = $G(ut, Xe), yt = eo(), Et = t.backstages.popup.shared.header.isPositionedAtTop(), Vn = {
41343
41343
  dataValidator: Xe,
@@ -41394,19 +41394,19 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41394
41394
  });
41395
41395
  return lr.showWithinBounds(Cn, Ti(En.dialog), { anchor: ce }, Ko), er.refresh(Cn), s.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", zt), En.instanceApi.setData(je), cn.focusIn(En.dialog), En.instanceApi;
41396
41396
  };
41397
- return Wn.open(pe, J);
41397
+ return Wn.open(pe, X);
41398
41398
  };
41399
41399
  return {
41400
41400
  open: g,
41401
41401
  openUrl: p,
41402
- alert: (J, ce) => {
41403
- c.open(J, ce);
41402
+ alert: (X, ce) => {
41403
+ c.open(X, ce);
41404
41404
  },
41405
- close: (J) => {
41406
- J.close();
41405
+ close: (X) => {
41406
+ X.close();
41407
41407
  },
41408
- confirm: (J, ce) => {
41409
- d.open(J, ce);
41408
+ confirm: (X, ce) => {
41409
+ d.open(X, ce);
41410
41410
  }
41411
41411
  };
41412
41412
  }, hq = (t) => {
@@ -41451,7 +41451,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41451
41451
  }, se = (i) => {
41452
41452
  const m = typeof i;
41453
41453
  return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && me(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
41454
- }, Ee = (i) => (m) => se(m) === i, he = (i) => (m) => typeof m === i, K = (i) => (m) => i === m, De = Ee("string"), X = Ee("object"), Be = Ee("array"), ft = K(null), jt = he("boolean"), xn = K(void 0), zn = (i) => i == null, Zo = (i) => !zn(i), ir = he("function"), No = he("number"), Pt = () => {
41454
+ }, Ee = (i) => (m) => se(m) === i, he = (i) => (m) => typeof m === i, K = (i) => (m) => i === m, De = Ee("string"), J = Ee("object"), Be = Ee("array"), ft = K(null), jt = he("boolean"), xn = K(void 0), zn = (i) => i == null, Zo = (i) => !zn(i), ir = he("function"), No = he("number"), Pt = () => {
41455
41455
  }, ur = (i, m) => (...h) => i(m.apply(null, h)), mn = (i, m) => (h) => i(m(h)), fe = (i) => () => i, Tt = (i) => i, Ea = (i, m) => i === m;
41456
41456
  function Xn(i, ...m) {
41457
41457
  return (...h) => {
@@ -41683,7 +41683,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41683
41683
  return h;
41684
41684
  }, Qo = Object.getPrototypeOf, Gi = (i) => di("HTMLElement", i), vt = (i) => {
41685
41685
  const m = yr("ownerDocument.defaultView", i);
41686
- return X(i) && (Gi(m).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(Qo(i).constructor.name));
41686
+ return J(i) && (Gi(m).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(Qo(i).constructor.name));
41687
41687
  }, mo = 8, Er = 9, Aa = 11, Nl = 1, Da = 3, es = (i) => i.dom.nodeName.toLowerCase(), tl = (i) => i.dom.nodeType, bl = (i) => (m) => tl(m) === i, Yo = (i) => tl(i) === mo || es(i) === "#comment", gn = (i) => Ar(i) && vt(i.dom), Ar = bl(Nl), Bl = bl(Da), Hc = bl(Er), mi = bl(Aa), xr = (i) => (m) => Ar(m) && es(m) === i, mr = (i, m, h) => {
41688
41688
  if (De(h) || jt(h) || No(h))
41689
41689
  i.setAttribute(m, h + "");
@@ -44403,7 +44403,7 @@ Required: ` + m.join(", "));
44403
44403
  BC(i, Jt.rows, Jt.columns, Jt.options);
44404
44404
  }), i.addCommand("mceTableApplyCellStyle", (Ye, Jt) => {
44405
44405
  const kn = (_a) => "tablecell" + _a.toLowerCase().replace("-", "");
44406
- if (!X(Jt))
44406
+ if (!J(Jt))
44407
44407
  return;
44408
44408
  const Un = ro(iu(i), vb);
44409
44409
  if (Un.length === 0)
@@ -45694,7 +45694,7 @@ Required: ` + m.join(", "));
45694
45694
  }, se = (S) => {
45695
45695
  const $ = typeof S;
45696
45696
  return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && me(S, String, (U, ae) => ae.isPrototypeOf(U)) ? "string" : $;
45697
- }, Ee = (S) => ($) => se($) === S, he = (S) => ($) => typeof $ === S, K = Ee("string"), De = Ee("object"), X = Ee("array"), Be = he("boolean"), ft = (S) => S == null, jt = (S) => !ft(S), xn = he("function"), zn = he("number"), Zo = () => {
45697
+ }, Ee = (S) => ($) => se($) === S, he = (S) => ($) => typeof $ === S, K = Ee("string"), De = Ee("object"), J = Ee("array"), Be = he("boolean"), ft = (S) => S == null, jt = (S) => !ft(S), xn = he("function"), zn = he("number"), Zo = () => {
45698
45698
  }, ir = (S, $) => (U) => S($(U)), No = (S) => () => S, Pt = (S, $) => S === $;
45699
45699
  function ur(S, ...$) {
45700
45700
  return (...U) => {
@@ -45827,7 +45827,7 @@ Required: ` + m.join(", "));
45827
45827
  }, Xt = (S, $) => A(S, $, fe), nt = (S) => {
45828
45828
  const $ = [];
45829
45829
  for (let U = 0, ae = S.length; U < ae; ++U) {
45830
- if (!X(S[U]))
45830
+ if (!J(S[U]))
45831
45831
  throw new Error("Arr.flatten item " + U + " was not an array, input: " + S);
45832
45832
  oe.apply($, S[U]);
45833
45833
  }
@@ -46842,7 +46842,7 @@ Required: ` + m.join(", "));
46842
46842
  }, se = (j) => {
46843
46843
  const de = typeof j;
46844
46844
  return j === null ? "null" : de === "object" && Array.isArray(j) ? "array" : de === "object" && me(j, String, (ke, Ne) => Ne.isPrototypeOf(ke)) ? "string" : de;
46845
- }, Ee = (j) => (de) => se(de) === j, he = (j) => (de) => typeof de === j, K = (j) => (de) => j === de, De = Ee("string"), X = Ee("object"), Be = Ee("array"), ft = K(null), jt = he("boolean"), xn = (j) => j == null, zn = (j) => !xn(j), Zo = he("function"), ir = (j, de) => {
46845
+ }, Ee = (j) => (de) => se(de) === j, he = (j) => (de) => typeof de === j, K = (j) => (de) => j === de, De = Ee("string"), J = Ee("object"), Be = Ee("array"), ft = K(null), jt = he("boolean"), xn = (j) => j == null, zn = (j) => !xn(j), Zo = he("function"), ir = (j, de) => {
46846
46846
  if (Be(j)) {
46847
46847
  for (let ke = 0, Ne = j.length; ke < Ne; ++ke)
46848
46848
  if (!de(j[ke]))
@@ -46982,11 +46982,11 @@ Required: ` + m.join(", "));
46982
46982
  }), de("link_context_toolbar", {
46983
46983
  processor: "boolean",
46984
46984
  default: !1
46985
- }), de("link_list", { processor: (ke) => De(ke) || Zo(ke) || ir(ke, X) }), de("link_default_target", { processor: "string" }), de("link_default_protocol", {
46985
+ }), de("link_list", { processor: (ke) => De(ke) || Zo(ke) || ir(ke, J) }), de("link_default_target", { processor: "string" }), de("link_default_protocol", {
46986
46986
  processor: "string",
46987
46987
  default: "https"
46988
46988
  }), de("link_target_list", {
46989
- processor: (ke) => jt(ke) || ir(ke, X),
46989
+ processor: (ke) => jt(ke) || ir(ke, J),
46990
46990
  default: !0
46991
46991
  }), de("link_rel_list", {
46992
46992
  processor: "object[]",
@@ -47599,7 +47599,7 @@ Required: ` + m.join(", "));
47599
47599
  }, Ee = (I) => {
47600
47600
  const Y = typeof I;
47601
47601
  return I === null ? "null" : Y === "object" && Array.isArray(I) ? "array" : Y === "object" && se(I, String, (re, Le) => Le.isPrototypeOf(re)) ? "string" : Y;
47602
- }, he = (I) => (Y) => Ee(Y) === I, K = (I) => (Y) => typeof Y === I, De = (I) => (Y) => I === Y, X = (I, Y) => ft(I) && se(I, Y, (re, Le) => me(re) === Le), Be = he("string"), ft = he("object"), jt = (I) => X(I, Object), xn = he("array"), zn = De(null), Zo = K("boolean"), ir = (I) => I == null, No = (I) => !ir(I), Pt = K("function"), ur = K("number"), mn = (I, Y) => {
47602
+ }, he = (I) => (Y) => Ee(Y) === I, K = (I) => (Y) => typeof Y === I, De = (I) => (Y) => I === Y, J = (I, Y) => ft(I) && se(I, Y, (re, Le) => me(re) === Le), Be = he("string"), ft = he("object"), jt = (I) => J(I, Object), xn = he("array"), zn = De(null), Zo = K("boolean"), ir = (I) => I == null, No = (I) => !ir(I), Pt = K("function"), ur = K("number"), mn = (I, Y) => {
47603
47603
  if (xn(I)) {
47604
47604
  for (let re = 0, Le = I.length; re < Le; ++re)
47605
47605
  if (!Y(I[re]))
@@ -48468,7 +48468,7 @@ Required: ` + m.join(", "));
48468
48468
  }, se = (w) => {
48469
48469
  const T = typeof w;
48470
48470
  return w === null ? "null" : T === "object" && Array.isArray(w) ? "array" : T === "object" && me(w, String, (V, q) => q.isPrototypeOf(V)) ? "string" : T;
48471
- }, Ee = (w) => (T) => se(T) === w, he = (w) => (T) => typeof T === w, K = (w) => (T) => w === T, De = Ee("string"), X = Ee("array"), Be = he("boolean"), ft = K(void 0), jt = (w) => w == null, xn = (w) => !jt(w), zn = he("function"), Zo = he("number"), ir = () => {
48471
+ }, Ee = (w) => (T) => se(T) === w, he = (w) => (T) => typeof T === w, K = (w) => (T) => w === T, De = Ee("string"), J = Ee("array"), Be = he("boolean"), ft = K(void 0), jt = (w) => w == null, xn = (w) => !jt(w), zn = he("function"), Zo = he("number"), ir = () => {
48472
48472
  }, No = (w, T) => (V) => w(T(V)), Pt = (w) => () => w, ur = (w) => w, mn = (w, T) => w === T;
48473
48473
  function fe(w, ...T) {
48474
48474
  return (...V) => {
@@ -48637,7 +48637,7 @@ Required: ` + m.join(", "));
48637
48637
  }, Dt = (w, T) => qe(w, T, Ea), Ke = (w) => {
48638
48638
  const T = [];
48639
48639
  for (let V = 0, q = w.length; V < q; ++V) {
48640
- if (!X(w[V]))
48640
+ if (!J(w[V]))
48641
48641
  throw new Error("Arr.flatten item " + V + " was not an array, input: " + w);
48642
48642
  jo.apply(T, w[V]);
48643
48643
  }
@@ -49558,7 +49558,7 @@ Required: ` + m.join(", "));
49558
49558
  return nr(be.length > 0, be);
49559
49559
  }, _n = (w, T) => T.mergable, pn = (w, T) => T.unmergable, zs = (w, T) => Dn(w, T, Xn), na = (w, T) => qt(w, T).exists((V) => !V.isLocked), Ul = (w, T) => vn(T, (V) => na(w, V)), ou = (w, T) => _n(w, T).filter((V) => Ul(w, V.cells)), pa = (w, T) => pn(w, T).filter((V) => Ul(w, V));
49560
49560
  ({ ...{ generate: (w) => {
49561
- if (!X(w))
49561
+ if (!J(w))
49562
49562
  throw new Error("cases must be an array");
49563
49563
  if (w.length === 0)
49564
49564
  throw new Error("there must be at least one case");
@@ -49572,7 +49572,7 @@ Required: ` + m.join(", "));
49572
49572
  throw new Error("duplicate key detected:" + gt);
49573
49573
  if (gt === "cata")
49574
49574
  throw new Error("cannot have a case named cata (sorry)");
49575
- if (!X(Rt))
49575
+ if (!J(Rt))
49576
49576
  throw new Error("case arguments must be an array");
49577
49577
  T.push(gt), V[gt] = (...on) => {
49578
49578
  const Fn = on.length;
@@ -50627,13 +50627,13 @@ Required: ` + T.join(", "));
50627
50627
  })();
50628
50628
  (function() {
50629
50629
  var O = tinymce.util.Tools.resolve("tinymce.PluginManager");
50630
- const me = (X, Be) => {
50631
- X.focus(), X.undoManager.transact(() => {
50632
- X.setContent(Be);
50633
- }), X.selection.setCursorLocation(), X.nodeChanged();
50634
- }, se = (X) => X.getContent({ source_view: !0 }), Ee = (X) => {
50635
- const Be = se(X);
50636
- X.windowManager.open({
50630
+ const me = (J, Be) => {
50631
+ J.focus(), J.undoManager.transact(() => {
50632
+ J.setContent(Be);
50633
+ }), J.selection.setCursorLocation(), J.nodeChanged();
50634
+ }, se = (J) => J.getContent({ source_view: !0 }), Ee = (J) => {
50635
+ const Be = se(J);
50636
+ J.windowManager.open({
50637
50637
  title: "Source Code",
50638
50638
  size: "large",
50639
50639
  body: {
@@ -50658,27 +50658,27 @@ Required: ` + T.join(", "));
50658
50658
  ],
50659
50659
  initialData: { code: Be },
50660
50660
  onSubmit: (ft) => {
50661
- me(X, ft.getData().code), ft.close();
50661
+ me(J, ft.getData().code), ft.close();
50662
50662
  }
50663
50663
  });
50664
- }, he = (X) => {
50665
- X.addCommand("mceCodeEditor", () => {
50666
- Ee(X);
50664
+ }, he = (J) => {
50665
+ J.addCommand("mceCodeEditor", () => {
50666
+ Ee(J);
50667
50667
  });
50668
- }, K = (X) => {
50669
- const Be = () => X.execCommand("mceCodeEditor");
50670
- X.ui.registry.addButton("code", {
50668
+ }, K = (J) => {
50669
+ const Be = () => J.execCommand("mceCodeEditor");
50670
+ J.ui.registry.addButton("code", {
50671
50671
  icon: "sourcecode",
50672
50672
  tooltip: "Source code",
50673
50673
  onAction: Be
50674
- }), X.ui.registry.addMenuItem("code", {
50674
+ }), J.ui.registry.addMenuItem("code", {
50675
50675
  icon: "sourcecode",
50676
50676
  text: "Source code",
50677
50677
  onAction: Be
50678
50678
  });
50679
50679
  };
50680
50680
  var De = () => {
50681
- O.add("code", (X) => (he(X), K(X), {}));
50681
+ O.add("code", (J) => (he(J), K(J), {}));
50682
50682
  };
50683
50683
  De();
50684
50684
  })();
@@ -50705,7 +50705,7 @@ Required: ` + T.join(", "));
50705
50705
  katakana: "[〱-〵゛゜゠-ヺー-ヿㇰ-ㇿ㋐-㋾㌀-㍗ヲ-ン]",
50706
50706
  extendnumlet: "[=_‿⁀⁔︳︴﹍-﹏_∀-⋿<>]",
50707
50707
  punctuation: "[~№|!-*+-\\/:;?@\\[-`{}¡«·»¿;·՚-՟։֊־׀׃׆׳״؉؊،؍؛؞؟٪-٭۔܀-܍߷-߹࠰-࠾࡞।॥॰෴๏๚๛༄-༒༺-༽྅࿐-࿔࿙࿚၊-၏჻፡-፨᐀᙭᙮᚛᚜᛫-᛭᜵᜶។-៖៘-៚᠀-᠊᥄᥅᨞᨟᪠-᪦᪨-᪭᭚-᭠᯼-᯿᰻-᰿᱾᱿᳓‐-‧‰-⁃⁅-⁑⁓-⁞⁽⁾₍₎〈〉❨-❵⟅⟆⟦-⟯⦃-⦘⧘-⧛⧼⧽⳹-⳼⳾⳿⵰⸀-⸮⸰⸱、-〃〈-】〔-〟〰〽゠・꓾꓿꘍-꘏꙳꙾꛲-꛷꡴-꡷꣎꣏꣸-꣺꤮꤯꥟꧁-꧍꧞꧟꩜-꩟꫞꫟꯫﴾﴿︐-︙︰-﹒﹔-﹡﹣﹨﹪﹫!-#%-*,-/:;?@[-]_{}⦅-・]"
50708
- }, X = {
50708
+ }, J = {
50709
50709
  ALETTER: 0,
50710
50710
  MIDNUMLET: 1,
50711
50711
  MIDLETTER: 2,
@@ -50734,7 +50734,7 @@ Required: ` + T.join(", "));
50734
50734
  new RegExp(De.katakana),
50735
50735
  new RegExp(De.extendnumlet),
50736
50736
  new RegExp("@")
50737
- ], ft = "", jt = new RegExp("^" + De.punctuation + "$"), xn = /^\s+$/, zn = Be, Zo = X.OTHER, ir = (qe) => {
50737
+ ], ft = "", jt = new RegExp("^" + De.punctuation + "$"), xn = /^\s+$/, zn = Be, Zo = J.OTHER, ir = (qe) => {
50738
50738
  let Dt = Zo;
50739
50739
  const Ke = zn.length;
50740
50740
  for (let _e = 0; _e < Ke; ++_e) {
@@ -50760,13 +50760,13 @@ Required: ` + T.join(", "));
50760
50760
  return he(qe, Dt);
50761
50761
  }, ur = (qe, Dt) => {
50762
50762
  const Ke = qe[Dt], _e = qe[Dt + 1];
50763
- if (Dt < 0 || Dt > qe.length - 1 && Dt !== 0 || Ke === X.ALETTER && _e === X.ALETTER)
50763
+ if (Dt < 0 || Dt > qe.length - 1 && Dt !== 0 || Ke === J.ALETTER && _e === J.ALETTER)
50764
50764
  return !1;
50765
50765
  const vn = qe[Dt + 2];
50766
- if (Ke === X.ALETTER && (_e === X.MIDLETTER || _e === X.MIDNUMLET || _e === X.AT) && vn === X.ALETTER)
50766
+ if (Ke === J.ALETTER && (_e === J.MIDLETTER || _e === J.MIDNUMLET || _e === J.AT) && vn === J.ALETTER)
50767
50767
  return !1;
50768
50768
  const Go = qe[Dt - 1];
50769
- return (Ke === X.MIDLETTER || Ke === X.MIDNUMLET || _e === X.AT) && _e === X.ALETTER && Go === X.ALETTER || (Ke === X.NUMERIC || Ke === X.ALETTER) && (_e === X.NUMERIC || _e === X.ALETTER) || (Ke === X.MIDNUM || Ke === X.MIDNUMLET) && _e === X.NUMERIC && Go === X.NUMERIC || Ke === X.NUMERIC && (_e === X.MIDNUM || _e === X.MIDNUMLET) && vn === X.NUMERIC || (Ke === X.EXTEND || Ke === X.FORMAT) && (_e === X.ALETTER || _e === X.NUMERIC || _e === X.KATAKANA || _e === X.EXTEND || _e === X.FORMAT) || (_e === X.EXTEND || _e === X.FORMAT && (vn === X.ALETTER || vn === X.NUMERIC || vn === X.KATAKANA || vn === X.EXTEND || vn === X.FORMAT)) && (Ke === X.ALETTER || Ke === X.NUMERIC || Ke === X.KATAKANA || Ke === X.EXTEND || Ke === X.FORMAT) || Ke === X.CR && _e === X.LF ? !1 : Ke === X.NEWLINE || Ke === X.CR || Ke === X.LF || _e === X.NEWLINE || _e === X.CR || _e === X.LF ? !0 : !(Ke === X.KATAKANA && _e === X.KATAKANA || _e === X.EXTENDNUMLET && (Ke === X.ALETTER || Ke === X.NUMERIC || Ke === X.KATAKANA || Ke === X.EXTENDNUMLET) || Ke === X.EXTENDNUMLET && (_e === X.ALETTER || _e === X.NUMERIC || _e === X.KATAKANA) || Ke === X.AT);
50769
+ return (Ke === J.MIDLETTER || Ke === J.MIDNUMLET || _e === J.AT) && _e === J.ALETTER && Go === J.ALETTER || (Ke === J.NUMERIC || Ke === J.ALETTER) && (_e === J.NUMERIC || _e === J.ALETTER) || (Ke === J.MIDNUM || Ke === J.MIDNUMLET) && _e === J.NUMERIC && Go === J.NUMERIC || Ke === J.NUMERIC && (_e === J.MIDNUM || _e === J.MIDNUMLET) && vn === J.NUMERIC || (Ke === J.EXTEND || Ke === J.FORMAT) && (_e === J.ALETTER || _e === J.NUMERIC || _e === J.KATAKANA || _e === J.EXTEND || _e === J.FORMAT) || (_e === J.EXTEND || _e === J.FORMAT && (vn === J.ALETTER || vn === J.NUMERIC || vn === J.KATAKANA || vn === J.EXTEND || vn === J.FORMAT)) && (Ke === J.ALETTER || Ke === J.NUMERIC || Ke === J.KATAKANA || Ke === J.EXTEND || Ke === J.FORMAT) || Ke === J.CR && _e === J.LF ? !1 : Ke === J.NEWLINE || Ke === J.CR || Ke === J.LF || _e === J.NEWLINE || _e === J.CR || _e === J.LF ? !0 : !(Ke === J.KATAKANA && _e === J.KATAKANA || _e === J.EXTENDNUMLET && (Ke === J.ALETTER || Ke === J.NUMERIC || Ke === J.KATAKANA || Ke === J.EXTENDNUMLET) || Ke === J.EXTENDNUMLET && (_e === J.ALETTER || _e === J.NUMERIC || _e === J.KATAKANA) || Ke === J.AT);
50770
50770
  }, mn = ft, fe = xn, Tt = jt, Ea = (qe) => qe === "http" || qe === "https", Xn = (qe, Dt) => {
50771
50771
  let Ke;
50772
50772
  for (Ke = Dt; Ke < qe.length && !fe.test(qe[Ke]); Ke++)
@@ -51081,10 +51081,10 @@ const LQ = { class: "font-bold ptext-lg dark:text-white" }, FQ = ["id"], HQ = /*
51081
51081
  return 0;
51082
51082
  if (this.limit === 0)
51083
51083
  return this.lastPage;
51084
- for (var O = this.currentPage, me = this.lastPage, se = this.limit, Ee = O - se, he = O + se + 1, K = [], De = [], X, Be = 1; Be <= me; Be++)
51084
+ for (var O = this.currentPage, me = this.lastPage, se = this.limit, Ee = O - se, he = O + se + 1, K = [], De = [], J, Be = 1; Be <= me; Be++)
51085
51085
  (Be === 1 || Be === me || Be >= Ee && Be < he) && K.push(Be);
51086
51086
  return K.forEach(function(ft) {
51087
- X && (ft - X === 2 ? De.push(X + 1) : ft - X !== 1 && De.push("...")), De.push(ft), X = ft;
51087
+ J && (ft - J === 2 ? De.push(J + 1) : ft - J !== 1 && De.push("...")), De.push(ft), J = ft;
51088
51088
  }), De;
51089
51089
  }
51090
51090
  },
@@ -51214,18 +51214,18 @@ function ree(O, me, se, Ee, he, K) {
51214
51214
  limit: se.limit,
51215
51215
  onPaginationChangePage: K.onPaginationChangePage
51216
51216
  }, {
51217
- default: U8((X) => [
51217
+ default: U8((J) => [
51218
51218
  P("div", GQ, [
51219
- X.computed.total > X.computed.perPage ? (ve(), we("span", qQ, [
51219
+ J.computed.total > J.computed.perPage ? (ve(), we("span", qQ, [
51220
51220
  So(" Showing "),
51221
- P("span", KQ, mt(X.computed.from), 1),
51221
+ P("span", KQ, mt(J.computed.from), 1),
51222
51222
  So(" to "),
51223
- P("span", YQ, mt(X.computed.to), 1),
51223
+ P("span", YQ, mt(J.computed.to), 1),
51224
51224
  So(" of "),
51225
- P("span", XQ, mt(X.computed.total), 1),
51225
+ P("span", XQ, mt(J.computed.total), 1),
51226
51226
  So(" Entries ")
51227
51227
  ])) : pt("", !0),
51228
- X.computed.total > X.computed.perPage ? (ve(), we("ul", t5({ key: 1 }, O.$attrs, {
51228
+ J.computed.total > J.computed.perPage ? (ve(), we("ul", t5({ key: 1 }, O.$attrs, {
51229
51229
  class: ["flex items-center h-8 -space-x-px text-sm", {
51230
51230
  "pagination-sm": se.size == "small",
51231
51231
  "pagination-lg": se.size == "large",
@@ -51233,44 +51233,44 @@ function ree(O, me, se, Ee, he, K) {
51233
51233
  "justify-content-end": se.align == "right"
51234
51234
  }]
51235
51235
  }), [
51236
- X.computed.prevPageUrl || se.showDisabled ? (ve(), we("li", {
51236
+ J.computed.prevPageUrl || se.showDisabled ? (ve(), we("li", {
51237
51237
  key: 0,
51238
- class: rn(["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", { disabled: !X.computed.prevPageUrl }])
51238
+ class: rn(["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", { disabled: !J.computed.prevPageUrl }])
51239
51239
  }, [
51240
51240
  P("a", t5({
51241
51241
  class: "page-link",
51242
51242
  href: "#",
51243
51243
  "aria-label": "Previous",
51244
- tabindex: !X.computed.prevPageUrl && -1
51245
- }, Ej(X.prevButtonEvents, !0)), [
51244
+ tabindex: !J.computed.prevPageUrl && -1
51245
+ }, Ej(J.prevButtonEvents, !0)), [
51246
51246
  vf(O.$slots, "prev-nav", {}, () => [
51247
51247
  QQ,
51248
51248
  eee
51249
51249
  ])
51250
51250
  ], 16, JQ)
51251
51251
  ], 2)) : pt("", !0),
51252
- (ve(!0), we(bo, null, kr(X.computed.pageRange, (Be, ft) => (ve(), we("li", {
51253
- class: rn(["", { active: Be == X.computed.currentPage }]),
51252
+ (ve(!0), we(bo, null, kr(J.computed.pageRange, (Be, ft) => (ve(), we("li", {
51253
+ class: rn(["", { active: Be == J.computed.currentPage }]),
51254
51254
  key: ft
51255
51255
  }, [
51256
51256
  P("a", t5({
51257
51257
  class: "",
51258
51258
  href: "#"
51259
- }, Ej(X.pageButtonEvents(Be), !0), {
51260
- "aria-current": Be == X.computed.currentPage ? "page" : null,
51261
- class: Be == X.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
51259
+ }, Ej(J.pageButtonEvents(Be), !0), {
51260
+ "aria-current": Be == J.computed.currentPage ? "page" : null,
51261
+ class: Be == J.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
51262
51262
  }), mt(Be), 17, tee)
51263
51263
  ], 2))), 128)),
51264
- X.computed.nextPageUrl || se.showDisabled ? (ve(), we("li", {
51264
+ J.computed.nextPageUrl || se.showDisabled ? (ve(), we("li", {
51265
51265
  key: 1,
51266
- class: rn(["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", { disabled: !X.computed.nextPageUrl }])
51266
+ class: rn(["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", { disabled: !J.computed.nextPageUrl }])
51267
51267
  }, [
51268
51268
  P("a", t5({
51269
51269
  class: "",
51270
51270
  href: "#",
51271
51271
  "aria-label": "Next",
51272
- tabindex: !X.computed.nextPageUrl && -1
51273
- }, Ej(X.nextButtonEvents, !0)), [
51272
+ tabindex: !J.computed.nextPageUrl && -1
51273
+ }, Ej(J.nextButtonEvents, !0)), [
51274
51274
  vf(O.$slots, "next-nav", {}, () => [
51275
51275
  oee,
51276
51276
  see
@@ -51436,7 +51436,7 @@ const nq = /* @__PURE__ */ Jr(jQ, [["render", ree]]), aee = {
51436
51436
  kee
51437
51437
  ], Eee = ["data-label"], Aee = { class: "overflow-auto max-h-40" }, Dee = { 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" };
51438
51438
  function Oee(O, me, se, Ee, he, K) {
51439
- const De = ky("dropdown"), X = ky("TailwindPagination");
51439
+ const De = ky("dropdown"), J = ky("TailwindPagination");
51440
51440
  return ve(), we("div", lee, [
51441
51441
  P("div", cee, [
51442
51442
  P("div", iee, [
@@ -51525,7 +51525,7 @@ function Oee(O, me, se, Ee, he, K) {
51525
51525
  ])
51526
51526
  ]),
51527
51527
  P("div", Dee, [
51528
- cb(X, {
51528
+ cb(J, {
51529
51529
  class: "mt-3 mb-0",
51530
51530
  data: he.itemLists,
51531
51531
  limit: he.limit,
@@ -51761,7 +51761,7 @@ function wte(O, me, se, Ee, he, K) {
51761
51761
  has_cancel: !1,
51762
51762
  options: he.showNoOfEntries,
51763
51763
  modelValue: he.itemsPerPage,
51764
- "onUpdate:modelValue": me[0] || (me[0] = (X) => he.itemsPerPage = X),
51764
+ "onUpdate:modelValue": me[0] || (me[0] = (J) => he.itemsPerPage = J),
51765
51765
  is_required: !1,
51766
51766
  field_name: "NoOfEntries",
51767
51767
  label_name: "",
@@ -51777,7 +51777,7 @@ function wte(O, me, se, Ee, he, K) {
51777
51777
  Hee,
51778
51778
  Qa(P("input", {
51779
51779
  type: "text",
51780
- "onUpdate:modelValue": me[1] || (me[1] = (X) => he.search = X),
51780
+ "onUpdate:modelValue": me[1] || (me[1] = (J) => he.search = J),
51781
51781
  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",
51782
51782
  placeholder: "Search ..."
51783
51783
  }, null, 512), [
@@ -51789,13 +51789,13 @@ function wte(O, me, se, Ee, he, K) {
51789
51789
  P("table", zee, [
51790
51790
  P("thead", Uee, [
51791
51791
  P("tr", null, [
51792
- (ve(!0), we(bo, null, kr(se.columns, (X, Be) => (ve(), we("th", {
51792
+ (ve(!0), we(bo, null, kr(se.columns, (J, Be) => (ve(), we("th", {
51793
51793
  key: Be,
51794
- onClick: (ft) => K.sort(X.field_name, X.sortable),
51794
+ onClick: (ft) => K.sort(J.field_name, J.sortable),
51795
51795
  class: "w-full px-4 py-2 lg:w-2/12"
51796
51796
  }, [
51797
- So(mt(X.field_label) + " ", 1),
51798
- he.sortKey === X.field_name ? (ve(), we("span", Zee, [
51797
+ So(mt(J.field_label) + " ", 1),
51798
+ he.sortKey === J.field_name ? (ve(), we("span", Zee, [
51799
51799
  he.sortOrder === 1 ? (ve(), we("i", jee)) : (ve(), we("i", Gee))
51800
51800
  ])) : pt("", !0)
51801
51801
  ], 8, Wee))), 128))
@@ -51807,7 +51807,7 @@ function wte(O, me, se, Ee, he, K) {
51807
51807
  colspan: se.columns.length
51808
51808
  }, Xee, 8, Kee)
51809
51809
  ])) : pt("", !0),
51810
- he.isLoading ? pt("", !0) : (ve(!0), we(bo, { key: 1 }, kr(K.paginatedData, (X, Be) => (ve(), we("tr", {
51810
+ he.isLoading ? pt("", !0) : (ve(!0), we(bo, { key: 1 }, kr(K.paginatedData, (J, Be) => (ve(), we("tr", {
51811
51811
  key: Be,
51812
51812
  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"
51813
51813
  }, [
@@ -51822,15 +51822,15 @@ function wte(O, me, se, Ee, he, K) {
51822
51822
  P("div", Qee, [
51823
51823
  ft.tdComp ? (ve(), Ty(o5(K.forDynCompIs(ft.tdComp)), {
51824
51824
  key: 0,
51825
- row: X,
51825
+ row: J,
51826
51826
  field: ft.field_name,
51827
51827
  xprops: se.xprops,
51828
51828
  tdProps: ft.tdProps,
51829
51829
  onDeleteAction: me[2] || (me[2] = (xn) => K.GetItemLists()),
51830
- onEditAction: (xn) => K.editAction(X),
51831
- onGeneralAction: (xn) => K.generalAction(X)
51830
+ onEditAction: (xn) => K.editAction(J),
51831
+ onGeneralAction: (xn) => K.generalAction(J)
51832
51832
  }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ve(), we(bo, { key: 1 }, [
51833
- So(mt(X[ft.field_name]), 1)
51833
+ So(mt(J[ft.field_name]), 1)
51834
51834
  ], 64))
51835
51835
  ])
51836
51836
  ], 10, Jee))), 128))
@@ -51842,13 +51842,13 @@ function wte(O, me, se, Ee, he, K) {
51842
51842
  P("div", tte, [
51843
51843
  P("a", {
51844
51844
  href: "#",
51845
- onClick: me[3] || (me[3] = oc((...X) => K.previousPage && K.previousPage(...X), ["prevent"])),
51845
+ onClick: me[3] || (me[3] = oc((...J) => K.previousPage && K.previousPage(...J), ["prevent"])),
51846
51846
  disabled: he.currentPage === 1,
51847
51847
  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"
51848
51848
  }, "Previous", 8, nte),
51849
51849
  P("a", {
51850
51850
  href: "#",
51851
- onClick: me[4] || (me[4] = oc((...X) => K.nextPage && K.nextPage(...X), ["prevent"])),
51851
+ onClick: me[4] || (me[4] = oc((...J) => K.nextPage && K.nextPage(...J), ["prevent"])),
51852
51852
  disabled: he.currentPage === K.totalPages,
51853
51853
  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"
51854
51854
  }, "Next", 8, ote)
@@ -51871,34 +51871,34 @@ function wte(O, me, se, Ee, he, K) {
51871
51871
  P("li", null, [
51872
51872
  P("a", {
51873
51873
  href: "#",
51874
- onClick: me[5] || (me[5] = oc((...X) => K.previousPage && K.previousPage(...X), ["prevent"])),
51874
+ onClick: me[5] || (me[5] = oc((...J) => K.previousPage && K.previousPage(...J), ["prevent"])),
51875
51875
  disabled: he.currentPage === 1,
51876
51876
  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"
51877
51877
  }, gte, 8, dte)
51878
51878
  ]),
51879
- (ve(!0), we(bo, null, kr(K.displayedPageNumbers, (X) => (ve(), we(bo, { key: X }, [
51879
+ (ve(!0), we(bo, null, kr(K.displayedPageNumbers, (J) => (ve(), we(bo, { key: J }, [
51880
51880
  P("li", null, [
51881
- he.currentPage !== X ? (ve(), we("a", {
51881
+ he.currentPage !== J ? (ve(), we("a", {
51882
51882
  key: 0,
51883
51883
  href: "#",
51884
- onClick: oc((Be) => K.goToPage(X), ["prevent"]),
51884
+ onClick: oc((Be) => K.goToPage(J), ["prevent"]),
51885
51885
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
51886
- }, mt(X), 9, hte)) : pt("", !0)
51886
+ }, mt(J), 9, hte)) : pt("", !0)
51887
51887
  ]),
51888
51888
  P("li", null, [
51889
- he.currentPage === X ? (ve(), we("a", {
51889
+ he.currentPage === J ? (ve(), we("a", {
51890
51890
  key: 0,
51891
51891
  href: "#",
51892
- onClick: oc((Be) => K.goToPage(X), ["prevent"]),
51892
+ onClick: oc((Be) => K.goToPage(J), ["prevent"]),
51893
51893
  "aria-current": "page",
51894
51894
  class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
51895
- }, mt(X), 9, pte)) : pt("", !0)
51895
+ }, mt(J), 9, pte)) : pt("", !0)
51896
51896
  ])
51897
51897
  ], 64))), 128)),
51898
51898
  P("li", null, [
51899
51899
  P("a", {
51900
51900
  href: "#",
51901
- onClick: me[6] || (me[6] = oc((...X) => K.nextPage && K.nextPage(...X), ["prevent"])),
51901
+ onClick: me[6] || (me[6] = oc((...J) => K.nextPage && K.nextPage(...J), ["prevent"])),
51902
51902
  disabled: he.currentPage === K.totalPages,
51903
51903
  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"
51904
51904
  }, xte, 8, bte)
@@ -52072,7 +52072,7 @@ const Kae = /* @__PURE__ */ Jr(Ree, [["render", wte]]), Cte = {
52072
52072
  Vte
52073
52073
  ], Ute = { 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" }, Wte = ["colspan"], Zte = ["data-label"], jte = { class: "overflow-auto max-h-40" }, Gte = { 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" };
52074
52074
  function qte(O, me, se, Ee, he, K) {
52075
- const De = ky("dropdown"), X = ky("TailwindPagination");
52075
+ const De = ky("dropdown"), J = ky("TailwindPagination");
52076
52076
  return ve(), we("div", Ste, [
52077
52077
  P("div", _te, [
52078
52078
  P("div", kte, [
@@ -52165,7 +52165,7 @@ function qte(O, me, se, Ee, he, K) {
52165
52165
  ])
52166
52166
  ]),
52167
52167
  P("div", Gte, [
52168
- cb(X, {
52168
+ cb(J, {
52169
52169
  class: "mt-3 mb-0",
52170
52170
  data: he.itemLists,
52171
52171
  limit: he.limit,
@@ -52331,7 +52331,7 @@ function Nne(O, me, se, Ee, he, K) {
52331
52331
  has_cancel: !1,
52332
52332
  options: he.showNoOfEntries,
52333
52333
  modelValue: he.itemsPerPage,
52334
- "onUpdate:modelValue": me[0] || (me[0] = (X) => he.itemsPerPage = X),
52334
+ "onUpdate:modelValue": me[0] || (me[0] = (J) => he.itemsPerPage = J),
52335
52335
  is_required: !1,
52336
52336
  field_name: "NoOfEntries",
52337
52337
  label_name: "",
@@ -52347,7 +52347,7 @@ function Nne(O, me, se, Ee, he, K) {
52347
52347
  sne,
52348
52348
  Qa(P("input", {
52349
52349
  type: "text",
52350
- "onUpdate:modelValue": me[1] || (me[1] = (X) => he.search = X),
52350
+ "onUpdate:modelValue": me[1] || (me[1] = (J) => he.search = J),
52351
52351
  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",
52352
52352
  placeholder: "Search ..."
52353
52353
  }, null, 512), [
@@ -52359,20 +52359,20 @@ function Nne(O, me, se, Ee, he, K) {
52359
52359
  P("table", ane, [
52360
52360
  P("thead", lne, [
52361
52361
  P("tr", null, [
52362
- (ve(!0), we(bo, null, kr(se.columns, (X, Be) => (ve(), we("th", {
52362
+ (ve(!0), we(bo, null, kr(se.columns, (J, Be) => (ve(), we("th", {
52363
52363
  key: Be,
52364
- onClick: oc((ft) => K.sort(X), ["prevent"]),
52364
+ onClick: oc((ft) => K.sort(J), ["prevent"]),
52365
52365
  class: "w-full px-4 py-2 lg:w-2/12 capitalize"
52366
52366
  }, [
52367
- So(mt(X) + " ", 1),
52368
- he.sortKey === X ? (ve(), we("span", ine, [
52367
+ So(mt(J) + " ", 1),
52368
+ he.sortKey === J ? (ve(), we("span", ine, [
52369
52369
  he.sortOrder === 1 ? (ve(), we("i", une)) : (ve(), we("i", dne))
52370
52370
  ])) : pt("", !0)
52371
52371
  ], 8, cne))), 128))
52372
52372
  ])
52373
52373
  ]),
52374
52374
  P("tbody", null, [
52375
- (ve(!0), we(bo, null, kr(K.paginatedData, (X, Be) => (ve(), we("tr", {
52375
+ (ve(!0), we(bo, null, kr(K.paginatedData, (J, Be) => (ve(), we("tr", {
52376
52376
  key: Be,
52377
52377
  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"
52378
52378
  }, [
@@ -52383,7 +52383,7 @@ function Nne(O, me, se, Ee, he, K) {
52383
52383
  }, [
52384
52384
  P("p", {
52385
52385
  class: "text-pretty",
52386
- innerHTML: X[jt]
52386
+ innerHTML: J[jt]
52387
52387
  }, null, 8, fne)
52388
52388
  ], 8, mne))), 128))
52389
52389
  ]))), 128))
@@ -52394,13 +52394,13 @@ function Nne(O, me, se, Ee, he, K) {
52394
52394
  P("div", hne, [
52395
52395
  P("a", {
52396
52396
  href: "#",
52397
- onClick: me[2] || (me[2] = oc((...X) => K.previousPage && K.previousPage(...X), ["prevent"])),
52397
+ onClick: me[2] || (me[2] = oc((...J) => K.previousPage && K.previousPage(...J), ["prevent"])),
52398
52398
  disabled: he.currentPage === 1,
52399
52399
  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"
52400
52400
  }, "Previous", 8, pne),
52401
52401
  P("a", {
52402
52402
  href: "#",
52403
- onClick: me[3] || (me[3] = oc((...X) => K.nextPage && K.nextPage(...X), ["prevent"])),
52403
+ onClick: me[3] || (me[3] = oc((...J) => K.nextPage && K.nextPage(...J), ["prevent"])),
52404
52404
  disabled: he.currentPage === K.totalPages,
52405
52405
  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"
52406
52406
  }, "Next", 8, bne)
@@ -52423,34 +52423,34 @@ function Nne(O, me, se, Ee, he, K) {
52423
52423
  P("li", null, [
52424
52424
  P("a", {
52425
52425
  href: "#",
52426
- onClick: me[4] || (me[4] = oc((...X) => K.previousPage && K.previousPage(...X), ["prevent"])),
52426
+ onClick: me[4] || (me[4] = oc((...J) => K.previousPage && K.previousPage(...J), ["prevent"])),
52427
52427
  disabled: he.currentPage === 1,
52428
52428
  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"
52429
52429
  }, Ane, 8, kne)
52430
52430
  ]),
52431
- (ve(!0), we(bo, null, kr(K.displayedPageNumbers, (X) => (ve(), we(bo, { key: X }, [
52431
+ (ve(!0), we(bo, null, kr(K.displayedPageNumbers, (J) => (ve(), we(bo, { key: J }, [
52432
52432
  P("li", null, [
52433
- he.currentPage !== X ? (ve(), we("a", {
52433
+ he.currentPage !== J ? (ve(), we("a", {
52434
52434
  key: 0,
52435
52435
  href: "#",
52436
- onClick: oc((Be) => K.goToPage(X), ["prevent"]),
52436
+ onClick: oc((Be) => K.goToPage(J), ["prevent"]),
52437
52437
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
52438
- }, mt(X), 9, Dne)) : pt("", !0)
52438
+ }, mt(J), 9, Dne)) : pt("", !0)
52439
52439
  ]),
52440
52440
  P("li", null, [
52441
- he.currentPage === X ? (ve(), we("a", {
52441
+ he.currentPage === J ? (ve(), we("a", {
52442
52442
  key: 0,
52443
52443
  href: "#",
52444
- onClick: oc((Be) => K.goToPage(X), ["prevent"]),
52444
+ onClick: oc((Be) => K.goToPage(J), ["prevent"]),
52445
52445
  "aria-current": "page",
52446
52446
  class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
52447
- }, mt(X), 9, One)) : pt("", !0)
52447
+ }, mt(J), 9, One)) : pt("", !0)
52448
52448
  ])
52449
52449
  ], 64))), 128)),
52450
52450
  P("li", null, [
52451
52451
  P("a", {
52452
52452
  href: "#",
52453
- onClick: me[5] || (me[5] = oc((...X) => K.nextPage && K.nextPage(...X), ["prevent"])),
52453
+ onClick: me[5] || (me[5] = oc((...J) => K.nextPage && K.nextPage(...J), ["prevent"])),
52454
52454
  disabled: he.currentPage === K.totalPages,
52455
52455
  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"
52456
52456
  }, Pne, 8, Rne)
@@ -52503,12 +52503,12 @@ const Jae = /* @__PURE__ */ Jr(Bne, [["render", Ine]]), Lne = {
52503
52503
  return ft = Math.floor(ft / 16), (xn === "x" ? zn : zn & 3 | 8).toString(16);
52504
52504
  });
52505
52505
  return jt;
52506
- })(), he = { isOpen: O, id: Ee }, K = vc(() => me.accordions.value), De = vc(() => K.value.length > 0 && K.value[0].id === Ee), X = vc(() => K.value.length > 0 && K.value[K.value.length - 1].id === Ee);
52506
+ })(), he = { isOpen: O, id: Ee }, K = vc(() => me.accordions.value), De = vc(() => K.value.length > 0 && K.value[0].id === Ee), J = vc(() => K.value.length > 0 && K.value[K.value.length - 1].id === Ee);
52507
52507
  return Oh(() => {
52508
52508
  me.registerAccordion(he);
52509
52509
  }), Mq(() => {
52510
52510
  me.unregisterAccordion(he);
52511
- }), { isOpen: O, isFirstAccordion: De, isLastAccordion: X, toggle: () => {
52511
+ }), { isOpen: O, isFirstAccordion: De, isLastAccordion: J, toggle: () => {
52512
52512
  me.toggleAccordion(he);
52513
52513
  } };
52514
52514
  }
@@ -52738,13 +52738,13 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
52738
52738
  Ee.value = !1;
52739
52739
  }, De = () => {
52740
52740
  Ee.value = !0;
52741
- }, X = () => {
52741
+ }, J = () => {
52742
52742
  he.value = !1;
52743
52743
  }, Be = () => {
52744
52744
  he.value = !0;
52745
52745
  }, ft = me, jt = () => {
52746
52746
  axios.delete(`${se.xprops.route}/${se.row.id}`).then(() => {
52747
- X(), ft("deleteAction"), s5.methods.add({
52747
+ J(), ft("deleteAction"), s5.methods.add({
52748
52748
  message: "Item deleted successfully.",
52749
52749
  type: "success",
52750
52750
  duration: 5e3
@@ -52759,7 +52759,7 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
52759
52759
  cb(Oj, {
52760
52760
  isOpen: he.value,
52761
52761
  onConfirmDelete: jt,
52762
- onCancelDelete: X
52762
+ onCancelDelete: J
52763
52763
  }, null, 8, ["isOpen"]),
52764
52764
  O.row && xn.can(`edit_${O.xprops.permission} || delete_${O.xprops.permission}`) ? Qa((ve(), we("div", doe, [
52765
52765
  P("button", {
@@ -52844,13 +52844,13 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
52844
52844
  Ee.value = !1;
52845
52845
  }, De = () => {
52846
52846
  Ee.value = !0;
52847
- }, X = () => {
52847
+ }, J = () => {
52848
52848
  he.value = !1;
52849
52849
  }, Be = () => {
52850
52850
  he.value = !0;
52851
52851
  }, ft = me, jt = () => {
52852
52852
  axios.delete(`${se.xprops.route}/${se.row.id}`).then(() => {
52853
- X(), ft("deleteAction"), s5.methods.add({
52853
+ J(), ft("deleteAction"), s5.methods.add({
52854
52854
  message: "Item deleted successfully.",
52855
52855
  type: "success",
52856
52856
  duration: 5e3
@@ -52865,7 +52865,7 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
52865
52865
  cb(Oj, {
52866
52866
  isOpen: he.value,
52867
52867
  onConfirmDelete: jt,
52868
- onCancelDelete: X
52868
+ onCancelDelete: J
52869
52869
  }, null, 8, ["isOpen"]),
52870
52870
  O.row && xn.can(`delete_${O.xprops.permission}`) ? Qa((ve(), we("div", woe, [
52871
52871
  P("button", {
@@ -52950,8 +52950,8 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
52950
52950
  ], -1);
52951
52951
  function Poe(O, me, se, Ee, he, K) {
52952
52952
  return ve(), we("div", null, [
52953
- K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row, (De, X) => (ve(), we("div", {
52954
- key: X,
52953
+ K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row, (De, J) => (ve(), we("div", {
52954
+ key: J,
52955
52955
  class: "m-1 d-inline-block"
52956
52956
  }, [
52957
52957
  P("a", {
@@ -53086,8 +53086,8 @@ const rle = /* @__PURE__ */ Jr(zoe, [["render", Zoe]]), joe = {
53086
53086
  };
53087
53087
  function Koe(O, me, se, Ee, he, K) {
53088
53088
  return this.row[this.entry.key] ? (ve(), we("div", Goe, [
53089
- K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row[K.entry.key], (De, X) => (ve(), we("span", {
53090
- key: X,
53089
+ K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row[K.entry.key], (De, J) => (ve(), we("span", {
53090
+ key: J,
53091
53091
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
53092
53092
  }, mt(De[K.entry.field]), 1))), 128)) : K.isObject ? (ve(), we("span", qoe, mt(se.row[K.entry.key][K.entry.field]), 1)) : pt("", !0)
53093
53093
  ])) : pt("", !0);
@@ -53117,8 +53117,8 @@ const ale = /* @__PURE__ */ Jr(joe, [["render", Koe]]), Yoe = {
53117
53117
  };
53118
53118
  function Qoe(O, me, se, Ee, he, K) {
53119
53119
  return ve(), we("div", Xoe, [
53120
- K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(K.getNestedValue(se.row, K.entry.keys), (De, X) => (ve(), we("span", {
53121
- key: X,
53120
+ K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(K.getNestedValue(se.row, K.entry.keys), (De, J) => (ve(), we("span", {
53121
+ key: J,
53122
53122
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
53123
53123
  }, mt(De[K.entry.field]), 1))), 128)) : K.isObject ? (ve(), we("span", Joe, mt(K.getNestedValue(se.row, K.entry.keys)[K.entry.field]), 1)) : pt("", !0)
53124
53124
  ]);
@@ -53346,8 +53346,8 @@ const mle = /* @__PURE__ */ Jr(Dse, [["render", Vse]]), zse = {
53346
53346
  return "";
53347
53347
  const O = new Date(this.row[this.field]), me = O.getFullYear(), se = O.toLocaleString("default", { month: "long" }), Ee = O.getDate();
53348
53348
  let he = O.getHours();
53349
- const K = O.getMinutes(), De = O.getSeconds(), X = he >= 12 ? "pm" : "am";
53350
- return he = he % 12, he = he || 12, `${se} ${Ee}, ${me}, ${he}:${K}:${De} ${X}`;
53349
+ const K = O.getMinutes(), De = O.getSeconds(), J = he >= 12 ? "pm" : "am";
53350
+ return he = he % 12, he = he || 12, `${se} ${Ee}, ${me}, ${he}:${K}:${De} ${J}`;
53351
53351
  }
53352
53352
  }
53353
53353
  }, Use = { class: "w-full" };
@@ -53488,12 +53488,12 @@ const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
53488
53488
  }
53489
53489
  },
53490
53490
  setup(O, { expose: me }) {
53491
- const se = Wo(""), Ee = Wo(""), he = Wo(""), K = Wo("Cancel"), De = Wo(!1), X = Wo(void 0), Be = Wo(void 0), ft = (zn = {}) => (se.value = zn.title, Ee.value = zn.message, he.value = zn.okButton, zn.cancelButton && (K.value = zn.cancelButton), De.value = !0, new Promise((Zo, ir) => {
53492
- X.value = Zo, Be.value = ir;
53491
+ const se = Wo(""), Ee = Wo(""), he = Wo(""), K = Wo("Cancel"), De = Wo(!1), J = Wo(void 0), Be = Wo(void 0), ft = (zn = {}) => (se.value = zn.title, Ee.value = zn.message, he.value = zn.okButton, zn.cancelButton && (K.value = zn.cancelButton), De.value = !0, new Promise((Zo, ir) => {
53492
+ J.value = Zo, Be.value = ir;
53493
53493
  })), jt = () => {
53494
- De.value = !1, X.value(!0);
53494
+ De.value = !1, J.value(!0);
53495
53495
  }, xn = () => {
53496
- De.value = !1, X.value(!1);
53496
+ De.value = !1, J.value(!1);
53497
53497
  };
53498
53498
  return me({
53499
53499
  show: ft
@@ -53598,7 +53598,7 @@ const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
53598
53598
  ]),
53599
53599
  P("div", Lre, [
53600
53600
  P("button", {
53601
- onClick: De[0] || (De[0] = (X) => Ee(he.value)),
53601
+ onClick: De[0] || (De[0] = (J) => Ee(he.value)),
53602
53602
  class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
53603
53603
  }, [
53604
53604
  se.value ? pt("", !0) : (ve(), we("span", Fre, zre)),
@@ -53686,7 +53686,7 @@ const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
53686
53686
  ]),
53687
53687
  P("button", {
53688
53688
  style: { padding: ".61rem" },
53689
- onClick: De[0] || (De[0] = (X) => Ee(he.value)),
53689
+ onClick: De[0] || (De[0] = (J) => Ee(he.value)),
53690
53690
  class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
53691
53691
  type: "button"
53692
53692
  }, [