@versini/sassysaint 8.39.10 → 8.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/chunks/{AboutChangelog.CCL6woFi.js → AboutChangelog.sxwJVJMw.js} +2 -2
  2. package/dist/chunks/{AboutEntry.CdUMph5q.js → AboutEntry.BQ81lUub.js} +5 -5
  3. package/dist/chunks/App.B9gc6fg7.js +14162 -0
  4. package/dist/chunks/{Chart.BDCtfHpJ.js → Chart.C49WdExM.js} +2 -2
  5. package/dist/chunks/ChatBubbleAssistant.BGAdbVxr.js +75 -0
  6. package/dist/chunks/{HistoryEntry.DzQ2MSaZ.js → HistoryEntry.B9fK7Ffl.js} +231 -216
  7. package/dist/chunks/{LNWAZHJI.D7CCdvNo.js → LNWAZHJI.CdnUhcqc.js} +1 -1
  8. package/dist/chunks/{ProfileEntry.YotUrCiu.js → ProfileEntry.CfrDx_1j.js} +2 -2
  9. package/dist/chunks/{SettingsEntry.CnnDhK6w.js → SettingsEntry.D75eEHLZ.js} +2 -2
  10. package/dist/chunks/{UsageEntry.D2ZOKNfK.js → UsageEntry.In0ugMi8.js} +3 -3
  11. package/dist/chunks/{index.Dx6oN_z4.js → index.BKnr6q_J.js} +1 -1
  12. package/dist/chunks/{index.RXuXaAsE.js → index.Cl7AhqCZ.js} +1 -1
  13. package/dist/chunks/{index.Dym4y9es.js → index.CrPLofea.js} +626 -592
  14. package/dist/chunks/{index.7uobAuKV.js → index.D3As27U8.js} +2 -2
  15. package/dist/chunks/{index.f7-kYhdF.js → index.DBcnZQzl.js} +1 -1
  16. package/dist/chunks/{index.CVlucvO6.js → index.uP1AYao7.js} +3 -3
  17. package/dist/chunks/{useMarkdown.ClVoAzdf.js → useMarkdown.4lWqmQ_l.js} +6 -6
  18. package/dist/components/SassySaint/SassySaint.js +1 -1
  19. package/dist/index.js +4 -4
  20. package/dist/style.css +1 -1
  21. package/package.json +3 -3
  22. package/dist/chunks/App.fCKFZhqI.js +0 -10314
  23. package/dist/chunks/ChatBubbleAssistant.DNqS0sbL.js +0 -74
@@ -1,6 +1,6 @@
1
1
  import { jsx as y, jsxs as X, Fragment as pr } from "react/jsx-runtime";
2
2
  import * as te from "react";
3
- import fe, { createContext as cn, useReducer as ln, useCallback as ue, useRef as W, useEffect as Z, useSyncExternalStore as Ps, useContext as gr, useLayoutEffect as gt, useState as le, useMemo as Rt, useId as un, Suspense as xs, lazy as $s } from "react";
3
+ import fe, { createContext as cn, useReducer as ln, useCallback as ue, useRef as W, useEffect as Z, useSyncExternalStore as xs, useContext as gr, useLayoutEffect as gt, useState as le, useMemo as Rt, useId as un, Suspense as $s, lazy as Ds } from "react";
4
4
  import g from "clsx";
