golden-logic-ui 1.0.365 → 1.0.366

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  import { openBlock as pe, createElementBlock as ye, createElementVNode as P, createCommentVNode as ut, createStaticVNode as Dq, reactive as Oq, resolveComponent as y1, Fragment as Qn, createVNode as ub, normalizeClass as an, toDisplayString as gt, withModifiers as oc, withDirectives as Qa, vModelText as ym, renderList as sr, normalizeStyle as Oj, computed as vc, renderSlot as yf, ref as Eo, onMounted as _g, onBeforeUnmount as W8, watch as Gx, createTextVNode as ko, vShow as n5, nextTick as Rj, createBlock as vm, resolveDynamicComponent as o5, mergeProps as t5, withCtx as U8, vModelDynamic as JG, useSlots as Rq, provide as QG, inject as eq, pushScopeId as $q, popScopeId as Mq, vModelCheckbox as tq, toHandlers as Aj, onUnmounted as Pq, TransitionGroup as Nq, unref as Bq, resolveDirective as nq, markRaw as Iq } from "vue";
2
2
  const qr = (O, ie) => {
3
3
  const te = O.__vccOpts || O;
4
- for (const [_e, ae] of ie)
5
- te[_e] = ae;
4
+ for (const [_e, le] of ie)
5
+ te[_e] = le;
6
6
  return te;
7
7
  }, Lq = {
8
8
  props: ["isOpen"],
@@ -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, j) {
30
+ function jq(O, ie, te, _e, le, G) {
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, j) {
36
36
  Wq,
37
37
  P("div", Zq, [
38
38
  P("button", {
39
- onClick: ie[0] || (ie[0] = (...Ae) => j.confirmDeletion && j.confirmDeletion(...Ae)),
39
+ onClick: ie[0] || (ie[0] = (...Ae) => G.confirmDeletion && G.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) => j.cancelDeletion && j.cancelDeletion(...Ae)),
44
+ onClick: ie[1] || (ie[1] = (...Ae) => G.cancelDeletion && G.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,33 +180,33 @@ 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, j]) => {
184
- _e.append(ae, j);
183
+ _e.append("file", O), Object.entries(this.file_config).forEach(([le, G]) => {
184
+ _e.append(le, G);
185
185
  }), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media", _e, {
186
- onUploadProgress: (ae) => {
186
+ onUploadProgress: (le) => {
187
187
  this.files[this.files.length - 1].loading = Math.floor(
188
- ae.loaded / ae.total * 100
188
+ le.loaded / le.total * 100
189
189
  );
190
190
  }
191
- }).then((ae) => {
192
- let j = this.files.findIndex(
191
+ }).then((le) => {
192
+ let G = this.files.findIndex(
193
193
  (Ae) => Ae.file_name === O.name
194
194
  );
195
- j !== -1 && this.files.splice(j, 1), this.has_multiple_file || (this.uploadFileList = []), this.uploadFileList.push({
196
- file_name: ae.data.file_name,
197
- size: ae.data.size,
198
- id: ae.data.id,
199
- url: ae.data.url
195
+ G !== -1 && this.files.splice(G, 1), this.has_multiple_file || (this.uploadFileList = []), this.uploadFileList.push({
196
+ file_name: le.data.file_name,
197
+ size: le.data.size,
198
+ id: le.data.id,
199
+ url: le.data.url
200
200
  }), this.error_message_data = "", ie();
201
- }).catch((ae) => {
202
- ae.response.status === 422 ? this.error_message_data = this.getFirstError(
203
- ae.response.data.errors,
201
+ }).catch((le) => {
202
+ le.response.status === 422 ? this.error_message_data = this.getFirstError(
203
+ le.response.data.errors,
204
204
  "file"
205
- ) : console.error("An error occurred:", ae);
206
- let j = this.files.findIndex(
205
+ ) : console.error("An error occurred:", le);
206
+ let G = this.files.findIndex(
207
207
  (Ae) => Ae.file_name === O.name
208
208
  );
209
- j !== -1 && this.files.splice(j, 1), console.log(ae), ie();
209
+ G !== -1 && this.files.splice(G, 1), console.log(le), ie();
210
210
  });
211
211
  });
212
212
  }
@@ -245,31 +245,31 @@ 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, j) {
248
+ function _K(O, ie, te, _e, le, G) {
249
249
  const Ae = y1("DeleteConfirmationModal");
250
250
  return pe(), ye(Qn, null, [
251
251
  ub(Ae, {
252
- isOpen: ae.open_delete_modal,
253
- onConfirmDelete: j.deleteAction,
254
- onCancelDelete: j.closeDeleteModal
252
+ isOpen: le.open_delete_modal,
253
+ onConfirmDelete: G.deleteAction,
254
+ onCancelDelete: G.closeDeleteModal
255
255
  }, null, 8, ["isOpen", "onConfirmDelete", "onCancelDelete"]),
256
256
  P("div", {
257
257
  class: an([{
258
- "border-red-500 dark:border-red-500": ae.error_message_data !== "",
259
- "border-gray-200 dark:border-gray-700": ae.error_message_data == ""
258
+ "border-red-500 dark:border-red-500": le.error_message_data !== "",
259
+ "border-gray-200 dark:border-gray-700": le.error_message_data == ""
260
260
  }, "w-full p-4 bg-white border rounded-lg shadow dark:bg-gray-800"])
261
261
  }, [
262
262
  P("label", {
263
263
  class: an({
264
- "gl-label-form": ae.error_message_data == "",
265
- "gl-label-form-invalid": ae.error_message_data !== "",
264
+ "gl-label-form": le.error_message_data == "",
265
+ "gl-label-form-invalid": le.error_message_data !== "",
266
266
  required: te.is_required
267
267
  })
268
268
  }, gt(te.label_name), 3),
269
269
  P("div", {
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"])),
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"])),
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,30 +278,30 @@ function _K(O, ie, te, _e, ae, j) {
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) => j.uploadFiles && j.uploadFiles(...Q))
281
+ onChange: ie[0] || (ie[0] = (...Q) => G.uploadFiles && G.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) => j.uploadFileListFinal = Q)
286
+ "onUpdate:modelValue": ie[1] || (ie[1] = (Q) => G.uploadFileListFinal = Q)
287
287
  }, null, 8, Xq), [
288
- [ym, j.uploadFileListFinal]
288
+ [ym, G.uploadFileListFinal]
289
289
  ]),
290
- ae.isDragging ? (pe(), ye("div", tK, oK)) : (pe(), ye("div", {
290
+ le.isDragging ? (pe(), ye("div", tK, oK)) : (pe(), ye("div", {
291
291
  key: 0,
292
292
  class: "flex flex-col items-center justify-center",
293
293
  onClick: ie[2] || (ie[2] = (Q) => O.$refs["file_input" + this.field_name].click())
294
294
  }, eK))
295
295
  ])
296
296
  ], 32),
297
- P("span", sK, gt(ae.error_message_data), 1),
297
+ P("span", sK, gt(le.error_message_data), 1),
298
298
  P("small", rK, gt(te.description), 1),
299
- ae.files.length > 0 ? (pe(), ye("section", aK, [
300
- (pe(!0), ye(Qn, null, sr(ae.files, (Q, Pe) => (pe(), ye("li", lK, [
299
+ le.files.length > 0 ? (pe(), ye("section", aK, [
300
+ (pe(!0), ye(Qn, null, sr(le.files, (Q, Pe) => (pe(), ye("li", lK, [
301
301
  cK,
302
302
  P("div", iK, [
303
303
  P("div", uK, [
304
- P("span", dK, gt(j.getFileName(Q.file_name)), 1),
304
+ P("span", dK, gt(G.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, j) {
314
314
  ]))), 256))
315
315
  ])) : ut("", !0),
316
316
  P("section", gK, [
317
- (pe(!0), ye(Qn, null, sr(j.uploadFileListFinal, (Q, Pe) => (pe(), ye("li", hK, [
317
+ (pe(!0), ye(Qn, null, sr(G.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(j.getFileName(Q.file_name)), 1),
322
- P("span", wK, gt(j.formatFileSize(Q.size)), 1)
321
+ P("span", yK, gt(G.getFileName(Q.file_name)), 1),
322
+ P("span", wK, gt(G.formatFileSize(Q.size)), 1)
323
323
  ])
324
324
  ]),
325
325
  P("div", xK, [
@@ -331,7 +331,7 @@ function _K(O, ie, te, _e, ae, j) {
331
331
  te.is_enable_delete ? (pe(), ye("i", {
332
332
  key: 0,
333
333
  onClick: (pt) => {
334
- ae.media_id = Q.id, ae.open_delete_modal = !0;
334
+ le.media_id = Q.id, le.open_delete_modal = !0;
335
335
  },
336
336
  class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
337
337
  }, null, 8, SK)) : ut("", !0)
@@ -377,9 +377,9 @@ 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, j) {
380
+ function DK(O, ie, te, _e, le, G) {
381
381
  return pe(), ye("ul", TK, [
382
- (pe(!0), ye(Qn, null, sr(ae.locals, (Ae, Q) => (pe(), ye("li", null, [
382
+ (pe(!0), ye(Qn, null, sr(le.locals, (Ae, Q) => (pe(), ye("li", null, [
383
383
  P("input", {
384
384
  type: "radio",
385
385
  name: te.trans_selector_name,
@@ -387,14 +387,14 @@ function DK(O, ie, te, _e, ae, j) {
387
387
  class: "hidden peer",
388
388
  id: Ae + "_" + te.field_name,
389
389
  autocomplete: "off",
390
- checked: Ae === ae.default_language
390
+ checked: Ae === le.default_language
391
391
  }, null, 8, EK),
392
392
  P("label", {
393
393
  for: Ae + "_" + te.field_name,
394
394
  class: an([{
395
395
  "border md:!rounded-s-lg": Q === 0,
396
- "border md:!rounded-e-lg": Q === ae.locals.length - 1,
397
- "border-t border-b": Q !== 0 && Q !== ae.locals.length - 1
396
+ "border md:!rounded-e-lg": Q === le.locals.length - 1,
397
+ "border-t border-b": Q !== 0 && Q !== le.locals.length - 1
398
398
  }, "block w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
399
399
  }, gt(Ae), 11, AK)
400
400
  ]))), 256))
@@ -414,20 +414,20 @@ 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, j) => (pe(), ye("div", {
417
+ return (le, G) => (pe(), ye("div", {
418
418
  class: an(["flex flex-col gap-9", te.value])
419
419
  }, [
420
420
  P("div", OK, [
421
421
  P("div", RK, [
422
422
  P("h3", $K, [
423
- yf(ae.$slots, "header")
423
+ yf(le.$slots, "header")
424
424
  ])
425
425
  ]),
426
- ae.$slots.body ? (pe(), ye("div", {
426
+ le.$slots.body ? (pe(), ye("div", {
427
427
  key: 0,
428
428
  class: an(["p-6", _e.value])
429
429
  }, [
430
- yf(ae.$slots, "body")
430
+ yf(le.$slots, "body")
431
431
  ], 2)) : ut("", !0)
432
432
  ])
433
433
  ], 2));
@@ -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), j = Eo([]), Ae = Eo([]), Q = Eo(0), Pe = Eo(!1), pt = Eo(""), qe = Eo(""), bn = Eo(null), mn = Eo(0), No = Eo(0), us = () => {
517
+ const te = O, _e = ie, le = Eo(null), G = Eo([]), Ae = Eo([]), Q = Eo(0), 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 j.value.findIndex((Me) => Me.id === rt) !== -1;
569
+ return G.value.findIndex((Me) => Me.id === rt) !== -1;
570
570
  }
571
571
  function Nn() {
572
- j.value = Dt();
572
+ G.value = Dt();
573
573
  }
574
574
  function ds() {
575
- j.value = [], _e("update:modelValue", []), _e("selected", []), _e("selectionChanged", []);
575
+ G.value = [], _e("update:modelValue", []), _e("selected", []), _e("selectionChanged", []);
576
576
  }
577
577
  function In(rt) {
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);
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);
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(j.value))
600
- return eo(j.value) ? Rt.value.filter(
601
- (rt) => j.value.some(
599
+ if (Qr(G.value))
600
+ return eo(G.value) ? Rt.value.filter(
601
+ (rt) => G.value.some(
602
602
  (Me) => String(Me.id) === String(rt.id)
603
603
  )
604
604
  ) || [] : Rt.value.filter(
605
- (rt) => j.value.some(
605
+ (rt) => G.value.some(
606
606
  (Me) => String(Me) === String(rt.id)
607
607
  )
608
608
  ) || [];
609
609
  if (te.modelValue)
610
- return eo(te.modelValue) ? j.value = Rt.value.filter(
610
+ return eo(te.modelValue) ? G.value = Rt.value.filter(
611
611
  (rt) => te.modelValue.some(
612
612
  (Me) => String(Me.id) === String(rt.id)
613
613
  )
614
- ) || [] : j.value = Rt.value.filter(
614
+ ) || [] : G.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 = 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);
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);
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", j.value);
640
+ pt.value = "", _e("selected", G.value);
641
641
  }
642
642
  return Gx(pt, () => {
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));
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));
646
646
  }), (rt, Me) => (pe(), ye(Qn, null, [
647
647
  O.show ? (pe(), ye("div", {
648
648
  key: 0,
@@ -724,7 +724,7 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
724
724
  Qa(P("input", {
725
725
  type: "search",
726
726
  "onUpdate:modelValue": Me[2] || (Me[2] = (nn) => pt.value = nn),
727
- ref: ae.value,
727
+ ref: le.value,
728
728
  id: `${O.field_name}search${qe.value}`,
729
729
  onKeydown: fe,
730
730
  onBlur: Me[3] || (Me[3] = (nn) => to()),
@@ -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, j) {
833
+ function YK(O, ie, te, _e, le, G) {
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 ${j.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 ${G.buttonTypeClass}`)
838
838
  }, {
839
839
  default: U8(() => [
840
840
  KK,
@@ -847,7 +847,7 @@ function YK(O, ie, te, _e, ae, j) {
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 ${j.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 ${G.buttonTypeClass}`
851
851
  }), {
852
852
  default: U8(() => [
853
853
  te.icon ? (pe(), ye("i", {
@@ -909,22 +909,22 @@ 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, j = Eo(null), Ae = Eo(null), Q = () => {
913
- Ae.value && ae("update:modelValueTranslate", Ae.value.value);
912
+ const _e = O, le = te, G = Eo(null), Ae = Eo(null), Q = () => {
913
+ Ae.value && le("update:modelValueTranslate", Ae.value.value);
914
914
  };
915
915
  return _g(() => {
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", {
916
+ G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (le("update:modelValue", _e.modelValue), G.value.value = _e.modelValue), _e.modelValueTranslate && (le("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,
920
920
  field: _e.translatable.field
921
921
  }
922
922
  }).then((Pe) => {
923
- Ae.value.value = JSON.stringify(Pe.data), ae("update:modelValueTranslate", JSON.stringify(Pe.data));
923
+ Ae.value.value = JSON.stringify(Pe.data), le("update:modelValueTranslate", JSON.stringify(Pe.data));
924
924
  }).catch((Pe) => {
925
925
  console.log(Pe);
926
926
  });
927
- }), ie({ focus: () => j.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
927
+ }), ie({ focus: () => G.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: j,
985
+ ref: G,
986
986
  rows: "4"
987
987
  }, `
988
988
  `, 42, sY),
@@ -1049,26 +1049,26 @@ 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, j = Eo(null), Ae = Eo(null), Q = () => {
1053
- Ae.value && ae("update:modelValueTranslate", Ae.value.value);
1052
+ const _e = O, le = te, G = Eo(null), Ae = Eo(null), Q = () => {
1053
+ Ae.value && le("update:modelValueTranslate", Ae.value.value);
1054
1054
  };
1055
1055
  return _g(() => {
1056
1056
  tinymce.init({
1057
1057
  selector: "#" + _e.field_name,
1058
1058
  width: "100%",
1059
1059
  height: 300
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", {
1060
+ }), G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (le("update:modelValue", _e.modelValue), G.value.value = _e.modelValue), _e.modelValueTranslate && (le("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,
1064
1064
  field: _e.translatable.field
1065
1065
  }
1066
1066
  }).then((Pe) => {
1067
- Ae.value.value = JSON.stringify(Pe.data), ae("update:modelValueTranslate", JSON.stringify(Pe.data));
1067
+ Ae.value.value = JSON.stringify(Pe.data), le("update:modelValueTranslate", JSON.stringify(Pe.data));
1068
1068
  }).catch((Pe) => {
1069
1069
  console.log(Pe);
1070
1070
  });
1071
- }), ie({ focus: () => j.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
1071
+ }), ie({ focus: () => G.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: j,
1128
+ ref: G,
1129
1129
  rows: "4"
1130
1130
  }, `
1131
1131
  `, 42, gY),
@@ -1184,22 +1184,22 @@ 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, j = Eo(null), Ae = Eo(null), Q = () => {
1188
- Ae.value && ae("update:modelValueTranslate", Ae.value.value);
1187
+ const _e = O, le = te, G = Eo(null), Ae = Eo(null), Q = () => {
1188
+ Ae.value && le("update:modelValueTranslate", Ae.value.value);
1189
1189
  };
1190
1190
  return _g(() => {
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", {
1191
+ G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (le("update:modelValue", _e.modelValue), G.value.value = _e.modelValue), _e.modelValueTranslate && (le("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,
1195
1195
  field: _e.translatable.field
1196
1196
  }
1197
1197
  }).then((Pe) => {
1198
- Ae.value.value = JSON.stringify(Pe.data), ae("update:modelValueTranslate", JSON.stringify(Pe.data));
1198
+ Ae.value.value = JSON.stringify(Pe.data), le("update:modelValueTranslate", JSON.stringify(Pe.data));
1199
1199
  }).catch((Pe) => {
1200
1200
  console.log(Pe);
1201
1201
  });
1202
- }), ie({ focus: () => j.value.focus() }), (Pe, pt) => (pe(), ye(Qn, null, [
1202
+ }), ie({ focus: () => G.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: j
1259
+ ref: G
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,19 +1309,19 @@ 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, j = Eo(null);
1312
+ const _e = O, le = te, G = Eo(null);
1313
1313
  _g(() => {
1314
- j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus();
1314
+ G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
1315
1315
  });
1316
1316
  const Ae = vc({
1317
1317
  get() {
1318
1318
  return _e.modelValue;
1319
1319
  },
1320
1320
  set(Q) {
1321
- ae("update:modelValue", Q);
1321
+ le("update:modelValue", Q);
1322
1322
  }
1323
1323
  });
1324
- return ie({ focus: () => j.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
1324
+ return ie({ focus: () => G.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: j,
1358
+ ref: G,
1359
1359
  placeholder: O.placeholder
1360
1360
  }, null, 42, RY), [
1361
1361
  [JG, Ae.value]
@@ -1415,19 +1415,19 @@ 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, j = Eo(null);
1418
+ const _e = O, le = te, G = Eo(null);
1419
1419
  _g(() => {
1420
- j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus();
1420
+ G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
1421
1421
  });
1422
1422
  const Ae = vc({
1423
1423
  get() {
1424
1424
  return _e.modelValue;
1425
1425
  },
1426
1426
  set(Q) {
1427
- ae("update:modelValue", Q);
1427
+ le("update:modelValue", Q);
1428
1428
  }
1429
1429
  });
1430
- return ie({ focus: () => j.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
1430
+ return ie({ focus: () => G.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: j,
1466
+ ref: G,
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(""), j = Eo({
1517
+ const te = O, _e = ie, le = Eo(""), G = 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
- 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 });
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 });
1528
1528
  }
1529
1529
  }), Q = vc({
1530
1530
  get() {
1531
1531
  return te.modelValue.end;
1532
1532
  },
1533
1533
  set(pt) {
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 });
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 });
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.", 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 = "";
1537
+ pt && qe && new Date(pt) > new Date(qe) ? (le.value = "Start date cannot be after end date.", G.value.start = "", G.value.end = "", _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end })) : pt && qe && new Date(qe) < new Date(pt) ? (le.value = "End date cannot be before start date.", G.value.start = "", G.value.end = "", _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end })) : le.value = "";
1538
1538
  };
1539
1539
  return (pt, qe) => (pe(), ye(Qn, null, [
1540
1540
  O.show ? (pe(), ye("div", {
@@ -1551,8 +1551,8 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1551
1551
  }, [
1552
1552
  P("label", {
1553
1553
  class: an({
1554
- "gl-label-form": O.error_message == "" && ae.value == "",
1555
- "gl-label-form-invalid": O.error_message !== "" || ae.value !== "",
1554
+ "gl-label-form": O.error_message == "" && le.value == "",
1555
+ "gl-label-form-invalid": O.error_message !== "" || le.value !== "",
1556
1556
  required: O.is_required
1557
1557
  }),
1558
1558
  for: O.field_name
@@ -1563,8 +1563,8 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1563
1563
  name: O.field_name + "Start",
1564
1564
  id: O.field_name + "Start",
1565
1565
  class: an({
1566
- "gl-input-form": O.error_message == "" && ae.value == "",
1567
- "gl-input-form-invalid": O.error_message !== "" || ae.value !== ""
1566
+ "gl-input-form": O.error_message == "" && le.value == "",
1567
+ "gl-input-form-invalid": O.error_message !== "" || le.value !== ""
1568
1568
  }),
1569
1569
  type: "date",
1570
1570
  "onUpdate:modelValue": qe[0] || (qe[0] = (bn) => Ae.value = bn),
@@ -1578,8 +1578,8 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1578
1578
  name: O.field_name + "End",
1579
1579
  id: O.field_name + "End",
1580
1580
  class: an({
1581
- "gl-input-form": O.error_message == "" && ae.value == "",
1582
- "gl-input-form-invalid": O.error_message !== "" || ae.value !== ""
1581
+ "gl-input-form": O.error_message == "" && le.value == "",
1582
+ "gl-input-form-invalid": O.error_message !== "" || le.value !== ""
1583
1583
  }),
1584
1584
  type: "date",
1585
1585
  "onUpdate:modelValue": qe[1] || (qe[1] = (bn) => Q.value = bn),
@@ -1589,7 +1589,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1589
1589
  ])
1590
1590
  ]),
1591
1591
  P("div", QY, [
1592
- P("span", eX, gt(O.error_message || ae.value), 1)
1592
+ P("span", eX, gt(O.error_message || le.value), 1)
1593
1593
  ]),
1594
1594
  P("small", tX, gt(O.description), 1)
1595
1595
  ], 2))
@@ -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 = (j) => {
1645
- const Ae = j.target.files[0];
1646
- console.log(Ae), te("keydown", j), Ae && te("update:modelValue", Ae);
1644
+ const te = ie, _e = Eo(null), le = (G) => {
1645
+ const Ae = G.target.files[0];
1646
+ console.log(Ae), te("keydown", G), Ae && te("update:modelValue", Ae);
1647
1647
  };
1648
- return (j, Ae) => (pe(), ye(Qn, null, [
1648
+ return (G, Ae) => (pe(), ye(Qn, null, [
1649
1649
  O.show ? (pe(), ye("div", {
1650
1650
  key: 0,
1651
1651
  class: an(O.field_name)
@@ -1675,7 +1675,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1675
1675
  "gl-input-form-invalid": O.error_message !== ""
1676
1676
  }),
1677
1677
  type: "file",
1678
- onChange: ae,
1678
+ onChange: le,
1679
1679
  ref_key: "input",
1680
1680
  ref: _e,
1681
1681
  placeholder: O.placeholder
@@ -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)), j = Eo("");
1694
- QG("selectedTitle", j);
1693
+ const te = ie, _e = Rq(), le = Eo(_e.default().map((Pe) => Pe.props)), G = Eo("");
1694
+ QG("selectedTitle", G);
1695
1695
  const Ae = (Pe) => {
1696
1696
  window.location.hash = encodeURIComponent(Pe), te("TabChange", Pe);
1697
1697
  }, Q = () => {
1698
- const Pe = decodeURIComponent(window.location.hash.replace("#", "")), pt = ae.value.find((qe) => qe.title === Pe);
1699
- pt ? j.value = pt.title : (j.value = ae.value[0].title, te("TabChange", ae.value[0].title));
1698
+ const Pe = decodeURIComponent(window.location.hash.replace("#", "")), pt = le.value.find((qe) => qe.title === Pe);
1699
+ pt && (G.value = pt.title);
1700
1700
  };
1701
- return Gx(j, (Pe) => {
1701
+ return Gx(G, (Pe) => {
1702
1702
  Ae(Pe);
1703
1703
  }), _g(() => {
1704
1704
  Q(), window.addEventListener("hashchange", Q);
@@ -1708,13 +1708,13 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1708
1708
  P("div", iX, [
1709
1709
  P("div", uX, [
1710
1710
  P("ul", dX, [
1711
- (pe(!0), ye(Qn, null, sr(ae.value, (qe) => (pe(), ye("li", {
1711
+ (pe(!0), ye(Qn, null, sr(le.value, (qe) => (pe(), ye("li", {
1712
1712
  key: qe.title,
1713
- onClick: (bn) => j.value = qe.title,
1713
+ onClick: (bn) => G.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": 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"])
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"])
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, j) {
1748
+ function vX(O, ie, te, _e, le, G) {
1749
1749
  return te.title == _e.selectedTitle ? (pe(), ye("div", bX, [
1750
1750
  yf(O.$slots, "default")
1751
1751
  ])) : ut("", !0);
@@ -1803,23 +1803,23 @@ const Gae = /* @__PURE__ */ qr(pX, [["render", vX]]), yX = {
1803
1803
  generateRandomString(O) {
1804
1804
  let ie = "";
1805
1805
  const te = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", _e = te.length;
1806
- for (let ae = 0; ae < O; ae++)
1806
+ for (let le = 0; le < O; le++)
1807
1807
  ie += te.charAt(Math.floor(Math.random() * _e));
1808
1808
  return ie;
1809
1809
  },
1810
1810
  movingActions() {
1811
1811
  let O = this, ie = document.getElementById("slider_" + this.Random_string);
1812
- const te = (ae) => {
1812
+ const te = (le) => {
1813
1813
  ie.style.cursor = "grabbing";
1814
- const j = (Q) => {
1814
+ const G = (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", j), document.removeEventListener("touchmove", j), document.removeEventListener("mouseup", Ae), document.removeEventListener("touchend", Ae), ie.style.cursor = "grab";
1818
+ document.removeEventListener("mousemove", G), document.removeEventListener("touchmove", G), document.removeEventListener("mouseup", Ae), document.removeEventListener("touchend", Ae), ie.style.cursor = "grab";
1819
1819
  };
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
- }, _e = (ae) => {
1822
- ae.key === "ArrowLeft" ? O.prev() : ae.key === "ArrowRight" && O.next();
1820
+ document.addEventListener("mousemove", G), document.addEventListener("touchmove", G, { passive: !1 }), document.addEventListener("mouseup", Ae), document.addEventListener("touchend", Ae), O.initialX = le.clientX || le.touches && le.touches[0] && le.touches[0].clientX, O.initialY = le.clientY || le.touches && le.touches[0] && le.touches[0].clientY;
1821
+ }, _e = (le) => {
1822
+ le.key === "ArrowLeft" ? O.prev() : le.key === "ArrowRight" && O.next();
1823
1823
  };
1824
1824
  ie.addEventListener("mousedown", te), ie.addEventListener("touchstart", te), document.addEventListener("keydown", _e);
1825
1825
  },
@@ -1830,17 +1830,17 @@ 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), 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
- this.dotsNum = this.elementsToShow == 1 ? ae.length : ae.length - this.elementsToShow + 1;
1836
- let Q = this.elementsToShow == 1 ? Ae * ae.length / this.dotsNum : Ae * (ae.length - this.elementsToShow) / (this.dotsNum - 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"), le = 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), le.length > 1) {
1835
+ this.dotsNum = this.elementsToShow == 1 ? le.length : le.length - this.elementsToShow + 1;
1836
+ let Q = this.elementsToShow == 1 ? Ae * le.length / this.dotsNum : Ae * (le.length - this.elementsToShow) / (this.dotsNum - 1);
1837
1837
  this.dotsNavigation = [];
1838
1838
  for (let Pe = 0; Pe < this.dotsNum; Pe++)
1839
1839
  this.dotsNavigation.push(Q * Pe);
1840
1840
  }
1841
- te.style.width = ae.length * Ae + "px", te.style.transition = "margin", te.style.transitionDuration = "1s";
1842
- for (let Q = 0; Q < ae.length; Q++) {
1843
- const Pe = ae[Q];
1841
+ te.style.width = le.length * Ae + "px", te.style.transition = "margin", te.style.transitionDuration = "1s";
1842
+ for (let Q = 0; Q < le.length; Q++) {
1843
+ const Pe = le[Q];
1844
1844
  Pe.style.width = Ae + "px";
1845
1845
  }
1846
1846
  },
@@ -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, j) {
2037
+ function SJ(O, ie, te, _e, le, G) {
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, j) {
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) => j.prev())
2047
+ onClick: ie[0] || (ie[0] = (Ae) => G.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, j) {
2052
2052
  ])
2053
2053
  ])) : ut("", !0),
2054
2054
  P("div", {
2055
- class: an(["overflow-hidden", j.sliderContainerAction()]),
2055
+ class: an(["overflow-hidden", G.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, j) {
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) => j.prev(), ["stop"]))
2069
+ onClick: ie[1] || (ie[1] = oc((Ae) => G.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, j) {
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) => j.next(), ["stop"]))
2084
+ onClick: ie[2] || (ie[2] = oc((Ae) => G.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, j) {
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", j.sliderIndicatorsAction()])
2094
+ class: an(["flex justify-center mb-1 space-x-1", G.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) => j.setDot(Ae)
2100
+ onClick: (Q) => G.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", j.sliderIndicatorsAction()])
2105
+ class: an(["flex justify-center mb-1 space-x-1", G.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) => j.setDot(Ae)
2111
+ onClick: (Q) => G.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, j) {
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) => j.prev())
2119
+ onClick: ie[3] || (ie[3] = (Ae) => G.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, j) {
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) => j.next())
2130
+ onClick: ie[4] || (ie[4] = (Ae) => G.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, j) {
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) => j.next())
2144
+ onClick: ie[5] || (ie[5] = (Ae) => G.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)
@@ -2193,17 +2193,17 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2193
2193
  },
2194
2194
  emits: ["closeModal"],
2195
2195
  setup(O, { emit: ie }) {
2196
- const te = O, _e = ie, ae = () => {
2196
+ const te = O, _e = ie, le = () => {
2197
2197
  document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
2198
- }, j = () => {
2198
+ }, G = () => {
2199
2199
  document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
2200
2200
  }, Ae = () => {
2201
- _e("closeModal"), j();
2201
+ _e("closeModal"), G();
2202
2202
  };
2203
2203
  return Gx(
2204
2204
  () => te.is_open,
2205
2205
  (Q, Pe) => {
2206
- Q ? ae() : j();
2206
+ Q ? le() : G();
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), j = vc({
2294
+ const te = O, _e = ie, le = Eo(null), G = vc({
2295
2295
  get() {
2296
2296
  return te.modelValue;
2297
2297
  },
@@ -2317,7 +2317,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2317
2317
  "true-value": 1,
2318
2318
  "false-value": 0,
2319
2319
  ref_key: "input",
2320
- ref: ae,
2320
+ ref: le,
2321
2321
  disabled: ""
2322
2322
  }, null, 8, $J),
2323
2323
  MJ
@@ -2344,10 +2344,10 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2344
2344
  "true-value": 1,
2345
2345
  "false-value": 0,
2346
2346
  ref_key: "input",
2347
- ref: ae,
2348
- "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => j.value = Pe)
2347
+ ref: le,
2348
+ "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => G.value = Pe)
2349
2349
  }, null, 8, FJ), [
2350
- [tq, j.value]
2350
+ [tq, G.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), j = vc({
2405
+ const te = O, _e = ie, le = Eo(null), G = vc({
2406
2406
  get() {
2407
2407
  return te.modelValue;
2408
2408
  },
@@ -2426,7 +2426,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2426
2426
  id: O.field_name,
2427
2427
  checked: O.modelValue,
2428
2428
  ref_key: "input",
2429
- ref: ae,
2429
+ ref: le,
2430
2430
  disabled: ""
2431
2431
  }, null, 8, ZJ),
2432
2432
  jJ
@@ -2451,10 +2451,10 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2451
2451
  name: O.field_name,
2452
2452
  id: O.field_name,
2453
2453
  ref_key: "input",
2454
- ref: ae,
2455
- "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => j.value = Pe)
2454
+ ref: le,
2455
+ "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => G.value = Pe)
2456
2456
  }, null, 8, JJ), [
2457
- [tq, j.value]
2457
+ [tq, G.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({}), j = Eo(0), Ae = Eo(!1), Q = Eo(""), Pe = Eo(""), pt = Eo(null), qe = Eo(0), bn = Eo(0), mn = () => {
2566
+ const le = Eo({}), G = 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(), j.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(), G.value = 0, Ae.value = !1);
2616
2616
  }
2617
2617
  function Qr(Bt) {
2618
2618
  const Dt = `${Bt}${Pe.value}`, A = document.getElementById(Dt);
@@ -2623,17 +2623,17 @@ 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" && 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);
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);
2627
2627
  }
2628
2628
  function Nn() {
2629
2629
  return te.options.map((Bt, Dt) => typeof Bt == "object" ? Bt : { id: Bt, name: Bt });
2630
2630
  }
2631
2631
  function ds() {
2632
- if (fe(ae.value))
2633
- return typeof ae.value == "object" ? us.value.find(
2634
- (Bt) => String(Bt.id) === String(ae.value.id)
2632
+ if (fe(le.value))
2633
+ return typeof le.value == "object" ? us.value.find(
2634
+ (Bt) => String(Bt.id) === String(le.value.id)
2635
2635
  ) || {} : us.value.find(
2636
- (Bt) => String(Bt.id) === String(ae.value)
2636
+ (Bt) => String(Bt.id) === String(le.value)
2637
2637
  ) || {};
2638
2638
  if (te.modelValue)
2639
2639
  return typeof te.modelValue == "object" ? us.value.find(
@@ -2643,7 +2643,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2643
2643
  ) || {};
2644
2644
  }
2645
2645
  function In(Bt) {
2646
- ae.value = Bt, Ae.value = !1, _e("update:modelValue", ae.value.id), _e("selected", ae.value), _e("selectionChanged", ae.value);
2646
+ le.value = Bt, Ae.value = !1, _e("update:modelValue", le.value.id), _e("selected", le.value), _e("selectionChanged", le.value);
2647
2647
  }
2648
2648
  function We() {
2649
2649
  if (!te.show) {
@@ -2661,14 +2661,14 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
2661
2661
  }
2662
2662
  }
2663
2663
  function ge() {
2664
- te.show || (ae.value = {}, Q.value = "", _e("update:modelValue", ""), We());
2664
+ te.show || (le.value = {}, Q.value = "", _e("update:modelValue", ""), We());
2665
2665
  }
2666
2666
  function os() {
2667
- ae.value.id || (ae.value = {}, Q.value = ""), _e("selected", ae.value);
2667
+ le.value.id || (le.value = {}, Q.value = ""), _e("selected", le.value);
2668
2668
  }
2669
2669
  return Gx(Q, () => {
2670
- Rt.value.length === 0 && (ae.value = {});
2671
- }), Gx(ae, (Bt) => {
2670
+ Rt.value.length === 0 && (le.value = {});
2671
+ }), Gx(le, (Bt) => {
2672
2672
  fe(Bt) && _e("update:modelValue", Bt.id);
2673
2673
  }), (Bt, Dt) => {
2674
2674
  var A, Xn, at;
@@ -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 == j.value ? "bg-gray-100 dark:bg-gray-600" : ""
2765
+ rt + 1 == G.value ? "bg-gray-100 dark:bg-gray-600" : ""
2766
2766
  ]),
2767
2767
  onClick: (nn) => In(to),
2768
2768
  onMousedown: (nn) => In(to),
@@ -2836,19 +2836,19 @@ 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, j = Eo(null);
2839
+ const _e = O, le = te, G = Eo(null);
2840
2840
  _g(() => {
2841
- j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus();
2841
+ G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
2842
2842
  });
2843
2843
  const Ae = vc({
2844
2844
  get() {
2845
2845
  return _e.modelValue;
2846
2846
  },
2847
2847
  set(Q) {
2848
- ae("update:modelValue", Q);
2848
+ le("update:modelValue", Q);
2849
2849
  }
2850
2850
  });
2851
- return ie({ focus: () => j.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
2851
+ return ie({ focus: () => G.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: j,
2887
+ ref: G,
2888
2888
  rows: "4",
2889
2889
  placeholder: O.placeholder
2890
2890
  }, null, 42, DQ), [
@@ -2922,16 +2922,16 @@ var oq = { exports: {} };
2922
2922
  }, _e = function(e, n) {
2923
2923
  var o = Array.prototype.slice.call(e);
2924
2924
  return o.sort(n);
2925
- }, ae = function(e, n) {
2926
- return j(function(o, r) {
2925
+ }, le = function(e, n) {
2926
+ return G(function(o, r) {
2927
2927
  return e.eq(n(o), n(r));
2928
2928
  });
2929
- }, j = function(e) {
2929
+ }, G = function(e) {
2930
2930
  return { eq: e };
2931
- }, Ae = j(function(e, n) {
2931
+ }, Ae = G(function(e, n) {
2932
2932
  return e === n;
2933
2933
  }), Q = Ae, Pe = function(e) {
2934
- return j(function(n, o) {
2934
+ return G(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++)
@@ -2940,11 +2940,11 @@ var oq = { exports: {} };
2940
2940
  return !0;
2941
2941
  });
2942
2942
  }, pt = function(e, n) {
2943
- return ae(Pe(e), function(o) {
2943
+ return le(Pe(e), function(o) {
2944
2944
  return _e(o, n);
2945
2945
  });
2946
2946
  }, qe = function(e) {
2947
- return j(function(n, o) {
2947
+ return G(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 = j(function(e, n) {
2958
+ }, bn = G(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", G = () => me({
3443
+ }, Zu = "Windows", wl = "iOS", Ji = "Android", $a = "Linux", Sc = "macOS", hi = "Solaris", pu = "FreeBSD", ju = "ChromeOS", j = () => 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: G,
3461
+ unknown: j,
3462
3462
  nu: me,
3463
3463
  windows: at(Zu),
3464
3464
  ios: at(wl),
@@ -3856,11 +3856,11 @@ var oq = { exports: {} };
3856
3856
  }), $ = S, U = (e) => {
3857
3857
  const n = e.getBoundingClientRect();
3858
3858
  return $(n.left, n.top);
3859
- }, le = (e, n) => e !== void 0 ? e : n !== void 0 ? n : 0, he = (e) => {
3859
+ }, ae = (e, n) => e !== void 0 ? e : n !== void 0 ? n : 0, he = (e) => {
3860
3860
  const n = e.dom.ownerDocument, o = n.body, r = n.defaultView, l = n.documentElement;
3861
3861
  if (o === e.dom)
3862
3862
  return $(o.offsetLeft, o.offsetTop);
3863
- const u = le(r == null ? void 0 : r.pageYOffset, l.scrollTop), f = le(r == null ? void 0 : r.pageXOffset, l.scrollLeft), b = le(l.clientTop, o.clientTop), y = le(l.clientLeft, o.clientLeft);
3863
+ const u = ae(r == null ? void 0 : r.pageYOffset, l.scrollTop), f = ae(r == null ? void 0 : r.pageXOffset, l.scrollLeft), b = ae(l.clientTop, o.clientTop), y = ae(l.clientLeft, o.clientLeft);
3864
3864
  return it(e).translate(f - y, u - b);
3865
3865
  }, it = (e) => {
3866
3866
  const n = e.dom, r = n.ownerDocument.body;
@@ -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, 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) => {
20309
+ }, _e = (t) => (s) => te(s) === t, le = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Ae = (t, s) => Pe(t) && ie(t, s, (a, c) => O(a) === c), Q = _e("string"), Pe = _e("object"), pt = (t) => Ae(t, Object), qe = _e("array"), bn = G(null), mn = le("boolean"), No = G(void 0), us = (t) => t == null, Oo = (t) => !us(t), Rt = le("function"), pr = le("number"), dn = (t, s) => {
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
- }, 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) => {
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) => {
20658
20658
  const s = Ie(t);
20659
- return G(s) ? A.some(s) : A.none();
20659
+ return j(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);
@@ -21301,7 +21301,7 @@ tinymce.IconManager.add("default", {
21301
21301
  }, S = (t, s) => lr.serror([{
21302
21302
  path: t,
21303
21303
  getErrorInfo: s
21304
- }]), $ = (t, s, a) => S(t, () => 'Could not find valid *required* value for "' + s + '" in ' + Hg(a)), U = (t, s) => S(t, () => 'Choice schema did not contain choice key: "' + s + '"'), le = (t, s, a) => S(t, () => 'The chosen schema: "' + a + '" did not exist in branches: ' + Hg(s)), he = (t, s) => S(t, () => "There are unsupported fields: [" + s.join(", ") + "] specified"), it = (t, s) => S(t, se(s)), Kt = (t) => {
21304
+ }]), $ = (t, s, a) => S(t, () => 'Could not find valid *required* value for "' + s + '" in ' + Hg(a)), U = (t, s) => S(t, () => 'Choice schema did not contain choice key: "' + s + '"'), ae = (t, s, a) => S(t, () => 'The chosen schema: "' + a + '" did not exist in branches: ' + Hg(s)), he = (t, s) => S(t, () => "There are unsupported fields: [" + s.join(", ") + "] specified"), it = (t, s) => S(t, se(s)), Kt = (t) => {
21305
21305
  const s = (c, d) => lr.bindError(t(d), (g) => it(c, g)), a = se("val");
21306
21306
  return {
21307
21307
  extract: s,
@@ -21430,7 +21430,7 @@ tinymce.IconManager.add("default", {
21430
21430
  default:
21431
21431
  return !1;
21432
21432
  }
21433
- }, fb = Kt((t) => Tu(t) ? lr.svalue(t) : lr.serror("Expected value to be acceptable for sending via postMessage")), zg = (t, s, a, c) => yt(a, c).fold(() => le(t, a, c), (g) => g.extract(t.concat(["branch: " + c]), s)), dt = (t, s) => ({
21433
+ }, fb = Kt((t) => Tu(t) ? lr.svalue(t) : lr.serror("Expected value to be acceptable for sending via postMessage")), zg = (t, s, a, c) => yt(a, c).fold(() => ae(t, a, c), (g) => g.extract(t.concat(["branch: " + c]), s)), dt = (t, s) => ({
21434
21434
  extract: (d, g) => yt(g, t).fold(() => U(d, t), (w) => zg(d, g, s, w)),
21435
21435
  toString: () => "chooseOn(" + t + "). Possible values: " + vs(s)
21436
21436
  }), gb = () => _u(On), Bd = (t) => Kt((s) => t(s).fold(lr.serror, lr.svalue)), nd = (t, s) => su((a) => lr.fromResult(t(a)), s), Ug = (t, s, a) => {
@@ -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 (G(t))
21675
+ if (j(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, 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 = () => {
41491
+ }, _e = (i) => (m) => te(m) === i, le = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Ae = _e("string"), Q = _e("object"), Pe = _e("array"), pt = G(null), qe = le("boolean"), bn = G(void 0), mn = (i) => i == null, No = (i) => !mn(i), us = le("function"), Oo = le("number"), Rt = () => {
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
- }), G = (i, m, h, v, _, D) => ({
41889
+ }), j = (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 = G(Lt.element, Lt.rowspan, Lt.colspan, Z, Xe, Jt);
42360
+ const Jt = qo(_, Xe.toString()), Tn = j(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);
@@ -42438,18 +42438,18 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
42438
42438
  left: i,
42439
42439
  top: m,
42440
42440
  translate: (v, _) => U(i + v, m + _)
42441
- }), le = U, he = (i) => {
42441
+ }), ae = U, he = (i) => {
42442
42442
  const m = i.getBoundingClientRect();
42443
- return le(m.left, m.top);
42443
+ return ae(m.left, m.top);
42444
42444
  }, it = (i, m) => i !== void 0 ? i : m !== void 0 ? m : 0, Kt = (i) => {
42445
42445
  const m = i.dom.ownerDocument, h = m.body, v = m.defaultView, _ = m.documentElement;
42446
42446
  if (h === i.dom)
42447
- return le(h.offsetLeft, h.offsetTop);
42447
+ return ae(h.offsetLeft, h.offsetTop);
42448
42448
  const D = it(v == null ? void 0 : v.pageYOffset, _.scrollTop), L = it(v == null ? void 0 : v.pageXOffset, _.scrollLeft), Z = it(_.clientTop, h.clientTop), ee = it(_.clientLeft, h.clientLeft);
42449
42449
  return On(i).translate(L - ee, D - Z);
42450
42450
  }, On = (i) => {
42451
42451
  const m = i.dom, v = m.ownerDocument.body;
42452
- return v === m ? le(v.offsetLeft, v.offsetTop) : js(i) ? he(m) : le(0, 0);
42452
+ return v === m ? ae(v.offsetLeft, v.offsetTop) : js(i) ? he(m) : ae(0, 0);
42453
42453
  }, kn = (i, m) => ({
42454
42454
  row: i,
42455
42455
  y: m
@@ -44783,7 +44783,7 @@ Required: ` + m.join(", "));
44783
44783
  isForward: Xf(37)
44784
44784
  }, HE = (i) => {
44785
44785
  const m = i !== void 0 ? i.dom : document, h = m.body.scrollLeft || m.documentElement.scrollLeft, v = m.body.scrollTop || m.documentElement.scrollTop;
44786
- return le(h, v);
44786
+ return ae(h, v);
44787
44787
  }, Np = (i, m, h) => {
44788
44788
  const _ = (h !== void 0 ? h.dom : document).defaultView;
44789
44789
  _ && _.scrollBy(i, m);
@@ -45362,8 +45362,8 @@ Required: ` + m.join(", "));
45362
45362
  };
45363
45363
  };
45364
45364
  var t4 = pS({
45365
- compare: (i, m) => le(m.left - i.left, m.top - i.top),
45366
- extract: (i) => ge.some(le(i.x, i.y)),
45365
+ compare: (i, m) => ae(m.left - i.left, m.top - i.top),
45366
+ extract: (i) => ge.some(ae(i.x, i.y)),
45367
45367
  sink: (i, m) => {
45368
45368
  const h = C0(m), v = Fp(h.element(), "mousedown", i.forceDrop), _ = Fp(h.element(), "mouseup", i.drop), D = Fp(h.element(), "mousemove", i.move), L = Fp(h.element(), "mouseout", i.delayDrop), Z = () => {
45369
45369
  h.destroy(), _.unbind(), D.unbind(), L.unbind(), v.unbind();
@@ -45601,7 +45601,7 @@ Required: ` + m.join(", "));
45601
45601
  return {
45602
45602
  parent: fe(h),
45603
45603
  view: fe(i),
45604
- origin: fe(le(0, 0)),
45604
+ origin: fe(ae(0, 0)),
45605
45605
  isResizable: m
45606
45606
  };
45607
45607
  },
@@ -45617,7 +45617,7 @@ Required: ` + m.join(", "));
45617
45617
  body: (i, m, h) => ({
45618
45618
  parent: fe(m),
45619
45619
  view: fe(i),
45620
- origin: fe(le(0, 0)),
45620
+ origin: fe(ae(0, 0)),
45621
45621
  isResizable: h
45622
45622
  })
45623
45623
  }, i4 = () => {
@@ -45726,17 +45726,17 @@ Required: ` + m.join(", "));
45726
45726
  (function() {
45727
45727
  var O = tinymce.util.Tools.resolve("tinymce.PluginManager");
45728
45728
  const ie = (S, $, U) => {
45729
- var le;
45730
- return U(S, $.prototype) ? !0 : ((le = S.constructor) === null || le === void 0 ? void 0 : le.name) === $.name;
45729
+ var ae;
45730
+ return U(S, $.prototype) ? !0 : ((ae = S.constructor) === null || ae === void 0 ? void 0 : ae.name) === $.name;
45731
45731
  }, te = (S) => {
45732
45732
  const $ = typeof S;
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, 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 = () => {
45733
+ return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && ie(S, String, (U, ae) => ae.isPrototypeOf(U)) ? "string" : $;
45734
+ }, _e = (S) => ($) => te($) === S, le = (S) => ($) => typeof $ === S, G = _e("string"), Ae = _e("object"), Q = _e("array"), Pe = le("boolean"), pt = (S) => S == null, qe = (S) => !pt(S), bn = le("function"), mn = le("number"), No = () => {
45735
45735
  }, us = (S, $) => (U) => S($(U)), Oo = (S) => () => S, Rt = (S, $) => S === $;
45736
45736
  function pr(S, ...$) {
45737
45737
  return (...U) => {
45738
- const le = $.concat(U);
45739
- return S.apply(null, le);
45738
+ const ae = $.concat(U);
45739
+ return S.apply(null, ae);
45740
45740
  };
45741
45741
  }
45742
45742
  const dn = (S) => ($) => !S($), fe = Oo(!1);
@@ -45812,29 +45812,29 @@ Required: ` + m.join(", "));
45812
45812
  }
45813
45813
  kt.singletonNone = new kt(!1);
45814
45814
  const Qr = Array.prototype.slice, eo = Array.prototype.indexOf, se = Array.prototype.push, Nn = (S, $) => eo.call(S, $), ds = (S, $) => Nn(S, $) > -1, In = (S, $) => {
45815
- for (let U = 0, le = S.length; U < le; U++) {
45815
+ for (let U = 0, ae = S.length; U < ae; U++) {
45816
45816
  const he = S[U];
45817
45817
  if ($(he, U))
45818
45818
  return !0;
45819
45819
  }
45820
45820
  return !1;
45821
45821
  }, We = (S, $) => {
45822
- const U = S.length, le = new Array(U);
45822
+ const U = S.length, ae = new Array(U);
45823
45823
  for (let he = 0; he < U; he++) {
45824
45824
  const it = S[he];
45825
- le[he] = $(it, he);
45825
+ ae[he] = $(it, he);
45826
45826
  }
45827
- return le;
45827
+ return ae;
45828
45828
  }, ge = (S, $) => {
45829
- for (let U = 0, le = S.length; U < le; U++) {
45829
+ for (let U = 0, ae = S.length; U < ae; U++) {
45830
45830
  const he = S[U];
45831
45831
  $(he, U);
45832
45832
  }
45833
45833
  }, os = (S, $) => {
45834
45834
  const U = [];
45835
- for (let le = 0, he = S.length; le < he; le++) {
45836
- const it = S[le];
45837
- $(it, le) && U.push(it);
45835
+ for (let ae = 0, he = S.length; ae < he; ae++) {
45836
+ const it = S[ae];
45837
+ $(it, ae) && U.push(it);
45838
45838
  }
45839
45839
  return U;
45840
45840
  }, Bt = (S, $) => {
@@ -45842,28 +45842,28 @@ Required: ` + m.join(", "));
45842
45842
  return [];
45843
45843
  {
45844
45844
  let U = $(S[0]);
45845
- const le = [];
45845
+ const ae = [];
45846
45846
  let he = [];
45847
45847
  for (let it = 0, Kt = S.length; it < Kt; it++) {
45848
45848
  const On = S[it], kn = $(On);
45849
- kn !== U && (le.push(he), he = []), U = kn, he.push(On);
45849
+ kn !== U && (ae.push(he), he = []), U = kn, he.push(On);
45850
45850
  }
45851
- return he.length !== 0 && le.push(he), le;
45851
+ return he.length !== 0 && ae.push(he), ae;
45852
45852
  }
45853
- }, Dt = (S, $, U) => (ge(S, (le, he) => {
45854
- U = $(U, le, he);
45853
+ }, Dt = (S, $, U) => (ge(S, (ae, he) => {
45854
+ U = $(U, ae, he);
45855
45855
  }), U), A = (S, $, U) => {
45856
- for (let le = 0, he = S.length; le < he; le++) {
45857
- const it = S[le];
45858
- if ($(it, le))
45856
+ for (let ae = 0, he = S.length; ae < he; ae++) {
45857
+ const it = S[ae];
45858
+ if ($(it, ae))
45859
45859
  return kt.some(it);
45860
- if (U(it, le))
45860
+ if (U(it, ae))
45861
45861
  break;
45862
45862
  }
45863
45863
  return kt.none();
45864
45864
  }, Xn = (S, $) => A(S, $, fe), at = (S) => {
45865
45865
  const $ = [];
45866
- for (let U = 0, le = S.length; U < le; ++U) {
45866
+ for (let U = 0, ae = S.length; U < ae; ++U) {
45867
45867
  if (!Q(S[U]))
45868
45868
  throw new Error("Arr.flatten item " + U + " was not an array, input: " + S);
45869
45869
  se.apply($, S[U]);
@@ -45873,25 +45873,25 @@ Required: ` + m.join(", "));
45873
45873
  const $ = Qr.call(S, 0);
45874
45874
  return $.reverse(), $;
45875
45875
  }, Me = (S, $) => $ >= 0 && $ < S.length ? kt.some(S[$]) : kt.none(), nn = (S) => Me(S, 0), zo = (S) => Me(S, S.length - 1), no = (S, $) => {
45876
- const U = [], le = bn($) ? (he) => In(U, (it) => $(it, he)) : (he) => ds(U, he);
45876
+ const U = [], ae = bn($) ? (he) => In(U, (it) => $(it, he)) : (he) => ds(U, he);
45877
45877
  for (let he = 0, it = S.length; he < it; he++) {
45878
45878
  const Kt = S[he];
45879
- le(Kt) || U.push(Kt);
45879
+ ae(Kt) || U.push(Kt);
45880
45880
  }
45881
45881
  return U;
45882
- }, br = (S, $, U = Rt) => S.exists((le) => U(le, $)), tt = (S, $, U = Rt) => vt(S, $, U).getOr(S.isNone() && $.isNone()), vt = (S, $, U) => S.isSome() && $.isSome() ? kt.some(U(S.getOrDie(), $.getOrDie())) : kt.none(), z = 8, el = 9, oo = 11, ss = 1, Uo = 3, Zi = (S, $) => {
45883
- const le = ($ || document).createElement("div");
45884
- if (le.innerHTML = S, !le.hasChildNodes() || le.childNodes.length > 1) {
45882
+ }, br = (S, $, U = Rt) => S.exists((ae) => U(ae, $)), tt = (S, $, U = Rt) => vt(S, $, U).getOr(S.isNone() && $.isNone()), vt = (S, $, U) => S.isSome() && $.isSome() ? kt.some(U(S.getOrDie(), $.getOrDie())) : kt.none(), z = 8, el = 9, oo = 11, ss = 1, Uo = 3, Zi = (S, $) => {
45883
+ const ae = ($ || document).createElement("div");
45884
+ if (ae.innerHTML = S, !ae.hasChildNodes() || ae.childNodes.length > 1) {
45885
45885
  const he = "HTML does not have a single root node";
45886
45886
  throw console.error(he, S), new Error(he);
45887
45887
  }
45888
- return Ye(le.childNodes[0]);
45888
+ return Ye(ae.childNodes[0]);
45889
45889
  }, Ke = (S, $) => {
45890
- const le = ($ || document).createElement(S);
45891
- return Ye(le);
45890
+ const ae = ($ || document).createElement(S);
45891
+ return Ye(ae);
45892
45892
  }, Ot = (S, $) => {
45893
- const le = ($ || document).createTextNode(S);
45894
- return Ye(le);
45893
+ const ae = ($ || document).createTextNode(S);
45894
+ return Ye(ae);
45895
45895
  }, Ye = (S) => {
45896
45896
  if (S == null)
45897
45897
  throw new Error("Node cannot be null or undefined");
@@ -45907,24 +45907,24 @@ Required: ` + m.join(", "));
45907
45907
  if (U.nodeType !== ss)
45908
45908
  return !1;
45909
45909
  {
45910
- const le = U;
45911
- if (le.matches !== void 0)
45912
- return le.matches($);
45913
- if (le.msMatchesSelector !== void 0)
45914
- return le.msMatchesSelector($);
45915
- if (le.webkitMatchesSelector !== void 0)
45916
- return le.webkitMatchesSelector($);
45917
- if (le.mozMatchesSelector !== void 0)
45918
- return le.mozMatchesSelector($);
45910
+ const ae = U;
45911
+ if (ae.matches !== void 0)
45912
+ return ae.matches($);
45913
+ if (ae.msMatchesSelector !== void 0)
45914
+ return ae.msMatchesSelector($);
45915
+ if (ae.webkitMatchesSelector !== void 0)
45916
+ return ae.webkitMatchesSelector($);
45917
+ if (ae.mozMatchesSelector !== void 0)
45918
+ return ae.mozMatchesSelector($);
45919
45919
  throw new Error("Browser lacks native selectors");
45920
45920
  }
45921
45921
  }, Vt = (S, $) => S.dom === $.dom, Tr = (S, $) => {
45922
- const U = S.dom, le = $.dom;
45923
- return U === le ? !1 : U.contains(le);
45922
+ const U = S.dom, ae = $.dom;
45923
+ return U === ae ? !1 : U.contains(ae);
45924
45924
  }, Fo = Go, Va = typeof window < "u" ? window : Function("return this;")(), bs = (S, $) => {
45925
45925
  let U = $ ?? Va;
45926
- for (let le = 0; le < S.length && U !== void 0 && U !== null; ++le)
45927
- U = U[S[le]];
45926
+ for (let ae = 0; ae < S.length && U !== void 0 && U !== null; ++ae)
45927
+ U = U[S[ae]];
45928
45928
  return U;
45929
45929
  }, vr = (S, $) => {
45930
45930
  const U = S.split(".");
@@ -45950,36 +45950,36 @@ Required: ` + m.join(", "));
45950
45950
  const U = $.ownerDocument;
45951
45951
  return Bl(wn.fromDom($)).fold(() => U.body.contains($), us(mi, Hc));
45952
45952
  };
45953
- var xr = (S, $, U, le, he) => S(U, le) ? kt.some(U) : bn(he) && he(U) ? kt.none() : $(U, le, he);
45953
+ var xr = (S, $, U, ae, he) => S(U, ae) ? kt.some(U) : bn(he) && he(U) ? kt.none() : $(U, ae, he);
45954
45954
  const mr = (S, $, U) => {
45955
- let le = S.dom;
45955
+ let ae = S.dom;
45956
45956
  const he = bn(U) ? U : fe;
45957
- for (; le.parentNode; ) {
45958
- le = le.parentNode;
45959
- const it = wn.fromDom(le);
45957
+ for (; ae.parentNode; ) {
45958
+ ae = ae.parentNode;
45959
+ const it = wn.fromDom(ae);
45960
45960
  if ($(it))
45961
45961
  return kt.some(it);
45962
45962
  if (he(it))
45963
45963
  break;
45964
45964
  }
45965
45965
  return kt.none();
45966
- }, Zs = (S, $, U) => xr((he, it) => it(he), mr, S, $, U), vl = (S, $, U) => mr(S, (le) => Go(le, $), U), qi = (S, $, U) => xr((he, it) => Go(he, it), vl, S, $, U), Vr = (S) => qi(S, "[contenteditable]"), ia = (S, $ = !1) => mi(S) ? S.dom.isContentEditable : Vr(S).fold(Oo($), (U) => Fs(U) === "true"), Fs = (S) => S.dom.contentEditable, Dr = (S, $) => {
45967
- Er(S).each((le) => {
45968
- le.dom.insertBefore($.dom, S.dom);
45966
+ }, Zs = (S, $, U) => xr((he, it) => it(he), mr, S, $, U), vl = (S, $, U) => mr(S, (ae) => Go(ae, $), U), qi = (S, $, U) => xr((he, it) => Go(he, it), vl, S, $, U), Vr = (S) => qi(S, "[contenteditable]"), ia = (S, $ = !1) => mi(S) ? S.dom.isContentEditable : Vr(S).fold(Oo($), (U) => Fs(U) === "true"), Fs = (S) => S.dom.contentEditable, Dr = (S, $) => {
45967
+ Er(S).each((ae) => {
45968
+ ae.dom.insertBefore($.dom, S.dom);
45969
45969
  });
45970
45970
  }, sc = (S, $) => {
45971
45971
  Nl(S).fold(() => {
45972
45972
  Er(S).each((he) => {
45973
45973
  rc(he, $);
45974
45974
  });
45975
- }, (le) => {
45976
- Dr(le, $);
45975
+ }, (ae) => {
45976
+ Dr(ae, $);
45977
45977
  });
45978
45978
  }, Vc = (S, $) => {
45979
45979
  tl(S).fold(() => {
45980
45980
  rc(S, $);
45981
- }, (le) => {
45982
- S.dom.insertBefore($.dom, le.dom);
45981
+ }, (ae) => {
45982
+ S.dom.insertBefore($.dom, ae.dom);
45983
45983
  });
45984
45984
  }, rc = (S, $) => {
45985
45985
  S.dom.appendChild($.dom);
@@ -46002,66 +46002,66 @@ Required: ` + m.join(", "));
46002
46002
  var Ll = tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"), Wu = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"), Ki = tinymce.util.Tools.resolve("tinymce.util.VK");
46003
46003
  const ts = (S) => We(S, wn.fromDom), xm = Object.keys, Ad = (S, $) => {
46004
46004
  const U = xm(S);
46005
- for (let le = 0, he = U.length; le < he; le++) {
46006
- const it = U[le], Kt = S[it];
46005
+ for (let ae = 0, he = U.length; ae < he; ae++) {
46006
+ const it = U[ae], Kt = S[it];
46007
46007
  $(Kt, it);
46008
46008
  }
46009
46009
  }, nl = (S) => ($, U) => {
46010
46010
  S[U] = $;
46011
- }, Yi = (S, $, U, le) => {
46011
+ }, Yi = (S, $, U, ae) => {
46012
46012
  Ad(S, (he, it) => {
46013
- ($(he, it) ? U : le)(he, it);
46013
+ ($(he, it) ? U : ae)(he, it);
46014
46014
  });
46015
46015
  }, ws = (S, $) => {
46016
46016
  const U = {};
46017
46017
  return Yi(S, $, nl(U), No), U;
46018
46018
  }, Es = (S, $, U) => {
46019
- if (j(U) || Pe(U) || mn(U))
46019
+ if (G(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");
46023
46023
  }, za = (S, $) => {
46024
46024
  const U = S.dom;
46025
- Ad($, (le, he) => {
46026
- Es(U, he, le);
46025
+ Ad($, (ae, he) => {
46026
+ Es(U, he, ae);
46027
46027
  });
46028
46028
  }, Oa = (S) => Dt(S.dom.attributes, ($, U) => ($[U.name] = U.value, $), {}), xc = (S, $) => wn.fromDom(S.dom.cloneNode($)), gi = (S) => xc(S, !0), Cc = (S, $) => {
46029
- const U = wn.fromTag($), le = Oa(S);
46030
- return za(U, le), U;
46029
+ const U = wn.fromTag($), ae = Oa(S);
46030
+ return za(U, ae), U;
46031
46031
  }, Ro = (S, $) => {
46032
46032
  const U = Cc(S, $);
46033
46033
  sc(S, U);
46034
- const le = Da(S);
46035
- return fi(U, le), Kr(S), U;
46034
+ const ae = Da(S);
46035
+ return fi(U, ae), Kr(S), U;
46036
46036
  };
46037
46037
  var ea = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), ua = tinymce.util.Tools.resolve("tinymce.util.Tools");
46038
46038
  const zc = (S) => ($) => qe($) && $.nodeName.toLowerCase() === S, da = (S) => ($) => qe($) && S.test($.nodeName), Hs = (S) => qe(S) && S.nodeType === 3, ns = (S) => qe(S) && S.nodeType === 1, Ra = da(/^(OL|UL|DL)$/), Xi = da(/^(OL|UL)$/), Ho = zc("ol"), Or = da(/^(LI|DT|DD)$/), ma = da(/^(DT|DD)$/), rr = da(/^(TH|TD)$/), yl = zc("br"), Fl = (S) => {
46039
46039
  var $;
46040
46040
  return (($ = S.parentNode) === null || $ === void 0 ? void 0 : $.firstChild) === S;
46041
46041
  }, ta = (S, $) => qe($) && $.nodeName in S.schema.getTextBlockElements(), Hl = (S, $) => qe(S) && S.nodeName in $, Vl = (S, $) => qe($) && $.nodeName in S.schema.getVoidElements(), Zu = (S, $) => yl($) ? S.isBlock($.nextSibling) && !yl($.previousSibling) : !1, wl = (S, $, U) => {
46042
- const le = S.isEmpty($);
46043
- return U && S.select("span[data-mce-type=bookmark]", $).length > 0 ? !1 : le;
46042
+ const ae = S.isEmpty($);
46043
+ return U && S.select("span[data-mce-type=bookmark]", $).length > 0 ? !1 : ae;
46044
46044
  }, Ji = (S, $) => S.isChildOf($, S.getRoot()), $a = (S) => ($) => $.options.get(S), Sc = (S) => {
46045
46045
  const $ = S.options.register;
46046
46046
  $("lists_indent_on_tab", {
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"), G = (S, $) => {
46051
- const U = S.dom, le = S.schema.getBlockElements(), he = U.createFragment(), it = pu(S), Kt = ju(S);
46050
+ }, hi = $a("lists_indent_on_tab"), pu = $a("forced_root_block"), ju = $a("forced_root_block_attrs"), j = (S, $) => {
46051
+ const U = S.dom, ae = S.schema.getBlockElements(), he = U.createFragment(), it = pu(S), Kt = ju(S);
46052
46052
  let On, kn, vn = !1;
46053
- for (kn = U.create(it, Kt), Hl($.firstChild, le) || he.appendChild(kn); On = $.firstChild; ) {
46053
+ for (kn = U.create(it, Kt), Hl($.firstChild, ae) || he.appendChild(kn); On = $.firstChild; ) {
46054
46054
  const Ws = On.nodeName;
46055
- !vn && (Ws !== "SPAN" || On.getAttribute("data-mce-type") !== "bookmark") && (vn = !0), Hl(On, le) ? (he.appendChild(On), kn = null) : (kn || (kn = U.create(it, Kt), he.appendChild(kn)), kn.appendChild(On));
46055
+ !vn && (Ws !== "SPAN" || On.getAttribute("data-mce-type") !== "bookmark") && (vn = !0), Hl(On, ae) ? (he.appendChild(On), kn = null) : (kn || (kn = U.create(it, Kt), he.appendChild(kn)), kn.appendChild(On));
46056
46056
  }
46057
46057
  return !vn && kn && kn.appendChild(U.create("br", { "data-mce-bogus": "1" })), he;
46058
46058
  }, me = ea.DOM, Te = (S, $, U) => {
46059
- const le = (vn) => {
46059
+ const ae = (vn) => {
46060
46060
  const Ws = vn.parentNode;
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 = G(S, U), Kt = me.createRng();
46064
+ }, he = me.select('span[data-mce-type="bookmark"]', $), it = j(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)
@@ -46071,13 +46071,13 @@ Required: ` + m.join(", "));
46071
46071
  }
46072
46072
  S.dom.isEmpty(On) || me.insertAfter(On, $), me.insertAfter(it, $);
46073
46073
  const kn = U.parentElement;
46074
- kn && wl(S.dom, kn) && le(kn), me.remove(U), wl(S.dom, $) && me.remove($);
46074
+ kn && wl(S.dom, kn) && ae(kn), me.remove(U), wl(S.dom, $) && me.remove($);
46075
46075
  }, Ie = Gi("dd"), ft = Gi("dt"), fn = (S, $) => {
46076
46076
  Ie($) ? Ro($, "dt") : ft($) && Aa($).each((U) => Te(S, U.dom, $.dom));
46077
46077
  }, Wo = (S) => {
46078
46078
  ft(S) && Ro(S, "dd");
46079
46079
  }, rs = (S, $, U) => {
46080
- $ === "Indent" ? ge(U, Wo) : ge(U, (le) => fn(S, le));
46080
+ $ === "Indent" ? ge(U, Wo) : ge(U, (ae) => fn(S, ae));
46081
46081
  }, Zo = (S, $) => {
46082
46082
  if (Hs(S))
46083
46083
  return {
@@ -46101,8 +46101,8 @@ Required: ` + m.join(", "));
46101
46101
  }, xs = (S) => {
46102
46102
  const $ = S.cloneRange(), U = Zo(S.startContainer, S.startOffset);
46103
46103
  $.setStart(U.container, U.offset);
46104
- const le = Zo(S.endContainer, S.endOffset);
46105
- return $.setEnd(le.container, le.offset), $;
46104
+ const ae = Zo(S.endContainer, S.endOffset);
46105
+ return $.setEnd(ae.container, ae.offset), $;
46106
46106
  }, io = [
46107
46107
  "OL",
46108
46108
  "UL",
@@ -46112,11 +46112,11 @@ Required: ` + m.join(", "));
46112
46112
  return S.dom.getParent(U, Vs, $t(S, U));
46113
46113
  }, bu = (S, $) => qe(S) && $.length === 1 && $[0] === S, It = (S) => os(S.querySelectorAll(Vs), Ra), Gu = (S) => {
46114
46114
  const $ = Ma(S), U = S.selection.getSelectedBlocks();
46115
- return bu($, U) ? It($) : os(U, (le) => Ra(le) && $ !== le);
46115
+ return bu($, U) ? It($) : os(U, (ae) => Ra(ae) && $ !== ae);
46116
46116
  }, js = (S, $) => {
46117
- const U = ua.map($, (le) => {
46118
- const he = S.dom.getParent(le, "li,dd,dt", $t(S, le));
46119
- return he || le;
46117
+ const U = ua.map($, (ae) => {
46118
+ const he = S.dom.getParent(ae, "li,dd,dt", $t(S, ae));
46119
+ return he || ae;
46120
46120
  });
46121
46121
  return no(U);
46122
46122
  }, I = (S) => {
@@ -46139,9 +46139,9 @@ Required: ` + m.join(", "));
46139
46139
  return S.dom.getParents($, "ol,ul", $t(S, $));
46140
46140
  }, as = (S) => {
46141
46141
  const $ = Ps(S), U = ct(S);
46142
- return Xn(U, (le) => Yn(wn.fromDom(le))).fold(() => Ua(S, $), (le) => [le]);
46142
+ return Xn(U, (ae) => Yn(wn.fromDom(ae))).fold(() => Ua(S, $), (ae) => [ae]);
46143
46143
  }, Ua = (S, $) => {
46144
- const U = We($, (le) => qt(S, le).getOr(le));
46144
+ const U = We($, (ae) => qt(S, ae).getOr(ae));
46145
46145
  return no(U);
46146
46146
  }, zs = (S) => /\btox\-/.test(S.className), Cr = (S, $) => A(S, Ra, rr).exists((U) => U.nodeName === $ && !zs(U)), Uc = (S, $) => $ !== null && !S.dom.isEditable($), po = (S) => {
46147
46147
  const $ = Ma(S);
@@ -46156,31 +46156,31 @@ Required: ` + m.join(", "));
46156
46156
  element: U
46157
46157
  }), S.on("NodeChange", $), () => S.off("NodeChange", $);
46158
46158
  }, pi = (S, $) => {
46159
- const le = document.createDocumentFragment();
46159
+ const ae = document.createDocumentFragment();
46160
46160
  return ge(S, (he) => {
46161
- le.appendChild(he.dom);
46162
- }), wn.fromDom(le);
46161
+ ae.appendChild(he.dom);
46162
+ }), wn.fromDom(ae);
46163
46163
  }, Us = (S, $, U) => S.dispatch("ListMutation", {
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 (!j(U))
46167
+ if (!G(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) => {
46171
- const le = S.dom;
46172
- Qi(le, $, U);
46171
+ const ae = S.dom;
46172
+ Qi(ae, $, U);
46173
46173
  }, ac = (S) => Fo(S, "OL,UL"), Cm = (S) => Fo(S, "LI"), uo = (S) => tl(S).exists(ac), zr = (S) => bl(S).exists(ac), fa = (S) => "listAttributes" in S, Ph = (S) => "isComment" in S, Gs = (S) => "isFragment" in S, Pa = (S) => S.depth > 0, ga = (S) => S.isSelected, Nh = (S) => {
46174
46174
  const $ = Da(S), U = zr(S) ? $.slice(0, -1) : $;
46175
46175
  return We(U, gi);
46176
- }, kg = (S, $, U) => Er(S).filter(wr).map((le) => ({
46176
+ }, kg = (S, $, U) => Er(S).filter(wr).map((ae) => ({
46177
46177
  depth: $,
46178
46178
  dirty: !1,
46179
46179
  isSelected: U,
46180
46180
  content: Nh(S),
46181
46181
  itemAttributes: Oa(S),
46182
- listAttributes: Oa(le),
46183
- listType: ms(le),
46182
+ listAttributes: Oa(ae),
46183
+ listType: ms(ae),
46184
46184
  isInPreviousLi: !1
46185
46185
  })), lc = (S, $) => {
46186
46186
  rc(S.item, $.list);
@@ -46196,10 +46196,10 @@ Required: ` + m.join(", "));
46196
46196
  };
46197
46197
  return rc(U.list, U.item), U;
46198
46198
  }, Za = (S, $, U) => {
46199
- const le = [];
46199
+ const ae = [];
46200
46200
  for (let he = 0; he < U; he++)
46201
- le.push(_c(S, fa($) ? $.listType : $.parentListType));
46202
- return le;
46201
+ ae.push(_c(S, fa($) ? $.listType : $.parentListType));
46202
+ return ae;
46203
46203
  }, bi = (S, $) => {
46204
46204
  for (let U = 0; U < S.length - 1; U++)
46205
46205
  xl(S[U].item, "list-style-type", "none");
@@ -46209,13 +46209,13 @@ Required: ` + m.join(", "));
46209
46209
  }, Ur = (S, $) => {
46210
46210
  ms(S.list) !== $.listType && (S.list = Ro(S.list, $.listType)), za(S.list, $.listAttributes);
46211
46211
  }, ar = (S, $, U) => {
46212
- const le = wn.fromTag("li", S);
46213
- return za(le, $), fi(le, U), le;
46212
+ const ae = wn.fromTag("li", S);
46213
+ return za(ae, $), fi(ae, U), ae;
46214
46214
  }, kc = (S, $) => {
46215
46215
  rc(S.list, $), S.item = $;
46216
46216
  }, qu = (S, $, U) => {
46217
- const le = $.slice(0, U.depth);
46218
- return zo(le).each((he) => {
46217
+ const ae = $.slice(0, U.depth);
46218
+ return zo(ae).each((he) => {
46219
46219
  if (fa(U)) {
46220
46220
  const it = ar(S, U.itemAttributes, U.content);
46221
46221
  kc(he, it), Ur(he, U);
@@ -46225,19 +46225,19 @@ Required: ` + m.join(", "));
46225
46225
  const it = wn.fromHtml(`<!--${U.content}-->`);
46226
46226
  rc(he.list, it);
46227
46227
  }
46228
- }), le;
46228
+ }), ae;
46229
46229
  }, Ku = (S, $, U) => {
46230
- const le = Za(S, U, U.depth - $.length);
46231
- return wf(le), bi(le, U), Cs($, le), $.concat(le);
46230
+ const ae = Za(S, U, U.depth - $.length);
46231
+ return wf(ae), bi(ae, U), Cs($, ae), $.concat(ae);
46232
46232
  }, xf = (S, $) => {
46233
46233
  let U = kt.none();
46234
- const le = Dt($, (he, it, Kt) => Ph(it) ? Kt === 0 ? (U = kt.some(it), he) : qu(S, he, it) : it.depth > he.length ? Ku(S, he, it) : qu(S, he, it), []);
46234
+ const ae = Dt($, (he, it, Kt) => Ph(it) ? Kt === 0 ? (U = kt.some(it), he) : qu(S, he, it) : it.depth > he.length ? Ku(S, he, it) : qu(S, he, it), []);
46235
46235
  return U.each((he) => {
46236
46236
  const it = wn.fromHtml(`<!--${he.content}-->`);
46237
- nn(le).each((Kt) => {
46237
+ nn(ae).each((Kt) => {
46238
46238
  Vc(Kt.list, it);
46239
46239
  });
46240
- }), nn(le).map((he) => he.list);
46240
+ }), nn(ae).map((he) => he.list);
46241
46241
  }, Sm = (S, $) => {
46242
46242
  switch (S) {
46243
46243
  case "Indent":
@@ -46255,12 +46255,12 @@ Required: ` + m.join(", "));
46255
46255
  }, _m = (S) => {
46256
46256
  S.listAttributes = ws(S.listAttributes, ($, U) => U !== "start");
46257
46257
  }, sl = (S, $) => {
46258
- const U = S[$].depth, le = (it) => it.depth === U && !it.dirty, he = (it) => it.depth < U;
46259
- return A(rt(S.slice(0, $)), le, he).orThunk(() => A(S.slice($ + 1), le, he));
46258
+ const U = S[$].depth, ae = (it) => it.depth === U && !it.dirty, he = (it) => it.depth < U;
46259
+ return A(rt(S.slice(0, $)), ae, he).orThunk(() => A(S.slice($ + 1), ae, he));
46260
46260
  }, Zc = (S) => (ge(S, ($, U) => {
46261
46261
  sl(S, U).fold(() => {
46262
46262
  $.dirty && fa($) && _m($);
46263
- }, (le) => ol($, le));
46263
+ }, (ae) => ol($, ae));
46264
46264
  }), S), km = (S) => {
46265
46265
  let $ = S;
46266
46266
  return {
@@ -46269,27 +46269,27 @@ Required: ` + m.join(", "));
46269
46269
  $ = he;
46270
46270
  }
46271
46271
  };
46272
- }, vu = (S, $, U, le) => {
46272
+ }, vu = (S, $, U, ae) => {
46273
46273
  var he;
46274
- if (Jn(le))
46274
+ if (Jn(ae))
46275
46275
  return [{
46276
46276
  depth: S + 1,
46277
- content: (he = le.dom.nodeValue) !== null && he !== void 0 ? he : "",
46277
+ content: (he = ae.dom.nodeValue) !== null && he !== void 0 ? he : "",
46278
46278
  dirty: !1,
46279
46279
  isSelected: !1,
46280
46280
  isComment: !0
46281
46281
  }];
46282
46282
  $.each((On) => {
46283
- Vt(On.start, le) && U.set(!0);
46283
+ Vt(On.start, ae) && U.set(!0);
46284
46284
  });
46285
- const it = kg(le, S, U.get());
46285
+ const it = kg(ae, S, U.get());
46286
46286
  $.each((On) => {
46287
- Vt(On.end, le) && U.set(!1);
46287
+ Vt(On.end, ae) && U.set(!1);
46288
46288
  });
46289
- const Kt = bl(le).filter(ac).map((On) => vi(S, $, U, On)).getOr([]);
46289
+ const Kt = bl(ae).filter(ac).map((On) => vi(S, $, U, On)).getOr([]);
46290
46290
  return it.toArray().concat(Kt);
46291
- }, Tm = (S, $, U, le) => tl(le).filter(ac).fold(() => vu(S, $, U, le), (he) => {
46292
- const it = Dt(Da(le), (Kt, On, kn) => {
46291
+ }, Tm = (S, $, U, ae) => tl(ae).filter(ac).fold(() => vu(S, $, U, ae), (he) => {
46292
+ const it = Dt(Da(ae), (Kt, On, kn) => {
46293
46293
  if (kn === 0)
46294
46294
  return Kt;
46295
46295
  if (Cm(On))
@@ -46307,20 +46307,20 @@ Required: ` + m.join(", "));
46307
46307
  }
46308
46308
  }, []);
46309
46309
  return vi(S, $, U, he).concat(it);
46310
- }), vi = (S, $, U, le) => to(Da(le), (he) => {
46310
+ }), vi = (S, $, U, ae) => to(Da(ae), (he) => {
46311
46311
  const it = ac(he) ? vi : Tm, Kt = S + 1;
46312
46312
  return it(Kt, $, U, he);
46313
46313
  }), Tg = (S, $) => {
46314
- const U = km(!1), le = 0;
46314
+ const U = km(!1), ae = 0;
46315
46315
  return We(S, (he) => ({
46316
46316
  sourceList: he,
46317
- entries: vi(le, $, U, he)
46317
+ entries: vi(ae, $, U, he)
46318
46318
  }));
46319
46319
  }, eu = (S, $) => {
46320
46320
  const U = Zc($);
46321
- return We(U, (le) => {
46322
- const he = Ph(le) ? pi([wn.fromHtml(`<!--${le.content}-->`)]) : pi(le.content);
46323
- return wn.fromDom(G(S, he.dom));
46321
+ return We(U, (ae) => {
46322
+ const he = Ph(ae) ? pi([wn.fromHtml(`<!--${ae.content}-->`)]) : pi(ae.content);
46323
+ return wn.fromDom(j(S, he.dom));
46324
46324
  });
46325
46325
  }, Eg = (S, $) => {
46326
46326
  const U = Zc($);
@@ -46329,13 +46329,13 @@ Required: ` + m.join(", "));
46329
46329
  ge(os(S, ga), (U) => Sm($, U));
46330
46330
  }, Yu = (S) => {
46331
46331
  const $ = We(I(S), wn.fromDom);
46332
- return vt(Xn($, dn(uo)), Xn(rt($), dn(uo)), (U, le) => ({
46332
+ return vt(Xn($, dn(uo)), Xn(rt($), dn(uo)), (U, ae) => ({
46333
46333
  start: U,
46334
- end: le
46334
+ end: ae
46335
46335
  }));
46336
46336
  }, Bh = (S, $, U) => {
46337
- const le = Tg($, Yu(S));
46338
- ge(le, (he) => {
46337
+ const ae = Tg($, Yu(S));
46338
+ ge(ae, (he) => {
46339
46339
  Dg(he.entries, U);
46340
46340
  const it = Ag(S, he.entries);
46341
46341
  ge(it, (Kt) => {
@@ -46343,27 +46343,27 @@ Required: ` + m.join(", "));
46343
46343
  }), Il(he.sourceList, it), Kr(he.sourceList);
46344
46344
  });
46345
46345
  }, ce = (S, $) => {
46346
- const U = ts(as(S)), le = ts(Y(S));
46346
+ const U = ts(as(S)), ae = ts(Y(S));
46347
46347
  let he = !1;
46348
- if (U.length || le.length) {
46348
+ if (U.length || ae.length) {
46349
46349
  const it = S.selection.getBookmark();
46350
- Bh(S, U, $), rs(S, $, le), S.selection.moveToBookmark(it), S.selection.setRng(xs(S.selection.getRng())), S.nodeChanged(), he = !0;
46350
+ Bh(S, U, $), rs(S, $, ae), S.selection.moveToBookmark(it), S.selection.setRng(xs(S.selection.getRng())), S.nodeChanged(), he = !0;
46351
46351
  }
46352
46352
  return he;
46353
46353
  }, yu = (S, $) => !po(S) && ce(S, $), cc = (S) => yu(S, "Indent"), Od = (S) => yu(S, "Outdent"), Og = (S) => yu(S, "Flatten"), w1 = "\uFEFF", wo = (S) => S === w1, Na = (S, $, U) => mr(S, $, U).isSome(), yi = (S, $) => Na(S, pr(Vt, $));
46354
46354
  var ic = tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager");
46355
46355
  const wu = ea.DOM, Tc = (S) => {
46356
- const $ = {}, U = (le) => {
46357
- let he = S[le ? "startContainer" : "endContainer"], it = S[le ? "startOffset" : "endOffset"];
46356
+ const $ = {}, U = (ae) => {
46357
+ let he = S[ae ? "startContainer" : "endContainer"], it = S[ae ? "startOffset" : "endOffset"];
46358
46358
  if (ns(he)) {
46359
46359
  const Kt = wu.create("span", { "data-mce-type": "bookmark" });
46360
- he.hasChildNodes() ? (it = Math.min(it, he.childNodes.length - 1), le ? he.insertBefore(Kt, he.childNodes[it]) : wu.insertAfter(Kt, he.childNodes[it])) : he.appendChild(Kt), he = Kt, it = 0;
46360
+ he.hasChildNodes() ? (it = Math.min(it, he.childNodes.length - 1), ae ? he.insertBefore(Kt, he.childNodes[it]) : wu.insertAfter(Kt, he.childNodes[it])) : he.appendChild(Kt), he = Kt, it = 0;
46361
46361
  }
46362
- $[le ? "startContainer" : "endContainer"] = he, $[le ? "startOffset" : "endOffset"] = it;
46362
+ $[ae ? "startContainer" : "endContainer"] = he, $[ae ? "startOffset" : "endOffset"] = it;
46363
46363
  };
46364
46364
  return U(!0), S.collapsed || U(), $;
46365
46365
  }, ha = (S) => {
46366
- const $ = (le) => {
46366
+ const $ = (ae) => {
46367
46367
  const he = (On) => {
46368
46368
  var kn;
46369
46369
  let vn = (kn = On.parentNode) === null || kn === void 0 ? void 0 : kn.firstChild, Ws = 0;
@@ -46374,13 +46374,13 @@ Required: ` + m.join(", "));
46374
46374
  }
46375
46375
  return -1;
46376
46376
  };
46377
- let it = S[le ? "startContainer" : "endContainer"], Kt = S[le ? "startOffset" : "endOffset"];
46377
+ let it = S[ae ? "startContainer" : "endContainer"], Kt = S[ae ? "startOffset" : "endOffset"];
46378
46378
  if (it) {
46379
46379
  if (ns(it) && it.parentNode) {
46380
46380
  const On = it;
46381
46381
  Kt = he(it), it = it.parentNode, wu.remove(On), !it.hasChildNodes() && wu.isBlock(it) && it.appendChild(wu.create("br"));
46382
46382
  }
46383
- S[le ? "startContainer" : "endContainer"] = it, S[le ? "startOffset" : "endOffset"] = Kt;
46383
+ S[ae ? "startContainer" : "endContainer"] = it, S[ae ? "startOffset" : "endOffset"] = Kt;
46384
46384
  }
46385
46385
  };
46386
46386
  $(!0), $();
@@ -46396,26 +46396,26 @@ Required: ` + m.join(", "));
46396
46396
  return "ToggleDLList";
46397
46397
  }
46398
46398
  }, Rg = (S, $, U) => {
46399
- const le = U["list-style-type"] ? U["list-style-type"] : null;
46400
- S.setStyle($, "list-style-type", le);
46399
+ const ae = U["list-style-type"] ? U["list-style-type"] : null;
46400
+ S.setStyle($, "list-style-type", ae);
46401
46401
  }, Ih = (S, $) => {
46402
- ua.each($, (U, le) => {
46403
- S.setAttribute(le, U);
46402
+ ua.each($, (U, ae) => {
46403
+ S.setAttribute(ae, U);
46404
46404
  });
46405
46405
  }, uc = (S, $, U) => {
46406
- Ih($, U["list-attributes"]), ua.each(S.select("li", $), (le) => {
46407
- Ih(le, U["list-item-attributes"]);
46406
+ Ih($, U["list-attributes"]), ua.each(S.select("li", $), (ae) => {
46407
+ Ih(ae, U["list-item-attributes"]);
46408
46408
  });
46409
46409
  }, wi = (S, $, U) => {
46410
46410
  Rg(S, $, U), uc(S, $, U);
46411
46411
  }, $g = (S, $, U) => {
46412
- ua.each(U, (le) => S.setStyle($, le, ""));
46413
- }, ja = (S, $) => qe($) && !Hl($, S.schema.getBlockElements()), Rr = (S, $, U, le) => {
46412
+ ua.each(U, (ae) => S.setStyle($, ae, ""));
46413
+ }, ja = (S, $) => qe($) && !Hl($, S.schema.getBlockElements()), Rr = (S, $, U, ae) => {
46414
46414
  let he = $[U ? "startContainer" : "endContainer"];
46415
46415
  const it = $[U ? "startOffset" : "endOffset"];
46416
46416
  ns(he) && (he = he.childNodes[Math.min(it, he.childNodes.length - 1)] || he), !U && yl(he.nextSibling) && (he = he.nextSibling);
46417
46417
  const Kt = (kn) => {
46418
- for (; !S.dom.isBlock(kn) && kn.parentNode && le !== kn; )
46418
+ for (; !S.dom.isBlock(kn) && kn.parentNode && ae !== kn; )
46419
46419
  kn = kn.parentNode;
46420
46420
  return kn;
46421
46421
  }, On = (kn, vn) => {
@@ -46439,7 +46439,7 @@ Required: ` + m.join(", "));
46439
46439
  else
46440
46440
  for (he.parentNode !== null && ja(S, he.parentNode) && (he = he.parentNode); he.nextSibling !== null && (ja(S, he.nextSibling) || Hs(he.nextSibling)); )
46441
46441
  he = he.nextSibling;
46442
- for (; he.parentNode !== le; ) {
46442
+ for (; he.parentNode !== ae; ) {
46443
46443
  const kn = he.parentNode;
46444
46444
  if (ta(S, he) || /^(TD|TH)$/.test(kn.nodeName))
46445
46445
  return he;
@@ -46447,7 +46447,7 @@ Required: ` + m.join(", "));
46447
46447
  }
46448
46448
  return he;
46449
46449
  }, xu = (S, $, U) => {
46450
- const le = [], he = S.dom, it = Rr(S, $, !0, U), Kt = Rr(S, $, !1, U);
46450
+ const ae = [], he = S.dom, it = Rr(S, $, !0, U), Kt = Rr(S, $, !1, U);
46451
46451
  let On;
46452
46452
  const kn = [];
46453
46453
  for (let vn = it; vn && (kn.push(vn), vn !== Kt); vn = vn.nextSibling)
@@ -46455,7 +46455,7 @@ Required: ` + m.join(", "));
46455
46455
  return ua.each(kn, (vn) => {
46456
46456
  var Ws;
46457
46457
  if (ta(S, vn)) {
46458
- le.push(vn), On = null;
46458
+ ae.push(vn), On = null;
46459
46459
  return;
46460
46460
  }
46461
46461
  if (he.isBlock(vn) || yl(vn)) {
@@ -46467,23 +46467,23 @@ Required: ` + m.join(", "));
46467
46467
  On = null;
46468
46468
  return;
46469
46469
  }
46470
- On || (On = he.create("p"), (Ws = vn.parentNode) === null || Ws === void 0 || Ws.insertBefore(On, vn), le.push(On)), On.appendChild(vn);
46471
- }), le;
46470
+ On || (On = he.create("p"), (Ws = vn.parentNode) === null || Ws === void 0 || Ws.insertBefore(On, vn), ae.push(On)), On.appendChild(vn);
46471
+ }), ae;
46472
46472
  }, Rd = (S, $, U) => {
46473
- const le = S.getStyle($, "list-style-type");
46473
+ const ae = S.getStyle($, "list-style-type");
46474
46474
  let he = U ? U["list-style-type"] : "";
46475
- return he = he === null ? "" : he, le === he;
46475
+ return he = he === null ? "" : he, ae === he;
46476
46476
  }, Ec = (S, $) => {
46477
- const U = S.selection.getStart(!0), le = Rr(S, $, !0, S.getBody());
46478
- return yi(wn.fromDom(le), wn.fromDom($.commonAncestorContainer)) ? $.commonAncestorContainer : U;
46477
+ const U = S.selection.getStart(!0), ae = Rr(S, $, !0, S.getBody());
46478
+ return yi(wn.fromDom(ae), wn.fromDom($.commonAncestorContainer)) ? $.commonAncestorContainer : U;
46479
46479
  }, Ga = (S, $, U) => {
46480
- const le = S.selection.getRng();
46480
+ const ae = S.selection.getRng();
46481
46481
  let he = "LI";
46482
- const it = $t(S, Ec(S, le)), Kt = S.dom;
46482
+ const it = $t(S, Ec(S, ae)), Kt = S.dom;
46483
46483
  if (Kt.getContentEditable(S.selection.getNode()) === "false")
46484
46484
  return;
46485
46485
  $ = $.toUpperCase(), $ === "DL" && (he = "DT");
46486
- const On = Tc(le), kn = os(xu(S, le, it), S.dom.isEditable);
46486
+ const On = Tc(ae), kn = os(xu(S, ae, it), S.dom.isEditable);
46487
46487
  ua.each(kn, (vn) => {
46488
46488
  let Ws;
46489
46489
  const oa = vn.previousSibling, Ul = vn.parentNode;
@@ -46501,94 +46501,94 @@ Required: ` + m.join(", "));
46501
46501
  ]), wi(Kt, Ws, U), $d(S.dom, Ws));
46502
46502
  }), S.selection.setRng(ha(On));
46503
46503
  }, Mg = (S, $) => Ra(S) && S.nodeName === ($ == null ? void 0 : $.nodeName), Lh = (S, $, U) => {
46504
- const le = S.getStyle($, "list-style-type", !0), he = S.getStyle(U, "list-style-type", !0);
46505
- return le === he;
46504
+ const ae = S.getStyle($, "list-style-type", !0), he = S.getStyle(U, "list-style-type", !0);
46505
+ return ae === he;
46506
46506
  }, Em = (S, $) => S.className === $.className, Cf = (S, $, U) => Mg($, U) && Lh(S, $, U) && Em($, U), $d = (S, $) => {
46507
- let U, le = $.nextSibling;
46508
- if (Cf(S, $, le)) {
46509
- const he = le;
46507
+ let U, ae = $.nextSibling;
46508
+ if (Cf(S, $, ae)) {
46509
+ const he = ae;
46510
46510
  for (; U = he.firstChild; )
46511
46511
  $.appendChild(U);
46512
46512
  S.remove(he);
46513
46513
  }
46514
- if (le = $.previousSibling, Cf(S, $, le)) {
46515
- const he = le;
46514
+ if (ae = $.previousSibling, Cf(S, $, ae)) {
46515
+ const he = ae;
46516
46516
  for (; U = he.lastChild; )
46517
46517
  $.insertBefore(U, $.firstChild);
46518
46518
  S.remove(he);
46519
46519
  }
46520
- }, xi = (S, $, U, le) => {
46520
+ }, xi = (S, $, U, ae) => {
46521
46521
  if ($.nodeName !== U) {
46522
46522
  const he = S.dom.rename($, U);
46523
- wi(S.dom, he, le), Us(S, jc(U), he);
46523
+ wi(S.dom, he, ae), Us(S, jc(U), he);
46524
46524
  } else
46525
- wi(S.dom, $, le), Us(S, jc(U), $);
46526
- }, Fh = (S, $, U, le) => {
46525
+ wi(S.dom, $, ae), Us(S, jc(U), $);
46526
+ }, Fh = (S, $, U, ae) => {
46527
46527
  if ($.classList.forEach((he, it, Kt) => {
46528
46528
  he.startsWith("tox-") && (Kt.remove(he), Kt.length === 0 && $.removeAttribute("class"));
46529
46529
  }), $.nodeName !== U) {
46530
46530
  const he = S.dom.rename($, U);
46531
- wi(S.dom, he, le), Us(S, jc(U), he);
46531
+ wi(S.dom, he, ae), Us(S, jc(U), he);
46532
46532
  } else
46533
- wi(S.dom, $, le), Us(S, jc(U), $);
46534
- }, db = (S, $, U, le, he) => {
46533
+ wi(S.dom, $, ae), Us(S, jc(U), $);
46534
+ }, db = (S, $, U, ae, he) => {
46535
46535
  const it = Ra($);
46536
- if (it && $.nodeName === le && !Pg(he) && !zs($))
46536
+ if (it && $.nodeName === ae && !Pg(he) && !zs($))
46537
46537
  Og(S);
46538
46538
  else {
46539
- Ga(S, le, he);
46539
+ Ga(S, ae, he);
46540
46540
  const Kt = Tc(S.selection.getRng()), On = it ? [
46541
46541
  $,
46542
46542
  ...U
46543
46543
  ] : U, kn = it && zs($) ? Fh : xi;
46544
46544
  ua.each(On, (vn) => {
46545
- kn(S, vn, le, he);
46545
+ kn(S, vn, ae, he);
46546
46546
  }), S.selection.setRng(ha(Kt));
46547
46547
  }
46548
- }, Pg = (S) => "list-style-type" in S, Ng = (S, $, U, le) => {
46548
+ }, Pg = (S) => "list-style-type" in S, Ng = (S, $, U, ae) => {
46549
46549
  if ($ !== S.getBody())
46550
46550
  if ($)
46551
- if ($.nodeName === U && !Pg(le) && !zs($))
46551
+ if ($.nodeName === U && !Pg(ae) && !zs($))
46552
46552
  Og(S);
46553
46553
  else {
46554
46554
  const he = Tc(S.selection.getRng());
46555
46555
  zs($) && $.classList.forEach((Kt, On, kn) => {
46556
46556
  Kt.startsWith("tox-") && (kn.remove(Kt), kn.length === 0 && $.removeAttribute("class"));
46557
- }), wi(S.dom, $, le);
46557
+ }), wi(S.dom, $, ae);
46558
46558
  const it = S.dom.rename($, U);
46559
- $d(S.dom, it), S.selection.setRng(ha(he)), Ga(S, U, le), Us(S, jc(U), it);
46559
+ $d(S.dom, it), S.selection.setRng(ha(he)), Ga(S, U, ae), Us(S, jc(U), it);
46560
46560
  }
46561
46561
  else
46562
- Ga(S, U, le), Us(S, jc(U), $);
46562
+ Ga(S, U, ae), Us(S, jc(U), $);
46563
46563
  }, Xu = (S, $, U) => {
46564
- const le = Ma(S);
46565
- if (Wa(S, le))
46564
+ const ae = Ma(S);
46565
+ if (Wa(S, ae))
46566
46566
  return;
46567
46567
  const he = Gu(S), it = Ae(U) ? U : {};
46568
- he.length > 0 ? db(S, le, he, $, it) : Ng(S, le, $, it);
46568
+ he.length > 0 ? db(S, ae, he, $, it) : Ng(S, ae, $, it);
46569
46569
  }, Am = ea.DOM, Md = (S, $) => {
46570
46570
  const U = $.parentElement;
46571
46571
  if (U && U.nodeName === "LI" && U.firstChild === $) {
46572
- const le = U.previousSibling;
46573
- le && le.nodeName === "LI" ? (le.appendChild($), wl(S, U) && Am.remove(U)) : Am.setStyle(U, "listStyleType", "none");
46572
+ const ae = U.previousSibling;
46573
+ ae && ae.nodeName === "LI" ? (ae.appendChild($), wl(S, U) && Am.remove(U)) : Am.setStyle(U, "listStyleType", "none");
46574
46574
  }
46575
46575
  if (Ra(U)) {
46576
- const le = U.previousSibling;
46577
- le && le.nodeName === "LI" && le.appendChild($);
46576
+ const ae = U.previousSibling;
46577
+ ae && ae.nodeName === "LI" && ae.appendChild($);
46578
46578
  }
46579
46579
  }, Bs = (S, $) => {
46580
46580
  const U = ua.grep(S.select("ol,ul", $));
46581
- ua.each(U, (le) => {
46582
- Md(S, le);
46581
+ ua.each(U, (ae) => {
46582
+ Md(S, ae);
46583
46583
  });
46584
- }, Ks = (S, $, U, le) => {
46584
+ }, Ks = (S, $, U, ae) => {
46585
46585
  let he = $.startContainer;
46586
46586
  const it = $.startOffset;
46587
46587
  if (Hs(he) && (U ? it < he.data.length : it > 0))
46588
46588
  return he;
46589
46589
  const Kt = S.schema.getNonEmptyElements();
46590
46590
  ns(he) && (he = Ll.getNode(he, it));
46591
- const On = new Wu(he, le);
46591
+ const On = new Wu(he, ae);
46592
46592
  U && Zu(S.dom, he) && On.next();
46593
46593
  const kn = U ? On.next.bind(On) : On.prev2.bind(On);
46594
46594
  for (; he = kn(); )
@@ -46601,45 +46601,45 @@ Required: ` + m.join(", "));
46601
46601
  }, Bg = (S) => kt.from(S).map(wn.fromDom).filter(ys).exists(($) => ia($) && !ds(["details"], ms($))), Hh = (S, $) => {
46602
46602
  rl(S, $) && Bg($.firstChild) && S.remove($.firstChild, !0);
46603
46603
  }, na = (S, $, U) => {
46604
- let le;
46604
+ let ae;
46605
46605
  const he = rl(S, U) ? U.firstChild : U;
46606
46606
  if (Hh(S, $), !wl(S, $, !0))
46607
- for (; le = $.firstChild; )
46608
- he.appendChild(le);
46607
+ for (; ae = $.firstChild; )
46608
+ he.appendChild(ae);
46609
46609
  }, tu = (S, $, U) => {
46610
- let le;
46610
+ let ae;
46611
46611
  const he = $.parentNode;
46612
46612
  if (!Ji(S, $) || !Ji(S, U))
46613
46613
  return;
46614
- Ra(U.lastChild) && (le = U.lastChild), he === U.lastChild && yl(he.previousSibling) && S.remove(he.previousSibling);
46614
+ Ra(U.lastChild) && (ae = U.lastChild), he === U.lastChild && yl(he.previousSibling) && S.remove(he.previousSibling);
46615
46615
  const it = U.lastChild;
46616
- it && yl(it) && $.hasChildNodes() && S.remove(it), wl(S, U, !0) && Ee(wn.fromDom(U)), na(S, $, U), le && U.appendChild(le);
46616
+ it && yl(it) && $.hasChildNodes() && S.remove(it), wl(S, U, !0) && Ee(wn.fromDom(U)), na(S, $, U), ae && U.appendChild(ae);
46617
46617
  const On = Tr(wn.fromDom(U), wn.fromDom($)) ? S.getParents($, Ra, U) : [];
46618
46618
  S.remove($), ge(On, (kn) => {
46619
46619
  wl(S, kn) && kn !== S.getRoot() && S.remove(kn);
46620
46620
  });
46621
46621
  }, al = (S, $, U) => {
46622
46622
  Ee(wn.fromDom(U)), tu(S.dom, $, U), S.selection.setCursorLocation(U, 0);
46623
- }, Ci = (S, $, U, le) => {
46623
+ }, Ci = (S, $, U, ae) => {
46624
46624
  const he = S.dom;
46625
- if (he.isEmpty(le))
46626
- al(S, U, le);
46625
+ if (he.isEmpty(ae))
46626
+ al(S, U, ae);
46627
46627
  else {
46628
46628
  const it = Tc($);
46629
- tu(he, U, le), S.selection.setRng(ha(it));
46629
+ tu(he, U, ae), S.selection.setRng(ha(it));
46630
46630
  }
46631
- }, Sf = (S, $, U, le) => {
46631
+ }, Sf = (S, $, U, ae) => {
46632
46632
  const he = Tc($);
46633
- tu(S.dom, U, le);
46633
+ tu(S.dom, U, ae);
46634
46634
  const it = ha(he);
46635
46635
  S.selection.setRng(it);
46636
46636
  }, Hn = (S, $) => {
46637
- const U = S.dom, le = S.selection, he = le.getStart(), it = re(S, he), Kt = U.getParent(le.getStart(), "LI", it);
46637
+ const U = S.dom, ae = S.selection, he = ae.getStart(), it = re(S, he), Kt = U.getParent(ae.getStart(), "LI", it);
46638
46638
  if (Kt) {
46639
46639
  const On = Kt.parentElement;
46640
46640
  if (On === S.getBody() && wl(U, On))
46641
46641
  return !0;
46642
- const kn = xs(le.getRng()), vn = U.getParent(Ks(S, kn, $, it), "LI", it), Ws = vn && ($ ? U.isChildOf(Kt, vn) : U.isChildOf(vn, Kt));
46642
+ const kn = xs(ae.getRng()), vn = U.getParent(Ks(S, kn, $, it), "LI", it), Ws = vn && ($ ? U.isChildOf(Kt, vn) : U.isChildOf(vn, Kt));
46643
46643
  if (vn && vn !== Kt && !Ws)
46644
46644
  return S.undoManager.transact(() => {
46645
46645
  $ ? Ci(S, kn, vn, Kt) : Fl(Kt) ? Od(S) : Sf(S, kn, Kt, vn);
@@ -46660,10 +46660,10 @@ Required: ` + m.join(", "));
46660
46660
  }
46661
46661
  return !1;
46662
46662
  }, Cl = (S, $, U) => {
46663
- const le = S.getParent($.parentNode, S.isBlock, U);
46664
- S.remove($), le && S.isEmpty(le) && S.remove(le);
46663
+ const ae = S.getParent($.parentNode, S.isBlock, U);
46664
+ S.remove($), ae && S.isEmpty(ae) && S.remove(ae);
46665
46665
  }, Cu = (S, $) => {
46666
- const U = S.dom, le = S.selection.getStart(), he = re(S, le), it = U.getParent(le, U.isBlock, he);
46666
+ const U = S.dom, ae = S.selection.getStart(), he = re(S, ae), it = U.getParent(ae, U.isBlock, he);
46667
46667
  if (it && U.isEmpty(it)) {
46668
46668
  const Kt = xs(S.selection.getRng()), On = U.getParent(Ks(S, Kt, $, he), "LI", he);
46669
46669
  if (On) {
@@ -46701,20 +46701,20 @@ Required: ` + m.join(", "));
46701
46701
  }), $r = (S, $) => {
46702
46702
  const U = Ma(S);
46703
46703
  U === null || Wa(S, U) || S.undoManager.transact(() => {
46704
- Ae($.styles) && S.dom.setStyles(U, $.styles), Ae($.attrs) && Ad($.attrs, (le, he) => S.dom.setAttrib(U, he, le));
46704
+ Ae($.styles) && S.dom.setStyles(U, $.styles), Ae($.attrs) && Ad($.attrs, (ae, he) => S.dom.setAttrib(U, he, ae));
46705
46705
  });
46706
46706
  }, Nd = (S) => {
46707
- const $ = rt($h(S).split("")), U = We($, (le, he) => {
46708
- const it = le.toUpperCase().charCodeAt(0) - 65 + 1;
46707
+ const $ = rt($h(S).split("")), U = We($, (ae, he) => {
46708
+ const it = ae.toUpperCase().charCodeAt(0) - 65 + 1;
46709
46709
  return Math.pow(26, he) * it;
46710
46710
  });
46711
- return Dt(U, (le, he) => le + he, 0);
46711
+ return Dt(U, (ae, he) => ae + he, 0);
46712
46712
  }, Ju = (S) => {
46713
46713
  if (S--, S < 0)
46714
46714
  return "";
46715
46715
  {
46716
- const $ = S % 26, U = Math.floor(S / 26), le = Ju(U), he = String.fromCharCode(65 + $);
46717
- return le + he;
46716
+ const $ = S % 26, U = Math.floor(S / 26), ae = Ju(U), he = String.fromCharCode(65 + $);
46717
+ return ae + he;
46718
46718
  }
46719
46719
  }, lr = (S) => /^[A-Z]+$/.test(S), Wr = (S) => /^[a-z]+$/.test(S), Gc = (S) => /^[0-9]+$/.test(S), Qu = (S) => Gc(S) ? 2 : lr(S) ? 0 : Wr(S) ? 1 : Bo(S) ? 3 : 4, Sr = (S) => {
46720
46720
  switch (Qu(S)) {
@@ -46777,8 +46777,8 @@ Required: ` + m.join(", "));
46777
46777
  }
46778
46778
  ],
46779
46779
  onSubmit: (U) => {
46780
- const le = U.getData();
46781
- Sr(le.start).each((he) => {
46780
+ const ae = U.getData();
46781
+ Sr(ae.start).each((he) => {
46782
46782
  S.execCommand("mceListUpdate", !1, {
46783
46783
  attrs: { start: he.start === "1" ? "" : he.start },
46784
46784
  styles: { "list-style-type": he.listStyleType.getOr("") }
@@ -46817,8 +46817,8 @@ Required: ` + m.join(", "));
46817
46817
  }, U = (he, it) => Su(it) ? [
46818
46818
  ...he,
46819
46819
  it
46820
- ] : !nu(he) && !Su(it) ? ($(he, it), []) : he, le = Dt(S.children(), U, []);
46821
- nu(le) || $(le);
46820
+ ] : !nu(he) && !Su(it) ? ($(he, it), []) : he, ae = Dt(S.children(), U, []);
46821
+ nu(ae) || $(ae);
46822
46822
  }, ed = (S) => {
46823
46823
  S.on("PreInit", () => {
46824
46824
  const { parser: $ } = S;
@@ -46833,10 +46833,10 @@ Required: ` + m.join(", "));
46833
46833
  }, Fg = (S) => {
46834
46834
  hi(S) && Lg(S), fr(S);
46835
46835
  }, x1 = (S, $) => (U) => {
46836
- const le = (he) => {
46836
+ const ae = (he) => {
46837
46837
  U.setActive(Cr(he.parents, $)), U.setEnabled(!Wa(S, he.element) && S.selection.isEditable());
46838
46838
  };
46839
- return U.setEnabled(S.selection.isEditable()), Ns(S, le);
46839
+ return U.setEnabled(S.selection.isEditable()), Ns(S, ae);
46840
46840
  }, Uh = (S) => {
46841
46841
  const $ = (U) => () => S.execCommand(U);
46842
46842
  S.hasPlugin("advlist") || (S.ui.registry.addToggleButton("numlist", {
@@ -46861,8 +46861,8 @@ Required: ` + m.join(", "));
46861
46861
  };
46862
46862
  S.ui.registry.addMenuItem("listprops", $), S.ui.registry.addContextMenu("lists", {
46863
46863
  update: (U) => {
46864
- const le = Ma(S, U);
46865
- return Ho(le) ? ["listprops"] : [];
46864
+ const ae = Ma(S, U);
46865
+ return Ho(ae) ? ["listprops"] : [];
46866
46866
  }
46867
46867
  });
46868
46868
  };
@@ -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 = (G, me, Te) => {
46876
+ const ie = (j, me, Te) => {
46877
46877
  var Ie;
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]))
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, le = (j) => (me) => typeof me === j, G = (j) => (me) => j === me, Ae = _e("string"), Q = _e("object"), Pe = _e("array"), pt = G(null), qe = le("boolean"), bn = (j) => j == null, mn = (j) => !bn(j), No = le("function"), us = (j, me) => {
46883
+ if (Pe(j)) {
46884
+ for (let Te = 0, Ie = j.length; Te < Ie; ++Te)
46885
+ if (!me(j[Te]))
46886
46886
  return !1;
46887
46887
  return !0;
46888
46888
  }
46889
46889
  return !1;
46890
46890
  }, Oo = () => {
46891
- }, Rt = (G) => () => G, pr = (G, me) => G === me;
46891
+ }, Rt = (j) => () => j, pr = (j, me) => j === 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 = (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);
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);
46965
46965
  for (let ft = 0; ft < Te; ft++) {
46966
- const fn = G[ft];
46966
+ const fn = j[ft];
46967
46967
  Ie[ft] = me(fn, ft);
46968
46968
  }
46969
46969
  return Ie;
46970
- }, Nn = (G, me) => {
46971
- for (let Te = 0, Ie = G.length; Te < Ie; Te++) {
46972
- const ft = G[Te];
46970
+ }, Nn = (j, me) => {
46971
+ for (let Te = 0, Ie = j.length; Te < Ie; Te++) {
46972
+ const ft = j[Te];
46973
46973
  me(ft, Te);
46974
46974
  }
46975
- }, ds = (G, me, Te) => (Nn(G, (Ie, ft) => {
46975
+ }, ds = (j, me, Te) => (Nn(j, (Ie, ft) => {
46976
46976
  Te = me(Te, Ie, ft);
46977
- }), Te), In = (G) => {
46977
+ }), Te), In = (j) => {
46978
46978
  const me = [];
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]);
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]);
46983
46983
  }
46984
46984
  return me;
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);
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);
46988
46988
  if (Ie.isSome())
46989
46989
  return Ie;
46990
46990
  }
46991
46991
  return dn.none();
46992
- }, os = (G, me, Te = pr) => G.exists((Ie) => Te(Ie, me)), Bt = (G) => {
46992
+ }, os = (j, me, Te = pr) => j.exists((Ie) => Te(Ie, me)), Bt = (j) => {
46993
46993
  const me = [], Te = (Ie) => {
46994
46994
  me.push(Ie);
46995
46995
  };
46996
- for (let Ie = 0; Ie < G.length; Ie++)
46997
- G[Ie].each(Te);
46996
+ for (let Ie = 0; Ie < j.length; Ie++)
46997
+ j[Ie].each(Te);
46998
46998
  return me;
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;
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;
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 = (G) => Ae(G.value) ? G.value : "", ss = (G) => Ae(G.text) ? G.text : Ae(G.title) ? G.title : "", Uo = (G, me) => {
47046
+ const oo = (j) => Ae(j.value) ? j.value : "", ss = (j) => Ae(j.text) ? j.text : Ae(j.title) ? j.title : "", Uo = (j, me) => {
47047
47047
  const Te = [];
47048
- return el.each(G, (Ie) => {
47048
+ return el.each(j, (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 = (G = oo) => (me) => dn.from(me).map((Te) => Uo(Te, G)), Ye = {
47065
- sanitize: (G) => Zi(oo)(G),
47064
+ }, Zi = (j = oo) => (me) => dn.from(me).map((Te) => Uo(Te, j)), Ye = {
47065
+ sanitize: (j) => Zi(oo)(j),
47066
47066
  sanitizeWith: Zi,
47067
- createUi: (G, me) => (Te) => ({
47068
- name: G,
47067
+ createUi: (j, me) => (Te) => ({
47068
+ name: j,
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 = (G, me) => {
47075
- const Te = ke(G);
47074
+ }, ke = Object.keys, wn = Object.hasOwnProperty, Go = (j, me) => {
47075
+ const Te = ke(j);
47076
47076
  for (let Ie = 0, ft = Te.length; Ie < ft; Ie++) {
47077
- const fn = Te[Ie], Wo = G[fn];
47077
+ const fn = Te[Ie], Wo = j[fn];
47078
47078
  me(Wo, fn);
47079
47079
  }
47080
- }, Vt = (G) => (me, Te) => {
47081
- G[Te] = me;
47082
- }, Tr = (G, me, Te, Ie) => {
47083
- Go(G, (ft, fn) => {
47080
+ }, Vt = (j) => (me, Te) => {
47081
+ j[Te] = me;
47082
+ }, Tr = (j, me, Te, Ie) => {
47083
+ Go(j, (ft, fn) => {
47084
47084
  (me(ft, fn) ? Te : Ie)(ft, fn);
47085
47085
  });
47086
- }, Fo = (G, me) => {
47086
+ }, Fo = (j, me) => {
47087
47087
  const Te = {};
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;
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;
47090
47090
  var vr = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"), yc = tinymce.util.Tools.resolve("tinymce.util.URI");
47091
- const yr = (G) => mn(G) && G.nodeName.toLowerCase() === "a", er = (G) => yr(G) && !!ms(G), vs = (G, me) => {
47092
- if (G.collapsed)
47091
+ const yr = (j) => mn(j) && j.nodeName.toLowerCase() === "a", er = (j) => yr(j) && !!ms(j), vs = (j, me) => {
47092
+ if (j.collapsed)
47093
47093
  return [];
47094
47094
  {
47095
- const Te = G.cloneContents(), Ie = Te.firstChild, ft = new vr(Ie, Te), fn = [];
47095
+ const Te = j.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 = (G) => /^\w+:/i.test(G), ms = (G) => {
47102
+ }, ji = (j) => /^\w+:/i.test(j), ms = (j) => {
47103
47103
  var me, Te;
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);
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);
47107
47107
  return rs.length > 0 ? ft(rs) : "";
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 || "");
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 || "");
47110
47110
  return wc(Te);
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")))
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")))
47114
47114
  return !1;
47115
- const ft = G.selection.getRng();
47115
+ const ft = j.selection.getRng();
47116
47116
  return ft.collapsed ? !0 : vs(ft, Te).length === 0;
47117
- }, ho = (G) => mn(G) && G.nodeName === "FIGURE" && /\bimage\b/i.test(G.className), Er = (G) => ds([
47117
+ }, ho = (j) => mn(j) && j.nodeName === "FIGURE" && /\bimage\b/i.test(j.className), Er = (j) => ds([
47118
47118
  "title",
47119
47119
  "rel",
47120
47120
  "class",
47121
47121
  "target"
47122
- ], (Te, Ie) => (G[Ie].each((ft) => {
47122
+ ], (Te, Ie) => (j[Ie].each((ft) => {
47123
47123
  Te[Ie] = ft.length > 0 ? ft : null;
47124
- }), Te), { href: G.href }), Aa = (G, me) => (me === "http" || me === "https") && !ji(G) ? me + "://" + G : G, Nl = (G, me) => {
47124
+ }), Te), { href: j.href }), Aa = (j, me) => (me === "http" || me === "https") && !ji(j) ? me + "://" + j : j, Nl = (j, me) => {
47125
47125
  const Te = { ...me };
47126
- if (no(G).length === 0 && !vt(G)) {
47126
+ if (no(j).length === 0 && !vt(j)) {
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(G) === !1 && (Te.target = Me(G)), Te.href = Aa(Te.href, at(G)), Te;
47131
- }, Da = (G, me, Te, Ie) => {
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) => {
47132
47132
  Te.each((ft) => {
47133
47133
  Va(me, "innerText") ? me.innerText = ft : me.textContent = ft;
47134
- }), G.dom.setAttribs(me, Ie), G.selection.select(me);
47135
- }, es = (G, me, Te, Ie) => {
47136
- const ft = G.dom;
47134
+ }), j.dom.setAttribs(me, Ie), j.selection.select(me);
47135
+ }, es = (j, me, Te, Ie) => {
47136
+ const ft = j.dom;
47137
47137
  ho(me) ? xr(ft, me, Ie) : Te.fold(() => {
47138
- G.execCommand("mceInsertLink", !1, Ie);
47138
+ j.execCommand("mceInsertLink", !1, Ie);
47139
47139
  }, (fn) => {
47140
- G.insertContent(ft.createHTML("a", Ie, ft.encode(fn)));
47140
+ j.insertContent(ft.createHTML("a", Ie, ft.encode(fn)));
47141
47141
  });
47142
- }, tl = (G, me, Te) => {
47143
- const Ie = G.selection.getNode(), ft = Jn(G, Ie), fn = Nl(G, Er(Te));
47144
- G.undoManager.transact(() => {
47142
+ }, tl = (j, me, Te) => {
47143
+ const Ie = j.selection.getNode(), ft = Jn(j, Ie), fn = Nl(j, Er(Te));
47144
+ j.undoManager.transact(() => {
47145
47145
  Te.href === me.href && me.attach(), ft.fold(() => {
47146
- es(G, Ie, Te.text, fn);
47146
+ es(j, Ie, Te.text, fn);
47147
47147
  }, (Wo) => {
47148
- G.focus(), Da(G, Wo, Te.text, fn);
47148
+ j.focus(), Da(j, Wo, Te.text, fn);
47149
47149
  });
47150
47150
  });
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();
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();
47158
47158
  });
47159
- }, hn = (G) => {
47159
+ }, hn = (j) => {
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
- } = G;
47167
+ } = j;
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 = (G, me) => {
47177
- const Te = G.options.get, Ie = {
47176
+ }, Ar = (j, me) => {
47177
+ const Te = j.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 = (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) => {
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) => {
47192
47192
  var Te;
47193
- const Ie = G.dom.select("img", me)[0];
47193
+ const Ie = j.dom.select("img", me)[0];
47194
47194
  if (Ie) {
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));
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));
47197
47197
  }
47198
- }, xr = (G, me, Te) => {
47198
+ }, xr = (j, me, Te) => {
47199
47199
  var Ie;
47200
- const ft = G.select("img", me)[0];
47200
+ const ft = j.select("img", me)[0];
47201
47201
  if (ft) {
47202
- const fn = G.create("a", Te);
47202
+ const fn = j.create("a", Te);
47203
47203
  (Ie = ft.parentNode) === null || Ie === void 0 || Ie.insertBefore(fn, ft), fn.appendChild(ft);
47204
47204
  }
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;
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;
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 ? G : Wo.text,
47211
+ text: fn ? j : Wo.text,
47212
47212
  attach: Oo
47213
47213
  }
47214
47214
  },
47215
- text: fn ? G : Wo.text
47215
+ text: fn ? j : Wo.text
47216
47216
  })) : dn.none();
47217
- }, qi = (G, me) => me === "link" ? G.link : me === "anchor" ? G.anchor : dn.none(), ia = {
47218
- init: (G, me) => {
47217
+ }, qi = (j, me) => me === "link" ? j.link : me === "anchor" ? j.anchor : dn.none(), ia = {
47218
+ init: (j, me) => {
47219
47219
  const Te = {
47220
- text: G.text,
47221
- title: G.title
47220
+ text: j.text,
47221
+ title: j.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 = (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);
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);
47254
47254
  });
47255
47255
  });
47256
- }, sc = (G) => {
47257
- const me = G.href;
47256
+ }, sc = (j) => {
47257
+ const me = j.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 = (G, me) => (Te) => {
47265
+ }, Vc = (j, me) => (Te) => {
47266
47266
  const Ie = Te.href;
47267
- return G === 1 && !ji(Ie) || G === 0 && /^\s*www(\.|\d\.)/i.test(Ie) ? dn.some({
47267
+ return j === 1 && !ji(Ie) || j === 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: (G, me) => ge([
47274
+ }, Il = { preprocess: (j, me) => ge([
47275
47275
  sc,
47276
- Vc(at(G), nn(G))
47276
+ Vc(at(j), nn(j))
47277
47277
  ], (Te) => Te(me)).fold(() => Promise.resolve(me), (Te) => new Promise((Ie) => {
47278
- Dr(G, Te.message, (ft) => {
47278
+ Dr(j, Te.message, (ft) => {
47279
47279
  Ie(ft ? Te.preprocess(me) : me);
47280
47280
  });
47281
- })) }, Ee = { getAnchors: (G) => {
47282
- const me = G.dom.select("a:not([href])"), Te = We(me, (Ie) => {
47281
+ })) }, Ee = { getAnchors: (j) => {
47282
+ const me = j.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: (G) => {
47294
- const me = br(G);
47293
+ } }, Ll = { getClasses: (j) => {
47294
+ const me = br(j);
47295
47295
  return me.length > 0 ? Ye.sanitize(me) : dn.none();
47296
- } }, Wu = (G) => {
47296
+ } }, Wu = (j) => {
47297
47297
  try {
47298
- return dn.some(JSON.parse(G));
47298
+ return dn.some(JSON.parse(j));
47299
47299
  } catch {
47300
47300
  return dn.none();
47301
47301
  }
47302
- }, ts = { getLinks: (G) => {
47303
- const me = (Ie) => G.convertURL(Ie.value || Ie.url || "", "href"), Te = rt(G);
47302
+ }, ts = { getLinks: (j) => {
47303
+ const me = (Ie) => j.convertURL(Ie.value || Ie.url || "", "href"), Te = rt(j);
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: (G, me) => {
47311
- const Te = no(G);
47310
+ } }, Ad = { getRels: (j, me) => {
47311
+ const Te = no(j);
47312
47312
  if (Te.length > 0) {
47313
- const Ie = os(me, "_blank"), ft = vt(G) === !1, fn = (rs) => qo(Ye.getValue(rs), Ie);
47313
+ const Ie = os(me, "_blank"), ft = vt(j) === !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: (G) => {
47327
- const me = zo(G);
47326
+ ], ws = { getTargets: (j) => {
47327
+ const me = zo(j);
47328
47328
  return Pe(me) ? Ye.sanitize(me).orThunk(() => dn.some(nl)) : me === !1 ? dn.none() : dn.some(nl);
47329
- } }, Es = (G, me, Te) => {
47330
- const Ie = G.getAttrib(me, Te);
47329
+ } }, Es = (j, me, Te) => {
47330
+ const Ie = j.getAttrib(me, Te);
47331
47331
  return Ie !== null && Ie.length > 0 ? dn.some(Ie) : dn.none();
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"));
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"));
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: (G, me) => ts.getLinks(G).then((Te) => {
47343
- const Ie = za(G, me);
47342
+ }, xc = { collect: (j, me) => ts.getLinks(j).then((Te) => {
47343
+ const Ie = za(j, me);
47344
47344
  return {
47345
47345
  anchor: Ie,
47346
47346
  catalogs: {
47347
- targets: ws.getTargets(G),
47348
- rels: Ad.getRels(G, Ie.target),
47349
- classes: Ll.getClasses(G),
47350
- anchor: Ee.getAnchors(G),
47347
+ targets: ws.getTargets(j),
47348
+ rels: Ad.getRels(j, Ie.target),
47349
+ classes: Ll.getClasses(j),
47350
+ anchor: Ee.getAnchors(j),
47351
47351
  link: Te
47352
47352
  },
47353
47353
  optNode: me,
47354
- flags: { titleEnabled: tt(G) }
47354
+ flags: { titleEnabled: tt(j) }
47355
47355
  };
47356
- }) }, gi = (G, me) => (Te) => {
47356
+ }) }, gi = (j, me) => (Te) => {
47357
47357
  const Ie = Te.getData();
47358
47358
  if (!Ie.url.value) {
47359
- Hc(G), Te.close();
47359
+ Hc(j), 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(G, fn).then((rs) => {
47374
- Bl(G, Wo, rs);
47373
+ Il.preprocess(j, fn).then((rs) => {
47374
+ Bl(j, Wo, rs);
47375
47375
  }), Te.close();
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("");
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("");
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 = (G, me, Te) => {
47394
+ }, ea = (j, 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 = G.anchor.text.map(() => ({
47401
+ }], ft = j.anchor.text.map(() => ({
47402
47402
  name: "text",
47403
47403
  type: "input",
47404
47404
  label: "Text to display"
47405
- })).toArray(), fn = G.flags.titleEnabled ? [{
47405
+ })).toArray(), fn = j.flags.titleEnabled ? [{
47406
47406
  name: "title",
47407
47407
  type: "input",
47408
47408
  label: "Title"
47409
- }] : [], Wo = dn.from(Me(Te)), rs = Ro(G, Wo), Zo = G.catalogs, xs = ia.init(rs, Zo);
47409
+ }] : [], Wo = dn.from(Me(Te)), rs = Ro(j, Wo), Zo = j.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 = (G) => {
47450
- Cc(G).then((Te) => {
47451
- const Ie = gi(G, Te);
47452
- return ea(Te, Ie, G);
47449
+ }, ua = (j) => {
47450
+ Cc(j).then((Te) => {
47451
+ const Ie = gi(j, Te);
47452
+ return ea(Te, Ie, j);
47453
47453
  }).then((Te) => {
47454
- G.windowManager.open(Te);
47454
+ j.windowManager.open(Te);
47455
47455
  });
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" });
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" });
47459
47459
  });
47460
47460
  };
47461
47461
  var da = tinymce.util.Tools.resolve("tinymce.util.VK");
47462
- const Hs = (G, me) => {
47463
- document.body.appendChild(G), G.dispatchEvent(me), document.body.removeChild(G);
47464
- }, ns = (G) => {
47462
+ const Hs = (j, me) => {
47463
+ document.body.appendChild(j), j.dispatchEvent(me), document.body.removeChild(j);
47464
+ }, ns = (j) => {
47465
47465
  const me = document.createElement("a");
47466
- me.target = "_blank", me.href = G, me.rel = "noreferrer noopener";
47466
+ me.target = "_blank", me.href = j, 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 = (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) => {
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) => {
47470
47470
  if (me) {
47471
47471
  const Te = ms(me);
47472
47472
  if (/^#/.test(Te)) {
47473
- const Ie = G.dom.select(Te);
47474
- Ie.length && G.selection.scrollIntoView(Ie[0], !0);
47473
+ const Ie = j.dom.select(Te);
47474
+ Ie.length && j.selection.scrollIntoView(Ie[0], !0);
47475
47475
  } else
47476
47476
  ns(me.href);
47477
47477
  }
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) => {
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) => {
47487
47487
  if (!me.isDefaultPrevented() && me.keyCode === 13 && Ho(me)) {
47488
- const Te = Xi(G);
47489
- Te && (me.preventDefault(), Or(G, Te));
47488
+ const Te = Xi(j);
47489
+ Te && (me.preventDefault(), Or(j, Te));
47490
47490
  }
47491
47491
  });
47492
- }, Fl = (G, me) => (G.on("NodeChange", me), () => G.off("NodeChange", me)), ta = (G) => (me) => {
47492
+ }, Fl = (j, me) => (j.on("NodeChange", me), () => j.off("NodeChange", me)), ta = (j) => (me) => {
47493
47493
  const Te = () => {
47494
- me.setActive(!G.mode.isReadOnly() && ys(G, G.selection.getNode())), me.setEnabled(G.selection.isEditable());
47494
+ me.setActive(!j.mode.isReadOnly() && ys(j, j.selection.getNode())), me.setEnabled(j.selection.isEditable());
47495
47495
  };
47496
- return Te(), Fl(G, Te);
47497
- }, Hl = (G) => (me) => {
47496
+ return Te(), Fl(j, Te);
47497
+ }, Hl = (j) => (me) => {
47498
47498
  const Te = () => {
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", {
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", {
47516
47516
  icon: "link",
47517
47517
  tooltip: "Insert/edit link",
47518
- onAction: ma(G),
47519
- onSetup: ta(G)
47520
- }), G.ui.registry.addButton("openlink", {
47518
+ onAction: ma(j),
47519
+ onSetup: ta(j)
47520
+ }), j.ui.registry.addButton("openlink", {
47521
47521
  icon: "new-tab",
47522
47522
  tooltip: "Open link",
47523
- onAction: rr(G),
47524
- onSetup: Zu(G)
47525
- }), G.ui.registry.addButton("unlink", {
47523
+ onAction: rr(j),
47524
+ onSetup: Zu(j)
47525
+ }), j.ui.registry.addButton("unlink", {
47526
47526
  icon: "unlink",
47527
47527
  tooltip: "Remove link",
47528
- onAction: () => Hc(G),
47529
- onSetup: wl(G)
47528
+ onAction: () => Hc(j),
47529
+ onSetup: wl(j)
47530
47530
  });
47531
- }, Sc = (G) => {
47532
- G.ui.registry.addMenuItem("openlink", {
47531
+ }, Sc = (j) => {
47532
+ j.ui.registry.addMenuItem("openlink", {
47533
47533
  text: "Open link",
47534
47534
  icon: "new-tab",
47535
- onAction: rr(G),
47536
- onSetup: Zu(G)
47537
- }), G.ui.registry.addMenuItem("link", {
47535
+ onAction: rr(j),
47536
+ onSetup: Zu(j)
47537
+ }), j.ui.registry.addMenuItem("link", {
47538
47538
  icon: "link",
47539
47539
  text: "Link...",
47540
47540
  shortcut: "Meta+K",
47541
- onSetup: Hl(G),
47542
- onAction: ma(G)
47543
- }), G.ui.registry.addMenuItem("unlink", {
47541
+ onSetup: Hl(j),
47542
+ onAction: ma(j)
47543
+ }), j.ui.registry.addMenuItem("unlink", {
47544
47544
  icon: "unlink",
47545
47545
  text: "Remove link",
47546
- onAction: () => Hc(G),
47547
- onSetup: wl(G)
47546
+ onAction: () => Hc(j),
47547
+ onSetup: wl(j)
47548
47548
  });
47549
- }, hi = (G) => {
47549
+ }, hi = (j) => {
47550
47550
  const me = "link unlink openlink", Te = "link";
47551
- G.ui.registry.addContextMenu("link", {
47552
- update: (Ie) => G.dom.isEditable(Ie) ? Qo(G.dom.getParents(Ie, "a")) ? me : Te : ""
47551
+ j.ui.registry.addContextMenu("link", {
47552
+ update: (Ie) => j.dom.isEditable(Ie) ? Qo(j.dom.getParents(Ie, "a")) ? me : Te : ""
47553
47553
  });
47554
- }, pu = (G) => {
47554
+ }, pu = (j) => {
47555
47555
  const me = (ft) => {
47556
47556
  ft.selection.collapse(!1);
47557
47557
  }, Te = (ft) => {
47558
- const fn = G.selection.getNode();
47559
- return ft.setEnabled(ys(G, fn)), Oo;
47558
+ const fn = j.selection.getNode();
47559
+ return ft.setEnabled(ys(j, fn)), Oo;
47560
47560
  }, Ie = (ft) => {
47561
- const fn = Jn(G), Wo = yt(G);
47561
+ const fn = Jn(j), Wo = yt(j);
47562
47562
  if (fn.isNone() && Wo) {
47563
- const rs = wr(G.selection, fn);
47563
+ const rs = wr(j.selection, fn);
47564
47564
  return Dt(rs.length === 0, ft);
47565
47565
  } else
47566
47566
  return dn.none();
47567
47567
  };
47568
- G.ui.registry.addContextForm("quicklink", {
47568
+ j.ui.registry.addContextForm("quicklink", {
47569
47569
  launch: {
47570
47570
  type: "contextformtogglebutton",
47571
47571
  icon: "link",
47572
47572
  tooltip: "Link",
47573
- onSetup: ta(G)
47573
+ onSetup: ta(j)
47574
47574
  },
47575
47575
  label: "Link",
47576
- predicate: (ft) => to(G) && ys(G, ft),
47577
- initValue: () => Jn(G).fold(Rt(""), ms),
47576
+ predicate: (ft) => to(j) && ys(j, ft),
47577
+ initValue: () => Jn(j).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 = G.selection.getNode();
47586
- return ft.setActive(ys(G, fn)), ta(G)(ft);
47585
+ const fn = j.selection.getNode();
47586
+ return ft.setActive(ys(j, fn)), ta(j)(ft);
47587
47587
  },
47588
47588
  onAction: (ft) => {
47589
47589
  const fn = ft.getValue(), Wo = Ie(fn);
47590
- Bl(G, {
47590
+ Bl(j, {
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(G), ft.hide();
47600
+ }), me(j), 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(G), ft.hide();
47609
+ Hc(j), 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(G)(), ft.hide();
47618
+ rr(j)(), ft.hide();
47619
47619
  }
47620
47620
  }
47621
47621
  ]
47622
47622
  });
47623
47623
  };
47624
47624
  var ju = () => {
47625
- O.add("link", (G) => {
47626
- Xn(G), $a(G), Sc(G), hi(G), pu(G), yl(G), zc(G), Ji(G);
47625
+ O.add("link", (j) => {
47626
+ Xn(j), $a(j), Sc(j), hi(j), pu(j), yl(j), zc(j), Ji(j);
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, 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) => {
47639
+ }, le = (I) => (Y) => _e(Y) === I, G = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => pt(I) && te(I, Y, (re, Fe) => ie(re) === Fe), Pe = le("string"), pt = le("object"), qe = (I) => Q(I, Object), bn = le("array"), mn = Ae(null), No = G("boolean"), us = (I) => I == null, Oo = (I) => !us(I), Rt = G("function"), pr = G("number"), dn = (I, Y) => {
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
- }, G = (I, Y, re) => (Fe) => {
48381
+ }, j = (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: G(I, Fe, Y),
48441
+ onSubmit: j(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, 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 = () => {
48508
+ }, _e = (x) => (T) => te(T) === x, le = (x) => (T) => typeof T === x, G = (x) => (T) => x === T, Ae = _e("string"), Q = _e("array"), Pe = le("boolean"), pt = G(void 0), qe = (x) => x == null, bn = (x) => !qe(x), mn = le("function"), No = le("number"), us = () => {
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
- }, G = (x, T, V) => {
48831
+ }, j = (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: G,
49230
+ set: j,
49231
49231
  remove: ft
49232
49232
  }),
49233
49233
  attrs: Rt({
@@ -49571,12 +49571,12 @@ Required: ` + m.join(", "));
49571
49571
  }
49572
49572
  };
49573
49573
  } }, S = bl("th"), $ = (x, T) => x && T ? "sectionCells" : x ? "section" : "cells", U = (x) => {
49574
- const T = x.section === "thead", V = Xi(le(x.cells), "th");
49574
+ const T = x.section === "thead", V = Xi(ae(x.cells), "th");
49575
49575
  return x.section === "tfoot" ? { type: "footer" } : T || V ? {
49576
49576
  type: "header",
49577
49577
  subType: $(T, V)
49578
49578
  } : { type: "body" };
49579
- }, le = (x) => {
49579
+ }, ae = (x) => {
49580
49580
  const T = ss(x, (V) => S(V.element));
49581
49581
  return T.length === 0 ? se.some("td") : T.length === x.length ? se.some("th") : se.none();
49582
49582
  }, he = (x) => {
@@ -50698,11 +50698,11 @@ Required: ` + T.join(", "));
50698
50698
  ie(Q, pt.getData().code), pt.close();
50699
50699
  }
50700
50700
  });
50701
- }, ae = (Q) => {
50701
+ }, le = (Q) => {
50702
50702
  Q.addCommand("mceCodeEditor", () => {
50703
50703
  _e(Q);
50704
50704
  });
50705
- }, j = (Q) => {
50705
+ }, G = (Q) => {
50706
50706
  const Pe = () => Q.execCommand("mceCodeEditor");
50707
50707
  Q.ui.registry.addButton("code", {
50708
50708
  icon: "sourcecode",
@@ -50715,13 +50715,13 @@ Required: ` + T.join(", "));
50715
50715
  });
50716
50716
  };
50717
50717
  var Ae = () => {
50718
- O.add("code", (Q) => (ae(Q), j(Q), {}));
50718
+ O.add("code", (Q) => (le(Q), G(Q), {}));
50719
50719
  };
50720
50720
  Ae();
50721
50721
  })();
50722
50722
  (function() {
50723
50723
  var O = tinymce.util.Tools.resolve("tinymce.PluginManager");
50724
- const te = ((Ke) => (Ot) => Ke === Ot)(null), _e = (Ke) => Ke, ae = (Ke, Ot) => {
50724
+ const te = ((Ke) => (Ot) => Ke === Ot)(null), _e = (Ke) => Ke, le = (Ke, Ot) => {
50725
50725
  const Ye = Ke.length, ke = new Array(Ye);
50726
50726
  for (let wn = 0; wn < Ye; wn++) {
50727
50727
  const Go = Ke[wn];
@@ -50794,7 +50794,7 @@ Required: ` + T.join(", "));
50794
50794
  };
50795
50795
  }, Rt = (Ke) => {
50796
50796
  const Ot = Oo(us);
50797
- return ae(Ke, Ot);
50797
+ return le(Ke, Ot);
50798
50798
  }, pr = (Ke, Ot) => {
50799
50799
  const Ye = Ke[Ot], ke = Ke[Ot + 1];
50800
50800
  if (Ot < 0 || Ot > Ke.length - 1 && Ot !== 0 || Ye === Q.ALETTER && ke === Q.ALETTER)
@@ -50843,7 +50843,7 @@ Required: ` + T.join(", "));
50843
50843
  ...ds(),
50844
50844
  ...Ye
50845
50845
  };
50846
- const ke = ae(Ke, Ot), wn = Rt(ke);
50846
+ const ke = le(Ke, Ot), wn = Rt(ke);
50847
50847
  return Nn(Ke, ke, wn, Ye);
50848
50848
  }, ge = (Ke, Ot, Ye) => In(Ke, Ot, Ye).words, os = (Ke) => Ke.replace(/\uFEFF/g, "");
50849
50849
  var Bt = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
@@ -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, j = Eo(null);
50986
+ const _e = O, le = te, G = Eo(null);
50987
50987
  let Ae = null;
50988
50988
  _g(async () => {
50989
50989
  await Rj(), Ae && (Ae.destroy(), Ae = null), PQ.init({
@@ -51002,7 +51002,7 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
51002
51002
  // disable import of css
51003
51003
  setup(pt) {
51004
51004
  Ae = pt, pt.on("Change", () => {
51005
- ae("update:modelValue", pt.getContent());
51005
+ le("update:modelValue", pt.getContent());
51006
51006
  }), pt.on("init", () => {
51007
51007
  pt.setContent(_e.modelValue);
51008
51008
  });
@@ -51018,10 +51018,10 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
51018
51018
  return _e.modelValue;
51019
51019
  },
51020
51020
  set(pt) {
51021
- ae("update:modelValue", pt);
51021
+ le("update:modelValue", pt);
51022
51022
  }
51023
51023
  });
51024
- return ie({ focus: () => j.value.focus() }), (pt, qe) => (pe(), ye(Qn, null, [
51024
+ return ie({ focus: () => G.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: j,
51059
+ ref: G,
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, 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) {
51121
+ for (var O = this.currentPage, ie = this.lastPage, te = this.limit, _e = O - te, le = O + te + 1, G = [], Ae = [], Q, Pe = 1; Pe <= ie; Pe++)
51122
+ (Pe === 1 || Pe === ie || Pe >= _e && Pe < le) && G.push(Pe);
51123
+ return G.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, j) {
51247
+ function nee(O, ie, te, _e, le, G) {
51248
51248
  const Ae = y1("RenderlessPagination");
51249
51249
  return pe(), vm(Ae, {
51250
51250
  data: te.data,
51251
51251
  limit: te.limit,
51252
- onPaginationChangePage: j.onPaginationChangePage
51252
+ onPaginationChangePage: G.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, j) {
51486
+ function Aee(O, ie, te, _e, le, G) {
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, [
@@ -51492,9 +51492,9 @@ function Aee(O, ie, te, _e, ae, j) {
51492
51492
  P("div", cee, [
51493
51493
  ub(Ae, {
51494
51494
  has_cancel: !1,
51495
- options: ae.pageOptions,
51496
- modelValue: ae.perPage,
51497
- "onUpdate:modelValue": ie[0] || (ie[0] = (qe) => ae.perPage = qe),
51495
+ options: le.pageOptions,
51496
+ modelValue: le.perPage,
51497
+ "onUpdate:modelValue": ie[0] || (ie[0] = (qe) => le.perPage = qe),
51498
51498
  is_required: !1,
51499
51499
  field_name: "perPage",
51500
51500
  label_name: "",
@@ -51510,23 +51510,23 @@ function Aee(O, ie, te, _e, ae, j) {
51510
51510
  mee,
51511
51511
  Qa(P("input", {
51512
51512
  type: "text",
51513
- "onUpdate:modelValue": ie[1] || (ie[1] = (qe) => ae.search = qe),
51514
- onInput: ie[2] || (ie[2] = (qe) => j.handleSearch()),
51513
+ "onUpdate:modelValue": ie[1] || (ie[1] = (qe) => le.search = qe),
51514
+ onInput: ie[2] || (ie[2] = (qe) => G.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), [
51518
- [ym, ae.search]
51518
+ [ym, le.search]
51519
51519
  ])
51520
51520
  ])
51521
51521
  ]),
51522
51522
  P("div", fee, [
51523
- (pe(!0), ye(Qn, null, sr(j.customFilters, (qe, bn) => (pe(), ye(Qn, { key: bn }, [
51523
+ (pe(!0), ye(Qn, null, sr(G.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,
51527
51527
  options: qe.options,
51528
- modelValue: ae.dynamicFilters[qe.field_name],
51529
- "onUpdate:modelValue": (mn) => ae.dynamicFilters[qe.field_name] = mn,
51528
+ modelValue: le.dynamicFilters[qe.field_name],
51529
+ "onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
51530
51530
  is_required: !1,
51531
51531
  field_name: qe.field_name,
51532
51532
  label_name: qe.field_label,
@@ -51538,8 +51538,8 @@ function Aee(O, ie, te, _e, ae, j) {
51538
51538
  type: "text",
51539
51539
  is_required: !1,
51540
51540
  show: !1,
51541
- modelValue: ae.dynamicFilters[qe.field_name],
51542
- "onUpdate:modelValue": (mn) => ae.dynamicFilters[qe.field_name] = mn,
51541
+ modelValue: le.dynamicFilters[qe.field_name],
51542
+ "onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
51543
51543
  field_name: qe.field_name,
51544
51544
  label_name: qe.field_label
51545
51545
  }, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0),
@@ -51548,8 +51548,8 @@ function Aee(O, ie, te, _e, ae, j) {
51548
51548
  type: "date",
51549
51549
  is_required: !1,
51550
51550
  show: !1,
51551
- modelValue: ae.dynamicFilters[qe.field_name],
51552
- "onUpdate:modelValue": (mn) => ae.dynamicFilters[qe.field_name] = mn,
51551
+ modelValue: le.dynamicFilters[qe.field_name],
51552
+ "onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
51553
51553
  field_name: qe.field_name,
51554
51554
  label_name: qe.field_label
51555
51555
  }, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0)
@@ -51560,8 +51560,8 @@ function Aee(O, ie, te, _e, ae, j) {
51560
51560
  key: 0,
51561
51561
  has_cancel: !0,
51562
51562
  options: qe.hasOwnFilter.options,
51563
- modelValue: ae.dynamicFilters[qe.field_name],
51564
- "onUpdate:modelValue": (mn) => ae.dynamicFilters[qe.field_name] = mn,
51563
+ modelValue: le.dynamicFilters[qe.field_name],
51564
+ "onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
51565
51565
  is_required: !1,
51566
51566
  field_name: qe.field_name,
51567
51567
  label_name: qe.field_label,
@@ -51573,8 +51573,8 @@ function Aee(O, ie, te, _e, ae, j) {
51573
51573
  type: "text",
51574
51574
  is_required: !1,
51575
51575
  show: !1,
51576
- modelValue: ae.dynamicFilters[qe.field_name],
51577
- "onUpdate:modelValue": (mn) => ae.dynamicFilters[qe.field_name] = mn,
51576
+ modelValue: le.dynamicFilters[qe.field_name],
51577
+ "onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
51578
51578
  field_name: qe.field_name,
51579
51579
  label_name: qe.field_label
51580
51580
  }, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0),
@@ -51583,8 +51583,8 @@ function Aee(O, ie, te, _e, ae, j) {
51583
51583
  type: "date",
51584
51584
  is_required: !1,
51585
51585
  show: !1,
51586
- modelValue: ae.dynamicFilters[qe.field_name],
51587
- "onUpdate:modelValue": (mn) => ae.dynamicFilters[qe.field_name] = mn,
51586
+ modelValue: le.dynamicFilters[qe.field_name],
51587
+ "onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
51588
51588
  field_name: qe.field_name,
51589
51589
  label_name: qe.field_label
51590
51590
  }, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0)
@@ -51597,23 +51597,23 @@ function Aee(O, ie, te, _e, ae, j) {
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) => j.updateSortColumn(qe.field_name, qe.sortable),
51600
+ onClick: (mn) => G.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),
51604
- ae.sortField === qe.field_name ? (pe(), ye("span", vee, [
51605
- ae.sortOrder === "asc" ? (pe(), ye("i", yee)) : (pe(), ye("i", wee))
51604
+ le.sortField === qe.field_name ? (pe(), ye("span", vee, [
51605
+ le.sortOrder === "asc" ? (pe(), ye("i", yee)) : (pe(), ye("i", wee))
51606
51606
  ])) : ut("", !0)
51607
51607
  ], 8, bee))), 128))
51608
51608
  ])
51609
51609
  ]),
51610
51610
  P("tbody", null, [
51611
- ae.isLoading ? (pe(), ye("tr", xee, [
51611
+ le.isLoading ? (pe(), ye("tr", xee, [
51612
51612
  P("td", {
51613
51613
  colspan: te.columns.length
51614
51614
  }, _ee, 8, Cee)
51615
51615
  ])) : ut("", !0),
51616
- ae.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(ae.itemLists.data, (qe, bn) => (pe(), ye("tr", {
51616
+ le.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(le.itemLists.data, (qe, bn) => (pe(), ye("tr", {
51617
51617
  key: bn,
51618
51618
  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"
51619
51619
  }, [
@@ -51626,15 +51626,15 @@ function Aee(O, ie, te, _e, ae, j) {
51626
51626
  }])
51627
51627
  }, [
51628
51628
  P("div", Tee, [
51629
- mn.tdComp ? (pe(), vm(o5(j.forDynCompIs(mn.tdComp)), {
51629
+ mn.tdComp ? (pe(), vm(o5(G.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) => j.GetItemLists()),
51636
- onEditAction: (us) => j.editAction(qe),
51637
- onGeneralAction: (us) => j.generalAction(qe)
51635
+ onDeleteAction: ie[3] || (ie[3] = (us) => G.GetItemLists()),
51636
+ onEditAction: (us) => G.editAction(qe),
51637
+ onGeneralAction: (us) => G.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))
@@ -51647,11 +51647,11 @@ function Aee(O, ie, te, _e, ae, j) {
51647
51647
  P("div", Eee, [
51648
51648
  ub(pt, {
51649
51649
  class: "mt-3 mb-0",
51650
- data: ae.itemLists,
51651
- limit: ae.limit,
51652
- size: ae.size,
51653
- align: ae.align,
51654
- onPaginationChangePage: j.GetItemLists
51650
+ data: le.itemLists,
51651
+ limit: le.limit,
51652
+ size: le.size,
51653
+ align: le.align,
51654
+ onPaginationChangePage: G.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, j) {
51873
+ function yte(O, ie, te, _e, le, G) {
51874
51874
  const Ae = y1("dropdown");
51875
51875
  return pe(), ye("div", Oee, [
51876
51876
  P("div", Ree, [
@@ -51879,9 +51879,9 @@ function yte(O, ie, te, _e, ae, j) {
51879
51879
  P("div", Pee, [
51880
51880
  ub(Ae, {
51881
51881
  has_cancel: !1,
51882
- options: ae.showNoOfEntries,
51883
- modelValue: ae.itemsPerPage,
51884
- "onUpdate:modelValue": ie[0] || (ie[0] = (Q) => ae.itemsPerPage = Q),
51882
+ options: le.showNoOfEntries,
51883
+ modelValue: le.itemsPerPage,
51884
+ "onUpdate:modelValue": ie[0] || (ie[0] = (Q) => le.itemsPerPage = Q),
51885
51885
  is_required: !1,
51886
51886
  field_name: "NoOfEntries",
51887
51887
  label_name: "",
@@ -51897,11 +51897,11 @@ function yte(O, ie, te, _e, ae, j) {
51897
51897
  Lee,
51898
51898
  Qa(P("input", {
51899
51899
  type: "text",
51900
- "onUpdate:modelValue": ie[1] || (ie[1] = (Q) => ae.search = Q),
51900
+ "onUpdate:modelValue": ie[1] || (ie[1] = (Q) => le.search = Q),
51901
51901
  class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
51902
51902
  placeholder: "Search ..."
51903
51903
  }, null, 512), [
51904
- [ym, ae.search]
51904
+ [ym, le.search]
51905
51905
  ])
51906
51906
  ])
51907
51907
  ]),
@@ -51911,23 +51911,23 @@ function yte(O, ie, te, _e, ae, j) {
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) => j.sort(Q.field_name, Q.sortable),
51914
+ onClick: (pt) => G.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),
51918
- ae.sortKey === Q.field_name ? (pe(), ye("span", Uee, [
51919
- ae.sortOrder === 1 ? (pe(), ye("i", Wee)) : (pe(), ye("i", Zee))
51918
+ le.sortKey === Q.field_name ? (pe(), ye("span", Uee, [
51919
+ le.sortOrder === 1 ? (pe(), ye("i", Wee)) : (pe(), ye("i", Zee))
51920
51920
  ])) : ut("", !0)
51921
51921
  ], 8, zee))), 128))
51922
51922
  ])
51923
51923
  ]),
51924
51924
  P("tbody", null, [
51925
- ae.isLoading ? (pe(), ye("tr", jee, [
51925
+ le.isLoading ? (pe(), ye("tr", jee, [
51926
51926
  P("td", {
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(j.paginatedData, (Q, Pe) => (pe(), ye("tr", {
51930
+ le.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(G.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, j) {
51940
51940
  }])
51941
51941
  }, [
51942
51942
  P("div", Xee, [
51943
- pt.tdComp ? (pe(), vm(o5(j.forDynCompIs(pt.tdComp)), {
51943
+ pt.tdComp ? (pe(), vm(o5(G.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) => j.GetItemLists()),
51950
- onEditAction: (bn) => j.editAction(Q),
51951
- onGeneralAction: (bn) => j.generalAction(Q)
51949
+ onDeleteAction: ie[2] || (ie[2] = (bn) => G.GetItemLists()),
51950
+ onEditAction: (bn) => G.editAction(Q),
51951
+ onGeneralAction: (bn) => G.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, j) {
51958
51958
  ])
51959
51959
  ])
51960
51960
  ]),
51961
- j.paginatedData.length > 0 ? (pe(), ye("div", Jee, [
51961
+ G.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) => j.previousPage && j.previousPage(...Q), ["prevent"])),
51966
- disabled: ae.currentPage === 1,
51965
+ onClick: ie[3] || (ie[3] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
51966
+ disabled: le.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) => j.nextPage && j.nextPage(...Q), ["prevent"])),
51972
- disabled: ae.currentPage === j.totalPages,
51971
+ onClick: ie[4] || (ie[4] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
51972
+ disabled: le.currentPage === G.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, j) {
51977
51977
  P("div", null, [
51978
51978
  P("p", ote, [
51979
51979
  ko(" Showing "),
51980
- P("span", ste, gt(j.firstItemIndex), 1),
51980
+ P("span", ste, gt(G.firstItemIndex), 1),
51981
51981
  ko(" to "),
51982
- P("span", rte, gt(j.lastItemIndex), 1),
51982
+ P("span", rte, gt(G.lastItemIndex), 1),
51983
51983
  ko(" of "),
51984
- P("span", ate, gt(j.filteredData.length), 1),
51984
+ P("span", ate, gt(G.filteredData.length), 1),
51985
51985
  ko(" entries ")
51986
51986
  ])
51987
51987
  ]),
@@ -51991,25 +51991,25 @@ function yte(O, ie, te, _e, ae, j) {
51991
51991
  P("li", null, [
51992
51992
  P("a", {
51993
51993
  href: "#",
51994
- onClick: ie[5] || (ie[5] = oc((...Q) => j.previousPage && j.previousPage(...Q), ["prevent"])),
51995
- disabled: ae.currentPage === 1,
51994
+ onClick: ie[5] || (ie[5] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
51995
+ disabled: le.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(j.displayedPageNumbers, (Q) => (pe(), ye(Qn, { key: Q }, [
51999
+ (pe(!0), ye(Qn, null, sr(G.displayedPageNumbers, (Q) => (pe(), ye(Qn, { key: Q }, [
52000
52000
  P("li", null, [
52001
- ae.currentPage !== Q ? (pe(), ye("a", {
52001
+ le.currentPage !== Q ? (pe(), ye("a", {
52002
52002
  key: 0,
52003
52003
  href: "#",
52004
- onClick: oc((Pe) => j.goToPage(Q), ["prevent"]),
52004
+ onClick: oc((Pe) => G.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
  ]),
52008
52008
  P("li", null, [
52009
- ae.currentPage === Q ? (pe(), ye("a", {
52009
+ le.currentPage === Q ? (pe(), ye("a", {
52010
52010
  key: 0,
52011
52011
  href: "#",
52012
- onClick: oc((Pe) => j.goToPage(Q), ["prevent"]),
52012
+ onClick: oc((Pe) => G.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, j) {
52018
52018
  P("li", null, [
52019
52019
  P("a", {
52020
52020
  href: "#",
52021
- onClick: ie[6] || (ie[6] = oc((...Q) => j.nextPage && j.nextPage(...Q), ["prevent"])),
52022
- disabled: ae.currentPage === j.totalPages,
52021
+ onClick: ie[6] || (ie[6] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
52022
+ disabled: le.currentPage === G.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
  ])
@@ -52076,8 +52076,8 @@ const tle = /* @__PURE__ */ qr(Dee, [["render", yte]]), wte = {
52076
52076
  return this.itemLists.data ? this.itemLists.data.reduce((ie, te) => {
52077
52077
  const _e = te[O];
52078
52078
  ie[_e] || (ie[_e] = []);
52079
- const ae = { ...te };
52080
- return delete ae[O], ie[_e].push(ae), ie;
52079
+ const le = { ...te };
52080
+ return delete le[O], ie[_e].push(le), ie;
52081
52081
  }, {}) : [];
52082
52082
  },
52083
52083
  editAction(O) {
@@ -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, j) {
52194
+ function jte(O, ie, te, _e, le, G) {
52195
52195
  const Ae = y1("dropdown"), Q = y1("TailwindPagination");
52196
52196
  return pe(), ye("div", xte, [
52197
52197
  P("div", Cte, [
@@ -52200,9 +52200,9 @@ function jte(O, ie, te, _e, ae, j) {
52200
52200
  P("div", kte, [
52201
52201
  ub(Ae, {
52202
52202
  has_cancel: !1,
52203
- options: ae.pageOptions,
52204
- modelValue: ae.perPage,
52205
- "onUpdate:modelValue": ie[0] || (ie[0] = (Pe) => ae.perPage = Pe),
52203
+ options: le.pageOptions,
52204
+ modelValue: le.perPage,
52205
+ "onUpdate:modelValue": ie[0] || (ie[0] = (Pe) => le.perPage = Pe),
52206
52206
  is_required: !1,
52207
52207
  field_name: "perPage",
52208
52208
  label_name: "",
@@ -52218,12 +52218,12 @@ function jte(O, ie, te, _e, ae, j) {
52218
52218
  Dte,
52219
52219
  Qa(P("input", {
52220
52220
  type: "text",
52221
- "onUpdate:modelValue": ie[1] || (ie[1] = (Pe) => ae.search = Pe),
52222
- onInput: ie[2] || (ie[2] = (Pe) => j.handleSearch()),
52221
+ "onUpdate:modelValue": ie[1] || (ie[1] = (Pe) => le.search = Pe),
52222
+ onInput: ie[2] || (ie[2] = (Pe) => G.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), [
52226
- [ym, ae.search]
52226
+ [ym, le.search]
52227
52227
  ])
52228
52228
  ])
52229
52229
  ]),
@@ -52233,23 +52233,23 @@ function jte(O, ie, te, _e, ae, j) {
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) => j.updateSortColumn(Pe.field_name, Pe.sortable),
52236
+ onClick: (qe) => G.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),
52240
- ae.sortField === Pe.field_name ? (pe(), ye("span", Pte, [
52241
- ae.sortOrder === "asc" ? (pe(), ye("i", Nte)) : (pe(), ye("i", Bte))
52240
+ le.sortField === Pe.field_name ? (pe(), ye("span", Pte, [
52241
+ le.sortOrder === "asc" ? (pe(), ye("i", Nte)) : (pe(), ye("i", Bte))
52242
52242
  ])) : ut("", !0)
52243
52243
  ], 8, Mte))), 128))
52244
52244
  ])
52245
52245
  ]),
52246
52246
  P("tbody", null, [
52247
- ae.isLoading ? (pe(), ye("tr", Ite, [
52247
+ le.isLoading ? (pe(), ye("tr", Ite, [
52248
52248
  P("td", {
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(j.groupedItems, (Pe, pt) => (pe(), ye(Qn, null, [
52252
+ le.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(G.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, j) {
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(j.forDynCompIs(mn.tdComp)), {
52269
+ mn.tdComp ? (pe(), vm(o5(G.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) => j.GetItemLists()),
52276
- onEditAction: (us) => j.editAction(qe)
52275
+ onDeleteAction: ie[3] || (ie[3] = (us) => G.GetItemLists()),
52276
+ onEditAction: (us) => G.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))
@@ -52287,11 +52287,11 @@ function jte(O, ie, te, _e, ae, j) {
52287
52287
  P("div", Zte, [
52288
52288
  ub(Q, {
52289
52289
  class: "mt-3 mb-0",
52290
- data: ae.itemLists,
52291
- limit: ae.limit,
52292
- size: ae.size,
52293
- align: ae.align,
52294
- onPaginationChangePage: j.GetItemLists
52290
+ data: le.itemLists,
52291
+ limit: le.limit,
52292
+ size: le.size,
52293
+ align: le.align,
52294
+ onPaginationChangePage: G.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, j) {
52443
+ function Mne(O, ie, te, _e, le, G) {
52444
52444
  const Ae = y1("dropdown");
52445
52445
  return pe(), ye("div", qte, [
52446
52446
  P("div", Kte, [
@@ -52449,9 +52449,9 @@ function Mne(O, ie, te, _e, ae, j) {
52449
52449
  P("div", Jte, [
52450
52450
  ub(Ae, {
52451
52451
  has_cancel: !1,
52452
- options: ae.showNoOfEntries,
52453
- modelValue: ae.itemsPerPage,
52454
- "onUpdate:modelValue": ie[0] || (ie[0] = (Q) => ae.itemsPerPage = Q),
52452
+ options: le.showNoOfEntries,
52453
+ modelValue: le.itemsPerPage,
52454
+ "onUpdate:modelValue": ie[0] || (ie[0] = (Q) => le.itemsPerPage = Q),
52455
52455
  is_required: !1,
52456
52456
  field_name: "NoOfEntries",
52457
52457
  label_name: "",
@@ -52467,11 +52467,11 @@ function Mne(O, ie, te, _e, ae, j) {
52467
52467
  nne,
52468
52468
  Qa(P("input", {
52469
52469
  type: "text",
52470
- "onUpdate:modelValue": ie[1] || (ie[1] = (Q) => ae.search = Q),
52470
+ "onUpdate:modelValue": ie[1] || (ie[1] = (Q) => le.search = Q),
52471
52471
  class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
52472
52472
  placeholder: "Search ..."
52473
52473
  }, null, 512), [
52474
- [ym, ae.search]
52474
+ [ym, le.search]
52475
52475
  ])
52476
52476
  ])
52477
52477
  ]),
@@ -52481,18 +52481,18 @@ function Mne(O, ie, te, _e, ae, j) {
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) => j.sort(Q), ["prevent"]),
52484
+ onClick: oc((pt) => G.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),
52488
- ae.sortKey === Q ? (pe(), ye("span", lne, [
52489
- ae.sortOrder === 1 ? (pe(), ye("i", cne)) : (pe(), ye("i", ine))
52488
+ le.sortKey === Q ? (pe(), ye("span", lne, [
52489
+ le.sortOrder === 1 ? (pe(), ye("i", cne)) : (pe(), ye("i", ine))
52490
52490
  ])) : ut("", !0)
52491
52491
  ], 8, ane))), 128))
52492
52492
  ])
52493
52493
  ]),
52494
52494
  P("tbody", null, [
52495
- (pe(!0), ye(Qn, null, sr(j.paginatedData, (Q, Pe) => (pe(), ye("tr", {
52495
+ (pe(!0), ye(Qn, null, sr(G.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, j) {
52510
52510
  ])
52511
52511
  ])
52512
52512
  ]),
52513
- j.paginatedData.length > 0 ? (pe(), ye("div", mne, [
52513
+ G.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) => j.previousPage && j.previousPage(...Q), ["prevent"])),
52518
- disabled: ae.currentPage === 1,
52517
+ onClick: ie[2] || (ie[2] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
52518
+ disabled: le.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) => j.nextPage && j.nextPage(...Q), ["prevent"])),
52524
- disabled: ae.currentPage === j.totalPages,
52523
+ onClick: ie[3] || (ie[3] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
52524
+ disabled: le.currentPage === G.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, j) {
52529
52529
  P("div", null, [
52530
52530
  P("p", bne, [
52531
52531
  ko(" Showing "),
52532
- P("span", vne, gt(j.firstItemIndex), 1),
52532
+ P("span", vne, gt(G.firstItemIndex), 1),
52533
52533
  ko(" to "),
52534
- P("span", yne, gt(j.lastItemIndex), 1),
52534
+ P("span", yne, gt(G.lastItemIndex), 1),
52535
52535
  ko(" of "),
52536
- P("span", wne, gt(j.filteredData.length), 1),
52536
+ P("span", wne, gt(G.filteredData.length), 1),
52537
52537
  ko(" entries ")
52538
52538
  ])
52539
52539
  ]),
@@ -52543,25 +52543,25 @@ function Mne(O, ie, te, _e, ae, j) {
52543
52543
  P("li", null, [
52544
52544
  P("a", {
52545
52545
  href: "#",
52546
- onClick: ie[4] || (ie[4] = oc((...Q) => j.previousPage && j.previousPage(...Q), ["prevent"])),
52547
- disabled: ae.currentPage === 1,
52546
+ onClick: ie[4] || (ie[4] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
52547
+ disabled: le.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(j.displayedPageNumbers, (Q) => (pe(), ye(Qn, { key: Q }, [
52551
+ (pe(!0), ye(Qn, null, sr(G.displayedPageNumbers, (Q) => (pe(), ye(Qn, { key: Q }, [
52552
52552
  P("li", null, [
52553
- ae.currentPage !== Q ? (pe(), ye("a", {
52553
+ le.currentPage !== Q ? (pe(), ye("a", {
52554
52554
  key: 0,
52555
52555
  href: "#",
52556
- onClick: oc((Pe) => j.goToPage(Q), ["prevent"]),
52556
+ onClick: oc((Pe) => G.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
  ]),
52560
52560
  P("li", null, [
52561
- ae.currentPage === Q ? (pe(), ye("a", {
52561
+ le.currentPage === Q ? (pe(), ye("a", {
52562
52562
  key: 0,
52563
52563
  href: "#",
52564
- onClick: oc((Pe) => j.goToPage(Q), ["prevent"]),
52564
+ onClick: oc((Pe) => G.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, j) {
52570
52570
  P("li", null, [
52571
52571
  P("a", {
52572
52572
  href: "#",
52573
- onClick: ie[5] || (ie[5] = oc((...Q) => j.nextPage && j.nextPage(...Q), ["prevent"])),
52574
- disabled: ae.currentPage === j.totalPages,
52573
+ onClick: ie[5] || (ie[5] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
52574
+ disabled: le.currentPage === G.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, j] = O.split(" ");
52590
- if (ie === "*" && te === "*" && _e === "*" && ae === "*" && j === "*")
52589
+ const [ie, te, _e, le, G] = O.split(" ");
52590
+ if (ie === "*" && te === "*" && _e === "*" && le === "*" && G === "*")
52591
52591
  return "Runs every minute.";
52592
- if (ie === "0" && te === "0" && _e === "*" && ae === "*" && j !== "*")
52593
- return `Runs at 12:00 AM every ${this.convertDayOfWeek(j)}.`;
52592
+ if (ie === "0" && te === "0" && _e === "*" && le === "*" && G !== "*")
52593
+ return `Runs at 12:00 AM every ${this.convertDayOfWeek(G)}.`;
52594
52594
  const Ae = {
52595
52595
  0: "Sunday",
52596
52596
  1: "Monday",
@@ -52614,22 +52614,22 @@ 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(j, "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(le, "month", 12, Q), mn = this.convertField(G, "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, j] = O.split("/");
52624
- return `every ${j} ${ie}${j > 1 ? "s" : ""} starting at ${ae}`;
52623
+ const [le, G] = O.split("/");
52624
+ return `every ${G} ${ie}${G > 1 ? "s" : ""} starting at ${le}`;
52625
52625
  }
52626
52626
  if (O.includes("-")) {
52627
- const [ae, j] = O.split("-");
52628
- return `${ie}s from ${ae} to ${j}`;
52627
+ const [le, G] = O.split("-");
52628
+ return `${ie}s from ${le} to ${G}`;
52629
52629
  }
52630
52630
  if (O.includes(",")) {
52631
- const ae = O.split(",").map((j) => _e[j] || j);
52632
- return `${ie}s on ${ae.join(", ")}`;
52631
+ const le = O.split(",").map((G) => _e[G] || G);
52632
+ return `${ie}s on ${le.join(", ")}`;
52633
52633
  }
52634
52634
  return _e[O] || `${ie} ${O}`;
52635
52635
  },
@@ -52653,32 +52653,32 @@ 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, j) {
52656
+ function Ine(O, ie, te, _e, le, G) {
52657
52657
  return te.row[te.field] ? (pe(), ye("div", Nne, [
52658
- P("span", Bne, gt(j.convertCronToHuman(te.row[te.field])), 1)
52658
+ P("span", Bne, gt(G.convertCronToHuman(te.row[te.field])), 1)
52659
52659
  ])) : ut("", !0);
52660
52660
  }
52661
52661
  const sle = /* @__PURE__ */ qr(Pne, [["render", Ine]]), Lne = {
52662
52662
  setup() {
52663
52663
  const O = Eo([]);
52664
52664
  return QG("accordionsWrapper", {
52665
- registerAccordion: (ae) => {
52666
- O.value.push(ae);
52665
+ registerAccordion: (le) => {
52666
+ O.value.push(le);
52667
52667
  },
52668
- unregisterAccordion: (ae) => {
52669
- const j = O.value.indexOf(ae);
52670
- j > -1 && O.value.splice(j, 1);
52668
+ unregisterAccordion: (le) => {
52669
+ const G = O.value.indexOf(le);
52670
+ G > -1 && O.value.splice(G, 1);
52671
52671
  },
52672
- toggleAccordion: (ae) => {
52673
- O.value.forEach((j) => {
52674
- j !== ae && j.isOpen && j.isOpen.value !== void 0 && (j.isOpen.value = !1);
52675
- }), ae.isOpen && ae.isOpen.value !== void 0 && (ae.isOpen.value = !ae.isOpen.value);
52672
+ toggleAccordion: (le) => {
52673
+ O.value.forEach((G) => {
52674
+ G !== le && G.isOpen && G.isOpen.value !== void 0 && (G.isOpen.value = !1);
52675
+ }), le.isOpen && le.isOpen.value !== void 0 && (le.isOpen.value = !le.isOpen.value);
52676
52676
  },
52677
52677
  accordions: O
52678
52678
  }), {};
52679
52679
  }
52680
52680
  };
52681
- function Fne(O, ie, te, _e, ae, j) {
52681
+ function Fne(O, ie, te, _e, le, G) {
52682
52682
  return pe(), ye("div", null, [
52683
52683
  yf(O.$slots, "default")
52684
52684
  ]);
@@ -52699,13 +52699,13 @@ 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 }, 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);
52702
+ })(), le = { 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);
52703
52703
  return _g(() => {
52704
- ie.registerAccordion(ae);
52704
+ ie.registerAccordion(le);
52705
52705
  }), Pq(() => {
52706
- ie.unregisterAccordion(ae);
52706
+ ie.unregisterAccordion(le);
52707
52707
  }), { isOpen: O, isFirstAccordion: Ae, isLastAccordion: Q, toggle: () => {
52708
- ie.toggleAccordion(ae);
52708
+ ie.toggleAccordion(le);
52709
52709
  } };
52710
52710
  }
52711
52711
  }, Vne = { class: "flex items-center" }, zne = {
@@ -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, j) {
52742
+ function qne(O, ie, te, _e, le, G) {
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, j) => (pe(), ye("div", Kne, [
52851
+ return (le, G) => (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: j[0] || (j[0] = (Ae) => _e("remove")),
52857
+ onClick: G[0] || (G[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, j) => (pe(), vm(moe, {
52881
- key: ae.key,
52882
- message: ae.message,
52883
- type: ae.type,
52884
- duration: ae.duration,
52885
- onRemove: (Ae) => ie(j)
52880
+ (pe(!0), ye(Qn, null, sr(Bq(s5).state.items, (le, G) => (pe(), vm(moe, {
52881
+ key: le.key,
52882
+ message: le.message,
52883
+ type: le.type,
52884
+ duration: le.duration,
52885
+ onRemove: (Ae) => ie(G)
52886
52886
  }, null, 8, ["message", "type", "duration", "onRemove"]))), 128))
52887
52887
  ]),
52888
52888
  _: 1
@@ -52930,14 +52930,14 @@ 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), j = () => {
52933
+ const te = O, _e = Eo(!1), le = Eo(!1), G = () => {
52934
52934
  _e.value = !1;
52935
52935
  }, Ae = () => {
52936
52936
  _e.value = !0;
52937
52937
  }, Q = () => {
52938
- ae.value = !1;
52938
+ le.value = !1;
52939
52939
  }, Pe = () => {
52940
- ae.value = !0;
52940
+ le.value = !0;
52941
52941
  }, pt = ie, qe = () => {
52942
52942
  axios.delete(`${te.xprops.route}/${te.row.id}`).then(() => {
52943
52943
  Q(), pt("deleteAction"), s5.methods.add({
@@ -52953,7 +52953,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
52953
52953
  const No = nq("click-outside");
52954
52954
  return pe(), ye(Qn, null, [
52955
52955
  ub($j, {
52956
- isOpen: ae.value,
52956
+ isOpen: le.value,
52957
52957
  onConfirmDelete: qe,
52958
52958
  onCancelDelete: Q
52959
52959
  }, null, 8, ["isOpen"]),
@@ -52989,7 +52989,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
52989
52989
  [n5, _e.value]
52990
52990
  ])
52991
52991
  ])), [
52992
- [No, j]
52992
+ [No, G]
52993
52993
  ]) : ut("", !0)
52994
52994
  ], 64);
52995
52995
  };
@@ -53036,14 +53036,14 @@ 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), j = () => {
53039
+ const te = O, _e = Eo(!1), le = Eo(!1), G = () => {
53040
53040
  _e.value = !1;
53041
53041
  }, Ae = () => {
53042
53042
  _e.value = !0;
53043
53043
  }, Q = () => {
53044
- ae.value = !1;
53044
+ le.value = !1;
53045
53045
  }, Pe = () => {
53046
- ae.value = !0;
53046
+ le.value = !0;
53047
53047
  }, pt = ie, qe = () => {
53048
53048
  axios.delete(`${te.xprops.route}/${te.row.id}`).then(() => {
53049
53049
  Q(), pt("deleteAction"), s5.methods.add({
@@ -53059,7 +53059,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
53059
53059
  const No = nq("click-outside");
53060
53060
  return pe(), ye(Qn, null, [
53061
53061
  ub($j, {
53062
- isOpen: ae.value,
53062
+ isOpen: le.value,
53063
53063
  onConfirmDelete: qe,
53064
53064
  onCancelDelete: Q
53065
53065
  }, null, 8, ["isOpen"]),
@@ -53086,7 +53086,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
53086
53086
  [n5, _e.value]
53087
53087
  ])
53088
53088
  ])), [
53089
- [No, j]
53089
+ [No, G]
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, j) {
53147
+ function Boe(O, ie, te, _e, le, G) {
53148
53148
  return pe(), ye("div", null, [
53149
- j.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row, (Ae, Q) => (pe(), ye("div", {
53149
+ G.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, j) {
53159
53159
  $oe,
53160
53160
  ko(" Download ")
53161
53161
  ], 8, Roe)
53162
- ]))), 128)) : j.isString ? (pe(), ye("div", Moe, [
53162
+ ]))), 128)) : G.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, j) {
53224
- return j.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row[te.field], (Ae) => (pe(), ye("div", {
53223
+ function Uoe(O, ie, te, _e, le, G) {
53224
+ return G.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, j) {
53234
53234
  Foe,
53235
53235
  ko(" Download ")
53236
53236
  ], 8, Loe)
53237
- ]))), 128)) : j.isObject ? (pe(), ye("div", Hoe, [
53237
+ ]))), 128)) : G.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, j) {
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, j) {
53252
+ function Goe(O, ie, te, _e, le, G) {
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, j) {
53281
+ function Xoe(O, ie, te, _e, le, G) {
53282
53282
  return this.row[this.entry.key] ? (pe(), ye("div", Koe, [
53283
- j.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row[j.entry.key], (Ae, Q) => (pe(), ye("span", {
53283
+ G.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row[G.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[j.entry.field]), 1))), 128)) : j.isObject ? (pe(), ye("span", Yoe, gt(te.row[j.entry.key][j.entry.field]), 1)) : ut("", !0)
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)
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, j) {
53312
+ function tse(O, ie, te, _e, le, G) {
53313
53313
  return pe(), ye("div", Qoe, [
53314
- j.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(j.getNestedValue(te.row, j.entry.keys), (Ae, Q) => (pe(), ye("span", {
53314
+ G.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(G.getNestedValue(te.row, G.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[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)
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)
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, j) {
53323
+ function lse(O, ie, te, _e, le, G) {
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, j) {
53355
- return j.isArray ? (pe(), ye("div", ise, [
53354
+ function fse(O, ie, te, _e, le, G) {
53355
+ return G.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, j) {
53362
53362
  alt: Ae.file_name
53363
53363
  }, null, 8, use)
53364
53364
  ]))), 128))
53365
- ])) : j.isObject ? (pe(), ye("div", dse, [
53365
+ ])) : G.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, j) {
53387
+ function wse(O, ie, te, _e, le, G) {
53388
53388
  return pe(), ye("div", hse, [
53389
- j.isActive ? (pe(), ye("span", pse, [
53389
+ G.isActive ? (pe(), ye("span", pse, [
53390
53390
  bse,
53391
53391
  ko(" Active ")
53392
- ])) : j.isActive ? ut("", !0) : (pe(), ye("span", vse, [
53392
+ ])) : G.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, j) {
53427
+ function Mse(O, ie, te, _e, le, G) {
53428
53428
  return pe(), ye("div", Cse, [
53429
- j.hasLabelColor == "green" ? (pe(), ye("span", Sse, [
53429
+ G.hasLabelColor == "green" ? (pe(), ye("span", Sse, [
53430
53430
  _se,
53431
53431
  ko(" " + gt(this.row[this.field]), 1)
53432
53432
  ])) : ut("", !0),
53433
- j.hasLabelColor == "red" ? (pe(), ye("span", kse, [
53433
+ G.hasLabelColor == "red" ? (pe(), ye("span", kse, [
53434
53434
  Tse,
53435
53435
  ko(" " + gt(this.row[this.field]), 1)
53436
53436
  ])) : ut("", !0),
53437
- j.hasLabelColor == "yellow" ? (pe(), ye("span", Ese, [
53437
+ G.hasLabelColor == "yellow" ? (pe(), ye("span", Ese, [
53438
53438
  Ase,
53439
53439
  ko(" " + gt(this.row[this.field]), 1)
53440
53440
  ])) : ut("", !0),
53441
- j.hasLabelColor == "default" ? (pe(), ye("span", Dse, [
53441
+ G.hasLabelColor == "default" ? (pe(), ye("span", Dse, [
53442
53442
  Ose,
53443
53443
  ko(" " + gt(this.row[this.field]), 1)
53444
53444
  ])) : ut("", !0),
53445
- j.hasLabelColor == "animate" ? (pe(), ye("span", Rse, [
53445
+ G.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, j) {
53473
+ function Bse(O, ie, te, _e, le, G) {
53474
53474
  return pe(), ye("div", Nse, [
53475
- j.hasLabelColor == "Default" ? (pe(), ye("span", {
53475
+ G.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", j.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", G.badgeType])
53478
53478
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53479
- j.hasLabelColor == "Dark" ? (pe(), ye("span", {
53479
+ G.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", j.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", G.badgeType])
53482
53482
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53483
- j.hasLabelColor == "Red" ? (pe(), ye("span", {
53483
+ G.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", j.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", G.badgeType])
53486
53486
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53487
- j.hasLabelColor == "Green" ? (pe(), ye("span", {
53487
+ G.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", j.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", G.badgeType])
53490
53490
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53491
- j.hasLabelColor == "Yellow" ? (pe(), ye("span", {
53491
+ G.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", j.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", G.badgeType])
53494
53494
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53495
- j.hasLabelColor == "Indigo" ? (pe(), ye("span", {
53495
+ G.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", j.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", G.badgeType])
53498
53498
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53499
- j.hasLabelColor == "Purple" ? (pe(), ye("span", {
53499
+ G.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", j.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", G.badgeType])
53502
53502
  }, gt(this.row[this.field]), 3)) : ut("", !0),
53503
- j.hasLabelColor == "Pink" ? (pe(), ye("span", {
53503
+ G.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", j.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", G.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, j) {
53562
+ function Kse(O, ie, te, _e, le, G) {
53563
53563
  return pe(), ye("div", Lse, [
53564
- j.hasLabelColor == "green" ? (pe(), ye("span", Fse, [
53564
+ G.hasLabelColor == "green" ? (pe(), ye("span", Fse, [
53565
53565
  Hse,
53566
- ko(" " + gt(j.getLabel), 1)
53566
+ ko(" " + gt(G.getLabel), 1)
53567
53567
  ])) : ut("", !0),
53568
- j.hasLabelColor == "red" ? (pe(), ye("span", Vse, [
53568
+ G.hasLabelColor == "red" ? (pe(), ye("span", Vse, [
53569
53569
  zse,
53570
- ko(" " + gt(j.getLabel), 1)
53570
+ ko(" " + gt(G.getLabel), 1)
53571
53571
  ])) : ut("", !0),
53572
- j.hasLabelColor == "yellow" ? (pe(), ye("span", Use, [
53572
+ G.hasLabelColor == "yellow" ? (pe(), ye("span", Use, [
53573
53573
  Wse,
53574
- ko(" " + gt(j.getLabel), 1)
53574
+ ko(" " + gt(G.getLabel), 1)
53575
53575
  ])) : ut("", !0),
53576
- j.hasLabelColor == "default" ? (pe(), ye("span", Zse, [
53576
+ G.hasLabelColor == "default" ? (pe(), ye("span", Zse, [
53577
53577
  jse,
53578
- ko(" " + gt(j.getLabel), 1)
53578
+ ko(" " + gt(G.getLabel), 1)
53579
53579
  ])) : ut("", !0),
53580
- j.hasLabelColor == "animate" ? (pe(), ye("span", Gse, [
53580
+ G.hasLabelColor == "animate" ? (pe(), ye("span", Gse, [
53581
53581
  qse,
53582
- ko(" " + gt(j.getLabel), 1)
53582
+ ko(" " + gt(G.getLabel), 1)
53583
53583
  ])) : ut("", !0)
53584
53584
  ]);
53585
53585
  }
@@ -53590,14 +53590,14 @@ const wle = /* @__PURE__ */ qr(Ise, [["render", Kse]]), Yse = {
53590
53590
  if (!this.row[this.field])
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
- let ae = O.getHours();
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}`;
53593
+ let le = O.getHours();
53594
+ const G = O.getMinutes(), Ae = O.getSeconds(), Q = le >= 12 ? "pm" : "am";
53595
+ return le = le % 12, le = le || 12, `${te} ${_e}, ${ie}, ${le}:${G}:${Ae} ${Q}`;
53596
53596
  }
53597
53597
  }
53598
53598
  }, Xse = { class: "w-full" };
53599
- function Jse(O, ie, te, _e, ae, j) {
53600
- return pe(), ye("div", Xse, gt(j.formattedDate), 1);
53599
+ function Jse(O, ie, te, _e, le, G) {
53600
+ return pe(), ye("div", Xse, gt(G.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, j) {
53614
- return pe(), ye("div", ere, gt(j.formattedDate), 1);
53613
+ function tre(O, ie, te, _e, le, G) {
53614
+ return pe(), ye("div", ere, gt(G.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, j) {
53631
+ function ure(O, ie, te, _e, le, G) {
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, j) {
53653
+ function gre(O, ie, te, _e, le, G) {
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, j) {
53681
+ function Ere(O, ie, te, _e, le, G) {
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, j) {
53696
53696
  ]),
53697
53697
  P("div", Tre, [
53698
53698
  P("button", {
53699
- onClick: ie[0] || (ie[0] = (...Ae) => j.confirmAction && j.confirmAction(...Ae)),
53699
+ onClick: ie[0] || (ie[0] = (...Ae) => G.confirmAction && G.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) => j.cancelAction && j.cancelAction(...Ae)),
53704
+ onClick: ie[1] || (ie[1] = (...Ae) => G.cancelAction && G.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(""), 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) => {
53733
+ const te = Eo(""), _e = Eo(""), le = Eo(""), G = Eo("Cancel"), Ae = Eo(!1), Q = Eo(void 0), Pe = Eo(void 0), pt = (mn = {}) => (te.value = mn.title, _e.value = mn.message, le.value = mn.okButton, mn.cancelButton && (G.value = mn.cancelButton), Ae.value = !0, new Promise((No, us) => {
53734
53734
  Q.value = No, Pe.value = us;
53735
53735
  })), qe = () => {
53736
53736
  Ae.value = !1, Q.value(!0);
@@ -53759,12 +53759,12 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
53759
53759
  onClick: qe,
53760
53760
  type: "button",
53761
53761
  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"
53762
- }, gt(ae.value), 1),
53762
+ }, gt(le.value), 1),
53763
53763
  P("button", {
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(j.value), 1)
53767
+ }, gt(G.value), 1)
53768
53768
  ])
53769
53769
  ])
53770
53770
  ])
@@ -53821,26 +53821,26 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
53821
53821
  }
53822
53822
  },
53823
53823
  setup(O) {
53824
- const ie = O, te = Eo(!1), _e = (j) => {
53825
- navigator.clipboard.writeText(j).then(function() {
53824
+ const ie = O, te = Eo(!1), _e = (G) => {
53825
+ navigator.clipboard.writeText(G).then(function() {
53826
53826
  te.value = !0, setTimeout(() => {
53827
53827
  te.value = !1;
53828
53828
  }, 2e3);
53829
53829
  }).catch(function(Ae) {
53830
53830
  console.error("Error copying to clipboard: ", Ae);
53831
53831
  });
53832
- }, ae = vc(() => ie.code);
53833
- return (j, Ae) => (pe(), ye("div", Hre, [
53832
+ }, le = vc(() => ie.code);
53833
+ return (G, Ae) => (pe(), ye("div", Hre, [
53834
53834
  P("div", Vre, [
53835
53835
  P("p", zre, gt(O.label_name), 1)
53836
53836
  ]),
53837
53837
  P("div", Ure, [
53838
53838
  P("div", Wre, [
53839
- P("code", Zre, gt(ae.value), 1)
53839
+ P("code", Zre, gt(le.value), 1)
53840
53840
  ]),
53841
53841
  P("div", jre, [
53842
53842
  P("button", {
53843
- onClick: Ae[0] || (Ae[0] = (Q) => _e(ae.value)),
53843
+ onClick: Ae[0] || (Ae[0] = (Q) => _e(le.value)),
53844
53844
  class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
53845
53845
  }, [
53846
53846
  te.value ? ut("", !0) : (pe(), ye("span", Gre, Yre)),
@@ -53901,16 +53901,16 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
53901
53901
  }
53902
53902
  },
53903
53903
  setup(O) {
53904
- const ie = O, te = Eo(!1), _e = (j) => {
53905
- navigator.clipboard.writeText(j).then(function() {
53904
+ const ie = O, te = Eo(!1), _e = (G) => {
53905
+ navigator.clipboard.writeText(G).then(function() {
53906
53906
  te.value = !0, setTimeout(() => {
53907
53907
  te.value = !1;
53908
53908
  }, 2e3);
53909
53909
  }).catch(function(Ae) {
53910
53910
  console.error("Error copying to clipboard: ", Ae);
53911
53911
  });
53912
- }, ae = vc(() => ie.code);
53913
- return (j, Ae) => (pe(), ye("div", nae, [
53912
+ }, le = vc(() => ie.code);
53913
+ return (G, Ae) => (pe(), ye("div", nae, [
53914
53914
  P("div", oae, [
53915
53915
  P("label", sae, gt(O.label_name), 1)
53916
53916
  ]),
@@ -53921,14 +53921,14 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
53921
53921
  type: "text",
53922
53922
  "aria-describedby": "helper-text-explanation",
53923
53923
  class: "bg-gray-50 border border-e-0 border-gray-300 text-gray-500 dark:text-gray-400 text-sm border-s-0 focus:ring-blue-500 focus:border-blue-500 block w-full p-2 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500",
53924
- value: ae.value,
53924
+ value: le.value,
53925
53925
  readonly: "",
53926
53926
  disabled: ""
53927
53927
  }, null, 8, cae)
53928
53928
  ]),
53929
53929
  P("button", {
53930
53930
  style: { padding: ".61rem" },
53931
- onClick: Ae[0] || (Ae[0] = (Q) => _e(ae.value)),
53931
+ onClick: Ae[0] || (Ae[0] = (Q) => _e(le.value)),
53932
53932
  class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
53933
53933
  type: "button"
53934
53934
  }, [
@@ -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, j) => (pe(), ye("div", Sae, [
54015
+ return (le, G) => (pe(), ye("div", Sae, [
54016
54016
  O.status === 0 ? (pe(), ye("span", _ae, [
54017
54017
  kae,
54018
54018
  ko(" Connecting")