@versini/sassysaint 8.86.3 → 8.86.5

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 (26) hide show
  1. package/dist/chunks/{AboutChangelog.D9C-crhs.js → AboutChangelog.CM66Cuz5.js} +3 -3
  2. package/dist/chunks/{AboutEntry.gb7T1uuv.js → AboutEntry.CsOUdeEV.js} +5 -5
  3. package/dist/chunks/{App.CPKurvKa.js → App.D_iFRMLf.js} +1709 -1709
  4. package/dist/chunks/{Chart.Dacr0Jha.js → Chart.8PPjzOuY.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.C2UUgbz_.js → ChatBubbleAssistant.SxsyvdYL.js} +4 -4
  6. package/dist/chunks/{ChatBubbleUser.CmXTMoUW.js → ChatBubbleUser.B_IEdcHh.js} +3 -3
  7. package/dist/chunks/{ChatHistoryTable.C2lH7ZKm.js → ChatHistoryTable.DUT0cDwM.js} +12 -12
  8. package/dist/chunks/{HistoryEntry.BhvcvUpR.js → HistoryEntry.DEqCXfTT.js} +12 -12
  9. package/dist/chunks/{ProfileEntry.BpXmORNo.js → ProfileEntry.beqNU9mV.js} +2 -2
  10. package/dist/chunks/{SettingsEntry.BCLV0zJx.js → SettingsEntry.CvCSViBG.js} +12 -12
  11. package/dist/chunks/{UsageEntry.6uxxvwlH.js → UsageEntry.BRc8Dwju.js} +3 -3
  12. package/dist/chunks/{UserMemoriesPanel.Ck4JMobB.js → UserMemoriesPanel.C-q9BDlt.js} +4 -4
  13. package/dist/chunks/{index.Co-p3lu_.js → index.BGfdK1Xh.js} +3 -3
  14. package/dist/chunks/{index.CT4gidiF.js → index.C1axFxmg.js} +1 -1
  15. package/dist/chunks/{index.7N6yJRxV.js → index.CDOLGb1m.js} +1 -1
  16. package/dist/chunks/{index.WW9JCvG2.js → index.CNI8qGE8.js} +2 -2
  17. package/dist/chunks/{index.Bm-jT2Wc.js → index.CfcT8EJN.js} +1 -1
  18. package/dist/chunks/{index.OitGR2Vu.js → index.MtERtcBe.js} +1 -1
  19. package/dist/chunks/{index.CKFbvzVG.js → index.N_iZXVIM.js} +1 -1
  20. package/dist/chunks/{index.D59YiPiD.js → index.hYRQ73VW.js} +1 -1
  21. package/dist/chunks/{index.Cep-48BX.js → index.loAJfDQP.js} +942 -946
  22. package/dist/chunks/{useMarkdown.wW6OCwOp.js → useMarkdown.C8Ld0UdN.js} +6 -6
  23. package/dist/components/SassySaint/SassySaint.js +1 -1
  24. package/dist/index.js +4 -4
  25. package/dist/style.css +2 -2
  26. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
- import { jsx as c, jsxs as E, Fragment as Gr } from "react/jsx-runtime";
1
+ import { jsx as c, jsxs as E, Fragment as Vr } from "react/jsx-runtime";
2
2
  import * as Q from "react";
3
- import Z, { createContext as Kt, useReducer as zr, useCallback as N, useRef as F, useEffect as A, useSyncExternalStore as Vt, useContext as Ge, useState as Y, useMemo as He, useId as rn, useLayoutEffect as st, Suspense as sn, lazy as nn } from "react";
3
+ import Z, { createContext as Kt, useReducer as Gr, useCallback as N, useRef as F, useEffect as R, useSyncExternalStore as Vt, useContext as Ge, useState as Y, useMemo as He, useId as tn, useLayoutEffect as st, Suspense as rn, lazy as sn } from "react";
4
4
  import y from "clsx";
