@versini/sassysaint 8.9.4 → 8.10.1

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.
@@ -13,7 +13,7 @@ var Qt = (e, t, r, n) => ({
13
13
  });
14
14
  import { jsx as y, jsxs as re, Fragment as hr } from "react/jsx-runtime";
15
15
  import * as oe from "react";
16
- import _e, { createContext as Di, useReducer as ys, useRef as z, useCallback as ke, useEffect as we, useContext as ps, useSyncExternalStore as Li, useLayoutEffect as mr, useMemo as Rr, useState as Ie, useId as gs, lazy as Mi, Suspense as $i } from "react";
16
+ import _e, { createContext as Li, useReducer as ys, useRef as z, useCallback as ke, useEffect as we, useContext as ps, useSyncExternalStore as Mi, useLayoutEffect as mr, useMemo as Rr, useState as Ie, useId as gs, lazy as $i, Suspense as Ui } from "react";
17
17
  import b from "clsx";
18
18
  var _r = class {
19
19
  constructor() {
@@ -34,19 +34,19 @@ var _r = class {
34
34
  }, Or = typeof window > "u" || "Deno" in globalThis;
35
35
  function ce() {
36
36
  }
37
- function Ui(e, t) {
37
+ function Ki(e, t) {
38
38
  return typeof e == "function" ? e(t) : e;
39
39
  }
40
- function Ki(e) {
40
+ function Hi(e) {
41
41
  return typeof e == "number" && e >= 0 && e !== 1 / 0;
42
42
  }
43
- function Hi(e, t) {
43
+ function Fi(e, t) {
44
44
  return Math.max(e + (t || 0) - Date.now(), 0);
45
45
  }
46
46
  function kn(e, t) {
47
47
  return typeof e == "function" ? e(t) : e;
48
48
  }
49
- function Fi(e, t) {
49
+ function Vi(e, t) {
50
50
  return typeof e == "function" ? e(t) : e;
51
51
  }
52
52
  function Rn(e, t) {
@@ -135,12 +135,12 @@ function en(e) {
135
135
  function Nn(e) {
136
136
  return Object.prototype.toString.call(e) === "[object Object]";
137
137
  }
138
- function Vi(e) {
138
+ function Bi(e) {
139
139
  return new Promise((t) => {
140
140
  setTimeout(t, e);
141
141
  });
142
142
  }
143
- function Bi(e, t, r) {
143
+ function Gi(e, t, r) {
144
144
  if (typeof r.structuralSharing == "function")
145
145
  return r.structuralSharing(e, t);
146
146
  if (r.structuralSharing !== !1) {
@@ -156,11 +156,11 @@ function Bi(e, t, r) {
156
156
  }
157
157
  return t;
158
158
  }
159
- function Gi(e, t, r = 0) {
159
+ function ji(e, t, r = 0) {
160
160
  const n = [...e, t];
161
161
  return r && n.length > r ? n.slice(1) : n;
162
162
  }
163
- function ji(e, t, r = 0) {
163
+ function qi(e, t, r = 0) {
164
164
  const n = [t, ...e];
165
165
  return r && n.length > r ? n.slice(0, -1) : n;
166
166
  }
@@ -170,7 +170,7 @@ function bs(e, t) {
170
170
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
171
171
  ), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === yr ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
172
172
  }
173
- var Fe, xe, ct, as, qi = (as = class extends _r {
173
+ var Fe, xe, ct, as, Wi = (as = class extends _r {
174
174
  constructor() {
175
175
  super();
176
176
  A(this, Fe);
@@ -211,7 +211,7 @@ var Fe, xe, ct, as, qi = (as = class extends _r {
211
211
  var t;
212
212
  return typeof f(this, Fe) == "boolean" ? f(this, Fe) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
213
213
  }
214
- }, Fe = new WeakMap(), xe = new WeakMap(), ct = new WeakMap(), as), ws = new qi(), lt, De, ut, os, Wi = (os = class extends _r {
214
+ }, Fe = new WeakMap(), xe = new WeakMap(), ct = new WeakMap(), as), ws = new Wi(), lt, De, ut, os, Ji = (os = class extends _r {
215
215
  constructor() {
216
216
  super();
217
217
  A(this, lt, !0);
@@ -245,8 +245,8 @@ var Fe, xe, ct, as, qi = (as = class extends _r {
245
245
  isOnline() {
246
246
  return f(this, lt);
247
247
  }
248
- }, lt = new WeakMap(), De = new WeakMap(), ut = new WeakMap(), os), Lt = new Wi();
249
- function Ji() {
248
+ }, lt = new WeakMap(), De = new WeakMap(), ut = new WeakMap(), os), Lt = new Ji();
249
+ function Yi() {
250
250
  let e, t;
251
251
  const r = new Promise((s, i) => {
252
252
  e = s, t = i;
@@ -268,7 +268,7 @@ function Ji() {
268
268
  }), t(s);
269
269
  }, r;
270
270
  }
271
- function Yi(e) {
271
+ function zi(e) {
272
272
  return Math.min(1e3 * 2 ** e, 3e4);
273
273
  }
274
274
  function Es(e) {
@@ -284,7 +284,7 @@ function Kr(e) {
284
284
  }
285
285
  function vs(e) {
286
286
  let t = !1, r = 0, n = !1, s;
287
- const i = Ji(), a = (g) => {
287
+ const i = Yi(), a = (g) => {
288
288
  var E;
289
289
  n || (h(new Ss(g)), (E = e.abort) == null || E.call(e));
290
290
  }, o = () => {
@@ -319,12 +319,12 @@ function vs(e) {
319
319
  var U;
320
320
  if (n)
321
321
  return;
322
- const C = e.retry ?? (Or ? 0 : 3), v = e.retryDelay ?? Yi, N = typeof v == "function" ? v(r, O) : v, R = C === !0 || typeof C == "number" && r < C || typeof C == "function" && C(r, O);
322
+ const C = e.retry ?? (Or ? 0 : 3), v = e.retryDelay ?? zi, N = typeof v == "function" ? v(r, O) : v, R = C === !0 || typeof C == "number" && r < C || typeof C == "function" && C(r, O);
323
323
  if (t || !R) {
324
324
  h(O);
325
325
  return;
326
326
  }
327
- r++, (U = e.onFail) == null || U.call(e, r, O), Vi(N).then(() => l() ? void 0 : m()).then(() => {
327
+ r++, (U = e.onFail) == null || U.call(e, r, O), Bi(N).then(() => l() ? void 0 : m()).then(() => {
328
328
  t ? h(O) : p();
329
329
  });
330
330
  });
@@ -339,7 +339,7 @@ function vs(e) {
339
339
  start: () => (d() ? p() : m().then(p), i)
340
340
  };
341
341
  }
342
- function zi() {
342
+ function Qi() {
343
343
  let e = [], t = 0, r = (o) => {
344
344
  o();
345
345
  }, n = (o) => {
@@ -398,7 +398,7 @@ function zi() {
398
398
  }
399
399
  };
400
400
  }
401
- var ee = zi(), Ve, cs, As = (cs = class {
401
+ var ee = Qi(), Ve, cs, As = (cs = class {
402
402
  constructor() {
403
403
  A(this, Ve);
404
404
  }
@@ -406,7 +406,7 @@ var ee = zi(), Ve, cs, As = (cs = class {
406
406
  this.clearGcTimeout();
407
407
  }
408
408
  scheduleGc() {
409
- this.clearGcTimeout(), Ki(this.gcTime) && w(this, Ve, setTimeout(() => {
409
+ this.clearGcTimeout(), Hi(this.gcTime) && w(this, Ve, setTimeout(() => {
410
410
  this.optionalRemove();
411
411
  }, this.gcTime));
412
412
  }
@@ -419,7 +419,7 @@ var ee = zi(), Ve, cs, As = (cs = class {
419
419
  clearGcTimeout() {
420
420
  f(this, Ve) && (clearTimeout(f(this, Ve)), w(this, Ve, void 0));
421
421
  }
422
- }, Ve = new WeakMap(), cs), dt, ft, ie, Be, J, Vt, Ge, le, Ae, ls, Qi = (ls = class extends As {
422
+ }, Ve = new WeakMap(), cs), dt, ft, ie, Be, J, Vt, Ge, le, Ae, ls, Xi = (ls = class extends As {
423
423
  constructor(t) {
424
424
  super();
425
425
  A(this, le);
@@ -430,7 +430,7 @@ var ee = zi(), Ve, cs, As = (cs = class {
430
430
  A(this, J);
431
431
  A(this, Vt);
432
432
  A(this, Ge);
433
- w(this, Ge, !1), w(this, Vt, t.defaultOptions), this.setOptions(t.options), this.observers = [], w(this, Be, t.client), w(this, ie, f(this, Be).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, w(this, dt, Zi(this.options)), this.state = t.state ?? f(this, dt), this.scheduleGc();
433
+ w(this, Ge, !1), w(this, Vt, t.defaultOptions), this.setOptions(t.options), this.observers = [], w(this, Be, t.client), w(this, ie, f(this, Be).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, w(this, dt, ea(this.options)), this.state = t.state ?? f(this, dt), this.scheduleGc();
434
434
  }
435
435
  get meta() {
436
436
  return this.options.meta;
@@ -446,7 +446,7 @@ var ee = zi(), Ve, cs, As = (cs = class {
446
446
  !this.observers.length && this.state.fetchStatus === "idle" && f(this, ie).remove(this);
447
447
  }
448
448
  setData(t, r) {
449
- const n = Bi(this.state.data, t, this.options);
449
+ const n = Gi(this.state.data, t, this.options);
450
450
  return W(this, le, Ae).call(this, {
451
451
  data: n,
452
452
  type: "success",
@@ -470,7 +470,7 @@ var ee = zi(), Ve, cs, As = (cs = class {
470
470
  }
471
471
  isActive() {
472
472
  return this.observers.some(
473
- (t) => Fi(t.options.enabled, this) !== !1
473
+ (t) => Vi(t.options.enabled, this) !== !1
474
474
  );
475
475
  }
476
476
  isDisabled() {
@@ -482,7 +482,7 @@ var ee = zi(), Ve, cs, As = (cs = class {
482
482
  ) : this.state.data === void 0;
483
483
  }
484
484
  isStaleByTime(t = 0) {
485
- return this.state.isInvalidated || this.state.data === void 0 || !Hi(this.state.dataUpdatedAt, t);
485
+ return this.state.isInvalidated || this.state.data === void 0 || !Fi(this.state.dataUpdatedAt, t);
486
486
  }
487
487
  onFocus() {
488
488
  var r;
@@ -628,7 +628,7 @@ var ee = zi(), Ve, cs, As = (cs = class {
628
628
  case "fetch":
629
629
  return {
630
630
  ...n,
631
- ...Xi(n.data, this.options),
631
+ ...Zi(n.data, this.options),
632
632
  fetchMeta: t.meta ?? null
633
633
  };
634
634
  case "success":
@@ -676,7 +676,7 @@ var ee = zi(), Ve, cs, As = (cs = class {
676
676
  }), f(this, ie).notify({ query: this, type: "updated", action: t });
677
677
  });
678
678
  }, ls);
679
- function Xi(e, t) {
679
+ function Zi(e, t) {
680
680
  return {
681
681
  fetchFailureCount: 0,
682
682
  fetchFailureReason: null,
@@ -687,7 +687,7 @@ function Xi(e, t) {
687
687
  }
688
688
  };
689
689
  }
690
- function Zi(e) {
690
+ function ea(e) {
691
691
  const t = typeof e.initialData == "function" ? e.initialData() : e.initialData, r = t !== void 0, n = r ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
692
692
  return {
693
693
  data: t,
@@ -704,7 +704,7 @@ function Zi(e) {
704
704
  fetchStatus: "idle"
705
705
  };
706
706
  }
707
- var ye, us, ea = (us = class extends _r {
707
+ var ye, us, ta = (us = class extends _r {
708
708
  constructor(t = {}) {
709
709
  super();
710
710
  A(this, ye);
@@ -713,7 +713,7 @@ var ye, us, ea = (us = class extends _r {
713
713
  build(t, r, n) {
714
714
  const s = r.queryKey, i = r.queryHash ?? gn(s, r);
715
715
  let a = this.get(i);
716
- return a || (a = new Qi({
716
+ return a || (a = new Xi({
717
717
  client: t,
718
718
  queryKey: s,
719
719
  queryHash: i,
@@ -776,14 +776,14 @@ var ye, us, ea = (us = class extends _r {
776
776
  });
777
777
  });
778
778
  }
779
- }, ye = new WeakMap(), us), pe, Z, je, ge, Ce, ds, ta = (ds = class extends As {
779
+ }, ye = new WeakMap(), us), pe, Z, je, ge, Ce, ds, ra = (ds = class extends As {
780
780
  constructor(t) {
781
781
  super();
782
782
  A(this, ge);
783
783
  A(this, pe);
784
784
  A(this, Z);
785
785
  A(this, je);
786
- this.mutationId = t.mutationId, w(this, Z, t.mutationCache), w(this, pe, []), this.state = t.state || ra(), this.setOptions(t.options), this.scheduleGc();
786
+ this.mutationId = t.mutationId, w(this, Z, t.mutationCache), w(this, pe, []), this.state = t.state || na(), this.setOptions(t.options), this.scheduleGc();
787
787
  }
788
788
  setOptions(t) {
789
789
  this.options = t, this.updateGcTime(this.options.gcTime);
@@ -960,7 +960,7 @@ var ye, us, ea = (us = class extends _r {
960
960
  });
961
961
  });
962
962
  }, ds);
963
- function ra() {
963
+ function na() {
964
964
  return {
965
965
  context: void 0,
966
966
  data: void 0,
@@ -973,7 +973,7 @@ function ra() {
973
973
  submittedAt: 0
974
974
  };
975
975
  }
976
- var Te, ue, Bt, fs, na = (fs = class extends _r {
976
+ var Te, ue, Bt, fs, sa = (fs = class extends _r {
977
977
  constructor(t = {}) {
978
978
  super();
979
979
  A(this, Te);
@@ -982,7 +982,7 @@ var Te, ue, Bt, fs, na = (fs = class extends _r {
982
982
  this.config = t, w(this, Te, /* @__PURE__ */ new Set()), w(this, ue, /* @__PURE__ */ new Map()), w(this, Bt, 0);
983
983
  }
984
984
  build(t, r, n) {
985
- const s = new ta({
985
+ const s = new ra({
986
986
  mutationCache: this,
987
987
  mutationId: ++Qt(this, Bt)._,
988
988
  options: t.defaultMutationOptions(r),
@@ -1101,14 +1101,14 @@ function Cn(e) {
1101
1101
  E(U);
1102
1102
  const F = await O(
1103
1103
  U
1104
- ), { maxPages: _ } = t.options, T = R ? ji : Gi;
1104
+ ), { maxPages: _ } = t.options, T = R ? qi : ji;
1105
1105
  return {
1106
1106
  pages: T(v.pages, F, _),
1107
1107
  pageParams: T(v.pageParams, N, _)
1108
1108
  };
1109
1109
  };
1110
1110
  if (s && i.length) {
1111
- const v = s === "backward", N = v ? sa : Pn, R = {
1111
+ const v = s === "backward", N = v ? ia : Pn, R = {
1112
1112
  pages: i,
1113
1113
  pageParams: a
1114
1114
  }, U = N(n, R);
@@ -1150,11 +1150,11 @@ function Pn(e, { pages: t, pageParams: r }) {
1150
1150
  r
1151
1151
  ) : void 0;
1152
1152
  }
1153
- function sa(e, { pages: t, pageParams: r }) {
1153
+ function ia(e, { pages: t, pageParams: r }) {
1154
1154
  var n;
1155
1155
  return t.length > 0 ? (n = e.getPreviousPageParam) == null ? void 0 : n.call(e, t[0], t, r[0], r) : void 0;
1156
1156
  }
1157
- var H, Le, Me, ht, mt, $e, yt, pt, hs, ia = (hs = class {
1157
+ var H, Le, Me, ht, mt, $e, yt, pt, hs, aa = (hs = class {
1158
1158
  constructor(e = {}) {
1159
1159
  A(this, H);
1160
1160
  A(this, Le);
@@ -1164,7 +1164,7 @@ var H, Le, Me, ht, mt, $e, yt, pt, hs, ia = (hs = class {
1164
1164
  A(this, $e);
1165
1165
  A(this, yt);
1166
1166
  A(this, pt);
1167
- w(this, H, e.queryCache || new ea()), w(this, Le, e.mutationCache || new na()), w(this, Me, e.defaultOptions || {}), w(this, ht, /* @__PURE__ */ new Map()), w(this, mt, /* @__PURE__ */ new Map()), w(this, $e, 0);
1167
+ w(this, H, e.queryCache || new ta()), w(this, Le, e.mutationCache || new sa()), w(this, Me, e.defaultOptions || {}), w(this, ht, /* @__PURE__ */ new Map()), w(this, mt, /* @__PURE__ */ new Map()), w(this, $e, 0);
1168
1168
  }
1169
1169
  mount() {
1170
1170
  Qt(this, $e)._++, f(this, $e) === 1 && (w(this, yt, ws.subscribe(async (e) => {
@@ -1201,7 +1201,7 @@ var H, Le, Me, ht, mt, $e, yt, pt, hs, ia = (hs = class {
1201
1201
  setQueryData(e, t, r) {
1202
1202
  const n = this.defaultQueryOptions({ queryKey: e }), s = f(this, H).get(
1203
1203
  n.queryHash
1204
- ), i = s == null ? void 0 : s.state.data, a = Ui(t, i);
1204
+ ), i = s == null ? void 0 : s.state.data, a = Ki(t, i);
1205
1205
  if (a !== void 0)
1206
1206
  return f(this, H).build(this, n).setData(a, { ...r, manual: !0 });
1207
1207
  }
@@ -1355,14 +1355,14 @@ var H, Le, Me, ht, mt, $e, yt, pt, hs, ia = (hs = class {
1355
1355
  }
1356
1356
  }, H = new WeakMap(), Le = new WeakMap(), Me = new WeakMap(), ht = new WeakMap(), mt = new WeakMap(), $e = new WeakMap(), yt = new WeakMap(), pt = new WeakMap(), hs), Ts = oe.createContext(
1357
1357
  void 0
1358
- ), aa = (e) => {
1358
+ ), oa = (e) => {
1359
1359
  const t = oe.useContext(Ts);
1360
1360
  if (e)
1361
1361
  return e;
1362
1362
  if (!t)
1363
1363
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
1364
1364
  return t;
1365
- }, oa = ({
1365
+ }, ca = ({
1366
1366
  client: e,
1367
1367
  children: t
1368
1368
  }) => (oe.useEffect(() => (e.mount(), () => {
@@ -1386,8 +1386,8 @@ function xn(e) {
1386
1386
  function Ot(e) {
1387
1387
  I.context = e;
1388
1388
  }
1389
- var ca = (e, t) => e === t, pr = Symbol("solid-proxy"), Is = typeof Proxy == "function", gr = {
1390
- equals: ca
1389
+ var la = (e, t) => e === t, pr = Symbol("solid-proxy"), Is = typeof Proxy == "function", gr = {
1390
+ equals: la
1391
1391
  }, ks = Ps, Oe = 1, br = 2, Rs = {
1392
1392
  owned: null,
1393
1393
  cleanups: null,
@@ -1418,7 +1418,7 @@ function te(e, t) {
1418
1418
  }, n = (s) => (typeof s == "function" && (s = s(r.value)), Cs(r, s));
1419
1419
  return [Ns.bind(r), n];
1420
1420
  }
1421
- function la(e, t, r) {
1421
+ function ua(e, t, r) {
1422
1422
  const n = Cr(e, t, !0, Oe);
1423
1423
  Rt(n);
1424
1424
  }
@@ -1427,7 +1427,7 @@ function Je(e, t, r) {
1427
1427
  Rt(n);
1428
1428
  }
1429
1429
  function _s(e, t, r) {
1430
- ks = ba;
1430
+ ks = wa;
1431
1431
  const n = Cr(e, t, !1, Oe);
1432
1432
  (!r || !r.render) && (n.user = !0), Re ? Re.push(n) : Rt(n);
1433
1433
  }
@@ -1436,10 +1436,10 @@ function se(e, t, r) {
1436
1436
  const n = Cr(e, t, !0, 0);
1437
1437
  return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, Rt(n), Ns.bind(n);
1438
1438
  }
1439
- function ua(e) {
1439
+ function da(e) {
1440
1440
  return e && typeof e == "object" && "then" in e;
1441
1441
  }
1442
- function da(e, t, r) {
1442
+ function fa(e, t, r) {
1443
1443
  let n, s, i;
1444
1444
  n = !0, s = e, i = {};
1445
1445
  let a = null, o = Hr, c = null, l = !1, d = "initialValue" in i, u = typeof n == "function" && se(n);
@@ -1483,7 +1483,7 @@ function da(e, t, r) {
1483
1483
  refetching: T
1484
1484
  })
1485
1485
  );
1486
- return ua(k) ? (a = k, "value" in k ? (k.status === "success" ? R(a, k.value, void 0, P) : R(a, void 0, tn(k.value), P), k) : (l = !0, queueMicrotask(() => l = !1), Ee(() => {
1486
+ return da(k) ? (a = k, "value" in k ? (k.status === "success" ? R(a, k.value, void 0, P) : R(a, void 0, tn(k.value), P), k) : (l = !0, queueMicrotask(() => l = !1), Ee(() => {
1487
1487
  N(d ? "refreshing" : "pending"), C();
1488
1488
  }, !1), k.then(
1489
1489
  (K) => R(k, K, void 0, P),
@@ -1513,7 +1513,7 @@ function da(e, t, r) {
1513
1513
  return m();
1514
1514
  }
1515
1515
  }
1516
- }), u ? la(() => _(!1)) : _(!1), [
1516
+ }), u ? ua(() => _(!1)) : _(!1), [
1517
1517
  F,
1518
1518
  {
1519
1519
  refetch: _,
@@ -1552,7 +1552,7 @@ function Cu(e, t, r) {
1552
1552
  return s = o, c;
1553
1553
  };
1554
1554
  }
1555
- function fa(e) {
1555
+ function ha(e) {
1556
1556
  _s(() => q(e));
1557
1557
  }
1558
1558
  function Mt(e) {
@@ -1561,7 +1561,7 @@ function Mt(e) {
1561
1561
  function Dn() {
1562
1562
  return x;
1563
1563
  }
1564
- function ha(e, t) {
1564
+ function ma(e, t) {
1565
1565
  const r = x, n = M;
1566
1566
  x = e, M = null;
1567
1567
  try {
@@ -1572,7 +1572,7 @@ function ha(e, t) {
1572
1572
  x = r, M = n;
1573
1573
  }
1574
1574
  }
1575
- function ma(e) {
1575
+ function ya(e) {
1576
1576
  const t = M, r = x;
1577
1577
  return Promise.resolve().then(() => {
1578
1578
  M = t, x = r;
@@ -1580,15 +1580,15 @@ function ma(e) {
1580
1580
  return Ee(e, !1), M = x = null, n ? n.done : void 0;
1581
1581
  });
1582
1582
  }
1583
- var [ya, Pu] = /* @__PURE__ */ te(!1);
1583
+ var [pa, Pu] = /* @__PURE__ */ te(!1);
1584
1584
  function xu() {
1585
- return [ya, ma];
1585
+ return [pa, ya];
1586
1586
  }
1587
1587
  function Du(e, t) {
1588
1588
  const r = Symbol("context");
1589
1589
  return {
1590
1590
  id: r,
1591
- Provider: wa(r),
1591
+ Provider: Ea(r),
1592
1592
  defaultValue: e
1593
1593
  };
1594
1594
  }
@@ -1633,13 +1633,13 @@ function Rt(e) {
1633
1633
  return;
1634
1634
  $t(e);
1635
1635
  const t = Nr;
1636
- pa(
1636
+ ga(
1637
1637
  e,
1638
1638
  e.value,
1639
1639
  t
1640
1640
  );
1641
1641
  }
1642
- function pa(e, t, r) {
1642
+ function ga(e, t, r) {
1643
1643
  let n;
1644
1644
  const s = x, i = M;
1645
1645
  M = x = e;
@@ -1693,12 +1693,12 @@ function Ee(e, t) {
1693
1693
  t || (Q = []), Re ? r = !0 : Re = [], Nr++;
1694
1694
  try {
1695
1695
  const n = e();
1696
- return ga(r), n;
1696
+ return ba(r), n;
1697
1697
  } catch (n) {
1698
1698
  r || (Re = null), Q = null, bn(n);
1699
1699
  }
1700
1700
  }
1701
- function ga(e) {
1701
+ function ba(e) {
1702
1702
  if (Q && (Ps(Q), Q = null), e)
1703
1703
  return;
1704
1704
  const t = Re;
@@ -1708,7 +1708,7 @@ function Ps(e) {
1708
1708
  for (let t = 0; t < e.length; t++)
1709
1709
  wr(e[t]);
1710
1710
  }
1711
- function ba(e) {
1711
+ function wa(e) {
1712
1712
  let t, r = 0;
1713
1713
  for (t = 0; t < e.length; t++) {
1714
1714
  const n = e[t];
@@ -1788,7 +1788,7 @@ function rn(e) {
1788
1788
  }
1789
1789
  return e;
1790
1790
  }
1791
- function wa(e, t) {
1791
+ function Ea(e, t) {
1792
1792
  return function(n) {
1793
1793
  let s;
1794
1794
  return Je(
@@ -1805,7 +1805,7 @@ function Sr(e) {
1805
1805
  for (let t = 0; t < e.length; t++)
1806
1806
  e[t]();
1807
1807
  }
1808
- function Ea(e, t, r = {}) {
1808
+ function Sa(e, t, r = {}) {
1809
1809
  let n = [], s = [], i = [], a = 0, o = t.length > 1 ? [] : null;
1810
1810
  return Mt(() => Sr(i)), () => {
1811
1811
  let c = e() || [], l = c.length, d, u;
@@ -1841,7 +1841,7 @@ function Ea(e, t, r = {}) {
1841
1841
  }
1842
1842
  };
1843
1843
  }
1844
- function Sa(e, t, r = {}) {
1844
+ function va(e, t, r = {}) {
1845
1845
  let n = [], s = [], i = [], a = [], o = 0, c;
1846
1846
  return Mt(() => Sr(i)), () => {
1847
1847
  const l = e() || [], d = l.length;
@@ -1861,7 +1861,7 @@ function Sa(e, t, r = {}) {
1861
1861
  }
1862
1862
  };
1863
1863
  }
1864
- function va(e, t) {
1864
+ function Aa(e, t) {
1865
1865
  return q(() => e(t || {}));
1866
1866
  }
1867
1867
  function Zt() {
@@ -1894,14 +1894,14 @@ var sn = {
1894
1894
  function Fr(e) {
1895
1895
  return (e = typeof e == "function" ? e() : e) ? e : {};
1896
1896
  }
1897
- function Aa() {
1897
+ function Ta() {
1898
1898
  for (let e = 0, t = this.length; e < t; ++e) {
1899
1899
  const r = this[e]();
1900
1900
  if (r !== void 0)
1901
1901
  return r;
1902
1902
  }
1903
1903
  }
1904
- function Ta(...e) {
1904
+ function Ia(...e) {
1905
1905
  let t = !1;
1906
1906
  for (let a = 0; a < e.length; a++) {
1907
1907
  const o = e[a];
@@ -1947,7 +1947,7 @@ function Ta(...e) {
1947
1947
  n[d] = u.get ? {
1948
1948
  enumerable: !0,
1949
1949
  configurable: !0,
1950
- get: Aa.bind(r[d] = [u.get.bind(o)])
1950
+ get: Ta.bind(r[d] = [u.get.bind(o)])
1951
1951
  } : u.value !== void 0 ? u : void 0;
1952
1952
  else {
1953
1953
  const h = r[d];
@@ -1962,7 +1962,7 @@ function Ta(...e) {
1962
1962
  }
1963
1963
  return s;
1964
1964
  }
1965
- function Ia(e, ...t) {
1965
+ function ka(e, ...t) {
1966
1966
  if (Is && pr in e) {
1967
1967
  const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((a) => new Proxy(
1968
1968
  {
@@ -2005,7 +2005,7 @@ function Ia(e, ...t) {
2005
2005
  }
2006
2006
  return [...n, r];
2007
2007
  }
2008
- function ka(e) {
2008
+ function Ra(e) {
2009
2009
  let t, r;
2010
2010
  const n = (s) => {
2011
2011
  const i = I.context;
@@ -2015,7 +2015,7 @@ function ka(e) {
2015
2015
  !I.done && Ot(i), I.count--, c(() => l.default), Ot();
2016
2016
  }), t = o;
2017
2017
  } else if (!t) {
2018
- const [o] = da(() => (r || (r = e())).then((c) => c.default));
2018
+ const [o] = fa(() => (r || (r = e())).then((c) => c.default));
2019
2019
  t = o;
2020
2020
  }
2021
2021
  let a;
@@ -2032,22 +2032,22 @@ function ka(e) {
2032
2032
  };
2033
2033
  return n.preload = () => r || ((r = e()).then((s) => t = () => s.default), r), n;
2034
2034
  }
2035
- var Ra = 0;
2035
+ var _a = 0;
2036
2036
  function Mu() {
2037
- return I.context ? I.getNextContextId() : `cl-${Ra++}`;
2037
+ return I.context ? I.getNextContextId() : `cl-${_a++}`;
2038
2038
  }
2039
2039
  var Ds = (e) => `Stale read from <${e}>.`;
2040
2040
  function $u(e) {
2041
2041
  const t = "fallback" in e && {
2042
2042
  fallback: () => e.fallback
2043
2043
  };
2044
- return se(Ea(() => e.each, e.children, t || void 0));
2044
+ return se(Sa(() => e.each, e.children, t || void 0));
2045
2045
  }
2046
2046
  function Uu(e) {
2047
2047
  const t = "fallback" in e && {
2048
2048
  fallback: () => e.fallback
2049
2049
  };
2050
- return se(Sa(() => e.each, e.children, t || void 0));
2050
+ return se(va(() => e.each, e.children, t || void 0));
2051
2051
  }
2052
2052
  function Ku(e) {
2053
2053
  const t = e.keyed, r = se(() => e.when, void 0, {
@@ -2115,7 +2115,7 @@ function Hu(e) {
2115
2115
  function Fu(e) {
2116
2116
  return e;
2117
2117
  }
2118
- var _a = [
2118
+ var Oa = [
2119
2119
  "allowfullscreen",
2120
2120
  "async",
2121
2121
  "autofocus",
@@ -2141,7 +2141,7 @@ var _a = [
2141
2141
  "reversed",
2142
2142
  "seamless",
2143
2143
  "selected"
2144
- ], Oa = /* @__PURE__ */ new Set([
2144
+ ], Na = /* @__PURE__ */ new Set([
2145
2145
  "className",
2146
2146
  "value",
2147
2147
  "readOnly",
@@ -2149,16 +2149,16 @@ var _a = [
2149
2149
  "isMap",
2150
2150
  "noModule",
2151
2151
  "playsInline",
2152
- ..._a
2153
- ]), Na = /* @__PURE__ */ new Set([
2152
+ ...Oa
2153
+ ]), Ca = /* @__PURE__ */ new Set([
2154
2154
  "innerHTML",
2155
2155
  "textContent",
2156
2156
  "innerText",
2157
2157
  "children"
2158
- ]), Ca = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2158
+ ]), Pa = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2159
2159
  className: "class",
2160
2160
  htmlFor: "for"
2161
- }), Pa = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2161
+ }), xa = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2162
2162
  class: "className",
2163
2163
  formnovalidate: {
2164
2164
  $: "formNoValidate",
@@ -2183,11 +2183,11 @@ var _a = [
2183
2183
  TEXTAREA: 1
2184
2184
  }
2185
2185
  });
2186
- function xa(e, t) {
2187
- const r = Pa[e];
2186
+ function Da(e, t) {
2187
+ const r = xa[e];
2188
2188
  return typeof r == "object" ? r[t] ? r.$ : void 0 : r;
2189
2189
  }
2190
- var Da = /* @__PURE__ */ new Set([
2190
+ var La = /* @__PURE__ */ new Set([
2191
2191
  "beforeinput",
2192
2192
  "click",
2193
2193
  "dblclick",
@@ -2210,7 +2210,7 @@ var Da = /* @__PURE__ */ new Set([
2210
2210
  "touchend",
2211
2211
  "touchmove",
2212
2212
  "touchstart"
2213
- ]), La = /* @__PURE__ */ new Set([
2213
+ ]), Ma = /* @__PURE__ */ new Set([
2214
2214
  "altGlyph",
2215
2215
  "altGlyphDef",
2216
2216
  "altGlyphItem",
@@ -2288,11 +2288,11 @@ var Da = /* @__PURE__ */ new Set([
2288
2288
  "use",
2289
2289
  "view",
2290
2290
  "vkern"
2291
- ]), Ma = {
2291
+ ]), $a = {
2292
2292
  xlink: "http://www.w3.org/1999/xlink",
2293
2293
  xml: "http://www.w3.org/XML/1998/namespace"
2294
2294
  };
2295
- function $a(e, t, r) {
2295
+ function Ua(e, t, r) {
2296
2296
  let n = r.length, s = t.length, i = n, a = 0, o = 0, c = t[s - 1].nextSibling, l = null;
2297
2297
  for (; a < s || o < i; ) {
2298
2298
  if (t[a] === r[o]) {
@@ -2338,7 +2338,7 @@ function $a(e, t, r) {
2338
2338
  }
2339
2339
  }
2340
2340
  var Ct = "_$DX_DELEGATE";
2341
- function Ua(e, t, r, n = {}) {
2341
+ function Ka(e, t, r, n = {}) {
2342
2342
  let s;
2343
2343
  return We((i) => {
2344
2344
  s = i, t === document ? e() : on(t, e(), t.firstChild ? null : void 0, r);
@@ -2354,7 +2354,7 @@ function Vu(e, t, r) {
2354
2354
  }, i = () => (n || (n = s())).cloneNode(!0);
2355
2355
  return i.cloneNode = i, i;
2356
2356
  }
2357
- function Ka(e, t = window.document) {
2357
+ function Ha(e, t = window.document) {
2358
2358
  const r = t[Ct] || (t[Ct] = /* @__PURE__ */ new Set());
2359
2359
  for (let n = 0, s = e.length; n < s; n++) {
2360
2360
  const i = e[n];
@@ -2371,16 +2371,16 @@ function Bu(e = window.document) {
2371
2371
  function an(e, t, r) {
2372
2372
  Ye(e) || (r == null ? e.removeAttribute(t) : e.setAttribute(t, r));
2373
2373
  }
2374
- function Ha(e, t, r, n) {
2374
+ function Fa(e, t, r, n) {
2375
2375
  Ye(e) || (n == null ? e.removeAttributeNS(t, r) : e.setAttributeNS(t, r, n));
2376
2376
  }
2377
- function Fa(e, t, r) {
2377
+ function Va(e, t, r) {
2378
2378
  Ye(e) || (r ? e.setAttribute(t, "") : e.removeAttribute(t));
2379
2379
  }
2380
- function Va(e, t) {
2380
+ function Ba(e, t) {
2381
2381
  Ye(e) || (t == null ? e.removeAttribute("class") : e.className = t);
2382
2382
  }
2383
- function Ba(e, t, r, n) {
2383
+ function Ga(e, t, r, n) {
2384
2384
  if (n)
2385
2385
  Array.isArray(r) ? (e[`$$${t}`] = r[0], e[`$$${t}Data`] = r[1]) : e[`$$${t}`] = r;
2386
2386
  else if (Array.isArray(r)) {
@@ -2389,7 +2389,7 @@ function Ba(e, t, r, n) {
2389
2389
  } else
2390
2390
  e.addEventListener(t, r, typeof r != "function" && r);
2391
2391
  }
2392
- function Ga(e, t, r = {}) {
2392
+ function ja(e, t, r = {}) {
2393
2393
  const n = Object.keys(t || {}), s = Object.keys(r);
2394
2394
  let i, a;
2395
2395
  for (i = 0, a = s.length; i < a; i++) {
@@ -2402,7 +2402,7 @@ function Ga(e, t, r = {}) {
2402
2402
  }
2403
2403
  return r;
2404
2404
  }
2405
- function ja(e, t, r) {
2405
+ function qa(e, t, r) {
2406
2406
  if (!t)
2407
2407
  return r ? an(e, "style") : t;
2408
2408
  const n = e.style;
@@ -2416,13 +2416,13 @@ function ja(e, t, r) {
2416
2416
  s = t[i], s !== r[i] && (n.setProperty(i, s), r[i] = s);
2417
2417
  return r;
2418
2418
  }
2419
- function qa(e, t = {}, r, n) {
2419
+ function Wa(e, t = {}, r, n) {
2420
2420
  const s = {};
2421
2421
  return n || Je(
2422
2422
  () => s.children = Ut(e, t.children, s.children)
2423
- ), Je(() => typeof t.ref == "function" && Wa(t.ref, e)), Je(() => Ja(e, t, r, !0, s, !0)), s;
2423
+ ), Je(() => typeof t.ref == "function" && Ja(t.ref, e)), Je(() => Ya(e, t, r, !0, s, !0)), s;
2424
2424
  }
2425
- function Wa(e, t, r) {
2425
+ function Ja(e, t, r) {
2426
2426
  return q(() => e(t, r));
2427
2427
  }
2428
2428
  function on(e, t, r, n) {
@@ -2430,7 +2430,7 @@ function on(e, t, r, n) {
2430
2430
  return Ut(e, t, n, r);
2431
2431
  Je((s) => Ut(e, t(), s, r), n);
2432
2432
  }
2433
- function Ja(e, t, r, n, s = {}, i = !1) {
2433
+ function Ya(e, t, r, n, s = {}, i = !1) {
2434
2434
  t || (t = {});
2435
2435
  for (const a in s)
2436
2436
  if (!(a in t)) {
@@ -2445,14 +2445,14 @@ function Ja(e, t, r, n, s = {}, i = !1) {
2445
2445
  s[a] = Mn(e, a, o, s[a], r, i, t);
2446
2446
  }
2447
2447
  }
2448
- function Ya(e) {
2448
+ function za(e) {
2449
2449
  let t, r;
2450
- return !Ye() || !(t = I.registry.get(r = Qa())) ? e() : (I.completed && I.completed.add(t), I.registry.delete(r), t);
2450
+ return !Ye() || !(t = I.registry.get(r = Xa())) ? e() : (I.completed && I.completed.add(t), I.registry.delete(r), t);
2451
2451
  }
2452
2452
  function Ye(e) {
2453
2453
  return !!I.context && !I.done && (!e || e.isConnected);
2454
2454
  }
2455
- function za(e) {
2455
+ function Qa(e) {
2456
2456
  return e.toLowerCase().replace(/-([a-z])/g, (t, r) => r.toUpperCase());
2457
2457
  }
2458
2458
  function Ln(e, t, r) {
@@ -2463,9 +2463,9 @@ function Ln(e, t, r) {
2463
2463
  function Mn(e, t, r, n, s, i, a) {
2464
2464
  let o, c, l, d, u;
2465
2465
  if (t === "style")
2466
- return ja(e, r, n);
2466
+ return qa(e, r, n);
2467
2467
  if (t === "classList")
2468
- return Ga(e, r, n);
2468
+ return ja(e, r, n);
2469
2469
  if (r === n)
2470
2470
  return n;
2471
2471
  if (t === "ref")
@@ -2477,25 +2477,25 @@ function Mn(e, t, r, n, s, i, a) {
2477
2477
  const h = t.slice(10);
2478
2478
  n && e.removeEventListener(h, n, !0), r && e.addEventListener(h, r, !0);
2479
2479
  } else if (t.slice(0, 2) === "on") {
2480
- const h = t.slice(2).toLowerCase(), m = Da.has(h);
2480
+ const h = t.slice(2).toLowerCase(), m = La.has(h);
2481
2481
  if (!m && n) {
2482
2482
  const p = Array.isArray(n) ? n[0] : n;
2483
2483
  e.removeEventListener(h, p);
2484
2484
  }
2485
- (m || r) && (Ba(e, h, r, m), m && Ka([h]));
2485
+ (m || r) && (Ga(e, h, r, m), m && Ha([h]));
2486
2486
  } else if (t.slice(0, 5) === "attr:")
2487
2487
  an(e, t.slice(5), r);
2488
2488
  else if (t.slice(0, 5) === "bool:")
2489
- Fa(e, t.slice(5), r);
2490
- else if ((u = t.slice(0, 5) === "prop:") || (l = Na.has(t)) || !s && ((d = xa(t, e.tagName)) || (c = Oa.has(t))) || (o = e.nodeName.includes("-") || "is" in a)) {
2489
+ Va(e, t.slice(5), r);
2490
+ else if ((u = t.slice(0, 5) === "prop:") || (l = Ca.has(t)) || !s && ((d = Da(t, e.tagName)) || (c = Na.has(t))) || (o = e.nodeName.includes("-") || "is" in a)) {
2491
2491
  if (u)
2492
2492
  t = t.slice(5), c = !0;
2493
2493
  else if (Ye(e))
2494
2494
  return r;
2495
- t === "class" || t === "className" ? Va(e, r) : o && !c && !l ? e[za(t)] = r : e[d || t] = r;
2495
+ t === "class" || t === "className" ? Ba(e, r) : o && !c && !l ? e[Qa(t)] = r : e[d || t] = r;
2496
2496
  } else {
2497
- const h = s && t.indexOf(":") > -1 && Ma[t.split(":")[0]];
2498
- h ? Ha(e, h, t, r) : an(e, Ca[t] || t, r);
2497
+ const h = s && t.indexOf(":") > -1 && $a[t.split(":")[0]];
2498
+ h ? Fa(e, h, t, r) : an(e, Pa[t] || t, r);
2499
2499
  }
2500
2500
  return r;
2501
2501
  }
@@ -2594,7 +2594,7 @@ function Ut(e, t, r, n, s) {
2594
2594
  if (c.length === 0) {
2595
2595
  if (r = Xe(e, r, n), o)
2596
2596
  return r;
2597
- } else l ? r.length === 0 ? $n(e, c, n) : $a(e, r, c) : (r && Xe(e), $n(e, c));
2597
+ } else l ? r.length === 0 ? $n(e, c, n) : Ua(e, r, c) : (r && Xe(e), $n(e, c));
2598
2598
  r = c;
2599
2599
  } else if (t.nodeType) {
2600
2600
  if (i && t.parentNode)
@@ -2658,19 +2658,19 @@ function Xe(e, t, r, n) {
2658
2658
  e.insertBefore(s, r);
2659
2659
  return [s];
2660
2660
  }
2661
- function Qa() {
2661
+ function Xa() {
2662
2662
  return I.getNextContextId();
2663
2663
  }
2664
- var Xa = "http://www.w3.org/2000/svg";
2664
+ var Za = "http://www.w3.org/2000/svg";
2665
2665
  function Ms(e, t = !1) {
2666
- return t ? document.createElementNS(Xa, e) : document.createElement(e);
2666
+ return t ? document.createElementNS(Za, e) : document.createElement(e);
2667
2667
  }
2668
2668
  function Gu(e) {
2669
2669
  const { useShadow: t } = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = Dn();
2670
2670
  let i, a = !!I.context;
2671
2671
  return _s(
2672
2672
  () => {
2673
- a && (Dn().user = a = !1), i || (i = ha(s, () => se(() => e.children)));
2673
+ a && (Dn().user = a = !1), i || (i = ma(s, () => se(() => e.children)));
2674
2674
  const o = n();
2675
2675
  if (o instanceof HTMLHeadElement) {
2676
2676
  const [c, l] = te(!1), d = () => l(!0);
@@ -2694,19 +2694,19 @@ function Gu(e) {
2694
2694
  ), r;
2695
2695
  }
2696
2696
  function ju(e) {
2697
- const [t, r] = Ia(e, ["component"]), n = se(() => t.component);
2697
+ const [t, r] = ka(e, ["component"]), n = se(() => t.component);
2698
2698
  return se(() => {
2699
2699
  const s = n();
2700
2700
  switch (typeof s) {
2701
2701
  case "function":
2702
2702
  return q(() => s(r));
2703
2703
  case "string":
2704
- const i = La.has(s), a = I.context ? Ya() : Ms(s, i);
2705
- return qa(a, r, i), a;
2704
+ const i = Ma.has(s), a = I.context ? za() : Ms(s, i);
2705
+ return Wa(a, r, i), a;
2706
2706
  }
2707
2707
  });
2708
2708
  }
2709
- var Za = class {
2709
+ var eo = class {
2710
2710
  constructor() {
2711
2711
  this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
2712
2712
  }
@@ -2724,7 +2724,7 @@ var Za = class {
2724
2724
  }
2725
2725
  }, $s = class {
2726
2726
  constructor(e) {
2727
- this.generateIdentifier = e, this.kv = new Za();
2727
+ this.generateIdentifier = e, this.kv = new eo();
2728
2728
  }
2729
2729
  register(e, t) {
2730
2730
  this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
@@ -2738,7 +2738,7 @@ var Za = class {
2738
2738
  getValue(e) {
2739
2739
  return this.kv.getByKey(e);
2740
2740
  }
2741
- }, eo = class extends $s {
2741
+ }, to = class extends $s {
2742
2742
  constructor() {
2743
2743
  super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
2744
2744
  }
@@ -2749,7 +2749,7 @@ var Za = class {
2749
2749
  return this.classToAllowedProps.get(e);
2750
2750
  }
2751
2751
  };
2752
- function to(e) {
2752
+ function ro(e) {
2753
2753
  if ("values" in Object)
2754
2754
  return Object.values(e);
2755
2755
  const t = [];
@@ -2757,8 +2757,8 @@ function to(e) {
2757
2757
  e.hasOwnProperty(r) && t.push(e[r]);
2758
2758
  return t;
2759
2759
  }
2760
- function ro(e, t) {
2761
- const r = to(e);
2760
+ function no(e, t) {
2761
+ const r = ro(e);
2762
2762
  if ("find" in r)
2763
2763
  return r.find(t);
2764
2764
  const n = r;
@@ -2781,7 +2781,7 @@ function Un(e, t) {
2781
2781
  return n;
2782
2782
  }
2783
2783
  }
2784
- var no = class {
2784
+ var so = class {
2785
2785
  constructor() {
2786
2786
  this.transfomers = {};
2787
2787
  }
@@ -2789,12 +2789,12 @@ var no = class {
2789
2789
  this.transfomers[e.name] = e;
2790
2790
  }
2791
2791
  findApplicable(e) {
2792
- return ro(this.transfomers, (t) => t.isApplicable(e));
2792
+ return no(this.transfomers, (t) => t.isApplicable(e));
2793
2793
  }
2794
2794
  findByName(e) {
2795
2795
  return this.transfomers[e];
2796
2796
  }
2797
- }, so = (e) => Object.prototype.toString.call(e).slice(8, -1), Us = (e) => typeof e > "u", io = (e) => e === null, Kt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, ln = (e) => Kt(e) && Object.keys(e).length === 0, Ke = (e) => Array.isArray(e), ao = (e) => typeof e == "string", oo = (e) => typeof e == "number" && !isNaN(e), co = (e) => typeof e == "boolean", lo = (e) => e instanceof RegExp, Ht = (e) => e instanceof Map, Ft = (e) => e instanceof Set, Ks = (e) => so(e) === "Symbol", uo = (e) => e instanceof Date && !isNaN(e.valueOf()), fo = (e) => e instanceof Error, Kn = (e) => typeof e == "number" && isNaN(e), ho = (e) => co(e) || io(e) || Us(e) || oo(e) || ao(e) || Ks(e), mo = (e) => typeof e == "bigint", yo = (e) => e === 1 / 0 || e === -1 / 0, po = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), go = (e) => e instanceof URL, Hs = (e) => e.replace(/\./g, "\\."), Vr = (e) => e.map(String).map(Hs).join("."), Pt = (e) => {
2797
+ }, io = (e) => Object.prototype.toString.call(e).slice(8, -1), Us = (e) => typeof e > "u", ao = (e) => e === null, Kt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, ln = (e) => Kt(e) && Object.keys(e).length === 0, Ke = (e) => Array.isArray(e), oo = (e) => typeof e == "string", co = (e) => typeof e == "number" && !isNaN(e), lo = (e) => typeof e == "boolean", uo = (e) => e instanceof RegExp, Ht = (e) => e instanceof Map, Ft = (e) => e instanceof Set, Ks = (e) => io(e) === "Symbol", fo = (e) => e instanceof Date && !isNaN(e.valueOf()), ho = (e) => e instanceof Error, Kn = (e) => typeof e == "number" && isNaN(e), mo = (e) => lo(e) || ao(e) || Us(e) || co(e) || oo(e) || Ks(e), yo = (e) => typeof e == "bigint", po = (e) => e === 1 / 0 || e === -1 / 0, go = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), bo = (e) => e instanceof URL, Hs = (e) => e.replace(/\./g, "\\."), Vr = (e) => e.map(String).map(Hs).join("."), Pt = (e) => {
2798
2798
  const t = [];
2799
2799
  let r = "";
2800
2800
  for (let s = 0; s < e.length; s++) {
@@ -2823,9 +2823,9 @@ function he(e, t, r, n) {
2823
2823
  var Fs = [
2824
2824
  he(Us, "undefined", () => null, () => {
2825
2825
  }),
2826
- he(mo, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
2827
- he(uo, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2828
- he(fo, "Error", (e, t) => {
2826
+ he(yo, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
2827
+ he(fo, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2828
+ he(ho, "Error", (e, t) => {
2829
2829
  const r = {
2830
2830
  name: e.name,
2831
2831
  message: e.message
@@ -2839,7 +2839,7 @@ var Fs = [
2839
2839
  r[n] = e[n];
2840
2840
  }), r;
2841
2841
  }),
2842
- he(lo, "regexp", (e) => "" + e, (e) => {
2842
+ he(uo, "regexp", (e) => "" + e, (e) => {
2843
2843
  const t = e.slice(1, e.lastIndexOf("/")), r = e.slice(e.lastIndexOf("/") + 1);
2844
2844
  return new RegExp(t, r);
2845
2845
  }),
@@ -2852,9 +2852,9 @@ var Fs = [
2852
2852
  (e) => new Set(e)
2853
2853
  ),
2854
2854
  he(Ht, "map", (e) => [...e.entries()], (e) => new Map(e)),
2855
- he((e) => Kn(e) || yo(e), "number", (e) => Kn(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2855
+ he((e) => Kn(e) || po(e), "number", (e) => Kn(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2856
2856
  he((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
2857
- he(go, "URL", (e) => e.toString(), (e) => new URL(e))
2857
+ he(bo, "URL", (e) => e.toString(), (e) => new URL(e))
2858
2858
  ];
2859
2859
  function Pr(e, t, r, n) {
2860
2860
  return {
@@ -2869,7 +2869,7 @@ var Vs = Pr((e, t) => Ks(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
2869
2869
  if (!n)
2870
2870
  throw new Error("Trying to deserialize unknown symbol");
2871
2871
  return n;
2872
- }), bo = [
2872
+ }), wo = [
2873
2873
  Int8Array,
2874
2874
  Uint8Array,
2875
2875
  Int16Array,
@@ -2879,8 +2879,8 @@ var Vs = Pr((e, t) => Ks(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
2879
2879
  Float32Array,
2880
2880
  Float64Array,
2881
2881
  Uint8ClampedArray
2882
- ].reduce((e, t) => (e[t.name] = t, e), {}), Bs = Pr(po, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2883
- const r = bo[t[1]];
2882
+ ].reduce((e, t) => (e[t.name] = t, e), {}), Bs = Pr(go, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2883
+ const r = wo[t[1]];
2884
2884
  if (!r)
2885
2885
  throw new Error("Trying to deserialize unknown typed array");
2886
2886
  return new r(e);
@@ -2906,8 +2906,8 @@ var js = Pr(Gs, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
2906
2906
  if (!n)
2907
2907
  throw new Error("Trying to deserialize unknown custom value");
2908
2908
  return n.deserialize(e);
2909
- }), wo = [js, Vs, qs, Bs], Hn = (e, t) => {
2910
- const r = Un(wo, (s) => s.isApplicable(e, t));
2909
+ }), Eo = [js, Vs, qs, Bs], Hn = (e, t) => {
2910
+ const r = Un(Eo, (s) => s.isApplicable(e, t));
2911
2911
  if (r)
2912
2912
  return {
2913
2913
  value: r.transform(e, t),
@@ -2923,7 +2923,7 @@ var js = Pr(Gs, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
2923
2923
  Fs.forEach((e) => {
2924
2924
  Ws[e.annotation] = e;
2925
2925
  });
2926
- var Eo = (e, t, r) => {
2926
+ var So = (e, t, r) => {
2927
2927
  if (Ke(t))
2928
2928
  switch (t[0]) {
2929
2929
  case "symbol":
@@ -2957,7 +2957,7 @@ function Js(e) {
2957
2957
  if (ur(e, "constructor"))
2958
2958
  throw new Error("constructor is not allowed as a property");
2959
2959
  }
2960
- var So = (e, t) => {
2960
+ var vo = (e, t) => {
2961
2961
  Js(t);
2962
2962
  for (let r = 0; r < t.length; r++) {
2963
2963
  const n = t[r];
@@ -3038,14 +3038,14 @@ function dn(e, t, r = []) {
3038
3038
  dn(i, t, [...r, ...Pt(a)]);
3039
3039
  }), t(n, r);
3040
3040
  }
3041
- function vo(e, t, r) {
3041
+ function Ao(e, t, r) {
3042
3042
  return dn(t, (n, s) => {
3043
- e = un(e, s, (i) => Eo(i, n, r));
3043
+ e = un(e, s, (i) => So(i, n, r));
3044
3044
  }), e;
3045
3045
  }
3046
- function Ao(e, t) {
3046
+ function To(e, t) {
3047
3047
  function r(n, s) {
3048
- const i = So(e, Pt(s));
3048
+ const i = vo(e, Pt(s));
3049
3049
  n.map(Pt).forEach((a) => {
3050
3050
  e = un(e, a, () => i);
3051
3051
  });
@@ -3059,12 +3059,12 @@ function Ao(e, t) {
3059
3059
  Tt(t, r);
3060
3060
  return e;
3061
3061
  }
3062
- var To = (e, t) => Kt(e) || Ke(e) || Ht(e) || Ft(e) || Gs(e, t);
3063
- function Io(e, t, r) {
3062
+ var Io = (e, t) => Kt(e) || Ke(e) || Ht(e) || Ft(e) || Gs(e, t);
3063
+ function ko(e, t, r) {
3064
3064
  const n = r.get(e);
3065
3065
  n ? n.push(t) : r.set(e, [t]);
3066
3066
  }
3067
- function ko(e, t) {
3067
+ function Ro(e, t) {
3068
3068
  const r = {};
3069
3069
  let n;
3070
3070
  return e.forEach((s) => {
@@ -3076,16 +3076,16 @@ function ko(e, t) {
3076
3076
  }), n ? ln(r) ? [n] : [n, r] : ln(r) ? void 0 : r;
3077
3077
  }
3078
3078
  var Ys = (e, t, r, n, s = [], i = [], a = /* @__PURE__ */ new Map()) => {
3079
- const o = ho(e);
3079
+ const o = mo(e);
3080
3080
  if (!o) {
3081
- Io(e, s, t);
3081
+ ko(e, s, t);
3082
3082
  const m = a.get(e);
3083
3083
  if (m)
3084
3084
  return n ? {
3085
3085
  transformedValue: null
3086
3086
  } : m;
3087
3087
  }
3088
- if (!To(e, r)) {
3088
+ if (!Io(e, r)) {
3089
3089
  const m = Hn(e, r), p = m ? {
3090
3090
  transformedValue: m.value,
3091
3091
  annotations: [m.type]
@@ -3122,13 +3122,13 @@ function zs(e) {
3122
3122
  function Fn(e) {
3123
3123
  return zs(e) === "Array";
3124
3124
  }
3125
- function Ro(e) {
3125
+ function _o(e) {
3126
3126
  if (zs(e) !== "Object")
3127
3127
  return !1;
3128
3128
  const t = Object.getPrototypeOf(e);
3129
3129
  return !!t && t.constructor === Object && t === Object.prototype;
3130
3130
  }
3131
- function _o(e, t, r, n, s) {
3131
+ function Oo(e, t, r, n, s) {
3132
3132
  const i = {}.propertyIsEnumerable.call(n, t) ? "enumerable" : "nonenumerable";
3133
3133
  i === "enumerable" && (e[t] = r), s && i === "nonenumerable" && Object.defineProperty(e, t, {
3134
3134
  value: r,
@@ -3140,14 +3140,14 @@ function _o(e, t, r, n, s) {
3140
3140
  function fn(e, t = {}) {
3141
3141
  if (Fn(e))
3142
3142
  return e.map((s) => fn(s, t));
3143
- if (!Ro(e))
3143
+ if (!_o(e))
3144
3144
  return e;
3145
3145
  const r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols(e);
3146
3146
  return [...r, ...n].reduce((s, i) => {
3147
3147
  if (Fn(t.props) && !t.props.includes(i))
3148
3148
  return s;
3149
3149
  const a = e[i], o = fn(a, t);
3150
- return _o(s, i, o, e, t.nonenumerable), s;
3150
+ return Oo(s, i, o, e, t.nonenumerable), s;
3151
3151
  }, {});
3152
3152
  }
3153
3153
  var D = class {
@@ -3155,7 +3155,7 @@ var D = class {
3155
3155
  * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
3156
3156
  */
3157
3157
  constructor({ dedupe: e = !1 } = {}) {
3158
- this.classRegistry = new eo(), this.symbolRegistry = new $s((t) => t.description ?? ""), this.customTransformerRegistry = new no(), this.allowedErrorProps = [], this.dedupe = e;
3158
+ this.classRegistry = new to(), this.symbolRegistry = new $s((t) => t.description ?? ""), this.customTransformerRegistry = new so(), this.allowedErrorProps = [], this.dedupe = e;
3159
3159
  }
3160
3160
  serialize(e) {
3161
3161
  const t = /* @__PURE__ */ new Map(), r = Ys(e, t, this, this.dedupe), n = {
@@ -3165,7 +3165,7 @@ var D = class {
3165
3165
  ...n.meta,
3166
3166
  values: r.annotations
3167
3167
  });
3168
- const s = ko(t, this.dedupe);
3168
+ const s = Ro(t, this.dedupe);
3169
3169
  return s && (n.meta = {
3170
3170
  ...n.meta,
3171
3171
  referentialEqualities: s
@@ -3174,7 +3174,7 @@ var D = class {
3174
3174
  deserialize(e) {
3175
3175
  const { json: t, meta: r } = e;
3176
3176
  let n = fn(t);
3177
- return r != null && r.values && (n = vo(n, r.values, this)), r != null && r.referentialEqualities && (n = Ao(n, r.referentialEqualities)), n;
3177
+ return r != null && r.values && (n = Ao(n, r.values, this)), r != null && r.referentialEqualities && (n = To(n, r.referentialEqualities)), n;
3178
3178
  }
3179
3179
  stringify(e) {
3180
3180
  return JSON.stringify(this.serialize(e));
@@ -3207,7 +3207,7 @@ D.registerClass = D.defaultInstance.registerClass.bind(D.defaultInstance);
3207
3207
  D.registerSymbol = D.defaultInstance.registerSymbol.bind(D.defaultInstance);
3208
3208
  D.registerCustom = D.defaultInstance.registerCustom.bind(D.defaultInstance);
3209
3209
  D.allowErrorProps = D.defaultInstance.allowErrorProps.bind(D.defaultInstance);
3210
- var Oo = D.serialize, qu = D.stringify;
3210
+ var No = D.serialize, qu = D.stringify;
3211
3211
  function Wu(e) {
3212
3212
  return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
3213
3213
  }
@@ -3233,18 +3233,18 @@ function Qu(e) {
3233
3233
  var Xu = (e, t = !1) => {
3234
3234
  const {
3235
3235
  json: r
3236
- } = Oo(e);
3236
+ } = No(e);
3237
3237
  return JSON.stringify(r, null, t ? 2 : void 0);
3238
- }, er = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, No = (e, t) => e.queryHash.localeCompare(t.queryHash), Qs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Co = (e, t) => er(e) === er(t) ? Qs(e, t) : er(e) > er(t) ? 1 : -1, Zu = {
3239
- status: Co,
3240
- "query hash": No,
3241
- "last updated": Qs
3242
- }, tr = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Xs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Po = (e, t) => tr(e) === tr(t) ? Xs(e, t) : tr(e) > tr(t) ? 1 : -1, ed = {
3238
+ }, er = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Co = (e, t) => e.queryHash.localeCompare(t.queryHash), Qs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Po = (e, t) => er(e) === er(t) ? Qs(e, t) : er(e) > er(t) ? 1 : -1, Zu = {
3243
3239
  status: Po,
3240
+ "query hash": Co,
3241
+ "last updated": Qs
3242
+ }, tr = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Xs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, xo = (e, t) => tr(e) === tr(t) ? Xs(e, t) : tr(e) > tr(t) ? 1 : -1, ed = {
3243
+ status: xo,
3244
3244
  "last updated": Xs
3245
3245
  }, td = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), rd = () => {
3246
3246
  const [e, t] = te("dark");
3247
- return fa(() => {
3247
+ return ha(() => {
3248
3248
  const r = window.matchMedia("(prefers-color-scheme: dark)");
3249
3249
  t(r.matches ? "dark" : "light");
3250
3250
  const n = (s) => {
@@ -3312,12 +3312,12 @@ var Xu = (e, t = !1) => {
3312
3312
  return r[n] = nr(r[n], s), r;
3313
3313
  }
3314
3314
  return e;
3315
- }, xo = (e, t) => {
3315
+ }, Do = (e, t) => {
3316
3316
  if (!e || document.querySelector("#_goober") || (t == null ? void 0 : t.querySelector("#_goober")))
3317
3317
  return;
3318
3318
  const n = document.createElement("style"), s = document.createTextNode("");
3319
3319
  n.appendChild(s), n.id = "_goober", n.setAttribute("nonce", e), t ? t.appendChild(n) : document.head.appendChild(n);
3320
- }, gt, Gt, jt, qt, qe, Wt, bt, wt, Et, St, vt, At, Jt, ms, Do = (ms = class {
3320
+ }, gt, Gt, jt, qt, qe, Wt, bt, wt, Et, St, vt, At, Jt, ms, Lo = (ms = class {
3321
3321
  constructor(e) {
3322
3322
  A(this, gt);
3323
3323
  A(this, Gt);
@@ -3364,10 +3364,10 @@ var Xu = (e, t = !1) => {
3364
3364
  mount(e) {
3365
3365
  if (f(this, qe))
3366
3366
  throw new Error("Devtools is already mounted");
3367
- const t = Ua(() => {
3367
+ const t = Ka(() => {
3368
3368
  const r = this, [n] = f(this, wt), [s] = f(this, Et), [i] = f(this, St), [a] = f(this, vt), [o] = f(this, gt);
3369
3369
  let c;
3370
- return f(this, At) ? c = f(this, At) : (c = ka(() => import("./J3FDRF32.KfcTr4qd.js")), w(this, At, c)), xo(f(this, Wt), f(this, bt)), va(c, Ta({
3370
+ return f(this, At) ? c = f(this, At) : (c = Ra(() => import("./J3FDRF32.D9_-kwf_.js")), w(this, At, c)), Do(f(this, Wt), f(this, bt)), Aa(c, Ia({
3371
3371
  get queryFlavor() {
3372
3372
  return f(r, jt);
3373
3373
  },
@@ -3407,8 +3407,8 @@ var Xu = (e, t = !1) => {
3407
3407
  (e = f(this, Jt)) == null || e.call(this), w(this, qe, !1);
3408
3408
  }
3409
3409
  }, gt = new WeakMap(), Gt = new WeakMap(), jt = new WeakMap(), qt = new WeakMap(), qe = new WeakMap(), Wt = new WeakMap(), bt = new WeakMap(), wt = new WeakMap(), Et = new WeakMap(), St = new WeakMap(), vt = new WeakMap(), At = new WeakMap(), Jt = new WeakMap(), ms);
3410
- function Lo(e) {
3411
- const t = aa(e.client), r = oe.useRef(null), {
3410
+ function Mo(e) {
3411
+ const t = oa(e.client), r = oe.useRef(null), {
3412
3412
  buttonPosition: n,
3413
3413
  position: s,
3414
3414
  initialIsOpen: i,
@@ -3416,7 +3416,7 @@ function Lo(e) {
3416
3416
  styleNonce: o,
3417
3417
  shadowDOMTarget: c
3418
3418
  } = e, [l] = oe.useState(
3419
- new Do({
3419
+ new Lo({
3420
3420
  client: t,
3421
3421
  queryFlavor: "React Query",
3422
3422
  version: "5",
@@ -3443,9 +3443,9 @@ function Lo(e) {
3443
3443
  l.unmount();
3444
3444
  }), [l]), /* @__PURE__ */ y("div", { dir: "ltr", className: "tsqd-parent-container", ref: r });
3445
3445
  }
3446
- var Mo = process.env.NODE_ENV !== "development" ? function() {
3446
+ var $o = process.env.NODE_ENV !== "development" ? function() {
3447
3447
  return null;
3448
- } : Lo, $o = Object.defineProperty, Uo = (e, t, r) => t in e ? $o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Br = (e, t, r) => Uo(e, typeof t != "symbol" ? t + "" : t, r);
3448
+ } : Mo, Uo = Object.defineProperty, Ko = (e, t, r) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Br = (e, t, r) => Ko(e, typeof t != "symbol" ? t + "" : t, r);
3449
3449
  /*!
3450
3450
  @versini/auth-provider v7.5.0
3451
3451
  © 2025 gizmette.com
@@ -3491,7 +3491,7 @@ let Y = class extends Error {
3491
3491
  super(t, { cause: n }), this.name = s ?? n.name, this.code = r;
3492
3492
  }
3493
3493
  };
3494
- function Ko({ error: e, options: t }) {
3494
+ function Ho({ error: e, options: t }) {
3495
3495
  var n, s;
3496
3496
  const { publicKey: r } = t;
3497
3497
  if (!r)
@@ -3569,7 +3569,7 @@ function Ko({ error: e, options: t }) {
3569
3569
  }
3570
3570
  return e;
3571
3571
  }
3572
- class Ho {
3572
+ class Fo {
3573
3573
  createNewAbortSignal() {
3574
3574
  if (this.controller) {
3575
3575
  const r = new Error("Cancelling existing WebAuthn API call for new one");
@@ -3585,12 +3585,12 @@ class Ho {
3585
3585
  }
3586
3586
  }
3587
3587
  }
3588
- const ti = new Ho(), Fo = ["cross-platform", "platform"];
3588
+ const ti = new Fo(), Vo = ["cross-platform", "platform"];
3589
3589
  function ri(e) {
3590
- if (e && !(Fo.indexOf(e) < 0))
3590
+ if (e && !(Vo.indexOf(e) < 0))
3591
3591
  return e;
3592
3592
  }
3593
- async function Vo(e) {
3593
+ async function Bo(e) {
3594
3594
  var u;
3595
3595
  if (!wn())
3596
3596
  throw new Error("WebAuthn is not supported in this browser");
@@ -3608,7 +3608,7 @@ async function Vo(e) {
3608
3608
  try {
3609
3609
  r = await navigator.credentials.create(t);
3610
3610
  } catch (h) {
3611
- throw Ko({ error: h, options: t });
3611
+ throw Ho({ error: h, options: t });
3612
3612
  }
3613
3613
  if (!r)
3614
3614
  throw new Error("Registration was not completed");
@@ -3657,13 +3657,13 @@ function Gr(e, t) {
3657
3657
  console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
3658
3658
  `, t);
3659
3659
  }
3660
- function Bo() {
3660
+ function Go() {
3661
3661
  if (!wn())
3662
3662
  return new Promise((t) => t(!1));
3663
3663
  const e = window.PublicKeyCredential;
3664
3664
  return e.isConditionalMediationAvailable === void 0 ? new Promise((t) => t(!1)) : e.isConditionalMediationAvailable();
3665
3665
  }
3666
- function Go({ error: e, options: t }) {
3666
+ function jo({ error: e, options: t }) {
3667
3667
  const { publicKey: r } = t;
3668
3668
  if (!r)
3669
3669
  throw Error("options was missing required publicKey property");
@@ -3704,7 +3704,7 @@ function Go({ error: e, options: t }) {
3704
3704
  }
3705
3705
  return e;
3706
3706
  }
3707
- async function jo(e, t = !1) {
3707
+ async function qo(e, t = !1) {
3708
3708
  var u, h;
3709
3709
  if (!wn())
3710
3710
  throw new Error("WebAuthn is not supported in this browser");
@@ -3716,7 +3716,7 @@ async function jo(e, t = !1) {
3716
3716
  allowCredentials: r
3717
3717
  }, s = {};
3718
3718
  if (t) {
3719
- if (!await Bo())
3719
+ if (!await Go())
3720
3720
  throw Error("Browser does not support WebAuthn autofill");
3721
3721
  if (document.querySelectorAll("input[autocomplete$='webauthn']").length < 1)
3722
3722
  throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
@@ -3727,7 +3727,7 @@ async function jo(e, t = !1) {
3727
3727
  try {
3728
3728
  i = await navigator.credentials.get(s);
3729
3729
  } catch (m) {
3730
- throw Go({ error: m, options: s });
3730
+ throw jo({ error: m, options: s });
3731
3731
  }
3732
3732
  if (!i)
3733
3733
  throw new Error("Authentication was not completed");
@@ -3782,7 +3782,7 @@ const ot = {
3782
3782
  SCOPES_KEY: "scopes",
3783
3783
  CLIENT_ID_KEY: "aud",
3784
3784
  ISSUER: "gizmette.com"
3785
- }, qo = `-----BEGIN PUBLIC KEY-----
3785
+ }, Wo = `-----BEGIN PUBLIC KEY-----
3786
3786
  MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
3787
3787
  w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
3788
3788
  i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
@@ -3796,14 +3796,14 @@ awIDAQAB
3796
3796
  LOGIN: "login",
3797
3797
  REFRESH: "refresh"
3798
3798
  }, Dr = crypto, si = (e) => e instanceof CryptoKey, sr = new TextEncoder(), Yt = new TextDecoder();
3799
- function Wo(...e) {
3799
+ function Jo(...e) {
3800
3800
  const t = e.reduce((s, { length: i }) => s + i, 0), r = new Uint8Array(t);
3801
3801
  let n = 0;
3802
3802
  for (const s of e)
3803
3803
  r.set(s, n), n += s.length;
3804
3804
  return r;
3805
3805
  }
3806
- const Jo = (e) => {
3806
+ const Yo = (e) => {
3807
3807
  const t = atob(e), r = new Uint8Array(t.length);
3808
3808
  for (let n = 0; n < t.length; n++)
3809
3809
  r[n] = t.charCodeAt(n);
@@ -3812,7 +3812,7 @@ const Jo = (e) => {
3812
3812
  let t = e;
3813
3813
  t instanceof Uint8Array && (t = Yt.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
3814
3814
  try {
3815
- return Jo(t);
3815
+ return Yo(t);
3816
3816
  } catch {
3817
3817
  throw new TypeError("The input to be decoded is not correctly encoded.");
3818
3818
  }
@@ -3848,18 +3848,18 @@ let de = class extends ne {
3848
3848
  }
3849
3849
  };
3850
3850
  de.code = "ERR_JOSE_NOT_SUPPORTED";
3851
- class Yo extends ne {
3851
+ class zo extends ne {
3852
3852
  constructor(t = "decryption operation failed", r) {
3853
3853
  super(t, r), this.code = "ERR_JWE_DECRYPTION_FAILED";
3854
3854
  }
3855
3855
  }
3856
- Yo.code = "ERR_JWE_DECRYPTION_FAILED";
3857
- class zo extends ne {
3856
+ zo.code = "ERR_JWE_DECRYPTION_FAILED";
3857
+ class Qo extends ne {
3858
3858
  constructor() {
3859
3859
  super(...arguments), this.code = "ERR_JWE_INVALID";
3860
3860
  }
3861
3861
  }
3862
- zo.code = "ERR_JWE_INVALID";
3862
+ Qo.code = "ERR_JWE_INVALID";
3863
3863
  let B = class extends ne {
3864
3864
  constructor() {
3865
3865
  super(...arguments), this.code = "ERR_JWS_INVALID";
@@ -3872,36 +3872,36 @@ let me = class extends ne {
3872
3872
  }
3873
3873
  };
3874
3874
  me.code = "ERR_JWT_INVALID";
3875
- class Qo extends ne {
3875
+ class Xo extends ne {
3876
3876
  constructor() {
3877
3877
  super(...arguments), this.code = "ERR_JWK_INVALID";
3878
3878
  }
3879
3879
  }
3880
- Qo.code = "ERR_JWK_INVALID";
3881
- class Xo extends ne {
3880
+ Xo.code = "ERR_JWK_INVALID";
3881
+ class Zo extends ne {
3882
3882
  constructor() {
3883
3883
  super(...arguments), this.code = "ERR_JWKS_INVALID";
3884
3884
  }
3885
3885
  }
3886
- Xo.code = "ERR_JWKS_INVALID";
3887
- class Zo extends ne {
3886
+ Zo.code = "ERR_JWKS_INVALID";
3887
+ class ec extends ne {
3888
3888
  constructor(t = "no applicable key found in the JSON Web Key Set", r) {
3889
3889
  super(t, r), this.code = "ERR_JWKS_NO_MATCHING_KEY";
3890
3890
  }
3891
3891
  }
3892
- Zo.code = "ERR_JWKS_NO_MATCHING_KEY";
3893
- class ec extends ne {
3892
+ ec.code = "ERR_JWKS_NO_MATCHING_KEY";
3893
+ class tc extends ne {
3894
3894
  constructor(t = "multiple matching keys found in the JSON Web Key Set", r) {
3895
3895
  super(t, r), this.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
3896
3896
  }
3897
3897
  }
3898
- ec.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
3899
- class tc extends ne {
3898
+ tc.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
3899
+ class rc extends ne {
3900
3900
  constructor(t = "request timed out", r) {
3901
3901
  super(t, r), this.code = "ERR_JWKS_TIMEOUT";
3902
3902
  }
3903
3903
  }
3904
- tc.code = "ERR_JWKS_TIMEOUT";
3904
+ rc.code = "ERR_JWKS_TIMEOUT";
3905
3905
  class ai extends ne {
3906
3906
  constructor(t = "signature verification failed", r) {
3907
3907
  super(t, r), this.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
@@ -3917,7 +3917,7 @@ function ir(e, t) {
3917
3917
  function jr(e) {
3918
3918
  return parseInt(e.name.slice(4), 10);
3919
3919
  }
3920
- function rc(e) {
3920
+ function nc(e) {
3921
3921
  switch (e) {
3922
3922
  case "ES256":
3923
3923
  return "P-256";
@@ -3929,7 +3929,7 @@ function rc(e) {
3929
3929
  throw new Error("unreachable");
3930
3930
  }
3931
3931
  }
3932
- function nc(e, t) {
3932
+ function sc(e, t) {
3933
3933
  if (t.length && !t.some((r) => e.usages.includes(r))) {
3934
3934
  let r = "CryptoKey does not support this operation, its usages must include ";
3935
3935
  if (t.length > 2) {
@@ -3939,7 +3939,7 @@ function nc(e, t) {
3939
3939
  throw new TypeError(r);
3940
3940
  }
3941
3941
  }
3942
- function sc(e, t, ...r) {
3942
+ function ic(e, t, ...r) {
3943
3943
  switch (t) {
3944
3944
  case "HS256":
3945
3945
  case "HS384":
@@ -3981,7 +3981,7 @@ function sc(e, t, ...r) {
3981
3981
  case "ES512": {
3982
3982
  if (!ir(e.algorithm, "ECDSA"))
3983
3983
  throw ve("ECDSA");
3984
- const n = rc(t);
3984
+ const n = nc(t);
3985
3985
  if (e.algorithm.namedCurve !== n)
3986
3986
  throw ve(n, "algorithm.namedCurve");
3987
3987
  break;
@@ -3989,7 +3989,7 @@ function sc(e, t, ...r) {
3989
3989
  default:
3990
3990
  throw new TypeError("CryptoKey does not support this operation");
3991
3991
  }
3992
- nc(e, r);
3992
+ sc(e, r);
3993
3993
  }
3994
3994
  function oi(e, t, ...r) {
3995
3995
  var n;
@@ -4003,7 +4003,7 @@ const Vn = (e, ...t) => oi("Key must be ", e, ...t);
4003
4003
  function ci(e, t, ...r) {
4004
4004
  return oi(`Key for the ${e} algorithm must be `, t, ...r);
4005
4005
  }
4006
- const li = (e) => si(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", Ar = ["CryptoKey"], ic = (...e) => {
4006
+ const li = (e) => si(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", Ar = ["CryptoKey"], ac = (...e) => {
4007
4007
  const t = e.filter(Boolean);
4008
4008
  if (t.length === 0 || t.length === 1)
4009
4009
  return !0;
@@ -4022,11 +4022,11 @@ const li = (e) => si(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) ===
4022
4022
  }
4023
4023
  return !0;
4024
4024
  };
4025
- function ac(e) {
4025
+ function oc(e) {
4026
4026
  return typeof e == "object" && e !== null;
4027
4027
  }
4028
4028
  function It(e) {
4029
- if (!ac(e) || Object.prototype.toString.call(e) !== "[object Object]")
4029
+ if (!oc(e) || Object.prototype.toString.call(e) !== "[object Object]")
4030
4030
  return !1;
4031
4031
  if (Object.getPrototypeOf(e) === null)
4032
4032
  return !0;
@@ -4035,7 +4035,7 @@ function It(e) {
4035
4035
  t = Object.getPrototypeOf(t);
4036
4036
  return Object.getPrototypeOf(e) === t;
4037
4037
  }
4038
- const oc = (e, t) => {
4038
+ const cc = (e, t) => {
4039
4039
  if (e.startsWith("RS") || e.startsWith("PS")) {
4040
4040
  const { modulusLength: r } = t.algorithm;
4041
4041
  if (typeof r != "number" || r < 2048)
@@ -4045,16 +4045,16 @@ const oc = (e, t) => {
4045
4045
  function _t(e) {
4046
4046
  return It(e) && typeof e.kty == "string";
4047
4047
  }
4048
- function cc(e) {
4048
+ function lc(e) {
4049
4049
  return e.kty !== "oct" && typeof e.d == "string";
4050
4050
  }
4051
- function lc(e) {
4051
+ function uc(e) {
4052
4052
  return e.kty !== "oct" && typeof e.d > "u";
4053
4053
  }
4054
- function uc(e) {
4054
+ function dc(e) {
4055
4055
  return _t(e) && e.kty === "oct" && typeof e.k == "string";
4056
4056
  }
4057
- function dc(e) {
4057
+ function fc(e) {
4058
4058
  let t, r;
4059
4059
  switch (e.kty) {
4060
4060
  case "RSA": {
@@ -4129,7 +4129,7 @@ function dc(e) {
4129
4129
  const ui = async (e) => {
4130
4130
  if (!e.alg)
4131
4131
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
4132
- const { algorithm: t, keyUsages: r } = dc(e), n = [
4132
+ const { algorithm: t, keyUsages: r } = fc(e), n = [
4133
4133
  t,
4134
4134
  e.ext ?? !1,
4135
4135
  e.key_ops ?? r
@@ -4143,19 +4143,19 @@ const fi = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
4143
4143
  return i[n];
4144
4144
  const a = await ui({ ...r, alg: n });
4145
4145
  return s && Object.freeze(t), i ? i[n] = a : e.set(t, { [n]: a }), a;
4146
- }, fc = (e, t) => {
4146
+ }, hc = (e, t) => {
4147
4147
  if (fi(e)) {
4148
4148
  let r = e.export({ format: "jwk" });
4149
4149
  return delete r.d, delete r.dp, delete r.dq, delete r.p, delete r.q, delete r.qi, r.k ? di(r.k) : (et || (et = /* @__PURE__ */ new WeakMap()), Tr(et, e, r, t));
4150
4150
  }
4151
4151
  return _t(e) ? e.k ? Ue(e.k) : (et || (et = /* @__PURE__ */ new WeakMap()), Tr(et, e, e, t, !0)) : e;
4152
- }, hc = (e, t) => {
4152
+ }, mc = (e, t) => {
4153
4153
  if (fi(e)) {
4154
4154
  let r = e.export({ format: "jwk" });
4155
4155
  return r.k ? di(r.k) : (Ze || (Ze = /* @__PURE__ */ new WeakMap()), Tr(Ze, e, r, t));
4156
4156
  }
4157
4157
  return _t(e) ? e.k ? Ue(e.k) : (Ze || (Ze = /* @__PURE__ */ new WeakMap()), Tr(Ze, e, e, t, !0)) : e;
4158
- }, mc = { normalizePublicKey: fc, normalizePrivateKey: hc }, Pe = (e, t, r = 0) => {
4158
+ }, yc = { normalizePublicKey: hc, normalizePrivateKey: mc }, Pe = (e, t, r = 0) => {
4159
4159
  r === 0 && (t.unshift(t.length), t.unshift(6));
4160
4160
  const n = e.indexOf(t[0], r);
4161
4161
  if (n === -1)
@@ -4181,7 +4181,7 @@ const fi = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
4181
4181
  default:
4182
4182
  throw new de("Invalid or unsupported EC Key Curve or OKP Key Sub Type");
4183
4183
  }
4184
- }, yc = async (e, t, r, n, s) => {
4184
+ }, pc = async (e, t, r, n, s) => {
4185
4185
  let i, a;
4186
4186
  const o = new Uint8Array(atob(r.replace(e, "")).split("").map((c) => c.charCodeAt(0)));
4187
4187
  switch (n) {
@@ -4228,13 +4228,13 @@ const fi = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
4228
4228
  throw new de('Invalid or unsupported "alg" (Algorithm) value');
4229
4229
  }
4230
4230
  return Dr.subtle.importKey(t, o, i, !1, a);
4231
- }, pc = (e, t, r) => yc(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
4232
- async function gc(e, t, r) {
4231
+ }, gc = (e, t, r) => pc(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
4232
+ async function bc(e, t, r) {
4233
4233
  if (e.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
4234
4234
  throw new TypeError('"spki" must be SPKI formatted string');
4235
- return pc(e, t);
4235
+ return gc(e, t);
4236
4236
  }
4237
- async function bc(e, t) {
4237
+ async function wc(e, t) {
4238
4238
  if (!It(e))
4239
4239
  throw new TypeError("JWK must be an object");
4240
4240
  switch (t || (t = e.alg), e.kty) {
@@ -4261,10 +4261,10 @@ const it = (e) => e == null ? void 0 : e[Symbol.toStringTag], mn = (e, t, r) =>
4261
4261
  if (t.alg !== void 0 && t.alg !== e)
4262
4262
  throw new TypeError(`Invalid key for this operation, when present its alg must be ${e}`);
4263
4263
  return !0;
4264
- }, wc = (e, t, r, n) => {
4264
+ }, Ec = (e, t, r, n) => {
4265
4265
  if (!(t instanceof Uint8Array)) {
4266
4266
  if (n && _t(t)) {
4267
- if (uc(t) && mn(e, t, r))
4267
+ if (dc(t) && mn(e, t, r))
4268
4268
  return;
4269
4269
  throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present');
4270
4270
  }
@@ -4273,15 +4273,15 @@ const it = (e) => e == null ? void 0 : e[Symbol.toStringTag], mn = (e, t, r) =>
4273
4273
  if (t.type !== "secret")
4274
4274
  throw new TypeError(`${it(t)} instances for symmetric algorithms must be of type "secret"`);
4275
4275
  }
4276
- }, Ec = (e, t, r, n) => {
4276
+ }, Sc = (e, t, r, n) => {
4277
4277
  if (n && _t(t))
4278
4278
  switch (r) {
4279
4279
  case "sign":
4280
- if (cc(t) && mn(e, t, r))
4280
+ if (lc(t) && mn(e, t, r))
4281
4281
  return;
4282
4282
  throw new TypeError("JSON Web Key for this operation be a private JWK");
4283
4283
  case "verify":
4284
- if (lc(t) && mn(e, t, r))
4284
+ if (uc(t) && mn(e, t, r))
4285
4285
  return;
4286
4286
  throw new TypeError("JSON Web Key for this operation be a public JWK");
4287
4287
  }
@@ -4299,11 +4299,11 @@ const it = (e) => e == null ? void 0 : e[Symbol.toStringTag], mn = (e, t, r) =>
4299
4299
  throw new TypeError(`${it(t)} instances for asymmetric algorithm encryption must be of type "public"`);
4300
4300
  };
4301
4301
  function hi(e, t, r, n) {
4302
- t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ? wc(t, r, n, e) : Ec(t, r, n, e);
4302
+ t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ? Ec(t, r, n, e) : Sc(t, r, n, e);
4303
4303
  }
4304
4304
  hi.bind(void 0, !1);
4305
4305
  const Gn = hi.bind(void 0, !0);
4306
- function Sc(e, t, r, n, s) {
4306
+ function vc(e, t, r, n, s) {
4307
4307
  if (s.crit !== void 0 && (n == null ? void 0 : n.crit) === void 0)
4308
4308
  throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
4309
4309
  if (!n || n.crit === void 0)
@@ -4322,13 +4322,13 @@ function Sc(e, t, r, n, s) {
4322
4322
  }
4323
4323
  return new Set(n.crit);
4324
4324
  }
4325
- const vc = (e, t) => {
4325
+ const Ac = (e, t) => {
4326
4326
  if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
4327
4327
  throw new TypeError(`"${e}" option must be an array of strings`);
4328
4328
  if (t)
4329
4329
  return new Set(t);
4330
4330
  };
4331
- function Ac(e, t) {
4331
+ function Tc(e, t) {
4332
4332
  const r = `SHA-${e.slice(-3)}`;
4333
4333
  switch (e) {
4334
4334
  case "HS256":
@@ -4353,9 +4353,9 @@ function Ac(e, t) {
4353
4353
  throw new de(`alg ${e} is not supported either by JOSE or your javascript runtime`);
4354
4354
  }
4355
4355
  }
4356
- async function Tc(e, t, r) {
4357
- if (t = await mc.normalizePublicKey(t, e), si(t))
4358
- return sc(t, e, r), t;
4356
+ async function Ic(e, t, r) {
4357
+ if (t = await yc.normalizePublicKey(t, e), si(t))
4358
+ return ic(t, e, r), t;
4359
4359
  if (t instanceof Uint8Array) {
4360
4360
  if (!e.startsWith("HS"))
4361
4361
  throw new TypeError(Vn(t, ...Ar));
@@ -4363,17 +4363,17 @@ async function Tc(e, t, r) {
4363
4363
  }
4364
4364
  throw new TypeError(Vn(t, ...Ar, "Uint8Array", "JSON Web Key"));
4365
4365
  }
4366
- const Ic = async (e, t, r, n) => {
4367
- const s = await Tc(e, t, "verify");
4368
- oc(e, s);
4369
- const i = Ac(e, s.algorithm);
4366
+ const kc = async (e, t, r, n) => {
4367
+ const s = await Ic(e, t, "verify");
4368
+ cc(e, s);
4369
+ const i = Tc(e, s.algorithm);
4370
4370
  try {
4371
4371
  return await Dr.subtle.verify(i, s, r, n);
4372
4372
  } catch {
4373
4373
  return !1;
4374
4374
  }
4375
4375
  };
4376
- async function kc(e, t, r) {
4376
+ async function Rc(e, t, r) {
4377
4377
  if (!It(e))
4378
4378
  throw new B("Flattened JWS must be an object");
4379
4379
  if (e.protected === void 0 && e.header === void 0)
@@ -4394,19 +4394,19 @@ async function kc(e, t, r) {
4394
4394
  } catch {
4395
4395
  throw new B("JWS Protected Header is invalid");
4396
4396
  }
4397
- if (!ic(n, e.header))
4397
+ if (!ac(n, e.header))
4398
4398
  throw new B("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
4399
4399
  const s = {
4400
4400
  ...n,
4401
4401
  ...e.header
4402
- }, i = Sc(B, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, n, s);
4402
+ }, i = vc(B, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, n, s);
4403
4403
  let a = !0;
4404
4404
  if (i.has("b64") && (a = n.b64, typeof a != "boolean"))
4405
4405
  throw new B('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
4406
4406
  const { alg: o } = s;
4407
4407
  if (typeof o != "string" || !o)
4408
4408
  throw new B('JWS "alg" (Algorithm) Header Parameter missing or invalid');
4409
- const c = vc("algorithms", r.algorithms);
4409
+ const c = Ac("algorithms", r.algorithms);
4410
4410
  if (c && !c.has(o))
4411
4411
  throw new ii('"alg" (Algorithm) Header Parameter value not allowed');
4412
4412
  if (a) {
@@ -4415,15 +4415,15 @@ async function kc(e, t, r) {
4415
4415
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
4416
4416
  throw new B("JWS Payload must be a string or an Uint8Array instance");
4417
4417
  let l = !1;
4418
- typeof t == "function" ? (t = await t(n, e), l = !0, Gn(o, t, "verify"), _t(t) && (t = await bc(t, o))) : Gn(o, t, "verify");
4419
- const d = Wo(sr.encode(e.protected ?? ""), sr.encode("."), typeof e.payload == "string" ? sr.encode(e.payload) : e.payload);
4418
+ typeof t == "function" ? (t = await t(n, e), l = !0, Gn(o, t, "verify"), _t(t) && (t = await wc(t, o))) : Gn(o, t, "verify");
4419
+ const d = Jo(sr.encode(e.protected ?? ""), sr.encode("."), typeof e.payload == "string" ? sr.encode(e.payload) : e.payload);
4420
4420
  let u;
4421
4421
  try {
4422
4422
  u = Ue(e.signature);
4423
4423
  } catch {
4424
4424
  throw new B("Failed to base64url decode the signature");
4425
4425
  }
4426
- if (!await Ic(o, t, u, d))
4426
+ if (!await kc(o, t, u, d))
4427
4427
  throw new ai();
4428
4428
  let h;
4429
4429
  if (a)
@@ -4436,17 +4436,17 @@ async function kc(e, t, r) {
4436
4436
  const m = { payload: h };
4437
4437
  return e.protected !== void 0 && (m.protectedHeader = n), e.header !== void 0 && (m.unprotectedHeader = e.header), l ? { ...m, key: t } : m;
4438
4438
  }
4439
- async function Rc(e, t, r) {
4439
+ async function _c(e, t, r) {
4440
4440
  if (e instanceof Uint8Array && (e = Yt.decode(e)), typeof e != "string")
4441
4441
  throw new B("Compact JWS must be a string or Uint8Array");
4442
4442
  const { 0: n, 1: s, 2: i, length: a } = e.split(".");
4443
4443
  if (a !== 3)
4444
4444
  throw new B("Invalid Compact JWS");
4445
- const o = await kc({ payload: s, protected: n, signature: i }, t, r), c = { payload: o.payload, protectedHeader: o.protectedHeader };
4445
+ const o = await Rc({ payload: s, protected: n, signature: i }, t, r), c = { payload: o.payload, protectedHeader: o.protectedHeader };
4446
4446
  return typeof t == "function" ? { ...c, key: o.key } : c;
4447
4447
  }
4448
- const _c = (e) => Math.floor(e.getTime() / 1e3), mi = 60, yi = mi * 60, En = yi * 24, Oc = En * 7, Nc = En * 365.25, Cc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, jn = (e) => {
4449
- const t = Cc.exec(e);
4448
+ const Oc = (e) => Math.floor(e.getTime() / 1e3), mi = 60, yi = mi * 60, En = yi * 24, Nc = En * 7, Cc = En * 365.25, Pc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, jn = (e) => {
4449
+ const t = Pc.exec(e);
4450
4450
  if (!t || t[4] && t[1])
4451
4451
  throw new TypeError("Invalid time period format");
4452
4452
  const r = parseFloat(t[2]), n = t[3].toLowerCase();
@@ -4481,14 +4481,14 @@ const _c = (e) => Math.floor(e.getTime() / 1e3), mi = 60, yi = mi * 60, En = yi
4481
4481
  case "week":
4482
4482
  case "weeks":
4483
4483
  case "w":
4484
- s = Math.round(r * Oc);
4484
+ s = Math.round(r * Nc);
4485
4485
  break;
4486
4486
  default:
4487
- s = Math.round(r * Nc);
4487
+ s = Math.round(r * Cc);
4488
4488
  break;
4489
4489
  }
4490
4490
  return t[1] === "-" || t[4] === "ago" ? -s : s;
4491
- }, qn = (e) => e.toLowerCase().replace(/^application\//, ""), Pc = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1, xc = (e, t, r = {}) => {
4491
+ }, qn = (e) => e.toLowerCase().replace(/^application\//, ""), xc = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1, Dc = (e, t, r = {}) => {
4492
4492
  let n;
4493
4493
  try {
4494
4494
  n = JSON.parse(Yt.decode(t));
@@ -4508,7 +4508,7 @@ const _c = (e) => Math.floor(e.getTime() / 1e3), mi = 60, yi = mi * 60, En = yi
4508
4508
  throw new ae('unexpected "iss" claim value', n, "iss", "check_failed");
4509
4509
  if (o && n.sub !== o)
4510
4510
  throw new ae('unexpected "sub" claim value', n, "sub", "check_failed");
4511
- if (c && !Pc(n.aud, typeof c == "string" ? [c] : c))
4511
+ if (c && !xc(n.aud, typeof c == "string" ? [c] : c))
4512
4512
  throw new ae('unexpected "aud" claim value', n, "aud", "check_failed");
4513
4513
  let u;
4514
4514
  switch (typeof r.clockTolerance) {
@@ -4524,7 +4524,7 @@ const _c = (e) => Math.floor(e.getTime() / 1e3), mi = 60, yi = mi * 60, En = yi
4524
4524
  default:
4525
4525
  throw new TypeError("Invalid clockTolerance option type");
4526
4526
  }
4527
- const { currentDate: h } = r, m = _c(h || /* @__PURE__ */ new Date());
4527
+ const { currentDate: h } = r, m = Oc(h || /* @__PURE__ */ new Date());
4528
4528
  if ((n.iat !== void 0 || l) && typeof n.iat != "number")
4529
4529
  throw new ae('"iat" claim must be a number', n, "iat", "invalid");
4530
4530
  if (n.nbf !== void 0) {
@@ -4548,16 +4548,16 @@ const _c = (e) => Math.floor(e.getTime() / 1e3), mi = 60, yi = mi * 60, En = yi
4548
4548
  }
4549
4549
  return n;
4550
4550
  };
4551
- async function Dc(e, t, r) {
4551
+ async function Lc(e, t, r) {
4552
4552
  var n;
4553
- const s = await Rc(e, t, r);
4553
+ const s = await _c(e, t, r);
4554
4554
  if ((n = s.protectedHeader.crit) != null && n.includes("b64") && s.protectedHeader.b64 === !1)
4555
4555
  throw new me("JWTs MUST NOT use unencoded payload");
4556
- const i = { payload: xc(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
4556
+ const i = { payload: Dc(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
4557
4557
  return typeof t == "function" ? { ...i, key: s.key } : i;
4558
4558
  }
4559
- const Lc = Ue;
4560
- function Mc(e) {
4559
+ const Mc = Ue;
4560
+ function $c(e) {
4561
4561
  if (typeof e != "string")
4562
4562
  throw new me("JWTs must use Compact JWS serialization, JWT must be a string");
4563
4563
  const { 1: t, length: r } = e.split(".");
@@ -4569,7 +4569,7 @@ function Mc(e) {
4569
4569
  throw new me("JWTs must contain a payload");
4570
4570
  let n;
4571
4571
  try {
4572
- n = Lc(t);
4572
+ n = Mc(t);
4573
4573
  } catch {
4574
4574
  throw new me("Failed to base64url decode the payload");
4575
4575
  }
@@ -4585,56 +4585,56 @@ function Mc(e) {
4585
4585
  }
4586
4586
  const kt = async (e) => {
4587
4587
  try {
4588
- const t = V.ALG, r = await gc(qo, t);
4589
- return await Dc(e, r, {
4588
+ const t = V.ALG, r = await bc(Wo, t);
4589
+ return await Lc(e, r, {
4590
4590
  issuer: V.ISSUER
4591
4591
  });
4592
4592
  } catch {
4593
4593
  return;
4594
4594
  }
4595
- }, $c = (e) => {
4595
+ }, Uc = (e) => {
4596
4596
  try {
4597
- return Mc(e);
4597
+ return $c(e);
4598
4598
  } catch {
4599
4599
  return;
4600
4600
  }
4601
4601
  }, G = [];
4602
4602
  for (let e = 0; e < 256; ++e)
4603
4603
  G.push((e + 256).toString(16).slice(1));
4604
- function Uc(e, t = 0) {
4604
+ function Kc(e, t = 0) {
4605
4605
  return (G[e[t + 0]] + G[e[t + 1]] + G[e[t + 2]] + G[e[t + 3]] + "-" + G[e[t + 4]] + G[e[t + 5]] + "-" + G[e[t + 6]] + G[e[t + 7]] + "-" + G[e[t + 8]] + G[e[t + 9]] + "-" + G[e[t + 10]] + G[e[t + 11]] + G[e[t + 12]] + G[e[t + 13]] + G[e[t + 14]] + G[e[t + 15]]).toLowerCase();
4606
4606
  }
4607
4607
  let qr;
4608
- const Kc = new Uint8Array(16);
4609
- function Hc() {
4608
+ const Hc = new Uint8Array(16);
4609
+ function Fc() {
4610
4610
  if (!qr) {
4611
4611
  if (typeof crypto > "u" || !crypto.getRandomValues)
4612
4612
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4613
4613
  qr = crypto.getRandomValues.bind(crypto);
4614
4614
  }
4615
- return qr(Kc);
4615
+ return qr(Hc);
4616
4616
  }
4617
- const Fc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Wn = { randomUUID: Fc };
4617
+ const Vc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Wn = { randomUUID: Vc };
4618
4618
  function Jn(e, t, r) {
4619
4619
  if (Wn.randomUUID && !e)
4620
4620
  return Wn.randomUUID();
4621
4621
  e = e || {};
4622
- const n = e.random || (e.rng || Hc)();
4623
- return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Uc(n);
4622
+ const n = e.random || (e.rng || Fc)();
4623
+ return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Kc(n);
4624
4624
  }
4625
- const Yn = globalThis.crypto, Vc = (e) => `${Jn()}${Jn()}`.slice(0, e), Bc = (e) => btoa(
4625
+ const Yn = globalThis.crypto, Bc = (e) => `${Jn()}${Jn()}`.slice(0, e), Gc = (e) => btoa(
4626
4626
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
4627
4627
  );
4628
- async function Gc(e) {
4628
+ async function jc(e) {
4629
4629
  if (!Yn.subtle)
4630
4630
  throw new Error(
4631
4631
  "crypto.subtle is available only in secure contexts (HTTPS)."
4632
4632
  );
4633
4633
  const t = new TextEncoder().encode(e), r = await Yn.subtle.digest("SHA-256", t);
4634
- return Bc(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4634
+ return Gc(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4635
4635
  }
4636
- async function jc(e) {
4637
- const t = Vc(43), r = await Gc(t);
4636
+ async function qc(e) {
4637
+ const t = Bc(43), r = await jc(t);
4638
4638
  return {
4639
4639
  code_verifier: t,
4640
4640
  code_challenge: r
@@ -4658,18 +4658,18 @@ const zn = (e, t) => {
4658
4658
  typeof t == "function" ? t() : t
4659
4659
  );
4660
4660
  window.localStorage.setItem(e, r), pi(e, r);
4661
- }, qc = (e) => {
4661
+ }, Wc = (e) => {
4662
4662
  window.localStorage.removeItem(e), pi(e, null);
4663
- }, Qn = (e) => window.localStorage.getItem(e), Wc = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
4663
+ }, Qn = (e) => window.localStorage.getItem(e), Jc = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
4664
4664
  function ar({
4665
4665
  key: e,
4666
4666
  initialValue: t
4667
4667
  }) {
4668
- const r = Li(Wc, () => Qn(e)), n = ke(
4668
+ const r = Mi(Jc, () => Qn(e)), n = ke(
4669
4669
  (a) => {
4670
4670
  try {
4671
4671
  const o = typeof a == "function" ? a(JSON.parse(r)) : a;
4672
- o == null ? qc(e) : zn(e, o);
4672
+ o == null ? Wc(e) : zn(e, o);
4673
4673
  } catch (o) {
4674
4674
  console.warn(o);
4675
4675
  }
@@ -4691,28 +4691,28 @@ function ar({
4691
4691
  const j = [];
4692
4692
  for (let e = 0; e < 256; ++e)
4693
4693
  j.push((e + 256).toString(16).slice(1));
4694
- function Jc(e, t = 0) {
4694
+ function Yc(e, t = 0) {
4695
4695
  return (j[e[t + 0]] + j[e[t + 1]] + j[e[t + 2]] + j[e[t + 3]] + "-" + j[e[t + 4]] + j[e[t + 5]] + "-" + j[e[t + 6]] + j[e[t + 7]] + "-" + j[e[t + 8]] + j[e[t + 9]] + "-" + j[e[t + 10]] + j[e[t + 11]] + j[e[t + 12]] + j[e[t + 13]] + j[e[t + 14]] + j[e[t + 15]]).toLowerCase();
4696
4696
  }
4697
4697
  let Wr;
4698
- const Yc = new Uint8Array(16);
4699
- function zc() {
4698
+ const zc = new Uint8Array(16);
4699
+ function Qc() {
4700
4700
  if (!Wr) {
4701
4701
  if (typeof crypto > "u" || !crypto.getRandomValues)
4702
4702
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4703
4703
  Wr = crypto.getRandomValues.bind(crypto);
4704
4704
  }
4705
- return Wr(Yc);
4705
+ return Wr(zc);
4706
4706
  }
4707
- const Qc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Xn = { randomUUID: Qc };
4707
+ const Xc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Xn = { randomUUID: Xc };
4708
4708
  function Jr(e, t, r) {
4709
4709
  if (Xn.randomUUID && !e)
4710
4710
  return Xn.randomUUID();
4711
4711
  e = e || {};
4712
- const n = e.random || (e.rng || zc)();
4713
- return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Jc(n);
4712
+ const n = e.random || (e.rng || Qc)();
4713
+ return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Yc(n);
4714
4714
  }
4715
- const tt = "Your session has expired. For your security, please log in again to continue.", Xc = "Your session has been successfully terminated.", Yr = "Login failed. Please try again.", Zc = "Error getting access token, please re-authenticate.", el = "You forgot to wrap your component in <AuthProvider>.", or = "@@auth@@", Nt = "LOADING", dr = "LOGIN", gi = "LOGOUT", zt = "success", Se = "failure", bi = "include", wi = "POST", Ei = "application/json", cr = {
4715
+ const tt = "Your session has expired. For your security, please log in again to continue.", Zc = "Your session has been successfully terminated.", Yr = "Login failed. Please try again.", el = "Error getting access token, please re-authenticate.", tl = "You forgot to wrap your component in <AuthProvider>.", or = "@@auth@@", Nt = "LOADING", dr = "LOGIN", gi = "LOGOUT", zt = "success", Se = "failure", bi = "include", wi = "POST", Ei = "application/json", cr = {
4716
4716
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
4717
4717
  $clientId: String!,
4718
4718
  $username: String!,
@@ -4867,21 +4867,21 @@ const tt = "Your session has expired. For your security, please log in again to
4867
4867
  } catch (s) {
4868
4868
  return console.error(s), { status: Se, data: [] };
4869
4869
  }
4870
- }, tl = process.env.NODE_ENV === "production", rl = !tl, Si = {
4870
+ }, rl = process.env.NODE_ENV === "production", nl = !rl, Si = {
4871
4871
  isLoading: !0,
4872
4872
  isAuthenticated: !1,
4873
4873
  user: void 0,
4874
4874
  logoutReason: "",
4875
4875
  debug: !1,
4876
4876
  authenticationType: ""
4877
- }, nl = (e) => {
4877
+ }, sl = (e) => {
4878
4878
  try {
4879
- const t = $c(e);
4879
+ const t = Uc(e);
4880
4880
  return t ? t[V.USER_ID_KEY] : "";
4881
4881
  } catch {
4882
4882
  return "";
4883
4883
  }
4884
- }, sl = async ({
4884
+ }, il = async ({
4885
4885
  userId: e,
4886
4886
  clientId: t,
4887
4887
  domain: r,
@@ -4907,7 +4907,7 @@ const tt = "Your session has expired. For your security, please log in again to
4907
4907
  status: Se
4908
4908
  };
4909
4909
  }
4910
- }, il = async ({
4910
+ }, al = async ({
4911
4911
  username: e,
4912
4912
  password: t,
4913
4913
  clientId: r,
@@ -4953,7 +4953,7 @@ const tt = "Your session has expired. For your security, please log in again to
4953
4953
  status: !1
4954
4954
  };
4955
4955
  }
4956
- }, al = async ({
4956
+ }, ol = async ({
4957
4957
  nonce: e,
4958
4958
  clientId: t,
4959
4959
  code_challenge: r,
@@ -4984,7 +4984,7 @@ const tt = "Your session has expired. For your security, please log in again to
4984
4984
  data: ""
4985
4985
  };
4986
4986
  }
4987
- }, ol = async ({
4987
+ }, cl = async ({
4988
4988
  clientId: e,
4989
4989
  userId: t,
4990
4990
  nonce: r,
@@ -5022,7 +5022,7 @@ const tt = "Your session has expired. For your security, please log in again to
5022
5022
  };
5023
5023
  }
5024
5024
  };
5025
- class cl {
5025
+ class ll {
5026
5026
  constructor(t = null, r = null) {
5027
5027
  Br(this, "refreshTokenPromise", null), Br(this, "accessToken"), Br(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
5028
5028
  }
@@ -5055,7 +5055,7 @@ class cl {
5055
5055
  }) {
5056
5056
  const a = await kt(this.refreshToken);
5057
5057
  if (a && a.payload[V.USER_ID_KEY] !== "") {
5058
- const o = await ol({
5058
+ const o = await cl({
5059
5059
  endpoint: t,
5060
5060
  clientId: r,
5061
5061
  userId: n,
@@ -5077,14 +5077,14 @@ class cl {
5077
5077
  };
5078
5078
  }
5079
5079
  }
5080
- const ll = (e) => ke(
5080
+ const ul = (e) => ke(
5081
5081
  (...t) => {
5082
5082
  e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
5083
5083
  },
5084
5084
  [e]
5085
5085
  ), st = () => {
5086
- throw new Error(el);
5087
- }, vi = Di({
5086
+ throw new Error(tl);
5087
+ }, vi = Li({
5088
5088
  isAuthenticated: !1,
5089
5089
  isLoading: !1,
5090
5090
  login: st,
@@ -5095,11 +5095,11 @@ const ll = (e) => ke(
5095
5095
  loginWithPasskey: st,
5096
5096
  logoutReason: "",
5097
5097
  authenticationType: ""
5098
- }), ul = _e.createContext({
5098
+ }), dl = _e.createContext({
5099
5099
  state: Si,
5100
5100
  dispatch: () => {
5101
5101
  }
5102
- }), dl = (e, t) => (t == null ? void 0 : t.type) === Nt ? {
5102
+ }), fl = (e, t) => (t == null ? void 0 : t.type) === Nt ? {
5103
5103
  ...e,
5104
5104
  isLoading: t.payload.isLoading
5105
5105
  } : (t == null ? void 0 : t.type) === dr ? {
@@ -5122,12 +5122,12 @@ const ll = (e) => ke(
5122
5122
  clientId: r,
5123
5123
  domain: n = "",
5124
5124
  debug: s = !1,
5125
- endpoint: i = rl ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
5125
+ endpoint: i = nl ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
5126
5126
  }) => {
5127
- const [a, o] = ys(dl, {
5127
+ const [a, o] = ys(fl, {
5128
5128
  ...Si,
5129
5129
  debug: s
5130
- }), c = ll(s), l = z(!1), [d, u, , h] = ar({
5130
+ }), c = ul(s), l = z(!1), [d, u, , h] = ar({
5131
5131
  key: `${or}::${r}::@@user@@`
5132
5132
  }), [m, p, , g] = ar({
5133
5133
  key: `${or}::${r}::@@access@@`
@@ -5137,7 +5137,7 @@ const ll = (e) => ke(
5137
5137
  }
5138
5138
  ), [v, N, , R] = ar({
5139
5139
  key: `${or}::${r}::@@nonce@@`
5140
- }), U = new cl(m, E), F = ke(() => {
5140
+ }), U = new ll(m, E), F = ke(() => {
5141
5141
  c("removeLocalStorage: removing local storage"), h(), g(), C(), R();
5142
5142
  }, [
5143
5143
  g,
@@ -5161,10 +5161,10 @@ const ll = (e) => ke(
5161
5161
  ), T = ke(
5162
5162
  async (S) => {
5163
5163
  c("invalidateAndLogout: invalidating and logging out");
5164
- const { user: $ } = a, L = ($ == null ? void 0 : $.userId) || nl(d);
5164
+ const { user: $ } = a, L = ($ == null ? void 0 : $.userId) || sl(d);
5165
5165
  L || c(
5166
5166
  "invalidateAndLogout: user cannot be identified, logging out without userId"
5167
- ), await sl({
5167
+ ), await il({
5168
5168
  userId: L,
5169
5169
  clientId: r,
5170
5170
  domain: n,
@@ -5211,14 +5211,14 @@ const ll = (e) => ke(
5211
5211
  o({ type: Nt, payload: { isLoading: !0 } }), F();
5212
5212
  const L = Jr();
5213
5213
  N(L), c("login: Logging in with password");
5214
- const { code_verifier: ze, code_challenge: xi } = await jc(), Tn = await al({
5214
+ const { code_verifier: ze, code_challenge: Di } = await qc(), Tn = await ol({
5215
5215
  endpoint: i,
5216
5216
  nonce: L,
5217
5217
  clientId: r,
5218
- code_challenge: xi
5218
+ code_challenge: Di
5219
5219
  });
5220
5220
  if (Tn.status) {
5221
- const Qe = await il({
5221
+ const Qe = await al({
5222
5222
  endpoint: i,
5223
5223
  username: S,
5224
5224
  password: $,
@@ -5245,7 +5245,7 @@ const ll = (e) => ke(
5245
5245
  }
5246
5246
  return !1;
5247
5247
  }, k = async (S) => {
5248
- S == null || S.preventDefault(), await T(Xc);
5248
+ S == null || S.preventDefault(), await T(Zc);
5249
5249
  }, K = async () => {
5250
5250
  const { isAuthenticated: S, user: $ } = a;
5251
5251
  try {
@@ -5274,7 +5274,7 @@ const ll = (e) => ke(
5274
5274
  } catch {
5275
5275
  return c(
5276
5276
  "getAccessToken: exception occurred, invalidating and logging out"
5277
- ), await T(Zc), "";
5277
+ ), await T(el), "";
5278
5278
  }
5279
5279
  }, X = () => a.isAuthenticated && d ? d : "", fe = async () => {
5280
5280
  const { user: S } = a;
@@ -5291,7 +5291,7 @@ const ll = (e) => ke(
5291
5291
  });
5292
5292
  if ($.status)
5293
5293
  try {
5294
- const L = await Vo($.data);
5294
+ const L = await Bo($.data);
5295
5295
  return $ = await nt({
5296
5296
  endpoint: i,
5297
5297
  accessToken: m,
@@ -5336,7 +5336,7 @@ const ll = (e) => ke(
5336
5336
  });
5337
5337
  if (L.status)
5338
5338
  try {
5339
- const ze = await jo(L.data);
5339
+ const ze = await qo(L.data);
5340
5340
  return L = await nt({
5341
5341
  endpoint: i,
5342
5342
  accessToken: m,
@@ -5380,7 +5380,7 @@ const ll = (e) => ke(
5380
5380
  }
5381
5381
  return !1;
5382
5382
  };
5383
- return /* @__PURE__ */ y(ul.Provider, { value: { state: a, dispatch: o }, children: /* @__PURE__ */ y(
5383
+ return /* @__PURE__ */ y(dl.Provider, { value: { state: a, dispatch: o }, children: /* @__PURE__ */ y(
5384
5384
  vi.Provider,
5385
5385
  {
5386
5386
  value: {
@@ -5400,7 +5400,7 @@ const ll = (e) => ke(
5400
5400
  PLAN_PLUS: "sassy:plus",
5401
5401
  PLAN_ADVANCED: "sassy:advanced",
5402
5402
  REASONING: "sassy:advanced:reasoning"
5403
- }, fl = process.env.NODE_ENV === "production", Ti = !fl, hl = Ti ? "gizmette.local.com" : "gizmette.com", Md = async () => {
5403
+ }, hl = process.env.NODE_ENV === "production", Ti = !hl, ml = Ti ? "gizmette.local.com" : "gizmette.com", Md = async () => {
5404
5404
  const e = {
5405
5405
  /**
5406
5406
  * A boolean value that indicates the application would
@@ -5463,7 +5463,7 @@ const ll = (e) => ke(
5463
5463
  ), Kd = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ y("dl", { className: "my-0", children: /* @__PURE__ */ re("div", { className: "flex items-center justify-between", children: [
5464
5464
  /* @__PURE__ */ y("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
5465
5465
  /* @__PURE__ */ y("dd", { className: "my-1 inline-block", children: t[r] })
5466
- ] }) }, `${e}-${r}`)) : null, ml = ({
5466
+ ] }) }, `${e}-${r}`)) : null, yl = ({
5467
5467
  isAuthenticated: e,
5468
5468
  extraClass: t
5469
5469
  }) => b(
@@ -5472,15 +5472,15 @@ const ll = (e) => ke(
5472
5472
  "flex-1 overflow-y-auto",
5473
5473
  e ? "pt-0" : "pt-10",
5474
5474
  t
5475
- ), yl = ({
5475
+ ), pl = ({
5476
5476
  extraClass: e
5477
5477
  } = {}) => b("px-2 sm:px-0", e), Hd = (e, t) => t === 1 ? e : `${e}s`, Fd = (e, t) => {
5478
5478
  let r;
5479
5479
  return (...n) => {
5480
5480
  window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
5481
5481
  };
5482
- }, pl = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), gl = () => window.innerWidth < 403, Vd = () => {
5483
- const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = gl(), n = navigator.maxTouchPoints > 1;
5482
+ }, gl = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), Ii = () => window.innerWidth < 403, Vd = () => {
5483
+ const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = Ii(), n = navigator.maxTouchPoints > 1;
5484
5484
  return e && t && r && n;
5485
5485
  }, Bd = (e) => {
5486
5486
  const t = e.replace(/([A-Z])/g, " $1");
@@ -5761,7 +5761,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
5761
5761
  animated: e
5762
5762
  }) => b({
5763
5763
  "transition-opacity duration-300 ease-in": e
5764
- }), Ii = ({
5764
+ }), ki = ({
5765
5765
  type: e,
5766
5766
  className: t,
5767
5767
  raw: r,
@@ -5827,7 +5827,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
5827
5827
  );
5828
5828
  });
5829
5829
  vn.displayName = "BaseButton";
5830
- const ki = _e.forwardRef(
5830
+ const Ri = _e.forwardRef(
5831
5831
  ({
5832
5832
  children: e,
5833
5833
  disabled: t = !1,
@@ -5843,7 +5843,7 @@ const ki = _e.forwardRef(
5843
5843
  radius: u = "large",
5844
5844
  ...h
5845
5845
  }, m) => {
5846
- const p = Ii({
5846
+ const p = ki({
5847
5847
  type: Sn,
5848
5848
  mode: r,
5849
5849
  focusMode: n,
@@ -5869,7 +5869,7 @@ const ki = _e.forwardRef(
5869
5869
  );
5870
5870
  }
5871
5871
  );
5872
- ki.displayName = "Button";
5872
+ Ri.displayName = "Button";
5873
5873
  function Nl() {
5874
5874
  const e = z(!1);
5875
5875
  return we(() => (e.current = !0, () => {
@@ -5943,7 +5943,7 @@ const xl = {
5943
5943
  animated: v = !1,
5944
5944
  ...N
5945
5945
  }, R) => {
5946
- const U = Ii({
5946
+ const U = ki({
5947
5947
  type: Mr,
5948
5948
  mode: r,
5949
5949
  focusMode: n,
@@ -6529,7 +6529,7 @@ try {
6529
6529
  });
6530
6530
  } catch {
6531
6531
  }
6532
- const Ri = "av-text-input", zl = "av-text-input-wrapper", Xr = "av-text-input-helper-text";
6532
+ const _i = "av-text-input", zl = "av-text-input-wrapper", Xr = "av-text-input-helper-text";
6533
6533
  function Ql() {
6534
6534
  const e = z(!1);
6535
6535
  return we(() => (e.current = !0, () => {
@@ -6568,7 +6568,7 @@ function eu(e) {
6568
6568
  return typeof r == "number" || typeof r == "string" ? `${n}${r}` : `${n}${t}`;
6569
6569
  }
6570
6570
  }
6571
- const _i = "SET_ANNOUNCEMENT", Oi = "CLEAR_ANNOUNCEMENT", tu = {
6571
+ const Oi = "SET_ANNOUNCEMENT", Ni = "CLEAR_ANNOUNCEMENT", tu = {
6572
6572
  alert: null,
6573
6573
  alertdialog: null,
6574
6574
  log: "polite",
@@ -6578,12 +6578,12 @@ const _i = "SET_ANNOUNCEMENT", Oi = "CLEAR_ANNOUNCEMENT", tu = {
6578
6578
  timer: "assertive"
6579
6579
  }, ru = (e, t) => {
6580
6580
  switch (t == null ? void 0 : t.type) {
6581
- case _i:
6581
+ case Oi:
6582
6582
  return {
6583
6583
  ...e,
6584
6584
  announcement: t.payload
6585
6585
  };
6586
- case Oi:
6586
+ case Ni:
6587
6587
  return {
6588
6588
  ...e,
6589
6589
  announcement: null
@@ -6596,7 +6596,7 @@ const _i = "SET_ANNOUNCEMENT", Oi = "CLEAR_ANNOUNCEMENT", tu = {
6596
6596
  dispatch: t
6597
6597
  }) => {
6598
6598
  t({
6599
- type: Oi
6599
+ type: Ni
6600
6600
  }), typeof e == "function" && e();
6601
6601
  }, ns = ({
6602
6602
  children: e,
@@ -6606,7 +6606,7 @@ const _i = "SET_ANNOUNCEMENT", Oi = "CLEAR_ANNOUNCEMENT", tu = {
6606
6606
  dispatch: s
6607
6607
  }) => {
6608
6608
  clearTimeout(r.current), e !== null && s({
6609
- type: _i,
6609
+ type: Oi,
6610
6610
  payload: e
6611
6611
  }), t && (r.current = setTimeout(
6612
6612
  () => nu({
@@ -6638,7 +6638,7 @@ const _i = "SET_ANNOUNCEMENT", Oi = "CLEAR_ANNOUNCEMENT", tu = {
6638
6638
  dispatch: a
6639
6639
  });
6640
6640
  };
6641
- function Ni({
6641
+ function Ci({
6642
6642
  children: e,
6643
6643
  className: t,
6644
6644
  politeness: r,
@@ -6805,7 +6805,7 @@ const iu = ({
6805
6805
  break;
6806
6806
  }
6807
6807
  const h = r ? b(t) : b(
6808
- Ri,
6808
+ _i,
6809
6809
  u,
6810
6810
  "rounded-md text-base px-4",
6811
6811
  iu({ mode: a }),
@@ -6856,7 +6856,7 @@ const iu = ({
6856
6856
  size: O = "md",
6857
6857
  ...C
6858
6858
  }, v) => {
6859
- const [N, R] = Zl(), [U, F] = Ie(0), _ = eu({ id: e, prefix: `${Ri}-` }), T = `${t} error, ${p}`, P = z(null), k = z(null), K = {
6859
+ const [N, R] = Zl(), [U, F] = Ie(0), _ = eu({ id: e, prefix: `${_i}-` }), T = `${t} error, ${p}`, P = z(null), k = z(null), K = {
6860
6860
  xs: { label: "-25px", helperText: "30px" },
6861
6861
  sm: { label: "-29px", helperText: "34px" },
6862
6862
  md: { label: "-33px", helperText: "38px" },
@@ -6936,7 +6936,7 @@ const iu = ({
6936
6936
  children: g
6937
6937
  }
6938
6938
  ),
6939
- n && p && /* @__PURE__ */ y(Ni, { politeness: "polite", clearAnnouncementDelay: 500, children: T })
6939
+ n && p && /* @__PURE__ */ y(Ci, { politeness: "polite", clearAnnouncementDelay: 500, children: T })
6940
6940
  ] });
6941
6941
  }
6942
6942
  );
@@ -6949,7 +6949,7 @@ function du(e) {
6949
6949
  });
6950
6950
  }, e);
6951
6951
  }
6952
- const fu = 500, hu = 5e3, mu = 2e4, Ci = _e.forwardRef(
6952
+ const fu = 500, hu = 5e3, mu = 2e4, Pi = _e.forwardRef(
6953
6953
  ({
6954
6954
  name: e,
6955
6955
  disabled: t,
@@ -7019,7 +7019,7 @@ const fu = 500, hu = 5e3, mu = 2e4, Ci = _e.forwardRef(
7019
7019
  }
7020
7020
  ),
7021
7021
  /* @__PURE__ */ y(
7022
- Ni,
7022
+ Ci,
7023
7023
  {
7024
7024
  role: "status",
7025
7025
  politeness: p.politeness,
@@ -7030,7 +7030,7 @@ const fu = 500, hu = 5e3, mu = 2e4, Ci = _e.forwardRef(
7030
7030
  ] });
7031
7031
  }
7032
7032
  );
7033
- Ci.displayName = "TextInputMask";
7033
+ Pi.displayName = "TextInputMask";
7034
7034
  /*!
7035
7035
  @versini/ui-textinput v4.0.0
7036
7036
  © 2025 gizmette.com
@@ -7044,7 +7044,7 @@ try {
7044
7044
  });
7045
7045
  } catch {
7046
7046
  }
7047
- const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in with a Passkey", qd = "Log out", bu = "Password", Wd = "Usage", Jd = "Profile", Yd = "Settings", zd = "Chat history", Qd = "About", Xd = "Type your question here", Zd = "{{clipboard}}", ef = `Sometimes, ${Pi} hallucinates. Review important details.`, tf = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", rf = "Default provider set to", nf = "Chat successfully deleted!", sf = "Chat successfully saved!", af = "av-sassy", of = {
7047
+ const yu = "ASK! ME! ANYTHING!", xi = "Callisto", pu = "Log in", gu = "Sign in with a Passkey", qd = "Log out", bu = "Password", Wd = "Usage", Jd = "Profile", Yd = "Settings", zd = "Chat history", Qd = "About", Xd = "Type your question here", Zd = "{{clipboard}}", ef = `Sometimes, ${xi} hallucinates. Review important details.`, tf = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", rf = "Default provider set to", nf = "Chat successfully deleted!", sf = "Chat successfully saved!", af = "av-sassy", of = {
7048
7048
  PREFERENCES: {
7049
7049
  TITLE: "User profile",
7050
7050
  NAME: "Name",
@@ -7086,13 +7086,24 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7086
7086
  TITLE: "Chat Details",
7087
7087
  INSTRUCTION: "This option adds individual statistics for each messages under their respective bubbles, such as model name, and more."
7088
7088
  }
7089
- }, wu = () => /* @__PURE__ */ re("div", { className: "flex items-center justify-center text-slate-300", children: [
7090
- /* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(Fl, {}) }),
7091
- /* @__PURE__ */ re("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
7092
- /* @__PURE__ */ y("h1", { children: Pi }),
7093
- /* @__PURE__ */ y("h2", { children: yu })
7094
- ] })
7095
- ] }), Eu = () => {
7089
+ }, wu = () => /* @__PURE__ */ re(
7090
+ "div",
7091
+ {
7092
+ className: b(
7093
+ {
7094
+ "mt-4": Ii()
7095
+ },
7096
+ "flex items-center justify-center text-slate-300"
7097
+ ),
7098
+ children: [
7099
+ /* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(Fl, {}) }),
7100
+ /* @__PURE__ */ re("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
7101
+ /* @__PURE__ */ y("h1", { children: xi }),
7102
+ /* @__PURE__ */ y("h2", { children: yu })
7103
+ ] })
7104
+ ]
7105
+ }
7106
+ ), Eu = () => {
7096
7107
  const { login: e, logoutReason: t, loginWithPasskey: r } = Ai(), [n, s] = Ie(""), [i, a] = Ie(""), [o, c] = Ie(!0), [l, d] = Ie({
7097
7108
  username: "",
7098
7109
  password: ""
@@ -7110,7 +7121,7 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7110
7121
  }, [t]), /* @__PURE__ */ y(hr, { children: /* @__PURE__ */ re(
7111
7122
  ql,
7112
7123
  {
7113
- className: yl({
7124
+ className: pl({
7114
7125
  extraClass: "mt-5"
7115
7126
  }),
7116
7127
  noMargin: !0,
@@ -7119,7 +7130,7 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7119
7130
  /* @__PURE__ */ y(
7120
7131
  "div",
7121
7132
  {
7122
- className: ml({
7133
+ className: yl({
7123
7134
  extraClass: "rounded-md"
7124
7135
  }),
7125
7136
  children: /* @__PURE__ */ y(wu, {})
@@ -7149,7 +7160,7 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7149
7160
  }
7150
7161
  ) }),
7151
7162
  /* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y(
7152
- Ci,
7163
+ Pi,
7153
7164
  {
7154
7165
  className: "mt-7",
7155
7166
  required: !0,
@@ -7181,7 +7192,7 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7181
7192
  }
7182
7193
  ) }),
7183
7194
  /* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y(
7184
- ki,
7195
+ Ri,
7185
7196
  {
7186
7197
  mode: "light",
7187
7198
  focusMode: "light",
@@ -7192,7 +7203,7 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7192
7203
  children: pu
7193
7204
  }
7194
7205
  ) }),
7195
- !pl() && /* @__PURE__ */ re(hr, { children: [
7206
+ !gl() && /* @__PURE__ */ re(hr, { children: [
7196
7207
  /* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
7197
7208
  /* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y(
7198
7209
  Ir,
@@ -7212,22 +7223,22 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7212
7223
  ]
7213
7224
  }
7214
7225
  ) });
7215
- }, Su = new URL(document.location.href).searchParams, ss = !!Su.get("debug") || !1, vu = Mi(() => import(
7226
+ }, Su = new URL(document.location.href).searchParams, ss = !!Su.get("debug") || !1, vu = $i(() => import(
7216
7227
  /* webpackChunkName: "LazyApp" */
7217
- "./App.C_nc4ZLL.js"
7218
- ).then((e) => e.App)), Au = new ia(), is = ({
7228
+ "./App.Dd3GPhqe.js"
7229
+ ).then((e) => e.App)), Au = new aa(), is = ({
7219
7230
  isComponent: e,
7220
7231
  headerHeight: t
7221
7232
  }) => {
7222
7233
  const { isAuthenticated: r } = Ai();
7223
- return r ? /* @__PURE__ */ y($i, { fallback: /* @__PURE__ */ y("div", {}), children: /* @__PURE__ */ re(oa, { client: Au, children: [
7224
- /* @__PURE__ */ y(Mo, {}),
7234
+ return r ? /* @__PURE__ */ y(Ui, { fallback: /* @__PURE__ */ y("div", {}), children: /* @__PURE__ */ re(ca, { client: Au, children: [
7235
+ /* @__PURE__ */ y($o, {}),
7225
7236
  /* @__PURE__ */ y(vu, { isComponent: e, headerHeight: t })
7226
7237
  ] }) }) : /* @__PURE__ */ y(Eu, {});
7227
7238
  }, Tu = ({
7228
7239
  isComponent: e = !1,
7229
7240
  headerHeight: t = 0,
7230
- domain: r = hl
7241
+ domain: r = ml
7231
7242
  }) => Ti ? /* @__PURE__ */ y(
7232
7243
  Zn,
7233
7244
  {
@@ -7252,8 +7263,8 @@ export {
7252
7263
  bd as ACTION_SORT,
7253
7264
  wd as ACTION_TOGGLE_PROMPT,
7254
7265
  af as APP_CLASSNAME,
7255
- Pi as APP_NAME,
7256
- ki as C,
7266
+ xi as APP_NAME,
7267
+ Ri as C,
7257
7268
  of as CARDS,
7258
7269
  Zd as CLIPBOARD_PROMPT,
7259
7270
  md as DEFAULT_AI_PROVIDER,
@@ -7304,14 +7315,14 @@ export {
7304
7315
  Dd as UI_DEFAULT_MAIN_HEIGHT,
7305
7316
  Pd as UI_FOOTER_BUFFER,
7306
7317
  Wd as USAGE_TITLE,
7307
- Ba as addEventListener,
7318
+ Ga as addEventListener,
7308
7319
  Nu as batch,
7309
- Va as className,
7320
+ Ba as className,
7310
7321
  Bu as clearDelegatedEvents,
7311
7322
  Bd as convertCamelCaseToReadable,
7312
7323
  td as convertRemToPixels,
7313
- va as createComponent,
7314
- la as createComputed,
7324
+ Aa as createComponent,
7325
+ ua as createComputed,
7315
7326
  Du as createContext,
7316
7327
  _s as createEffect,
7317
7328
  se as createMemo,
@@ -7320,16 +7331,16 @@ export {
7320
7331
  te as createSignal,
7321
7332
  Mu as createUniqueId,
7322
7333
  Fd as debounce,
7323
- Ka as delegateEvents,
7334
+ Ha as delegateEvents,
7324
7335
  nr as deleteNestedDataByPath,
7325
7336
  Xu as displayValue,
7326
7337
  An as fe,
7327
- Xi as fetchState,
7338
+ Zi as fetchState,
7328
7339
  jd as findProvider,
7329
7340
  ws as focusManager,
7330
7341
  Md as getCurrentGeoLocation,
7331
- yl as getMainPaddingClass,
7332
- ml as getMessageContaintWrapperClass,
7342
+ pl as getMainPaddingClass,
7343
+ yl as getMessageContaintWrapperClass,
7333
7344
  zu as getMutationStatusColor,
7334
7345
  rd as getPreferredColorScheme,
7335
7346
  Yu as getQueryStatusColor,
@@ -7337,45 +7348,45 @@ export {
7337
7348
  Wu as getQueryStatusLabel,
7338
7349
  Ju as getSidedProp,
7339
7350
  on as insert,
7340
- pl as isElectron,
7341
- gl as isProbablyMobile,
7351
+ gl as isElectron,
7352
+ Ii as isProbablyMobile,
7342
7353
  Vd as isProbablyiPhone,
7343
7354
  Or as isServer,
7344
- Ki as isValidTimeout,
7355
+ Hi as isValidTimeout,
7345
7356
  He as j,
7346
7357
  Bl as l,
7347
- Ta as mergeProps,
7358
+ Ia as mergeProps,
7348
7359
  ed as mutationSortFns,
7349
7360
  ce as noop,
7350
7361
  ee as notifyManager,
7351
7362
  $d as obfuscate,
7352
7363
  Cu as on,
7353
7364
  Mt as onCleanup,
7354
- fa as onMount,
7355
- Ji as pendingThenable,
7365
+ ha as onMount,
7366
+ Yi as pendingThenable,
7356
7367
  Hd as pluralize,
7357
7368
  Ir as re,
7358
7369
  Kd as renderDataAsList,
7359
- Bi as replaceData,
7360
- Fi as resolveEnabled,
7370
+ Gi as replaceData,
7371
+ Vi as resolveEnabled,
7361
7372
  kn as resolveStaleTime,
7362
- Oo as serialize,
7373
+ No as serialize,
7363
7374
  an as setAttribute,
7364
7375
  Ou as shallowEqualObjects,
7365
7376
  ld as sn,
7366
7377
  Zu as sortFns,
7367
- Ia as splitProps,
7368
- qa as spread,
7378
+ ka as splitProps,
7379
+ Wa as spread,
7369
7380
  qu as stringify,
7370
7381
  Vu as template,
7371
- Hi as timeUntilStale,
7382
+ Fi as timeUntilStale,
7372
7383
  Gd as toastOptions,
7373
7384
  Ai as un,
7374
7385
  Ud as unObfuscate,
7375
7386
  q as untrack,
7376
7387
  rr as updateNestedDataByPath,
7377
- Wa as use,
7388
+ Ja as use,
7378
7389
  Lu as useContext,
7379
- aa as useQueryClient,
7390
+ oa as useQueryClient,
7380
7391
  xu as useTransition
7381
7392
  };