@versini/sassysaint 8.47.0 → 8.47.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. package/dist/chunks/{AboutChangelog.BEFkfDbw.js → AboutChangelog.CrPmttGh.js} +2 -2
  2. package/dist/chunks/{AboutEntry.COf0szTU.js → AboutEntry.CW6LSgBo.js} +5 -5
  3. package/dist/chunks/{App.D5cZDwje.js → App.P8VuaklL.js} +1614 -1624
  4. package/dist/chunks/{Chart.B1R22nbJ.js → Chart.v46ZrHpO.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.B9tlf_JH.js → ChatBubbleAssistant.Dm3w8aPQ.js} +4 -4
  6. package/dist/chunks/{ChatHistoryTable.CJfAtX8B.js → ChatHistoryTable.DiXFgbUY.js} +2 -2
  7. package/dist/chunks/{HistoryEntry.BbDPEPVY.js → HistoryEntry.8-r_XaOl.js} +14 -14
  8. package/dist/chunks/{LNWAZHJI.C8sP3-rc.js → LNWAZHJI.ucCV8_lF.js} +1 -1
  9. package/dist/chunks/{ProfileEntry.BUTgNPlp.js → ProfileEntry.Db0i4H1-.js} +2 -2
  10. package/dist/chunks/{SettingsEntry.DGB3xOzh.js → SettingsEntry.DiEffW-W.js} +113 -116
  11. package/dist/chunks/{UsageEntry.Bu5CcqG2.js → UsageEntry.DTwtBL3G.js} +3 -3
  12. package/dist/chunks/{index.DzixovoY.js → index.B6LTE4XZ.js} +2 -2
  13. package/dist/chunks/{index.Cfb0MIIn.js → index.BdOUWeMA.js} +1 -1
  14. package/dist/chunks/{index.BIMh7ysv.js → index.D6DtPtKF.js} +1 -1
  15. package/dist/chunks/{index.D9C8rL2L.js → index.DAma765y.js} +1 -1
  16. package/dist/chunks/{index.yZ_0qNLI.js → index.DxRpe0Fx.js} +778 -794
  17. package/dist/chunks/{index.BqV1_7Z2.js → index.WoNpwqiR.js} +3 -3
  18. package/dist/chunks/{index.DHJP8zY7.js → index.ihYh1tax.js} +1 -1
  19. package/dist/chunks/{useMarkdown.BNxkjyeo.js → useMarkdown.CrlE9bFj.js} +6 -6
  20. package/dist/components/SassySaint/SassySaint.js +1 -1
  21. package/dist/index.js +4 -4
  22. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
- import { jsx as m, jsxs as Y, Fragment as Nn } from "react/jsx-runtime";
2
- import * as F from "react";
3
- import me, { createContext as xr, useReducer as Pn, useCallback as ne, useRef as ee, useEffect as Z, useSyncExternalStore as ii, useContext as Ht, useState as fe, useMemo as kt, useId as ai, useLayoutEffect as Rt, Suspense as oi, lazy as ci } from "react";
1
+ import { jsx as y, jsxs as Y, Fragment as Nn } from "react/jsx-runtime";
2
+ import * as U from "react";
3
+ import ye, { createContext as xr, useReducer as Pn, useCallback as ne, useRef as ee, useEffect as Z, useSyncExternalStore as ii, useContext as Kt, useState as fe, useMemo as kt, useId as ai, useLayoutEffect as Rt, Suspense as oi, lazy as ci } from "react";
4
4
  import g from "clsx";
5
5
  var ot = class {
6
6
  constructor() {
@@ -49,7 +49,7 @@ function Jr(e, t) {
49
49
  if (n) {
50
50
  if (t.queryHash !== $r(o, t.options))
51
51
  return !1;
52
- } else if (!Xe(t.queryKey, o))
52
+ } else if (!Ye(t.queryKey, o))
53
53
  return !1;
54
54
  }
55
55
  if (r !== "all") {
@@ -65,30 +65,30 @@ function zr(e, t) {
65
65
  if (!t.options.mutationKey)
66
66
  return !1;
67
67
  if (r) {
68
- if (Ye(t.options.mutationKey) !== Ye(i))
68
+ if (ze(t.options.mutationKey) !== ze(i))
69
69
  return !1;
70
- } else if (!Xe(t.options.mutationKey, i))
70
+ } else if (!Ye(t.options.mutationKey, i))
71
71
  return !1;
72
72
  }
73
73
  return !(n && t.state.status !== n || s && !s(t));
74
74
  }
75
75
  function $r(e, t) {
76
- return (t?.queryKeyHashFn || Ye)(e);
76
+ return (t?.queryKeyHashFn || ze)(e);
77
77
  }
