@versini/sassysaint 8.12.2 → 8.12.3

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 Wt = (e, t, r, n) => ({
13
13
  });
14
14
  import { jsx as p, jsxs as re, Fragment as lr } from "react/jsx-runtime";
15
15
  import * as ae from "react";
16
- import ke, { useReducer as as, useCallback as Te, useRef as Q, useEffect as ge, createContext as Ai, useContext as os, useSyncExternalStore as Ti, useLayoutEffect as ur, useState as Ae, useMemo as Er, useId as cs, Suspense as Ii, lazy as ki } from "react";
16
+ import ke, { useReducer as as, useCallback as Te, useRef as Q, useEffect as ge, createContext as Ti, useContext as os, useSyncExternalStore as Ii, useLayoutEffect as ur, useState as Ae, useMemo as Er, useId as cs, Suspense as ki, lazy as Ri } from "react";
17
17
  import b from "clsx";
18
18
  var Sr = class {
19
19
  constructor() {
@@ -34,19 +34,19 @@ var Sr = class {
34
34
  }, Ar = typeof window > "u" || "Deno" in globalThis;
35
35
  function oe() {
36
36
  }
37
- function Ri(e, t) {
37
+ function Oi(e, t) {
38
38
  return typeof e == "function" ? e(t) : e;
39
39
  }
40
- function Oi(e) {
40
+ function Ci(e) {
41
41
  return typeof e == "number" && e >= 0 && e !== 1 / 0;
42
42
  }
43
- function Ci(e, t) {
43
+ function _i(e, t) {
44
44
  return Math.max(e + (t || 0) - Date.now(), 0);
45
45
  }
46
46
  function En(e, t) {
47
47
  return typeof e == "function" ? e(t) : e;
48
48
  }
49
- function _i(e, t) {
49
+ function Ni(e, t) {
50
50
  return typeof e == "function" ? e(t) : e;
51
51
  }
52
52
  function Sn(e, t) {
@@ -112,7 +112,7 @@ function Wr(e, t) {
112
112
  }
113
113
  return t;
114
114
  }
115
- function mu(e, t) {
115
+ function Au(e, t) {
116
116
  if (!t || Object.keys(e).length !== Object.keys(t).length)
117
117
  return !1;
118
118
  for (const r in e)
@@ -135,12 +135,12 @@ function Jr(e) {
135
135
  function In(e) {
136
136
  return Object.prototype.toString.call(e) === "[object Object]";
137
137
  }
138
- function Ni(e) {
138
+ function Pi(e) {
139
139
  return new Promise((t) => {
140
140
  setTimeout(t, e);
141
141
  });
142
142
  }
143
- function Pi(e, t, r) {
143
+ function xi(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 Pi(e, t, r) {
156
156
  }
157
157
  return t;
158
158
  }
159
- function xi(e, t, r = 0) {
159
+ function Di(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 Di(e, t, r = 0) {
163
+ function Mi(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 ls(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 === dr ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
172
172
  }
173
- var He, _e, nt, Yn, Mi = (Yn = class extends Sr {
173
+ var He, _e, nt, Yn, Li = (Yn = class extends Sr {
174
174
  constructor() {
175
175
  super();
176
176
  I(this, He);
@@ -211,7 +211,7 @@ var He, _e, nt, Yn, Mi = (Yn = class extends Sr {
211
211
  var t;
212
212
  return typeof f(this, He) == "boolean" ? f(this, He) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
213
213
  }
214
- }, He = new WeakMap(), _e = new WeakMap(), nt = new WeakMap(), Yn), us = new Mi(), st, Ne, it, Xn, Li = (Xn = class extends Sr {
214
+ }, He = new WeakMap(), _e = new WeakMap(), nt = new WeakMap(), Yn), us = new Li(), st, Ne, it, Xn, $i = (Xn = class extends Sr {
215
215
  constructor() {
216
216
  super();
217
217
  I(this, st, !0);
@@ -245,8 +245,8 @@ var He, _e, nt, Yn, Mi = (Yn = class extends Sr {
245
245
  isOnline() {
246
246
  return f(this, st);
247
247
  }
248
- }, st = new WeakMap(), Ne = new WeakMap(), it = new WeakMap(), Xn), Nt = new Li();
249
- function $i() {
248
+ }, st = new WeakMap(), Ne = new WeakMap(), it = new WeakMap(), Xn), Nt = new $i();
249
+ function Ui() {
250
250
  let e, t;
251
251
  const r = new Promise((s, i) => {
252
252
  e = s, t = i;
@@ -268,7 +268,7 @@ function $i() {
268
268
  }), t(s);
269
269
  }, r;
270
270
  }
271
- function Ui(e) {
271
+ function Ki(e) {
272
272
  return Math.min(1e3 * 2 ** e, 3e4);
273
273
  }
274
274
  function ds(e) {
@@ -284,7 +284,7 @@ function Pr(e) {
284
284
  }
285
285
  function hs(e) {
286
286
  let t = !1, r = 0, n = !1, s;
287
- const i = $i(), a = (g) => {
287
+ const i = Ui(), a = (g) => {
288
288
  var v;
289
289
  n || (h(new fs(g)), (v = e.abort) == null || v.call(e));
290
290
  }, o = () => {
@@ -319,12 +319,12 @@ function hs(e) {
319
319
  var L;
320
320
  if (n)
321
321
  return;
322
- const O = e.retry ?? (Ar ? 0 : 3), T = e.retryDelay ?? Ui, R = typeof T == "function" ? T(r, k) : T, C = O === !0 || typeof O == "number" && r < O || typeof O == "function" && O(r, k);
322
+ const O = e.retry ?? (Ar ? 0 : 3), T = e.retryDelay ?? Ki, R = typeof T == "function" ? T(r, k) : T, C = O === !0 || typeof O == "number" && r < O || typeof O == "function" && O(r, k);
323
323
  if (t || !C) {
324
324
  h(k);
325
325
  return;
326
326
  }
327
- r++, (L = e.onFail) == null || L.call(e, r, k), Ni(R).then(() => l() ? void 0 : y()).then(() => {
327
+ r++, (L = e.onFail) == null || L.call(e, r, k), Pi(R).then(() => l() ? void 0 : y()).then(() => {
328
328
  t ? h(k) : m();
329
329
  });
330
330
  });
@@ -339,13 +339,13 @@ function hs(e) {
339
339
  start: () => (d() ? m() : y().then(m), i)
340
340
  };
341
341
  }
342
- var Ki = (e) => setTimeout(e, 0);
343
- function Hi() {
342
+ var Hi = (e) => setTimeout(e, 0);
343
+ function Fi() {
344
344
  let e = [], t = 0, r = (o) => {
345
345
  o();
346
346
  }, n = (o) => {
347
347
  o();
348
- }, s = Ki;
348
+ }, s = Hi;
349
349
  const i = (o) => {
350
350
  t ? e.push(o) : s(() => {
351
351
  r(o);
@@ -399,7 +399,7 @@ function Hi() {
399
399
  }
400
400
  };
401
401
  }
402
- var te = Hi(), Fe, Zn, ys = (Zn = class {
402
+ var te = Fi(), Fe, Zn, ys = (Zn = class {
403
403
  constructor() {
404
404
  I(this, Fe);
405
405
  }
@@ -407,7 +407,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
407
407
  this.clearGcTimeout();
408
408
  }
409
409
  scheduleGc() {
410
- this.clearGcTimeout(), Oi(this.gcTime) && w(this, Fe, setTimeout(() => {
410
+ this.clearGcTimeout(), Ci(this.gcTime) && w(this, Fe, setTimeout(() => {
411
411
  this.optionalRemove();
412
412
  }, this.gcTime));
413
413
  }
@@ -420,7 +420,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
420
420
  clearGcTimeout() {
421
421
  f(this, Fe) && (clearTimeout(f(this, Fe)), w(this, Fe, void 0));
422
422
  }
423
- }, Fe = new WeakMap(), Zn), at, ot, se, Be, z, Kt, Ve, ce, Ee, es, Fi = (es = class extends ys {
423
+ }, Fe = new WeakMap(), Zn), at, ot, se, Be, z, Kt, Ve, ce, Ee, es, Bi = (es = class extends ys {
424
424
  constructor(t) {
425
425
  super();
426
426
  I(this, ce);
@@ -431,7 +431,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
431
431
  I(this, z);
432
432
  I(this, Kt);
433
433
  I(this, Ve);
434
- w(this, Ve, !1), w(this, Kt, t.defaultOptions), this.setOptions(t.options), this.observers = [], w(this, Be, t.client), w(this, se, f(this, Be).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, w(this, at, Vi(this.options)), this.state = t.state ?? f(this, at), this.scheduleGc();
434
+ w(this, Ve, !1), w(this, Kt, t.defaultOptions), this.setOptions(t.options), this.observers = [], w(this, Be, t.client), w(this, se, f(this, Be).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, w(this, at, ji(this.options)), this.state = t.state ?? f(this, at), this.scheduleGc();
435
435
  }
436
436
  get meta() {
437
437
  return this.options.meta;
@@ -447,7 +447,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
447
447
  !this.observers.length && this.state.fetchStatus === "idle" && f(this, se).remove(this);
448
448
  }
449
449
  setData(t, r) {
450
- const n = Pi(this.state.data, t, this.options);
450
+ const n = xi(this.state.data, t, this.options);
451
451
  return J(this, ce, Ee).call(this, {
452
452
  data: n,
453
453
  type: "success",
@@ -471,7 +471,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
471
471
  }
472
472
  isActive() {
473
473
  return this.observers.some(
474
- (t) => _i(t.options.enabled, this) !== !1
474
+ (t) => Ni(t.options.enabled, this) !== !1
475
475
  );
476
476
  }
477
477
  isDisabled() {
@@ -483,7 +483,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
483
483
  ) : this.state.data === void 0;
484
484
  }
485
485
  isStaleByTime(t = 0) {
486
- return this.state.isInvalidated || this.state.data === void 0 || !Ci(this.state.dataUpdatedAt, t);
486
+ return this.state.isInvalidated || this.state.data === void 0 || !_i(this.state.dataUpdatedAt, t);
487
487
  }
488
488
  onFocus() {
489
489
  var r;
@@ -629,7 +629,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
629
629
  case "fetch":
630
630
  return {
631
631
  ...n,
632
- ...Bi(n.data, this.options),
632
+ ...Vi(n.data, this.options),
633
633
  fetchMeta: t.meta ?? null
634
634
  };
635
635
  case "success":
@@ -677,7 +677,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
677
677
  }), f(this, se).notify({ query: this, type: "updated", action: t });
678
678
  });
679
679
  }, es);
680
- function Bi(e, t) {
680
+ function Vi(e, t) {
681
681
  return {
682
682
  fetchFailureCount: 0,
683
683
  fetchFailureReason: null,
@@ -688,7 +688,7 @@ function Bi(e, t) {
688
688
  }
689
689
  };
690
690
  }
691
- function Vi(e) {
691
+ function ji(e) {
692
692
  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;
693
693
  return {
694
694
  data: t,
@@ -705,7 +705,7 @@ function Vi(e) {
705
705
  fetchStatus: "idle"
706
706
  };
707
707
  }
708
- var he, ts, ji = (ts = class extends Sr {
708
+ var he, ts, Gi = (ts = class extends Sr {
709
709
  constructor(t = {}) {
710
710
  super();
711
711
  I(this, he);
@@ -714,7 +714,7 @@ var he, ts, ji = (ts = class extends Sr {
714
714
  build(t, r, n) {
715
715
  const s = r.queryKey, i = r.queryHash ?? dn(s, r);
716
716
  let a = this.get(i);
717
- return a || (a = new Fi({
717
+ return a || (a = new Bi({
718
718
  client: t,
719
719
  queryKey: s,
720
720
  queryHash: i,
@@ -777,14 +777,14 @@ var he, ts, ji = (ts = class extends Sr {
777
777
  });
778
778
  });
779
779
  }
780
- }, he = new WeakMap(), ts), ye, ee, je, me, Ce, rs, Gi = (rs = class extends ys {
780
+ }, he = new WeakMap(), ts), ye, ee, je, me, Ce, rs, qi = (rs = class extends ys {
781
781
  constructor(t) {
782
782
  super();
783
783
  I(this, me);
784
784
  I(this, ye);
785
785
  I(this, ee);
786
786
  I(this, je);
787
- this.mutationId = t.mutationId, w(this, ee, t.mutationCache), w(this, ye, []), this.state = t.state || qi(), this.setOptions(t.options), this.scheduleGc();
787
+ this.mutationId = t.mutationId, w(this, ee, t.mutationCache), w(this, ye, []), this.state = t.state || Wi(), this.setOptions(t.options), this.scheduleGc();
788
788
  }
789
789
  setOptions(t) {
790
790
  this.options = t, this.updateGcTime(this.options.gcTime);
@@ -961,7 +961,7 @@ var he, ts, ji = (ts = class extends Sr {
961
961
  });
962
962
  });
963
963
  }, rs);
964
- function qi() {
964
+ function Wi() {
965
965
  return {
966
966
  context: void 0,
967
967
  data: void 0,
@@ -974,7 +974,7 @@ function qi() {
974
974
  submittedAt: 0
975
975
  };
976
976
  }
977
- var Se, le, Ht, ns, Wi = (ns = class extends Sr {
977
+ var Se, le, Ht, ns, Ji = (ns = class extends Sr {
978
978
  constructor(t = {}) {
979
979
  super();
980
980
  I(this, Se);
@@ -983,7 +983,7 @@ var Se, le, Ht, ns, Wi = (ns = class extends Sr {
983
983
  this.config = t, w(this, Se, /* @__PURE__ */ new Set()), w(this, le, /* @__PURE__ */ new Map()), w(this, Ht, 0);
984
984
  }
985
985
  build(t, r, n) {
986
- const s = new Gi({
986
+ const s = new qi({
987
987
  mutationCache: this,
988
988
  mutationId: ++Wt(this, Ht)._,
989
989
  options: t.defaultMutationOptions(r),
@@ -1102,14 +1102,14 @@ function kn(e) {
1102
1102
  v(L);
1103
1103
  const H = await k(
1104
1104
  L
1105
- ), { maxPages: S } = t.options, A = C ? Di : xi;
1105
+ ), { maxPages: S } = t.options, A = C ? Mi : Di;
1106
1106
  return {
1107
1107
  pages: A(T.pages, H, S),
1108
1108
  pageParams: A(T.pageParams, R, S)
1109
1109
  };
1110
1110
  };
1111
1111
  if (s && i.length) {
1112
- const T = s === "backward", R = T ? Ji : Rn, C = {
1112
+ const T = s === "backward", R = T ? zi : Rn, C = {
1113
1113
  pages: i,
1114
1114
  pageParams: a
1115
1115
  }, L = R(n, C);
@@ -1151,11 +1151,11 @@ function Rn(e, { pages: t, pageParams: r }) {
1151
1151
  r
1152
1152
  ) : void 0;
1153
1153
  }
1154
- function Ji(e, { pages: t, pageParams: r }) {
1154
+ function zi(e, { pages: t, pageParams: r }) {
1155
1155
  var n;
1156
1156
  return t.length > 0 ? (n = e.getPreviousPageParam) == null ? void 0 : n.call(e, t[0], t, r[0], r) : void 0;
1157
1157
  }
1158
- var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
1158
+ var U, Pe, xe, ct, lt, De, ut, dt, ss, Qi = (ss = class {
1159
1159
  constructor(e = {}) {
1160
1160
  I(this, U);
1161
1161
  I(this, Pe);
@@ -1165,7 +1165,7 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
1165
1165
  I(this, De);
1166
1166
  I(this, ut);
1167
1167
  I(this, dt);
1168
- w(this, U, e.queryCache || new ji()), w(this, Pe, e.mutationCache || new Wi()), w(this, xe, e.defaultOptions || {}), w(this, ct, /* @__PURE__ */ new Map()), w(this, lt, /* @__PURE__ */ new Map()), w(this, De, 0);
1168
+ w(this, U, e.queryCache || new Gi()), w(this, Pe, e.mutationCache || new Ji()), w(this, xe, e.defaultOptions || {}), w(this, ct, /* @__PURE__ */ new Map()), w(this, lt, /* @__PURE__ */ new Map()), w(this, De, 0);
1169
1169
  }
1170
1170
  mount() {
1171
1171
  Wt(this, De)._++, f(this, De) === 1 && (w(this, ut, us.subscribe(async (e) => {
@@ -1209,7 +1209,7 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
1209
1209
  setQueryData(e, t, r) {
1210
1210
  const n = this.defaultQueryOptions({ queryKey: e }), s = f(this, U).get(
1211
1211
  n.queryHash
1212
- ), i = s == null ? void 0 : s.state.data, a = Ri(t, i);
1212
+ ), i = s == null ? void 0 : s.state.data, a = Oi(t, i);
1213
1213
  if (a !== void 0)
1214
1214
  return f(this, U).build(this, n).setData(a, { ...r, manual: !0 });
1215
1215
  }
@@ -1363,20 +1363,20 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
1363
1363
  }
1364
1364
  }, U = new WeakMap(), Pe = new WeakMap(), xe = new WeakMap(), ct = new WeakMap(), lt = new WeakMap(), De = new WeakMap(), ut = new WeakMap(), dt = new WeakMap(), ss), ms = ae.createContext(
1365
1365
  void 0
1366
- ), Qi = (e) => {
1366
+ ), Yi = (e) => {
1367
1367
  const t = ae.useContext(ms);
1368
1368
  if (e)
1369
1369
  return e;
1370
1370
  if (!t)
1371
1371
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
1372
1372
  return t;
1373
- }, Yi = ({
1373
+ }, Xi = ({
1374
1374
  client: e,
1375
1375
  children: t
1376
1376
  }) => (ae.useEffect(() => (e.mount(), () => {
1377
1377
  e.unmount();
1378
- }), [e]), /* @__PURE__ */ p(ms.Provider, { value: e, children: t })), Xi = (e, t) => e === t, fr = Symbol("solid-proxy"), ps = typeof Proxy == "function", hr = {
1379
- equals: Xi
1378
+ }), [e]), /* @__PURE__ */ p(ms.Provider, { value: e, children: t })), Zi = (e, t) => e === t, fr = Symbol("solid-proxy"), ps = typeof Proxy == "function", hr = {
1379
+ equals: Zi
1380
1380
  }, gs = As, Re = 1, yr = 2, bs = {
1381
1381
  owned: null,
1382
1382
  cleanups: null,
@@ -1407,7 +1407,7 @@ function ne(e, t) {
1407
1407
  }, n = (s) => (typeof s == "function" && (s = s(r.value)), Ss(r, s));
1408
1408
  return [Es.bind(r), n];
1409
1409
  }
1410
- function Zi(e, t, r) {
1410
+ function ea(e, t, r) {
1411
1411
  const n = Ir(e, t, !0, Re);
1412
1412
  St(n);
1413
1413
  }
@@ -1416,7 +1416,7 @@ function We(e, t, r) {
1416
1416
  St(n);
1417
1417
  }
1418
1418
  function ws(e, t, r) {
1419
- gs = la;
1419
+ gs = ua;
1420
1420
  const n = Ir(e, t, !1, Re);
1421
1421
  (!r || !r.render) && (n.user = !0), Ie ? Ie.push(n) : St(n);
1422
1422
  }
@@ -1425,10 +1425,10 @@ function q(e, t, r) {
1425
1425
  const n = Ir(e, t, !0, 0);
1426
1426
  return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, St(n), Es.bind(n);
1427
1427
  }
1428
- function ea(e) {
1428
+ function ta(e) {
1429
1429
  return e && typeof e == "object" && "then" in e;
1430
1430
  }
1431
- function ta(e, t, r) {
1431
+ function ra(e, t, r) {
1432
1432
  let n, s, i;
1433
1433
  n = !0, s = e, i = {};
1434
1434
  let a = null, o = xr, c = !1, l = "initialValue" in i, d = typeof n == "function" && q(n);
@@ -1468,7 +1468,7 @@ function ta(e, t, r) {
1468
1468
  refetching: S
1469
1469
  })
1470
1470
  );
1471
- return ea(P) ? (a = P, "value" in P ? (P.status === "success" ? R(a, P.value, void 0, A) : R(a, void 0, zr(P.value), A), P) : (c = !0, queueMicrotask(() => c = !1), be(() => {
1471
+ return ta(P) ? (a = P, "value" in P ? (P.status === "success" ? R(a, P.value, void 0, A) : R(a, void 0, zr(P.value), A), P) : (c = !0, queueMicrotask(() => c = !1), be(() => {
1472
1472
  T(l ? "refreshing" : "pending"), k();
1473
1473
  }, !1), P.then(
1474
1474
  (N) => R(P, N, void 0, A),
@@ -1496,7 +1496,7 @@ function ta(e, t, r) {
1496
1496
  return h();
1497
1497
  }
1498
1498
  }
1499
- }), d ? Zi(() => H(!1)) : H(!1), [
1499
+ }), d ? ea(() => H(!1)) : H(!1), [
1500
1500
  L,
1501
1501
  {
1502
1502
  refetch: H,
@@ -1504,7 +1504,7 @@ function ta(e, t, r) {
1504
1504
  }
1505
1505
  ];
1506
1506
  }
1507
- function pu(e) {
1507
+ function Tu(e) {
1508
1508
  return be(e, !1);
1509
1509
  }
1510
1510
  function W(e) {
@@ -1517,7 +1517,7 @@ function W(e) {
1517
1517
  M = t;
1518
1518
  }
1519
1519
  }
1520
- function gu(e, t, r) {
1520
+ function Iu(e, t, r) {
1521
1521
  const n = Array.isArray(e);
1522
1522
  let s, i = r && r.defer;
1523
1523
  return (a) => {
@@ -1532,16 +1532,16 @@ function gu(e, t, r) {
1532
1532
  return s = o, c;
1533
1533
  };
1534
1534
  }
1535
- function ra(e) {
1535
+ function na(e) {
1536
1536
  ws(() => W(e));
1537
1537
  }
1538
1538
  function Pt(e) {
1539
1539
  return _ === null || (_.cleanups === null ? _.cleanups = [e] : _.cleanups.push(e)), e;
1540
1540
  }
1541
- function na() {
1541
+ function sa() {
1542
1542
  return _;
1543
1543
  }
1544
- function sa(e, t) {
1544
+ function ia(e, t) {
1545
1545
  const r = _, n = M;
1546
1546
  _ = e, M = null;
1547
1547
  try {
@@ -1552,7 +1552,7 @@ function sa(e, t) {
1552
1552
  _ = r, M = n;
1553
1553
  }
1554
1554
  }
1555
- function ia(e) {
1555
+ function aa(e) {
1556
1556
  const t = M, r = _;
1557
1557
  return Promise.resolve().then(() => {
1558
1558
  M = t, _ = r;
@@ -1560,19 +1560,19 @@ function ia(e) {
1560
1560
  return be(e, !1), M = _ = null, n ? n.done : void 0;
1561
1561
  });
1562
1562
  }
1563
- var [aa, bu] = /* @__PURE__ */ ne(!1);
1564
- function wu() {
1565
- return [aa, ia];
1563
+ var [oa, ku] = /* @__PURE__ */ ne(!1);
1564
+ function Ru() {
1565
+ return [oa, aa];
1566
1566
  }
1567
- function vu(e, t) {
1567
+ function Ou(e, t) {
1568
1568
  const r = Symbol("context");
1569
1569
  return {
1570
1570
  id: r,
1571
- Provider: ua(r),
1571
+ Provider: da(r),
1572
1572
  defaultValue: e
1573
1573
  };
1574
1574
  }
1575
- function Eu(e) {
1575
+ function Cu(e) {
1576
1576
  let t;
1577
1577
  return _ && _.context && (t = _.context[e.id]) !== void 0 ? t : e.defaultValue;
1578
1578
  }
@@ -1611,13 +1611,13 @@ function St(e) {
1611
1611
  if (!e.fn) return;
1612
1612
  xt(e);
1613
1613
  const t = Tr;
1614
- oa(
1614
+ ca(
1615
1615
  e,
1616
1616
  e.value,
1617
1617
  t
1618
1618
  );
1619
1619
  }
1620
- function oa(e, t, r) {
1620
+ function ca(e, t, r) {
1621
1621
  let n;
1622
1622
  const s = _, i = M;
1623
1623
  M = _ = e;
@@ -1667,12 +1667,12 @@ function be(e, t) {
1667
1667
  t || (Y = []), Ie ? r = !0 : Ie = [], Tr++;
1668
1668
  try {
1669
1669
  const n = e();
1670
- return ca(r), n;
1670
+ return la(r), n;
1671
1671
  } catch (n) {
1672
1672
  r || (Ie = null), Y = null, fn(n);
1673
1673
  }
1674
1674
  }
1675
- function ca(e) {
1675
+ function la(e) {
1676
1676
  if (Y && (As(Y), Y = null), e) return;
1677
1677
  const t = Ie;
1678
1678
  Ie = null, t.length && be(() => gs(t), !1);
@@ -1680,7 +1680,7 @@ function ca(e) {
1680
1680
  function As(e) {
1681
1681
  for (let t = 0; t < e.length; t++) mr(e[t]);
1682
1682
  }
1683
- function la(e) {
1683
+ function ua(e) {
1684
1684
  let t, r = 0;
1685
1685
  for (t = 0; t < e.length; t++) {
1686
1686
  const n = e[t];
@@ -1748,7 +1748,7 @@ function Qr(e) {
1748
1748
  }
1749
1749
  return e;
1750
1750
  }
1751
- function ua(e, t) {
1751
+ function da(e, t) {
1752
1752
  return function(n) {
1753
1753
  let s;
1754
1754
  return We(
@@ -1764,7 +1764,7 @@ var Yr = Symbol("fallback");
1764
1764
  function gr(e) {
1765
1765
  for (let t = 0; t < e.length; t++) e[t]();
1766
1766
  }
1767
- function da(e, t, r = {}) {
1767
+ function fa(e, t, r = {}) {
1768
1768
  let n = [], s = [], i = [], a = 0, o = t.length > 1 ? [] : null;
1769
1769
  return Pt(() => gr(i)), () => {
1770
1770
  let c = e() || [], l = c.length, d, u;
@@ -1799,7 +1799,7 @@ function da(e, t, r = {}) {
1799
1799
  }
1800
1800
  };
1801
1801
  }
1802
- function fa(e, t, r = {}) {
1802
+ function ha(e, t, r = {}) {
1803
1803
  let n = [], s = [], i = [], a = [], o = 0, c;
1804
1804
  return Pt(() => gr(i)), () => {
1805
1805
  const l = e() || [], d = l.length;
@@ -1819,7 +1819,7 @@ function fa(e, t, r = {}) {
1819
1819
  }
1820
1820
  };
1821
1821
  }
1822
- function ha(e, t) {
1822
+ function ya(e, t) {
1823
1823
  return W(() => e(t || {}));
1824
1824
  }
1825
1825
  function zt() {
@@ -1852,13 +1852,13 @@ var Xr = {
1852
1852
  function Dr(e) {
1853
1853
  return (e = typeof e == "function" ? e() : e) ? e : {};
1854
1854
  }
1855
- function ya() {
1855
+ function ma() {
1856
1856
  for (let e = 0, t = this.length; e < t; ++e) {
1857
1857
  const r = this[e]();
1858
1858
  if (r !== void 0) return r;
1859
1859
  }
1860
1860
  }
1861
- function ma(...e) {
1861
+ function pa(...e) {
1862
1862
  let t = !1;
1863
1863
  for (let a = 0; a < e.length; a++) {
1864
1864
  const o = e[a];
@@ -1900,7 +1900,7 @@ function ma(...e) {
1900
1900
  n[d] = u.get ? {
1901
1901
  enumerable: !0,
1902
1902
  configurable: !0,
1903
- get: ya.bind(r[d] = [u.get.bind(o)])
1903
+ get: ma.bind(r[d] = [u.get.bind(o)])
1904
1904
  } : u.value !== void 0 ? u : void 0;
1905
1905
  else {
1906
1906
  const h = r[d];
@@ -1915,7 +1915,7 @@ function ma(...e) {
1915
1915
  }
1916
1916
  return s;
1917
1917
  }
1918
- function pa(e, ...t) {
1918
+ function ga(e, ...t) {
1919
1919
  if (ps && fr in e) {
1920
1920
  const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((a) => new Proxy(
1921
1921
  {
@@ -1958,11 +1958,11 @@ function pa(e, ...t) {
1958
1958
  }
1959
1959
  return [...n, r];
1960
1960
  }
1961
- function ga(e) {
1961
+ function ba(e) {
1962
1962
  let t, r;
1963
1963
  const n = (s) => {
1964
1964
  if (!t) {
1965
- const [a] = ta(() => (r || (r = e())).then((o) => o.default));
1965
+ const [a] = ra(() => (r || (r = e())).then((o) => o.default));
1966
1966
  t = a;
1967
1967
  }
1968
1968
  let i;
@@ -1972,24 +1972,24 @@ function ga(e) {
1972
1972
  };
1973
1973
  return n.preload = () => r || ((r = e()).then((s) => t = () => s.default), r), n;
1974
1974
  }
1975
- var ba = 0;
1976
- function Su() {
1977
- return `cl-${ba++}`;
1975
+ var wa = 0;
1976
+ function _u() {
1977
+ return `cl-${wa++}`;
1978
1978
  }
1979
1979
  var Is = (e) => `Stale read from <${e}>.`;
1980
- function Au(e) {
1980
+ function Nu(e) {
1981
1981
  const t = "fallback" in e && {
1982
1982
  fallback: () => e.fallback
1983
1983
  };
1984
- return q(da(() => e.each, e.children, t || void 0));
1984
+ return q(fa(() => e.each, e.children, t || void 0));
1985
1985
  }
1986
- function Tu(e) {
1986
+ function Pu(e) {
1987
1987
  const t = "fallback" in e && {
1988
1988
  fallback: () => e.fallback
1989
1989
  };
1990
- return q(fa(() => e.each, e.children, t || void 0));
1990
+ return q(ha(() => e.each, e.children, t || void 0));
1991
1991
  }
1992
- function Iu(e) {
1992
+ function xu(e) {
1993
1993
  const t = e.keyed, r = q(() => e.when, void 0, void 0), n = t ? r : q(r, void 0, {
1994
1994
  equals: (s, i) => !s == !i
1995
1995
  });
@@ -2013,7 +2013,7 @@ function Iu(e) {
2013
2013
  void 0
2014
2014
  );
2015
2015
  }
2016
- function ku(e) {
2016
+ function Du(e) {
2017
2017
  const t = vs(() => e.children), r = q(() => {
2018
2018
  const n = t(), s = Array.isArray(n) ? n : [n];
2019
2019
  let i = () => {
@@ -2049,10 +2049,10 @@ function ku(e) {
2049
2049
  void 0
2050
2050
  );
2051
2051
  }
2052
- function Ru(e) {
2052
+ function Mu(e) {
2053
2053
  return e;
2054
2054
  }
2055
- var wa = [
2055
+ var va = [
2056
2056
  "allowfullscreen",
2057
2057
  "async",
2058
2058
  "autofocus",
@@ -2078,7 +2078,7 @@ var wa = [
2078
2078
  "reversed",
2079
2079
  "seamless",
2080
2080
  "selected"
2081
- ], va = /* @__PURE__ */ new Set([
2081
+ ], Ea = /* @__PURE__ */ new Set([
2082
2082
  "className",
2083
2083
  "value",
2084
2084
  "readOnly",
@@ -2086,16 +2086,16 @@ var wa = [
2086
2086
  "isMap",
2087
2087
  "noModule",
2088
2088
  "playsInline",
2089
- ...wa
2090
- ]), Ea = /* @__PURE__ */ new Set([
2089
+ ...va
2090
+ ]), Sa = /* @__PURE__ */ new Set([
2091
2091
  "innerHTML",
2092
2092
  "textContent",
2093
2093
  "innerText",
2094
2094
  "children"
2095
- ]), Sa = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2095
+ ]), Aa = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2096
2096
  className: "class",
2097
2097
  htmlFor: "for"
2098
- }), Aa = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2098
+ }), Ta = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2099
2099
  class: "className",
2100
2100
  formnovalidate: {
2101
2101
  $: "formNoValidate",
@@ -2120,11 +2120,11 @@ var wa = [
2120
2120
  TEXTAREA: 1
2121
2121
  }
2122
2122
  });
2123
- function Ta(e, t) {
2124
- const r = Aa[e];
2123
+ function Ia(e, t) {
2124
+ const r = Ta[e];
2125
2125
  return typeof r == "object" ? r[t] ? r.$ : void 0 : r;
2126
2126
  }
2127
- var Ia = /* @__PURE__ */ new Set([
2127
+ var ka = /* @__PURE__ */ new Set([
2128
2128
  "beforeinput",
2129
2129
  "click",
2130
2130
  "dblclick",
@@ -2147,7 +2147,7 @@ var Ia = /* @__PURE__ */ new Set([
2147
2147
  "touchend",
2148
2148
  "touchmove",
2149
2149
  "touchstart"
2150
- ]), ka = /* @__PURE__ */ new Set([
2150
+ ]), Ra = /* @__PURE__ */ new Set([
2151
2151
  "altGlyph",
2152
2152
  "altGlyphDef",
2153
2153
  "altGlyphItem",
@@ -2225,11 +2225,11 @@ var Ia = /* @__PURE__ */ new Set([
2225
2225
  "use",
2226
2226
  "view",
2227
2227
  "vkern"
2228
- ]), Ra = {
2228
+ ]), Oa = {
2229
2229
  xlink: "http://www.w3.org/1999/xlink",
2230
2230
  xml: "http://www.w3.org/XML/1998/namespace"
2231
2231
  };
2232
- function Oa(e, t, r) {
2232
+ function Ca(e, t, r) {
2233
2233
  let n = r.length, s = t.length, i = n, a = 0, o = 0, c = t[s - 1].nextSibling, l = null;
2234
2234
  for (; a < s || o < i; ) {
2235
2235
  if (t[a] === r[o]) {
@@ -2269,7 +2269,7 @@ function Oa(e, t, r) {
2269
2269
  }
2270
2270
  }
2271
2271
  var It = "_$DX_DELEGATE";
2272
- function Ca(e, t, r, n = {}) {
2272
+ function _a(e, t, r, n = {}) {
2273
2273
  let s;
2274
2274
  return qe((i) => {
2275
2275
  s = i, t === document ? e() : en(t, e(), t.firstChild ? null : void 0, r);
@@ -2277,7 +2277,7 @@ function Ca(e, t, r, n = {}) {
2277
2277
  s(), t.textContent = "";
2278
2278
  };
2279
2279
  }
2280
- function Ou(e, t, r, n) {
2280
+ function Lu(e, t, r, n) {
2281
2281
  let s;
2282
2282
  const i = () => {
2283
2283
  const o = document.createElement("template");
@@ -2285,14 +2285,14 @@ function Ou(e, t, r, n) {
2285
2285
  }, a = () => (s || (s = i())).cloneNode(!0);
2286
2286
  return a.cloneNode = a, a;
2287
2287
  }
2288
- function _a(e, t = window.document) {
2288
+ function Na(e, t = window.document) {
2289
2289
  const r = t[It] || (t[It] = /* @__PURE__ */ new Set());
2290
2290
  for (let n = 0, s = e.length; n < s; n++) {
2291
2291
  const i = e[n];
2292
2292
  r.has(i) || (r.add(i), t.addEventListener(i, ks));
2293
2293
  }
2294
2294
  }
2295
- function Cu(e = window.document) {
2295
+ function $u(e = window.document) {
2296
2296
  if (e[It]) {
2297
2297
  for (let t of e[It].keys()) e.removeEventListener(t, ks);
2298
2298
  delete e[It];
@@ -2301,16 +2301,16 @@ function Cu(e = window.document) {
2301
2301
  function Zr(e, t, r) {
2302
2302
  r == null ? e.removeAttribute(t) : e.setAttribute(t, r);
2303
2303
  }
2304
- function Na(e, t, r, n) {
2304
+ function Pa(e, t, r, n) {
2305
2305
  n == null ? e.removeAttributeNS(t, r) : e.setAttributeNS(t, r, n);
2306
2306
  }
2307
- function Pa(e, t, r) {
2307
+ function xa(e, t, r) {
2308
2308
  r ? e.setAttribute(t, "") : e.removeAttribute(t);
2309
2309
  }
2310
- function xa(e, t) {
2310
+ function Da(e, t) {
2311
2311
  t == null ? e.removeAttribute("class") : e.className = t;
2312
2312
  }
2313
- function Da(e, t, r, n) {
2313
+ function Ma(e, t, r, n) {
2314
2314
  if (n)
2315
2315
  Array.isArray(r) ? (e[`$$${t}`] = r[0], e[`$$${t}Data`] = r[1]) : e[`$$${t}`] = r;
2316
2316
  else if (Array.isArray(r)) {
@@ -2318,7 +2318,7 @@ function Da(e, t, r, n) {
2318
2318
  e.addEventListener(t, r[0] = (i) => s.call(e, r[1], i));
2319
2319
  } else e.addEventListener(t, r, typeof r != "function" && r);
2320
2320
  }
2321
- function Ma(e, t, r = {}) {
2321
+ function La(e, t, r = {}) {
2322
2322
  const n = Object.keys(t || {}), s = Object.keys(r);
2323
2323
  let i, a;
2324
2324
  for (i = 0, a = s.length; i < a; i++) {
@@ -2331,7 +2331,7 @@ function Ma(e, t, r = {}) {
2331
2331
  }
2332
2332
  return r;
2333
2333
  }
2334
- function La(e, t, r) {
2334
+ function $a(e, t, r) {
2335
2335
  if (!t) return r ? Zr(e, "style") : t;
2336
2336
  const n = e.style;
2337
2337
  if (typeof t == "string") return n.cssText = t;
@@ -2343,20 +2343,20 @@ function La(e, t, r) {
2343
2343
  s = t[i], s !== r[i] && (n.setProperty(i, s), r[i] = s);
2344
2344
  return r;
2345
2345
  }
2346
- function $a(e, t = {}, r, n) {
2346
+ function Ua(e, t = {}, r, n) {
2347
2347
  const s = {};
2348
2348
  return n || We(
2349
2349
  () => s.children = Dt(e, t.children, s.children)
2350
- ), We(() => typeof t.ref == "function" && Ua(t.ref, e)), We(() => Ka(e, t, r, !0, s, !0)), s;
2350
+ ), We(() => typeof t.ref == "function" && Ka(t.ref, e)), We(() => Ha(e, t, r, !0, s, !0)), s;
2351
2351
  }
2352
- function Ua(e, t, r) {
2352
+ function Ka(e, t, r) {
2353
2353
  return W(() => e(t, r));
2354
2354
  }
2355
2355
  function en(e, t, r, n) {
2356
2356
  if (r !== void 0 && !n && (n = []), typeof t != "function") return Dt(e, t, n, r);
2357
2357
  We((s) => Dt(e, t(), s, r), n);
2358
2358
  }
2359
- function Ka(e, t, r, n, s = {}, i = !1) {
2359
+ function Ha(e, t, r, n, s = {}, i = !1) {
2360
2360
  t || (t = {});
2361
2361
  for (const a in s)
2362
2362
  if (!(a in t)) {
@@ -2370,7 +2370,7 @@ function Ka(e, t, r, n, s = {}, i = !1) {
2370
2370
  s[a] = Cn(e, a, o, s[a], r, i, t);
2371
2371
  }
2372
2372
  }
2373
- function Ha(e) {
2373
+ function Fa(e) {
2374
2374
  return e.toLowerCase().replace(/-([a-z])/g, (t, r) => r.toUpperCase());
2375
2375
  }
2376
2376
  function On(e, t, r) {
@@ -2380,8 +2380,8 @@ function On(e, t, r) {
2380
2380
  }
2381
2381
  function Cn(e, t, r, n, s, i, a) {
2382
2382
  let o, c, l, d, u;
2383
- if (t === "style") return La(e, r, n);
2384
- if (t === "classList") return Ma(e, r, n);
2383
+ if (t === "style") return $a(e, r, n);
2384
+ if (t === "classList") return La(e, r, n);
2385
2385
  if (r === n) return n;
2386
2386
  if (t === "ref")
2387
2387
  i || r(e);
@@ -2392,21 +2392,21 @@ function Cn(e, t, r, n, s, i, a) {
2392
2392
  const h = t.slice(10);
2393
2393
  n && e.removeEventListener(h, n, !0), r && e.addEventListener(h, r, !0);
2394
2394
  } else if (t.slice(0, 2) === "on") {
2395
- const h = t.slice(2).toLowerCase(), y = Ia.has(h);
2395
+ const h = t.slice(2).toLowerCase(), y = ka.has(h);
2396
2396
  if (!y && n) {
2397
2397
  const m = Array.isArray(n) ? n[0] : n;
2398
2398
  e.removeEventListener(h, m);
2399
2399
  }
2400
- (y || r) && (Da(e, h, r, y), y && _a([h]));
2400
+ (y || r) && (Ma(e, h, r, y), y && Na([h]));
2401
2401
  } else if (t.slice(0, 5) === "attr:")
2402
2402
  Zr(e, t.slice(5), r);
2403
2403
  else if (t.slice(0, 5) === "bool:")
2404
- Pa(e, t.slice(5), r);
2405
- else if ((u = t.slice(0, 5) === "prop:") || (l = Ea.has(t)) || !s && ((d = Ta(t, e.tagName)) || (c = va.has(t))) || (o = e.nodeName.includes("-") || "is" in a))
2406
- u && (t = t.slice(5), c = !0), t === "class" || t === "className" ? xa(e, r) : o && !c && !l ? e[Ha(t)] = r : e[d || t] = r;
2404
+ xa(e, t.slice(5), r);
2405
+ else if ((u = t.slice(0, 5) === "prop:") || (l = Sa.has(t)) || !s && ((d = Ia(t, e.tagName)) || (c = Ea.has(t))) || (o = e.nodeName.includes("-") || "is" in a))
2406
+ u && (t = t.slice(5), c = !0), t === "class" || t === "className" ? Da(e, r) : o && !c && !l ? e[Fa(t)] = r : e[d || t] = r;
2407
2407
  else {
2408
- const h = s && t.indexOf(":") > -1 && Ra[t.split(":")[0]];
2409
- h ? Na(e, h, t, r) : Zr(e, Sa[t] || t, r);
2408
+ const h = s && t.indexOf(":") > -1 && Oa[t.split(":")[0]];
2409
+ h ? Pa(e, h, t, r) : Zr(e, Aa[t] || t, r);
2410
2410
  }
2411
2411
  return r;
2412
2412
  }
@@ -2471,7 +2471,7 @@ function Dt(e, t, r, n, s) {
2471
2471
  return We(() => r = Dt(e, o, r, n, !0)), () => r;
2472
2472
  if (o.length === 0) {
2473
2473
  if (r = Qe(e, r, n), a) return r;
2474
- } else c ? r.length === 0 ? _n(e, o, n) : Oa(e, r, o) : (r && Qe(e), _n(e, o));
2474
+ } else c ? r.length === 0 ? _n(e, o, n) : Ca(e, r, o) : (r && Qe(e), _n(e, o));
2475
2475
  r = o;
2476
2476
  } else if (t.nodeType) {
2477
2477
  if (Array.isArray(r)) {
@@ -2526,16 +2526,16 @@ function Qe(e, t, r, n) {
2526
2526
  } else e.insertBefore(s, r);
2527
2527
  return [s];
2528
2528
  }
2529
- var Fa = "http://www.w3.org/2000/svg";
2529
+ var Ba = "http://www.w3.org/2000/svg";
2530
2530
  function Rs(e, t = !1) {
2531
- return t ? document.createElementNS(Fa, e) : document.createElement(e);
2531
+ return t ? document.createElementNS(Ba, e) : document.createElement(e);
2532
2532
  }
2533
- function _u(e) {
2534
- const { useShadow: t } = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = na();
2533
+ function Uu(e) {
2534
+ const { useShadow: t } = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = sa();
2535
2535
  let i;
2536
2536
  return ws(
2537
2537
  () => {
2538
- i || (i = sa(s, () => q(() => e.children)));
2538
+ i || (i = ia(s, () => q(() => e.children)));
2539
2539
  const a = n();
2540
2540
  if (a instanceof HTMLHeadElement) {
2541
2541
  const [o, c] = ne(!1), l = () => c(!0);
@@ -2558,7 +2558,7 @@ function _u(e) {
2558
2558
  }
2559
2559
  ), r;
2560
2560
  }
2561
- function Ba(e, t) {
2561
+ function Va(e, t) {
2562
2562
  const r = q(e);
2563
2563
  return q(() => {
2564
2564
  const n = r();
@@ -2566,16 +2566,16 @@ function Ba(e, t) {
2566
2566
  case "function":
2567
2567
  return W(() => n(t));
2568
2568
  case "string":
2569
- const s = ka.has(n), i = Rs(n, s);
2570
- return $a(i, t, s), i;
2569
+ const s = Ra.has(n), i = Rs(n, s);
2570
+ return Ua(i, t, s), i;
2571
2571
  }
2572
2572
  });
2573
2573
  }
2574
- function Nu(e) {
2575
- const [, t] = pa(e, ["component"]);
2576
- return Ba(() => e.component, t);
2574
+ function Ku(e) {
2575
+ const [, t] = ga(e, ["component"]);
2576
+ return Va(() => e.component, t);
2577
2577
  }
2578
- var Va = class {
2578
+ var ja = class {
2579
2579
  constructor() {
2580
2580
  this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
2581
2581
  }
@@ -2593,7 +2593,7 @@ var Va = class {
2593
2593
  }
2594
2594
  }, Os = class {
2595
2595
  constructor(e) {
2596
- this.generateIdentifier = e, this.kv = new Va();
2596
+ this.generateIdentifier = e, this.kv = new ja();
2597
2597
  }
2598
2598
  register(e, t) {
2599
2599
  this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
@@ -2607,7 +2607,7 @@ var Va = class {
2607
2607
  getValue(e) {
2608
2608
  return this.kv.getByKey(e);
2609
2609
  }
2610
- }, ja = class extends Os {
2610
+ }, Ga = class extends Os {
2611
2611
  constructor() {
2612
2612
  super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
2613
2613
  }
@@ -2618,7 +2618,7 @@ var Va = class {
2618
2618
  return this.classToAllowedProps.get(e);
2619
2619
  }
2620
2620
  };
2621
- function Ga(e) {
2621
+ function qa(e) {
2622
2622
  if ("values" in Object)
2623
2623
  return Object.values(e);
2624
2624
  const t = [];
@@ -2626,8 +2626,8 @@ function Ga(e) {
2626
2626
  e.hasOwnProperty(r) && t.push(e[r]);
2627
2627
  return t;
2628
2628
  }
2629
- function qa(e, t) {
2630
- const r = Ga(e);
2629
+ function Wa(e, t) {
2630
+ const r = qa(e);
2631
2631
  if ("find" in r)
2632
2632
  return r.find(t);
2633
2633
  const n = r;
@@ -2650,7 +2650,7 @@ function Nn(e, t) {
2650
2650
  return n;
2651
2651
  }
2652
2652
  }
2653
- var Wa = class {
2653
+ var Ja = class {
2654
2654
  constructor() {
2655
2655
  this.transfomers = {};
2656
2656
  }
@@ -2658,12 +2658,12 @@ var Wa = class {
2658
2658
  this.transfomers[e.name] = e;
2659
2659
  }
2660
2660
  findApplicable(e) {
2661
- return qa(this.transfomers, (t) => t.isApplicable(e));
2661
+ return Wa(this.transfomers, (t) => t.isApplicable(e));
2662
2662
  }
2663
2663
  findByName(e) {
2664
2664
  return this.transfomers[e];
2665
2665
  }
2666
- }, Ja = (e) => Object.prototype.toString.call(e).slice(8, -1), Cs = (e) => typeof e > "u", za = (e) => e === null, Mt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, rn = (e) => Mt(e) && Object.keys(e).length === 0, $e = (e) => Array.isArray(e), Qa = (e) => typeof e == "string", Ya = (e) => typeof e == "number" && !isNaN(e), Xa = (e) => typeof e == "boolean", Za = (e) => e instanceof RegExp, Lt = (e) => e instanceof Map, $t = (e) => e instanceof Set, _s = (e) => Ja(e) === "Symbol", eo = (e) => e instanceof Date && !isNaN(e.valueOf()), to = (e) => e instanceof Error, Pn = (e) => typeof e == "number" && isNaN(e), ro = (e) => Xa(e) || za(e) || Cs(e) || Ya(e) || Qa(e) || _s(e), no = (e) => typeof e == "bigint", so = (e) => e === 1 / 0 || e === -1 / 0, io = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), ao = (e) => e instanceof URL, Ns = (e) => e.replace(/\./g, "\\."), Mr = (e) => e.map(String).map(Ns).join("."), kt = (e) => {
2666
+ }, za = (e) => Object.prototype.toString.call(e).slice(8, -1), Cs = (e) => typeof e > "u", Qa = (e) => e === null, Mt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, rn = (e) => Mt(e) && Object.keys(e).length === 0, $e = (e) => Array.isArray(e), Ya = (e) => typeof e == "string", Xa = (e) => typeof e == "number" && !isNaN(e), Za = (e) => typeof e == "boolean", eo = (e) => e instanceof RegExp, Lt = (e) => e instanceof Map, $t = (e) => e instanceof Set, _s = (e) => za(e) === "Symbol", to = (e) => e instanceof Date && !isNaN(e.valueOf()), ro = (e) => e instanceof Error, Pn = (e) => typeof e == "number" && isNaN(e), no = (e) => Za(e) || Qa(e) || Cs(e) || Xa(e) || Ya(e) || _s(e), so = (e) => typeof e == "bigint", io = (e) => e === 1 / 0 || e === -1 / 0, ao = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), oo = (e) => e instanceof URL, Ns = (e) => e.replace(/\./g, "\\."), Mr = (e) => e.map(String).map(Ns).join("."), kt = (e) => {
2667
2667
  const t = [];
2668
2668
  let r = "";
2669
2669
  for (let s = 0; s < e.length; s++) {
@@ -2692,9 +2692,9 @@ function de(e, t, r, n) {
2692
2692
  var Ps = [
2693
2693
  de(Cs, "undefined", () => null, () => {
2694
2694
  }),
2695
- de(no, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
2696
- de(eo, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2697
- de(to, "Error", (e, t) => {
2695
+ de(so, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
2696
+ de(to, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2697
+ de(ro, "Error", (e, t) => {
2698
2698
  const r = {
2699
2699
  name: e.name,
2700
2700
  message: e.message
@@ -2708,7 +2708,7 @@ var Ps = [
2708
2708
  r[n] = e[n];
2709
2709
  }), r;
2710
2710
  }),
2711
- de(Za, "regexp", (e) => "" + e, (e) => {
2711
+ de(eo, "regexp", (e) => "" + e, (e) => {
2712
2712
  const t = e.slice(1, e.lastIndexOf("/")), r = e.slice(e.lastIndexOf("/") + 1);
2713
2713
  return new RegExp(t, r);
2714
2714
  }),
@@ -2721,9 +2721,9 @@ var Ps = [
2721
2721
  (e) => new Set(e)
2722
2722
  ),
2723
2723
  de(Lt, "map", (e) => [...e.entries()], (e) => new Map(e)),
2724
- de((e) => Pn(e) || so(e), "number", (e) => Pn(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2724
+ de((e) => Pn(e) || io(e), "number", (e) => Pn(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2725
2725
  de((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
2726
- de(ao, "URL", (e) => e.toString(), (e) => new URL(e))
2726
+ de(oo, "URL", (e) => e.toString(), (e) => new URL(e))
2727
2727
  ];
2728
2728
  function kr(e, t, r, n) {
2729
2729
  return {
@@ -2738,7 +2738,7 @@ var xs = kr((e, t) => _s(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
2738
2738
  if (!n)
2739
2739
  throw new Error("Trying to deserialize unknown symbol");
2740
2740
  return n;
2741
- }), oo = [
2741
+ }), co = [
2742
2742
  Int8Array,
2743
2743
  Uint8Array,
2744
2744
  Int16Array,
@@ -2748,8 +2748,8 @@ var xs = kr((e, t) => _s(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
2748
2748
  Float32Array,
2749
2749
  Float64Array,
2750
2750
  Uint8ClampedArray
2751
- ].reduce((e, t) => (e[t.name] = t, e), {}), Ds = kr(io, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2752
- const r = oo[t[1]];
2751
+ ].reduce((e, t) => (e[t.name] = t, e), {}), Ds = kr(ao, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2752
+ const r = co[t[1]];
2753
2753
  if (!r)
2754
2754
  throw new Error("Trying to deserialize unknown typed array");
2755
2755
  return new r(e);
@@ -2775,8 +2775,8 @@ var Ls = kr(Ms, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
2775
2775
  if (!n)
2776
2776
  throw new Error("Trying to deserialize unknown custom value");
2777
2777
  return n.deserialize(e);
2778
- }), co = [Ls, xs, $s, Ds], xn = (e, t) => {
2779
- const r = Nn(co, (s) => s.isApplicable(e, t));
2778
+ }), lo = [Ls, xs, $s, Ds], xn = (e, t) => {
2779
+ const r = Nn(lo, (s) => s.isApplicable(e, t));
2780
2780
  if (r)
2781
2781
  return {
2782
2782
  value: r.transform(e, t),
@@ -2792,7 +2792,7 @@ var Ls = kr(Ms, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
2792
2792
  Ps.forEach((e) => {
2793
2793
  Us[e.annotation] = e;
2794
2794
  });
2795
- var lo = (e, t, r) => {
2795
+ var uo = (e, t, r) => {
2796
2796
  if ($e(t))
2797
2797
  switch (t[0]) {
2798
2798
  case "symbol":
@@ -2826,7 +2826,7 @@ function Ks(e) {
2826
2826
  if (ir(e, "constructor"))
2827
2827
  throw new Error("constructor is not allowed as a property");
2828
2828
  }
2829
- var uo = (e, t) => {
2829
+ var fo = (e, t) => {
2830
2830
  Ks(t);
2831
2831
  for (let r = 0; r < t.length; r++) {
2832
2832
  const n = t[r];
@@ -2907,14 +2907,14 @@ function sn(e, t, r = []) {
2907
2907
  sn(i, t, [...r, ...kt(a)]);
2908
2908
  }), t(n, r);
2909
2909
  }
2910
- function fo(e, t, r) {
2910
+ function ho(e, t, r) {
2911
2911
  return sn(t, (n, s) => {
2912
- e = nn(e, s, (i) => lo(i, n, r));
2912
+ e = nn(e, s, (i) => uo(i, n, r));
2913
2913
  }), e;
2914
2914
  }
2915
- function ho(e, t) {
2915
+ function yo(e, t) {
2916
2916
  function r(n, s) {
2917
- const i = uo(e, kt(s));
2917
+ const i = fo(e, kt(s));
2918
2918
  n.map(kt).forEach((a) => {
2919
2919
  e = nn(e, a, () => i);
2920
2920
  });
@@ -2928,12 +2928,12 @@ function ho(e, t) {
2928
2928
  wt(t, r);
2929
2929
  return e;
2930
2930
  }
2931
- var yo = (e, t) => Mt(e) || $e(e) || Lt(e) || $t(e) || Ms(e, t);
2932
- function mo(e, t, r) {
2931
+ var mo = (e, t) => Mt(e) || $e(e) || Lt(e) || $t(e) || Ms(e, t);
2932
+ function po(e, t, r) {
2933
2933
  const n = r.get(e);
2934
2934
  n ? n.push(t) : r.set(e, [t]);
2935
2935
  }
2936
- function po(e, t) {
2936
+ function go(e, t) {
2937
2937
  const r = {};
2938
2938
  let n;
2939
2939
  return e.forEach((s) => {
@@ -2945,16 +2945,16 @@ function po(e, t) {
2945
2945
  }), n ? rn(r) ? [n] : [n, r] : rn(r) ? void 0 : r;
2946
2946
  }
2947
2947
  var Hs = (e, t, r, n, s = [], i = [], a = /* @__PURE__ */ new Map()) => {
2948
- const o = ro(e);
2948
+ const o = no(e);
2949
2949
  if (!o) {
2950
- mo(e, s, t);
2950
+ po(e, s, t);
2951
2951
  const y = a.get(e);
2952
2952
  if (y)
2953
2953
  return n ? {
2954
2954
  transformedValue: null
2955
2955
  } : y;
2956
2956
  }
2957
- if (!yo(e, r)) {
2957
+ if (!mo(e, r)) {
2958
2958
  const y = xn(e, r), m = y ? {
2959
2959
  transformedValue: y.value,
2960
2960
  annotations: [y.type]
@@ -2991,13 +2991,13 @@ function Fs(e) {
2991
2991
  function Dn(e) {
2992
2992
  return Fs(e) === "Array";
2993
2993
  }
2994
- function go(e) {
2994
+ function bo(e) {
2995
2995
  if (Fs(e) !== "Object")
2996
2996
  return !1;
2997
2997
  const t = Object.getPrototypeOf(e);
2998
2998
  return !!t && t.constructor === Object && t === Object.prototype;
2999
2999
  }
3000
- function bo(e, t, r, n, s) {
3000
+ function wo(e, t, r, n, s) {
3001
3001
  const i = {}.propertyIsEnumerable.call(n, t) ? "enumerable" : "nonenumerable";
3002
3002
  i === "enumerable" && (e[t] = r), s && i === "nonenumerable" && Object.defineProperty(e, t, {
3003
3003
  value: r,
@@ -3009,14 +3009,14 @@ function bo(e, t, r, n, s) {
3009
3009
  function an(e, t = {}) {
3010
3010
  if (Dn(e))
3011
3011
  return e.map((s) => an(s, t));
3012
- if (!go(e))
3012
+ if (!bo(e))
3013
3013
  return e;
3014
3014
  const r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols(e);
3015
3015
  return [...r, ...n].reduce((s, i) => {
3016
3016
  if (Dn(t.props) && !t.props.includes(i))
3017
3017
  return s;
3018
3018
  const a = e[i], o = an(a, t);
3019
- return bo(s, i, o, e, t.nonenumerable), s;
3019
+ return wo(s, i, o, e, t.nonenumerable), s;
3020
3020
  }, {});
3021
3021
  }
3022
3022
  var x = class {
@@ -3024,7 +3024,7 @@ var x = class {
3024
3024
  * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
3025
3025
  */
3026
3026
  constructor({ dedupe: e = !1 } = {}) {
3027
- this.classRegistry = new ja(), this.symbolRegistry = new Os((t) => t.description ?? ""), this.customTransformerRegistry = new Wa(), this.allowedErrorProps = [], this.dedupe = e;
3027
+ this.classRegistry = new Ga(), this.symbolRegistry = new Os((t) => t.description ?? ""), this.customTransformerRegistry = new Ja(), this.allowedErrorProps = [], this.dedupe = e;
3028
3028
  }
3029
3029
  serialize(e) {
3030
3030
  const t = /* @__PURE__ */ new Map(), r = Hs(e, t, this, this.dedupe), n = {
@@ -3034,7 +3034,7 @@ var x = class {
3034
3034
  ...n.meta,
3035
3035
  values: r.annotations
3036
3036
  });
3037
- const s = po(t, this.dedupe);
3037
+ const s = go(t, this.dedupe);
3038
3038
  return s && (n.meta = {
3039
3039
  ...n.meta,
3040
3040
  referentialEqualities: s
@@ -3043,7 +3043,7 @@ var x = class {
3043
3043
  deserialize(e) {
3044
3044
  const { json: t, meta: r } = e;
3045
3045
  let n = an(t);
3046
- return r != null && r.values && (n = fo(n, r.values, this)), r != null && r.referentialEqualities && (n = ho(n, r.referentialEqualities)), n;
3046
+ return r != null && r.values && (n = ho(n, r.values, this)), r != null && r.referentialEqualities && (n = yo(n, r.referentialEqualities)), n;
3047
3047
  }
3048
3048
  stringify(e) {
3049
3049
  return JSON.stringify(this.serialize(e));
@@ -3076,44 +3076,44 @@ x.registerClass = x.defaultInstance.registerClass.bind(x.defaultInstance);
3076
3076
  x.registerSymbol = x.defaultInstance.registerSymbol.bind(x.defaultInstance);
3077
3077
  x.registerCustom = x.defaultInstance.registerCustom.bind(x.defaultInstance);
3078
3078
  x.allowErrorProps = x.defaultInstance.allowErrorProps.bind(x.defaultInstance);
3079
- var wo = x.serialize, Pu = x.stringify;
3080
- function xu(e) {
3079
+ var vo = x.serialize, Hu = x.stringify;
3080
+ function Fu(e) {
3081
3081
  return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
3082
3082
  }
3083
- function Du(e, t) {
3083
+ function Bu(e, t) {
3084
3084
  return `${e}${t.charAt(0).toUpperCase() + t.slice(1)}`;
3085
3085
  }
3086
- function Mu({
3086
+ function Vu({
3087
3087
  queryState: e,
3088
3088
  observerCount: t,
3089
3089
  isStale: r
3090
3090
  }) {
3091
3091
  return e.fetchStatus === "fetching" ? "blue" : t ? e.fetchStatus === "paused" ? "purple" : r ? "yellow" : "green" : "gray";
3092
3092
  }
3093
- function Lu({
3093
+ function ju({
3094
3094
  status: e,
3095
3095
  isPaused: t
3096
3096
  }) {
3097
3097
  return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
3098
3098
  }
3099
- function $u(e) {
3099
+ function Gu(e) {
3100
3100
  return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
3101
3101
  }
3102
- var Uu = (e, t = !1) => {
3102
+ var qu = (e, t = !1) => {
3103
3103
  const {
3104
3104
  json: r
3105
- } = wo(e);
3105
+ } = vo(e);
3106
3106
  return JSON.stringify(r, null, t ? 2 : void 0);
3107
- }, Qt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, vo = (e, t) => e.queryHash.localeCompare(t.queryHash), Bs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Eo = (e, t) => Qt(e) === Qt(t) ? Bs(e, t) : Qt(e) > Qt(t) ? 1 : -1, Ku = {
3108
- status: Eo,
3109
- "query hash": vo,
3110
- "last updated": Bs
3111
- }, Yt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Vs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, So = (e, t) => Yt(e) === Yt(t) ? Vs(e, t) : Yt(e) > Yt(t) ? 1 : -1, Hu = {
3107
+ }, Qt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Eo = (e, t) => e.queryHash.localeCompare(t.queryHash), Bs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, So = (e, t) => Qt(e) === Qt(t) ? Bs(e, t) : Qt(e) > Qt(t) ? 1 : -1, Wu = {
3112
3108
  status: So,
3109
+ "query hash": Eo,
3110
+ "last updated": Bs
3111
+ }, Yt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Vs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Ao = (e, t) => Yt(e) === Yt(t) ? Vs(e, t) : Yt(e) > Yt(t) ? 1 : -1, Ju = {
3112
+ status: Ao,
3113
3113
  "last updated": Vs
3114
- }, Fu = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), Bu = () => {
3114
+ }, zu = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), Qu = () => {
3115
3115
  const [e, t] = ne("dark");
3116
- return ra(() => {
3116
+ return na(() => {
3117
3117
  const r = window.matchMedia("(prefers-color-scheme: dark)");
3118
3118
  t(r.matches ? "dark" : "light");
3119
3119
  const n = (s) => {
@@ -3181,11 +3181,11 @@ var Uu = (e, t = !1) => {
3181
3181
  return r[n] = Zt(r[n], s), r;
3182
3182
  }
3183
3183
  return e;
3184
- }, Ao = (e, t) => {
3184
+ }, To = (e, t) => {
3185
3185
  if (!e || document.querySelector("#_goober") || (t == null ? void 0 : t.querySelector("#_goober"))) return;
3186
3186
  const n = document.createElement("style"), s = document.createTextNode("");
3187
3187
  n.appendChild(s), n.id = "_goober", n.setAttribute("nonce", e), t ? t.appendChild(n) : document.head.appendChild(n);
3188
- }, ft, Ft, Bt, Vt, Ge, jt, ht, yt, mt, pt, gt, bt, Gt, is, To = (is = class {
3188
+ }, ft, Ft, Bt, Vt, Ge, jt, ht, yt, mt, pt, gt, bt, Gt, is, Io = (is = class {
3189
3189
  constructor(e) {
3190
3190
  I(this, ft);
3191
3191
  I(this, Ft);
@@ -3232,10 +3232,10 @@ var Uu = (e, t = !1) => {
3232
3232
  mount(e) {
3233
3233
  if (f(this, Ge))
3234
3234
  throw new Error("Devtools is already mounted");
3235
- const t = Ca(() => {
3235
+ const t = _a(() => {
3236
3236
  const r = this, [n] = f(this, yt), [s] = f(this, mt), [i] = f(this, pt), [a] = f(this, gt), [o] = f(this, ft);
3237
3237
  let c;
3238
- return f(this, bt) ? c = f(this, bt) : (c = ga(() => import("./CPIOZS5X.kPb6YQto.js")), w(this, bt, c)), Ao(f(this, jt), f(this, ht)), ha(c, ma({
3238
+ return f(this, bt) ? c = f(this, bt) : (c = ba(() => import("./CPIOZS5X.DT19NwLf.js")), w(this, bt, c)), To(f(this, jt), f(this, ht)), ya(c, pa({
3239
3239
  get queryFlavor() {
3240
3240
  return f(r, Bt);
3241
3241
  },
@@ -3275,8 +3275,8 @@ var Uu = (e, t = !1) => {
3275
3275
  (e = f(this, Gt)) == null || e.call(this), w(this, Ge, !1);
3276
3276
  }
3277
3277
  }, ft = new WeakMap(), Ft = new WeakMap(), Bt = new WeakMap(), Vt = new WeakMap(), Ge = new WeakMap(), jt = new WeakMap(), ht = new WeakMap(), yt = new WeakMap(), mt = new WeakMap(), pt = new WeakMap(), gt = new WeakMap(), bt = new WeakMap(), Gt = new WeakMap(), is);
3278
- function Io(e) {
3279
- const t = Qi(e.client), r = ae.useRef(null), {
3278
+ function ko(e) {
3279
+ const t = Yi(e.client), r = ae.useRef(null), {
3280
3280
  buttonPosition: n,
3281
3281
  position: s,
3282
3282
  initialIsOpen: i,
@@ -3284,7 +3284,7 @@ function Io(e) {
3284
3284
  styleNonce: o,
3285
3285
  shadowDOMTarget: c
3286
3286
  } = e, [l] = ae.useState(
3287
- new To({
3287
+ new Io({
3288
3288
  client: t,
3289
3289
  queryFlavor: "React Query",
3290
3290
  version: "5",
@@ -3311,9 +3311,9 @@ function Io(e) {
3311
3311
  l.unmount();
3312
3312
  }), [l]), /* @__PURE__ */ p("div", { dir: "ltr", className: "tsqd-parent-container", ref: r });
3313
3313
  }
3314
- var ko = process.env.NODE_ENV !== "development" ? function() {
3314
+ var Ro = process.env.NODE_ENV !== "development" ? function() {
3315
3315
  return null;
3316
- } : Io, Ro = Object.defineProperty, Oo = (e, t, r) => t in e ? Ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lr = (e, t, r) => Oo(e, typeof t != "symbol" ? t + "" : t, r);
3316
+ } : ko, Oo = Object.defineProperty, Co = (e, t, r) => t in e ? Oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lr = (e, t, r) => Co(e, typeof t != "symbol" ? t + "" : t, r);
3317
3317
  /*!
3318
3318
  @versini/auth-provider v7.5.3
3319
3319
  © 2025 gizmette.com
@@ -3341,9 +3341,9 @@ function br(e) {
3341
3341
  return i;
3342
3342
  }
3343
3343
  function hn() {
3344
- return Co.stubThis((globalThis == null ? void 0 : globalThis.PublicKeyCredential) !== void 0 && typeof globalThis.PublicKeyCredential == "function");
3344
+ return _o.stubThis((globalThis == null ? void 0 : globalThis.PublicKeyCredential) !== void 0 && typeof globalThis.PublicKeyCredential == "function");
3345
3345
  }
3346
- const Co = {
3346
+ const _o = {
3347
3347
  stubThis: (e) => e
3348
3348
  };
3349
3349
  function js(e) {
@@ -3375,7 +3375,7 @@ let G = class extends Error {
3375
3375
  }), this.name = s ?? n.name, this.code = r;
3376
3376
  }
3377
3377
  };
3378
- function _o({ error: e, options: t }) {
3378
+ function No({ error: e, options: t }) {
3379
3379
  var n, s, i;
3380
3380
  const { publicKey: r } = t;
3381
3381
  if (!r)
@@ -3462,7 +3462,7 @@ function _o({ error: e, options: t }) {
3462
3462
  }
3463
3463
  return e;
3464
3464
  }
3465
- class No {
3465
+ class Po {
3466
3466
  constructor() {
3467
3467
  Object.defineProperty(this, "controller", {
3468
3468
  enumerable: !0,
@@ -3486,12 +3486,12 @@ class No {
3486
3486
  }
3487
3487
  }
3488
3488
  }
3489
- const qs = new No(), Po = ["cross-platform", "platform"];
3489
+ const qs = new Po(), xo = ["cross-platform", "platform"];
3490
3490
  function Ws(e) {
3491
- if (e && !(Po.indexOf(e) < 0))
3491
+ if (e && !(xo.indexOf(e) < 0))
3492
3492
  return e;
3493
3493
  }
3494
- async function xo(e) {
3494
+ async function Do(e) {
3495
3495
  var m;
3496
3496
  !e.optionsJSON && e.challenge && (console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."), e = { optionsJSON: e });
3497
3497
  const { optionsJSON: t, useAutoRegister: r = !1 } = e;
@@ -3511,7 +3511,7 @@ async function xo(e) {
3511
3511
  try {
3512
3512
  i = await navigator.credentials.create(s);
3513
3513
  } catch (g) {
3514
- throw _o({ error: g, options: s });
3514
+ throw No({ error: g, options: s });
3515
3515
  }
3516
3516
  if (!i)
3517
3517
  throw new Error("Registration was not completed");
@@ -3560,7 +3560,7 @@ function $r(e, t) {
3560
3560
  console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
3561
3561
  `, t);
3562
3562
  }
3563
- function Do() {
3563
+ function Mo() {
3564
3564
  if (!hn())
3565
3565
  return Ur.stubThis(new Promise((t) => t(!1)));
3566
3566
  const e = globalThis.PublicKeyCredential;
@@ -3569,7 +3569,7 @@ function Do() {
3569
3569
  const Ur = {
3570
3570
  stubThis: (e) => e
3571
3571
  };
3572
- function Mo({ error: e, options: t }) {
3572
+ function Lo({ error: e, options: t }) {
3573
3573
  const { publicKey: r } = t;
3574
3574
  if (!r)
3575
3575
  throw Error("options was missing required publicKey property");
@@ -3610,7 +3610,7 @@ function Mo({ error: e, options: t }) {
3610
3610
  }
3611
3611
  return e;
3612
3612
  }
3613
- async function Lo(e) {
3613
+ async function $o(e) {
3614
3614
  var y, m;
3615
3615
  !e.optionsJSON && e.challenge && (console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."), e = { optionsJSON: e });
3616
3616
  const { optionsJSON: t, useBrowserAutofill: r = !1, verifyBrowserAutofillInput: n = !0 } = e;
@@ -3624,7 +3624,7 @@ async function Lo(e) {
3624
3624
  allowCredentials: s
3625
3625
  }, a = {};
3626
3626
  if (r) {
3627
- if (!await Do())
3627
+ if (!await Mo())
3628
3628
  throw Error("Browser does not support WebAuthn autofill");
3629
3629
  if (document.querySelectorAll("input[autocomplete$='webauthn']").length < 1 && n)
3630
3630
  throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
@@ -3635,7 +3635,7 @@ async function Lo(e) {
3635
3635
  try {
3636
3636
  o = await navigator.credentials.get(a);
3637
3637
  } catch (g) {
3638
- throw Mo({ error: g, options: a });
3638
+ throw Lo({ error: g, options: a });
3639
3639
  }
3640
3640
  if (!o)
3641
3641
  throw new Error("Authentication was not completed");
@@ -3655,7 +3655,7 @@ async function Lo(e) {
3655
3655
  authenticatorAttachment: Ws(o.authenticatorAttachment)
3656
3656
  };
3657
3657
  }
3658
- var $o = Object.defineProperty, Uo = (e, t, r) => t in e ? $o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, K = (e, t, r) => Uo(e, typeof t != "symbol" ? t + "" : t, r);
3658
+ var Uo = Object.defineProperty, Ko = (e, t, r) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, K = (e, t, r) => Ko(e, typeof t != "symbol" ? t + "" : t, r);
3659
3659
  /*!
3660
3660
  @versini/auth-common v4.2.1
3661
3661
  © 2025 gizmette.com
@@ -3684,7 +3684,7 @@ const Rt = {
3684
3684
  AUTH_TYPE_KEY: "auth_type",
3685
3685
  SCOPES_KEY: "scopes",
3686
3686
  ISSUER: "gizmette.com"
3687
- }, Ko = `-----BEGIN PUBLIC KEY-----
3687
+ }, Ho = `-----BEGIN PUBLIC KEY-----
3688
3688
  MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
3689
3689
  w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
3690
3690
  i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
@@ -3698,14 +3698,14 @@ awIDAQAB
3698
3698
  LOGIN: "login",
3699
3699
  REFRESH: "refresh"
3700
3700
  }, er = new TextEncoder(), vt = new TextDecoder();
3701
- function Ho(...e) {
3701
+ function Fo(...e) {
3702
3702
  const t = e.reduce((s, { length: i }) => s + i, 0), r = new Uint8Array(t);
3703
3703
  let n = 0;
3704
3704
  for (const s of e)
3705
3705
  r.set(s, n), n += s.length;
3706
3706
  return r;
3707
3707
  }
3708
- function Fo(e) {
3708
+ function Bo(e) {
3709
3709
  if (Uint8Array.fromBase64)
3710
3710
  return Uint8Array.fromBase64(e);
3711
3711
  const t = atob(e), r = new Uint8Array(t.length);
@@ -3721,7 +3721,7 @@ function Ot(e) {
3721
3721
  let t = e;
3722
3722
  t instanceof Uint8Array && (t = vt.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
3723
3723
  try {
3724
- return Fo(t);
3724
+ return Bo(t);
3725
3725
  } catch {
3726
3726
  throw new TypeError("The input to be decoded is not correctly encoded.");
3727
3727
  }
@@ -3784,7 +3784,7 @@ function At(e, t) {
3784
3784
  function Kr(e) {
3785
3785
  return parseInt(e.name.slice(4), 10);
3786
3786
  }
3787
- function Bo(e) {
3787
+ function Vo(e) {
3788
3788
  switch (e) {
3789
3789
  case "ES256":
3790
3790
  return "P-256";
@@ -3796,11 +3796,11 @@ function Bo(e) {
3796
3796
  throw new Error("unreachable");
3797
3797
  }
3798
3798
  }
3799
- function Vo(e, t) {
3799
+ function jo(e, t) {
3800
3800
  if (!e.usages.includes(t))
3801
3801
  throw new TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`);
3802
3802
  }
3803
- function jo(e, t, r) {
3803
+ function Go(e, t, r) {
3804
3804
  switch (t) {
3805
3805
  case "HS256":
3806
3806
  case "HS384":
@@ -3843,7 +3843,7 @@ function jo(e, t, r) {
3843
3843
  case "ES512": {
3844
3844
  if (!At(e.algorithm, "ECDSA"))
3845
3845
  throw ve("ECDSA");
3846
- const n = Bo(t);
3846
+ const n = Vo(t);
3847
3847
  if (e.algorithm.namedCurve !== n)
3848
3848
  throw ve(n, "algorithm.namedCurve");
3849
3849
  break;
@@ -3851,7 +3851,7 @@ function jo(e, t, r) {
3851
3851
  default:
3852
3852
  throw new TypeError("CryptoKey does not support this operation");
3853
3853
  }
3854
- Vo(e, r);
3854
+ jo(e, r);
3855
3855
  }
3856
3856
  function Ys(e, t, ...r) {
3857
3857
  var n;
@@ -3861,7 +3861,7 @@ function Ys(e, t, ...r) {
3861
3861
  } else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
3862
3862
  return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && (n = t.constructor) != null && n.name && (e += ` Received an instance of ${t.constructor.name}`), e;
3863
3863
  }
3864
- const Go = (e, ...t) => Ys("Key must be ", e, ...t);
3864
+ const qo = (e, ...t) => Ys("Key must be ", e, ...t);
3865
3865
  function Xs(e, t, ...r) {
3866
3866
  return Ys(`Key for the ${e} algorithm must be `, t, ...r);
3867
3867
  }
@@ -3871,7 +3871,7 @@ function Zs(e) {
3871
3871
  function ei(e) {
3872
3872
  return (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject";
3873
3873
  }
3874
- const ti = (e) => Zs(e) || ei(e), qo = (...e) => {
3874
+ const ti = (e) => Zs(e) || ei(e), Wo = (...e) => {
3875
3875
  const t = e.filter(Boolean);
3876
3876
  if (t.length === 0 || t.length === 1)
3877
3877
  return !0;
@@ -3890,11 +3890,11 @@ const ti = (e) => Zs(e) || ei(e), qo = (...e) => {
3890
3890
  }
3891
3891
  return !0;
3892
3892
  };
3893
- function Wo(e) {
3893
+ function Jo(e) {
3894
3894
  return typeof e == "object" && e !== null;
3895
3895
  }
3896
3896
  const Ut = (e) => {
3897
- if (!Wo(e) || Object.prototype.toString.call(e) !== "[object Object]")
3897
+ if (!Jo(e) || Object.prototype.toString.call(e) !== "[object Object]")
3898
3898
  return !1;
3899
3899
  if (Object.getPrototypeOf(e) === null)
3900
3900
  return !0;
@@ -3902,7 +3902,7 @@ const Ut = (e) => {
3902
3902
  for (; Object.getPrototypeOf(t) !== null; )
3903
3903
  t = Object.getPrototypeOf(t);
3904
3904
  return Object.getPrototypeOf(e) === t;
3905
- }, Jo = (e, t) => {
3905
+ }, zo = (e, t) => {
3906
3906
  if (e.startsWith("RS") || e.startsWith("PS")) {
3907
3907
  const { modulusLength: r } = t.algorithm;
3908
3908
  if (typeof r != "number" || r < 2048)
@@ -3915,7 +3915,7 @@ const Ut = (e) => {
3915
3915
  return !1;
3916
3916
  const s = e.subarray(n, n + t.length);
3917
3917
  return s.length !== t.length ? !1 : s.every((i, a) => i === t[a]) || ar(e, t, n + 1);
3918
- }, zo = (e) => {
3918
+ }, Qo = (e) => {
3919
3919
  switch (!0) {
3920
3920
  case ar(e, [42, 134, 72, 206, 61, 3, 1, 7]):
3921
3921
  return "P-256";
@@ -3926,7 +3926,7 @@ const Ut = (e) => {
3926
3926
  default:
3927
3927
  return;
3928
3928
  }
3929
- }, Qo = async (e, t, r, n, s) => {
3929
+ }, Yo = async (e, t, r, n, s) => {
3930
3930
  let i, a;
3931
3931
  const o = new Uint8Array(atob(r.replace(e, "")).split("").map((c) => c.charCodeAt(0)));
3932
3932
  switch (n) {
@@ -3962,7 +3962,7 @@ const Ut = (e) => {
3962
3962
  case "ECDH-ES+A128KW":
3963
3963
  case "ECDH-ES+A192KW":
3964
3964
  case "ECDH-ES+A256KW": {
3965
- const c = zo(o);
3965
+ const c = Qo(o);
3966
3966
  i = c != null && c.startsWith("P-") ? { name: "ECDH", namedCurve: c } : { name: "X25519" }, a = [];
3967
3967
  break;
3968
3968
  }
@@ -3974,8 +3974,8 @@ const Ut = (e) => {
3974
3974
  throw new Me('Invalid or unsupported "alg" (Algorithm) value');
3975
3975
  }
3976
3976
  return crypto.subtle.importKey(t, o, i, !0, a);
3977
- }, Yo = (e, t, r) => Qo(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
3978
- function Xo(e) {
3977
+ }, Xo = (e, t, r) => Yo(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
3978
+ function Zo(e) {
3979
3979
  let t, r;
3980
3980
  switch (e.kty) {
3981
3981
  case "RSA": {
@@ -4048,18 +4048,18 @@ function Xo(e) {
4048
4048
  }
4049
4049
  return { algorithm: t, keyUsages: r };
4050
4050
  }
4051
- const Zo = async (e) => {
4051
+ const ec = async (e) => {
4052
4052
  if (!e.alg)
4053
4053
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
4054
- const { algorithm: t, keyUsages: r } = Xo(e), n = { ...e };
4054
+ const { algorithm: t, keyUsages: r } = Zo(e), n = { ...e };
4055
4055
  return delete n.alg, delete n.use, crypto.subtle.importKey("jwk", n, t, e.ext ?? !e.d, e.key_ops ?? r);
4056
4056
  };
4057
- async function ec(e, t, r) {
4057
+ async function tc(e, t, r) {
4058
4058
  if (e.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
4059
4059
  throw new TypeError('"spki" must be SPKI formatted string');
4060
- return Yo(e, t);
4060
+ return Xo(e, t);
4061
4061
  }
4062
- const tc = (e, t, r, n, s) => {
4062
+ const rc = (e, t, r, n, s) => {
4063
4063
  if (s.crit !== void 0 && (n == null ? void 0 : n.crit) === void 0)
4064
4064
  throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
4065
4065
  if (!n || n.crit === void 0)
@@ -4077,7 +4077,7 @@ const tc = (e, t, r, n, s) => {
4077
4077
  throw new e(`Extension Header Parameter "${a}" MUST be integrity protected`);
4078
4078
  }
4079
4079
  return new Set(n.crit);
4080
- }, rc = (e, t) => {
4080
+ }, nc = (e, t) => {
4081
4081
  if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
4082
4082
  throw new TypeError(`"${e}" option must be an array of strings`);
4083
4083
  if (t)
@@ -4086,13 +4086,13 @@ const tc = (e, t, r, n, s) => {
4086
4086
  function yn(e) {
4087
4087
  return Ut(e) && typeof e.kty == "string";
4088
4088
  }
4089
- function nc(e) {
4089
+ function sc(e) {
4090
4090
  return e.kty !== "oct" && typeof e.d == "string";
4091
4091
  }
4092
- function sc(e) {
4092
+ function ic(e) {
4093
4093
  return e.kty !== "oct" && typeof e.d > "u";
4094
4094
  }
4095
- function ic(e) {
4095
+ function ac(e) {
4096
4096
  return e.kty === "oct" && typeof e.k == "string";
4097
4097
  }
4098
4098
  let Le;
@@ -4101,9 +4101,9 @@ const Mn = async (e, t, r, n = !1) => {
4101
4101
  let s = Le.get(e);
4102
4102
  if (s != null && s[r])
4103
4103
  return s[r];
4104
- const i = await Zo({ ...t, alg: r });
4104
+ const i = await ec({ ...t, alg: r });
4105
4105
  return n && Object.freeze(e), s ? s[r] = i : Le.set(e, { [r]: i }), i;
4106
- }, ac = (e, t) => {
4106
+ }, oc = (e, t) => {
4107
4107
  var r;
4108
4108
  Le || (Le = /* @__PURE__ */ new WeakMap());
4109
4109
  let n = Le.get(e);
@@ -4189,7 +4189,7 @@ const Mn = async (e, t, r, n = !1) => {
4189
4189
  if (!a)
4190
4190
  throw new TypeError("given KeyObject instance cannot be used for this algorithm");
4191
4191
  return n ? n[t] = a : Le.set(e, { [t]: a }), a;
4192
- }, oc = async (e, t) => {
4192
+ }, cc = async (e, t) => {
4193
4193
  if (e instanceof Uint8Array || Zs(e))
4194
4194
  return e;
4195
4195
  if (ei(e)) {
@@ -4197,7 +4197,7 @@ const Mn = async (e, t, r, n = !1) => {
4197
4197
  return e.export();
4198
4198
  if ("toCryptoKey" in e && typeof e.toCryptoKey == "function")
4199
4199
  try {
4200
- return ac(e, t);
4200
+ return oc(e, t);
4201
4201
  } catch (n) {
4202
4202
  if (n instanceof TypeError)
4203
4203
  throw n;
@@ -4252,10 +4252,10 @@ const Mn = async (e, t, r, n = !1) => {
4252
4252
  throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${i}" when present`);
4253
4253
  }
4254
4254
  return !0;
4255
- }, cc = (e, t, r) => {
4255
+ }, lc = (e, t, r) => {
4256
4256
  if (!(t instanceof Uint8Array)) {
4257
4257
  if (yn(t)) {
4258
- if (ic(t) && cn(e, t, r))
4258
+ if (ac(t) && cn(e, t, r))
4259
4259
  return;
4260
4260
  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');
4261
4261
  }
@@ -4264,17 +4264,17 @@ const Mn = async (e, t, r, n = !1) => {
4264
4264
  if (t.type !== "secret")
4265
4265
  throw new TypeError(`${tt(t)} instances for symmetric algorithms must be of type "secret"`);
4266
4266
  }
4267
- }, lc = (e, t, r) => {
4267
+ }, uc = (e, t, r) => {
4268
4268
  if (yn(t))
4269
4269
  switch (r) {
4270
4270
  case "decrypt":
4271
4271
  case "sign":
4272
- if (nc(t) && cn(e, t, r))
4272
+ if (sc(t) && cn(e, t, r))
4273
4273
  return;
4274
4274
  throw new TypeError("JSON Web Key for this operation be a private JWK");
4275
4275
  case "encrypt":
4276
4276
  case "verify":
4277
- if (sc(t) && cn(e, t, r))
4277
+ if (ic(t) && cn(e, t, r))
4278
4278
  return;
4279
4279
  throw new TypeError("JSON Web Key for this operation be a public JWK");
4280
4280
  }
@@ -4296,9 +4296,9 @@ const Mn = async (e, t, r, n = !1) => {
4296
4296
  case "encrypt":
4297
4297
  throw new TypeError(`${tt(t)} instances for asymmetric algorithm encryption must be of type "public"`);
4298
4298
  }
4299
- }, uc = (e, t, r) => {
4300
- e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ? cc(e, t, r) : lc(e, t, r);
4301
- }, dc = (e, t) => {
4299
+ }, dc = (e, t, r) => {
4300
+ e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ? lc(e, t, r) : uc(e, t, r);
4301
+ }, fc = (e, t) => {
4302
4302
  const r = `SHA-${e.slice(-3)}`;
4303
4303
  switch (e) {
4304
4304
  case "HS256":
@@ -4323,24 +4323,24 @@ const Mn = async (e, t, r, n = !1) => {
4323
4323
  default:
4324
4324
  throw new Me(`alg ${e} is not supported either by JOSE or your javascript runtime`);
4325
4325
  }
4326
- }, fc = async (e, t, r) => {
4326
+ }, hc = async (e, t, r) => {
4327
4327
  if (t instanceof Uint8Array) {
4328
4328
  if (!e.startsWith("HS"))
4329
- throw new TypeError(Go(t, "CryptoKey", "KeyObject", "JSON Web Key"));
4329
+ throw new TypeError(qo(t, "CryptoKey", "KeyObject", "JSON Web Key"));
4330
4330
  return crypto.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
4331
4331
  }
4332
- return jo(t, e, r), t;
4333
- }, hc = async (e, t, r, n) => {
4334
- const s = await fc(e, t, "verify");
4335
- Jo(e, s);
4336
- const i = dc(e, s.algorithm);
4332
+ return Go(t, e, r), t;
4333
+ }, yc = async (e, t, r, n) => {
4334
+ const s = await hc(e, t, "verify");
4335
+ zo(e, s);
4336
+ const i = fc(e, s.algorithm);
4337
4337
  try {
4338
4338
  return await crypto.subtle.verify(i, s, r, n);
4339
4339
  } catch {
4340
4340
  return !1;
4341
4341
  }
4342
4342
  };
4343
- async function yc(e, t, r) {
4343
+ async function mc(e, t, r) {
4344
4344
  if (!Ut(e))
4345
4345
  throw new B("Flattened JWS must be an object");
4346
4346
  if (e.protected === void 0 && e.header === void 0)
@@ -4361,19 +4361,19 @@ async function yc(e, t, r) {
4361
4361
  } catch {
4362
4362
  throw new B("JWS Protected Header is invalid");
4363
4363
  }
4364
- if (!qo(n, e.header))
4364
+ if (!Wo(n, e.header))
4365
4365
  throw new B("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
4366
4366
  const s = {
4367
4367
  ...n,
4368
4368
  ...e.header
4369
- }, i = tc(B, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, n, s);
4369
+ }, i = rc(B, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, n, s);
4370
4370
  let a = !0;
4371
4371
  if (i.has("b64") && (a = n.b64, typeof a != "boolean"))
4372
4372
  throw new B('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
4373
4373
  const { alg: o } = s;
4374
4374
  if (typeof o != "string" || !o)
4375
4375
  throw new B('JWS "alg" (Algorithm) Header Parameter missing or invalid');
4376
- const c = r && rc("algorithms", r.algorithms);
4376
+ const c = r && nc("algorithms", r.algorithms);
4377
4377
  if (c && !c.has(o))
4378
4378
  throw new zs('"alg" (Algorithm) Header Parameter value not allowed');
4379
4379
  if (a) {
@@ -4382,16 +4382,16 @@ async function yc(e, t, r) {
4382
4382
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
4383
4383
  throw new B("JWS Payload must be a string or an Uint8Array instance");
4384
4384
  let l = !1;
4385
- typeof t == "function" && (t = await t(n, e), l = !0), uc(o, t, "verify");
4386
- const d = Ho(er.encode(e.protected ?? ""), er.encode("."), typeof e.payload == "string" ? er.encode(e.payload) : e.payload);
4385
+ typeof t == "function" && (t = await t(n, e), l = !0), dc(o, t, "verify");
4386
+ const d = Fo(er.encode(e.protected ?? ""), er.encode("."), typeof e.payload == "string" ? er.encode(e.payload) : e.payload);
4387
4387
  let u;
4388
4388
  try {
4389
4389
  u = Ot(e.signature);
4390
4390
  } catch {
4391
4391
  throw new B("Failed to base64url decode the signature");
4392
4392
  }
4393
- const h = await oc(t, o);
4394
- if (!await hc(o, h, u, d))
4393
+ const h = await cc(t, o);
4394
+ if (!await yc(o, h, u, d))
4395
4395
  throw new Qs();
4396
4396
  let y;
4397
4397
  if (a)
@@ -4404,17 +4404,17 @@ async function yc(e, t, r) {
4404
4404
  const m = { payload: y };
4405
4405
  return e.protected !== void 0 && (m.protectedHeader = n), e.header !== void 0 && (m.unprotectedHeader = e.header), l ? { ...m, key: h } : m;
4406
4406
  }
4407
- async function mc(e, t, r) {
4407
+ async function pc(e, t, r) {
4408
4408
  if (e instanceof Uint8Array && (e = vt.decode(e)), typeof e != "string")
4409
4409
  throw new B("Compact JWS must be a string or Uint8Array");
4410
4410
  const { 0: n, 1: s, 2: i, length: a } = e.split(".");
4411
4411
  if (a !== 3)
4412
4412
  throw new B("Invalid Compact JWS");
4413
- const o = await yc({ payload: s, protected: n, signature: i }, t, r), c = { payload: o.payload, protectedHeader: o.protectedHeader };
4413
+ const o = await mc({ payload: s, protected: n, signature: i }, t, r), c = { payload: o.payload, protectedHeader: o.protectedHeader };
4414
4414
  return typeof t == "function" ? { ...c, key: o.key } : c;
4415
4415
  }
4416
- const pc = (e) => Math.floor(e.getTime() / 1e3), ri = 60, ni = ri * 60, mn = ni * 24, gc = mn * 7, bc = mn * 365.25, wc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Ln = (e) => {
4417
- const t = wc.exec(e);
4416
+ const gc = (e) => Math.floor(e.getTime() / 1e3), ri = 60, ni = ri * 60, mn = ni * 24, bc = mn * 7, wc = mn * 365.25, vc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Ln = (e) => {
4417
+ const t = vc.exec(e);
4418
4418
  if (!t || t[4] && t[1])
4419
4419
  throw new TypeError("Invalid time period format");
4420
4420
  const r = parseFloat(t[2]), n = t[3].toLowerCase();
@@ -4449,15 +4449,15 @@ const pc = (e) => Math.floor(e.getTime() / 1e3), ri = 60, ni = ri * 60, mn = ni
4449
4449
  case "week":
4450
4450
  case "weeks":
4451
4451
  case "w":
4452
- s = Math.round(r * gc);
4452
+ s = Math.round(r * bc);
4453
4453
  break;
4454
4454
  default:
4455
- s = Math.round(r * bc);
4455
+ s = Math.round(r * wc);
4456
4456
  break;
4457
4457
  }
4458
4458
  return t[1] === "-" || t[4] === "ago" ? -s : s;
4459
- }, $n = (e) => e.toLowerCase().replace(/^application\//, ""), vc = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
4460
- function Ec(e, t, r = {}) {
4459
+ }, $n = (e) => e.toLowerCase().replace(/^application\//, ""), Ec = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
4460
+ function Sc(e, t, r = {}) {
4461
4461
  let n;
4462
4462
  try {
4463
4463
  n = JSON.parse(vt.decode(t));
@@ -4477,7 +4477,7 @@ function Ec(e, t, r = {}) {
4477
4477
  throw new ie('unexpected "iss" claim value', n, "iss", "check_failed");
4478
4478
  if (o && n.sub !== o)
4479
4479
  throw new ie('unexpected "sub" claim value', n, "sub", "check_failed");
4480
- if (c && !vc(n.aud, typeof c == "string" ? [c] : c))
4480
+ if (c && !Ec(n.aud, typeof c == "string" ? [c] : c))
4481
4481
  throw new ie('unexpected "aud" claim value', n, "aud", "check_failed");
4482
4482
  let u;
4483
4483
  switch (typeof r.clockTolerance) {
@@ -4493,7 +4493,7 @@ function Ec(e, t, r = {}) {
4493
4493
  default:
4494
4494
  throw new TypeError("Invalid clockTolerance option type");
4495
4495
  }
4496
- const { currentDate: h } = r, y = pc(h || /* @__PURE__ */ new Date());
4496
+ const { currentDate: h } = r, y = gc(h || /* @__PURE__ */ new Date());
4497
4497
  if ((n.iat !== void 0 || l) && typeof n.iat != "number")
4498
4498
  throw new ie('"iat" claim must be a number', n, "iat", "invalid");
4499
4499
  if (n.nbf !== void 0) {
@@ -4517,15 +4517,15 @@ function Ec(e, t, r = {}) {
4517
4517
  }
4518
4518
  return n;
4519
4519
  }
4520
- async function Sc(e, t, r) {
4520
+ async function Ac(e, t, r) {
4521
4521
  var n;
4522
- const s = await mc(e, t, r);
4522
+ const s = await pc(e, t, r);
4523
4523
  if ((n = s.protectedHeader.crit) != null && n.includes("b64") && s.protectedHeader.b64 === !1)
4524
4524
  throw new fe("JWTs MUST NOT use unencoded payload");
4525
- const i = { payload: Ec(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
4525
+ const i = { payload: Sc(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
4526
4526
  return typeof t == "function" ? { ...i, key: s.key } : i;
4527
4527
  }
4528
- function Ac(e) {
4528
+ function Tc(e) {
4529
4529
  if (typeof e != "string")
4530
4530
  throw new fe("JWTs must use Compact JWS serialization, JWT must be a string");
4531
4531
  const { 1: t, length: r } = e.split(".");
@@ -4553,65 +4553,65 @@ function Ac(e) {
4553
4553
  }
4554
4554
  const Et = async (e) => {
4555
4555
  try {
4556
- const t = F.ALG, r = await ec(Ko, t);
4557
- return await Sc(e, r, {
4556
+ const t = F.ALG, r = await tc(Ho, t);
4557
+ return await Ac(e, r, {
4558
4558
  issuer: F.ISSUER
4559
4559
  });
4560
4560
  } catch {
4561
4561
  return;
4562
4562
  }
4563
- }, Tc = (e) => {
4563
+ }, Ic = (e) => {
4564
4564
  try {
4565
- return Ac(e);
4565
+ return Tc(e);
4566
4566
  } catch {
4567
4567
  return;
4568
4568
  }
4569
4569
  }, V = [];
4570
4570
  for (let e = 0; e < 256; ++e)
4571
4571
  V.push((e + 256).toString(16).slice(1));
4572
- function Ic(e, t = 0) {
4572
+ function kc(e, t = 0) {
4573
4573
  return (V[e[t + 0]] + V[e[t + 1]] + V[e[t + 2]] + V[e[t + 3]] + "-" + V[e[t + 4]] + V[e[t + 5]] + "-" + V[e[t + 6]] + V[e[t + 7]] + "-" + V[e[t + 8]] + V[e[t + 9]] + "-" + V[e[t + 10]] + V[e[t + 11]] + V[e[t + 12]] + V[e[t + 13]] + V[e[t + 14]] + V[e[t + 15]]).toLowerCase();
4574
4574
  }
4575
4575
  let Hr;
4576
- const kc = new Uint8Array(16);
4577
- function Rc() {
4576
+ const Rc = new Uint8Array(16);
4577
+ function Oc() {
4578
4578
  if (!Hr) {
4579
4579
  if (typeof crypto > "u" || !crypto.getRandomValues)
4580
4580
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4581
4581
  Hr = crypto.getRandomValues.bind(crypto);
4582
4582
  }
4583
- return Hr(kc);
4583
+ return Hr(Rc);
4584
4584
  }
4585
- const Oc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Un = { randomUUID: Oc };
4585
+ const Cc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Un = { randomUUID: Cc };
4586
4586
  function Kn(e, t, r) {
4587
4587
  var n;
4588
4588
  if (Un.randomUUID && !e)
4589
4589
  return Un.randomUUID();
4590
4590
  e = e || {};
4591
- const s = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? Rc();
4591
+ const s = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? Oc();
4592
4592
  if (s.length < 16)
4593
4593
  throw new Error("Random bytes length must be >= 16");
4594
- return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, Ic(s);
4594
+ return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, kc(s);
4595
4595
  }
4596
- const Hn = globalThis.crypto, Cc = (e) => `${Kn()}${Kn()}`.slice(0, e), _c = (e) => btoa(
4596
+ const Hn = globalThis.crypto, _c = (e) => `${Kn()}${Kn()}`.slice(0, e), Nc = (e) => btoa(
4597
4597
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
4598
4598
  );
4599
- async function Nc(e) {
4599
+ async function Pc(e) {
4600
4600
  if (!Hn.subtle)
4601
4601
  throw new Error(
4602
4602
  "crypto.subtle is available only in secure contexts (HTTPS)."
4603
4603
  );
4604
4604
  const t = new TextEncoder().encode(e), r = await Hn.subtle.digest("SHA-256", t);
4605
- return _c(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4605
+ return Nc(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4606
4606
  }
4607
- async function Pc(e) {
4608
- const t = Cc(43), r = await Nc(t);
4607
+ async function xc(e) {
4608
+ const t = _c(43), r = await Pc(t);
4609
4609
  return {
4610
4610
  code_verifier: t,
4611
4611
  code_challenge: r
4612
4612
  };
4613
4613
  }
4614
- const Wu = async (e, t) => {
4614
+ const td = async (e, t) => {
4615
4615
  var r;
4616
4616
  const n = await Et(e);
4617
4617
  if (!n || !Array.isArray((r = n.payload) == null ? void 0 : r[F.SCOPES_KEY]))
@@ -4629,18 +4629,18 @@ const Fn = (e, t) => {
4629
4629
  typeof t == "function" ? t() : t
4630
4630
  );
4631
4631
  window.localStorage.setItem(e, r), si(e, r);
4632
- }, xc = (e) => {
4632
+ }, Dc = (e) => {
4633
4633
  window.localStorage.removeItem(e), si(e, null);
4634
- }, Bn = (e) => window.localStorage.getItem(e), Dc = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
4634
+ }, Bn = (e) => window.localStorage.getItem(e), Mc = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
4635
4635
  function tr({
4636
4636
  key: e,
4637
4637
  initialValue: t
4638
4638
  }) {
4639
- const r = Ti(Dc, () => Bn(e)), n = Te(
4639
+ const r = Ii(Mc, () => Bn(e)), n = Te(
4640
4640
  (a) => {
4641
4641
  try {
4642
4642
  const o = typeof a == "function" ? a(JSON.parse(r)) : a;
4643
- o == null ? xc(e) : Fn(e, o);
4643
+ o == null ? Dc(e) : Fn(e, o);
4644
4644
  } catch (o) {
4645
4645
  console.warn(o);
4646
4646
  }
@@ -4662,31 +4662,31 @@ function tr({
4662
4662
  const j = [];
4663
4663
  for (let e = 0; e < 256; ++e)
4664
4664
  j.push((e + 256).toString(16).slice(1));
4665
- function Mc(e, t = 0) {
4665
+ function Lc(e, t = 0) {
4666
4666
  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();
4667
4667
  }
4668
4668
  let Fr;
4669
- const Lc = new Uint8Array(16);
4670
- function $c() {
4669
+ const $c = new Uint8Array(16);
4670
+ function Uc() {
4671
4671
  if (!Fr) {
4672
4672
  if (typeof crypto > "u" || !crypto.getRandomValues)
4673
4673
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4674
4674
  Fr = crypto.getRandomValues.bind(crypto);
4675
4675
  }
4676
- return Fr(Lc);
4676
+ return Fr($c);
4677
4677
  }
4678
- const Uc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Vn = { randomUUID: Uc };
4678
+ const Kc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Vn = { randomUUID: Kc };
4679
4679
  function Br(e, t, r) {
4680
4680
  var s;
4681
4681
  if (Vn.randomUUID && !e)
4682
4682
  return Vn.randomUUID();
4683
4683
  e = e || {};
4684
- const n = e.random ?? ((s = e.rng) == null ? void 0 : s.call(e)) ?? $c();
4684
+ const n = e.random ?? ((s = e.rng) == null ? void 0 : s.call(e)) ?? Uc();
4685
4685
  if (n.length < 16)
4686
4686
  throw new Error("Random bytes length must be >= 16");
4687
- return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Mc(n);
4687
+ return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Lc(n);
4688
4688
  }
4689
- const Ye = "Your session has expired. For your security, please log in again to continue.", Kc = "Your session has been successfully terminated.", Vr = "Login failed. Please try again.", Hc = "Error getting access token, please re-authenticate.", Fc = "You forgot to wrap your component in <AuthProvider>.", rr = "@@auth@@", Tt = "LOADING", or = "LOGIN", ii = "LOGOUT", qt = "success", we = "failure", ai = "include", oi = "POST", ci = "application/json", nr = {
4689
+ const Ye = "Your session has expired. For your security, please log in again to continue.", Hc = "Your session has been successfully terminated.", Vr = "Login failed. Please try again.", Fc = "Error getting access token, please re-authenticate.", Bc = "You forgot to wrap your component in <AuthProvider>.", rr = "@@auth@@", Tt = "LOADING", or = "LOGIN", ii = "LOGOUT", qt = "success", we = "failure", ai = "include", oi = "POST", ci = "application/json", nr = {
4690
4690
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
4691
4691
  $clientId: String!,
4692
4692
  $username: String!,
@@ -4841,21 +4841,21 @@ const Ye = "Your session has expired. For your security, please log in again to
4841
4841
  } catch (s) {
4842
4842
  return console.error(s), { status: we, data: [] };
4843
4843
  }
4844
- }, Bc = process.env.NODE_ENV === "production", Vc = !Bc, li = {
4844
+ }, Vc = process.env.NODE_ENV === "production", jc = !Vc, li = {
4845
4845
  isLoading: !0,
4846
4846
  isAuthenticated: !1,
4847
4847
  user: void 0,
4848
4848
  logoutReason: "",
4849
4849
  debug: !1,
4850
4850
  authenticationType: ""
4851
- }, jc = (e) => {
4851
+ }, Gc = (e) => {
4852
4852
  try {
4853
- const t = Tc(e);
4853
+ const t = Ic(e);
4854
4854
  return t ? t[F.USER_ID_KEY] : "";
4855
4855
  } catch {
4856
4856
  return "";
4857
4857
  }
4858
- }, Gc = async ({
4858
+ }, qc = async ({
4859
4859
  userId: e,
4860
4860
  clientId: t,
4861
4861
  domain: r,
@@ -4881,7 +4881,7 @@ const Ye = "Your session has expired. For your security, please log in again to
4881
4881
  status: we
4882
4882
  };
4883
4883
  }
4884
- }, qc = async ({
4884
+ }, Wc = async ({
4885
4885
  username: e,
4886
4886
  password: t,
4887
4887
  clientId: r,
@@ -4927,7 +4927,7 @@ const Ye = "Your session has expired. For your security, please log in again to
4927
4927
  status: !1
4928
4928
  };
4929
4929
  }
4930
- }, Wc = async ({
4930
+ }, Jc = async ({
4931
4931
  nonce: e,
4932
4932
  clientId: t,
4933
4933
  code_challenge: r,
@@ -4958,7 +4958,7 @@ const Ye = "Your session has expired. For your security, please log in again to
4958
4958
  data: ""
4959
4959
  };
4960
4960
  }
4961
- }, Jc = async ({
4961
+ }, zc = async ({
4962
4962
  clientId: e,
4963
4963
  userId: t,
4964
4964
  nonce: r,
@@ -4996,7 +4996,7 @@ const Ye = "Your session has expired. For your security, please log in again to
4996
4996
  };
4997
4997
  }
4998
4998
  };
4999
- class zc {
4999
+ class Qc {
5000
5000
  constructor(t = null, r = null) {
5001
5001
  Lr(this, "refreshTokenPromise", null), Lr(this, "accessToken"), Lr(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
5002
5002
  }
@@ -5029,7 +5029,7 @@ class zc {
5029
5029
  }) {
5030
5030
  const a = await Et(this.refreshToken);
5031
5031
  if (a && a.payload[F.USER_ID_KEY] !== "") {
5032
- const o = await Jc({
5032
+ const o = await zc({
5033
5033
  endpoint: t,
5034
5034
  clientId: r,
5035
5035
  userId: n,
@@ -5051,14 +5051,14 @@ class zc {
5051
5051
  };
5052
5052
  }
5053
5053
  }
5054
- const Qc = (e) => Te(
5054
+ const Yc = (e) => Te(
5055
5055
  (...t) => {
5056
5056
  e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
5057
5057
  },
5058
5058
  [e]
5059
5059
  ), et = () => {
5060
- throw new Error(Fc);
5061
- }, ui = Ai({
5060
+ throw new Error(Bc);
5061
+ }, ui = Ti({
5062
5062
  isAuthenticated: !1,
5063
5063
  isLoading: !1,
5064
5064
  login: et,
@@ -5069,11 +5069,11 @@ const Qc = (e) => Te(
5069
5069
  loginWithPasskey: et,
5070
5070
  logoutReason: "",
5071
5071
  authenticationType: ""
5072
- }), Yc = ke.createContext({
5072
+ }), Xc = ke.createContext({
5073
5073
  state: li,
5074
5074
  dispatch: () => {
5075
5075
  }
5076
- }), Xc = (e, t) => (t == null ? void 0 : t.type) === Tt ? {
5076
+ }), Zc = (e, t) => (t == null ? void 0 : t.type) === Tt ? {
5077
5077
  ...e,
5078
5078
  isLoading: t.payload.isLoading
5079
5079
  } : (t == null ? void 0 : t.type) === or ? {
@@ -5096,12 +5096,12 @@ const Qc = (e) => Te(
5096
5096
  clientId: r,
5097
5097
  domain: n = "",
5098
5098
  debug: s = !1,
5099
- endpoint: i = Vc ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
5099
+ endpoint: i = jc ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
5100
5100
  }) => {
5101
- const [a, o] = as(Xc, {
5101
+ const [a, o] = as(Zc, {
5102
5102
  ...li,
5103
5103
  debug: s
5104
- }), c = Qc(s), l = Q(!1), [d, u, , h] = tr({
5104
+ }), c = Yc(s), l = Q(!1), [d, u, , h] = tr({
5105
5105
  key: `${rr}::${r}::@@user@@`
5106
5106
  }), [y, m, , g] = tr({
5107
5107
  key: `${rr}::${r}::@@access@@`
@@ -5111,7 +5111,7 @@ const Qc = (e) => Te(
5111
5111
  }
5112
5112
  ), [T, R, , C] = tr({
5113
5113
  key: `${rr}::${r}::@@nonce@@`
5114
- }), L = new zc(y, v), H = Te(() => {
5114
+ }), L = new Qc(y, v), H = Te(() => {
5115
5115
  c("removeLocalStorage: removing local storage"), h(), g(), O(), C();
5116
5116
  }, [
5117
5117
  g,
@@ -5135,10 +5135,10 @@ const Qc = (e) => Te(
5135
5135
  ), A = Te(
5136
5136
  async (E) => {
5137
5137
  c("invalidateAndLogout: invalidating and logging out");
5138
- const { user: $ } = a, D = ($ == null ? void 0 : $.userId) || jc(d);
5138
+ const { user: $ } = a, D = ($ == null ? void 0 : $.userId) || Gc(d);
5139
5139
  D || c(
5140
5140
  "invalidateAndLogout: user cannot be identified, logging out without userId"
5141
- ), await Gc({
5141
+ ), await qc({
5142
5142
  userId: D,
5143
5143
  clientId: r,
5144
5144
  domain: n,
@@ -5185,14 +5185,14 @@ const Qc = (e) => Te(
5185
5185
  o({ type: Tt, payload: { isLoading: !0 } }), H();
5186
5186
  const D = Br();
5187
5187
  R(D), c("login: Logging in with password");
5188
- const { code_verifier: Je, code_challenge: Si } = await Pc(), wn = await Wc({
5188
+ const { code_verifier: Je, code_challenge: Ai } = await xc(), wn = await Jc({
5189
5189
  endpoint: i,
5190
5190
  nonce: D,
5191
5191
  clientId: r,
5192
- code_challenge: Si
5192
+ code_challenge: Ai
5193
5193
  });
5194
5194
  if (wn.status) {
5195
- const ze = await qc({
5195
+ const ze = await Wc({
5196
5196
  endpoint: i,
5197
5197
  username: E,
5198
5198
  password: $,
@@ -5219,7 +5219,7 @@ const Qc = (e) => Te(
5219
5219
  }
5220
5220
  return !1;
5221
5221
  }, N = async (E) => {
5222
- E == null || E.preventDefault(), await A(Kc);
5222
+ E == null || E.preventDefault(), await A(Hc);
5223
5223
  }, X = async () => {
5224
5224
  const { isAuthenticated: E, user: $ } = a;
5225
5225
  try {
@@ -5248,7 +5248,7 @@ const Qc = (e) => Te(
5248
5248
  } catch {
5249
5249
  return c(
5250
5250
  "getAccessToken: exception occurred, invalidating and logging out"
5251
- ), await A(Hc), "";
5251
+ ), await A(Fc), "";
5252
5252
  }
5253
5253
  }, Z = () => a.isAuthenticated && d ? d : "", ue = async () => {
5254
5254
  const { user: E } = a;
@@ -5265,7 +5265,7 @@ const Qc = (e) => Te(
5265
5265
  });
5266
5266
  if ($.status)
5267
5267
  try {
5268
- const D = await xo({
5268
+ const D = await Do({
5269
5269
  optionsJSON: $.data
5270
5270
  });
5271
5271
  return $ = await Ze({
@@ -5312,7 +5312,7 @@ const Qc = (e) => Te(
5312
5312
  });
5313
5313
  if (D.status)
5314
5314
  try {
5315
- const Je = await Lo({
5315
+ const Je = await $o({
5316
5316
  optionsJSON: D.data
5317
5317
  });
5318
5318
  return D = await Ze({
@@ -5358,7 +5358,7 @@ const Qc = (e) => Te(
5358
5358
  }
5359
5359
  return !1;
5360
5360
  };
5361
- return /* @__PURE__ */ p(Yc.Provider, { value: { state: a, dispatch: o }, children: /* @__PURE__ */ p(
5361
+ return /* @__PURE__ */ p(Xc.Provider, { value: { state: a, dispatch: o }, children: /* @__PURE__ */ p(
5362
5362
  ui.Provider,
5363
5363
  {
5364
5364
  value: {
@@ -5373,9 +5373,13 @@ const Qc = (e) => Te(
5373
5373
  children: e
5374
5374
  }
5375
5375
  ) });
5376
- }, di = (e = ui) => os(e), Ju = "data", zu = "I'm having trouble right now. Please try again later.", Qu = "action-search", Yu = "action-sort", Xu = "action-toggle-prompt", Zu = "action-reset-prompt", ed = "sassy-saint-", td = "details", rd = "search", nd = "sort", sd = "private-disclosure", id = "reasoning-disclosure", Gn = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", ad = 10, od = 30, cd = "av-prompt", ld = "av-prompt-editable", ud = "size-5 sm:size-4", dd = 30, fd = 10, hd = 130, yd = {
5376
+ }, di = (e = ui) => os(e), rd = "data", nd = "I'm having trouble right now. Please try again later.", sd = "action-search", id = "action-sort", ad = "action-toggle-prompt", od = "action-reset-prompt", cd = "sassy-saint-", ld = "details", ud = "search", dd = "sort", fd = "private-disclosure", hd = "reasoning-disclosure", Gn = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", yd = 10, md = 30, pd = "av-prompt", gd = "av-prompt-editable", bd = "size-5 sm:size-4", wd = 30, vd = 10, Ed = 130, Sd = {
5377
5377
  REASONING: "sassy:advanced:reasoning"
5378
- }, Zc = process.env.NODE_ENV === "production", fi = !Zc, el = fi ? "gizmette.local.com" : "gizmette.com", md = async () => {
5378
+ }, Ad = "user", Td = "assistant", fi = "OpenAI", el = "Anthropic", tl = "Google", Id = fi, rl = "claude-3", nl = "gpt-4", sl = "o3", il = "gemini", al = {
5379
+ [el]: [rl],
5380
+ [fi]: [nl, sl],
5381
+ [tl]: [il]
5382
+ }, ol = process.env.NODE_ENV === "production", hi = !ol, cl = hi ? "gizmette.local.com" : "gizmette.com", kd = async () => {
5379
5383
  const e = {
5380
5384
  /**
5381
5385
  * A boolean value that indicates the application would
@@ -5424,21 +5428,21 @@ const Qc = (e) => Te(
5424
5428
  e
5425
5429
  );
5426
5430
  });
5427
- }, pd = (e) => window.btoa(
5431
+ }, Rd = (e) => window.btoa(
5428
5432
  encodeURIComponent(e).replace(
5429
5433
  /%([0-9A-F]{2})/g,
5430
5434
  function(r, n) {
5431
5435
  return String.fromCharCode(+`0x${n}`);
5432
5436
  }
5433
5437
  )
5434
- ), gd = (e) => decodeURIComponent(
5438
+ ), Od = (e) => decodeURIComponent(
5435
5439
  window.atob(e).split("").map(function(t) {
5436
5440
  return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
5437
5441
  }).join("")
5438
- ), bd = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ p("dl", { className: "my-0", children: /* @__PURE__ */ re("div", { className: "flex items-center justify-between", children: [
5442
+ ), Cd = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ p("dl", { className: "my-0", children: /* @__PURE__ */ re("div", { className: "flex items-center justify-between", children: [
5439
5443
  /* @__PURE__ */ p("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
5440
5444
  /* @__PURE__ */ p("dd", { className: "my-1 inline-block", children: t[r] })
5441
- ] }) }, `${e}-${r}`)) : null, tl = ({
5445
+ ] }) }, `${e}-${r}`)) : null, ll = ({
5442
5446
  isAuthenticated: e,
5443
5447
  extraClass: t
5444
5448
  }) => b(
@@ -5447,20 +5451,20 @@ const Qc = (e) => Te(
5447
5451
  "flex-1 overflow-y-auto",
5448
5452
  e ? "pt-0" : "pt-10",
5449
5453
  t
5450
- ), rl = ({
5454
+ ), ul = ({
5451
5455
  extraClass: e
5452
- } = {}) => b("px-2 sm:px-0", e), wd = (e, t) => t === 1 ? e : `${e}s`, vd = (e, t) => {
5456
+ } = {}) => b("px-2 sm:px-0", e), _d = (e, t) => t === 1 ? e : `${e}s`, Nd = (e, t) => {
5453
5457
  let r;
5454
5458
  return (...n) => {
5455
5459
  window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
5456
5460
  };
5457
- }, nl = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), hi = () => window.innerWidth < 403, Ed = () => {
5458
- const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = hi(), n = navigator.maxTouchPoints > 1;
5461
+ }, dl = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), yi = () => window.innerWidth < 403, Pd = () => {
5462
+ const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = yi(), n = navigator.maxTouchPoints > 1;
5459
5463
  return e && t && r && n;
5460
- }, Sd = (e) => {
5464
+ }, xd = (e) => {
5461
5465
  const t = e.replace(/([A-Z])/g, " $1");
5462
5466
  return t.charAt(0).toUpperCase() + t.slice(1);
5463
- }, Ad = ({
5467
+ }, Dd = ({
5464
5468
  autoClose: e = 3e3,
5465
5469
  containerId: t,
5466
5470
  position: r = "top-center",
@@ -5484,15 +5488,14 @@ const Qc = (e) => Te(
5484
5488
  theme: c,
5485
5489
  transition: l,
5486
5490
  icon: d
5487
- });
5488
- function Td(e, t) {
5489
- for (const [r, n] of Object.entries(e))
5490
- for (const s of n)
5491
- if (new RegExp(`^${s}(-.+|[a-zA-Z0-9]+)?$`).test(t))
5492
- return r;
5491
+ }), Md = (e) => {
5492
+ for (const [t, r] of Object.entries(
5493
+ al
5494
+ ))
5495
+ if (r.some((n) => e.startsWith(n)))
5496
+ return t;
5493
5497
  return null;
5494
- }
5495
- const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5498
+ }, qn = "av-button", Cr = "icon", pn = "button", ln = "link", fl = ({
5496
5499
  type: e,
5497
5500
  size: t,
5498
5501
  labelRight: r,
@@ -5528,7 +5531,7 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5528
5531
  "h-12": t === "large" && i && (r || n)
5529
5532
  });
5530
5533
  }
5531
- }, il = ({
5534
+ }, hl = ({
5532
5535
  type: e,
5533
5536
  size: t,
5534
5537
  labelRight: r,
@@ -5551,7 +5554,7 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5551
5554
  [a]: t === "large" && (r || n)
5552
5555
  });
5553
5556
  }
5554
- }, al = ({
5557
+ }, yl = ({
5555
5558
  mode: e,
5556
5559
  noBackground: t,
5557
5560
  truncate: r,
@@ -5587,7 +5590,7 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5587
5590
  return b("not-prose text-copy-lighter", {
5588
5591
  truncate: r
5589
5592
  });
5590
- }, ol = ({
5593
+ }, ml = ({
5591
5594
  mode: e,
5592
5595
  noBackground: t,
5593
5596
  variant: r
@@ -5617,13 +5620,13 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5617
5620
  if (r === "selected")
5618
5621
  return "bg-action-selected-dark";
5619
5622
  }
5620
- }, cl = ({
5623
+ }, pl = ({
5621
5624
  radius: e
5622
5625
  }) => b({
5623
5626
  "rounded-full": e === "large",
5624
5627
  "rounded-md": e === "medium",
5625
5628
  "rounded-xs": e === "small"
5626
- }), ll = ({
5629
+ }), gl = ({
5627
5630
  mode: e,
5628
5631
  disabled: t,
5629
5632
  variant: r
@@ -5653,7 +5656,7 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5653
5656
  });
5654
5657
  if (r === "selected")
5655
5658
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
5656
- }, ul = ({
5659
+ }, bl = ({
5657
5660
  mode: e,
5658
5661
  disabled: t,
5659
5662
  variant: r
@@ -5683,7 +5686,7 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5683
5686
  });
5684
5687
  if (r === "selected")
5685
5688
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
5686
- }, dl = ({
5689
+ }, wl = ({
5687
5690
  mode: e,
5688
5691
  noBorder: t,
5689
5692
  variant: r
@@ -5713,14 +5716,14 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5713
5716
  });
5714
5717
  if (r === "selected")
5715
5718
  return "border border-border-selected-dark";
5716
- }, fl = ({
5719
+ }, vl = ({
5717
5720
  focusMode: e
5718
5721
  }) => b("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
5719
5722
  "focus:outline-focus-dark": e === "dark",
5720
5723
  "focus:outline-focus-light": e === "light",
5721
5724
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
5722
5725
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
5723
- }), hl = ({
5726
+ }), El = ({
5724
5727
  mode: e,
5725
5728
  raw: t,
5726
5729
  iconClassName: r
@@ -5732,11 +5735,11 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5732
5735
  "dark:text-copy-accent-dark": e === "system"
5733
5736
  },
5734
5737
  r
5735
- ), yl = ({
5738
+ ), Sl = ({
5736
5739
  animated: e
5737
5740
  }) => b({
5738
5741
  "transition-opacity duration-300 ease-in": e
5739
- }), yi = ({
5742
+ }), mi = ({
5740
5743
  type: e,
5741
5744
  className: t,
5742
5745
  raw: r,
@@ -5756,15 +5759,15 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5756
5759
  animated: v
5757
5760
  }) => (h || (h = "primary"), r ? b(qn, t) : b(
5758
5761
  qn,
5759
- al({
5762
+ yl({
5760
5763
  mode: n,
5761
5764
  variant: h,
5762
5765
  noBackground: u,
5763
5766
  truncate: y
5764
5767
  }),
5765
- ol({ mode: n, noBackground: u, variant: h }),
5766
- cl({ radius: g }),
5767
- sl({
5768
+ ml({ mode: n, noBackground: u, variant: h }),
5769
+ pl({ radius: g }),
5770
+ fl({
5768
5771
  type: e,
5769
5772
  size: o,
5770
5773
  labelRight: l,
@@ -5772,11 +5775,11 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5772
5775
  align: m,
5773
5776
  animated: v
5774
5777
  }),
5775
- il({ type: e, size: o, labelRight: l, labelLeft: d }),
5776
- dl({ mode: n, variant: h, noBorder: c }),
5777
- fl({ focusMode: s }),
5778
- ll({ mode: n, variant: h, disabled: i }),
5779
- ul({ mode: n, variant: h, disabled: i }),
5778
+ hl({ type: e, size: o, labelRight: l, labelLeft: d }),
5779
+ wl({ mode: n, variant: h, noBorder: c }),
5780
+ vl({ focusMode: s }),
5781
+ gl({ mode: n, variant: h, disabled: i }),
5782
+ bl({ mode: n, variant: h, disabled: i }),
5780
5783
  {
5781
5784
  "w-full": a,
5782
5785
  "disabled:cursor-not-allowed disabled:opacity-50": i
@@ -5785,7 +5788,7 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5785
5788
  "transition-[width] duration-300 ease-in-out": e === Cr && v
5786
5789
  }),
5787
5790
  t
5788
- )), ml = (e, t, r) => {
5791
+ )), Al = (e, t, r) => {
5789
5792
  var n;
5790
5793
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((n = e == null ? void 0 : e.currentTarget) == null ? void 0 : n.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
5791
5794
  }, gn = ke.forwardRef((e, t) => {
@@ -5795,14 +5798,14 @@ const qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5795
5798
  {
5796
5799
  ref: t,
5797
5800
  onClick: (i) => {
5798
- ml(i, n, r);
5801
+ Al(i, n, r);
5799
5802
  },
5800
5803
  ...s
5801
5804
  }
5802
5805
  );
5803
5806
  });
5804
5807
  gn.displayName = "BaseButton";
5805
- const mi = ke.forwardRef(
5808
+ const pi = ke.forwardRef(
5806
5809
  ({
5807
5810
  children: e,
5808
5811
  disabled: t = !1,
@@ -5818,7 +5821,7 @@ const mi = ke.forwardRef(
5818
5821
  radius: u = "large",
5819
5822
  ...h
5820
5823
  }, y) => {
5821
- const m = yi({
5824
+ const m = mi({
5822
5825
  type: pn,
5823
5826
  mode: r,
5824
5827
  focusMode: n,
@@ -5844,14 +5847,14 @@ const mi = ke.forwardRef(
5844
5847
  );
5845
5848
  }
5846
5849
  );
5847
- mi.displayName = "Button";
5848
- function pl() {
5850
+ pi.displayName = "Button";
5851
+ function Tl() {
5849
5852
  const e = Q(!1);
5850
5853
  return ge(() => (e.current = !0, () => {
5851
5854
  e.current = !1;
5852
5855
  }), []), Te(() => e.current, []);
5853
5856
  }
5854
- function gl(e) {
5857
+ function Il(e) {
5855
5858
  return Er(() => e.every((t) => t == null) ? () => {
5856
5859
  } : (t) => {
5857
5860
  e.forEach((r) => {
@@ -5859,7 +5862,7 @@ function gl(e) {
5859
5862
  });
5860
5863
  }, e);
5861
5864
  }
5862
- const bl = {
5865
+ const kl = {
5863
5866
  x: 0,
5864
5867
  y: 0,
5865
5868
  width: 0,
@@ -5870,7 +5873,7 @@ const bl = {
5870
5873
  right: 0
5871
5874
  };
5872
5875
  function jr(e) {
5873
- const t = pl(), r = Q(0), n = Q(null), [s, i] = Ae(bl), a = Er(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
5876
+ const t = Tl(), r = Q(0), n = Q(null), [s, i] = Ae(kl), a = Er(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
5874
5877
  const c = o[0];
5875
5878
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
5876
5879
  n.current && t() && i(c.contentRect);
@@ -5880,21 +5883,21 @@ function jr(e) {
5880
5883
  a == null || a.disconnect(), r.current && cancelAnimationFrame(r.current);
5881
5884
  }), [a, e]), [n, s];
5882
5885
  }
5883
- const wl = {
5886
+ const Rl = {
5884
5887
  small: 24,
5885
5888
  // w-6
5886
5889
  medium: 32,
5887
5890
  // w-8
5888
5891
  large: 48
5889
5892
  // w-12
5890
- }, vl = {
5893
+ }, Ol = {
5891
5894
  small: 8 * 2,
5892
5895
  // px-2 x 2
5893
5896
  medium: 12 * 2,
5894
5897
  // px-3 x 2
5895
5898
  large: 16 * 2
5896
5899
  // px-4 x 2
5897
- }, El = 2, wr = ke.forwardRef(
5900
+ }, Cl = 2, wr = ke.forwardRef(
5898
5901
  ({
5899
5902
  children: e,
5900
5903
  disabled: t = !1,
@@ -5918,7 +5921,7 @@ const wl = {
5918
5921
  animated: T = !1,
5919
5922
  ...R
5920
5923
  }, C) => {
5921
- const L = yi({
5924
+ const L = mi({
5922
5925
  type: Cr,
5923
5926
  mode: r,
5924
5927
  focusMode: n,
@@ -5935,11 +5938,11 @@ const wl = {
5935
5938
  radius: v,
5936
5939
  variant: k,
5937
5940
  animated: T
5938
- }), H = hl({ mode: r, raw: o, iconClassName: O }), S = yl({ animated: T }), [A, P] = jr(), [N, X] = jr(), [Z, ue] = jr(), Oe = Q(0), E = Q(null), $ = gl([C, E]);
5941
+ }), H = El({ mode: r, raw: o, iconClassName: O }), S = Sl({ animated: T }), [A, P] = jr(), [N, X] = jr(), [Z, ue] = jr(), Oe = Q(0), E = Q(null), $ = Il([C, E]);
5939
5942
  return ur(() => {
5940
- Z && Z.current && T && (Oe.current = ue.width + vl[u] + (c ? 0 : El));
5943
+ Z && Z.current && T && (Oe.current = ue.width + Ol[u] + (c ? 0 : Cl));
5941
5944
  }, [ue, Z, u, c, T]), ur(() => {
5942
- E && E.current && T && (h && A && P.width > 0 ? (A.current && (A.current.style.opacity = "100"), E.current.style.width = `${P.width + Oe.current}px`) : y && X.width > 0 ? (N.current && (N.current.style.opacity = "100"), E.current.style.width = `${X.width + Oe.current}px`) : (A.current && (A.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"), E.current.style.width = `${wl[u]}px`));
5945
+ E && E.current && T && (h && A && P.width > 0 ? (A.current && (A.current.style.opacity = "100"), E.current.style.width = `${P.width + Oe.current}px`) : y && X.width > 0 ? (N.current && (N.current.style.opacity = "100"), E.current.style.width = `${X.width + Oe.current}px`) : (A.current && (A.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"), E.current.style.width = `${Rl[u]}px`));
5943
5946
  }, [
5944
5947
  P,
5945
5948
  h,
@@ -6002,7 +6005,7 @@ try {
6002
6005
  });
6003
6006
  } catch {
6004
6007
  }
6005
- const Sl = ke.forwardRef(
6008
+ const _l = ke.forwardRef(
6006
6009
  ({
6007
6010
  children: e,
6008
6011
  mode: t = "system",
@@ -6040,7 +6043,7 @@ const Sl = ke.forwardRef(
6040
6043
  ) });
6041
6044
  }
6042
6045
  );
6043
- Sl.displayName = "ButtonSort";
6046
+ _l.displayName = "ButtonSort";
6044
6047
  /*!
6045
6048
  @versini/ui-card v4.0.1
6046
6049
  © 2025 gizmette.com
@@ -6055,11 +6058,11 @@ try {
6055
6058
  } catch {
6056
6059
  }
6057
6060
  const cr = "av-card";
6058
- function Al(e) {
6061
+ function Nl(e) {
6059
6062
  const t = cs();
6060
6063
  return `${e}${t}`;
6061
6064
  }
6062
- const Tl = ({
6065
+ const Pl = ({
6063
6066
  className: e,
6064
6067
  headerClassName: t,
6065
6068
  bodyClassName: r,
@@ -6099,7 +6102,7 @@ const Tl = ({
6099
6102
  footer: d
6100
6103
  };
6101
6104
  };
6102
- function Il({
6105
+ function xl({
6103
6106
  id: e,
6104
6107
  content: t,
6105
6108
  userAriaLabelledby: r,
@@ -6107,7 +6110,7 @@ function Il({
6107
6110
  }) {
6108
6111
  return typeof t == "string" ? /* @__PURE__ */ p("h2", { id: e, className: n, children: t }) : r ? /* @__PURE__ */ p("div", { className: n, children: t }) : t ? /* @__PURE__ */ p("div", { className: n, id: e, children: t }) : null;
6109
6112
  }
6110
- const kl = ({
6113
+ const Dl = ({
6111
6114
  header: e,
6112
6115
  headerClassName: t,
6113
6116
  footer: r,
@@ -6122,7 +6125,7 @@ const kl = ({
6122
6125
  ...u
6123
6126
  }) => {
6124
6127
  let h = null, y = null;
6125
- const m = typeof e == "string", g = Al(cr), v = Tl({
6128
+ const m = typeof e == "string", g = Nl(cr), v = Pl({
6126
6129
  className: i,
6127
6130
  headerClassName: t,
6128
6131
  bodyClassName: a,
@@ -6141,7 +6144,7 @@ const kl = ({
6141
6144
  ...u,
6142
6145
  children: [
6143
6146
  /* @__PURE__ */ p(
6144
- Il,
6147
+ xl,
6145
6148
  {
6146
6149
  ...h && { id: h },
6147
6150
  content: e,
@@ -6197,7 +6200,7 @@ try {
6197
6200
  });
6198
6201
  } catch {
6199
6202
  }
6200
- const Rl = ({
6203
+ const Ml = ({
6201
6204
  className: e,
6202
6205
  viewBox: t,
6203
6206
  title: r,
@@ -6214,7 +6217,7 @@ const Rl = ({
6214
6217
  ...s,
6215
6218
  children: /* @__PURE__ */ p("path", { d: "M927.943 30.81c0-2.381-1.191-5.954-3.573-7.145-7.146-4.763-19.055-1.19-26.2 0-17.864 2.382-34.537 4.764-53.592 4.764-26.2 0-53.591-1.19-79.791-4.764-23.819-3.572-44.064-10.718-69.074-3.572-35.727 9.527-58.355 38.109-57.164 75.028 1.191 21.436-2.382 38.109-9.527 57.164-7.146 17.864-15.482 20.245-32.155 20.245-115.52 0-229.848-1.19-345.367 0h-63.119c-29.773 0-59.546 5.955-89.319 0-21.436-4.763-42.873-15.482-58.355-30.964-3.573-3.572-10.718-14.29-14.29-14.29-4.765 1.19-4.765 15.481-4.765 19.054 0 15.482 5.955 30.964 5.955 46.446s-7.145 28.582-11.91 42.873c-4.763 16.673-4.763 33.346-2.381 50.019 4.764 27.39 9.527 55.973 11.91 84.555 2.381 25.01 2.381 48.828 4.763 73.837 2.382 20.246 3.573 29.773 29.773 33.346 30.964 4.764 30.964-5.955 38.11-26.2 9.527-25.01 17.863-51.21 27.39-76.22 8.337-19.054 15.482-60.736 67.883-40.49 28.582 10.718 58.355 16.672 88.128 25.009 32.155 8.336 65.5 16.673 97.655 22.627 65.501 13.1 132.193 20.246 200.075 23.819 7.146 0 11.91 0 16.673 5.954 17.864 22.628-3.573 63.119 41.682 70.265 40.491 5.954 40.491-22.628 45.255-47.637 2.382-14.291 4.764-27.391 8.337-40.492 1.19-5.954 5.954-11.909 10.718-15.481 55.973-33.346 88.128-98.847 78.6-164.347-1.19-10.719-4.763-21.437-3.572-33.346 2.382-23.819 32.155-33.346 50.018-42.873 22.628-13.1 47.637-25.01 66.692-42.873 13.1-11.91 23.818-27.392 29.773-44.064 3.573-5.955 5.955-14.292 4.764-20.246M737.395 190.395c-2.381 25.01-13.1 36.919-35.727 41.682-40.491 8.337-66.692-19.054-54.783-58.355 8.337-26.2 17.864-51.21 29.773-75.028 11.91-23.818 22.628-23.818 36.919-1.19 17.864 28.581 27.391 59.545 23.818 92.891m38.11-109.564c-7.146 0-13.1-5.955-13.1-13.1 0-7.146 5.954-13.1 13.1-13.1 7.145 0 13.1 5.954 13.1 13.1 0 7.145-5.955 13.1-13.1 13.1" })
6216
6219
  }
6217
- ), Ol = ({
6220
+ ), Ll = ({
6218
6221
  className: e,
6219
6222
  viewBox: t,
6220
6223
  title: r,
@@ -6240,7 +6243,7 @@ const Rl = ({
6240
6243
  /* @__PURE__ */ p("path", { d: "M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1l592 464c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1l-592-464C-1.2 34.7-3.1 19.6 5.1 9.2" })
6241
6244
  ]
6242
6245
  }
6243
- ), Cl = ({
6246
+ ), $l = ({
6244
6247
  className: e,
6245
6248
  viewBox: t,
6246
6249
  title: r,
@@ -6276,7 +6279,7 @@ const Rl = ({
6276
6279
  ]
6277
6280
  }
6278
6281
  );
6279
- }, _l = ({
6282
+ }, Ul = ({
6280
6283
  className: e,
6281
6284
  viewBox: t,
6282
6285
  title: r,
@@ -6329,7 +6332,7 @@ try {
6329
6332
  });
6330
6333
  } catch {
6331
6334
  }
6332
- const Nl = "av-main", Pl = ({
6335
+ const Kl = "av-main", Hl = ({
6333
6336
  children: e,
6334
6337
  className: t,
6335
6338
  raw: r = !1,
@@ -6338,7 +6341,7 @@ const Nl = "av-main", Pl = ({
6338
6341
  ...i
6339
6342
  }) => {
6340
6343
  const a = b(
6341
- Nl,
6344
+ Kl,
6342
6345
  {
6343
6346
  "mt-2 sm:mt-3": !r && !n,
6344
6347
  "p-2": !r && !s,
@@ -6347,10 +6350,10 @@ const Nl = "av-main", Pl = ({
6347
6350
  t
6348
6351
  );
6349
6352
  return /* @__PURE__ */ p("main", { className: a, ...i, children: e });
6350
- }, xl = "av-flexgrid", sr = "av-flexgrid-item", vr = 0.25, un = ke.createContext({
6353
+ }, Fl = "av-flexgrid", sr = "av-flexgrid-item", vr = 0.25, un = ke.createContext({
6351
6354
  columnGap: 0,
6352
6355
  rowGap: 0
6353
- }), Dl = ({
6356
+ }), Bl = ({
6354
6357
  children: e,
6355
6358
  className: t,
6356
6359
  columnGap: r = 1,
@@ -6376,7 +6379,7 @@ const Nl = "av-main", Pl = ({
6376
6379
  marginLeft: r * -1 * vr + "rem",
6377
6380
  marginTop: n * -1 * vr + "rem"
6378
6381
  }, u = b(
6379
- xl,
6382
+ Fl,
6380
6383
  "box-border flex flex-wrap"
6381
6384
  ), h = { columnGap: r, rowGap: n };
6382
6385
  return t ? /* @__PURE__ */ p("div", { className: t, children: /* @__PURE__ */ p("div", { className: u, style: d, ...l, children: /* @__PURE__ */ p(un.Provider, { value: h, children: e }) }) }) : /* @__PURE__ */ p("div", { className: u, style: d, ...l, children: /* @__PURE__ */ p(un.Provider, { value: h, children: e }) });
@@ -6453,7 +6456,7 @@ const Nl = "av-main", Pl = ({
6453
6456
  "lg:basis-full": e === 12 && t === "lg",
6454
6457
  "xl:basis-full": e === 12 && t === "xl",
6455
6458
  "2xl:basis-full": e === 12 && t === "2xl"
6456
- }), Ml = ({
6459
+ }), Vl = ({
6457
6460
  className: e,
6458
6461
  span: t
6459
6462
  }) => {
@@ -6485,7 +6488,7 @@ const Nl = "av-main", Pl = ({
6485
6488
  const { columnGap: s, rowGap: i } = os(un), a = {
6486
6489
  paddingLeft: s * vr + "rem",
6487
6490
  paddingTop: i * vr + "rem"
6488
- }, o = Ml({
6491
+ }, o = Vl({
6489
6492
  className: t,
6490
6493
  span: r
6491
6494
  });
@@ -6504,14 +6507,14 @@ try {
6504
6507
  });
6505
6508
  } catch {
6506
6509
  }
6507
- const pi = "av-text-input", Ll = "av-text-input-wrapper", qr = "av-text-input-helper-text";
6508
- function $l() {
6510
+ const gi = "av-text-input", jl = "av-text-input-wrapper", qr = "av-text-input-helper-text";
6511
+ function Gl() {
6509
6512
  const e = Q(!1);
6510
6513
  return ge(() => (e.current = !0, () => {
6511
6514
  e.current = !1;
6512
6515
  }), []), Te(() => e.current, []);
6513
6516
  }
6514
- const Ul = {
6517
+ const ql = {
6515
6518
  x: 0,
6516
6519
  y: 0,
6517
6520
  width: 0,
@@ -6521,8 +6524,8 @@ const Ul = {
6521
6524
  bottom: 0,
6522
6525
  right: 0
6523
6526
  };
6524
- function Kl(e) {
6525
- const t = $l(), r = Q(0), n = Q(null), [s, i] = Ae(Ul), a = Er(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
6527
+ function Wl(e) {
6528
+ const t = Gl(), r = Q(0), n = Q(null), [s, i] = Ae(ql), a = Er(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
6526
6529
  const c = o[0];
6527
6530
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
6528
6531
  n.current && t() && i(c.contentRect);
@@ -6532,7 +6535,7 @@ function Kl(e) {
6532
6535
  a == null || a.disconnect(), r.current && cancelAnimationFrame(r.current);
6533
6536
  }), [a, e]), [n, s];
6534
6537
  }
6535
- function Hl(e) {
6538
+ function Jl(e) {
6536
6539
  const t = cs();
6537
6540
  if (!e)
6538
6541
  return t;
@@ -6543,7 +6546,7 @@ function Hl(e) {
6543
6546
  return typeof r == "number" || typeof r == "string" ? `${n}${r}` : `${n}${t}`;
6544
6547
  }
6545
6548
  }
6546
- const gi = "SET_ANNOUNCEMENT", bi = "CLEAR_ANNOUNCEMENT", Fl = {
6549
+ const bi = "SET_ANNOUNCEMENT", wi = "CLEAR_ANNOUNCEMENT", zl = {
6547
6550
  alert: null,
6548
6551
  alertdialog: null,
6549
6552
  log: "polite",
@@ -6551,14 +6554,14 @@ const gi = "SET_ANNOUNCEMENT", bi = "CLEAR_ANNOUNCEMENT", Fl = {
6551
6554
  progressbar: null,
6552
6555
  status: "polite",
6553
6556
  timer: "assertive"
6554
- }, Bl = (e, t) => {
6557
+ }, Ql = (e, t) => {
6555
6558
  switch (t == null ? void 0 : t.type) {
6556
- case gi:
6559
+ case bi:
6557
6560
  return {
6558
6561
  ...e,
6559
6562
  announcement: t.payload
6560
6563
  };
6561
- case bi:
6564
+ case wi:
6562
6565
  return {
6563
6566
  ...e,
6564
6567
  announcement: null
@@ -6566,12 +6569,12 @@ const gi = "SET_ANNOUNCEMENT", bi = "CLEAR_ANNOUNCEMENT", Fl = {
6566
6569
  default:
6567
6570
  return e;
6568
6571
  }
6569
- }, Vl = ({
6572
+ }, Yl = ({
6570
6573
  onAnnouncementClear: e,
6571
6574
  dispatch: t
6572
6575
  }) => {
6573
6576
  t({
6574
- type: bi
6577
+ type: wi
6575
6578
  }), typeof e == "function" && e();
6576
6579
  }, Jn = ({
6577
6580
  children: e,
@@ -6581,16 +6584,16 @@ const gi = "SET_ANNOUNCEMENT", bi = "CLEAR_ANNOUNCEMENT", Fl = {
6581
6584
  dispatch: s
6582
6585
  }) => {
6583
6586
  clearTimeout(r.current), e !== null && s({
6584
- type: gi,
6587
+ type: bi,
6585
6588
  payload: e
6586
6589
  }), t && (r.current = setTimeout(
6587
- () => Vl({
6590
+ () => Yl({
6588
6591
  onAnnouncementClear: n,
6589
6592
  dispatch: s
6590
6593
  }),
6591
6594
  t
6592
6595
  ));
6593
- }, jl = ({
6596
+ }, Xl = ({
6594
6597
  children: e,
6595
6598
  announcementTimeoutRef: t,
6596
6599
  announcementDelay: r,
@@ -6613,7 +6616,7 @@ const gi = "SET_ANNOUNCEMENT", bi = "CLEAR_ANNOUNCEMENT", Fl = {
6613
6616
  dispatch: a
6614
6617
  });
6615
6618
  };
6616
- function wi({
6619
+ function vi({
6617
6620
  children: e,
6618
6621
  className: t,
6619
6622
  politeness: r,
@@ -6624,12 +6627,12 @@ function wi({
6624
6627
  visible: o,
6625
6628
  ...c
6626
6629
  }) {
6627
- const l = Q(null), d = Q(null), [u, h] = as(Bl, {
6630
+ const l = Q(null), d = Q(null), [u, h] = as(Ql, {
6628
6631
  announcement: null
6629
6632
  });
6630
6633
  let y = r;
6631
- typeof y > "u" && (y = n ? Fl[n] : "assertive"), ge(() => {
6632
- jl({
6634
+ typeof y > "u" && (y = n ? zl[n] : "assertive"), ge(() => {
6635
+ Xl({
6633
6636
  announcementTimeoutRef: l,
6634
6637
  announcementDelay: s,
6635
6638
  children: e,
@@ -6671,21 +6674,21 @@ try {
6671
6674
  });
6672
6675
  } catch {
6673
6676
  }
6674
- const Gl = ({
6677
+ const Zl = ({
6675
6678
  mode: e
6676
6679
  }) => b({
6677
6680
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
6678
6681
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
6679
6682
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
6680
6683
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
6681
- }), ql = ({
6684
+ }), eu = ({
6682
6685
  focusMode: e
6683
6686
  }) => b("focus:outline focus:outline-2 focus:outline-offset-2", {
6684
6687
  "focus:outline-focus-dark": e === "dark",
6685
6688
  "focus:outline-focus-light": e === "light",
6686
6689
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
6687
6690
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
6688
- }), Wl = ({
6691
+ }), tu = ({
6689
6692
  noBorder: e,
6690
6693
  error: t
6691
6694
  }) => b("border-2", {
@@ -6693,7 +6696,7 @@ const Gl = ({
6693
6696
  "focus:border-border-dark": !e && t,
6694
6697
  "border-border-error-dark": !e && t,
6695
6698
  "border-transparent": e
6696
- }), Jl = ({
6699
+ }), ru = ({
6697
6700
  disabled: e,
6698
6701
  raw: t,
6699
6702
  error: r,
@@ -6717,7 +6720,7 @@ const Gl = ({
6717
6720
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": n === "system",
6718
6721
  "text-copy-lighter dark:text-copy-error-dark": n === "alt-system"
6719
6722
  });
6720
- }, zl = ({
6723
+ }, nu = ({
6721
6724
  error: e,
6722
6725
  raw: t,
6723
6726
  mode: r,
@@ -6744,7 +6747,7 @@ const Gl = ({
6744
6747
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
6745
6748
  "dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
6746
6749
  });
6747
- }, Ql = ({
6750
+ }, su = ({
6748
6751
  className: e,
6749
6752
  inputClassName: t,
6750
6753
  raw: r,
@@ -6758,7 +6761,7 @@ const Gl = ({
6758
6761
  }) => {
6759
6762
  const d = r ? e : b(
6760
6763
  "relative flex w-full flex-col justify-center",
6761
- Ll,
6764
+ jl,
6762
6765
  e
6763
6766
  );
6764
6767
  let u = "";
@@ -6780,22 +6783,22 @@ const Gl = ({
6780
6783
  break;
6781
6784
  }
6782
6785
  const h = r ? b(t) : b(
6783
- pi,
6786
+ gi,
6784
6787
  u,
6785
6788
  "rounded-md text-base px-4",
6786
- Gl({ mode: a }),
6787
- ql({ focusMode: o }),
6788
- Wl({ noBorder: s, error: i }),
6789
+ Zl({ mode: a }),
6790
+ eu({ focusMode: o }),
6791
+ tu({ noBorder: s, error: i }),
6789
6792
  {
6790
6793
  "disabled:cursor-not-allowed disabled:opacity-50": n
6791
6794
  },
6792
6795
  t
6793
- ), y = r ? void 0 : "sr-only", m = Jl({
6796
+ ), y = r ? void 0 : "sr-only", m = ru({
6794
6797
  disabled: n,
6795
6798
  raw: r,
6796
6799
  error: i,
6797
6800
  mode: a
6798
- }), g = zl({
6801
+ }), g = nu({
6799
6802
  error: i,
6800
6803
  raw: r,
6801
6804
  mode: a,
@@ -6831,13 +6834,13 @@ const Gl = ({
6831
6834
  size: k = "md",
6832
6835
  ...O
6833
6836
  }, T) => {
6834
- const [R, C] = Kl(), [L, H] = Ae(0), S = Hl({ id: e, prefix: `${pi}-` }), A = `${t} error, ${m}`, P = Q(null), N = Q(null), X = {
6837
+ const [R, C] = Wl(), [L, H] = Ae(0), S = Jl({ id: e, prefix: `${gi}-` }), A = `${t} error, ${m}`, P = Q(null), N = Q(null), X = {
6835
6838
  xs: { label: "-25px", helperText: "30px" },
6836
6839
  sm: { label: "-29px", helperText: "34px" },
6837
6840
  md: { label: "-33px", helperText: "38px" },
6838
6841
  lg: { label: "-15px", helperText: "22px" },
6839
6842
  xl: { label: "-19px", helperText: "25px" }
6840
- }, Z = Ql({
6843
+ }, Z = su({
6841
6844
  className: i,
6842
6845
  inputClassName: a,
6843
6846
  error: n,
@@ -6911,12 +6914,12 @@ const Gl = ({
6911
6914
  children: g
6912
6915
  }
6913
6916
  ),
6914
- n && m && /* @__PURE__ */ p(wi, { politeness: "polite", clearAnnouncementDelay: 500, children: A })
6917
+ n && m && /* @__PURE__ */ p(vi, { politeness: "polite", clearAnnouncementDelay: 500, children: A })
6915
6918
  ] });
6916
6919
  }
6917
6920
  );
6918
6921
  bn.displayName = "TextInput";
6919
- function Yl(e) {
6922
+ function iu(e) {
6920
6923
  return Er(() => e.every((t) => t == null) ? () => {
6921
6924
  } : (t) => {
6922
6925
  e.forEach((r) => {
@@ -6924,7 +6927,7 @@ function Yl(e) {
6924
6927
  });
6925
6928
  }, e);
6926
6929
  }
6927
- const Xl = 500, Zl = 5e3, eu = 2e4, vi = ke.forwardRef(
6930
+ const au = 500, ou = 5e3, cu = 2e4, Ei = ke.forwardRef(
6928
6931
  ({
6929
6932
  name: e,
6930
6933
  disabled: t,
@@ -6941,19 +6944,19 @@ const Xl = 500, Zl = 5e3, eu = 2e4, vi = ke.forwardRef(
6941
6944
  const [h, y] = Ae(!0), [m, g] = Ae({
6942
6945
  message: null,
6943
6946
  politeness: null
6944
- }), v = Q(!0), k = Q(null), O = Q(null), T = Yl([u, O]), R = h ? "Show" : "Hide", C = () => {
6947
+ }), v = Q(!0), k = Q(null), O = Q(null), T = iu([u, O]), R = h ? "Show" : "Hide", C = () => {
6945
6948
  k.current && clearTimeout(k.current), v.current || (k.current = setTimeout(() => {
6946
6949
  v.current = !0, y(!0), g({
6947
- announcementTimeout: Zl,
6950
+ announcementTimeout: ou,
6948
6951
  politeness: "polite",
6949
6952
  message: `${r} hiding characters`
6950
6953
  }), s && s(!0);
6951
- }, eu));
6954
+ }, cu));
6952
6955
  }, L = (N) => {
6953
6956
  N.preventDefault();
6954
6957
  const X = !v.current;
6955
6958
  v.current = X, C(), y(X), g({
6956
- announcementTimeout: Xl,
6959
+ announcementTimeout: au,
6957
6960
  politeness: "assertive",
6958
6961
  message: X ? "Characters hidden" : "Characters showing"
6959
6962
  }), s && s(X);
@@ -6994,7 +6997,7 @@ const Xl = 500, Zl = 5e3, eu = 2e4, vi = ke.forwardRef(
6994
6997
  }
6995
6998
  ),
6996
6999
  /* @__PURE__ */ p(
6997
- wi,
7000
+ vi,
6998
7001
  {
6999
7002
  role: "status",
7000
7003
  politeness: m.politeness,
@@ -7005,7 +7008,7 @@ const Xl = 500, Zl = 5e3, eu = 2e4, vi = ke.forwardRef(
7005
7008
  ] });
7006
7009
  }
7007
7010
  );
7008
- vi.displayName = "TextInputMask";
7011
+ Ei.displayName = "TextInputMask";
7009
7012
  /*!
7010
7013
  @versini/ui-textinput v4.0.1
7011
7014
  © 2025 gizmette.com
@@ -7019,17 +7022,17 @@ try {
7019
7022
  });
7020
7023
  } catch {
7021
7024
  }
7022
- const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in with a Passkey", Id = "Log out", su = "Password", kd = "Usage", Rd = "Profile", Od = "Settings", Cd = "Chat history", _d = "About", Nd = "Type your question here", Pd = "{{clipboard}}", xd = `Sometimes, ${Ei} hallucinates. Review important details.`, Dd = "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.", Md = "Default provider set to", Ld = "Chat successfully deleted!", $d = "Chat successfully saved!", Ud = "av-sassy", Kd = {
7025
+ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in with a Passkey", Ld = "Log out", fu = "Password", $d = "Usage", Ud = "Profile", Kd = "Settings", Hd = "Chat history", Fd = "About", Bd = "Type your question here", Vd = "{{clipboard}}", jd = `Sometimes, ${Si} hallucinates. Review important details.`, Gd = "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.", qd = "Default provider set to", Wd = "Chat successfully deleted!", Jd = "Chat successfully saved!", zd = "av-sassy", Qd = {
7023
7026
  0: ["January", "February", "March"],
7024
7027
  3: ["April", "May", "June"],
7025
7028
  6: ["July", "August", "September"],
7026
7029
  9: ["October", "November", "December"]
7027
- }, Hd = {
7030
+ }, Yd = {
7028
7031
  0: ["Jan", "Feb", "Mar"],
7029
7032
  3: ["Apr", "May", "Jun"],
7030
7033
  6: ["Jul", "Aug", "Sep"],
7031
7034
  9: ["Oct", "Nov", "Dec"]
7032
- }, Fd = {
7035
+ }, Xd = {
7033
7036
  PREFERENCES: {
7034
7037
  TITLE: "User profile",
7035
7038
  NAME: "Name",
@@ -7062,24 +7065,24 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
7062
7065
  TITLE: "Chat Details",
7063
7066
  INSTRUCTION: "This option adds individual statistics for each messages under their respective bubbles, such as model name, and more."
7064
7067
  }
7065
- }, iu = () => /* @__PURE__ */ re(
7068
+ }, hu = () => /* @__PURE__ */ re(
7066
7069
  "div",
7067
7070
  {
7068
7071
  className: b(
7069
7072
  {
7070
- "mt-4": hi()
7073
+ "mt-4": yi()
7071
7074
  },
7072
7075
  "flex items-center justify-center text-slate-300"
7073
7076
  ),
7074
7077
  children: [
7075
- /* @__PURE__ */ p("div", { className: "basis-1/4", children: /* @__PURE__ */ p(Rl, {}) }),
7078
+ /* @__PURE__ */ p("div", { className: "basis-1/4", children: /* @__PURE__ */ p(Ml, {}) }),
7076
7079
  /* @__PURE__ */ re("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
7077
- /* @__PURE__ */ p("h1", { children: Ei }),
7078
- /* @__PURE__ */ p("h2", { children: tu })
7080
+ /* @__PURE__ */ p("h1", { children: Si }),
7081
+ /* @__PURE__ */ p("h2", { children: lu })
7079
7082
  ] })
7080
7083
  ]
7081
7084
  }
7082
- ), au = () => {
7085
+ ), yu = () => {
7083
7086
  const { login: e, logoutReason: t, loginWithPasskey: r } = di(), [n, s] = Ae(""), [i, a] = Ae(""), [o, c] = Ae(!0), [l, d] = Ae({
7084
7087
  username: "",
7085
7088
  password: ""
@@ -7095,9 +7098,9 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
7095
7098
  }), ge(() => {
7096
7099
  t && a(t);
7097
7100
  }, [t]), /* @__PURE__ */ p(lr, { children: /* @__PURE__ */ re(
7098
- Pl,
7101
+ Hl,
7099
7102
  {
7100
- className: rl({
7103
+ className: ul({
7101
7104
  extraClass: "mt-5"
7102
7105
  }),
7103
7106
  noMargin: !0,
@@ -7106,13 +7109,13 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
7106
7109
  /* @__PURE__ */ p(
7107
7110
  "div",
7108
7111
  {
7109
- className: tl({
7112
+ className: ll({
7110
7113
  extraClass: "rounded-md"
7111
7114
  }),
7112
- children: /* @__PURE__ */ p(iu, {})
7115
+ children: /* @__PURE__ */ p(hu, {})
7113
7116
  }
7114
7117
  ),
7115
- /* @__PURE__ */ p("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ p(Dl, { alignHorizontal: "center", children: /* @__PURE__ */ p(Ke, { span: 6, children: /* @__PURE__ */ re(kl, { mode: "dark", children: [
7118
+ /* @__PURE__ */ p("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ p(Bl, { alignHorizontal: "center", children: /* @__PURE__ */ p(Ke, { span: 6, children: /* @__PURE__ */ re(Dl, { mode: "dark", children: [
7116
7119
  /* @__PURE__ */ p(Ke, { span: 12, className: "mt-7", children: i && /* @__PURE__ */ p("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: i }) }),
7117
7120
  /* @__PURE__ */ p(Ke, { span: 12, children: /* @__PURE__ */ p(
7118
7121
  bn,
@@ -7136,7 +7139,7 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
7136
7139
  }
7137
7140
  ) }),
7138
7141
  /* @__PURE__ */ p(Ke, { span: 12, children: /* @__PURE__ */ p(
7139
- vi,
7142
+ Ei,
7140
7143
  {
7141
7144
  className: "mt-7",
7142
7145
  required: !0,
@@ -7146,14 +7149,14 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
7146
7149
  mode: "dark",
7147
7150
  focusMode: "light",
7148
7151
  name: "password",
7149
- label: su,
7152
+ label: fu,
7150
7153
  rightElement: /* @__PURE__ */ p(
7151
7154
  wr,
7152
7155
  {
7153
7156
  focusMode: "light",
7154
7157
  mode: "dark",
7155
7158
  label: o ? "Show" : "Hide",
7156
- children: o ? /* @__PURE__ */ p(_l, {}) : /* @__PURE__ */ p(Ol, {})
7159
+ children: o ? /* @__PURE__ */ p(Ul, {}) : /* @__PURE__ */ p(Ll, {})
7157
7160
  }
7158
7161
  ),
7159
7162
  onMaskChange: c,
@@ -7168,7 +7171,7 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
7168
7171
  }
7169
7172
  ) }),
7170
7173
  /* @__PURE__ */ p(Ke, { span: 12, children: /* @__PURE__ */ p(
7171
- mi,
7174
+ pi,
7172
7175
  {
7173
7176
  mode: "light",
7174
7177
  focusMode: "light",
@@ -7176,10 +7179,10 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
7176
7179
  noBorder: !0,
7177
7180
  type: "submit",
7178
7181
  className: "mt-7",
7179
- children: ru
7182
+ children: uu
7180
7183
  }
7181
7184
  ) }),
7182
- !nl() && /* @__PURE__ */ re(lr, { children: [
7185
+ !dl() && /* @__PURE__ */ re(lr, { children: [
7183
7186
  /* @__PURE__ */ p(Ke, { span: 12, children: /* @__PURE__ */ p("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
7184
7187
  /* @__PURE__ */ p(Ke, { span: 12, children: /* @__PURE__ */ p(
7185
7188
  wr,
@@ -7189,9 +7192,9 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
7189
7192
  focusMode: "light",
7190
7193
  fullWidth: !0,
7191
7194
  className: "mb-4",
7192
- labelRight: nu,
7195
+ labelRight: du,
7193
7196
  onClick: r,
7194
- children: /* @__PURE__ */ p(Cl, { size: "size-7" })
7197
+ children: /* @__PURE__ */ p($l, { size: "size-7" })
7195
7198
  }
7196
7199
  ) })
7197
7200
  ] })
@@ -7199,23 +7202,23 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
7199
7202
  ]
7200
7203
  }
7201
7204
  ) });
7202
- }, ou = new URL(document.location.href).searchParams, zn = !!ou.get("debug") || !1, cu = ki(() => import(
7205
+ }, mu = new URL(document.location.href).searchParams, zn = !!mu.get("debug") || !1, pu = Ri(() => import(
7203
7206
  /* webpackChunkName: "LazyApp" */
7204
- "./App.cBjIeZW9.js"
7205
- ).then((e) => e.App)), lu = new zi(), Qn = ({
7207
+ "./App.CpbwczH1.js"
7208
+ ).then((e) => e.App)), gu = new Qi(), Qn = ({
7206
7209
  isComponent: e,
7207
7210
  headerHeight: t
7208
7211
  }) => {
7209
7212
  const { isAuthenticated: r } = di();
7210
- return r ? /* @__PURE__ */ p(Ii, { fallback: /* @__PURE__ */ p("div", {}), children: /* @__PURE__ */ re(Yi, { client: lu, children: [
7211
- /* @__PURE__ */ p(ko, {}),
7212
- /* @__PURE__ */ p(cu, { isComponent: e, headerHeight: t })
7213
- ] }) }) : /* @__PURE__ */ p(au, {});
7214
- }, uu = ({
7213
+ return r ? /* @__PURE__ */ p(ki, { fallback: /* @__PURE__ */ p("div", {}), children: /* @__PURE__ */ re(Xi, { client: gu, children: [
7214
+ /* @__PURE__ */ p(Ro, {}),
7215
+ /* @__PURE__ */ p(pu, { isComponent: e, headerHeight: t })
7216
+ ] }) }) : /* @__PURE__ */ p(yu, {});
7217
+ }, bu = ({
7215
7218
  isComponent: e = !1,
7216
7219
  headerHeight: t = 0,
7217
- domain: r = el
7218
- }) => fi ? /* @__PURE__ */ p(
7220
+ domain: r = cl
7221
+ }) => hi ? /* @__PURE__ */ p(
7219
7222
  jn,
7220
7223
  {
7221
7224
  clientId: Gn,
@@ -7224,8 +7227,8 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
7224
7227
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
7225
7228
  children: /* @__PURE__ */ p(Qn, { isComponent: e, headerHeight: t })
7226
7229
  }
7227
- ) : /* @__PURE__ */ p(jn, { clientId: Gn, domain: r, debug: zn, children: /* @__PURE__ */ p(Qn, { isComponent: e, headerHeight: t }) }), Bd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ p(
7228
- uu,
7230
+ ) : /* @__PURE__ */ p(jn, { clientId: Gn, domain: r, debug: zn, children: /* @__PURE__ */ p(Qn, { isComponent: e, headerHeight: t }) }), Zd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ p(
7231
+ bu,
7229
7232
  {
7230
7233
  isComponent: !0,
7231
7234
  domain: e,
@@ -7233,133 +7236,139 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
7233
7236
  }
7234
7237
  );
7235
7238
  export {
7236
- _d as ABOUT_TITLE,
7237
- Zu as ACTION_RESET_PROMPT,
7238
- Qu as ACTION_SEARCH,
7239
- Yu as ACTION_SORT,
7240
- Xu as ACTION_TOGGLE_PROMPT,
7241
- Ud as APP_CLASSNAME,
7242
- Ei as APP_NAME,
7243
- mi as C,
7244
- Fd as CARDS,
7245
- Pd as CLIPBOARD_PROMPT,
7246
- ud as DEFAULT_ICON_ACTION_SIZE,
7247
- Nu as Dynamic,
7248
- zu as ERROR_MESSAGE,
7249
- xd as FOOTER_DISCLAIMER,
7250
- Au as For,
7251
- yd as GRANTS,
7252
- Cd as HISTORY_TITLE,
7239
+ Fd as ABOUT_TITLE,
7240
+ od as ACTION_RESET_PROMPT,
7241
+ sd as ACTION_SEARCH,
7242
+ id as ACTION_SORT,
7243
+ ad as ACTION_TOGGLE_PROMPT,
7244
+ zd as APP_CLASSNAME,
7245
+ Si as APP_NAME,
7246
+ pi as C,
7247
+ Xd as CARDS,
7248
+ Vd as CLIPBOARD_PROMPT,
7249
+ bd as DEFAULT_ICON_ACTION_SIZE,
7250
+ Ku as Dynamic,
7251
+ fi as E,
7252
+ nd as ERROR_MESSAGE,
7253
+ jd as FOOTER_DISCLAIMER,
7254
+ Nu as For,
7255
+ Sd as GRANTS,
7256
+ Hd as HISTORY_TITLE,
7253
7257
  _r as I,
7254
- Pl as I$1,
7255
- od as INFINITE_SCROLL_LIMIT,
7256
- ad as INFINITE_SCROLL_THRESHOLD,
7257
- Nd as INPUT_PLACEHOLDER_TEXT,
7258
- Tu as Index,
7259
- Dl as L,
7260
- td as LOCAL_STORAGE_CHAT_DETAILS,
7261
- ed as LOCAL_STORAGE_PREFIX,
7262
- sd as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
7263
- id as LOCAL_STORAGE_REASONING_DISCLOSURE,
7264
- rd as LOCAL_STORAGE_SEARCH,
7265
- nd as LOCAL_STORAGE_SORT,
7266
- Id as LOG_OUT,
7267
- iu as Logo,
7268
- Ru as Match,
7269
- Rd as PROFILE_TITLE,
7270
- Dd as PROMPTS_DESCRIPTION,
7271
- cd as PROMPT_CLASSNAME,
7272
- ld as PROMPT_EDITABLE_AREA_CLASSNAME,
7273
- _u as Portal,
7258
+ Hl as I$1,
7259
+ md as INFINITE_SCROLL_LIMIT,
7260
+ yd as INFINITE_SCROLL_THRESHOLD,
7261
+ Bd as INPUT_PLACEHOLDER_TEXT,
7262
+ Pu as Index,
7263
+ Bl as L,
7264
+ ld as LOCAL_STORAGE_CHAT_DETAILS,
7265
+ cd as LOCAL_STORAGE_PREFIX,
7266
+ fd as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
7267
+ hd as LOCAL_STORAGE_REASONING_DISCLOSURE,
7268
+ ud as LOCAL_STORAGE_SEARCH,
7269
+ dd as LOCAL_STORAGE_SORT,
7270
+ Ld as LOG_OUT,
7271
+ hu as Logo,
7272
+ Mu as Match,
7273
+ el as O,
7274
+ Ud as PROFILE_TITLE,
7275
+ Gd as PROMPTS_DESCRIPTION,
7276
+ pd as PROMPT_CLASSNAME,
7277
+ gd as PROMPT_EDITABLE_AREA_CLASSNAME,
7278
+ Uu as Portal,
7274
7279
  di as Qr,
7275
- Ju as ROLE_INTERNAL,
7276
- kl as S,
7277
- Od as SETTINGS_TITLE,
7278
- Bd as SassySaint,
7279
- Iu as Show,
7280
+ rd as ROLE_INTERNAL,
7281
+ Dl as S,
7282
+ Kd as SETTINGS_TITLE,
7283
+ Zd as SassySaint,
7284
+ xu as Show,
7280
7285
  Sr as Subscribable,
7281
- ku as Switch,
7282
- Ld as TOAST_CHAT_DELETED,
7283
- $d as TOAST_CHAT_SAVED,
7284
- Md as TOAST_PROVIDER_CHANGED,
7285
- Kd as TRIMESTERS,
7286
- Hd as TRIMESTERS_SHORT,
7287
- fd as UI_BUTTON_SCROLL_BUFFER,
7288
- hd as UI_DEFAULT_MAIN_HEIGHT,
7289
- dd as UI_FOOTER_BUFFER,
7290
- kd as USAGE_TITLE,
7291
- Da as addEventListener,
7292
- pu as batch,
7293
- xa as className,
7294
- Cu as clearDelegatedEvents,
7295
- Sd as convertCamelCaseToReadable,
7296
- Fu as convertRemToPixels,
7297
- ha as createComponent,
7298
- Zi as createComputed,
7299
- vu as createContext,
7286
+ Du as Switch,
7287
+ Id as T,
7288
+ Wd as TOAST_CHAT_DELETED,
7289
+ Jd as TOAST_CHAT_SAVED,
7290
+ qd as TOAST_PROVIDER_CHANGED,
7291
+ Qd as TRIMESTERS,
7292
+ Yd as TRIMESTERS_SHORT,
7293
+ vd as UI_BUTTON_SCROLL_BUFFER,
7294
+ Ed as UI_DEFAULT_MAIN_HEIGHT,
7295
+ wd as UI_FOOTER_BUFFER,
7296
+ $d as USAGE_TITLE,
7297
+ Td as _,
7298
+ Ma as addEventListener,
7299
+ Tu as batch,
7300
+ Da as className,
7301
+ $u as clearDelegatedEvents,
7302
+ xd as convertCamelCaseToReadable,
7303
+ zu as convertRemToPixels,
7304
+ ya as createComponent,
7305
+ ea as createComputed,
7306
+ Ou as createContext,
7300
7307
  ws as createEffect,
7301
7308
  q as createMemo,
7302
7309
  We as createRenderEffect,
7303
7310
  qe as createRoot,
7304
7311
  ne as createSignal,
7305
- Su as createUniqueId,
7306
- vd as debounce,
7307
- _a as delegateEvents,
7312
+ _u as createUniqueId,
7313
+ Nd as debounce,
7314
+ Na as delegateEvents,
7308
7315
  Zt as deleteNestedDataByPath,
7309
- Uu as displayValue,
7316
+ qu as displayValue,
7310
7317
  bn as fe,
7311
- Bi as fetchState,
7312
- Td as findProvider,
7318
+ Vi as fetchState,
7319
+ Md as findProvider,
7313
7320
  us as focusManager,
7314
- md as getCurrentGeoLocation,
7315
- rl as getMainPaddingClass,
7316
- tl as getMessageContaintWrapperClass,
7317
- Lu as getMutationStatusColor,
7318
- Bu as getPreferredColorScheme,
7319
- Mu as getQueryStatusColor,
7320
- $u as getQueryStatusColorByLabel,
7321
- xu as getQueryStatusLabel,
7322
- Du as getSidedProp,
7321
+ kd as getCurrentGeoLocation,
7322
+ ul as getMainPaddingClass,
7323
+ ll as getMessageContaintWrapperClass,
7324
+ ju as getMutationStatusColor,
7325
+ Qu as getPreferredColorScheme,
7326
+ Vu as getQueryStatusColor,
7327
+ Gu as getQueryStatusColorByLabel,
7328
+ Fu as getQueryStatusLabel,
7329
+ Bu as getSidedProp,
7323
7330
  en as insert,
7324
- nl as isElectron,
7325
- hi as isProbablyMobile,
7326
- Ed as isProbablyiPhone,
7331
+ dl as isElectron,
7332
+ yi as isProbablyMobile,
7333
+ Pd as isProbablyiPhone,
7327
7334
  Ar as isServer,
7328
- Oi as isValidTimeout,
7335
+ Ci as isValidTimeout,
7329
7336
  Ke as j,
7330
- Cl as l,
7331
- ma as mergeProps,
7332
- Hu as mutationSortFns,
7337
+ $l as l,
7338
+ pa as mergeProps,
7339
+ Ju as mutationSortFns,
7333
7340
  oe as noop,
7334
7341
  te as notifyManager,
7335
- pd as obfuscate,
7336
- gu as on,
7342
+ Rd as obfuscate,
7343
+ Iu as on,
7337
7344
  Pt as onCleanup,
7338
- ra as onMount,
7339
- $i as pendingThenable,
7340
- wd as pluralize,
7341
- Wu as qr,
7345
+ na as onMount,
7346
+ Ui as pendingThenable,
7347
+ _d as pluralize,
7348
+ td as qr,
7342
7349
  wr as re,
7343
- bd as renderDataAsList,
7344
- Pi as replaceData,
7345
- _i as resolveEnabled,
7350
+ Cd as renderDataAsList,
7351
+ xi as replaceData,
7352
+ Ni as resolveEnabled,
7346
7353
  En as resolveStaleTime,
7347
- wo as serialize,
7354
+ Ad as s,
7355
+ vo as serialize,
7348
7356
  Zr as setAttribute,
7349
- mu as shallowEqualObjects,
7350
- Ku as sortFns,
7351
- pa as splitProps,
7352
- $a as spread,
7353
- Pu as stringify,
7354
- Ou as template,
7355
- Ci as timeUntilStale,
7356
- Ad as toastOptions,
7357
- gd as unObfuscate,
7357
+ Au as shallowEqualObjects,
7358
+ Wu as sortFns,
7359
+ ga as splitProps,
7360
+ Ua as spread,
7361
+ Hu as stringify,
7362
+ tl as t,
7363
+ Lu as template,
7364
+ _i as timeUntilStale,
7365
+ Dd as toastOptions,
7366
+ Od as unObfuscate,
7358
7367
  W as untrack,
7359
7368
  Xt as updateNestedDataByPath,
7360
- Ua as use,
7361
- Eu as useContext,
7362
- Qi as useQueryClient,
7363
- wu as useTransition,
7369
+ Ka as use,
7370
+ Cu as useContext,
7371
+ Yi as useQueryClient,
7372
+ Ru as useTransition,
7364
7373
  Rt as x
7365
7374
  };