@anzusystems/common-admin 0.0.44 → 0.0.45

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,9 +1,9 @@
1
1
  var io = Object.defineProperty;
2
2
  var lo = (t, n, e) => n in t ? io(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
3
3
  var Sn = (t, n, e) => (lo(t, typeof n != "symbol" ? n + "" : n, e), e);
4
- import { defineComponent as L, computed as T, openBlock as k, createBlock as E, unref as f, withCtx as y, createTextVNode as B, toDisplayString as $, createElementBlock as H, createVNode as w, createCommentVNode as Z, renderSlot as Ae, createElementVNode as te, resolveComponent as Et, normalizeClass as ke, withModifiers as re, withDirectives as vr, vShow as yr, isProxy as so, toRaw as uo, isRef as ze, inject as be, createSlots as tn, Fragment as Ue, provide as Xa, watch as Pe, renderList as Ct, ref as J, TransitionGroup as br, normalizeStyle as sa, resolveDynamicComponent as va, onMounted as Nt, h as co, nextTick as fo, withKeys as wr, reactive as mo, toRefs as ya, shallowRef as er, readonly as Wt, mergeProps as ba, createStaticVNode as kr, setBlockTracking as tr, onBeforeUnmount as po } from "vue";
4
+ import { defineComponent as L, computed as T, openBlock as k, createBlock as E, unref as f, withCtx as y, createTextVNode as B, toDisplayString as $, createElementBlock as H, createVNode as w, createCommentVNode as Z, renderSlot as Ae, createElementVNode as te, resolveComponent as Et, normalizeClass as ke, withModifiers as re, withDirectives as vr, vShow as yr, isProxy as so, toRaw as uo, isRef as ze, inject as be, createSlots as tn, Fragment as Ue, provide as Xa, watch as Ie, renderList as Ct, ref as J, TransitionGroup as br, normalizeStyle as sa, resolveDynamicComponent as va, onMounted as Nt, h as co, nextTick as fo, withKeys as wr, reactive as mo, toRefs as ya, shallowRef as er, readonly as Wt, mergeProps as ba, createStaticVNode as kr, setBlockTracking as tr, onBeforeUnmount as po } from "vue";
5
5
  import { useI18n as G, createI18n as ho } from "vue-i18n";
6
- import { useI18n as sg } from "vue-i18n";
6
+ import { useI18n as ug } from "vue-i18n";
7
7
  import { VChip as dt } from "vuetify/lib/components/VChip/index.mjs";
8
8
  import { VRow as ua, VCol as Jt, VSpacer as Qt } from "vuetify/lib/components/VGrid/index.mjs";
9
9
  import { VAlert as go } from "vuetify/lib/components/VAlert/index.mjs";
@@ -24,7 +24,7 @@ import { VDialog as _a } from "vuetify/lib/components/VDialog/index.mjs";
24
24
  import { useFetch as bo, watchDebounced as Da, useClipboard as Mr, useStorage as xr, useIntervalFn as wo, useDebounceFn as ko } from "@vueuse/core";
25
25
  import { VExpandTransition as Co } from "vuetify/lib/components/transitions/index.mjs";
26
26
  import _o from "@vuelidate/core";
27
- import { createI18nMessage as Ke, requiredIf as Do, between as Ao, email as Mo, maxLength as xo, maxValue as To, minLength as So, minValue as $o, numeric as Oo, required as Io, helpers as Tr, url as Po } from "@vuelidate/validators";
27
+ import { createI18nMessage as Ke, requiredIf as Do, between as Ao, email as Mo, maxLength as xo, maxValue as To, minLength as So, minValue as $o, numeric as Oo, required as Po, helpers as Tr, url as Io } from "@vuelidate/validators";
28
28
  import { VAutocomplete as an } from "vuetify/lib/components/VAutocomplete/index.mjs";
29
29
  import { VCheckboxBtn as Vo } from "vuetify/lib/components/VCheckbox/index.mjs";
30
30
  import { VSwitch as Fo } from "vuetify/lib/components/VSwitch/index.mjs";
@@ -159,10 +159,10 @@ const yp = /* @__PURE__ */ L({
159
159
  _: 3
160
160
  }, 8, ["title", "loading"]));
161
161
  }