5
5
  var _t = class {
6
6
  constructor() {
@@ -21,19 +21,19 @@ var _t = class {
21
21
  }, Ct = typeof window > "u" || "Deno" in globalThis;
22
22
  function re() {
23
23
  }
24
- function Ds(e, t) {
24
+ function Ms(e, t) {
25
25
  return typeof e == "function" ? e(t) : e;
26
26
  }
27
- function Ms(e) {
27
+ function Ls(e) {
28
28
  return typeof e == "number" && e >= 0 && e !== 1 / 0;
29
29
  }
30
- function Ls(e, t) {
30
+ function Us(e, t) {
31
31
  return Math.max(e + (t || 0) - Date.now(), 0);
32
32
  }
33
33
  function Zt(e, t) {
34
34
  return typeof e == "function" ? e(t) : e;
35
35
  }
36
- function Us(e, t) {
36
+ function Fs(e, t) {
37
37
  return typeof e == "function" ? e(t) : e;
38
38
  }
39
39
  function Nr(e, t) {
@@ -99,7 +99,7 @@ function er(e, t) {
99
99
  }
100
100
  return t;
101
101
  }
102
- function Wl(e, t) {
102
+ function su(e, t) {
103
103
  if (!t || Object.keys(e).length !== Object.keys(t).length)
104
104
  return !1;
105
105
  for (const r in e)
@@ -122,12 +122,12 @@ function tr(e) {
122
122
  function $r(e) {
123
123
  return Object.prototype.toString.call(e) === "[object Object]";
124
124
  }
125
- function Fs(e) {
125
+ function Ks(e) {
126
126
  return new Promise((t) => {
127
127
  setTimeout(t, e);
128
128
  });
129
129
  }
130
- function Ks(e, t, r) {
130
+ function Hs(e, t, r) {
131
131
  if (typeof r.structuralSharing == "function")
132
132
  return r.structuralSharing(e, t);
133
133
  if (r.structuralSharing !== !1) {
@@ -143,11 +143,11 @@ function Ks(e, t, r) {
143
143
  }
144
144
  return t;
145
145
  }
146
- function Hs(e, t, r = 0) {
146
+ function Bs(e, t, r = 0) {
147
147
  const n = [...e, t];
148
148
  return r && n.length > r ? n.slice(1) : n;
149
149
  }
150
- function Bs(e, t, r = 0) {
150
+ function Vs(e, t, r = 0) {
151
151
  const n = [t, ...e];
152
152
  return r && n.length > r ? n.slice(0, -1) : n;
153
153
  }
@@ -157,10 +157,10 @@ function dn(e, t) {
157
157
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
158
158
  ), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === bt ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
159
159
  }
160
- function Gl(e, t) {
160
+ function iu(e, t) {
161
161
  return typeof e == "function" ? e(...t) : !!e;
162
162
  }
163
- var Vs = class extends _t {
163
+ var js = class extends _t {
164
164
  #e;
165
165
  #t;
166
166
  #r;
@@ -197,7 +197,7 @@ var Vs = class extends _t {
197
197
  isFocused() {
198
198
  return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
199
199
  }
200
- }, fn = new Vs(), js = class extends _t {
200
+ }, fn = new js(), Ws = class extends _t {
201
201
  #e = !0;
202
202
  #t;
203
203
  #r;
@@ -228,8 +228,8 @@ var Vs = class extends _t {
228
228
  isOnline() {
229
229
  return this.#e;
230
230
  }
231
- }, je = new js();
232
- function Ws() {
231
+ }, je = new Ws();
232
+ function Gs() {
233
233
  let e, t;
234
234
  const r = new Promise((s, i) => {
235
235
  e = s, t = i;
@@ -251,7 +251,7 @@ function Ws() {
251
251
  }), t(s);
252
252
  }, r;
253
253
  }
254
- function Gs(e) {
254
+ function qs(e) {
255
255
  return Math.min(1e3 * 2 ** e, 3e4);
256
256
  }
257
257
  function hn(e) {
@@ -264,7 +264,7 @@ var mn = class extends Error {
264
264
  };
265
265
  function yn(e) {
266
266
  let t = !1, r = 0, n;
267
- const s = Ws(), i = () => s.status !== "pending", o = (p) => {
267
+ const s = Gs(), i = () => s.status !== "pending", o = (p) => {
268
268
  i() || (f(new mn(p)), e.abort?.());
269
269
  }, a = () => {
270
270
  t = !0;
@@ -293,12 +293,12 @@ function yn(e) {
293
293
  Promise.resolve(p).then(l).catch((w) => {
294
294
  if (i())
295
295
  return;
296
- const k = e.retry ?? (Ct ? 0 : 3), S = e.retryDelay ?? Gs, O = typeof S == "function" ? S(r, w) : S, _ = k === !0 || typeof k == "number" && r < k || typeof k == "function" && k(r, w);
296
+ const k = e.retry ?? (Ct ? 0 : 3), S = e.retryDelay ?? qs, O = typeof S == "function" ? S(r, w) : S, _ = k === !0 || typeof k == "number" && r < k || typeof k == "function" && k(r, w);
297
297
  if (t || !_) {
298
298
  f(w);
299
299
  return;
300
300
  }
301
- r++, e.onFail?.(r, w), Fs(O).then(() => d() ? void 0 : h()).then(() => {
301
+ r++, e.onFail?.(r, w), Ks(O).then(() => d() ? void 0 : h()).then(() => {
302
302
  t ? f(w) : m();
303
303
  });
304
304
  });
@@ -314,13 +314,13 @@ function yn(e) {
314
314
  start: () => (u() ? m() : h().then(m), s)
315
315
  };
316
316
  }
317
- var qs = (e) => setTimeout(e, 0);
318
- function Js() {
317
+ var Js = (e) => setTimeout(e, 0);
318
+ function zs() {
319
319
  let e = [], t = 0, r = (a) => {
320
320
  a();
321
321
  }, n = (a) => {
322
322
  a();
323
- }, s = qs;
323
+ }, s = Js;
324
324
  const i = (a) => {
325
325
  t ? e.push(a) : s(() => {
326
326
  r(a);
@@ -374,13 +374,13 @@ function Js() {
374
374
  }
375
375
  };
376
376
  }
377
- var Q = Js(), pn = class {
377
+ var Q = zs(), pn = class {
378
378
  #e;
379
379
  destroy() {
380
380
  this.clearGcTimeout();
381
381
  }
382
382
  scheduleGc() {
383
- this.clearGcTimeout(), Ms(this.gcTime) && (this.#e = setTimeout(() => {
383
+ this.clearGcTimeout(), Ls(this.gcTime) && (this.#e = setTimeout(() => {
384
384
  this.optionalRemove();
385
385
  }, this.gcTime));
386
386
  }
@@ -393,7 +393,7 @@ var Q = Js(), pn = class {
393
393
  clearGcTimeout() {
394
394
  this.#e && (clearTimeout(this.#e), this.#e = void 0);
395
395
  }
396
- }, zs = class extends pn {
396
+ }, Qs = class extends pn {
397
397
  #e;
398
398
  #t;
399
399
  #r;
@@ -402,7 +402,7 @@ var Q = Js(), pn = class {
402
402
  #o;
403
403
  #a;
404
404
  constructor(e) {
405
- super(), this.#a = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#s = e.client, this.#r = this.#s.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = Ys(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
405
+ super(), this.#a = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#s = e.client, this.#r = this.#s.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = Xs(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
406
406
  }
407
407
  get meta() {
408
408
  return this.options.meta;
@@ -417,7 +417,7 @@ var Q = Js(), pn = class {
417
417
  !this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
418
418
  }
419
419
  setData(e, t) {
420
- const r = Ks(this.state.data, e, this.options);
420
+ const r = Hs(this.state.data, e, this.options);
421
421
  return this.#i({
422
422
  data: r,
423
423
  type: "success",
@@ -440,7 +440,7 @@ var Q = Js(), pn = class {
440
440
  }
441
441
  isActive() {
442
442
  return this.observers.some(
443
- (e) => Us(e.options.enabled, this) !== !1
443
+ (e) => Fs(e.options.enabled, this) !== !1
444
444
  );
445
445
  }
446
446
  isDisabled() {
@@ -457,7 +457,7 @@ var Q = Js(), pn = class {
457
457
  ) : this.state.data === void 0 || this.state.isInvalidated;
458
458
  }
459
459
  isStaleByTime(e = 0) {
460
- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Ls(this.state.dataUpdatedAt, e);
460
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Us(this.state.dataUpdatedAt, e);
461
461
  }
462
462
  onFocus() {
463
463
  this.observers.find((t) => t.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#n?.continue();
@@ -600,7 +600,7 @@ var Q = Js(), pn = class {
600
600
  case "fetch":
601
601
  return {
602
602
  ...r,
603
- ...Qs(r.data, this.options),
603
+ ...Ys(r.data, this.options),
604
604
  fetchMeta: e.meta ?? null
605
605
  };
606
606
  case "success":
@@ -650,7 +650,7 @@ var Q = Js(), pn = class {
650
650
  });
651
651
  }
652
652
  };
653
- function Qs(e, t) {
653
+ function Ys(e, t) {
654
654
  return {
655
655
  fetchFailureCount: 0,
656
656
  fetchFailureReason: null,
@@ -661,7 +661,7 @@ function Qs(e, t) {
661
661
  }
662
662
  };
663
663
  }
664
- function Ys(e) {
664
+ function Xs(e) {
665
665
  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;
666
666
  return {
667
667
  data: t,
@@ -678,7 +678,7 @@ function Ys(e) {
678
678
  fetchStatus: "idle"
679
679
  };
680
680
  }
681
- var Xs = class extends _t {
681
+ var Zs = class extends _t {
682
682
  constructor(e = {}) {
683
683
  super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
684
684
  }
@@ -686,7 +686,7 @@ var Xs = class extends _t {
686
686
  build(e, t, r) {
687
687
  const n = t.queryKey, s = t.queryHash ?? br(n, t);
688
688
  let i = this.get(s);
689
- return i || (i = new zs({
689
+ return i || (i = new Qs({
690
690
  client: e,
691
691
  queryKey: n,
692
692
  queryHash: s,
@@ -749,12 +749,12 @@ var Xs = class extends _t {
749
749
  });
750
750
  });
751
751
  }
752
- }, Zs = class extends pn {
752
+ }, ei = class extends pn {
753
753
  #e;
754
754
  #t;
755
755
  #r;
756
756
  constructor(e) {
757
- super(), this.mutationId = e.mutationId, this.#t = e.mutationCache, this.#e = [], this.state = e.state || ei(), this.setOptions(e.options), this.scheduleGc();
757
+ super(), this.mutationId = e.mutationId, this.#t = e.mutationCache, this.#e = [], this.state = e.state || ti(), this.setOptions(e.options), this.scheduleGc();
758
758
  }
759
759
  setOptions(e) {
760
760
  this.options = e, this.updateGcTime(this.options.gcTime);
@@ -926,7 +926,7 @@ var Xs = class extends _t {
926
926
  });
927
927
  }
928
928
  };
929
- function ei() {
929
+ function ti() {
930
930
  return {
931
931
  context: void 0,
932
932
  data: void 0,
@@ -939,7 +939,7 @@ function ei() {
939
939
  submittedAt: 0
940
940
  };
941
941
  }
942
- var ti = class extends _t {
942
+ var ri = class extends _t {
943
943
  constructor(e = {}) {
944
944
  super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#r = 0;
945
945
  }
@@ -947,7 +947,7 @@ var ti = class extends _t {
947
947
  #t;
948
948
  #r;
949
949
  build(e, t, r) {
950
- const n = new Zs({
950
+ const n = new ei({
951
951
  mutationCache: this,
952
952
  mutationId: ++this.#r,
953
953
  options: e.defaultMutationOptions(t),
@@ -1058,14 +1058,14 @@ function Dr(e) {
1058
1058
  meta: t.options.meta
1059
1059
  };
1060
1060
  return l(q), q;
1061
- })(), S = await f(k), { maxPages: O } = t.options, _ = b ? Bs : Hs;
1061
+ })(), S = await f(k), { maxPages: O } = t.options, _ = b ? Vs : Bs;
1062
1062
  return {
1063
1063
  pages: _(m.pages, S, O),
1064
1064
  pageParams: _(m.pageParams, p, O)
1065
1065
  };
1066
1066
  };
1067
1067
  if (s && i.length) {
1068
- const m = s === "backward", p = m ? ri : Mr, b = {
1068
+ const m = s === "backward", p = m ? ni : Mr, b = {
1069
1069
  pages: i,
1070
1070
  pageParams: o
1071
1071
  }, w = p(n, b);
@@ -1103,10 +1103,10 @@ function Mr(e, { pages: t, pageParams: r }) {
1103
1103
  r
1104
1104
  ) : void 0;
1105
1105
  }
1106
- function ri(e, { pages: t, pageParams: r }) {
1106
+ function ni(e, { pages: t, pageParams: r }) {
1107
1107
  return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, r[0], r) : void 0;
1108
1108
  }
1109
- var ni = class {
1109
+ var si = class {
1110
1110
  #e;
1111
1111
  #t;
1112
1112
  #r;
@@ -1116,7 +1116,7 @@ var ni = class {
1116
1116
  #a;
1117
1117
  #i;
1118
1118
  constructor(e = {}) {
1119
- this.#e = e.queryCache || new Xs(), this.#t = e.mutationCache || new ti(), this.#r = e.defaultOptions || {}, this.#s = /* @__PURE__ */ new Map(), this.#n = /* @__PURE__ */ new Map(), this.#o = 0;
1119
+ this.#e = e.queryCache || new Zs(), this.#t = e.mutationCache || new ri(), this.#r = e.defaultOptions || {}, this.#s = /* @__PURE__ */ new Map(), this.#n = /* @__PURE__ */ new Map(), this.#o = 0;
1120
1120
  }
1121
1121
  mount() {
1122
1122
  this.#o++, this.#o === 1 && (this.#a = fn.subscribe(async (e) => {
@@ -1158,7 +1158,7 @@ var ni = class {
1158
1158
  setQueryData(e, t, r) {
1159
1159
  const n = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(
1160
1160
  n.queryHash
1161
- )?.state.data, o = Ds(t, i);
1161
+ )?.state.data, o = Ms(t, i);
1162
1162
  if (o !== void 0)
1163
1163
  return this.#e.build(this, n).setData(o, { ...r, manual: !0 });
1164
1164
  }
@@ -1311,20 +1311,20 @@ var ni = class {
1311
1311
  }
1312
1312
  }, gn = te.createContext(
1313
1313
  void 0
1314
- ), si = (e) => {
1314
+ ), ii = (e) => {
1315
1315
  const t = te.useContext(gn);
1316
1316
  if (e)
1317
1317
  return e;
1318
1318
  if (!t)
1319
1319
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
1320
1320
  return t;
1321
- }, ii = ({
1321
+ }, ai = ({
1322
1322
  client: e,
1323
1323
  children: t
1324
1324
  }) => (te.useEffect(() => (e.mount(), () => {
1325
1325
  e.unmount();
1326
- }), [e]), /* @__PURE__ */ y(gn.Provider, { value: e, children: t })), ai = (e, t) => e === t, wt = Symbol("solid-proxy"), bn = typeof Proxy == "function", vt = {
1327
- equals: ai
1326
+ }), [e]), /* @__PURE__ */ y(gn.Provider, { value: e, children: t })), oi = (e, t) => e === t, wt = Symbol("solid-proxy"), bn = typeof Proxy == "function", vt = {
1327
+ equals: oi
1328
1328
  }, wn = kn, he = 1, Et = 2, vn = {
1329
1329
  owned: null,
1330
1330
  cleanups: null,
@@ -1355,7 +1355,7 @@ function Y(e, t) {
1355
1355
  }, n = (s) => (typeof s == "function" && (s = s(r.value)), In(r, s));
1356
1356
  return [An.bind(r), n];
1357
1357
  }
1358
- function oi(e, t, r) {
1358
+ function ci(e, t, r) {
1359
1359
  const n = Pt(e, t, !0, he);
1360
1360
  De(n);
1361
1361
  }
@@ -1364,7 +1364,7 @@ function Te(e, t, r) {
1364
1364
  De(n);
1365
1365
  }
1366
1366
  function En(e, t, r) {
1367
- wn = pi;
1367
+ wn = gi;
1368
1368
  const n = Pt(e, t, !1, he);
1369
1369
  (!r || !r.render) && (n.user = !0), de ? de.push(n) : De(n);
1370
1370
  }
@@ -1373,10 +1373,10 @@ function K(e, t, r) {
1373
1373
  const n = Pt(e, t, !0, 0);
1374
1374
  return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, De(n), An.bind(n);
1375
1375
  }
1376
- function ci(e) {
1376
+ function li(e) {
1377
1377
  return e && typeof e == "object" && "then" in e;
1378
1378
  }
1379
- function li(e, t, r) {
1379
+ function ui(e, t, r) {
1380
1380
  let n, s, i;
1381
1381
  n = !0, s = e, i = {};
1382
1382
  let o = null, a = Ut, c = !1, d = "initialValue" in i, u = typeof n == "function" && K(n);
@@ -1422,7 +1422,7 @@ function li(e, t, r) {
1422
1422
  if (N !== void 0) {
1423
1423
  O(o, void 0, ft(N), v);
1424
1424
  return;
1425
- } else if (!ci(E))
1425
+ } else if (!li(E))
1426
1426
  return O(o, E, void 0, v), E;
1427
1427
  return o = E, "v" in E ? (E.s === 1 ? O(o, E.v, void 0, v) : O(o, void 0, ft(E.v), v), E) : (c = !0, queueMicrotask(() => c = !1), ae(() => {
1428
1428
  S(d ? "refreshing" : "pending"), w();
@@ -1451,12 +1451,12 @@ function li(e, t, r) {
1451
1451
  }
1452
1452
  });
1453
1453
  let L = I;
1454
- return u ? oi(() => (L = I, z(!1))) : z(!1), [q, {
1454
+ return u ? ci(() => (L = I, z(!1))) : z(!1), [q, {
1455
1455
  refetch: (R) => Sn(L, () => z(R)),
1456
1456
  mutate: h
1457
1457
  }];
1458
1458
  }
1459
- function ql(e) {
1459
+ function au(e) {
1460
1460
  return ae(e, !1);
1461
1461
  }
1462
1462
  function G(e) {
@@ -1469,7 +1469,7 @@ function G(e) {
1469
1469
  x = t;
1470
1470
  }
1471
1471
  }
1472
- function Jl(e, t, r) {
1472
+ function ou(e, t, r) {
1473
1473
  const n = Array.isArray(e);
1474
1474
  let s, i = r && r.defer;
1475
1475
  return (o) => {
@@ -1484,13 +1484,13 @@ function Jl(e, t, r) {
1484
1484
  return s = a, c;
1485
1485
  };
1486
1486
  }
1487
- function ui(e) {
1487
+ function di(e) {
1488
1488
  En(() => G(e));
1489
1489
  }
1490
1490
  function We(e) {
1491
1491
  return I === null || (I.cleanups === null ? I.cleanups = [e] : I.cleanups.push(e)), e;
1492
1492
  }
1493
- function di() {
1493
+ function fi() {
1494
1494
  return I;
1495
1495
  }
1496
1496
  function Sn(e, t) {
@@ -1504,7 +1504,7 @@ function Sn(e, t) {
1504
1504
  I = r, x = n;
1505
1505
  }
1506
1506
  }
1507
- function fi(e) {
1507
+ function hi(e) {
1508
1508
  const t = x, r = I;
1509
1509
  return Promise.resolve().then(() => {
1510
1510
  x = t, I = r;
@@ -1512,19 +1512,19 @@ function fi(e) {
1512
1512
  return ae(e, !1), x = I = null, n ? n.done : void 0;
1513
1513
  });
1514
1514
  }
1515
- var [hi, zl] = /* @__PURE__ */ Y(!1);
1516
- function Ql() {
1517
- return [hi, fi];
1515
+ var [mi, cu] = /* @__PURE__ */ Y(!1);
1516
+ function lu() {
1517
+ return [mi, hi];
1518
1518
  }
1519
- function Yl(e, t) {
1519
+ function uu(e, t) {
1520
1520
  const r = Symbol("context");
1521
1521
  return {
1522
1522
  id: r,
1523
- Provider: gi(r),
1523
+ Provider: bi(r),
1524
1524
  defaultValue: e
1525
1525
  };
1526
1526
  }
1527
- function Xl(e) {
1527
+ function du(e) {
1528
1528
  let t;
1529
1529
  return I && I.context && (t = I.context[e.id]) !== void 0 ? t : e.defaultValue;
1530
1530
  }
@@ -1563,9 +1563,9 @@ function De(e) {
1563
1563
  if (!e.fn) return;
1564
1564
  Ge(e);
1565
1565
  const t = Nt;
1566
- mi(e, e.value, t);
1566
+ yi(e, e.value, t);
1567
1567
  }
1568
- function mi(e, t, r) {
1568
+ function yi(e, t, r) {
1569
1569
  let n;
1570
1570
  const s = I, i = x;
1571
1571
  x = I = e;
@@ -1615,12 +1615,12 @@ function ae(e, t) {
1615
1615
  t || (J = []), de ? r = !0 : de = [], Nt++;
1616
1616
  try {
1617
1617
  const n = e();
1618
- return yi(r), n;
1618
+ return pi(r), n;
1619
1619
  } catch (n) {
1620
1620
  r || (de = null), J = null, wr(n);
1621
1621
  }
1622
1622
  }
1623
- function yi(e) {
1623
+ function pi(e) {
1624
1624
  if (J && (kn(J), J = null), e) return;
1625
1625
  const t = de;
1626
1626
  de = null, t.length && ae(() => wn(t), !1);
@@ -1628,7 +1628,7 @@ function yi(e) {
1628
1628
  function kn(e) {
1629
1629
  for (let t = 0; t < e.length; t++) St(e[t]);
1630
1630
  }
1631
- function pi(e) {
1631
+ function gi(e) {
1632
1632
  let t, r = 0;
1633
1633
  for (t = 0; t < e.length; t++) {
1634
1634
  const n = e[t];
@@ -1696,7 +1696,7 @@ function rr(e) {
1696
1696
  }
1697
1697
  return e;
1698
1698
  }
1699
- function gi(e, t) {
1699
+ function bi(e, t) {
1700
1700
  return function(n) {
1701
1701
  let s;
1702
1702
  return Te(() => s = G(() => (I.context = {
@@ -1709,7 +1709,7 @@ var nr = Symbol("fallback");
1709
1709
  function At(e) {
1710
1710
  for (let t = 0; t < e.length; t++) e[t]();
1711
1711
  }
1712
- function bi(e, t, r = {}) {
1712
+ function wi(e, t, r = {}) {
1713
1713
  let n = [], s = [], i = [], o = 0, a = t.length > 1 ? [] : null;
1714
1714
  return We(() => At(i)), () => {
1715
1715
  let c = e() || [], d = c.length, u, l;
@@ -1744,7 +1744,7 @@ function bi(e, t, r = {}) {
1744
1744
  }
1745
1745
  };
1746
1746
  }
1747
- function wi(e, t, r = {}) {
1747
+ function vi(e, t, r = {}) {
1748
1748
  let n = [], s = [], i = [], o = [], a = 0, c;
1749
1749
  return We(() => At(i)), () => {
1750
1750
  const d = e() || [], u = d.length;
@@ -1764,7 +1764,7 @@ function wi(e, t, r = {}) {
1764
1764
  }
1765
1765
  };
1766
1766
  }
1767
- function vi(e, t) {
1767
+ function Ei(e, t) {
1768
1768
  return G(() => e(t || {}));
1769
1769
  }
1770
1770
  function tt() {
@@ -1797,13 +1797,13 @@ var sr = {
1797
1797
  function Ft(e) {
1798
1798
  return (e = typeof e == "function" ? e() : e) ? e : {};
1799
1799
  }
1800
- function Ei() {
1800
+ function Si() {
1801
1801
  for (let e = 0, t = this.length; e < t; ++e) {
1802
1802
  const r = this[e]();
1803
1803
  if (r !== void 0) return r;
1804
1804
  }
1805
1805
  }
1806
- function Si(...e) {
1806
+ function Ti(...e) {
1807
1807
  let t = !1;
1808
1808
  for (let o = 0; o < e.length; o++) {
1809
1809
  const a = e[o];
@@ -1841,7 +1841,7 @@ function Si(...e) {
1841
1841
  n[u] = l.get ? {
1842
1842
  enumerable: !0,
1843
1843
  configurable: !0,
1844
- get: Ei.bind(r[u] = [l.get.bind(a)])
1844
+ get: Si.bind(r[u] = [l.get.bind(a)])
1845
1845
  } : l.value !== void 0 ? l : void 0;
1846
1846
  else {
1847
1847
  const f = r[u];
@@ -1856,7 +1856,7 @@ function Si(...e) {
1856
1856
  }
1857
1857
  return s;
1858
1858
  }
1859
- function Ti(e, ...t) {
1859
+ function Ai(e, ...t) {
1860
1860
  if (bn && wt in e) {
1861
1861
  const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((o) => new Proxy({
1862
1862
  get(a) {
@@ -1891,11 +1891,11 @@ function Ti(e, ...t) {
1891
1891
  }
1892
1892
  return [...n, r];
1893
1893
  }
1894
- function Ai(e) {
1894
+ function Ii(e) {
1895
1895
  let t, r;
1896
1896
  const n = (s) => {
1897
1897
  if (!t) {
1898
- const [o] = li(() => (r || (r = e())).then((a) => a.default));
1898
+ const [o] = ui(() => (r || (r = e())).then((a) => a.default));
1899
1899
  t = o;
1900
1900
  }
1901
1901
  let i;
@@ -1903,24 +1903,24 @@ function Ai(e) {
1903
1903
  };
1904
1904
  return n.preload = () => r || ((r = e()).then((s) => t = () => s.default), r), n;
1905
1905
  }
1906
- var Ii = 0;
1907
- function Zl() {
1908
- return `cl-${Ii++}`;
1906
+ var ki = 0;
1907
+ function fu() {
1908
+ return `cl-${ki++}`;
1909
1909
  }
1910
1910
  var Rn = (e) => `Stale read from <${e}>.`;
1911
- function eu(e) {
1911
+ function hu(e) {
1912
1912
  const t = "fallback" in e && {
1913
1913
  fallback: () => e.fallback
1914
1914
  };
1915
- return K(bi(() => e.each, e.children, t || void 0));
1915
+ return K(wi(() => e.each, e.children, t || void 0));
1916
1916
  }
1917
- function tu(e) {
1917
+ function mu(e) {
1918
1918
  const t = "fallback" in e && {
1919
1919
  fallback: () => e.fallback
1920
1920
  };
1921
- return K(wi(() => e.each, e.children, t || void 0));
1921
+ return K(vi(() => e.each, e.children, t || void 0));
1922
1922
  }
1923
- function ru(e) {
1923
+ function yu(e) {
1924
1924
  const t = e.keyed, r = K(() => e.when, void 0, void 0), n = t ? r : K(r, void 0, {
1925
1925
  equals: (s, i) => !s == !i
1926
1926
  });
@@ -1936,7 +1936,7 @@ function ru(e) {
1936
1936
  return e.fallback;
1937
1937
  }, void 0, void 0);
1938
1938
  }
1939
- function nu(e) {
1939
+ function pu(e) {
1940
1940
  const t = Tn(() => e.children), r = K(() => {
1941
1941
  const n = t(), s = Array.isArray(n) ? n : [n];
1942
1942
  let i = () => {
@@ -1959,13 +1959,13 @@ function nu(e) {
1959
1959
  })) : a;
1960
1960
  }, void 0, void 0);
1961
1961
  }
1962
- function su(e) {
1962
+ function gu(e) {
1963
1963
  return e;
1964
1964
  }
1965
- var ki = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], Oi = /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...ki]), Ri = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), _i = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
1965
+ var Oi = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], Ri = /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...Oi]), _i = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), Ci = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
1966
1966
  className: "class",
1967
1967
  htmlFor: "for"
1968
- }), Ci = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
1968
+ }), Ni = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
1969
1969
  class: "className",
1970
1970
  novalidate: {
1971
1971
  $: "noValidate",
@@ -1994,11 +1994,11 @@ var ki = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "contr
1994
1994
  TEXTAREA: 1
1995
1995
  }
1996
1996
  });
1997
- function Ni(e, t) {
1998
- const r = Ci[e];
1997
+ function Pi(e, t) {
1998
+ const r = Ni[e];
1999
1999
  return typeof r == "object" ? r[t] ? r.$ : void 0 : r;
2000
2000
  }
2001
- var Pi = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), xi = /* @__PURE__ */ new Set([
2001
+ var xi = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), $i = /* @__PURE__ */ new Set([
2002
2002
  "altGlyph",
2003
2003
  "altGlyphDef",
2004
2004
  "altGlyphItem",
@@ -2076,11 +2076,11 @@ var Pi = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextme
2076
2076
  "use",
2077
2077
  "view",
2078
2078
  "vkern"
2079
- ]), $i = {
2079
+ ]), Di = {
2080
2080
  xlink: "http://www.w3.org/1999/xlink",
2081
2081
  xml: "http://www.w3.org/XML/1998/namespace"
2082
- }, iu = (e) => K(() => e());
2083
- function Di(e, t, r) {
2082
+ }, bu = (e) => K(() => e());
2083
+ function Mi(e, t, r) {
2084
2084
  let n = r.length, s = t.length, i = n, o = 0, a = 0, c = t[s - 1].nextSibling, d = null;
2085
2085
  for (; o < s || a < i; ) {
2086
2086
  if (t[o] === r[a]) {
@@ -2120,7 +2120,7 @@ function Di(e, t, r) {
2120
2120
  }
2121
2121
  }
2122
2122
  var Ue = "_$DX_DELEGATE";
2123
- function Mi(e, t, r, n = {}) {
2123
+ function Li(e, t, r, n = {}) {
2124
2124
  let s;
2125
2125
  return Se((i) => {
2126
2126
  s = i, t === document ? e() : ar(t, e(), t.firstChild ? null : void 0, r);
@@ -2128,7 +2128,7 @@ function Mi(e, t, r, n = {}) {
2128
2128
  s(), t.textContent = "";
2129
2129
  };
2130
2130
  }
2131
- function au(e, t, r, n) {
2131
+ function wu(e, t, r, n) {
2132
2132
  let s;
2133
2133
  const i = () => {
2134
2134
  const a = document.createElement("template");
@@ -2136,14 +2136,14 @@ function au(e, t, r, n) {
2136
2136
  }, o = () => (s || (s = i())).cloneNode(!0);
2137
2137
  return o.cloneNode = o, o;
2138
2138
  }
2139
- function Li(e, t = window.document) {
2139
+ function Ui(e, t = window.document) {
2140
2140
  const r = t[Ue] || (t[Ue] = /* @__PURE__ */ new Set());
2141
2141
  for (let n = 0, s = e.length; n < s; n++) {
2142
2142
  const i = e[n];
2143
2143
  r.has(i) || (r.add(i), t.addEventListener(i, _n));
2144
2144
  }
2145
2145
  }
2146
- function ou(e = window.document) {
2146
+ function vu(e = window.document) {
2147
2147
  if (e[Ue]) {
2148
2148
  for (let t of e[Ue].keys()) e.removeEventListener(t, _n);
2149
2149
  delete e[Ue];
@@ -2152,16 +2152,16 @@ function ou(e = window.document) {
2152
2152
  function ir(e, t, r) {
2153
2153
  r == null ? e.removeAttribute(t) : e.setAttribute(t, r);
2154
2154
  }
2155
- function Ui(e, t, r, n) {
2155
+ function Fi(e, t, r, n) {
2156
2156
  n == null ? e.removeAttributeNS(t, r) : e.setAttributeNS(t, r, n);
2157
2157
  }
2158
- function Fi(e, t, r) {
2158
+ function Ki(e, t, r) {
2159
2159
  r ? e.setAttribute(t, "") : e.removeAttribute(t);
2160
2160
  }
2161
- function Ki(e, t) {
2161
+ function Hi(e, t) {
2162
2162
  t == null ? e.removeAttribute("class") : e.className = t;
2163
2163
  }
2164
- function Hi(e, t, r, n) {
2164
+ function Bi(e, t, r, n) {
2165
2165
  if (n)
2166
2166
  Array.isArray(r) ? (e[`$$${t}`] = r[0], e[`$$${t}Data`] = r[1]) : e[`$$${t}`] = r;
2167
2167
  else if (Array.isArray(r)) {
@@ -2169,7 +2169,7 @@ function Hi(e, t, r, n) {
2169
2169
  e.addEventListener(t, r[0] = (i) => s.call(e, r[1], i));
2170
2170
  } else e.addEventListener(t, r, typeof r != "function" && r);
2171
2171
  }
2172
- function Bi(e, t, r = {}) {
2172
+ function Vi(e, t, r = {}) {
2173
2173
  const n = Object.keys(t || {}), s = Object.keys(r);
2174
2174
  let i, o;
2175
2175
  for (i = 0, o = s.length; i < o; i++) {
@@ -2182,7 +2182,7 @@ function Bi(e, t, r = {}) {
2182
2182
  }
2183
2183
  return r;
2184
2184
  }
2185
- function Vi(e, t, r) {
2185
+ function ji(e, t, r) {
2186
2186
  if (!t) return r ? ir(e, "style") : t;
2187
2187
  const n = e.style;
2188
2188
  if (typeof t == "string") return n.cssText = t;
@@ -2194,18 +2194,18 @@ function Vi(e, t, r) {
2194
2194
  s = t[i], s !== r[i] && (n.setProperty(i, s), r[i] = s);
2195
2195
  return r;
2196
2196
  }
2197
- function ji(e, t = {}, r, n) {
2197
+ function Wi(e, t = {}, r, n) {
2198
2198
  const s = {};
2199
- return n || Te(() => s.children = qe(e, t.children, s.children)), Te(() => typeof t.ref == "function" && Wi(t.ref, e)), Te(() => Gi(e, t, r, !0, s, !0)), s;
2199
+ return n || Te(() => s.children = qe(e, t.children, s.children)), Te(() => typeof t.ref == "function" && Gi(t.ref, e)), Te(() => qi(e, t, r, !0, s, !0)), s;
2200
2200
  }
2201
- function Wi(e, t, r) {
2201
+ function Gi(e, t, r) {
2202
2202
  return G(() => e(t, r));
2203
2203
  }
2204
2204
  function ar(e, t, r, n) {
2205
2205
  if (r !== void 0 && !n && (n = []), typeof t != "function") return qe(e, t, n, r);
2206
2206
  Te((s) => qe(e, t(), s, r), n);
2207
2207
  }
2208
- function Gi(e, t, r, n, s = {}, i = !1) {
2208
+ function qi(e, t, r, n, s = {}, i = !1) {
2209
2209
  t || (t = {});
2210
2210
  for (const o in s)
2211
2211
  if (!(o in t)) {
@@ -2219,7 +2219,7 @@ function Gi(e, t, r, n, s = {}, i = !1) {
2219
2219
  s[o] = Ur(e, o, a, s[o], r, i, t);
2220
2220
  }
2221
2221
  }
2222
- function qi(e) {
2222
+ function Ji(e) {
2223
2223
  return e.toLowerCase().replace(/-([a-z])/g, (t, r) => r.toUpperCase());
2224
2224
  }
2225
2225
  function Lr(e, t, r) {
@@ -2228,8 +2228,8 @@ function Lr(e, t, r) {
2228
2228
  }
2229
2229
  function Ur(e, t, r, n, s, i, o) {
2230
2230
  let a, c, d, u, l;
2231
- if (t === "style") return Vi(e, r, n);
2232
- if (t === "classList") return Bi(e, r, n);
2231
+ if (t === "style") return ji(e, r, n);
2232
+ if (t === "classList") return Vi(e, r, n);
2233
2233
  if (r === n) return n;
2234
2234
  if (t === "ref")
2235
2235
  i || r(e);
@@ -2240,21 +2240,21 @@ function Ur(e, t, r, n, s, i, o) {
2240
2240
  const f = t.slice(10);
2241
2241
  n && e.removeEventListener(f, n, !0), r && e.addEventListener(f, r, !0);
2242
2242
  } else if (t.slice(0, 2) === "on") {
2243
- const f = t.slice(2).toLowerCase(), h = Pi.has(f);
2243
+ const f = t.slice(2).toLowerCase(), h = xi.has(f);
2244
2244
  if (!h && n) {
2245
2245
  const m = Array.isArray(n) ? n[0] : n;
2246
2246
  e.removeEventListener(f, m);
2247
2247
  }
2248
- (h || r) && (Hi(e, f, r, h), h && Li([f]));
2248
+ (h || r) && (Bi(e, f, r, h), h && Ui([f]));
2249
2249
  } else if (t.slice(0, 5) === "attr:")
2250
2250
  ir(e, t.slice(5), r);
2251
2251
  else if (t.slice(0, 5) === "bool:")
2252
- Fi(e, t.slice(5), r);
2253
- else if ((l = t.slice(0, 5) === "prop:") || (d = Ri.has(t)) || !s && ((u = Ni(t, e.tagName)) || (c = Oi.has(t))) || (a = e.nodeName.includes("-") || "is" in o))
2254
- l && (t = t.slice(5), c = !0), t === "class" || t === "className" ? Ki(e, r) : a && !c && !d ? e[qi(t)] = r : e[u || t] = r;
2252
+ Ki(e, t.slice(5), r);
2253
+ else if ((l = t.slice(0, 5) === "prop:") || (d = _i.has(t)) || !s && ((u = Pi(t, e.tagName)) || (c = Ri.has(t))) || (a = e.nodeName.includes("-") || "is" in o))
2254
+ l && (t = t.slice(5), c = !0), t === "class" || t === "className" ? Hi(e, r) : a && !c && !d ? e[Ji(t)] = r : e[u || t] = r;
2255
2255
  else {
2256
- const f = s && t.indexOf(":") > -1 && $i[t.split(":")[0]];
2257
- f ? Ui(e, f, t, r) : ir(e, _i[t] || t, r);
2256
+ const f = s && t.indexOf(":") > -1 && Di[t.split(":")[0]];
2257
+ f ? Fi(e, f, t, r) : ir(e, Ci[t] || t, r);
2258
2258
  }
2259
2259
  return r;
2260
2260
  }
@@ -2319,7 +2319,7 @@ function qe(e, t, r, n, s) {
2319
2319
  return Te(() => r = qe(e, a, r, n, !0)), () => r;
2320
2320
  if (a.length === 0) {
2321
2321
  if (r = ke(e, r, n), o) return r;
2322
- } else c ? r.length === 0 ? Fr(e, a, n) : Di(e, r, a) : (r && ke(e), Fr(e, a));
2322
+ } else c ? r.length === 0 ? Fr(e, a, n) : Mi(e, r, a) : (r && ke(e), Fr(e, a));
2323
2323
  r = a;
2324
2324
  } else if (t.nodeType) {
2325
2325
  if (Array.isArray(r)) {
@@ -2370,14 +2370,14 @@ function ke(e, t, r, n) {
2370
2370
  } else e.insertBefore(s, r);
2371
2371
  return [s];
2372
2372
  }
2373
- var Ji = "http://www.w3.org/2000/svg";
2373
+ var zi = "http://www.w3.org/2000/svg";
2374
2374
  function Cn(e, t = !1) {
2375
- return t ? document.createElementNS(Ji, e) : document.createElement(e);
2375
+ return t ? document.createElementNS(zi, e) : document.createElement(e);
2376
2376
  }
2377
- function cu(e) {
2377
+ function Eu(e) {
2378
2378
  const {
2379
2379
  useShadow: t
2380
- } = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = di();
2380
+ } = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = fi();
2381
2381
  let i;
2382
2382
  return En(() => {
2383
2383
  i || (i = Sn(s, () => K(() => e.children)));
@@ -2400,7 +2400,7 @@ function cu(e) {
2400
2400
  render: !0
2401
2401
  }), r;
2402
2402
  }
2403
- function zi(e, t) {
2403
+ function Qi(e, t) {
2404
2404
  const r = K(e);
2405
2405
  return K(() => {
2406
2406
  const n = r();
@@ -2408,16 +2408,16 @@ function zi(e, t) {
2408
2408
  case "function":
2409
2409
  return G(() => n(t));
2410
2410
  case "string":
2411
- const s = xi.has(n), i = Cn(n, s);
2412
- return ji(i, t, s), i;
2411
+ const s = $i.has(n), i = Cn(n, s);
2412
+ return Wi(i, t, s), i;
2413
2413
  }
2414
2414
  });
2415
2415
  }
2416
- function lu(e) {
2417
- const [, t] = Ti(e, ["component"]);
2418
- return zi(() => e.component, t);
2416
+ function Su(e) {
2417
+ const [, t] = Ai(e, ["component"]);
2418
+ return Qi(() => e.component, t);
2419
2419
  }
2420
- var Qi = class {
2420
+ var Yi = class {
2421
2421
  constructor() {
2422
2422
  this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
2423
2423
  }
@@ -2435,7 +2435,7 @@ var Qi = class {
2435
2435
  }
2436
2436
  }, Nn = class {
2437
2437
  constructor(e) {
2438
- this.generateIdentifier = e, this.kv = new Qi();
2438
+ this.generateIdentifier = e, this.kv = new Yi();
2439
2439
  }
2440
2440
  register(e, t) {
2441
2441
  this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
@@ -2449,7 +2449,7 @@ var Qi = class {
2449
2449
  getValue(e) {
2450
2450
  return this.kv.getByKey(e);
2451
2451
  }
2452
- }, Yi = class extends Nn {
2452
+ }, Xi = class extends Nn {
2453
2453
  constructor() {
2454
2454
  super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
2455
2455
  }
@@ -2460,7 +2460,7 @@ var Qi = class {
2460
2460
  return this.classToAllowedProps.get(e);
2461
2461
  }
2462
2462
  };
2463
- function Xi(e) {
2463
+ function Zi(e) {
2464
2464
  if ("values" in Object)
2465
2465
  return Object.values(e);
2466
2466
  const t = [];
@@ -2468,8 +2468,8 @@ function Xi(e) {
2468
2468
  e.hasOwnProperty(r) && t.push(e[r]);
2469
2469
  return t;
2470
2470
  }
2471
- function Zi(e, t) {
2472
- const r = Xi(e);
2471
+ function ea(e, t) {
2472
+ const r = Zi(e);
2473
2473
  if ("find" in r)
2474
2474
  return r.find(t);
2475
2475
  const n = r;
@@ -2492,7 +2492,7 @@ function Kr(e, t) {
2492
2492
  return n;
2493
2493
  }
2494
2494
  }
2495
- var ea = class {
2495
+ var ta = class {
2496
2496
  constructor() {
2497
2497
  this.transfomers = {};
2498
2498
  }
@@ -2500,12 +2500,12 @@ var ea = class {
2500
2500
  this.transfomers[e.name] = e;
2501
2501
  }
2502
2502
  findApplicable(e) {
2503
- return Zi(this.transfomers, (t) => t.isApplicable(e));
2503
+ return ea(this.transfomers, (t) => t.isApplicable(e));
2504
2504
  }
2505
2505
  findByName(e) {
2506
2506
  return this.transfomers[e];
2507
2507
  }
2508
- }, ta = (e) => Object.prototype.toString.call(e).slice(8, -1), Pn = (e) => typeof e > "u", ra = (e) => e === null, Je = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, cr = (e) => Je(e) && Object.keys(e).length === 0, we = (e) => Array.isArray(e), na = (e) => typeof e == "string", sa = (e) => typeof e == "number" && !isNaN(e), ia = (e) => typeof e == "boolean", aa = (e) => e instanceof RegExp, ze = (e) => e instanceof Map, Qe = (e) => e instanceof Set, xn = (e) => ta(e) === "Symbol", oa = (e) => e instanceof Date && !isNaN(e.valueOf()), ca = (e) => e instanceof Error, Hr = (e) => typeof e == "number" && isNaN(e), la = (e) => ia(e) || ra(e) || Pn(e) || sa(e) || na(e) || xn(e), ua = (e) => typeof e == "bigint", da = (e) => e === 1 / 0 || e === -1 / 0, fa = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), ha = (e) => e instanceof URL, $n = (e) => e.replace(/\./g, "\\."), Kt = (e) => e.map(String).map($n).join("."), Fe = (e) => {
2508
+ }, ra = (e) => Object.prototype.toString.call(e).slice(8, -1), Pn = (e) => typeof e > "u", na = (e) => e === null, Je = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, cr = (e) => Je(e) && Object.keys(e).length === 0, we = (e) => Array.isArray(e), sa = (e) => typeof e == "string", ia = (e) => typeof e == "number" && !isNaN(e), aa = (e) => typeof e == "boolean", oa = (e) => e instanceof RegExp, ze = (e) => e instanceof Map, Qe = (e) => e instanceof Set, xn = (e) => ra(e) === "Symbol", ca = (e) => e instanceof Date && !isNaN(e.valueOf()), la = (e) => e instanceof Error, Hr = (e) => typeof e == "number" && isNaN(e), ua = (e) => aa(e) || na(e) || Pn(e) || ia(e) || sa(e) || xn(e), da = (e) => typeof e == "bigint", fa = (e) => e === 1 / 0 || e === -1 / 0, ha = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), ma = (e) => e instanceof URL, $n = (e) => e.replace(/\./g, "\\."), Kt = (e) => e.map(String).map($n).join("."), Fe = (e) => {
2509
2509
  const t = [];
2510
2510
  let r = "";
2511
2511
  for (let s = 0; s < e.length; s++) {
@@ -2534,9 +2534,9 @@ function ne(e, t, r, n) {
2534
2534
  var Dn = [
2535
2535
  ne(Pn, "undefined", () => null, () => {
2536
2536
  }),
2537
- ne(ua, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
2538
- ne(oa, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2539
- ne(ca, "Error", (e, t) => {
2537
+ ne(da, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
2538
+ ne(ca, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2539
+ ne(la, "Error", (e, t) => {
2540
2540
  const r = {
2541
2541
  name: e.name,
2542
2542
  message: e.message
@@ -2550,7 +2550,7 @@ var Dn = [
2550
2550
  r[n] = e[n];
2551
2551
  }), r;
2552
2552
  }),
2553
- ne(aa, "regexp", (e) => "" + e, (e) => {
2553
+ ne(oa, "regexp", (e) => "" + e, (e) => {
2554
2554
  const t = e.slice(1, e.lastIndexOf("/")), r = e.slice(e.lastIndexOf("/") + 1);
2555
2555
  return new RegExp(t, r);
2556
2556
  }),
@@ -2563,9 +2563,9 @@ var Dn = [
2563
2563
  (e) => new Set(e)
2564
2564
  ),
2565
2565
  ne(ze, "map", (e) => [...e.entries()], (e) => new Map(e)),
2566
- ne((e) => Hr(e) || da(e), "number", (e) => Hr(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2566
+ ne((e) => Hr(e) || fa(e), "number", (e) => Hr(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2567
2567
  ne((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
2568
- ne(ha, "URL", (e) => e.toString(), (e) => new URL(e))
2568
+ ne(ma, "URL", (e) => e.toString(), (e) => new URL(e))
2569
2569
  ];
2570
2570
  function xt(e, t, r, n) {
2571
2571
  return {
@@ -2580,7 +2580,7 @@ var Mn = xt((e, t) => xn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
2580
2580
  if (!n)
2581
2581
  throw new Error("Trying to deserialize unknown symbol");
2582
2582
  return n;
2583
- }), ma = [
2583
+ }), ya = [
2584
2584
  Int8Array,
2585
2585
  Uint8Array,
2586
2586
  Int16Array,
@@ -2590,8 +2590,8 @@ var Mn = xt((e, t) => xn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
2590
2590
  Float32Array,
2591
2591
  Float64Array,
2592
2592
  Uint8ClampedArray
2593
- ].reduce((e, t) => (e[t.name] = t, e), {}), Ln = xt(fa, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2594
- const r = ma[t[1]];
2593
+ ].reduce((e, t) => (e[t.name] = t, e), {}), Ln = xt(ha, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2594
+ const r = ya[t[1]];
2595
2595
  if (!r)
2596
2596
  throw new Error("Trying to deserialize unknown typed array");
2597
2597
  return new r(e);
@@ -2617,8 +2617,8 @@ var Fn = xt(Un, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
2617
2617
  if (!n)
2618
2618
  throw new Error("Trying to deserialize unknown custom value");
2619
2619
  return n.deserialize(e);
2620
- }), ya = [Fn, Mn, Kn, Ln], Br = (e, t) => {
2621
- const r = Kr(ya, (s) => s.isApplicable(e, t));
2620
+ }), pa = [Fn, Mn, Kn, Ln], Br = (e, t) => {
2621
+ const r = Kr(pa, (s) => s.isApplicable(e, t));
2622
2622
  if (r)
2623
2623
  return {
2624
2624
  value: r.transform(e, t),
@@ -2634,7 +2634,7 @@ var Fn = xt(Un, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
2634
2634
  Dn.forEach((e) => {
2635
2635
  Hn[e.annotation] = e;
2636
2636
  });
2637
- var pa = (e, t, r) => {
2637
+ var ga = (e, t, r) => {
2638
2638
  if (we(t))
2639
2639
  switch (t[0]) {
2640
2640
  case "symbol":
@@ -2670,7 +2670,7 @@ function Bn(e) {
2670
2670
  if (ht(e, "constructor"))
2671
2671
  throw new Error("constructor is not allowed as a property");
2672
2672
  }
2673
- var ga = (e, t) => {
2673
+ var ba = (e, t) => {
2674
2674
  Bn(t);
2675
2675
  for (let r = 0; r < t.length; r++) {
2676
2676
  const n = t[r];
@@ -2751,14 +2751,14 @@ function ur(e, t, r = []) {
2751
2751
  ur(i, t, [...r, ...Fe(o)]);
2752
2752
  }), t(n, r);
2753
2753
  }
2754
- function ba(e, t, r) {
2754
+ function wa(e, t, r) {
2755
2755
  return ur(t, (n, s) => {
2756
- e = lr(e, s, (i) => pa(i, n, r));
2756
+ e = lr(e, s, (i) => ga(i, n, r));
2757
2757
  }), e;
2758
2758
  }
2759
- function wa(e, t) {
2759
+ function va(e, t) {
2760
2760
  function r(n, s) {
2761
- const i = ga(e, Fe(s));
2761
+ const i = ba(e, Fe(s));
2762
2762
  n.map(Fe).forEach((o) => {
2763
2763
  e = lr(e, o, () => i);
2764
2764
  });
@@ -2772,12 +2772,12 @@ function wa(e, t) {
2772
2772
  xe(t, r);
2773
2773
  return e;
2774
2774
  }
2775
- var va = (e, t) => Je(e) || we(e) || ze(e) || Qe(e) || Un(e, t);
2776
- function Ea(e, t, r) {
2775
+ var Ea = (e, t) => Je(e) || we(e) || ze(e) || Qe(e) || Un(e, t);
2776
+ function Sa(e, t, r) {
2777
2777
  const n = r.get(e);
2778
2778
  n ? n.push(t) : r.set(e, [t]);
2779
2779
  }
2780
- function Sa(e, t) {
2780
+ function Ta(e, t) {
2781
2781
  const r = {};
2782
2782
  let n;
2783
2783
  return e.forEach((s) => {
@@ -2789,16 +2789,16 @@ function Sa(e, t) {
2789
2789
  }), n ? cr(r) ? [n] : [n, r] : cr(r) ? void 0 : r;
2790
2790
  }
2791
2791
  var Vn = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
2792
- const a = la(e);
2792
+ const a = ua(e);
2793
2793
  if (!a) {
2794
- Ea(e, s, t);
2794
+ Sa(e, s, t);
2795
2795
  const h = o.get(e);
2796
2796
  if (h)
2797
2797
  return n ? {
2798
2798
  transformedValue: null
2799
2799
  } : h;
2800
2800
  }
2801
- if (!va(e, r)) {
2801
+ if (!Ea(e, r)) {
2802
2802
  const h = Br(e, r), m = h ? {
2803
2803
  transformedValue: h.value,
2804
2804
  annotations: [h.type]
@@ -2835,13 +2835,13 @@ function jn(e) {
2835
2835
  function Vr(e) {
2836
2836
  return jn(e) === "Array";
2837
2837
  }
2838
- function Ta(e) {
2838
+ function Aa(e) {
2839
2839
  if (jn(e) !== "Object")
2840
2840
  return !1;
2841
2841
  const t = Object.getPrototypeOf(e);
2842
2842
  return !!t && t.constructor === Object && t === Object.prototype;
2843
2843
  }
2844
- function Aa(e, t, r, n, s) {
2844
+ function Ia(e, t, r, n, s) {
2845
2845
  const i = {}.propertyIsEnumerable.call(n, t) ? "enumerable" : "nonenumerable";
2846
2846
  i === "enumerable" && (e[t] = r), s && i === "nonenumerable" && Object.defineProperty(e, t, {
2847
2847
  value: r,
@@ -2853,14 +2853,14 @@ function Aa(e, t, r, n, s) {
2853
2853
  function dr(e, t = {}) {
2854
2854
  if (Vr(e))
2855
2855
  return e.map((s) => dr(s, t));
2856
- if (!Ta(e))
2856
+ if (!Aa(e))
2857
2857
  return e;
2858
2858
  const r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols(e);
2859
2859
  return [...r, ...n].reduce((s, i) => {
2860
2860
  if (Vr(t.props) && !t.props.includes(i))
2861
2861
  return s;
2862
2862
  const o = e[i], a = dr(o, t);
2863
- return Aa(s, i, a, e, t.nonenumerable), s;
2863
+ return Ia(s, i, a, e, t.nonenumerable), s;
2864
2864
  }, {});
2865
2865
  }
2866
2866
  var C = class {
@@ -2868,7 +2868,7 @@ var C = class {
2868
2868
  * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
2869
2869
  */
2870
2870
  constructor({ dedupe: e = !1 } = {}) {
2871
- this.classRegistry = new Yi(), this.symbolRegistry = new Nn((t) => t.description ?? ""), this.customTransformerRegistry = new ea(), this.allowedErrorProps = [], this.dedupe = e;
2871
+ this.classRegistry = new Xi(), this.symbolRegistry = new Nn((t) => t.description ?? ""), this.customTransformerRegistry = new ta(), this.allowedErrorProps = [], this.dedupe = e;
2872
2872
  }
2873
2873
  serialize(e) {
2874
2874
  const t = /* @__PURE__ */ new Map(), r = Vn(e, t, this, this.dedupe), n = {
@@ -2878,7 +2878,7 @@ var C = class {
2878
2878
  ...n.meta,
2879
2879
  values: r.annotations
2880
2880
  });
2881
- const s = Sa(t, this.dedupe);
2881
+ const s = Ta(t, this.dedupe);
2882
2882
  return s && (n.meta = {
2883
2883
  ...n.meta,
2884
2884
  referentialEqualities: s
@@ -2887,7 +2887,7 @@ var C = class {
2887
2887
  deserialize(e) {
2888
2888
  const { json: t, meta: r } = e;
2889
2889
  let n = dr(t);
2890
- return r?.values && (n = ba(n, r.values, this)), r?.referentialEqualities && (n = wa(n, r.referentialEqualities)), n;
2890
+ return r?.values && (n = wa(n, r.values, this)), r?.referentialEqualities && (n = va(n, r.referentialEqualities)), n;
2891
2891
  }
2892
2892
  stringify(e) {
2893
2893
  return JSON.stringify(this.serialize(e));
@@ -2920,44 +2920,44 @@ C.registerClass = C.defaultInstance.registerClass.bind(C.defaultInstance);
2920
2920
  C.registerSymbol = C.defaultInstance.registerSymbol.bind(C.defaultInstance);
2921
2921
  C.registerCustom = C.defaultInstance.registerCustom.bind(C.defaultInstance);
2922
2922
  C.allowErrorProps = C.defaultInstance.allowErrorProps.bind(C.defaultInstance);
2923
- var Ia = C.serialize, uu = C.stringify;
2924
- function du(e) {
2923
+ var ka = C.serialize, Tu = C.stringify;
2924
+ function Au(e) {
2925
2925
  return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
2926
2926
  }
2927
- function fu(e, t) {
2927
+ function Iu(e, t) {
2928
2928
  return `${e}${t.charAt(0).toUpperCase() + t.slice(1)}`;
2929
2929
  }
2930
- function hu({
2930
+ function ku({
2931
2931
  queryState: e,
2932
2932
  observerCount: t,
2933
2933
  isStale: r
2934
2934
  }) {
2935
2935
  return e.fetchStatus === "fetching" ? "blue" : t ? e.fetchStatus === "paused" ? "purple" : r ? "yellow" : "green" : "gray";
2936
2936
  }
2937
- function mu({
2937
+ function Ou({
2938
2938
  status: e,
2939
2939
  isPaused: t
2940
2940
  }) {
2941
2941
  return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
2942
2942
  }
2943
- function yu(e) {
2943
+ function Ru(e) {
2944
2944
  return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
2945
2945
  }
2946
- var pu = (e, t = !1) => {
2946
+ var _u = (e, t = !1) => {
2947
2947
  const {
2948
2948
  json: r
2949
- } = Ia(e);
2949
+ } = ka(e);
2950
2950
  return JSON.stringify(r, null, t ? 2 : void 0);
2951
- }, rt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, ka = (e, t) => e.queryHash.localeCompare(t.queryHash), Wn = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Oa = (e, t) => rt(e) === rt(t) ? Wn(e, t) : rt(e) > rt(t) ? 1 : -1, gu = {
2952
- status: Oa,
2953
- "query hash": ka,
2954
- "last updated": Wn
2955
- }, nt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Gn = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Ra = (e, t) => nt(e) === nt(t) ? Gn(e, t) : nt(e) > nt(t) ? 1 : -1, bu = {
2951
+ }, rt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Oa = (e, t) => e.queryHash.localeCompare(t.queryHash), Wn = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Ra = (e, t) => rt(e) === rt(t) ? Wn(e, t) : rt(e) > rt(t) ? 1 : -1, Cu = {
2956
2952
  status: Ra,
2953
+ "query hash": Oa,
2954
+ "last updated": Wn
2955
+ }, nt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Gn = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, _a = (e, t) => nt(e) === nt(t) ? Gn(e, t) : nt(e) > nt(t) ? 1 : -1, Nu = {
2956
+ status: _a,
2957
2957
  "last updated": Gn
2958
- }, wu = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), vu = () => {
2958
+ }, Pu = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), xu = () => {
2959
2959
  const [e, t] = Y("dark");
2960
- return ui(() => {
2960
+ return di(() => {
2961
2961
  const r = window.matchMedia("(prefers-color-scheme: dark)");
2962
2962
  t(r.matches ? "dark" : "light");
2963
2963
  const n = (s) => {
@@ -3025,11 +3025,11 @@ var pu = (e, t = !1) => {
3025
3025
  return r[n] = it(r[n], s), r;
3026
3026
  }
3027
3027
  return e;
3028
- }, _a = (e, t) => {
3028
+ }, Ca = (e, t) => {
3029
3029
  if (!e || document.querySelector("#_goober") || t?.querySelector("#_goober")) return;
3030
3030
  const n = document.createElement("style"), s = document.createTextNode("");
3031
3031
  n.appendChild(s), n.id = "_goober", n.setAttribute("nonce", e), t ? t.appendChild(n) : document.head.appendChild(n);
3032
- }, Ca = class {
3032
+ }, Na = class {
3033
3033
  #e;
3034
3034
  #t;
3035
3035
  #r;
@@ -3078,10 +3078,10 @@ var pu = (e, t = !1) => {
3078
3078
  mount(e) {
3079
3079
  if (this.#n)
3080
3080
  throw new Error("Devtools is already mounted");
3081
- const t = Mi(() => {
3081
+ const t = Li(() => {
3082
3082
  const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [o] = this.#u, [a] = this.#f, [c] = this.#e;
3083
3083
  let d;
3084
- return this.#d ? d = this.#d : (d = Ai(() => import("./LNWAZHJI.D7CCdvNo.js")), this.#d = d), _a(this.#o, this.#a), vi(d, Si({
3084
+ return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.CdnUhcqc.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
3085
3085
  get queryFlavor() {
3086
3086
  return r.#r;
3087
3087
  },
@@ -3123,8 +3123,8 @@ var pu = (e, t = !1) => {
3123
3123
  this.#h?.(), this.#n = !1;
3124
3124
  }
3125
3125
  };
3126
- function Na(e) {
3127
- const t = si(e.client), r = te.useRef(null), {
3126
+ function Pa(e) {
3127
+ const t = ii(e.client), r = te.useRef(null), {
3128
3128
  buttonPosition: n,
3129
3129
  position: s,
3130
3130
  initialIsOpen: i,
@@ -3133,7 +3133,7 @@ function Na(e) {
3133
3133
  shadowDOMTarget: c,
3134
3134
  hideDisabledQueries: d
3135
3135
  } = e, [u] = te.useState(
3136
- new Ca({
3136
+ new Na({
3137
3137
  client: t,
3138
3138
  queryFlavor: "React Query",
3139
3139
  version: "5",
@@ -3161,9 +3161,9 @@ function Na(e) {
3161
3161
  u.unmount();
3162
3162
  }), [u]), /* @__PURE__ */ y("div", { dir: "ltr", className: "tsqd-parent-container", ref: r });
3163
3163
  }
3164
- var Pa = process.env.NODE_ENV !== "development" ? function() {
3164
+ var xa = process.env.NODE_ENV !== "development" ? function() {
3165
3165
  return null;
3166
- } : Na, xa = Object.defineProperty, $a = (e, t, r) => t in e ? xa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $ = (e, t, r) => $a(e, typeof t != "symbol" ? t + "" : t, r);
3166
+ } : Pa, $a = Object.defineProperty, Da = (e, t, r) => t in e ? $a(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $ = (e, t, r) => Da(e, typeof t != "symbol" ? t + "" : t, r);
3167
3167
  /*!
3168
3168
  @versini/auth-common v4.5.0
3169
3169
  © 2025 gizmette.com
@@ -3191,7 +3191,7 @@ const Ke = {
3191
3191
  NONCE_KEY: "_nonce",
3192
3192
  AUTH_TYPE_KEY: "auth_type",
3193
3193
  ISSUER: "gizmette.com"
3194
- }, Da = `-----BEGIN PUBLIC KEY-----
3194
+ }, Ma = `-----BEGIN PUBLIC KEY-----
3195
3195
  MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
3196
3196
  w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
3197
3197
  i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
@@ -3205,14 +3205,14 @@ awIDAQAB
3205
3205
  LOGIN: "login",
3206
3206
  REFRESH: "refresh"
3207
3207
  }, at = new TextEncoder(), $e = new TextDecoder();
3208
- function Ma(...e) {
3208
+ function La(...e) {
3209
3209
  const t = e.reduce((s, { length: i }) => s + i, 0), r = new Uint8Array(t);
3210
3210
  let n = 0;
3211
3211
  for (const s of e)
3212
3212
  r.set(s, n), n += s.length;
3213
3213
  return r;
3214
3214
  }
3215
- function La(e) {
3215
+ function Ua(e) {
3216
3216
  if (Uint8Array.fromBase64)
3217
3217
  return Uint8Array.fromBase64(e);
3218
3218
  const t = atob(e), r = new Uint8Array(t.length);
@@ -3228,7 +3228,7 @@ function He(e) {
3228
3228
  let t = e;
3229
3229
  t instanceof Uint8Array && (t = $e.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
3230
3230
  try {
3231
- return La(t);
3231
+ return Ua(t);
3232
3232
  } catch {
3233
3233
  throw new TypeError("The input to be decoded is not correctly encoded.");
3234
3234
  }
@@ -3291,7 +3291,7 @@ function Me(e, t) {
3291
3291
  function Ht(e) {
3292
3292
  return parseInt(e.name.slice(4), 10);
3293
3293
  }
3294
- function Ua(e) {
3294
+ function Fa(e) {
3295
3295
  switch (e) {
3296
3296
  case "ES256":
3297
3297
  return "P-256";
@@ -3303,11 +3303,11 @@ function Ua(e) {
3303
3303
  throw new Error("unreachable");
3304
3304
  }
3305
3305
  }
3306
- function Fa(e, t) {
3306
+ function Ka(e, t) {
3307
3307
  if (!e.usages.includes(t))
3308
3308
  throw new TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`);
3309
3309
  }
3310
- function Ka(e, t, r) {
3310
+ function Ha(e, t, r) {
3311
3311
  switch (t) {
3312
3312
  case "HS256":
3313
3313
  case "HS384":
@@ -3350,7 +3350,7 @@ function Ka(e, t, r) {
3350
3350
  case "ES512": {
3351
3351
  if (!Me(e.algorithm, "ECDSA"))
3352
3352
  throw ce("ECDSA");
3353
- const n = Ua(t);
3353
+ const n = Fa(t);
3354
3354
  if (e.algorithm.namedCurve !== n)
3355
3355
  throw ce(n, "algorithm.namedCurve");
3356
3356
  break;
@@ -3358,7 +3358,7 @@ function Ka(e, t, r) {
3358
3358
  default:
3359
3359
  throw new TypeError("CryptoKey does not support this operation");
3360
3360
  }
3361
- Fa(e, r);
3361
+ Ka(e, r);
3362
3362
  }
3363
3363
  function Qn(e, t, ...r) {
3364
3364
  var n;
@@ -3368,7 +3368,7 @@ function Qn(e, t, ...r) {
3368
3368
  } else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
3369
3369
  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;
3370
3370
  }
3371
- const Ha = (e, ...t) => Qn("Key must be ", e, ...t);
3371
+ const Ba = (e, ...t) => Qn("Key must be ", e, ...t);
3372
3372
  function Yn(e, t, ...r) {
3373
3373
  return Qn(`Key for the ${e} algorithm must be `, t, ...r);
3374
3374
  }
@@ -3378,7 +3378,7 @@ function Xn(e) {
3378
3378
  function Zn(e) {
3379
3379
  return e?.[Symbol.toStringTag] === "KeyObject";
3380
3380
  }
3381
- const es = (e) => Xn(e) || Zn(e), Ba = (...e) => {
3381
+ const es = (e) => Xn(e) || Zn(e), Va = (...e) => {
3382
3382
  const t = e.filter(Boolean);
3383
3383
  if (t.length === 0 || t.length === 1)
3384
3384
  return !0;
@@ -3397,11 +3397,11 @@ const es = (e) => Xn(e) || Zn(e), Ba = (...e) => {
3397
3397
  }
3398
3398
  return !0;
3399
3399
  };
3400
- function Va(e) {
3400
+ function ja(e) {
3401
3401
  return typeof e == "object" && e !== null;
3402
3402
  }
3403
3403
  const Ye = (e) => {
3404
- if (!Va(e) || Object.prototype.toString.call(e) !== "[object Object]")
3404
+ if (!ja(e) || Object.prototype.toString.call(e) !== "[object Object]")
3405
3405
  return !1;
3406
3406
  if (Object.getPrototypeOf(e) === null)
3407
3407
  return !0;
@@ -3409,7 +3409,7 @@ const Ye = (e) => {
3409
3409
  for (; Object.getPrototypeOf(t) !== null; )
3410
3410
  t = Object.getPrototypeOf(t);
3411
3411
  return Object.getPrototypeOf(e) === t;
3412
- }, ja = (e, t) => {
3412
+ }, Wa = (e, t) => {
3413
3413
  if (e.startsWith("RS") || e.startsWith("PS")) {
3414
3414
  const { modulusLength: r } = t.algorithm;
3415
3415
  if (typeof r != "number" || r < 2048)
@@ -3422,7 +3422,7 @@ const Ye = (e) => {
3422
3422
  return !1;
3423
3423
  const s = e.subarray(n, n + t.length);
3424
3424
  return s.length !== t.length ? !1 : s.every((i, o) => i === t[o]) || mt(e, t, n + 1);
3425
- }, Wa = (e) => {
3425
+ }, Ga = (e) => {
3426
3426
  switch (!0) {
3427
3427
  case mt(e, [42, 134, 72, 206, 61, 3, 1, 7]):
3428
3428
  return "P-256";
@@ -3433,7 +3433,7 @@ const Ye = (e) => {
3433
3433
  default:
3434
3434
  return;
3435
3435
  }
3436
- }, Ga = async (e, t, r, n, s) => {
3436
+ }, qa = async (e, t, r, n, s) => {
3437
3437
  let i, o;
3438
3438
  const a = new Uint8Array(atob(r.replace(e, "")).split("").map((c) => c.charCodeAt(0)));
3439
3439
  switch (n) {
@@ -3469,7 +3469,7 @@ const Ye = (e) => {
3469
3469
  case "ECDH-ES+A128KW":
3470
3470
  case "ECDH-ES+A192KW":
3471
3471
  case "ECDH-ES+A256KW": {
3472
- const c = Wa(a);
3472
+ const c = Ga(a);
3473
3473
  i = c != null && c.startsWith("P-") ? { name: "ECDH", namedCurve: c } : { name: "X25519" }, o = [];
3474
3474
  break;
3475
3475
  }
@@ -3481,8 +3481,8 @@ const Ye = (e) => {
3481
3481
  throw new ge('Invalid or unsupported "alg" (Algorithm) value');
3482
3482
  }
3483
3483
  return crypto.subtle.importKey(t, a, i, !0, o);
3484
- }, qa = (e, t, r) => Ga(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
3485
- function Ja(e) {
3484
+ }, Ja = (e, t, r) => qa(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
3485
+ function za(e) {
3486
3486
  let t, r;
3487
3487
  switch (e.kty) {
3488
3488
  case "RSA": {
@@ -3555,18 +3555,18 @@ function Ja(e) {
3555
3555
  }
3556
3556
  return { algorithm: t, keyUsages: r };
3557
3557
  }
3558
- const za = async (e) => {
3558
+ const Qa = async (e) => {
3559
3559
  if (!e.alg)
3560
3560
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
3561
- const { algorithm: t, keyUsages: r } = Ja(e), n = { ...e };
3561
+ const { algorithm: t, keyUsages: r } = za(e), n = { ...e };
3562
3562
  return delete n.alg, delete n.use, crypto.subtle.importKey("jwk", n, t, e.ext ?? !e.d, e.key_ops ?? r);
3563
3563
  };
3564
- async function Qa(e, t, r) {
3564
+ async function Ya(e, t, r) {
3565
3565
  if (e.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
3566
3566
  throw new TypeError('"spki" must be SPKI formatted string');
3567
- return qa(e, t);
3567
+ return Ja(e, t);
3568
3568
  }
3569
- const Ya = (e, t, r, n, s) => {
3569
+ const Xa = (e, t, r, n, s) => {
3570
3570
  if (s.crit !== void 0 && n?.crit === void 0)
3571
3571
  throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
3572
3572
  if (!n || n.crit === void 0)
@@ -3584,7 +3584,7 @@ const Ya = (e, t, r, n, s) => {
3584
3584
  throw new e(`Extension Header Parameter "${o}" MUST be integrity protected`);
3585
3585
  }
3586
3586
  return new Set(n.crit);
3587
- }, Xa = (e, t) => {
3587
+ }, Za = (e, t) => {
3588
3588
  if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
3589
3589
  throw new TypeError(`"${e}" option must be an array of strings`);
3590
3590
  if (t)
@@ -3593,13 +3593,13 @@ const Ya = (e, t, r, n, s) => {
3593
3593
  function vr(e) {
3594
3594
  return Ye(e) && typeof e.kty == "string";
3595
3595
  }
3596
- function Za(e) {
3596
+ function eo(e) {
3597
3597
  return e.kty !== "oct" && typeof e.d == "string";
3598
3598
  }
3599
- function eo(e) {
3599
+ function to(e) {
3600
3600
  return e.kty !== "oct" && typeof e.d > "u";
3601
3601
  }
3602
- function to(e) {
3602
+ function ro(e) {
3603
3603
  return e.kty === "oct" && typeof e.k == "string";
3604
3604
  }
3605
3605
  let be;
@@ -3608,9 +3608,9 @@ const jr = async (e, t, r, n = !1) => {
3608
3608
  let s = be.get(e);
3609
3609
  if (s != null && s[r])
3610
3610
  return s[r];
3611
- const i = await za({ ...t, alg: r });
3611
+ const i = await Qa({ ...t, alg: r });
3612
3612
  return n && Object.freeze(e), s ? s[r] = i : be.set(e, { [r]: i }), i;
3613
- }, ro = (e, t) => {
3613
+ }, no = (e, t) => {
3614
3614
  var r;
3615
3615
  be || (be = /* @__PURE__ */ new WeakMap());
3616
3616
  let n = be.get(e);
@@ -3696,7 +3696,7 @@ const jr = async (e, t, r, n = !1) => {
3696
3696
  if (!o)
3697
3697
  throw new TypeError("given KeyObject instance cannot be used for this algorithm");
3698
3698
  return n ? n[t] = o : be.set(e, { [t]: o }), o;
3699
- }, no = async (e, t) => {
3699
+ }, so = async (e, t) => {
3700
3700
  if (e instanceof Uint8Array || Xn(e))
3701
3701
  return e;
3702
3702
  if (Zn(e)) {
@@ -3704,7 +3704,7 @@ const jr = async (e, t, r, n = !1) => {
3704
3704
  return e.export();
3705
3705
  if ("toCryptoKey" in e && typeof e.toCryptoKey == "function")
3706
3706
  try {
3707
- return ro(e, t);
3707
+ return no(e, t);
3708
3708
  } catch (n) {
3709
3709
  if (n instanceof TypeError)
3710
3710
  throw n;
@@ -3759,10 +3759,10 @@ const jr = async (e, t, r, n = !1) => {
3759
3759
  throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${i}" when present`);
3760
3760
  }
3761
3761
  return !0;
3762
- }, so = (e, t, r) => {
3762
+ }, io = (e, t, r) => {
3763
3763
  if (!(t instanceof Uint8Array)) {
3764
3764
  if (vr(t)) {
3765
- if (to(t) && hr(e, t, r))
3765
+ if (ro(t) && hr(e, t, r))
3766
3766
  return;
3767
3767
  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');
3768
3768
  }
@@ -3771,17 +3771,17 @@ const jr = async (e, t, r, n = !1) => {
3771
3771
  if (t.type !== "secret")
3772
3772
  throw new TypeError(`${Ne(t)} instances for symmetric algorithms must be of type "secret"`);
3773
3773
  }
3774
- }, io = (e, t, r) => {
3774
+ }, ao = (e, t, r) => {
3775
3775
  if (vr(t))
3776
3776
  switch (r) {
3777
3777
  case "decrypt":
3778
3778
  case "sign":
3779
- if (Za(t) && hr(e, t, r))
3779
+ if (eo(t) && hr(e, t, r))
3780
3780
  return;
3781
3781
  throw new TypeError("JSON Web Key for this operation be a private JWK");
3782
3782
  case "encrypt":
3783
3783
  case "verify":
3784
- if (eo(t) && hr(e, t, r))
3784
+ if (to(t) && hr(e, t, r))
3785
3785
  return;
3786
3786
  throw new TypeError("JSON Web Key for this operation be a public JWK");
3787
3787
  }
@@ -3803,9 +3803,9 @@ const jr = async (e, t, r, n = !1) => {
3803
3803
  case "encrypt":
3804
3804
  throw new TypeError(`${Ne(t)} instances for asymmetric algorithm encryption must be of type "public"`);
3805
3805
  }
3806
- }, ao = (e, t, r) => {
3807
- 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) ? so(e, t, r) : io(e, t, r);
3808
- }, oo = (e, t) => {
3806
+ }, oo = (e, t, r) => {
3807
+ 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) ? io(e, t, r) : ao(e, t, r);
3808
+ }, co = (e, t) => {
3809
3809
  const r = `SHA-${e.slice(-3)}`;
3810
3810
  switch (e) {
3811
3811
  case "HS256":
@@ -3830,24 +3830,24 @@ const jr = async (e, t, r, n = !1) => {
3830
3830
  default:
3831
3831
  throw new ge(`alg ${e} is not supported either by JOSE or your javascript runtime`);
3832
3832
  }
3833
- }, co = async (e, t, r) => {
3833
+ }, lo = async (e, t, r) => {
3834
3834
  if (t instanceof Uint8Array) {
3835
3835
  if (!e.startsWith("HS"))
3836
- throw new TypeError(Ha(t, "CryptoKey", "KeyObject", "JSON Web Key"));
3836
+ throw new TypeError(Ba(t, "CryptoKey", "KeyObject", "JSON Web Key"));
3837
3837
  return crypto.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
3838
3838
  }
3839
- return Ka(t, e, r), t;
3840
- }, lo = async (e, t, r, n) => {
3841
- const s = await co(e, t, "verify");
3842
- ja(e, s);
3843
- const i = oo(e, s.algorithm);
3839
+ return Ha(t, e, r), t;
3840
+ }, uo = async (e, t, r, n) => {
3841
+ const s = await lo(e, t, "verify");
3842
+ Wa(e, s);
3843
+ const i = co(e, s.algorithm);
3844
3844
  try {
3845
3845
  return await crypto.subtle.verify(i, s, r, n);
3846
3846
  } catch {
3847
3847
  return !1;
3848
3848
  }
3849
3849
  };
3850
- async function uo(e, t, r) {
3850
+ async function fo(e, t, r) {
3851
3851
  if (!Ye(e))
3852
3852
  throw new F("Flattened JWS must be an object");
3853
3853
  if (e.protected === void 0 && e.header === void 0)
@@ -3868,19 +3868,19 @@ async function uo(e, t, r) {
3868
3868
  } catch {
3869
3869
  throw new F("JWS Protected Header is invalid");
3870
3870
  }
3871
- if (!Ba(n, e.header))
3871
+ if (!Va(n, e.header))
3872
3872
  throw new F("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
3873
3873
  const s = {
3874
3874
  ...n,
3875
3875
  ...e.header
3876
- }, i = Ya(F, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, n, s);
3876
+ }, i = Xa(F, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, n, s);
3877
3877
  let o = !0;
3878
3878
  if (i.has("b64") && (o = n.b64, typeof o != "boolean"))
3879
3879
  throw new F('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
3880
3880
  const { alg: a } = s;
3881
3881
  if (typeof a != "string" || !a)
3882
3882
  throw new F('JWS "alg" (Algorithm) Header Parameter missing or invalid');
3883
- const c = r && Xa("algorithms", r.algorithms);
3883
+ const c = r && Za("algorithms", r.algorithms);
3884
3884
  if (c && !c.has(a))
3885
3885
  throw new Jn('"alg" (Algorithm) Header Parameter value not allowed');
3886
3886
  if (o) {
@@ -3889,16 +3889,16 @@ async function uo(e, t, r) {
3889
3889
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
3890
3890
  throw new F("JWS Payload must be a string or an Uint8Array instance");
3891
3891
  let d = !1;
3892
- typeof t == "function" && (t = await t(n, e), d = !0), ao(a, t, "verify");
3893
- const u = Ma(at.encode(e.protected ?? ""), at.encode("."), typeof e.payload == "string" ? at.encode(e.payload) : e.payload);
3892
+ typeof t == "function" && (t = await t(n, e), d = !0), oo(a, t, "verify");
3893
+ const u = La(at.encode(e.protected ?? ""), at.encode("."), typeof e.payload == "string" ? at.encode(e.payload) : e.payload);
3894
3894
  let l;
3895
3895
  try {
3896
3896
  l = He(e.signature);
3897
3897
  } catch {
3898
3898
  throw new F("Failed to base64url decode the signature");
3899
3899
  }
3900
- const f = await no(t, a);
3901
- if (!await lo(a, f, l, u))
3900
+ const f = await so(t, a);
3901
+ if (!await uo(a, f, l, u))
3902
3902
  throw new zn();
3903
3903
  let h;
3904
3904
  if (o)
@@ -3911,17 +3911,17 @@ async function uo(e, t, r) {
3911
3911
  const m = { payload: h };
3912
3912
  return e.protected !== void 0 && (m.protectedHeader = n), e.header !== void 0 && (m.unprotectedHeader = e.header), d ? { ...m, key: f } : m;
3913
3913
  }
3914
- async function fo(e, t, r) {
3914
+ async function ho(e, t, r) {
3915
3915
  if (e instanceof Uint8Array && (e = $e.decode(e)), typeof e != "string")
3916
3916
  throw new F("Compact JWS must be a string or Uint8Array");
3917
3917
  const { 0: n, 1: s, 2: i, length: o } = e.split(".");
3918
3918
  if (o !== 3)
3919
3919
  throw new F("Invalid Compact JWS");
3920
- const a = await uo({ payload: s, protected: n, signature: i }, t, r), c = { payload: a.payload, protectedHeader: a.protectedHeader };
3920
+ const a = await fo({ payload: s, protected: n, signature: i }, t, r), c = { payload: a.payload, protectedHeader: a.protectedHeader };
3921
3921
  return typeof t == "function" ? { ...c, key: a.key } : c;
3922
3922
  }
3923
- const ho = (e) => Math.floor(e.getTime() / 1e3), ts = 60, rs = ts * 60, Er = rs * 24, mo = Er * 7, yo = Er * 365.25, po = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Wr = (e) => {
3924
- const t = po.exec(e);
3923
+ const mo = (e) => Math.floor(e.getTime() / 1e3), ts = 60, rs = ts * 60, Er = rs * 24, yo = Er * 7, po = Er * 365.25, go = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Wr = (e) => {
3924
+ const t = go.exec(e);
3925
3925
  if (!t || t[4] && t[1])
3926
3926
  throw new TypeError("Invalid time period format");
3927
3927
  const r = parseFloat(t[2]), n = t[3].toLowerCase();
@@ -3956,15 +3956,15 @@ const ho = (e) => Math.floor(e.getTime() / 1e3), ts = 60, rs = ts * 60, Er = rs
3956
3956
  case "week":
3957
3957
  case "weeks":
3958
3958
  case "w":
3959
- s = Math.round(r * mo);
3959
+ s = Math.round(r * yo);
3960
3960
  break;
3961
3961
  default:
3962
- s = Math.round(r * yo);
3962
+ s = Math.round(r * po);
3963
3963
  break;
3964
3964
  }
3965
3965
  return t[1] === "-" || t[4] === "ago" ? -s : s;
3966
- }, Gr = (e) => e.toLowerCase().replace(/^application\//, ""), go = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
3967
- function bo(e, t, r = {}) {
3966
+ }, Gr = (e) => e.toLowerCase().replace(/^application\//, ""), bo = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
3967
+ function wo(e, t, r = {}) {
3968
3968
  let n;
3969
3969
  try {
3970
3970
  n = JSON.parse($e.decode(t));
@@ -3984,7 +3984,7 @@ function bo(e, t, r = {}) {
3984
3984
  throw new ee('unexpected "iss" claim value', n, "iss", "check_failed");
3985
3985
  if (a && n.sub !== a)
3986
3986
  throw new ee('unexpected "sub" claim value', n, "sub", "check_failed");
3987
- if (c && !go(n.aud, typeof c == "string" ? [c] : c))
3987
+ if (c && !bo(n.aud, typeof c == "string" ? [c] : c))
3988
3988
  throw new ee('unexpected "aud" claim value', n, "aud", "check_failed");
3989
3989
  let l;
3990
3990
  switch (typeof r.clockTolerance) {
@@ -4000,7 +4000,7 @@ function bo(e, t, r = {}) {
4000
4000
  default:
4001
4001
  throw new TypeError("Invalid clockTolerance option type");
4002
4002
  }
4003
- const { currentDate: f } = r, h = ho(f || /* @__PURE__ */ new Date());
4003
+ const { currentDate: f } = r, h = mo(f || /* @__PURE__ */ new Date());
4004
4004
  if ((n.iat !== void 0 || d) && typeof n.iat != "number")
4005
4005
  throw new ee('"iat" claim must be a number', n, "iat", "invalid");
4006
4006
  if (n.nbf !== void 0) {
@@ -4024,15 +4024,15 @@ function bo(e, t, r = {}) {
4024
4024
  }
4025
4025
  return n;
4026
4026
  }
4027
- async function wo(e, t, r) {
4027
+ async function vo(e, t, r) {
4028
4028
  var n;
4029
- const s = await fo(e, t, r);
4029
+ const s = await ho(e, t, r);
4030
4030
  if ((n = s.protectedHeader.crit) != null && n.includes("b64") && s.protectedHeader.b64 === !1)
4031
4031
  throw new se("JWTs MUST NOT use unencoded payload");
4032
- const i = { payload: bo(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
4032
+ const i = { payload: wo(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
4033
4033
  return typeof t == "function" ? { ...i, key: s.key } : i;
4034
4034
  }
4035
- function vo(e) {
4035
+ function Eo(e) {
4036
4036
  if (typeof e != "string")
4037
4037
  throw new se("JWTs must use Compact JWS serialization, JWT must be a string");
4038
4038
  const { 1: t, length: r } = e.split(".");
@@ -4060,66 +4060,66 @@ function vo(e) {
4060
4060
  }
4061
4061
  const Xe = async (e) => {
4062
4062
  try {
4063
- const t = j.ALG, r = await Qa(Da, t);
4064
- return await wo(e, r, {
4063
+ const t = j.ALG, r = await Ya(Ma, t);
4064
+ return await vo(e, r, {
4065
4065
  issuer: j.ISSUER
4066
4066
  });
4067
4067
  } catch {
4068
4068
  return;
4069
4069
  }
4070
- }, Eo = (e) => {
4070
+ }, So = (e) => {
4071
4071
  try {
4072
- return vo(e);
4072
+ return Eo(e);
4073
4073
  } catch {
4074
4074
  return;
4075
4075
  }
4076
4076
  }, H = [];
4077
4077
  for (let e = 0; e < 256; ++e)
4078
4078
  H.push((e + 256).toString(16).slice(1));
4079
- function So(e, t = 0) {
4079
+ function To(e, t = 0) {
4080
4080
  return (H[e[t + 0]] + H[e[t + 1]] + H[e[t + 2]] + H[e[t + 3]] + "-" + H[e[t + 4]] + H[e[t + 5]] + "-" + H[e[t + 6]] + H[e[t + 7]] + "-" + H[e[t + 8]] + H[e[t + 9]] + "-" + H[e[t + 10]] + H[e[t + 11]] + H[e[t + 12]] + H[e[t + 13]] + H[e[t + 14]] + H[e[t + 15]]).toLowerCase();
4081
4081
  }
4082
4082
  let Bt;
4083
- const To = new Uint8Array(16);
4084
- function Ao() {
4083
+ const Ao = new Uint8Array(16);
4084
+ function Io() {
4085
4085
  if (!Bt) {
4086
4086
  if (typeof crypto > "u" || !crypto.getRandomValues)
4087
4087
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4088
4088
  Bt = crypto.getRandomValues.bind(crypto);
4089
4089
  }
4090
- return Bt(To);
4090
+ return Bt(Ao);
4091
4091
  }
4092
- const Io = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), qr = { randomUUID: Io };
4092
+ const ko = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), qr = { randomUUID: ko };
4093
4093
  function Jr(e, t, r) {
4094
4094
  var n;
4095
4095
  if (qr.randomUUID && !e)
4096
4096
  return qr.randomUUID();
4097
4097
  e = e || {};
4098
- const s = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? Ao();
4098
+ const s = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? Io();
4099
4099
  if (s.length < 16)
4100
4100
  throw new Error("Random bytes length must be >= 16");
4101
- return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, So(s);
4101
+ return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, To(s);
4102
4102
  }
4103
- const zr = globalThis.crypto, ko = (e) => `${Jr()}${Jr()}`.slice(0, e), Oo = (e) => btoa(
4103
+ const zr = globalThis.crypto, Oo = (e) => `${Jr()}${Jr()}`.slice(0, e), Ro = (e) => btoa(
4104
4104
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
4105
4105
  );
4106
- async function Ro(e) {
4106
+ async function _o(e) {
4107
4107
  if (!zr.subtle)
4108
4108
  throw new Error(
4109
4109
  "crypto.subtle is available only in secure contexts (HTTPS)."
4110
4110
  );
4111
4111
  const t = new TextEncoder().encode(e), r = await zr.subtle.digest("SHA-256", t);
4112
- return Oo(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4112
+ return Ro(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4113
4113
  }
4114
- async function _o(e) {
4115
- const t = ko(43), r = await Ro(t);
4114
+ async function Co(e) {
4115
+ const t = Oo(43), r = await _o(t);
4116
4116
  return {
4117
4117
  code_verifier: t,
4118
4118
  code_challenge: r
4119
4119
  };
4120
4120
  }
4121
4121
  const ns = cn(null);
4122
- var Co = Object.defineProperty, No = (e, t, r) => t in e ? Co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t, r) => No(e, typeof t != "symbol" ? t + "" : t, r);
4122
+ var No = Object.defineProperty, Po = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t, r) => Po(e, typeof t != "symbol" ? t + "" : t, r);
4123
4123
  /*!
4124
4124
  @versini/auth-provider v8.0.4
4125
4125
  © 2025 gizmette.com
@@ -4147,9 +4147,9 @@ function It(e) {
4147
4147
  return i;
4148
4148
  }
4149
4149
  function Sr() {
4150
- return Po.stubThis(globalThis?.PublicKeyCredential !== void 0 && typeof globalThis.PublicKeyCredential == "function");
4150
+ return xo.stubThis(globalThis?.PublicKeyCredential !== void 0 && typeof globalThis.PublicKeyCredential == "function");
4151
4151
  }
4152
- const Po = {
4152
+ const xo = {
4153
4153
  stubThis: (e) => e
4154
4154
  };
4155
4155
  function ss(e) {
@@ -4181,7 +4181,7 @@ let V = class extends Error {
4181
4181
  }), this.name = s ?? n.name, this.code = r;
4182
4182
  }
4183
4183
  };
4184
- function xo({ error: e, options: t }) {
4184
+ function $o({ error: e, options: t }) {
4185
4185
  const { publicKey: r } = t;
4186
4186
  if (!r)
4187
4187
  throw Error("options was missing required publicKey property");
@@ -4267,7 +4267,7 @@ function xo({ error: e, options: t }) {
4267
4267
  }
4268
4268
  return e;
4269
4269
  }
4270
- class $o {
4270
+ class Do {
4271
4271
  constructor() {
4272
4272
  Object.defineProperty(this, "controller", {
4273
4273
  enumerable: !0,
@@ -4291,12 +4291,12 @@ class $o {
4291
4291
  }
4292
4292
  }
4293
4293
  }
4294
- const as = new $o(), Do = ["cross-platform", "platform"];
4294
+ const as = new Do(), Mo = ["cross-platform", "platform"];
4295
4295
  function os(e) {
4296
- if (e && !(Do.indexOf(e) < 0))
4296
+ if (e && !(Mo.indexOf(e) < 0))
4297
4297
  return e;
4298
4298
  }
4299
- async function Mo(e) {
4299
+ async function Lo(e) {
4300
4300
  !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 });
4301
4301
  const { optionsJSON: t, useAutoRegister: r = !1 } = e;
4302
4302
  if (!Sr())
@@ -4315,7 +4315,7 @@ async function Mo(e) {
4315
4315
  try {
4316
4316
  i = await navigator.credentials.create(s);
4317
4317
  } catch (m) {
4318
- throw xo({ error: m, options: s });
4318
+ throw $o({ error: m, options: s });
4319
4319
  }
4320
4320
  if (!i)
4321
4321
  throw new Error("Registration was not completed");
@@ -4364,7 +4364,7 @@ function jt(e, t) {
4364
4364
  console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
4365
4365
  `, t);
4366
4366
  }
4367
- function Lo() {
4367
+ function Uo() {
4368
4368
  if (!Sr())
4369
4369
  return Wt.stubThis(new Promise((t) => t(!1)));
4370
4370
  const e = globalThis.PublicKeyCredential;
@@ -4373,7 +4373,7 @@ function Lo() {
4373
4373
  const Wt = {
4374
4374
  stubThis: (e) => e
4375
4375
  };
4376
- function Uo({ error: e, options: t }) {
4376
+ function Fo({ error: e, options: t }) {
4377
4377
  const { publicKey: r } = t;
4378
4378
  if (!r)
4379
4379
  throw Error("options was missing required publicKey property");
@@ -4414,7 +4414,7 @@ function Uo({ error: e, options: t }) {
4414
4414
  }
4415
4415
  return e;
4416
4416
  }
4417
- async function Fo(e) {
4417
+ async function Ko(e) {
4418
4418
  !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 });
4419
4419
  const { optionsJSON: t, useBrowserAutofill: r = !1, verifyBrowserAutofillInput: n = !0 } = e;
4420
4420
  if (!Sr())
@@ -4427,7 +4427,7 @@ async function Fo(e) {
4427
4427
  allowCredentials: s
4428
4428
  }, o = {};
4429
4429
  if (r) {
4430
- if (!await Lo())
4430
+ if (!await Uo())
4431
4431
  throw Error("Browser does not support WebAuthn autofill");
4432
4432
  if (document.querySelectorAll("input[autocomplete$='webauthn']").length < 1 && n)
4433
4433
  throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
@@ -4438,7 +4438,7 @@ async function Fo(e) {
4438
4438
  try {
4439
4439
  a = await navigator.credentials.get(o);
4440
4440
  } catch (h) {
4441
- throw Uo({ error: h, options: o });
4441
+ throw Fo({ error: h, options: o });
4442
4442
  }
4443
4443
  if (!a)
4444
4444
  throw new Error("Authentication was not completed");
@@ -4466,18 +4466,18 @@ const Qr = (e, t) => {
4466
4466
  typeof t == "function" ? t() : t
4467
4467
  );
4468
4468
  window.localStorage.setItem(e, r), cs(e, r);
4469
- }, Ko = (e) => {
4469
+ }, Ho = (e) => {
4470
4470
  window.localStorage.removeItem(e), cs(e, null);
4471
- }, Yr = (e) => window.localStorage.getItem(e), Ho = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
4471
+ }, Yr = (e) => window.localStorage.getItem(e), Bo = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
4472
4472
  function ot({
4473
4473
  key: e,
4474
4474
  initialValue: t
4475
4475
  }) {
4476
- const r = Ps(Ho, () => Yr(e)), n = ue(
4476
+ const r = xs(Bo, () => Yr(e)), n = ue(
4477
4477
  (o) => {
4478
4478
  try {
4479
4479
  const a = typeof o == "function" ? o(JSON.parse(r)) : o;
4480
- a == null ? Ko(e) : Qr(e, a);
4480
+ a == null ? Ho(e) : Qr(e, a);
4481
4481
  } catch (a) {
4482
4482
  console.warn(a);
4483
4483
  }
@@ -4499,30 +4499,30 @@ function ot({
4499
4499
  const B = [];
4500
4500
  for (let e = 0; e < 256; ++e)
4501
4501
  B.push((e + 256).toString(16).slice(1));
4502
- function Bo(e, t = 0) {
4502
+ function Vo(e, t = 0) {
4503
4503
  return (B[e[t + 0]] + B[e[t + 1]] + B[e[t + 2]] + B[e[t + 3]] + "-" + B[e[t + 4]] + B[e[t + 5]] + "-" + B[e[t + 6]] + B[e[t + 7]] + "-" + B[e[t + 8]] + B[e[t + 9]] + "-" + B[e[t + 10]] + B[e[t + 11]] + B[e[t + 12]] + B[e[t + 13]] + B[e[t + 14]] + B[e[t + 15]]).toLowerCase();
4504
4504
  }
4505
4505
  let Gt;
4506
- const Vo = new Uint8Array(16);
4507
- function jo() {
4506
+ const jo = new Uint8Array(16);
4507
+ function Wo() {
4508
4508
  if (!Gt) {
4509
4509
  if (typeof crypto > "u" || !crypto.getRandomValues)
4510
4510
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4511
4511
  Gt = crypto.getRandomValues.bind(crypto);
4512
4512
  }
4513
- return Gt(Vo);
4513
+ return Gt(jo);
4514
4514
  }
4515
- const Wo = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Xr = { randomUUID: Wo };
4515
+ const Go = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Xr = { randomUUID: Go };
4516
4516
  function qt(e, t, r) {
4517
4517
  if (Xr.randomUUID && !e)
4518
4518
  return Xr.randomUUID();
4519
4519
  e = e || {};
4520
- const n = e.random ?? e.rng?.() ?? jo();
4520
+ const n = e.random ?? e.rng?.() ?? Wo();
4521
4521
  if (n.length < 16)
4522
4522
  throw new Error("Random bytes length must be >= 16");
4523
- return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Bo(n);
4523
+ return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Vo(n);
4524
4524
  }
4525
- const Oe = "Your session has expired. For your security, please log in again to continue.", Go = "Your session has been successfully terminated.", Jt = "Login failed. Please try again.", qo = "Error getting access token, please re-authenticate.", Jo = "You forgot to wrap your component in <AuthProvider>.", ct = "@@auth@@", Le = "LOADING", yt = "LOGIN", ls = "LOGOUT", Ze = "success", oe = "failure", us = "include", ds = "POST", fs = "application/json", lt = {
4525
+ const Oe = "Your session has expired. For your security, please log in again to continue.", qo = "Your session has been successfully terminated.", Jt = "Login failed. Please try again.", Jo = "Error getting access token, please re-authenticate.", zo = "You forgot to wrap your component in <AuthProvider>.", ct = "@@auth@@", Le = "LOADING", yt = "LOGIN", ls = "LOGOUT", Ze = "success", oe = "failure", us = "include", ds = "POST", fs = "application/json", lt = {
4526
4526
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
4527
4527
  $clientId: String!,
4528
4528
  $username: String!,
@@ -4677,21 +4677,21 @@ const Oe = "Your session has expired. For your security, please log in again to
4677
4677
  } catch (s) {
4678
4678
  return console.error(s), { status: oe, data: [] };
4679
4679
  }
4680
- }, zo = process.env.NODE_ENV === "production", Qo = !zo, hs = {
4680
+ }, Qo = process.env.NODE_ENV === "production", Yo = !Qo, hs = {
4681
4681
  isLoading: !0,
4682
4682
  isAuthenticated: !1,
4683
4683
  user: void 0,
4684
4684
  logoutReason: "",
4685
4685
  debug: !1,
4686
4686
  authenticationType: ""
4687
- }, Yo = (e) => {
4687
+ }, Xo = (e) => {
4688
4688
  try {
4689
- const t = Eo(e);
4689
+ const t = So(e);
4690
4690
  return t ? t[j.USER_ID_KEY] : "";
4691
4691
  } catch {
4692
4692
  return "";
4693
4693
  }
4694
- }, Xo = async ({
4694
+ }, Zo = async ({
4695
4695
  userId: e,
4696
4696
  clientId: t,
4697
4697
  domain: r,
@@ -4716,7 +4716,7 @@ const Oe = "Your session has expired. For your security, please log in again to
4716
4716
  status: oe
4717
4717
  };
4718
4718
  }
4719
- }, Zo = async ({
4719
+ }, ec = async ({
4720
4720
  username: e,
4721
4721
  password: t,
4722
4722
  clientId: r,
@@ -4761,7 +4761,7 @@ const Oe = "Your session has expired. For your security, please log in again to
4761
4761
  status: !1
4762
4762
  };
4763
4763
  }
4764
- }, ec = async ({
4764
+ }, tc = async ({
4765
4765
  nonce: e,
4766
4766
  clientId: t,
4767
4767
  code_challenge: r,
@@ -4791,7 +4791,7 @@ const Oe = "Your session has expired. For your security, please log in again to
4791
4791
  data: ""
4792
4792
  };
4793
4793
  }
4794
- }, tc = async ({
4794
+ }, rc = async ({
4795
4795
  clientId: e,
4796
4796
  userId: t,
4797
4797
  nonce: r,
@@ -4828,7 +4828,7 @@ const Oe = "Your session has expired. For your security, please log in again to
4828
4828
  };
4829
4829
  }
4830
4830
  };
4831
- class rc {
4831
+ class nc {
4832
4832
  constructor(t = null, r = null) {
4833
4833
  Vt(this, "refreshTokenPromise", null), Vt(this, "accessToken"), Vt(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
4834
4834
  }
@@ -4861,7 +4861,7 @@ class rc {
4861
4861
  }) {
4862
4862
  const o = await Xe(this.refreshToken);
4863
4863
  if (o && o.payload[j.USER_ID_KEY] !== "") {
4864
- const a = await tc({
4864
+ const a = await rc({
4865
4865
  endpoint: t,
4866
4866
  clientId: r,
4867
4867
  userId: n,
@@ -4884,7 +4884,7 @@ class rc {
4884
4884
  }
4885
4885
  }
4886
4886
  const Ce = () => {
4887
- throw new Error(Jo);
4887
+ throw new Error(zo);
4888
4888
  }, ms = cn({
4889
4889
  isAuthenticated: !1,
4890
4890
  isLoading: !1,
@@ -4896,18 +4896,18 @@ const Ce = () => {
4896
4896
  loginWithPasskey: Ce,
4897
4897
  logoutReason: "",
4898
4898
  authenticationType: ""
4899
- }), nc = () => ({
4899
+ }), sc = () => ({
4900
4900
  ...gr(ms)
4901
- }), sc = (e) => ue(
4901
+ }), ic = (e) => ue(
4902
4902
  (...t) => {
4903
4903
  e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
4904
4904
  },
4905
4905
  [e]
4906
- ), ic = fe.createContext({
4906
+ ), ac = fe.createContext({
4907
4907
  state: hs,
4908
4908
  dispatch: () => {
4909
4909
  }
4910
- }), ac = (e, t) => t?.type === Le ? {
4910
+ }), oc = (e, t) => t?.type === Le ? {
4911
4911
  ...e,
4912
4912
  isLoading: t.payload.isLoading
4913
4913
  } : t?.type === yt ? {
@@ -4924,8 +4924,8 @@ const Ce = () => {
4924
4924
  user: void 0,
4925
4925
  authenticationType: "",
4926
4926
  logoutReason: t.payload.logoutReason
4927
- } : e, oc = ({ children: e }) => {
4928
- const t = nc();
4927
+ } : e, cc = ({ children: e }) => {
4928
+ const t = sc();
4929
4929
  return /* @__PURE__ */ y(ns.Provider, { value: t, children: e });
4930
4930
  }, Zr = ({
4931
4931
  children: e,
@@ -4933,12 +4933,12 @@ const Ce = () => {
4933
4933
  clientId: r,
4934
4934
  domain: n = "",
4935
4935
  debug: s = !1,
4936
- endpoint: i = Qo ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
4936
+ endpoint: i = Yo ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
4937
4937
  }) => {
4938
- const [o, a] = ln(ac, {
4938
+ const [o, a] = ln(oc, {
4939
4939
  ...hs,
4940
4940
  debug: s
4941
- }), c = sc(s), d = W(!1), [u, l, , f] = ot({
4941
+ }), c = ic(s), d = W(!1), [u, l, , f] = ot({
4942
4942
  key: `${ct}::${r}::@@user@@`
4943
4943
  }), [h, m, , p] = ot({
4944
4944
  key: `${ct}::${r}::@@access@@`
@@ -4948,7 +4948,7 @@ const Ce = () => {
4948
4948
  }
4949
4949
  ), [S, O, , _] = ot({
4950
4950
  key: `${ct}::${r}::@@nonce@@`
4951
- }), q = new rc(h, b), z = ue(() => {
4951
+ }), q = new nc(h, b), z = ue(() => {
4952
4952
  c("removeLocalStorage: removing local storage"), f(), p(), k(), _();
4953
4953
  }, [
4954
4954
  p,
@@ -4972,10 +4972,10 @@ const Ce = () => {
4972
4972
  ), R = ue(
4973
4973
  async (T) => {
4974
4974
  c("invalidateAndLogout: invalidating and logging out");
4975
- const { user: P } = o, A = P?.userId || Yo(u);
4975
+ const { user: P } = o, A = P?.userId || Xo(u);
4976
4976
  A || c(
4977
4977
  "invalidateAndLogout: user cannot be identified, logging out without userId"
4978
- ), await Xo({
4978
+ ), await Zo({
4979
4979
  userId: A,
4980
4980
  clientId: r,
4981
4981
  domain: n,
@@ -5022,14 +5022,14 @@ const Ce = () => {
5022
5022
  a({ type: Le, payload: { isLoading: !0 } }), z();
5023
5023
  const A = qt();
5024
5024
  O(A), c("login: Logging in with password");
5025
- const { code_verifier: ye, code_challenge: pe } = await _o(), Cr = await ec({
5025
+ const { code_verifier: ye, code_challenge: pe } = await Co(), Cr = await tc({
5026
5026
  endpoint: i,
5027
5027
  nonce: A,
5028
5028
  clientId: r,
5029
5029
  code_challenge: pe
5030
5030
  });
5031
5031
  if (Cr.status) {
5032
- const Ie = await Zo({
5032
+ const Ie = await ec({
5033
5033
  endpoint: i,
5034
5034
  username: T,
5035
5035
  password: P,
@@ -5056,7 +5056,7 @@ const Ce = () => {
5056
5056
  }
5057
5057
  return !1;
5058
5058
  }, N = async (T) => {
5059
- T?.preventDefault(), await R(Go);
5059
+ T?.preventDefault(), await R(qo);
5060
5060
  }, E = async () => {
5061
5061
  const { isAuthenticated: T, user: P } = o;
5062
5062
  try {
@@ -5085,7 +5085,7 @@ const Ce = () => {
5085
5085
  } catch {
5086
5086
  return c(
5087
5087
  "getAccessToken: exception occurred, invalidating and logging out"
5088
- ), await R(qo), "";
5088
+ ), await R(Jo), "";
5089
5089
  }
5090
5090
  }, U = () => o.isAuthenticated && u ? u : "", me = async () => {
5091
5091
  const { user: T } = o;
@@ -5102,7 +5102,7 @@ const Ce = () => {
5102
5102
  });
5103
5103
  if (P.status)
5104
5104
  try {
5105
- const A = await Mo({
5105
+ const A = await Lo({
5106
5106
  optionsJSON: P.data
5107
5107
  });
5108
5108
  return P = await _e({
@@ -5149,7 +5149,7 @@ const Ce = () => {
5149
5149
  });
5150
5150
  if (A.status)
5151
5151
  try {
5152
- const ye = await Fo({
5152
+ const ye = await Ko({
5153
5153
  optionsJSON: A.data
5154
5154
  });
5155
5155
  return A = await _e({
@@ -5195,7 +5195,7 @@ const Ce = () => {
5195
5195
  }
5196
5196
  return !1;
5197
5197
  };
5198
- return /* @__PURE__ */ y(ic.Provider, { value: { state: o, dispatch: a }, children: /* @__PURE__ */ y(
5198
+ return /* @__PURE__ */ y(ac.Provider, { value: { state: o, dispatch: a }, children: /* @__PURE__ */ y(
5199
5199
  ms.Provider,
5200
5200
  {
5201
5201
  value: {
@@ -5207,7 +5207,7 @@ const Ce = () => {
5207
5207
  registeringForPasskey: me,
5208
5208
  loginWithPasskey: Ae
5209
5209
  },
5210
- children: /* @__PURE__ */ y(oc, { children: e })
5210
+ children: /* @__PURE__ */ y(cc, { children: e })
5211
5211
  }
5212
5212
  ) });
5213
5213
  };
@@ -5229,25 +5229,25 @@ const ys = () => {
5229
5229
  if (!e)
5230
5230
  throw new Error("useAuth must be used within an AuthHookProvider");
5231
5231
  return e;
5232
- }, Cu = "data", Nu = "I'm having trouble right now. Please try again later.", Pu = "action-search", xu = "action-sort", $u = "action-toggle-prompt", Du = "action-reset-prompt", ps = "sassy-saint-", Mu = "details", Lu = "search", Uu = "sort", Fu = "private-disclosure", Ku = "reasoning-disclosure", gs = "service-worker", en = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Hu = 10, Bu = 30, Vu = "av-prompt", ju = "av-prompt-editable", Wu = "size-5 sm:size-4", Gu = 30, qu = 15, Ju = 130, zu = 16, Qu = 24, Yu = 76;
5232
+ }, Vu = "I'm having trouble right now. Please try again later.", ju = "action-search", Wu = "action-sort", Gu = "action-toggle-prompt", qu = "action-reset-prompt", ps = "sassy-saint-", Ju = "details", zu = "search", Qu = "sort", Yu = "sort-timestamp", Xu = "sort-token-usage", Zu = "private-disclosure", ed = "reasoning-disclosure", gs = "service-worker", en = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", td = 10, rd = 30, nd = "av-prompt", sd = "av-prompt-editable", id = "size-5 sm:size-4", ad = 30, od = 15, cd = 130, ld = 16, ud = 24, dd = 76;
5233
5233
  let zt = null;
5234
5234
  function Tr() {
5235
5235
  return "serviceWorker" in navigator;
5236
5236
  }
5237
- function cc() {
5237
+ function lc() {
5238
5238
  const e = localStorage.getItem(
5239
5239
  ps + gs
5240
5240
  );
5241
5241
  return e === null ? !1 : e === "true";
5242
5242
  }
5243
- function lc(e) {
5243
+ function uc(e) {
5244
5244
  localStorage.setItem(
5245
5245
  ps + gs,
5246
5246
  e.toString()
5247
5247
  );
5248
5248
  }
5249
5249
  async function bs() {
5250
- if (!cc())
5250
+ if (!lc())
5251
5251
  return !1;
5252
5252
  if (!Tr())
5253
5253
  return console.warn("[SW] Service workers not supported"), !1;
@@ -5268,7 +5268,7 @@ async function bs() {
5268
5268
  return console.error("[SW] Service worker registration failed:", e), !1;
5269
5269
  }
5270
5270
  }
5271
- async function uc() {
5271
+ async function dc() {
5272
5272
  if (!Tr())
5273
5273
  return !1;
5274
5274
  try {
@@ -5278,19 +5278,19 @@ async function uc() {
5278
5278
  return console.error("[SW] Service worker un-registration failed:", e), !1;
5279
5279
  }
5280
5280
  }
5281
- async function Xu(e) {
5282
- if (lc(e), e)
5281
+ async function fd(e) {
5282
+ if (uc(e), e)
5283
5283
  await bs();
5284
5284
  else {
5285
5285
  try {
5286
- Tr() && await dc();
5286
+ Tr() && await fc();
5287
5287
  } catch (t) {
5288
5288
  console.warn("[SW] Failed to invalidate cache:", t);
5289
5289
  }
5290
- await uc(), window.location.reload();
5290
+ await dc(), window.location.reload();
5291
5291
  }
5292
5292
  }
5293
- async function dc() {
5293
+ async function fc() {
5294
5294
  try {
5295
5295
  if ("caches" in window) {
5296
5296
  const e = await caches.keys();
@@ -5314,7 +5314,7 @@ async function dc() {
5314
5314
  }
5315
5315
  }
5316
5316
  const tn = (e) => Number.isFinite(e) ? e : 0;
5317
- function fc(e) {
5317
+ function hc(e) {
5318
5318
  return {
5319
5319
  days: Math.trunc(e / 864e5),
5320
5320
  hours: Math.trunc(e / 36e5 % 24),
@@ -5325,7 +5325,7 @@ function fc(e) {
5325
5325
  nanoseconds: Math.trunc(tn(e * 1e6) % 1e3)
5326
5326
  };
5327
5327
  }
5328
- function hc(e) {
5328
+ function mc(e) {
5329
5329
  return {
5330
5330
  days: e / 86400000n,
5331
5331
  hours: e / 3600000n % 24n,
@@ -5336,20 +5336,20 @@ function hc(e) {
5336
5336
  nanoseconds: 0n
5337
5337
  };
5338
5338
  }
5339
- function mc(e) {
5339
+ function yc(e) {
5340
5340
  switch (typeof e) {
5341
5341
  case "number": {
5342
5342
  if (Number.isFinite(e))
5343
- return fc(e);
5343
+ return hc(e);
5344
5344
  break;
5345
5345
  }
5346
5346
  case "bigint":
5347
- return hc(e);
5347
+ return mc(e);
5348
5348
  }
5349
5349
  throw new TypeError("Expected a finite number or bigint");
5350
5350
  }
5351
- const yc = (e) => e === 0 || e === 0n, pc = (e, t) => t === 1 || t === 1n ? e : `${e}s`, gc = 1e-7, bc = 24n * 60n * 60n * 1000n;
5352
- function wc(e, t) {
5351
+ const pc = (e) => e === 0 || e === 0n, gc = (e, t) => t === 1 || t === 1n ? e : `${e}s`, bc = 1e-7, wc = 24n * 60n * 60n * 1000n;
5352
+ function vc(e, t) {
5353
5353
  const r = typeof e == "bigint";
5354
5354
  if (!r && !Number.isFinite(e))
5355
5355
  throw new TypeError("Expected a finite number or bigint");
@@ -5358,18 +5358,18 @@ function wc(e, t) {
5358
5358
  e = e < 0 ? -e : e, t.colonNotation && (t.compact = !1, t.formatSubMilliseconds = !1, t.separateMilliseconds = !1, t.verbose = !1), t.compact && (t.unitCount = 1, t.secondsDecimalDigits = 0, t.millisecondsDecimalDigits = 0);
5359
5359
  let s = [];
5360
5360
  const i = (u, l) => {
5361
- const f = Math.floor(u * 10 ** l + gc);
5361
+ const f = Math.floor(u * 10 ** l + bc);
5362
5362
  return (Math.round(f) / 10 ** l).toFixed(l);
5363
5363
  }, o = (u, l, f, h) => {
5364
- if (!((s.length === 0 || !t.colonNotation) && yc(u) && !(t.colonNotation && f === "m"))) {
5364
+ if (!((s.length === 0 || !t.colonNotation) && pc(u) && !(t.colonNotation && f === "m"))) {
5365
5365
  if (h ??= String(u), t.colonNotation) {
5366
5366
  const m = h.includes(".") ? h.split(".")[0].length : h.length, p = s.length > 0 ? 2 : 1;
5367
5367
  h = "0".repeat(Math.max(0, p - m)) + h;
5368
5368
  } else
5369
- h += t.verbose ? " " + pc(l, u) : f;
5369
+ h += t.verbose ? " " + gc(l, u) : f;
5370
5370
  s.push(h);
5371
5371
  }
5372
- }, a = mc(e), c = BigInt(a.days);
5372
+ }, a = yc(e), c = BigInt(a.days);
5373
5373
  if (t.hideYearAndDays ? o(BigInt(c) * 24n + BigInt(a.hours), "hour", "h") : (t.hideYear ? o(c, "day", "d") : (o(c / 365n, "year", "y"), o(c % 365n, "day", "d")), o(Number(a.hours), "hour", "h")), o(Number(a.minutes), "minute", "m"), !t.hideSeconds)
5374
5374
  if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3) {
5375
5375
  const u = Number(a.seconds), l = Number(a.milliseconds), f = Number(a.microseconds), h = Number(a.nanoseconds);
@@ -5385,7 +5385,7 @@ function wc(e, t) {
5385
5385
  );
5386
5386
  }
5387
5387
  } else {
5388
- const u = (r ? Number(e % bc) : e) / 1e3 % 60, l = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, f = i(u, l), h = t.keepDecimalsOnWholeSeconds ? f : f.replace(/\.0+$/, "");
5388
+ const u = (r ? Number(e % wc) : e) / 1e3 % 60, l = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, f = i(u, l), h = t.keepDecimalsOnWholeSeconds ? f : f.replace(/\.0+$/, "");
5389
5389
  o(Number.parseFloat(h), "second", "s", h);
5390
5390
  }
5391
5391
  if (s.length === 0)
@@ -5401,17 +5401,17 @@ const ws = process.env.NODE_ENV === "production", Ar = !ws, vs = Ar ? "gizmette.
5401
5401
  min: s,
5402
5402
  sec: i
5403
5403
  };
5404
- }, vc = (e) => {
5404
+ }, Ec = (e) => {
5405
5405
  if (!e && e !== 0)
5406
5406
  return "N/A";
5407
5407
  const t = Ir(e, !1);
5408
5408
  return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
5409
- }, Ec = (e) => {
5409
+ }, Sc = (e) => {
5410
5410
  if (!e && e !== 0)
5411
5411
  return "N/A";
5412
5412
  const t = Ir(e, !0);
5413
5413
  return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
5414
- }, Sc = async () => {
5414
+ }, Tc = async () => {
5415
5415
  const e = {
5416
5416
  /**
5417
5417
  * A boolean value that indicates the application would
@@ -5459,18 +5459,18 @@ const ws = process.env.NODE_ENV === "production", Ar = !ws, vs = Ar ? "gizmette.
5459
5459
  e
5460
5460
  );
5461
5461
  });
5462
- }, Tc = (e) => window.btoa(
5462
+ }, Ac = (e) => window.btoa(
5463
5463
  encodeURIComponent(e).replace(
5464
5464
  /%([0-9A-F]{2})/g,
5465
5465
  function(r, n) {
5466
5466
  return String.fromCharCode(+`0x${n}`);
5467
5467
  }
5468
5468
  )
5469
- ), Ac = (e) => decodeURIComponent(
5469
+ ), Ic = (e) => decodeURIComponent(
5470
5470
  window.atob(e).split("").map(function(t) {
5471
5471
  return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
5472
5472
  }).join("")
5473
- ), Ic = (e, t, r) => t ? Object.keys(t).map((n) => /* @__PURE__ */ y("dl", { className: "my-0", children: /* @__PURE__ */ X("div", { className: "flex items-center justify-between", children: [
5473
+ ), kc = (e, t, r) => t ? Object.keys(t).map((n) => /* @__PURE__ */ y("dl", { className: "my-0", children: /* @__PURE__ */ X("div", { className: "flex items-center justify-between", children: [
5474
5474
  /* @__PURE__ */ y(
5475
5475
  "dt",
5476
5476
  {
@@ -5492,7 +5492,7 @@ const ws = process.env.NODE_ENV === "production", Ar = !ws, vs = Ar ? "gizmette.
5492
5492
  }
5493
5493
  )
5494
5494
  ] }) }, `${e}-${n}`)) : null;
5495
- function kc({
5495
+ function Oc({
5496
5496
  data: e,
5497
5497
  formatter: t = (r) => r
5498
5498
  }) {
@@ -5504,12 +5504,12 @@ function kc({
5504
5504
  );
5505
5505
  return t(n ? n / r.length : 0);
5506
5506
  }
5507
- const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Rc = new Intl.NumberFormat("en", {
5507
+ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, _c = new Intl.NumberFormat("en", {
5508
5508
  style: "decimal",
5509
5509
  signDisplay: "never",
5510
5510
  minimumFractionDigits: 0,
5511
5511
  maximumFractionDigits: 0
5512
- }), _c = (e) => e > 0 ? wc(e, {
5512
+ }), Cc = (e) => e > 0 ? vc(e, {
5513
5513
  secondsDecimalDigits: 2,
5514
5514
  unitCount: 2
5515
5515
  }) : "N/A", Es = ({
@@ -5523,18 +5523,18 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5523
5523
  t
5524
5524
  ), Ss = ({
5525
5525
  extraClass: e
5526
- } = {}) => g("px-2 sm:px-0", e), Cc = (e, t) => t === 1 ? e : `${e}s`, Nc = (e, t) => {
5526
+ } = {}) => g("px-2 sm:px-0", e), Nc = (e, t) => t === 1 ? e : `${e}s`, Pc = (e, t) => {
5527
5527
  let r;
5528
5528
  return (...n) => {
5529
5529
  window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
5530
5530
  };
5531
- }, Ts = () => !!window?.__VERSINI_CALLISTO_TAURI__, As = () => window.innerWidth < 403, Pc = () => {
5531
+ }, Ts = () => !!window?.__VERSINI_CALLISTO_TAURI__, As = () => window.innerWidth < 403, xc = () => {
5532
5532
  const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = As(), n = navigator.maxTouchPoints > 1;
5533
5533
  return e && t && r && n;
5534
- }, xc = (e) => {
5534
+ }, $c = (e) => {
5535
5535
  const t = e.replace(/([A-Z])/g, " $1");
5536
5536
  return t.charAt(0).toUpperCase() + t.slice(1);
5537
- }, $c = ({
5537
+ }, Dc = ({
5538
5538
  autoClose: e = 3e3,
5539
5539
  containerId: t,
5540
5540
  position: r = "top-center",
@@ -5558,7 +5558,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5558
5558
  theme: c,
5559
5559
  transition: d,
5560
5560
  icon: u
5561
- }), Zu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: vs, convertCamelCaseToReadable: xc, convertDDToDMS: Ir, convertLatitudeToDMS: vc, convertLongitudeToDMS: Ec, debounce: Nc, durationFormatter: _c, extractAverage: kc, getCurrentGeoLocation: Sc, getMainPaddingClass: Ss, getMessageContaintWrapperClass: Es, isDev: Ar, isLastMessageFromRole: Oc, isProbablyMobile: As, isProbablyiPhone: Pc, isProd: ws, isTauri: Ts, numberFormatter: Rc, obfuscate: Tc, pluralize: Cc, renderDataAsList: Ic, toastOptions: $c, unObfuscate: Ac }, Symbol.toStringTag, { value: "Module" })), rn = "av-button", Mt = "icon", kr = "button", mr = "link", Dc = ({
5561
+ }), hd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: vs, convertCamelCaseToReadable: $c, convertDDToDMS: Ir, convertLatitudeToDMS: Ec, convertLongitudeToDMS: Sc, debounce: Pc, durationFormatter: Cc, extractAverage: Oc, getCurrentGeoLocation: Tc, getMainPaddingClass: Ss, getMessageContaintWrapperClass: Es, isDev: Ar, isLastMessageFromRole: Rc, isProbablyMobile: As, isProbablyiPhone: xc, isProd: ws, isTauri: Ts, numberFormatter: _c, obfuscate: Ac, pluralize: Nc, renderDataAsList: kc, toastOptions: Dc, unObfuscate: Ic }, Symbol.toStringTag, { value: "Module" })), rn = "av-button", Mt = "icon", kr = "button", mr = "link", Mc = ({
5562
5562
  type: e,
5563
5563
  size: t,
5564
5564
  labelRight: r,
@@ -5594,7 +5594,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5594
5594
  "h-12": t === "large" && i && (r || n)
5595
5595
  });
5596
5596
  }
5597
- }, Mc = ({
5597
+ }, Lc = ({
5598
5598
  type: e,
5599
5599
  size: t,
5600
5600
  labelRight: r,
@@ -5617,7 +5617,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5617
5617
  [o]: t === "large" && (r || n)
5618
5618
  });
5619
5619
  }
5620
- }, Lc = ({
5620
+ }, Uc = ({
5621
5621
  mode: e,
5622
5622
  noBackground: t,
5623
5623
  truncate: r,
@@ -5653,7 +5653,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5653
5653
  return g("not-prose text-copy-lighter", {
5654
5654
  truncate: r
5655
5655
  });
5656
- }, Uc = ({
5656
+ }, Fc = ({
5657
5657
  mode: e,
5658
5658
  noBackground: t,
5659
5659
  variant: r
@@ -5683,13 +5683,13 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5683
5683
  if (r === "selected")
5684
5684
  return "bg-action-selected-dark";
5685
5685
  }
5686
- }, Fc = ({
5686
+ }, Kc = ({
5687
5687
  radius: e
5688
5688
  }) => g({
5689
5689
  "rounded-full": e === "large",
5690
5690
  "rounded-md": e === "medium",
5691
5691
  "rounded-xs": e === "small"
5692
- }), Kc = ({
5692
+ }), Hc = ({
5693
5693
  mode: e,
5694
5694
  disabled: t,
5695
5695
  variant: r
@@ -5727,7 +5727,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5727
5727
  });
5728
5728
  if (r === "selected")
5729
5729
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
5730
- }, Hc = ({
5730
+ }, Bc = ({
5731
5731
  mode: e,
5732
5732
  disabled: t,
5733
5733
  variant: r
@@ -5765,7 +5765,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5765
5765
  });
5766
5766
  if (r === "selected")
5767
5767
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
5768
- }, Bc = ({
5768
+ }, Vc = ({
5769
5769
  mode: e,
5770
5770
  noBorder: t,
5771
5771
  variant: r
@@ -5795,14 +5795,14 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5795
5795
  });
5796
5796
  if (r === "selected")
5797
5797
  return "border border-border-selected-dark";
5798
- }, Vc = ({
5798
+ }, jc = ({
5799
5799
  focusMode: e
5800
5800
  }) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
5801
5801
  "focus:outline-focus-dark": e === "dark",
5802
5802
  "focus:outline-focus-light": e === "light",
5803
5803
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
5804
5804
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
5805
- }), jc = ({
5805
+ }), Wc = ({
5806
5806
  mode: e,
5807
5807
  raw: t,
5808
5808
  iconClassName: r,
@@ -5829,7 +5829,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5829
5829
  } : n === "selected" && (s = {
5830
5830
  "text-copy-lighter": !0
5831
5831
  }), g(s, r);
5832
- }, Wc = ({
5832
+ }, Gc = ({
5833
5833
  animated: e
5834
5834
  }) => g({
5835
5835
  "transition-opacity duration-300 ease-in-out": e
@@ -5853,15 +5853,15 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5853
5853
  animated: b
5854
5854
  }) => (f || (f = "primary"), r ? g(rn, t) : g(
5855
5855
  rn,
5856
- Lc({
5856
+ Uc({
5857
5857
  mode: n,
5858
5858
  variant: f,
5859
5859
  noBackground: l,
5860
5860
  truncate: h
5861
5861
  }),
5862
- Uc({ mode: n, noBackground: l, variant: f }),
5863
- Fc({ radius: p }),
5864
- Dc({
5862
+ Fc({ mode: n, noBackground: l, variant: f }),
5863
+ Kc({ radius: p }),
5864
+ Mc({
5865
5865
  type: e,
5866
5866
  size: a,
5867
5867
  labelRight: d,
@@ -5869,11 +5869,11 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5869
5869
  align: m,
5870
5870
  animated: b
5871
5871
  }),
5872
- Mc({ type: e, size: a, labelRight: d, labelLeft: u }),
5873
- Bc({ mode: n, variant: f, noBorder: c }),
5874
- Vc({ focusMode: s }),
5875
- Kc({ mode: n, variant: f, disabled: i }),
5872
+ Lc({ type: e, size: a, labelRight: d, labelLeft: u }),
5873
+ Vc({ mode: n, variant: f, noBorder: c }),
5874
+ jc({ focusMode: s }),
5876
5875
  Hc({ mode: n, variant: f, disabled: i }),
5876
+ Bc({ mode: n, variant: f, disabled: i }),
5877
5877
  {
5878
5878
  "w-full": o,
5879
5879
  "disabled:cursor-not-allowed disabled:opacity-50": i
@@ -5882,7 +5882,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5882
5882
  "transition-[width] duration-300 ease-in": e === Mt && b
5883
5883
  }),
5884
5884
  t
5885
- )), Gc = (e, t, r) => {
5885
+ )), qc = (e, t, r) => {
5886
5886
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
5887
5887
  }, Or = fe.forwardRef((e, t) => {
5888
5888
  const { onClick: r, noInternalClick: n = !1, ...s } = e;
@@ -5891,7 +5891,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5891
5891
  {
5892
5892
  ref: t,
5893
5893
  onClick: (i) => {
5894
- Gc(i, n, r);
5894
+ qc(i, n, r);
5895
5895
  },
5896
5896
  ...s
5897
5897
  }
@@ -5941,13 +5941,13 @@ const ks = fe.forwardRef(
5941
5941
  }
5942
5942
  );
5943
5943
  ks.displayName = "Button";
5944
- function qc() {
5944
+ function Jc() {
5945
5945
  const e = W(!1);
5946
5946
  return Z(() => (e.current = !0, () => {
5947
5947
  e.current = !1;
5948
5948
  }), []), ue(() => e.current, []);
5949
5949
  }
5950
- function Jc(e) {
5950
+ function zc(e) {
5951
5951
  return Rt(() => e.every((t) => t == null) ? () => {
5952
5952
  } : (t) => {
5953
5953
  e.forEach((r) => {
@@ -5955,7 +5955,7 @@ function Jc(e) {
5955
5955
  });
5956
5956
  }, [...e]);
5957
5957
  }
5958
- const zc = {
5958
+ const Qc = {
5959
5959
  x: 0,
5960
5960
  y: 0,
5961
5961
  width: 0,
@@ -5966,7 +5966,7 @@ const zc = {
5966
5966
  right: 0
5967
5967
  };
5968
5968
  function Qt(e) {
5969
- const t = qc(), r = W(0), n = W(null), [s, i] = le(zc), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
5969
+ const t = Jc(), r = W(0), n = W(null), [s, i] = le(Qc), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
5970
5970
  const c = a[0];
5971
5971
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
5972
5972
  n.current && t() && i(c.contentRect);
@@ -5983,14 +5983,14 @@ const ut = {
5983
5983
  // w-8
5984
5984
  large: 48
5985
5985
  // w-12
5986
- }, Qc = {
5986
+ }, Yc = {
5987
5987
  small: 16,
5988
5988
  // px-2 x 2
5989
5989
  medium: 24,
5990
5990
  // px-3 x 2
5991
5991
  large: 32
5992
5992
  // px-4 x 2
5993
- }, Yc = 2, Xc = 300, kt = fe.forwardRef(
5993
+ }, Xc = 2, Zc = 300, kt = fe.forwardRef(
5994
5994
  ({
5995
5995
  children: e,
5996
5996
  disabled: t = !1,
@@ -6031,15 +6031,15 @@ const ut = {
6031
6031
  radius: b,
6032
6032
  variant: w,
6033
6033
  animated: S
6034
- }), z = jc({ mode: r, raw: a, iconClassName: k, variant: w }), L = Wc({ animated: S }), R = "flex items-center justify-center relative w-full h-full overflow-hidden", [v, N] = Qt(), [E, U] = Qt(), [me, Ae] = Qt(), T = W(0), P = W(null), A = W(null), ye = Jc([_, P]);
6034
+ }), z = Wc({ mode: r, raw: a, iconClassName: k, variant: w }), L = Gc({ animated: S }), R = "flex items-center justify-center relative w-full h-full overflow-hidden", [v, N] = Qt(), [E, U] = Qt(), [me, Ae] = Qt(), T = W(0), P = W(null), A = W(null), ye = zc([_, P]);
6035
6035
  return gt(() => {
6036
- me && me.current && S && (T.current = Ae.width + Qc[l] + (c ? 0 : Yc), P.current && !P.current.style.width && (P.current.style.width = `${ut[l]}px`));
6036
+ me && me.current && S && (T.current = Ae.width + Yc[l] + (c ? 0 : Xc), P.current && !P.current.style.width && (P.current.style.width = `${ut[l]}px`));
6037
6037
  }, [Ae, me, l, c, S]), gt(() => {
6038
6038
  if (P && P.current && S) {
6039
6039
  let pe = ut[l];
6040
6040
  f && v && N.width > 0 ? pe = N.width + T.current : h && E && U.width > 0 && (pe = U.width + T.current), A.current && clearTimeout(A.current), pe !== parseInt(P.current.style.width || "0", 10) && (v.current && (v.current.style.opacity = "0"), E.current && (E.current.style.opacity = "0"), P.current.style.width = `${pe}px`, pe > ut[l] && (A.current = setTimeout(() => {
6041
6041
  v.current && f && (v.current.style.opacity = "1"), E.current && h && (E.current.style.opacity = "1"), A.current = null;
6042
- }, Xc * 0.8))), pe === ut[l] && (v.current && (v.current.style.opacity = "0"), E.current && (E.current.style.opacity = "0"));
6042
+ }, Zc * 0.8))), pe === ut[l] && (v.current && (v.current.style.opacity = "0"), E.current && (E.current.style.opacity = "0"));
6043
6043
  }
6044
6044
  }, [
6045
6045
  N,
@@ -6116,7 +6116,7 @@ try {
6116
6116
  });
6117
6117
  } catch {
6118
6118
  }
6119
- const Zc = fe.forwardRef(
6119
+ const el = fe.forwardRef(
6120
6120
  ({
6121
6121
  children: e,
6122
6122
  mode: t = "system",
@@ -6156,13 +6156,13 @@ const Zc = fe.forwardRef(
6156
6156
  ) });
6157
6157
  }
6158
6158
  );
6159
- Zc.displayName = "ButtonSort";
6159
+ el.displayName = "ButtonSort";
6160
6160
  const pt = "av-card";
6161
- function el(e) {
6161
+ function tl(e) {
6162
6162
  const t = un();
6163
6163
  return `${e}${t}`;
6164
6164
  }
6165
- const tl = ({
6165
+ const rl = ({
6166
6166
  className: e,
6167
6167
  headerClassName: t,
6168
6168
  bodyClassName: r,
@@ -6202,7 +6202,7 @@ const tl = ({
6202
6202
  footer: u
6203
6203
  };
6204
6204
  };
6205
- function rl({
6205
+ function nl({
6206
6206
  id: e,
6207
6207
  content: t,
6208
6208
  userAriaLabelledby: r,
@@ -6210,7 +6210,7 @@ function rl({
6210
6210
  }) {
6211
6211
  return typeof t == "string" ? /* @__PURE__ */ y("h2", { id: e, className: n, children: t }) : r ? /* @__PURE__ */ y("div", { className: n, children: t }) : t ? /* @__PURE__ */ y("div", { className: n, id: e, children: t }) : null;
6212
6212
  }
6213
- const nl = ({
6213
+ const sl = ({
6214
6214
  header: e,
6215
6215
  headerClassName: t,
6216
6216
  footer: r,
@@ -6225,7 +6225,7 @@ const nl = ({
6225
6225
  ...l
6226
6226
  }) => {
6227
6227
  let f = null, h = null;
6228
- const m = typeof e == "string", p = el(pt), b = tl({
6228
+ const m = typeof e == "string", p = tl(pt), b = rl({
6229
6229
  className: i,
6230
6230
  headerClassName: t,
6231
6231
  bodyClassName: o,
@@ -6244,7 +6244,7 @@ const nl = ({
6244
6244
  ...l,
6245
6245
  children: [
6246
6246
  /* @__PURE__ */ y(
6247
- rl,
6247
+ nl,
6248
6248
  {
6249
6249
  ...f && { id: f },
6250
6250
  content: e,
@@ -6314,7 +6314,7 @@ try {
6314
6314
  });
6315
6315
  } catch {
6316
6316
  }
6317
- const sl = ({
6317
+ const il = ({
6318
6318
  className: e,
6319
6319
  viewBox: t,
6320
6320
  title: r,
@@ -6331,7 +6331,7 @@ const sl = ({
6331
6331
  ...s,
6332
6332
  children: /* @__PURE__ */ y("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" })
6333
6333
  }
6334
- ), il = ({
6334
+ ), al = ({
6335
6335
  className: e,
6336
6336
  viewBox: t,
6337
6337
  title: r,
@@ -6357,7 +6357,7 @@ const sl = ({
6357
6357
  /* @__PURE__ */ y("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" })
6358
6358
  ]
6359
6359
  }
6360
- ), al = ({
6360
+ ), ol = ({
6361
6361
  className: e,
6362
6362
  viewBox: t,
6363
6363
  title: r,
@@ -6393,7 +6393,7 @@ const sl = ({
6393
6393
  ]
6394
6394
  }
6395
6395
  );
6396
- }, ol = ({
6396
+ }, cl = ({
6397
6397
  className: e,
6398
6398
  viewBox: t,
6399
6399
  title: r,
@@ -6433,7 +6433,7 @@ try {
6433
6433
  });
6434
6434
  } catch {
6435
6435
  }
6436
- const cl = "av-main", ll = ({
6436
+ const ll = "av-main", ul = ({
6437
6437
  children: e,
6438
6438
  className: t,
6439
6439
  raw: r = !1,
@@ -6442,7 +6442,7 @@ const cl = "av-main", ll = ({
6442
6442
  ...i
6443
6443
  }) => {
6444
6444
  const o = g(
6445
- cl,
6445
+ ll,
6446
6446
  {
6447
6447
  "mt-2 sm:mt-3": !r && !n,
6448
6448
  "p-2": !r && !s,
@@ -6465,10 +6465,10 @@ try {
6465
6465
  });
6466
6466
  } catch {
6467
6467
  }
6468
- const ul = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createContext({
6468
+ const dl = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createContext({
6469
6469
  columnGap: 0,
6470
6470
  rowGap: 0
6471
- }), dl = ({
6471
+ }), fl = ({
6472
6472
  children: e,
6473
6473
  className: t,
6474
6474
  columnGap: r = 1,
@@ -6494,7 +6494,7 @@ const ul = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createCont
6494
6494
  marginLeft: r * -1 * Ot + "rem",
6495
6495
  marginTop: n * -1 * Ot + "rem"
6496
6496
  }, l = g(
6497
- ul,
6497
+ dl,
6498
6498
  "box-border flex flex-wrap"
6499
6499
  ), f = { columnGap: r, rowGap: n };
6500
6500
  return t ? /* @__PURE__ */ y("div", { className: t, children: /* @__PURE__ */ y("div", { className: l, style: u, ...d, children: /* @__PURE__ */ y(yr.Provider, { value: f, children: e }) }) }) : /* @__PURE__ */ y("div", { className: l, style: u, ...d, children: /* @__PURE__ */ y(yr.Provider, { value: f, children: e }) });
@@ -6571,7 +6571,7 @@ const ul = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createCont
6571
6571
  "lg:basis-full": e === 12 && t === "lg",
6572
6572
  "xl:basis-full": e === 12 && t === "xl",
6573
6573
  "2xl:basis-full": e === 12 && t === "2xl"
6574
- }), fl = ({
6574
+ }), hl = ({
6575
6575
  className: e,
6576
6576
  span: t
6577
6577
  }) => {
@@ -6603,7 +6603,7 @@ const ul = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createCont
6603
6603
  const { columnGap: s, rowGap: i } = gr(yr), o = {
6604
6604
  paddingLeft: s * Ot + "rem",
6605
6605
  paddingTop: i * Ot + "rem"
6606
- }, a = fl({
6606
+ }, a = hl({
6607
6607
  className: t,
6608
6608
  span: r
6609
6609
  });
@@ -6622,14 +6622,14 @@ try {
6622
6622
  });
6623
6623
  } catch {
6624
6624
  }
6625
- const Os = "av-text-input", hl = "av-text-input-wrapper", Xt = "av-text-input-helper-text";
6626
- function ml() {
6625
+ const Os = "av-text-input", ml = "av-text-input-wrapper", Xt = "av-text-input-helper-text";
6626
+ function yl() {
6627
6627
  const e = W(!1);
6628
6628
  return Z(() => (e.current = !0, () => {
6629
6629
  e.current = !1;
6630
6630
  }), []), ue(() => e.current, []);
6631
6631
  }
6632
- const yl = {
6632
+ const pl = {
6633
6633
  x: 0,
6634
6634
  y: 0,
6635
6635
  width: 0,
@@ -6639,8 +6639,8 @@ const yl = {
6639
6639
  bottom: 0,
6640
6640
  right: 0
6641
6641
  };
6642
- function pl(e) {
6643
- const t = ml(), r = W(0), n = W(null), [s, i] = le(yl), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
6642
+ function gl(e) {
6643
+ const t = yl(), r = W(0), n = W(null), [s, i] = le(pl), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
6644
6644
  const c = a[0];
6645
6645
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
6646
6646
  n.current && t() && i(c.contentRect);
@@ -6650,7 +6650,7 @@ function pl(e) {
6650
6650
  o?.disconnect(), r.current && cancelAnimationFrame(r.current);
6651
6651
  }), [o, e]), [n, s];
6652
6652
  }
6653
- function gl(e) {
6653
+ function bl(e) {
6654
6654
  const t = un();
6655
6655
  if (!e)
6656
6656
  return t;
@@ -6661,7 +6661,7 @@ function gl(e) {
6661
6661
  return typeof r == "number" || typeof r == "string" ? `${n}${r}` : `${n}${t}`;
6662
6662
  }
6663
6663
  }
6664
- const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", bl = {
6664
+ const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", wl = {
6665
6665
  alert: null,
6666
6666
  alertdialog: null,
6667
6667
  log: "polite",
@@ -6669,7 +6669,7 @@ const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", bl = {
6669
6669
  progressbar: null,
6670
6670
  status: "polite",
6671
6671
  timer: "assertive"
6672
- }, wl = (e, t) => {
6672
+ }, vl = (e, t) => {
6673
6673
  switch (t?.type) {
6674
6674
  case Rs:
6675
6675
  return {
@@ -6684,7 +6684,7 @@ const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", bl = {
6684
6684
  default:
6685
6685
  return e;
6686
6686
  }
6687
- }, vl = ({
6687
+ }, El = ({
6688
6688
  onAnnouncementClear: e,
6689
6689
  dispatch: t
6690
6690
  }) => {
@@ -6702,13 +6702,13 @@ const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", bl = {
6702
6702
  type: Rs,
6703
6703
  payload: e
6704
6704
  }), t && (r.current = setTimeout(
6705
- () => vl({
6705
+ () => El({
6706
6706
  onAnnouncementClear: n,
6707
6707
  dispatch: s
6708
6708
  }),
6709
6709
  t
6710
6710
  ));
6711
- }, El = ({
6711
+ }, Sl = ({
6712
6712
  children: e,
6713
6713
  announcementTimeoutRef: t,
6714
6714
  announcementDelay: r,
@@ -6742,12 +6742,12 @@ function Cs({
6742
6742
  visible: a,
6743
6743
  ...c
6744
6744
  }) {
6745
- const d = W(null), u = W(null), [l, f] = ln(wl, {
6745
+ const d = W(null), u = W(null), [l, f] = ln(vl, {
6746
6746
  announcement: null
6747
6747
  });
6748
6748
  let h = r;
6749
- typeof h > "u" && (h = n ? bl[n] : "assertive"), Z(() => {
6750
- El({
6749
+ typeof h > "u" && (h = n ? wl[n] : "assertive"), Z(() => {
6750
+ Sl({
6751
6751
  announcementTimeoutRef: d,
6752
6752
  announcementDelay: s,
6753
6753
  children: e,
@@ -6789,21 +6789,21 @@ try {
6789
6789
  });
6790
6790
  } catch {
6791
6791
  }
6792
- const Sl = ({
6792
+ const Tl = ({
6793
6793
  mode: e
6794
6794
  }) => g({
6795
6795
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
6796
6796
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
6797
6797
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
6798
6798
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
6799
- }), Tl = ({
6799
+ }), Al = ({
6800
6800
  focusMode: e
6801
6801
  }) => g("focus:outline focus:outline-2 focus:outline-offset-2", {
6802
6802
  "focus:outline-focus-dark": e === "dark",
6803
6803
  "focus:outline-focus-light": e === "light",
6804
6804
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
6805
6805
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
6806
- }), Al = ({
6806
+ }), Il = ({
6807
6807
  noBorder: e,
6808
6808
  error: t
6809
6809
  }) => g("border-2", {
@@ -6811,7 +6811,7 @@ const Sl = ({
6811
6811
  "focus:border-border-dark": !e && t,
6812
6812
  "border-border-error-dark": !e && t,
6813
6813
  "border-transparent": e
6814
- }), Il = ({
6814
+ }), kl = ({
6815
6815
  disabled: e,
6816
6816
  raw: t,
6817
6817
  error: r,
@@ -6835,7 +6835,7 @@ const Sl = ({
6835
6835
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": n === "system",
6836
6836
  "text-copy-lighter dark:text-copy-error-dark": n === "alt-system"
6837
6837
  });
6838
- }, kl = ({
6838
+ }, Ol = ({
6839
6839
  error: e,
6840
6840
  raw: t,
6841
6841
  mode: r,
@@ -6862,7 +6862,7 @@ const Sl = ({
6862
6862
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
6863
6863
  "dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
6864
6864
  });
6865
- }, Ol = ({
6865
+ }, Rl = ({
6866
6866
  className: e,
6867
6867
  inputClassName: t,
6868
6868
  raw: r,
@@ -6876,7 +6876,7 @@ const Sl = ({
6876
6876
  }) => {
6877
6877
  const u = r ? e : g(
6878
6878
  "relative flex w-full flex-col justify-center",
6879
- hl,
6879
+ ml,
6880
6880
  e
6881
6881
  );
6882
6882
  let l = "";
@@ -6901,19 +6901,19 @@ const Sl = ({
6901
6901
  Os,
6902
6902
  l,
6903
6903
  "rounded-md text-base px-4",
6904
- Sl({ mode: o }),
6905
- Tl({ focusMode: a }),
6906
- Al({ noBorder: s, error: i }),
6904
+ Tl({ mode: o }),
6905
+ Al({ focusMode: a }),
6906
+ Il({ noBorder: s, error: i }),
6907
6907
  {
6908
6908
  "disabled:cursor-not-allowed disabled:opacity-50": n
6909
6909
  },
6910
6910
  t
6911
- ), h = r ? void 0 : "sr-only", m = Il({
6911
+ ), h = r ? void 0 : "sr-only", m = kl({
6912
6912
  disabled: n,
6913
6913
  raw: r,
6914
6914
  error: i,
6915
6915
  mode: o
6916
- }), p = kl({
6916
+ }), p = Ol({
6917
6917
  error: i,
6918
6918
  raw: r,
6919
6919
  mode: o,
@@ -6949,13 +6949,13 @@ const Sl = ({
6949
6949
  size: w = "md",
6950
6950
  ...k
6951
6951
  }, S) => {
6952
- const [O, _] = pl(), [q, z] = le(0), L = gl({ id: e, prefix: `${Os}-` }), R = `${t} error, ${m}`, v = W(null), N = W(null), E = {
6952
+ const [O, _] = gl(), [q, z] = le(0), L = bl({ id: e, prefix: `${Os}-` }), R = `${t} error, ${m}`, v = W(null), N = W(null), E = {
6953
6953
  xs: { label: "-25px", helperText: "30px" },
6954
6954
  sm: { label: "-29px", helperText: "34px" },
6955
6955
  md: { label: "-33px", helperText: "38px" },
6956
6956
  lg: { label: "-15px", helperText: "22px" },
6957
6957
  xl: { label: "-19px", helperText: "25px" }
6958
- }, U = Ol({
6958
+ }, U = Rl({
6959
6959
  className: i,
6960
6960
  inputClassName: o,
6961
6961
  error: n,
@@ -7033,7 +7033,7 @@ const Sl = ({
7033
7033
  }
7034
7034
  );
7035
7035
  Rr.displayName = "TextInput";
7036
- function Rl(e) {
7036
+ function _l(e) {
7037
7037
  return Rt(() => e.every((t) => t == null) ? () => {
7038
7038
  } : (t) => {
7039
7039
  e.forEach((r) => {
@@ -7041,7 +7041,7 @@ function Rl(e) {
7041
7041
  });
7042
7042
  }, [...e]);
7043
7043
  }
7044
- const _l = 500, Cl = 5e3, Nl = 2e4, Ns = fe.forwardRef(
7044
+ const Cl = 500, Nl = 5e3, Pl = 2e4, Ns = fe.forwardRef(
7045
7045
  ({
7046
7046
  name: e,
7047
7047
  disabled: t,
@@ -7058,19 +7058,19 @@ const _l = 500, Cl = 5e3, Nl = 2e4, Ns = fe.forwardRef(
7058
7058
  const [f, h] = le(!0), [m, p] = le({
7059
7059
  message: null,
7060
7060
  politeness: null
7061
- }), b = W(!0), w = W(null), k = W(null), S = Rl([l, k]), O = f ? "Show" : "Hide", _ = () => {
7061
+ }), b = W(!0), w = W(null), k = W(null), S = _l([l, k]), O = f ? "Show" : "Hide", _ = () => {
7062
7062
  w.current && clearTimeout(w.current), b.current || (w.current = setTimeout(() => {
7063
7063
  b.current = !0, h(!0), p({
7064
- announcementTimeout: Cl,
7064
+ announcementTimeout: Nl,
7065
7065
  politeness: "polite",
7066
7066
  message: `${r} hiding characters`
7067
7067
  }), s && s(!0);
7068
- }, Nl));
7068
+ }, Pl));
7069
7069
  }, q = (N) => {
7070
7070
  N.preventDefault();
7071
7071
  const E = !b.current;
7072
7072
  b.current = E, _(), h(E), p({
7073
- announcementTimeout: _l,
7073
+ announcementTimeout: Cl,
7074
7074
  politeness: "assertive",
7075
7075
  message: E ? "Characters hidden" : "Characters showing"
7076
7076
  }), s && s(E);
@@ -7135,9 +7135,30 @@ try {
7135
7135
  });
7136
7136
  } catch {
7137
7137
  }
7138
- const Pl = "ASK! ME! ANYTHING!", D = "Callisto", xl = "Log in", $l = "Sign in with a Passkey", ed = "Log out", Dl = "Password", td = "Usage", rd = "Profile", nd = "Settings", sd = "Chat history", id = "About", _r = "Type your message here.", ad = _r, od = `${_r}
7139
- Press Enter to send it or Shift+Enter for new line.`, cd = `${_r}
7140
- Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "Review important details.", ud = [
7138
+ const md = "user", yd = "assistant", pd = "data", Ps = "OpenAI", xl = "Anthropic", $l = "Google", Dl = "Perplexity", gd = Ps, Ml = "claude-sonnet-4", Ll = "claude-3", Ul = "gpt-4", Fl = "o3", Kl = "o4", Hl = "gemini", Bl = "sonar", Vl = {
7139
+ [xl]: [
7140
+ Ml,
7141
+ Ll
7142
+ ],
7143
+ [Ps]: [
7144
+ Ul,
7145
+ Fl,
7146
+ Kl
7147
+ ],
7148
+ [$l]: [Hl],
7149
+ [Dl]: [Bl]
7150
+ }, jl = "sassy:advanced:reasoning", bd = {
7151
+ REASONING: jl
7152
+ }, wd = "x-callisto-chat-id", vd = (e) => {
7153
+ for (const [t, r] of Object.entries(
7154
+ Vl
7155
+ ))
7156
+ if (r.some((n) => e.startsWith(n)))
7157
+ return t;
7158
+ return null;
7159
+ }, Ed = "timestamp", Sd = "tokenUsage", D = "Callisto", Wl = "ASK! ME! ANYTHING!", Gl = "Log in", ql = "Sign in with a Passkey", Td = "Log out", Jl = "Password", Ad = "Usage", Id = "Profile", kd = "Settings", Od = "Chat history", Rd = "About", _r = "Type your message here.", _d = _r, Cd = `${_r}
7160
+ Press Enter to send it or Shift+Enter for new line.`, Nd = `${_r}
7161
+ Press Ctrl+Enter to send it or Enter for new line.`, Pd = "{{clipboard}}", M = "Review important details.", xd = [
7141
7162
  `Sometimes, ${D} just makes stuff up. ${M}`,
7142
7163
  `${D} may invent facts on the fly. ${M}`,
7143
7164
  `${D} may be confidently wrong. ${M}`,
@@ -7158,17 +7179,17 @@ Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "
7158
7179
  `Sometimes, ${D} howls at the moon. ${M}`,
7159
7180
  `${D} may dig up imaginary bones. ${M}`,
7160
7181
  `${D} may sniff out nonsense. ${M}`
7161
- ], 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.", fd = "Default provider set to", hd = "Chat successfully deleted!", md = "Chat successfully saved!", yd = "av-sassy", pd = {
7182
+ ], $d = "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.", Dd = "Default provider set to", Md = "Chat successfully deleted!", Ld = "Chat successfully saved!", Ud = "av-sassy", Fd = {
7162
7183
  0: ["January", "February", "March"],
7163
7184
  3: ["April", "May", "June"],
7164
7185
  6: ["July", "August", "September"],
7165
7186
  9: ["October", "November", "December"]
7166
- }, gd = {
7187
+ }, Kd = {
7167
7188
  0: ["Jan", "Feb", "Mar"],
7168
7189
  3: ["Apr", "May", "Jun"],
7169
7190
  6: ["Jul", "Aug", "Sep"],
7170
7191
  9: ["Oct", "Nov", "Dec"]
7171
- }, bd = {
7192
+ }, Hd = {
7172
7193
  PREFERENCES: {
7173
7194
  TITLE: "User profile",
7174
7195
  NAME: "Name",
@@ -7208,7 +7229,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "
7208
7229
  SEND_ON_ENTER: "The following option allows you to choose whether you want to send a message when you press Enter or if you want to use Ctrl+Enter (Cmd+Enter on Mac). If you choose to send a message on Enter, you will need use Shift+Enter to insert a new line.",
7209
7230
  USE_MEMORY: "The following option allows you to choose whether you want to enable memory for your chats. When enabled, Callisto will remember your previous interactions and use them to provide more relevant responses."
7210
7231
  }
7211
- }, Ml = ({ className: e }) => /* @__PURE__ */ X(
7232
+ }, zl = ({ className: e }) => /* @__PURE__ */ X(
7212
7233
  "div",
7213
7234
  {
7214
7235
  className: g(
@@ -7216,14 +7237,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "
7216
7237
  "flex items-center justify-center text-slate-300"
7217
7238
  ),
7218
7239
  children: [
7219
- /* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(sl, {}) }),
7240
+ /* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(il, {}) }),
7220
7241
  /* @__PURE__ */ X("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
7221
7242
  /* @__PURE__ */ y("h1", { children: D }),
7222
- /* @__PURE__ */ y("h2", { children: Pl })
7243
+ /* @__PURE__ */ y("h2", { children: Wl })
7223
7244
  ] })
7224
7245
  ]
7225
7246
  }
7226
- ), Ll = () => {
7247
+ ), Ql = () => {
7227
7248
  const { login: e, logoutReason: t, loginWithPasskey: r } = ys(), [n, s] = le(""), [i, o] = le(""), [a, c] = le(!0), [d, u] = le({
7228
7249
  username: "",
7229
7250
  password: ""
@@ -7237,7 +7258,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "
7237
7258
  }), Z(() => {
7238
7259
  t && o(t);
7239
7260
  }, [t]), /* @__PURE__ */ X(
7240
- ll,
7261
+ ul,
7241
7262
  {
7242
7263
  className: Ss({
7243
7264
  extraClass: "mt-5"
@@ -7251,10 +7272,10 @@ Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "
7251
7272
  className: Es({
7252
7273
  extraClass: "rounded-md"
7253
7274
  }),
7254
- children: /* @__PURE__ */ y(Ml, {})
7275
+ children: /* @__PURE__ */ y(zl, {})
7255
7276
  }
7256
7277
  ),
7257
- /* @__PURE__ */ y("form", { className: "mt-5", onSubmit: l, children: /* @__PURE__ */ y(dl, { alignHorizontal: "center", children: /* @__PURE__ */ y(Ee, { span: 6, children: /* @__PURE__ */ X(nl, { mode: "dark", children: [
7278
+ /* @__PURE__ */ y("form", { className: "mt-5", onSubmit: l, children: /* @__PURE__ */ y(fl, { alignHorizontal: "center", children: /* @__PURE__ */ y(Ee, { span: 6, children: /* @__PURE__ */ X(sl, { mode: "dark", children: [
7258
7279
  /* @__PURE__ */ y(Ee, { span: 12, className: "mt-7", children: i && /* @__PURE__ */ y("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: i }) }),
7259
7280
  /* @__PURE__ */ y(Ee, { span: 12, children: /* @__PURE__ */ y(
7260
7281
  Rr,
@@ -7288,14 +7309,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "
7288
7309
  mode: "dark",
7289
7310
  focusMode: "light",
7290
7311
  name: "password",
7291
- label: Dl,
7312
+ label: Jl,
7292
7313
  rightElement: /* @__PURE__ */ y(
7293
7314
  kt,
7294
7315
  {
7295
7316
  focusMode: "light",
7296
7317
  mode: "dark",
7297
7318
  label: a ? "Show" : "Hide",
7298
- children: a ? /* @__PURE__ */ y(ol, {}) : /* @__PURE__ */ y(il, {})
7319
+ children: a ? /* @__PURE__ */ y(cl, {}) : /* @__PURE__ */ y(al, {})
7299
7320
  }
7300
7321
  ),
7301
7322
  onMaskChange: c,
@@ -7318,7 +7339,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "
7318
7339
  noBorder: !0,
7319
7340
  type: "submit",
7320
7341
  className: "mt-7",
7321
- children: xl
7342
+ children: Gl
7322
7343
  }
7323
7344
  ) }),
7324
7345
  !Ts() && /* @__PURE__ */ X(pr, { children: [
@@ -7331,9 +7352,9 @@ Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "
7331
7352
  focusMode: "light",
7332
7353
  fullWidth: !0,
7333
7354
  className: "mb-4",
7334
- labelRight: $l,
7355
+ labelRight: ql,
7335
7356
  onClick: r,
7336
- children: /* @__PURE__ */ y(al, { size: "size-7" })
7357
+ children: /* @__PURE__ */ y(ol, { size: "size-7" })
7337
7358
  }
7338
7359
  ) })
7339
7360
  ] })
@@ -7341,19 +7362,19 @@ Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "
7341
7362
  ]
7342
7363
  }
7343
7364
  );
7344
- }, Ul = new URL(document.location.href).searchParams, an = !!Ul.get("debug") || !1, Fl = $s(() => import(
7365
+ }, Yl = new URL(document.location.href).searchParams, an = !!Yl.get("debug") || !1, Xl = Ds(() => import(
7345
7366
  /* webpackChunkName: "LazyApp" */
7346
- "./App.fCKFZhqI.js"
7347
- ).then((e) => e.App)), Kl = new ni(), on = ({
7367
+ "./App.B9gc6fg7.js"
7368
+ ).then((e) => e.App)), Zl = new si(), on = ({
7348
7369
  isComponent: e,
7349
7370
  headerHeight: t
7350
7371
  }) => {
7351
7372
  const { isAuthenticated: r, isLoading: n } = ys();
7352
- return n ? /* @__PURE__ */ y("div", {}) : r ? /* @__PURE__ */ y(xs, { fallback: /* @__PURE__ */ y("div", {}), children: /* @__PURE__ */ X(ii, { client: Kl, children: [
7353
- /* @__PURE__ */ y(Pa, {}),
7354
- /* @__PURE__ */ y(Fl, { isComponent: e, headerHeight: t })
7355
- ] }) }) : /* @__PURE__ */ y(Ll, {});
7356
- }, Hl = ({
7373
+ return n ? /* @__PURE__ */ y("div", {}) : r ? /* @__PURE__ */ y($s, { fallback: /* @__PURE__ */ y("div", {}), children: /* @__PURE__ */ X(ai, { client: Zl, children: [
7374
+ /* @__PURE__ */ y(xa, {}),
7375
+ /* @__PURE__ */ y(Xl, { isComponent: e, headerHeight: t })
7376
+ ] }) }) : /* @__PURE__ */ y(Ql, {});
7377
+ }, eu = ({
7357
7378
  isComponent: e = !1,
7358
7379
  headerHeight: t = 0,
7359
7380
  domain: r = vs
@@ -7370,8 +7391,8 @@ Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "
7370
7391
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
7371
7392
  children: /* @__PURE__ */ y(on, { isComponent: e, headerHeight: t })
7372
7393
  }
7373
- ) : /* @__PURE__ */ y(Zr, { clientId: en, domain: r, debug: an, children: /* @__PURE__ */ y(on, { isComponent: e, headerHeight: t }) })), wd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ y(
7374
- Hl,
7394
+ ) : /* @__PURE__ */ y(Zr, { clientId: en, domain: r, debug: an, children: /* @__PURE__ */ y(on, { isComponent: e, headerHeight: t }) })), Bd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ y(
7395
+ eu,
7375
7396
  {
7376
7397
  isComponent: !0,
7377
7398
  domain: e,
@@ -7379,140 +7400,153 @@ Press Ctrl+Enter to send it or Enter for new line.`, ld = "{{clipboard}}", M = "
7379
7400
  }
7380
7401
  );
7381
7402
  export {
7382
- id as ABOUT_TITLE,
7383
- Du as ACTION_RESET_PROMPT,
7384
- Pu as ACTION_SEARCH,
7385
- xu as ACTION_SORT,
7386
- $u as ACTION_TOGGLE_PROMPT,
7387
- yd as APP_CLASSNAME,
7388
- D as APP_NAME,
7403
+ Rd as ABOUT_TITLE,
7404
+ qu as ACTION_RESET_PROMPT,
7405
+ ju as ACTION_SEARCH,
7406
+ Wu as ACTION_SORT,
7407
+ Gu as ACTION_TOGGLE_PROMPT,
7408
+ Ud as APP_CLASSNAME,
7409
+ Sd as Ae,
7389
7410
  ks as C,
7390
- bd as CARDS,
7391
- ld as CLIPBOARD_PROMPT,
7392
- Wu as DEFAULT_ICON_ACTION_SIZE,
7393
- lu as Dynamic,
7394
- Nu as ERROR_MESSAGE,
7395
- ud as FOOTER_DISCLAIMERS,
7396
- eu as For,
7397
- sd as HISTORY_TITLE,
7411
+ Hd as CARDS,
7412
+ Pd as CLIPBOARD_PROMPT,
7413
+ id as DEFAULT_ICON_ACTION_SIZE,
7414
+ Su as Dynamic,
7415
+ $l as E,
7416
+ Vu as ERROR_MESSAGE,
7417
+ bd as Ee,
7418
+ xd as FOOTER_DISCLAIMERS,
7419
+ hu as For,
7420
+ Od as HISTORY_TITLE,
7398
7421
  Lt as I,
7399
- Bu as INFINITE_SCROLL_LIMIT,
7400
- Hu as INFINITE_SCROLL_THRESHOLD,
7401
- zu as INPUT_BOTTOM_OFFSET,
7402
- Yu as INPUT_BOTTOM_OFFSET_EXTRA,
7403
- Qu as INPUT_BOTTOM_OFFSET_IPHONE,
7404
- cd as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
7405
- od as INPUT_PLACEHOLDER_TEXT_ENTER,
7406
- ad as INPUT_PLACEHOLDER_TEXT_MOBILE,
7407
- tu as Index,
7408
- dl as L,
7409
- Mu as LOCAL_STORAGE_CHAT_DETAILS,
7422
+ rd as INFINITE_SCROLL_LIMIT,
7423
+ td as INFINITE_SCROLL_THRESHOLD,
7424
+ ld as INPUT_BOTTOM_OFFSET,
7425
+ dd as INPUT_BOTTOM_OFFSET_EXTRA,
7426
+ ud as INPUT_BOTTOM_OFFSET_IPHONE,
7427
+ Nd as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
7428
+ Cd as INPUT_PLACEHOLDER_TEXT_ENTER,
7429
+ _d as INPUT_PLACEHOLDER_TEXT_MOBILE,
7430
+ mu as Index,
7431
+ fl as L,
7432
+ Ju as LOCAL_STORAGE_CHAT_DETAILS,
7410
7433
  ps as LOCAL_STORAGE_PREFIX,
7411
- Fu as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
7412
- Ku as LOCAL_STORAGE_REASONING_DISCLOSURE,
7413
- Lu as LOCAL_STORAGE_SEARCH,
7434
+ Zu as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
7435
+ ed as LOCAL_STORAGE_REASONING_DISCLOSURE,
7436
+ zu as LOCAL_STORAGE_SEARCH,
7414
7437
  gs as LOCAL_STORAGE_SERVICE_WORKER,
7415
- Uu as LOCAL_STORAGE_SORT,
7416
- ed as LOG_OUT,
7417
- Ml as Logo,
7418
- su as Match,
7419
- rd as PROFILE_TITLE,
7420
- dd as PROMPTS_DESCRIPTION,
7421
- Vu as PROMPT_CLASSNAME,
7422
- ju as PROMPT_EDITABLE_AREA_CLASSNAME,
7423
- cu as Portal,
7424
- Cu as ROLE_INTERNAL,
7425
- nl as S,
7426
- nd as SETTINGS_TITLE,
7427
- wd as SassySaint,
7428
- ru as Show,
7438
+ Qu as LOCAL_STORAGE_SORT,
7439
+ Yu as LOCAL_STORAGE_SORT_TIMESTAMP,
7440
+ Xu as LOCAL_STORAGE_SORT_TOKEN_USAGE,
7441
+ Td as LOG_OUT,
7442
+ zl as Logo,
7443
+ gu as Match,
7444
+ Id as PROFILE_TITLE,
7445
+ $d as PROMPTS_DESCRIPTION,
7446
+ nd as PROMPT_CLASSNAME,
7447
+ sd as PROMPT_EDITABLE_AREA_CLASSNAME,
7448
+ Eu as Portal,
7449
+ sl as S,
7450
+ kd as SETTINGS_TITLE,
7451
+ Bd as SassySaint,
7452
+ yu as Show,
7429
7453
  _t as Subscribable,
7430
- nu as Switch,
7431
- hd as TOAST_CHAT_DELETED,
7432
- md as TOAST_CHAT_SAVED,
7433
- fd as TOAST_PROVIDER_CHANGED,
7434
- pd as TRIMESTERS,
7435
- gd as TRIMESTERS_SHORT,
7436
- qu as UI_BUTTON_SCROLL_BUFFER,
7437
- Ju as UI_DEFAULT_MAIN_HEIGHT,
7438
- Gu as UI_FOOTER_BUFFER,
7439
- td as USAGE_TITLE,
7440
- Hi as addEventListener,
7441
- ql as batch,
7442
- Ki as className,
7443
- ou as clearDelegatedEvents,
7444
- xc as convertCamelCaseToReadable,
7445
- wu as convertRemToPixels,
7446
- vi as createComponent,
7447
- oi as createComputed,
7448
- Yl as createContext,
7454
+ pu as Switch,
7455
+ Md as TOAST_CHAT_DELETED,
7456
+ Ld as TOAST_CHAT_SAVED,
7457
+ Dd as TOAST_PROVIDER_CHANGED,
7458
+ Fd as TRIMESTERS,
7459
+ Kd as TRIMESTERS_SHORT,
7460
+ od as UI_BUTTON_SCROLL_BUFFER,
7461
+ cd as UI_DEFAULT_MAIN_HEIGHT,
7462
+ ad as UI_FOOTER_BUFFER,
7463
+ Ad as USAGE_TITLE,
7464
+ Ps as a,
7465
+ Bi as addEventListener,
7466
+ au as batch,
7467
+ yd as c,
7468
+ Hi as className,
7469
+ vu as clearDelegatedEvents,
7470
+ $c as convertCamelCaseToReadable,
7471
+ Pu as convertRemToPixels,
7472
+ Ei as createComponent,
7473
+ ci as createComputed,
7474
+ uu as createContext,
7449
7475
  En as createEffect,
7450
7476
  K as createMemo,
7451
7477
  Te as createRenderEffect,
7452
7478
  Se as createRoot,
7453
7479
  Y as createSignal,
7454
- Zl as createUniqueId,
7455
- Nc as debounce,
7456
- Li as delegateEvents,
7480
+ fu as createUniqueId,
7481
+ vd as de,
7482
+ Pc as debounce,
7483
+ Ui as delegateEvents,
7457
7484
  it as deleteNestedDataByPath,
7458
- pu as displayValue,
7459
- Qs as fetchState,
7485
+ _u as displayValue,
7486
+ Ys as fetchState,
7460
7487
  fn as focusManager,
7461
- Sc as getCurrentGeoLocation,
7488
+ Tc as getCurrentGeoLocation,
7462
7489
  Ss as getMainPaddingClass,
7463
7490
  Es as getMessageContaintWrapperClass,
7464
- mu as getMutationStatusColor,
7465
- vu as getPreferredColorScheme,
7466
- hu as getQueryStatusColor,
7467
- yu as getQueryStatusColorByLabel,
7468
- du as getQueryStatusLabel,
7469
- fu as getSidedProp,
7470
- Xu as handleServiceWorkerToggle,
7491
+ Ou as getMutationStatusColor,
7492
+ xu as getPreferredColorScheme,
7493
+ ku as getQueryStatusColor,
7494
+ Ru as getQueryStatusColorByLabel,
7495
+ Au as getQueryStatusLabel,
7496
+ Iu as getSidedProp,
7497
+ fd as handleServiceWorkerToggle,
7498
+ xl as i,
7471
7499
  ar as insert,
7472
7500
  As as isProbablyMobile,
7473
- Pc as isProbablyiPhone,
7501
+ xc as isProbablyiPhone,
7474
7502
  Ct as isServer,
7475
- cc as isServiceWorkerEnabled,
7503
+ lc as isServiceWorkerEnabled,
7476
7504
  Ts as isTauri,
7477
- Ms as isValidTimeout,
7505
+ Ls as isValidTimeout,
7478
7506
  Ee as j,
7479
- al as l,
7480
- iu as memo,
7481
- Si as mergeProps,
7482
- bu as mutationSortFns,
7507
+ ol as l,
7508
+ bu as memo,
7509
+ Ti as mergeProps,
7510
+ Nu as mutationSortFns,
7483
7511
  ys as n,
7512
+ gd as ne,
7484
7513
  re as noop,
7485
7514
  Q as notifyManager,
7486
- Rc as numberFormatter,
7487
- Tc as obfuscate,
7488
- Jl as on,
7515
+ _c as numberFormatter,
7516
+ Ac as obfuscate,
7517
+ ou as on,
7489
7518
  We as onCleanup,
7490
- ui as onMount,
7491
- Rr as pe,
7492
- Ws as pendingThenable,
7493
- Cc as pluralize,
7494
- ll as r,
7495
- Ic as renderDataAsList,
7496
- Ks as replaceData,
7497
- Us as resolveEnabled,
7519
+ di as onMount,
7520
+ D as pe,
7521
+ Rr as pe$1,
7522
+ Gs as pendingThenable,
7523
+ Nc as pluralize,
7524
+ ul as r,
7525
+ pd as re,
7526
+ kc as renderDataAsList,
7527
+ Hs as replaceData,
7528
+ Fs as resolveEnabled,
7498
7529
  Zt as resolveStaleTime,
7499
- Ia as serialize,
7530
+ md as s,
7531
+ ka as serialize,
7500
7532
  ir as setAttribute,
7501
- Wl as shallowEqualObjects,
7502
- Gl as shouldThrowError,
7503
- gu as sortFns,
7504
- Ti as splitProps,
7505
- ji as spread,
7506
- uu as stringify,
7507
- au as template,
7508
- Ls as timeUntilStale,
7533
+ su as shallowEqualObjects,
7534
+ iu as shouldThrowError,
7535
+ Cu as sortFns,
7536
+ Ai as splitProps,
7537
+ Wi as spread,
7538
+ Tu as stringify,
7539
+ wu as template,
7540
+ Us as timeUntilStale,
7509
7541
  kt as ue,
7510
- Ac as unObfuscate,
7542
+ Ed as ue$1,
7543
+ Ic as unObfuscate,
7511
7544
  G as untrack,
7512
7545
  st as updateNestedDataByPath,
7513
- Wi as use,
7514
- Xl as useContext,
7515
- si as useQueryClient,
7516
- Ql as useTransition,
7517
- Zu as utilities
7546
+ Gi as use,
7547
+ du as useContext,
7548
+ ii as useQueryClient,
7549
+ lu as useTransition,
7550
+ hd as utilities,
7551
+ wd as ye
7518
7552
  };