bt-core-app 1.4.28 → 1.4.30

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.
Files changed (2) hide show
  1. package/dist/bt-core-app.js +1102 -1128
  2. package/package.json +1 -1
@@ -1,201 +1,202 @@
1
- import { onMounted as Tr, nextTick as at, computed as le, watch as Se, unref as rn, getCurrentInstance as ut, getCurrentScope as tn, onScopeDispose as nn, ref as Y, readonly as an, customRef as un, shallowRef as De, onUpdated as ln, toValue as J, inject as lt, toRef as cn } from "vue";
2
- import { DateTime as ce } from "luxon";
3
- import { defineStore as ct } from "pinia";
4
- function fn(e, t) {
5
- let a, i, h;
1
+ import { onMounted as Tr, nextTick as rt, computed as le, watch as Se, unref as Xt, getCurrentInstance as tt, getCurrentScope as Ot, onScopeDispose as pt, ref as Y, readonly as en, customRef as rn, shallowRef as De, onUpdated as tn, toValue as J, toRef as nn } from "vue";
2
+ import { DateTime as ie } from "luxon";
3
+ import { useRouter as nt, useRoute as an } from "vue-router";
4
+ import { defineStore as at } from "pinia";
5
+ function un(e, t) {
6
+ let a, c, h;
6
7
  const d = Y(!0), x = () => {
7
8
  d.value = !0, h();
8
9
  };
9
10
  Se(e, x, { flush: "sync" });
10
- const E = typeof t == "function" ? t : t.get, N = typeof t == "function" ? void 0 : t.set, U = un(($, y) => (i = $, h = y, {
11
+ const A = typeof t == "function" ? t : t.get, C = typeof t == "function" ? void 0 : t.set, U = rn(($, y) => (c = $, h = y, {
11
12
  get() {
12
- return d.value && (a = E(), d.value = !1), i(), a;
13
+ return d.value && (a = A(), d.value = !1), c(), a;
13
14
  },
14
15
  set(l) {
15
- N == null || N(l);
16
+ C == null || C(l);
16
17
  }
17
18
  }));
18
19
  return Object.isExtensible(U) && (U.trigger = x), U;
19
20
  }
20
- function sn(e) {
21
- return tn() ? (nn(e), !0) : !1;
21
+ function ln(e) {
22
+ return Ot() ? (pt(e), !0) : !1;
22
23
  }
23
24
  function ne(e) {
24
- return typeof e == "function" ? e() : rn(e);
25
+ return typeof e == "function" ? e() : Xt(e);
25
26
  }
26
- const on = typeof window < "u" && typeof document < "u";
27
+ const cn = typeof window < "u" && typeof document < "u";
27
28
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
28
- const hn = Object.prototype.toString, dn = (e) => hn.call(e) === "[object Object]", vr = () => {
29
+ const fn = Object.prototype.toString, sn = (e) => fn.call(e) === "[object Object]", vr = () => {
29
30
  };
30
- function mn(e, t) {
31
- function a(...i) {
31
+ function on(e, t) {
32
+ function a(...c) {
32
33
  return new Promise((h, d) => {
33
- Promise.resolve(e(() => t.apply(this, i), { fn: t, thisArg: this, args: i })).then(h).catch(d);
34
+ Promise.resolve(e(() => t.apply(this, c), { fn: t, thisArg: this, args: c })).then(h).catch(d);
34
35
  });
35
36
  }
36
37
  return a;
37
38
  }
38
- const it = (e) => e();
39
- function vn(e, t = {}) {
40
- let a, i, h = vr;
41
- const d = (E) => {
42
- clearTimeout(E), h(), h = vr;
39
+ const ut = (e) => e();
40
+ function hn(e, t = {}) {
41
+ let a, c, h = vr;
42
+ const d = (A) => {
43
+ clearTimeout(A), h(), h = vr;
43
44
  };
44
- return (E) => {
45
- const N = ne(e), U = ne(t.maxWait);
46
- return a && d(a), N <= 0 || U !== void 0 && U <= 0 ? (i && (d(i), i = null), Promise.resolve(E())) : new Promise(($, y) => {
47
- h = t.rejectOnCancel ? y : $, U && !i && (i = setTimeout(() => {
48
- a && d(a), i = null, $(E());
45
+ return (A) => {
46
+ const C = ne(e), U = ne(t.maxWait);
47
+ return a && d(a), C <= 0 || U !== void 0 && U <= 0 ? (c && (d(c), c = null), Promise.resolve(A())) : new Promise(($, y) => {
48
+ h = t.rejectOnCancel ? y : $, U && !c && (c = setTimeout(() => {
49
+ a && d(a), c = null, $(A());
49
50
  }, U)), a = setTimeout(() => {
50
- i && d(i), i = null, $(E());
51
- }, N);
51
+ c && d(c), c = null, $(A());
52
+ }, C);
52
53
  });
53
54
  };
54
55
  }
55
- function gn(e = it) {
56
+ function dn(e = ut) {
56
57
  const t = Y(!0);
57
58
  function a() {
58
59
  t.value = !1;
59
60
  }
60
- function i() {
61
+ function c() {
61
62
  t.value = !0;
62
63
  }
63
64
  const h = (...d) => {
64
65
  t.value && e(...d);
65
66
  };
66
- return { isActive: an(t), pause: a, resume: i, eventFilter: h };
67
+ return { isActive: en(t), pause: a, resume: c, eventFilter: h };
67
68
  }
68
- function yn(e) {
69
- return e || ut();
69
+ function mn(e) {
70
+ return e || tt();
70
71
  }
71
- function ft(e, t, a = {}) {
72
+ function lt(e, t, a = {}) {
72
73
  const {
73
- eventFilter: i = it,
74
+ eventFilter: c = ut,
74
75
  ...h
75
76
  } = a;
76
77
  return Se(
77
78
  e,
78
- mn(
79
- i,
79
+ on(
80
+ c,
80
81
  t
81
82
  ),
82
83
  h
83
84
  );
84
85
  }
85
- function wn(e, t, a = {}) {
86
+ function vn(e, t, a = {}) {
86
87
  const {
87
- eventFilter: i,
88
+ eventFilter: c,
88
89
  ...h
89
- } = a, { eventFilter: d, pause: x, resume: E, isActive: N } = gn(i);
90
- return { stop: ft(
90
+ } = a, { eventFilter: d, pause: x, resume: A, isActive: C } = dn(c);
91
+ return { stop: lt(
91
92
  e,
92
93
  t,
93
94
  {
94
95
  ...h,
95
96
  eventFilter: d
96
97
  }
97
- ), pause: x, resume: E, isActive: N };
98
+ ), pause: x, resume: A, isActive: C };
98
99
  }
99
100
  function Cr(e, t = !0, a) {
100
- yn() ? Tr(e, a) : t ? e() : at(e);
101
+ mn() ? Tr(e, a) : t ? e() : rt(e);
101
102
  }
102
- function bn(e, t) {
103
+ function gn(e, t) {
103
104
  return e === t;
104
105
  }
105
- function qr(...e) {
106
+ function Vr(...e) {
106
107
  var t;
107
- const a = e[0], i = e[1];
108
- let h = (t = e[2]) != null ? t : bn;
108
+ const a = e[0], c = e[1];
109
+ let h = (t = e[2]) != null ? t : gn;
109
110
  if (typeof h == "string") {
110
111
  const d = h;
111
- h = (x, E) => x[d] === E[d];
112
+ h = (x, A) => x[d] === A[d];
112
113
  }
113
- return le(() => ne(a).filter((d) => ne(i).findIndex((x) => h(d, x)) === -1));
114
+ return le(() => ne(a).filter((d) => ne(c).findIndex((x) => h(d, x)) === -1));
114
115
  }
115
- function Sn(e) {
116
+ function yn(e) {
116
117
  return Array.from(new Set(e));
117
118
  }
118
- function En(e, t) {
119
- return e.reduce((a, i) => (a.some((h) => t(i, h, e)) || a.push(i), a), []);
119
+ function wn(e, t) {
120
+ return e.reduce((a, c) => (a.some((h) => t(c, h, e)) || a.push(c), a), []);
120
121
  }
121
- function An(e, t) {
122
+ function bn(e, t) {
122
123
  return le(() => {
123
- const a = ne(e).map((i) => ne(i));
124
- return t ? En(a, t) : Sn(a);
124
+ const a = ne(e).map((c) => ne(c));
125
+ return t ? wn(a, t) : yn(a);
125
126
  });
126
127
  }
127
- function st(e, t, a) {
128
- let i = a != null && a.immediate ? [] : [...e instanceof Function ? e() : Array.isArray(e) ? e : ne(e)];
128
+ function it(e, t, a) {
129
+ let c = a != null && a.immediate ? [] : [...e instanceof Function ? e() : Array.isArray(e) ? e : ne(e)];
129
130
  return Se(e, (h, d, x) => {
130
- const E = Array.from({ length: i.length }), N = [];
131
+ const A = Array.from({ length: c.length }), C = [];
131
132
  for (const $ of h) {
132
133
  let y = !1;
133
- for (let l = 0; l < i.length; l++)
134
- if (!E[l] && $ === i[l]) {
135
- E[l] = !0, y = !0;
134
+ for (let l = 0; l < c.length; l++)
135
+ if (!A[l] && $ === c[l]) {
136
+ A[l] = !0, y = !0;
136
137
  break;
137
138
  }
138
- y || N.push($);
139
+ y || C.push($);
139
140
  }
140
- const U = i.filter(($, y) => !E[y]);
141
- t(h, i, N, U, x), i = [...h];
141
+ const U = c.filter(($, y) => !A[y]);
142
+ t(h, c, C, U, x), c = [...h];
142
143
  }, a);
143
144
  }
144
- function In(e, t, a = {}) {
145
+ function Sn(e, t, a = {}) {
145
146
  const {
146
- debounce: i = 0,
147
+ debounce: c = 0,
147
148
  maxWait: h = void 0,
148
149
  ...d
149
150
  } = a;
150
- return ft(
151
+ return lt(
151
152
  e,
152
153
  t,
153
154
  {
154
155
  ...d,
155
- eventFilter: vn(i, { maxWait: h })
156
+ eventFilter: hn(c, { maxWait: h })
156
157
  }
157
158
  );
158
159
  }
159
- function Nr(e) {
160
+ function Lr(e) {
160
161
  var t;
161
162
  const a = ne(e);
162
163
  return (t = a == null ? void 0 : a.$el) != null ? t : a;
163
164
  }
164
- const gr = on ? window : void 0;
165
+ const gr = cn ? window : void 0;
165
166
  function oe(...e) {
166
- let t, a, i, h;
167
- if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([a, i, h] = e, t = gr) : [t, a, i, h] = e, !t)
167
+ let t, a, c, h;
168
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([a, c, h] = e, t = gr) : [t, a, c, h] = e, !t)
168
169
  return vr;
169
- Array.isArray(a) || (a = [a]), Array.isArray(i) || (i = [i]);
170
+ Array.isArray(a) || (a = [a]), Array.isArray(c) || (c = [c]);
170
171
  const d = [], x = () => {
171
172
  d.forEach(($) => $()), d.length = 0;
172
- }, E = ($, y, l, o) => ($.addEventListener(y, l, o), () => $.removeEventListener(y, l, o)), N = Se(
173
- () => [Nr(t), ne(h)],
173
+ }, A = ($, y, l, o) => ($.addEventListener(y, l, o), () => $.removeEventListener(y, l, o)), C = Se(
174
+ () => [Lr(t), ne(h)],
174
175
  ([$, y]) => {
175
176
  if (x(), !$)
176
177
  return;
177
- const l = dn(y) ? { ...y } : y;
178
+ const l = sn(y) ? { ...y } : y;
178
179
  d.push(
179
- ...a.flatMap((o) => i.map((r) => E($, o, r, l)))
180
+ ...a.flatMap((o) => c.map((r) => A($, o, r, l)))
180
181
  );
181
182
  },
182
183
  { immediate: !0, flush: "post" }
183
184
  ), U = () => {
184
- N(), x();
185
+ C(), x();
185
186
  };
186
- return sn(U), U;
187
+ return ln(U), U;
187
188
  }
188
- const Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, qe = "__vueuse_ssr_handlers__", _n = /* @__PURE__ */ Dn();
189
- function Dn() {
190
- return qe in Ve || (Ve[qe] = Ve[qe] || {}), Ve[qe];
189
+ const qe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ve = "__vueuse_ssr_handlers__", En = /* @__PURE__ */ An();
190
+ function An() {
191
+ return Ve in qe || (qe[Ve] = qe[Ve] || {}), qe[Ve];
191
192
  }
192
- function xn(e, t) {
193
- return _n[e] || t;
193
+ function In(e, t) {
194
+ return En[e] || t;
194
195
  }
195
- function Tn(e) {
196
+ function _n(e) {
196
197
  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";
197
198
  }
198
- const Cn = {
199
+ const Dn = {
199
200
  boolean: {
200
201
  read: (e) => e === "true",
201
202
  write: (e) => String(e)
@@ -229,13 +230,13 @@ const Cn = {
229
230
  write: (e) => e.toISOString()
230
231
  }
231
232
  }, Hr = "vueuse-storage";
232
- function zr(e, t, a, i = {}) {
233
+ function zr(e, t, a, c = {}) {
233
234
  var h;
234
235
  const {
235
236
  flush: d = "pre",
236
237
  deep: x = !0,
237
- listenToStorageChanges: E = !0,
238
- writeDefaults: N = !0,
238
+ listenToStorageChanges: A = !0,
239
+ writeDefaults: C = !0,
239
240
  mergeDefaults: U = !1,
240
241
  shallow: $,
241
242
  window: y = gr,
@@ -244,10 +245,10 @@ function zr(e, t, a, i = {}) {
244
245
  console.error(w);
245
246
  },
246
247
  initOnMounted: r
247
- } = i, T = ($ ? De : Y)(typeof t == "function" ? t() : t);
248
+ } = c, T = ($ ? De : Y)(typeof t == "function" ? t() : t);
248
249
  if (!a)
249
250
  try {
250
- a = xn("getDefaultStorage", () => {
251
+ a = In("getDefaultStorage", () => {
251
252
  var w;
252
253
  return (w = gr) == null ? void 0 : w.localStorage;
253
254
  })();
@@ -256,46 +257,46 @@ function zr(e, t, a, i = {}) {
256
257
  }
257
258
  if (!a)
258
259
  return T;
259
- const b = ne(t), g = Tn(b), _ = (h = i.serializer) != null ? h : Cn[g], { pause: B, resume: P } = wn(
260
+ const b = ne(t), g = _n(b), _ = (h = c.serializer) != null ? h : Dn[g], { pause: B, resume: P } = vn(
260
261
  T,
261
- () => C(T.value),
262
+ () => L(T.value),
262
263
  { flush: d, deep: x, eventFilter: l }
263
264
  );
264
- y && E && Cr(() => {
265
+ y && A && Cr(() => {
265
266
  oe(y, "storage", I), oe(y, Hr, m), r && I();
266
267
  }), r || I();
267
- function A(w, q) {
268
+ function E(w, V) {
268
269
  y && y.dispatchEvent(new CustomEvent(Hr, {
269
270
  detail: {
270
271
  key: e,
271
272
  oldValue: w,
272
- newValue: q,
273
+ newValue: V,
273
274
  storageArea: a
274
275
  }
275
276
  }));
276
277
  }
277
- function C(w) {
278
+ function L(w) {
278
279
  try {
279
- const q = a.getItem(e);
280
+ const V = a.getItem(e);
280
281
  if (w == null)
281
- A(q, null), a.removeItem(e);
282
+ E(V, null), a.removeItem(e);
282
283
  else {
283
284
  const H = _.write(w);
284
- q !== H && (a.setItem(e, H), A(q, H));
285
+ V !== H && (a.setItem(e, H), E(V, H));
285
286
  }
286
- } catch (q) {
287
- o(q);
287
+ } catch (V) {
288
+ o(V);
288
289
  }
289
290
  }
290
291
  function S(w) {
291
- const q = w ? w.newValue : a.getItem(e);
292
- if (q == null)
293
- return N && b != null && a.setItem(e, _.write(b)), b;
292
+ const V = w ? w.newValue : a.getItem(e);
293
+ if (V == null)
294
+ return C && b != null && a.setItem(e, _.write(b)), b;
294
295
  if (!w && U) {
295
- const H = _.read(q);
296
+ const H = _.read(V);
296
297
  return typeof U == "function" ? U(H, b) : g === "object" && !Array.isArray(H) ? { ...b, ...H } : H;
297
298
  } else
298
- return typeof q != "string" ? q : _.read(q);
299
+ return typeof V != "string" ? V : _.read(V);
299
300
  }
300
301
  function I(w) {
301
302
  if (!(w && w.storageArea !== a)) {
@@ -307,10 +308,10 @@ function zr(e, t, a, i = {}) {
307
308
  B();
308
309
  try {
309
310
  (w == null ? void 0 : w.newValue) !== _.write(T.value) && (T.value = S(w));
310
- } catch (q) {
311
- o(q);
311
+ } catch (V) {
312
+ o(V);
312
313
  } finally {
313
- w ? at(P) : P();
314
+ w ? rt(P) : P();
314
315
  }
315
316
  }
316
317
  }
@@ -320,75 +321,75 @@ function zr(e, t, a, i = {}) {
320
321
  }
321
322
  return T;
322
323
  }
323
- function Nn(e) {
324
- const t = ut(), a = fn(
324
+ function xn(e) {
325
+ const t = tt(), a = un(
325
326
  () => null,
326
- () => e ? Nr(e) : t.proxy.$el
327
+ () => e ? Lr(e) : t.proxy.$el
327
328
  );
328
- return ln(a.trigger), Tr(a.trigger), a;
329
+ return tn(a.trigger), Tr(a.trigger), a;
329
330
  }
330
- function Ln(e = Nn()) {
331
+ function Tn(e = xn()) {
331
332
  const t = De(), a = () => {
332
- const i = Nr(e);
333
- i && (t.value = i.parentElement);
333
+ const c = Lr(e);
334
+ c && (t.value = c.parentElement);
334
335
  };
335
336
  return Cr(a), Se(() => ne(e), a), t;
336
337
  }
337
- function Mn(e) {
338
- return (e || "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx").replace(/[xy]/g, Pn);
338
+ function Cn(e) {
339
+ return (e || "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx").replace(/[xy]/g, Ln);
339
340
  }
340
- function Pn(e) {
341
+ function Ln(e) {
341
342
  const t = Math.random() * 16 | 0;
342
343
  return (e == "x" ? t : t & 3 | 8).toString(16);
343
344
  }
344
- function Rn(e) {
345
- const t = Y([]), a = De(), i = De(), h = De(), d = le(() => a.value != null);
345
+ function Nn(e) {
346
+ const t = Y([]), a = De(), c = De(), h = De(), d = le(() => a.value != null);
346
347
  function x(y) {
347
348
  t.value = t.value.filter((l) => l.id != y);
348
349
  }
349
- function E(y) {
350
+ function A(y) {
350
351
  const l = {
351
- id: Mn(),
352
+ id: Cn(),
352
353
  msg: y ?? "Loading"
353
354
  };
354
355
  return t.value.push(l), l.id;
355
356
  }
356
- function N(y) {
357
- y != null && (i.value = y.toString());
357
+ function C(y) {
358
+ y != null && (c.value = y.toString());
358
359
  }
359
360
  function U() {
360
- i.value = void 0;
361
+ c.value = void 0;
361
362
  }
362
363
  async function $(y, l) {
363
364
  const o = { ...l };
364
365
  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);
365
- const r = E(o.loadingMsg);
366
+ const r = A(o.loadingMsg);
366
367
  let T = null;
367
368
  try {
368
369
  return o.requireConfirmation || o.confirmationMsg, T = await y(), o.completionMsg != null && (h.value = o.completionMsg), T;
369
370
  } catch (b) {
370
371
  if (o.throwError == !0)
371
372
  return T;
372
- N(o.errorMsg ?? b ?? "error");
373
+ C(o.errorMsg ?? b ?? "error");
373
374
  } finally {
374
375
  x(r);
375
376
  }
376
377
  }
377
- return st(t, (y) => {
378
+ return it(t, (y) => {
378
379
  a.value = y.length > 0 ? y[0].msg : void 0;
379
380
  }, { deep: !0 }), {
380
- actionErrorMsg: i,
381
+ actionErrorMsg: c,
381
382
  actionLoadingMsg: a,
382
383
  actionCompleteMsg: h,
383
384
  clearErrors: U,
384
385
  doAction: $,
385
386
  isLoading: d,
386
- logError: N
387
+ logError: C
387
388
  };
388
389
  }
389
- function Bn(e) {
390
- const { actionErrorMsg: t, actionLoadingMsg: a, clearErrors: i, isLoading: h, doAction: d, logError: x } = Rn(e);
391
- function E(r) {
390
+ function Mn(e) {
391
+ const { actionErrorMsg: t, actionLoadingMsg: a, clearErrors: c, isLoading: h, doAction: d, logError: x } = Nn(e);
392
+ function A(r) {
392
393
  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);
393
394
  const T = (r == null ? void 0 : r.store) ?? (e == null ? void 0 : e.store);
394
395
  return r.nav != null && T != null && (r.onDeleteAsync ?? (r.onDeleteAsync = () => T().deleteItem(r))), d(async () => {
@@ -403,7 +404,7 @@ function Bn(e) {
403
404
  throwError: r.throwError ?? (e == null ? void 0 : e.throwError)
404
405
  });
405
406
  }
406
- function N(r) {
407
+ function C(r) {
407
408
  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);
408
409
  const T = (r == null ? void 0 : r.store) ?? (e == null ? void 0 : e.store);
409
410
  return r.nav != null && T != null && (r.onGetAsync ?? (r.onGetAsync = async () => (await T().get(r)).data)), d(async () => {
@@ -482,11 +483,11 @@ function Bn(e) {
482
483
  apiPost: l,
483
484
  actionLoadingMsg: a,
484
485
  actionErrorMsg: t,
485
- clearErrors: i,
486
- deleteItem: E,
486
+ clearErrors: c,
487
+ deleteItem: A,
487
488
  doAction: d,
488
489
  getAllItems: U,
489
- getItem: N,
490
+ getItem: C,
490
491
  isLoading: h,
491
492
  logError: x,
492
493
  restoreItem: $,
@@ -494,7 +495,7 @@ function Bn(e) {
494
495
  };
495
496
  }
496
497
  var He = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
497
- function Un(e) {
498
+ function Pn(e) {
498
499
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
499
500
  }
500
501
  var $e = function() {
@@ -512,11 +513,11 @@ var $e = function() {
512
513
  };
513
514
  }
514
515
  if (h.length === 1) {
515
- var E = h, N = d.ignoreCase ? t : e, U = d.cmp || function(y, l) {
516
+ var A = h, C = d.ignoreCase ? t : e, U = d.cmp || function(y, l) {
516
517
  return y < l ? -1 : y > l ? 1 : 0;
517
518
  };
518
519
  h = function(y, l) {
519
- return U(N(E(y)), N(E(l)));
520
+ return U(C(A(y)), C(A(l)));
520
521
  };
521
522
  }
522
523
  const $ = { "-1": "", desc: "" };
@@ -524,38 +525,38 @@ var $e = function() {
524
525
  return -h(y, l);
525
526
  } : h;
526
527
  }
527
- function i(h, d) {
528
- var x = typeof this == "function" && !this.firstBy ? this : !1, E = a(h, d), N = x ? function(U, $) {
529
- return x(U, $) || E(U, $);
530
- } : E;
531
- return N.thenBy = i, N;
528
+ function c(h, d) {
529
+ var x = typeof this == "function" && !this.firstBy ? this : !1, A = a(h, d), C = x ? function(U, $) {
530
+ return x(U, $) || A(U, $);
531
+ } : A;
532
+ return C.thenBy = c, C;
532
533
  }
533
- return i.firstBy = i, i;
534
+ return c.firstBy = c, c;
534
535
  }();
535
536
  function Te(e, t) {
536
- let a = e ?? "", i = t ?? "";
537
+ let a = e ?? "", c = t ?? "";
537
538
  if (a.endsWith("/"))
538
539
  do
539
540
  a = a.slice(0, a.length - 1);
540
541
  while (a.endsWith("/"));
541
- if (i.startsWith("/"))
542
+ if (c.startsWith("/"))
542
543
  do
543
- i = i.slice(1, i.length);
544
- while (i.startsWith("/"));
545
- return `${a}/${i}`;
544
+ c = c.slice(1, c.length);
545
+ while (c.startsWith("/"));
546
+ return `${a}/${c}`;
546
547
  }
547
- function Sa(e) {
548
+ function ga(e) {
548
549
  return e == null || !Array.isArray(e) ? e : [...new Set(e.map((t) => t))];
549
550
  }
550
- function Ea(e = "blitzItExtensionExists") {
551
+ function ya(e = "blitzItExtensionExists") {
551
552
  try {
552
553
  var t = document.getElementById(e);
553
554
  return t != null;
554
555
  } catch (a) {
555
- return console.log(Hn(a)), !1;
556
+ return console.log(Gn(a)), !1;
556
557
  }
557
558
  }
558
- function Aa(e, t) {
559
+ function wa(e, t) {
559
560
  return [
560
561
  { lat: e.lat - t, lng: e.lng + t },
561
562
  { lat: e.lat - t, lng: e.lng - t },
@@ -563,7 +564,7 @@ function Aa(e, t) {
563
564
  { lat: e.lat + t, lng: e.lng + t }
564
565
  ];
565
566
  }
566
- function Ia(e, t) {
567
+ function ba(e, t) {
567
568
  return [
568
569
  { lat: e.lat - t * 2, lng: e.lng + t },
569
570
  { lat: e.lat - t * 2, lng: e.lng - t },
@@ -571,7 +572,7 @@ function Ia(e, t) {
571
572
  { lat: e.lat, lng: e.lng + t }
572
573
  ];
573
574
  }
574
- function _a(e, t) {
575
+ function Sa(e, t) {
575
576
  return [
576
577
  { lat: e.lat, lng: e.lng + t },
577
578
  { lat: e.lat, lng: e.lng - t },
@@ -579,11 +580,11 @@ function _a(e, t) {
579
580
  { lat: e.lat + t * 2, lng: e.lng + t }
580
581
  ];
581
582
  }
582
- function Da(e) {
583
- var t = ot(e, !0);
583
+ function Ea(e) {
584
+ var t = ct(e, !0);
584
585
  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(" ", "");
585
586
  }
586
- function ot(e, t = !1) {
587
+ function ct(e, t = !1) {
587
588
  if (e == null)
588
589
  return "";
589
590
  if (typeof e != "object")
@@ -591,15 +592,15 @@ function ot(e, t = !1) {
591
592
  var a = "";
592
593
  return e.addressLineOne != null && !t && (a = e.addressLineOne + " "), e.streetNumber != null && (a = a + e.streetNumber + " "), e.streetName != null && (a = a + e.streetName + ", "), e.suburb != null && (a = a + e.suburb + " "), e.state != null && (a = a + e.state + " "), e.postcode != null && (a = a + e.postcode), a;
593
594
  }
594
- function xa(e, t, a) {
595
+ function Aa(e, t, a) {
595
596
  if (e) {
596
- var i = new Image();
597
- i.onload = t, i.onerror = a, i.src = e;
597
+ var c = new Image();
598
+ c.onload = t, c.onerror = a, c.src = e;
598
599
  }
599
600
  }
600
- async function Ta(e, t = !0) {
601
- return new Promise((a, i) => {
602
- e == null && i("no url given");
601
+ async function Ia(e, t = !0) {
602
+ return new Promise((a, c) => {
603
+ e == null && c("no url given");
603
604
  var h = new Image();
604
605
  h.setAttribute("crossOrigin", "anonymous"), h.onload = function() {
605
606
  var d = document.createElement("canvas");
@@ -607,20 +608,20 @@ async function Ta(e, t = !0) {
607
608
  var x = d.getContext("2d");
608
609
  x == null || x.drawImage(this, 0, 0), a(d.toDataURL("image/png"));
609
610
  }, h.onerror = function() {
610
- console.log("errr"), t ? i("image could not be loaded for some reason") : a(null);
611
+ console.log("errr"), t ? c("image could not be loaded for some reason") : a(null);
611
612
  }, e != null && (h.src = e);
612
613
  });
613
614
  }
614
- function Fn(e) {
615
+ function Rn(e) {
615
616
  return e && e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase());
616
617
  }
617
- function Ca(e) {
618
+ function _a(e) {
618
619
  if (e != null && typeof e == "object")
619
620
  for (var t in e)
620
621
  /^[A-Z]/.test(t) && Object.hasOwnProperty.call(e, t) && (e[t.charAt(0).toLowerCase() + t.substring(1)] = e[t], delete e[t]);
621
622
  return e;
622
623
  }
623
- function $n(e) {
624
+ function Bn(e) {
624
625
  return e == null ? e : e.replace(/\w\S*/g, (t) => t.replace(/^\w/, (a) => a.toUpperCase()));
625
626
  }
626
627
  const ke = [
@@ -633,108 +634,108 @@ const ke = [
633
634
  { value: 7, short: "sat", values: ["sat", "saturday"] },
634
635
  { value: 0, short: "always", values: ["always", null, void 0] }
635
636
  ];
636
- function Na(e) {
637
+ function Da(e) {
637
638
  if (e == null)
638
639
  return 0;
639
- const t = e.replaceAll(" ", "").split(",").map((i) => i.toLowerCase()), a = ke.filter((i) => i.values.some((h) => t.some((d) => h == d))).map((i) => i.value);
640
+ const t = e.replaceAll(" ", "").split(",").map((c) => c.toLowerCase()), a = ke.filter((c) => c.values.some((h) => t.some((d) => h == d))).map((c) => c.value);
640
641
  return a.length == 0 ? 8 : Math.min(...a);
641
642
  }
642
- function La(e) {
643
+ function xa(e) {
643
644
  return e == null ? e : e.toLowerCase().replaceAll(" ", "").split(",").map((t) => {
644
- let a = ke.find((i) => i.values.some((h) => h == t));
645
+ let a = ke.find((c) => c.values.some((h) => h == t));
645
646
  return a != null ? a.short : "";
646
647
  }).filter((t) => t != null && t.length > 0).toString();
647
648
  }
648
- function Ma(e, t) {
649
+ function Ta(e, t) {
649
650
  if (e == null || t == null)
650
651
  return !0;
651
- const a = e.replaceAll(" ", "").split(",").map((d) => d.toLowerCase()), i = t.replaceAll(" ", "").toLowerCase(), h = ke.find((d) => d.values.some((x) => x == i));
652
+ const a = e.replaceAll(" ", "").split(",").map((d) => d.toLowerCase()), c = t.replaceAll(" ", "").toLowerCase(), h = ke.find((d) => d.values.some((x) => x == c));
652
653
  return h != null && a.some((d) => d == h.short || h.values.some((x) => x == d));
653
654
  }
654
- function Pa(e, t) {
655
+ function Ca(e, t) {
655
656
  if (t == null)
656
657
  return e;
657
658
  let a = e ?? "";
658
659
  a = `${a},${t}`;
659
- let i = [...new Set(a.replaceAll(" ", "").toLowerCase().split(",").map((h) => ke.find((d) => d.values.some((x) => x == h))).filter((h) => h != null).sort($e.firstBy((h) => (h == null ? void 0 : h.value) ?? 0)).map((h) => h == null ? void 0 : h.short))].toString();
660
- return i.length > 0 ? i : void 0;
660
+ let c = [...new Set(a.replaceAll(" ", "").toLowerCase().split(",").map((h) => ke.find((d) => d.values.some((x) => x == h))).filter((h) => h != null).sort($e.firstBy((h) => (h == null ? void 0 : h.value) ?? 0)).map((h) => h == null ? void 0 : h.short))].toString();
661
+ return c.length > 0 ? c : void 0;
661
662
  }
662
- function Ra(e, t) {
663
+ function La(e, t) {
663
664
  if (t == null || e == null)
664
665
  return e;
665
- let a = e ?? "", i = t.replaceAll(" ", "").toLowerCase(), h = [...new Set(a.replaceAll(" ", "").toLowerCase().split(",").map((d) => ke.find((x) => x.values.some((E) => E == d && E != i))).filter((d) => d != null).sort($e.firstBy((d) => (d == null ? void 0 : d.value) ?? 0)).map((d) => d == null ? void 0 : d.short))].toString();
666
+ let a = e ?? "", c = t.replaceAll(" ", "").toLowerCase(), h = [...new Set(a.replaceAll(" ", "").toLowerCase().split(",").map((d) => ke.find((x) => x.values.some((A) => A == d && A != c))).filter((d) => d != null).sort($e.firstBy((d) => (d == null ? void 0 : d.value) ?? 0)).map((d) => d == null ? void 0 : d.short))].toString();
666
667
  return h.length > 0 ? h : void 0;
667
668
  }
668
- function Ba(e, t) {
669
+ function Na(e, t) {
669
670
  return e != null && Array.isArray(e) && e.length == t;
670
671
  }
671
672
  function Re(e, t = 0) {
672
673
  return e != null && Array.isArray(e) && e.length > t;
673
674
  }
674
- function kn(e) {
675
+ function Un(e) {
675
676
  return e == "0001-01-01T00:00:00Z";
676
677
  }
677
- function Ua() {
678
+ function Ma() {
678
679
  return (/* @__PURE__ */ new Date("0001-01-01T00:00:00Z")).getTime();
679
680
  }
680
- function Wn() {
681
+ function Fn() {
681
682
  return "0001-01-01T00:00:00Z";
682
683
  }
683
- function Fa(e, t) {
684
- let a = "1", i = 0;
685
- if (i < t)
684
+ function Pa(e, t) {
685
+ let a = "1", c = 0;
686
+ if (c < t)
686
687
  do
687
- a = a + "0", i += 1;
688
- while (i < t);
688
+ a = a + "0", c += 1;
689
+ while (c < t);
689
690
  let h = Number.parseInt(a);
690
691
  return Math.round(e * h) / h;
691
692
  }
692
- function $a(e, t) {
693
+ function Ra(e, t) {
693
694
  let a = e ?? "";
694
- return t != null && (Gn(a, t) ? a = a.split(",").filter((i) => i != t).toString() : a != null ? a = `${a},${t}` : a = t), a != null && a.length > 0 ? a : null;
695
+ return t != null && ($n(a, t) ? a = a.split(",").filter((c) => c != t).toString() : a != null ? a = `${a},${t}` : a = t), a != null && a.length > 0 ? a : null;
695
696
  }
696
- function Gn(e, t) {
697
+ function $n(e, t) {
697
698
  if (e == null || e.length == 0)
698
699
  return !1;
699
700
  if (!t)
700
701
  return !0;
701
- var a = e.split(","), i = t.split(",");
702
- return a.some((h) => i.some((d) => d == h));
702
+ var a = e.split(","), c = t.split(",");
703
+ return a.some((h) => c.some((d) => d == h));
703
704
  }
704
- function Lr(e) {
705
+ function Nr(e) {
705
706
  if (!e)
706
707
  return e;
707
708
  let t, a = Array.isArray(e) ? [] : {};
708
- for (const i in e)
709
- t = e[i], a[i] = typeof t == "object" ? Lr(t) : t;
709
+ for (const c in e)
710
+ t = e[c], a[c] = typeof t == "object" ? Nr(t) : t;
710
711
  return a;
711
712
  }
712
- function Vn(e) {
713
+ function kn(e) {
713
714
  return e && Object.keys(e).sort().reduce(function(t, a) {
714
- let i = e[a];
715
- return t[a] = typeof i == "object" && i !== null ? Vn(i) : i, t;
715
+ let c = e[a];
716
+ return t[a] = typeof c == "object" && c !== null ? kn(c) : c, t;
716
717
  }, Array.isArray(e) ? [] : {});
717
718
  }
718
- function qn(e, t) {
719
+ function Wn(e, t) {
719
720
  return t == null ? !0 : e == null ? !1 : e.toLowerCase().includes(t.toLowerCase());
720
721
  }
721
- function ht(e, t = (a) => a) {
722
+ function ft(e, t = (a) => a) {
722
723
  if (e == null)
723
724
  return [];
724
725
  const a = Array.isArray(e) ? e : t(e);
725
- return Re(a) ? [...a.reduce((i, h) => {
726
- i.push(h);
727
- const d = ht(h, t);
728
- return Re(d) && i.push(...d), i;
726
+ return Re(a) ? [...a.reduce((c, h) => {
727
+ c.push(h);
728
+ const d = ft(h, t);
729
+ return Re(d) && c.push(...d), c;
729
730
  }, [])] : [];
730
731
  }
731
- function ka(e) {
732
- const t = e.split(","), a = t[0].indexOf("base64") >= 0 ? atob(t[1]) : decodeURI(t[1]), i = t[0].split(":")[1].split(";")[0], h = new Uint8Array(a.length);
732
+ function Ba(e) {
733
+ const t = e.split(","), a = t[0].indexOf("base64") >= 0 ? atob(t[1]) : decodeURI(t[1]), c = t[0].split(":")[1].split(";")[0], h = new Uint8Array(a.length);
733
734
  for (let d = 0; d < a.length; d++)
734
735
  h[d] = a.charCodeAt(d);
735
- return new Blob([h], { type: i });
736
+ return new Blob([h], { type: c });
736
737
  }
737
- function Hn(e) {
738
+ function Gn(e) {
738
739
  var t = "";
739
740
  if (e) {
740
741
  if (e.message && (t = e.message), e.response && e.response.data) {
@@ -747,27 +748,27 @@ function Hn(e) {
747
748
  }
748
749
  return "hmmm no error was supplied";
749
750
  }
750
- function zn() {
751
+ function qn() {
751
752
  const e = "#" + Math.floor(Math.random() * 16777215).toString(16);
752
- return e.length !== 7 ? zn() : e;
753
+ return e.length !== 7 ? qn() : e;
753
754
  }
754
- function jn(e, t, a) {
755
+ function Vn(e, t, a) {
755
756
  if (t == null)
756
757
  return !0;
757
758
  if (e == null || a == null)
758
759
  return !1;
759
760
  for (let h = 0; h < a.length; h++) {
760
761
  const d = a[h];
761
- var i = yr(e, d);
762
- if (i != null && typeof i == "string" && qn(i, t))
762
+ var c = yr(e, d);
763
+ if (c != null && typeof c == "string" && Wn(c, t))
763
764
  return !0;
764
765
  }
765
766
  return !1;
766
767
  }
767
- function Wa(e) {
768
+ function Ua(e) {
768
769
  return e != null ? e.replaceAll(" ", "").toLowerCase() : null;
769
770
  }
770
- function Ga(e = 2e3) {
771
+ function Fa(e = 2e3) {
771
772
  return new Promise((t) => {
772
773
  setTimeout(() => t(), e);
773
774
  });
@@ -776,21 +777,21 @@ function yr(e, t) {
776
777
  if (e == null || e == null || !t)
777
778
  return null;
778
779
  var a = t.split(".");
779
- let i = a.length;
780
- for (var h = e, d = 0; d < i; d++)
780
+ let c = a.length;
781
+ for (var h = e, d = 0; d < c; d++)
781
782
  if (h = h[a[d]], h == null)
782
783
  return null;
783
784
  return h;
784
785
  }
785
- function Zn(e) {
786
+ function Hn(e) {
786
787
  return e ? /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(e) : !1;
787
788
  }
788
789
  let wr;
789
- function Yn() {
790
+ function zn() {
790
791
  return wr;
791
792
  }
792
- function Jn(e) {
793
- const t = (e == null ? void 0 : e.buildHeaders) ?? x, a = (e == null ? void 0 : e.buildQuery) ?? h, i = (e == null ? void 0 : e.buildUrl) ?? d;
793
+ function jn(e) {
794
+ const t = (e == null ? void 0 : e.buildHeaders) ?? x, a = (e == null ? void 0 : e.buildQuery) ?? h, c = (e == null ? void 0 : e.buildUrl) ?? d;
794
795
  function h(l) {
795
796
  let o = new URLSearchParams();
796
797
  return Object.entries(l).forEach((r) => {
@@ -808,10 +809,10 @@ function Jn(e) {
808
809
  let o = { ...l.headers };
809
810
  return l.proxyID && (o.ManagedCompanyAccountID ?? (o.ManagedCompanyAccountID = l.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 ${(T = e == null ? void 0 : e.auth) == null ? void 0 : T.credentials.value.token}`)), o["Content-Type"] ?? (o["Content-Type"] = l.contentType ?? (e == null ? void 0 : e.defaultContentType) ?? "application/json"), o;
810
811
  }
811
- async function E(l) {
812
+ async function A(l) {
812
813
  const o = l.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, r = l.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, T = l.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
813
814
  let b = l.finalUrl, g = l.headers;
814
- b == null && (b = i(l)), l.overrideHeaders !== !0 && (g = t(l)), console.log(`Get from ${b}`);
815
+ b == null && (b = c(l)), l.overrideHeaders !== !0 && (g = t(l)), console.log(`Get from ${b}`);
815
816
  let _;
816
817
  try {
817
818
  if (_ = await fetch(b, {
@@ -830,10 +831,10 @@ function Jn(e) {
830
831
  throw new Error(B);
831
832
  }
832
833
  }
833
- async function N(l) {
834
+ async function C(l) {
834
835
  const o = l.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, r = l.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, T = l.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
835
836
  let b = l.finalUrl, g = l.headers;
836
- b == null && (b = i(l)), l.overrideHeaders !== !0 && (g = t(l)), console.log(`Get all from ${b}`);
837
+ b == null && (b = c(l)), l.overrideHeaders !== !0 && (g = t(l)), console.log(`Get all from ${b}`);
837
838
  let _;
838
839
  try {
839
840
  if (_ = await fetch(b, {
@@ -855,7 +856,7 @@ function Jn(e) {
855
856
  async function U(l) {
856
857
  const o = l.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, r = l.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, T = l.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
857
858
  let b = l.finalUrl, g = l.headers;
858
- b == null && (b = i(l)), l.overrideHeaders !== !0 && (g = t(l)), console.log(`Post to ${b}`);
859
+ b == null && (b = c(l)), l.overrideHeaders !== !0 && (g = t(l)), console.log(`Post to ${b}`);
859
860
  let _;
860
861
  try {
861
862
  if (_ = await fetch(b, {
@@ -880,7 +881,7 @@ function Jn(e) {
880
881
  async function $(l) {
881
882
  const o = l.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, r = l.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, T = l.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
882
883
  let b = l.finalUrl, g = l.headers;
883
- b == null && (b = i(l)), l.overrideHeaders !== !0 && (g = t(l)), console.log(`Patch to ${b}`);
884
+ b == null && (b = c(l)), l.overrideHeaders !== !0 && (g = t(l)), console.log(`Patch to ${b}`);
884
885
  let _;
885
886
  try {
886
887
  if (_ = await fetch(b, {
@@ -905,7 +906,7 @@ function Jn(e) {
905
906
  async function y(l) {
906
907
  const o = l.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0;
907
908
  let r = l.finalUrl, T = l.headers;
908
- r == null && (r = i(l)), l.overrideHeaders !== !0 && (T = t(l)), console.log(`Delete ${r}`);
909
+ r == null && (r = c(l)), l.overrideHeaders !== !0 && (T = t(l)), console.log(`Delete ${r}`);
909
910
  let b;
910
911
  try {
911
912
  return b = await fetch(r, {
@@ -924,71 +925,43 @@ function Jn(e) {
924
925
  return wr = {
925
926
  buildHeaders: t,
926
927
  buildQuery: a,
927
- buildUrl: i,
928
+ buildUrl: c,
928
929
  deleteItem: y,
929
- get: E,
930
- getAll: N,
930
+ get: A,
931
+ getAll: C,
931
932
  patch: $,
932
933
  post: U
933
934
  }, wr;
934
935
  }
935
- /*!
936
- * vue-router v4.3.0
937
- * (c) 2024 Eduardo San Martin Morote
938
- * @license MIT
939
- */
940
- var jr;
941
- (function(e) {
942
- e.pop = "pop", e.push = "push";
943
- })(jr || (jr = {}));
944
- var Zr;
945
- (function(e) {
946
- e.back = "back", e.forward = "forward", e.unknown = "";
947
- })(Zr || (Zr = {}));
948
- Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
949
- var Yr;
950
- (function(e) {
951
- e[e.aborted = 4] = "aborted", e[e.cancelled = 8] = "cancelled", e[e.duplicated = 16] = "duplicated";
952
- })(Yr || (Yr = {}));
953
- Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
954
- Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
955
- const Kn = Symbol(process.env.NODE_ENV !== "production" ? "router" : ""), Qn = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
956
- Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
957
- function dt() {
958
- return lt(Kn);
959
- }
960
- function Xn() {
961
- return lt(Qn);
962
- }
963
936
  var Mr = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
964
937
  let ve;
965
- function mt() {
938
+ function st() {
966
939
  const e = Mr.NODE_ENV;
967
940
  return ve == null ? e : (ve[e] ?? ve.development).localDbName ?? e;
968
941
  }
969
- function Jr() {
942
+ function jr() {
970
943
  const e = Mr.NODE_ENV;
971
944
  return ve == null ? "" : (ve[e] ?? ve.development).auth ?? "";
972
945
  }
973
- function On(e) {
946
+ function Zn(e) {
974
947
  const t = Mr.NODE_ENV;
975
948
  if (ve == null)
976
949
  return "";
977
950
  const a = ve[t] ?? ve.development;
978
951
  return e == null ? a.data ?? "" : a.other[e] ?? a.data ?? "";
979
952
  }
980
- function Va() {
953
+ function $a() {
981
954
  return ve;
982
955
  }
983
- function pn(e) {
956
+ function Yn(e) {
984
957
  return ve = e, ve;
985
958
  }
986
959
  let ze = "Australia/Melbourne", br;
987
- function qa() {
960
+ function ka() {
988
961
  return br;
989
962
  }
990
- function ea(e) {
991
- const t = e.expiryTokenFormat ?? "d/MM/yyyy h:mm:ss a", a = zr("auth-credentials-state", Math.random().toString(36).substring(4, 19) + Math.random().toString(12).substring(1, 11)), i = zr("auth-credentials", {});
963
+ function Jn(e) {
964
+ const t = e.expiryTokenFormat ?? "d/MM/yyyy h:mm:ss a", a = zr("auth-credentials-state", Math.random().toString(36).substring(4, 19) + Math.random().toString(12).substring(1, 11)), c = zr("auth-credentials", {});
992
965
  function h(S) {
993
966
  if (S == null)
994
967
  return !0;
@@ -997,7 +970,7 @@ function ea(e) {
997
970
  return !1;
998
971
  if (I.requiresAuth === !1)
999
972
  return !0;
1000
- const m = J(i);
973
+ const m = J(c);
1001
974
  if (m.isSuspended && I.ignoreSuspension !== !0)
1002
975
  return !1;
1003
976
  if (m.isGlobalAdmin)
@@ -1010,7 +983,7 @@ function ea(e) {
1010
983
  return !0;
1011
984
  }
1012
985
  function d(S) {
1013
- const I = J(i);
986
+ const I = J(c);
1014
987
  if (I.userPermissions != null)
1015
988
  for (var m = 0; m < I.userPermissions.length; m++) {
1016
989
  var w = I.userPermissions[m].split(".");
@@ -1027,20 +1000,20 @@ function ea(e) {
1027
1000
  return !1;
1028
1001
  if (I.requiresAuth === !1)
1029
1002
  return !0;
1030
- const m = J(i);
1003
+ const m = J(c);
1031
1004
  if (m.isSuspended && I.ignoreSuspension !== !0)
1032
1005
  return !1;
1033
1006
  if (m.isGlobalAdmin)
1034
1007
  return !0;
1035
1008
  if (I.permissions != null) {
1036
1009
  for (var w = 0; w < I.permissions.length; w++)
1037
- if (!E(I.permissions[w]))
1010
+ if (!A(I.permissions[w]))
1038
1011
  return !1;
1039
1012
  }
1040
1013
  return !0;
1041
1014
  }
1042
- function E(S) {
1043
- const I = J(i);
1015
+ function A(S) {
1016
+ const I = J(c);
1044
1017
  if (I.userPermissions != null)
1045
1018
  for (var m = 0; m < I.userPermissions.length; m++) {
1046
1019
  var w = I.userPermissions[m].split(".");
@@ -1049,10 +1022,10 @@ function ea(e) {
1049
1022
  }
1050
1023
  return !1;
1051
1024
  }
1052
- function N(S, I, m) {
1025
+ function C(S, I, m) {
1053
1026
  let w = !0;
1054
- return J(i).isGlobalAdmin ? !0 : (I != null && I.length > 0 && I.forEach((H) => {
1055
- m == "edit" ? d(H) || (w = !1) : E(H) || (w = !1);
1027
+ return J(c).isGlobalAdmin ? !0 : (I != null && I.length > 0 && I.forEach((H) => {
1028
+ m == "edit" ? d(H) || (w = !1) : A(H) || (w = !1);
1056
1029
  }), S != null && S.length > 0 && (S.some((H) => l(H)) || (w = !1)), w);
1057
1030
  }
1058
1031
  function U(S, I = !1) {
@@ -1060,14 +1033,14 @@ function ea(e) {
1060
1033
  let w = !1;
1061
1034
  if (m == null)
1062
1035
  return !1;
1063
- let q = m.subscriptions ?? [], H = m.permissions ?? [], ee = N(q, H, "view");
1064
- return ee || !I || !Re(m.children) ? ee : ((m == null ? void 0 : m.children) != null && m.children.forEach((ie) => {
1065
- U(ie, !0) && (w = !0);
1036
+ let V = m.subscriptions ?? [], H = m.permissions ?? [], ee = C(V, H, "view");
1037
+ return ee || !I || !Re(m.children) ? ee : ((m == null ? void 0 : m.children) != null && m.children.forEach((ce) => {
1038
+ U(ce, !0) && (w = !0);
1066
1039
  }), w);
1067
1040
  }
1068
1041
  function $(S) {
1069
1042
  return e.getAuthorizeUrl ?? (e.getAuthorizeUrl = (I, m) => {
1070
- const w = Te(Jr(), `authorize?response_type=code&client_id=${e.oauthClientID}&redirect_uri=${window.location.origin}/authentication&state=${m}`);
1043
+ const w = Te(jr(), `authorize?response_type=code&client_id=${e.oauthClientID}&redirect_uri=${window.location.origin}/authentication&state=${m}`);
1071
1044
  return I ? `${w}&redirect_path=${I}` : w;
1072
1045
  }), e.getAuthorizeUrl != null ? e.getAuthorizeUrl(S, a.value) ?? "" : "";
1073
1046
  }
@@ -1076,7 +1049,7 @@ function ea(e) {
1076
1049
  return S == null ? 0 : ((m = (e.subscriptionOptions ?? []).find((w) => w.code == S)) == null ? void 0 : m.value) ?? 0;
1077
1050
  }
1078
1051
  function l(S) {
1079
- const I = J(i);
1052
+ const I = J(c);
1080
1053
  if (I.subscriptionCode == null)
1081
1054
  return !1;
1082
1055
  if (I.subscriptionCode == S)
@@ -1086,36 +1059,36 @@ function ea(e) {
1086
1059
  }
1087
1060
  function o(S) {
1088
1061
  const m = S.split(".")[1].replace(/-/g, "+").replace(/_/g, "/"), w = decodeURIComponent(
1089
- atob(m).split("").map(function(q) {
1090
- return "%" + ("00" + q.charCodeAt(0).toString(16)).slice(-2);
1062
+ atob(m).split("").map(function(V) {
1063
+ return "%" + ("00" + V.charCodeAt(0).toString(16)).slice(-2);
1091
1064
  }).join("")
1092
1065
  );
1093
1066
  return JSON.parse(w);
1094
1067
  }
1095
1068
  function r(S) {
1096
- if (i.value = void 0, B(), S != null) {
1097
- const I = dt();
1069
+ if (c.value = void 0, B(), S != null) {
1070
+ const I = nt();
1098
1071
  I.currentRoute.value.name != S && I.push({ name: S });
1099
1072
  }
1100
1073
  }
1101
1074
  function T(S) {
1102
1075
  var m;
1103
- J(i).isLoggedIn || ((m = e.demo) == null || m.endDemo(), C() && (r(), window.location.href = $(S)));
1076
+ J(c).isLoggedIn || ((m = e.demo) == null || m.endDemo(), L() && (r(), window.location.href = $(S)));
1104
1077
  }
1105
1078
  async function b(S, I) {
1106
1079
  return e.getToken ?? (e.getToken = async () => {
1107
- let m = S, w = I, q = e.oauthGrantType ?? "authorization_token", H = e.oauthClientID ?? "";
1080
+ let m = S, w = I, V = e.oauthGrantType ?? "authorization_token", H = e.oauthClientID ?? "";
1108
1081
  if (m == null || w == null)
1109
1082
  throw new Error("Code and State required in OAuth token process");
1110
1083
  if (w != a.value)
1111
1084
  throw new Error("state does not match");
1112
1085
  let ee = "";
1113
- e.getTokenUrl ?? (e.getTokenUrl = () => Te(Jr(), "token")), ee = e.getTokenUrl(m, `${window.location.origin}/authentication`, q, H);
1114
- const ie = {};
1115
- ie.grant_type = q, ie.code = m, ie.redirect_uri = `${window.location.origin}/authentication`, ie.client_id = H;
1116
- const k = await Yn().post({
1086
+ e.getTokenUrl ?? (e.getTokenUrl = () => Te(jr(), "token")), ee = e.getTokenUrl(m, `${window.location.origin}/authentication`, V, H);
1087
+ const ce = {};
1088
+ ce.grant_type = V, ce.code = m, ce.redirect_uri = `${window.location.origin}/authentication`, ce.client_id = H;
1089
+ const k = await zn().post({
1117
1090
  additionalUrl: ee,
1118
- data: ie
1091
+ data: ce
1119
1092
  });
1120
1093
  g(k.access_token);
1121
1094
  }), await e.getToken(S, I);
@@ -1123,30 +1096,30 @@ function ea(e) {
1123
1096
  function g(S) {
1124
1097
  if (S != null && (e.demo == null || !e.demo.isDemoing.value)) {
1125
1098
  const I = o(S);
1126
- _(I), e.processTokenPayload != null && e.processTokenPayload(i, I);
1099
+ _(I), e.processTokenPayload != null && e.processTokenPayload(c, I);
1127
1100
  }
1128
1101
  }
1129
1102
  function _(S) {
1130
1103
  var m;
1131
- const I = i.value;
1104
+ const I = c.value;
1132
1105
  I.expiresOn = S.ExpiresOn, I.isGlobalAdmin = S.IsGlobalAdmin == "True", I.isLoggedIn = !0, I.permissions = S.Permissions, I.subscriptionCode = S.Subscription, I.timeZone ?? (I.timeZone = e.defaultTimeZone ?? ze), I.token = S, I.userID = S.UserLoginID, I.userPermissions = ((m = S.Permissions) == null ? void 0 : m.split(",")) ?? [];
1133
1106
  }
1134
1107
  function B() {
1135
1108
  var S;
1136
- i.value ?? (i.value = {}), (S = i.value).timeZone ?? (S.timeZone = e.defaultTimeZone ?? ze);
1109
+ c.value ?? (c.value = {}), (S = c.value).timeZone ?? (S.timeZone = e.defaultTimeZone ?? ze);
1137
1110
  }
1138
1111
  function P() {
1139
- return i.value.timeZone ?? e.defaultTimeZone ?? ze;
1112
+ return c.value.timeZone ?? e.defaultTimeZone ?? ze;
1140
1113
  }
1141
- function A() {
1142
- const S = J(i);
1143
- return S.isLoggedIn && C() && (r(), window.location.href = $()), S.isLoggedIn;
1114
+ function E() {
1115
+ const S = J(c);
1116
+ return S.isLoggedIn && L() && (r(), window.location.href = $()), S.isLoggedIn;
1144
1117
  }
1145
- function C() {
1146
- const S = J(i);
1118
+ function L() {
1119
+ const S = J(c);
1147
1120
  if (S == null || S.expiresOn == null)
1148
1121
  return !0;
1149
- const I = ce.fromFormat(S.expiresOn, t), m = ce.utc();
1122
+ const I = ie.fromFormat(S.expiresOn, t), m = ie.utc();
1150
1123
  return I <= m;
1151
1124
  }
1152
1125
  return B(), br = {
@@ -1154,19 +1127,19 @@ function ea(e) {
1154
1127
  canEdit: h,
1155
1128
  canEditPermit: d,
1156
1129
  canView: x,
1157
- canViewPermit: E,
1158
- credentials: i,
1159
- doShow: N,
1130
+ canViewPermit: A,
1131
+ credentials: c,
1132
+ doShow: C,
1160
1133
  doShowByNav: U,
1161
1134
  getAuthorizeUrl: $,
1162
1135
  getTimeZone: P,
1163
1136
  getToken: b,
1164
- isLoggedIn: le(() => i.value.isLoggedIn === !0),
1137
+ isLoggedIn: le(() => c.value.isLoggedIn === !0),
1165
1138
  login: T,
1166
1139
  logout: r,
1167
1140
  setAuth: g,
1168
- timeZone: le(() => i.value.timeZone ?? e.defaultTimeZone ?? ze),
1169
- tryLogin: A
1141
+ timeZone: le(() => c.value.timeZone ?? e.defaultTimeZone ?? ze),
1142
+ tryLogin: E
1170
1143
  }, br;
1171
1144
  }
1172
1145
  const fr = {
@@ -1187,10 +1160,10 @@ const fr = {
1187
1160
  warning: "#FB8C00"
1188
1161
  };
1189
1162
  let Sr;
1190
- function Ha() {
1163
+ function Wa() {
1191
1164
  return Sr;
1192
1165
  }
1193
- function za(e) {
1166
+ function Ga(e) {
1194
1167
  const t = localStorage.getItem("cosmetics");
1195
1168
  let a;
1196
1169
  return t != null && t.length > 0 && (a = JSON.parse(t)), a ?? (a = {}), a.dark ?? (a.dark = e == null ? void 0 : e.dark), a.light ?? (a.light = e == null ? void 0 : e.light), a.theme ?? (a.theme = e == null ? void 0 : e.defaultTheme), {
@@ -1205,10 +1178,10 @@ function za(e) {
1205
1178
  }
1206
1179
  };
1207
1180
  }
1208
- function ra(e) {
1181
+ function Kn(e) {
1209
1182
  const t = Y({});
1210
1183
  let a = e.vuetifyInstance;
1211
- function i() {
1184
+ function c() {
1212
1185
  const y = localStorage.getItem("cosmetics");
1213
1186
  y != null && y.length > 0 ? t.value = JSON.parse(y) : t.value = {
1214
1187
  theme: e.defaultTheme ?? "light",
@@ -1243,10 +1216,10 @@ function ra(e) {
1243
1216
  o.colors.primary = y, r.colors.primary = y, (l = document.querySelector('meta[name="theme-color"]')) == null || l.setAttribute("content", y);
1244
1217
  }
1245
1218
  }
1246
- function E() {
1219
+ function A() {
1247
1220
  t.value.drawer = !t.value.drawer;
1248
1221
  }
1249
- function N() {
1222
+ function C() {
1250
1223
  t.value.drawerStick = !t.value.drawerStick;
1251
1224
  }
1252
1225
  function U() {
@@ -1259,24 +1232,24 @@ function ra(e) {
1259
1232
  l.colors.primary = (t.value.dark ?? e.defaultDarkTheme ?? sr).primary, o.colors.primary = (t.value.light ?? e.defaultLightTheme ?? fr).primary, (y = document.querySelector('meta[name="theme-color"]')) == null || y.setAttribute("content", "");
1260
1233
  }
1261
1234
  }
1262
- return i(), Se(t, () => {
1235
+ return c(), Se(t, () => {
1263
1236
  h();
1264
1237
  }), Sr = {
1265
1238
  state: t,
1266
1239
  resetCosmetics: d,
1267
1240
  setTemporaryColor: x,
1268
1241
  // setVuetifyInstance,
1269
- toggleDrawer: E,
1270
- toggleDrawerStick: N,
1242
+ toggleDrawer: A,
1243
+ toggleDrawerStick: C,
1271
1244
  toggleLightDark: U,
1272
1245
  undoTemporaryColor: $
1273
1246
  }, Sr;
1274
1247
  }
1275
- const ja = {
1248
+ const qa = {
1276
1249
  canExportCSV: !1
1277
1250
  };
1278
- function ta() {
1279
- function e(t, a, i = "csvData.csv") {
1251
+ function Qn() {
1252
+ function e(t, a, c = "csvData.csv") {
1280
1253
  if (!Re(t))
1281
1254
  return;
1282
1255
  let h = [];
@@ -1284,19 +1257,19 @@ function ta() {
1284
1257
  header: r.title ?? "",
1285
1258
  itemText: r.itemText,
1286
1259
  value: r.value
1287
- })) : h = Object.keys(t[0]).map((r) => ({ header: Fn(r) ?? "", value: r })), h = h.filter((r) => r.header.length > 0);
1260
+ })) : h = Object.keys(t[0]).map((r) => ({ header: Rn(r) ?? "", value: r })), h = h.filter((r) => r.header.length > 0);
1288
1261
  var d = [];
1289
1262
  for (let r = 0; r < t.length; r++) {
1290
1263
  const T = t[r];
1291
- var x = {}, E = [];
1264
+ var x = {}, A = [];
1292
1265
  for (let b = 0; b < h.length; b++) {
1293
1266
  const g = h[b];
1294
- var N = null;
1295
- typeof g.value == "function" ? N = g.value(T) : typeof g.value == "string" && (N = yr(T, g.value)), g.itemText != null ? x[g.header] = yr(N, g.itemText) : x[g.header] = N;
1267
+ var C = null;
1268
+ typeof g.value == "function" ? C = g.value(T) : typeof g.value == "string" && (C = yr(T, g.value)), g.itemText != null ? x[g.header] = yr(C, g.itemText) : x[g.header] = C;
1296
1269
  }
1297
- d.push(x), Re(E) && E.forEach((b) => {
1270
+ d.push(x), Re(A) && A.forEach((b) => {
1298
1271
  d.push(b);
1299
- }), E = [];
1272
+ }), A = [];
1300
1273
  }
1301
1274
  var U = [];
1302
1275
  U.push(h.map((r) => r.header)), d.forEach((r) => {
@@ -1309,10 +1282,10 @@ function ta() {
1309
1282
  var $ = U.join(`
1310
1283
  `), y = new Blob([$], { type: "text/plain;charset=utf-8" });
1311
1284
  if (window.navigator.msSaveOrOpenBlob)
1312
- window.navigator.msSaveOrOpenBlob(y, i);
1285
+ window.navigator.msSaveOrOpenBlob(y, c);
1313
1286
  else {
1314
1287
  var l = document.createElement("a"), o = URL.createObjectURL(y);
1315
- l.href = o, l.download = i, document.body.appendChild(l), l.click(), setTimeout(function() {
1288
+ l.href = o, l.download = c, document.body.appendChild(l), l.click(), setTimeout(function() {
1316
1289
  document.body.removeChild(l), window.URL.revokeObjectURL(o);
1317
1290
  }, 0);
1318
1291
  }
@@ -1322,56 +1295,56 @@ function ta() {
1322
1295
  };
1323
1296
  }
1324
1297
  let Er;
1325
- function Za() {
1298
+ function Va() {
1326
1299
  return Er;
1327
1300
  }
1328
- function na(e) {
1301
+ function Xn(e) {
1329
1302
  function t() {
1330
- var E;
1331
- return ((E = i()) == null ? void 0 : E.startOf("day").toUTC().toString()) ?? "";
1303
+ var A;
1304
+ return ((A = c()) == null ? void 0 : A.startOf("day").toUTC().toString()) ?? "";
1332
1305
  }
1333
1306
  function a() {
1334
- var E;
1335
- return ((E = i()) == null ? void 0 : E.endOf("day").toUTC().toString()) ?? "";
1307
+ var A;
1308
+ return ((A = c()) == null ? void 0 : A.endOf("day").toUTC().toString()) ?? "";
1336
1309
  }
1337
- function i(E, N) {
1338
- return E == null ? ce.utc().setZone(e.getTimeZone()) : N ? ce.fromFormat(E, N, { zone: e.getTimeZone() }) : ce.fromISO(E, { zone: e.getTimeZone() });
1310
+ function c(A, C) {
1311
+ return A == null ? ie.utc().setZone(e.getTimeZone()) : C ? ie.fromFormat(A, C, { zone: e.getTimeZone() }) : ie.fromISO(A, { zone: e.getTimeZone() });
1339
1312
  }
1340
- function h(E, N, U) {
1341
- if (E == null) {
1342
- const y = ce.utc().setZone(e.getTimeZone());
1343
- return N ? y.toFormat(N) : y.toString();
1313
+ function h(A, C, U) {
1314
+ if (A == null) {
1315
+ const y = ie.utc().setZone(e.getTimeZone());
1316
+ return C ? y.toFormat(C) : y.toString();
1344
1317
  }
1345
- if (E == "Invalid DateTime")
1318
+ if (A == "Invalid DateTime")
1346
1319
  return "";
1347
- const $ = U ? ce.fromFormat(E, U, { zone: e.getTimeZone() }) : ce.fromISO(E, { zone: e.getTimeZone() });
1348
- return N ? $.toFormat(N) : $ == null ? void 0 : $.toString();
1320
+ const $ = U ? ie.fromFormat(A, U, { zone: e.getTimeZone() }) : ie.fromISO(A, { zone: e.getTimeZone() });
1321
+ return C ? $.toFormat(C) : $ == null ? void 0 : $.toString();
1349
1322
  }
1350
- function d(E, N) {
1351
- return E == null ? ce.utc() : N ? ce.fromFormat(E, N) : ce.fromISO(E);
1323
+ function d(A, C) {
1324
+ return A == null ? ie.utc() : C ? ie.fromFormat(A, C) : ie.fromISO(A);
1352
1325
  }
1353
- function x(E, N, U) {
1354
- if (E == null)
1355
- return N ? ce.utc().toFormat(N) : ce.utc().toString();
1326
+ function x(A, C, U) {
1327
+ if (A == null)
1328
+ return C ? ie.utc().toFormat(C) : ie.utc().toString();
1356
1329
  {
1357
- const $ = U ? ce.fromFormat(E, U) : ce.fromISO(E);
1358
- return N ? $.toFormat(N) : $.toString();
1330
+ const $ = U ? ie.fromFormat(A, U) : ie.fromISO(A);
1331
+ return C ? $.toFormat(C) : $.toString();
1359
1332
  }
1360
1333
  }
1361
1334
  return Er = {
1362
1335
  getToday: t,
1363
1336
  getTomorrow: a,
1364
- tzDate: i,
1337
+ tzDate: c,
1365
1338
  tzString: h,
1366
1339
  utcDate: d,
1367
1340
  utcString: x
1368
1341
  }, Er;
1369
1342
  }
1370
1343
  let Ar;
1371
- function Ya() {
1344
+ function Ha() {
1372
1345
  return Ar;
1373
1346
  }
1374
- function aa() {
1347
+ function On() {
1375
1348
  const e = Y(!1);
1376
1349
  function t() {
1377
1350
  }
@@ -1383,15 +1356,15 @@ function aa() {
1383
1356
  startDemo: t
1384
1357
  }, Ar;
1385
1358
  }
1386
- var ua = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
1387
- function Ja(e) {
1359
+ var pn = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
1360
+ function za(e) {
1388
1361
  function t(a) {
1389
1362
  var h;
1390
- const i = a.matched.slice().reverse().find((d) => d.meta && d.meta.title);
1391
- if (i)
1392
- document.title = i.meta.title;
1363
+ const c = a.matched.slice().reverse().find((d) => d.meta && d.meta.title);
1364
+ if (c)
1365
+ document.title = c.meta.title;
1393
1366
  else {
1394
- const d = ua.NODE_ENV;
1367
+ const d = pn.NODE_ENV;
1395
1368
  let x = "";
1396
1369
  d == "development" ? x = "BWeb Dev" : d == "staging" ? x = "BlitzIt Sandpit" : x = "BlitzIt Web | Cloud-Based Wholesale Logistics Platform", ((h = e == null ? void 0 : e.demo) == null ? void 0 : h.isDemoing.value) == !0 && (x = `Training: ${x}`), document.title = x;
1397
1370
  }
@@ -1400,28 +1373,28 @@ function Ja(e) {
1400
1373
  updateMeta: t
1401
1374
  };
1402
1375
  }
1403
- function Ka(e, t, a = {}) {
1376
+ function ja(e, t, a = {}) {
1404
1377
  const {
1405
- preventDefault: i = !1,
1378
+ preventDefault: c = !1,
1406
1379
  stopPropagation: h = !1,
1407
1380
  axis: d = "both"
1408
1381
  } = a, x = { capture: a.capture ?? !0 };
1409
- let E = { x: 0, y: 0 }, N = { x: 0, y: 0 }, U = { x: 0, y: 0 }, $ = [], y = [], l = Y(!1);
1382
+ let A = { x: 0, y: 0 }, C = { x: 0, y: 0 }, U = { x: 0, y: 0 }, $ = [], y = [], l = Y(!1);
1410
1383
  function o(P) {
1411
- J(i) && P.preventDefault(), J(h) && P.stopPropagation();
1384
+ J(c) && P.preventDefault(), J(h) && P.stopPropagation();
1412
1385
  }
1413
1386
  function r(P) {
1414
1387
  var m;
1415
- const A = J(e);
1416
- if (!A)
1388
+ const E = J(e);
1389
+ if (!E)
1417
1390
  return;
1418
- const C = A.$el, I = P.type === "touchstart" && P.touches.length > 0 ? P.touches[0] : P;
1419
- U = { x: I.clientX, y: I.clientY }, N = {
1420
- x: C.offsetLeft,
1421
- y: C.offsetTop
1422
- }, E = {
1423
- x: C.offsetLeft,
1424
- y: C.offsetTop
1391
+ const L = E.$el, I = P.type === "touchstart" && P.touches.length > 0 ? P.touches[0] : P;
1392
+ U = { x: I.clientX, y: I.clientY }, C = {
1393
+ x: L.offsetLeft,
1394
+ y: L.offsetTop
1395
+ }, A = {
1396
+ x: L.offsetLeft,
1397
+ y: L.offsetTop
1425
1398
  }, ((m = a.onStart) == null ? void 0 : m.call(a, U, P)) !== !1 && (y.push(oe("mousemove", T)), y.push(oe("touchmove", T)), y.push(oe("mouseup", b)), y.push(oe("touchend", b)), o(P));
1426
1399
  }
1427
1400
  function T(P) {
@@ -1430,20 +1403,20 @@ function Ka(e, t, a = {}) {
1430
1403
  return;
1431
1404
  const S = P.type === "touchmove" && P.touches.length > 0 ? P.touches[0] : P;
1432
1405
  let I = S.clientX - U.x, m = S.clientY - U.y;
1433
- (d === "x" || d === "both") && (E.x = N.x + I), (d === "y" || d === "both") && (E.y = N.y + m), (w = a.onMove) == null || w.call(a, E, P), o(P), g(E);
1406
+ (d === "x" || d === "both") && (A.x = C.x + I), (d === "y" || d === "both") && (A.y = C.y + m), (w = a.onMove) == null || w.call(a, A, P), o(P), g(A);
1434
1407
  }
1435
1408
  function b(P) {
1436
- var A;
1437
- document.documentElement.style.cursor = "", y.forEach((C) => {
1438
- C();
1439
- }), y.length = 0, (A = a.onEnd) == null || A.call(a, E, P), o(P);
1409
+ var E;
1410
+ document.documentElement.style.cursor = "", y.forEach((L) => {
1411
+ L();
1412
+ }), y.length = 0, (E = a.onEnd) == null || E.call(a, A, P), o(P);
1440
1413
  }
1441
1414
  function g(P) {
1442
- const A = J(e);
1443
- if (!A)
1415
+ const E = J(e);
1416
+ if (!E)
1444
1417
  return;
1445
- const C = A.$el;
1446
- C.style.left = `${P.x}px`, C.style.top = `${P.y}px`;
1418
+ const L = E.$el;
1419
+ L.style.left = `${P.x}px`, L.style.top = `${P.y}px`;
1447
1420
  }
1448
1421
  function _() {
1449
1422
  if (J(l))
@@ -1451,8 +1424,8 @@ function Ka(e, t, a = {}) {
1451
1424
  const P = J(t);
1452
1425
  if (!P)
1453
1426
  return;
1454
- const A = P.$el;
1455
- A.style.cursor = "move", $.push(oe(A, "mousedown", r, x)), $.push(oe(A, "touchstart", r, x)), l.value = !0;
1427
+ const E = P.$el;
1428
+ E.style.cursor = "move", $.push(oe(E, "mousedown", r, x)), $.push(oe(E, "touchstart", r, x)), l.value = !0;
1456
1429
  }
1457
1430
  function B() {
1458
1431
  if (!J(l))
@@ -1460,9 +1433,9 @@ function Ka(e, t, a = {}) {
1460
1433
  const P = J(t);
1461
1434
  if (!P)
1462
1435
  return;
1463
- const A = P.$el;
1464
- A.style.cursor = "", $.forEach((C) => {
1465
- C();
1436
+ const E = P.$el;
1437
+ E.style.cursor = "", $.forEach((L) => {
1438
+ L();
1466
1439
  }), $.length = 0, l.value = !1;
1467
1440
  }
1468
1441
  return {
@@ -1472,12 +1445,12 @@ function Ka(e, t, a = {}) {
1472
1445
  };
1473
1446
  }
1474
1447
  let Ir;
1475
- function Qa() {
1448
+ function Za() {
1476
1449
  return Ir;
1477
1450
  }
1478
- function la(e) {
1479
- function t(m, w, q) {
1480
- return m ? kn(m) ? q ?? "" : e.dates.tzString(m, w) : q ?? m ?? "";
1451
+ function ea(e) {
1452
+ function t(m, w, V) {
1453
+ return m ? Un(m) ? V ?? "" : e.dates.tzString(m, w) : V ?? m ?? "";
1481
1454
  }
1482
1455
  function a(m) {
1483
1456
  if (!m)
@@ -1487,7 +1460,7 @@ function la(e) {
1487
1460
  var w = "";
1488
1461
  return m.companyAccount != null && (w = m.companyAccount.companyName + " | "), m.addressLineOne != null && (w = w + m.addressLineOne + " "), m.streetNumber != null && (w = w + m.streetNumber + " "), m.streetName != null && (w = w + m.streetName + ", "), m.suburb != null && (w = w + m.suburb + " "), m.state != null && (w = w + m.state + " "), m.postcode != null && (w = w + m.postcode), w;
1489
1462
  }
1490
- function i(m) {
1463
+ function c(m) {
1491
1464
  if (typeof m != "number")
1492
1465
  return m;
1493
1466
  var w = new Intl.NumberFormat("en-US", {
@@ -1506,10 +1479,10 @@ function la(e) {
1506
1479
  function x(m, w) {
1507
1480
  return t(m, "ccc", w);
1508
1481
  }
1509
- function E(m, w) {
1482
+ function A(m, w) {
1510
1483
  return t(m, "ccc dd LLL yyyy", w);
1511
1484
  }
1512
- function N(m, w) {
1485
+ function C(m, w) {
1513
1486
  return t(m, "ccc dd LLL @ hh:mm a", w);
1514
1487
  }
1515
1488
  function U(m) {
@@ -1528,7 +1501,7 @@ function la(e) {
1528
1501
  return e.dates.utcString(m, w);
1529
1502
  }
1530
1503
  function o(m) {
1531
- return ot(m, !1);
1504
+ return ct(m, !1);
1532
1505
  }
1533
1506
  function r(m) {
1534
1507
  if (!m)
@@ -1560,20 +1533,20 @@ function la(e) {
1560
1533
  function P(m, w) {
1561
1534
  return t(m, "dd LLL yyyy hh:mm a", w);
1562
1535
  }
1563
- function A(m, w) {
1536
+ function E(m, w) {
1564
1537
  return t(m, "hh:mm a", w);
1565
1538
  }
1566
- function C(m) {
1539
+ function L(m) {
1567
1540
  return m == null ? "" : typeof m == "number" ? e.dates.tzDate().startOf("day").plus({ minutes: m }).toFormat("T") : typeof m == "string" ? e.dates.tzString(m, "t") : "unknown";
1568
1541
  }
1569
1542
  const S = {
1570
1543
  toCompanyNameAndLocationLine: a,
1571
- toCurrency: i,
1544
+ toCurrency: c,
1572
1545
  toDayDate: h,
1573
1546
  toDayMonth: d,
1574
1547
  toDayOfWeek: x,
1575
- toDayShortDate: E,
1576
- toDayShortDateAndTime: N,
1548
+ toDayShortDate: A,
1549
+ toDayShortDateAndTime: C,
1577
1550
  toDisplayNumber: U,
1578
1551
  toDisplayNumberOver: $,
1579
1552
  toDisplayNumberSigned: y,
@@ -1586,8 +1559,8 @@ function la(e) {
1586
1559
  toPrettyCSV: _,
1587
1560
  toShortDate: B,
1588
1561
  toShortDateAndTime: P,
1589
- toTime: A,
1590
- toTimeOfDay: C
1562
+ toTime: E,
1563
+ toTimeOfDay: L
1591
1564
  };
1592
1565
  function I(m) {
1593
1566
  if (m != null) {
@@ -1605,7 +1578,7 @@ function la(e) {
1605
1578
  function je(e) {
1606
1579
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1607
1580
  }
1608
- var vt = { exports: {} };
1581
+ var ot = { exports: {} };
1609
1582
  /*!
1610
1583
  localForage -- Offline Storage, Improved
1611
1584
  Version 1.10.0
@@ -1616,51 +1589,51 @@ var vt = { exports: {} };
1616
1589
  (function(a) {
1617
1590
  e.exports = a();
1618
1591
  })(function() {
1619
- return function a(i, h, d) {
1592
+ return function a(c, h, d) {
1620
1593
  function x(U, $) {
1621
1594
  if (!h[U]) {
1622
- if (!i[U]) {
1595
+ if (!c[U]) {
1623
1596
  var y = typeof je == "function" && je;
1624
1597
  if (!$ && y)
1625
1598
  return y(U, !0);
1626
- if (E)
1627
- return E(U, !0);
1599
+ if (A)
1600
+ return A(U, !0);
1628
1601
  var l = new Error("Cannot find module '" + U + "'");
1629
1602
  throw l.code = "MODULE_NOT_FOUND", l;
1630
1603
  }
1631
1604
  var o = h[U] = { exports: {} };
1632
- i[U][0].call(o.exports, function(r) {
1633
- var T = i[U][1][r];
1605
+ c[U][0].call(o.exports, function(r) {
1606
+ var T = c[U][1][r];
1634
1607
  return x(T || r);
1635
- }, o, o.exports, a, i, h, d);
1608
+ }, o, o.exports, a, c, h, d);
1636
1609
  }
1637
1610
  return h[U].exports;
1638
1611
  }
1639
- for (var E = typeof je == "function" && je, N = 0; N < d.length; N++)
1640
- x(d[N]);
1612
+ for (var A = typeof je == "function" && je, C = 0; C < d.length; C++)
1613
+ x(d[C]);
1641
1614
  return x;
1642
- }({ 1: [function(a, i, h) {
1615
+ }({ 1: [function(a, c, h) {
1643
1616
  (function(d) {
1644
- var x = d.MutationObserver || d.WebKitMutationObserver, E;
1617
+ var x = d.MutationObserver || d.WebKitMutationObserver, A;
1645
1618
  if (x) {
1646
- var N = 0, U = new x(r), $ = d.document.createTextNode("");
1619
+ var C = 0, U = new x(r), $ = d.document.createTextNode("");
1647
1620
  U.observe($, {
1648
1621
  characterData: !0
1649
- }), E = function() {
1650
- $.data = N = ++N % 2;
1622
+ }), A = function() {
1623
+ $.data = C = ++C % 2;
1651
1624
  };
1652
1625
  } else if (!d.setImmediate && typeof d.MessageChannel < "u") {
1653
1626
  var y = new d.MessageChannel();
1654
- y.port1.onmessage = r, E = function() {
1627
+ y.port1.onmessage = r, A = function() {
1655
1628
  y.port2.postMessage(0);
1656
1629
  };
1657
1630
  } else
1658
- "document" in d && "onreadystatechange" in d.document.createElement("script") ? E = function() {
1631
+ "document" in d && "onreadystatechange" in d.document.createElement("script") ? A = function() {
1659
1632
  var b = d.document.createElement("script");
1660
1633
  b.onreadystatechange = function() {
1661
1634
  r(), b.onreadystatechange = null, b.parentNode.removeChild(b), b = null;
1662
1635
  }, d.document.documentElement.appendChild(b);
1663
- } : E = function() {
1636
+ } : A = function() {
1664
1637
  setTimeout(r, 0);
1665
1638
  };
1666
1639
  var l, o = [];
@@ -1673,170 +1646,170 @@ var vt = { exports: {} };
1673
1646
  }
1674
1647
  l = !1;
1675
1648
  }
1676
- i.exports = T;
1649
+ c.exports = T;
1677
1650
  function T(b) {
1678
- o.push(b) === 1 && !l && E();
1651
+ o.push(b) === 1 && !l && A();
1679
1652
  }
1680
1653
  }).call(this, typeof He < "u" ? He : typeof self < "u" ? self : typeof window < "u" ? window : {});
1681
- }, {}], 2: [function(a, i, h) {
1654
+ }, {}], 2: [function(a, c, h) {
1682
1655
  var d = a(1);
1683
1656
  function x() {
1684
1657
  }
1685
- var E = {}, N = ["REJECTED"], U = ["FULFILLED"], $ = ["PENDING"];
1686
- i.exports = y;
1687
- function y(A) {
1688
- if (typeof A != "function")
1658
+ var A = {}, C = ["REJECTED"], U = ["FULFILLED"], $ = ["PENDING"];
1659
+ c.exports = y;
1660
+ function y(E) {
1661
+ if (typeof E != "function")
1689
1662
  throw new TypeError("resolver must be a function");
1690
- this.state = $, this.queue = [], this.outcome = void 0, A !== x && T(this, A);
1663
+ this.state = $, this.queue = [], this.outcome = void 0, E !== x && T(this, E);
1691
1664
  }
1692
- y.prototype.catch = function(A) {
1693
- return this.then(null, A);
1694
- }, y.prototype.then = function(A, C) {
1695
- if (typeof A != "function" && this.state === U || typeof C != "function" && this.state === N)
1665
+ y.prototype.catch = function(E) {
1666
+ return this.then(null, E);
1667
+ }, y.prototype.then = function(E, L) {
1668
+ if (typeof E != "function" && this.state === U || typeof L != "function" && this.state === C)
1696
1669
  return this;
1697
1670
  var S = new this.constructor(x);
1698
1671
  if (this.state !== $) {
1699
- var I = this.state === U ? A : C;
1672
+ var I = this.state === U ? E : L;
1700
1673
  o(S, I, this.outcome);
1701
1674
  } else
1702
- this.queue.push(new l(S, A, C));
1675
+ this.queue.push(new l(S, E, L));
1703
1676
  return S;
1704
1677
  };
1705
- function l(A, C, S) {
1706
- this.promise = A, typeof C == "function" && (this.onFulfilled = C, this.callFulfilled = this.otherCallFulfilled), typeof S == "function" && (this.onRejected = S, this.callRejected = this.otherCallRejected);
1707
- }
1708
- l.prototype.callFulfilled = function(A) {
1709
- E.resolve(this.promise, A);
1710
- }, l.prototype.otherCallFulfilled = function(A) {
1711
- o(this.promise, this.onFulfilled, A);
1712
- }, l.prototype.callRejected = function(A) {
1713
- E.reject(this.promise, A);
1714
- }, l.prototype.otherCallRejected = function(A) {
1715
- o(this.promise, this.onRejected, A);
1678
+ function l(E, L, S) {
1679
+ this.promise = E, typeof L == "function" && (this.onFulfilled = L, this.callFulfilled = this.otherCallFulfilled), typeof S == "function" && (this.onRejected = S, this.callRejected = this.otherCallRejected);
1680
+ }
1681
+ l.prototype.callFulfilled = function(E) {
1682
+ A.resolve(this.promise, E);
1683
+ }, l.prototype.otherCallFulfilled = function(E) {
1684
+ o(this.promise, this.onFulfilled, E);
1685
+ }, l.prototype.callRejected = function(E) {
1686
+ A.reject(this.promise, E);
1687
+ }, l.prototype.otherCallRejected = function(E) {
1688
+ o(this.promise, this.onRejected, E);
1716
1689
  };
1717
- function o(A, C, S) {
1690
+ function o(E, L, S) {
1718
1691
  d(function() {
1719
1692
  var I;
1720
1693
  try {
1721
- I = C(S);
1694
+ I = L(S);
1722
1695
  } catch (m) {
1723
- return E.reject(A, m);
1696
+ return A.reject(E, m);
1724
1697
  }
1725
- I === A ? E.reject(A, new TypeError("Cannot resolve promise with itself")) : E.resolve(A, I);
1698
+ I === E ? A.reject(E, new TypeError("Cannot resolve promise with itself")) : A.resolve(E, I);
1726
1699
  });
1727
1700
  }
1728
- E.resolve = function(A, C) {
1729
- var S = b(r, C);
1701
+ A.resolve = function(E, L) {
1702
+ var S = b(r, L);
1730
1703
  if (S.status === "error")
1731
- return E.reject(A, S.value);
1704
+ return A.reject(E, S.value);
1732
1705
  var I = S.value;
1733
1706
  if (I)
1734
- T(A, I);
1707
+ T(E, I);
1735
1708
  else {
1736
- A.state = U, A.outcome = C;
1737
- for (var m = -1, w = A.queue.length; ++m < w; )
1738
- A.queue[m].callFulfilled(C);
1709
+ E.state = U, E.outcome = L;
1710
+ for (var m = -1, w = E.queue.length; ++m < w; )
1711
+ E.queue[m].callFulfilled(L);
1739
1712
  }
1740
- return A;
1741
- }, E.reject = function(A, C) {
1742
- A.state = N, A.outcome = C;
1743
- for (var S = -1, I = A.queue.length; ++S < I; )
1744
- A.queue[S].callRejected(C);
1745
- return A;
1713
+ return E;
1714
+ }, A.reject = function(E, L) {
1715
+ E.state = C, E.outcome = L;
1716
+ for (var S = -1, I = E.queue.length; ++S < I; )
1717
+ E.queue[S].callRejected(L);
1718
+ return E;
1746
1719
  };
1747
- function r(A) {
1748
- var C = A && A.then;
1749
- if (A && (typeof A == "object" || typeof A == "function") && typeof C == "function")
1720
+ function r(E) {
1721
+ var L = E && E.then;
1722
+ if (E && (typeof E == "object" || typeof E == "function") && typeof L == "function")
1750
1723
  return function() {
1751
- C.apply(A, arguments);
1724
+ L.apply(E, arguments);
1752
1725
  };
1753
1726
  }
1754
- function T(A, C) {
1727
+ function T(E, L) {
1755
1728
  var S = !1;
1756
1729
  function I(H) {
1757
- S || (S = !0, E.reject(A, H));
1730
+ S || (S = !0, A.reject(E, H));
1758
1731
  }
1759
1732
  function m(H) {
1760
- S || (S = !0, E.resolve(A, H));
1733
+ S || (S = !0, A.resolve(E, H));
1761
1734
  }
1762
1735
  function w() {
1763
- C(m, I);
1736
+ L(m, I);
1764
1737
  }
1765
- var q = b(w);
1766
- q.status === "error" && I(q.value);
1738
+ var V = b(w);
1739
+ V.status === "error" && I(V.value);
1767
1740
  }
1768
- function b(A, C) {
1741
+ function b(E, L) {
1769
1742
  var S = {};
1770
1743
  try {
1771
- S.value = A(C), S.status = "success";
1744
+ S.value = E(L), S.status = "success";
1772
1745
  } catch (I) {
1773
1746
  S.status = "error", S.value = I;
1774
1747
  }
1775
1748
  return S;
1776
1749
  }
1777
1750
  y.resolve = g;
1778
- function g(A) {
1779
- return A instanceof this ? A : E.resolve(new this(x), A);
1751
+ function g(E) {
1752
+ return E instanceof this ? E : A.resolve(new this(x), E);
1780
1753
  }
1781
1754
  y.reject = _;
1782
- function _(A) {
1783
- var C = new this(x);
1784
- return E.reject(C, A);
1755
+ function _(E) {
1756
+ var L = new this(x);
1757
+ return A.reject(L, E);
1785
1758
  }
1786
1759
  y.all = B;
1787
- function B(A) {
1788
- var C = this;
1789
- if (Object.prototype.toString.call(A) !== "[object Array]")
1760
+ function B(E) {
1761
+ var L = this;
1762
+ if (Object.prototype.toString.call(E) !== "[object Array]")
1790
1763
  return this.reject(new TypeError("must be an array"));
1791
- var S = A.length, I = !1;
1764
+ var S = E.length, I = !1;
1792
1765
  if (!S)
1793
1766
  return this.resolve([]);
1794
- for (var m = new Array(S), w = 0, q = -1, H = new this(x); ++q < S; )
1795
- ee(A[q], q);
1767
+ for (var m = new Array(S), w = 0, V = -1, H = new this(x); ++V < S; )
1768
+ ee(E[V], V);
1796
1769
  return H;
1797
- function ee(ie, Ee) {
1798
- C.resolve(ie).then(k, function(z) {
1799
- I || (I = !0, E.reject(H, z));
1770
+ function ee(ce, Ee) {
1771
+ L.resolve(ce).then(k, function(z) {
1772
+ I || (I = !0, A.reject(H, z));
1800
1773
  });
1801
1774
  function k(z) {
1802
- m[Ee] = z, ++w === S && !I && (I = !0, E.resolve(H, m));
1775
+ m[Ee] = z, ++w === S && !I && (I = !0, A.resolve(H, m));
1803
1776
  }
1804
1777
  }
1805
1778
  }
1806
1779
  y.race = P;
1807
- function P(A) {
1808
- var C = this;
1809
- if (Object.prototype.toString.call(A) !== "[object Array]")
1780
+ function P(E) {
1781
+ var L = this;
1782
+ if (Object.prototype.toString.call(E) !== "[object Array]")
1810
1783
  return this.reject(new TypeError("must be an array"));
1811
- var S = A.length, I = !1;
1784
+ var S = E.length, I = !1;
1812
1785
  if (!S)
1813
1786
  return this.resolve([]);
1814
1787
  for (var m = -1, w = new this(x); ++m < S; )
1815
- q(A[m]);
1788
+ V(E[m]);
1816
1789
  return w;
1817
- function q(H) {
1818
- C.resolve(H).then(function(ee) {
1819
- I || (I = !0, E.resolve(w, ee));
1790
+ function V(H) {
1791
+ L.resolve(H).then(function(ee) {
1792
+ I || (I = !0, A.resolve(w, ee));
1820
1793
  }, function(ee) {
1821
- I || (I = !0, E.reject(w, ee));
1794
+ I || (I = !0, A.reject(w, ee));
1822
1795
  });
1823
1796
  }
1824
1797
  }
1825
- }, { 1: 1 }], 3: [function(a, i, h) {
1798
+ }, { 1: 1 }], 3: [function(a, c, h) {
1826
1799
  (function(d) {
1827
1800
  typeof d.Promise != "function" && (d.Promise = a(2));
1828
1801
  }).call(this, typeof He < "u" ? He : typeof self < "u" ? self : typeof window < "u" ? window : {});
1829
- }, { 2: 2 }], 4: [function(a, i, h) {
1802
+ }, { 2: 2 }], 4: [function(a, c, h) {
1830
1803
  var d = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
1831
1804
  return typeof n;
1832
1805
  } : function(n) {
1833
1806
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
1834
1807
  };
1835
- function x(n, c) {
1836
- if (!(n instanceof c))
1808
+ function x(n, i) {
1809
+ if (!(n instanceof i))
1837
1810
  throw new TypeError("Cannot call a class as a function");
1838
1811
  }
1839
- function E() {
1812
+ function A() {
1840
1813
  try {
1841
1814
  if (typeof indexedDB < "u")
1842
1815
  return indexedDB;
@@ -1852,13 +1825,13 @@ var vt = { exports: {} };
1852
1825
  return;
1853
1826
  }
1854
1827
  }
1855
- var N = E();
1828
+ var C = A();
1856
1829
  function U() {
1857
1830
  try {
1858
- if (!N || !N.open)
1831
+ if (!C || !C.open)
1859
1832
  return !1;
1860
- var n = typeof openDatabase < "u" && /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), c = typeof fetch == "function" && fetch.toString().indexOf("[native code") !== -1;
1861
- return (!n || c) && typeof indexedDB < "u" && // some outdated implementations of IDB that appear on Samsung
1833
+ var n = typeof openDatabase < "u" && /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), i = typeof fetch == "function" && fetch.toString().indexOf("[native code") !== -1;
1834
+ return (!n || i) && typeof indexedDB < "u" && // some outdated implementations of IDB that appear on Samsung
1862
1835
  // and HTC Android devices <4.4 are missing IDBKeyRange
1863
1836
  // See: https://github.com/mozilla/localForage/issues/128
1864
1837
  // See: https://github.com/mozilla/localForage/issues/272
@@ -1867,29 +1840,29 @@ var vt = { exports: {} };
1867
1840
  return !1;
1868
1841
  }
1869
1842
  }
1870
- function $(n, c) {
1871
- n = n || [], c = c || {};
1843
+ function $(n, i) {
1844
+ n = n || [], i = i || {};
1872
1845
  try {
1873
- return new Blob(n, c);
1846
+ return new Blob(n, i);
1874
1847
  } catch (f) {
1875
1848
  if (f.name !== "TypeError")
1876
1849
  throw f;
1877
1850
  for (var u = typeof BlobBuilder < "u" ? BlobBuilder : typeof MSBlobBuilder < "u" ? MSBlobBuilder : typeof MozBlobBuilder < "u" ? MozBlobBuilder : WebKitBlobBuilder, s = new u(), v = 0; v < n.length; v += 1)
1878
1851
  s.append(n[v]);
1879
- return s.getBlob(c.type);
1852
+ return s.getBlob(i.type);
1880
1853
  }
1881
1854
  }
1882
1855
  typeof Promise > "u" && a(3);
1883
1856
  var y = Promise;
1884
- function l(n, c) {
1885
- c && n.then(function(u) {
1886
- c(null, u);
1857
+ function l(n, i) {
1858
+ i && n.then(function(u) {
1859
+ i(null, u);
1887
1860
  }, function(u) {
1888
- c(u);
1861
+ i(u);
1889
1862
  });
1890
1863
  }
1891
- function o(n, c, u) {
1892
- typeof c == "function" && n.then(c), typeof u == "function" && n.catch(u);
1864
+ function o(n, i, u) {
1865
+ typeof i == "function" && n.then(i), typeof u == "function" && n.catch(u);
1893
1866
  }
1894
1867
  function r(n) {
1895
1868
  return typeof n != "string" && (console.warn(n + " used as a key, but it is not a string."), n = String(n)), n;
@@ -1898,62 +1871,62 @@ var vt = { exports: {} };
1898
1871
  if (arguments.length && typeof arguments[arguments.length - 1] == "function")
1899
1872
  return arguments[arguments.length - 1];
1900
1873
  }
1901
- var b = "local-forage-detect-blob-support", g = void 0, _ = {}, B = Object.prototype.toString, P = "readonly", A = "readwrite";
1902
- function C(n) {
1903
- for (var c = n.length, u = new ArrayBuffer(c), s = new Uint8Array(u), v = 0; v < c; v++)
1874
+ var b = "local-forage-detect-blob-support", g = void 0, _ = {}, B = Object.prototype.toString, P = "readonly", E = "readwrite";
1875
+ function L(n) {
1876
+ for (var i = n.length, u = new ArrayBuffer(i), s = new Uint8Array(u), v = 0; v < i; v++)
1904
1877
  s[v] = n.charCodeAt(v);
1905
1878
  return u;
1906
1879
  }
1907
1880
  function S(n) {
1908
- return new y(function(c) {
1909
- var u = n.transaction(b, A), s = $([""]);
1881
+ return new y(function(i) {
1882
+ var u = n.transaction(b, E), s = $([""]);
1910
1883
  u.objectStore(b).put(s, "key"), u.onabort = function(v) {
1911
- v.preventDefault(), v.stopPropagation(), c(!1);
1884
+ v.preventDefault(), v.stopPropagation(), i(!1);
1912
1885
  }, u.oncomplete = function() {
1913
1886
  var v = navigator.userAgent.match(/Chrome\/(\d+)/), f = navigator.userAgent.match(/Edge\//);
1914
- c(f || !v || parseInt(v[1], 10) >= 43);
1887
+ i(f || !v || parseInt(v[1], 10) >= 43);
1915
1888
  };
1916
1889
  }).catch(function() {
1917
1890
  return !1;
1918
1891
  });
1919
1892
  }
1920
1893
  function I(n) {
1921
- return typeof g == "boolean" ? y.resolve(g) : S(n).then(function(c) {
1922
- return g = c, g;
1894
+ return typeof g == "boolean" ? y.resolve(g) : S(n).then(function(i) {
1895
+ return g = i, g;
1923
1896
  });
1924
1897
  }
1925
1898
  function m(n) {
1926
- var c = _[n.name], u = {};
1899
+ var i = _[n.name], u = {};
1927
1900
  u.promise = new y(function(s, v) {
1928
1901
  u.resolve = s, u.reject = v;
1929
- }), c.deferredOperations.push(u), c.dbReady ? c.dbReady = c.dbReady.then(function() {
1902
+ }), i.deferredOperations.push(u), i.dbReady ? i.dbReady = i.dbReady.then(function() {
1930
1903
  return u.promise;
1931
- }) : c.dbReady = u.promise;
1904
+ }) : i.dbReady = u.promise;
1932
1905
  }
1933
1906
  function w(n) {
1934
- var c = _[n.name], u = c.deferredOperations.pop();
1907
+ var i = _[n.name], u = i.deferredOperations.pop();
1935
1908
  if (u)
1936
1909
  return u.resolve(), u.promise;
1937
1910
  }
1938
- function q(n, c) {
1911
+ function V(n, i) {
1939
1912
  var u = _[n.name], s = u.deferredOperations.pop();
1940
1913
  if (s)
1941
- return s.reject(c), s.promise;
1914
+ return s.reject(i), s.promise;
1942
1915
  }
1943
- function H(n, c) {
1916
+ function H(n, i) {
1944
1917
  return new y(function(u, s) {
1945
1918
  if (_[n.name] = _[n.name] || fe(), n.db)
1946
- if (c)
1919
+ if (i)
1947
1920
  m(n), n.db.close();
1948
1921
  else
1949
1922
  return u(n.db);
1950
1923
  var v = [n.name];
1951
- c && v.push(n.version);
1952
- var f = N.open.apply(N, v);
1953
- c && (f.onupgradeneeded = function(D) {
1954
- var L = f.result;
1924
+ i && v.push(n.version);
1925
+ var f = C.open.apply(C, v);
1926
+ i && (f.onupgradeneeded = function(D) {
1927
+ var N = f.result;
1955
1928
  try {
1956
- L.createObjectStore(n.storeName), D.oldVersion <= 1 && L.createObjectStore(b);
1929
+ N.createObjectStore(n.storeName), D.oldVersion <= 1 && N.createObjectStore(b);
1957
1930
  } catch (M) {
1958
1931
  if (M.name === "ConstraintError")
1959
1932
  console.warn('The database "' + n.name + '" has been upgraded from version ' + D.oldVersion + " to version " + D.newVersion + ', but the storage "' + n.storeName + '" already exists.');
@@ -1964,8 +1937,8 @@ var vt = { exports: {} };
1964
1937
  D.preventDefault(), s(f.error);
1965
1938
  }, f.onsuccess = function() {
1966
1939
  var D = f.result;
1967
- D.onversionchange = function(L) {
1968
- L.target.close();
1940
+ D.onversionchange = function(N) {
1941
+ N.target.close();
1969
1942
  }, u(D), w(n);
1970
1943
  };
1971
1944
  });
@@ -1973,14 +1946,14 @@ var vt = { exports: {} };
1973
1946
  function ee(n) {
1974
1947
  return H(n, !1);
1975
1948
  }
1976
- function ie(n) {
1949
+ function ce(n) {
1977
1950
  return H(n, !0);
1978
1951
  }
1979
- function Ee(n, c) {
1952
+ function Ee(n, i) {
1980
1953
  if (!n.db)
1981
1954
  return !0;
1982
1955
  var u = !n.db.objectStoreNames.contains(n.storeName), s = n.version < n.db.version, v = n.version > n.db.version;
1983
- if (s && (n.version !== c && console.warn('The database "' + n.name + `" can't be downgraded from version ` + n.db.version + " to version " + n.version + "."), n.version = n.db.version), v || u) {
1956
+ if (s && (n.version !== i && console.warn('The database "' + n.name + `" can't be downgraded from version ` + n.db.version + " to version " + n.version + "."), n.version = n.db.version), v || u) {
1984
1957
  if (u) {
1985
1958
  var f = n.db.version + 1;
1986
1959
  f > n.version && (n.version = f);
@@ -1990,11 +1963,11 @@ var vt = { exports: {} };
1990
1963
  return !1;
1991
1964
  }
1992
1965
  function k(n) {
1993
- return new y(function(c, u) {
1966
+ return new y(function(i, u) {
1994
1967
  var s = new FileReader();
1995
1968
  s.onerror = u, s.onloadend = function(v) {
1996
1969
  var f = btoa(v.target.result || "");
1997
- c({
1970
+ i({
1998
1971
  __local_forage_encoded_blob: !0,
1999
1972
  data: f,
2000
1973
  type: n.type
@@ -2003,15 +1976,15 @@ var vt = { exports: {} };
2003
1976
  });
2004
1977
  }
2005
1978
  function z(n) {
2006
- var c = C(atob(n.data));
2007
- return $([c], { type: n.type });
1979
+ var i = L(atob(n.data));
1980
+ return $([i], { type: n.type });
2008
1981
  }
2009
- function V(n) {
1982
+ function q(n) {
2010
1983
  return n && n.__local_forage_encoded_blob;
2011
1984
  }
2012
1985
  function ue(n) {
2013
- var c = this, u = c._initReady().then(function() {
2014
- var s = _[c._dbInfo.name];
1986
+ var i = this, u = i._initReady().then(function() {
1987
+ var s = _[i._dbInfo.name];
2015
1988
  if (s && s.dbReady)
2016
1989
  return s.dbReady;
2017
1990
  });
@@ -2019,33 +1992,33 @@ var vt = { exports: {} };
2019
1992
  }
2020
1993
  function Z(n) {
2021
1994
  m(n);
2022
- for (var c = _[n.name], u = c.forages, s = 0; s < u.length; s++) {
1995
+ for (var i = _[n.name], u = i.forages, s = 0; s < u.length; s++) {
2023
1996
  var v = u[s];
2024
1997
  v._dbInfo.db && (v._dbInfo.db.close(), v._dbInfo.db = null);
2025
1998
  }
2026
1999
  return n.db = null, ee(n).then(function(f) {
2027
- return n.db = f, Ee(n) ? ie(n) : f;
2000
+ return n.db = f, Ee(n) ? ce(n) : f;
2028
2001
  }).then(function(f) {
2029
- n.db = c.db = f;
2002
+ n.db = i.db = f;
2030
2003
  for (var D = 0; D < u.length; D++)
2031
2004
  u[D]._dbInfo.db = f;
2032
2005
  }).catch(function(f) {
2033
- throw q(n, f), f;
2006
+ throw V(n, f), f;
2034
2007
  });
2035
2008
  }
2036
- function p(n, c, u, s) {
2009
+ function p(n, i, u, s) {
2037
2010
  s === void 0 && (s = 1);
2038
2011
  try {
2039
- var v = n.db.transaction(n.storeName, c);
2012
+ var v = n.db.transaction(n.storeName, i);
2040
2013
  u(null, v);
2041
2014
  } catch (f) {
2042
2015
  if (s > 0 && (!n.db || f.name === "InvalidStateError" || f.name === "NotFoundError"))
2043
2016
  return y.resolve().then(function() {
2044
2017
  if (!n.db || f.name === "NotFoundError" && !n.db.objectStoreNames.contains(n.storeName) && n.version <= n.db.version)
2045
- return n.db && (n.version = n.db.version + 1), ie(n);
2018
+ return n.db && (n.version = n.db.version + 1), ce(n);
2046
2019
  }).then(function() {
2047
2020
  return Z(n).then(function() {
2048
- p(n, c, u, s - 1);
2021
+ p(n, i, u, s - 1);
2049
2022
  });
2050
2023
  }).catch(u);
2051
2024
  u(f);
@@ -2064,48 +2037,48 @@ var vt = { exports: {} };
2064
2037
  };
2065
2038
  }
2066
2039
  function de(n) {
2067
- var c = this, u = {
2040
+ var i = this, u = {
2068
2041
  db: null
2069
2042
  };
2070
2043
  if (n)
2071
2044
  for (var s in n)
2072
2045
  u[s] = n[s];
2073
2046
  var v = _[u.name];
2074
- v || (v = fe(), _[u.name] = v), v.forages.push(c), c._initReady || (c._initReady = c.ready, c.ready = ue);
2047
+ v || (v = fe(), _[u.name] = v), v.forages.push(i), i._initReady || (i._initReady = i.ready, i.ready = ue);
2075
2048
  var f = [];
2076
2049
  function D() {
2077
2050
  return y.resolve();
2078
2051
  }
2079
- for (var L = 0; L < v.forages.length; L++) {
2080
- var M = v.forages[L];
2081
- M !== c && f.push(M._initReady().catch(D));
2052
+ for (var N = 0; N < v.forages.length; N++) {
2053
+ var M = v.forages[N];
2054
+ M !== i && f.push(M._initReady().catch(D));
2082
2055
  }
2083
2056
  var R = v.forages.slice(0);
2084
2057
  return y.all(f).then(function() {
2085
2058
  return u.db = v.db, ee(u);
2086
2059
  }).then(function(F) {
2087
- return u.db = F, Ee(u, c._defaultConfig.version) ? ie(u) : F;
2060
+ return u.db = F, Ee(u, i._defaultConfig.version) ? ce(u) : F;
2088
2061
  }).then(function(F) {
2089
- u.db = v.db = F, c._dbInfo = u;
2062
+ u.db = v.db = F, i._dbInfo = u;
2090
2063
  for (var G = 0; G < R.length; G++) {
2091
2064
  var j = R[G];
2092
- j !== c && (j._dbInfo.db = u.db, j._dbInfo.version = u.version);
2065
+ j !== i && (j._dbInfo.db = u.db, j._dbInfo.version = u.version);
2093
2066
  }
2094
2067
  });
2095
2068
  }
2096
- function ge(n, c) {
2069
+ function ge(n, i) {
2097
2070
  var u = this;
2098
2071
  n = r(n);
2099
2072
  var s = new y(function(v, f) {
2100
2073
  u.ready().then(function() {
2101
- p(u._dbInfo, P, function(D, L) {
2074
+ p(u._dbInfo, P, function(D, N) {
2102
2075
  if (D)
2103
2076
  return f(D);
2104
2077
  try {
2105
- var M = L.objectStore(u._dbInfo.storeName), R = M.get(n);
2078
+ var M = N.objectStore(u._dbInfo.storeName), R = M.get(n);
2106
2079
  R.onsuccess = function() {
2107
2080
  var F = R.result;
2108
- F === void 0 && (F = null), V(F) && (F = z(F)), v(F);
2081
+ F === void 0 && (F = null), q(F) && (F = z(F)), v(F);
2109
2082
  }, R.onerror = function() {
2110
2083
  f(R.error);
2111
2084
  };
@@ -2115,21 +2088,21 @@ var vt = { exports: {} };
2115
2088
  });
2116
2089
  }).catch(f);
2117
2090
  });
2118
- return l(s, c), s;
2091
+ return l(s, i), s;
2119
2092
  }
2120
- function Ke(n, c) {
2093
+ function Ke(n, i) {
2121
2094
  var u = this, s = new y(function(v, f) {
2122
2095
  u.ready().then(function() {
2123
- p(u._dbInfo, P, function(D, L) {
2096
+ p(u._dbInfo, P, function(D, N) {
2124
2097
  if (D)
2125
2098
  return f(D);
2126
2099
  try {
2127
- var M = L.objectStore(u._dbInfo.storeName), R = M.openCursor(), F = 1;
2100
+ var M = N.objectStore(u._dbInfo.storeName), R = M.openCursor(), F = 1;
2128
2101
  R.onsuccess = function() {
2129
2102
  var G = R.result;
2130
2103
  if (G) {
2131
2104
  var j = G.value;
2132
- V(j) && (j = z(j));
2105
+ q(j) && (j = z(j));
2133
2106
  var Q = n(j, G.key, F++);
2134
2107
  Q !== void 0 ? v(Q) : G.continue();
2135
2108
  } else
@@ -2143,19 +2116,19 @@ var vt = { exports: {} };
2143
2116
  });
2144
2117
  }).catch(f);
2145
2118
  });
2146
- return l(s, c), s;
2119
+ return l(s, i), s;
2147
2120
  }
2148
- function Ce(n, c, u) {
2121
+ function Ce(n, i, u) {
2149
2122
  var s = this;
2150
2123
  n = r(n);
2151
2124
  var v = new y(function(f, D) {
2152
- var L;
2125
+ var N;
2153
2126
  s.ready().then(function() {
2154
- return L = s._dbInfo, B.call(c) === "[object Blob]" ? I(L.db).then(function(M) {
2155
- return M ? c : k(c);
2156
- }) : c;
2127
+ return N = s._dbInfo, B.call(i) === "[object Blob]" ? I(N.db).then(function(M) {
2128
+ return M ? i : k(i);
2129
+ }) : i;
2157
2130
  }).then(function(M) {
2158
- p(s._dbInfo, A, function(R, F) {
2131
+ p(s._dbInfo, E, function(R, F) {
2159
2132
  if (R)
2160
2133
  return D(R);
2161
2134
  try {
@@ -2176,21 +2149,21 @@ var vt = { exports: {} };
2176
2149
  });
2177
2150
  return l(v, u), v;
2178
2151
  }
2179
- function Qe(n, c) {
2152
+ function Qe(n, i) {
2180
2153
  var u = this;
2181
2154
  n = r(n);
2182
2155
  var s = new y(function(v, f) {
2183
2156
  u.ready().then(function() {
2184
- p(u._dbInfo, A, function(D, L) {
2157
+ p(u._dbInfo, E, function(D, N) {
2185
2158
  if (D)
2186
2159
  return f(D);
2187
2160
  try {
2188
- var M = L.objectStore(u._dbInfo.storeName), R = M.delete(n);
2189
- L.oncomplete = function() {
2161
+ var M = N.objectStore(u._dbInfo.storeName), R = M.delete(n);
2162
+ N.oncomplete = function() {
2190
2163
  v();
2191
- }, L.onerror = function() {
2164
+ }, N.onerror = function() {
2192
2165
  f(R.error);
2193
- }, L.onabort = function() {
2166
+ }, N.onabort = function() {
2194
2167
  var F = R.error ? R.error : R.transaction.error;
2195
2168
  f(F);
2196
2169
  };
@@ -2200,16 +2173,16 @@ var vt = { exports: {} };
2200
2173
  });
2201
2174
  }).catch(f);
2202
2175
  });
2203
- return l(s, c), s;
2176
+ return l(s, i), s;
2204
2177
  }
2205
2178
  function Xe(n) {
2206
- var c = this, u = new y(function(s, v) {
2207
- c.ready().then(function() {
2208
- p(c._dbInfo, A, function(f, D) {
2179
+ var i = this, u = new y(function(s, v) {
2180
+ i.ready().then(function() {
2181
+ p(i._dbInfo, E, function(f, D) {
2209
2182
  if (f)
2210
2183
  return v(f);
2211
2184
  try {
2212
- var L = D.objectStore(c._dbInfo.storeName), M = L.clear();
2185
+ var N = D.objectStore(i._dbInfo.storeName), M = N.clear();
2213
2186
  D.oncomplete = function() {
2214
2187
  s();
2215
2188
  }, D.onabort = D.onerror = function() {
@@ -2225,13 +2198,13 @@ var vt = { exports: {} };
2225
2198
  return l(u, n), u;
2226
2199
  }
2227
2200
  function Oe(n) {
2228
- var c = this, u = new y(function(s, v) {
2229
- c.ready().then(function() {
2230
- p(c._dbInfo, P, function(f, D) {
2201
+ var i = this, u = new y(function(s, v) {
2202
+ i.ready().then(function() {
2203
+ p(i._dbInfo, P, function(f, D) {
2231
2204
  if (f)
2232
2205
  return v(f);
2233
2206
  try {
2234
- var L = D.objectStore(c._dbInfo.storeName), M = L.count();
2207
+ var N = D.objectStore(i._dbInfo.storeName), M = N.count();
2235
2208
  M.onsuccess = function() {
2236
2209
  s(M.result);
2237
2210
  }, M.onerror = function() {
@@ -2245,18 +2218,18 @@ var vt = { exports: {} };
2245
2218
  });
2246
2219
  return l(u, n), u;
2247
2220
  }
2248
- function pe(n, c) {
2221
+ function pe(n, i) {
2249
2222
  var u = this, s = new y(function(v, f) {
2250
2223
  if (n < 0) {
2251
2224
  v(null);
2252
2225
  return;
2253
2226
  }
2254
2227
  u.ready().then(function() {
2255
- p(u._dbInfo, P, function(D, L) {
2228
+ p(u._dbInfo, P, function(D, N) {
2256
2229
  if (D)
2257
2230
  return f(D);
2258
2231
  try {
2259
- var M = L.objectStore(u._dbInfo.storeName), R = !1, F = M.openKeyCursor();
2232
+ var M = N.objectStore(u._dbInfo.storeName), R = !1, F = M.openKeyCursor();
2260
2233
  F.onsuccess = function() {
2261
2234
  var G = F.result;
2262
2235
  if (!G) {
@@ -2273,16 +2246,16 @@ var vt = { exports: {} };
2273
2246
  });
2274
2247
  }).catch(f);
2275
2248
  });
2276
- return l(s, c), s;
2249
+ return l(s, i), s;
2277
2250
  }
2278
2251
  function er(n) {
2279
- var c = this, u = new y(function(s, v) {
2280
- c.ready().then(function() {
2281
- p(c._dbInfo, P, function(f, D) {
2252
+ var i = this, u = new y(function(s, v) {
2253
+ i.ready().then(function() {
2254
+ p(i._dbInfo, P, function(f, D) {
2282
2255
  if (f)
2283
2256
  return v(f);
2284
2257
  try {
2285
- var L = D.objectStore(c._dbInfo.storeName), M = L.openKeyCursor(), R = [];
2258
+ var N = D.objectStore(i._dbInfo.storeName), M = N.openKeyCursor(), R = [];
2286
2259
  M.onsuccess = function() {
2287
2260
  var F = M.result;
2288
2261
  if (!F) {
@@ -2301,33 +2274,33 @@ var vt = { exports: {} };
2301
2274
  });
2302
2275
  return l(u, n), u;
2303
2276
  }
2304
- function rr(n, c) {
2305
- c = T.apply(this, arguments);
2277
+ function rr(n, i) {
2278
+ i = T.apply(this, arguments);
2306
2279
  var u = this.config();
2307
2280
  n = typeof n != "function" && n || {}, n.name || (n.name = n.name || u.name, n.storeName = n.storeName || u.storeName);
2308
2281
  var s = this, v;
2309
2282
  if (!n.name)
2310
2283
  v = y.reject("Invalid arguments");
2311
2284
  else {
2312
- var f = n.name === u.name && s._dbInfo.db, D = f ? y.resolve(s._dbInfo.db) : ee(n).then(function(L) {
2285
+ var f = n.name === u.name && s._dbInfo.db, D = f ? y.resolve(s._dbInfo.db) : ee(n).then(function(N) {
2313
2286
  var M = _[n.name], R = M.forages;
2314
- M.db = L;
2287
+ M.db = N;
2315
2288
  for (var F = 0; F < R.length; F++)
2316
- R[F]._dbInfo.db = L;
2317
- return L;
2289
+ R[F]._dbInfo.db = N;
2290
+ return N;
2318
2291
  });
2319
- n.storeName ? v = D.then(function(L) {
2320
- if (L.objectStoreNames.contains(n.storeName)) {
2321
- var M = L.version + 1;
2292
+ n.storeName ? v = D.then(function(N) {
2293
+ if (N.objectStoreNames.contains(n.storeName)) {
2294
+ var M = N.version + 1;
2322
2295
  m(n);
2323
2296
  var R = _[n.name], F = R.forages;
2324
- L.close();
2297
+ N.close();
2325
2298
  for (var G = 0; G < F.length; G++) {
2326
2299
  var j = F[G];
2327
2300
  j._dbInfo.db = null, j._dbInfo.version = M;
2328
2301
  }
2329
2302
  var Q = new y(function(X, ae) {
2330
- var te = N.open(n.name, M);
2303
+ var te = C.open(n.name, M);
2331
2304
  te.onerror = function(me) {
2332
2305
  var Fe = te.result;
2333
2306
  Fe.close(), ae(me);
@@ -2346,20 +2319,20 @@ var vt = { exports: {} };
2346
2319
  te._dbInfo.db = X, w(te._dbInfo);
2347
2320
  }
2348
2321
  }).catch(function(X) {
2349
- throw (q(n, X) || y.resolve()).catch(function() {
2322
+ throw (V(n, X) || y.resolve()).catch(function() {
2350
2323
  }), X;
2351
2324
  });
2352
2325
  }
2353
- }) : v = D.then(function(L) {
2326
+ }) : v = D.then(function(N) {
2354
2327
  m(n);
2355
2328
  var M = _[n.name], R = M.forages;
2356
- L.close();
2329
+ N.close();
2357
2330
  for (var F = 0; F < R.length; F++) {
2358
2331
  var G = R[F];
2359
2332
  G._dbInfo.db = null;
2360
2333
  }
2361
2334
  var j = new y(function(Q, X) {
2362
- var ae = N.deleteDatabase(n.name);
2335
+ var ae = C.deleteDatabase(n.name);
2363
2336
  ae.onerror = function() {
2364
2337
  var te = ae.result;
2365
2338
  te && te.close(), X(ae.error);
@@ -2377,12 +2350,12 @@ var vt = { exports: {} };
2377
2350
  w(ae._dbInfo);
2378
2351
  }
2379
2352
  }).catch(function(Q) {
2380
- throw (q(n, Q) || y.resolve()).catch(function() {
2353
+ throw (V(n, Q) || y.resolve()).catch(function() {
2381
2354
  }), Q;
2382
2355
  });
2383
2356
  });
2384
2357
  }
2385
- return l(v, c), v;
2358
+ return l(v, i), v;
2386
2359
  }
2387
2360
  var tr = {
2388
2361
  _driver: "asyncStorage",
@@ -2401,48 +2374,48 @@ var vt = { exports: {} };
2401
2374
  function Be() {
2402
2375
  return typeof openDatabase == "function";
2403
2376
  }
2404
- var we = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", xe = "~~local_forage_type~", We = /^~~local_forage_type~([^~]+)~/, Ne = "__lfsc__:", Le = Ne.length, W = "arbf", re = "blob", K = "si08", O = "ui08", ye = "uic8", Ae = "si16", Me = "si32", be = "ur16", se = "ui32", Ie = "fl32", Pr = "fl64", Rr = Le + W.length, Br = Object.prototype.toString;
2377
+ var we = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", xe = "~~local_forage_type~", We = /^~~local_forage_type~([^~]+)~/, Le = "__lfsc__:", Ne = Le.length, W = "arbf", re = "blob", K = "si08", O = "ui08", ye = "uic8", Ae = "si16", Me = "si32", be = "ur16", se = "ui32", Ie = "fl32", Pr = "fl64", Rr = Ne + W.length, Br = Object.prototype.toString;
2405
2378
  function Ur(n) {
2406
- var c = n.length * 0.75, u = n.length, s, v = 0, f, D, L, M;
2407
- n[n.length - 1] === "=" && (c--, n[n.length - 2] === "=" && c--);
2408
- var R = new ArrayBuffer(c), F = new Uint8Array(R);
2379
+ var i = n.length * 0.75, u = n.length, s, v = 0, f, D, N, M;
2380
+ n[n.length - 1] === "=" && (i--, n[n.length - 2] === "=" && i--);
2381
+ var R = new ArrayBuffer(i), F = new Uint8Array(R);
2409
2382
  for (s = 0; s < u; s += 4)
2410
- f = we.indexOf(n[s]), D = we.indexOf(n[s + 1]), L = we.indexOf(n[s + 2]), M = we.indexOf(n[s + 3]), F[v++] = f << 2 | D >> 4, F[v++] = (D & 15) << 4 | L >> 2, F[v++] = (L & 3) << 6 | M & 63;
2383
+ f = we.indexOf(n[s]), D = we.indexOf(n[s + 1]), N = we.indexOf(n[s + 2]), M = we.indexOf(n[s + 3]), F[v++] = f << 2 | D >> 4, F[v++] = (D & 15) << 4 | N >> 2, F[v++] = (N & 3) << 6 | M & 63;
2411
2384
  return R;
2412
2385
  }
2413
2386
  function nr(n) {
2414
- var c = new Uint8Array(n), u = "", s;
2415
- for (s = 0; s < c.length; s += 3)
2416
- u += we[c[s] >> 2], u += we[(c[s] & 3) << 4 | c[s + 1] >> 4], u += we[(c[s + 1] & 15) << 2 | c[s + 2] >> 6], u += we[c[s + 2] & 63];
2417
- return c.length % 3 === 2 ? u = u.substring(0, u.length - 1) + "=" : c.length % 3 === 1 && (u = u.substring(0, u.length - 2) + "=="), u;
2387
+ var i = new Uint8Array(n), u = "", s;
2388
+ for (s = 0; s < i.length; s += 3)
2389
+ u += we[i[s] >> 2], u += we[(i[s] & 3) << 4 | i[s + 1] >> 4], u += we[(i[s + 1] & 15) << 2 | i[s + 2] >> 6], u += we[i[s + 2] & 63];
2390
+ return i.length % 3 === 2 ? u = u.substring(0, u.length - 1) + "=" : i.length % 3 === 1 && (u = u.substring(0, u.length - 2) + "=="), u;
2418
2391
  }
2419
- function yt(n, c) {
2392
+ function dt(n, i) {
2420
2393
  var u = "";
2421
2394
  if (n && (u = Br.call(n)), n && (u === "[object ArrayBuffer]" || n.buffer && Br.call(n.buffer) === "[object ArrayBuffer]")) {
2422
- var s, v = Ne;
2423
- n instanceof ArrayBuffer ? (s = n, v += W) : (s = n.buffer, u === "[object Int8Array]" ? v += K : u === "[object Uint8Array]" ? v += O : u === "[object Uint8ClampedArray]" ? v += ye : u === "[object Int16Array]" ? v += Ae : u === "[object Uint16Array]" ? v += be : u === "[object Int32Array]" ? v += Me : u === "[object Uint32Array]" ? v += se : u === "[object Float32Array]" ? v += Ie : u === "[object Float64Array]" ? v += Pr : c(new Error("Failed to get type for BinaryArray"))), c(v + nr(s));
2395
+ var s, v = Le;
2396
+ n instanceof ArrayBuffer ? (s = n, v += W) : (s = n.buffer, u === "[object Int8Array]" ? v += K : u === "[object Uint8Array]" ? v += O : u === "[object Uint8ClampedArray]" ? v += ye : u === "[object Int16Array]" ? v += Ae : u === "[object Uint16Array]" ? v += be : u === "[object Int32Array]" ? v += Me : u === "[object Uint32Array]" ? v += se : u === "[object Float32Array]" ? v += Ie : u === "[object Float64Array]" ? v += Pr : i(new Error("Failed to get type for BinaryArray"))), i(v + nr(s));
2424
2397
  } else if (u === "[object Blob]") {
2425
2398
  var f = new FileReader();
2426
2399
  f.onload = function() {
2427
2400
  var D = xe + n.type + "~" + nr(this.result);
2428
- c(Ne + re + D);
2401
+ i(Le + re + D);
2429
2402
  }, f.readAsArrayBuffer(n);
2430
2403
  } else
2431
2404
  try {
2432
- c(JSON.stringify(n));
2405
+ i(JSON.stringify(n));
2433
2406
  } catch (D) {
2434
- console.error("Couldn't convert value into a JSON string: ", n), c(null, D);
2407
+ console.error("Couldn't convert value into a JSON string: ", n), i(null, D);
2435
2408
  }
2436
2409
  }
2437
- function wt(n) {
2438
- if (n.substring(0, Le) !== Ne)
2410
+ function mt(n) {
2411
+ if (n.substring(0, Ne) !== Le)
2439
2412
  return JSON.parse(n);
2440
- var c = n.substring(Rr), u = n.substring(Le, Rr), s;
2441
- if (u === re && We.test(c)) {
2442
- var v = c.match(We);
2443
- s = v[1], c = c.substring(v[0].length);
2413
+ var i = n.substring(Rr), u = n.substring(Ne, Rr), s;
2414
+ if (u === re && We.test(i)) {
2415
+ var v = i.match(We);
2416
+ s = v[1], i = i.substring(v[0].length);
2444
2417
  }
2445
- var f = Ur(c);
2418
+ var f = Ur(i);
2446
2419
  switch (u) {
2447
2420
  case W:
2448
2421
  return f;
@@ -2471,16 +2444,16 @@ var vt = { exports: {} };
2471
2444
  }
2472
2445
  }
2473
2446
  var ar = {
2474
- serialize: yt,
2475
- deserialize: wt,
2447
+ serialize: dt,
2448
+ deserialize: mt,
2476
2449
  stringToBuffer: Ur,
2477
2450
  bufferToString: nr
2478
2451
  };
2479
- function Fr(n, c, u, s) {
2480
- n.executeSql("CREATE TABLE IF NOT EXISTS " + c.storeName + " (id INTEGER PRIMARY KEY, key unique, value)", [], u, s);
2452
+ function Fr(n, i, u, s) {
2453
+ n.executeSql("CREATE TABLE IF NOT EXISTS " + i.storeName + " (id INTEGER PRIMARY KEY, key unique, value)", [], u, s);
2481
2454
  }
2482
- function bt(n) {
2483
- var c = this, u = {
2455
+ function vt(n) {
2456
+ var i = this, u = {
2484
2457
  db: null
2485
2458
  };
2486
2459
  if (n)
@@ -2489,12 +2462,12 @@ var vt = { exports: {} };
2489
2462
  var v = new y(function(f, D) {
2490
2463
  try {
2491
2464
  u.db = openDatabase(u.name, String(u.version), u.description, u.size);
2492
- } catch (L) {
2493
- return D(L);
2465
+ } catch (N) {
2466
+ return D(N);
2494
2467
  }
2495
- u.db.transaction(function(L) {
2496
- Fr(L, u, function() {
2497
- c._dbInfo = u, f();
2468
+ u.db.transaction(function(N) {
2469
+ Fr(N, u, function() {
2470
+ i._dbInfo = u, f();
2498
2471
  }, function(M, R) {
2499
2472
  D(R);
2500
2473
  });
@@ -2502,23 +2475,23 @@ var vt = { exports: {} };
2502
2475
  });
2503
2476
  return u.serializer = ar, v;
2504
2477
  }
2505
- function _e(n, c, u, s, v, f) {
2506
- n.executeSql(u, s, v, function(D, L) {
2507
- L.code === L.SYNTAX_ERR ? D.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?", [c.storeName], function(M, R) {
2508
- R.rows.length ? f(M, L) : Fr(M, c, function() {
2478
+ function _e(n, i, u, s, v, f) {
2479
+ n.executeSql(u, s, v, function(D, N) {
2480
+ N.code === N.SYNTAX_ERR ? D.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?", [i.storeName], function(M, R) {
2481
+ R.rows.length ? f(M, N) : Fr(M, i, function() {
2509
2482
  M.executeSql(u, s, v, f);
2510
2483
  }, f);
2511
- }, f) : f(D, L);
2484
+ }, f) : f(D, N);
2512
2485
  }, f);
2513
2486
  }
2514
- function St(n, c) {
2487
+ function gt(n, i) {
2515
2488
  var u = this;
2516
2489
  n = r(n);
2517
2490
  var s = new y(function(v, f) {
2518
2491
  u.ready().then(function() {
2519
2492
  var D = u._dbInfo;
2520
- D.db.transaction(function(L) {
2521
- _e(L, D, "SELECT * FROM " + D.storeName + " WHERE key = ? LIMIT 1", [n], function(M, R) {
2493
+ D.db.transaction(function(N) {
2494
+ _e(N, D, "SELECT * FROM " + D.storeName + " WHERE key = ? LIMIT 1", [n], function(M, R) {
2522
2495
  var F = R.rows.length ? R.rows.item(0).value : null;
2523
2496
  F && (F = D.serializer.deserialize(F)), v(F);
2524
2497
  }, function(M, R) {
@@ -2527,14 +2500,14 @@ var vt = { exports: {} };
2527
2500
  });
2528
2501
  }).catch(f);
2529
2502
  });
2530
- return l(s, c), s;
2503
+ return l(s, i), s;
2531
2504
  }
2532
- function Et(n, c) {
2505
+ function yt(n, i) {
2533
2506
  var u = this, s = new y(function(v, f) {
2534
2507
  u.ready().then(function() {
2535
2508
  var D = u._dbInfo;
2536
- D.db.transaction(function(L) {
2537
- _e(L, D, "SELECT * FROM " + D.storeName, [], function(M, R) {
2509
+ D.db.transaction(function(N) {
2510
+ _e(N, D, "SELECT * FROM " + D.storeName, [], function(M, R) {
2538
2511
  for (var F = R.rows, G = F.length, j = 0; j < G; j++) {
2539
2512
  var Q = F.item(j), X = Q.value;
2540
2513
  if (X && (X = D.serializer.deserialize(X)), X = n(X, Q.key, j + 1), X !== void 0) {
@@ -2549,21 +2522,21 @@ var vt = { exports: {} };
2549
2522
  });
2550
2523
  }).catch(f);
2551
2524
  });
2552
- return l(s, c), s;
2525
+ return l(s, i), s;
2553
2526
  }
2554
- function $r(n, c, u, s) {
2527
+ function $r(n, i, u, s) {
2555
2528
  var v = this;
2556
2529
  n = r(n);
2557
- var f = new y(function(D, L) {
2530
+ var f = new y(function(D, N) {
2558
2531
  v.ready().then(function() {
2559
- c === void 0 && (c = null);
2560
- var M = c, R = v._dbInfo;
2561
- R.serializer.serialize(c, function(F, G) {
2562
- G ? L(G) : R.db.transaction(function(j) {
2532
+ i === void 0 && (i = null);
2533
+ var M = i, R = v._dbInfo;
2534
+ R.serializer.serialize(i, function(F, G) {
2535
+ G ? N(G) : R.db.transaction(function(j) {
2563
2536
  _e(j, R, "INSERT OR REPLACE INTO " + R.storeName + " (key, value) VALUES (?, ?)", [n, F], function() {
2564
2537
  D(M);
2565
2538
  }, function(Q, X) {
2566
- L(X);
2539
+ N(X);
2567
2540
  });
2568
2541
  }, function(j) {
2569
2542
  if (j.code === j.QUOTA_ERR) {
@@ -2571,25 +2544,25 @@ var vt = { exports: {} };
2571
2544
  D($r.apply(v, [n, M, u, s - 1]));
2572
2545
  return;
2573
2546
  }
2574
- L(j);
2547
+ N(j);
2575
2548
  }
2576
2549
  });
2577
2550
  });
2578
- }).catch(L);
2551
+ }).catch(N);
2579
2552
  });
2580
2553
  return l(f, u), f;
2581
2554
  }
2582
- function At(n, c, u) {
2583
- return $r.apply(this, [n, c, u, 1]);
2555
+ function wt(n, i, u) {
2556
+ return $r.apply(this, [n, i, u, 1]);
2584
2557
  }
2585
- function It(n, c) {
2558
+ function bt(n, i) {
2586
2559
  var u = this;
2587
2560
  n = r(n);
2588
2561
  var s = new y(function(v, f) {
2589
2562
  u.ready().then(function() {
2590
2563
  var D = u._dbInfo;
2591
- D.db.transaction(function(L) {
2592
- _e(L, D, "DELETE FROM " + D.storeName + " WHERE key = ?", [n], function() {
2564
+ D.db.transaction(function(N) {
2565
+ _e(N, D, "DELETE FROM " + D.storeName + " WHERE key = ?", [n], function() {
2593
2566
  v();
2594
2567
  }, function(M, R) {
2595
2568
  f(R);
@@ -2597,16 +2570,16 @@ var vt = { exports: {} };
2597
2570
  });
2598
2571
  }).catch(f);
2599
2572
  });
2600
- return l(s, c), s;
2573
+ return l(s, i), s;
2601
2574
  }
2602
- function _t(n) {
2603
- var c = this, u = new y(function(s, v) {
2604
- c.ready().then(function() {
2605
- var f = c._dbInfo;
2575
+ function St(n) {
2576
+ var i = this, u = new y(function(s, v) {
2577
+ i.ready().then(function() {
2578
+ var f = i._dbInfo;
2606
2579
  f.db.transaction(function(D) {
2607
2580
  _e(D, f, "DELETE FROM " + f.storeName, [], function() {
2608
2581
  s();
2609
- }, function(L, M) {
2582
+ }, function(N, M) {
2610
2583
  v(M);
2611
2584
  });
2612
2585
  });
@@ -2614,15 +2587,15 @@ var vt = { exports: {} };
2614
2587
  });
2615
2588
  return l(u, n), u;
2616
2589
  }
2617
- function Dt(n) {
2618
- var c = this, u = new y(function(s, v) {
2619
- c.ready().then(function() {
2620
- var f = c._dbInfo;
2590
+ function Et(n) {
2591
+ var i = this, u = new y(function(s, v) {
2592
+ i.ready().then(function() {
2593
+ var f = i._dbInfo;
2621
2594
  f.db.transaction(function(D) {
2622
- _e(D, f, "SELECT COUNT(key) as c FROM " + f.storeName, [], function(L, M) {
2595
+ _e(D, f, "SELECT COUNT(key) as c FROM " + f.storeName, [], function(N, M) {
2623
2596
  var R = M.rows.item(0).c;
2624
2597
  s(R);
2625
- }, function(L, M) {
2598
+ }, function(N, M) {
2626
2599
  v(M);
2627
2600
  });
2628
2601
  });
@@ -2630,12 +2603,12 @@ var vt = { exports: {} };
2630
2603
  });
2631
2604
  return l(u, n), u;
2632
2605
  }
2633
- function xt(n, c) {
2606
+ function At(n, i) {
2634
2607
  var u = this, s = new y(function(v, f) {
2635
2608
  u.ready().then(function() {
2636
2609
  var D = u._dbInfo;
2637
- D.db.transaction(function(L) {
2638
- _e(L, D, "SELECT key FROM " + D.storeName + " WHERE id = ? LIMIT 1", [n + 1], function(M, R) {
2610
+ D.db.transaction(function(N) {
2611
+ _e(N, D, "SELECT key FROM " + D.storeName + " WHERE id = ? LIMIT 1", [n + 1], function(M, R) {
2639
2612
  var F = R.rows.length ? R.rows.item(0).key : null;
2640
2613
  v(F);
2641
2614
  }, function(M, R) {
@@ -2644,18 +2617,18 @@ var vt = { exports: {} };
2644
2617
  });
2645
2618
  }).catch(f);
2646
2619
  });
2647
- return l(s, c), s;
2620
+ return l(s, i), s;
2648
2621
  }
2649
- function Tt(n) {
2650
- var c = this, u = new y(function(s, v) {
2651
- c.ready().then(function() {
2652
- var f = c._dbInfo;
2622
+ function It(n) {
2623
+ var i = this, u = new y(function(s, v) {
2624
+ i.ready().then(function() {
2625
+ var f = i._dbInfo;
2653
2626
  f.db.transaction(function(D) {
2654
- _e(D, f, "SELECT key FROM " + f.storeName, [], function(L, M) {
2627
+ _e(D, f, "SELECT key FROM " + f.storeName, [], function(N, M) {
2655
2628
  for (var R = [], F = 0; F < M.rows.length; F++)
2656
2629
  R.push(M.rows.item(F).key);
2657
2630
  s(R);
2658
- }, function(L, M) {
2631
+ }, function(N, M) {
2659
2632
  v(M);
2660
2633
  });
2661
2634
  });
@@ -2663,13 +2636,13 @@ var vt = { exports: {} };
2663
2636
  });
2664
2637
  return l(u, n), u;
2665
2638
  }
2666
- function Ct(n) {
2667
- return new y(function(c, u) {
2639
+ function _t(n) {
2640
+ return new y(function(i, u) {
2668
2641
  n.transaction(function(s) {
2669
2642
  s.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'", [], function(v, f) {
2670
- for (var D = [], L = 0; L < f.rows.length; L++)
2671
- D.push(f.rows.item(L).name);
2672
- c({
2643
+ for (var D = [], N = 0; N < f.rows.length; N++)
2644
+ D.push(f.rows.item(N).name);
2645
+ i({
2673
2646
  db: n,
2674
2647
  storeNames: D
2675
2648
  });
@@ -2681,8 +2654,8 @@ var vt = { exports: {} };
2681
2654
  });
2682
2655
  });
2683
2656
  }
2684
- function Nt(n, c) {
2685
- c = T.apply(this, arguments);
2657
+ function Dt(n, i) {
2658
+ i = T.apply(this, arguments);
2686
2659
  var u = this.config();
2687
2660
  n = typeof n != "function" && n || {}, n.name || (n.name = n.name || u.name, n.storeName = n.storeName || u.storeName);
2688
2661
  var s = this, v;
@@ -2691,9 +2664,9 @@ var vt = { exports: {} };
2691
2664
  n.name === u.name ? D = s._dbInfo.db : D = openDatabase(n.name, "", "", 0), n.storeName ? f({
2692
2665
  db: D,
2693
2666
  storeNames: [n.storeName]
2694
- }) : f(Ct(D));
2667
+ }) : f(_t(D));
2695
2668
  }).then(function(f) {
2696
- return new y(function(D, L) {
2669
+ return new y(function(D, N) {
2697
2670
  f.db.transaction(function(M) {
2698
2671
  function R(Q) {
2699
2672
  return new y(function(X, ae) {
@@ -2709,29 +2682,29 @@ var vt = { exports: {} };
2709
2682
  y.all(F).then(function() {
2710
2683
  D();
2711
2684
  }).catch(function(Q) {
2712
- L(Q);
2685
+ N(Q);
2713
2686
  });
2714
2687
  }, function(M) {
2715
- L(M);
2688
+ N(M);
2716
2689
  });
2717
2690
  });
2718
- }) : v = y.reject("Invalid arguments"), l(v, c), v;
2691
+ }) : v = y.reject("Invalid arguments"), l(v, i), v;
2719
2692
  }
2720
- var Lt = {
2693
+ var xt = {
2721
2694
  _driver: "webSQLStorage",
2722
- _initStorage: bt,
2695
+ _initStorage: vt,
2723
2696
  _support: Be(),
2724
- iterate: Et,
2725
- getItem: St,
2726
- setItem: At,
2727
- removeItem: It,
2728
- clear: _t,
2729
- length: Dt,
2730
- key: xt,
2731
- keys: Tt,
2732
- dropInstance: Nt
2697
+ iterate: yt,
2698
+ getItem: gt,
2699
+ setItem: wt,
2700
+ removeItem: bt,
2701
+ clear: St,
2702
+ length: Et,
2703
+ key: At,
2704
+ keys: It,
2705
+ dropInstance: Dt
2733
2706
  };
2734
- function Mt() {
2707
+ function Tt() {
2735
2708
  try {
2736
2709
  return typeof localStorage < "u" && "setItem" in localStorage && // in IE8 typeof localStorage.setItem === 'object'
2737
2710
  !!localStorage.setItem;
@@ -2739,11 +2712,11 @@ var vt = { exports: {} };
2739
2712
  return !1;
2740
2713
  }
2741
2714
  }
2742
- function kr(n, c) {
2715
+ function kr(n, i) {
2743
2716
  var u = n.name + "/";
2744
- return n.storeName !== c.storeName && (u += n.storeName + "/"), u;
2717
+ return n.storeName !== i.storeName && (u += n.storeName + "/"), u;
2745
2718
  }
2746
- function Pt() {
2719
+ function Ct() {
2747
2720
  var n = "_localforage_support_test";
2748
2721
  try {
2749
2722
  return localStorage.setItem(n, !0), localStorage.removeItem(n), !1;
@@ -2751,37 +2724,37 @@ var vt = { exports: {} };
2751
2724
  return !0;
2752
2725
  }
2753
2726
  }
2754
- function Rt() {
2755
- return !Pt() || localStorage.length > 0;
2727
+ function Lt() {
2728
+ return !Ct() || localStorage.length > 0;
2756
2729
  }
2757
- function Bt(n) {
2758
- var c = this, u = {};
2730
+ function Nt(n) {
2731
+ var i = this, u = {};
2759
2732
  if (n)
2760
2733
  for (var s in n)
2761
2734
  u[s] = n[s];
2762
- return u.keyPrefix = kr(n, c._defaultConfig), Rt() ? (c._dbInfo = u, u.serializer = ar, y.resolve()) : y.reject();
2735
+ return u.keyPrefix = kr(n, i._defaultConfig), Lt() ? (i._dbInfo = u, u.serializer = ar, y.resolve()) : y.reject();
2763
2736
  }
2764
- function Ut(n) {
2765
- var c = this, u = c.ready().then(function() {
2766
- for (var s = c._dbInfo.keyPrefix, v = localStorage.length - 1; v >= 0; v--) {
2737
+ function Mt(n) {
2738
+ var i = this, u = i.ready().then(function() {
2739
+ for (var s = i._dbInfo.keyPrefix, v = localStorage.length - 1; v >= 0; v--) {
2767
2740
  var f = localStorage.key(v);
2768
2741
  f.indexOf(s) === 0 && localStorage.removeItem(f);
2769
2742
  }
2770
2743
  });
2771
2744
  return l(u, n), u;
2772
2745
  }
2773
- function Ft(n, c) {
2746
+ function Pt(n, i) {
2774
2747
  var u = this;
2775
2748
  n = r(n);
2776
2749
  var s = u.ready().then(function() {
2777
2750
  var v = u._dbInfo, f = localStorage.getItem(v.keyPrefix + n);
2778
2751
  return f && (f = v.serializer.deserialize(f)), f;
2779
2752
  });
2780
- return l(s, c), s;
2753
+ return l(s, i), s;
2781
2754
  }
2782
- function $t(n, c) {
2755
+ function Rt(n, i) {
2783
2756
  var u = this, s = u.ready().then(function() {
2784
- for (var v = u._dbInfo, f = v.keyPrefix, D = f.length, L = localStorage.length, M = 1, R = 0; R < L; R++) {
2757
+ for (var v = u._dbInfo, f = v.keyPrefix, D = f.length, N = localStorage.length, M = 1, R = 0; R < N; R++) {
2785
2758
  var F = localStorage.key(R);
2786
2759
  if (F.indexOf(f) === 0) {
2787
2760
  var G = localStorage.getItem(F);
@@ -2790,9 +2763,9 @@ var vt = { exports: {} };
2790
2763
  }
2791
2764
  }
2792
2765
  });
2793
- return l(s, c), s;
2766
+ return l(s, i), s;
2794
2767
  }
2795
- function kt(n, c) {
2768
+ function Bt(n, i) {
2796
2769
  var u = this, s = u.ready().then(function() {
2797
2770
  var v = u._dbInfo, f;
2798
2771
  try {
@@ -2802,57 +2775,57 @@ var vt = { exports: {} };
2802
2775
  }
2803
2776
  return f && (f = f.substring(v.keyPrefix.length)), f;
2804
2777
  });
2805
- return l(s, c), s;
2778
+ return l(s, i), s;
2806
2779
  }
2807
- function Wt(n) {
2808
- var c = this, u = c.ready().then(function() {
2809
- for (var s = c._dbInfo, v = localStorage.length, f = [], D = 0; D < v; D++) {
2810
- var L = localStorage.key(D);
2811
- L.indexOf(s.keyPrefix) === 0 && f.push(L.substring(s.keyPrefix.length));
2780
+ function Ut(n) {
2781
+ var i = this, u = i.ready().then(function() {
2782
+ for (var s = i._dbInfo, v = localStorage.length, f = [], D = 0; D < v; D++) {
2783
+ var N = localStorage.key(D);
2784
+ N.indexOf(s.keyPrefix) === 0 && f.push(N.substring(s.keyPrefix.length));
2812
2785
  }
2813
2786
  return f;
2814
2787
  });
2815
2788
  return l(u, n), u;
2816
2789
  }
2817
- function Gt(n) {
2818
- var c = this, u = c.keys().then(function(s) {
2790
+ function Ft(n) {
2791
+ var i = this, u = i.keys().then(function(s) {
2819
2792
  return s.length;
2820
2793
  });
2821
2794
  return l(u, n), u;
2822
2795
  }
2823
- function Vt(n, c) {
2796
+ function $t(n, i) {
2824
2797
  var u = this;
2825
2798
  n = r(n);
2826
2799
  var s = u.ready().then(function() {
2827
2800
  var v = u._dbInfo;
2828
2801
  localStorage.removeItem(v.keyPrefix + n);
2829
2802
  });
2830
- return l(s, c), s;
2803
+ return l(s, i), s;
2831
2804
  }
2832
- function qt(n, c, u) {
2805
+ function kt(n, i, u) {
2833
2806
  var s = this;
2834
2807
  n = r(n);
2835
2808
  var v = s.ready().then(function() {
2836
- c === void 0 && (c = null);
2837
- var f = c;
2838
- return new y(function(D, L) {
2809
+ i === void 0 && (i = null);
2810
+ var f = i;
2811
+ return new y(function(D, N) {
2839
2812
  var M = s._dbInfo;
2840
- M.serializer.serialize(c, function(R, F) {
2813
+ M.serializer.serialize(i, function(R, F) {
2841
2814
  if (F)
2842
- L(F);
2815
+ N(F);
2843
2816
  else
2844
2817
  try {
2845
2818
  localStorage.setItem(M.keyPrefix + n, R), D(f);
2846
2819
  } catch (G) {
2847
- (G.name === "QuotaExceededError" || G.name === "NS_ERROR_DOM_QUOTA_REACHED") && L(G), L(G);
2820
+ (G.name === "QuotaExceededError" || G.name === "NS_ERROR_DOM_QUOTA_REACHED") && N(G), N(G);
2848
2821
  }
2849
2822
  });
2850
2823
  });
2851
2824
  });
2852
2825
  return l(v, u), v;
2853
2826
  }
2854
- function Ht(n, c) {
2855
- if (c = T.apply(this, arguments), n = typeof n != "function" && n || {}, !n.name) {
2827
+ function Wt(n, i) {
2828
+ if (i = T.apply(this, arguments), n = typeof n != "function" && n || {}, !n.name) {
2856
2829
  var u = this.config();
2857
2830
  n.name = n.name || u.name, n.storeName = n.storeName || u.storeName;
2858
2831
  }
@@ -2861,29 +2834,29 @@ var vt = { exports: {} };
2861
2834
  n.storeName ? f(kr(n, s._defaultConfig)) : f(n.name + "/");
2862
2835
  }).then(function(f) {
2863
2836
  for (var D = localStorage.length - 1; D >= 0; D--) {
2864
- var L = localStorage.key(D);
2865
- L.indexOf(f) === 0 && localStorage.removeItem(L);
2837
+ var N = localStorage.key(D);
2838
+ N.indexOf(f) === 0 && localStorage.removeItem(N);
2866
2839
  }
2867
- }) : v = y.reject("Invalid arguments"), l(v, c), v;
2840
+ }) : v = y.reject("Invalid arguments"), l(v, i), v;
2868
2841
  }
2869
- var zt = {
2842
+ var Gt = {
2870
2843
  _driver: "localStorageWrapper",
2871
- _initStorage: Bt,
2872
- _support: Mt(),
2873
- iterate: $t,
2874
- getItem: Ft,
2875
- setItem: qt,
2876
- removeItem: Vt,
2877
- clear: Ut,
2878
- length: Gt,
2879
- key: kt,
2880
- keys: Wt,
2881
- dropInstance: Ht
2882
- }, jt = function(c, u) {
2883
- return c === u || typeof c == "number" && typeof u == "number" && isNaN(c) && isNaN(u);
2884
- }, Zt = function(c, u) {
2885
- for (var s = c.length, v = 0; v < s; ) {
2886
- if (jt(c[v], u))
2844
+ _initStorage: Nt,
2845
+ _support: Tt(),
2846
+ iterate: Rt,
2847
+ getItem: Pt,
2848
+ setItem: kt,
2849
+ removeItem: $t,
2850
+ clear: Mt,
2851
+ length: Ft,
2852
+ key: Bt,
2853
+ keys: Ut,
2854
+ dropInstance: Wt
2855
+ }, qt = function(i, u) {
2856
+ return i === u || typeof i == "number" && typeof u == "number" && isNaN(i) && isNaN(u);
2857
+ }, Vt = function(i, u) {
2858
+ for (var s = i.length, v = 0; v < s; ) {
2859
+ if (qt(i[v], u))
2887
2860
  return !0;
2888
2861
  v++;
2889
2862
  }
@@ -2892,11 +2865,11 @@ var vt = { exports: {} };
2892
2865
  return Object.prototype.toString.call(n) === "[object Array]";
2893
2866
  }, Ue = {}, Gr = {}, Pe = {
2894
2867
  INDEXEDDB: tr,
2895
- WEBSQL: Lt,
2896
- LOCALSTORAGE: zt
2897
- }, Yt = [Pe.INDEXEDDB._driver, Pe.WEBSQL._driver, Pe.LOCALSTORAGE._driver], Ge = ["dropInstance"], ur = ["clear", "getItem", "iterate", "key", "keys", "length", "removeItem", "setItem"].concat(Ge), Jt = {
2868
+ WEBSQL: xt,
2869
+ LOCALSTORAGE: Gt
2870
+ }, Ht = [Pe.INDEXEDDB._driver, Pe.WEBSQL._driver, Pe.LOCALSTORAGE._driver], Ge = ["dropInstance"], ur = ["clear", "getItem", "iterate", "key", "keys", "length", "removeItem", "setItem"].concat(Ge), zt = {
2898
2871
  description: "",
2899
- driver: Yt.slice(),
2872
+ driver: Ht.slice(),
2900
2873
  name: "localforage",
2901
2874
  // Default DB size is _JUST UNDER_ 5MB, as it's the highest size
2902
2875
  // we can use without a prompt.
@@ -2904,32 +2877,32 @@ var vt = { exports: {} };
2904
2877
  storeName: "keyvaluepairs",
2905
2878
  version: 1
2906
2879
  };
2907
- function Kt(n, c) {
2908
- n[c] = function() {
2880
+ function jt(n, i) {
2881
+ n[i] = function() {
2909
2882
  var u = arguments;
2910
2883
  return n.ready().then(function() {
2911
- return n[c].apply(n, u);
2884
+ return n[i].apply(n, u);
2912
2885
  });
2913
2886
  };
2914
2887
  }
2915
2888
  function lr() {
2916
2889
  for (var n = 1; n < arguments.length; n++) {
2917
- var c = arguments[n];
2918
- if (c)
2919
- for (var u in c)
2920
- c.hasOwnProperty(u) && (Wr(c[u]) ? arguments[0][u] = c[u].slice() : arguments[0][u] = c[u]);
2890
+ var i = arguments[n];
2891
+ if (i)
2892
+ for (var u in i)
2893
+ i.hasOwnProperty(u) && (Wr(i[u]) ? arguments[0][u] = i[u].slice() : arguments[0][u] = i[u]);
2921
2894
  }
2922
2895
  return arguments[0];
2923
2896
  }
2924
- var Qt = function() {
2925
- function n(c) {
2897
+ var Zt = function() {
2898
+ function n(i) {
2926
2899
  x(this, n);
2927
2900
  for (var u in Pe)
2928
2901
  if (Pe.hasOwnProperty(u)) {
2929
2902
  var s = Pe[u], v = s._driver;
2930
2903
  this[u] = v, Ue[v] || this.defineDriver(s);
2931
2904
  }
2932
- this._defaultConfig = lr({}, Jt), this._config = lr({}, this._defaultConfig, c), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(function() {
2905
+ this._defaultConfig = lr({}, zt), this._config = lr({}, this._defaultConfig, i), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(function() {
2933
2906
  });
2934
2907
  }
2935
2908
  return n.prototype.config = function(u) {
@@ -2945,38 +2918,38 @@ var vt = { exports: {} };
2945
2918
  } else
2946
2919
  return typeof u == "string" ? this._config[u] : this._config;
2947
2920
  }, n.prototype.defineDriver = function(u, s, v) {
2948
- var f = new y(function(D, L) {
2921
+ var f = new y(function(D, N) {
2949
2922
  try {
2950
2923
  var M = u._driver, R = new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");
2951
2924
  if (!u._driver) {
2952
- L(R);
2925
+ N(R);
2953
2926
  return;
2954
2927
  }
2955
2928
  for (var F = ur.concat("_initStorage"), G = 0, j = F.length; G < j; G++) {
2956
- var Q = F[G], X = !Zt(Ge, Q);
2929
+ var Q = F[G], X = !Vt(Ge, Q);
2957
2930
  if ((X || u[Q]) && typeof u[Q] != "function") {
2958
- L(R);
2931
+ N(R);
2959
2932
  return;
2960
2933
  }
2961
2934
  }
2962
2935
  var ae = function() {
2963
- for (var Fe = function(pt) {
2936
+ for (var Fe = function(Kt) {
2964
2937
  return function() {
2965
- var en = new Error("Method " + pt + " is not implemented by the current driver"), Vr = y.reject(en);
2966
- return l(Vr, arguments[arguments.length - 1]), Vr;
2938
+ var Qt = new Error("Method " + Kt + " is not implemented by the current driver"), qr = y.reject(Qt);
2939
+ return l(qr, arguments[arguments.length - 1]), qr;
2967
2940
  };
2968
- }, cr = 0, Ot = Ge.length; cr < Ot; cr++) {
2969
- var ir = Ge[cr];
2970
- u[ir] || (u[ir] = Fe(ir));
2941
+ }, ir = 0, Jt = Ge.length; ir < Jt; ir++) {
2942
+ var cr = Ge[ir];
2943
+ u[cr] || (u[cr] = Fe(cr));
2971
2944
  }
2972
2945
  };
2973
2946
  ae();
2974
2947
  var te = function(Fe) {
2975
2948
  Ue[M] && console.info("Redefining LocalForage driver: " + M), Ue[M] = u, Gr[M] = Fe, D();
2976
2949
  };
2977
- "_support" in u ? u._support && typeof u._support == "function" ? u._support().then(te, L) : te(!!u._support) : te(!0);
2950
+ "_support" in u ? u._support && typeof u._support == "function" ? u._support().then(te, N) : te(!!u._support) : te(!0);
2978
2951
  } catch (me) {
2979
- L(me);
2952
+ N(me);
2980
2953
  }
2981
2954
  });
2982
2955
  return o(f, s, v), f;
@@ -2997,11 +2970,11 @@ var vt = { exports: {} };
2997
2970
  var f = this;
2998
2971
  Wr(u) || (u = [u]);
2999
2972
  var D = this._getSupportedDrivers(u);
3000
- function L() {
2973
+ function N() {
3001
2974
  f._config.driver = f.driver();
3002
2975
  }
3003
2976
  function M(G) {
3004
- return f._extend(G), L(), f._ready = f._initStorage(f._config), f._ready;
2977
+ return f._extend(G), N(), f._ready = f._initStorage(f._config), f._ready;
3005
2978
  }
3006
2979
  function R(G) {
3007
2980
  return function() {
@@ -3011,7 +2984,7 @@ var vt = { exports: {} };
3011
2984
  var X = G[j];
3012
2985
  return j++, f._dbInfo = null, f._ready = null, f.getDriver(X).then(M).catch(Q);
3013
2986
  }
3014
- L();
2987
+ N();
3015
2988
  var ae = new Error("No available storage method found.");
3016
2989
  return f._driverSet = y.reject(ae), f._driverSet;
3017
2990
  }
@@ -3024,10 +2997,10 @@ var vt = { exports: {} };
3024
2997
  return this._driverSet = F.then(function() {
3025
2998
  var G = D[0];
3026
2999
  return f._dbInfo = null, f._ready = null, f.getDriver(G).then(function(j) {
3027
- f._driver = j._driver, L(), f._wrapLibraryMethodsWithReady(), f._initDriver = R(D);
3000
+ f._driver = j._driver, N(), f._wrapLibraryMethodsWithReady(), f._initDriver = R(D);
3028
3001
  });
3029
3002
  }).catch(function() {
3030
- L();
3003
+ N();
3031
3004
  var G = new Error("No available storage method found.");
3032
3005
  return f._driverSet = y.reject(G), f._driverSet;
3033
3006
  }), o(this._driverSet, s, v), this._driverSet;
@@ -3043,30 +3016,30 @@ var vt = { exports: {} };
3043
3016
  return s;
3044
3017
  }, n.prototype._wrapLibraryMethodsWithReady = function() {
3045
3018
  for (var u = 0, s = ur.length; u < s; u++)
3046
- Kt(this, ur[u]);
3019
+ jt(this, ur[u]);
3047
3020
  }, n.prototype.createInstance = function(u) {
3048
3021
  return new n(u);
3049
3022
  }, n;
3050
- }(), Xt = new Qt();
3051
- i.exports = Xt;
3023
+ }(), Yt = new Zt();
3024
+ c.exports = Yt;
3052
3025
  }, { 3: 3 }] }, {}, [4])(4);
3053
3026
  });
3054
- })(vt);
3055
- var ca = vt.exports;
3056
- const gt = /* @__PURE__ */ Un(ca);
3027
+ })(ot);
3028
+ var ra = ot.exports;
3029
+ const ht = /* @__PURE__ */ Pn(ra);
3057
3030
  let Ze = null;
3058
- gt.config({
3059
- name: mt()
3031
+ ht.config({
3032
+ name: st()
3060
3033
  });
3061
3034
  function he() {
3062
- const e = mt();
3063
- return (Ze == null || Ze.config.name != e) && (Ze = gt.createInstance({ name: e })), Ze;
3035
+ const e = st();
3036
+ return (Ze == null || Ze.config.name != e) && (Ze = ht.createInstance({ name: e })), Ze;
3064
3037
  }
3065
- function Xa() {
3038
+ function Ya() {
3066
3039
  async function e(h) {
3067
3040
  const d = he();
3068
- (await d.keys()).filter((N) => N.startsWith(h)).forEach((N) => {
3069
- d.removeItem(N);
3041
+ (await d.keys()).filter((C) => C.startsWith(h)).forEach((C) => {
3042
+ d.removeItem(C);
3070
3043
  });
3071
3044
  }
3072
3045
  async function t(h) {
@@ -3075,42 +3048,42 @@ function Xa() {
3075
3048
  async function a(h) {
3076
3049
  return await he().removeItem(h);
3077
3050
  }
3078
- async function i(h, d) {
3051
+ async function c(h, d) {
3079
3052
  await he().setItem(d, h);
3080
3053
  }
3081
3054
  return {
3082
3055
  clearAsync: e,
3083
3056
  getAsync: t,
3084
3057
  removeAsync: a,
3085
- saveAsync: i
3058
+ saveAsync: c
3086
3059
  };
3087
3060
  }
3088
3061
  let Je;
3089
- function Oa(e) {
3062
+ function Ja(e) {
3090
3063
  return Je(e)();
3091
3064
  }
3092
- function ia(e) {
3065
+ function ta(e) {
3093
3066
  return Je(e);
3094
3067
  }
3095
- function pa(e) {
3096
- return Je = (t) => fa({
3068
+ function na(e) {
3069
+ return Je = (t) => aa({
3097
3070
  ...e,
3098
3071
  ...t
3099
3072
  }), Je;
3100
3073
  }
3101
- function fa(e) {
3074
+ function aa(e) {
3102
3075
  if (console.log("getting store definition"), e.storeMode == "whole-last-updated") {
3103
3076
  if (e.api == null)
3104
3077
  throw new Error("Must supply an api object to use store");
3105
- return Kr(e);
3078
+ return Zr(e);
3106
3079
  } else if (e.storeMode == "partial-last-updated") {
3107
3080
  if (e.api == null)
3108
3081
  throw new Error("Must supply an api object to use store");
3109
- return Kr(e);
3082
+ return Zr(e);
3110
3083
  } else
3111
- return oa(e);
3084
+ return la(e);
3112
3085
  }
3113
- const sa = (e) => {
3086
+ const ua = (e) => {
3114
3087
  let t = J(e.url) ?? void 0;
3115
3088
  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) {
3116
3089
  t ?? (t = "");
@@ -3121,15 +3094,15 @@ const sa = (e) => {
3121
3094
  }
3122
3095
  return e.finalUrl = t, e.finalUrl ?? "";
3123
3096
  };
3124
- function oa(e) {
3125
- return ct(e.storeName, () => {
3097
+ function la(e) {
3098
+ return at(e.storeName, () => {
3126
3099
  var o;
3127
- const t = ce.utc().toSeconds() / 86400, a = Y({}), i = Y({}), h = e.storageMode == "local-cache", d = e.buildUrl ?? ((o = e.api) == null ? void 0 : o.buildUrl) ?? sa;
3100
+ const t = ie.utc().toSeconds() / 86400, a = Y({}), c = Y({}), h = e.storageMode == "local-cache", d = e.buildUrl ?? ((o = e.api) == null ? void 0 : o.buildUrl) ?? ua;
3128
3101
  function x(r) {
3129
3102
  var T, b;
3130
3103
  return `${e.storeName}_${((T = e.auth) == null ? void 0 : T.credentials.value.userID) ?? "no-user-id"}_${r.id ?? ((b = r.data) == null ? void 0 : b.id) ?? "no-item-id"}`;
3131
3104
  }
3132
- async function E(r) {
3105
+ async function A(r) {
3133
3106
  var _;
3134
3107
  r.additionalUrl ?? (r.additionalUrl = "/getAll");
3135
3108
  const T = d(r), b = `${e.storeName}_${((_ = e.auth) == null ? void 0 : _.credentials.value.userID) ?? "no-user-id"}_${T}`, g = r.refresh;
@@ -3143,21 +3116,21 @@ function oa(e) {
3143
3116
  if (e.api == null)
3144
3117
  return a.value[b];
3145
3118
  try {
3146
- let B = i.value[b];
3147
- B == null && (B = new Promise(async (A, C) => {
3119
+ let B = c.value[b];
3120
+ B == null && (B = new Promise(async (E, L) => {
3148
3121
  var S;
3149
3122
  try {
3150
3123
  let I = await ((S = e.api) == null ? void 0 : S.getAll(r));
3151
3124
  h == !0 && await he().setItem(b, {
3152
3125
  meta: { storedOn: t },
3153
3126
  ...I
3154
- }), A(I);
3127
+ }), E(I);
3155
3128
  } catch (I) {
3156
- C(I);
3129
+ L(I);
3157
3130
  } finally {
3158
- delete i.value[b];
3131
+ delete c.value[b];
3159
3132
  }
3160
- }), i.value[b] = B);
3133
+ }), c.value[b] = B);
3161
3134
  const P = await B;
3162
3135
  return a.value[b] = P, P;
3163
3136
  } catch (B) {
@@ -3165,7 +3138,7 @@ function oa(e) {
3165
3138
  throw new Error(P.message ?? "Problem");
3166
3139
  }
3167
3140
  }
3168
- async function N(r) {
3141
+ async function C(r) {
3169
3142
  r.additionalUrl ?? (r.additionalUrl = "/get");
3170
3143
  const T = x(r), b = r.refresh;
3171
3144
  if (!b && a.value[T] !== void 0)
@@ -3178,21 +3151,21 @@ function oa(e) {
3178
3151
  if (e.api == null)
3179
3152
  return a.value[T];
3180
3153
  try {
3181
- let g = i.value[T];
3154
+ let g = c.value[T];
3182
3155
  g == null && (g = new Promise(async (B, P) => {
3183
- var A;
3156
+ var E;
3184
3157
  try {
3185
- let C = await ((A = e.api) == null ? void 0 : A.get(r));
3158
+ let L = await ((E = e.api) == null ? void 0 : E.get(r));
3186
3159
  h == !0 && await he().setItem(T, {
3187
3160
  meta: { storedOn: t },
3188
- ...C
3189
- }), B(C);
3190
- } catch (C) {
3191
- P(C);
3161
+ ...L
3162
+ }), B(L);
3163
+ } catch (L) {
3164
+ P(L);
3192
3165
  } finally {
3193
- delete i.value[T];
3166
+ delete c.value[T];
3194
3167
  }
3195
- }), i.value[T] = g);
3168
+ }), c.value[T] = g);
3196
3169
  const _ = await g;
3197
3170
  return a.value[T] = _, _;
3198
3171
  } catch (g) {
@@ -3223,9 +3196,9 @@ function oa(e) {
3223
3196
  let P = B[1];
3224
3197
  if (P = P.data, P != null)
3225
3198
  if (Array.isArray(P))
3226
- for (let A = 0; A < P.length; A++) {
3227
- const C = P[A];
3228
- C.id == b.id && P.splice(A, 1, { ...C, ...b });
3199
+ for (let E = 0; E < P.length; E++) {
3200
+ const L = P[E];
3201
+ L.id == b.id && P.splice(E, 1, { ...L, ...b });
3229
3202
  }
3230
3203
  else
3231
3204
  P.id == b.id && (a.value[B[0]].data = { ...P, ...b });
@@ -3278,8 +3251,8 @@ function oa(e) {
3278
3251
  }
3279
3252
  return {
3280
3253
  deleteItem: y,
3281
- get: N,
3282
- getAll: E,
3254
+ get: C,
3255
+ getAll: A,
3283
3256
  patch: U,
3284
3257
  post: $,
3285
3258
  restore: l,
@@ -3288,15 +3261,15 @@ function oa(e) {
3288
3261
  };
3289
3262
  });
3290
3263
  }
3291
- function Kr(e) {
3292
- return ct(e.storeName, () => {
3293
- const t = Y(), a = Y(0), i = ce.utc().toSeconds() / 3600, h = Y(), d = Y(), x = Y({}), E = e.storageMode == "local-cache";
3294
- function N() {
3264
+ function Zr(e) {
3265
+ return at(e.storeName, () => {
3266
+ const t = Y(), a = Y(0), c = ie.utc().toSeconds() / 3600, h = Y(), d = Y(), x = Y({}), A = e.storageMode == "local-cache";
3267
+ function C() {
3295
3268
  var g;
3296
3269
  return `${e.storeName}_${((g = e.auth) == null ? void 0 : g.credentials.value.userID) ?? "no-user-id"}`;
3297
3270
  }
3298
3271
  async function U() {
3299
- E == !0 && await he().setItem(N(), {
3272
+ A == !0 && await he().setItem(C(), {
3300
3273
  meta: d.value,
3301
3274
  data: t.value,
3302
3275
  count: a.value,
@@ -3304,24 +3277,24 @@ function Kr(e) {
3304
3277
  });
3305
3278
  }
3306
3279
  function $(g) {
3307
- const _ = N();
3280
+ const _ = C();
3308
3281
  return x.value[_] || (x.value[_] = new Promise(async (B, P) => {
3309
- var A, C;
3282
+ var E, L;
3310
3283
  try {
3311
- let S = await ((C = e.api) == null ? void 0 : C.getAll({
3284
+ let S = await ((L = e.api) == null ? void 0 : L.getAll({
3312
3285
  additionalUrl: "/getAll",
3313
3286
  nav: g.nav,
3314
3287
  params: {
3315
- lastUpdate: ((A = d.value) == null ? void 0 : A.lastUpdate) ?? Wn()
3288
+ lastUpdate: ((E = d.value) == null ? void 0 : E.lastUpdate) ?? Fn()
3316
3289
  }
3317
3290
  }));
3318
3291
  S == null ? P(S) : (t.value ?? (t.value = []), S.data.forEach((I) => {
3319
- var w, q;
3292
+ var w, V;
3320
3293
  const m = t.value.findIndex((H) => H.id == I.id);
3321
- m >= 0 ? (w = t.value) == null || w.splice(m, 1, I) : (q = t.value) == null || q.push(I);
3294
+ m >= 0 ? (w = t.value) == null || w.splice(m, 1, I) : (V = t.value) == null || V.push(I);
3322
3295
  }), a.value = t.value.length, d.value = {
3323
- lastUpdate: ce.utc().toString(),
3324
- storedOn: i.toString()
3296
+ lastUpdate: ie.utc().toString(),
3297
+ storedOn: c.toString()
3325
3298
  }, await U(), B(S));
3326
3299
  } catch (S) {
3327
3300
  P(S);
@@ -3331,26 +3304,26 @@ function Kr(e) {
3331
3304
  })), x.value[_];
3332
3305
  }
3333
3306
  async function y(g) {
3334
- var P, A, C;
3335
- const _ = N(), B = g.refresh;
3307
+ var P, E, L;
3308
+ const _ = C(), B = g.refresh;
3336
3309
  if (g.nav ?? (g.nav = e.storeName), !B && t.value != null)
3337
3310
  return {
3338
3311
  count: (P = t.value) == null ? void 0 : P.length,
3339
3312
  data: t.value,
3340
3313
  filters: []
3341
3314
  };
3342
- if (!B && E == !0) {
3315
+ if (!B && A == !0) {
3343
3316
  const S = await he().getItem(_);
3344
- if (S != null && parseFloat(S.meta.storedOn) > i - 12)
3317
+ if (S != null && parseFloat(S.meta.storedOn) > c - 12)
3345
3318
  return t.value = S.data, a.value = S.data.length, h.value = S.filters ?? [], d.value = S.meta, {
3346
- count: (A = t.value) == null ? void 0 : A.length,
3319
+ count: (E = t.value) == null ? void 0 : E.length,
3347
3320
  data: t.value,
3348
3321
  filters: []
3349
3322
  };
3350
3323
  }
3351
3324
  if (e.api == null)
3352
3325
  return {
3353
- count: (C = t.value) == null ? void 0 : C.length,
3326
+ count: (L = t.value) == null ? void 0 : L.length,
3354
3327
  data: t.value ?? [],
3355
3328
  filters: h.value
3356
3329
  };
@@ -3363,16 +3336,16 @@ function Kr(e) {
3363
3336
  }
3364
3337
  }
3365
3338
  async function l(g) {
3366
- var P, A;
3367
- const _ = N(), B = g.refresh;
3339
+ var P, E;
3340
+ const _ = C(), B = g.refresh;
3368
3341
  if (g.nav ?? (g.nav = e.storeName), !B && t.value != null)
3369
3342
  return {
3370
- data: t.value.find((C) => C.id == g.id)
3343
+ data: t.value.find((L) => L.id == g.id)
3371
3344
  };
3372
- if (!B && E == !0) {
3373
- const C = await he().getItem(_);
3374
- if (C != null && parseFloat(C.meta.storedOn) > i - 12) {
3375
- t.value = C.data, a.value = C.data.length, h.value = C.filters ?? [], d.value = C.meta;
3345
+ if (!B && A == !0) {
3346
+ const L = await he().getItem(_);
3347
+ if (L != null && parseFloat(L.meta.storedOn) > c - 12) {
3348
+ t.value = L.data, a.value = L.data.length, h.value = L.filters ?? [], d.value = L.meta;
3376
3349
  let S = t.value.find((I) => I.id == g.id);
3377
3350
  if (S != null)
3378
3351
  return { data: S };
@@ -3380,35 +3353,35 @@ function Kr(e) {
3380
3353
  }
3381
3354
  if (e.api == null)
3382
3355
  return {
3383
- data: (P = t.value) == null ? void 0 : P.find((C) => C.id == g.id)
3356
+ data: (P = t.value) == null ? void 0 : P.find((L) => L.id == g.id)
3384
3357
  };
3385
3358
  t.value ?? (t.value = []);
3386
3359
  try {
3387
- return await $(g), { data: (A = t.value) == null ? void 0 : A.find((C) => C.id == g.id) };
3388
- } catch (C) {
3389
- let S = C;
3360
+ return await $(g), { data: (E = t.value) == null ? void 0 : E.find((L) => L.id == g.id) };
3361
+ } catch (L) {
3362
+ let S = L;
3390
3363
  throw new Error(S.message ?? "Problem");
3391
3364
  }
3392
3365
  }
3393
3366
  async function o(g) {
3394
- var B, P, A;
3367
+ var B, P, E;
3395
3368
  g.additionalUrl ?? (g.additionalUrl = "/patch"), g.nav ?? (g.nav = e.storeName);
3396
3369
  let _;
3397
3370
  if (e.api != null)
3398
3371
  try {
3399
- let C = await e.api.patch(g);
3400
- _ = { ...g.data, ...C == null ? void 0 : C.data };
3401
- } catch (C) {
3402
- let S = C;
3372
+ let L = await e.api.patch(g);
3373
+ _ = { ...g.data, ...L == null ? void 0 : L.data };
3374
+ } catch (L) {
3375
+ let S = L;
3403
3376
  throw new Error(S.message ?? "Patch Problem");
3404
3377
  }
3405
3378
  else
3406
3379
  _ = g.data;
3407
3380
  if (_ != null) {
3408
- let C = (B = t.value) == null ? void 0 : B.findIndex((S) => S.id == _.id);
3409
- C != null && C >= 0 && (t.value ?? (t.value = []), (P = t.value) == null || P.splice(C, 1, _), await U());
3381
+ let L = (B = t.value) == null ? void 0 : B.findIndex((S) => S.id == _.id);
3382
+ L != null && L >= 0 && (t.value ?? (t.value = []), (P = t.value) == null || P.splice(L, 1, _), await U());
3410
3383
  }
3411
- return (A = t.value) == null ? void 0 : A.find((C) => C.id == (g.id ?? g.data.id));
3384
+ return (E = t.value) == null ? void 0 : E.find((L) => L.id == (g.id ?? g.data.id));
3412
3385
  }
3413
3386
  async function r(g) {
3414
3387
  var B, P;
@@ -3416,31 +3389,31 @@ function Kr(e) {
3416
3389
  let _;
3417
3390
  if (e.api != null)
3418
3391
  try {
3419
- let A = await e.api.post(g);
3420
- _ = A == null ? void 0 : A.data;
3421
- } catch (A) {
3422
- let C = A;
3423
- throw new Error(C.message ?? "Patch Problem");
3392
+ let E = await e.api.post(g);
3393
+ _ = E == null ? void 0 : E.data;
3394
+ } catch (E) {
3395
+ let L = E;
3396
+ throw new Error(L.message ?? "Patch Problem");
3424
3397
  }
3425
3398
  else
3426
3399
  _ = g.data;
3427
- return _ != null && (t.value ?? (t.value = []), (B = t.value) == null || B.unshift(_), a.value += 1, await U()), (P = t.value) == null ? void 0 : P.find((A) => A.id == (g.id ?? g.data.id));
3400
+ return _ != null && (t.value ?? (t.value = []), (B = t.value) == null || B.unshift(_), a.value += 1, await U()), (P = t.value) == null ? void 0 : P.find((E) => E.id == (g.id ?? g.data.id));
3428
3401
  }
3429
3402
  async function T(g) {
3430
3403
  var B, P;
3431
3404
  if (g.additionalUrl ?? (g.additionalUrl = "/delete"), g.nav ?? (g.nav = e.storeName), e.api != null)
3432
3405
  try {
3433
- let A = await e.api.deleteItem(g);
3434
- if (A != null)
3435
- return A;
3436
- } catch (A) {
3437
- let C = A;
3438
- throw new Error(C.message ?? "Patch Problem");
3406
+ let E = await e.api.deleteItem(g);
3407
+ if (E != null)
3408
+ return E;
3409
+ } catch (E) {
3410
+ let L = E;
3411
+ throw new Error(L.message ?? "Patch Problem");
3439
3412
  }
3440
3413
  const _ = g.id ?? g.data.id;
3441
3414
  if (_ != null) {
3442
- let A = (B = t.value) == null ? void 0 : B.findIndex((C) => C.id == _);
3443
- A != null && A >= 0 && (t.value ?? (t.value = []), (P = t.value) == null || P.splice(A, 1), await U());
3415
+ let E = (B = t.value) == null ? void 0 : B.findIndex((L) => L.id == _);
3416
+ E != null && E >= 0 && (t.value ?? (t.value = []), (P = t.value) == null || P.splice(E, 1), await U());
3444
3417
  }
3445
3418
  }
3446
3419
  async function b(g) {
@@ -3470,31 +3443,31 @@ function Kr(e) {
3470
3443
  };
3471
3444
  });
3472
3445
  }
3473
- function eu(e, t, a) {
3474
- var Le;
3475
- const i = e.storeMode ?? (a == null ? void 0 : a.storeMode) ?? "session", h = e.storageMode ?? (a == null ? void 0 : a.storageMode) ?? "local-cache", d = e.nav ?? e.nav ?? "basic", x = ta(), E = dt(), N = Xn(), U = Y(1), $ = J(e.customFilters) ?? [], y = Y([]);
3446
+ function Ka(e, t, a) {
3447
+ var Ne;
3448
+ const c = e.storeMode ?? (a == null ? void 0 : a.storeMode) ?? "session", h = e.storageMode ?? (a == null ? void 0 : a.storageMode) ?? "local-cache", d = e.nav ?? e.nav ?? "basic", x = Qn(), A = nt(), C = an(), U = Y(1), $ = J(e.customFilters) ?? [], y = Y([]);
3476
3449
  let l = Y(new Array());
3477
- const o = le(() => An([
3450
+ const o = le(() => bn([
3478
3451
  ...$.filter((W) => W.name != null).map((W) => W.name),
3479
3452
  ...e.defaultFilters ?? [],
3480
3453
  ...y.value
3481
- ]).value), r = Y((e.defaultFilters ?? []).map((W) => o.value.indexOf(W))), T = le(() => qr(l, r).value.length > 0 || qr(r, l).value.length > 0), b = J(e.proxyQueryKey), g = le(() => {
3454
+ ]).value), r = Y((e.defaultFilters ?? []).map((W) => o.value.indexOf(W))), T = le(() => Vr(l, r).value.length > 0 || Vr(r, l).value.length > 0), b = J(e.proxyQueryKey), g = le(() => {
3482
3455
  var W;
3483
- return J(e.proxyID) ?? (b != null ? (W = N.query) == null ? void 0 : W[b] : void 0);
3484
- }), _ = J(e.searchQueryKey), B = Y(_ != null ? (Le = N.query) == null ? void 0 : Le[_] : void 0), P = Y(J(e.startShowingInactive) ?? !1), A = Y(J(e.sortOrder)), C = le(() => [
3456
+ return J(e.proxyID) ?? (b != null ? (W = C.query) == null ? void 0 : W[b] : void 0);
3457
+ }), _ = J(e.searchQueryKey), B = Y(_ != null ? (Ne = C.query) == null ? void 0 : Ne[_] : void 0), P = Y(J(e.startShowingInactive) ?? !1), E = Y(J(e.sortOrder)), L = le(() => [
3485
3458
  ...e.searchProps ?? [],
3486
3459
  ...(e.headers ?? []).filter((W) => W.searchable != null && W.value != null).map((W) => W.value ?? "")
3487
3460
  ]), S = Y([]), I = De([]), m = Y([]);
3488
3461
  let w;
3489
- const { actionErrorMsg: q, actionLoadingMsg: H, deleteItem: ee, doAction: ie, getItem: Ee, getAllItems: k, restoreItem: z } = Bn({
3462
+ const { actionErrorMsg: V, actionLoadingMsg: H, deleteItem: ee, doAction: ce, getItem: Ee, getAllItems: k, restoreItem: z } = Mn({
3490
3463
  nav: e.nav ?? e.bladeName ?? e.itemBladeName,
3491
3464
  proxyID: g.value,
3492
- store: ia({
3493
- storeMode: i,
3465
+ store: ta({
3466
+ storeMode: c,
3494
3467
  storageMode: h,
3495
3468
  storeName: d
3496
3469
  })
3497
- }), V = le(() => e.errorMsg ?? q.value), ue = le(() => e.loadingMsg ?? H.value), Z = le(() => ue.value != null), p = De(!1), fe = De(e.showSearch ?? !1), de = Y(0), ge = le(() => (W) => e.onCanDelete != null ? e.onCanDelete(W) : !(W != null && W.isInactive === !0)), Ke = le(() => (W) => P.value ? e.onCanRestore != null ? e.onCanRestore(W) : (W == null ? void 0 : W.isInactive) === !0 : !1), Ce = le(() => m.value.filter((W) => !W.hide)), Qe = le(() => {
3470
+ }), q = le(() => e.errorMsg ?? V.value), ue = le(() => e.loadingMsg ?? H.value), Z = le(() => ue.value != null), p = De(!1), fe = De(e.showSearch ?? !1), de = Y(0), ge = le(() => (W) => e.onCanDelete != null ? e.onCanDelete(W) : !(W != null && W.isInactive === !0)), Ke = le(() => (W) => P.value ? e.onCanRestore != null ? e.onCanRestore(W) : (W == null ? void 0 : W.isInactive) === !0 : !1), Ce = le(() => m.value.filter((W) => !W.hide)), Qe = le(() => {
3498
3471
  let W = new Array();
3499
3472
  return Ce.value.filter((K) => K.sublevel != null).forEach((K) => {
3500
3473
  let O = W.find((ye) => ye.position == K.sublevel);
@@ -3514,7 +3487,7 @@ function eu(e, t, a) {
3514
3487
  id: "new",
3515
3488
  nav: d
3516
3489
  };
3517
- W == "page" && E.push({
3490
+ W == "page" && A.push({
3518
3491
  name: re.bladeName,
3519
3492
  params: { id: "new" }
3520
3493
  });
@@ -3564,15 +3537,15 @@ function eu(e, t, a) {
3564
3537
  });
3565
3538
  }
3566
3539
  function tr() {
3567
- ie(() => {
3540
+ ce(() => {
3568
3541
  x.exportToCSV(Ce.value, I.value);
3569
3542
  }, { loadingMsg: "Exporting to CSV" });
3570
3543
  }
3571
3544
  function Be() {
3572
3545
  let W = J(S);
3573
3546
  if (W = e.onFilter ? e.onFilter(W) : W, B.value != null && B.value.length > 0) {
3574
- let re = [...C.value];
3575
- e.itemText && re.push(e.itemText), Re(re) && (W = W.filter((K) => jn(K, B.value, re)));
3547
+ let re = [...L.value];
3548
+ e.itemText && re.push(e.itemText), Re(re) && (W = W.filter((K) => Vn(K, B.value, re)));
3576
3549
  }
3577
3550
  I.value = W;
3578
3551
  }
@@ -3621,35 +3594,35 @@ function eu(e, t, a) {
3621
3594
  id: K.id,
3622
3595
  nav: e.nav
3623
3596
  };
3624
- re == "page" && E.push({
3597
+ re == "page" && A.push({
3625
3598
  name: O.bladeName,
3626
3599
  params: { id: O.id }
3627
3600
  });
3628
3601
  }
3629
3602
  }
3630
- function Ne() {
3603
+ function Le() {
3631
3604
  fe.value ? (fe.value = e.showSearch ?? !1, B.value = void 0, xe()) : fe.value = e.showSearch ?? !0;
3632
3605
  }
3633
- return we(), In([B], () => {
3606
+ return we(), Sn([B], () => {
3634
3607
  Be();
3635
3608
  }, { debounce: 500, maxWait: 500 }), Se([P, U], async () => {
3636
3609
  await xe();
3637
- }), Se([V, () => e.errorMsg], ([W, re]) => {
3610
+ }), Se([q, () => e.errorMsg], ([W, re]) => {
3638
3611
  p.value = W != null || re != null;
3639
3612
  }), Se(() => e.refreshToggle, () => {
3640
3613
  xe({ deepRefresh: !0 });
3641
- }), st([S, () => e.items], () => {
3614
+ }), it([S, () => e.items], () => {
3642
3615
  Be();
3643
3616
  }), Tr(async () => {
3644
3617
  var W;
3645
- e.eager == !0 && await xe({ deepRefresh: ((W = N.params) == null ? void 0 : W.refresh) == "true" });
3618
+ e.eager == !0 && await xe({ deepRefresh: ((W = C.params) == null ? void 0 : W.refresh) == "true" });
3646
3619
  }), {
3647
3620
  add: pe,
3648
3621
  asyncItems: S,
3649
3622
  currentPage: U,
3650
3623
  deleteItem: er,
3651
3624
  displayHeaders: Oe,
3652
- errorMsg: V,
3625
+ errorMsg: q,
3653
3626
  exportToCSV: tr,
3654
3627
  filteredItems: I,
3655
3628
  filters: o,
@@ -3668,62 +3641,62 @@ function eu(e, t, a) {
3668
3641
  showError: p,
3669
3642
  showInactive: P,
3670
3643
  showSearch: fe,
3671
- sortOrder: A,
3644
+ sortOrder: E,
3672
3645
  subtitleOptions: Qe,
3673
3646
  tableHeaders: Ce,
3674
3647
  titleOptions: Xe,
3675
- toggleSearch: Ne,
3648
+ toggleSearch: Le,
3676
3649
  totalPages: de
3677
3650
  };
3678
3651
  }
3679
- const Qr = Y(!0), Xr = Y(!1), Or = Y(), or = Y(!1);
3652
+ const Yr = Y(!0), Jr = Y(!1), Kr = Y(), or = Y(!1);
3680
3653
  let hr = null, _r;
3681
- function ru() {
3654
+ function Qa() {
3682
3655
  return _r;
3683
3656
  }
3684
- function ha(e) {
3657
+ function ia(e) {
3685
3658
  const t = e.defaultCacheExpiryHours ?? 7;
3686
3659
  e.getDisplayName ?? (e.getDisplayName = (l) => {
3687
3660
  if (l.displayName != null)
3688
3661
  return l.displayName;
3689
3662
  if (l.name != null)
3690
- return $n(l.name.replaceAll("-", " "));
3663
+ return Bn(l.name.replaceAll("-", " "));
3691
3664
  });
3692
3665
  const a = (e.navItems ?? []).map((l) => ({
3693
3666
  displayName: l.displayName ?? e.getDisplayName(l),
3694
3667
  ...l
3695
3668
  }));
3696
- function i(l) {
3669
+ function c(l) {
3697
3670
  var o;
3698
- return (o = E(l)) == null ? void 0 : o.archiveName;
3671
+ return (o = A(l)) == null ? void 0 : o.archiveName;
3699
3672
  }
3700
3673
  function h(l) {
3701
3674
  var o;
3702
- return ((o = E(l)) == null ? void 0 : o.cacheExpiryHours) ?? t;
3675
+ return ((o = A(l)) == null ? void 0 : o.cacheExpiryHours) ?? t;
3703
3676
  }
3704
3677
  function d(l) {
3705
3678
  var o;
3706
- return (o = E(l)) == null ? void 0 : o.displayName;
3679
+ return (o = A(l)) == null ? void 0 : o.displayName;
3707
3680
  }
3708
3681
  function x(l) {
3709
3682
  var o;
3710
- return (o = E(l)) == null ? void 0 : o.icon;
3683
+ return (o = A(l)) == null ? void 0 : o.icon;
3711
3684
  }
3712
- function E(l) {
3713
- return l == null ? null : typeof l != "string" ? l : ht(a, (r) => r.children).find((r) => {
3685
+ function A(l) {
3686
+ return l == null ? null : typeof l != "string" ? l : ft(a, (r) => r.children).find((r) => {
3714
3687
  var T;
3715
3688
  return r.name == l || r.singleName == l || ((T = r.aliases) == null ? void 0 : T.some((b) => b == l));
3716
3689
  }) ?? null;
3717
3690
  }
3718
- function N(l) {
3719
- const o = E(l);
3691
+ function C(l) {
3692
+ const o = A(l);
3720
3693
  if (o == null)
3721
3694
  return;
3722
- let r = On(o.microservice ?? "default") ?? "";
3695
+ let r = Zn(o.microservice ?? "default") ?? "";
3723
3696
  return o.path != null && (r = Te(r, o.path)), r != null && r.endsWith("/") && (r = r.slice(0, r.length - 1)), r;
3724
3697
  }
3725
3698
  function U(l) {
3726
- const o = E(l);
3699
+ const o = A(l);
3727
3700
  if ((o == null ? void 0 : o.singleName) != null)
3728
3701
  return o.singleName;
3729
3702
  const r = o == null ? void 0 : o.displayName;
@@ -3731,88 +3704,88 @@ function ha(e) {
3731
3704
  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;
3732
3705
  }
3733
3706
  function $(l) {
3734
- const o = E(l);
3707
+ const o = A(l);
3735
3708
  return (o == null ? void 0 : o.name) ?? (o == null ? void 0 : o.singleName) ?? "store";
3736
3709
  }
3737
3710
  function y(l) {
3738
3711
  if (l == null)
3739
3712
  return;
3740
- const o = typeof l == "string" ? E(l) : l;
3741
- Or.value = o == null ? void 0 : o.background, Xr.value = (o == null ? void 0 : o.hideNavigation) !== !0, Qr.value = (o == null ? void 0 : o.hideAppBar) !== !0, hr != null && hr(), or.value = (o == null ? void 0 : o.hesitate) === !0, or.value && (hr = window.addEventListener("beforeunload", (r) => {
3713
+ const o = typeof l == "string" ? A(l) : l;
3714
+ Kr.value = o == null ? void 0 : o.background, Jr.value = (o == null ? void 0 : o.hideNavigation) !== !0, Yr.value = (o == null ? void 0 : o.hideAppBar) !== !0, hr != null && hr(), or.value = (o == null ? void 0 : o.hesitate) === !0, or.value && (hr = window.addEventListener("beforeunload", (r) => {
3742
3715
  r.preventDefault();
3743
3716
  }));
3744
3717
  }
3745
3718
  return _r = {
3746
- showAppBar: Qr,
3747
- showAppNavigation: Xr,
3748
- backgroundName: Or,
3719
+ showAppBar: Yr,
3720
+ showAppNavigation: Jr,
3721
+ backgroundName: Kr,
3749
3722
  hesitate: or,
3750
3723
  navigationItems: a,
3751
- findArchiveName: i,
3724
+ findArchiveName: c,
3752
3725
  findCacheHours: h,
3753
3726
  findDisplay: d,
3754
3727
  findIcon: x,
3755
- findItem: E,
3728
+ findItem: A,
3756
3729
  findStoreName: $,
3757
- findPath: N,
3730
+ findPath: C,
3758
3731
  findSingleDisplay: U,
3759
3732
  updateNavigationProperties: y
3760
3733
  }, _r;
3761
3734
  }
3762
3735
  let Dr;
3763
- function tu(e) {
3736
+ function Xa(e) {
3764
3737
  return Dr.usePresets(e);
3765
3738
  }
3766
- function da(e) {
3739
+ function ca(e) {
3767
3740
  function t(a) {
3768
3741
  if (!a)
3769
3742
  return {};
3770
- let i = a;
3771
- return e.presets[i] ?? {};
3743
+ let c = a;
3744
+ return e.presets[c] ?? {};
3772
3745
  }
3773
3746
  return Dr = {
3774
3747
  usePresets: t
3775
3748
  }, Dr;
3776
3749
  }
3777
- let pr, et, rt, tt = !1;
3778
- const dr = Y(!1), mr = Y(!1), nt = Y(), Ye = Y();
3750
+ let Qr, Xr, Or, pr = !1;
3751
+ const dr = Y(!1), mr = Y(!1), et = Y(), Ye = Y();
3779
3752
  let xr;
3780
- function nu() {
3753
+ function Oa() {
3781
3754
  return xr;
3782
3755
  }
3783
- function ma() {
3756
+ function fa() {
3784
3757
  function e(x) {
3785
3758
  Ye.value = x.detail, mr.value = !0;
3786
3759
  }
3787
3760
  function t() {
3788
- tt || (tt = !0, window.location.reload());
3761
+ pr || (pr = !0, window.location.reload());
3789
3762
  }
3790
3763
  function a() {
3791
3764
  var x;
3792
- (x = nt.value) == null || x.prompt(), dr.value = !1;
3765
+ (x = et.value) == null || x.prompt(), dr.value = !1;
3793
3766
  }
3794
- function i() {
3767
+ function c() {
3795
3768
  return !!window.matchMedia("(display-mode: standalone)").matches;
3796
3769
  }
3797
3770
  function h(x) {
3798
- x.preventDefault(), dr.value = !0, nt.value = x;
3771
+ x.preventDefault(), dr.value = !0, et.value = x;
3799
3772
  }
3800
3773
  function d() {
3801
3774
  mr.value = !1, !(!Ye.value || !Ye.value.waiting) && Ye.value.waiting.postMessage({ type: "SKIP_WAITING" });
3802
3775
  }
3803
3776
  return Cr(() => {
3804
- pr == null && (pr = document.addEventListener("swUpdated", e, { once: !0 })), et == null && (et = navigator.serviceWorker.addEventListener("controllerchange", t)), rt == null && (rt = window.addEventListener("beforeinstallprompt", h));
3777
+ Qr == null && (Qr = document.addEventListener("swUpdated", e, { once: !0 })), Xr == null && (Xr = navigator.serviceWorker.addEventListener("controllerchange", t)), Or == null && (Or = window.addEventListener("beforeinstallprompt", h));
3805
3778
  }), xr = {
3806
3779
  canInstallApp: dr,
3807
3780
  canUpdateApp: mr,
3808
3781
  installApp: a,
3809
- isInstalled: i,
3782
+ isInstalled: c,
3810
3783
  updateApp: d
3811
3784
  }, xr;
3812
3785
  }
3813
- const va = ["t", "r", "b", "l", "tr", "br", "bl", "tl"];
3814
- function au(e, t = {}) {
3815
- let a, i = t.handleWidth ?? 12, h = t.handleZIndex ?? 100, d = t.minWidth ?? 0, x = t.maxWidth ?? Number.MAX_SAFE_INTEGER, E = t.minHeight ?? 0, N = t.maxHeight ?? Number.MAX_SAFE_INTEGER, U = t.preventDefault ?? !1, $ = t.stopPropagation ?? !1, y, l = [];
3786
+ const sa = ["t", "r", "b", "l", "tr", "br", "bl", "tl"];
3787
+ function pa(e, t = {}) {
3788
+ let a, c = t.handleWidth ?? 12, h = t.handleZIndex ?? 100, d = t.minWidth ?? 0, x = t.maxWidth ?? Number.MAX_SAFE_INTEGER, A = t.minHeight ?? 0, C = t.maxHeight ?? Number.MAX_SAFE_INTEGER, U = t.preventDefault ?? !1, $ = t.stopPropagation ?? !1, y, l = [];
3816
3789
  const o = Y(!1);
3817
3790
  let r = [], T = [];
3818
3791
  const b = Y(!1), g = Y({ x: 0, y: 0 });
@@ -3820,15 +3793,15 @@ function au(e, t = {}) {
3820
3793
  function P(k) {
3821
3794
  ne(U) && k.preventDefault(), ne($) && k.stopPropagation();
3822
3795
  }
3823
- function A(k, z) {
3824
- l = z.map(S), l.forEach((V) => k.$el.appendChild(V));
3796
+ function E(k, z) {
3797
+ l = z.map(S), l.forEach((q) => k.$el.appendChild(q));
3825
3798
  }
3826
- function C(k) {
3799
+ function L(k) {
3827
3800
  l.forEach((z) => k.$el.removeChild(z));
3828
3801
  }
3829
3802
  function S(k) {
3830
- const z = i + "px", V = -i / 2 + "px", ue = h + 1, Z = document.createElement("div");
3831
- return Z.dataset.handle = k, Z.style.position = "absolute", Z.style.touchAction = "none", Z.style.userSelect = "none", Z.style.zIndex = (k.length === 1 ? h : ue).toString(), Z.style.cursor = q(k), k.includes("t") && (Z.style.top = V, Z.style.height = z, k === "t" && (Z.style.left = "0", Z.style.width = "100%")), k.includes("b") && (Z.style.bottom = V, Z.style.height = z, k === "b" && (Z.style.left = "0", Z.style.width = "100%")), k.includes("r") && (Z.style.right = V, Z.style.width = z, k === "r" && (Z.style.top = "0", Z.style.height = "100%")), k.includes("l") && (Z.style.left = V, Z.style.width = z, k === "l" && (Z.style.top = "0", Z.style.height = "100%")), Z;
3803
+ const z = c + "px", q = -c / 2 + "px", ue = h + 1, Z = document.createElement("div");
3804
+ return Z.dataset.handle = k, Z.style.position = "absolute", Z.style.touchAction = "none", Z.style.userSelect = "none", Z.style.zIndex = (k.length === 1 ? h : ue).toString(), Z.style.cursor = V(k), k.includes("t") && (Z.style.top = q, Z.style.height = z, k === "t" && (Z.style.left = "0", Z.style.width = "100%")), k.includes("b") && (Z.style.bottom = q, Z.style.height = z, k === "b" && (Z.style.left = "0", Z.style.width = "100%")), k.includes("r") && (Z.style.right = q, Z.style.width = z, k === "r" && (Z.style.top = "0", Z.style.height = "100%")), k.includes("l") && (Z.style.left = q, Z.style.width = z, k === "l" && (Z.style.top = "0", Z.style.height = "100%")), Z;
3832
3805
  }
3833
3806
  function I(k) {
3834
3807
  var fe;
@@ -3837,30 +3810,30 @@ function au(e, t = {}) {
3837
3810
  const z = ne(e);
3838
3811
  if (!z)
3839
3812
  return;
3840
- const V = z.$el, Z = k.type === "touchstart" && k.touches.length > 0 ? k.touches[0] : k;
3813
+ const q = z.$el, Z = k.type === "touchstart" && k.touches.length > 0 ? k.touches[0] : k;
3841
3814
  if (g.value.x = Z.clientX, g.value.y = Z.clientY, _ = {
3842
- left: V.offsetLeft,
3843
- top: V.offsetTop,
3844
- height: parseInt(window.getComputedStyle(V).getPropertyValue("height")),
3845
- width: parseInt(window.getComputedStyle(V).getPropertyValue("width"))
3846
- }, B = Lr(_), ((fe = t.onStart) == null ? void 0 : fe.call(t, g.value, k)) === !1)
3815
+ left: q.offsetLeft,
3816
+ top: q.offsetTop,
3817
+ height: parseInt(window.getComputedStyle(q).getPropertyValue("height")),
3818
+ width: parseInt(window.getComputedStyle(q).getPropertyValue("width"))
3819
+ }, B = Nr(_), ((fe = t.onStart) == null ? void 0 : fe.call(t, g.value, k)) === !1)
3847
3820
  return;
3848
3821
  let p = k.target;
3849
- document.documentElement.style.cursor = q(p.dataset.handle), y = p.dataset.handle, T.push(oe("mousemove", m)), T.push(oe("mouseup", w)), T.push(oe("touchmove", m)), T.push(oe("touchend", w)), P(k);
3822
+ document.documentElement.style.cursor = V(p.dataset.handle), y = p.dataset.handle, T.push(oe("mousemove", m)), T.push(oe("mouseup", w)), T.push(oe("touchmove", m)), T.push(oe("touchend", w)), P(k);
3850
3823
  }
3851
3824
  function m(k) {
3852
3825
  const z = ne(e);
3853
3826
  if (!z)
3854
3827
  return;
3855
- const V = z.$el, Z = k.type === "touchmove" && k.touches.length > 0 ? k.touches[0] : k;
3828
+ const q = z.$el, Z = k.type === "touchmove" && k.touches.length > 0 ? k.touches[0] : k;
3856
3829
  let p = Z.clientX - g.value.x, fe = Z.clientY - g.value.y;
3857
3830
  const de = ne(_);
3858
3831
  if (y.includes("t")) {
3859
- const ge = Math.min(N, Math.max(E, (de.height ?? 0) - fe));
3832
+ const ge = Math.min(C, Math.max(A, (de.height ?? 0) - fe));
3860
3833
  B.height = ge, B.top = (de.top ?? 0) + fe;
3861
3834
  }
3862
3835
  if (y.includes("b")) {
3863
- const ge = Math.min(N, Math.max(E, (de.height ?? 0) + fe));
3836
+ const ge = Math.min(C, Math.max(A, (de.height ?? 0) + fe));
3864
3837
  B.height = ge;
3865
3838
  }
3866
3839
  if (y.includes("l")) {
@@ -3871,51 +3844,51 @@ function au(e, t = {}) {
3871
3844
  const ge = Math.min(x, Math.max(d, (de.width ?? 0) + p));
3872
3845
  B.width = ge;
3873
3846
  }
3874
- V.dispatchEvent(new CustomEvent("resize")), P(k), ee(B);
3847
+ q.dispatchEvent(new CustomEvent("resize")), P(k), ee(B);
3875
3848
  }
3876
3849
  function w() {
3877
3850
  document.documentElement.style.cursor = "", y = null, T.forEach((k) => {
3878
3851
  k();
3879
3852
  }), T.length = 0;
3880
3853
  }
3881
- function q(k) {
3854
+ function V(k) {
3882
3855
  const z = {
3883
3856
  t: "n",
3884
3857
  r: "e",
3885
3858
  b: "s",
3886
3859
  l: "w"
3887
3860
  };
3888
- return k.split("").map((V) => z[V]).join("") + "-resize";
3861
+ return k.split("").map((q) => z[q]).join("") + "-resize";
3889
3862
  }
3890
3863
  function H(k) {
3891
3864
  const z = ne(e);
3892
3865
  if (!z)
3893
3866
  return;
3894
- const V = z.$el;
3867
+ const q = z.$el;
3895
3868
  if (console.log(a), a !== "page" && k == "page") {
3896
- const ue = Ln(V), Z = ne(ue) ?? null;
3869
+ const ue = Tn(q), Z = ne(ue) ?? null;
3897
3870
  let p = 0;
3898
3871
  if (Z != null) {
3899
3872
  const fe = window.getComputedStyle(Z);
3900
3873
  p = parseInt(fe.getPropertyValue("width")) - Z.offsetLeft;
3901
3874
  }
3902
- V.style.transition = "width 0.5s, height 0.5s, top 0.5s, left 0.5s", V.offsetHeight, o.value = !0, ee({
3875
+ q.style.transition = "width 0.5s, height 0.5s, top 0.5s, left 0.5s", q.offsetHeight, o.value = !0, ee({
3903
3876
  height: void 0,
3904
3877
  width: p,
3905
3878
  top: 0,
3906
3879
  left: 0,
3907
3880
  position: void 0
3908
- }), oe(V, "transitionend", () => {
3909
- V.style.width = "auto", V.style.top = "", V.style.left = "", V.style.position = "", V.style.transition = "", o.value = !1;
3881
+ }), oe(q, "transitionend", () => {
3882
+ q.style.width = "auto", q.style.top = "", q.style.left = "", q.style.position = "", q.style.transition = "", o.value = !1;
3910
3883
  }, { once: !0 });
3911
3884
  } else if ((a == "page" || z.$el.style.position !== "absolute") && k !== "page") {
3912
- V.style.transition = "width 0.5s, height 0.5s, top 0.5s, left 0.5s", o.value = !0, _ = {
3913
- height: parseInt(window.getComputedStyle(V).getPropertyValue("height")),
3914
- width: parseInt(window.getComputedStyle(V).getPropertyValue("width")),
3915
- top: V.offsetTop,
3916
- left: V.offsetLeft,
3885
+ q.style.transition = "width 0.5s, height 0.5s, top 0.5s, left 0.5s", o.value = !0, _ = {
3886
+ height: parseInt(window.getComputedStyle(q).getPropertyValue("height")),
3887
+ width: parseInt(window.getComputedStyle(q).getPropertyValue("width")),
3888
+ top: q.offsetTop,
3889
+ left: q.offsetLeft,
3917
3890
  position: "absolute"
3918
- }, ee(_), V.offsetHeight;
3891
+ }, ee(_), q.offsetHeight;
3919
3892
  const ue = _;
3920
3893
  k == "freestyle" ? B = {
3921
3894
  height: ue.height,
@@ -3929,8 +3902,8 @@ function au(e, t = {}) {
3929
3902
  top: (ue.top ?? 0) + 2,
3930
3903
  left: (ue.left ?? 0) + 2,
3931
3904
  position: "absolute"
3932
- }), ee(B), oe(V, "transitionend", () => {
3933
- V.style.transition = "", o.value = !1;
3905
+ }), ee(B), oe(q, "transitionend", () => {
3906
+ q.style.transition = "", o.value = !1;
3934
3907
  }, { once: !0 });
3935
3908
  }
3936
3909
  }
@@ -3938,159 +3911,160 @@ function au(e, t = {}) {
3938
3911
  const z = ne(e);
3939
3912
  if (!z)
3940
3913
  return;
3941
- const V = z.$el;
3942
- k.top ? V.style.top = `${k.top}px` : V.style.top = void 0, k.left ? V.style.left = `${k.left}px` : V.style.left = void 0, k.height ? V.style.height = `${k.height}px` : V.style.height = void 0, k.width ? V.style.width = `${k.width}px` : V.style.width = void 0, k.position ? V.style.position = `${k.position}` : V.style.position = void 0, console.log(V.style.position);
3914
+ const q = z.$el;
3915
+ k.top ? q.style.top = `${k.top}px` : q.style.top = void 0, k.left ? q.style.left = `${k.left}px` : q.style.left = void 0, k.height ? q.style.height = `${k.height}px` : q.style.height = void 0, k.width ? q.style.width = `${k.width}px` : q.style.width = void 0, k.position ? q.style.position = `${k.position}` : q.style.position = void 0, console.log(q.style.position);
3943
3916
  }
3944
- function ie(k, z) {
3917
+ function ce(k, z) {
3945
3918
  if (b.value)
3946
3919
  return;
3947
- const V = ne(e);
3948
- V && (A(V, k ?? va), H(z), r.push(oe(V.$el, "mousedown", I)), r.push(oe(V.$el, "touchstart", I)), b.value = !0, a = z);
3920
+ const q = ne(e);
3921
+ q && (E(q, k ?? sa), H(z), r.push(oe(q.$el, "mousedown", I)), r.push(oe(q.$el, "touchstart", I)), b.value = !0, a = z);
3949
3922
  }
3950
3923
  function Ee(k) {
3951
3924
  if (!b.value)
3952
3925
  return;
3953
3926
  const z = ne(e);
3954
- z && (C(z), H(k), r.forEach((V) => {
3955
- V();
3927
+ z && (L(z), H(k), r.forEach((q) => {
3928
+ q();
3956
3929
  }), r.length = 0, b.value = !1);
3957
3930
  }
3958
3931
  return {
3959
3932
  resizingIsOn: b,
3960
- turnResizingOn: ie,
3933
+ turnResizingOn: ce,
3961
3934
  turnResizingOff: Ee
3962
3935
  };
3963
3936
  }
3964
- function uu(e) {
3937
+ function eu(e) {
3965
3938
  const t = [];
3966
- return (e == null ? void 0 : e.required) == !0 && t.push((a) => !!a || "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((a) => !!a || "Password is required"), t.push((a) => a != null && a.length > 9 || "Password must be 10 or more characters"), t.push((a) => /^(.*[a-z].*)$/.test(a) || "Password must contain a lowercase letter"), t.push((a) => /^(.*[A-Z].*)$/.test(a) || "Password must contain an uppercase letter"), t.push((a) => /^(.*\d.*)$/.test(a) || "Password must contain a number")), (e == null ? void 0 : e.forEmail) == !0 && (t.push((a) => !!a || "Email is required"), t.push((a) => Zn(a) || "Email must be valid")), t;
3939
+ return (e == null ? void 0 : e.required) == !0 && t.push((a) => !!a || "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((a) => !!a || "Password is required"), t.push((a) => a != null && a.length > 9 || "Password must be 10 or more characters"), t.push((a) => /^(.*[a-z].*)$/.test(a) || "Password must contain a lowercase letter"), t.push((a) => /^(.*[A-Z].*)$/.test(a) || "Password must contain an uppercase letter"), t.push((a) => /^(.*\d.*)$/.test(a) || "Password must contain a number")), (e == null ? void 0 : e.forEmail) == !0 && (t.push((a) => !!a || "Email is required"), t.push((a) => Hn(a) || "Email must be valid")), t;
3967
3940
  }
3968
- function lu(e, t) {
3969
- const a = Y(!1), i = cn(e);
3941
+ function ru(e, t) {
3942
+ const a = Y(!1), c = nn(e);
3970
3943
  let h = d(J(e));
3971
- (t == null ? void 0 : t.useTracker) !== !1 && Se(i, (E) => {
3972
- a.value = d(E) != h;
3944
+ (t == null ? void 0 : t.useTracker) !== !1 && Se(c, (A) => {
3945
+ a.value = d(A) != h;
3973
3946
  }, { deep: !0 });
3974
- function d(E) {
3975
- const N = Lr(E);
3947
+ function d(A) {
3948
+ const C = Nr(A);
3976
3949
  return t != null && (t.propsToIgnore != null ? t.propsToIgnore.forEach((U) => {
3977
- delete N[U];
3978
- }) : t.propsToTrack != null && Object.keys(E).forEach(($) => {
3979
- t.propsToTrack.some((y) => y == $) || delete N[$];
3980
- })), JSON.stringify(N);
3950
+ delete C[U];
3951
+ }) : t.propsToTrack != null && Object.keys(A).forEach(($) => {
3952
+ t.propsToTrack.some((y) => y == $) || delete C[$];
3953
+ })), JSON.stringify(C);
3981
3954
  }
3982
3955
  function x() {
3983
- h = d(J(i)), a.value = !1;
3956
+ h = d(J(c)), a.value = !1;
3984
3957
  }
3985
3958
  return {
3986
- asyncItem: i,
3959
+ asyncItem: c,
3987
3960
  isChanged: a,
3988
3961
  restartTracker: x
3989
3962
  };
3990
3963
  }
3991
- function cu(e) {
3964
+ function tu(e) {
3992
3965
  return {
3993
3966
  install(t, a) {
3994
- var E;
3995
- console.log(t), e.vuetifyInstance ?? (e.vuetifyInstance = a.vuetifyInstance), ra(e);
3996
- const i = aa(), h = ha(e);
3997
- da(e), (E = e.auth).demo ?? (E.demo = i), e.auth.getAuthItem = h.findItem;
3998
- const d = ea(e.auth);
3999
- Jn({
3967
+ var C;
3968
+ console.log(t), e.vuetifyInstance ?? (e.vuetifyInstance = a.vuetifyInstance), Kn(e);
3969
+ const c = On(), h = ia(e);
3970
+ ca(e), (C = e.auth).demo ?? (C.demo = c), e.auth.getAuthItem = h.findItem;
3971
+ const d = Jn(e.auth), x = jn({
4000
3972
  auth: d,
4001
3973
  findPath: h.findPath,
4002
3974
  useBearerToken: !0
4003
- });
4004
- const x = na({
3975
+ }), A = Xn({
4005
3976
  getTimeZone: d.getTimeZone
4006
3977
  });
4007
- la({
4008
- dates: x
4009
- }), ma(), pn(e.urls);
3978
+ ea({
3979
+ dates: A
3980
+ }), fa(), na({
3981
+ api: x,
3982
+ auth: d
3983
+ }), Yn(e.urls);
4010
3984
  }
4011
3985
  };
4012
3986
  }
4013
3987
  export {
4014
- ka as DataURIToBlob,
4015
- Pa as addWeekday,
3988
+ Ba as DataURIToBlob,
3989
+ Ca as addWeekday,
4016
3990
  Te as appendUrl,
4017
- $n as capitalizeWords,
4018
- xa as checkImage,
4019
- qn as containsSearch,
4020
- Ma as containsWeekday,
4021
- Lr as copyDeep,
4022
- Vn as copyItemByAlphabet,
4023
- Jn as createApi,
4024
- ea as createAuth,
4025
- cu as createCore,
4026
- ra as createCosmetics,
4027
- na as createDates,
4028
- aa as createDemo,
4029
- la as createFilters,
4030
- ha as createNavigation,
4031
- ma as createPWA,
4032
- da as createPresets,
4033
- oa as createSessionStoreDefinition,
4034
- pa as createStoreBuilder,
4035
- pn as createUrl,
4036
- Kr as createWholeLastUpdateStoreDefinition,
4037
- Gn as csvContains,
4038
- ja as csvDefaults,
4039
- ht as deepSelect,
4040
- Sa as distinct,
4041
- Ea as extensionExists,
4042
- Hn as extractErrorDescription,
4043
- Fn as fromCamelCase,
4044
- Aa as getAreaAround,
4045
- Ia as getAreaToLeft,
4046
- _a as getAreaToRight,
4047
- Da as getGoogleMapsLocationLine,
4048
- Ta as getImageData,
4049
- ot as getLocationLine,
4050
- Ua as getMinDate,
4051
- Wn as getMinDateString,
4052
- zn as getRandomColor,
4053
- jn as hasSearch,
4054
- Ba as isArrayOfLength,
3991
+ Bn as capitalizeWords,
3992
+ Aa as checkImage,
3993
+ Wn as containsSearch,
3994
+ Ta as containsWeekday,
3995
+ Nr as copyDeep,
3996
+ kn as copyItemByAlphabet,
3997
+ jn as createApi,
3998
+ Jn as createAuth,
3999
+ tu as createCore,
4000
+ Kn as createCosmetics,
4001
+ Xn as createDates,
4002
+ On as createDemo,
4003
+ ea as createFilters,
4004
+ ia as createNavigation,
4005
+ fa as createPWA,
4006
+ ca as createPresets,
4007
+ la as createSessionStoreDefinition,
4008
+ na as createStoreBuilder,
4009
+ Yn as createUrl,
4010
+ Zr as createWholeLastUpdateStoreDefinition,
4011
+ $n as csvContains,
4012
+ qa as csvDefaults,
4013
+ ft as deepSelect,
4014
+ ga as distinct,
4015
+ ya as extensionExists,
4016
+ Gn as extractErrorDescription,
4017
+ Rn as fromCamelCase,
4018
+ wa as getAreaAround,
4019
+ ba as getAreaToLeft,
4020
+ Sa as getAreaToRight,
4021
+ Ea as getGoogleMapsLocationLine,
4022
+ Ia as getImageData,
4023
+ ct as getLocationLine,
4024
+ Ma as getMinDate,
4025
+ Fn as getMinDateString,
4026
+ qn as getRandomColor,
4027
+ Vn as hasSearch,
4028
+ Na as isArrayOfLength,
4055
4029
  Re as isLengthyArray,
4056
- kn as isMinDate,
4030
+ Un as isMinDate,
4057
4031
  yr as nestedValue,
4058
- Ra as removeWeekday,
4059
- Fa as roundTo,
4060
- Ca as toCamelCase,
4061
- Wa as toCompareString,
4062
- $a as toggleCSV,
4063
- Ga as twiddleThumbs,
4064
- Bn as useActions,
4065
- Rn as useActionsTracker,
4066
- Yn as useApi,
4067
- qa as useAuth,
4068
- Jr as useAuthUrl,
4069
- ta as useCSV,
4070
- Ha as useCosmetics,
4071
- On as useDataUrl,
4072
- Za as useDates,
4073
- mt as useDbName,
4074
- Ya as useDemo,
4075
- Ja as useDocumentMeta,
4076
- Ka as useDraggable,
4077
- Qa as useFilters,
4078
- Mn as useId,
4079
- eu as useList,
4080
- Xa as useLocalCache,
4081
- za as useLocalCosmetics,
4032
+ La as removeWeekday,
4033
+ Pa as roundTo,
4034
+ _a as toCamelCase,
4035
+ Ua as toCompareString,
4036
+ Ra as toggleCSV,
4037
+ Fa as twiddleThumbs,
4038
+ Mn as useActions,
4039
+ Nn as useActionsTracker,
4040
+ zn as useApi,
4041
+ ka as useAuth,
4042
+ jr as useAuthUrl,
4043
+ Qn as useCSV,
4044
+ Wa as useCosmetics,
4045
+ Zn as useDataUrl,
4046
+ Va as useDates,
4047
+ st as useDbName,
4048
+ Ha as useDemo,
4049
+ za as useDocumentMeta,
4050
+ ja as useDraggable,
4051
+ Za as useFilters,
4052
+ Cn as useId,
4053
+ Ka as useList,
4054
+ Ya as useLocalCache,
4055
+ Ga as useLocalCosmetics,
4082
4056
  he as useLocalDb,
4083
- ru as useNavigation,
4084
- nu as usePWA,
4085
- tu as usePresets,
4086
- au as useResizable,
4087
- uu as useRules,
4088
- Oa as useStore,
4089
- ia as useStoreDefinition,
4090
- lu as useTracker,
4091
- Va as useUrls,
4092
- Zn as validEmail,
4057
+ Qa as useNavigation,
4058
+ Oa as usePWA,
4059
+ Xa as usePresets,
4060
+ pa as useResizable,
4061
+ eu as useRules,
4062
+ Ja as useStore,
4063
+ ta as useStoreDefinition,
4064
+ ru as useTracker,
4065
+ $a as useUrls,
4066
+ Hn as validEmail,
4093
4067
  ke as weekdayPairs,
4094
- La as weekdayShortName,
4095
- Na as weekdayValue
4068
+ xa as weekdayShortName,
4069
+ Da as weekdayValue
4096
4070
  };