@anzusystems/common-admin 0.0.39 → 0.0.40

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,17 +1,17 @@
1
1
  var io = Object.defineProperty;
2
2
  var lo = (t, n, e) => n in t ? io(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
3
3
  var Sn = (t, n, e) => (lo(t, typeof n != "symbol" ? n + "" : n, e), e);
4
- import { defineComponent as L, computed as T, openBlock as k, createBlock as E, unref as f, withCtx as y, createTextVNode as B, toDisplayString as $, createElementBlock as H, createVNode as w, createCommentVNode as Z, renderSlot as Me, createElementVNode as ne, resolveComponent as Et, normalizeClass as Ce, withModifiers as oe, withDirectives as vr, vShow as yr, isProxy as so, toRaw as uo, isRef as ze, inject as we, createSlots as tn, Fragment as Ue, provide as Xa, watch as Fe, renderList as Ct, ref as J, TransitionGroup as br, normalizeStyle as sa, resolveDynamicComponent as va, onMounted as Nt, h as co, nextTick as fo, withKeys as wr, reactive as mo, toRefs as ya, shallowRef as er, readonly as Wt, mergeProps as ba, createStaticVNode as kr, setBlockTracking as tr, onBeforeUnmount as po } from "vue";
4
+ import { defineComponent as L, computed as T, openBlock as k, createBlock as E, unref as f, withCtx as y, createTextVNode as B, toDisplayString as $, createElementBlock as H, createVNode as w, createCommentVNode as Z, renderSlot as Ae, createElementVNode as te, resolveComponent as Et, normalizeClass as ke, withModifiers as re, withDirectives as vr, vShow as yr, isProxy as so, toRaw as uo, isRef as ze, inject as be, createSlots as tn, Fragment as Ue, provide as Xa, watch as Ve, renderList as Ct, ref as J, TransitionGroup as br, normalizeStyle as sa, resolveDynamicComponent as va, onMounted as Nt, h as co, nextTick as fo, withKeys as wr, reactive as mo, toRefs as ya, shallowRef as er, readonly as Wt, mergeProps as ba, createStaticVNode as kr, setBlockTracking as tr, onBeforeUnmount as po } from "vue";
5
5
  import { useI18n as G, createI18n as ho } from "vue-i18n";
6
6
  import { useI18n as sg } from "vue-i18n";
7
7
  import { VChip as dt } from "vuetify/lib/components/VChip/index.mjs";
8
8
  import { VRow as ua, VCol as Jt, VSpacer as Qt } from "vuetify/lib/components/VGrid/index.mjs";
9
9
  import { VAlert as go } from "vuetify/lib/components/VAlert/index.mjs";
10
- import { VIcon as he } from "vuetify/lib/components/VIcon/index.mjs";
10
+ import { VIcon as pe } from "vuetify/lib/components/VIcon/index.mjs";
11
11
  import { VCard as tt, VCardText as Cr, VCardActions as wa } from "vuetify/lib/components/VCard/index.mjs";
12
12
  import { VTextField as Hn } from "vuetify/lib/components/VTextField/index.mjs";
13
13
  import { VTextarea as vo } from "vuetify/lib/components/VTextarea/index.mjs";
14
- import { VBtn as le } from "vuetify/lib/components/VBtn/index.mjs";
14
+ import { VBtn as ie } from "vuetify/lib/components/VBtn/index.mjs";
15
15
  import { VBtnToggle as Jn } from "vuetify/lib/components/VBtnToggle/index.mjs";
16
16
  import { VLabel as _r } from "vuetify/lib/components/VLabel/index.mjs";
17
17
  import { VList as nn, VListItem as Qe, VListItemTitle as Xt, VListItemSubtitle as yo } from "vuetify/lib/components/VList/index.mjs";
@@ -24,10 +24,10 @@ import { VDialog as _a } from "vuetify/lib/components/VDialog/index.mjs";
24
24
  import { useFetch as bo, watchDebounced as Da, useClipboard as Mr, useStorage as xr, useIntervalFn as wo, useDebounceFn as ko } from "@vueuse/core";
25
25
  import { VExpandTransition as Co } from "vuetify/lib/components/transitions/index.mjs";
26
26
  import _o from "@vuelidate/core";
27
- import { createI18nMessage as Ke, requiredIf as Do, between as Ao, email as Mo, maxLength as xo, maxValue as To, minLength as So, minValue as $o, numeric as Oo, required as Io, helpers as Tr, url as Fo } from "@vuelidate/validators";
27
+ import { createI18nMessage as Ke, requiredIf as Do, between as Ao, email as Mo, maxLength as xo, maxValue as To, minLength as So, minValue as $o, numeric as Oo, required as Io, helpers as Tr, url as Vo } from "@vuelidate/validators";
28
28
  import { VAutocomplete as an } from "vuetify/lib/components/VAutocomplete/index.mjs";
29
- import { VCheckboxBtn as Po } from "vuetify/lib/components/VCheckbox/index.mjs";
30
- import { VSwitch as Vo } from "vuetify/lib/components/VSwitch/index.mjs";
29
+ import { VCheckboxBtn as Fo } from "vuetify/lib/components/VCheckbox/index.mjs";
30
+ import { VSwitch as Po } from "vuetify/lib/components/VSwitch/index.mjs";
31
31
  import { VSelect as Eo } from "vuetify/lib/components/VSelect/index.mjs";
32
32
  import { VProgressCircular as Qn } from "vuetify/lib/components/VProgressCircular/index.mjs";
33
33
  import { VAvatar as da } from "vuetify/lib/components/VAvatar/index.mjs";
@@ -73,8 +73,8 @@ const Ro = { key: 1 }, gp = /* @__PURE__ */ L({
73
73
  w(Jt, null, {
74
74
  default: y(() => [
75
75
  t.title.length ? (k(), H("h4", zo, $(t.title), 1)) : Z("", !0),
76
- Me(n.$slots, "default", {}, () => [
77
- ne("span", Uo, $(t.value), 1)
76
+ Ae(n.$slots, "default", {}, () => [
77
+ te("span", Uo, $(t.value), 1)
78
78
  ])
79
79
  ]),
80
80
  _: 3
@@ -100,7 +100,7 @@ const Ro = { key: 1 }, gp = /* @__PURE__ */ L({
100
100
  group: t.group,
101
101
  position: t.position,
102
102
  width: t.width,
103
- class: Ce(t.customClass)
103
+ class: ke(t.customClass)
104
104
  }, {
105
105
  body: y((r) => [
106
106
  w(go, {
@@ -109,13 +109,13 @@ const Ro = { key: 1 }, gp = /* @__PURE__ */ L({
109
109
  density: "compact"
110
110
  }, {
111
111
  close: y(() => [
112
- w(he, {
112
+ w(pe, {
113
113
  icon: "mdi-close",
114
- onClick: oe(r.close, ["stop"])
114
+ onClick: re(r.close, ["stop"])
115
115
  }, null, 8, ["onClick"])
116
116
  ]),
117
117
  default: y(() => [
118
- ne("div", {
118
+ te("div", {
119
119
  class: "white-space-pre",
120
120
  "data-cy": "page-title",
121
121
  textContent: $(r.item.text)
@@ -154,15 +154,15 @@ const yp = /* @__PURE__ */ L({
154
154
  }, {
155
155
  default: y(() => [
156
156
  w(Jo, { loading: t.loading }, null, 8, ["loading"]),
157
- Me(a.$slots, "default")
157
+ Ae(a.$slots, "default")
158
158
  ]),
159
159
  _: 3
160
160
  }, 8, ["title", "loading"]));
161
161
  }
162
- }), S = (t) => typeof t > "u", nr = (t) => !S(t), be = (t) => t === null, Aa = (t) => typeof t == "number", ut = (t) => typeof t == "string", Oe = (t) => Array.isArray(t), ar = (t) => typeof t == "boolean", bp = (t) => ut(t) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(t), wp = (t) => {
162
+ }), S = (t) => typeof t > "u", nr = (t) => !S(t), ye = (t) => t === null, Aa = (t) => typeof t == "number", ut = (t) => typeof t == "string", Oe = (t) => Array.isArray(t), ar = (t) => typeof t == "boolean", bp = (t) => ut(t) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(t), wp = (t) => {
163
163
  const n = parseFloat(t);
164
164
  return !isNaN(t) && (n | 0) === n;
165
- }, Wn = (t) => typeof t == "object" && !Oe(t) && !be(t), Sr = (t) => Wn(t) ? Object.keys(t).length === 0 : !1, Wo = (t) => Oe(t) && t.length === 0, kp = (t) => be(t) || S(t) || t === "" || t === 0 || Wo(t) || Sr(t), ct = (t) => {
165
+ }, Wn = (t) => typeof t == "object" && !Oe(t) && !ye(t), Sr = (t) => Wn(t) ? Object.keys(t).length === 0 : !1, Wo = (t) => Oe(t) && t.length === 0, kp = (t) => ye(t) || S(t) || t === "" || t === 0 || Wo(t) || Sr(t), ct = (t) => {
166
166
  if (typeof structuredClone == "function")
167
167
  try {
168
168
  return so(t) ? structuredClone(uo(t)) : ze(t) ? structuredClone(f(t)) : structuredClone(t);
@@ -223,7 +223,7 @@ const yp = /* @__PURE__ */ L({
223
223
  },
224
224
  emits: ["update:modelValue", "click:append", "blur"],
225
225
  setup(t, { emit: n }) {
226
- const e = t, { t: a } = G(), r = we(nt, void 0), o = we(at, void 0), s = (d) => {
226
+ const e = t, { t: a } = G(), r = be(nt, void 0), o = be(at, void 0), s = (d) => {
227
227
  n("update:modelValue", d);
228
228
  }, c = () => {
229
229
  var d;
@@ -287,7 +287,7 @@ const yp = /* @__PURE__ */ L({
287
287
  },
288
288
  emits: ["update:modelValue", "click:append", "blur"],
289
289
  setup(t, { emit: n }) {
290
- const e = t, { t: a } = G(), r = we(nt, void 0), o = we(at, void 0), s = (d) => {
290
+ const e = t, { t: a } = G(), r = be(nt, void 0), o = be(at, void 0), s = (d) => {
291
291
  n("update:modelValue", d);
292
292
  }, c = () => {
293
293
  var d;
@@ -345,7 +345,7 @@ const yp = /* @__PURE__ */ L({
345
345
  },
346
346
  emits: ["update:modelValue"],
347
347
  setup(t, { emit: n }) {
348
- const e = t, a = we(nt, void 0), r = we(at, void 0), o = T({
348
+ const e = t, a = be(nt, void 0), r = be(at, void 0), o = T({
349
349
  get() {
350
350
  return e.modelValue;
351
351
  },
@@ -381,7 +381,7 @@ const yp = /* @__PURE__ */ L({
381
381
  mandatory: f(u)
382
382
  }, {
383
383
  default: y(() => [
384
- w(le, {
384
+ w(ie, {
385
385
  value: !0,
386
386
  "data-cy": "toggle-true"
387
387
  }, {
@@ -390,7 +390,7 @@ const yp = /* @__PURE__ */ L({
390
390
  ]),
391
391
  _: 1
392
392
  }),
393
- w(le, {
393
+ w(ie, {
394
394
  value: !1,
395
395
  "data-cy": "toggle-false"
396
396
  }, {
@@ -412,7 +412,7 @@ const yp = /* @__PURE__ */ L({
412
412
  },
413
413
  setup(t) {
414
414
  const n = t;
415
- return Xa(nt, n.system), Xa(at, n.subject), (e, a) => Me(e.$slots, "default");
415
+ return Xa(nt, n.system), Xa(at, n.subject), (e, a) => Ae(e.$slots, "default");
416
416
  }
417
417
  }), ei = { class: "anzu-data-footer" }, ti = {
418
418
  key: 0,
@@ -430,18 +430,18 @@ const yp = /* @__PURE__ */ L({
430
430
  get() {
431
431
  return e.modelValue;
432
432
  },
433
- set(V) {
434
- n("update:modelValue", ct(V));
433
+ set(P) {
434
+ n("update:modelValue", ct(P));
435
435
  }
436
- }), { t: r } = G(), o = T(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), s = T(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), c = T(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), u = T(() => a.value.page === 1), m = T(() => !be(a.value.hasNextPage) || a.value.page === o.value), p = T(() => be(a.value.hasNextPage) && a.value.page === o.value || a.value.hasNextPage === !1), d = T(() => be(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? c.value + 1 + "+" : c.value), g = T(() => a.value.rowsPerPage);
437
- Fe(g, (V, z) => {
438
- V !== z && (a.value.page = 1, n("change"));
436
+ }), { t: r } = G(), o = T(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), s = T(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), c = T(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), u = T(() => a.value.page === 1), m = T(() => !ye(a.value.hasNextPage) || a.value.page === o.value), p = T(() => ye(a.value.hasNextPage) && a.value.page === o.value || a.value.hasNextPage === !1), d = T(() => ye(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? c.value + 1 + "+" : c.value), g = T(() => a.value.rowsPerPage);
437
+ Ve(g, (P, z) => {
438
+ P !== z && (a.value.page = 1, n("change"));
439
439
  });
440
440
  const b = T(() => a.value.page);
441
- Fe(b, (V, z) => {
442
- V !== z && n("change");
441
+ Ve(b, (P, z) => {
442
+ P !== z && n("change");
443
443
  });
444
- const P = () => {
444
+ const F = () => {
445
445
  a.value.page = 1;
446
446
  }, v = () => {
447
447
  a.value.page = o.value;
@@ -450,7 +450,7 @@ const yp = /* @__PURE__ */ L({
450
450
  }, I = () => {
451
451
  a.value.page = a.value.page + 1;
452
452
  };
453
- return (V, z) => (k(), H("div", ei, [
453
+ return (P, z) => (k(), H("div", ei, [
454
454
  t.hideRecordsPerPage ? Z("", !0) : (k(), H("div", ti, [
455
455
  B($(f(r)("common.system.datatable.itemsPerPage")) + ": ", 1),
456
456
  w(Jn, {
@@ -462,7 +462,7 @@ const yp = /* @__PURE__ */ L({
462
462
  "data-cy": "table-size"
463
463
  }, {
464
464
  default: y(() => [
465
- (k(!0), H(Ue, null, Ct(t.itemsPerPageOptions, (U) => (k(), E(le, {
465
+ (k(!0), H(Ue, null, Ct(t.itemsPerPageOptions, (U) => (k(), E(ie, {
466
466
  key: U,
467
467
  color: U === f(a).rowsPerPage ? "secondary" : "",
468
468
  value: U,
@@ -479,40 +479,40 @@ const yp = /* @__PURE__ */ L({
479
479
  _: 1
480
480
  }, 8, ["modelValue"])
481
481
  ])),
482
- ne("div", ni, $(f(s)) + " - " + $(f(c)) + " " + $(f(r)("common.system.datatable.from")) + " " + $(f(d)), 1),
483
- ne("div", ai, [
484
- w(le, {
482
+ te("div", ni, $(f(s)) + " - " + $(f(c)) + " " + $(f(r)("common.system.datatable.from")) + " " + $(f(d)), 1),
483
+ te("div", ai, [
484
+ w(ie, {
485
485
  disabled: f(u),
486
486
  icon: "mdi-page-first",
487
487
  size: "small",
488
488
  variant: "text",
489
- onClick: oe(P, ["stop"])
489
+ onClick: re(F, ["stop"])
490
490
  }, null, 8, ["disabled", "onClick"]),
491
- w(le, {
491
+ w(ie, {
492
492
  disabled: f(u),
493
493
  icon: "mdi-chevron-left",
494
494
  size: "small",
495
495
  variant: "text",
496
- onClick: oe(O, ["stop"])
496
+ onClick: re(O, ["stop"])
497
497
  }, null, 8, ["disabled", "onClick"])
498
498
  ]),
499
- ne("div", ri, [
500
- ne("span", null, $(f(a).page), 1)
499
+ te("div", ri, [
500
+ te("span", null, $(f(a).page), 1)
501
501
  ]),
502
- ne("div", oi, [
503
- w(le, {
502
+ te("div", oi, [
503
+ w(ie, {
504
504
  disabled: f(p),
505
505
  icon: "mdi-chevron-right",
506
506
  size: "small",
507
507
  variant: "text",
508
- onClick: oe(I, ["stop"])
508
+ onClick: re(I, ["stop"])
509
509
  }, null, 8, ["disabled", "onClick"]),
510
- w(le, {
510
+ w(ie, {
511
511
  disabled: f(m),
512
512
  icon: "mdi-page-last",
513
513
  size: "small",
514
514
  variant: "text",
515
- onClick: oe(v, ["stop"])
515
+ onClick: re(v, ["stop"])
516
516
  }, null, 8, ["disabled", "onClick"])
517
517
  ])
518
518
  ]));
@@ -537,8 +537,8 @@ const Op = /* @__PURE__ */ L({
537
537
  }
538
538
  c.push(s), n("update:columnsHidden", c);
539
539
  };
540
- return (s, c) => (k(), E(le, {
541
- class: Ce(t.buttonClass),
540
+ return (s, c) => (k(), E(ie, {
541
+ class: ke(t.buttonClass),
542
542
  "data-cy": t.dataCy,
543
543
  color: "light",
544
544
  icon: "",
@@ -546,7 +546,7 @@ const Op = /* @__PURE__ */ L({
546
546
  variant: "text"
547
547
  }, {
548
548
  default: y(() => [
549
- w(he, { icon: "mdi-cog" }),
549
+ w(pe, { icon: "mdi-cog" }),
550
550
  w(Ye, {
551
551
  activator: "parent",
552
552
  location: "bottom"
@@ -566,7 +566,7 @@ const Op = /* @__PURE__ */ L({
566
566
  default: y(() => [
567
567
  w(Xt, null, {
568
568
  default: y(() => [
569
- ne("strong", null, $(f(a)("common.system.datatable.displayCols")), 1)
569
+ te("strong", null, $(f(a)("common.system.datatable.displayCols")), 1)
570
570
  ]),
571
571
  _: 1
572
572
  })
@@ -575,16 +575,16 @@ const Op = /* @__PURE__ */ L({
575
575
  }),
576
576
  (k(!0), H(Ue, null, Ct(t.columnsAll, (u) => (k(), E(Qe, {
577
577
  key: u.key,
578
- onClick: oe((m) => o(u.key), ["stop"])
578
+ onClick: re((m) => o(u.key), ["stop"])
579
579
  }, {
580
580
  default: y(() => [
581
581
  w(Xt, null, {
582
582
  default: y(() => [
583
- r(u.key) ? (k(), E(he, {
583
+ r(u.key) ? (k(), E(pe, {
584
584
  key: 0,
585
585
  class: "mr-2",
586
586
  icon: "mdi-checkbox-marked"
587
- })) : (k(), E(he, {
587
+ })) : (k(), E(pe, {
588
588
  key: 1,
589
589
  class: "mr-2",
590
590
  icon: "mdi-checkbox-blank-outline"
@@ -638,24 +638,24 @@ const Op = /* @__PURE__ */ L({
638
638
  }), m = T(() => e.customOptions ? e.customOptions : e.variant === "most-relevant" ? c : s), p = (d) => {
639
639
  o.value = d.id;
640
640
  };
641
- return Fe(
641
+ return Ve(
642
642
  r,
643
643
  (d, g) => {
644
644
  if (S(g) || d === g)
645
645
  return;
646
- const b = m.value.find((P) => P.id === d);
646
+ const b = m.value.find((F) => F.id === d);
647
647
  b && n("sortByChange", b);
648
648
  },
649
649
  { immediate: !0 }
650
- ), Fe(
650
+ ), Ve(
651
651
  o,
652
652
  (d, g) => {
653
653
  S(g) || d === g || (r.value = d);
654
654
  },
655
655
  { immediate: !0 }
656
656
  ), (d, g) => (k(), H("div", ii, [
657
- ne("div", li, $(f(a)("common.system.datatable.ordering.title")) + ": ", 1),
658
- w(le, {
657
+ te("div", li, $(f(a)("common.system.datatable.ordering.title")) + ": ", 1),
658
+ w(ie, {
659
659
  variant: "text",
660
660
  rounded: "xl",
661
661
  size: "small",
@@ -676,11 +676,11 @@ const Op = /* @__PURE__ */ L({
676
676
  default: y(() => [
677
677
  (k(!0), H(Ue, null, Ct(f(m), (b) => (k(), E(Qe, {
678
678
  key: b.id,
679
- onClick: (P) => p(b)
679
+ onClick: (F) => p(b)
680
680
  }, {
681
681
  default: y(() => [
682
682
  w(Xt, {
683
- class: Ce({ "font-weight-bold": b.id === r.value })
683
+ class: ke({ "font-weight-bold": b.id === r.value })
684
684
  }, {
685
685
  default: y(() => [
686
686
  B($(f(a)(b.titleT)), 1)
@@ -715,31 +715,31 @@ const Op = /* @__PURE__ */ L({
715
715
  default: y(() => [
716
716
  w(Ar, { class: "flex-fill" }, {
717
717
  default: y(() => [
718
- Me(a.$slots, "default")
718
+ Ae(a.$slots, "default")
719
719
  ]),
720
720
  _: 3
721
721
  }),
722
722
  w(Qt),
723
- w(le, {
723
+ w(ie, {
724
724
  class: "ml-2",
725
725
  icon: "mdi-close",
726
726
  size: "small",
727
727
  variant: "text",
728
728
  "data-cy": "button-close",
729
- onClick: oe(e, ["stop"])
729
+ onClick: re(e, ["stop"])
730
730
  }, null, 8, ["onClick"])
731
731
  ]),
732
732
  _: 3
733
733
  }));
734
734
  }
735
- }), Fp = /* @__PURE__ */ L({
735
+ }), Vp = /* @__PURE__ */ L({
736
736
  __name: "ALogData",
737
737
  props: {
738
738
  data: null
739
739
  },
740
740
  setup(t) {
741
741
  const n = t, e = T(() => n.data);
742
- return Fe(
742
+ return Ve(
743
743
  e,
744
744
  (a) => {
745
745
  console.log(a);
@@ -827,7 +827,7 @@ function pi(t, n, e, a, r, o) {
827
827
  onAfterLeave: t.afterLeave
828
828
  }, {
829
829
  default: y(() => [
830
- Me(t.$slots, "default")
830
+ Ae(t.$slots, "default")
831
831
  ]),
832
832
  _: 3
833
833
  }, 8, ["onEnter", "onLeave", "onAfterLeave"]);
@@ -845,7 +845,7 @@ function vi(t, n, e, a, r, o) {
845
845
  name: t.name
846
846
  }, {
847
847
  default: y(() => [
848
- Me(t.$slots, "default")
848
+ Ae(t.$slots, "default")
849
849
  ]),
850
850
  _: 3
851
851
  }, 8, ["name"]);
@@ -1110,13 +1110,13 @@ function Mi(t, n, e, a, r, o) {
1110
1110
  onMouseenter: n[0] || (n[0] = (...c) => t.pauseTimeout && t.pauseTimeout(...c)),
1111
1111
  onMouseleave: n[1] || (n[1] = (...c) => t.resumeTimeout && t.resumeTimeout(...c))
1112
1112
  }, [
1113
- Me(t.$slots, "body", {
1114
- class: Ce([t.classes, s.type]),
1113
+ Ae(t.$slots, "body", {
1114
+ class: ke([t.classes, s.type]),
1115
1115
  item: s,
1116
1116
  close: () => t.destroy(s)
1117
1117
  }, () => [
1118
- ne("div", {
1119
- class: Ce(t.notifyClass(s)),
1118
+ te("div", {
1119
+ class: ke(t.notifyClass(s)),
1120
1120
  onClick: (c) => t.destroyIfNecessary(s)
1121
1121
  }, [
1122
1122
  s.title ? (k(), H("div", {
@@ -1124,7 +1124,7 @@ function Mi(t, n, e, a, r, o) {
1124
1124
  class: "notification-title",
1125
1125
  innerHTML: s.title
1126
1126
  }, null, 8, Di)) : Z("", !0),
1127
- ne("div", {
1127
+ te("div", {
1128
1128
  class: "notification-content",
1129
1129
  innerHTML: s.text
1130
1130
  }, null, 8, Ai)
@@ -1161,7 +1161,7 @@ const Si = {
1161
1161
  console.error("vite-plugin-css-injected-by-js", e);
1162
1162
  }
1163
1163
  })();
1164
- const ir = ["en", "sk"], se = ho({
1164
+ const ir = ["en", "sk"], le = ho({
1165
1165
  globalInjection: !1,
1166
1166
  legacy: !1,
1167
1167
  locale: ir[0],
@@ -1169,25 +1169,25 @@ const ir = ["en", "sk"], se = ho({
1169
1169
  missing: (t, n) => {
1170
1170
  ir.includes(t) && console.warn(`Missing ${t} translation: ${n}`);
1171
1171
  }
1172
- }), Ir = (t) => t instanceof Pe;
1173
- class Pe extends Error {
1172
+ }), Ir = (t) => t instanceof Fe;
1173
+ class Fe extends Error {
1174
1174
  constructor(n, e = "") {
1175
1175
  super(e), this.name = "AnzuFatalError", this.cause = n, this.message = e;
1176
1176
  }
1177
1177
  }
1178
- const $i = 200, Oi = 201, Ii = 204, Pp = 400, Vp = 401, Fi = 403, Fr = 422, Pi = [$i, Oi, Ii], Dt = (t) => {
1178
+ const $i = 200, Oi = 201, Ii = 204, Fp = 400, Pp = 401, Vi = 403, Vr = 422, Fi = [$i, Oi, Ii], Dt = (t) => {
1179
1179
  var n;
1180
- return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Fi;
1181
- }, Pr = (t) => t instanceof ft;
1180
+ return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Vi;
1181
+ }, Fr = (t) => t instanceof ft;
1182
1182
  class ft extends Error {
1183
1183
  constructor(n, e = "") {
1184
1184
  super(e), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = e;
1185
1185
  }
1186
1186
  }
1187
- const Vi = "validation_failed", At = (t) => {
1187
+ const Pi = "validation_failed", At = (t) => {
1188
1188
  var n, e, a;
1189
- return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Fr && ((e = t.response.data) == null ? void 0 : e.error) === Vi && ((a = t.response.data) == null ? void 0 : a.fields);
1190
- }, Vr = (t) => t instanceof mt;
1189
+ return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Vr && ((e = t.response.data) == null ? void 0 : e.error) === Pi && ((a = t.response.data) == null ? void 0 : a.fields);
1190
+ }, Pr = (t) => t instanceof mt;
1191
1191
  function Ei(t, n, e) {
1192
1192
  var o;
1193
1193
  const a = (o = t.response) == null ? void 0 : o.data, r = [];
@@ -1215,7 +1215,7 @@ class pt extends Error {
1215
1215
  }
1216
1216
  const Ni = "forbidden_operation_error", Mt = (t) => {
1217
1217
  var n, e, a;
1218
- return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Fr && ((e = t.response.data) == null ? void 0 : e.error) === Ni && ((a = t.response.data) == null ? void 0 : a.detail);
1218
+ return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Vr && ((e = t.response.data) == null ? void 0 : e.error) === Ni && ((a = t.response.data) == null ? void 0 : a.detail);
1219
1219
  }, Li = (t) => t instanceof ht;
1220
1220
  function Bi(t) {
1221
1221
  var e;
@@ -1239,7 +1239,7 @@ function xa() {
1239
1239
  type: "success"
1240
1240
  });
1241
1241
  }, n = (v, O = Ze) => {
1242
- const { t: I } = se.global;
1242
+ const { t: I } = le.global;
1243
1243
  t(I(v), O);
1244
1244
  }, e = (v, O = Ze) => {
1245
1245
  qe({
@@ -1249,7 +1249,7 @@ function xa() {
1249
1249
  type: "error"
1250
1250
  });
1251
1251
  }, a = (v, O = Ze) => {
1252
- const { t: I } = se.global;
1252
+ const { t: I } = le.global;
1253
1253
  e(I(v), O);
1254
1254
  }, r = (v, O = Ze) => {
1255
1255
  qe({
@@ -1259,7 +1259,7 @@ function xa() {
1259
1259
  type: "info"
1260
1260
  });
1261
1261
  }, o = (v, O = Ze) => {
1262
- const { t: I } = se.global;
1262
+ const { t: I } = le.global;
1263
1263
  r(I(v), O);
1264
1264
  }, s = (v, O = Ze) => {
1265
1265
  qe({
@@ -1269,10 +1269,10 @@ function xa() {
1269
1269
  type: "warning"
1270
1270
  });
1271
1271
  }, c = (v, O = Ze) => {
1272
- const { t: I } = se.global;
1272
+ const { t: I } = le.global;
1273
1273
  s(I(v), O);
1274
1274
  }, u = (v = Ze) => {
1275
- const { t: O } = se.global;
1275
+ const { t: O } = le.global;
1276
1276
  qe({
1277
1277
  group: "alerts",
1278
1278
  text: O("common.alert.fixValidationErrors"),
@@ -1280,7 +1280,7 @@ function xa() {
1280
1280
  type: "error"
1281
1281
  });
1282
1282
  }, m = (v, O = Ze) => {
1283
- const { t: I } = se.global;
1283
+ const { t: I } = le.global;
1284
1284
  qe({
1285
1285
  group: "alerts",
1286
1286
  text: I("common.alert.recordWas." + v),
@@ -1288,19 +1288,19 @@ function xa() {
1288
1288
  type: "success"
1289
1289
  });
1290
1290
  }, p = (v, O = -1, I = !1) => {
1291
- const { t: V, te: z } = se.global, U = [V("common.alert.fixApiValidationErrors")];
1292
- for (let ae = 0; ae < v.length; ae++) {
1291
+ const { t: P, te: z } = le.global, U = [P("common.alert.fixApiValidationErrors")];
1292
+ for (let ne = 0; ne < v.length; ne++) {
1293
1293
  let ee = "";
1294
- I ? ee += v[ae].field : z(v[ae].field) && (ee += V(v[ae].field));
1295
- const de = /* @__PURE__ */ new Set();
1296
- for (let pe = 0; pe < v[ae].errors.length; pe++) {
1297
- if (z("error.apiValidation." + v[ae].errors[pe])) {
1298
- de.add(V("error.apiValidation." + v[ae].errors[pe]));
1294
+ I ? ee += v[ne].field : z(v[ne].field) && (ee += P(v[ne].field));
1295
+ const ue = /* @__PURE__ */ new Set();
1296
+ for (let me = 0; me < v[ne].errors.length; me++) {
1297
+ if (z("error.apiValidation." + v[ne].errors[me])) {
1298
+ ue.add(P("error.apiValidation." + v[ne].errors[me]));
1299
1299
  continue;
1300
1300
  }
1301
- de.add(V("error.apiValidation.noTranslation"));
1301
+ ue.add(P("error.apiValidation.noTranslation"));
1302
1302
  }
1303
- ee.length > 0 && U.push(ee + ": " + Array.from(de).join(", "));
1303
+ ee.length > 0 && U.push(ee + ": " + Array.from(ue).join(", "));
1304
1304
  }
1305
1305
  qe({
1306
1306
  group: "alerts",
@@ -1309,16 +1309,16 @@ function xa() {
1309
1309
  type: "error"
1310
1310
  });
1311
1311
  }, d = (v, O = -1) => {
1312
- const { t: I, te: V } = se.global;
1312
+ const { t: I, te: P } = le.global;
1313
1313
  let z = I("error.apiForbiddenOperation.noTranslation");
1314
- V("error.apiForbiddenOperation." + v) && (z = I("error.apiForbiddenOperation." + v)), qe({
1314
+ P("error.apiForbiddenOperation." + v) && (z = I("error.apiForbiddenOperation." + v)), qe({
1315
1315
  group: "alerts",
1316
1316
  text: z,
1317
1317
  duration: O * 1e3,
1318
1318
  type: "error"
1319
1319
  });
1320
1320
  }, g = (v = -1) => {
1321
- const { t: O } = se.global;
1321
+ const { t: O } = le.global;
1322
1322
  qe({
1323
1323
  group: "alerts",
1324
1324
  text: O("common.alert.unknownError"),
@@ -1326,7 +1326,7 @@ function xa() {
1326
1326
  type: "error"
1327
1327
  });
1328
1328
  }, b = (v = Ze) => {
1329
- const { t: O } = se.global;
1329
+ const { t: O } = le.global;
1330
1330
  qe({
1331
1331
  group: "alerts",
1332
1332
  text: O("common.alert.forbiddenError"),
@@ -1349,7 +1349,7 @@ function xa() {
1349
1349
  showApiForbiddenOperationError: d,
1350
1350
  showUnknownError: g,
1351
1351
  showForbiddenError: b,
1352
- showErrorsDefault: (v) => Pr(v) ? (b(), !0) : Vr(v) ? (p(v.fields), !0) : Li(v) ? (d(v.detail), !0) : Ir(v) || Er(v) ? (g(), !0) : !1
1352
+ showErrorsDefault: (v) => Fr(v) ? (b(), !0) : Pr(v) ? (p(v.fields), !0) : Li(v) ? (d(v.detail), !0) : Ir(v) || Er(v) ? (g(), !0) : !1
1353
1353
  };
1354
1354
  }
1355
1355
  const Ep = /* @__PURE__ */ L({
@@ -1391,15 +1391,15 @@ const Ep = /* @__PURE__ */ L({
1391
1391
  }
1392
1392
  };
1393
1393
  return (g, b) => {
1394
- const P = Et("ABtnTertiary"), v = Et("ABtnPrimary");
1394
+ const F = Et("ABtnTertiary"), v = Et("ABtnPrimary");
1395
1395
  return k(), E(v, {
1396
- class: Ce(t.buttonClass),
1396
+ class: ke(t.buttonClass),
1397
1397
  rounded: "pill",
1398
1398
  "data-cy": t.dataCy,
1399
- onClick: oe(o, ["stop"])
1399
+ onClick: re(o, ["stop"])
1400
1400
  }, {
1401
1401
  default: y(() => [
1402
- Me(g.$slots, "button-title", {}, () => [
1402
+ Ae(g.$slots, "button-title", {}, () => [
1403
1403
  B($(f(a)("common.button.create")), 1)
1404
1404
  ]),
1405
1405
  w(_a, {
@@ -1416,7 +1416,7 @@ const Ep = /* @__PURE__ */ L({
1416
1416
  default: y(() => [
1417
1417
  w($r, { onOnCancel: s }, {
1418
1418
  default: y(() => [
1419
- Me(g.$slots, "title", {}, () => [
1419
+ Ae(g.$slots, "title", {}, () => [
1420
1420
  B($(f(a)("common.button.create")), 1)
1421
1421
  ])
1422
1422
  ]),
@@ -1424,16 +1424,16 @@ const Ep = /* @__PURE__ */ L({
1424
1424
  }),
1425
1425
  w(Cr, null, {
1426
1426
  default: y(() => [
1427
- Me(g.$slots, "content")
1427
+ Ae(g.$slots, "content")
1428
1428
  ]),
1429
1429
  _: 3
1430
1430
  }),
1431
1431
  w(wa, null, {
1432
1432
  default: y(() => [
1433
1433
  w(Qt),
1434
- w(P, {
1434
+ w(F, {
1435
1435
  "data-cy": "button-cancel",
1436
- onClick: oe(s, ["stop"])
1436
+ onClick: re(s, ["stop"])
1437
1437
  }, {
1438
1438
  default: y(() => [
1439
1439
  B($(f(a)("common.button.cancel")), 1)
@@ -1443,10 +1443,10 @@ const Ep = /* @__PURE__ */ L({
1443
1443
  w(v, {
1444
1444
  loading: r.value,
1445
1445
  "data-cy": "button-create",
1446
- onClick: oe(d, ["stop"])
1446
+ onClick: re(d, ["stop"])
1447
1447
  }, {
1448
1448
  default: y(() => [
1449
- Me(g.$slots, "button-confirm-title", {}, () => [
1449
+ Ae(g.$slots, "button-confirm-title", {}, () => [
1450
1450
  B($(f(a)("common.button.create")), 1)
1451
1451
  ])
1452
1452
  ]),
@@ -1480,14 +1480,14 @@ const Ep = /* @__PURE__ */ L({
1480
1480
  a.value = r.value;
1481
1481
  } catch {
1482
1482
  }
1483
- }), (r, o) => a.value.length > 0 ? (k(), E(le, {
1483
+ }), (r, o) => a.value.length > 0 ? (k(), E(ie, {
1484
1484
  key: 0,
1485
1485
  variant: "text",
1486
1486
  size: "small",
1487
1487
  icon: ""
1488
1488
  }, {
1489
1489
  default: y(() => [
1490
- w(he, { icon: "mdi-dots-grid" }),
1490
+ w(pe, { icon: "mdi-dots-grid" }),
1491
1491
  w(Ye, {
1492
1492
  activator: "parent",
1493
1493
  location: "top"
@@ -1501,18 +1501,18 @@ const Ep = /* @__PURE__ */ L({
1501
1501
  default: y(() => [
1502
1502
  w(tt, null, {
1503
1503
  default: y(() => [
1504
- ne("div", Ri, [
1504
+ te("div", Ri, [
1505
1505
  (k(!0), H(Ue, null, Ct(a.value, (s) => (k(), H("a", {
1506
1506
  key: s.id,
1507
1507
  href: s.url,
1508
1508
  target: "_blank",
1509
1509
  class: "a-admin-switcher__item"
1510
1510
  }, [
1511
- ne("img", {
1511
+ te("img", {
1512
1512
  src: s.icon,
1513
1513
  alt: s.title
1514
1514
  }, null, 8, Ui),
1515
- ne("span", Yi, $(s.title), 1)
1515
+ te("span", Yi, $(s.title), 1)
1516
1516
  ], 8, zi))), 128))
1517
1517
  ])
1518
1518
  ]),
@@ -1553,62 +1553,62 @@ var ca = {}, Wi = {
1553
1553
  (function(e, a) {
1554
1554
  t.exports = a();
1555
1555
  })(Ta, function() {
1556
- var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", s = "second", c = "minute", u = "hour", m = "day", p = "week", d = "month", g = "quarter", b = "year", P = "date", v = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, V = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) {
1557
- var _ = ["th", "st", "nd", "rd"], D = M % 100;
1558
- return "[" + M + (_[(D - 20) % 10] || _[D] || _[0]) + "]";
1559
- } }, z = function(M, _, D) {
1560
- var A = String(M);
1561
- return !A || A.length >= _ ? M : "" + Array(_ + 1 - A.length).join(D) + M;
1562
- }, U = { s: z, z: function(M) {
1563
- var _ = -M.utcOffset(), D = Math.abs(_), A = Math.floor(D / 60), x = D % 60;
1564
- return (_ <= 0 ? "+" : "-") + z(A, 2, "0") + ":" + z(x, 2, "0");
1565
- }, m: function M(_, D) {
1566
- if (_.date() < D.date())
1567
- return -M(D, _);
1568
- var A = 12 * (D.year() - _.year()) + (D.month() - _.month()), x = _.clone().add(A, d), j = D - x < 0, K = _.clone().add(A + (j ? -1 : 1), d);
1569
- return +(-(A + (D - x) / (j ? x - K : K - x)) || 0);
1570
- }, a: function(M) {
1571
- return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
1572
- }, p: function(M) {
1573
- return { M: d, y: b, w: p, d: m, D: P, h: u, m: c, s, ms: o, Q: g }[M] || String(M || "").toLowerCase().replace(/s$/, "");
1574
- }, u: function(M) {
1575
- return M === void 0;
1576
- } }, ae = "en", ee = {};
1577
- ee[ae] = V;
1578
- var de = function(M) {
1579
- return M instanceof W;
1580
- }, pe = function M(_, D, A) {
1556
+ var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", s = "second", c = "minute", u = "hour", m = "day", p = "week", d = "month", g = "quarter", b = "year", F = "date", v = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
1557
+ var C = ["th", "st", "nd", "rd"], A = D % 100;
1558
+ return "[" + D + (C[(A - 20) % 10] || C[A] || C[0]) + "]";
1559
+ } }, z = function(D, C, A) {
1560
+ var M = String(D);
1561
+ return !M || M.length >= C ? D : "" + Array(C + 1 - M.length).join(A) + D;
1562
+ }, U = { s: z, z: function(D) {
1563
+ var C = -D.utcOffset(), A = Math.abs(C), M = Math.floor(A / 60), x = A % 60;
1564
+ return (C <= 0 ? "+" : "-") + z(M, 2, "0") + ":" + z(x, 2, "0");
1565
+ }, m: function D(C, A) {
1566
+ if (C.date() < A.date())
1567
+ return -D(A, C);
1568
+ var M = 12 * (A.year() - C.year()) + (A.month() - C.month()), x = C.clone().add(M, d), j = A - x < 0, K = C.clone().add(M + (j ? -1 : 1), d);
1569
+ return +(-(M + (A - x) / (j ? x - K : K - x)) || 0);
1570
+ }, a: function(D) {
1571
+ return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
1572
+ }, p: function(D) {
1573
+ return { M: d, y: b, w: p, d: m, D: F, h: u, m: c, s, ms: o, Q: g }[D] || String(D || "").toLowerCase().replace(/s$/, "");
1574
+ }, u: function(D) {
1575
+ return D === void 0;
1576
+ } }, ne = "en", ee = {};
1577
+ ee[ne] = P;
1578
+ var ue = function(D) {
1579
+ return D instanceof Me;
1580
+ }, me = function D(C, A, M) {
1581
1581
  var x;
1582
- if (!_)
1583
- return ae;
1584
- if (typeof _ == "string") {
1585
- var j = _.toLowerCase();
1586
- ee[j] && (x = j), D && (ee[j] = D, x = j);
1587
- var K = _.split("-");
1582
+ if (!C)
1583
+ return ne;
1584
+ if (typeof C == "string") {
1585
+ var j = C.toLowerCase();
1586
+ ee[j] && (x = j), A && (ee[j] = A, x = j);
1587
+ var K = C.split("-");
1588
1588
  if (!x && K.length > 1)
1589
- return M(K[0]);
1589
+ return D(K[0]);
1590
1590
  } else {
1591
- var ue = _.name;
1592
- ee[ue] = _, x = ue;
1591
+ var se = C.name;
1592
+ ee[se] = C, x = se;
1593
1593
  }
1594
- return !A && x && (ae = x), x || !A && ae;
1595
- }, ie = function(M, _) {
1596
- if (de(M))
1597
- return M.clone();
1598
- var D = typeof _ == "object" ? _ : {};
1599
- return D.date = M, D.args = arguments, new W(D);
1594
+ return !M && x && (ne = x), x || !M && ne;
1595
+ }, oe = function(D, C) {
1596
+ if (ue(D))
1597
+ return D.clone();
1598
+ var A = typeof C == "object" ? C : {};
1599
+ return A.date = D, A.args = arguments, new Me(A);
1600
1600
  }, Q = U;
1601
- Q.l = pe, Q.i = de, Q.w = function(M, _) {
1602
- return ie(M, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
1601
+ Q.l = me, Q.i = ue, Q.w = function(D, C) {
1602
+ return oe(D, { locale: C.$L, utc: C.$u, x: C.$x, $offset: C.$offset });
1603
1603
  };
1604
- var W = function() {
1605
- function M(D) {
1606
- this.$L = pe(D.locale, null, !0), this.parse(D);
1604
+ var Me = function() {
1605
+ function D(A) {
1606
+ this.$L = me(A.locale, null, !0), this.parse(A);
1607
1607
  }
1608
- var _ = M.prototype;
1609
- return _.parse = function(D) {
1610
- this.$d = function(A) {
1611
- var x = A.date, j = A.utc;
1608
+ var C = D.prototype;
1609
+ return C.parse = function(A) {
1610
+ this.$d = function(M) {
1611
+ var x = M.date, j = M.utc;
1612
1612
  if (x === null)
1613
1613
  return /* @__PURE__ */ new Date(NaN);
1614
1614
  if (Q.u(x))
@@ -1618,145 +1618,145 @@ var ca = {}, Wi = {
1618
1618
  if (typeof x == "string" && !/Z$/i.test(x)) {
1619
1619
  var K = x.match(O);
1620
1620
  if (K) {
1621
- var ue = K[2] - 1 || 0, ge = (K[7] || "0").substring(0, 3);
1622
- return j ? new Date(Date.UTC(K[1], ue, K[3] || 1, K[4] || 0, K[5] || 0, K[6] || 0, ge)) : new Date(K[1], ue, K[3] || 1, K[4] || 0, K[5] || 0, K[6] || 0, ge);
1621
+ var se = K[2] - 1 || 0, he = (K[7] || "0").substring(0, 3);
1622
+ return j ? new Date(Date.UTC(K[1], se, K[3] || 1, K[4] || 0, K[5] || 0, K[6] || 0, he)) : new Date(K[1], se, K[3] || 1, K[4] || 0, K[5] || 0, K[6] || 0, he);
1623
1623
  }
1624
1624
  }
1625
1625
  return new Date(x);
1626
- }(D), this.$x = D.x || {}, this.init();
1627
- }, _.init = function() {
1628
- var D = this.$d;
1629
- this.$y = D.getFullYear(), this.$M = D.getMonth(), this.$D = D.getDate(), this.$W = D.getDay(), this.$H = D.getHours(), this.$m = D.getMinutes(), this.$s = D.getSeconds(), this.$ms = D.getMilliseconds();
1630
- }, _.$utils = function() {
1626
+ }(A), this.$x = A.x || {}, this.init();
1627
+ }, C.init = function() {
1628
+ var A = this.$d;
1629
+ this.$y = A.getFullYear(), this.$M = A.getMonth(), this.$D = A.getDate(), this.$W = A.getDay(), this.$H = A.getHours(), this.$m = A.getMinutes(), this.$s = A.getSeconds(), this.$ms = A.getMilliseconds();
1630
+ }, C.$utils = function() {
1631
1631
  return Q;
1632
- }, _.isValid = function() {
1632
+ }, C.isValid = function() {
1633
1633
  return this.$d.toString() !== v;
1634
- }, _.isSame = function(D, A) {
1635
- var x = ie(D);
1636
- return this.startOf(A) <= x && x <= this.endOf(A);
1637
- }, _.isAfter = function(D, A) {
1638
- return ie(D) < this.startOf(A);
1639
- }, _.isBefore = function(D, A) {
1640
- return this.endOf(A) < ie(D);
1641
- }, _.$g = function(D, A, x) {
1642
- return Q.u(D) ? this[A] : this.set(x, D);
1643
- }, _.unix = function() {
1634
+ }, C.isSame = function(A, M) {
1635
+ var x = oe(A);
1636
+ return this.startOf(M) <= x && x <= this.endOf(M);
1637
+ }, C.isAfter = function(A, M) {
1638
+ return oe(A) < this.startOf(M);
1639
+ }, C.isBefore = function(A, M) {
1640
+ return this.endOf(M) < oe(A);
1641
+ }, C.$g = function(A, M, x) {
1642
+ return Q.u(A) ? this[M] : this.set(x, A);
1643
+ }, C.unix = function() {
1644
1644
  return Math.floor(this.valueOf() / 1e3);
1645
- }, _.valueOf = function() {
1645
+ }, C.valueOf = function() {
1646
1646
  return this.$d.getTime();
1647
- }, _.startOf = function(D, A) {
1648
- var x = this, j = !!Q.u(A) || A, K = Q.p(D), ue = function(Te, ke) {
1649
- var Le = Q.w(x.$u ? Date.UTC(x.$y, ke, Te) : new Date(x.$y, ke, Te), x);
1647
+ }, C.startOf = function(A, M) {
1648
+ var x = this, j = !!Q.u(M) || M, K = Q.p(A), se = function(Te, we) {
1649
+ var Le = Q.w(x.$u ? Date.UTC(x.$y, we, Te) : new Date(x.$y, we, Te), x);
1650
1650
  return j ? Le : Le.endOf(m);
1651
- }, ge = function(Te, ke) {
1652
- return Q.w(x.toDate()[Te].apply(x.toDate("s"), (j ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ke)), x);
1653
- }, ve = this.$W, _e = this.$M, Ee = this.$D, xe = "set" + (this.$u ? "UTC" : "");
1651
+ }, he = function(Te, we) {
1652
+ return Q.w(x.toDate()[Te].apply(x.toDate("s"), (j ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(we)), x);
1653
+ }, ge = this.$W, Ce = this.$M, Ee = this.$D, xe = "set" + (this.$u ? "UTC" : "");
1654
1654
  switch (K) {
1655
1655
  case b:
1656
- return j ? ue(1, 0) : ue(31, 11);
1656
+ return j ? se(1, 0) : se(31, 11);
1657
1657
  case d:
1658
- return j ? ue(1, _e) : ue(0, _e + 1);
1658
+ return j ? se(1, Ce) : se(0, Ce + 1);
1659
1659
  case p:
1660
- var He = this.$locale().weekStart || 0, Ne = (ve < He ? ve + 7 : ve) - He;
1661
- return ue(j ? Ee - Ne : Ee + (6 - Ne), _e);
1660
+ var He = this.$locale().weekStart || 0, Ne = (ge < He ? ge + 7 : ge) - He;
1661
+ return se(j ? Ee - Ne : Ee + (6 - Ne), Ce);
1662
1662
  case m:
1663
- case P:
1664
- return ge(xe + "Hours", 0);
1663
+ case F:
1664
+ return he(xe + "Hours", 0);
1665
1665
  case u:
1666
- return ge(xe + "Minutes", 1);
1666
+ return he(xe + "Minutes", 1);
1667
1667
  case c:
1668
- return ge(xe + "Seconds", 2);
1668
+ return he(xe + "Seconds", 2);
1669
1669
  case s:
1670
- return ge(xe + "Milliseconds", 3);
1670
+ return he(xe + "Milliseconds", 3);
1671
1671
  default:
1672
1672
  return this.clone();
1673
1673
  }
1674
- }, _.endOf = function(D) {
1675
- return this.startOf(D, !1);
1676
- }, _.$set = function(D, A) {
1677
- var x, j = Q.p(D), K = "set" + (this.$u ? "UTC" : ""), ue = (x = {}, x[m] = K + "Date", x[P] = K + "Date", x[d] = K + "Month", x[b] = K + "FullYear", x[u] = K + "Hours", x[c] = K + "Minutes", x[s] = K + "Seconds", x[o] = K + "Milliseconds", x)[j], ge = j === m ? this.$D + (A - this.$W) : A;
1674
+ }, C.endOf = function(A) {
1675
+ return this.startOf(A, !1);
1676
+ }, C.$set = function(A, M) {
1677
+ var x, j = Q.p(A), K = "set" + (this.$u ? "UTC" : ""), se = (x = {}, x[m] = K + "Date", x[F] = K + "Date", x[d] = K + "Month", x[b] = K + "FullYear", x[u] = K + "Hours", x[c] = K + "Minutes", x[s] = K + "Seconds", x[o] = K + "Milliseconds", x)[j], he = j === m ? this.$D + (M - this.$W) : M;
1678
1678
  if (j === d || j === b) {
1679
- var ve = this.clone().set(P, 1);
1680
- ve.$d[ue](ge), ve.init(), this.$d = ve.set(P, Math.min(this.$D, ve.daysInMonth())).$d;
1679
+ var ge = this.clone().set(F, 1);
1680
+ ge.$d[se](he), ge.init(), this.$d = ge.set(F, Math.min(this.$D, ge.daysInMonth())).$d;
1681
1681
  } else
1682
- ue && this.$d[ue](ge);
1682
+ se && this.$d[se](he);
1683
1683
  return this.init(), this;
1684
- }, _.set = function(D, A) {
1685
- return this.clone().$set(D, A);
1686
- }, _.get = function(D) {
1687
- return this[Q.p(D)]();
1688
- }, _.add = function(D, A) {
1684
+ }, C.set = function(A, M) {
1685
+ return this.clone().$set(A, M);
1686
+ }, C.get = function(A) {
1687
+ return this[Q.p(A)]();
1688
+ }, C.add = function(A, M) {
1689
1689
  var x, j = this;
1690
- D = Number(D);
1691
- var K = Q.p(A), ue = function(_e) {
1692
- var Ee = ie(j);
1693
- return Q.w(Ee.date(Ee.date() + Math.round(_e * D)), j);
1690
+ A = Number(A);
1691
+ var K = Q.p(M), se = function(Ce) {
1692
+ var Ee = oe(j);
1693
+ return Q.w(Ee.date(Ee.date() + Math.round(Ce * A)), j);
1694
1694
  };
1695
1695
  if (K === d)
1696
- return this.set(d, this.$M + D);
1696
+ return this.set(d, this.$M + A);
1697
1697
  if (K === b)
1698
- return this.set(b, this.$y + D);
1698
+ return this.set(b, this.$y + A);
1699
1699
  if (K === m)
1700
- return ue(1);
1700
+ return se(1);
1701
1701
  if (K === p)
1702
- return ue(7);
1703
- var ge = (x = {}, x[c] = a, x[u] = r, x[s] = e, x)[K] || 1, ve = this.$d.getTime() + D * ge;
1704
- return Q.w(ve, this);
1705
- }, _.subtract = function(D, A) {
1706
- return this.add(-1 * D, A);
1707
- }, _.format = function(D) {
1708
- var A = this, x = this.$locale();
1702
+ return se(7);
1703
+ var he = (x = {}, x[c] = a, x[u] = r, x[s] = e, x)[K] || 1, ge = this.$d.getTime() + A * he;
1704
+ return Q.w(ge, this);
1705
+ }, C.subtract = function(A, M) {
1706
+ return this.add(-1 * A, M);
1707
+ }, C.format = function(A) {
1708
+ var M = this, x = this.$locale();
1709
1709
  if (!this.isValid())
1710
1710
  return x.invalidDate || v;
1711
- var j = D || "YYYY-MM-DDTHH:mm:ssZ", K = Q.z(this), ue = this.$H, ge = this.$m, ve = this.$M, _e = x.weekdays, Ee = x.months, xe = function(ke, Le, rt, Je) {
1712
- return ke && (ke[Le] || ke(A, j)) || rt[Le].slice(0, Je);
1713
- }, He = function(ke) {
1714
- return Q.s(ue % 12 || 12, ke, "0");
1715
- }, Ne = x.meridiem || function(ke, Le, rt) {
1716
- var Je = ke < 12 ? "AM" : "PM";
1711
+ var j = A || "YYYY-MM-DDTHH:mm:ssZ", K = Q.z(this), se = this.$H, he = this.$m, ge = this.$M, Ce = x.weekdays, Ee = x.months, xe = function(we, Le, rt, Je) {
1712
+ return we && (we[Le] || we(M, j)) || rt[Le].slice(0, Je);
1713
+ }, He = function(we) {
1714
+ return Q.s(se % 12 || 12, we, "0");
1715
+ }, Ne = x.meridiem || function(we, Le, rt) {
1716
+ var Je = we < 12 ? "AM" : "PM";
1717
1717
  return rt ? Je.toLowerCase() : Je;
1718
- }, Te = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: ve + 1, MM: Q.s(ve + 1, 2, "0"), MMM: xe(x.monthsShort, ve, Ee, 3), MMMM: xe(Ee, ve), D: this.$D, DD: Q.s(this.$D, 2, "0"), d: String(this.$W), dd: xe(x.weekdaysMin, this.$W, _e, 2), ddd: xe(x.weekdaysShort, this.$W, _e, 3), dddd: _e[this.$W], H: String(ue), HH: Q.s(ue, 2, "0"), h: He(1), hh: He(2), a: Ne(ue, ge, !0), A: Ne(ue, ge, !1), m: String(ge), mm: Q.s(ge, 2, "0"), s: String(this.$s), ss: Q.s(this.$s, 2, "0"), SSS: Q.s(this.$ms, 3, "0"), Z: K };
1719
- return j.replace(I, function(ke, Le) {
1720
- return Le || Te[ke] || K.replace(":", "");
1718
+ }, Te = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: ge + 1, MM: Q.s(ge + 1, 2, "0"), MMM: xe(x.monthsShort, ge, Ee, 3), MMMM: xe(Ee, ge), D: this.$D, DD: Q.s(this.$D, 2, "0"), d: String(this.$W), dd: xe(x.weekdaysMin, this.$W, Ce, 2), ddd: xe(x.weekdaysShort, this.$W, Ce, 3), dddd: Ce[this.$W], H: String(se), HH: Q.s(se, 2, "0"), h: He(1), hh: He(2), a: Ne(se, he, !0), A: Ne(se, he, !1), m: String(he), mm: Q.s(he, 2, "0"), s: String(this.$s), ss: Q.s(this.$s, 2, "0"), SSS: Q.s(this.$ms, 3, "0"), Z: K };
1719
+ return j.replace(I, function(we, Le) {
1720
+ return Le || Te[we] || K.replace(":", "");
1721
1721
  });
1722
- }, _.utcOffset = function() {
1722
+ }, C.utcOffset = function() {
1723
1723
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1724
- }, _.diff = function(D, A, x) {
1725
- var j, K = Q.p(A), ue = ie(D), ge = (ue.utcOffset() - this.utcOffset()) * a, ve = this - ue, _e = Q.m(this, ue);
1726
- return _e = (j = {}, j[b] = _e / 12, j[d] = _e, j[g] = _e / 3, j[p] = (ve - ge) / 6048e5, j[m] = (ve - ge) / 864e5, j[u] = ve / r, j[c] = ve / a, j[s] = ve / e, j)[K] || ve, x ? _e : Q.a(_e);
1727
- }, _.daysInMonth = function() {
1724
+ }, C.diff = function(A, M, x) {
1725
+ var j, K = Q.p(M), se = oe(A), he = (se.utcOffset() - this.utcOffset()) * a, ge = this - se, Ce = Q.m(this, se);
1726
+ return Ce = (j = {}, j[b] = Ce / 12, j[d] = Ce, j[g] = Ce / 3, j[p] = (ge - he) / 6048e5, j[m] = (ge - he) / 864e5, j[u] = ge / r, j[c] = ge / a, j[s] = ge / e, j)[K] || ge, x ? Ce : Q.a(Ce);
1727
+ }, C.daysInMonth = function() {
1728
1728
  return this.endOf(d).$D;
1729
- }, _.$locale = function() {
1729
+ }, C.$locale = function() {
1730
1730
  return ee[this.$L];
1731
- }, _.locale = function(D, A) {
1732
- if (!D)
1731
+ }, C.locale = function(A, M) {
1732
+ if (!A)
1733
1733
  return this.$L;
1734
- var x = this.clone(), j = pe(D, A, !0);
1734
+ var x = this.clone(), j = me(A, M, !0);
1735
1735
  return j && (x.$L = j), x;
1736
- }, _.clone = function() {
1736
+ }, C.clone = function() {
1737
1737
  return Q.w(this.$d, this);
1738
- }, _.toDate = function() {
1738
+ }, C.toDate = function() {
1739
1739
  return new Date(this.valueOf());
1740
- }, _.toJSON = function() {
1740
+ }, C.toJSON = function() {
1741
1741
  return this.isValid() ? this.toISOString() : null;
1742
- }, _.toISOString = function() {
1742
+ }, C.toISOString = function() {
1743
1743
  return this.$d.toISOString();
1744
- }, _.toString = function() {
1744
+ }, C.toString = function() {
1745
1745
  return this.$d.toUTCString();
1746
- }, M;
1747
- }(), te = W.prototype;
1748
- return ie.prototype = te, [["$ms", o], ["$s", s], ["$m", c], ["$H", u], ["$W", m], ["$M", d], ["$y", b], ["$D", P]].forEach(function(M) {
1749
- te[M[1]] = function(_) {
1750
- return this.$g(_, M[0], M[1]);
1746
+ }, D;
1747
+ }(), W = Me.prototype;
1748
+ return oe.prototype = W, [["$ms", o], ["$s", s], ["$m", c], ["$H", u], ["$W", m], ["$M", d], ["$y", b], ["$D", F]].forEach(function(D) {
1749
+ W[D[1]] = function(C) {
1750
+ return this.$g(C, D[0], D[1]);
1751
1751
  };
1752
- }), ie.extend = function(M, _) {
1753
- return M.$i || (M(_, W, ie), M.$i = !0), ie;
1754
- }, ie.locale = pe, ie.isDayjs = de, ie.unix = function(M) {
1755
- return ie(1e3 * M);
1756
- }, ie.en = ee[ae], ie.Ls = ee, ie.p = {}, ie;
1752
+ }), oe.extend = function(D, C) {
1753
+ return D.$i || (D(C, Me, oe), D.$i = !0), oe;
1754
+ }, oe.locale = me, oe.isDayjs = ue, oe.unix = function(D) {
1755
+ return oe(1e3 * D);
1756
+ }, oe.en = ee[ne], oe.Ls = ee, oe.p = {}, oe;
1757
1757
  });
1758
1758
  })(Wi);
1759
- const Ae = ca;
1759
+ const De = ca;
1760
1760
  var fa = {}, qi = {
1761
1761
  get exports() {
1762
1762
  return fa;
@@ -1798,21 +1798,21 @@ var fa = {}, qi = {
1798
1798
  var I = this.$utils().u;
1799
1799
  if (I(v))
1800
1800
  return this.$u ? 0 : I(this.$offset) ? d.call(this) : this.$offset;
1801
- if (typeof v == "string" && (v = function(ae) {
1802
- ae === void 0 && (ae = "");
1803
- var ee = ae.match(a);
1801
+ if (typeof v == "string" && (v = function(ne) {
1802
+ ne === void 0 && (ne = "");
1803
+ var ee = ne.match(a);
1804
1804
  if (!ee)
1805
1805
  return null;
1806
- var de = ("" + ee[0]).match(r) || ["-", 0, 0], pe = de[0], ie = 60 * +de[1] + +de[2];
1807
- return ie === 0 ? 0 : pe === "+" ? ie : -ie;
1806
+ var ue = ("" + ee[0]).match(r) || ["-", 0, 0], me = ue[0], oe = 60 * +ue[1] + +ue[2];
1807
+ return oe === 0 ? 0 : me === "+" ? oe : -oe;
1808
1808
  }(v), v === null))
1809
1809
  return this;
1810
- var V = Math.abs(v) <= 16 ? 60 * v : v, z = this;
1810
+ var P = Math.abs(v) <= 16 ? 60 * v : v, z = this;
1811
1811
  if (O)
1812
- return z.$offset = V, z.$u = v === 0, z;
1812
+ return z.$offset = P, z.$u = v === 0, z;
1813
1813
  if (v !== 0) {
1814
1814
  var U = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
1815
- (z = this.local().add(V + U, e)).$offset = V, z.$x.$localOffset = U;
1815
+ (z = this.local().add(P + U, e)).$offset = P, z.$x.$localOffset = U;
1816
1816
  } else
1817
1817
  z = this.utc();
1818
1818
  return z;
@@ -1835,31 +1835,31 @@ var fa = {}, qi = {
1835
1835
  u.toDate = function(v) {
1836
1836
  return v === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : b.call(this);
1837
1837
  };
1838
- var P = u.diff;
1838
+ var F = u.diff;
1839
1839
  u.diff = function(v, O, I) {
1840
1840
  if (v && this.$u === v.$u)
1841
- return P.call(this, v, O, I);
1842
- var V = this.local(), z = c(v).local();
1843
- return P.call(V, z, O, I);
1841
+ return F.call(this, v, O, I);
1842
+ var P = this.local(), z = c(v).local();
1843
+ return F.call(P, z, O, I);
1844
1844
  };
1845
1845
  };
1846
1846
  });
1847
1847
  })(qi);
1848
1848
  const Gi = fa;
1849
- Ae.extend(Gi);
1850
- const kt = ".000000Z", jn = "YYYY-MM-DDTHH:mm:ss", Lr = "1970-01-01T00:00:00.000000Z", Br = "2100-01-01T00:00:00.000000Z", Ki = () => Ae().utc().toDate(), Bp = () => qo(Ae().utc().unix()), Rn = (t = !0, n = !1) => t && !n ? Ae().utc().format("YYYY-MM-DDTHH:mm:ss") + kt : t && n ? Ae().utc().format("YYYY-MM-DDTHH:mm:00") + kt : !t && n ? Ae().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : Ae().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", jp = (t = 0) => t === 0 ? Ae().startOf("day").utc().format(jn) + kt : Ae().add(t, "days").startOf("day").utc().format(jn) + kt, Rp = (t = 0) => t === 0 ? Ae().endOf("day").utc().format(jn) + kt : Ae().add(t, "days").endOf("day").utc().format(jn) + kt, zp = (t = 0, n = null) => {
1849
+ De.extend(Gi);
1850
+ const kt = ".000000Z", jn = "YYYY-MM-DDTHH:mm:ss", Lr = "1970-01-01T00:00:00.000000Z", Br = "2100-01-01T00:00:00.000000Z", Ki = () => De().utc().toDate(), Bp = () => qo(De().utc().unix()), Rn = (t = !0, n = !1) => t && !n ? De().utc().format("YYYY-MM-DDTHH:mm:ss") + kt : t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00") + kt : !t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : De().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", jp = (t = 0) => t === 0 ? De().startOf("day").utc().format(jn) + kt : De().add(t, "days").startOf("day").utc().format(jn) + kt, Rp = (t = 0) => t === 0 ? De().endOf("day").utc().format(jn) + kt : De().add(t, "days").endOf("day").utc().format(jn) + kt, zp = (t = 0, n = null) => {
1851
1851
  if (n === null && (n = /* @__PURE__ */ new Date()), t === 0)
1852
1852
  return n;
1853
1853
  if (t > 0)
1854
- return Ae(n).add(t, "minutes").toDate();
1854
+ return De(n).add(t, "minutes").toDate();
1855
1855
  if (t < 0)
1856
- return Ae(n).subtract(t, "minutes").toDate();
1857
- }, Zi = (t) => Ae(t).utc().format("YYYY-MM-DDTHH:mm:ss") + kt, Up = () => Ae().utc().format("YYYY"), ma = (t, n = "") => t === Br || t === Lr || t === "" || be(t) || S(t) ? n : Ae(t).format("DD.MM.YYYY HH:mm"), Yp = (t, n = "") => {
1858
- if (t === Br || t === Lr || t === "" || be(t) || S(t))
1856
+ return De(n).subtract(t, "minutes").toDate();
1857
+ }, Zi = (t) => De(t).utc().format("YYYY-MM-DDTHH:mm:ss") + kt, Up = () => De().utc().format("YYYY"), ma = (t, n = "") => t === Br || t === Lr || t === "" || ye(t) || S(t) ? n : De(t).format("DD.MM.YYYY HH:mm"), Yp = (t, n = "") => {
1858
+ if (t === Br || t === Lr || t === "" || ye(t) || S(t))
1859
1859
  return n;
1860
1860
  let e = !0, a = !0;
1861
- const r = Ae(t), o = Ae();
1862
- return o.format("YYYY") === r.format("YYYY") && (e = !1), o.format("YYYY-MM-DD") === r.format("YYYY-MM-DD") && (a = !1), !e && !a ? Ae(r).format("H:mm") : e ? Ae(r).format("D.M.YYYY H:mm") : Ae(r).format("D.M. H:mm");
1861
+ const r = De(t), o = De();
1862
+ return o.format("YYYY") === r.format("YYYY") && (e = !1), o.format("YYYY-MM-DD") === r.format("YYYY-MM-DD") && (a = !1), !e && !a ? De(r).format("H:mm") : e ? De(r).format("D.M.YYYY H:mm") : De(r).format("D.M. H:mm");
1863
1863
  }, Qi = { class: "d-flex align-center" }, Xi = {
1864
1864
  key: 0,
1865
1865
  class: "mr-2"
@@ -1880,7 +1880,7 @@ const kt = ".000000Z", jn = "YYYY-MM-DDTHH:mm:ss", Lr = "1970-01-01T00:00:00.000
1880
1880
  title: f(r)("common.model.tracking.created")
1881
1881
  }, {
1882
1882
  default: y(() => [
1883
- ne("div", Qi, [
1883
+ te("div", Qi, [
1884
1884
  t.hideCreatedAt ? Z("", !0) : (k(), H("div", Xi, $(f(e)), 1))
1885
1885
  ])
1886
1886
  ]),
@@ -1890,7 +1890,7 @@ const kt = ".000000Z", jn = "YYYY-MM-DDTHH:mm:ss", Lr = "1970-01-01T00:00:00.000
1890
1890
  title: f(r)("common.model.tracking.modified")
1891
1891
  }, {
1892
1892
  default: y(() => [
1893
- ne("div", el, [
1893
+ te("div", el, [
1894
1894
  t.hideModifiedAt ? Z("", !0) : (k(), H("div", tl, $(f(a)), 1))
1895
1895
  ])
1896
1896
  ]),
@@ -1956,7 +1956,7 @@ const Wp = /* @__PURE__ */ L({
1956
1956
  set(u) {
1957
1957
  n("update:modelValue", { ...e.modelValue, model: u });
1958
1958
  }
1959
- }), { clearOne: r } = Sa(), { t: o } = G(), s = T(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), c = T(() => S(e.placeholder) ? e.modelValue.variant === "startsWith" ? o("common.model.filterPlaceholder.startsWith") : e.modelValue.variant === "eq" ? o("common.model.filterPlaceholder.eq") : o("common.model.filterPlaceholder.anyWhere") : e.placeholder);
1959
+ }), { clearOne: r } = Sa(), { t: o } = G(), s = T(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), c = T(() => S(e.placeholder) ? e.modelValue.variant === "startsWith" ? o("common.model.filterPlaceholder.startsWith") : e.modelValue.variant === "eq" ? o("common.model.filterPlaceholder.eq") : e.modelValue.variant === "contains" ? o("common.model.filterPlaceholder.contains") : "" : e.placeholder);
1960
1960
  return (u, m) => (k(), E(Hn, {
1961
1961
  modelValue: f(a),
1962
1962
  "onUpdate:modelValue": m[0] || (m[0] = (p) => ze(a) ? a.value = p : null),
@@ -1964,7 +1964,7 @@ const Wp = /* @__PURE__ */ L({
1964
1964
  placeholder: f(c),
1965
1965
  clearable: !t.modelValue.mandatory,
1966
1966
  "data-cy": t.dataCy,
1967
- "onClick:clear": m[1] || (m[1] = oe((p) => f(r)(t.modelValue), ["stop"]))
1967
+ "onClick:clear": m[1] || (m[1] = re((p) => f(r)(t.modelValue), ["stop"]))
1968
1968
  }, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
1969
1969
  }
1970
1970
  }), qp = /* @__PURE__ */ L({
@@ -1989,7 +1989,7 @@ const Wp = /* @__PURE__ */ L({
1989
1989
  label: f(s),
1990
1990
  clearable: !t.modelValue.mandatory,
1991
1991
  "data-cy": t.dataCy,
1992
- "onClick:clear": u[1] || (u[1] = oe((m) => f(r)(t.modelValue), ["stop"]))
1992
+ "onClick:clear": u[1] || (u[1] = re((m) => f(r)(t.modelValue), ["stop"]))
1993
1993
  }, null, 8, ["modelValue", "label", "clearable", "data-cy"]));
1994
1994
  }
1995
1995
  }), lt = (t) => {
@@ -2006,16 +2006,16 @@ const Wp = /* @__PURE__ */ L({
2006
2006
  const e = J(!1), a = (s) => {
2007
2007
  lt(s), e.value = !e.value, n("advancedFilter");
2008
2008
  }, r = T(() => e.value ? "mdi-chevron-double-up" : "mdi-chevron-double-down"), { t: o } = G();
2009
- return (s, c) => (k(), E(le, {
2010
- class: Ce(t.buttonClass),
2009
+ return (s, c) => (k(), E(ie, {
2010
+ class: ke(t.buttonClass),
2011
2011
  "data-cy": t.dataCy,
2012
2012
  icon: "",
2013
2013
  size: "x-small",
2014
2014
  variant: "text",
2015
- onClick: oe(a, ["stop"])
2015
+ onClick: re(a, ["stop"])
2016
2016
  }, {
2017
2017
  default: y(() => [
2018
- w(he, { icon: f(r) }, null, 8, ["icon"]),
2018
+ w(pe, { icon: f(r) }, null, 8, ["icon"]),
2019
2019
  w(Ye, {
2020
2020
  activator: "parent",
2021
2021
  location: "bottom"
@@ -2042,13 +2042,13 @@ const Wp = /* @__PURE__ */ L({
2042
2042
  const e = (r) => {
2043
2043
  lt(r), n("submit");
2044
2044
  }, { t: a } = G();
2045
- return (r, o) => (k(), E(le, {
2046
- class: Ce(t.buttonClass),
2045
+ return (r, o) => (k(), E(ie, {
2046
+ class: ke(t.buttonClass),
2047
2047
  "data-cy": t.dataCy,
2048
2048
  color: "primary",
2049
2049
  type: "submit",
2050
2050
  variant: t.touched ? "flat" : "text",
2051
- onClick: oe(e, ["stop"])
2051
+ onClick: re(e, ["stop"])
2052
2052
  }, {
2053
2053
  default: y(() => [
2054
2054
  B($(f(a)(t.buttonT)), 1)
@@ -2068,16 +2068,16 @@ const Wp = /* @__PURE__ */ L({
2068
2068
  const e = (r) => {
2069
2069
  lt(r), n("reset");
2070
2070
  }, { t: a } = G();
2071
- return (r, o) => (k(), E(le, {
2072
- class: Ce([t.buttonClass, "px-2"]),
2071
+ return (r, o) => (k(), E(ie, {
2072
+ class: ke([t.buttonClass, "px-2"]),
2073
2073
  "data-cy": t.dataCy,
2074
2074
  color: "light",
2075
2075
  "min-width": "36px",
2076
2076
  variant: "flat",
2077
- onClick: oe(e, ["stop"])
2077
+ onClick: re(e, ["stop"])
2078
2078
  }, {
2079
2079
  default: y(() => [
2080
- w(he, {
2080
+ w(pe, {
2081
2081
  color: "grey darken-1",
2082
2082
  icon: "mdi-filter-remove-outline"
2083
2083
  }),
@@ -2117,7 +2117,7 @@ const Wp = /* @__PURE__ */ L({
2117
2117
  default: y(() => [
2118
2118
  w(Jt, { class: "" }, {
2119
2119
  default: y(() => [
2120
- Me(o.$slots, "top")
2120
+ Ae(o.$slots, "top")
2121
2121
  ]),
2122
2122
  _: 3
2123
2123
  })
@@ -2141,11 +2141,11 @@ const Wp = /* @__PURE__ */ L({
2141
2141
  })) : Z("", !0),
2142
2142
  w(Jt, { class: "" }, {
2143
2143
  default: y(() => [
2144
- Me(o.$slots, "default"),
2144
+ Ae(o.$slots, "default"),
2145
2145
  t.enableAdvanced ? (k(), E(Co, { key: 0 }, {
2146
2146
  default: y(() => [
2147
- vr(ne("div", null, [
2148
- Me(o.$slots, "advanced")
2147
+ vr(te("div", null, [
2148
+ Ae(o.$slots, "advanced")
2149
2149
  ], 512), [
2150
2150
  [yr, a.value]
2151
2151
  ])
@@ -2161,7 +2161,7 @@ const Wp = /* @__PURE__ */ L({
2161
2161
  cols: "auto"
2162
2162
  }, {
2163
2163
  default: y(() => [
2164
- Me(o.$slots, "buttons", {}, () => [
2164
+ Ae(o.$slots, "buttons", {}, () => [
2165
2165
  w(al, { touched: t.touched }, null, 8, ["touched"]),
2166
2166
  w(rl, { onReset: e })
2167
2167
  ])
@@ -2228,7 +2228,7 @@ const Kp = /* @__PURE__ */ L({
2228
2228
  default: y(() => [
2229
2229
  (k(!0), H(Ue, null, Ct(t.availableGrants, (c) => {
2230
2230
  var u;
2231
- return k(), E(le, {
2231
+ return k(), E(ie, {
2232
2232
  key: c,
2233
2233
  value: c,
2234
2234
  color: (u = f(r)(c)) == null ? void 0 : u.color
@@ -2345,7 +2345,7 @@ const ll = (t) => Wn(t) && Object.hasOwn(t, "owners"), sl = (t) => Object.hasOwn
2345
2345
  }
2346
2346
  }, Wr = "ROLE_ADMIN";
2347
2347
  function ul(t) {
2348
- const n = S(t) || S(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (n ? we(qn, void 0) : void 0), a = (t == null ? void 0 : t.customAclProvider) ?? (n ? we(Yr, void 0) : void 0), r = (u, m) => {
2348
+ const n = S(t) || S(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (n ? be(qn, void 0) : void 0), a = (t == null ? void 0 : t.customAclProvider) ?? (n ? be(Yr, void 0) : void 0), r = (u, m) => {
2349
2349
  if (S(e))
2350
2350
  throw new Error("Composable useAcl can be used as a global state without providing current user as a parameter.");
2351
2351
  if (nr(a) && nr(a.can))
@@ -2396,10 +2396,10 @@ const dl = /* @__PURE__ */ L({
2396
2396
  subject: { default: void 0 }
2397
2397
  },
2398
2398
  setup(t) {
2399
- const n = t, e = we(qn), { can: a } = ul(), r = J(a(n.permission, n.subject));
2400
- return Fe(e, () => {
2399
+ const n = t, e = be(qn), { can: a } = ul(), r = J(a(n.permission, n.subject));
2400
+ return Ve(e, () => {
2401
2401
  r.value = a(n.permission, n.subject);
2402
- }), (o, s) => r.value ? Me(o.$slots, "default", { key: 0 }) : Z("", !0);
2402
+ }), (o, s) => r.value ? Ae(o.$slots, "default", { key: 0 }) : Z("", !0);
2403
2403
  }
2404
2404
  }), lr = /* @__PURE__ */ L({
2405
2405
  __name: "ADatetime",
@@ -2425,7 +2425,7 @@ var ta = [
2425
2425
  "onValueUpdate",
2426
2426
  "onYearChange",
2427
2427
  "onPreCalendarPosition"
2428
- ], Pt = {
2428
+ ], Ft = {
2429
2429
  _disable: [],
2430
2430
  allowInput: !1,
2431
2431
  allowInvalidPreload: !1,
@@ -2557,7 +2557,7 @@ var ta = [
2557
2557
  hourAriaLabel: "Hour",
2558
2558
  minuteAriaLabel: "Minute",
2559
2559
  time_24hr: !1
2560
- }, Ve = function(t, n) {
2560
+ }, Pe = function(t, n) {
2561
2561
  return n === void 0 && (n = 2), ("000" + t).slice(n * -1);
2562
2562
  }, Ge = function(t) {
2563
2563
  return t === !0 ? 1 : 0;
@@ -2579,7 +2579,7 @@ function Ie(t, n, e) {
2579
2579
  return t.classList.add(n);
2580
2580
  t.classList.remove(n);
2581
2581
  }
2582
- function fe(t, n, e) {
2582
+ function ce(t, n, e) {
2583
2583
  var a = window.document.createElement(t);
2584
2584
  return n = n || "", e = e || "", a.className = n, e !== void 0 && (a.textContent = e), a;
2585
2585
  }
@@ -2593,8 +2593,8 @@ function qr(t, n) {
2593
2593
  if (t.parentNode)
2594
2594
  return qr(t.parentNode, n);
2595
2595
  }
2596
- function Fn(t, n) {
2597
- var e = fe("div", "numInputWrapper"), a = fe("input", "numInput " + t), r = fe("span", "arrowUp"), o = fe("span", "arrowDown");
2596
+ function Vn(t, n) {
2597
+ var e = ce("div", "numInputWrapper"), a = ce("input", "numInput " + t), r = ce("span", "arrowUp"), o = ce("span", "arrowDown");
2598
2598
  if (navigator.userAgent.indexOf("MSIE 9.0") === -1 ? a.type = "number" : (a.type = "text", a.pattern = "\\d*"), n !== void 0)
2599
2599
  for (var s in n)
2600
2600
  a.setAttribute(s, n[s]);
@@ -2714,10 +2714,10 @@ var aa = function() {
2714
2714
  return zn(qt.n(t, n, e) - 1, !1, n);
2715
2715
  },
2716
2716
  G: function(t, n, e) {
2717
- return Ve(qt.h(t, n, e));
2717
+ return Pe(qt.h(t, n, e));
2718
2718
  },
2719
2719
  H: function(t) {
2720
- return Ve(t.getHours());
2720
+ return Pe(t.getHours());
2721
2721
  },
2722
2722
  J: function(t, n) {
2723
2723
  return n.ordinal !== void 0 ? t.getDate() + n.ordinal(t.getDate()) : t.getDate();
@@ -2729,7 +2729,7 @@ var aa = function() {
2729
2729
  return zn(t.getMonth(), !0, n);
2730
2730
  },
2731
2731
  S: function(t) {
2732
- return Ve(t.getSeconds());
2732
+ return Pe(t.getSeconds());
2733
2733
  },
2734
2734
  U: function(t) {
2735
2735
  return t.getTime() / 1e3;
@@ -2738,16 +2738,16 @@ var aa = function() {
2738
2738
  return e.getWeek(t);
2739
2739
  },
2740
2740
  Y: function(t) {
2741
- return Ve(t.getFullYear(), 4);
2741
+ return Pe(t.getFullYear(), 4);
2742
2742
  },
2743
2743
  d: function(t) {
2744
- return Ve(t.getDate());
2744
+ return Pe(t.getDate());
2745
2745
  },
2746
2746
  h: function(t) {
2747
2747
  return t.getHours() % 12 ? t.getHours() % 12 : 12;
2748
2748
  },
2749
2749
  i: function(t) {
2750
- return Ve(t.getMinutes());
2750
+ return Pe(t.getMinutes());
2751
2751
  },
2752
2752
  j: function(t) {
2753
2753
  return t.getDate();
@@ -2756,7 +2756,7 @@ var aa = function() {
2756
2756
  return n.weekdays.longhand[t.getDay()];
2757
2757
  },
2758
2758
  m: function(t) {
2759
- return Ve(t.getMonth() + 1);
2759
+ return Pe(t.getMonth() + 1);
2760
2760
  },
2761
2761
  n: function(t) {
2762
2762
  return t.getMonth() + 1;
@@ -2774,7 +2774,7 @@ var aa = function() {
2774
2774
  return String(t.getFullYear()).substring(2);
2775
2775
  }
2776
2776
  }, Gr = function(t) {
2777
- var n = t.config, e = n === void 0 ? Pt : n, a = t.l10n, r = a === void 0 ? en : a, o = t.isMobile, s = o === void 0 ? !1 : o;
2777
+ var n = t.config, e = n === void 0 ? Ft : n, a = t.l10n, r = a === void 0 ? en : a, o = t.isMobile, s = o === void 0 ? !1 : o;
2778
2778
  return function(c, u, m) {
2779
2779
  var p = m || r;
2780
2780
  return e.formatDate !== void 0 && !s ? e.formatDate(c, u, p) : u.split("").map(function(d, g, b) {
@@ -2782,7 +2782,7 @@ var aa = function() {
2782
2782
  }).join("");
2783
2783
  };
2784
2784
  }, pa = function(t) {
2785
- var n = t.config, e = n === void 0 ? Pt : n, a = t.l10n, r = a === void 0 ? en : a;
2785
+ var n = t.config, e = n === void 0 ? Ft : n, a = t.l10n, r = a === void 0 ? en : a;
2786
2786
  return function(o, s, c, u) {
2787
2787
  if (!(o !== 0 && !o)) {
2788
2788
  var m = u || r, p, d = o;
@@ -2791,7 +2791,7 @@ var aa = function() {
2791
2791
  else if (typeof o != "string" && o.toFixed !== void 0)
2792
2792
  p = new Date(o);
2793
2793
  else if (typeof o == "string") {
2794
- var g = s || (e || Pt).dateFormat, b = String(o).trim();
2794
+ var g = s || (e || Ft).dateFormat, b = String(o).trim();
2795
2795
  if (b === "today")
2796
2796
  p = /* @__PURE__ */ new Date(), c = !0;
2797
2797
  else if (e && e.parseDate)
@@ -2799,22 +2799,22 @@ var aa = function() {
2799
2799
  else if (/Z$/.test(b) || /GMT$/.test(b))
2800
2800
  p = new Date(o);
2801
2801
  else {
2802
- for (var P = void 0, v = [], O = 0, I = 0, V = ""; O < g.length; O++) {
2803
- var z = g[O], U = z === "\\", ae = g[O - 1] === "\\" || U;
2804
- if (wt[z] && !ae) {
2805
- V += wt[z];
2806
- var ee = new RegExp(V).exec(o);
2807
- ee && (P = !0) && v[z !== "Y" ? "push" : "unshift"]({
2802
+ for (var F = void 0, v = [], O = 0, I = 0, P = ""; O < g.length; O++) {
2803
+ var z = g[O], U = z === "\\", ne = g[O - 1] === "\\" || U;
2804
+ if (wt[z] && !ne) {
2805
+ P += wt[z];
2806
+ var ee = new RegExp(P).exec(o);
2807
+ ee && (F = !0) && v[z !== "Y" ? "push" : "unshift"]({
2808
2808
  fn: cl[z],
2809
2809
  val: ee[++I]
2810
2810
  });
2811
2811
  } else
2812
- U || (V += ".");
2812
+ U || (P += ".");
2813
2813
  }
2814
- p = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), v.forEach(function(de) {
2815
- var pe = de.fn, ie = de.val;
2816
- return p = pe(p, ie, m) || p;
2817
- }), p = P ? p : void 0;
2814
+ p = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), v.forEach(function(ue) {
2815
+ var me = ue.fn, oe = ue.val;
2816
+ return p = me(p, oe, m) || p;
2817
+ }), p = F ? p : void 0;
2818
2818
  }
2819
2819
  }
2820
2820
  if (!(p instanceof Date && !isNaN(p.getTime()))) {
@@ -2884,10 +2884,10 @@ var $e = globalThis && globalThis.__assign || function() {
2884
2884
  }, hl = 300;
2885
2885
  function gl(t, n) {
2886
2886
  var e = {
2887
- config: $e($e({}, Pt), De.defaultConfig),
2887
+ config: $e($e({}, Ft), _e.defaultConfig),
2888
2888
  l10n: en
2889
2889
  };
2890
- e.parseDate = pa({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = v, e._setHoursFromDate = g, e._positionCalendar = vt, e.changeMonth = ge, e.changeYear = Ne, e.clear = ve, e.close = _e, e.onMouseOver = Je, e._createElement = fe, e.createDay = ee, e.destroy = Ee, e.isEnabled = Te, e.jumpToDate = V, e.updateValue = We, e.open = on, e.redraw = Rt, e.set = dn, e.setDate = cn, e.toggle = hn;
2890
+ e.parseDate = pa({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = v, e._setHoursFromDate = g, e._positionCalendar = vt, e.changeMonth = he, e.changeYear = Ne, e.clear = ge, e.close = Ce, e.onMouseOver = Je, e._createElement = ce, e.createDay = ee, e.destroy = Ee, e.isEnabled = Te, e.jumpToDate = P, e.updateValue = We, e.open = on, e.redraw = Rt, e.set = dn, e.setDate = cn, e.toggle = hn;
2891
2891
  function a() {
2892
2892
  e.utils = {
2893
2893
  getDaysInMonth: function(i, l) {
@@ -2896,9 +2896,9 @@ function gl(t, n) {
2896
2896
  };
2897
2897
  }
2898
2898
  function r() {
2899
- e.element = e.input = t, e.isOpen = !1, ln(), jt(), mn(), fn(), a(), e.isMobile || ae(), I(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && g(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)), c();
2899
+ e.element = e.input = t, e.isOpen = !1, ln(), jt(), mn(), fn(), a(), e.isMobile || ne(), I(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && g(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)), c();
2900
2900
  var i = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
2901
- !e.isMobile && i && vt(), ye("onReady");
2901
+ !e.isMobile && i && vt(), ve("onReady");
2902
2902
  }
2903
2903
  function o() {
2904
2904
  var i;
@@ -2922,8 +2922,8 @@ function gl(t, n) {
2922
2922
  l.setHours(h.hours, h.minutes, h.seconds, l.getMilliseconds()), e.selectedDates = [l], e.latestSelectedDateObj = l;
2923
2923
  }
2924
2924
  i !== void 0 && i.type !== "blur" && yn(i);
2925
- var C = e._input.value;
2926
- d(), We(), e._input.value !== C && e._debouncedChange();
2925
+ var _ = e._input.value;
2926
+ d(), We(), e._input.value !== _ && e._debouncedChange();
2927
2927
  }
2928
2928
  function m(i, l) {
2929
2929
  return i % 12 + 12 * Ge(l === e.l10n.amPM[1]);
@@ -2941,19 +2941,19 @@ function gl(t, n) {
2941
2941
  if (!(e.hourElement === void 0 || e.minuteElement === void 0)) {
2942
2942
  var i = (parseInt(e.hourElement.value.slice(-2), 10) || 0) % 24, l = (parseInt(e.minuteElement.value, 10) || 0) % 60, h = e.secondElement !== void 0 ? (parseInt(e.secondElement.value, 10) || 0) % 60 : 0;
2943
2943
  e.amPM !== void 0 && (i = m(i, e.amPM.textContent));
2944
- var C = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.minDate, !0) === 0, F = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
2944
+ var _ = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.minDate, !0) === 0, V = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
2945
2945
  if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
2946
2946
  var N = ra(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), X = ra(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), Y = ra(i, l, h);
2947
2947
  if (Y > X && Y < N) {
2948
- var re = ml(N);
2949
- i = re[0], l = re[1], h = re[2];
2948
+ var ae = ml(N);
2949
+ i = ae[0], l = ae[1], h = ae[2];
2950
2950
  }
2951
2951
  } else {
2952
- if (F) {
2952
+ if (V) {
2953
2953
  var R = e.config.maxTime !== void 0 ? e.config.maxTime : e.config.maxDate;
2954
2954
  i = Math.min(i, R.getHours()), i === R.getHours() && (l = Math.min(l, R.getMinutes())), l === R.getMinutes() && (h = Math.min(h, R.getSeconds()));
2955
2955
  }
2956
- if (C) {
2956
+ if (_) {
2957
2957
  var q = e.config.minTime !== void 0 ? e.config.minTime : e.config.minDate;
2958
2958
  i = Math.max(i, q.getHours()), i === q.getHours() && l < q.getMinutes() && (l = q.getMinutes()), l === q.getMinutes() && (h = Math.max(h, q.getSeconds()));
2959
2959
  }
@@ -2966,34 +2966,34 @@ function gl(t, n) {
2966
2966
  l && l instanceof Date && b(l.getHours(), l.getMinutes(), l.getSeconds());
2967
2967
  }
2968
2968
  function b(i, l, h) {
2969
- e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(i % 24, l, h || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Ve(e.config.time_24hr ? i : (12 + i) % 12 + 12 * Ge(i % 12 === 0)), e.minuteElement.value = Ve(l), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[Ge(i >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Ve(h)));
2969
+ e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(i % 24, l, h || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Pe(e.config.time_24hr ? i : (12 + i) % 12 + 12 * Ge(i % 12 === 0)), e.minuteElement.value = Pe(l), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[Ge(i >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Pe(h)));
2970
2970
  }
2971
- function P(i) {
2971
+ function F(i) {
2972
2972
  var l = je(i), h = parseInt(l.value) + (i.delta || 0);
2973
2973
  (h / 1e3 > 1 || i.key === "Enter" && !/[^\d]/.test(h.toString())) && Ne(h);
2974
2974
  }
2975
- function v(i, l, h, C) {
2975
+ function v(i, l, h, _) {
2976
2976
  if (l instanceof Array)
2977
- return l.forEach(function(F) {
2978
- return v(i, F, h, C);
2977
+ return l.forEach(function(V) {
2978
+ return v(i, V, h, _);
2979
2979
  });
2980
2980
  if (i instanceof Array)
2981
- return i.forEach(function(F) {
2982
- return v(F, l, h, C);
2981
+ return i.forEach(function(V) {
2982
+ return v(V, l, h, _);
2983
2983
  });
2984
- i.addEventListener(l, h, C), e._handlers.push({
2984
+ i.addEventListener(l, h, _), e._handlers.push({
2985
2985
  remove: function() {
2986
- return i.removeEventListener(l, h, C);
2986
+ return i.removeEventListener(l, h, _);
2987
2987
  }
2988
2988
  });
2989
2989
  }
2990
2990
  function O() {
2991
- ye("onChange");
2991
+ ve("onChange");
2992
2992
  }
2993
2993
  function I() {
2994
2994
  if (e.config.wrap && ["open", "close", "toggle", "clear"].forEach(function(h) {
2995
- Array.prototype.forEach.call(e.element.querySelectorAll("[data-" + h + "]"), function(C) {
2996
- return v(C, "click", e[h]);
2995
+ Array.prototype.forEach.call(e.element.querySelectorAll("[data-" + h + "]"), function(_) {
2996
+ return v(_, "click", e[h]);
2997
2997
  });
2998
2998
  }), e.isMobile) {
2999
2999
  pn();
@@ -3002,7 +3002,7 @@ function gl(t, n) {
3002
3002
  var i = sr(rn, 50);
3003
3003
  if (e._debouncedChange = sr(O, hl), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && v(e.daysContainer, "mouseover", function(h) {
3004
3004
  e.config.mode === "range" && Je(je(h));
3005
- }), v(e._input, "keydown", rt), e.calendarContainer !== void 0 && v(e.calendarContainer, "keydown", rt), !e.config.inline && !e.config.static && v(window, "resize", i), window.ontouchstart !== void 0 ? v(window.document, "touchstart", He) : v(window.document, "mousedown", He), v(window.document, "focus", He, { capture: !0 }), e.config.clickOpens === !0 && (v(e._input, "focus", e.open), v(e._input, "click", e.open)), e.daysContainer !== void 0 && (v(e.monthNav, "click", vn), v(e.monthNav, ["keyup", "increment"], P), v(e.daysContainer, "click", zt)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
3005
+ }), v(e._input, "keydown", rt), e.calendarContainer !== void 0 && v(e.calendarContainer, "keydown", rt), !e.config.inline && !e.config.static && v(window, "resize", i), window.ontouchstart !== void 0 ? v(window.document, "touchstart", He) : v(window.document, "mousedown", He), v(window.document, "focus", He, { capture: !0 }), e.config.clickOpens === !0 && (v(e._input, "focus", e.open), v(e._input, "click", e.open)), e.daysContainer !== void 0 && (v(e.monthNav, "click", vn), v(e.monthNav, ["keyup", "increment"], F), v(e.daysContainer, "click", zt)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
3006
3006
  var l = function(h) {
3007
3007
  return je(h).select();
3008
3008
  };
@@ -3014,126 +3014,126 @@ function gl(t, n) {
3014
3014
  }
3015
3015
  e.config.allowInput && v(e._input, "blur", Le);
3016
3016
  }
3017
- function V(i, l) {
3018
- var h = i !== void 0 ? e.parseDate(i) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), C = e.currentYear, F = e.currentMonth;
3017
+ function P(i, l) {
3018
+ var h = i !== void 0 ? e.parseDate(i) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), _ = e.currentYear, V = e.currentMonth;
3019
3019
  try {
3020
3020
  h !== void 0 && (e.currentYear = h.getFullYear(), e.currentMonth = h.getMonth());
3021
3021
  } catch (N) {
3022
3022
  N.message = "Invalid date supplied: " + h, e.config.errorHandler(N);
3023
3023
  }
3024
- l && e.currentYear !== C && (ye("onYearChange"), M()), l && (e.currentYear !== C || e.currentMonth !== F) && ye("onMonthChange"), e.redraw();
3024
+ l && e.currentYear !== _ && (ve("onYearChange"), D()), l && (e.currentYear !== _ || e.currentMonth !== V) && ve("onMonthChange"), e.redraw();
3025
3025
  }
3026
3026
  function z(i) {
3027
3027
  var l = je(i);
3028
3028
  ~l.className.indexOf("arrow") && U(i, l.classList.contains("arrowUp") ? 1 : -1);
3029
3029
  }
3030
3030
  function U(i, l, h) {
3031
- var C = i && je(i), F = h || C && C.parentNode && C.parentNode.firstChild, N = $t("increment");
3032
- N.delta = l, F && F.dispatchEvent(N);
3031
+ var _ = i && je(i), V = h || _ && _.parentNode && _.parentNode.firstChild, N = $t("increment");
3032
+ N.delta = l, V && V.dispatchEvent(N);
3033
3033
  }
3034
- function ae() {
3034
+ function ne() {
3035
3035
  var i = window.document.createDocumentFragment();
3036
- if (e.calendarContainer = fe("div", "flatpickr-calendar"), e.calendarContainer.tabIndex = -1, !e.config.noCalendar) {
3037
- if (i.appendChild(A()), e.innerContainer = fe("div", "flatpickr-innerContainer"), e.config.weekNumbers) {
3038
- var l = ue(), h = l.weekWrapper, C = l.weekNumbers;
3039
- e.innerContainer.appendChild(h), e.weekNumbers = C, e.weekWrapper = h;
3036
+ if (e.calendarContainer = ce("div", "flatpickr-calendar"), e.calendarContainer.tabIndex = -1, !e.config.noCalendar) {
3037
+ if (i.appendChild(M()), e.innerContainer = ce("div", "flatpickr-innerContainer"), e.config.weekNumbers) {
3038
+ var l = se(), h = l.weekWrapper, _ = l.weekNumbers;
3039
+ e.innerContainer.appendChild(h), e.weekNumbers = _, e.weekWrapper = h;
3040
3040
  }
3041
- e.rContainer = fe("div", "flatpickr-rContainer"), e.rContainer.appendChild(j()), e.daysContainer || (e.daysContainer = fe("div", "flatpickr-days"), e.daysContainer.tabIndex = -1), te(), e.rContainer.appendChild(e.daysContainer), e.innerContainer.appendChild(e.rContainer), i.appendChild(e.innerContainer);
3041
+ e.rContainer = ce("div", "flatpickr-rContainer"), e.rContainer.appendChild(j()), e.daysContainer || (e.daysContainer = ce("div", "flatpickr-days"), e.daysContainer.tabIndex = -1), W(), e.rContainer.appendChild(e.daysContainer), e.innerContainer.appendChild(e.rContainer), i.appendChild(e.innerContainer);
3042
3042
  }
3043
3043
  e.config.enableTime && i.appendChild(x()), Ie(e.calendarContainer, "rangeMode", e.config.mode === "range"), Ie(e.calendarContainer, "animate", e.config.animate === !0), Ie(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(i);
3044
- var F = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
3045
- if ((e.config.inline || e.config.static) && (e.calendarContainer.classList.add(e.config.inline ? "inline" : "static"), e.config.inline && (!F && e.element.parentNode ? e.element.parentNode.insertBefore(e.calendarContainer, e._input.nextSibling) : e.config.appendTo !== void 0 && e.config.appendTo.appendChild(e.calendarContainer)), e.config.static)) {
3046
- var N = fe("div", "flatpickr-wrapper");
3044
+ var V = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
3045
+ if ((e.config.inline || e.config.static) && (e.calendarContainer.classList.add(e.config.inline ? "inline" : "static"), e.config.inline && (!V && e.element.parentNode ? e.element.parentNode.insertBefore(e.calendarContainer, e._input.nextSibling) : e.config.appendTo !== void 0 && e.config.appendTo.appendChild(e.calendarContainer)), e.config.static)) {
3046
+ var N = ce("div", "flatpickr-wrapper");
3047
3047
  e.element.parentNode && e.element.parentNode.insertBefore(N, e.element), N.appendChild(e.element), e.altInput && N.appendChild(e.altInput), N.appendChild(e.calendarContainer);
3048
3048
  }
3049
3049
  !e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
3050
3050
  }
3051
- function ee(i, l, h, C) {
3052
- var F = Te(l, !0), N = fe("span", i, l.getDate().toString());
3053
- return N.dateObj = l, N.$i = C, N.setAttribute("aria-label", e.formatDate(l, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Re(l, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")), F ? (N.tabIndex = -1, Ot(l) && (N.classList.add("selected"), e.selectedDateElem = N, e.config.mode === "range" && (Ie(N, "startRange", e.selectedDates[0] && Re(l, e.selectedDates[0], !0) === 0), Ie(N, "endRange", e.selectedDates[1] && Re(l, e.selectedDates[1], !0) === 0), i === "nextMonthDay" && N.classList.add("inRange")))) : N.classList.add("flatpickr-disabled"), e.config.mode === "range" && gn(l) && !Ot(l) && N.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && i !== "prevMonthDay" && C % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(l) + "</span>"), ye("onDayCreate", N), N;
3051
+ function ee(i, l, h, _) {
3052
+ var V = Te(l, !0), N = ce("span", i, l.getDate().toString());
3053
+ return N.dateObj = l, N.$i = _, N.setAttribute("aria-label", e.formatDate(l, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Re(l, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")), V ? (N.tabIndex = -1, Ot(l) && (N.classList.add("selected"), e.selectedDateElem = N, e.config.mode === "range" && (Ie(N, "startRange", e.selectedDates[0] && Re(l, e.selectedDates[0], !0) === 0), Ie(N, "endRange", e.selectedDates[1] && Re(l, e.selectedDates[1], !0) === 0), i === "nextMonthDay" && N.classList.add("inRange")))) : N.classList.add("flatpickr-disabled"), e.config.mode === "range" && gn(l) && !Ot(l) && N.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && i !== "prevMonthDay" && _ % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(l) + "</span>"), ve("onDayCreate", N), N;
3054
3054
  }
3055
- function de(i) {
3055
+ function ue(i) {
3056
3056
  i.focus(), e.config.mode === "range" && Je(i);
3057
3057
  }
3058
- function pe(i) {
3059
- for (var l = i > 0 ? 0 : e.config.showMonths - 1, h = i > 0 ? e.config.showMonths : -1, C = l; C != h; C += i)
3060
- for (var F = e.daysContainer.children[C], N = i > 0 ? 0 : F.children.length - 1, X = i > 0 ? F.children.length : -1, Y = N; Y != X; Y += i) {
3061
- var re = F.children[Y];
3062
- if (re.className.indexOf("hidden") === -1 && Te(re.dateObj))
3063
- return re;
3058
+ function me(i) {
3059
+ for (var l = i > 0 ? 0 : e.config.showMonths - 1, h = i > 0 ? e.config.showMonths : -1, _ = l; _ != h; _ += i)
3060
+ for (var V = e.daysContainer.children[_], N = i > 0 ? 0 : V.children.length - 1, X = i > 0 ? V.children.length : -1, Y = N; Y != X; Y += i) {
3061
+ var ae = V.children[Y];
3062
+ if (ae.className.indexOf("hidden") === -1 && Te(ae.dateObj))
3063
+ return ae;
3064
3064
  }
3065
3065
  }
3066
- function ie(i, l) {
3067
- for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, C = l > 0 ? e.config.showMonths : -1, F = l > 0 ? 1 : -1, N = h - e.currentMonth; N != C; N += F)
3068
- for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + l : l < 0 ? X.children.length - 1 : 0, re = X.children.length, R = Y; R >= 0 && R < re && R != (l > 0 ? re : -1); R += F) {
3066
+ function oe(i, l) {
3067
+ for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, _ = l > 0 ? e.config.showMonths : -1, V = l > 0 ? 1 : -1, N = h - e.currentMonth; N != _; N += V)
3068
+ for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + l : l < 0 ? X.children.length - 1 : 0, ae = X.children.length, R = Y; R >= 0 && R < ae && R != (l > 0 ? ae : -1); R += V) {
3069
3069
  var q = X.children[R];
3070
3070
  if (q.className.indexOf("hidden") === -1 && Te(q.dateObj) && Math.abs(i.$i - R) >= Math.abs(l))
3071
- return de(q);
3071
+ return ue(q);
3072
3072
  }
3073
- e.changeMonth(F), Q(pe(F), 0);
3073
+ e.changeMonth(V), Q(me(V), 0);
3074
3074
  }
3075
3075
  function Q(i, l) {
3076
- var h = o(), C = ke(h || document.body), F = i !== void 0 ? i : C ? h : e.selectedDateElem !== void 0 && ke(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && ke(e.todayDateElem) ? e.todayDateElem : pe(l > 0 ? 1 : -1);
3077
- F === void 0 ? e._input.focus() : C ? ie(F, l) : de(F);
3076
+ var h = o(), _ = we(h || document.body), V = i !== void 0 ? i : _ ? h : e.selectedDateElem !== void 0 && we(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && we(e.todayDateElem) ? e.todayDateElem : me(l > 0 ? 1 : -1);
3077
+ V === void 0 ? e._input.focus() : _ ? oe(V, l) : ue(V);
3078
3078
  }
3079
- function W(i, l) {
3080
- for (var h = (new Date(i, l, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, C = e.utils.getDaysInMonth((l - 1 + 12) % 12, i), F = e.utils.getDaysInMonth(l, i), N = window.document.createDocumentFragment(), X = e.config.showMonths > 1, Y = X ? "prevMonthDay hidden" : "prevMonthDay", re = X ? "nextMonthDay hidden" : "nextMonthDay", R = C + 1 - h, q = 0; R <= C; R++, q++)
3079
+ function Me(i, l) {
3080
+ for (var h = (new Date(i, l, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, _ = e.utils.getDaysInMonth((l - 1 + 12) % 12, i), V = e.utils.getDaysInMonth(l, i), N = window.document.createDocumentFragment(), X = e.config.showMonths > 1, Y = X ? "prevMonthDay hidden" : "prevMonthDay", ae = X ? "nextMonthDay hidden" : "nextMonthDay", R = _ + 1 - h, q = 0; R <= _; R++, q++)
3081
3081
  N.appendChild(ee("flatpickr-day " + Y, new Date(i, l - 1, R), R, q));
3082
- for (R = 1; R <= F; R++, q++)
3082
+ for (R = 1; R <= V; R++, q++)
3083
3083
  N.appendChild(ee("flatpickr-day", new Date(i, l, R), R, q));
3084
- for (var me = F + 1; me <= 42 - h && (e.config.showMonths === 1 || q % 7 !== 0); me++, q++)
3085
- N.appendChild(ee("flatpickr-day " + re, new Date(i, l + 1, me % F), me, q));
3086
- var Be = fe("div", "dayContainer");
3084
+ for (var fe = V + 1; fe <= 42 - h && (e.config.showMonths === 1 || q % 7 !== 0); fe++, q++)
3085
+ N.appendChild(ee("flatpickr-day " + ae, new Date(i, l + 1, fe % V), fe, q));
3086
+ var Be = ce("div", "dayContainer");
3087
3087
  return Be.appendChild(N), Be;
3088
3088
  }
3089
- function te() {
3089
+ function W() {
3090
3090
  if (e.daysContainer !== void 0) {
3091
3091
  In(e.daysContainer), e.weekNumbers && In(e.weekNumbers);
3092
3092
  for (var i = document.createDocumentFragment(), l = 0; l < e.config.showMonths; l++) {
3093
3093
  var h = new Date(e.currentYear, e.currentMonth, 1);
3094
- h.setMonth(e.currentMonth + l), i.appendChild(W(h.getFullYear(), h.getMonth()));
3094
+ h.setMonth(e.currentMonth + l), i.appendChild(Me(h.getFullYear(), h.getMonth()));
3095
3095
  }
3096
3096
  e.daysContainer.appendChild(i), e.days = e.daysContainer.firstChild, e.config.mode === "range" && e.selectedDates.length === 1 && Je();
3097
3097
  }
3098
3098
  }
3099
- function M() {
3099
+ function D() {
3100
3100
  if (!(e.config.showMonths > 1 || e.config.monthSelectorType !== "dropdown")) {
3101
- var i = function(C) {
3102
- return e.config.minDate !== void 0 && e.currentYear === e.config.minDate.getFullYear() && C < e.config.minDate.getMonth() ? !1 : !(e.config.maxDate !== void 0 && e.currentYear === e.config.maxDate.getFullYear() && C > e.config.maxDate.getMonth());
3101
+ var i = function(_) {
3102
+ return e.config.minDate !== void 0 && e.currentYear === e.config.minDate.getFullYear() && _ < e.config.minDate.getMonth() ? !1 : !(e.config.maxDate !== void 0 && e.currentYear === e.config.maxDate.getFullYear() && _ > e.config.maxDate.getMonth());
3103
3103
  };
3104
3104
  e.monthsDropdownContainer.tabIndex = -1, e.monthsDropdownContainer.innerHTML = "";
3105
3105
  for (var l = 0; l < 12; l++)
3106
3106
  if (i(l)) {
3107
- var h = fe("option", "flatpickr-monthDropdown-month");
3107
+ var h = ce("option", "flatpickr-monthDropdown-month");
3108
3108
  h.value = new Date(e.currentYear, l).getMonth().toString(), h.textContent = zn(l, e.config.shorthandCurrentMonth, e.l10n), h.tabIndex = -1, e.currentMonth === l && (h.selected = !0), e.monthsDropdownContainer.appendChild(h);
3109
3109
  }
3110
3110
  }
3111
3111
  }
3112
- function _() {
3113
- var i = fe("div", "flatpickr-month"), l = window.document.createDocumentFragment(), h;
3114
- e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? h = fe("span", "cur-month") : (e.monthsDropdownContainer = fe("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), v(e.monthsDropdownContainer, "change", function(X) {
3115
- var Y = je(X), re = parseInt(Y.value, 10);
3116
- e.changeMonth(re - e.currentMonth), ye("onMonthChange");
3117
- }), M(), h = e.monthsDropdownContainer);
3118
- var C = Fn("cur-year", { tabindex: "-1" }), F = C.getElementsByTagName("input")[0];
3119
- F.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && F.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (F.setAttribute("max", e.config.maxDate.getFullYear().toString()), F.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
3120
- var N = fe("div", "flatpickr-current-month");
3121
- return N.appendChild(h), N.appendChild(C), l.appendChild(N), i.appendChild(l), {
3112
+ function C() {
3113
+ var i = ce("div", "flatpickr-month"), l = window.document.createDocumentFragment(), h;
3114
+ e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? h = ce("span", "cur-month") : (e.monthsDropdownContainer = ce("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), v(e.monthsDropdownContainer, "change", function(X) {
3115
+ var Y = je(X), ae = parseInt(Y.value, 10);
3116
+ e.changeMonth(ae - e.currentMonth), ve("onMonthChange");
3117
+ }), D(), h = e.monthsDropdownContainer);
3118
+ var _ = Vn("cur-year", { tabindex: "-1" }), V = _.getElementsByTagName("input")[0];
3119
+ V.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && V.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (V.setAttribute("max", e.config.maxDate.getFullYear().toString()), V.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
3120
+ var N = ce("div", "flatpickr-current-month");
3121
+ return N.appendChild(h), N.appendChild(_), l.appendChild(N), i.appendChild(l), {
3122
3122
  container: i,
3123
- yearElement: F,
3123
+ yearElement: V,
3124
3124
  monthElement: h
3125
3125
  };
3126
3126
  }
3127
- function D() {
3127
+ function A() {
3128
3128
  In(e.monthNav), e.monthNav.appendChild(e.prevMonthNav), e.config.showMonths && (e.yearElements = [], e.monthElements = []);
3129
3129
  for (var i = e.config.showMonths; i--; ) {
3130
- var l = _();
3130
+ var l = C();
3131
3131
  e.yearElements.push(l.yearElement), e.monthElements.push(l.monthElement), e.monthNav.appendChild(l.container);
3132
3132
  }
3133
3133
  e.monthNav.appendChild(e.nextMonthNav);
3134
3134
  }
3135
- function A() {
3136
- return e.monthNav = fe("div", "flatpickr-months"), e.yearElements = [], e.monthElements = [], e.prevMonthNav = fe("span", "flatpickr-prev-month"), e.prevMonthNav.innerHTML = e.config.prevArrow, e.nextMonthNav = fe("span", "flatpickr-next-month"), e.nextMonthNav.innerHTML = e.config.nextArrow, D(), Object.defineProperty(e, "_hidePrevMonthArrow", {
3135
+ function M() {
3136
+ return e.monthNav = ce("div", "flatpickr-months"), e.yearElements = [], e.monthElements = [], e.prevMonthNav = ce("span", "flatpickr-prev-month"), e.prevMonthNav.innerHTML = e.config.prevArrow, e.nextMonthNav = ce("span", "flatpickr-next-month"), e.nextMonthNav.innerHTML = e.config.nextArrow, A(), Object.defineProperty(e, "_hidePrevMonthArrow", {
3137
3137
  get: function() {
3138
3138
  return e.__hidePrevMonthArrow;
3139
3139
  },
@@ -3152,25 +3152,25 @@ function gl(t, n) {
3152
3152
  function x() {
3153
3153
  e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
3154
3154
  var i = oa(e.config);
3155
- e.timeContainer = fe("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
3156
- var l = fe("span", "flatpickr-time-separator", ":"), h = Fn("flatpickr-hour", {
3155
+ e.timeContainer = ce("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
3156
+ var l = ce("span", "flatpickr-time-separator", ":"), h = Vn("flatpickr-hour", {
3157
3157
  "aria-label": e.l10n.hourAriaLabel
3158
3158
  });
3159
3159
  e.hourElement = h.getElementsByTagName("input")[0];
3160
- var C = Fn("flatpickr-minute", {
3160
+ var _ = Vn("flatpickr-minute", {
3161
3161
  "aria-label": e.l10n.minuteAriaLabel
3162
3162
  });
3163
- if (e.minuteElement = C.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = Ve(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? i.hours : p(i.hours)), e.minuteElement.value = Ve(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : i.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(h), e.timeContainer.appendChild(l), e.timeContainer.appendChild(C), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
3163
+ if (e.minuteElement = _.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = Pe(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? i.hours : p(i.hours)), e.minuteElement.value = Pe(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : i.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(h), e.timeContainer.appendChild(l), e.timeContainer.appendChild(_), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
3164
3164
  e.timeContainer.classList.add("hasSeconds");
3165
- var F = Fn("flatpickr-second");
3166
- e.secondElement = F.getElementsByTagName("input")[0], e.secondElement.value = Ve(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : i.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(fe("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(F);
3165
+ var V = Vn("flatpickr-second");
3166
+ e.secondElement = V.getElementsByTagName("input")[0], e.secondElement.value = Pe(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : i.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(ce("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(V);
3167
3167
  }
3168
- return e.config.time_24hr || (e.amPM = fe("span", "flatpickr-am-pm", e.l10n.amPM[Ge((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
3168
+ return e.config.time_24hr || (e.amPM = ce("span", "flatpickr-am-pm", e.l10n.amPM[Ge((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
3169
3169
  }
3170
3170
  function j() {
3171
- e.weekdayContainer ? In(e.weekdayContainer) : e.weekdayContainer = fe("div", "flatpickr-weekdays");
3171
+ e.weekdayContainer ? In(e.weekdayContainer) : e.weekdayContainer = ce("div", "flatpickr-weekdays");
3172
3172
  for (var i = e.config.showMonths; i--; ) {
3173
- var l = fe("div", "flatpickr-weekdaycontainer");
3173
+ var l = ce("div", "flatpickr-weekdaycontainer");
3174
3174
  e.weekdayContainer.appendChild(l);
3175
3175
  }
3176
3176
  return K(), e.weekdayContainer;
@@ -3187,33 +3187,33 @@ function gl(t, n) {
3187
3187
  `;
3188
3188
  }
3189
3189
  }
3190
- function ue() {
3190
+ function se() {
3191
3191
  e.calendarContainer.classList.add("hasWeeks");
3192
- var i = fe("div", "flatpickr-weekwrapper");
3193
- i.appendChild(fe("span", "flatpickr-weekday", e.l10n.weekAbbreviation));
3194
- var l = fe("div", "flatpickr-weeks");
3192
+ var i = ce("div", "flatpickr-weekwrapper");
3193
+ i.appendChild(ce("span", "flatpickr-weekday", e.l10n.weekAbbreviation));
3194
+ var l = ce("div", "flatpickr-weeks");
3195
3195
  return i.appendChild(l), {
3196
3196
  weekWrapper: i,
3197
3197
  weekNumbers: l
3198
3198
  };
3199
3199
  }
3200
- function ge(i, l) {
3200
+ function he(i, l) {
3201
3201
  l === void 0 && (l = !0);
3202
3202
  var h = l ? i : i - e.currentMonth;
3203
- h < 0 && e._hidePrevMonthArrow === !0 || h > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += h, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, ye("onYearChange"), M()), te(), ye("onMonthChange"), bt());
3203
+ h < 0 && e._hidePrevMonthArrow === !0 || h > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += h, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, ve("onYearChange"), D()), W(), ve("onMonthChange"), bt());
3204
3204
  }
3205
- function ve(i, l) {
3205
+ function ge(i, l) {
3206
3206
  if (i === void 0 && (i = !0), l === void 0 && (l = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, l === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
3207
- var h = oa(e.config), C = h.hours, F = h.minutes, N = h.seconds;
3208
- b(C, F, N);
3207
+ var h = oa(e.config), _ = h.hours, V = h.minutes, N = h.seconds;
3208
+ b(_, V, N);
3209
3209
  }
3210
- e.redraw(), i && ye("onChange");
3210
+ e.redraw(), i && ve("onChange");
3211
3211
  }
3212
- function _e() {
3213
- e.isOpen = !1, e.isMobile || (e.calendarContainer !== void 0 && e.calendarContainer.classList.remove("open"), e._input !== void 0 && e._input.classList.remove("active")), ye("onClose");
3212
+ function Ce() {
3213
+ e.isOpen = !1, e.isMobile || (e.calendarContainer !== void 0 && e.calendarContainer.classList.remove("open"), e._input !== void 0 && e._input.classList.remove("active")), ve("onClose");
3214
3214
  }
3215
3215
  function Ee() {
3216
- e.config !== void 0 && ye("onDestroy");
3216
+ e.config !== void 0 && ve("onDestroy");
3217
3217
  for (var i = e._handlers.length; i--; )
3218
3218
  e._handlers[i].remove();
3219
3219
  if (e._handlers = [], e.mobileInput)
@@ -3270,42 +3270,42 @@ function gl(t, n) {
3270
3270
  }
3271
3271
  function He(i) {
3272
3272
  if (e.isOpen && !e.config.inline) {
3273
- var l = je(i), h = xe(l), C = l === e.input || l === e.altInput || e.element.contains(l) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), F = !C && !h && !xe(i.relatedTarget), N = !e.config.ignoredFocusElements.some(function(X) {
3273
+ var l = je(i), h = xe(l), _ = l === e.input || l === e.altInput || e.element.contains(l) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), V = !_ && !h && !xe(i.relatedTarget), N = !e.config.ignoredFocusElements.some(function(X) {
3274
3274
  return X.contains(l);
3275
3275
  });
3276
- F && N && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && u(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
3276
+ V && N && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && u(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
3277
3277
  }
3278
3278
  }
3279
3279
  function Ne(i) {
3280
3280
  if (!(!i || e.config.minDate && i < e.config.minDate.getFullYear() || e.config.maxDate && i > e.config.maxDate.getFullYear())) {
3281
3281
  var l = i, h = e.currentYear !== l;
3282
- e.currentYear = l || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), h && (e.redraw(), ye("onYearChange"), M());
3282
+ e.currentYear = l || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), h && (e.redraw(), ve("onYearChange"), D());
3283
3283
  }
3284
3284
  }
3285
3285
  function Te(i, l) {
3286
3286
  var h;
3287
3287
  l === void 0 && (l = !0);
3288
- var C = e.parseDate(i, void 0, l);
3289
- if (e.config.minDate && C && Re(C, e.config.minDate, l !== void 0 ? l : !e.minDateHasTime) < 0 || e.config.maxDate && C && Re(C, e.config.maxDate, l !== void 0 ? l : !e.maxDateHasTime) > 0)
3288
+ var _ = e.parseDate(i, void 0, l);
3289
+ if (e.config.minDate && _ && Re(_, e.config.minDate, l !== void 0 ? l : !e.minDateHasTime) < 0 || e.config.maxDate && _ && Re(_, e.config.maxDate, l !== void 0 ? l : !e.maxDateHasTime) > 0)
3290
3290
  return !1;
3291
3291
  if (!e.config.enable && e.config.disable.length === 0)
3292
3292
  return !0;
3293
- if (C === void 0)
3293
+ if (_ === void 0)
3294
3294
  return !1;
3295
- for (var F = !!e.config.enable, N = (h = e.config.enable) !== null && h !== void 0 ? h : e.config.disable, X = 0, Y = void 0; X < N.length; X++) {
3296
- if (Y = N[X], typeof Y == "function" && Y(C))
3297
- return F;
3298
- if (Y instanceof Date && C !== void 0 && Y.getTime() === C.getTime())
3299
- return F;
3295
+ for (var V = !!e.config.enable, N = (h = e.config.enable) !== null && h !== void 0 ? h : e.config.disable, X = 0, Y = void 0; X < N.length; X++) {
3296
+ if (Y = N[X], typeof Y == "function" && Y(_))
3297
+ return V;
3298
+ if (Y instanceof Date && _ !== void 0 && Y.getTime() === _.getTime())
3299
+ return V;
3300
3300
  if (typeof Y == "string") {
3301
- var re = e.parseDate(Y, void 0, !0);
3302
- return re && re.getTime() === C.getTime() ? F : !F;
3303
- } else if (typeof Y == "object" && C !== void 0 && Y.from && Y.to && C.getTime() >= Y.from.getTime() && C.getTime() <= Y.to.getTime())
3304
- return F;
3301
+ var ae = e.parseDate(Y, void 0, !0);
3302
+ return ae && ae.getTime() === _.getTime() ? V : !V;
3303
+ } else if (typeof Y == "object" && _ !== void 0 && Y.from && Y.to && _.getTime() >= Y.from.getTime() && _.getTime() <= Y.to.getTime())
3304
+ return V;
3305
3305
  }
3306
- return !F;
3306
+ return !V;
3307
3307
  }
3308
- function ke(i) {
3308
+ function we(i) {
3309
3309
  return e.daysContainer !== void 0 ? i.className.indexOf("hidden") === -1 && i.className.indexOf("flatpickr-disabled") === -1 && e.daysContainer.contains(i) : !1;
3310
3310
  }
3311
3311
  function Le(i) {
@@ -3313,12 +3313,12 @@ function gl(t, n) {
3313
3313
  l && h && !(i.relatedTarget && xe(i.relatedTarget)) && e.setDate(e._input.value, !0, i.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
3314
3314
  }
3315
3315
  function rt(i) {
3316
- var l = je(i), h = e.config.wrap ? t.contains(l) : l === e._input, C = e.config.allowInput, F = e.isOpen && (!C || !h), N = e.config.inline && h && !C;
3316
+ var l = je(i), h = e.config.wrap ? t.contains(l) : l === e._input, _ = e.config.allowInput, V = e.isOpen && (!_ || !h), N = e.config.inline && h && !_;
3317
3317
  if (i.keyCode === 13 && h) {
3318
- if (C)
3318
+ if (_)
3319
3319
  return e.setDate(e._input.value, !0, l === e.altInput ? e.config.altFormat : e.config.dateFormat), e.close(), l.blur();
3320
3320
  e.open();
3321
- } else if (xe(l) || F || N) {
3321
+ } else if (xe(l) || V || N) {
3322
3322
  var X = !!e.timeContainer && e.timeContainer.contains(l);
3323
3323
  switch (i.keyCode) {
3324
3324
  case 13:
@@ -3336,9 +3336,9 @@ function gl(t, n) {
3336
3336
  if (!X && !h) {
3337
3337
  i.preventDefault();
3338
3338
  var Y = o();
3339
- if (e.daysContainer !== void 0 && (C === !1 || Y && ke(Y))) {
3340
- var re = i.keyCode === 39 ? 1 : -1;
3341
- i.ctrlKey ? (i.stopPropagation(), ge(re), Q(pe(1), 0)) : Q(void 0, re);
3339
+ if (e.daysContainer !== void 0 && (_ === !1 || Y && we(Y))) {
3340
+ var ae = i.keyCode === 39 ? 1 : -1;
3341
+ i.ctrlKey ? (i.stopPropagation(), he(ae), Q(me(1), 0)) : Q(void 0, ae);
3342
3342
  }
3343
3343
  } else
3344
3344
  e.hourElement && e.hourElement.focus();
@@ -3347,7 +3347,7 @@ function gl(t, n) {
3347
3347
  case 40:
3348
3348
  i.preventDefault();
3349
3349
  var R = i.keyCode === 40 ? 1 : -1;
3350
- e.daysContainer && l.$i !== void 0 || l === e.input || l === e.altInput ? i.ctrlKey ? (i.stopPropagation(), Ne(e.currentYear - R), Q(pe(1), 0)) : X || Q(void 0, R * 7) : l === e.currentYearElement ? Ne(e.currentYear - R) : e.config.enableTime && (!X && e.hourElement && e.hourElement.focus(), u(i), e._debouncedChange());
3350
+ e.daysContainer && l.$i !== void 0 || l === e.input || l === e.altInput ? i.ctrlKey ? (i.stopPropagation(), Ne(e.currentYear - R), Q(me(1), 0)) : X || Q(void 0, R * 7) : l === e.currentYearElement ? Ne(e.currentYear - R) : e.config.enableTime && (!X && e.hourElement && e.hourElement.focus(), u(i), e._debouncedChange());
3351
3351
  break;
3352
3352
  case 9:
3353
3353
  if (X) {
@@ -3358,9 +3358,9 @@ function gl(t, n) {
3358
3358
  e.amPM
3359
3359
  ].concat(e.pluginElements).filter(function(Se) {
3360
3360
  return Se;
3361
- }), me = q.indexOf(l);
3362
- if (me !== -1) {
3363
- var Be = q[me + (i.shiftKey ? -1 : 1)];
3361
+ }), fe = q.indexOf(l);
3362
+ if (fe !== -1) {
3363
+ var Be = q[fe + (i.shiftKey ? -1 : 1)];
3364
3364
  i.preventDefault(), (Be || e._input).focus();
3365
3365
  }
3366
3366
  } else
@@ -3379,25 +3379,25 @@ function gl(t, n) {
3379
3379
  e.amPM.textContent = e.l10n.amPM[1], d(), We();
3380
3380
  break;
3381
3381
  }
3382
- (h || xe(l)) && ye("onKeyDown", i);
3382
+ (h || xe(l)) && ve("onKeyDown", i);
3383
3383
  }
3384
3384
  function Je(i, l) {
3385
3385
  if (l === void 0 && (l = "flatpickr-day"), !(e.selectedDates.length !== 1 || i && (!i.classList.contains(l) || i.classList.contains("flatpickr-disabled")))) {
3386
- for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), C = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), F = Math.min(h, e.selectedDates[0].getTime()), N = Math.max(h, e.selectedDates[0].getTime()), X = !1, Y = 0, re = 0, R = F; R < N; R += pl.DAY)
3387
- Te(new Date(R), !0) || (X = X || R > F && R < N, R < C && (!Y || R > Y) ? Y = R : R > C && (!re || R < re) && (re = R));
3386
+ for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), _ = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), V = Math.min(h, e.selectedDates[0].getTime()), N = Math.max(h, e.selectedDates[0].getTime()), X = !1, Y = 0, ae = 0, R = V; R < N; R += pl.DAY)
3387
+ Te(new Date(R), !0) || (X = X || R > V && R < N, R < _ && (!Y || R > Y) ? Y = R : R > _ && (!ae || R < ae) && (ae = R));
3388
3388
  var q = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + l));
3389
- q.forEach(function(me) {
3390
- var Be = me.dateObj, Se = Be.getTime(), st = Y > 0 && Se < Y || re > 0 && Se > re;
3389
+ q.forEach(function(fe) {
3390
+ var Be = fe.dateObj, Se = Be.getTime(), st = Y > 0 && Se < Y || ae > 0 && Se > ae;
3391
3391
  if (st) {
3392
- me.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(ot) {
3393
- me.classList.remove(ot);
3392
+ fe.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(ot) {
3393
+ fe.classList.remove(ot);
3394
3394
  });
3395
3395
  return;
3396
3396
  } else if (X && !st)
3397
3397
  return;
3398
3398
  ["startRange", "inRange", "endRange", "notAllowed"].forEach(function(ot) {
3399
- me.classList.remove(ot);
3400
- }), i !== void 0 && (i.classList.add(h <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), C < h && Se === C ? me.classList.add("startRange") : C > h && Se === C && me.classList.add("endRange"), Se >= Y && (re === 0 || Se <= re) && fl(Se, C, h) && me.classList.add("inRange"));
3399
+ fe.classList.remove(ot);
3400
+ }), i !== void 0 && (i.classList.add(h <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), _ < h && Se === _ ? fe.classList.add("startRange") : _ > h && Se === _ && fe.classList.add("endRange"), Se >= Y && (ae === 0 || Se <= ae) && fl(Se, _, h) && fe.classList.add("inRange"));
3401
3401
  });
3402
3402
  }
3403
3403
  }
@@ -3411,21 +3411,21 @@ function gl(t, n) {
3411
3411
  var h = je(i);
3412
3412
  h && h.blur();
3413
3413
  }
3414
- e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), ye("onOpen");
3414
+ e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), ve("onOpen");
3415
3415
  return;
3416
3416
  } else if (e._input.disabled || e.config.inline)
3417
3417
  return;
3418
- var C = e.isOpen;
3419
- e.isOpen = !0, C || (e.calendarContainer.classList.add("open"), e._input.classList.add("active"), ye("onOpen"), vt(l)), e.config.enableTime === !0 && e.config.noCalendar === !0 && e.config.allowInput === !1 && (i === void 0 || !e.timeContainer.contains(i.relatedTarget)) && setTimeout(function() {
3418
+ var _ = e.isOpen;
3419
+ e.isOpen = !0, _ || (e.calendarContainer.classList.add("open"), e._input.classList.add("active"), ve("onOpen"), vt(l)), e.config.enableTime === !0 && e.config.noCalendar === !0 && e.config.allowInput === !1 && (i === void 0 || !e.timeContainer.contains(i.relatedTarget)) && setTimeout(function() {
3420
3420
  return e.hourElement.select();
3421
3421
  }, 50);
3422
3422
  }
3423
3423
  function Lt(i) {
3424
3424
  return function(l) {
3425
- var h = e.config["_" + i + "Date"] = e.parseDate(l, e.config.dateFormat), C = e.config["_" + (i === "min" ? "max" : "min") + "Date"];
3426
- h !== void 0 && (e[i === "min" ? "minDateHasTime" : "maxDateHasTime"] = h.getHours() > 0 || h.getMinutes() > 0 || h.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(F) {
3427
- return Te(F);
3428
- }), !e.selectedDates.length && i === "min" && g(h), We()), e.daysContainer && (Rt(), h !== void 0 ? e.currentYearElement[i] = h.getFullYear().toString() : e.currentYearElement.removeAttribute(i), e.currentYearElement.disabled = !!C && h !== void 0 && C.getFullYear() === h.getFullYear());
3425
+ var h = e.config["_" + i + "Date"] = e.parseDate(l, e.config.dateFormat), _ = e.config["_" + (i === "min" ? "max" : "min") + "Date"];
3426
+ h !== void 0 && (e[i === "min" ? "minDateHasTime" : "maxDateHasTime"] = h.getHours() > 0 || h.getMinutes() > 0 || h.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(V) {
3427
+ return Te(V);
3428
+ }), !e.selectedDates.length && i === "min" && g(h), We()), e.daysContainer && (Rt(), h !== void 0 ? e.currentYearElement[i] = h.getFullYear().toString() : e.currentYearElement.removeAttribute(i), e.currentYearElement.disabled = !!_ && h !== void 0 && _.getFullYear() === h.getFullYear());
3429
3429
  };
3430
3430
  }
3431
3431
  function ln() {
@@ -3460,14 +3460,14 @@ function gl(t, n) {
3460
3460
  e.config._disable = Yt(q);
3461
3461
  }
3462
3462
  });
3463
- var C = l.mode === "time";
3464
- if (!l.dateFormat && (l.enableTime || C)) {
3465
- var F = De.defaultConfig.dateFormat || Pt.dateFormat;
3466
- h.dateFormat = l.noCalendar || C ? "H:i" + (l.enableSeconds ? ":S" : "") : F + " H:i" + (l.enableSeconds ? ":S" : "");
3463
+ var _ = l.mode === "time";
3464
+ if (!l.dateFormat && (l.enableTime || _)) {
3465
+ var V = _e.defaultConfig.dateFormat || Ft.dateFormat;
3466
+ h.dateFormat = l.noCalendar || _ ? "H:i" + (l.enableSeconds ? ":S" : "") : V + " H:i" + (l.enableSeconds ? ":S" : "");
3467
3467
  }
3468
- if (l.altInput && (l.enableTime || C) && !l.altFormat) {
3469
- var N = De.defaultConfig.altFormat || Pt.altFormat;
3470
- h.altFormat = l.noCalendar || C ? "h:i" + (l.enableSeconds ? ":S K" : " K") : N + (" h:i" + (l.enableSeconds ? ":S" : "") + " K");
3468
+ if (l.altInput && (l.enableTime || _) && !l.altFormat) {
3469
+ var N = _e.defaultConfig.altFormat || Ft.altFormat;
3470
+ h.altFormat = l.noCalendar || _ ? "h:i" + (l.enableSeconds ? ":S K" : " K") : N + (" h:i" + (l.enableSeconds ? ":S" : "") + " K");
3471
3471
  }
3472
3472
  Object.defineProperty(e.config, "minDate", {
3473
3473
  get: function() {
@@ -3481,8 +3481,8 @@ function gl(t, n) {
3481
3481
  set: Lt("max")
3482
3482
  });
3483
3483
  var X = function(q) {
3484
- return function(me) {
3485
- e.config[q === "min" ? "_minTime" : "_maxTime"] = e.parseDate(me, "H:i:S");
3484
+ return function(fe) {
3485
+ e.config[q === "min" ? "_minTime" : "_maxTime"] = e.parseDate(fe, "H:i:S");
3486
3486
  };
3487
3487
  };
3488
3488
  Object.defineProperty(e.config, "minTime", {
@@ -3504,43 +3504,43 @@ function gl(t, n) {
3504
3504
  e.config[q] = na(e.config[q] || []).map(s);
3505
3505
  }), e.isMobile = !e.config.disableMobile && !e.config.inline && e.config.mode === "single" && !e.config.disable.length && !e.config.enable && !e.config.weekNumbers && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
3506
3506
  for (var Y = 0; Y < e.config.plugins.length; Y++) {
3507
- var re = e.config.plugins[Y](e) || {};
3508
- for (var R in re)
3509
- ta.indexOf(R) > -1 ? e.config[R] = na(re[R]).map(s).concat(e.config[R]) : typeof l[R] > "u" && (e.config[R] = re[R]);
3507
+ var ae = e.config.plugins[Y](e) || {};
3508
+ for (var R in ae)
3509
+ ta.indexOf(R) > -1 ? e.config[R] = na(ae[R]).map(s).concat(e.config[R]) : typeof l[R] > "u" && (e.config[R] = ae[R]);
3510
3510
  }
3511
- l.altInputClass || (e.config.altInputClass = Bt().className + " " + e.config.altInputClass), ye("onParseConfig");
3511
+ l.altInputClass || (e.config.altInputClass = Bt().className + " " + e.config.altInputClass), ve("onParseConfig");
3512
3512
  }
3513
3513
  function Bt() {
3514
3514
  return e.config.wrap ? t.querySelector("[data-input]") : t;
3515
3515
  }
3516
3516
  function jt() {
3517
- typeof e.config.locale != "object" && typeof De.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = $e($e({}, De.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? De.l10ns[e.config.locale] : void 0), wt.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", wt.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", wt.M = "(" + e.l10n.months.shorthand.join("|") + ")", wt.F = "(" + e.l10n.months.longhand.join("|") + ")", wt.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
3517
+ typeof e.config.locale != "object" && typeof _e.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = $e($e({}, _e.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? _e.l10ns[e.config.locale] : void 0), wt.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", wt.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", wt.M = "(" + e.l10n.months.shorthand.join("|") + ")", wt.F = "(" + e.l10n.months.longhand.join("|") + ")", wt.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
3518
3518
  var i = $e($e({}, n), JSON.parse(JSON.stringify(t.dataset || {})));
3519
- i.time_24hr === void 0 && De.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Gr(e), e.parseDate = pa({ config: e.config, l10n: e.l10n });
3519
+ i.time_24hr === void 0 && _e.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Gr(e), e.parseDate = pa({ config: e.config, l10n: e.l10n });
3520
3520
  }
3521
3521
  function vt(i) {
3522
3522
  if (typeof e.config.position == "function")
3523
3523
  return void e.config.position(e, i);
3524
3524
  if (e.calendarContainer !== void 0) {
3525
- ye("onPreCalendarPosition");
3525
+ ve("onPreCalendarPosition");
3526
3526
  var l = i || e._positionElement, h = Array.prototype.reduce.call(e.calendarContainer.children, function(Mn, xn) {
3527
3527
  return Mn + xn.offsetHeight;
3528
- }, 0), C = e.calendarContainer.offsetWidth, F = e.config.position.split(" "), N = F[0], X = F.length > 1 ? F[1] : null, Y = l.getBoundingClientRect(), re = window.innerHeight - Y.bottom, R = N === "above" || N !== "below" && re < h && Y.top > h, q = window.pageYOffset + Y.top + (R ? -h - 2 : l.offsetHeight + 2);
3528
+ }, 0), _ = e.calendarContainer.offsetWidth, V = e.config.position.split(" "), N = V[0], X = V.length > 1 ? V[1] : null, Y = l.getBoundingClientRect(), ae = window.innerHeight - Y.bottom, R = N === "above" || N !== "below" && ae < h && Y.top > h, q = window.pageYOffset + Y.top + (R ? -h - 2 : l.offsetHeight + 2);
3529
3529
  if (Ie(e.calendarContainer, "arrowTop", !R), Ie(e.calendarContainer, "arrowBottom", R), !e.config.inline) {
3530
- var me = window.pageXOffset + Y.left, Be = !1, Se = !1;
3531
- X === "center" ? (me -= (C - Y.width) / 2, Be = !0) : X === "right" && (me -= C - Y.width, Se = !0), Ie(e.calendarContainer, "arrowLeft", !Be && !Se), Ie(e.calendarContainer, "arrowCenter", Be), Ie(e.calendarContainer, "arrowRight", Se);
3532
- var st = window.document.body.offsetWidth - (window.pageXOffset + Y.right), ot = me + C > window.document.body.offsetWidth, bn = st + C > window.document.body.offsetWidth;
3530
+ var fe = window.pageXOffset + Y.left, Be = !1, Se = !1;
3531
+ X === "center" ? (fe -= (_ - Y.width) / 2, Be = !0) : X === "right" && (fe -= _ - Y.width, Se = !0), Ie(e.calendarContainer, "arrowLeft", !Be && !Se), Ie(e.calendarContainer, "arrowCenter", Be), Ie(e.calendarContainer, "arrowRight", Se);
3532
+ var st = window.document.body.offsetWidth - (window.pageXOffset + Y.right), ot = fe + _ > window.document.body.offsetWidth, bn = st + _ > window.document.body.offsetWidth;
3533
3533
  if (Ie(e.calendarContainer, "rightMost", ot), !e.config.static)
3534
3534
  if (e.calendarContainer.style.top = q + "px", !ot)
3535
- e.calendarContainer.style.left = me + "px", e.calendarContainer.style.right = "auto";
3535
+ e.calendarContainer.style.left = fe + "px", e.calendarContainer.style.right = "auto";
3536
3536
  else if (!bn)
3537
3537
  e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = st + "px";
3538
3538
  else {
3539
- var Ft = sn();
3540
- if (Ft === void 0)
3539
+ var Vt = sn();
3540
+ if (Vt === void 0)
3541
3541
  return;
3542
- var wn = window.document.body.offsetWidth, kn = Math.max(0, wn / 2 - C / 2), Cn = ".flatpickr-calendar.centerMost:before", _n = ".flatpickr-calendar.centerMost:after", Dn = Ft.cssRules.length, An = "{left:" + Y.left + "px;right:auto;}";
3543
- Ie(e.calendarContainer, "rightMost", !1), Ie(e.calendarContainer, "centerMost", !0), Ft.insertRule(Cn + "," + _n + An, Dn), e.calendarContainer.style.left = kn + "px", e.calendarContainer.style.right = "auto";
3542
+ var wn = window.document.body.offsetWidth, kn = Math.max(0, wn / 2 - _ / 2), Cn = ".flatpickr-calendar.centerMost:before", _n = ".flatpickr-calendar.centerMost:after", Dn = Vt.cssRules.length, An = "{left:" + Y.left + "px;right:auto;}";
3543
+ Ie(e.calendarContainer, "rightMost", !1), Ie(e.calendarContainer, "centerMost", !0), Vt.insertRule(Cn + "," + _n + An, Dn), e.calendarContainer.style.left = kn + "px", e.calendarContainer.style.right = "auto";
3544
3544
  }
3545
3545
  }
3546
3546
  }
@@ -3565,7 +3565,7 @@ function gl(t, n) {
3565
3565
  return document.head.appendChild(i), i.sheet;
3566
3566
  }
3567
3567
  function Rt() {
3568
- e.config.noCalendar || e.isMobile || (M(), bt(), te());
3568
+ e.config.noCalendar || e.isMobile || (D(), bt(), W());
3569
3569
  }
3570
3570
  function St() {
3571
3571
  e._input.focus(), window.navigator.userAgent.indexOf("MSIE") !== -1 || navigator.msMaxTouchPoints !== void 0 ? setTimeout(e.close, 0) : e.close();
@@ -3576,32 +3576,32 @@ function gl(t, n) {
3576
3576
  return q.classList && q.classList.contains("flatpickr-day") && !q.classList.contains("flatpickr-disabled") && !q.classList.contains("notAllowed");
3577
3577
  }, h = qr(je(i), l);
3578
3578
  if (h !== void 0) {
3579
- var C = h, F = e.latestSelectedDateObj = new Date(C.dateObj.getTime()), N = (F.getMonth() < e.currentMonth || F.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
3580
- if (e.selectedDateElem = C, e.config.mode === "single")
3581
- e.selectedDates = [F];
3579
+ var _ = h, V = e.latestSelectedDateObj = new Date(_.dateObj.getTime()), N = (V.getMonth() < e.currentMonth || V.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
3580
+ if (e.selectedDateElem = _, e.config.mode === "single")
3581
+ e.selectedDates = [V];
3582
3582
  else if (e.config.mode === "multiple") {
3583
- var X = Ot(F);
3584
- X ? e.selectedDates.splice(parseInt(X), 1) : e.selectedDates.push(F);
3583
+ var X = Ot(V);
3584
+ X ? e.selectedDates.splice(parseInt(X), 1) : e.selectedDates.push(V);
3585
3585
  } else
3586
- e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = F, e.selectedDates.push(F), Re(F, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(q, me) {
3587
- return q.getTime() - me.getTime();
3586
+ e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = V, e.selectedDates.push(V), Re(V, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(q, fe) {
3587
+ return q.getTime() - fe.getTime();
3588
3588
  }));
3589
3589
  if (d(), N) {
3590
- var Y = e.currentYear !== F.getFullYear();
3591
- e.currentYear = F.getFullYear(), e.currentMonth = F.getMonth(), Y && (ye("onYearChange"), M()), ye("onMonthChange");
3590
+ var Y = e.currentYear !== V.getFullYear();
3591
+ e.currentYear = V.getFullYear(), e.currentMonth = V.getMonth(), Y && (ve("onYearChange"), D()), ve("onMonthChange");
3592
3592
  }
3593
- if (bt(), te(), We(), !N && e.config.mode !== "range" && e.config.showMonths === 1 ? de(C) : e.selectedDateElem !== void 0 && e.hourElement === void 0 && e.selectedDateElem && e.selectedDateElem.focus(), e.hourElement !== void 0 && e.hourElement !== void 0 && e.hourElement.focus(), e.config.closeOnSelect) {
3594
- var re = e.config.mode === "single" && !e.config.enableTime, R = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
3595
- (re || R) && St();
3593
+ if (bt(), W(), We(), !N && e.config.mode !== "range" && e.config.showMonths === 1 ? ue(_) : e.selectedDateElem !== void 0 && e.hourElement === void 0 && e.selectedDateElem && e.selectedDateElem.focus(), e.hourElement !== void 0 && e.hourElement !== void 0 && e.hourElement.focus(), e.config.closeOnSelect) {
3594
+ var ae = e.config.mode === "single" && !e.config.enableTime, R = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
3595
+ (ae || R) && St();
3596
3596
  }
3597
3597
  O();
3598
3598
  }
3599
3599
  }
3600
3600
  var yt = {
3601
3601
  locale: [jt, K],
3602
- showMonths: [D, c, j],
3603
- minDate: [V],
3604
- maxDate: [V],
3602
+ showMonths: [A, c, j],
3603
+ minDate: [P],
3604
+ maxDate: [P],
3605
3605
  positionElement: [Ht],
3606
3606
  clickOpens: [
3607
3607
  function() {
@@ -3613,20 +3613,20 @@ function gl(t, n) {
3613
3613
  if (i !== null && typeof i == "object") {
3614
3614
  Object.assign(e.config, i);
3615
3615
  for (var h in i)
3616
- yt[h] !== void 0 && yt[h].forEach(function(C) {
3617
- return C();
3616
+ yt[h] !== void 0 && yt[h].forEach(function(_) {
3617
+ return _();
3618
3618
  });
3619
3619
  } else
3620
- e.config[i] = l, yt[i] !== void 0 ? yt[i].forEach(function(C) {
3621
- return C();
3620
+ e.config[i] = l, yt[i] !== void 0 ? yt[i].forEach(function(_) {
3621
+ return _();
3622
3622
  }) : ta.indexOf(i) > -1 && (e.config[i] = na(l));
3623
3623
  e.redraw(), We(!0);
3624
3624
  }
3625
3625
  function Ut(i, l) {
3626
3626
  var h = [];
3627
3627
  if (i instanceof Array)
3628
- h = i.map(function(C) {
3629
- return e.parseDate(C, l);
3628
+ h = i.map(function(_) {
3629
+ return e.parseDate(_, l);
3630
3630
  });
3631
3631
  else if (i instanceof Date || typeof i == "number")
3632
3632
  h = [e.parseDate(i, l)];
@@ -3637,28 +3637,28 @@ function gl(t, n) {
3637
3637
  h = [e.parseDate(i, l)];
3638
3638
  break;
3639
3639
  case "multiple":
3640
- h = i.split(e.config.conjunction).map(function(C) {
3641
- return e.parseDate(C, l);
3640
+ h = i.split(e.config.conjunction).map(function(_) {
3641
+ return e.parseDate(_, l);
3642
3642
  });
3643
3643
  break;
3644
3644
  case "range":
3645
- h = i.split(e.l10n.rangeSeparator).map(function(C) {
3646
- return e.parseDate(C, l);
3645
+ h = i.split(e.l10n.rangeSeparator).map(function(_) {
3646
+ return e.parseDate(_, l);
3647
3647
  });
3648
3648
  break;
3649
3649
  }
3650
3650
  else
3651
3651
  e.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(i)));
3652
- e.selectedDates = e.config.allowInvalidPreload ? h : h.filter(function(C) {
3653
- return C instanceof Date && Te(C, !1);
3654
- }), e.config.mode === "range" && e.selectedDates.sort(function(C, F) {
3655
- return C.getTime() - F.getTime();
3652
+ e.selectedDates = e.config.allowInvalidPreload ? h : h.filter(function(_) {
3653
+ return _ instanceof Date && Te(_, !1);
3654
+ }), e.config.mode === "range" && e.selectedDates.sort(function(_, V) {
3655
+ return _.getTime() - V.getTime();
3656
3656
  });
3657
3657
  }
3658
3658
  function cn(i, l, h) {
3659
3659
  if (l === void 0 && (l = !1), h === void 0 && (h = e.config.dateFormat), i !== 0 && !i || i instanceof Array && i.length === 0)
3660
3660
  return e.clear(l);
3661
- Ut(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), V(void 0, l), g(), e.selectedDates.length === 0 && e.clear(!1), We(l), l && ye("onChange");
3661
+ Ut(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), P(void 0, l), g(), e.selectedDates.length === 0 && e.clear(!1), We(l), l && ve("onChange");
3662
3662
  }
3663
3663
  function Yt(i) {
3664
3664
  return i.slice().map(function(l) {
@@ -3680,20 +3680,20 @@ function gl(t, n) {
3680
3680
  e.config.errorHandler(new Error("Invalid input element specified"));
3681
3681
  return;
3682
3682
  }
3683
- e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = fe(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"), Ht();
3683
+ e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = ce(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"), Ht();
3684
3684
  }
3685
3685
  function Ht() {
3686
3686
  e._positionElement = e.config.positionElement || e._input;
3687
3687
  }
3688
3688
  function pn() {
3689
3689
  var i = e.config.enableTime ? e.config.noCalendar ? "time" : "datetime-local" : "date";
3690
- e.mobileInput = fe("input", e.input.className + " flatpickr-mobile"), e.mobileInput.tabIndex = 1, e.mobileInput.type = i, e.mobileInput.disabled = e.input.disabled, e.mobileInput.required = e.input.required, e.mobileInput.placeholder = e.input.placeholder, e.mobileFormatStr = i === "datetime-local" ? "Y-m-d\\TH:i:S" : i === "date" ? "Y-m-d" : "H:i:S", e.selectedDates.length > 0 && (e.mobileInput.defaultValue = e.mobileInput.value = e.formatDate(e.selectedDates[0], e.mobileFormatStr)), e.config.minDate && (e.mobileInput.min = e.formatDate(e.config.minDate, "Y-m-d")), e.config.maxDate && (e.mobileInput.max = e.formatDate(e.config.maxDate, "Y-m-d")), e.input.getAttribute("step") && (e.mobileInput.step = String(e.input.getAttribute("step"))), e.input.type = "hidden", e.altInput !== void 0 && (e.altInput.type = "hidden");
3690
+ e.mobileInput = ce("input", e.input.className + " flatpickr-mobile"), e.mobileInput.tabIndex = 1, e.mobileInput.type = i, e.mobileInput.disabled = e.input.disabled, e.mobileInput.required = e.input.required, e.mobileInput.placeholder = e.input.placeholder, e.mobileFormatStr = i === "datetime-local" ? "Y-m-d\\TH:i:S" : i === "date" ? "Y-m-d" : "H:i:S", e.selectedDates.length > 0 && (e.mobileInput.defaultValue = e.mobileInput.value = e.formatDate(e.selectedDates[0], e.mobileFormatStr)), e.config.minDate && (e.mobileInput.min = e.formatDate(e.config.minDate, "Y-m-d")), e.config.maxDate && (e.mobileInput.max = e.formatDate(e.config.maxDate, "Y-m-d")), e.input.getAttribute("step") && (e.mobileInput.step = String(e.input.getAttribute("step"))), e.input.type = "hidden", e.altInput !== void 0 && (e.altInput.type = "hidden");
3691
3691
  try {
3692
3692
  e.input.parentNode && e.input.parentNode.insertBefore(e.mobileInput, e.input.nextSibling);
3693
3693
  } catch {
3694
3694
  }
3695
3695
  v(e.mobileInput, "change", function(l) {
3696
- e.setDate(je(l).value, !1, e.mobileFormatStr), ye("onChange"), ye("onClose");
3696
+ e.setDate(je(l).value, !1, e.mobileFormatStr), ve("onChange"), ve("onClose");
3697
3697
  });
3698
3698
  }
3699
3699
  function hn(i) {
@@ -3701,12 +3701,12 @@ function gl(t, n) {
3701
3701
  return e.close();
3702
3702
  e.open(i);
3703
3703
  }
3704
- function ye(i, l) {
3704
+ function ve(i, l) {
3705
3705
  if (e.config !== void 0) {
3706
3706
  var h = e.config[i];
3707
3707
  if (h !== void 0 && h.length > 0)
3708
- for (var C = 0; h[C] && C < h.length; C++)
3709
- h[C](e.selectedDates, e.input.value, e, l);
3708
+ for (var _ = 0; h[_] && _ < h.length; _++)
3709
+ h[_](e.selectedDates, e.input.value, e, l);
3710
3710
  i === "onChange" && (e.input.dispatchEvent($t("change")), e.input.dispatchEvent($t("input")));
3711
3711
  }
3712
3712
  }
@@ -3735,30 +3735,30 @@ function gl(t, n) {
3735
3735
  var l = i || (e.config.altInput ? e.config.altFormat : e.config.dateFormat);
3736
3736
  return e.selectedDates.map(function(h) {
3737
3737
  return e.formatDate(h, l);
3738
- }).filter(function(h, C, F) {
3739
- return e.config.mode !== "range" || e.config.enableTime || F.indexOf(h) === C;
3738
+ }).filter(function(h, _, V) {
3739
+ return e.config.mode !== "range" || e.config.enableTime || V.indexOf(h) === _;
3740
3740
  }).join(e.config.mode !== "range" ? e.config.conjunction : e.l10n.rangeSeparator);
3741
3741
  }
3742
3742
  function We(i) {
3743
- i === void 0 && (i = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = It(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = It(e.config.altFormat)), i !== !1 && ye("onValueUpdate");
3743
+ i === void 0 && (i = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = It(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = It(e.config.altFormat)), i !== !1 && ve("onValueUpdate");
3744
3744
  }
3745
3745
  function vn(i) {
3746
- var l = je(i), h = e.prevMonthNav.contains(l), C = e.nextMonthNav.contains(l);
3747
- h || C ? ge(h ? -1 : 1) : e.yearElements.indexOf(l) >= 0 ? l.select() : l.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : l.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
3746
+ var l = je(i), h = e.prevMonthNav.contains(l), _ = e.nextMonthNav.contains(l);
3747
+ h || _ ? he(h ? -1 : 1) : e.yearElements.indexOf(l) >= 0 ? l.select() : l.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : l.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
3748
3748
  }
3749
3749
  function yn(i) {
3750
3750
  i.preventDefault();
3751
- var l = i.type === "keydown", h = je(i), C = h;
3751
+ var l = i.type === "keydown", h = je(i), _ = h;
3752
3752
  e.amPM !== void 0 && h === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ge(e.amPM.textContent === e.l10n.amPM[0])]);
3753
- var F = parseFloat(C.getAttribute("min")), N = parseFloat(C.getAttribute("max")), X = parseFloat(C.getAttribute("step")), Y = parseInt(C.value, 10), re = i.delta || (l ? i.which === 38 ? 1 : -1 : 0), R = Y + X * re;
3754
- if (typeof C.value < "u" && C.value.length === 2) {
3755
- var q = C === e.hourElement, me = C === e.minuteElement;
3756
- R < F ? (R = N + R + Ge(!q) + (Ge(q) && Ge(!e.amPM)), me && U(void 0, -1, e.hourElement)) : R > N && (R = C === e.hourElement ? R - N - Ge(!e.amPM) : F, me && U(void 0, 1, e.hourElement)), e.amPM && q && (X === 1 ? R + Y === 23 : Math.abs(R - Y) > X) && (e.amPM.textContent = e.l10n.amPM[Ge(e.amPM.textContent === e.l10n.amPM[0])]), C.value = Ve(R);
3753
+ var V = parseFloat(_.getAttribute("min")), N = parseFloat(_.getAttribute("max")), X = parseFloat(_.getAttribute("step")), Y = parseInt(_.value, 10), ae = i.delta || (l ? i.which === 38 ? 1 : -1 : 0), R = Y + X * ae;
3754
+ if (typeof _.value < "u" && _.value.length === 2) {
3755
+ var q = _ === e.hourElement, fe = _ === e.minuteElement;
3756
+ R < V ? (R = N + R + Ge(!q) + (Ge(q) && Ge(!e.amPM)), fe && U(void 0, -1, e.hourElement)) : R > N && (R = _ === e.hourElement ? R - N - Ge(!e.amPM) : V, fe && U(void 0, 1, e.hourElement)), e.amPM && q && (X === 1 ? R + Y === 23 : Math.abs(R - Y) > X) && (e.amPM.textContent = e.l10n.amPM[Ge(e.amPM.textContent === e.l10n.amPM[0])]), _.value = Pe(R);
3757
3757
  }
3758
3758
  }
3759
3759
  return r(), e;
3760
3760
  }
3761
- function Vt(t, n) {
3761
+ function Pt(t, n) {
3762
3762
  for (var e = Array.prototype.slice.call(t).filter(function(s) {
3763
3763
  return s instanceof HTMLElement;
3764
3764
  }), a = [], r = 0; r < e.length; r++) {
@@ -3774,34 +3774,34 @@ function Vt(t, n) {
3774
3774
  return a.length === 1 ? a[0] : a;
3775
3775
  }
3776
3776
  typeof HTMLElement < "u" && typeof HTMLCollection < "u" && typeof NodeList < "u" && (HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function(t) {
3777
- return Vt(this, t);
3777
+ return Pt(this, t);
3778
3778
  }, HTMLElement.prototype.flatpickr = function(t) {
3779
- return Vt([this], t);
3779
+ return Pt([this], t);
3780
3780
  });
3781
- var De = function(t, n) {
3782
- return typeof t == "string" ? Vt(window.document.querySelectorAll(t), n) : t instanceof Node ? Vt([t], n) : Vt(t, n);
3781
+ var _e = function(t, n) {
3782
+ return typeof t == "string" ? Pt(window.document.querySelectorAll(t), n) : t instanceof Node ? Pt([t], n) : Pt(t, n);
3783
3783
  };
3784
- De.defaultConfig = {};
3785
- De.l10ns = {
3784
+ _e.defaultConfig = {};
3785
+ _e.l10ns = {
3786
3786
  en: $e({}, en),
3787
3787
  default: $e({}, en)
3788
3788
  };
3789
- De.localize = function(t) {
3790
- De.l10ns.default = $e($e({}, De.l10ns.default), t);
3789
+ _e.localize = function(t) {
3790
+ _e.l10ns.default = $e($e({}, _e.l10ns.default), t);
3791
3791
  };
3792
- De.setDefaults = function(t) {
3793
- De.defaultConfig = $e($e({}, De.defaultConfig), t);
3792
+ _e.setDefaults = function(t) {
3793
+ _e.defaultConfig = $e($e({}, _e.defaultConfig), t);
3794
3794
  };
3795
- De.parseDate = pa({});
3796
- De.formatDate = Gr({});
3797
- De.compareDates = Re;
3795
+ _e.parseDate = pa({});
3796
+ _e.formatDate = Gr({});
3797
+ _e.compareDates = Re;
3798
3798
  typeof jQuery < "u" && typeof jQuery.fn < "u" && (jQuery.fn.flatpickr = function(t) {
3799
- return Vt(this, t);
3799
+ return Pt(this, t);
3800
3800
  });
3801
3801
  Date.prototype.fp_incr = function(t) {
3802
3802
  return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof t == "string" ? parseInt(t, 10) : t));
3803
3803
  };
3804
- typeof window < "u" && (window.flatpickr = De);
3804
+ typeof window < "u" && (window.flatpickr = _e);
3805
3805
  const Kr = [
3806
3806
  "onChange",
3807
3807
  "onClose",
@@ -3873,7 +3873,7 @@ const fr = [...Kr, ...vl], yl = ["locale", "showMonths"], bl = L({
3873
3873
  };
3874
3874
  },
3875
3875
  mounted() {
3876
- this.fp || (this.fp = De(this.getElem(), this.prepareConfig()), this.fpInput().addEventListener("blur", this.onBlur), this.$watch("disabled", this.watchDisabled, {
3876
+ this.fp || (this.fp = _e(this.getElem(), this.prepareConfig()), this.fpInput().addEventListener("blur", this.onBlur), this.$watch("disabled", this.watchDisabled, {
3877
3877
  immediate: !0
3878
3878
  }));
3879
3879
  },
@@ -3881,7 +3881,7 @@ const fr = [...Kr, ...vl], yl = ["locale", "showMonths"], bl = L({
3881
3881
  prepareConfig() {
3882
3882
  let t = Object.assign({}, this.config);
3883
3883
  this.events.forEach((e) => {
3884
- let a = De.defaultConfig[e] || [], r = (...o) => {
3884
+ let a = _e.defaultConfig[e] || [], r = (...o) => {
3885
3885
  this.$emit(dr(e), ...o);
3886
3886
  };
3887
3887
  t[e] = cr(t[e] || []).concat(a, r);
@@ -4052,25 +4052,25 @@ var ha = {}, wl = {
4052
4052
  O.stopPropagation(), O.preventDefault();
4053
4053
  var I = O.target;
4054
4054
  if (!(I.tagName.toLowerCase() !== "button" || typeof p.onClick > "u"))
4055
- for (var V = parseInt(I.dataset.index, 10), z = Array.isArray(p.onClick) ? p.onClick : [p.onClick], U = 0, ae = z; U < ae.length; U++) {
4056
- var ee = ae[U];
4057
- typeof ee == "function" && ee(V, d);
4055
+ for (var P = parseInt(I.dataset.index, 10), z = Array.isArray(p.onClick) ? p.onClick : [p.onClick], U = 0, ne = z; U < ne.length; U++) {
4056
+ var ee = ne[U];
4057
+ typeof ee == "function" && ee(P, d);
4058
4058
  }
4059
4059
  }
4060
- function P(O) {
4060
+ function F(O) {
4061
4061
  var I = O.target;
4062
4062
  O.key !== "Tab" || I.tagName.toLowerCase() !== "button" || (O.shiftKey && !I.previousSibling || !O.shiftKey && !I.nextSibling) && (O.preventDefault(), d.element.focus());
4063
4063
  }
4064
4064
  function v(O, I) {
4065
- Object.keys(I).filter(function(V) {
4066
- return c.has(V);
4067
- }).forEach(function(V) {
4065
+ Object.keys(I).filter(function(P) {
4066
+ return c.has(P);
4067
+ }).forEach(function(P) {
4068
4068
  var z;
4069
- if (V === "class") {
4070
- (z = O.classList).add.apply(z, I[V].split(" "));
4069
+ if (P === "class") {
4070
+ (z = O.classList).add.apply(z, I[P].split(" "));
4071
4071
  return;
4072
4072
  }
4073
- O.setAttribute(V, I[V]);
4073
+ O.setAttribute(P, I[P]);
4074
4074
  });
4075
4075
  }
4076
4076
  return {
@@ -4083,16 +4083,16 @@ var ha = {}, wl = {
4083
4083
  O.classList.add("shortcut-buttons-flatpickr-label"), O.textContent = p.label, g.appendChild(O);
4084
4084
  }
4085
4085
  var I = document.createElement("div");
4086
- I.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(p.button) ? p.button : [p.button]).forEach(function(V, z) {
4086
+ I.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(p.button) ? p.button : [p.button]).forEach(function(P, z) {
4087
4087
  var U = document.createElement("button");
4088
- U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent = V.label, U.dataset.index = String(z), typeof V.attributes < "u" && v(U, V.attributes), I.appendChild(U), d.pluginElements.push(U);
4089
- }), g.appendChild(I), d.calendarContainer.appendChild(g), g.addEventListener("click", b), g.addEventListener("keydown", P);
4088
+ U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent = P.label, U.dataset.index = String(z), typeof P.attributes < "u" && v(U, P.attributes), I.appendChild(U), d.pluginElements.push(U);
4089
+ }), g.appendChild(I), d.calendarContainer.appendChild(g), g.addEventListener("click", b), g.addEventListener("keydown", F);
4090
4090
  },
4091
4091
  /**
4092
4092
  * Clean up before flatpickr is destroyed.
4093
4093
  */
4094
4094
  onDestroy: function() {
4095
- g.removeEventListener("keydown", P), g.removeEventListener("click", b), g = void 0;
4095
+ g.removeEventListener("keydown", F), g.removeEventListener("click", b), g = void 0;
4096
4096
  }
4097
4097
  };
4098
4098
  };
@@ -4403,7 +4403,7 @@ var Un = {}, Cl = {
4403
4403
  time_24hr: !0
4404
4404
  };
4405
4405
  g.l10ns.bs = b, g.l10ns;
4406
- var P = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4406
+ var F = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4407
4407
  l10ns: {}
4408
4408
  }, v = {
4409
4409
  weekdays: {
@@ -4451,7 +4451,7 @@ var Un = {}, Cl = {
4451
4451
  time_24hr: !0,
4452
4452
  firstDayOfWeek: 1
4453
4453
  };
4454
- P.l10ns.bg = v, P.l10ns;
4454
+ F.l10ns.bg = v, F.l10ns;
4455
4455
  var O = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4456
4456
  l10ns: {}
4457
4457
  }, I = {
@@ -4499,7 +4499,7 @@ var Un = {}, Cl = {
4499
4499
  }
4500
4500
  };
4501
4501
  O.l10ns.bn = I, O.l10ns;
4502
- var V = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4502
+ var P = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4503
4503
  l10ns: {}
4504
4504
  }, z = {
4505
4505
  weekdays: {
@@ -4544,8 +4544,8 @@ var Un = {}, Cl = {
4544
4544
  "Desembre"
4545
4545
  ]
4546
4546
  },
4547
- ordinal: function(ce) {
4548
- var Xe = ce % 100;
4547
+ ordinal: function(de) {
4548
+ var Xe = de % 100;
4549
4549
  if (Xe > 3 && Xe < 21)
4550
4550
  return "è";
4551
4551
  switch (Xe % 10) {
@@ -4565,10 +4565,10 @@ var Un = {}, Cl = {
4565
4565
  rangeSeparator: " a ",
4566
4566
  time_24hr: !0
4567
4567
  };
4568
- V.l10ns.cat = V.l10ns.ca = z, V.l10ns;
4568
+ P.l10ns.cat = P.l10ns.ca = z, P.l10ns;
4569
4569
  var U = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4570
4570
  l10ns: {}
4571
- }, ae = {
4571
+ }, ne = {
4572
4572
  weekdays: {
4573
4573
  shorthand: [
4574
4574
  "یەکشەممە",
@@ -4624,10 +4624,10 @@ var Un = {}, Cl = {
4624
4624
  return "";
4625
4625
  }
4626
4626
  };
4627
- U.l10ns.ckb = ae, U.l10ns;
4627
+ U.l10ns.ckb = ne, U.l10ns;
4628
4628
  var ee = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4629
4629
  l10ns: {}
4630
- }, de = {
4630
+ }, ue = {
4631
4631
  weekdays: {
4632
4632
  shorthand: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"],
4633
4633
  longhand: [
@@ -4682,10 +4682,10 @@ var Un = {}, Cl = {
4682
4682
  yearAriaLabel: "Rok",
4683
4683
  time_24hr: !0
4684
4684
  };
4685
- ee.l10ns.cs = de, ee.l10ns;
4686
- var pe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4685
+ ee.l10ns.cs = ue, ee.l10ns;
4686
+ var me = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4687
4687
  l10ns: {}
4688
- }, ie = {
4688
+ }, oe = {
4689
4689
  weekdays: {
4690
4690
  shorthand: ["Sul", "Llun", "Maw", "Mer", "Iau", "Gwe", "Sad"],
4691
4691
  longhand: [
@@ -4729,15 +4729,15 @@ var Un = {}, Cl = {
4729
4729
  ]
4730
4730
  },
4731
4731
  firstDayOfWeek: 1,
4732
- ordinal: function(ce) {
4733
- return ce === 1 ? "af" : ce === 2 ? "ail" : ce === 3 || ce === 4 ? "ydd" : ce === 5 || ce === 6 ? "ed" : ce >= 7 && ce <= 10 || ce == 12 || ce == 15 || ce == 18 || ce == 20 ? "fed" : ce == 11 || ce == 13 || ce == 14 || ce == 16 || ce == 17 || ce == 19 ? "eg" : ce >= 21 && ce <= 39 ? "ain" : "";
4732
+ ordinal: function(de) {
4733
+ return de === 1 ? "af" : de === 2 ? "ail" : de === 3 || de === 4 ? "ydd" : de === 5 || de === 6 ? "ed" : de >= 7 && de <= 10 || de == 12 || de == 15 || de == 18 || de == 20 ? "fed" : de == 11 || de == 13 || de == 14 || de == 16 || de == 17 || de == 19 ? "eg" : de >= 21 && de <= 39 ? "ain" : "";
4734
4734
  },
4735
4735
  time_24hr: !0
4736
4736
  };
4737
- pe.l10ns.cy = ie, pe.l10ns;
4737
+ me.l10ns.cy = oe, me.l10ns;
4738
4738
  var Q = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4739
4739
  l10ns: {}
4740
- }, W = {
4740
+ }, Me = {
4741
4741
  weekdays: {
4742
4742
  shorthand: ["søn", "man", "tir", "ons", "tors", "fre", "lør"],
4743
4743
  longhand: [
@@ -4788,10 +4788,10 @@ var Un = {}, Cl = {
4788
4788
  weekAbbreviation: "uge",
4789
4789
  time_24hr: !0
4790
4790
  };
4791
- Q.l10ns.da = W, Q.l10ns;
4792
- var te = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4791
+ Q.l10ns.da = Me, Q.l10ns;
4792
+ var W = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4793
4793
  l10ns: {}
4794
- }, M = {
4794
+ }, D = {
4795
4795
  weekdays: {
4796
4796
  shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
4797
4797
  longhand: [
@@ -4841,8 +4841,8 @@ var Un = {}, Cl = {
4841
4841
  toggleTitle: "Zum Umschalten klicken",
4842
4842
  time_24hr: !0
4843
4843
  };
4844
- te.l10ns.de = M, te.l10ns;
4845
- var _ = {
4844
+ W.l10ns.de = D, W.l10ns;
4845
+ var C = {
4846
4846
  weekdays: {
4847
4847
  shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
4848
4848
  longhand: [
@@ -4887,8 +4887,8 @@ var Un = {}, Cl = {
4887
4887
  },
4888
4888
  daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
4889
4889
  firstDayOfWeek: 0,
4890
- ordinal: function(ce) {
4891
- var Xe = ce % 100;
4890
+ ordinal: function(de) {
4891
+ var Xe = de % 100;
4892
4892
  if (Xe > 3 && Xe < 21)
4893
4893
  return "th";
4894
4894
  switch (Xe % 10) {
@@ -4912,9 +4912,9 @@ var Un = {}, Cl = {
4912
4912
  hourAriaLabel: "Hour",
4913
4913
  minuteAriaLabel: "Minute",
4914
4914
  time_24hr: !1
4915
- }, D = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4915
+ }, A = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4916
4916
  l10ns: {}
4917
- }, A = {
4917
+ }, M = {
4918
4918
  firstDayOfWeek: 1,
4919
4919
  rangeSeparator: " ĝis ",
4920
4920
  weekAbbreviation: "Sem",
@@ -4967,7 +4967,7 @@ var Un = {}, Cl = {
4967
4967
  },
4968
4968
  time_24hr: !0
4969
4969
  };
4970
- D.l10ns.eo = A, D.l10ns;
4970
+ A.l10ns.eo = M, A.l10ns;
4971
4971
  var x = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4972
4972
  l10ns: {}
4973
4973
  }, j = {
@@ -5023,7 +5023,7 @@ var Un = {}, Cl = {
5023
5023
  x.l10ns.es = j, x.l10ns;
5024
5024
  var K = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5025
5025
  l10ns: {}
5026
- }, ue = {
5026
+ }, se = {
5027
5027
  weekdays: {
5028
5028
  shorthand: ["P", "E", "T", "K", "N", "R", "L"],
5029
5029
  longhand: [
@@ -5076,10 +5076,10 @@ var Un = {}, Cl = {
5076
5076
  toggleTitle: "Klõpsa, et vahetada",
5077
5077
  time_24hr: !0
5078
5078
  };
5079
- K.l10ns.et = ue, K.l10ns;
5080
- var ge = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5079
+ K.l10ns.et = se, K.l10ns;
5080
+ var he = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5081
5081
  l10ns: {}
5082
- }, ve = {
5082
+ }, ge = {
5083
5083
  weekdays: {
5084
5084
  shorthand: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه"],
5085
5085
  longhand: [
@@ -5127,8 +5127,8 @@ var Un = {}, Cl = {
5127
5127
  return "";
5128
5128
  }
5129
5129
  };
5130
- ge.l10ns.fa = ve, ge.l10ns;
5131
- var _e = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5130
+ he.l10ns.fa = ge, he.l10ns;
5131
+ var Ce = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5132
5132
  l10ns: {}
5133
5133
  }, Ee = {
5134
5134
  firstDayOfWeek: 1,
@@ -5179,7 +5179,7 @@ var Un = {}, Cl = {
5179
5179
  },
5180
5180
  time_24hr: !0
5181
5181
  };
5182
- _e.l10ns.fi = Ee, _e.l10ns;
5182
+ Ce.l10ns.fi = Ee, Ce.l10ns;
5183
5183
  var xe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5184
5184
  l10ns: {}
5185
5185
  }, He = {
@@ -5283,8 +5283,8 @@ var Un = {}, Cl = {
5283
5283
  "décembre"
5284
5284
  ]
5285
5285
  },
5286
- ordinal: function(ce) {
5287
- return ce > 1 ? "" : "er";
5286
+ ordinal: function(de) {
5287
+ return de > 1 ? "" : "er";
5288
5288
  },
5289
5289
  rangeSeparator: " au ",
5290
5290
  weekAbbreviation: "Sem",
@@ -5293,7 +5293,7 @@ var Un = {}, Cl = {
5293
5293
  time_24hr: !0
5294
5294
  };
5295
5295
  Ne.l10ns.fr = Te, Ne.l10ns;
5296
- var ke = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5296
+ var we = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5297
5297
  l10ns: {}
5298
5298
  }, Le = {
5299
5299
  weekdays: {
@@ -5352,7 +5352,7 @@ var Un = {}, Cl = {
5352
5352
  hourAriaLabel: "ώρα",
5353
5353
  minuteAriaLabel: "λεπτό"
5354
5354
  };
5355
- ke.l10ns.gr = Le, ke.l10ns;
5355
+ we.l10ns.gr = Le, we.l10ns;
5356
5356
  var rt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5357
5357
  l10ns: {}
5358
5358
  }, Je = {
@@ -5984,7 +5984,7 @@ var Un = {}, Cl = {
5984
5984
  time_24hr: !0
5985
5985
  };
5986
5986
  pn.l10ns.km = hn, pn.l10ns;
5987
- var ye = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5987
+ var ve = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5988
5988
  l10ns: {}
5989
5989
  }, $t = {
5990
5990
  weekdays: {
@@ -6040,7 +6040,7 @@ var Un = {}, Cl = {
6040
6040
  amPM: ["ТД", "ТК"],
6041
6041
  yearAriaLabel: "Жыл"
6042
6042
  };
6043
- ye.l10ns.kz = $t, ye.l10ns;
6043
+ ve.l10ns.kz = $t, ve.l10ns;
6044
6044
  var Ot = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6045
6045
  l10ns: {}
6046
6046
  }, gn = {
@@ -6283,9 +6283,9 @@ var Un = {}, Cl = {
6283
6283
  }
6284
6284
  };
6285
6285
  l.l10ns;
6286
- var C = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6286
+ var _ = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6287
6287
  l10ns: {}
6288
- }, F = {
6288
+ }, V = {
6289
6289
  weekdays: {
6290
6290
  shorthand: ["နွေ", "လာ", "ဂါ", "ဟူး", "ကြာ", "သော", "နေ"],
6291
6291
  longhand: [
@@ -6334,7 +6334,7 @@ var Un = {}, Cl = {
6334
6334
  },
6335
6335
  time_24hr: !0
6336
6336
  };
6337
- C.l10ns.my = F, C.l10ns;
6337
+ _.l10ns.my = V, _.l10ns;
6338
6338
  var N = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6339
6339
  l10ns: {}
6340
6340
  }, X = {
@@ -6386,14 +6386,14 @@ var Un = {}, Cl = {
6386
6386
  scrollTitle: "Scroll voor volgende / vorige",
6387
6387
  toggleTitle: "Klik om te wisselen",
6388
6388
  time_24hr: !0,
6389
- ordinal: function(ce) {
6390
- return ce === 1 || ce === 8 || ce >= 20 ? "ste" : "de";
6389
+ ordinal: function(de) {
6390
+ return de === 1 || de === 8 || de >= 20 ? "ste" : "de";
6391
6391
  }
6392
6392
  };
6393
6393
  N.l10ns.nl = X, N.l10ns;
6394
6394
  var Y = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6395
6395
  l10ns: {}
6396
- }, re = {
6396
+ }, ae = {
6397
6397
  weekdays: {
6398
6398
  shorthand: ["Sø.", "Må.", "Ty.", "On.", "To.", "Fr.", "La."],
6399
6399
  longhand: [
@@ -6446,7 +6446,7 @@ var Un = {}, Cl = {
6446
6446
  return ".";
6447
6447
  }
6448
6448
  };
6449
- Y.l10ns.nn = re, Y.l10ns;
6449
+ Y.l10ns.nn = ae, Y.l10ns;
6450
6450
  var R = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6451
6451
  l10ns: {}
6452
6452
  }, q = {
@@ -6503,7 +6503,7 @@ var Un = {}, Cl = {
6503
6503
  }
6504
6504
  };
6505
6505
  R.l10ns.no = q, R.l10ns;
6506
- var me = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6506
+ var fe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6507
6507
  l10ns: {}
6508
6508
  }, Be = {
6509
6509
  weekdays: {
@@ -6550,7 +6550,7 @@ var Un = {}, Cl = {
6550
6550
  },
6551
6551
  time_24hr: !0
6552
6552
  };
6553
- me.l10ns.pa = Be, me.l10ns;
6553
+ fe.l10ns.pa = Be, fe.l10ns;
6554
6554
  var Se = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6555
6555
  l10ns: {}
6556
6556
  }, st = {
@@ -6656,7 +6656,7 @@ var Un = {}, Cl = {
6656
6656
  time_24hr: !0
6657
6657
  };
6658
6658
  ot.l10ns.pt = bn, ot.l10ns;
6659
- var Ft = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6659
+ var Vt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6660
6660
  l10ns: {}
6661
6661
  }, wn = {
6662
6662
  weekdays: {
@@ -6707,7 +6707,7 @@ var Un = {}, Cl = {
6707
6707
  return "";
6708
6708
  }
6709
6709
  };
6710
- Ft.l10ns.ro = wn, Ft.l10ns;
6710
+ Vt.l10ns.ro = wn, Vt.l10ns;
6711
6711
  var kn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6712
6712
  l10ns: {}
6713
6713
  }, Cn = {
@@ -6975,9 +6975,9 @@ var Un = {}, Cl = {
6975
6975
  time_24hr: !0
6976
6976
  };
6977
6977
  Oa.l10ns.sq = Ia, Oa.l10ns;
6978
- var Fa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6978
+ var Va = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6979
6979
  l10ns: {}
6980
- }, Pa = {
6980
+ }, Fa = {
6981
6981
  weekdays: {
6982
6982
  shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
6983
6983
  longhand: [
@@ -7025,8 +7025,8 @@ var Un = {}, Cl = {
7025
7025
  rangeSeparator: " do ",
7026
7026
  time_24hr: !0
7027
7027
  };
7028
- Fa.l10ns.sr = Pa, Fa.l10ns;
7029
- var Va = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7028
+ Va.l10ns.sr = Fa, Va.l10ns;
7029
+ var Pa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7030
7030
  l10ns: {}
7031
7031
  }, Ea = {
7032
7032
  firstDayOfWeek: 1,
@@ -7079,7 +7079,7 @@ var Un = {}, Cl = {
7079
7079
  return ".";
7080
7080
  }
7081
7081
  };
7082
- Va.l10ns.sv = Ea, Va.l10ns;
7082
+ Pa.l10ns.sv = Ea, Pa.l10ns;
7083
7083
  var Na = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7084
7084
  l10ns: {}
7085
7085
  }, La = {
@@ -7517,18 +7517,18 @@ var Un = {}, Cl = {
7517
7517
  bn: I,
7518
7518
  bs: b,
7519
7519
  ca: z,
7520
- ckb: ae,
7520
+ ckb: ne,
7521
7521
  cat: z,
7522
- cs: de,
7523
- cy: ie,
7524
- da: W,
7525
- de: M,
7526
- default: a({}, _),
7527
- en: _,
7528
- eo: A,
7522
+ cs: ue,
7523
+ cy: oe,
7524
+ da: Me,
7525
+ de: D,
7526
+ default: a({}, C),
7527
+ en: C,
7528
+ eo: M,
7529
7529
  es: j,
7530
- et: ue,
7531
- fa: ve,
7530
+ et: se,
7531
+ fa: ge,
7532
7532
  fi: Ee,
7533
7533
  fo: He,
7534
7534
  fr: Te,
@@ -7551,9 +7551,9 @@ var Un = {}, Cl = {
7551
7551
  mk: vn,
7552
7552
  mn: i,
7553
7553
  ms: h,
7554
- my: F,
7554
+ my: V,
7555
7555
  nl: X,
7556
- nn: re,
7556
+ nn: ae,
7557
7557
  no: q,
7558
7558
  pa: Be,
7559
7559
  pl: st,
@@ -7564,7 +7564,7 @@ var Un = {}, Cl = {
7564
7564
  sk: Mn,
7565
7565
  sl: $a,
7566
7566
  sq: Ia,
7567
- sr: Pa,
7567
+ sr: Fa,
7568
7568
  sv: Ea,
7569
7569
  th: La,
7570
7570
  tr: ja,
@@ -7579,7 +7579,7 @@ var Un = {}, Cl = {
7579
7579
  });
7580
7580
  })(Cl, Un);
7581
7581
  const _l = /* @__PURE__ */ Nr(Un);
7582
- const { t: Dl } = se.global;
7582
+ const { t: Dl } = le.global;
7583
7583
  function Zr() {
7584
7584
  return Ke({ t: Dl })(Do, {
7585
7585
  withArguments: !0,
@@ -7611,56 +7611,56 @@ const Al = {
7611
7611
  },
7612
7612
  emits: ["change", "blur", "update:modelValue", "onOpen", "onClose"],
7613
7613
  setup(t, { emit: n }) {
7614
- const e = t, a = (_) => _ !== null && typeof _.fp < "u", r = J(null), o = J(null), s = J(!1), c = J("sk"), u = J(""), m = J(null), { t: p } = G(), d = (_) => _.replace("Z", "000Z"), g = (_) => {
7615
- _ !== e.modelValue && (n("update:modelValue", _), n("change"));
7616
- }, b = (_) => {
7617
- if (_ === null || S(_)) {
7614
+ const e = t, a = (C) => C !== null && typeof C.fp < "u", r = J(null), o = J(null), s = J(!1), c = J("sk"), u = J(""), m = J(null), { t: p } = G(), d = (C) => C.replace("Z", "000Z"), g = (C) => {
7615
+ C !== e.modelValue && (n("update:modelValue", C), n("change"));
7616
+ }, b = (C) => {
7617
+ if (C === null || S(C)) {
7618
7618
  g(null);
7619
7619
  return;
7620
7620
  }
7621
- if (_ && _.date) {
7622
- g(d(_.date + ""));
7621
+ if (C && C.date) {
7622
+ g(d(C.date + ""));
7623
7623
  return;
7624
7624
  }
7625
- g(d(_ + ""));
7626
- }, P = () => {
7625
+ g(d(C + ""));
7626
+ }, F = () => {
7627
7627
  I(), s.value = !0, n("onOpen");
7628
7628
  }, v = () => {
7629
7629
  s.value = !1, n("onClose");
7630
7630
  }, O = () => {
7631
7631
  a(r.value) && (u.value = r.value.fpInput().value);
7632
7632
  }, I = () => {
7633
- var A, x, j;
7633
+ var M, x, j;
7634
7634
  if (!a(r.value))
7635
7635
  return;
7636
- const _ = u.value.replace(/[^\s\d.:]/g, ""), D = r.value.fp.parseDate(_, z.value);
7637
- if (S(D)) {
7638
- be(e.defaultValue) ? (A = r.value) == null || A.fp.clear(!0) : (x = r.value) == null || x.fp.setDate(e.defaultValue, !0), te.value.textFieldValue.$touch(), n("blur");
7636
+ const C = u.value.replace(/[^\s\d.:]/g, ""), A = r.value.fp.parseDate(C, z.value);
7637
+ if (S(A)) {
7638
+ ye(e.defaultValue) ? (M = r.value) == null || M.fp.clear(!0) : (x = r.value) == null || x.fp.setDate(e.defaultValue, !0), W.value.textFieldValue.$touch(), n("blur");
7639
7639
  return;
7640
7640
  }
7641
- (j = r.value) == null || j.fp.setDate(D, !0), te.value.textFieldValue.$touch(), n("blur");
7642
- }, V = () => {
7641
+ (j = r.value) == null || j.fp.setDate(A, !0), W.value.textFieldValue.$touch(), n("blur");
7642
+ }, P = () => {
7643
7643
  m.value = e.defaultValue, n("update:modelValue", f(e.defaultValue));
7644
- }, z = T(() => e.type === "datetime" ? "d.m.Y H:i" : "d.m.Y"), U = T(() => e.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), ae = T(() => e.enable && e.enable.length > 0 ? e.enable : [
7644
+ }, z = T(() => e.type === "datetime" ? "d.m.Y H:i" : "d.m.Y"), U = T(() => e.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), ne = T(() => e.enable && e.enable.length > 0 ? e.enable : [
7645
7645
  {
7646
7646
  from: new Date(1901, 1),
7647
7647
  to: new Date(2099, 12)
7648
7648
  }
7649
- ]), ee = T(() => be(e.defaultValue) ? void 0 : e.defaultValue), de = T(() => e.hideSetToNow ? [] : [
7649
+ ]), ee = T(() => ye(e.defaultValue) ? void 0 : e.defaultValue), ue = T(() => e.hideSetToNow ? [] : [
7650
7650
  kl({
7651
7651
  button: [
7652
7652
  {
7653
7653
  label: p("common.button.now")
7654
7654
  }
7655
7655
  ],
7656
- onClick: (_, D) => {
7657
- const A = Ki();
7658
- D.setDate(A, !0), b(Zi(A));
7656
+ onClick: (C, A) => {
7657
+ const M = Ki();
7658
+ A.setDate(M, !0), b(Zi(M));
7659
7659
  }
7660
7660
  })
7661
- ]), pe = T(() => {
7662
- var D;
7663
- const _ = (D = o.value) == null ? void 0 : D.$el.querySelector(".v-input__control");
7661
+ ]), me = T(() => {
7662
+ var A;
7663
+ const C = (A = o.value) == null ? void 0 : A.$el.querySelector(".v-input__control");
7664
7664
  return {
7665
7665
  enableTime: e.type !== "date",
7666
7666
  wrap: !0,
@@ -7670,7 +7670,7 @@ const Al = {
7670
7670
  allowInput: !0,
7671
7671
  altInput: !0,
7672
7672
  altInputClass: "d-sr-only",
7673
- positionElement: _ ?? void 0,
7673
+ positionElement: C ?? void 0,
7674
7674
  // dateFormat: 'Y-m-dTH:i:S.000000\\Z', problem with timezone
7675
7675
  dateFormat: "Z",
7676
7676
  disableMobile: !0,
@@ -7678,13 +7678,13 @@ const Al = {
7678
7678
  position: "auto right",
7679
7679
  // @ts-ignore
7680
7680
  locale: { ..._l[c.value] },
7681
- enable: ae.value,
7681
+ enable: ne.value,
7682
7682
  weekNumbers: e.weekNumbers,
7683
7683
  // @ts-ignore
7684
7684
  minDate: e.minNow ? (/* @__PURE__ */ new Date()).fp_incr(-1) : !1,
7685
- plugins: de.value
7685
+ plugins: ue.value
7686
7686
  };
7687
- }), ie = () => {
7687
+ }), oe = () => {
7688
7688
  setTimeout(() => {
7689
7689
  if (a(r.value)) {
7690
7690
  if (s.value) {
@@ -7696,23 +7696,23 @@ const Al = {
7696
7696
  }, 0);
7697
7697
  };
7698
7698
  Nt(() => {
7699
- if ((be(e.modelValue) || S(e.modelValue)) && !be(e.defaultValue)) {
7699
+ if ((ye(e.modelValue) || S(e.modelValue)) && !ye(e.defaultValue)) {
7700
7700
  m.value = e.defaultValue;
7701
7701
  return;
7702
7702
  }
7703
7703
  m.value = S(e.modelValue) ? null : e.modelValue;
7704
7704
  });
7705
- const Q = Zr(), W = T(() => ({
7705
+ const Q = Zr(), Me = T(() => ({
7706
7706
  textFieldValue: {
7707
7707
  required: Q(e.required)
7708
7708
  }
7709
- })), te = _o(W, { textFieldValue: u }), M = T(() => S(e.errorMessages) ? te.value.textFieldValue.$errors.length ? [te.value.textFieldValue.$errors.map((_) => _.$message).join(" ")] : [] : e.errorMessages);
7710
- return (_, D) => (k(), E(Hn, {
7709
+ })), W = _o(Me, { textFieldValue: u }), D = T(() => S(e.errorMessages) ? W.value.textFieldValue.$errors.length ? [W.value.textFieldValue.$errors.map((C) => C.$message).join(" ")] : [] : e.errorMessages);
7710
+ return (C, A) => (k(), E(Hn, {
7711
7711
  ref_key: "textFieldRef",
7712
7712
  ref: o,
7713
7713
  modelValue: u.value,
7714
- "onUpdate:modelValue": D[0] || (D[0] = (A) => u.value = A),
7715
- "error-messages": f(M),
7714
+ "onUpdate:modelValue": A[0] || (A[0] = (M) => u.value = M),
7715
+ "error-messages": f(D),
7716
7716
  "persistent-placeholder": !0,
7717
7717
  placeholder: f(U),
7718
7718
  class: "a-datetime-picker",
@@ -7720,28 +7720,28 @@ const Al = {
7720
7720
  onKeyup: wr(I, ["enter"])
7721
7721
  }, tn({
7722
7722
  "append-inner": y(() => [
7723
- t.clearable && t.defaultValue !== t.modelValue ? (k(), E(he, {
7723
+ t.clearable && t.defaultValue !== t.modelValue ? (k(), E(pe, {
7724
7724
  key: 0,
7725
7725
  class: "a-datetime-picker__clearable",
7726
7726
  icon: "mdi-close-circle",
7727
- onClick: oe(V, ["stop"])
7727
+ onClick: re(P, ["stop"])
7728
7728
  }, null, 8, ["onClick"])) : Z("", !0),
7729
- ne("div", null, [
7729
+ te("div", null, [
7730
7730
  w(f(bl), {
7731
7731
  ref_key: "flatickrRef",
7732
7732
  ref: r,
7733
- config: f(pe),
7733
+ config: f(me),
7734
7734
  disabled: t.disabled,
7735
7735
  "model-value": m.value,
7736
7736
  "onUpdate:modelValue": b,
7737
7737
  onOnClose: v,
7738
- onOnOpen: P,
7738
+ onOnOpen: F,
7739
7739
  onOnChange: O
7740
7740
  }, null, 8, ["config", "disabled", "model-value"]),
7741
- w(he, {
7741
+ w(pe, {
7742
7742
  class: "a-datetime-picker__calendar",
7743
7743
  icon: "mdi-calendar",
7744
- onClick: oe(ie, ["stop"])
7744
+ onClick: re(oe, ["stop"])
7745
7745
  }, null, 8, ["onClick"])
7746
7746
  ])
7747
7747
  ]),
@@ -7771,7 +7771,7 @@ const Qr = /* @__PURE__ */ gt(Ml, [["__scopeId", "data-v-6a404d76"]]), nh = /* @
7771
7771
  },
7772
7772
  emits: ["update:modelValue", "click:append", "blur"],
7773
7773
  setup(t, { emit: n }) {
7774
- const e = t, { t: a } = G(), r = we(nt, void 0), o = we(at, void 0), s = (d) => {
7774
+ const e = t, { t: a } = G(), r = be(nt, void 0), o = be(at, void 0), s = (d) => {
7775
7775
  n("update:modelValue", d);
7776
7776
  }, c = () => {
7777
7777
  var d;
@@ -7871,92 +7871,92 @@ const xl = {
7871
7871
  get() {
7872
7872
  return e.modelValue;
7873
7873
  },
7874
- set(A) {
7875
- n("update:modelValue", ct(A));
7874
+ set(M) {
7875
+ n("update:modelValue", ct(M));
7876
7876
  }
7877
- }), r = J(""), o = J(!1), s = J(void 0), { t: c } = G({ useScope: "global" }), { innerFilter: u } = ya(e), m = we(nt, void 0), p = we(at, void 0), d = () => {
7878
- var A;
7879
- o.value = !0, n("blur", e.modelValue), (A = e.v) == null || A.$touch();
7877
+ }), r = J(""), o = J(!1), s = J(void 0), { t: c } = G({ useScope: "global" }), { innerFilter: u } = ya(e), m = be(nt, void 0), p = be(at, void 0), d = () => {
7878
+ var M;
7879
+ o.value = !0, n("blur", e.modelValue), (M = e.v) == null || M.$touch();
7880
7880
  }, g = T(() => {
7881
- var A, x;
7882
- return S(e.errorMessage) ? (x = (A = e.v) == null ? void 0 : A.$errors) != null && x.length ? e.v.$errors.map((j) => j.$message) : [] : [e.errorMessage];
7881
+ var M, x;
7882
+ return S(e.errorMessage) ? (x = (M = e.v) == null ? void 0 : M.$errors) != null && x.length ? e.v.$errors.map((j) => j.$message) : [] : [e.errorMessage];
7883
7883
  }), b = T(() => {
7884
7884
  var x, j;
7885
7885
  if (!S(e.label))
7886
7886
  return e.label;
7887
7887
  if (S(m) || S(p) || S((x = e.v) == null ? void 0 : x.$path))
7888
7888
  return "";
7889
- const { end: A } = it((j = e.v) == null ? void 0 : j.$path, ".");
7890
- return c(m + "." + p + ".model." + A);
7891
- }), P = T(() => {
7892
- var A, x;
7893
- return S(e.required) ? ((A = e.v) == null ? void 0 : A.required) && ((x = e.v) == null ? void 0 : x.required.$params.type) === "required" : e.required;
7894
- }), v = T(() => e.multiple !== !1), O = Gn(), I = J([]), V = J([]), z = T(() => {
7895
- const A = /* @__PURE__ */ new Map();
7896
- return V.value.forEach((x) => {
7897
- A.set(x.value, { value: x.value, title: x.title });
7889
+ const { end: M } = it((j = e.v) == null ? void 0 : j.$path, ".");
7890
+ return c(m + "." + p + ".model." + M);
7891
+ }), F = T(() => {
7892
+ var M, x;
7893
+ return S(e.required) ? ((M = e.v) == null ? void 0 : M.required) && ((x = e.v) == null ? void 0 : x.required.$params.type) === "required" : e.required;
7894
+ }), v = T(() => e.multiple !== !1), O = Gn(), I = J([]), P = J([]), z = T(() => {
7895
+ const M = /* @__PURE__ */ new Map();
7896
+ return P.value.forEach((x) => {
7897
+ M.set(x.value, { value: x.value, title: x.title });
7898
7898
  }), I.value.forEach((x) => {
7899
- A.set(x.value, { value: x.value, title: x.title });
7900
- }), Array.from(A, ([x, j]) => ({ value: x, title: j.title }));
7901
- }), U = J(!1), ae = T(() => U.value ? !0 : e.loading), ee = async (A) => {
7899
+ M.set(x.value, { value: x.value, title: x.title });
7900
+ }), Array.from(M, ([x, j]) => ({ value: x, title: j.title }));
7901
+ }), U = J(!1), ne = T(() => U.value ? !0 : e.loading), ee = async (M) => {
7902
7902
  U.value = !0;
7903
7903
  const x = u.value[e.filterByField];
7904
- x.model = A, I.value = await e.fetchItems(O, u.value), U.value = !1;
7905
- }, de = (A) => {
7906
- const x = z.value.filter((j) => A.includes(j.value));
7904
+ x.model = M, I.value = await e.fetchItems(O, u.value), U.value = !1;
7905
+ }, ue = (M) => {
7906
+ const x = z.value.filter((j) => M.includes(j.value));
7907
7907
  return [].concat(x);
7908
- }, pe = async (A) => {
7908
+ }, me = async (M) => {
7909
7909
  let x = 1, j = [];
7910
- return Oe(A) ? (x = A.length, j = de(A)) : j = de([A]), V.value = j, j.length === x;
7911
- }, ie = J(!1), Q = () => {
7910
+ return Oe(M) ? (x = M.length, j = ue(M)) : j = ue([M]), P.value = j, j.length === x;
7911
+ }, oe = J(!1), Q = () => {
7912
7912
  clearTimeout(s.value), s.value = void 0;
7913
- }, W = async () => {
7914
- Q(), ie.value !== !0 && (ie.value = !0, (be(a.value) || S(a.value) || Oe(a.value) && a.value.length === 0) && (U.value = !0, I.value = await e.fetchItems(O, u.value), U.value = !1));
7915
- }, te = () => {
7916
- o.value = !0, Q(), W();
7917
- }, M = T(() => {
7918
- if (!e.multiple && V.value[0])
7919
- return V.value[0].title;
7920
- }), _ = (A) => {
7921
- !e.multiple && !o.value && A.length === 0 || M.value !== A && (r.value = A);
7922
- }, D = async () => {
7913
+ }, Me = async () => {
7914
+ Q(), oe.value !== !0 && (oe.value = !0, (ye(a.value) || S(a.value) || Oe(a.value) && a.value.length === 0) && (U.value = !0, I.value = await e.fetchItems(O, u.value), U.value = !1));
7915
+ }, W = () => {
7916
+ o.value = !0, Q(), Me();
7917
+ }, D = T(() => {
7918
+ if (!e.multiple && P.value[0])
7919
+ return P.value[0].title;
7920
+ }), C = (M) => {
7921
+ !e.multiple && !o.value && M.length === 0 || D.value !== M && (r.value = M);
7922
+ }, A = async () => {
7923
7923
  if (I.value = await e.fetchItems(O, u.value), e.multiple) {
7924
7924
  a.value = [];
7925
7925
  return;
7926
7926
  }
7927
7927
  a.value = null;
7928
7928
  };
7929
- return Fe(
7929
+ return Ve(
7930
7930
  a,
7931
- async (A, x) => {
7932
- if (A === x)
7931
+ async (M, x) => {
7932
+ if (M === x)
7933
7933
  return;
7934
- if (be(A) || S(A) || Oe(A) && A.length === 0) {
7935
- if (V.value = [], e.disableInitFetch || ie.value === !0)
7934
+ if (ye(M) || S(M) || Oe(M) && M.length === 0) {
7935
+ if (P.value = [], e.disableInitFetch || oe.value === !0)
7936
7936
  return;
7937
7937
  s.value = setTimeout(() => {
7938
- W();
7938
+ Me();
7939
7939
  }, 3e3);
7940
7940
  return;
7941
7941
  }
7942
- if (!await pe(A)) {
7943
- if (Oe(A)) {
7944
- U.value = !0, V.value = await e.fetchItemsByIds(A), U.value = !1;
7942
+ if (!await me(M)) {
7943
+ if (Oe(M)) {
7944
+ U.value = !0, P.value = await e.fetchItemsByIds(M), U.value = !1;
7945
7945
  return;
7946
7946
  }
7947
- U.value = !0, V.value = await e.fetchItemsByIds([A]), U.value = !1;
7947
+ U.value = !0, P.value = await e.fetchItemsByIds([M]), U.value = !1;
7948
7948
  }
7949
7949
  },
7950
7950
  { immediate: !0 }
7951
7951
  ), Da(
7952
7952
  r,
7953
- (A, x) => {
7954
- A !== x && (ee(A), n("searchChangeDebounced", A));
7953
+ (M, x) => {
7954
+ M !== x && (ee(M), n("searchChangeDebounced", M));
7955
7955
  },
7956
7956
  { debounce: 300, maxWait: 1e3 }
7957
- ), Fe(r, (A, x) => {
7958
- A !== x && n("searchChange", A);
7959
- }), (A, x) => (k(), E(an, {
7957
+ ), Ve(r, (M, x) => {
7958
+ M !== x && n("searchChange", M);
7959
+ }), (M, x) => (k(), E(an, {
7960
7960
  modelValue: f(a),
7961
7961
  "onUpdate:modelValue": x[0] || (x[0] = (j) => ze(a) ? a.value = j : null),
7962
7962
  items: f(z),
@@ -7966,18 +7966,18 @@ const xl = {
7966
7966
  "error-messages": f(g),
7967
7967
  chips: t.multiple,
7968
7968
  "hide-details": t.hideDetails,
7969
- loading: f(ae),
7970
- "onUpdate:search": _,
7969
+ loading: f(ne),
7970
+ "onUpdate:search": C,
7971
7971
  onBlur: d,
7972
- onFocus: te,
7973
- "onClick:clear": D
7972
+ onFocus: W,
7973
+ "onClick:clear": A
7974
7974
  }, {
7975
7975
  label: y(() => [
7976
7976
  t.hideLabel ? Z("", !0) : (k(), H("span", {
7977
- key: f(P) + ""
7977
+ key: f(F) + ""
7978
7978
  }, [
7979
7979
  B($(f(b)) + " ", 1),
7980
- f(P) ? (k(), H("span", xl)) : Z("", !0)
7980
+ f(F) ? (k(), H("span", xl)) : Z("", !0)
7981
7981
  ]))
7982
7982
  ]),
7983
7983
  _: 1
@@ -7996,11 +7996,11 @@ const xl = {
7996
7996
  },
7997
7997
  emits: ["update:modelValue"],
7998
7998
  setup(t, { emit: n }) {
7999
- const e = t, { t: a } = G(), r = we(nt, void 0), o = we(at, void 0), s = T(() => {
8000
- var P, v;
7999
+ const e = t, { t: a } = G(), r = be(nt, void 0), o = be(at, void 0), s = T(() => {
8000
+ var F, v;
8001
8001
  if (!S(e.label))
8002
8002
  return e.label;
8003
- if (S(r) || S(o) || S((P = e.v) == null ? void 0 : P.$path))
8003
+ if (S(r) || S(o) || S((F = e.v) == null ? void 0 : F.$path))
8004
8004
  return "";
8005
8005
  const { end: b } = it((v = e.v) == null ? void 0 : v.$path, ".");
8006
8006
  return a(r + "." + o + ".model." + b);
@@ -8008,25 +8008,25 @@ const xl = {
8008
8008
  if (c.value)
8009
8009
  return;
8010
8010
  if (c.value = !0, u.value = !1, d.value === !0) {
8011
- const P = await e.callbackToFalse();
8012
- n("update:modelValue", !P), d.value = !P, P || (u.value = !0), c.value = !1;
8011
+ const F = await e.callbackToFalse();
8012
+ n("update:modelValue", !F), d.value = !F, F || (u.value = !0), c.value = !1;
8013
8013
  return;
8014
8014
  }
8015
8015
  const b = await e.callbackToTrue();
8016
8016
  n("update:modelValue", b), d.value = b, b || (u.value = !0), c.value = !1;
8017
8017
  };
8018
- return Fe(p, (b, P) => {
8019
- b !== P && (d.value = b, u.value = !1);
8018
+ return Ve(p, (b, F) => {
8019
+ b !== F && (d.value = b, u.value = !1);
8020
8020
  }), Nt(() => {
8021
8021
  m.value = "remote-switch-" + Date.now();
8022
- }), (b, P) => (k(), H("div", Tl, [
8023
- w(Po, {
8022
+ }), (b, F) => (k(), H("div", Tl, [
8023
+ w(Fo, {
8024
8024
  id: m.value,
8025
8025
  modelValue: d.value,
8026
- "onUpdate:modelValue": P[0] || (P[0] = (v) => d.value = v),
8026
+ "onUpdate:modelValue": F[0] || (F[0] = (v) => d.value = v),
8027
8027
  loading: c.value,
8028
8028
  disabled: c.value,
8029
- onClick: oe(g, ["stop"])
8029
+ onClick: re(g, ["stop"])
8030
8030
  }, null, 8, ["id", "modelValue", "loading", "disabled", "onClick"]),
8031
8031
  t.hideLabel ? Z("", !0) : (k(), H("label", {
8032
8032
  key: 0,
@@ -8048,11 +8048,11 @@ const xl = {
8048
8048
  },
8049
8049
  emits: ["update:modelValue"],
8050
8050
  setup(t, { emit: n }) {
8051
- const e = t, { t: a } = G(), r = we(nt, void 0), o = we(at, void 0), s = T(() => {
8052
- var P, v;
8051
+ const e = t, { t: a } = G(), r = be(nt, void 0), o = be(at, void 0), s = T(() => {
8052
+ var F, v;
8053
8053
  if (!S(e.label))
8054
8054
  return e.label;
8055
- if (S(r) || S(o) || S((P = e.v) == null ? void 0 : P.$path))
8055
+ if (S(r) || S(o) || S((F = e.v) == null ? void 0 : F.$path))
8056
8056
  return "";
8057
8057
  const { end: b } = it((v = e.v) == null ? void 0 : v.$path, ".");
8058
8058
  return a(r + "." + o + ".model." + b);
@@ -8060,19 +8060,19 @@ const xl = {
8060
8060
  if (c.value)
8061
8061
  return;
8062
8062
  if (c.value = !0, u.value = !1, d.value === !0) {
8063
- const P = await e.callbackToFalse();
8064
- n("update:modelValue", !P), d.value = !P, P || (u.value = !0), c.value = !1;
8063
+ const F = await e.callbackToFalse();
8064
+ n("update:modelValue", !F), d.value = !F, F || (u.value = !0), c.value = !1;
8065
8065
  return;
8066
8066
  }
8067
8067
  const b = await e.callbackToTrue();
8068
8068
  n("update:modelValue", b), d.value = b, b || (u.value = !0), c.value = !1;
8069
8069
  };
8070
- return Fe(p, (b, P) => {
8071
- b !== P && (d.value = b, u.value = !1);
8070
+ return Ve(p, (b, F) => {
8071
+ b !== F && (d.value = b, u.value = !1);
8072
8072
  }), Nt(() => {
8073
8073
  m.value = "a-remote-switch-" + Date.now();
8074
- }), (b, P) => (k(), H("div", $l, [
8075
- w(le, {
8074
+ }), (b, F) => (k(), H("div", $l, [
8075
+ w(ie, {
8076
8076
  id: m.value,
8077
8077
  icon: "",
8078
8078
  class: "a-switch-fix-click",
@@ -8080,22 +8080,22 @@ const xl = {
8080
8080
  ripple: !1,
8081
8081
  width: t.hideLabel ? 36 : void 0,
8082
8082
  height: 36,
8083
- onClick: oe(g, ["stop"])
8083
+ onClick: re(g, ["stop"])
8084
8084
  }, {
8085
8085
  default: y(() => [
8086
- w(Vo, {
8086
+ w(Po, {
8087
8087
  modelValue: d.value,
8088
- "onUpdate:modelValue": P[0] || (P[0] = (v) => d.value = v),
8088
+ "onUpdate:modelValue": F[0] || (F[0] = (v) => d.value = v),
8089
8089
  loading: c.value,
8090
8090
  disabled: c.value,
8091
8091
  "hide-details": t.hideDetails,
8092
8092
  density: "compact",
8093
- onClick: oe(g, ["stop"])
8093
+ onClick: re(g, ["stop"])
8094
8094
  }, tn({ _: 2 }, [
8095
8095
  u.value ? {
8096
8096
  name: "append",
8097
8097
  fn: y(() => [
8098
- w(he, {
8098
+ w(pe, {
8099
8099
  icon: "mdi-alert",
8100
8100
  class: "ml-5 mt-1",
8101
8101
  size: "x-small",
@@ -8116,7 +8116,7 @@ const xl = {
8116
8116
  ]));
8117
8117
  }
8118
8118
  });
8119
- const Il = { key: 0 }, Fl = {
8119
+ const Il = { key: 0 }, Vl = {
8120
8120
  key: 0,
8121
8121
  class: "required"
8122
8122
  }, sh = /* @__PURE__ */ L({
@@ -8143,19 +8143,19 @@ const Il = { key: 0 }, Fl = {
8143
8143
  set(g) {
8144
8144
  n("update:modelValue", ct(g));
8145
8145
  }
8146
- }), r = we(nt, void 0), o = we(at, void 0), { t: s } = G(), c = () => {
8146
+ }), r = be(nt, void 0), o = be(at, void 0), { t: s } = G(), c = () => {
8147
8147
  var g;
8148
8148
  n("blur", e.modelValue), (g = e.v) == null || g.$touch();
8149
8149
  }, u = T(() => {
8150
8150
  var g, b;
8151
- return S(e.errorMessage) ? (b = (g = e.v) == null ? void 0 : g.$errors) != null && b.length ? e.v.$errors.map((P) => P.$message) : [] : [e.errorMessage];
8151
+ return S(e.errorMessage) ? (b = (g = e.v) == null ? void 0 : g.$errors) != null && b.length ? e.v.$errors.map((F) => F.$message) : [] : [e.errorMessage];
8152
8152
  }), m = T(() => {
8153
- var b, P;
8153
+ var b, F;
8154
8154
  if (!S(e.label))
8155
8155
  return e.label;
8156
8156
  if (S(r) || S(o) || S((b = e.v) == null ? void 0 : b.$path))
8157
8157
  return "";
8158
- const { end: g } = it((P = e.v) == null ? void 0 : P.$path, ".");
8158
+ const { end: g } = it((F = e.v) == null ? void 0 : F.$path, ".");
8159
8159
  return s(r + "." + o + ".model." + g);
8160
8160
  }), p = T(() => {
8161
8161
  var g, b;
@@ -8163,7 +8163,7 @@ const Il = { key: 0 }, Fl = {
8163
8163
  }), d = T(() => e.multiple !== !1);
8164
8164
  return (g, b) => (k(), E(an, {
8165
8165
  modelValue: f(a),
8166
- "onUpdate:modelValue": b[0] || (b[0] = (P) => ze(a) ? a.value = P : null),
8166
+ "onUpdate:modelValue": b[0] || (b[0] = (F) => ze(a) ? a.value = F : null),
8167
8167
  items: t.items,
8168
8168
  "item-title": "title",
8169
8169
  "item-value": "value",
@@ -8176,7 +8176,7 @@ const Il = { key: 0 }, Fl = {
8176
8176
  label: y(() => [
8177
8177
  t.hideLabel ? Z("", !0) : (k(), H("span", Il, [
8178
8178
  B($(f(m)), 1),
8179
- f(p) ? (k(), H("span", Fl)) : Z("", !0)
8179
+ f(p) ? (k(), H("span", Vl)) : Z("", !0)
8180
8180
  ]))
8181
8181
  ]),
8182
8182
  _: 1
@@ -8218,7 +8218,8 @@ const Il = { key: 0 }, Fl = {
8218
8218
  fetchItemsByIds: null,
8219
8219
  innerFilter: null,
8220
8220
  filterByField: { default: "name" },
8221
- disableInitFetch: { type: [Boolean, null], default: !1 }
8221
+ disableInitFetch: { type: [Boolean, null], default: !1 },
8222
+ placeholder: { default: void 0 }
8222
8223
  },
8223
8224
  emits: ["update:modelValue"],
8224
8225
  setup(t, { emit: n }) {
@@ -8231,48 +8232,48 @@ const Il = { key: 0 }, Fl = {
8231
8232
  }
8232
8233
  }), r = J(""), o = J(!1), s = J(void 0), { t: c } = G({ useScope: "global" }), { innerFilter: u } = ya(e), m = () => {
8233
8234
  o.value = !0;
8234
- }, p = T(() => e.modelValue.titleT ? c(e.modelValue.titleT) : void 0), d = T(() => e.modelValue.multiple !== !1), g = Gn(), b = J([]), P = J([]), v = T(() => {
8235
+ }, p = T(() => e.modelValue.titleT ? c(e.modelValue.titleT) : void 0), d = T(() => e.modelValue.multiple !== !1), g = Gn(), b = J([]), F = J([]), v = T(() => {
8235
8236
  const W = /* @__PURE__ */ new Map();
8236
- return P.value.forEach((te) => {
8237
- W.set(te.value, { value: te.value, title: te.title });
8238
- }), b.value.forEach((te) => {
8239
- W.set(te.value, { value: te.value, title: te.title });
8240
- }), Array.from(W, ([te, M]) => ({ value: te, title: M.title }));
8237
+ return F.value.forEach((D) => {
8238
+ W.set(D.value, { value: D.value, title: D.title });
8239
+ }), b.value.forEach((D) => {
8240
+ W.set(D.value, { value: D.value, title: D.title });
8241
+ }), Array.from(W, ([D, C]) => ({ value: D, title: C.title }));
8241
8242
  }), O = J(!1), I = async (W) => {
8242
8243
  O.value = !0;
8243
- const te = u.value[e.filterByField];
8244
- te.model = W, b.value = await e.fetchItems(g, u.value), O.value = !1;
8245
- }, V = (W) => {
8246
- const te = v.value.filter((M) => W.includes(M.value));
8247
- return [].concat(te);
8244
+ const D = u.value[e.filterByField];
8245
+ D.model = W, b.value = await e.fetchItems(g, u.value), O.value = !1;
8246
+ }, P = (W) => {
8247
+ const D = v.value.filter((C) => W.includes(C.value));
8248
+ return [].concat(D);
8248
8249
  }, z = async (W) => {
8249
- let te = 1, M = [];
8250
- return Oe(W) ? (te = W.length, M = V(W)) : M = V([W]), P.value = M, M.length === te;
8251
- }, U = J(!1), ae = () => {
8250
+ let D = 1, C = [];
8251
+ return Oe(W) ? (D = W.length, C = P(W)) : C = P([W]), F.value = C, C.length === D;
8252
+ }, U = J(!1), ne = () => {
8252
8253
  clearTimeout(s.value), s.value = void 0;
8253
8254
  }, ee = async () => {
8254
- ae(), U.value !== !0 && (U.value = !0, (be(a.value) || S(a.value) || Oe(a.value) && a.value.length === 0) && (O.value = !0, b.value = await e.fetchItems(g, u.value), O.value = !1));
8255
- }, de = () => {
8256
- o.value = !0, ae(), ee();
8257
- }, pe = T(() => {
8258
- if (!e.modelValue.multiple && P.value[0])
8259
- return P.value[0].title;
8260
- }), ie = (W) => {
8261
- !e.modelValue.multiple && !o.value && W.length === 0 || pe.value !== W && (r.value = W);
8255
+ ne(), U.value !== !0 && (U.value = !0, (ye(a.value) || S(a.value) || Oe(a.value) && a.value.length === 0) && (O.value = !0, b.value = await e.fetchItems(g, u.value), O.value = !1));
8256
+ }, ue = () => {
8257
+ o.value = !0, ne(), ee();
8258
+ }, me = T(() => {
8259
+ if (!e.modelValue.multiple && F.value[0])
8260
+ return F.value[0].title;
8261
+ }), oe = (W) => {
8262
+ !e.modelValue.multiple && !o.value && W.length === 0 || me.value !== W && (r.value = W);
8262
8263
  }, Q = async () => {
8263
8264
  if (b.value = await e.fetchItems(g, u.value), e.modelValue.multiple) {
8264
8265
  a.value = [];
8265
8266
  return;
8266
8267
  }
8267
8268
  a.value = null;
8268
- };
8269
- return Fe(
8269
+ }, Me = T(() => S(e.placeholder) ? e.modelValue.variant === "startsWith" ? c("common.model.filterPlaceholder.startsWith") : e.modelValue.variant === "eq" ? c("common.model.filterPlaceholder.eq") : e.modelValue.variant === "contains" ? c("common.model.filterPlaceholder.contains") : "" : e.placeholder);
8270
+ return Ve(
8270
8271
  a,
8271
- async (W, te) => {
8272
- if (W === te)
8272
+ async (W, D) => {
8273
+ if (W === D)
8273
8274
  return;
8274
- if (be(W) || S(W) || Oe(W) && W.length === 0) {
8275
- if (P.value = [], e.disableInitFetch || U.value === !0)
8275
+ if (ye(W) || S(W) || Oe(W) && W.length === 0) {
8276
+ if (F.value = [], e.disableInitFetch || U.value === !0)
8276
8277
  return;
8277
8278
  s.value = setTimeout(() => {
8278
8279
  ee();
@@ -8281,36 +8282,37 @@ const Il = { key: 0 }, Fl = {
8281
8282
  }
8282
8283
  if (!await z(W)) {
8283
8284
  if (Oe(W)) {
8284
- O.value = !0, P.value = await e.fetchItemsByIds(W), O.value = !1;
8285
+ O.value = !0, F.value = await e.fetchItemsByIds(W), O.value = !1;
8285
8286
  return;
8286
8287
  }
8287
- O.value = !0, P.value = await e.fetchItemsByIds([W]), O.value = !1;
8288
+ O.value = !0, F.value = await e.fetchItemsByIds([W]), O.value = !1;
8288
8289
  }
8289
8290
  },
8290
8291
  { immediate: !0 }
8291
8292
  ), Da(
8292
8293
  r,
8293
- (W, te) => {
8294
- W !== te && I(W);
8294
+ (W, D) => {
8295
+ W !== D && I(W);
8295
8296
  },
8296
8297
  { debounce: 300, maxWait: 1e3 }
8297
- ), (W, te) => (k(), E(an, {
8298
+ ), (W, D) => (k(), E(an, {
8298
8299
  modelValue: f(a),
8299
- "onUpdate:modelValue": te[0] || (te[0] = (M) => ze(a) ? a.value = M : null),
8300
+ "onUpdate:modelValue": D[0] || (D[0] = (C) => ze(a) ? a.value = C : null),
8300
8301
  items: f(v),
8301
8302
  "no-filter": "",
8303
+ placeholder: f(Me),
8302
8304
  multiple: f(d),
8303
- clearable: !f(a).mandatory,
8305
+ clearable: !t.modelValue.mandatory,
8304
8306
  label: f(p),
8305
- chips: f(a).multiple,
8307
+ chips: t.modelValue.multiple,
8306
8308
  loading: O.value,
8307
- "onUpdate:search": ie,
8309
+ "onUpdate:search": oe,
8308
8310
  onBlur: m,
8309
- onFocus: de,
8311
+ onFocus: ue,
8310
8312
  "onClick:clear": Q
8311
- }, null, 8, ["modelValue", "items", "multiple", "clearable", "label", "chips", "loading"]));
8313
+ }, null, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
8312
8314
  }
8313
- }), Pl = { class: "a-filter-boolean-group d-flex flex-column align-left justify-center mb-2" }, Vl = /* @__PURE__ */ L({
8315
+ }), Fl = { class: "a-filter-boolean-group d-flex flex-column align-left justify-center mb-2" }, Pl = /* @__PURE__ */ L({
8314
8316
  __name: "AFilterBooleanGroup",
8315
8317
  props: {
8316
8318
  modelValue: null
@@ -8325,10 +8327,10 @@ const Il = { key: 0 }, Fl = {
8325
8327
  n("update:modelValue", { ...e.modelValue, model: s });
8326
8328
  }
8327
8329
  }), { t: r } = G(), o = T(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0);
8328
- return (s, c) => (k(), H("div", Pl, [
8330
+ return (s, c) => (k(), H("div", Fl, [
8329
8331
  w(_r, { class: "pr-1" }, {
8330
8332
  default: y(() => [
8331
- ne("span", null, $(f(o)), 1)
8333
+ te("span", null, $(f(o)), 1)
8332
8334
  ]),
8333
8335
  _: 1
8334
8336
  }),
@@ -8338,7 +8340,7 @@ const Il = { key: 0 }, Fl = {
8338
8340
  size: "small"
8339
8341
  }, {
8340
8342
  default: y(() => [
8341
- w(le, {
8343
+ w(ie, {
8342
8344
  size: "small",
8343
8345
  value: !0,
8344
8346
  color: f(a) === !0 ? "secondary" : ""
@@ -8348,7 +8350,7 @@ const Il = { key: 0 }, Fl = {
8348
8350
  ]),
8349
8351
  _: 1
8350
8352
  }, 8, ["color"]),
8351
- w(le, {
8353
+ w(ie, {
8352
8354
  size: "small",
8353
8355
  value: !1,
8354
8356
  color: f(a) === !1 ? "secondary" : ""
@@ -8364,7 +8366,7 @@ const Il = { key: 0 }, Fl = {
8364
8366
  ]));
8365
8367
  }
8366
8368
  });
8367
- const ch = /* @__PURE__ */ gt(Vl, [["__scopeId", "data-v-2ee04bbf"]]), fh = /* @__PURE__ */ L({
8369
+ const ch = /* @__PURE__ */ gt(Pl, [["__scopeId", "data-v-2ee04bbf"]]), fh = /* @__PURE__ */ L({
8368
8370
  __name: "AFilterBooleanSelect",
8369
8371
  props: {
8370
8372
  modelValue: null
@@ -8373,7 +8375,7 @@ const ch = /* @__PURE__ */ gt(Vl, [["__scopeId", "data-v-2ee04bbf"]]), fh = /* @
8373
8375
  setup(t, { emit: n }) {
8374
8376
  const e = t, a = T({
8375
8377
  get() {
8376
- return S(e.modelValue.model) || be(e.modelValue.model) ? -1 : e.modelValue.model ? 1 : 0;
8378
+ return S(e.modelValue.model) || ye(e.modelValue.model) ? -1 : e.modelValue.model ? 1 : 0;
8377
8379
  },
8378
8380
  set(c) {
8379
8381
  let u = null;
@@ -8474,16 +8476,16 @@ const mh = /* @__PURE__ */ L({
8474
8476
  const n = t, e = ka(), a = er(void 0), r = er(!1), o = T(() => n.getCachedFn(n.id)), s = T(() => n.title.length > 0 ? n.title : a.value ? Ur(a.value, n.displayTextPath) : n.fallbackIdText ? n.id : ""), c = () => {
8475
8477
  e.push({ name: n.route, params: { id: n.id } });
8476
8478
  };
8477
- return Fe(
8479
+ return Ve(
8478
8480
  o,
8479
8481
  async (u) => {
8480
8482
  r.value || S(u) || u._loaded === !1 || (a.value = u, r.value = !0);
8481
8483
  },
8482
8484
  { immediate: !0 }
8483
8485
  ), (u, m) => (k(), H("div", {
8484
- class: Ce(t.containerClass)
8486
+ class: ke(t.containerClass)
8485
8487
  }, [
8486
- f(be)(t.id) || f(S)(t.id) ? Me(u.$slots, "empty", { key: 0 }, () => [
8488
+ f(ye)(t.id) || f(S)(t.id) ? Ae(u.$slots, "empty", { key: 0 }, () => [
8487
8489
  B(" - ")
8488
8490
  ]) : t.textOnly ? (k(), H("div", Bl, [
8489
8491
  B($(f(s)) + " ", 1),
@@ -8515,7 +8517,7 @@ const mh = /* @__PURE__ */ L({
8515
8517
  size: t.size,
8516
8518
  "append-icon": t.openInNew ? f(mr).CHIP.ICON.LINK_EXTERNAL : f(mr).CHIP.ICON.LINK,
8517
8519
  label: t.forceRounded ? void 0 : !0,
8518
- onClick: oe(c, ["stop"])
8520
+ onClick: re(c, ["stop"])
8519
8521
  }, {
8520
8522
  default: y(() => [
8521
8523
  B($(f(s)) + " ", 1),
@@ -8616,12 +8618,12 @@ const hh = /* @__PURE__ */ L({
8616
8618
  }));
8617
8619
  };
8618
8620
  return (c, u) => (k(), H("div", {
8619
- class: Ce([{ "cursor-pointer": f(a) }, "d-inline-flex align-center anzu-copy-text"]),
8621
+ class: ke([{ "cursor-pointer": f(a) }, "d-inline-flex align-center anzu-copy-text"]),
8620
8622
  "data-cy": t.dataCy,
8621
- onClick: oe(s, ["stop"])
8623
+ onClick: re(s, ["stop"])
8622
8624
  }, [
8623
- ne("span", null, $(t.value), 1),
8624
- f(a) ? (k(), E(he, {
8625
+ te("span", null, $(t.value), 1),
8626
+ f(a) ? (k(), E(pe, {
8625
8627
  key: 0,
8626
8628
  class: "ml-1",
8627
8629
  size: "x-small",
@@ -8654,23 +8656,23 @@ const Ul = {
8654
8656
  size: { default: "default" }
8655
8657
  },
8656
8658
  setup(t) {
8657
- return (n, e) => f(be)(t.secondaryIcon) ? f(be)(t.secondaryText) ? (k(), E(he, {
8659
+ return (n, e) => f(ye)(t.secondaryIcon) ? f(ye)(t.secondaryText) ? (k(), E(pe, {
8658
8660
  key: 2,
8659
8661
  icon: t.mainIcon
8660
8662
  }, null, 8, ["icon"])) : (k(), H("div", Yl, [
8661
- w(he, {
8663
+ w(pe, {
8662
8664
  size: t.size,
8663
8665
  class: "anzu-icon-group__main-icon",
8664
8666
  icon: t.mainIcon
8665
8667
  }, null, 8, ["size", "icon"]),
8666
- ne("div", Hl, $(t.secondaryText), 1)
8668
+ te("div", Hl, $(t.secondaryText), 1)
8667
8669
  ])) : (k(), H("div", Ul, [
8668
- w(he, {
8670
+ w(pe, {
8669
8671
  size: t.size,
8670
8672
  class: "anzu-icon-group__main-icon",
8671
8673
  icon: t.mainIcon
8672
8674
  }, null, 8, ["size", "icon"]),
8673
- w(he, {
8675
+ w(pe, {
8674
8676
  size: t.size,
8675
8677
  class: "anzu-icon-group__secondary-icon",
8676
8678
  icon: t.secondaryIcon
@@ -8686,7 +8688,7 @@ function Wl(t, n) {
8686
8688
  size: "small"
8687
8689
  }, {
8688
8690
  default: y(() => [
8689
- Me(t.$slots, "default")
8691
+ Ae(t.$slots, "default")
8690
8692
  ]),
8691
8693
  _: 3
8692
8694
  });
@@ -8737,8 +8739,8 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8737
8739
  },
8738
8740
  setup(t) {
8739
8741
  const { t: n } = G();
8740
- return (e, a) => (k(), E(le, {
8741
- class: Ce(t.buttonClass),
8742
+ return (e, a) => (k(), E(ie, {
8743
+ class: ke(t.buttonClass),
8742
8744
  "data-cy": t.dataCy,
8743
8745
  to: { name: t.routeName },
8744
8746
  icon: "",
@@ -8749,7 +8751,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8749
8751
  active: !1
8750
8752
  }, {
8751
8753
  default: y(() => [
8752
- w(he, { icon: "mdi-close" }),
8754
+ w(pe, { icon: "mdi-close" }),
8753
8755
  w(Ye, {
8754
8756
  activator: "parent",
8755
8757
  location: "bottom"
@@ -8773,8 +8775,8 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8773
8775
  },
8774
8776
  setup(t) {
8775
8777
  const { t: n } = G();
8776
- return (e, a) => (k(), E(le, {
8777
- class: Ce(t.buttonClass),
8778
+ return (e, a) => (k(), E(ie, {
8779
+ class: ke(t.buttonClass),
8778
8780
  "data-cy": t.dataCy,
8779
8781
  to: { name: t.routeName },
8780
8782
  color: "primary",
@@ -8822,8 +8824,8 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8822
8824
  }), (p, d) => {
8823
8825
  const g = Et("ABtnTertiary"), b = Et("ABtnPrimary");
8824
8826
  return k(), H(Ue, null, [
8825
- w(le, {
8826
- class: Ce(t.buttonClass),
8827
+ w(ie, {
8828
+ class: ke(t.buttonClass),
8827
8829
  "data-cy": t.dataCy,
8828
8830
  icon: "",
8829
8831
  size: "small",
@@ -8833,10 +8835,10 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8833
8835
  loading: t.loading,
8834
8836
  width: t.width,
8835
8837
  height: t.height,
8836
- onClick: oe(o, ["stop"])
8838
+ onClick: re(o, ["stop"])
8837
8839
  }, {
8838
8840
  default: y(() => [
8839
- w(he, { icon: "mdi-trash-can-outline" }),
8841
+ w(pe, { icon: "mdi-trash-can-outline" }),
8840
8842
  w(Ye, {
8841
8843
  activator: "parent",
8842
8844
  location: "bottom"
@@ -8851,7 +8853,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8851
8853
  }, 8, ["class", "data-cy", "variant", "disabled", "color", "loading", "width", "height", "onClick"]),
8852
8854
  w(_a, {
8853
8855
  modelValue: r.value,
8854
- "onUpdate:modelValue": d[0] || (d[0] = (P) => r.value = P),
8856
+ "onUpdate:modelValue": d[0] || (d[0] = (F) => r.value = F),
8855
8857
  persistent: "",
8856
8858
  width: 500,
8857
8859
  "no-click-animation": ""
@@ -8874,7 +8876,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8874
8876
  w(g, {
8875
8877
  disabled: t.loading,
8876
8878
  "data-cy": "button-cancel",
8877
- onClick: oe(u, ["stop"])
8879
+ onClick: re(u, ["stop"])
8878
8880
  }, {
8879
8881
  default: y(() => [
8880
8882
  B($(f(m)(t.dialogCancelButtonT)), 1)
@@ -8885,7 +8887,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8885
8887
  color: t.dialogConfirmColor,
8886
8888
  loading: t.loading,
8887
8889
  "data-cy": "button-confirm",
8888
- onClick: oe(s, ["stop"])
8890
+ onClick: re(s, ["stop"])
8889
8891
  }, {
8890
8892
  default: y(() => [
8891
8893
  B($(f(m)(t.dialogConfirmButtonT)), 1)
@@ -8919,16 +8921,16 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8919
8921
  const e = t, { t: a } = G(), r = ka(), o = (s) => {
8920
8922
  lt(s), n("editRecord"), r.push({ name: e.routeName, params: { id: e.recordId } });
8921
8923
  };
8922
- return (s, c) => (k(), E(le, {
8923
- class: Ce(t.buttonClass),
8924
+ return (s, c) => (k(), E(ie, {
8925
+ class: ke(t.buttonClass),
8924
8926
  "data-cy": t.dataCy,
8925
8927
  loading: t.loading,
8926
8928
  color: "primary",
8927
8929
  rounded: "pill",
8928
- onClick: oe(o, ["stop"])
8930
+ onClick: re(o, ["stop"])
8929
8931
  }, {
8930
8932
  default: y(() => [
8931
- ne("span", null, $(f(a)(t.buttonT)), 1)
8933
+ te("span", null, $(f(a)(t.buttonT)), 1)
8932
8934
  ]),
8933
8935
  _: 1
8934
8936
  }, 8, ["class", "data-cy", "loading", "onClick"]));
@@ -8947,8 +8949,8 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8947
8949
  const e = (r) => {
8948
8950
  lt(r), n("saveRecordAndClose");
8949
8951
  }, { t: a } = G();
8950
- return (r, o) => (k(), E(le, {
8951
- class: Ce(t.buttonClass),
8952
+ return (r, o) => (k(), E(ie, {
8953
+ class: ke(t.buttonClass),
8952
8954
  "data-cy": t.dataCy,
8953
8955
  loading: t.loading,
8954
8956
  disabled: t.disabled,
@@ -8957,7 +8959,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8957
8959
  variant: "outlined",
8958
8960
  width: 36,
8959
8961
  height: 35,
8960
- onClick: oe(e, ["stop"])
8962
+ onClick: re(e, ["stop"])
8961
8963
  }, {
8962
8964
  default: y(() => [
8963
8965
  w(eo, {
@@ -8992,19 +8994,19 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8992
8994
  const e = (r) => {
8993
8995
  lt(r), n("saveRecord");
8994
8996
  }, { t: a } = G();
8995
- return (r, o) => t.icon ? (k(), E(le, {
8997
+ return (r, o) => t.icon ? (k(), E(ie, {
8996
8998
  key: 0,
8997
- class: Ce(t.buttonClass),
8999
+ class: ke(t.buttonClass),
8998
9000
  elevation: 2,
8999
9001
  icon: "",
9000
9002
  size: "small",
9001
9003
  variant: "outlined",
9002
9004
  loading: t.loading,
9003
9005
  disabled: t.disabled,
9004
- onClick: oe(e, ["stop"])
9006
+ onClick: re(e, ["stop"])
9005
9007
  }, {
9006
9008
  default: y(() => [
9007
- w(he, { icon: "mdi-content-save" }),
9009
+ w(pe, { icon: "mdi-content-save" }),
9008
9010
  w(Ye, {
9009
9011
  activator: "parent",
9010
9012
  location: "bottom"
@@ -9016,15 +9018,15 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
9016
9018
  })
9017
9019
  ]),
9018
9020
  _: 1
9019
- }, 8, ["class", "loading", "disabled", "onClick"])) : (k(), E(le, {
9021
+ }, 8, ["class", "loading", "disabled", "onClick"])) : (k(), E(ie, {
9020
9022
  key: 1,
9021
- class: Ce(t.buttonClass),
9023
+ class: ke(t.buttonClass),
9022
9024
  "data-cy": t.dataCy,
9023
9025
  color: "primary",
9024
9026
  rounded: "pill",
9025
9027
  loading: t.loading,
9026
9028
  disabled: t.disabled,
9027
- onClick: oe(e, ["stop"])
9029
+ onClick: re(e, ["stop"])
9028
9030
  }, {
9029
9031
  default: y(() => [
9030
9032
  B($(f(a)(t.buttonT)), 1)
@@ -9051,14 +9053,14 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
9051
9053
  o(e(n.notifyT));
9052
9054
  });
9053
9055
  };
9054
- return (c, u) => f(r) ? (k(), E(le, {
9056
+ return (c, u) => f(r) ? (k(), E(ie, {
9055
9057
  key: 0,
9056
- class: Ce(t.buttonClass),
9058
+ class: ke(t.buttonClass),
9057
9059
  "data-cy": t.dataCy,
9058
9060
  icon: "",
9059
9061
  size: t.size,
9060
9062
  variant: "text",
9061
- onClick: oe(s, ["stop"])
9063
+ onClick: re(s, ["stop"])
9062
9064
  }, {
9063
9065
  default: y(() => [
9064
9066
  w(eo, {
@@ -9091,19 +9093,19 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
9091
9093
  },
9092
9094
  setup(t) {
9093
9095
  const { t: n } = G();
9094
- return (e, a) => (k(), E(le, {
9095
- class: Ce(t.buttonClass),
9096
+ return (e, a) => (k(), E(ie, {
9097
+ class: ke(t.buttonClass),
9096
9098
  "data-cy": t.dataCy,
9097
9099
  target: t.target,
9098
9100
  to: { name: t.routeName, params: { id: t.recordId } },
9099
9101
  icon: "",
9100
9102
  size: "x-small",
9101
9103
  variant: "text",
9102
- onClick: a[0] || (a[0] = oe(() => {
9104
+ onClick: a[0] || (a[0] = re(() => {
9103
9105
  }, ["stop"]))
9104
9106
  }, {
9105
9107
  default: y(() => [
9106
- w(he, { icon: "mdi-information-outline" }),
9108
+ w(pe, { icon: "mdi-information-outline" }),
9107
9109
  w(Ye, {
9108
9110
  activator: "parent",
9109
9111
  location: "bottom"
@@ -9129,19 +9131,19 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
9129
9131
  },
9130
9132
  setup(t) {
9131
9133
  const { t: n } = G();
9132
- return (e, a) => (k(), E(le, {
9133
- class: Ce(t.buttonClass),
9134
+ return (e, a) => (k(), E(ie, {
9135
+ class: ke(t.buttonClass),
9134
9136
  "data-cy": t.dataCy,
9135
9137
  target: t.target,
9136
9138
  to: { name: t.routeName, params: { id: t.recordId } },
9137
9139
  icon: "",
9138
9140
  size: "x-small",
9139
9141
  variant: "text",
9140
- onClick: a[0] || (a[0] = oe(() => {
9142
+ onClick: a[0] || (a[0] = re(() => {
9141
9143
  }, ["stop"]))
9142
9144
  }, {
9143
9145
  default: y(() => [
9144
- w(he, { icon: "mdi-pencil" }),
9146
+ w(pe, { icon: "mdi-pencil" }),
9145
9147
  w(Ye, {
9146
9148
  activator: "parent",
9147
9149
  location: "bottom"
@@ -9237,7 +9239,7 @@ const Zl = { key: 0 }, Ql = { key: 1 }, Xl = { key: 2 }, Th = /* @__PURE__ */ L(
9237
9239
  "close-on-content-click": ""
9238
9240
  }, {
9239
9241
  activator: y(({ props: m }) => [
9240
- w(le, ba({
9242
+ w(ie, ba({
9241
9243
  class: "pl-1",
9242
9244
  rounded: "pill"
9243
9245
  }, m, {
@@ -9246,21 +9248,21 @@ const Zl = { key: 0 }, Ql = { key: 1 }, Xl = { key: 2 }, Th = /* @__PURE__ */ L(
9246
9248
  }), {
9247
9249
  default: y(() => [
9248
9250
  f(r) === f(Gt).Auto ? (k(), H("div", Zl, [
9249
- w(he, {
9251
+ w(pe, {
9250
9252
  class: "mr-1",
9251
9253
  icon: "mdi-brightness-auto",
9252
9254
  size: 32
9253
9255
  }),
9254
9256
  B($(f(o)("common.system.theme.auto")), 1)
9255
9257
  ])) : f(r) === f(Gt).Light ? (k(), H("div", Ql, [
9256
- w(he, {
9258
+ w(pe, {
9257
9259
  class: "mr-1",
9258
9260
  icon: "mdi-brightness-7",
9259
9261
  size: 32
9260
9262
  }),
9261
9263
  B($(f(o)("common.system.theme.light")), 1)
9262
9264
  ])) : f(r) === f(Gt).Dark ? (k(), H("div", Xl, [
9263
- w(he, {
9265
+ w(pe, {
9264
9266
  class: "mr-1",
9265
9267
  icon: "mdi-brightness-4",
9266
9268
  size: 32
@@ -9278,10 +9280,10 @@ const Zl = { key: 0 }, Ql = { key: 1 }, Xl = { key: 2 }, Th = /* @__PURE__ */ L(
9278
9280
  default: y(() => [
9279
9281
  w(Qe, {
9280
9282
  title: f(o)("common.system.theme.auto"),
9281
- onClick: oe(f(e), ["stop"])
9283
+ onClick: re(f(e), ["stop"])
9282
9284
  }, {
9283
9285
  prepend: y(() => [
9284
- w(he, {
9286
+ w(pe, {
9285
9287
  class: "mr-2",
9286
9288
  icon: "mdi-brightness-auto"
9287
9289
  })
@@ -9290,10 +9292,10 @@ const Zl = { key: 0 }, Ql = { key: 1 }, Xl = { key: 2 }, Th = /* @__PURE__ */ L(
9290
9292
  }, 8, ["title", "onClick"]),
9291
9293
  w(Qe, {
9292
9294
  title: f(o)("common.system.theme.light"),
9293
- onClick: oe(f(a), ["stop"])
9295
+ onClick: re(f(a), ["stop"])
9294
9296
  }, {
9295
9297
  prepend: y(() => [
9296
- w(he, {
9298
+ w(pe, {
9297
9299
  class: "mr-2",
9298
9300
  icon: "mdi-brightness-7"
9299
9301
  })
@@ -9302,10 +9304,10 @@ const Zl = { key: 0 }, Ql = { key: 1 }, Xl = { key: 2 }, Th = /* @__PURE__ */ L(
9302
9304
  }, 8, ["title", "onClick"]),
9303
9305
  w(Qe, {
9304
9306
  title: f(o)("common.system.theme.dark"),
9305
- onClick: oe(f(n), ["stop"])
9307
+ onClick: re(f(n), ["stop"])
9306
9308
  }, {
9307
9309
  prepend: y(() => [
9308
- w(he, {
9310
+ w(pe, {
9309
9311
  class: "mr-2",
9310
9312
  icon: "mdi-brightness-4"
9311
9313
  })
@@ -9344,18 +9346,18 @@ const Zl = { key: 0 }, Ql = { key: 1 }, Xl = { key: 2 }, Th = /* @__PURE__ */ L(
9344
9346
  function es(t, n) {
9345
9347
  et.value === "default" && (et.value = n);
9346
9348
  function e(o, s) {
9347
- !se || !se.global || se.global.setLocaleMessage(o, s);
9349
+ !le || !le.global || le.global.setLocaleMessage(o, s);
9348
9350
  }
9349
- const a = (o) => !se || !se.global ? !1 : t.includes(o) || o === "xx" ? (et.value = o, se.global.locale.value = o, o) : !1;
9351
+ const a = (o) => !le || !le.global ? !1 : t.includes(o) || o === "xx" ? (et.value = o, le.global.locale.value = o, o) : !1;
9350
9352
  return {
9351
9353
  addMessages: e,
9352
9354
  initializeLanguage: () => {
9353
- if (!(!se || !se.global || et.value === "default")) {
9355
+ if (!(!le || !le.global || et.value === "default")) {
9354
9356
  if (t.includes(et.value) || et.value === "xx") {
9355
- se.global.locale.value = et.value;
9357
+ le.global.locale.value = et.value;
9356
9358
  return;
9357
9359
  }
9358
- et.value = n, se.global.locale.value = n;
9360
+ et.value = n, le.global.locale.value = n;
9359
9361
  }
9360
9362
  },
9361
9363
  currentLanguageCode: Wt(et),
@@ -9391,7 +9393,7 @@ function ds(t, n) {
9391
9393
  const cs = /* @__PURE__ */ gt(is, [["render", ds]]), fs = {}, ms = {
9392
9394
  xmlns: "http://www.w3.org/2000/svg",
9393
9395
  viewBox: "0 0 900 600"
9394
- }, ps = /* @__PURE__ */ ne("rect", {
9396
+ }, ps = /* @__PURE__ */ te("rect", {
9395
9397
  width: "900",
9396
9398
  height: "600",
9397
9399
  fill: "#cccccc"
@@ -9425,7 +9427,7 @@ const vs = /* @__PURE__ */ gt(fs, [["render", gs]]), ys = { class: "flag" }, pr
9425
9427
  __name: "ALanguageSelect",
9426
9428
  emits: ["afterChange"],
9427
9429
  setup(t, { emit: n }) {
9428
- const e = we(qn), a = we(Hr), r = we(Jr), { setLanguage: o } = es(a, r), { currentLanguageCode: s } = ts(), c = (p) => {
9430
+ const e = be(qn), a = be(Hr), r = be(Jr), { setLanguage: o } = es(a, r), { currentLanguageCode: s } = ts(), c = (p) => {
9429
9431
  o(p) && n("afterChange", p);
9430
9432
  }, u = T(() => {
9431
9433
  const p = Nn.find((d) => d.code === s.value);
@@ -9438,7 +9440,7 @@ const vs = /* @__PURE__ */ gt(fs, [["render", gs]]), ys = { class: "flag" }, pr
9438
9440
  ));
9439
9441
  return (p, d) => (k(), E(_t, null, {
9440
9442
  activator: y(({ props: g }) => [
9441
- w(le, ba({
9443
+ w(ie, ba({
9442
9444
  class: "pl-1",
9443
9445
  rounded: "pill"
9444
9446
  }, g, {
@@ -9472,7 +9474,7 @@ const vs = /* @__PURE__ */ gt(fs, [["render", gs]]), ys = { class: "flag" }, pr
9472
9474
  default: y(() => [
9473
9475
  (k(!0), H(Ue, null, Ct(f(m), (g) => (k(), E(Qe, {
9474
9476
  key: g.code,
9475
- onClick: oe((b) => c(g.code), ["stop"])
9477
+ onClick: re((b) => c(g.code), ["stop"])
9476
9478
  }, {
9477
9479
  default: y(() => [
9478
9480
  w(Xt, null, {
@@ -9512,11 +9514,11 @@ const Sh = /* @__PURE__ */ gt(bs, [["__scopeId", "data-v-a2015e08"]]), ws = ["on
9512
9514
  const { t: n } = G(), e = () => {
9513
9515
  window.location.reload();
9514
9516
  };
9515
- return (a, r) => r[0] || (tr(-1), r[0] = ne("span", { class: "system-bar-new-version" }, [
9517
+ return (a, r) => r[0] || (tr(-1), r[0] = te("span", { class: "system-bar-new-version" }, [
9516
9518
  B($(f(n)("common.system.newVersionText")) + " ", 1),
9517
- ne("span", {
9519
+ te("span", {
9518
9520
  class: "text-decoration-underline cursor-pointer",
9519
- onClick: oe(e, ["stop"])
9521
+ onClick: re(e, ["stop"])
9520
9522
  }, $(f(n)("common.system.newVersionReload")), 9, ws)
9521
9523
  ]), tr(1), r[0]);
9522
9524
  }
@@ -9557,14 +9559,14 @@ const Sh = /* @__PURE__ */ gt(bs, [["__scopeId", "data-v-a2015e08"]]), ws = ["on
9557
9559
  order: -1
9558
9560
  }, {
9559
9561
  default: y(() => [
9560
- ne("div", Cs, [
9562
+ te("div", Cs, [
9561
9563
  (k(), E(va(f(r))))
9562
9564
  ])
9563
9565
  ]),
9564
9566
  _: 1
9565
9567
  })) : Z("", !0);
9566
9568
  }
9567
- }), _s = /* @__PURE__ */ ne("div", null, null, -1), hr = /* @__PURE__ */ L({
9569
+ }), _s = /* @__PURE__ */ te("div", null, null, -1), hr = /* @__PURE__ */ L({
9568
9570
  __name: "AAnzuUserAvatar",
9569
9571
  props: {
9570
9572
  user: { default: void 0 },
@@ -9586,11 +9588,11 @@ const Sh = /* @__PURE__ */ gt(bs, [["__scopeId", "data-v-a2015e08"]]), ws = ["on
9586
9588
  return (o, s) => (k(), H(Ue, null, [
9587
9589
  w(da, {
9588
9590
  color: f(e),
9589
- class: Ce(["text-uppercase", t.containerClass]),
9591
+ class: ke(["text-uppercase", t.containerClass]),
9590
9592
  size: t.size
9591
9593
  }, {
9592
9594
  default: y(() => [
9593
- ne("div", {
9595
+ te("div", {
9594
9596
  class: "d-inline-flex text-white font-weight-light",
9595
9597
  style: sa({ fontSize: f(a) })
9596
9598
  }, $(f(r)), 5)
@@ -9631,7 +9633,7 @@ const Sh = /* @__PURE__ */ gt(bs, [["__scopeId", "data-v-a2015e08"]]), ws = ["on
9631
9633
  }, s = T(() => e.modelValue.length > 0 ? "flat" : "tonal"), c = T(() => e.modelValue.length > 0 ? e.modelValue : void 0), u = (m) => {
9632
9634
  n("update:modelValue", m);
9633
9635
  };
9634
- return Fe(
9636
+ return Ve(
9635
9637
  () => e.modelValue,
9636
9638
  (m, p) => {
9637
9639
  if (m !== p && m.length !== 7 && m.length !== 7 && e.randomColor) {
@@ -9648,7 +9650,7 @@ const Sh = /* @__PURE__ */ gt(bs, [["__scopeId", "data-v-a2015e08"]]), ws = ["on
9648
9650
  B($(t.label) + " ", 1),
9649
9651
  t.required ? (k(), H("span", As)) : Z("", !0)
9650
9652
  ])),
9651
- w(le, {
9653
+ w(ie, {
9652
9654
  variant: f(s),
9653
9655
  icon: "",
9654
9656
  color: f(c)
@@ -9683,7 +9685,7 @@ const Sh = /* @__PURE__ */ gt(bs, [["__scopeId", "data-v-a2015e08"]]), ws = ["on
9683
9685
  ]));
9684
9686
  }
9685
9687
  });
9686
- const Ms = /* @__PURE__ */ ne("br", null, null, -1), Ih = /* @__PURE__ */ L({
9688
+ const Ms = /* @__PURE__ */ te("br", null, null, -1), Ih = /* @__PURE__ */ L({
9687
9689
  __name: "ACurrentUserDropdown",
9688
9690
  props: {
9689
9691
  currentUser: null,
@@ -9692,7 +9694,7 @@ const Ms = /* @__PURE__ */ ne("br", null, null, -1), Ih = /* @__PURE__ */ L({
9692
9694
  },
9693
9695
  setup(t) {
9694
9696
  const { t: n } = G(), e = J(!1);
9695
- return (a, r) => (k(), E(le, {
9697
+ return (a, r) => (k(), E(ie, {
9696
9698
  variant: "text",
9697
9699
  icon: "",
9698
9700
  size: "small",
@@ -9762,7 +9764,7 @@ const Ms = /* @__PURE__ */ ne("br", null, null, -1), Ih = /* @__PURE__ */ L({
9762
9764
  }, 8, ["to"]),
9763
9765
  w(Qe, {
9764
9766
  "prepend-icon": "mdi-logout",
9765
- onClick: r[3] || (r[3] = oe((o) => e.value = !0, ["stop"]))
9767
+ onClick: r[3] || (r[3] = re((o) => e.value = !0, ["stop"]))
9766
9768
  }, {
9767
9769
  default: y(() => [
9768
9770
  B($(f(n)("common.system.currentUser.logout")) + " ", 1),
@@ -9786,13 +9788,13 @@ const Ms = /* @__PURE__ */ ne("br", null, null, -1), Ih = /* @__PURE__ */ L({
9786
9788
  _: 1
9787
9789
  }),
9788
9790
  w(Qt),
9789
- w(le, {
9791
+ w(ie, {
9790
9792
  class: "ml-2",
9791
9793
  icon: "mdi-close",
9792
9794
  size: "small",
9793
9795
  variant: "text",
9794
9796
  "data-cy": "button-close",
9795
- onClick: r[0] || (r[0] = oe((o) => e.value = !1, ["stop"]))
9797
+ onClick: r[0] || (r[0] = re((o) => e.value = !1, ["stop"]))
9796
9798
  })
9797
9799
  ]),
9798
9800
  _: 1
@@ -9806,18 +9808,18 @@ const Ms = /* @__PURE__ */ ne("br", null, null, -1), Ih = /* @__PURE__ */ L({
9806
9808
  w(wa, null, {
9807
9809
  default: y(() => [
9808
9810
  w(Qt),
9809
- w(le, {
9811
+ w(ie, {
9810
9812
  color: "secondary",
9811
9813
  variant: "text",
9812
9814
  "data-cy": "button-cancel",
9813
- onClick: r[1] || (r[1] = oe((o) => e.value = !1, ["stop"]))
9815
+ onClick: r[1] || (r[1] = re((o) => e.value = !1, ["stop"]))
9814
9816
  }, {
9815
9817
  default: y(() => [
9816
9818
  B($(f(n)("common.button.cancel")), 1)
9817
9819
  ]),
9818
9820
  _: 1
9819
9821
  }),
9820
- w(le, {
9822
+ w(ie, {
9821
9823
  color: "primary",
9822
9824
  "data-cy": "button-create",
9823
9825
  to: { name: t.logoutRouteName }
@@ -9855,7 +9857,7 @@ const Ms = /* @__PURE__ */ ne("br", null, null, -1), Ih = /* @__PURE__ */ L({
9855
9857
  }), xs = {
9856
9858
  key: 0,
9857
9859
  class: "required"
9858
- }, Fh = /* @__PURE__ */ L({
9860
+ }, Vh = /* @__PURE__ */ L({
9859
9861
  __name: "AFormRemoteAutocompleteWithCached",
9860
9862
  props: {
9861
9863
  modelValue: null,
@@ -9880,91 +9882,91 @@ const Ms = /* @__PURE__ */ ne("br", null, null, -1), Ih = /* @__PURE__ */ L({
9880
9882
  get() {
9881
9883
  return e.modelValue;
9882
9884
  },
9883
- set(M) {
9884
- n("update:modelValue", ct(M));
9885
+ set(D) {
9886
+ n("update:modelValue", ct(D));
9885
9887
  }
9886
- }), { t: c } = G(), u = we(nt, void 0), m = we(at, void 0), p = J(!1), d = J(""), g = J(!1), { innerFilter: b } = ya(e), P = Gn(), v = J(/* @__PURE__ */ new Map()), O = () => {
9888
+ }), { t: c } = G(), u = be(nt, void 0), m = be(at, void 0), p = J(!1), d = J(""), g = J(!1), { innerFilter: b } = ya(e), F = Gn(), v = J(/* @__PURE__ */ new Map()), O = () => {
9887
9889
  p.value = !0, n("focus", s.value);
9888
9890
  }, I = () => {
9889
- var M;
9890
- p.value = !1, (M = e.v) == null || M.$touch(), n("blur", s.value);
9891
- }, V = T(() => {
9892
- var M, _;
9893
- return S(e.errorMessage) ? (_ = (M = e.v) == null ? void 0 : M.$errors) != null && _.length ? e.v.$errors.map((D) => D.$message) : [] : [e.errorMessage];
9891
+ var D;
9892
+ p.value = !1, (D = e.v) == null || D.$touch(), n("blur", s.value);
9893
+ }, P = T(() => {
9894
+ var D, C;
9895
+ return S(e.errorMessage) ? (C = (D = e.v) == null ? void 0 : D.$errors) != null && C.length ? e.v.$errors.map((A) => A.$message) : [] : [e.errorMessage];
9894
9896
  }), z = T(() => {
9895
- var _, D;
9897
+ var C, A;
9896
9898
  if (!S(e.label))
9897
9899
  return e.label;
9898
- if (S(u) || S(m) || S((_ = e.v) == null ? void 0 : _.$path))
9900
+ if (S(u) || S(m) || S((C = e.v) == null ? void 0 : C.$path))
9899
9901
  return "";
9900
- const { end: M } = it((D = e.v) == null ? void 0 : D.$path, ".");
9901
- return c(u + "." + m + ".model." + M);
9902
+ const { end: D } = it((A = e.v) == null ? void 0 : A.$path, ".");
9903
+ return c(u + "." + m + ".model." + D);
9902
9904
  }), U = T(() => {
9903
- var M, _;
9904
- return S(e.required) ? ((M = e.v) == null ? void 0 : M.required) && ((_ = e.v) == null ? void 0 : _.required.$params.type) === "required" : e.required;
9905
- }), ae = T(() => e.multiple !== !1), ee = (M) => {
9906
- !e.multiple && !p.value && M.length === 0 || (d.value = M);
9907
- }, de = async (M) => {
9905
+ var D, C;
9906
+ return S(e.required) ? ((D = e.v) == null ? void 0 : D.required) && ((C = e.v) == null ? void 0 : C.required.$params.type) === "required" : e.required;
9907
+ }), ne = T(() => e.multiple !== !1), ee = (D) => {
9908
+ !e.multiple && !p.value && D.length === 0 || (d.value = D);
9909
+ }, ue = async (D) => {
9908
9910
  g.value = !0;
9909
- const _ = b.value[e.filterByField];
9910
- _.model = M, v.value.clear(), (await e.fetchItemsMinimal(P, b.value)).forEach((A) => {
9911
- v.value.set(A[e.itemValue], A);
9911
+ const C = b.value[e.filterByField];
9912
+ C.model = D, v.value.clear(), (await e.fetchItemsMinimal(F, b.value)).forEach((M) => {
9913
+ v.value.set(M[e.itemValue], M);
9912
9914
  }), g.value = !1;
9913
- }, pe = T(() => {
9914
- const M = /* @__PURE__ */ new Map();
9915
- return Oe(s.value) ? s.value.forEach((_) => {
9916
- M.set(_, "");
9917
- }) : s.value && M.set(s.value, ""), v.value.forEach((_) => {
9918
- M.set(_[e.itemValue], _[e.itemTitle]);
9919
- }), Array.from(M, ([_, D]) => ({ value: _, title: D }));
9920
- }), ie = (M) => new Promise((_) => (v.value.forEach((D, A) => {
9921
- M.has(A) && o(ct(D));
9922
- }), _(!0))), Q = () => {
9923
- if (de(""), e.multiple) {
9915
+ }, me = T(() => {
9916
+ const D = /* @__PURE__ */ new Map();
9917
+ return Oe(s.value) ? s.value.forEach((C) => {
9918
+ D.set(C, "");
9919
+ }) : s.value && D.set(s.value, ""), v.value.forEach((C) => {
9920
+ D.set(C[e.itemValue], C[e.itemTitle]);
9921
+ }), Array.from(D, ([C, A]) => ({ value: C, title: A }));
9922
+ }), oe = (D) => new Promise((C) => (v.value.forEach((A, M) => {
9923
+ D.has(M) && o(ct(A));
9924
+ }), C(!0))), Q = () => {
9925
+ if (ue(""), e.multiple) {
9924
9926
  s.value = [];
9925
9927
  return;
9926
9928
  }
9927
9929
  s.value = null;
9928
- }, W = J(0), te = () => {
9929
- W.value = Date.now();
9930
+ }, Me = J(0), W = () => {
9931
+ Me.value = Date.now();
9930
9932
  };
9931
9933
  return Da(
9932
9934
  d,
9933
- (M, _) => {
9934
- M !== _ && (de(M), n("searchChangeDebounced", M));
9935
+ (D, C) => {
9936
+ D !== C && (ue(D), n("searchChangeDebounced", D));
9935
9937
  },
9936
9938
  { debounce: 300, maxWait: 1e3 }
9937
- ), Fe(d, (M, _) => {
9938
- if (M.length === 0 && p.value === !0 && Date.now() - W.value > 200) {
9939
- d.value = _;
9939
+ ), Ve(d, (D, C) => {
9940
+ if (D.length === 0 && p.value === !0 && Date.now() - Me.value > 200) {
9941
+ d.value = C;
9940
9942
  return;
9941
9943
  }
9942
- M !== _ && n("searchChange", M);
9943
- }), Fe(
9944
+ D !== C && n("searchChange", D);
9945
+ }), Ve(
9944
9946
  s,
9945
- async (M) => {
9946
- if (be(M) || S(M) || Oe(M) && M.length === 0)
9947
+ async (D) => {
9948
+ if (ye(D) || S(D) || Oe(D) && D.length === 0)
9947
9949
  return;
9948
- const _ = Oe(M) ? M : [M], D = new Set(_);
9949
- await ie(D), D.size > 0 && (r(Array.from(D)), a());
9950
+ const C = Oe(D) ? D : [D], A = new Set(C);
9951
+ await oe(A), A.size > 0 && (r(Array.from(A)), a());
9950
9952
  },
9951
9953
  { immediate: !0 }
9952
- ), (M, _) => (k(), E(an, {
9954
+ ), (D, C) => (k(), E(an, {
9953
9955
  modelValue: f(s),
9954
- "onUpdate:modelValue": _[0] || (_[0] = (D) => ze(s) ? s.value = D : null),
9956
+ "onUpdate:modelValue": C[0] || (C[0] = (A) => ze(s) ? s.value = A : null),
9955
9957
  search: d.value,
9956
9958
  chips: "",
9957
- items: f(pe),
9959
+ items: f(me),
9958
9960
  "no-filter": "",
9959
- multiple: f(ae),
9961
+ multiple: f(ne),
9960
9962
  clearable: t.clearable,
9961
- "error-messages": f(V),
9963
+ "error-messages": f(P),
9962
9964
  loading: g.value,
9963
9965
  onBlur: I,
9964
9966
  onFocus: O,
9965
9967
  "onUpdate:search": ee,
9966
9968
  "onClick:clear": Q,
9967
- onKeydown: wr(te, ["delete"])
9969
+ onKeydown: wr(W, ["delete"])
9968
9970
  }, tn({
9969
9971
  label: y(() => [
9970
9972
  t.hideLabel ? Z("", !0) : (k(), H("span", {
@@ -9974,22 +9976,22 @@ const Ms = /* @__PURE__ */ ne("br", null, null, -1), Ih = /* @__PURE__ */ L({
9974
9976
  f(U) ? (k(), H("span", xs)) : Z("", !0)
9975
9977
  ]))
9976
9978
  ]),
9977
- chip: y(({ props: D, item: A }) => [
9978
- Me(M.$slots, "chip", {
9979
- props: D,
9980
- item: A
9979
+ chip: y(({ props: A, item: M }) => [
9980
+ Ae(D.$slots, "chip", {
9981
+ props: A,
9982
+ item: M
9981
9983
  }, () => [
9982
- w(dt, ba(D, {
9983
- text: A.title
9984
+ w(dt, ba(A, {
9985
+ text: M.title
9984
9986
  }), null, 16, ["text"])
9985
9987
  ])
9986
9988
  ]),
9987
- item: y(({ props: D, item: A }) => [
9988
- Me(M.$slots, "item", {
9989
- props: D,
9990
- item: A
9989
+ item: y(({ props: A, item: M }) => [
9990
+ Ae(D.$slots, "item", {
9991
+ props: A,
9992
+ item: M
9991
9993
  }, () => [
9992
- w(Qe, { props: D }, null, 8, ["props"])
9994
+ w(Qe, { props: A }, null, 8, ["props"])
9993
9995
  ])
9994
9996
  ]),
9995
9997
  _: 2
@@ -10004,7 +10006,7 @@ const Ms = /* @__PURE__ */ ne("br", null, null, -1), Ih = /* @__PURE__ */ L({
10004
10006
  }), Ts = { class: "d-flex justify-center align-center fill-height" }, Ss = { class: "d-flex justify-center align-center flex-column" }, $s = ["src"], Os = {
10005
10007
  key: 0,
10006
10008
  class: "display-1 my-3"
10007
- }, Is = { class: "mb-3 body-1" }, Fs = { class: "py-5" }, Ps = /* @__PURE__ */ L({
10009
+ }, Is = { class: "mb-3 body-1" }, Vs = { class: "py-5" }, Fs = /* @__PURE__ */ L({
10008
10010
  __name: "ALoginView",
10009
10011
  props: {
10010
10012
  title: { default: void 0 },
@@ -10016,18 +10018,18 @@ const Ms = /* @__PURE__ */ ne("br", null, null, -1), Ih = /* @__PURE__ */ L({
10016
10018
  return Nt(() => {
10017
10019
  console.log(n);
10018
10020
  }), (a, r) => (k(), H("div", Ts, [
10019
- ne("div", Ss, [
10020
- ne("img", {
10021
+ te("div", Ss, [
10022
+ te("img", {
10021
10023
  src: t.logoUrl,
10022
10024
  class: "logo pb-2",
10023
10025
  alt: ""
10024
10026
  }, null, 8, $s),
10025
10027
  t.title ? (k(), H("h1", Os, $(t.title), 1)) : Z("", !0),
10026
- ne("h4", Is, [
10027
- ne("span", null, $(f(e)("common.system.login.text")), 1)
10028
+ te("h4", Is, [
10029
+ te("span", null, $(f(e)("common.system.login.text")), 1)
10028
10030
  ]),
10029
- ne("div", Fs, [
10030
- t.loginUrl ? (k(), E(le, {
10031
+ te("div", Vs, [
10032
+ t.loginUrl ? (k(), E(ie, {
10031
10033
  key: 0,
10032
10034
  href: t.loginUrl(),
10033
10035
  color: "primary",
@@ -10043,7 +10045,7 @@ const Ms = /* @__PURE__ */ ne("br", null, null, -1), Ih = /* @__PURE__ */ L({
10043
10045
  ]));
10044
10046
  }
10045
10047
  });
10046
- const Ph = /* @__PURE__ */ gt(Ps, [["__scopeId", "data-v-d02b0927"]]), Vh = /* @__PURE__ */ L({
10048
+ const Fh = /* @__PURE__ */ gt(Fs, [["__scopeId", "data-v-d02b0927"]]), Ph = /* @__PURE__ */ L({
10047
10049
  __name: "ALogoutView",
10048
10050
  props: {
10049
10051
  logoutUrl: { type: [null, Function], default: void 0 }
@@ -10054,24 +10056,24 @@ const Ph = /* @__PURE__ */ gt(Ps, [["__scopeId", "data-v-d02b0927"]]), Vh = /* @
10054
10056
  n.logoutUrl && (window.location.href = n.logoutUrl());
10055
10057
  }), (e, a) => (k(), H("div"));
10056
10058
  }
10057
- }), Vs = { class: "d-flex justify-center align-center fill-height" }, Es = { class: "d-flex flex-column align-center" }, Ns = { class: "d-flex justify-center align-center text-primary" }, Ls = { class: "pa-4" }, Eh = /* @__PURE__ */ L({
10059
+ }), Ps = { class: "d-flex justify-center align-center fill-height" }, Es = { class: "d-flex flex-column align-center" }, Ns = { class: "d-flex justify-center align-center text-primary" }, Ls = { class: "pa-4" }, Eh = /* @__PURE__ */ L({
10058
10060
  __name: "AUnauthorizedView",
10059
10061
  props: {
10060
10062
  returnRouteName: null
10061
10063
  },
10062
10064
  setup(t) {
10063
10065
  const { t: n } = G();
10064
- return (e, a) => (k(), H("div", Vs, [
10065
- ne("div", Es, [
10066
- ne("h1", Ns, [
10067
- w(he, {
10066
+ return (e, a) => (k(), H("div", Ps, [
10067
+ te("div", Es, [
10068
+ te("h1", Ns, [
10069
+ w(pe, {
10068
10070
  size: "x-large",
10069
10071
  icon: "mdi-emoticon-cry"
10070
10072
  }),
10071
- ne("span", null, $(f(n)("common.system.unauthorized.title")), 1)
10073
+ te("span", null, $(f(n)("common.system.unauthorized.title")), 1)
10072
10074
  ]),
10073
- ne("p", Ls, $(f(n)("common.system.unauthorized.text")), 1),
10074
- w(le, {
10075
+ te("p", Ls, $(f(n)("common.system.unauthorized.text")), 1),
10076
+ w(ie, {
10075
10077
  to: { name: t.returnRouteName },
10076
10078
  color: "primary",
10077
10079
  size: "large"
@@ -10092,16 +10094,16 @@ const Ph = /* @__PURE__ */ gt(Ps, [["__scopeId", "data-v-d02b0927"]]), Vh = /* @
10092
10094
  setup(t) {
10093
10095
  const { t: n } = G();
10094
10096
  return (e, a) => (k(), H("div", Bs, [
10095
- ne("div", js, [
10096
- ne("h1", Rs, [
10097
- w(he, {
10097
+ te("div", js, [
10098
+ te("h1", Rs, [
10099
+ w(pe, {
10098
10100
  size: "x-large",
10099
10101
  icon: "mdi-emoticon-cry"
10100
10102
  }),
10101
- ne("span", null, $(f(n)("common.system.notFound.title")), 1)
10103
+ te("span", null, $(f(n)("common.system.notFound.title")), 1)
10102
10104
  ]),
10103
- ne("p", zs, $(f(n)("common.system.notFound.text")), 1),
10104
- w(le, {
10105
+ te("p", zs, $(f(n)("common.system.notFound.text")), 1),
10106
+ w(ie, {
10105
10107
  to: { name: t.returnRouteName },
10106
10108
  color: "primary",
10107
10109
  size: "large"
@@ -10179,13 +10181,13 @@ const zh = (t, n = 2) => {
10179
10181
  return "0 Bytes";
10180
10182
  const e = 1024, a = n < 0 ? 0 : n, r = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], o = Math.floor(Math.log(t) / Math.log(e));
10181
10183
  return parseFloat((t / Math.pow(e, o)).toFixed(a)) + " " + r[o];
10182
- }, xt = (t) => Pi.includes(t), Tt = (t, n, e = "") => Sr(n) ? t : Ko(e === "" ? t : e, n), Uh = (t, n, e = "", a = {}, r = null, o, s, c = {}) => new Promise((u, m) => {
10184
+ }, xt = (t) => Fi.includes(t), Tt = (t, n, e = "") => Sr(n) ? t : Ko(e === "" ? t : e, n), Uh = (t, n, e = "", a = {}, r = null, o, s, c = {}) => new Promise((u, m) => {
10183
10185
  const p = { method: n };
10184
- e !== "" && (p.url = Tt(e, a)), be(r) || (p.data = JSON.stringify(r)), t().request({ ...c, ...p }).then((d) => xt(d.status) ? d.data ? u(d.data) : m(new Pe()) : m(new pt(d.status))).catch((d) => Dt(d) ? m(new ft(d)) : At(d) ? m(new mt(d, o, s, d)) : Mt(d) ? m(new ht(d, d)) : m(new Pe(d)));
10186
+ e !== "" && (p.url = Tt(e, a)), ye(r) || (p.data = JSON.stringify(r)), t().request({ ...c, ...p }).then((d) => xt(d.status) ? d.data ? u(d.data) : m(new Fe()) : m(new pt(d.status))).catch((d) => Dt(d) ? m(new ft(d)) : At(d) ? m(new mt(d, o, s, d)) : Mt(d) ? m(new ht(d, d)) : m(new Fe(d)));
10185
10187
  }), Us = (t, n = {}, e, a = {}, r, o, s = {}) => new Promise((c, u) => {
10186
- t().post(Tt(e, a), JSON.stringify(n), s).then((m) => xt(m.status) ? m.data ? c(m.data) : u(new Pe()) : u(new pt(m.status))).catch((m) => Dt(m) ? u(new ft(m)) : At(m) ? u(new mt(m, r, o, m)) : Mt(m) ? u(new ht(m, m)) : u(new Pe(m)));
10188
+ t().post(Tt(e, a), JSON.stringify(n), s).then((m) => xt(m.status) ? m.data ? c(m.data) : u(new Fe()) : u(new pt(m.status))).catch((m) => Dt(m) ? u(new ft(m)) : At(m) ? u(new mt(m, r, o, m)) : Mt(m) ? u(new ht(m, m)) : u(new Fe(m)));
10187
10189
  }), Ys = (t, n, e = {}, a, r, o = {}) => new Promise((s, c) => {
10188
- t().delete(Tt(n, e), o).then((u) => xt(u.status) ? u.data ? s(u.data) : c(new Pe()) : c(new pt(u.status))).catch((u) => Dt(u) ? c(new ft(u)) : At(u) ? c(new mt(u, a, r, u)) : Mt(u) ? c(new ht(u, u)) : c(new Pe(u)));
10190
+ t().delete(Tt(n, e), o).then((u) => xt(u.status) ? u.data ? s(u.data) : c(new Fe()) : c(new pt(u.status))).catch((u) => Dt(u) ? c(new ft(u)) : At(u) ? c(new mt(u, a, r, u)) : Mt(u) ? c(new ht(u, u)) : c(new Fe(u)));
10189
10191
  });
10190
10192
  function ao() {
10191
10193
  const t = J([]), n = (p) => {
@@ -10193,12 +10195,12 @@ function ao() {
10193
10195
  }, e = (p, d) => {
10194
10196
  c("offset", p * d - d);
10195
10197
  }, a = (p, d) => {
10196
- !be(p) && p.length > 0 && c("order[" + p + "]", d ? "desc" : "asc");
10198
+ !ye(p) && p.length > 0 && c("order[" + p + "]", d ? "desc" : "asc");
10197
10199
  }, r = (p) => ar(p) ? p ? "1" : "0" : p, o = (p, d, g) => {
10198
10200
  ut(g) && g.length === 0 || t.value.push("filter_" + p + "[" + d + "]=" + r(g));
10199
10201
  }, s = (p) => {
10200
10202
  const d = p.model;
10201
- return be(d) ? p.mandatory ? (p.model = p.default, p.default) : null : ut(d) ? d.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : encodeURIComponent(d) : Oe(d) ? d.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : d.map((g) => ut(g) ? encodeURIComponent(g) : g).join(",") : Aa(d) || ar(d) ? d : null;
10203
+ return ye(d) ? p.mandatory ? (p.model = p.default, p.default) : null : ut(d) ? d.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : encodeURIComponent(d) : Oe(d) ? d.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : d.map((g) => ut(g) ? encodeURIComponent(g) : g).join(",") : Aa(d) || ar(d) ? d : null;
10202
10204
  }, c = (p, d) => {
10203
10205
  t.value.push(p + "=" + d);
10204
10206
  };
@@ -10210,16 +10212,16 @@ function ao() {
10210
10212
  querySetFilters: (p) => {
10211
10213
  const d = !S(p._elastic);
10212
10214
  for (const g in p) {
10213
- const b = p[g], P = b.field || g;
10215
+ const b = p[g], F = b.field || g;
10214
10216
  if (b.exclude)
10215
10217
  continue;
10216
10218
  const v = s(b);
10217
- if (!be(v)) {
10219
+ if (!ye(v)) {
10218
10220
  if (d) {
10219
- c(P, v);
10221
+ c(F, v);
10220
10222
  continue;
10221
10223
  }
10222
- o(b.variant, P, v);
10224
+ o(b.variant, F, v);
10223
10225
  }
10224
10226
  }
10225
10227
  },
@@ -10233,8 +10235,8 @@ const Hs = (t, n) => {
10233
10235
  }, Yh = (t, n, e, a = {}, r, o, s = {}, c = !1) => new Promise((u, m) => {
10234
10236
  t().get(Tt(e, a) + Hs(n, c), s).then((p) => {
10235
10237
  var d;
10236
- return xt(p.status) ? (d = p.data) != null && d.data ? u(p.data.data) : m(new Pe()) : m(new pt(p.status));
10237
- }).catch((p) => Dt(p) ? m(new ft(p)) : At(p) ? m(new mt(p, r, o, p)) : Mt(p) ? m(new ht(p, p)) : m(new Pe(p)));
10238
+ return xt(p.status) ? (d = p.data) != null && d.data ? u(p.data.data) : m(new Fe()) : m(new pt(p.status));
10239
+ }).catch((p) => Dt(p) ? m(new ft(p)) : At(p) ? m(new mt(p, r, o, p)) : Mt(p) ? m(new ht(p, p)) : m(new Fe(p)));
10238
10240
  }), Js = (t) => Wn(t) && Object.hasOwn(t, "totalCount"), Ws = (t) => Wn(t) && Object.hasOwn(t, "hasNextPage"), qs = (t, n) => {
10239
10241
  const { querySetLimit: e, querySetOffset: a, querySetOrder: r, queryBuild: o, querySetFilters: s } = ao();
10240
10242
  return e(t.rowsPerPage), a(t.page, t.rowsPerPage), r(t.sortBy, t.descending), s(n), o();
@@ -10250,31 +10252,31 @@ const Hs = (t, n) => {
10250
10252
  const g = d.data;
10251
10253
  return Ws(g) ? a.hasNextPage = d.data.hasNextPage : Js(g) && (a.totalCount = g.totalCount), a.currentViewCount = d.data.data.length, u(d.data.data);
10252
10254
  }
10253
- return m(new Pe());
10254
- }).catch((d) => Dt(d) ? m(new ft(d)) : At(d) ? m(new mt(d, o, s, d)) : Mt(d) ? m(new ht(d, d)) : m(new Pe(d)));
10255
+ return m(new Fe());
10256
+ }).catch((d) => Dt(d) ? m(new ft(d)) : At(d) ? m(new mt(d, o, s, d)) : Mt(d) ? m(new ht(d, d)) : m(new Fe(d)));
10255
10257
  }), Ks = (t, n, e = {}, a, r, o = {}) => new Promise((s, c) => {
10256
- t().get(Tt(n, e), o).then((u) => xt(u.status) ? u.data ? s(u.data) : c(new Pe()) : c(new pt(u.status))).catch((u) => Dt(u) ? c(new ft(u)) : At(u) ? c(new mt(u, a, r, u)) : Mt(u) ? c(new ht(u, u)) : c(new Pe(u)));
10258
+ t().get(Tt(n, e), o).then((u) => xt(u.status) ? u.data ? s(u.data) : c(new Fe()) : c(new pt(u.status))).catch((u) => Dt(u) ? c(new ft(u)) : At(u) ? c(new mt(u, a, r, u)) : Mt(u) ? c(new ht(u, u)) : c(new Fe(u)));
10257
10259
  }), Hh = (t, n = {}, e, a = {}, r, o, s = {}) => new Promise((c, u) => {
10258
- t().put(Tt(e, a), JSON.stringify(n), s).then((m) => xt(m.status) ? m.data ? c(m.data) : u(new Pe()) : u(new pt(m.status))).catch((m) => Dt(m) ? u(new ft(m)) : At(m) ? u(new mt(m, r, o, m)) : Mt(m) ? u(new ht(m, m)) : u(new Pe(m)));
10260
+ t().put(Tt(e, a), JSON.stringify(n), s).then((m) => xt(m.status) ? m.data ? c(m.data) : u(new Fe()) : u(new pt(m.status))).catch((m) => Dt(m) ? u(new ft(m)) : At(m) ? u(new mt(m, r, o, m)) : Mt(m) ? u(new ht(m, m)) : u(new Fe(m)));
10259
10261
  });
10260
10262
  function Jh() {
10261
10263
  return {
10262
10264
  isAnzuFatalError: Ir,
10263
- isAnzuApiForbiddenError: Pr,
10264
- isAnzuApiValidationError: Vr,
10265
+ isAnzuApiForbiddenError: Fr,
10266
+ isAnzuApiValidationError: Pr,
10265
10267
  isAnzuApiResponseCodeError: Er
10266
10268
  };
10267
10269
  }
10268
- const Pn = "/adm/v1/job", Vn = "job";
10270
+ const Fn = "/adm/v1/job", Pn = "job";
10269
10271
  function Wh(t, n) {
10270
10272
  return {
10271
- fetchJobList: (s, c) => Gs(t, Pn, {}, s, c, n, Vn),
10272
- fetchJob: (s) => Ks(t, Pn + "/:id", { id: s }, n, Vn),
10273
+ fetchJobList: (s, c) => Gs(t, Fn, {}, s, c, n, Pn),
10274
+ fetchJob: (s) => Ks(t, Fn + "/:id", { id: s }, n, Pn),
10273
10275
  createJob: (s) => {
10274
10276
  const c = Go(s._resourceName).slice(4);
10275
- return Us(t, s, Pn + "/:type", { type: c }, n, Vn);
10277
+ return Us(t, s, Fn + "/:type", { type: c }, n, Pn);
10276
10278
  },
10277
- deleteJob: (s) => Ys(t, Pn + "/:id", { id: s }, n, Vn)
10279
+ deleteJob: (s) => Ys(t, Fn + "/:id", { id: s }, n, Pn)
10278
10280
  };
10279
10281
  }
10280
10282
  function qh(t = []) {
@@ -10393,7 +10395,7 @@ const Gh = (t, n) => {
10393
10395
  recordWas: yu,
10394
10396
  idWasCopied: bu,
10395
10397
  textWasCopied: wu
10396
- }, Cu = "Create", _u = "Create And Close", Du = "Save", Au = "Save And Close", Mu = "Close", xu = "Edit", Tu = "Detail", Su = "Apply Filter", $u = "Reset Filter", Ou = "More filters", Iu = "Cancel", Fu = "Id", Pu = "Now", Vu = "Logout", Eu = "Confirm", Nu = "Copy ID", Lu = "Add", Bu = "Download", ju = "Upload", Ru = {
10398
+ }, Cu = "Create", _u = "Create And Close", Du = "Save", Au = "Save And Close", Mu = "Close", xu = "Edit", Tu = "Detail", Su = "Apply Filter", $u = "Reset Filter", Ou = "More filters", Iu = "Cancel", Vu = "Id", Fu = "Now", Pu = "Logout", Eu = "Confirm", Nu = "Copy ID", Lu = "Add", Bu = "Download", ju = "Upload", Ru = {
10397
10399
  create: Cu,
10398
10400
  createAndClose: _u,
10399
10401
  save: Du,
@@ -10406,9 +10408,9 @@ const Gh = (t, n) => {
10406
10408
  advancedFilters: Ou,
10407
10409
  cancel: Iu,
10408
10410
  delete: "Delete",
10409
- id: Fu,
10410
- now: Pu,
10411
- logout: Vu,
10411
+ id: Vu,
10412
+ now: Fu,
10413
+ logout: Pu,
10412
10414
  confirm: Eu,
10413
10415
  copyId: Nu,
10414
10416
  add: Lu,
@@ -10424,7 +10426,7 @@ const Gh = (t, n) => {
10424
10426
  modified: "Modified"
10425
10427
  }, Ju = {
10426
10428
  eq: "Presný výraz",
10427
- anyWhere: "Kdekolvek vo výraze",
10429
+ contains: "Kdekolvek vo výraze",
10428
10430
  startsWith: "Začiatok výrazu"
10429
10431
  }, Wu = {
10430
10432
  system: zu,
@@ -10620,12 +10622,12 @@ const Gh = (t, n) => {
10620
10622
  model: xd,
10621
10623
  filter: Td,
10622
10624
  button: Sd
10623
- }, Od = "Invalid", Id = "todo trans error_id_mismatch", Fd = "todo trans error_field_empty", Pd = "todo trans error_field_length_min", Vd = "todo trans error_field_length_max", Ed = "todo trans error_field_invalid", Nd = "todo trans error_field_not_unique", Ld = "todo trans error_field_value_not_found", Bd = "todo trans error_field_range_min", jd = "todo trans error_field_range_max", Rd = "todo trans error_field_regex", zd = "todo trans error_field_url", Ud = "todo trans error_already_exists", Yd = {
10625
+ }, Od = "Invalid", Id = "todo trans error_id_mismatch", Vd = "todo trans error_field_empty", Fd = "todo trans error_field_length_min", Pd = "todo trans error_field_length_max", Ed = "todo trans error_field_invalid", Nd = "todo trans error_field_not_unique", Ld = "todo trans error_field_value_not_found", Bd = "todo trans error_field_range_min", jd = "todo trans error_field_range_max", Rd = "todo trans error_field_regex", zd = "todo trans error_field_url", Ud = "todo trans error_already_exists", Yd = {
10624
10626
  noTranslation: Od,
10625
10627
  error_id_mismatch: Id,
10626
- error_field_empty: Fd,
10627
- error_field_length_min: Pd,
10628
- error_field_length_max: Vd,
10628
+ error_field_empty: Vd,
10629
+ error_field_length_min: Fd,
10630
+ error_field_length_max: Pd,
10629
10631
  error_field_invalid: Ed,
10630
10632
  error_field_not_unique: Nd,
10631
10633
  error_field_value_not_found: Ld,
@@ -10709,7 +10711,7 @@ const Gh = (t, n) => {
10709
10711
  add: Sc,
10710
10712
  download: $c,
10711
10713
  Upload: Oc
10712
- }, Fc = "System", Pc = "Nevybrané", Vc = {
10714
+ }, Vc = "System", Fc = "Nevybrané", Pc = {
10713
10715
  true: "áno",
10714
10716
  false: "nie"
10715
10717
  }, Ec = {
@@ -10719,12 +10721,12 @@ const Gh = (t, n) => {
10719
10721
  modified: "Modified"
10720
10722
  }, Nc = {
10721
10723
  eq: "Presný výraz",
10722
- anyWhere: "Kdekoľvek vo výraze",
10724
+ contains: "Kdekoľvek vo výraze",
10723
10725
  startsWith: "Začiatok výrazu"
10724
10726
  }, Lc = {
10725
- system: Fc,
10726
- notSelected: Pc,
10727
- boolean: Vc,
10727
+ system: Vc,
10728
+ notSelected: Fc,
10729
+ boolean: Pc,
10728
10730
  tracking: Ec,
10729
10731
  filterPlaceholder: Nc
10730
10732
  }, Bc = "version", jc = "New version of admin is available. For proper functioning, latest version is required.", Rc = "Reload new version", zc = {
@@ -10955,13 +10957,13 @@ const Gh = (t, n) => {
10955
10957
  clear: "Clear {0}",
10956
10958
  prependAction: "{0} prepended action",
10957
10959
  appendAction: "{0} appended action"
10958
- }, Ff = {
10960
+ }, Vf = {
10959
10961
  counter: "{0} files",
10960
10962
  counterSize: "{0} files ({1} in total)"
10961
- }, Pf = {
10963
+ }, Ff = {
10962
10964
  am: "AM",
10963
10965
  pm: "PM"
10964
- }, Vf = {
10966
+ }, Pf = {
10965
10967
  ariaLabel: {
10966
10968
  root: "Navigácia stránkovania",
10967
10969
  next: "Ďalšia stránka",
@@ -10986,9 +10988,9 @@ const Gh = (t, n) => {
10986
10988
  carousel: $f,
10987
10989
  calendar: Of,
10988
10990
  input: If,
10989
- fileInput: Ff,
10990
- timePicker: Pf,
10991
- pagination: Vf,
10991
+ fileInput: Vf,
10992
+ timePicker: Ff,
10993
+ pagination: Pf,
10992
10994
  rating: Ef
10993
10995
  }, Lf = "Invalid", Bf = "todo trans error_id_mismatch", jf = "todo trans error_field_empty", Rf = "todo trans error_field_length_min", zf = "todo trans error_field_length_max", Uf = "todo trans error_field_invalid", Yf = "todo trans error_field_not_unique", Hf = "todo trans error_field_value_not_found", Jf = "todo trans error_field_range_min", Wf = "todo trans error_field_range_max", qf = "todo trans error_field_regex", Gf = "todo trans error_field_url", Kf = "todo trans error_already_exists", Zf = {
10994
10996
  noTranslation: Lf,
@@ -11043,66 +11045,66 @@ const Gh = (t, n) => {
11043
11045
  }
11044
11046
  }
11045
11047
  };
11046
- const { t: fm } = se.global;
11048
+ const { t: fm } = le.global;
11047
11049
  function mm() {
11048
11050
  return Ke({ t: fm })(Ao, {
11049
11051
  withArguments: !0,
11050
11052
  messagePath: () => "error.jsValidation.between"
11051
11053
  });
11052
11054
  }
11053
- const { t: pm } = se.global;
11055
+ const { t: pm } = le.global;
11054
11056
  function hm() {
11055
11057
  return Ke({ t: pm })(Mo, {
11056
11058
  messagePath: () => "error.jsValidation.email"
11057
11059
  });
11058
11060
  }
11059
- const { t: gm } = se.global;
11061
+ const { t: gm } = le.global;
11060
11062
  function vm() {
11061
11063
  return Ke({ t: gm })(xo, {
11062
11064
  withArguments: !0,
11063
11065
  messagePath: () => "error.jsValidation.maxLength"
11064
11066
  });
11065
11067
  }
11066
- const { t: ym } = se.global;
11068
+ const { t: ym } = le.global;
11067
11069
  function bm() {
11068
11070
  return Ke({ t: ym })(To, {
11069
11071
  withArguments: !0,
11070
11072
  messagePath: () => "error.jsValidation.maxValue"
11071
11073
  });
11072
11074
  }
11073
- const { t: wm } = se.global;
11075
+ const { t: wm } = le.global;
11074
11076
  function km() {
11075
11077
  return Ke({ t: wm })(So, {
11076
11078
  withArguments: !0,
11077
11079
  messagePath: () => "error.jsValidation.minLength"
11078
11080
  });
11079
11081
  }
11080
- const { t: Cm } = se.global;
11082
+ const { t: Cm } = le.global;
11081
11083
  function _m() {
11082
11084
  return Ke({ t: Cm })($o, {
11083
11085
  withArguments: !0,
11084
11086
  messagePath: () => "error.jsValidation.minValue"
11085
11087
  });
11086
11088
  }
11087
- const { t: Dm } = se.global;
11089
+ const { t: Dm } = le.global;
11088
11090
  function Am() {
11089
11091
  return Ke({ t: Dm })(Oo, {
11090
11092
  messagePath: () => "error.jsValidation.numeric"
11091
11093
  });
11092
11094
  }
11093
- const { t: Mm } = se.global;
11095
+ const { t: Mm } = le.global;
11094
11096
  function xm() {
11095
11097
  return Ke({ t: Mm })(Io, {
11096
11098
  messagePath: () => "error.jsValidation.required"
11097
11099
  });
11098
11100
  }
11099
- const { t: Tm } = se.global;
11101
+ const { t: Tm } = le.global;
11100
11102
  function Sm() {
11101
11103
  return Ke({ t: Tm })(Tr.regex(/^[a-z\-0-9/]+$/), {
11102
11104
  messagePath: () => "error.jsValidation.slug"
11103
11105
  });
11104
11106
  }
11105
- const { t: $m } = se.global;
11107
+ const { t: $m } = le.global;
11106
11108
  function Om() {
11107
11109
  const t = Ke({ t: $m }), n = (a, r) => (o) => !Tr.req(o) || o.every((s) => s.length >= f(a) && s.length <= f(r));
11108
11110
  return t((a, r) => ({
@@ -11122,9 +11124,9 @@ function Om() {
11122
11124
  messagePath: () => "error.jsValidation.stringArrayItemLength"
11123
11125
  });
11124
11126
  }
11125
- const { t: Im } = se.global;
11126
- function Fm() {
11127
- return Ke({ t: Im })(Fo, {
11127
+ const { t: Im } = le.global;
11128
+ function Vm() {
11129
+ return Ke({ t: Im })(Vo, {
11128
11130
  messagePath: () => "error.jsValidation.url"
11129
11131
  });
11130
11132
  }
@@ -11140,11 +11142,11 @@ function tg() {
11140
11142
  email: hm(),
11141
11143
  numeric: Am(),
11142
11144
  slug: Sm(),
11143
- url: Fm(),
11145
+ url: Vm(),
11144
11146
  stringArrayItemLength: Om()
11145
11147
  };
11146
11148
  }
11147
- const Pm = ["createdAt", "modifiedAt"], { t: gr } = se.global || se, Vm = {
11149
+ const Fm = ["createdAt", "modifiedAt"], { t: gr } = le.global || le, Pm = {
11148
11150
  key: "",
11149
11151
  title: void 0,
11150
11152
  sortable: !1,
@@ -11156,8 +11158,8 @@ function ng(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
11156
11158
  for (const d of Object.keys(s))
11157
11159
  d in o && (s[d] = o[d]);
11158
11160
  const c = J(n), u = t.map((d) => {
11159
- const g = { ...Vm, ...d };
11160
- return S(g.title) && (S(g.title) && Pm.includes(g.key) ? g.title = gr("common.model.tracking." + g.key) : S(g.title) && e && a ? g.title = gr(e + "." + a + ".model." + g.key) : g.title = ""), g;
11161
+ const g = { ...Pm, ...d };
11162
+ return S(g.title) && (S(g.title) && Fm.includes(g.key) ? g.title = gr("common.model.tracking." + g.key) : S(g.title) && e && a ? g.title = gr(e + "." + a + ".model." + g.key) : g.title = ""), g;
11161
11163
  }), m = T(() => {
11162
11164
  const d = [];
11163
11165
  return u.forEach((g) => {
@@ -11287,21 +11289,21 @@ const ag = () => ({
11287
11289
  });
11288
11290
  function rg(t, n, e, a = "id") {
11289
11291
  const r = J(/* @__PURE__ */ new Map()), o = J(/* @__PURE__ */ new Set()), s = (...I) => {
11290
- const V = J(/* @__PURE__ */ new Set());
11292
+ const P = J(/* @__PURE__ */ new Set());
11291
11293
  for (let z = 0; z < I.length; z++) {
11292
11294
  const U = I[z];
11293
- if (!(be(U) || S(U))) {
11295
+ if (!(ye(U) || S(U))) {
11294
11296
  if (Oe(U)) {
11295
- for (let ae = 0; ae < U.length; ae++) {
11296
- const ee = U[ae];
11297
- be(ee) || S(ee) || r.value.has(ee) || V.value.add(ee);
11297
+ for (let ne = 0; ne < U.length; ne++) {
11298
+ const ee = U[ne];
11299
+ ye(ee) || S(ee) || r.value.has(ee) || P.value.add(ee);
11298
11300
  }
11299
11301
  continue;
11300
11302
  }
11301
- r.value.has(U) || V.value.add(U);
11303
+ r.value.has(U) || P.value.add(U);
11302
11304
  }
11303
11305
  }
11304
- V.value.forEach((z) => {
11306
+ P.value.forEach((z) => {
11305
11307
  r.value.set(z, { ...n(z), _loaded: !1 }), o.value.add(z);
11306
11308
  });
11307
11309
  }, c = (I) => {
@@ -11309,16 +11311,16 @@ function rg(t, n, e, a = "id") {
11309
11311
  }, u = (I) => {
11310
11312
  I[a] && r.value.set(I[a], { ...I, _loaded: !0 });
11311
11313
  }, m = (I) => {
11312
- for (let V = 0; V < I.length; V += 1)
11313
- r.value.set(I[V][a], { ...t(I[V]), _loaded: !0 });
11314
+ for (let P = 0; P < I.length; P += 1)
11315
+ r.value.set(I[P][a], { ...t(I[P]), _loaded: !0 });
11314
11316
  }, p = (I) => {
11315
- for (let V = 0; V < I.length; V += 1)
11316
- o.value.delete(I[V]);
11317
+ for (let P = 0; P < I.length; P += 1)
11318
+ o.value.delete(I[P]);
11317
11319
  };
11318
11320
  async function d() {
11319
11321
  if (o.value.size > 0) {
11320
- const I = Array.from(o.value), V = await e(I);
11321
- p(I), m(V);
11322
+ const I = Array.from(o.value), P = await e(I);
11323
+ p(I), m(P);
11322
11324
  }
11323
11325
  }
11324
11326
  const g = ko(
@@ -11345,8 +11347,8 @@ function rg(t, n, e, a = "id") {
11345
11347
  isLoaded: (I) => {
11346
11348
  if (!I)
11347
11349
  return !1;
11348
- const V = r.value.get(I);
11349
- return V ? V._loaded : !1;
11350
+ const P = r.value.get(I);
11351
+ return P ? P._loaded : !1;
11350
11352
  }
11351
11353
  };
11352
11354
  }
@@ -11397,7 +11399,7 @@ export {
11397
11399
  Tp as AFormBooleanToggle,
11398
11400
  nh as AFormDatetimePicker,
11399
11401
  oh as AFormRemoteAutocomplete,
11400
- Fh as AFormRemoteAutocompleteWithCached,
11402
+ Vh as AFormRemoteAutocompleteWithCached,
11401
11403
  ih as AFormRemoteCheckbox,
11402
11404
  lh as AFormRemoteSwitch,
11403
11405
  Mp as AFormTextField,
@@ -11406,10 +11408,10 @@ export {
11406
11408
  eo as AIconGroup,
11407
11409
  mh as AJobStatusChip,
11408
11410
  Sh as ALanguageSelect,
11409
- Fp as ALogData,
11411
+ Vp as ALogData,
11410
11412
  hh as ALogLevelChip,
11411
- Ph as ALoginView,
11412
- Vh as ALogoutView,
11413
+ Fh as ALoginView,
11414
+ Ph as ALogoutView,
11413
11415
  Nh as ANotFoundView,
11414
11416
  Kp as APermissionGrantEditor,
11415
11417
  Zp as APermissionValueChip,
@@ -11426,7 +11428,7 @@ export {
11426
11428
  dl as Acl,
11427
11429
  pt as AnzuApiResponseCodeError,
11428
11430
  mt as AnzuApiValidationError,
11429
- Pe as AnzuFatalError,
11431
+ Fe as AnzuFatalError,
11430
11432
  th as AnzuSystemsCommonAdmin,
11431
11433
  Hr as AvailableLanguagesSymbol,
11432
11434
  mr as COMMON_CONFIG,
@@ -11435,13 +11437,13 @@ export {
11435
11437
  Jr as DefaultLanguageSymbol,
11436
11438
  En as Grant,
11437
11439
  Rr as GrantOrigin,
11438
- Pp as HTTP_STATUS_BAD_REQUEST,
11440
+ Fp as HTTP_STATUS_BAD_REQUEST,
11439
11441
  Oi as HTTP_STATUS_CREATED,
11440
- Fi as HTTP_STATUS_FORBIDDEN,
11442
+ Vi as HTTP_STATUS_FORBIDDEN,
11441
11443
  Ii as HTTP_STATUS_NO_CONTENT,
11442
11444
  $i as HTTP_STATUS_OK,
11443
- Vp as HTTP_STATUS_UNAUTHORIZED,
11444
- Fr as HTTP_STATUS_UNPROCESSABLE_ENTITY,
11445
+ Pp as HTTP_STATUS_UNAUTHORIZED,
11446
+ Vr as HTTP_STATUS_UNPROCESSABLE_ENTITY,
11445
11447
  El as JobStatus,
11446
11448
  jl as LogLevel,
11447
11449
  ji as NEW_LINE_MARK,
@@ -11475,7 +11477,7 @@ export {
11475
11477
  Zi as dateToUtc,
11476
11478
  rg as defineCached,
11477
11479
  lt as eventClickBlur,
11478
- se as i18n,
11480
+ le as i18n,
11479
11481
  Oe as isArray,
11480
11482
  ar as isBoolean,
11481
11483
  sl as isCreatedByAware,
@@ -11485,7 +11487,7 @@ export {
11485
11487
  Wo as isEmptyArray,
11486
11488
  Sr as isEmptyObject,
11487
11489
  wp as isInt,
11488
- be as isNull,
11490
+ ye as isNull,
11489
11491
  Aa as isNumber,
11490
11492
  Wn as isObject,
11491
11493
  ll as isOwnerAware,