@anzusystems/common-admin 1.47.0-beta.355 → 1.47.0-beta.357

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,15 +1,15 @@
1
- import { defineComponent as we, createBlock as Q, openBlock as U, withCtx as L, createVNode as N, createElementBlock as ve, createCommentVNode as be, renderSlot as _e, normalizeClass as nt, toDisplayString as ye, createElementVNode as $e, isProxy as Cr, toRaw as Zn, isRef as Ra, unref as Z, computed as V, Fragment as at, normalizeStyle as Dr, createTextVNode as Oe, shallowRef as ao, watch as Te, ref as P, reactive as jt, inject as ee, createSlots as _t, withDirectives as Yn, onMounted as Pa, withModifiers as Ee, onUnmounted as kr, TransitionGroup as Er, mergeProps as it, isVNode as Tr, mergeModels as wt, useModel as Ut, useTemplateRef as Mt, nextTick as ze, withKeys as ka, vModelText as oo, getCurrentInstance as Jn, resolveDynamicComponent as Ar, renderList as Un, toValue as ro, toRef as xr, onBeforeUnmount as Ir, resolveComponent as Vn, provide as lo } from "vue";
1
+ import { defineComponent as we, createBlock as Q, openBlock as U, withCtx as L, createVNode as N, createElementBlock as ve, createCommentVNode as be, renderSlot as _e, normalizeClass as nt, toDisplayString as ye, createElementVNode as $e, isProxy as Cr, toRaw as Xn, isRef as Ra, unref as Z, computed as V, Fragment as at, normalizeStyle as Dr, createTextVNode as Oe, shallowRef as ao, watch as Te, ref as P, reactive as jt, inject as ee, createSlots as _t, withDirectives as Ln, onMounted as Pa, withModifiers as Ee, onUnmounted as kr, TransitionGroup as Er, mergeProps as it, isVNode as Tr, mergeModels as wt, useModel as Ut, useTemplateRef as Mt, nextTick as ze, withKeys as Da, vModelText as oo, getCurrentInstance as Zn, resolveDynamicComponent as Ar, renderList as Yn, toValue as ro, toRef as xr, onBeforeUnmount as Ir, resolveComponent as Un, provide as lo } from "vue";
2
2
  import { useI18n as Ne, createI18n as Mr } from "vue-i18n";
3
3
  import { useEventBus as Ge, tryOnBeforeUnmount as _r, watchDebounced as Na, useResizeObserver as $r, watchThrottled as Fr, defaultDocument as Or, unrefElement as Br, tryOnMounted as Rr, tryOnScopeDispose as Pr } from "@vueuse/core";
4
- import { VAutocomplete as Qn } from "vuetify/components/VAutocomplete";
5
- import { VChip as ea } from "vuetify/components/VChip";
4
+ import { VAutocomplete as Jn } from "vuetify/components/VAutocomplete";
5
+ import { VChip as Qn } from "vuetify/components/VChip";
6
6
  import { VListItem as Vt, VList as Ro, VListItemTitle as Nr } from "vuetify/components/VList";
7
7
  import { VBtn as Ue } from "vuetify/components/VBtn";
8
8
  import { VIcon as Pe } from "vuetify/components/VIcon";
9
9
  import { VTooltip as St } from "vuetify/components/VTooltip";
10
- import { VTextField as ta } from "vuetify/components/VTextField";
10
+ import { VTextField as ea } from "vuetify/components/VTextField";
11
11
  import { VSelect as Lr } from "vuetify/components/VSelect";
12
- import Hn from "@vuelidate/core";
12
+ import Vn from "@vuelidate/core";
13
13
  import { createI18nMessage as Xe, between as Yr, email as Ur, maxLength as Vr, maxValue as Hr, minLength as qr, minValue as jr, numeric as zr, required as Wr, requiredIf as Kr, helpers as Po, url as Gr } from "@vuelidate/validators";
14
14
  import { VCard as La, VCardActions as No, VCardText as Xr } from "vuetify/components/VCard";
15
15
  import { VDatePicker as Zr } from "vuetify/components/VDatePicker";
@@ -17,7 +17,7 @@ import { VMenu as Ya } from "vuetify/components/VMenu";
17
17
  import { Tooltip as Lo } from "vuetify/directives";
18
18
  import { defineStore as Jr } from "pinia";
19
19
  import $t from "axios";
20
- import { VRow as Ea, VCol as Ta, VSpacer as Ua } from "vuetify/components/VGrid";
20
+ import { VRow as ka, VCol as Ea, VSpacer as Ua } from "vuetify/components/VGrid";
21
21
  import { VToolbar as Qr, VToolbarTitle as el } from "vuetify/components/VToolbar";
22
22
  import { VSwitch as tl } from "vuetify/components/VSwitch";
23
23
  import { VDialog as Yo } from "vuetify/components/VDialog";
@@ -35,9 +35,9 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
35
35
  titleClass: { default: "font-weight-bold text-subtitle-2" }
36
36
  },