78
- function Ye(e) {
78
+ function ze(e) {
79
79
  return JSON.stringify(
80
80
  e,
81
- (t, r) => yr(r) ? Object.keys(r).sort().reduce((n, s) => (n[s] = r[s], n), {}) : r
81
+ (t, r) => mr(r) ? Object.keys(r).sort().reduce((n, s) => (n[s] = r[s], n), {}) : r
82
82
  );
83
83
  }
84
- function Xe(e, t) {
85
- return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((r) => Xe(e[r], t[r])) : !1;
84
+ function Ye(e, t) {
85
+ return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((r) => Ye(e[r], t[r])) : !1;
86
86
  }
87
87
  function hr(e, t) {
88
88
  if (e === t)
89
89
  return e;
90
90
  const r = Yr(e) && Yr(t);
91
- if (r || yr(e) && yr(t)) {
91
+ if (r || mr(e) && mr(t)) {
92
92
  const n = r ? e : Object.keys(e), s = n.length, i = r ? t : Object.keys(t), o = i.length, a = r ? [] : {}, c = new Set(n);
93
93
  let d = 0;
94
94
  for (let u = 0; u < o; u++) {
@@ -110,7 +110,7 @@ function fr(e, t) {
110
110
  function Yr(e) {
111
111
  return Array.isArray(e) && e.length === Object.keys(e).length;
112
112
  }
113
- function yr(e) {
113
+ function mr(e) {
114
114
  if (!Xr(e))
115
115
  return !1;
116
116
  const t = e.constructor;
@@ -127,7 +127,7 @@ function ui(e) {
127
127
  setTimeout(t, e);
128
128
  });
129
129
  }
130
- function mr(e, t, r) {
130
+ function yr(e, t, r) {
131
131
  if (typeof r.structuralSharing == "function")
132
132
  return r.structuralSharing(e, t);
133
133
  if (r.structuralSharing !== !1) {
@@ -160,7 +160,7 @@ function $n(e, t) {
160
160
  function fi(e, t) {
161
161
  return typeof e == "function" ? e(...t) : !!e;
162
162
  }
163
- var yi = class extends ot {
163
+ var mi = class extends ot {
164
164
  #t;
165
165
  #e;
166
166
  #r;
@@ -197,7 +197,7 @@ var yi = class extends ot {
197
197
  isFocused() {
198
198
  return typeof this.#t == "boolean" ? this.#t : globalThis.document?.visibilityState !== "hidden";
199
199
  }
200
- }, Dr = new yi(), mi = class extends ot {
200
+ }, Dr = new mi(), yi = class extends ot {
201
201
  #t = !0;
202
202
  #e;
203
203
  #r;
@@ -228,7 +228,7 @@ var yi = class extends ot {
228
228
  isOnline() {
229
229
  return this.#t;
230
230
  }
231
- }, Ze = new mi();
231
+ }, Xe = new yi();
232
232
  function pr() {
233
233
  let e, t;
234
234
  const r = new Promise((s, i) => {
@@ -255,7 +255,7 @@ function pi(e) {
255
255
  return Math.min(1e3 * 2 ** e, 3e4);
256
256
  }
257
257
  function Dn(e) {
258
- return (e ?? "online") === "online" ? Ze.isOnline() : !0;
258
+ return (e ?? "online") === "online" ? Xe.isOnline() : !0;
259
259
  }
260
260
  var gr = class extends Error {
261
261
  constructor(e) {
@@ -273,7 +273,7 @@ function Ln(e) {
273
273
  t = !0;
274
274
  }, c = () => {
275
275
  t = !1;
276
- }, d = () => Dr.isFocused() && (e.networkMode === "always" || Ze.isOnline()) && e.canRun(), u = () => Dn(e.networkMode) && e.canRun(), l = (p) => {
276
+ }, d = () => Dr.isFocused() && (e.networkMode === "always" || Xe.isOnline()) && e.canRun(), u = () => Dn(e.networkMode) && e.canRun(), l = (p) => {
277
277
  i() || (n?.(), s.resolve(p));
278
278
  }, h = (p) => {
279
279
  i() || (n?.(), s.reject(p));
@@ -283,7 +283,7 @@ function Ln(e) {
283
283
  }, e.onPause?.();
284
284
  }).then(() => {
285
285
  n = void 0, i() || e.onContinue?.();
286
- }), y = () => {
286
+ }), m = () => {
287
287
  if (i())
288
288
  return;
289
289
  let p;
@@ -302,7 +302,7 @@ function Ln(e) {
302
302
  return;
303
303
  }
304
304
  r++, e.onFail?.(r, E), ui(I).then(() => d() ? void 0 : f()).then(() => {
305
- t ? h(E) : y();
305
+ t ? h(E) : m();
306
306
  });
307
307
  });
308
308
  };
@@ -314,7 +314,7 @@ function Ln(e) {
314
314
  cancelRetry: a,
315
315
  continueRetry: c,
316
316
  canStart: u,
317
- start: () => (u() ? y() : f().then(y), s)
317
+ start: () => (u() ? m() : f().then(m), s)
318
318
  };
319
319
  }
320
320
  var gi = (e) => setTimeout(e, 0);
@@ -377,7 +377,7 @@ function bi() {
377
377
  }
378
378
  };
379
379
  }
380
- var W = bi(), Mn = class {
380
+ var j = bi(), Mn = class {
381
381
  #t;
382
382
  destroy() {
383
383
  this.clearGcTimeout();
@@ -420,7 +420,7 @@ var W = bi(), Mn = class {
420
420
  !this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
421
421
  }
422
422
  setData(e, t) {
423
- const r = mr(this.state.data, e, this.options);
423
+ const r = yr(this.state.data, e, this.options);
424
424
  return this.#i({
425
425
  data: r,
426
426
  type: "success",
@@ -651,7 +651,7 @@ var W = bi(), Mn = class {
651
651
  };
652
652
  }
653
653
  };
654
- this.state = t(this.state), W.batch(() => {
654
+ this.state = t(this.state), j.batch(() => {
655
655
  this.observers.forEach((r) => {
656
656
  r.onQueryUpdate();
657
657
  }), this.#r.notify({ query: this, type: "updated", action: e });
@@ -714,7 +714,7 @@ var vi = class extends ot {
714
714
  t && (e.destroy(), t === e && this.#t.delete(e.queryHash), this.notify({ type: "removed", query: e }));
715
715
  }
716
716
  clear() {
717
- W.batch(() => {
717
+ j.batch(() => {
718
718
  this.getAll().forEach((e) => {
719
719
  this.remove(e);
720
720
  });
@@ -737,21 +737,21 @@ var vi = class extends ot {
737
737
  return Object.keys(e).length > 0 ? t.filter((r) => Jr(e, r)) : t;
738
738
  }
739
739
  notify(e) {
740
- W.batch(() => {
740
+ j.batch(() => {
741
741
  this.listeners.forEach((t) => {
742
742
  t(e);
743
743
  });
744
744
  });
745
745
  }
746
746
  onFocus() {
747
- W.batch(() => {
747
+ j.batch(() => {
748
748
  this.getAll().forEach((e) => {
749
749
  e.onFocus();
750
750
  });
751
751
  });
752
752
  }
753
753
  onOnline() {
754
- W.batch(() => {
754
+ j.batch(() => {
755
755
  this.getAll().forEach((e) => {
756
756
  e.onOnline();
757
757
  });
@@ -923,7 +923,7 @@ var vi = class extends ot {
923
923
  };
924
924
  }
925
925
  };
926
- this.state = t(this.state), W.batch(() => {
926
+ this.state = t(this.state), j.batch(() => {
927
927
  this.#t.forEach((r) => {
928
928
  r.onMutationUpdate(e);
929
929
  }), this.#e.notify({
@@ -1001,7 +1001,7 @@ var Ai = class extends ot {
1001
1001
  return typeof t == "string" ? this.#e.get(t)?.find((n) => n !== e && n.state.isPaused)?.continue() ?? Promise.resolve() : Promise.resolve();
1002
1002
  }
1003
1003
  clear() {
1004
- W.batch(() => {
1004
+ j.batch(() => {
1005
1005
  this.#t.forEach((e) => {
1006
1006
  this.notify({ type: "removed", mutation: e });
1007
1007
  }), this.#t.clear(), this.#e.clear();
@@ -1020,7 +1020,7 @@ var Ai = class extends ot {
1020
1020
  return this.getAll().filter((t) => zr(e, t));
1021
1021
  }
1022
1022
  notify(e) {
1023
- W.batch(() => {
1023
+ j.batch(() => {
1024
1024
  this.listeners.forEach((t) => {
1025
1025
  t(e);
1026
1026
  });
@@ -1028,7 +1028,7 @@ var Ai = class extends ot {
1028
1028
  }
1029
1029
  resumePausedMutations() {
1030
1030
  const e = this.getAll().filter((t) => t.state.isPaused);
1031
- return W.batch(
1031
+ return j.batch(
1032
1032
  () => Promise.all(
1033
1033
  e.map((t) => t.continue().catch(X))
1034
1034
  )
@@ -1045,47 +1045,47 @@ function Zr(e) {
1045
1045
  let a = { pages: [], pageParams: [] }, c = 0;
1046
1046
  const d = async () => {
1047
1047
  let u = !1;
1048
- const l = (y) => {
1049
- Object.defineProperty(y, "signal", {
1048
+ const l = (m) => {
1049
+ Object.defineProperty(m, "signal", {
1050
1050
  enumerable: !0,
1051
1051
  get: () => (t.signal.aborted ? u = !0 : t.signal.addEventListener("abort", () => {
1052
1052
  u = !0;
1053
1053
  }), t.signal)
1054
1054
  });
1055
- }, h = $n(t.options, t.fetchOptions), f = async (y, p, b) => {
1055
+ }, h = $n(t.options, t.fetchOptions), f = async (m, p, b) => {
1056
1056
  if (u)
1057
1057
  return Promise.reject();
1058
- if (p == null && y.pages.length)
1059
- return Promise.resolve(y);
1058
+ if (p == null && m.pages.length)
1059
+ return Promise.resolve(m);
1060
1060
  const A = (() => {
1061
- const B = {
1061
+ const K = {
1062
1062
  client: t.client,
1063
1063
  queryKey: t.queryKey,
1064
1064
  pageParam: p,
1065
1065
  direction: b ? "backward" : "forward",
1066
1066
  meta: t.options.meta
1067
1067
  };
1068
- return l(B), B;
1068
+ return l(K), K;
1069
1069
  })(), v = await h(A), { maxPages: I } = t.options, N = b ? hi : di;
1070
1070
  return {
1071
- pages: N(y.pages, v, I),
1072
- pageParams: N(y.pageParams, p, I)
1071
+ pages: N(m.pages, v, I),
1072
+ pageParams: N(m.pageParams, p, I)
1073
1073
  };
1074
1074
  };
1075
1075
  if (s && i.length) {
1076
- const y = s === "backward", p = y ? Ii : en, b = {
1076
+ const m = s === "backward", p = m ? Ii : en, b = {
1077
1077
  pages: i,
1078
1078
  pageParams: o
1079
1079
  }, E = p(n, b);
1080
- a = await f(b, E, y);
1080
+ a = await f(b, E, m);
1081
1081
  } else {
1082
- const y = e ?? i.length;
1082
+ const m = e ?? i.length;
1083
1083
  do {
1084
1084
  const p = c === 0 ? o[0] ?? n.initialPageParam : en(n, a);
1085
1085
  if (c > 0 && p == null)
1086
1086
  break;
1087
1087
  a = await f(a, p), c++;
1088
- } while (c < y);
1088
+ } while (c < m);
1089
1089
  }
1090
1090
  return a;
1091
1091
  };
@@ -1129,7 +1129,7 @@ var ki = class {
1129
1129
  mount() {
1130
1130
  this.#o++, this.#o === 1 && (this.#a = Dr.subscribe(async (e) => {
1131
1131
  e && (await this.resumePausedMutations(), this.#t.onFocus());
1132
- }), this.#i = Ze.subscribe(async (e) => {
1132
+ }), this.#i = Xe.subscribe(async (e) => {
1133
1133
  e && (await this.resumePausedMutations(), this.#t.onOnline());
1134
1134
  }));
1135
1135
  }
@@ -1171,7 +1171,7 @@ var ki = class {
1171
1171
  return this.#t.build(this, n).setData(o, { ...r, manual: !0 });
1172
1172
  }
1173
1173
  setQueriesData(e, t, r) {
1174
- return W.batch(
1174
+ return j.batch(
1175
1175
  () => this.#t.findAll(e).map(({ queryKey: n }) => [
1176
1176
  n,
1177
1177
  this.setQueryData(n, t, r)
@@ -1186,7 +1186,7 @@ var ki = class {
1186
1186
  }
1187
1187
  removeQueries(e) {
1188
1188
  const t = this.#t;
1189
- W.batch(() => {
1189
+ j.batch(() => {
1190
1190
  t.findAll(e).forEach((r) => {
1191
1191
  t.remove(r);
1192
1192
  });
@@ -1194,7 +1194,7 @@ var ki = class {
1194
1194
  }
1195
1195
  resetQueries(e, t) {
1196
1196
  const r = this.#t;
1197
- return W.batch(() => (r.findAll(e).forEach((n) => {
1197
+ return j.batch(() => (r.findAll(e).forEach((n) => {
1198
1198
  n.reset();
1199
1199
  }), this.refetchQueries(
1200
1200
  {
@@ -1205,13 +1205,13 @@ var ki = class {
1205
1205
  )));
1206
1206
  }
1207
1207
  cancelQueries(e, t = {}) {
1208
- const r = { revert: !0, ...t }, n = W.batch(
1208
+ const r = { revert: !0, ...t }, n = j.batch(
1209
1209
  () => this.#t.findAll(e).map((s) => s.cancel(r))
1210
1210
  );
1211
1211
  return Promise.all(n).then(X).catch(X);
1212
1212
  }
1213
1213
  invalidateQueries(e, t = {}) {
1214
- return W.batch(() => (this.#t.findAll(e).forEach((r) => {
1214
+ return j.batch(() => (this.#t.findAll(e).forEach((r) => {
1215
1215
  r.invalidate();
1216
1216
  }), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries(
1217
1217
  {
@@ -1225,7 +1225,7 @@ var ki = class {
1225
1225
  const r = {
1226
1226
  ...t,
1227
1227
  cancelRefetch: t.cancelRefetch ?? !0
1228
- }, n = W.batch(
1228
+ }, n = j.batch(
1229
1229
  () => this.#t.findAll(e).filter((s) => !s.isDisabled() && !s.isStatic()).map((s) => {
1230
1230
  let i = s.fetch(void 0, r);
1231
1231
  return r.throwOnError || (i = i.catch(X)), s.state.fetchStatus === "paused" ? Promise.resolve() : i;
@@ -1254,7 +1254,7 @@ var ki = class {
1254
1254
  return e.behavior = Zr(e.pages), this.ensureQueryData(e);
1255
1255
  }
1256
1256
  resumePausedMutations() {
1257
- return Ze.isOnline() ? this.#e.resumePausedMutations() : Promise.resolve();
1257
+ return Xe.isOnline() ? this.#e.resumePausedMutations() : Promise.resolve();
1258
1258
  }
1259
1259
  getQueryCache() {
1260
1260
  return this.#t;
@@ -1269,7 +1269,7 @@ var ki = class {
1269
1269
  this.#r = e;
1270
1270
  }
1271
1271
  setQueryDefaults(e, t) {
1272
- this.#n.set(Ye(e), {
1272
+ this.#n.set(ze(e), {
1273
1273
  queryKey: e,
1274
1274
  defaultOptions: t
1275
1275
  });
@@ -1277,11 +1277,11 @@ var ki = class {
1277
1277
  getQueryDefaults(e) {
1278
1278
  const t = [...this.#n.values()], r = {};
1279
1279
  return t.forEach((n) => {
1280
- Xe(e, n.queryKey) && Object.assign(r, n.defaultOptions);
1280
+ Ye(e, n.queryKey) && Object.assign(r, n.defaultOptions);
1281
1281
  }), r;
1282
1282
  }
1283
1283
  setMutationDefaults(e, t) {
1284
- this.#s.set(Ye(e), {
1284
+ this.#s.set(ze(e), {
1285
1285
  mutationKey: e,
1286
1286
  defaultOptions: t
1287
1287
  });
@@ -1289,7 +1289,7 @@ var ki = class {
1289
1289
  getMutationDefaults(e) {
1290
1290
  const t = [...this.#s.values()], r = {};
1291
1291
  return t.forEach((n) => {
1292
- Xe(e, n.mutationKey) && Object.assign(r, n.defaultOptions);
1292
+ Ye(e, n.mutationKey) && Object.assign(r, n.defaultOptions);
1293
1293
  }), r;
1294
1294
  }
1295
1295
  defaultQueryOptions(e) {
@@ -1337,12 +1337,12 @@ var ki = class {
1337
1337
  #h;
1338
1338
  #c;
1339
1339
  #l;
1340
- #m = /* @__PURE__ */ new Set();
1340
+ #y = /* @__PURE__ */ new Set();
1341
1341
  bindMethods() {
1342
1342
  this.refetch = this.refetch.bind(this);
1343
1343
  }
1344
1344
  onSubscribe() {
1345
- this.listeners.size === 1 && (this.#e.addObserver(this), tn(this.#e, this.options) ? this.#y() : this.updateResult(), this.#w());
1345
+ this.listeners.size === 1 && (this.#e.addObserver(this), tn(this.#e, this.options) ? this.#m() : this.updateResult(), this.#w());
1346
1346
  }
1347
1347
  onUnsubscribe() {
1348
1348
  this.hasListeners() || this.destroy();
@@ -1381,7 +1381,7 @@ var ki = class {
1381
1381
  r,
1382
1382
  this.options,
1383
1383
  t
1384
- ) && this.#y(), this.updateResult(), n && (this.#e !== r || te(this.options.enabled, this.#e) !== te(t.enabled, this.#e) || Ee(this.options.staleTime, this.#e) !== Ee(t.staleTime, this.#e)) && this.#p();
1384
+ ) && this.#m(), this.updateResult(), n && (this.#e !== r || te(this.options.enabled, this.#e) !== te(t.enabled, this.#e) || Ee(this.options.staleTime, this.#e) !== Ee(t.staleTime, this.#e)) && this.#p();
1385
1385
  const s = this.#g();
1386
1386
  n && (this.#e !== r || te(this.options.enabled, this.#e) !== te(t.enabled, this.#e) || s !== this.#l) && this.#b(s);
1387
1387
  }
@@ -1402,7 +1402,7 @@ var ki = class {
1402
1402
  });
1403
1403
  }
1404
1404
  trackProp(e) {
1405
- this.#m.add(e);
1405
+ this.#y.add(e);
1406
1406
  }
1407
1407
  getCurrentQuery() {
1408
1408
  return this.#e;
@@ -1417,12 +1417,12 @@ var ki = class {
1417
1417
  return r.fetch().then(() => this.createResult(r, t));
1418
1418
  }
1419
1419
  fetch(e) {
1420
- return this.#y({
1420
+ return this.#m({
1421
1421
  ...e,
1422
1422
  cancelRefetch: e.cancelRefetch ?? !0
1423
1423
  }).then(() => (this.updateResult(), this.#n));
1424
1424
  }
1425
- #y(e) {
1425
+ #m(e) {
1426
1426
  this.#S();
1427
1427
  let t = this.#e.fetch(
1428
1428
  this.options,
@@ -1448,7 +1448,7 @@ var ki = class {
1448
1448
  }
1449
1449
  #b(e) {
1450
1450
  this.#v(), this.#l = e, !(Ie || te(this.options.enabled, this.#e) === !1 || !dr(this.#l) || this.#l === 0) && (this.#c = setInterval(() => {
1451
- (this.options.refetchIntervalInBackground || Dr.isFocused()) && this.#y();
1451
+ (this.options.refetchIntervalInBackground || Dr.isFocused()) && this.#m();
1452
1452
  }, this.#l));
1453
1453
  }
1454
1454
  #w() {
@@ -1470,7 +1470,7 @@ var ki = class {
1470
1470
  ...Un(d.data, e.options)
1471
1471
  }), t._optimisticResults === "isRestoring" && (u.fetchStatus = "idle");
1472
1472
  }
1473
- let { error: f, errorUpdatedAt: y, status: p } = u;
1473
+ let { error: f, errorUpdatedAt: m, status: p } = u;
1474
1474
  h = u.data;
1475
1475
  let b = !1;
1476
1476
  if (t.placeholderData !== void 0 && h === void 0 && p === "pending") {
@@ -1478,7 +1478,7 @@ var ki = class {
1478
1478
  s?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (_ = s.data, b = !0) : _ = typeof t.placeholderData == "function" ? t.placeholderData(
1479
1479
  this.#d?.state.data,
1480
1480
  this.#d
1481
- ) : t.placeholderData, _ !== void 0 && (p = "success", h = mr(
1481
+ ) : t.placeholderData, _ !== void 0 && (p = "success", h = yr(
1482
1482
  s?.data,
1483
1483
  _,
1484
1484
  t
@@ -1489,11 +1489,11 @@ var ki = class {
1489
1489
  h = this.#u;
1490
1490
  else
1491
1491
  try {
1492
- this.#f = t.select, h = t.select(h), h = mr(s?.data, h, t), this.#u = h, this.#i = null;
1492
+ this.#f = t.select, h = t.select(h), h = yr(s?.data, h, t), this.#u = h, this.#i = null;
1493
1493
  } catch (_) {
1494
1494
  this.#i = _;
1495
1495
  }
1496
- this.#i && (f = this.#i, h = this.#u, y = Date.now(), p = "error");
1496
+ this.#i && (f = this.#i, h = this.#u, m = Date.now(), p = "error");
1497
1497
  const E = u.fetchStatus === "fetching", A = p === "pending", v = p === "error", I = A && E, N = h !== void 0, x = {
1498
1498
  status: p,
1499
1499
  fetchStatus: u.fetchStatus,
@@ -1505,7 +1505,7 @@ var ki = class {
1505
1505
  data: h,
1506
1506
  dataUpdatedAt: u.dataUpdatedAt,
1507
1507
  error: f,
1508
- errorUpdatedAt: y,
1508
+ errorUpdatedAt: m,
1509
1509
  failureCount: u.fetchFailureCount,
1510
1510
  failureReason: u.fetchFailureReason,
1511
1511
  errorUpdateCount: u.errorUpdateCount,
@@ -1552,10 +1552,10 @@ var ki = class {
1552
1552
  if (!e)
1553
1553
  return !0;
1554
1554
  const { notifyOnChangeProps: n } = this.options, s = typeof n == "function" ? n() : n;
1555
- if (s === "all" || !s && !this.#m.size)
1555
+ if (s === "all" || !s && !this.#y.size)
1556
1556
  return !0;
1557
1557
  const i = new Set(
1558
- s ?? this.#m
1558
+ s ?? this.#y
1559
1559
  );
1560
1560
  return this.options.throwOnError && i.add("error"), Object.keys(this.#n).some((o) => {
1561
1561
  const a = o;
@@ -1575,7 +1575,7 @@ var ki = class {
1575
1575
  this.updateResult(), this.hasListeners() && this.#w();
1576
1576
  }
1577
1577
  #T(e) {
1578
- W.batch(() => {
1578
+ j.batch(() => {
1579
1579
  e.listeners && this.listeners.forEach((t) => {
1580
1580
  t(this.#n);
1581
1581
  }), this.#t.getQueryCache().notify({
@@ -1607,10 +1607,10 @@ function Lr(e, t) {
1607
1607
  function _i(e, t) {
1608
1608
  return !fr(e.getCurrentResult(), t);
1609
1609
  }
1610
- var Fn = F.createContext(
1610
+ var Fn = U.createContext(
1611
1611
  void 0
1612
- ), Kn = (e) => {
1613
- const t = F.useContext(Fn);
1612
+ ), Hn = (e) => {
1613
+ const t = U.useContext(Fn);
1614
1614
  if (e)
1615
1615
  return e;
1616
1616
  if (!t)
@@ -1619,9 +1619,9 @@ var Fn = F.createContext(
1619
1619
  }, Oi = ({
1620
1620
  client: e,
1621
1621
  children: t
1622
- }) => (F.useEffect(() => (e.mount(), () => {
1622
+ }) => (U.useEffect(() => (e.mount(), () => {
1623
1623
  e.unmount();
1624
- }), [e]), /* @__PURE__ */ m(Fn.Provider, { value: e, children: t })), Ni = F.createContext(!1), Pi = () => F.useContext(Ni);
1624
+ }), [e]), /* @__PURE__ */ y(Fn.Provider, { value: e, children: t })), Ni = U.createContext(!1), Pi = () => U.useContext(Ni);
1625
1625
  function xi() {
1626
1626
  let e = !1;
1627
1627
  return {
@@ -1634,10 +1634,10 @@ function xi() {
1634
1634
  isReset: () => e
1635
1635
  };
1636
1636
  }
1637
- var $i = F.createContext(xi()), Di = () => F.useContext($i), Li = (e, t) => {
1637
+ var $i = U.createContext(xi()), Di = () => U.useContext($i), Li = (e, t) => {
1638
1638
  (e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
1639
1639
  }, Mi = (e) => {
1640
- F.useEffect(() => {
1640
+ U.useEffect(() => {
1641
1641
  e.clearReset();
1642
1642
  }, [e]);
1643
1643
  }, Ui = ({
@@ -1651,7 +1651,7 @@ var $i = F.createContext(xi()), Di = () => F.useContext($i), Li = (e, t) => {
1651
1651
  const t = (n) => n === "static" ? n : Math.max(n ?? 1e3, 1e3), r = e.staleTime;
1652
1652
  e.staleTime = typeof r == "function" ? (...n) => t(r(...n)) : t(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, 1e3));
1653
1653
  }
1654
- }, Ki = (e, t) => e.isLoading && e.isFetching && !t, Hi = (e, t) => e?.suspense && t.isPending, nn = (e, t, r) => t.fetchOptimistic(e).catch(() => {
1654
+ }, Hi = (e, t) => e.isLoading && e.isFetching && !t, Ki = (e, t) => e?.suspense && t.isPending, nn = (e, t, r) => t.fetchOptimistic(e).catch(() => {
1655
1655
  r.clearReset();
1656
1656
  });
1657
1657
  function Bi(e, t, r) {
@@ -1659,31 +1659,31 @@ function Bi(e, t, r) {
1659
1659
  throw new Error(
1660
1660
  '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'
1661
1661
  );
1662
- const n = Pi(), s = Di(), i = Kn(r), o = i.defaultQueryOptions(e);
1662
+ const n = Pi(), s = Di(), i = Hn(r), o = i.defaultQueryOptions(e);
1663
1663
  i.getDefaultOptions().queries?._experimental_beforeQuery?.(
1664
1664
  o
1665
1665
  ), process.env.NODE_ENV !== "production" && (o.queryFn || console.error(
1666
1666
  `[${o.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`
1667
1667
  )), o._optimisticResults = n ? "isRestoring" : "optimistic", Fi(o), Li(o, s), Mi(s);
1668
- const a = !i.getQueryCache().get(o.queryHash), [c] = F.useState(
1668
+ const a = !i.getQueryCache().get(o.queryHash), [c] = U.useState(
1669
1669
  () => new t(
1670
1670
  i,
1671
1671
  o
1672
1672
  )
1673
1673
  ), d = c.getOptimisticResult(o), u = !n && e.subscribed !== !1;
1674
- if (F.useSyncExternalStore(
1675
- F.useCallback(
1674
+ if (U.useSyncExternalStore(
1675
+ U.useCallback(
1676
1676
  (l) => {
1677
- const h = u ? c.subscribe(W.batchCalls(l)) : X;
1677
+ const h = u ? c.subscribe(j.batchCalls(l)) : X;
1678
1678
  return c.updateResult(), h;
1679
1679
  },
1680
1680
  [c, u]
1681
1681
  ),
1682
1682
  () => c.getCurrentResult(),
1683
1683
  () => c.getCurrentResult()
1684
- ), F.useEffect(() => {
1684
+ ), U.useEffect(() => {
1685
1685
  c.setOptions(o);
1686
- }, [o, c]), Hi(o, d))
1686
+ }, [o, c]), Ki(o, d))
1687
1687
  throw nn(o, c, s);
1688
1688
  if (Ui({
1689
1689
  result: d,
@@ -1696,7 +1696,7 @@ function Bi(e, t, r) {
1696
1696
  return i.getDefaultOptions().queries?._experimental_afterQuery?.(
1697
1697
  o,
1698
1698
  d
1699
- ), o.experimental_prefetchInRender && !Ie && Ki(d, n) && (a ? (
1699
+ ), o.experimental_prefetchInRender && !Ie && Hi(d, n) && (a ? (
1700
1700
  // Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
1701
1701
  nn(o, c, s)
1702
1702
  ) : (
@@ -1706,24 +1706,24 @@ function Bi(e, t, r) {
1706
1706
  c.updateResult();
1707
1707
  }), o.notifyOnChangeProps ? d : c.trackResult(d);
1708
1708
  }
1709
- function Be(e, t) {
1709
+ function Ke(e, t) {
1710
1710
  return Bi(e, Ri, t);
1711
1711
  }
1712
- var Gi = (e, t) => e === t, _t = Symbol("solid-proxy"), Hn = typeof Proxy == "function", Ot = {
1712
+ var Gi = (e, t) => e === t, _t = Symbol("solid-proxy"), Kn = typeof Proxy == "function", Ot = {
1713
1713
  equals: Gi
1714
1714
  }, Bn = Jn, pe = 1, Nt = 2, Gn = {
1715
1715
  owned: null,
1716
1716
  cleanups: null,
1717
1717
  context: null,
1718
1718
  owner: null
1719
- }, Jt = {}, C = null, D = null, J = null, ye = null, Bt = 0;
1719
+ }, Jt = {}, C = null, D = null, J = null, me = null, Bt = 0;
1720
1720
  function Te(e, t) {
1721
1721
  const r = D, n = C, s = e.length === 0, i = t === void 0 ? n : t, o = s ? Gn : {
1722
1722
  owned: null,
1723
1723
  cleanups: null,
1724
1724
  context: i ? i.context : null,
1725
1725
  owner: i
1726
- }, a = s ? e : () => e(() => Q(() => tt(o)));
1726
+ }, a = s ? e : () => e(() => Q(() => et(o)));
1727
1727
  C = o, D = null;
1728
1728
  try {
1729
1729
  return ce(a, !0);
@@ -1743,21 +1743,21 @@ function z(e, t) {
1743
1743
  }
1744
1744
  function Vi(e, t, r) {
1745
1745
  const n = Gt(e, t, !0, pe);
1746
- Ge(n);
1746
+ Be(n);
1747
1747
  }
1748
1748
  function Ae(e, t, r) {
1749
1749
  const n = Gt(e, t, !1, pe);
1750
- Ge(n);
1750
+ Be(n);
1751
1751
  }
1752
1752
  function Vn(e, t, r) {
1753
1753
  Bn = Zi;
1754
1754
  const n = Gt(e, t, !1, pe);
1755
- (!r || !r.render) && (n.user = !0), ye ? ye.push(n) : Ge(n);
1755
+ (!r || !r.render) && (n.user = !0), me ? me.push(n) : Be(n);
1756
1756
  }
1757
1757
  function H(e, t, r) {
1758
1758
  r = r ? Object.assign({}, Ot, r) : Ot;
1759
1759
  const n = Gt(e, t, !0, 0);
1760
- return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, Ge(n), Wn.bind(n);
1760
+ return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, Be(n), Wn.bind(n);
1761
1761
  }
1762
1762
  function qi(e) {
1763
1763
  return e && typeof e == "object" && "then" in e;
@@ -1766,7 +1766,7 @@ function ji(e, t, r) {
1766
1766
  let n, s, i;
1767
1767
  n = !0, s = e, i = {};
1768
1768
  let o = null, a = Jt, c = !1, d = "initialValue" in i, u = typeof n == "function" && H(n);
1769
- const l = /* @__PURE__ */ new Set(), [h, f] = (i.storage || z)(i.initialValue), [y, p] = z(void 0), [b, E] = z(void 0, {
1769
+ const l = /* @__PURE__ */ new Set(), [h, f] = (i.storage || z)(i.initialValue), [m, p] = z(void 0), [b, E] = z(void 0, {
1770
1770
  equals: !1
1771
1771
  }), [A, v] = z(d ? "ready" : "unresolved");
1772
1772
  function I(S, w, O, T) {
@@ -1781,8 +1781,8 @@ function ji(e, t, r) {
1781
1781
  l.clear();
1782
1782
  }, !1);
1783
1783
  }
1784
- function B() {
1785
- const S = h(), w = y();
1784
+ function K() {
1785
+ const S = h(), w = m();
1786
1786
  if (w !== void 0 && !o) throw w;
1787
1787
  return S;
1788
1788
  }
@@ -1801,8 +1801,8 @@ function ji(e, t, r) {
1801
1801
  value: h(),
1802
1802
  refetching: S
1803
1803
  });
1804
- } catch (K) {
1805
- O = K;
1804
+ } catch (F) {
1805
+ O = F;
1806
1806
  }
1807
1807
  });
1808
1808
  if (O !== void 0) {
@@ -1812,14 +1812,14 @@ function ji(e, t, r) {
1812
1812
  return I(o, T, void 0, w), T;
1813
1813
  return o = T, "v" in T ? (T.s === 1 ? I(o, T.v, void 0, w) : I(o, void 0, vt(T.v), w), T) : (c = !0, queueMicrotask(() => c = !1), ce(() => {
1814
1814
  v(d ? "refreshing" : "pending"), E();
1815
- }, !1), T.then((K) => I(T, K, void 0, w), (K) => I(T, void 0, vt(K), w)));
1815
+ }, !1), T.then((F) => I(T, F, void 0, w), (F) => I(T, void 0, vt(F), w)));
1816
1816
  }
1817
- Object.defineProperties(B, {
1817
+ Object.defineProperties(K, {
1818
1818
  state: {
1819
1819
  get: () => A()
1820
1820
  },
1821
1821
  error: {
1822
- get: () => y()
1822
+ get: () => m()
1823
1823
  },
1824
1824
  loading: {
1825
1825
  get() {
@@ -1829,15 +1829,15 @@ function ji(e, t, r) {
1829
1829
  },
1830
1830
  latest: {
1831
1831
  get() {
1832
- if (!d) return B();
1833
- const S = y();
1832
+ if (!d) return K();
1833
+ const S = m();
1834
1834
  if (S && !o) throw S;
1835
1835
  return h();
1836
1836
  }
1837
1837
  }
1838
1838
  });
1839
1839
  let _ = C;
1840
- return u ? Vi(() => (_ = C, x(!1))) : x(!1), [B, {
1840
+ return u ? Vi(() => (_ = C, x(!1))) : x(!1), [K, {
1841
1841
  refetch: (S) => qn(_, () => x(S)),
1842
1842
  mutate: f
1843
1843
  }];
@@ -1855,7 +1855,7 @@ function Q(e) {
1855
1855
  D = t;
1856
1856
  }
1857
1857
  }
1858
- function Bu(e, t, r) {
1858
+ function Ku(e, t, r) {
1859
1859
  const n = Array.isArray(e);
1860
1860
  let s, i = r && r.defer;
1861
1861
  return (o) => {
@@ -1873,7 +1873,7 @@ function Bu(e, t, r) {
1873
1873
  function Wi(e) {
1874
1874
  Vn(() => Q(e));
1875
1875
  }
1876
- function et(e) {
1876
+ function Ze(e) {
1877
1877
  return C === null || (C.cleanups === null ? C.cleanups = [e] : C.cleanups.push(e)), e;
1878
1878
  }
1879
1879
  function Qi() {
@@ -1898,11 +1898,11 @@ function Ji(e) {
1898
1898
  return ce(e, !1), D = C = null, n ? n.done : void 0;
1899
1899
  });
1900
1900
  }
1901
- var [zi, Gu] = /* @__PURE__ */ z(!1);
1902
- function Vu() {
1901
+ var [zi, Bu] = /* @__PURE__ */ z(!1);
1902
+ function Gu() {
1903
1903
  return [zi, Ji];
1904
1904
  }
1905
- function qu(e, t) {
1905
+ function Vu(e, t) {
1906
1906
  const r = Symbol("context");
1907
1907
  return {
1908
1908
  id: r,
@@ -1910,7 +1910,7 @@ function qu(e, t) {
1910
1910
  defaultValue: e
1911
1911
  };
1912
1912
  }
1913
- function ju(e) {
1913
+ function qu(e) {
1914
1914
  let t;
1915
1915
  return C && C.context && (t = C.context[e.id]) !== void 0 ? t : e.defaultValue;
1916
1916
  }
@@ -1923,7 +1923,7 @@ function jn(e) {
1923
1923
  }
1924
1924
  function Wn() {
1925
1925
  if (this.sources && this.state)
1926
- if (this.state === pe) Ge(this);
1926
+ if (this.state === pe) Be(this);
1927
1927
  else {
1928
1928
  const e = J;
1929
1929
  J = null, ce(() => xt(this), !1), J = e;
@@ -1939,15 +1939,15 @@ function Qn(e, t, r) {
1939
1939
  return (!e.comparator || !e.comparator(n, t)) && (e.value = t, e.observers && e.observers.length && ce(() => {
1940
1940
  for (let s = 0; s < e.observers.length; s += 1) {
1941
1941
  const i = e.observers[s];
1942
- i.state || (i.pure ? J.push(i) : ye.push(i), i.observers && zn(i)), i.state = pe;
1942
+ i.state || (i.pure ? J.push(i) : me.push(i), i.observers && zn(i)), i.state = pe;
1943
1943
  }
1944
1944
  if (J.length > 1e6)
1945
1945
  throw J = [], new Error();
1946
1946
  }, !1)), t;
1947
1947
  }
1948
- function Ge(e) {
1948
+ function Be(e) {
1949
1949
  if (!e.fn) return;
1950
- tt(e);
1950
+ et(e);
1951
1951
  const t = Bt;
1952
1952
  Yi(e, e.value, t);
1953
1953
  }
@@ -1958,7 +1958,7 @@ function Yi(e, t, r) {
1958
1958
  try {
1959
1959
  n = e.fn(t);
1960
1960
  } catch (o) {
1961
- return e.pure && (e.state = pe, e.owned && e.owned.forEach(tt), e.owned = null), e.updatedAt = r + 1, Mr(o);
1961
+ return e.pure && (e.state = pe, e.owned && e.owned.forEach(et), e.owned = null), e.updatedAt = r + 1, Mr(o);
1962
1962
  } finally {
1963
1963
  D = i, C = s;
1964
1964
  }
@@ -1989,7 +1989,7 @@ function Pt(e) {
1989
1989
  e.state && t.push(e);
1990
1990
  for (let r = t.length - 1; r >= 0; r--)
1991
1991
  if (e = t[r], e.state === pe)
1992
- Ge(e);
1992
+ Be(e);
1993
1993
  else if (e.state === Nt) {
1994
1994
  const n = J;
1995
1995
  J = null, ce(() => xt(e, t[0]), !1), J = n;
@@ -1998,18 +1998,18 @@ function Pt(e) {
1998
1998
  function ce(e, t) {
1999
1999
  if (J) return e();
2000
2000
  let r = !1;
2001
- t || (J = []), ye ? r = !0 : ye = [], Bt++;
2001
+ t || (J = []), me ? r = !0 : me = [], Bt++;
2002
2002
  try {
2003
2003
  const n = e();
2004
2004
  return Xi(r), n;
2005
2005
  } catch (n) {
2006
- r || (ye = null), J = null, Mr(n);
2006
+ r || (me = null), J = null, Mr(n);
2007
2007
  }
2008
2008
  }
2009
2009
  function Xi(e) {
2010
2010
  if (J && (Jn(J), J = null), e) return;
2011
- const t = ye;
2012
- ye = null, t.length && ce(() => Bn(t), !1);
2011
+ const t = me;
2012
+ me = null, t.length && ce(() => Bn(t), !1);
2013
2013
  }
2014
2014
  function Jn(e) {
2015
2015
  for (let t = 0; t < e.length; t++) Pt(e[t]);
@@ -2035,10 +2035,10 @@ function xt(e, t) {
2035
2035
  function zn(e) {
2036
2036
  for (let t = 0; t < e.observers.length; t += 1) {
2037
2037
  const r = e.observers[t];
2038
- r.state || (r.state = Nt, r.pure ? J.push(r) : ye.push(r), r.observers && zn(r));
2038
+ r.state || (r.state = Nt, r.pure ? J.push(r) : me.push(r), r.observers && zn(r));
2039
2039
  }
2040
2040
  }
2041
- function tt(e) {
2041
+ function et(e) {
2042
2042
  let t;
2043
2043
  if (e.sources)
2044
2044
  for (; e.sources.length; ) {
@@ -2049,11 +2049,11 @@ function tt(e) {
2049
2049
  }
2050
2050
  }
2051
2051
  if (e.tOwned) {
2052
- for (t = e.tOwned.length - 1; t >= 0; t--) tt(e.tOwned[t]);
2052
+ for (t = e.tOwned.length - 1; t >= 0; t--) et(e.tOwned[t]);
2053
2053
  delete e.tOwned;
2054
2054
  }
2055
2055
  if (e.owned) {
2056
- for (t = e.owned.length - 1; t >= 0; t--) tt(e.owned[t]);
2056
+ for (t = e.owned.length - 1; t >= 0; t--) et(e.owned[t]);
2057
2057
  e.owned = null;
2058
2058
  }
2059
2059
  if (e.cleanups) {
@@ -2097,12 +2097,12 @@ function $t(e) {
2097
2097
  }
2098
2098
  function ta(e, t, r = {}) {
2099
2099
  let n = [], s = [], i = [], o = 0, a = t.length > 1 ? [] : null;
2100
- return et(() => $t(i)), () => {
2100
+ return Ze(() => $t(i)), () => {
2101
2101
  let c = e() || [], d = c.length, u, l;
2102
2102
  return Q(() => {
2103
- let f, y, p, b, E, A, v, I, N;
2103
+ let f, m, p, b, E, A, v, I, N;
2104
2104
  if (d === 0)
2105
- o !== 0 && ($t(i), i = [], n = [], s = [], o = 0, a && (a = [])), r.fallback && (n = [Er], s[0] = Te((B) => (i[0] = B, r.fallback())), o = 1);
2105
+ o !== 0 && ($t(i), i = [], n = [], s = [], o = 0, a && (a = [])), r.fallback && (n = [Er], s[0] = Te((K) => (i[0] = K, r.fallback())), o = 1);
2106
2106
  else if (o === 0) {
2107
2107
  for (s = new Array(d), l = 0; l < d; l++)
2108
2108
  n[l] = c[l], s[l] = Te(h);
@@ -2111,10 +2111,10 @@ function ta(e, t, r = {}) {
2111
2111
  for (p = new Array(d), b = new Array(d), a && (E = new Array(d)), A = 0, v = Math.min(o, d); A < v && n[A] === c[A]; A++) ;
2112
2112
  for (v = o - 1, I = d - 1; v >= A && I >= A && n[v] === c[I]; v--, I--)
2113
2113
  p[I] = s[v], b[I] = i[v], a && (E[I] = a[v]);
2114
- for (f = /* @__PURE__ */ new Map(), y = new Array(I + 1), l = I; l >= A; l--)
2115
- N = c[l], u = f.get(N), y[l] = u === void 0 ? -1 : u, f.set(N, l);
2114
+ for (f = /* @__PURE__ */ new Map(), m = new Array(I + 1), l = I; l >= A; l--)
2115
+ N = c[l], u = f.get(N), m[l] = u === void 0 ? -1 : u, f.set(N, l);
2116
2116
  for (u = A; u <= v; u++)
2117
- N = n[u], l = f.get(N), l !== void 0 && l !== -1 ? (p[l] = s[u], b[l] = i[u], a && (E[l] = a[u]), l = y[l], f.set(N, l)) : i[u]();
2117
+ N = n[u], l = f.get(N), l !== void 0 && l !== -1 ? (p[l] = s[u], b[l] = i[u], a && (E[l] = a[u]), l = m[l], f.set(N, l)) : i[u]();
2118
2118
  for (l = A; l < d; l++)
2119
2119
  l in p ? (s[l] = p[l], i[l] = b[l], a && (a[l] = E[l], a[l](l))) : s[l] = Te(h);
2120
2120
  s = s.slice(0, o = d), n = c.slice(0);
@@ -2123,8 +2123,8 @@ function ta(e, t, r = {}) {
2123
2123
  });
2124
2124
  function h(f) {
2125
2125
  if (i[l] = f, a) {
2126
- const [y, p] = z(l);
2127
- return a[l] = p, t(c[l], y);
2126
+ const [m, p] = z(l);
2127
+ return a[l] = p, t(c[l], m);
2128
2128
  }
2129
2129
  return t(c[l]);
2130
2130
  }
@@ -2132,7 +2132,7 @@ function ta(e, t, r = {}) {
2132
2132
  }
2133
2133
  function ra(e, t, r = {}) {
2134
2134
  let n = [], s = [], i = [], o = [], a = 0, c;
2135
- return et(() => $t(i)), () => {
2135
+ return Ze(() => $t(i)), () => {
2136
2136
  const d = e() || [], u = d.length;
2137
2137
  return Q(() => {
2138
2138
  if (u === 0)
@@ -2145,8 +2145,8 @@ function ra(e, t, r = {}) {
2145
2145
  });
2146
2146
  function l(h) {
2147
2147
  i[c] = h;
2148
- const [f, y] = z(d[c]);
2149
- return o[c] = y, t(f, c);
2148
+ const [f, m] = z(d[c]);
2149
+ return o[c] = m, t(f, c);
2150
2150
  }
2151
2151
  };
2152
2152
  }
@@ -2195,7 +2195,7 @@ function ia(...e) {
2195
2195
  const a = e[o];
2196
2196
  t = t || !!a && _t in a, e[o] = typeof a == "function" ? (t = !0, H(a)) : a;
2197
2197
  }
2198
- if (Hn && t)
2198
+ if (Kn && t)
2199
2199
  return new Proxy({
2200
2200
  get(o) {
2201
2201
  for (let a = e.length - 1; a >= 0; a--) {
@@ -2243,7 +2243,7 @@ function ia(...e) {
2243
2243
  return s;
2244
2244
  }
2245
2245
  function aa(e, ...t) {
2246
- if (Hn && _t in e) {
2246
+ if (Kn && _t in e) {
2247
2247
  const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((o) => new Proxy({
2248
2248
  get(a) {
2249
2249
  return o.includes(a) ? e[a] : void 0;
@@ -2290,23 +2290,23 @@ function oa(e) {
2290
2290
  return n.preload = () => r || ((r = e()).then((s) => t = () => s.default), r), n;
2291
2291
  }
2292
2292
  var ca = 0;
2293
- function Wu() {
2293
+ function ju() {
2294
2294
  return `cl-${ca++}`;
2295
2295
  }
2296
2296
  var Yn = (e) => `Stale read from <${e}>.`;
2297
- function Qu(e) {
2297
+ function Wu(e) {
2298
2298
  const t = "fallback" in e && {
2299
2299
  fallback: () => e.fallback
2300
2300
  };
2301
2301
  return H(ta(() => e.each, e.children, t || void 0));
2302
2302
  }
2303
- function Ju(e) {
2303
+ function Qu(e) {
2304
2304
  const t = "fallback" in e && {
2305
2305
  fallback: () => e.fallback
2306
2306
  };
2307
2307
  return H(ra(() => e.each, e.children, t || void 0));
2308
2308
  }
2309
- function zu(e) {
2309
+ function Ju(e) {
2310
2310
  const t = e.keyed, r = H(() => e.when, void 0, void 0), n = t ? r : H(r, void 0, {
2311
2311
  equals: (s, i) => !s == !i
2312
2312
  });
@@ -2322,7 +2322,7 @@ function zu(e) {
2322
2322
  return e.fallback;
2323
2323
  }, void 0, void 0);
2324
2324
  }
2325
- function Yu(e) {
2325
+ function zu(e) {
2326
2326
  const t = jn(() => e.children), r = H(() => {
2327
2327
  const n = t(), s = Array.isArray(n) ? n : [n];
2328
2328
  let i = () => {
@@ -2345,7 +2345,7 @@ function Yu(e) {
2345
2345
  })) : a;
2346
2346
  }, void 0, void 0);
2347
2347
  }
2348
- function Xu(e) {
2348
+ function Yu(e) {
2349
2349
  return e;
2350
2350
  }
2351
2351
  var la = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], ua = /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...la]), da = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), ha = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
@@ -2380,11 +2380,11 @@ var la = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "contr
2380
2380
  TEXTAREA: 1
2381
2381
  }
2382
2382
  });
2383
- function ya(e, t) {
2383
+ function ma(e, t) {
2384
2384
  const r = fa[e];
2385
2385
  return typeof r == "object" ? r[t] ? r.$ : void 0 : r;
2386
2386
  }
2387
- var ma = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), pa = /* @__PURE__ */ new Set([
2387
+ var ya = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), pa = /* @__PURE__ */ new Set([
2388
2388
  "altGlyph",
2389
2389
  "altGlyphDef",
2390
2390
  "altGlyphItem",
@@ -2465,7 +2465,7 @@ var ma = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextme
2465
2465
  ]), ga = {
2466
2466
  xlink: "http://www.w3.org/1999/xlink",
2467
2467
  xml: "http://www.w3.org/XML/1998/namespace"
2468
- }, Zu = (e) => H(() => e());
2468
+ }, Xu = (e) => H(() => e());
2469
2469
  function ba(e, t, r) {
2470
2470
  let n = r.length, s = t.length, i = n, o = 0, a = 0, c = t[s - 1].nextSibling, d = null;
2471
2471
  for (; o < s || a < i; ) {
@@ -2497,15 +2497,15 @@ function ba(e, t, r) {
2497
2497
  for (; ++l < s && l < i && !((f = d.get(t[l])) == null || f !== u + h); )
2498
2498
  h++;
2499
2499
  if (h > u - a) {
2500
- const y = t[o];
2501
- for (; a < u; ) e.insertBefore(r[a++], y);
2500
+ const m = t[o];
2501
+ for (; a < u; ) e.insertBefore(r[a++], m);
2502
2502
  } else e.replaceChild(r[a++], t[o++]);
2503
2503
  } else o++;
2504
2504
  else t[o++].remove();
2505
2505
  }
2506
2506
  }
2507
2507
  }
2508
- var We = "_$DX_DELEGATE";
2508
+ var je = "_$DX_DELEGATE";
2509
2509
  function wa(e, t, r, n = {}) {
2510
2510
  let s;
2511
2511
  return Te((i) => {
@@ -2514,7 +2514,7 @@ function wa(e, t, r, n = {}) {
2514
2514
  s(), t.textContent = "";
2515
2515
  };
2516
2516
  }
2517
- function ed(e, t, r, n) {
2517
+ function Zu(e, t, r, n) {
2518
2518
  let s;
2519
2519
  const i = () => {
2520
2520
  const a = document.createElement("template");
@@ -2523,16 +2523,16 @@ function ed(e, t, r, n) {
2523
2523
  return o.cloneNode = o, o;
2524
2524
  }
2525
2525
  function Ea(e, t = window.document) {
2526
- const r = t[We] || (t[We] = /* @__PURE__ */ new Set());
2526
+ const r = t[je] || (t[je] = /* @__PURE__ */ new Set());
2527
2527
  for (let n = 0, s = e.length; n < s; n++) {
2528
2528
  const i = e[n];
2529
2529
  r.has(i) || (r.add(i), t.addEventListener(i, Xn));
2530
2530
  }
2531
2531
  }
2532
- function td(e = window.document) {
2533
- if (e[We]) {
2534
- for (let t of e[We].keys()) e.removeEventListener(t, Xn);
2535
- delete e[We];
2532
+ function ed(e = window.document) {
2533
+ if (e[je]) {
2534
+ for (let t of e[je].keys()) e.removeEventListener(t, Xn);
2535
+ delete e[je];
2536
2536
  }
2537
2537
  }
2538
2538
  function Sr(e, t, r) {
@@ -2582,14 +2582,14 @@ function ka(e, t, r) {
2582
2582
  }
2583
2583
  function Ra(e, t = {}, r, n) {
2584
2584
  const s = {};
2585
- return n || Ae(() => s.children = rt(e, t.children, s.children)), Ae(() => typeof t.ref == "function" && Ca(t.ref, e)), Ae(() => _a(e, t, r, !0, s, !0)), s;
2585
+ return n || Ae(() => s.children = tt(e, t.children, s.children)), Ae(() => typeof t.ref == "function" && Ca(t.ref, e)), Ae(() => _a(e, t, r, !0, s, !0)), s;
2586
2586
  }
2587
2587
  function Ca(e, t, r) {
2588
2588
  return Q(() => e(t, r));
2589
2589
  }
2590
2590
  function Tr(e, t, r, n) {
2591
- if (r !== void 0 && !n && (n = []), typeof t != "function") return rt(e, t, n, r);
2592
- Ae((s) => rt(e, t(), s, r), n);
2591
+ if (r !== void 0 && !n && (n = []), typeof t != "function") return tt(e, t, n, r);
2592
+ Ae((s) => tt(e, t(), s, r), n);
2593
2593
  }
2594
2594
  function _a(e, t, r, n, s = {}, i = !1) {
2595
2595
  t || (t = {});
@@ -2626,17 +2626,17 @@ function an(e, t, r, n, s, i, o) {
2626
2626
  const h = t.slice(10);
2627
2627
  n && e.removeEventListener(h, n, !0), r && e.addEventListener(h, r, !0);
2628
2628
  } else if (t.slice(0, 2) === "on") {
2629
- const h = t.slice(2).toLowerCase(), f = ma.has(h);
2629
+ const h = t.slice(2).toLowerCase(), f = ya.has(h);
2630
2630
  if (!f && n) {
2631
- const y = Array.isArray(n) ? n[0] : n;
2632
- e.removeEventListener(h, y);
2631
+ const m = Array.isArray(n) ? n[0] : n;
2632
+ e.removeEventListener(h, m);
2633
2633
  }
2634
2634
  (f || r) && (Aa(e, h, r, f), f && Ea([h]));
2635
2635
  } else if (t.slice(0, 5) === "attr:")
2636
2636
  Sr(e, t.slice(5), r);
2637
2637
  else if (t.slice(0, 5) === "bool:")
2638
2638
  Sa(e, t.slice(5), r);
2639
- else if ((l = t.slice(0, 5) === "prop:") || (d = da.has(t)) || !s && ((u = ya(t, e.tagName)) || (c = ua.has(t))) || (a = e.nodeName.includes("-") || "is" in o))
2639
+ else if ((l = t.slice(0, 5) === "prop:") || (d = da.has(t)) || !s && ((u = ma(t, e.tagName)) || (c = ua.has(t))) || (a = e.nodeName.includes("-") || "is" in o))
2640
2640
  l && (t = t.slice(5), c = !0), t === "class" || t === "className" ? Ta(e, r) : a && !c && !d ? e[Oa(t)] = r : e[u || t] = r;
2641
2641
  else {
2642
2642
  const h = s && t.indexOf(":") > -1 && ga[t.split(":")[0]];
@@ -2678,7 +2678,7 @@ function Xn(e) {
2678
2678
  } else a();
2679
2679
  i(n);
2680
2680
  }
2681
- function rt(e, t, r, n, s) {
2681
+ function tt(e, t, r, n, s) {
2682
2682
  for (; typeof r == "function"; ) r = r();
2683
2683
  if (t === r) return r;
2684
2684
  const i = typeof t, o = n !== void 0;
@@ -2697,12 +2697,12 @@ function rt(e, t, r, n, s) {
2697
2697
  return Ae(() => {
2698
2698
  let a = t();
2699
2699
  for (; typeof a == "function"; ) a = a();
2700
- r = rt(e, a, r, n);
2700
+ r = tt(e, a, r, n);
2701
2701
  }), () => r;
2702
2702
  if (Array.isArray(t)) {
2703
2703
  const a = [], c = r && Array.isArray(r);
2704
2704
  if (Ar(a, t, r, s))
2705
- return Ae(() => r = rt(e, a, r, n, !0)), () => r;
2705
+ return Ae(() => r = tt(e, a, r, n, !0)), () => r;
2706
2706
  if (a.length === 0) {
2707
2707
  if (r = Oe(e, r, n), o) return r;
2708
2708
  } else c ? r.length === 0 ? on(e, a, n) : ba(e, r, a) : (r && Oe(e), on(e, a));
@@ -2760,7 +2760,7 @@ var Na = "http://www.w3.org/2000/svg";
2760
2760
  function Zn(e, t = !1) {
2761
2761
  return t ? document.createElementNS(Na, e) : document.createElement(e);
2762
2762
  }
2763
- function rd(e) {
2763
+ function td(e) {
2764
2764
  const {
2765
2765
  useShadow: t
2766
2766
  } = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = Qi();
@@ -2770,7 +2770,7 @@ function rd(e) {
2770
2770
  const o = n();
2771
2771
  if (o instanceof HTMLHeadElement) {
2772
2772
  const [a, c] = z(!1), d = () => c(!0);
2773
- Te((u) => Tr(o, () => a() ? u() : i(), null)), et(d);
2773
+ Te((u) => Tr(o, () => a() ? u() : i(), null)), Ze(d);
2774
2774
  } else {
2775
2775
  const a = Zn(e.isSVG ? "g" : "div", e.isSVG), c = t && a.attachShadow ? a.attachShadow({
2776
2776
  mode: "open"
@@ -2780,7 +2780,7 @@ function rd(e) {
2780
2780
  return r.parentNode;
2781
2781
  },
2782
2782
  configurable: !0
2783
- }), Tr(c, i), o.appendChild(a), e.ref && e.ref(a), et(() => o.removeChild(a));
2783
+ }), Tr(c, i), o.appendChild(a), e.ref && e.ref(a), Ze(() => o.removeChild(a));
2784
2784
  }
2785
2785
  }, void 0, {
2786
2786
  render: !0
@@ -2799,7 +2799,7 @@ function Pa(e, t) {
2799
2799
  }
2800
2800
  });
2801
2801
  }
2802
- function nd(e) {
2802
+ function rd(e) {
2803
2803
  const [, t] = aa(e, ["component"]);
2804
2804
  return Pa(() => e.component, t);
2805
2805
  }
@@ -2891,7 +2891,7 @@ var Ma = class {
2891
2891
  findByName(e) {
2892
2892
  return this.transfomers[e];
2893
2893
  }
2894
- }, Ua = (e) => Object.prototype.toString.call(e).slice(8, -1), ts = (e) => typeof e > "u", Fa = (e) => e === null, nt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, Ir = (e) => nt(e) && Object.keys(e).length === 0, ve = (e) => Array.isArray(e), Ka = (e) => typeof e == "string", Ha = (e) => typeof e == "number" && !isNaN(e), Ba = (e) => typeof e == "boolean", Ga = (e) => e instanceof RegExp, st = (e) => e instanceof Map, it = (e) => e instanceof Set, rs = (e) => Ua(e) === "Symbol", Va = (e) => e instanceof Date && !isNaN(e.valueOf()), qa = (e) => e instanceof Error, ln = (e) => typeof e == "number" && isNaN(e), ja = (e) => Ba(e) || Fa(e) || ts(e) || Ha(e) || Ka(e) || rs(e), Wa = (e) => typeof e == "bigint", Qa = (e) => e === 1 / 0 || e === -1 / 0, Ja = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), za = (e) => e instanceof URL, ns = (e) => e.replace(/\./g, "\\."), Yt = (e) => e.map(String).map(ns).join("."), Qe = (e) => {
2894
+ }, Ua = (e) => Object.prototype.toString.call(e).slice(8, -1), ts = (e) => typeof e > "u", Fa = (e) => e === null, rt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, Ir = (e) => rt(e) && Object.keys(e).length === 0, ve = (e) => Array.isArray(e), Ha = (e) => typeof e == "string", Ka = (e) => typeof e == "number" && !isNaN(e), Ba = (e) => typeof e == "boolean", Ga = (e) => e instanceof RegExp, nt = (e) => e instanceof Map, st = (e) => e instanceof Set, rs = (e) => Ua(e) === "Symbol", Va = (e) => e instanceof Date && !isNaN(e.valueOf()), qa = (e) => e instanceof Error, ln = (e) => typeof e == "number" && isNaN(e), ja = (e) => Ba(e) || Fa(e) || ts(e) || Ka(e) || Ha(e) || rs(e), Wa = (e) => typeof e == "bigint", Qa = (e) => e === 1 / 0 || e === -1 / 0, Ja = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), za = (e) => e instanceof URL, ns = (e) => e.replace(/\./g, "\\."), Yt = (e) => e.map(String).map(ns).join("."), We = (e) => {
2895
2895
  const t = [];
2896
2896
  let r = "";
2897
2897
  for (let s = 0; s < e.length; s++) {
@@ -2941,14 +2941,14 @@ var ss = [
2941
2941
  return new RegExp(t, r);
2942
2942
  }),
2943
2943
  se(
2944
- it,
2944
+ st,
2945
2945
  "set",
2946
2946
  // (sets only exist in es6+)
2947
2947
  // eslint-disable-next-line es5/no-es6-methods
2948
2948
  (e) => [...e.values()],
2949
2949
  (e) => new Set(e)
2950
2950
  ),
2951
- se(st, "map", (e) => [...e.entries()], (e) => new Map(e)),
2951
+ se(nt, "map", (e) => [...e.entries()], (e) => new Map(e)),
2952
2952
  se((e) => ln(e) || Qa(e), "number", (e) => ln(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2953
2953
  se((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
2954
2954
  se(za, "URL", (e) => e.toString(), (e) => new URL(e))
@@ -3060,9 +3060,9 @@ var eo = (e, t) => {
3060
3060
  ds(t);
3061
3061
  for (let r = 0; r < t.length; r++) {
3062
3062
  const n = t[r];
3063
- if (it(e))
3063
+ if (st(e))
3064
3064
  e = Me(e, +n);
3065
- else if (st(e)) {
3065
+ else if (nt(e)) {
3066
3066
  const s = +n, i = +t[++r] == 0 ? "key" : "value", o = Me(e, s);
3067
3067
  switch (i) {
3068
3068
  case "key":
@@ -3085,12 +3085,12 @@ var eo = (e, t) => {
3085
3085
  if (ve(n)) {
3086
3086
  const a = +o;
3087
3087
  n = n[a];
3088
- } else if (nt(n))
3088
+ } else if (rt(n))
3089
3089
  n = n[o];
3090
- else if (it(n)) {
3090
+ else if (st(n)) {
3091
3091
  const a = +o;
3092
3092
  n = Me(n, a);
3093
- } else if (st(n)) {
3093
+ } else if (nt(n)) {
3094
3094
  if (i === t.length - 2)
3095
3095
  break;
3096
3096
  const c = +o, d = +t[++i] == 0 ? "key" : "value", u = Me(n, c);
@@ -3105,11 +3105,11 @@ var eo = (e, t) => {
3105
3105
  }
3106
3106
  }
3107
3107
  const s = t[t.length - 1];
3108
- if (ve(n) ? n[+s] = r(n[+s]) : nt(n) && (n[s] = r(n[s])), it(n)) {
3108
+ if (ve(n) ? n[+s] = r(n[+s]) : rt(n) && (n[s] = r(n[s])), st(n)) {
3109
3109
  const i = Me(n, +s), o = r(i);
3110
3110
  i !== o && (n.delete(i), n.add(o));
3111
3111
  }
3112
- if (st(n)) {
3112
+ if (nt(n)) {
3113
3113
  const i = +t[t.length - 2], o = Me(n, i);
3114
3114
  switch (+s == 0 ? "key" : "value") {
3115
3115
  case "key": {
@@ -3129,12 +3129,12 @@ function Rr(e, t, r = []) {
3129
3129
  if (!e)
3130
3130
  return;
3131
3131
  if (!ve(e)) {
3132
- Fe(e, (i, o) => Rr(i, t, [...r, ...Qe(o)]));
3132
+ Fe(e, (i, o) => Rr(i, t, [...r, ...We(o)]));
3133
3133
  return;
3134
3134
  }
3135
3135
  const [n, s] = e;
3136
3136
  s && Fe(s, (i, o) => {
3137
- Rr(i, t, [...r, ...Qe(o)]);
3137
+ Rr(i, t, [...r, ...We(o)]);
3138
3138
  }), t(n, r);
3139
3139
  }
3140
3140
  function to(e, t, r) {
@@ -3144,21 +3144,21 @@ function to(e, t, r) {
3144
3144
  }
3145
3145
  function ro(e, t) {
3146
3146
  function r(n, s) {
3147
- const i = eo(e, Qe(s));
3148
- n.map(Qe).forEach((o) => {
3147
+ const i = eo(e, We(s));
3148
+ n.map(We).forEach((o) => {
3149
3149
  e = kr(e, o, () => i);
3150
3150
  });
3151
3151
  }
3152
3152
  if (ve(t)) {
3153
3153
  const [n, s] = t;
3154
3154
  n.forEach((i) => {
3155
- e = kr(e, Qe(i), () => e);
3155
+ e = kr(e, We(i), () => e);
3156
3156
  }), s && Fe(s, r);
3157
3157
  } else
3158
3158
  Fe(t, r);
3159
3159
  return e;
3160
3160
  }
3161
- var no = (e, t) => nt(e) || ve(e) || st(e) || it(e) || os(e, t);
3161
+ var no = (e, t) => rt(e) || ve(e) || nt(e) || st(e) || os(e, t);
3162
3162
  function so(e, t, r) {
3163
3163
  const n = r.get(e);
3164
3164
  n ? n.push(t) : r.set(e, [t]);
@@ -3185,25 +3185,25 @@ var hs = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
3185
3185
  } : f;
3186
3186
  }
3187
3187
  if (!no(e, r)) {
3188
- const f = un(e, r), y = f ? {
3188
+ const f = un(e, r), m = f ? {
3189
3189
  transformedValue: f.value,
3190
3190
  annotations: [f.type]
3191
3191
  } : {
3192
3192
  transformedValue: e
3193
3193
  };
3194
- return a || o.set(e, y), y;
3194
+ return a || o.set(e, m), m;
3195
3195
  }
3196
3196
  if (St(i, e))
3197
3197
  return {
3198
3198
  transformedValue: null
3199
3199
  };
3200
3200
  const c = un(e, r), d = c?.value ?? e, u = ve(d) ? [] : {}, l = {};
3201
- Fe(d, (f, y) => {
3202
- if (y === "__proto__" || y === "constructor" || y === "prototype")
3203
- throw new Error(`Detected property ${y}. This is a prototype pollution risk, please remove it from your object.`);
3204
- const p = hs(f, t, r, n, [...s, y], [...i, e], o);
3205
- u[y] = p.transformedValue, ve(p.annotations) ? l[y] = p.annotations : nt(p.annotations) && Fe(p.annotations, (b, E) => {
3206
- l[ns(y) + "." + E] = b;
3201
+ Fe(d, (f, m) => {
3202
+ if (m === "__proto__" || m === "constructor" || m === "prototype")
3203
+ throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);
3204
+ const p = hs(f, t, r, n, [...s, m], [...i, e], o);
3205
+ u[m] = p.transformedValue, ve(p.annotations) ? l[m] = p.annotations : rt(p.annotations) && Fe(p.annotations, (b, E) => {
3206
+ l[ns(m) + "." + E] = b;
3207
3207
  });
3208
3208
  });
3209
3209
  const h = Ir(l) ? {
@@ -3306,42 +3306,42 @@ P.registerClass = P.defaultInstance.registerClass.bind(P.defaultInstance);
3306
3306
  P.registerSymbol = P.defaultInstance.registerSymbol.bind(P.defaultInstance);
3307
3307
  P.registerCustom = P.defaultInstance.registerCustom.bind(P.defaultInstance);
3308
3308
  P.allowErrorProps = P.defaultInstance.allowErrorProps.bind(P.defaultInstance);
3309
- var co = P.serialize, sd = P.stringify;
3310
- function id(e) {
3309
+ var co = P.serialize, nd = P.stringify;
3310
+ function sd(e) {
3311
3311
  return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
3312
3312
  }
3313
- function ad(e, t) {
3313
+ function id(e, t) {
3314
3314
  return `${e}${t.charAt(0).toUpperCase() + t.slice(1)}`;
3315
3315
  }
3316
- function od({
3316
+ function ad({
3317
3317
  queryState: e,
3318
3318
  observerCount: t,
3319
3319
  isStale: r
3320
3320
  }) {
3321
3321
  return e.fetchStatus === "fetching" ? "blue" : t ? e.fetchStatus === "paused" ? "purple" : r ? "yellow" : "green" : "gray";
3322
3322
  }
3323
- function cd({
3323
+ function od({
3324
3324
  status: e,
3325
3325
  isPaused: t
3326
3326
  }) {
3327
3327
  return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
3328
3328
  }
3329
- function ld(e) {
3329
+ function cd(e) {
3330
3330
  return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
3331
3331
  }
3332
- var ud = (e, t = !1) => {
3332
+ var ld = (e, t = !1) => {
3333
3333
  const {
3334
3334
  json: r
3335
3335
  } = co(e);
3336
3336
  return JSON.stringify(r, null, t ? 2 : void 0);
3337
- }, dt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, lo = (e, t) => e.queryHash.localeCompare(t.queryHash), ys = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, uo = (e, t) => dt(e) === dt(t) ? ys(e, t) : dt(e) > dt(t) ? 1 : -1, dd = {
3337
+ }, dt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, lo = (e, t) => e.queryHash.localeCompare(t.queryHash), ms = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, uo = (e, t) => dt(e) === dt(t) ? ms(e, t) : dt(e) > dt(t) ? 1 : -1, ud = {
3338
3338
  status: uo,
3339
3339
  "query hash": lo,
3340
- "last updated": ys
3341
- }, ht = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, ms = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, ho = (e, t) => ht(e) === ht(t) ? ms(e, t) : ht(e) > ht(t) ? 1 : -1, hd = {
3342
- status: ho,
3343
3340
  "last updated": ms
3344
- }, fd = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), yd = () => {
3341
+ }, ht = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, ys = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, ho = (e, t) => ht(e) === ht(t) ? ys(e, t) : ht(e) > ht(t) ? 1 : -1, dd = {
3342
+ status: ho,
3343
+ "last updated": ys
3344
+ }, hd = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), fd = () => {
3345
3345
  const [e, t] = z("dark");
3346
3346
  return Wi(() => {
3347
3347
  const r = window.matchMedia("(prefers-color-scheme: dark)");
@@ -3349,7 +3349,7 @@ var ud = (e, t = !1) => {
3349
3349
  const n = (s) => {
3350
3350
  t(s.matches ? "dark" : "light");
3351
3351
  };
3352
- r.addEventListener("change", n), et(() => r.removeEventListener("change", n));
3352
+ r.addEventListener("change", n), Ze(() => r.removeEventListener("change", n));
3353
3353
  }), e;
3354
3354
  }, ft = (e, t, r) => {
3355
3355
  if (t.length === 0)
@@ -3382,16 +3382,16 @@ var ud = (e, t = !1) => {
3382
3382
  return n[s] = ft(n[s], i, r), n;
3383
3383
  }
3384
3384
  return e;
3385
- }, yt = (e, t) => {
3385
+ }, mt = (e, t) => {
3386
3386
  if (e instanceof Map) {
3387
3387
  const r = new Map(e);
3388
3388
  if (t.length === 1)
3389
3389
  return r.delete(t[0]), r;
3390
3390
  const [n, ...s] = t;
3391
- return r.set(n, yt(r.get(n), s)), r;
3391
+ return r.set(n, mt(r.get(n), s)), r;
3392
3392
  }
3393
3393
  if (e instanceof Set) {
3394
- const r = yt(Array.from(e), t);
3394
+ const r = mt(Array.from(e), t);
3395
3395
  return new Set(r);
3396
3396
  }
3397
3397
  if (Array.isArray(e)) {
@@ -3399,7 +3399,7 @@ var ud = (e, t = !1) => {
3399
3399
  if (t.length === 1)
3400
3400
  return r.filter((i, o) => o.toString() !== t[0]);
3401
3401
  const [n, ...s] = t;
3402
- return r[n] = yt(r[n], s), r;
3402
+ return r[n] = mt(r[n], s), r;
3403
3403
  }
3404
3404
  if (e instanceof Object) {
3405
3405
  const r = {
@@ -3408,14 +3408,14 @@ var ud = (e, t = !1) => {
3408
3408
  if (t.length === 1)
3409
3409
  return delete r[t[0]], r;
3410
3410
  const [n, ...s] = t;
3411
- return r[n] = yt(r[n], s), r;
3411
+ return r[n] = mt(r[n], s), r;
3412
3412
  }
3413
3413
  return e;
3414
3414
  }, fo = (e, t) => {
3415
3415
  if (!e || document.querySelector("#_goober") || t?.querySelector("#_goober")) return;
3416
3416
  const n = document.createElement("style"), s = document.createTextNode("");
3417
3417
  n.appendChild(s), n.id = "_goober", n.setAttribute("nonce", e), t ? t.appendChild(n) : document.head.appendChild(n);
3418
- }, yo = class {
3418
+ }, mo = class {
3419
3419
  #t;
3420
3420
  #e;
3421
3421
  #r;
@@ -3467,7 +3467,7 @@ var ud = (e, t = !1) => {
3467
3467
  const t = wa(() => {
3468
3468
  const r = this, [n] = this.#i, [s] = this.#f, [i] = this.#u, [o] = this.#d, [a] = this.#h, [c] = this.#t;
3469
3469
  let d;
3470
- return this.#c ? d = this.#c : (d = oa(() => import("./LNWAZHJI.C8sP3-rc.js")), this.#c = d), fo(this.#o, this.#a), na(d, ia({
3470
+ return this.#c ? d = this.#c : (d = oa(() => import("./LNWAZHJI.ucCV8_lF.js")), this.#c = d), fo(this.#o, this.#a), na(d, ia({
3471
3471
  get queryFlavor() {
3472
3472
  return r.#r;
3473
3473
  },
@@ -3509,8 +3509,8 @@ var ud = (e, t = !1) => {
3509
3509
  this.#l?.(), this.#s = !1;
3510
3510
  }
3511
3511
  };
3512
- function mo(e) {
3513
- const t = Kn(e.client), r = F.useRef(null), {
3512
+ function yo(e) {
3513
+ const t = Hn(e.client), r = U.useRef(null), {
3514
3514
  buttonPosition: n,
3515
3515
  position: s,
3516
3516
  initialIsOpen: i,
@@ -3518,12 +3518,12 @@ function mo(e) {
3518
3518
  styleNonce: a,
3519
3519
  shadowDOMTarget: c,
3520
3520
  hideDisabledQueries: d
3521
- } = e, [u] = F.useState(
3522
- new yo({
3521
+ } = e, [u] = U.useState(
3522
+ new mo({
3523
3523
  client: t,
3524
3524
  queryFlavor: "React Query",
3525
3525
  version: "5",
3526
- onlineManager: Ze,
3526
+ onlineManager: Xe,
3527
3527
  buttonPosition: n,
3528
3528
  position: s,
3529
3529
  initialIsOpen: i,
@@ -3533,23 +3533,23 @@ function mo(e) {
3533
3533
  hideDisabledQueries: d
3534
3534
  })
3535
3535
  );
3536
- return F.useEffect(() => {
3536
+ return U.useEffect(() => {
3537
3537
  u.setClient(t);
3538
- }, [t, u]), F.useEffect(() => {
3538
+ }, [t, u]), U.useEffect(() => {
3539
3539
  n && u.setButtonPosition(n);
3540
- }, [n, u]), F.useEffect(() => {
3540
+ }, [n, u]), U.useEffect(() => {
3541
3541
  s && u.setPosition(s);
3542
- }, [s, u]), F.useEffect(() => {
3542
+ }, [s, u]), U.useEffect(() => {
3543
3543
  u.setInitialIsOpen(i || !1);
3544
- }, [i, u]), F.useEffect(() => {
3544
+ }, [i, u]), U.useEffect(() => {
3545
3545
  u.setErrorTypes(o || []);
3546
- }, [o, u]), F.useEffect(() => (r.current && u.mount(r.current), () => {
3546
+ }, [o, u]), U.useEffect(() => (r.current && u.mount(r.current), () => {
3547
3547
  u.unmount();
3548
- }), [u]), /* @__PURE__ */ m("div", { dir: "ltr", className: "tsqd-parent-container", ref: r });
3548
+ }), [u]), /* @__PURE__ */ y("div", { dir: "ltr", className: "tsqd-parent-container", ref: r });
3549
3549
  }
3550
3550
  var po = process.env.NODE_ENV !== "development" ? function() {
3551
3551
  return null;
3552
- } : mo;
3552
+ } : yo;
3553
3553
  /*!
3554
3554
  @versini/auth-common v4.5.1
3555
3555
  © 2025 gizmette.com
@@ -3563,21 +3563,19 @@ try {
3563
3563
  });
3564
3564
  } catch {
3565
3565
  }
3566
- const Je = {
3566
+ const Qe = {
3567
3567
  CODE: "code",
3568
3568
  REFRESH_TOKEN: "refresh_token",
3569
3569
  PASSKEY: "passkey"
3570
3570
  }, ps = {
3571
3571
  CLIENT_ID: "X-Auth-ClientId"
3572
- }, M = {
3572
+ }, W = {
3573
3573
  ALG: "RS256",
3574
3574
  USER_ID_KEY: "sub",
3575
3575
  USERNAME_KEY: "username",
3576
3576
  EMAIL_KEY: "email",
3577
3577
  NONCE_KEY: "_nonce",
3578
3578
  AUTH_TYPE_KEY: "auth_type",
3579
- SCOPES_KEY: "scopes",
3580
- SCOPE_KEY: "scope",
3581
3579
  ISSUER: "gizmette.com"
3582
3580
  }, go = `-----BEGIN PUBLIC KEY-----
3583
3581
  MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
@@ -3592,7 +3590,7 @@ awIDAQAB
3592
3590
  LOGOUT: "logout",
3593
3591
  LOGIN: "login",
3594
3592
  REFRESH: "refresh"
3595
- }, mt = new TextEncoder(), Ke = new TextDecoder();
3593
+ }, yt = new TextEncoder(), He = new TextDecoder();
3596
3594
  function bo(...e) {
3597
3595
  const t = e.reduce((s, { length: i }) => s + i, 0), r = new Uint8Array(t);
3598
3596
  let n = 0;
@@ -3608,13 +3606,13 @@ function gs(e) {
3608
3606
  r[n] = t.charCodeAt(n);
3609
3607
  return r;
3610
3608
  }
3611
- function ze(e) {
3609
+ function Je(e) {
3612
3610
  if (Uint8Array.fromBase64)
3613
- return Uint8Array.fromBase64(typeof e == "string" ? e : Ke.decode(e), {
3611
+ return Uint8Array.fromBase64(typeof e == "string" ? e : He.decode(e), {
3614
3612
  alphabet: "base64url"
3615
3613
  });
3616
3614
  let t = e;
3617
- t instanceof Uint8Array && (t = Ke.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
3615
+ t instanceof Uint8Array && (t = He.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
3618
3616
  try {
3619
3617
  return gs(t);
3620
3618
  } catch {
@@ -3652,7 +3650,7 @@ let ke = class extends Error {
3652
3650
  static code = "ERR_JOSE_NOT_SUPPORTED";
3653
3651
  code = "ERR_JOSE_NOT_SUPPORTED";
3654
3652
  };
3655
- class q extends ke {
3653
+ class V extends ke {
3656
3654
  static code = "ERR_JWS_INVALID";
3657
3655
  code = "ERR_JWS_INVALID";
3658
3656
  }
@@ -3791,7 +3789,7 @@ const Ss = (e) => Es(e) || vs(e), Io = (...e) => {
3791
3789
  function ko(e) {
3792
3790
  return typeof e == "object" && e !== null;
3793
3791
  }
3794
- const at = (e) => {
3792
+ const it = (e) => {
3795
3793
  if (!ko(e) || Object.prototype.toString.call(e) !== "[object Object]")
3796
3794
  return !1;
3797
3795
  if (Object.getPrototypeOf(e) === null)
@@ -4039,12 +4037,12 @@ const Uo = (e, t, r, n, s) => {
4039
4037
  return new Set(t);
4040
4038
  };
4041
4039
  function Ur(e) {
4042
- return at(e) && typeof e.kty == "string";
4040
+ return it(e) && typeof e.kty == "string";
4043
4041
  }
4044
- function Ko(e) {
4042
+ function Ho(e) {
4045
4043
  return e.kty !== "oct" && (e.kty === "AKP" && typeof e.priv == "string" || typeof e.d == "string");
4046
4044
  }
4047
- function Ho(e) {
4045
+ function Ko(e) {
4048
4046
  return e.kty !== "oct" && typeof e.d > "u" && typeof e.priv > "u";
4049
4047
  }
4050
4048
  function Bo(e) {
@@ -4171,7 +4169,7 @@ const fn = async (e, t, r, n = !1) => {
4171
4169
  return fn(e, r, t);
4172
4170
  }
4173
4171
  if (Ur(e))
4174
- return e.k ? ze(e.k) : fn(e, e, t, !0);
4172
+ return e.k ? Je(e.k) : fn(e, e, t, !0);
4175
4173
  throw new Error("unreachable");
4176
4174
  }, Le = (e) => e?.[Symbol.toStringTag], _r = (e, t, r) => {
4177
4175
  if (t.use !== void 0) {
@@ -4233,12 +4231,12 @@ const fn = async (e, t, r, n = !1) => {
4233
4231
  switch (r) {
4234
4232
  case "decrypt":
4235
4233
  case "sign":
4236
- if (Ko(t) && _r(e, t, r))
4234
+ if (Ho(t) && _r(e, t, r))
4237
4235
  return;
4238
4236
  throw new TypeError("JSON Web Key for this operation be a private JWK");
4239
4237
  case "encrypt":
4240
4238
  case "verify":
4241
- if (Ho(t) && _r(e, t, r))
4239
+ if (Ko(t) && _r(e, t, r))
4242
4240
  return;
4243
4241
  throw new TypeError("JSON Web Key for this operation be a public JWK");
4244
4242
  }
@@ -4309,54 +4307,54 @@ const fn = async (e, t, r, n = !1) => {
4309
4307
  }
4310
4308
  };
4311
4309
  async function Yo(e, t, r) {
4312
- if (!at(e))
4313
- throw new q("Flattened JWS must be an object");
4310
+ if (!it(e))
4311
+ throw new V("Flattened JWS must be an object");
4314
4312
  if (e.protected === void 0 && e.header === void 0)
4315
- throw new q('Flattened JWS must have either of the "protected" or "header" members');
4313
+ throw new V('Flattened JWS must have either of the "protected" or "header" members');
4316
4314
  if (e.protected !== void 0 && typeof e.protected != "string")
4317
- throw new q("JWS Protected Header incorrect type");
4315
+ throw new V("JWS Protected Header incorrect type");
4318
4316
  if (e.payload === void 0)
4319
- throw new q("JWS Payload missing");
4317
+ throw new V("JWS Payload missing");
4320
4318
  if (typeof e.signature != "string")
4321
- throw new q("JWS Signature missing or incorrect type");
4322
- if (e.header !== void 0 && !at(e.header))
4323
- throw new q("JWS Unprotected Header incorrect type");
4319
+ throw new V("JWS Signature missing or incorrect type");
4320
+ if (e.header !== void 0 && !it(e.header))
4321
+ throw new V("JWS Unprotected Header incorrect type");
4324
4322
  let n = {};
4325
4323
  if (e.protected)
4326
4324
  try {
4327
- const p = ze(e.protected);
4328
- n = JSON.parse(Ke.decode(p));
4325
+ const p = Je(e.protected);
4326
+ n = JSON.parse(He.decode(p));
4329
4327
  } catch {
4330
- throw new q("JWS Protected Header is invalid");
4328
+ throw new V("JWS Protected Header is invalid");
4331
4329
  }
4332
4330
  if (!Io(n, e.header))
4333
- throw new q("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
4331
+ throw new V("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
4334
4332
  const s = {
4335
4333
  ...n,
4336
4334
  ...e.header
4337
- }, i = Uo(q, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, n, s);
4335
+ }, i = Uo(V, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, n, s);
4338
4336
  let o = !0;
4339
4337
  if (i.has("b64") && (o = n.b64, typeof o != "boolean"))
4340
- throw new q('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
4338
+ throw new V('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
4341
4339
  const { alg: a } = s;
4342
4340
  if (typeof a != "string" || !a)
4343
- throw new q('JWS "alg" (Algorithm) Header Parameter missing or invalid');
4341
+ throw new V('JWS "alg" (Algorithm) Header Parameter missing or invalid');
4344
4342
  const c = r && Fo("algorithms", r.algorithms);
4345
4343
  if (c && !c.has(a))
4346
4344
  throw new wo('"alg" (Algorithm) Header Parameter value not allowed');
4347
4345
  if (o) {
4348
4346
  if (typeof e.payload != "string")
4349
- throw new q("JWS Payload must be a string");
4347
+ throw new V("JWS Payload must be a string");
4350
4348
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
4351
- throw new q("JWS Payload must be a string or an Uint8Array instance");
4349
+ throw new V("JWS Payload must be a string or an Uint8Array instance");
4352
4350
  let d = !1;
4353
4351
  typeof t == "function" && (t = await t(n, e), d = !0), Wo(a, t, "verify");
4354
- const u = bo(mt.encode(e.protected ?? ""), mt.encode("."), typeof e.payload == "string" ? mt.encode(e.payload) : e.payload);
4352
+ const u = bo(yt.encode(e.protected ?? ""), yt.encode("."), typeof e.payload == "string" ? yt.encode(e.payload) : e.payload);
4355
4353
  let l;
4356
4354
  try {
4357
- l = ze(e.signature);
4355
+ l = Je(e.signature);
4358
4356
  } catch {
4359
- throw new q("Failed to base64url decode the signature");
4357
+ throw new V("Failed to base64url decode the signature");
4360
4358
  }
4361
4359
  const h = await Vo(t, a);
4362
4360
  if (!await zo(a, h, l, u))
@@ -4364,24 +4362,24 @@ async function Yo(e, t, r) {
4364
4362
  let f;
4365
4363
  if (o)
4366
4364
  try {
4367
- f = ze(e.payload);
4365
+ f = Je(e.payload);
4368
4366
  } catch {
4369
- throw new q("Failed to base64url decode the payload");
4367
+ throw new V("Failed to base64url decode the payload");
4370
4368
  }
4371
- else typeof e.payload == "string" ? f = mt.encode(e.payload) : f = e.payload;
4372
- const y = { payload: f };
4373
- return e.protected !== void 0 && (y.protectedHeader = n), e.header !== void 0 && (y.unprotectedHeader = e.header), d ? { ...y, key: h } : y;
4369
+ else typeof e.payload == "string" ? f = yt.encode(e.payload) : f = e.payload;
4370
+ const m = { payload: f };
4371
+ return e.protected !== void 0 && (m.protectedHeader = n), e.header !== void 0 && (m.unprotectedHeader = e.header), d ? { ...m, key: h } : m;
4374
4372
  }
4375
4373
  async function Xo(e, t, r) {
4376
- if (e instanceof Uint8Array && (e = Ke.decode(e)), typeof e != "string")
4377
- throw new q("Compact JWS must be a string or Uint8Array");
4374
+ if (e instanceof Uint8Array && (e = He.decode(e)), typeof e != "string")
4375
+ throw new V("Compact JWS must be a string or Uint8Array");
4378
4376
  const { 0: n, 1: s, 2: i, length: o } = e.split(".");
4379
4377
  if (o !== 3)
4380
- throw new q("Invalid Compact JWS");
4378
+ throw new V("Invalid Compact JWS");
4381
4379
  const a = await Yo({ payload: s, protected: n, signature: i }, t, r), c = { payload: a.payload, protectedHeader: a.protectedHeader };
4382
4380
  return typeof t == "function" ? { ...c, key: a.key } : c;
4383
4381
  }
4384
- const Zo = (e) => Math.floor(e.getTime() / 1e3), As = 60, Is = As * 60, Fr = Is * 24, ec = Fr * 7, tc = Fr * 365.25, rc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, yn = (e) => {
4382
+ const Zo = (e) => Math.floor(e.getTime() / 1e3), As = 60, Is = As * 60, Fr = Is * 24, ec = Fr * 7, tc = Fr * 365.25, rc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, mn = (e) => {
4385
4383
  const t = rc.exec(e);
4386
4384
  if (!t || t[4] && t[1])
4387
4385
  throw new TypeError("Invalid time period format");
@@ -4424,23 +4422,23 @@ const Zo = (e) => Math.floor(e.getTime() / 1e3), As = 60, Is = As * 60, Fr = Is
4424
4422
  break;
4425
4423
  }
4426
4424
  return t[1] === "-" || t[4] === "ago" ? -s : s;
4427
- }, mn = (e) => e.includes("/") ? e.toLowerCase() : `application/${e.toLowerCase()}`, nc = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
4425
+ }, yn = (e) => e.includes("/") ? e.toLowerCase() : `application/${e.toLowerCase()}`, nc = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
4428
4426
  function sc(e, t, r = {}) {
4429
4427
  let n;
4430
4428
  try {
4431
- n = JSON.parse(Ke.decode(t));
4429
+ n = JSON.parse(He.decode(t));
4432
4430
  } catch {
4433
4431
  }
4434
- if (!at(n))
4432
+ if (!it(n))
4435
4433
  throw new ue("JWT Claims Set must be a top-level JSON object");
4436
4434
  const { typ: s } = r;
4437
- if (s && (typeof e.typ != "string" || mn(e.typ) !== mn(s)))
4435
+ if (s && (typeof e.typ != "string" || yn(e.typ) !== yn(s)))
4438
4436
  throw new ie('unexpected "typ" JWT header value', n, "typ", "check_failed");
4439
4437
  const { requiredClaims: i = [], issuer: o, subject: a, audience: c, maxTokenAge: d } = r, u = [...i];
4440
4438
  d !== void 0 && u.push("iat"), c !== void 0 && u.push("aud"), a !== void 0 && u.push("sub"), o !== void 0 && u.push("iss");
4441
- for (const y of new Set(u.reverse()))
4442
- if (!(y in n))
4443
- throw new ie(`missing required "${y}" claim`, n, y, "missing");
4439
+ for (const m of new Set(u.reverse()))
4440
+ if (!(m in n))
4441
+ throw new ie(`missing required "${m}" claim`, n, m, "missing");
4444
4442
  if (o && !(Array.isArray(o) ? o : [o]).includes(n.iss))
4445
4443
  throw new ie('unexpected "iss" claim value', n, "iss", "check_failed");
4446
4444
  if (a && n.sub !== a)
@@ -4450,7 +4448,7 @@ function sc(e, t, r = {}) {
4450
4448
  let l;
4451
4449
  switch (typeof r.clockTolerance) {
4452
4450
  case "string":
4453
- l = yn(r.clockTolerance);
4451
+ l = mn(r.clockTolerance);
4454
4452
  break;
4455
4453
  case "number":
4456
4454
  l = r.clockTolerance;
@@ -4477,10 +4475,10 @@ function sc(e, t, r = {}) {
4477
4475
  throw new hn('"exp" claim timestamp check failed', n, "exp", "check_failed");
4478
4476
  }
4479
4477
  if (d) {
4480
- const y = f - n.iat, p = typeof d == "number" ? d : yn(d);
4481
- if (y - l > p)
4478
+ const m = f - n.iat, p = typeof d == "number" ? d : mn(d);
4479
+ if (m - l > p)
4482
4480
  throw new hn('"iat" claim timestamp check failed (too far in the past)', n, "iat", "check_failed");
4483
- if (y < 0 - l)
4481
+ if (m < 0 - l)
4484
4482
  throw new ie('"iat" claim timestamp check failed (it should be in the past)', n, "iat", "check_failed");
4485
4483
  }
4486
4484
  return n;
@@ -4504,25 +4502,25 @@ function ac(e) {
4504
4502
  throw new ue("JWTs must contain a payload");
4505
4503
  let n;
4506
4504
  try {
4507
- n = ze(t);
4505
+ n = Je(t);
4508
4506
  } catch {
4509
4507
  throw new ue("Failed to base64url decode the payload");
4510
4508
  }
4511
4509
  let s;
4512
4510
  try {
4513
- s = JSON.parse(Ke.decode(n));
4511
+ s = JSON.parse(He.decode(n));
4514
4512
  } catch {
4515
4513
  throw new ue("Failed to parse the decoded payload as JSON");
4516
4514
  }
4517
- if (!at(s))
4515
+ if (!it(s))
4518
4516
  throw new ue("Invalid JWT Claims Set");
4519
4517
  return s;
4520
4518
  }
4521
- const He = async (e) => {
4519
+ const at = async (e) => {
4522
4520
  try {
4523
- const t = M.ALG, r = await Mo(go, t);
4521
+ const t = W.ALG, r = await Mo(go, t);
4524
4522
  return await ic(e, r, {
4525
- issuer: M.ISSUER
4523
+ issuer: W.ISSUER
4526
4524
  });
4527
4525
  } catch {
4528
4526
  return;
@@ -4533,11 +4531,11 @@ const He = async (e) => {
4533
4531
  } catch {
4534
4532
  return;
4535
4533
  }
4536
- }, G = [];
4534
+ }, B = [];
4537
4535
  for (let e = 0; e < 256; ++e)
4538
- G.push((e + 256).toString(16).slice(1));
4536
+ B.push((e + 256).toString(16).slice(1));
4539
4537
  function cc(e, t = 0) {
4540
- 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();
4538
+ return (B[e[t + 0]] + B[e[t + 1]] + B[e[t + 2]] + B[e[t + 3]] + "-" + B[e[t + 4]] + B[e[t + 5]] + "-" + B[e[t + 6]] + B[e[t + 7]] + "-" + B[e[t + 8]] + B[e[t + 9]] + "-" + B[e[t + 10]] + B[e[t + 11]] + B[e[t + 12]] + B[e[t + 13]] + B[e[t + 14]] + B[e[t + 15]]).toLowerCase();
4541
4539
  }
4542
4540
  let er;
4543
4541
  const lc = new Uint8Array(16);
@@ -4562,7 +4560,7 @@ function gn(e, t, r) {
4562
4560
  const bn = globalThis.crypto, hc = (e) => `${gn()}${gn()}`.slice(0, e), fc = (e) => btoa(
4563
4561
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
4564
4562
  );
4565
- async function yc(e) {
4563
+ async function mc(e) {
4566
4564
  if (!bn.subtle)
4567
4565
  throw new Error(
4568
4566
  "crypto.subtle is available only in secure contexts (HTTPS)."
@@ -4570,28 +4568,14 @@ async function yc(e) {
4570
4568
  const t = new TextEncoder().encode(e), r = await bn.subtle.digest("SHA-256", t);
4571
4569
  return fc(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4572
4570
  }
4573
- async function mc(e) {
4574
- const r = hc(43), n = await yc(r);
4571
+ async function yc(e) {
4572
+ const r = hc(43), n = await mc(r);
4575
4573
  return {
4576
4574
  code_verifier: r,
4577
4575
  code_challenge: n
4578
4576
  };
4579
4577
  }
4580
- const vd = async (e, t) => {
4581
- const r = await He(e);
4582
- if (!r || !r.payload)
4583
- return !1;
4584
- let n = [];
4585
- if (Array.isArray(r.payload[M.SCOPES_KEY]))
4586
- n = r.payload[M.SCOPES_KEY];
4587
- else if (typeof r.payload[M.SCOPE_KEY] == "string")
4588
- n = r.payload[M.SCOPE_KEY].split(" ").filter((s) => s.trim() !== "");
4589
- else
4590
- return !1;
4591
- return Array.isArray(t) ? t.every((s) => n.includes(s)) : Object.keys(t).some(
4592
- (s) => t[s].every((i) => n.includes(i))
4593
- );
4594
- }, ks = xr(null);
4578
+ const ks = xr(null);
4595
4579
  var pc = Object.defineProperty, gc = (e, t, r) => t in e ? pc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tr = (e, t, r) => gc(e, typeof t != "symbol" ? t + "" : t, r);
4596
4580
  /*!
4597
4581
  @versini/auth-provider v8.0.5
@@ -4619,7 +4603,7 @@ function Mt(e) {
4619
4603
  o[a] = s.charCodeAt(a);
4620
4604
  return i;
4621
4605
  }
4622
- function Kr() {
4606
+ function Hr() {
4623
4607
  return bc.stubThis(globalThis?.PublicKeyCredential !== void 0 && typeof globalThis.PublicKeyCredential == "function");
4624
4608
  }
4625
4609
  const bc = {
@@ -4644,7 +4628,7 @@ function Cs(e) {
4644
4628
  e === "localhost" || /^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)
4645
4629
  );
4646
4630
  }
4647
- let j = class extends Error {
4631
+ let q = class extends Error {
4648
4632
  constructor({ message: t, code: r, cause: n, name: s }) {
4649
4633
  super(t, { cause: n }), Object.defineProperty(this, "code", {
4650
4634
  enumerable: !0,
@@ -4660,14 +4644,14 @@ function wc({ error: e, options: t }) {
4660
4644
  throw Error("options was missing required publicKey property");
4661
4645
  if (e.name === "AbortError") {
4662
4646
  if (t.signal instanceof AbortSignal)
4663
- return new j({
4647
+ return new q({
4664
4648
  message: "Registration ceremony was sent an abort signal",
4665
4649
  code: "ERROR_CEREMONY_ABORTED",
4666
4650
  cause: e
4667
4651
  });
4668
4652
  } else if (e.name === "ConstraintError") {
4669
4653
  if (r.authenticatorSelection?.requireResidentKey === !0)
4670
- return new j({
4654
+ return new q({
4671
4655
  message: "Discoverable credentials were required but no available authenticator supported it",
4672
4656
  code: "ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",
4673
4657
  cause: e
@@ -4676,36 +4660,36 @@ function wc({ error: e, options: t }) {
4676
4660
  // @ts-ignore: `mediation` doesn't yet exist on CredentialCreationOptions but it's possible as of Sept 2024
4677
4661
  t.mediation === "conditional" && r.authenticatorSelection?.userVerification === "required"
4678
4662
  )
4679
- return new j({
4663
+ return new q({
4680
4664
  message: "User verification was required during automatic registration but it could not be performed",
4681
4665
  code: "ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",
4682
4666
  cause: e
4683
4667
  });
4684
4668
  if (r.authenticatorSelection?.userVerification === "required")
4685
- return new j({
4669
+ return new q({
4686
4670
  message: "User verification was required but no available authenticator supported it",
4687
4671
  code: "ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",
4688
4672
  cause: e
4689
4673
  });
4690
4674
  } else {
4691
4675
  if (e.name === "InvalidStateError")
4692
- return new j({
4676
+ return new q({
4693
4677
  message: "The authenticator was previously registered",
4694
4678
  code: "ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",
4695
4679
  cause: e
4696
4680
  });
4697
4681
  if (e.name === "NotAllowedError")
4698
- return new j({
4682
+ return new q({
4699
4683
  message: e.message,
4700
4684
  code: "ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",
4701
4685
  cause: e
4702
4686
  });
4703
4687
  if (e.name === "NotSupportedError")
4704
- return r.pubKeyCredParams.filter((n) => n.type === "public-key").length === 0 ? new j({
4688
+ return r.pubKeyCredParams.filter((n) => n.type === "public-key").length === 0 ? new q({
4705
4689
  message: 'No entry in pubKeyCredParams was of type "public-key"',
4706
4690
  code: "ERROR_MALFORMED_PUBKEYCREDPARAMS",
4707
4691
  cause: e
4708
- }) : new j({
4692
+ }) : new q({
4709
4693
  message: "No available authenticator supported any of the specified pubKeyCredParams algorithms",
4710
4694
  code: "ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",
4711
4695
  cause: e
@@ -4714,25 +4698,25 @@ function wc({ error: e, options: t }) {
4714
4698
  const n = globalThis.location.hostname;
4715
4699
  if (Cs(n)) {
4716
4700
  if (r.rp.id !== n)
4717
- return new j({
4701
+ return new q({
4718
4702
  message: `The RP ID "${r.rp.id}" is invalid for this domain`,
4719
4703
  code: "ERROR_INVALID_RP_ID",
4720
4704
  cause: e
4721
4705
  });
4722
- } else return new j({
4706
+ } else return new q({
4723
4707
  message: `${globalThis.location.hostname} is an invalid domain`,
4724
4708
  code: "ERROR_INVALID_DOMAIN",
4725
4709
  cause: e
4726
4710
  });
4727
4711
  } else if (e.name === "TypeError") {
4728
4712
  if (r.user.id.byteLength < 1 || r.user.id.byteLength > 64)
4729
- return new j({
4713
+ return new q({
4730
4714
  message: "User ID was not between 1 and 64 characters",
4731
4715
  code: "ERROR_INVALID_USER_ID_LENGTH",
4732
4716
  cause: e
4733
4717
  });
4734
4718
  } else if (e.name === "UnknownError")
4735
- return new j({
4719
+ return new q({
4736
4720
  message: "The authenticator was unable to process the specified options, or could not create a new credential",
4737
4721
  code: "ERROR_AUTHENTICATOR_GENERAL_ERROR",
4738
4722
  cause: e
@@ -4772,7 +4756,7 @@ function Os(e) {
4772
4756
  async function Sc(e) {
4773
4757
  !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 });
4774
4758
  const { optionsJSON: t, useAutoRegister: r = !1 } = e;
4775
- if (!Kr())
4759
+ if (!Hr())
4776
4760
  throw new Error("WebAuthn is not supported in this browser");
4777
4761
  const n = {
4778
4762
  ...t,
@@ -4787,8 +4771,8 @@ async function Sc(e) {
4787
4771
  let i;
4788
4772
  try {
4789
4773
  i = await navigator.credentials.create(s);
4790
- } catch (y) {
4791
- throw wc({ error: y, options: s });
4774
+ } catch (m) {
4775
+ throw wc({ error: m, options: s });
4792
4776
  }
4793
4777
  if (!i)
4794
4778
  throw new Error("Registration was not completed");
@@ -4799,23 +4783,23 @@ async function Sc(e) {
4799
4783
  if (typeof c.getPublicKeyAlgorithm == "function")
4800
4784
  try {
4801
4785
  l = c.getPublicKeyAlgorithm();
4802
- } catch (y) {
4803
- rr("getPublicKeyAlgorithm()", y);
4786
+ } catch (m) {
4787
+ rr("getPublicKeyAlgorithm()", m);
4804
4788
  }
4805
4789
  let h;
4806
4790
  if (typeof c.getPublicKey == "function")
4807
4791
  try {
4808
- const y = c.getPublicKey();
4809
- y !== null && (h = oe(y));
4810
- } catch (y) {
4811
- rr("getPublicKey()", y);
4792
+ const m = c.getPublicKey();
4793
+ m !== null && (h = oe(m));
4794
+ } catch (m) {
4795
+ rr("getPublicKey()", m);
4812
4796
  }
4813
4797
  let f;
4814
4798
  if (typeof c.getAuthenticatorData == "function")
4815
4799
  try {
4816
4800
  f = oe(c.getAuthenticatorData());
4817
- } catch (y) {
4818
- rr("getAuthenticatorData()", y);
4801
+ } catch (m) {
4802
+ rr("getAuthenticatorData()", m);
4819
4803
  }
4820
4804
  return {
4821
4805
  id: o,
@@ -4838,7 +4822,7 @@ function rr(e, t) {
4838
4822
  `, t);
4839
4823
  }
4840
4824
  function Tc() {
4841
- if (!Kr())
4825
+ if (!Hr())
4842
4826
  return nr.stubThis(new Promise((t) => t(!1)));
4843
4827
  const e = globalThis.PublicKeyCredential;
4844
4828
  return e?.isConditionalMediationAvailable === void 0 ? nr.stubThis(new Promise((t) => t(!1))) : nr.stubThis(e.isConditionalMediationAvailable());
@@ -4852,14 +4836,14 @@ function Ac({ error: e, options: t }) {
4852
4836
  throw Error("options was missing required publicKey property");
4853
4837
  if (e.name === "AbortError") {
4854
4838
  if (t.signal instanceof AbortSignal)
4855
- return new j({
4839
+ return new q({
4856
4840
  message: "Authentication ceremony was sent an abort signal",
4857
4841
  code: "ERROR_CEREMONY_ABORTED",
4858
4842
  cause: e
4859
4843
  });
4860
4844
  } else {
4861
4845
  if (e.name === "NotAllowedError")
4862
- return new j({
4846
+ return new q({
4863
4847
  message: e.message,
4864
4848
  code: "ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",
4865
4849
  cause: e
@@ -4868,18 +4852,18 @@ function Ac({ error: e, options: t }) {
4868
4852
  const n = globalThis.location.hostname;
4869
4853
  if (Cs(n)) {
4870
4854
  if (r.rpId !== n)
4871
- return new j({
4855
+ return new q({
4872
4856
  message: `The RP ID "${r.rpId}" is invalid for this domain`,
4873
4857
  code: "ERROR_INVALID_RP_ID",
4874
4858
  cause: e
4875
4859
  });
4876
- } else return new j({
4860
+ } else return new q({
4877
4861
  message: `${globalThis.location.hostname} is an invalid domain`,
4878
4862
  code: "ERROR_INVALID_DOMAIN",
4879
4863
  cause: e
4880
4864
  });
4881
4865
  } else if (e.name === "UnknownError")
4882
- return new j({
4866
+ return new q({
4883
4867
  message: "The authenticator was unable to process the specified options, or could not create a new assertion signature",
4884
4868
  code: "ERROR_AUTHENTICATOR_GENERAL_ERROR",
4885
4869
  cause: e
@@ -4890,7 +4874,7 @@ function Ac({ error: e, options: t }) {
4890
4874
  async function Ic(e) {
4891
4875
  !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 });
4892
4876
  const { optionsJSON: t, useBrowserAutofill: r = !1, verifyBrowserAutofillInput: n = !0 } = e;
4893
- if (!Kr())
4877
+ if (!Hr())
4894
4878
  throw new Error("WebAuthn is not supported in this browser");
4895
4879
  let s;
4896
4880
  t.allowCredentials?.length !== 0 && (s = t.allowCredentials?.map(Rs));
@@ -4969,11 +4953,11 @@ function pt({
4969
4953
  }
4970
4954
  }, [e, t]), [r ? JSON.parse(r) : null, n, s, i];
4971
4955
  }
4972
- const V = [];
4956
+ const G = [];
4973
4957
  for (let e = 0; e < 256; ++e)
4974
- V.push((e + 256).toString(16).slice(1));
4958
+ G.push((e + 256).toString(16).slice(1));
4975
4959
  function Cc(e, t = 0) {
4976
- return (V[e[t + 0]] + V[e[t + 1]] + V[e[t + 2]] + V[e[t + 3]] + "-" + V[e[t + 4]] + V[e[t + 5]] + "-" + V[e[t + 6]] + V[e[t + 7]] + "-" + V[e[t + 8]] + V[e[t + 9]] + "-" + V[e[t + 10]] + V[e[t + 11]] + V[e[t + 12]] + V[e[t + 13]] + V[e[t + 14]] + V[e[t + 15]]).toLowerCase();
4960
+ 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();
4977
4961
  }
4978
4962
  let sr;
4979
4963
  const _c = new Uint8Array(16);
@@ -4995,7 +4979,7 @@ function ir(e, t, r) {
4995
4979
  throw new Error("Random bytes length must be >= 16");
4996
4980
  return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Cc(n);
4997
4981
  }
4998
- const Pe = "Your session has expired. For your security, please log in again to continue.", Pc = "Your session has been successfully terminated.", ar = "Login failed. Please try again.", xc = "Error getting access token, please re-authenticate.", $c = "You forgot to wrap your component in <AuthProvider>.", gt = "@@auth@@", je = "LOADING", Tt = "LOGIN", Ps = "LOGOUT", ct = "success", le = "failure", xs = "include", $s = "POST", Ds = "application/json", bt = {
4982
+ const Pe = "Your session has expired. For your security, please log in again to continue.", Pc = "Your session has been successfully terminated.", ar = "Login failed. Please try again.", xc = "Error getting access token, please re-authenticate.", $c = "You forgot to wrap your component in <AuthProvider>.", gt = "@@auth@@", qe = "LOADING", Tt = "LOGIN", Ps = "LOGOUT", ct = "success", le = "failure", xs = "include", $s = "POST", Ds = "application/json", bt = {
4999
4983
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
5000
4984
  $clientId: String!,
5001
4985
  $username: String!,
@@ -5160,7 +5144,7 @@ const Pe = "Your session has expired. For your security, please log in again to
5160
5144
  }, Mc = (e) => {
5161
5145
  try {
5162
5146
  const t = oc(e);
5163
- return t ? t[M.USER_ID_KEY] : "";
5147
+ return t ? t[W.USER_ID_KEY] : "";
5164
5148
  } catch {
5165
5149
  return "";
5166
5150
  }
@@ -5218,13 +5202,13 @@ const Pe = "Your session has expired. For your security, please log in again to
5218
5202
  domain: c,
5219
5203
  ua: d
5220
5204
  }
5221
- }), h = await He(l?.data?.idToken);
5222
- return h && h.payload[M.USER_ID_KEY] !== "" && h.payload[M.NONCE_KEY] === n ? {
5205
+ }), h = await at(l?.data?.idToken);
5206
+ return h && h.payload[W.USER_ID_KEY] !== "" && h.payload[W.NONCE_KEY] === n ? {
5223
5207
  idToken: l.data.idToken,
5224
5208
  accessToken: l.data.accessToken,
5225
5209
  refreshToken: l.data.refreshToken,
5226
- userId: h.payload[M.USER_ID_KEY],
5227
- email: h.payload[M.EMAIL_KEY],
5210
+ userId: h.payload[W.USER_ID_KEY],
5211
+ email: h.payload[W.EMAIL_KEY],
5228
5212
  status: !0
5229
5213
  } : {
5230
5214
  status: !1
@@ -5234,7 +5218,7 @@ const Pe = "Your session has expired. For your security, please log in again to
5234
5218
  status: !1
5235
5219
  };
5236
5220
  }
5237
- }, Kc = async ({
5221
+ }, Hc = async ({
5238
5222
  nonce: e,
5239
5223
  clientId: t,
5240
5224
  code_challenge: r,
@@ -5246,7 +5230,7 @@ const Pe = "Your session has expired. For your security, please log in again to
5246
5230
  type: qt.CODE,
5247
5231
  clientId: t,
5248
5232
  params: {
5249
- type: Je.CODE,
5233
+ type: Qe.CODE,
5250
5234
  nonce: e,
5251
5235
  code_challenge: r
5252
5236
  }
@@ -5264,7 +5248,7 @@ const Pe = "Your session has expired. For your security, please log in again to
5264
5248
  data: ""
5265
5249
  };
5266
5250
  }
5267
- }, Hc = async ({
5251
+ }, Kc = async ({
5268
5252
  clientId: e,
5269
5253
  userId: t,
5270
5254
  nonce: r,
@@ -5279,18 +5263,18 @@ const Pe = "Your session has expired. For your security, please log in again to
5279
5263
  type: qt.REFRESH,
5280
5264
  clientId: e,
5281
5265
  params: {
5282
- type: Je.REFRESH_TOKEN,
5266
+ type: Qe.REFRESH_TOKEN,
5283
5267
  userId: t,
5284
5268
  nonce: r,
5285
5269
  refreshToken: n,
5286
5270
  accessToken: s,
5287
5271
  domain: i
5288
5272
  }
5289
- }), c = await He(a?.data?.accessToken);
5290
- return c && c.payload[M.USER_ID_KEY] !== "" && c.payload[M.NONCE_KEY] === r ? {
5273
+ }), c = await at(a?.data?.accessToken);
5274
+ return c && c.payload[W.USER_ID_KEY] !== "" && c.payload[W.NONCE_KEY] === r ? {
5291
5275
  accessToken: a.data.accessToken,
5292
5276
  refreshToken: a.data.refreshToken,
5293
- userId: c.payload[M.USER_ID_KEY],
5277
+ userId: c.payload[W.USER_ID_KEY],
5294
5278
  status: !0
5295
5279
  } : {
5296
5280
  status: !1
@@ -5332,9 +5316,9 @@ class Bc {
5332
5316
  nonce: s,
5333
5317
  domain: i
5334
5318
  }) {
5335
- const o = await He(this.refreshToken);
5336
- if (o && o.payload[M.USER_ID_KEY] !== "") {
5337
- const a = await Hc({
5319
+ const o = await at(this.refreshToken);
5320
+ if (o && o.payload[W.USER_ID_KEY] !== "") {
5321
+ const a = await Kc({
5338
5322
  endpoint: t,
5339
5323
  clientId: r,
5340
5324
  userId: n,
@@ -5370,17 +5354,17 @@ const De = () => {
5370
5354
  logoutReason: "",
5371
5355
  authenticationType: ""
5372
5356
  }), Gc = () => ({
5373
- ...Ht(Ms)
5357
+ ...Kt(Ms)
5374
5358
  }), Vc = (e) => ne(
5375
5359
  (...t) => {
5376
5360
  e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
5377
5361
  },
5378
5362
  [e]
5379
- ), qc = me.createContext({
5363
+ ), qc = ye.createContext({
5380
5364
  state: Ls,
5381
5365
  dispatch: () => {
5382
5366
  }
5383
- }), jc = (e, t) => t?.type === je ? {
5367
+ }), jc = (e, t) => t?.type === qe ? {
5384
5368
  ...e,
5385
5369
  isLoading: t.payload.isLoading
5386
5370
  } : t?.type === Tt ? {
@@ -5399,7 +5383,7 @@ const De = () => {
5399
5383
  logoutReason: t.payload.logoutReason
5400
5384
  } : e, Wc = ({ children: e }) => {
5401
5385
  const t = Gc();
5402
- return /* @__PURE__ */ m(ks.Provider, { value: t, children: e });
5386
+ return /* @__PURE__ */ y(ks.Provider, { value: t, children: e });
5403
5387
  }, Sn = ({
5404
5388
  children: e,
5405
5389
  sessionExpiration: t,
@@ -5413,7 +5397,7 @@ const De = () => {
5413
5397
  debug: s
5414
5398
  }), c = Vc(s), d = ee(!1), [u, l, , h] = pt({
5415
5399
  key: `${gt}::${r}::@@user@@`
5416
- }), [f, y, , p] = pt({
5400
+ }), [f, m, , p] = pt({
5417
5401
  key: `${gt}::${r}::@@access@@`
5418
5402
  }), [b, E, , A] = pt(
5419
5403
  {
@@ -5421,7 +5405,7 @@ const De = () => {
5421
5405
  }
5422
5406
  ), [v, I, , N] = pt({
5423
5407
  key: `${gt}::${r}::@@nonce@@`
5424
- }), B = new Bc(f, b), x = ne(() => {
5408
+ }), K = new Bc(f, b), x = ne(() => {
5425
5409
  c("removeLocalStorage: removing local storage"), h(), p(), A(), N();
5426
5410
  }, [
5427
5411
  p,
@@ -5439,7 +5423,7 @@ const De = () => {
5439
5423
  payload: {
5440
5424
  logoutReason: k || Pe
5441
5425
  }
5442
- }), x(), a({ type: je, payload: { isLoading: !1 } });
5426
+ }), x(), a({ type: qe, payload: { isLoading: !1 } });
5443
5427
  },
5444
5428
  [x, c]
5445
5429
  ), S = ne(
@@ -5470,15 +5454,15 @@ const De = () => {
5470
5454
  if (!d.current)
5471
5455
  return o.isLoading && u !== null ? (async () => {
5472
5456
  try {
5473
- const k = await He(u);
5474
- k && k.payload[M.USER_ID_KEY] !== "" ? (c("useEffect: setting the authentication state"), a({
5457
+ const k = await at(u);
5458
+ k && k.payload[W.USER_ID_KEY] !== "" ? (c("useEffect: setting the authentication state"), a({
5475
5459
  type: Tt,
5476
5460
  payload: {
5477
- authenticationType: k.payload[M.AUTH_TYPE_KEY],
5461
+ authenticationType: k.payload[W.AUTH_TYPE_KEY],
5478
5462
  user: {
5479
- userId: k.payload[M.USER_ID_KEY],
5480
- username: k.payload[M.USERNAME_KEY],
5481
- email: k.payload[M.EMAIL_KEY]
5463
+ userId: k.payload[W.USER_ID_KEY],
5464
+ username: k.payload[W.USERNAME_KEY],
5465
+ email: k.payload[W.EMAIL_KEY]
5482
5466
  }
5483
5467
  }
5484
5468
  })) : (c("useEffect: invalid JWT, invalidating and logging out"), await S(Pe));
@@ -5487,15 +5471,15 @@ const De = () => {
5487
5471
  "useEffect: exception validating JWT, invalidating and logging out"
5488
5472
  ), await S(Pe);
5489
5473
  }
5490
- })() : (c("useEffect: setting the loading state to false"), a({ type: je, payload: { isLoading: !1 } })), () => {
5474
+ })() : (c("useEffect: setting the loading state to false"), a({ type: qe, payload: { isLoading: !1 } })), () => {
5491
5475
  d.current = !0;
5492
5476
  };
5493
5477
  }, [o.isLoading, u, S, c]);
5494
5478
  const w = async (k, $) => {
5495
- a({ type: je, payload: { isLoading: !0 } }), x();
5479
+ a({ type: qe, payload: { isLoading: !0 } }), x();
5496
5480
  const R = ir();
5497
5481
  I(R), c("login: Logging in with password");
5498
- const { code_verifier: be, code_challenge: we } = await mc(), Qr = await Kc({
5482
+ const { code_verifier: be, code_challenge: we } = await yc(), Qr = await Hc({
5499
5483
  endpoint: i,
5500
5484
  nonce: R,
5501
5485
  clientId: r,
@@ -5509,16 +5493,16 @@ const De = () => {
5509
5493
  clientId: r,
5510
5494
  sessionExpiration: t,
5511
5495
  nonce: R,
5512
- type: Je.CODE,
5496
+ type: Qe.CODE,
5513
5497
  code: Qr.data,
5514
5498
  code_verifier: be,
5515
5499
  domain: n,
5516
5500
  ua: navigator.userAgent
5517
5501
  });
5518
- return _e.status ? (l(_e.idToken), y(_e.accessToken), E(_e.refreshToken), a({
5502
+ return _e.status ? (l(_e.idToken), m(_e.accessToken), E(_e.refreshToken), a({
5519
5503
  type: Tt,
5520
5504
  payload: {
5521
- authenticationType: Je.CODE,
5505
+ authenticationType: Qe.CODE,
5522
5506
  user: {
5523
5507
  userId: _e.userId,
5524
5508
  username: k,
@@ -5536,19 +5520,19 @@ const De = () => {
5536
5520
  if (k && $ && $.userId) {
5537
5521
  if (f) {
5538
5522
  c("getAccessToken");
5539
- const be = await He(f);
5540
- if (be && be.payload[M.USER_ID_KEY] !== "")
5523
+ const be = await at(f);
5524
+ if (be && be.payload[W.USER_ID_KEY] !== "")
5541
5525
  return f;
5542
5526
  }
5543
5527
  c("getAccessToken: invalid access token, trying to refresh it");
5544
- const R = await B.refreshtoken({
5528
+ const R = await K.refreshtoken({
5545
5529
  endpoint: i,
5546
5530
  clientId: r,
5547
5531
  userId: $.userId,
5548
5532
  nonce: v,
5549
5533
  domain: n
5550
5534
  });
5551
- return R.status && R.status === "success" && R.newAccessToken ? (y(R.newAccessToken), E(R.newRefreshToken), R.newAccessToken) : (c(
5535
+ return R.status && R.status === "success" && R.newAccessToken ? (m(R.newAccessToken), E(R.newRefreshToken), R.newAccessToken) : (c(
5552
5536
  "getAccessToken: invalid refresh token, need to re-authenticate"
5553
5537
  ), await S(Pe), "");
5554
5538
  }
@@ -5560,7 +5544,7 @@ const De = () => {
5560
5544
  "getAccessToken: exception occurred, invalidating and logging out"
5561
5545
  ), await S(xc), "";
5562
5546
  }
5563
- }, K = () => o.isAuthenticated && u ? u : "", ge = async () => {
5547
+ }, F = () => o.isAuthenticated && u ? u : "", ge = async () => {
5564
5548
  const { user: k } = o;
5565
5549
  let $ = await $e({
5566
5550
  endpoint: i,
@@ -5606,7 +5590,7 @@ const De = () => {
5606
5590
  }
5607
5591
  return !1;
5608
5592
  }, Ce = async () => {
5609
- a({ type: je, payload: { isLoading: !0 } }), x();
5593
+ a({ type: qe, payload: { isLoading: !0 } }), x();
5610
5594
  const k = ir();
5611
5595
  I(k), c("loginWithPasskey");
5612
5596
  const $ = ir();
@@ -5639,10 +5623,10 @@ const De = () => {
5639
5623
  sessionExpiration: t,
5640
5624
  ua: navigator.userAgent
5641
5625
  }
5642
- }), R.data.status === ct ? (l(R.data.idToken), y(R.data.accessToken), E(R.data.refreshToken), a({
5626
+ }), R.data.status === ct ? (l(R.data.idToken), m(R.data.accessToken), E(R.data.refreshToken), a({
5643
5627
  type: Tt,
5644
5628
  payload: {
5645
- authenticationType: Je.PASSKEY,
5629
+ authenticationType: Qe.PASSKEY,
5646
5630
  user: {
5647
5631
  userId: R.data.userId,
5648
5632
  username: R.data.username,
@@ -5668,7 +5652,7 @@ const De = () => {
5668
5652
  }
5669
5653
  return !1;
5670
5654
  };
5671
- return /* @__PURE__ */ m(qc.Provider, { value: { state: o, dispatch: a }, children: /* @__PURE__ */ m(
5655
+ return /* @__PURE__ */ y(qc.Provider, { value: { state: o, dispatch: a }, children: /* @__PURE__ */ y(
5672
5656
  Ms.Provider,
5673
5657
  {
5674
5658
  value: {
@@ -5676,11 +5660,11 @@ const De = () => {
5676
5660
  login: w,
5677
5661
  logout: O,
5678
5662
  getAccessToken: T,
5679
- getIdToken: K,
5663
+ getIdToken: F,
5680
5664
  registeringForPasskey: ge,
5681
5665
  loginWithPasskey: Ce
5682
5666
  },
5683
- children: /* @__PURE__ */ m(Wc, { children: e })
5667
+ children: /* @__PURE__ */ y(Wc, { children: e })
5684
5668
  }
5685
5669
  ) });
5686
5670
  };
@@ -5698,34 +5682,34 @@ try {
5698
5682
  } catch {
5699
5683
  }
5700
5684
  const Us = () => {
5701
- const e = Ht(ks);
5685
+ const e = Kt(ks);
5702
5686
  if (!e)
5703
5687
  throw new Error("useAuth must be used within an AuthHookProvider");
5704
5688
  return e;
5705
- }, Td = "I'm having trouble right now. Please try again later.", Ad = "action-search", Id = "action-sort", kd = "action-toggle-prompt", Rd = "action-reset-prompt", Fs = "sassy-saint-", Cd = "search", _d = "sort", Od = "sort-timestamp", Nd = "sort-token-usage", Pd = "private-disclosure", xd = "reasoning-disclosure", Ks = "service-worker", Tn = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", $d = 10, Dd = 30, Ld = "av-prompt", Md = "av-prompt-editable", Ud = "size-5 sm:size-4", Fd = 30, Kd = 15, Hd = 130, Bd = 16, Gd = 24, Vd = 76;
5689
+ }, vd = "I'm having trouble right now. Please try again later.", Sd = "action-search", Td = "action-sort", Ad = "action-toggle-prompt", Id = "action-reset-prompt", Fs = "sassy-saint-", kd = "search", Rd = "sort", Cd = "sort-timestamp", _d = "sort-token-usage", Od = "private-disclosure", Nd = "reasoning-disclosure", Hs = "service-worker", Tn = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Pd = 10, xd = 30, $d = "av-prompt", Dd = "av-prompt-editable", Ld = "size-5 sm:size-4", Md = 30, Ud = 15, Fd = 130, Hd = 16, Kd = 24, Bd = 76;
5706
5690
  let or = null, de = !1;
5707
5691
  typeof window < "u" && "serviceWorker" in navigator && navigator.serviceWorker.addEventListener("controllerchange", () => {
5708
5692
  de && (de = !1, window.location.reload());
5709
5693
  });
5710
- function Hr() {
5694
+ function Kr() {
5711
5695
  return "serviceWorker" in navigator;
5712
5696
  }
5713
5697
  function Or() {
5714
5698
  const e = localStorage.getItem(
5715
- Fs + Ks
5699
+ Fs + Hs
5716
5700
  );
5717
5701
  return e === null ? !1 : e === "true";
5718
5702
  }
5719
5703
  function Qc(e) {
5720
5704
  localStorage.setItem(
5721
- Fs + Ks,
5705
+ Fs + Hs,
5722
5706
  e.toString()
5723
5707
  );
5724
5708
  }
5725
- async function Hs() {
5709
+ async function Ks() {
5726
5710
  if (!Or())
5727
5711
  return !1;
5728
- if (!Hr())
5712
+ if (!Kr())
5729
5713
  return console.warn("[SW] Service workers not supported"), !1;
5730
5714
  try {
5731
5715
  return or = await navigator.serviceWorker.register("/sw.js", {
@@ -5743,7 +5727,7 @@ async function Hs() {
5743
5727
  }
5744
5728
  }
5745
5729
  async function Jc() {
5746
- if (!Hr())
5730
+ if (!Kr())
5747
5731
  return !1;
5748
5732
  try {
5749
5733
  const e = await navigator.serviceWorker.getRegistration();
@@ -5752,14 +5736,14 @@ async function Jc() {
5752
5736
  return console.error("[SW] Service worker un-registration failed:", e), !1;
5753
5737
  }
5754
5738
  }
5755
- async function qd(e) {
5739
+ async function Gd(e) {
5756
5740
  if (Qc(e), e) {
5757
5741
  de = !0;
5758
5742
  try {
5759
5743
  sessionStorage.setItem("sw-toggle-pending", "enabled");
5760
5744
  } catch {
5761
5745
  }
5762
- await Hs(), navigator.serviceWorker.controller && de && (de = !1, window.location.reload());
5746
+ await Ks(), navigator.serviceWorker.controller && de && (de = !1, window.location.reload());
5763
5747
  try {
5764
5748
  navigator.serviceWorker.ready.then(() => {
5765
5749
  de && Or() && (de = !1, window.location.reload());
@@ -5774,7 +5758,7 @@ async function qd(e) {
5774
5758
  } catch {
5775
5759
  }
5776
5760
  try {
5777
- Hr() && await zc();
5761
+ Kr() && await zc();
5778
5762
  } catch (t) {
5779
5763
  console.warn("[SW] Failed to invalidate cache:", t);
5780
5764
  }
@@ -5807,7 +5791,7 @@ async function zc() {
5807
5791
  function cr() {
5808
5792
  return "unknown";
5809
5793
  }
5810
- async function jd(e = {}) {
5794
+ async function Vd(e = {}) {
5811
5795
  const { urlLimitPerCache: t } = e;
5812
5796
  if (!("caches" in window))
5813
5797
  return { version: cr(), caches: [], totalItems: 0 };
@@ -5834,7 +5818,7 @@ async function jd(e = {}) {
5834
5818
  return console.warn("[SW] getCacheInfo failed:", r), { version: cr(), caches: [], totalItems: 0 };
5835
5819
  }
5836
5820
  }
5837
- const Wd = "user", Qd = "assistant", Jd = "data", Bs = "OpenAI", Yc = "Anthropic", Xc = "Google", Zc = "Perplexity", zd = Bs, el = "claude-sonnet-4", tl = "claude-3", rl = "gpt-", nl = "o3", sl = "o4", il = "gemini", al = "sonar", ol = {
5821
+ const qd = "user", jd = "assistant", Wd = "data", Bs = "OpenAI", Yc = "Anthropic", Xc = "Google", Zc = "Perplexity", Qd = Bs, el = "claude-sonnet-4", tl = "claude-3", rl = "gpt-", nl = "o3", sl = "o4", il = "gemini", al = "sonar", ol = {
5838
5822
  [Yc]: [
5839
5823
  el,
5840
5824
  tl
@@ -5846,27 +5830,29 @@ const Wd = "user", Qd = "assistant", Jd = "data", Bs = "OpenAI", Yc = "Anthropic
5846
5830
  ],
5847
5831
  [Xc]: [il],
5848
5832
  [Zc]: [al]
5849
- }, Yd = "x-callisto-chat-id", Xd = (e) => {
5833
+ }, Jd = "x-callisto-chat-id", zd = (e) => {
5850
5834
  for (const [t, r] of Object.entries(
5851
5835
  ol
5852
5836
  ))
5853
5837
  if (r.some((n) => e.startsWith(n)))
5854
5838
  return t;
5855
5839
  return null;
5856
- }, Zd = "timestamp", eh = "tokenUsage", L = "Callisto", cl = "sassy:advanced:reasoning", th = {
5857
- REASONING: cl
5858
- }, rh = {
5840
+ }, Yd = "timestamp", Xd = "tokenUsage", L = "Callisto", Zd = {
5859
5841
  TOOL: {
5860
5842
  MEMORIES: "getUserMemories"
5843
+ },
5844
+ ADDON: {
5845
+ ATTACHMENTS: "addon:attachments",
5846
+ REASONING: "addon:reasoning"
5861
5847
  }
5862
5848
  };
5863
- function ll(e) {
5849
+ function cl(e) {
5864
5850
  return e ? new Set(e) : null;
5865
5851
  }
5866
- function ul(e, t, r) {
5852
+ function ll(e, t, r) {
5867
5853
  if (!t || Array.isArray(t) && t.length === 0)
5868
5854
  return !0;
5869
- const n = e instanceof Set ? e : ll(e);
5855
+ const n = e instanceof Set ? e : cl(e);
5870
5856
  return !n || n.size === 0 ? !1 : typeof t == "string" ? n.has(t) : r?.any === !0 ? t.some((s) => n.has(s)) : t.every((s) => n.has(s));
5871
5857
  }
5872
5858
  const re = {
@@ -6057,12 +6043,12 @@ const re = {
6057
6043
  schema: re.GET_USAGE,
6058
6044
  method: "usage"
6059
6045
  }
6060
- }, dl = process.env.PUBLIC_SASSY_API_SERVER_URL, Ut = async ({
6046
+ }, ul = process.env.PUBLIC_SASSY_API_SERVER_URL, Ut = async ({
6061
6047
  query: e,
6062
6048
  data: t,
6063
6049
  headers: r = {},
6064
6050
  ...n
6065
- }) => await fetch(`${dl}/graphql`, {
6051
+ }) => await fetch(`${ul}/graphql`, {
6066
6052
  method: "POST",
6067
6053
  credentials: "include",
6068
6054
  headers: {
@@ -6075,7 +6061,7 @@ const re = {
6075
6061
  variables: t
6076
6062
  }),
6077
6063
  ...n
6078
- }), hl = async (e) => {
6064
+ }), dl = async (e) => {
6079
6065
  const t = e.type?.data ? e.type.data(e.params) : e.params;
6080
6066
  try {
6081
6067
  let r;
@@ -6105,13 +6091,13 @@ const re = {
6105
6091
  } catch (r) {
6106
6092
  return console.error(r), { status: 500, data: [] };
6107
6093
  }
6108
- }, nh = async ({
6094
+ }, eh = async ({
6109
6095
  provider: e,
6110
6096
  accessToken: t,
6111
6097
  username: r
6112
6098
  }) => {
6113
6099
  try {
6114
- await hl({
6100
+ await dl({
6115
6101
  accessToken: t,
6116
6102
  type: Re.SET_USER_PREFERENCES,
6117
6103
  params: {
@@ -6121,65 +6107,65 @@ const re = {
6121
6107
  });
6122
6108
  } catch {
6123
6109
  }
6124
- }, Ve = {
6110
+ }, Ge = {
6125
6111
  CHATS: "chats",
6126
6112
  CHATS_STATS: "chatsStats",
6127
6113
  CAPABILITIES: "capabilities",
6128
6114
  CHANGELOGS: "changelogs",
6129
6115
  PREFERENCES: "preferences",
6130
6116
  USAGE: "usage"
6131
- }, sh = () => Be({
6132
- queryKey: [Ve.CAPABILITIES],
6133
- queryFn: async () => await qe({
6117
+ }, th = () => Ke({
6118
+ queryKey: [Ge.CAPABILITIES],
6119
+ queryFn: async () => await Ve({
6134
6120
  type: Re.GET_SERVER_CAPABILITIES,
6135
6121
  noAuth: !0
6136
6122
  })
6137
- }), ih = () => Be({
6138
- queryKey: [Ve.CHANGELOGS],
6139
- queryFn: async () => await qe({
6123
+ }), rh = () => Ke({
6124
+ queryKey: [Ge.CHANGELOGS],
6125
+ queryFn: async () => await Ve({
6140
6126
  type: Re.GET_CHANGELOGS,
6141
6127
  noAuth: !0,
6142
6128
  params: {
6143
6129
  client: !0
6144
6130
  }
6145
6131
  })
6146
- }), fl = ({
6132
+ }), hl = ({
6147
6133
  user: e,
6148
6134
  getAccessToken: t
6149
- }) => Be({
6150
- queryKey: [Ve.PREFERENCES, e],
6151
- queryFn: async () => await qe({
6135
+ }) => Ke({
6136
+ queryKey: [Ge.PREFERENCES, e],
6137
+ queryFn: async () => await Ve({
6152
6138
  params: {
6153
6139
  user: e
6154
6140
  },
6155
6141
  type: Re.GET_USER_PREFERENCES,
6156
6142
  getAccessToken: t
6157
6143
  })
6158
- }), ah = ({
6144
+ }), nh = ({
6159
6145
  user: e,
6160
6146
  getAccessToken: t
6161
- }) => Be({
6162
- queryKey: [Ve.CHATS_STATS, e],
6163
- queryFn: async () => await qe({
6147
+ }) => Ke({
6148
+ queryKey: [Ge.CHATS_STATS, e],
6149
+ queryFn: async () => await Ve({
6164
6150
  params: {
6165
6151
  user: e
6166
6152
  },
6167
6153
  type: Re.GET_CHATS_STATS,
6168
6154
  getAccessToken: t
6169
6155
  })
6170
- }), oh = ({
6156
+ }), sh = ({
6171
6157
  user: e,
6172
6158
  searchString: t,
6173
6159
  sortDirection: r,
6174
6160
  sortedCell: n,
6175
6161
  getAccessToken: s,
6176
6162
  enabled: i = !0
6177
- }) => Be({
6163
+ }) => Ke({
6178
6164
  enabled: i,
6179
6165
  staleTime: 60 * 1e3,
6180
6166
  // 1 minute
6181
- queryKey: [Ve.CHATS, e, t, r, n],
6182
- queryFn: async () => await qe({
6167
+ queryKey: [Ge.CHATS, e, t, r, n],
6168
+ queryFn: async () => await Ve({
6183
6169
  params: {
6184
6170
  user: e,
6185
6171
  searchString: t,
@@ -6191,16 +6177,16 @@ const re = {
6191
6177
  type: Re.GET_CHATS,
6192
6178
  getAccessToken: s
6193
6179
  })
6194
- }), ch = ({
6180
+ }), ih = ({
6195
6181
  user: e,
6196
6182
  month: t,
6197
6183
  year: r = (/* @__PURE__ */ new Date()).getFullYear().toString(),
6198
6184
  getAccessToken: n,
6199
6185
  enabled: s = !0
6200
- }) => Be({
6186
+ }) => Ke({
6201
6187
  enabled: s,
6202
- queryKey: [Ve.USAGE, e, t, r],
6203
- queryFn: async () => await qe({
6188
+ queryKey: [Ge.USAGE, e, t, r],
6189
+ queryFn: async () => await Ve({
6204
6190
  params: {
6205
6191
  user: e,
6206
6192
  month: t,
@@ -6209,7 +6195,7 @@ const re = {
6209
6195
  type: Re.GET_USAGE,
6210
6196
  getAccessToken: n
6211
6197
  })
6212
- }), qe = async ({
6198
+ }), Ve = async ({
6213
6199
  params: e,
6214
6200
  type: t,
6215
6201
  noAuth: r,
@@ -6251,7 +6237,7 @@ const re = {
6251
6237
  capabilities: /* @__PURE__ */ new Set(),
6252
6238
  version: null,
6253
6239
  status: "idle"
6254
- }, yl = ({
6240
+ }, fl = ({
6255
6241
  user: e,
6256
6242
  getAccessToken: t,
6257
6243
  children: r
@@ -6280,7 +6266,7 @@ const re = {
6280
6266
  Z(() => {
6281
6267
  n.status === "idle" && o();
6282
6268
  }, [o, n.status]);
6283
- const a = fl({ user: e, getAccessToken: t });
6269
+ const a = hl({ user: e, getAccessToken: t });
6284
6270
  Z(() => {
6285
6271
  a.isLoading && n.status === "idle" && s((l) => ({ ...l, status: "loading" }));
6286
6272
  }, [a.isLoading, n.status]), Z(() => {
@@ -6336,16 +6322,16 @@ const re = {
6336
6322
  }, [i]), u = kt(
6337
6323
  () => ({
6338
6324
  ...n,
6339
- check: (l, h) => n.status !== "ready" ? !1 : ul(n.capabilities, l, { any: h?.any }),
6325
+ check: (l, h) => n.status !== "ready" ? !1 : ll(n.capabilities, l, { any: h?.any }),
6340
6326
  loadFromProfile: c,
6341
6327
  reset: d
6342
6328
  }),
6343
6329
  [n, c, d]
6344
6330
  );
6345
- return /* @__PURE__ */ m(Gs.Provider, { value: u, children: r });
6331
+ return /* @__PURE__ */ y(Gs.Provider, { value: u, children: r });
6346
6332
  };
6347
- function lh() {
6348
- const e = Ht(Gs);
6333
+ function ah() {
6334
+ const e = Kt(Gs);
6349
6335
  if (!e)
6350
6336
  throw new Error("useEntitlements must be used within EntitlementsProvider");
6351
6337
  return e;
@@ -6362,7 +6348,7 @@ function ml(e) {
6362
6348
  nanoseconds: Math.trunc(In(e * 1e6) % 1e3)
6363
6349
  };
6364
6350
  }
6365
- function pl(e) {
6351
+ function yl(e) {
6366
6352
  return {
6367
6353
  days: e / 86400000n,
6368
6354
  hours: e / 3600000n % 24n,
@@ -6373,7 +6359,7 @@ function pl(e) {
6373
6359
  nanoseconds: 0n
6374
6360
  };
6375
6361
  }
6376
- function gl(e) {
6362
+ function pl(e) {
6377
6363
  switch (typeof e) {
6378
6364
  case "number": {
6379
6365
  if (Number.isFinite(e))
@@ -6381,12 +6367,12 @@ function gl(e) {
6381
6367
  break;
6382
6368
  }
6383
6369
  case "bigint":
6384
- return pl(e);
6370
+ return yl(e);
6385
6371
  }
6386
6372
  throw new TypeError("Expected a finite number or bigint");
6387
6373
  }
6388
- const bl = (e) => e === 0 || e === 0n, wl = (e, t) => t === 1 || t === 1n ? e : `${e}s`, El = 1e-7, vl = 24n * 60n * 60n * 1000n;
6389
- function Sl(e, t) {
6374
+ const gl = (e) => e === 0 || e === 0n, bl = (e, t) => t === 1 || t === 1n ? e : `${e}s`, wl = 1e-7, El = 24n * 60n * 60n * 1000n;
6375
+ function vl(e, t) {
6390
6376
  const r = typeof e == "bigint";
6391
6377
  if (!r && !Number.isFinite(e))
6392
6378
  throw new TypeError("Expected a finite number or bigint");
@@ -6395,25 +6381,25 @@ function Sl(e, t) {
6395
6381
  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);
6396
6382
  let s = [];
6397
6383
  const i = (u, l) => {
6398
- const h = Math.floor(u * 10 ** l + El);
6384
+ const h = Math.floor(u * 10 ** l + wl);
6399
6385
  return (Math.round(h) / 10 ** l).toFixed(l);
6400
6386
  }, o = (u, l, h, f) => {
6401
- if (!((s.length === 0 || !t.colonNotation) && bl(u) && !(t.colonNotation && h === "m"))) {
6387
+ if (!((s.length === 0 || !t.colonNotation) && gl(u) && !(t.colonNotation && h === "m"))) {
6402
6388
  if (f ??= String(u), t.colonNotation) {
6403
- const y = f.includes(".") ? f.split(".")[0].length : f.length, p = s.length > 0 ? 2 : 1;
6404
- f = "0".repeat(Math.max(0, p - y)) + f;
6389
+ const m = f.includes(".") ? f.split(".")[0].length : f.length, p = s.length > 0 ? 2 : 1;
6390
+ f = "0".repeat(Math.max(0, p - m)) + f;
6405
6391
  } else
6406
- f += t.verbose ? " " + wl(l, u) : h;
6392
+ f += t.verbose ? " " + bl(l, u) : h;
6407
6393
  s.push(f);
6408
6394
  }
6409
- }, a = gl(e), c = BigInt(a.days);
6395
+ }, a = pl(e), c = BigInt(a.days);
6410
6396
  if (t.hideYearAndDays ? o(BigInt(c) * 24n + BigInt(a.hours), "hour", "h") : (t.hideYear ? o(c, "day", "d") : (o(c / 365n, "year", "y"), o(c % 365n, "day", "d")), o(Number(a.hours), "hour", "h")), o(Number(a.minutes), "minute", "m"), !t.hideSeconds)
6411
6397
  if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3) {
6412
6398
  const u = Number(a.seconds), l = Number(a.milliseconds), h = Number(a.microseconds), f = Number(a.nanoseconds);
6413
6399
  if (o(u, "second", "s"), t.formatSubMilliseconds)
6414
6400
  o(l, "millisecond", "ms"), o(h, "microsecond", "µs"), o(f, "nanosecond", "ns");
6415
6401
  else {
6416
- const y = l + h / 1e3 + f / 1e6, p = typeof t.millisecondsDecimalDigits == "number" ? t.millisecondsDecimalDigits : 0, b = y >= 1 ? Math.round(y) : Math.ceil(y), E = p ? y.toFixed(p) : b;
6402
+ const m = l + h / 1e3 + f / 1e6, p = typeof t.millisecondsDecimalDigits == "number" ? t.millisecondsDecimalDigits : 0, b = m >= 1 ? Math.round(m) : Math.ceil(m), E = p ? m.toFixed(p) : b;
6417
6403
  o(
6418
6404
  Number.parseFloat(E),
6419
6405
  "millisecond",
@@ -6422,7 +6408,7 @@ function Sl(e, t) {
6422
6408
  );
6423
6409
  }
6424
6410
  } else {
6425
- const u = (r ? Number(e % vl) : e) / 1e3 % 60, l = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, h = i(u, l), f = t.keepDecimalsOnWholeSeconds ? h : h.replace(/\.0+$/, "");
6411
+ const u = (r ? Number(e % El) : e) / 1e3 % 60, l = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, h = i(u, l), f = t.keepDecimalsOnWholeSeconds ? h : h.replace(/\.0+$/, "");
6426
6412
  o(Number.parseFloat(f), "second", "s", f);
6427
6413
  }
6428
6414
  if (s.length === 0)
@@ -6438,17 +6424,17 @@ const Vs = process.env.NODE_ENV === "production", Br = !Vs, qs = Br ? "gizmette.
6438
6424
  min: s,
6439
6425
  sec: i
6440
6426
  };
6441
- }, Tl = (e) => {
6427
+ }, Sl = (e) => {
6442
6428
  if (!e && e !== 0)
6443
6429
  return "N/A";
6444
6430
  const t = Gr(e, !1);
6445
6431
  return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
6446
- }, Al = (e) => {
6432
+ }, Tl = (e) => {
6447
6433
  if (!e && e !== 0)
6448
6434
  return "N/A";
6449
6435
  const t = Gr(e, !0);
6450
6436
  return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
6451
- }, Il = async () => {
6437
+ }, Al = async () => {
6452
6438
  const e = {
6453
6439
  /**
6454
6440
  * A boolean value that indicates the application would like to receive the
@@ -6491,19 +6477,19 @@ const Vs = process.env.NODE_ENV === "production", Br = !Vs, qs = Br ? "gizmette.
6491
6477
  e
6492
6478
  );
6493
6479
  });
6494
- }, kl = (e) => window.btoa(
6480
+ }, Il = (e) => window.btoa(
6495
6481
  encodeURIComponent(e).replace(
6496
6482
  /%([0-9A-F]{2})/g,
6497
6483
  function(r, n) {
6498
6484
  return String.fromCharCode(+`0x${n}`);
6499
6485
  }
6500
6486
  )
6501
- ), Rl = (e) => decodeURIComponent(
6487
+ ), kl = (e) => decodeURIComponent(
6502
6488
  window.atob(e).split("").map(function(t) {
6503
6489
  return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
6504
6490
  }).join("")
6505
- ), Cl = (e, t, r) => t ? Object.keys(t).map((n) => /* @__PURE__ */ m("dl", { className: "my-0", children: /* @__PURE__ */ Y("div", { className: "flex items-center justify-between", children: [
6506
- /* @__PURE__ */ m(
6491
+ ), Rl = (e, t, r) => t ? Object.keys(t).map((n) => /* @__PURE__ */ y("dl", { className: "my-0", children: /* @__PURE__ */ Y("div", { className: "flex items-center justify-between", children: [
6492
+ /* @__PURE__ */ y(
6507
6493
  "dt",
6508
6494
  {
6509
6495
  className: g(
@@ -6513,7 +6499,7 @@ const Vs = process.env.NODE_ENV === "production", Br = !Vs, qs = Br ? "gizmette.
6513
6499
  children: n
6514
6500
  }
6515
6501
  ),
6516
- /* @__PURE__ */ m(
6502
+ /* @__PURE__ */ y(
6517
6503
  "dd",
6518
6504
  {
6519
6505
  className: g(
@@ -6524,7 +6510,7 @@ const Vs = process.env.NODE_ENV === "production", Br = !Vs, qs = Br ? "gizmette.
6524
6510
  }
6525
6511
  )
6526
6512
  ] }) }, `${e}-${n}`)) : null;
6527
- function _l({
6513
+ function Cl({
6528
6514
  data: e,
6529
6515
  formatter: t = (r) => r
6530
6516
  }) {
@@ -6536,12 +6522,12 @@ function _l({
6536
6522
  );
6537
6523
  return t(n ? n / r.length : 0);
6538
6524
  }
6539
- const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Nl = new Intl.NumberFormat("en", {
6525
+ const _l = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Ol = new Intl.NumberFormat("en", {
6540
6526
  style: "decimal",
6541
6527
  signDisplay: "never",
6542
6528
  minimumFractionDigits: 0,
6543
6529
  maximumFractionDigits: 0
6544
- }), Pl = (e) => e > 0 ? Sl(e, {
6530
+ }), Nl = (e) => e > 0 ? vl(e, {
6545
6531
  secondsDecimalDigits: 2,
6546
6532
  unitCount: 2
6547
6533
  }) : "N/A", js = ({
@@ -6555,18 +6541,18 @@ const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
6555
6541
  t
6556
6542
  ), Ws = ({
6557
6543
  extraClass: e
6558
- } = {}) => g("px-2 sm:px-0", e), xl = (e, t) => t === 1 ? e : `${e}s`, $l = (e, t) => {
6544
+ } = {}) => g("px-2 sm:px-0", e), Pl = (e, t) => t === 1 ? e : `${e}s`, xl = (e, t) => {
6559
6545
  let r;
6560
6546
  return (...n) => {
6561
6547
  window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
6562
6548
  };
6563
- }, Qs = () => !!window?.__VERSINI_CALLISTO_TAURI__, Js = () => window.innerWidth < 403, Dl = () => {
6549
+ }, Qs = () => !!window?.__VERSINI_CALLISTO_TAURI__, Js = () => window.innerWidth < 403, $l = () => {
6564
6550
  const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = Js(), n = navigator.maxTouchPoints > 1;
6565
6551
  return e && t && r && n;
6566
- }, Ll = (e) => {
6552
+ }, Dl = (e) => {
6567
6553
  const t = e.replace(/([A-Z])/g, " $1");
6568
6554
  return t.charAt(0).toUpperCase() + t.slice(1);
6569
- }, Ml = ({
6555
+ }, Ll = ({
6570
6556
  autoClose: e = 3e3,
6571
6557
  containerId: t,
6572
6558
  position: r = "top-center",
@@ -6590,7 +6576,7 @@ const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
6590
6576
  theme: c,
6591
6577
  transition: d,
6592
6578
  icon: u
6593
- }), uh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: qs, convertCamelCaseToReadable: Ll, convertDDToDMS: Gr, convertLatitudeToDMS: Tl, convertLongitudeToDMS: Al, debounce: $l, durationFormatter: Pl, extractAverage: _l, getCurrentGeoLocation: Il, getMainPaddingClass: Ws, getMessageContaintWrapperClass: js, isDev: Br, isLastMessageFromRole: Ol, isProbablyMobile: Js, isProbablyiPhone: Dl, isProd: Vs, isTauri: Qs, numberFormatter: Nl, obfuscate: kl, pluralize: xl, renderDataAsList: Cl, toastOptions: Ml, unObfuscate: Rl }, Symbol.toStringTag, { value: "Module" })), kn = "av-button", Wt = "icon", Vr = "button", Nr = "link", Ul = ({
6579
+ }), oh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: qs, convertCamelCaseToReadable: Dl, convertDDToDMS: Gr, convertLatitudeToDMS: Sl, convertLongitudeToDMS: Tl, debounce: xl, durationFormatter: Nl, extractAverage: Cl, getCurrentGeoLocation: Al, getMainPaddingClass: Ws, getMessageContaintWrapperClass: js, isDev: Br, isLastMessageFromRole: _l, isProbablyMobile: Js, isProbablyiPhone: $l, isProd: Vs, isTauri: Qs, numberFormatter: Ol, obfuscate: Il, pluralize: Pl, renderDataAsList: Rl, toastOptions: Ll, unObfuscate: kl }, Symbol.toStringTag, { value: "Module" })), kn = "av-button", Wt = "icon", Vr = "button", Nr = "link", Ml = ({
6594
6580
  type: e,
6595
6581
  size: t,
6596
6582
  labelRight: r,
@@ -6626,7 +6612,7 @@ const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
6626
6612
  "h-12": t === "large" && i && (r || n)
6627
6613
  });
6628
6614
  }
6629
- }, Fl = ({
6615
+ }, Ul = ({
6630
6616
  type: e,
6631
6617
  size: t,
6632
6618
  labelRight: r,
@@ -6649,7 +6635,7 @@ const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
6649
6635
  [o]: t === "large" && (r || n)
6650
6636
  });
6651
6637
  }
6652
- }, Kl = ({
6638
+ }, Fl = ({
6653
6639
  mode: e,
6654
6640
  noBackground: t,
6655
6641
  truncate: r,
@@ -6715,13 +6701,13 @@ const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
6715
6701
  if (r === "selected")
6716
6702
  return "bg-action-selected-dark";
6717
6703
  }
6718
- }, Bl = ({
6704
+ }, Kl = ({
6719
6705
  radius: e
6720
6706
  }) => g({
6721
6707
  "rounded-full": e === "large",
6722
6708
  "rounded-md": e === "medium",
6723
6709
  "rounded-xs": e === "small"
6724
- }), Gl = ({
6710
+ }), Bl = ({
6725
6711
  mode: e,
6726
6712
  disabled: t,
6727
6713
  variant: r
@@ -6759,7 +6745,7 @@ const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
6759
6745
  });
6760
6746
  if (r === "selected")
6761
6747
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
6762
- }, Vl = ({
6748
+ }, Gl = ({
6763
6749
  mode: e,
6764
6750
  disabled: t,
6765
6751
  variant: r
@@ -6797,7 +6783,7 @@ const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
6797
6783
  });
6798
6784
  if (r === "selected")
6799
6785
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
6800
- }, ql = ({
6786
+ }, Vl = ({
6801
6787
  mode: e,
6802
6788
  noBorder: t,
6803
6789
  variant: r
@@ -6827,14 +6813,14 @@ const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
6827
6813
  });
6828
6814
  if (r === "selected")
6829
6815
  return "border border-border-selected-dark";
6830
- }, jl = ({
6816
+ }, ql = ({
6831
6817
  focusMode: e
6832
6818
  }) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
6833
6819
  "focus:outline-focus-dark": e === "dark",
6834
6820
  "focus:outline-focus-light": e === "light",
6835
6821
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
6836
6822
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
6837
- }), Wl = ({
6823
+ }), jl = ({
6838
6824
  mode: e,
6839
6825
  raw: t,
6840
6826
  iconClassName: r,
@@ -6861,7 +6847,7 @@ const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
6861
6847
  } : n === "selected" && (s = {
6862
6848
  "text-copy-lighter": !0
6863
6849
  }), g(s, r);
6864
- }, Ql = ({
6850
+ }, Wl = ({
6865
6851
  animated: e
6866
6852
  }) => g({
6867
6853
  "transition-opacity duration-300 ease-in-out": e
@@ -6880,32 +6866,32 @@ const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
6880
6866
  noBackground: l,
6881
6867
  variant: h,
6882
6868
  truncate: f,
6883
- align: y,
6869
+ align: m,
6884
6870
  radius: p,
6885
6871
  animated: b
6886
6872
  }) => (h || (h = "primary"), r ? g(kn, t) : g(
6887
6873
  kn,
6888
- Kl({
6874
+ Fl({
6889
6875
  mode: n,
6890
6876
  variant: h,
6891
6877
  noBackground: l,
6892
6878
  truncate: f
6893
6879
  }),
6894
6880
  Hl({ mode: n, noBackground: l, variant: h }),
6895
- Bl({ radius: p }),
6896
- Ul({
6881
+ Kl({ radius: p }),
6882
+ Ml({
6897
6883
  type: e,
6898
6884
  size: a,
6899
6885
  labelRight: d,
6900
6886
  labelLeft: u,
6901
- align: y,
6887
+ align: m,
6902
6888
  animated: b
6903
6889
  }),
6904
- Fl({ type: e, size: a, labelRight: d, labelLeft: u }),
6905
- ql({ mode: n, variant: h, noBorder: c }),
6906
- jl({ focusMode: s }),
6890
+ Ul({ type: e, size: a, labelRight: d, labelLeft: u }),
6891
+ Vl({ mode: n, variant: h, noBorder: c }),
6892
+ ql({ focusMode: s }),
6893
+ Bl({ mode: n, variant: h, disabled: i }),
6907
6894
  Gl({ mode: n, variant: h, disabled: i }),
6908
- Vl({ mode: n, variant: h, disabled: i }),
6909
6895
  {
6910
6896
  "w-full": o,
6911
6897
  "disabled:cursor-not-allowed disabled:opacity-50": i
@@ -6914,23 +6900,23 @@ const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
6914
6900
  "transition-[width] duration-300 ease-in": e === Wt && b
6915
6901
  }),
6916
6902
  t
6917
- )), Jl = (e, t, r) => {
6903
+ )), Ql = (e, t, r) => {
6918
6904
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
6919
- }, qr = me.forwardRef((e, t) => {
6905
+ }, qr = ye.forwardRef((e, t) => {
6920
6906
  const { onClick: r, noInternalClick: n = !1, ...s } = e;
6921
- return /* @__PURE__ */ m(
6907
+ return /* @__PURE__ */ y(
6922
6908
  "button",
6923
6909
  {
6924
6910
  ref: t,
6925
6911
  onClick: (i) => {
6926
- Jl(i, n, r);
6912
+ Ql(i, n, r);
6927
6913
  },
6928
6914
  ...s
6929
6915
  }
6930
6916
  );
6931
6917
  });
6932
6918
  qr.displayName = "BaseButton";
6933
- const Ys = me.forwardRef(
6919
+ const Ys = ye.forwardRef(
6934
6920
  ({
6935
6921
  children: e,
6936
6922
  disabled: t = !1,
@@ -6946,7 +6932,7 @@ const Ys = me.forwardRef(
6946
6932
  radius: l = "large",
6947
6933
  ...h
6948
6934
  }, f) => {
6949
- const y = zs({
6935
+ const m = zs({
6950
6936
  type: Vr,
6951
6937
  mode: r,
6952
6938
  focusMode: n,
@@ -6960,11 +6946,11 @@ const Ys = me.forwardRef(
6960
6946
  truncate: u,
6961
6947
  radius: l
6962
6948
  });
6963
- return /* @__PURE__ */ m(
6949
+ return /* @__PURE__ */ y(
6964
6950
  qr,
6965
6951
  {
6966
6952
  ref: f,
6967
- className: y,
6953
+ className: m,
6968
6954
  disabled: t,
6969
6955
  ...h,
6970
6956
  children: e
@@ -6973,7 +6959,7 @@ const Ys = me.forwardRef(
6973
6959
  }
6974
6960
  );
6975
6961
  Ys.displayName = "Button";
6976
- function zl() {
6962
+ function Jl() {
6977
6963
  const e = ee(!1);
6978
6964
  return Z(() => (e.current = !0, () => {
6979
6965
  e.current = !1;
@@ -6987,7 +6973,7 @@ function Xs(e) {
6987
6973
  });
6988
6974
  }, [...e]);
6989
6975
  }
6990
- const Yl = {
6976
+ const zl = {
6991
6977
  x: 0,
6992
6978
  y: 0,
6993
6979
  width: 0,
@@ -6998,7 +6984,7 @@ const Yl = {
6998
6984
  right: 0
6999
6985
  };
7000
6986
  function At(e) {
7001
- const t = zl(), r = ee(0), n = ee(null), [s, i] = fe(Yl), o = kt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
6987
+ const t = Jl(), r = ee(0), n = ee(null), [s, i] = fe(zl), o = kt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
7002
6988
  const c = a[0];
7003
6989
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
7004
6990
  n.current && t() && i(c.contentRect);
@@ -7026,14 +7012,14 @@ const wt = {
7026
7012
  // w-8
7027
7013
  large: 48
7028
7014
  // w-12
7029
- }, Xl = {
7015
+ }, Yl = {
7030
7016
  small: 16,
7031
7017
  // px-2 x 2
7032
7018
  medium: 24,
7033
7019
  // px-3 x 2
7034
7020
  large: 32
7035
7021
  // px-4 x 2
7036
- }, Zl = 2, eu = 300, Ft = me.forwardRef(
7022
+ }, Xl = 2, Zl = 300, Ft = ye.forwardRef(
7037
7023
  ({
7038
7024
  children: e,
7039
7025
  disabled: t = !1,
@@ -7049,7 +7035,7 @@ const wt = {
7049
7035
  size: l = "medium",
7050
7036
  labelRight: h,
7051
7037
  labelLeft: f,
7052
- noBackground: y = !1,
7038
+ noBackground: m = !1,
7053
7039
  align: p = "center",
7054
7040
  radius: b = "large",
7055
7041
  variant: E = "secondary",
@@ -7057,7 +7043,7 @@ const wt = {
7057
7043
  animated: v = !1,
7058
7044
  ...I
7059
7045
  }, N) => {
7060
- const B = zs({
7046
+ const K = zs({
7061
7047
  type: Wt,
7062
7048
  mode: r,
7063
7049
  focusMode: n,
@@ -7069,43 +7055,43 @@ const wt = {
7069
7055
  size: l,
7070
7056
  labelRight: h,
7071
7057
  labelLeft: f,
7072
- noBackground: y,
7058
+ noBackground: m,
7073
7059
  align: p,
7074
7060
  radius: b,
7075
7061
  variant: E,
7076
7062
  animated: v
7077
- }), x = Wl({ mode: r, raw: a, iconClassName: A, variant: E }), _ = Ql({ animated: v }), S = "flex items-center justify-center relative w-full h-full overflow-hidden", [w, O] = At(), [T, K] = At(), [ge, Ce] = At(), k = ee(0), $ = ee(null), R = ee(null), be = Xs([N, $]);
7063
+ }), x = jl({ mode: r, raw: a, iconClassName: A, variant: E }), _ = Wl({ animated: v }), S = "flex items-center justify-center relative w-full h-full overflow-hidden", [w, O] = At(), [T, F] = At(), [ge, Ce] = At(), k = ee(0), $ = ee(null), R = ee(null), be = Xs([N, $]);
7078
7064
  return Rt(() => {
7079
- ge && ge.current && v && (k.current = Ce.width + Xl[l] + (c ? 0 : Zl), $.current && !$.current.style.width && ($.current.style.width = `${wt[l]}px`));
7065
+ ge && ge.current && v && (k.current = Ce.width + Yl[l] + (c ? 0 : Xl), $.current && !$.current.style.width && ($.current.style.width = `${wt[l]}px`));
7080
7066
  }, [Ce, ge, l, c, v]), Rt(() => {
7081
7067
  if ($ && $.current && v) {
7082
7068
  let we = wt[l];
7083
- h && w && O.width > 0 ? we = O.width + k.current : f && T && K.width > 0 && (we = K.width + k.current), R.current && clearTimeout(R.current), we !== parseInt($.current.style.width || "0", 10) && (w.current && (w.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"), $.current.style.width = `${we}px`, we > wt[l] && (R.current = setTimeout(() => {
7069
+ h && w && O.width > 0 ? we = O.width + k.current : f && T && F.width > 0 && (we = F.width + k.current), R.current && clearTimeout(R.current), we !== parseInt($.current.style.width || "0", 10) && (w.current && (w.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"), $.current.style.width = `${we}px`, we > wt[l] && (R.current = setTimeout(() => {
7084
7070
  w.current && h && (w.current.style.opacity = "1"), T.current && f && (T.current.style.opacity = "1"), R.current = null;
7085
- }, eu * 0.8))), we === wt[l] && (w.current && (w.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"));
7071
+ }, Zl * 0.8))), we === wt[l] && (w.current && (w.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"));
7086
7072
  }
7087
7073
  }, [
7088
7074
  O,
7089
7075
  h,
7090
7076
  w,
7091
- K,
7077
+ F,
7092
7078
  f,
7093
7079
  T,
7094
7080
  l,
7095
7081
  v
7096
7082
  ]), Z(() => () => {
7097
7083
  R.current && clearTimeout(R.current);
7098
- }, []), /* @__PURE__ */ m(
7084
+ }, []), /* @__PURE__ */ y(
7099
7085
  qr,
7100
7086
  {
7101
7087
  ref: be,
7102
- className: B,
7088
+ className: K,
7103
7089
  disabled: t,
7104
7090
  type: o,
7105
7091
  "aria-label": d || u,
7106
7092
  ...I,
7107
7093
  children: /* @__PURE__ */ Y("div", { className: S, children: [
7108
- /* @__PURE__ */ m(
7094
+ /* @__PURE__ */ y(
7109
7095
  Rn,
7110
7096
  {
7111
7097
  label: f,
@@ -7115,8 +7101,8 @@ const wt = {
7115
7101
  initiallyHidden: v
7116
7102
  }
7117
7103
  ),
7118
- /* @__PURE__ */ m("span", { ref: ge, className: x, children: e }),
7119
- /* @__PURE__ */ m(
7104
+ /* @__PURE__ */ y("span", { ref: ge, className: x, children: e }),
7105
+ /* @__PURE__ */ y(
7120
7106
  Rn,
7121
7107
  {
7122
7108
  label: h,
@@ -7136,13 +7122,13 @@ const wt = {
7136
7122
  label: r,
7137
7123
  labelInnerClass: n,
7138
7124
  initiallyHidden: s = !1
7139
- }) => /* @__PURE__ */ m(
7125
+ }) => /* @__PURE__ */ y(
7140
7126
  "span",
7141
7127
  {
7142
7128
  ref: e,
7143
7129
  className: t,
7144
7130
  style: s ? { opacity: 0 } : void 0,
7145
- children: r && /* @__PURE__ */ m("span", { className: n, children: r })
7131
+ children: r && /* @__PURE__ */ y("span", { className: n, children: r })
7146
7132
  }
7147
7133
  );
7148
7134
  Ft.displayName = "ButtonIcon";
@@ -7159,7 +7145,7 @@ try {
7159
7145
  });
7160
7146
  } catch {
7161
7147
  }
7162
- const tu = me.forwardRef(
7148
+ const eu = ye.forwardRef(
7163
7149
  ({
7164
7150
  children: e,
7165
7151
  mode: t = "system",
@@ -7184,7 +7170,7 @@ const tu = me.forwardRef(
7184
7170
  "after:border-table-light dark:after:border-table-dark": t === "alt-system"
7185
7171
  }
7186
7172
  ) : "";
7187
- return /* @__PURE__ */ m("div", { className: o, children: /* @__PURE__ */ m(
7173
+ return /* @__PURE__ */ y("div", { className: o, children: /* @__PURE__ */ y(
7188
7174
  Ft,
7189
7175
  {
7190
7176
  className: r,
@@ -7199,8 +7185,8 @@ const tu = me.forwardRef(
7199
7185
  ) });
7200
7186
  }
7201
7187
  );
7202
- tu.displayName = "ButtonSort";
7203
- const It = "av-card", ru = ({
7188
+ eu.displayName = "ButtonSort";
7189
+ const It = "av-card", tu = ({
7204
7190
  className: e,
7205
7191
  headerClassName: t,
7206
7192
  bodyClassName: r,
@@ -7240,15 +7226,15 @@ const It = "av-card", ru = ({
7240
7226
  footer: u
7241
7227
  };
7242
7228
  };
7243
- function nu({
7229
+ function ru({
7244
7230
  id: e,
7245
7231
  content: t,
7246
7232
  userAriaLabelledby: r,
7247
7233
  className: n
7248
7234
  }) {
7249
- return typeof t == "string" ? /* @__PURE__ */ m("h2", { id: e, className: n, children: t }) : r ? /* @__PURE__ */ m("div", { className: n, children: t }) : t ? /* @__PURE__ */ m("div", { className: n, id: e, children: t }) : null;
7235
+ return typeof t == "string" ? /* @__PURE__ */ y("h2", { id: e, className: n, children: t }) : r ? /* @__PURE__ */ y("div", { className: n, children: t }) : t ? /* @__PURE__ */ y("div", { className: n, id: e, children: t }) : null;
7250
7236
  }
7251
- const su = ({
7237
+ const nu = ({
7252
7238
  header: e,
7253
7239
  headerClassName: t,
7254
7240
  footer: r,
@@ -7263,7 +7249,7 @@ const su = ({
7263
7249
  ...l
7264
7250
  }) => {
7265
7251
  let h = null, f = null;
7266
- const y = typeof e == "string", p = Zs(It), b = ru({
7252
+ const m = typeof e == "string", p = Zs(It), b = tu({
7267
7253
  className: i,
7268
7254
  headerClassName: t,
7269
7255
  bodyClassName: o,
@@ -7272,7 +7258,7 @@ const su = ({
7272
7258
  compact: d,
7273
7259
  noBorder: u
7274
7260
  });
7275
- return y ? (h = p, f = h) : !y && e && a ? (h = null, f = a) : !y && e && !a ? (h = p, f = h) : (h = null, f = a || null), /* @__PURE__ */ m("div", { className: b.wrapper, children: /* @__PURE__ */ Y(
7261
+ return m ? (h = p, f = h) : !m && e && a ? (h = null, f = a) : !m && e && !a ? (h = p, f = h) : (h = null, f = a || null), /* @__PURE__ */ y("div", { className: b.wrapper, children: /* @__PURE__ */ Y(
7276
7262
  "section",
7277
7263
  {
7278
7264
  ...f && {
@@ -7281,8 +7267,8 @@ const su = ({
7281
7267
  className: b.body,
7282
7268
  ...l,
7283
7269
  children: [
7284
- /* @__PURE__ */ m(
7285
- nu,
7270
+ /* @__PURE__ */ y(
7271
+ ru,
7286
7272
  {
7287
7273
  ...h && { id: h },
7288
7274
  content: e,
@@ -7290,8 +7276,8 @@ const su = ({
7290
7276
  userAriaLabelledby: a
7291
7277
  }
7292
7278
  ),
7293
- /* @__PURE__ */ m("div", { children: s }),
7294
- r ? /* @__PURE__ */ m("div", { className: b.footer, children: r }) : null
7279
+ /* @__PURE__ */ y("div", { children: s }),
7280
+ r ? /* @__PURE__ */ y("div", { className: b.footer, children: r }) : null
7295
7281
  ]
7296
7282
  }
7297
7283
  ) });
@@ -7333,7 +7319,7 @@ const Qt = ({
7333
7319
  focusable: !1,
7334
7320
  ...c,
7335
7321
  children: [
7336
- o && a && /* @__PURE__ */ m("title", { children: o }),
7322
+ o && a && /* @__PURE__ */ y("title", { children: o }),
7337
7323
  e
7338
7324
  ]
7339
7325
  }
@@ -7352,13 +7338,13 @@ try {
7352
7338
  });
7353
7339
  } catch {
7354
7340
  }
7355
- const iu = ({
7341
+ const su = ({
7356
7342
  className: e,
7357
7343
  viewBox: t,
7358
7344
  title: r,
7359
7345
  monotone: n,
7360
7346
  ...s
7361
- }) => /* @__PURE__ */ m(
7347
+ }) => /* @__PURE__ */ y(
7362
7348
  Qt,
7363
7349
  {
7364
7350
  defaultViewBox: "0 0 1200 500",
@@ -7367,9 +7353,9 @@ const iu = ({
7367
7353
  className: e,
7368
7354
  title: r || "Dog",
7369
7355
  ...s,
7370
- children: /* @__PURE__ */ m("path", { d: "M927.943 30.81c0-2.381-1.191-5.954-3.573-7.145-7.146-4.763-19.055-1.19-26.2 0-17.864 2.382-34.537 4.764-53.592 4.764-26.2 0-53.591-1.19-79.791-4.764-23.819-3.572-44.064-10.718-69.074-3.572-35.727 9.527-58.355 38.109-57.164 75.028 1.191 21.436-2.382 38.109-9.527 57.164-7.146 17.864-15.482 20.245-32.155 20.245-115.52 0-229.848-1.19-345.367 0h-63.119c-29.773 0-59.546 5.955-89.319 0-21.436-4.763-42.873-15.482-58.355-30.964-3.573-3.572-10.718-14.29-14.29-14.29-4.765 1.19-4.765 15.481-4.765 19.054 0 15.482 5.955 30.964 5.955 46.446s-7.145 28.582-11.91 42.873c-4.763 16.673-4.763 33.346-2.381 50.019 4.764 27.39 9.527 55.973 11.91 84.555 2.381 25.01 2.381 48.828 4.763 73.837 2.382 20.246 3.573 29.773 29.773 33.346 30.964 4.764 30.964-5.955 38.11-26.2 9.527-25.01 17.863-51.21 27.39-76.22 8.337-19.054 15.482-60.736 67.883-40.49 28.582 10.718 58.355 16.672 88.128 25.009 32.155 8.336 65.5 16.673 97.655 22.627 65.501 13.1 132.193 20.246 200.075 23.819 7.146 0 11.91 0 16.673 5.954 17.864 22.628-3.573 63.119 41.682 70.265 40.491 5.954 40.491-22.628 45.255-47.637 2.382-14.291 4.764-27.391 8.337-40.492 1.19-5.954 5.954-11.909 10.718-15.481 55.973-33.346 88.128-98.847 78.6-164.347-1.19-10.719-4.763-21.437-3.572-33.346 2.382-23.819 32.155-33.346 50.018-42.873 22.628-13.1 47.637-25.01 66.692-42.873 13.1-11.91 23.818-27.392 29.773-44.064 3.573-5.955 5.955-14.292 4.764-20.246M737.395 190.395c-2.381 25.01-13.1 36.919-35.727 41.682-40.491 8.337-66.692-19.054-54.783-58.355 8.337-26.2 17.864-51.21 29.773-75.028 11.91-23.818 22.628-23.818 36.919-1.19 17.864 28.581 27.391 59.545 23.818 92.891m38.11-109.564c-7.146 0-13.1-5.955-13.1-13.1 0-7.146 5.954-13.1 13.1-13.1 7.145 0 13.1 5.954 13.1 13.1 0 7.145-5.955 13.1-13.1 13.1" })
7356
+ children: /* @__PURE__ */ y("path", { d: "M927.943 30.81c0-2.381-1.191-5.954-3.573-7.145-7.146-4.763-19.055-1.19-26.2 0-17.864 2.382-34.537 4.764-53.592 4.764-26.2 0-53.591-1.19-79.791-4.764-23.819-3.572-44.064-10.718-69.074-3.572-35.727 9.527-58.355 38.109-57.164 75.028 1.191 21.436-2.382 38.109-9.527 57.164-7.146 17.864-15.482 20.245-32.155 20.245-115.52 0-229.848-1.19-345.367 0h-63.119c-29.773 0-59.546 5.955-89.319 0-21.436-4.763-42.873-15.482-58.355-30.964-3.573-3.572-10.718-14.29-14.29-14.29-4.765 1.19-4.765 15.481-4.765 19.054 0 15.482 5.955 30.964 5.955 46.446s-7.145 28.582-11.91 42.873c-4.763 16.673-4.763 33.346-2.381 50.019 4.764 27.39 9.527 55.973 11.91 84.555 2.381 25.01 2.381 48.828 4.763 73.837 2.382 20.246 3.573 29.773 29.773 33.346 30.964 4.764 30.964-5.955 38.11-26.2 9.527-25.01 17.863-51.21 27.39-76.22 8.337-19.054 15.482-60.736 67.883-40.49 28.582 10.718 58.355 16.672 88.128 25.009 32.155 8.336 65.5 16.673 97.655 22.627 65.501 13.1 132.193 20.246 200.075 23.819 7.146 0 11.91 0 16.673 5.954 17.864 22.628-3.573 63.119 41.682 70.265 40.491 5.954 40.491-22.628 45.255-47.637 2.382-14.291 4.764-27.391 8.337-40.492 1.19-5.954 5.954-11.909 10.718-15.481 55.973-33.346 88.128-98.847 78.6-164.347-1.19-10.719-4.763-21.437-3.572-33.346 2.382-23.819 32.155-33.346 50.018-42.873 22.628-13.1 47.637-25.01 66.692-42.873 13.1-11.91 23.818-27.392 29.773-44.064 3.573-5.955 5.955-14.292 4.764-20.246M737.395 190.395c-2.381 25.01-13.1 36.919-35.727 41.682-40.491 8.337-66.692-19.054-54.783-58.355 8.337-26.2 17.864-51.21 29.773-75.028 11.91-23.818 22.628-23.818 36.919-1.19 17.864 28.581 27.391 59.545 23.818 92.891m38.11-109.564c-7.146 0-13.1-5.955-13.1-13.1 0-7.146 5.954-13.1 13.1-13.1 7.145 0 13.1 5.954 13.1 13.1 0 7.145-5.955 13.1-13.1 13.1" })
7371
7357
  }
7372
- ), au = ({
7358
+ ), iu = ({
7373
7359
  className: e,
7374
7360
  viewBox: t,
7375
7361
  title: r,
@@ -7385,17 +7371,17 @@ const iu = ({
7385
7371
  title: r || "Hide",
7386
7372
  ...s,
7387
7373
  children: [
7388
- /* @__PURE__ */ m(
7374
+ /* @__PURE__ */ y(
7389
7375
  "path",
7390
7376
  {
7391
7377
  d: "M0 256c0 4.2.8 8.4 2.5 12.3C17.3 304 48.6 356 95.4 399.4 142.5 443.2 207.2 480 288 480c56.1 0 104.4-17.8 144.5-43.2l-71.7-56.5C339.4 392.8 314.6 400 288 400c-79.5 0-144-64.5-144-144 0-14.5 2.1-28.5 6.1-41.7L63.5 146c-29.4 34.7-49.9 70.8-61.1 97.6-1.6 4-2.4 8.2-2.4 12.4M135.2 80.7l71.8 56.2c23.1-15.7 51-24.9 81-24.9 79.5 0 144 64.5 144 144 0 17.7-3.2 34.6-9 50.2 28 22 56.1 44 84.1 65.9 32.3-36.6 54.6-75.4 66.4-103.9 1.6-3.9 2.5-8.1 2.5-12.3s-.8-8.4-2.5-12.3c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32c-60 0-111.1 20.3-152.8 48.7M192 260.1c.3 6.9 1.3 13.8 3.2 20.7 13.7 51.2 66.4 81.6 117.6 67.9 1.9-.5 3.9-1.1 5.7-1.7l-120-94.6c-3.7.8-6.7 3.7-6.5 7.7m92.7-88.4c2.1 6.4 3.3 13.2 3.3 20.3 0 2.7-.2 5.4-.5 8 31.6 24.8 63.2 49.5 94.8 74.3 2.7-13.9 2.4-28.6-1.5-43.2-11.1-41.5-47.8-69.4-88.6-71.1-5.8-.2-9.2 6.1-7.4 11.7z",
7392
7378
  opacity: n ? "1" : "0.4"
7393
7379
  }
7394
7380
  ),
7395
- /* @__PURE__ */ m("path", { d: "M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1l592 464c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1l-592-464C-1.2 34.7-3.1 19.6 5.1 9.2" })
7381
+ /* @__PURE__ */ y("path", { d: "M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1l592 464c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1l-592-464C-1.2 34.7-3.1 19.6 5.1 9.2" })
7396
7382
  ]
7397
7383
  }
7398
- ), ou = ({
7384
+ ), au = ({
7399
7385
  className: e,
7400
7386
  viewBox: t,
7401
7387
  title: r,
@@ -7413,25 +7399,25 @@ const iu = ({
7413
7399
  title: r || "Passkey",
7414
7400
  ...s,
7415
7401
  children: [
7416
- /* @__PURE__ */ m(
7402
+ /* @__PURE__ */ y(
7417
7403
  "path",
7418
7404
  {
7419
7405
  d: "M172.32 96.79c0 13.78-8.48 25.5-20.29 29.78l7.14 11.83-10.57 13 10.57 12.71-17.04 22.87-12.01-12.82V125.7c-10.68-4.85-18.15-15.97-18.15-28.91 0-17.4 13.51-31.51 30.18-31.51 16.66 0 30.17 14.11 30.17 31.51m-30.18 4.82c4.02 0 7.28-3.4 7.28-7.6s-3.26-7.61-7.28-7.61-7.28 3.4-7.28 7.61c-.01 4.2 3.26 7.6 7.28 7.6",
7420
7406
  opacity: i
7421
7407
  }
7422
7408
  ),
7423
- /* @__PURE__ */ m(
7409
+ /* @__PURE__ */ y(
7424
7410
  "path",
7425
7411
  {
7426
7412
  d: "M172.41 96.88c0 13.62-8.25 25.23-19.83 29.67l6.58 11.84-9.73 13 9.73 12.71-17.03 23.05v-85.54c4.02 0 7.28-3.41 7.28-7.6 0-4.2-3.26-7.61-7.28-7.61V65.28c16.73 0 30.28 14.15 30.28 31.6",
7427
7413
  opacity: i
7428
7414
  }
7429
7415
  ),
7430
- /* @__PURE__ */ m("path", { d: "M120.24 131.43c-9.75-8-16.3-20.3-17.2-34.27H50.8c-10.96 0-19.84 9.01-19.84 20.13v25.17c0 5.56 4.44 10.07 9.92 10.07h69.44c5.48 0 9.92-4.51 9.92-10.07zM73.16 91.13c-2.42-.46-4.82-.89-7.11-1.86-8.65-3.63-13.69-10.32-15.32-19.77-1.12-6.47-.59-12.87 2.03-18.92 3.72-8.6 10.39-13.26 19.15-14.84 5.24-.94 10.46-.73 15.5 1.15 7.59 2.82 12.68 8.26 15.03 16.24 2.38 8.05 2.03 16.1-1.56 23.72-3.72 7.96-10.21 12.23-18.42 13.9-.68.14-1.37.27-2.05.41-2.41-.03-4.83-.03-7.25-.03" })
7416
+ /* @__PURE__ */ y("path", { d: "M120.24 131.43c-9.75-8-16.3-20.3-17.2-34.27H50.8c-10.96 0-19.84 9.01-19.84 20.13v25.17c0 5.56 4.44 10.07 9.92 10.07h69.44c5.48 0 9.92-4.51 9.92-10.07zM73.16 91.13c-2.42-.46-4.82-.89-7.11-1.86-8.65-3.63-13.69-10.32-15.32-19.77-1.12-6.47-.59-12.87 2.03-18.92 3.72-8.6 10.39-13.26 19.15-14.84 5.24-.94 10.46-.73 15.5 1.15 7.59 2.82 12.68 8.26 15.03 16.24 2.38 8.05 2.03 16.1-1.56 23.72-3.72 7.96-10.21 12.23-18.42 13.9-.68.14-1.37.27-2.05.41-2.41-.03-4.83-.03-7.25-.03" })
7431
7417
  ]
7432
7418
  }
7433
7419
  );
7434
- }, cu = ({
7420
+ }, ou = ({
7435
7421
  className: e,
7436
7422
  viewBox: t,
7437
7423
  title: r,
@@ -7447,14 +7433,14 @@ const iu = ({
7447
7433
  title: r || "Show",
7448
7434
  ...s,
7449
7435
  children: [
7450
- /* @__PURE__ */ m(
7436
+ /* @__PURE__ */ y(
7451
7437
  "path",
7452
7438
  {
7453
7439
  d: "M0 256c0 4.2.8 8.4 2.5 12.3C17.3 304 48.6 356 95.4 399.4 142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 1.6-3.9 2.5-8.1 2.5-12.3s-.8-8.4-2.5-12.3c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32S142.5 68.8 95.4 112.6C48.6 156 17.3 208 2.5 243.7.8 247.6 0 251.8 0 256m432 0a144 144 0 1 1-288 0 144 144 0 1 1 288 0",
7454
7440
  opacity: n ? "1" : "0.4"
7455
7441
  }
7456
7442
  ),
7457
- /* @__PURE__ */ m("path", { 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" })
7443
+ /* @__PURE__ */ y("path", { 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" })
7458
7444
  ]
7459
7445
  }
7460
7446
  );
@@ -7471,7 +7457,7 @@ try {
7471
7457
  });
7472
7458
  } catch {
7473
7459
  }
7474
- const lu = "av-main", uu = ({
7460
+ const cu = "av-main", lu = ({
7475
7461
  children: e,
7476
7462
  className: t,
7477
7463
  raw: r = !1,
@@ -7480,7 +7466,7 @@ const lu = "av-main", uu = ({
7480
7466
  ...i
7481
7467
  }) => {
7482
7468
  const o = g(
7483
- lu,
7469
+ cu,
7484
7470
  {
7485
7471
  "mt-2 sm:mt-3": !r && !n,
7486
7472
  "p-2": !r && !s,
@@ -7488,7 +7474,7 @@ const lu = "av-main", uu = ({
7488
7474
  },
7489
7475
  t
7490
7476
  );
7491
- return /* @__PURE__ */ m("main", { className: o, ...i, children: e });
7477
+ return /* @__PURE__ */ y("main", { className: o, ...i, children: e });
7492
7478
  };
7493
7479
  /*!
7494
7480
  @versini/ui-main v5.0.1
@@ -7503,10 +7489,10 @@ try {
7503
7489
  });
7504
7490
  } catch {
7505
7491
  }
7506
- const du = "av-flexgrid", Et = "av-flexgrid-item", Kt = 0.25, Pr = me.createContext({
7492
+ const uu = "av-flexgrid", Et = "av-flexgrid-item", Ht = 0.25, Pr = ye.createContext({
7507
7493
  columnGap: 0,
7508
7494
  rowGap: 0
7509
- }), hu = ({
7495
+ }), du = ({
7510
7496
  children: e,
7511
7497
  className: t,
7512
7498
  columnGap: r = 1,
@@ -7529,13 +7515,13 @@ const du = "av-flexgrid", Et = "av-flexgrid-item", Kt = 0.25, Pr = me.createCont
7529
7515
  * by the columnGap and rowGap that will be applied
7530
7516
  * to all FlexgridItems (see context and paddings).
7531
7517
  */
7532
- marginLeft: r * -1 * Kt + "rem",
7533
- marginTop: n * -1 * Kt + "rem"
7518
+ marginLeft: r * -1 * Ht + "rem",
7519
+ marginTop: n * -1 * Ht + "rem"
7534
7520
  }, l = g(
7535
- du,
7521
+ uu,
7536
7522
  "box-border flex flex-wrap"
7537
7523
  ), h = { columnGap: r, rowGap: n };
7538
- return t ? /* @__PURE__ */ m("div", { className: t, children: /* @__PURE__ */ m("div", { className: l, style: u, ...d, children: /* @__PURE__ */ m(Pr.Provider, { value: h, children: e }) }) }) : /* @__PURE__ */ m("div", { className: l, style: u, ...d, children: /* @__PURE__ */ m(Pr.Provider, { value: h, children: e }) });
7524
+ return t ? /* @__PURE__ */ y("div", { className: t, children: /* @__PURE__ */ y("div", { className: l, style: u, ...d, children: /* @__PURE__ */ y(Pr.Provider, { value: h, children: e }) }) }) : /* @__PURE__ */ y("div", { className: l, style: u, ...d, children: /* @__PURE__ */ y(Pr.Provider, { value: h, children: e }) });
7539
7525
  }, lr = (e, t) => g({
7540
7526
  "basis-1/12": e === 1 && !t,
7541
7527
  "sm:basis-1/12": e === 1 && t === "sm",
@@ -7609,7 +7595,7 @@ const du = "av-flexgrid", Et = "av-flexgrid-item", Kt = 0.25, Pr = me.createCont
7609
7595
  "lg:basis-full": e === 12 && t === "lg",
7610
7596
  "xl:basis-full": e === 12 && t === "xl",
7611
7597
  "2xl:basis-full": e === 12 && t === "2xl"
7612
- }), fu = ({
7598
+ }), hu = ({
7613
7599
  className: e,
7614
7600
  span: t
7615
7601
  }) => {
@@ -7638,14 +7624,14 @@ const du = "av-flexgrid", Et = "av-flexgrid-item", Kt = 0.25, Pr = me.createCont
7638
7624
  span: r,
7639
7625
  ...n
7640
7626
  }) => {
7641
- const { columnGap: s, rowGap: i } = Ht(Pr), o = {
7642
- paddingLeft: s * Kt + "rem",
7643
- paddingTop: i * Kt + "rem"
7644
- }, a = fu({
7627
+ const { columnGap: s, rowGap: i } = Kt(Pr), o = {
7628
+ paddingLeft: s * Ht + "rem",
7629
+ paddingTop: i * Ht + "rem"
7630
+ }, a = hu({
7645
7631
  className: t,
7646
7632
  span: r
7647
7633
  });
7648
- return /* @__PURE__ */ m("div", { className: a, style: o, ...n, children: e });
7634
+ return /* @__PURE__ */ y("div", { className: a, style: o, ...n, children: e });
7649
7635
  };
7650
7636
  /*!
7651
7637
  @versini/ui-system v5.0.1
@@ -7660,7 +7646,7 @@ try {
7660
7646
  });
7661
7647
  } catch {
7662
7648
  }
7663
- const ei = "SET_ANNOUNCEMENT", ti = "CLEAR_ANNOUNCEMENT", yu = {
7649
+ const ei = "SET_ANNOUNCEMENT", ti = "CLEAR_ANNOUNCEMENT", fu = {
7664
7650
  alert: null,
7665
7651
  alertdialog: null,
7666
7652
  log: "polite",
@@ -7683,7 +7669,7 @@ const ei = "SET_ANNOUNCEMENT", ti = "CLEAR_ANNOUNCEMENT", yu = {
7683
7669
  default:
7684
7670
  return e;
7685
7671
  }
7686
- }, pu = ({
7672
+ }, yu = ({
7687
7673
  onAnnouncementClear: e,
7688
7674
  dispatch: t
7689
7675
  }) => {
@@ -7701,13 +7687,13 @@ const ei = "SET_ANNOUNCEMENT", ti = "CLEAR_ANNOUNCEMENT", yu = {
7701
7687
  type: ei,
7702
7688
  payload: e
7703
7689
  }), t && (r.current = setTimeout(
7704
- () => pu({
7690
+ () => yu({
7705
7691
  onAnnouncementClear: n,
7706
7692
  dispatch: s
7707
7693
  }),
7708
7694
  t
7709
7695
  ));
7710
- }, gu = ({
7696
+ }, pu = ({
7711
7697
  children: e,
7712
7698
  announcementTimeoutRef: t,
7713
7699
  announcementDelay: r,
@@ -7745,8 +7731,8 @@ function ri({
7745
7731
  announcement: null
7746
7732
  });
7747
7733
  let f = r;
7748
- typeof f > "u" && (f = n ? yu[n] : "assertive"), Z(() => {
7749
- gu({
7734
+ typeof f > "u" && (f = n ? fu[n] : "assertive"), Z(() => {
7735
+ pu({
7750
7736
  announcementTimeoutRef: d,
7751
7737
  announcementDelay: s,
7752
7738
  children: e,
@@ -7761,15 +7747,15 @@ function ri({
7761
7747
  i,
7762
7748
  o
7763
7749
  ]);
7764
- const y = g(t, {
7750
+ const m = g(t, {
7765
7751
  "sr-only": !a
7766
7752
  });
7767
- return /* @__PURE__ */ m(
7753
+ return /* @__PURE__ */ y(
7768
7754
  "div",
7769
7755
  {
7770
7756
  "aria-live": f,
7771
7757
  ...n && { role: n },
7772
- className: y,
7758
+ className: m,
7773
7759
  ...c,
7774
7760
  children: l.announcement
7775
7761
  }
@@ -7788,21 +7774,21 @@ try {
7788
7774
  });
7789
7775
  } catch {
7790
7776
  }
7791
- const ni = "av-text-input", bu = "av-text-input-wrapper", ur = "av-text-input-helper-text", wu = ({
7777
+ const ni = "av-text-input", gu = "av-text-input-wrapper", ur = "av-text-input-helper-text", bu = ({
7792
7778
  mode: e
7793
7779
  }) => g({
7794
7780
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
7795
7781
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
7796
7782
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
7797
7783
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
7798
- }), Eu = ({
7784
+ }), wu = ({
7799
7785
  focusMode: e
7800
7786
  }) => g("focus:outline focus:outline-2 focus:outline-offset-2", {
7801
7787
  "focus:outline-focus-dark": e === "dark",
7802
7788
  "focus:outline-focus-light": e === "light",
7803
7789
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
7804
7790
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
7805
- }), vu = ({
7791
+ }), Eu = ({
7806
7792
  noBorder: e,
7807
7793
  error: t
7808
7794
  }) => g("border-2", {
@@ -7810,7 +7796,7 @@ const ni = "av-text-input", bu = "av-text-input-wrapper", ur = "av-text-input-he
7810
7796
  "focus:border-border-dark": !e && t,
7811
7797
  "border-border-error-dark": !e && t,
7812
7798
  "border-transparent": e
7813
- }), Su = ({
7799
+ }), vu = ({
7814
7800
  disabled: e,
7815
7801
  raw: t,
7816
7802
  error: r,
@@ -7834,7 +7820,7 @@ const ni = "av-text-input", bu = "av-text-input-wrapper", ur = "av-text-input-he
7834
7820
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": n === "system",
7835
7821
  "text-copy-lighter dark:text-copy-error-dark": n === "alt-system"
7836
7822
  });
7837
- }, Tu = ({
7823
+ }, Su = ({
7838
7824
  error: e,
7839
7825
  raw: t,
7840
7826
  mode: r,
@@ -7861,7 +7847,7 @@ const ni = "av-text-input", bu = "av-text-input-wrapper", ur = "av-text-input-he
7861
7847
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
7862
7848
  "dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
7863
7849
  });
7864
- }, Au = ({
7850
+ }, Tu = ({
7865
7851
  className: e,
7866
7852
  inputClassName: t,
7867
7853
  raw: r,
@@ -7875,7 +7861,7 @@ const ni = "av-text-input", bu = "av-text-input-wrapper", ur = "av-text-input-he
7875
7861
  }) => {
7876
7862
  const u = r ? e : g(
7877
7863
  "relative flex w-full flex-col justify-center",
7878
- bu,
7864
+ gu,
7879
7865
  e
7880
7866
  );
7881
7867
  let l = "";
@@ -7900,19 +7886,19 @@ const ni = "av-text-input", bu = "av-text-input-wrapper", ur = "av-text-input-he
7900
7886
  ni,
7901
7887
  l,
7902
7888
  "rounded-md text-base px-4",
7903
- wu({ mode: o }),
7904
- Eu({ focusMode: a }),
7905
- vu({ noBorder: s, error: i }),
7889
+ bu({ mode: o }),
7890
+ wu({ focusMode: a }),
7891
+ Eu({ noBorder: s, error: i }),
7906
7892
  {
7907
7893
  "disabled:cursor-not-allowed disabled:opacity-50": n
7908
7894
  },
7909
7895
  t
7910
- ), f = r ? void 0 : "sr-only", y = Su({
7896
+ ), f = r ? void 0 : "sr-only", m = vu({
7911
7897
  disabled: n,
7912
7898
  raw: r,
7913
7899
  error: i,
7914
7900
  mode: o
7915
- }), p = Tu({
7901
+ }), p = Su({
7916
7902
  error: i,
7917
7903
  raw: r,
7918
7904
  mode: o,
@@ -7922,11 +7908,11 @@ const ni = "av-text-input", bu = "av-text-input-wrapper", ur = "av-text-input-he
7922
7908
  wrapper: u,
7923
7909
  input: h,
7924
7910
  accessibleLabel: f,
7925
- visibleLabel: y,
7911
+ visibleLabel: m,
7926
7912
  helperText: p,
7927
7913
  rightElement: b
7928
7914
  };
7929
- }, jr = me.forwardRef(
7915
+ }, jr = ye.forwardRef(
7930
7916
  ({
7931
7917
  id: e,
7932
7918
  name: t,
@@ -7942,19 +7928,19 @@ const ni = "av-text-input", bu = "av-text-input-wrapper", ur = "av-text-input-he
7942
7928
  labelId: l,
7943
7929
  labelHidden: h = !1,
7944
7930
  type: f = "text",
7945
- helperText: y = "",
7931
+ helperText: m = "",
7946
7932
  rightElement: p,
7947
7933
  rightElementClassName: b,
7948
7934
  size: E = "md",
7949
7935
  ...A
7950
7936
  }, v) => {
7951
- const [I, N] = At(), [B, x] = fe(0), _ = Zs({ id: e, prefix: `${ni}-` }), S = `${t} error, ${y}`, w = ee(null), O = ee(null), T = {
7937
+ const [I, N] = At(), [K, x] = fe(0), _ = Zs({ id: e, prefix: `${ni}-` }), S = `${t} error, ${m}`, w = ee(null), O = ee(null), T = {
7952
7938
  xs: { label: "-25px", helperText: "30px" },
7953
7939
  sm: { label: "-29px", helperText: "34px" },
7954
7940
  md: { label: "-33px", helperText: "38px" },
7955
7941
  lg: { label: "-15px", helperText: "22px" },
7956
7942
  xl: { label: "-19px", helperText: "25px" }
7957
- }, K = Au({
7943
+ }, F = Tu({
7958
7944
  className: i,
7959
7945
  inputClassName: o,
7960
7946
  error: n,
@@ -7974,17 +7960,17 @@ const ni = "av-text-input", bu = "av-text-input-wrapper", ur = "av-text-input-he
7974
7960
  "--av-text-input-helper-text",
7975
7961
  Ce
7976
7962
  );
7977
- }, [E]), /* @__PURE__ */ Y("div", { className: K.wrapper, children: [
7978
- /* @__PURE__ */ m(
7963
+ }, [E]), /* @__PURE__ */ Y("div", { className: F.wrapper, children: [
7964
+ /* @__PURE__ */ y(
7979
7965
  "label",
7980
7966
  {
7981
7967
  htmlFor: _,
7982
7968
  id: l,
7983
- className: K.accessibleLabel,
7969
+ className: F.accessibleLabel,
7984
7970
  children: r
7985
7971
  }
7986
7972
  ),
7987
- /* @__PURE__ */ m(
7973
+ /* @__PURE__ */ y(
7988
7974
  "input",
7989
7975
  {
7990
7976
  ref: v,
@@ -7993,46 +7979,46 @@ const ni = "av-text-input", bu = "av-text-input-wrapper", ur = "av-text-input-he
7993
7979
  type: f,
7994
7980
  disabled: d,
7995
7981
  placeholder: s ? void 0 : " ",
7996
- className: K.input,
7997
- ...y && { "aria-describedby": `${_}-helper` },
7982
+ className: F.input,
7983
+ ...m && { "aria-describedby": `${_}-helper` },
7998
7984
  ...n && { "aria-invalid": "true" },
7999
- ...p && !s && { style: { paddingRight: B } },
7985
+ ...p && !s && { style: { paddingRight: K } },
8000
7986
  ...A
8001
7987
  }
8002
7988
  ),
8003
- !s && !h && /* @__PURE__ */ m(
7989
+ !s && !h && /* @__PURE__ */ y(
8004
7990
  "label",
8005
7991
  {
8006
7992
  ref: w,
8007
7993
  "aria-hidden": !0,
8008
7994
  htmlFor: _,
8009
- className: K.visibleLabel,
7995
+ className: F.visibleLabel,
8010
7996
  children: r
8011
7997
  }
8012
7998
  ),
8013
- y && /* @__PURE__ */ m(
7999
+ m && /* @__PURE__ */ y(
8014
8000
  "div",
8015
8001
  {
8016
8002
  ref: O,
8017
8003
  id: `${_}-helper`,
8018
- className: K.helperText,
8019
- children: y
8004
+ className: F.helperText,
8005
+ children: m
8020
8006
  }
8021
8007
  ),
8022
- p && /* @__PURE__ */ m(
8008
+ p && /* @__PURE__ */ y(
8023
8009
  "div",
8024
8010
  {
8025
8011
  ref: I,
8026
- className: K.rightElement,
8012
+ className: F.rightElement,
8027
8013
  children: p
8028
8014
  }
8029
8015
  ),
8030
- n && y && /* @__PURE__ */ m(ri, { politeness: "polite", clearAnnouncementDelay: 500, children: S })
8016
+ n && m && /* @__PURE__ */ y(ri, { politeness: "polite", clearAnnouncementDelay: 500, children: S })
8031
8017
  ] });
8032
8018
  }
8033
8019
  );
8034
8020
  jr.displayName = "TextInput";
8035
- const Iu = 500, ku = 5e3, Ru = 2e4, si = me.forwardRef(
8021
+ const Au = 500, Iu = 5e3, ku = 2e4, si = ye.forwardRef(
8036
8022
  ({
8037
8023
  name: e,
8038
8024
  disabled: t,
@@ -8046,22 +8032,22 @@ const Iu = 500, ku = 5e3, Ru = 2e4, si = me.forwardRef(
8046
8032
  rightElement: d,
8047
8033
  ...u
8048
8034
  }, l) => {
8049
- const [h, f] = fe(!0), [y, p] = fe({
8035
+ const [h, f] = fe(!0), [m, p] = fe({
8050
8036
  message: null,
8051
8037
  politeness: null
8052
8038
  }), b = ee(!0), E = ee(null), A = ee(null), v = Xs([l, A]), I = h ? "Show" : "Hide", N = () => {
8053
8039
  E.current && clearTimeout(E.current), b.current || (E.current = setTimeout(() => {
8054
8040
  b.current = !0, f(!0), p({
8055
- announcementTimeout: ku,
8041
+ announcementTimeout: Iu,
8056
8042
  politeness: "polite",
8057
8043
  message: `${r} hiding characters`
8058
8044
  }), s && s(!0);
8059
- }, Ru));
8060
- }, B = (O) => {
8045
+ }, ku));
8046
+ }, K = (O) => {
8061
8047
  O.preventDefault();
8062
8048
  const T = !b.current;
8063
8049
  b.current = T, N(), f(T), p({
8064
- announcementTimeout: Iu,
8050
+ announcementTimeout: Au,
8065
8051
  politeness: "assertive",
8066
8052
  message: T ? "Characters hidden" : "Characters showing"
8067
8053
  }), s && s(T);
@@ -8078,7 +8064,7 @@ const Iu = 500, ku = 5e3, Ru = 2e4, si = me.forwardRef(
8078
8064
  return Z(() => () => {
8079
8065
  E.current && clearTimeout(E.current);
8080
8066
  }, []), /* @__PURE__ */ Y(Nn, { children: [
8081
- /* @__PURE__ */ m(
8067
+ /* @__PURE__ */ y(
8082
8068
  jr,
8083
8069
  {
8084
8070
  ref: v,
@@ -8090,23 +8076,23 @@ const Iu = 500, ku = 5e3, Ru = 2e4, si = me.forwardRef(
8090
8076
  onBlur: _,
8091
8077
  onFocus: S,
8092
8078
  onChange: w,
8093
- rightElement: me.cloneElement(d, {
8079
+ rightElement: ye.cloneElement(d, {
8094
8080
  ref: l,
8095
8081
  label: I,
8096
- onClick: B,
8082
+ onClick: K,
8097
8083
  onBlur: x,
8098
8084
  disabled: t
8099
8085
  }),
8100
8086
  ...u
8101
8087
  }
8102
8088
  ),
8103
- /* @__PURE__ */ m(
8089
+ /* @__PURE__ */ y(
8104
8090
  ri,
8105
8091
  {
8106
8092
  role: "status",
8107
- politeness: y.politeness,
8108
- clearAnnouncementDelay: y.announcementTimeout,
8109
- children: y.message
8093
+ politeness: m.politeness,
8094
+ clearAnnouncementDelay: m.announcementTimeout,
8095
+ children: m.message
8110
8096
  }
8111
8097
  )
8112
8098
  ] });
@@ -8126,40 +8112,40 @@ try {
8126
8112
  });
8127
8113
  } catch {
8128
8114
  }
8129
- const Cu = "ASK! ME! ANYTHING!", _u = "Log in", Ou = "Sign in with a Passkey", dh = "Log out", Nu = "Password", hh = "Usage", fh = "Profile", yh = "Settings", mh = "Chat history", ph = "About", Wr = "Type your message here.", gh = Wr, bh = `${Wr}
8130
- Press Enter to send it or Shift+Enter for new line.`, wh = `${Wr}
8131
- Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "Review important details.", vh = [
8132
- `Sometimes, ${L} just makes stuff up. ${U}`,
8133
- `${L} may invent facts on the fly. ${U}`,
8134
- `${L} may be confidently wrong. ${U}`,
8135
- `Occasionally, ${L} bluffs. ${U}`,
8136
- `${L} is not always reality-based. ${U}`,
8137
- `Sometimes, ${L} freestyles the truth. ${U}`,
8138
- `${L}'s answers may vary from reality. ${U}`,
8139
- `Sometimes, ${L} hallucinates. ${U}`,
8140
- `Occasionally, ${L} imagines. ${U}`,
8141
- `${L} may make things up. ${U}`,
8142
- `${L} gets creative sometimes. ${U}`,
8143
- `${L} isn't always right. ${U}`,
8144
- `${L} can be mistaken. ${U}`,
8145
- `Sometimes, ${L} guesses. ${U}`,
8146
- `Sometimes, ${L} invents. ${U}`,
8147
- `${L} may get it wrong. ${U}`,
8148
- `${L} might fetch the wrong stick. ${U}`,
8149
- `Sometimes, ${L} howls at the moon. ${U}`,
8150
- `${L} may dig up imaginary bones. ${U}`,
8151
- `${L} may sniff out nonsense. ${U}`
8152
- ], Sh = "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.", Th = "Default provider set to", Ah = "Chat successfully deleted!", Ih = "Chat successfully saved!", kh = "Caching enabled. Assets are now stored locally.", Rh = "Caching disabled. Local asset cache cleared.", Ch = "av-sassy", _h = {
8115
+ const Ru = "ASK! ME! ANYTHING!", Cu = "Log in", _u = "Sign in with a Passkey", ch = "Log out", Ou = "Password", lh = "Usage", uh = "Profile", dh = "Settings", hh = "Chat history", fh = "About", Wr = "Type your message here.", mh = Wr, yh = `${Wr}
8116
+ Press Enter to send it or Shift+Enter for new line.`, ph = `${Wr}
8117
+ Press Ctrl+Enter to send it or Enter for new line.`, gh = "{{clipboard}}", M = "Review important details.", bh = [
8118
+ `Sometimes, ${L} just makes stuff up. ${M}`,
8119
+ `${L} may invent facts on the fly. ${M}`,
8120
+ `${L} may be confidently wrong. ${M}`,
8121
+ `Occasionally, ${L} bluffs. ${M}`,
8122
+ `${L} is not always reality-based. ${M}`,
8123
+ `Sometimes, ${L} freestyles the truth. ${M}`,
8124
+ `${L}'s answers may vary from reality. ${M}`,
8125
+ `Sometimes, ${L} hallucinates. ${M}`,
8126
+ `Occasionally, ${L} imagines. ${M}`,
8127
+ `${L} may make things up. ${M}`,
8128
+ `${L} gets creative sometimes. ${M}`,
8129
+ `${L} isn't always right. ${M}`,
8130
+ `${L} can be mistaken. ${M}`,
8131
+ `Sometimes, ${L} guesses. ${M}`,
8132
+ `Sometimes, ${L} invents. ${M}`,
8133
+ `${L} may get it wrong. ${M}`,
8134
+ `${L} might fetch the wrong stick. ${M}`,
8135
+ `Sometimes, ${L} howls at the moon. ${M}`,
8136
+ `${L} may dig up imaginary bones. ${M}`,
8137
+ `${L} may sniff out nonsense. ${M}`
8138
+ ], wh = "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.", Eh = "Default provider set to", vh = "Chat successfully deleted!", Sh = "Chat successfully saved!", Th = "Caching enabled. Assets are now stored locally.", Ah = "Caching disabled. Local asset cache cleared.", Ih = "av-sassy", kh = {
8153
8139
  0: ["January", "February", "March"],
8154
8140
  3: ["April", "May", "June"],
8155
8141
  6: ["July", "August", "September"],
8156
8142
  9: ["October", "November", "December"]
8157
- }, Oh = {
8143
+ }, Rh = {
8158
8144
  0: ["Jan", "Feb", "Mar"],
8159
8145
  3: ["Apr", "May", "Jun"],
8160
8146
  6: ["Jul", "Aug", "Sep"],
8161
8147
  9: ["Oct", "Nov", "Dec"]
8162
- }, Nh = {
8148
+ }, Ch = {
8163
8149
  PREFERENCES: {
8164
8150
  TITLE: "User profile",
8165
8151
  NAME: "Name",
@@ -8199,7 +8185,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "
8199
8185
  SEND_ON_ENTER: "The following option allows you to choose whether you want to send a message when you press Enter or if you want to use Ctrl+Enter (Cmd+Enter on Mac). If you choose to send a message on Enter, you will need use Shift+Enter to insert a new line.",
8200
8186
  USE_MEMORY: "The following option allows you to choose whether you want to enable memory for your chats. When enabled, Callisto will remember your previous interactions and use them to provide more relevant responses."
8201
8187
  }
8202
- }, Pu = ({ className: e }) => /* @__PURE__ */ Y(
8188
+ }, Nu = ({ className: e }) => /* @__PURE__ */ Y(
8203
8189
  "div",
8204
8190
  {
8205
8191
  className: g(
@@ -8207,14 +8193,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "
8207
8193
  "flex items-center justify-center text-slate-300"
8208
8194
  ),
8209
8195
  children: [
8210
- /* @__PURE__ */ m("div", { className: "basis-1/4", children: /* @__PURE__ */ m(iu, {}) }),
8196
+ /* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(su, {}) }),
8211
8197
  /* @__PURE__ */ Y("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
8212
- /* @__PURE__ */ m("h1", { children: L }),
8213
- /* @__PURE__ */ m("h2", { children: Cu })
8198
+ /* @__PURE__ */ y("h1", { children: L }),
8199
+ /* @__PURE__ */ y("h2", { children: Ru })
8214
8200
  ] })
8215
8201
  ]
8216
8202
  }
8217
- ), xu = () => {
8203
+ ), Pu = () => {
8218
8204
  const { login: e, logoutReason: t, loginWithPasskey: r } = Us(), [n, s] = fe(""), [i, o] = fe(""), [a, c] = fe(!0), [d, u] = fe({
8219
8205
  username: "",
8220
8206
  password: ""
@@ -8228,7 +8214,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "
8228
8214
  }), Z(() => {
8229
8215
  t && o(t);
8230
8216
  }, [t]), /* @__PURE__ */ Y(
8231
- uu,
8217
+ lu,
8232
8218
  {
8233
8219
  className: Ws({
8234
8220
  extraClass: "mt-5"
@@ -8236,18 +8222,18 @@ Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "
8236
8222
  noMargin: !0,
8237
8223
  noPadding: !0,
8238
8224
  children: [
8239
- /* @__PURE__ */ m(
8225
+ /* @__PURE__ */ y(
8240
8226
  "div",
8241
8227
  {
8242
8228
  className: js({
8243
8229
  extraClass: "rounded-md pb-10"
8244
8230
  }),
8245
- children: /* @__PURE__ */ m(Pu, {})
8231
+ children: /* @__PURE__ */ y(Nu, {})
8246
8232
  }
8247
8233
  ),
8248
- /* @__PURE__ */ m("form", { className: "mt-5", onSubmit: l, children: /* @__PURE__ */ m(hu, { alignHorizontal: "center", children: /* @__PURE__ */ m(Se, { span: 6, children: /* @__PURE__ */ Y(su, { mode: "dark", children: [
8249
- /* @__PURE__ */ m(Se, { span: 12, className: "mt-7", children: i && /* @__PURE__ */ m("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: i }) }),
8250
- /* @__PURE__ */ m(Se, { span: 12, children: /* @__PURE__ */ m(
8234
+ /* @__PURE__ */ y("form", { className: "mt-5", onSubmit: l, children: /* @__PURE__ */ y(du, { alignHorizontal: "center", children: /* @__PURE__ */ y(Se, { span: 6, children: /* @__PURE__ */ Y(nu, { mode: "dark", children: [
8235
+ /* @__PURE__ */ y(Se, { span: 12, className: "mt-7", children: i && /* @__PURE__ */ y("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: i }) }),
8236
+ /* @__PURE__ */ y(Se, { span: 12, children: /* @__PURE__ */ y(
8251
8237
  jr,
8252
8238
  {
8253
8239
  className: "mt-7",
@@ -8268,7 +8254,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "
8268
8254
  error: n !== ""
8269
8255
  }
8270
8256
  ) }),
8271
- /* @__PURE__ */ m(Se, { span: 12, children: /* @__PURE__ */ m(
8257
+ /* @__PURE__ */ y(Se, { span: 12, children: /* @__PURE__ */ y(
8272
8258
  si,
8273
8259
  {
8274
8260
  className: "mt-7",
@@ -8279,14 +8265,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "
8279
8265
  mode: "dark",
8280
8266
  focusMode: "light",
8281
8267
  name: "password",
8282
- label: Nu,
8283
- rightElement: /* @__PURE__ */ m(
8268
+ label: Ou,
8269
+ rightElement: /* @__PURE__ */ y(
8284
8270
  Ft,
8285
8271
  {
8286
8272
  focusMode: "light",
8287
8273
  mode: "dark",
8288
8274
  label: a ? "Show" : "Hide",
8289
- children: a ? /* @__PURE__ */ m(cu, {}) : /* @__PURE__ */ m(au, {})
8275
+ children: a ? /* @__PURE__ */ y(ou, {}) : /* @__PURE__ */ y(iu, {})
8290
8276
  }
8291
8277
  ),
8292
8278
  onMaskChange: c,
@@ -8300,7 +8286,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "
8300
8286
  helperText: n
8301
8287
  }
8302
8288
  ) }),
8303
- /* @__PURE__ */ m(Se, { span: 12, children: /* @__PURE__ */ m(
8289
+ /* @__PURE__ */ y(Se, { span: 12, children: /* @__PURE__ */ y(
8304
8290
  Ys,
8305
8291
  {
8306
8292
  mode: "dark",
@@ -8309,12 +8295,12 @@ Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "
8309
8295
  noBorder: !0,
8310
8296
  type: "submit",
8311
8297
  className: "mt-7",
8312
- children: _u
8298
+ children: Cu
8313
8299
  }
8314
8300
  ) }),
8315
8301
  !Qs() && /* @__PURE__ */ Y(Nn, { children: [
8316
- /* @__PURE__ */ m(Se, { span: 12, children: /* @__PURE__ */ m("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
8317
- /* @__PURE__ */ m(Se, { span: 12, children: /* @__PURE__ */ m(
8302
+ /* @__PURE__ */ y(Se, { span: 12, children: /* @__PURE__ */ y("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
8303
+ /* @__PURE__ */ y(Se, { span: 12, children: /* @__PURE__ */ y(
8318
8304
  Ft,
8319
8305
  {
8320
8306
  variant: "selected",
@@ -8322,9 +8308,9 @@ Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "
8322
8308
  focusMode: "light",
8323
8309
  fullWidth: !0,
8324
8310
  className: "mb-4",
8325
- labelRight: Ou,
8311
+ labelRight: _u,
8326
8312
  onClick: r,
8327
- children: /* @__PURE__ */ m(ou, { size: "size-7" })
8313
+ children: /* @__PURE__ */ y(au, { size: "size-7" })
8328
8314
  }
8329
8315
  ) })
8330
8316
  ] })
@@ -8332,44 +8318,44 @@ Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "
8332
8318
  ]
8333
8319
  }
8334
8320
  );
8335
- }, $u = new URL(document.location.href).searchParams, _n = !!$u.get("debug") || !1, Du = ci(() => import(
8321
+ }, xu = new URL(document.location.href).searchParams, _n = !!xu.get("debug") || !1, $u = ci(() => import(
8336
8322
  /* webpackChunkName: "LazyApp" */
8337
- "./App.D5cZDwje.js"
8338
- ).then((e) => e.App)), Lu = new ki(), On = ({
8323
+ "./App.P8VuaklL.js"
8324
+ ).then((e) => e.App)), Du = new ki(), On = ({
8339
8325
  isComponent: e,
8340
8326
  headerHeight: t
8341
8327
  }) => {
8342
8328
  const { isAuthenticated: r, isLoading: n, user: s, getAccessToken: i } = Us();
8343
- return n ? /* @__PURE__ */ m("div", {}) : r ? /* @__PURE__ */ m(oi, { fallback: /* @__PURE__ */ m("div", {}), children: /* @__PURE__ */ Y(Oi, { client: Lu, children: [
8344
- /* @__PURE__ */ m(po, {}),
8345
- /* @__PURE__ */ m(
8346
- yl,
8329
+ return n ? /* @__PURE__ */ y("div", {}) : r ? /* @__PURE__ */ y(oi, { fallback: /* @__PURE__ */ y("div", {}), children: /* @__PURE__ */ Y(Oi, { client: Du, children: [
8330
+ /* @__PURE__ */ y(po, {}),
8331
+ /* @__PURE__ */ y(
8332
+ fl,
8347
8333
  {
8348
8334
  user: s?.username,
8349
8335
  getAccessToken: i,
8350
- children: /* @__PURE__ */ m(Du, { isComponent: e, headerHeight: t })
8336
+ children: /* @__PURE__ */ y($u, { isComponent: e, headerHeight: t })
8351
8337
  }
8352
8338
  )
8353
- ] }) }) : /* @__PURE__ */ m(xu, {});
8354
- }, Mu = ({
8339
+ ] }) }) : /* @__PURE__ */ y(Pu, {});
8340
+ }, Lu = ({
8355
8341
  isComponent: e = !1,
8356
8342
  headerHeight: t = 0,
8357
8343
  domain: r = qs
8358
8344
  }) => (Z(() => {
8359
- e || Hs().catch((n) => {
8345
+ e || Ks().catch((n) => {
8360
8346
  console.error("[SW] Failed to register service worker:", n);
8361
8347
  });
8362
- }, [e]), Br ? /* @__PURE__ */ m(
8348
+ }, [e]), Br ? /* @__PURE__ */ y(
8363
8349
  Sn,
8364
8350
  {
8365
8351
  clientId: Tn,
8366
8352
  domain: r,
8367
8353
  debug: _n,
8368
8354
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
8369
- children: /* @__PURE__ */ m(On, { isComponent: e, headerHeight: t })
8355
+ children: /* @__PURE__ */ y(On, { isComponent: e, headerHeight: t })
8370
8356
  }
8371
- ) : /* @__PURE__ */ m(Sn, { clientId: Tn, domain: r, debug: _n, children: /* @__PURE__ */ m(On, { isComponent: e, headerHeight: t }) })), Ph = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ m(
8372
- Mu,
8357
+ ) : /* @__PURE__ */ y(Sn, { clientId: Tn, domain: r, debug: _n, children: /* @__PURE__ */ y(On, { isComponent: e, headerHeight: t }) })), _h = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ y(
8358
+ Lu,
8373
8359
  {
8374
8360
  isComponent: !0,
8375
8361
  domain: e,
@@ -8377,158 +8363,156 @@ Press Ctrl+Enter to send it or Enter for new line.`, Eh = "{{clipboard}}", U = "
8377
8363
  }
8378
8364
  );
8379
8365
  export {
8380
- ph as ABOUT_TITLE,
8381
- Rd as ACTION_RESET_PROMPT,
8382
- Ad as ACTION_SEARCH,
8383
- Id as ACTION_SORT,
8384
- kd as ACTION_TOGGLE_PROMPT,
8385
- Ch as APP_CLASSNAME,
8386
- Xd as Ae,
8366
+ fh as ABOUT_TITLE,
8367
+ Id as ACTION_RESET_PROMPT,
8368
+ Sd as ACTION_SEARCH,
8369
+ Td as ACTION_SORT,
8370
+ Ad as ACTION_TOGGLE_PROMPT,
8371
+ Ih as APP_CLASSNAME,
8372
+ Yd as Ae,
8387
8373
  Ys as C,
8388
- Nh as CARDS,
8389
- Eh as CLIPBOARD_PROMPT,
8390
- Ud as DEFAULT_ICON_ACTION_SIZE,
8391
- nd as Dynamic,
8374
+ Ch as CARDS,
8375
+ gh as CLIPBOARD_PROMPT,
8376
+ Ld as DEFAULT_ICON_ACTION_SIZE,
8377
+ rd as Dynamic,
8392
8378
  Yc as E,
8393
- Td as ERROR_MESSAGE,
8394
- vh as FOOTER_DISCLAIMERS,
8395
- Qu as For,
8396
- mh as HISTORY_TITLE,
8379
+ vd as ERROR_MESSAGE,
8380
+ Jd as Ee,
8381
+ bh as FOOTER_DISCLAIMERS,
8382
+ Wu as For,
8383
+ hh as HISTORY_TITLE,
8397
8384
  Qt as I,
8398
- Dd as INFINITE_SCROLL_LIMIT,
8399
- $d as INFINITE_SCROLL_THRESHOLD,
8400
- Bd as INPUT_BOTTOM_OFFSET,
8401
- Vd as INPUT_BOTTOM_OFFSET_EXTRA,
8402
- Gd as INPUT_BOTTOM_OFFSET_IPHONE,
8403
- wh as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
8404
- bh as INPUT_PLACEHOLDER_TEXT_ENTER,
8405
- gh as INPUT_PLACEHOLDER_TEXT_MOBILE,
8406
- Ju as Index,
8407
- hu as L,
8385
+ xd as INFINITE_SCROLL_LIMIT,
8386
+ Pd as INFINITE_SCROLL_THRESHOLD,
8387
+ Hd as INPUT_BOTTOM_OFFSET,
8388
+ Bd as INPUT_BOTTOM_OFFSET_EXTRA,
8389
+ Kd as INPUT_BOTTOM_OFFSET_IPHONE,
8390
+ ph as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
8391
+ yh as INPUT_PLACEHOLDER_TEXT_ENTER,
8392
+ mh as INPUT_PLACEHOLDER_TEXT_MOBILE,
8393
+ Qu as Index,
8394
+ du as L,
8408
8395
  Fs as LOCAL_STORAGE_PREFIX,
8409
- Pd as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
8410
- xd as LOCAL_STORAGE_REASONING_DISCLOSURE,
8411
- Cd as LOCAL_STORAGE_SEARCH,
8412
- _d as LOCAL_STORAGE_SORT,
8413
- Od as LOCAL_STORAGE_SORT_TIMESTAMP,
8414
- Nd as LOCAL_STORAGE_SORT_TOKEN_USAGE,
8415
- dh as LOG_OUT,
8416
- Pu as Logo,
8417
- Xu as Match,
8418
- eh as Oe,
8419
- fh as PROFILE_TITLE,
8420
- Sh as PROMPTS_DESCRIPTION,
8421
- Ld as PROMPT_CLASSNAME,
8422
- Md as PROMPT_EDITABLE_AREA_CLASSNAME,
8423
- rd as Portal,
8424
- su as S,
8396
+ Od as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
8397
+ Nd as LOCAL_STORAGE_REASONING_DISCLOSURE,
8398
+ kd as LOCAL_STORAGE_SEARCH,
8399
+ Rd as LOCAL_STORAGE_SORT,
8400
+ Cd as LOCAL_STORAGE_SORT_TIMESTAMP,
8401
+ _d as LOCAL_STORAGE_SORT_TOKEN_USAGE,
8402
+ ch as LOG_OUT,
8403
+ Nu as Logo,
8404
+ Yu as Match,
8405
+ uh as PROFILE_TITLE,
8406
+ wh as PROMPTS_DESCRIPTION,
8407
+ $d as PROMPT_CLASSNAME,
8408
+ Dd as PROMPT_EDITABLE_AREA_CLASSNAME,
8409
+ td as Portal,
8410
+ nu as S,
8425
8411
  Re as SERVICE_TYPES,
8426
- yh as SETTINGS_TITLE,
8427
- Ph as SassySaint,
8428
- zu as Show,
8429
- Yu as Switch,
8430
- Rh as TOAST_CACHE_DISABLED,
8431
- kh as TOAST_CACHE_ENABLED,
8432
- Ah as TOAST_CHAT_DELETED,
8433
- Ih as TOAST_CHAT_SAVED,
8434
- Th as TOAST_PROVIDER_CHANGED,
8435
- _h as TRIMESTERS,
8436
- Oh as TRIMESTERS_SHORT,
8437
- Kd as UI_BUTTON_SCROLL_BUFFER,
8438
- Hd as UI_DEFAULT_MAIN_HEIGHT,
8439
- Fd as UI_FOOTER_BUFFER,
8440
- hh as USAGE_TITLE,
8412
+ dh as SETTINGS_TITLE,
8413
+ _h as SassySaint,
8414
+ Ju as Show,
8415
+ zu as Switch,
8416
+ Ah as TOAST_CACHE_DISABLED,
8417
+ Th as TOAST_CACHE_ENABLED,
8418
+ vh as TOAST_CHAT_DELETED,
8419
+ Sh as TOAST_CHAT_SAVED,
8420
+ Eh as TOAST_PROVIDER_CHANGED,
8421
+ kh as TRIMESTERS,
8422
+ Rh as TRIMESTERS_SHORT,
8423
+ Ud as UI_BUTTON_SCROLL_BUFFER,
8424
+ Fd as UI_DEFAULT_MAIN_HEIGHT,
8425
+ Md as UI_FOOTER_BUFFER,
8426
+ lh as USAGE_TITLE,
8441
8427
  jr as Y,
8442
- Wd as a,
8428
+ qd as a,
8443
8429
  Aa as addEventListener,
8444
- tu as b,
8430
+ eu as b,
8445
8431
  Hu as batch,
8446
- Qd as c,
8432
+ jd as c,
8447
8433
  Ta as className,
8448
- td as clearDelegatedEvents,
8449
- Ll as convertCamelCaseToReadable,
8450
- fd as convertRemToPixels,
8434
+ ed as clearDelegatedEvents,
8435
+ Dl as convertCamelCaseToReadable,
8436
+ hd as convertRemToPixels,
8451
8437
  na as createComponent,
8452
8438
  Vi as createComputed,
8453
- qu as createContext,
8439
+ Vu as createContext,
8454
8440
  Vn as createEffect,
8455
8441
  H as createMemo,
8456
8442
  Ae as createRenderEffect,
8457
8443
  Te as createRoot,
8458
8444
  z as createSignal,
8459
- Wu as createUniqueId,
8445
+ ju as createUniqueId,
8460
8446
  L as de,
8461
- $l as debounce,
8447
+ xl as debounce,
8462
8448
  Ea as delegateEvents,
8463
- yt as deleteNestedDataByPath,
8464
- ud as displayValue,
8465
- rh as fe,
8466
- jd as getCacheInfo,
8467
- Il as getCurrentGeoLocation,
8449
+ mt as deleteNestedDataByPath,
8450
+ ld as displayValue,
8451
+ Vd as getCacheInfo,
8452
+ Al as getCurrentGeoLocation,
8468
8453
  Ws as getMainPaddingClass,
8469
8454
  js as getMessageContaintWrapperClass,
8470
- cd as getMutationStatusColor,
8471
- yd as getPreferredColorScheme,
8472
- od as getQueryStatusColor,
8473
- ld as getQueryStatusColorByLabel,
8474
- id as getQueryStatusLabel,
8475
- ad as getSidedProp,
8455
+ od as getMutationStatusColor,
8456
+ fd as getPreferredColorScheme,
8457
+ ad as getQueryStatusColor,
8458
+ cd as getQueryStatusColorByLabel,
8459
+ sd as getQueryStatusLabel,
8460
+ id as getSidedProp,
8476
8461
  At as h,
8477
- qd as handleServiceWorkerToggle,
8478
- vd as ht,
8462
+ Gd as handleServiceWorkerToggle,
8479
8463
  Zs as i,
8480
8464
  Bs as i$1,
8481
8465
  Tr as insert,
8482
8466
  Js as isProbablyMobile,
8483
- Dl as isProbablyiPhone,
8467
+ $l as isProbablyiPhone,
8484
8468
  Or as isServiceWorkerEnabled,
8485
8469
  Qs as isTauri,
8486
- Je as it,
8470
+ Qe as it,
8487
8471
  Se as j,
8488
- ou as l,
8489
- Zu as memo,
8472
+ au as l,
8473
+ Xu as memo,
8490
8474
  ia as mergeProps,
8491
- hl as mutateCall,
8492
- hd as mutationSortFns,
8475
+ dl as mutateCall,
8476
+ dd as mutationSortFns,
8493
8477
  Us as n,
8494
- Nl as numberFormatter,
8478
+ Wd as ne,
8479
+ Ol as numberFormatter,
8495
8480
  Xs as o,
8496
- kl as obfuscate,
8497
- zd as oe,
8498
- Bu as on,
8499
- et as onCleanup,
8481
+ Il as obfuscate,
8482
+ Ku as on,
8483
+ Ze as onCleanup,
8500
8484
  Wi as onMount,
8501
- th as pe,
8502
- xl as pluralize,
8503
- uu as r,
8504
- Jd as re,
8505
- Cl as renderDataAsList,
8485
+ Zd as pe,
8486
+ Pl as pluralize,
8487
+ lu as r,
8488
+ Qd as re,
8489
+ Rl as renderDataAsList,
8506
8490
  co as serialize,
8507
- dl as serverUrl,
8491
+ ul as serverUrl,
8508
8492
  Sr as setAttribute,
8509
- nh as setNewProvider,
8510
- dd as sortFns,
8493
+ eh as setNewProvider,
8494
+ ud as sortFns,
8511
8495
  aa as splitProps,
8512
8496
  Ra as spread,
8513
- sd as stringify,
8497
+ nd as stringify,
8514
8498
  Ft as te,
8515
- ed as template,
8516
- Zd as ue,
8517
- Rl as unObfuscate,
8499
+ Zu as template,
8500
+ Xd as ue,
8501
+ kl as unObfuscate,
8518
8502
  Q as untrack,
8519
8503
  ft as updateNestedDataByPath,
8520
8504
  Ca as use,
8521
- ih as useChangelogs,
8522
- oh as useChatsHistory,
8523
- ch as useChatsUsage,
8524
- ju as useContext,
8525
- lh as useEntitlements,
8526
- sh as useServerCapabilities,
8527
- Vu as useTransition,
8528
- ah as useUserChatStats,
8529
- fl as useUserPreferences,
8530
- uh as utilities,
8505
+ rh as useChangelogs,
8506
+ sh as useChatsHistory,
8507
+ ih as useChatsUsage,
8508
+ qu as useContext,
8509
+ ah as useEntitlements,
8510
+ th as useServerCapabilities,
8511
+ Gu as useTransition,
8512
+ nh as useUserChatStats,
8513
+ hl as useUserPreferences,
8514
+ oh as utilities,
8531
8515
  ri as x,
8532
8516
  Xc as y,
8533
- Yd as ye
8517
+ zd as ye
8534
8518
  };