162
- }), S = (t) => typeof t > "u", nr = (t) => !S(t), ye = (t) => t === null, Aa = (t) => typeof t == "number", ut = (t) => typeof t == "string", Oe = (t) => Array.isArray(t), ar = (t) => typeof t == "boolean", bp = (t) => ut(t) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(t), wp = (t) => {
162
+ }), S = (t) => typeof t > "u", nr = (t) => !S(t), ve = (t) => t === null, Aa = (t) => typeof t == "number", ut = (t) => typeof t == "string", Oe = (t) => Array.isArray(t), ar = (t) => typeof t == "boolean", bp = (t) => ut(t) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(t), wp = (t) => {
163
163
  const n = parseFloat(t);
164
164
  return !isNaN(t) && (n | 0) === n;
165
- }, Wn = (t) => typeof t == "object" && !Oe(t) && !ye(t), Sr = (t) => Wn(t) ? Object.keys(t).length === 0 : !1, Wo = (t) => Oe(t) && t.length === 0, kp = (t) => ye(t) || S(t) || t === "" || t === 0 || Wo(t) || Sr(t), ct = (t) => {
165
+ }, Wn = (t) => typeof t == "object" && !Oe(t) && !ve(t), Sr = (t) => Wn(t) ? Object.keys(t).length === 0 : !1, Wo = (t) => Oe(t) && t.length === 0, kp = (t) => ve(t) || S(t) || t === "" || t === 0 || Wo(t) || Sr(t), ct = (t) => {
166
166
  if (typeof structuredClone == "function")
167
167
  try {
168
168
  return so(t) ? structuredClone(uo(t)) : ze(t) ? structuredClone(f(t)) : structuredClone(t);
@@ -202,10 +202,21 @@ const yp = /* @__PURE__ */ L({
202
202
  const s = r.substring(1);
203
203
  S(n[s]) || (e[o] = n[r.substring(1)] + "");
204
204
  }), e.join("/");
205
- }, Ap = (t) => t.replace(".", "-"), nt = Symbol.for("anzu:system-scope"), at = Symbol.for("anzu:subject-scope"), Zo = {
205
+ }, Ap = (t, n) => {
206
+ if (t.indexOf(":") === -1)
207
+ return t;
208
+ const e = [], a = t.split("/");
209
+ return console.log(a), a.forEach((r, o) => {
210
+ if (e[o] = r, !r.startsWith(":"))
211
+ return;
212
+ e[o] = r.substring(1);
213
+ const s = /^:([a-zA-Z0-9_-]+).*/, c = r.match(s);
214
+ ve(c) || !c[1] || S(n[c[1]]) || (e[o] = n[c[1]] + "");
215
+ }), e.join("/");
216
+ }, Mp = (t) => t.replace(".", "-"), nt = Symbol.for("anzu:system-scope"), at = Symbol.for("anzu:subject-scope"), Zo = {
206
217
  key: 0,
207
218
  class: "required"
208
- }, Mp = /* @__PURE__ */ L({
219
+ }, xp = /* @__PURE__ */ L({
209
220
  __name: "AFormTextField",
210
221
  props: {
211
222
  modelValue: null,
@@ -271,7 +282,7 @@ const yp = /* @__PURE__ */ L({
271
282
  }), Qo = {
272
283
  key: 0,
273
284
  class: "required"
274
- }, xp = /* @__PURE__ */ L({
285
+ }, Tp = /* @__PURE__ */ L({
275
286
  __name: "AFormTextarea",
276
287
  props: {
277
288
  modelValue: null,
@@ -334,7 +345,7 @@ const yp = /* @__PURE__ */ L({
334
345
  }), Xo = {
335
346
  key: 0,
336
347
  class: "required"
337
- }, Tp = /* @__PURE__ */ L({
348
+ }, Sp = /* @__PURE__ */ L({
338
349
  __name: "AFormBooleanToggle",
339
350
  props: {
340
351
  modelValue: { default: null },
@@ -404,7 +415,7 @@ const yp = /* @__PURE__ */ L({
404
415
  }, 8, ["modelValue", "mandatory"])
405
416
  ], 64));
406
417
  }
407
- }), Sp = /* @__PURE__ */ L({
418
+ }), $p = /* @__PURE__ */ L({
408
419
  __name: "ASystemEntityScope",
409
420
  props: {
410
421
  system: null,
@@ -417,7 +428,7 @@ const yp = /* @__PURE__ */ L({
417
428
  }), ei = { class: "anzu-data-footer" }, ti = {
418
429
  key: 0,
419
430
  class: "anzu-data-footer__page-limit"
420
- }, ni = { class: "anzu-data-footer__pagination" }, ai = { class: "anzu-data-footer__icons-before" }, ri = { class: "current-page" }, oi = { class: "anzu-data-footer__icons-after" }, $p = /* @__PURE__ */ L({
431
+ }, ni = { class: "anzu-data-footer__pagination" }, ai = { class: "anzu-data-footer__icons-before" }, ri = { class: "current-page" }, oi = { class: "anzu-data-footer__icons-after" }, Op = /* @__PURE__ */ L({
421
432
  __name: "ADatatablePagination",
422
433
  props: {
423
434
  modelValue: null,
@@ -433,12 +444,12 @@ const yp = /* @__PURE__ */ L({
433
444
  set(F) {
434
445
  n("update:modelValue", ct(F));
435
446
  }
436
- }), { t: r } = G(), o = T(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), s = T(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), c = T(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), u = T(() => a.value.page === 1), p = T(() => !ye(a.value.hasNextPage) || a.value.page === o.value), m = T(() => ye(a.value.hasNextPage) && a.value.page === o.value || a.value.hasNextPage === !1), d = T(() => ye(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? c.value + 1 + "+" : c.value), g = T(() => a.value.rowsPerPage);
437
- Pe(g, (F, z) => {
447
+ }), { t: r } = G(), o = T(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), s = T(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), c = T(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), u = T(() => a.value.page === 1), p = T(() => !ve(a.value.hasNextPage) || a.value.page === o.value), m = T(() => ve(a.value.hasNextPage) && a.value.page === o.value || a.value.hasNextPage === !1), d = T(() => ve(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? c.value + 1 + "+" : c.value), g = T(() => a.value.rowsPerPage);
448
+ Ie(g, (F, z) => {
438
449
  F !== z && (a.value.page = 1, n("change"));
439
450
  });
440
451
  const b = T(() => a.value.page);
441
- Pe(b, (F, z) => {
452
+ Ie(b, (F, z) => {
442
453
  F !== z && n("change");
443
454
  });
444
455
  const V = () => {
@@ -447,7 +458,7 @@ const yp = /* @__PURE__ */ L({
447
458
  a.value.page = o.value;
448
459
  }, O = () => {
449
460
  a.value.page = a.value.page - 1;
450
- }, I = () => {
461
+ }, P = () => {
451
462
  a.value.page = a.value.page + 1;
452
463
  };
453
464
  return (F, z) => (k(), H("div", ei, [
@@ -505,7 +516,7 @@ const yp = /* @__PURE__ */ L({
505
516
  icon: "mdi-chevron-right",
506
517
  size: "small",
507
518
  variant: "text",
508
- onClick: re(I, ["stop"])
519
+ onClick: re(P, ["stop"])
509
520
  }, null, 8, ["disabled", "onClick"]),
510
521
  w(ie, {
511
522
  disabled: f(p),
@@ -518,7 +529,7 @@ const yp = /* @__PURE__ */ L({
518
529
  ]));
519
530
  }
520
531
  });
521
- const Op = /* @__PURE__ */ L({
532
+ const Pp = /* @__PURE__ */ L({
522
533
  __name: "ADatatableConfigButton",
523
534
  props: {
524
535
  columnsAll: null,
@@ -638,7 +649,7 @@ const Op = /* @__PURE__ */ L({
638
649
  }), p = T(() => e.customOptions ? e.customOptions : e.variant === "most-relevant" ? c : s), m = (d) => {
639
650
  o.value = d.id;
640
651
  };
641
- return Pe(
652
+ return Ie(
642
653
  r,
643
654
  (d, g) => {
644
655
  if (S(g) || d === g)
@@ -647,7 +658,7 @@ const Op = /* @__PURE__ */ L({
647
658
  b && n("sortByChange", b);
648
659
  },
649
660
  { immediate: !0 }
650
- ), Pe(
661
+ ), Ie(
651
662
  o,
652
663
  (d, g) => {
653
664
  S(g) || d === g || (r.value = d);
@@ -732,14 +743,14 @@ const Op = /* @__PURE__ */ L({
732
743
  _: 3
733
744
  }));
734
745
  }
735
- }), Pp = /* @__PURE__ */ L({
746
+ }), Vp = /* @__PURE__ */ L({
736
747
  __name: "ALogData",
737
748
  props: {
738
749
  data: null
739
750
  },
740
751
  setup(t) {
741
752
  const n = t, e = T(() => n.data);
742
- return Pe(
753
+ return Ie(
743
754
  e,
744
755
  (a) => {
745
756
  console.log(a);
@@ -1169,15 +1180,15 @@ const ir = ["en", "sk"], le = ho({
1169
1180
  missing: (t, n) => {
1170
1181
  ir.includes(t) && console.warn(`Missing ${t} translation: ${n}`);
1171
1182
  }
1172
- }), Ir = (t) => t instanceof Ve;
1183
+ }), Pr = (t) => t instanceof Ve;
1173
1184
  class Ve extends Error {
1174
1185
  constructor(n, e = "") {
1175
1186
  super(e), this.name = "AnzuFatalError", this.cause = n, this.message = e;
1176
1187
  }
1177
1188
  }
1178
- const $i = 200, Oi = 201, Ii = 204, Vp = 400, Fp = 401, Pi = 403, Pr = 422, Vi = [$i, Oi, Ii], Dt = (t) => {
1189
+ const $i = 200, Oi = 201, Pi = 204, Fp = 400, Ep = 401, Ii = 403, Ir = 422, Vi = [$i, Oi, Pi], Dt = (t) => {
1179
1190
  var n;
1180
- return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Pi;
1191
+ return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ii;
1181
1192
  }, Vr = (t) => t instanceof ft;
1182
1193
  class ft extends Error {
1183
1194
  constructor(n, e = "") {
@@ -1186,7 +1197,7 @@ class ft extends Error {
1186
1197
  }
1187
1198
  const Fi = "validation_failed", At = (t) => {
1188
1199
  var n, e, a;
1189
- return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Pr && ((e = t.response.data) == null ? void 0 : e.error) === Fi && ((a = t.response.data) == null ? void 0 : a.fields);
1200
+ return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ir && ((e = t.response.data) == null ? void 0 : e.error) === Fi && ((a = t.response.data) == null ? void 0 : a.fields);
1190
1201
  }, Fr = (t) => t instanceof mt;
1191
1202
  function Ei(t, n, e) {
1192
1203
  var o;
@@ -1215,7 +1226,7 @@ class pt extends Error {
1215
1226
  }
1216
1227
  const Ni = "forbidden_operation_error", Mt = (t) => {
1217
1228
  var n, e, a;
1218
- return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Pr && ((e = t.response.data) == null ? void 0 : e.error) === Ni && ((a = t.response.data) == null ? void 0 : a.detail);
1229
+ return Ca.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ir && ((e = t.response.data) == null ? void 0 : e.error) === Ni && ((a = t.response.data) == null ? void 0 : a.detail);
1219
1230
  }, Li = (t) => t instanceof ht;
1220
1231
  function Bi(t) {
1221
1232
  var e;
@@ -1239,8 +1250,8 @@ function xa() {
1239
1250
  type: "success"
1240
1251
  });
1241
1252
  }, n = (v, O = Ze) => {
1242
- const { t: I } = le.global;
1243
- t(I(v), O);
1253
+ const { t: P } = le.global;
1254
+ t(P(v), O);
1244
1255
  }, e = (v, O = Ze) => {
1245
1256
  qe({
1246
1257
  group: "alerts",
@@ -1249,8 +1260,8 @@ function xa() {
1249
1260
  type: "error"
1250
1261
  });
1251
1262
  }, a = (v, O = Ze) => {
1252
- const { t: I } = le.global;
1253
- e(I(v), O);
1263
+ const { t: P } = le.global;
1264
+ e(P(v), O);
1254
1265
  }, r = (v, O = Ze) => {
1255
1266
  qe({
1256
1267
  group: "alerts",
@@ -1259,8 +1270,8 @@ function xa() {
1259
1270
  type: "info"
1260
1271
  });
1261
1272
  }, o = (v, O = Ze) => {
1262
- const { t: I } = le.global;
1263
- r(I(v), O);
1273
+ const { t: P } = le.global;
1274
+ r(P(v), O);
1264
1275
  }, s = (v, O = Ze) => {
1265
1276
  qe({
1266
1277
  group: "alerts",
@@ -1269,8 +1280,8 @@ function xa() {
1269
1280
  type: "warning"
1270
1281
  });
1271
1282
  }, c = (v, O = Ze) => {
1272
- const { t: I } = le.global;
1273
- s(I(v), O);
1283
+ const { t: P } = le.global;
1284
+ s(P(v), O);
1274
1285
  }, u = (v = Ze) => {
1275
1286
  const { t: O } = le.global;
1276
1287
  qe({
@@ -1280,18 +1291,18 @@ function xa() {
1280
1291
  type: "error"
1281
1292
  });
1282
1293
  }, p = (v, O = Ze) => {
1283
- const { t: I } = le.global;
1294
+ const { t: P } = le.global;
1284
1295
  qe({
1285
1296
  group: "alerts",
1286
- text: I("common.alert.recordWas." + v),
1297
+ text: P("common.alert.recordWas." + v),
1287
1298
  duration: O * 1e3,
1288
1299
  type: "success"
1289
1300
  });
1290
- }, m = (v, O = -1, I = !1) => {
1301
+ }, m = (v, O = -1, P = !1) => {
1291
1302
  const { t: F, te: z } = le.global, U = [F("common.alert.fixApiValidationErrors")];
1292
1303
  for (let ne = 0; ne < v.length; ne++) {
1293
1304
  let ee = "";
1294
- I ? ee += v[ne].field : z(v[ne].field) && (ee += F(v[ne].field));
1305
+ P ? ee += v[ne].field : z(v[ne].field) && (ee += F(v[ne].field));
1295
1306
  const ue = /* @__PURE__ */ new Set();
1296
1307
  for (let me = 0; me < v[ne].errors.length; me++) {
1297
1308
  if (z("error.apiValidation." + v[ne].errors[me])) {
@@ -1309,9 +1320,9 @@ function xa() {
1309
1320
  type: "error"
1310
1321
  });
1311
1322
  }, d = (v, O = -1) => {
1312
- const { t: I, te: F } = le.global;
1313
- let z = I("error.apiForbiddenOperation.noTranslation");
1314
- F("error.apiForbiddenOperation." + v) && (z = I("error.apiForbiddenOperation." + v)), qe({
1323
+ const { t: P, te: F } = le.global;
1324
+ let z = P("error.apiForbiddenOperation.noTranslation");
1325
+ F("error.apiForbiddenOperation." + v) && (z = P("error.apiForbiddenOperation." + v)), qe({
1315
1326
  group: "alerts",
1316
1327
  text: z,
1317
1328
  duration: O * 1e3,
@@ -1349,10 +1360,10 @@ function xa() {
1349
1360
  showApiForbiddenOperationError: d,
1350
1361
  showUnknownError: g,
1351
1362
  showForbiddenError: b,
1352
- showErrorsDefault: (v) => Vr(v) ? (b(), !0) : Fr(v) ? (m(v.fields), !0) : Li(v) ? (d(v.detail), !0) : Ir(v) || Er(v) ? (g(), !0) : !1
1363
+ showErrorsDefault: (v) => Vr(v) ? (b(), !0) : Fr(v) ? (m(v.fields), !0) : Li(v) ? (d(v.detail), !0) : Pr(v) || Er(v) ? (g(), !0) : !1
1353
1364
  };
1354
1365
  }
1355
- const Ep = /* @__PURE__ */ L({
1366
+ const Np = /* @__PURE__ */ L({
1356
1367
  __name: "ACreateDialog",
1357
1368
  props: {
1358
1369
  modelValue: { type: Boolean },
@@ -1466,7 +1477,7 @@ const Ep = /* @__PURE__ */ L({
1466
1477
  }, 8, ["class", "data-cy", "onClick"]);
1467
1478
  };
1468
1479
  }
1469
- }), Ri = { class: "a-admin-switcher__content" }, zi = ["href"], Ui = ["src", "alt"], Yi = { class: "a-admin-switcher__item-title" }, Np = /* @__PURE__ */ L({
1480
+ }), Ri = { class: "a-admin-switcher__content" }, zi = ["href"], Ui = ["src", "alt"], Yi = { class: "a-admin-switcher__item-title" }, Lp = /* @__PURE__ */ L({
1470
1481
  __name: "AAdminSwitcher",
1471
1482
  props: {
1472
1483
  configUrl: { default: "" }
@@ -1537,7 +1548,7 @@ function Ji(t, n) {
1537
1548
  const e = Et("RouterView");
1538
1549
  return k(), E(e);
1539
1550
  }
1540
- const Lp = /* @__PURE__ */ gt(Hi, [["render", Ji]]);
1551
+ const Bp = /* @__PURE__ */ gt(Hi, [["render", Ji]]);
1541
1552
  var Ta = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1542
1553
  function Nr(t) {
1543
1554
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
@@ -1554,7 +1565,7 @@ var ca = {}, Wi = {
1554
1565
  (function(e, a) {
1555
1566
  t.exports = a();
1556
1567
  })(Ta, function() {
1557
- var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", s = "second", c = "minute", u = "hour", p = "day", m = "week", d = "month", g = "quarter", b = "year", V = "date", v = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, 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) {
1568
+ var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", s = "second", c = "minute", u = "hour", p = "day", m = "week", d = "month", g = "quarter", b = "year", V = "date", v = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, 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) {
1558
1569
  var C = ["th", "st", "nd", "rd"], A = D % 100;
1559
1570
  return "[" + D + (C[(A - 20) % 10] || C[A] || C[0]) + "]";
1560
1571
  } }, z = function(D, C, A) {
@@ -1717,7 +1728,7 @@ var ca = {}, Wi = {
1717
1728
  var Je = we < 12 ? "AM" : "PM";
1718
1729
  return rt ? Je.toLowerCase() : Je;
1719
1730
  }, Te = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: ge + 1, MM: Q.s(ge + 1, 2, "0"), MMM: xe(x.monthsShort, ge, Ee, 3), MMMM: xe(Ee, ge), D: this.$D, DD: Q.s(this.$D, 2, "0"), d: String(this.$W), dd: xe(x.weekdaysMin, this.$W, Ce, 2), ddd: xe(x.weekdaysShort, this.$W, Ce, 3), dddd: Ce[this.$W], H: String(se), HH: Q.s(se, 2, "0"), h: He(1), hh: He(2), a: Ne(se, he, !0), A: Ne(se, he, !1), m: String(he), mm: Q.s(he, 2, "0"), s: String(this.$s), ss: Q.s(this.$s, 2, "0"), SSS: Q.s(this.$ms, 3, "0"), Z: K };
1720
- return j.replace(I, function(we, Le) {
1731
+ return j.replace(P, function(we, Le) {
1721
1732
  return Le || Te[we] || K.replace(":", "");
1722
1733
  });
1723
1734
  }, C.utcOffset = function() {
@@ -1796,9 +1807,9 @@ var fa = {}, qi = {
1796
1807
  };
1797
1808
  var d = u.utcOffset;
1798
1809
  u.utcOffset = function(v, O) {
1799
- var I = this.$utils().u;
1800
- if (I(v))
1801
- return this.$u ? 0 : I(this.$offset) ? d.call(this) : this.$offset;
1810
+ var P = this.$utils().u;
1811
+ if (P(v))
1812
+ return this.$u ? 0 : P(this.$offset) ? d.call(this) : this.$offset;
1802
1813
  if (typeof v == "string" && (v = function(ne) {
1803
1814
  ne === void 0 && (ne = "");
1804
1815
  var ee = ne.match(a);
@@ -1837,26 +1848,26 @@ var fa = {}, qi = {
1837
1848
  return v === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : b.call(this);
1838
1849
  };
1839
1850
  var V = u.diff;
1840
- u.diff = function(v, O, I) {
1851
+ u.diff = function(v, O, P) {
1841
1852
  if (v && this.$u === v.$u)
1842
- return V.call(this, v, O, I);
1853
+ return V.call(this, v, O, P);
1843
1854
  var F = this.local(), z = c(v).local();
1844
- return V.call(F, z, O, I);
1855
+ return V.call(F, z, O, P);
1845
1856
  };
1846
1857
  };
1847
1858
  });
1848
1859
  })(qi);
1849
1860
  const Gi = fa;
1850
1861
  De.extend(Gi);
1851
- const kt = ".000000Z", jn = "YYYY-MM-DDTHH:mm:ss", Lr = "1970-01-01T00:00:00.000000Z", Br = "2100-01-01T00:00:00.000000Z", Ki = () => De().utc().toDate(), Bp = () => qo(De().utc().unix()), Rn = (t = !0, n = !1) => t && !n ? De().utc().format("YYYY-MM-DDTHH:mm:ss") + kt : t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00") + kt : !t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : De().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", jp = (t = 0) => t === 0 ? De().startOf("day").utc().format(jn) + kt : De().add(t, "days").startOf("day").utc().format(jn) + kt, Rp = (t = 0) => t === 0 ? De().endOf("day").utc().format(jn) + kt : De().add(t, "days").endOf("day").utc().format(jn) + kt, zp = (t = 0, n = null) => {
1862
+ const kt = ".000000Z", jn = "YYYY-MM-DDTHH:mm:ss", Lr = "1970-01-01T00:00:00.000000Z", Br = "2100-01-01T00:00:00.000000Z", Ki = () => De().utc().toDate(), jp = () => qo(De().utc().unix()), Rn = (t = !0, n = !1) => t && !n ? De().utc().format("YYYY-MM-DDTHH:mm:ss") + kt : t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00") + kt : !t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : De().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", Rp = (t = 0) => t === 0 ? De().startOf("day").utc().format(jn) + kt : De().add(t, "days").startOf("day").utc().format(jn) + kt, zp = (t = 0) => t === 0 ? De().endOf("day").utc().format(jn) + kt : De().add(t, "days").endOf("day").utc().format(jn) + kt, Up = (t = 0, n = null) => {
1852
1863
  if (n === null && (n = /* @__PURE__ */ new Date()), t === 0)
1853
1864
  return n;
1854
1865
  if (t > 0)
1855
1866
  return De(n).add(t, "minutes").toDate();
1856
1867
  if (t < 0)
1857
1868
  return De(n).subtract(t, "minutes").toDate();
1858
- }, Zi = (t) => De(t).utc().format("YYYY-MM-DDTHH:mm:ss") + kt, Up = () => De().utc().format("YYYY"), ma = (t, n = "") => t === Br || t === Lr || t === "" || ye(t) || S(t) ? n : De(t).format("DD.MM.YYYY HH:mm"), Yp = (t, n = "") => {
1859
- if (t === Br || t === Lr || t === "" || ye(t) || S(t))
1869
+ }, Zi = (t) => De(t).utc().format("YYYY-MM-DDTHH:mm:ss") + kt, Yp = () => De().utc().format("YYYY"), ma = (t, n = "") => t === Br || t === Lr || t === "" || ve(t) || S(t) ? n : De(t).format("DD.MM.YYYY HH:mm"), Hp = (t, n = "") => {
1870
+ if (t === Br || t === Lr || t === "" || ve(t) || S(t))
1860
1871
  return n;
1861
1872
  let e = !0, a = !0;
1862
1873
  const r = De(t), o = De();
@@ -1867,7 +1878,7 @@ const kt = ".000000Z", jn = "YYYY-MM-DDTHH:mm:ss", Lr = "1970-01-01T00:00:00.000
1867
1878
  }, el = { class: "d-flex align-center" }, tl = {
1868
1879
  key: 0,
1869
1880
  class: "mr-2"
1870
- }, Hp = /* @__PURE__ */ L({
1881
+ }, Jp = /* @__PURE__ */ L({
1871
1882
  __name: "ATimeTrackingFields",
1872
1883
  props: {
1873
1884
  data: null,
@@ -1900,7 +1911,7 @@ const kt = ".000000Z", jn = "YYYY-MM-DDTHH:mm:ss", Lr = "1970-01-01T00:00:00.000
1900
1911
  ], 64));
1901
1912
  }
1902
1913
  });
1903
- function Jp(t, n) {
1914
+ function Wp(t, n) {
1904
1915
  return (e = {}) => {
1905
1916
  const a = S(e.variant) ? "eq" : e.variant;
1906
1917
  let r = S(e.default) ? null : e.default;
@@ -1941,7 +1952,7 @@ function Sa() {
1941
1952
  }
1942
1953
  };
1943
1954
  }
1944
- const Wp = /* @__PURE__ */ L({
1955
+ const qp = /* @__PURE__ */ L({
1945
1956
  __name: "AFilterString",
1946
1957
  props: {
1947
1958
  modelValue: null,
@@ -1968,7 +1979,7 @@ const Wp = /* @__PURE__ */ L({
1968
1979
  "onClick:clear": p[1] || (p[1] = re((m) => f(r)(t.modelValue), ["stop"]))
1969
1980
  }, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
1970
1981
  }
1971
- }), qp = /* @__PURE__ */ L({
1982
+ }), Gp = /* @__PURE__ */ L({
1972
1983
  __name: "AFilterInteger",
1973
1984
  props: {
1974
1985
  modelValue: null,
@@ -2095,7 +2106,7 @@ const Wp = /* @__PURE__ */ L({
2095
2106
  _: 1
2096
2107
  }, 8, ["class", "data-cy", "onClick"]));
2097
2108
  }
2098
- }), Gp = /* @__PURE__ */ L({
2109
+ }), Kp = /* @__PURE__ */ L({
2099
2110
  __name: "AFilterWrapper",
2100
2111
  props: {
2101
2112
  enableAdvanced: { type: Boolean, default: !1 },
@@ -2202,7 +2213,7 @@ function jr() {
2202
2213
  getGrantOption: (a) => n.value.find((r) => r.value === a)
2203
2214
  };
2204
2215
  }
2205
- const Kp = /* @__PURE__ */ L({
2216
+ const Zp = /* @__PURE__ */ L({
2206
2217
  __name: "APermissionGrantEditor",
2207
2218
  props: {
2208
2219
  availableGrants: null,
@@ -2276,7 +2287,7 @@ function ol() {
2276
2287
  const il = {
2277
2288
  key: 0,
2278
2289
  class: "ml-1"
2279
- }, Zp = /* @__PURE__ */ L({
2290
+ }, Qp = /* @__PURE__ */ L({
2280
2291
  __name: "APermissionValueChip",
2281
2292
  props: {
2282
2293
  grant: null,
@@ -2307,7 +2318,7 @@ const il = {
2307
2318
  a && typeof a == "object" && zr(a);
2308
2319
  }
2309
2320
  return Object.freeze(t);
2310
- }, Qp = (t) => Object.keys(t).map((n) => t[n]), Ur = (t, n, e = ".") => {
2321
+ }, Xp = (t) => Object.keys(t).map((n) => t[n]), Ur = (t, n, e = ".") => {
2311
2322
  const a = n.split(e);
2312
2323
  let r = t;
2313
2324
  for (; a.length; ) {
@@ -2317,7 +2328,7 @@ const il = {
2317
2328
  r = r[o];
2318
2329
  }
2319
2330
  return r;
2320
- }, Xp = (t, n, e, a = ".") => {
2331
+ }, eh = (t, n, e, a = ".") => {
2321
2332
  const r = n.split(a);
2322
2333
  let o = t;
2323
2334
  for (; r.length - 1; ) {
@@ -2328,7 +2339,7 @@ const il = {
2328
2339
  }
2329
2340
  o[r[0]] = e;
2330
2341
  };
2331
- function eh(t, n, e = ".") {
2342
+ function th(t, n, e = ".") {
2332
2343
  const a = n.split(e), r = a.length - 1;
2333
2344
  function o(s, c = 0) {
2334
2345
  const u = a[c];
@@ -2340,7 +2351,7 @@ function eh(t, n, e = ".") {
2340
2351
  }
2341
2352
  return o(t), t;
2342
2353
  }
2343
- const ll = (t) => Wn(t) && Object.hasOwn(t, "owners"), sl = (t) => Object.hasOwn(t, "createdBy"), qn = Symbol("currentUser"), Yr = Symbol("customAclResolver"), Hr = Symbol("availableLanguages"), Jr = Symbol("defaultLanguage"), th = {
2354
+ const ll = (t) => Wn(t) && Object.hasOwn(t, "owners"), sl = (t) => Object.hasOwn(t, "createdBy"), qn = Symbol("currentUser"), Yr = Symbol("customAclResolver"), Hr = Symbol("availableLanguages"), Jr = Symbol("defaultLanguage"), nh = {
2344
2355
  install(t, n) {
2345
2356
  t.provide(qn, n.currentUser), t.provide(Yr, n.customAclResolver), t.provide(Hr, n.languages.available), t.provide(Jr, n.languages.default), t.component("Acl", dl), t.use(Si, { componentName: "Notifications" });
2346
2357
  }
@@ -2398,7 +2409,7 @@ const dl = /* @__PURE__ */ L({
2398
2409
  },
2399
2410
  setup(t) {
2400
2411
  const n = t, e = be(qn), { can: a } = ul(), r = J(a(n.permission, n.subject));
2401
- return Pe(e, () => {
2412
+ return Ie(e, () => {
2402
2413
  r.value = a(n.permission, n.subject);
2403
2414
  }), (o, s) => r.value ? Ae(o.$slots, "default", { key: 0 }) : Z("", !0);
2404
2415
  }
@@ -2575,7 +2586,7 @@ function sr(t, n) {
2575
2586
  var na = function(t) {
2576
2587
  return t instanceof Array ? t : [t];
2577
2588
  };
2578
- function Ie(t, n, e) {
2589
+ function Pe(t, n, e) {
2579
2590
  if (e === !0)
2580
2591
  return t.classList.add(n);
2581
2592
  t.classList.remove(n);
@@ -2584,7 +2595,7 @@ function ce(t, n, e) {
2584
2595
  var a = window.document.createElement(t);
2585
2596
  return n = n || "", e = e || "", a.className = n, e !== void 0 && (a.textContent = e), a;
2586
2597
  }
2587
- function In(t) {
2598
+ function Pn(t) {
2588
2599
  for (; t.firstChild; )
2589
2600
  t.removeChild(t.firstChild);
2590
2601
  }
@@ -2594,7 +2605,7 @@ function qr(t, n) {
2594
2605
  if (t.parentNode)
2595
2606
  return qr(t.parentNode, n);
2596
2607
  }
2597
- function Pn(t, n) {
2608
+ function In(t, n) {
2598
2609
  var e = ce("div", "numInputWrapper"), a = ce("input", "numInput " + t), r = ce("span", "arrowUp"), o = ce("span", "arrowDown");
2599
2610
  if (navigator.userAgent.indexOf("MSIE 9.0") === -1 ? a.type = "number" : (a.type = "text", a.pattern = "\\d*"), n !== void 0)
2600
2611
  for (var s in n)
@@ -2800,14 +2811,14 @@ var aa = function() {
2800
2811
  else if (/Z$/.test(b) || /GMT$/.test(b))
2801
2812
  m = new Date(o);
2802
2813
  else {
2803
- for (var V = void 0, v = [], O = 0, I = 0, F = ""; O < g.length; O++) {
2814
+ for (var V = void 0, v = [], O = 0, P = 0, F = ""; O < g.length; O++) {
2804
2815
  var z = g[O], U = z === "\\", ne = g[O - 1] === "\\" || U;
2805
2816
  if (wt[z] && !ne) {
2806
2817
  F += wt[z];
2807
2818
  var ee = new RegExp(F).exec(o);
2808
2819
  ee && (V = !0) && v[z !== "Y" ? "push" : "unshift"]({
2809
2820
  fn: cl[z],
2810
- val: ee[++I]
2821
+ val: ee[++P]
2811
2822
  });
2812
2823
  } else
2813
2824
  U || (F += ".");
@@ -2897,9 +2908,9 @@ function gl(t, n) {
2897
2908
  };
2898
2909
  }
2899
2910
  function r() {
2900
- e.element = e.input = t, e.isOpen = !1, ln(), jt(), mn(), fn(), a(), e.isMobile || ne(), I(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && g(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)), c();
2911
+ e.element = e.input = t, e.isOpen = !1, ln(), jt(), mn(), fn(), a(), e.isMobile || ne(), P(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && g(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)), c();
2901
2912
  var i = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
2902
- !e.isMobile && i && vt(), ve("onReady");
2913
+ !e.isMobile && i && vt(), ye("onReady");
2903
2914
  }
2904
2915
  function o() {
2905
2916
  var i;
@@ -2942,7 +2953,7 @@ function gl(t, n) {
2942
2953
  if (!(e.hourElement === void 0 || e.minuteElement === void 0)) {
2943
2954
  var i = (parseInt(e.hourElement.value.slice(-2), 10) || 0) % 24, l = (parseInt(e.minuteElement.value, 10) || 0) % 60, h = e.secondElement !== void 0 ? (parseInt(e.secondElement.value, 10) || 0) % 60 : 0;
2944
2955
  e.amPM !== void 0 && (i = p(i, e.amPM.textContent));
2945
- var _ = 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;
2956
+ var _ = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.minDate, !0) === 0, I = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
2946
2957
  if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
2947
2958
  var N = ra(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), X = ra(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), Y = ra(i, l, h);
2948
2959
  if (Y > X && Y < N) {
@@ -2950,7 +2961,7 @@ function gl(t, n) {
2950
2961
  i = ae[0], l = ae[1], h = ae[2];
2951
2962
  }
2952
2963
  } else {
2953
- if (P) {
2964
+ if (I) {
2954
2965
  var R = e.config.maxTime !== void 0 ? e.config.maxTime : e.config.maxDate;
2955
2966
  i = Math.min(i, R.getHours()), i === R.getHours() && (l = Math.min(l, R.getMinutes())), l === R.getMinutes() && (h = Math.min(h, R.getSeconds()));
2956
2967
  }
@@ -2975,12 +2986,12 @@ function gl(t, n) {
2975
2986
  }
2976
2987
  function v(i, l, h, _) {
2977
2988
  if (l instanceof Array)
2978
- return l.forEach(function(P) {
2979
- return v(i, P, h, _);
2989
+ return l.forEach(function(I) {
2990
+ return v(i, I, h, _);
2980
2991
  });
2981
2992
  if (i instanceof Array)
2982
- return i.forEach(function(P) {
2983
- return v(P, l, h, _);
2993
+ return i.forEach(function(I) {
2994
+ return v(I, l, h, _);
2984
2995
  });
2985
2996
  i.addEventListener(l, h, _), e._handlers.push({
2986
2997
  remove: function() {
@@ -2989,9 +3000,9 @@ function gl(t, n) {
2989
3000
  });
2990
3001
  }
2991
3002
  function O() {
2992
- ve("onChange");
3003
+ ye("onChange");
2993
3004
  }
2994
- function I() {
3005
+ function P() {
2995
3006
  if (e.config.wrap && ["open", "close", "toggle", "clear"].forEach(function(h) {
2996
3007
  Array.prototype.forEach.call(e.element.querySelectorAll("[data-" + h + "]"), function(_) {
2997
3008
  return v(_, "click", e[h]);
@@ -3016,21 +3027,21 @@ function gl(t, n) {
3016
3027
  e.config.allowInput && v(e._input, "blur", Le);
3017
3028
  }
3018
3029
  function F(i, l) {
3019
- var h = i !== void 0 ? e.parseDate(i) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), _ = e.currentYear, P = e.currentMonth;
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), _ = e.currentYear, I = e.currentMonth;
3020
3031
  try {
3021
3032
  h !== void 0 && (e.currentYear = h.getFullYear(), e.currentMonth = h.getMonth());
3022
3033
  } catch (N) {
3023
3034
  N.message = "Invalid date supplied: " + h, e.config.errorHandler(N);
3024
3035
  }
3025
- l && e.currentYear !== _ && (ve("onYearChange"), D()), l && (e.currentYear !== _ || e.currentMonth !== P) && ve("onMonthChange"), e.redraw();
3036
+ l && e.currentYear !== _ && (ye("onYearChange"), D()), l && (e.currentYear !== _ || e.currentMonth !== I) && ye("onMonthChange"), e.redraw();
3026
3037
  }
3027
3038
  function z(i) {
3028
3039
  var l = je(i);
3029
3040
  ~l.className.indexOf("arrow") && U(i, l.classList.contains("arrowUp") ? 1 : -1);
3030
3041
  }
3031
3042
  function U(i, l, h) {
3032
- var _ = i && je(i), P = h || _ && _.parentNode && _.parentNode.firstChild, N = $t("increment");
3033
- N.delta = l, P && P.dispatchEvent(N);
3043
+ var _ = i && je(i), I = h || _ && _.parentNode && _.parentNode.firstChild, N = $t("increment");
3044
+ N.delta = l, I && I.dispatchEvent(N);
3034
3045
  }
3035
3046
  function ne() {
3036
3047
  var i = window.document.createDocumentFragment();
@@ -3041,55 +3052,55 @@ function gl(t, n) {
3041
3052
  }
3042
3053
  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);
3043
3054
  }
3044
- e.config.enableTime && i.appendChild(x()), Ie(e.calendarContainer, "rangeMode", e.config.mode === "range"), Ie(e.calendarContainer, "animate", e.config.animate === !0), Ie(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(i);
3045
- var P = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
3046
- 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)) {
3055
+ e.config.enableTime && i.appendChild(x()), 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);
3056
+ var I = 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 && (!I && 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)) {
3047
3058
  var N = ce("div", "flatpickr-wrapper");
3048
3059
  e.element.parentNode && e.element.parentNode.insertBefore(N, e.element), N.appendChild(e.element), e.altInput && N.appendChild(e.altInput), N.appendChild(e.calendarContainer);
3049
3060
  }
3050
3061
  !e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
3051
3062
  }
3052
3063
  function ee(i, l, h, _) {
3053
- var P = Te(l, !0), N = ce("span", i, l.getDate().toString());
3054
- return N.dateObj = l, N.$i = _, N.setAttribute("aria-label", e.formatDate(l, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Re(l, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")), P ? (N.tabIndex = -1, Ot(l) && (N.classList.add("selected"), e.selectedDateElem = N, e.config.mode === "range" && (Ie(N, "startRange", e.selectedDates[0] && Re(l, e.selectedDates[0], !0) === 0), Ie(N, "endRange", e.selectedDates[1] && Re(l, e.selectedDates[1], !0) === 0), i === "nextMonthDay" && N.classList.add("inRange")))) : N.classList.add("flatpickr-disabled"), e.config.mode === "range" && gn(l) && !Ot(l) && N.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && i !== "prevMonthDay" && _ % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(l) + "</span>"), ve("onDayCreate", N), N;
3064
+ var I = Te(l, !0), N = ce("span", i, l.getDate().toString());
3065
+ return N.dateObj = l, N.$i = _, N.setAttribute("aria-label", e.formatDate(l, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Re(l, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")), I ? (N.tabIndex = -1, Ot(l) && (N.classList.add("selected"), e.selectedDateElem = N, e.config.mode === "range" && (Pe(N, "startRange", e.selectedDates[0] && Re(l, e.selectedDates[0], !0) === 0), Pe(N, "endRange", e.selectedDates[1] && Re(l, e.selectedDates[1], !0) === 0), i === "nextMonthDay" && N.classList.add("inRange")))) : N.classList.add("flatpickr-disabled"), e.config.mode === "range" && gn(l) && !Ot(l) && N.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && i !== "prevMonthDay" && _ % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(l) + "</span>"), ye("onDayCreate", N), N;
3055
3066
  }
3056
3067
  function ue(i) {
3057
3068
  i.focus(), e.config.mode === "range" && Je(i);
3058
3069
  }
3059
3070
  function me(i) {
3060
3071
  for (var l = i > 0 ? 0 : e.config.showMonths - 1, h = i > 0 ? e.config.showMonths : -1, _ = l; _ != h; _ += i)
3061
- for (var P = e.daysContainer.children[_], N = i > 0 ? 0 : P.children.length - 1, X = i > 0 ? P.children.length : -1, Y = N; Y != X; Y += i) {
3062
- var ae = P.children[Y];
3072
+ for (var I = e.daysContainer.children[_], N = i > 0 ? 0 : I.children.length - 1, X = i > 0 ? I.children.length : -1, Y = N; Y != X; Y += i) {
3073
+ var ae = I.children[Y];
3063
3074
  if (ae.className.indexOf("hidden") === -1 && Te(ae.dateObj))
3064
3075
  return ae;
3065
3076
  }
3066
3077
  }
3067
3078
  function oe(i, l) {
3068
- for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, _ = l > 0 ? e.config.showMonths : -1, P = l > 0 ? 1 : -1, N = h - e.currentMonth; N != _; N += P)
3069
- for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + l : l < 0 ? X.children.length - 1 : 0, ae = X.children.length, R = Y; R >= 0 && R < ae && R != (l > 0 ? ae : -1); R += P) {
3079
+ for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, _ = l > 0 ? e.config.showMonths : -1, I = l > 0 ? 1 : -1, N = h - e.currentMonth; N != _; N += I)
3080
+ for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + l : l < 0 ? X.children.length - 1 : 0, ae = X.children.length, R = Y; R >= 0 && R < ae && R != (l > 0 ? ae : -1); R += I) {
3070
3081
  var q = X.children[R];
3071
3082
  if (q.className.indexOf("hidden") === -1 && Te(q.dateObj) && Math.abs(i.$i - R) >= Math.abs(l))
3072
3083
  return ue(q);
3073
3084
  }
3074
- e.changeMonth(P), Q(me(P), 0);
3085
+ e.changeMonth(I), Q(me(I), 0);
3075
3086
  }
3076
3087
  function Q(i, l) {
3077
- var h = o(), _ = we(h || document.body), P = i !== void 0 ? i : _ ? h : e.selectedDateElem !== void 0 && we(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && we(e.todayDateElem) ? e.todayDateElem : me(l > 0 ? 1 : -1);
3078
- P === void 0 ? e._input.focus() : _ ? oe(P, l) : ue(P);
3088
+ var h = o(), _ = we(h || document.body), I = i !== void 0 ? i : _ ? h : e.selectedDateElem !== void 0 && we(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && we(e.todayDateElem) ? e.todayDateElem : me(l > 0 ? 1 : -1);
3089
+ I === void 0 ? e._input.focus() : _ ? oe(I, l) : ue(I);
3079
3090
  }
3080
3091
  function Me(i, l) {
3081
- for (var h = (new Date(i, l, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, _ = e.utils.getDaysInMonth((l - 1 + 12) % 12, i), P = e.utils.getDaysInMonth(l, i), N = window.document.createDocumentFragment(), X = e.config.showMonths > 1, Y = X ? "prevMonthDay hidden" : "prevMonthDay", ae = X ? "nextMonthDay hidden" : "nextMonthDay", R = _ + 1 - h, q = 0; R <= _; R++, q++)
3092
+ for (var h = (new Date(i, l, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, _ = e.utils.getDaysInMonth((l - 1 + 12) % 12, i), I = e.utils.getDaysInMonth(l, i), N = window.document.createDocumentFragment(), X = e.config.showMonths > 1, Y = X ? "prevMonthDay hidden" : "prevMonthDay", ae = X ? "nextMonthDay hidden" : "nextMonthDay", R = _ + 1 - h, q = 0; R <= _; R++, q++)
3082
3093
  N.appendChild(ee("flatpickr-day " + Y, new Date(i, l - 1, R), R, q));
3083
- for (R = 1; R <= P; R++, q++)
3094
+ for (R = 1; R <= I; R++, q++)
3084
3095
  N.appendChild(ee("flatpickr-day", new Date(i, l, R), R, q));
3085
- for (var fe = P + 1; fe <= 42 - h && (e.config.showMonths === 1 || q % 7 !== 0); fe++, q++)
3086
- N.appendChild(ee("flatpickr-day " + ae, new Date(i, l + 1, fe % P), fe, q));
3096
+ for (var fe = I + 1; fe <= 42 - h && (e.config.showMonths === 1 || q % 7 !== 0); fe++, q++)
3097
+ N.appendChild(ee("flatpickr-day " + ae, new Date(i, l + 1, fe % I), fe, q));
3087
3098
  var Be = ce("div", "dayContainer");
3088
3099
  return Be.appendChild(N), Be;
3089
3100
  }
3090
3101
  function W() {
3091
3102
  if (e.daysContainer !== void 0) {
3092
- In(e.daysContainer), e.weekNumbers && In(e.weekNumbers);
3103
+ Pn(e.daysContainer), e.weekNumbers && Pn(e.weekNumbers);
3093
3104
  for (var i = document.createDocumentFragment(), l = 0; l < e.config.showMonths; l++) {
3094
3105
  var h = new Date(e.currentYear, e.currentMonth, 1);
3095
3106
  h.setMonth(e.currentMonth + l), i.appendChild(Me(h.getFullYear(), h.getMonth()));
@@ -3114,19 +3125,19 @@ function gl(t, n) {
3114
3125
  var i = ce("div", "flatpickr-month"), l = window.document.createDocumentFragment(), h;
3115
3126
  e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? h = ce("span", "cur-month") : (e.monthsDropdownContainer = ce("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), v(e.monthsDropdownContainer, "change", function(X) {
3116
3127
  var Y = je(X), ae = parseInt(Y.value, 10);
3117
- e.changeMonth(ae - e.currentMonth), ve("onMonthChange");
3128
+ e.changeMonth(ae - e.currentMonth), ye("onMonthChange");
3118
3129
  }), D(), h = e.monthsDropdownContainer);
3119
- var _ = Pn("cur-year", { tabindex: "-1" }), P = _.getElementsByTagName("input")[0];
3120
- 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());
3130
+ var _ = In("cur-year", { tabindex: "-1" }), I = _.getElementsByTagName("input")[0];
3131
+ I.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && I.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (I.setAttribute("max", e.config.maxDate.getFullYear().toString()), I.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
3121
3132
  var N = ce("div", "flatpickr-current-month");
3122
3133
  return N.appendChild(h), N.appendChild(_), l.appendChild(N), i.appendChild(l), {
3123
3134
  container: i,
3124
- yearElement: P,
3135
+ yearElement: I,
3125
3136
  monthElement: h
3126
3137
  };
3127
3138
  }
3128
3139
  function A() {
3129
- In(e.monthNav), e.monthNav.appendChild(e.prevMonthNav), e.config.showMonths && (e.yearElements = [], e.monthElements = []);
3140
+ Pn(e.monthNav), e.monthNav.appendChild(e.prevMonthNav), e.config.showMonths && (e.yearElements = [], e.monthElements = []);
3130
3141
  for (var i = e.config.showMonths; i--; ) {
3131
3142
  var l = C();
3132
3143
  e.yearElements.push(l.yearElement), e.monthElements.push(l.monthElement), e.monthNav.appendChild(l.container);
@@ -3139,14 +3150,14 @@ function gl(t, n) {
3139
3150
  return e.__hidePrevMonthArrow;
3140
3151
  },
3141
3152
  set: function(i) {
3142
- e.__hidePrevMonthArrow !== i && (Ie(e.prevMonthNav, "flatpickr-disabled", i), e.__hidePrevMonthArrow = i);
3153
+ e.__hidePrevMonthArrow !== i && (Pe(e.prevMonthNav, "flatpickr-disabled", i), e.__hidePrevMonthArrow = i);
3143
3154
  }
3144
3155
  }), Object.defineProperty(e, "_hideNextMonthArrow", {
3145
3156
  get: function() {
3146
3157
  return e.__hideNextMonthArrow;
3147
3158
  },
3148
3159
  set: function(i) {
3149
- e.__hideNextMonthArrow !== i && (Ie(e.nextMonthNav, "flatpickr-disabled", i), e.__hideNextMonthArrow = i);
3160
+ e.__hideNextMonthArrow !== i && (Pe(e.nextMonthNav, "flatpickr-disabled", i), e.__hideNextMonthArrow = i);
3150
3161
  }
3151
3162
  }), e.currentYearElement = e.yearElements[0], bt(), e.monthNav;
3152
3163
  }
@@ -3154,22 +3165,22 @@ function gl(t, n) {
3154
3165
  e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
3155
3166
  var i = oa(e.config);
3156
3167
  e.timeContainer = ce("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
3157
- var l = ce("span", "flatpickr-time-separator", ":"), h = Pn("flatpickr-hour", {
3168
+ var l = ce("span", "flatpickr-time-separator", ":"), h = In("flatpickr-hour", {
3158
3169
  "aria-label": e.l10n.hourAriaLabel
3159
3170
  });
3160
3171
  e.hourElement = h.getElementsByTagName("input")[0];
3161
- var _ = Pn("flatpickr-minute", {
3172
+ var _ = In("flatpickr-minute", {
3162
3173
  "aria-label": e.l10n.minuteAriaLabel
3163
3174
  });
3164
3175
  if (e.minuteElement = _.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(l), e.timeContainer.appendChild(_), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
3165
3176
  e.timeContainer.classList.add("hasSeconds");
3166
- var P = Pn("flatpickr-second");
3167
- 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);
3177
+ var I = In("flatpickr-second");
3178
+ e.secondElement = I.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(I);
3168
3179
  }
3169
3180
  return e.config.time_24hr || (e.amPM = ce("span", "flatpickr-am-pm", e.l10n.amPM[Ge((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
3170
3181
  }
3171
3182
  function j() {
3172
- e.weekdayContainer ? In(e.weekdayContainer) : e.weekdayContainer = ce("div", "flatpickr-weekdays");
3183
+ e.weekdayContainer ? Pn(e.weekdayContainer) : e.weekdayContainer = ce("div", "flatpickr-weekdays");
3173
3184
  for (var i = e.config.showMonths; i--; ) {
3174
3185
  var l = ce("div", "flatpickr-weekdaycontainer");
3175
3186
  e.weekdayContainer.appendChild(l);
@@ -3201,20 +3212,20 @@ function gl(t, n) {
3201
3212
  function he(i, l) {
3202
3213
  l === void 0 && (l = !0);
3203
3214
  var h = l ? i : i - e.currentMonth;
3204
- h < 0 && e._hidePrevMonthArrow === !0 || h > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += h, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, ve("onYearChange"), D()), W(), ve("onMonthChange"), bt());
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, ye("onYearChange"), D()), W(), ye("onMonthChange"), bt());
3205
3216
  }
3206
3217
  function ge(i, l) {
3207
3218
  if (i === void 0 && (i = !0), l === void 0 && (l = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, l === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
3208
- var h = oa(e.config), _ = h.hours, P = h.minutes, N = h.seconds;
3209
- b(_, P, N);
3219
+ var h = oa(e.config), _ = h.hours, I = h.minutes, N = h.seconds;
3220
+ b(_, I, N);
3210
3221
  }
3211
- e.redraw(), i && ve("onChange");
3222
+ e.redraw(), i && ye("onChange");
3212
3223
  }
3213
3224
  function Ce() {
3214
- 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");
3225
+ 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");
3215
3226
  }
3216
3227
  function Ee() {
3217
- e.config !== void 0 && ve("onDestroy");
3228
+ e.config !== void 0 && ye("onDestroy");
3218
3229
  for (var i = e._handlers.length; i--; )
3219
3230
  e._handlers[i].remove();
3220
3231
  if (e._handlers = [], e.mobileInput)
@@ -3271,16 +3282,16 @@ function gl(t, n) {
3271
3282
  }
3272
3283
  function He(i) {
3273
3284
  if (e.isOpen && !e.config.inline) {
3274
- var l = je(i), h = xe(l), _ = l === e.input || l === e.altInput || e.element.contains(l) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), P = !_ && !h && !xe(i.relatedTarget), N = !e.config.ignoredFocusElements.some(function(X) {
3285
+ var l = je(i), h = xe(l), _ = l === e.input || l === e.altInput || e.element.contains(l) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), I = !_ && !h && !xe(i.relatedTarget), N = !e.config.ignoredFocusElements.some(function(X) {
3275
3286
  return X.contains(l);
3276
3287
  });
3277
- 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));
3288
+ I && 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));
3278
3289
  }
3279
3290
  }
3280
3291
  function Ne(i) {
3281
3292
  if (!(!i || e.config.minDate && i < e.config.minDate.getFullYear() || e.config.maxDate && i > e.config.maxDate.getFullYear())) {
3282
3293
  var l = i, h = e.currentYear !== l;
3283
- e.currentYear = l || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), h && (e.redraw(), ve("onYearChange"), D());
3294
+ e.currentYear = l || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), h && (e.redraw(), ye("onYearChange"), D());
3284
3295
  }
3285
3296
  }
3286
3297
  function Te(i, l) {
@@ -3293,33 +3304,33 @@ function gl(t, n) {
3293
3304
  return !0;
3294
3305
  if (_ === void 0)
3295
3306
  return !1;
3296
- 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++) {
3307
+ for (var I = !!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++) {
3297
3308
  if (Y = N[X], typeof Y == "function" && Y(_))
3298
- return P;
3309
+ return I;
3299
3310
  if (Y instanceof Date && _ !== void 0 && Y.getTime() === _.getTime())
3300
- return P;
3311
+ return I;
3301
3312
  if (typeof Y == "string") {
3302
3313
  var ae = e.parseDate(Y, void 0, !0);
3303
- return ae && ae.getTime() === _.getTime() ? P : !P;
3314
+ return ae && ae.getTime() === _.getTime() ? I : !I;
3304
3315
  } else if (typeof Y == "object" && _ !== void 0 && Y.from && Y.to && _.getTime() >= Y.from.getTime() && _.getTime() <= Y.to.getTime())
3305
- return P;
3316
+ return I;
3306
3317
  }
3307
- return !P;
3318
+ return !I;
3308
3319
  }
3309
3320
  function we(i) {
3310
3321
  return e.daysContainer !== void 0 ? i.className.indexOf("hidden") === -1 && i.className.indexOf("flatpickr-disabled") === -1 && e.daysContainer.contains(i) : !1;
3311
3322
  }
3312
3323
  function Le(i) {
3313
- var l = i.target === e._input, h = e._input.value.trimEnd() !== It();
3324
+ var l = i.target === e._input, h = e._input.value.trimEnd() !== Pt();
3314
3325
  l && h && !(i.relatedTarget && xe(i.relatedTarget)) && e.setDate(e._input.value, !0, i.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
3315
3326
  }
3316
3327
  function rt(i) {
3317
- var l = je(i), h = e.config.wrap ? t.contains(l) : l === e._input, _ = e.config.allowInput, P = e.isOpen && (!_ || !h), N = e.config.inline && h && !_;
3328
+ var l = je(i), h = e.config.wrap ? t.contains(l) : l === e._input, _ = e.config.allowInput, I = e.isOpen && (!_ || !h), N = e.config.inline && h && !_;
3318
3329
  if (i.keyCode === 13 && h) {
3319
3330
  if (_)
3320
3331
  return e.setDate(e._input.value, !0, l === e.altInput ? e.config.altFormat : e.config.dateFormat), e.close(), l.blur();
3321
3332
  e.open();
3322
- } else if (xe(l) || P || N) {
3333
+ } else if (xe(l) || I || N) {
3323
3334
  var X = !!e.timeContainer && e.timeContainer.contains(l);
3324
3335
  switch (i.keyCode) {
3325
3336
  case 13:
@@ -3380,12 +3391,12 @@ function gl(t, n) {
3380
3391
  e.amPM.textContent = e.l10n.amPM[1], d(), We();
3381
3392
  break;
3382
3393
  }
3383
- (h || xe(l)) && ve("onKeyDown", i);
3394
+ (h || xe(l)) && ye("onKeyDown", i);
3384
3395
  }
3385
3396
  function Je(i, l) {
3386
3397
  if (l === void 0 && (l = "flatpickr-day"), !(e.selectedDates.length !== 1 || i && (!i.classList.contains(l) || i.classList.contains("flatpickr-disabled")))) {
3387
- for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), _ = 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, ae = 0, R = P; R < N; R += pl.DAY)
3388
- Te(new Date(R), !0) || (X = X || R > P && R < N, R < _ && (!Y || R > Y) ? Y = R : R > _ && (!ae || R < ae) && (ae = R));
3398
+ for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), _ = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), I = Math.min(h, e.selectedDates[0].getTime()), N = Math.max(h, e.selectedDates[0].getTime()), X = !1, Y = 0, ae = 0, R = I; R < N; R += pl.DAY)
3399
+ Te(new Date(R), !0) || (X = X || R > I && R < N, R < _ && (!Y || R > Y) ? Y = R : R > _ && (!ae || R < ae) && (ae = R));
3389
3400
  var q = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + l));
3390
3401
  q.forEach(function(fe) {
3391
3402
  var Be = fe.dateObj, Se = Be.getTime(), st = Y > 0 && Se < Y || ae > 0 && Se > ae;
@@ -3412,20 +3423,20 @@ function gl(t, n) {
3412
3423
  var h = je(i);
3413
3424
  h && h.blur();
3414
3425
  }
3415
- e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), ve("onOpen");
3426
+ e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), ye("onOpen");
3416
3427
  return;
3417
3428
  } else if (e._input.disabled || e.config.inline)
3418
3429
  return;
3419
3430
  var _ = e.isOpen;
3420
- e.isOpen = !0, _ || (e.calendarContainer.classList.add("open"), e._input.classList.add("active"), ve("onOpen"), vt(l)), e.config.enableTime === !0 && e.config.noCalendar === !0 && e.config.allowInput === !1 && (i === void 0 || !e.timeContainer.contains(i.relatedTarget)) && setTimeout(function() {
3431
+ e.isOpen = !0, _ || (e.calendarContainer.classList.add("open"), e._input.classList.add("active"), ye("onOpen"), vt(l)), e.config.enableTime === !0 && e.config.noCalendar === !0 && e.config.allowInput === !1 && (i === void 0 || !e.timeContainer.contains(i.relatedTarget)) && setTimeout(function() {
3421
3432
  return e.hourElement.select();
3422
3433
  }, 50);
3423
3434
  }
3424
3435
  function Lt(i) {
3425
3436
  return function(l) {
3426
3437
  var h = e.config["_" + i + "Date"] = e.parseDate(l, e.config.dateFormat), _ = e.config["_" + (i === "min" ? "max" : "min") + "Date"];
3427
- 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) {
3428
- return Te(P);
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(I) {
3439
+ return Te(I);
3429
3440
  }), !e.selectedDates.length && i === "min" && g(h), We()), e.daysContainer && (Rt(), h !== void 0 ? e.currentYearElement[i] = h.getFullYear().toString() : e.currentYearElement.removeAttribute(i), e.currentYearElement.disabled = !!_ && h !== void 0 && _.getFullYear() === h.getFullYear());
3430
3441
  };
3431
3442
  }
@@ -3463,8 +3474,8 @@ function gl(t, n) {
3463
3474
  });
3464
3475
  var _ = l.mode === "time";
3465
3476
  if (!l.dateFormat && (l.enableTime || _)) {
3466
- var P = _e.defaultConfig.dateFormat || Vt.dateFormat;
3467
- h.dateFormat = l.noCalendar || _ ? "H:i" + (l.enableSeconds ? ":S" : "") : P + " H:i" + (l.enableSeconds ? ":S" : "");
3477
+ var I = _e.defaultConfig.dateFormat || Vt.dateFormat;
3478
+ h.dateFormat = l.noCalendar || _ ? "H:i" + (l.enableSeconds ? ":S" : "") : I + " H:i" + (l.enableSeconds ? ":S" : "");
3468
3479
  }
3469
3480
  if (l.altInput && (l.enableTime || _) && !l.altFormat) {
3470
3481
  var N = _e.defaultConfig.altFormat || Vt.altFormat;
@@ -3509,7 +3520,7 @@ function gl(t, n) {
3509
3520
  for (var R in ae)
3510
3521
  ta.indexOf(R) > -1 ? e.config[R] = na(ae[R]).map(s).concat(e.config[R]) : typeof l[R] > "u" && (e.config[R] = ae[R]);
3511
3522
  }
3512
- l.altInputClass || (e.config.altInputClass = Bt().className + " " + e.config.altInputClass), ve("onParseConfig");
3523
+ l.altInputClass || (e.config.altInputClass = Bt().className + " " + e.config.altInputClass), ye("onParseConfig");
3513
3524
  }
3514
3525
  function Bt() {
3515
3526
  return e.config.wrap ? t.querySelector("[data-input]") : t;
@@ -3523,25 +3534,25 @@ function gl(t, n) {
3523
3534
  if (typeof e.config.position == "function")
3524
3535
  return void e.config.position(e, i);
3525
3536
  if (e.calendarContainer !== void 0) {
3526
- ve("onPreCalendarPosition");
3537
+ ye("onPreCalendarPosition");
3527
3538
  var l = i || e._positionElement, h = Array.prototype.reduce.call(e.calendarContainer.children, function(Mn, xn) {
3528
3539
  return Mn + xn.offsetHeight;
3529
- }, 0), _ = e.calendarContainer.offsetWidth, P = e.config.position.split(" "), N = P[0], X = P.length > 1 ? P[1] : null, Y = l.getBoundingClientRect(), ae = window.innerHeight - Y.bottom, R = N === "above" || N !== "below" && ae < h && Y.top > h, q = window.pageYOffset + Y.top + (R ? -h - 2 : l.offsetHeight + 2);
3530
- if (Ie(e.calendarContainer, "arrowTop", !R), Ie(e.calendarContainer, "arrowBottom", R), !e.config.inline) {
3540
+ }, 0), _ = e.calendarContainer.offsetWidth, I = e.config.position.split(" "), N = I[0], X = I.length > 1 ? I[1] : null, Y = l.getBoundingClientRect(), ae = window.innerHeight - Y.bottom, R = N === "above" || N !== "below" && ae < h && Y.top > h, q = window.pageYOffset + Y.top + (R ? -h - 2 : l.offsetHeight + 2);
3541
+ if (Pe(e.calendarContainer, "arrowTop", !R), Pe(e.calendarContainer, "arrowBottom", R), !e.config.inline) {
3531
3542
  var fe = window.pageXOffset + Y.left, Be = !1, Se = !1;
3532
- X === "center" ? (fe -= (_ - Y.width) / 2, Be = !0) : X === "right" && (fe -= _ - Y.width, Se = !0), Ie(e.calendarContainer, "arrowLeft", !Be && !Se), Ie(e.calendarContainer, "arrowCenter", Be), Ie(e.calendarContainer, "arrowRight", Se);
3543
+ X === "center" ? (fe -= (_ - Y.width) / 2, Be = !0) : X === "right" && (fe -= _ - Y.width, Se = !0), Pe(e.calendarContainer, "arrowLeft", !Be && !Se), Pe(e.calendarContainer, "arrowCenter", Be), Pe(e.calendarContainer, "arrowRight", Se);
3533
3544
  var st = window.document.body.offsetWidth - (window.pageXOffset + Y.right), ot = fe + _ > window.document.body.offsetWidth, bn = st + _ > window.document.body.offsetWidth;
3534
- if (Ie(e.calendarContainer, "rightMost", ot), !e.config.static)
3545
+ if (Pe(e.calendarContainer, "rightMost", ot), !e.config.static)
3535
3546
  if (e.calendarContainer.style.top = q + "px", !ot)
3536
3547
  e.calendarContainer.style.left = fe + "px", e.calendarContainer.style.right = "auto";
3537
3548
  else if (!bn)
3538
3549
  e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = st + "px";
3539
3550
  else {
3540
- var Pt = sn();
3541
- if (Pt === void 0)
3551
+ var It = sn();
3552
+ if (It === void 0)
3542
3553
  return;
3543
- var wn = window.document.body.offsetWidth, kn = Math.max(0, wn / 2 - _ / 2), Cn = ".flatpickr-calendar.centerMost:before", _n = ".flatpickr-calendar.centerMost:after", Dn = Pt.cssRules.length, An = "{left:" + Y.left + "px;right:auto;}";
3544
- Ie(e.calendarContainer, "rightMost", !1), Ie(e.calendarContainer, "centerMost", !0), Pt.insertRule(Cn + "," + _n + An, Dn), e.calendarContainer.style.left = kn + "px", e.calendarContainer.style.right = "auto";
3554
+ var wn = window.document.body.offsetWidth, kn = Math.max(0, wn / 2 - _ / 2), Cn = ".flatpickr-calendar.centerMost:before", _n = ".flatpickr-calendar.centerMost:after", Dn = It.cssRules.length, An = "{left:" + Y.left + "px;right:auto;}";
3555
+ Pe(e.calendarContainer, "rightMost", !1), Pe(e.calendarContainer, "centerMost", !0), It.insertRule(Cn + "," + _n + An, Dn), e.calendarContainer.style.left = kn + "px", e.calendarContainer.style.right = "auto";
3545
3556
  }
3546
3557
  }
3547
3558
  }
@@ -3577,19 +3588,19 @@ function gl(t, n) {
3577
3588
  return q.classList && q.classList.contains("flatpickr-day") && !q.classList.contains("flatpickr-disabled") && !q.classList.contains("notAllowed");
3578
3589
  }, h = qr(je(i), l);
3579
3590
  if (h !== void 0) {
3580
- var _ = h, P = e.latestSelectedDateObj = new Date(_.dateObj.getTime()), N = (P.getMonth() < e.currentMonth || P.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
3591
+ var _ = h, I = e.latestSelectedDateObj = new Date(_.dateObj.getTime()), N = (I.getMonth() < e.currentMonth || I.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
3581
3592
  if (e.selectedDateElem = _, e.config.mode === "single")
3582
- e.selectedDates = [P];
3593
+ e.selectedDates = [I];
3583
3594
  else if (e.config.mode === "multiple") {
3584
- var X = Ot(P);
3585
- X ? e.selectedDates.splice(parseInt(X), 1) : e.selectedDates.push(P);
3595
+ var X = Ot(I);
3596
+ X ? e.selectedDates.splice(parseInt(X), 1) : e.selectedDates.push(I);
3586
3597
  } else
3587
- 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) {
3598
+ e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = I, e.selectedDates.push(I), Re(I, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(q, fe) {
3588
3599
  return q.getTime() - fe.getTime();
3589
3600
  }));
3590
3601
  if (d(), N) {
3591
- var Y = e.currentYear !== P.getFullYear();
3592
- e.currentYear = P.getFullYear(), e.currentMonth = P.getMonth(), Y && (ve("onYearChange"), D()), ve("onMonthChange");
3602
+ var Y = e.currentYear !== I.getFullYear();
3603
+ e.currentYear = I.getFullYear(), e.currentMonth = I.getMonth(), Y && (ye("onYearChange"), D()), ye("onMonthChange");
3593
3604
  }
3594
3605
  if (bt(), W(), We(), !N && e.config.mode !== "range" && e.config.showMonths === 1 ? ue(_) : e.selectedDateElem !== void 0 && e.hourElement === void 0 && e.selectedDateElem && e.selectedDateElem.focus(), e.hourElement !== void 0 && e.hourElement !== void 0 && e.hourElement.focus(), e.config.closeOnSelect) {
3595
3606
  var ae = e.config.mode === "single" && !e.config.enableTime, R = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
@@ -3652,14 +3663,14 @@ function gl(t, n) {
3652
3663
  e.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(i)));
3653
3664
  e.selectedDates = e.config.allowInvalidPreload ? h : h.filter(function(_) {
3654
3665
  return _ instanceof Date && Te(_, !1);
3655
- }), e.config.mode === "range" && e.selectedDates.sort(function(_, P) {
3656
- return _.getTime() - P.getTime();
3666
+ }), e.config.mode === "range" && e.selectedDates.sort(function(_, I) {
3667
+ return _.getTime() - I.getTime();
3657
3668
  });
3658
3669
  }
3659
3670
  function cn(i, l, h) {
3660
3671
  if (l === void 0 && (l = !1), h === void 0 && (h = e.config.dateFormat), i !== 0 && !i || i instanceof Array && i.length === 0)
3661
3672
  return e.clear(l);
3662
- Ut(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), F(void 0, l), g(), e.selectedDates.length === 0 && e.clear(!1), We(l), l && ve("onChange");
3673
+ Ut(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), F(void 0, l), g(), e.selectedDates.length === 0 && e.clear(!1), We(l), l && ye("onChange");
3663
3674
  }
3664
3675
  function Yt(i) {
3665
3676
  return i.slice().map(function(l) {
@@ -3694,7 +3705,7 @@ function gl(t, n) {
3694
3705
  } catch {
3695
3706
  }
3696
3707
  v(e.mobileInput, "change", function(l) {
3697
- e.setDate(je(l).value, !1, e.mobileFormatStr), ve("onChange"), ve("onClose");
3708
+ e.setDate(je(l).value, !1, e.mobileFormatStr), ye("onChange"), ye("onClose");
3698
3709
  });
3699
3710
  }
3700
3711
  function hn(i) {
@@ -3702,7 +3713,7 @@ function gl(t, n) {
3702
3713
  return e.close();
3703
3714
  e.open(i);
3704
3715
  }
3705
- function ve(i, l) {
3716
+ function ye(i, l) {
3706
3717
  if (e.config !== void 0) {
3707
3718
  var h = e.config[i];
3708
3719
  if (h !== void 0 && h.length > 0)
@@ -3732,16 +3743,16 @@ function gl(t, n) {
3732
3743
  h.setMonth(e.currentMonth + l), e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? e.monthElements[l].textContent = zn(h.getMonth(), e.config.shorthandCurrentMonth, e.l10n) + " " : e.monthsDropdownContainer.value = h.getMonth().toString(), i.value = h.getFullYear().toString();
3733
3744
  }), 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()));
3734
3745
  }
3735
- function It(i) {
3746
+ function Pt(i) {
3736
3747
  var l = i || (e.config.altInput ? e.config.altFormat : e.config.dateFormat);
3737
3748
  return e.selectedDates.map(function(h) {
3738
3749
  return e.formatDate(h, l);
3739
- }).filter(function(h, _, P) {
3740
- return e.config.mode !== "range" || e.config.enableTime || P.indexOf(h) === _;
3750
+ }).filter(function(h, _, I) {
3751
+ return e.config.mode !== "range" || e.config.enableTime || I.indexOf(h) === _;
3741
3752
  }).join(e.config.mode !== "range" ? e.config.conjunction : e.l10n.rangeSeparator);
3742
3753
  }
3743
3754
  function We(i) {
3744
- i === void 0 && (i = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = It(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = It(e.config.altFormat)), i !== !1 && ve("onValueUpdate");
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 && ye("onValueUpdate");
3745
3756
  }
3746
3757
  function vn(i) {
3747
3758
  var l = je(i), h = e.prevMonthNav.contains(l), _ = e.nextMonthNav.contains(l);
@@ -3751,10 +3762,10 @@ function gl(t, n) {
3751
3762
  i.preventDefault();
3752
3763
  var l = i.type === "keydown", h = je(i), _ = h;
3753
3764
  e.amPM !== void 0 && h === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ge(e.amPM.textContent === e.l10n.amPM[0])]);
3754
- var P = parseFloat(_.getAttribute("min")), N = parseFloat(_.getAttribute("max")), X = parseFloat(_.getAttribute("step")), Y = parseInt(_.value, 10), ae = i.delta || (l ? i.which === 38 ? 1 : -1 : 0), R = Y + X * ae;
3765
+ var I = parseFloat(_.getAttribute("min")), N = parseFloat(_.getAttribute("max")), X = parseFloat(_.getAttribute("step")), Y = parseInt(_.value, 10), ae = i.delta || (l ? i.which === 38 ? 1 : -1 : 0), R = Y + X * ae;
3755
3766
  if (typeof _.value < "u" && _.value.length === 2) {
3756
3767
  var q = _ === e.hourElement, fe = _ === e.minuteElement;
3757
- R < P ? (R = N + R + Ge(!q) + (Ge(q) && Ge(!e.amPM)), fe && U(void 0, -1, e.hourElement)) : R > N && (R = _ === e.hourElement ? R - N - Ge(!e.amPM) : P, fe && U(void 0, 1, e.hourElement)), e.amPM && q && (X === 1 ? R + Y === 23 : Math.abs(R - Y) > X) && (e.amPM.textContent = e.l10n.amPM[Ge(e.amPM.textContent === e.l10n.amPM[0])]), _.value = Fe(R);
3768
+ R < I ? (R = N + R + Ge(!q) + (Ge(q) && Ge(!e.amPM)), fe && U(void 0, -1, e.hourElement)) : R > N && (R = _ === e.hourElement ? R - N - Ge(!e.amPM) : I, fe && U(void 0, 1, e.hourElement)), e.amPM && q && (X === 1 ? R + Y === 23 : Math.abs(R - Y) > X) && (e.amPM.textContent = e.l10n.amPM[Ge(e.amPM.textContent === e.l10n.amPM[0])]), _.value = Fe(R);
3758
3769
  }
3759
3770
  }
3760
3771
  return r(), e;
@@ -4051,27 +4062,27 @@ var ha = {}, wl = {
4051
4062
  var g;
4052
4063
  function b(O) {
4053
4064
  O.stopPropagation(), O.preventDefault();
4054
- var I = O.target;
4055
- if (!(I.tagName.toLowerCase() !== "button" || typeof m.onClick > "u"))
4056
- for (var F = parseInt(I.dataset.index, 10), z = Array.isArray(m.onClick) ? m.onClick : [m.onClick], U = 0, ne = z; U < ne.length; U++) {
4065
+ var P = O.target;
4066
+ if (!(P.tagName.toLowerCase() !== "button" || typeof m.onClick > "u"))
4067
+ for (var F = parseInt(P.dataset.index, 10), z = Array.isArray(m.onClick) ? m.onClick : [m.onClick], U = 0, ne = z; U < ne.length; U++) {
4057
4068
  var ee = ne[U];
4058
4069
  typeof ee == "function" && ee(F, d);
4059
4070
  }
4060
4071
  }
4061
4072
  function V(O) {
4062
- var I = O.target;
4063
- O.key !== "Tab" || I.tagName.toLowerCase() !== "button" || (O.shiftKey && !I.previousSibling || !O.shiftKey && !I.nextSibling) && (O.preventDefault(), d.element.focus());
4073
+ var P = O.target;
4074
+ O.key !== "Tab" || P.tagName.toLowerCase() !== "button" || (O.shiftKey && !P.previousSibling || !O.shiftKey && !P.nextSibling) && (O.preventDefault(), d.element.focus());
4064
4075
  }
4065
- function v(O, I) {
4066
- Object.keys(I).filter(function(F) {
4076
+ function v(O, P) {
4077
+ Object.keys(P).filter(function(F) {
4067
4078
  return c.has(F);
4068
4079
  }).forEach(function(F) {
4069
4080
  var z;
4070
4081
  if (F === "class") {
4071
- (z = O.classList).add.apply(z, I[F].split(" "));
4082
+ (z = O.classList).add.apply(z, P[F].split(" "));
4072
4083
  return;
4073
4084
  }
4074
- O.setAttribute(F, I[F]);
4085
+ O.setAttribute(F, P[F]);
4075
4086
  });
4076
4087
  }
4077
4088
  return {
@@ -4083,11 +4094,11 @@ var ha = {}, wl = {
4083
4094
  var O = document.createElement("div");
4084
4095
  O.classList.add("shortcut-buttons-flatpickr-label"), O.textContent = m.label, g.appendChild(O);
4085
4096
  }
4086
- var I = document.createElement("div");
4087
- I.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(m.button) ? m.button : [m.button]).forEach(function(F, z) {
4097
+ var P = document.createElement("div");
4098
+ P.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(m.button) ? m.button : [m.button]).forEach(function(F, z) {
4088
4099
  var U = document.createElement("button");
4089
- U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent = F.label, U.dataset.index = String(z), typeof F.attributes < "u" && v(U, F.attributes), I.appendChild(U), d.pluginElements.push(U);
4090
- }), g.appendChild(I), d.calendarContainer.appendChild(g), g.addEventListener("click", b), g.addEventListener("keydown", V);
4100
+ U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent = F.label, U.dataset.index = String(z), typeof F.attributes < "u" && v(U, F.attributes), P.appendChild(U), d.pluginElements.push(U);
4101
+ }), g.appendChild(P), d.calendarContainer.appendChild(g), g.addEventListener("click", b), g.addEventListener("keydown", V);
4091
4102
  },
4092
4103
  /**
4093
4104
  * Clean up before flatpickr is destroyed.
@@ -4455,7 +4466,7 @@ var Un = {}, Cl = {
4455
4466
  V.l10ns.bg = v, V.l10ns;
4456
4467
  var O = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4457
4468
  l10ns: {}
4458
- }, I = {
4469
+ }, P = {
4459
4470
  weekdays: {
4460
4471
  shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
4461
4472
  longhand: [
@@ -4499,7 +4510,7 @@ var Un = {}, Cl = {
4499
4510
  ]
4500
4511
  }
4501
4512
  };
4502
- O.l10ns.bn = I, O.l10ns;
4513
+ O.l10ns.bn = P, O.l10ns;
4503
4514
  var F = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4504
4515
  l10ns: {}
4505
4516
  }, z = {
@@ -5985,7 +5996,7 @@ var Un = {}, Cl = {
5985
5996
  time_24hr: !0
5986
5997
  };
5987
5998
  pn.l10ns.km = hn, pn.l10ns;
5988
- var ve = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5999
+ var ye = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5989
6000
  l10ns: {}
5990
6001
  }, $t = {
5991
6002
  weekdays: {
@@ -6041,7 +6052,7 @@ var Un = {}, Cl = {
6041
6052
  amPM: ["ТД", "ТК"],
6042
6053
  yearAriaLabel: "Жыл"
6043
6054
  };
6044
- ve.l10ns.kz = $t, ve.l10ns;
6055
+ ye.l10ns.kz = $t, ye.l10ns;
6045
6056
  var Ot = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6046
6057
  l10ns: {}
6047
6058
  }, gn = {
@@ -6100,7 +6111,7 @@ var Un = {}, Cl = {
6100
6111
  Ot.l10ns.lt = gn, Ot.l10ns;
6101
6112
  var bt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6102
6113
  l10ns: {}
6103
- }, It = {
6114
+ }, Pt = {
6104
6115
  firstDayOfWeek: 1,
6105
6116
  weekdays: {
6106
6117
  shorthand: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
@@ -6147,7 +6158,7 @@ var Un = {}, Cl = {
6147
6158
  rangeSeparator: " līdz ",
6148
6159
  time_24hr: !0
6149
6160
  };
6150
- bt.l10ns.lv = It, bt.l10ns;
6161
+ bt.l10ns.lv = Pt, bt.l10ns;
6151
6162
  var We = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6152
6163
  l10ns: {}
6153
6164
  }, vn = {
@@ -6286,7 +6297,7 @@ var Un = {}, Cl = {
6286
6297
  l.l10ns;
6287
6298
  var _ = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6288
6299
  l10ns: {}
6289
- }, P = {
6300
+ }, I = {
6290
6301
  weekdays: {
6291
6302
  shorthand: ["နွေ", "လာ", "ဂါ", "ဟူး", "ကြာ", "သော", "နေ"],
6292
6303
  longhand: [
@@ -6335,7 +6346,7 @@ var Un = {}, Cl = {
6335
6346
  },
6336
6347
  time_24hr: !0
6337
6348
  };
6338
- _.l10ns.my = P, _.l10ns;
6349
+ _.l10ns.my = I, _.l10ns;
6339
6350
  var N = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6340
6351
  l10ns: {}
6341
6352
  }, X = {
@@ -6657,7 +6668,7 @@ var Un = {}, Cl = {
6657
6668
  time_24hr: !0
6658
6669
  };
6659
6670
  ot.l10ns.pt = bn, ot.l10ns;
6660
- var Pt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6671
+ var It = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6661
6672
  l10ns: {}
6662
6673
  }, wn = {
6663
6674
  weekdays: {
@@ -6708,7 +6719,7 @@ var Un = {}, Cl = {
6708
6719
  return "";
6709
6720
  }
6710
6721
  };
6711
- Pt.l10ns.ro = wn, Pt.l10ns;
6722
+ It.l10ns.ro = wn, It.l10ns;
6712
6723
  var kn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6713
6724
  l10ns: {}
6714
6725
  }, Cn = {
@@ -6923,7 +6934,7 @@ var Un = {}, Cl = {
6923
6934
  xn.l10ns.sl = $a, xn.l10ns;
6924
6935
  var Oa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6925
6936
  l10ns: {}
6926
- }, Ia = {
6937
+ }, Pa = {
6927
6938
  weekdays: {
6928
6939
  shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
6929
6940
  longhand: [
@@ -6975,8 +6986,8 @@ var Un = {}, Cl = {
6975
6986
  minuteAriaLabel: "Minuta",
6976
6987
  time_24hr: !0
6977
6988
  };
6978
- Oa.l10ns.sq = Ia, Oa.l10ns;
6979
- var Pa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6989
+ Oa.l10ns.sq = Pa, Oa.l10ns;
6990
+ var Ia = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6980
6991
  l10ns: {}
6981
6992
  }, Va = {
6982
6993
  weekdays: {
@@ -7026,7 +7037,7 @@ var Un = {}, Cl = {
7026
7037
  rangeSeparator: " do ",
7027
7038
  time_24hr: !0
7028
7039
  };
7029
- Pa.l10ns.sr = Va, Pa.l10ns;
7040
+ Ia.l10ns.sr = Va, Ia.l10ns;
7030
7041
  var Fa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
7031
7042
  l10ns: {}
7032
7043
  }, Ea = {
@@ -7515,7 +7526,7 @@ var Un = {}, Cl = {
7515
7526
  az: p,
7516
7527
  be: d,
7517
7528
  bg: v,
7518
- bn: I,
7529
+ bn: P,
7519
7530
  bs: b,
7520
7531
  ca: z,
7521
7532
  ckb: ne,
@@ -7548,11 +7559,11 @@ var Un = {}, Cl = {
7548
7559
  km: hn,
7549
7560
  kz: $t,
7550
7561
  lt: gn,
7551
- lv: It,
7562
+ lv: Pt,
7552
7563
  mk: vn,
7553
7564
  mn: i,
7554
7565
  ms: h,
7555
- my: P,
7566
+ my: I,
7556
7567
  nl: X,
7557
7568
  nn: ae,
7558
7569
  no: q,
@@ -7564,7 +7575,7 @@ var Un = {}, Cl = {
7564
7575
  si: Dn,
7565
7576
  sk: Mn,
7566
7577
  sl: $a,
7567
- sq: Ia,
7578
+ sq: Pa,
7568
7579
  sr: Va,
7569
7580
  sv: Ea,
7570
7581
  th: La,
@@ -7625,18 +7636,18 @@ const Al = {
7625
7636
  }
7626
7637
  g(d(C + ""));
7627
7638
  }, V = () => {
7628
- I(), s.value = !0, n("onOpen");
7639
+ P(), s.value = !0, n("onOpen");
7629
7640
  }, v = () => {
7630
7641
  s.value = !1, n("onClose");
7631
7642
  }, O = () => {
7632
7643
  a(r.value) && (u.value = r.value.fpInput().value);
7633
- }, I = () => {
7644
+ }, P = () => {
7634
7645
  var M, x, j;
7635
7646
  if (!a(r.value))
7636
7647
  return;
7637
7648
  const C = u.value.replace(/[^\s\d.:]/g, ""), A = r.value.fp.parseDate(C, z.value);
7638
7649
  if (S(A)) {
7639
- ye(e.defaultValue) ? (M = r.value) == null || M.fp.clear(!0) : (x = r.value) == null || x.fp.setDate(e.defaultValue, !0), W.value.textFieldValue.$touch(), n("blur");
7650
+ ve(e.defaultValue) ? (M = r.value) == null || M.fp.clear(!0) : (x = r.value) == null || x.fp.setDate(e.defaultValue, !0), W.value.textFieldValue.$touch(), n("blur");
7640
7651
  return;
7641
7652
  }
7642
7653
  (j = r.value) == null || j.fp.setDate(A, !0), W.value.textFieldValue.$touch(), n("blur");
@@ -7647,7 +7658,7 @@ const Al = {
7647
7658
  from: new Date(1901, 1),
7648
7659
  to: new Date(2099, 12)
7649
7660
  }
7650
- ]), ee = T(() => ye(e.defaultValue) ? void 0 : e.defaultValue), ue = T(() => e.hideSetToNow ? [] : [
7661
+ ]), ee = T(() => ve(e.defaultValue) ? void 0 : e.defaultValue), ue = T(() => e.hideSetToNow ? [] : [
7651
7662
  kl({
7652
7663
  button: [
7653
7664
  {
@@ -7692,12 +7703,12 @@ const Al = {
7692
7703
  r.value.fp.close();
7693
7704
  return;
7694
7705
  }
7695
- I(), r.value.fp.open(), r.value.fpInput().focus();
7706
+ P(), r.value.fp.open(), r.value.fpInput().focus();
7696
7707
  }
7697
7708
  }, 0);
7698
7709
  };
7699
7710
  Nt(() => {
7700
- if ((ye(e.modelValue) || S(e.modelValue)) && !ye(e.defaultValue)) {
7711
+ if ((ve(e.modelValue) || S(e.modelValue)) && !ve(e.defaultValue)) {
7701
7712
  p.value = e.defaultValue;
7702
7713
  return;
7703
7714
  }
@@ -7717,8 +7728,8 @@ const Al = {
7717
7728
  "persistent-placeholder": !0,
7718
7729
  placeholder: f(U),
7719
7730
  class: "a-datetime-picker",
7720
- onBlur: I,
7721
- onKeyup: wr(I, ["enter"])
7731
+ onBlur: P,
7732
+ onKeyup: wr(P, ["enter"])
7722
7733
  }, tn({
7723
7734
  "append-inner": y(() => [
7724
7735
  t.clearable && t.defaultValue !== t.modelValue ? (k(), E(pe, {
@@ -7759,7 +7770,7 @@ const Al = {
7759
7770
  ]), 1032, ["modelValue", "error-messages", "placeholder", "onKeyup"]));
7760
7771
  }
7761
7772
  });
7762
- const Qr = /* @__PURE__ */ gt(Ml, [["__scopeId", "data-v-6a404d76"]]), nh = /* @__PURE__ */ L({
7773
+ const Qr = /* @__PURE__ */ gt(Ml, [["__scopeId", "data-v-6a404d76"]]), ah = /* @__PURE__ */ L({
7763
7774
  __name: "AFormDatetimePicker",
7764
7775
  props: {
7765
7776
  modelValue: null,
@@ -7803,7 +7814,7 @@ const Qr = /* @__PURE__ */ gt(Ml, [["__scopeId", "data-v-6a404d76"]]), nh = /* @
7803
7814
  "onUpdate:modelValue": g[0] || (g[0] = (b) => s(b))
7804
7815
  }, null, 8, ["model-value", "data-cy", "error-messages", "required", "label", "clearable"]));
7805
7816
  }
7806
- }), ah = /* @__PURE__ */ L({
7817
+ }), rh = /* @__PURE__ */ L({
7807
7818
  __name: "AFilterDatetimePicker",
7808
7819
  props: {
7809
7820
  modelValue: null
@@ -7839,7 +7850,7 @@ function Gn() {
7839
7850
  totalCount: 0
7840
7851
  });
7841
7852
  }
7842
- function rh(t) {
7853
+ function oh(t) {
7843
7854
  return {
7844
7855
  showPagination: T(() => !(t.page === 1 && t.currentViewCount < t.rowsPerPage))
7845
7856
  };
@@ -7847,7 +7858,7 @@ function rh(t) {
7847
7858
  const xl = {
7848
7859
  key: 0,
7849
7860
  class: "required"
7850
- }, oh = /* @__PURE__ */ L({
7861
+ }, ih = /* @__PURE__ */ L({
7851
7862
  __name: "AFormRemoteAutocomplete",
7852
7863
  props: {
7853
7864
  modelValue: null,
@@ -7892,17 +7903,17 @@ const xl = {
7892
7903
  }), V = T(() => {
7893
7904
  var M, x;
7894
7905
  return S(e.required) ? ((M = e.v) == null ? void 0 : M.required) && ((x = e.v) == null ? void 0 : x.required.$params.type) === "required" : e.required;
7895
- }), v = T(() => e.multiple !== !1), O = Gn(), I = J([]), F = J([]), z = T(() => {
7906
+ }), v = T(() => e.multiple !== !1), O = Gn(), P = J([]), F = J([]), z = T(() => {
7896
7907
  const M = /* @__PURE__ */ new Map();
7897
7908
  return F.value.forEach((x) => {
7898
7909
  M.set(x.value, { value: x.value, title: x.title });
7899
- }), I.value.forEach((x) => {
7910
+ }), P.value.forEach((x) => {
7900
7911
  M.set(x.value, { value: x.value, title: x.title });
7901
7912
  }), Array.from(M, ([x, j]) => ({ value: x, title: j.title }));
7902
7913
  }), U = J(!1), ne = T(() => U.value ? !0 : e.loading), ee = async (M) => {
7903
7914
  U.value = !0;
7904
7915
  const x = u.value[e.filterByField];
7905
- x.model = M, I.value = await e.fetchItems(O, u.value), U.value = !1;
7916
+ x.model = M, P.value = await e.fetchItems(O, u.value), U.value = !1;
7906
7917
  }, ue = (M) => {
7907
7918
  const x = z.value.filter((j) => M.includes(j.value));
7908
7919
  return [].concat(x);
@@ -7912,7 +7923,7 @@ const xl = {
7912
7923
  }, oe = J(!1), Q = () => {
7913
7924
  clearTimeout(s.value), s.value = void 0;
7914
7925
  }, Me = async () => {
7915
- Q(), oe.value !== !0 && (oe.value = !0, (ye(a.value) || S(a.value) || Oe(a.value) && a.value.length === 0) && (U.value = !0, I.value = await e.fetchItems(O, u.value), U.value = !1));
7926
+ Q(), oe.value !== !0 && (oe.value = !0, (ve(a.value) || S(a.value) || Oe(a.value) && a.value.length === 0) && (U.value = !0, P.value = await e.fetchItems(O, u.value), U.value = !1));
7916
7927
  }, W = () => {
7917
7928
  o.value = !0, Q(), Me();
7918
7929
  }, D = T(() => {
@@ -7921,18 +7932,18 @@ const xl = {
7921
7932
  }), C = (M) => {
7922
7933
  !e.multiple && !o.value && M.length === 0 || D.value !== M && (r.value = M);
7923
7934
  }, A = async () => {
7924
- if (I.value = await e.fetchItems(O, u.value), e.multiple) {
7935
+ if (P.value = await e.fetchItems(O, u.value), e.multiple) {
7925
7936
  a.value = [];
7926
7937
  return;
7927
7938
  }
7928
7939
  a.value = null;
7929
7940
  };
7930
- return Pe(
7941
+ return Ie(
7931
7942
  a,
7932
7943
  async (M, x) => {
7933
7944
  if (M === x)
7934
7945
  return;
7935
- if (ye(M) || S(M) || Oe(M) && M.length === 0) {
7946
+ if (ve(M) || S(M) || Oe(M) && M.length === 0) {
7936
7947
  if (F.value = [], e.disableInitFetch || oe.value === !0)
7937
7948
  return;
7938
7949
  s.value = setTimeout(() => {
@@ -7955,7 +7966,7 @@ const xl = {
7955
7966
  M !== x && (ee(M), n("searchChangeDebounced", M));
7956
7967
  },
7957
7968
  { debounce: 300, maxWait: 1e3 }
7958
- ), Pe(r, (M, x) => {
7969
+ ), Ie(r, (M, x) => {
7959
7970
  M !== x && n("searchChange", M);
7960
7971
  }), (M, x) => (k(), E(an, {
7961
7972
  modelValue: f(a),
@@ -7984,7 +7995,7 @@ const xl = {
7984
7995
  _: 1
7985
7996
  }, 8, ["modelValue", "items", "multiple", "clearable", "error-messages", "chips", "hide-details", "loading"]));
7986
7997
  }
7987
- }), Tl = { class: "d-flex" }, Sl = ["for"], ih = /* @__PURE__ */ L({
7998
+ }), Tl = { class: "d-flex" }, Sl = ["for"], lh = /* @__PURE__ */ L({
7988
7999
  __name: "AFormRemoteCheckbox",
7989
8000
  props: {
7990
8001
  modelValue: { type: Boolean },
@@ -8016,7 +8027,7 @@ const xl = {
8016
8027
  const b = await e.callbackToTrue();
8017
8028
  n("update:modelValue", b), d.value = b, b || (u.value = !0), c.value = !1;
8018
8029
  };
8019
- return Pe(m, (b, V) => {
8030
+ return Ie(m, (b, V) => {
8020
8031
  b !== V && (d.value = b, u.value = !1);
8021
8032
  }), Nt(() => {
8022
8033
  p.value = "remote-switch-" + Date.now();
@@ -8036,7 +8047,7 @@ const xl = {
8036
8047
  }, $(f(s)), 9, Sl))
8037
8048
  ]));
8038
8049
  }
8039
- }), $l = { class: "d-flex" }, Ol = ["for"], lh = /* @__PURE__ */ L({
8050
+ }), $l = { class: "d-flex" }, Ol = ["for"], sh = /* @__PURE__ */ L({
8040
8051
  __name: "AFormRemoteSwitch",
8041
8052
  props: {
8042
8053
  modelValue: { type: Boolean },
@@ -8068,7 +8079,7 @@ const xl = {
8068
8079
  const b = await e.callbackToTrue();
8069
8080
  n("update:modelValue", b), d.value = b, b || (u.value = !0), c.value = !1;
8070
8081
  };
8071
- return Pe(m, (b, V) => {
8082
+ return Ie(m, (b, V) => {
8072
8083
  b !== V && (d.value = b, u.value = !1);
8073
8084
  }), Nt(() => {
8074
8085
  p.value = "a-remote-switch-" + Date.now();
@@ -8117,10 +8128,10 @@ const xl = {
8117
8128
  ]));
8118
8129
  }
8119
8130
  });
8120
- const Il = { key: 0 }, Pl = {
8131
+ const Pl = { key: 0 }, Il = {
8121
8132
  key: 0,
8122
8133
  class: "required"
8123
- }, sh = /* @__PURE__ */ L({
8134
+ }, uh = /* @__PURE__ */ L({
8124
8135
  __name: "AFormValueObjectOptionsSelect",
8125
8136
  props: {
8126
8137
  modelValue: null,
@@ -8175,15 +8186,15 @@ const Il = { key: 0 }, Pl = {
8175
8186
  onBlur: c
8176
8187
  }, {
8177
8188
  label: y(() => [
8178
- t.hideLabel ? Z("", !0) : (k(), H("span", Il, [
8189
+ t.hideLabel ? Z("", !0) : (k(), H("span", Pl, [
8179
8190
  B($(f(p)), 1),
8180
- f(m) ? (k(), H("span", Pl)) : Z("", !0)
8191
+ f(m) ? (k(), H("span", Il)) : Z("", !0)
8181
8192
  ]))
8182
8193
  ]),
8183
8194
  _: 1
8184
8195
  }, 8, ["modelValue", "items", "multiple", "clearable", "error-messages", "data-cy"]));
8185
8196
  }
8186
- }), uh = /* @__PURE__ */ L({
8197
+ }), dh = /* @__PURE__ */ L({
8187
8198
  __name: "AFilterValueObjectOptionsSelect",
8188
8199
  props: {
8189
8200
  modelValue: null,
@@ -8211,7 +8222,7 @@ const Il = { key: 0 }, Pl = {
8211
8222
  onChange: u[2] || (u[2] = (p) => n("change"))
8212
8223
  }, null, 8, ["modelValue", "items", "label", "multiple", "clearable"]));
8213
8224
  }
8214
- }), dh = /* @__PURE__ */ L({
8225
+ }), ch = /* @__PURE__ */ L({
8215
8226
  __name: "AFilterRemoteAutocomplete",
8216
8227
  props: {
8217
8228
  modelValue: null,
@@ -8240,7 +8251,7 @@ const Il = { key: 0 }, Pl = {
8240
8251
  }), b.value.forEach((D) => {
8241
8252
  W.set(D.value, { value: D.value, title: D.title });
8242
8253
  }), Array.from(W, ([D, C]) => ({ value: D, title: C.title }));
8243
- }), O = J(!1), I = async (W) => {
8254
+ }), O = J(!1), P = async (W) => {
8244
8255
  O.value = !0;
8245
8256
  const D = u.value[e.filterByField];
8246
8257
  D.model = W, b.value = await e.fetchItems(g, u.value), O.value = !1;
@@ -8253,7 +8264,7 @@ const Il = { key: 0 }, Pl = {
8253
8264
  }, U = J(!1), ne = () => {
8254
8265
  clearTimeout(s.value), s.value = void 0;
8255
8266
  }, ee = async () => {
8256
- ne(), U.value !== !0 && (U.value = !0, (ye(a.value) || S(a.value) || Oe(a.value) && a.value.length === 0) && (O.value = !0, b.value = await e.fetchItems(g, u.value), O.value = !1));
8267
+ ne(), U.value !== !0 && (U.value = !0, (ve(a.value) || S(a.value) || Oe(a.value) && a.value.length === 0) && (O.value = !0, b.value = await e.fetchItems(g, u.value), O.value = !1));
8257
8268
  }, ue = () => {
8258
8269
  o.value = !0, ne(), ee();
8259
8270
  }, me = T(() => {
@@ -8268,12 +8279,12 @@ const Il = { key: 0 }, Pl = {
8268
8279
  }
8269
8280
  a.value = null;
8270
8281
  }, Me = T(() => S(e.placeholder) ? e.modelValue.variant === "startsWith" ? c("common.model.filterPlaceholder.startsWith") : e.modelValue.variant === "eq" ? c("common.model.filterPlaceholder.eq") : e.modelValue.variant === "contains" ? c("common.model.filterPlaceholder.contains") : "" : e.placeholder);
8271
- return Pe(
8282
+ return Ie(
8272
8283
  a,
8273
8284
  async (W, D) => {
8274
8285
  if (W === D)
8275
8286
  return;
8276
- if (ye(W) || S(W) || Oe(W) && W.length === 0) {
8287
+ if (ve(W) || S(W) || Oe(W) && W.length === 0) {
8277
8288
  if (V.value = [], e.disableInitFetch || U.value === !0)
8278
8289
  return;
8279
8290
  s.value = setTimeout(() => {
@@ -8293,7 +8304,7 @@ const Il = { key: 0 }, Pl = {
8293
8304
  ), Da(
8294
8305
  r,
8295
8306
  (W, D) => {
8296
- W !== D && I(W);
8307
+ W !== D && P(W);
8297
8308
  },
8298
8309
  { debounce: 300, maxWait: 1e3 }
8299
8310
  ), (W, D) => (k(), E(an, {
@@ -8367,7 +8378,7 @@ const Il = { key: 0 }, Pl = {
8367
8378
  ]));
8368
8379
  }
8369
8380
  });
8370
- const ch = /* @__PURE__ */ gt(Fl, [["__scopeId", "data-v-2ee04bbf"]]), fh = /* @__PURE__ */ L({
8381
+ const fh = /* @__PURE__ */ gt(Fl, [["__scopeId", "data-v-2ee04bbf"]]), mh = /* @__PURE__ */ L({
8371
8382
  __name: "AFilterBooleanSelect",
8372
8383
  props: {
8373
8384
  modelValue: null
@@ -8376,7 +8387,7 @@ const ch = /* @__PURE__ */ gt(Fl, [["__scopeId", "data-v-2ee04bbf"]]), fh = /* @
8376
8387
  setup(t, { emit: n }) {
8377
8388
  const e = t, a = T({
8378
8389
  get() {
8379
- return S(e.modelValue.model) || ye(e.modelValue.model) ? -1 : e.modelValue.model ? 1 : 0;
8390
+ return S(e.modelValue.model) || ve(e.modelValue.model) ? -1 : e.modelValue.model ? 1 : 0;
8380
8391
  },
8381
8392
  set(c) {
8382
8393
  let u = null;
@@ -8429,7 +8440,7 @@ function Nl() {
8429
8440
  getJobStatusOption: (a) => n.value.find((r) => r.value === a)
8430
8441
  };
8431
8442
  }
8432
- const mh = /* @__PURE__ */ L({
8443
+ const ph = /* @__PURE__ */ L({
8433
8444
  __name: "AJobStatusChip",
8434
8445
  props: {
8435
8446
  value: null
@@ -8457,7 +8468,7 @@ const mh = /* @__PURE__ */ L({
8457
8468
  LINK_EXTERNAL: "mdi-open-in-new"
8458
8469
  }
8459
8470
  }
8460
- }, mr = zr(Ll), Bl = { key: 1 }, ph = /* @__PURE__ */ L({
8471
+ }, mr = zr(Ll), Bl = { key: 1 }, hh = /* @__PURE__ */ L({
8461
8472
  __name: "ACachedChip",
8462
8473
  props: {
8463
8474
  id: { default: null },
@@ -8477,7 +8488,7 @@ const mh = /* @__PURE__ */ L({
8477
8488
  const n = t, e = ka(), a = er(void 0), r = er(!1), o = T(() => n.getCachedFn(n.id)), s = T(() => n.title.length > 0 ? n.title : a.value ? Ur(a.value, n.displayTextPath) : n.fallbackIdText ? n.id : ""), c = () => {
8478
8489
  e.push({ name: n.route, params: { id: n.id } });
8479
8490
  };
8480
- return Pe(
8491
+ return Ie(
8481
8492
  o,
8482
8493
  async (u) => {
8483
8494
  r.value || S(u) || u._loaded === !1 || (a.value = u, r.value = !0);
@@ -8486,7 +8497,7 @@ const mh = /* @__PURE__ */ L({
8486
8497
  ), (u, p) => (k(), H("div", {
8487
8498
  class: ke(t.containerClass)
8488
8499
  }, [
8489
- f(ye)(t.id) || f(S)(t.id) ? Ae(u.$slots, "empty", { key: 0 }, () => [
8500
+ f(ve)(t.id) || f(S)(t.id) ? Ae(u.$slots, "empty", { key: 0 }, () => [
8490
8501
  B(" - ")
8491
8502
  ]) : t.textOnly ? (k(), H("div", Bl, [
8492
8503
  B($(f(s)) + " ", 1),
@@ -8584,7 +8595,7 @@ function Rl() {
8584
8595
  getLogLevelOption: (e) => t.value.find((a) => a.value === e)
8585
8596
  };
8586
8597
  }
8587
- const hh = /* @__PURE__ */ L({
8598
+ const gh = /* @__PURE__ */ L({
8588
8599
  __name: "ALogLevelChip",
8589
8600
  props: {
8590
8601
  level: null
@@ -8603,7 +8614,7 @@ const hh = /* @__PURE__ */ L({
8603
8614
  _: 1
8604
8615
  }, 8, ["color"])) : Z("", !0);
8605
8616
  }
8606
- }), Xr = (t) => "" + t, zl = ["data-cy", "onClick"], gh = /* @__PURE__ */ L({
8617
+ }), Xr = (t) => "" + t, zl = ["data-cy", "onClick"], vh = /* @__PURE__ */ L({
8607
8618
  __name: "ACopyText",
8608
8619
  props: {
8609
8620
  value: null,
@@ -8657,7 +8668,7 @@ const Ul = {
8657
8668
  size: { default: "default" }
8658
8669
  },
8659
8670
  setup(t) {
8660
- return (n, e) => f(ye)(t.secondaryIcon) ? f(ye)(t.secondaryText) ? (k(), E(pe, {
8671
+ return (n, e) => f(ve)(t.secondaryIcon) ? f(ve)(t.secondaryText) ? (k(), E(pe, {
8661
8672
  key: 2,
8662
8673
  icon: t.mainIcon
8663
8674
  }, null, 8, ["icon"])) : (k(), H("div", Yl, [
@@ -8694,7 +8705,7 @@ function Wl(t, n) {
8694
8705
  _: 3
8695
8706
  });
8696
8707
  }
8697
- const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8708
+ const yh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), bh = /* @__PURE__ */ L({
8698
8709
  __name: "AUserAndTimeTrackingFields",
8699
8710
  props: {
8700
8711
  data: null,
@@ -8730,7 +8741,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8730
8741
  }, 8, ["title"]))
8731
8742
  ], 64));
8732
8743
  }
8733
- }), bh = /* @__PURE__ */ L({
8744
+ }), wh = /* @__PURE__ */ L({
8734
8745
  __name: "AActionCloseButton",
8735
8746
  props: {
8736
8747
  routeName: null,
@@ -8766,7 +8777,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8766
8777
  _: 1
8767
8778
  }, 8, ["class", "data-cy", "to"]));
8768
8779
  }
8769
- }), wh = /* @__PURE__ */ L({
8780
+ }), kh = /* @__PURE__ */ L({
8770
8781
  __name: "AActionCreateButton",
8771
8782
  props: {
8772
8783
  routeName: null,
@@ -8789,7 +8800,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8789
8800
  _: 1
8790
8801
  }, 8, ["class", "data-cy", "to"]));
8791
8802
  }
8792
- }), kh = /* @__PURE__ */ L({
8803
+ }), Ch = /* @__PURE__ */ L({
8793
8804
  __name: "AActionDeleteButton",
8794
8805
  props: {
8795
8806
  variant: { default: "text" },
@@ -8907,7 +8918,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8907
8918
  ], 64);
8908
8919
  };
8909
8920
  }
8910
- }), Ch = /* @__PURE__ */ L({
8921
+ }), _h = /* @__PURE__ */ L({
8911
8922
  __name: "AActionEditButton",
8912
8923
  props: {
8913
8924
  routeName: null,
@@ -8936,7 +8947,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8936
8947
  _: 1
8937
8948
  }, 8, ["class", "data-cy", "loading", "onClick"]));
8938
8949
  }
8939
- }), _h = /* @__PURE__ */ L({
8950
+ }), Dh = /* @__PURE__ */ L({
8940
8951
  __name: "AActionSaveAndCloseButton",
8941
8952
  props: {
8942
8953
  buttonT: { default: "common.button.saveAndClose" },
@@ -8980,7 +8991,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
8980
8991
  _: 1
8981
8992
  }, 8, ["class", "data-cy", "loading", "disabled", "onClick"]));
8982
8993
  }
8983
- }), Dh = /* @__PURE__ */ L({
8994
+ }), Ah = /* @__PURE__ */ L({
8984
8995
  __name: "AActionSaveButton",
8985
8996
  props: {
8986
8997
  buttonT: { default: "common.button.save" },
@@ -9035,7 +9046,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
9035
9046
  _: 1
9036
9047
  }, 8, ["class", "data-cy", "loading", "disabled", "onClick"]));
9037
9048
  }
9038
- }), Ah = /* @__PURE__ */ L({
9049
+ }), Mh = /* @__PURE__ */ L({
9039
9050
  __name: "ATableCopyIdButton",
9040
9051
  props: {
9041
9052
  id: null,
@@ -9082,7 +9093,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
9082
9093
  _: 1
9083
9094
  }, 8, ["class", "data-cy", "size", "onClick"])) : Z("", !0);
9084
9095
  }
9085
- }), Mh = /* @__PURE__ */ L({
9096
+ }), xh = /* @__PURE__ */ L({
9086
9097
  __name: "ATableDetailButton",
9087
9098
  props: {
9088
9099
  routeName: null,
@@ -9119,7 +9130,7 @@ const vh = /* @__PURE__ */ gt(Jl, [["render", Wl]]), yh = /* @__PURE__ */ L({
9119
9130
  _: 1
9120
9131
  }, 8, ["class", "data-cy", "to"]));
9121
9132
  }
9122
- }), xh = /* @__PURE__ */ L({
9133
+ }), Th = /* @__PURE__ */ L({
9123
9134
  __name: "ATableEditButton",
9124
9135
  props: {
9125
9136
  routeName: null,
@@ -9228,7 +9239,7 @@ function Kl() {
9228
9239
  setThemeLight: e
9229
9240
  };
9230
9241
  }
9231
- const Zl = { key: 0 }, Ql = { key: 1 }, Xl = { key: 2 }, Th = /* @__PURE__ */ L({
9242
+ const Zl = { key: 0 }, Ql = { key: 1 }, Xl = { key: 2 }, Sh = /* @__PURE__ */ L({
9232
9243
  __name: "AThemeSelect",
9233
9244
  setup(t) {
9234
9245
  const { setThemeDark: n, setThemeAuto: e, setThemeLight: a, settings: r } = Kl(), { t: o } = G(), s = J(!1);
@@ -9507,7 +9518,7 @@ const vs = /* @__PURE__ */ gt(fs, [["render", gs]]), ys = { class: "flag" }, pr
9507
9518
  }));
9508
9519
  }
9509
9520
  });
9510
- const Sh = /* @__PURE__ */ gt(bs, [["__scopeId", "data-v-a2015e08"]]), ws = ["onClick"], ks = /* @__PURE__ */ L({
9521
+ const $h = /* @__PURE__ */ gt(bs, [["__scopeId", "data-v-a2015e08"]]), ws = ["onClick"], ks = /* @__PURE__ */ L({
9511
9522
  __name: "ASystemBarNewVersion",
9512
9523
  setup(t) {
9513
9524
  const { t: n } = G(), e = () => {
@@ -9521,7 +9532,7 @@ const Sh = /* @__PURE__ */ gt(bs, [["__scopeId", "data-v-a2015e08"]]), ws = ["on
9521
9532
  }, $(f(n)("common.system.newVersionReload")), 9, ws)
9522
9533
  ]), tr(1), r[0]);
9523
9534
  }
9524
- }), Cs = { class: "text-center w-100 text-caption pb-1" }, $h = /* @__PURE__ */ L({
9535
+ }), Cs = { class: "text-center w-100 text-caption pb-1" }, Oh = /* @__PURE__ */ L({
9525
9536
  __name: "ASystemBar",
9526
9537
  props: {
9527
9538
  currentVersion: null,
@@ -9607,7 +9618,7 @@ const Sh = /* @__PURE__ */ gt(bs, [["__scopeId", "data-v-a2015e08"]]), ws = ["on
9607
9618
  }, As = {
9608
9619
  key: 0,
9609
9620
  class: "required"
9610
- }, Oh = /* @__PURE__ */ L({
9621
+ }, Ph = /* @__PURE__ */ L({
9611
9622
  __name: "AAvatarColorPicker",
9612
9623
  props: {
9613
9624
  modelValue: null,
@@ -9632,7 +9643,7 @@ const Sh = /* @__PURE__ */ gt(bs, [["__scopeId", "data-v-a2015e08"]]), ws = ["on
9632
9643
  }, s = T(() => e.modelValue.length > 0 ? "flat" : "tonal"), c = T(() => e.modelValue.length > 0 ? e.modelValue : void 0), u = (p) => {
9633
9644
  n("update:modelValue", p);
9634
9645
  };
9635
- return Pe(
9646
+ return Ie(
9636
9647
  () => e.modelValue,
9637
9648
  (p, m) => {
9638
9649
  if (p !== m && p.length !== 7 && p.length !== 7 && e.randomColor) {
@@ -9856,7 +9867,7 @@ const Ms = /* @__PURE__ */ te("br", null, null, -1), Ih = /* @__PURE__ */ L({
9856
9867
  }), xs = {
9857
9868
  key: 0,
9858
9869
  class: "required"
9859
- }, Ph = /* @__PURE__ */ L({
9870
+ }, Vh = /* @__PURE__ */ L({
9860
9871
  __name: "AFormRemoteAutocompleteWithCached",
9861
9872
  props: {
9862
9873
  modelValue: null,
@@ -9886,7 +9897,7 @@ const Ms = /* @__PURE__ */ te("br", null, null, -1), Ih = /* @__PURE__ */ L({
9886
9897
  }
9887
9898
  }), { t: c } = G(), u = be(nt, void 0), p = be(at, void 0), m = J(!1), d = J(""), g = J(!1), { innerFilter: b } = ya(e), V = Gn(), v = J(/* @__PURE__ */ new Map()), O = () => {
9888
9899
  m.value = !0, n("focus", s.value);
9889
- }, I = () => {
9900
+ }, P = () => {
9890
9901
  var D;
9891
9902
  m.value = !1, (D = e.v) == null || D.$touch(), n("blur", s.value);
9892
9903
  }, F = T(() => {
@@ -9935,16 +9946,16 @@ const Ms = /* @__PURE__ */ te("br", null, null, -1), Ih = /* @__PURE__ */ L({
9935
9946
  D !== C && (ue(D), n("searchChangeDebounced", D));
9936
9947
  },
9937
9948
  { debounce: 300, maxWait: 1e3 }
9938
- ), Pe(d, (D, C) => {
9949
+ ), Ie(d, (D, C) => {
9939
9950
  if (D.length === 0 && m.value === !0 && Date.now() - Me.value > 200) {
9940
9951
  d.value = C;
9941
9952
  return;
9942
9953
  }
9943
9954
  D !== C && n("searchChange", D);
9944
- }), Pe(
9955
+ }), Ie(
9945
9956
  s,
9946
9957
  async (D) => {
9947
- if (ye(D) || S(D) || Oe(D) && D.length === 0)
9958
+ if (ve(D) || S(D) || Oe(D) && D.length === 0)
9948
9959
  return;
9949
9960
  const C = Oe(D) ? D : [D], A = new Set(C);
9950
9961
  await oe(A), A.size > 0 && (r(Array.from(A)), a());
@@ -9961,7 +9972,7 @@ const Ms = /* @__PURE__ */ te("br", null, null, -1), Ih = /* @__PURE__ */ L({
9961
9972
  clearable: t.clearable,
9962
9973
  "error-messages": f(F),
9963
9974
  loading: g.value,
9964
- onBlur: I,
9975
+ onBlur: P,
9965
9976
  onFocus: O,
9966
9977
  "onUpdate:search": ee,
9967
9978
  "onClick:clear": Q,
@@ -10005,7 +10016,7 @@ const Ms = /* @__PURE__ */ te("br", null, null, -1), Ih = /* @__PURE__ */ L({
10005
10016
  }), Ts = { class: "d-flex justify-center align-center fill-height" }, Ss = { class: "d-flex justify-center align-center flex-column" }, $s = ["src"], Os = {
10006
10017
  key: 0,
10007
10018
  class: "display-1 my-3"
10008
- }, Is = { class: "mb-3 body-1" }, Ps = { class: "py-5" }, Vs = /* @__PURE__ */ L({
10019
+ }, Ps = { class: "mb-3 body-1" }, Is = { class: "py-5" }, Vs = /* @__PURE__ */ L({
10009
10020
  __name: "ALoginView",
10010
10021
  props: {
10011
10022
  title: { default: void 0 },
@@ -10024,10 +10035,10 @@ const Ms = /* @__PURE__ */ te("br", null, null, -1), Ih = /* @__PURE__ */ L({
10024
10035
  alt: ""
10025
10036
  }, null, 8, $s),
10026
10037
  t.title ? (k(), H("h1", Os, $(t.title), 1)) : Z("", !0),
10027
- te("h4", Is, [
10038
+ te("h4", Ps, [
10028
10039
  te("span", null, $(f(e)("common.system.login.text")), 1)
10029
10040
  ]),
10030
- te("div", Ps, [
10041
+ te("div", Is, [
10031
10042
  t.loginUrl ? (k(), E(ie, {
10032
10043
  key: 0,
10033
10044
  href: t.loginUrl(),
@@ -10044,7 +10055,7 @@ const Ms = /* @__PURE__ */ te("br", null, null, -1), Ih = /* @__PURE__ */ L({
10044
10055
  ]));
10045
10056
  }
10046
10057
  });
10047
- const Vh = /* @__PURE__ */ gt(Vs, [["__scopeId", "data-v-d02b0927"]]), Fh = /* @__PURE__ */ L({
10058
+ const Fh = /* @__PURE__ */ gt(Vs, [["__scopeId", "data-v-d02b0927"]]), Eh = /* @__PURE__ */ L({
10048
10059
  __name: "ALogoutView",
10049
10060
  props: {
10050
10061
  logoutUrl: { type: [null, Function], default: void 0 }
@@ -10055,7 +10066,7 @@ const Vh = /* @__PURE__ */ gt(Vs, [["__scopeId", "data-v-d02b0927"]]), Fh = /* @
10055
10066
  n.logoutUrl && (window.location.href = n.logoutUrl());
10056
10067
  }), (e, a) => (k(), H("div"));
10057
10068
  }
10058
- }), Fs = { class: "d-flex justify-center align-center fill-height" }, Es = { class: "d-flex flex-column align-center" }, Ns = { class: "d-flex justify-center align-center text-primary" }, Ls = { class: "pa-4" }, Eh = /* @__PURE__ */ L({
10069
+ }), Fs = { class: "d-flex justify-center align-center fill-height" }, Es = { class: "d-flex flex-column align-center" }, Ns = { class: "d-flex justify-center align-center text-primary" }, Ls = { class: "pa-4" }, Nh = /* @__PURE__ */ L({
10059
10070
  __name: "AUnauthorizedView",
10060
10071
  props: {
10061
10072
  returnRouteName: null
@@ -10085,7 +10096,7 @@ const Vh = /* @__PURE__ */ gt(Vs, [["__scopeId", "data-v-d02b0927"]]), Fh = /* @
10085
10096
  ])
10086
10097
  ]));
10087
10098
  }
10088
- }), Bs = { class: "d-flex justify-center align-center fill-height" }, js = { class: "d-flex flex-column align-center" }, Rs = { class: "d-flex justify-center align-center text-primary" }, zs = { class: "pa-4" }, Nh = /* @__PURE__ */ L({
10099
+ }), Bs = { class: "d-flex justify-center align-center fill-height" }, js = { class: "d-flex flex-column align-center" }, Rs = { class: "d-flex justify-center align-center text-primary" }, zs = { class: "pa-4" }, Lh = /* @__PURE__ */ L({
10089
10100
  __name: "ANotFoundView",
10090
10101
  props: {
10091
10102
  returnRouteName: null
@@ -10115,8 +10126,8 @@ const Vh = /* @__PURE__ */ gt(Vs, [["__scopeId", "data-v-d02b0927"]]), Fh = /* @
10115
10126
  ])
10116
10127
  ]));
10117
10128
  }
10118
- }), Lh = (t) => t ? 1 : 0;
10119
- function Bh(t = "", n = "user") {
10129
+ }), Bh = (t) => t ? 1 : 0;
10130
+ function jh(t = "", n = "user") {
10120
10131
  let e = t, a = n;
10121
10132
  return {
10122
10133
  createAnzuUser: (o, s) => (ut(o) && (e = o), ut(s) && (a = s), {
@@ -10145,7 +10156,7 @@ function Bh(t = "", n = "user") {
10145
10156
  })
10146
10157
  };
10147
10158
  }
10148
- function jh() {
10159
+ function Rh() {
10149
10160
  return {
10150
10161
  createPermissionConfig: () => ({
10151
10162
  config: {},
@@ -10159,7 +10170,7 @@ function jh() {
10159
10170
  })
10160
10171
  };
10161
10172
  }
10162
- function Rh() {
10173
+ function zh() {
10163
10174
  return {
10164
10175
  createPermissionGroup: () => ({
10165
10176
  id: 0,
@@ -10175,14 +10186,14 @@ function Rh() {
10175
10186
  })
10176
10187
  };
10177
10188
  }
10178
- const zh = (t, n = 2) => {
10189
+ const Uh = (t, n = 2) => {
10179
10190
  if (t === 0)
10180
10191
  return "0 Bytes";
10181
10192
  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));
10182
10193
  return parseFloat((t / Math.pow(e, o)).toFixed(a)) + " " + r[o];
10183
- }, xt = (t) => Vi.includes(t), Tt = (t, n, e = "") => Sr(n) ? t : Ko(e === "" ? t : e, n), Uh = (t, n, e = "", a = {}, r = null, o, s, c = {}) => new Promise((u, p) => {
10194
+ }, xt = (t) => Vi.includes(t), Tt = (t, n, e = "") => Sr(n) ? t : Ko(e === "" ? t : e, n), Yh = (t, n, e = "", a = {}, r = null, o, s, c = {}) => new Promise((u, p) => {
10184
10195
  const m = { method: n };
10185
- e !== "" && (m.url = Tt(e, a)), ye(r) || (m.data = JSON.stringify(r)), t().request({ ...c, ...m }).then((d) => xt(d.status) ? d.data ? u(d.data) : p(new Ve()) : p(new pt(d.status))).catch((d) => Dt(d) ? p(new ft(d)) : At(d) ? p(new mt(d, o, s, d)) : Mt(d) ? p(new ht(d, d)) : p(new Ve(d)));
10196
+ e !== "" && (m.url = Tt(e, a)), ve(r) || (m.data = JSON.stringify(r)), t().request({ ...c, ...m }).then((d) => xt(d.status) ? d.data ? u(d.data) : p(new Ve()) : p(new pt(d.status))).catch((d) => Dt(d) ? p(new ft(d)) : At(d) ? p(new mt(d, o, s, d)) : Mt(d) ? p(new ht(d, d)) : p(new Ve(d)));
10186
10197
  }), Us = (t, n = {}, e, a = {}, r, o, s = {}) => new Promise((c, u) => {
10187
10198
  t().post(Tt(e, a), JSON.stringify(n), s).then((p) => xt(p.status) ? p.data ? c(p.data) : u(new Ve()) : u(new pt(p.status))).catch((p) => Dt(p) ? u(new ft(p)) : At(p) ? u(new mt(p, r, o, p)) : Mt(p) ? u(new ht(p, p)) : u(new Ve(p)));
10188
10199
  }), Ys = (t, n, e = {}, a, r, o = {}) => new Promise((s, c) => {
@@ -10194,12 +10205,12 @@ function ao() {
10194
10205
  }, e = (m, d) => {
10195
10206
  c("offset", m * d - d);
10196
10207
  }, a = (m, d) => {
10197
- !ye(m) && m.length > 0 && c("order[" + m + "]", d ? "desc" : "asc");
10208
+ !ve(m) && m.length > 0 && c("order[" + m + "]", d ? "desc" : "asc");
10198
10209
  }, r = (m) => ar(m) ? m ? "1" : "0" : m, o = (m, d, g) => {
10199
10210
  ut(g) && g.length === 0 || t.value.push("filter_" + m + "[" + d + "]=" + r(g));
10200
10211
  }, s = (m) => {
10201
10212
  const d = m.model;
10202
- return ye(d) ? m.mandatory ? (m.model = m.default, m.default) : null : ut(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : encodeURIComponent(d) : Oe(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : d.map((g) => ut(g) ? encodeURIComponent(g) : g).join(",") : Aa(d) || ar(d) ? d : null;
10213
+ return ve(d) ? m.mandatory ? (m.model = m.default, m.default) : null : ut(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : encodeURIComponent(d) : Oe(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : d.map((g) => ut(g) ? encodeURIComponent(g) : g).join(",") : Aa(d) || ar(d) ? d : null;
10203
10214
  }, c = (m, d) => {
10204
10215
  t.value.push(m + "=" + d);
10205
10216
  };
@@ -10215,7 +10226,7 @@ function ao() {
10215
10226
  if (b.exclude)
10216
10227
  continue;
10217
10228
  const v = s(b);
10218
- if (!ye(v)) {
10229
+ if (!ve(v)) {
10219
10230
  if (d) {
10220
10231
  c(V, v);
10221
10232
  continue;
@@ -10231,7 +10242,7 @@ function ao() {
10231
10242
  const Hs = (t, n) => {
10232
10243
  const { querySetLimit: e, querySetOffset: a, querySetOrder: r, queryBuild: o, queryAddFilter: s, queryAdd: c } = ao(), u = t.length;
10233
10244
  return e(u), a(1, u), r("id", !1), n ? c("id", t.join(",")) : s("in", "id", t.join(",")), o();
10234
- }, Yh = (t, n, e, a = {}, r, o, s = {}, c = !1) => new Promise((u, p) => {
10245
+ }, Hh = (t, n, e, a = {}, r, o, s = {}, c = !1) => new Promise((u, p) => {
10235
10246
  t().get(Tt(e, a) + Hs(n, c), s).then((m) => {
10236
10247
  var d;
10237
10248
  return xt(m.status) ? (d = m.data) != null && d.data ? u(m.data.data) : p(new Ve()) : p(new pt(m.status));
@@ -10255,19 +10266,19 @@ const Hs = (t, n) => {
10255
10266
  }).catch((d) => Dt(d) ? p(new ft(d)) : At(d) ? p(new mt(d, o, s, d)) : Mt(d) ? p(new ht(d, d)) : p(new Ve(d)));
10256
10267
  }), Ks = (t, n, e = {}, a, r, o = {}) => new Promise((s, c) => {
10257
10268
  t().get(Tt(n, e), o).then((u) => xt(u.status) ? u.data ? s(u.data) : c(new Ve()) : c(new pt(u.status))).catch((u) => Dt(u) ? c(new ft(u)) : At(u) ? c(new mt(u, a, r, u)) : Mt(u) ? c(new ht(u, u)) : c(new Ve(u)));
10258
- }), Hh = (t, n = {}, e, a = {}, r, o, s = {}) => new Promise((c, u) => {
10269
+ }), Jh = (t, n = {}, e, a = {}, r, o, s = {}) => new Promise((c, u) => {
10259
10270
  t().put(Tt(e, a), JSON.stringify(n), s).then((p) => xt(p.status) ? p.data ? c(p.data) : u(new Ve()) : u(new pt(p.status))).catch((p) => Dt(p) ? u(new ft(p)) : At(p) ? u(new mt(p, r, o, p)) : Mt(p) ? u(new ht(p, p)) : u(new Ve(p)));
10260
10271
  });
10261
- function Jh() {
10272
+ function Wh() {
10262
10273
  return {
10263
- isAnzuFatalError: Ir,
10274
+ isAnzuFatalError: Pr,
10264
10275
  isAnzuApiForbiddenError: Vr,
10265
10276
  isAnzuApiValidationError: Fr,
10266
10277
  isAnzuApiResponseCodeError: Er
10267
10278
  };
10268
10279
  }
10269
10280
  const Vn = "/adm/v1/job", Fn = "job";
10270
- function Wh(t, n) {
10281
+ function qh(t, n) {
10271
10282
  return {
10272
10283
  fetchJobList: (s, c) => Gs(t, Vn, {}, s, c, n, Fn),
10273
10284
  fetchJob: (s) => Ks(t, Vn + "/:id", { id: s }, n, Fn),
@@ -10278,7 +10289,7 @@ function Wh(t, n) {
10278
10289
  deleteJob: (s) => Ys(t, Vn + "/:id", { id: s }, n, Fn)
10279
10290
  };
10280
10291
  }
10281
- function qh(t = []) {
10292
+ function Gh(t = []) {
10282
10293
  const { t: n } = G(), e = J([
10283
10294
  {
10284
10295
  value: "jobUserDataDelete",
@@ -10291,16 +10302,16 @@ function qh(t = []) {
10291
10302
  getJobResourceOption: (r) => e.value.find((o) => o.value === r)
10292
10303
  };
10293
10304
  }
10294
- const Gh = (t, n) => {
10305
+ const Kh = (t, n) => {
10295
10306
  const e = t.indexOf(n);
10296
10307
  if (e === -1) {
10297
10308
  t.push(n);
10298
10309
  return;
10299
10310
  }
10300
10311
  t.splice(e, 1);
10301
- }, Kh = (t, n = ", ") => t.join(n), Zh = (...t) => Array.from(...t), Zs = (t, n = []) => t.reduce((e, a) => Array.isArray(a) ? Zs(a, n) : (n.push(a), n), []), Qs = (t) => {
10312
+ }, Zh = (t, n = ", ") => t.join(n), Qh = (...t) => Array.from(...t), Zs = (t, n = []) => t.reduce((e, a) => Array.isArray(a) ? Zs(a, n) : (n.push(a), n), []), Qs = (t) => {
10302
10313
  history.replaceState(history.state, "", t);
10303
- }, Qh = (t, n) => {
10314
+ }, Xh = (t, n) => {
10304
10315
  const e = t.resolve(n);
10305
10316
  Qs(e.href);
10306
10317
  }, Xs = "Badge", eu = "Close", tu = {
@@ -10394,7 +10405,7 @@ const Gh = (t, n) => {
10394
10405
  recordWas: yu,
10395
10406
  idWasCopied: bu,
10396
10407
  textWasCopied: wu
10397
- }, Cu = "Create", _u = "Create And Close", Du = "Save", Au = "Save And Close", Mu = "Close", xu = "Edit", Tu = "Detail", Su = "Apply Filter", $u = "Reset Filter", Ou = "More filters", Iu = "Cancel", Pu = "Id", Vu = "Now", Fu = "Logout", Eu = "Confirm", Nu = "Copy ID", Lu = "Add", Bu = "Download", ju = "Upload", Ru = {
10408
+ }, Cu = "Create", _u = "Create And Close", Du = "Save", Au = "Save And Close", Mu = "Close", xu = "Edit", Tu = "Detail", Su = "Apply Filter", $u = "Reset Filter", Ou = "More filters", Pu = "Cancel", Iu = "Id", Vu = "Now", Fu = "Logout", Eu = "Confirm", Nu = "Copy ID", Lu = "Add", Bu = "Download", ju = "Upload", Ru = {
10398
10409
  create: Cu,
10399
10410
  createAndClose: _u,
10400
10411
  save: Du,
@@ -10405,9 +10416,9 @@ const Gh = (t, n) => {
10405
10416
  submitFilter: Su,
10406
10417
  resetFilter: $u,
10407
10418
  advancedFilters: Ou,
10408
- cancel: Iu,
10419
+ cancel: Pu,
10409
10420
  delete: "Delete",
10410
- id: Pu,
10421
+ id: Iu,
10411
10422
  now: Vu,
10412
10423
  logout: Fu,
10413
10424
  confirm: Eu,
@@ -10621,10 +10632,10 @@ const Gh = (t, n) => {
10621
10632
  model: xd,
10622
10633
  filter: Td,
10623
10634
  button: Sd
10624
- }, Od = "Invalid", Id = "todo trans error_id_mismatch", Pd = "todo trans error_field_empty", Vd = "todo trans error_field_length_min", Fd = "todo trans error_field_length_max", Ed = "todo trans error_field_invalid", Nd = "todo trans error_field_not_unique", Ld = "todo trans error_field_value_not_found", Bd = "todo trans error_field_range_min", jd = "todo trans error_field_range_max", Rd = "todo trans error_field_regex", zd = "todo trans error_field_url", Ud = "todo trans error_already_exists", Yd = {
10635
+ }, Od = "Invalid", Pd = "todo trans error_id_mismatch", Id = "todo trans error_field_empty", Vd = "todo trans error_field_length_min", Fd = "todo trans error_field_length_max", Ed = "todo trans error_field_invalid", Nd = "todo trans error_field_not_unique", Ld = "todo trans error_field_value_not_found", Bd = "todo trans error_field_range_min", jd = "todo trans error_field_range_max", Rd = "todo trans error_field_regex", zd = "todo trans error_field_url", Ud = "todo trans error_already_exists", Yd = {
10625
10636
  noTranslation: Od,
10626
- error_id_mismatch: Id,
10627
- error_field_empty: Pd,
10637
+ error_id_mismatch: Pd,
10638
+ error_field_empty: Id,
10628
10639
  error_field_length_min: Vd,
10629
10640
  error_field_length_max: Fd,
10630
10641
  error_field_invalid: Ed,
@@ -10649,7 +10660,7 @@ const Gh = (t, n) => {
10649
10660
  stringArrayItemLength: tc
10650
10661
  }, ac = "Chyba", rc = {
10651
10662
  noTranslation: ac
10652
- }, Xh = {
10663
+ }, eg = {
10653
10664
  common: {
10654
10665
  alert: ku,
10655
10666
  button: Ru,
@@ -10690,7 +10701,7 @@ const Gh = (t, n) => {
10690
10701
  recordWas: dc,
10691
10702
  idWasCopied: cc,
10692
10703
  textWasCopied: fc
10693
- }, pc = "Vytvoriť", hc = "Vytvoriť a zatvoriť", gc = "Uložiť", vc = "Uložiť a zatvoriť", yc = "Zatvoriť", bc = "Editovať", wc = "Detail", kc = "Hľadať", Cc = "Zrušiť filter", _c = "More filters", Dc = "Zrušiť", Ac = "ID", Mc = "Teraz", xc = "Potvrď", Tc = "Copy ID", Sc = "Pridať", $c = "Download", Oc = "Upload", Ic = {
10704
+ }, pc = "Vytvoriť", hc = "Vytvoriť a zatvoriť", gc = "Uložiť", vc = "Uložiť a zatvoriť", yc = "Zatvoriť", bc = "Editovať", wc = "Detail", kc = "Hľadať", Cc = "Zrušiť filter", _c = "More filters", Dc = "Zrušiť", Ac = "ID", Mc = "Teraz", xc = "Potvrď", Tc = "Copy ID", Sc = "Pridať", $c = "Download", Oc = "Upload", Pc = {
10694
10705
  create: pc,
10695
10706
  createAndClose: hc,
10696
10707
  save: gc,
@@ -10710,7 +10721,7 @@ const Gh = (t, n) => {
10710
10721
  add: Sc,
10711
10722
  download: $c,
10712
10723
  Upload: Oc
10713
- }, Pc = "System", Vc = "Nevybrané", Fc = {
10724
+ }, Ic = "System", Vc = "Nevybrané", Fc = {
10714
10725
  true: "áno",
10715
10726
  false: "nie"
10716
10727
  }, Ec = {
@@ -10723,7 +10734,7 @@ const Gh = (t, n) => {
10723
10734
  contains: "Kdekoľvek vo výraze",
10724
10735
  startsWith: "Začiatok výrazu"
10725
10736
  }, Lc = {
10726
- system: Pc,
10737
+ system: Ic,
10727
10738
  notSelected: Vc,
10728
10739
  boolean: Fc,
10729
10740
  tracking: Ec,
@@ -10952,11 +10963,11 @@ const Gh = (t, n) => {
10952
10963
  }
10953
10964
  }, Of = {
10954
10965
  moreEvents: "{0} more"
10955
- }, If = {
10966
+ }, Pf = {
10956
10967
  clear: "Clear {0}",
10957
10968
  prependAction: "{0} prepended action",
10958
10969
  appendAction: "{0} appended action"
10959
- }, Pf = {
10970
+ }, If = {
10960
10971
  counter: "{0} files",
10961
10972
  counterSize: "{0} files ({1} in total)"
10962
10973
  }, Vf = {
@@ -10986,8 +10997,8 @@ const Gh = (t, n) => {
10986
10997
  noDataText: Sf,
10987
10998
  carousel: $f,
10988
10999
  calendar: Of,
10989
- input: If,
10990
- fileInput: Pf,
11000
+ input: Pf,
11001
+ fileInput: If,
10991
11002
  timePicker: Vf,
10992
11003
  pagination: Ff,
10993
11004
  rating: Ef
@@ -11019,10 +11030,10 @@ const Gh = (t, n) => {
11019
11030
  numeric: sm,
11020
11031
  slug: um,
11021
11032
  stringArrayItemLength: dm
11022
- }, eg = {
11033
+ }, tg = {
11023
11034
  common: {
11024
11035
  alert: mc,
11025
- button: Ic,
11036
+ button: Pc,
11026
11037
  model: Lc,
11027
11038
  system: Zc,
11028
11039
  anzuUser: nf,
@@ -11093,7 +11104,7 @@ function Am() {
11093
11104
  }
11094
11105
  const { t: Mm } = le.global;
11095
11106
  function xm() {
11096
- return Ke({ t: Mm })(Io, {
11107
+ return Ke({ t: Mm })(Po, {
11097
11108
  messagePath: () => "error.jsValidation.required"
11098
11109
  });
11099
11110
  }
@@ -11123,13 +11134,13 @@ function Om() {
11123
11134
  messagePath: () => "error.jsValidation.stringArrayItemLength"
11124
11135
  });
11125
11136
  }
11126
- const { t: Im } = le.global;
11127
- function Pm() {
11128
- return Ke({ t: Im })(Po, {
11137
+ const { t: Pm } = le.global;
11138
+ function Im() {
11139
+ return Ke({ t: Pm })(Io, {
11129
11140
  messagePath: () => "error.jsValidation.url"
11130
11141
  });
11131
11142
  }
11132
- function tg() {
11143
+ function ng() {
11133
11144
  return {
11134
11145
  required: xm(),
11135
11146
  requiredIf: Zr(),
@@ -11141,7 +11152,7 @@ function tg() {
11141
11152
  email: hm(),
11142
11153
  numeric: Am(),
11143
11154
  slug: Sm(),
11144
- url: Pm(),
11155
+ url: Im(),
11145
11156
  stringArrayItemLength: Om()
11146
11157
  };
11147
11158
  }
@@ -11151,7 +11162,7 @@ const Vm = ["createdAt", "modifiedAt"], { t: gr } = le.global || le, Fm = {
11151
11162
  sortable: !1,
11152
11163
  fixed: !1
11153
11164
  };
11154
- function ng(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
11165
+ function ag(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
11155
11166
  const s = Gn();
11156
11167
  if (o)
11157
11168
  for (const m of Object.keys(s))
@@ -11179,7 +11190,7 @@ function ng(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
11179
11190
  pagination: s
11180
11191
  };
11181
11192
  }
11182
- const ag = () => ({
11193
+ const rg = () => ({
11183
11194
  commonAliases: () => ({
11184
11195
  ABtnPrimary: $n,
11185
11196
  ABtnSecondary: $n,
@@ -11286,16 +11297,16 @@ const ag = () => ({
11286
11297
  }
11287
11298
  })
11288
11299
  });
11289
- function rg(t, n, e, a = "id") {
11290
- const r = J(/* @__PURE__ */ new Map()), o = J(/* @__PURE__ */ new Set()), s = (...I) => {
11300
+ function og(t, n, e, a = "id") {
11301
+ const r = J(/* @__PURE__ */ new Map()), o = J(/* @__PURE__ */ new Set()), s = (...P) => {
11291
11302
  const F = J(/* @__PURE__ */ new Set());
11292
- for (let z = 0; z < I.length; z++) {
11293
- const U = I[z];
11294
- if (!(ye(U) || S(U))) {
11303
+ for (let z = 0; z < P.length; z++) {
11304
+ const U = P[z];
11305
+ if (!(ve(U) || S(U))) {
11295
11306
  if (Oe(U)) {
11296
11307
  for (let ne = 0; ne < U.length; ne++) {
11297
11308
  const ee = U[ne];
11298
- ye(ee) || S(ee) || r.value.has(ee) || F.value.add(ee);
11309
+ ve(ee) || S(ee) || r.value.has(ee) || F.value.add(ee);
11299
11310
  }
11300
11311
  continue;
11301
11312
  }
@@ -11305,21 +11316,21 @@ function rg(t, n, e, a = "id") {
11305
11316
  F.value.forEach((z) => {
11306
11317
  r.value.set(z, { ...n(z), _loaded: !1 }), o.value.add(z);
11307
11318
  });
11308
- }, c = (I) => {
11309
- I[a] && r.value.set(I[a], { ...t(I), _loaded: !0 });
11310
- }, u = (I) => {
11311
- I[a] && r.value.set(I[a], { ...I, _loaded: !0 });
11312
- }, p = (I) => {
11313
- for (let F = 0; F < I.length; F += 1)
11314
- r.value.set(I[F][a], { ...t(I[F]), _loaded: !0 });
11315
- }, m = (I) => {
11316
- for (let F = 0; F < I.length; F += 1)
11317
- o.value.delete(I[F]);
11319
+ }, c = (P) => {
11320
+ P[a] && r.value.set(P[a], { ...t(P), _loaded: !0 });
11321
+ }, u = (P) => {
11322
+ P[a] && r.value.set(P[a], { ...P, _loaded: !0 });
11323
+ }, p = (P) => {
11324
+ for (let F = 0; F < P.length; F += 1)
11325
+ r.value.set(P[F][a], { ...t(P[F]), _loaded: !0 });
11326
+ }, m = (P) => {
11327
+ for (let F = 0; F < P.length; F += 1)
11328
+ o.value.delete(P[F]);
11318
11329
  };
11319
11330
  async function d() {
11320
11331
  if (o.value.size > 0) {
11321
- const I = Array.from(o.value), F = await e(I);
11322
- m(I), p(F);
11332
+ const P = Array.from(o.value), F = await e(P);
11333
+ m(P), p(F);
11323
11334
  }
11324
11335
  }
11325
11336
  const g = ko(
@@ -11338,20 +11349,20 @@ function rg(t, n, e, a = "id") {
11338
11349
  add: s,
11339
11350
  addManual: c,
11340
11351
  addManualMinimal: u,
11341
- has: (I) => I ? r.value.has(I) : !1,
11342
- get: (I) => {
11343
- if (I)
11344
- return r.value.get(I);
11352
+ has: (P) => P ? r.value.has(P) : !1,
11353
+ get: (P) => {
11354
+ if (P)
11355
+ return r.value.get(P);
11345
11356
  },
11346
- isLoaded: (I) => {
11347
- if (!I)
11357
+ isLoaded: (P) => {
11358
+ if (!P)
11348
11359
  return !1;
11349
- const F = r.value.get(I);
11360
+ const F = r.value.get(P);
11350
11361
  return F ? F._loaded : !1;
11351
11362
  }
11352
11363
  };
11353
11364
  }
11354
- async function og() {
11365
+ async function ig() {
11355
11366
  (await import("./webfontloader-e9985fe5.js").then((n) => n.w)).load({
11356
11367
  google: {
11357
11368
  families: ["Roboto:100,300,400,500,700,900&display=swap"]
@@ -11360,77 +11371,77 @@ async function og() {
11360
11371
  });
11361
11372
  }
11362
11373
  export {
11363
- bh as AActionCloseButton,
11364
- wh as AActionCreateButton,
11365
- kh as AActionDeleteButton,
11366
- Ch as AActionEditButton,
11367
- _h as AActionSaveAndCloseButton,
11368
- Dh as AActionSaveButton,
11369
- Np as AAdminSwitcher,
11374
+ wh as AActionCloseButton,
11375
+ kh as AActionCreateButton,
11376
+ Ch as AActionDeleteButton,
11377
+ _h as AActionEditButton,
11378
+ Dh as AActionSaveAndCloseButton,
11379
+ Ah as AActionSaveButton,
11380
+ Lp as AAdminSwitcher,
11370
11381
  vp as AAlerts,
11371
11382
  hr as AAnzuUserAvatar,
11372
- Oh as AAvatarColorPicker,
11383
+ Ph as AAvatarColorPicker,
11373
11384
  gp as ABooleanValue,
11374
- ph as ACachedChip,
11385
+ hh as ACachedChip,
11375
11386
  yp as ACard,
11376
11387
  Jo as ACardLoader,
11377
- vh as AChipNoLink,
11378
- gh as ACopyText,
11379
- Ep as ACreateDialog,
11388
+ yh as AChipNoLink,
11389
+ vh as ACopyText,
11390
+ Np as ACreateDialog,
11380
11391
  Ih as ACurrentUserDropdown,
11381
- Op as ADatatableConfigButton,
11392
+ Pp as ADatatableConfigButton,
11382
11393
  Ip as ADatatableOrdering,
11383
- $p as ADatatablePagination,
11394
+ Op as ADatatablePagination,
11384
11395
  lr as ADatetime,
11385
11396
  $r as ADialogToolbar,
11386
- Lp as AEmptyRouterView,
11397
+ Bp as AEmptyRouterView,
11387
11398
  nl as AFilterAdvancedButton,
11388
- ch as AFilterBooleanGroup,
11389
- fh as AFilterBooleanSelect,
11390
- ah as AFilterDatetimePicker,
11391
- qp as AFilterInteger,
11392
- dh as AFilterRemoteAutocomplete,
11399
+ fh as AFilterBooleanGroup,
11400
+ mh as AFilterBooleanSelect,
11401
+ rh as AFilterDatetimePicker,
11402
+ Gp as AFilterInteger,
11403
+ ch as AFilterRemoteAutocomplete,
11393
11404
  rl as AFilterResetButton,
11394
- Wp as AFilterString,
11405
+ qp as AFilterString,
11395
11406
  al as AFilterSubmitButton,
11396
- uh as AFilterValueObjectOptionsSelect,
11397
- Gp as AFilterWrapper,
11398
- Tp as AFormBooleanToggle,
11399
- nh as AFormDatetimePicker,
11400
- oh as AFormRemoteAutocomplete,
11401
- Ph as AFormRemoteAutocompleteWithCached,
11402
- ih as AFormRemoteCheckbox,
11403
- lh as AFormRemoteSwitch,
11404
- Mp as AFormTextField,
11405
- xp as AFormTextarea,
11406
- sh as AFormValueObjectOptionsSelect,
11407
+ dh as AFilterValueObjectOptionsSelect,
11408
+ Kp as AFilterWrapper,
11409
+ Sp as AFormBooleanToggle,
11410
+ ah as AFormDatetimePicker,
11411
+ ih as AFormRemoteAutocomplete,
11412
+ Vh as AFormRemoteAutocompleteWithCached,
11413
+ lh as AFormRemoteCheckbox,
11414
+ sh as AFormRemoteSwitch,
11415
+ xp as AFormTextField,
11416
+ Tp as AFormTextarea,
11417
+ uh as AFormValueObjectOptionsSelect,
11407
11418
  eo as AIconGroup,
11408
- mh as AJobStatusChip,
11409
- Sh as ALanguageSelect,
11410
- Pp as ALogData,
11411
- hh as ALogLevelChip,
11412
- Vh as ALoginView,
11413
- Fh as ALogoutView,
11414
- Nh as ANotFoundView,
11415
- Kp as APermissionGrantEditor,
11416
- Zp as APermissionValueChip,
11419
+ ph as AJobStatusChip,
11420
+ $h as ALanguageSelect,
11421
+ Vp as ALogData,
11422
+ gh as ALogLevelChip,
11423
+ Fh as ALoginView,
11424
+ Eh as ALogoutView,
11425
+ Lh as ANotFoundView,
11426
+ Zp as APermissionGrantEditor,
11427
+ Qp as APermissionValueChip,
11417
11428
  Ln as ARow,
11418
- $h as ASystemBar,
11419
- Sp as ASystemEntityScope,
11420
- Ah as ATableCopyIdButton,
11421
- Mh as ATableDetailButton,
11422
- xh as ATableEditButton,
11423
- Th as AThemeSelect,
11424
- Hp as ATimeTrackingFields,
11425
- Eh as AUnauthorizedView,
11426
- yh as AUserAndTimeTrackingFields,
11429
+ Oh as ASystemBar,
11430
+ $p as ASystemEntityScope,
11431
+ Mh as ATableCopyIdButton,
11432
+ xh as ATableDetailButton,
11433
+ Th as ATableEditButton,
11434
+ Sh as AThemeSelect,
11435
+ Jp as ATimeTrackingFields,
11436
+ Nh as AUnauthorizedView,
11437
+ bh as AUserAndTimeTrackingFields,
11427
11438
  dl as Acl,
11428
11439
  ft as AnzuApiForbiddenError,
11429
11440
  ht as AnzuApiForbiddenOperationError,
11430
11441
  pt as AnzuApiResponseCodeError,
11431
11442
  mt as AnzuApiValidationError,
11432
11443
  Ve as AnzuFatalError,
11433
- th as AnzuSystemsCommonAdmin,
11444
+ nh as AnzuSystemsCommonAdmin,
11434
11445
  Hr as AvailableLanguagesSymbol,
11435
11446
  mr as COMMON_CONFIG,
11436
11447
  Br as DATETIME_MAX,
@@ -11438,13 +11449,13 @@ export {
11438
11449
  Jr as DefaultLanguageSymbol,
11439
11450
  En as Grant,
11440
11451
  Rr as GrantOrigin,
11441
- Vp as HTTP_STATUS_BAD_REQUEST,
11452
+ Fp as HTTP_STATUS_BAD_REQUEST,
11442
11453
  Oi as HTTP_STATUS_CREATED,
11443
- Pi as HTTP_STATUS_FORBIDDEN,
11444
- Ii as HTTP_STATUS_NO_CONTENT,
11454
+ Ii as HTTP_STATUS_FORBIDDEN,
11455
+ Pi as HTTP_STATUS_NO_CONTENT,
11445
11456
  $i as HTTP_STATUS_OK,
11446
- Fp as HTTP_STATUS_UNAUTHORIZED,
11447
- Pr as HTTP_STATUS_UNPROCESSABLE_ENTITY,
11457
+ Ep as HTTP_STATUS_UNAUTHORIZED,
11458
+ Ir as HTTP_STATUS_UNPROCESSABLE_ENTITY,
11448
11459
  El as JobStatus,
11449
11460
  jl as LogLevel,
11450
11461
  ji as NEW_LINE_MARK,
@@ -11452,41 +11463,41 @@ export {
11452
11463
  at as SubjectScopeSymbol,
11453
11464
  nt as SystemScopeSymbol,
11454
11465
  ql as Theme,
11455
- Uh as apiAnyRequest,
11466
+ Yh as apiAnyRequest,
11456
11467
  Us as apiCreateOne,
11457
11468
  Ys as apiDeleteOne,
11458
- Yh as apiFetchByIds,
11469
+ Hh as apiFetchByIds,
11459
11470
  Gs as apiFetchList,
11460
11471
  Ks as apiFetchOne,
11461
- Hh as apiUpdateOne,
11472
+ Jh as apiUpdateOne,
11462
11473
  Zs as arrayFlatten,
11463
- Zh as arrayFromArgs,
11464
- Gh as arrayItemToggle,
11465
- Kh as arrayToString,
11474
+ Qh as arrayFromArgs,
11475
+ Kh as arrayItemToggle,
11476
+ Zh as arrayToString,
11466
11477
  Mt as axiosErrorResponseHasForbiddenOperationData,
11467
11478
  At as axiosErrorResponseHasValidationData,
11468
11479
  Dt as axiosErrorResponseIsForbidden,
11469
- Lh as booleanToInteger,
11470
- Qh as browserHistoryReplaceUrlByRouter,
11480
+ Bh as booleanToInteger,
11481
+ Xh as browserHistoryReplaceUrlByRouter,
11471
11482
  Qs as browserHistoryReplaceUrlByString,
11472
11483
  ct as cloneDeep,
11473
- ng as createDatatableColumnsConfig,
11474
- zp as dateModifyMinutes,
11484
+ ag as createDatatableColumnsConfig,
11485
+ Up as dateModifyMinutes,
11475
11486
  Ki as dateNow,
11476
- Rp as dateTimeEndOfDay,
11477
- Yp as dateTimeFriendly,
11487
+ zp as dateTimeEndOfDay,
11488
+ Hp as dateTimeFriendly,
11478
11489
  Rn as dateTimeNow,
11479
11490
  ma as dateTimePretty,
11480
- jp as dateTimeStartOfDay,
11491
+ Rp as dateTimeStartOfDay,
11481
11492
  Zi as dateToUtc,
11482
- rg as defineCached,
11493
+ og as defineCached,
11483
11494
  lt as eventClickBlur,
11484
11495
  le as i18n,
11485
11496
  Vr as isAnzuApiForbiddenError,
11486
11497
  Li as isAnzuApiForbiddenOperationError,
11487
11498
  Er as isAnzuApiResponseCodeError,
11488
11499
  Fr as isAnzuApiValidationError,
11489
- Ir as isAnzuFatalError,
11500
+ Pr as isAnzuFatalError,
11490
11501
  Oe as isArray,
11491
11502
  ar as isBoolean,
11492
11503
  sl as isCreatedByAware,
@@ -11496,26 +11507,26 @@ export {
11496
11507
  Wo as isEmptyArray,
11497
11508
  Sr as isEmptyObject,
11498
11509
  wp as isInt,
11499
- ye as isNull,
11510
+ ve as isNull,
11500
11511
  Aa as isNumber,
11501
11512
  Wn as isObject,
11502
11513
  ll as isOwnerAware,
11503
11514
  ut as isString,
11504
11515
  S as isUndefined,
11505
11516
  xt as isValidHTTPStatus,
11506
- og as loadCommonFonts,
11507
- Jp as makeFilterHelper,
11508
- Xh as messagesEn,
11509
- eg as messagesSk,
11517
+ ig as loadCommonFonts,
11518
+ Wp as makeFilterHelper,
11519
+ eg as messagesEn,
11520
+ tg as messagesSk,
11510
11521
  es as modifyLanguageSettings,
11511
11522
  Xr as numberToString,
11512
11523
  zr as objectDeepFreeze,
11513
- eh as objectDeletePropertyByPath,
11524
+ th as objectDeletePropertyByPath,
11514
11525
  Ur as objectGetValueByPath,
11515
- Qp as objectGetValues,
11516
- Xp as objectSetValueByPath,
11517
- zh as prettyBytes,
11518
- Ap as stringNormalizeForSlotName,
11526
+ Xp as objectGetValues,
11527
+ eh as objectSetValueByPath,
11528
+ Uh as prettyBytes,
11529
+ Mp as stringNormalizeForSlotName,
11519
11530
  it as stringSplitOnFirstOccurrence,
11520
11531
  Cp as stringToFloat,
11521
11532
  qo as stringToInt,
@@ -11523,28 +11534,29 @@ export {
11523
11534
  _p as stringToSlug,
11524
11535
  Dp as stringTrimLength,
11525
11536
  Ko as stringUrlTemplateReplace,
11526
- Bp as timestampCurrent,
11537
+ Ap as stringUrlTemplateReplaceVueRouter,
11538
+ jp as timestampCurrent,
11527
11539
  ul as useAcl,
11528
11540
  xa as useAlerts,
11529
- Bh as useAnzuUserFactory,
11541
+ jh as useAnzuUserFactory,
11530
11542
  ao as useApiQueryBuilder,
11531
- ag as useCommonVuetifyConfig,
11532
- Jh as useErrors,
11543
+ rg as useCommonVuetifyConfig,
11544
+ Wh as useErrors,
11533
11545
  Sa as useFilterHelpers,
11534
11546
  jr as useGrant,
11535
11547
  ol as useGrantOrigin,
11536
- sg as useI18n,
11537
- Wh as useJobApi,
11538
- qh as useJobResource,
11548
+ ug as useI18n,
11549
+ qh as useJobApi,
11550
+ Gh as useJobResource,
11539
11551
  Nl as useJobStatus,
11540
11552
  ts as useLanguageSettings,
11541
11553
  Rl as useLogLevel,
11542
11554
  Gn as usePagination,
11543
- rh as usePaginationAutoHide,
11544
- jh as usePermissionConfigFactory,
11545
- Rh as usePermissionGroupFactory,
11555
+ oh as usePaginationAutoHide,
11556
+ Rh as usePermissionConfigFactory,
11557
+ zh as usePermissionGroupFactory,
11546
11558
  Kl as useTheme,
11547
- tg as useValidate,
11548
- Up as yearNow
11559
+ ng as useValidate,
11560
+ Yp as yearNow
11549
11561
  };
11550
11562
  //# sourceMappingURL=common-admin.es.js.map