bt-core-app 1.4.22 → 1.4.23

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,12 +1,12 @@
1
1
  import { onMounted as jr, nextTick as nr, computed as le, watch as Ee, unref as xn, getCurrentInstance as Gr, getCurrentScope as xt, onScopeDispose as Nt, ref as Z, readonly as Nn, customRef as Tn, shallowRef as xe, onUpdated as Cn, toValue as K, inject as qr, hasInjectionContext as Pn, reactive as Ln, markRaw as We, effectScope as Mn, isRef as qe, isReactive as Hr, toRef as tr, toRaw as Rn, toRefs as lt } from "vue";
2
2
  import { DateTime as ie } from "luxon";
3
- function Un(e, t) {
3
+ function Un(e, r) {
4
4
  let n, l, s;
5
5
  const h = Z(!0), A = () => {
6
6
  h.value = !0, s();
7
7
  };
8
8
  Ee(e, A, { flush: "sync" });
9
- const E = typeof t == "function" ? t : t.get, T = typeof t == "function" ? void 0 : t.set, L = Tn((R, y) => (l = R, s = y, {
9
+ const E = typeof r == "function" ? r : r.get, T = typeof r == "function" ? void 0 : r.set, L = Tn((R, y) => (l = R, s = y, {
10
10
  get() {
11
11
  return h.value && (n = E(), h.value = !1), l(), n;
12
12
  },
@@ -26,24 +26,24 @@ const $n = typeof window < "u" && typeof document < "u";
26
26
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
27
27
  const Fn = Object.prototype.toString, kn = (e) => Fn.call(e) === "[object Object]", Nr = () => {
28
28
  };
29
- function Vn(e, t) {
29
+ function Vn(e, r) {
30
30
  function n(...l) {
31
31
  return new Promise((s, h) => {
32
- Promise.resolve(e(() => t.apply(this, l), { fn: t, thisArg: this, args: l })).then(s).catch(h);
32
+ Promise.resolve(e(() => r.apply(this, l), { fn: r, thisArg: this, args: l })).then(s).catch(h);
33
33
  });
34
34
  }
35
35
  return n;
36
36
  }
37
37
  const Tt = (e) => e();
38
- function Wn(e, t = {}) {
38
+ function Wn(e, r = {}) {
39
39
  let n, l, s = Nr;
40
40
  const h = (E) => {
41
41
  clearTimeout(E), s(), s = Nr;
42
42
  };
43
43
  return (E) => {
44
- const T = ae(e), L = ae(t.maxWait);
44
+ const T = ae(e), L = ae(r.maxWait);
45
45
  return n && h(n), T <= 0 || L !== void 0 && L <= 0 ? (l && (h(l), l = null), Promise.resolve(E())) : new Promise((R, y) => {
46
- s = t.rejectOnCancel ? y : R, L && !l && (l = setTimeout(() => {
46
+ s = r.rejectOnCancel ? y : R, L && !l && (l = setTimeout(() => {
47
47
  n && h(n), l = null, R(E());
48
48
  }, L)), n = setTimeout(() => {
49
49
  l && h(l), l = null, R(E());
@@ -52,22 +52,22 @@ function Wn(e, t = {}) {
52
52
  };
53
53
  }
54
54
  function jn(e = Tt) {
55
- const t = Z(!0);
55
+ const r = Z(!0);
56
56
  function n() {
57
- t.value = !1;
57
+ r.value = !1;
58
58
  }
59
59
  function l() {
60
- t.value = !0;
60
+ r.value = !0;
61
61
  }
62
62
  const s = (...h) => {
63
- t.value && e(...h);
63
+ r.value && e(...h);
64
64
  };
65
- return { isActive: Nn(t), pause: n, resume: l, eventFilter: s };
65
+ return { isActive: Nn(r), pause: n, resume: l, eventFilter: s };
66
66
  }
67
67
  function Gn(e) {
68
68
  return e || Gr();
69
69
  }
70
- function Ct(e, t, n = {}) {
70
+ function Ct(e, r, n = {}) {
71
71
  const {
72
72
  eventFilter: l = Tt,
73
73
  ...s
@@ -76,35 +76,35 @@ function Ct(e, t, n = {}) {
76
76
  e,
77
77
  Vn(
78
78
  l,
79
- t
79
+ r
80
80
  ),
81
81
  s
82
82
  );
83
83
  }
84
- function qn(e, t, n = {}) {
84
+ function qn(e, r, n = {}) {
85
85
  const {
86
86
  eventFilter: l,
87
87
  ...s
88
88
  } = n, { eventFilter: h, pause: A, resume: E, isActive: T } = jn(l);
89
89
  return { stop: Ct(
90
90
  e,
91
- t,
91
+ r,
92
92
  {
93
93
  ...s,
94
94
  eventFilter: h
95
95
  }
96
96
  ), pause: A, resume: E, isActive: T };
97
97
  }
98
- function zr(e, t = !0, n) {
99
- Gn() ? jr(e, n) : t ? e() : nr(e);
98
+ function zr(e, r = !0, n) {
99
+ Gn() ? jr(e, n) : r ? e() : nr(e);
100
100
  }
101
- function Hn(e, t) {
102
- return e === t;
101
+ function Hn(e, r) {
102
+ return e === r;
103
103
  }
104
104
  function ct(...e) {
105
- var t;
105
+ var r;
106
106
  const n = e[0], l = e[1];
107
- let s = (t = e[2]) != null ? t : Hn;
107
+ let s = (r = e[2]) != null ? r : Hn;
108
108
  if (typeof s == "string") {
109
109
  const h = s;
110
110
  s = (A, E) => A[h] === E[h];
@@ -114,16 +114,16 @@ function ct(...e) {
114
114
  function zn(e) {
115
115
  return Array.from(new Set(e));
116
116
  }
117
- function Zn(e, t) {
118
- return e.reduce((n, l) => (n.some((s) => t(l, s, e)) || n.push(l), n), []);
117
+ function Zn(e, r) {
118
+ return e.reduce((n, l) => (n.some((s) => r(l, s, e)) || n.push(l), n), []);
119
119
  }
120
- function Yn(e, t) {
120
+ function Yn(e, r) {
121
121
  return le(() => {
122
122
  const n = ae(e).map((l) => ae(l));
123
- return t ? Zn(n, t) : zn(n);
123
+ return r ? Zn(n, r) : zn(n);
124
124
  });
125
125
  }
126
- function Pt(e, t, n) {
126
+ function Pt(e, r, n) {
127
127
  let l = n != null && n.immediate ? [] : [...e instanceof Function ? e() : Array.isArray(e) ? e : ae(e)];
128
128
  return Ee(e, (s, h, A) => {
129
129
  const E = Array.from({ length: l.length }), T = [];
@@ -137,10 +137,10 @@ function Pt(e, t, n) {
137
137
  y || T.push(R);
138
138
  }
139
139
  const L = l.filter((R, y) => !E[y]);
140
- t(s, l, T, L, A), l = [...s];
140
+ r(s, l, T, L, A), l = [...s];
141
141
  }, n);
142
142
  }
143
- function Jn(e, t, n = {}) {
143
+ function Jn(e, r, n = {}) {
144
144
  const {
145
145
  debounce: l = 0,
146
146
  maxWait: s = void 0,
@@ -148,7 +148,7 @@ function Jn(e, t, n = {}) {
148
148
  } = n;
149
149
  return Ct(
150
150
  e,
151
- t,
151
+ r,
152
152
  {
153
153
  ...h,
154
154
  eventFilter: Wn(l, { maxWait: s })
@@ -156,26 +156,26 @@ function Jn(e, t, n = {}) {
156
156
  );
157
157
  }
158
158
  function Zr(e) {
159
- var t;
159
+ var r;
160
160
  const n = ae(e);
161
- return (t = n == null ? void 0 : n.$el) != null ? t : n;
161
+ return (r = n == null ? void 0 : n.$el) != null ? r : n;
162
162
  }
163
163
  const Tr = $n ? window : void 0;
164
164
  function oe(...e) {
165
- let t, n, l, s;
166
- if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, l, s] = e, t = Tr) : [t, n, l, s] = e, !t)
165
+ let r, n, l, s;
166
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, l, s] = e, r = Tr) : [r, n, l, s] = e, !r)
167
167
  return Nr;
168
168
  Array.isArray(n) || (n = [n]), Array.isArray(l) || (l = [l]);
169
169
  const h = [], A = () => {
170
170
  h.forEach((R) => R()), h.length = 0;
171
171
  }, E = (R, y, c, o) => (R.addEventListener(y, c, o), () => R.removeEventListener(y, c, o)), T = Ee(
172
- () => [Zr(t), ae(s)],
172
+ () => [Zr(r), ae(s)],
173
173
  ([R, y]) => {
174
174
  if (A(), !R)
175
175
  return;
176
176
  const c = kn(y) ? { ...y } : y;
177
177
  h.push(
178
- ...n.flatMap((o) => l.map((r) => E(R, o, r, c)))
178
+ ...n.flatMap((o) => l.map((t) => E(R, o, t, c)))
179
179
  );
180
180
  },
181
181
  { immediate: !0, flush: "post" }
@@ -188,8 +188,8 @@ const Je = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window :
188
188
  function Qn() {
189
189
  return Ke in Je || (Je[Ke] = Je[Ke] || {}), Je[Ke];
190
190
  }
191
- function Xn(e, t) {
192
- return Kn[e] || t;
191
+ function Xn(e, r) {
192
+ return Kn[e] || r;
193
193
  }
194
194
  function On(e) {
195
195
  return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
@@ -228,7 +228,7 @@ const pn = {
228
228
  write: (e) => e.toISOString()
229
229
  }
230
230
  }, it = "vueuse-storage";
231
- function ft(e, t, n, l = {}) {
231
+ function ft(e, r, n, l = {}) {
232
232
  var s;
233
233
  const {
234
234
  flush: h = "pre",
@@ -242,8 +242,8 @@ function ft(e, t, n, l = {}) {
242
242
  onError: o = (f) => {
243
243
  console.error(f);
244
244
  },
245
- initOnMounted: r
246
- } = l, x = (R ? xe : Z)(typeof t == "function" ? t() : t);
245
+ initOnMounted: t
246
+ } = l, x = (R ? xe : Z)(typeof r == "function" ? r() : r);
247
247
  if (!n)
248
248
  try {
249
249
  n = Xn("getDefaultStorage", () => {
@@ -255,14 +255,14 @@ function ft(e, t, n, l = {}) {
255
255
  }
256
256
  if (!n)
257
257
  return x;
258
- const S = ae(t), w = On(S), I = (s = l.serializer) != null ? s : pn[w], { pause: B, resume: U } = qn(
258
+ const S = ae(r), w = On(S), I = (s = l.serializer) != null ? s : pn[w], { pause: B, resume: U } = qn(
259
259
  x,
260
260
  () => P(x.value),
261
261
  { flush: h, deep: A, eventFilter: c }
262
262
  );
263
263
  y && E && zr(() => {
264
- oe(y, "storage", D), oe(y, it, g), r && D();
265
- }), r || D();
264
+ oe(y, "storage", D), oe(y, it, g), t && D();
265
+ }), t || D();
266
266
  function _(f, C) {
267
267
  y && y.dispatchEvent(new CustomEvent(it, {
268
268
  detail: {
@@ -320,37 +320,37 @@ function ft(e, t, n, l = {}) {
320
320
  return x;
321
321
  }
322
322
  function ea(e) {
323
- const t = Gr(), n = Un(
323
+ const r = Gr(), n = Un(
324
324
  () => null,
325
- () => e ? Zr(e) : t.proxy.$el
325
+ () => e ? Zr(e) : r.proxy.$el
326
326
  );
327
327
  return Cn(n.trigger), jr(n.trigger), n;
328
328
  }
329
329
  function ra(e = ea()) {
330
- const t = xe(), n = () => {
330
+ const r = xe(), n = () => {
331
331
  const l = Zr(e);
332
- l && (t.value = l.parentElement);
332
+ l && (r.value = l.parentElement);
333
333
  };
334
- return zr(n), Ee(() => ae(e), n), t;
334
+ return zr(n), Ee(() => ae(e), n), r;
335
335
  }
336
336
  function ta(e) {
337
337
  return (e || "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx").replace(/[xy]/g, na);
338
338
  }
339
339
  function na(e) {
340
- const t = Math.random() * 16 | 0;
341
- return (e == "x" ? t : t & 3 | 8).toString(16);
340
+ const r = Math.random() * 16 | 0;
341
+ return (e == "x" ? r : r & 3 | 8).toString(16);
342
342
  }
343
343
  function aa(e) {
344
- const t = Z([]), n = xe(), l = xe(), s = xe(), h = le(() => n.value != null);
344
+ const r = Z([]), n = xe(), l = xe(), s = xe(), h = le(() => n.value != null);
345
345
  function A(y) {
346
- t.value = t.value.filter((c) => c.id != y);
346
+ r.value = r.value.filter((c) => c.id != y);
347
347
  }
348
348
  function E(y) {
349
349
  const c = {
350
350
  id: ta(),
351
351
  msg: y ?? "Loading"
352
352
  };
353
- return t.value.push(c), c.id;
353
+ return r.value.push(c), c.id;
354
354
  }
355
355
  function T(y) {
356
356
  y != null && (l.value = y.toString());
@@ -361,7 +361,7 @@ function aa(e) {
361
361
  async function R(y, c) {
362
362
  const o = { ...c };
363
363
  o.completionMsg ?? (o.completionMsg = e == null ? void 0 : e.completionMsg), o.confirmationMsg ?? (o.confirmationMsg = e == null ? void 0 : e.confirmationMsg), o.errorMsg ?? (o.errorMsg = e == null ? void 0 : e.errorMsg), o.loadingMsg ?? (o.loadingMsg = (e == null ? void 0 : e.loadingMsg) ?? "Loading"), o.requireConfirmation ?? (o.requireConfirmation = e == null ? void 0 : e.requireConfirmation);
364
- const r = E(o.loadingMsg);
364
+ const t = E(o.loadingMsg);
365
365
  let x = null;
366
366
  try {
367
367
  return o.requireConfirmation || o.confirmationMsg, x = await y(), o.completionMsg != null && (s.value = o.completionMsg), x;
@@ -370,10 +370,10 @@ function aa(e) {
370
370
  return x;
371
371
  T(o.errorMsg ?? S ?? "error");
372
372
  } finally {
373
- A(r);
373
+ A(t);
374
374
  }
375
375
  }
376
- return Pt(t, (y) => {
376
+ return Pt(r, (y) => {
377
377
  n.value = y.length > 0 ? y[0].msg : void 0;
378
378
  }, { deep: !0 }), {
379
379
  actionErrorMsg: l,
@@ -386,101 +386,101 @@ function aa(e) {
386
386
  };
387
387
  }
388
388
  function ua(e) {
389
- const { actionErrorMsg: t, actionLoadingMsg: n, clearErrors: l, isLoading: s, doAction: h, logError: A } = aa(e);
390
- function E(r) {
391
- r.nav ?? (r.nav = e == null ? void 0 : e.nav), r.proxyID ?? (r.proxyID = e == null ? void 0 : e.proxyID), r.refresh ?? (r.refresh = e == null ? void 0 : e.refresh), r.throwError ?? (r.throwError = e == null ? void 0 : e.throwError), r.url ?? (r.url = e == null ? void 0 : e.url), r.confirmationMsg ?? (r.confirmationMsg = r.requireConfirmation === !0 ? "Are you sure you want to delete this item?" : void 0), r.store ?? (r.store = e == null ? void 0 : e.store);
392
- const x = (r == null ? void 0 : r.store) ?? (e == null ? void 0 : e.store);
393
- return r.nav != null && x != null && (r.onDeleteAsync ?? (r.onDeleteAsync = () => x().deleteItem(r))), h(async () => {
389
+ const { actionErrorMsg: r, actionLoadingMsg: n, clearErrors: l, isLoading: s, doAction: h, logError: A } = aa(e);
390
+ function E(t) {
391
+ t.nav ?? (t.nav = e == null ? void 0 : e.nav), t.proxyID ?? (t.proxyID = e == null ? void 0 : e.proxyID), t.refresh ?? (t.refresh = e == null ? void 0 : e.refresh), t.throwError ?? (t.throwError = e == null ? void 0 : e.throwError), t.url ?? (t.url = e == null ? void 0 : e.url), t.confirmationMsg ?? (t.confirmationMsg = t.requireConfirmation === !0 ? "Are you sure you want to delete this item?" : void 0), t.store ?? (t.store = e == null ? void 0 : e.store);
392
+ const x = (t == null ? void 0 : t.store) ?? (e == null ? void 0 : e.store);
393
+ return t.nav != null && x != null && (t.onDeleteAsync ?? (t.onDeleteAsync = () => x().deleteItem(t))), h(async () => {
394
394
  let S;
395
- r.onCanDeleteAsync != null && (S = await r.onCanDeleteAsync(r.data)), S == null && r.onDeleteAsync != null && (S = await r.onDeleteAsync(r.data)), S == null && r.onDeleteSuccessAsync != null && await r.onDeleteSuccessAsync(r.data), A(S);
395
+ t.onCanDeleteAsync != null && (S = await t.onCanDeleteAsync(t.data)), S == null && t.onDeleteAsync != null && (S = await t.onDeleteAsync(t.data)), S == null && t.onDeleteSuccessAsync != null && await t.onDeleteSuccessAsync(t.data), A(S);
396
396
  }, {
397
- completionMsg: r.completionMsg ?? (e == null ? void 0 : e.completionMsg),
398
- confirmationMsg: r.confirmationMsg ?? (e == null ? void 0 : e.confirmationMsg),
399
- errorMsg: r.errorMsg ?? (e == null ? void 0 : e.errorMsg),
400
- loadingMsg: r.loadingMsg ?? (e == null ? void 0 : e.loadingMsg) ?? "Deleting",
401
- requireConfirmation: r.requireConfirmation ?? (e == null ? void 0 : e.requireConfirmation),
402
- throwError: r.throwError ?? (e == null ? void 0 : e.throwError)
397
+ completionMsg: t.completionMsg ?? (e == null ? void 0 : e.completionMsg),
398
+ confirmationMsg: t.confirmationMsg ?? (e == null ? void 0 : e.confirmationMsg),
399
+ errorMsg: t.errorMsg ?? (e == null ? void 0 : e.errorMsg),
400
+ loadingMsg: t.loadingMsg ?? (e == null ? void 0 : e.loadingMsg) ?? "Deleting",
401
+ requireConfirmation: t.requireConfirmation ?? (e == null ? void 0 : e.requireConfirmation),
402
+ throwError: t.throwError ?? (e == null ? void 0 : e.throwError)
403
403
  });
404
404
  }
405
- function T(r) {
406
- r.nav ?? (r.nav = e == null ? void 0 : e.nav), r.proxyID ?? (r.proxyID = e == null ? void 0 : e.proxyID), r.refresh ?? (r.refresh = e == null ? void 0 : e.refresh), r.throwError ?? (r.throwError = e == null ? void 0 : e.throwError), r.url ?? (r.url = e == null ? void 0 : e.url), r.confirmationMsg ?? (r.confirmationMsg = r.requireConfirmation === !0 ? "Are you sure you want to get this item?" : void 0);
407
- const x = (r == null ? void 0 : r.store) ?? (e == null ? void 0 : e.store);
408
- return r.nav != null && x != null && (r.onGetAsync ?? (r.onGetAsync = async () => (await x().get(r)).data)), h(async () => {
405
+ function T(t) {
406
+ t.nav ?? (t.nav = e == null ? void 0 : e.nav), t.proxyID ?? (t.proxyID = e == null ? void 0 : e.proxyID), t.refresh ?? (t.refresh = e == null ? void 0 : e.refresh), t.throwError ?? (t.throwError = e == null ? void 0 : e.throwError), t.url ?? (t.url = e == null ? void 0 : e.url), t.confirmationMsg ?? (t.confirmationMsg = t.requireConfirmation === !0 ? "Are you sure you want to get this item?" : void 0);
407
+ const x = (t == null ? void 0 : t.store) ?? (e == null ? void 0 : e.store);
408
+ return t.nav != null && x != null && (t.onGetAsync ?? (t.onGetAsync = async () => (await x().get(t)).data)), h(async () => {
409
409
  let S;
410
- return r.onGetAsync != null && (S = await r.onGetAsync(r)), r.onGetSuccessAsync != null && (S = await r.onGetSuccessAsync(S, r)), S;
410
+ return t.onGetAsync != null && (S = await t.onGetAsync(t)), t.onGetSuccessAsync != null && (S = await t.onGetSuccessAsync(S, t)), S;
411
411
  }, {
412
- completionMsg: r.completionMsg ?? (e == null ? void 0 : e.completionMsg),
413
- confirmationMsg: r.confirmationMsg ?? (e == null ? void 0 : e.confirmationMsg),
414
- errorMsg: r.errorMsg ?? (e == null ? void 0 : e.errorMsg),
415
- loadingMsg: r.loadingMsg ?? (e == null ? void 0 : e.loadingMsg) ?? "Retrieving",
416
- requireConfirmation: r.requireConfirmation ?? (e == null ? void 0 : e.requireConfirmation),
417
- throwError: r.throwError ?? (e == null ? void 0 : e.throwError)
412
+ completionMsg: t.completionMsg ?? (e == null ? void 0 : e.completionMsg),
413
+ confirmationMsg: t.confirmationMsg ?? (e == null ? void 0 : e.confirmationMsg),
414
+ errorMsg: t.errorMsg ?? (e == null ? void 0 : e.errorMsg),
415
+ loadingMsg: t.loadingMsg ?? (e == null ? void 0 : e.loadingMsg) ?? "Retrieving",
416
+ requireConfirmation: t.requireConfirmation ?? (e == null ? void 0 : e.requireConfirmation),
417
+ throwError: t.throwError ?? (e == null ? void 0 : e.throwError)
418
418
  });
419
419
  }
420
- function L(r) {
421
- r.nav ?? (r.nav = e == null ? void 0 : e.nav), r.proxyID ?? (r.proxyID = e == null ? void 0 : e.proxyID), r.refresh ?? (r.refresh = e == null ? void 0 : e.refresh), r.throwError ?? (r.throwError = e == null ? void 0 : e.throwError), r.url ?? (r.url = e == null ? void 0 : e.url), r.confirmationMsg ?? (r.confirmationMsg = r.requireConfirmation === !0 ? "Are you sure you want to get these items?" : void 0);
422
- const x = (r == null ? void 0 : r.store) ?? (e == null ? void 0 : e.store);
423
- return r.nav != null && x != null && (r.onGetAsync ?? (r.onGetAsync = () => x().getAll(r))), h(async () => {
420
+ function L(t) {
421
+ t.nav ?? (t.nav = e == null ? void 0 : e.nav), t.proxyID ?? (t.proxyID = e == null ? void 0 : e.proxyID), t.refresh ?? (t.refresh = e == null ? void 0 : e.refresh), t.throwError ?? (t.throwError = e == null ? void 0 : e.throwError), t.url ?? (t.url = e == null ? void 0 : e.url), t.confirmationMsg ?? (t.confirmationMsg = t.requireConfirmation === !0 ? "Are you sure you want to get these items?" : void 0);
422
+ const x = (t == null ? void 0 : t.store) ?? (e == null ? void 0 : e.store);
423
+ return t.nav != null && x != null && (t.onGetAsync ?? (t.onGetAsync = () => x().getAll(t))), h(async () => {
424
424
  let S;
425
- return r.onGetAsync != null && (S = await r.onGetAsync(r)), r.onGetSuccessAsync != null && (S = await r.onGetSuccessAsync(S, r)), S;
425
+ return t.onGetAsync != null && (S = await t.onGetAsync(t)), t.onGetSuccessAsync != null && (S = await t.onGetSuccessAsync(S, t)), S;
426
426
  }, {
427
- completionMsg: r.completionMsg ?? (e == null ? void 0 : e.completionMsg),
428
- confirmationMsg: r.confirmationMsg ?? (e == null ? void 0 : e.confirmationMsg),
429
- errorMsg: r.errorMsg ?? (e == null ? void 0 : e.errorMsg),
430
- loadingMsg: r.loadingMsg ?? (e == null ? void 0 : e.loadingMsg) ?? "Retrieving",
431
- requireConfirmation: r.requireConfirmation ?? (e == null ? void 0 : e.requireConfirmation),
432
- throwError: r.throwError ?? (e == null ? void 0 : e.throwError)
427
+ completionMsg: t.completionMsg ?? (e == null ? void 0 : e.completionMsg),
428
+ confirmationMsg: t.confirmationMsg ?? (e == null ? void 0 : e.confirmationMsg),
429
+ errorMsg: t.errorMsg ?? (e == null ? void 0 : e.errorMsg),
430
+ loadingMsg: t.loadingMsg ?? (e == null ? void 0 : e.loadingMsg) ?? "Retrieving",
431
+ requireConfirmation: t.requireConfirmation ?? (e == null ? void 0 : e.requireConfirmation),
432
+ throwError: t.throwError ?? (e == null ? void 0 : e.throwError)
433
433
  });
434
434
  }
435
- function R(r) {
436
- r.nav ?? (r.nav = e == null ? void 0 : e.nav), r.proxyID ?? (r.proxyID = e == null ? void 0 : e.proxyID), r.refresh ?? (r.refresh = e == null ? void 0 : e.refresh), r.throwError ?? (r.throwError = e == null ? void 0 : e.throwError), r.url ?? (r.url = e == null ? void 0 : e.url), r.confirmationMsg ?? (r.confirmationMsg = r.requireConfirmation === !0 ? "Are you sure you want to restore this item?" : void 0);
437
- const x = (r == null ? void 0 : r.store) ?? (e == null ? void 0 : e.store);
438
- return r.nav != null && x != null && (r.onRestoreAsync ?? (r.onRestoreAsync = () => x().restore(r))), h(async () => {
435
+ function R(t) {
436
+ t.nav ?? (t.nav = e == null ? void 0 : e.nav), t.proxyID ?? (t.proxyID = e == null ? void 0 : e.proxyID), t.refresh ?? (t.refresh = e == null ? void 0 : e.refresh), t.throwError ?? (t.throwError = e == null ? void 0 : e.throwError), t.url ?? (t.url = e == null ? void 0 : e.url), t.confirmationMsg ?? (t.confirmationMsg = t.requireConfirmation === !0 ? "Are you sure you want to restore this item?" : void 0);
437
+ const x = (t == null ? void 0 : t.store) ?? (e == null ? void 0 : e.store);
438
+ return t.nav != null && x != null && (t.onRestoreAsync ?? (t.onRestoreAsync = () => x().restore(t))), h(async () => {
439
439
  let S, w;
440
- return r.onCanRestoreAsync != null && (S = await r.onCanRestoreAsync(r.data)), S == null && r.onRestoreAsync != null && (w = await r.onRestoreAsync(r.data)), w != null && r.onRestoreSuccessAsync != null && await r.onRestoreSuccessAsync(w), A(S), w;
440
+ return t.onCanRestoreAsync != null && (S = await t.onCanRestoreAsync(t.data)), S == null && t.onRestoreAsync != null && (w = await t.onRestoreAsync(t.data)), w != null && t.onRestoreSuccessAsync != null && await t.onRestoreSuccessAsync(w), A(S), w;
441
441
  }, {
442
- completionMsg: r.completionMsg ?? (e == null ? void 0 : e.completionMsg),
443
- confirmationMsg: r.confirmationMsg ?? (e == null ? void 0 : e.confirmationMsg),
444
- errorMsg: r.errorMsg ?? (e == null ? void 0 : e.errorMsg),
445
- loadingMsg: r.loadingMsg ?? (e == null ? void 0 : e.loadingMsg) ?? "Restoring",
446
- requireConfirmation: r.requireConfirmation ?? (e == null ? void 0 : e.requireConfirmation),
447
- throwError: r.throwError ?? (e == null ? void 0 : e.throwError)
442
+ completionMsg: t.completionMsg ?? (e == null ? void 0 : e.completionMsg),
443
+ confirmationMsg: t.confirmationMsg ?? (e == null ? void 0 : e.confirmationMsg),
444
+ errorMsg: t.errorMsg ?? (e == null ? void 0 : e.errorMsg),
445
+ loadingMsg: t.loadingMsg ?? (e == null ? void 0 : e.loadingMsg) ?? "Restoring",
446
+ requireConfirmation: t.requireConfirmation ?? (e == null ? void 0 : e.requireConfirmation),
447
+ throwError: t.throwError ?? (e == null ? void 0 : e.throwError)
448
448
  });
449
449
  }
450
- function y(r) {
451
- r.nav ?? (r.nav = e == null ? void 0 : e.nav), r.proxyID ?? (r.proxyID = e == null ? void 0 : e.proxyID), r.refresh ?? (r.refresh = e == null ? void 0 : e.refresh), r.throwError ?? (r.throwError = e == null ? void 0 : e.throwError), r.url ?? (r.url = e == null ? void 0 : e.url), r.confirmationMsg ?? (r.confirmationMsg = r.requireConfirmation === !0 ? "Are you sure you want to save this item?" : void 0);
452
- const x = (r == null ? void 0 : r.store) ?? (e == null ? void 0 : e.store);
453
- return r.onGetSaveAsync ?? (r.onGetSaveAsync = (S) => S), r.onCanSaveAsync ?? (r.onCanSaveAsync = () => Promise.resolve(void 0)), r.nav != null && x != null && (r.onSaveAsync ?? (r.onSaveAsync = async () => r.mode == "new" ? await x().post(r) : await x().patch(r))), h(async () => {
450
+ function y(t) {
451
+ t.nav ?? (t.nav = e == null ? void 0 : e.nav), t.proxyID ?? (t.proxyID = e == null ? void 0 : e.proxyID), t.refresh ?? (t.refresh = e == null ? void 0 : e.refresh), t.throwError ?? (t.throwError = e == null ? void 0 : e.throwError), t.url ?? (t.url = e == null ? void 0 : e.url), t.confirmationMsg ?? (t.confirmationMsg = t.requireConfirmation === !0 ? "Are you sure you want to save this item?" : void 0);
452
+ const x = (t == null ? void 0 : t.store) ?? (e == null ? void 0 : e.store);
453
+ return t.onGetSaveAsync ?? (t.onGetSaveAsync = (S) => S), t.onCanSaveAsync ?? (t.onCanSaveAsync = () => Promise.resolve(void 0)), t.nav != null && x != null && (t.onSaveAsync ?? (t.onSaveAsync = async () => t.mode == "new" ? await x().post(t) : await x().patch(t))), h(async () => {
454
454
  let S;
455
- if (r.onGetSaveAsync != null && (S = await r.onGetSaveAsync(r.data)), S == null)
455
+ if (t.onGetSaveAsync != null && (S = await t.onGetSaveAsync(t.data)), S == null)
456
456
  return;
457
- if (r.onCanSaveAsync != null) {
458
- let I = await r.onCanSaveAsync(S);
457
+ if (t.onCanSaveAsync != null) {
458
+ let I = await t.onCanSaveAsync(S);
459
459
  if (A(I), I == null)
460
460
  return;
461
461
  }
462
462
  let w;
463
- return r.onSaveAsync != null && (w = await r.onSaveAsync(S), w = w.data), r.onSaveSuccessAsync != null && (w = await r.onSaveSuccessAsync(w)), w;
463
+ return t.onSaveAsync != null && (w = await t.onSaveAsync(S), w = w.data), t.onSaveSuccessAsync != null && (w = await t.onSaveSuccessAsync(w)), w;
464
464
  }, {
465
- completionMsg: r.completionMsg ?? (e == null ? void 0 : e.completionMsg),
466
- confirmationMsg: r.confirmationMsg ?? (e == null ? void 0 : e.confirmationMsg),
467
- errorMsg: r.errorMsg ?? (e == null ? void 0 : e.errorMsg),
468
- loadingMsg: r.loadingMsg ?? (e == null ? void 0 : e.loadingMsg) ?? "Saving",
469
- requireConfirmation: r.requireConfirmation ?? (e == null ? void 0 : e.requireConfirmation),
470
- throwError: r.throwError ?? (e == null ? void 0 : e.throwError)
465
+ completionMsg: t.completionMsg ?? (e == null ? void 0 : e.completionMsg),
466
+ confirmationMsg: t.confirmationMsg ?? (e == null ? void 0 : e.confirmationMsg),
467
+ errorMsg: t.errorMsg ?? (e == null ? void 0 : e.errorMsg),
468
+ loadingMsg: t.loadingMsg ?? (e == null ? void 0 : e.loadingMsg) ?? "Saving",
469
+ requireConfirmation: t.requireConfirmation ?? (e == null ? void 0 : e.requireConfirmation),
470
+ throwError: t.throwError ?? (e == null ? void 0 : e.throwError)
471
471
  });
472
472
  }
473
- function c(r) {
474
- return r.nav ?? (r.nav = e == null ? void 0 : e.nav), r.proxyID ?? (r.proxyID = e == null ? void 0 : e.proxyID), r.refresh ?? (r.refresh = e == null ? void 0 : e.refresh), r.throwError ?? (r.throwError = e == null ? void 0 : e.throwError), r.url ?? (r.url = e == null ? void 0 : e.url), h(async () => await r.api.post(r), e);
473
+ function c(t) {
474
+ return t.nav ?? (t.nav = e == null ? void 0 : e.nav), t.proxyID ?? (t.proxyID = e == null ? void 0 : e.proxyID), t.refresh ?? (t.refresh = e == null ? void 0 : e.refresh), t.throwError ?? (t.throwError = e == null ? void 0 : e.throwError), t.url ?? (t.url = e == null ? void 0 : e.url), h(async () => await t.api.post(t), e);
475
475
  }
476
- function o(r) {
477
- return r.nav ?? (r.nav = e == null ? void 0 : e.nav), r.proxyID ?? (r.proxyID = e == null ? void 0 : e.proxyID), r.refresh ?? (r.refresh = e == null ? void 0 : e.refresh), r.throwError ?? (r.throwError = e == null ? void 0 : e.throwError), r.url ?? (r.url = e == null ? void 0 : e.url), h(async () => await r.api.get(r), e);
476
+ function o(t) {
477
+ return t.nav ?? (t.nav = e == null ? void 0 : e.nav), t.proxyID ?? (t.proxyID = e == null ? void 0 : e.proxyID), t.refresh ?? (t.refresh = e == null ? void 0 : e.refresh), t.throwError ?? (t.throwError = e == null ? void 0 : e.throwError), t.url ?? (t.url = e == null ? void 0 : e.url), h(async () => await t.api.get(t), e);
478
478
  }
479
479
  return {
480
480
  apiGet: o,
481
481
  apiPost: c,
482
482
  actionLoadingMsg: n,
483
- actionErrorMsg: t,
483
+ actionErrorMsg: r,
484
484
  clearErrors: l,
485
485
  deleteItem: E,
486
486
  doAction: h,
@@ -500,7 +500,7 @@ var He = function() {
500
500
  function e(s) {
501
501
  return s;
502
502
  }
503
- function t(s) {
503
+ function r(s) {
504
504
  return typeof s == "string" ? s.toLowerCase() : s;
505
505
  }
506
506
  function n(s, h) {
@@ -511,7 +511,7 @@ var He = function() {
511
511
  };
512
512
  }
513
513
  if (s.length === 1) {
514
- var E = s, T = h.ignoreCase ? t : e, L = h.cmp || function(y, c) {
514
+ var E = s, T = h.ignoreCase ? r : e, L = h.cmp || function(y, c) {
515
515
  return y < c ? -1 : y > c ? 1 : 0;
516
516
  };
517
517
  s = function(y, c) {
@@ -531,8 +531,8 @@ var He = function() {
531
531
  }
532
532
  return l.firstBy = l, l;
533
533
  }();
534
- function Te(e, t) {
535
- let n = e ?? "", l = t ?? "";
534
+ function Te(e, r) {
535
+ let n = e ?? "", l = r ?? "";
536
536
  if (n.endsWith("/"))
537
537
  do
538
538
  n = n.slice(0, n.length - 1);
@@ -544,59 +544,59 @@ function Te(e, t) {
544
544
  return `${n}/${l}`;
545
545
  }
546
546
  function Ya(e) {
547
- return e == null || !Array.isArray(e) ? e : [...new Set(e.map((t) => t))];
547
+ return e == null || !Array.isArray(e) ? e : [...new Set(e.map((r) => r))];
548
548
  }
549
549
  function Ja(e = "blitzItExtensionExists") {
550
550
  try {
551
- var t = document.getElementById(e);
552
- return t != null;
551
+ var r = document.getElementById(e);
552
+ return r != null;
553
553
  } catch (n) {
554
554
  return console.log(ma(n)), !1;
555
555
  }
556
556
  }
557
- function Ka(e, t) {
557
+ function Ka(e, r) {
558
558
  return [
559
- { lat: e.lat - t, lng: e.lng + t },
560
- { lat: e.lat - t, lng: e.lng - t },
561
- { lat: e.lat + t, lng: e.lng - t },
562
- { lat: e.lat + t, lng: e.lng + t }
559
+ { lat: e.lat - r, lng: e.lng + r },
560
+ { lat: e.lat - r, lng: e.lng - r },
561
+ { lat: e.lat + r, lng: e.lng - r },
562
+ { lat: e.lat + r, lng: e.lng + r }
563
563
  ];
564
564
  }
565
- function Qa(e, t) {
565
+ function Qa(e, r) {
566
566
  return [
567
- { lat: e.lat - t * 2, lng: e.lng + t },
568
- { lat: e.lat - t * 2, lng: e.lng - t },
569
- { lat: e.lat, lng: e.lng - t },
570
- { lat: e.lat, lng: e.lng + t }
567
+ { lat: e.lat - r * 2, lng: e.lng + r },
568
+ { lat: e.lat - r * 2, lng: e.lng - r },
569
+ { lat: e.lat, lng: e.lng - r },
570
+ { lat: e.lat, lng: e.lng + r }
571
571
  ];
572
572
  }
573
- function Xa(e, t) {
573
+ function Xa(e, r) {
574
574
  return [
575
- { lat: e.lat, lng: e.lng + t },
576
- { lat: e.lat, lng: e.lng - t },
577
- { lat: e.lat + t * 2, lng: e.lng - t },
578
- { lat: e.lat + t * 2, lng: e.lng + t }
575
+ { lat: e.lat, lng: e.lng + r },
576
+ { lat: e.lat, lng: e.lng - r },
577
+ { lat: e.lat + r * 2, lng: e.lng - r },
578
+ { lat: e.lat + r * 2, lng: e.lng + r }
579
579
  ];
580
580
  }
581
581
  function Oa(e) {
582
- var t = Lt(e, !0);
583
- return t = t.toLowerCase(), t = t.replace(" victoria ", "vic"), t = t.replace(" queensland ", "qld"), t = t.replace(" new south wales ", "nsw"), t = t.replace(" northern territory ", "nt"), t = t.replace(" western australia ", "wa"), t = t.replace(" tasmania ", "tas"), t = t.replace(" south australia ", "sa"), t = t.replace(" australian captial territory ", "act"), t = t.replace(" & ", " and "), t = t.replace(" road", " rd"), t = t.replace(" street", " st"), t = t.replace(" lane", " ln"), t = t.replace(" alley", " aly"), t = t.replace(" arcade", " arc"), t = t.replace(" boulevard", " blvd"), t = t.replace(" court", " ct"), t = t.replace(" cove", " cv"), t = t.replace(" highway", " hwy"), t.replaceAll(" ", "");
582
+ var r = Lt(e, !0);
583
+ return r = r.toLowerCase(), r = r.replace(" victoria ", "vic"), r = r.replace(" queensland ", "qld"), r = r.replace(" new south wales ", "nsw"), r = r.replace(" northern territory ", "nt"), r = r.replace(" western australia ", "wa"), r = r.replace(" tasmania ", "tas"), r = r.replace(" south australia ", "sa"), r = r.replace(" australian captial territory ", "act"), r = r.replace(" & ", " and "), r = r.replace(" road", " rd"), r = r.replace(" street", " st"), r = r.replace(" lane", " ln"), r = r.replace(" alley", " aly"), r = r.replace(" arcade", " arc"), r = r.replace(" boulevard", " blvd"), r = r.replace(" court", " ct"), r = r.replace(" cove", " cv"), r = r.replace(" highway", " hwy"), r.replaceAll(" ", "");
584
584
  }
585
- function Lt(e, t = !1) {
585
+ function Lt(e, r = !1) {
586
586
  if (e == null)
587
587
  return "";
588
588
  if (typeof e != "object")
589
589
  return e;
590
590
  var n = "";
591
- return e.addressLineOne != null && !t && (n = e.addressLineOne + " "), e.streetNumber != null && (n = n + e.streetNumber + " "), e.streetName != null && (n = n + e.streetName + ", "), e.suburb != null && (n = n + e.suburb + " "), e.state != null && (n = n + e.state + " "), e.postcode != null && (n = n + e.postcode), n;
591
+ return e.addressLineOne != null && !r && (n = e.addressLineOne + " "), e.streetNumber != null && (n = n + e.streetNumber + " "), e.streetName != null && (n = n + e.streetName + ", "), e.suburb != null && (n = n + e.suburb + " "), e.state != null && (n = n + e.state + " "), e.postcode != null && (n = n + e.postcode), n;
592
592
  }
593
- function pa(e, t, n) {
593
+ function pa(e, r, n) {
594
594
  if (e) {
595
595
  var l = new Image();
596
- l.onload = t, l.onerror = n, l.src = e;
596
+ l.onload = r, l.onerror = n, l.src = e;
597
597
  }
598
598
  }
599
- async function eu(e, t = !0) {
599
+ async function eu(e, r = !0) {
600
600
  return new Promise((n, l) => {
601
601
  e == null && l("no url given");
602
602
  var s = new Image();
@@ -606,21 +606,21 @@ async function eu(e, t = !0) {
606
606
  var A = h.getContext("2d");
607
607
  A == null || A.drawImage(this, 0, 0), n(h.toDataURL("image/png"));
608
608
  }, s.onerror = function() {
609
- console.log("errr"), t ? l("image could not be loaded for some reason") : n(null);
609
+ console.log("errr"), r ? l("image could not be loaded for some reason") : n(null);
610
610
  }, e != null && (s.src = e);
611
611
  });
612
612
  }
613
613
  function ca(e) {
614
- return e && e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase());
614
+ return e && e.replace(/([A-Z])/g, " $1").replace(/^./, (r) => r.toUpperCase());
615
615
  }
616
616
  function ru(e) {
617
617
  if (e != null && typeof e == "object")
618
- for (var t in e)
619
- /^[A-Z]/.test(t) && Object.hasOwnProperty.call(e, t) && (e[t.charAt(0).toLowerCase() + t.substring(1)] = e[t], delete e[t]);
618
+ for (var r in e)
619
+ /^[A-Z]/.test(r) && Object.hasOwnProperty.call(e, r) && (e[r.charAt(0).toLowerCase() + r.substring(1)] = e[r], delete e[r]);
620
620
  return e;
621
621
  }
622
622
  function ia(e) {
623
- return e == null ? e : e.replace(/\w\S*/g, (t) => t.replace(/^\w/, (n) => n.toUpperCase()));
623
+ return e == null ? e : e.replace(/\w\S*/g, (r) => r.replace(/^\w/, (n) => n.toUpperCase()));
624
624
  }
625
625
  const ze = [
626
626
  { value: 1, short: "sun", values: ["sun", "sunday"] },
@@ -635,40 +635,40 @@ const ze = [
635
635
  function tu(e) {
636
636
  if (e == null)
637
637
  return 0;
638
- const t = e.replaceAll(" ", "").split(",").map((l) => l.toLowerCase()), n = ze.filter((l) => l.values.some((s) => t.some((h) => s == h))).map((l) => l.value);
638
+ const r = e.replaceAll(" ", "").split(",").map((l) => l.toLowerCase()), n = ze.filter((l) => l.values.some((s) => r.some((h) => s == h))).map((l) => l.value);
639
639
  return n.length == 0 ? 8 : Math.min(...n);
640
640
  }
641
641
  function nu(e) {
642
- return e == null ? e : e.toLowerCase().replaceAll(" ", "").split(",").map((t) => {
643
- let n = ze.find((l) => l.values.some((s) => s == t));
642
+ return e == null ? e : e.toLowerCase().replaceAll(" ", "").split(",").map((r) => {
643
+ let n = ze.find((l) => l.values.some((s) => s == r));
644
644
  return n != null ? n.short : "";
645
- }).filter((t) => t != null && t.length > 0).toString();
645
+ }).filter((r) => r != null && r.length > 0).toString();
646
646
  }
647
- function au(e, t) {
648
- if (e == null || t == null)
647
+ function au(e, r) {
648
+ if (e == null || r == null)
649
649
  return !0;
650
- const n = e.replaceAll(" ", "").split(",").map((h) => h.toLowerCase()), l = t.replaceAll(" ", "").toLowerCase(), s = ze.find((h) => h.values.some((A) => A == l));
650
+ const n = e.replaceAll(" ", "").split(",").map((h) => h.toLowerCase()), l = r.replaceAll(" ", "").toLowerCase(), s = ze.find((h) => h.values.some((A) => A == l));
651
651
  return s != null && n.some((h) => h == s.short || s.values.some((A) => A == h));
652
652
  }
653
- function uu(e, t) {
654
- if (t == null)
653
+ function uu(e, r) {
654
+ if (r == null)
655
655
  return e;
656
656
  let n = e ?? "";
657
- n = `${n},${t}`;
657
+ n = `${n},${r}`;
658
658
  let l = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((s) => ze.find((h) => h.values.some((A) => A == s))).filter((s) => s != null).sort(He.firstBy((s) => (s == null ? void 0 : s.value) ?? 0)).map((s) => s == null ? void 0 : s.short))].toString();
659
659
  return l.length > 0 ? l : void 0;
660
660
  }
661
- function lu(e, t) {
662
- if (t == null || e == null)
661
+ function lu(e, r) {
662
+ if (r == null || e == null)
663
663
  return e;
664
- let n = e ?? "", l = t.replaceAll(" ", "").toLowerCase(), s = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((h) => ze.find((A) => A.values.some((E) => E == h && E != l))).filter((h) => h != null).sort(He.firstBy((h) => (h == null ? void 0 : h.value) ?? 0)).map((h) => h == null ? void 0 : h.short))].toString();
664
+ let n = e ?? "", l = r.replaceAll(" ", "").toLowerCase(), s = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((h) => ze.find((A) => A.values.some((E) => E == h && E != l))).filter((h) => h != null).sort(He.firstBy((h) => (h == null ? void 0 : h.value) ?? 0)).map((h) => h == null ? void 0 : h.short))].toString();
665
665
  return s.length > 0 ? s : void 0;
666
666
  }
667
- function cu(e, t) {
668
- return e != null && Array.isArray(e) && e.length == t;
667
+ function cu(e, r) {
668
+ return e != null && Array.isArray(e) && e.length == r;
669
669
  }
670
- function $e(e, t = 0) {
671
- return e != null && Array.isArray(e) && e.length > t;
670
+ function $e(e, r = 0) {
671
+ return e != null && Array.isArray(e) && e.length > r;
672
672
  }
673
673
  function fa(e) {
674
674
  return e == "0001-01-01T00:00:00Z";
@@ -679,70 +679,70 @@ function iu() {
679
679
  function sa() {
680
680
  return "0001-01-01T00:00:00Z";
681
681
  }
682
- function fu(e, t) {
682
+ function fu(e, r) {
683
683
  let n = "1", l = 0;
684
- if (l < t)
684
+ if (l < r)
685
685
  do
686
686
  n = n + "0", l += 1;
687
- while (l < t);
687
+ while (l < r);
688
688
  let s = Number.parseInt(n);
689
689
  return Math.round(e * s) / s;
690
690
  }
691
- function su(e, t) {
691
+ function su(e, r) {
692
692
  let n = e ?? "";
693
- return t != null && (oa(n, t) ? n = n.split(",").filter((l) => l != t).toString() : n != null ? n = `${n},${t}` : n = t), n != null && n.length > 0 ? n : null;
693
+ return r != null && (oa(n, r) ? n = n.split(",").filter((l) => l != r).toString() : n != null ? n = `${n},${r}` : n = r), n != null && n.length > 0 ? n : null;
694
694
  }
695
- function oa(e, t) {
695
+ function oa(e, r) {
696
696
  if (e == null || e.length == 0)
697
697
  return !1;
698
- if (!t)
698
+ if (!r)
699
699
  return !0;
700
- var n = e.split(","), l = t.split(",");
700
+ var n = e.split(","), l = r.split(",");
701
701
  return n.some((s) => l.some((h) => h == s));
702
702
  }
703
703
  function Yr(e) {
704
704
  if (!e)
705
705
  return e;
706
- let t, n = Array.isArray(e) ? [] : {};
706
+ let r, n = Array.isArray(e) ? [] : {};
707
707
  for (const l in e)
708
- t = e[l], n[l] = typeof t == "object" ? Yr(t) : t;
708
+ r = e[l], n[l] = typeof r == "object" ? Yr(r) : r;
709
709
  return n;
710
710
  }
711
711
  function ha(e) {
712
- return e && Object.keys(e).sort().reduce(function(t, n) {
712
+ return e && Object.keys(e).sort().reduce(function(r, n) {
713
713
  let l = e[n];
714
- return t[n] = typeof l == "object" && l !== null ? ha(l) : l, t;
714
+ return r[n] = typeof l == "object" && l !== null ? ha(l) : l, r;
715
715
  }, Array.isArray(e) ? [] : {});
716
716
  }
717
- function da(e, t) {
718
- return t == null ? !0 : e == null ? !1 : e.toLowerCase().includes(t.toLowerCase());
717
+ function da(e, r) {
718
+ return r == null ? !0 : e == null ? !1 : e.toLowerCase().includes(r.toLowerCase());
719
719
  }
720
- function Mt(e, t = (n) => n) {
720
+ function Mt(e, r = (n) => n) {
721
721
  if (e == null)
722
722
  return [];
723
- const n = Array.isArray(e) ? e : t(e);
723
+ const n = Array.isArray(e) ? e : r(e);
724
724
  return $e(n) ? [...n.reduce((l, s) => {
725
725
  l.push(s);
726
- const h = Mt(s, t);
726
+ const h = Mt(s, r);
727
727
  return $e(h) && l.push(...h), l;
728
728
  }, [])] : [];
729
729
  }
730
730
  function ou(e) {
731
- const t = e.split(","), n = t[0].indexOf("base64") >= 0 ? atob(t[1]) : decodeURI(t[1]), l = t[0].split(":")[1].split(";")[0], s = new Uint8Array(n.length);
731
+ const r = e.split(","), n = r[0].indexOf("base64") >= 0 ? atob(r[1]) : decodeURI(r[1]), l = r[0].split(":")[1].split(";")[0], s = new Uint8Array(n.length);
732
732
  for (let h = 0; h < n.length; h++)
733
733
  s[h] = n.charCodeAt(h);
734
734
  return new Blob([s], { type: l });
735
735
  }
736
736
  function ma(e) {
737
- var t = "";
737
+ var r = "";
738
738
  if (e) {
739
- if (e.message && (t = e.message), e.response && e.response.data) {
739
+ if (e.message && (r = e.message), e.response && e.response.data) {
740
740
  if (e.response.data.errors)
741
741
  for (var n = 0; n < e.response.data.errors.length; n++)
742
- t = t + " | " + e.response.data.errors[n];
743
- e.response.data.message && (t = t + " | " + e.response.data.message), t = t + " | " + JSON.stringify(e.response.data);
742
+ r = r + " | " + e.response.data.errors[n];
743
+ e.response.data.message && (r = r + " | " + e.response.data.message), r = r + " | " + JSON.stringify(e.response.data);
744
744
  }
745
- return t;
745
+ return r;
746
746
  }
747
747
  return "hmmm no error was supplied";
748
748
  }
@@ -750,15 +750,15 @@ function va() {
750
750
  const e = "#" + Math.floor(Math.random() * 16777215).toString(16);
751
751
  return e.length !== 7 ? va() : e;
752
752
  }
753
- function ga(e, t, n) {
754
- if (t == null)
753
+ function ga(e, r, n) {
754
+ if (r == null)
755
755
  return !0;
756
756
  if (e == null || n == null)
757
757
  return !1;
758
758
  for (let s = 0; s < n.length; s++) {
759
759
  const h = n[s];
760
760
  var l = Cr(e, h);
761
- if (l != null && typeof l == "string" && da(l, t))
761
+ if (l != null && typeof l == "string" && da(l, r))
762
762
  return !0;
763
763
  }
764
764
  return !1;
@@ -767,14 +767,14 @@ function hu(e) {
767
767
  return e != null ? e.replaceAll(" ", "").toLowerCase() : null;
768
768
  }
769
769
  function du(e = 2e3) {
770
- return new Promise((t) => {
771
- setTimeout(() => t(), e);
770
+ return new Promise((r) => {
771
+ setTimeout(() => r(), e);
772
772
  });
773
773
  }
774
- function Cr(e, t) {
775
- if (e == null || e == null || !t)
774
+ function Cr(e, r) {
775
+ if (e == null || e == null || !r)
776
776
  return null;
777
- var n = t.split(".");
777
+ var n = r.split(".");
778
778
  let l = n.length;
779
779
  for (var s = e, h = 0; h < l; h++)
780
780
  if (s = s[n[h]], s == null)
@@ -789,28 +789,28 @@ function wa() {
789
789
  return Pr;
790
790
  }
791
791
  function ba(e) {
792
- const t = (e == null ? void 0 : e.buildHeaders) ?? A, n = (e == null ? void 0 : e.buildQuery) ?? s, l = (e == null ? void 0 : e.buildUrl) ?? h;
792
+ const r = (e == null ? void 0 : e.buildHeaders) ?? A, n = (e == null ? void 0 : e.buildQuery) ?? s, l = (e == null ? void 0 : e.buildUrl) ?? h;
793
793
  function s(c) {
794
794
  let o = new URLSearchParams();
795
- return Object.entries(c).forEach((r) => {
796
- r[1] != null && o.append(r[0], r[1]);
797
- }), c.filterBy && o.set("filterBy", c.filterBy), c.includeCount && o.set("includeCount", c.includeCount.toString()), c.includeDetails != null && o.set("includeDetails", c.includeDetails.toString()), c.includeInactive && o.set("includeInactive", c.includeInactive.toString()), c.properties && o.set("properties", c.properties.toString()), c.query && o.set("query", c.query.toString()), c.searchString && o.set("searchString", c.searchString), c.sortOrder && o.set("sortOrder", c.sortOrder), c.sortBy && o.set("sortBy", c.sortBy), c.takeFrom && o.set("takeFrom", c.takeFrom.toString()), c.takeAmount && o.set("takeAmount", c.takeAmount.toString()), c.other && Object.entries(c.other).forEach((r) => {
798
- r[1] != null && o.append(r[0], r[1].toString());
795
+ return Object.entries(c).forEach((t) => {
796
+ t[1] != null && o.append(t[0], t[1]);
797
+ }), c.filterBy && o.set("filterBy", c.filterBy), c.includeCount && o.set("includeCount", c.includeCount.toString()), c.includeDetails != null && o.set("includeDetails", c.includeDetails.toString()), c.includeInactive && o.set("includeInactive", c.includeInactive.toString()), c.properties && o.set("properties", c.properties.toString()), c.query && o.set("query", c.query.toString()), c.searchString && o.set("searchString", c.searchString), c.sortOrder && o.set("sortOrder", c.sortOrder), c.sortBy && o.set("sortBy", c.sortBy), c.takeFrom && o.set("takeFrom", c.takeFrom.toString()), c.takeAmount && o.set("takeAmount", c.takeAmount.toString()), c.other && Object.entries(c.other).forEach((t) => {
798
+ t[1] != null && o.append(t[0], t[1].toString());
799
799
  }), o.toString();
800
800
  }
801
801
  function h(c) {
802
- let o = K(c.url) ?? void 0, r = K(c.id);
803
- return o == null && c.nav != null && (e == null ? void 0 : e.findPath) != null && (o = e.findPath(c.nav)), c.additionalUrl != null && (o == null ? o = c.additionalUrl : o = Te(o, c.additionalUrl)), r != null && (o != null && o.includes("{id}") ? o = o.replaceAll("{id}", r) : o = Te(o, r)), c.params != null && (o = `${o}?${n(c.params)}`), c.finalUrl = o, c.finalUrl ?? "";
802
+ let o = K(c.url) ?? void 0, t = K(c.id);
803
+ return o == null && c.nav != null && (e == null ? void 0 : e.findPath) != null && (o = e.findPath(c.nav)), c.additionalUrl != null && (o == null ? o = c.additionalUrl : o = Te(o, c.additionalUrl)), t != null && (o != null && o.includes("{id}") ? o = o.replaceAll("{id}", t) : o = Te(o, t)), c.params != null && (o = `${o}?${n(c.params)}`), c.finalUrl = o, c.finalUrl ?? "";
804
804
  }
805
805
  function A(c) {
806
- var r, x;
806
+ var t, x;
807
807
  let o = { ...c.headers };
808
- return c.proxyID && (o.ManagedCompanyAccountID ?? (o.ManagedCompanyAccountID = c.proxyID)), (e == null ? void 0 : e.useBearerToken) != !1 && ((r = e == null ? void 0 : e.auth) == null ? void 0 : r.isLoggedIn.value) == !0 && (o.authorization ?? (o.authorization = `bearer ${(x = e == null ? void 0 : e.auth) == null ? void 0 : x.credentials.value.token}`)), o["Content-Type"] ?? (o["Content-Type"] = c.contentType ?? (e == null ? void 0 : e.defaultContentType) ?? "application/json"), o;
808
+ return c.proxyID && (o.ManagedCompanyAccountID ?? (o.ManagedCompanyAccountID = c.proxyID)), (e == null ? void 0 : e.useBearerToken) != !1 && ((t = e == null ? void 0 : e.auth) == null ? void 0 : t.isLoggedIn.value) == !0 && (o.authorization ?? (o.authorization = `bearer ${(x = e == null ? void 0 : e.auth) == null ? void 0 : x.credentials.value.token}`)), o["Content-Type"] ?? (o["Content-Type"] = c.contentType ?? (e == null ? void 0 : e.defaultContentType) ?? "application/json"), o;
809
809
  }
810
810
  async function E(c) {
811
- const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, r = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, x = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
811
+ const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, t = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, x = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
812
812
  let S = c.finalUrl, w = c.headers;
813
- S == null && (S = l(c)), c.overrideHeaders !== !0 && (w = t(c)), console.log(`Get from ${S}`);
813
+ S == null && (S = l(c)), c.overrideHeaders !== !0 && (w = r(c)), console.log(`Get from ${S}`);
814
814
  let I;
815
815
  try {
816
816
  if (I = await fetch(S, {
@@ -822,7 +822,7 @@ function ba(e) {
822
822
  let B = await I.text();
823
823
  throw new Error(B ?? I.statusText ?? "Get error");
824
824
  }
825
- return x ? await I.text() : r ? await I.json() : I;
825
+ return x ? await I.text() : t ? await I.json() : I;
826
826
  } catch (B) {
827
827
  if (!o)
828
828
  return I;
@@ -830,9 +830,9 @@ function ba(e) {
830
830
  }
831
831
  }
832
832
  async function T(c) {
833
- const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, r = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, x = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
833
+ const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, t = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, x = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
834
834
  let S = c.finalUrl, w = c.headers;
835
- S == null && (S = l(c)), c.overrideHeaders !== !0 && (w = t(c)), console.log(`Get all from ${S}`);
835
+ S == null && (S = l(c)), c.overrideHeaders !== !0 && (w = r(c)), console.log(`Get all from ${S}`);
836
836
  let I;
837
837
  try {
838
838
  if (I = await fetch(S, {
@@ -844,7 +844,7 @@ function ba(e) {
844
844
  let B = await I.text();
845
845
  throw new Error(B ?? I.statusText ?? "Get all error");
846
846
  }
847
- return x ? await I.text() : r ? await I.json() : I;
847
+ return x ? await I.text() : t ? await I.json() : I;
848
848
  } catch (B) {
849
849
  if (!o)
850
850
  return I;
@@ -852,9 +852,9 @@ function ba(e) {
852
852
  }
853
853
  }
854
854
  async function L(c) {
855
- const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, r = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, x = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
855
+ const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, t = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, x = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
856
856
  let S = c.finalUrl, w = c.headers;
857
- S == null && (S = l(c)), c.overrideHeaders !== !0 && (w = t(c)), console.log(`Post to ${S}`);
857
+ S == null && (S = l(c)), c.overrideHeaders !== !0 && (w = r(c)), console.log(`Post to ${S}`);
858
858
  let I;
859
859
  try {
860
860
  if (I = await fetch(S, {
@@ -867,7 +867,7 @@ function ba(e) {
867
867
  let B = await I.text();
868
868
  throw new Error(B ?? I.statusText ?? "Post error!");
869
869
  }
870
- return x ? await I.text() : r ? await I.json() : I;
870
+ return x ? await I.text() : t ? await I.json() : I;
871
871
  } catch (B) {
872
872
  if (!o)
873
873
  return I;
@@ -877,9 +877,9 @@ function ba(e) {
877
877
  }
878
878
  }
879
879
  async function R(c) {
880
- const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, r = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, x = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
880
+ const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, t = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, x = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
881
881
  let S = c.finalUrl, w = c.headers;
882
- S == null && (S = l(c)), c.overrideHeaders !== !0 && (w = t(c)), console.log(`Patch to ${S}`);
882
+ S == null && (S = l(c)), c.overrideHeaders !== !0 && (w = r(c)), console.log(`Patch to ${S}`);
883
883
  let I;
884
884
  try {
885
885
  if (I = await fetch(S, {
@@ -892,7 +892,7 @@ function ba(e) {
892
892
  let B = await I.text();
893
893
  throw new Error(B ?? I.statusText ?? "Patch error!");
894
894
  }
895
- return x ? await I.text() : r ? await I.json() : I;
895
+ return x ? await I.text() : t ? await I.json() : I;
896
896
  } catch (B) {
897
897
  if (!o)
898
898
  return I;
@@ -903,11 +903,11 @@ function ba(e) {
903
903
  }
904
904
  async function y(c) {
905
905
  const o = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0;
906
- let r = c.finalUrl, x = c.headers;
907
- r == null && (r = l(c)), c.overrideHeaders !== !0 && (x = t(c)), console.log(`Delete ${r}`);
906
+ let t = c.finalUrl, x = c.headers;
907
+ t == null && (t = l(c)), c.overrideHeaders !== !0 && (x = r(c)), console.log(`Delete ${t}`);
908
908
  let S;
909
909
  try {
910
- return S = await fetch(r, {
910
+ return S = await fetch(t, {
911
911
  method: "DELETE",
912
912
  mode: "cors",
913
913
  cache: "no-cache",
@@ -921,7 +921,7 @@ function ba(e) {
921
921
  }
922
922
  }
923
923
  return Pr = {
924
- buildHeaders: t,
924
+ buildHeaders: r,
925
925
  buildQuery: n,
926
926
  buildUrl: l,
927
927
  deleteItem: y,
@@ -970,10 +970,10 @@ function dt() {
970
970
  return ge == null ? "" : (ge[e] ?? ge.development).auth ?? "";
971
971
  }
972
972
  function Aa(e) {
973
- const t = Jr.NODE_ENV;
973
+ const r = Jr.NODE_ENV;
974
974
  if (ge == null)
975
975
  return "";
976
- const n = ge[t] ?? ge.development;
976
+ const n = ge[r] ?? ge.development;
977
977
  return e == null ? n.data ?? "" : n.other[e] ?? n.data ?? "";
978
978
  }
979
979
  function mu() {
@@ -987,7 +987,7 @@ function vu() {
987
987
  return Lr;
988
988
  }
989
989
  function Ia(e) {
990
- const t = e.expiryTokenFormat ?? "d/MM/yyyy h:mm:ss a", n = ft("auth-credentials-state", Math.random().toString(36).substring(4, 19) + Math.random().toString(12).substring(1, 11)), l = ft("auth-credentials", {});
990
+ const r = e.expiryTokenFormat ?? "d/MM/yyyy h:mm:ss a", n = ft("auth-credentials-state", Math.random().toString(36).substring(4, 19) + Math.random().toString(12).substring(1, 11)), l = ft("auth-credentials", {});
991
991
  function s(m) {
992
992
  if (m == null)
993
993
  return !0;
@@ -1091,7 +1091,7 @@ function Ia(e) {
1091
1091
  );
1092
1092
  return JSON.parse(f);
1093
1093
  }
1094
- function r(m) {
1094
+ function t(m) {
1095
1095
  if (l.value = void 0, B(), m != null) {
1096
1096
  const D = Rt();
1097
1097
  D.currentRoute.value.name != m && D.push({ name: m });
@@ -1099,7 +1099,7 @@ function Ia(e) {
1099
1099
  }
1100
1100
  function x(m) {
1101
1101
  var g;
1102
- K(l).isLoggedIn || ((g = e.demo) == null || g.endDemo(), P() && (r(), window.location.href = R(m)));
1102
+ K(l).isLoggedIn || ((g = e.demo) == null || g.endDemo(), P() && (t(), window.location.href = R(m)));
1103
1103
  }
1104
1104
  async function S(m, D) {
1105
1105
  return e.getToken ?? (e.getToken = async () => {
@@ -1139,13 +1139,13 @@ function Ia(e) {
1139
1139
  }
1140
1140
  function _() {
1141
1141
  const m = K(l);
1142
- return m.isLoggedIn && P() && (r(), window.location.href = R()), m.isLoggedIn;
1142
+ return m.isLoggedIn && P() && (t(), window.location.href = R()), m.isLoggedIn;
1143
1143
  }
1144
1144
  function P() {
1145
1145
  const m = K(l);
1146
1146
  if (m == null || m.expiresOn == null)
1147
1147
  return !0;
1148
- const D = ie.fromFormat(m.expiresOn, t), g = ie.utc();
1148
+ const D = ie.fromFormat(m.expiresOn, r), g = ie.utc();
1149
1149
  return D <= g;
1150
1150
  }
1151
1151
  return B(), Lr = {
@@ -1162,7 +1162,7 @@ function Ia(e) {
1162
1162
  getToken: S,
1163
1163
  isLoggedIn: le(() => l.value.isLoggedIn === !0),
1164
1164
  login: x,
1165
- logout: r,
1165
+ logout: t,
1166
1166
  setAuth: w,
1167
1167
  timeZone: le(() => l.value.timeZone ?? e.defaultTimeZone ?? Xe),
1168
1168
  tryLogin: _
@@ -1189,17 +1189,17 @@ let Mr;
1189
1189
  function gu() {
1190
1190
  return Mr;
1191
1191
  }
1192
- function yu() {
1193
- const e = localStorage.getItem("cosmetics");
1194
- if (e != null && e.length > 0)
1195
- return JSON.parse(e);
1192
+ function yu(e) {
1193
+ const r = localStorage.getItem("cosmetics");
1194
+ let n;
1195
+ return r != null && r.length > 0 && (n = JSON.parse(r)), n ?? (n = {}), n.dark ?? (n.dark = e == null ? void 0 : e.dark), n.light ?? (n.light = e == null ? void 0 : e.light), n.theme ?? (n.theme = e == null ? void 0 : e.defaultTheme), n;
1196
1196
  }
1197
1197
  function xa(e) {
1198
- const t = Z({});
1198
+ const r = Z({});
1199
1199
  let n = e.vuetifyInstance;
1200
1200
  function l() {
1201
1201
  const y = localStorage.getItem("cosmetics");
1202
- y != null && y.length > 0 ? t.value = JSON.parse(y) : t.value = {
1202
+ y != null && y.length > 0 ? r.value = JSON.parse(y) : r.value = {
1203
1203
  theme: e.defaultTheme ?? "light",
1204
1204
  light: e.defaultLightTheme ?? br,
1205
1205
  dark: e.defaultDarkTheme ?? Er,
@@ -1208,50 +1208,50 @@ function xa(e) {
1208
1208
  };
1209
1209
  }
1210
1210
  function s() {
1211
- localStorage.setItem("cosmetics", JSON.stringify(t.value));
1211
+ localStorage.setItem("cosmetics", JSON.stringify(r.value));
1212
1212
  }
1213
1213
  function h(y) {
1214
- n != null && (n.global.name.value = t.value.theme, n.global.name.value == "dark" ? (y && (t.value.dark = { ...e.defaultDarkTheme ?? Er }), n.themes.value.dark = {
1214
+ n != null && (n.global.name.value = r.value.theme, n.global.name.value == "dark" ? (y && (r.value.dark = { ...e.defaultDarkTheme ?? Er }), n.themes.value.dark = {
1215
1215
  ...n.themes.value.dark,
1216
1216
  colors: {
1217
1217
  ...n.themes.value.dark.colors,
1218
- ...t.value.dark
1218
+ ...r.value.dark
1219
1219
  }
1220
- }) : (y && (t.value.light = { ...e.defaultLightTheme ?? br }), n.themes.value.light = {
1220
+ }) : (y && (r.value.light = { ...e.defaultLightTheme ?? br }), n.themes.value.light = {
1221
1221
  ...n.themes.value.light,
1222
1222
  colors: {
1223
1223
  ...n.themes.value.light.colors,
1224
- ...t.value.light
1224
+ ...r.value.light
1225
1225
  }
1226
1226
  }));
1227
1227
  }
1228
1228
  function A(y) {
1229
1229
  var c;
1230
1230
  if (n != null) {
1231
- const o = n.themes.value.dark, r = n.themes.value.light;
1232
- o.colors.primary = y, r.colors.primary = y, (c = document.querySelector('meta[name="theme-color"]')) == null || c.setAttribute("content", y);
1231
+ const o = n.themes.value.dark, t = n.themes.value.light;
1232
+ o.colors.primary = y, t.colors.primary = y, (c = document.querySelector('meta[name="theme-color"]')) == null || c.setAttribute("content", y);
1233
1233
  }
1234
1234
  }
1235
1235
  function E() {
1236
- t.value.drawer = !t.value.drawer;
1236
+ r.value.drawer = !r.value.drawer;
1237
1237
  }
1238
1238
  function T() {
1239
- t.value.drawerStick = !t.value.drawerStick;
1239
+ r.value.drawerStick = !r.value.drawerStick;
1240
1240
  }
1241
1241
  function L() {
1242
- t.value.theme = t.value.theme == "dark" ? "light" : "dark", n != null && (n.global.name.value = t.value.theme);
1242
+ r.value.theme = r.value.theme == "dark" ? "light" : "dark", n != null && (n.global.name.value = r.value.theme);
1243
1243
  }
1244
1244
  function R() {
1245
1245
  var y;
1246
1246
  if (n != null) {
1247
1247
  const c = n.themes.value.dark, o = n.themes.value.light;
1248
- c.colors.primary = (t.value.dark ?? e.defaultDarkTheme ?? Er).primary, o.colors.primary = (t.value.light ?? e.defaultLightTheme ?? br).primary, (y = document.querySelector('meta[name="theme-color"]')) == null || y.setAttribute("content", "");
1248
+ c.colors.primary = (r.value.dark ?? e.defaultDarkTheme ?? Er).primary, o.colors.primary = (r.value.light ?? e.defaultLightTheme ?? br).primary, (y = document.querySelector('meta[name="theme-color"]')) == null || y.setAttribute("content", "");
1249
1249
  }
1250
1250
  }
1251
- return l(), Ee(t, () => {
1251
+ return l(), Ee(r, () => {
1252
1252
  s();
1253
1253
  }), Mr = {
1254
- state: t,
1254
+ state: r,
1255
1255
  resetCosmetics: h,
1256
1256
  setTemporaryColor: A,
1257
1257
  // setVuetifyInstance,
@@ -1265,18 +1265,18 @@ const wu = {
1265
1265
  canExportCSV: !1
1266
1266
  };
1267
1267
  function Na() {
1268
- function e(t, n, l = "csvData.csv") {
1269
- if (!$e(t))
1268
+ function e(r, n, l = "csvData.csv") {
1269
+ if (!$e(r))
1270
1270
  return;
1271
1271
  let s = [];
1272
- n != null ? s = n == null ? void 0 : n.filter((r) => (r.csv ?? r.csvText ?? r.csvFilter ?? r.csvArray) != null).map((r) => ({
1273
- header: r.title ?? "",
1274
- itemText: r.itemText,
1275
- value: r.value
1276
- })) : s = Object.keys(t[0]).map((r) => ({ header: ca(r) ?? "", value: r })), s = s.filter((r) => r.header.length > 0);
1272
+ n != null ? s = n == null ? void 0 : n.filter((t) => (t.csv ?? t.csvText ?? t.csvFilter ?? t.csvArray) != null).map((t) => ({
1273
+ header: t.title ?? "",
1274
+ itemText: t.itemText,
1275
+ value: t.value
1276
+ })) : s = Object.keys(r[0]).map((t) => ({ header: ca(t) ?? "", value: t })), s = s.filter((t) => t.header.length > 0);
1277
1277
  var h = [];
1278
- for (let r = 0; r < t.length; r++) {
1279
- const x = t[r];
1278
+ for (let t = 0; t < r.length; t++) {
1279
+ const x = r[t];
1280
1280
  var A = {}, E = [];
1281
1281
  for (let S = 0; S < s.length; S++) {
1282
1282
  const w = s[S];
@@ -1288,10 +1288,10 @@ function Na() {
1288
1288
  }), E = [];
1289
1289
  }
1290
1290
  var L = [];
1291
- L.push(s.map((r) => r.header)), h.forEach((r) => {
1291
+ L.push(s.map((t) => t.header)), h.forEach((t) => {
1292
1292
  let x = [];
1293
1293
  s.forEach(function(S) {
1294
- var w = r[S.header];
1294
+ var w = t[S.header];
1295
1295
  x.push(w ?? "");
1296
1296
  }), L.push(x.join(","));
1297
1297
  });
@@ -1315,7 +1315,7 @@ function bu() {
1315
1315
  return Rr;
1316
1316
  }
1317
1317
  function Ta(e) {
1318
- function t() {
1318
+ function r() {
1319
1319
  var E;
1320
1320
  return ((E = l()) == null ? void 0 : E.startOf("day").toUTC().toString()) ?? "";
1321
1321
  }
@@ -1348,7 +1348,7 @@ function Ta(e) {
1348
1348
  }
1349
1349
  }
1350
1350
  return Rr = {
1351
- getToday: t,
1351
+ getToday: r,
1352
1352
  getTomorrow: n,
1353
1353
  tzDate: l,
1354
1354
  tzString: s,
@@ -1362,19 +1362,19 @@ function Eu() {
1362
1362
  }
1363
1363
  function Ca() {
1364
1364
  const e = Z(!1);
1365
- function t() {
1365
+ function r() {
1366
1366
  }
1367
1367
  function n() {
1368
1368
  }
1369
1369
  return Ur = {
1370
1370
  endDemo: n,
1371
1371
  isDemoing: e,
1372
- startDemo: t
1372
+ startDemo: r
1373
1373
  }, Ur;
1374
1374
  }
1375
1375
  var Pa = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
1376
1376
  function Su(e) {
1377
- function t(n) {
1377
+ function r(n) {
1378
1378
  var s;
1379
1379
  const l = n.matched.slice().reverse().find((h) => h.meta && h.meta.title);
1380
1380
  if (l)
@@ -1386,10 +1386,10 @@ function Su(e) {
1386
1386
  }
1387
1387
  }
1388
1388
  return {
1389
- updateMeta: t
1389
+ updateMeta: r
1390
1390
  };
1391
1391
  }
1392
- function _u(e, t, n = {}) {
1392
+ function _u(e, r, n = {}) {
1393
1393
  const {
1394
1394
  preventDefault: l = !1,
1395
1395
  stopPropagation: s = !1,
@@ -1399,7 +1399,7 @@ function _u(e, t, n = {}) {
1399
1399
  function o(U) {
1400
1400
  K(l) && U.preventDefault(), K(s) && U.stopPropagation();
1401
1401
  }
1402
- function r(U) {
1402
+ function t(U) {
1403
1403
  var g;
1404
1404
  const _ = K(e);
1405
1405
  if (!_)
@@ -1437,16 +1437,16 @@ function _u(e, t, n = {}) {
1437
1437
  function I() {
1438
1438
  if (K(c))
1439
1439
  return;
1440
- const U = K(t);
1440
+ const U = K(r);
1441
1441
  if (!U)
1442
1442
  return;
1443
1443
  const _ = U.$el;
1444
- _.style.cursor = "move", R.push(oe(_, "mousedown", r, A)), R.push(oe(_, "touchstart", r, A)), c.value = !0;
1444
+ _.style.cursor = "move", R.push(oe(_, "mousedown", t, A)), R.push(oe(_, "touchstart", t, A)), c.value = !0;
1445
1445
  }
1446
1446
  function B() {
1447
1447
  if (!K(c))
1448
1448
  return;
1449
- const U = K(t);
1449
+ const U = K(r);
1450
1450
  if (!U)
1451
1451
  return;
1452
1452
  const _ = U.$el;
@@ -1465,7 +1465,7 @@ function Au() {
1465
1465
  return Br;
1466
1466
  }
1467
1467
  function La(e) {
1468
- function t(g, f, C) {
1468
+ function r(g, f, C) {
1469
1469
  return g ? fa(g) ? C ?? "" : e.dates.tzString(g, f) : C ?? g ?? "";
1470
1470
  }
1471
1471
  function n(g) {
@@ -1487,19 +1487,19 @@ function La(e) {
1487
1487
  return f.format(g);
1488
1488
  }
1489
1489
  function s(g, f) {
1490
- return t(g, "ccc | d LLL", f);
1490
+ return r(g, "ccc | d LLL", f);
1491
1491
  }
1492
1492
  function h(g, f) {
1493
- return t(g, "d LLL", f);
1493
+ return r(g, "d LLL", f);
1494
1494
  }
1495
1495
  function A(g, f) {
1496
- return t(g, "ccc", f);
1496
+ return r(g, "ccc", f);
1497
1497
  }
1498
1498
  function E(g, f) {
1499
- return t(g, "ccc dd LLL yyyy", f);
1499
+ return r(g, "ccc dd LLL yyyy", f);
1500
1500
  }
1501
1501
  function T(g, f) {
1502
- return t(g, "ccc dd LLL @ hh:mm a", f);
1502
+ return r(g, "ccc dd LLL @ hh:mm a", f);
1503
1503
  }
1504
1504
  function L(g) {
1505
1505
  return new Intl.NumberFormat().format(g);
@@ -1519,7 +1519,7 @@ function La(e) {
1519
1519
  function o(g) {
1520
1520
  return Lt(g, !1);
1521
1521
  }
1522
- function r(g) {
1522
+ function t(g) {
1523
1523
  if (!g)
1524
1524
  return "";
1525
1525
  if (typeof g != "object")
@@ -1528,10 +1528,10 @@ function La(e) {
1528
1528
  return g.addressLineOne != null && (f = g.addressLineOne + " "), g.streetNumber != null && (f = f + g.streetNumber + " "), g.streetName != null && (f = f + g.streetName + " "), g.suburb != null && (f = f + g.suburb + " "), g.state != null && (f = f + g.state + " "), g.postcode != null && (f = f + g.postcode), f = f.replaceAll(",", " "), f;
1529
1529
  }
1530
1530
  function x(g, f) {
1531
- return t(g, "ddd DD MMM YYYY", f);
1531
+ return r(g, "ddd DD MMM YYYY", f);
1532
1532
  }
1533
1533
  function S(g, f) {
1534
- return t(g, "ccc dd LLL yyyy hh:mm a", f);
1534
+ return r(g, "ccc dd LLL yyyy hh:mm a", f);
1535
1535
  }
1536
1536
  function w(g) {
1537
1537
  var f = new Intl.NumberFormat("en-US", {
@@ -1544,13 +1544,13 @@ function La(e) {
1544
1544
  return g.replaceAll(",", " ");
1545
1545
  }
1546
1546
  function B(g, f) {
1547
- return t(g, "dd LLL yyyy", f);
1547
+ return r(g, "dd LLL yyyy", f);
1548
1548
  }
1549
1549
  function U(g, f) {
1550
- return t(g, "dd LLL yyyy hh:mm a", f);
1550
+ return r(g, "dd LLL yyyy hh:mm a", f);
1551
1551
  }
1552
1552
  function _(g, f) {
1553
- return t(g, "hh:mm a", f);
1553
+ return r(g, "hh:mm a", f);
1554
1554
  }
1555
1555
  function P(g) {
1556
1556
  return g == null ? "" : typeof g == "number" ? e.dates.tzDate().startOf("day").plus({ minutes: g }).toFormat("T") : typeof g == "string" ? e.dates.tzString(g, "t") : "unknown";
@@ -1568,7 +1568,7 @@ function La(e) {
1568
1568
  toDisplayNumberSigned: y,
1569
1569
  toFormat: c,
1570
1570
  toLocationLine: o,
1571
- toLocationLineNoCommas: r,
1571
+ toLocationLineNoCommas: t,
1572
1572
  toLongDate: x,
1573
1573
  toLongDateAndTime: S,
1574
1574
  toPercent: w,
@@ -1601,7 +1601,7 @@ var Bt = { exports: {} };
1601
1601
  https://localforage.github.io/localForage
1602
1602
  (c) 2013-2017 Mozilla, Apache License 2.0
1603
1603
  */
1604
- (function(e, t) {
1604
+ (function(e, r) {
1605
1605
  (function(n) {
1606
1606
  e.exports = n();
1607
1607
  })(function() {
@@ -1618,9 +1618,9 @@ var Bt = { exports: {} };
1618
1618
  throw c.code = "MODULE_NOT_FOUND", c;
1619
1619
  }
1620
1620
  var o = s[L] = { exports: {} };
1621
- l[L][0].call(o.exports, function(r) {
1622
- var x = l[L][1][r];
1623
- return A(x || r);
1621
+ l[L][0].call(o.exports, function(t) {
1622
+ var x = l[L][1][t];
1623
+ return A(x || t);
1624
1624
  }, o, o.exports, n, l, s, h);
1625
1625
  }
1626
1626
  return s[L].exports;
@@ -1632,7 +1632,7 @@ var Bt = { exports: {} };
1632
1632
  (function(h) {
1633
1633
  var A = h.MutationObserver || h.WebKitMutationObserver, E;
1634
1634
  if (A) {
1635
- var T = 0, L = new A(r), R = h.document.createTextNode("");
1635
+ var T = 0, L = new A(t), R = h.document.createTextNode("");
1636
1636
  L.observe(R, {
1637
1637
  characterData: !0
1638
1638
  }), E = function() {
@@ -1640,20 +1640,20 @@ var Bt = { exports: {} };
1640
1640
  };
1641
1641
  } else if (!h.setImmediate && typeof h.MessageChannel < "u") {
1642
1642
  var y = new h.MessageChannel();
1643
- y.port1.onmessage = r, E = function() {
1643
+ y.port1.onmessage = t, E = function() {
1644
1644
  y.port2.postMessage(0);
1645
1645
  };
1646
1646
  } else
1647
1647
  "document" in h && "onreadystatechange" in h.document.createElement("script") ? E = function() {
1648
1648
  var S = h.document.createElement("script");
1649
1649
  S.onreadystatechange = function() {
1650
- r(), S.onreadystatechange = null, S.parentNode.removeChild(S), S = null;
1650
+ t(), S.onreadystatechange = null, S.parentNode.removeChild(S), S = null;
1651
1651
  }, h.document.documentElement.appendChild(S);
1652
1652
  } : E = function() {
1653
- setTimeout(r, 0);
1653
+ setTimeout(t, 0);
1654
1654
  };
1655
1655
  var c, o = [];
1656
- function r() {
1656
+ function t() {
1657
1657
  c = !0;
1658
1658
  for (var S, w, I = o.length; I; ) {
1659
1659
  for (w = o, o = [], S = -1; ++S < I; )
@@ -1715,7 +1715,7 @@ var Bt = { exports: {} };
1715
1715
  });
1716
1716
  }
1717
1717
  E.resolve = function(_, P) {
1718
- var m = S(r, P);
1718
+ var m = S(t, P);
1719
1719
  if (m.status === "error")
1720
1720
  return E.reject(_, m.value);
1721
1721
  var D = m.value;
@@ -1733,7 +1733,7 @@ var Bt = { exports: {} };
1733
1733
  _.queue[m].callRejected(P);
1734
1734
  return _;
1735
1735
  };
1736
- function r(_) {
1736
+ function t(_) {
1737
1737
  var P = _ && _.then;
1738
1738
  if (_ && (typeof _ == "object" || typeof _ == "function") && typeof P == "function")
1739
1739
  return function() {
@@ -1880,7 +1880,7 @@ var Bt = { exports: {} };
1880
1880
  function o(a, i, u) {
1881
1881
  typeof i == "function" && a.then(i), typeof u == "function" && a.catch(u);
1882
1882
  }
1883
- function r(a) {
1883
+ function t(a) {
1884
1884
  return typeof a != "string" && (console.warn(a + " used as a key, but it is not a string."), a = String(a)), a;
1885
1885
  }
1886
1886
  function x() {
@@ -2084,7 +2084,7 @@ var Bt = { exports: {} };
2084
2084
  }
2085
2085
  function we(a, i) {
2086
2086
  var u = this;
2087
- a = r(a);
2087
+ a = t(a);
2088
2088
  var v = new y(function(b, d) {
2089
2089
  u.ready().then(function() {
2090
2090
  re(u._dbInfo, U, function(N, M) {
@@ -2136,7 +2136,7 @@ var Bt = { exports: {} };
2136
2136
  }
2137
2137
  function Pe(a, i, u) {
2138
2138
  var v = this;
2139
- a = r(a);
2139
+ a = t(a);
2140
2140
  var b = new y(function(d, N) {
2141
2141
  var M;
2142
2142
  v.ready().then(function() {
@@ -2167,7 +2167,7 @@ var Bt = { exports: {} };
2167
2167
  }
2168
2168
  function lr(a, i) {
2169
2169
  var u = this;
2170
- a = r(a);
2170
+ a = t(a);
2171
2171
  var v = new y(function(b, d) {
2172
2172
  u.ready().then(function() {
2173
2173
  re(u._dbInfo, _, function(N, M) {
@@ -2502,7 +2502,7 @@ var Bt = { exports: {} };
2502
2502
  }
2503
2503
  function Ht(a, i) {
2504
2504
  var u = this;
2505
- a = r(a);
2505
+ a = t(a);
2506
2506
  var v = new y(function(b, d) {
2507
2507
  u.ready().then(function() {
2508
2508
  var N = u._dbInfo;
@@ -2542,7 +2542,7 @@ var Bt = { exports: {} };
2542
2542
  }
2543
2543
  function rt(a, i, u, v) {
2544
2544
  var b = this;
2545
- a = r(a);
2545
+ a = t(a);
2546
2546
  var d = new y(function(N, M) {
2547
2547
  b.ready().then(function() {
2548
2548
  i === void 0 && (i = null);
@@ -2573,7 +2573,7 @@ var Bt = { exports: {} };
2573
2573
  }
2574
2574
  function Yt(a, i) {
2575
2575
  var u = this;
2576
- a = r(a);
2576
+ a = t(a);
2577
2577
  var v = new y(function(b, d) {
2578
2578
  u.ready().then(function() {
2579
2579
  var N = u._dbInfo;
@@ -2761,7 +2761,7 @@ var Bt = { exports: {} };
2761
2761
  }
2762
2762
  function ln(a, i) {
2763
2763
  var u = this;
2764
- a = r(a);
2764
+ a = t(a);
2765
2765
  var v = u.ready().then(function() {
2766
2766
  var b = u._dbInfo, d = localStorage.getItem(b.keyPrefix + a);
2767
2767
  return d && (d = b.serializer.deserialize(d)), d;
@@ -2811,7 +2811,7 @@ var Bt = { exports: {} };
2811
2811
  }
2812
2812
  function hn(a, i) {
2813
2813
  var u = this;
2814
- a = r(a);
2814
+ a = t(a);
2815
2815
  var v = u.ready().then(function() {
2816
2816
  var b = u._dbInfo;
2817
2817
  localStorage.removeItem(b.keyPrefix + a);
@@ -2820,7 +2820,7 @@ var Bt = { exports: {} };
2820
2820
  }
2821
2821
  function dn(a, i, u) {
2822
2822
  var v = this;
2823
- a = r(a);
2823
+ a = t(a);
2824
2824
  var b = v.ready().then(function() {
2825
2825
  i === void 0 && (i = null);
2826
2826
  var d = i;
@@ -3058,7 +3058,7 @@ function Du() {
3058
3058
  h.removeItem(T);
3059
3059
  });
3060
3060
  }
3061
- async function t(s) {
3061
+ async function r(s) {
3062
3062
  return await he().getItem(s);
3063
3063
  }
3064
3064
  async function n(s) {
@@ -3069,21 +3069,21 @@ function Du() {
3069
3069
  }
3070
3070
  return {
3071
3071
  clearAsync: e,
3072
- getAsync: t,
3072
+ getAsync: r,
3073
3073
  removeAsync: n,
3074
3074
  saveAsync: l
3075
3075
  };
3076
3076
  }
3077
3077
  var Ra = !1;
3078
- function er(e, t, n) {
3079
- return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
3078
+ function er(e, r, n) {
3079
+ return Array.isArray(e) ? (e.length = Math.max(e.length, r), e.splice(r, 1, n), n) : (e[r] = n, n);
3080
3080
  }
3081
- function Sr(e, t) {
3081
+ function Sr(e, r) {
3082
3082
  if (Array.isArray(e)) {
3083
- e.splice(t, 1);
3083
+ e.splice(r, 1);
3084
3084
  return;
3085
3085
  }
3086
- delete e[t];
3086
+ delete e[r];
3087
3087
  }
3088
3088
  /*!
3089
3089
  * pinia v2.1.7
@@ -3103,9 +3103,9 @@ var Ge;
3103
3103
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
3104
3104
  })(Ge || (Ge = {}));
3105
3105
  const Kr = typeof window < "u", _r = (process.env.NODE_ENV !== "production" || !1) && process.env.NODE_ENV !== "test" && Kr;
3106
- function Ft(e, t) {
3107
- for (const n in t) {
3108
- const l = t[n];
3106
+ function Ft(e, r) {
3107
+ for (const n in r) {
3108
+ const l = r[n];
3109
3109
  if (!(n in e))
3110
3110
  continue;
3111
3111
  const s = e[n];
@@ -3115,26 +3115,26 @@ function Ft(e, t) {
3115
3115
  }
3116
3116
  const kt = () => {
3117
3117
  };
3118
- function mt(e, t, n, l = kt) {
3119
- e.push(t);
3118
+ function mt(e, r, n, l = kt) {
3119
+ e.push(r);
3120
3120
  const s = () => {
3121
- const h = e.indexOf(t);
3121
+ const h = e.indexOf(r);
3122
3122
  h > -1 && (e.splice(h, 1), l());
3123
3123
  };
3124
3124
  return !n && xt() && Nt(s), s;
3125
3125
  }
3126
- function Be(e, ...t) {
3126
+ function Be(e, ...r) {
3127
3127
  e.slice().forEach((n) => {
3128
- n(...t);
3128
+ n(...r);
3129
3129
  });
3130
3130
  }
3131
3131
  const Ba = (e) => e();
3132
- function $r(e, t) {
3133
- e instanceof Map && t instanceof Map && t.forEach((n, l) => e.set(l, n)), e instanceof Set && t instanceof Set && t.forEach(e.add, e);
3134
- for (const n in t) {
3135
- if (!t.hasOwnProperty(n))
3132
+ function $r(e, r) {
3133
+ e instanceof Map && r instanceof Map && r.forEach((n, l) => e.set(l, n)), e instanceof Set && r instanceof Set && r.forEach(e.add, e);
3134
+ for (const n in r) {
3135
+ if (!r.hasOwnProperty(n))
3136
3136
  continue;
3137
- const l = t[n], s = e[n];
3137
+ const l = r[n], s = e[n];
3138
3138
  Ce(s) && Ce(l) && e.hasOwnProperty(n) && !qe(l) && !Hr(l) ? e[n] = $r(s, l) : e[n] = l;
3139
3139
  }
3140
3140
  return e;
@@ -3150,8 +3150,8 @@ const { assign: ve } = Object;
3150
3150
  function vt(e) {
3151
3151
  return !!(qe(e) && e.effect);
3152
3152
  }
3153
- function gt(e, t, n, l) {
3154
- const { state: s, actions: h, getters: A } = t, E = n.state.value[e];
3153
+ function gt(e, r, n, l) {
3154
+ const { state: s, actions: h, getters: A } = r, E = n.state.value[e];
3155
3155
  let T;
3156
3156
  function L() {
3157
3157
  !E && (process.env.NODE_ENV === "production" || !l) && (n.state.value[e] = s ? s() : {});
@@ -3165,9 +3165,9 @@ function gt(e, t, n, l) {
3165
3165
  return A[c].call(o, o);
3166
3166
  })), y), {}));
3167
3167
  }
3168
- return T = Fr(e, L, t, n, l, !0), T;
3168
+ return T = Fr(e, L, r, n, l, !0), T;
3169
3169
  }
3170
- function Fr(e, t, n = {}, l, s, h) {
3170
+ function Fr(e, r, n = {}, l, s, h) {
3171
3171
  let A;
3172
3172
  const E = ve({ actions: {} }, n);
3173
3173
  if (process.env.NODE_ENV !== "production" && !l._e.active)
@@ -3180,8 +3180,8 @@ function Fr(e, t, n = {}, l, s, h) {
3180
3180
  L ? o = f : L == !1 && !m._hotUpdating && (Array.isArray(o) ? o.push(f) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
3181
3181
  });
3182
3182
  let L, R, y = [], c = [], o;
3183
- const r = l.state.value[e];
3184
- !h && !r && (process.env.NODE_ENV === "production" || !s) && (l.state.value[e] = {});
3183
+ const t = l.state.value[e];
3184
+ !h && !t && (process.env.NODE_ENV === "production" || !s) && (l.state.value[e] = {});
3185
3185
  const x = Z({});
3186
3186
  let S;
3187
3187
  function w(f) {
@@ -3275,11 +3275,11 @@ function Fr(e, t, n = {}, l, s, h) {
3275
3275
  // setupStore
3276
3276
  ) : P);
3277
3277
  l._s.set(e, m);
3278
- const g = (l._a && l._a.runWithContext || Ba)(() => l._e.run(() => (A = Mn()).run(t)));
3278
+ const g = (l._a && l._a.runWithContext || Ba)(() => l._e.run(() => (A = Mn()).run(r)));
3279
3279
  for (const f in g) {
3280
3280
  const C = g[f];
3281
3281
  if (qe(C) && !vt(C) || Hr(C))
3282
- process.env.NODE_ENV !== "production" && s ? er(x.value, f, tr(g, f)) : h || (r && Fa(C) && (qe(C) ? C.value = r[f] : $r(C, r[f])), l.state.value[e][f] = C), process.env.NODE_ENV !== "production" && _.state.push(f);
3282
+ process.env.NODE_ENV !== "production" && s ? er(x.value, f, tr(g, f)) : h || (t && Fa(C) && (qe(C) ? C.value = t[f] : $r(C, t[f])), l.state.value[e][f] = C), process.env.NODE_ENV !== "production" && _.state.push(f);
3283
3283
  else if (typeof C == "function") {
3284
3284
  const G = process.env.NODE_ENV !== "production" && s ? C : U(f, C);
3285
3285
  g[f] = G, process.env.NODE_ENV !== "production" && (_.actions[f] = C), E.actions[f] = C;
@@ -3356,13 +3356,13 @@ function Fr(e, t, n = {}, l, s, h) {
3356
3356
  })));
3357
3357
  }), process.env.NODE_ENV !== "production" && m.$state && typeof m.$state == "object" && typeof m.$state.constructor == "function" && !m.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
3358
3358
  state: () => new MyClass()
3359
- Found in store "${m.$id}".`), r && h && n.hydrate && n.hydrate(m.$state, r), L = !0, R = !0, m;
3359
+ Found in store "${m.$id}".`), t && h && n.hydrate && n.hydrate(m.$state, t), L = !0, R = !0, m;
3360
3360
  }
3361
- function Vt(e, t, n) {
3361
+ function Vt(e, r, n) {
3362
3362
  let l, s;
3363
- const h = typeof t == "function";
3363
+ const h = typeof r == "function";
3364
3364
  if (typeof e == "string")
3365
- l = e, s = h ? n : t;
3365
+ l = e, s = h ? n : r;
3366
3366
  else if (s = e, l = e.id, process.env.NODE_ENV !== "production" && typeof l != "string")
3367
3367
  throw new Error('[🍍]: "defineStore()" must be passed a store id as its first argument.');
3368
3368
  function A(E, T) {
@@ -3373,10 +3373,10 @@ function Vt(e, t, n) {
3373
3373
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
3374
3374
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
3375
3375
  This will fail in production.`);
3376
- E = je, E._s.has(l) || (h ? Fr(l, t, s, E) : gt(l, s, E), process.env.NODE_ENV !== "production" && (A._pinia = E));
3376
+ E = je, E._s.has(l) || (h ? Fr(l, r, s, E) : gt(l, s, E), process.env.NODE_ENV !== "production" && (A._pinia = E));
3377
3377
  const R = E._s.get(l);
3378
3378
  if (process.env.NODE_ENV !== "production" && T) {
3379
- const y = "__hot:" + l, c = h ? Fr(y, t, s, E, !0) : gt(y, ve({}, s), E, !0);
3379
+ const y = "__hot:" + l, c = h ? Fr(y, r, s, E, !0) : gt(y, ve({}, s), E, !0);
3380
3380
  T._hotUpdate(c), delete E.state.value[y], E._s.delete(y);
3381
3381
  }
3382
3382
  if (process.env.NODE_ENV !== "production" && Kr) {
@@ -3407,33 +3407,33 @@ function Wt(e) {
3407
3407
  return Va(e);
3408
3408
  }
3409
3409
  const ka = (e) => {
3410
- let t = K(e.url) ?? void 0;
3411
- if (e.additionalUrl != null && (t == null ? t = e.additionalUrl : t = Te(t, e.additionalUrl)), e.id != null && (t != null && t.includes("{id}") ? t = t.replaceAll("{id}", e.id) : t = Te(t, e.id)), e.params != null) {
3412
- t ?? (t = "");
3410
+ let r = K(e.url) ?? void 0;
3411
+ if (e.additionalUrl != null && (r == null ? r = e.additionalUrl : r = Te(r, e.additionalUrl)), e.id != null && (r != null && r.includes("{id}") ? r = r.replaceAll("{id}", e.id) : r = Te(r, e.id)), e.params != null) {
3412
+ r ?? (r = "");
3413
3413
  let n = new URLSearchParams();
3414
3414
  Object.entries(e.params).sort(He.firstBy((s) => s[0])).forEach((s) => {
3415
3415
  s[1] != null && n.append(s[0], s[1].toString());
3416
- }), t = `${t}?${n.toString()}`;
3416
+ }), r = `${r}?${n.toString()}`;
3417
3417
  }
3418
- return e.finalUrl = t, e.finalUrl ?? "";
3418
+ return e.finalUrl = r, e.finalUrl ?? "";
3419
3419
  };
3420
3420
  function Va(e) {
3421
3421
  return Vt(e.storeName, () => {
3422
3422
  var o;
3423
- const t = ie.utc().toSeconds() / 86400, n = Z({}), l = Z({}), s = e.storageMode == "local-cache", h = e.buildUrl ?? ((o = e.api) == null ? void 0 : o.buildUrl) ?? ka;
3424
- function A(r) {
3423
+ const r = ie.utc().toSeconds() / 86400, n = Z({}), l = Z({}), s = e.storageMode == "local-cache", h = e.buildUrl ?? ((o = e.api) == null ? void 0 : o.buildUrl) ?? ka;
3424
+ function A(t) {
3425
3425
  var x, S;
3426
- return `${e.storeName}_${((x = e.auth) == null ? void 0 : x.credentials.value.userID) ?? "no-user-id"}_${r.id ?? ((S = r.data) == null ? void 0 : S.id) ?? "no-item-id"}`;
3426
+ return `${e.storeName}_${((x = e.auth) == null ? void 0 : x.credentials.value.userID) ?? "no-user-id"}_${t.id ?? ((S = t.data) == null ? void 0 : S.id) ?? "no-item-id"}`;
3427
3427
  }
3428
- async function E(r) {
3428
+ async function E(t) {
3429
3429
  var I;
3430
- r.additionalUrl ?? (r.additionalUrl = "/getAll");
3431
- const x = h(r), S = `${e.storeName}_${((I = e.auth) == null ? void 0 : I.credentials.value.userID) ?? "no-user-id"}_${x}`, w = r.refresh;
3430
+ t.additionalUrl ?? (t.additionalUrl = "/getAll");
3431
+ const x = h(t), S = `${e.storeName}_${((I = e.auth) == null ? void 0 : I.credentials.value.userID) ?? "no-user-id"}_${x}`, w = t.refresh;
3432
3432
  if (!w && n.value[S] !== void 0)
3433
3433
  return n.value[S] ?? null;
3434
3434
  if (!w && s == !0) {
3435
3435
  const B = await he().getItem(S);
3436
- if (B != null && (e.api == null || parseFloat(B.meta.storedOn) > t - 7))
3436
+ if (B != null && (e.api == null || parseFloat(B.meta.storedOn) > r - 7))
3437
3437
  return n.value[S] = B, B;
3438
3438
  }
3439
3439
  if (e.api == null)
@@ -3443,9 +3443,9 @@ function Va(e) {
3443
3443
  B == null && (B = new Promise(async (_, P) => {
3444
3444
  var m;
3445
3445
  try {
3446
- let D = await ((m = e.api) == null ? void 0 : m.getAll(r));
3446
+ let D = await ((m = e.api) == null ? void 0 : m.getAll(t));
3447
3447
  s == !0 && await he().setItem(S, {
3448
- meta: { storedOn: t },
3448
+ meta: { storedOn: r },
3449
3449
  ...D
3450
3450
  }), _(D);
3451
3451
  } catch (D) {
@@ -3461,14 +3461,14 @@ function Va(e) {
3461
3461
  throw new Error(U.message ?? "Problem");
3462
3462
  }
3463
3463
  }
3464
- async function T(r) {
3465
- r.additionalUrl ?? (r.additionalUrl = "/get");
3466
- const x = A(r), S = r.refresh;
3464
+ async function T(t) {
3465
+ t.additionalUrl ?? (t.additionalUrl = "/get");
3466
+ const x = A(t), S = t.refresh;
3467
3467
  if (!S && n.value[x] !== void 0)
3468
3468
  return n.value[x] ?? [];
3469
3469
  if (!S && s == !0) {
3470
3470
  const w = await he().getItem(x);
3471
- if (w != null && (e.api == null || parseFloat(w.meta.storedOn) > t - 7))
3471
+ if (w != null && (e.api == null || parseFloat(w.meta.storedOn) > r - 7))
3472
3472
  return n.value[x] = w, w;
3473
3473
  }
3474
3474
  if (e.api == null)
@@ -3478,9 +3478,9 @@ function Va(e) {
3478
3478
  w == null && (w = new Promise(async (B, U) => {
3479
3479
  var _;
3480
3480
  try {
3481
- let P = await ((_ = e.api) == null ? void 0 : _.get(r));
3481
+ let P = await ((_ = e.api) == null ? void 0 : _.get(t));
3482
3482
  s == !0 && await he().setItem(x, {
3483
- meta: { storedOn: t },
3483
+ meta: { storedOn: r },
3484
3484
  ...P
3485
3485
  }), B(P);
3486
3486
  } catch (P) {
@@ -3496,24 +3496,24 @@ function Va(e) {
3496
3496
  throw new Error(I.message ?? "Problem");
3497
3497
  }
3498
3498
  }
3499
- async function L(r) {
3500
- r.additionalUrl ?? (r.additionalUrl = "/patch");
3501
- const x = A(r);
3499
+ async function L(t) {
3500
+ t.additionalUrl ?? (t.additionalUrl = "/patch");
3501
+ const x = A(t);
3502
3502
  let S;
3503
3503
  if (e.api != null)
3504
3504
  try {
3505
- let w = await e.api.patch(r);
3505
+ let w = await e.api.patch(t);
3506
3506
  S = w == null ? void 0 : w.data;
3507
3507
  } catch (w) {
3508
3508
  let I = w;
3509
3509
  throw new Error(I.message ?? "Patch Problem");
3510
3510
  }
3511
3511
  else
3512
- S = r.data;
3512
+ S = t.data;
3513
3513
  if (S != null) {
3514
3514
  const w = n.value[x];
3515
3515
  w != null && (w.data = { ...w.data, ...S }, s == !0 && await he().setItem(x, {
3516
- meta: { storedOn: t },
3516
+ meta: { storedOn: r },
3517
3517
  ...w
3518
3518
  })), S.id != null && S.rowVersion != null && Object.entries(n.value).forEach((B) => {
3519
3519
  let U = B[1];
@@ -3529,31 +3529,31 @@ function Va(e) {
3529
3529
  }
3530
3530
  return S;
3531
3531
  }
3532
- async function R(r) {
3533
- r.additionalUrl ?? (r.additionalUrl = "/post");
3534
- const x = A(r);
3532
+ async function R(t) {
3533
+ t.additionalUrl ?? (t.additionalUrl = "/post");
3534
+ const x = A(t);
3535
3535
  let S;
3536
3536
  if (e.api != null)
3537
3537
  try {
3538
- let w = await e.api.post(r);
3538
+ let w = await e.api.post(t);
3539
3539
  S = w == null ? void 0 : w.data;
3540
3540
  } catch (w) {
3541
3541
  let I = w;
3542
3542
  throw new Error(I.message ?? "Patch Problem");
3543
3543
  }
3544
3544
  else
3545
- S = r.data;
3545
+ S = t.data;
3546
3546
  return n.value[x] = {
3547
- meta: { storedOn: t },
3547
+ meta: { storedOn: r },
3548
3548
  data: S
3549
3549
  }, s == !0 && await he().setItem(x, n.value[x]), S;
3550
3550
  }
3551
- async function y(r) {
3552
- r.additionalUrl ?? (r.additionalUrl = "/delete");
3553
- const x = A(r);
3551
+ async function y(t) {
3552
+ t.additionalUrl ?? (t.additionalUrl = "/delete");
3553
+ const x = A(t);
3554
3554
  if (e.api != null)
3555
3555
  try {
3556
- let S = await e.api.deleteItem(r);
3556
+ let S = await e.api.deleteItem(t);
3557
3557
  if (S != null)
3558
3558
  return S;
3559
3559
  } catch (S) {
@@ -3562,10 +3562,10 @@ function Va(e) {
3562
3562
  }
3563
3563
  delete n.value[x], s == !0 && await he().removeItem(x);
3564
3564
  }
3565
- async function c(r) {
3566
- if (r.additionalUrl ?? (r.additionalUrl = `/patch/restore?id=${r.data.id}`), h(r), e.api != null)
3565
+ async function c(t) {
3566
+ if (t.additionalUrl ?? (t.additionalUrl = `/patch/restore?id=${t.data.id}`), h(t), e.api != null)
3567
3567
  try {
3568
- let x = await e.api.patch(r);
3568
+ let x = await e.api.patch(t);
3569
3569
  return x == null ? void 0 : x.data;
3570
3570
  } catch (x) {
3571
3571
  let S = x;
@@ -3586,7 +3586,7 @@ function Va(e) {
3586
3586
  }
3587
3587
  function yt(e) {
3588
3588
  return Vt(e.storeName, () => {
3589
- const t = Z(), n = Z(0), l = ie.utc().toSeconds() / 3600, s = Z(), h = Z(), A = Z({}), E = e.storageMode == "local-cache";
3589
+ const r = Z(), n = Z(0), l = ie.utc().toSeconds() / 3600, s = Z(), h = Z(), A = Z({}), E = e.storageMode == "local-cache";
3590
3590
  function T() {
3591
3591
  var w;
3592
3592
  return `${e.storeName}_${((w = e.auth) == null ? void 0 : w.credentials.value.userID) ?? "no-user-id"}`;
@@ -3594,7 +3594,7 @@ function yt(e) {
3594
3594
  async function L() {
3595
3595
  E == !0 && await he().setItem(T(), {
3596
3596
  meta: h.value,
3597
- data: t.value,
3597
+ data: r.value,
3598
3598
  count: n.value,
3599
3599
  filters: []
3600
3600
  });
@@ -3611,11 +3611,11 @@ function yt(e) {
3611
3611
  lastUpdate: ((_ = h.value) == null ? void 0 : _.lastUpdate) ?? sa()
3612
3612
  }
3613
3613
  }));
3614
- m == null ? U(m) : (t.value ?? (t.value = []), m.data.forEach((D) => {
3614
+ m == null ? U(m) : (r.value ?? (r.value = []), m.data.forEach((D) => {
3615
3615
  var f, C;
3616
- const g = t.value.findIndex((G) => G.id == D.id);
3617
- g >= 0 ? (f = t.value) == null || f.splice(g, 1, D) : (C = t.value) == null || C.push(D);
3618
- }), n.value = t.value.length, h.value = {
3616
+ const g = r.value.findIndex((G) => G.id == D.id);
3617
+ g >= 0 ? (f = r.value) == null || f.splice(g, 1, D) : (C = r.value) == null || C.push(D);
3618
+ }), n.value = r.value.length, h.value = {
3619
3619
  lastUpdate: ie.utc().toString(),
3620
3620
  storedOn: l.toString()
3621
3621
  }, await L(), B(m));
@@ -3629,28 +3629,28 @@ function yt(e) {
3629
3629
  async function y(w) {
3630
3630
  var U, _, P;
3631
3631
  const I = T(), B = w.refresh;
3632
- if (w.nav ?? (w.nav = e.storeName), !B && t.value != null)
3632
+ if (w.nav ?? (w.nav = e.storeName), !B && r.value != null)
3633
3633
  return {
3634
- count: (U = t.value) == null ? void 0 : U.length,
3635
- data: t.value,
3634
+ count: (U = r.value) == null ? void 0 : U.length,
3635
+ data: r.value,
3636
3636
  filters: []
3637
3637
  };
3638
3638
  if (!B && E == !0) {
3639
3639
  const m = await he().getItem(I);
3640
3640
  if (m != null && parseFloat(m.meta.storedOn) > l - 12)
3641
- return t.value = m.data, n.value = m.data.length, s.value = m.filters ?? [], h.value = m.meta, {
3642
- count: (_ = t.value) == null ? void 0 : _.length,
3643
- data: t.value,
3641
+ return r.value = m.data, n.value = m.data.length, s.value = m.filters ?? [], h.value = m.meta, {
3642
+ count: (_ = r.value) == null ? void 0 : _.length,
3643
+ data: r.value,
3644
3644
  filters: []
3645
3645
  };
3646
3646
  }
3647
3647
  if (e.api == null)
3648
3648
  return {
3649
- count: (P = t.value) == null ? void 0 : P.length,
3650
- data: t.value ?? [],
3649
+ count: (P = r.value) == null ? void 0 : P.length,
3650
+ data: r.value ?? [],
3651
3651
  filters: s.value
3652
3652
  };
3653
- t.value ?? (t.value = []);
3653
+ r.value ?? (r.value = []);
3654
3654
  try {
3655
3655
  return await R(w);
3656
3656
  } catch (m) {
@@ -3661,26 +3661,26 @@ function yt(e) {
3661
3661
  async function c(w) {
3662
3662
  var U, _;
3663
3663
  const I = T(), B = w.refresh;
3664
- if (w.nav ?? (w.nav = e.storeName), !B && t.value != null)
3664
+ if (w.nav ?? (w.nav = e.storeName), !B && r.value != null)
3665
3665
  return {
3666
- data: t.value.find((P) => P.id == w.id)
3666
+ data: r.value.find((P) => P.id == w.id)
3667
3667
  };
3668
3668
  if (!B && E == !0) {
3669
3669
  const P = await he().getItem(I);
3670
3670
  if (P != null && parseFloat(P.meta.storedOn) > l - 12) {
3671
- t.value = P.data, n.value = P.data.length, s.value = P.filters ?? [], h.value = P.meta;
3672
- let m = t.value.find((D) => D.id == w.id);
3671
+ r.value = P.data, n.value = P.data.length, s.value = P.filters ?? [], h.value = P.meta;
3672
+ let m = r.value.find((D) => D.id == w.id);
3673
3673
  if (m != null)
3674
3674
  return { data: m };
3675
3675
  }
3676
3676
  }
3677
3677
  if (e.api == null)
3678
3678
  return {
3679
- data: (U = t.value) == null ? void 0 : U.find((P) => P.id == w.id)
3679
+ data: (U = r.value) == null ? void 0 : U.find((P) => P.id == w.id)
3680
3680
  };
3681
- t.value ?? (t.value = []);
3681
+ r.value ?? (r.value = []);
3682
3682
  try {
3683
- return await R(w), { data: (_ = t.value) == null ? void 0 : _.find((P) => P.id == w.id) };
3683
+ return await R(w), { data: (_ = r.value) == null ? void 0 : _.find((P) => P.id == w.id) };
3684
3684
  } catch (P) {
3685
3685
  let m = P;
3686
3686
  throw new Error(m.message ?? "Problem");
@@ -3701,12 +3701,12 @@ function yt(e) {
3701
3701
  else
3702
3702
  I = w.data;
3703
3703
  if (I != null) {
3704
- let P = (B = t.value) == null ? void 0 : B.findIndex((m) => m.id == I.id);
3705
- P != null && P >= 0 && (t.value ?? (t.value = []), (U = t.value) == null || U.splice(P, 1, I), await L());
3704
+ let P = (B = r.value) == null ? void 0 : B.findIndex((m) => m.id == I.id);
3705
+ P != null && P >= 0 && (r.value ?? (r.value = []), (U = r.value) == null || U.splice(P, 1, I), await L());
3706
3706
  }
3707
- return (_ = t.value) == null ? void 0 : _.find((P) => P.id == (w.id ?? w.data.id));
3707
+ return (_ = r.value) == null ? void 0 : _.find((P) => P.id == (w.id ?? w.data.id));
3708
3708
  }
3709
- async function r(w) {
3709
+ async function t(w) {
3710
3710
  var B, U;
3711
3711
  w.additionalUrl ?? (w.additionalUrl = "/post"), w.nav ?? (w.nav = e.storeName);
3712
3712
  let I;
@@ -3720,7 +3720,7 @@ function yt(e) {
3720
3720
  }
3721
3721
  else
3722
3722
  I = w.data;
3723
- return I != null && (t.value ?? (t.value = []), (B = t.value) == null || B.unshift(I), n.value += 1, await L()), (U = t.value) == null ? void 0 : U.find((_) => _.id == (w.id ?? w.data.id));
3723
+ return I != null && (r.value ?? (r.value = []), (B = r.value) == null || B.unshift(I), n.value += 1, await L()), (U = r.value) == null ? void 0 : U.find((_) => _.id == (w.id ?? w.data.id));
3724
3724
  }
3725
3725
  async function x(w) {
3726
3726
  var B, U;
@@ -3735,8 +3735,8 @@ function yt(e) {
3735
3735
  }
3736
3736
  const I = w.id ?? w.data.id;
3737
3737
  if (I != null) {
3738
- let _ = (B = t.value) == null ? void 0 : B.findIndex((P) => P.id == I);
3739
- _ != null && _ >= 0 && (t.value ?? (t.value = []), (U = t.value) == null || U.splice(_, 1), await L());
3738
+ let _ = (B = r.value) == null ? void 0 : B.findIndex((P) => P.id == I);
3739
+ _ != null && _ >= 0 && (r.value ?? (r.value = []), (U = r.value) == null || U.splice(_, 1), await L());
3740
3740
  }
3741
3741
  }
3742
3742
  async function S(w) {
@@ -3754,19 +3754,19 @@ function yt(e) {
3754
3754
  let U = B;
3755
3755
  throw new Error(U.message ?? "Problem");
3756
3756
  }
3757
- return (I = t.value) == null ? void 0 : I.find((B) => B.id == (w.id ?? w.data.id));
3757
+ return (I = r.value) == null ? void 0 : I.find((B) => B.id == (w.id ?? w.data.id));
3758
3758
  }
3759
3759
  return {
3760
3760
  deleteItem: x,
3761
3761
  get: c,
3762
3762
  getAll: y,
3763
3763
  patch: o,
3764
- post: r,
3764
+ post: t,
3765
3765
  restore: S
3766
3766
  };
3767
3767
  });
3768
3768
  }
3769
- function xu(e, t, n) {
3769
+ function xu(e, r, n) {
3770
3770
  var Me;
3771
3771
  const l = e.storeMode ?? (n == null ? void 0 : n.storeMode) ?? "session", s = e.storageMode ?? (n == null ? void 0 : n.storageMode) ?? "local-cache", h = e.nav ?? e.nav ?? "basic", A = Na(), E = Rt(), T = _a(), L = Z(1), R = K(e.customFilters) ?? [], y = Z([]);
3772
3772
  let c = Z(new Array());
@@ -3774,7 +3774,7 @@ function xu(e, t, n) {
3774
3774
  ...R.filter((j) => j.name != null).map((j) => j.name),
3775
3775
  ...e.defaultFilters ?? [],
3776
3776
  ...y.value
3777
- ]).value), r = Z((e.defaultFilters ?? []).map((j) => o.value.indexOf(j))), x = le(() => ct(c, r).value.length > 0 || ct(r, c).value.length > 0), S = K(e.proxyQueryKey), w = le(() => {
3777
+ ]).value), t = Z((e.defaultFilters ?? []).map((j) => o.value.indexOf(j))), x = le(() => ct(c, t).value.length > 0 || ct(t, c).value.length > 0), S = K(e.proxyQueryKey), w = le(() => {
3778
3778
  var j;
3779
3779
  return K(e.proxyID) ?? (S != null ? (j = T.query) == null ? void 0 : j[S] : void 0);
3780
3780
  }), I = K(e.searchQueryKey), B = Z(I != null ? (Me = T.query) == null ? void 0 : Me[I] : void 0), U = Z(K(e.startShowingInactive) ?? !1), _ = Z(K(e.sortOrder)), P = le(() => [
@@ -3845,7 +3845,7 @@ function xu(e, t, n) {
3845
3845
  proxyID: w.value,
3846
3846
  // ...(useBladeSrc ? bladeData.value : {}),
3847
3847
  requireConfirmation: !0
3848
- }), t && t("deleted", j);
3848
+ }), r && r("deleted", j);
3849
3849
  }
3850
3850
  function or(j) {
3851
3851
  H({
@@ -3908,7 +3908,7 @@ function xu(e, t, n) {
3908
3908
  }
3909
3909
  function Ze(j, te) {
3910
3910
  const Q = K(j);
3911
- if (Q != null && Q === f && e.canUnselect ? f = null : f = Q, t != null && t("select", f), !(!e.canSelect || e.onCanSelectItem != null && !e.onCanSelectItem(Q)))
3911
+ if (Q != null && Q === f && e.canUnselect ? f = null : f = Q, r != null && r("select", f), !(!e.canSelect || e.onCanSelectItem != null && !e.onCanSelectItem(Q)))
3912
3912
  if (e.onSelectItem != null)
3913
3913
  e.onSelectItem(f);
3914
3914
  else {
@@ -3958,7 +3958,7 @@ function xu(e, t, n) {
3958
3958
  refresh: Ne,
3959
3959
  restoreItem: or,
3960
3960
  searchString: B,
3961
- selectedFilters: r,
3961
+ selectedFilters: t,
3962
3962
  selectItem: Ze,
3963
3963
  serverFilters: y,
3964
3964
  showError: re,
@@ -3978,7 +3978,7 @@ function Nu() {
3978
3978
  return kr;
3979
3979
  }
3980
3980
  function Wa(e) {
3981
- const t = e.defaultCacheExpiryHours ?? 7;
3981
+ const r = e.defaultCacheExpiryHours ?? 7;
3982
3982
  e.getDisplayName ?? (e.getDisplayName = (c) => {
3983
3983
  if (c.displayName != null)
3984
3984
  return c.displayName;
@@ -3995,7 +3995,7 @@ function Wa(e) {
3995
3995
  }
3996
3996
  function s(c) {
3997
3997
  var o;
3998
- return ((o = E(c)) == null ? void 0 : o.cacheExpiryHours) ?? t;
3998
+ return ((o = E(c)) == null ? void 0 : o.cacheExpiryHours) ?? r;
3999
3999
  }
4000
4000
  function h(c) {
4001
4001
  var o;
@@ -4006,25 +4006,25 @@ function Wa(e) {
4006
4006
  return (o = E(c)) == null ? void 0 : o.icon;
4007
4007
  }
4008
4008
  function E(c) {
4009
- return c == null ? null : typeof c != "string" ? c : Mt(n, (r) => r.children).find((r) => {
4009
+ return c == null ? null : typeof c != "string" ? c : Mt(n, (t) => t.children).find((t) => {
4010
4010
  var x;
4011
- return r.name == c || r.singleName == c || ((x = r.aliases) == null ? void 0 : x.some((S) => S == c));
4011
+ return t.name == c || t.singleName == c || ((x = t.aliases) == null ? void 0 : x.some((S) => S == c));
4012
4012
  }) ?? null;
4013
4013
  }
4014
4014
  function T(c) {
4015
4015
  const o = E(c);
4016
4016
  if (o == null)
4017
4017
  return;
4018
- let r = Aa(o.microservice ?? "default") ?? "";
4019
- return o.path != null && (r = Te(r, o.path)), r != null && r.endsWith("/") && (r = r.slice(0, r.length - 1)), r;
4018
+ let t = Aa(o.microservice ?? "default") ?? "";
4019
+ return o.path != null && (t = Te(t, o.path)), t != null && t.endsWith("/") && (t = t.slice(0, t.length - 1)), t;
4020
4020
  }
4021
4021
  function L(c) {
4022
4022
  const o = E(c);
4023
4023
  if ((o == null ? void 0 : o.singleName) != null)
4024
4024
  return o.singleName;
4025
- const r = o == null ? void 0 : o.displayName;
4026
- if (r != null)
4027
- return r.endsWith("ies") ? r.slice(0, r.length - 3) : r.endsWith("es") ? r.slice(0, r.length - 2) : r.endsWith("s") ? r.slice(0, r.length - 1) : r;
4025
+ const t = o == null ? void 0 : o.displayName;
4026
+ if (t != null)
4027
+ return t.endsWith("ies") ? t.slice(0, t.length - 3) : t.endsWith("es") ? t.slice(0, t.length - 2) : t.endsWith("s") ? t.slice(0, t.length - 1) : t;
4028
4028
  }
4029
4029
  function R(c) {
4030
4030
  const o = E(c);
@@ -4034,8 +4034,8 @@ function Wa(e) {
4034
4034
  if (c == null)
4035
4035
  return;
4036
4036
  const o = typeof c == "string" ? E(c) : c;
4037
- Et.value = o == null ? void 0 : o.background, bt.value = (o == null ? void 0 : o.hideNavigation) !== !0, wt.value = (o == null ? void 0 : o.hideAppBar) !== !0, Dr != null && Dr(), Ar.value = (o == null ? void 0 : o.hesitate) === !0, Ar.value && (Dr = window.addEventListener("beforeunload", (r) => {
4038
- r.preventDefault();
4037
+ Et.value = o == null ? void 0 : o.background, bt.value = (o == null ? void 0 : o.hideNavigation) !== !0, wt.value = (o == null ? void 0 : o.hideAppBar) !== !0, Dr != null && Dr(), Ar.value = (o == null ? void 0 : o.hesitate) === !0, Ar.value && (Dr = window.addEventListener("beforeunload", (t) => {
4038
+ t.preventDefault();
4039
4039
  }));
4040
4040
  }
4041
4041
  return kr = {
@@ -4060,14 +4060,14 @@ function Tu(e) {
4060
4060
  return Vr.usePresets(e);
4061
4061
  }
4062
4062
  function ja(e) {
4063
- function t(n) {
4063
+ function r(n) {
4064
4064
  if (!n)
4065
4065
  return {};
4066
4066
  let l = n;
4067
4067
  return e.presets[l] ?? {};
4068
4068
  }
4069
4069
  return Vr = {
4070
- usePresets: t
4070
+ usePresets: r
4071
4071
  }, Vr;
4072
4072
  }
4073
4073
  let St, _t, At, Dt = !1;
@@ -4080,7 +4080,7 @@ function Ga() {
4080
4080
  function e(A) {
4081
4081
  rr.value = A.detail, xr.value = !0;
4082
4082
  }
4083
- function t() {
4083
+ function r() {
4084
4084
  Dt || (Dt = !0, window.location.reload());
4085
4085
  }
4086
4086
  function n() {
@@ -4097,7 +4097,7 @@ function Ga() {
4097
4097
  xr.value = !1, !(!rr.value || !rr.value.waiting) && rr.value.waiting.postMessage({ type: "SKIP_WAITING" });
4098
4098
  }
4099
4099
  return zr(() => {
4100
- St == null && (St = document.addEventListener("swUpdated", e, { once: !0 })), _t == null && (_t = navigator.serviceWorker.addEventListener("controllerchange", t)), At == null && (At = window.addEventListener("beforeinstallprompt", s));
4100
+ St == null && (St = document.addEventListener("swUpdated", e, { once: !0 })), _t == null && (_t = navigator.serviceWorker.addEventListener("controllerchange", r)), At == null && (At = window.addEventListener("beforeinstallprompt", s));
4101
4101
  }), Wr = {
4102
4102
  canInstallApp: Ir,
4103
4103
  canUpdateApp: xr,
@@ -4107,10 +4107,10 @@ function Ga() {
4107
4107
  }, Wr;
4108
4108
  }
4109
4109
  const qa = ["t", "r", "b", "l", "tr", "br", "bl", "tl"];
4110
- function Pu(e, t = {}) {
4111
- let n, l = t.handleWidth ?? 12, s = t.handleZIndex ?? 100, h = t.minWidth ?? 0, A = t.maxWidth ?? Number.MAX_SAFE_INTEGER, E = t.minHeight ?? 0, T = t.maxHeight ?? Number.MAX_SAFE_INTEGER, L = t.preventDefault ?? !1, R = t.stopPropagation ?? !1, y, c = [];
4110
+ function Pu(e, r = {}) {
4111
+ let n, l = r.handleWidth ?? 12, s = r.handleZIndex ?? 100, h = r.minWidth ?? 0, A = r.maxWidth ?? Number.MAX_SAFE_INTEGER, E = r.minHeight ?? 0, T = r.maxHeight ?? Number.MAX_SAFE_INTEGER, L = r.preventDefault ?? !1, R = r.stopPropagation ?? !1, y, c = [];
4112
4112
  const o = Z(!1);
4113
- let r = [], x = [];
4113
+ let t = [], x = [];
4114
4114
  const S = Z(!1), w = Z({ x: 0, y: 0 });
4115
4115
  let I = { left: 0, top: 0, height: 0, width: 0, position: "absolute" }, B = {};
4116
4116
  function U(W) {
@@ -4139,7 +4139,7 @@ function Pu(e, t = {}) {
4139
4139
  top: V.offsetTop,
4140
4140
  height: parseInt(window.getComputedStyle(V).getPropertyValue("height")),
4141
4141
  width: parseInt(window.getComputedStyle(V).getPropertyValue("width"))
4142
- }, B = Yr(I), ((fe = t.onStart) == null ? void 0 : fe.call(t, w.value, W)) === !1)
4142
+ }, B = Yr(I), ((fe = r.onStart) == null ? void 0 : fe.call(r, w.value, W)) === !1)
4143
4143
  return;
4144
4144
  let re = W.target;
4145
4145
  document.documentElement.style.cursor = C(re.dataset.handle), y = re.dataset.handle, x.push(oe("mousemove", g)), x.push(oe("mouseup", f)), x.push(oe("touchmove", g)), x.push(oe("touchend", f)), U(W);
@@ -4241,15 +4241,15 @@ function Pu(e, t = {}) {
4241
4241
  if (S.value)
4242
4242
  return;
4243
4243
  const V = ae(e);
4244
- V && (_(V, W ?? qa), G(H), r.push(oe(V.$el, "mousedown", D)), r.push(oe(V.$el, "touchstart", D)), S.value = !0, n = H);
4244
+ V && (_(V, W ?? qa), G(H), t.push(oe(V.$el, "mousedown", D)), t.push(oe(V.$el, "touchstart", D)), S.value = !0, n = H);
4245
4245
  }
4246
4246
  function ye(W) {
4247
4247
  if (!S.value)
4248
4248
  return;
4249
4249
  const H = ae(e);
4250
- H && (P(H), G(W), r.forEach((V) => {
4250
+ H && (P(H), G(W), t.forEach((V) => {
4251
4251
  V();
4252
- }), r.length = 0, S.value = !1);
4252
+ }), t.length = 0, S.value = !1);
4253
4253
  }
4254
4254
  return {
4255
4255
  resizingIsOn: S,
@@ -4258,21 +4258,21 @@ function Pu(e, t = {}) {
4258
4258
  };
4259
4259
  }
4260
4260
  function Lu(e) {
4261
- const t = [];
4262
- return (e == null ? void 0 : e.required) == !0 && t.push((n) => !!n || "Field is required"), (e == null ? void 0 : e.otherRules) != null && (Array.isArray(e == null ? void 0 : e.otherRules) ? t.push(...e.otherRules) : t.push(e.otherRules)), (e == null ? void 0 : e.forPassword) == !0 && (t.push((n) => !!n || "Password is required"), t.push((n) => n != null && n.length > 9 || "Password must be 10 or more characters"), t.push((n) => /^(.*[a-z].*)$/.test(n) || "Password must contain a lowercase letter"), t.push((n) => /^(.*[A-Z].*)$/.test(n) || "Password must contain an uppercase letter"), t.push((n) => /^(.*\d.*)$/.test(n) || "Password must contain a number")), (e == null ? void 0 : e.forEmail) == !0 && (t.push((n) => !!n || "Email is required"), t.push((n) => ya(n) || "Email must be valid")), t;
4261
+ const r = [];
4262
+ return (e == null ? void 0 : e.required) == !0 && r.push((n) => !!n || "Field is required"), (e == null ? void 0 : e.otherRules) != null && (Array.isArray(e == null ? void 0 : e.otherRules) ? r.push(...e.otherRules) : r.push(e.otherRules)), (e == null ? void 0 : e.forPassword) == !0 && (r.push((n) => !!n || "Password is required"), r.push((n) => n != null && n.length > 9 || "Password must be 10 or more characters"), r.push((n) => /^(.*[a-z].*)$/.test(n) || "Password must contain a lowercase letter"), r.push((n) => /^(.*[A-Z].*)$/.test(n) || "Password must contain an uppercase letter"), r.push((n) => /^(.*\d.*)$/.test(n) || "Password must contain a number")), (e == null ? void 0 : e.forEmail) == !0 && (r.push((n) => !!n || "Email is required"), r.push((n) => ya(n) || "Email must be valid")), r;
4263
4263
  }
4264
- function Mu(e, t) {
4264
+ function Mu(e, r) {
4265
4265
  const n = Z(!1), l = tr(e);
4266
4266
  let s = h(K(e));
4267
- (t == null ? void 0 : t.useTracker) !== !1 && Ee(l, (E) => {
4267
+ (r == null ? void 0 : r.useTracker) !== !1 && Ee(l, (E) => {
4268
4268
  n.value = h(E) != s;
4269
4269
  }, { deep: !0 });
4270
4270
  function h(E) {
4271
4271
  const T = Yr(E);
4272
- return t != null && (t.propsToIgnore != null ? t.propsToIgnore.forEach((L) => {
4272
+ return r != null && (r.propsToIgnore != null ? r.propsToIgnore.forEach((L) => {
4273
4273
  delete T[L];
4274
- }) : t.propsToTrack != null && Object.keys(E).forEach((R) => {
4275
- t.propsToTrack.some((y) => y == R) || delete T[R];
4274
+ }) : r.propsToTrack != null && Object.keys(E).forEach((R) => {
4275
+ r.propsToTrack.some((y) => y == R) || delete T[R];
4276
4276
  })), JSON.stringify(T);
4277
4277
  }
4278
4278
  function A() {
@@ -4286,9 +4286,9 @@ function Mu(e, t) {
4286
4286
  }
4287
4287
  function Ru(e) {
4288
4288
  return {
4289
- install(t, n) {
4289
+ install(r, n) {
4290
4290
  var E;
4291
- console.log(t), e.vuetifyInstance ?? (e.vuetifyInstance = n.vuetifyInstance), xa(e);
4291
+ console.log(r), e.vuetifyInstance ?? (e.vuetifyInstance = n.vuetifyInstance), xa(e);
4292
4292
  const l = Ca(), s = Wa(e);
4293
4293
  ja(e), (E = e.auth).demo ?? (E.demo = l), e.auth.getAuthItem = s.findItem;
4294
4294
  const h = Ia(e.auth);