@anzusystems/common-admin 0.0.59 → 0.0.60

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,40 +1,40 @@
1
1
  var so = Object.defineProperty;
2
2
  var uo = (t, n, e) => n in t ? so(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
3
3
  var On = (t, n, e) => (uo(t, typeof n != "symbol" ? n + "" : n, e), e);
4
- import { defineComponent as L, computed as x, openBlock as w, createBlock as E, unref as c, withCtx as g, createTextVNode as z, toDisplayString as $, createElementBlock as H, createVNode as b, createCommentVNode as Z, renderSlot as _e, createElementVNode as te, resolveComponent as Nt, normalizeClass as be, withModifiers as ne, withDirectives as vr, vShow as yr, isProxy as co, toRaw as fo, isRef as Ue, inject as we, createSlots as nn, Fragment as Ye, provide as er, watch as Oe, renderList as At, ref as J, TransitionGroup as br, normalizeStyle as ua, resolveDynamicComponent as ya, onMounted as an, h as mo, nextTick as po, withKeys as wr, reactive as ho, toRefs as ba, shallowRef as tr, readonly as qt, mergeProps as wa, createStaticVNode as kr, setBlockTracking as nr, onBeforeUnmount as go } from "vue";
4
+ import { defineComponent as L, computed as x, openBlock as w, createBlock as E, unref as c, withCtx as g, createTextVNode as z, toDisplayString as $, createElementBlock as H, createVNode as b, createCommentVNode as Z, renderSlot as _e, createElementVNode as te, resolveComponent as Nt, normalizeClass as we, withModifiers as ne, withDirectives as br, vShow as wr, isProxy as co, toRaw as fo, isRef as Ue, inject as ke, createSlots as nn, Fragment as Ye, provide as nr, watch as Oe, renderList as At, ref as J, TransitionGroup as kr, normalizeStyle as ca, resolveDynamicComponent as wa, onMounted as an, h as mo, nextTick as po, withKeys as Cr, reactive as ho, toRefs as ka, shallowRef as ar, readonly as qt, mergeProps as Ca, createStaticVNode as Ar, setBlockTracking as rr, onBeforeUnmount as go } from "vue";
5
5
  import { useI18n as K, createI18n as vo } from "vue-i18n";
6
- import { useI18n as pg } from "vue-i18n";
6
+ import { useI18n as yg } from "vue-i18n";
7
7
  import { VChip as ct } from "vuetify/lib/components/VChip/index.mjs";
8
- import { VRow as da, VCol as Wt, VSpacer as Xt } from "vuetify/lib/components/VGrid/index.mjs";
8
+ import { VRow as fa, VCol as Wt, VSpacer as Xt } from "vuetify/lib/components/VGrid/index.mjs";
9
9
  import { VAlert as yo } from "vuetify/lib/components/VAlert/index.mjs";
10
10
  import { VIcon as me } from "vuetify/lib/components/VIcon/index.mjs";
11
- import { VCard as nt, VCardText as Cr, VCardActions as ka } from "vuetify/lib/components/VCard/index.mjs";
11
+ import { VCard as nt, VCardText as Dr, VCardActions as Aa } from "vuetify/lib/components/VCard/index.mjs";
12
12
  import { VTextField as Jn } from "vuetify/lib/components/VTextField/index.mjs";
13
13
  import { VTextarea as bo } from "vuetify/lib/components/VTextarea/index.mjs";
14
14
  import { VBtn as oe } from "vuetify/lib/components/VBtn/index.mjs";
15
15
  import { VBtnToggle as Wn } from "vuetify/lib/components/VBtnToggle/index.mjs";
16
- import { VLabel as Ar } from "vuetify/lib/components/VLabel/index.mjs";
16
+ import { VLabel as _r } from "vuetify/lib/components/VLabel/index.mjs";
17
17
  import { VList as rn, VListItem as Qe, VListItemTitle as en, VListItemSubtitle as wo } from "vuetify/lib/components/VList/index.mjs";
18
18
  import { VMenu as Dt } from "vuetify/lib/components/VMenu/index.mjs";
19
19
  import { VTooltip as Ie } from "vuetify/lib/components/VTooltip/index.mjs";
20
- import { VToolbar as Dr, VToolbarTitle as _r } from "vuetify/lib/components/VToolbar/index.mjs";
21
- import { useRouter as Ca } from "vue-router";
22
- import Aa from "axios";
23
- import { VDialog as Da } from "vuetify/lib/components/VDialog/index.mjs";
24
- import { useFetch as ko, watchDebounced as _a, useClipboard as Mr, useStorage as xr, useIntervalFn as Co, useDebounceFn as Ao } from "@vueuse/core";
20
+ import { VToolbar as Mr, VToolbarTitle as xr } from "vuetify/lib/components/VToolbar/index.mjs";
21
+ import { useRouter as Da } from "vue-router";
22
+ import _a from "axios";
23
+ import { VDialog as Ma } from "vuetify/lib/components/VDialog/index.mjs";
24
+ import { useFetch as ko, watchDebounced as xa, useClipboard as Tr, useStorage as Sr, useIntervalFn as Co, useDebounceFn as Ao } from "@vueuse/core";
25
25
  import { VExpandTransition as Do } from "vuetify/lib/components/transitions/index.mjs";
26
26
  import _o from "@vuelidate/core";
27
- import { createI18nMessage as Ge, requiredIf as Mo, between as xo, email as To, maxLength as So, maxValue as $o, minLength as Oo, minValue as Vo, numeric as Po, required as Io, helpers as Tr, url as Fo } from "@vuelidate/validators";
27
+ import { createI18nMessage as Ge, requiredIf as Mo, between as xo, email as To, maxLength as So, maxValue as $o, minLength as Oo, minValue as Po, numeric as Vo, required as Io, helpers as $r, url as Fo } from "@vuelidate/validators";
28
28
  import { VAutocomplete as on } from "vuetify/lib/components/VAutocomplete/index.mjs";
29
29
  import { VCheckboxBtn as Eo } from "vuetify/lib/components/VCheckbox/index.mjs";
30
30
  import { VSwitch as No } from "vuetify/lib/components/VSwitch/index.mjs";
31
31
  import { VSelect as Lo } from "vuetify/lib/components/VSelect/index.mjs";
32
- import { VProgressCircular as Xn } from "vuetify/lib/components/VProgressCircular/index.mjs";
33
- import { VAvatar as ca } from "vuetify/lib/components/VAvatar/index.mjs";
32
+ import { VProgressCircular as ta } from "vuetify/lib/components/VProgressCircular/index.mjs";
33
+ import { VAvatar as ma } from "vuetify/lib/components/VAvatar/index.mjs";
34
34
  import { VAppBar as zo } from "vuetify/lib/components/VAppBar/index.mjs";
35
35
  import { VColorPicker as jo } from "vuetify/lib/components/VColorPicker/index.mjs";
36
36
  import { VDivider as Bo } from "vuetify/lib/components/VDivider/index.mjs";
37
- import { VBtn as Vn, VChip as Ro } from "vuetify/components";
37
+ import { VBtn as Pn, VChip as Ro } from "vuetify/components";
38
38
  const Uo = { key: 1 }, bp = /* @__PURE__ */ L({
39
39
  __name: "ABooleanValue",
40
40
  props: {
@@ -68,7 +68,7 @@ const Uo = { key: 1 }, bp = /* @__PURE__ */ L({
68
68
  titleClass: { default: "text-subtitle-2" }
69
69
  },
70
70
  setup(t) {
71
- return (n, e) => (w(), E(da, null, {
71
+ return (n, e) => (w(), E(fa, null, {
72
72
  default: g(() => [
73
73
  b(Wt, null, {
74
74
  default: g(() => [
@@ -100,7 +100,7 @@ const Uo = { key: 1 }, bp = /* @__PURE__ */ L({
100
100
  group: t.group,
101
101
  position: t.position,
102
102
  width: t.width,
103
- class: be(t.customClass)
103
+ class: we(t.customClass)
104
104
  }, {
105
105
  body: g((r) => [
106
106
  b(yo, {
@@ -134,8 +134,8 @@ const Uo = { key: 1 }, bp = /* @__PURE__ */ L({
134
134
  loading: { type: Boolean, default: void 0 }
135
135
  },
136
136
  setup(t) {
137
- return (n, e) => vr((w(), H("div", Wo, null, 512)), [
138
- [yr, t.loading]
137
+ return (n, e) => br((w(), H("div", Wo, null, 512)), [
138
+ [wr, t.loading]
139
139
  ]);
140
140
  }
141
141
  });
@@ -159,10 +159,10 @@ const kp = /* @__PURE__ */ L({
159
159
  _: 3
160
160
  }, 8, ["title", "loading"]));
161
161
  }
162
- }), S = (t) => typeof t > "u", ar = (t) => !S(t), ye = (t) => t === null, Ma = (t) => typeof t == "number", dt = (t) => typeof t == "string", Ee = (t) => Array.isArray(t), rr = (t) => typeof t == "boolean", Cp = (t) => dt(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), Ap = (t) => {
162
+ }), S = (t) => typeof t > "u", or = (t) => !S(t), ve = (t) => t === null, Ta = (t) => typeof t == "number", dt = (t) => typeof t == "string", Ee = (t) => Array.isArray(t), ir = (t) => typeof t == "boolean", Cp = (t) => dt(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), Ap = (t) => {
163
163
  const n = parseFloat(t);
164
164
  return !isNaN(t) && (n | 0) === n;
165
- }, qn = (t) => typeof t == "object" && !Ee(t) && !ye(t), Sr = (t) => qn(t) ? Object.keys(t).length === 0 : !1, Ko = (t) => Ee(t) && t.length === 0, Dp = (t) => ye(t) || S(t) || t === "" || t === 0 || Ko(t) || Sr(t), ft = (t) => {
165
+ }, qn = (t) => typeof t == "object" && !Ee(t) && !ve(t), Or = (t) => qn(t) ? Object.keys(t).length === 0 : !1, Ko = (t) => Ee(t) && t.length === 0, Dp = (t) => ve(t) || S(t) || t === "" || t === 0 || Ko(t) || Or(t), ft = (t) => {
166
166
  if (typeof structuredClone == "function")
167
167
  try {
168
168
  return co(t) ? structuredClone(fo(t)) : Ue(t) ? structuredClone(c(t)) : structuredClone(t);
@@ -211,7 +211,7 @@ const kp = /* @__PURE__ */ L({
211
211
  return;
212
212
  e[o] = r.substring(1);
213
213
  const l = /^:([a-zA-Z0-9_-]+).*/, f = r.match(l);
214
- ye(f) || !f[1] || S(n[f[1]]) || (e[o] = n[f[1]] + "");
214
+ ve(f) || !f[1] || S(n[f[1]]) || (e[o] = n[f[1]] + "");
215
215
  }), e.join("/");
216
216
  }, Sp = (t) => t.replace(".", "-"), at = Symbol.for("anzu:system-scope"), rt = Symbol.for("anzu:subject-scope"), Xo = {
217
217
  key: 0,
@@ -234,7 +234,7 @@ const kp = /* @__PURE__ */ L({
234
234
  },
235
235
  emits: ["update:modelValue", "click:append", "blur"],
236
236
  setup(t, { emit: n }) {
237
- const e = t, { t: a } = K(), r = we(at, void 0), o = we(rt, void 0), l = (d) => {
237
+ const e = t, { t: a } = K(), r = ke(at, void 0), o = ke(rt, void 0), l = (d) => {
238
238
  n("update:modelValue", d);
239
239
  }, f = () => {
240
240
  var d;
@@ -298,7 +298,7 @@ const kp = /* @__PURE__ */ L({
298
298
  },
299
299
  emits: ["update:modelValue", "click:append", "blur"],
300
300
  setup(t, { emit: n }) {
301
- const e = t, { t: a } = K(), r = we(at, void 0), o = we(rt, void 0), l = (d) => {
301
+ const e = t, { t: a } = K(), r = ke(at, void 0), o = ke(rt, void 0), l = (d) => {
302
302
  n("update:modelValue", d);
303
303
  }, f = () => {
304
304
  var d;
@@ -345,7 +345,7 @@ const kp = /* @__PURE__ */ L({
345
345
  }), ti = {
346
346
  key: 0,
347
347
  class: "required"
348
- }, Vp = /* @__PURE__ */ L({
348
+ }, Pp = /* @__PURE__ */ L({
349
349
  __name: "AFormBooleanToggle",
350
350
  props: {
351
351
  modelValue: { default: null },
@@ -356,7 +356,7 @@ const kp = /* @__PURE__ */ L({
356
356
  },
357
357
  emits: ["update:modelValue"],
358
358
  setup(t, { emit: n }) {
359
- const e = t, a = we(at, void 0), r = we(rt, void 0), o = x({
359
+ const e = t, a = ke(at, void 0), r = ke(rt, void 0), o = x({
360
360
  get() {
361
361
  return e.modelValue;
362
362
  },
@@ -376,7 +376,7 @@ const kp = /* @__PURE__ */ L({
376
376
  return S(e.required) ? !!((p = e.v) != null && p.required && ((m = e.v) == null ? void 0 : m.required.$params.type) === "required") : e.required;
377
377
  });
378
378
  return (p, m) => (w(), H(Ye, null, [
379
- t.label ? (w(), E(Ar, {
379
+ t.label ? (w(), E(_r, {
380
380
  key: 0,
381
381
  class: "pr-1"
382
382
  }, {
@@ -415,7 +415,7 @@ const kp = /* @__PURE__ */ L({
415
415
  }, 8, ["modelValue", "mandatory"])
416
416
  ], 64));
417
417
  }
418
- }), Pp = /* @__PURE__ */ L({
418
+ }), Vp = /* @__PURE__ */ L({
419
419
  __name: "ASystemEntityScope",
420
420
  props: {
421
421
  system: null,
@@ -423,7 +423,7 @@ const kp = /* @__PURE__ */ L({
423
423
  },
424
424
  setup(t) {
425
425
  const n = t;
426
- return er(at, n.system), er(rt, n.subject), (e, a) => _e(e.$slots, "default");
426
+ return nr(at, n.system), nr(rt, n.subject), (e, a) => _e(e.$slots, "default");
427
427
  }
428
428
  }), ni = { class: "anzu-data-footer" }, ai = {
429
429
  key: 0,
@@ -444,7 +444,7 @@ const kp = /* @__PURE__ */ L({
444
444
  set(F) {
445
445
  n("update:modelValue", ft(F));
446
446
  }
447
- }), { t: r } = K(), o = x(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), l = x(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), f = x(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), u = x(() => a.value.page === 1), p = x(() => !ye(a.value.hasNextPage) || a.value.page === o.value), m = x(() => ye(a.value.hasNextPage) && a.value.page === o.value || a.value.hasNextPage === !1), d = x(() => ye(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? f.value + 1 + "+" : f.value), v = x(() => a.value.rowsPerPage);
447
+ }), { t: r } = K(), o = x(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), l = x(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), f = x(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), u = x(() => a.value.page === 1), p = x(() => !ve(a.value.hasNextPage) || a.value.page === o.value), m = x(() => ve(a.value.hasNextPage) && a.value.page === o.value || a.value.hasNextPage === !1), d = x(() => ve(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? f.value + 1 + "+" : f.value), v = x(() => a.value.rowsPerPage);
448
448
  Oe(v, (F, R) => {
449
449
  F !== R && (a.value.page = 1, n("change"));
450
450
  });
@@ -458,7 +458,7 @@ const kp = /* @__PURE__ */ L({
458
458
  a.value.page = o.value;
459
459
  }, O = () => {
460
460
  a.value.page = a.value.page - 1;
461
- }, V = () => {
461
+ }, P = () => {
462
462
  a.value.page = a.value.page + 1;
463
463
  };
464
464
  return (F, R) => (w(), H("div", ni, [
@@ -516,7 +516,7 @@ const kp = /* @__PURE__ */ L({
516
516
  icon: "mdi-chevron-right",
517
517
  size: "small",
518
518
  variant: "text",
519
- onClick: ne(V, ["stop"])
519
+ onClick: ne(P, ["stop"])
520
520
  }, null, 8, ["disabled", "onClick"]),
521
521
  b(oe, {
522
522
  disabled: c(p),
@@ -549,7 +549,7 @@ const Fp = /* @__PURE__ */ L({
549
549
  f.push(l), n("update:columnsHidden", f);
550
550
  };
551
551
  return (l, f) => (w(), E(oe, {
552
- class: be(t.buttonClass),
552
+ class: we(t.buttonClass),
553
553
  "data-cy": t.dataCy,
554
554
  color: "light",
555
555
  icon: "",
@@ -691,7 +691,7 @@ const Fp = /* @__PURE__ */ L({
691
691
  }, {
692
692
  default: g(() => [
693
693
  b(en, {
694
- class: be({ "font-weight-bold": k.id === r.value })
694
+ class: we({ "font-weight-bold": k.id === r.value })
695
695
  }, {
696
696
  default: g(() => [
697
697
  z($(c(a)(k.titleT)), 1)
@@ -712,19 +712,19 @@ const Fp = /* @__PURE__ */ L({
712
712
  })
713
713
  ]));
714
714
  }
715
- }), $r = /* @__PURE__ */ L({
715
+ }), Pr = /* @__PURE__ */ L({
716
716
  __name: "ADialogToolbar",
717
717
  emits: ["onCancel"],
718
718
  setup(t, { emit: n }) {
719
719
  const e = () => {
720
720
  n("onCancel");
721
721
  };
722
- return (a, r) => (w(), E(Dr, {
722
+ return (a, r) => (w(), E(Mr, {
723
723
  density: "compact",
724
724
  color: "transparent"
725
725
  }, {
726
726
  default: g(() => [
727
- b(_r, { class: "flex-fill" }, {
727
+ b(xr, { class: "flex-fill" }, {
728
728
  default: g(() => [
729
729
  _e(a.$slots, "default")
730
730
  ]),
@@ -775,14 +775,14 @@ function di(t) {
775
775
  });
776
776
  } };
777
777
  }
778
- const jn = di(), Or = /* @__PURE__ */ new Map(), or = {
778
+ const jn = di(), Vr = /* @__PURE__ */ new Map(), lr = {
779
779
  x: ["left", "center", "right"],
780
780
  y: ["top", "bottom"]
781
781
  }, ci = ((t) => () => t++)(0), fi = (t) => typeof t != "string" ? [] : t.split(/\s+/gi).filter((n) => n), mi = (t) => {
782
782
  typeof t == "string" && (t = fi(t));
783
783
  let n = null, e = null;
784
784
  return t.forEach((a) => {
785
- or.y.indexOf(a) !== -1 && (e = a), or.x.indexOf(a) !== -1 && (n = a);
785
+ lr.y.indexOf(a) !== -1 && (e = a), lr.x.indexOf(a) !== -1 && (n = a);
786
786
  }), { x: n, y: e };
787
787
  };
788
788
  class pi {
@@ -796,7 +796,7 @@ class pi {
796
796
  this.start = Date.now(), clearTimeout(this.notifyItem.timer), this.notifyItem.timer = setTimeout(this.callback, this.remaining);
797
797
  }
798
798
  }
799
- const ea = {
799
+ const na = {
800
800
  position: ["top", "right"],
801
801
  cssAnimation: "vn-fade",
802
802
  velocityAnimation: {
@@ -823,14 +823,14 @@ const ea = {
823
823
  this.$emit("after-leave");
824
824
  }
825
825
  }
826
- }), xa = (t, n) => {
826
+ }), Sa = (t, n) => {
827
827
  const e = t.__vccOpts || t;
828
828
  for (const [a, r] of n)
829
829
  e[a] = r;
830
830
  return e;
831
831
  };
832
832
  function gi(t, n, e, a, r, o) {
833
- return w(), E(br, {
833
+ return w(), E(kr, {
834
834
  tag: "span",
835
835
  css: !1,
836
836
  onEnter: t.enter,
@@ -843,7 +843,7 @@ function gi(t, n, e, a, r, o) {
843
843
  _: 3
844
844
  }, 8, ["onEnter", "onLeave", "onAfterLeave"]);
845
845
  }
846
- const vi = /* @__PURE__ */ xa(hi, [["render", gi]]), yi = L({
846
+ const vi = /* @__PURE__ */ Sa(hi, [["render", gi]]), yi = L({
847
847
  name: "css-group",
848
848
  inheritAttrs: !1,
849
849
  props: {
@@ -851,7 +851,7 @@ const vi = /* @__PURE__ */ xa(hi, [["render", gi]]), yi = L({
851
851
  }
852
852
  });
853
853
  function bi(t, n, e, a, r, o) {
854
- return w(), E(br, {
854
+ return w(), E(kr, {
855
855
  tag: "span",
856
856
  name: t.name
857
857
  }, {
@@ -861,14 +861,14 @@ function bi(t, n, e, a, r, o) {
861
861
  _: 3
862
862
  }, 8, ["name"]);
863
863
  }
864
- const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+", ir = [
864
+ const wi = /* @__PURE__ */ Sa(yi, [["render", bi]]), aa = "[-+]?[0-9]*.?[0-9]+", sr = [
865
865
  {
866
866
  name: "px",
867
- regexp: new RegExp(`^${ta}px$`)
867
+ regexp: new RegExp(`^${aa}px$`)
868
868
  },
869
869
  {
870
870
  name: "%",
871
- regexp: new RegExp(`^${ta}%$`)
871
+ regexp: new RegExp(`^${aa}%$`)
872
872
  },
873
873
  /**
874
874
  * Fallback option
@@ -876,7 +876,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
876
876
  */
877
877
  {
878
878
  name: "px",
879
- regexp: new RegExp(`^${ta}$`)
879
+ regexp: new RegExp(`^${aa}$`)
880
880
  }
881
881
  ], ki = (t) => {
882
882
  if (t === "auto")
@@ -884,8 +884,8 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
884
884
  type: t,
885
885
  value: 0
886
886
  };
887
- for (let n = 0; n < ir.length; n++) {
888
- const e = ir[n];
887
+ for (let n = 0; n < sr.length; n++) {
888
+ const e = sr[n];
889
889
  if (e.regexp.test(t))
890
890
  return {
891
891
  type: e.name,
@@ -905,7 +905,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
905
905
  default:
906
906
  return { type: "", value: t };
907
907
  }
908
- }, Pn = {
908
+ }, Vn = {
909
909
  IDLE: 0,
910
910
  DESTROYED: 2
911
911
  }, Ai = L({
@@ -929,7 +929,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
929
929
  },
930
930
  position: {
931
931
  type: [String, Array],
932
- default: ea.position
932
+ default: na.position
933
933
  },
934
934
  classes: {
935
935
  type: String,
@@ -941,11 +941,11 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
941
941
  },
942
942
  animation: {
943
943
  type: Object,
944
- default: ea.velocityAnimation
944
+ default: na.velocityAnimation
945
945
  },
946
946
  animationName: {
947
947
  type: String,
948
- default: ea.cssAnimation
948
+ default: na.cssAnimation
949
949
  },
950
950
  speed: {
951
951
  type: Number,
@@ -985,7 +985,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
985
985
  data() {
986
986
  return {
987
987
  list: [],
988
- velocity: Or.get("velocity"),
988
+ velocity: Vr.get("velocity"),
989
989
  timerControl: null
990
990
  };
991
991
  },
@@ -1006,7 +1006,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
1006
1006
  return n && (r[n] = "0px"), t && (t === "center" ? r.left = `calc(50% - ${+e / 2}${a})` : r[t] = "0px"), r;
1007
1007
  },
1008
1008
  active() {
1009
- return this.list.filter((t) => t.state !== Pn.DESTROYED);
1009
+ return this.list.filter((t) => t.state !== Vn.DESTROYED);
1010
1010
  },
1011
1011
  botToTop() {
1012
1012
  return this.styles.hasOwnProperty("bottom");
@@ -1039,7 +1039,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
1039
1039
  title: r,
1040
1040
  text: o,
1041
1041
  type: l,
1042
- state: Pn.IDLE,
1042
+ state: Vn.IDLE,
1043
1043
  speed: e,
1044
1044
  length: n + 2 * e,
1045
1045
  data: f
@@ -1064,7 +1064,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
1064
1064
  return this.isVA ? void 0 : { transition: `all ${t.speed}ms` };
1065
1065
  },
1066
1066
  destroy(t) {
1067
- clearTimeout(t.timer), t.state = Pn.DESTROYED, this.clean(), this.$emit("destroy", t);
1067
+ clearTimeout(t.timer), t.state = Vn.DESTROYED, this.clean(), this.$emit("destroy", t);
1068
1068
  },
1069
1069
  destroyById(t) {
1070
1070
  const n = this.list.find((e) => e.id === t);
@@ -1097,16 +1097,16 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
1097
1097
  });
1098
1098
  },
1099
1099
  clean() {
1100
- this.list = this.list.filter((t) => t.state !== Pn.DESTROYED);
1100
+ this.list = this.list.filter((t) => t.state !== Vn.DESTROYED);
1101
1101
  }
1102
1102
  }
1103
1103
  }), Di = ["data-id"], _i = ["onClick"], Mi = ["innerHTML"], xi = ["innerHTML"];
1104
1104
  function Ti(t, n, e, a, r, o) {
1105
1105
  return w(), H("div", {
1106
1106
  class: "vue-notification-group",
1107
- style: ua(t.styles)
1107
+ style: ca(t.styles)
1108
1108
  }, [
1109
- (w(), E(ya(t.componentName), {
1109
+ (w(), E(wa(t.componentName), {
1110
1110
  name: t.animationName,
1111
1111
  onEnter: t.enter,
1112
1112
  onLeave: t.leave,
@@ -1116,18 +1116,18 @@ function Ti(t, n, e, a, r, o) {
1116
1116
  (w(!0), H(Ye, null, At(t.active, (l) => (w(), H("div", {
1117
1117
  key: l.id,
1118
1118
  class: "vue-notification-wrapper",
1119
- style: ua(t.notifyWrapperStyle(l)),
1119
+ style: ca(t.notifyWrapperStyle(l)),
1120
1120
  "data-id": l.id,
1121
1121
  onMouseenter: n[0] || (n[0] = (...f) => t.pauseTimeout && t.pauseTimeout(...f)),
1122
1122
  onMouseleave: n[1] || (n[1] = (...f) => t.resumeTimeout && t.resumeTimeout(...f))
1123
1123
  }, [
1124
1124
  _e(t.$slots, "body", {
1125
- class: be([t.classes, l.type]),
1125
+ class: we([t.classes, l.type]),
1126
1126
  item: l,
1127
1127
  close: () => t.destroy(l)
1128
1128
  }, () => [
1129
1129
  te("div", {
1130
- class: be(t.notifyClass(l)),
1130
+ class: we(t.notifyClass(l)),
1131
1131
  onClick: (f) => t.destroyIfNecessary(l)
1132
1132
  }, [
1133
1133
  l.title ? (w(), H("div", {
@@ -1147,14 +1147,14 @@ function Ti(t, n, e, a, r, o) {
1147
1147
  }, 40, ["name", "onEnter", "onLeave", "onAfterLeave"]))
1148
1148
  ], 4);
1149
1149
  }
1150
- const Si = /* @__PURE__ */ xa(Ai, [["render", Ti]]), qe = (t) => {
1150
+ const Si = /* @__PURE__ */ Sa(Ai, [["render", Ti]]), qe = (t) => {
1151
1151
  typeof t == "string" && (t = { title: "", text: t }), typeof t == "object" && jn.emit("add", t);
1152
1152
  };
1153
1153
  qe.close = (t) => {
1154
1154
  jn.emit("close", t);
1155
1155
  };
1156
1156
  function $i(t, n = {}) {
1157
- Object.entries(n).forEach((a) => Or.set(...a));
1157
+ Object.entries(n).forEach((a) => Vr.set(...a));
1158
1158
  const e = n.name || "notify";
1159
1159
  t.config.globalProperties["$" + e] = qe, t.component(n.componentName || "Notifications", Si);
1160
1160
  }
@@ -1172,24 +1172,24 @@ const Oi = {
1172
1172
  console.error("vite-plugin-css-injected-by-js", e);
1173
1173
  }
1174
1174
  })();
1175
- const lr = ["en", "sk"], le = vo({
1175
+ const ur = ["en", "sk"], le = vo({
1176
1176
  globalInjection: !1,
1177
1177
  legacy: !1,
1178
- locale: lr[0],
1178
+ locale: ur[0],
1179
1179
  fallbackLocale: !1,
1180
1180
  missing: (t, n) => {
1181
- lr.includes(t) && console.warn(`Missing ${t} translation: ${n}`);
1181
+ ur.includes(t) && console.warn(`Missing ${t} translation: ${n}`);
1182
1182
  }
1183
- }), Vr = (t) => t instanceof Pe;
1184
- class Pe extends Error {
1183
+ }), Ir = (t) => t instanceof Ve;
1184
+ class Ve extends Error {
1185
1185
  constructor(n, e = "") {
1186
1186
  super(e), this.name = "AnzuFatalError", this.cause = n, this.message = e;
1187
1187
  }
1188
1188
  }
1189
- const Vi = 200, Pi = 201, Pr = 204, Lp = 400, zp = 401, Ii = 403, Ir = 422, Fi = [Vi, Pi, Pr], _t = (t) => {
1189
+ const Pi = 200, Vi = 201, Fr = 204, Lp = 400, zp = 401, Ii = 403, Er = 422, Fi = [Pi, Vi, Fr], _t = (t) => {
1190
1190
  var n;
1191
- return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ii;
1192
- }, Fr = (t) => t instanceof mt;
1191
+ return _a.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ii;
1192
+ }, Nr = (t) => t instanceof mt;
1193
1193
  class mt extends Error {
1194
1194
  constructor(n, e = "") {
1195
1195
  super(e), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = e;
@@ -1197,8 +1197,8 @@ class mt extends Error {
1197
1197
  }
1198
1198
  const Ei = "validation_failed", Mt = (t) => {
1199
1199
  var n, e, a;
1200
- return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ir && ((e = t.response.data) == null ? void 0 : e.error) === Ei && ((a = t.response.data) == null ? void 0 : a.fields);
1201
- }, Er = (t) => t instanceof pt;
1200
+ return _a.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Er && ((e = t.response.data) == null ? void 0 : e.error) === Ei && ((a = t.response.data) == null ? void 0 : a.fields);
1201
+ }, Lr = (t) => t instanceof pt;
1202
1202
  function Ni(t, n, e) {
1203
1203
  var o;
1204
1204
  const a = (o = t.response) == null ? void 0 : o.data, r = [];
@@ -1216,7 +1216,7 @@ class pt extends Error {
1216
1216
  this.name = "AnzuApiValidationError", this.cause = o, this.message = l, this.fields = Ni(e, a, r);
1217
1217
  }
1218
1218
  }
1219
- const Nr = (t) => t instanceof ht;
1219
+ const zr = (t) => t instanceof ht;
1220
1220
  class ht extends Error {
1221
1221
  constructor(e, a, r) {
1222
1222
  super(r);
@@ -1226,7 +1226,7 @@ class ht extends Error {
1226
1226
  }
1227
1227
  const Li = "forbidden_operation_error", xt = (t) => {
1228
1228
  var n, e, a;
1229
- return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ir && ((e = t.response.data) == null ? void 0 : e.error) === Li && ((a = t.response.data) == null ? void 0 : a.detail);
1229
+ return _a.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Er && ((e = t.response.data) == null ? void 0 : e.error) === Li && ((a = t.response.data) == null ? void 0 : a.detail);
1230
1230
  }, zi = (t) => t instanceof gt;
1231
1231
  function ji(t) {
1232
1232
  var e;
@@ -1241,7 +1241,7 @@ class gt extends Error {
1241
1241
  }
1242
1242
  const Ze = 3, Bi = `
1243
1243
  `;
1244
- function Ta() {
1244
+ function $a() {
1245
1245
  const t = (y, O = Ze) => {
1246
1246
  qe({
1247
1247
  group: "alerts",
@@ -1250,8 +1250,8 @@ function Ta() {
1250
1250
  type: "success"
1251
1251
  });
1252
1252
  }, n = (y, O = Ze) => {
1253
- const { t: V } = le.global;
1254
- t(V(y), O);
1253
+ const { t: P } = le.global;
1254
+ t(P(y), O);
1255
1255
  }, e = (y, O = Ze) => {
1256
1256
  qe({
1257
1257
  group: "alerts",
@@ -1260,8 +1260,8 @@ function Ta() {
1260
1260
  type: "error"
1261
1261
  });
1262
1262
  }, a = (y, O = Ze) => {
1263
- const { t: V } = le.global;
1264
- e(V(y), O);
1263
+ const { t: P } = le.global;
1264
+ e(P(y), O);
1265
1265
  }, r = (y, O = Ze) => {
1266
1266
  qe({
1267
1267
  group: "alerts",
@@ -1270,8 +1270,8 @@ function Ta() {
1270
1270
  type: "info"
1271
1271
  });
1272
1272
  }, o = (y, O = Ze) => {
1273
- const { t: V } = le.global;
1274
- r(V(y), O);
1273
+ const { t: P } = le.global;
1274
+ r(P(y), O);
1275
1275
  }, l = (y, O = Ze) => {
1276
1276
  qe({
1277
1277
  group: "alerts",
@@ -1280,8 +1280,8 @@ function Ta() {
1280
1280
  type: "warning"
1281
1281
  });
1282
1282
  }, f = (y, O = Ze) => {
1283
- const { t: V } = le.global;
1284
- l(V(y), O);
1283
+ const { t: P } = le.global;
1284
+ l(P(y), O);
1285
1285
  }, u = (y = Ze) => {
1286
1286
  const { t: O } = le.global;
1287
1287
  qe({
@@ -1291,18 +1291,18 @@ function Ta() {
1291
1291
  type: "error"
1292
1292
  });
1293
1293
  }, p = (y, O = Ze) => {
1294
- const { t: V } = le.global;
1294
+ const { t: P } = le.global;
1295
1295
  qe({
1296
1296
  group: "alerts",
1297
- text: V("common.alert.recordWas." + y),
1297
+ text: P("common.alert.recordWas." + y),
1298
1298
  duration: O * 1e3,
1299
1299
  type: "success"
1300
1300
  });
1301
- }, m = (y, O = -1, V = !1) => {
1301
+ }, m = (y, O = -1, P = !1) => {
1302
1302
  const { t: F, te: R } = le.global, U = [F("common.alert.fixApiValidationErrors")];
1303
1303
  for (let ae = 0; ae < y.length; ae++) {
1304
1304
  let ee = "";
1305
- V ? ee += y[ae].field : R(y[ae].field) && (ee += F(y[ae].field));
1305
+ P ? ee += y[ae].field : R(y[ae].field) && (ee += F(y[ae].field));
1306
1306
  const ue = /* @__PURE__ */ new Set();
1307
1307
  for (let pe = 0; pe < y[ae].errors.length; pe++) {
1308
1308
  if (R("error.apiValidation." + y[ae].errors[pe])) {
@@ -1320,9 +1320,9 @@ function Ta() {
1320
1320
  type: "error"
1321
1321
  });
1322
1322
  }, d = (y, O = -1) => {
1323
- const { t: V, te: F } = le.global;
1324
- let R = V("error.apiForbiddenOperation.noTranslation");
1325
- F("error.apiForbiddenOperation." + y) && (R = V("error.apiForbiddenOperation." + y)), qe({
1323
+ const { t: P, te: F } = le.global;
1324
+ let R = P("error.apiForbiddenOperation.noTranslation");
1325
+ F("error.apiForbiddenOperation." + y) && (R = P("error.apiForbiddenOperation." + y)), qe({
1326
1326
  group: "alerts",
1327
1327
  text: R,
1328
1328
  duration: O * 1e3,
@@ -1360,7 +1360,7 @@ function Ta() {
1360
1360
  showApiForbiddenOperationError: d,
1361
1361
  showUnknownError: v,
1362
1362
  showForbiddenError: k,
1363
- showErrorsDefault: (y) => Fr(y) ? (k(), !0) : Er(y) ? (m(y.fields), !0) : zi(y) ? (d(y.detail), !0) : Vr(y) || Nr(y) ? (v(), !0) : !1
1363
+ showErrorsDefault: (y) => Nr(y) ? (k(), !0) : Lr(y) ? (m(y.fields), !0) : zi(y) ? (d(y.detail), !0) : Ir(y) || zr(y) ? (v(), !0) : !1
1364
1364
  };
1365
1365
  }
1366
1366
  const jp = /* @__PURE__ */ L({
@@ -1382,7 +1382,7 @@ const jp = /* @__PURE__ */ L({
1382
1382
  n("update:modelValue", !0), n("onOpen");
1383
1383
  }, l = () => {
1384
1384
  n("update:modelValue", !1), n("onClose");
1385
- }, f = Ca(), { showValidationError: u, showRecordWas: p, showErrorsDefault: m } = Ta(), d = async () => {
1385
+ }, f = Da(), { showValidationError: u, showRecordWas: p, showErrorsDefault: m } = $a(), d = async () => {
1386
1386
  var v;
1387
1387
  n("onConfirm");
1388
1388
  try {
@@ -1404,7 +1404,7 @@ const jp = /* @__PURE__ */ L({
1404
1404
  return (v, k) => {
1405
1405
  const I = Nt("ABtnTertiary"), y = Nt("ABtnPrimary");
1406
1406
  return w(), E(y, {
1407
- class: be(t.buttonClass),
1407
+ class: we(t.buttonClass),
1408
1408
  rounded: "pill",
1409
1409
  "data-cy": t.dataCy,
1410
1410
  onClick: ne(o, ["stop"])
@@ -1413,7 +1413,7 @@ const jp = /* @__PURE__ */ L({
1413
1413
  _e(v.$slots, "button-title", {}, () => [
1414
1414
  z($(c(a)("common.button.create")), 1)
1415
1415
  ]),
1416
- b(Da, {
1416
+ b(Ma, {
1417
1417
  "model-value": t.modelValue,
1418
1418
  "max-width": t.maxWidth,
1419
1419
  persistent: "",
@@ -1425,7 +1425,7 @@ const jp = /* @__PURE__ */ L({
1425
1425
  "data-cy": "create-panel"
1426
1426
  }, {
1427
1427
  default: g(() => [
1428
- b($r, { onOnCancel: l }, {
1428
+ b(Pr, { onOnCancel: l }, {
1429
1429
  default: g(() => [
1430
1430
  _e(v.$slots, "title", {}, () => [
1431
1431
  z($(c(a)("common.button.create")), 1)
@@ -1433,13 +1433,13 @@ const jp = /* @__PURE__ */ L({
1433
1433
  ]),
1434
1434
  _: 3
1435
1435
  }),
1436
- b(Cr, null, {
1436
+ b(Dr, null, {
1437
1437
  default: g(() => [
1438
1438
  _e(v.$slots, "content")
1439
1439
  ]),
1440
1440
  _: 3
1441
1441
  }),
1442
- b(ka, null, {
1442
+ b(Aa, null, {
1443
1443
  default: g(() => [
1444
1444
  b(Xt),
1445
1445
  b(I, {
@@ -1549,23 +1549,23 @@ function Wi(t, n) {
1549
1549
  return w(), E(e);
1550
1550
  }
1551
1551
  const Rp = /* @__PURE__ */ vt(Ji, [["render", Wi]]);
1552
- var Sa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1553
- function Lr(t) {
1552
+ var Oa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1553
+ function jr(t) {
1554
1554
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1555
1555
  }
1556
- var fa = {}, qi = {
1556
+ var pa = {}, qi = {
1557
1557
  get exports() {
1558
- return fa;
1558
+ return pa;
1559
1559
  },
1560
1560
  set exports(t) {
1561
- fa = t;
1561
+ pa = t;
1562
1562
  }
1563
1563
  };
1564
1564
  (function(t, n) {
1565
1565
  (function(e, a) {
1566
1566
  t.exports = a();
1567
- })(Sa, function() {
1568
- var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", f = "minute", u = "hour", p = "day", m = "week", d = "month", v = "quarter", k = "year", I = "date", y = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|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, F = { 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) {
1567
+ })(Oa, function() {
1568
+ var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", f = "minute", u = "hour", p = "day", m = "week", d = "month", v = "quarter", k = "year", I = "date", y = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|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, F = { 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) {
1569
1569
  var C = ["th", "st", "nd", "rd"], _ = D % 100;
1570
1570
  return "[" + D + (C[(_ - 20) % 10] || C[_] || C[0]) + "]";
1571
1571
  } }, R = function(D, C, _) {
@@ -1657,20 +1657,20 @@ var fa = {}, qi = {
1657
1657
  }, C.valueOf = function() {
1658
1658
  return this.$d.getTime();
1659
1659
  }, C.startOf = function(_, M) {
1660
- var T = this, j = !!Q.u(M) || M, G = Q.p(_), se = function(Te, ke) {
1661
- var ze = Q.w(T.$u ? Date.UTC(T.$y, ke, Te) : new Date(T.$y, ke, Te), T);
1660
+ var T = this, j = !!Q.u(M) || M, G = Q.p(_), se = function(Te, Ce) {
1661
+ var ze = Q.w(T.$u ? Date.UTC(T.$y, Ce, Te) : new Date(T.$y, Ce, Te), T);
1662
1662
  return j ? ze : ze.endOf(p);
1663
- }, he = function(Te, ke) {
1664
- return Q.w(T.toDate()[Te].apply(T.toDate("s"), (j ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ke)), T);
1665
- }, ge = this.$W, Ce = this.$M, Ne = this.$D, xe = "set" + (this.$u ? "UTC" : "");
1663
+ }, he = function(Te, Ce) {
1664
+ return Q.w(T.toDate()[Te].apply(T.toDate("s"), (j ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ce)), T);
1665
+ }, ge = this.$W, Ae = this.$M, Ne = this.$D, xe = "set" + (this.$u ? "UTC" : "");
1666
1666
  switch (G) {
1667
1667
  case k:
1668
1668
  return j ? se(1, 0) : se(31, 11);
1669
1669
  case d:
1670
- return j ? se(1, Ce) : se(0, Ce + 1);
1670
+ return j ? se(1, Ae) : se(0, Ae + 1);
1671
1671
  case m:
1672
1672
  var He = this.$locale().weekStart || 0, Le = (ge < He ? ge + 7 : ge) - He;
1673
- return se(j ? Ne - Le : Ne + (6 - Le), Ce);
1673
+ return se(j ? Ne - Le : Ne + (6 - Le), Ae);
1674
1674
  case p:
1675
1675
  case I:
1676
1676
  return he(xe + "Hours", 0);
@@ -1700,9 +1700,9 @@ var fa = {}, qi = {
1700
1700
  }, C.add = function(_, M) {
1701
1701
  var T, j = this;
1702
1702
  _ = Number(_);
1703
- var G = Q.p(M), se = function(Ce) {
1703
+ var G = Q.p(M), se = function(Ae) {
1704
1704
  var Ne = ie(j);
1705
- return Q.w(Ne.date(Ne.date() + Math.round(Ce * _)), j);
1705
+ return Q.w(Ne.date(Ne.date() + Math.round(Ae * _)), j);
1706
1706
  };
1707
1707
  if (G === d)
1708
1708
  return this.set(d, this.$M + _);
@@ -1720,22 +1720,22 @@ var fa = {}, qi = {
1720
1720
  var M = this, T = this.$locale();
1721
1721
  if (!this.isValid())
1722
1722
  return T.invalidDate || y;
1723
- var j = _ || "YYYY-MM-DDTHH:mm:ssZ", G = Q.z(this), se = this.$H, he = this.$m, ge = this.$M, Ce = T.weekdays, Ne = T.months, xe = function(ke, ze, ot, Je) {
1724
- return ke && (ke[ze] || ke(M, j)) || ot[ze].slice(0, Je);
1725
- }, He = function(ke) {
1726
- return Q.s(se % 12 || 12, ke, "0");
1727
- }, Le = T.meridiem || function(ke, ze, ot) {
1728
- var Je = ke < 12 ? "AM" : "PM";
1723
+ var j = _ || "YYYY-MM-DDTHH:mm:ssZ", G = Q.z(this), se = this.$H, he = this.$m, ge = this.$M, Ae = T.weekdays, Ne = T.months, xe = function(Ce, ze, ot, Je) {
1724
+ return Ce && (Ce[ze] || Ce(M, j)) || ot[ze].slice(0, Je);
1725
+ }, He = function(Ce) {
1726
+ return Q.s(se % 12 || 12, Ce, "0");
1727
+ }, Le = T.meridiem || function(Ce, ze, ot) {
1728
+ var Je = Ce < 12 ? "AM" : "PM";
1729
1729
  return ot ? Je.toLowerCase() : Je;
1730
- }, Te = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: ge + 1, MM: Q.s(ge + 1, 2, "0"), MMM: xe(T.monthsShort, ge, Ne, 3), MMMM: xe(Ne, ge), D: this.$D, DD: Q.s(this.$D, 2, "0"), d: String(this.$W), dd: xe(T.weekdaysMin, this.$W, Ce, 2), ddd: xe(T.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: Le(se, he, !0), A: Le(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: G };
1731
- return j.replace(V, function(ke, ze) {
1732
- return ze || Te[ke] || G.replace(":", "");
1730
+ }, Te = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: ge + 1, MM: Q.s(ge + 1, 2, "0"), MMM: xe(T.monthsShort, ge, Ne, 3), MMMM: xe(Ne, ge), D: this.$D, DD: Q.s(this.$D, 2, "0"), d: String(this.$W), dd: xe(T.weekdaysMin, this.$W, Ae, 2), ddd: xe(T.weekdaysShort, this.$W, Ae, 3), dddd: Ae[this.$W], H: String(se), HH: Q.s(se, 2, "0"), h: He(1), hh: He(2), a: Le(se, he, !0), A: Le(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: G };
1731
+ return j.replace(P, function(Ce, ze) {
1732
+ return ze || Te[Ce] || G.replace(":", "");
1733
1733
  });
1734
1734
  }, C.utcOffset = function() {
1735
1735
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1736
1736
  }, C.diff = function(_, M, T) {
1737
- var j, G = Q.p(M), se = ie(_), he = (se.utcOffset() - this.utcOffset()) * a, ge = this - se, Ce = Q.m(this, se);
1738
- return Ce = (j = {}, j[k] = Ce / 12, j[d] = Ce, j[v] = Ce / 3, j[m] = (ge - he) / 6048e5, j[p] = (ge - he) / 864e5, j[u] = ge / r, j[f] = ge / a, j[l] = ge / e, j)[G] || ge, T ? Ce : Q.a(Ce);
1737
+ var j, G = Q.p(M), se = ie(_), he = (se.utcOffset() - this.utcOffset()) * a, ge = this - se, Ae = Q.m(this, se);
1738
+ return Ae = (j = {}, j[k] = Ae / 12, j[d] = Ae, j[v] = Ae / 3, j[m] = (ge - he) / 6048e5, j[p] = (ge - he) / 864e5, j[u] = ge / r, j[f] = ge / a, j[l] = ge / e, j)[G] || ge, T ? Ae : Q.a(Ae);
1739
1739
  }, C.daysInMonth = function() {
1740
1740
  return this.endOf(d).$D;
1741
1741
  }, C.$locale = function() {
@@ -1768,19 +1768,19 @@ var fa = {}, qi = {
1768
1768
  }, ie.en = ee[ae], ie.Ls = ee, ie.p = {}, ie;
1769
1769
  });
1770
1770
  })(qi);
1771
- const De = fa;
1772
- var ma = {}, Ki = {
1771
+ const be = pa;
1772
+ var ha = {}, Ki = {
1773
1773
  get exports() {
1774
- return ma;
1774
+ return ha;
1775
1775
  },
1776
1776
  set exports(t) {
1777
- ma = t;
1777
+ ha = t;
1778
1778
  }
1779
1779
  };
1780
1780
  (function(t, n) {
1781
1781
  (function(e, a) {
1782
1782
  t.exports = a();
1783
- })(Sa, function() {
1783
+ })(Oa, function() {
1784
1784
  var e = "minute", a = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
1785
1785
  return function(o, l, f) {
1786
1786
  var u = l.prototype;
@@ -1807,9 +1807,9 @@ var ma = {}, Ki = {
1807
1807
  };
1808
1808
  var d = u.utcOffset;
1809
1809
  u.utcOffset = function(y, O) {
1810
- var V = this.$utils().u;
1811
- if (V(y))
1812
- return this.$u ? 0 : V(this.$offset) ? d.call(this) : this.$offset;
1810
+ var P = this.$utils().u;
1811
+ if (P(y))
1812
+ return this.$u ? 0 : P(this.$offset) ? d.call(this) : this.$offset;
1813
1813
  if (typeof y == "string" && (y = function(ae) {
1814
1814
  ae === void 0 && (ae = "");
1815
1815
  var ee = ae.match(a);
@@ -1848,37 +1848,40 @@ var ma = {}, Ki = {
1848
1848
  return y === "s" && this.$offset ? f(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
1849
1849
  };
1850
1850
  var I = u.diff;
1851
- u.diff = function(y, O, V) {
1851
+ u.diff = function(y, O, P) {
1852
1852
  if (y && this.$u === y.$u)
1853
- return I.call(this, y, O, V);
1853
+ return I.call(this, y, O, P);
1854
1854
  var F = this.local(), R = f(y).local();
1855
- return I.call(F, R, O, V);
1855
+ return I.call(F, R, O, P);
1856
1856
  };
1857
1857
  };
1858
1858
  });
1859
1859
  })(Ki);
1860
- const Gi = ma;
1861
- De.extend(Gi);
1862
- const Ct = ".000000Z", Bn = "YYYY-MM-DDTHH:mm:ss", zr = "1970-01-01T00:00:00.000000Z", jr = "2100-01-01T00:00:00.000000Z", Zi = () => De().utc().toDate(), Up = () => Go(De().utc().unix()), Lt = (t = !0, n = !1) => t && !n ? De().utc().format("YYYY-MM-DDTHH:mm:ss") + Ct : t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00") + Ct : !t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : De().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", Yp = (t = 0) => t === 0 ? De().startOf("day").utc().format(Bn) + Ct : De().add(t, "days").startOf("day").utc().format(Bn) + Ct, Hp = (t = 0) => t === 0 ? De().endOf("day").utc().format(Bn) + Ct : De().add(t, "days").endOf("day").utc().format(Bn) + Ct, Jp = (t = 0, n = null) => {
1860
+ const Gi = ha;
1861
+ be.extend(Gi);
1862
+ const Ct = ".000000Z", Bn = "YYYY-MM-DDTHH:mm:ss", Kn = "1970-01-01T00:00:00.000000Z", Gn = "2100-01-01T00:00:00.000000Z", Zi = () => be().utc().toDate(), Up = () => Go(be().utc().unix()), Lt = (t = !0, n = !1) => t && !n ? be().utc().format("YYYY-MM-DDTHH:mm:ss") + Ct : t && n ? be().utc().format("YYYY-MM-DDTHH:mm:00") + Ct : !t && n ? be().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : be().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", Yp = (t = 0) => t === 0 ? be().startOf("day").utc().format(Bn) + Ct : be().add(t, "days").startOf("day").utc().format(Bn) + Ct, Hp = (t = 0) => t === 0 ? be().endOf("day").utc().format(Bn) + Ct : be().add(t, "days").endOf("day").utc().format(Bn) + Ct, Jp = (t = 0, n = null) => {
1863
1863
  if (n === null && (n = /* @__PURE__ */ new Date()), t === 0)
1864
1864
  return n;
1865
1865
  if (t > 0)
1866
- return De(n).add(t, "minutes").toDate();
1866
+ return be(n).add(t, "minutes").toDate();
1867
1867
  if (t < 0)
1868
- return De(n).subtract(t, "minutes").toDate();
1869
- }, Qi = (t) => De(t).utc().format("YYYY-MM-DDTHH:mm:ss") + Ct, Wp = () => De().utc().format("YYYY"), pa = (t, n = "") => t === jr || t === zr || t === "" || ye(t) || S(t) ? n : De(t).format("DD.MM.YYYY HH:mm"), qp = (t, n = "") => {
1870
- if (t === jr || t === zr || t === "" || ye(t) || S(t))
1868
+ return be(n).subtract(t, "minutes").toDate();
1869
+ }, Qi = (t) => be(t).utc().format("YYYY-MM-DDTHH:mm:ss") + Ct, Wp = () => be().utc().format("YYYY"), ga = (t, n = "") => t === Gn || t === Kn || t === "" || ve(t) || S(t) ? n : be(t).format("DD.MM.YYYY HH:mm"), qp = (t, n = "") => {
1870
+ if (t === Gn || t === Kn || t === "" || ve(t) || S(t))
1871
1871
  return n;
1872
1872
  let e = !0, a = !0;
1873
- const r = De(t), o = De();
1874
- 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");
1873
+ const r = be(t), o = be();
1874
+ return o.format("YYYY") === r.format("YYYY") && (e = !1), o.format("YYYY-MM-DD") === r.format("YYYY-MM-DD") && (a = !1), !e && !a ? be(r).format("H:mm") : e ? be(r).format("D.M.YYYY H:mm") : be(r).format("D.M. H:mm");
1875
+ }, Kp = (t, n = "") => t === Gn || t === Kn || t === "" || ve(t) || S(t) ? n : be(t).format("DD.MM.YYYY"), Gp = (t, n = "") => t === Gn || t === Kn || t === "" || ve(t) || S(t) ? n : be(t).format("HH:mm"), Zp = (t, n) => {
1876
+ const e = be(t), a = be(n);
1877
+ return e.diff(a);
1875
1878
  }, Xi = { class: "d-flex align-center" }, el = {
1876
1879
  key: 0,
1877
1880
  class: "mr-2"
1878
1881
  }, tl = { class: "d-flex align-center" }, nl = {
1879
1882
  key: 0,
1880
1883
  class: "mr-2"
1881
- }, Kp = /* @__PURE__ */ L({
1884
+ }, Qp = /* @__PURE__ */ L({
1882
1885
  __name: "ATimeTrackingFields",
1883
1886
  props: {
1884
1887
  data: null,
@@ -1886,7 +1889,7 @@ const Ct = ".000000Z", Bn = "YYYY-MM-DDTHH:mm:ss", zr = "1970-01-01T00:00:00.000
1886
1889
  hideModifiedAt: { type: Boolean, default: !1 }
1887
1890
  },
1888
1891
  setup(t) {
1889
- const n = t, e = x(() => pa(n.data.createdAt)), a = x(() => pa(n.data.modifiedAt)), { t: r } = K();
1892
+ const n = t, e = x(() => ga(n.data.createdAt)), a = x(() => ga(n.data.modifiedAt)), { t: r } = K();
1890
1893
  return (o, l) => (w(), H(Ye, null, [
1891
1894
  b(tt, {
1892
1895
  title: c(r)("common.model.tracking.created")
@@ -1911,7 +1914,7 @@ const Ct = ".000000Z", Bn = "YYYY-MM-DDTHH:mm:ss", zr = "1970-01-01T00:00:00.000
1911
1914
  ], 64));
1912
1915
  }
1913
1916
  });
1914
- function Gp(t, n) {
1917
+ function Xp(t, n) {
1915
1918
  return (e = {}) => {
1916
1919
  const a = S(e.variant) ? "eq" : e.variant;
1917
1920
  let r = S(e.default) ? null : e.default;
@@ -1930,7 +1933,7 @@ function Gp(t, n) {
1930
1933
  };
1931
1934
  };
1932
1935
  }
1933
- function $a() {
1936
+ function Pa() {
1934
1937
  const t = (o) => {
1935
1938
  o.model = o.default, o.error = "";
1936
1939
  }, n = (o) => {
@@ -1952,7 +1955,7 @@ function $a() {
1952
1955
  }
1953
1956
  };
1954
1957
  }
1955
- const Zp = /* @__PURE__ */ L({
1958
+ const eh = /* @__PURE__ */ L({
1956
1959
  __name: "AFilterString",
1957
1960
  props: {
1958
1961
  modelValue: null,
@@ -1968,7 +1971,7 @@ const Zp = /* @__PURE__ */ L({
1968
1971
  set(u) {
1969
1972
  n("update:modelValue", { ...e.modelValue, model: u });
1970
1973
  }
1971
- }), { clearOne: r } = $a(), { t: o } = K(), l = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), f = x(() => 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);
1974
+ }), { clearOne: r } = Pa(), { t: o } = K(), l = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), f = x(() => 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);
1972
1975
  return (u, p) => (w(), E(Jn, {
1973
1976
  modelValue: c(a),
1974
1977
  "onUpdate:modelValue": p[0] || (p[0] = (m) => Ue(a) ? a.value = m : null),
@@ -1979,7 +1982,7 @@ const Zp = /* @__PURE__ */ L({
1979
1982
  "onClick:clear": p[1] || (p[1] = ne((m) => c(r)(t.modelValue), ["stop"]))
1980
1983
  }, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
1981
1984
  }
1982
- }), Qp = /* @__PURE__ */ L({
1985
+ }), th = /* @__PURE__ */ L({
1983
1986
  __name: "AFilterInteger",
1984
1987
  props: {
1985
1988
  modelValue: null,
@@ -1994,7 +1997,7 @@ const Zp = /* @__PURE__ */ L({
1994
1997
  set(f) {
1995
1998
  n("update:modelValue", { ...e.modelValue, model: f });
1996
1999
  }
1997
- }), { clearOne: r } = $a(), { t: o } = K(), l = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0);
2000
+ }), { clearOne: r } = Pa(), { t: o } = K(), l = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0);
1998
2001
  return (f, u) => (w(), E(Jn, {
1999
2002
  modelValue: c(a),
2000
2003
  "onUpdate:modelValue": u[0] || (u[0] = (p) => Ue(a) ? a.value = p : null),
@@ -2019,7 +2022,7 @@ const Zp = /* @__PURE__ */ L({
2019
2022
  st(l), e.value = !e.value, n("advancedFilter");
2020
2023
  }, r = x(() => e.value ? "mdi-chevron-double-up" : "mdi-chevron-double-down"), { t: o } = K();
2021
2024
  return (l, f) => (w(), E(oe, {
2022
- class: be(t.buttonClass),
2025
+ class: we(t.buttonClass),
2023
2026
  "data-cy": t.dataCy,
2024
2027
  icon: "",
2025
2028
  size: "x-small",
@@ -2055,7 +2058,7 @@ const Zp = /* @__PURE__ */ L({
2055
2058
  st(r), n("submit");
2056
2059
  }, { t: a } = K();
2057
2060
  return (r, o) => (w(), E(oe, {
2058
- class: be(t.buttonClass),
2061
+ class: we(t.buttonClass),
2059
2062
  "data-cy": t.dataCy,
2060
2063
  color: "primary",
2061
2064
  type: "submit",
@@ -2081,7 +2084,7 @@ const Zp = /* @__PURE__ */ L({
2081
2084
  st(r), n("reset");
2082
2085
  }, { t: a } = K();
2083
2086
  return (r, o) => (w(), E(oe, {
2084
- class: be([t.buttonClass, "px-2"]),
2087
+ class: we([t.buttonClass, "px-2"]),
2085
2088
  "data-cy": t.dataCy,
2086
2089
  color: "light",
2087
2090
  "min-width": "36px",
@@ -2106,7 +2109,7 @@ const Zp = /* @__PURE__ */ L({
2106
2109
  _: 1
2107
2110
  }, 8, ["class", "data-cy", "onClick"]));
2108
2111
  }
2109
- }), Xp = /* @__PURE__ */ L({
2112
+ }), nh = /* @__PURE__ */ L({
2110
2113
  __name: "AFilterWrapper",
2111
2114
  props: {
2112
2115
  enableAdvanced: { type: Boolean, default: !1 },
@@ -2122,7 +2125,7 @@ const Zp = /* @__PURE__ */ L({
2122
2125
  a.value = !a.value;
2123
2126
  };
2124
2127
  return (o, l) => (w(), H(Ye, null, [
2125
- t.enableTop ? (w(), E(da, {
2128
+ t.enableTop ? (w(), E(fa, {
2126
2129
  key: 0,
2127
2130
  dense: ""
2128
2131
  }, {
@@ -2136,7 +2139,7 @@ const Zp = /* @__PURE__ */ L({
2136
2139
  ]),
2137
2140
  _: 3
2138
2141
  })) : Z("", !0),
2139
- b(da, { dense: "" }, {
2142
+ b(fa, { dense: "" }, {
2140
2143
  default: g(() => [
2141
2144
  t.enableAdvanced ? (w(), E(Wt, {
2142
2145
  key: 0,
@@ -2156,10 +2159,10 @@ const Zp = /* @__PURE__ */ L({
2156
2159
  _e(o.$slots, "default"),
2157
2160
  t.enableAdvanced ? (w(), E(Do, { key: 0 }, {
2158
2161
  default: g(() => [
2159
- vr(te("div", null, [
2162
+ br(te("div", null, [
2160
2163
  _e(o.$slots, "advanced")
2161
2164
  ], 512), [
2162
- [yr, a.value]
2165
+ [wr, a.value]
2163
2166
  ])
2164
2167
  ]),
2165
2168
  _: 3
@@ -2213,7 +2216,7 @@ function Br() {
2213
2216
  getGrantOption: (a) => n.value.find((r) => r.value === a)
2214
2217
  };
2215
2218
  }
2216
- const eh = /* @__PURE__ */ L({
2219
+ const ah = /* @__PURE__ */ L({
2217
2220
  __name: "APermissionGrantEditor",
2218
2221
  props: {
2219
2222
  availableGrants: null,
@@ -2287,7 +2290,7 @@ function il() {
2287
2290
  const ll = {
2288
2291
  key: 0,
2289
2292
  class: "ml-1"
2290
- }, th = /* @__PURE__ */ L({
2293
+ }, rh = /* @__PURE__ */ L({
2291
2294
  __name: "APermissionValueChip",
2292
2295
  props: {
2293
2296
  grant: null,
@@ -2318,7 +2321,7 @@ const ll = {
2318
2321
  a && typeof a == "object" && Ur(a);
2319
2322
  }
2320
2323
  return Object.freeze(t);
2321
- }, nh = (t) => Object.keys(t).map((n) => t[n]), Yr = (t, n, e = ".") => {
2324
+ }, oh = (t) => Object.keys(t).map((n) => t[n]), Yr = (t, n, e = ".") => {
2322
2325
  const a = n.split(e);
2323
2326
  let r = t;
2324
2327
  for (; a.length; ) {
@@ -2328,7 +2331,7 @@ const ll = {
2328
2331
  r = r[o];
2329
2332
  }
2330
2333
  return r;
2331
- }, ah = (t, n, e, a = ".") => {
2334
+ }, ih = (t, n, e, a = ".") => {
2332
2335
  const r = n.split(a);
2333
2336
  let o = t;
2334
2337
  for (; r.length - 1; ) {
@@ -2339,7 +2342,7 @@ const ll = {
2339
2342
  }
2340
2343
  o[r[0]] = e;
2341
2344
  };
2342
- function rh(t, n, e = ".") {
2345
+ function lh(t, n, e = ".") {
2343
2346
  const a = n.split(e), r = a.length - 1;
2344
2347
  function o(l, f = 0) {
2345
2348
  const u = a[f];
@@ -2351,16 +2354,16 @@ function rh(t, n, e = ".") {
2351
2354
  }
2352
2355
  return o(t), t;
2353
2356
  }
2354
- const sl = (t) => qn(t) && Object.hasOwn(t, "owners"), ul = (t) => Object.hasOwn(t, "createdBy"), Kn = Symbol("currentUser"), Hr = Symbol("customAclResolver"), Jr = Symbol("availableLanguages"), Wr = Symbol("defaultLanguage"), oh = {
2357
+ const sl = (t) => qn(t) && Object.hasOwn(t, "owners"), ul = (t) => Object.hasOwn(t, "createdBy"), Zn = Symbol("currentUser"), Hr = Symbol("customAclResolver"), Jr = Symbol("availableLanguages"), Wr = Symbol("defaultLanguage"), sh = {
2355
2358
  install(t, n) {
2356
- t.provide(Kn, n.currentUser), t.provide(Hr, n.customAclResolver), t.provide(Jr, n.languages.available), t.provide(Wr, n.languages.default), t.component("Acl", cl), t.use(Oi, { componentName: "Notifications" });
2359
+ t.provide(Zn, n.currentUser), t.provide(Hr, n.customAclResolver), t.provide(Jr, n.languages.available), t.provide(Wr, n.languages.default), t.component("Acl", cl), t.use(Oi, { componentName: "Notifications" });
2357
2360
  }
2358
2361
  }, qr = "ROLE_ADMIN";
2359
2362
  function dl(t) {
2360
- const n = S(t) || S(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (n ? we(Kn, void 0) : void 0), a = (t == null ? void 0 : t.customAclProvider) ?? (n ? we(Hr, void 0) : void 0), r = (u, p) => {
2363
+ const n = S(t) || S(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (n ? ke(Zn, void 0) : void 0), a = (t == null ? void 0 : t.customAclProvider) ?? (n ? ke(Hr, void 0) : void 0), r = (u, p) => {
2361
2364
  if (S(e))
2362
2365
  throw new Error("Composable useAcl can be used as a global state without providing current user as a parameter.");
2363
- if (ar(a) && ar(a.can))
2366
+ if (or(a) && or(a.can))
2364
2367
  return a.can(u, p);
2365
2368
  if (S(e.value) || e.value.id === 0)
2366
2369
  return !1;
@@ -2408,7 +2411,7 @@ const cl = /* @__PURE__ */ L({
2408
2411
  subject: { default: void 0 }
2409
2412
  },
2410
2413
  setup(t) {
2411
- const n = t, e = we(Kn), { can: a } = dl(), r = J(a(n.permission, n.subject));
2414
+ const n = t, e = ke(Zn), { can: a } = dl(), r = J(a(n.permission, n.subject));
2412
2415
  return Oe(e, () => {
2413
2416
  r.value = a(n.permission, n.subject);
2414
2417
  }), (o, l) => r.value ? _e(o.$slots, "default", { key: 0 }) : Z("", !0);
@@ -2420,11 +2423,11 @@ const cl = /* @__PURE__ */ L({
2420
2423
  edgeDateValue: { default: "n/a" }
2421
2424
  },
2422
2425
  setup(t) {
2423
- const n = t, e = x(() => pa(n.dateTime, n.edgeDateValue));
2426
+ const n = t, e = x(() => ga(n.dateTime, n.edgeDateValue));
2424
2427
  return (a, r) => $(c(e));
2425
2428
  }
2426
2429
  });
2427
- var na = [
2430
+ var ra = [
2428
2431
  "onChange",
2429
2432
  "onClose",
2430
2433
  "onDayCreate",
@@ -2574,7 +2577,7 @@ var na = [
2574
2577
  }, Ke = function(t) {
2575
2578
  return t === !0 ? 1 : 0;
2576
2579
  };
2577
- function sr(t, n) {
2580
+ function dr(t, n) {
2578
2581
  var e;
2579
2582
  return function() {
2580
2583
  var a = this, r = arguments;
@@ -2583,10 +2586,10 @@ function sr(t, n) {
2583
2586
  }, n);
2584
2587
  };
2585
2588
  }
2586
- var aa = function(t) {
2589
+ var oa = function(t) {
2587
2590
  return t instanceof Array ? t : [t];
2588
2591
  };
2589
- function Ve(t, n, e) {
2592
+ function Pe(t, n, e) {
2590
2593
  if (e === !0)
2591
2594
  return t.classList.add(n);
2592
2595
  t.classList.remove(n);
@@ -2623,11 +2626,11 @@ function Be(t) {
2623
2626
  return t.target;
2624
2627
  }
2625
2628
  }
2626
- var ra = function() {
2629
+ var ia = function() {
2627
2630
  }, Un = function(t, n, e) {
2628
2631
  return e.months[n ? "shorthand" : "longhand"][t];
2629
2632
  }, fl = {
2630
- D: ra,
2633
+ D: ia,
2631
2634
  F: function(t, n, e) {
2632
2635
  t.setMonth(e.months.longhand.indexOf(n));
2633
2636
  },
@@ -2674,7 +2677,7 @@ var ra = function() {
2674
2677
  j: function(t, n) {
2675
2678
  t.setDate(parseFloat(n));
2676
2679
  },
2677
- l: ra,
2680
+ l: ia,
2678
2681
  m: function(t, n) {
2679
2682
  t.setMonth(parseFloat(n) - 1);
2680
2683
  },
@@ -2687,7 +2690,7 @@ var ra = function() {
2687
2690
  u: function(t, n) {
2688
2691
  return new Date(parseFloat(n));
2689
2692
  },
2690
- w: ra,
2693
+ w: ia,
2691
2694
  y: function(t, n) {
2692
2695
  t.setFullYear(2e3 + parseFloat(n));
2693
2696
  }
@@ -2793,7 +2796,7 @@ var ra = function() {
2793
2796
  return Kt[d] && k[v - 1] !== "\\" ? Kt[d](f, m, e) : d !== "\\" ? d : "";
2794
2797
  }).join("");
2795
2798
  };
2796
- }, ha = function(t) {
2799
+ }, va = function(t) {
2797
2800
  var n = t.config, e = n === void 0 ? Ft : n, a = t.l10n, r = a === void 0 ? tn : a;
2798
2801
  return function(o, l, f, u) {
2799
2802
  if (!(o !== 0 && !o)) {
@@ -2811,14 +2814,14 @@ var ra = function() {
2811
2814
  else if (/Z$/.test(k) || /GMT$/.test(k))
2812
2815
  m = new Date(o);
2813
2816
  else {
2814
- for (var I = void 0, y = [], O = 0, V = 0, F = ""; O < v.length; O++) {
2817
+ for (var I = void 0, y = [], O = 0, P = 0, F = ""; O < v.length; O++) {
2815
2818
  var R = v[O], U = R === "\\", ae = v[O - 1] === "\\" || U;
2816
2819
  if (kt[R] && !ae) {
2817
2820
  F += kt[R];
2818
2821
  var ee = new RegExp(F).exec(o);
2819
2822
  ee && (I = !0) && y[R !== "Y" ? "push" : "unshift"]({
2820
2823
  fn: fl[R],
2821
- val: ee[++V]
2824
+ val: ee[++P]
2822
2825
  });
2823
2826
  } else
2824
2827
  U || (F += ".");
@@ -2842,7 +2845,7 @@ function Re(t, n, e) {
2842
2845
  }
2843
2846
  var ml = function(t, n, e) {
2844
2847
  return t > Math.min(n, e) && t < Math.max(n, e);
2845
- }, oa = function(t, n, e) {
2848
+ }, la = function(t, n, e) {
2846
2849
  return t * 3600 + n * 60 + e;
2847
2850
  }, pl = function(t) {
2848
2851
  var n = Math.floor(t / 3600), e = (t - n * 3600) / 60;
@@ -2850,7 +2853,7 @@ var ml = function(t, n, e) {
2850
2853
  }, hl = {
2851
2854
  DAY: 864e5
2852
2855
  };
2853
- function ia(t) {
2856
+ function sa(t) {
2854
2857
  var n = t.defaultHour, e = t.defaultMinute, a = t.defaultSeconds;
2855
2858
  if (t.minDate !== void 0) {
2856
2859
  var r = t.minDate.getHours(), o = t.minDate.getMinutes(), l = t.minDate.getSeconds();
@@ -2886,7 +2889,7 @@ var $e = globalThis && globalThis.__assign || function() {
2886
2889
  }
2887
2890
  return t;
2888
2891
  }, $e.apply(this, arguments);
2889
- }, ur = globalThis && globalThis.__spreadArrays || function() {
2892
+ }, cr = globalThis && globalThis.__spreadArrays || function() {
2890
2893
  for (var t = 0, n = 0, e = arguments.length; n < e; n++)
2891
2894
  t += arguments[n].length;
2892
2895
  for (var a = Array(t), r = 0, n = 0; n < e; n++)
@@ -2896,10 +2899,10 @@ var $e = globalThis && globalThis.__assign || function() {
2896
2899
  }, gl = 300;
2897
2900
  function vl(t, n) {
2898
2901
  var e = {
2899
- config: $e($e({}, Ft), Ae.defaultConfig),
2902
+ config: $e($e({}, Ft), De.defaultConfig),
2900
2903
  l10n: tn
2901
2904
  };
2902
- e.parseDate = ha({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = v, e._positionCalendar = yt, e.changeMonth = he, e.changeYear = Le, e.clear = ge, e.close = Ce, e.onMouseOver = Je, e._createElement = ce, e.createDay = ee, e.destroy = Ne, e.isEnabled = Te, e.jumpToDate = F, e.updateValue = We, e.open = sn, e.redraw = Rt, e.set = fn, e.setDate = mn, e.toggle = vn;
2905
+ e.parseDate = va({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = v, e._positionCalendar = yt, e.changeMonth = he, e.changeYear = Le, e.clear = ge, e.close = Ae, e.onMouseOver = Je, e._createElement = ce, e.createDay = ee, e.destroy = Ne, e.isEnabled = Te, e.jumpToDate = F, e.updateValue = We, e.open = sn, e.redraw = Rt, e.set = fn, e.setDate = mn, e.toggle = vn;
2903
2906
  function a() {
2904
2907
  e.utils = {
2905
2908
  getDaysInMonth: function(i, s) {
@@ -2908,9 +2911,9 @@ function vl(t, n) {
2908
2911
  };
2909
2912
  }
2910
2913
  function r() {
2911
- e.element = e.input = t, e.isOpen = !1, un(), Bt(), hn(), pn(), a(), e.isMobile || ae(), V(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && v(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)), f();
2914
+ e.element = e.input = t, e.isOpen = !1, un(), Bt(), hn(), pn(), a(), e.isMobile || ae(), P(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && v(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)), f();
2912
2915
  var i = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
2913
- !e.isMobile && i && yt(), ve("onReady");
2916
+ !e.isMobile && i && yt(), ye("onReady");
2914
2917
  }
2915
2918
  function o() {
2916
2919
  var i;
@@ -2930,7 +2933,7 @@ function vl(t, n) {
2930
2933
  }
2931
2934
  function u(i) {
2932
2935
  if (e.selectedDates.length === 0) {
2933
- var s = e.config.minDate === void 0 || Re(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), h = ia(e.config);
2936
+ var s = e.config.minDate === void 0 || Re(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), h = sa(e.config);
2934
2937
  s.setHours(h.hours, h.minutes, h.seconds, s.getMilliseconds()), e.selectedDates = [s], e.latestSelectedDateObj = s;
2935
2938
  }
2936
2939
  i !== void 0 && i.type !== "blur" && wn(i);
@@ -2953,15 +2956,15 @@ function vl(t, n) {
2953
2956
  if (!(e.hourElement === void 0 || e.minuteElement === void 0)) {
2954
2957
  var i = (parseInt(e.hourElement.value.slice(-2), 10) || 0) % 24, s = (parseInt(e.minuteElement.value, 10) || 0) % 60, h = e.secondElement !== void 0 ? (parseInt(e.secondElement.value, 10) || 0) % 60 : 0;
2955
2958
  e.amPM !== void 0 && (i = p(i, e.amPM.textContent));
2956
- var A = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.minDate, !0) === 0, P = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
2959
+ var A = 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;
2957
2960
  if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
2958
- var N = oa(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), X = oa(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), Y = oa(i, s, h);
2961
+ var N = la(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), X = la(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), Y = la(i, s, h);
2959
2962
  if (Y > X && Y < N) {
2960
2963
  var re = pl(N);
2961
2964
  i = re[0], s = re[1], h = re[2];
2962
2965
  }
2963
2966
  } else {
2964
- if (P) {
2967
+ if (V) {
2965
2968
  var B = e.config.maxTime !== void 0 ? e.config.maxTime : e.config.maxDate;
2966
2969
  i = Math.min(i, B.getHours()), i === B.getHours() && (s = Math.min(s, B.getMinutes())), s === B.getMinutes() && (h = Math.min(h, B.getSeconds()));
2967
2970
  }
@@ -2986,12 +2989,12 @@ function vl(t, n) {
2986
2989
  }
2987
2990
  function y(i, s, h, A) {
2988
2991
  if (s instanceof Array)
2989
- return s.forEach(function(P) {
2990
- return y(i, P, h, A);
2992
+ return s.forEach(function(V) {
2993
+ return y(i, V, h, A);
2991
2994
  });
2992
2995
  if (i instanceof Array)
2993
- return i.forEach(function(P) {
2994
- return y(P, s, h, A);
2996
+ return i.forEach(function(V) {
2997
+ return y(V, s, h, A);
2995
2998
  });
2996
2999
  i.addEventListener(s, h, A), e._handlers.push({
2997
3000
  remove: function() {
@@ -3000,9 +3003,9 @@ function vl(t, n) {
3000
3003
  });
3001
3004
  }
3002
3005
  function O() {
3003
- ve("onChange");
3006
+ ye("onChange");
3004
3007
  }
3005
- function V() {
3008
+ function P() {
3006
3009
  if (e.config.wrap && ["open", "close", "toggle", "clear"].forEach(function(h) {
3007
3010
  Array.prototype.forEach.call(e.element.querySelectorAll("[data-" + h + "]"), function(A) {
3008
3011
  return y(A, "click", e[h]);
@@ -3011,8 +3014,8 @@ function vl(t, n) {
3011
3014
  gn();
3012
3015
  return;
3013
3016
  }
3014
- var i = sr(ln, 50);
3015
- if (e._debouncedChange = sr(O, gl), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && y(e.daysContainer, "mouseover", function(h) {
3017
+ var i = dr(ln, 50);
3018
+ if (e._debouncedChange = dr(O, gl), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && y(e.daysContainer, "mouseover", function(h) {
3016
3019
  e.config.mode === "range" && Je(Be(h));
3017
3020
  }), y(e._input, "keydown", ot), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", ot), !e.config.inline && !e.config.static && y(window, "resize", i), window.ontouchstart !== void 0 ? y(window.document, "touchstart", He) : y(window.document, "mousedown", He), y(window.document, "focus", He, { capture: !0 }), e.config.clickOpens === !0 && (y(e._input, "focus", e.open), y(e._input, "click", e.open)), e.daysContainer !== void 0 && (y(e.monthNav, "click", bn), y(e.monthNav, ["keyup", "increment"], I), y(e.daysContainer, "click", Ut)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
3018
3021
  var s = function(h) {
@@ -3027,21 +3030,21 @@ function vl(t, n) {
3027
3030
  e.config.allowInput && y(e._input, "blur", ze);
3028
3031
  }
3029
3032
  function F(i, s) {
3030
- 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), A = e.currentYear, P = e.currentMonth;
3033
+ 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), A = e.currentYear, V = e.currentMonth;
3031
3034
  try {
3032
3035
  h !== void 0 && (e.currentYear = h.getFullYear(), e.currentMonth = h.getMonth());
3033
3036
  } catch (N) {
3034
3037
  N.message = "Invalid date supplied: " + h, e.config.errorHandler(N);
3035
3038
  }
3036
- s && e.currentYear !== A && (ve("onYearChange"), D()), s && (e.currentYear !== A || e.currentMonth !== P) && ve("onMonthChange"), e.redraw();
3039
+ s && e.currentYear !== A && (ye("onYearChange"), D()), s && (e.currentYear !== A || e.currentMonth !== V) && ye("onMonthChange"), e.redraw();
3037
3040
  }
3038
3041
  function R(i) {
3039
3042
  var s = Be(i);
3040
3043
  ~s.className.indexOf("arrow") && U(i, s.classList.contains("arrowUp") ? 1 : -1);
3041
3044
  }
3042
3045
  function U(i, s, h) {
3043
- var A = i && Be(i), P = h || A && A.parentNode && A.parentNode.firstChild, N = Ot("increment");
3044
- N.delta = s, P && P.dispatchEvent(N);
3046
+ var A = i && Be(i), V = h || A && A.parentNode && A.parentNode.firstChild, N = Ot("increment");
3047
+ N.delta = s, V && V.dispatchEvent(N);
3045
3048
  }
3046
3049
  function ae() {
3047
3050
  var i = window.document.createDocumentFragment();
@@ -3052,49 +3055,49 @@ function vl(t, n) {
3052
3055
  }
3053
3056
  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);
3054
3057
  }
3055
- e.config.enableTime && i.appendChild(T()), Ve(e.calendarContainer, "rangeMode", e.config.mode === "range"), Ve(e.calendarContainer, "animate", e.config.animate === !0), Ve(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(i);
3056
- var P = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
3057
- if ((e.config.inline || e.config.static) && (e.calendarContainer.classList.add(e.config.inline ? "inline" : "static"), e.config.inline && (!P && 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)) {
3058
+ e.config.enableTime && i.appendChild(T()), Pe(e.calendarContainer, "rangeMode", e.config.mode === "range"), Pe(e.calendarContainer, "animate", e.config.animate === !0), Pe(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(i);
3059
+ var V = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
3060
+ 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)) {
3058
3061
  var N = ce("div", "flatpickr-wrapper");
3059
3062
  e.element.parentNode && e.element.parentNode.insertBefore(N, e.element), N.appendChild(e.element), e.altInput && N.appendChild(e.altInput), N.appendChild(e.calendarContainer);
3060
3063
  }
3061
3064
  !e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
3062
3065
  }
3063
3066
  function ee(i, s, h, A) {
3064
- var P = Te(s, !0), N = ce("span", i, s.getDate().toString());
3065
- return N.dateObj = s, N.$i = A, N.setAttribute("aria-label", e.formatDate(s, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Re(s, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")), P ? (N.tabIndex = -1, Vt(s) && (N.classList.add("selected"), e.selectedDateElem = N, e.config.mode === "range" && (Ve(N, "startRange", e.selectedDates[0] && Re(s, e.selectedDates[0], !0) === 0), Ve(N, "endRange", e.selectedDates[1] && Re(s, e.selectedDates[1], !0) === 0), i === "nextMonthDay" && N.classList.add("inRange")))) : N.classList.add("flatpickr-disabled"), e.config.mode === "range" && yn(s) && !Vt(s) && N.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && i !== "prevMonthDay" && A % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(s) + "</span>"), ve("onDayCreate", N), N;
3067
+ var V = Te(s, !0), N = ce("span", i, s.getDate().toString());
3068
+ return N.dateObj = s, N.$i = A, N.setAttribute("aria-label", e.formatDate(s, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Re(s, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")), V ? (N.tabIndex = -1, Pt(s) && (N.classList.add("selected"), e.selectedDateElem = N, e.config.mode === "range" && (Pe(N, "startRange", e.selectedDates[0] && Re(s, e.selectedDates[0], !0) === 0), Pe(N, "endRange", e.selectedDates[1] && Re(s, e.selectedDates[1], !0) === 0), i === "nextMonthDay" && N.classList.add("inRange")))) : N.classList.add("flatpickr-disabled"), e.config.mode === "range" && yn(s) && !Pt(s) && N.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && i !== "prevMonthDay" && A % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(s) + "</span>"), ye("onDayCreate", N), N;
3066
3069
  }
3067
3070
  function ue(i) {
3068
3071
  i.focus(), e.config.mode === "range" && Je(i);
3069
3072
  }
3070
3073
  function pe(i) {
3071
3074
  for (var s = i > 0 ? 0 : e.config.showMonths - 1, h = i > 0 ? e.config.showMonths : -1, A = s; A != h; A += i)
3072
- for (var P = e.daysContainer.children[A], N = i > 0 ? 0 : P.children.length - 1, X = i > 0 ? P.children.length : -1, Y = N; Y != X; Y += i) {
3073
- var re = P.children[Y];
3075
+ for (var V = e.daysContainer.children[A], N = i > 0 ? 0 : V.children.length - 1, X = i > 0 ? V.children.length : -1, Y = N; Y != X; Y += i) {
3076
+ var re = V.children[Y];
3074
3077
  if (re.className.indexOf("hidden") === -1 && Te(re.dateObj))
3075
3078
  return re;
3076
3079
  }
3077
3080
  }
3078
3081
  function ie(i, s) {
3079
- for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, A = s > 0 ? e.config.showMonths : -1, P = s > 0 ? 1 : -1, N = h - e.currentMonth; N != A; N += P)
3080
- for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + s : s < 0 ? X.children.length - 1 : 0, re = X.children.length, B = Y; B >= 0 && B < re && B != (s > 0 ? re : -1); B += P) {
3082
+ for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, A = s > 0 ? e.config.showMonths : -1, V = s > 0 ? 1 : -1, N = h - e.currentMonth; N != A; N += V)
3083
+ for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + s : s < 0 ? X.children.length - 1 : 0, re = X.children.length, B = Y; B >= 0 && B < re && B != (s > 0 ? re : -1); B += V) {
3081
3084
  var q = X.children[B];
3082
3085
  if (q.className.indexOf("hidden") === -1 && Te(q.dateObj) && Math.abs(i.$i - B) >= Math.abs(s))
3083
3086
  return ue(q);
3084
3087
  }
3085
- e.changeMonth(P), Q(pe(P), 0);
3088
+ e.changeMonth(V), Q(pe(V), 0);
3086
3089
  }
3087
3090
  function Q(i, s) {
3088
- var h = o(), A = ke(h || document.body), P = i !== void 0 ? i : A ? h : e.selectedDateElem !== void 0 && ke(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && ke(e.todayDateElem) ? e.todayDateElem : pe(s > 0 ? 1 : -1);
3089
- P === void 0 ? e._input.focus() : A ? ie(P, s) : ue(P);
3091
+ var h = o(), A = Ce(h || document.body), V = i !== void 0 ? i : A ? h : e.selectedDateElem !== void 0 && Ce(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && Ce(e.todayDateElem) ? e.todayDateElem : pe(s > 0 ? 1 : -1);
3092
+ V === void 0 ? e._input.focus() : A ? ie(V, s) : ue(V);
3090
3093
  }
3091
3094
  function Me(i, s) {
3092
- for (var h = (new Date(i, s, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, A = e.utils.getDaysInMonth((s - 1 + 12) % 12, i), P = e.utils.getDaysInMonth(s, i), N = window.document.createDocumentFragment(), X = e.config.showMonths > 1, Y = X ? "prevMonthDay hidden" : "prevMonthDay", re = X ? "nextMonthDay hidden" : "nextMonthDay", B = A + 1 - h, q = 0; B <= A; B++, q++)
3095
+ for (var h = (new Date(i, s, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, A = e.utils.getDaysInMonth((s - 1 + 12) % 12, i), V = e.utils.getDaysInMonth(s, i), N = window.document.createDocumentFragment(), X = e.config.showMonths > 1, Y = X ? "prevMonthDay hidden" : "prevMonthDay", re = X ? "nextMonthDay hidden" : "nextMonthDay", B = A + 1 - h, q = 0; B <= A; B++, q++)
3093
3096
  N.appendChild(ee("flatpickr-day " + Y, new Date(i, s - 1, B), B, q));
3094
- for (B = 1; B <= P; B++, q++)
3097
+ for (B = 1; B <= V; B++, q++)
3095
3098
  N.appendChild(ee("flatpickr-day", new Date(i, s, B), B, q));
3096
- for (var fe = P + 1; fe <= 42 - h && (e.config.showMonths === 1 || q % 7 !== 0); fe++, q++)
3097
- N.appendChild(ee("flatpickr-day " + re, new Date(i, s + 1, fe % P), fe, q));
3099
+ for (var fe = V + 1; fe <= 42 - h && (e.config.showMonths === 1 || q % 7 !== 0); fe++, q++)
3100
+ N.appendChild(ee("flatpickr-day " + re, new Date(i, s + 1, fe % V), fe, q));
3098
3101
  var je = ce("div", "dayContainer");
3099
3102
  return je.appendChild(N), je;
3100
3103
  }
@@ -3125,14 +3128,14 @@ function vl(t, n) {
3125
3128
  var i = ce("div", "flatpickr-month"), s = window.document.createDocumentFragment(), h;
3126
3129
  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), y(e.monthsDropdownContainer, "change", function(X) {
3127
3130
  var Y = Be(X), re = parseInt(Y.value, 10);
3128
- e.changeMonth(re - e.currentMonth), ve("onMonthChange");
3131
+ e.changeMonth(re - e.currentMonth), ye("onMonthChange");
3129
3132
  }), D(), h = e.monthsDropdownContainer);
3130
- var A = Fn("cur-year", { tabindex: "-1" }), P = A.getElementsByTagName("input")[0];
3131
- P.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && P.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (P.setAttribute("max", e.config.maxDate.getFullYear().toString()), P.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
3133
+ var A = Fn("cur-year", { tabindex: "-1" }), V = A.getElementsByTagName("input")[0];
3134
+ 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());
3132
3135
  var N = ce("div", "flatpickr-current-month");
3133
3136
  return N.appendChild(h), N.appendChild(A), s.appendChild(N), i.appendChild(s), {
3134
3137
  container: i,
3135
- yearElement: P,
3138
+ yearElement: V,
3136
3139
  monthElement: h
3137
3140
  };
3138
3141
  }
@@ -3150,20 +3153,20 @@ function vl(t, n) {
3150
3153
  return e.__hidePrevMonthArrow;
3151
3154
  },
3152
3155
  set: function(i) {
3153
- e.__hidePrevMonthArrow !== i && (Ve(e.prevMonthNav, "flatpickr-disabled", i), e.__hidePrevMonthArrow = i);
3156
+ e.__hidePrevMonthArrow !== i && (Pe(e.prevMonthNav, "flatpickr-disabled", i), e.__hidePrevMonthArrow = i);
3154
3157
  }
3155
3158
  }), Object.defineProperty(e, "_hideNextMonthArrow", {
3156
3159
  get: function() {
3157
3160
  return e.__hideNextMonthArrow;
3158
3161
  },
3159
3162
  set: function(i) {
3160
- e.__hideNextMonthArrow !== i && (Ve(e.nextMonthNav, "flatpickr-disabled", i), e.__hideNextMonthArrow = i);
3163
+ e.__hideNextMonthArrow !== i && (Pe(e.nextMonthNav, "flatpickr-disabled", i), e.__hideNextMonthArrow = i);
3161
3164
  }
3162
3165
  }), e.currentYearElement = e.yearElements[0], wt(), e.monthNav;
3163
3166
  }
3164
3167
  function T() {
3165
3168
  e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
3166
- var i = ia(e.config);
3169
+ var i = sa(e.config);
3167
3170
  e.timeContainer = ce("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
3168
3171
  var s = ce("span", "flatpickr-time-separator", ":"), h = Fn("flatpickr-hour", {
3169
3172
  "aria-label": e.l10n.hourAriaLabel
@@ -3174,8 +3177,8 @@ function vl(t, n) {
3174
3177
  });
3175
3178
  if (e.minuteElement = A.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = Fe(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? i.hours : m(i.hours)), e.minuteElement.value = Fe(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(s), e.timeContainer.appendChild(A), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
3176
3179
  e.timeContainer.classList.add("hasSeconds");
3177
- var P = Fn("flatpickr-second");
3178
- e.secondElement = P.getElementsByTagName("input")[0], e.secondElement.value = Fe(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(P);
3180
+ var V = Fn("flatpickr-second");
3181
+ e.secondElement = V.getElementsByTagName("input")[0], e.secondElement.value = Fe(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);
3179
3182
  }
3180
3183
  return e.config.time_24hr || (e.amPM = ce("span", "flatpickr-am-pm", e.l10n.amPM[Ke((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;
3181
3184
  }
@@ -3189,8 +3192,8 @@ function vl(t, n) {
3189
3192
  }
3190
3193
  function G() {
3191
3194
  if (e.weekdayContainer) {
3192
- var i = e.l10n.firstDayOfWeek, s = ur(e.l10n.weekdays.shorthand);
3193
- i > 0 && i < s.length && (s = ur(s.splice(i, s.length), s.splice(0, i)));
3195
+ var i = e.l10n.firstDayOfWeek, s = cr(e.l10n.weekdays.shorthand);
3196
+ i > 0 && i < s.length && (s = cr(s.splice(i, s.length), s.splice(0, i)));
3194
3197
  for (var h = e.config.showMonths; h--; )
3195
3198
  e.weekdayContainer.children[h].innerHTML = `
3196
3199
  <span class='flatpickr-weekday'>
@@ -3212,20 +3215,20 @@ function vl(t, n) {
3212
3215
  function he(i, s) {
3213
3216
  s === void 0 && (s = !0);
3214
3217
  var h = s ? i : i - e.currentMonth;
3215
- 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"), wt());
3218
+ 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"), D()), W(), ye("onMonthChange"), wt());
3216
3219
  }
3217
3220
  function ge(i, s) {
3218
3221
  if (i === void 0 && (i = !0), s === void 0 && (s = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, s === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
3219
- var h = ia(e.config), A = h.hours, P = h.minutes, N = h.seconds;
3220
- k(A, P, N);
3222
+ var h = sa(e.config), A = h.hours, V = h.minutes, N = h.seconds;
3223
+ k(A, V, N);
3221
3224
  }
3222
- e.redraw(), i && ve("onChange");
3225
+ e.redraw(), i && ye("onChange");
3223
3226
  }
3224
- function Ce() {
3225
- 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");
3227
+ function Ae() {
3228
+ 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");
3226
3229
  }
3227
3230
  function Ne() {
3228
- e.config !== void 0 && ve("onDestroy");
3231
+ e.config !== void 0 && ye("onDestroy");
3229
3232
  for (var i = e._handlers.length; i--; )
3230
3233
  e._handlers[i].remove();
3231
3234
  if (e._handlers = [], e.mobileInput)
@@ -3282,16 +3285,16 @@ function vl(t, n) {
3282
3285
  }
3283
3286
  function He(i) {
3284
3287
  if (e.isOpen && !e.config.inline) {
3285
- var s = Be(i), h = xe(s), A = s === e.input || s === e.altInput || e.element.contains(s) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), P = !A && !h && !xe(i.relatedTarget), N = !e.config.ignoredFocusElements.some(function(X) {
3288
+ var s = Be(i), h = xe(s), A = s === e.input || s === e.altInput || e.element.contains(s) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), V = !A && !h && !xe(i.relatedTarget), N = !e.config.ignoredFocusElements.some(function(X) {
3286
3289
  return X.contains(s);
3287
3290
  });
3288
- P && 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));
3291
+ 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));
3289
3292
  }
3290
3293
  }
3291
3294
  function Le(i) {
3292
3295
  if (!(!i || e.config.minDate && i < e.config.minDate.getFullYear() || e.config.maxDate && i > e.config.maxDate.getFullYear())) {
3293
3296
  var s = i, h = e.currentYear !== s;
3294
- e.currentYear = s || 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());
3297
+ e.currentYear = s || 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"), D());
3295
3298
  }
3296
3299
  }
3297
3300
  function Te(i, s) {
@@ -3304,33 +3307,33 @@ function vl(t, n) {
3304
3307
  return !0;
3305
3308
  if (A === void 0)
3306
3309
  return !1;
3307
- for (var P = !!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++) {
3310
+ 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++) {
3308
3311
  if (Y = N[X], typeof Y == "function" && Y(A))
3309
- return P;
3312
+ return V;
3310
3313
  if (Y instanceof Date && A !== void 0 && Y.getTime() === A.getTime())
3311
- return P;
3314
+ return V;
3312
3315
  if (typeof Y == "string") {
3313
3316
  var re = e.parseDate(Y, void 0, !0);
3314
- return re && re.getTime() === A.getTime() ? P : !P;
3317
+ return re && re.getTime() === A.getTime() ? V : !V;
3315
3318
  } else if (typeof Y == "object" && A !== void 0 && Y.from && Y.to && A.getTime() >= Y.from.getTime() && A.getTime() <= Y.to.getTime())
3316
- return P;
3319
+ return V;
3317
3320
  }
3318
- return !P;
3321
+ return !V;
3319
3322
  }
3320
- function ke(i) {
3323
+ function Ce(i) {
3321
3324
  return e.daysContainer !== void 0 ? i.className.indexOf("hidden") === -1 && i.className.indexOf("flatpickr-disabled") === -1 && e.daysContainer.contains(i) : !1;
3322
3325
  }
3323
3326
  function ze(i) {
3324
- var s = i.target === e._input, h = e._input.value.trimEnd() !== Pt();
3327
+ var s = i.target === e._input, h = e._input.value.trimEnd() !== Vt();
3325
3328
  s && h && !(i.relatedTarget && xe(i.relatedTarget)) && e.setDate(e._input.value, !0, i.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
3326
3329
  }
3327
3330
  function ot(i) {
3328
- var s = Be(i), h = e.config.wrap ? t.contains(s) : s === e._input, A = e.config.allowInput, P = e.isOpen && (!A || !h), N = e.config.inline && h && !A;
3331
+ var s = Be(i), h = e.config.wrap ? t.contains(s) : s === e._input, A = e.config.allowInput, V = e.isOpen && (!A || !h), N = e.config.inline && h && !A;
3329
3332
  if (i.keyCode === 13 && h) {
3330
3333
  if (A)
3331
3334
  return e.setDate(e._input.value, !0, s === e.altInput ? e.config.altFormat : e.config.dateFormat), e.close(), s.blur();
3332
3335
  e.open();
3333
- } else if (xe(s) || P || N) {
3336
+ } else if (xe(s) || V || N) {
3334
3337
  var X = !!e.timeContainer && e.timeContainer.contains(s);
3335
3338
  switch (i.keyCode) {
3336
3339
  case 13:
@@ -3348,7 +3351,7 @@ function vl(t, n) {
3348
3351
  if (!X && !h) {
3349
3352
  i.preventDefault();
3350
3353
  var Y = o();
3351
- if (e.daysContainer !== void 0 && (A === !1 || Y && ke(Y))) {
3354
+ if (e.daysContainer !== void 0 && (A === !1 || Y && Ce(Y))) {
3352
3355
  var re = i.keyCode === 39 ? 1 : -1;
3353
3356
  i.ctrlKey ? (i.stopPropagation(), he(re), Q(pe(1), 0)) : Q(void 0, re);
3354
3357
  }
@@ -3391,12 +3394,12 @@ function vl(t, n) {
3391
3394
  e.amPM.textContent = e.l10n.amPM[1], d(), We();
3392
3395
  break;
3393
3396
  }
3394
- (h || xe(s)) && ve("onKeyDown", i);
3397
+ (h || xe(s)) && ye("onKeyDown", i);
3395
3398
  }
3396
3399
  function Je(i, s) {
3397
3400
  if (s === void 0 && (s = "flatpickr-day"), !(e.selectedDates.length !== 1 || i && (!i.classList.contains(s) || i.classList.contains("flatpickr-disabled")))) {
3398
- for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), A = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), P = Math.min(h, e.selectedDates[0].getTime()), N = Math.max(h, e.selectedDates[0].getTime()), X = !1, Y = 0, re = 0, B = P; B < N; B += hl.DAY)
3399
- Te(new Date(B), !0) || (X = X || B > P && B < N, B < A && (!Y || B > Y) ? Y = B : B > A && (!re || B < re) && (re = B));
3401
+ for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), A = 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, re = 0, B = V; B < N; B += hl.DAY)
3402
+ Te(new Date(B), !0) || (X = X || B > V && B < N, B < A && (!Y || B > Y) ? Y = B : B > A && (!re || B < re) && (re = B));
3400
3403
  var q = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + s));
3401
3404
  q.forEach(function(fe) {
3402
3405
  var je = fe.dateObj, Se = je.getTime(), ut = Y > 0 && Se < Y || re > 0 && Se > re;
@@ -3423,20 +3426,20 @@ function vl(t, n) {
3423
3426
  var h = Be(i);
3424
3427
  h && h.blur();
3425
3428
  }
3426
- e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), ve("onOpen");
3429
+ e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), ye("onOpen");
3427
3430
  return;
3428
3431
  } else if (e._input.disabled || e.config.inline)
3429
3432
  return;
3430
3433
  var A = e.isOpen;
3431
- e.isOpen = !0, A || (e.calendarContainer.classList.add("open"), e._input.classList.add("active"), ve("onOpen"), yt(s)), e.config.enableTime === !0 && e.config.noCalendar === !0 && e.config.allowInput === !1 && (i === void 0 || !e.timeContainer.contains(i.relatedTarget)) && setTimeout(function() {
3434
+ e.isOpen = !0, A || (e.calendarContainer.classList.add("open"), e._input.classList.add("active"), ye("onOpen"), yt(s)), e.config.enableTime === !0 && e.config.noCalendar === !0 && e.config.allowInput === !1 && (i === void 0 || !e.timeContainer.contains(i.relatedTarget)) && setTimeout(function() {
3432
3435
  return e.hourElement.select();
3433
3436
  }, 50);
3434
3437
  }
3435
3438
  function zt(i) {
3436
3439
  return function(s) {
3437
3440
  var h = e.config["_" + i + "Date"] = e.parseDate(s, e.config.dateFormat), A = e.config["_" + (i === "min" ? "max" : "min") + "Date"];
3438
- 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(P) {
3439
- return Te(P);
3441
+ 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) {
3442
+ return Te(V);
3440
3443
  }), !e.selectedDates.length && i === "min" && v(h), We()), e.daysContainer && (Rt(), h !== void 0 ? e.currentYearElement[i] = h.getFullYear().toString() : e.currentYearElement.removeAttribute(i), e.currentYearElement.disabled = !!A && h !== void 0 && A.getFullYear() === h.getFullYear());
3441
3444
  };
3442
3445
  }
@@ -3474,11 +3477,11 @@ function vl(t, n) {
3474
3477
  });
3475
3478
  var A = s.mode === "time";
3476
3479
  if (!s.dateFormat && (s.enableTime || A)) {
3477
- var P = Ae.defaultConfig.dateFormat || Ft.dateFormat;
3478
- h.dateFormat = s.noCalendar || A ? "H:i" + (s.enableSeconds ? ":S" : "") : P + " H:i" + (s.enableSeconds ? ":S" : "");
3480
+ var V = De.defaultConfig.dateFormat || Ft.dateFormat;
3481
+ h.dateFormat = s.noCalendar || A ? "H:i" + (s.enableSeconds ? ":S" : "") : V + " H:i" + (s.enableSeconds ? ":S" : "");
3479
3482
  }
3480
3483
  if (s.altInput && (s.enableTime || A) && !s.altFormat) {
3481
- var N = Ae.defaultConfig.altFormat || Ft.altFormat;
3484
+ var N = De.defaultConfig.altFormat || Ft.altFormat;
3482
3485
  h.altFormat = s.noCalendar || A ? "h:i" + (s.enableSeconds ? ":S K" : " K") : N + (" h:i" + (s.enableSeconds ? ":S" : "") + " K");
3483
3486
  }
3484
3487
  Object.defineProperty(e.config, "minDate", {
@@ -3510,39 +3513,39 @@ function vl(t, n) {
3510
3513
  }), s.mode === "time" && (e.config.noCalendar = !0, e.config.enableTime = !0), Object.assign(e.config, h, s);
3511
3514
  for (var Y = 0; Y < i.length; Y++)
3512
3515
  e.config[i[Y]] = e.config[i[Y]] === !0 || e.config[i[Y]] === "true";
3513
- na.filter(function(q) {
3516
+ ra.filter(function(q) {
3514
3517
  return e.config[q] !== void 0;
3515
3518
  }).forEach(function(q) {
3516
- e.config[q] = aa(e.config[q] || []).map(l);
3519
+ e.config[q] = oa(e.config[q] || []).map(l);
3517
3520
  }), 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);
3518
3521
  for (var Y = 0; Y < e.config.plugins.length; Y++) {
3519
3522
  var re = e.config.plugins[Y](e) || {};
3520
3523
  for (var B in re)
3521
- na.indexOf(B) > -1 ? e.config[B] = aa(re[B]).map(l).concat(e.config[B]) : typeof s[B] > "u" && (e.config[B] = re[B]);
3524
+ ra.indexOf(B) > -1 ? e.config[B] = oa(re[B]).map(l).concat(e.config[B]) : typeof s[B] > "u" && (e.config[B] = re[B]);
3522
3525
  }
3523
- s.altInputClass || (e.config.altInputClass = jt().className + " " + e.config.altInputClass), ve("onParseConfig");
3526
+ s.altInputClass || (e.config.altInputClass = jt().className + " " + e.config.altInputClass), ye("onParseConfig");
3524
3527
  }
3525
3528
  function jt() {
3526
3529
  return e.config.wrap ? t.querySelector("[data-input]") : t;
3527
3530
  }
3528
3531
  function Bt() {
3529
- typeof e.config.locale != "object" && typeof Ae.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = $e($e({}, Ae.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? Ae.l10ns[e.config.locale] : void 0), kt.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", kt.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", kt.M = "(" + e.l10n.months.shorthand.join("|") + ")", kt.F = "(" + e.l10n.months.longhand.join("|") + ")", kt.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
3532
+ 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), kt.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", kt.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", kt.M = "(" + e.l10n.months.shorthand.join("|") + ")", kt.F = "(" + e.l10n.months.longhand.join("|") + ")", kt.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
3530
3533
  var i = $e($e({}, n), JSON.parse(JSON.stringify(t.dataset || {})));
3531
- i.time_24hr === void 0 && Ae.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Gr(e), e.parseDate = ha({ config: e.config, l10n: e.l10n });
3534
+ 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 = va({ config: e.config, l10n: e.l10n });
3532
3535
  }
3533
3536
  function yt(i) {
3534
3537
  if (typeof e.config.position == "function")
3535
3538
  return void e.config.position(e, i);
3536
3539
  if (e.calendarContainer !== void 0) {
3537
- ve("onPreCalendarPosition");
3540
+ ye("onPreCalendarPosition");
3538
3541
  var s = i || e._positionElement, h = Array.prototype.reduce.call(e.calendarContainer.children, function(Tn, Sn) {
3539
3542
  return Tn + Sn.offsetHeight;
3540
- }, 0), A = e.calendarContainer.offsetWidth, P = e.config.position.split(" "), N = P[0], X = P.length > 1 ? P[1] : null, Y = s.getBoundingClientRect(), re = window.innerHeight - Y.bottom, B = N === "above" || N !== "below" && re < h && Y.top > h, q = window.pageYOffset + Y.top + (B ? -h - 2 : s.offsetHeight + 2);
3541
- if (Ve(e.calendarContainer, "arrowTop", !B), Ve(e.calendarContainer, "arrowBottom", B), !e.config.inline) {
3543
+ }, 0), A = e.calendarContainer.offsetWidth, V = e.config.position.split(" "), N = V[0], X = V.length > 1 ? V[1] : null, Y = s.getBoundingClientRect(), re = window.innerHeight - Y.bottom, B = N === "above" || N !== "below" && re < h && Y.top > h, q = window.pageYOffset + Y.top + (B ? -h - 2 : s.offsetHeight + 2);
3544
+ if (Pe(e.calendarContainer, "arrowTop", !B), Pe(e.calendarContainer, "arrowBottom", B), !e.config.inline) {
3542
3545
  var fe = window.pageXOffset + Y.left, je = !1, Se = !1;
3543
- X === "center" ? (fe -= (A - Y.width) / 2, je = !0) : X === "right" && (fe -= A - Y.width, Se = !0), Ve(e.calendarContainer, "arrowLeft", !je && !Se), Ve(e.calendarContainer, "arrowCenter", je), Ve(e.calendarContainer, "arrowRight", Se);
3546
+ X === "center" ? (fe -= (A - Y.width) / 2, je = !0) : X === "right" && (fe -= A - Y.width, Se = !0), Pe(e.calendarContainer, "arrowLeft", !je && !Se), Pe(e.calendarContainer, "arrowCenter", je), Pe(e.calendarContainer, "arrowRight", Se);
3544
3547
  var ut = window.document.body.offsetWidth - (window.pageXOffset + Y.right), it = fe + A > window.document.body.offsetWidth, kn = ut + A > window.document.body.offsetWidth;
3545
- if (Ve(e.calendarContainer, "rightMost", it), !e.config.static)
3548
+ if (Pe(e.calendarContainer, "rightMost", it), !e.config.static)
3546
3549
  if (e.calendarContainer.style.top = q + "px", !it)
3547
3550
  e.calendarContainer.style.left = fe + "px", e.calendarContainer.style.right = "auto";
3548
3551
  else if (!kn)
@@ -3552,7 +3555,7 @@ function vl(t, n) {
3552
3555
  if (It === void 0)
3553
3556
  return;
3554
3557
  var Cn = window.document.body.offsetWidth, An = Math.max(0, Cn / 2 - A / 2), Dn = ".flatpickr-calendar.centerMost:before", _n = ".flatpickr-calendar.centerMost:after", Mn = It.cssRules.length, xn = "{left:" + Y.left + "px;right:auto;}";
3555
- Ve(e.calendarContainer, "rightMost", !1), Ve(e.calendarContainer, "centerMost", !0), It.insertRule(Dn + "," + _n + xn, Mn), e.calendarContainer.style.left = An + "px", e.calendarContainer.style.right = "auto";
3558
+ Pe(e.calendarContainer, "rightMost", !1), Pe(e.calendarContainer, "centerMost", !0), It.insertRule(Dn + "," + _n + xn, Mn), e.calendarContainer.style.left = An + "px", e.calendarContainer.style.right = "auto";
3556
3559
  }
3557
3560
  }
3558
3561
  }
@@ -3588,19 +3591,19 @@ function vl(t, n) {
3588
3591
  return q.classList && q.classList.contains("flatpickr-day") && !q.classList.contains("flatpickr-disabled") && !q.classList.contains("notAllowed");
3589
3592
  }, h = Kr(Be(i), s);
3590
3593
  if (h !== void 0) {
3591
- var A = h, P = e.latestSelectedDateObj = new Date(A.dateObj.getTime()), N = (P.getMonth() < e.currentMonth || P.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
3594
+ var A = h, V = e.latestSelectedDateObj = new Date(A.dateObj.getTime()), N = (V.getMonth() < e.currentMonth || V.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
3592
3595
  if (e.selectedDateElem = A, e.config.mode === "single")
3593
- e.selectedDates = [P];
3596
+ e.selectedDates = [V];
3594
3597
  else if (e.config.mode === "multiple") {
3595
- var X = Vt(P);
3596
- X ? e.selectedDates.splice(parseInt(X), 1) : e.selectedDates.push(P);
3598
+ var X = Pt(V);
3599
+ X ? e.selectedDates.splice(parseInt(X), 1) : e.selectedDates.push(V);
3597
3600
  } else
3598
- e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = P, e.selectedDates.push(P), Re(P, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(q, fe) {
3601
+ 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) {
3599
3602
  return q.getTime() - fe.getTime();
3600
3603
  }));
3601
3604
  if (d(), N) {
3602
- var Y = e.currentYear !== P.getFullYear();
3603
- e.currentYear = P.getFullYear(), e.currentMonth = P.getMonth(), Y && (ve("onYearChange"), D()), ve("onMonthChange");
3605
+ var Y = e.currentYear !== V.getFullYear();
3606
+ e.currentYear = V.getFullYear(), e.currentMonth = V.getMonth(), Y && (ye("onYearChange"), D()), ye("onMonthChange");
3604
3607
  }
3605
3608
  if (wt(), W(), We(), !N && e.config.mode !== "range" && e.config.showMonths === 1 ? ue(A) : 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) {
3606
3609
  var re = e.config.mode === "single" && !e.config.enableTime, B = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
@@ -3631,7 +3634,7 @@ function vl(t, n) {
3631
3634
  } else
3632
3635
  e.config[i] = s, bt[i] !== void 0 ? bt[i].forEach(function(A) {
3633
3636
  return A();
3634
- }) : na.indexOf(i) > -1 && (e.config[i] = aa(s));
3637
+ }) : ra.indexOf(i) > -1 && (e.config[i] = oa(s));
3635
3638
  e.redraw(), We(!0);
3636
3639
  }
3637
3640
  function Yt(i, s) {
@@ -3663,14 +3666,14 @@ function vl(t, n) {
3663
3666
  e.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(i)));
3664
3667
  e.selectedDates = e.config.allowInvalidPreload ? h : h.filter(function(A) {
3665
3668
  return A instanceof Date && Te(A, !1);
3666
- }), e.config.mode === "range" && e.selectedDates.sort(function(A, P) {
3667
- return A.getTime() - P.getTime();
3669
+ }), e.config.mode === "range" && e.selectedDates.sort(function(A, V) {
3670
+ return A.getTime() - V.getTime();
3668
3671
  });
3669
3672
  }
3670
3673
  function mn(i, s, h) {
3671
3674
  if (s === void 0 && (s = !1), h === void 0 && (h = e.config.dateFormat), i !== 0 && !i || i instanceof Array && i.length === 0)
3672
3675
  return e.clear(s);
3673
- Yt(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), F(void 0, s), v(), e.selectedDates.length === 0 && e.clear(!1), We(s), s && ve("onChange");
3676
+ Yt(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), F(void 0, s), v(), e.selectedDates.length === 0 && e.clear(!1), We(s), s && ye("onChange");
3674
3677
  }
3675
3678
  function Ht(i) {
3676
3679
  return i.slice().map(function(s) {
@@ -3705,7 +3708,7 @@ function vl(t, n) {
3705
3708
  } catch {
3706
3709
  }
3707
3710
  y(e.mobileInput, "change", function(s) {
3708
- e.setDate(Be(s).value, !1, e.mobileFormatStr), ve("onChange"), ve("onClose");
3711
+ e.setDate(Be(s).value, !1, e.mobileFormatStr), ye("onChange"), ye("onClose");
3709
3712
  });
3710
3713
  }
3711
3714
  function vn(i) {
@@ -3713,7 +3716,7 @@ function vl(t, n) {
3713
3716
  return e.close();
3714
3717
  e.open(i);
3715
3718
  }
3716
- function ve(i, s) {
3719
+ function ye(i, s) {
3717
3720
  if (e.config !== void 0) {
3718
3721
  var h = e.config[i];
3719
3722
  if (h !== void 0 && h.length > 0)
@@ -3726,7 +3729,7 @@ function vl(t, n) {
3726
3729
  var s = document.createEvent("Event");
3727
3730
  return s.initEvent(i, !0, !0), s;
3728
3731
  }
3729
- function Vt(i) {
3732
+ function Pt(i) {
3730
3733
  for (var s = 0; s < e.selectedDates.length; s++) {
3731
3734
  var h = e.selectedDates[s];
3732
3735
  if (h instanceof Date && Re(h, i) === 0)
@@ -3743,16 +3746,16 @@ function vl(t, n) {
3743
3746
  h.setMonth(e.currentMonth + s), e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? e.monthElements[s].textContent = Un(h.getMonth(), e.config.shorthandCurrentMonth, e.l10n) + " " : e.monthsDropdownContainer.value = h.getMonth().toString(), i.value = h.getFullYear().toString();
3744
3747
  }), e._hidePrevMonthArrow = e.config.minDate !== void 0 && (e.currentYear === e.config.minDate.getFullYear() ? e.currentMonth <= e.config.minDate.getMonth() : e.currentYear < e.config.minDate.getFullYear()), e._hideNextMonthArrow = e.config.maxDate !== void 0 && (e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth + 1 > e.config.maxDate.getMonth() : e.currentYear > e.config.maxDate.getFullYear()));
3745
3748
  }
3746
- function Pt(i) {
3749
+ function Vt(i) {
3747
3750
  var s = i || (e.config.altInput ? e.config.altFormat : e.config.dateFormat);
3748
3751
  return e.selectedDates.map(function(h) {
3749
3752
  return e.formatDate(h, s);
3750
- }).filter(function(h, A, P) {
3751
- return e.config.mode !== "range" || e.config.enableTime || P.indexOf(h) === A;
3753
+ }).filter(function(h, A, V) {
3754
+ return e.config.mode !== "range" || e.config.enableTime || V.indexOf(h) === A;
3752
3755
  }).join(e.config.mode !== "range" ? e.config.conjunction : e.l10n.rangeSeparator);
3753
3756
  }
3754
3757
  function We(i) {
3755
- 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 = Pt(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = Pt(e.config.altFormat)), i !== !1 && ve("onValueUpdate");
3758
+ 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 = Vt(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = Vt(e.config.altFormat)), i !== !1 && ye("onValueUpdate");
3756
3759
  }
3757
3760
  function bn(i) {
3758
3761
  var s = Be(i), h = e.prevMonthNav.contains(s), A = e.nextMonthNav.contains(s);
@@ -3762,10 +3765,10 @@ function vl(t, n) {
3762
3765
  i.preventDefault();
3763
3766
  var s = i.type === "keydown", h = Be(i), A = h;
3764
3767
  e.amPM !== void 0 && h === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ke(e.amPM.textContent === e.l10n.amPM[0])]);
3765
- var P = parseFloat(A.getAttribute("min")), N = parseFloat(A.getAttribute("max")), X = parseFloat(A.getAttribute("step")), Y = parseInt(A.value, 10), re = i.delta || (s ? i.which === 38 ? 1 : -1 : 0), B = Y + X * re;
3768
+ var V = parseFloat(A.getAttribute("min")), N = parseFloat(A.getAttribute("max")), X = parseFloat(A.getAttribute("step")), Y = parseInt(A.value, 10), re = i.delta || (s ? i.which === 38 ? 1 : -1 : 0), B = Y + X * re;
3766
3769
  if (typeof A.value < "u" && A.value.length === 2) {
3767
3770
  var q = A === e.hourElement, fe = A === e.minuteElement;
3768
- B < P ? (B = N + B + Ke(!q) + (Ke(q) && Ke(!e.amPM)), fe && U(void 0, -1, e.hourElement)) : B > N && (B = A === e.hourElement ? B - N - Ke(!e.amPM) : P, fe && U(void 0, 1, e.hourElement)), e.amPM && q && (X === 1 ? B + Y === 23 : Math.abs(B - Y) > X) && (e.amPM.textContent = e.l10n.amPM[Ke(e.amPM.textContent === e.l10n.amPM[0])]), A.value = Fe(B);
3771
+ B < V ? (B = N + B + Ke(!q) + (Ke(q) && Ke(!e.amPM)), fe && U(void 0, -1, e.hourElement)) : B > N && (B = A === e.hourElement ? B - N - Ke(!e.amPM) : V, fe && U(void 0, 1, e.hourElement)), e.amPM && q && (X === 1 ? B + Y === 23 : Math.abs(B - Y) > X) && (e.amPM.textContent = e.l10n.amPM[Ke(e.amPM.textContent === e.l10n.amPM[0])]), A.value = Fe(B);
3769
3772
  }
3770
3773
  }
3771
3774
  return r(), e;
@@ -3790,30 +3793,30 @@ typeof HTMLElement < "u" && typeof HTMLCollection < "u" && typeof NodeList < "u"
3790
3793
  }, HTMLElement.prototype.flatpickr = function(t) {
3791
3794
  return Et([this], t);
3792
3795
  });
3793
- var Ae = function(t, n) {
3796
+ var De = function(t, n) {
3794
3797
  return typeof t == "string" ? Et(window.document.querySelectorAll(t), n) : t instanceof Node ? Et([t], n) : Et(t, n);
3795
3798
  };
3796
- Ae.defaultConfig = {};
3797
- Ae.l10ns = {
3799
+ De.defaultConfig = {};
3800
+ De.l10ns = {
3798
3801
  en: $e({}, tn),
3799
3802
  default: $e({}, tn)
3800
3803
  };
3801
- Ae.localize = function(t) {
3802
- Ae.l10ns.default = $e($e({}, Ae.l10ns.default), t);
3804
+ De.localize = function(t) {
3805
+ De.l10ns.default = $e($e({}, De.l10ns.default), t);
3803
3806
  };
3804
- Ae.setDefaults = function(t) {
3805
- Ae.defaultConfig = $e($e({}, Ae.defaultConfig), t);
3807
+ De.setDefaults = function(t) {
3808
+ De.defaultConfig = $e($e({}, De.defaultConfig), t);
3806
3809
  };
3807
- Ae.parseDate = ha({});
3808
- Ae.formatDate = Gr({});
3809
- Ae.compareDates = Re;
3810
+ De.parseDate = va({});
3811
+ De.formatDate = Gr({});
3812
+ De.compareDates = Re;
3810
3813
  typeof jQuery < "u" && typeof jQuery.fn < "u" && (jQuery.fn.flatpickr = function(t) {
3811
3814
  return Et(this, t);
3812
3815
  });
3813
3816
  Date.prototype.fp_incr = function(t) {
3814
3817
  return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof t == "string" ? parseInt(t, 10) : t));
3815
3818
  };
3816
- typeof window < "u" && (window.flatpickr = Ae);
3819
+ typeof window < "u" && (window.flatpickr = De);
3817
3820
  const Zr = [
3818
3821
  "onChange",
3819
3822
  "onClose",
@@ -3829,16 +3832,16 @@ const Zr = [
3829
3832
  "onPreCalendarPosition",
3830
3833
  "onKeyDown"
3831
3834
  ];
3832
- function dr(t) {
3835
+ function fr(t) {
3833
3836
  return t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
3834
3837
  }
3835
- function cr(t) {
3838
+ function mr(t) {
3836
3839
  return t instanceof Array ? t : [t];
3837
3840
  }
3838
- function la(t) {
3841
+ function ua(t) {
3839
3842
  return t && t.length ? t : null;
3840
3843
  }
3841
- const fr = [...Zr, ...yl], bl = ["locale", "showMonths"], wl = L({
3844
+ const pr = [...Zr, ...yl], bl = ["locale", "showMonths"], wl = L({
3842
3845
  name: "FlatPickr",
3843
3846
  compatConfig: {
3844
3847
  MODE: 3
@@ -3854,7 +3857,7 @@ const fr = [...Zr, ...yl], bl = ["locale", "showMonths"], wl = L({
3854
3857
  emits: [
3855
3858
  "blur",
3856
3859
  "update:modelValue",
3857
- ...fr.map(dr)
3860
+ ...pr.map(fr)
3858
3861
  ],
3859
3862
  props: {
3860
3863
  modelValue: {
@@ -3885,7 +3888,7 @@ const fr = [...Zr, ...yl], bl = ["locale", "showMonths"], wl = L({
3885
3888
  };
3886
3889
  },
3887
3890
  mounted() {
3888
- this.fp || (this.fp = Ae(this.getElem(), this.prepareConfig()), this.fpInput().addEventListener("blur", this.onBlur), this.$watch("disabled", this.watchDisabled, {
3891
+ this.fp || (this.fp = De(this.getElem(), this.prepareConfig()), this.fpInput().addEventListener("blur", this.onBlur), this.$watch("disabled", this.watchDisabled, {
3889
3892
  immediate: !0
3890
3893
  }));
3891
3894
  },
@@ -3893,13 +3896,13 @@ const fr = [...Zr, ...yl], bl = ["locale", "showMonths"], wl = L({
3893
3896
  prepareConfig() {
3894
3897
  let t = Object.assign({}, this.config);
3895
3898
  this.events.forEach((e) => {
3896
- let a = Ae.defaultConfig[e] || [], r = (...o) => {
3897
- this.$emit(dr(e), ...o);
3899
+ let a = De.defaultConfig[e] || [], r = (...o) => {
3900
+ this.$emit(fr(e), ...o);
3898
3901
  };
3899
- t[e] = cr(t[e] || []).concat(a, r);
3902
+ t[e] = mr(t[e] || []).concat(a, r);
3900
3903
  });
3901
3904
  const n = this.onClose.bind(this);
3902
- return t.onClose = cr(t.onClose || []).concat(n), t.defaultDate = this.modelValue || t.defaultDate, t;
3905
+ return t.onClose = mr(t.onClose || []).concat(n), t.defaultDate = this.modelValue || t.defaultDate, t;
3903
3906
  },
3904
3907
  /**
3905
3908
  * Get the HTML node where flatpickr to be attached
@@ -3914,7 +3917,7 @@ const fr = [...Zr, ...yl], bl = ["locale", "showMonths"], wl = L({
3914
3917
  onInput(t) {
3915
3918
  const n = t.target;
3916
3919
  po().then(() => {
3917
- this.$emit("update:modelValue", la(n.value));
3920
+ this.$emit("update:modelValue", ua(n.value));
3918
3921
  });
3919
3922
  },
3920
3923
  fpInput() {
@@ -3924,7 +3927,7 @@ const fr = [...Zr, ...yl], bl = ["locale", "showMonths"], wl = L({
3924
3927
  * Blur event is required by many validation libraries
3925
3928
  */
3926
3929
  onBlur(t) {
3927
- this.$emit("blur", la(t.target.value));
3930
+ this.$emit("blur", ua(t.target.value));
3928
3931
  },
3929
3932
  /**
3930
3933
  * Flatpickr does not emit input event in some cases
@@ -3949,7 +3952,7 @@ const fr = [...Zr, ...yl], bl = ["locale", "showMonths"], wl = L({
3949
3952
  if (!this.fp)
3950
3953
  return;
3951
3954
  let n = Object.assign({}, t);
3952
- fr.forEach((e) => {
3955
+ pr.forEach((e) => {
3953
3956
  delete n[e];
3954
3957
  }), this.fp.set(n), bl.forEach((e) => {
3955
3958
  typeof n[e] < "u" && this.fp.set(e, n[e]);
@@ -3961,19 +3964,19 @@ const fr = [...Zr, ...yl], bl = ["locale", "showMonths"], wl = L({
3961
3964
  */
3962
3965
  modelValue(t) {
3963
3966
  var n;
3964
- !this.$el || t === la(this.$el.value) || (n = this.fp) === null || n === void 0 || n.setDate(t, !0);
3967
+ !this.$el || t === ua(this.$el.value) || (n = this.fp) === null || n === void 0 || n.setDate(t, !0);
3965
3968
  }
3966
3969
  },
3967
3970
  beforeUnmount() {
3968
3971
  this.fp && (this.fpInput().removeEventListener("blur", this.onBlur), this.fp.destroy(), this.fp = null);
3969
3972
  }
3970
3973
  });
3971
- var ga = {}, kl = {
3974
+ var ya = {}, kl = {
3972
3975
  get exports() {
3973
- return ga;
3976
+ return ya;
3974
3977
  },
3975
3978
  set exports(t) {
3976
- ga = t;
3979
+ ya = t;
3977
3980
  }
3978
3981
  };
3979
3982
  (function(t, n) {
@@ -4062,27 +4065,27 @@ var ga = {}, kl = {
4062
4065
  var v;
4063
4066
  function k(O) {
4064
4067
  O.stopPropagation(), O.preventDefault();
4065
- var V = O.target;
4066
- if (!(V.tagName.toLowerCase() !== "button" || typeof m.onClick > "u"))
4067
- for (var F = parseInt(V.dataset.index, 10), R = Array.isArray(m.onClick) ? m.onClick : [m.onClick], U = 0, ae = R; U < ae.length; U++) {
4068
+ var P = O.target;
4069
+ if (!(P.tagName.toLowerCase() !== "button" || typeof m.onClick > "u"))
4070
+ for (var F = parseInt(P.dataset.index, 10), R = Array.isArray(m.onClick) ? m.onClick : [m.onClick], U = 0, ae = R; U < ae.length; U++) {
4068
4071
  var ee = ae[U];
4069
4072
  typeof ee == "function" && ee(F, d);
4070
4073
  }
4071
4074
  }
4072
4075
  function I(O) {
4073
- var V = O.target;
4074
- O.key !== "Tab" || V.tagName.toLowerCase() !== "button" || (O.shiftKey && !V.previousSibling || !O.shiftKey && !V.nextSibling) && (O.preventDefault(), d.element.focus());
4076
+ var P = O.target;
4077
+ O.key !== "Tab" || P.tagName.toLowerCase() !== "button" || (O.shiftKey && !P.previousSibling || !O.shiftKey && !P.nextSibling) && (O.preventDefault(), d.element.focus());
4075
4078
  }
4076
- function y(O, V) {
4077
- Object.keys(V).filter(function(F) {
4079
+ function y(O, P) {
4080
+ Object.keys(P).filter(function(F) {
4078
4081
  return f.has(F);
4079
4082
  }).forEach(function(F) {
4080
4083
  var R;
4081
4084
  if (F === "class") {
4082
- (R = O.classList).add.apply(R, V[F].split(" "));
4085
+ (R = O.classList).add.apply(R, P[F].split(" "));
4083
4086
  return;
4084
4087
  }
4085
- O.setAttribute(F, V[F]);
4088
+ O.setAttribute(F, P[F]);
4086
4089
  });
4087
4090
  }
4088
4091
  return {
@@ -4094,11 +4097,11 @@ var ga = {}, kl = {
4094
4097
  var O = document.createElement("div");
4095
4098
  O.classList.add("shortcut-buttons-flatpickr-label"), O.textContent = m.label, v.appendChild(O);
4096
4099
  }
4097
- var V = document.createElement("div");
4098
- V.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(m.button) ? m.button : [m.button]).forEach(function(F, R) {
4100
+ var P = document.createElement("div");
4101
+ P.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(m.button) ? m.button : [m.button]).forEach(function(F, R) {
4099
4102
  var U = document.createElement("button");
4100
- U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent = F.label, U.dataset.index = String(R), typeof F.attributes < "u" && y(U, F.attributes), V.appendChild(U), d.pluginElements.push(U);
4101
- }), v.appendChild(V), d.calendarContainer.appendChild(v), v.addEventListener("click", k), v.addEventListener("keydown", I);
4103
+ U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent = F.label, U.dataset.index = String(R), typeof F.attributes < "u" && y(U, F.attributes), P.appendChild(U), d.pluginElements.push(U);
4104
+ }), v.appendChild(P), d.calendarContainer.appendChild(v), v.addEventListener("click", k), v.addEventListener("keydown", I);
4102
4105
  },
4103
4106
  /**
4104
4107
  * Clean up before flatpickr is destroyed.
@@ -4117,7 +4120,7 @@ var ga = {}, kl = {
4117
4120
  );
4118
4121
  });
4119
4122
  })(kl);
4120
- const Cl = /* @__PURE__ */ Lr(ga);
4123
+ const Cl = /* @__PURE__ */ jr(ya);
4121
4124
  var Yn = {}, Al = {
4122
4125
  get exports() {
4123
4126
  return Yn;
@@ -4129,7 +4132,7 @@ var Yn = {}, Al = {
4129
4132
  (function(t, n) {
4130
4133
  (function(e, a) {
4131
4134
  a(n);
4132
- })(Sa, function(e) {
4135
+ })(Oa, function(e) {
4133
4136
  /*! *****************************************************************************
4134
4137
  Copyright (c) Microsoft Corporation.
4135
4138
 
@@ -4146,10 +4149,10 @@ var Yn = {}, Al = {
4146
4149
  ***************************************************************************** */
4147
4150
  var a = function() {
4148
4151
  return a = Object.assign || function(Xe) {
4149
- for (var $n, Zn = 1, lo = arguments.length; Zn < lo; Zn++) {
4150
- $n = arguments[Zn];
4151
- for (var Qn in $n)
4152
- Object.prototype.hasOwnProperty.call($n, Qn) && (Xe[Qn] = $n[Qn]);
4152
+ for (var $n, Xn = 1, lo = arguments.length; Xn < lo; Xn++) {
4153
+ $n = arguments[Xn];
4154
+ for (var ea in $n)
4155
+ Object.prototype.hasOwnProperty.call($n, ea) && (Xe[ea] = $n[ea]);
4153
4156
  }
4154
4157
  return Xe;
4155
4158
  }, a.apply(this, arguments);
@@ -4466,7 +4469,7 @@ var Yn = {}, Al = {
4466
4469
  I.l10ns.bg = y, I.l10ns;
4467
4470
  var O = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4468
4471
  l10ns: {}
4469
- }, V = {
4472
+ }, P = {
4470
4473
  weekdays: {
4471
4474
  shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
4472
4475
  longhand: [
@@ -4510,7 +4513,7 @@ var Yn = {}, Al = {
4510
4513
  ]
4511
4514
  }
4512
4515
  };
4513
- O.l10ns.bn = V, O.l10ns;
4516
+ O.l10ns.bn = P, O.l10ns;
4514
4517
  var F = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4515
4518
  l10ns: {}
4516
4519
  }, R = {
@@ -5140,7 +5143,7 @@ var Yn = {}, Al = {
5140
5143
  }
5141
5144
  };
5142
5145
  he.l10ns.fa = ge, he.l10ns;
5143
- var Ce = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5146
+ var Ae = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5144
5147
  l10ns: {}
5145
5148
  }, Ne = {
5146
5149
  firstDayOfWeek: 1,
@@ -5191,7 +5194,7 @@ var Yn = {}, Al = {
5191
5194
  },
5192
5195
  time_24hr: !0
5193
5196
  };
5194
- Ce.l10ns.fi = Ne, Ce.l10ns;
5197
+ Ae.l10ns.fi = Ne, Ae.l10ns;
5195
5198
  var xe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5196
5199
  l10ns: {}
5197
5200
  }, He = {
@@ -5305,7 +5308,7 @@ var Yn = {}, Al = {
5305
5308
  time_24hr: !0
5306
5309
  };
5307
5310
  Le.l10ns.fr = Te, Le.l10ns;
5308
- var ke = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5311
+ var Ce = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5309
5312
  l10ns: {}
5310
5313
  }, ze = {
5311
5314
  weekdays: {
@@ -5364,7 +5367,7 @@ var Yn = {}, Al = {
5364
5367
  hourAriaLabel: "ώρα",
5365
5368
  minuteAriaLabel: "λεπτό"
5366
5369
  };
5367
- ke.l10ns.gr = ze, ke.l10ns;
5370
+ Ce.l10ns.gr = ze, Ce.l10ns;
5368
5371
  var ot = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5369
5372
  l10ns: {}
5370
5373
  }, Je = {
@@ -5996,7 +5999,7 @@ var Yn = {}, Al = {
5996
5999
  time_24hr: !0
5997
6000
  };
5998
6001
  gn.l10ns.km = vn, gn.l10ns;
5999
- var ve = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6002
+ var ye = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6000
6003
  l10ns: {}
6001
6004
  }, Ot = {
6002
6005
  weekdays: {
@@ -6052,8 +6055,8 @@ var Yn = {}, Al = {
6052
6055
  amPM: ["ТД", "ТК"],
6053
6056
  yearAriaLabel: "Жыл"
6054
6057
  };
6055
- ve.l10ns.kz = Ot, ve.l10ns;
6056
- var Vt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6058
+ ye.l10ns.kz = Ot, ye.l10ns;
6059
+ var Pt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6057
6060
  l10ns: {}
6058
6061
  }, yn = {
6059
6062
  weekdays: {
@@ -6108,10 +6111,10 @@ var Yn = {}, Al = {
6108
6111
  toggleTitle: "Perjungti laiko formatą",
6109
6112
  time_24hr: !0
6110
6113
  };
6111
- Vt.l10ns.lt = yn, Vt.l10ns;
6114
+ Pt.l10ns.lt = yn, Pt.l10ns;
6112
6115
  var wt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6113
6116
  l10ns: {}
6114
- }, Pt = {
6117
+ }, Vt = {
6115
6118
  firstDayOfWeek: 1,
6116
6119
  weekdays: {
6117
6120
  shorthand: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
@@ -6158,7 +6161,7 @@ var Yn = {}, Al = {
6158
6161
  rangeSeparator: " līdz ",
6159
6162
  time_24hr: !0
6160
6163
  };
6161
- wt.l10ns.lv = Pt, wt.l10ns;
6164
+ wt.l10ns.lv = Vt, wt.l10ns;
6162
6165
  var We = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6163
6166
  l10ns: {}
6164
6167
  }, bn = {
@@ -6297,7 +6300,7 @@ var Yn = {}, Al = {
6297
6300
  s.l10ns;
6298
6301
  var A = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6299
6302
  l10ns: {}
6300
- }, P = {
6303
+ }, V = {
6301
6304
  weekdays: {
6302
6305
  shorthand: ["နွေ", "လာ", "ဂါ", "ဟူး", "ကြာ", "သော", "နေ"],
6303
6306
  longhand: [
@@ -6346,7 +6349,7 @@ var Yn = {}, Al = {
6346
6349
  },
6347
6350
  time_24hr: !0
6348
6351
  };
6349
- A.l10ns.my = P, A.l10ns;
6352
+ A.l10ns.my = V, A.l10ns;
6350
6353
  var N = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6351
6354
  l10ns: {}
6352
6355
  }, X = {
@@ -6881,7 +6884,7 @@ var Yn = {}, Al = {
6881
6884
  xn.l10ns.sk = Tn, xn.l10ns;
6882
6885
  var Sn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6883
6886
  l10ns: {}
6884
- }, Oa = {
6887
+ }, Va = {
6885
6888
  weekdays: {
6886
6889
  shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"],
6887
6890
  longhand: [
@@ -6931,10 +6934,10 @@ var Yn = {}, Al = {
6931
6934
  return ".";
6932
6935
  }
6933
6936
  };
6934
- Sn.l10ns.sl = Oa, Sn.l10ns;
6935
- var Va = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6937
+ Sn.l10ns.sl = Va, Sn.l10ns;
6938
+ var Ia = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6936
6939
  l10ns: {}
6937
- }, Pa = {
6940
+ }, Fa = {
6938
6941
  weekdays: {
6939
6942
  shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
6940
6943
  longhand: [
@@ -6986,10 +6989,10 @@ var Yn = {}, Al = {
6986
6989
  minuteAriaLabel: "Minuta",
6987
6990
  time_24hr: !0
6988
6991
  };
6989
- Va.l10ns.sq = Pa, Va.l10ns;
6990
- var Ia = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6992
+ Ia.l10ns.sq = Fa, Ia.l10ns;
6993
+ var Ea = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6991
6994
  l10ns: {}
6992
- }, Fa = {
6995
+ }, Na = {
6993
6996
  weekdays: {
6994
6997
  shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
6995
6998
  longhand: [
@@ -7037,10 +7040,10 @@ var Yn = {}, Al = {
7037
7040
  rangeSeparator: " do ",
7038
7041
  time_24hr: !0
7039
7042
  };
7040
- Ia.l10ns.sr = Fa, Ia.l10ns;
7041
- var Ea = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7043
+ Ea.l10ns.sr = Na, Ea.l10ns;
7044
+ var La = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7042
7045
  l10ns: {}
7043
- }, Na = {
7046
+ }, za = {
7044
7047
  firstDayOfWeek: 1,
7045
7048
  weekAbbreviation: "v",
7046
7049
  weekdays: {
@@ -7091,10 +7094,10 @@ var Yn = {}, Al = {
7091
7094
  return ".";
7092
7095
  }
7093
7096
  };
7094
- Ea.l10ns.sv = Na, Ea.l10ns;
7095
- var La = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7097
+ La.l10ns.sv = za, La.l10ns;
7098
+ var ja = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7096
7099
  l10ns: {}
7097
- }, za = {
7100
+ }, Ba = {
7098
7101
  weekdays: {
7099
7102
  shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
7100
7103
  longhand: [
@@ -7146,10 +7149,10 @@ var Yn = {}, Al = {
7146
7149
  return "";
7147
7150
  }
7148
7151
  };
7149
- La.l10ns.th = za, La.l10ns;
7150
- var ja = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7152
+ ja.l10ns.th = Ba, ja.l10ns;
7153
+ var Ra = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7151
7154
  l10ns: {}
7152
- }, Ba = {
7155
+ }, Ua = {
7153
7156
  weekdays: {
7154
7157
  shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
7155
7158
  longhand: [
@@ -7203,10 +7206,10 @@ var Yn = {}, Al = {
7203
7206
  amPM: ["ÖÖ", "ÖS"],
7204
7207
  time_24hr: !0
7205
7208
  };
7206
- ja.l10ns.tr = Ba, ja.l10ns;
7207
- var Ra = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7209
+ Ra.l10ns.tr = Ua, Ra.l10ns;
7210
+ var Ya = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7208
7211
  l10ns: {}
7209
- }, Ua = {
7212
+ }, Ha = {
7210
7213
  firstDayOfWeek: 1,
7211
7214
  weekdays: {
7212
7215
  shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
@@ -7252,10 +7255,10 @@ var Yn = {}, Al = {
7252
7255
  },
7253
7256
  time_24hr: !0
7254
7257
  };
7255
- Ra.l10ns.uk = Ua, Ra.l10ns;
7256
- var Ya = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7258
+ Ya.l10ns.uk = Ha, Ya.l10ns;
7259
+ var Ja = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7257
7260
  l10ns: {}
7258
- }, Ha = {
7261
+ }, Wa = {
7259
7262
  weekdays: {
7260
7263
  shorthand: ["Якш", "Душ", "Сеш", "Чор", "Пай", "Жум", "Шан"],
7261
7264
  longhand: [
@@ -7310,10 +7313,10 @@ var Yn = {}, Al = {
7310
7313
  yearAriaLabel: "Йил",
7311
7314
  time_24hr: !0
7312
7315
  };
7313
- Ya.l10ns.uz = Ha, Ya.l10ns;
7314
- var Ja = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7316
+ Ja.l10ns.uz = Wa, Ja.l10ns;
7317
+ var qa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7315
7318
  l10ns: {}
7316
- }, Wa = {
7319
+ }, Ka = {
7317
7320
  weekdays: {
7318
7321
  shorthand: ["Ya", "Du", "Se", "Cho", "Pa", "Ju", "Sha"],
7319
7322
  longhand: [
@@ -7368,10 +7371,10 @@ var Yn = {}, Al = {
7368
7371
  yearAriaLabel: "Yil",
7369
7372
  time_24hr: !0
7370
7373
  };
7371
- Ja.l10ns.uz_latn = Wa, Ja.l10ns;
7372
- var qa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7374
+ qa.l10ns.uz_latn = Ka, qa.l10ns;
7375
+ var Ga = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7373
7376
  l10ns: {}
7374
- }, Ka = {
7377
+ }, Za = {
7375
7378
  weekdays: {
7376
7379
  shorthand: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"],
7377
7380
  longhand: [
@@ -7417,10 +7420,10 @@ var Yn = {}, Al = {
7417
7420
  firstDayOfWeek: 1,
7418
7421
  rangeSeparator: " đến "
7419
7422
  };
7420
- qa.l10ns.vn = Ka, qa.l10ns;
7421
- var Ga = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7423
+ Ga.l10ns.vn = Za, Ga.l10ns;
7424
+ var Qa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7422
7425
  l10ns: {}
7423
- }, Za = {
7426
+ }, Xa = {
7424
7427
  weekdays: {
7425
7428
  shorthand: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
7426
7429
  longhand: [
@@ -7468,10 +7471,10 @@ var Yn = {}, Al = {
7468
7471
  scrollTitle: "滚动切换",
7469
7472
  toggleTitle: "点击切换 12/24 小时时制"
7470
7473
  };
7471
- Ga.l10ns.zh = Za, Ga.l10ns;
7472
- var Qa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7474
+ Qa.l10ns.zh = Xa, Qa.l10ns;
7475
+ var er = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7473
7476
  l10ns: {}
7474
- }, Xa = {
7477
+ }, tr = {
7475
7478
  weekdays: {
7476
7479
  shorthand: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
7477
7480
  longhand: [
@@ -7519,14 +7522,14 @@ var Yn = {}, Al = {
7519
7522
  scrollTitle: "滾動切換",
7520
7523
  toggleTitle: "點擊切換 12/24 小時時制"
7521
7524
  };
7522
- Qa.l10ns.zh_tw = Xa, Qa.l10ns;
7525
+ er.l10ns.zh_tw = tr, er.l10ns;
7523
7526
  var io = {
7524
7527
  ar: o,
7525
7528
  at: f,
7526
7529
  az: p,
7527
7530
  be: d,
7528
7531
  bg: y,
7529
- bn: V,
7532
+ bn: P,
7530
7533
  bs: k,
7531
7534
  ca: R,
7532
7535
  ckb: ae,
@@ -7559,11 +7562,11 @@ var Yn = {}, Al = {
7559
7562
  km: vn,
7560
7563
  kz: Ot,
7561
7564
  lt: yn,
7562
- lv: Pt,
7565
+ lv: Vt,
7563
7566
  mk: bn,
7564
7567
  mn: i,
7565
7568
  ms: h,
7566
- my: P,
7569
+ my: V,
7567
7570
  nl: X,
7568
7571
  nn: re,
7569
7572
  no: q,
@@ -7574,23 +7577,23 @@ var Yn = {}, Al = {
7574
7577
  ru: Dn,
7575
7578
  si: Mn,
7576
7579
  sk: Tn,
7577
- sl: Oa,
7578
- sq: Pa,
7579
- sr: Fa,
7580
- sv: Na,
7581
- th: za,
7582
- tr: Ba,
7583
- uk: Ua,
7584
- vn: Ka,
7585
- zh: Za,
7586
- zh_tw: Xa,
7587
- uz: Ha,
7588
- uz_latn: Wa
7580
+ sl: Va,
7581
+ sq: Fa,
7582
+ sr: Na,
7583
+ sv: za,
7584
+ th: Ba,
7585
+ tr: Ua,
7586
+ uk: Ha,
7587
+ vn: Za,
7588
+ zh: Xa,
7589
+ zh_tw: tr,
7590
+ uz: Wa,
7591
+ uz_latn: Ka
7589
7592
  };
7590
7593
  e.default = io, Object.defineProperty(e, "__esModule", { value: !0 });
7591
7594
  });
7592
7595
  })(Al, Yn);
7593
- const Dl = /* @__PURE__ */ Lr(Yn);
7596
+ const Dl = /* @__PURE__ */ jr(Yn);
7594
7597
  const { t: _l } = le.global;
7595
7598
  function Qr() {
7596
7599
  return Ge({ t: _l })(Mo, {
@@ -7636,18 +7639,18 @@ const Ml = {
7636
7639
  }
7637
7640
  v(d(C + ""));
7638
7641
  }, I = () => {
7639
- V(), l.value = !0, n("onOpen");
7642
+ P(), l.value = !0, n("onOpen");
7640
7643
  }, y = () => {
7641
7644
  l.value = !1, n("onClose");
7642
7645
  }, O = () => {
7643
7646
  a(r.value) && (u.value = r.value.fpInput().value);
7644
- }, V = () => {
7647
+ }, P = () => {
7645
7648
  var M, T, j;
7646
7649
  if (!a(r.value))
7647
7650
  return;
7648
7651
  const C = u.value.replace(/[^\s\d.:]/g, ""), _ = r.value.fp.parseDate(C, R.value);
7649
7652
  if (S(_)) {
7650
- ye(e.defaultValue) ? (M = r.value) == null || M.fp.clear(!0) : (T = r.value) == null || T.fp.setDate(e.defaultValue, !0), W.value.textFieldValue.$touch(), n("blur");
7653
+ ve(e.defaultValue) ? (M = r.value) == null || M.fp.clear(!0) : (T = r.value) == null || T.fp.setDate(e.defaultValue, !0), W.value.textFieldValue.$touch(), n("blur");
7651
7654
  return;
7652
7655
  }
7653
7656
  (j = r.value) == null || j.fp.setDate(_, !0), W.value.textFieldValue.$touch(), n("blur");
@@ -7658,7 +7661,7 @@ const Ml = {
7658
7661
  from: new Date(1901, 1),
7659
7662
  to: new Date(2099, 12)
7660
7663
  }
7661
- ]), ee = x(() => ye(e.defaultValue) ? void 0 : e.defaultValue), ue = x(() => e.hideSetToNow ? [] : [
7664
+ ]), ee = x(() => ve(e.defaultValue) ? void 0 : e.defaultValue), ue = x(() => e.hideSetToNow ? [] : [
7662
7665
  Cl({
7663
7666
  button: [
7664
7667
  {
@@ -7703,7 +7706,7 @@ const Ml = {
7703
7706
  r.value.fp.close();
7704
7707
  return;
7705
7708
  }
7706
- V(), r.value.fp.open(), r.value.fpInput().focus();
7709
+ P(), r.value.fp.open(), r.value.fpInput().focus();
7707
7710
  }
7708
7711
  }, 0);
7709
7712
  }, Q = Qr(), Me = x(() => ({
@@ -7715,7 +7718,7 @@ const Ml = {
7715
7718
  () => e.modelValue,
7716
7719
  (C, _) => {
7717
7720
  if (C !== _) {
7718
- if ((ye(e.modelValue) || S(e.modelValue)) && !ye(e.defaultValue)) {
7721
+ if ((ve(e.modelValue) || S(e.modelValue)) && !ve(e.defaultValue)) {
7719
7722
  p.value = e.defaultValue;
7720
7723
  return;
7721
7724
  }
@@ -7732,8 +7735,8 @@ const Ml = {
7732
7735
  "persistent-placeholder": !0,
7733
7736
  placeholder: c(U),
7734
7737
  class: "a-datetime-picker",
7735
- onBlur: V,
7736
- onKeyup: wr(V, ["enter"])
7738
+ onBlur: P,
7739
+ onKeyup: Cr(P, ["enter"])
7737
7740
  }, nn({
7738
7741
  "append-inner": g(() => [
7739
7742
  t.clearable && t.defaultValue !== t.modelValue ? (w(), E(me, {
@@ -7774,7 +7777,7 @@ const Ml = {
7774
7777
  ]), 1032, ["modelValue", "error-messages", "placeholder", "onKeyup"]));
7775
7778
  }
7776
7779
  });
7777
- const Xr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-0573e4a9"]]), ih = /* @__PURE__ */ L({
7780
+ const Xr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-0573e4a9"]]), uh = /* @__PURE__ */ L({
7778
7781
  __name: "AFormDatetimePicker",
7779
7782
  props: {
7780
7783
  modelValue: null,
@@ -7787,7 +7790,7 @@ const Xr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-0573e4a9"]]), ih = /* @
7787
7790
  },
7788
7791
  emits: ["update:modelValue", "click:append", "blur"],
7789
7792
  setup(t, { emit: n }) {
7790
- const e = t, { t: a } = K(), r = we(at, void 0), o = we(rt, void 0), l = (d) => {
7793
+ const e = t, { t: a } = K(), r = ke(at, void 0), o = ke(rt, void 0), l = (d) => {
7791
7794
  n("update:modelValue", d);
7792
7795
  }, f = () => {
7793
7796
  var d;
@@ -7818,7 +7821,7 @@ const Xr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-0573e4a9"]]), ih = /* @
7818
7821
  "onUpdate:modelValue": v[0] || (v[0] = (k) => l(k))
7819
7822
  }, null, 8, ["model-value", "data-cy", "error-messages", "required", "label", "clearable"]));
7820
7823
  }
7821
- }), lh = /* @__PURE__ */ L({
7824
+ }), dh = /* @__PURE__ */ L({
7822
7825
  __name: "AFilterDatetimePicker",
7823
7826
  props: {
7824
7827
  modelValue: null
@@ -7842,7 +7845,7 @@ const Xr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-0573e4a9"]]), ih = /* @
7842
7845
  }, null, 8, ["modelValue", "clearable", "default-value", "label"]));
7843
7846
  }
7844
7847
  });
7845
- function Gn(t = "createdAt") {
7848
+ function Qn(t = "createdAt") {
7846
7849
  return ho({
7847
7850
  sortBy: t,
7848
7851
  descending: !0,
@@ -7854,7 +7857,7 @@ function Gn(t = "createdAt") {
7854
7857
  totalCount: 0
7855
7858
  });
7856
7859
  }
7857
- function sh(t) {
7860
+ function ch(t) {
7858
7861
  return {
7859
7862
  showPagination: x(() => !(t.page === 1 && t.currentViewCount < t.rowsPerPage))
7860
7863
  };
@@ -7862,7 +7865,7 @@ function sh(t) {
7862
7865
  const Tl = {
7863
7866
  key: 0,
7864
7867
  class: "required"
7865
- }, uh = /* @__PURE__ */ L({
7868
+ }, fh = /* @__PURE__ */ L({
7866
7869
  __name: "AFormRemoteAutocomplete",
7867
7870
  props: {
7868
7871
  modelValue: null,
@@ -7891,7 +7894,7 @@ const Tl = {
7891
7894
  set(M) {
7892
7895
  n("update:modelValue", ft(M));
7893
7896
  }
7894
- }), r = J(""), o = J(!1), l = J(void 0), { t: f } = K({ useScope: "global" }), { innerFilter: u } = ba(e), p = we(at, void 0), m = we(rt, void 0), d = () => {
7897
+ }), r = J(""), o = J(!1), l = J(void 0), { t: f } = K({ useScope: "global" }), { innerFilter: u } = ka(e), p = ke(at, void 0), m = ke(rt, void 0), d = () => {
7895
7898
  var M;
7896
7899
  o.value = !0, n("blur", e.modelValue), (M = e.v) == null || M.$touch();
7897
7900
  }, v = x(() => {
@@ -7908,17 +7911,17 @@ const Tl = {
7908
7911
  }), I = x(() => {
7909
7912
  var M, T;
7910
7913
  return S(e.required) ? ((M = e.v) == null ? void 0 : M.required) && ((T = e.v) == null ? void 0 : T.required.$params.type) === "required" : e.required;
7911
- }), y = x(() => e.multiple !== !1), O = Gn(e.filterSortBy), V = J([]), F = J([]), R = x(() => {
7914
+ }), y = x(() => e.multiple !== !1), O = Qn(e.filterSortBy), P = J([]), F = J([]), R = x(() => {
7912
7915
  const M = /* @__PURE__ */ new Map();
7913
7916
  return F.value.forEach((T) => {
7914
7917
  M.set(T.value, { value: T.value, title: T.title });
7915
- }), V.value.forEach((T) => {
7918
+ }), P.value.forEach((T) => {
7916
7919
  M.set(T.value, { value: T.value, title: T.title });
7917
7920
  }), Array.from(M, ([T, j]) => ({ value: T, title: j.title }));
7918
7921
  }), U = J(!1), ae = x(() => U.value ? !0 : e.loading), ee = async (M) => {
7919
7922
  U.value = !0;
7920
7923
  const T = u.value[e.filterByField];
7921
- T.model = M, V.value = await e.fetchItems(O, u.value), U.value = !1;
7924
+ T.model = M, P.value = await e.fetchItems(O, u.value), U.value = !1;
7922
7925
  }, ue = (M) => {
7923
7926
  const T = R.value.filter((j) => M.includes(j.value));
7924
7927
  return [].concat(T);
@@ -7928,7 +7931,7 @@ const Tl = {
7928
7931
  }, ie = J(!1), Q = () => {
7929
7932
  clearTimeout(l.value), l.value = void 0;
7930
7933
  }, Me = async () => {
7931
- Q(), ie.value !== !0 && (ie.value = !0, U.value = !0, V.value = await e.fetchItems(O, u.value), U.value = !1);
7934
+ Q(), ie.value !== !0 && (ie.value = !0, U.value = !0, P.value = await e.fetchItems(O, u.value), U.value = !1);
7932
7935
  }, W = () => {
7933
7936
  o.value = !0, Q(), Me();
7934
7937
  }, D = x(() => {
@@ -7937,7 +7940,7 @@ const Tl = {
7937
7940
  }), C = (M) => {
7938
7941
  !e.multiple && !o.value && M.length === 0 || D.value !== M && (r.value = M);
7939
7942
  }, _ = async () => {
7940
- if (V.value = await e.fetchItems(O, u.value), e.multiple) {
7943
+ if (P.value = await e.fetchItems(O, u.value), e.multiple) {
7941
7944
  a.value = [];
7942
7945
  return;
7943
7946
  }
@@ -7948,7 +7951,7 @@ const Tl = {
7948
7951
  async (M, T) => {
7949
7952
  if (M === T)
7950
7953
  return;
7951
- if (ye(M) || S(M) || Ee(M) && M.length === 0) {
7954
+ if (ve(M) || S(M) || Ee(M) && M.length === 0) {
7952
7955
  if (F.value = [], e.disableInitFetch || ie.value === !0)
7953
7956
  return;
7954
7957
  l.value = setTimeout(() => {
@@ -7965,7 +7968,7 @@ const Tl = {
7965
7968
  }
7966
7969
  },
7967
7970
  { immediate: !0 }
7968
- ), _a(
7971
+ ), xa(
7969
7972
  r,
7970
7973
  (M, T) => {
7971
7974
  M !== T && (ee(M), n("searchChangeDebounced", M));
@@ -8000,7 +8003,7 @@ const Tl = {
8000
8003
  _: 1
8001
8004
  }, 8, ["modelValue", "items", "multiple", "clearable", "error-messages", "chips", "hide-details", "loading"]));
8002
8005
  }
8003
- }), Sl = { class: "d-flex" }, $l = ["for"], dh = /* @__PURE__ */ L({
8006
+ }), Sl = { class: "d-flex" }, $l = ["for"], mh = /* @__PURE__ */ L({
8004
8007
  __name: "AFormRemoteCheckbox",
8005
8008
  props: {
8006
8009
  modelValue: { type: Boolean },
@@ -8013,7 +8016,7 @@ const Tl = {
8013
8016
  },
8014
8017
  emits: ["update:modelValue"],
8015
8018
  setup(t, { emit: n }) {
8016
- const e = t, { t: a } = K(), r = we(at, void 0), o = we(rt, void 0), l = x(() => {
8019
+ const e = t, { t: a } = K(), r = ke(at, void 0), o = ke(rt, void 0), l = x(() => {
8017
8020
  var I, y;
8018
8021
  if (!S(e.label))
8019
8022
  return e.label;
@@ -8051,7 +8054,7 @@ const Tl = {
8051
8054
  }, $(c(l)), 9, $l))
8052
8055
  ]));
8053
8056
  }
8054
- }), Ol = { class: "d-flex" }, Vl = ["for"], ch = /* @__PURE__ */ L({
8057
+ }), Ol = { class: "d-flex" }, Pl = ["for"], ph = /* @__PURE__ */ L({
8055
8058
  __name: "AFormRemoteSwitch",
8056
8059
  props: {
8057
8060
  modelValue: { type: Boolean },
@@ -8064,7 +8067,7 @@ const Tl = {
8064
8067
  },
8065
8068
  emits: ["update:modelValue"],
8066
8069
  setup(t, { emit: n }) {
8067
- const e = t, { t: a } = K(), r = we(at, void 0), o = we(rt, void 0), l = x(() => {
8070
+ const e = t, { t: a } = K(), r = ke(at, void 0), o = ke(rt, void 0), l = x(() => {
8068
8071
  var I, y;
8069
8072
  if (!S(e.label))
8070
8073
  return e.label;
@@ -8128,14 +8131,14 @@ const Tl = {
8128
8131
  key: 0,
8129
8132
  for: p.value,
8130
8133
  class: "v-label v-label--clickable"
8131
- }, $(c(l)), 9, Vl))
8134
+ }, $(c(l)), 9, Pl))
8132
8135
  ]));
8133
8136
  }
8134
8137
  });
8135
- const Pl = { key: 0 }, Il = {
8138
+ const Vl = { key: 0 }, Il = {
8136
8139
  key: 0,
8137
8140
  class: "required"
8138
- }, fh = /* @__PURE__ */ L({
8141
+ }, hh = /* @__PURE__ */ L({
8139
8142
  __name: "AFormValueObjectOptionsSelect",
8140
8143
  props: {
8141
8144
  modelValue: null,
@@ -8159,7 +8162,7 @@ const Pl = { key: 0 }, Il = {
8159
8162
  set(v) {
8160
8163
  n("update:modelValue", ft(v));
8161
8164
  }
8162
- }), r = we(at, void 0), o = we(rt, void 0), { t: l } = K(), f = () => {
8165
+ }), r = ke(at, void 0), o = ke(rt, void 0), { t: l } = K(), f = () => {
8163
8166
  var v;
8164
8167
  n("blur", e.modelValue), (v = e.v) == null || v.$touch();
8165
8168
  }, u = x(() => {
@@ -8190,7 +8193,7 @@ const Pl = { key: 0 }, Il = {
8190
8193
  onBlur: f
8191
8194
  }, {
8192
8195
  label: g(() => [
8193
- t.hideLabel ? Z("", !0) : (w(), H("span", Pl, [
8196
+ t.hideLabel ? Z("", !0) : (w(), H("span", Vl, [
8194
8197
  z($(c(p)), 1),
8195
8198
  c(m) ? (w(), H("span", Il)) : Z("", !0)
8196
8199
  ]))
@@ -8198,7 +8201,7 @@ const Pl = { key: 0 }, Il = {
8198
8201
  _: 1
8199
8202
  }, 8, ["modelValue", "items", "multiple", "clearable", "error-messages", "data-cy"]));
8200
8203
  }
8201
- }), mh = /* @__PURE__ */ L({
8204
+ }), gh = /* @__PURE__ */ L({
8202
8205
  __name: "AFilterValueObjectOptionsSelect",
8203
8206
  props: {
8204
8207
  modelValue: null,
@@ -8206,7 +8209,7 @@ const Pl = { key: 0 }, Il = {
8206
8209
  },
8207
8210
  emits: ["update:modelValue", "change"],
8208
8211
  setup(t, { emit: n }) {
8209
- const e = t, { clearOne: a } = $a(), r = x({
8212
+ const e = t, { clearOne: a } = Pa(), r = x({
8210
8213
  get() {
8211
8214
  return e.modelValue.model;
8212
8215
  },
@@ -8227,7 +8230,7 @@ const Pl = { key: 0 }, Il = {
8227
8230
  onChange: p[2] || (p[2] = (m) => n("change"))
8228
8231
  }, null, 8, ["modelValue", "items", "chips", "label", "multiple", "clearable"]));
8229
8232
  }
8230
- }), ph = /* @__PURE__ */ L({
8233
+ }), vh = /* @__PURE__ */ L({
8231
8234
  __name: "AFilterRemoteAutocomplete",
8232
8235
  props: {
8233
8236
  modelValue: null,
@@ -8248,16 +8251,16 @@ const Pl = { key: 0 }, Il = {
8248
8251
  set(W) {
8249
8252
  n("update:modelValue", { ...e.modelValue, model: ft(W) });
8250
8253
  }
8251
- }), r = J(""), o = J(!1), l = J(void 0), { t: f } = K({ useScope: "global" }), { innerFilter: u } = ba(e), p = () => {
8254
+ }), r = J(""), o = J(!1), l = J(void 0), { t: f } = K({ useScope: "global" }), { innerFilter: u } = ka(e), p = () => {
8252
8255
  o.value = !0;
8253
- }, m = x(() => e.modelValue.titleT ? f(e.modelValue.titleT) : void 0), d = x(() => e.modelValue.multiple !== !1), v = Gn(e.filterSortBy), k = J([]), I = J([]), y = x(() => {
8256
+ }, m = x(() => e.modelValue.titleT ? f(e.modelValue.titleT) : void 0), d = x(() => e.modelValue.multiple !== !1), v = Qn(e.filterSortBy), k = J([]), I = J([]), y = x(() => {
8254
8257
  const W = /* @__PURE__ */ new Map();
8255
8258
  return I.value.forEach((D) => {
8256
8259
  W.set(D.value, { value: D.value, title: D.title });
8257
8260
  }), k.value.forEach((D) => {
8258
8261
  W.set(D.value, { value: D.value, title: D.title });
8259
8262
  }), Array.from(W, ([D, C]) => ({ value: D, title: C.title }));
8260
- }), O = J(!1), V = async (W) => {
8263
+ }), O = J(!1), P = async (W) => {
8261
8264
  O.value = !0;
8262
8265
  const D = u.value[e.filterByField];
8263
8266
  D.model = W, k.value = await e.fetchItems(v, u.value), O.value = !1;
@@ -8290,7 +8293,7 @@ const Pl = { key: 0 }, Il = {
8290
8293
  async (W, D) => {
8291
8294
  if (W === D)
8292
8295
  return;
8293
- if (ye(W) || S(W) || Ee(W) && W.length === 0) {
8296
+ if (ve(W) || S(W) || Ee(W) && W.length === 0) {
8294
8297
  if (I.value = [], e.disableInitFetch || U.value === !0)
8295
8298
  return;
8296
8299
  l.value = setTimeout(() => {
@@ -8307,10 +8310,10 @@ const Pl = { key: 0 }, Il = {
8307
8310
  }
8308
8311
  },
8309
8312
  { immediate: !0 }
8310
- ), _a(
8313
+ ), xa(
8311
8314
  r,
8312
8315
  (W, D) => {
8313
- W !== D && V(W);
8316
+ W !== D && P(W);
8314
8317
  },
8315
8318
  { debounce: 300, maxWait: 1e3 }
8316
8319
  ), (W, D) => (w(), E(on, {
@@ -8346,7 +8349,7 @@ const Pl = { key: 0 }, Il = {
8346
8349
  }
8347
8350
  }), { t: r } = K(), o = x(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0);
8348
8351
  return (l, f) => (w(), H("div", Fl, [
8349
- b(Ar, { class: "pr-1" }, {
8352
+ b(_r, { class: "pr-1" }, {
8350
8353
  default: g(() => [
8351
8354
  te("span", null, $(c(o)), 1)
8352
8355
  ]),
@@ -8383,7 +8386,7 @@ const Pl = { key: 0 }, Il = {
8383
8386
  ]));
8384
8387
  }
8385
8388
  });
8386
- const hh = /* @__PURE__ */ vt(El, [["__scopeId", "data-v-e3cdbafd"]]), gh = /* @__PURE__ */ L({
8389
+ const yh = /* @__PURE__ */ vt(El, [["__scopeId", "data-v-e3cdbafd"]]), bh = /* @__PURE__ */ L({
8387
8390
  __name: "AFilterBooleanSelect",
8388
8391
  props: {
8389
8392
  modelValue: null
@@ -8392,7 +8395,7 @@ const hh = /* @__PURE__ */ vt(El, [["__scopeId", "data-v-e3cdbafd"]]), gh = /* @
8392
8395
  setup(t, { emit: n }) {
8393
8396
  const e = t, a = x({
8394
8397
  get() {
8395
- return S(e.modelValue.model) || ye(e.modelValue.model) ? -1 : e.modelValue.model ? 1 : 0;
8398
+ return S(e.modelValue.model) || ve(e.modelValue.model) ? -1 : e.modelValue.model ? 1 : 0;
8396
8399
  },
8397
8400
  set(f) {
8398
8401
  let u = null;
@@ -8479,7 +8482,7 @@ const Ll = /* @__PURE__ */ L({
8479
8482
  LINK_EXTERNAL: "mdi-open-in-new"
8480
8483
  }
8481
8484
  }
8482
- }, mr = Ur(zl), jl = { key: 1 }, vh = /* @__PURE__ */ L({
8485
+ }, hr = Ur(zl), jl = { key: 1 }, wh = /* @__PURE__ */ L({
8483
8486
  __name: "ACachedChip",
8484
8487
  props: {
8485
8488
  id: { default: null },
@@ -8496,7 +8499,7 @@ const Ll = /* @__PURE__ */ L({
8496
8499
  fallbackIdText: { type: Boolean, default: !1 }
8497
8500
  },
8498
8501
  setup(t) {
8499
- const n = t, e = Ca(), a = tr(void 0), r = tr(!1), o = x(() => n.getCachedFn(n.id)), l = x(() => n.title.length > 0 ? n.title : a.value ? Yr(a.value, n.displayTextPath) : n.fallbackIdText ? n.id : ""), f = () => {
8502
+ const n = t, e = Da(), a = ar(void 0), r = ar(!1), o = x(() => n.getCachedFn(n.id)), l = x(() => n.title.length > 0 ? n.title : a.value ? Yr(a.value, n.displayTextPath) : n.fallbackIdText ? n.id : ""), f = () => {
8500
8503
  e.push({ name: n.route, params: { id: n.id } });
8501
8504
  };
8502
8505
  return Oe(
@@ -8506,13 +8509,13 @@ const Ll = /* @__PURE__ */ L({
8506
8509
  },
8507
8510
  { immediate: !0 }
8508
8511
  ), (u, p) => (w(), H("div", {
8509
- class: be(t.containerClass)
8512
+ class: we(t.containerClass)
8510
8513
  }, [
8511
- c(ye)(t.id) || c(S)(t.id) ? _e(u.$slots, "empty", { key: 0 }, () => [
8514
+ c(ve)(t.id) || c(S)(t.id) ? _e(u.$slots, "empty", { key: 0 }, () => [
8512
8515
  z(" - ")
8513
8516
  ]) : t.textOnly ? (w(), H("div", jl, [
8514
8517
  z($(c(l)) + " ", 1),
8515
- !c(r) && t.title.length === 0 ? (w(), E(Xn, {
8518
+ !c(r) && t.title.length === 0 ? (w(), E(ta, {
8516
8519
  key: 0,
8517
8520
  size: 12,
8518
8521
  width: 2,
@@ -8526,7 +8529,7 @@ const Ll = /* @__PURE__ */ L({
8526
8529
  }, {
8527
8530
  default: g(() => [
8528
8531
  z($(c(l)) + " ", 1),
8529
- !c(r) && t.title.length === 0 ? (w(), E(Xn, {
8532
+ !c(r) && t.title.length === 0 ? (w(), E(ta, {
8530
8533
  key: 0,
8531
8534
  size: 12,
8532
8535
  width: 2,
@@ -8538,13 +8541,13 @@ const Ll = /* @__PURE__ */ L({
8538
8541
  }, 8, ["size", "label"])) : (w(), E(ct, {
8539
8542
  key: 3,
8540
8543
  size: t.size,
8541
- "append-icon": t.openInNew ? c(mr).CHIP.ICON.LINK_EXTERNAL : c(mr).CHIP.ICON.LINK,
8544
+ "append-icon": t.openInNew ? c(hr).CHIP.ICON.LINK_EXTERNAL : c(hr).CHIP.ICON.LINK,
8542
8545
  label: t.forceRounded ? void 0 : !0,
8543
8546
  onClick: ne(f, ["stop"])
8544
8547
  }, {
8545
8548
  default: g(() => [
8546
8549
  z($(c(l)) + " ", 1),
8547
- !c(r) && t.title.length === 0 ? (w(), E(Xn, {
8550
+ !c(r) && t.title.length === 0 ? (w(), E(ta, {
8548
8551
  key: 0,
8549
8552
  size: 12,
8550
8553
  width: 2,
@@ -8606,7 +8609,7 @@ function Rl() {
8606
8609
  getLogLevelOption: (e) => t.value.find((a) => a.value === e)
8607
8610
  };
8608
8611
  }
8609
- const yh = /* @__PURE__ */ L({
8612
+ const kh = /* @__PURE__ */ L({
8610
8613
  __name: "ALogLevelChip",
8611
8614
  props: {
8612
8615
  level: null
@@ -8625,7 +8628,7 @@ const yh = /* @__PURE__ */ L({
8625
8628
  _: 1
8626
8629
  }, 8, ["color"])) : Z("", !0);
8627
8630
  }
8628
- }), to = (t) => "" + t, Ul = ["data-cy", "onClick"], bh = /* @__PURE__ */ L({
8631
+ }), to = (t) => "" + t, Ul = ["data-cy", "onClick"], Ch = /* @__PURE__ */ L({
8629
8632
  __name: "ACopyText",
8630
8633
  props: {
8631
8634
  value: null,
@@ -8633,15 +8636,15 @@ const yh = /* @__PURE__ */ L({
8633
8636
  dataCy: { default: "copy-text" }
8634
8637
  },
8635
8638
  setup(t) {
8636
- const n = t, { copy: e, isSupported: a } = Mr(), { showSuccess: r } = Ta(), { t: o } = K(), l = (f) => {
8637
- st(f), a && (Ma(n.value) ? e(to(n.value)).then(() => {
8639
+ const n = t, { copy: e, isSupported: a } = Tr(), { showSuccess: r } = $a(), { t: o } = K(), l = (f) => {
8640
+ st(f), a && (Ta(n.value) ? e(to(n.value)).then(() => {
8638
8641
  r(o(n.notifyT));
8639
8642
  }) : dt(n.value) && n.value.length && e(n.value).then(() => {
8640
8643
  r(o(n.notifyT));
8641
8644
  }));
8642
8645
  };
8643
8646
  return (f, u) => (w(), H("div", {
8644
- class: be([{ "cursor-pointer": c(a) }, "d-inline-flex align-center anzu-copy-text"]),
8647
+ class: we([{ "cursor-pointer": c(a) }, "d-inline-flex align-center anzu-copy-text"]),
8645
8648
  "data-cy": t.dataCy,
8646
8649
  onClick: ne(l, ["stop"])
8647
8650
  }, [
@@ -8679,7 +8682,7 @@ const Yl = {
8679
8682
  size: { default: "default" }
8680
8683
  },
8681
8684
  setup(t) {
8682
- return (n, e) => c(ye)(t.secondaryIcon) ? c(ye)(t.secondaryText) ? (w(), E(me, {
8685
+ return (n, e) => c(ve)(t.secondaryIcon) ? c(ve)(t.secondaryText) ? (w(), E(me, {
8683
8686
  key: 2,
8684
8687
  icon: t.mainIcon
8685
8688
  }, null, 8, ["icon"])) : (w(), H("div", Hl, [
@@ -8716,7 +8719,7 @@ function ql(t, n) {
8716
8719
  _: 3
8717
8720
  });
8718
8721
  }
8719
- const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8722
+ const Ah = /* @__PURE__ */ vt(Wl, [["render", ql]]), Dh = /* @__PURE__ */ L({
8720
8723
  __name: "AUserAndTimeTrackingFields",
8721
8724
  props: {
8722
8725
  data: null,
@@ -8752,7 +8755,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8752
8755
  }, 8, ["title"]))
8753
8756
  ], 64));
8754
8757
  }
8755
- }), Ch = /* @__PURE__ */ L({
8758
+ }), _h = /* @__PURE__ */ L({
8756
8759
  __name: "AActionCloseButton",
8757
8760
  props: {
8758
8761
  routeName: null,
@@ -8765,7 +8768,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8765
8768
  setup(t) {
8766
8769
  const n = t, { t: e } = K(), a = x(() => S(n.routeParams) ? { name: n.routeName } : { name: n.routeName, params: { ...n.routeParams } });
8767
8770
  return (r, o) => (w(), E(oe, {
8768
- class: be(t.buttonClass),
8771
+ class: we(t.buttonClass),
8769
8772
  "data-cy": t.dataCy,
8770
8773
  to: c(a),
8771
8774
  icon: "",
@@ -8790,7 +8793,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8790
8793
  _: 1
8791
8794
  }, 8, ["class", "data-cy", "to", "width", "height"]));
8792
8795
  }
8793
- }), Ah = /* @__PURE__ */ L({
8796
+ }), Mh = /* @__PURE__ */ L({
8794
8797
  __name: "AActionCreateButton",
8795
8798
  props: {
8796
8799
  routeName: null,
@@ -8814,7 +8817,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8814
8817
  });
8815
8818
  return (r, o) => t.variant === "icon" ? (w(), E(oe, {
8816
8819
  key: 0,
8817
- class: be(t.buttonClass),
8820
+ class: we(t.buttonClass),
8818
8821
  icon: "",
8819
8822
  size: "small",
8820
8823
  variant: c(a),
@@ -8837,7 +8840,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8837
8840
  _: 1
8838
8841
  }, 8, ["class", "variant", "to", "width", "height"])) : (w(), E(oe, {
8839
8842
  key: 1,
8840
- class: be(t.buttonClass),
8843
+ class: we(t.buttonClass),
8841
8844
  "data-cy": t.dataCy,
8842
8845
  variant: c(a),
8843
8846
  to: { name: t.routeName },
@@ -8851,7 +8854,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8851
8854
  _: 1
8852
8855
  }, 8, ["class", "data-cy", "variant", "to", "height"]));
8853
8856
  }
8854
- }), Dh = /* @__PURE__ */ L({
8857
+ }), xh = /* @__PURE__ */ L({
8855
8858
  __name: "AActionDeleteButton",
8856
8859
  props: {
8857
8860
  variant: { default: "icon" },
@@ -8900,7 +8903,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8900
8903
  return w(), H(Ye, null, [
8901
8904
  t.variant === "icon" ? (w(), E(oe, {
8902
8905
  key: 0,
8903
- class: be(t.buttonClass),
8906
+ class: we(t.buttonClass),
8904
8907
  "data-cy": t.dataCy,
8905
8908
  icon: "",
8906
8909
  size: "small",
@@ -8927,7 +8930,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8927
8930
  _: 1
8928
8931
  }, 8, ["class", "data-cy", "variant", "disabled", "color", "loading", "width", "height", "onClick"])) : (w(), E(oe, {
8929
8932
  key: 1,
8930
- class: be(t.buttonClass),
8933
+ class: we(t.buttonClass),
8931
8934
  "data-cy": t.dataCy,
8932
8935
  variant: c(m),
8933
8936
  color: t.color,
@@ -8940,7 +8943,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8940
8943
  ]),
8941
8944
  _: 1
8942
8945
  }, 8, ["class", "data-cy", "variant", "color", "height", "onClick"])),
8943
- b(Da, {
8946
+ b(Ma, {
8944
8947
  modelValue: r.value,
8945
8948
  "onUpdate:modelValue": v[0] || (v[0] = (y) => r.value = y),
8946
8949
  persistent: "",
@@ -8953,13 +8956,13 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8953
8956
  "data-cy": "delete-panel"
8954
8957
  }, {
8955
8958
  default: g(() => [
8956
- b($r, { onOnCancel: u }, {
8959
+ b(Pr, { onOnCancel: u }, {
8957
8960
  default: g(() => [
8958
8961
  z($(c(p)(t.dialogMessageT)), 1)
8959
8962
  ]),
8960
8963
  _: 1
8961
8964
  }),
8962
- b(ka, null, {
8965
+ b(Aa, null, {
8963
8966
  default: g(() => [
8964
8967
  b(Xt),
8965
8968
  b(k, {
@@ -8995,7 +8998,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8995
8998
  ], 64);
8996
8999
  };
8997
9000
  }
8998
- }), _h = /* @__PURE__ */ L({
9001
+ }), Th = /* @__PURE__ */ L({
8999
9002
  __name: "AActionEditButton",
9000
9003
  props: {
9001
9004
  routeName: null,
@@ -9010,7 +9013,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9010
9013
  },
9011
9014
  emits: ["editRecord"],
9012
9015
  setup(t, { emit: n }) {
9013
- const e = t, { t: a } = K(), r = Ca(), o = (u) => {
9016
+ const e = t, { t: a } = K(), r = Da(), o = (u) => {
9014
9017
  st(u), n("editRecord"), r.push(l.value);
9015
9018
  }, l = x(() => S(e.routeParams) ? { name: e.routeName, params: { id: e.recordId } } : { name: e.routeName, params: { ...e.routeParams } }), f = x(() => {
9016
9019
  switch (e.variant) {
@@ -9025,7 +9028,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9025
9028
  });
9026
9029
  return (u, p) => t.variant === "icon" ? (w(), E(oe, {
9027
9030
  key: 0,
9028
- class: be(t.buttonClass),
9031
+ class: we(t.buttonClass),
9029
9032
  icon: "",
9030
9033
  size: "small",
9031
9034
  variant: c(f),
@@ -9049,7 +9052,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9049
9052
  _: 1
9050
9053
  }, 8, ["class", "variant", "loading", "width", "height", "onClick"])) : (w(), E(oe, {
9051
9054
  key: 1,
9052
- class: be(t.buttonClass),
9055
+ class: we(t.buttonClass),
9053
9056
  variant: c(f),
9054
9057
  "data-cy": t.dataCy,
9055
9058
  loading: t.loading,
@@ -9064,7 +9067,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9064
9067
  _: 1
9065
9068
  }, 8, ["class", "variant", "data-cy", "loading", "height", "onClick"]));
9066
9069
  }
9067
- }), Mh = /* @__PURE__ */ L({
9070
+ }), Sh = /* @__PURE__ */ L({
9068
9071
  __name: "AActionSaveAndCloseButton",
9069
9072
  props: {
9070
9073
  buttonT: { default: "common.button.saveAndClose" },
@@ -9079,7 +9082,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9079
9082
  st(r), n("saveRecordAndClose");
9080
9083
  }, { t: a } = K();
9081
9084
  return (r, o) => (w(), E(oe, {
9082
- class: be(t.buttonClass),
9085
+ class: we(t.buttonClass),
9083
9086
  "data-cy": t.dataCy,
9084
9087
  loading: t.loading,
9085
9088
  disabled: t.disabled,
@@ -9108,7 +9111,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9108
9111
  _: 1
9109
9112
  }, 8, ["class", "data-cy", "loading", "disabled", "onClick"]));
9110
9113
  }
9111
- }), xh = /* @__PURE__ */ L({
9114
+ }), $h = /* @__PURE__ */ L({
9112
9115
  __name: "AActionSaveButton",
9113
9116
  props: {
9114
9117
  buttonT: { default: "common.button.save" },
@@ -9136,7 +9139,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9136
9139
  });
9137
9140
  return (l, f) => t.variant === "icon" ? (w(), E(oe, {
9138
9141
  key: 0,
9139
- class: be(t.buttonClass),
9142
+ class: we(t.buttonClass),
9140
9143
  icon: "",
9141
9144
  size: "small",
9142
9145
  variant: c(o),
@@ -9161,7 +9164,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9161
9164
  _: 1
9162
9165
  }, 8, ["class", "variant", "loading", "disabled", "width", "height", "onClick"])) : (w(), E(oe, {
9163
9166
  key: 1,
9164
- class: be(t.buttonClass),
9167
+ class: we(t.buttonClass),
9165
9168
  "data-cy": t.dataCy,
9166
9169
  variant: c(o),
9167
9170
  color: "primary",
@@ -9177,7 +9180,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9177
9180
  _: 1
9178
9181
  }, 8, ["class", "data-cy", "variant", "loading", "disabled", "height", "onClick"]));
9179
9182
  }
9180
- }), Th = /* @__PURE__ */ L({
9183
+ }), Oh = /* @__PURE__ */ L({
9181
9184
  __name: "ATableCopyIdButton",
9182
9185
  props: {
9183
9186
  id: null,
@@ -9189,8 +9192,8 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9189
9192
  size: { default: "x-small" }
9190
9193
  },
9191
9194
  setup(t) {
9192
- const n = t, { t: e } = K(), { copy: a, isSupported: r } = Mr(), { showSuccess: o } = Ta(), l = (f) => {
9193
- st(f), Ma(n.id) && n.id > 0 ? a(to(n.id)).then(() => {
9195
+ const n = t, { t: e } = K(), { copy: a, isSupported: r } = Tr(), { showSuccess: o } = $a(), l = (f) => {
9196
+ st(f), Ta(n.id) && n.id > 0 ? a(to(n.id)).then(() => {
9194
9197
  o(e(n.notifyT));
9195
9198
  }) : dt(n.id) && n.id.length && a(n.id).then(() => {
9196
9199
  o(e(n.notifyT));
@@ -9198,7 +9201,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9198
9201
  };
9199
9202
  return (f, u) => c(r) ? (w(), E(oe, {
9200
9203
  key: 0,
9201
- class: be(t.buttonClass),
9204
+ class: we(t.buttonClass),
9202
9205
  "data-cy": t.dataCy,
9203
9206
  icon: "",
9204
9207
  size: t.size,
@@ -9224,7 +9227,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9224
9227
  _: 1
9225
9228
  }, 8, ["class", "data-cy", "size", "onClick"])) : Z("", !0);
9226
9229
  }
9227
- }), Sh = /* @__PURE__ */ L({
9230
+ }), Ph = /* @__PURE__ */ L({
9228
9231
  __name: "ATableDetailButton",
9229
9232
  props: {
9230
9233
  routeName: null,
@@ -9237,7 +9240,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9237
9240
  setup(t) {
9238
9241
  const n = t, { t: e } = K(), a = x(() => S(n.routeParams) ? { name: n.routeName, params: { id: n.recordId } } : { name: n.routeName, params: { ...n.routeParams } });
9239
9242
  return (r, o) => (w(), E(oe, {
9240
- class: be(t.buttonClass),
9243
+ class: we(t.buttonClass),
9241
9244
  "data-cy": t.dataCy,
9242
9245
  to: c(a),
9243
9246
  icon: "",
@@ -9261,7 +9264,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9261
9264
  _: 1
9262
9265
  }, 8, ["class", "data-cy", "to"]));
9263
9266
  }
9264
- }), $h = /* @__PURE__ */ L({
9267
+ }), Vh = /* @__PURE__ */ L({
9265
9268
  __name: "ATableEditButton",
9266
9269
  props: {
9267
9270
  routeName: null,
@@ -9274,7 +9277,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9274
9277
  setup(t) {
9275
9278
  const n = t, { t: e } = K(), a = x(() => S(n.routeParams) ? { name: n.routeName, params: { id: n.recordId } } : { name: n.routeName, params: { ...n.routeParams } });
9276
9279
  return (r, o) => (w(), E(oe, {
9277
- class: be(t.buttonClass),
9280
+ class: we(t.buttonClass),
9278
9281
  "data-cy": t.dataCy,
9279
9282
  to: c(a),
9280
9283
  icon: "",
@@ -9300,12 +9303,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9300
9303
  }
9301
9304
  });
9302
9305
  var Gt = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t.Auto = "auto", t))(Gt || {}), Kl = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(Kl || {});
9303
- const va = xr(
9306
+ const ba = Sr(
9304
9307
  "theme",
9305
9308
  "light"
9306
9309
  /* Light */
9307
9310
  ), ao = "(prefers-color-scheme: dark)", Hn = J(
9308
- Object.values(Gt).some((t) => t === va.value) ? va.value : "light"
9311
+ Object.values(Gt).some((t) => t === ba.value) ? ba.value : "light"
9309
9312
  /* Light */
9310
9313
  ), Zt = J(
9311
9314
  "light"
@@ -9324,8 +9327,8 @@ const va = xr(
9324
9327
  }
9325
9328
  };
9326
9329
  Qt();
9327
- const sa = (t) => {
9328
- Hn.value = t, va.value = t;
9330
+ const da = (t) => {
9331
+ Hn.value = t, ba.value = t;
9329
9332
  };
9330
9333
  window.matchMedia(ao).addEventListener("change", (t) => {
9331
9334
  ro.value = t.matches, Qt();
@@ -9333,17 +9336,17 @@ window.matchMedia(ao).addEventListener("change", (t) => {
9333
9336
  const Gl = x(() => Zt.value === "light" ? "white" : "#1A1A1A");
9334
9337
  function Zl() {
9335
9338
  const t = () => {
9336
- sa(
9339
+ da(
9337
9340
  "auto"
9338
9341
  /* Auto */
9339
9342
  ), Qt();
9340
9343
  }, n = () => {
9341
- sa(
9344
+ da(
9342
9345
  "dark"
9343
9346
  /* Dark */
9344
9347
  ), Qt();
9345
9348
  }, e = () => {
9346
- sa(
9349
+ da(
9347
9350
  "light"
9348
9351
  /* Light */
9349
9352
  ), Qt();
@@ -9370,7 +9373,7 @@ function Zl() {
9370
9373
  setThemeLight: e
9371
9374
  };
9372
9375
  }
9373
- const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L({
9376
+ const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Ih = /* @__PURE__ */ L({
9374
9377
  __name: "AThemeSelect",
9375
9378
  setup(t) {
9376
9379
  const { setThemeDark: n, setThemeAuto: e, setThemeLight: a, settings: r } = Zl(), { t: o } = K(), l = J(!1);
@@ -9380,7 +9383,7 @@ const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L(
9380
9383
  "close-on-content-click": ""
9381
9384
  }, {
9382
9385
  activator: g(({ props: p }) => [
9383
- b(oe, wa({
9386
+ b(oe, Ca({
9384
9387
  class: "pl-1",
9385
9388
  rounded: "pill"
9386
9389
  }, p, {
@@ -9483,7 +9486,7 @@ const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L(
9483
9486
  title: "Translation ID",
9484
9487
  adminOnly: !0
9485
9488
  }
9486
- ], et = xr("language", "default");
9489
+ ], et = Sr("language", "default");
9487
9490
  function ts(t, n) {
9488
9491
  et.value === "default" && (et.value = n);
9489
9492
  function e(o, l) {
@@ -9514,7 +9517,7 @@ function ns() {
9514
9517
  const as = {
9515
9518
  xmlns: "http://www.w3.org/2000/svg",
9516
9519
  viewBox: "0 0 900 600"
9517
- }, rs = /* @__PURE__ */ kr('<path fill="#ee1c25" d="M0 0h900v600H0z"></path><path fill="#0b4ea2" d="M0 0h900v400H0z"></path><path fill="#fff" d="M0 0h900v200H0z"></path><path d="M393.479 141H146.358l-.847 8.059c-.184 1.752-4.511 43.971-4.511 136.69 0 43.563 14.726 82 43.77 114.23 20.349 22.585 46.923 41.6 81.242 58.129l3.9 1.881 3.906-1.881c34.32-16.53 60.9-35.544 81.246-58.129 29.044-32.234 43.771-70.667 43.771-114.23 0-92.718-4.328-134.938-4.512-136.69l-.844-8.059z" fill="#fff"></path><path d="M269.917 450C220.577 426.234 150 379.062 150 285.749S154.461 150 154.461 150h230.915s4.463 42.437 4.463 135.749S319.261 426.234 269.917 450z" fill="#ee1c25"></path><path d="M280.484 261.284c13.36.216 39.425.739 62.635-7.027 0 0-.613 8.306-.613 17.98s.613 17.982.613 17.982c-21.289-7.125-47.58-7.273-62.635-7.082v51.539h-21.1v-51.539c-15.055-.191-41.345-.043-62.635 7.082 0 0 .613-8.305.613-17.982s-.613-17.98-.613-17.98c23.21 7.766 49.275 7.243 62.635 7.027v-32.368c-12.177-.108-29.723.473-49.563 7.113 0 0 .613-8.305.613-17.982s-.613-17.981-.613-17.981c19.81 6.628 37.336 7.219 49.509 7.114-.626-20.5-6.6-46.332-6.6-46.332s12.289.959 17.2.959 17.2-.959 17.2-.959-5.969 25.835-6.6 46.33c12.174.106 29.7-.485 49.509-7.114 0 0-.613 8.305-.613 17.981s.613 17.982.613 17.982c-19.839-6.639-37.386-7.221-49.563-7.113v32.37z" fill="#fff"></path><path d="M269.9 329.094c-24.852 0-38.163 34.469-38.163 34.469a30.466 30.466 0 0 0-27.661-16.344c-13.719 0-23.829 12.2-30.256 23.5 24.959 39.7 64.78 64.207 96.079 79.281 31.305-15.075 71.152-39.571 96.112-79.281-6.427-11.3-16.537-23.5-30.256-23.5a30.539 30.539 0 0 0-27.693 16.344s-13.308-34.469-38.162-34.469z" fill="#0b4ea2"></path>', 7), os = [
9520
+ }, rs = /* @__PURE__ */ Ar('<path fill="#ee1c25" d="M0 0h900v600H0z"></path><path fill="#0b4ea2" d="M0 0h900v400H0z"></path><path fill="#fff" d="M0 0h900v200H0z"></path><path d="M393.479 141H146.358l-.847 8.059c-.184 1.752-4.511 43.971-4.511 136.69 0 43.563 14.726 82 43.77 114.23 20.349 22.585 46.923 41.6 81.242 58.129l3.9 1.881 3.906-1.881c34.32-16.53 60.9-35.544 81.246-58.129 29.044-32.234 43.771-70.667 43.771-114.23 0-92.718-4.328-134.938-4.512-136.69l-.844-8.059z" fill="#fff"></path><path d="M269.917 450C220.577 426.234 150 379.062 150 285.749S154.461 150 154.461 150h230.915s4.463 42.437 4.463 135.749S319.261 426.234 269.917 450z" fill="#ee1c25"></path><path d="M280.484 261.284c13.36.216 39.425.739 62.635-7.027 0 0-.613 8.306-.613 17.98s.613 17.982.613 17.982c-21.289-7.125-47.58-7.273-62.635-7.082v51.539h-21.1v-51.539c-15.055-.191-41.345-.043-62.635 7.082 0 0 .613-8.305.613-17.982s-.613-17.98-.613-17.98c23.21 7.766 49.275 7.243 62.635 7.027v-32.368c-12.177-.108-29.723.473-49.563 7.113 0 0 .613-8.305.613-17.982s-.613-17.981-.613-17.981c19.81 6.628 37.336 7.219 49.509 7.114-.626-20.5-6.6-46.332-6.6-46.332s12.289.959 17.2.959 17.2-.959 17.2-.959-5.969 25.835-6.6 46.33c12.174.106 29.7-.485 49.509-7.114 0 0-.613 8.305-.613 17.981s.613 17.982.613 17.982c-19.839-6.639-37.386-7.221-49.563-7.113v32.37z" fill="#fff"></path><path d="M269.9 329.094c-24.852 0-38.163 34.469-38.163 34.469a30.466 30.466 0 0 0-27.661-16.344c-13.719 0-23.829 12.2-30.256 23.5 24.959 39.7 64.78 64.207 96.079 79.281 31.305-15.075 71.152-39.571 96.112-79.281-6.427-11.3-16.537-23.5-30.256-23.5a30.539 30.539 0 0 0-27.693 16.344s-13.308-34.469-38.162-34.469z" fill="#0b4ea2"></path>', 7), os = [
9518
9521
  rs
9519
9522
  ], is = /* @__PURE__ */ L({
9520
9523
  __name: "FlagSk",
@@ -9525,7 +9528,7 @@ const as = {
9525
9528
  xmlns: "http://www.w3.org/2000/svg",
9526
9529
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
9527
9530
  viewBox: "0 0 7410 3900"
9528
- }, us = /* @__PURE__ */ kr('<path fill="#b22234" d="M0 0h7410v3900H0z"></path><path d="M0 450h7410m0 600H0m0 600h7410m0 600H0m0 600h7410m0 600H0" stroke="#fff" stroke-width="300"></path><path fill="#3c3b6e" d="M0 0h2964v2100H0z"></path><g fill="#fff"><g id="d"><g id="c"><g id="e"><g id="b"><path id="a" d="M247 90l70.534 217.082-184.66-134.164h228.253L176.466 307.082z"></path><use xlink:href="#a" y="420"></use><use xlink:href="#a" y="840"></use><use xlink:href="#a" y="1260"></use></g><use xlink:href="#a" y="1680"></use></g><use xlink:href="#b" x="247" y="210"></use></g><use xlink:href="#c" x="494"></use></g><use xlink:href="#d" x="988"></use><use xlink:href="#c" x="1976"></use><use xlink:href="#e" x="2470"></use></g>', 4), ds = [
9531
+ }, us = /* @__PURE__ */ Ar('<path fill="#b22234" d="M0 0h7410v3900H0z"></path><path d="M0 450h7410m0 600H0m0 600h7410m0 600H0m0 600h7410m0 600H0" stroke="#fff" stroke-width="300"></path><path fill="#3c3b6e" d="M0 0h2964v2100H0z"></path><g fill="#fff"><g id="d"><g id="c"><g id="e"><g id="b"><path id="a" d="M247 90l70.534 217.082-184.66-134.164h228.253L176.466 307.082z"></path><use xlink:href="#a" y="420"></use><use xlink:href="#a" y="840"></use><use xlink:href="#a" y="1260"></use></g><use xlink:href="#a" y="1680"></use></g><use xlink:href="#b" x="247" y="210"></use></g><use xlink:href="#c" x="494"></use></g><use xlink:href="#d" x="988"></use><use xlink:href="#c" x="1976"></use><use xlink:href="#e" x="2470"></use></g>', 4), ds = [
9529
9532
  us
9530
9533
  ];
9531
9534
  function cs(t, n) {
@@ -9544,7 +9547,7 @@ const fs = /* @__PURE__ */ vt(ls, [["render", cs]]), ms = {}, ps = {
9544
9547
  function vs(t, n) {
9545
9548
  return w(), H("svg", ps, gs);
9546
9549
  }
9547
- const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr = /* @__PURE__ */ L({
9550
+ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, gr = /* @__PURE__ */ L({
9548
9551
  __name: "FlagCountry",
9549
9552
  props: {
9550
9553
  code: { default: "xx" }
@@ -9561,14 +9564,14 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
9561
9564
  }
9562
9565
  });
9563
9566
  return (a, r) => (w(), H("div", bs, [
9564
- (w(), E(ya(c(e))))
9567
+ (w(), E(wa(c(e))))
9565
9568
  ]));
9566
9569
  }
9567
9570
  }), ws = /* @__PURE__ */ L({
9568
9571
  __name: "ALanguageSelect",
9569
9572
  emits: ["afterChange"],
9570
9573
  setup(t, { emit: n }) {
9571
- const e = we(Kn), a = we(Jr), r = we(Wr), { setLanguage: o } = ts(a, r), { currentLanguageCode: l } = ns(), f = (m) => {
9574
+ const e = ke(Zn), a = ke(Jr), r = ke(Wr), { setLanguage: o } = ts(a, r), { currentLanguageCode: l } = ns(), f = (m) => {
9572
9575
  o(m) && n("afterChange", m);
9573
9576
  }, u = x(() => {
9574
9577
  const m = zn.find((d) => d.code === l.value);
@@ -9581,7 +9584,7 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
9581
9584
  ));
9582
9585
  return (m, d) => (w(), E(Dt, null, {
9583
9586
  activator: g(({ props: v }) => [
9584
- b(oe, wa({
9587
+ b(oe, Ca({
9585
9588
  class: "pl-1",
9586
9589
  rounded: "pill"
9587
9590
  }, v, {
@@ -9589,14 +9592,14 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
9589
9592
  "data-cy": "settings-language"
9590
9593
  }), {
9591
9594
  default: g(() => [
9592
- b(ca, {
9595
+ b(ma, {
9593
9596
  class: "mr-1",
9594
9597
  size: "30"
9595
9598
  }, {
9596
9599
  default: g(() => {
9597
9600
  var k;
9598
9601
  return [
9599
- b(pr, {
9602
+ b(gr, {
9600
9603
  code: (k = c(u)) == null ? void 0 : k.code
9601
9604
  }, null, 8, ["code"])
9602
9605
  ];
@@ -9620,12 +9623,12 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
9620
9623
  default: g(() => [
9621
9624
  b(en, null, {
9622
9625
  default: g(() => [
9623
- b(ca, {
9626
+ b(ma, {
9624
9627
  class: "mr-1",
9625
9628
  size: "30"
9626
9629
  }, {
9627
9630
  default: g(() => [
9628
- b(pr, {
9631
+ b(gr, {
9629
9632
  code: v.code
9630
9633
  }, null, 8, ["code"])
9631
9634
  ]),
@@ -9649,21 +9652,21 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
9649
9652
  }));
9650
9653
  }
9651
9654
  });
9652
- const Vh = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["onClick"], Cs = /* @__PURE__ */ L({
9655
+ const Fh = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["onClick"], Cs = /* @__PURE__ */ L({
9653
9656
  __name: "ASystemBarNewVersion",
9654
9657
  setup(t) {
9655
9658
  const { t: n } = K(), e = () => {
9656
9659
  window.location.reload();
9657
9660
  };
9658
- return (a, r) => r[0] || (nr(-1), r[0] = te("span", { class: "system-bar-new-version" }, [
9661
+ return (a, r) => r[0] || (rr(-1), r[0] = te("span", { class: "system-bar-new-version" }, [
9659
9662
  z($(c(n)("common.system.newVersionText")) + " ", 1),
9660
9663
  te("span", {
9661
9664
  class: "text-decoration-underline cursor-pointer",
9662
9665
  onClick: ne(e, ["stop"])
9663
9666
  }, $(c(n)("common.system.newVersionReload")), 9, ks)
9664
- ]), nr(1), r[0]);
9667
+ ]), rr(1), r[0]);
9665
9668
  }
9666
- }), As = { class: "text-center w-100 text-caption pb-1" }, Ph = /* @__PURE__ */ L({
9669
+ }), As = { class: "text-center w-100 text-caption pb-1" }, Eh = /* @__PURE__ */ L({
9667
9670
  __name: "ASystemBar",
9668
9671
  props: {
9669
9672
  currentVersion: null,
@@ -9701,13 +9704,13 @@ const Vh = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
9701
9704
  }, {
9702
9705
  default: g(() => [
9703
9706
  te("div", As, [
9704
- (w(), E(ya(c(r))))
9707
+ (w(), E(wa(c(r))))
9705
9708
  ])
9706
9709
  ]),
9707
9710
  _: 1
9708
9711
  })) : Z("", !0);
9709
9712
  }
9710
- }), Ds = /* @__PURE__ */ te("div", null, null, -1), hr = /* @__PURE__ */ L({
9713
+ }), Ds = /* @__PURE__ */ te("div", null, null, -1), vr = /* @__PURE__ */ L({
9711
9714
  __name: "AAnzuUserAvatar",
9712
9715
  props: {
9713
9716
  user: { default: void 0 },
@@ -9727,15 +9730,15 @@ const Vh = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
9727
9730
  return o.length > 0 ? o : n.user.email.slice(0, 2);
9728
9731
  });
9729
9732
  return (o, l) => (w(), H(Ye, null, [
9730
- b(ca, {
9733
+ b(ma, {
9731
9734
  color: c(e),
9732
- class: be(["text-uppercase", t.containerClass]),
9735
+ class: we(["text-uppercase", t.containerClass]),
9733
9736
  size: t.size
9734
9737
  }, {
9735
9738
  default: g(() => [
9736
9739
  te("div", {
9737
9740
  class: "d-inline-flex text-white font-weight-light",
9738
- style: ua({ fontSize: c(a) })
9741
+ style: ca({ fontSize: c(a) })
9739
9742
  }, $(c(r)), 5)
9740
9743
  ]),
9741
9744
  _: 1
@@ -9749,7 +9752,7 @@ const Vh = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
9749
9752
  }, Ms = {
9750
9753
  key: 0,
9751
9754
  class: "required"
9752
- }, Ih = /* @__PURE__ */ L({
9755
+ }, Nh = /* @__PURE__ */ L({
9753
9756
  __name: "AAvatarColorPicker",
9754
9757
  props: {
9755
9758
  modelValue: null,
@@ -9826,7 +9829,7 @@ const Vh = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
9826
9829
  ]));
9827
9830
  }
9828
9831
  });
9829
- const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
9832
+ const xs = /* @__PURE__ */ te("br", null, null, -1), Lh = /* @__PURE__ */ L({
9830
9833
  __name: "ACurrentUserDropdown",
9831
9834
  props: {
9832
9835
  currentUser: null,
@@ -9842,7 +9845,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
9842
9845
  "data-cy": "navbar-user"
9843
9846
  }, {
9844
9847
  default: g(() => [
9845
- b(hr, {
9848
+ b(vr, {
9846
9849
  size: 32,
9847
9850
  user: t.currentUser
9848
9851
  }, null, 8, ["user"]),
@@ -9869,7 +9872,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
9869
9872
  lines: "two"
9870
9873
  }, {
9871
9874
  prepend: g(() => [
9872
- b(hr, {
9875
+ b(vr, {
9873
9876
  user: t.currentUser,
9874
9877
  size: 40
9875
9878
  }, null, 8, ["user"])
@@ -9909,7 +9912,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
9909
9912
  }, {
9910
9913
  default: g(() => [
9911
9914
  z($(c(n)("common.system.currentUser.logout")) + " ", 1),
9912
- b(Da, {
9915
+ b(Ma, {
9913
9916
  modelValue: e.value,
9914
9917
  "onUpdate:modelValue": r[2] || (r[2] = (o) => e.value = o),
9915
9918
  width: "auto"
@@ -9917,12 +9920,12 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
9917
9920
  default: g(() => [
9918
9921
  e.value ? (w(), E(nt, { key: 0 }, {
9919
9922
  default: g(() => [
9920
- b(Dr, {
9923
+ b(Mr, {
9921
9924
  density: "compact",
9922
9925
  color: "transparent"
9923
9926
  }, {
9924
9927
  default: g(() => [
9925
- b(_r, { class: "flex-fill" }, {
9928
+ b(xr, { class: "flex-fill" }, {
9926
9929
  default: g(() => [
9927
9930
  z($(c(n)("common.system.currentUser.logout")), 1)
9928
9931
  ]),
@@ -9940,13 +9943,13 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
9940
9943
  ]),
9941
9944
  _: 1
9942
9945
  }),
9943
- b(Cr, null, {
9946
+ b(Dr, null, {
9944
9947
  default: g(() => [
9945
9948
  z($(c(n)("common.system.currentUser.logoutText")), 1)
9946
9949
  ]),
9947
9950
  _: 1
9948
9951
  }),
9949
- b(ka, null, {
9952
+ b(Aa, null, {
9950
9953
  default: g(() => [
9951
9954
  b(Xt),
9952
9955
  b(oe, {
@@ -9998,7 +10001,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
9998
10001
  }), Ts = {
9999
10002
  key: 0,
10000
10003
  class: "required"
10001
- }, Eh = /* @__PURE__ */ L({
10004
+ }, zh = /* @__PURE__ */ L({
10002
10005
  __name: "AFormRemoteAutocompleteWithCached",
10003
10006
  props: {
10004
10007
  modelValue: null,
@@ -10027,9 +10030,9 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10027
10030
  set(D) {
10028
10031
  n("update:modelValue", ft(D));
10029
10032
  }
10030
- }), { t: f } = K(), u = we(at, void 0), p = we(rt, void 0), m = J(!1), d = J(""), v = J(!1), { innerFilter: k } = ba(e), I = Gn(e.filterSortBy), y = J(/* @__PURE__ */ new Map()), O = () => {
10033
+ }), { t: f } = K(), u = ke(at, void 0), p = ke(rt, void 0), m = J(!1), d = J(""), v = J(!1), { innerFilter: k } = ka(e), I = Qn(e.filterSortBy), y = J(/* @__PURE__ */ new Map()), O = () => {
10031
10034
  m.value = !0, n("focus", l.value);
10032
- }, V = () => {
10035
+ }, P = () => {
10033
10036
  var D;
10034
10037
  m.value = !1, (D = e.v) == null || D.$touch(), n("blur", l.value);
10035
10038
  }, F = x(() => {
@@ -10072,7 +10075,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10072
10075
  }, Me = J(0), W = () => {
10073
10076
  Me.value = Date.now();
10074
10077
  };
10075
- return _a(
10078
+ return xa(
10076
10079
  d,
10077
10080
  (D, C) => {
10078
10081
  D !== C && (ue(D), n("searchChangeDebounced", D));
@@ -10087,7 +10090,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10087
10090
  }), Oe(
10088
10091
  l,
10089
10092
  async (D) => {
10090
- if (ye(D) || S(D) || Ee(D) && D.length === 0)
10093
+ if (ve(D) || S(D) || Ee(D) && D.length === 0)
10091
10094
  return;
10092
10095
  const C = Ee(D) ? D : [D], _ = new Set(C);
10093
10096
  await ie(_), _.size > 0 && (r(Array.from(_)), a());
@@ -10104,11 +10107,11 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10104
10107
  clearable: t.clearable,
10105
10108
  "error-messages": c(F),
10106
10109
  loading: v.value,
10107
- onBlur: V,
10110
+ onBlur: P,
10108
10111
  onFocus: O,
10109
10112
  "onUpdate:search": ee,
10110
10113
  "onClick:clear": Q,
10111
- onKeydown: wr(W, ["delete"])
10114
+ onKeydown: Cr(W, ["delete"])
10112
10115
  }, nn({
10113
10116
  label: g(() => [
10114
10117
  t.hideLabel ? Z("", !0) : (w(), H("span", {
@@ -10123,7 +10126,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10123
10126
  props: _,
10124
10127
  item: M
10125
10128
  }, () => [
10126
- b(ct, wa(_, {
10129
+ b(ct, Ca(_, {
10127
10130
  text: M.title
10128
10131
  }), null, 16, ["text"])
10129
10132
  ])
@@ -10145,10 +10148,10 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10145
10148
  }
10146
10149
  ]), 1032, ["modelValue", "search", "items", "multiple", "clearable", "error-messages", "loading", "onKeydown"]));
10147
10150
  }
10148
- }), Ss = { class: "d-flex justify-center align-center fill-height" }, $s = { class: "d-flex justify-center align-center flex-column" }, Os = ["src"], Vs = {
10151
+ }), Ss = { class: "d-flex justify-center align-center fill-height" }, $s = { class: "d-flex justify-center align-center flex-column" }, Os = ["src"], Ps = {
10149
10152
  key: 0,
10150
10153
  class: "display-1 my-3"
10151
- }, Ps = { class: "mb-3 body-1" }, Is = { class: "py-5" }, Fs = /* @__PURE__ */ L({
10154
+ }, Vs = { class: "mb-3 body-1" }, Is = { class: "py-5" }, Fs = /* @__PURE__ */ L({
10152
10155
  __name: "ALoginView",
10153
10156
  props: {
10154
10157
  title: { default: void 0 },
@@ -10166,8 +10169,8 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10166
10169
  class: "logo pb-2",
10167
10170
  alt: ""
10168
10171
  }, null, 8, Os),
10169
- t.title ? (w(), H("h1", Vs, $(t.title), 1)) : Z("", !0),
10170
- te("h4", Ps, [
10172
+ t.title ? (w(), H("h1", Ps, $(t.title), 1)) : Z("", !0),
10173
+ te("h4", Vs, [
10171
10174
  te("span", null, $(c(e)("common.system.login.text")), 1)
10172
10175
  ]),
10173
10176
  te("div", Is, [
@@ -10187,7 +10190,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10187
10190
  ]));
10188
10191
  }
10189
10192
  });
10190
- const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @__PURE__ */ L({
10193
+ const jh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Bh = /* @__PURE__ */ L({
10191
10194
  __name: "ALogoutView",
10192
10195
  props: {
10193
10196
  logoutUrl: { type: [null, Function], default: void 0 }
@@ -10198,7 +10201,7 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
10198
10201
  n.logoutUrl && (window.location.href = n.logoutUrl());
10199
10202
  }), (e, a) => (w(), H("div"));
10200
10203
  }
10201
- }), Es = { class: "d-flex justify-center align-center fill-height" }, Ns = { class: "d-flex flex-column align-center" }, Ls = { class: "d-flex justify-center align-center text-primary" }, zs = { class: "pa-4" }, zh = /* @__PURE__ */ L({
10204
+ }), Es = { class: "d-flex justify-center align-center fill-height" }, Ns = { class: "d-flex flex-column align-center" }, Ls = { class: "d-flex justify-center align-center text-primary" }, zs = { class: "pa-4" }, Rh = /* @__PURE__ */ L({
10202
10205
  __name: "AUnauthorizedView",
10203
10206
  props: {
10204
10207
  returnRouteName: null
@@ -10228,7 +10231,7 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
10228
10231
  ])
10229
10232
  ]));
10230
10233
  }
10231
- }), js = { class: "d-flex justify-center align-center fill-height" }, Bs = { class: "d-flex flex-column align-center" }, Rs = { class: "d-flex justify-center align-center text-primary" }, Us = { class: "pa-4" }, jh = /* @__PURE__ */ L({
10234
+ }), js = { class: "d-flex justify-center align-center fill-height" }, Bs = { class: "d-flex flex-column align-center" }, Rs = { class: "d-flex justify-center align-center text-primary" }, Us = { class: "pa-4" }, Uh = /* @__PURE__ */ L({
10232
10235
  __name: "ANotFoundView",
10233
10236
  props: {
10234
10237
  returnRouteName: null
@@ -10258,7 +10261,7 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
10258
10261
  ])
10259
10262
  ]));
10260
10263
  }
10261
- }), Bh = /* @__PURE__ */ L({
10264
+ }), Yh = /* @__PURE__ */ L({
10262
10265
  __name: "AJobDetailCommon",
10263
10266
  props: {
10264
10267
  job: null,
@@ -10317,8 +10320,8 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
10317
10320
  }, null, 8, ["title", "value"])
10318
10321
  ]));
10319
10322
  }
10320
- }), Rh = (t) => t ? 1 : 0;
10321
- function Uh(t = "", n = "user") {
10323
+ }), Hh = (t) => t ? 1 : 0;
10324
+ function Jh(t = "", n = "user") {
10322
10325
  let e = t, a = n;
10323
10326
  return {
10324
10327
  createAnzuUser: (o, l) => (dt(o) && (e = o), dt(l) && (a = l), {
@@ -10347,7 +10350,7 @@ function Uh(t = "", n = "user") {
10347
10350
  })
10348
10351
  };
10349
10352
  }
10350
- function Yh() {
10353
+ function Wh() {
10351
10354
  return {
10352
10355
  createPermissionConfig: () => ({
10353
10356
  config: {},
@@ -10361,7 +10364,7 @@ function Yh() {
10361
10364
  })
10362
10365
  };
10363
10366
  }
10364
- function Hh() {
10367
+ function qh() {
10365
10368
  return {
10366
10369
  createPermissionGroup: () => ({
10367
10370
  id: 0,
@@ -10377,18 +10380,18 @@ function Hh() {
10377
10380
  })
10378
10381
  };
10379
10382
  }
10380
- const Jh = (t, n = 2) => {
10383
+ const Kh = (t, n = 2) => {
10381
10384
  if (t === 0)
10382
10385
  return "0 Bytes";
10383
10386
  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));
10384
10387
  return parseFloat((t / Math.pow(e, o)).toFixed(a)) + " " + r[o];
10385
- }, Tt = (t) => Fi.includes(t), St = (t, n, e = "") => Sr(n) ? t : Qo(e === "" ? t : e, n), Wh = (t, n, e = "", a = {}, r = null, o, l, f = {}) => new Promise((u, p) => {
10388
+ }, Tt = (t) => Fi.includes(t), St = (t, n, e = "") => Or(n) ? t : Qo(e === "" ? t : e, n), Gh = (t, n, e = "", a = {}, r = null, o, l, f = {}) => new Promise((u, p) => {
10386
10389
  const m = { method: n };
10387
- e !== "" && (m.url = St(e, a)), ye(r) || (m.data = JSON.stringify(r)), t().request({ ...f, ...m }).then((d) => Tt(d.status) ? d.data ? u(d.data) : p(new Pe()) : p(new ht(d.status))).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, l, d)) : xt(d) ? p(new gt(d, d)) : p(new Pe(d)));
10390
+ e !== "" && (m.url = St(e, a)), ve(r) || (m.data = JSON.stringify(r)), t().request({ ...f, ...m }).then((d) => Tt(d.status) ? d.data ? u(d.data) : p(new Ve()) : p(new ht(d.status))).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, l, d)) : xt(d) ? p(new gt(d, d)) : p(new Ve(d)));
10388
10391
  }), Ys = (t, n = {}, e, a = {}, r, o, l = {}) => new Promise((f, u) => {
10389
- t().post(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Pe()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Pe(p)));
10392
+ t().post(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Ve()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Ve(p)));
10390
10393
  }), Hs = (t, n, e = {}, a, r, o = {}) => new Promise((l, f) => {
10391
- t().delete(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : u.status === Pr ? l(null) : f(new Pe()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Pe(u)));
10394
+ t().delete(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : u.status === Fr ? l(null) : f(new Ve()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Ve(u)));
10392
10395
  });
10393
10396
  function oo() {
10394
10397
  const t = J([]), n = (m) => {
@@ -10396,12 +10399,12 @@ function oo() {
10396
10399
  }, e = (m, d) => {
10397
10400
  f("offset", m * d - d);
10398
10401
  }, a = (m, d) => {
10399
- !ye(m) && m.length > 0 && f("order[" + m + "]", d ? "desc" : "asc");
10400
- }, r = (m) => rr(m) ? m ? "1" : "0" : m, o = (m, d, v) => {
10402
+ !ve(m) && m.length > 0 && f("order[" + m + "]", d ? "desc" : "asc");
10403
+ }, r = (m) => ir(m) ? m ? "1" : "0" : m, o = (m, d, v) => {
10401
10404
  dt(v) && v.length === 0 || t.value.push("filter_" + m + "[" + d + "]=" + r(v));
10402
10405
  }, l = (m) => {
10403
10406
  const d = m.model;
10404
- return ye(d) ? m.mandatory ? (m.model = m.default, m.default) : null : dt(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : encodeURIComponent(d) : Ee(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : d.map((v) => dt(v) ? encodeURIComponent(v) : v).join(",") : Ma(d) || rr(d) ? d : null;
10407
+ return ve(d) ? m.mandatory ? (m.model = m.default, m.default) : null : dt(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : encodeURIComponent(d) : Ee(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : d.map((v) => dt(v) ? encodeURIComponent(v) : v).join(",") : Ta(d) || ir(d) ? d : null;
10405
10408
  }, f = (m, d) => {
10406
10409
  t.value.push(m + "=" + d);
10407
10410
  };
@@ -10417,7 +10420,7 @@ function oo() {
10417
10420
  if (k.exclude)
10418
10421
  continue;
10419
10422
  const y = l(k);
10420
- if (!ye(y)) {
10423
+ if (!ve(y)) {
10421
10424
  if (d) {
10422
10425
  f(I, y);
10423
10426
  continue;
@@ -10433,11 +10436,11 @@ function oo() {
10433
10436
  const Js = (t, n) => {
10434
10437
  const { querySetLimit: e, querySetOffset: a, querySetOrder: r, queryBuild: o, queryAddFilter: l, queryAdd: f } = oo(), u = t.length;
10435
10438
  return e(u), a(1, u), r("id", !1), n ? f("id", t.join(",")) : l("in", "id", t.join(",")), o();
10436
- }, qh = (t, n, e, a = {}, r, o, l = {}, f = !1) => new Promise((u, p) => {
10439
+ }, Zh = (t, n, e, a = {}, r, o, l = {}, f = !1) => new Promise((u, p) => {
10437
10440
  t().get(St(e, a) + Js(n, f), l).then((m) => {
10438
10441
  var d;
10439
- return Tt(m.status) ? (d = m.data) != null && d.data ? u(m.data.data) : p(new Pe()) : p(new ht(m.status));
10440
- }).catch((m) => _t(m) ? p(new mt(m)) : Mt(m) ? p(new pt(m, r, o, m)) : xt(m) ? p(new gt(m, m)) : p(new Pe(m)));
10442
+ return Tt(m.status) ? (d = m.data) != null && d.data ? u(m.data.data) : p(new Ve()) : p(new ht(m.status));
10443
+ }).catch((m) => _t(m) ? p(new mt(m)) : Mt(m) ? p(new pt(m, r, o, m)) : xt(m) ? p(new gt(m, m)) : p(new Ve(m)));
10441
10444
  }), Ws = (t) => qn(t) && Object.hasOwn(t, "totalCount"), qs = (t) => qn(t) && Object.hasOwn(t, "hasNextPage"), Ks = (t, n) => {
10442
10445
  const { querySetLimit: e, querySetOffset: a, querySetOrder: r, queryBuild: o, querySetFilters: l } = oo();
10443
10446
  return e(t.rowsPerPage), a(t.page, t.rowsPerPage), r(t.sortBy, t.descending), l(n), o();
@@ -10453,23 +10456,23 @@ const Js = (t, n) => {
10453
10456
  const v = d.data;
10454
10457
  return qs(v) ? a.hasNextPage = d.data.hasNextPage : Ws(v) && (a.totalCount = v.totalCount), a.currentViewCount = d.data.data.length, u(d.data.data);
10455
10458
  }
10456
- return p(new Pe());
10457
- }).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, l, d)) : xt(d) ? p(new gt(d, d)) : p(new Pe(d)));
10459
+ return p(new Ve());
10460
+ }).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, l, d)) : xt(d) ? p(new gt(d, d)) : p(new Ve(d)));
10458
10461
  }), Zs = (t, n, e = {}, a, r, o = {}) => new Promise((l, f) => {
10459
- t().get(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : f(new Pe()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Pe(u)));
10460
- }), Kh = (t, n = {}, e, a = {}, r, o, l = {}) => new Promise((f, u) => {
10461
- t().put(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Pe()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Pe(p)));
10462
+ t().get(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : f(new Ve()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Ve(u)));
10463
+ }), Qh = (t, n = {}, e, a = {}, r, o, l = {}) => new Promise((f, u) => {
10464
+ t().put(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Ve()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Ve(p)));
10462
10465
  });
10463
- function Gh() {
10466
+ function Xh() {
10464
10467
  return {
10465
- isAnzuFatalError: Vr,
10466
- isAnzuApiForbiddenError: Fr,
10467
- isAnzuApiValidationError: Er,
10468
- isAnzuApiResponseCodeError: Nr
10468
+ isAnzuFatalError: Ir,
10469
+ isAnzuApiForbiddenError: Nr,
10470
+ isAnzuApiValidationError: Lr,
10471
+ isAnzuApiResponseCodeError: zr
10469
10472
  };
10470
10473
  }
10471
10474
  const En = "/adm/v1/job", Nn = "job";
10472
- function Zh(t, n) {
10475
+ function eg(t, n) {
10473
10476
  return {
10474
10477
  fetchJobList: (l, f) => Gs(t, En, {}, l, f, n, Nn),
10475
10478
  fetchJob: (l) => Zs(t, En + "/:id", { id: l }, n, Nn),
@@ -10480,8 +10483,8 @@ function Zh(t, n) {
10480
10483
  deleteJob: (l) => Hs(t, En + "/:id", { id: l }, n, Nn)
10481
10484
  };
10482
10485
  }
10483
- const Qh = "jobUserDataDelete";
10484
- function Xh(t = []) {
10486
+ const tg = "jobUserDataDelete";
10487
+ function ng(t = []) {
10485
10488
  const { t: n } = K(), e = J([
10486
10489
  {
10487
10490
  value: "jobUserDataDelete",
@@ -10494,16 +10497,24 @@ function Xh(t = []) {
10494
10497
  getJobResourceOption: (r) => e.value.find((o) => o.value === r)
10495
10498
  };
10496
10499
  }
10497
- const eg = (t, n) => {
10500
+ const ag = (t, n) => {
10498
10501
  const e = t.indexOf(n);
10499
10502
  if (e === -1) {
10500
10503
  t.push(n);
10501
10504
  return;
10502
10505
  }
10503
10506
  t.splice(e, 1);
10504
- }, tg = (t, n = ", ") => t.join(n), ng = (...t) => Array.from(...t), Qs = (t, n = []) => t.reduce((e, a) => Array.isArray(a) ? Qs(a, n) : (n.push(a), n), []), Xs = (t) => {
10507
+ }, rg = (t, n = ", ") => t.join(n), og = (...t) => Array.from(...t), Qs = (t, n = []) => t.reduce((e, a) => Array.isArray(a) ? Qs(a, n) : (n.push(a), n), []), ig = (t, n) => {
10508
+ if (t.length !== n.length)
10509
+ return !1;
10510
+ const e = t.slice().sort(), a = n.slice().sort();
10511
+ for (let r = 0; r < e.length; r++)
10512
+ if (e[r] !== a[r])
10513
+ return !1;
10514
+ return !0;
10515
+ }, Xs = (t) => {
10505
10516
  history.replaceState(history.state, "", t);
10506
- }, ag = (t, n) => {
10517
+ }, lg = (t, n) => {
10507
10518
  const e = t.resolve(n);
10508
10519
  Xs(e.href);
10509
10520
  }, eu = "Badge", tu = "Close", nu = {
@@ -10598,7 +10609,7 @@ const eg = (t, n) => {
10598
10609
  recordWas: wu,
10599
10610
  idWasCopied: ku,
10600
10611
  textWasCopied: Cu
10601
- }, Du = "Create", _u = "Create And Close", Mu = "Save", xu = "Save And Close", Tu = "Close", Su = "Edit", $u = "Detail", Ou = "Apply Filter", Vu = "Reset Filter", Pu = "More filters", Iu = "Cancel", Fu = "Id", Eu = "Now", Nu = "Confirm", Lu = "Copy ID", zu = "Add", ju = "Download", Bu = "Upload", Ru = {
10612
+ }, Du = "Create", _u = "Create And Close", Mu = "Save", xu = "Save And Close", Tu = "Close", Su = "Edit", $u = "Detail", Ou = "Apply Filter", Pu = "Reset Filter", Vu = "More filters", Iu = "Cancel", Fu = "Id", Eu = "Now", Nu = "Confirm", Lu = "Copy ID", zu = "Add", ju = "Download", Bu = "Upload", Ru = {
10602
10613
  create: Du,
10603
10614
  createAndClose: _u,
10604
10615
  save: Mu,
@@ -10607,8 +10618,8 @@ const eg = (t, n) => {
10607
10618
  edit: Su,
10608
10619
  detail: $u,
10609
10620
  submitFilter: Ou,
10610
- resetFilter: Vu,
10611
- advancedFilters: Pu,
10621
+ resetFilter: Pu,
10622
+ advancedFilters: Vu,
10612
10623
  cancel: Iu,
10613
10624
  delete: "Delete",
10614
10625
  id: Fu,
@@ -10823,13 +10834,13 @@ const eg = (t, n) => {
10823
10834
  title: "Title"
10824
10835
  }, Od = {
10825
10836
  deleteConfirm: "Do you want to permanently remove the permission group from the system?"
10826
- }, Vd = {
10837
+ }, Pd = {
10827
10838
  meta: Td,
10828
10839
  model: Sd,
10829
10840
  filter: $d,
10830
10841
  button: Od
10831
- }, Pd = "Invalid", Id = "ID mismatch error when editing object. Please contact the administrator if needed.", Fd = "Required field is empty.", Ed = "Field does not meet minimum length requirement.", Nd = "Field does not meet maximum length requirement.", Ld = "Invalid field.", zd = "Field must be unique.", jd = "Value in field not found.", Bd = "Value must be greater.", Rd = "Value must be lower.", Ud = "Incorrect format.", Yd = "Url is in an incorrect format.", Hd = "Item already exists.", Jd = {
10832
- noTranslation: Pd,
10842
+ }, Vd = "Invalid", Id = "ID mismatch error when editing object. Please contact the administrator if needed.", Fd = "Required field is empty.", Ed = "Field does not meet minimum length requirement.", Nd = "Field does not meet maximum length requirement.", Ld = "Invalid field.", zd = "Field must be unique.", jd = "Value in field not found.", Bd = "Value must be greater.", Rd = "Value must be lower.", Ud = "Incorrect format.", Yd = "Url is in an incorrect format.", Hd = "Item already exists.", Jd = {
10843
+ noTranslation: Vd,
10833
10844
  error_id_mismatch: Id,
10834
10845
  error_field_empty: Fd,
10835
10846
  error_field_length_min: Ed,
@@ -10856,7 +10867,7 @@ const eg = (t, n) => {
10856
10867
  stringArrayItemLength: ac
10857
10868
  }, oc = "Chyba", ic = {
10858
10869
  noTranslation: oc
10859
- }, rg = {
10870
+ }, sg = {
10860
10871
  common: {
10861
10872
  alert: Au,
10862
10873
  button: Ru,
@@ -10866,7 +10877,7 @@ const eg = (t, n) => {
10866
10877
  job: yd,
10867
10878
  log: Ad,
10868
10879
  permission: xd,
10869
- permissionGroup: Vd
10880
+ permissionGroup: Pd
10870
10881
  },
10871
10882
  $vuetify: pu,
10872
10883
  error: {
@@ -10897,7 +10908,7 @@ const eg = (t, n) => {
10897
10908
  recordWas: fc,
10898
10909
  idWasCopied: mc,
10899
10910
  textWasCopied: pc
10900
- }, gc = "Vytvoriť", vc = "Vytvoriť a zatvoriť", yc = "Uložiť", bc = "Uložiť a zatvoriť", wc = "Zatvoriť", kc = "Editovať", Cc = "Detail", Ac = "Hľadať", Dc = "Zrušiť filter", _c = "Viac filtrov", Mc = "Zrušiť", xc = "ID", Tc = "Teraz", Sc = "Potvrď", $c = "Kopírovať ID", Oc = "Pridať", Vc = "Stiahnuť", Pc = "Nahratie", Ic = {
10911
+ }, gc = "Vytvoriť", vc = "Vytvoriť a zatvoriť", yc = "Uložiť", bc = "Uložiť a zatvoriť", wc = "Zatvoriť", kc = "Editovať", Cc = "Detail", Ac = "Hľadať", Dc = "Zrušiť filter", _c = "Viac filtrov", Mc = "Zrušiť", xc = "ID", Tc = "Teraz", Sc = "Potvrď", $c = "Kopírovať ID", Oc = "Pridať", Pc = "Stiahnuť", Vc = "Nahratie", Ic = {
10901
10912
  create: gc,
10902
10913
  createAndClose: vc,
10903
10914
  save: yc,
@@ -10915,8 +10926,8 @@ const eg = (t, n) => {
10915
10926
  confirm: Sc,
10916
10927
  copyId: $c,
10917
10928
  add: Oc,
10918
- download: Vc,
10919
- Upload: Pc
10929
+ download: Pc,
10930
+ Upload: Vc
10920
10931
  }, Fc = "Systém", Ec = "Nevybrané", Nc = {
10921
10932
  true: "áno",
10922
10933
  false: "nie"
@@ -11155,7 +11166,7 @@ const eg = (t, n) => {
11155
11166
  nextYearAriaLabel: "Ďalší rok",
11156
11167
  prevMonthAriaLabel: "Predchádzajúci mesiac",
11157
11168
  prevYearAriaLabel: "Predchádzajúci rok"
11158
- }, Vf = "Žiadne dostupné dáta", Pf = {
11169
+ }, Pf = "Žiadne dostupné dáta", Vf = {
11159
11170
  prev: "Predchádzajúci krok",
11160
11171
  next: "Nasledujúci krok",
11161
11172
  ariaLabel: {
@@ -11194,8 +11205,8 @@ const eg = (t, n) => {
11194
11205
  dataTable: Sf,
11195
11206
  dataFooter: $f,
11196
11207
  datePicker: Of,
11197
- noDataText: Vf,
11198
- carousel: Pf,
11208
+ noDataText: Pf,
11209
+ carousel: Vf,
11199
11210
  calendar: If,
11200
11211
  input: Ff,
11201
11212
  fileInput: Ef,
@@ -11230,7 +11241,7 @@ const eg = (t, n) => {
11230
11241
  numeric: cm,
11231
11242
  slug: fm,
11232
11243
  stringArrayItemLength: mm
11233
- }, og = {
11244
+ }, ug = {
11234
11245
  common: {
11235
11246
  alert: hc,
11236
11247
  button: Ic,
@@ -11291,14 +11302,14 @@ function Dm() {
11291
11302
  }
11292
11303
  const { t: _m } = le.global;
11293
11304
  function Mm() {
11294
- return Ge({ t: _m })(Vo, {
11305
+ return Ge({ t: _m })(Po, {
11295
11306
  withArguments: !0,
11296
11307
  messagePath: () => "error.jsValidation.minValue"
11297
11308
  });
11298
11309
  }
11299
11310
  const { t: xm } = le.global;
11300
11311
  function Tm() {
11301
- return Ge({ t: xm })(Po, {
11312
+ return Ge({ t: xm })(Vo, {
11302
11313
  messagePath: () => "error.jsValidation.numeric"
11303
11314
  });
11304
11315
  }
@@ -11309,14 +11320,14 @@ function $m() {
11309
11320
  });
11310
11321
  }
11311
11322
  const { t: Om } = le.global;
11312
- function Vm() {
11313
- return Ge({ t: Om })(Tr.regex(/^[a-z\-0-9/]+$/), {
11323
+ function Pm() {
11324
+ return Ge({ t: Om })($r.regex(/^[a-z\-0-9/]+$/), {
11314
11325
  messagePath: () => "error.jsValidation.slug"
11315
11326
  });
11316
11327
  }
11317
- const { t: Pm } = le.global;
11328
+ const { t: Vm } = le.global;
11318
11329
  function Im() {
11319
- const t = Ge({ t: Pm }), n = (a, r) => (o) => !Tr.req(o) || o.every((l) => l.length >= c(a) && l.length <= c(r));
11330
+ const t = Ge({ t: Vm }), n = (a, r) => (o) => !$r.req(o) || o.every((l) => l.length >= c(a) && l.length <= c(r));
11320
11331
  return t((a, r) => ({
11321
11332
  $validator: n(a, r),
11322
11333
  // $message not required when using i18n
@@ -11340,7 +11351,7 @@ function Em() {
11340
11351
  messagePath: () => "error.jsValidation.url"
11341
11352
  });
11342
11353
  }
11343
- function ig() {
11354
+ function dg() {
11344
11355
  return {
11345
11356
  required: $m(),
11346
11357
  requiredIf: Qr(),
@@ -11351,25 +11362,25 @@ function ig() {
11351
11362
  between: gm(),
11352
11363
  email: ym(),
11353
11364
  numeric: Tm(),
11354
- slug: Vm(),
11365
+ slug: Pm(),
11355
11366
  url: Em(),
11356
11367
  stringArrayItemLength: Im()
11357
11368
  };
11358
11369
  }
11359
- const Nm = ["createdAt", "modifiedAt"], { t: gr } = le.global || le, Lm = {
11370
+ const Nm = ["createdAt", "modifiedAt"], { t: yr } = le.global || le, Lm = {
11360
11371
  key: "",
11361
11372
  title: void 0,
11362
11373
  sortable: !1,
11363
11374
  fixed: !1
11364
11375
  };
11365
- function lg(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
11366
- const l = Gn();
11376
+ function cg(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
11377
+ const l = Qn();
11367
11378
  if (o)
11368
11379
  for (const m of Object.keys(l))
11369
11380
  m in o && (l[m] = o[m]);
11370
11381
  const f = t.map((m) => {
11371
11382
  const d = { ...Lm, ...m };
11372
- return S(d.title) && (S(d.title) && Nm.includes(d.key) ? d.title = gr("common.model.tracking." + d.key) : S(d.title) && e && a ? d.title = gr(e + "." + a + ".model." + d.key) : d.title = ""), d;
11383
+ return S(d.title) && (S(d.title) && Nm.includes(d.key) ? d.title = yr("common.model.tracking." + d.key) : S(d.title) && e && a ? d.title = yr(e + "." + a + ".model." + d.key) : d.title = ""), d;
11373
11384
  }), u = x(() => {
11374
11385
  const m = [];
11375
11386
  return f.forEach((d) => {
@@ -11390,12 +11401,12 @@ function lg(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
11390
11401
  pagination: l
11391
11402
  };
11392
11403
  }
11393
- const sg = () => ({
11404
+ const fg = () => ({
11394
11405
  commonAliases: () => ({
11395
- ABtnPrimary: Vn,
11396
- ABtnSecondary: Vn,
11397
- ABtnTertiary: Vn,
11398
- ABtnIcon: Vn,
11406
+ ABtnPrimary: Pn,
11407
+ ABtnSecondary: Pn,
11408
+ ABtnTertiary: Pn,
11409
+ ABtnIcon: Pn,
11399
11410
  AChipNoLink: Ro
11400
11411
  }),
11401
11412
  commonDefaults: () => ({
@@ -11501,16 +11512,16 @@ const sg = () => ({
11501
11512
  }
11502
11513
  })
11503
11514
  });
11504
- function ug(t, n, e, a = "id") {
11505
- const r = J(/* @__PURE__ */ new Map()), o = J(/* @__PURE__ */ new Set()), l = (...V) => {
11515
+ function mg(t, n, e, a = "id") {
11516
+ const r = J(/* @__PURE__ */ new Map()), o = J(/* @__PURE__ */ new Set()), l = (...P) => {
11506
11517
  const F = J(/* @__PURE__ */ new Set());
11507
- for (let R = 0; R < V.length; R++) {
11508
- const U = V[R];
11509
- if (!(ye(U) || S(U))) {
11518
+ for (let R = 0; R < P.length; R++) {
11519
+ const U = P[R];
11520
+ if (!(ve(U) || S(U))) {
11510
11521
  if (Ee(U)) {
11511
11522
  for (let ae = 0; ae < U.length; ae++) {
11512
11523
  const ee = U[ae];
11513
- ye(ee) || S(ee) || r.value.has(ee) || F.value.add(ee);
11524
+ ve(ee) || S(ee) || r.value.has(ee) || F.value.add(ee);
11514
11525
  }
11515
11526
  continue;
11516
11527
  }
@@ -11520,21 +11531,21 @@ function ug(t, n, e, a = "id") {
11520
11531
  F.value.forEach((R) => {
11521
11532
  r.value.set(R, { ...n(R), _loaded: !1 }), o.value.add(R);
11522
11533
  });
11523
- }, f = (V) => {
11524
- V[a] && r.value.set(V[a], { ...t(V), _loaded: !0 });
11525
- }, u = (V) => {
11526
- V[a] && r.value.set(V[a], { ...V, _loaded: !0 });
11527
- }, p = (V) => {
11528
- for (let F = 0; F < V.length; F += 1)
11529
- r.value.set(V[F][a], { ...t(V[F]), _loaded: !0 });
11530
- }, m = (V) => {
11531
- for (let F = 0; F < V.length; F += 1)
11532
- o.value.delete(V[F]);
11534
+ }, f = (P) => {
11535
+ P[a] && r.value.set(P[a], { ...t(P), _loaded: !0 });
11536
+ }, u = (P) => {
11537
+ P[a] && r.value.set(P[a], { ...P, _loaded: !0 });
11538
+ }, p = (P) => {
11539
+ for (let F = 0; F < P.length; F += 1)
11540
+ r.value.set(P[F][a], { ...t(P[F]), _loaded: !0 });
11541
+ }, m = (P) => {
11542
+ for (let F = 0; F < P.length; F += 1)
11543
+ o.value.delete(P[F]);
11533
11544
  };
11534
11545
  async function d() {
11535
11546
  if (o.value.size > 0) {
11536
- const V = Array.from(o.value), F = await e(V);
11537
- m(V), p(F);
11547
+ const P = Array.from(o.value), F = await e(P);
11548
+ m(P), p(F);
11538
11549
  }
11539
11550
  }
11540
11551
  const v = Ao(
@@ -11553,20 +11564,20 @@ function ug(t, n, e, a = "id") {
11553
11564
  add: l,
11554
11565
  addManual: f,
11555
11566
  addManualMinimal: u,
11556
- has: (V) => V ? r.value.has(V) : !1,
11557
- get: (V) => {
11558
- if (V)
11559
- return r.value.get(V);
11567
+ has: (P) => P ? r.value.has(P) : !1,
11568
+ get: (P) => {
11569
+ if (P)
11570
+ return r.value.get(P);
11560
11571
  },
11561
- isLoaded: (V) => {
11562
- if (!V)
11572
+ isLoaded: (P) => {
11573
+ if (!P)
11563
11574
  return !1;
11564
- const F = r.value.get(V);
11575
+ const F = r.value.get(P);
11565
11576
  return F ? F._loaded : !1;
11566
11577
  }
11567
11578
  };
11568
11579
  }
11569
- async function dg() {
11580
+ async function pg() {
11570
11581
  (await import("./webfontloader-e9985fe5.js").then((n) => n.w)).load({
11571
11582
  google: {
11572
11583
  families: ["Roboto:100,300,400,500,700,900&display=swap"]
@@ -11574,7 +11585,7 @@ async function dg() {
11574
11585
  // urls: ['https://cdn.jsdelivr.net/npm/@mdi/font@5.x/css/materialdesignicons.min.css']
11575
11586
  });
11576
11587
  }
11577
- function cg() {
11588
+ function hg() {
11578
11589
  const t = (e, a) => ({
11579
11590
  id: 0,
11580
11591
  status: eo.Default,
@@ -11600,93 +11611,93 @@ function cg() {
11600
11611
  };
11601
11612
  }
11602
11613
  export {
11603
- Ch as AActionCloseButton,
11604
- Ah as AActionCreateButton,
11605
- Dh as AActionDeleteButton,
11606
- _h as AActionEditButton,
11607
- Mh as AActionSaveAndCloseButton,
11608
- xh as AActionSaveButton,
11614
+ _h as AActionCloseButton,
11615
+ Mh as AActionCreateButton,
11616
+ xh as AActionDeleteButton,
11617
+ Th as AActionEditButton,
11618
+ Sh as AActionSaveAndCloseButton,
11619
+ $h as AActionSaveButton,
11609
11620
  Bp as AAdminSwitcher,
11610
11621
  wp as AAlerts,
11611
- hr as AAnzuUserAvatar,
11612
- Ih as AAvatarColorPicker,
11622
+ vr as AAnzuUserAvatar,
11623
+ Nh as AAvatarColorPicker,
11613
11624
  bp as ABooleanValue,
11614
- vh as ACachedChip,
11625
+ wh as ACachedChip,
11615
11626
  kp as ACard,
11616
11627
  qo as ACardLoader,
11617
- wh as AChipNoLink,
11618
- bh as ACopyText,
11628
+ Ah as AChipNoLink,
11629
+ Ch as ACopyText,
11619
11630
  jp as ACreateDialog,
11620
- Fh as ACurrentUserDropdown,
11631
+ Lh as ACurrentUserDropdown,
11621
11632
  Fp as ADatatableConfigButton,
11622
11633
  Ep as ADatatableOrdering,
11623
11634
  Ip as ADatatablePagination,
11624
11635
  Rn as ADatetime,
11625
- $r as ADialogToolbar,
11636
+ Pr as ADialogToolbar,
11626
11637
  Rp as AEmptyRouterView,
11627
11638
  al as AFilterAdvancedButton,
11628
- hh as AFilterBooleanGroup,
11629
- gh as AFilterBooleanSelect,
11630
- lh as AFilterDatetimePicker,
11631
- Qp as AFilterInteger,
11632
- ph as AFilterRemoteAutocomplete,
11639
+ yh as AFilterBooleanGroup,
11640
+ bh as AFilterBooleanSelect,
11641
+ dh as AFilterDatetimePicker,
11642
+ th as AFilterInteger,
11643
+ vh as AFilterRemoteAutocomplete,
11633
11644
  ol as AFilterResetButton,
11634
- Zp as AFilterString,
11645
+ eh as AFilterString,
11635
11646
  rl as AFilterSubmitButton,
11636
- mh as AFilterValueObjectOptionsSelect,
11637
- Xp as AFilterWrapper,
11638
- Vp as AFormBooleanToggle,
11639
- ih as AFormDatetimePicker,
11640
- uh as AFormRemoteAutocomplete,
11641
- Eh as AFormRemoteAutocompleteWithCached,
11642
- dh as AFormRemoteCheckbox,
11643
- ch as AFormRemoteSwitch,
11647
+ gh as AFilterValueObjectOptionsSelect,
11648
+ nh as AFilterWrapper,
11649
+ Pp as AFormBooleanToggle,
11650
+ uh as AFormDatetimePicker,
11651
+ fh as AFormRemoteAutocomplete,
11652
+ zh as AFormRemoteAutocompleteWithCached,
11653
+ mh as AFormRemoteCheckbox,
11654
+ ph as AFormRemoteSwitch,
11644
11655
  $p as AFormTextField,
11645
11656
  Op as AFormTextarea,
11646
- fh as AFormValueObjectOptionsSelect,
11657
+ hh as AFormValueObjectOptionsSelect,
11647
11658
  no as AIconGroup,
11648
- Bh as AJobDetailCommon,
11659
+ Yh as AJobDetailCommon,
11649
11660
  Ll as AJobStatusChip,
11650
- Vh as ALanguageSelect,
11661
+ Fh as ALanguageSelect,
11651
11662
  Np as ALogData,
11652
- yh as ALogLevelChip,
11653
- Nh as ALoginView,
11654
- Lh as ALogoutView,
11655
- jh as ANotFoundView,
11656
- eh as APermissionGrantEditor,
11657
- th as APermissionValueChip,
11663
+ kh as ALogLevelChip,
11664
+ jh as ALoginView,
11665
+ Bh as ALogoutView,
11666
+ Uh as ANotFoundView,
11667
+ ah as APermissionGrantEditor,
11668
+ rh as APermissionValueChip,
11658
11669
  tt as ARow,
11659
- Ph as ASystemBar,
11660
- Pp as ASystemEntityScope,
11661
- Th as ATableCopyIdButton,
11662
- Sh as ATableDetailButton,
11663
- $h as ATableEditButton,
11664
- Oh as AThemeSelect,
11665
- Kp as ATimeTrackingFields,
11666
- zh as AUnauthorizedView,
11667
- kh as AUserAndTimeTrackingFields,
11670
+ Eh as ASystemBar,
11671
+ Vp as ASystemEntityScope,
11672
+ Oh as ATableCopyIdButton,
11673
+ Ph as ATableDetailButton,
11674
+ Vh as ATableEditButton,
11675
+ Ih as AThemeSelect,
11676
+ Qp as ATimeTrackingFields,
11677
+ Rh as AUnauthorizedView,
11678
+ Dh as AUserAndTimeTrackingFields,
11668
11679
  cl as Acl,
11669
11680
  mt as AnzuApiForbiddenError,
11670
11681
  gt as AnzuApiForbiddenOperationError,
11671
11682
  ht as AnzuApiResponseCodeError,
11672
11683
  pt as AnzuApiValidationError,
11673
- Pe as AnzuFatalError,
11674
- oh as AnzuSystemsCommonAdmin,
11684
+ Ve as AnzuFatalError,
11685
+ sh as AnzuSystemsCommonAdmin,
11675
11686
  Jr as AvailableLanguagesSymbol,
11676
- mr as COMMON_CONFIG,
11677
- jr as DATETIME_MAX,
11678
- zr as DATETIME_MIN,
11687
+ hr as COMMON_CONFIG,
11688
+ Gn as DATETIME_MAX,
11689
+ Kn as DATETIME_MIN,
11679
11690
  Wr as DefaultLanguageSymbol,
11680
11691
  Ln as Grant,
11681
11692
  Rr as GrantOrigin,
11682
11693
  Lp as HTTP_STATUS_BAD_REQUEST,
11683
- Pi as HTTP_STATUS_CREATED,
11694
+ Vi as HTTP_STATUS_CREATED,
11684
11695
  Ii as HTTP_STATUS_FORBIDDEN,
11685
- Pr as HTTP_STATUS_NO_CONTENT,
11686
- Vi as HTTP_STATUS_OK,
11696
+ Fr as HTTP_STATUS_NO_CONTENT,
11697
+ Pi as HTTP_STATUS_OK,
11687
11698
  zp as HTTP_STATUS_UNAUTHORIZED,
11688
- Ir as HTTP_STATUS_UNPROCESSABLE_ENTITY,
11689
- Qh as JOB_RESOURCE_USER_DATA_DELETE,
11699
+ Er as HTTP_STATUS_UNPROCESSABLE_ENTITY,
11700
+ tg as JOB_RESOURCE_USER_DATA_DELETE,
11690
11701
  eo as JobStatus,
11691
11702
  Bl as LogLevel,
11692
11703
  Bi as NEW_LINE_MARK,
@@ -11694,69 +11705,72 @@ export {
11694
11705
  rt as SubjectScopeSymbol,
11695
11706
  at as SystemScopeSymbol,
11696
11707
  Kl as Theme,
11697
- Wh as apiAnyRequest,
11708
+ Gh as apiAnyRequest,
11698
11709
  Ys as apiCreateOne,
11699
11710
  Hs as apiDeleteOne,
11700
- qh as apiFetchByIds,
11711
+ Zh as apiFetchByIds,
11701
11712
  Gs as apiFetchList,
11702
11713
  Zs as apiFetchOne,
11703
- Kh as apiUpdateOne,
11714
+ Qh as apiUpdateOne,
11704
11715
  Qs as arrayFlatten,
11705
- ng as arrayFromArgs,
11706
- eg as arrayItemToggle,
11707
- tg as arrayToString,
11716
+ og as arrayFromArgs,
11717
+ ag as arrayItemToggle,
11718
+ rg as arrayToString,
11719
+ ig as arraysHaveSameElements,
11708
11720
  xt as axiosErrorResponseHasForbiddenOperationData,
11709
11721
  Mt as axiosErrorResponseHasValidationData,
11710
11722
  _t as axiosErrorResponseIsForbidden,
11711
- Rh as booleanToInteger,
11712
- ag as browserHistoryReplaceUrlByRouter,
11723
+ Hh as booleanToInteger,
11724
+ lg as browserHistoryReplaceUrlByRouter,
11713
11725
  Xs as browserHistoryReplaceUrlByString,
11714
11726
  ft as cloneDeep,
11715
- lg as createDatatableColumnsConfig,
11727
+ cg as createDatatableColumnsConfig,
11728
+ Zp as dateDiff,
11716
11729
  Jp as dateModifyMinutes,
11717
11730
  Zi as dateNow,
11731
+ Kp as datePretty,
11718
11732
  Hp as dateTimeEndOfDay,
11719
11733
  qp as dateTimeFriendly,
11720
11734
  Lt as dateTimeNow,
11721
- pa as dateTimePretty,
11735
+ ga as dateTimePretty,
11722
11736
  Yp as dateTimeStartOfDay,
11723
11737
  Qi as dateToUtc,
11724
- ug as defineCached,
11738
+ mg as defineCached,
11725
11739
  st as eventClickBlur,
11726
11740
  le as i18n,
11727
- Fr as isAnzuApiForbiddenError,
11741
+ Nr as isAnzuApiForbiddenError,
11728
11742
  zi as isAnzuApiForbiddenOperationError,
11729
- Nr as isAnzuApiResponseCodeError,
11730
- Er as isAnzuApiValidationError,
11731
- Vr as isAnzuFatalError,
11743
+ zr as isAnzuApiResponseCodeError,
11744
+ Lr as isAnzuApiValidationError,
11745
+ Ir as isAnzuFatalError,
11732
11746
  Ee as isArray,
11733
- rr as isBoolean,
11747
+ ir as isBoolean,
11734
11748
  ul as isCreatedByAware,
11735
- ar as isDefined,
11749
+ or as isDefined,
11736
11750
  Cp as isDocId,
11737
11751
  Dp as isEmpty,
11738
11752
  Ko as isEmptyArray,
11739
- Sr as isEmptyObject,
11753
+ Or as isEmptyObject,
11740
11754
  Ap as isInt,
11741
- ye as isNull,
11742
- Ma as isNumber,
11755
+ ve as isNull,
11756
+ Ta as isNumber,
11743
11757
  qn as isObject,
11744
11758
  sl as isOwnerAware,
11745
11759
  dt as isString,
11746
11760
  S as isUndefined,
11747
11761
  Tt as isValidHTTPStatus,
11748
- dg as loadCommonFonts,
11749
- Gp as makeFilterHelper,
11750
- rg as messagesEn,
11751
- og as messagesSk,
11762
+ pg as loadCommonFonts,
11763
+ Xp as makeFilterHelper,
11764
+ sg as messagesEn,
11765
+ ug as messagesSk,
11752
11766
  ts as modifyLanguageSettings,
11753
11767
  to as numberToString,
11754
11768
  Ur as objectDeepFreeze,
11755
- rh as objectDeletePropertyByPath,
11769
+ lh as objectDeletePropertyByPath,
11756
11770
  Yr as objectGetValueByPath,
11757
- nh as objectGetValues,
11758
- ah as objectSetValueByPath,
11759
- Jh as prettyBytes,
11771
+ oh as objectGetValues,
11772
+ ih as objectSetValueByPath,
11773
+ Kh as prettyBytes,
11760
11774
  Sp as stringNormalizeForSlotName,
11761
11775
  lt as stringSplitOnFirstOccurrence,
11762
11776
  _p as stringToFloat,
@@ -11766,29 +11780,30 @@ export {
11766
11780
  xp as stringTrimLength,
11767
11781
  Qo as stringUrlTemplateReplace,
11768
11782
  Tp as stringUrlTemplateReplaceVueRouter,
11783
+ Gp as timePretty,
11769
11784
  Up as timestampCurrent,
11770
11785
  dl as useAcl,
11771
- Ta as useAlerts,
11772
- Uh as useAnzuUserFactory,
11786
+ $a as useAlerts,
11787
+ Jh as useAnzuUserFactory,
11773
11788
  oo as useApiQueryBuilder,
11774
- cg as useCommonJobFactory,
11775
- sg as useCommonVuetifyConfig,
11776
- Gh as useErrors,
11777
- $a as useFilterHelpers,
11789
+ hg as useCommonJobFactory,
11790
+ fg as useCommonVuetifyConfig,
11791
+ Xh as useErrors,
11792
+ Pa as useFilterHelpers,
11778
11793
  Br as useGrant,
11779
11794
  il as useGrantOrigin,
11780
- pg as useI18n,
11781
- Zh as useJobApi,
11782
- Xh as useJobBaseResource,
11795
+ yg as useI18n,
11796
+ eg as useJobApi,
11797
+ ng as useJobBaseResource,
11783
11798
  Nl as useJobStatus,
11784
11799
  ns as useLanguageSettings,
11785
11800
  Rl as useLogLevel,
11786
- Gn as usePagination,
11787
- sh as usePaginationAutoHide,
11788
- Yh as usePermissionConfigFactory,
11789
- Hh as usePermissionGroupFactory,
11801
+ Qn as usePagination,
11802
+ ch as usePaginationAutoHide,
11803
+ Wh as usePermissionConfigFactory,
11804
+ qh as usePermissionGroupFactory,
11790
11805
  Zl as useTheme,
11791
- ig as useValidate,
11806
+ dg as useValidate,
11792
11807
  Wp as yearNow
11793
11808
  };
11794
11809
  //# sourceMappingURL=common-admin.es.js.map