5
5
  var Le = class {
6
6
  constructor() {
@@ -18,7 +18,7 @@ var Le = class {
18
18
  }
19
19
  onUnsubscribe() {
20
20
  }
21
- }, an = {
21
+ }, nn = {
22
22
  // We need the wrapper function syntax below instead of direct references to
23
23
  // global setTimeout etc.
24
24
  //
@@ -33,14 +33,14 @@ var Le = class {
33
33
  clearTimeout: (e) => clearTimeout(e),
34
34
  setInterval: (e, t) => setInterval(e, t),
35
35
  clearInterval: (e) => clearInterval(e)
36
- }, on = class {
36
+ }, an = class {
37
37
  // We cannot have TimeoutManager<T> as we must instantiate it with a concrete
38
38
  // type at app boot; and if we leave that type, then any new timer provider
39
39
  // would need to support ReturnType<typeof setTimeout>, which is infeasible.
40
40
  //
41
41
  // We settle for type safety for the TimeoutProvider type, and accept that
42
42
  // this class is unsafe internally to allow for extension.
43
- #e = an;
43
+ #e = nn;
44
44
  #t = !1;
45
45
  setTimeoutProvider(e) {
46
46
  process.env.NODE_ENV !== "production" && this.#t && e !== this.#e && console.error(
@@ -60,20 +60,20 @@ var Le = class {
60
60
  clearInterval(e) {
61
61
  this.#e.clearInterval(e);
62
62
  }
63
- }, be = new on();
64
- function cn(e) {
63
+ }, be = new an();
64
+ function on(e) {
65
65
  setTimeout(e, 0);
66
66
  }
67
67
  var ve = typeof window > "u" || "Deno" in globalThis;
68
68
  function X() {
69
69
  }
70
- function ln(e, t) {
70
+ function cn(e, t) {
71
71
  return typeof e == "function" ? e(t) : e;
72
72
  }
73
- function Pt(e) {
73
+ function Mt(e) {
74
74
  return typeof e == "number" && e >= 0 && e !== 1 / 0;
75
75
  }
76
- function qr(e, t) {
76
+ function zr(e, t) {
77
77
  return Math.max(e + (t || 0) - Date.now(), 0);
78
78
  }
79
79
  function Ee(e, t) {
@@ -82,7 +82,7 @@ function Ee(e, t) {
82
82
  function te(e, t) {
83
83
  return typeof e == "function" ? e(t) : e;
84
84
  }
85
- function or(e, t) {
85
+ function ir(e, t) {
86
86
  const {
87
87
  type: r = "all",
88
88
  exact: s,
@@ -105,7 +105,7 @@ function or(e, t) {
105
105
  }
106
106
  return !(typeof o == "boolean" && t.isStale() !== o || n && n !== t.state.fetchStatus || a && !a(t));
107
107
  }
108
- function cr(e, t) {
108
+ function or(e, t) {
109
109
  const { exact: r, status: s, predicate: n, mutationKey: a } = e;
110
110
  if (a) {
111
111
  if (!t.options.mutationKey)
@@ -130,25 +130,25 @@ function Te(e) {
130
130
  function Fe(e, t) {
131
131
  return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((r) => Fe(e[r], t[r])) : !1;
132
132
  }
133
- var un = Object.prototype.hasOwnProperty;
134
- function Mt(e, t) {
133
+ var ln = Object.prototype.hasOwnProperty;
134
+ function Pt(e, t) {
135
135
  if (e === t)
136
136
  return e;
137
- const r = lr(e) && lr(t);
137
+ const r = cr(e) && cr(t);
138
138
  if (!r && !(Nt(e) && Nt(t))) return t;
139
139
  const n = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), i = a.length, o = r ? new Array(i) : {};
140
140
  let l = 0;
141
141
  for (let f = 0; f < i; f++) {
142
142
  const d = r ? f : a[f], h = e[d], u = t[d];
143
143
  if (h === u) {
144
- o[d] = h, (r ? f < n : un.call(e, d)) && l++;
144
+ o[d] = h, (r ? f < n : ln.call(e, d)) && l++;
145
145
  continue;
146
146
  }
147
147
  if (h === null || u === null || typeof h != "object" || typeof u != "object") {
148
148
  o[d] = u;
149
149
  continue;
150
150
  }
151
- const p = Mt(h, u);
151
+ const p = Pt(h, u);
152
152
  o[d] = p, p === h && l++;
153
153
  }
154
154
  return n === i && l === n ? e : o;
@@ -161,22 +161,22 @@ function nt(e, t) {
161
161
  return !1;
162
162
  return !0;
163
163
  }
164
- function lr(e) {
164
+ function cr(e) {
165
165
  return Array.isArray(e) && e.length === Object.keys(e).length;
166
166
  }
167
167
  function Nt(e) {
168
- if (!ur(e))
168
+ if (!lr(e))
169
169
  return !1;
170
170
  const t = e.constructor;
171
171
  if (t === void 0)
172
172
  return !0;
173
173
  const r = t.prototype;
174
- return !(!ur(r) || !r.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
174
+ return !(!lr(r) || !r.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
175
175
  }
176
- function ur(e) {
176
+ function lr(e) {
177
177
  return Object.prototype.toString.call(e) === "[object Object]";
178
178
  }
179
- function dn(e) {
179
+ function un(e) {
180
180
  return new Promise((t) => {
181
181
  be.setTimeout(t, e);
182
182
  });
@@ -187,34 +187,34 @@ function xt(e, t, r) {
187
187
  if (r.structuralSharing !== !1) {
188
188
  if (process.env.NODE_ENV !== "production")
189
189
  try {
190
- return Mt(e, t);
190
+ return Pt(e, t);
191
191
  } catch (s) {
192
192
  throw console.error(
193
193
  `Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${s}`
194
194
  ), s;
195
195
  }
196
- return Mt(e, t);
196
+ return Pt(e, t);
197
197
  }
198
198
  return t;
199
199
  }
200
- function hn(e, t, r = 0) {
200
+ function dn(e, t, r = 0) {
201
201
  const s = [...e, t];
202
202
  return r && s.length > r ? s.slice(1) : s;
203
203
  }
204
- function fn(e, t, r = 0) {
204
+ function hn(e, t, r = 0) {
205
205
  const s = [t, ...e];
206
206
  return r && s.length > r ? s.slice(0, -1) : s;
207
207
  }
208
208
  var at = Symbol();
209
- function Wr(e, t) {
209
+ function qr(e, t) {
210
210
  return process.env.NODE_ENV !== "production" && e.queryFn === at && console.error(
211
211
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
212
212
  ), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === at ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
213
213
  }
214
- function jr(e, t) {
214
+ function Wr(e, t) {
215
215
  return typeof e == "function" ? e(...t) : !!e;
216
216
  }
217
- var pn = class extends Le {
217
+ var fn = class extends Le {
218
218
  #e;
219
219
  #t;
220
220
  #r;
@@ -251,7 +251,7 @@ var pn = class extends Le {
251
251
  isFocused() {
252
252
  return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
253
253
  }
254
- }, zt = new pn();
254
+ }, zt = new fn();
255
255
  function Lt() {
256
256
  let e, t;
257
257
  const r = new Promise((n, a) => {
@@ -274,13 +274,13 @@ function Lt() {
274
274
  }), t(n);
275
275
  }, r;
276
276
  }
277
- var mn = cn;
278
- function yn() {
277
+ var pn = on;
278
+ function mn() {
279
279
  let e = [], t = 0, r = (o) => {
280
280
  o();
281
281
  }, s = (o) => {
282
282
  o();
283
- }, n = mn;
283
+ }, n = pn;
284
284
  const a = (o) => {
285
285
  t ? e.push(o) : n(() => {
286
286
  r(o);
@@ -334,7 +334,7 @@ function yn() {
334
334
  }
335
335
  };
336
336
  }
337
- var H = yn(), gn = class extends Le {
337
+ var H = mn(), yn = class extends Le {
338
338
  #e = !0;
339
339
  #t;
340
340
  #r;
@@ -365,11 +365,11 @@ var H = yn(), gn = class extends Le {
365
365
  isOnline() {
366
366
  return this.#e;
367
367
  }
368
- }, it = new gn();
369
- function En(e) {
368
+ }, it = new yn();
369
+ function gn(e) {
370
370
  return Math.min(1e3 * 2 ** e, 3e4);
371
371
  }
372
- function Qr(e) {
372
+ function jr(e) {
373
373
  return (e ?? "online") === "online" ? it.isOnline() : !0;
374
374
  }
375
375
  var Dt = class extends Error {
@@ -377,7 +377,7 @@ var Dt = class extends Error {
377
377
  super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
378
378
  }
379
379
  };
380
- function Jr(e) {
380
+ function Qr(e) {
381
381
  let t = !1, r = 0, s;
382
382
  const n = Lt(), a = () => n.status !== "pending", i = (g) => {
383
383
  if (!a()) {
@@ -388,7 +388,7 @@ function Jr(e) {
388
388
  t = !0;
389
389
  }, l = () => {
390
390
  t = !1;
391
- }, f = () => zt.isFocused() && (e.networkMode === "always" || it.isOnline()) && e.canRun(), d = () => Qr(e.networkMode) && e.canRun(), h = (g) => {
391
+ }, f = () => zt.isFocused() && (e.networkMode === "always" || it.isOnline()) && e.canRun(), d = () => jr(e.networkMode) && e.canRun(), h = (g) => {
392
392
  a() || (s?.(), n.resolve(g));
393
393
  }, u = (g) => {
394
394
  a() || (s?.(), n.reject(g));
@@ -411,12 +411,12 @@ function Jr(e) {
411
411
  Promise.resolve(g).then(h).catch((b) => {
412
412
  if (a())
413
413
  return;
414
- const x = e.retry ?? (ve ? 0 : 3), R = e.retryDelay ?? En, J = typeof R == "function" ? R(r, b) : R, P = x === !0 || typeof x == "number" && r < x || typeof x == "function" && x(r, b);
415
- if (t || !P) {
414
+ const x = e.retry ?? (ve ? 0 : 3), C = e.retryDelay ?? gn, J = typeof C == "function" ? C(r, b) : C, M = x === !0 || typeof x == "number" && r < x || typeof x == "function" && x(r, b);
415
+ if (t || !M) {
416
416
  u(b);
417
417
  return;
418
418
  }
419
- r++, e.onFail?.(r, b), dn(J).then(() => f() ? void 0 : p()).then(() => {
419
+ r++, e.onFail?.(r, b), un(J).then(() => f() ? void 0 : p()).then(() => {
420
420
  t ? u(b) : m();
421
421
  });
422
422
  });
@@ -432,13 +432,13 @@ function Jr(e) {
432
432
  start: () => (d() ? m() : p().then(m), n)
433
433
  };
434
434
  }
435
- var Yr = class {
435
+ var Jr = class {
436
436
  #e;
437
437
  destroy() {
438
438
  this.clearGcTimeout();
439
439
  }
440
440
  scheduleGc() {
441
- this.clearGcTimeout(), Pt(this.gcTime) && (this.#e = be.setTimeout(() => {
441
+ this.clearGcTimeout(), Mt(this.gcTime) && (this.#e = be.setTimeout(() => {
442
442
  this.optionalRemove();
443
443
  }, this.gcTime));
444
444
  }
@@ -451,7 +451,7 @@ var Yr = class {
451
451
  clearGcTimeout() {
452
452
  this.#e && (be.clearTimeout(this.#e), this.#e = void 0);
453
453
  }
454
- }, wn = class extends Yr {
454
+ }, En = class extends Jr {
455
455
  #e;
456
456
  #t;
457
457
  #r;
@@ -460,7 +460,7 @@ var Yr = class {
460
460
  #i;
461
461
  #o;
462
462
  constructor(e) {
463
- super(), this.#o = !1, this.#i = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#n = e.client, this.#r = this.#n.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = hr(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
463
+ super(), this.#o = !1, this.#i = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#n = e.client, this.#r = this.#n.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = dr(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
464
464
  }
465
465
  get meta() {
466
466
  return this.options.meta;
@@ -470,9 +470,9 @@ var Yr = class {
470
470
  }
471
471
  setOptions(e) {
472
472
  if (this.options = { ...this.#i, ...e }, this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
473
- const t = hr(this.options);
473
+ const t = dr(this.options);
474
474
  t.data !== void 0 && (this.setState(
475
- dr(t.data, t.dataUpdatedAt)
475
+ ur(t.data, t.dataUpdatedAt)
476
476
  ), this.#e = t);
477
477
  }
478
478
  }
@@ -520,7 +520,7 @@ var Yr = class {
520
520
  ) : this.state.data === void 0 || this.state.isInvalidated;
521
521
  }
522
522
  isStaleByTime(e = 0) {
523
- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !qr(this.state.dataUpdatedAt, e);
523
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !zr(this.state.dataUpdatedAt, e);
524
524
  }
525
525
  onFocus() {
526
526
  this.observers.find((t) => t.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#s?.continue();
@@ -563,7 +563,7 @@ var Yr = class {
563
563
  get: () => (this.#o = !0, r.signal)
564
564
  });
565
565
  }, n = () => {
566
- const o = Wr(this.options, t), f = (() => {
566
+ const o = qr(this.options, t), f = (() => {
567
567
  const d = {
568
568
  client: this.#n,
569
569
  queryKey: this.queryKey,
@@ -587,7 +587,7 @@ var Yr = class {
587
587
  };
588
588
  return s(o), o;
589
589
  })();
590
- this.options.behavior?.onFetch(i, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== i.fetchOptions?.meta) && this.#a({ type: "fetch", meta: i.fetchOptions?.meta }), this.#s = Jr({
590
+ this.options.behavior?.onFetch(i, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== i.fetchOptions?.meta) && this.#a({ type: "fetch", meta: i.fetchOptions?.meta }), this.#s = Qr({
591
591
  initialPromise: t?.initialPromise,
592
592
  fn: i.fetchFn,
593
593
  onCancel: (o) => {
@@ -668,13 +668,13 @@ var Yr = class {
668
668
  case "fetch":
669
669
  return {
670
670
  ...r,
671
- ...Xr(r.data, this.options),
671
+ ...Yr(r.data, this.options),
672
672
  fetchMeta: e.meta ?? null
673
673
  };
674
674
  case "success":
675
675
  const s = {
676
676
  ...r,
677
- ...dr(e.data, e.dataUpdatedAt),
677
+ ...ur(e.data, e.dataUpdatedAt),
678
678
  dataUpdateCount: r.dataUpdateCount + 1,
679
679
  ...!e.manual && {
680
680
  fetchStatus: "idle",
@@ -714,18 +714,18 @@ var Yr = class {
714
714
  });
715
715
  }
716
716
  };
717
- function Xr(e, t) {
717
+ function Yr(e, t) {
718
718
  return {
719
719
  fetchFailureCount: 0,
720
720
  fetchFailureReason: null,
721
- fetchStatus: Qr(t.networkMode) ? "fetching" : "paused",
721
+ fetchStatus: jr(t.networkMode) ? "fetching" : "paused",
722
722
  ...e === void 0 && {
723
723
  error: null,
724
724
  status: "pending"
725
725
  }
726
726
  };
727
727
  }
728
- function dr(e, t) {
728
+ function ur(e, t) {
729
729
  return {
730
730
  data: e,
731
731
  dataUpdatedAt: t ?? Date.now(),
@@ -734,7 +734,7 @@ function dr(e, t) {
734
734
  status: "success"
735
735
  };
736
736
  }
737
- function hr(e) {
737
+ function dr(e) {
738
738
  const t = typeof e.initialData == "function" ? e.initialData() : e.initialData, r = t !== void 0, s = r ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
739
739
  return {
740
740
  data: t,
@@ -751,7 +751,7 @@ function hr(e) {
751
751
  fetchStatus: "idle"
752
752
  };
753
753
  }
754
- var Sn = class extends Le {
754
+ var wn = class extends Le {
755
755
  constructor(e, t) {
756
756
  super(), this.options = t, this.#e = e, this.#a = null, this.#o = Lt(), this.bindMethods(), this.setOptions(t);
757
757
  }
@@ -776,7 +776,7 @@ var Sn = class extends Le {
776
776
  this.refetch = this.refetch.bind(this);
777
777
  }
778
778
  onSubscribe() {
779
- this.listeners.size === 1 && (this.#t.addObserver(this), fr(this.#t, this.options) ? this.#d() : this.updateResult(), this.#w());
779
+ this.listeners.size === 1 && (this.#t.addObserver(this), hr(this.#t, this.options) ? this.#d() : this.updateResult(), this.#w());
780
780
  }
781
781
  onUnsubscribe() {
782
782
  this.hasListeners() || this.destroy();
@@ -810,7 +810,7 @@ var Sn = class extends Le {
810
810
  observer: this
811
811
  });
812
812
  const s = this.hasListeners();
813
- s && pr(
813
+ s && fr(
814
814
  this.#t,
815
815
  r,
816
816
  this.options,
@@ -821,7 +821,7 @@ var Sn = class extends Le {
821
821
  }
822
822
  getOptimisticResult(e) {
823
823
  const t = this.#e.getQueryCache().build(this.#e, e), r = this.createResult(t, e);
824
- return vn(this, r) && (this.#n = r, this.#i = this.options, this.#s = this.#t.state), r;
824
+ return bn(this, r) && (this.#n = r, this.#i = this.options, this.#s = this.#t.state), r;
825
825
  }
826
826
  getCurrentResult() {
827
827
  return this.#n;
@@ -870,9 +870,9 @@ var Sn = class extends Le {
870
870
  this.options.staleTime,
871
871
  this.#t
872
872
  );
873
- if (ve || this.#n.isStale || !Pt(e))
873
+ if (ve || this.#n.isStale || !Mt(e))
874
874
  return;
875
- const r = qr(this.#n.dataUpdatedAt, e) + 1;
875
+ const r = zr(this.#n.dataUpdatedAt, e) + 1;
876
876
  this.#l = be.setTimeout(() => {
877
877
  this.#n.isStale || this.updateResult();
878
878
  }, r);
@@ -881,7 +881,7 @@ var Sn = class extends Le {
881
881
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
882
882
  }
883
883
  #E(e) {
884
- this.#b(), this.#c = e, !(ve || te(this.options.enabled, this.#t) === !1 || !Pt(this.#c) || this.#c === 0) && (this.#u = be.setInterval(() => {
884
+ this.#b(), this.#c = e, !(ve || te(this.options.enabled, this.#t) === !1 || !Mt(this.#c) || this.#c === 0) && (this.#u = be.setInterval(() => {
885
885
  (this.options.refetchIntervalInBackground || zt.isFocused()) && this.#d();
886
886
  }, this.#c));
887
887
  }
@@ -898,10 +898,10 @@ var Sn = class extends Le {
898
898
  const r = this.#t, s = this.options, n = this.#n, a = this.#s, i = this.#i, l = e !== r ? e.state : this.#r, { state: f } = e;
899
899
  let d = { ...f }, h = !1, u;
900
900
  if (t._optimisticResults) {
901
- const I = this.hasListeners(), V = !I && fr(e, t), O = I && pr(e, r, t, s);
902
- (V || O) && (d = {
901
+ const I = this.hasListeners(), V = !I && hr(e, t), k = I && fr(e, r, t, s);
902
+ (V || k) && (d = {
903
903
  ...d,
904
- ...Xr(f.data, e.options)
904
+ ...Yr(f.data, e.options)
905
905
  }), t._optimisticResults === "isRestoring" && (d.fetchStatus = "idle");
906
906
  }
907
907
  let { error: p, errorUpdatedAt: m, status: g } = d;
@@ -928,12 +928,12 @@ var Sn = class extends Le {
928
928
  this.#a = I;
929
929
  }
930
930
  this.#a && (p = this.#a, u = this.#h, m = Date.now(), g = "error");
931
- const b = d.fetchStatus === "fetching", x = g === "pending", R = g === "error", J = x && b, P = u !== void 0, M = {
931
+ const b = d.fetchStatus === "fetching", x = g === "pending", C = g === "error", J = x && b, M = u !== void 0, P = {
932
932
  status: g,
933
933
  fetchStatus: d.fetchStatus,
934
934
  isPending: x,
935
935
  isSuccess: g === "success",
936
- isError: R,
936
+ isError: C,
937
937
  isInitialLoading: J,
938
938
  isLoading: J,
939
939
  data: u,
@@ -947,35 +947,35 @@ var Sn = class extends Le {
947
947
  isFetchedAfterMount: d.dataUpdateCount > l.dataUpdateCount || d.errorUpdateCount > l.errorUpdateCount,
948
948
  isFetching: b,
949
949
  isRefetching: b && !x,
950
- isLoadingError: R && !P,
950
+ isLoadingError: C && !M,
951
951
  isPaused: d.fetchStatus === "paused",
952
952
  isPlaceholderData: h,
953
- isRefetchError: R && P,
953
+ isRefetchError: C && M,
954
954
  isStale: qt(e, t),
955
955
  refetch: this.refetch,
956
956
  promise: this.#o,
957
957
  isEnabled: te(t.enabled, e) !== !1
958
958
  };
959
959
  if (this.options.experimental_prefetchInRender) {
960
- const I = (C) => {
961
- M.status === "error" ? C.reject(M.error) : M.data !== void 0 && C.resolve(M.data);
960
+ const I = (O) => {
961
+ P.status === "error" ? O.reject(P.error) : P.data !== void 0 && O.resolve(P.data);
962
962
  }, V = () => {
963
- const C = this.#o = M.promise = Lt();
964
- I(C);
965
- }, O = this.#o;
966
- switch (O.status) {
963
+ const O = this.#o = P.promise = Lt();
964
+ I(O);
965
+ }, k = this.#o;
966
+ switch (k.status) {
967
967
  case "pending":
968
- e.queryHash === r.queryHash && I(O);
968
+ e.queryHash === r.queryHash && I(k);
969
969
  break;
970
970
  case "fulfilled":
971
- (M.status === "error" || M.data !== O.value) && V();
971
+ (P.status === "error" || P.data !== k.value) && V();
972
972
  break;
973
973
  case "rejected":
974
- (M.status !== "error" || M.error !== O.reason) && V();
974
+ (P.status !== "error" || P.error !== k.reason) && V();
975
975
  break;
976
976
  }
977
977
  }
978
- return M;
978
+ return P;
979
979
  }
980
980
  updateResult() {
981
981
  const e = this.#n, t = this.createResult(this.#t, this.options);
@@ -1019,11 +1019,11 @@ var Sn = class extends Le {
1019
1019
  });
1020
1020
  }
1021
1021
  };
1022
- function bn(e, t) {
1022
+ function Sn(e, t) {
1023
1023
  return te(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
1024
1024
  }
1025
- function fr(e, t) {
1026
- return bn(e, t) || e.state.data !== void 0 && $t(e, t, t.refetchOnMount);
1025
+ function hr(e, t) {
1026
+ return Sn(e, t) || e.state.data !== void 0 && $t(e, t, t.refetchOnMount);
1027
1027
  }
1028
1028
  function $t(e, t, r) {
1029
1029
  if (te(t.enabled, e) !== !1 && Ee(t.staleTime, e) !== "static") {
@@ -1032,16 +1032,16 @@ function $t(e, t, r) {
1032
1032
  }
1033
1033
  return !1;
1034
1034
  }
1035
- function pr(e, t, r, s) {
1035
+ function fr(e, t, r, s) {
1036
1036
  return (e !== t || te(s.enabled, e) === !1) && (!r.suspense || e.state.status !== "error") && qt(e, r);
1037
1037
  }
1038
1038
  function qt(e, t) {
1039
1039
  return te(t.enabled, e) !== !1 && e.isStaleByTime(Ee(t.staleTime, e));
1040
1040
  }
1041
- function vn(e, t) {
1041
+ function bn(e, t) {
1042
1042
  return !nt(e.getCurrentResult(), t);
1043
1043
  }
1044
- function mr(e) {
1044
+ function pr(e) {
1045
1045
  return {
1046
1046
  onFetch: (t, r) => {
1047
1047
  const s = t.options, n = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], i = t.state.data?.pageParams || [];
@@ -1055,7 +1055,7 @@ function mr(e) {
1055
1055
  d = !0;
1056
1056
  }), t.signal)
1057
1057
  });
1058
- }, u = Wr(t.options, t.fetchOptions), p = async (m, g, w) => {
1058
+ }, u = qr(t.options, t.fetchOptions), p = async (m, g, w) => {
1059
1059
  if (d)
1060
1060
  return Promise.reject();
1061
1061
  if (g == null && m.pages.length)
@@ -1069,14 +1069,14 @@ function mr(e) {
1069
1069
  meta: t.options.meta
1070
1070
  };
1071
1071
  return h(re), re;
1072
- })(), R = await u(x), { maxPages: J } = t.options, P = w ? fn : hn;
1072
+ })(), C = await u(x), { maxPages: J } = t.options, M = w ? hn : dn;
1073
1073
  return {
1074
- pages: P(m.pages, R, J),
1075
- pageParams: P(m.pageParams, g, J)
1074
+ pages: M(m.pages, C, J),
1075
+ pageParams: M(m.pageParams, g, J)
1076
1076
  };
1077
1077
  };
1078
1078
  if (n && a.length) {
1079
- const m = n === "backward", g = m ? Tn : yr, w = {
1079
+ const m = n === "backward", g = m ? vn : mr, w = {
1080
1080
  pages: a,
1081
1081
  pageParams: i
1082
1082
  }, b = g(s, w);
@@ -1084,7 +1084,7 @@ function mr(e) {
1084
1084
  } else {
1085
1085
  const m = e ?? a.length;
1086
1086
  do {
1087
- const g = l === 0 ? i[0] ?? s.initialPageParam : yr(s, o);
1087
+ const g = l === 0 ? i[0] ?? s.initialPageParam : mr(s, o);
1088
1088
  if (l > 0 && g == null)
1089
1089
  break;
1090
1090
  o = await p(o, g), l++;
@@ -1105,7 +1105,7 @@ function mr(e) {
1105
1105
  }
1106
1106
  };
1107
1107
  }
1108
- function yr(e, { pages: t, pageParams: r }) {
1108
+ function mr(e, { pages: t, pageParams: r }) {
1109
1109
  const s = t.length - 1;
1110
1110
  return t.length > 0 ? e.getNextPageParam(
1111
1111
  t[s],
@@ -1114,16 +1114,16 @@ function yr(e, { pages: t, pageParams: r }) {
1114
1114
  r
1115
1115
  ) : void 0;
1116
1116
  }
1117
- function Tn(e, { pages: t, pageParams: r }) {
1117
+ function vn(e, { pages: t, pageParams: r }) {
1118
1118
  return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, r[0], r) : void 0;
1119
1119
  }
1120
- var In = class extends Yr {
1120
+ var Tn = class extends Jr {
1121
1121
  #e;
1122
1122
  #t;
1123
1123
  #r;
1124
1124
  #n;
1125
1125
  constructor(e) {
1126
- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#r = e.mutationCache, this.#t = [], this.state = e.state || Zr(), this.setOptions(e.options), this.scheduleGc();
1126
+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#r = e.mutationCache, this.#t = [], this.state = e.state || Xr(), this.setOptions(e.options), this.scheduleGc();
1127
1127
  }
1128
1128
  setOptions(e) {
1129
1129
  this.options = e, this.updateGcTime(this.options.gcTime);
@@ -1160,7 +1160,7 @@ var In = class extends Yr {
1160
1160
  meta: this.options.meta,
1161
1161
  mutationKey: this.options.mutationKey
1162
1162
  };
1163
- this.#n = Jr({
1163
+ this.#n = Qr({
1164
1164
  fn: () => this.options.mutationFn ? this.options.mutationFn(e, r) : Promise.reject(new Error("No mutationFn found")),
1165
1165
  onFail: (a, i) => {
1166
1166
  this.#s({ type: "failed", failureCount: a, error: i });
@@ -1320,7 +1320,7 @@ var In = class extends Yr {
1320
1320
  });
1321
1321
  }
1322
1322
  };
1323
- function Zr() {
1323
+ function Xr() {
1324
1324
  return {
1325
1325
  context: void 0,
1326
1326
  data: void 0,
@@ -1333,7 +1333,7 @@ function Zr() {
1333
1333
  submittedAt: 0
1334
1334
  };
1335
1335
  }
1336
- var _n = class extends Le {
1336
+ var In = class extends Le {
1337
1337
  constructor(e = {}) {
1338
1338
  super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#r = 0;
1339
1339
  }
@@ -1341,7 +1341,7 @@ var _n = class extends Le {
1341
1341
  #t;
1342
1342
  #r;
1343
1343
  build(e, t, r) {
1344
- const s = new In({
1344
+ const s = new Tn({
1345
1345
  client: e,
1346
1346
  mutationCache: this,
1347
1347
  mutationId: ++this.#r,
@@ -1400,11 +1400,11 @@ var _n = class extends Le {
1400
1400
  find(e) {
1401
1401
  const t = { exact: !0, ...e };
1402
1402
  return this.getAll().find(
1403
- (r) => cr(t, r)
1403
+ (r) => or(t, r)
1404
1404
  );
1405
1405
  }
1406
1406
  findAll(e = {}) {
1407
- return this.getAll().filter((t) => cr(e, t));
1407
+ return this.getAll().filter((t) => or(e, t));
1408
1408
  }
1409
1409
  notify(e) {
1410
1410
  H.batch(() => {
@@ -1425,7 +1425,7 @@ var _n = class extends Le {
1425
1425
  function qe(e) {
1426
1426
  return e.options.scope?.id;
1427
1427
  }
1428
- var An = class extends Le {
1428
+ var _n = class extends Le {
1429
1429
  #e;
1430
1430
  #t = void 0;
1431
1431
  #r;
@@ -1460,7 +1460,7 @@ var An = class extends Le {
1460
1460
  return this.#n = t, this.#r?.removeObserver(this), this.#r = this.#e.getMutationCache().build(this.#e, this.options), this.#r.addObserver(this), this.#r.execute(e);
1461
1461
  }
1462
1462
  #s() {
1463
- const e = this.#r?.state ?? Zr();
1463
+ const e = this.#r?.state ?? Xr();
1464
1464
  this.#t = {
1465
1465
  ...e,
1466
1466
  isPending: e.status === "pending",
@@ -1508,7 +1508,7 @@ var An = class extends Le {
1508
1508
  });
1509
1509
  });
1510
1510
  }
1511
- }, Rn = class extends Le {
1511
+ }, An = class extends Le {
1512
1512
  constructor(e = {}) {
1513
1513
  super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
1514
1514
  }
@@ -1516,7 +1516,7 @@ var An = class extends Le {
1516
1516
  build(e, t, r) {
1517
1517
  const s = t.queryKey, n = t.queryHash ?? Gt(s, t);
1518
1518
  let a = this.get(n);
1519
- return a || (a = new wn({
1519
+ return a || (a = new En({
1520
1520
  client: e,
1521
1521
  queryKey: s,
1522
1522
  queryHash: n,
@@ -1551,12 +1551,12 @@ var An = class extends Le {
1551
1551
  find(e) {
1552
1552
  const t = { exact: !0, ...e };
1553
1553
  return this.getAll().find(
1554
- (r) => or(t, r)
1554
+ (r) => ir(t, r)
1555
1555
  );
1556
1556
  }
1557
1557
  findAll(e = {}) {
1558
1558
  const t = this.getAll();
1559
- return Object.keys(e).length > 0 ? t.filter((r) => or(e, r)) : t;
1559
+ return Object.keys(e).length > 0 ? t.filter((r) => ir(e, r)) : t;
1560
1560
  }
1561
1561
  notify(e) {
1562
1562
  H.batch(() => {
@@ -1579,7 +1579,7 @@ var An = class extends Le {
1579
1579
  });
1580
1580
  });
1581
1581
  }
1582
- }, Cn = class {
1582
+ }, Rn = class {
1583
1583
  #e;
1584
1584
  #t;
1585
1585
  #r;
@@ -1589,7 +1589,7 @@ var An = class extends Le {
1589
1589
  #o;
1590
1590
  #a;
1591
1591
  constructor(e = {}) {
1592
- this.#e = e.queryCache || new Rn(), this.#t = e.mutationCache || new _n(), this.#r = e.defaultOptions || {}, this.#n = /* @__PURE__ */ new Map(), this.#s = /* @__PURE__ */ new Map(), this.#i = 0;
1592
+ this.#e = e.queryCache || new An(), this.#t = e.mutationCache || new In(), this.#r = e.defaultOptions || {}, this.#n = /* @__PURE__ */ new Map(), this.#s = /* @__PURE__ */ new Map(), this.#i = 0;
1593
1593
  }
1594
1594
  mount() {
1595
1595
  this.#i++, this.#i === 1 && (this.#o = zt.subscribe(async (e) => {
@@ -1631,7 +1631,7 @@ var An = class extends Le {
1631
1631
  setQueryData(e, t, r) {
1632
1632
  const s = this.defaultQueryOptions({ queryKey: e }), a = this.#e.get(
1633
1633
  s.queryHash
1634
- )?.state.data, i = ln(t, a);
1634
+ )?.state.data, i = cn(t, a);
1635
1635
  if (i !== void 0)
1636
1636
  return this.#e.build(this, s).setData(i, { ...r, manual: !0 });
1637
1637
  }
@@ -1710,13 +1710,13 @@ var An = class extends Le {
1710
1710
  return this.fetchQuery(e).then(X).catch(X);
1711
1711
  }
1712
1712
  fetchInfiniteQuery(e) {
1713
- return e.behavior = mr(e.pages), this.fetchQuery(e);
1713
+ return e.behavior = pr(e.pages), this.fetchQuery(e);
1714
1714
  }
1715
1715
  prefetchInfiniteQuery(e) {
1716
1716
  return this.fetchInfiniteQuery(e).then(X).catch(X);
1717
1717
  }
1718
1718
  ensureInfiniteQueryData(e) {
1719
- return e.behavior = mr(e.pages), this.ensureQueryData(e);
1719
+ return e.behavior = pr(e.pages), this.ensureQueryData(e);
1720
1720
  }
1721
1721
  resumePausedMutations() {
1722
1722
  return it.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
@@ -1782,19 +1782,19 @@ var An = class extends Le {
1782
1782
  clear() {
1783
1783
  this.#e.clear(), this.#t.clear();
1784
1784
  }
1785
- }, es = Q.createContext(
1785
+ }, Zr = Q.createContext(
1786
1786
  void 0
1787
1787
  ), ce = (e) => {
1788
- const t = Q.useContext(es);
1788
+ const t = Q.useContext(Zr);
1789
1789
  if (!t)
1790
1790
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
1791
1791
  return t;
1792
- }, On = ({
1792
+ }, Cn = ({
1793
1793
  client: e,
1794
1794
  children: t
1795
1795
  }) => (Q.useEffect(() => (e.mount(), () => {
1796
1796
  e.unmount();
1797
- }), [e]), /* @__PURE__ */ c(es.Provider, { value: e, children: t })), kn = Q.createContext(!1), Pn = () => Q.useContext(kn);
1797
+ }), [e]), /* @__PURE__ */ c(Zr.Provider, { value: e, children: t })), On = Q.createContext(!1), kn = () => Q.useContext(On);
1798
1798
  function Mn() {
1799
1799
  let e = !1;
1800
1800
  return {
@@ -1807,19 +1807,19 @@ function Mn() {
1807
1807
  isReset: () => e
1808
1808
  };
1809
1809
  }
1810
- var Nn = Q.createContext(Mn()), xn = () => Q.useContext(Nn), Ln = (e, t) => {
1810
+ var Pn = Q.createContext(Mn()), Nn = () => Q.useContext(Pn), xn = (e, t) => {
1811
1811
  (e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
1812
- }, Dn = (e) => {
1812
+ }, Ln = (e) => {
1813
1813
  Q.useEffect(() => {
1814
1814
  e.clearReset();
1815
1815
  }, [e]);
1816
- }, $n = ({
1816
+ }, Dn = ({
1817
1817
  result: e,
1818
1818
  errorResetBoundary: t,
1819
1819
  throwOnError: r,
1820
1820
  query: s,
1821
1821
  suspense: n
1822
- }) => e.isError && !t.isReset() && !e.isFetching && s && (n && e.data === void 0 || jr(r, [e.error, s])), Un = (e) => {
1822
+ }) => e.isError && !t.isReset() && !e.isFetching && s && (n && e.data === void 0 || Wr(r, [e.error, s])), $n = (e) => {
1823
1823
  if (e.suspense) {
1824
1824
  const r = (n) => n === "static" ? n : Math.max(n ?? 1e3, 1e3), s = e.staleTime;
1825
1825
  e.staleTime = typeof s == "function" ? (...n) => r(s(...n)) : r(s), typeof e.gcTime == "number" && (e.gcTime = Math.max(
@@ -1827,20 +1827,20 @@ var Nn = Q.createContext(Mn()), xn = () => Q.useContext(Nn), Ln = (e, t) => {
1827
1827
  1e3
1828
1828
  ));
1829
1829
  }
1830
- }, Hn = (e, t) => e.isLoading && e.isFetching && !t, Fn = (e, t) => e?.suspense && t.isPending, gr = (e, t, r) => t.fetchOptimistic(e).catch(() => {
1830
+ }, Un = (e, t) => e.isLoading && e.isFetching && !t, Hn = (e, t) => e?.suspense && t.isPending, yr = (e, t, r) => t.fetchOptimistic(e).catch(() => {
1831
1831
  r.clearReset();
1832
1832
  });
1833
- function Bn(e, t, r) {
1833
+ function Fn(e, t, r) {
1834
1834
  if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e)))
1835
1835
  throw new Error(
1836
1836
  'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
1837
1837
  );
1838
- const s = Pn(), n = xn(), a = ce(), i = a.defaultQueryOptions(e);
1838
+ const s = kn(), n = Nn(), a = ce(), i = a.defaultQueryOptions(e);
1839
1839
  a.getDefaultOptions().queries?._experimental_beforeQuery?.(
1840
1840
  i
1841
1841
  ), process.env.NODE_ENV !== "production" && (i.queryFn || console.error(
1842
1842
  `[${i.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
1843
- )), i._optimisticResults = s ? "isRestoring" : "optimistic", Un(i), Ln(i, n), Dn(n);
1843
+ )), i._optimisticResults = s ? "isRestoring" : "optimistic", $n(i), xn(i, n), Ln(n);
1844
1844
  const o = !a.getQueryCache().get(i.queryHash), [l] = Q.useState(
1845
1845
  () => new t(
1846
1846
  a,
@@ -1859,9 +1859,9 @@ function Bn(e, t, r) {
1859
1859
  () => l.getCurrentResult()
1860
1860
  ), Q.useEffect(() => {
1861
1861
  l.setOptions(i);
1862
- }, [i, l]), Fn(i, f))
1863
- throw gr(i, l, n);
1864
- if ($n({
1862
+ }, [i, l]), Hn(i, f))
1863
+ throw yr(i, l, n);
1864
+ if (Dn({
1865
1865
  result: f,
1866
1866
  errorResetBoundary: n,
1867
1867
  throwOnError: i.throwOnError,
@@ -1872,9 +1872,9 @@ function Bn(e, t, r) {
1872
1872
  return a.getDefaultOptions().queries?._experimental_afterQuery?.(
1873
1873
  i,
1874
1874
  f
1875
- ), i.experimental_prefetchInRender && !ve && Hn(f, s) && (o ? (
1875
+ ), i.experimental_prefetchInRender && !ve && Un(f, s) && (o ? (
1876
1876
  // Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
1877
- gr(i, l, n)
1877
+ yr(i, l, n)
1878
1878
  ) : (
1879
1879
  // subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
1880
1880
  a.getQueryCache().get(i.queryHash)?.promise
@@ -1883,11 +1883,11 @@ function Bn(e, t, r) {
1883
1883
  }), i.notifyOnChangeProps ? f : l.trackResult(f);
1884
1884
  }
1885
1885
  function fe(e, t) {
1886
- return Bn(e, Sn);
1886
+ return Fn(e, wn);
1887
1887
  }
1888
1888
  function we(e, t) {
1889
1889
  const r = ce(), [s] = Q.useState(
1890
- () => new An(
1890
+ () => new _n(
1891
1891
  r,
1892
1892
  e
1893
1893
  )
@@ -1908,7 +1908,7 @@ function we(e, t) {
1908
1908
  },
1909
1909
  [s]
1910
1910
  );
1911
- if (n.error && jr(s.options.throwOnError, [n.error]))
1911
+ if (n.error && Wr(s.options.throwOnError, [n.error]))
1912
1912
  throw n.error;
1913
1913
  return { ...n, mutate: a, mutateAsync: n.mutate };
1914
1914
  }
@@ -1929,7 +1929,7 @@ const $e = {
1929
1929
  CODE: "code",
1930
1930
  REFRESH_TOKEN: "refresh_token",
1931
1931
  PASSKEY: "passkey"
1932
- }, ts = {
1932
+ }, es = {
1933
1933
  CLIENT_ID: "X-Auth-ClientId"
1934
1934
  }, j = {
1935
1935
  ALG: "RS256",
@@ -1939,7 +1939,7 @@ const $e = {
1939
1939
  NONCE_KEY: "_nonce",
1940
1940
  AUTH_TYPE_KEY: "auth_type",
1941
1941
  ISSUER: "gizmette.com"
1942
- }, Kn = `-----BEGIN PUBLIC KEY-----
1942
+ }, Bn = `-----BEGIN PUBLIC KEY-----
1943
1943
  MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
1944
1944
  w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
1945
1945
  i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
@@ -1953,14 +1953,14 @@ awIDAQAB
1953
1953
  LOGIN: "login",
1954
1954
  REFRESH: "refresh"
1955
1955
  }, We = new TextEncoder(), xe = new TextDecoder();
1956
- function Vn(...e) {
1956
+ function Kn(...e) {
1957
1957
  const t = e.reduce((n, { length: a }) => n + a, 0), r = new Uint8Array(t);
1958
1958
  let s = 0;
1959
1959
  for (const n of e)
1960
1960
  r.set(n, s), s += n.length;
1961
1961
  return r;
1962
1962
  }
1963
- function rs(e) {
1963
+ function ts(e) {
1964
1964
  if (Uint8Array.fromBase64)
1965
1965
  return Uint8Array.fromBase64(e);
1966
1966
  const t = atob(e), r = new Uint8Array(t.length);
@@ -1976,7 +1976,7 @@ function Ue(e) {
1976
1976
  let t = e;
1977
1977
  t instanceof Uint8Array && (t = xe.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
1978
1978
  try {
1979
- return rs(t);
1979
+ return ts(t);
1980
1980
  } catch {
1981
1981
  throw new TypeError("The input to be decoded is not correctly encoded.");
1982
1982
  }
@@ -1996,7 +1996,7 @@ let Ie = class extends Error {
1996
1996
  constructor(t, r, s = "unspecified", n = "unspecified") {
1997
1997
  super(t, { cause: { claim: s, reason: n, payload: r } }), this.claim = s, this.reason = n, this.payload = r;
1998
1998
  }
1999
- }, Er = class extends Ie {
1999
+ }, gr = class extends Ie {
2000
2000
  static code = "ERR_JWT_EXPIRED";
2001
2001
  code = "ERR_JWT_EXPIRED";
2002
2002
  claim;
@@ -2005,7 +2005,7 @@ let Ie = class extends Error {
2005
2005
  constructor(t, r, s = "unspecified", n = "unspecified") {
2006
2006
  super(t, { cause: { claim: s, reason: n, payload: r } }), this.claim = s, this.reason = n, this.payload = r;
2007
2007
  }
2008
- }, Gn = class extends Ie {
2008
+ }, Vn = class extends Ie {
2009
2009
  static code = "ERR_JOSE_ALG_NOT_ALLOWED";
2010
2010
  code = "ERR_JOSE_ALG_NOT_ALLOWED";
2011
2011
  }, he = class extends Ie {
@@ -2018,7 +2018,7 @@ let Ie = class extends Error {
2018
2018
  static code = "ERR_JWT_INVALID";
2019
2019
  code = "ERR_JWT_INVALID";
2020
2020
  };
2021
- class zn extends Ie {
2021
+ class Gn extends Ie {
2022
2022
  static code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
2023
2023
  code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
2024
2024
  constructor(t = "signature verification failed", r) {
@@ -2034,7 +2034,7 @@ function Re(e, t) {
2034
2034
  function gt(e) {
2035
2035
  return parseInt(e.name.slice(4), 10);
2036
2036
  }
2037
- function qn(e) {
2037
+ function zn(e) {
2038
2038
  switch (e) {
2039
2039
  case "ES256":
2040
2040
  return "P-256";
@@ -2046,11 +2046,11 @@ function qn(e) {
2046
2046
  throw new Error("unreachable");
2047
2047
  }
2048
2048
  }
2049
- function Wn(e, t) {
2049
+ function qn(e, t) {
2050
2050
  if (!e.usages.includes(t))
2051
2051
  throw new TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`);
2052
2052
  }
2053
- function jn(e, t, r) {
2053
+ function Wn(e, t, r) {
2054
2054
  switch (t) {
2055
2055
  case "HS256":
2056
2056
  case "HS384":
@@ -2100,7 +2100,7 @@ function jn(e, t, r) {
2100
2100
  case "ES512": {
2101
2101
  if (!Re(e.algorithm, "ECDSA"))
2102
2102
  throw ne("ECDSA");
2103
- const s = qn(t);
2103
+ const s = zn(t);
2104
2104
  if (e.algorithm.namedCurve !== s)
2105
2105
  throw ne(s, "algorithm.namedCurve");
2106
2106
  break;
@@ -2108,26 +2108,26 @@ function jn(e, t, r) {
2108
2108
  default:
2109
2109
  throw new TypeError("CryptoKey does not support this operation");
2110
2110
  }
2111
- Wn(e, r);
2111
+ qn(e, r);
2112
2112
  }
2113
- function ss(e, t, ...r) {
2113
+ function rs(e, t, ...r) {
2114
2114
  if (r = r.filter(Boolean), r.length > 2) {
2115
2115
  const s = r.pop();
2116
2116
  e += `one of type ${r.join(", ")}, or ${s}.`;
2117
2117
  } else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
2118
2118
  return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && t.constructor?.name && (e += ` Received an instance of ${t.constructor.name}`), e;
2119
2119
  }
2120
- const Qn = (e, ...t) => ss("Key must be ", e, ...t);
2121
- function ns(e, t, ...r) {
2122
- return ss(`Key for the ${e} algorithm must be `, t, ...r);
2120
+ const jn = (e, ...t) => rs("Key must be ", e, ...t);
2121
+ function ss(e, t, ...r) {
2122
+ return rs(`Key for the ${e} algorithm must be `, t, ...r);
2123
2123
  }
2124
- function as(e) {
2124
+ function ns(e) {
2125
2125
  return e?.[Symbol.toStringTag] === "CryptoKey";
2126
2126
  }
2127
- function is(e) {
2127
+ function as(e) {
2128
2128
  return e?.[Symbol.toStringTag] === "KeyObject";
2129
2129
  }
2130
- const os = (e) => as(e) || is(e), Jn = (...e) => {
2130
+ const is = (e) => ns(e) || as(e), Qn = (...e) => {
2131
2131
  const t = e.filter(Boolean);
2132
2132
  if (t.length === 0 || t.length === 1)
2133
2133
  return !0;
@@ -2146,11 +2146,11 @@ const os = (e) => as(e) || is(e), Jn = (...e) => {
2146
2146
  }
2147
2147
  return !0;
2148
2148
  };
2149
- function Yn(e) {
2149
+ function Jn(e) {
2150
2150
  return typeof e == "object" && e !== null;
2151
2151
  }
2152
2152
  const Be = (e) => {
2153
- if (!Yn(e) || Object.prototype.toString.call(e) !== "[object Object]")
2153
+ if (!Jn(e) || Object.prototype.toString.call(e) !== "[object Object]")
2154
2154
  return !1;
2155
2155
  if (Object.getPrototypeOf(e) === null)
2156
2156
  return !0;
@@ -2158,7 +2158,7 @@ const Be = (e) => {
2158
2158
  for (; Object.getPrototypeOf(t) !== null; )
2159
2159
  t = Object.getPrototypeOf(t);
2160
2160
  return Object.getPrototypeOf(e) === t;
2161
- }, Xn = (e, t) => {
2161
+ }, Yn = (e, t) => {
2162
2162
  if (e.startsWith("RS") || e.startsWith("PS")) {
2163
2163
  const { modulusLength: r } = t.algorithm;
2164
2164
  if (typeof r != "number" || r < 2048)
@@ -2171,7 +2171,7 @@ const Be = (e) => {
2171
2171
  if (e[r] !== t[r])
2172
2172
  return !1;
2173
2173
  return !0;
2174
- }, Zn = (e) => ({ data: e, pos: 0 }), ot = (e) => {
2174
+ }, Xn = (e) => ({ data: e, pos: 0 }), ot = (e) => {
2175
2175
  const t = e.data[e.pos++];
2176
2176
  if (t & 128) {
2177
2177
  const r = t & 127;
@@ -2184,27 +2184,27 @@ const Be = (e) => {
2184
2184
  }, ct = (e, t, r) => {
2185
2185
  if (e.data[e.pos++] !== t)
2186
2186
  throw new Error(r);
2187
- }, cs = (e, t) => {
2187
+ }, os = (e, t) => {
2188
2188
  const r = e.data.subarray(e.pos, e.pos + t);
2189
2189
  return e.pos += t, r;
2190
- }, ea = (e) => {
2190
+ }, Zn = (e) => {
2191
2191
  ct(e, 6, "Expected algorithm OID");
2192
2192
  const t = ot(e);
2193
- return cs(e, t);
2193
+ return os(e, t);
2194
2194
  };
2195
- function ta(e) {
2195
+ function ea(e) {
2196
2196
  ct(e, 48, "Invalid SPKI structure"), ot(e), ct(e, 48, "Expected algorithm identifier");
2197
2197
  const t = ot(e);
2198
2198
  return { algIdStart: e.pos, algIdLength: t };
2199
2199
  }
2200
- const ra = (e) => {
2201
- const t = ea(e);
2200
+ const ta = (e) => {
2201
+ const t = Zn(e);
2202
2202
  if (Et(t, [43, 101, 110]))
2203
2203
  return "X25519";
2204
2204
  if (!Et(t, [42, 134, 72, 206, 61, 2, 1]))
2205
2205
  throw new Error("Unsupported key algorithm");
2206
2206
  ct(e, 6, "Expected curve OID");
2207
- const r = ot(e), s = cs(e, r);
2207
+ const r = ot(e), s = os(e, r);
2208
2208
  for (const { name: n, oid: a } of [
2209
2209
  { name: "P-256", oid: [42, 134, 72, 206, 61, 3, 1, 7] },
2210
2210
  { name: "P-384", oid: [43, 129, 4, 0, 34] },
@@ -2213,7 +2213,7 @@ const ra = (e) => {
2213
2213
  if (Et(s, a))
2214
2214
  return n;
2215
2215
  throw new Error("Unsupported named curve");
2216
- }, sa = async (e, t, r, s) => {
2216
+ }, ra = async (e, t, r, s) => {
2217
2217
  let n, a;
2218
2218
  const i = () => ["verify"], o = () => ["encrypt", "wrapKey"];
2219
2219
  switch (r) {
@@ -2268,15 +2268,15 @@ const ra = (e) => {
2268
2268
  throw new he('Invalid or unsupported "alg" (Algorithm) value');
2269
2269
  }
2270
2270
  return crypto.subtle.importKey(e, t, n, s?.extractable ?? !0, a);
2271
- }, na = (e, t) => rs(e.replace(t, "")), aa = (e, t, r) => {
2272
- const s = na(e, /(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);
2271
+ }, sa = (e, t) => ts(e.replace(t, "")), na = (e, t, r) => {
2272
+ const s = sa(e, /(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);
2273
2273
  let n = r;
2274
2274
  return t?.startsWith?.("ECDH-ES") && (n ||= {}, n.getNamedCurve = (a) => {
2275
- const i = Zn(a);
2276
- return ta(i), ra(i);
2277
- }), sa("spki", s, t, n);
2275
+ const i = Xn(a);
2276
+ return ea(i), ta(i);
2277
+ }), ra("spki", s, t, n);
2278
2278
  };
2279
- function ia(e) {
2279
+ function aa(e) {
2280
2280
  let t, r;
2281
2281
  switch (e.kty) {
2282
2282
  case "AKP": {
@@ -2361,18 +2361,18 @@ function ia(e) {
2361
2361
  }
2362
2362
  return { algorithm: t, keyUsages: r };
2363
2363
  }
2364
- const oa = async (e) => {
2364
+ const ia = async (e) => {
2365
2365
  if (!e.alg)
2366
2366
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
2367
- const { algorithm: t, keyUsages: r } = ia(e), s = { ...e };
2367
+ const { algorithm: t, keyUsages: r } = aa(e), s = { ...e };
2368
2368
  return s.kty !== "AKP" && delete s.alg, delete s.use, crypto.subtle.importKey("jwk", s, t, e.ext ?? !(e.d || e.priv), e.key_ops ?? r);
2369
2369
  };
2370
- async function ca(e, t, r) {
2370
+ async function oa(e, t, r) {
2371
2371
  if (e.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
2372
2372
  throw new TypeError('"spki" must be SPKI formatted string');
2373
- return aa(e, t, r);
2373
+ return na(e, t, r);
2374
2374
  }
2375
- const la = (e, t, r, s, n) => {
2375
+ const ca = (e, t, r, s, n) => {
2376
2376
  if (n.crit !== void 0 && s?.crit === void 0)
2377
2377
  throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
2378
2378
  if (!s || s.crit === void 0)
@@ -2390,7 +2390,7 @@ const la = (e, t, r, s, n) => {
2390
2390
  throw new e(`Extension Header Parameter "${i}" MUST be integrity protected`);
2391
2391
  }
2392
2392
  return new Set(s.crit);
2393
- }, ua = (e, t) => {
2393
+ }, la = (e, t) => {
2394
2394
  if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
2395
2395
  throw new TypeError(`"${e}" option must be an array of strings`);
2396
2396
  if (t)
@@ -2399,24 +2399,24 @@ const la = (e, t, r, s, n) => {
2399
2399
  function Wt(e) {
2400
2400
  return Be(e) && typeof e.kty == "string";
2401
2401
  }
2402
- function da(e) {
2402
+ function ua(e) {
2403
2403
  return e.kty !== "oct" && (e.kty === "AKP" && typeof e.priv == "string" || typeof e.d == "string");
2404
2404
  }
2405
- function ha(e) {
2405
+ function da(e) {
2406
2406
  return e.kty !== "oct" && typeof e.d > "u" && typeof e.priv > "u";
2407
2407
  }
2408
- function fa(e) {
2408
+ function ha(e) {
2409
2409
  return e.kty === "oct" && typeof e.k == "string";
2410
2410
  }
2411
2411
  let Ne;
2412
- const wr = async (e, t, r, s = !1) => {
2412
+ const Er = async (e, t, r, s = !1) => {
2413
2413
  Ne ||= /* @__PURE__ */ new WeakMap();
2414
2414
  let n = Ne.get(e);
2415
2415
  if (n?.[r])
2416
2416
  return n[r];
2417
- const a = await oa({ ...t, alg: r });
2417
+ const a = await ia({ ...t, alg: r });
2418
2418
  return s && Object.freeze(e), n ? n[r] = a : Ne.set(e, { [r]: a }), a;
2419
- }, pa = (e, t) => {
2419
+ }, fa = (e, t) => {
2420
2420
  Ne ||= /* @__PURE__ */ new WeakMap();
2421
2421
  let r = Ne.get(e);
2422
2422
  if (r?.[t])
@@ -2512,26 +2512,26 @@ const wr = async (e, t, r, s = !1) => {
2512
2512
  if (!a)
2513
2513
  throw new TypeError("given KeyObject instance cannot be used for this algorithm");
2514
2514
  return r ? r[t] = a : Ne.set(e, { [t]: a }), a;
2515
- }, ma = async (e, t) => {
2516
- if (e instanceof Uint8Array || as(e))
2515
+ }, pa = async (e, t) => {
2516
+ if (e instanceof Uint8Array || ns(e))
2517
2517
  return e;
2518
- if (is(e)) {
2518
+ if (as(e)) {
2519
2519
  if (e.type === "secret")
2520
2520
  return e.export();
2521
2521
  if ("toCryptoKey" in e && typeof e.toCryptoKey == "function")
2522
2522
  try {
2523
- return pa(e, t);
2523
+ return fa(e, t);
2524
2524
  } catch (s) {
2525
2525
  if (s instanceof TypeError)
2526
2526
  throw s;
2527
2527
  }
2528
2528
  let r = e.export({ format: "jwk" });
2529
- return wr(e, r, t);
2529
+ return Er(e, r, t);
2530
2530
  }
2531
2531
  if (Wt(e))
2532
- return e.k ? Ue(e.k) : wr(e, e, t, !0);
2532
+ return e.k ? Ue(e.k) : Er(e, e, t, !0);
2533
2533
  throw new Error("unreachable");
2534
- }, Me = (e) => e?.[Symbol.toStringTag], Ut = (e, t, r) => {
2534
+ }, Pe = (e) => e?.[Symbol.toStringTag], Ut = (e, t, r) => {
2535
2535
  if (t.use !== void 0) {
2536
2536
  let s;
2537
2537
  switch (r) {
@@ -2574,53 +2574,53 @@ const wr = async (e, t, r, s = !1) => {
2574
2574
  throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${s}" when present`);
2575
2575
  }
2576
2576
  return !0;
2577
- }, ya = (e, t, r) => {
2577
+ }, ma = (e, t, r) => {
2578
2578
  if (!(t instanceof Uint8Array)) {
2579
2579
  if (Wt(t)) {
2580
- if (fa(t) && Ut(e, t, r))
2580
+ if (ha(t) && Ut(e, t, r))
2581
2581
  return;
2582
2582
  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');
2583
2583
  }
2584
- if (!os(t))
2585
- throw new TypeError(ns(e, t, "CryptoKey", "KeyObject", "JSON Web Key", "Uint8Array"));
2584
+ if (!is(t))
2585
+ throw new TypeError(ss(e, t, "CryptoKey", "KeyObject", "JSON Web Key", "Uint8Array"));
2586
2586
  if (t.type !== "secret")
2587
- throw new TypeError(`${Me(t)} instances for symmetric algorithms must be of type "secret"`);
2587
+ throw new TypeError(`${Pe(t)} instances for symmetric algorithms must be of type "secret"`);
2588
2588
  }
2589
- }, ga = (e, t, r) => {
2589
+ }, ya = (e, t, r) => {
2590
2590
  if (Wt(t))
2591
2591
  switch (r) {
2592
2592
  case "decrypt":
2593
2593
  case "sign":
2594
- if (da(t) && Ut(e, t, r))
2594
+ if (ua(t) && Ut(e, t, r))
2595
2595
  return;
2596
2596
  throw new TypeError("JSON Web Key for this operation be a private JWK");
2597
2597
  case "encrypt":
2598
2598
  case "verify":
2599
- if (ha(t) && Ut(e, t, r))
2599
+ if (da(t) && Ut(e, t, r))
2600
2600
  return;
2601
2601
  throw new TypeError("JSON Web Key for this operation be a public JWK");
2602
2602
  }
2603
- if (!os(t))
2604
- throw new TypeError(ns(e, t, "CryptoKey", "KeyObject", "JSON Web Key"));
2603
+ if (!is(t))
2604
+ throw new TypeError(ss(e, t, "CryptoKey", "KeyObject", "JSON Web Key"));
2605
2605
  if (t.type === "secret")
2606
- throw new TypeError(`${Me(t)} instances for asymmetric algorithms must not be of type "secret"`);
2606
+ throw new TypeError(`${Pe(t)} instances for asymmetric algorithms must not be of type "secret"`);
2607
2607
  if (t.type === "public")
2608
2608
  switch (r) {
2609
2609
  case "sign":
2610
- throw new TypeError(`${Me(t)} instances for asymmetric algorithm signing must be of type "private"`);
2610
+ throw new TypeError(`${Pe(t)} instances for asymmetric algorithm signing must be of type "private"`);
2611
2611
  case "decrypt":
2612
- throw new TypeError(`${Me(t)} instances for asymmetric algorithm decryption must be of type "private"`);
2612
+ throw new TypeError(`${Pe(t)} instances for asymmetric algorithm decryption must be of type "private"`);
2613
2613
  }
2614
2614
  if (t.type === "private")
2615
2615
  switch (r) {
2616
2616
  case "verify":
2617
- throw new TypeError(`${Me(t)} instances for asymmetric algorithm verifying must be of type "public"`);
2617
+ throw new TypeError(`${Pe(t)} instances for asymmetric algorithm verifying must be of type "public"`);
2618
2618
  case "encrypt":
2619
- throw new TypeError(`${Me(t)} instances for asymmetric algorithm encryption must be of type "public"`);
2619
+ throw new TypeError(`${Pe(t)} instances for asymmetric algorithm encryption must be of type "public"`);
2620
2620
  }
2621
- }, Ea = (e, t, r) => {
2622
- 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) ? ya(e, t, r) : ga(e, t, r);
2623
- }, wa = (e, t) => {
2621
+ }, ga = (e, t, r) => {
2622
+ 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) ? ma(e, t, r) : ya(e, t, r);
2623
+ }, Ea = (e, t) => {
2624
2624
  const r = `SHA-${e.slice(-3)}`;
2625
2625
  switch (e) {
2626
2626
  case "HS256":
@@ -2649,24 +2649,24 @@ const wr = async (e, t, r, s = !1) => {
2649
2649
  default:
2650
2650
  throw new he(`alg ${e} is not supported either by JOSE or your javascript runtime`);
2651
2651
  }
2652
- }, Sa = async (e, t, r) => {
2652
+ }, wa = async (e, t, r) => {
2653
2653
  if (t instanceof Uint8Array) {
2654
2654
  if (!e.startsWith("HS"))
2655
- throw new TypeError(Qn(t, "CryptoKey", "KeyObject", "JSON Web Key"));
2655
+ throw new TypeError(jn(t, "CryptoKey", "KeyObject", "JSON Web Key"));
2656
2656
  return crypto.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
2657
2657
  }
2658
- return jn(t, e, r), t;
2659
- }, ba = async (e, t, r, s) => {
2660
- const n = await Sa(e, t, "verify");
2661
- Xn(e, n);
2662
- const a = wa(e, n.algorithm);
2658
+ return Wn(t, e, r), t;
2659
+ }, Sa = async (e, t, r, s) => {
2660
+ const n = await wa(e, t, "verify");
2661
+ Yn(e, n);
2662
+ const a = Ea(e, n.algorithm);
2663
2663
  try {
2664
2664
  return await crypto.subtle.verify(a, n, r, s);
2665
2665
  } catch {
2666
2666
  return !1;
2667
2667
  }
2668
2668
  };
2669
- async function va(e, t, r) {
2669
+ async function ba(e, t, r) {
2670
2670
  if (!Be(e))
2671
2671
  throw new q("Flattened JWS must be an object");
2672
2672
  if (e.protected === void 0 && e.header === void 0)
@@ -2687,38 +2687,38 @@ async function va(e, t, r) {
2687
2687
  } catch {
2688
2688
  throw new q("JWS Protected Header is invalid");
2689
2689
  }
2690
- if (!Jn(s, e.header))
2690
+ if (!Qn(s, e.header))
2691
2691
  throw new q("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
2692
2692
  const n = {
2693
2693
  ...s,
2694
2694
  ...e.header
2695
- }, a = la(q, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, s, n);
2695
+ }, a = ca(q, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, s, n);
2696
2696
  let i = !0;
2697
2697
  if (a.has("b64") && (i = s.b64, typeof i != "boolean"))
2698
2698
  throw new q('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
2699
2699
  const { alg: o } = n;
2700
2700
  if (typeof o != "string" || !o)
2701
2701
  throw new q('JWS "alg" (Algorithm) Header Parameter missing or invalid');
2702
- const l = r && ua("algorithms", r.algorithms);
2702
+ const l = r && la("algorithms", r.algorithms);
2703
2703
  if (l && !l.has(o))
2704
- throw new Gn('"alg" (Algorithm) Header Parameter value not allowed');
2704
+ throw new Vn('"alg" (Algorithm) Header Parameter value not allowed');
2705
2705
  if (i) {
2706
2706
  if (typeof e.payload != "string")
2707
2707
  throw new q("JWS Payload must be a string");
2708
2708
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
2709
2709
  throw new q("JWS Payload must be a string or an Uint8Array instance");
2710
2710
  let f = !1;
2711
- typeof t == "function" && (t = await t(s, e), f = !0), Ea(o, t, "verify");
2712
- const d = Vn(We.encode(e.protected ?? ""), We.encode("."), typeof e.payload == "string" ? We.encode(e.payload) : e.payload);
2711
+ typeof t == "function" && (t = await t(s, e), f = !0), ga(o, t, "verify");
2712
+ const d = Kn(We.encode(e.protected ?? ""), We.encode("."), typeof e.payload == "string" ? We.encode(e.payload) : e.payload);
2713
2713
  let h;
2714
2714
  try {
2715
2715
  h = Ue(e.signature);
2716
2716
  } catch {
2717
2717
  throw new q("Failed to base64url decode the signature");
2718
2718
  }
2719
- const u = await ma(t, o);
2720
- if (!await ba(o, u, h, d))
2721
- throw new zn();
2719
+ const u = await pa(t, o);
2720
+ if (!await Sa(o, u, h, d))
2721
+ throw new Gn();
2722
2722
  let p;
2723
2723
  if (i)
2724
2724
  try {
@@ -2730,17 +2730,17 @@ async function va(e, t, r) {
2730
2730
  const m = { payload: p };
2731
2731
  return e.protected !== void 0 && (m.protectedHeader = s), e.header !== void 0 && (m.unprotectedHeader = e.header), f ? { ...m, key: u } : m;
2732
2732
  }
2733
- async function Ta(e, t, r) {
2733
+ async function va(e, t, r) {
2734
2734
  if (e instanceof Uint8Array && (e = xe.decode(e)), typeof e != "string")
2735
2735
  throw new q("Compact JWS must be a string or Uint8Array");
2736
2736
  const { 0: s, 1: n, 2: a, length: i } = e.split(".");
2737
2737
  if (i !== 3)
2738
2738
  throw new q("Invalid Compact JWS");
2739
- const o = await va({ payload: n, protected: s, signature: a }, t, r), l = { payload: o.payload, protectedHeader: o.protectedHeader };
2739
+ const o = await ba({ payload: n, protected: s, signature: a }, t, r), l = { payload: o.payload, protectedHeader: o.protectedHeader };
2740
2740
  return typeof t == "function" ? { ...l, key: o.key } : l;
2741
2741
  }
2742
- const Ia = (e) => Math.floor(e.getTime() / 1e3), ls = 60, us = ls * 60, jt = us * 24, _a = jt * 7, Aa = jt * 365.25, Ra = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Sr = (e) => {
2743
- const t = Ra.exec(e);
2742
+ const Ta = (e) => Math.floor(e.getTime() / 1e3), cs = 60, ls = cs * 60, jt = ls * 24, Ia = jt * 7, _a = jt * 365.25, Aa = /^(\+|\-)? ?(\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) => {
2743
+ const t = Aa.exec(e);
2744
2744
  if (!t || t[4] && t[1])
2745
2745
  throw new TypeError("Invalid time period format");
2746
2746
  const r = parseFloat(t[2]), s = t[3].toLowerCase();
@@ -2758,14 +2758,14 @@ const Ia = (e) => Math.floor(e.getTime() / 1e3), ls = 60, us = ls * 60, jt = us
2758
2758
  case "min":
2759
2759
  case "mins":
2760
2760
  case "m":
2761
- n = Math.round(r * ls);
2761
+ n = Math.round(r * cs);
2762
2762
  break;
2763
2763
  case "hour":
2764
2764
  case "hours":
2765
2765
  case "hr":
2766
2766
  case "hrs":
2767
2767
  case "h":
2768
- n = Math.round(r * us);
2768
+ n = Math.round(r * ls);
2769
2769
  break;
2770
2770
  case "day":
2771
2771
  case "days":
@@ -2775,15 +2775,15 @@ const Ia = (e) => Math.floor(e.getTime() / 1e3), ls = 60, us = ls * 60, jt = us
2775
2775
  case "week":
2776
2776
  case "weeks":
2777
2777
  case "w":
2778
- n = Math.round(r * _a);
2778
+ n = Math.round(r * Ia);
2779
2779
  break;
2780
2780
  default:
2781
- n = Math.round(r * Aa);
2781
+ n = Math.round(r * _a);
2782
2782
  break;
2783
2783
  }
2784
2784
  return t[1] === "-" || t[4] === "ago" ? -n : n;
2785
- }, br = (e) => e.includes("/") ? e.toLowerCase() : `application/${e.toLowerCase()}`, Ca = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
2786
- function Oa(e, t, r = {}) {
2785
+ }, Sr = (e) => e.includes("/") ? e.toLowerCase() : `application/${e.toLowerCase()}`, Ra = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
2786
+ function Ca(e, t, r = {}) {
2787
2787
  let s;
2788
2788
  try {
2789
2789
  s = JSON.parse(xe.decode(t));
@@ -2792,7 +2792,7 @@ function Oa(e, t, r = {}) {
2792
2792
  if (!Be(s))
2793
2793
  throw new ue("JWT Claims Set must be a top-level JSON object");
2794
2794
  const { typ: n } = r;
2795
- if (n && (typeof e.typ != "string" || br(e.typ) !== br(n)))
2795
+ if (n && (typeof e.typ != "string" || Sr(e.typ) !== Sr(n)))
2796
2796
  throw new se('unexpected "typ" JWT header value', s, "typ", "check_failed");
2797
2797
  const { requiredClaims: a = [], issuer: i, subject: o, audience: l, maxTokenAge: f } = r, d = [...a];
2798
2798
  f !== void 0 && d.push("iat"), l !== void 0 && d.push("aud"), o !== void 0 && d.push("sub"), i !== void 0 && d.push("iss");
@@ -2803,12 +2803,12 @@ function Oa(e, t, r = {}) {
2803
2803
  throw new se('unexpected "iss" claim value', s, "iss", "check_failed");
2804
2804
  if (o && s.sub !== o)
2805
2805
  throw new se('unexpected "sub" claim value', s, "sub", "check_failed");
2806
- if (l && !Ca(s.aud, typeof l == "string" ? [l] : l))
2806
+ if (l && !Ra(s.aud, typeof l == "string" ? [l] : l))
2807
2807
  throw new se('unexpected "aud" claim value', s, "aud", "check_failed");
2808
2808
  let h;
2809
2809
  switch (typeof r.clockTolerance) {
2810
2810
  case "string":
2811
- h = Sr(r.clockTolerance);
2811
+ h = wr(r.clockTolerance);
2812
2812
  break;
2813
2813
  case "number":
2814
2814
  h = r.clockTolerance;
@@ -2819,7 +2819,7 @@ function Oa(e, t, r = {}) {
2819
2819
  default:
2820
2820
  throw new TypeError("Invalid clockTolerance option type");
2821
2821
  }
2822
- const { currentDate: u } = r, p = Ia(u || /* @__PURE__ */ new Date());
2822
+ const { currentDate: u } = r, p = Ta(u || /* @__PURE__ */ new Date());
2823
2823
  if ((s.iat !== void 0 || f) && typeof s.iat != "number")
2824
2824
  throw new se('"iat" claim must be a number', s, "iat", "invalid");
2825
2825
  if (s.nbf !== void 0) {
@@ -2832,25 +2832,25 @@ function Oa(e, t, r = {}) {
2832
2832
  if (typeof s.exp != "number")
2833
2833
  throw new se('"exp" claim must be a number', s, "exp", "invalid");
2834
2834
  if (s.exp <= p - h)
2835
- throw new Er('"exp" claim timestamp check failed', s, "exp", "check_failed");
2835
+ throw new gr('"exp" claim timestamp check failed', s, "exp", "check_failed");
2836
2836
  }
2837
2837
  if (f) {
2838
- const m = p - s.iat, g = typeof f == "number" ? f : Sr(f);
2838
+ const m = p - s.iat, g = typeof f == "number" ? f : wr(f);
2839
2839
  if (m - h > g)
2840
- throw new Er('"iat" claim timestamp check failed (too far in the past)', s, "iat", "check_failed");
2840
+ throw new gr('"iat" claim timestamp check failed (too far in the past)', s, "iat", "check_failed");
2841
2841
  if (m < 0 - h)
2842
2842
  throw new se('"iat" claim timestamp check failed (it should be in the past)', s, "iat", "check_failed");
2843
2843
  }
2844
2844
  return s;
2845
2845
  }
2846
- async function ka(e, t, r) {
2847
- const s = await Ta(e, t, r);
2846
+ async function Oa(e, t, r) {
2847
+ const s = await va(e, t, r);
2848
2848
  if (s.protectedHeader.crit?.includes("b64") && s.protectedHeader.b64 === !1)
2849
2849
  throw new ue("JWTs MUST NOT use unencoded payload");
2850
- const n = { payload: Oa(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
2850
+ const n = { payload: Ca(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
2851
2851
  return typeof t == "function" ? { ...n, key: s.key } : n;
2852
2852
  }
2853
- function Pa(e) {
2853
+ function ka(e) {
2854
2854
  if (typeof e != "string")
2855
2855
  throw new ue("JWTs must use Compact JWS serialization, JWT must be a string");
2856
2856
  const { 1: t, length: r } = e.split(".");
@@ -2878,8 +2878,8 @@ function Pa(e) {
2878
2878
  }
2879
2879
  const Ke = async (e) => {
2880
2880
  try {
2881
- const t = j.ALG, r = await ca(Kn, t);
2882
- return await ka(e, r, {
2881
+ const t = j.ALG, r = await oa(Bn, t);
2882
+ return await Oa(e, r, {
2883
2883
  issuer: j.ISSUER
2884
2884
  });
2885
2885
  } catch {
@@ -2887,56 +2887,56 @@ const Ke = async (e) => {
2887
2887
  }
2888
2888
  }, Ma = (e) => {
2889
2889
  try {
2890
- return Pa(e);
2890
+ return ka(e);
2891
2891
  } catch {
2892
2892
  return;
2893
2893
  }
2894
2894
  }, G = [];
2895
2895
  for (let e = 0; e < 256; ++e)
2896
2896
  G.push((e + 256).toString(16).slice(1));
2897
- function Na(e, t = 0) {
2897
+ function Pa(e, t = 0) {
2898
2898
  return (G[e[t + 0]] + G[e[t + 1]] + G[e[t + 2]] + G[e[t + 3]] + "-" + G[e[t + 4]] + G[e[t + 5]] + "-" + G[e[t + 6]] + G[e[t + 7]] + "-" + G[e[t + 8]] + G[e[t + 9]] + "-" + G[e[t + 10]] + G[e[t + 11]] + G[e[t + 12]] + G[e[t + 13]] + G[e[t + 14]] + G[e[t + 15]]).toLowerCase();
2899
2899
  }
2900
2900
  let wt;
2901
- const xa = new Uint8Array(16);
2902
- function La() {
2901
+ const Na = new Uint8Array(16);
2902
+ function xa() {
2903
2903
  if (!wt) {
2904
2904
  if (typeof crypto > "u" || !crypto.getRandomValues)
2905
2905
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
2906
2906
  wt = crypto.getRandomValues.bind(crypto);
2907
2907
  }
2908
- return wt(xa);
2908
+ return wt(Na);
2909
2909
  }
2910
- const Da = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), vr = { randomUUID: Da };
2911
- function Tr(e, t, r) {
2912
- if (vr.randomUUID && !e)
2913
- return vr.randomUUID();
2910
+ const La = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), br = { randomUUID: La };
2911
+ function vr(e, t, r) {
2912
+ if (br.randomUUID && !e)
2913
+ return br.randomUUID();
2914
2914
  e = e || {};
2915
- const s = e.random ?? e.rng?.() ?? La();
2915
+ const s = e.random ?? e.rng?.() ?? xa();
2916
2916
  if (s.length < 16)
2917
2917
  throw new Error("Random bytes length must be >= 16");
2918
- return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, Na(s);
2918
+ return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, Pa(s);
2919
2919
  }
2920
- const Ir = globalThis.crypto, $a = (e) => `${Tr()}${Tr()}`.slice(0, e), Ua = (e) => btoa(
2920
+ const Tr = globalThis.crypto, Da = (e) => `${vr()}${vr()}`.slice(0, e), $a = (e) => btoa(
2921
2921
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
2922
2922
  );
2923
- async function Ha(e) {
2924
- if (!Ir.subtle)
2923
+ async function Ua(e) {
2924
+ if (!Tr.subtle)
2925
2925
  throw new Error(
2926
2926
  "crypto.subtle is available only in secure contexts (HTTPS)."
2927
2927
  );
2928
- const t = new TextEncoder().encode(e), r = await Ir.subtle.digest("SHA-256", t);
2929
- return Ua(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
2928
+ const t = new TextEncoder().encode(e), r = await Tr.subtle.digest("SHA-256", t);
2929
+ return $a(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
2930
2930
  }
2931
- async function Fa(e) {
2932
- const r = $a(43), s = await Ha(r);
2931
+ async function Ha(e) {
2932
+ const r = Da(43), s = await Ua(r);
2933
2933
  return {
2934
2934
  code_verifier: r,
2935
2935
  code_challenge: s
2936
2936
  };
2937
2937
  }
2938
- const ds = Kt(null);
2939
- var Ba = Object.defineProperty, Ka = (e, t, r) => t in e ? Ba(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t, r) => Ka(e, typeof t != "symbol" ? t + "" : t, r);
2938
+ const us = Kt(null);
2939
+ var Fa = Object.defineProperty, Ba = (e, t, r) => t in e ? Fa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t, r) => Ba(e, typeof t != "symbol" ? t + "" : t, r);
2940
2940
  /*!
2941
2941
  @versini/auth-provider v8.0.5
2942
2942
  © 2025 gizmette.com
@@ -2964,12 +2964,12 @@ function lt(e) {
2964
2964
  return a;
2965
2965
  }
2966
2966
  function Qt() {
2967
- return Va.stubThis(globalThis?.PublicKeyCredential !== void 0 && typeof globalThis.PublicKeyCredential == "function");
2967
+ return Ka.stubThis(globalThis?.PublicKeyCredential !== void 0 && typeof globalThis.PublicKeyCredential == "function");
2968
2968
  }
2969
- const Va = {
2969
+ const Ka = {
2970
2970
  stubThis: (e) => e
2971
2971
  };
2972
- function hs(e) {
2972
+ function ds(e) {
2973
2973
  const { id: t } = e;
2974
2974
  return {
2975
2975
  ...e,
@@ -2982,7 +2982,7 @@ function hs(e) {
2982
2982
  transports: e.transports
2983
2983
  };
2984
2984
  }
2985
- function fs(e) {
2985
+ function hs(e) {
2986
2986
  return (
2987
2987
  // Consider localhost valid as well since it's okay wrt Secure Contexts
2988
2988
  e === "localhost" || /^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)
@@ -2998,7 +2998,7 @@ let W = class extends Error {
2998
2998
  }), this.name = n ?? s.name, this.code = r;
2999
2999
  }
3000
3000
  };
3001
- function Ga({ error: e, options: t }) {
3001
+ function Va({ error: e, options: t }) {
3002
3002
  const { publicKey: r } = t;
3003
3003
  if (!r)
3004
3004
  throw Error("options was missing required publicKey property");
@@ -3056,7 +3056,7 @@ function Ga({ error: e, options: t }) {
3056
3056
  });
3057
3057
  if (e.name === "SecurityError") {
3058
3058
  const s = globalThis.location.hostname;
3059
- if (fs(s)) {
3059
+ if (hs(s)) {
3060
3060
  if (r.rp.id !== s)
3061
3061
  return new W({
3062
3062
  message: `The RP ID "${r.rp.id}" is invalid for this domain`,
@@ -3084,7 +3084,7 @@ function Ga({ error: e, options: t }) {
3084
3084
  }
3085
3085
  return e;
3086
3086
  }
3087
- class za {
3087
+ class Ga {
3088
3088
  constructor() {
3089
3089
  Object.defineProperty(this, "controller", {
3090
3090
  enumerable: !0,
@@ -3108,12 +3108,12 @@ class za {
3108
3108
  }
3109
3109
  }
3110
3110
  }
3111
- const ps = new za(), qa = ["cross-platform", "platform"];
3112
- function ms(e) {
3113
- if (e && !(qa.indexOf(e) < 0))
3111
+ const fs = new Ga(), za = ["cross-platform", "platform"];
3112
+ function ps(e) {
3113
+ if (e && !(za.indexOf(e) < 0))
3114
3114
  return e;
3115
3115
  }
3116
- async function Wa(e) {
3116
+ async function qa(e) {
3117
3117
  !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 });
3118
3118
  const { optionsJSON: t, useAutoRegister: r = !1 } = e;
3119
3119
  if (!Qt())
@@ -3125,14 +3125,14 @@ async function Wa(e) {
3125
3125
  ...t.user,
3126
3126
  id: lt(t.user.id)
3127
3127
  },
3128
- excludeCredentials: t.excludeCredentials?.map(hs)
3128
+ excludeCredentials: t.excludeCredentials?.map(ds)
3129
3129
  }, n = {};
3130
- r && (n.mediation = "conditional"), n.publicKey = s, n.signal = ps.createNewAbortSignal();
3130
+ r && (n.mediation = "conditional"), n.publicKey = s, n.signal = fs.createNewAbortSignal();
3131
3131
  let a;
3132
3132
  try {
3133
3133
  a = await navigator.credentials.create(n);
3134
3134
  } catch (m) {
3135
- throw Ga({ error: m, options: n });
3135
+ throw Va({ error: m, options: n });
3136
3136
  }
3137
3137
  if (!a)
3138
3138
  throw new Error("Registration was not completed");
@@ -3174,14 +3174,14 @@ async function Wa(e) {
3174
3174
  },
3175
3175
  type: f,
3176
3176
  clientExtensionResults: a.getClientExtensionResults(),
3177
- authenticatorAttachment: ms(a.authenticatorAttachment)
3177
+ authenticatorAttachment: ps(a.authenticatorAttachment)
3178
3178
  };
3179
3179
  }
3180
3180
  function bt(e, t) {
3181
3181
  console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
3182
3182
  `, t);
3183
3183
  }
3184
- function ja() {
3184
+ function Wa() {
3185
3185
  if (!Qt())
3186
3186
  return vt.stubThis(new Promise((t) => t(!1)));
3187
3187
  const e = globalThis.PublicKeyCredential;
@@ -3190,7 +3190,7 @@ function ja() {
3190
3190
  const vt = {
3191
3191
  stubThis: (e) => e
3192
3192
  };
3193
- function Qa({ error: e, options: t }) {
3193
+ function ja({ error: e, options: t }) {
3194
3194
  const { publicKey: r } = t;
3195
3195
  if (!r)
3196
3196
  throw Error("options was missing required publicKey property");
@@ -3210,7 +3210,7 @@ function Qa({ error: e, options: t }) {
3210
3210
  });
3211
3211
  if (e.name === "SecurityError") {
3212
3212
  const s = globalThis.location.hostname;
3213
- if (fs(s)) {
3213
+ if (hs(s)) {
3214
3214
  if (r.rpId !== s)
3215
3215
  return new W({
3216
3216
  message: `The RP ID "${r.rpId}" is invalid for this domain`,
@@ -3231,31 +3231,31 @@ function Qa({ error: e, options: t }) {
3231
3231
  }
3232
3232
  return e;
3233
3233
  }
3234
- async function Ja(e) {
3234
+ async function Qa(e) {
3235
3235
  !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 });
3236
3236
  const { optionsJSON: t, useBrowserAutofill: r = !1, verifyBrowserAutofillInput: s = !0 } = e;
3237
3237
  if (!Qt())
3238
3238
  throw new Error("WebAuthn is not supported in this browser");
3239
3239
  let n;
3240
- t.allowCredentials?.length !== 0 && (n = t.allowCredentials?.map(hs));
3240
+ t.allowCredentials?.length !== 0 && (n = t.allowCredentials?.map(ds));
3241
3241
  const a = {
3242
3242
  ...t,
3243
3243
  challenge: lt(t.challenge),
3244
3244
  allowCredentials: n
3245
3245
  }, i = {};
3246
3246
  if (r) {
3247
- if (!await ja())
3247
+ if (!await Wa())
3248
3248
  throw Error("Browser does not support WebAuthn autofill");
3249
3249
  if (document.querySelectorAll("input[autocomplete$='webauthn']").length < 1 && s)
3250
3250
  throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
3251
3251
  i.mediation = "conditional", a.allowCredentials = [];
3252
3252
  }
3253
- i.publicKey = a, i.signal = ps.createNewAbortSignal();
3253
+ i.publicKey = a, i.signal = fs.createNewAbortSignal();
3254
3254
  let o;
3255
3255
  try {
3256
3256
  o = await navigator.credentials.get(i);
3257
3257
  } catch (p) {
3258
- throw Qa({ error: p, options: i });
3258
+ throw ja({ error: p, options: i });
3259
3259
  }
3260
3260
  if (!o)
3261
3261
  throw new Error("Authentication was not completed");
@@ -3272,29 +3272,29 @@ async function Ja(e) {
3272
3272
  },
3273
3273
  type: h,
3274
3274
  clientExtensionResults: o.getClientExtensionResults(),
3275
- authenticatorAttachment: ms(o.authenticatorAttachment)
3275
+ authenticatorAttachment: ps(o.authenticatorAttachment)
3276
3276
  };
3277
3277
  }
3278
- function ys(e, t) {
3278
+ function ms(e, t) {
3279
3279
  window.dispatchEvent(new StorageEvent("storage", { key: e, newValue: t }));
3280
3280
  }
3281
- const _r = (e, t) => {
3281
+ const Ir = (e, t) => {
3282
3282
  const r = JSON.stringify(
3283
3283
  typeof t == "function" ? t() : t
3284
3284
  );
3285
- window.localStorage.setItem(e, r), ys(e, r);
3286
- }, Ya = (e) => {
3287
- window.localStorage.removeItem(e), ys(e, null);
3288
- }, Ar = (e) => window.localStorage.getItem(e), Xa = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
3285
+ window.localStorage.setItem(e, r), ms(e, r);
3286
+ }, Ja = (e) => {
3287
+ window.localStorage.removeItem(e), ms(e, null);
3288
+ }, _r = (e) => window.localStorage.getItem(e), Ya = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
3289
3289
  function je({
3290
3290
  key: e,
3291
3291
  initialValue: t
3292
3292
  }) {
3293
- const r = Vt(Xa, () => Ar(e)), s = N(
3293
+ const r = Vt(Ya, () => _r(e)), s = N(
3294
3294
  (i) => {
3295
3295
  try {
3296
3296
  const o = typeof i == "function" ? i(JSON.parse(r)) : i;
3297
- o == null ? Ya(e) : _r(e, o);
3297
+ o == null ? Ja(e) : Ir(e, o);
3298
3298
  } catch (o) {
3299
3299
  console.warn(o);
3300
3300
  }
@@ -3305,9 +3305,9 @@ function je({
3305
3305
  }, [t, s]), a = N(() => {
3306
3306
  s(null);
3307
3307
  }, [s]);
3308
- return A(() => {
3308
+ return R(() => {
3309
3309
  try {
3310
- Ar(e) === null && typeof t < "u" && _r(e, t);
3310
+ _r(e) === null && typeof t < "u" && Ir(e, t);
3311
3311
  } catch (i) {
3312
3312
  console.warn(i);
3313
3313
  }
@@ -3316,30 +3316,30 @@ function je({
3316
3316
  const z = [];
3317
3317
  for (let e = 0; e < 256; ++e)
3318
3318
  z.push((e + 256).toString(16).slice(1));
3319
- function Za(e, t = 0) {
3319
+ function Xa(e, t = 0) {
3320
3320
  return (z[e[t + 0]] + z[e[t + 1]] + z[e[t + 2]] + z[e[t + 3]] + "-" + z[e[t + 4]] + z[e[t + 5]] + "-" + z[e[t + 6]] + z[e[t + 7]] + "-" + z[e[t + 8]] + z[e[t + 9]] + "-" + z[e[t + 10]] + z[e[t + 11]] + z[e[t + 12]] + z[e[t + 13]] + z[e[t + 14]] + z[e[t + 15]]).toLowerCase();
3321
3321
  }
3322
3322
  let Tt;
3323
- const ei = new Uint8Array(16);
3324
- function ti() {
3323
+ const Za = new Uint8Array(16);
3324
+ function ei() {
3325
3325
  if (!Tt) {
3326
3326
  if (typeof crypto > "u" || !crypto.getRandomValues)
3327
3327
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
3328
3328
  Tt = crypto.getRandomValues.bind(crypto);
3329
3329
  }
3330
- return Tt(ei);
3330
+ return Tt(Za);
3331
3331
  }
3332
- const ri = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Rr = { randomUUID: ri };
3332
+ const ti = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ar = { randomUUID: ti };
3333
3333
  function It(e, t, r) {
3334
- if (Rr.randomUUID && !e)
3335
- return Rr.randomUUID();
3334
+ if (Ar.randomUUID && !e)
3335
+ return Ar.randomUUID();
3336
3336
  e = e || {};
3337
- const s = e.random ?? e.rng?.() ?? ti();
3337
+ const s = e.random ?? e.rng?.() ?? ei();
3338
3338
  if (s.length < 16)
3339
3339
  throw new Error("Random bytes length must be >= 16");
3340
- return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, Za(s);
3340
+ return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, Xa(s);
3341
3341
  }
3342
- const Ce = "Your session has expired. For your security, please log in again to continue.", si = "Your session has been successfully terminated.", _t = "Login failed. Please try again.", ni = "Error getting access token, please re-authenticate.", ai = "You forgot to wrap your component in <AuthProvider>.", Qe = "@@auth@@", De = "LOADING", et = "LOGIN", gs = "LOGOUT", ze = "success", oe = "failure", Es = "include", ws = "POST", Ss = "application/json", Je = {
3342
+ const Ce = "Your session has expired. For your security, please log in again to continue.", ri = "Your session has been successfully terminated.", _t = "Login failed. Please try again.", si = "Error getting access token, please re-authenticate.", ni = "You forgot to wrap your component in <AuthProvider>.", Qe = "@@auth@@", De = "LOADING", et = "LOGIN", ys = "LOGOUT", ze = "success", oe = "failure", gs = "include", Es = "POST", ws = "application/json", Je = {
3343
3343
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
3344
3344
  $clientId: String!,
3345
3345
  $username: String!,
@@ -3446,12 +3446,12 @@ const Ce = "Your session has expired. For your security, please log in again to
3446
3446
  }) => {
3447
3447
  try {
3448
3448
  const a = `Bearer ${e}`, i = await fetch(`${n}/graphql`, {
3449
- credentials: Es,
3450
- method: ws,
3449
+ credentials: gs,
3450
+ method: Es,
3451
3451
  headers: {
3452
3452
  authorization: a,
3453
- "Content-Type": Ss,
3454
- [ts.CLIENT_ID]: `${r}`
3453
+ "Content-Type": ws,
3454
+ [es.CLIENT_ID]: `${r}`
3455
3455
  },
3456
3456
  body: JSON.stringify({
3457
3457
  query: t.schema,
@@ -3476,11 +3476,11 @@ const Ce = "Your session has expired. For your security, please log in again to
3476
3476
  }) => {
3477
3477
  try {
3478
3478
  const n = await fetch(`${s}/${e}`, {
3479
- credentials: Es,
3480
- method: ws,
3479
+ credentials: gs,
3480
+ method: Es,
3481
3481
  headers: {
3482
- "Content-Type": Ss,
3483
- [ts.CLIENT_ID]: `${t}`
3482
+ "Content-Type": ws,
3483
+ [es.CLIENT_ID]: `${t}`
3484
3484
  },
3485
3485
  body: JSON.stringify(r)
3486
3486
  });
@@ -3494,21 +3494,21 @@ const Ce = "Your session has expired. For your security, please log in again to
3494
3494
  } catch (n) {
3495
3495
  return console.error(n), { status: oe, data: [] };
3496
3496
  }
3497
- }, ii = process.env.NODE_ENV === "production", oi = !ii, bs = {
3497
+ }, ai = process.env.NODE_ENV === "production", ii = !ai, Ss = {
3498
3498
  isLoading: !0,
3499
3499
  isAuthenticated: !1,
3500
3500
  user: void 0,
3501
3501
  logoutReason: "",
3502
3502
  debug: !1,
3503
3503
  authenticationType: ""
3504
- }, ci = (e) => {
3504
+ }, oi = (e) => {
3505
3505
  try {
3506
3506
  const t = Ma(e);
3507
3507
  return t ? t[j.USER_ID_KEY] : "";
3508
3508
  } catch {
3509
3509
  return "";
3510
3510
  }
3511
- }, li = async ({
3511
+ }, ci = async ({
3512
3512
  userId: e,
3513
3513
  clientId: t,
3514
3514
  domain: r,
@@ -3533,7 +3533,7 @@ const Ce = "Your session has expired. For your security, please log in again to
3533
3533
  status: oe
3534
3534
  };
3535
3535
  }
3536
- }, ui = async ({
3536
+ }, li = async ({
3537
3537
  username: e,
3538
3538
  password: t,
3539
3539
  clientId: r,
@@ -3578,7 +3578,7 @@ const Ce = "Your session has expired. For your security, please log in again to
3578
3578
  status: !1
3579
3579
  };
3580
3580
  }
3581
- }, di = async ({
3581
+ }, ui = async ({
3582
3582
  nonce: e,
3583
3583
  clientId: t,
3584
3584
  code_challenge: r,
@@ -3608,7 +3608,7 @@ const Ce = "Your session has expired. For your security, please log in again to
3608
3608
  data: ""
3609
3609
  };
3610
3610
  }
3611
- }, hi = async ({
3611
+ }, di = async ({
3612
3612
  clientId: e,
3613
3613
  userId: t,
3614
3614
  nonce: r,
@@ -3645,7 +3645,7 @@ const Ce = "Your session has expired. For your security, please log in again to
3645
3645
  };
3646
3646
  }
3647
3647
  };
3648
- class fi {
3648
+ class hi {
3649
3649
  constructor(t = null, r = null) {
3650
3650
  St(this, "refreshTokenPromise", null), St(this, "accessToken"), St(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
3651
3651
  }
@@ -3678,7 +3678,7 @@ class fi {
3678
3678
  }) {
3679
3679
  const i = await Ke(this.refreshToken);
3680
3680
  if (i && i.payload[j.USER_ID_KEY] !== "") {
3681
- const o = await hi({
3681
+ const o = await di({
3682
3682
  endpoint: t,
3683
3683
  clientId: r,
3684
3684
  userId: s,
@@ -3700,31 +3700,31 @@ class fi {
3700
3700
  };
3701
3701
  }
3702
3702
  }
3703
- const Pe = () => {
3704
- throw new Error(ai);
3705
- }, vs = Kt({
3703
+ const Me = () => {
3704
+ throw new Error(ni);
3705
+ }, bs = Kt({
3706
3706
  isAuthenticated: !1,
3707
3707
  isLoading: !1,
3708
- login: Pe,
3709
- logout: Pe,
3710
- getAccessToken: Pe,
3711
- getIdToken: Pe,
3712
- registeringForPasskey: Pe,
3713
- loginWithPasskey: Pe,
3708
+ login: Me,
3709
+ logout: Me,
3710
+ getAccessToken: Me,
3711
+ getIdToken: Me,
3712
+ registeringForPasskey: Me,
3713
+ loginWithPasskey: Me,
3714
3714
  logoutReason: "",
3715
3715
  authenticationType: ""
3716
- }), pi = () => ({
3717
- ...Ge(vs)
3718
- }), mi = (e) => N(
3716
+ }), fi = () => ({
3717
+ ...Ge(bs)
3718
+ }), pi = (e) => N(
3719
3719
  (...t) => {
3720
3720
  e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
3721
3721
  },
3722
3722
  [e]
3723
- ), yi = Z.createContext({
3724
- state: bs,
3723
+ ), mi = Z.createContext({
3724
+ state: Ss,
3725
3725
  dispatch: () => {
3726
3726
  }
3727
- }), gi = (e, t) => t?.type === De ? {
3727
+ }), yi = (e, t) => t?.type === De ? {
3728
3728
  ...e,
3729
3729
  isLoading: t.payload.isLoading
3730
3730
  } : t?.type === et ? {
@@ -3734,28 +3734,28 @@ const Pe = () => {
3734
3734
  user: t.payload.user,
3735
3735
  authenticationType: t.payload.authenticationType,
3736
3736
  logoutReason: ""
3737
- } : t?.type === gs ? {
3737
+ } : t?.type === ys ? {
3738
3738
  ...e,
3739
3739
  isLoading: !1,
3740
3740
  isAuthenticated: !1,
3741
3741
  user: void 0,
3742
3742
  authenticationType: "",
3743
3743
  logoutReason: t.payload.logoutReason
3744
- } : e, Ei = ({ children: e }) => {
3745
- const t = pi();
3746
- return /* @__PURE__ */ c(ds.Provider, { value: t, children: e });
3747
- }, Cr = ({
3744
+ } : e, gi = ({ children: e }) => {
3745
+ const t = fi();
3746
+ return /* @__PURE__ */ c(us.Provider, { value: t, children: e });
3747
+ }, Rr = ({
3748
3748
  children: e,
3749
3749
  sessionExpiration: t,
3750
3750
  clientId: r,
3751
3751
  domain: s = "",
3752
3752
  debug: n = !1,
3753
- endpoint: a = oi ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
3753
+ endpoint: a = ii ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
3754
3754
  }) => {
3755
- const [i, o] = zr(gi, {
3756
- ...bs,
3755
+ const [i, o] = Gr(yi, {
3756
+ ...Ss,
3757
3757
  debug: n
3758
- }), l = mi(n), f = F(!1), [d, h, , u] = je({
3758
+ }), l = pi(n), f = F(!1), [d, h, , u] = je({
3759
3759
  key: `${Qe}::${r}::@@user@@`
3760
3760
  }), [p, m, , g] = je({
3761
3761
  key: `${Qe}::${r}::@@access@@`
@@ -3763,14 +3763,14 @@ const Pe = () => {
3763
3763
  {
3764
3764
  key: `${Qe}::${r}::@@refresh@@`
3765
3765
  }
3766
- ), [R, J, , P] = je({
3766
+ ), [C, J, , M] = je({
3767
3767
  key: `${Qe}::${r}::@@nonce@@`
3768
- }), re = new fi(p, w), M = N(() => {
3769
- l("removeLocalStorage: removing local storage"), u(), g(), x(), P();
3768
+ }), re = new hi(p, w), P = N(() => {
3769
+ l("removeLocalStorage: removing local storage"), u(), g(), x(), M();
3770
3770
  }, [
3771
3771
  g,
3772
3772
  u,
3773
- P,
3773
+ M,
3774
3774
  x,
3775
3775
  l
3776
3776
  ]), I = N(
@@ -3779,20 +3779,20 @@ const Pe = () => {
3779
3779
  "removeStateAndLocalStorage: removing state and local storage with reason: ",
3780
3780
  v
3781
3781
  ), o({
3782
- type: gs,
3782
+ type: ys,
3783
3783
  payload: {
3784
3784
  logoutReason: v || Ce
3785
3785
  }
3786
- }), M(), o({ type: De, payload: { isLoading: !1 } });
3786
+ }), P(), o({ type: De, payload: { isLoading: !1 } });
3787
3787
  },
3788
- [M, l]
3788
+ [P, l]
3789
3789
  ), V = N(
3790
3790
  async (v) => {
3791
3791
  l("invalidateAndLogout: invalidating and logging out");
3792
- const { user: _ } = i, T = _?.userId || ci(d);
3792
+ const { user: _ } = i, T = _?.userId || oi(d);
3793
3793
  T || l(
3794
3794
  "invalidateAndLogout: user cannot be identified, logging out without userId"
3795
- ), await li({
3795
+ ), await ci({
3796
3796
  userId: T,
3797
3797
  clientId: r,
3798
3798
  domain: s,
@@ -3810,7 +3810,7 @@ const Pe = () => {
3810
3810
  a
3811
3811
  ]
3812
3812
  );
3813
- A(() => {
3813
+ R(() => {
3814
3814
  if (!f.current)
3815
3815
  return i.isLoading && d !== null ? (async () => {
3816
3816
  try {
@@ -3835,18 +3835,18 @@ const Pe = () => {
3835
3835
  f.current = !0;
3836
3836
  };
3837
3837
  }, [i.isLoading, d, V, l]);
3838
- const O = async (v, _) => {
3839
- o({ type: De, payload: { isLoading: !0 } }), M();
3838
+ const k = async (v, _) => {
3839
+ o({ type: De, payload: { isLoading: !0 } }), P();
3840
3840
  const T = It();
3841
3841
  J(T), l("login: Logging in with password");
3842
- const { code_verifier: ye, code_challenge: ge } = await Fa(), ir = await di({
3842
+ const { code_verifier: ye, code_challenge: ge } = await Ha(), ar = await ui({
3843
3843
  endpoint: a,
3844
3844
  nonce: T,
3845
3845
  clientId: r,
3846
3846
  code_challenge: ge
3847
3847
  });
3848
- if (ir.status) {
3849
- const Ae = await ui({
3848
+ if (ar.status) {
3849
+ const Ae = await li({
3850
3850
  endpoint: a,
3851
3851
  username: v,
3852
3852
  password: _,
@@ -3854,7 +3854,7 @@ const Pe = () => {
3854
3854
  sessionExpiration: t,
3855
3855
  nonce: T,
3856
3856
  type: $e.CODE,
3857
- code: ir.data,
3857
+ code: ar.data,
3858
3858
  code_verifier: ye,
3859
3859
  domain: s,
3860
3860
  ua: navigator.userAgent
@@ -3872,8 +3872,8 @@ const Pe = () => {
3872
3872
  }), !0) : (I(_t), !1);
3873
3873
  }
3874
3874
  return !1;
3875
- }, C = async (v) => {
3876
- v?.preventDefault(), await V(si);
3875
+ }, O = async (v) => {
3876
+ v?.preventDefault(), await V(ri);
3877
3877
  }, D = async () => {
3878
3878
  const { isAuthenticated: v, user: _ } = i;
3879
3879
  try {
@@ -3889,7 +3889,7 @@ const Pe = () => {
3889
3889
  endpoint: a,
3890
3890
  clientId: r,
3891
3891
  userId: _.userId,
3892
- nonce: R,
3892
+ nonce: C,
3893
3893
  domain: s
3894
3894
  });
3895
3895
  return T.status && T.status === "success" && T.newAccessToken ? (m(T.newAccessToken), b(T.newRefreshToken), T.newAccessToken) : (l(
@@ -3902,7 +3902,7 @@ const Pe = () => {
3902
3902
  } catch {
3903
3903
  return l(
3904
3904
  "getAccessToken: exception occurred, invalidating and logging out"
3905
- ), await V(ni), "";
3905
+ ), await V(si), "";
3906
3906
  }
3907
3907
  }, ee = () => i.isAuthenticated && d ? d : "", me = async () => {
3908
3908
  const { user: v } = i;
@@ -3919,7 +3919,7 @@ const Pe = () => {
3919
3919
  });
3920
3920
  if (_.status)
3921
3921
  try {
3922
- const T = await Wa({
3922
+ const T = await qa({
3923
3923
  optionsJSON: _.data
3924
3924
  });
3925
3925
  return _ = await ke({
@@ -3950,7 +3950,7 @@ const Pe = () => {
3950
3950
  }
3951
3951
  return !1;
3952
3952
  }, _e = async () => {
3953
- o({ type: De, payload: { isLoading: !0 } }), M();
3953
+ o({ type: De, payload: { isLoading: !0 } }), P();
3954
3954
  const v = It();
3955
3955
  J(v), l("loginWithPasskey");
3956
3956
  const _ = It();
@@ -3966,7 +3966,7 @@ const Pe = () => {
3966
3966
  });
3967
3967
  if (T.status)
3968
3968
  try {
3969
- const ye = await Ja({
3969
+ const ye = await Qa({
3970
3970
  optionsJSON: T.data
3971
3971
  });
3972
3972
  return T = await ke({
@@ -4012,19 +4012,19 @@ const Pe = () => {
4012
4012
  }
4013
4013
  return !1;
4014
4014
  };
4015
- return /* @__PURE__ */ c(yi.Provider, { value: { state: i, dispatch: o }, children: /* @__PURE__ */ c(
4016
- vs.Provider,
4015
+ return /* @__PURE__ */ c(mi.Provider, { value: { state: i, dispatch: o }, children: /* @__PURE__ */ c(
4016
+ bs.Provider,
4017
4017
  {
4018
4018
  value: {
4019
4019
  ...i,
4020
- login: O,
4021
- logout: C,
4020
+ login: k,
4021
+ logout: O,
4022
4022
  getAccessToken: D,
4023
4023
  getIdToken: ee,
4024
4024
  registeringForPasskey: me,
4025
4025
  loginWithPasskey: _e
4026
4026
  },
4027
- children: /* @__PURE__ */ c(Ei, { children: e })
4027
+ children: /* @__PURE__ */ c(gi, { children: e })
4028
4028
  }
4029
4029
  ) });
4030
4030
  };
@@ -4041,12 +4041,12 @@ try {
4041
4041
  });
4042
4042
  } catch {
4043
4043
  }
4044
- const Ts = () => {
4045
- const e = Ge(ds);
4044
+ const vs = () => {
4045
+ const e = Ge(us);
4046
4046
  if (!e)
4047
4047
  throw new Error("useAuth must be used within an AuthHookProvider");
4048
4048
  return e;
4049
- }, Fc = "I'm having trouble right now. Please try again later.", Bc = "action-search", Kc = "action-sort", Vc = "action-toggle-prompt", Gc = "action-reset-prompt", Is = "sassy-saint-", zc = "search", qc = "sort", Wc = "sort-timestamp", jc = "sort-token-usage", Qc = "sort-memory-direction", Jc = "sort-memory-column", Yc = "favorites-only", Xc = "private-disclosure", Zc = "reasoning-disclosure", _s = "service-worker", el = "chat-id", tl = "sassysaint-oled-mode", rl = "sassysaint-full-screen", Or = "data-oled-mode", kr = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", sl = 20, nl = 30, al = "av-prompt", il = "av-prompt-editable", ol = "size-5 sm:size-4", cl = 30, ll = 15, ul = 130, dl = 160, hl = 16, fl = 24, pl = 76, ml = 76;
4049
+ }, Hc = "I'm having trouble right now. Please try again later.", Fc = "action-search", Bc = "action-sort", Kc = "action-toggle-prompt", Vc = "action-reset-prompt", Ts = "sassy-saint-", Gc = "search", zc = "sort", qc = "sort-timestamp", Wc = "sort-token-usage", jc = "sort-memory-direction", Qc = "sort-memory-column", Jc = "favorites-only", Yc = "private-disclosure", Xc = "reasoning-disclosure", Is = "service-worker", Zc = "chat-id", el = "sassysaint-oled-mode", tl = "sassysaint-full-screen", Cr = "data-oled-mode", Or = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", rl = 20, sl = 30, nl = "av-prompt", al = "av-prompt-editable", il = "size-5 sm:size-4", ol = 30, cl = 15, ll = 130, ul = 160, dl = 16, hl = 24, fl = 76, pl = 76;
4050
4050
  let At = null, de = !1;
4051
4051
  typeof window < "u" && "serviceWorker" in navigator && navigator.serviceWorker.addEventListener("controllerchange", () => {
4052
4052
  de && (de = !1, window.location.reload());
@@ -4056,17 +4056,17 @@ function Jt() {
4056
4056
  }
4057
4057
  function Ht() {
4058
4058
  const e = localStorage.getItem(
4059
- Is + _s
4059
+ Ts + Is
4060
4060
  );
4061
4061
  return e === null ? !1 : e === "true";
4062
4062
  }
4063
- function wi(e) {
4063
+ function Ei(e) {
4064
4064
  localStorage.setItem(
4065
- Is + _s,
4065
+ Ts + Is,
4066
4066
  e.toString()
4067
4067
  );
4068
4068
  }
4069
- async function As() {
4069
+ async function _s() {
4070
4070
  if (!Ht())
4071
4071
  return !1;
4072
4072
  if (!Jt())
@@ -4086,7 +4086,7 @@ async function As() {
4086
4086
  return console.error("[SW] Service worker registration failed:", e), !1;
4087
4087
  }
4088
4088
  }
4089
- async function Si() {
4089
+ async function wi() {
4090
4090
  if (!Jt())
4091
4091
  return !1;
4092
4092
  try {
@@ -4096,14 +4096,14 @@ async function Si() {
4096
4096
  return console.error("[SW] Service worker un-registration failed:", e), !1;
4097
4097
  }
4098
4098
  }
4099
- async function yl(e) {
4100
- if (wi(e), e) {
4099
+ async function ml(e) {
4100
+ if (Ei(e), e) {
4101
4101
  de = !0;
4102
4102
  try {
4103
4103
  sessionStorage.setItem("sw-toggle-pending", "enabled");
4104
4104
  } catch {
4105
4105
  }
4106
- await As(), navigator.serviceWorker.controller && de && (de = !1, window.location.reload());
4106
+ await _s(), navigator.serviceWorker.controller && de && (de = !1, window.location.reload());
4107
4107
  try {
4108
4108
  navigator.serviceWorker.ready.then(() => {
4109
4109
  de && Ht() && (de = !1, window.location.reload());
@@ -4118,14 +4118,14 @@ async function yl(e) {
4118
4118
  } catch {
4119
4119
  }
4120
4120
  try {
4121
- Jt() && await bi();
4121
+ Jt() && await Si();
4122
4122
  } catch (t) {
4123
4123
  console.warn("[SW] Failed to invalidate cache:", t);
4124
4124
  }
4125
- await Si(), window.location.reload();
4125
+ await wi(), window.location.reload();
4126
4126
  }
4127
4127
  }
4128
- async function bi() {
4128
+ async function Si() {
4129
4129
  try {
4130
4130
  if ("caches" in window) {
4131
4131
  const e = await caches.keys();
@@ -4151,7 +4151,7 @@ async function bi() {
4151
4151
  function Rt() {
4152
4152
  return "unknown";
4153
4153
  }
4154
- async function gl(e = {}) {
4154
+ async function yl(e = {}) {
4155
4155
  const { urlLimitPerCache: t } = e;
4156
4156
  if (!("caches" in window))
4157
4157
  return { version: Rt(), caches: [], totalItems: 0 };
@@ -4178,34 +4178,34 @@ async function gl(e = {}) {
4178
4178
  return console.warn("[SW] getCacheInfo failed:", r), { version: Rt(), caches: [], totalItems: 0 };
4179
4179
  }
4180
4180
  }
4181
- let vi = "standard", Ft = { LIGHT: "light", DARK: "dark" }, Pr = { NORMAL: "normal", OLED: "oled" };
4182
- var k, Ti = ((k = {})[k.NewChat = 0] = "NewChat", k[k.Prompts = 1] = "Prompts", k[k.Attachment = 2] = "Attachment", k[k.PrivateChat = 3] = "PrivateChat", k[k.SaveChat = 4] = "SaveChat", k[k.Reasoning = 5] = "Reasoning", k[k.Send = 6] = "Send", k[k.Header = 7] = "Header", k[k.Provider = 8] = "Provider", k[k.Logo = 9] = "Logo", k[k.Placeholder = 10] = "Placeholder", k);
4183
- let El = "user", wl = "assistant", Sl = "data", mt = "OpenAI", Yt = "Anthropic", Xt = "Google", Ii = "Perplexity", _i = mt, Ai = [mt, Yt, Xt], Rs = "gpt-5", Cs = "gpt-5-mini", Os = "gpt-5-nano", ks = "gpt-4.1-nano", Ps = "claude-haiku-4-5", Ms = "claude-sonnet-4-5", Ns = "gemini-2.5-flash", xs = "gemini-2.5-pro", Ls = "sonar", Ds = "sonar-pro", bl = { [Rs]: "GPT-5", [Cs]: "GPT-5 Mini", [Os]: "GPT-5 Nano", [ks]: "GPT-4.1 Nano", [Ps]: "Claude Haiku 4.5", [Ms]: "Claude Sonnet 4.5", [Ns]: "Gemini 2.5 Flash", [xs]: "Gemini 2.5 Pro", [Ls]: "Sonar", [Ds]: "Sonar Pro" }, $s = { [mt]: [ks, Rs, Cs, Os], [Yt]: [Ps, Ms], [Xt]: [Ns, xs], [Ii]: [Ls, Ds] }, vl = "x-diggidy-chat-id", Tl = "timestamp", Il = "tokenUsage", L = "Diggidy", _l = { TOOL: { MEMORIES: "getUserMemories" }, ADDON: { ATTACHMENTS: "addon:attachments", REASONING: "addon:reasoning" } }, Al = (e) => {
4181
+ let bi = "standard", Ft = { LIGHT: "light", DARK: "dark" }, kr = { NORMAL: "normal", OLED: "oled" };
4182
+ var A, vi = ((A = {})[A.NewChat = 0] = "NewChat", A[A.Prompts = 1] = "Prompts", A[A.Attachment = 2] = "Attachment", A[A.PrivateChat = 3] = "PrivateChat", A[A.SaveChat = 4] = "SaveChat", A[A.Reasoning = 5] = "Reasoning", A[A.Send = 6] = "Send", A[A.Header = 7] = "Header", A[A.Provider = 8] = "Provider", A[A.Logo = 9] = "Logo", A[A.Placeholder = 10] = "Placeholder", A[A.Footer = 11] = "Footer", A);
4183
+ let gl = "user", El = "assistant", wl = "data", mt = "OpenAI", Yt = "Anthropic", Xt = "Google", Ti = "Perplexity", Ii = mt, _i = [mt, Yt, Xt], As = "gpt-5", Rs = "gpt-5-mini", Cs = "gpt-5-nano", Os = "gpt-4.1-nano", ks = "claude-haiku-4-5", Ms = "claude-sonnet-4-5", Ps = "gemini-2.5-flash", Ns = "gemini-2.5-pro", xs = "sonar", Ls = "sonar-pro", Sl = { [As]: "GPT-5", [Rs]: "GPT-5 Mini", [Cs]: "GPT-5 Nano", [Os]: "GPT-4.1 Nano", [ks]: "Claude Haiku 4.5", [Ms]: "Claude Sonnet 4.5", [Ps]: "Gemini 2.5 Flash", [Ns]: "Gemini 2.5 Pro", [xs]: "Sonar", [Ls]: "Sonar Pro" }, Ds = { [mt]: [Os, As, Rs, Cs], [Yt]: [ks, Ms], [Xt]: [Ps, Ns], [Ti]: [xs, Ls] }, bl = "x-diggidy-chat-id", vl = "timestamp", Tl = "tokenUsage", L = "Diggidy", Il = { TOOL: { MEMORIES: "getUserMemories" }, ADDON: { ATTACHMENTS: "addon:attachments", REASONING: "addon:reasoning" } }, _l = (e) => {
4184
4184
  if (!e || e.length === 0) return [];
4185
4185
  let t = /* @__PURE__ */ new Set();
4186
- for (let r of e) for (let [s, n] of Object.entries($s)) n.includes(r) && (s === mt || s === Yt || s === Xt) && t.add(s);
4187
- return Ai.filter((r) => t.has(r));
4188
- }, Ri = (e) => {
4186
+ for (let r of e) for (let [s, n] of Object.entries(Ds)) n.includes(r) && (s === mt || s === Yt || s === Xt) && t.add(s);
4187
+ return _i.filter((r) => t.has(r));
4188
+ }, Ai = (e) => {
4189
4189
  let t = /* @__PURE__ */ new Map();
4190
4190
  if (!e || e.length === 0) return t;
4191
- for (let r of e) for (let [s, n] of Object.entries($s)) if (n.includes(r)) {
4191
+ for (let r of e) for (let [s, n] of Object.entries(Ds)) if (n.includes(r)) {
4192
4192
  t.has(s) || t.set(s, []), t.get(s)?.push(r);
4193
4193
  break;
4194
4194
  }
4195
4195
  return t;
4196
- }, Rl = (e) => {
4197
- for (let t of Ri(e).values()) if (t.length > 1) return !0;
4196
+ }, Al = (e) => {
4197
+ for (let t of Ai(e).values()) if (t.length > 1) return !0;
4198
4198
  return !1;
4199
- }, Cl = (e, t) => !!e && !!t && t.length !== 0 && t.includes(e);
4200
- function Ci(e) {
4199
+ }, Rl = (e, t) => !!e && !!t && t.length !== 0 && t.includes(e);
4200
+ function Ri(e) {
4201
4201
  return e ? new Set(e) : null;
4202
4202
  }
4203
- function Oi(e, t, r) {
4203
+ function Ci(e, t, r) {
4204
4204
  if (!t || Array.isArray(t) && t.length === 0) return !0;
4205
- let s = e instanceof Set ? e : Ci(e);
4205
+ let s = e instanceof Set ? e : Ri(e);
4206
4206
  return !!s && s.size !== 0 && (typeof t == "string" ? s.has(t) : r?.any === !0 ? t.some((n) => s.has(n)) : t.every((n) => s.has(n)));
4207
4207
  }
4208
- var Ol = "subtle";
4208
+ var Cl = "subtle";
4209
4209
  const U = {
4210
4210
  GET_LOCATION: `query GetLocation($latitude: Float!, $longitude: Float!) {
4211
4211
  location(latitude: $latitude, longitude: $longitude) {
@@ -4541,12 +4541,12 @@ const U = {
4541
4541
  schema: U.RESTORE_MEMORY,
4542
4542
  method: "restoreMemory"
4543
4543
  }
4544
- }, ki = process.env.PUBLIC_SASSY_API_SERVER_URL, ut = async ({
4544
+ }, Oi = process.env.PUBLIC_SASSY_API_SERVER_URL, ut = async ({
4545
4545
  query: e,
4546
4546
  data: t,
4547
4547
  headers: r = {},
4548
4548
  ...s
4549
- }) => await fetch(`${ki}/graphql`, {
4549
+ }) => await fetch(`${Oi}/graphql`, {
4550
4550
  method: "POST",
4551
4551
  credentials: "include",
4552
4552
  headers: {
@@ -4591,7 +4591,7 @@ const U = {
4591
4591
  } catch (r) {
4592
4592
  throw console.error(r), r;
4593
4593
  }
4594
- }, kl = async ({
4594
+ }, Ol = async ({
4595
4595
  provider: e,
4596
4596
  model: t,
4597
4597
  accessToken: r,
@@ -4606,7 +4606,7 @@ const U = {
4606
4606
  type: K.SET_USER_PREFERENCES,
4607
4607
  params: n
4608
4608
  });
4609
- }, Pl = async ({
4609
+ }, kl = async ({
4610
4610
  plan: e,
4611
4611
  accessToken: t,
4612
4612
  username: r
@@ -4633,7 +4633,7 @@ const U = {
4633
4633
  type: K.GET_SERVER_CAPABILITIES,
4634
4634
  noAuth: !0
4635
4635
  })
4636
- }), Nl = () => fe({
4636
+ }), Pl = () => fe({
4637
4637
  queryKey: [B.CHANGELOGS],
4638
4638
  queryFn: async () => await pe({
4639
4639
  type: K.GET_CHANGELOGS,
@@ -4642,7 +4642,7 @@ const U = {
4642
4642
  client: !0
4643
4643
  }
4644
4644
  })
4645
- }), Pi = ({
4645
+ }), ki = ({
4646
4646
  user: e,
4647
4647
  getAccessToken: t
4648
4648
  }) => fe({
@@ -4654,7 +4654,7 @@ const U = {
4654
4654
  type: K.GET_USER_PREFERENCES,
4655
4655
  getAccessToken: t
4656
4656
  })
4657
- }), xl = ({
4657
+ }), Nl = ({
4658
4658
  user: e,
4659
4659
  getAccessToken: t
4660
4660
  }) => fe({
@@ -4666,7 +4666,7 @@ const U = {
4666
4666
  type: K.GET_CHATS_STATS,
4667
4667
  getAccessToken: t
4668
4668
  })
4669
- }), Ll = ({
4669
+ }), xl = ({
4670
4670
  user: e,
4671
4671
  searchString: t,
4672
4672
  sortDirection: r,
@@ -4690,7 +4690,7 @@ const U = {
4690
4690
  type: K.GET_CHATS,
4691
4691
  getAccessToken: n
4692
4692
  })
4693
- }), Dl = ({
4693
+ }), Ll = ({
4694
4694
  chatId: e,
4695
4695
  getAccessToken: t,
4696
4696
  enabled: r = !0
@@ -4702,7 +4702,7 @@ const U = {
4702
4702
  type: K.GET_CHAT,
4703
4703
  getAccessToken: t
4704
4704
  })
4705
- }), $l = ({
4705
+ }), Dl = ({
4706
4706
  getAccessToken: e
4707
4707
  }) => {
4708
4708
  const t = ce();
@@ -4725,7 +4725,7 @@ const U = {
4725
4725
  t.invalidateQueries({ queryKey: [B.CHATS, s.userId] });
4726
4726
  }
4727
4727
  });
4728
- }, Ul = ({
4728
+ }, $l = ({
4729
4729
  getAccessToken: e
4730
4730
  }) => {
4731
4731
  const t = ce();
@@ -4742,7 +4742,7 @@ const U = {
4742
4742
  t.invalidateQueries({ queryKey: [B.CHATS, s.userId] });
4743
4743
  }
4744
4744
  });
4745
- }, Hl = ({
4745
+ }, Ul = ({
4746
4746
  getAccessToken: e
4747
4747
  }) => {
4748
4748
  const t = ce();
@@ -4759,7 +4759,7 @@ const U = {
4759
4759
  t.invalidateQueries({ queryKey: [B.CHATS, s.userId] });
4760
4760
  }
4761
4761
  });
4762
- }, Fl = ({
4762
+ }, Hl = ({
4763
4763
  user: e,
4764
4764
  month: t,
4765
4765
  year: r = (/* @__PURE__ */ new Date()).getFullYear().toString(),
@@ -4777,7 +4777,7 @@ const U = {
4777
4777
  type: K.GET_USAGE,
4778
4778
  getAccessToken: s
4779
4779
  })
4780
- }), Bl = ({
4780
+ }), Fl = ({
4781
4781
  user: e,
4782
4782
  query: t,
4783
4783
  getAccessToken: r,
@@ -4790,7 +4790,7 @@ const U = {
4790
4790
  type: K.GET_USER_MEMORIES,
4791
4791
  getAccessToken: r
4792
4792
  })
4793
- }), Kl = ({
4793
+ }), Bl = ({
4794
4794
  getAccessToken: e
4795
4795
  }) => {
4796
4796
  const t = ce();
@@ -4814,7 +4814,7 @@ const U = {
4814
4814
  });
4815
4815
  }
4816
4816
  });
4817
- }, Vl = ({
4817
+ }, Kl = ({
4818
4818
  getAccessToken: e
4819
4819
  }) => {
4820
4820
  const t = ce();
@@ -4838,7 +4838,7 @@ const U = {
4838
4838
  });
4839
4839
  }
4840
4840
  });
4841
- }, Gl = ({
4841
+ }, Vl = ({
4842
4842
  getAccessToken: e
4843
4843
  }) => {
4844
4844
  const t = ce();
@@ -4857,7 +4857,7 @@ const U = {
4857
4857
  });
4858
4858
  }
4859
4859
  });
4860
- }, zl = ({
4860
+ }, Gl = ({
4861
4861
  getAccessToken: e
4862
4862
  }) => {
4863
4863
  const t = ce();
@@ -4876,7 +4876,7 @@ const U = {
4876
4876
  });
4877
4877
  }
4878
4878
  });
4879
- }, ql = ({
4879
+ }, zl = ({
4880
4880
  user: e,
4881
4881
  query: t,
4882
4882
  getAccessToken: r,
@@ -4889,7 +4889,7 @@ const U = {
4889
4889
  type: K.GET_EXPIRED_MEMORIES,
4890
4890
  getAccessToken: r
4891
4891
  })
4892
- }), Wl = ({
4892
+ }), ql = ({
4893
4893
  getAccessToken: e
4894
4894
  }) => {
4895
4895
  const t = ce();
@@ -4949,7 +4949,7 @@ const U = {
4949
4949
  } catch (n) {
4950
4950
  return Promise.reject(n);
4951
4951
  }
4952
- }, Us = Kt(
4952
+ }, $s = Kt(
4953
4953
  void 0
4954
4954
  ), Mr = {
4955
4955
  capabilities: /* @__PURE__ */ new Set(),
@@ -4983,19 +4983,19 @@ const U = {
4983
4983
  }
4984
4984
  return !1;
4985
4985
  }, [a]);
4986
- A(() => {
4986
+ R(() => {
4987
4987
  s.status === "idle" && i();
4988
4988
  }, [i, s.status]);
4989
- const o = Pi({ user: e, getAccessToken: t });
4990
- A(() => {
4989
+ const o = ki({ user: e, getAccessToken: t });
4990
+ R(() => {
4991
4991
  o.isLoading && s.status === "idle" && n((h) => ({ ...h, status: "loading" }));
4992
- }, [o.isLoading, s.status]), A(() => {
4992
+ }, [o.isLoading, s.status]), R(() => {
4993
4993
  o.isError && n((h) => ({
4994
4994
  ...h,
4995
4995
  status: "error",
4996
4996
  error: String(o.error)
4997
4997
  }));
4998
- }, [o.isError, o.error]), A(() => {
4998
+ }, [o.isError, o.error]), R(() => {
4999
4999
  const h = o.data?.entitlements;
5000
5000
  if (h && (n({
5001
5001
  capabilities: new Set(h.capabilities || []),
@@ -5046,33 +5046,33 @@ const U = {
5046
5046
  }, [a]), d = He(
5047
5047
  () => ({
5048
5048
  ...s,
5049
- check: (h, u) => s.status !== "ready" ? !1 : Oi(s.capabilities, h, { any: u?.any }),
5049
+ check: (h, u) => s.status !== "ready" ? !1 : Ci(s.capabilities, h, { any: u?.any }),
5050
5050
  loadFromProfile: l,
5051
5051
  reset: f
5052
5052
  }),
5053
5053
  [s, l, f]
5054
5054
  );
5055
- return /* @__PURE__ */ c(Us.Provider, { value: d, children: r });
5055
+ return /* @__PURE__ */ c($s.Provider, { value: d, children: r });
5056
5056
  };
5057
- function jl() {
5058
- const e = Ge(Us);
5057
+ function Wl() {
5058
+ const e = Ge($s);
5059
5059
  if (!e)
5060
5060
  throw new Error("useEntitlements must be used within EntitlementsProvider");
5061
5061
  return e;
5062
5062
  }
5063
- const Nr = (e) => Number.isFinite(e) ? e : 0;
5064
- function Ni(e) {
5063
+ const Pr = (e) => Number.isFinite(e) ? e : 0;
5064
+ function Pi(e) {
5065
5065
  return {
5066
5066
  days: Math.trunc(e / 864e5),
5067
5067
  hours: Math.trunc(e / 36e5 % 24),
5068
5068
  minutes: Math.trunc(e / 6e4 % 60),
5069
5069
  seconds: Math.trunc(e / 1e3 % 60),
5070
5070
  milliseconds: Math.trunc(e % 1e3),
5071
- microseconds: Math.trunc(Nr(e * 1e3) % 1e3),
5072
- nanoseconds: Math.trunc(Nr(e * 1e6) % 1e3)
5071
+ microseconds: Math.trunc(Pr(e * 1e3) % 1e3),
5072
+ nanoseconds: Math.trunc(Pr(e * 1e6) % 1e3)
5073
5073
  };
5074
5074
  }
5075
- function xi(e) {
5075
+ function Ni(e) {
5076
5076
  return {
5077
5077
  days: e / 86400000n,
5078
5078
  hours: e / 3600000n % 24n,
@@ -5083,20 +5083,20 @@ function xi(e) {
5083
5083
  nanoseconds: 0n
5084
5084
  };
5085
5085
  }
5086
- function Li(e) {
5086
+ function xi(e) {
5087
5087
  switch (typeof e) {
5088
5088
  case "number": {
5089
5089
  if (Number.isFinite(e))
5090
- return Ni(e);
5090
+ return Pi(e);
5091
5091
  break;
5092
5092
  }
5093
5093
  case "bigint":
5094
- return xi(e);
5094
+ return Ni(e);
5095
5095
  }
5096
5096
  throw new TypeError("Expected a finite number or bigint");
5097
5097
  }
5098
- const Di = (e) => e === 0 || e === 0n, $i = (e, t) => t === 1 || t === 1n ? e : `${e}s`, Ui = 1e-7, Hi = 24n * 60n * 60n * 1000n;
5099
- function Fi(e, t) {
5098
+ const Li = (e) => e === 0 || e === 0n, Di = (e, t) => t === 1 || t === 1n ? e : `${e}s`, $i = 1e-7, Ui = 24n * 60n * 60n * 1000n;
5099
+ function Hi(e, t) {
5100
5100
  const r = typeof e == "bigint";
5101
5101
  if (!r && !Number.isFinite(e))
5102
5102
  throw new TypeError("Expected a finite number or bigint");
@@ -5105,18 +5105,18 @@ function Fi(e, t) {
5105
5105
  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);
5106
5106
  let n = [];
5107
5107
  const a = (d, h) => {
5108
- const u = Math.floor(d * 10 ** h + Ui);
5108
+ const u = Math.floor(d * 10 ** h + $i);
5109
5109
  return (Math.round(u) / 10 ** h).toFixed(h);
5110
5110
  }, i = (d, h, u, p) => {
5111
- if (!((n.length === 0 || !t.colonNotation) && Di(d) && !(t.colonNotation && u === "m"))) {
5111
+ if (!((n.length === 0 || !t.colonNotation) && Li(d) && !(t.colonNotation && u === "m"))) {
5112
5112
  if (p ??= String(d), t.colonNotation) {
5113
5113
  const m = p.includes(".") ? p.split(".")[0].length : p.length, g = n.length > 0 ? 2 : 1;
5114
5114
  p = "0".repeat(Math.max(0, g - m)) + p;
5115
5115
  } else
5116
- p += t.verbose ? " " + $i(h, d) : u;
5116
+ p += t.verbose ? " " + Di(h, d) : u;
5117
5117
  n.push(p);
5118
5118
  }
5119
- }, o = Li(e), l = BigInt(o.days);
5119
+ }, o = xi(e), l = BigInt(o.days);
5120
5120
  if (t.hideYearAndDays ? i(BigInt(l) * 24n + BigInt(o.hours), "hour", "h") : (t.hideYear ? i(l, "day", "d") : (i(l / 365n, "year", "y"), i(l % 365n, "day", "d")), i(Number(o.hours), "hour", "h")), i(Number(o.minutes), "minute", "m"), !t.hideSeconds)
5121
5121
  if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3 && !t.subSecondsAsDecimals) {
5122
5122
  const d = Number(o.seconds), h = Number(o.milliseconds), u = Number(o.microseconds), p = Number(o.nanoseconds);
@@ -5132,7 +5132,7 @@ function Fi(e, t) {
5132
5132
  );
5133
5133
  }
5134
5134
  } else {
5135
- const d = (r ? Number(e % Hi) : e) / 1e3 % 60, h = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, u = a(d, h), p = t.keepDecimalsOnWholeSeconds ? u : u.replace(/\.0+$/, "");
5135
+ const d = (r ? Number(e % Ui) : e) / 1e3 % 60, h = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, u = a(d, h), p = t.keepDecimalsOnWholeSeconds ? u : u.replace(/\.0+$/, "");
5136
5136
  i(Number.parseFloat(p), "second", "s", p);
5137
5137
  }
5138
5138
  if (n.length === 0)
@@ -5140,7 +5140,7 @@ function Fi(e, t) {
5140
5140
  const f = t.colonNotation ? ":" : " ";
5141
5141
  return typeof t.unitCount == "number" && (n = n.slice(0, Math.max(t.unitCount, 1))), s + n.join(f);
5142
5142
  }
5143
- const Hs = process.env.NODE_ENV === "production", Zt = !Hs, Fs = Zt ? "gizmette.local.com" : "gizmette.com", er = (e, t) => {
5143
+ const Us = process.env.NODE_ENV === "production", Zt = !Us, Hs = Zt ? "gizmette.local.com" : "gizmette.com", er = (e, t) => {
5144
5144
  const r = e < 0 ? t ? "W" : "S" : t ? "E" : "N", s = 0 | Math.abs(e), n = 0 | Math.abs(e) * 60 % 60, a = (0 | Math.abs(e) * 60 % 1 * 6e3) / 100;
5145
5145
  return {
5146
5146
  dir: r,
@@ -5148,17 +5148,17 @@ const Hs = process.env.NODE_ENV === "production", Zt = !Hs, Fs = Zt ? "gizmette.
5148
5148
  min: n,
5149
5149
  sec: a
5150
5150
  };
5151
- }, Bi = (e) => {
5151
+ }, Fi = (e) => {
5152
5152
  if (!e && e !== 0)
5153
5153
  return "N/A";
5154
5154
  const t = er(e, !1);
5155
5155
  return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
5156
- }, Ki = (e) => {
5156
+ }, Bi = (e) => {
5157
5157
  if (!e && e !== 0)
5158
5158
  return "N/A";
5159
5159
  const t = er(e, !0);
5160
5160
  return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
5161
- }, Vi = async () => {
5161
+ }, Ki = async () => {
5162
5162
  const e = {
5163
5163
  /**
5164
5164
  * A boolean value that indicates the application would like to receive the
@@ -5201,18 +5201,18 @@ const Hs = process.env.NODE_ENV === "production", Zt = !Hs, Fs = Zt ? "gizmette.
5201
5201
  e
5202
5202
  );
5203
5203
  });
5204
- }, Gi = (e) => window.btoa(
5204
+ }, Vi = (e) => window.btoa(
5205
5205
  encodeURIComponent(e).replace(
5206
5206
  /%([0-9A-F]{2})/g,
5207
5207
  function(r, s) {
5208
5208
  return String.fromCharCode(+`0x${s}`);
5209
5209
  }
5210
5210
  )
5211
- ), zi = (e) => decodeURIComponent(
5211
+ ), Gi = (e) => decodeURIComponent(
5212
5212
  window.atob(e).split("").map(function(t) {
5213
5213
  return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
5214
5214
  }).join("")
5215
- ), qi = (e, t, r) => t ? Object.keys(t).map((s) => /* @__PURE__ */ c("dl", { className: "my-0", children: /* @__PURE__ */ E("div", { className: "flex items-center justify-between", children: [
5215
+ ), zi = (e, t, r) => t ? Object.keys(t).map((s) => /* @__PURE__ */ c("dl", { className: "my-0", children: /* @__PURE__ */ E("div", { className: "flex items-center justify-between", children: [
5216
5216
  /* @__PURE__ */ c(
5217
5217
  "dt",
5218
5218
  {
@@ -5234,7 +5234,7 @@ const Hs = process.env.NODE_ENV === "production", Zt = !Hs, Fs = Zt ? "gizmette.
5234
5234
  }
5235
5235
  )
5236
5236
  ] }) }, `${e}-${s}`)) : null;
5237
- function Wi({
5237
+ function qi({
5238
5238
  data: e,
5239
5239
  formatter: t = (r) => r
5240
5240
  }) {
@@ -5246,22 +5246,22 @@ function Wi({
5246
5246
  );
5247
5247
  return t(s ? s / r.length : 0);
5248
5248
  }
5249
- const ji = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Qi = new Intl.NumberFormat("en", {
5249
+ const Wi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, ji = new Intl.NumberFormat("en", {
5250
5250
  style: "decimal",
5251
5251
  signDisplay: "never",
5252
5252
  minimumFractionDigits: 0,
5253
5253
  maximumFractionDigits: 0
5254
- }), Ji = (e) => e > 0 ? Fi(e, {
5254
+ }), Qi = (e) => e > 0 ? Hi(e, {
5255
5255
  secondsDecimalDigits: 2,
5256
5256
  unitCount: 2
5257
- }) : "N/A", Bs = ({
5257
+ }) : "N/A", Fs = ({
5258
5258
  isAuthenticated: e,
5259
5259
  extraClass: t,
5260
5260
  oledMode: r
5261
5261
  }) => y("px-4", "flex-1 overflow-y-auto", e ? "pt-0" : "pt-10", t, {
5262
5262
  "bg-slate-900/95 dark:bg-slate-900": r,
5263
5263
  "bg-slate-900": !r
5264
- }), Ks = ({
5264
+ }), Bs = ({
5265
5265
  extraClass: e,
5266
5266
  fullScreen: t
5267
5267
  } = {}) => y(
@@ -5274,21 +5274,21 @@ const ji = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5274
5274
  "md:max-w-svw": t
5275
5275
  },
5276
5276
  e
5277
- ), Yi = (e, t) => t === 1 ? e : `${e}s`, Xi = (e, t) => {
5277
+ ), Ji = (e, t) => t === 1 ? e : `${e}s`, Yi = (e, t) => {
5278
5278
  let r;
5279
5279
  return (...s) => {
5280
5280
  window.clearTimeout(r), r = window.setTimeout(() => e(...s), t);
5281
5281
  };
5282
- }, Vs = () => !!window?.__VERSINI_DIGGIDY_TAURI__, Gs = () => window.innerWidth < 403, zs = () => window.innerWidth >= 403 && window.innerWidth <= 1220, Zi = () => {
5283
- const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = Gs(), s = navigator.maxTouchPoints > 1;
5282
+ }, Ks = () => !!window?.__VERSINI_DIGGIDY_TAURI__, Vs = () => window.innerWidth < 403, Gs = () => window.innerWidth >= 403 && window.innerWidth <= 1220, Xi = () => {
5283
+ const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = Vs(), s = navigator.maxTouchPoints > 1;
5284
5284
  return e && t && r && s;
5285
- }, eo = () => {
5286
- const e = ["iPad Simulator", "iPad"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = zs(), r = navigator.maxTouchPoints > 1;
5285
+ }, Zi = () => {
5286
+ const e = ["iPad Simulator", "iPad"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = Gs(), r = navigator.maxTouchPoints > 1;
5287
5287
  return e && t && r;
5288
- }, to = () => window.matchMedia("(display-mode: standalone)").matches || window.navigator.standalone === !0, ro = (e) => {
5288
+ }, eo = () => window.matchMedia("(display-mode: standalone)").matches || window.navigator.standalone === !0, to = (e) => {
5289
5289
  const t = e.replace(/([A-Z])/g, " $1");
5290
5290
  return t.charAt(0).toUpperCase() + t.slice(1);
5291
- }, so = ({
5291
+ }, ro = ({
5292
5292
  autoClose: e = 3e3,
5293
5293
  containerId: t,
5294
5294
  position: r = "top-center",
@@ -5312,9 +5312,9 @@ const ji = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5312
5312
  theme: l,
5313
5313
  transition: f,
5314
5314
  icon: d
5315
- }), no = (e, t) => t === "ready" && !!e && e.length > 0, ao = (e) => {
5316
- e ? document.documentElement.setAttribute(Or, "true") : document.documentElement.removeAttribute(Or);
5317
- }, Ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: Fs, applyOledMode: ao, canEvaluateModels: no, convertCamelCaseToReadable: ro, convertDDToDMS: er, convertLatitudeToDMS: Bi, convertLongitudeToDMS: Ki, debounce: Xi, durationFormatter: Ji, extractAverage: Wi, getCurrentGeoLocation: Vi, getLayoutPaddingClass: Ks, getMessageContaintWrapperClass: Bs, isDev: Zt, isLastMessageFromRole: ji, isPWAMode: to, isProbablyMobile: Gs, isProbablyTablet: zs, isProbablyiPad: eo, isProbablyiPhone: Zi, isProd: Hs, isTauri: Vs, numberFormatter: Qi, obfuscate: Gi, pluralize: Yi, renderDataAsList: qi, toastOptions: so, unObfuscate: zi }, Symbol.toStringTag, { value: "Module" }));
5315
+ }), so = (e, t) => t === "ready" && !!e && e.length > 0, no = (e) => {
5316
+ e ? document.documentElement.setAttribute(Cr, "true") : document.documentElement.removeAttribute(Cr);
5317
+ }, jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: Hs, applyOledMode: no, canEvaluateModels: so, convertCamelCaseToReadable: to, convertDDToDMS: er, convertLatitudeToDMS: Fi, convertLongitudeToDMS: Bi, debounce: Yi, durationFormatter: Qi, extractAverage: qi, getCurrentGeoLocation: Ki, getLayoutPaddingClass: Bs, getMessageContaintWrapperClass: Fs, isDev: Zt, isLastMessageFromRole: Wi, isPWAMode: eo, isProbablyMobile: Vs, isProbablyTablet: Gs, isProbablyiPad: Zi, isProbablyiPhone: Xi, isProd: Us, isTauri: Ks, numberFormatter: ji, obfuscate: Vi, pluralize: Ji, renderDataAsList: zi, toastOptions: ro, unObfuscate: Gi }, Symbol.toStringTag, { value: "Module" }));
5318
5318
  /*!
5319
5319
  @versini/ui-icons v4.15.1
5320
5320
  © 2025 gizmette.com
@@ -5359,7 +5359,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5359
5359
  e
5360
5360
  ]
5361
5361
  });
5362
- }, Jl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5362
+ }, Ql = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5363
5363
  defaultViewBox: "0 0 448 512",
5364
5364
  size: "size-5",
5365
5365
  viewBox: t,
@@ -5369,7 +5369,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5369
5369
  children: /* @__PURE__ */ c("path", {
5370
5370
  d: "M240 64c0-8.8-7.2-16-16-16s-16 7.2-16 16v176H32c-8.8 0-16 7.2-16 16s7.2 16 16 16h176v176c0 8.8 7.2 16 16 16s16-7.2 16-16V272h176c8.8 0 16-7.2 16-16s-7.2-16-16-16H240z"
5371
5371
  })
5372
- }), Yl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5372
+ }), Jl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5373
5373
  defaultViewBox: "0 0 24 24",
5374
5374
  size: "size-5",
5375
5375
  viewBox: t,
@@ -5379,7 +5379,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5379
5379
  children: /* @__PURE__ */ c("path", {
5380
5380
  d: "M17.304 3.541h-3.672l6.696 16.918H24Zm-10.608 0L0 20.459h3.744l1.37-3.553h7.005l1.369 3.553h3.744L10.536 3.541Zm-.371 10.223L8.616 7.82l2.291 5.945Z"
5381
5381
  })
5382
- }), Xl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5382
+ }), Yl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5383
5383
  defaultViewBox: "0 0 512 512",
5384
5384
  size: "size-5",
5385
5385
  viewBox: t,
@@ -5395,7 +5395,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5395
5395
  d: "M32 0h160c17.7 0 32 14.3 32 32s-14.3 32-32 32h-82.7l233.3 233.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L64 109.3V192c0 17.7-14.3 32-32 32S0 209.7 0 192V32C0 14.3 14.3 0 32 0"
5396
5396
  })
5397
5397
  ]
5398
- }), Zl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5398
+ }), Xl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5399
5399
  defaultViewBox: "0 0 448 512",
5400
5400
  size: "size-5",
5401
5401
  viewBox: t,
@@ -5411,7 +5411,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5411
5411
  d: "M64 0C28.7 0 0 28.7 0 64v384c0 35.3 28.7 64 64 64h368c8.8 0 16-7.2 16-16s-7.2-16-16-16h-16v-66.7c18.6-6.6 32-24.4 32-45.3V48c0-26.5-21.5-48-48-48zm320 416v64H64c-17.7 0-32-14.3-32-32s14.3-32 32-32zM64 384c-11.7 0-22.6 3.1-32 8.6V64c0-17.7 14.3-32 32-32h336c8.8 0 16 7.2 16 16v320c0 8.8-7.2 16-16 16zm201.9-213.1-16.5 38.6-38.6 16.5c-19.4 8.3-19.4 35.8 0 44.1l38.6 16.5 16.5 38.6c8.3 19.4 35.8 19.4 44.1 0l16.5-38.6 38.6-16.5c19.4-8.3 19.4-35.8 0-44.1l-38.6-16.5-16.5-38.6c-8.3-19.4-35.8-19.4-44.1 0m22.1 29.7 11.7 27.3c1.6 3.8 4.6 6.8 8.4 8.4l27.3 11.7-27.3 11.7c-3.8 1.6-6.8 4.6-8.4 8.4L288 295.4l-11.7-27.3c-1.6-3.8-4.6-6.8-8.4-8.4L240.6 248l27.3-11.7c3.8-1.6 6.8-4.6 8.4-8.4zm-135-78.8 7-14 7 14c1.5 3.1 4.1 5.6 7.2 7.2l14 7-14 7c-3.1 1.5-5.6 4.1-7.2 7.2l-7 14-7-14c-1.5-3.1-4.1-5.6-7.2-7.2l-14-7 14-7c3.1-1.5 5.6-4.1 7.2-7.2m28.5-42.7c-8.8-17.7-34.1-17.7-42.9 0l-11.8 23.6-23.6 11.8c-17.7 8.8-17.7 34.1 0 42.9l23.6 11.8 11.8 23.6c8.8 17.7 34.1 17.7 42.9 0l11.8-23.6 23.6-11.8c17.7-8.8 17.7-34.1 0-42.9l-23.6-11.8-11.8-23.5z"
5412
5412
  })
5413
5413
  ]
5414
- }), eu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5414
+ }), Zl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5415
5415
  defaultViewBox: "0 0 448 512",
5416
5416
  size: "size-5",
5417
5417
  viewBox: t,
@@ -5427,7 +5427,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5427
5427
  d: "M368 96c-26.5 0-48 21.5-48 48v288c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V144c0-26.5-21.5-48-48-48zM48 224c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48z"
5428
5428
  })
5429
5429
  ]
5430
- }), tu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5430
+ }), eu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5431
5431
  defaultViewBox: "0 0 384 512",
5432
5432
  size: "size-5",
5433
5433
  viewBox: t,
@@ -5438,7 +5438,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5438
5438
  d: "M297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3z",
5439
5439
  opacity: s ? "1" : "0.4"
5440
5440
  })
5441
- }), ru = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5441
+ }), tu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5442
5442
  defaultViewBox: "0 0 384 512",
5443
5443
  size: "size-5",
5444
5444
  viewBox: t,
@@ -5448,7 +5448,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5448
5448
  children: /* @__PURE__ */ c("path", {
5449
5449
  d: "M324.5 411.1c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256l132.5-132.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 59.6 100.9c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 36.9 388.5c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6z"
5450
5450
  })
5451
- }), io = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5451
+ }), ao = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5452
5452
  defaultViewBox: "0 0 448 512",
5453
5453
  size: "size-5",
5454
5454
  viewBox: t,
@@ -5464,7 +5464,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5464
5464
  d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z"
5465
5465
  })
5466
5466
  ]
5467
- }), oo = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5467
+ }), io = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5468
5468
  defaultViewBox: "0 0 512 512",
5469
5469
  size: "size-5",
5470
5470
  viewBox: t,
@@ -5474,7 +5474,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5474
5474
  children: /* @__PURE__ */ c("path", {
5475
5475
  d: "M64 464h224c8.8 0 16-7.2 16-16v-64h48v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h64v48H64c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m160-160h224c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m-64-16V64c0-35.3 28.7-64 64-64h224c35.3 0 64 28.7 64 64v224c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64"
5476
5476
  })
5477
- }), su = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5477
+ }), ru = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5478
5478
  defaultViewBox: "0 0 448 512",
5479
5479
  size: "size-5",
5480
5480
  viewBox: t,
@@ -5490,7 +5490,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5490
5490
  d: "M163.8 0c-12.1 0-23.2 6.8-28.6 17.7L128 32H32C14.3 32 0 46.3 0 64s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-96l-7.2-14.3C307.4 6.8 296.3 0 284.2 0z"
5491
5491
  })
5492
5492
  ]
5493
- }), co = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5493
+ }), oo = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5494
5494
  defaultViewBox: "0 0 1200 500",
5495
5495
  size: "w-full",
5496
5496
  viewBox: t,
@@ -5500,7 +5500,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5500
5500
  children: /* @__PURE__ */ c("path", {
5501
5501
  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"
5502
5502
  })
5503
- }), nu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5503
+ }), su = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5504
5504
  defaultViewBox: "0 0 384 512",
5505
5505
  size: "size-5",
5506
5506
  viewBox: t,
@@ -5510,7 +5510,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5510
5510
  children: /* @__PURE__ */ c("path", {
5511
5511
  d: "M16 480c-8.8 0-16-7.2-16-16s7.2-16 16-16h352c8.8 0 16 7.2 16 16s-7.2 16-16 16zm187.3-100.7c-6.2 6.2-16.4 6.2-22.6 0l-128-128c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L176 329.4V48c0-8.8 7.2-16 16-16s16 7.2 16 16v281.4l100.7-100.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"
5512
5512
  })
5513
- }), au = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5513
+ }), nu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5514
5514
  defaultViewBox: "0 0 512 512",
5515
5515
  size: "size-5",
5516
5516
  viewBox: t,
@@ -5526,7 +5526,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5526
5526
  d: "m392.4 21.7-30.1 30 97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2l-18.7-18.6c-21.9-21.9-57.3-21.9-79.2 0m-52.7 52.6L172.4 241.7c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5l167.3-167.4z"
5527
5527
  })
5528
5528
  ]
5529
- }), iu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5529
+ }), au = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5530
5530
  defaultViewBox: "0 0 512 512",
5531
5531
  size: "size-5",
5532
5532
  viewBox: t,
@@ -5542,7 +5542,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5542
5542
  d: "m454.6 45.3 12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0M189 265.6l171-171 57.4 57.4-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1 15.1-65.7c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4.4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1l220.3-220.4c25-25 25-65.5 0-90.5l-12.1-12.2c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144v288c0 44.2 35.8 80 80 80h288c44.2 0 80-35.8 80-80V304c0-8.8-7.2-16-16-16s-16 7.2-16 16v128c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48h128c8.8 0 16-7.2 16-16s-7.2-16-16-16z"
5543
5543
  })
5544
5544
  ]
5545
- }), ou = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5545
+ }), iu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5546
5546
  defaultViewBox: "0 0 640 512",
5547
5547
  size: "size-5",
5548
5548
  viewBox: t,
@@ -5558,7 +5558,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5558
5558
  d: "m557.2 235.7-29.4 29.4 71 71 29.4-29.4c15.6-15.6 15.6-40.9 0-56.6l-14.4-14.4c-15.6-15.6-40.9-15.6-56.6 0m-52 52L375.9 417c-4.1 4.1-7 9.2-8.4 14.9l-15 60.1c-1.4 5.5.2 11.2 4.2 15.2s9.7 5.6 15.2 4.2l60.1-15c5.6-1.4 10.8-4.3 14.9-8.4l129.2-129.3-71-71z"
5559
5559
  })
5560
5560
  ]
5561
- }), cu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5561
+ }), ou = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5562
5562
  defaultViewBox: "0 0 24 24",
5563
5563
  size: "size-5",
5564
5564
  viewBox: t,
@@ -5568,7 +5568,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5568
5568
  children: /* @__PURE__ */ c("path", {
5569
5569
  d: "M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81"
5570
5570
  })
5571
- }), lo = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5571
+ }), co = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5572
5572
  defaultViewBox: "0 0 640 512",
5573
5573
  size: "size-5",
5574
5574
  viewBox: t,
@@ -5584,7 +5584,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5584
5584
  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"
5585
5585
  })
5586
5586
  ]
5587
- }), lu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5587
+ }), cu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5588
5588
  defaultViewBox: "0 0 512 512",
5589
5589
  size: "size-5",
5590
5590
  viewBox: t,
@@ -5600,7 +5600,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5600
5600
  d: "M256 128c13.3 0 24 10.7 24 24v94.1l65 65c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-72-72c-4.5-4.5-7-10.6-7-17V152c0-13.3 10.7-24 24-24z"
5601
5601
  })
5602
5602
  ]
5603
- }), uu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5603
+ }), lu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5604
5604
  defaultViewBox: "0 0 512 512",
5605
5605
  size: "size-5",
5606
5606
  viewBox: t,
@@ -5616,7 +5616,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5616
5616
  d: "M256 128a32 32 0 1 1 0 64 32 32 0 1 1 0-64m-64 120c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-80c-13.3 0-24-10.7-24-24s10.7-24 24-24h24v-64h-24c-13.3 0-24-10.7-24-24"
5617
5617
  })
5618
5618
  ]
5619
- }), du = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5619
+ }), uu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5620
5620
  defaultViewBox: "0 0 384 512",
5621
5621
  size: "size-5",
5622
5622
  viewBox: t,
@@ -5632,7 +5632,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5632
5632
  d: "M310.3 258.1c16.2-23.3 25.7-51.5 25.7-82.1 0-79.5-64.5-144-144-144S48 96.5 48 176c0 30.6 9.5 58.8 25.7 82.1 4.1 5.9 8.8 12.3 13.6 19 12.7 17.5 27.1 37.2 38 57.1 8.9 16.2 13.7 33.3 16.2 49.9L109 384c-2.2-12-5.9-23.7-11.8-34.5-9.9-18-22.2-34.9-34.5-51.8-5.2-7.1-10.4-14.2-15.4-21.4C27.6 247.9 16 213.3 16 176 16 78.8 94.8 0 192 0s176 78.8 176 176c0 37.3-11.6 71.9-31.4 100.3-5 7.2-10.2 14.3-15.4 21.4-12.3 16.8-24.6 33.7-34.5 51.8-5.9 10.8-9.6 22.5-11.8 34.5h-32.4c2.5-16.6 7.3-33.7 16.2-49.9 10.9-20 25.3-39.7 38-57.1 4.9-6.7 9.5-13 13.6-19zM192 96c-44.2 0-80 35.8-80 80 0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112 8.8 0 16 7.2 16 16s-7.2 16-16 16m-45.3 352c6.6 18.6 24.4 32 45.3 32s38.7-13.4 45.3-32h-90.5zM112 432v-5.3c0-5.9 4.8-10.7 10.7-10.7h138.7c5.9 0 10.7 4.8 10.7 10.7v5.3c0 44.2-35.8 80-80 80s-80-35.8-80-80z"
5633
5633
  })
5634
5634
  ]
5635
- }), hu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5635
+ }), du = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5636
5636
  defaultViewBox: "0 0 448 512",
5637
5637
  size: "size-5",
5638
5638
  viewBox: t,
@@ -5648,7 +5648,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5648
5648
  d: "M224 32c53 0 96 43 96 96v64H128v-64c0-53 43-96 96-96M96 128v64H80c-44.2 0-80 35.8-80 80v160c0 44.2 35.8 80 80 80h288c44.2 0 80-35.8 80-80V272c0-44.2-35.8-80-80-80h-16v-64C352 57.3 294.7 0 224 0S96 57.3 96 128m-16 96h288c26.5 0 48 21.5 48 48v160c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48m160 88c0-8.8-7.2-16-16-16s-16 7.2-16 16v80c0 8.8 7.2 16 16 16s16-7.2 16-16z"
5649
5649
  })
5650
5650
  ]
5651
- }), fu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5651
+ }), hu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5652
5652
  defaultViewBox: "0 0 576 512",
5653
5653
  size: "size-5",
5654
5654
  viewBox: t,
@@ -5664,7 +5664,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5664
5664
  d: "M419.2 227.2 316.7 124.7 46.1 395.4c-18.7 18.7-18.7 49.1 0 67.9l34.6 34.6c18.7 18.7 49.1 18.7 67.9 0z"
5665
5665
  })
5666
5666
  ]
5667
- }), pu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5667
+ }), fu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5668
5668
  defaultViewBox: "0 0 448 512",
5669
5669
  size: "size-5",
5670
5670
  viewBox: t,
@@ -5680,7 +5680,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5680
5680
  d: "M438.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L370.7 256 233.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"
5681
5681
  })
5682
5682
  ]
5683
- }), mu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5683
+ }), pu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5684
5684
  defaultViewBox: "0 0 24 24",
5685
5685
  size: "size-5",
5686
5686
  viewBox: t,
@@ -5690,7 +5690,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5690
5690
  children: /* @__PURE__ */ c("path", {
5691
5691
  d: "M22.282 9.821a5.99 5.99 0 0 0-.516-4.91 6.05 6.05 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.99 5.99 0 0 0-3.998 2.9 6.05 6.05 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.05 6.05 0 0 0 6.515 2.9A5.99 5.99 0 0 0 13.26 24a6.06 6.06 0 0 0 5.772-4.206 6 6 0 0 0 3.997-2.9 6.06 6.06 0 0 0-.747-7.073zM13.26 22.43a4.48 4.48 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.8.8 0 0 0 .392-.681v-6.737l2.02 1.168a.07.07 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494M3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.77.77 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646M2.34 7.896a4.5 4.5 0 0 1 2.366-1.973V11.6a.77.77 0 0 0 .388.677l5.815 3.354-2.02 1.168a.08.08 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855-5.833-3.387L15.119 7.2a.08.08 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023-.141-.085-4.774-2.782a.78.78 0 0 0-.785 0L9.409 9.23V6.897a.07.07 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08-4.778 2.758a.8.8 0 0 0-.393.681zm1.097-2.365 2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5Z"
5692
5692
  })
5693
- }), uo = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => {
5693
+ }), lo = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => {
5694
5694
  const a = s ? "1" : "0.4";
5695
5695
  return /* @__PURE__ */ E(S, {
5696
5696
  defaultViewBox: "0 0 190 190",
@@ -5713,7 +5713,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5713
5713
  })
5714
5714
  ]
5715
5715
  });
5716
- }, yu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5716
+ }, mu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5717
5717
  defaultViewBox: "0 0 576 512",
5718
5718
  size: "size-5",
5719
5719
  viewBox: t,
@@ -5729,7 +5729,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5729
5729
  d: "M176 256a64 64 0 1 0 0-128 64 64 0 1 0 0 128m-32 32c-44.2 0-80 35.8-80 80 0 8.8 7.2 16 16 16h192c8.8 0 16-7.2 16-16 0-44.2-35.8-80-80-80z"
5730
5730
  })
5731
5731
  ]
5732
- }), gu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5732
+ }), yu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5733
5733
  defaultViewBox: "0 0 576 512",
5734
5734
  size: "size-5",
5735
5735
  viewBox: t,
@@ -5745,7 +5745,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5745
5745
  d: "M566.6 265.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l73.4 73.3 169.4-169.3c12.5-12.5 32.8-12.5 45.3 0z"
5746
5746
  })
5747
5747
  ]
5748
- }), Eu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5748
+ }), gu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5749
5749
  defaultViewBox: "0 0 512 512",
5750
5750
  size: "size-5",
5751
5751
  viewBox: t,
@@ -5761,7 +5761,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5761
5761
  d: "M64 128c-35.3 0-64 28.7-64 64v256c0 35.3 28.7 64 64 64h256c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64zm32 64h192c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32s14.3-32 32-32"
5762
5762
  })
5763
5763
  ]
5764
- }), wu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5764
+ }), Eu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5765
5765
  defaultViewBox: "0 0 512 512",
5766
5766
  size: "size-5",
5767
5767
  viewBox: t,
@@ -5777,7 +5777,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5777
5777
  d: "m406.1 16-39.7 39.7 89.3 89.3 39.8-38.9c19.1-18.7 19.2-49.4.4-68.2l-22-21.9C455.1-2.8 424.7-2.7 406 16zm-62.4 62.4L200.5 221.8c-7 7-12.3 15.6-15.4 25l-23.8 71.3c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l71.5-23.9c9.2-3.1 17.6-8.2 24.5-15l145.1-142.1z"
5778
5778
  })
5779
5779
  ]
5780
- }), Su = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5780
+ }), wu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5781
5781
  defaultViewBox: "0 0 512 512",
5782
5782
  size: "size-5",
5783
5783
  viewBox: t,
@@ -5793,7 +5793,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5793
5793
  d: "m330.7 376 126.7 126.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L376 330.7c-12.7 17.3-28 32.6-45.3 45.3"
5794
5794
  })
5795
5795
  ]
5796
- }), bu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5796
+ }), Su = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5797
5797
  defaultViewBox: "0 0 512 512",
5798
5798
  size: "size-5",
5799
5799
  viewBox: t,
@@ -5809,7 +5809,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5809
5809
  d: "M256 160a96 96 0 1 0 0 192 96 96 0 1 0 0-192"
5810
5810
  })
5811
5811
  ]
5812
- }), vu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5812
+ }), bu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5813
5813
  defaultViewBox: "0 0 512 512",
5814
5814
  size: "size-5",
5815
5815
  viewBox: t,
@@ -5825,7 +5825,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5825
5825
  d: "M511.6 36.9c1.9-12.1-3.4-24.3-13.5-31.2s-23.3-7.5-34-1.4l-448 256C5.5 266.3-.7 277.8.1 290s8.4 22.9 19.6 27.6L160 376v93c0 23.8 19.3 43 43 43 13.1 0 25.4-5.9 33.6-16.1l52.8-66h.1l114.2 47.6c9.1 3.8 19.4 3.2 28-1.6s14.5-13.3 16-23l64-416zm-253 380.2-47 58.8c-2.1 2.6-5.3 4.1-8.6 4.1-6.1 0-11-4.9-11-11v-79.7zm43.1-16.7-96.6-40.3 269-289.6L416 448l-114.2-47.6zM450.5 48.8 173.6 347 32 288z"
5826
5826
  })
5827
5827
  ]
5828
- }), Tu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5828
+ }), vu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5829
5829
  defaultViewBox: "0 0 448 512",
5830
5830
  size: "size-5",
5831
5831
  viewBox: t,
@@ -5835,7 +5835,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5835
5835
  children: /* @__PURE__ */ c("path", {
5836
5836
  d: "M432 256a48 48 0 1 1-96 0 48 48 0 1 1 96 0m-160 0a48 48 0 1 1-96 0 48 48 0 1 1 96 0M64 304a48 48 0 1 1 0-96 48 48 0 1 1 0 96"
5837
5837
  })
5838
- }), ho = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5838
+ }), uo = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5839
5839
  defaultViewBox: "0 0 576 512",
5840
5840
  size: "size-5",
5841
5841
  viewBox: t,
@@ -5851,7 +5851,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5851
5851
  d: "M224 256c35.3 0 64-28.7 64-64 0-7.1-1.2-13.9-3.3-20.3-1.8-5.5 1.6-11.9 7.4-11.7 40.8 1.7 77.5 29.6 88.6 71.1 13.7 51.2-16.7 103.9-67.9 117.6S208.9 332 195.2 280.8c-1.9-6.9-2.9-13.9-3.2-20.7-.3-5.8 6.1-9.2 11.7-7.4 6.4 2.1 13.2 3.3 20.3 3.3"
5852
5852
  })
5853
5853
  ]
5854
- }), Iu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5854
+ }), Tu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5855
5855
  defaultViewBox: "0 0 512 512",
5856
5856
  size: "size-5",
5857
5857
  viewBox: t,
@@ -5867,7 +5867,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5867
5867
  d: "M128 416a32 32 0 1 1 64 0 32 32 0 1 1-64 0m112 0a80 80 0 1 0-160 0 80 80 0 1 0 160 0m80-160a32 32 0 1 1 64 0 32 32 0 1 1-64 0m112 0a80 80 0 1 0-160 0 80 80 0 1 0 160 0M192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64m0-112a80 80 0 1 0 0 160 80 80 0 1 0 0-160"
5868
5868
  })
5869
5869
  ]
5870
- }), _u = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5870
+ }), Iu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5871
5871
  defaultViewBox: "0 0 512 512",
5872
5872
  size: "size-5",
5873
5873
  viewBox: t,
@@ -5883,7 +5883,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5883
5883
  d: "M270.3 112.9c-2.7-5.5-8.3-8.9-14.3-8.9s-11.7 3.5-14.3 8.9l-36.2 73.4-81.1 11.8c-6 .9-11 5.1-12.9 10.9s-.3 12.2 4 16.4l58.6 57.2-13.8 80.7c-1 6 1.4 12.1 6.4 15.6s11.5 4.1 16.9 1.2l72.4-38 72.5 38.1c5.4 2.8 11.9 2.4 16.9-1.2s7.4-9.6 6.4-15.6L338 282.7l58.6-57.2c4.4-4.3 5.9-10.6 4-16.4s-6.9-10-12.9-10.9l-81-11.8-36.2-73.4z"
5884
5884
  })
5885
5885
  ]
5886
- }), Au = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5886
+ }), _u = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5887
5887
  defaultViewBox: "0 0 512 512",
5888
5888
  size: "size-5",
5889
5889
  viewBox: t,
@@ -5899,7 +5899,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5899
5899
  d: "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448m0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512m14.3-399.1c-2.7-5.5-8.3-8.9-14.3-8.9s-11.7 3.5-14.3 8.9l-36.2 73.4-81 11.8c-6 .9-11 5.1-12.9 10.9s-.3 12.2 4 16.4l58.6 57.2-13.8 80.7c-1 6 1.4 12.1 6.4 15.6s11.5 4.1 16.8 1.2l72.4-38 72.5 38.1c5.4 2.8 11.9 2.4 16.9-1.2s7.4-9.6 6.4-15.6L338 282.7l58.6-57.2c4.4-4.3 5.9-10.6 4-16.4s-6.9-10-12.9-10.9l-81.1-11.8-36.2-73.4zm-40 95.1 25.7-51.8 25.6 51.9c2.3 4.7 6.8 8 12 8.8l57.3 8.3-41.5 40.4c-3.8 3.7-5.5 9-4.6 14.2l9.8 57.1-51.2-26.9c-4.7-2.5-10.2-2.5-14.9 0l-51.2 26.9 9.8-57.1c.9-5.2-.8-10.5-4.6-14.2L161 225.1l57.3-8.3c5.2-.8 9.7-4 12-8.8"
5900
5900
  })
5901
5901
  ]
5902
- }), Ru = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5902
+ }), Au = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
5903
5903
  defaultViewBox: "0 0 448 512",
5904
5904
  size: "size-5",
5905
5905
  viewBox: t,
@@ -5915,7 +5915,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
5915
5915
  d: "M224 32c-53 0-96 43-96 96v64h240c44.2 0 80 35.8 80 80v160c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V272c0-44.2 35.8-80 80-80h16v-64C96 57.3 153.3 0 224 0c58 0 107 38.6 122.7 91.4 2.5 8.5-2.3 17.4-10.8 19.9s-17.4-2.3-19.9-10.8C304.2 60.9 267.5 32 224 32M80 224c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm184 144h-80c-8.8 0-16-7.2-16-16s7.2-16 16-16h80c8.8 0 16 7.2 16 16s-7.2 16-16 16"
5916
5916
  })
5917
5917
  ]
5918
- }), Cu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5918
+ }), Ru = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
5919
5919
  defaultViewBox: "0 0 512 512",
5920
5920
  size: "size-5",
5921
5921
  viewBox: t,
@@ -5940,13 +5940,13 @@ try {
5940
5940
  });
5941
5941
  } catch {
5942
5942
  }
5943
- const xr = [
5943
+ const Nr = [
5944
5944
  "mousedown",
5945
5945
  "touchstart"
5946
5946
  ];
5947
- function Ou(e, t, r) {
5947
+ function Cu(e, t, r) {
5948
5948
  const s = F(null);
5949
- return A(() => {
5949
+ return R(() => {
5950
5950
  const n = (a) => {
5951
5951
  const i = a ? a.target : void 0;
5952
5952
  if (Array.isArray(r)) {
@@ -5954,8 +5954,8 @@ function Ou(e, t, r) {
5954
5954
  r.every((f) => !!f && !a.composedPath().includes(f)) && !o && e();
5955
5955
  } else s.current && !s.current.contains(i) && e();
5956
5956
  };
5957
- return xr.forEach((a) => document.addEventListener(a, n)), () => {
5958
- xr.forEach((a) => document.removeEventListener(a, n));
5957
+ return Nr.forEach((a) => document.addEventListener(a, n)), () => {
5958
+ Nr.forEach((a) => document.removeEventListener(a, n));
5959
5959
  };
5960
5960
  }, [
5961
5961
  e,
@@ -5963,9 +5963,9 @@ function Ou(e, t, r) {
5963
5963
  t
5964
5964
  ]), s;
5965
5965
  }
5966
- const Ct = 50, Lr = 120;
5966
+ const Ct = 50, xr = 120;
5967
5967
  let ie = null, Ye = 0;
5968
- const fo = () => {
5968
+ const ho = () => {
5969
5969
  if (typeof window > "u" || ie && document.body.contains(ie))
5970
5970
  return;
5971
5971
  const e = document.querySelector('label[data-haptic-singleton="true"]');
@@ -5978,21 +5978,21 @@ const fo = () => {
5978
5978
  t.type = "checkbox", t.setAttribute("switch", ""), t.style.display = "none", t.setAttribute("aria-hidden", "true"), t.dataset.hapticSingleton = "true";
5979
5979
  const r = document.createElement("label");
5980
5980
  r.style.display = "none", r.setAttribute("aria-hidden", "true"), r.dataset.hapticSingleton = "true", r.appendChild(t), document.body.appendChild(r), ie = r;
5981
- }, po = () => {
5981
+ }, fo = () => {
5982
5982
  ie && document.body && document.body.contains(ie) && document.body.removeChild(ie), ie = null;
5983
- }, ku = () => {
5983
+ }, Ou = () => {
5984
5984
  const e = F(/* @__PURE__ */ new Set());
5985
- A(() => {
5985
+ R(() => {
5986
5986
  Ye++;
5987
5987
  try {
5988
- fo();
5988
+ ho();
5989
5989
  } catch (s) {
5990
5990
  throw Ye--, s;
5991
5991
  }
5992
5992
  return () => {
5993
5993
  for (const s of e.current)
5994
5994
  clearTimeout(s);
5995
- e.current.clear(), Ye--, Ye === 0 && po();
5995
+ e.current.clear(), Ye--, Ye === 0 && fo();
5996
5996
  };
5997
5997
  }, []);
5998
5998
  const t = N(() => {
@@ -6011,14 +6011,14 @@ const fo = () => {
6011
6011
  if (navigator?.vibrate && s > 1) {
6012
6012
  const n = [];
6013
6013
  for (let a = 0; a < s; a++)
6014
- n.push(Ct), a < s - 1 && n.push(Lr - Ct);
6014
+ n.push(Ct), a < s - 1 && n.push(xr - Ct);
6015
6015
  navigator.vibrate(n);
6016
6016
  return;
6017
6017
  }
6018
6018
  for (let n = 0; n < s; n++) {
6019
6019
  const a = setTimeout(() => {
6020
6020
  t(), e.current.delete(a);
6021
- }, n * Lr);
6021
+ }, n * xr);
6022
6022
  e.current.add(a);
6023
6023
  }
6024
6024
  }
@@ -6027,7 +6027,7 @@ const fo = () => {
6027
6027
  ])
6028
6028
  };
6029
6029
  };
6030
- function mo(e) {
6030
+ function po(e) {
6031
6031
  const t = e.toLowerCase().split("+").map((a) => a.trim()), r = {
6032
6032
  alt: t.includes("alt"),
6033
6033
  ctrl: t.includes("ctrl"),
@@ -6046,7 +6046,7 @@ function mo(e) {
6046
6046
  key: n
6047
6047
  };
6048
6048
  }
6049
- function yo(e, t) {
6049
+ function mo(e, t) {
6050
6050
  const { alt: r, ctrl: s, meta: n, mod: a, shift: i, key: o } = e, { altKey: l, ctrlKey: f, metaKey: d, shiftKey: h, key: u } = t;
6051
6051
  if (r !== l)
6052
6052
  return !1;
@@ -6057,20 +6057,20 @@ function yo(e, t) {
6057
6057
  return !1;
6058
6058
  return i !== h ? !1 : !!(o && (u.toLowerCase() === o.toLowerCase() || t.code.replace("Key", "").toLowerCase() === o.toLowerCase()));
6059
6059
  }
6060
- function qs(e) {
6061
- return (t) => yo(mo(e), t);
6060
+ function zs(e) {
6061
+ return (t) => mo(po(e), t);
6062
6062
  }
6063
- function Pu(e) {
6063
+ function ku(e) {
6064
6064
  return (t) => {
6065
6065
  const r = "nativeEvent" in t ? t.nativeEvent : t;
6066
6066
  e.forEach(([s, n, a = {
6067
6067
  preventDefault: !0
6068
6068
  }]) => {
6069
- qs(s)(r) && (a.preventDefault && t.preventDefault(), n(r));
6069
+ zs(s)(r) && (a.preventDefault && t.preventDefault(), n(r));
6070
6070
  });
6071
6071
  };
6072
6072
  }
6073
- function go(e, t, r = !1) {
6073
+ function yo(e, t, r = !1) {
6074
6074
  return e.target instanceof HTMLElement ? (r || !e.target.isContentEditable) && !t.includes(e.target.tagName) : !0;
6075
6075
  }
6076
6076
  function Mu(e, t = [
@@ -6078,12 +6078,12 @@ function Mu(e, t = [
6078
6078
  "TEXTAREA",
6079
6079
  "SELECT"
6080
6080
  ], r = !1) {
6081
- A(() => {
6081
+ R(() => {
6082
6082
  const s = (n) => {
6083
6083
  e.forEach(([a, i, o = {
6084
6084
  preventDefault: !0
6085
6085
  }]) => {
6086
- qs(a)(n) && go(n, t, r) && (o.preventDefault && n.preventDefault(), i(n));
6086
+ zs(a)(n) && yo(n, t, r) && (o.preventDefault && n.preventDefault(), i(n));
6087
6087
  });
6088
6088
  };
6089
6089
  return document.documentElement.addEventListener("keydown", s), () => document.documentElement.removeEventListener("keydown", s);
@@ -6093,7 +6093,7 @@ function Mu(e, t = [
6093
6093
  r
6094
6094
  ]);
6095
6095
  }
6096
- function Nu(e, t) {
6096
+ function Pu(e, t) {
6097
6097
  const [r, s] = Y(!1), n = F(null), a = F(null), i = N(() => {
6098
6098
  s((l) => (!l && (!n.current || n.current === -1) && (n.current = window.setInterval(a.current, t)), !0));
6099
6099
  }, [
@@ -6101,7 +6101,7 @@ function Nu(e, t) {
6101
6101
  ]), o = N(() => {
6102
6102
  s(!1), window.clearInterval(n.current || -1), n.current = -1;
6103
6103
  }, []);
6104
- return A(() => (a.current = e, r && i(), o), [
6104
+ return R(() => (a.current = e, r && i(), o), [
6105
6105
  e,
6106
6106
  r,
6107
6107
  i,
@@ -6112,7 +6112,7 @@ function Nu(e, t) {
6112
6112
  active: r
6113
6113
  };
6114
6114
  }
6115
- function xu() {
6115
+ function Nu() {
6116
6116
  const e = F(null), [t, r] = Y(!1);
6117
6117
  return {
6118
6118
  ref: N((n) => {
@@ -6121,29 +6121,29 @@ function xu() {
6121
6121
  inViewport: t
6122
6122
  };
6123
6123
  }
6124
- function Eo() {
6124
+ function go() {
6125
6125
  const e = F(!1);
6126
- return A(() => (e.current = !0, () => {
6126
+ return R(() => (e.current = !0, () => {
6127
6127
  e.current = !1;
6128
6128
  }), []), N(() => e.current, []);
6129
6129
  }
6130
- function Ws(e, t) {
6130
+ function qs(e, t) {
6131
6131
  window.dispatchEvent(new StorageEvent("storage", {
6132
6132
  key: e,
6133
6133
  newValue: t
6134
6134
  }));
6135
6135
  }
6136
- const Dr = (e, t) => {
6136
+ const Lr = (e, t) => {
6137
6137
  const r = JSON.stringify(typeof t == "function" ? t() : t);
6138
- window.localStorage.setItem(e, r), Ws(e, r);
6139
- }, wo = (e) => {
6140
- window.localStorage.removeItem(e), Ws(e, null);
6141
- }, $r = (e) => window.localStorage.getItem(e), So = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
6142
- function Lu({ key: e, initialValue: t }) {
6143
- const s = Vt(So, () => $r(e)), n = N((o) => {
6138
+ window.localStorage.setItem(e, r), qs(e, r);
6139
+ }, Eo = (e) => {
6140
+ window.localStorage.removeItem(e), qs(e, null);
6141
+ }, Dr = (e) => window.localStorage.getItem(e), wo = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
6142
+ function xu({ key: e, initialValue: t }) {
6143
+ const s = Vt(wo, () => Dr(e)), n = N((o) => {
6144
6144
  try {
6145
6145
  const l = typeof o == "function" ? o(JSON.parse(s)) : o;
6146
- l == null ? wo(e) : Dr(e, l);
6146
+ l == null ? Eo(e) : Lr(e, l);
6147
6147
  } catch (l) {
6148
6148
  console.warn(l);
6149
6149
  }
@@ -6160,9 +6160,9 @@ function Lu({ key: e, initialValue: t }) {
6160
6160
  }, [
6161
6161
  n
6162
6162
  ]);
6163
- return A(() => {
6163
+ return R(() => {
6164
6164
  try {
6165
- $r(e) === null && typeof t < "u" && Dr(e, t);
6165
+ Dr(e) === null && typeof t < "u" && Lr(e, t);
6166
6166
  } catch (o) {
6167
6167
  console.warn(o);
6168
6168
  }
@@ -6176,7 +6176,7 @@ function Lu({ key: e, initialValue: t }) {
6176
6176
  i
6177
6177
  ];
6178
6178
  }
6179
- function js(e) {
6179
+ function Ws(e) {
6180
6180
  return He(() => e.every((t) => t == null) ? () => {
6181
6181
  } : (t) => {
6182
6182
  e.forEach((r) => {
@@ -6186,7 +6186,7 @@ function js(e) {
6186
6186
  ...e
6187
6187
  ]);
6188
6188
  }
6189
- const bo = {
6189
+ const So = {
6190
6190
  x: 0,
6191
6191
  y: 0,
6192
6192
  width: 0,
@@ -6197,7 +6197,7 @@ const bo = {
6197
6197
  right: 0
6198
6198
  };
6199
6199
  function tt(e) {
6200
- const t = Eo(), r = F(0), s = F(null), [n, a] = Y(bo), i = He(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
6200
+ const t = go(), r = F(0), s = F(null), [n, a] = Y(So), i = He(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
6201
6201
  const l = o[0];
6202
6202
  l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
6203
6203
  s.current && t() && a(l.contentRect);
@@ -6205,7 +6205,7 @@ function tt(e) {
6205
6205
  }), [
6206
6206
  t
6207
6207
  ]);
6208
- return A(() => (s.current && i?.observe(s.current, e), () => {
6208
+ return R(() => (s.current && i?.observe(s.current, e), () => {
6209
6209
  i?.disconnect(), r.current && cancelAnimationFrame(r.current);
6210
6210
  }), [
6211
6211
  i,
@@ -6215,12 +6215,12 @@ function tt(e) {
6215
6215
  n
6216
6216
  ];
6217
6217
  }
6218
- function Du({ value: e, defaultValue: t, finalValue: r, onChange: s = () => {
6218
+ function Lu({ value: e, defaultValue: t, finalValue: r, onChange: s = () => {
6219
6219
  }, initialControlledDelay: n = 0 }) {
6220
6220
  const [a, i] = Y(!1), [o, l] = Y(t !== void 0 ? t : r), f = (d) => {
6221
6221
  l(d), s?.(d);
6222
6222
  };
6223
- return A(() => {
6223
+ return R(() => {
6224
6224
  (async () => e !== void 0 && !a && n > 0 && (await new Promise((d) => setTimeout(d, n)), i(!0)))();
6225
6225
  }, [
6226
6226
  e,
@@ -6240,8 +6240,8 @@ function Du({ value: e, defaultValue: t, finalValue: r, onChange: s = () => {
6240
6240
  !1
6241
6241
  ];
6242
6242
  }
6243
- function Qs(e) {
6244
- const t = rn();
6243
+ function js(e) {
6244
+ const t = tn();
6245
6245
  if (!e)
6246
6246
  return t;
6247
6247
  if (typeof e == "number" || typeof e == "string")
@@ -6251,15 +6251,15 @@ function Qs(e) {
6251
6251
  return typeof r == "number" || typeof r == "string" ? `${s}${r}` : `${s}${t}`;
6252
6252
  }
6253
6253
  }
6254
- function Ur(e, t) {
6255
- A(() => (window.addEventListener(e, t, {
6254
+ function $r(e, t) {
6255
+ R(() => (window.addEventListener(e, t, {
6256
6256
  passive: !0
6257
6257
  }), () => window.removeEventListener(e, t)), [
6258
6258
  e,
6259
6259
  t
6260
6260
  ]);
6261
6261
  }
6262
- function $u() {
6262
+ function Du() {
6263
6263
  const [e, t] = Y({
6264
6264
  width: 0,
6265
6265
  height: 0
@@ -6269,9 +6269,9 @@ function $u() {
6269
6269
  height: window.innerHeight || 0
6270
6270
  });
6271
6271
  }, []);
6272
- return Ur("resize", r), Ur("orientationchange", r), A(r, []), e;
6272
+ return $r("resize", r), $r("orientationchange", r), R(r, []), e;
6273
6273
  }
6274
- function Uu() {
6274
+ function $u() {
6275
6275
  const [e, t] = Y({
6276
6276
  width: 0,
6277
6277
  height: 0
@@ -6281,7 +6281,7 @@ function Uu() {
6281
6281
  height: window?.visualViewport?.height || window.innerHeight || 0
6282
6282
  });
6283
6283
  }, []);
6284
- return A(() => (r(), window.visualViewport && (window.visualViewport.addEventListener("resize", r, {
6284
+ return R(() => (r(), window.visualViewport && (window.visualViewport.addEventListener("resize", r, {
6285
6285
  passive: !0
6286
6286
  }), window.visualViewport.addEventListener("orientationchange", r, {
6287
6287
  passive: !0
@@ -6304,20 +6304,20 @@ try {
6304
6304
  });
6305
6305
  } catch {
6306
6306
  }
6307
- const Hr = "av-button", vo = (e, t, r) => {
6307
+ const Ur = "av-button", bo = (e, t, r) => {
6308
6308
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
6309
6309
  }, tr = /* @__PURE__ */ Z.forwardRef((e, t) => {
6310
6310
  const { onClick: r, noInternalClick: s = !1, ...n } = e;
6311
6311
  return /* @__PURE__ */ c("button", {
6312
6312
  ref: t,
6313
6313
  onClick: (a) => {
6314
- vo(a, s, r);
6314
+ bo(a, s, r);
6315
6315
  },
6316
6316
  ...n
6317
6317
  });
6318
6318
  });
6319
6319
  tr.displayName = "BaseButton";
6320
- const yt = "icon", rr = "button", dt = "link", To = ({ type: e, size: t, labelRight: r, labelLeft: s, align: n, animated: a }) => {
6320
+ const yt = "icon", rr = "button", dt = "link", vo = ({ type: e, size: t, labelRight: r, labelLeft: s, align: n, animated: a }) => {
6321
6321
  const i = "max-h-8 py-0 px-2", o = "max-h-9 h-8 px-3", l = "max-h-12 py-2 px-4";
6322
6322
  switch (e) {
6323
6323
  case rr:
@@ -6346,7 +6346,7 @@ const yt = "icon", rr = "button", dt = "link", To = ({ type: e, size: t, labelRi
6346
6346
  "h-12": t === "large" && a && (r || s)
6347
6347
  });
6348
6348
  }
6349
- }, Io = ({ type: e, size: t, labelRight: r, labelLeft: s }) => {
6349
+ }, To = ({ type: e, size: t, labelRight: r, labelLeft: s }) => {
6350
6350
  const n = "text-sm font-medium", a = "text-base font-medium", i = "text-lg font-medium";
6351
6351
  switch (e) {
6352
6352
  case rr:
@@ -6364,7 +6364,7 @@ const yt = "icon", rr = "button", dt = "link", To = ({ type: e, size: t, labelRi
6364
6364
  [i]: t === "large" && (r || s)
6365
6365
  });
6366
6366
  }
6367
- }, _o = ({ mode: e, noBackground: t, truncate: r, variant: s }) => {
6367
+ }, Io = ({ mode: e, noBackground: t, truncate: r, variant: s }) => {
6368
6368
  if (t)
6369
6369
  return "not-prose";
6370
6370
  if (s === "primary")
@@ -6395,7 +6395,7 @@ const yt = "icon", rr = "button", dt = "link", To = ({ type: e, size: t, labelRi
6395
6395
  return y("not-prose text-copy-lighter", {
6396
6396
  truncate: r
6397
6397
  });
6398
- }, Ao = ({ mode: e, noBackground: t, variant: r }) => {
6398
+ }, _o = ({ mode: e, noBackground: t, variant: r }) => {
6399
6399
  if (!t) {
6400
6400
  if (r === "primary")
6401
6401
  return y({
@@ -6421,11 +6421,11 @@ const yt = "icon", rr = "button", dt = "link", To = ({ type: e, size: t, labelRi
6421
6421
  if (r === "selected")
6422
6422
  return "bg-action-selected-dark";
6423
6423
  }
6424
- }, Ro = ({ radius: e }) => y({
6424
+ }, Ao = ({ radius: e }) => y({
6425
6425
  "rounded-full": e === "large",
6426
6426
  "rounded-md": e === "medium",
6427
6427
  "rounded-xs": e === "small"
6428
- }), Co = ({ mode: e, disabled: t, variant: r }) => {
6428
+ }), Ro = ({ mode: e, disabled: t, variant: r }) => {
6429
6429
  if (t)
6430
6430
  return "";
6431
6431
  if (r === "primary")
@@ -6459,7 +6459,7 @@ const yt = "icon", rr = "button", dt = "link", To = ({ type: e, size: t, labelRi
6459
6459
  });
6460
6460
  if (r === "selected")
6461
6461
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
6462
- }, Oo = ({ mode: e, disabled: t, variant: r }) => {
6462
+ }, Co = ({ mode: e, disabled: t, variant: r }) => {
6463
6463
  if (t)
6464
6464
  return "";
6465
6465
  if (r === "primary")
@@ -6493,7 +6493,7 @@ const yt = "icon", rr = "button", dt = "link", To = ({ type: e, size: t, labelRi
6493
6493
  });
6494
6494
  if (r === "selected")
6495
6495
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
6496
- }, ko = ({ mode: e, noBorder: t, variant: r }) => {
6496
+ }, Oo = ({ mode: e, noBorder: t, variant: r }) => {
6497
6497
  if (t)
6498
6498
  return "border border-transparent";
6499
6499
  if (r === "primary")
@@ -6519,7 +6519,7 @@ const yt = "icon", rr = "button", dt = "link", To = ({ type: e, size: t, labelRi
6519
6519
  });
6520
6520
  if (r === "selected")
6521
6521
  return "border border-border-selected-dark";
6522
- }, Po = ({ focusMode: e }) => y("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
6522
+ }, ko = ({ focusMode: e }) => y("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
6523
6523
  "focus:outline-focus-dark": e === "dark",
6524
6524
  "focus:outline-focus-light": e === "light",
6525
6525
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
@@ -6546,42 +6546,42 @@ const yt = "icon", rr = "button", dt = "link", To = ({ type: e, size: t, labelRi
6546
6546
  } : s === "selected" && (n = {
6547
6547
  "text-copy-lighter": !0
6548
6548
  }), y(n, r);
6549
- }, No = ({ animated: e }) => y({
6549
+ }, Po = ({ animated: e }) => y({
6550
6550
  "transition-opacity duration-300 ease-in-out": e
6551
- }), sr = ({ type: e, className: t, raw: r, mode: s, focusMode: n, disabled: a, fullWidth: i, size: o, noBorder: l, labelRight: f, labelLeft: d, noBackground: h, variant: u, truncate: p, align: m, radius: g, animated: w }) => (u || (u = "primary"), r ? y(Hr, t) : y(Hr, _o({
6551
+ }), sr = ({ type: e, className: t, raw: r, mode: s, focusMode: n, disabled: a, fullWidth: i, size: o, noBorder: l, labelRight: f, labelLeft: d, noBackground: h, variant: u, truncate: p, align: m, radius: g, animated: w }) => (u || (u = "primary"), r ? y(Ur, t) : y(Ur, Io({
6552
6552
  mode: s,
6553
6553
  variant: u,
6554
6554
  noBackground: h,
6555
6555
  truncate: p
6556
- }), Ao({
6556
+ }), _o({
6557
6557
  mode: s,
6558
6558
  noBackground: h,
6559
6559
  variant: u
6560
- }), Ro({
6560
+ }), Ao({
6561
6561
  radius: g
6562
- }), To({
6562
+ }), vo({
6563
6563
  type: e,
6564
6564
  size: o,
6565
6565
  labelRight: f,
6566
6566
  labelLeft: d,
6567
6567
  align: m,
6568
6568
  animated: w
6569
- }), Io({
6569
+ }), To({
6570
6570
  type: e,
6571
6571
  size: o,
6572
6572
  labelRight: f,
6573
6573
  labelLeft: d
6574
- }), ko({
6574
+ }), Oo({
6575
6575
  mode: s,
6576
6576
  variant: u,
6577
6577
  noBorder: l
6578
- }), Po({
6578
+ }), ko({
6579
6579
  focusMode: n
6580
- }), Co({
6580
+ }), Ro({
6581
6581
  mode: s,
6582
6582
  variant: u,
6583
6583
  disabled: a
6584
- }), Oo({
6584
+ }), Co({
6585
6585
  mode: s,
6586
6586
  variant: u,
6587
6587
  disabled: a
@@ -6590,7 +6590,7 @@ const yt = "icon", rr = "button", dt = "link", To = ({ type: e, size: t, labelRi
6590
6590
  "disabled:cursor-not-allowed disabled:opacity-50": a
6591
6591
  }, y({
6592
6592
  "transition-[width] duration-300 ease-in": e === yt && w
6593
- }), t)), Js = /* @__PURE__ */ Z.forwardRef(({ children: e, disabled: t = !1, mode: r = "system", focusMode: s = "system", fullWidth: n = !1, className: a, size: i = "medium", raw: o = !1, noBorder: l = !1, variant: f = "primary", truncate: d = !1, radius: h = "large", ...u }, p) => {
6593
+ }), t)), Qs = /* @__PURE__ */ Z.forwardRef(({ children: e, disabled: t = !1, mode: r = "system", focusMode: s = "system", fullWidth: n = !1, className: a, size: i = "medium", raw: o = !1, noBorder: l = !1, variant: f = "primary", truncate: d = !1, radius: h = "large", ...u }, p) => {
6594
6594
  const m = sr({
6595
6595
  type: rr,
6596
6596
  mode: r,
@@ -6613,16 +6613,16 @@ const yt = "icon", rr = "button", dt = "link", To = ({ type: e, size: t, labelRi
6613
6613
  children: e
6614
6614
  });
6615
6615
  });
6616
- Js.displayName = "Button";
6616
+ Qs.displayName = "Button";
6617
6617
  const Xe = {
6618
6618
  small: 24,
6619
6619
  medium: 32,
6620
6620
  large: 48
6621
- }, xo = {
6621
+ }, No = {
6622
6622
  small: 16,
6623
6623
  medium: 24,
6624
6624
  large: 32
6625
- }, Lo = 2, Do = 300, Ve = /* @__PURE__ */ Z.forwardRef(({ children: e, disabled: t = !1, mode: r = "system", focusMode: s = "system", fullWidth: n = !1, className: a, type: i = "button", raw: o = !1, noBorder: l = !1, "aria-label": f, label: d, size: h = "medium", labelRight: u, labelLeft: p, noBackground: m = !1, align: g = "center", radius: w = "large", variant: b = "secondary", iconClassName: x, animated: R = !1, ...J }, P) => {
6625
+ }, xo = 2, Lo = 300, Ve = /* @__PURE__ */ Z.forwardRef(({ children: e, disabled: t = !1, mode: r = "system", focusMode: s = "system", fullWidth: n = !1, className: a, type: i = "button", raw: o = !1, noBorder: l = !1, "aria-label": f, label: d, size: h = "medium", labelRight: u, labelLeft: p, noBackground: m = !1, align: g = "center", radius: w = "large", variant: b = "secondary", iconClassName: x, animated: C = !1, ...J }, M) => {
6626
6626
  const re = sr({
6627
6627
  type: yt,
6628
6628
  mode: r,
@@ -6639,43 +6639,43 @@ const Xe = {
6639
6639
  align: g,
6640
6640
  radius: w,
6641
6641
  variant: b,
6642
- animated: R
6643
- }), M = Mo({
6642
+ animated: C
6643
+ }), P = Mo({
6644
6644
  mode: r,
6645
6645
  raw: o,
6646
6646
  iconClassName: x,
6647
6647
  variant: b
6648
- }), I = No({
6649
- animated: R
6650
- }), V = "flex items-center justify-center relative w-full h-full overflow-hidden", [O, C] = tt(), [D, ee] = tt(), [me, _e] = tt(), v = F(0), _ = F(null), T = F(null), ye = js([
6651
- P,
6648
+ }), I = Po({
6649
+ animated: C
6650
+ }), V = "flex items-center justify-center relative w-full h-full overflow-hidden", [k, O] = tt(), [D, ee] = tt(), [me, _e] = tt(), v = F(0), _ = F(null), T = F(null), ye = Ws([
6651
+ M,
6652
6652
  _
6653
6653
  ]);
6654
6654
  return st(() => {
6655
- me && me.current && R && (v.current = _e.width + xo[h] + (l ? 0 : Lo), _.current && !_.current.style.width && (_.current.style.width = `${Xe[h]}px`));
6655
+ me && me.current && C && (v.current = _e.width + No[h] + (l ? 0 : xo), _.current && !_.current.style.width && (_.current.style.width = `${Xe[h]}px`));
6656
6656
  }, [
6657
6657
  _e,
6658
6658
  me,
6659
6659
  h,
6660
6660
  l,
6661
- R
6661
+ C
6662
6662
  ]), st(() => {
6663
- if (_ && _.current && R) {
6663
+ if (_ && _.current && C) {
6664
6664
  let ge = Xe[h];
6665
- u && O && C.width > 0 ? ge = C.width + v.current : p && D && ee.width > 0 && (ge = ee.width + v.current), T.current && clearTimeout(T.current), ge !== parseInt(_.current.style.width || "0", 10) && (O.current && (O.current.style.opacity = "0"), D.current && (D.current.style.opacity = "0"), _.current.style.width = `${ge}px`, ge > Xe[h] && (T.current = setTimeout(() => {
6666
- O.current && u && (O.current.style.opacity = "1"), D.current && p && (D.current.style.opacity = "1"), T.current = null;
6667
- }, Do * 0.8))), ge === Xe[h] && (O.current && (O.current.style.opacity = "0"), D.current && (D.current.style.opacity = "0"));
6665
+ u && k && O.width > 0 ? ge = O.width + v.current : p && D && ee.width > 0 && (ge = ee.width + v.current), T.current && clearTimeout(T.current), ge !== parseInt(_.current.style.width || "0", 10) && (k.current && (k.current.style.opacity = "0"), D.current && (D.current.style.opacity = "0"), _.current.style.width = `${ge}px`, ge > Xe[h] && (T.current = setTimeout(() => {
6666
+ k.current && u && (k.current.style.opacity = "1"), D.current && p && (D.current.style.opacity = "1"), T.current = null;
6667
+ }, Lo * 0.8))), ge === Xe[h] && (k.current && (k.current.style.opacity = "0"), D.current && (D.current.style.opacity = "0"));
6668
6668
  }
6669
6669
  }, [
6670
- C,
6671
- u,
6672
6670
  O,
6671
+ u,
6672
+ k,
6673
6673
  ee,
6674
6674
  p,
6675
6675
  D,
6676
6676
  h,
6677
- R
6678
- ]), A(() => () => {
6677
+ C
6678
+ ]), R(() => () => {
6679
6679
  T.current && clearTimeout(T.current);
6680
6680
  }, []), /* @__PURE__ */ c(tr, {
6681
6681
  ref: ye,
@@ -6687,29 +6687,29 @@ const Xe = {
6687
6687
  children: /* @__PURE__ */ E("div", {
6688
6688
  className: V,
6689
6689
  children: [
6690
- /* @__PURE__ */ c(Fr, {
6690
+ /* @__PURE__ */ c(Hr, {
6691
6691
  label: p,
6692
6692
  labelRef: D,
6693
6693
  labelClass: I,
6694
6694
  labelInnerClass: "pr-2",
6695
- initiallyHidden: R
6695
+ initiallyHidden: C
6696
6696
  }),
6697
6697
  /* @__PURE__ */ c("span", {
6698
6698
  ref: me,
6699
- className: M,
6699
+ className: P,
6700
6700
  children: e
6701
6701
  }),
6702
- /* @__PURE__ */ c(Fr, {
6702
+ /* @__PURE__ */ c(Hr, {
6703
6703
  label: u,
6704
- labelRef: O,
6704
+ labelRef: k,
6705
6705
  labelClass: I,
6706
6706
  labelInnerClass: "pl-2",
6707
- initiallyHidden: R
6707
+ initiallyHidden: C
6708
6708
  })
6709
6709
  ]
6710
6710
  })
6711
6711
  });
6712
- }), Fr = ({ labelRef: e, labelClass: t, label: r, labelInnerClass: s, initiallyHidden: n = !1 }) => /* @__PURE__ */ c("span", {
6712
+ }), Hr = ({ labelRef: e, labelClass: t, label: r, labelInnerClass: s, initiallyHidden: n = !1 }) => /* @__PURE__ */ c("span", {
6713
6713
  ref: e,
6714
6714
  className: t,
6715
6715
  style: n ? {
@@ -6721,11 +6721,11 @@ const Xe = {
6721
6721
  })
6722
6722
  });
6723
6723
  Ve.displayName = "ButtonIcon";
6724
- const $o = /* @__PURE__ */ Z.forwardRef(({ copyToClipboard: e, ...t }, r) => {
6724
+ const Do = /* @__PURE__ */ Z.forwardRef(({ copyToClipboard: e, ...t }, r) => {
6725
6725
  const [s, n] = Y(!1), a = () => {
6726
6726
  typeof e == "string" && (navigator.clipboard.writeText(e), n(!0)), typeof e == "function" && (navigator.clipboard.writeText(e()), n(!0));
6727
6727
  };
6728
- return A(() => {
6728
+ return R(() => {
6729
6729
  let i;
6730
6730
  return s && (i = window.setTimeout(() => {
6731
6731
  n(!1);
@@ -6741,15 +6741,15 @@ const $o = /* @__PURE__ */ Z.forwardRef(({ copyToClipboard: e, ...t }, r) => {
6741
6741
  label: s ? "Copied to clipboard" : "Copy to clipboard",
6742
6742
  onClick: a,
6743
6743
  disabled: s,
6744
- children: s ? /* @__PURE__ */ c(io, {
6744
+ children: s ? /* @__PURE__ */ c(ao, {
6745
6745
  size: "size-3"
6746
- }) : /* @__PURE__ */ c(oo, {
6746
+ }) : /* @__PURE__ */ c(io, {
6747
6747
  size: "size-3"
6748
6748
  })
6749
6749
  });
6750
6750
  });
6751
- $o.displayName = "ButtonCopy";
6752
- const Uo = /* @__PURE__ */ Z.forwardRef(({ children: e, mode: t = "system", focusMode: r = "system", fullWidth: s = !1, className: n, size: a = "small", raw: i = !1, noBorder: o = !1, target: l, truncate: f = !1, noNewWindowIcon: d = !1, radius: h = "large", ...u }, p) => {
6751
+ Do.displayName = "ButtonCopy";
6752
+ const $o = /* @__PURE__ */ Z.forwardRef(({ children: e, mode: t = "system", focusMode: r = "system", fullWidth: s = !1, className: n, size: a = "small", raw: i = !1, noBorder: o = !1, target: l, truncate: f = !1, noNewWindowIcon: d = !1, radius: h = "large", ...u }, p) => {
6753
6753
  const m = sr({
6754
6754
  type: dt,
6755
6755
  mode: t,
@@ -6806,8 +6806,8 @@ const Uo = /* @__PURE__ */ Z.forwardRef(({ children: e, mode: t = "system", focu
6806
6806
  })
6807
6807
  });
6808
6808
  });
6809
- Uo.displayName = "ButtonLink";
6810
- const Ho = /* @__PURE__ */ Z.forwardRef(({ children: e, mode: t = "system", className: r, active: s = !1, ...n }, a) => {
6809
+ $o.displayName = "ButtonLink";
6810
+ const Uo = /* @__PURE__ */ Z.forwardRef(({ children: e, mode: t = "system", className: r, active: s = !1, ...n }, a) => {
6811
6811
  const i = s ? y("relative", "focus-within:static", "focus-within:after:border-transparent", "after:absolute", "after:content-['']", "after:border-b-2", "after:bottom-[-4px]", "after:left-0", "after:right-0", {
6812
6812
  "after:border-table-dark": t === "dark",
6813
6813
  "after:border-table-light": t === "light",
@@ -6828,7 +6828,7 @@ const Ho = /* @__PURE__ */ Z.forwardRef(({ children: e, mode: t = "system", clas
6828
6828
  })
6829
6829
  });
6830
6830
  });
6831
- Ho.displayName = "ButtonSort";
6831
+ Uo.displayName = "ButtonSort";
6832
6832
  /*!
6833
6833
  @versini/ui-card v5.1.1
6834
6834
  © 2025 gizmette.com
@@ -6842,7 +6842,7 @@ try {
6842
6842
  });
6843
6843
  } catch {
6844
6844
  }
6845
- const rt = "av-card", Fo = ({ className: e, headerClassName: t, bodyClassName: r, footerClassName: s, mode: n, compact: a, noBorder: i }) => {
6845
+ const rt = "av-card", Ho = ({ className: e, headerClassName: t, bodyClassName: r, footerClassName: s, mode: n, compact: a, noBorder: i }) => {
6846
6846
  const o = y(rt, "rounded-md", {
6847
6847
  "border-none": i,
6848
6848
  "border-2": !i,
@@ -6869,7 +6869,7 @@ const rt = "av-card", Fo = ({ className: e, headerClassName: t, bodyClassName: r
6869
6869
  footer: d
6870
6870
  };
6871
6871
  };
6872
- function Bo({ id: e, content: t, userAriaLabelledby: r, className: s }) {
6872
+ function Fo({ id: e, content: t, userAriaLabelledby: r, className: s }) {
6873
6873
  return typeof t == "string" ? /* @__PURE__ */ c("h2", {
6874
6874
  id: e,
6875
6875
  className: s,
@@ -6883,9 +6883,9 @@ function Bo({ id: e, content: t, userAriaLabelledby: r, className: s }) {
6883
6883
  children: t
6884
6884
  }) : null;
6885
6885
  }
6886
- const Ko = ({ header: e, headerClassName: t, footer: r, footerClassName: s, children: n, className: a, bodyClassName: i, "aria-labelledby": o, mode: l = "system", compact: f = !1, noBorder: d = !1, ...h }) => {
6886
+ const Bo = ({ header: e, headerClassName: t, footer: r, footerClassName: s, children: n, className: a, bodyClassName: i, "aria-labelledby": o, mode: l = "system", compact: f = !1, noBorder: d = !1, ...h }) => {
6887
6887
  let u = null, p = null;
6888
- const m = typeof e == "string", g = Qs(rt), w = Fo({
6888
+ const m = typeof e == "string", g = js(rt), w = Ho({
6889
6889
  className: a,
6890
6890
  headerClassName: t,
6891
6891
  bodyClassName: i,
@@ -6903,7 +6903,7 @@ const Ko = ({ header: e, headerClassName: t, footer: r, footerClassName: s, chil
6903
6903
  className: w.body,
6904
6904
  ...h,
6905
6905
  children: [
6906
- /* @__PURE__ */ c(Bo, {
6906
+ /* @__PURE__ */ c(Fo, {
6907
6907
  ...u && {
6908
6908
  id: u
6909
6909
  },
@@ -6921,10 +6921,10 @@ const Ko = ({ header: e, headerClassName: t, footer: r, footerClassName: s, chil
6921
6921
  ]
6922
6922
  })
6923
6923
  });
6924
- }, Vo = "av-flexgrid", Ze = "av-flexgrid-item", ht = 0.25, Bt = Z.createContext({
6924
+ }, Ko = "av-flexgrid", Ze = "av-flexgrid-item", ht = 0.25, Bt = Z.createContext({
6925
6925
  columnGap: 0,
6926
6926
  rowGap: 0
6927
- }), Go = ({
6927
+ }), Vo = ({
6928
6928
  children: e,
6929
6929
  className: t,
6930
6930
  columnGap: r = 1,
@@ -6950,7 +6950,7 @@ const Ko = ({ header: e, headerClassName: t, footer: r, footerClassName: s, chil
6950
6950
  marginLeft: r * -1 * ht + "rem",
6951
6951
  marginTop: s * -1 * ht + "rem"
6952
6952
  }, h = y(
6953
- Vo,
6953
+ Ko,
6954
6954
  "box-border flex flex-wrap"
6955
6955
  ), u = { columnGap: r, rowGap: s };
6956
6956
  return t ? /* @__PURE__ */ c("div", { className: t, children: /* @__PURE__ */ c("div", { className: h, style: d, ...f, children: /* @__PURE__ */ c(Bt.Provider, { value: u, children: e }) }) }) : /* @__PURE__ */ c("div", { className: h, style: d, ...f, children: /* @__PURE__ */ c(Bt.Provider, { value: u, children: e }) });
@@ -7027,7 +7027,7 @@ const Ko = ({ header: e, headerClassName: t, footer: r, footerClassName: s, chil
7027
7027
  "lg:basis-full": e === 12 && t === "lg",
7028
7028
  "xl:basis-full": e === 12 && t === "xl",
7029
7029
  "2xl:basis-full": e === 12 && t === "2xl"
7030
- }), zo = ({
7030
+ }), Go = ({
7031
7031
  className: e,
7032
7032
  span: t
7033
7033
  }) => {
@@ -7059,7 +7059,7 @@ const Ko = ({ header: e, headerClassName: t, footer: r, footerClassName: s, chil
7059
7059
  const { columnGap: n, rowGap: a } = Ge(Bt), i = {
7060
7060
  paddingLeft: n * ht + "rem",
7061
7061
  paddingTop: a * ht + "rem"
7062
- }, o = zo({
7062
+ }, o = Go({
7063
7063
  className: t,
7064
7064
  span: r
7065
7065
  });
@@ -7091,7 +7091,7 @@ try {
7091
7091
  });
7092
7092
  } catch {
7093
7093
  }
7094
- const Ys = "SET_ANNOUNCEMENT", Xs = "CLEAR_ANNOUNCEMENT", qo = {
7094
+ const Js = "SET_ANNOUNCEMENT", Ys = "CLEAR_ANNOUNCEMENT", zo = {
7095
7095
  alert: null,
7096
7096
  alertdialog: null,
7097
7097
  log: "polite",
@@ -7099,14 +7099,14 @@ const Ys = "SET_ANNOUNCEMENT", Xs = "CLEAR_ANNOUNCEMENT", qo = {
7099
7099
  progressbar: null,
7100
7100
  status: "polite",
7101
7101
  timer: "assertive"
7102
- }, Wo = (e, t) => {
7102
+ }, qo = (e, t) => {
7103
7103
  switch (t?.type) {
7104
- case Ys:
7104
+ case Js:
7105
7105
  return {
7106
7106
  ...e,
7107
7107
  announcement: t.payload
7108
7108
  };
7109
- case Xs:
7109
+ case Ys:
7110
7110
  return {
7111
7111
  ...e,
7112
7112
  announcement: null
@@ -7114,26 +7114,26 @@ const Ys = "SET_ANNOUNCEMENT", Xs = "CLEAR_ANNOUNCEMENT", qo = {
7114
7114
  default:
7115
7115
  return e;
7116
7116
  }
7117
- }, jo = ({ onAnnouncementClear: e, dispatch: t }) => {
7117
+ }, Wo = ({ onAnnouncementClear: e, dispatch: t }) => {
7118
7118
  t({
7119
- type: Xs
7119
+ type: Ys
7120
7120
  }), typeof e == "function" && e();
7121
- }, Br = ({ children: e, clearAnnouncementDelay: t, clearAnnouncementTimeoutRef: r, onAnnouncementClear: s, dispatch: n }) => {
7121
+ }, Fr = ({ children: e, clearAnnouncementDelay: t, clearAnnouncementTimeoutRef: r, onAnnouncementClear: s, dispatch: n }) => {
7122
7122
  clearTimeout(r.current), e !== null && n({
7123
- type: Ys,
7123
+ type: Js,
7124
7124
  payload: e
7125
- }), t && (r.current = setTimeout(() => jo({
7125
+ }), t && (r.current = setTimeout(() => Wo({
7126
7126
  onAnnouncementClear: s,
7127
7127
  dispatch: n
7128
7128
  }), t));
7129
- }, Qo = ({ children: e, announcementTimeoutRef: t, announcementDelay: r, clearAnnouncementDelay: s, clearAnnouncementTimeoutRef: n, onAnnouncementClear: a, dispatch: i }) => {
7130
- clearTimeout(t.current), r ? t.current = setTimeout(Br, r, {
7129
+ }, jo = ({ children: e, announcementTimeoutRef: t, announcementDelay: r, clearAnnouncementDelay: s, clearAnnouncementTimeoutRef: n, onAnnouncementClear: a, dispatch: i }) => {
7130
+ clearTimeout(t.current), r ? t.current = setTimeout(Fr, r, {
7131
7131
  children: e,
7132
7132
  clearAnnouncementDelay: s,
7133
7133
  clearAnnouncementTimeoutRef: n,
7134
7134
  onAnnouncementClear: a,
7135
7135
  dispatch: i
7136
- }) : Br({
7136
+ }) : Fr({
7137
7137
  children: e,
7138
7138
  clearAnnouncementDelay: s,
7139
7139
  clearAnnouncementTimeoutRef: n,
@@ -7141,13 +7141,13 @@ const Ys = "SET_ANNOUNCEMENT", Xs = "CLEAR_ANNOUNCEMENT", qo = {
7141
7141
  dispatch: i
7142
7142
  });
7143
7143
  };
7144
- function Zs({ children: e, className: t, politeness: r, role: s = null, announcementDelay: n, clearAnnouncementDelay: a, onAnnouncementClear: i, visible: o, ...l }) {
7145
- const f = F(null), d = F(null), [h, u] = zr(Wo, {
7144
+ function Xs({ children: e, className: t, politeness: r, role: s = null, announcementDelay: n, clearAnnouncementDelay: a, onAnnouncementClear: i, visible: o, ...l }) {
7145
+ const f = F(null), d = F(null), [h, u] = Gr(qo, {
7146
7146
  announcement: null
7147
7147
  });
7148
7148
  let p = r;
7149
- typeof p > "u" && (p = s ? qo[s] : "assertive"), A(() => {
7150
- Qo({
7149
+ typeof p > "u" && (p = s ? zo[s] : "assertive"), R(() => {
7150
+ jo({
7151
7151
  announcementTimeoutRef: f,
7152
7152
  announcementDelay: n,
7153
7153
  children: e,
@@ -7188,22 +7188,22 @@ try {
7188
7188
  });
7189
7189
  } catch {
7190
7190
  }
7191
- const en = "av-text-input", Jo = "av-text-input-wrapper", kt = "av-text-input-helper-text", Yo = ({ mode: e }) => y({
7191
+ const Zs = "av-text-input", Qo = "av-text-input-wrapper", kt = "av-text-input-helper-text", Jo = ({ mode: e }) => y({
7192
7192
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
7193
7193
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
7194
7194
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
7195
7195
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
7196
- }), Xo = ({ focusMode: e }) => y("focus:outline focus:outline-2 focus:outline-offset-2", {
7196
+ }), Yo = ({ focusMode: e }) => y("focus:outline focus:outline-2 focus:outline-offset-2", {
7197
7197
  "focus:outline-focus-dark": e === "dark",
7198
7198
  "focus:outline-focus-light": e === "light",
7199
7199
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
7200
7200
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
7201
- }), Zo = ({ noBorder: e, error: t }) => y("border-2", {
7201
+ }), Xo = ({ noBorder: e, error: t }) => y("border-2", {
7202
7202
  "border-border-dark": !e && !t,
7203
7203
  "focus:border-border-dark": !e && t,
7204
7204
  "border-border-error-dark": !e && t,
7205
7205
  "border-transparent": e
7206
- }), ec = ({ disabled: e, raw: t, error: r, mode: s }) => {
7206
+ }), Zo = ({ disabled: e, raw: t, error: r, mode: s }) => {
7207
7207
  if (t)
7208
7208
  return "";
7209
7209
  if (e)
@@ -7222,7 +7222,7 @@ const en = "av-text-input", Jo = "av-text-input-wrapper", kt = "av-text-input-he
7222
7222
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": s === "system",
7223
7223
  "text-copy-lighter dark:text-copy-error-dark": s === "alt-system"
7224
7224
  });
7225
- }, tc = ({ error: e, raw: t, mode: r, disabled: s }) => {
7225
+ }, ec = ({ error: e, raw: t, mode: r, disabled: s }) => {
7226
7226
  if (t)
7227
7227
  return "";
7228
7228
  if (s)
@@ -7241,8 +7241,8 @@ const en = "av-text-input", Jo = "av-text-input-wrapper", kt = "av-text-input-he
7241
7241
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
7242
7242
  "dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
7243
7243
  });
7244
- }, rc = ({ className: e, inputClassName: t, raw: r, disabled: s, noBorder: n, error: a, mode: i, focusMode: o, size: l, rightElementClassName: f }) => {
7245
- const d = r ? e : y("relative flex w-full flex-col justify-center", Jo, e);
7244
+ }, tc = ({ className: e, inputClassName: t, raw: r, disabled: s, noBorder: n, error: a, mode: i, focusMode: o, size: l, rightElementClassName: f }) => {
7245
+ const d = r ? e : y("relative flex w-full flex-col justify-center", Qo, e);
7246
7246
  let h = "";
7247
7247
  switch (l) {
7248
7248
  case "xs":
@@ -7261,21 +7261,21 @@ const en = "av-text-input", Jo = "av-text-input-wrapper", kt = "av-text-input-he
7261
7261
  h = "h-12";
7262
7262
  break;
7263
7263
  }
7264
- const u = r ? y(t) : y(en, h, "rounded-md text-base px-4", Yo({
7264
+ const u = r ? y(t) : y(Zs, h, "rounded-md text-base px-4", Jo({
7265
7265
  mode: i
7266
- }), Xo({
7266
+ }), Yo({
7267
7267
  focusMode: o
7268
- }), Zo({
7268
+ }), Xo({
7269
7269
  noBorder: n,
7270
7270
  error: a
7271
7271
  }), {
7272
7272
  "disabled:cursor-not-allowed disabled:opacity-50": s
7273
- }, t), p = r ? void 0 : "sr-only", m = ec({
7273
+ }, t), p = r ? void 0 : "sr-only", m = Zo({
7274
7274
  disabled: s,
7275
7275
  raw: r,
7276
7276
  error: a,
7277
7277
  mode: i
7278
- }), g = tc({
7278
+ }), g = ec({
7279
7279
  error: a,
7280
7280
  raw: r,
7281
7281
  mode: i,
@@ -7289,11 +7289,11 @@ const en = "av-text-input", Jo = "av-text-input-wrapper", kt = "av-text-input-he
7289
7289
  helperText: g,
7290
7290
  rightElement: w
7291
7291
  };
7292
- }, nr = /* @__PURE__ */ Z.forwardRef(({ id: e, name: t, label: r, error: s = !1, raw: n = !1, className: a, inputClassName: i, mode: o = "system", focusMode: l = "system", disabled: f = !1, noBorder: d = !1, labelId: h, labelHidden: u = !1, type: p = "text", helperText: m = "", rightElement: g, rightElementClassName: w, size: b = "md", ...x }, R) => {
7293
- const [J, P] = tt(), [re, M] = Y(0), I = Qs({
7292
+ }, nr = /* @__PURE__ */ Z.forwardRef(({ id: e, name: t, label: r, error: s = !1, raw: n = !1, className: a, inputClassName: i, mode: o = "system", focusMode: l = "system", disabled: f = !1, noBorder: d = !1, labelId: h, labelHidden: u = !1, type: p = "text", helperText: m = "", rightElement: g, rightElementClassName: w, size: b = "md", ...x }, C) => {
7293
+ const [J, M] = tt(), [re, P] = Y(0), I = js({
7294
7294
  id: e,
7295
- prefix: `${en}-`
7296
- }), V = `${t} error, ${m}`, O = F(null), C = F(null), D = {
7295
+ prefix: `${Zs}-`
7296
+ }), V = `${t} error, ${m}`, k = F(null), O = F(null), D = {
7297
7297
  xs: {
7298
7298
  label: "-25px",
7299
7299
  helperText: "30px"
@@ -7314,7 +7314,7 @@ const en = "av-text-input", Jo = "av-text-input-wrapper", kt = "av-text-input-he
7314
7314
  label: "-19px",
7315
7315
  helperText: "25px"
7316
7316
  }
7317
- }, ee = rc({
7317
+ }, ee = tc({
7318
7318
  className: a,
7319
7319
  inputClassName: i,
7320
7320
  error: s,
@@ -7327,12 +7327,12 @@ const en = "av-text-input", Jo = "av-text-input-wrapper", kt = "av-text-input-he
7327
7327
  rightElementClassName: w
7328
7328
  });
7329
7329
  return st(() => {
7330
- P && P.width && M(P.width + 18 + 10);
7330
+ M && M.width && P(M.width + 18 + 10);
7331
7331
  }, [
7332
- P
7332
+ M
7333
7333
  ]), st(() => {
7334
7334
  const { label: me, helperText: _e } = D[b];
7335
- O?.current?.style.setProperty("--av-text-input-label", me), C?.current?.style.setProperty("--av-text-input-helper-text", _e);
7335
+ k?.current?.style.setProperty("--av-text-input-label", me), O?.current?.style.setProperty("--av-text-input-helper-text", _e);
7336
7336
  }, [
7337
7337
  b
7338
7338
  ]), /* @__PURE__ */ E("div", {
@@ -7345,7 +7345,7 @@ const en = "av-text-input", Jo = "av-text-input-wrapper", kt = "av-text-input-he
7345
7345
  children: r
7346
7346
  }),
7347
7347
  /* @__PURE__ */ c("input", {
7348
- ref: R,
7348
+ ref: C,
7349
7349
  id: I,
7350
7350
  name: t,
7351
7351
  type: p,
@@ -7366,14 +7366,14 @@ const en = "av-text-input", Jo = "av-text-input-wrapper", kt = "av-text-input-he
7366
7366
  ...x
7367
7367
  }),
7368
7368
  !n && !u && /* @__PURE__ */ c("label", {
7369
- ref: O,
7369
+ ref: k,
7370
7370
  "aria-hidden": !0,
7371
7371
  htmlFor: I,
7372
7372
  className: ee.visibleLabel,
7373
7373
  children: r
7374
7374
  }),
7375
7375
  m && /* @__PURE__ */ c("div", {
7376
- ref: C,
7376
+ ref: O,
7377
7377
  id: `${I}-helper`,
7378
7378
  className: ee.helperText,
7379
7379
  children: m
@@ -7383,7 +7383,7 @@ const en = "av-text-input", Jo = "av-text-input-wrapper", kt = "av-text-input-he
7383
7383
  className: ee.rightElement,
7384
7384
  children: g
7385
7385
  }),
7386
- s && m && /* @__PURE__ */ c(Zs, {
7386
+ s && m && /* @__PURE__ */ c(Xs, {
7387
7387
  politeness: "polite",
7388
7388
  clearAnnouncementDelay: 500,
7389
7389
  children: V
@@ -7392,45 +7392,45 @@ const en = "av-text-input", Jo = "av-text-input-wrapper", kt = "av-text-input-he
7392
7392
  });
7393
7393
  });
7394
7394
  nr.displayName = "TextInput";
7395
- const sc = 500, nc = 5e3, ac = 2e4, tn = /* @__PURE__ */ Z.forwardRef(({ name: e, disabled: t, label: r, labelHidden: s, onMaskChange: n, onChange: a, onBlur: i, onFocus: o, onTextInputMaskBlur: l, rightElement: f, ...d }, h) => {
7395
+ const rc = 500, sc = 5e3, nc = 2e4, en = /* @__PURE__ */ Z.forwardRef(({ name: e, disabled: t, label: r, labelHidden: s, onMaskChange: n, onChange: a, onBlur: i, onFocus: o, onTextInputMaskBlur: l, rightElement: f, ...d }, h) => {
7396
7396
  const [u, p] = Y(!0), [m, g] = Y({
7397
7397
  message: null,
7398
7398
  politeness: null
7399
- }), w = F(!0), b = F(null), x = F(null), R = js([
7399
+ }), w = F(!0), b = F(null), x = F(null), C = Ws([
7400
7400
  h,
7401
7401
  x
7402
- ]), J = u ? "Show" : "Hide", P = () => {
7402
+ ]), J = u ? "Show" : "Hide", M = () => {
7403
7403
  b.current && clearTimeout(b.current), w.current || (b.current = setTimeout(() => {
7404
7404
  w.current = !0, p(!0), g({
7405
- announcementTimeout: nc,
7405
+ announcementTimeout: sc,
7406
7406
  politeness: "polite",
7407
7407
  message: `${r} hiding characters`
7408
7408
  }), n && n(!0);
7409
- }, ac));
7410
- }, re = (C) => {
7411
- C.preventDefault();
7409
+ }, nc));
7410
+ }, re = (O) => {
7411
+ O.preventDefault();
7412
7412
  const D = !w.current;
7413
- w.current = D, P(), p(D), g({
7414
- announcementTimeout: sc,
7413
+ w.current = D, M(), p(D), g({
7414
+ announcementTimeout: rc,
7415
7415
  politeness: "assertive",
7416
7416
  message: D ? "Characters hidden" : "Characters showing"
7417
7417
  }), n && n(D);
7418
- }, M = (C) => {
7419
- const { relatedTarget: D } = C;
7418
+ }, P = (O) => {
7419
+ const { relatedTarget: D } = O;
7420
7420
  x.current?.parentElement?.contains(D) || l && l();
7421
- }, I = (C) => {
7422
- P(), i && i(C), M(C);
7423
- }, V = (C) => {
7424
- P(), o && o(C);
7425
- }, O = (C) => {
7426
- P(), a && a(C);
7421
+ }, I = (O) => {
7422
+ M(), i && i(O), P(O);
7423
+ }, V = (O) => {
7424
+ M(), o && o(O);
7425
+ }, k = (O) => {
7426
+ M(), a && a(O);
7427
7427
  };
7428
- return A(() => () => {
7428
+ return R(() => () => {
7429
7429
  b.current && clearTimeout(b.current);
7430
- }, []), /* @__PURE__ */ E(Gr, {
7430
+ }, []), /* @__PURE__ */ E(Vr, {
7431
7431
  children: [
7432
7432
  /* @__PURE__ */ c(nr, {
7433
- ref: R,
7433
+ ref: C,
7434
7434
  name: e,
7435
7435
  label: r,
7436
7436
  labelHidden: s,
@@ -7438,17 +7438,17 @@ const sc = 500, nc = 5e3, ac = 2e4, tn = /* @__PURE__ */ Z.forwardRef(({ name: e
7438
7438
  disabled: t,
7439
7439
  onBlur: I,
7440
7440
  onFocus: V,
7441
- onChange: O,
7441
+ onChange: k,
7442
7442
  rightElement: /* @__PURE__ */ Z.cloneElement(f, {
7443
7443
  ref: h,
7444
7444
  label: J,
7445
7445
  onClick: re,
7446
- onBlur: M,
7446
+ onBlur: P,
7447
7447
  disabled: t
7448
7448
  }),
7449
7449
  ...d
7450
7450
  }),
7451
- /* @__PURE__ */ c(Zs, {
7451
+ /* @__PURE__ */ c(Xs, {
7452
7452
  role: "status",
7453
7453
  politeness: m.politeness,
7454
7454
  clearAnnouncementDelay: m.announcementTimeout,
@@ -7457,10 +7457,8 @@ const sc = 500, nc = 5e3, ac = 2e4, tn = /* @__PURE__ */ Z.forwardRef(({ name: e
7457
7457
  ]
7458
7458
  });
7459
7459
  });
7460
- tn.displayName = "TextInputMask";
7461
- const ic = "ASK! ME! ANYTHING!", oc = "Log in with a password", cc = "Log in with a Passkey", Hu = "Log out", lc = "Password", Fu = "Usage", Bu = "Profile", Ku = "Settings", Vu = "Chat history", Gu = "About", ar = "Type your message here.", zu = ar, qu = `${ar}
7462
- Press Enter to send it or Shift+Enter for new line.`, Wu = `${ar}
7463
- Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "Review important details.", Qu = [
7460
+ en.displayName = "TextInputMask";
7461
+ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in with a Passkey", Uu = "Log out", cc = "Password", Hu = "Usage", Fu = "Profile", Bu = "Settings", Ku = "Chat history", Vu = "About", Gu = "Type your message here.", zu = "{{clipboard}}", $ = "Review important details.", qu = [
7464
7462
  `Sometimes, ${L} just makes stuff up. ${$}`,
7465
7463
  `${L} may invent facts on the fly. ${$}`,
7466
7464
  `${L} may be confidently wrong. ${$}`,
@@ -7481,17 +7479,17 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7481
7479
  `Sometimes, ${L} howls at the moon. ${$}`,
7482
7480
  `${L} may dig up imaginary bones. ${$}`,
7483
7481
  `${L} may sniff out nonsense. ${$}`
7484
- ], Ju = "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.", Yu = "Default provider set to", Xu = "Chat successfully deleted!", Zu = "Chat successfully saved!", ed = "Caching enabled. Assets are now stored locally.", td = "Caching disabled. Local asset cache cleared.", rd = "av-sassy", sd = {
7482
+ ], Wu = "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.", ju = "Default provider set to", Qu = "Chat successfully deleted!", Ju = "Chat successfully saved!", Yu = "Caching enabled. Assets are now stored locally.", Xu = "Caching disabled. Local asset cache cleared.", Zu = "av-sassy", ed = {
7485
7483
  0: ["January", "February", "March"],
7486
7484
  3: ["April", "May", "June"],
7487
7485
  6: ["July", "August", "September"],
7488
7486
  9: ["October", "November", "December"]
7489
- }, nd = {
7487
+ }, td = {
7490
7488
  0: ["Jan", "Feb", "Mar"],
7491
7489
  3: ["Apr", "May", "Jun"],
7492
7490
  6: ["Jul", "Aug", "Sep"],
7493
7491
  9: ["Oct", "Nov", "Dec"]
7494
- }, ad = {
7492
+ }, rd = {
7495
7493
  PREFERENCES: {
7496
7494
  TITLE: "User profile",
7497
7495
  USERNAME: "Username",
@@ -7543,38 +7541,38 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7543
7541
  SEND_ON_ENTER: "This 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.",
7544
7542
  USE_MEMORY: "This option allows you to choose whether you want to enable memory for your chats. When enabled, Diggidy will remember your previous interactions and use them to provide more relevant responses."
7545
7543
  }
7546
- }, uc = {
7544
+ }, lc = {
7547
7545
  ASC: "asc",
7548
7546
  DESC: "desc"
7549
- }, id = "FOOTER_BOTTOM", dc = "FOOTER_TOP", hc = "APP_SET_FOOTER_POSITION", fc = "APP_SET_FOOTER_HEIGHT", pc = "APP_SET_OLED_MODE", mc = "APP_SET_FULL_SCREEN", yc = "APP_SET_THEME_MODE", gc = "APP_SET_THEME_PALETTE", od = (e, t) => {
7547
+ }, sd = "FOOTER_BOTTOM", uc = "FOOTER_TOP", dc = "APP_SET_FOOTER_POSITION", hc = "APP_SET_FOOTER_HEIGHT", fc = "APP_SET_OLED_MODE", pc = "APP_SET_FULL_SCREEN", mc = "APP_SET_THEME_MODE", yc = "APP_SET_THEME_PALETTE", nd = (e, t) => {
7550
7548
  switch (t.type) {
7551
- case hc:
7549
+ case dc:
7552
7550
  return {
7553
7551
  ...e,
7554
7552
  footerPosition: t.payload.footerPosition,
7555
7553
  footerOffset: t.payload.footerOffset
7556
7554
  };
7557
- case fc:
7555
+ case hc:
7558
7556
  return {
7559
7557
  ...e,
7560
7558
  footerHeight: t.payload.footerHeight
7561
7559
  };
7562
- case pc:
7560
+ case fc:
7563
7561
  return {
7564
7562
  ...e,
7565
7563
  oledMode: t.payload.oledMode
7566
7564
  };
7567
- case mc:
7565
+ case pc:
7568
7566
  return {
7569
7567
  ...e,
7570
7568
  fullScreen: t.payload.fullScreen
7571
7569
  };
7572
- case yc:
7570
+ case mc:
7573
7571
  return {
7574
7572
  ...e,
7575
7573
  themeMode: t.payload.themeMode
7576
7574
  };
7577
- case gc:
7575
+ case yc:
7578
7576
  return {
7579
7577
  ...e,
7580
7578
  themePalette: t.payload.themePalette
@@ -7582,21 +7580,21 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7582
7580
  default:
7583
7581
  return e;
7584
7582
  }
7585
- }, cd = Z.createContext({
7583
+ }, ad = Z.createContext({
7586
7584
  state: {
7587
7585
  searchString: "",
7588
7586
  sortedCell: "",
7589
- sortDirection: uc.DESC
7587
+ sortDirection: lc.DESC
7590
7588
  },
7591
7589
  dispatch: () => {
7592
7590
  }
7593
- }), ld = Z.createContext({
7591
+ }), id = Z.createContext({
7594
7592
  state: { prompt: "", lastTriggeredTimestamp: 0 },
7595
7593
  dispatch: () => {
7596
7594
  }
7597
- }), ud = Z.createContext({
7595
+ }), od = Z.createContext({
7598
7596
  state: {
7599
- provider: _i,
7597
+ provider: Ii,
7600
7598
  privateChat: !1,
7601
7599
  reasoning: !1,
7602
7600
  streaming: !1,
@@ -7614,48 +7612,48 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7614
7612
  },
7615
7613
  setInitialMessages: () => {
7616
7614
  }
7617
- }), Ec = Z.createContext({
7615
+ }), gc = Z.createContext({
7618
7616
  state: {
7619
- footerPosition: dc,
7617
+ footerPosition: uc,
7620
7618
  footerHeight: 0,
7621
7619
  footerOffset: 0,
7622
7620
  oledMode: !1,
7623
7621
  fullScreen: !1,
7624
- themeMode: vi
7622
+ themeMode: bi
7625
7623
  },
7626
7624
  dispatch: () => {
7627
7625
  }
7628
- }), wc = (e) => {
7626
+ }), Ec = (e) => {
7629
7627
  const t = window.matchMedia("(prefers-color-scheme: dark)");
7630
7628
  return t.addEventListener("change", e), () => t.removeEventListener("change", e);
7631
- }, Sc = () => window.matchMedia("(prefers-color-scheme: dark)").matches ? Ft.DARK : Ft.LIGHT, bc = (e) => {
7629
+ }, wc = () => window.matchMedia("(prefers-color-scheme: dark)").matches ? Ft.DARK : Ft.LIGHT, Sc = (e) => {
7632
7630
  const t = document.documentElement;
7633
7631
  Array.from(t.style).filter((r) => r.startsWith("--av-")).forEach((r) => t.style.removeProperty(r)), e && Object.entries(e).forEach(([r, s]) => {
7634
7632
  t.style.setProperty(r, s);
7635
7633
  });
7636
- }, vc = () => {
7634
+ }, bc = () => {
7637
7635
  const {
7638
7636
  state: { oledMode: e, themePalette: t }
7639
- } = Ge(Ec), r = Vt(
7637
+ } = Ge(gc), r = Vt(
7638
+ Ec,
7640
7639
  wc,
7641
- Sc,
7642
7640
  () => Ft.LIGHT
7643
- ), s = e ? Pr.OLED : Pr.NORMAL, n = He(
7641
+ ), s = e ? kr.OLED : kr.NORMAL, n = He(
7644
7642
  () => t?.[s]?.[r],
7645
7643
  [t, s, r]
7646
7644
  );
7647
- return A(() => {
7648
- n?.cssVariables && bc(n.cssVariables);
7645
+ return R(() => {
7646
+ n?.cssVariables && Sc(n.cssVariables);
7649
7647
  }, [n]), [N(
7650
7648
  (i) => n?.colors[i] || "",
7651
7649
  [n]
7652
- ), Ti];
7653
- }, Tc = ({
7650
+ ), vi];
7651
+ }, vc = ({
7654
7652
  className: e,
7655
7653
  isCapabilitiesSuccess: t,
7656
7654
  capabilities: r
7657
7655
  }) => {
7658
- const [s, n] = vc(), a = s(n.Logo) || "prose-h1:text-copy-medium prose-h2:text-copy-medium text-copy-medium";
7656
+ const [s, n] = bc(), a = s(n.Logo) || "prose-h1:text-copy-medium prose-h2:text-copy-medium text-copy-medium";
7659
7657
  return /* @__PURE__ */ E(
7660
7658
  "div",
7661
7659
  {
@@ -7665,7 +7663,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7665
7663
  "flex items-center justify-center"
7666
7664
  ),
7667
7665
  children: [
7668
- /* @__PURE__ */ c("div", { className: y("basis-1/4", a), children: /* @__PURE__ */ c(co, {}) }),
7666
+ /* @__PURE__ */ c("div", { className: y("basis-1/4", a), children: /* @__PURE__ */ c(oo, {}) }),
7669
7667
  /* @__PURE__ */ E(
7670
7668
  "div",
7671
7669
  {
@@ -7680,37 +7678,37 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7680
7678
  ),
7681
7679
  children: [
7682
7680
  /* @__PURE__ */ c("h1", { children: L }),
7683
- /* @__PURE__ */ c("h2", { children: ic })
7681
+ /* @__PURE__ */ c("h2", { children: ac })
7684
7682
  ]
7685
7683
  }
7686
7684
  )
7687
7685
  ]
7688
7686
  }
7689
7687
  );
7690
- }, Ic = () => {
7691
- const { login: e, logoutReason: t, loginWithPasskey: r } = Ts(), [s, n] = Y(""), [a, i] = Y(""), [o, l] = Y(!0), [f, d] = Y({
7688
+ }, Tc = () => {
7689
+ const { login: e, logoutReason: t, loginWithPasskey: r } = vs(), [s, n] = Y(""), [a, i] = Y(""), [o, l] = Y(!0), [f, d] = Y({
7692
7690
  username: "",
7693
7691
  password: ""
7694
7692
  }), h = async (u) => {
7695
7693
  u.preventDefault(), await e(f.username, f.password) || (i(""), n("Invalid username or password"));
7696
7694
  };
7697
- return A(() => {
7695
+ return R(() => {
7698
7696
  document.getElementById("logo")?.classList.add("fadeOut"), setTimeout(() => {
7699
7697
  document.getElementById("root")?.classList.replace("app-hidden", "fadeIn");
7700
7698
  }, 500);
7701
- }), A(() => {
7699
+ }), R(() => {
7702
7700
  t && i(t);
7703
- }, [t]), /* @__PURE__ */ E("main", { className: Ks({ extraClass: "mt-5" }), children: [
7701
+ }, [t]), /* @__PURE__ */ E("main", { className: Bs({ extraClass: "mt-5" }), children: [
7704
7702
  /* @__PURE__ */ c(
7705
7703
  "div",
7706
7704
  {
7707
- className: Bs({
7705
+ className: Fs({
7708
7706
  extraClass: "rounded-md pb-10"
7709
7707
  }),
7710
- children: /* @__PURE__ */ c(Tc, {})
7708
+ children: /* @__PURE__ */ c(vc, {})
7711
7709
  }
7712
7710
  ),
7713
- /* @__PURE__ */ c("form", { className: "mt-5", onSubmit: h, children: /* @__PURE__ */ c(Go, { alignHorizontal: "center", children: /* @__PURE__ */ c(Se, { span: 6, children: /* @__PURE__ */ E(Ko, { mode: "dark", children: [
7711
+ /* @__PURE__ */ c("form", { className: "mt-5", onSubmit: h, children: /* @__PURE__ */ c(Vo, { alignHorizontal: "center", children: /* @__PURE__ */ c(Se, { span: 6, children: /* @__PURE__ */ E(Bo, { mode: "dark", children: [
7714
7712
  /* @__PURE__ */ c(Se, { span: 12, className: "mt-7", children: a && /* @__PURE__ */ c("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: a }) }),
7715
7713
  /* @__PURE__ */ c(Se, { span: 12, children: /* @__PURE__ */ c(
7716
7714
  nr,
@@ -7734,7 +7732,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7734
7732
  }
7735
7733
  ) }),
7736
7734
  /* @__PURE__ */ c(Se, { span: 12, children: /* @__PURE__ */ c(
7737
- tn,
7735
+ en,
7738
7736
  {
7739
7737
  className: "mt-7",
7740
7738
  required: !0,
@@ -7744,14 +7742,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7744
7742
  mode: "dark",
7745
7743
  focusMode: "light",
7746
7744
  name: "password",
7747
- label: lc,
7745
+ label: cc,
7748
7746
  rightElement: /* @__PURE__ */ c(
7749
7747
  Ve,
7750
7748
  {
7751
7749
  focusMode: "light",
7752
7750
  mode: "dark",
7753
7751
  label: o ? "Show" : "Hide",
7754
- children: o ? /* @__PURE__ */ c(ho, {}) : /* @__PURE__ */ c(lo, {})
7752
+ children: o ? /* @__PURE__ */ c(uo, {}) : /* @__PURE__ */ c(co, {})
7755
7753
  }
7756
7754
  ),
7757
7755
  onMaskChange: l,
@@ -7766,7 +7764,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7766
7764
  }
7767
7765
  ) }),
7768
7766
  /* @__PURE__ */ c(Se, { span: 12, children: /* @__PURE__ */ c(
7769
- Js,
7767
+ Qs,
7770
7768
  {
7771
7769
  mode: "dark",
7772
7770
  focusMode: "light",
@@ -7774,10 +7772,10 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7774
7772
  noBorder: !0,
7775
7773
  type: "submit",
7776
7774
  className: "mt-7",
7777
- children: oc
7775
+ children: ic
7778
7776
  }
7779
7777
  ) }),
7780
- !Vs() && /* @__PURE__ */ E(Gr, { children: [
7778
+ !Ks() && /* @__PURE__ */ E(Vr, { children: [
7781
7779
  /* @__PURE__ */ c(Se, { span: 12, children: /* @__PURE__ */ c("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
7782
7780
  /* @__PURE__ */ c(Se, { span: 12, children: /* @__PURE__ */ c(
7783
7781
  Ve,
@@ -7787,49 +7785,49 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7787
7785
  focusMode: "light",
7788
7786
  fullWidth: !0,
7789
7787
  className: "mb-4",
7790
- labelRight: cc,
7788
+ labelRight: oc,
7791
7789
  onClick: r,
7792
- children: /* @__PURE__ */ c(uo, { size: "size-7" })
7790
+ children: /* @__PURE__ */ c(lo, { size: "size-7" })
7793
7791
  }
7794
7792
  ) })
7795
7793
  ] })
7796
7794
  ] }) }) }) })
7797
7795
  ] });
7798
- }, _c = new URL(document.location.href).searchParams, Kr = !!_c.get("debug") || !1, Ac = nn(() => import(
7796
+ }, Ic = new URL(document.location.href).searchParams, Br = !!Ic.get("debug") || !1, _c = sn(() => import(
7799
7797
  /* webpackChunkName: "LazyApp" */
7800
- "./App.CPKurvKa.js"
7801
- ).then((e) => e.App)), Rc = new Cn(), Vr = ({
7798
+ "./App.D_iFRMLf.js"
7799
+ ).then((e) => e.App)), Ac = new Rn(), Kr = ({
7802
7800
  isComponent: e,
7803
7801
  headerHeight: t
7804
7802
  }) => {
7805
- const { isAuthenticated: r, isLoading: s, user: n, getAccessToken: a } = Ts();
7806
- return s ? /* @__PURE__ */ c("div", {}) : r ? /* @__PURE__ */ c(sn, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(On, { client: Rc, children: /* @__PURE__ */ c(
7803
+ const { isAuthenticated: r, isLoading: s, user: n, getAccessToken: a } = vs();
7804
+ return s ? /* @__PURE__ */ c("div", {}) : r ? /* @__PURE__ */ c(rn, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Cn, { client: Ac, children: /* @__PURE__ */ c(
7807
7805
  Mi,
7808
7806
  {
7809
7807
  user: n?.username,
7810
7808
  getAccessToken: a,
7811
- children: /* @__PURE__ */ c(Ac, { isComponent: e, headerHeight: t })
7809
+ children: /* @__PURE__ */ c(_c, { isComponent: e, headerHeight: t })
7812
7810
  }
7813
- ) }) }) : /* @__PURE__ */ c(Ic, {});
7814
- }, Cc = ({
7811
+ ) }) }) : /* @__PURE__ */ c(Tc, {});
7812
+ }, Rc = ({
7815
7813
  isComponent: e = !1,
7816
7814
  headerHeight: t = 0,
7817
- domain: r = Fs
7818
- }) => (A(() => {
7819
- e || As().catch((s) => {
7815
+ domain: r = Hs
7816
+ }) => (R(() => {
7817
+ e || _s().catch((s) => {
7820
7818
  console.error("[SW] Failed to register service worker:", s);
7821
7819
  });
7822
7820
  }, [e]), Zt ? /* @__PURE__ */ c(
7823
- Cr,
7821
+ Rr,
7824
7822
  {
7825
- clientId: kr,
7823
+ clientId: Or,
7826
7824
  domain: r,
7827
- debug: Kr,
7825
+ debug: Br,
7828
7826
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
7829
- children: /* @__PURE__ */ c(Vr, { isComponent: e, headerHeight: t })
7827
+ children: /* @__PURE__ */ c(Kr, { isComponent: e, headerHeight: t })
7830
7828
  }
7831
- ) : /* @__PURE__ */ c(Cr, { clientId: kr, domain: r, debug: Kr, children: /* @__PURE__ */ c(Vr, { isComponent: e, headerHeight: t }) })), dd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ c(
7832
- Cc,
7829
+ ) : /* @__PURE__ */ c(Rr, { clientId: Or, domain: r, debug: Br, children: /* @__PURE__ */ c(Kr, { isComponent: e, headerHeight: t }) })), cd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ c(
7830
+ Rc,
7833
7831
  {
7834
7832
  isComponent: !0,
7835
7833
  domain: e,
@@ -7837,197 +7835,195 @@ Press Ctrl+Enter to send it or Enter for new line.`, ju = "{{clipboard}}", $ = "
7837
7835
  }
7838
7836
  );
7839
7837
  export {
7840
- Gu as ABOUT_TITLE,
7841
- Gc as ACTION_RESET_PROMPT,
7842
- Bc as ACTION_SEARCH,
7843
- Kc as ACTION_SORT,
7844
- Vc as ACTION_TOGGLE_PROMPT,
7845
- rd as APP_CLASSNAME,
7846
- fc as APP_SET_FOOTER_HEIGHT,
7847
- hc as APP_SET_FOOTER_POSITION,
7848
- mc as APP_SET_FULL_SCREEN,
7849
- pc as APP_SET_OLED_MODE,
7850
- yc as APP_SET_THEME_MODE,
7851
- gc as APP_SET_THEME_PALETTE,
7852
- Ec as AppContext,
7853
- Tl as B,
7854
- Js as Button,
7855
- $o as ButtonCopy,
7838
+ Vu as ABOUT_TITLE,
7839
+ Vc as ACTION_RESET_PROMPT,
7840
+ Fc as ACTION_SEARCH,
7841
+ Bc as ACTION_SORT,
7842
+ Kc as ACTION_TOGGLE_PROMPT,
7843
+ Zu as APP_CLASSNAME,
7844
+ hc as APP_SET_FOOTER_HEIGHT,
7845
+ dc as APP_SET_FOOTER_POSITION,
7846
+ pc as APP_SET_FULL_SCREEN,
7847
+ fc as APP_SET_OLED_MODE,
7848
+ mc as APP_SET_THEME_MODE,
7849
+ yc as APP_SET_THEME_PALETTE,
7850
+ gc as AppContext,
7851
+ vl as B,
7852
+ Qs as Button,
7853
+ Do as ButtonCopy,
7856
7854
  Ve as ButtonIcon,
7857
- Ho as ButtonSort_private,
7858
- ad as CARDS,
7859
- ju as CLIPBOARD_PROMPT,
7860
- Ko as Card,
7861
- ud as ChatContext,
7862
- ol as DEFAULT_ICON_ACTION_SIZE,
7863
- Fc as ERROR_MESSAGE,
7864
- id as FOOTER_BOTTOM,
7865
- Qu as FOOTER_DISCLAIMERS,
7866
- dc as FOOTER_TOP,
7867
- bl as H,
7868
- Vu as HISTORY_TITLE,
7869
- cd as HistoryContext,
7870
- nl as INFINITE_SCROLL_LIMIT,
7871
- sl as INFINITE_SCROLL_THRESHOLD,
7872
- hl as INPUT_BOTTOM_OFFSET,
7873
- ml as INPUT_BOTTOM_OFFSET_EXTRA,
7874
- pl as INPUT_BOTTOM_OFFSET_IPAD,
7875
- fl as INPUT_BOTTOM_OFFSET_IPHONE,
7876
- Wu as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
7877
- qu as INPUT_PLACEHOLDER_TEXT_ENTER,
7878
- zu as INPUT_PLACEHOLDER_TEXT_MOBILE,
7879
- Jl as IconAddLight,
7880
- Yl as IconAnthropic,
7881
- Xl as IconBack,
7882
- Zl as IconBookSparklesLight,
7883
- eu as IconChart,
7884
- tu as IconClose,
7885
- ru as IconCloseLight,
7886
- io as IconCopied,
7887
- oo as IconCopy,
7888
- su as IconDelete,
7889
- nu as IconDownloadLight,
7890
- au as IconEdit,
7891
- iu as IconEditLight,
7892
- ou as IconEditUser,
7893
- cu as IconGoogleGemini,
7894
- lu as IconHistory,
7895
- uu as IconInfo,
7896
- du as IconLightBulbLight,
7897
- hu as IconLockedLight,
7898
- fu as IconMagic,
7899
- pu as IconNext,
7900
- mu as IconOpenAI,
7901
- uo as IconPasskey,
7902
- yu as IconProfile,
7903
- gu as IconProofread,
7904
- Eu as IconRestore,
7905
- wu as IconRewrite,
7906
- Su as IconSearch,
7907
- bu as IconSelected,
7908
- vu as IconSendLight,
7909
- Tu as IconSettings,
7910
- Iu as IconSliders,
7911
- _u as IconStarInCircle,
7912
- Au as IconStarInCircleLight,
7913
- Cu as IconUnSelected,
7914
- Ru as IconUnlockedLight,
7915
- Go as L,
7916
- el as LOCAL_STORAGE_CHAT_ID,
7917
- Yc as LOCAL_STORAGE_FAVORITES_ONLY,
7918
- rl as LOCAL_STORAGE_FULL_SCREEN,
7919
- tl as LOCAL_STORAGE_OLED_MODE,
7920
- Is as LOCAL_STORAGE_PREFIX,
7921
- Xc as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
7922
- Zc as LOCAL_STORAGE_REASONING_DISCLOSURE,
7923
- zc as LOCAL_STORAGE_SEARCH,
7924
- qc as LOCAL_STORAGE_SORT,
7925
- Jc as LOCAL_STORAGE_SORT_MEMORY_COLUMN,
7926
- Qc as LOCAL_STORAGE_SORT_MEMORY_DIRECTION,
7927
- Wc as LOCAL_STORAGE_SORT_TIMESTAMP,
7928
- jc as LOCAL_STORAGE_SORT_TOKEN_USAGE,
7929
- Hu as LOG_OUT,
7930
- Zs as LiveRegion,
7931
- Tc as Logo,
7932
- Sl as O,
7933
- Bu as PROFILE_TITLE,
7934
- Ju as PROMPTS_DESCRIPTION,
7935
- al as PROMPT_CLASSNAME,
7936
- il as PROMPT_EDITABLE_AREA_CLASSNAME,
7937
- ld as PromptsContext,
7855
+ Uo as ButtonSort_private,
7856
+ rd as CARDS,
7857
+ zu as CLIPBOARD_PROMPT,
7858
+ Bo as Card,
7859
+ od as ChatContext,
7860
+ il as DEFAULT_ICON_ACTION_SIZE,
7861
+ Hc as ERROR_MESSAGE,
7862
+ Tl as F,
7863
+ sd as FOOTER_BOTTOM,
7864
+ qu as FOOTER_DISCLAIMERS,
7865
+ uc as FOOTER_TOP,
7866
+ Sl as H,
7867
+ Ku as HISTORY_TITLE,
7868
+ ad as HistoryContext,
7869
+ sl as INFINITE_SCROLL_LIMIT,
7870
+ rl as INFINITE_SCROLL_THRESHOLD,
7871
+ dl as INPUT_BOTTOM_OFFSET,
7872
+ pl as INPUT_BOTTOM_OFFSET_EXTRA,
7873
+ fl as INPUT_BOTTOM_OFFSET_IPAD,
7874
+ hl as INPUT_BOTTOM_OFFSET_IPHONE,
7875
+ Gu as INPUT_PLACEHOLDER_TEXT,
7876
+ Ql as IconAddLight,
7877
+ Jl as IconAnthropic,
7878
+ Yl as IconBack,
7879
+ Xl as IconBookSparklesLight,
7880
+ Zl as IconChart,
7881
+ eu as IconClose,
7882
+ tu as IconCloseLight,
7883
+ ao as IconCopied,
7884
+ io as IconCopy,
7885
+ ru as IconDelete,
7886
+ su as IconDownloadLight,
7887
+ nu as IconEdit,
7888
+ au as IconEditLight,
7889
+ iu as IconEditUser,
7890
+ ou as IconGoogleGemini,
7891
+ cu as IconHistory,
7892
+ lu as IconInfo,
7893
+ uu as IconLightBulbLight,
7894
+ du as IconLockedLight,
7895
+ hu as IconMagic,
7896
+ fu as IconNext,
7897
+ pu as IconOpenAI,
7898
+ lo as IconPasskey,
7899
+ mu as IconProfile,
7900
+ yu as IconProofread,
7901
+ gu as IconRestore,
7902
+ Eu as IconRewrite,
7903
+ wu as IconSearch,
7904
+ Su as IconSelected,
7905
+ bu as IconSendLight,
7906
+ vu as IconSettings,
7907
+ Tu as IconSliders,
7908
+ Iu as IconStarInCircle,
7909
+ _u as IconStarInCircleLight,
7910
+ Ru as IconUnSelected,
7911
+ Au as IconUnlockedLight,
7912
+ Vo as L,
7913
+ Zc as LOCAL_STORAGE_CHAT_ID,
7914
+ Jc as LOCAL_STORAGE_FAVORITES_ONLY,
7915
+ tl as LOCAL_STORAGE_FULL_SCREEN,
7916
+ el as LOCAL_STORAGE_OLED_MODE,
7917
+ Ts as LOCAL_STORAGE_PREFIX,
7918
+ Yc as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
7919
+ Xc as LOCAL_STORAGE_REASONING_DISCLOSURE,
7920
+ Gc as LOCAL_STORAGE_SEARCH,
7921
+ zc as LOCAL_STORAGE_SORT,
7922
+ Qc as LOCAL_STORAGE_SORT_MEMORY_COLUMN,
7923
+ jc as LOCAL_STORAGE_SORT_MEMORY_DIRECTION,
7924
+ qc as LOCAL_STORAGE_SORT_TIMESTAMP,
7925
+ Wc as LOCAL_STORAGE_SORT_TOKEN_USAGE,
7926
+ Uu as LOG_OUT,
7927
+ Xs as LiveRegion,
7928
+ vc as Logo,
7929
+ wl as O,
7930
+ Fu as PROFILE_TITLE,
7931
+ Wu as PROMPTS_DESCRIPTION,
7932
+ nl as PROMPT_CLASSNAME,
7933
+ al as PROMPT_EDITABLE_AREA_CLASSNAME,
7934
+ id as PromptsContext,
7938
7935
  Xt as R,
7939
7936
  K as SERVICE_TYPES,
7940
- Ku as SETTINGS_TITLE,
7941
- dd as SassySaint,
7942
- td as TOAST_CACHE_DISABLED,
7943
- ed as TOAST_CACHE_ENABLED,
7944
- Xu as TOAST_CHAT_DELETED,
7945
- Zu as TOAST_CHAT_SAVED,
7946
- Yu as TOAST_PROVIDER_CHANGED,
7947
- sd as TRIMESTERS,
7948
- nd as TRIMESTERS_SHORT,
7937
+ Bu as SETTINGS_TITLE,
7938
+ cd as SassySaint,
7939
+ Xu as TOAST_CACHE_DISABLED,
7940
+ Yu as TOAST_CACHE_ENABLED,
7941
+ Qu as TOAST_CHAT_DELETED,
7942
+ Ju as TOAST_CHAT_SAVED,
7943
+ ju as TOAST_PROVIDER_CHANGED,
7944
+ ed as TRIMESTERS,
7945
+ td as TRIMESTERS_SHORT,
7949
7946
  nr as TextInput,
7950
- ll as UI_BUTTON_SCROLL_BUFFER,
7951
- ul as UI_DEFAULT_MAIN_HEIGHT,
7952
- dl as UI_DEFAULT_MAIN_HEIGHT_IPHONE,
7953
- cl as UI_FOOTER_BUFFER,
7954
- Fu as USAGE_TITLE,
7955
- Al as X,
7956
- vl as Y,
7957
- Rl as Z,
7947
+ cl as UI_BUTTON_SCROLL_BUFFER,
7948
+ ll as UI_DEFAULT_MAIN_HEIGHT,
7949
+ ul as UI_DEFAULT_MAIN_HEIGHT_IPHONE,
7950
+ ol as UI_FOOTER_BUFFER,
7951
+ Hu as USAGE_TITLE,
7952
+ _l as X,
7953
+ bl as Y,
7954
+ Al as Z,
7958
7955
  Yt as _,
7959
- od as appReducer,
7960
- ao as applyOledMode,
7961
- no as canEvaluateModels,
7962
- ro as convertCamelCaseToReadable,
7963
- Xi as debounce,
7964
- vi as e,
7965
- uc as e$1,
7966
- Ol as ee,
7967
- gl as getCacheInfo,
7968
- Vi as getCurrentGeoLocation,
7969
- Pu as getHotkeyHandler,
7970
- Ks as getLayoutPaddingClass,
7971
- Bs as getMessageContaintWrapperClass,
7956
+ nd as appReducer,
7957
+ no as applyOledMode,
7958
+ so as canEvaluateModels,
7959
+ to as convertCamelCaseToReadable,
7960
+ Yi as debounce,
7961
+ bi as e,
7962
+ lc as e$1,
7963
+ Cl as ee,
7964
+ yl as getCacheInfo,
7965
+ Ki as getCurrentGeoLocation,
7966
+ ku as getHotkeyHandler,
7967
+ Bs as getLayoutPaddingClass,
7968
+ Fs as getMessageContaintWrapperClass,
7972
7969
  le as graphQLRequest,
7973
- yl as handleServiceWorkerToggle,
7974
- El as i,
7970
+ ml as handleServiceWorkerToggle,
7971
+ gl as i,
7975
7972
  Zt as isDev,
7976
- to as isPWAMode,
7977
- Gs as isProbablyMobile,
7978
- eo as isProbablyiPad,
7979
- Zi as isProbablyiPhone,
7973
+ eo as isPWAMode,
7974
+ Vs as isProbablyMobile,
7975
+ Zi as isProbablyiPad,
7976
+ Xi as isProbablyiPhone,
7980
7977
  Ht as isServiceWorkerEnabled,
7981
- Vs as isTauri,
7978
+ Ks as isTauri,
7982
7979
  $e as it,
7983
- _l as j,
7980
+ Il as j,
7984
7981
  Se as j$1,
7985
- Il as k,
7982
+ L as k,
7986
7983
  mt as l,
7987
- Ts as n,
7988
- Qi as numberFormatter,
7989
- wl as o,
7990
- Gi as obfuscate,
7991
- Yi as pluralize,
7992
- Cl as q,
7993
- qi as renderDataAsList,
7994
- ki as serverUrl,
7995
- kl as setNewProvider,
7996
- Pl as setUserPlan,
7997
- zi as unObfuscate,
7998
- Nl as useChangelogs,
7999
- Dl as useChat,
8000
- Ll as useChatsHistory,
8001
- Fl as useChatsUsage,
8002
- Ou as useClickOutside,
8003
- Gl as useDeleteAllActiveMemories,
8004
- zl as useDeleteAllExpiredMemories,
8005
- Ul as useDeleteChat,
8006
- Vl as useDeleteMemory,
8007
- jl as useEntitlements,
8008
- ql as useExpiredMemories,
8009
- ku as useHaptic,
7984
+ vs as n,
7985
+ ji as numberFormatter,
7986
+ El as o,
7987
+ Vi as obfuscate,
7988
+ Ji as pluralize,
7989
+ Rl as q,
7990
+ zi as renderDataAsList,
7991
+ Oi as serverUrl,
7992
+ Ol as setNewProvider,
7993
+ kl as setUserPlan,
7994
+ Gi as unObfuscate,
7995
+ Pl as useChangelogs,
7996
+ Ll as useChat,
7997
+ xl as useChatsHistory,
7998
+ Hl as useChatsUsage,
7999
+ Cu as useClickOutside,
8000
+ Vl as useDeleteAllActiveMemories,
8001
+ Gl as useDeleteAllExpiredMemories,
8002
+ $l as useDeleteChat,
8003
+ Kl as useDeleteMemory,
8004
+ Wl as useEntitlements,
8005
+ zl as useExpiredMemories,
8006
+ Ou as useHaptic,
8010
8007
  Mu as useHotkeys,
8011
- xu as useInViewport,
8012
- Nu as useInterval,
8013
- Lu as useLocalStorage,
8014
- js as useMergeRefs,
8008
+ Nu as useInViewport,
8009
+ Pu as useInterval,
8010
+ xu as useLocalStorage,
8011
+ Ws as useMergeRefs,
8015
8012
  ce as useQueryClient,
8016
8013
  tt as useResizeObserver,
8017
- Wl as useRestoreMemory,
8018
- $l as useSaveChat,
8014
+ ql as useRestoreMemory,
8015
+ Dl as useSaveChat,
8019
8016
  Ml as useServerCapabilities,
8020
- vc as useTheme,
8021
- Hl as useToggleFavoriteChat,
8022
- Du as useUncontrolled,
8023
- Qs as useUniqueId,
8024
- Kl as useUpdateMemory,
8025
- xl as useUserChatStats,
8026
- Bl as useUserMemories,
8027
- Pi as useUserPreferences,
8028
- $u as useViewportSize,
8029
- Uu as useVisualViewportSize,
8030
- Ql as utilities,
8031
- L as w,
8032
- Ri as z
8017
+ bc as useTheme,
8018
+ Ul as useToggleFavoriteChat,
8019
+ Lu as useUncontrolled,
8020
+ js as useUniqueId,
8021
+ Bl as useUpdateMemory,
8022
+ Nl as useUserChatStats,
8023
+ Fl as useUserMemories,
8024
+ ki as useUserPreferences,
8025
+ Du as useViewportSize,
8026
+ $u as useVisualViewportSize,
8027
+ jl as utilities,
8028
+ Ai as z
8033
8029
  };