@versini/sassysaint 8.24.3 → 8.24.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,10 +24,10 @@ function ee() {
24
24
  function Ss(e, t) {
25
25
  return typeof e == "function" ? e(t) : e;
26
26
  }
27
- function As(e) {
27
+ function Ts(e) {
28
28
  return typeof e == "number" && e >= 0 && e !== 1 / 0;
29
29
  }
30
- function Ts(e, t) {
30
+ function As(e, t) {
31
31
  return Math.max(e + (t || 0) - Date.now(), 0);
32
32
  }
33
33
  function Qt(e, t) {
@@ -111,15 +111,15 @@ function Or(e) {
111
111
  return Array.isArray(e) && e.length === Object.keys(e).length;
112
112
  }
113
113
  function Xt(e) {
114
- if (!Cr(e))
114
+ if (!_r(e))
115
115
  return !1;
116
116
  const t = e.constructor;
117
117
  if (t === void 0)
118
118
  return !0;
119
119
  const r = t.prototype;
120
- return !(!Cr(r) || !r.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
120
+ return !(!_r(r) || !r.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
121
121
  }
122
- function Cr(e) {
122
+ function _r(e) {
123
123
  return Object.prototype.toString.call(e) === "[object Object]";
124
124
  }
125
125
  function ks(e) {
@@ -147,7 +147,7 @@ function Os(e, t, r = 0) {
147
147
  const n = [...e, t];
148
148
  return r && n.length > r ? n.slice(1) : n;
149
149
  }
150
- function Cs(e, t, r = 0) {
150
+ function _s(e, t, r = 0) {
151
151
  const n = [t, ...e];
152
152
  return r && n.length > r ? n.slice(0, -1) : n;
153
153
  }
@@ -160,7 +160,7 @@ function sn(e, t) {
160
160
  function fl(e, t) {
161
161
  return typeof e == "function" ? e(...t) : !!e;
162
162
  }
163
- var _s = class extends kt {
163
+ var Cs = class extends kt {
164
164
  #e;
165
165
  #t;
166
166
  #r;
@@ -197,7 +197,7 @@ var _s = class extends kt {
197
197
  isFocused() {
198
198
  return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
199
199
  }
200
- }, an = new _s(), Ns = class extends kt {
200
+ }, an = new Cs(), Ns = class extends kt {
201
201
  #e = !0;
202
202
  #t;
203
203
  #r;
@@ -296,8 +296,8 @@ function ln(e) {
296
296
  Promise.resolve(p).then(u).catch((w) => {
297
297
  if (n)
298
298
  return;
299
- const k = e.retry ?? (Rt ? 0 : 3), E = e.retryDelay ?? xs, O = typeof E == "function" ? E(r, w) : E, C = k === !0 || typeof k == "number" && r < k || typeof k == "function" && k(r, w);
300
- if (t || !C) {
299
+ const k = e.retry ?? (Rt ? 0 : 3), E = e.retryDelay ?? xs, O = typeof E == "function" ? E(r, w) : E, _ = k === !0 || typeof k == "number" && r < k || typeof k == "function" && k(r, w);
300
+ if (t || !_) {
301
301
  f(w);
302
302
  return;
303
303
  }
@@ -382,7 +382,7 @@ var W = $s(), un = class {
382
382
  this.clearGcTimeout();
383
383
  }
384
384
  scheduleGc() {
385
- this.clearGcTimeout(), As(this.gcTime) && (this.#e = setTimeout(() => {
385
+ this.clearGcTimeout(), Ts(this.gcTime) && (this.#e = setTimeout(() => {
386
386
  this.optionalRemove();
387
387
  }, this.gcTime));
388
388
  }
@@ -395,7 +395,7 @@ var W = $s(), un = class {
395
395
  clearGcTimeout() {
396
396
  this.#e && (clearTimeout(this.#e), this.#e = void 0);
397
397
  }
398
- }, Ls = class extends un {
398
+ }, Ms = class extends un {
399
399
  #e;
400
400
  #t;
401
401
  #r;
@@ -459,7 +459,7 @@ var W = $s(), un = class {
459
459
  ) : this.state.data === void 0 || this.state.isInvalidated;
460
460
  }
461
461
  isStaleByTime(e = 0) {
462
- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Ts(this.state.dataUpdatedAt, e);
462
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !As(this.state.dataUpdatedAt, e);
463
463
  }
464
464
  onFocus() {
465
465
  this.observers.find((t) => t.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#n?.continue();
@@ -598,7 +598,7 @@ var W = $s(), un = class {
598
598
  case "fetch":
599
599
  return {
600
600
  ...r,
601
- ...Ms(r.data, this.options),
601
+ ...Ls(r.data, this.options),
602
602
  fetchMeta: e.meta ?? null
603
603
  };
604
604
  case "success":
@@ -647,7 +647,7 @@ var W = $s(), un = class {
647
647
  });
648
648
  }
649
649
  };
650
- function Ms(e, t) {
650
+ function Ls(e, t) {
651
651
  return {
652
652
  fetchFailureCount: 0,
653
653
  fetchFailureReason: null,
@@ -683,7 +683,7 @@ var Ks = class extends kt {
683
683
  build(e, t, r) {
684
684
  const n = t.queryKey, s = t.queryHash ?? pr(n, t);
685
685
  let i = this.get(s);
686
- return i || (i = new Ls({
686
+ return i || (i = new Ms({
687
687
  client: e,
688
688
  queryKey: n,
689
689
  queryHash: s,
@@ -1027,7 +1027,7 @@ var Bs = class extends kt {
1027
1027
  function Xe(e) {
1028
1028
  return e.options.scope?.id;
1029
1029
  }
1030
- function _r(e) {
1030
+ function Cr(e) {
1031
1031
  return {
1032
1032
  onFetch: (t, r) => {
1033
1033
  const n = t.options, s = t.fetchOptions?.meta?.fetchMore?.direction, i = t.state.data?.pages || [], o = t.state.data?.pageParams || [];
@@ -1055,10 +1055,10 @@ function _r(e) {
1055
1055
  meta: t.options.meta
1056
1056
  };
1057
1057
  return u(j), j;
1058
- })(), E = await f(k), { maxPages: O } = t.options, C = b ? Cs : Os;
1058
+ })(), E = await f(k), { maxPages: O } = t.options, _ = b ? _s : Os;
1059
1059
  return {
1060
- pages: C(h.pages, E, O),
1061
- pageParams: C(h.pageParams, p, O)
1060
+ pages: _(h.pages, E, O),
1061
+ pageParams: _(h.pageParams, p, O)
1062
1062
  };
1063
1063
  };
1064
1064
  if (s && i.length) {
@@ -1234,13 +1234,13 @@ var js = class {
1234
1234
  return this.fetchQuery(e).then(ee).catch(ee);
1235
1235
  }
1236
1236
  fetchInfiniteQuery(e) {
1237
- return e.behavior = _r(e.pages), this.fetchQuery(e);
1237
+ return e.behavior = Cr(e.pages), this.fetchQuery(e);
1238
1238
  }
1239
1239
  prefetchInfiniteQuery(e) {
1240
1240
  return this.fetchInfiniteQuery(e).then(ee).catch(ee);
1241
1241
  }
1242
1242
  ensureInfiniteQueryData(e) {
1243
- return e.behavior = _r(e.pages), this.ensureQueryData(e);
1243
+ return e.behavior = Cr(e.pages), this.ensureQueryData(e);
1244
1244
  }
1245
1245
  resumePausedMutations() {
1246
1246
  return Be.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
@@ -1327,7 +1327,7 @@ var js = class {
1327
1327
  cleanups: null,
1328
1328
  context: null,
1329
1329
  owner: null
1330
- }, Lt = {}, R = null, x = null, q = null, ue = null, Ot = 0;
1330
+ }, Mt = {}, R = null, x = null, q = null, ue = null, Ot = 0;
1331
1331
  function Ee(e, t) {
1332
1332
  const r = x, n = R, s = e.length === 0, i = t === void 0 ? n : t, o = s ? yn : {
1333
1333
  owned: null,
@@ -1353,21 +1353,21 @@ function Q(e, t) {
1353
1353
  return [gn.bind(r), n];
1354
1354
  }
1355
1355
  function Js(e, t, r) {
1356
- const n = Ct(e, t, !0, fe);
1356
+ const n = _t(e, t, !0, fe);
1357
1357
  xe(n);
1358
1358
  }
1359
1359
  function Se(e, t, r) {
1360
- const n = Ct(e, t, !1, fe);
1360
+ const n = _t(e, t, !1, fe);
1361
1361
  xe(n);
1362
1362
  }
1363
1363
  function mn(e, t, r) {
1364
1364
  hn = si;
1365
- const n = Ct(e, t, !1, fe);
1365
+ const n = _t(e, t, !1, fe);
1366
1366
  (!r || !r.render) && (n.user = !0), ue ? ue.push(n) : xe(n);
1367
1367
  }
1368
1368
  function H(e, t, r) {
1369
1369
  r = r ? Object.assign({}, gt, r) : gt;
1370
- const n = Ct(e, t, !0, 0);
1370
+ const n = _t(e, t, !0, 0);
1371
1371
  return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, xe(n), gn.bind(n);
1372
1372
  }
1373
1373
  function zs(e) {
@@ -1376,21 +1376,21 @@ function zs(e) {
1376
1376
  function Qs(e, t, r) {
1377
1377
  let n, s, i;
1378
1378
  n = !0, s = e, i = {};
1379
- let o = null, a = Lt, c = !1, l = "initialValue" in i, d = typeof n == "function" && H(n);
1379
+ let o = null, a = Mt, c = !1, l = "initialValue" in i, d = typeof n == "function" && H(n);
1380
1380
  const u = /* @__PURE__ */ new Set(), [f, y] = (i.storage || Q)(i.initialValue), [h, p] = Q(void 0), [b, w] = Q(void 0, {
1381
1381
  equals: !1
1382
1382
  }), [k, E] = Q(l ? "ready" : "unresolved");
1383
- function O(I, S, A, P) {
1383
+ function O(I, S, T, P) {
1384
1384
  return o === I && (o = null, P !== void 0 && (l = !0), (I === a || S === a) && i.onHydrated && queueMicrotask(
1385
1385
  () => i.onHydrated(P, {
1386
1386
  value: S
1387
1387
  })
1388
- ), a = Lt, C(S, A)), S;
1388
+ ), a = Mt, _(S, T)), S;
1389
1389
  }
1390
- function C(I, S) {
1390
+ function _(I, S) {
1391
1391
  ie(() => {
1392
1392
  S === void 0 && y(() => I), E(S !== void 0 ? "errored" : l ? "ready" : "unresolved"), p(S);
1393
- for (const A of u.keys()) A.decrement();
1393
+ for (const T of u.keys()) T.decrement();
1394
1394
  u.clear();
1395
1395
  }, !1);
1396
1396
  }
@@ -1407,18 +1407,18 @@ function Qs(e, t, r) {
1407
1407
  O(o, V(f));
1408
1408
  return;
1409
1409
  }
1410
- const A = a !== Lt ? a : V(
1410
+ const T = a !== Mt ? a : V(
1411
1411
  () => s(S, {
1412
1412
  value: f(),
1413
1413
  refetching: I
1414
1414
  })
1415
1415
  );
1416
- return zs(A) ? (o = A, "value" in A ? (A.status === "success" ? O(o, A.value, void 0, S) : O(o, void 0, Zt(A.value), S), A) : (c = !0, queueMicrotask(() => c = !1), ie(() => {
1416
+ return zs(T) ? (o = T, "value" in T ? (T.status === "success" ? O(o, T.value, void 0, S) : O(o, void 0, Zt(T.value), S), T) : (c = !0, queueMicrotask(() => c = !1), ie(() => {
1417
1417
  E(l ? "refreshing" : "pending"), w();
1418
- }, !1), A.then(
1419
- (P) => O(A, P, void 0, S),
1420
- (P) => O(A, void 0, Zt(P), S)
1421
- ))) : (O(o, A, void 0, S), A);
1418
+ }, !1), T.then(
1419
+ (P) => O(T, P, void 0, S),
1420
+ (P) => O(T, void 0, Zt(P), S)
1421
+ ))) : (O(o, T, void 0, S), T);
1422
1422
  }
1423
1423
  return Object.defineProperties(j, {
1424
1424
  state: {
@@ -1575,7 +1575,7 @@ function ri(e, t, r) {
1575
1575
  }
1576
1576
  (!e.updatedAt || e.updatedAt <= r) && (e.updatedAt != null && "observers" in e ? bn(e, n) : e.value = n, e.updatedAt = r);
1577
1577
  }
1578
- function Ct(e, t, r, n = fe, s) {
1578
+ function _t(e, t, r, n = fe, s) {
1579
1579
  const i = {
1580
1580
  fn: e,
1581
1581
  state: n,
@@ -1714,7 +1714,7 @@ function ai(e, t, r = {}) {
1714
1714
  return Ve(() => Et(i)), () => {
1715
1715
  let c = e() || [], l = c.length, d, u;
1716
1716
  return V(() => {
1717
- let y, h, p, b, w, k, E, O, C;
1717
+ let y, h, p, b, w, k, E, O, _;
1718
1718
  if (l === 0)
1719
1719
  o !== 0 && (Et(i), i = [], n = [], s = [], o = 0, a && (a = [])), r.fallback && (n = [tr], s[0] = Ee((j) => (i[0] = j, r.fallback())), o = 1);
1720
1720
  else if (o === 0) {
@@ -1726,9 +1726,9 @@ function ai(e, t, r = {}) {
1726
1726
  for (E = o - 1, O = l - 1; E >= k && O >= k && n[E] === c[O]; E--, O--)
1727
1727
  p[O] = s[E], b[O] = i[E], a && (w[O] = a[E]);
1728
1728
  for (y = /* @__PURE__ */ new Map(), h = new Array(O + 1), u = O; u >= k; u--)
1729
- C = c[u], d = y.get(C), h[u] = d === void 0 ? -1 : d, y.set(C, u);
1729
+ _ = c[u], d = y.get(_), h[u] = d === void 0 ? -1 : d, y.set(_, u);
1730
1730
  for (d = k; d <= E; d++)
1731
- C = n[d], u = y.get(C), u !== void 0 && u !== -1 ? (p[u] = s[d], b[u] = i[d], a && (w[u] = a[d]), u = h[u], y.set(C, u)) : i[d]();
1731
+ _ = n[d], u = y.get(_), u !== void 0 && u !== -1 ? (p[u] = s[d], b[u] = i[d], a && (w[u] = a[d]), u = h[u], y.set(_, u)) : i[d]();
1732
1732
  for (u = k; u < l; u++)
1733
1733
  u in p ? (s[u] = p[u], i[u] = b[u], a && (a[u] = w[u], a[u](u))) : s[u] = Ee(f);
1734
1734
  s = s.slice(0, o = l), n = c.slice(0);
@@ -1794,7 +1794,7 @@ var rr = {
1794
1794
  return e.keys();
1795
1795
  }
1796
1796
  };
1797
- function Mt(e) {
1797
+ function Lt(e) {
1798
1798
  return (e = typeof e == "function" ? e() : e) ? e : {};
1799
1799
  }
1800
1800
  function li() {
@@ -1814,19 +1814,19 @@ function ui(...e) {
1814
1814
  {
1815
1815
  get(o) {
1816
1816
  for (let a = e.length - 1; a >= 0; a--) {
1817
- const c = Mt(e[a])[o];
1817
+ const c = Lt(e[a])[o];
1818
1818
  if (c !== void 0) return c;
1819
1819
  }
1820
1820
  },
1821
1821
  has(o) {
1822
1822
  for (let a = e.length - 1; a >= 0; a--)
1823
- if (o in Mt(e[a])) return !0;
1823
+ if (o in Lt(e[a])) return !0;
1824
1824
  return !1;
1825
1825
  },
1826
1826
  keys() {
1827
1827
  const o = [];
1828
1828
  for (let a = 0; a < e.length; a++)
1829
- o.push(...Object.keys(Mt(e[a])));
1829
+ o.push(...Object.keys(Lt(e[a])));
1830
1830
  return [...new Set(o)];
1831
1831
  }
1832
1832
  },
@@ -1958,7 +1958,7 @@ function Sl(e) {
1958
1958
  void 0
1959
1959
  );
1960
1960
  }
1961
- function Al(e) {
1961
+ function Tl(e) {
1962
1962
  const t = pn(() => e.children), r = H(() => {
1963
1963
  const n = t(), s = Array.isArray(n) ? n : [n];
1964
1964
  let i = () => {
@@ -1993,7 +1993,7 @@ function Al(e) {
1993
1993
  void 0
1994
1994
  );
1995
1995
  }
1996
- function Tl(e) {
1996
+ function Al(e) {
1997
1997
  return e;
1998
1998
  }
1999
1999
  var yi = [
@@ -2173,7 +2173,7 @@ var vi = /* @__PURE__ */ new Set([
2173
2173
  xlink: "http://www.w3.org/1999/xlink",
2174
2174
  xml: "http://www.w3.org/XML/1998/namespace"
2175
2175
  };
2176
- function Ai(e, t, r) {
2176
+ function Ti(e, t, r) {
2177
2177
  let n = r.length, s = t.length, i = n, o = 0, a = 0, c = t[s - 1].nextSibling, l = null;
2178
2178
  for (; o < s || a < i; ) {
2179
2179
  if (t[o] === r[a]) {
@@ -2212,8 +2212,8 @@ function Ai(e, t, r) {
2212
2212
  }
2213
2213
  }
2214
2214
  }
2215
- var Le = "_$DX_DELEGATE";
2216
- function Ti(e, t, r, n = {}) {
2215
+ var Me = "_$DX_DELEGATE";
2216
+ function Ai(e, t, r, n = {}) {
2217
2217
  let s;
2218
2218
  return Ee((i) => {
2219
2219
  s = i, t === document ? e() : sr(t, e(), t.firstChild ? null : void 0, r);
@@ -2230,16 +2230,16 @@ function Il(e, t, r, n) {
2230
2230
  return o.cloneNode = o, o;
2231
2231
  }
2232
2232
  function Ii(e, t = window.document) {
2233
- const r = t[Le] || (t[Le] = /* @__PURE__ */ new Set());
2233
+ const r = t[Me] || (t[Me] = /* @__PURE__ */ new Set());
2234
2234
  for (let n = 0, s = e.length; n < s; n++) {
2235
2235
  const i = e[n];
2236
2236
  r.has(i) || (r.add(i), t.addEventListener(i, Sn));
2237
2237
  }
2238
2238
  }
2239
2239
  function kl(e = window.document) {
2240
- if (e[Le]) {
2241
- for (let t of e[Le].keys()) e.removeEventListener(t, Sn);
2242
- delete e[Le];
2240
+ if (e[Me]) {
2241
+ for (let t of e[Me].keys()) e.removeEventListener(t, Sn);
2242
+ delete e[Me];
2243
2243
  }
2244
2244
  }
2245
2245
  function nr(e, t, r) {
@@ -2254,7 +2254,7 @@ function Ri(e, t, r) {
2254
2254
  function Oi(e, t) {
2255
2255
  t == null ? e.removeAttribute("class") : e.className = t;
2256
2256
  }
2257
- function Ci(e, t, r, n) {
2257
+ function _i(e, t, r, n) {
2258
2258
  if (n)
2259
2259
  Array.isArray(r) ? (e[`$$${t}`] = r[0], e[`$$${t}Data`] = r[1]) : e[`$$${t}`] = r;
2260
2260
  else if (Array.isArray(r)) {
@@ -2262,7 +2262,7 @@ function Ci(e, t, r, n) {
2262
2262
  e.addEventListener(t, r[0] = (i) => s.call(e, r[1], i));
2263
2263
  } else e.addEventListener(t, r, typeof r != "function" && r);
2264
2264
  }
2265
- function _i(e, t, r = {}) {
2265
+ function Ci(e, t, r = {}) {
2266
2266
  const n = Object.keys(t || {}), s = Object.keys(r);
2267
2267
  let i, o;
2268
2268
  for (i = 0, o = s.length; i < o; i++) {
@@ -2325,7 +2325,7 @@ function Pr(e, t, r) {
2325
2325
  function xr(e, t, r, n, s, i, o) {
2326
2326
  let a, c, l, d, u;
2327
2327
  if (t === "style") return Ni(e, r, n);
2328
- if (t === "classList") return _i(e, r, n);
2328
+ if (t === "classList") return Ci(e, r, n);
2329
2329
  if (r === n) return n;
2330
2330
  if (t === "ref")
2331
2331
  i || r(e);
@@ -2341,7 +2341,7 @@ function xr(e, t, r, n, s, i, o) {
2341
2341
  const h = Array.isArray(n) ? n[0] : n;
2342
2342
  e.removeEventListener(f, h);
2343
2343
  }
2344
- (y || r) && (Ci(e, f, r, y), y && Ii([f]));
2344
+ (y || r) && (_i(e, f, r, y), y && Ii([f]));
2345
2345
  } else if (t.slice(0, 5) === "attr:")
2346
2346
  nr(e, t.slice(5), r);
2347
2347
  else if (t.slice(0, 5) === "bool:")
@@ -2397,11 +2397,11 @@ function qe(e, t, r, n, s) {
2397
2397
  return r;
2398
2398
  if (o) {
2399
2399
  let a = r[0];
2400
- a && a.nodeType === 3 ? a.data !== t && (a.data = t) : a = document.createTextNode(t), r = Te(e, r, n, a);
2400
+ a && a.nodeType === 3 ? a.data !== t && (a.data = t) : a = document.createTextNode(t), r = Ae(e, r, n, a);
2401
2401
  } else
2402
2402
  r !== "" && typeof r == "string" ? r = e.firstChild.data = t : r = e.textContent = t;
2403
2403
  } else if (t == null || i === "boolean")
2404
- r = Te(e, r, n);
2404
+ r = Ae(e, r, n);
2405
2405
  else {
2406
2406
  if (i === "function")
2407
2407
  return Se(() => {
@@ -2414,13 +2414,13 @@ function qe(e, t, r, n, s) {
2414
2414
  if (ir(a, t, r, s))
2415
2415
  return Se(() => r = qe(e, a, r, n, !0)), () => r;
2416
2416
  if (a.length === 0) {
2417
- if (r = Te(e, r, n), o) return r;
2418
- } else c ? r.length === 0 ? Dr(e, a, n) : Ai(e, r, a) : (r && Te(e), Dr(e, a));
2417
+ if (r = Ae(e, r, n), o) return r;
2418
+ } else c ? r.length === 0 ? Dr(e, a, n) : Ti(e, r, a) : (r && Ae(e), Dr(e, a));
2419
2419
  r = a;
2420
2420
  } else if (t.nodeType) {
2421
2421
  if (Array.isArray(r)) {
2422
- if (o) return r = Te(e, r, n, t);
2423
- Te(e, r, null, t);
2422
+ if (o) return r = Ae(e, r, n, t);
2423
+ Ae(e, r, null, t);
2424
2424
  } else r == null || r === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
2425
2425
  r = t;
2426
2426
  }
@@ -2455,7 +2455,7 @@ function ir(e, t, r, n) {
2455
2455
  function Dr(e, t, r = null) {
2456
2456
  for (let n = 0, s = t.length; n < s; n++) e.insertBefore(t[n], r);
2457
2457
  }
2458
- function Te(e, t, r, n) {
2458
+ function Ae(e, t, r, n) {
2459
2459
  if (r === void 0) return e.textContent = "";
2460
2460
  const s = n || document.createTextNode("");
2461
2461
  if (t.length) {
@@ -2470,9 +2470,9 @@ function Te(e, t, r, n) {
2470
2470
  } else e.insertBefore(s, r);
2471
2471
  return [s];
2472
2472
  }
2473
- var Li = "http://www.w3.org/2000/svg";
2474
- function An(e, t = !1) {
2475
- return t ? document.createElementNS(Li, e) : document.createElement(e);
2473
+ var Mi = "http://www.w3.org/2000/svg";
2474
+ function Tn(e, t = !1) {
2475
+ return t ? document.createElementNS(Mi, e) : document.createElement(e);
2476
2476
  }
2477
2477
  function Rl(e) {
2478
2478
  const { useShadow: t } = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = Xs();
@@ -2485,7 +2485,7 @@ function Rl(e) {
2485
2485
  const [a, c] = Q(!1), l = () => c(!0);
2486
2486
  Ee((d) => sr(o, () => a() ? d() : i(), null)), Ve(l);
2487
2487
  } else {
2488
- const a = An(e.isSVG ? "g" : "div", e.isSVG), c = t && a.attachShadow ? a.attachShadow({
2488
+ const a = Tn(e.isSVG ? "g" : "div", e.isSVG), c = t && a.attachShadow ? a.attachShadow({
2489
2489
  mode: "open"
2490
2490
  }) : a;
2491
2491
  Object.defineProperty(a, "_$host", {
@@ -2502,7 +2502,7 @@ function Rl(e) {
2502
2502
  }
2503
2503
  ), r;
2504
2504
  }
2505
- function Mi(e, t) {
2505
+ function Li(e, t) {
2506
2506
  const r = H(e);
2507
2507
  return H(() => {
2508
2508
  const n = r();
@@ -2510,14 +2510,14 @@ function Mi(e, t) {
2510
2510
  case "function":
2511
2511
  return V(() => n(t));
2512
2512
  case "string":
2513
- const s = Ei.has(n), i = An(n, s);
2513
+ const s = Ei.has(n), i = Tn(n, s);
2514
2514
  return Pi(i, t, s), i;
2515
2515
  }
2516
2516
  });
2517
2517
  }
2518
2518
  function Ol(e) {
2519
2519
  const [, t] = di(e, ["component"]);
2520
- return Mi(() => e.component, t);
2520
+ return Li(() => e.component, t);
2521
2521
  }
2522
2522
  var Ui = class {
2523
2523
  constructor() {
@@ -2535,7 +2535,7 @@ var Ui = class {
2535
2535
  clear() {
2536
2536
  this.keyToValue.clear(), this.valueToKey.clear();
2537
2537
  }
2538
- }, Tn = class {
2538
+ }, An = class {
2539
2539
  constructor(e) {
2540
2540
  this.generateIdentifier = e, this.kv = new Ui();
2541
2541
  }
@@ -2551,7 +2551,7 @@ var Ui = class {
2551
2551
  getValue(e) {
2552
2552
  return this.kv.getByKey(e);
2553
2553
  }
2554
- }, Ki = class extends Tn {
2554
+ }, Ki = class extends An {
2555
2555
  constructor() {
2556
2556
  super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
2557
2557
  }
@@ -2607,7 +2607,7 @@ var Bi = class {
2607
2607
  findByName(e) {
2608
2608
  return this.transfomers[e];
2609
2609
  }
2610
- }, Vi = (e) => Object.prototype.toString.call(e).slice(8, -1), In = (e) => typeof e > "u", ji = (e) => e === null, Ge = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, ar = (e) => Ge(e) && Object.keys(e).length === 0, ge = (e) => Array.isArray(e), qi = (e) => typeof e == "string", Gi = (e) => typeof e == "number" && !isNaN(e), Wi = (e) => typeof e == "boolean", Ji = (e) => e instanceof RegExp, We = (e) => e instanceof Map, Je = (e) => e instanceof Set, kn = (e) => Vi(e) === "Symbol", zi = (e) => e instanceof Date && !isNaN(e.valueOf()), Qi = (e) => e instanceof Error, Lr = (e) => typeof e == "number" && isNaN(e), Yi = (e) => Wi(e) || ji(e) || In(e) || Gi(e) || qi(e) || kn(e), Xi = (e) => typeof e == "bigint", Zi = (e) => e === 1 / 0 || e === -1 / 0, ea = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), ta = (e) => e instanceof URL, Rn = (e) => e.replace(/\./g, "\\."), Ut = (e) => e.map(String).map(Rn).join("."), Me = (e) => {
2610
+ }, Vi = (e) => Object.prototype.toString.call(e).slice(8, -1), In = (e) => typeof e > "u", ji = (e) => e === null, Ge = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, ar = (e) => Ge(e) && Object.keys(e).length === 0, ge = (e) => Array.isArray(e), qi = (e) => typeof e == "string", Gi = (e) => typeof e == "number" && !isNaN(e), Wi = (e) => typeof e == "boolean", Ji = (e) => e instanceof RegExp, We = (e) => e instanceof Map, Je = (e) => e instanceof Set, kn = (e) => Vi(e) === "Symbol", zi = (e) => e instanceof Date && !isNaN(e.valueOf()), Qi = (e) => e instanceof Error, Mr = (e) => typeof e == "number" && isNaN(e), Yi = (e) => Wi(e) || ji(e) || In(e) || Gi(e) || qi(e) || kn(e), Xi = (e) => typeof e == "bigint", Zi = (e) => e === 1 / 0 || e === -1 / 0, ea = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), ta = (e) => e instanceof URL, Rn = (e) => e.replace(/\./g, "\\."), Ut = (e) => e.map(String).map(Rn).join("."), Le = (e) => {
2611
2611
  const t = [];
2612
2612
  let r = "";
2613
2613
  for (let s = 0; s < e.length; s++) {
@@ -2665,11 +2665,11 @@ var On = [
2665
2665
  (e) => new Set(e)
2666
2666
  ),
2667
2667
  re(We, "map", (e) => [...e.entries()], (e) => new Map(e)),
2668
- re((e) => Lr(e) || Zi(e), "number", (e) => Lr(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2668
+ re((e) => Mr(e) || Zi(e), "number", (e) => Mr(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2669
2669
  re((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
2670
2670
  re(ta, "URL", (e) => e.toString(), (e) => new URL(e))
2671
2671
  ];
2672
- function _t(e, t, r, n) {
2672
+ function Ct(e, t, r, n) {
2673
2673
  return {
2674
2674
  isApplicable: e,
2675
2675
  annotation: t,
@@ -2677,7 +2677,7 @@ function _t(e, t, r, n) {
2677
2677
  untransform: n
2678
2678
  };
2679
2679
  }
2680
- var Cn = _t((e, t) => kn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, r) => {
2680
+ var _n = Ct((e, t) => kn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, r) => {
2681
2681
  const n = r.symbolRegistry.getValue(t[1]);
2682
2682
  if (!n)
2683
2683
  throw new Error("Trying to deserialize unknown symbol");
@@ -2692,7 +2692,7 @@ var Cn = _t((e, t) => kn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
2692
2692
  Float32Array,
2693
2693
  Float64Array,
2694
2694
  Uint8ClampedArray
2695
- ].reduce((e, t) => (e[t.name] = t, e), {}), _n = _t(ea, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2695
+ ].reduce((e, t) => (e[t.name] = t, e), {}), Cn = Ct(ea, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2696
2696
  const r = ra[t[1]];
2697
2697
  if (!r)
2698
2698
  throw new Error("Trying to deserialize unknown typed array");
@@ -2701,7 +2701,7 @@ var Cn = _t((e, t) => kn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
2701
2701
  function Nn(e, t) {
2702
2702
  return e?.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
2703
2703
  }
2704
- var Pn = _t(Nn, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
2704
+ var Pn = Ct(Nn, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
2705
2705
  const r = t.classRegistry.getAllowedProps(e.constructor);
2706
2706
  if (!r)
2707
2707
  return { ...e };
@@ -2714,12 +2714,12 @@ var Pn = _t(Nn, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
2714
2714
  if (!n)
2715
2715
  throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");
2716
2716
  return Object.assign(Object.create(n.prototype), e);
2717
- }), xn = _t((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, r) => {
2717
+ }), xn = Ct((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, r) => {
2718
2718
  const n = r.customTransformerRegistry.findByName(t[1]);
2719
2719
  if (!n)
2720
2720
  throw new Error("Trying to deserialize unknown custom value");
2721
2721
  return n.deserialize(e);
2722
- }), na = [Pn, Cn, xn, _n], Mr = (e, t) => {
2722
+ }), na = [Pn, _n, xn, Cn], Lr = (e, t) => {
2723
2723
  const r = $r(na, (s) => s.isApplicable(e, t));
2724
2724
  if (r)
2725
2725
  return {
@@ -2740,13 +2740,13 @@ var sa = (e, t, r) => {
2740
2740
  if (ge(t))
2741
2741
  switch (t[0]) {
2742
2742
  case "symbol":
2743
- return Cn.untransform(e, t, r);
2743
+ return _n.untransform(e, t, r);
2744
2744
  case "class":
2745
2745
  return Pn.untransform(e, t, r);
2746
2746
  case "custom":
2747
2747
  return xn.untransform(e, t, r);
2748
2748
  case "typed-array":
2749
- return _n.untransform(e, t, r);
2749
+ return Cn.untransform(e, t, r);
2750
2750
  default:
2751
2751
  throw new Error("Unknown transformation: " + t);
2752
2752
  }
@@ -2756,7 +2756,7 @@ var sa = (e, t, r) => {
2756
2756
  throw new Error("Unknown transformation: " + t);
2757
2757
  return n.untransform(e, r);
2758
2758
  }
2759
- }, _e = (e, t) => {
2759
+ }, Ce = (e, t) => {
2760
2760
  const r = e.keys();
2761
2761
  for (; t > 0; )
2762
2762
  r.next(), t--;
@@ -2775,9 +2775,9 @@ var ia = (e, t) => {
2775
2775
  for (let r = 0; r < t.length; r++) {
2776
2776
  const n = t[r];
2777
2777
  if (Je(e))
2778
- e = _e(e, +n);
2778
+ e = Ce(e, +n);
2779
2779
  else if (We(e)) {
2780
- const s = +n, i = +t[++r] == 0 ? "key" : "value", o = _e(e, s);
2780
+ const s = +n, i = +t[++r] == 0 ? "key" : "value", o = Ce(e, s);
2781
2781
  switch (i) {
2782
2782
  case "key":
2783
2783
  e = o;
@@ -2803,11 +2803,11 @@ var ia = (e, t) => {
2803
2803
  n = n[o];
2804
2804
  else if (Je(n)) {
2805
2805
  const a = +o;
2806
- n = _e(n, a);
2806
+ n = Ce(n, a);
2807
2807
  } else if (We(n)) {
2808
2808
  if (i === t.length - 2)
2809
2809
  break;
2810
- const c = +o, l = +t[++i] == 0 ? "key" : "value", d = _e(n, c);
2810
+ const c = +o, l = +t[++i] == 0 ? "key" : "value", d = Ce(n, c);
2811
2811
  switch (l) {
2812
2812
  case "key":
2813
2813
  n = d;
@@ -2820,11 +2820,11 @@ var ia = (e, t) => {
2820
2820
  }
2821
2821
  const s = t[t.length - 1];
2822
2822
  if (ge(n) ? n[+s] = r(n[+s]) : Ge(n) && (n[s] = r(n[s])), Je(n)) {
2823
- const i = _e(n, +s), o = r(i);
2823
+ const i = Ce(n, +s), o = r(i);
2824
2824
  i !== o && (n.delete(i), n.add(o));
2825
2825
  }
2826
2826
  if (We(n)) {
2827
- const i = +t[t.length - 2], o = _e(n, i);
2827
+ const i = +t[t.length - 2], o = Ce(n, i);
2828
2828
  switch (+s == 0 ? "key" : "value") {
2829
2829
  case "key": {
2830
2830
  const c = r(o);
@@ -2843,12 +2843,12 @@ function cr(e, t, r = []) {
2843
2843
  if (!e)
2844
2844
  return;
2845
2845
  if (!ge(e)) {
2846
- Ne(e, (i, o) => cr(i, t, [...r, ...Me(o)]));
2846
+ Ne(e, (i, o) => cr(i, t, [...r, ...Le(o)]));
2847
2847
  return;
2848
2848
  }
2849
2849
  const [n, s] = e;
2850
2850
  s && Ne(s, (i, o) => {
2851
- cr(i, t, [...r, ...Me(o)]);
2851
+ cr(i, t, [...r, ...Le(o)]);
2852
2852
  }), t(n, r);
2853
2853
  }
2854
2854
  function aa(e, t, r) {
@@ -2858,15 +2858,15 @@ function aa(e, t, r) {
2858
2858
  }
2859
2859
  function oa(e, t) {
2860
2860
  function r(n, s) {
2861
- const i = ia(e, Me(s));
2862
- n.map(Me).forEach((o) => {
2861
+ const i = ia(e, Le(s));
2862
+ n.map(Le).forEach((o) => {
2863
2863
  e = or(e, o, () => i);
2864
2864
  });
2865
2865
  }
2866
2866
  if (ge(t)) {
2867
2867
  const [n, s] = t;
2868
2868
  n.forEach((i) => {
2869
- e = or(e, Me(i), () => e);
2869
+ e = or(e, Le(i), () => e);
2870
2870
  }), s && Ne(s, r);
2871
2871
  } else
2872
2872
  Ne(t, r);
@@ -2888,7 +2888,7 @@ function ua(e, t) {
2888
2888
  i.length === 0 ? n = o.map(Ut) : r[Ut(i)] = o.map(Ut);
2889
2889
  }), n ? ar(r) ? [n] : [n, r] : ar(r) ? void 0 : r;
2890
2890
  }
2891
- var Ln = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
2891
+ var Mn = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
2892
2892
  const a = Yi(e);
2893
2893
  if (!a) {
2894
2894
  la(e, s, t);
@@ -2899,7 +2899,7 @@ var Ln = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
2899
2899
  } : y;
2900
2900
  }
2901
2901
  if (!ca(e, r)) {
2902
- const y = Mr(e, r), h = y ? {
2902
+ const y = Lr(e, r), h = y ? {
2903
2903
  transformedValue: y.value,
2904
2904
  annotations: [y.type]
2905
2905
  } : {
@@ -2911,11 +2911,11 @@ var Ln = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
2911
2911
  return {
2912
2912
  transformedValue: null
2913
2913
  };
2914
- const c = Mr(e, r), l = c?.value ?? e, d = ge(l) ? [] : {}, u = {};
2914
+ const c = Lr(e, r), l = c?.value ?? e, d = ge(l) ? [] : {}, u = {};
2915
2915
  Ne(l, (y, h) => {
2916
2916
  if (h === "__proto__" || h === "constructor" || h === "prototype")
2917
2917
  throw new Error(`Detected property ${h}. This is a prototype pollution risk, please remove it from your object.`);
2918
- const p = Ln(y, t, r, n, [...s, h], [...i, e], o);
2918
+ const p = Mn(y, t, r, n, [...s, h], [...i, e], o);
2919
2919
  d[h] = p.transformedValue, ge(p.annotations) ? u[h] = p.annotations : Ge(p.annotations) && Ne(p.annotations, (b, w) => {
2920
2920
  u[Rn(h) + "." + w] = b;
2921
2921
  });
@@ -2929,14 +2929,14 @@ var Ln = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
2929
2929
  };
2930
2930
  return a || o.set(e, f), f;
2931
2931
  };
2932
- function Mn(e) {
2932
+ function Ln(e) {
2933
2933
  return Object.prototype.toString.call(e).slice(8, -1);
2934
2934
  }
2935
2935
  function Ur(e) {
2936
- return Mn(e) === "Array";
2936
+ return Ln(e) === "Array";
2937
2937
  }
2938
2938
  function da(e) {
2939
- if (Mn(e) !== "Object")
2939
+ if (Ln(e) !== "Object")
2940
2940
  return !1;
2941
2941
  const t = Object.getPrototypeOf(e);
2942
2942
  return !!t && t.constructor === Object && t === Object.prototype;
@@ -2968,10 +2968,10 @@ var N = class {
2968
2968
  * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
2969
2969
  */
2970
2970
  constructor({ dedupe: e = !1 } = {}) {
2971
- this.classRegistry = new Ki(), this.symbolRegistry = new Tn((t) => t.description ?? ""), this.customTransformerRegistry = new Bi(), this.allowedErrorProps = [], this.dedupe = e;
2971
+ this.classRegistry = new Ki(), this.symbolRegistry = new An((t) => t.description ?? ""), this.customTransformerRegistry = new Bi(), this.allowedErrorProps = [], this.dedupe = e;
2972
2972
  }
2973
2973
  serialize(e) {
2974
- const t = /* @__PURE__ */ new Map(), r = Ln(e, t, this, this.dedupe), n = {
2974
+ const t = /* @__PURE__ */ new Map(), r = Mn(e, t, this, this.dedupe), n = {
2975
2975
  json: r.transformedValue
2976
2976
  };
2977
2977
  r.annotations && (n.meta = {
@@ -3020,8 +3020,8 @@ N.registerClass = N.defaultInstance.registerClass.bind(N.defaultInstance);
3020
3020
  N.registerSymbol = N.defaultInstance.registerSymbol.bind(N.defaultInstance);
3021
3021
  N.registerCustom = N.defaultInstance.registerCustom.bind(N.defaultInstance);
3022
3022
  N.allowErrorProps = N.defaultInstance.allowErrorProps.bind(N.defaultInstance);
3023
- var ha = N.serialize, Cl = N.stringify;
3024
- function _l(e) {
3023
+ var ha = N.serialize, _l = N.stringify;
3024
+ function Cl(e) {
3025
3025
  return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
3026
3026
  }
3027
3027
  function Nl(e, t) {
@@ -3048,11 +3048,11 @@ var $l = (e, t = !1) => {
3048
3048
  json: r
3049
3049
  } = ha(e);
3050
3050
  return JSON.stringify(r, null, t ? 2 : void 0);
3051
- }, et = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, ya = (e, t) => e.queryHash.localeCompare(t.queryHash), Un = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, ma = (e, t) => et(e) === et(t) ? Un(e, t) : et(e) > et(t) ? 1 : -1, Ll = {
3051
+ }, et = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, ya = (e, t) => e.queryHash.localeCompare(t.queryHash), Un = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, ma = (e, t) => et(e) === et(t) ? Un(e, t) : et(e) > et(t) ? 1 : -1, Ml = {
3052
3052
  status: ma,
3053
3053
  "query hash": ya,
3054
3054
  "last updated": Un
3055
- }, tt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Kn = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, pa = (e, t) => tt(e) === tt(t) ? Kn(e, t) : tt(e) > tt(t) ? 1 : -1, Ml = {
3055
+ }, tt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Kn = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, pa = (e, t) => tt(e) === tt(t) ? Kn(e, t) : tt(e) > tt(t) ? 1 : -1, Ll = {
3056
3056
  status: pa,
3057
3057
  "last updated": Kn
3058
3058
  }, Ul = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), Kl = () => {
@@ -3176,10 +3176,10 @@ var $l = (e, t = !1) => {
3176
3176
  mount(e) {
3177
3177
  if (this.#n)
3178
3178
  throw new Error("Devtools is already mounted");
3179
- const t = Ti(() => {
3179
+ const t = Ai(() => {
3180
3180
  const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [o] = this.#u, [a] = this.#e;
3181
3181
  let c;
3182
- return this.#d ? c = this.#d : (c = fi(() => import("./I3HPI4QX.U3OQFYKk.js")), this.#d = c), ga(this.#o, this.#a), ci(c, ui({
3182
+ return this.#d ? c = this.#d : (c = fi(() => import("./I3HPI4QX._qpqNfhW.js")), this.#d = c), ga(this.#o, this.#a), ci(c, ui({
3183
3183
  get queryFlavor() {
3184
3184
  return r.#r;
3185
3185
  },
@@ -3284,7 +3284,7 @@ const Ue = {
3284
3284
  NONCE_KEY: "_nonce",
3285
3285
  AUTH_TYPE_KEY: "auth_type",
3286
3286
  ISSUER: "gizmette.com"
3287
- }, Aa = `-----BEGIN PUBLIC KEY-----
3287
+ }, Ta = `-----BEGIN PUBLIC KEY-----
3288
3288
  MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
3289
3289
  w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
3290
3290
  i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
@@ -3298,7 +3298,7 @@ awIDAQAB
3298
3298
  LOGIN: "login",
3299
3299
  REFRESH: "refresh"
3300
3300
  }, st = new TextEncoder(), Pe = new TextDecoder();
3301
- function Ta(...e) {
3301
+ function Aa(...e) {
3302
3302
  const t = e.reduce((s, { length: i }) => s + i, 0), r = new Uint8Array(t);
3303
3303
  let n = 0;
3304
3304
  for (const s of e)
@@ -3357,12 +3357,12 @@ let me = class extends be {
3357
3357
  }
3358
3358
  };
3359
3359
  D(me, "code", "ERR_JOSE_NOT_SUPPORTED");
3360
- let L = class extends be {
3360
+ let M = class extends be {
3361
3361
  constructor() {
3362
3362
  super(...arguments), D(this, "code", "ERR_JWS_INVALID");
3363
3363
  }
3364
3364
  };
3365
- D(L, "code", "ERR_JWS_INVALID");
3365
+ D(M, "code", "ERR_JWS_INVALID");
3366
3366
  let ne = class extends be {
3367
3367
  constructor() {
3368
3368
  super(...arguments), D(this, "code", "ERR_JWT_INVALID");
@@ -3461,7 +3461,7 @@ function Vn(e, t, ...r) {
3461
3461
  } else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
3462
3462
  return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && (n = t.constructor) != null && n.name && (e += ` Received an instance of ${t.constructor.name}`), e;
3463
3463
  }
3464
- const Ca = (e, ...t) => Vn("Key must be ", e, ...t);
3464
+ const _a = (e, ...t) => Vn("Key must be ", e, ...t);
3465
3465
  function jn(e, t, ...r) {
3466
3466
  return Vn(`Key for the ${e} algorithm must be `, t, ...r);
3467
3467
  }
@@ -3471,7 +3471,7 @@ function qn(e) {
3471
3471
  function Gn(e) {
3472
3472
  return e?.[Symbol.toStringTag] === "KeyObject";
3473
3473
  }
3474
- const Wn = (e) => qn(e) || Gn(e), _a = (...e) => {
3474
+ const Wn = (e) => qn(e) || Gn(e), Ca = (...e) => {
3475
3475
  const t = e.filter(Boolean);
3476
3476
  if (t.length === 0 || t.length === 1)
3477
3477
  return !0;
@@ -3575,7 +3575,7 @@ const ze = (e) => {
3575
3575
  }
3576
3576
  return crypto.subtle.importKey(t, a, i, !0, o);
3577
3577
  }, $a = (e, t, r) => Da(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
3578
- function La(e) {
3578
+ function Ma(e) {
3579
3579
  let t, r;
3580
3580
  switch (e.kty) {
3581
3581
  case "RSA": {
@@ -3648,10 +3648,10 @@ function La(e) {
3648
3648
  }
3649
3649
  return { algorithm: t, keyUsages: r };
3650
3650
  }
3651
- const Ma = async (e) => {
3651
+ const La = async (e) => {
3652
3652
  if (!e.alg)
3653
3653
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
3654
- const { algorithm: t, keyUsages: r } = La(e), n = { ...e };
3654
+ const { algorithm: t, keyUsages: r } = Ma(e), n = { ...e };
3655
3655
  return delete n.alg, delete n.use, crypto.subtle.importKey("jwk", n, t, e.ext ?? !e.d, e.key_ops ?? r);
3656
3656
  };
3657
3657
  async function Ua(e, t, r) {
@@ -3701,7 +3701,7 @@ const Kr = async (e, t, r, n = !1) => {
3701
3701
  let s = pe.get(e);
3702
3702
  if (s != null && s[r])
3703
3703
  return s[r];
3704
- const i = await Ma({ ...t, alg: r });
3704
+ const i = await La({ ...t, alg: r });
3705
3705
  return n && Object.freeze(e), s ? s[r] = i : pe.set(e, { [r]: i }), i;
3706
3706
  }, ja = (e, t) => {
3707
3707
  var r;
@@ -3808,7 +3808,7 @@ const Kr = async (e, t, r, n = !1) => {
3808
3808
  if (br(e))
3809
3809
  return e.k ? Ke(e.k) : Kr(e, e, t, !0);
3810
3810
  throw new Error("unreachable");
3811
- }, Ce = (e) => e?.[Symbol.toStringTag], dr = (e, t, r) => {
3811
+ }, _e = (e) => e?.[Symbol.toStringTag], dr = (e, t, r) => {
3812
3812
  var n, s;
3813
3813
  if (t.use !== void 0) {
3814
3814
  let i;
@@ -3862,7 +3862,7 @@ const Kr = async (e, t, r, n = !1) => {
3862
3862
  if (!Wn(t))
3863
3863
  throw new TypeError(jn(e, t, "CryptoKey", "KeyObject", "JSON Web Key", "Uint8Array"));
3864
3864
  if (t.type !== "secret")
3865
- throw new TypeError(`${Ce(t)} instances for symmetric algorithms must be of type "secret"`);
3865
+ throw new TypeError(`${_e(t)} instances for symmetric algorithms must be of type "secret"`);
3866
3866
  }
3867
3867
  }, Wa = (e, t, r) => {
3868
3868
  if (br(t))
@@ -3881,20 +3881,20 @@ const Kr = async (e, t, r, n = !1) => {
3881
3881
  if (!Wn(t))
3882
3882
  throw new TypeError(jn(e, t, "CryptoKey", "KeyObject", "JSON Web Key"));
3883
3883
  if (t.type === "secret")
3884
- throw new TypeError(`${Ce(t)} instances for asymmetric algorithms must not be of type "secret"`);
3884
+ throw new TypeError(`${_e(t)} instances for asymmetric algorithms must not be of type "secret"`);
3885
3885
  if (t.type === "public")
3886
3886
  switch (r) {
3887
3887
  case "sign":
3888
- throw new TypeError(`${Ce(t)} instances for asymmetric algorithm signing must be of type "private"`);
3888
+ throw new TypeError(`${_e(t)} instances for asymmetric algorithm signing must be of type "private"`);
3889
3889
  case "decrypt":
3890
- throw new TypeError(`${Ce(t)} instances for asymmetric algorithm decryption must be of type "private"`);
3890
+ throw new TypeError(`${_e(t)} instances for asymmetric algorithm decryption must be of type "private"`);
3891
3891
  }
3892
3892
  if (t.type === "private")
3893
3893
  switch (r) {
3894
3894
  case "verify":
3895
- throw new TypeError(`${Ce(t)} instances for asymmetric algorithm verifying must be of type "public"`);
3895
+ throw new TypeError(`${_e(t)} instances for asymmetric algorithm verifying must be of type "public"`);
3896
3896
  case "encrypt":
3897
- throw new TypeError(`${Ce(t)} instances for asymmetric algorithm encryption must be of type "public"`);
3897
+ throw new TypeError(`${_e(t)} instances for asymmetric algorithm encryption must be of type "public"`);
3898
3898
  }
3899
3899
  }, Ja = (e, t, r) => {
3900
3900
  e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ? Ga(e, t, r) : Wa(e, t, r);
@@ -3926,7 +3926,7 @@ const Kr = async (e, t, r, n = !1) => {
3926
3926
  }, Qa = async (e, t, r) => {
3927
3927
  if (t instanceof Uint8Array) {
3928
3928
  if (!e.startsWith("HS"))
3929
- throw new TypeError(Ca(t, "CryptoKey", "KeyObject", "JSON Web Key"));
3929
+ throw new TypeError(_a(t, "CryptoKey", "KeyObject", "JSON Web Key"));
3930
3930
  return crypto.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
3931
3931
  }
3932
3932
  return Oa(t, e, r), t;
@@ -3942,53 +3942,53 @@ const Kr = async (e, t, r, n = !1) => {
3942
3942
  };
3943
3943
  async function Xa(e, t, r) {
3944
3944
  if (!ze(e))
3945
- throw new L("Flattened JWS must be an object");
3945
+ throw new M("Flattened JWS must be an object");
3946
3946
  if (e.protected === void 0 && e.header === void 0)
3947
- throw new L('Flattened JWS must have either of the "protected" or "header" members');
3947
+ throw new M('Flattened JWS must have either of the "protected" or "header" members');
3948
3948
  if (e.protected !== void 0 && typeof e.protected != "string")
3949
- throw new L("JWS Protected Header incorrect type");
3949
+ throw new M("JWS Protected Header incorrect type");
3950
3950
  if (e.payload === void 0)
3951
- throw new L("JWS Payload missing");
3951
+ throw new M("JWS Payload missing");
3952
3952
  if (typeof e.signature != "string")
3953
- throw new L("JWS Signature missing or incorrect type");
3953
+ throw new M("JWS Signature missing or incorrect type");
3954
3954
  if (e.header !== void 0 && !ze(e.header))
3955
- throw new L("JWS Unprotected Header incorrect type");
3955
+ throw new M("JWS Unprotected Header incorrect type");
3956
3956
  let n = {};
3957
3957
  if (e.protected)
3958
3958
  try {
3959
3959
  const p = Ke(e.protected);
3960
3960
  n = JSON.parse(Pe.decode(p));
3961
3961
  } catch {
3962
- throw new L("JWS Protected Header is invalid");
3962
+ throw new M("JWS Protected Header is invalid");
3963
3963
  }
3964
- if (!_a(n, e.header))
3965
- throw new L("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
3964
+ if (!Ca(n, e.header))
3965
+ throw new M("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
3966
3966
  const s = {
3967
3967
  ...n,
3968
3968
  ...e.header
3969
- }, i = Ka(L, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, n, s);
3969
+ }, i = Ka(M, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, n, s);
3970
3970
  let o = !0;
3971
3971
  if (i.has("b64") && (o = n.b64, typeof o != "boolean"))
3972
- throw new L('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
3972
+ throw new M('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
3973
3973
  const { alg: a } = s;
3974
3974
  if (typeof a != "string" || !a)
3975
- throw new L('JWS "alg" (Algorithm) Header Parameter missing or invalid');
3975
+ throw new M('JWS "alg" (Algorithm) Header Parameter missing or invalid');
3976
3976
  const c = r && Fa("algorithms", r.algorithms);
3977
3977
  if (c && !c.has(a))
3978
3978
  throw new Hn('"alg" (Algorithm) Header Parameter value not allowed');
3979
3979
  if (o) {
3980
3980
  if (typeof e.payload != "string")
3981
- throw new L("JWS Payload must be a string");
3981
+ throw new M("JWS Payload must be a string");
3982
3982
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
3983
- throw new L("JWS Payload must be a string or an Uint8Array instance");
3983
+ throw new M("JWS Payload must be a string or an Uint8Array instance");
3984
3984
  let l = !1;
3985
3985
  typeof t == "function" && (t = await t(n, e), l = !0), Ja(a, t, "verify");
3986
- const d = Ta(st.encode(e.protected ?? ""), st.encode("."), typeof e.payload == "string" ? st.encode(e.payload) : e.payload);
3986
+ const d = Aa(st.encode(e.protected ?? ""), st.encode("."), typeof e.payload == "string" ? st.encode(e.payload) : e.payload);
3987
3987
  let u;
3988
3988
  try {
3989
3989
  u = Ke(e.signature);
3990
3990
  } catch {
3991
- throw new L("Failed to base64url decode the signature");
3991
+ throw new M("Failed to base64url decode the signature");
3992
3992
  }
3993
3993
  const f = await qa(t, a);
3994
3994
  if (!await Ya(a, f, u, d))
@@ -3998,7 +3998,7 @@ async function Xa(e, t, r) {
3998
3998
  try {
3999
3999
  y = Ke(e.payload);
4000
4000
  } catch {
4001
- throw new L("Failed to base64url decode the payload");
4001
+ throw new M("Failed to base64url decode the payload");
4002
4002
  }
4003
4003
  else typeof e.payload == "string" ? y = st.encode(e.payload) : y = e.payload;
4004
4004
  const h = { payload: y };
@@ -4006,10 +4006,10 @@ async function Xa(e, t, r) {
4006
4006
  }
4007
4007
  async function Za(e, t, r) {
4008
4008
  if (e instanceof Uint8Array && (e = Pe.decode(e)), typeof e != "string")
4009
- throw new L("Compact JWS must be a string or Uint8Array");
4009
+ throw new M("Compact JWS must be a string or Uint8Array");
4010
4010
  const { 0: n, 1: s, 2: i, length: o } = e.split(".");
4011
4011
  if (o !== 3)
4012
- throw new L("Invalid Compact JWS");
4012
+ throw new M("Invalid Compact JWS");
4013
4013
  const a = await Xa({ payload: s, protected: n, signature: i }, t, r), c = { payload: a.payload, protectedHeader: a.protectedHeader };
4014
4014
  return typeof t == "function" ? { ...c, key: a.key } : c;
4015
4015
  }
@@ -4153,7 +4153,7 @@ function oo(e) {
4153
4153
  }
4154
4154
  const Qe = async (e) => {
4155
4155
  try {
4156
- const t = F.ALG, r = await Ua(Aa, t);
4156
+ const t = F.ALG, r = await Ua(Ta, t);
4157
4157
  return await ao(e, r, {
4158
4158
  issuer: F.ISSUER
4159
4159
  });
@@ -4166,11 +4166,11 @@ const Qe = async (e) => {
4166
4166
  } catch {
4167
4167
  return;
4168
4168
  }
4169
- }, M = [];
4169
+ }, L = [];
4170
4170
  for (let e = 0; e < 256; ++e)
4171
- M.push((e + 256).toString(16).slice(1));
4171
+ L.push((e + 256).toString(16).slice(1));
4172
4172
  function lo(e, t = 0) {
4173
- return (M[e[t + 0]] + M[e[t + 1]] + M[e[t + 2]] + M[e[t + 3]] + "-" + M[e[t + 4]] + M[e[t + 5]] + "-" + M[e[t + 6]] + M[e[t + 7]] + "-" + M[e[t + 8]] + M[e[t + 9]] + "-" + M[e[t + 10]] + M[e[t + 11]] + M[e[t + 12]] + M[e[t + 13]] + M[e[t + 14]] + M[e[t + 15]]).toLowerCase();
4173
+ return (L[e[t + 0]] + L[e[t + 1]] + L[e[t + 2]] + L[e[t + 3]] + "-" + L[e[t + 4]] + L[e[t + 5]] + "-" + L[e[t + 6]] + L[e[t + 7]] + "-" + L[e[t + 8]] + L[e[t + 9]] + "-" + L[e[t + 10]] + L[e[t + 11]] + L[e[t + 12]] + L[e[t + 13]] + L[e[t + 14]] + L[e[t + 15]]).toLowerCase();
4174
4174
  }
4175
4175
  let Ft;
4176
4176
  const uo = new Uint8Array(16);
@@ -4384,12 +4384,12 @@ class So {
4384
4384
  }
4385
4385
  }
4386
4386
  }
4387
- const Zn = new So(), Ao = ["cross-platform", "platform"];
4387
+ const Zn = new So(), To = ["cross-platform", "platform"];
4388
4388
  function es(e) {
4389
- if (e && !(Ao.indexOf(e) < 0))
4389
+ if (e && !(To.indexOf(e) < 0))
4390
4390
  return e;
4391
4391
  }
4392
- async function To(e) {
4392
+ async function Ao(e) {
4393
4393
  !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 });
4394
4394
  const { optionsJSON: t, useAutoRegister: r = !1 } = e;
4395
4395
  if (!vr())
@@ -4561,12 +4561,12 @@ const qr = (e, t) => {
4561
4561
  window.localStorage.setItem(e, r), ts(e, r);
4562
4562
  }, Oo = (e) => {
4563
4563
  window.localStorage.removeItem(e), ts(e, null);
4564
- }, Gr = (e) => window.localStorage.getItem(e), Co = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
4564
+ }, Gr = (e) => window.localStorage.getItem(e), _o = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
4565
4565
  function it({
4566
4566
  key: e,
4567
4567
  initialValue: t
4568
4568
  }) {
4569
- const r = ws(Co, () => Gr(e)), n = le(
4569
+ const r = ws(_o, () => Gr(e)), n = le(
4570
4570
  (o) => {
4571
4571
  try {
4572
4572
  const a = typeof o == "function" ? o(JSON.parse(r)) : o;
@@ -4592,7 +4592,7 @@ function it({
4592
4592
  const U = [];
4593
4593
  for (let e = 0; e < 256; ++e)
4594
4594
  U.push((e + 256).toString(16).slice(1));
4595
- function _o(e, t = 0) {
4595
+ function Co(e, t = 0) {
4596
4596
  return (U[e[t + 0]] + U[e[t + 1]] + U[e[t + 2]] + U[e[t + 3]] + "-" + U[e[t + 4]] + U[e[t + 5]] + "-" + U[e[t + 6]] + U[e[t + 7]] + "-" + U[e[t + 8]] + U[e[t + 9]] + "-" + U[e[t + 10]] + U[e[t + 11]] + U[e[t + 12]] + U[e[t + 13]] + U[e[t + 14]] + U[e[t + 15]]).toLowerCase();
4597
4597
  }
4598
4598
  let jt;
@@ -4613,9 +4613,9 @@ function qt(e, t, r) {
4613
4613
  const n = e.random ?? e.rng?.() ?? Po();
4614
4614
  if (n.length < 16)
4615
4615
  throw new Error("Random bytes length must be >= 16");
4616
- return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, _o(n);
4616
+ return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Co(n);
4617
4617
  }
4618
- const Ie = "Your session has expired. For your security, please log in again to continue.", Do = "Your session has been successfully terminated.", Gt = "Login failed. Please try again.", $o = "Error getting access token, please re-authenticate.", Lo = "You forgot to wrap your component in <AuthProvider>.", at = "@@auth@@", $e = "LOADING", ft = "LOGIN", rs = "LOGOUT", Ye = "success", ae = "failure", ns = "include", ss = "POST", is = "application/json", ot = {
4618
+ const Ie = "Your session has expired. For your security, please log in again to continue.", Do = "Your session has been successfully terminated.", Gt = "Login failed. Please try again.", $o = "Error getting access token, please re-authenticate.", Mo = "You forgot to wrap your component in <AuthProvider>.", at = "@@auth@@", $e = "LOADING", ft = "LOGIN", rs = "LOGOUT", Ye = "success", ae = "failure", ns = "include", ss = "POST", is = "application/json", ot = {
4619
4619
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
4620
4620
  $clientId: String!,
4621
4621
  $username: String!,
@@ -4770,7 +4770,7 @@ const Ie = "Your session has expired. For your security, please log in again to
4770
4770
  } catch (s) {
4771
4771
  return console.error(s), { status: ae, data: [] };
4772
4772
  }
4773
- }, Mo = process.env.NODE_ENV === "production", Uo = !Mo, as = {
4773
+ }, Lo = process.env.NODE_ENV === "production", Uo = !Lo, as = {
4774
4774
  isLoading: !0,
4775
4775
  isAuthenticated: !1,
4776
4776
  user: void 0,
@@ -4977,7 +4977,7 @@ class jo {
4977
4977
  }
4978
4978
  }
4979
4979
  const Oe = () => {
4980
- throw new Error(Lo);
4980
+ throw new Error(Mo);
4981
4981
  }, os = tn({
4982
4982
  isAuthenticated: !1,
4983
4983
  isLoading: !1,
@@ -5039,14 +5039,14 @@ const Oe = () => {
5039
5039
  {
5040
5040
  key: `${at}::${r}::@@refresh@@`
5041
5041
  }
5042
- ), [E, O, , C] = it({
5042
+ ), [E, O, , _] = it({
5043
5043
  key: `${at}::${r}::@@nonce@@`
5044
5044
  }), j = new jo(y, b), G = le(() => {
5045
- c("removeLocalStorage: removing local storage"), f(), p(), k(), C();
5045
+ c("removeLocalStorage: removing local storage"), f(), p(), k(), _();
5046
5046
  }, [
5047
5047
  p,
5048
5048
  f,
5049
- C,
5049
+ _,
5050
5050
  k,
5051
5051
  c
5052
5052
  ]), I = le(
@@ -5065,11 +5065,11 @@ const Oe = () => {
5065
5065
  ), S = le(
5066
5066
  async (v) => {
5067
5067
  c("invalidateAndLogout: invalidating and logging out");
5068
- const { user: _ } = o, T = _?.userId || Ko(d);
5069
- T || c(
5068
+ const { user: C } = o, A = C?.userId || Ko(d);
5069
+ A || c(
5070
5070
  "invalidateAndLogout: user cannot be identified, logging out without userId"
5071
5071
  ), await Fo({
5072
- userId: T,
5072
+ userId: A,
5073
5073
  clientId: r,
5074
5074
  domain: n,
5075
5075
  idToken: d,
@@ -5111,38 +5111,38 @@ const Oe = () => {
5111
5111
  l.current = !0;
5112
5112
  };
5113
5113
  }, [o.isLoading, d, S, c]);
5114
- const A = async (v, _) => {
5114
+ const T = async (v, C) => {
5115
5115
  a({ type: $e, payload: { isLoading: !0 } }), G();
5116
- const T = qt();
5117
- O(T), c("login: Logging in with password");
5116
+ const A = qt();
5117
+ O(A), c("login: Logging in with password");
5118
5118
  const { code_verifier: he, code_challenge: ye } = await go(), Ir = await Bo({
5119
5119
  endpoint: i,
5120
- nonce: T,
5120
+ nonce: A,
5121
5121
  clientId: r,
5122
5122
  code_challenge: ye
5123
5123
  });
5124
5124
  if (Ir.status) {
5125
- const Ae = await Ho({
5125
+ const Te = await Ho({
5126
5126
  endpoint: i,
5127
5127
  username: v,
5128
- password: _,
5128
+ password: C,
5129
5129
  clientId: r,
5130
5130
  sessionExpiration: t,
5131
- nonce: T,
5131
+ nonce: A,
5132
5132
  type: Ue.CODE,
5133
5133
  code: Ir.data,
5134
5134
  code_verifier: he,
5135
5135
  domain: n,
5136
5136
  ua: navigator.userAgent
5137
5137
  });
5138
- return Ae.status ? (u(Ae.idToken), h(Ae.accessToken), w(Ae.refreshToken), a({
5138
+ return Te.status ? (u(Te.idToken), h(Te.accessToken), w(Te.refreshToken), a({
5139
5139
  type: ft,
5140
5140
  payload: {
5141
5141
  authenticationType: Ue.CODE,
5142
5142
  user: {
5143
- userId: Ae.userId,
5143
+ userId: Te.userId,
5144
5144
  username: v,
5145
- email: Ae.email
5145
+ email: Te.email
5146
5146
  }
5147
5147
  }
5148
5148
  }), !0) : (I(Gt), !1);
@@ -5151,9 +5151,9 @@ const Oe = () => {
5151
5151
  }, P = async (v) => {
5152
5152
  v?.preventDefault(), await S(Do);
5153
5153
  }, $ = async () => {
5154
- const { isAuthenticated: v, user: _ } = o;
5154
+ const { isAuthenticated: v, user: C } = o;
5155
5155
  try {
5156
- if (v && _ && _.userId) {
5156
+ if (v && C && C.userId) {
5157
5157
  if (y) {
5158
5158
  c("getAccessToken");
5159
5159
  const he = await Qe(y);
@@ -5161,14 +5161,14 @@ const Oe = () => {
5161
5161
  return y;
5162
5162
  }
5163
5163
  c("getAccessToken: invalid access token, trying to refresh it");
5164
- const T = await j.refreshtoken({
5164
+ const A = await j.refreshtoken({
5165
5165
  endpoint: i,
5166
5166
  clientId: r,
5167
- userId: _.userId,
5167
+ userId: C.userId,
5168
5168
  nonce: E,
5169
5169
  domain: n
5170
5170
  });
5171
- return T.status && T.status === "success" && T.newAccessToken ? (h(T.newAccessToken), w(T.newRefreshToken), T.newAccessToken) : (c(
5171
+ return A.status && A.status === "success" && A.newAccessToken ? (h(A.newAccessToken), w(A.newRefreshToken), A.newAccessToken) : (c(
5172
5172
  "getAccessToken: invalid refresh token, need to re-authenticate"
5173
5173
  ), await S(Ie), "");
5174
5174
  }
@@ -5182,7 +5182,7 @@ const Oe = () => {
5182
5182
  }
5183
5183
  }, z = () => o.isAuthenticated && d ? d : "", Y = async () => {
5184
5184
  const { user: v } = o;
5185
- let _ = await Re({
5185
+ let C = await Re({
5186
5186
  endpoint: i,
5187
5187
  accessToken: y,
5188
5188
  clientId: r,
@@ -5193,12 +5193,12 @@ const Oe = () => {
5193
5193
  username: v?.username
5194
5194
  }
5195
5195
  });
5196
- if (_.status)
5196
+ if (C.status)
5197
5197
  try {
5198
- const T = await To({
5199
- optionsJSON: _.data
5198
+ const A = await Ao({
5199
+ optionsJSON: C.data
5200
5200
  });
5201
- return _ = await Re({
5201
+ return C = await Re({
5202
5202
  endpoint: i,
5203
5203
  accessToken: y,
5204
5204
  clientId: r,
@@ -5207,9 +5207,9 @@ const Oe = () => {
5207
5207
  clientId: r,
5208
5208
  id: v?.userId,
5209
5209
  username: v?.username,
5210
- registration: T
5210
+ registration: A
5211
5211
  }
5212
- }), !!(_.status && _.data.length > 0);
5212
+ }), !!(C.status && C.data.length > 0);
5213
5213
  } catch {
5214
5214
  return await Re({
5215
5215
  endpoint: i,
@@ -5229,44 +5229,44 @@ const Oe = () => {
5229
5229
  a({ type: $e, payload: { isLoading: !0 } }), G();
5230
5230
  const v = qt();
5231
5231
  O(v), c("loginWithPasskey");
5232
- const _ = qt();
5233
- let T = await Re({
5232
+ const C = qt();
5233
+ let A = await Re({
5234
5234
  endpoint: i,
5235
5235
  accessToken: y,
5236
5236
  clientId: r,
5237
5237
  type: ke.GET_AUTHENTICATION_OPTIONS,
5238
5238
  params: {
5239
- id: _,
5239
+ id: C,
5240
5240
  clientId: r
5241
5241
  }
5242
5242
  });
5243
- if (T.status)
5243
+ if (A.status)
5244
5244
  try {
5245
5245
  const he = await Ro({
5246
- optionsJSON: T.data
5246
+ optionsJSON: A.data
5247
5247
  });
5248
- return T = await Re({
5248
+ return A = await Re({
5249
5249
  endpoint: i,
5250
5250
  accessToken: y,
5251
5251
  clientId: r,
5252
5252
  type: ke.VERIFY_AUTHENTICATION,
5253
5253
  params: {
5254
5254
  clientId: r,
5255
- id: _,
5255
+ id: C,
5256
5256
  authentication: he,
5257
5257
  nonce: v,
5258
5258
  domain: n,
5259
5259
  sessionExpiration: t,
5260
5260
  ua: navigator.userAgent
5261
5261
  }
5262
- }), T.data.status === Ye ? (u(T.data.idToken), h(T.data.accessToken), w(T.data.refreshToken), a({
5262
+ }), A.data.status === Ye ? (u(A.data.idToken), h(A.data.accessToken), w(A.data.refreshToken), a({
5263
5263
  type: ft,
5264
5264
  payload: {
5265
5265
  authenticationType: Ue.PASSKEY,
5266
5266
  user: {
5267
- userId: T.data.userId,
5268
- username: T.data.username,
5269
- email: T.data.email
5267
+ userId: A.data.userId,
5268
+ username: A.data.username,
5269
+ email: A.data.email
5270
5270
  }
5271
5271
  }
5272
5272
  }), !0) : (I(Gt), !1);
@@ -5278,7 +5278,7 @@ const Oe = () => {
5278
5278
  type: ke.VERIFY_AUTHENTICATION,
5279
5279
  params: {
5280
5280
  clientId: r,
5281
- id: _,
5281
+ id: C,
5282
5282
  authentication: {},
5283
5283
  nonce: v,
5284
5284
  domain: n,
@@ -5293,7 +5293,7 @@ const Oe = () => {
5293
5293
  {
5294
5294
  value: {
5295
5295
  ...o,
5296
- login: A,
5296
+ login: T,
5297
5297
  logout: P,
5298
5298
  getAccessToken: $,
5299
5299
  getIdToken: z,
@@ -5322,7 +5322,7 @@ const cs = () => {
5322
5322
  if (!e)
5323
5323
  throw new Error("useAuth must be used within an AuthHookProvider");
5324
5324
  return e;
5325
- }, zl = "data", Ql = "I'm having trouble right now. Please try again later.", Yl = "action-search", Xl = "action-sort", Zl = "action-toggle-prompt", eu = "action-reset-prompt", tu = "sassy-saint-", ru = "details", nu = "search", su = "sort", iu = "private-disclosure", au = "reasoning-disclosure", zr = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", ou = 10, cu = 30, lu = "av-prompt", uu = "av-prompt-editable", du = "size-5 sm:size-4", fu = 30, hu = 10, yu = 130, Qo = process.env.NODE_ENV === "production", ls = !Qo, Yo = ls ? "gizmette.local.com" : "gizmette.com", mu = async () => {
5325
+ }, zl = "data", Ql = "I'm having trouble right now. Please try again later.", Yl = "action-search", Xl = "action-sort", Zl = "action-toggle-prompt", eu = "action-reset-prompt", tu = "sassy-saint-", ru = "details", nu = "search", su = "sort", iu = "private-disclosure", au = "reasoning-disclosure", zr = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", ou = 10, cu = 30, lu = "av-prompt", uu = "av-prompt-editable", du = "size-5 sm:size-4", fu = 30, hu = 10, yu = 130, mu = 16, pu = 76, Qo = process.env.NODE_ENV === "production", ls = !Qo, Yo = ls ? "gizmette.local.com" : "gizmette.com", gu = async () => {
5326
5326
  const e = {
5327
5327
  /**
5328
5328
  * A boolean value that indicates the application would
@@ -5370,18 +5370,18 @@ const cs = () => {
5370
5370
  e
5371
5371
  );
5372
5372
  });
5373
- }, pu = (e) => window.btoa(
5373
+ }, bu = (e) => window.btoa(
5374
5374
  encodeURIComponent(e).replace(
5375
5375
  /%([0-9A-F]{2})/g,
5376
5376
  function(r, n) {
5377
5377
  return String.fromCharCode(+`0x${n}`);
5378
5378
  }
5379
5379
  )
5380
- ), gu = (e) => decodeURIComponent(
5380
+ ), wu = (e) => decodeURIComponent(
5381
5381
  window.atob(e).split("").map(function(t) {
5382
5382
  return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
5383
5383
  }).join("")
5384
- ), bu = (e, t, r) => t ? Object.keys(t).map((n) => /* @__PURE__ */ m("dl", { className: "my-0", children: /* @__PURE__ */ J("div", { className: "flex items-center justify-between", children: [
5384
+ ), vu = (e, t, r) => t ? Object.keys(t).map((n) => /* @__PURE__ */ m("dl", { className: "my-0", children: /* @__PURE__ */ J("div", { className: "flex items-center justify-between", children: [
5385
5385
  /* @__PURE__ */ m(
5386
5386
  "dt",
5387
5387
  {
@@ -5402,7 +5402,7 @@ const cs = () => {
5402
5402
  children: t[n]
5403
5403
  }
5404
5404
  )
5405
- ] }) }, `${e}-${n}`)) : null, wu = new Intl.NumberFormat("en", {
5405
+ ] }) }, `${e}-${n}`)) : null, Eu = new Intl.NumberFormat("en", {
5406
5406
  style: "decimal",
5407
5407
  signDisplay: "never",
5408
5408
  minimumFractionDigits: 0,
@@ -5418,18 +5418,18 @@ const cs = () => {
5418
5418
  t
5419
5419
  ), Zo = ({
5420
5420
  extraClass: e
5421
- } = {}) => g("px-2 sm:px-0", e), vu = (e, t) => t === 1 ? e : `${e}s`, Eu = (e, t) => {
5421
+ } = {}) => g("px-2 sm:px-0", e), Su = (e, t) => t === 1 ? e : `${e}s`, Tu = (e, t) => {
5422
5422
  let r;
5423
5423
  return (...n) => {
5424
5424
  window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
5425
5425
  };
5426
- }, ec = () => !!window?.__VERSINI_CALLISTO_ELECTRON__, us = () => window.innerWidth < 403, Su = () => {
5426
+ }, ec = () => !!window?.__VERSINI_CALLISTO_ELECTRON__, us = () => window.innerWidth < 403, Au = () => {
5427
5427
  const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = us(), n = navigator.maxTouchPoints > 1;
5428
5428
  return e && t && r && n;
5429
- }, Au = (e) => {
5429
+ }, Iu = (e) => {
5430
5430
  const t = e.replace(/([A-Z])/g, " $1");
5431
5431
  return t.charAt(0).toUpperCase() + t.slice(1);
5432
- }, Tu = ({
5432
+ }, ku = ({
5433
5433
  autoClose: e = 3e3,
5434
5434
  containerId: t,
5435
5435
  position: r = "top-center",
@@ -5855,7 +5855,7 @@ const ct = {
5855
5855
  // px-3 x 2
5856
5856
  large: 16 * 2
5857
5857
  // px-4 x 2
5858
- }, gc = 2, bc = 300, At = de.forwardRef(
5858
+ }, gc = 2, bc = 300, Tt = de.forwardRef(
5859
5859
  ({
5860
5860
  children: e,
5861
5861
  disabled: t = !1,
@@ -5878,7 +5878,7 @@ const ct = {
5878
5878
  iconClassName: k,
5879
5879
  animated: E = !1,
5880
5880
  ...O
5881
- }, C) => {
5881
+ }, _) => {
5882
5882
  const j = ds({
5883
5883
  type: xt,
5884
5884
  mode: r,
@@ -5896,27 +5896,27 @@ const ct = {
5896
5896
  radius: b,
5897
5897
  variant: w,
5898
5898
  animated: E
5899
- }), G = uc({ mode: r, raw: a, iconClassName: k }), I = dc({ animated: E }), S = "flex items-center justify-center relative w-full h-full overflow-hidden", [A, P] = Wt(), [$, z] = Wt(), [Y, we] = Wt(), v = B(0), _ = B(null), T = B(null), he = yc([C, _]);
5899
+ }), G = uc({ mode: r, raw: a, iconClassName: k }), I = dc({ animated: E }), S = "flex items-center justify-center relative w-full h-full overflow-hidden", [T, P] = Wt(), [$, z] = Wt(), [Y, we] = Wt(), v = B(0), C = B(null), A = B(null), he = yc([_, C]);
5900
5900
  return yt(() => {
5901
- Y && Y.current && E && (v.current = we.width + pc[u] + (c ? 0 : gc), _.current && !_.current.style.width && (_.current.style.width = `${ct[u]}px`));
5901
+ Y && Y.current && E && (v.current = we.width + pc[u] + (c ? 0 : gc), C.current && !C.current.style.width && (C.current.style.width = `${ct[u]}px`));
5902
5902
  }, [we, Y, u, c, E]), yt(() => {
5903
- if (_ && _.current && E) {
5903
+ if (C && C.current && E) {
5904
5904
  let ye = ct[u];
5905
- f && A && P.width > 0 ? ye = P.width + v.current : y && $ && z.width > 0 && (ye = z.width + v.current), T.current && clearTimeout(T.current), ye !== parseInt(_.current.style.width || "0", 10) && (A.current && (A.current.style.opacity = "0"), $.current && ($.current.style.opacity = "0"), _.current.style.width = `${ye}px`, ye > ct[u] && (T.current = setTimeout(() => {
5906
- A.current && f && (A.current.style.opacity = "1"), $.current && y && ($.current.style.opacity = "1"), T.current = null;
5907
- }, bc * 0.8))), ye === ct[u] && (A.current && (A.current.style.opacity = "0"), $.current && ($.current.style.opacity = "0"));
5905
+ f && T && P.width > 0 ? ye = P.width + v.current : y && $ && z.width > 0 && (ye = z.width + v.current), A.current && clearTimeout(A.current), ye !== parseInt(C.current.style.width || "0", 10) && (T.current && (T.current.style.opacity = "0"), $.current && ($.current.style.opacity = "0"), C.current.style.width = `${ye}px`, ye > ct[u] && (A.current = setTimeout(() => {
5906
+ T.current && f && (T.current.style.opacity = "1"), $.current && y && ($.current.style.opacity = "1"), A.current = null;
5907
+ }, bc * 0.8))), ye === ct[u] && (T.current && (T.current.style.opacity = "0"), $.current && ($.current.style.opacity = "0"));
5908
5908
  }
5909
5909
  }, [
5910
5910
  P,
5911
5911
  f,
5912
- A,
5912
+ T,
5913
5913
  z,
5914
5914
  y,
5915
5915
  $,
5916
5916
  u,
5917
5917
  E
5918
5918
  ]), te(() => () => {
5919
- T.current && clearTimeout(T.current);
5919
+ A.current && clearTimeout(A.current);
5920
5920
  }, []), /* @__PURE__ */ m(
5921
5921
  Sr,
5922
5922
  {
@@ -5942,7 +5942,7 @@ const ct = {
5942
5942
  Yr,
5943
5943
  {
5944
5944
  label: f,
5945
- labelRef: A,
5945
+ labelRef: T,
5946
5946
  labelClass: I,
5947
5947
  labelInnerClass: "pl-2",
5948
5948
  initiallyHidden: E
@@ -5967,7 +5967,7 @@ const ct = {
5967
5967
  children: r && /* @__PURE__ */ m("span", { className: n, children: r })
5968
5968
  }
5969
5969
  );
5970
- At.displayName = "ButtonIcon";
5970
+ Tt.displayName = "ButtonIcon";
5971
5971
  /*!
5972
5972
  @versini/ui-button v6.0.8
5973
5973
  © 2025 gizmette.com
@@ -6007,7 +6007,7 @@ const wc = de.forwardRef(
6007
6007
  }
6008
6008
  ) : "";
6009
6009
  return /* @__PURE__ */ m("div", { className: o, children: /* @__PURE__ */ m(
6010
- At,
6010
+ Tt,
6011
6011
  {
6012
6012
  className: g("justify-center", r),
6013
6013
  ref: i,
@@ -6073,7 +6073,7 @@ function Sc({
6073
6073
  }) {
6074
6074
  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;
6075
6075
  }
6076
- const Ac = ({
6076
+ const Tc = ({
6077
6077
  header: e,
6078
6078
  headerClassName: t,
6079
6079
  footer: r,
@@ -6177,7 +6177,7 @@ try {
6177
6177
  });
6178
6178
  } catch {
6179
6179
  }
6180
- const Tc = ({
6180
+ const Ac = ({
6181
6181
  className: e,
6182
6182
  viewBox: t,
6183
6183
  title: r,
@@ -6296,7 +6296,7 @@ try {
6296
6296
  });
6297
6297
  } catch {
6298
6298
  }
6299
- const Oc = "av-main", Cc = ({
6299
+ const Oc = "av-main", _c = ({
6300
6300
  children: e,
6301
6301
  className: t,
6302
6302
  raw: r = !1,
@@ -6328,7 +6328,7 @@ try {
6328
6328
  });
6329
6329
  } catch {
6330
6330
  }
6331
- const _c = "av-flexgrid", lt = "av-flexgrid-item", Tt = 0.25, hr = de.createContext({
6331
+ const Cc = "av-flexgrid", lt = "av-flexgrid-item", At = 0.25, hr = de.createContext({
6332
6332
  columnGap: 0,
6333
6333
  rowGap: 0
6334
6334
  }), Nc = ({
@@ -6354,10 +6354,10 @@ const _c = "av-flexgrid", lt = "av-flexgrid-item", Tt = 0.25, hr = de.createCont
6354
6354
  * by the columnGap and rowGap that will be applied
6355
6355
  * to all FlexgridItems (see context and paddings).
6356
6356
  */
6357
- marginLeft: r * -1 * Tt + "rem",
6358
- marginTop: n * -1 * Tt + "rem"
6357
+ marginLeft: r * -1 * At + "rem",
6358
+ marginTop: n * -1 * At + "rem"
6359
6359
  }, u = g(
6360
- _c,
6360
+ Cc,
6361
6361
  "box-border flex flex-wrap"
6362
6362
  ), f = { columnGap: r, rowGap: n };
6363
6363
  return t ? /* @__PURE__ */ m("div", { className: t, children: /* @__PURE__ */ m("div", { className: u, style: d, ...l, children: /* @__PURE__ */ m(hr.Provider, { value: f, children: e }) }) }) : /* @__PURE__ */ m("div", { className: u, style: d, ...l, children: /* @__PURE__ */ m(hr.Provider, { value: f, children: e }) });
@@ -6464,8 +6464,8 @@ const _c = "av-flexgrid", lt = "av-flexgrid-item", Tt = 0.25, hr = de.createCont
6464
6464
  ...n
6465
6465
  }) => {
6466
6466
  const { columnGap: s, rowGap: i } = mr(hr), o = {
6467
- paddingLeft: s * Tt + "rem",
6468
- paddingTop: i * Tt + "rem"
6467
+ paddingLeft: s * At + "rem",
6468
+ paddingTop: i * At + "rem"
6469
6469
  }, a = Pc({
6470
6470
  className: t,
6471
6471
  span: r
@@ -6502,7 +6502,7 @@ const $c = {
6502
6502
  bottom: 0,
6503
6503
  right: 0
6504
6504
  };
6505
- function Lc(e) {
6505
+ function Mc(e) {
6506
6506
  const t = Dc(), r = B(0), n = B(null), [s, i] = ce($c), o = It(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
6507
6507
  const c = a[0];
6508
6508
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
@@ -6513,7 +6513,7 @@ function Lc(e) {
6513
6513
  o?.disconnect(), r.current && cancelAnimationFrame(r.current);
6514
6514
  }), [o, e]), [n, s];
6515
6515
  }
6516
- function Mc(e) {
6516
+ function Lc(e) {
6517
6517
  const t = nn();
6518
6518
  if (!e)
6519
6519
  return t;
@@ -6790,7 +6790,7 @@ const Bc = ({
6790
6790
  helperText: p,
6791
6791
  rightElement: b
6792
6792
  };
6793
- }, Ar = de.forwardRef(
6793
+ }, Tr = de.forwardRef(
6794
6794
  ({
6795
6795
  id: e,
6796
6796
  name: t,
@@ -6812,7 +6812,7 @@ const Bc = ({
6812
6812
  size: w = "md",
6813
6813
  ...k
6814
6814
  }, E) => {
6815
- const [O, C] = Lc(), [j, G] = ce(0), I = Mc({ id: e, prefix: `${hs}-` }), S = `${t} error, ${h}`, A = B(null), P = B(null), $ = {
6815
+ const [O, _] = Mc(), [j, G] = ce(0), I = Lc({ id: e, prefix: `${hs}-` }), S = `${t} error, ${h}`, T = B(null), P = B(null), $ = {
6816
6816
  xs: { label: "-25px", helperText: "30px" },
6817
6817
  sm: { label: "-29px", helperText: "34px" },
6818
6818
  md: { label: "-33px", helperText: "38px" },
@@ -6831,13 +6831,13 @@ const Bc = ({
6831
6831
  rightElementClassName: b
6832
6832
  });
6833
6833
  return yt(() => {
6834
- C && C.width && G(C.width + 18 + 10);
6835
- }, [C]), yt(() => {
6834
+ _ && _.width && G(_.width + 18 + 10);
6835
+ }, [_]), yt(() => {
6836
6836
  var Y, we;
6837
- const { label: v, helperText: _ } = $[w];
6838
- (Y = A?.current) == null || Y.style.setProperty("--av-text-input-label", v), (we = P?.current) == null || we.style.setProperty(
6837
+ const { label: v, helperText: C } = $[w];
6838
+ (Y = T?.current) == null || Y.style.setProperty("--av-text-input-label", v), (we = P?.current) == null || we.style.setProperty(
6839
6839
  "--av-text-input-helper-text",
6840
- _
6840
+ C
6841
6841
  );
6842
6842
  }, [w]), /* @__PURE__ */ J("div", { className: z.wrapper, children: [
6843
6843
  /* @__PURE__ */ m(
@@ -6868,7 +6868,7 @@ const Bc = ({
6868
6868
  !s && !f && /* @__PURE__ */ m(
6869
6869
  "label",
6870
6870
  {
6871
- ref: A,
6871
+ ref: T,
6872
6872
  "aria-hidden": !0,
6873
6873
  htmlFor: I,
6874
6874
  className: z.visibleLabel,
@@ -6896,7 +6896,7 @@ const Bc = ({
6896
6896
  ] });
6897
6897
  }
6898
6898
  );
6899
- Ar.displayName = "TextInput";
6899
+ Tr.displayName = "TextInput";
6900
6900
  function Jc(e) {
6901
6901
  return It(() => e.every((t) => t == null) ? () => {
6902
6902
  } : (t) => {
@@ -6922,7 +6922,7 @@ const zc = 500, Qc = 5e3, Yc = 2e4, gs = de.forwardRef(
6922
6922
  const [f, y] = ce(!0), [h, p] = ce({
6923
6923
  message: null,
6924
6924
  politeness: null
6925
- }), b = B(!0), w = B(null), k = B(null), E = Jc([u, k]), O = f ? "Show" : "Hide", C = () => {
6925
+ }), b = B(!0), w = B(null), k = B(null), E = Jc([u, k]), O = f ? "Show" : "Hide", _ = () => {
6926
6926
  w.current && clearTimeout(w.current), b.current || (w.current = setTimeout(() => {
6927
6927
  b.current = !0, y(!0), p({
6928
6928
  announcementTimeout: Qc,
@@ -6933,7 +6933,7 @@ const zc = 500, Qc = 5e3, Yc = 2e4, gs = de.forwardRef(
6933
6933
  }, j = (P) => {
6934
6934
  P.preventDefault();
6935
6935
  const $ = !b.current;
6936
- b.current = $, C(), y($), p({
6936
+ b.current = $, _(), y($), p({
6937
6937
  announcementTimeout: zc,
6938
6938
  politeness: "assertive",
6939
6939
  message: $ ? "Characters hidden" : "Characters showing"
@@ -6943,17 +6943,17 @@ const zc = 500, Qc = 5e3, Yc = 2e4, gs = de.forwardRef(
6943
6943
  const { relatedTarget: z } = P, Y = ($ = k.current) == null ? void 0 : $.parentElement;
6944
6944
  Y != null && Y.contains(z) || c && c();
6945
6945
  }, I = (P) => {
6946
- C(), o && o(P), G(P);
6946
+ _(), o && o(P), G(P);
6947
6947
  }, S = (P) => {
6948
- C(), a && a(P);
6949
- }, A = (P) => {
6950
- C(), i && i(P);
6948
+ _(), a && a(P);
6949
+ }, T = (P) => {
6950
+ _(), i && i(P);
6951
6951
  };
6952
6952
  return te(() => () => {
6953
6953
  w.current && clearTimeout(w.current);
6954
6954
  }, []), /* @__PURE__ */ J(yr, { children: [
6955
6955
  /* @__PURE__ */ m(
6956
- Ar,
6956
+ Tr,
6957
6957
  {
6958
6958
  ref: E,
6959
6959
  name: e,
@@ -6963,7 +6963,7 @@ const zc = 500, Qc = 5e3, Yc = 2e4, gs = de.forwardRef(
6963
6963
  disabled: t,
6964
6964
  onBlur: I,
6965
6965
  onFocus: S,
6966
- onChange: A,
6966
+ onChange: T,
6967
6967
  rightElement: de.cloneElement(l, {
6968
6968
  ref: u,
6969
6969
  label: O,
@@ -7000,19 +7000,19 @@ try {
7000
7000
  });
7001
7001
  } catch {
7002
7002
  }
7003
- const Xc = "ASK! ME! ANYTHING!", bs = "Callisto", Zc = "Log in", el = "Sign in with a Passkey", Iu = "Log out", tl = "Password", ku = "Usage", Ru = "Profile", Ou = "Settings", Cu = "Chat history", _u = "About", Tr = "Type your message here.", Nu = Tr, Pu = `${Tr}
7004
- Press Enter to send it or Shift+Enter for new line.`, xu = `${Tr}
7005
- Press Ctrl+Enter to send it or Enter for new line.`, Du = "{{clipboard}}", $u = `Sometimes, ${bs} hallucinates. Review important details.`, Lu = "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.", Mu = "Default provider set to", Uu = "Chat successfully deleted!", Ku = "Chat successfully saved!", Fu = "av-sassy", Hu = {
7003
+ const Xc = "ASK! ME! ANYTHING!", bs = "Callisto", Zc = "Log in", el = "Sign in with a Passkey", Ru = "Log out", tl = "Password", Ou = "Usage", _u = "Profile", Cu = "Settings", Nu = "Chat history", Pu = "About", Ar = "Type your message here.", xu = Ar, Du = `${Ar}
7004
+ Press Enter to send it or Shift+Enter for new line.`, $u = `${Ar}
7005
+ Press Ctrl+Enter to send it or Enter for new line.`, Mu = "{{clipboard}}", Lu = `Sometimes, ${bs} hallucinates. Review important details.`, Uu = "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.", Ku = "Default provider set to", Fu = "Chat successfully deleted!", Hu = "Chat successfully saved!", Bu = "av-sassy", Vu = {
7006
7006
  0: ["January", "February", "March"],
7007
7007
  3: ["April", "May", "June"],
7008
7008
  6: ["July", "August", "September"],
7009
7009
  9: ["October", "November", "December"]
7010
- }, Bu = {
7010
+ }, ju = {
7011
7011
  0: ["Jan", "Feb", "Mar"],
7012
7012
  3: ["Apr", "May", "Jun"],
7013
7013
  6: ["Jul", "Aug", "Sep"],
7014
7014
  9: ["Oct", "Nov", "Dec"]
7015
- }, Vu = {
7015
+ }, qu = {
7016
7016
  PREFERENCES: {
7017
7017
  TITLE: "User profile",
7018
7018
  NAME: "Name",
@@ -7058,7 +7058,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Du = "{{clipboard}}", $u =
7058
7058
  "flex items-center justify-center text-slate-300"
7059
7059
  ),
7060
7060
  children: [
7061
- /* @__PURE__ */ m("div", { className: "basis-1/4", children: /* @__PURE__ */ m(Tc, {}) }),
7061
+ /* @__PURE__ */ m("div", { className: "basis-1/4", children: /* @__PURE__ */ m(Ac, {}) }),
7062
7062
  /* @__PURE__ */ J("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
7063
7063
  /* @__PURE__ */ m("h1", { children: bs }),
7064
7064
  /* @__PURE__ */ m("h2", { children: Xc })
@@ -7079,7 +7079,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Du = "{{clipboard}}", $u =
7079
7079
  }), te(() => {
7080
7080
  t && o(t);
7081
7081
  }, [t]), /* @__PURE__ */ J(
7082
- Cc,
7082
+ _c,
7083
7083
  {
7084
7084
  className: Zo({
7085
7085
  extraClass: "mt-5"
@@ -7096,10 +7096,10 @@ Press Ctrl+Enter to send it or Enter for new line.`, Du = "{{clipboard}}", $u =
7096
7096
  children: /* @__PURE__ */ m(rl, {})
7097
7097
  }
7098
7098
  ),
7099
- /* @__PURE__ */ m("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ m(Nc, { alignHorizontal: "center", children: /* @__PURE__ */ m(ve, { span: 6, children: /* @__PURE__ */ J(Ac, { mode: "dark", children: [
7099
+ /* @__PURE__ */ m("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ m(Nc, { alignHorizontal: "center", children: /* @__PURE__ */ m(ve, { span: 6, children: /* @__PURE__ */ J(Tc, { mode: "dark", children: [
7100
7100
  /* @__PURE__ */ m(ve, { 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 }) }),
7101
7101
  /* @__PURE__ */ m(ve, { span: 12, children: /* @__PURE__ */ m(
7102
- Ar,
7102
+ Tr,
7103
7103
  {
7104
7104
  className: "mt-7",
7105
7105
  required: !0,
@@ -7132,7 +7132,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Du = "{{clipboard}}", $u =
7132
7132
  name: "password",
7133
7133
  label: tl,
7134
7134
  rightElement: /* @__PURE__ */ m(
7135
- At,
7135
+ Tt,
7136
7136
  {
7137
7137
  focusMode: "light",
7138
7138
  mode: "dark",
@@ -7166,7 +7166,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Du = "{{clipboard}}", $u =
7166
7166
  !ec() && /* @__PURE__ */ J(yr, { children: [
7167
7167
  /* @__PURE__ */ m(ve, { span: 12, children: /* @__PURE__ */ m("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
7168
7168
  /* @__PURE__ */ m(ve, { span: 12, children: /* @__PURE__ */ m(
7169
- At,
7169
+ Tt,
7170
7170
  {
7171
7171
  variant: "selected",
7172
7172
  mode: "dark",
@@ -7185,7 +7185,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Du = "{{clipboard}}", $u =
7185
7185
  );
7186
7186
  }, sl = new URL(document.location.href).searchParams, Zr = !!sl.get("debug") || !1, il = Es(() => import(
7187
7187
  /* webpackChunkName: "LazyApp" */
7188
- "./App.CFsWzHMB.js"
7188
+ "./App.B56RUvwb.js"
7189
7189
  ).then((e) => e.App)), al = new js(), en = ({
7190
7190
  isComponent: e,
7191
7191
  headerHeight: t
@@ -7208,7 +7208,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Du = "{{clipboard}}", $u =
7208
7208
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
7209
7209
  children: /* @__PURE__ */ m(en, { isComponent: e, headerHeight: t })
7210
7210
  }
7211
- ) : /* @__PURE__ */ m(Jr, { clientId: zr, domain: r, debug: Zr, children: /* @__PURE__ */ m(en, { isComponent: e, headerHeight: t }) }), ju = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ m(
7211
+ ) : /* @__PURE__ */ m(Jr, { clientId: zr, domain: r, debug: Zr, children: /* @__PURE__ */ m(en, { isComponent: e, headerHeight: t }) }), Gu = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ m(
7212
7212
  ol,
7213
7213
  {
7214
7214
  isComponent: !0,
@@ -7217,28 +7217,30 @@ Press Ctrl+Enter to send it or Enter for new line.`, Du = "{{clipboard}}", $u =
7217
7217
  }
7218
7218
  );
7219
7219
  export {
7220
- _u as ABOUT_TITLE,
7220
+ Pu as ABOUT_TITLE,
7221
7221
  eu as ACTION_RESET_PROMPT,
7222
7222
  Yl as ACTION_SEARCH,
7223
7223
  Xl as ACTION_SORT,
7224
7224
  Zl as ACTION_TOGGLE_PROMPT,
7225
- Fu as APP_CLASSNAME,
7225
+ Bu as APP_CLASSNAME,
7226
7226
  bs as APP_NAME,
7227
7227
  fs as C,
7228
- Vu as CARDS,
7229
- Du as CLIPBOARD_PROMPT,
7228
+ qu as CARDS,
7229
+ Mu as CLIPBOARD_PROMPT,
7230
7230
  du as DEFAULT_ICON_ACTION_SIZE,
7231
7231
  Ol as Dynamic,
7232
7232
  Ql as ERROR_MESSAGE,
7233
- $u as FOOTER_DISCLAIMER,
7233
+ Lu as FOOTER_DISCLAIMER,
7234
7234
  vl as For,
7235
- Cu as HISTORY_TITLE,
7235
+ Nu as HISTORY_TITLE,
7236
7236
  Dt as I,
7237
7237
  cu as INFINITE_SCROLL_LIMIT,
7238
7238
  ou as INFINITE_SCROLL_THRESHOLD,
7239
- xu as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
7240
- Pu as INPUT_PLACEHOLDER_TEXT_ENTER,
7241
- Nu as INPUT_PLACEHOLDER_TEXT_MOBILE,
7239
+ mu as INPUT_BOTTOM_OFFSET,
7240
+ pu as INPUT_BOTTOM_OFFSET_EXTRA,
7241
+ $u as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
7242
+ Du as INPUT_PLACEHOLDER_TEXT_ENTER,
7243
+ xu as INPUT_PLACEHOLDER_TEXT_MOBILE,
7242
7244
  El as Index,
7243
7245
  Nc as L,
7244
7246
  ru as LOCAL_STORAGE_CHAT_DETAILS,
@@ -7247,35 +7249,35 @@ export {
7247
7249
  au as LOCAL_STORAGE_REASONING_DISCLOSURE,
7248
7250
  nu as LOCAL_STORAGE_SEARCH,
7249
7251
  su as LOCAL_STORAGE_SORT,
7250
- Iu as LOG_OUT,
7252
+ Ru as LOG_OUT,
7251
7253
  rl as Logo,
7252
- Tl as Match,
7253
- Ru as PROFILE_TITLE,
7254
- Lu as PROMPTS_DESCRIPTION,
7254
+ Al as Match,
7255
+ _u as PROFILE_TITLE,
7256
+ Uu as PROMPTS_DESCRIPTION,
7255
7257
  lu as PROMPT_CLASSNAME,
7256
7258
  uu as PROMPT_EDITABLE_AREA_CLASSNAME,
7257
7259
  Rl as Portal,
7258
7260
  zl as ROLE_INTERNAL,
7259
- Ac as S,
7260
- Ou as SETTINGS_TITLE,
7261
- ju as SassySaint,
7261
+ Tc as S,
7262
+ Cu as SETTINGS_TITLE,
7263
+ Gu as SassySaint,
7262
7264
  Sl as Show,
7263
7265
  kt as Subscribable,
7264
- Al as Switch,
7265
- Uu as TOAST_CHAT_DELETED,
7266
- Ku as TOAST_CHAT_SAVED,
7267
- Mu as TOAST_PROVIDER_CHANGED,
7268
- Hu as TRIMESTERS,
7269
- Bu as TRIMESTERS_SHORT,
7266
+ Tl as Switch,
7267
+ Fu as TOAST_CHAT_DELETED,
7268
+ Hu as TOAST_CHAT_SAVED,
7269
+ Ku as TOAST_PROVIDER_CHANGED,
7270
+ Vu as TRIMESTERS,
7271
+ ju as TRIMESTERS_SHORT,
7270
7272
  hu as UI_BUTTON_SCROLL_BUFFER,
7271
7273
  yu as UI_DEFAULT_MAIN_HEIGHT,
7272
7274
  fu as UI_FOOTER_BUFFER,
7273
- ku as USAGE_TITLE,
7274
- Ci as addEventListener,
7275
+ Ou as USAGE_TITLE,
7276
+ _i as addEventListener,
7275
7277
  hl as batch,
7276
7278
  Oi as className,
7277
7279
  kl as clearDelegatedEvents,
7278
- Au as convertCamelCaseToReadable,
7280
+ Iu as convertCamelCaseToReadable,
7279
7281
  Ul as convertRemToPixels,
7280
7282
  ci as createComponent,
7281
7283
  Js as createComputed,
@@ -7286,45 +7288,45 @@ export {
7286
7288
  Ee as createRoot,
7287
7289
  Q as createSignal,
7288
7290
  wl as createUniqueId,
7289
- Eu as debounce,
7291
+ Tu as debounce,
7290
7292
  Ii as delegateEvents,
7291
7293
  nt as deleteNestedDataByPath,
7292
7294
  $l as displayValue,
7293
- Ar as fe,
7294
- Ms as fetchState,
7295
+ Tr as fe,
7296
+ Ls as fetchState,
7295
7297
  an as focusManager,
7296
- mu as getCurrentGeoLocation,
7298
+ gu as getCurrentGeoLocation,
7297
7299
  Zo as getMainPaddingClass,
7298
7300
  Xo as getMessageContaintWrapperClass,
7299
7301
  xl as getMutationStatusColor,
7300
7302
  Kl as getPreferredColorScheme,
7301
7303
  Pl as getQueryStatusColor,
7302
7304
  Dl as getQueryStatusColorByLabel,
7303
- _l as getQueryStatusLabel,
7305
+ Cl as getQueryStatusLabel,
7304
7306
  Nl as getSidedProp,
7305
7307
  sr as insert,
7306
7308
  ec as isElectron,
7307
7309
  us as isProbablyMobile,
7308
- Su as isProbablyiPhone,
7310
+ Au as isProbablyiPhone,
7309
7311
  Rt as isServer,
7310
- As as isValidTimeout,
7312
+ Ts as isValidTimeout,
7311
7313
  ve as j,
7312
7314
  kc as l,
7313
- At as le,
7315
+ Tt as le,
7314
7316
  ui as mergeProps,
7315
- Ml as mutationSortFns,
7317
+ Ll as mutationSortFns,
7316
7318
  cs as n,
7317
7319
  ee as noop,
7318
7320
  W as notifyManager,
7319
- wu as numberFormatter,
7320
- pu as obfuscate,
7321
+ Eu as numberFormatter,
7322
+ bu as obfuscate,
7321
7323
  yl as on,
7322
7324
  Ve as onCleanup,
7323
7325
  Ys as onMount,
7324
7326
  Ps as pendingThenable,
7325
- vu as pluralize,
7326
- Cc as r,
7327
- bu as renderDataAsList,
7327
+ Su as pluralize,
7328
+ _c as r,
7329
+ vu as renderDataAsList,
7328
7330
  Rs as replaceData,
7329
7331
  Is as resolveEnabled,
7330
7332
  Qt as resolveStaleTime,
@@ -7332,14 +7334,14 @@ export {
7332
7334
  nr as setAttribute,
7333
7335
  dl as shallowEqualObjects,
7334
7336
  fl as shouldThrowError,
7335
- Ll as sortFns,
7337
+ Ml as sortFns,
7336
7338
  di as splitProps,
7337
7339
  Pi as spread,
7338
- Cl as stringify,
7340
+ _l as stringify,
7339
7341
  Il as template,
7340
- Ts as timeUntilStale,
7341
- Tu as toastOptions,
7342
- gu as unObfuscate,
7342
+ As as timeUntilStale,
7343
+ ku as toastOptions,
7344
+ wu as unObfuscate,
7343
7345
  V as untrack,
7344
7346
  rt as updateNestedDataByPath,
7345
7347
  xi as use,