37
37
  setup(e) {
38
- return (n, t) => (U(), Q(Ea, { "data-cy": e.dataCy }, {
38
+ return (n, t) => (U(), Q(ka, { "data-cy": e.dataCy }, {
39
39
  default: L(() => [
40
- N(Ta, null, {
40
+ N(Ea, null, {
41
41
  default: L(() => [
42
42
  e.title.length ? (U(), ve("h4", {
43
43
  key: 0,
@@ -58,13 +58,13 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
58
58
  for (const [a, r] of n)
59
59
  t[a] = r;
60
60
  return t;
61
- }, T = (e) => typeof e > "u", he = (e) => !T(e), G = (e) => e === null, Ht = (e) => typeof e == "number", Fe = (e) => typeof e == "string", ue = (e) => Array.isArray(e), wc = (e) => typeof e == "function", st = (e) => typeof e == "boolean", Cc = (e) => Fe(e) && /^[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(e), Dc = (e) => {
61
+ }, T = (e) => typeof e > "u", he = (e) => !T(e), G = (e) => e === null, Ht = (e) => typeof e == "number", Fe = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Dc = (e) => typeof e == "function", st = (e) => typeof e == "boolean", kc = (e) => Fe(e) && /^[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(e), Ec = (e) => {
62
62
  const n = parseFloat(e);
63
63
  return !isNaN(e) && (n | 0) === n;
64
- }, gn = (e) => typeof e == "object" && !ue(e) && !G(e), un = (e) => gn(e) ? Object.keys(e).length === 0 : !1, Aa = (e) => ue(e) && e.length === 0, Ho = (e) => G(e) || T(e) || e === "" || e === 0 || Aa(e) || un(e), Ie = (e) => {
64
+ }, gn = (e) => typeof e == "object" && !ue(e) && !G(e), un = (e) => gn(e) ? Object.keys(e).length === 0 : !1, Ta = (e) => ue(e) && e.length === 0, Ho = (e) => G(e) || T(e) || e === "" || e === 0 || Ta(e) || un(e), Ie = (e) => {
65
65
  if (typeof structuredClone == "function")
66
66
  try {
67
- return Cr(e) ? structuredClone(Zn(e)) : Ra(e) ? structuredClone(Z(e)) : structuredClone(e);
67
+ return Cr(e) ? structuredClone(Xn(e)) : Ra(e) ? structuredClone(Z(e)) : structuredClone(e);
68
68
  } catch {
69
69
  return JSON.parse(JSON.stringify(e));
70
70
  }
@@ -77,7 +77,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
77
77
  return n;
78
78
  }
79
79
  return Number.isNaN(t) ? n : t;
80
- }, kc = (e, n = 0) => {
80
+ }, Tc = (e, n = 0) => {
81
81
  let t = n;
82
82
  try {
83
83
  t = Number.parseFloat(e);
@@ -100,7 +100,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
100
100
  start: e.slice(0, t),
101
101
  end: e.slice(t + n.length)
102
102
  };
103
- }, Ec = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), Tc = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Ac = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, sl = (e, n) => {
103
+ }, Ac = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), xc = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Ic = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, sl = (e, n) => {
104
104
  if (e.indexOf(":") === -1) return e;
105
105
  const t = [], [a, r] = e.split("?");
106
106
  return a.split("/").forEach((l, s) => {
@@ -108,7 +108,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
108
108
  const i = l.substring(1);
109
109
  T(n[i]) || (t[s] = n[l.substring(1)] + "");
110
110
  }), t.join("/") + (r ? `?${r}` : "");
111
- }, xc = (e, n) => {
111
+ }, Mc = (e, n) => {
112
112
  if (e.indexOf(":") === -1) return e;
113
113
  const t = [];
114
114
  return e.split("/").forEach((r, o) => {
@@ -117,7 +117,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
117
117
  const l = /^:([a-zA-Z0-9_-]+).*/, s = r.match(l);
118
118
  G(s) || !s[1] || T(n[s[1]]) || (t[o] = n[s[1]] + "");
119
119
  }), t.join("/");
120
- }, Ic = (e) => e.replace(".", "-"), Mc = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), Va = /* @__PURE__ */ Symbol.for("anzu:SystemScope"), Ha = /* @__PURE__ */ Symbol.for("anzu:SubjectScope"), _c = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), $c = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"), so = /* @__PURE__ */ we({
120
+ }, _c = (e) => e.replace(".", "-"), $c = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), Va = /* @__PURE__ */ Symbol.for("anzu:SystemScope"), Ha = /* @__PURE__ */ Symbol.for("anzu:SubjectScope"), Fc = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), Oc = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"), so = /* @__PURE__ */ we({
121
121
  __name: "AAnzuUserAvatar",
122
122
  props: {
123
123
  user: { default: void 0 },
@@ -158,7 +158,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
158
158
  l[0] || (l[0] = $e("div", null, null, -1))
159
159
  ], 64));
160
160
  }
161
- }), ul = { class: "d-inline-flex" }, cl = { key: 0 }, na = /* @__PURE__ */ we({
161
+ }), ul = { class: "d-inline-flex" }, cl = { key: 0 }, ta = /* @__PURE__ */ we({
162
162
  __name: "ACollabLockedByUser",
163
163
  props: {
164
164
  id: {},
@@ -234,10 +234,10 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
234
234
  function Dl() {
235
235
  return Ge(dl);
236
236
  }
237
- function Fc() {
237
+ function Bc() {
238
238
  return Ge(fl);
239
239
  }
240
- function Oc() {
240
+ function Rc() {
241
241
  return Ge(
242
242
  ml
243
243
  );
@@ -245,28 +245,28 @@ function Oc() {
245
245
  function zo() {
246
246
  return Ge(pl);
247
247
  }
248
- function Bc() {
248
+ function Pc() {
249
249
  return Ge(vl);
250
250
  }
251
- function Rc() {
251
+ function Nc() {
252
252
  return Ge(hl);
253
253
  }
254
- function Pc() {
254
+ function Lc() {
255
255
  return Ge(gl);
256
256
  }
257
- function Nc() {
257
+ function Yc() {
258
258
  return Ge(bl);
259
259
  }
260
- function Lc() {
260
+ function Uc() {
261
261
  return Ge(yl);
262
262
  }
263
- function Yc() {
263
+ function Vc() {
264
264
  return Ge(Sl);
265
265
  }
266
- function Uc() {
266
+ function Hc() {
267
267
  return Ge(wl);
268
268
  }
269
- function Vc() {
269
+ function qc() {
270
270
  return Ge(Cl);
271
271
  }
272
272
  const an = {
@@ -282,7 +282,7 @@ const an = {
282
282
  function El() {
283
283
  return Ge(kl);
284
284
  }
285
- const sa = {
285
+ const ia = {
286
286
  Inactive: "inactive",
287
287
  Active: "active"
288
288
  }, Tl = {
@@ -290,7 +290,7 @@ const sa = {
290
290
  Occupied: "occupied",
291
291
  Failed: "failed"
292
292
  };
293
- function Hc(e) {
293
+ function jc(e) {
294
294
  return e.status === Tl.Ok;
295
295
  }
296
296
  const Wo = {
@@ -303,33 +303,33 @@ function uo(e) {
303
303
  function co(e) {
304
304
  return e.status === Wo.Failed;
305
305
  }
306
- const qc = {
306
+ const zc = {
307
307
  Free: "free",
308
308
  Moderated: "moderated"
309
- }, jc = {
309
+ }, Wc = {
310
310
  Ok: "ok",
311
311
  AlreadyRequested: "alreadyRequested",
312
312
  Failed: "failed"
313
- }, zc = {
313
+ }, Kc = {
314
314
  Ok: "ok",
315
315
  AlreadyRequested: "alreadyRequested",
316
316
  Failed: "failed"
317
- }, xa = P({
317
+ }, Aa = P({
318
318
  enabled: !1,
319
319
  socketUrl: "",
320
320
  beforeReconnect: () => new Promise((e) => e())
321
321
  });
322
- function Wc(e) {
323
- T(e) || (xa.value = e);
322
+ function Gc(e) {
323
+ T(e) || (Aa.value = e);
324
324
  }
325
325
  function zt() {
326
- if (T(xa.value))
326
+ if (T(Aa.value))
327
327
  throw new Error("Composable can't be used without properly configured common admin.");
328
328
  return {
329
- collabOptions: xa
329
+ collabOptions: Aa
330
330
  };
331
331
  }
332
- const fo = P(!0), Al = P(), xl = jt(/* @__PURE__ */ new Map()), Il = jt(/* @__PURE__ */ new Map()), ua = jt(/* @__PURE__ */ new Map());
332
+ const fo = P(!0), Al = P(), xl = jt(/* @__PURE__ */ new Map()), Il = jt(/* @__PURE__ */ new Map()), sa = jt(/* @__PURE__ */ new Map());
333
333
  function Ml() {
334
334
  const { collabOptions: e } = zt();
335
335
  return {
@@ -338,12 +338,12 @@ function Ml() {
338
338
  collabSocket: Al,
339
339
  collabRoomInfoState: xl,
340
340
  collabFieldLocksState: Il,
341
- collabFieldDataBufferState: ua,
341
+ collabFieldDataBufferState: sa,
342
342
  gatherBufferData: (a) => {
343
343
  zo().emit({ room: a });
344
344
  let o = {};
345
- const l = ua.get(a);
346
- return l && (o = Zn(Object.fromEntries(l.entries())), ua.delete(a)), o;
345
+ const l = sa.get(a);
346
+ return l && (o = Xn(Object.fromEntries(l.entries())), sa.delete(a)), o;
347
347
  }
348
348
  };
349
349
  }
@@ -357,7 +357,7 @@ function _l() {
357
357
  currentUserId: mo
358
358
  };
359
359
  }
360
- function aa(e, n, t = !1) {
360
+ function na(e, n, t = !1) {
361
361
  const { collabOptions: a } = zt(), { currentUserId: r } = _l(), { collabSocket: o, collabFieldLocksState: l, collabFieldDataBufferState: s, collabRoomInfoState: i } = Ml(), u = Dl(), m = P(), c = P(), g = El(), p = P(), E = P(), v = zo(), f = P(), d = P(), h = (O, M) => {
362
362
  O.room !== e || O.field !== n || T(M) || T(c.value) || c.value(M);
363
363
  }, C = (O, M) => {
@@ -392,7 +392,7 @@ function aa(e, n, t = !1) {
392
392
  acquireCollabFieldLock: (O = {}) => {
393
393
  if (!a.value.enabled || T(o.value)) return;
394
394
  const M = i.get(e);
395
- M && M.status === sa.Inactive || o.value?.timeout(1e3).emit("acquireFieldLock", e, n, O, (A, w) => {
395
+ M && M.status === ia.Inactive || o.value?.timeout(1e3).emit("acquireFieldLock", e, n, O, (A, w) => {
396
396
  const y = { field: n, room: e };
397
397
  if (A || co(w))
398
398
  return void g.emit(
@@ -414,7 +414,7 @@ function aa(e, n, t = !1) {
414
414
  releaseCollabFieldLock: (O, M = {}) => {
415
415
  if (!a.value.enabled || T(o.value)) return;
416
416
  const A = i.get(e);
417
- if (A && A.status === sa.Inactive) {
417
+ if (A && A.status === ia.Inactive) {
418
418
  s.has(e) || s.set(e, /* @__PURE__ */ new Map()), s.get(e)?.set(n, O);
419
419
  return;
420
420
  }
@@ -439,7 +439,7 @@ function aa(e, n, t = !1) {
439
439
  changeCollabFieldData: (O) => {
440
440
  if (!a.value.enabled || T(o.value)) return;
441
441
  const M = i.get(e);
442
- M && M.status === sa.Inactive || o.value.emit("changeFieldData", e, n, O, () => {
442
+ M && M.status === ia.Inactive || o.value.emit("changeFieldData", e, n, O, () => {
443
443
  });
444
444
  },
445
445
  lockedByUser: B,
@@ -485,7 +485,7 @@ const $l = {
485
485
  addCollabFieldLockStatusListener: _,
486
486
  addCollabGatheringBufferDataListener: B,
487
487
  lockedByUser: k
488
- } = aa(a.collab.room, a.collab.field);
488
+ } = na(a.collab.room, a.collab.field);
489
489
  s.value = I, i.value = b, Te(
490
490
  k,
491
491
  ($) => {
@@ -514,7 +514,7 @@ const $l = {
514
514
  focus: () => {
515
515
  o.value?.focus();
516
516
  }
517
- }), (I, b) => (U(), Q(ta, {
517
+ }), (I, b) => (U(), Q(ea, {
518
518
  ref_key: "textFieldRef",
519
519
  ref: o,
520
520
  "prepend-icon": e.prependIcon,
@@ -548,7 +548,7 @@ const $l = {
548
548
  name: "append-inner",
549
549
  fn: L(() => [
550
550
  _e(I.$slots, "locked", { userId: u.value }, () => [
551
- e.collab ? (U(), Q(na, {
551
+ e.collab ? (U(), Q(ta, {
552
552
  key: 0,
553
553
  id: u.value,
554
554
  users: e.collab.cachedUsers
@@ -567,7 +567,7 @@ const $l = {
567
567
  e.help ? {
568
568
  name: "append",
569
569
  fn: L(() => [
570
- Yn(N(Pe, { icon: "mdi-help-circle-outline" }, null, 512), [
570
+ Ln(N(Pe, { icon: "mdi-help-circle-outline" }, null, 512), [
571
571
  [Lo, e.help]
572
572
  ])
573
573
  ]),
@@ -598,12 +598,12 @@ function Ol(e = "id", n = !0) {
598
598
  totalCount: 0
599
599
  });
600
600
  }
601
- function Kc(e) {
601
+ function Xc(e) {
602
602
  return {
603
603
  showPagination: V(() => !(e.page === 1 && e.currentViewCount < e.rowsPerPage))
604
604
  };
605
605
  }
606
- const Bl = ["createdAt", "modifiedAt"], Gc = "_score", Xc = "id", Zc = "score_date", Jc = "score_best", mt = {
606
+ const Bl = ["createdAt", "modifiedAt"], Zc = "_score", Jc = "id", Qc = "score_date", ed = "score_best", mt = {
607
607
  Asc: "asc",
608
608
  Desc: "desc"
609
609
  }, Rl = {
@@ -612,7 +612,7 @@ const Bl = ["createdAt", "modifiedAt"], Gc = "_score", Xc = "id", Zc = "score_da
612
612
  sortable: !1,
613
613
  fixed: !1
614
614
  };
615
- function Qc(e, n, t = void 0, a = void 0, r = !1, o = void 0, l = void 0, s = void 0, i = void 0) {
615
+ function td(e, n, t = void 0, a = void 0, r = !1, o = void 0, l = void 0, s = void 0, i = void 0) {
616
616
  const u = l ?? De, { t: m } = u.global || u, c = Ol();
617
617
  if (o)
618
618
  for (const d of Object.keys(c))
@@ -712,14 +712,14 @@ function Pl(e) {
712
712
  });
713
713
  } };
714
714
  }
715
- const Nt = Pl(), ca = "[-+]?[0-9]*.?[0-9]+", ho = [
715
+ const Nt = Pl(), ua = "[-+]?[0-9]*.?[0-9]+", ho = [
716
716
  {
717
717
  name: "px",
718
- regexp: new RegExp(`^${ca}px$`)
718
+ regexp: new RegExp(`^${ua}px$`)
719
719
  },
720
720
  {
721
721
  name: "%",
722
- regexp: new RegExp(`^${ca}%$`)
722
+ regexp: new RegExp(`^${ua}%$`)
723
723
  },
724
724
  /**
725
725
  * Fallback option
@@ -727,7 +727,7 @@ const Nt = Pl(), ca = "[-+]?[0-9]*.?[0-9]+", ho = [
727
727
  */
728
728
  {
729
729
  name: "px",
730
- regexp: new RegExp(`^${ca}$`)
730
+ regexp: new RegExp(`^${ua}$`)
731
731
  }
732
732
  ], Nl = (e) => {
733
733
  if (e === "auto")
@@ -765,7 +765,7 @@ const Nt = Pl(), ca = "[-+]?[0-9]*.?[0-9]+", ho = [
765
765
  return e.forEach((a) => {
766
766
  go.y.has(a) && (t = a), go.x.has(a) && (n = a);
767
767
  }), { x: n, y: t };
768
- }, da = {
768
+ }, ca = {
769
769
  position: ["top", "right"],
770
770
  cssAnimation: "vn-fade",
771
771
  velocityAnimation: {
@@ -818,7 +818,7 @@ const An = {
818
818
  },
819
819
  position: {
820
820
  type: [String, Array],
821
- default: () => da.position
821
+ default: () => ca.position
822
822
  },
823
823
  classes: {
824
824
  type: [String, Array],
@@ -834,12 +834,12 @@ const An = {
834
834
  animation: {
835
835
  type: Object,
836
836
  default() {
837
- return da.velocityAnimation;
837
+ return ca.velocityAnimation;
838
838
  }
839
839
  },
840
840
  animationName: {
841
841
  type: String,
842
- default: da.cssAnimation
842
+ default: ca.cssAnimation
843
843
  },
844
844
  speed: {
845
845
  type: Number,
@@ -1028,7 +1028,7 @@ function Wl(e, n = {}) {
1028
1028
  const t = n.name || "notify";
1029
1029
  e.config.globalProperties["$" + t] = Ze, e.component(n.componentName || zl, jl);
1030
1030
  }
1031
- const ed = {
1031
+ const nd = {
1032
1032
  install: Wl
1033
1033
  }, Kl = (e) => e instanceof ot;
1034
1034
  class ot extends Error {
@@ -1036,7 +1036,7 @@ class ot extends Error {
1036
1036
  super(t), this.name = "AnzuFatalError", this.cause = n, this.message = t;
1037
1037
  }
1038
1038
  }
1039
- const Gl = 200, Xl = 201, Zl = 202, Wt = 204, td = 400, nd = 401, Jl = 403, ad = 404, qa = 422, Ql = [Gl, Xl, Zl, Wt], bn = (e) => $t.isAxiosError(e) && e.response?.status === Jl, ei = (e) => e instanceof Kt;
1039
+ const Gl = 200, Xl = 201, Zl = 202, Wt = 204, ad = 400, od = 401, Jl = 403, rd = 404, qa = 422, Ql = [Gl, Xl, Zl, Wt], bn = (e) => $t.isAxiosError(e) && e.response?.status === Jl, ei = (e) => e instanceof Kt;
1040
1040
  class Kt extends Error {
1041
1041
  constructor(n, t = "") {
1042
1042
  super(t), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = t;
@@ -1099,7 +1099,7 @@ class Wa extends Error {
1099
1099
  }
1100
1100
  const Qe = 3, fi = `
1101
1101
  `;
1102
- function oa() {
1102
+ function aa() {
1103
1103
  const e = (f, d = Qe) => {
1104
1104
  Ze({
1105
1105
  group: "alerts",
@@ -1711,24 +1711,24 @@ var wi = Si();
1711
1711
  const Qo = /* @__PURE__ */ Ka(wi);
1712
1712
  ie.extend(Jo);
1713
1713
  ie.extend(Qo);
1714
- const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000000Z", la = "2100-01-01T00:00:00.000000Z", od = () => ie().utc().toDate(), Ci = (e) => ie(e).toDate(), rd = () => il(ie().utc().unix()), Ia = (e = !0, n = !1) => e && !n ? ie().utc().format("YYYY-MM-DDTHH:mm:ss") + Ct : e && n ? ie().utc().format("YYYY-MM-DDTHH:mm:00") + Ct : !e && n ? ie().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : ie().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", ld = (e = 0) => e === 0 ? ie().startOf("day").utc().format(qn) + Ct : ie().add(e, "days").startOf("day").utc().format(qn) + Ct, id = (e = 0) => e === 0 ? ie().endOf("day").utc().format(qn) + Ct : ie().add(e, "days").endOf("day").utc().format(qn) + Ct, Di = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? ie(n).add(e, "minutes").toDate() : e < 0 ? ie(n).subtract(Math.abs(e), "minutes").toDate() : n), Ma = (e, n = Ct) => ie(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, sd = () => ie().utc().format("YYYY"), ki = (e, n = "", t = !1) => e === la || e === ra || e === "" || G(e) || T(e) ? n : ie(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), ud = (e, n = "", t = !1) => {
1715
- if (e === la || e === ra || e === "" || G(e) || T(e))
1714
+ const Ct = ".000000Z", Hn = "YYYY-MM-DDTHH:mm:ss", oa = "1970-01-01T00:00:00.000000Z", ra = "2100-01-01T00:00:00.000000Z", ld = () => ie().utc().toDate(), Ci = (e) => ie(e).toDate(), id = () => il(ie().utc().unix()), xa = (e = !0, n = !1) => e && !n ? ie().utc().format("YYYY-MM-DDTHH:mm:ss") + Ct : e && n ? ie().utc().format("YYYY-MM-DDTHH:mm:00") + Ct : !e && n ? ie().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : ie().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", sd = (e = 0) => e === 0 ? ie().startOf("day").utc().format(Hn) + Ct : ie().add(e, "days").startOf("day").utc().format(Hn) + Ct, ud = (e = 0) => e === 0 ? ie().endOf("day").utc().format(Hn) + Ct : ie().add(e, "days").endOf("day").utc().format(Hn) + Ct, Di = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? ie(n).add(e, "minutes").toDate() : e < 0 ? ie(n).subtract(Math.abs(e), "minutes").toDate() : n), Ia = (e, n = Ct) => ie(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, cd = () => ie().utc().format("YYYY"), ki = (e, n = "", t = !1) => e === ra || e === oa || e === "" || G(e) || T(e) ? n : ie(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), dd = (e, n = "", t = !1) => {
1715
+ if (e === ra || e === oa || e === "" || G(e) || T(e))
1716
1716
  return n;
1717
1717
  let a = !0, r = !0;
1718
1718
  const o = ie(e), l = ie();
1719
1719
  return l.format("YYYY") === o.format("YYYY") && (a = !1), l.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (r = !1), !a && !r ? ie(o).format(t ? "H:mm:ss" : "H:mm") : a ? ie(o).format(t ? "D.M.YYYY H:mm:ss" : "D.M.YYYY H:mm") : ie(o).format(t ? "D.M. H:mm:ss" : "D.M. H:mm");
1720
- }, cd = (e, n = "") => e === la || e === ra || e === "" || G(e) || T(e) ? n : ie(e).format("DD.MM.YYYY"), dd = (e, n = "") => e === la || e === ra || e === "" || G(e) || T(e) ? n : ie(e).format("HH:mm"), fd = (e, n, t = "ms") => {
1720
+ }, fd = (e, n = "") => e === ra || e === oa || e === "" || G(e) || T(e) ? n : ie(e).format("DD.MM.YYYY"), md = (e, n = "") => e === ra || e === oa || e === "" || G(e) || T(e) ? n : ie(e).format("HH:mm"), pd = (e, n, t = "ms") => {
1721
1721
  const a = ie(e), r = ie(n);
1722
1722
  return a.diff(r, t);
1723
- }, md = (e) => typeof e == "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3,6})?Z$/.test(e), Ei = (e, n, t = 0, a = !1) => {
1723
+ }, vd = (e) => typeof e == "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3,6})?Z$/.test(e), Ei = (e, n, t = 0, a = !1) => {
1724
1724
  const r = new Date(e);
1725
1725
  r.setMonth(r.getMonth() + t), r.setDate(1), r.setHours(0, 0, 0, 0);
1726
1726
  const o = new Date(e);
1727
1727
  return a ? o.setMonth(o.getMonth() + 1, 0) : o.setMonth(o.getMonth() + t + 1, 0), o.setHours(23, 59, 59, 999), n === "utc" ? {
1728
- from: Ma(r),
1729
- until: Ma(o)
1728
+ from: Ia(r),
1729
+ until: Ia(o)
1730
1730
  } : { from: r, until: o };
1731
- }, fa = Ei, Ga = (e) => {
1731
+ }, da = Ei, Ga = (e) => {
1732
1732
  e?.currentTarget instanceof HTMLElement && e.currentTarget.blur();
1733
1733
  }, Ti = /* @__PURE__ */ we({
1734
1734
  __name: "AFilterSubmitButton",
@@ -1802,7 +1802,7 @@ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000
1802
1802
  a && typeof a == "object" && xi(a);
1803
1803
  }
1804
1804
  return Object.freeze(e);
1805
- }, pd = (e) => Object.keys(e).map((n) => e[n]), vd = (e, n, t = ".") => {
1805
+ }, hd = (e) => Object.keys(e).map((n) => e[n]), gd = (e, n, t = ".") => {
1806
1806
  const a = n.split(t);
1807
1807
  let r = e;
1808
1808
  for (; a.length; ) {
@@ -1821,7 +1821,7 @@ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000
1821
1821
  }
1822
1822
  o[r[0]] = t;
1823
1823
  };
1824
- function hd(e, n, t = ".") {
1824
+ function bd(e, n, t = ".") {
1825
1825
  const a = n.split(t), r = a.length - 1;
1826
1826
  function o(l, s = 0) {
1827
1827
  const i = a[s];
@@ -1833,7 +1833,7 @@ function hd(e, n, t = ".") {
1833
1833
  }
1834
1834
  return o(e), e;
1835
1835
  }
1836
- const Cn = (e, n, t = "") => un(n) ? e : sl(t === "" ? e : t, n), Dn = (e) => Ql.includes(e), gd = (e, n, t = {}, a, r, o = {}) => new Promise((l, s) => {
1836
+ const Cn = (e, n, t = "") => un(n) ? e : sl(t === "" ? e : t, n), Dn = (e) => Ql.includes(e), yd = (e, n, t = {}, a, r, o = {}) => new Promise((l, s) => {
1837
1837
  e().get(Cn(n, t), o).then((i) => Dn(i.status) ? i.data ? l(i.data) : i.status === Wt ? l(null) : s(new ot()) : s(new Xt(i.status))).catch((i) => bn(i) ? s(new Kt(i, i.config?.url)) : yn(i) ? s(new Gt(i, a, r, i)) : wn(i) ? s(new Jt(i, a, r, i)) : Sn(i) ? s(new Zt(i, i)) : s(new ot(i)));
1838
1838
  }), { t: Mi } = De.global;
1839
1839
  function _i() {
@@ -2070,7 +2070,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2070
2070
  focusHour: x
2071
2071
  }), (I, b) => (U(), ve("div", ns, [
2072
2072
  $e("div", as, [
2073
- Yn($e("input", {
2073
+ Ln($e("input", {
2074
2074
  ref_key: "hoursRefInput",
2075
2075
  ref: s,
2076
2076
  "onUpdate:modelValue": b[0] || (b[0] = (_) => u.value = _),
@@ -2082,7 +2082,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2082
2082
  max: "23",
2083
2083
  onFocus: c,
2084
2084
  onBlur: g,
2085
- onKeyup: ka(E, ["enter"])
2085
+ onKeyup: Da(E, ["enter"])
2086
2086
  }, null, 544), [
2087
2087
  [oo, u.value]
2088
2088
  ]),
@@ -2113,7 +2113,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2113
2113
  ]),
2114
2114
  b[2] || (b[2] = $e("span", { class: "a-datetime-picker-time__separator" }, ":", -1)),
2115
2115
  $e("div", rs, [
2116
- Yn($e("input", {
2116
+ Ln($e("input", {
2117
2117
  ref_key: "minutesRefInput",
2118
2118
  ref: i,
2119
2119
  "onUpdate:modelValue": b[1] || (b[1] = (_) => m.value = _),
@@ -2125,7 +2125,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2125
2125
  max: "59",
2126
2126
  onFocus: c,
2127
2127
  onBlur: p,
2128
- onKeyup: ka(v, ["enter"])
2128
+ onKeyup: Da(v, ["enter"])
2129
2129
  }, null, 544), [
2130
2130
  [oo, m.value]
2131
2131
  ]),
@@ -2185,7 +2185,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2185
2185
  textFieldValue: {
2186
2186
  required: f(t.required)
2187
2187
  }
2188
- })), h = Hn(d, { textFieldValue: m }), C = V(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), x = (S) => {
2188
+ })), h = Vn(d, { textFieldValue: m }), C = V(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), x = (S) => {
2189
2189
  S !== t.modelValue && a("update:modelValue", S);
2190
2190
  }, I = (S) => {
2191
2191
  G(S) || ((G(g.value) || S.hour() !== g.value.hours || S.minute() !== g.value.minutes) && (g.value = { hours: S.hour(), minutes: S.minute() }), (G(c.value) || S.year() !== c.value.getFullYear() || S.month() !== c.value.getMonth() || S.date() !== c.value.getDate()) && (c.value = S.toDate()));
@@ -2206,7 +2206,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2206
2206
  const b = (S, D) => G(S) ? D : D.set("date", S.getDate()).set("month", S.getMonth()).set("year", S.getFullYear()), _ = (S, D) => G(S) ? D : D.set("hour", S.hours).set("minute", S.minutes);
2207
2207
  Te([g, c], ([S, D]) => {
2208
2208
  let F = null;
2209
- G(p.value) ? G(t.modelValue) ? t.lastMinuteMoment ? F = ie().hour(0).minute(0).second(59).millisecond(999) : F = ie().hour(0).minute(0).second(0).millisecond(0) : F = ie(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : F = p.value, F = _(S, F), F = b(D, F), !F.isSame(Zn(p.value)) && (p.value = F);
2209
+ G(p.value) ? G(t.modelValue) ? t.lastMinuteMoment ? F = ie().hour(0).minute(0).second(59).millisecond(999) : F = ie().hour(0).minute(0).second(0).millisecond(0) : F = ie(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : F = p.value, F = _(S, F), F = b(D, F), !F.isSame(Xn(p.value)) && (p.value = F);
2210
2210
  }), Te(
2211
2211
  p,
2212
2212
  (S) => {
@@ -2265,7 +2265,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2265
2265
  o.value++, l.value++;
2266
2266
  });
2267
2267
  };
2268
- return (S, D) => (U(), Q(ta, {
2268
+ return (S, D) => (U(), Q(ea, {
2269
2269
  ref_key: "inputInstance",
2270
2270
  ref: i,
2271
2271
  modelValue: m.value,
@@ -2279,7 +2279,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2279
2279
  autocomplete: "off",
2280
2280
  onBlur: k,
2281
2281
  onFocus: O,
2282
- onKeyup: ka(k, ["enter"])
2282
+ onKeyup: Da(k, ["enter"])
2283
2283
  }, _t({
2284
2284
  "append-inner": L(() => [
2285
2285
  e.clearable && e.defaultValue !== e.modelValue ? (U(), Q(Pe, {
@@ -2306,7 +2306,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2306
2306
  default: L(() => [
2307
2307
  r.value ? (U(), Q(La, { key: 0 }, {
2308
2308
  default: L(() => [
2309
- Yn((U(), Q(Ue, {
2309
+ Ln((U(), Q(Ue, {
2310
2310
  icon: "",
2311
2311
  variant: "text",
2312
2312
  width: 36,
@@ -2379,7 +2379,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2379
2379
  }
2380
2380
  ]), 1032, ["modelValue", "error-messages", "placeholder", "disabled"]));
2381
2381
  }
2382
- }), er = /* @__PURE__ */ Vo(fs, [["__scopeId", "data-v-9d53bed3"]]), bd = /* @__PURE__ */ we({
2382
+ }), er = /* @__PURE__ */ Vo(fs, [["__scopeId", "data-v-9d53bed3"]]), Sd = /* @__PURE__ */ we({
2383
2383
  __name: "AFormDatetimePicker",
2384
2384
  props: {
2385
2385
  modelValue: {},
@@ -2406,7 +2406,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2406
2406
  }), i = P(() => {
2407
2407
  }), u = P(null);
2408
2408
  if (o.value.enabled && he(t.collab)) {
2409
- const { releaseCollabFieldLock: _, changeCollabFieldData: B, acquireCollabFieldLock: k, lockedByUser: $ } = aa(
2409
+ const { releaseCollabFieldLock: _, changeCollabFieldData: B, acquireCollabFieldLock: k, lockedByUser: $ } = na(
2410
2410
  t.collab.room,
2411
2411
  t.collab.field
2412
2412
  );
@@ -2451,7 +2451,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2451
2451
  }), {
2452
2452
  "append-inner": L(() => [
2453
2453
  _e(_.$slots, "locked", { userId: u.value }, () => [
2454
- e.collab ? (U(), Q(na, {
2454
+ e.collab ? (U(), Q(ta, {
2455
2455
  key: 0,
2456
2456
  id: u.value,
2457
2457
  users: e.collab.cachedUsers
@@ -2477,7 +2477,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2477
2477
  }), l = P(() => {
2478
2478
  }), s = P(null);
2479
2479
  if (r.value.enabled && he(t.collab)) {
2480
- const { releaseCollabFieldLock: p, acquireCollabFieldLock: E, lockedByUser: v } = aa(
2480
+ const { releaseCollabFieldLock: p, acquireCollabFieldLock: E, lockedByUser: v } = na(
2481
2481
  t.collab.room,
2482
2482
  t.collab.field
2483
2483
  );
@@ -2520,7 +2520,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2520
2520
  name: "append",
2521
2521
  fn: L(() => [
2522
2522
  _e(p.$slots, "locked", { userId: s.value }, () => [
2523
- e.collab ? (U(), Q(na, {
2523
+ e.collab ? (U(), Q(ta, {
2524
2524
  key: 0,
2525
2525
  id: s.value,
2526
2526
  users: e.collab.cachedUsers
@@ -2531,7 +2531,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
2531
2531
  } : void 0
2532
2532
  ]), 1032, ["data-cy", "model-value", "disabled"]));
2533
2533
  }
2534
- }), ma = "_sort", ms = {
2534
+ }), fa = "_sort", ms = {
2535
2535
  skip: !1,
2536
2536
  xs: void 0,
2537
2537
  sm: void 0,
@@ -2608,7 +2608,7 @@ function Dt() {
2608
2608
  if (m.type === "timeInterval" && m.related)
2609
2609
  s[o] = m.default, s[m.related] = i.fields[m.related].default;
2610
2610
  else if (ue(s[o]) && s[o].length > 0) {
2611
- const g = s[o].findIndex((E) => E === l), p = [...Zn(s[o])];
2611
+ const g = s[o].findIndex((E) => E === l), p = [...Xn(s[o])];
2612
2612
  p.splice(g, 1), s[o] = p;
2613
2613
  } else (Fe(s[o]) || Ht(s[o]) || st(s[o])) && (s[o] = m.default);
2614
2614
  }, a = (o, l, s) => {
@@ -2639,7 +2639,7 @@ function tr(e, n, t = {}) {
2639
2639
  for (const h in e)
2640
2640
  try {
2641
2641
  const C = h, x = e[C];
2642
- !T(x) && !G(x) && !Aa(x) && x !== n.fields[C].default && (d[h] = x);
2642
+ !T(x) && !G(x) && !Ta(x) && x !== n.fields[C].default && (d[h] = x);
2643
2643
  } catch {
2644
2644
  }
2645
2645
  return d;
@@ -2647,9 +2647,9 @@ function tr(e, n, t = {}) {
2647
2647
  const x = new URLSearchParams();
2648
2648
  for (const I in d) {
2649
2649
  const b = d[I];
2650
- T(b) || G(b) || ue(b) && Aa(b) || gn(b) && un(b) || Fe(b) && b.length === 0 || (ue(b) ? x.set(I, b.join(",")) : x.set(I, String(b)));
2650
+ T(b) || G(b) || ue(b) && Ta(b) || gn(b) && un(b) || Fe(b) && b.length === 0 || (ue(b) ? x.set(I, b.join(",")) : x.set(I, String(b)));
2651
2651
  }
2652
- return C && h.value.sortBy && x.set(ma, `${h.value.sortBy.key},${h.value.sortBy.order}`), x.size === 0 ? "" : x.toString() + r;
2652
+ return C && h.value.sortBy && x.set(fa, `${h.value.sortBy.key},${h.value.sortBy.order}`), x.size === 0 ? "" : x.toString() + r;
2653
2653
  }, i = (d) => {
2654
2654
  if (!d) return null;
2655
2655
  if (d.startsWith("#") && (d = d.substring(1)), d.endsWith(r))
@@ -2663,10 +2663,10 @@ function tr(e, n, t = {}) {
2663
2663
  }
2664
2664
  const h = new URLSearchParams(d), C = {};
2665
2665
  let x = null;
2666
- const I = h.get(ma);
2666
+ const I = h.get(fa);
2667
2667
  if (I) {
2668
2668
  const [b, _] = I.split(",");
2669
- b && (_ === mt.Asc || _ === mt.Desc) && (x = { key: b, order: _ }), h.delete(ma);
2669
+ b && (_ === mt.Asc || _ === mt.Desc) && (x = { key: b, order: _ }), h.delete(fa);
2670
2670
  }
2671
2671
  for (const [b, _] of h.entries()) {
2672
2672
  const B = n.fields[b];
@@ -2736,7 +2736,7 @@ const xt = {
2736
2736
  Last3Months: "l3m",
2737
2737
  Custom: "custom"
2738
2738
  };
2739
- function yd(e = void 0) {
2739
+ function wd(e = void 0) {
2740
2740
  const { t: n } = Ne(), t = V(() => {
2741
2741
  const r = [
2742
2742
  {
@@ -2783,7 +2783,7 @@ function yd(e = void 0) {
2783
2783
  getTimeIntervalOption: (r) => t.value.find((o) => o.value === r)
2784
2784
  };
2785
2785
  }
2786
- function Sd(e) {
2786
+ function Cd(e) {
2787
2787
  const { datesCompare: n, required: t } = Xa(), a = V(() => e.value.from), r = V(() => e.value.until), o = {
2788
2788
  dialogData: {
2789
2789
  from: {
@@ -2797,7 +2797,7 @@ function Sd(e) {
2797
2797
  }
2798
2798
  };
2799
2799
  return {
2800
- v$: Hn(o, { dialogData: e }, { $scope: "AFilterTimeIntervalScope" })
2800
+ v$: Vn(o, { dialogData: e }, { $scope: "AFilterTimeIntervalScope" })
2801
2801
  };
2802
2802
  }
2803
2803
  function gs() {
@@ -2816,18 +2816,18 @@ function gs() {
2816
2816
  from: d,
2817
2817
  until: h
2818
2818
  };
2819
- const C = Ia(), x = Ci(C);
2819
+ const C = xa(), x = Ci(C);
2820
2820
  switch (d) {
2821
2821
  case xt.CurrentMonth:
2822
- return fa(x, "utc", 0, !1);
2822
+ return da(x, "utc", 0, !1);
2823
2823
  case xt.LastMonth:
2824
- return fa(x, "utc", -1, !1);
2824
+ return da(x, "utc", -1, !1);
2825
2825
  case xt.Last3Months:
2826
- return fa(x, "utc", -2, !0);
2826
+ return da(x, "utc", -2, !0);
2827
2827
  default:
2828
2828
  if (Ht(d))
2829
2829
  return {
2830
- from: Ma(Di(d * -1, x)),
2830
+ from: Ia(Di(d * -1, x)),
2831
2831
  until: C
2832
2832
  };
2833
2833
  }
@@ -2960,7 +2960,7 @@ function hn(e, n = mt.Desc, t = {}, a) {
2960
2960
  incrementPage: () => (o.value = { ...o.value, page: o.value.page + 1 }, o.value.page)
2961
2961
  };
2962
2962
  }
2963
- const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
2963
+ const Dd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
2964
2964
  e().post(Cn(t, a), JSON.stringify(n), l).then((u) => Dn(u.status) ? u.data ? s(u.data) : u.status === Wt ? s(null) : i(new ot()) : i(new Xt(u.status))).catch((u) => bn(u) ? i(new Kt(u, u.config?.url)) : yn(u) ? i(new Gt(u, r, o, u)) : wn(u) ? i(new Jt(u, r, o, u)) : Sn(u) ? i(new Zt(u, u)) : i(new ot(u)));
2965
2965
  }), ct = /* @__PURE__ */ Symbol.for("anzu:FilterDataKey"), rt = /* @__PURE__ */ Symbol.for("anzu:FilterConfigKey"), Za = /* @__PURE__ */ Symbol.for("anzu:FilterInnerDataKey"), Ja = /* @__PURE__ */ Symbol.for("anzu:FilterInnerConfigKey"), kt = /* @__PURE__ */ Symbol.for("anzu:FilterSubmitResetCounterKey"), vt = /* @__PURE__ */ Symbol.for("anzu:FilterSelectedKey"), nr = /* @__PURE__ */ Symbol.for("anzu:DatatablePaginationKey"), Ds = /* @__PURE__ */ we({
2966
2966
  __name: "AFilterBooleanSelect",
@@ -3057,7 +3057,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3057
3057
  f === d || st(f) || v();
3058
3058
  },
3059
3059
  { immediate: !0 }
3060
- ), (f, d) => (U(), Q(ta, {
3060
+ ), (f, d) => (U(), Q(ea, {
3061
3061
  modelValue: i.value,
3062
3062
  "onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
3063
3063
  label: c.value,
@@ -3073,7 +3073,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3073
3073
  }), Es = {
3074
3074
  key: 0,
3075
3075
  class: "font-italic pl-1"
3076
- }, Ts = 300, Cd = /* @__PURE__ */ we({
3076
+ }, Ts = 300, kd = /* @__PURE__ */ we({
3077
3077
  __name: "AFilterRemoteAutocomplete",
3078
3078
  props: {
3079
3079
  name: {},
@@ -3088,7 +3088,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3088
3088
  },
3089
3089
  emits: ["change"],
3090
3090
  setup(e, { emit: n }) {
3091
- const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Jn()?.type.__name;
3091
+ const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Zn()?.type.__name;
3092
3092
  if (T(r) || T(o) || T(s) || T(l) || T(i) || T(u))
3093
3093
  throw new Error(`[${m}] Incorrect provide/inject config.`);
3094
3094
  const c = t.filterByField, g = t.filterSortBy;
@@ -3129,7 +3129,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3129
3129
  } finally {
3130
3130
  O.value = !1;
3131
3131
  }
3132
- }, { showErrorsDefault: y } = oa(), S = async (K, J) => {
3132
+ }, { showErrorsDefault: y } = aa(), S = async (K, J) => {
3133
3133
  O.value = !0, u[c] = K;
3134
3134
  try {
3135
3135
  const le = await t.fetchItems(b, u, i);
@@ -3218,7 +3218,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3218
3218
  await w(le);
3219
3219
  },
3220
3220
  { immediate: !0 }
3221
- ), (K, J) => (U(), Q(Qn, {
3221
+ ), (K, J) => (U(), Q(Jn, {
3222
3222
  modelValue: E.value,
3223
3223
  "onUpdate:modelValue": [
3224
3224
  J[0] || (J[0] = (le) => E.value = le),
@@ -3249,7 +3249,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3249
3249
  }), null, 16, ["title", "subtitle"])
3250
3250
  ]),
3251
3251
  chip: L(({ props: le, item: Ae }) => [
3252
- N(ea, {
3252
+ N(Qn, {
3253
3253
  closable: le.closable,
3254
3254
  size: "small",
3255
3255
  text: `${Ae.title} (${Ae.raw.subtitle})`,
@@ -3279,7 +3279,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3279
3279
  function As(e, n) {
3280
3280
  return n.includes(e);
3281
3281
  }
3282
- const Dd = /* @__PURE__ */ we({
3282
+ const Ed = /* @__PURE__ */ we({
3283
3283
  __name: "AFilterRemoteAutocompleteWithMinimal",
3284
3284
  props: {
3285
3285
  name: {},
@@ -3295,7 +3295,7 @@ const Dd = /* @__PURE__ */ we({
3295
3295
  },
3296
3296
  emits: ["change"],
3297
3297
  setup(e, { emit: n }) {
3298
- const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Jn()?.type.__name;
3298
+ const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Zn()?.type.__name;
3299
3299
  if (T(r) || T(o) || T(s) || T(l) || T(i) || T(u))
3300
3300
  throw new Error(`[${m}] Incorrect provide/inject config.`);
3301
3301
  if (
@@ -3327,7 +3327,7 @@ const Dd = /* @__PURE__ */ we({
3327
3327
  }), I.value.forEach((q) => {
3328
3328
  q.raw ? (z.set(q.raw[t.itemValue], q.raw[t.itemTitle]), te.set(q.raw[t.itemValue], Ie(q.raw))) : (z.set(q[t.itemValue], q[t.itemTitle]), te.set(q[t.itemValue], Ie(q)));
3329
3329
  }), Array.from(z, ([q, W]) => ({ value: q, title: W, raw: te.get(q) }));
3330
- }), B = P(!1), { showErrorsDefault: k } = oa(), $ = async (z, te) => {
3330
+ }), B = P(!1), { showErrorsDefault: k } = aa(), $ = async (z, te) => {
3331
3331
  B.value = !0, u[t.filterByField] = z;
3332
3332
  try {
3333
3333
  const q = await t.fetchItemsMinimal(x, u, i);
@@ -3435,7 +3435,7 @@ const Dd = /* @__PURE__ */ we({
3435
3435
  z.length < t.searchMinChars || z !== te && (v.value++, $(z, v.value));
3436
3436
  },
3437
3437
  { debounce: 300 }
3438
- ), (z, te) => (U(), Q(Qn, {
3438
+ ), (z, te) => (U(), Q(Jn, {
3439
3439
  modelValue: c.value,
3440
3440
  "onUpdate:modelValue": [
3441
3441
  te[0] || (te[0] = (q) => c.value = q),
@@ -3474,7 +3474,7 @@ const Dd = /* @__PURE__ */ we({
3474
3474
  props: q,
3475
3475
  item: W
3476
3476
  }, () => [
3477
- N(ea, it(q, {
3477
+ N(Qn, it(q, {
3478
3478
  text: W.title
3479
3479
  }), null, 16, ["text"])
3480
3480
  ])
@@ -3482,7 +3482,7 @@ const Dd = /* @__PURE__ */ we({
3482
3482
  _: 3
3483
3483
  }, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
3484
3484
  }
3485
- }), kd = /* @__PURE__ */ we({
3485
+ }), Td = /* @__PURE__ */ we({
3486
3486
  __name: "AFilterValueObjectOptionsSelect",
3487
3487
  props: {
3488
3488
  name: {},
@@ -3490,7 +3490,7 @@ const Dd = /* @__PURE__ */ we({
3490
3490
  },
3491
3491
  emits: ["change"],
3492
3492
  setup(e, { emit: n }) {
3493
- const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = Jn()?.type.__name;
3493
+ const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = Zn()?.type.__name;
3494
3494
  if (T(r) || T(o) || T(s) || T(l))
3495
3495
  throw new Error(`[${i}] Incorrect provide/inject config.`);
3496
3496
  if (
@@ -3531,7 +3531,7 @@ const Dd = /* @__PURE__ */ we({
3531
3531
  f === d || st(f) || v(f);
3532
3532
  },
3533
3533
  { immediate: !0 }
3534
- ), (f, d) => (U(), Q(Qn, {
3534
+ ), (f, d) => (U(), Q(Jn, {
3535
3535
  modelValue: u.value,
3536
3536
  "onUpdate:modelValue": d[0] || (d[0] = (h) => u.value = h),
3537
3537
  items: e.items,
@@ -3630,7 +3630,7 @@ const Dd = /* @__PURE__ */ we({
3630
3630
  f === d || st(f) || v();
3631
3631
  },
3632
3632
  { immediate: !0 }
3633
- ), (f, d) => (U(), Q(ta, {
3633
+ ), (f, d) => (U(), Q(ea, {
3634
3634
  modelValue: i.value,
3635
3635
  "onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
3636
3636
  label: c.value,
@@ -3688,13 +3688,13 @@ function Do(e, n = "userAdminConfig") {
3688
3688
  filterData: r
3689
3689
  };
3690
3690
  }
3691
- const jn = {
3691
+ const qn = {
3692
3692
  PinnedWidgets: "pinnedWidgets",
3693
3693
  FilterBookmark: "filterBookmark"
3694
- }, $s = jn.PinnedWidgets, It = {
3694
+ }, $s = qn.PinnedWidgets, It = {
3695
3695
  Desktop: "desktop",
3696
3696
  Mobile: "mobile"
3697
- }, Fs = It.Desktop, Os = 3, _a = 8, ar = Jr("filterBookmarkStore", () => {
3697
+ }, Fs = It.Desktop, Os = 3, Ma = 8, ar = Jr("filterBookmarkStore", () => {
3698
3698
  const e = P(/* @__PURE__ */ new Map()), n = P(!1);
3699
3699
  function t(s, i) {
3700
3700
  return `userAdminConfig/${i}/${s}/`;
@@ -3714,9 +3714,9 @@ const jn = {
3714
3714
  return h.lastUsed = c, h.items;
3715
3715
  }
3716
3716
  const { pagination: g } = hn("position", mt.Asc, {
3717
- rowsPerPage: _a
3717
+ rowsPerPage: Ma
3718
3718
  }), { start: p, end: E } = vn(s.systemResource, "_"), { filterConfig: v, filterData: f } = Do(p, E);
3719
- f.configType = jn.FilterBookmark, f.layoutType = s.layoutType, f.systemResource = s.systemResource, f.user = s.user;
3719
+ f.configType = qn.FilterBookmark, f.layoutType = s.layoutType, f.systemResource = s.systemResource, f.user = s.user;
3720
3720
  let d = [];
3721
3721
  try {
3722
3722
  const { executeFetch: h } = i();
@@ -3729,9 +3729,9 @@ const jn = {
3729
3729
  async function o(s, i) {
3730
3730
  n.value = !1;
3731
3731
  const { pagination: u } = hn("position", mt.Asc, {
3732
- rowsPerPage: _a + 1
3732
+ rowsPerPage: Ma + 1
3733
3733
  }), { start: m, end: c } = vn(s.systemResource, "_"), { filterConfig: g, filterData: p } = Do(m, c);
3734
- p.configType = jn.FilterBookmark, p.layoutType = s.layoutType, p.systemResource = s.systemResource, p.user = s.user;
3734
+ p.configType = qn.FilterBookmark, p.layoutType = s.layoutType, p.systemResource = s.systemResource, p.user = s.user;
3735
3735
  let E = 1 / 0;
3736
3736
  try {
3737
3737
  const { executeFetch: v } = i();
@@ -3909,7 +3909,7 @@ const Rs = { key: 0 }, Ps = 32, Ns = /* @__PURE__ */ we({
3909
3909
  class: "w-100 d-flex overflow-hidden align-center mb-1"
3910
3910
  }, [
3911
3911
  u.value ? (U(), ve("div", Rs)) : (U(), ve(at, { key: 1 }, [
3912
- (U(!0), ve(at, null, Un(I.value.visible, (B) => (U(), ve("div", {
3912
+ (U(!0), ve(at, null, Yn(I.value.visible, (B) => (U(), ve("div", {
3913
3913
  key: B.id,
3914
3914
  class: "white-space-nowrap"
3915
3915
  }, [
@@ -3942,7 +3942,7 @@ const Rs = { key: 0 }, Ps = 32, Ns = /* @__PURE__ */ we({
3942
3942
  default: L(() => [
3943
3943
  N(Ro, { density: "compact" }, {
3944
3944
  default: L(() => [
3945
- (U(!0), ve(at, null, Un(I.value.hidden, (B) => (U(), Q(Vt, {
3945
+ (U(!0), ve(at, null, Yn(I.value.hidden, (B) => (U(), Q(Vt, {
3946
3946
  key: B.id,
3947
3947
  onClick: (k) => h(B)
3948
3948
  }, {
@@ -3966,6 +3966,23 @@ const Rs = { key: 0 }, Ps = 32, Ns = /* @__PURE__ */ we({
3966
3966
  ]));
3967
3967
  }
3968
3968
  });
3969
+ function Ls(e, n, t) {
3970
+ return (n = Hs(n)) in e ? Object.defineProperty(e, n, {
3971
+ value: t,
3972
+ enumerable: !0,
3973
+ configurable: !0,
3974
+ writable: !0
3975
+ }) : e[n] = t, e;
3976
+ }
3977
+ function pt() {
3978
+ return pt = Object.assign ? Object.assign.bind() : function(e) {
3979
+ for (var n = 1; n < arguments.length; n++) {
3980
+ var t = arguments[n];
3981
+ for (var a in t) ({}).hasOwnProperty.call(t, a) && (e[a] = t[a]);
3982
+ }
3983
+ return e;
3984
+ }, pt.apply(null, arguments);
3985
+ }
3969
3986
  function Eo(e, n) {
3970
3987
  var t = Object.keys(e);
3971
3988
  if (Object.getOwnPropertySymbols) {
@@ -3987,50 +4004,47 @@ function ut(e) {
3987
4004
  }
3988
4005
  return e;
3989
4006
  }
3990
- function Bn(e) {
3991
- "@babel/helpers - typeof";
3992
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Bn = function(n) {
3993
- return typeof n;
3994
- } : Bn = function(n) {
3995
- return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
3996
- }, Bn(e);
3997
- }
3998
- function Ls(e, n, t) {
3999
- return n in e ? Object.defineProperty(e, n, {
4000
- value: t,
4001
- enumerable: !0,
4002
- configurable: !0,
4003
- writable: !0
4004
- }) : e[n] = t, e;
4005
- }
4006
- function pt() {
4007
- return pt = Object.assign || function(e) {
4008
- for (var n = 1; n < arguments.length; n++) {
4009
- var t = arguments[n];
4010
- for (var a in t)
4011
- Object.prototype.hasOwnProperty.call(t, a) && (e[a] = t[a]);
4012
- }
4013
- return e;
4014
- }, pt.apply(this, arguments);
4015
- }
4016
4007
  function Ys(e, n) {
4017
4008
  if (e == null) return {};
4018
- var t = {}, a = Object.keys(e), r, o;
4019
- for (o = 0; o < a.length; o++)
4020
- r = a[o], !(n.indexOf(r) >= 0) && (t[r] = e[r]);
4021
- return t;
4009
+ var t, a, r = Us(e, n);
4010
+ if (Object.getOwnPropertySymbols) {
4011
+ var o = Object.getOwnPropertySymbols(e);
4012
+ for (a = 0; a < o.length; a++) t = o[a], n.indexOf(t) === -1 && {}.propertyIsEnumerable.call(e, t) && (r[t] = e[t]);
4013
+ }
4014
+ return r;
4022
4015
  }
4023
4016
  function Us(e, n) {
4024
4017
  if (e == null) return {};
4025
- var t = Ys(e, n), a, r;
4026
- if (Object.getOwnPropertySymbols) {
4027
- var o = Object.getOwnPropertySymbols(e);
4028
- for (r = 0; r < o.length; r++)
4029
- a = o[r], !(n.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (t[a] = e[a]);
4018
+ var t = {};
4019
+ for (var a in e) if ({}.hasOwnProperty.call(e, a)) {
4020
+ if (n.indexOf(a) !== -1) continue;
4021
+ t[a] = e[a];
4030
4022
  }
4031
4023
  return t;
4032
4024
  }
4033
- var Vs = "1.15.6";
4025
+ function Vs(e, n) {
4026
+ if (typeof e != "object" || !e) return e;
4027
+ var t = e[Symbol.toPrimitive];
4028
+ if (t !== void 0) {
4029
+ var a = t.call(e, n);
4030
+ if (typeof a != "object") return a;
4031
+ throw new TypeError("@@toPrimitive must return a primitive value.");
4032
+ }
4033
+ return (n === "string" ? String : Number)(e);
4034
+ }
4035
+ function Hs(e) {
4036
+ var n = Vs(e, "string");
4037
+ return typeof n == "symbol" ? n : n + "";
4038
+ }
4039
+ function _a(e) {
4040
+ "@babel/helpers - typeof";
4041
+ return _a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
4042
+ return typeof n;
4043
+ } : function(n) {
4044
+ return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
4045
+ }, _a(e);
4046
+ }
4047
+ var qs = "1.15.7";
4034
4048
  function ft(e) {
4035
4049
  if (typeof window < "u" && window.navigator)
4036
4050
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
@@ -4045,7 +4059,7 @@ function fe(e, n, t) {
4045
4059
  function ce(e, n, t) {
4046
4060
  e.removeEventListener(n, t, !ht && lr);
4047
4061
  }
4048
- function zn(e, n) {
4062
+ function jn(e, n) {
4049
4063
  if (n) {
4050
4064
  if (n[0] === ">" && (n = n.substring(1)), e)
4051
4065
  try {
@@ -4062,13 +4076,13 @@ function zn(e, n) {
4062
4076
  }
4063
4077
  }
4064
4078
  function ir(e) {
4065
- return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
4079
+ return e.host && e !== document && e.host.nodeType && e.host !== e ? e.host : e.parentNode;
4066
4080
  }
4067
4081
  function tt(e, n, t, a) {
4068
4082
  if (e) {
4069
4083
  t = t || document;
4070
4084
  do {
4071
- if (n != null && (n[0] === ">" ? e.parentNode === t && zn(e, n) : zn(e, n)) || a && e === t)
4085
+ if (n != null && (n[0] === ">" ? e.parentNode === t && jn(e, n) : jn(e, n)) || a && e === t)
4072
4086
  return e;
4073
4087
  if (e === t) break;
4074
4088
  } while (e = ir(e));
@@ -4165,7 +4179,7 @@ function qt(e, n, t, a) {
4165
4179
  return null;
4166
4180
  }
4167
4181
  function eo(e, n) {
4168
- for (var t = e.lastElementChild; t && (t === ae.ghost || ne(t, "display") === "none" || n && !zn(t, n)); )
4182
+ for (var t = e.lastElementChild; t && (t === ae.ghost || ne(t, "display") === "none" || n && !jn(t, n)); )
4169
4183
  t = t.previousElementSibling;
4170
4184
  return t || null;
4171
4185
  }
@@ -4174,7 +4188,7 @@ function Je(e, n) {
4174
4188
  if (!e || !e.parentNode)
4175
4189
  return -1;
4176
4190
  for (; e = e.previousElementSibling; )
4177
- e.nodeName.toUpperCase() !== "TEMPLATE" && e !== ae.clone && (!n || zn(e, n)) && t++;
4191
+ e.nodeName.toUpperCase() !== "TEMPLATE" && e !== ae.clone && (!n || jn(e, n)) && t++;
4178
4192
  return t;
4179
4193
  }
4180
4194
  function Io(e) {
@@ -4186,7 +4200,7 @@ function Io(e) {
4186
4200
  } while (e !== a && (e = e.parentNode));
4187
4201
  return [n, t];
4188
4202
  }
4189
- function Hs(e, n) {
4203
+ function js(e, n) {
4190
4204
  for (var t in e)
4191
4205
  if (e.hasOwnProperty(t)) {
4192
4206
  for (var a in n)
@@ -4209,13 +4223,13 @@ function yt(e, n) {
4209
4223
  while (t = t.parentNode);
4210
4224
  return lt();
4211
4225
  }
4212
- function qs(e, n) {
4226
+ function zs(e, n) {
4213
4227
  if (e && n)
4214
4228
  for (var t in n)
4215
4229
  n.hasOwnProperty(t) && (e[t] = n[t]);
4216
4230
  return e;
4217
4231
  }
4218
- function pa(e, n) {
4232
+ function ma(e, n) {
4219
4233
  return Math.round(e.top) === Math.round(n.top) && Math.round(e.left) === Math.round(n.left) && Math.round(e.height) === Math.round(n.height) && Math.round(e.width) === Math.round(n.width);
4220
4234
  }
4221
4235
  var dn;
@@ -4229,7 +4243,7 @@ function ur(e, n) {
4229
4243
  }
4230
4244
  };
4231
4245
  }
4232
- function js() {
4246
+ function Ws() {
4233
4247
  clearTimeout(dn), dn = void 0;
4234
4248
  }
4235
4249
  function cr(e, n, t) {
@@ -4250,7 +4264,7 @@ function fr(e, n, t) {
4250
4264
  }), a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
4251
4265
  }
4252
4266
  var je = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
4253
- function zs() {
4267
+ function Ks() {
4254
4268
  var e = [], n;
4255
4269
  return {
4256
4270
  captureAnimationState: function() {
@@ -4276,7 +4290,7 @@ function zs() {
4276
4290
  e.push(a);
4277
4291
  },
4278
4292
  removeAnimationState: function(a) {
4279
- e.splice(Hs(e, {
4293
+ e.splice(js(e, {
4280
4294
  target: a
4281
4295
  }), 1);
4282
4296
  },
@@ -4289,8 +4303,8 @@ function zs() {
4289
4303
  var o = !1, l = 0;
4290
4304
  e.forEach(function(s) {
4291
4305
  var i = 0, u = s.target, m = u.fromRect, c = Re(u), g = u.prevFromRect, p = u.prevToRect, E = s.rect, v = Yt(u, !0);
4292
- v && (c.top -= v.f, c.left -= v.e), u.toRect = c, u.thisAnimationDuration && pa(g, c) && !pa(m, c) && // Make sure animatingRect is on line between toRect & fromRect
4293
- (E.top - c.top) / (E.left - c.left) === (m.top - c.top) / (m.left - c.left) && (i = Ks(E, g, p, r.options)), pa(c, m) || (u.prevFromRect = m, u.prevToRect = c, i || (i = r.options.animation), r.animate(u, E, c, i)), i && (o = !0, l = Math.max(l, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
4306
+ v && (c.top -= v.f, c.left -= v.e), u.toRect = c, u.thisAnimationDuration && ma(g, c) && !ma(m, c) && // Make sure animatingRect is on line between toRect & fromRect
4307
+ (E.top - c.top) / (E.left - c.left) === (m.top - c.top) / (m.left - c.left) && (i = Xs(E, g, p, r.options)), ma(c, m) || (u.prevFromRect = m, u.prevToRect = c, i || (i = r.options.animation), r.animate(u, E, c, i)), i && (o = !0, l = Math.max(l, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
4294
4308
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
4295
4309
  }, i), u.thisAnimationDuration = i);
4296
4310
  }), clearTimeout(n), o ? n = setTimeout(function() {
@@ -4301,25 +4315,25 @@ function zs() {
4301
4315
  if (l) {
4302
4316
  ne(a, "transition", ""), ne(a, "transform", "");
4303
4317
  var s = Yt(this.el), i = s && s.a, u = s && s.d, m = (r.left - o.left) / (i || 1), c = (r.top - o.top) / (u || 1);
4304
- a.animatingX = !!m, a.animatingY = !!c, ne(a, "transform", "translate3d(" + m + "px," + c + "px,0)"), this.forRepaintDummy = Ws(a), ne(a, "transition", "transform " + l + "ms" + (this.options.easing ? " " + this.options.easing : "")), ne(a, "transform", "translate3d(0,0,0)"), typeof a.animated == "number" && clearTimeout(a.animated), a.animated = setTimeout(function() {
4318
+ a.animatingX = !!m, a.animatingY = !!c, ne(a, "transform", "translate3d(" + m + "px," + c + "px,0)"), this.forRepaintDummy = Gs(a), ne(a, "transition", "transform " + l + "ms" + (this.options.easing ? " " + this.options.easing : "")), ne(a, "transform", "translate3d(0,0,0)"), typeof a.animated == "number" && clearTimeout(a.animated), a.animated = setTimeout(function() {
4305
4319
  ne(a, "transition", ""), ne(a, "transform", ""), a.animated = !1, a.animatingX = !1, a.animatingY = !1;
4306
4320
  }, l);
4307
4321
  }
4308
4322
  }
4309
4323
  };
4310
4324
  }
4311
- function Ws(e) {
4325
+ function Gs(e) {
4312
4326
  return e.offsetWidth;
4313
4327
  }
4314
- function Ks(e, n, t, a) {
4328
+ function Xs(e, n, t, a) {
4315
4329
  return Math.sqrt(Math.pow(n.top - e.top, 2) + Math.pow(n.left - e.left, 2)) / Math.sqrt(Math.pow(n.top - t.top, 2) + Math.pow(n.left - t.left, 2)) * a.animation;
4316
4330
  }
4317
- var Bt = [], va = {
4331
+ var Bt = [], pa = {
4318
4332
  initializeByDefault: !0
4319
4333
  }, En = {
4320
4334
  mount: function(n) {
4321
- for (var t in va)
4322
- va.hasOwnProperty(t) && !(t in n) && (n[t] = va[t]);
4335
+ for (var t in pa)
4336
+ pa.hasOwnProperty(t) && !(t in n) && (n[t] = pa[t]);
4323
4337
  Bt.forEach(function(a) {
4324
4338
  if (a.pluginName === n.pluginName)
4325
4339
  throw "Sortable: Cannot mount plugin ".concat(n.pluginName, " more than once");
@@ -4366,7 +4380,7 @@ var Bt = [], va = {
4366
4380
  }), r;
4367
4381
  }
4368
4382
  };
4369
- function Gs(e) {
4383
+ function Zs(e) {
4370
4384
  var n = e.sortable, t = e.rootEl, a = e.name, r = e.targetEl, o = e.cloneEl, l = e.toEl, s = e.fromEl, i = e.oldIndex, u = e.newIndex, m = e.oldDraggableIndex, c = e.newDraggableIndex, g = e.originalEvent, p = e.putSortable, E = e.extraEventProperties;
4371
4385
  if (n = n || t && t[je], !!n) {
4372
4386
  var v, f = n.options, d = "on" + a.charAt(0).toUpperCase() + a.substr(1);
@@ -4380,15 +4394,15 @@ function Gs(e) {
4380
4394
  t && t.dispatchEvent(v), f[d] && f[d].call(n, v);
4381
4395
  }
4382
4396
  }
4383
- var Xs = ["evt"], qe = function(n, t) {
4384
- var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = a.evt, o = Us(a, Xs);
4397
+ var Js = ["evt"], qe = function(n, t) {
4398
+ var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = a.evt, o = Ys(a, Js);
4385
4399
  En.pluginEvent.bind(ae)(n, t, ut({
4386
4400
  dragEl: Y,
4387
4401
  parentEl: Me,
4388
4402
  ghostEl: oe,
4389
4403
  rootEl: ke,
4390
4404
  nextEl: At,
4391
- lastDownEl: Rn,
4405
+ lastDownEl: Bn,
4392
4406
  cloneEl: xe,
4393
4407
  cloneHidden: bt,
4394
4408
  dragStarted: rn,
@@ -4417,7 +4431,7 @@ var Xs = ["evt"], qe = function(n, t) {
4417
4431
  }, o));
4418
4432
  };
4419
4433
  function He(e) {
4420
- Gs(ut({
4434
+ Zs(ut({
4421
4435
  putSortable: Ye,
4422
4436
  cloneEl: xe,
4423
4437
  targetEl: Y,
@@ -4428,8 +4442,8 @@ function He(e) {
4428
4442
  newDraggableIndex: gt
4429
4443
  }, e));
4430
4444
  }
4431
- var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn = [], Et, et, ha, ga, Mo, _o, rn, Rt, mn, pn = !1, In = !1, Pn, Ve, ba = [], $a = !1, Gn = [], ia = typeof document < "u", Mn = Qa, $o = kn || ht ? "cssFloat" : "float", Zs = ia && !rr && !Qa && "draggable" in document.createElement("div"), mr = (function() {
4432
- if (ia) {
4445
+ var Y, Me, oe, ke, At, Bn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, zn = !1, Wn = [], Et, et, va, ha, Mo, _o, rn, Rt, mn, pn = !1, In = !1, Rn, Ve, ga = [], $a = !1, Kn = [], la = typeof document < "u", Mn = Qa, $o = kn || ht ? "cssFloat" : "float", Qs = la && !rr && !Qa && "draggable" in document.createElement("div"), mr = (function() {
4446
+ if (la) {
4433
4447
  if (ht)
4434
4448
  return !1;
4435
4449
  var e = document.createElement("x");
@@ -4446,12 +4460,12 @@ var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn
4446
4460
  return l && (i.clear === "both" || i.clear === c) ? "vertical" : "horizontal";
4447
4461
  }
4448
4462
  return o && (s.display === "block" || s.display === "flex" || s.display === "table" || s.display === "grid" || u >= r && a[$o] === "none" || l && a[$o] === "none" && u + m > r) ? "vertical" : "horizontal";
4449
- }, Js = function(n, t, a) {
4463
+ }, eu = function(n, t, a) {
4450
4464
  var r = a ? n.left : n.top, o = a ? n.right : n.bottom, l = a ? n.width : n.height, s = a ? t.left : t.top, i = a ? t.right : t.bottom, u = a ? t.width : t.height;
4451
4465
  return r === s || o === i || r + l / 2 === s + u / 2;
4452
- }, Qs = function(n, t) {
4466
+ }, tu = function(n, t) {
4453
4467
  var a;
4454
- return Kn.some(function(r) {
4468
+ return Wn.some(function(r) {
4455
4469
  var o = r[je].options.emptyInsertThreshold;
4456
4470
  if (!(!o || eo(r))) {
4457
4471
  var l = Re(r), s = n >= l.left - o && n <= l.right + o, i = t >= l.top - o && t <= l.bottom + o;
@@ -4476,7 +4490,7 @@ var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn
4476
4490
  };
4477
4491
  }
4478
4492
  var a = {}, r = n.group;
4479
- (!r || Bn(r) != "object") && (r = {
4493
+ (!r || _a(r) != "object") && (r = {
4480
4494
  name: r
4481
4495
  }), a.name = r.name, a.checkPull = t(r.pull, !0), a.checkPut = t(r.put), a.revertClone = r.revertClone, n.group = a;
4482
4496
  }, hr = function() {
@@ -4484,14 +4498,14 @@ var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn
4484
4498
  }, gr = function() {
4485
4499
  !mr && oe && ne(oe, "display", "");
4486
4500
  };
4487
- ia && !rr && document.addEventListener("click", function(e) {
4488
- if (Wn)
4489
- return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Wn = !1, !1;
4501
+ la && !rr && document.addEventListener("click", function(e) {
4502
+ if (zn)
4503
+ return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), zn = !1, !1;
4490
4504
  }, !0);
4491
4505
  var Tt = function(n) {
4492
4506
  if (Y) {
4493
4507
  n = n.touches ? n.touches[0] : n;
4494
- var t = Qs(n.clientX, n.clientY);
4508
+ var t = tu(n.clientX, n.clientY);
4495
4509
  if (t) {
4496
4510
  var a = {};
4497
4511
  for (var r in n)
@@ -4499,7 +4513,7 @@ var Tt = function(n) {
4499
4513
  a.target = a.rootEl = t, a.preventDefault = void 0, a.stopPropagation = void 0, t[je]._onDragOver(a);
4500
4514
  }
4501
4515
  }
4502
- }, eu = function(n) {
4516
+ }, nu = function(n) {
4503
4517
  Y && Y.parentNode[je]._isOutsideThisEl(n.target);
4504
4518
  };
4505
4519
  function ae(e, n) {
@@ -4558,7 +4572,7 @@ function ae(e, n) {
4558
4572
  vr(n);
4559
4573
  for (var r in this)
4560
4574
  r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
4561
- this.nativeDraggable = n.forceFallback ? !1 : Zs, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? fe(e, "pointerdown", this._onTapStart) : (fe(e, "mousedown", this._onTapStart), fe(e, "touchstart", this._onTapStart)), this.nativeDraggable && (fe(e, "dragover", this), fe(e, "dragenter", this)), Kn.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), pt(this, zs());
4575
+ this.nativeDraggable = n.forceFallback ? !1 : Qs, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? fe(e, "pointerdown", this._onTapStart) : (fe(e, "mousedown", this._onTapStart), fe(e, "touchstart", this._onTapStart)), this.nativeDraggable && (fe(e, "dragover", this), fe(e, "dragenter", this)), Wn.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), pt(this, Ks());
4562
4576
  }
4563
4577
  ae.prototype = /** @lends Sortable.prototype */
4564
4578
  {
@@ -4572,7 +4586,7 @@ ae.prototype = /** @lends Sortable.prototype */
4572
4586
  _onTapStart: function(n) {
4573
4587
  if (n.cancelable) {
4574
4588
  var t = this, a = this.el, r = this.options, o = r.preventOnFilter, l = n.type, s = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, i = (s || n).target, u = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || i, m = r.filter;
4575
- if (su(a), !Y && !(/mousedown|pointerdown/.test(l) && n.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && cn && i && i.tagName.toUpperCase() === "SELECT") && (i = tt(i, r.draggable, a, !1), !(i && i.animated) && Rn !== i)) {
4589
+ if (cu(a), !Y && !(/mousedown|pointerdown/.test(l) && n.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && cn && i && i.tagName.toUpperCase() === "SELECT") && (i = tt(i, r.draggable, a, !1), !(i && i.animated) && Bn !== i)) {
4576
4590
  if (Lt = Je(i), fn = Je(i, r.draggable), typeof m == "function") {
4577
4591
  if (m.call(this, n, i, this)) {
4578
4592
  He({
@@ -4611,7 +4625,7 @@ ae.prototype = /** @lends Sortable.prototype */
4611
4625
  var r = this, o = r.el, l = r.options, s = o.ownerDocument, i;
4612
4626
  if (a && !Y && a.parentNode === o) {
4613
4627
  var u = Re(a);
4614
- if (ke = o, Y = a, Me = Y.parentNode, At = Y.nextSibling, Rn = a, xn = l.group, ae.dragged = Y, Et = {
4628
+ if (ke = o, Y = a, Me = Y.parentNode, At = Y.nextSibling, Bn = a, xn = l.group, ae.dragged = Y, Et = {
4615
4629
  target: Y,
4616
4630
  clientX: (t || n).clientX,
4617
4631
  clientY: (t || n).clientY
@@ -4628,7 +4642,7 @@ ae.prototype = /** @lends Sortable.prototype */
4628
4642
  originalEvent: n
4629
4643
  }), We(Y, l.chosenClass, !0);
4630
4644
  }, l.ignore.split(",").forEach(function(m) {
4631
- sr(Y, m.trim(), ya);
4645
+ sr(Y, m.trim(), ba);
4632
4646
  }), fe(s, "dragover", Tt), fe(s, "mousemove", Tt), fe(s, "touchmove", Tt), l.supportPointer ? (fe(s, "pointerup", r._onDrop), !this.nativeDraggable && fe(s, "pointercancel", r._onDrop)) : (fe(s, "mouseup", r._onDrop), fe(s, "touchend", r._onDrop), fe(s, "touchcancel", r._onDrop)), To && this.nativeDraggable && (this.options.touchStartThreshold = 4, Y.draggable = !0), qe("delayStart", this, {
4633
4647
  evt: n
4634
4648
  }), l.delay && (!l.delayOnTouchOnly || t) && (!this.nativeDraggable || !(kn || ht))) {
@@ -4646,7 +4660,7 @@ ae.prototype = /** @lends Sortable.prototype */
4646
4660
  Math.max(Math.abs(t.clientX - this._lastX), Math.abs(t.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
4647
4661
  },
4648
4662
  _disableDelayedDrag: function() {
4649
- Y && ya(Y), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
4663
+ Y && ba(Y), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
4650
4664
  },
4651
4665
  _disableDelayedDragEvents: function() {
4652
4666
  var n = this.el.ownerDocument;
@@ -4655,7 +4669,7 @@ ae.prototype = /** @lends Sortable.prototype */
4655
4669
  _triggerDragStart: function(n, t) {
4656
4670
  t = t || n.pointerType == "touch" && n, !this.nativeDraggable || t ? this.options.supportPointer ? fe(document, "pointermove", this._onTouchMove) : t ? fe(document, "touchmove", this._onTouchMove) : fe(document, "mousemove", this._onTouchMove) : (fe(Y, "dragend", this), fe(ke, "dragstart", this._onDragStart));
4657
4671
  try {
4658
- document.selection ? Nn(function() {
4672
+ document.selection ? Pn(function() {
4659
4673
  document.selection.empty();
4660
4674
  }) : window.getSelection().removeAllRanges();
4661
4675
  } catch {
@@ -4665,7 +4679,7 @@ ae.prototype = /** @lends Sortable.prototype */
4665
4679
  if (Pt = !1, ke && Y) {
4666
4680
  qe("dragStarted", this, {
4667
4681
  evt: t
4668
- }), this.nativeDraggable && fe(document, "dragover", eu);
4682
+ }), this.nativeDraggable && fe(document, "dragover", nu);
4669
4683
  var a = this.options;
4670
4684
  !n && We(Y, a.dragClass, !1), We(Y, a.ghostClass, !0), ae.active = this, n && this._appendGhost(), He({
4671
4685
  sortable: this,
@@ -4699,14 +4713,14 @@ ae.prototype = /** @lends Sortable.prototype */
4699
4713
  },
4700
4714
  _onTouchMove: function(n) {
4701
4715
  if (Et) {
4702
- var t = this.options, a = t.fallbackTolerance, r = t.fallbackOffset, o = n.touches ? n.touches[0] : n, l = oe && Yt(oe, !0), s = oe && l && l.a, i = oe && l && l.d, u = Mn && Ve && Io(Ve), m = (o.clientX - Et.clientX + r.x) / (s || 1) + (u ? u[0] - ba[0] : 0) / (s || 1), c = (o.clientY - Et.clientY + r.y) / (i || 1) + (u ? u[1] - ba[1] : 0) / (i || 1);
4716
+ var t = this.options, a = t.fallbackTolerance, r = t.fallbackOffset, o = n.touches ? n.touches[0] : n, l = oe && Yt(oe, !0), s = oe && l && l.a, i = oe && l && l.d, u = Mn && Ve && Io(Ve), m = (o.clientX - Et.clientX + r.x) / (s || 1) + (u ? u[0] - ga[0] : 0) / (s || 1), c = (o.clientY - Et.clientY + r.y) / (i || 1) + (u ? u[1] - ga[1] : 0) / (i || 1);
4703
4717
  if (!ae.active && !Pt) {
4704
4718
  if (a && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < a)
4705
4719
  return;
4706
4720
  this._onDragStart(n, !0);
4707
4721
  }
4708
4722
  if (oe) {
4709
- l ? (l.e += m - (ha || 0), l.f += c - (ga || 0)) : l = {
4723
+ l ? (l.e += m - (va || 0), l.f += c - (ha || 0)) : l = {
4710
4724
  a: 1,
4711
4725
  b: 0,
4712
4726
  c: 0,
@@ -4715,7 +4729,7 @@ ae.prototype = /** @lends Sortable.prototype */
4715
4729
  f: c
4716
4730
  };
4717
4731
  var g = "matrix(".concat(l.a, ",").concat(l.b, ",").concat(l.c, ",").concat(l.d, ",").concat(l.e, ",").concat(l.f, ")");
4718
- ne(oe, "webkitTransform", g), ne(oe, "mozTransform", g), ne(oe, "msTransform", g), ne(oe, "transform", g), ha = m, ga = c, et = o;
4732
+ ne(oe, "webkitTransform", g), ne(oe, "mozTransform", g), ne(oe, "msTransform", g), ne(oe, "transform", g), va = m, ha = c, et = o;
4719
4733
  }
4720
4734
  n.cancelable && n.preventDefault();
4721
4735
  }
@@ -4726,7 +4740,7 @@ ae.prototype = /** @lends Sortable.prototype */
4726
4740
  if (Mn) {
4727
4741
  for (Ve = n; ne(Ve, "position") === "static" && ne(Ve, "transform") === "none" && Ve !== document; )
4728
4742
  Ve = Ve.parentNode;
4729
- Ve !== document.body && Ve !== document.documentElement ? (Ve === document && (Ve = lt()), t.top += Ve.scrollTop, t.left += Ve.scrollLeft) : Ve = lt(), ba = Io(Ve);
4743
+ Ve !== document.body && Ve !== document.documentElement ? (Ve === document && (Ve = lt()), t.top += Ve.scrollTop, t.left += Ve.scrollLeft) : Ve = lt(), ga = Io(Ve);
4730
4744
  }
4731
4745
  oe = Y.cloneNode(!0), We(oe, a.ghostClass, !1), We(oe, a.fallbackClass, !0), We(oe, a.dragClass, !0), ne(oe, "transition", ""), ne(oe, "transform", ""), ne(oe, "box-sizing", "border-box"), ne(oe, "margin", 0), ne(oe, "top", t.top), ne(oe, "left", t.left), ne(oe, "width", t.width), ne(oe, "height", t.height), ne(oe, "opacity", "0.8"), ne(oe, "position", Mn ? "absolute" : "fixed"), ne(oe, "zIndex", "100000"), ne(oe, "pointerEvents", "none"), ae.ghost = oe, n.appendChild(oe), ne(oe, "transform-origin", Mo / parseInt(oe.style.width) * 100 + "% " + _o / parseInt(oe.style.height) * 100 + "%");
4732
4746
  }
@@ -4739,12 +4753,12 @@ ae.prototype = /** @lends Sortable.prototype */
4739
4753
  this._onDrop();
4740
4754
  return;
4741
4755
  }
4742
- qe("setupClone", this), ae.eventCanceled || (xe = dr(Y), xe.removeAttribute("id"), xe.draggable = !1, xe.style["will-change"] = "", this._hideClone(), We(xe, this.options.chosenClass, !1), ae.clone = xe), a.cloneId = Nn(function() {
4756
+ qe("setupClone", this), ae.eventCanceled || (xe = dr(Y), xe.removeAttribute("id"), xe.draggable = !1, xe.style["will-change"] = "", this._hideClone(), We(xe, this.options.chosenClass, !1), ae.clone = xe), a.cloneId = Pn(function() {
4743
4757
  qe("clone", a), !ae.eventCanceled && (a.options.removeCloneOnHide || ke.insertBefore(xe, Y), a._hideClone(), He({
4744
4758
  sortable: a,
4745
4759
  name: "clone"
4746
4760
  }));
4747
- }), !t && We(Y, o.dragClass, !0), t ? (Wn = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (ce(document, "mouseup", a._onDrop), ce(document, "touchend", a._onDrop), ce(document, "touchcancel", a._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(a, r, Y)), fe(document, "drop", a), ne(Y, "transform", "translateZ(0)")), Pt = !0, a._dragStartId = Nn(a._dragStarted.bind(a, t, n)), fe(document, "selectstart", a), rn = !0, window.getSelection().removeAllRanges(), cn && ne(document.body, "user-select", "none");
4761
+ }), !t && We(Y, o.dragClass, !0), t ? (zn = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (ce(document, "mouseup", a._onDrop), ce(document, "touchend", a._onDrop), ce(document, "touchcancel", a._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(a, r, Y)), fe(document, "drop", a), ne(Y, "transform", "translateZ(0)")), Pt = !0, a._dragStartId = Pn(a._dragStarted.bind(a, t, n)), fe(document, "selectstart", a), rn = !0, window.getSelection().removeAllRanges(), cn && ne(document.body, "user-select", "none");
4748
4762
  },
4749
4763
  // Returns true - if no further action is needed (either inserted or another condition)
4750
4764
  _onDragOver: function(n) {
@@ -4791,17 +4805,17 @@ ae.prototype = /** @lends Sortable.prototype */
4791
4805
  if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = tt(a, s.draggable, t, !0), f("dragOver"), ae.eventCanceled) return v;
4792
4806
  if (Y.contains(n.target) || a.animated && a.animatingX && a.animatingY || E._ignoreWhileAnimating === a)
4793
4807
  return h(!1);
4794
- if (Wn = !1, u && !s.disabled && (m ? c || (l = Me !== ke) : Ye === this || (this.lastPutMode = xn.checkPull(this, u, Y, n)) && i.checkPut(this, u, Y, n))) {
4808
+ if (zn = !1, u && !s.disabled && (m ? c || (l = Me !== ke) : Ye === this || (this.lastPutMode = xn.checkPull(this, u, Y, n)) && i.checkPut(this, u, Y, n))) {
4795
4809
  if (p = this._getDirection(n, a) === "vertical", r = Re(Y), f("dragOverValid"), ae.eventCanceled) return v;
4796
4810
  if (l)
4797
4811
  return Me = ke, d(), this._hideClone(), f("revert"), ae.eventCanceled || (At ? ke.insertBefore(Y, At) : ke.appendChild(Y)), h(!0);
4798
4812
  var x = eo(t, s.draggable);
4799
- if (!x || ou(n, p, this) && !x.animated) {
4813
+ if (!x || lu(n, p, this) && !x.animated) {
4800
4814
  if (x === Y)
4801
4815
  return h(!1);
4802
4816
  if (x && t === n.target && (a = x), a && (o = Re(a)), _n(ke, t, Y, r, a, o, n, !!a) !== !1)
4803
4817
  return d(), x && x.nextSibling ? t.insertBefore(Y, x.nextSibling) : t.appendChild(Y), Me = t, C(), h(!0);
4804
- } else if (x && au(n, p, this)) {
4818
+ } else if (x && ru(n, p, this)) {
4805
4819
  var I = qt(t, 0, s, !0);
4806
4820
  if (I === Y)
4807
4821
  return h(!1);
@@ -4809,8 +4823,8 @@ ae.prototype = /** @lends Sortable.prototype */
4809
4823
  return d(), t.insertBefore(Y, I), Me = t, C(), h(!0);
4810
4824
  } else if (a.parentNode === t) {
4811
4825
  o = Re(a);
4812
- var b = 0, _, B = Y.parentNode !== t, k = !Js(Y.animated && Y.toRect || r, a.animated && a.toRect || o, p), $ = p ? "top" : "left", R = xo(a, "top", "top") || xo(Y, "top", "top"), O = R ? R.scrollTop : void 0;
4813
- Rt !== a && (_ = o[$], pn = !1, In = !k && s.invertSwap || B), b = ru(n, a, o, p, k ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, In, Rt === a);
4826
+ var b = 0, _, B = Y.parentNode !== t, k = !eu(Y.animated && Y.toRect || r, a.animated && a.toRect || o, p), $ = p ? "top" : "left", R = xo(a, "top", "top") || xo(Y, "top", "top"), O = R ? R.scrollTop : void 0;
4827
+ Rt !== a && (_ = o[$], pn = !1, In = !k && s.invertSwap || B), b = iu(n, a, o, p, k ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, In, Rt === a);
4814
4828
  var M;
4815
4829
  if (b !== 0) {
4816
4830
  var A = Je(Y);
@@ -4825,7 +4839,7 @@ ae.prototype = /** @lends Sortable.prototype */
4825
4839
  y = b === 1;
4826
4840
  var S = _n(ke, t, Y, r, a, o, n, y);
4827
4841
  if (S !== !1)
4828
- return (S === 1 || S === -1) && (y = S === 1), $a = !0, setTimeout(nu, 30), d(), y && !w ? t.appendChild(Y) : a.parentNode.insertBefore(Y, y ? w : a), R && cr(R, 0, O - R.scrollTop), Me = Y.parentNode, _ !== void 0 && !In && (Pn = Math.abs(_ - Re(a)[$])), C(), h(!0);
4842
+ return (S === 1 || S === -1) && (y = S === 1), $a = !0, setTimeout(ou, 30), d(), y && !w ? t.appendChild(Y) : a.parentNode.insertBefore(Y, y ? w : a), R && cr(R, 0, O - R.scrollTop), Me = Y.parentNode, _ !== void 0 && !In && (Rn = Math.abs(_ - Re(a)[$])), C(), h(!0);
4829
4843
  }
4830
4844
  if (t.contains(Y))
4831
4845
  return h(!1);
@@ -4848,7 +4862,7 @@ ae.prototype = /** @lends Sortable.prototype */
4848
4862
  this._nulling();
4849
4863
  return;
4850
4864
  }
4851
- Pt = !1, In = !1, pn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Fa(this.cloneId), Fa(this._dragStartId), this.nativeDraggable && (ce(document, "drop", this), ce(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), cn && ne(document.body, "user-select", ""), ne(Y, "transform", ""), n && (rn && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), oe && oe.parentNode && oe.parentNode.removeChild(oe), (ke === Me || Ye && Ye.lastPutMode !== "clone") && xe && xe.parentNode && xe.parentNode.removeChild(xe), Y && (this.nativeDraggable && ce(Y, "dragend", this), ya(Y), Y.style["will-change"] = "", rn && !Pt && We(Y, Ye ? Ye.options.ghostClass : this.options.ghostClass, !1), We(Y, this.options.chosenClass, !1), He({
4865
+ Pt = !1, In = !1, pn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Fa(this.cloneId), Fa(this._dragStartId), this.nativeDraggable && (ce(document, "drop", this), ce(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), cn && ne(document.body, "user-select", ""), ne(Y, "transform", ""), n && (rn && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), oe && oe.parentNode && oe.parentNode.removeChild(oe), (ke === Me || Ye && Ye.lastPutMode !== "clone") && xe && xe.parentNode && xe.parentNode.removeChild(xe), Y && (this.nativeDraggable && ce(Y, "dragend", this), ba(Y), Y.style["will-change"] = "", rn && !Pt && We(Y, Ye ? Ye.options.ghostClass : this.options.ghostClass, !1), We(Y, this.options.chosenClass, !1), He({
4852
4866
  sortable: this,
4853
4867
  name: "unchoose",
4854
4868
  toEl: Me,
@@ -4895,9 +4909,11 @@ ae.prototype = /** @lends Sortable.prototype */
4895
4909
  }), this.save()))), this._nulling();
4896
4910
  },
4897
4911
  _nulling: function() {
4898
- qe("nulling", this), ke = Y = Me = oe = At = xe = Rn = bt = Et = et = rn = Ke = gt = Lt = fn = Rt = mn = Ye = xn = ae.dragged = ae.ghost = ae.clone = ae.active = null, Gn.forEach(function(n) {
4899
- n.checked = !0;
4900
- }), Gn.length = ha = ga = 0;
4912
+ qe("nulling", this), ke = Y = Me = oe = At = xe = Bn = bt = Et = et = rn = Ke = gt = Lt = fn = Rt = mn = Ye = xn = ae.dragged = ae.ghost = ae.clone = ae.active = null;
4913
+ var n = this.el;
4914
+ Kn.forEach(function(t) {
4915
+ n.contains(t) && (t.checked = !0);
4916
+ }), Kn.length = va = ha = 0;
4901
4917
  },
4902
4918
  handleEvent: function(n) {
4903
4919
  switch (n.type) {
@@ -4907,7 +4923,7 @@ ae.prototype = /** @lends Sortable.prototype */
4907
4923
  break;
4908
4924
  case "dragenter":
4909
4925
  case "dragover":
4910
- Y && (this._onDragOver(n), tu(n));
4926
+ Y && (this._onDragOver(n), au(n));
4911
4927
  break;
4912
4928
  case "selectstart":
4913
4929
  n.preventDefault();
@@ -4920,7 +4936,7 @@ ae.prototype = /** @lends Sortable.prototype */
4920
4936
  */
4921
4937
  toArray: function() {
4922
4938
  for (var n = [], t, a = this.el.children, r = 0, o = a.length, l = this.options; r < o; r++)
4923
- t = a[r], tt(t, l.draggable, this.el, !1) && n.push(t.getAttribute(l.dataIdAttr) || iu(t));
4939
+ t = a[r], tt(t, l.draggable, this.el, !1) && n.push(t.getAttribute(l.dataIdAttr) || uu(t));
4924
4940
  return n;
4925
4941
  },
4926
4942
  /**
@@ -4973,7 +4989,7 @@ ae.prototype = /** @lends Sortable.prototype */
4973
4989
  var n = this.el;
4974
4990
  n[je] = null, ce(n, "mousedown", this._onTapStart), ce(n, "touchstart", this._onTapStart), ce(n, "pointerdown", this._onTapStart), this.nativeDraggable && (ce(n, "dragover", this), ce(n, "dragenter", this)), Array.prototype.forEach.call(n.querySelectorAll("[draggable]"), function(t) {
4975
4991
  t.removeAttribute("draggable");
4976
- }), this._onDrop(), this._disableDelayedDragEvents(), Kn.splice(Kn.indexOf(this.el), 1), this.el = n = null;
4992
+ }), this._onDrop(), this._disableDelayedDragEvents(), Wn.splice(Wn.indexOf(this.el), 1), this.el = n = null;
4977
4993
  },
4978
4994
  _hideClone: function() {
4979
4995
  if (!bt) {
@@ -4992,7 +5008,7 @@ ae.prototype = /** @lends Sortable.prototype */
4992
5008
  }
4993
5009
  }
4994
5010
  };
4995
- function tu(e) {
5011
+ function au(e) {
4996
5012
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
4997
5013
  }
4998
5014
  function _n(e, n, t, a, r, o, l, s) {
@@ -5002,55 +5018,55 @@ function _n(e, n, t, a, r, o, l, s) {
5002
5018
  cancelable: !0
5003
5019
  }) : (i = document.createEvent("Event"), i.initEvent("move", !0, !0)), i.to = n, i.from = e, i.dragged = t, i.draggedRect = a, i.related = r || n, i.relatedRect = o || Re(n), i.willInsertAfter = s, i.originalEvent = l, e.dispatchEvent(i), m && (c = m.call(u, i, l)), c;
5004
5020
  }
5005
- function ya(e) {
5021
+ function ba(e) {
5006
5022
  e.draggable = !1;
5007
5023
  }
5008
- function nu() {
5024
+ function ou() {
5009
5025
  $a = !1;
5010
5026
  }
5011
- function au(e, n, t) {
5027
+ function ru(e, n, t) {
5012
5028
  var a = Re(qt(t.el, 0, t.options, !0)), r = fr(t.el, t.options, oe), o = 10;
5013
5029
  return n ? e.clientX < r.left - o || e.clientY < a.top && e.clientX < a.right : e.clientY < r.top - o || e.clientY < a.bottom && e.clientX < a.left;
5014
5030
  }
5015
- function ou(e, n, t) {
5031
+ function lu(e, n, t) {
5016
5032
  var a = Re(eo(t.el, t.options.draggable)), r = fr(t.el, t.options, oe), o = 10;
5017
5033
  return n ? e.clientX > r.right + o || e.clientY > a.bottom && e.clientX > a.left : e.clientY > r.bottom + o || e.clientX > a.right && e.clientY > a.top;
5018
5034
  }
5019
- function ru(e, n, t, a, r, o, l, s) {
5035
+ function iu(e, n, t, a, r, o, l, s) {
5020
5036
  var i = a ? e.clientY : e.clientX, u = a ? t.height : t.width, m = a ? t.top : t.left, c = a ? t.bottom : t.right, g = !1;
5021
5037
  if (!l) {
5022
- if (s && Pn < u * r) {
5038
+ if (s && Rn < u * r) {
5023
5039
  if (!pn && (mn === 1 ? i > m + u * o / 2 : i < c - u * o / 2) && (pn = !0), pn)
5024
5040
  g = !0;
5025
- else if (mn === 1 ? i < m + Pn : i > c - Pn)
5041
+ else if (mn === 1 ? i < m + Rn : i > c - Rn)
5026
5042
  return -mn;
5027
5043
  } else if (i > m + u * (1 - r) / 2 && i < c - u * (1 - r) / 2)
5028
- return lu(n);
5044
+ return su(n);
5029
5045
  }
5030
5046
  return g = g || l, g && (i < m + u * o / 2 || i > c - u * o / 2) ? i > m + u / 2 ? 1 : -1 : 0;
5031
5047
  }
5032
- function lu(e) {
5048
+ function su(e) {
5033
5049
  return Je(Y) < Je(e) ? 1 : -1;
5034
5050
  }
5035
- function iu(e) {
5051
+ function uu(e) {
5036
5052
  for (var n = e.tagName + e.className + e.src + e.href + e.textContent, t = n.length, a = 0; t--; )
5037
5053
  a += n.charCodeAt(t);
5038
5054
  return a.toString(36);
5039
5055
  }
5040
- function su(e) {
5041
- Gn.length = 0;
5056
+ function cu(e) {
5057
+ Kn.length = 0;
5042
5058
  for (var n = e.getElementsByTagName("input"), t = n.length; t--; ) {
5043
5059
  var a = n[t];
5044
- a.checked && Gn.push(a);
5060
+ a.checked && Kn.push(a);
5045
5061
  }
5046
5062
  }
5047
- function Nn(e) {
5063
+ function Pn(e) {
5048
5064
  return setTimeout(e, 0);
5049
5065
  }
5050
5066
  function Fa(e) {
5051
5067
  return clearTimeout(e);
5052
5068
  }
5053
- ia && fe(document, "touchmove", function(e) {
5069
+ la && fe(document, "touchmove", function(e) {
5054
5070
  (ae.active || Pt) && e.cancelable && e.preventDefault();
5055
5071
  });
5056
5072
  ae.utils = {
@@ -5061,13 +5077,13 @@ ae.utils = {
5061
5077
  is: function(n, t) {
5062
5078
  return !!tt(n, t, n, !1);
5063
5079
  },
5064
- extend: qs,
5080
+ extend: zs,
5065
5081
  throttle: ur,
5066
5082
  closest: tt,
5067
5083
  toggleClass: We,
5068
5084
  clone: dr,
5069
5085
  index: Je,
5070
- nextTick: Nn,
5086
+ nextTick: Pn,
5071
5087
  cancelNextTick: Fa,
5072
5088
  detectDirection: pr,
5073
5089
  getChild: qt,
@@ -5088,9 +5104,9 @@ ae.mount = function() {
5088
5104
  ae.create = function(e, n) {
5089
5105
  return new ae(e, n);
5090
5106
  };
5091
- ae.version = Vs;
5092
- var Be = [], ln, Oa, Ba = !1, Sa, wa, Xn, sn;
5093
- function uu() {
5107
+ ae.version = qs;
5108
+ var Be = [], ln, Oa, Ba = !1, ya, Sa, Gn, sn;
5109
+ function du() {
5094
5110
  function e() {
5095
5111
  this.defaults = {
5096
5112
  scroll: !0,
@@ -5112,29 +5128,29 @@ function uu() {
5112
5128
  !this.options.dragOverBubble && !a.rootEl && this._handleAutoScroll(a);
5113
5129
  },
5114
5130
  drop: function() {
5115
- this.sortable.nativeDraggable ? ce(document, "dragover", this._handleAutoScroll) : (ce(document, "pointermove", this._handleFallbackAutoScroll), ce(document, "touchmove", this._handleFallbackAutoScroll), ce(document, "mousemove", this._handleFallbackAutoScroll)), Fo(), Ln(), js();
5131
+ this.sortable.nativeDraggable ? ce(document, "dragover", this._handleAutoScroll) : (ce(document, "pointermove", this._handleFallbackAutoScroll), ce(document, "touchmove", this._handleFallbackAutoScroll), ce(document, "mousemove", this._handleFallbackAutoScroll)), Fo(), Nn(), Ws();
5116
5132
  },
5117
5133
  nulling: function() {
5118
- Xn = Oa = ln = Ba = sn = Sa = wa = null, Be.length = 0;
5134
+ Gn = Oa = ln = Ba = sn = ya = Sa = null, Be.length = 0;
5119
5135
  },
5120
5136
  _handleFallbackAutoScroll: function(t) {
5121
5137
  this._handleAutoScroll(t, !0);
5122
5138
  },
5123
5139
  _handleAutoScroll: function(t, a) {
5124
5140
  var r = this, o = (t.touches ? t.touches[0] : t).clientX, l = (t.touches ? t.touches[0] : t).clientY, s = document.elementFromPoint(o, l);
5125
- if (Xn = t, a || this.options.forceAutoScrollFallback || kn || ht || cn) {
5126
- Ca(t, this.options, s, a);
5141
+ if (Gn = t, a || this.options.forceAutoScrollFallback || kn || ht || cn) {
5142
+ wa(t, this.options, s, a);
5127
5143
  var i = yt(s, !0);
5128
- Ba && (!sn || o !== Sa || l !== wa) && (sn && Fo(), sn = setInterval(function() {
5144
+ Ba && (!sn || o !== ya || l !== Sa) && (sn && Fo(), sn = setInterval(function() {
5129
5145
  var u = yt(document.elementFromPoint(o, l), !0);
5130
- u !== i && (i = u, Ln()), Ca(t, r.options, u, a);
5131
- }, 10), Sa = o, wa = l);
5146
+ u !== i && (i = u, Nn()), wa(t, r.options, u, a);
5147
+ }, 10), ya = o, Sa = l);
5132
5148
  } else {
5133
5149
  if (!this.options.bubbleScroll || yt(s, !0) === lt()) {
5134
- Ln();
5150
+ Nn();
5135
5151
  return;
5136
5152
  }
5137
- Ca(t, this.options, yt(s, !1), !1);
5153
+ wa(t, this.options, yt(s, !1), !1);
5138
5154
  }
5139
5155
  }
5140
5156
  }, pt(e, {
@@ -5142,7 +5158,7 @@ function uu() {
5142
5158
  initializeByDefault: !0
5143
5159
  });
5144
5160
  }
5145
- function Ln() {
5161
+ function Nn() {
5146
5162
  Be.forEach(function(e) {
5147
5163
  clearInterval(e.pid);
5148
5164
  }), Be = [];
@@ -5150,10 +5166,10 @@ function Ln() {
5150
5166
  function Fo() {
5151
5167
  clearInterval(sn);
5152
5168
  }
5153
- var Ca = ur(function(e, n, t, a) {
5169
+ var wa = ur(function(e, n, t, a) {
5154
5170
  if (n.scroll) {
5155
5171
  var r = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, l = n.scrollSensitivity, s = n.scrollSpeed, i = lt(), u = !1, m;
5156
- Oa !== t && (Oa = t, Ln(), ln = n.scroll, m = n.scrollFn, ln === !0 && (ln = yt(t, !0)));
5172
+ Oa !== t && (Oa = t, Nn(), ln = n.scroll, m = n.scrollFn, ln === !0 && (ln = yt(t, !0)));
5157
5173
  var c = 0, g = ln;
5158
5174
  do {
5159
5175
  var p = g, E = Re(p), v = E.top, f = E.bottom, d = E.left, h = E.right, C = E.width, x = E.height, I = void 0, b = void 0, _ = p.scrollWidth, B = p.scrollHeight, k = ne(p), $ = p.scrollLeft, R = p.scrollTop;
@@ -5163,9 +5179,9 @@ var Ca = ur(function(e, n, t, a) {
5163
5179
  for (var A = 0; A <= c; A++)
5164
5180
  Be[A] || (Be[A] = {});
5165
5181
  (Be[c].vx != O || Be[c].vy != M || Be[c].el !== p) && (Be[c].el = p, Be[c].vx = O, Be[c].vy = M, clearInterval(Be[c].pid), (O != 0 || M != 0) && (u = !0, Be[c].pid = setInterval((function() {
5166
- a && this.layer === 0 && ae.active._onTouchMove(Xn);
5182
+ a && this.layer === 0 && ae.active._onTouchMove(Gn);
5167
5183
  var w = Be[this.layer].vy ? Be[this.layer].vy * s : 0, y = Be[this.layer].vx ? Be[this.layer].vx * s : 0;
5168
- typeof m == "function" && m.call(ae.dragged.parentNode[je], y, w, e, Xn, Be[this.layer].el) !== "continue" || cr(Be[this.layer].el, y, w);
5184
+ typeof m == "function" && m.call(ae.dragged.parentNode[je], y, w, e, Gn, Be[this.layer].el) !== "continue" || cr(Be[this.layer].el, y, w);
5169
5185
  }).bind({
5170
5186
  layer: c
5171
5187
  }), 24))), c++;
@@ -5215,12 +5231,12 @@ no.prototype = {
5215
5231
  pt(no, {
5216
5232
  pluginName: "removeOnSpill"
5217
5233
  });
5218
- ae.mount(new uu());
5234
+ ae.mount(new du());
5219
5235
  ae.mount(no, to);
5220
- function cu(e, n, t = {}) {
5236
+ function fu(e, n, t = {}) {
5221
5237
  let a;
5222
5238
  const { document: r = Or, watchElement: o = !1, ...l } = t, s = { onUpdate: (v) => {
5223
- mu(n, v.oldIndex, v.newIndex, v);
5239
+ vu(n, v.oldIndex, v.newIndex, v);
5224
5240
  } }, i = V(() => typeof e == "string" ? r?.querySelector(e) : Br(e)), u = () => {
5225
5241
  a?.destroy(), a = void 0;
5226
5242
  }, m = (v) => {
@@ -5253,15 +5269,15 @@ function cu(e, n, t = {}) {
5253
5269
  option: g
5254
5270
  };
5255
5271
  }
5256
- function du(e, n, t) {
5272
+ function mu(e, n, t) {
5257
5273
  const a = e.children[t];
5258
5274
  e.insertBefore(n, a);
5259
5275
  }
5260
- function fu(e) {
5276
+ function pu(e) {
5261
5277
  e.parentNode && e.parentNode.removeChild(e);
5262
5278
  }
5263
- function mu(e, n, t, a = null) {
5264
- a != null && (fu(a.item), du(a.from, a.item, n));
5279
+ function vu(e, n, t, a = null) {
5280
+ a != null && (pu(a.item), mu(a.from, a.item, n));
5265
5281
  const r = Ra(e), o = r ? [...ro(e)] : ro(e);
5266
5282
  if (t >= 0 && t < o.length) {
5267
5283
  const l = o.splice(n, 1)[0];
@@ -5276,29 +5292,29 @@ for (let e = 0; e < 256; ++e)
5276
5292
  function yr(e, n = 0) {
5277
5293
  return (Le[e[n + 0]] + Le[e[n + 1]] + Le[e[n + 2]] + Le[e[n + 3]] + "-" + Le[e[n + 4]] + Le[e[n + 5]] + "-" + Le[e[n + 6]] + Le[e[n + 7]] + "-" + Le[e[n + 8]] + Le[e[n + 9]] + "-" + Le[e[n + 10]] + Le[e[n + 11]] + Le[e[n + 12]] + Le[e[n + 13]] + Le[e[n + 14]] + Le[e[n + 15]]).toLowerCase();
5278
5294
  }
5279
- let Da;
5280
- const pu = new Uint8Array(16);
5295
+ let Ca;
5296
+ const hu = new Uint8Array(16);
5281
5297
  function Sr() {
5282
- if (!Da) {
5298
+ if (!Ca) {
5283
5299
  if (typeof crypto > "u" || !crypto.getRandomValues)
5284
5300
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
5285
- Da = crypto.getRandomValues.bind(crypto);
5301
+ Ca = crypto.getRandomValues.bind(crypto);
5286
5302
  }
5287
- return Da(pu);
5303
+ return Ca(hu);
5288
5304
  }
5289
5305
  const tn = {};
5290
- function vu(e, n, t) {
5306
+ function gu(e, n, t) {
5291
5307
  let a;
5292
5308
  {
5293
5309
  const r = Date.now(), o = Sr();
5294
- hu(tn, r, o), a = gu(o, tn.msecs, tn.nsecs, tn.clockseq, tn.node, n, t);
5310
+ bu(tn, r, o), a = yu(o, tn.msecs, tn.nsecs, tn.clockseq, tn.node, n, t);
5295
5311
  }
5296
5312
  return n ?? yr(a);
5297
5313
  }
5298
- function hu(e, n, t) {
5314
+ function bu(e, n, t) {
5299
5315
  return e.msecs ??= -1 / 0, e.nsecs ??= 0, n === e.msecs ? (e.nsecs++, e.nsecs >= 1e4 && (e.node = void 0, e.nsecs = 0)) : n > e.msecs ? e.nsecs = 0 : n < e.msecs && (e.node = void 0), e.node || (e.node = t.slice(10, 16), e.node[0] |= 1, e.clockseq = (t[8] << 8 | t[9]) & 16383), e.msecs = n, e;
5300
5316
  }
5301
- function gu(e, n, t, a, r, o, l = 0) {
5317
+ function yu(e, n, t, a, r, o, l = 0) {
5302
5318
  if (e.length < 16)
5303
5319
  throw new Error("Random bytes length must be >= 16");
5304
5320
  if (!o)
@@ -5314,20 +5330,20 @@ function gu(e, n, t, a, r, o, l = 0) {
5314
5330
  o[l++] = r[u];
5315
5331
  return o;
5316
5332
  }
5317
- const bu = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Oo = { randomUUID: bu };
5318
- function yu(e, n, t) {
5333
+ const Su = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Oo = { randomUUID: Su };
5334
+ function wu(e, n, t) {
5319
5335
  e = e || {};
5320
5336
  const a = e.random ?? e.rng?.() ?? Sr();
5321
5337
  if (a.length < 16)
5322
5338
  throw new Error("Random bytes length must be >= 16");
5323
5339
  return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, yr(a);
5324
5340
  }
5325
- function Su(e, n, t) {
5326
- return Oo.randomUUID && !e ? Oo.randomUUID() : yu(e);
5341
+ function Cu(e, n, t) {
5342
+ return Oo.randomUUID && !e ? Oo.randomUUID() : wu(e);
5327
5343
  }
5328
- const wu = () => vu(), Ed = () => Su(), nn = "a-sortable-widget__handle", Cu = "a-sortable-widget__ghost", Du = "a-sortable-widget__drag", ku = "a-sortable-widget__chosen", Bo = "a-sortable-widget__group";
5329
- function Eu(e, n, t, a) {
5330
- const r = P(!1), o = P(null), l = P(null), s = P(wu()), i = P(null), u = P(0), m = P(t.dirty);
5344
+ const Du = () => gu(), Ad = () => Cu(), nn = "a-sortable-widget__handle", ku = "a-sortable-widget__ghost", Eu = "a-sortable-widget__drag", Tu = "a-sortable-widget__chosen", Bo = "a-sortable-widget__group";
5345
+ function Au(e, n, t, a) {
5346
+ const r = P(!1), o = P(null), l = P(null), s = P(Du()), i = P(null), u = P(0), m = P(t.dirty);
5331
5347
  function c(M, A) {
5332
5348
  return {
5333
5349
  key: M[t.keyField],
@@ -5421,7 +5437,7 @@ function Eu(e, n, t, a) {
5421
5437
  updateDataAtIndex: I
5422
5438
  };
5423
5439
  }
5424
- const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortable-widget__before" }, Mu = { class: "a-sortable-widget__content" }, _u = { class: "a-sortable-widget__after" }, $u = /* @__PURE__ */ we({
5440
+ const xu = "a-sortable-", Iu = ["id"], Mu = { key: 1 }, _u = { class: "a-sortable-widget__before" }, $u = { class: "a-sortable-widget__content" }, Fu = { class: "a-sortable-widget__after" }, Ou = /* @__PURE__ */ we({
5425
5441
  __name: "ASortable",
5426
5442
  props: {
5427
5443
  modelValue: {},
@@ -5462,14 +5478,14 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
5462
5478
  return;
5463
5479
  }
5464
5480
  r("onAddLast", null);
5465
- }, c = V(() => T(a.widgetIdentifierId) ? Tu + k.value : a.widgetIdentifierId), g = V(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
5481
+ }, c = V(() => T(a.widgetIdentifierId) ? xu + k.value : a.widgetIdentifierId), g = V(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
5466
5482
  if (a.disableDraggable || !B.value) return;
5467
5483
  const y = B.value.querySelector("." + Bo);
5468
- y && (_.value = cu(y, [], {
5484
+ y && (_.value = fu(y, [], {
5469
5485
  handle: "." + nn,
5470
- ghostClass: Cu,
5471
- dragClass: Du,
5472
- chosenClass: ku,
5486
+ ghostClass: ku,
5487
+ dragClass: Eu,
5488
+ chosenClass: Tu,
5473
5489
  onEnd: async (S) => {
5474
5490
  if (a.disableDefaultSort || T(S.oldIndex) || T(S.newIndex)) return;
5475
5491
  const D = d(S.oldIndex, S.newIndex);
@@ -5498,7 +5514,7 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
5498
5514
  addAfterIndex: M,
5499
5515
  removeByIndex: A,
5500
5516
  updateDataAtIndex: w
5501
- } = Eu(o, p, a, r);
5517
+ } = Au(o, p, a, r);
5502
5518
  return Ir(() => {
5503
5519
  x();
5504
5520
  }), ze(() => {
@@ -5522,7 +5538,7 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
5522
5538
  updateData: O,
5523
5539
  updateDataAtIndex: w
5524
5540
  }), (y, S) => {
5525
- const D = Vn("ABtnTertiary"), F = Vn("ABtnPrimary");
5541
+ const D = Un("ABtnTertiary"), F = Un("ABtnPrimary");
5526
5542
  return U(), ve("div", null, [
5527
5543
  $e("div", {
5528
5544
  id: c.value,
@@ -5532,10 +5548,10 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
5532
5548
  key: Z(v),
5533
5549
  class: nt(Z(Bo))
5534
5550
  }, [
5535
- (U(!0), ve(at, null, Un(Z(E), (H, X) => (U(), ve(at, {
5551
+ (U(!0), ve(at, null, Yn(Z(E), (H, X) => (U(), ve(at, {
5536
5552
  key: H.key
5537
5553
  }, [
5538
- e.chips ? (U(), Q(ea, {
5554
+ e.chips ? (U(), Q(Qn, {
5539
5555
  key: 0,
5540
5556
  size: e.chipSize,
5541
5557
  class: "mr-1",
@@ -5573,8 +5589,8 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
5573
5589
  ]),
5574
5590
  key: "1"
5575
5591
  } : void 0
5576
- ]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (U(), ve("div", xu, [
5577
- $e("div", Iu, [
5592
+ ]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (U(), ve("div", Mu, [
5593
+ $e("div", _u, [
5578
5594
  _e(y.$slots, "itemBefore", { item: H })
5579
5595
  ]),
5580
5596
  $e("div", {
@@ -5590,7 +5606,7 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
5590
5606
  }),
5591
5607
  icon: "mdi-drag"
5592
5608
  }, null, 8, ["class"]),
5593
- $e("div", Mu, [
5609
+ $e("div", $u, [
5594
5610
  _e(y.$slots, "item", { item: H })
5595
5611
  ]),
5596
5612
  $e("div", {
@@ -5673,13 +5689,13 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
5673
5689
  ])
5674
5690
  ], 2)
5675
5691
  ], 2),
5676
- $e("div", _u, [
5692
+ $e("div", Fu, [
5677
5693
  _e(y.$slots, "itemAfter", { item: H })
5678
5694
  ])
5679
5695
  ]))
5680
5696
  ], 64))), 128))
5681
5697
  ], 2))
5682
- ], 10, Au),
5698
+ ], 10, Iu),
5683
5699
  _e(y.$slots, "add-last-activator", {
5684
5700
  props: { onClick: Ee(() => m(), ["stop"]) }
5685
5701
  }, () => [
@@ -5744,7 +5760,7 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
5744
5760
  };
5745
5761
  }
5746
5762
  });
5747
- function Fu() {
5763
+ function Bu() {
5748
5764
  return {
5749
5765
  createDefaultUserAdminConfig: (n) => ({
5750
5766
  id: 0,
@@ -5756,8 +5772,8 @@ function Fu() {
5756
5772
  defaultConfig: !1,
5757
5773
  data: [],
5758
5774
  position: 0,
5759
- createdAt: Ia(),
5760
- modifiedAt: Ia(),
5775
+ createdAt: xa(),
5776
+ modifiedAt: xa(),
5761
5777
  createdBy: null,
5762
5778
  modifiedBy: null,
5763
5779
  _resourceName: "userAdminConfig",
@@ -5765,19 +5781,19 @@ function Fu() {
5765
5781
  })
5766
5782
  };
5767
5783
  }
5768
- const Ou = {
5784
+ const Ru = {
5769
5785
  key: 0,
5770
5786
  class: "w-100 pt-4"
5771
- }, Bu = {
5787
+ }, Pu = {
5772
5788
  key: 1,
5773
5789
  class: "w-100 pt-4"
5774
- }, Ru = {
5790
+ }, Nu = {
5775
5791
  key: 0,
5776
5792
  class: "d-flex w-100 align-center justify-center"
5777
- }, Pu = { key: 1 }, Nu = {
5793
+ }, Lu = { key: 1 }, Yu = {
5778
5794
  key: 0,
5779
5795
  class: "d-flex align-center justify-end"
5780
- }, Lu = /* @__PURE__ */ we({
5796
+ }, Uu = /* @__PURE__ */ we({
5781
5797
  __name: "FilterBookmarkDialog",
5782
5798
  props: {
5783
5799
  client: {},
@@ -5796,12 +5812,12 @@ const Ou = {
5796
5812
  required: f,
5797
5813
  maxLength: d(100)
5798
5814
  }
5799
- }, C = Hn(h, { customName: i }, { $stopPropagation: !0 }), x = {
5815
+ }, C = Vn(h, { customName: i }, { $stopPropagation: !0 }), x = {
5800
5816
  itemEdit: {
5801
5817
  required: f,
5802
5818
  maxLength: d(100)
5803
5819
  }
5804
- }, I = Hn(x, { itemEdit: v }, { $stopPropagation: !0 }), b = ar(), {
5820
+ }, I = Vn(x, { itemEdit: v }, { $stopPropagation: !0 }), b = ar(), {
5805
5821
  createUserAdminConfig: _,
5806
5822
  useFetchUserAdminConfigList: B,
5807
5823
  updateUserAdminConfigPositions: k,
@@ -5810,7 +5826,7 @@ const Ou = {
5810
5826
  } = (
5811
5827
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
5812
5828
  or(t.client, t.system)
5813
- ), { t: O } = Ne(), { showErrorsDefault: M, showValidationError: A, showWarningT: w } = oa(), { createDefaultUserAdminConfig: y } = Fu(), S = async () => {
5829
+ ), { t: O } = Ne(), { showErrorsDefault: M, showValidationError: A, showWarningT: w } = aa(), { createDefaultUserAdminConfig: y } = Bu(), S = async () => {
5814
5830
  c.value = !0;
5815
5831
  const W = E.value.map((me) => me.id);
5816
5832
  try {
@@ -5821,7 +5837,7 @@ const Ou = {
5821
5837
  }, { serializeFilters: D } = tr(o, r), F = t.system + "_" + t.subject, H = async () => {
5822
5838
  c.value = !0, p.value = !1;
5823
5839
  const q = y(t.system);
5824
- q.user = t.user, q.configType = jn.FilterBookmark, q.layoutType = It.Desktop, q.systemResource = F, q.customName = i.value, q.data = {
5840
+ q.user = t.user, q.configType = qn.FilterBookmark, q.layoutType = It.Desktop, q.systemResource = F, q.customName = i.value, q.data = {
5825
5841
  filter: D(o, l, !1),
5826
5842
  datatableHiddenColumns: u.value && t.datatableHiddenColumns ? t.datatableHiddenColumns : void 0,
5827
5843
  sortBy: m.value && l.value.sortBy ? l.value.sortBy : void 0
@@ -5835,7 +5851,7 @@ const Ou = {
5835
5851
  },
5836
5852
  B
5837
5853
  );
5838
- if (W >= _a) {
5854
+ if (W >= Ma) {
5839
5855
  p.value = !0, c.value = !1;
5840
5856
  return;
5841
5857
  }
@@ -5908,7 +5924,7 @@ const Ou = {
5908
5924
  return Te(s, () => {
5909
5925
  p.value = !1, s.value === "manage" && te();
5910
5926
  }), (q, W) => {
5911
- const me = Vn("ABtnTertiary"), K = Vn("ABtnPrimary");
5927
+ const me = Un("ABtnTertiary"), K = Un("ABtnPrimary");
5912
5928
  return U(), Q(Yo, {
5913
5929
  "model-value": !0,
5914
5930
  width: 500
@@ -5947,7 +5963,7 @@ const Ou = {
5947
5963
  ]),
5948
5964
  _: 1
5949
5965
  }, 8, ["modelValue"]),
5950
- s.value === "add" ? (U(), ve("div", Ou, [
5966
+ s.value === "add" ? (U(), ve("div", Ru, [
5951
5967
  N(Qt, {
5952
5968
  title: Z(O)("common.filter.bookmark.infoSave")
5953
5969
  }, null, 8, ["title"]),
@@ -5988,10 +6004,10 @@ const Ou = {
5988
6004
  ]),
5989
6005
  _: 1
5990
6006
  })
5991
- ])) : s.value === "manage" ? (U(), ve("div", Bu, [
5992
- g.value ? (U(), ve("div", Ru, [
6007
+ ])) : s.value === "manage" ? (U(), ve("div", Pu, [
6008
+ g.value ? (U(), ve("div", Nu, [
5993
6009
  N(Uo, { indeterminate: "" })
5994
- ])) : (U(), Q($u, {
6010
+ ])) : (U(), Q(Ou, {
5995
6011
  key: 1,
5996
6012
  modelValue: E.value,
5997
6013
  "onUpdate:modelValue": W[7] || (W[7] = (J) => E.value = J),
@@ -6010,14 +6026,14 @@ const Ou = {
6010
6026
  "onUpdate:modelValue": W[5] || (W[5] = (le) => v.value.customName = le),
6011
6027
  "hide-details": "auto",
6012
6028
  v: Z(I)
6013
- }, null, 8, ["modelValue", "v"])) : (U(), ve("div", Pu, ye(J.raw.customName), 1))
6029
+ }, null, 8, ["modelValue", "v"])) : (U(), ve("div", Lu, ye(J.raw.customName), 1))
6014
6030
  ]),
6015
6031
  _: 2
6016
6032
  }, [
6017
6033
  Z(G)(v.value) ? void 0 : {
6018
6034
  name: "item-buttons",
6019
6035
  fn: L(({ item: J }) => [
6020
- v.value && v.value.id === J.raw.id ? (U(), ve("div", Nu, [
6036
+ v.value && v.value.id === J.raw.id ? (U(), ve("div", Yu, [
6021
6037
  N(Ue, {
6022
6038
  icon: "",
6023
6039
  size: "x-small",
@@ -6094,7 +6110,7 @@ const Ou = {
6094
6110
  });
6095
6111
  };
6096
6112
  }
6097
- }), Yu = /* @__PURE__ */ we({
6113
+ }), Vu = /* @__PURE__ */ we({
6098
6114
  __name: "AFilterBookmarkButton",
6099
6115
  props: /* @__PURE__ */ wt({
6100
6116
  client: {},
@@ -6141,7 +6157,7 @@ const Ou = {
6141
6157
  ]),
6142
6158
  _: 1
6143
6159
  }, 8, ["class", "data-cy"]),
6144
- n.value ? (U(), Q(Lu, {
6160
+ n.value ? (U(), Q(Uu, {
6145
6161
  key: 0,
6146
6162
  client: e.client,
6147
6163
  system: e.system,
@@ -6152,10 +6168,10 @@ const Ou = {
6152
6168
  }, null, 8, ["client", "system", "user", "subject", "datatable-hidden-columns"])) : be("", !0)
6153
6169
  ], 64));
6154
6170
  }
6155
- }), Uu = { class: "subject-select-filter__content px-2 py-4" }, Vu = { class: "d-flex flex-wrap align-center" }, Hu = {
6171
+ }), Hu = { class: "subject-select-filter__content px-2 py-4" }, qu = { class: "d-flex flex-wrap align-center" }, ju = {
6156
6172
  key: 0,
6157
6173
  class: "subject-select-filter__actions"
6158
- }, Td = /* @__PURE__ */ we({
6174
+ }, xd = /* @__PURE__ */ we({
6159
6175
  __name: "AFilterWrapperSubjectSelect",
6160
6176
  props: /* @__PURE__ */ wt({
6161
6177
  hideButtons: { type: Boolean, default: !1 },
@@ -6206,13 +6222,13 @@ const Ou = {
6206
6222
  onSubmit: Ee(c, ["prevent"])
6207
6223
  }, {
6208
6224
  default: L(() => [
6209
- $e("div", Uu, [
6225
+ $e("div", Hu, [
6210
6226
  _e(h.$slots, "bookmarks", {}, () => [
6211
- N(Ea, { dense: "" }, {
6227
+ N(ka, { dense: "" }, {
6212
6228
  default: L(() => [
6213
- e.store && e.userId && Z(he)(e.client) ? (U(), Q(Ta, { key: 0 }, {
6229
+ e.store && e.userId && Z(he)(e.client) ? (U(), Q(Ea, { key: 0 }, {
6214
6230
  default: L(() => [
6215
- $e("div", Vu, [
6231
+ $e("div", qu, [
6216
6232
  i.value.system && i.value.subject && e.userId && Z(he)(e.client) ? (U(), Q(Ns, {
6217
6233
  key: 0,
6218
6234
  "datatable-hidden-columns": o.value,
@@ -6232,9 +6248,9 @@ const Ou = {
6232
6248
  })
6233
6249
  ]),
6234
6250
  _e(h.$slots, "detail", {}, () => [
6235
- N(Ea, null, {
6251
+ N(ka, null, {
6236
6252
  default: L(() => [
6237
- (U(!0), ve(at, null, Un(d.value, (x) => (U(), Q(Ta, {
6253
+ (U(!0), ve(at, null, Yn(d.value, (x) => (U(), Q(Ea, {
6238
6254
  key: x,
6239
6255
  cols: Z(l).fields[x].render.xs || 12,
6240
6256
  sm: Z(l).fields[x].render.sm || 12,
@@ -6256,11 +6272,11 @@ const Ou = {
6256
6272
  })
6257
6273
  ])
6258
6274
  ]),
6259
- e.hideButtons ? be("", !0) : (U(), ve("div", Hu, [
6275
+ e.hideButtons ? be("", !0) : (U(), ve("div", ju, [
6260
6276
  _e(h.$slots, "buttons", {}, () => [
6261
6277
  N(Ti, { touched: f.value }, null, 8, ["touched"]),
6262
6278
  N(Ai, { onReset: v }),
6263
- i.value.system && i.value.subject && e.userId && Z(he)(e.client) ? (U(), Q(Yu, {
6279
+ i.value.system && i.value.subject && e.userId && Z(he)(e.client) ? (U(), Q(Vu, {
6264
6280
  key: 0,
6265
6281
  client: e.client,
6266
6282
  user: e.userId,
@@ -6274,15 +6290,15 @@ const Ou = {
6274
6290
  _: 3
6275
6291
  }, 8, ["name"]));
6276
6292
  }
6277
- }), Ad = (e, n, t = {}, a, r, o = {}) => new Promise((l, s) => {
6293
+ }), Id = (e, n, t = {}, a, r, o = {}) => new Promise((l, s) => {
6278
6294
  e().delete(Cn(n, t), o).then((i) => Dn(i.status) ? i.data ? l(i.data) : i.status === Wt ? l(null) : s(new ot()) : s(new Xt(i.status))).catch((i) => bn(i) ? s(new Kt(i, i.config?.url)) : yn(i) ? s(new Gt(i, a, r, i)) : wn(i) ? s(new Jt(i, a, r, i)) : Sn(i) ? s(new Zt(i, i)) : s(new ot(i)));
6279
- }), qu = {
6295
+ }), zu = {
6280
6296
  key: 0,
6281
6297
  class: "font-italic pl-1"
6282
- }, ju = {
6298
+ }, Wu = {
6283
6299
  key: 0,
6284
6300
  class: "required"
6285
- }, zu = 300, xd = /* @__PURE__ */ we({
6301
+ }, Ku = 300, Md = /* @__PURE__ */ we({
6286
6302
  __name: "AFormRemoteAutocomplete",
6287
6303
  props: /* @__PURE__ */ wt({
6288
6304
  label: { default: void 0 },
@@ -6320,7 +6336,7 @@ const Ou = {
6320
6336
  }),
6321
6337
  emits: /* @__PURE__ */ wt(["searchChange", "searchChangeDebounced", "blur", "focus", "click:chipClose"], ["update:modelValue", "update:selected"]),
6322
6338
  setup(e, { expose: n, emit: t }) {
6323
- const a = e, r = t, o = ee(Ja), l = ee(Za), s = Jn()?.type.__name;
6339
+ const a = e, r = t, o = ee(Ja), l = ee(Za), s = Zn()?.type.__name;
6324
6340
  if (T(o) || T(l))
6325
6341
  throw new Error(`[${s}] Incorrect provide/inject config.`);
6326
6342
  const i = a.filterByField, u = a.filterSortBy;
@@ -6341,7 +6357,7 @@ const Ou = {
6341
6357
  }), v = P(() => {
6342
6358
  }), f = P(null);
6343
6359
  if (g.value.enabled && he(a.collab)) {
6344
- const { releaseCollabFieldLock: j, changeCollabFieldData: se, acquireCollabFieldLock: ge, lockedByUser: pe } = aa(
6360
+ const { releaseCollabFieldLock: j, changeCollabFieldData: se, acquireCollabFieldLock: ge, lockedByUser: pe } = na(
6345
6361
  a.collab.room,
6346
6362
  a.collab.field
6347
6363
  );
@@ -6402,7 +6418,7 @@ const Ou = {
6402
6418
  } catch (pe) {
6403
6419
  Se(pe);
6404
6420
  }
6405
- }, { showErrorsDefault: Se } = oa(), z = async (j, se) => {
6421
+ }, { showErrorsDefault: Se } = aa(), z = async (j, se) => {
6406
6422
  F.value = !0, l[i] = j;
6407
6423
  try {
6408
6424
  const ge = await a.fetchItems(M, l, o);
@@ -6417,7 +6433,7 @@ const Ou = {
6417
6433
  F.value = !0;
6418
6434
  try {
6419
6435
  const ge = await a.fetchItems(M, l, o);
6420
- x.value === 0 && (A.value = ge, !a.disableAutoSingleSelect && ge.length === 1 && (G(se) || T(se) || ue(se) && se.length === 0) && (m.value = a.multiple ? [ge[0].value] : ge[0].value)), S.value = !0;
6436
+ x.value === 0 && (A.value = ge, !a.disableAutoSingleSelect && j === "mounted" && ge.length === 1 && (G(se) || T(se) || ue(se) && se.length === 0) && (m.value = a.multiple ? [ge[0].value] : ge[0].value)), S.value = !0;
6421
6437
  } finally {
6422
6438
  F.value = !1;
6423
6439
  }
@@ -6460,7 +6476,7 @@ const Ou = {
6460
6476
  x.value++, z(j, x.value), r("searchChangeDebounced", j);
6461
6477
  }
6462
6478
  },
6463
- { debounce: zu }
6479
+ { debounce: Ku }
6464
6480
  ), Te(d, (j, se) => {
6465
6481
  j !== se && r("searchChange", j);
6466
6482
  });
@@ -6495,7 +6511,7 @@ const Ou = {
6495
6511
  { immediate: !0 }
6496
6512
  ), n({
6497
6513
  tryLoadModelValue: Ce
6498
- }), (j, se) => (U(), Q(Qn, {
6514
+ }), (j, se) => (U(), Q(Jn, {
6499
6515
  "model-value": C.value,
6500
6516
  items: D.value,
6501
6517
  "no-filter": "",
@@ -6526,7 +6542,7 @@ const Ou = {
6526
6542
  }), null, 16, ["title", "subtitle"])
6527
6543
  ]),
6528
6544
  chip: L(({ props: ge, item: pe }) => [
6529
- N(ea, {
6545
+ N(Qn, {
6530
6546
  closable: ge.closable,
6531
6547
  size: "small",
6532
6548
  text: `${pe.title} (${pe.raw.subtitle})`,
@@ -6535,7 +6551,7 @@ const Ou = {
6535
6551
  }, {
6536
6552
  default: L(() => [
6537
6553
  Oe(ye(pe.raw.title) + " ", 1),
6538
- pe.raw.subtitle ? (U(), ve("span", qu, " (" + ye(pe.raw.subtitle) + ") ", 1)) : be("", !0)
6554
+ pe.raw.subtitle ? (U(), ve("span", zu, " (" + ye(pe.raw.subtitle) + ") ", 1)) : be("", !0)
6539
6555
  ]),
6540
6556
  _: 2
6541
6557
  }, 1032, ["closable", "text", "disabled", "onClick:close"])
@@ -6545,7 +6561,7 @@ const Ou = {
6545
6561
  key: R.value + ""
6546
6562
  }, [
6547
6563
  Oe(ye($.value) + " ", 1),
6548
- R.value ? (U(), ve("span", ju)) : be("", !0)
6564
+ R.value ? (U(), ve("span", Wu)) : be("", !0)
6549
6565
  ]))
6550
6566
  ]),
6551
6567
  _: 2
@@ -6554,7 +6570,7 @@ const Ou = {
6554
6570
  name: "append-inner",
6555
6571
  fn: L(() => [
6556
6572
  _e(j.$slots, "locked", { userId: f.value }, () => [
6557
- e.collab ? (U(), Q(na, {
6573
+ e.collab ? (U(), Q(ta, {
6558
6574
  key: 0,
6559
6575
  id: f.value,
6560
6576
  users: e.collab.cachedUsers
@@ -6579,66 +6595,66 @@ export {
6579
6595
  Ti as B,
6580
6596
  on as C,
6581
6597
  Ai as D,
6582
- vd as E,
6583
- gd as F,
6598
+ gd as E,
6599
+ yd as F,
6584
6600
  er as G,
6585
- Ia as H,
6586
- wc as I,
6601
+ xa as H,
6602
+ Dc as I,
6587
6603
  Ol as J,
6588
6604
  xi as K,
6589
6605
  Ml as L,
6590
- Fc as M,
6591
- Pc as N,
6592
- Bc as O,
6593
- Rc as P,
6594
- Yc as Q,
6595
- Nc as R,
6606
+ Bc as M,
6607
+ Lc as N,
6608
+ Pc as O,
6609
+ Nc as P,
6610
+ Vc as Q,
6611
+ Yc as R,
6596
6612
  Va as S,
6597
- Lc as T,
6598
- Uc as U,
6599
- Oc as V,
6600
- sa as W,
6601
- jc as X,
6602
- zc as Y,
6603
- Hc as Z,
6613
+ Uc as T,
6614
+ Hc as U,
6615
+ Rc as V,
6616
+ ia as W,
6617
+ Wc as X,
6618
+ Kc as Y,
6619
+ jc as Z,
6604
6620
  Vo as _,
6605
- aa as a,
6621
+ na as a,
6606
6622
  ei as a$,
6607
6623
  _l as a0,
6608
6624
  De as a1,
6609
- _c as a2,
6610
- $c as a3,
6625
+ Fc as a2,
6626
+ Oc as a3,
6611
6627
  so as a4,
6612
- bd as a5,
6628
+ Sd as a5,
6613
6629
  ws as a6,
6614
6630
  Gl as a7,
6615
6631
  bn as a8,
6616
6632
  Kt as a9,
6617
- Dd as aA,
6618
- kd as aB,
6633
+ Ed as aA,
6634
+ Td as aB,
6619
6635
  ks as aC,
6620
6636
  Ds as aD,
6621
6637
  rt as aE,
6622
6638
  ct as aF,
6623
6639
  tr as aG,
6624
- Td as aH,
6640
+ xd as aH,
6625
6641
  Xa as aI,
6626
6642
  Xl as aJ,
6627
6643
  fi as aK,
6628
6644
  po as aL,
6629
- wu as aM,
6630
- Tu as aN,
6631
- cu as aO,
6632
- Ad as aP,
6633
- Xc as aQ,
6634
- kc as aR,
6645
+ Du as aM,
6646
+ xu as aN,
6647
+ fu as aO,
6648
+ Id as aP,
6649
+ Jc as aQ,
6650
+ Tc as aR,
6635
6651
  nn as aS,
6636
6652
  Bo as aT,
6637
- ku as aU,
6638
- Du as aV,
6639
- Cu as aW,
6653
+ Tu as aU,
6654
+ Eu as aV,
6655
+ ku as aW,
6640
6656
  xs as aX,
6641
- Qc as aY,
6657
+ td as aY,
6642
6658
  ja as aZ,
6643
6659
  Xo as a_,
6644
6660
  yn as aa,
@@ -6657,81 +6673,81 @@ export {
6657
6673
  Jt as an,
6658
6674
  ys as ao,
6659
6675
  bs as ap,
6660
- wd as aq,
6676
+ Dd as aq,
6661
6677
  hn as ar,
6662
- Zc as as,
6678
+ Qc as as,
6663
6679
  Dt as at,
6664
6680
  Ka as au,
6665
6681
  ie as av,
6666
- Jc as aw,
6682
+ ed as aw,
6667
6683
  Ja as ax,
6668
6684
  Za as ay,
6669
- Cd as az,
6685
+ kd as az,
6670
6686
  an as b,
6671
6687
  za as b$,
6672
6688
  Kl as b0,
6673
- Tc as b1,
6674
- ed as b2,
6675
- Wc as b3,
6689
+ xc as b1,
6690
+ nd as b2,
6691
+ Gc as b3,
6676
6692
  Dl as b4,
6677
6693
  El as b5,
6678
6694
  co as b6,
6679
6695
  Tn as b7,
6680
6696
  uo as b8,
6681
6697
  Ii as b9,
6682
- fd as bA,
6683
- Ed as bB,
6698
+ pd as bA,
6699
+ Ad as bB,
6684
6700
  As as bC,
6685
- td as bD,
6686
- nd as bE,
6701
+ ad as bD,
6702
+ od as bE,
6687
6703
  Jl as bF,
6688
- ad as bG,
6704
+ rd as bG,
6689
6705
  qa as bH,
6690
6706
  zo as bI,
6691
- Vc as bJ,
6707
+ qc as bJ,
6692
6708
  Wo as bK,
6693
- qc as bL,
6709
+ zc as bL,
6694
6710
  Fl as bM,
6695
6711
  ri as bN,
6696
6712
  ni as bO,
6697
6713
  si as bP,
6698
6714
  kt as bQ,
6699
6715
  vt as bR,
6700
- yd as bS,
6701
- Sd as bT,
6702
- md as bU,
6716
+ wd as bS,
6717
+ Cd as bT,
6718
+ vd as bU,
6703
6719
  xt as bV,
6704
6720
  Ns as bW,
6705
- Yu as bX,
6721
+ Vu as bX,
6706
6722
  _s as bY,
6707
6723
  nr as bZ,
6708
6724
  Zo as b_,
6709
- xd as ba,
6725
+ Md as ba,
6710
6726
  wo as bb,
6711
- $u as bc,
6712
- Kc as bd,
6713
- pd as be,
6714
- hd as bf,
6715
- Ec as bg,
6716
- Ac as bh,
6717
- Ic as bi,
6718
- Mc as bj,
6727
+ Ou as bc,
6728
+ Xc as bd,
6729
+ hd as be,
6730
+ bd as bf,
6731
+ Ac as bg,
6732
+ Ic as bh,
6733
+ _c as bi,
6734
+ $c as bj,
6719
6735
  sl as bk,
6720
- xc as bl,
6736
+ Mc as bl,
6721
6737
  jo as bm,
6722
- ra as bn,
6723
- la as bo,
6724
- rd as bp,
6725
- id as bq,
6726
- ld as br,
6727
- ud as bs,
6738
+ oa as bn,
6739
+ ra as bo,
6740
+ id as bp,
6741
+ ud as bq,
6742
+ sd as br,
6743
+ dd as bs,
6728
6744
  Di as bt,
6729
- Ma as bu,
6730
- od as bv,
6745
+ Ia as bu,
6746
+ ld as bv,
6731
6747
  Ci as bw,
6732
- sd as bx,
6733
- cd as by,
6734
- dd as bz,
6748
+ cd as bx,
6749
+ fd as by,
6750
+ md as bz,
6735
6751
  Ha as c,
6736
6752
  Wa as c0,
6737
6753
  gs as c1,
@@ -6741,33 +6757,33 @@ export {
6741
6757
  Ms as c5,
6742
6758
  en as c6,
6743
6759
  or as c7,
6744
- jn as c8,
6760
+ qn as c8,
6745
6761
  $s as c9,
6746
6762
  It as ca,
6747
6763
  Fs as cb,
6748
- Fu as cc,
6764
+ Bu as cc,
6749
6765
  T as d,
6750
- na as e,
6766
+ ta as e,
6751
6767
  Ht as f,
6752
6768
  Ie as g,
6753
6769
  G as h,
6754
6770
  he as i,
6755
6771
  mt as j,
6756
- Gc as k,
6772
+ Zc as k,
6757
6773
  Ko as l,
6758
- oa as m,
6774
+ aa as m,
6759
6775
  ki as n,
6760
6776
  Qt as o,
6761
6777
  ue as p,
6762
6778
  gn as q,
6763
6779
  un as r,
6764
6780
  vn as s,
6765
- Aa as t,
6781
+ Ta as t,
6766
6782
  zt as u,
6767
- Dc as v,
6768
- Cc as w,
6783
+ Ec as v,
6784
+ kc as w,
6769
6785
  Fe as x,
6770
6786
  Ho as y,
6771
6787
  il as z
6772
6788
  };
6773
- //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-lX9utxPk.mjs.map
6789
+ //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DWXEGI77.mjs.map