golden-logic-ui 1.0.364 → 1.0.365

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.
@@ -27,7 +27,7 @@ const qr = (O, ie) => {
27
27
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
28
28
  "aria-hidden": "true"
29
29
  }, "​", -1), Uq = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Wq = /* @__PURE__ */ Dq('<div class="px-4 pt-5 pb-4 sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), Zq = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse" };
30
- function jq(O, ie, te, _e, ae, G) {
30
+ function jq(O, ie, te, _e, ae, j) {
31
31
  return te.isOpen ? (pe(), ye("div", Fq, [
32
32
  P("div", Hq, [
33
33
  Vq,
@@ -36,12 +36,12 @@ function jq(O, ie, te, _e, ae, G) {
36
36
  Wq,
37
37
  P("div", Zq, [
38
38
  P("button", {
39
- onClick: ie[0] || (ie[0] = (...Ae) => G.confirmDeletion && G.confirmDeletion(...Ae)),
39
+ onClick: ie[0] || (ie[0] = (...Ae) => j.confirmDeletion && j.confirmDeletion(...Ae)),
40
40
  type: "button",
41
41
  class: "inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"
42
42
  }, " Delete "),
43
43
  P("button", {
44
- onClick: ie[1] || (ie[1] = (...Ae) => G.cancelDeletion && G.cancelDeletion(...Ae)),
44
+ onClick: ie[1] || (ie[1] = (...Ae) => j.cancelDeletion && j.cancelDeletion(...Ae)),
45
45
  type: "button",
46
46
  class: "inline-flex justify-center w-full px-4 py-2 mt-3 text-base font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
47
47
  }, " Cancel ")
@@ -180,8 +180,8 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Dj = Oq({
180
180
  return new Promise((ie, te) => {
181
181
  O || ie();
182
182
  const _e = new FormData();
183
- _e.append("file", O), Object.entries(this.file_config).forEach(([ae, G]) => {
184
- _e.append(ae, G);
183
+ _e.append("file", O), Object.entries(this.file_config).forEach(([ae, j]) => {
184
+ _e.append(ae, j);
185
185
  }), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media", _e, {
186
186
  onUploadProgress: (ae) => {
187
187
  this.files[this.files.length - 1].loading = Math.floor(
@@ -189,10 +189,10 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Dj = Oq({
189
189
  );
190
190
  }
191
191
  }).then((ae) => {
192
- let G = this.files.findIndex(
192
+ let j = this.files.findIndex(
193
193
  (Ae) => Ae.file_name === O.name
194
194
  );
195
- G !== -1 && this.files.splice(G, 1), this.has_multiple_file || (this.uploadFileList = []), this.uploadFileList.push({
195
+ j !== -1 && this.files.splice(j, 1), this.has_multiple_file || (this.uploadFileList = []), this.uploadFileList.push({
196
196
  file_name: ae.data.file_name,
197
197
  size: ae.data.size,
198
198
  id: ae.data.id,
@@ -203,10 +203,10 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Dj = Oq({
203
203
  ae.response.data.errors,
204
204
  "file"
205
205
  ) : console.error("An error occurred:", ae);
206
- let G = this.files.findIndex(
206
+ let j = this.files.findIndex(
207
207
  (Ae) => Ae.file_name === O.name
208
208
  );
209
- G !== -1 && this.files.splice(G, 1), console.log(ae), ie();
209
+ j !== -1 && this.files.splice(j, 1), console.log(ae), ie();
210
210
  });
211
211
  });
212
212
  }
@@ -245,13 +245,13 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Dj = Oq({
245
245
  class: "text-3xl fas fa-file-alt",
246
246
  "aria-hidden": "true"
247
247
  }, null, -1), vK = { class: "flex flex-col ml-3" }, yK = { class: "text-xs" }, wK = { class: "text-xs" }, xK = { class: "flex gap-2" }, CK = ["href"], SK = ["onClick"];
248
- function _K(O, ie, te, _e, ae, G) {
248
+ function _K(O, ie, te, _e, ae, j) {
249
249
  const Ae = y1("DeleteConfirmationModal");
250
250
  return pe(), ye(Qn, null, [
251
251
  ub(Ae, {
252
252
  isOpen: ae.open_delete_modal,
253
- onConfirmDelete: G.deleteAction,
254
- onCancelDelete: G.closeDeleteModal
253
+ onConfirmDelete: j.deleteAction,
254
+ onCancelDelete: j.closeDeleteModal
255
255
  }, null, 8, ["isOpen", "onConfirmDelete", "onCancelDelete"]),
256
256
  P("div", {
257
257
  class: an([{
@@ -267,9 +267,9 @@ function _K(O, ie, te, _e, ae, G) {
267
267
  })
268
268
  }, gt(te.label_name), 3),
269
269
  P("div", {
270
- onDragover: ie[3] || (ie[3] = oc((...Q) => G.onDragOver && G.onDragOver(...Q), ["prevent"])),
271
- onDragleave: ie[4] || (ie[4] = oc((...Q) => G.onDragLeave && G.onDragLeave(...Q), ["prevent"])),
272
- onDrop: ie[5] || (ie[5] = oc((...Q) => G.onDrop && G.onDrop(...Q), ["prevent"])),
270
+ onDragover: ie[3] || (ie[3] = oc((...Q) => j.onDragOver && j.onDragOver(...Q), ["prevent"])),
271
+ onDragleave: ie[4] || (ie[4] = oc((...Q) => j.onDragLeave && j.onDragLeave(...Q), ["prevent"])),
272
+ onDrop: ie[5] || (ie[5] = oc((...Q) => j.onDrop && j.onDrop(...Q), ["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", Kq, [
@@ -278,14 +278,14 @@ function _K(O, ie, te, _e, ae, G) {
278
278
  ref: "file_input" + te.field_name,
279
279
  hidden: "",
280
280
  multiple: te.has_multiple_file,
281
- onChange: ie[0] || (ie[0] = (...Q) => G.uploadFiles && G.uploadFiles(...Q))
281
+ onChange: ie[0] || (ie[0] = (...Q) => j.uploadFiles && j.uploadFiles(...Q))
282
282
  }, null, 40, Yq),
283
283
  Qa(P("input", {
284
284
  type: "hidden",
285
285
  name: te.field_name,
286
- "onUpdate:modelValue": ie[1] || (ie[1] = (Q) => G.uploadFileListFinal = Q)
286
+ "onUpdate:modelValue": ie[1] || (ie[1] = (Q) => j.uploadFileListFinal = Q)
287
287
  }, null, 8, Xq), [
288
- [ym, G.uploadFileListFinal]
288
+ [ym, j.uploadFileListFinal]
289
289
  ]),
290
290
  ae.isDragging ? (pe(), ye("div", tK, oK)) : (pe(), ye("div", {
291
291
  key: 0,
@@ -301,7 +301,7 @@ function _K(O, ie, te, _e, ae, G) {
301
301
  cK,
302
302
  P("div", iK, [
303
303
  P("div", uK, [
304
- P("span", dK, gt(G.getFileName(Q.file_name)), 1),
304
+ P("span", dK, gt(j.getFileName(Q.file_name)), 1),
305
305
  P("span", mK, gt(Q.loading), 1)
306
306
  ]),
307
307
  P("div", fK, [
@@ -314,12 +314,12 @@ function _K(O, ie, te, _e, ae, G) {
314
314
  ]))), 256))
315
315
  ])) : ut("", !0),
316
316
  P("section", gK, [
317
- (pe(!0), ye(Qn, null, sr(G.uploadFileListFinal, (Q, Pe) => (pe(), ye("li", hK, [
317
+ (pe(!0), ye(Qn, null, sr(j.uploadFileListFinal, (Q, Pe) => (pe(), ye("li", hK, [
318
318
  P("div", pK, [
319
319
  bK,
320
320
  P("div", vK, [
321
- P("span", yK, gt(G.getFileName(Q.file_name)), 1),
322
- P("span", wK, gt(G.formatFileSize(Q.size)), 1)
321
+ P("span", yK, gt(j.getFileName(Q.file_name)), 1),
322
+ P("span", wK, gt(j.formatFileSize(Q.size)), 1)
323
323
  ])
324
324
  ]),
325
325
  P("div", xK, [
@@ -377,7 +377,7 @@ const Nae = /* @__PURE__ */ qr(qq, [["render", _K]]), kK = {
377
377
  mounted() {
378
378
  }
379
379
  }, TK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, EK = ["name", "value", "id", "checked"], AK = ["for"];
380
- function DK(O, ie, te, _e, ae, G) {
380
+ function DK(O, ie, te, _e, ae, j) {
381
381
  return pe(), ye("ul", TK, [
382
382
  (pe(!0), ye(Qn, null, sr(ae.locals, (Ae, Q) => (pe(), ye("li", null, [
383
383
  P("input", {
@@ -414,7 +414,7 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
414
414
  },
415
415
  setup(O) {
416
416
  const ie = O, te = vc(() => ie.class), _e = vc(() => ie.body_class);
417
- return (ae, G) => (pe(), ye("div", {
417
+ return (ae, j) => (pe(), ye("div", {
418
418
  class: an(["flex flex-col gap-9", te.value])
419
419
  }, [
420
420
  P("div", OK, [
@@ -514,7 +514,7 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
514
514
  },
515
515
  emits: ["update:modelValue", "selected", "selectionChanged"],
516
516
  setup(O, { emit: ie }) {
517
- const te = O, _e = ie, ae = Eo(null), G = Eo([]), Ae = Eo([]), Q = Eo(0), Pe = Eo(!1), pt = Eo(""), qe = Eo(""), bn = Eo(null), mn = Eo(0), No = Eo(0), us = () => {
517
+ const te = O, _e = ie, ae = Eo(null), j = Eo([]), Ae = Eo([]), Q = Eo(0), Pe = Eo(!1), pt = Eo(""), qe = Eo(""), bn = Eo(null), mn = Eo(0), No = Eo(0), us = () => {
518
518
  if (bn.value) {
519
519
  mn.value = bn.value.offsetWidth;
520
520
  var rt = bn.value.getBoundingClientRect();
@@ -566,17 +566,17 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
566
566
  return rt.every((Me) => typeof Me == "object" && Me !== null);
567
567
  }
568
568
  function se(rt) {
569
- return G.value.findIndex((Me) => Me.id === rt) !== -1;
569
+ return j.value.findIndex((Me) => Me.id === rt) !== -1;
570
570
  }
571
571
  function Nn() {
572
- G.value = Dt();
572
+ j.value = Dt();
573
573
  }
574
574
  function ds() {
575
- G.value = [], _e("update:modelValue", []), _e("selected", []), _e("selectionChanged", []);
575
+ j.value = [], _e("update:modelValue", []), _e("selected", []), _e("selectionChanged", []);
576
576
  }
577
577
  function In(rt) {
578
- let Me = G.value.findIndex((nn) => nn.id === rt.id);
579
- Me !== -1 && G.value.splice(Me, 1), Ae.value = G.value.map((nn) => nn.id), _e("update:modelValue", Ae.value), _e("selected", G.value), _e("selectionChanged", G.value);
578
+ let Me = j.value.findIndex((nn) => nn.id === rt.id);
579
+ Me !== -1 && j.value.splice(Me, 1), Ae.value = j.value.map((nn) => nn.id), _e("update:modelValue", Ae.value), _e("selected", j.value), _e("selectionChanged", j.value);
580
580
  }
581
581
  function We(rt) {
582
582
  rt.target.id != te.field_name + "search" + qe.value && rt.target.id != te.field_name && !rt.target.classList.contains("showOptions") && (to(), Q.value = 0, Pe.value = !1);
@@ -596,30 +596,30 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
596
596
  return te.options.map((rt, Me) => typeof rt == "object" ? rt : { id: rt, name: rt });
597
597
  }
598
598
  function A() {
599
- if (Qr(G.value))
600
- return eo(G.value) ? Rt.value.filter(
601
- (rt) => G.value.some(
599
+ if (Qr(j.value))
600
+ return eo(j.value) ? Rt.value.filter(
601
+ (rt) => j.value.some(
602
602
  (Me) => String(Me.id) === String(rt.id)
603
603
  )
604
604
  ) || [] : Rt.value.filter(
605
- (rt) => G.value.some(
605
+ (rt) => j.value.some(
606
606
  (Me) => String(Me) === String(rt.id)
607
607
  )
608
608
  ) || [];
609
609
  if (te.modelValue)
610
- return eo(te.modelValue) ? G.value = Rt.value.filter(
610
+ return eo(te.modelValue) ? j.value = Rt.value.filter(
611
611
  (rt) => te.modelValue.some(
612
612
  (Me) => String(Me.id) === String(rt.id)
613
613
  )
614
- ) || [] : G.value = Rt.value.filter(
614
+ ) || [] : j.value = Rt.value.filter(
615
615
  (rt) => te.modelValue.some(
616
616
  (Me) => String(Me) === String(rt.id)
617
617
  )
618
618
  ) || [];
619
619
  }
620
620
  function Xn(rt) {
621
- let Me = G.value.findIndex((nn) => nn.id === rt.id);
622
- Me !== -1 ? G.value.splice(Me, 1) : G.value.push(rt), Pe.value = !1, Ae.value = G.value.map((nn) => nn.id), _e("update:modelValue", Ae.value), _e("selected", G.value), _e("selectionChanged", G.value);
621
+ let Me = j.value.findIndex((nn) => nn.id === rt.id);
622
+ Me !== -1 ? j.value.splice(Me, 1) : j.value.push(rt), Pe.value = !1, Ae.value = j.value.map((nn) => nn.id), _e("update:modelValue", Ae.value), _e("selected", j.value), _e("selectionChanged", j.value);
623
623
  }
624
624
  function at() {
625
625
  if (!te.show) {
@@ -637,12 +637,12 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
637
637
  }
638
638
  }
639
639
  function to() {
640
- pt.value = "", _e("selected", G.value);
640
+ pt.value = "", _e("selected", j.value);
641
641
  }
642
642
  return Gx(pt, () => {
643
- dn.value.length === 0 && (G.value = []);
644
- }), Gx(G, (rt) => {
645
- Qr(G.value) && (Ae.value = G.value.map((Me) => Me.id), _e("update:modelValue", Ae.value));
643
+ dn.value.length === 0 && (j.value = []);
644
+ }), Gx(j, (rt) => {
645
+ Qr(j.value) && (Ae.value = j.value.map((Me) => Me.id), _e("update:modelValue", Ae.value));
646
646
  }), (rt, Me) => (pe(), ye(Qn, null, [
647
647
  O.show ? (pe(), ye("div", {
648
648
  key: 0,
@@ -830,11 +830,11 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
830
830
  fill: "#1C64F2"
831
831
  })
832
832
  ], -1);
833
- function YK(O, ie, te, _e, ae, G) {
833
+ function YK(O, ie, te, _e, ae, j) {
834
834
  return te.is_loading ? (pe(), vm(o5("button"), {
835
835
  key: 1,
836
836
  disabled: "",
837
- class: an(` h-[2.5rem] flex items-center gap-2 focus:outline-none text-sm px-2 py-2 me-2 font-medium rounded-lg ${G.buttonTypeClass}`)
837
+ class: an(` h-[2.5rem] flex items-center gap-2 focus:outline-none text-sm px-2 py-2 me-2 font-medium rounded-lg ${j.buttonTypeClass}`)
838
838
  }, {
839
839
  default: U8(() => [
840
840
  KK,
@@ -847,7 +847,7 @@ function YK(O, ie, te, _e, ae, G) {
847
847
  disabled: te.is_disabled
848
848
  }, { type: te.is_submit ? "submit" : void 0 }, {
849
849
  href: te.tag === "a" ? te.href : void 0,
850
- class: ` ${te.is_disabled ? "cursor-not-allowed opacity-50" : ""} ${te.icon ? "flex" : ""} h-[2.5rem] items-center gap-2 focus:outline-none text-sm px-3 py-2 me-2 font-medium rounded-lg ${G.buttonTypeClass}`
850
+ class: ` ${te.is_disabled ? "cursor-not-allowed opacity-50" : ""} ${te.icon ? "flex" : ""} h-[2.5rem] items-center gap-2 focus:outline-none text-sm px-3 py-2 me-2 font-medium rounded-lg ${j.buttonTypeClass}`
851
851
  }), {
852
852
  default: U8(() => [
853
853
  te.icon ? (pe(), ye("i", {
@@ -909,11 +909,11 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
909
909
  },
910
910
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
911
911
  setup(O, { expose: ie, emit: te }) {
912
- const _e = O, ae = te, G = Eo(null), Ae = Eo(null), Q = () => {
912
+ const _e = O, ae = te, j = Eo(null), Ae = Eo(null), Q = () => {
913
913
  Ae.value && ae("update:modelValueTranslate", Ae.value.value);
914
914
  };
915
915
  return _g(() => {
916
- G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (ae("update:modelValue", _e.modelValue), G.value.value = _e.modelValue), _e.modelValueTranslate && (ae("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
916
+ j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus(), _e.modelValue && (ae("update:modelValue", _e.modelValue), j.value.value = _e.modelValue), _e.modelValueTranslate && (ae("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
917
917
  params: {
918
918
  model: _e.translatable.model,
919
919
  row_id: _e.translatable.row_id,
@@ -924,7 +924,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
924
924
  }).catch((Pe) => {
925
925
  console.log(Pe);
926
926
  });
927
- }), ie({ focus: () => G.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
927
+ }), ie({ focus: () => j.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
928
928
  O.show ? (pe(), ye("div", {
929
929
  key: 0,
930
930
  class: an(O.field_name)
@@ -982,7 +982,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
982
982
  onInput: pt[1] || (pt[1] = (qe) => Pe.$emit("update:modelValue", qe.target.value)),
983
983
  onKeydown: pt[2] || (pt[2] = (qe) => Pe.$emit("keydown", qe)),
984
984
  ref_key: "input",
985
- ref: G,
985
+ ref: j,
986
986
  rows: "4"
987
987
  }, `
988
988
  `, 42, sY),
@@ -1049,7 +1049,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1049
1049
  },
1050
1050
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1051
1051
  setup(O, { expose: ie, emit: te }) {
1052
- const _e = O, ae = te, G = Eo(null), Ae = Eo(null), Q = () => {
1052
+ const _e = O, ae = te, j = Eo(null), Ae = Eo(null), Q = () => {
1053
1053
  Ae.value && ae("update:modelValueTranslate", Ae.value.value);
1054
1054
  };
1055
1055
  return _g(() => {
@@ -1057,7 +1057,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1057
1057
  selector: "#" + _e.field_name,
1058
1058
  width: "100%",
1059
1059
  height: 300
1060
- }), G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (ae("update:modelValue", _e.modelValue), G.value.value = _e.modelValue), _e.modelValueTranslate && (ae("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
1060
+ }), j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus(), _e.modelValue && (ae("update:modelValue", _e.modelValue), j.value.value = _e.modelValue), _e.modelValueTranslate && (ae("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
1061
1061
  params: {
1062
1062
  model: _e.translatable.model,
1063
1063
  row_id: _e.translatable.row_id,
@@ -1068,7 +1068,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1068
1068
  }).catch((Pe) => {
1069
1069
  console.log(Pe);
1070
1070
  });
1071
- }), ie({ focus: () => G.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
1071
+ }), ie({ focus: () => j.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
1072
1072
  O.show ? (pe(), ye("div", {
1073
1073
  key: 0,
1074
1074
  class: an(O.field_name)
@@ -1125,7 +1125,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1125
1125
  onInput: pt[1] || (pt[1] = (qe) => Pe.$emit("update:modelValue", qe.target.value)),
1126
1126
  onKeydown: pt[2] || (pt[2] = (qe) => Pe.$emit("keydown", qe)),
1127
1127
  ref_key: "input",
1128
- ref: G,
1128
+ ref: j,
1129
1129
  rows: "4"
1130
1130
  }, `
1131
1131
  `, 42, gY),
@@ -1184,11 +1184,11 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1184
1184
  },
1185
1185
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1186
1186
  setup(O, { expose: ie, emit: te }) {
1187
- const _e = O, ae = te, G = Eo(null), Ae = Eo(null), Q = () => {
1187
+ const _e = O, ae = te, j = Eo(null), Ae = Eo(null), Q = () => {
1188
1188
  Ae.value && ae("update:modelValueTranslate", Ae.value.value);
1189
1189
  };
1190
1190
  return _g(() => {
1191
- G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (ae("update:modelValue", _e.modelValue), G.value.value = _e.modelValue), _e.modelValueTranslate && (ae("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
1191
+ j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus(), _e.modelValue && (ae("update:modelValue", _e.modelValue), j.value.value = _e.modelValue), _e.modelValueTranslate && (ae("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
1192
1192
  params: {
1193
1193
  model: _e.translatable.model,
1194
1194
  row_id: _e.translatable.row_id,
@@ -1199,7 +1199,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1199
1199
  }).catch((Pe) => {
1200
1200
  console.log(Pe);
1201
1201
  });
1202
- }), ie({ focus: () => G.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
1202
+ }), ie({ focus: () => j.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
1203
1203
  O.show ? (pe(), ye("div", {
1204
1204
  key: 0,
1205
1205
  class: an(O.field_name)
@@ -1256,7 +1256,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1256
1256
  onInput: pt[1] || (pt[1] = (qe) => Pe.$emit("update:modelValue", qe.target.value)),
1257
1257
  onKeydown: pt[2] || (pt[2] = (qe) => Pe.$emit("keydown", qe)),
1258
1258
  ref_key: "input",
1259
- ref: G
1259
+ ref: j
1260
1260
  }, null, 42, _Y),
1261
1261
  P("span", kY, gt(O.error_message), 1),
1262
1262
  P("small", TY, gt(O.description), 1)
@@ -1309,9 +1309,9 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1309
1309
  },
1310
1310
  emits: ["update:modelValue", "keydown"],
1311
1311
  setup(O, { expose: ie, emit: te }) {
1312
- const _e = O, ae = te, G = Eo(null);
1312
+ const _e = O, ae = te, j = Eo(null);
1313
1313
  _g(() => {
1314
- G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
1314
+ j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus();
1315
1315
  });
1316
1316
  const Ae = vc({
1317
1317
  get() {
@@ -1321,7 +1321,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1321
1321
  ae("update:modelValue", Q);
1322
1322
  }
1323
1323
  });
1324
- return ie({ focus: () => G.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
1324
+ return ie({ focus: () => j.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
1325
1325
  O.show ? (pe(), ye("div", {
1326
1326
  key: 0,
1327
1327
  class: an(O.field_name)
@@ -1355,7 +1355,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1355
1355
  "onUpdate:modelValue": Pe[0] || (Pe[0] = (pt) => Ae.value = pt),
1356
1356
  onKeydown: Pe[1] || (Pe[1] = (pt) => Q.$emit("keydown", pt)),
1357
1357
  ref_key: "input",
1358
- ref: G,
1358
+ ref: j,
1359
1359
  placeholder: O.placeholder
1360
1360
  }, null, 42, RY), [
1361
1361
  [JG, Ae.value]
@@ -1415,9 +1415,9 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1415
1415
  },
1416
1416
  emits: ["update:modelValue", "keydown"],
1417
1417
  setup(O, { expose: ie, emit: te }) {
1418
- const _e = O, ae = te, G = Eo(null);
1418
+ const _e = O, ae = te, j = Eo(null);
1419
1419
  _g(() => {
1420
- G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
1420
+ j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus();
1421
1421
  });
1422
1422
  const Ae = vc({
1423
1423
  get() {
@@ -1427,7 +1427,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1427
1427
  ae("update:modelValue", Q);
1428
1428
  }
1429
1429
  });
1430
- return ie({ focus: () => G.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
1430
+ return ie({ focus: () => j.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
1431
1431
  O.show ? (pe(), ye("div", {
1432
1432
  key: 0,
1433
1433
  class: an(O.field_name)
@@ -1463,7 +1463,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1463
1463
  "onUpdate:modelValue": Pe[0] || (Pe[0] = (pt) => Ae.value = pt),
1464
1464
  onKeydown: Pe[1] || (Pe[1] = (pt) => Q.$emit("keydown", pt)),
1465
1465
  ref_key: "input",
1466
- ref: G,
1466
+ ref: j,
1467
1467
  placeholder: O.placeholder
1468
1468
  }, null, 42, VY), [
1469
1469
  [JG, Ae.value]
@@ -1514,7 +1514,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1514
1514
  },
1515
1515
  emits: ["update:modelValue", "keydown"],
1516
1516
  setup(O, { emit: ie }) {
1517
- const te = O, _e = ie, ae = Eo(""), G = Eo({
1517
+ const te = O, _e = ie, ae = Eo(""), j = Eo({
1518
1518
  start: te.modelValue.start,
1519
1519
  end: te.modelValue.end
1520
1520
  });
@@ -1524,17 +1524,17 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1524
1524
  return te.modelValue.start;
1525
1525
  },
1526
1526
  set(pt) {
1527
- G.value.start = pt, Pe(G.value.start, G.value.end), _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end });
1527
+ j.value.start = pt, Pe(j.value.start, j.value.end), _e("update:modelValue", { start: j.value.start, end: j.value.end }), _e("keydown", { start: j.value.start, end: j.value.end });
1528
1528
  }
1529
1529
  }), Q = vc({
1530
1530
  get() {
1531
1531
  return te.modelValue.end;
1532
1532
  },
1533
1533
  set(pt) {
1534
- G.value.end = pt, Pe(G.value.start, G.value.end), _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end });
1534
+ j.value.end = pt, Pe(j.value.start, j.value.end), _e("update:modelValue", { start: j.value.start, end: j.value.end }), _e("keydown", { start: j.value.start, end: j.value.end });
1535
1535
  }
1536
1536
  }), Pe = (pt, qe) => {
1537
- pt && qe && new Date(pt) > new Date(qe) ? (ae.value = "Start date cannot be after end date.", G.value.start = "", G.value.end = "", _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end })) : pt && qe && new Date(qe) < new Date(pt) ? (ae.value = "End date cannot be before start date.", G.value.start = "", G.value.end = "", _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end })) : ae.value = "";
1537
+ pt && qe && new Date(pt) > new Date(qe) ? (ae.value = "Start date cannot be after end date.", j.value.start = "", j.value.end = "", _e("update:modelValue", { start: j.value.start, end: j.value.end }), _e("keydown", { start: j.value.start, end: j.value.end })) : pt && qe && new Date(qe) < new Date(pt) ? (ae.value = "End date cannot be before start date.", j.value.start = "", j.value.end = "", _e("update:modelValue", { start: j.value.start, end: j.value.end }), _e("keydown", { start: j.value.start, end: j.value.end })) : ae.value = "";
1538
1538
  };
1539
1539
  return (pt, qe) => (pe(), ye(Qn, null, [
1540
1540
  O.show ? (pe(), ye("div", {
@@ -1641,11 +1641,11 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1641
1641
  },
1642
1642
  emits: ["update:modelValue", "keydown"],
1643
1643
  setup(O, { emit: ie }) {
1644
- const te = ie, _e = Eo(null), ae = (G) => {
1645
- const Ae = G.target.files[0];
1646
- console.log(Ae), te("keydown", G), Ae && te("update:modelValue", Ae);
1644
+ const te = ie, _e = Eo(null), ae = (j) => {
1645
+ const Ae = j.target.files[0];
1646
+ console.log(Ae), te("keydown", j), Ae && te("update:modelValue", Ae);
1647
1647
  };
1648
- return (G, Ae) => (pe(), ye(Qn, null, [
1648
+ return (j, Ae) => (pe(), ye(Qn, null, [
1649
1649
  O.show ? (pe(), ye("div", {
1650
1650
  key: 0,
1651
1651
  class: an(O.field_name)
@@ -1690,15 +1690,15 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1690
1690
  props: {},
1691
1691
  emits: ["TabChange"],
1692
1692
  setup(O, { emit: ie }) {
1693
- const te = ie, _e = Rq(), ae = Eo(_e.default().map((Pe) => Pe.props)), G = Eo(ae.value[0].title);
1694
- QG("selectedTitle", G), te("TabChange", ae.value[0].title);
1693
+ const te = ie, _e = Rq(), ae = Eo(_e.default().map((Pe) => Pe.props)), j = Eo("");
1694
+ QG("selectedTitle", j);
1695
1695
  const Ae = (Pe) => {
1696
1696
  window.location.hash = encodeURIComponent(Pe), te("TabChange", Pe);
1697
1697
  }, Q = () => {
1698
1698
  const Pe = decodeURIComponent(window.location.hash.replace("#", "")), pt = ae.value.find((qe) => qe.title === Pe);
1699
- pt && (G.value = pt.title);
1699
+ pt ? j.value = pt.title : (j.value = ae.value[0].title, te("TabChange", ae.value[0].title));
1700
1700
  };
1701
- return Gx(G, (Pe) => {
1701
+ return Gx(j, (Pe) => {
1702
1702
  Ae(Pe);
1703
1703
  }), _g(() => {
1704
1704
  Q(), window.addEventListener("hashchange", Q);
@@ -1710,11 +1710,11 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1710
1710
  P("ul", dX, [
1711
1711
  (pe(!0), ye(Qn, null, sr(ae.value, (qe) => (pe(), ye("li", {
1712
1712
  key: qe.title,
1713
- onClick: (bn) => G.value = qe.title,
1713
+ onClick: (bn) => j.value = qe.title,
1714
1714
  class: "flex-auto -mb-px text-center"
1715
1715
  }, [
1716
1716
  P("a", {
1717
- class: an([{ "text-slate-600 bg-white dark:bg-meta-4": G.value != qe.title, "text-white bg-slate-600 dark:bg-primary": G.value === qe.title }, "block px-5 py-3 text-xs font-bold leading-normal rounded shadow-lg hover:text-white tex hover:bg-slate-600 dark:hover:bg-primary dark:text-white tabs_buttons"])
1717
+ class: an([{ "text-slate-600 bg-white dark:bg-meta-4": j.value != qe.title, "text-white bg-slate-600 dark:bg-primary": j.value === qe.title }, "block px-5 py-3 text-xs font-bold leading-normal rounded shadow-lg hover:text-white tex hover:bg-slate-600 dark:hover:bg-primary dark:text-white tabs_buttons"])
1718
1718
  }, [
1719
1719
  P("i", {
1720
1720
  class: an([qe.icon, "mr-1 text-base"])
@@ -1745,7 +1745,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1745
1745
  key: 0,
1746
1746
  class: "block"
1747
1747
  };
1748
- function vX(O, ie, te, _e, ae, G) {
1748
+ function vX(O, ie, te, _e, ae, j) {
1749
1749
  return te.title == _e.selectedTitle ? (pe(), ye("div", bX, [
1750
1750
  yf(O.$slots, "default")
1751
1751
  ])) : ut("", !0);
@@ -1811,13 +1811,13 @@ const Gae = /* @__PURE__ */ qr(pX, [["render", vX]]), yX = {
1811
1811
  let O = this, ie = document.getElementById("slider_" + this.Random_string);
1812
1812
  const te = (ae) => {
1813
1813
  ie.style.cursor = "grabbing";
1814
- const G = (Q) => {
1814
+ const j = (Q) => {
1815
1815
  const Pe = Q.clientX || Q.touches && Q.touches[0] && Q.touches[0].clientX, pt = Q.clientY || Q.touches && Q.touches[0] && Q.touches[0].clientY, qe = Pe - O.initialX, bn = pt - O.initialY;
1816
1816
  Math.abs(qe) > Math.abs(bn) ? (Q.preventDefault(), Math.abs(qe) >= 70 && (qe < 0 ? O.next() : O.prev(), O.initialX = Pe)) : ie.style.cursor = "grab", Math.abs(bn) > Math.abs(qe) && (ie.style.cursor = "grab");
1817
1817
  }, Ae = () => {
1818
- document.removeEventListener("mousemove", G), document.removeEventListener("touchmove", G), document.removeEventListener("mouseup", Ae), document.removeEventListener("touchend", Ae), ie.style.cursor = "grab";
1818
+ document.removeEventListener("mousemove", j), document.removeEventListener("touchmove", j), document.removeEventListener("mouseup", Ae), document.removeEventListener("touchend", Ae), ie.style.cursor = "grab";
1819
1819
  };
1820
- document.addEventListener("mousemove", G), document.addEventListener("touchmove", G, { passive: !1 }), document.addEventListener("mouseup", Ae), document.addEventListener("touchend", Ae), O.initialX = ae.clientX || ae.touches && ae.touches[0] && ae.touches[0].clientX, O.initialY = ae.clientY || ae.touches && ae.touches[0] && ae.touches[0].clientY;
1820
+ document.addEventListener("mousemove", j), document.addEventListener("touchmove", j, { passive: !1 }), document.addEventListener("mouseup", Ae), document.addEventListener("touchend", Ae), O.initialX = ae.clientX || ae.touches && ae.touches[0] && ae.touches[0].clientX, O.initialY = ae.clientY || ae.touches && ae.touches[0] && ae.touches[0].clientY;
1821
1821
  }, _e = (ae) => {
1822
1822
  ae.key === "ArrowLeft" ? O.prev() : ae.key === "ArrowRight" && O.next();
1823
1823
  };
@@ -1830,8 +1830,8 @@ const Gae = /* @__PURE__ */ qr(pX, [["render", vX]]), yX = {
1830
1830
  this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
1831
1831
  },
1832
1832
  initSlider() {
1833
- let O = document.getElementById("sliderContainer_" + this.Random_string), ie = document.getElementById("mainSliderContainer_" + this.Random_string), te = document.getElementById("slider_" + this.Random_string), _e = te.querySelectorAll("li"), ae = Array.from(_e).filter((Q) => Q.parentNode === te), G = O.clientWidth, Ae = G / this.elementsToShow;
1834
- if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, Ae = this.hide_arrow ? ie.clientWidth : G) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, Ae = this.hide_arrow ? ie.clientWidth : G), ae.length > 1) {
1833
+ let O = document.getElementById("sliderContainer_" + this.Random_string), ie = document.getElementById("mainSliderContainer_" + this.Random_string), te = document.getElementById("slider_" + this.Random_string), _e = te.querySelectorAll("li"), ae = Array.from(_e).filter((Q) => Q.parentNode === te), j = O.clientWidth, Ae = j / this.elementsToShow;
1834
+ if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, Ae = this.hide_arrow ? ie.clientWidth : j) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, Ae = this.hide_arrow ? ie.clientWidth : j), ae.length > 1) {
1835
1835
  this.dotsNum = this.elementsToShow == 1 ? ae.length : ae.length - this.elementsToShow + 1;
1836
1836
  let Q = this.elementsToShow == 1 ? Ae * ae.length / this.dotsNum : Ae * (ae.length - this.elementsToShow) / (this.dotsNum - 1);
1837
1837
  this.dotsNavigation = [];
@@ -2034,7 +2034,7 @@ const Gae = /* @__PURE__ */ qr(pX, [["render", vX]]), yX = {
2034
2034
  }, null, -1)), CJ = [
2035
2035
  xJ
2036
2036
  ];
2037
- function SJ(O, ie, te, _e, ae, G) {
2037
+ function SJ(O, ie, te, _e, ae, j) {
2038
2038
  return pe(), ye("div", null, [
2039
2039
  P("div", {
2040
2040
  class: an(["", !te.hide_arrow && te.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
@@ -2044,7 +2044,7 @@ function SJ(O, ie, te, _e, ae, G) {
2044
2044
  P("div", CX, [
2045
2045
  P("button", {
2046
2046
  class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
2047
- onClick: ie[0] || (ie[0] = (Ae) => G.prev())
2047
+ onClick: ie[0] || (ie[0] = (Ae) => j.prev())
2048
2048
  }, [
2049
2049
  te.direction_property == "ltr" ? (pe(), ye("svg", SX, kX)) : ut("", !0),
2050
2050
  te.direction_property == "rtl" ? (pe(), ye("svg", TX, AX)) : ut("", !0)
@@ -2052,7 +2052,7 @@ function SJ(O, ie, te, _e, ae, G) {
2052
2052
  ])
2053
2053
  ])) : ut("", !0),
2054
2054
  P("div", {
2055
- class: an(["overflow-hidden", G.sliderContainerAction()]),
2055
+ class: an(["overflow-hidden", j.sliderContainerAction()]),
2056
2056
  id: "sliderContainer_" + O.Random_string
2057
2057
  }, [
2058
2058
  P("ul", {
@@ -2066,7 +2066,7 @@ function SJ(O, ie, te, _e, ae, G) {
2066
2066
  P("div", RX, [
2067
2067
  P("button", {
2068
2068
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2069
- onClick: ie[1] || (ie[1] = oc((Ae) => G.prev(), ["stop"]))
2069
+ onClick: ie[1] || (ie[1] = oc((Ae) => j.prev(), ["stop"]))
2070
2070
  }, [
2071
2071
  te.direction_property == "ltr" ? (pe(), ye("svg", $X, PX)) : ut("", !0),
2072
2072
  te.direction_property == "rtl" ? (pe(), ye("svg", NX, IX)) : ut("", !0)
@@ -2081,7 +2081,7 @@ function SJ(O, ie, te, _e, ae, G) {
2081
2081
  P("div", LX, [
2082
2082
  P("button", {
2083
2083
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2084
- onClick: ie[2] || (ie[2] = oc((Ae) => G.next(), ["stop"]))
2084
+ onClick: ie[2] || (ie[2] = oc((Ae) => j.next(), ["stop"]))
2085
2085
  }, [
2086
2086
  te.direction_property == "ltr" ? (pe(), ye("svg", FX, VX)) : ut("", !0),
2087
2087
  te.direction_property == "rtl" ? (pe(), ye("svg", zX, WX)) : ut("", !0)
@@ -2091,24 +2091,24 @@ function SJ(O, ie, te, _e, ae, G) {
2091
2091
  ], 8, OX),
2092
2092
  te.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (pe(), ye("div", {
2093
2093
  key: 0,
2094
- class: an(["flex justify-center mb-1 space-x-1", G.sliderIndicatorsAction()])
2094
+ class: an(["flex justify-center mb-1 space-x-1", j.sliderIndicatorsAction()])
2095
2095
  }, [
2096
2096
  (pe(!0), ye(Qn, null, sr(O.dotsNum, (Ae) => (pe(), ye("button", {
2097
2097
  role: "button",
2098
2098
  class: an(["gl-dot", { active: O.currentDot == Ae }]),
2099
2099
  key: Ae,
2100
- onClick: (Q) => G.setDot(Ae)
2100
+ onClick: (Q) => j.setDot(Ae)
2101
2101
  }, GX, 10, ZX))), 128))
2102
2102
  ], 2)) : ut("", !0),
2103
2103
  te.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (pe(), ye("div", qX, [
2104
2104
  P("div", {
2105
- class: an(["flex justify-center mb-1 space-x-1", G.sliderIndicatorsAction()])
2105
+ class: an(["flex justify-center mb-1 space-x-1", j.sliderIndicatorsAction()])
2106
2106
  }, [
2107
2107
  (pe(!0), ye(Qn, null, sr(O.dotsNum, (Ae) => (pe(), ye("button", {
2108
2108
  role: "button",
2109
2109
  class: an(["gl-dot", { active: O.currentDot == Ae }]),
2110
2110
  key: Ae,
2111
- onClick: (Q) => G.setDot(Ae)
2111
+ onClick: (Q) => j.setDot(Ae)
2112
2112
  }, XX, 10, KX))), 128))
2113
2113
  ], 2),
2114
2114
  O.dotsNum > 0 ? (pe(), ye("div", JX, [
@@ -2116,7 +2116,7 @@ function SJ(O, ie, te, _e, ae, G) {
2116
2116
  P("div", eJ, [
2117
2117
  P("button", {
2118
2118
  class: an(["p-3 rounded-full arrow_button_styles", te.direction_property == "rtl" ? "ml-3" : "mr-3"]),
2119
- onClick: ie[3] || (ie[3] = (Ae) => G.prev())
2119
+ onClick: ie[3] || (ie[3] = (Ae) => j.prev())
2120
2120
  }, [
2121
2121
  te.direction_property == "ltr" ? (pe(), ye("svg", tJ, oJ)) : ut("", !0),
2122
2122
  te.direction_property == "rtl" ? (pe(), ye("svg", sJ, aJ)) : ut("", !0)
@@ -2127,7 +2127,7 @@ function SJ(O, ie, te, _e, ae, G) {
2127
2127
  P("div", cJ, [
2128
2128
  P("button", {
2129
2129
  class: "p-3 rounded-full arrow_button_styles",
2130
- onClick: ie[4] || (ie[4] = (Ae) => G.next())
2130
+ onClick: ie[4] || (ie[4] = (Ae) => j.next())
2131
2131
  }, [
2132
2132
  te.direction_property == "ltr" ? (pe(), ye("svg", iJ, dJ)) : ut("", !0),
2133
2133
  te.direction_property == "rtl" ? (pe(), ye("svg", mJ, gJ)) : ut("", !0)
@@ -2141,7 +2141,7 @@ function SJ(O, ie, te, _e, ae, G) {
2141
2141
  P("div", pJ, [
2142
2142
  P("button", {
2143
2143
  class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
2144
- onClick: ie[5] || (ie[5] = (Ae) => G.next())
2144
+ onClick: ie[5] || (ie[5] = (Ae) => j.next())
2145
2145
  }, [
2146
2146
  te.direction_property == "ltr" ? (pe(), ye("svg", bJ, yJ)) : ut("", !0),
2147
2147
  te.direction_property == "rtl" ? (pe(), ye("svg", wJ, CJ)) : ut("", !0)
@@ -2195,15 +2195,15 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2195
2195
  setup(O, { emit: ie }) {
2196
2196
  const te = O, _e = ie, ae = () => {
2197
2197
  document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
2198
- }, G = () => {
2198
+ }, j = () => {
2199
2199
  document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
2200
2200
  }, Ae = () => {
2201
- _e("closeModal"), G();
2201
+ _e("closeModal"), j();
2202
2202
  };
2203
2203
  return Gx(
2204
2204
  () => te.is_open,
2205
2205
  (Q, Pe) => {
2206
- Q ? ae() : G();
2206
+ Q ? ae() : j();
2207
2207
  },
2208
2208
  { immediate: !0, deep: !0 }
2209
2209
  ), (Q, Pe) => O.is_open ? (pe(), ye("div", {
@@ -2291,7 +2291,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2291
2291
  },
2292
2292
  emits: ["update:modelValue"],
2293
2293
  setup(O, { emit: ie }) {
2294
- const te = O, _e = ie, ae = Eo(null), G = vc({
2294
+ const te = O, _e = ie, ae = Eo(null), j = vc({
2295
2295
  get() {
2296
2296
  return te.modelValue;
2297
2297
  },
@@ -2345,9 +2345,9 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2345
2345
  "false-value": 0,
2346
2346
  ref_key: "input",
2347
2347
  ref: ae,
2348
- "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => G.value = Pe)
2348
+ "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => j.value = Pe)
2349
2349
  }, null, 8, FJ), [
2350
- [tq, G.value]
2350
+ [tq, j.value]
2351
2351
  ]),
2352
2352
  HJ
2353
2353
  ])
@@ -2402,7 +2402,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2402
2402
  },
2403
2403
  emits: ["update:modelValue"],
2404
2404
  setup(O, { emit: ie }) {
2405
- const te = O, _e = ie, ae = Eo(null), G = vc({
2405
+ const te = O, _e = ie, ae = Eo(null), j = vc({
2406
2406
  get() {
2407
2407
  return te.modelValue;
2408
2408
  },
@@ -2452,9 +2452,9 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2452
2452
  id: O.field_name,
2453
2453
  ref_key: "input",
2454
2454
  ref: ae,
2455
- "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => G.value = Pe)
2455
+ "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => j.value = Pe)
2456
2456
  }, null, 8, JJ), [
2457
- [tq, G.value]
2457
+ [tq, j.value]
2458
2458
  ]),
2459
2459
  QJ
2460
2460
  ])
@@ -2563,7 +2563,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2563
2563
  setup(O, { emit: ie }) {
2564
2564
  const te = O, _e = ie;
2565
2565
  Eo(null);
2566
- const ae = Eo({}), G = Eo(0), Ae = Eo(!1), Q = Eo(""), Pe = Eo(""), pt = Eo(null), qe = Eo(0), bn = Eo(0), mn = () => {
2566
+ const ae = Eo({}), j = Eo(0), Ae = Eo(!1), Q = Eo(""), Pe = Eo(""), pt = Eo(null), qe = Eo(0), bn = Eo(0), mn = () => {
2567
2567
  if (pt.value) {
2568
2568
  qe.value = pt.value.offsetWidth;
2569
2569
  var Bt = pt.value.getBoundingClientRect();
@@ -2612,7 +2612,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2612
2612
  return Bt !== null && typeof Bt == "object" && Object.keys(Bt).length > 0;
2613
2613
  }
2614
2614
  function kt(Bt) {
2615
- Bt.target.id != te.field_name + "search" + Pe.value && Bt.target.id != te.field_name && !Bt.target.classList.contains("showOptions") && (os(), G.value = 0, Ae.value = !1);
2615
+ Bt.target.id != te.field_name + "search" + Pe.value && Bt.target.id != te.field_name && !Bt.target.classList.contains("showOptions") && (os(), j.value = 0, Ae.value = !1);
2616
2616
  }
2617
2617
  function Qr(Bt) {
2618
2618
  const Dt = `${Bt}${Pe.value}`, A = document.getElementById(Dt);
@@ -2623,7 +2623,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2623
2623
  A && A.click();
2624
2624
  }
2625
2625
  function se(Bt) {
2626
- Bt === "ArrowDown" && G.value < Rt.value.length && (G.value++, Qr(G.value)), Bt === "ArrowUp" && G.value > 1 && (G.value--, Qr(G.value)), Bt === "Enter" && eo(G.value);
2626
+ Bt === "ArrowDown" && j.value < Rt.value.length && (j.value++, Qr(j.value)), Bt === "ArrowUp" && j.value > 1 && (j.value--, Qr(j.value)), Bt === "Enter" && eo(j.value);
2627
2627
  }
2628
2628
  function Nn() {
2629
2629
  return te.options.map((Bt, Dt) => typeof Bt == "object" ? Bt : { id: Bt, name: Bt });
@@ -2762,7 +2762,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2762
2762
  return pe(), ye("div", {
2763
2763
  class: an([
2764
2764
  "relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
2765
- rt + 1 == G.value ? "bg-gray-100 dark:bg-gray-600" : ""
2765
+ rt + 1 == j.value ? "bg-gray-100 dark:bg-gray-600" : ""
2766
2766
  ]),
2767
2767
  onClick: (nn) => In(to),
2768
2768
  onMousedown: (nn) => In(to),
@@ -2836,9 +2836,9 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2836
2836
  },
2837
2837
  emits: ["update:modelValue", "keydown"],
2838
2838
  setup(O, { expose: ie, emit: te }) {
2839
- const _e = O, ae = te, G = Eo(null);
2839
+ const _e = O, ae = te, j = Eo(null);
2840
2840
  _g(() => {
2841
- G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
2841
+ j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus();
2842
2842
  });
2843
2843
  const Ae = vc({
2844
2844
  get() {
@@ -2848,7 +2848,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2848
2848
  ae("update:modelValue", Q);
2849
2849
  }
2850
2850
  });
2851
- return ie({ focus: () => G.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
2851
+ return ie({ focus: () => j.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
2852
2852
  O.show ? (pe(), ye("div", {
2853
2853
  key: 0,
2854
2854
  class: an(O.field_name)
@@ -2884,7 +2884,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2884
2884
  "onUpdate:modelValue": Pe[0] || (Pe[0] = (pt) => Ae.value = pt),
2885
2885
  onKeydown: Pe[1] || (Pe[1] = (pt) => Q.$emit("keydown", pt)),
2886
2886
  ref_key: "input",
2887
- ref: G,
2887
+ ref: j,
2888
2888
  rows: "4",
2889
2889
  placeholder: O.placeholder
2890
2890
  }, null, 42, DQ), [
@@ -2923,15 +2923,15 @@ var oq = { exports: {} };
2923
2923
  var o = Array.prototype.slice.call(e);
2924
2924
  return o.sort(n);
2925
2925
  }, ae = function(e, n) {
2926
- return G(function(o, r) {
2926
+ return j(function(o, r) {
2927
2927
  return e.eq(n(o), n(r));
2928
2928
  });
2929
- }, G = function(e) {
2929
+ }, j = function(e) {
2930
2930
  return { eq: e };
2931
- }, Ae = G(function(e, n) {
2931
+ }, Ae = j(function(e, n) {
2932
2932
  return e === n;
2933
2933
  }), Q = Ae, Pe = function(e) {
2934
- return G(function(n, o) {
2934
+ return j(function(n, o) {
2935
2935
  if (n.length !== o.length)
2936
2936
  return !1;
2937
2937
  for (var r = n.length, l = 0; l < r; l++)
@@ -2944,7 +2944,7 @@ var oq = { exports: {} };
2944
2944
  return _e(o, n);
2945
2945
  });
2946
2946
  }, qe = function(e) {
2947
- return G(function(n, o) {
2947
+ return j(function(n, o) {
2948
2948
  var r = Object.keys(n), l = Object.keys(o);
2949
2949
  if (!pt(Q).eq(r, l))
2950
2950
  return !1;
@@ -2955,7 +2955,7 @@ var oq = { exports: {} };
2955
2955
  }
2956
2956
  return !0;
2957
2957
  });
2958
- }, bn = G(function(e, n) {
2958
+ }, bn = j(function(e, n) {
2959
2959
  if (e === n)
2960
2960
  return !0;
2961
2961
  var o = ie(e), r = ie(n);
@@ -3440,7 +3440,7 @@ var oq = { exports: {} };
3440
3440
  opera: at(rr),
3441
3441
  firefox: at(yl),
3442
3442
  safari: at(Fl)
3443
- }, Zu = "Windows", wl = "iOS", Ji = "Android", $a = "Linux", Sc = "macOS", hi = "Solaris", pu = "FreeBSD", ju = "ChromeOS", j = () => me({
3443
+ }, Zu = "Windows", wl = "iOS", Ji = "Android", $a = "Linux", Sc = "macOS", hi = "Solaris", pu = "FreeBSD", ju = "ChromeOS", G = () => me({
3444
3444
  current: void 0,
3445
3445
  version: Ll.unknown()
3446
3446
  }), me = (e) => {
@@ -3458,7 +3458,7 @@ var oq = { exports: {} };
3458
3458
  isChromeOS: r(ju)
3459
3459
  };
3460
3460
  }, Te = {
3461
- unknown: j,
3461
+ unknown: G,
3462
3462
  nu: me,
3463
3463
  windows: at(Zu),
3464
3464
  ios: at(wl),
@@ -20306,7 +20306,7 @@ tinymce.IconManager.add("default", {
20306
20306
  }, te = (t) => {
20307
20307
  const s = typeof t;
20308
20308
  return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && ie(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
20309
- }, _e = (t) => (s) => te(s) === t, ae = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Ae = (t, s) => Pe(t) && ie(t, s, (a, c) => O(a) === c), Q = _e("string"), Pe = _e("object"), pt = (t) => Ae(t, Object), qe = _e("array"), bn = G(null), mn = ae("boolean"), No = G(void 0), us = (t) => t == null, Oo = (t) => !us(t), Rt = ae("function"), pr = ae("number"), dn = (t, s) => {
20309
+ }, _e = (t) => (s) => te(s) === t, ae = (t) => (s) => typeof s === t, j = (t) => (s) => t === s, Ae = (t, s) => Pe(t) && ie(t, s, (a, c) => O(a) === c), Q = _e("string"), Pe = _e("object"), pt = (t) => Ae(t, Object), qe = _e("array"), bn = j(null), mn = ae("boolean"), No = j(void 0), us = (t) => t == null, Oo = (t) => !us(t), Rt = ae("function"), pr = ae("number"), dn = (t, s) => {
20310
20310
  if (qe(t)) {
20311
20311
  for (let a = 0, c = t.length; a < c; ++a)
20312
20312
  if (!s(t[a]))
@@ -20654,9 +20654,9 @@ tinymce.IconManager.add("default", {
20654
20654
  }), ju = (t, s) => {
20655
20655
  const a = $a(t);
20656
20656
  return a.length > 0 && s < a.length ? pu(a[s], 0) : pu(t, s);
20657
- }, j = (t) => zc(t) && Oo(t.dom.host), me = Rt(Element.prototype.attachShadow) && Rt(Node.prototype.getRootNode), Te = se(me), Ie = me ? (t) => Ee.fromDom(t.dom.getRootNode()) : rr, ft = (t) => j(t) ? t : Ee.fromDom(rr(t).dom.body), fn = (t) => Wo(t).isSome(), Wo = (t) => {
20657
+ }, G = (t) => zc(t) && Oo(t.dom.host), me = Rt(Element.prototype.attachShadow) && Rt(Node.prototype.getRootNode), Te = se(me), Ie = me ? (t) => Ee.fromDom(t.dom.getRootNode()) : rr, ft = (t) => G(t) ? t : Ee.fromDom(rr(t).dom.body), fn = (t) => Wo(t).isSome(), Wo = (t) => {
20658
20658
  const s = Ie(t);
20659
- return j(s) ? A.some(s) : A.none();
20659
+ return G(s) ? A.some(s) : A.none();
20660
20660
  }, rs = (t) => Ee.fromDom(t.dom.host), Zo = (t) => {
20661
20661
  if (Te() && Oo(t.target)) {
20662
20662
  const s = Ee.fromDom(t.target);
@@ -21672,7 +21672,7 @@ Required: ` + s.join(", "));
21672
21672
  const s = Ee.fromTag("div"), a = Ee.fromDom(t.dom.cloneNode(!0));
21673
21673
  return ja(s, a), By(s);
21674
21674
  }, _b = (t, s) => Ee.fromDom(t.dom.cloneNode(s)), Iy = (t) => _b(t, !1), DT = (t) => _b(t, !0), Ly = (t) => {
21675
- if (j(t))
21675
+ if (G(t))
21676
21676
  return "#shadow-root";
21677
21677
  {
21678
21678
  const s = Iy(t);
@@ -41488,7 +41488,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
41488
41488
  }, te = (i) => {
41489
41489
  const m = typeof i;
41490
41490
  return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && ie(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
41491
- }, _e = (i) => (m) => te(m) === i, ae = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Ae = _e("string"), Q = _e("object"), Pe = _e("array"), pt = G(null), qe = ae("boolean"), bn = G(void 0), mn = (i) => i == null, No = (i) => !mn(i), us = ae("function"), Oo = ae("number"), Rt = () => {
41491
+ }, _e = (i) => (m) => te(m) === i, ae = (i) => (m) => typeof m === i, j = (i) => (m) => i === m, Ae = _e("string"), Q = _e("object"), Pe = _e("array"), pt = j(null), qe = ae("boolean"), bn = j(void 0), mn = (i) => i == null, No = (i) => !mn(i), us = ae("function"), Oo = ae("number"), Rt = () => {
41492
41492
  }, pr = (i, m) => (...h) => i(m.apply(null, h)), dn = (i, m) => (h) => i(m(h)), fe = (i) => () => i, kt = (i) => i, Qr = (i, m) => i === m;
41493
41493
  function eo(i, ...m) {
41494
41494
  return (...h) => {
@@ -41886,7 +41886,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
41886
41886
  rowspan: m,
41887
41887
  colspan: h,
41888
41888
  isNew: v
41889
- }), j = (i, m, h, v, _, D) => ({
41889
+ }), G = (i, m, h, v, _, D) => ({
41890
41890
  element: i,
41891
41891
  rowspan: m,
41892
41892
  colspan: h,
@@ -42357,7 +42357,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
42357
42357
  let Xe = 0;
42358
42358
  for (; m[Gc(Z, Xe)] !== void 0; )
42359
42359
  Xe++;
42360
- const Jt = qo(_, Xe.toString()), Tn = j(Lt.element, Lt.rowspan, Lt.colspan, Z, Xe, Jt);
42360
+ const Jt = qo(_, Xe.toString()), Tn = G(Lt.element, Lt.rowspan, Lt.colspan, Z, Xe, Jt);
42361
42361
  for (let Wn = 0; Wn < Lt.colspan; Wn++)
42362
42362
  for (let qs = 0; qs < Lt.rowspan; qs++) {
42363
42363
  const ka = Z + qs, kr = Xe + Wn, Pc = Gc(ka, kr);
@@ -45731,7 +45731,7 @@ Required: ` + m.join(", "));
45731
45731
  }, te = (S) => {
45732
45732
  const $ = typeof S;
45733
45733
  return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && ie(S, String, (U, le) => le.isPrototypeOf(U)) ? "string" : $;
45734
- }, _e = (S) => ($) => te($) === S, ae = (S) => ($) => typeof $ === S, G = _e("string"), Ae = _e("object"), Q = _e("array"), Pe = ae("boolean"), pt = (S) => S == null, qe = (S) => !pt(S), bn = ae("function"), mn = ae("number"), No = () => {
45734
+ }, _e = (S) => ($) => te($) === S, ae = (S) => ($) => typeof $ === S, j = _e("string"), Ae = _e("object"), Q = _e("array"), Pe = ae("boolean"), pt = (S) => S == null, qe = (S) => !pt(S), bn = ae("function"), mn = ae("number"), No = () => {
45735
45735
  }, us = (S, $) => (U) => S($(U)), Oo = (S) => () => S, Rt = (S, $) => S === $;
45736
45736
  function pr(S, ...$) {
45737
45737
  return (...U) => {
@@ -46016,7 +46016,7 @@ Required: ` + m.join(", "));
46016
46016
  const U = {};
46017
46017
  return Yi(S, $, nl(U), No), U;
46018
46018
  }, Es = (S, $, U) => {
46019
- if (G(U) || Pe(U) || mn(U))
46019
+ if (j(U) || Pe(U) || mn(U))
46020
46020
  S.setAttribute($, U + "");
46021
46021
  else
46022
46022
  throw console.error("Invalid call to Attribute.set. Key ", $, ":: Value ", U, ":: Element ", S), new Error("Attribute value was not simple");
@@ -46047,7 +46047,7 @@ Required: ` + m.join(", "));
46047
46047
  processor: "boolean",
46048
46048
  default: !0
46049
46049
  });
46050
- }, hi = $a("lists_indent_on_tab"), pu = $a("forced_root_block"), ju = $a("forced_root_block_attrs"), j = (S, $) => {
46050
+ }, hi = $a("lists_indent_on_tab"), pu = $a("forced_root_block"), ju = $a("forced_root_block_attrs"), G = (S, $) => {
46051
46051
  const U = S.dom, le = S.schema.getBlockElements(), he = U.createFragment(), it = pu(S), Kt = ju(S);
46052
46052
  let On, kn, vn = !1;
46053
46053
  for (kn = U.create(it, Kt), Hl($.firstChild, le) || he.appendChild(kn); On = $.firstChild; ) {
@@ -46061,7 +46061,7 @@ Required: ` + m.join(", "));
46061
46061
  Ws && ua.each(he, (oa) => {
46062
46062
  Ws.insertBefore(oa, U.parentNode);
46063
46063
  }), me.remove(vn);
46064
- }, he = me.select('span[data-mce-type="bookmark"]', $), it = j(S, U), Kt = me.createRng();
46064
+ }, he = me.select('span[data-mce-type="bookmark"]', $), it = G(S, U), Kt = me.createRng();
46065
46065
  Kt.setStartAfter(U), Kt.setEndAfter($);
46066
46066
  const On = Kt.extractContents();
46067
46067
  for (let vn = On.firstChild; vn; vn = vn.firstChild)
@@ -46164,7 +46164,7 @@ Required: ` + m.join(", "));
46164
46164
  action: $,
46165
46165
  element: U
46166
46166
  }), $h = ((S) => ($) => $.replace(S, ""))(/^\s+|\s+$/g), Mh = (S) => S.length > 0, Bo = (S) => !Mh(S), Wc = (S) => S.style !== void 0 && bn(S.style.getPropertyValue), Qi = (S, $, U) => {
46167
- if (!G(U))
46167
+ if (!j(U))
46168
46168
  throw console.error("Invalid call to CSS.set. Property ", $, ":: Value ", U, ":: Element ", S), new Error("CSS value must be a string: " + U);
46169
46169
  Wc(S) && S.style.setProperty($, U);
46170
46170
  }, xl = (S, $, U) => {
@@ -46320,7 +46320,7 @@ Required: ` + m.join(", "));
46320
46320
  const U = Zc($);
46321
46321
  return We(U, (le) => {
46322
46322
  const he = Ph(le) ? pi([wn.fromHtml(`<!--${le.content}-->`)]) : pi(le.content);
46323
- return wn.fromDom(j(S, he.dom));
46323
+ return wn.fromDom(G(S, he.dom));
46324
46324
  });
46325
46325
  }, Eg = (S, $) => {
46326
46326
  const U = Zc($);
@@ -46873,22 +46873,22 @@ Required: ` + m.join(", "));
46873
46873
  })();
46874
46874
  (function() {
46875
46875
  var O = tinymce.util.Tools.resolve("tinymce.PluginManager");
46876
- const ie = (j, me, Te) => {
46876
+ const ie = (G, me, Te) => {
46877
46877
  var Ie;
46878
- return Te(j, me.prototype) ? !0 : ((Ie = j.constructor) === null || Ie === void 0 ? void 0 : Ie.name) === me.name;
46879
- }, te = (j) => {
46880
- const me = typeof j;
46881
- return j === null ? "null" : me === "object" && Array.isArray(j) ? "array" : me === "object" && ie(j, String, (Te, Ie) => Ie.isPrototypeOf(Te)) ? "string" : me;
46882
- }, _e = (j) => (me) => te(me) === j, ae = (j) => (me) => typeof me === j, G = (j) => (me) => j === me, Ae = _e("string"), Q = _e("object"), Pe = _e("array"), pt = G(null), qe = ae("boolean"), bn = (j) => j == null, mn = (j) => !bn(j), No = ae("function"), us = (j, me) => {
46883
- if (Pe(j)) {
46884
- for (let Te = 0, Ie = j.length; Te < Ie; ++Te)
46885
- if (!me(j[Te]))
46878
+ return Te(G, me.prototype) ? !0 : ((Ie = G.constructor) === null || Ie === void 0 ? void 0 : Ie.name) === me.name;
46879
+ }, te = (G) => {
46880
+ const me = typeof G;
46881
+ return G === null ? "null" : me === "object" && Array.isArray(G) ? "array" : me === "object" && ie(G, String, (Te, Ie) => Ie.isPrototypeOf(Te)) ? "string" : me;
46882
+ }, _e = (G) => (me) => te(me) === G, ae = (G) => (me) => typeof me === G, j = (G) => (me) => G === me, Ae = _e("string"), Q = _e("object"), Pe = _e("array"), pt = j(null), qe = ae("boolean"), bn = (G) => G == null, mn = (G) => !bn(G), No = ae("function"), us = (G, me) => {
46883
+ if (Pe(G)) {
46884
+ for (let Te = 0, Ie = G.length; Te < Ie; ++Te)
46885
+ if (!me(G[Te]))
46886
46886
  return !1;
46887
46887
  return !0;
46888
46888
  }
46889
46889
  return !1;
46890
46890
  }, Oo = () => {
46891
- }, Rt = (j) => () => j, pr = (j, me) => j === me;
46891
+ }, Rt = (G) => () => G, pr = (G, me) => G === me;
46892
46892
  class dn {
46893
46893
  constructor(me, Te) {
46894
46894
  this.tag = me, this.value = Te;
@@ -46960,44 +46960,44 @@ Required: ` + m.join(", "));
46960
46960
  }
46961
46961
  }
46962
46962
  dn.singletonNone = new dn(!1);
46963
- const fe = Array.prototype.indexOf, kt = Array.prototype.push, Qr = (j, me) => fe.call(j, me), eo = (j, me) => Qr(j, me) > -1, se = (j, me) => {
46964
- const Te = j.length, Ie = new Array(Te);
46963
+ const fe = Array.prototype.indexOf, kt = Array.prototype.push, Qr = (G, me) => fe.call(G, me), eo = (G, me) => Qr(G, me) > -1, se = (G, me) => {
46964
+ const Te = G.length, Ie = new Array(Te);
46965
46965
  for (let ft = 0; ft < Te; ft++) {
46966
- const fn = j[ft];
46966
+ const fn = G[ft];
46967
46967
  Ie[ft] = me(fn, ft);
46968
46968
  }
46969
46969
  return Ie;
46970
- }, Nn = (j, me) => {
46971
- for (let Te = 0, Ie = j.length; Te < Ie; Te++) {
46972
- const ft = j[Te];
46970
+ }, Nn = (G, me) => {
46971
+ for (let Te = 0, Ie = G.length; Te < Ie; Te++) {
46972
+ const ft = G[Te];
46973
46973
  me(ft, Te);
46974
46974
  }
46975
- }, ds = (j, me, Te) => (Nn(j, (Ie, ft) => {
46975
+ }, ds = (G, me, Te) => (Nn(G, (Ie, ft) => {
46976
46976
  Te = me(Te, Ie, ft);
46977
- }), Te), In = (j) => {
46977
+ }), Te), In = (G) => {
46978
46978
  const me = [];
46979
- for (let Te = 0, Ie = j.length; Te < Ie; ++Te) {
46980
- if (!Pe(j[Te]))
46981
- throw new Error("Arr.flatten item " + Te + " was not an array, input: " + j);
46982
- kt.apply(me, j[Te]);
46979
+ for (let Te = 0, Ie = G.length; Te < Ie; ++Te) {
46980
+ if (!Pe(G[Te]))
46981
+ throw new Error("Arr.flatten item " + Te + " was not an array, input: " + G);
46982
+ kt.apply(me, G[Te]);
46983
46983
  }
46984
46984
  return me;
46985
- }, We = (j, me) => In(se(j, me)), ge = (j, me) => {
46986
- for (let Te = 0; Te < j.length; Te++) {
46987
- const Ie = me(j[Te], Te);
46985
+ }, We = (G, me) => In(se(G, me)), ge = (G, me) => {
46986
+ for (let Te = 0; Te < G.length; Te++) {
46987
+ const Ie = me(G[Te], Te);
46988
46988
  if (Ie.isSome())
46989
46989
  return Ie;
46990
46990
  }
46991
46991
  return dn.none();
46992
- }, os = (j, me, Te = pr) => j.exists((Ie) => Te(Ie, me)), Bt = (j) => {
46992
+ }, os = (G, me, Te = pr) => G.exists((Ie) => Te(Ie, me)), Bt = (G) => {
46993
46993
  const me = [], Te = (Ie) => {
46994
46994
  me.push(Ie);
46995
46995
  };
46996
- for (let Ie = 0; Ie < j.length; Ie++)
46997
- j[Ie].each(Te);
46996
+ for (let Ie = 0; Ie < G.length; Ie++)
46997
+ G[Ie].each(Te);
46998
46998
  return me;
46999
- }, Dt = (j, me) => j ? dn.some(me) : dn.none(), A = (j) => (me) => me.options.get(j), Xn = (j) => {
47000
- const me = j.options.register;
46999
+ }, Dt = (G, me) => G ? dn.some(me) : dn.none(), A = (G) => (me) => me.options.get(G), Xn = (G) => {
47000
+ const me = G.options.register;
47001
47001
  me("link_assume_external_targets", {
47002
47002
  processor: (Te) => {
47003
47003
  const Ie = Ae(Te) || qe(Te);
@@ -47043,9 +47043,9 @@ Required: ` + m.join(", "));
47043
47043
  });
47044
47044
  }, at = A("link_assume_external_targets"), to = A("link_context_toolbar"), rt = A("link_list"), Me = A("link_default_target"), nn = A("link_default_protocol"), zo = A("link_target_list"), no = A("link_rel_list"), br = A("link_class_list"), tt = A("link_title"), vt = A("allow_unsafe_link_target"), z = A("link_quicklink");
47045
47045
  var el = tinymce.util.Tools.resolve("tinymce.util.Tools");
47046
- const oo = (j) => Ae(j.value) ? j.value : "", ss = (j) => Ae(j.text) ? j.text : Ae(j.title) ? j.title : "", Uo = (j, me) => {
47046
+ const oo = (G) => Ae(G.value) ? G.value : "", ss = (G) => Ae(G.text) ? G.text : Ae(G.title) ? G.title : "", Uo = (G, me) => {
47047
47047
  const Te = [];
47048
- return el.each(j, (Ie) => {
47048
+ return el.each(G, (Ie) => {
47049
47049
  const ft = ss(Ie);
47050
47050
  if (Ie.menu !== void 0) {
47051
47051
  const fn = Uo(Ie.menu, me);
@@ -47061,102 +47061,102 @@ Required: ` + m.join(", "));
47061
47061
  });
47062
47062
  }
47063
47063
  }), Te;
47064
- }, Zi = (j = oo) => (me) => dn.from(me).map((Te) => Uo(Te, j)), Ye = {
47065
- sanitize: (j) => Zi(oo)(j),
47064
+ }, Zi = (G = oo) => (me) => dn.from(me).map((Te) => Uo(Te, G)), Ye = {
47065
+ sanitize: (G) => Zi(oo)(G),
47066
47066
  sanitizeWith: Zi,
47067
- createUi: (j, me) => (Te) => ({
47068
- name: j,
47067
+ createUi: (G, me) => (Te) => ({
47068
+ name: G,
47069
47069
  type: "listbox",
47070
47070
  label: me,
47071
47071
  items: Te
47072
47072
  }),
47073
47073
  getValue: oo
47074
- }, ke = Object.keys, wn = Object.hasOwnProperty, Go = (j, me) => {
47075
- const Te = ke(j);
47074
+ }, ke = Object.keys, wn = Object.hasOwnProperty, Go = (G, me) => {
47075
+ const Te = ke(G);
47076
47076
  for (let Ie = 0, ft = Te.length; Ie < ft; Ie++) {
47077
- const fn = Te[Ie], Wo = j[fn];
47077
+ const fn = Te[Ie], Wo = G[fn];
47078
47078
  me(Wo, fn);
47079
47079
  }
47080
- }, Vt = (j) => (me, Te) => {
47081
- j[Te] = me;
47082
- }, Tr = (j, me, Te, Ie) => {
47083
- Go(j, (ft, fn) => {
47080
+ }, Vt = (G) => (me, Te) => {
47081
+ G[Te] = me;
47082
+ }, Tr = (G, me, Te, Ie) => {
47083
+ Go(G, (ft, fn) => {
47084
47084
  (me(ft, fn) ? Te : Ie)(ft, fn);
47085
47085
  });
47086
- }, Fo = (j, me) => {
47086
+ }, Fo = (G, me) => {
47087
47087
  const Te = {};
47088
- return Tr(j, me, Vt(Te), Oo), Te;
47089
- }, Va = (j, me) => wn.call(j, me), bs = (j, me) => Va(j, me) && j[me] !== void 0 && j[me] !== null;
47088
+ return Tr(G, me, Vt(Te), Oo), Te;
47089
+ }, Va = (G, me) => wn.call(G, me), bs = (G, me) => Va(G, me) && G[me] !== void 0 && G[me] !== null;
47090
47090
  var vr = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"), yc = tinymce.util.Tools.resolve("tinymce.util.URI");
47091
- const yr = (j) => mn(j) && j.nodeName.toLowerCase() === "a", er = (j) => yr(j) && !!ms(j), vs = (j, me) => {
47092
- if (j.collapsed)
47091
+ const yr = (G) => mn(G) && G.nodeName.toLowerCase() === "a", er = (G) => yr(G) && !!ms(G), vs = (G, me) => {
47092
+ if (G.collapsed)
47093
47093
  return [];
47094
47094
  {
47095
- const Te = j.cloneContents(), Ie = Te.firstChild, ft = new vr(Ie, Te), fn = [];
47095
+ const Te = G.cloneContents(), Ie = Te.firstChild, ft = new vr(Ie, Te), fn = [];
47096
47096
  let Wo = Ie;
47097
47097
  do
47098
47098
  me(Wo) && fn.push(Wo);
47099
47099
  while (Wo = ft.next());
47100
47100
  return fn;
47101
47101
  }
47102
- }, ji = (j) => /^\w+:/i.test(j), ms = (j) => {
47102
+ }, ji = (G) => /^\w+:/i.test(G), ms = (G) => {
47103
47103
  var me, Te;
47104
- return (Te = (me = j.getAttribute("data-mce-href")) !== null && me !== void 0 ? me : j.getAttribute("href")) !== null && Te !== void 0 ? Te : "";
47105
- }, qo = (j, me) => {
47106
- const Te = ["noopener"], Ie = j ? j.split(/\s+/) : [], ft = (Zo) => el.trim(Zo.sort().join(" ")), fn = (Zo) => (Zo = Wo(Zo), Zo.length > 0 ? Zo.concat(Te) : Te), Wo = (Zo) => Zo.filter((xs) => el.inArray(Te, xs) === -1), rs = me ? fn(Ie) : Wo(Ie);
47104
+ return (Te = (me = G.getAttribute("data-mce-href")) !== null && me !== void 0 ? me : G.getAttribute("href")) !== null && Te !== void 0 ? Te : "";
47105
+ }, qo = (G, me) => {
47106
+ const Te = ["noopener"], Ie = G ? G.split(/\s+/) : [], ft = (Zo) => el.trim(Zo.sort().join(" ")), fn = (Zo) => (Zo = Wo(Zo), Zo.length > 0 ? Zo.concat(Te) : Te), Wo = (Zo) => Zo.filter((xs) => el.inArray(Te, xs) === -1), rs = me ? fn(Ie) : Wo(Ie);
47107
47107
  return rs.length > 0 ? ft(rs) : "";
47108
- }, wc = (j) => j.replace(/\uFEFF/g, ""), Jn = (j, me) => (me = me || Pl(j.selection.getRng())[0] || j.selection.getNode(), ho(me) ? dn.from(j.dom.select("a[href]", me)[0]) : dn.from(j.dom.getParent(me, "a[href]"))), ys = (j, me) => Jn(j, me).isSome(), wr = (j, me) => {
47109
- const Te = me.fold(() => j.getContent({ format: "text" }), (Ie) => Ie.innerText || Ie.textContent || "");
47108
+ }, wc = (G) => G.replace(/\uFEFF/g, ""), Jn = (G, me) => (me = me || Pl(G.selection.getRng())[0] || G.selection.getNode(), ho(me) ? dn.from(G.dom.select("a[href]", me)[0]) : dn.from(G.dom.getParent(me, "a[href]"))), ys = (G, me) => Jn(G, me).isSome(), wr = (G, me) => {
47109
+ const Te = me.fold(() => G.getContent({ format: "text" }), (Ie) => Ie.innerText || Ie.textContent || "");
47110
47110
  return wc(Te);
47111
- }, Pl = (j) => vs(j, er), di = (j) => el.grep(j, er), Qo = (j) => di(j).length > 0, Gi = (j) => Pl(j).length > 0, yt = (j) => {
47112
- const me = j.schema.getTextInlineElements(), Te = (fn) => fn.nodeType === 1 && !yr(fn) && !Va(me, fn.nodeName.toLowerCase());
47113
- if (Jn(j).exists((fn) => fn.hasAttribute("data-mce-block")))
47111
+ }, Pl = (G) => vs(G, er), di = (G) => el.grep(G, er), Qo = (G) => di(G).length > 0, Gi = (G) => Pl(G).length > 0, yt = (G) => {
47112
+ const me = G.schema.getTextInlineElements(), Te = (fn) => fn.nodeType === 1 && !yr(fn) && !Va(me, fn.nodeName.toLowerCase());
47113
+ if (Jn(G).exists((fn) => fn.hasAttribute("data-mce-block")))
47114
47114
  return !1;
47115
- const ft = j.selection.getRng();
47115
+ const ft = G.selection.getRng();
47116
47116
  return ft.collapsed ? !0 : vs(ft, Te).length === 0;
47117
- }, ho = (j) => mn(j) && j.nodeName === "FIGURE" && /\bimage\b/i.test(j.className), Er = (j) => ds([
47117
+ }, ho = (G) => mn(G) && G.nodeName === "FIGURE" && /\bimage\b/i.test(G.className), Er = (G) => ds([
47118
47118
  "title",
47119
47119
  "rel",
47120
47120
  "class",
47121
47121
  "target"
47122
- ], (Te, Ie) => (j[Ie].each((ft) => {
47122
+ ], (Te, Ie) => (G[Ie].each((ft) => {
47123
47123
  Te[Ie] = ft.length > 0 ? ft : null;
47124
- }), Te), { href: j.href }), Aa = (j, me) => (me === "http" || me === "https") && !ji(j) ? me + "://" + j : j, Nl = (j, me) => {
47124
+ }), Te), { href: G.href }), Aa = (G, me) => (me === "http" || me === "https") && !ji(G) ? me + "://" + G : G, Nl = (G, me) => {
47125
47125
  const Te = { ...me };
47126
- if (no(j).length === 0 && !vt(j)) {
47126
+ if (no(G).length === 0 && !vt(G)) {
47127
47127
  const Ie = qo(Te.rel, Te.target === "_blank");
47128
47128
  Te.rel = Ie || null;
47129
47129
  }
47130
- return dn.from(Te.target).isNone() && zo(j) === !1 && (Te.target = Me(j)), Te.href = Aa(Te.href, at(j)), Te;
47131
- }, Da = (j, me, Te, Ie) => {
47130
+ return dn.from(Te.target).isNone() && zo(G) === !1 && (Te.target = Me(G)), Te.href = Aa(Te.href, at(G)), Te;
47131
+ }, Da = (G, me, Te, Ie) => {
47132
47132
  Te.each((ft) => {
47133
47133
  Va(me, "innerText") ? me.innerText = ft : me.textContent = ft;
47134
- }), j.dom.setAttribs(me, Ie), j.selection.select(me);
47135
- }, es = (j, me, Te, Ie) => {
47136
- const ft = j.dom;
47134
+ }), G.dom.setAttribs(me, Ie), G.selection.select(me);
47135
+ }, es = (G, me, Te, Ie) => {
47136
+ const ft = G.dom;
47137
47137
  ho(me) ? xr(ft, me, Ie) : Te.fold(() => {
47138
- j.execCommand("mceInsertLink", !1, Ie);
47138
+ G.execCommand("mceInsertLink", !1, Ie);
47139
47139
  }, (fn) => {
47140
- j.insertContent(ft.createHTML("a", Ie, ft.encode(fn)));
47140
+ G.insertContent(ft.createHTML("a", Ie, ft.encode(fn)));
47141
47141
  });
47142
- }, tl = (j, me, Te) => {
47143
- const Ie = j.selection.getNode(), ft = Jn(j, Ie), fn = Nl(j, Er(Te));
47144
- j.undoManager.transact(() => {
47142
+ }, tl = (G, me, Te) => {
47143
+ const Ie = G.selection.getNode(), ft = Jn(G, Ie), fn = Nl(G, Er(Te));
47144
+ G.undoManager.transact(() => {
47145
47145
  Te.href === me.href && me.attach(), ft.fold(() => {
47146
- es(j, Ie, Te.text, fn);
47146
+ es(G, Ie, Te.text, fn);
47147
47147
  }, (Wo) => {
47148
- j.focus(), Da(j, Wo, Te.text, fn);
47148
+ G.focus(), Da(G, Wo, Te.text, fn);
47149
47149
  });
47150
47150
  });
47151
- }, bl = (j) => {
47152
- const me = j.dom, Te = j.selection, Ie = Te.getBookmark(), ft = Te.getRng().cloneRange(), fn = me.getParent(ft.startContainer, "a[href]", j.getBody()), Wo = me.getParent(ft.endContainer, "a[href]", j.getBody());
47153
- fn && ft.setStartBefore(fn), Wo && ft.setEndAfter(Wo), Te.setRng(ft), j.execCommand("unlink"), Te.moveToBookmark(Ie);
47154
- }, Yo = (j) => {
47155
- j.undoManager.transact(() => {
47156
- const me = j.selection.getNode();
47157
- ho(me) ? mi(j, me) : bl(j), j.focus();
47151
+ }, bl = (G) => {
47152
+ const me = G.dom, Te = G.selection, Ie = Te.getBookmark(), ft = Te.getRng().cloneRange(), fn = me.getParent(ft.startContainer, "a[href]", G.getBody()), Wo = me.getParent(ft.endContainer, "a[href]", G.getBody());
47153
+ fn && ft.setStartBefore(fn), Wo && ft.setEndAfter(Wo), Te.setRng(ft), G.execCommand("unlink"), Te.moveToBookmark(Ie);
47154
+ }, Yo = (G) => {
47155
+ G.undoManager.transact(() => {
47156
+ const me = G.selection.getNode();
47157
+ ho(me) ? mi(G, me) : bl(G), G.focus();
47158
47158
  });
47159
- }, hn = (j) => {
47159
+ }, hn = (G) => {
47160
47160
  const {
47161
47161
  class: me,
47162
47162
  href: Te,
@@ -47164,7 +47164,7 @@ Required: ` + m.join(", "));
47164
47164
  target: ft,
47165
47165
  text: fn,
47166
47166
  title: Wo
47167
- } = j;
47167
+ } = G;
47168
47168
  return Fo({
47169
47169
  class: me.getOrNull(),
47170
47170
  href: Te,
@@ -47173,8 +47173,8 @@ Required: ` + m.join(", "));
47173
47173
  text: fn.getOrNull(),
47174
47174
  title: Wo.getOrNull()
47175
47175
  }, (rs, Zo) => pt(rs) === !1);
47176
- }, Ar = (j, me) => {
47177
- const Te = j.options.get, Ie = {
47176
+ }, Ar = (G, me) => {
47177
+ const Te = G.options.get, Ie = {
47178
47178
  allow_html_data_urls: Te("allow_html_data_urls"),
47179
47179
  allow_script_urls: Te("allow_script_urls"),
47180
47180
  allow_svg_data_urls: Te("allow_svg_data_urls")
@@ -47183,42 +47183,42 @@ Required: ` + m.join(", "));
47183
47183
  ...me,
47184
47184
  href: yc.isDomSafe(ft, "a", Ie) ? ft : ""
47185
47185
  };
47186
- }, Bl = (j, me, Te) => {
47187
- const Ie = Ar(j, Te);
47188
- j.hasPlugin("rtc", !0) ? j.execCommand("createlink", !1, hn(Ie)) : tl(j, me, Ie);
47189
- }, Hc = (j) => {
47190
- j.hasPlugin("rtc", !0) ? j.execCommand("unlink") : Yo(j);
47191
- }, mi = (j, me) => {
47186
+ }, Bl = (G, me, Te) => {
47187
+ const Ie = Ar(G, Te);
47188
+ G.hasPlugin("rtc", !0) ? G.execCommand("createlink", !1, hn(Ie)) : tl(G, me, Ie);
47189
+ }, Hc = (G) => {
47190
+ G.hasPlugin("rtc", !0) ? G.execCommand("unlink") : Yo(G);
47191
+ }, mi = (G, me) => {
47192
47192
  var Te;
47193
- const Ie = j.dom.select("img", me)[0];
47193
+ const Ie = G.dom.select("img", me)[0];
47194
47194
  if (Ie) {
47195
- const ft = j.dom.getParents(Ie, "a[href]", me)[0];
47196
- ft && ((Te = ft.parentNode) === null || Te === void 0 || Te.insertBefore(Ie, ft), j.dom.remove(ft));
47195
+ const ft = G.dom.getParents(Ie, "a[href]", me)[0];
47196
+ ft && ((Te = ft.parentNode) === null || Te === void 0 || Te.insertBefore(Ie, ft), G.dom.remove(ft));
47197
47197
  }
47198
- }, xr = (j, me, Te) => {
47198
+ }, xr = (G, me, Te) => {
47199
47199
  var Ie;
47200
- const ft = j.select("img", me)[0];
47200
+ const ft = G.select("img", me)[0];
47201
47201
  if (ft) {
47202
- const fn = j.create("a", Te);
47202
+ const fn = G.create("a", Te);
47203
47203
  (Ie = ft.parentNode) === null || Ie === void 0 || Ie.insertBefore(fn, ft), fn.appendChild(ft);
47204
47204
  }
47205
- }, mr = (j) => bs(j, "items"), Zs = (j, me) => ge(me, (Te) => mr(Te) ? Zs(j, Te.items) : Dt(Te.value === j, Te)), vl = (j, me, Te, Ie) => {
47206
- const ft = Ie[me], fn = j.length > 0;
47205
+ }, mr = (G) => bs(G, "items"), Zs = (G, me) => ge(me, (Te) => mr(Te) ? Zs(G, Te.items) : Dt(Te.value === G, Te)), vl = (G, me, Te, Ie) => {
47206
+ const ft = Ie[me], fn = G.length > 0;
47207
47207
  return ft !== void 0 ? Zs(ft, Te).map((Wo) => ({
47208
47208
  url: {
47209
47209
  value: Wo.value,
47210
47210
  meta: {
47211
- text: fn ? j : Wo.text,
47211
+ text: fn ? G : Wo.text,
47212
47212
  attach: Oo
47213
47213
  }
47214
47214
  },
47215
- text: fn ? j : Wo.text
47215
+ text: fn ? G : Wo.text
47216
47216
  })) : dn.none();
47217
- }, qi = (j, me) => me === "link" ? j.link : me === "anchor" ? j.anchor : dn.none(), ia = {
47218
- init: (j, me) => {
47217
+ }, qi = (G, me) => me === "link" ? G.link : me === "anchor" ? G.anchor : dn.none(), ia = {
47218
+ init: (G, me) => {
47219
47219
  const Te = {
47220
- text: j.text,
47221
- title: j.title
47220
+ text: G.text,
47221
+ title: G.title
47222
47222
  }, Ie = (Zo) => {
47223
47223
  var xs;
47224
47224
  return Dt(Te.title.length <= 0, dn.from((xs = Zo.meta) === null || xs === void 0 ? void 0 : xs.title).getOr(""));
@@ -47246,15 +47246,15 @@ Required: ` + m.join(", "));
47246
47246
  getDelta: vl
47247
47247
  };
47248
47248
  var Fs = tinymce.util.Tools.resolve("tinymce.util.Delay");
47249
- const Dr = (j, me, Te) => {
47250
- const Ie = j.selection.getRng();
47251
- Fs.setEditorTimeout(j, () => {
47252
- j.windowManager.confirm(me, (ft) => {
47253
- j.selection.setRng(Ie), Te(ft);
47249
+ const Dr = (G, me, Te) => {
47250
+ const Ie = G.selection.getRng();
47251
+ Fs.setEditorTimeout(G, () => {
47252
+ G.windowManager.confirm(me, (ft) => {
47253
+ G.selection.setRng(Ie), Te(ft);
47254
47254
  });
47255
47255
  });
47256
- }, sc = (j) => {
47257
- const me = j.href;
47256
+ }, sc = (G) => {
47257
+ const me = G.href;
47258
47258
  return me.indexOf("@") > 0 && me.indexOf("/") === -1 && me.indexOf("mailto:") === -1 ? dn.some({
47259
47259
  message: "The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",
47260
47260
  preprocess: (Ie) => ({
@@ -47262,24 +47262,24 @@ Required: ` + m.join(", "));
47262
47262
  href: "mailto:" + me
47263
47263
  })
47264
47264
  }) : dn.none();
47265
- }, Vc = (j, me) => (Te) => {
47265
+ }, Vc = (G, me) => (Te) => {
47266
47266
  const Ie = Te.href;
47267
- return j === 1 && !ji(Ie) || j === 0 && /^\s*www(\.|\d\.)/i.test(Ie) ? dn.some({
47267
+ return G === 1 && !ji(Ie) || G === 0 && /^\s*www(\.|\d\.)/i.test(Ie) ? dn.some({
47268
47268
  message: `The URL you entered seems to be an external link. Do you want to add the required ${me}:// prefix?`,
47269
47269
  preprocess: (fn) => ({
47270
47270
  ...fn,
47271
47271
  href: me + "://" + Ie
47272
47272
  })
47273
47273
  }) : dn.none();
47274
- }, Il = { preprocess: (j, me) => ge([
47274
+ }, Il = { preprocess: (G, me) => ge([
47275
47275
  sc,
47276
- Vc(at(j), nn(j))
47276
+ Vc(at(G), nn(G))
47277
47277
  ], (Te) => Te(me)).fold(() => Promise.resolve(me), (Te) => new Promise((Ie) => {
47278
- Dr(j, Te.message, (ft) => {
47278
+ Dr(G, Te.message, (ft) => {
47279
47279
  Ie(ft ? Te.preprocess(me) : me);
47280
47280
  });
47281
- })) }, Ee = { getAnchors: (j) => {
47282
- const me = j.dom.select("a:not([href])"), Te = We(me, (Ie) => {
47281
+ })) }, Ee = { getAnchors: (G) => {
47282
+ const me = G.dom.select("a:not([href])"), Te = We(me, (Ie) => {
47283
47283
  const ft = Ie.name || Ie.id;
47284
47284
  return ft ? [{
47285
47285
  text: ft,
@@ -47290,27 +47290,27 @@ Required: ` + m.join(", "));
47290
47290
  text: "None",
47291
47291
  value: ""
47292
47292
  }].concat(Te)) : dn.none();
47293
- } }, Ll = { getClasses: (j) => {
47294
- const me = br(j);
47293
+ } }, Ll = { getClasses: (G) => {
47294
+ const me = br(G);
47295
47295
  return me.length > 0 ? Ye.sanitize(me) : dn.none();
47296
- } }, Wu = (j) => {
47296
+ } }, Wu = (G) => {
47297
47297
  try {
47298
- return dn.some(JSON.parse(j));
47298
+ return dn.some(JSON.parse(G));
47299
47299
  } catch {
47300
47300
  return dn.none();
47301
47301
  }
47302
- }, ts = { getLinks: (j) => {
47303
- const me = (Ie) => j.convertURL(Ie.value || Ie.url || "", "href"), Te = rt(j);
47302
+ }, ts = { getLinks: (G) => {
47303
+ const me = (Ie) => G.convertURL(Ie.value || Ie.url || "", "href"), Te = rt(G);
47304
47304
  return new Promise((Ie) => {
47305
47305
  Ae(Te) ? fetch(Te).then((ft) => ft.ok ? ft.text().then(Wu) : Promise.reject()).then(Ie, () => Ie(dn.none())) : No(Te) ? Te((ft) => Ie(dn.some(ft))) : Ie(dn.from(Te));
47306
47306
  }).then((Ie) => Ie.bind(Ye.sanitizeWith(me)).map((ft) => ft.length > 0 ? [{
47307
47307
  text: "None",
47308
47308
  value: ""
47309
47309
  }].concat(ft) : ft));
47310
- } }, Ad = { getRels: (j, me) => {
47311
- const Te = no(j);
47310
+ } }, Ad = { getRels: (G, me) => {
47311
+ const Te = no(G);
47312
47312
  if (Te.length > 0) {
47313
- const Ie = os(me, "_blank"), ft = vt(j) === !1, fn = (rs) => qo(Ye.getValue(rs), Ie);
47313
+ const Ie = os(me, "_blank"), ft = vt(G) === !1, fn = (rs) => qo(Ye.getValue(rs), Ie);
47314
47314
  return (ft ? Ye.sanitizeWith(fn) : Ye.sanitize)(Te);
47315
47315
  }
47316
47316
  return dn.none();
@@ -47323,14 +47323,14 @@ Required: ` + m.join(", "));
47323
47323
  text: "New window",
47324
47324
  value: "_blank"
47325
47325
  }
47326
- ], ws = { getTargets: (j) => {
47327
- const me = zo(j);
47326
+ ], ws = { getTargets: (G) => {
47327
+ const me = zo(G);
47328
47328
  return Pe(me) ? Ye.sanitize(me).orThunk(() => dn.some(nl)) : me === !1 ? dn.none() : dn.some(nl);
47329
- } }, Es = (j, me, Te) => {
47330
- const Ie = j.getAttrib(me, Te);
47329
+ } }, Es = (G, me, Te) => {
47330
+ const Ie = G.getAttrib(me, Te);
47331
47331
  return Ie !== null && Ie.length > 0 ? dn.some(Ie) : dn.none();
47332
- }, za = (j, me) => {
47333
- const Te = j.dom, ft = yt(j) ? dn.some(wr(j.selection, me)) : dn.none(), fn = me.bind((io) => dn.from(Te.getAttrib(io, "href"))), Wo = me.bind((io) => dn.from(Te.getAttrib(io, "target"))), rs = me.bind((io) => Es(Te, io, "rel")), Zo = me.bind((io) => Es(Te, io, "class")), xs = me.bind((io) => Es(Te, io, "title"));
47332
+ }, za = (G, me) => {
47333
+ const Te = G.dom, ft = yt(G) ? dn.some(wr(G.selection, me)) : dn.none(), fn = me.bind((io) => dn.from(Te.getAttrib(io, "href"))), Wo = me.bind((io) => dn.from(Te.getAttrib(io, "target"))), rs = me.bind((io) => Es(Te, io, "rel")), Zo = me.bind((io) => Es(Te, io, "class")), xs = me.bind((io) => Es(Te, io, "title"));
47334
47334
  return {
47335
47335
  url: fn,
47336
47336
  text: ft,
@@ -47339,24 +47339,24 @@ Required: ` + m.join(", "));
47339
47339
  rel: rs,
47340
47340
  linkClass: Zo
47341
47341
  };
47342
- }, xc = { collect: (j, me) => ts.getLinks(j).then((Te) => {
47343
- const Ie = za(j, me);
47342
+ }, xc = { collect: (G, me) => ts.getLinks(G).then((Te) => {
47343
+ const Ie = za(G, me);
47344
47344
  return {
47345
47345
  anchor: Ie,
47346
47346
  catalogs: {
47347
- targets: ws.getTargets(j),
47348
- rels: Ad.getRels(j, Ie.target),
47349
- classes: Ll.getClasses(j),
47350
- anchor: Ee.getAnchors(j),
47347
+ targets: ws.getTargets(G),
47348
+ rels: Ad.getRels(G, Ie.target),
47349
+ classes: Ll.getClasses(G),
47350
+ anchor: Ee.getAnchors(G),
47351
47351
  link: Te
47352
47352
  },
47353
47353
  optNode: me,
47354
- flags: { titleEnabled: tt(j) }
47354
+ flags: { titleEnabled: tt(G) }
47355
47355
  };
47356
- }) }, gi = (j, me) => (Te) => {
47356
+ }) }, gi = (G, me) => (Te) => {
47357
47357
  const Ie = Te.getData();
47358
47358
  if (!Ie.url.value) {
47359
- Hc(j), Te.close();
47359
+ Hc(G), Te.close();
47360
47360
  return;
47361
47361
  }
47362
47362
  const ft = (rs) => dn.from(Ie[rs]).filter((Zo) => !os(me.anchor[rs], Zo)), fn = {
@@ -47370,14 +47370,14 @@ Required: ` + m.join(", "));
47370
47370
  href: Ie.url.value,
47371
47371
  attach: Ie.url.meta !== void 0 && Ie.url.meta.attach ? Ie.url.meta.attach : Oo
47372
47372
  };
47373
- Il.preprocess(j, fn).then((rs) => {
47374
- Bl(j, Wo, rs);
47373
+ Il.preprocess(G, fn).then((rs) => {
47374
+ Bl(G, Wo, rs);
47375
47375
  }), Te.close();
47376
- }, Cc = (j) => {
47377
- const me = Jn(j);
47378
- return xc.collect(j, me);
47379
- }, Ro = (j, me) => {
47380
- const Te = j.anchor, Ie = Te.url.getOr("");
47376
+ }, Cc = (G) => {
47377
+ const me = Jn(G);
47378
+ return xc.collect(G, me);
47379
+ }, Ro = (G, me) => {
47380
+ const Te = G.anchor, Ie = Te.url.getOr("");
47381
47381
  return {
47382
47382
  url: {
47383
47383
  value: Ie,
@@ -47391,22 +47391,22 @@ Required: ` + m.join(", "));
47391
47391
  target: Te.target.or(me).getOr(""),
47392
47392
  linkClass: Te.linkClass.getOr("")
47393
47393
  };
47394
- }, ea = (j, me, Te) => {
47394
+ }, ea = (G, me, Te) => {
47395
47395
  const Ie = [{
47396
47396
  name: "url",
47397
47397
  type: "urlinput",
47398
47398
  filetype: "file",
47399
47399
  label: "URL",
47400
47400
  picker_text: "Browse links"
47401
- }], ft = j.anchor.text.map(() => ({
47401
+ }], ft = G.anchor.text.map(() => ({
47402
47402
  name: "text",
47403
47403
  type: "input",
47404
47404
  label: "Text to display"
47405
- })).toArray(), fn = j.flags.titleEnabled ? [{
47405
+ })).toArray(), fn = G.flags.titleEnabled ? [{
47406
47406
  name: "title",
47407
47407
  type: "input",
47408
47408
  label: "Title"
47409
- }] : [], Wo = dn.from(Me(Te)), rs = Ro(j, Wo), Zo = j.catalogs, xs = ia.init(rs, Zo);
47409
+ }] : [], Wo = dn.from(Me(Te)), rs = Ro(G, Wo), Zo = G.catalogs, xs = ia.init(rs, Zo);
47410
47410
  return {
47411
47411
  title: "Insert/Edit Link",
47412
47412
  size: "normal",
@@ -47446,135 +47446,135 @@ Required: ` + m.join(", "));
47446
47446
  },
47447
47447
  onSubmit: me
47448
47448
  };
47449
- }, ua = (j) => {
47450
- Cc(j).then((Te) => {
47451
- const Ie = gi(j, Te);
47452
- return ea(Te, Ie, j);
47449
+ }, ua = (G) => {
47450
+ Cc(G).then((Te) => {
47451
+ const Ie = gi(G, Te);
47452
+ return ea(Te, Ie, G);
47453
47453
  }).then((Te) => {
47454
- j.windowManager.open(Te);
47454
+ G.windowManager.open(Te);
47455
47455
  });
47456
- }, zc = (j) => {
47457
- j.addCommand("mceLink", (me, Te) => {
47458
- (Te == null ? void 0 : Te.dialog) === !0 || !z(j) ? ua(j) : j.dispatch("contexttoolbar-show", { toolbarKey: "quicklink" });
47456
+ }, zc = (G) => {
47457
+ G.addCommand("mceLink", (me, Te) => {
47458
+ (Te == null ? void 0 : Te.dialog) === !0 || !z(G) ? ua(G) : G.dispatch("contexttoolbar-show", { toolbarKey: "quicklink" });
47459
47459
  });
47460
47460
  };
47461
47461
  var da = tinymce.util.Tools.resolve("tinymce.util.VK");
47462
- const Hs = (j, me) => {
47463
- document.body.appendChild(j), j.dispatchEvent(me), document.body.removeChild(j);
47464
- }, ns = (j) => {
47462
+ const Hs = (G, me) => {
47463
+ document.body.appendChild(G), G.dispatchEvent(me), document.body.removeChild(G);
47464
+ }, ns = (G) => {
47465
47465
  const me = document.createElement("a");
47466
- me.target = "_blank", me.href = j, me.rel = "noreferrer noopener";
47466
+ me.target = "_blank", me.href = G, me.rel = "noreferrer noopener";
47467
47467
  const Te = document.createEvent("MouseEvents");
47468
47468
  Te.initMouseEvent("click", !0, !0, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null), Hs(me, Te);
47469
- }, Ra = (j, me) => j.dom.getParent(me, "a[href]"), Xi = (j) => Ra(j, j.selection.getStart()), Ho = (j) => j.altKey === !0 && j.shiftKey === !1 && j.ctrlKey === !1 && j.metaKey === !1, Or = (j, me) => {
47469
+ }, Ra = (G, me) => G.dom.getParent(me, "a[href]"), Xi = (G) => Ra(G, G.selection.getStart()), Ho = (G) => G.altKey === !0 && G.shiftKey === !1 && G.ctrlKey === !1 && G.metaKey === !1, Or = (G, me) => {
47470
47470
  if (me) {
47471
47471
  const Te = ms(me);
47472
47472
  if (/^#/.test(Te)) {
47473
- const Ie = j.dom.select(Te);
47474
- Ie.length && j.selection.scrollIntoView(Ie[0], !0);
47473
+ const Ie = G.dom.select(Te);
47474
+ Ie.length && G.selection.scrollIntoView(Ie[0], !0);
47475
47475
  } else
47476
47476
  ns(me.href);
47477
47477
  }
47478
- }, ma = (j) => () => {
47479
- j.execCommand("mceLink", !1, { dialog: !0 });
47480
- }, rr = (j) => () => {
47481
- Or(j, Xi(j));
47482
- }, yl = (j) => {
47483
- j.on("click", (me) => {
47484
- const Te = Ra(j, me.target);
47485
- Te && da.metaKeyPressed(me) && (me.preventDefault(), Or(j, Te));
47486
- }), j.on("keydown", (me) => {
47478
+ }, ma = (G) => () => {
47479
+ G.execCommand("mceLink", !1, { dialog: !0 });
47480
+ }, rr = (G) => () => {
47481
+ Or(G, Xi(G));
47482
+ }, yl = (G) => {
47483
+ G.on("click", (me) => {
47484
+ const Te = Ra(G, me.target);
47485
+ Te && da.metaKeyPressed(me) && (me.preventDefault(), Or(G, Te));
47486
+ }), G.on("keydown", (me) => {
47487
47487
  if (!me.isDefaultPrevented() && me.keyCode === 13 && Ho(me)) {
47488
- const Te = Xi(j);
47489
- Te && (me.preventDefault(), Or(j, Te));
47488
+ const Te = Xi(G);
47489
+ Te && (me.preventDefault(), Or(G, Te));
47490
47490
  }
47491
47491
  });
47492
- }, Fl = (j, me) => (j.on("NodeChange", me), () => j.off("NodeChange", me)), ta = (j) => (me) => {
47492
+ }, Fl = (G, me) => (G.on("NodeChange", me), () => G.off("NodeChange", me)), ta = (G) => (me) => {
47493
47493
  const Te = () => {
47494
- me.setActive(!j.mode.isReadOnly() && ys(j, j.selection.getNode())), me.setEnabled(j.selection.isEditable());
47494
+ me.setActive(!G.mode.isReadOnly() && ys(G, G.selection.getNode())), me.setEnabled(G.selection.isEditable());
47495
47495
  };
47496
- return Te(), Fl(j, Te);
47497
- }, Hl = (j) => (me) => {
47496
+ return Te(), Fl(G, Te);
47497
+ }, Hl = (G) => (me) => {
47498
47498
  const Te = () => {
47499
- me.setEnabled(j.selection.isEditable());
47500
- };
47501
- return Te(), Fl(j, Te);
47502
- }, Vl = (j) => (j.selection.isCollapsed() ? di(j.dom.getParents(j.selection.getStart())) : Pl(j.selection.getRng())).length === 1, Zu = (j) => (me) => {
47503
- const Te = () => me.setEnabled(Vl(j));
47504
- return Te(), Fl(j, Te);
47505
- }, wl = (j) => (me) => {
47506
- const Te = (fn) => Qo(fn) || Gi(j.selection.getRng()), Ie = j.dom.getParents(j.selection.getStart()), ft = (fn) => {
47507
- me.setEnabled(Te(fn) && j.selection.isEditable());
47508
- };
47509
- return ft(Ie), Fl(j, (fn) => ft(fn.parents));
47510
- }, Ji = (j) => {
47511
- j.addShortcut("Meta+K", "", () => {
47512
- j.execCommand("mceLink");
47513
- });
47514
- }, $a = (j) => {
47515
- j.ui.registry.addToggleButton("link", {
47499
+ me.setEnabled(G.selection.isEditable());
47500
+ };
47501
+ return Te(), Fl(G, Te);
47502
+ }, Vl = (G) => (G.selection.isCollapsed() ? di(G.dom.getParents(G.selection.getStart())) : Pl(G.selection.getRng())).length === 1, Zu = (G) => (me) => {
47503
+ const Te = () => me.setEnabled(Vl(G));
47504
+ return Te(), Fl(G, Te);
47505
+ }, wl = (G) => (me) => {
47506
+ const Te = (fn) => Qo(fn) || Gi(G.selection.getRng()), Ie = G.dom.getParents(G.selection.getStart()), ft = (fn) => {
47507
+ me.setEnabled(Te(fn) && G.selection.isEditable());
47508
+ };
47509
+ return ft(Ie), Fl(G, (fn) => ft(fn.parents));
47510
+ }, Ji = (G) => {
47511
+ G.addShortcut("Meta+K", "", () => {
47512
+ G.execCommand("mceLink");
47513
+ });
47514
+ }, $a = (G) => {
47515
+ G.ui.registry.addToggleButton("link", {
47516
47516
  icon: "link",
47517
47517
  tooltip: "Insert/edit link",
47518
- onAction: ma(j),
47519
- onSetup: ta(j)
47520
- }), j.ui.registry.addButton("openlink", {
47518
+ onAction: ma(G),
47519
+ onSetup: ta(G)
47520
+ }), G.ui.registry.addButton("openlink", {
47521
47521
  icon: "new-tab",
47522
47522
  tooltip: "Open link",
47523
- onAction: rr(j),
47524
- onSetup: Zu(j)
47525
- }), j.ui.registry.addButton("unlink", {
47523
+ onAction: rr(G),
47524
+ onSetup: Zu(G)
47525
+ }), G.ui.registry.addButton("unlink", {
47526
47526
  icon: "unlink",
47527
47527
  tooltip: "Remove link",
47528
- onAction: () => Hc(j),
47529
- onSetup: wl(j)
47528
+ onAction: () => Hc(G),
47529
+ onSetup: wl(G)
47530
47530
  });
47531
- }, Sc = (j) => {
47532
- j.ui.registry.addMenuItem("openlink", {
47531
+ }, Sc = (G) => {
47532
+ G.ui.registry.addMenuItem("openlink", {
47533
47533
  text: "Open link",
47534
47534
  icon: "new-tab",
47535
- onAction: rr(j),
47536
- onSetup: Zu(j)
47537
- }), j.ui.registry.addMenuItem("link", {
47535
+ onAction: rr(G),
47536
+ onSetup: Zu(G)
47537
+ }), G.ui.registry.addMenuItem("link", {
47538
47538
  icon: "link",
47539
47539
  text: "Link...",
47540
47540
  shortcut: "Meta+K",
47541
- onSetup: Hl(j),
47542
- onAction: ma(j)
47543
- }), j.ui.registry.addMenuItem("unlink", {
47541
+ onSetup: Hl(G),
47542
+ onAction: ma(G)
47543
+ }), G.ui.registry.addMenuItem("unlink", {
47544
47544
  icon: "unlink",
47545
47545
  text: "Remove link",
47546
- onAction: () => Hc(j),
47547
- onSetup: wl(j)
47546
+ onAction: () => Hc(G),
47547
+ onSetup: wl(G)
47548
47548
  });
47549
- }, hi = (j) => {
47549
+ }, hi = (G) => {
47550
47550
  const me = "link unlink openlink", Te = "link";
47551
- j.ui.registry.addContextMenu("link", {
47552
- update: (Ie) => j.dom.isEditable(Ie) ? Qo(j.dom.getParents(Ie, "a")) ? me : Te : ""
47551
+ G.ui.registry.addContextMenu("link", {
47552
+ update: (Ie) => G.dom.isEditable(Ie) ? Qo(G.dom.getParents(Ie, "a")) ? me : Te : ""
47553
47553
  });
47554
- }, pu = (j) => {
47554
+ }, pu = (G) => {
47555
47555
  const me = (ft) => {
47556
47556
  ft.selection.collapse(!1);
47557
47557
  }, Te = (ft) => {
47558
- const fn = j.selection.getNode();
47559
- return ft.setEnabled(ys(j, fn)), Oo;
47558
+ const fn = G.selection.getNode();
47559
+ return ft.setEnabled(ys(G, fn)), Oo;
47560
47560
  }, Ie = (ft) => {
47561
- const fn = Jn(j), Wo = yt(j);
47561
+ const fn = Jn(G), Wo = yt(G);
47562
47562
  if (fn.isNone() && Wo) {
47563
- const rs = wr(j.selection, fn);
47563
+ const rs = wr(G.selection, fn);
47564
47564
  return Dt(rs.length === 0, ft);
47565
47565
  } else
47566
47566
  return dn.none();
47567
47567
  };
47568
- j.ui.registry.addContextForm("quicklink", {
47568
+ G.ui.registry.addContextForm("quicklink", {
47569
47569
  launch: {
47570
47570
  type: "contextformtogglebutton",
47571
47571
  icon: "link",
47572
47572
  tooltip: "Link",
47573
- onSetup: ta(j)
47573
+ onSetup: ta(G)
47574
47574
  },
47575
47575
  label: "Link",
47576
- predicate: (ft) => to(j) && ys(j, ft),
47577
- initValue: () => Jn(j).fold(Rt(""), ms),
47576
+ predicate: (ft) => to(G) && ys(G, ft),
47577
+ initValue: () => Jn(G).fold(Rt(""), ms),
47578
47578
  commands: [
47579
47579
  {
47580
47580
  type: "contextformtogglebutton",
@@ -47582,12 +47582,12 @@ Required: ` + m.join(", "));
47582
47582
  tooltip: "Link",
47583
47583
  primary: !0,
47584
47584
  onSetup: (ft) => {
47585
- const fn = j.selection.getNode();
47586
- return ft.setActive(ys(j, fn)), ta(j)(ft);
47585
+ const fn = G.selection.getNode();
47586
+ return ft.setActive(ys(G, fn)), ta(G)(ft);
47587
47587
  },
47588
47588
  onAction: (ft) => {
47589
47589
  const fn = ft.getValue(), Wo = Ie(fn);
47590
- Bl(j, {
47590
+ Bl(G, {
47591
47591
  href: fn,
47592
47592
  attach: Oo
47593
47593
  }, {
@@ -47597,7 +47597,7 @@ Required: ` + m.join(", "));
47597
47597
  rel: dn.none(),
47598
47598
  target: dn.none(),
47599
47599
  class: dn.none()
47600
- }), me(j), ft.hide();
47600
+ }), me(G), ft.hide();
47601
47601
  }
47602
47602
  },
47603
47603
  {
@@ -47606,7 +47606,7 @@ Required: ` + m.join(", "));
47606
47606
  tooltip: "Remove link",
47607
47607
  onSetup: Te,
47608
47608
  onAction: (ft) => {
47609
- Hc(j), ft.hide();
47609
+ Hc(G), ft.hide();
47610
47610
  }
47611
47611
  },
47612
47612
  {
@@ -47615,15 +47615,15 @@ Required: ` + m.join(", "));
47615
47615
  tooltip: "Open link",
47616
47616
  onSetup: Te,
47617
47617
  onAction: (ft) => {
47618
- rr(j)(), ft.hide();
47618
+ rr(G)(), ft.hide();
47619
47619
  }
47620
47620
  }
47621
47621
  ]
47622
47622
  });
47623
47623
  };
47624
47624
  var ju = () => {
47625
- O.add("link", (j) => {
47626
- Xn(j), $a(j), Sc(j), hi(j), pu(j), yl(j), zc(j), Ji(j);
47625
+ O.add("link", (G) => {
47626
+ Xn(G), $a(G), Sc(G), hi(G), pu(G), yl(G), zc(G), Ji(G);
47627
47627
  });
47628
47628
  };
47629
47629
  ju();
@@ -47636,7 +47636,7 @@ Required: ` + m.join(", "));
47636
47636
  }, _e = (I) => {
47637
47637
  const Y = typeof I;
47638
47638
  return I === null ? "null" : Y === "object" && Array.isArray(I) ? "array" : Y === "object" && te(I, String, (re, Fe) => Fe.isPrototypeOf(re)) ? "string" : Y;
47639
- }, ae = (I) => (Y) => _e(Y) === I, G = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => pt(I) && te(I, Y, (re, Fe) => ie(re) === Fe), Pe = ae("string"), pt = ae("object"), qe = (I) => Q(I, Object), bn = ae("array"), mn = Ae(null), No = G("boolean"), us = (I) => I == null, Oo = (I) => !us(I), Rt = G("function"), pr = G("number"), dn = (I, Y) => {
47639
+ }, ae = (I) => (Y) => _e(Y) === I, j = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => pt(I) && te(I, Y, (re, Fe) => ie(re) === Fe), Pe = ae("string"), pt = ae("object"), qe = (I) => Q(I, Object), bn = ae("array"), mn = Ae(null), No = j("boolean"), us = (I) => I == null, Oo = (I) => !us(I), Rt = j("function"), pr = j("number"), dn = (I, Y) => {
47640
47640
  if (bn(I)) {
47641
47641
  for (let re = 0, Fe = I.length; re < Fe; ++re)
47642
47642
  if (!Y(I[re]))
@@ -48378,7 +48378,7 @@ Required: ` + m.join(", "));
48378
48378
  } : {
48379
48379
  type: "panel",
48380
48380
  items: Xi.makeItems(I)
48381
- }, j = (I, Y, re) => (Fe) => {
48381
+ }, G = (I, Y, re) => (Fe) => {
48382
48382
  const $t = nl(rr(Y.image), Fe.getData()), Yn = {
48383
48383
  ...$t,
48384
48384
  style: Zs(re.normalizeCss, yl($t, !1))
@@ -48438,7 +48438,7 @@ Required: ` + m.join(", "));
48438
48438
  }
48439
48439
  ],
48440
48440
  initialData: rr(Fe.image),
48441
- onSubmit: j(I, Fe, Y),
48441
+ onSubmit: G(I, Fe, Y),
48442
48442
  onChange: hi(Y, Fe, $t),
48443
48443
  onClose: pu($t)
48444
48444
  };
@@ -48505,7 +48505,7 @@ Required: ` + m.join(", "));
48505
48505
  }, te = (x) => {
48506
48506
  const T = typeof x;
48507
48507
  return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && ie(x, String, (V, K) => K.isPrototypeOf(V)) ? "string" : T;
48508
- }, _e = (x) => (T) => te(T) === x, ae = (x) => (T) => typeof T === x, G = (x) => (T) => x === T, Ae = _e("string"), Q = _e("array"), Pe = ae("boolean"), pt = G(void 0), qe = (x) => x == null, bn = (x) => !qe(x), mn = ae("function"), No = ae("number"), us = () => {
48508
+ }, _e = (x) => (T) => te(T) === x, ae = (x) => (T) => typeof T === x, j = (x) => (T) => x === T, Ae = _e("string"), Q = _e("array"), Pe = ae("boolean"), pt = j(void 0), qe = (x) => x == null, bn = (x) => !qe(x), mn = ae("function"), No = ae("number"), us = () => {
48509
48509
  }, Oo = (x, T) => (V) => x(T(V)), Rt = (x) => () => x, pr = (x) => x, dn = (x, T) => x === T;
48510
48510
  function fe(x, ...T) {
48511
48511
  return (...V) => {
@@ -48828,7 +48828,7 @@ Required: ` + m.join(", "));
48828
48828
  hi(x) && x.style.setProperty(T, V);
48829
48829
  }, ju = (x, T) => {
48830
48830
  hi(x) && x.style.removeProperty(T);
48831
- }, j = (x, T, V) => {
48831
+ }, G = (x, T, V) => {
48832
48832
  const K = x.dom;
48833
48833
  pu(K, T, V);
48834
48834
  }, me = (x, T) => {
@@ -49227,7 +49227,7 @@ Required: ` + m.join(", "));
49227
49227
  styles: Rt({
49228
49228
  get: me,
49229
49229
  getRaw: Ie,
49230
- set: j,
49230
+ set: G,
49231
49231
  remove: ft
49232
49232
  }),
49233
49233
  attrs: Rt({
@@ -50702,7 +50702,7 @@ Required: ` + T.join(", "));
50702
50702
  Q.addCommand("mceCodeEditor", () => {
50703
50703
  _e(Q);
50704
50704
  });
50705
- }, G = (Q) => {
50705
+ }, j = (Q) => {
50706
50706
  const Pe = () => Q.execCommand("mceCodeEditor");
50707
50707
  Q.ui.registry.addButton("code", {
50708
50708
  icon: "sourcecode",
@@ -50715,7 +50715,7 @@ Required: ` + T.join(", "));
50715
50715
  });
50716
50716
  };
50717
50717
  var Ae = () => {
50718
- O.add("code", (Q) => (ae(Q), G(Q), {}));
50718
+ O.add("code", (Q) => (ae(Q), j(Q), {}));
50719
50719
  };
50720
50720
  Ae();
50721
50721
  })();
@@ -50983,7 +50983,7 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
50983
50983
  },
50984
50984
  emits: ["update:modelValue", "keydown"],
50985
50985
  setup(O, { expose: ie, emit: te }) {
50986
- const _e = O, ae = te, G = Eo(null);
50986
+ const _e = O, ae = te, j = Eo(null);
50987
50987
  let Ae = null;
50988
50988
  _g(async () => {
50989
50989
  await Rj(), Ae && (Ae.destroy(), Ae = null), PQ.init({
@@ -51021,7 +51021,7 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
51021
51021
  ae("update:modelValue", pt);
51022
51022
  }
51023
51023
  });
51024
- return ie({ focus: () => G.value.focus() }), (pt, qe) => (pe(), ye(Qn, null, [
51024
+ return ie({ focus: () => j.value.focus() }), (pt, qe) => (pe(), ye(Qn, null, [
51025
51025
  O.show ? (pe(), ye("div", {
51026
51026
  key: 0,
51027
51027
  class: an(O.field_name)
@@ -51056,7 +51056,7 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
51056
51056
  "onUpdate:modelValue": qe[0] || (qe[0] = (bn) => Pe.value = bn),
51057
51057
  onKeydown: qe[1] || (qe[1] = (bn) => pt.$emit("keydown", bn)),
51058
51058
  ref_key: "input",
51059
- ref: G,
51059
+ ref: j,
51060
51060
  rows: "4"
51061
51061
  }, null, 42, FQ), [
51062
51062
  [ym, Pe.value]
@@ -51118,9 +51118,9 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
51118
51118
  return 0;
51119
51119
  if (this.limit === 0)
51120
51120
  return this.lastPage;
51121
- for (var O = this.currentPage, ie = this.lastPage, te = this.limit, _e = O - te, ae = O + te + 1, G = [], Ae = [], Q, Pe = 1; Pe <= ie; Pe++)
51122
- (Pe === 1 || Pe === ie || Pe >= _e && Pe < ae) && G.push(Pe);
51123
- return G.forEach(function(pt) {
51121
+ for (var O = this.currentPage, ie = this.lastPage, te = this.limit, _e = O - te, ae = O + te + 1, j = [], Ae = [], Q, Pe = 1; Pe <= ie; Pe++)
51122
+ (Pe === 1 || Pe === ie || Pe >= _e && Pe < ae) && j.push(Pe);
51123
+ return j.forEach(function(pt) {
51124
51124
  Q && (pt - Q === 2 ? Ae.push(Q + 1) : pt - Q !== 1 && Ae.push("...")), Ae.push(pt), Q = pt;
51125
51125
  }), Ae;
51126
51126
  }
@@ -51244,12 +51244,12 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
51244
51244
  d: "m1 9 4-4-4-4"
51245
51245
  })
51246
51246
  ], -1);
51247
- function nee(O, ie, te, _e, ae, G) {
51247
+ function nee(O, ie, te, _e, ae, j) {
51248
51248
  const Ae = y1("RenderlessPagination");
51249
51249
  return pe(), vm(Ae, {
51250
51250
  data: te.data,
51251
51251
  limit: te.limit,
51252
- onPaginationChangePage: G.onPaginationChangePage
51252
+ onPaginationChangePage: j.onPaginationChangePage
51253
51253
  }, {
51254
51254
  default: U8((Q) => [
51255
51255
  P("div", WQ, [
@@ -51483,7 +51483,7 @@ const sq = /* @__PURE__ */ qr(UQ, [["render", nee]]), oee = {
51483
51483
  ], -1), _ee = [
51484
51484
  See
51485
51485
  ], kee = ["data-label"], Tee = { class: "overflow-auto max-h-40" }, Eee = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
51486
- function Aee(O, ie, te, _e, ae, G) {
51486
+ function Aee(O, ie, te, _e, ae, j) {
51487
51487
  const Ae = y1("dropdown"), Q = y1("GlDropdown"), Pe = y1("GlTextInput"), pt = y1("TailwindPagination");
51488
51488
  return pe(), ye("div", see, [
51489
51489
  P("div", ree, [
@@ -51511,7 +51511,7 @@ function Aee(O, ie, te, _e, ae, G) {
51511
51511
  Qa(P("input", {
51512
51512
  type: "text",
51513
51513
  "onUpdate:modelValue": ie[1] || (ie[1] = (qe) => ae.search = qe),
51514
- onInput: ie[2] || (ie[2] = (qe) => G.handleSearch()),
51514
+ onInput: ie[2] || (ie[2] = (qe) => j.handleSearch()),
51515
51515
  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",
51516
51516
  placeholder: "Search ..."
51517
51517
  }, null, 544), [
@@ -51520,7 +51520,7 @@ function Aee(O, ie, te, _e, ae, G) {
51520
51520
  ])
51521
51521
  ]),
51522
51522
  P("div", fee, [
51523
- (pe(!0), ye(Qn, null, sr(G.customFilters, (qe, bn) => (pe(), ye(Qn, { key: bn }, [
51523
+ (pe(!0), ye(Qn, null, sr(j.customFilters, (qe, bn) => (pe(), ye(Qn, { key: bn }, [
51524
51524
  qe.type == "dropdown" ? (pe(), vm(Q, {
51525
51525
  key: 0,
51526
51526
  has_cancel: !0,
@@ -51597,7 +51597,7 @@ function Aee(O, ie, te, _e, ae, G) {
51597
51597
  P("tr", null, [
51598
51598
  (pe(!0), ye(Qn, null, sr(te.columns, (qe, bn) => (pe(), ye("th", {
51599
51599
  key: bn,
51600
- onClick: (mn) => G.updateSortColumn(qe.field_name, qe.sortable),
51600
+ onClick: (mn) => j.updateSortColumn(qe.field_name, qe.sortable),
51601
51601
  class: "w-full px-4 py-2 lg:w-2/12"
51602
51602
  }, [
51603
51603
  ko(gt(qe.field_label) + " ", 1),
@@ -51626,15 +51626,15 @@ function Aee(O, ie, te, _e, ae, G) {
51626
51626
  }])
51627
51627
  }, [
51628
51628
  P("div", Tee, [
51629
- mn.tdComp ? (pe(), vm(o5(G.forDynCompIs(mn.tdComp)), {
51629
+ mn.tdComp ? (pe(), vm(o5(j.forDynCompIs(mn.tdComp)), {
51630
51630
  key: 0,
51631
51631
  row: qe,
51632
51632
  field: mn.field_name,
51633
51633
  xprops: te.xprops,
51634
51634
  tdProps: mn.tdProps,
51635
- onDeleteAction: ie[3] || (ie[3] = (us) => G.GetItemLists()),
51636
- onEditAction: (us) => G.editAction(qe),
51637
- onGeneralAction: (us) => G.generalAction(qe)
51635
+ onDeleteAction: ie[3] || (ie[3] = (us) => j.GetItemLists()),
51636
+ onEditAction: (us) => j.editAction(qe),
51637
+ onGeneralAction: (us) => j.generalAction(qe)
51638
51638
  }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (pe(), ye(Qn, { key: 1 }, [
51639
51639
  ko(gt(qe[mn.field_name]), 1)
51640
51640
  ], 64))
@@ -51651,7 +51651,7 @@ function Aee(O, ie, te, _e, ae, G) {
51651
51651
  limit: ae.limit,
51652
51652
  size: ae.size,
51653
51653
  align: ae.align,
51654
- onPaginationChangePage: G.GetItemLists
51654
+ onPaginationChangePage: j.GetItemLists
51655
51655
  }, null, 8, ["data", "limit", "size", "align", "onPaginationChangePage"])
51656
51656
  ])
51657
51657
  ]);
@@ -51870,7 +51870,7 @@ const ele = /* @__PURE__ */ qr(oee, [["render", Aee]]), Dee = {
51870
51870
  pte,
51871
51871
  bte
51872
51872
  ];
51873
- function yte(O, ie, te, _e, ae, G) {
51873
+ function yte(O, ie, te, _e, ae, j) {
51874
51874
  const Ae = y1("dropdown");
51875
51875
  return pe(), ye("div", Oee, [
51876
51876
  P("div", Ree, [
@@ -51911,7 +51911,7 @@ function yte(O, ie, te, _e, ae, G) {
51911
51911
  P("tr", null, [
51912
51912
  (pe(!0), ye(Qn, null, sr(te.columns, (Q, Pe) => (pe(), ye("th", {
51913
51913
  key: Pe,
51914
- onClick: (pt) => G.sort(Q.field_name, Q.sortable),
51914
+ onClick: (pt) => j.sort(Q.field_name, Q.sortable),
51915
51915
  class: "w-full px-4 py-2 lg:w-2/12"
51916
51916
  }, [
51917
51917
  ko(gt(Q.field_label) + " ", 1),
@@ -51927,7 +51927,7 @@ function yte(O, ie, te, _e, ae, G) {
51927
51927
  colspan: te.columns.length
51928
51928
  }, Kee, 8, Gee)
51929
51929
  ])) : ut("", !0),
51930
- ae.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(G.paginatedData, (Q, Pe) => (pe(), ye("tr", {
51930
+ ae.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(j.paginatedData, (Q, Pe) => (pe(), ye("tr", {
51931
51931
  key: Pe,
51932
51932
  class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
51933
51933
  }, [
@@ -51940,15 +51940,15 @@ function yte(O, ie, te, _e, ae, G) {
51940
51940
  }])
51941
51941
  }, [
51942
51942
  P("div", Xee, [
51943
- pt.tdComp ? (pe(), vm(o5(G.forDynCompIs(pt.tdComp)), {
51943
+ pt.tdComp ? (pe(), vm(o5(j.forDynCompIs(pt.tdComp)), {
51944
51944
  key: 0,
51945
51945
  row: Q,
51946
51946
  field: pt.field_name,
51947
51947
  xprops: te.xprops,
51948
51948
  tdProps: pt.tdProps,
51949
- onDeleteAction: ie[2] || (ie[2] = (bn) => G.GetItemLists()),
51950
- onEditAction: (bn) => G.editAction(Q),
51951
- onGeneralAction: (bn) => G.generalAction(Q)
51949
+ onDeleteAction: ie[2] || (ie[2] = (bn) => j.GetItemLists()),
51950
+ onEditAction: (bn) => j.editAction(Q),
51951
+ onGeneralAction: (bn) => j.generalAction(Q)
51952
51952
  }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (pe(), ye(Qn, { key: 1 }, [
51953
51953
  ko(gt(Q[pt.field_name]), 1)
51954
51954
  ], 64))
@@ -51958,18 +51958,18 @@ function yte(O, ie, te, _e, ae, G) {
51958
51958
  ])
51959
51959
  ])
51960
51960
  ]),
51961
- G.paginatedData.length > 0 ? (pe(), ye("div", Jee, [
51961
+ j.paginatedData.length > 0 ? (pe(), ye("div", Jee, [
51962
51962
  P("div", Qee, [
51963
51963
  P("a", {
51964
51964
  href: "#",
51965
- onClick: ie[3] || (ie[3] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
51965
+ onClick: ie[3] || (ie[3] = oc((...Q) => j.previousPage && j.previousPage(...Q), ["prevent"])),
51966
51966
  disabled: ae.currentPage === 1,
51967
51967
  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"
51968
51968
  }, "Previous", 8, ete),
51969
51969
  P("a", {
51970
51970
  href: "#",
51971
- onClick: ie[4] || (ie[4] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
51972
- disabled: ae.currentPage === G.totalPages,
51971
+ onClick: ie[4] || (ie[4] = oc((...Q) => j.nextPage && j.nextPage(...Q), ["prevent"])),
51972
+ disabled: ae.currentPage === j.totalPages,
51973
51973
  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"
51974
51974
  }, "Next", 8, tte)
51975
51975
  ]),
@@ -51977,11 +51977,11 @@ function yte(O, ie, te, _e, ae, G) {
51977
51977
  P("div", null, [
51978
51978
  P("p", ote, [
51979
51979
  ko(" Showing "),
51980
- P("span", ste, gt(G.firstItemIndex), 1),
51980
+ P("span", ste, gt(j.firstItemIndex), 1),
51981
51981
  ko(" to "),
51982
- P("span", rte, gt(G.lastItemIndex), 1),
51982
+ P("span", rte, gt(j.lastItemIndex), 1),
51983
51983
  ko(" of "),
51984
- P("span", ate, gt(G.filteredData.length), 1),
51984
+ P("span", ate, gt(j.filteredData.length), 1),
51985
51985
  ko(" entries ")
51986
51986
  ])
51987
51987
  ]),
@@ -51991,17 +51991,17 @@ function yte(O, ie, te, _e, ae, G) {
51991
51991
  P("li", null, [
51992
51992
  P("a", {
51993
51993
  href: "#",
51994
- onClick: ie[5] || (ie[5] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
51994
+ onClick: ie[5] || (ie[5] = oc((...Q) => j.previousPage && j.previousPage(...Q), ["prevent"])),
51995
51995
  disabled: ae.currentPage === 1,
51996
51996
  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"
51997
51997
  }, mte, 8, ite)
51998
51998
  ]),
51999
- (pe(!0), ye(Qn, null, sr(G.displayedPageNumbers, (Q) => (pe(), ye(Qn, { key: Q }, [
51999
+ (pe(!0), ye(Qn, null, sr(j.displayedPageNumbers, (Q) => (pe(), ye(Qn, { key: Q }, [
52000
52000
  P("li", null, [
52001
52001
  ae.currentPage !== Q ? (pe(), ye("a", {
52002
52002
  key: 0,
52003
52003
  href: "#",
52004
- onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
52004
+ onClick: oc((Pe) => j.goToPage(Q), ["prevent"]),
52005
52005
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
52006
52006
  }, gt(Q), 9, fte)) : ut("", !0)
52007
52007
  ]),
@@ -52009,7 +52009,7 @@ function yte(O, ie, te, _e, ae, G) {
52009
52009
  ae.currentPage === Q ? (pe(), ye("a", {
52010
52010
  key: 0,
52011
52011
  href: "#",
52012
- onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
52012
+ onClick: oc((Pe) => j.goToPage(Q), ["prevent"]),
52013
52013
  "aria-current": "page",
52014
52014
  class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
52015
52015
  }, gt(Q), 9, gte)) : ut("", !0)
@@ -52018,8 +52018,8 @@ function yte(O, ie, te, _e, ae, G) {
52018
52018
  P("li", null, [
52019
52019
  P("a", {
52020
52020
  href: "#",
52021
- onClick: ie[6] || (ie[6] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
52022
- disabled: ae.currentPage === G.totalPages,
52021
+ onClick: ie[6] || (ie[6] = oc((...Q) => j.nextPage && j.nextPage(...Q), ["prevent"])),
52022
+ disabled: ae.currentPage === j.totalPages,
52023
52023
  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"
52024
52024
  }, vte, 8, hte)
52025
52025
  ])
@@ -52191,7 +52191,7 @@ const tle = /* @__PURE__ */ qr(Dee, [["render", yte]]), wte = {
52191
52191
  ], -1), Hte = [
52192
52192
  Fte
52193
52193
  ], Vte = { 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" }, zte = ["colspan"], Ute = ["data-label"], Wte = { class: "overflow-auto max-h-40" }, Zte = { 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" };
52194
- function jte(O, ie, te, _e, ae, G) {
52194
+ function jte(O, ie, te, _e, ae, j) {
52195
52195
  const Ae = y1("dropdown"), Q = y1("TailwindPagination");
52196
52196
  return pe(), ye("div", xte, [
52197
52197
  P("div", Cte, [
@@ -52219,7 +52219,7 @@ function jte(O, ie, te, _e, ae, G) {
52219
52219
  Qa(P("input", {
52220
52220
  type: "text",
52221
52221
  "onUpdate:modelValue": ie[1] || (ie[1] = (Pe) => ae.search = Pe),
52222
- onInput: ie[2] || (ie[2] = (Pe) => G.handleSearch()),
52222
+ onInput: ie[2] || (ie[2] = (Pe) => j.handleSearch()),
52223
52223
  class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
52224
52224
  placeholder: "Search ..."
52225
52225
  }, null, 544), [
@@ -52233,7 +52233,7 @@ function jte(O, ie, te, _e, ae, G) {
52233
52233
  P("tr", null, [
52234
52234
  (pe(!0), ye(Qn, null, sr(te.columns, (Pe, pt) => (pe(), ye("th", {
52235
52235
  key: pt,
52236
- onClick: (qe) => G.updateSortColumn(Pe.field_name, Pe.sortable),
52236
+ onClick: (qe) => j.updateSortColumn(Pe.field_name, Pe.sortable),
52237
52237
  class: "w-full px-4 py-2 lg:w-2/12"
52238
52238
  }, [
52239
52239
  ko(gt(Pe.field_label) + " ", 1),
@@ -52249,7 +52249,7 @@ function jte(O, ie, te, _e, ae, G) {
52249
52249
  colspan: te.columns.length
52250
52250
  }, Hte, 8, Lte)
52251
52251
  ])) : ut("", !0),
52252
- ae.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(G.groupedItems, (Pe, pt) => (pe(), ye(Qn, null, [
52252
+ ae.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(j.groupedItems, (Pe, pt) => (pe(), ye(Qn, null, [
52253
52253
  P("tr", Vte, [
52254
52254
  P("td", {
52255
52255
  colspan: te.columns.length,
@@ -52266,14 +52266,14 @@ function jte(O, ie, te, _e, ae, G) {
52266
52266
  class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
52267
52267
  }, [
52268
52268
  P("div", Wte, [
52269
- mn.tdComp ? (pe(), vm(o5(G.forDynCompIs(mn.tdComp)), {
52269
+ mn.tdComp ? (pe(), vm(o5(j.forDynCompIs(mn.tdComp)), {
52270
52270
  key: 0,
52271
52271
  row: qe,
52272
52272
  field: mn.field_name,
52273
52273
  xprops: te.xprops,
52274
52274
  tdProps: mn.tdProps,
52275
- onDeleteAction: ie[3] || (ie[3] = (us) => G.GetItemLists()),
52276
- onEditAction: (us) => G.editAction(qe)
52275
+ onDeleteAction: ie[3] || (ie[3] = (us) => j.GetItemLists()),
52276
+ onEditAction: (us) => j.editAction(qe)
52277
52277
  }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (pe(), ye(Qn, { key: 1 }, [
52278
52278
  ko(gt(qe[mn.field_name]), 1)
52279
52279
  ], 64))
@@ -52291,7 +52291,7 @@ function jte(O, ie, te, _e, ae, G) {
52291
52291
  limit: ae.limit,
52292
52292
  size: ae.size,
52293
52293
  align: ae.align,
52294
- onPaginationChangePage: G.GetItemLists
52294
+ onPaginationChangePage: j.GetItemLists
52295
52295
  }, null, 8, ["data", "limit", "size", "align", "onPaginationChangePage"])
52296
52296
  ])
52297
52297
  ]);
@@ -52440,7 +52440,7 @@ const nle = /* @__PURE__ */ qr(wte, [["render", jte]]), Gte = {
52440
52440
  One,
52441
52441
  Rne
52442
52442
  ];
52443
- function Mne(O, ie, te, _e, ae, G) {
52443
+ function Mne(O, ie, te, _e, ae, j) {
52444
52444
  const Ae = y1("dropdown");
52445
52445
  return pe(), ye("div", qte, [
52446
52446
  P("div", Kte, [
@@ -52481,7 +52481,7 @@ function Mne(O, ie, te, _e, ae, G) {
52481
52481
  P("tr", null, [
52482
52482
  (pe(!0), ye(Qn, null, sr(te.columns, (Q, Pe) => (pe(), ye("th", {
52483
52483
  key: Pe,
52484
- onClick: oc((pt) => G.sort(Q), ["prevent"]),
52484
+ onClick: oc((pt) => j.sort(Q), ["prevent"]),
52485
52485
  class: "w-full px-4 py-2 lg:w-2/12 capitalize"
52486
52486
  }, [
52487
52487
  ko(gt(Q) + " ", 1),
@@ -52492,7 +52492,7 @@ function Mne(O, ie, te, _e, ae, G) {
52492
52492
  ])
52493
52493
  ]),
52494
52494
  P("tbody", null, [
52495
- (pe(!0), ye(Qn, null, sr(G.paginatedData, (Q, Pe) => (pe(), ye("tr", {
52495
+ (pe(!0), ye(Qn, null, sr(j.paginatedData, (Q, Pe) => (pe(), ye("tr", {
52496
52496
  key: Pe,
52497
52497
  class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
52498
52498
  }, [
@@ -52510,18 +52510,18 @@ function Mne(O, ie, te, _e, ae, G) {
52510
52510
  ])
52511
52511
  ])
52512
52512
  ]),
52513
- G.paginatedData.length > 0 ? (pe(), ye("div", mne, [
52513
+ j.paginatedData.length > 0 ? (pe(), ye("div", mne, [
52514
52514
  P("div", fne, [
52515
52515
  P("a", {
52516
52516
  href: "#",
52517
- onClick: ie[2] || (ie[2] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
52517
+ onClick: ie[2] || (ie[2] = oc((...Q) => j.previousPage && j.previousPage(...Q), ["prevent"])),
52518
52518
  disabled: ae.currentPage === 1,
52519
52519
  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"
52520
52520
  }, "Previous", 8, gne),
52521
52521
  P("a", {
52522
52522
  href: "#",
52523
- onClick: ie[3] || (ie[3] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
52524
- disabled: ae.currentPage === G.totalPages,
52523
+ onClick: ie[3] || (ie[3] = oc((...Q) => j.nextPage && j.nextPage(...Q), ["prevent"])),
52524
+ disabled: ae.currentPage === j.totalPages,
52525
52525
  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"
52526
52526
  }, "Next", 8, hne)
52527
52527
  ]),
@@ -52529,11 +52529,11 @@ function Mne(O, ie, te, _e, ae, G) {
52529
52529
  P("div", null, [
52530
52530
  P("p", bne, [
52531
52531
  ko(" Showing "),
52532
- P("span", vne, gt(G.firstItemIndex), 1),
52532
+ P("span", vne, gt(j.firstItemIndex), 1),
52533
52533
  ko(" to "),
52534
- P("span", yne, gt(G.lastItemIndex), 1),
52534
+ P("span", yne, gt(j.lastItemIndex), 1),
52535
52535
  ko(" of "),
52536
- P("span", wne, gt(G.filteredData.length), 1),
52536
+ P("span", wne, gt(j.filteredData.length), 1),
52537
52537
  ko(" entries ")
52538
52538
  ])
52539
52539
  ]),
@@ -52543,17 +52543,17 @@ function Mne(O, ie, te, _e, ae, G) {
52543
52543
  P("li", null, [
52544
52544
  P("a", {
52545
52545
  href: "#",
52546
- onClick: ie[4] || (ie[4] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
52546
+ onClick: ie[4] || (ie[4] = oc((...Q) => j.previousPage && j.previousPage(...Q), ["prevent"])),
52547
52547
  disabled: ae.currentPage === 1,
52548
52548
  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"
52549
52549
  }, Tne, 8, Sne)
52550
52550
  ]),
52551
- (pe(!0), ye(Qn, null, sr(G.displayedPageNumbers, (Q) => (pe(), ye(Qn, { key: Q }, [
52551
+ (pe(!0), ye(Qn, null, sr(j.displayedPageNumbers, (Q) => (pe(), ye(Qn, { key: Q }, [
52552
52552
  P("li", null, [
52553
52553
  ae.currentPage !== Q ? (pe(), ye("a", {
52554
52554
  key: 0,
52555
52555
  href: "#",
52556
- onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
52556
+ onClick: oc((Pe) => j.goToPage(Q), ["prevent"]),
52557
52557
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
52558
52558
  }, gt(Q), 9, Ene)) : ut("", !0)
52559
52559
  ]),
@@ -52561,7 +52561,7 @@ function Mne(O, ie, te, _e, ae, G) {
52561
52561
  ae.currentPage === Q ? (pe(), ye("a", {
52562
52562
  key: 0,
52563
52563
  href: "#",
52564
- onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
52564
+ onClick: oc((Pe) => j.goToPage(Q), ["prevent"]),
52565
52565
  "aria-current": "page",
52566
52566
  class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
52567
52567
  }, gt(Q), 9, Ane)) : ut("", !0)
@@ -52570,8 +52570,8 @@ function Mne(O, ie, te, _e, ae, G) {
52570
52570
  P("li", null, [
52571
52571
  P("a", {
52572
52572
  href: "#",
52573
- onClick: ie[5] || (ie[5] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
52574
- disabled: ae.currentPage === G.totalPages,
52573
+ onClick: ie[5] || (ie[5] = oc((...Q) => j.nextPage && j.nextPage(...Q), ["prevent"])),
52574
+ disabled: ae.currentPage === j.totalPages,
52575
52575
  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"
52576
52576
  }, $ne, 8, Dne)
52577
52577
  ])
@@ -52586,11 +52586,11 @@ const ole = /* @__PURE__ */ qr(Gte, [["render", Mne]]), Pne = {
52586
52586
  props: ["field", "row", "tdProps"],
52587
52587
  methods: {
52588
52588
  convertCronToHuman(O) {
52589
- const [ie, te, _e, ae, G] = O.split(" ");
52590
- if (ie === "*" && te === "*" && _e === "*" && ae === "*" && G === "*")
52589
+ const [ie, te, _e, ae, j] = O.split(" ");
52590
+ if (ie === "*" && te === "*" && _e === "*" && ae === "*" && j === "*")
52591
52591
  return "Runs every minute.";
52592
- if (ie === "0" && te === "0" && _e === "*" && ae === "*" && G !== "*")
52593
- return `Runs at 12:00 AM every ${this.convertDayOfWeek(G)}.`;
52592
+ if (ie === "0" && te === "0" && _e === "*" && ae === "*" && j !== "*")
52593
+ return `Runs at 12:00 AM every ${this.convertDayOfWeek(j)}.`;
52594
52594
  const Ae = {
52595
52595
  0: "Sunday",
52596
52596
  1: "Monday",
@@ -52614,21 +52614,21 @@ const ole = /* @__PURE__ */ qr(Gte, [["render", Mne]]), Pne = {
52614
52614
  11: "November",
52615
52615
  12: "December",
52616
52616
  "*": "every month"
52617
- }, Pe = this.convertField(ie, "minute", 59), pt = this.convertField(te, "hour", 23), qe = this.convertField(_e, "day of the month", 31), bn = this.convertField(ae, "month", 12, Q), mn = this.convertField(G, "day", 6, Ae);
52617
+ }, Pe = this.convertField(ie, "minute", 59), pt = this.convertField(te, "hour", 23), qe = this.convertField(_e, "day of the month", 31), bn = this.convertField(ae, "month", 12, Q), mn = this.convertField(j, "day", 6, Ae);
52618
52618
  return `Runs ${Pe} ${pt} ${qe} ${bn} on ${mn}.`;
52619
52619
  },
52620
52620
  convertField(O, ie, te, _e = {}) {
52621
52621
  if (O === "*") return `every ${ie}`;
52622
52622
  if (O.includes("/")) {
52623
- const [ae, G] = O.split("/");
52624
- return `every ${G} ${ie}${G > 1 ? "s" : ""} starting at ${ae}`;
52623
+ const [ae, j] = O.split("/");
52624
+ return `every ${j} ${ie}${j > 1 ? "s" : ""} starting at ${ae}`;
52625
52625
  }
52626
52626
  if (O.includes("-")) {
52627
- const [ae, G] = O.split("-");
52628
- return `${ie}s from ${ae} to ${G}`;
52627
+ const [ae, j] = O.split("-");
52628
+ return `${ie}s from ${ae} to ${j}`;
52629
52629
  }
52630
52630
  if (O.includes(",")) {
52631
- const ae = O.split(",").map((G) => _e[G] || G);
52631
+ const ae = O.split(",").map((j) => _e[j] || j);
52632
52632
  return `${ie}s on ${ae.join(", ")}`;
52633
52633
  }
52634
52634
  return _e[O] || `${ie} ${O}`;
@@ -52653,9 +52653,9 @@ const ole = /* @__PURE__ */ qr(Gte, [["render", Mne]]), Pne = {
52653
52653
  key: 0,
52654
52654
  class: "flex flex-wrap gap-2"
52655
52655
  }, Bne = { class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300" };
52656
- function Ine(O, ie, te, _e, ae, G) {
52656
+ function Ine(O, ie, te, _e, ae, j) {
52657
52657
  return te.row[te.field] ? (pe(), ye("div", Nne, [
52658
- P("span", Bne, gt(G.convertCronToHuman(te.row[te.field])), 1)
52658
+ P("span", Bne, gt(j.convertCronToHuman(te.row[te.field])), 1)
52659
52659
  ])) : ut("", !0);
52660
52660
  }
52661
52661
  const sle = /* @__PURE__ */ qr(Pne, [["render", Ine]]), Lne = {
@@ -52666,19 +52666,19 @@ const sle = /* @__PURE__ */ qr(Pne, [["render", Ine]]), Lne = {
52666
52666
  O.value.push(ae);
52667
52667
  },
52668
52668
  unregisterAccordion: (ae) => {
52669
- const G = O.value.indexOf(ae);
52670
- G > -1 && O.value.splice(G, 1);
52669
+ const j = O.value.indexOf(ae);
52670
+ j > -1 && O.value.splice(j, 1);
52671
52671
  },
52672
52672
  toggleAccordion: (ae) => {
52673
- O.value.forEach((G) => {
52674
- G !== ae && G.isOpen && G.isOpen.value !== void 0 && (G.isOpen.value = !1);
52673
+ O.value.forEach((j) => {
52674
+ j !== ae && j.isOpen && j.isOpen.value !== void 0 && (j.isOpen.value = !1);
52675
52675
  }), ae.isOpen && ae.isOpen.value !== void 0 && (ae.isOpen.value = !ae.isOpen.value);
52676
52676
  },
52677
52677
  accordions: O
52678
52678
  }), {};
52679
52679
  }
52680
52680
  };
52681
- function Fne(O, ie, te, _e, ae, G) {
52681
+ function Fne(O, ie, te, _e, ae, j) {
52682
52682
  return pe(), ye("div", null, [
52683
52683
  yf(O.$slots, "default")
52684
52684
  ]);
@@ -52699,7 +52699,7 @@ const rle = /* @__PURE__ */ qr(Lne, [["render", Fne]]), Hne = {
52699
52699
  return pt = Math.floor(pt / 16), (bn === "x" ? mn : mn & 3 | 8).toString(16);
52700
52700
  });
52701
52701
  return qe;
52702
- })(), ae = { isOpen: O, id: _e }, G = vc(() => ie.accordions.value), Ae = vc(() => G.value.length > 0 && G.value[0].id === _e), Q = vc(() => G.value.length > 0 && G.value[G.value.length - 1].id === _e);
52702
+ })(), ae = { isOpen: O, id: _e }, j = vc(() => ie.accordions.value), Ae = vc(() => j.value.length > 0 && j.value[0].id === _e), Q = vc(() => j.value.length > 0 && j.value[j.value.length - 1].id === _e);
52703
52703
  return _g(() => {
52704
52704
  ie.registerAccordion(ae);
52705
52705
  }), Pq(() => {
@@ -52739,7 +52739,7 @@ const rle = /* @__PURE__ */ qr(Lne, [["render", Fne]]), Hne = {
52739
52739
  }, null, -1), Gne = [
52740
52740
  jne
52741
52741
  ];
52742
- function qne(O, ie, te, _e, ae, G) {
52742
+ function qne(O, ie, te, _e, ae, j) {
52743
52743
  return pe(), ye("div", null, [
52744
52744
  P("h2", null, [
52745
52745
  P("button", {
@@ -52848,13 +52848,13 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
52848
52848
  setTimeout(() => _e("remove"), te.duration);
52849
52849
  });
52850
52850
  const _e = ie;
52851
- return (ae, G) => (pe(), ye("div", Kne, [
52851
+ return (ae, j) => (pe(), ye("div", Kne, [
52852
52852
  te.type === "success" ? (pe(), ye("div", Yne, Qne)) : ut("", !0),
52853
52853
  te.type === "error" ? (pe(), ye("div", eoe, ooe)) : ut("", !0),
52854
52854
  te.type === "warning" ? (pe(), ye("div", soe, loe)) : ut("", !0),
52855
52855
  P("div", coe, gt(te.message), 1),
52856
52856
  P("button", {
52857
- onClick: G[0] || (G[0] = (Ae) => _e("remove")),
52857
+ onClick: j[0] || (j[0] = (Ae) => _e("remove")),
52858
52858
  type: "button",
52859
52859
  class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
52860
52860
  "data-dismiss-target": "#toast-default",
@@ -52877,12 +52877,12 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
52877
52877
  class: "fixed z-[1060] w-full max-w-xs space-y-4 top-4 right-4"
52878
52878
  }, {
52879
52879
  default: U8(() => [
52880
- (pe(!0), ye(Qn, null, sr(Bq(s5).state.items, (ae, G) => (pe(), vm(moe, {
52880
+ (pe(!0), ye(Qn, null, sr(Bq(s5).state.items, (ae, j) => (pe(), vm(moe, {
52881
52881
  key: ae.key,
52882
52882
  message: ae.message,
52883
52883
  type: ae.type,
52884
52884
  duration: ae.duration,
52885
- onRemove: (Ae) => ie(G)
52885
+ onRemove: (Ae) => ie(j)
52886
52886
  }, null, 8, ["message", "type", "duration", "onRemove"]))), 128))
52887
52887
  ]),
52888
52888
  _: 1
@@ -52930,7 +52930,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
52930
52930
  },
52931
52931
  emits: ["deleteAction"],
52932
52932
  setup(O, { emit: ie }) {
52933
- const te = O, _e = Eo(!1), ae = Eo(!1), G = () => {
52933
+ const te = O, _e = Eo(!1), ae = Eo(!1), j = () => {
52934
52934
  _e.value = !1;
52935
52935
  }, Ae = () => {
52936
52936
  _e.value = !0;
@@ -52989,7 +52989,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
52989
52989
  [n5, _e.value]
52990
52990
  ])
52991
52991
  ])), [
52992
- [No, G]
52992
+ [No, j]
52993
52993
  ]) : ut("", !0)
52994
52994
  ], 64);
52995
52995
  };
@@ -53036,7 +53036,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
53036
53036
  },
53037
53037
  emits: ["deleteAction"],
53038
53038
  setup(O, { emit: ie }) {
53039
- const te = O, _e = Eo(!1), ae = Eo(!1), G = () => {
53039
+ const te = O, _e = Eo(!1), ae = Eo(!1), j = () => {
53040
53040
  _e.value = !1;
53041
53041
  }, Ae = () => {
53042
53042
  _e.value = !0;
@@ -53086,7 +53086,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
53086
53086
  [n5, _e.value]
53087
53087
  ])
53088
53088
  ])), [
53089
- [No, G]
53089
+ [No, j]
53090
53090
  ]) : ut("", !0)
53091
53091
  ], 64);
53092
53092
  };
@@ -53144,9 +53144,9 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
53144
53144
  "clip-rule": "evenodd"
53145
53145
  })
53146
53146
  ], -1);
53147
- function Boe(O, ie, te, _e, ae, G) {
53147
+ function Boe(O, ie, te, _e, ae, j) {
53148
53148
  return pe(), ye("div", null, [
53149
- G.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row, (Ae, Q) => (pe(), ye("div", {
53149
+ j.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row, (Ae, Q) => (pe(), ye("div", {
53150
53150
  key: Q,
53151
53151
  class: "m-1 d-inline-block"
53152
53152
  }, [
@@ -53159,7 +53159,7 @@ function Boe(O, ie, te, _e, ae, G) {
53159
53159
  $oe,
53160
53160
  ko(" Download ")
53161
53161
  ], 8, Roe)
53162
- ]))), 128)) : G.isString ? (pe(), ye("div", Moe, [
53162
+ ]))), 128)) : j.isString ? (pe(), ye("div", Moe, [
53163
53163
  P("a", {
53164
53164
  href: te.row,
53165
53165
  title: te.row,
@@ -53220,8 +53220,8 @@ const ule = /* @__PURE__ */ qr(Ooe, [["render", Boe]]), Ioe = {
53220
53220
  "clip-rule": "evenodd"
53221
53221
  })
53222
53222
  ], -1);
53223
- function Uoe(O, ie, te, _e, ae, G) {
53224
- return G.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row[te.field], (Ae) => (pe(), ye("div", {
53223
+ function Uoe(O, ie, te, _e, ae, j) {
53224
+ return j.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row[te.field], (Ae) => (pe(), ye("div", {
53225
53225
  key: Ae.id,
53226
53226
  class: "m-1 d-inline-block"
53227
53227
  }, [
@@ -53234,7 +53234,7 @@ function Uoe(O, ie, te, _e, ae, G) {
53234
53234
  Foe,
53235
53235
  ko(" Download ")
53236
53236
  ], 8, Loe)
53237
- ]))), 128)) : G.isObject ? (pe(), ye("div", Hoe, [
53237
+ ]))), 128)) : j.isObject ? (pe(), ye("div", Hoe, [
53238
53238
  P("a", {
53239
53239
  href: te.row[te.field].url,
53240
53240
  title: te.row[te.field].name,
@@ -53249,7 +53249,7 @@ function Uoe(O, ie, te, _e, ae, G) {
53249
53249
  const dle = /* @__PURE__ */ qr(Ioe, [["render", Uoe]]), Woe = {
53250
53250
  props: ["field", "row", "tdProps"]
53251
53251
  }, Zoe = { key: 0 }, joe = ["innerHTML"];
53252
- function Goe(O, ie, te, _e, ae, G) {
53252
+ function Goe(O, ie, te, _e, ae, j) {
53253
53253
  return te.row[te.field] ? (pe(), ye("div", Zoe, [
53254
53254
  P("div", {
53255
53255
  class: "w-full",
@@ -53278,12 +53278,12 @@ const mle = /* @__PURE__ */ qr(Woe, [["render", Goe]]), qoe = {
53278
53278
  key: 1,
53279
53279
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
53280
53280
  };
53281
- function Xoe(O, ie, te, _e, ae, G) {
53281
+ function Xoe(O, ie, te, _e, ae, j) {
53282
53282
  return this.row[this.entry.key] ? (pe(), ye("div", Koe, [
53283
- G.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row[G.entry.key], (Ae, Q) => (pe(), ye("span", {
53283
+ j.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row[j.entry.key], (Ae, Q) => (pe(), ye("span", {
53284
53284
  key: Q,
53285
53285
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
53286
- }, gt(Ae[G.entry.field]), 1))), 128)) : G.isObject ? (pe(), ye("span", Yoe, gt(te.row[G.entry.key][G.entry.field]), 1)) : ut("", !0)
53286
+ }, gt(Ae[j.entry.field]), 1))), 128)) : j.isObject ? (pe(), ye("span", Yoe, gt(te.row[j.entry.key][j.entry.field]), 1)) : ut("", !0)
53287
53287
  ])) : ut("", !0);
53288
53288
  }
53289
53289
  const fle = /* @__PURE__ */ qr(qoe, [["render", Xoe]]), Joe = {
@@ -53309,18 +53309,18 @@ const fle = /* @__PURE__ */ qr(qoe, [["render", Xoe]]), Joe = {
53309
53309
  key: 1,
53310
53310
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
53311
53311
  };
53312
- function tse(O, ie, te, _e, ae, G) {
53312
+ function tse(O, ie, te, _e, ae, j) {
53313
53313
  return pe(), ye("div", Qoe, [
53314
- G.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(G.getNestedValue(te.row, G.entry.keys), (Ae, Q) => (pe(), ye("span", {
53314
+ j.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(j.getNestedValue(te.row, j.entry.keys), (Ae, Q) => (pe(), ye("span", {
53315
53315
  key: Q,
53316
53316
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
53317
- }, gt(Ae[G.entry.field]), 1))), 128)) : G.isObject ? (pe(), ye("span", ese, gt(G.getNestedValue(te.row, G.entry.keys)[G.entry.field]), 1)) : ut("", !0)
53317
+ }, gt(Ae[j.entry.field]), 1))), 128)) : j.isObject ? (pe(), ye("span", ese, gt(j.getNestedValue(te.row, j.entry.keys)[j.entry.field]), 1)) : ut("", !0)
53318
53318
  ]);
53319
53319
  }
53320
53320
  const gle = /* @__PURE__ */ qr(Joe, [["render", tse]]), nse = {
53321
53321
  props: ["field", "row", "tdProps"]
53322
53322
  }, ose = { key: 0 }, sse = { class: "m-1 d-inline-block" }, rse = ["href", "title"], ase = ["src", "alt", "title"];
53323
- function lse(O, ie, te, _e, ae, G) {
53323
+ function lse(O, ie, te, _e, ae, j) {
53324
53324
  return te.row[te.field] ? (pe(), ye("div", ose, [
53325
53325
  P("div", sse, [
53326
53326
  P("a", {
@@ -53351,8 +53351,8 @@ const hle = /* @__PURE__ */ qr(nse, [["render", lse], ["__scopeId", "data-v-3a28
53351
53351
  key: 0,
53352
53352
  class: "grid grid-cols-2 gap-4"
53353
53353
  }, use = ["src", "alt"], dse = { key: 1 }, mse = ["src", "alt"];
53354
- function fse(O, ie, te, _e, ae, G) {
53355
- return G.isArray ? (pe(), ye("div", ise, [
53354
+ function fse(O, ie, te, _e, ae, j) {
53355
+ return j.isArray ? (pe(), ye("div", ise, [
53356
53356
  (pe(!0), ye(Qn, null, sr(te.row[te.field], (Ae) => (pe(), ye("div", {
53357
53357
  key: Ae.id
53358
53358
  }, [
@@ -53362,7 +53362,7 @@ function fse(O, ie, te, _e, ae, G) {
53362
53362
  alt: Ae.file_name
53363
53363
  }, null, 8, use)
53364
53364
  ]))), 128))
53365
- ])) : G.isObject ? (pe(), ye("div", dse, [
53365
+ ])) : j.isObject ? (pe(), ye("div", dse, [
53366
53366
  P("img", {
53367
53367
  class: "h-auto max-w-full rounded-lg",
53368
53368
  src: te.row[te.field].thumbnail,
@@ -53384,12 +53384,12 @@ const ple = /* @__PURE__ */ qr(cse, [["render", fse]]), gse = {
53384
53384
  key: 1,
53385
53385
  class: "inline-flex items-center px-2 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full dark:bg-red-900 dark:text-red-300"
53386
53386
  }, yse = /* @__PURE__ */ P("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
53387
- function wse(O, ie, te, _e, ae, G) {
53387
+ function wse(O, ie, te, _e, ae, j) {
53388
53388
  return pe(), ye("div", hse, [
53389
- G.isActive ? (pe(), ye("span", pse, [
53389
+ j.isActive ? (pe(), ye("span", pse, [
53390
53390
  bse,
53391
53391
  ko(" Active ")
53392
- ])) : G.isActive ? ut("", !0) : (pe(), ye("span", vse, [
53392
+ ])) : j.isActive ? ut("", !0) : (pe(), ye("span", vse, [
53393
53393
  yse,
53394
53394
  ko(" Inactive ")
53395
53395
  ]))
@@ -53424,25 +53424,25 @@ const ble = /* @__PURE__ */ qr(gse, [["render", wse]]), xse = {
53424
53424
  /* @__PURE__ */ P("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
53425
53425
  /* @__PURE__ */ P("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
53426
53426
  ], -1);
53427
- function Mse(O, ie, te, _e, ae, G) {
53427
+ function Mse(O, ie, te, _e, ae, j) {
53428
53428
  return pe(), ye("div", Cse, [
53429
- G.hasLabelColor == "green" ? (pe(), ye("span", Sse, [
53429
+ j.hasLabelColor == "green" ? (pe(), ye("span", Sse, [
53430
53430
  _se,
53431
53431
  ko(" " + gt(this.row[this.field]), 1)
53432
53432
  ])) : ut("", !0),
53433
- G.hasLabelColor == "red" ? (pe(), ye("span", kse, [
53433
+ j.hasLabelColor == "red" ? (pe(), ye("span", kse, [
53434
53434
  Tse,
53435
53435
  ko(" " + gt(this.row[this.field]), 1)
53436
53436
  ])) : ut("", !0),
53437
- G.hasLabelColor == "yellow" ? (pe(), ye("span", Ese, [
53437
+ j.hasLabelColor == "yellow" ? (pe(), ye("span", Ese, [
53438
53438
  Ase,
53439
53439
  ko(" " + gt(this.row[this.field]), 1)
53440
53440
  ])) : ut("", !0),
53441
- G.hasLabelColor == "default" ? (pe(), ye("span", Dse, [
53441
+ j.hasLabelColor == "default" ? (pe(), ye("span", Dse, [
53442
53442
  Ose,
53443
53443
  ko(" " + gt(this.row[this.field]), 1)
53444
53444
  ])) : ut("", !0),
53445
- G.hasLabelColor == "animate" ? (pe(), ye("span", Rse, [
53445
+ j.hasLabelColor == "animate" ? (pe(), ye("span", Rse, [
53446
53446
  $se,
53447
53447
  ko(" " + gt(this.row[this.field]), 1)
53448
53448
  ])) : ut("", !0)
@@ -53470,39 +53470,39 @@ const vle = /* @__PURE__ */ qr(xse, [["render", Mse]]), Pse = {
53470
53470
  }
53471
53471
  }
53472
53472
  }, Nse = { class: "flex flex-wrap gap-2 text-nowrap lg:justify-center" };
53473
- function Bse(O, ie, te, _e, ae, G) {
53473
+ function Bse(O, ie, te, _e, ae, j) {
53474
53474
  return pe(), ye("div", Nse, [
53475
- G.hasLabelColor == "Default" ? (pe(), ye("span", {
53475
+ j.hasLabelColor == "Default" ? (pe(), ye("span", {
53476
53476
  key: 0,
53477
- class: an(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", G.badgeType])
53477
+ class: an(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", j.badgeType])
53478
53478
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53479
- G.hasLabelColor == "Dark" ? (pe(), ye("span", {
53479
+ j.hasLabelColor == "Dark" ? (pe(), ye("span", {
53480
53480
  key: 1,
53481
- class: an(["bg-gray-100 text-gray-800 font-medium me-2 px-2.5 py-0.5 dark:bg-gray-700 dark:text-gray-300 border-gray-500", G.badgeType])
53481
+ class: an(["bg-gray-100 text-gray-800 font-medium me-2 px-2.5 py-0.5 dark:bg-gray-700 dark:text-gray-300 border-gray-500", j.badgeType])
53482
53482
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53483
- G.hasLabelColor == "Red" ? (pe(), ye("span", {
53483
+ j.hasLabelColor == "Red" ? (pe(), ye("span", {
53484
53484
  key: 2,
53485
- class: an(["bg-red-100 text-red-800 font-medium me-2 px-2.5 py-0.5 dark:bg-red-900 dark:text-red-300 border-red-400", G.badgeType])
53485
+ class: an(["bg-red-100 text-red-800 font-medium me-2 px-2.5 py-0.5 dark:bg-red-900 dark:text-red-300 border-red-400", j.badgeType])
53486
53486
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53487
- G.hasLabelColor == "Green" ? (pe(), ye("span", {
53487
+ j.hasLabelColor == "Green" ? (pe(), ye("span", {
53488
53488
  key: 3,
53489
- class: an(["bg-green-100 text-green-800 font-medium me-2 px-2.5 py-0.5 dark:bg-green-900 dark:text-green-300 border-green-400", G.badgeType])
53489
+ class: an(["bg-green-100 text-green-800 font-medium me-2 px-2.5 py-0.5 dark:bg-green-900 dark:text-green-300 border-green-400", j.badgeType])
53490
53490
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53491
- G.hasLabelColor == "Yellow" ? (pe(), ye("span", {
53491
+ j.hasLabelColor == "Yellow" ? (pe(), ye("span", {
53492
53492
  key: 4,
53493
- class: an(["bg-yellow-100 text-yellow-800 font-medium me-2 px-2.5 py-0.5 dark:bg-yellow-900 dark:text-yellow-300 border-yellow-300", G.badgeType])
53493
+ class: an(["bg-yellow-100 text-yellow-800 font-medium me-2 px-2.5 py-0.5 dark:bg-yellow-900 dark:text-yellow-300 border-yellow-300", j.badgeType])
53494
53494
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53495
- G.hasLabelColor == "Indigo" ? (pe(), ye("span", {
53495
+ j.hasLabelColor == "Indigo" ? (pe(), ye("span", {
53496
53496
  key: 5,
53497
- class: an(["bg-indigo-100 text-indigo-800 font-medium me-2 px-2.5 py-0.5 dark:bg-indigo-900 dark:text-indigo-300 border-indigo-400", G.badgeType])
53497
+ class: an(["bg-indigo-100 text-indigo-800 font-medium me-2 px-2.5 py-0.5 dark:bg-indigo-900 dark:text-indigo-300 border-indigo-400", j.badgeType])
53498
53498
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53499
- G.hasLabelColor == "Purple" ? (pe(), ye("span", {
53499
+ j.hasLabelColor == "Purple" ? (pe(), ye("span", {
53500
53500
  key: 6,
53501
- class: an(["bg-purple-100 text-purple-800 font-medium me-2 px-2.5 py-0.5 dark:bg-purple-900 dark:text-purple-300 border-purple-400", G.badgeType])
53501
+ class: an(["bg-purple-100 text-purple-800 font-medium me-2 px-2.5 py-0.5 dark:bg-purple-900 dark:text-purple-300 border-purple-400", j.badgeType])
53502
53502
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53503
- G.hasLabelColor == "Pink" ? (pe(), ye("span", {
53503
+ j.hasLabelColor == "Pink" ? (pe(), ye("span", {
53504
53504
  key: 7,
53505
- class: an(["bg-pink-100 text-pink-800 font-medium me-2 px-2.5 py-0.5 dark:bg-pink-900 dark:text-pink-300 border-pink-400", G.badgeType])
53505
+ class: an(["bg-pink-100 text-pink-800 font-medium me-2 px-2.5 py-0.5 dark:bg-pink-900 dark:text-pink-300 border-pink-400", j.badgeType])
53506
53506
  }, gt(this.row[this.field]), 3)) : ut("", !0)
53507
53507
  ]);
53508
53508
  }
@@ -53559,27 +53559,27 @@ const yle = /* @__PURE__ */ qr(Pse, [["render", Bse]]), Ise = {
53559
53559
  /* @__PURE__ */ P("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
53560
53560
  /* @__PURE__ */ P("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
53561
53561
  ], -1);
53562
- function Kse(O, ie, te, _e, ae, G) {
53562
+ function Kse(O, ie, te, _e, ae, j) {
53563
53563
  return pe(), ye("div", Lse, [
53564
- G.hasLabelColor == "green" ? (pe(), ye("span", Fse, [
53564
+ j.hasLabelColor == "green" ? (pe(), ye("span", Fse, [
53565
53565
  Hse,
53566
- ko(" " + gt(G.getLabel), 1)
53566
+ ko(" " + gt(j.getLabel), 1)
53567
53567
  ])) : ut("", !0),
53568
- G.hasLabelColor == "red" ? (pe(), ye("span", Vse, [
53568
+ j.hasLabelColor == "red" ? (pe(), ye("span", Vse, [
53569
53569
  zse,
53570
- ko(" " + gt(G.getLabel), 1)
53570
+ ko(" " + gt(j.getLabel), 1)
53571
53571
  ])) : ut("", !0),
53572
- G.hasLabelColor == "yellow" ? (pe(), ye("span", Use, [
53572
+ j.hasLabelColor == "yellow" ? (pe(), ye("span", Use, [
53573
53573
  Wse,
53574
- ko(" " + gt(G.getLabel), 1)
53574
+ ko(" " + gt(j.getLabel), 1)
53575
53575
  ])) : ut("", !0),
53576
- G.hasLabelColor == "default" ? (pe(), ye("span", Zse, [
53576
+ j.hasLabelColor == "default" ? (pe(), ye("span", Zse, [
53577
53577
  jse,
53578
- ko(" " + gt(G.getLabel), 1)
53578
+ ko(" " + gt(j.getLabel), 1)
53579
53579
  ])) : ut("", !0),
53580
- G.hasLabelColor == "animate" ? (pe(), ye("span", Gse, [
53580
+ j.hasLabelColor == "animate" ? (pe(), ye("span", Gse, [
53581
53581
  qse,
53582
- ko(" " + gt(G.getLabel), 1)
53582
+ ko(" " + gt(j.getLabel), 1)
53583
53583
  ])) : ut("", !0)
53584
53584
  ]);
53585
53585
  }
@@ -53591,13 +53591,13 @@ const wle = /* @__PURE__ */ qr(Ise, [["render", Kse]]), Yse = {
53591
53591
  return "";
53592
53592
  const O = new Date(this.row[this.field]), ie = O.getFullYear(), te = O.toLocaleString("default", { month: "long" }), _e = O.getDate();
53593
53593
  let ae = O.getHours();
53594
- const G = O.getMinutes(), Ae = O.getSeconds(), Q = ae >= 12 ? "pm" : "am";
53595
- return ae = ae % 12, ae = ae || 12, `${te} ${_e}, ${ie}, ${ae}:${G}:${Ae} ${Q}`;
53594
+ const j = O.getMinutes(), Ae = O.getSeconds(), Q = ae >= 12 ? "pm" : "am";
53595
+ return ae = ae % 12, ae = ae || 12, `${te} ${_e}, ${ie}, ${ae}:${j}:${Ae} ${Q}`;
53596
53596
  }
53597
53597
  }
53598
53598
  }, Xse = { class: "w-full" };
53599
- function Jse(O, ie, te, _e, ae, G) {
53600
- return pe(), ye("div", Xse, gt(G.formattedDate), 1);
53599
+ function Jse(O, ie, te, _e, ae, j) {
53600
+ return pe(), ye("div", Xse, gt(j.formattedDate), 1);
53601
53601
  }
53602
53602
  const xle = /* @__PURE__ */ qr(Yse, [["render", Jse]]), Qse = {
53603
53603
  props: ["field", "row", "tdProps"],
@@ -53610,8 +53610,8 @@ const xle = /* @__PURE__ */ qr(Yse, [["render", Jse]]), Qse = {
53610
53610
  }
53611
53611
  }
53612
53612
  }, ere = { class: "w-full" };
53613
- function tre(O, ie, te, _e, ae, G) {
53614
- return pe(), ye("div", ere, gt(G.formattedDate), 1);
53613
+ function tre(O, ie, te, _e, ae, j) {
53614
+ return pe(), ye("div", ere, gt(j.formattedDate), 1);
53615
53615
  }
53616
53616
  const Cle = /* @__PURE__ */ qr(Qse, [["render", tre]]), nre = {
53617
53617
  props: ["field", "row", "tdProps"]
@@ -53628,7 +53628,7 @@ const Cle = /* @__PURE__ */ qr(Qse, [["render", tre]]), nre = {
53628
53628
  key: 2,
53629
53629
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
53630
53630
  }, ire = /* @__PURE__ */ P("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
53631
- function ure(O, ie, te, _e, ae, G) {
53631
+ function ure(O, ie, te, _e, ae, j) {
53632
53632
  return pe(), ye("div", ore, [
53633
53633
  te.row[te.field] === 0 ? (pe(), ye("span", sre, [
53634
53634
  rre,
@@ -53650,7 +53650,7 @@ const Sle = /* @__PURE__ */ qr(nre, [["render", ure]]), dre = {
53650
53650
  key: 0,
53651
53651
  class: "text-nowrap w-full"
53652
53652
  }, fre = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
53653
- function gre(O, ie, te, _e, ae, G) {
53653
+ function gre(O, ie, te, _e, ae, j) {
53654
53654
  return te.row[te.field] ? (pe(), ye("div", mre, [
53655
53655
  P("pre", fre, " " + gt(te.row[te.field]) + `
53656
53656
  `, 1)
@@ -53678,7 +53678,7 @@ const _le = /* @__PURE__ */ qr(dre, [["render", gre]]), hre = {
53678
53678
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
53679
53679
  "aria-hidden": "true"
53680
53680
  }, "​", -1), wre = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, xre = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, Cre = { class: "sm:flex sm:items-start" }, Sre = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, _re = { class: "text-lg font-medium leading-6" }, kre = { class: "mt-2" }, Tre = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse" };
53681
- function Ere(O, ie, te, _e, ae, G) {
53681
+ function Ere(O, ie, te, _e, ae, j) {
53682
53682
  return te.isOpen ? (pe(), ye("div", pre, [
53683
53683
  P("div", bre, [
53684
53684
  vre,
@@ -53696,12 +53696,12 @@ function Ere(O, ie, te, _e, ae, G) {
53696
53696
  ]),
53697
53697
  P("div", Tre, [
53698
53698
  P("button", {
53699
- onClick: ie[0] || (ie[0] = (...Ae) => G.confirmAction && G.confirmAction(...Ae)),
53699
+ onClick: ie[0] || (ie[0] = (...Ae) => j.confirmAction && j.confirmAction(...Ae)),
53700
53700
  type: "button",
53701
53701
  class: "inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"
53702
53702
  }, gt(te.button_text), 1),
53703
53703
  P("button", {
53704
- onClick: ie[1] || (ie[1] = (...Ae) => G.cancelAction && G.cancelAction(...Ae)),
53704
+ onClick: ie[1] || (ie[1] = (...Ae) => j.cancelAction && j.cancelAction(...Ae)),
53705
53705
  type: "button",
53706
53706
  class: "inline-flex justify-center w-full px-4 py-2 mt-3 text-base font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
53707
53707
  }, " Cancel ")
@@ -53730,7 +53730,7 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
53730
53730
  }
53731
53731
  },
53732
53732
  setup(O, { expose: ie }) {
53733
- const te = Eo(""), _e = Eo(""), ae = Eo(""), G = Eo("Cancel"), Ae = Eo(!1), Q = Eo(void 0), Pe = Eo(void 0), pt = (mn = {}) => (te.value = mn.title, _e.value = mn.message, ae.value = mn.okButton, mn.cancelButton && (G.value = mn.cancelButton), Ae.value = !0, new Promise((No, us) => {
53733
+ const te = Eo(""), _e = Eo(""), ae = Eo(""), j = Eo("Cancel"), Ae = Eo(!1), Q = Eo(void 0), Pe = Eo(void 0), pt = (mn = {}) => (te.value = mn.title, _e.value = mn.message, ae.value = mn.okButton, mn.cancelButton && (j.value = mn.cancelButton), Ae.value = !0, new Promise((No, us) => {
53734
53734
  Q.value = No, Pe.value = us;
53735
53735
  })), qe = () => {
53736
53736
  Ae.value = !1, Q.value(!0);
@@ -53764,7 +53764,7 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
53764
53764
  onClick: bn,
53765
53765
  type: "button",
53766
53766
  class: "inline-flex justify-center w-full px-4 py-2 mt-3 text-base font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
53767
- }, gt(G.value), 1)
53767
+ }, gt(j.value), 1)
53768
53768
  ])
53769
53769
  ])
53770
53770
  ])
@@ -53821,8 +53821,8 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
53821
53821
  }
53822
53822
  },
53823
53823
  setup(O) {
53824
- const ie = O, te = Eo(!1), _e = (G) => {
53825
- navigator.clipboard.writeText(G).then(function() {
53824
+ const ie = O, te = Eo(!1), _e = (j) => {
53825
+ navigator.clipboard.writeText(j).then(function() {
53826
53826
  te.value = !0, setTimeout(() => {
53827
53827
  te.value = !1;
53828
53828
  }, 2e3);
@@ -53830,7 +53830,7 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
53830
53830
  console.error("Error copying to clipboard: ", Ae);
53831
53831
  });
53832
53832
  }, ae = vc(() => ie.code);
53833
- return (G, Ae) => (pe(), ye("div", Hre, [
53833
+ return (j, Ae) => (pe(), ye("div", Hre, [
53834
53834
  P("div", Vre, [
53835
53835
  P("p", zre, gt(O.label_name), 1)
53836
53836
  ]),
@@ -53901,8 +53901,8 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
53901
53901
  }
53902
53902
  },
53903
53903
  setup(O) {
53904
- const ie = O, te = Eo(!1), _e = (G) => {
53905
- navigator.clipboard.writeText(G).then(function() {
53904
+ const ie = O, te = Eo(!1), _e = (j) => {
53905
+ navigator.clipboard.writeText(j).then(function() {
53906
53906
  te.value = !0, setTimeout(() => {
53907
53907
  te.value = !1;
53908
53908
  }, 2e3);
@@ -53910,7 +53910,7 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
53910
53910
  console.error("Error copying to clipboard: ", Ae);
53911
53911
  });
53912
53912
  }, ae = vc(() => ie.code);
53913
- return (G, Ae) => (pe(), ye("div", nae, [
53913
+ return (j, Ae) => (pe(), ye("div", nae, [
53914
53914
  P("div", oae, [
53915
53915
  P("label", sae, gt(O.label_name), 1)
53916
53916
  ]),
@@ -54012,7 +54012,7 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
54012
54012
  const te = ie, _e = () => {
54013
54013
  te("reconnect");
54014
54014
  };
54015
- return (ae, G) => (pe(), ye("div", Sae, [
54015
+ return (ae, j) => (pe(), ye("div", Sae, [
54016
54016
  O.status === 0 ? (pe(), ye("span", _ae, [
54017
54017
  kae,
54018
54018
  ko(" Connecting")