@versini/sassysaint 7.3.0 → 7.3.2

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.
@@ -213,13 +213,13 @@ function _t(e, t) {
213
213
  console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
214
214
  `, t);
215
215
  }
216
- function zn() {
216
+ function qn() {
217
217
  if (!er())
218
218
  return new Promise((t) => t(!1));
219
219
  const e = window.PublicKeyCredential;
220
220
  return e.isConditionalMediationAvailable === void 0 ? new Promise((t) => t(!1)) : e.isConditionalMediationAvailable();
221
221
  }
222
- function qn({ error: e, options: t }) {
222
+ function zn({ error: e, options: t }) {
223
223
  const { publicKey: r } = t;
224
224
  if (!r)
225
225
  throw Error("options was missing required publicKey property");
@@ -272,7 +272,7 @@ async function Qn(e, t = !1) {
272
272
  allowCredentials: r
273
273
  }, a = {};
274
274
  if (t) {
275
- if (!await zn())
275
+ if (!await qn())
276
276
  throw Error("Browser does not support WebAuthn autofill");
277
277
  if (document.querySelectorAll("input[autocomplete$='webauthn']").length < 1)
278
278
  throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
@@ -283,7 +283,7 @@ async function Qn(e, t = !1) {
283
283
  try {
284
284
  s = await navigator.credentials.get(a);
285
285
  } catch (d) {
286
- throw qn({ error: d, options: a });
286
+ throw zn({ error: d, options: a });
287
287
  }
288
288
  if (!s)
289
289
  throw new Error("Authentication was not completed");
@@ -351,7 +351,7 @@ awIDAQAB
351
351
  LOGOUT: "logout",
352
352
  LOGIN: "login",
353
353
  REFRESH: "refresh"
354
- }, ut = crypto, zr = (e) => e instanceof CryptoKey, Ye = new TextEncoder(), Ve = new TextDecoder();
354
+ }, ut = crypto, qr = (e) => e instanceof CryptoKey, Ye = new TextEncoder(), Ve = new TextDecoder();
355
355
  function Zn(...e) {
356
356
  const t = e.reduce((a, { length: s }) => a + s, 0), r = new Uint8Array(t);
357
357
  let n = 0;
@@ -373,92 +373,92 @@ const ea = (e) => {
373
373
  throw new TypeError("The input to be decoded is not correctly encoded.");
374
374
  }
375
375
  };
376
- let q = class extends Error {
376
+ let z = class extends Error {
377
377
  constructor(t, r) {
378
378
  var n;
379
379
  super(t, r), this.code = "ERR_JOSE_GENERIC", this.name = this.constructor.name, (n = Error.captureStackTrace) == null || n.call(Error, this, this.constructor);
380
380
  }
381
381
  };
382
- q.code = "ERR_JOSE_GENERIC";
383
- let ne = class extends q {
382
+ z.code = "ERR_JOSE_GENERIC";
383
+ let ne = class extends z {
384
384
  constructor(t, r, n = "unspecified", a = "unspecified") {
385
385
  super(t, { cause: { claim: n, reason: a, payload: r } }), this.code = "ERR_JWT_CLAIM_VALIDATION_FAILED", this.claim = n, this.reason = a, this.payload = r;
386
386
  }
387
387
  };
388
388
  ne.code = "ERR_JWT_CLAIM_VALIDATION_FAILED";
389
- class Kt extends q {
389
+ class Kt extends z {
390
390
  constructor(t, r, n = "unspecified", a = "unspecified") {
391
391
  super(t, { cause: { claim: n, reason: a, payload: r } }), this.code = "ERR_JWT_EXPIRED", this.claim = n, this.reason = a, this.payload = r;
392
392
  }
393
393
  }
394
394
  Kt.code = "ERR_JWT_EXPIRED";
395
- class qr extends q {
395
+ class zr extends z {
396
396
  constructor() {
397
397
  super(...arguments), this.code = "ERR_JOSE_ALG_NOT_ALLOWED";
398
398
  }
399
399
  }
400
- qr.code = "ERR_JOSE_ALG_NOT_ALLOWED";
401
- let ae = class extends q {
400
+ zr.code = "ERR_JOSE_ALG_NOT_ALLOWED";
401
+ let ae = class extends z {
402
402
  constructor() {
403
403
  super(...arguments), this.code = "ERR_JOSE_NOT_SUPPORTED";
404
404
  }
405
405
  };
406
406
  ae.code = "ERR_JOSE_NOT_SUPPORTED";
407
- class ta extends q {
407
+ class ta extends z {
408
408
  constructor(t = "decryption operation failed", r) {
409
409
  super(t, r), this.code = "ERR_JWE_DECRYPTION_FAILED";
410
410
  }
411
411
  }
412
412
  ta.code = "ERR_JWE_DECRYPTION_FAILED";
413
- class ra extends q {
413
+ class ra extends z {
414
414
  constructor() {
415
415
  super(...arguments), this.code = "ERR_JWE_INVALID";
416
416
  }
417
417
  }
418
418
  ra.code = "ERR_JWE_INVALID";
419
- let H = class extends q {
419
+ let H = class extends z {
420
420
  constructor() {
421
421
  super(...arguments), this.code = "ERR_JWS_INVALID";
422
422
  }
423
423
  };
424
424
  H.code = "ERR_JWS_INVALID";
425
- let ie = class extends q {
425
+ let ie = class extends z {
426
426
  constructor() {
427
427
  super(...arguments), this.code = "ERR_JWT_INVALID";
428
428
  }
429
429
  };
430
430
  ie.code = "ERR_JWT_INVALID";
431
- class na extends q {
431
+ class na extends z {
432
432
  constructor() {
433
433
  super(...arguments), this.code = "ERR_JWK_INVALID";
434
434
  }
435
435
  }
436
436
  na.code = "ERR_JWK_INVALID";
437
- class aa extends q {
437
+ class aa extends z {
438
438
  constructor() {
439
439
  super(...arguments), this.code = "ERR_JWKS_INVALID";
440
440
  }
441
441
  }
442
442
  aa.code = "ERR_JWKS_INVALID";
443
- class sa extends q {
443
+ class sa extends z {
444
444
  constructor(t = "no applicable key found in the JSON Web Key Set", r) {
445
445
  super(t, r), this.code = "ERR_JWKS_NO_MATCHING_KEY";
446
446
  }
447
447
  }
448
448
  sa.code = "ERR_JWKS_NO_MATCHING_KEY";
449
- class oa extends q {
449
+ class oa extends z {
450
450
  constructor(t = "multiple matching keys found in the JSON Web Key Set", r) {
451
451
  super(t, r), this.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
452
452
  }
453
453
  }
454
454
  oa.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
455
- class ia extends q {
455
+ class ia extends z {
456
456
  constructor(t = "request timed out", r) {
457
457
  super(t, r), this.code = "ERR_JWKS_TIMEOUT";
458
458
  }
459
459
  }
460
460
  ia.code = "ERR_JWKS_TIMEOUT";
461
- class Qr extends q {
461
+ class Qr extends z {
462
462
  constructor(t = "signature verification failed", r) {
463
463
  super(t, r), this.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
464
464
  }
@@ -559,7 +559,7 @@ const fr = (e, ...t) => Xr("Key must be ", e, ...t);
559
559
  function Zr(e, t, ...r) {
560
560
  return Xr(`Key for the ${e} algorithm must be `, t, ...r);
561
561
  }
562
- const en = (e) => zr(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", ot = ["CryptoKey"], ua = (...e) => {
562
+ const en = (e) => qr(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", ot = ["CryptoKey"], ua = (...e) => {
563
563
  const t = e.filter(Boolean);
564
564
  if (t.length === 0 || t.length === 1)
565
565
  return !0;
@@ -692,7 +692,7 @@ const tn = async (e) => {
692
692
  ], a = { ...e };
693
693
  return delete a.alg, delete a.use, ut.subtle.importKey("jwk", a, ...n);
694
694
  }, rn = (e) => we(e);
695
- let Re, Ae;
695
+ let Ae, Re;
696
696
  const nn = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", it = async (e, t, r, n, a = !1) => {
697
697
  let s = e.get(t);
698
698
  if (s != null && s[n])
@@ -702,15 +702,15 @@ const nn = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
702
702
  }, Ea = (e, t) => {
703
703
  if (nn(e)) {
704
704
  let r = e.export({ format: "jwk" });
705
- return delete r.d, delete r.dp, delete r.dq, delete r.p, delete r.q, delete r.qi, r.k ? rn(r.k) : (Ae || (Ae = /* @__PURE__ */ new WeakMap()), it(Ae, e, r, t));
705
+ return delete r.d, delete r.dp, delete r.dq, delete r.p, delete r.q, delete r.qi, r.k ? rn(r.k) : (Re || (Re = /* @__PURE__ */ new WeakMap()), it(Re, e, r, t));
706
706
  }
707
- return De(e) ? e.k ? we(e.k) : (Ae || (Ae = /* @__PURE__ */ new WeakMap()), it(Ae, e, e, t, !0)) : e;
707
+ return De(e) ? e.k ? we(e.k) : (Re || (Re = /* @__PURE__ */ new WeakMap()), it(Re, e, e, t, !0)) : e;
708
708
  }, ba = (e, t) => {
709
709
  if (nn(e)) {
710
710
  let r = e.export({ format: "jwk" });
711
- return r.k ? rn(r.k) : (Re || (Re = /* @__PURE__ */ new WeakMap()), it(Re, e, r, t));
711
+ return r.k ? rn(r.k) : (Ae || (Ae = /* @__PURE__ */ new WeakMap()), it(Ae, e, r, t));
712
712
  }
713
- return De(e) ? e.k ? we(e.k) : (Re || (Re = /* @__PURE__ */ new WeakMap()), it(Re, e, e, t, !0)) : e;
713
+ return De(e) ? e.k ? we(e.k) : (Ae || (Ae = /* @__PURE__ */ new WeakMap()), it(Ae, e, e, t, !0)) : e;
714
714
  }, Sa = { normalizePublicKey: Ea, normalizePrivateKey: ba }, be = (e, t, r = 0) => {
715
715
  r === 0 && (t.unshift(t.length), t.unshift(6));
716
716
  const n = e.indexOf(t[0], r);
@@ -817,7 +817,7 @@ const Ce = (e) => e == null ? void 0 : e[Symbol.toStringTag], Vt = (e, t, r) =>
817
817
  if (t.alg !== void 0 && t.alg !== e)
818
818
  throw new TypeError(`Invalid key for this operation, when present its alg must be ${e}`);
819
819
  return !0;
820
- }, Ra = (e, t, r, n) => {
820
+ }, Aa = (e, t, r, n) => {
821
821
  if (!(t instanceof Uint8Array)) {
822
822
  if (n && De(t)) {
823
823
  if (ga(t) && Vt(e, t, r))
@@ -829,7 +829,7 @@ const Ce = (e) => e == null ? void 0 : e[Symbol.toStringTag], Vt = (e, t, r) =>
829
829
  if (t.type !== "secret")
830
830
  throw new TypeError(`${Ce(t)} instances for symmetric algorithms must be of type "secret"`);
831
831
  }
832
- }, Aa = (e, t, r, n) => {
832
+ }, Ra = (e, t, r, n) => {
833
833
  if (n && De(t))
834
834
  switch (r) {
835
835
  case "sign":
@@ -855,7 +855,7 @@ const Ce = (e) => e == null ? void 0 : e[Symbol.toStringTag], Vt = (e, t, r) =>
855
855
  throw new TypeError(`${Ce(t)} instances for asymmetric algorithm encryption must be of type "public"`);
856
856
  };
857
857
  function an(e, t, r, n) {
858
- t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ? Ra(t, r, n, e) : Aa(t, r, n, e);
858
+ t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ? Aa(t, r, n, e) : Ra(t, r, n, e);
859
859
  }
860
860
  an.bind(void 0, !1);
861
861
  const pr = an.bind(void 0, !0);
@@ -910,7 +910,7 @@ function Na(e, t) {
910
910
  }
911
911
  }
912
912
  async function Oa(e, t, r) {
913
- if (t = await Sa.normalizePublicKey(t, e), zr(t))
913
+ if (t = await Sa.normalizePublicKey(t, e), qr(t))
914
914
  return da(t, e, r), t;
915
915
  if (t instanceof Uint8Array) {
916
916
  if (!e.startsWith("HS"))
@@ -964,7 +964,7 @@ async function xa(e, t, r) {
964
964
  throw new H('JWS "alg" (Algorithm) Header Parameter missing or invalid');
965
965
  const c = ka("algorithms", r.algorithms);
966
966
  if (c && !c.has(i))
967
- throw new qr('"alg" (Algorithm) Header Parameter value not allowed');
967
+ throw new zr('"alg" (Algorithm) Header Parameter value not allowed');
968
968
  if (o) {
969
969
  if (typeof e.payload != "string")
970
970
  throw new H("JWS Payload must be a string");
@@ -1160,15 +1160,15 @@ for (let e = 0; e < 256; ++e)
1160
1160
  function Ba(e, t = 0) {
1161
1161
  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();
1162
1162
  }
1163
- let Rt;
1163
+ let At;
1164
1164
  const Fa = new Uint8Array(16);
1165
1165
  function Ja() {
1166
- if (!Rt) {
1166
+ if (!At) {
1167
1167
  if (typeof crypto > "u" || !crypto.getRandomValues)
1168
1168
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1169
- Rt = crypto.getRandomValues.bind(crypto);
1169
+ At = crypto.getRandomValues.bind(crypto);
1170
1170
  }
1171
- return Rt(Fa);
1171
+ return At(Fa);
1172
1172
  }
1173
1173
  const Ya = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Er = { randomUUID: Ya };
1174
1174
  function br(e, t, r) {
@@ -1178,19 +1178,19 @@ function br(e, t, r) {
1178
1178
  const n = e.random || (e.rng || Ja)();
1179
1179
  return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Ba(n);
1180
1180
  }
1181
- const Sr = globalThis.crypto, ja = (e) => `${br()}${br()}`.slice(0, e), za = (e) => btoa(
1181
+ const Sr = globalThis.crypto, ja = (e) => `${br()}${br()}`.slice(0, e), qa = (e) => btoa(
1182
1182
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
1183
1183
  );
1184
- async function qa(e) {
1184
+ async function za(e) {
1185
1185
  if (!Sr.subtle)
1186
1186
  throw new Error(
1187
1187
  "crypto.subtle is available only in secure contexts (HTTPS)."
1188
1188
  );
1189
1189
  const t = new TextEncoder().encode(e), r = await Sr.subtle.digest("SHA-256", t);
1190
- return za(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
1190
+ return qa(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
1191
1191
  }
1192
1192
  async function Qa(e) {
1193
- const t = ja(43), r = await qa(t);
1193
+ const t = ja(43), r = await za(t);
1194
1194
  return {
1195
1195
  code_verifier: t,
1196
1196
  code_challenge: r
@@ -1207,7 +1207,7 @@ const wr = (e, t) => {
1207
1207
  }, Xa = (e) => {
1208
1208
  window.localStorage.removeItem(e), cn(e, null);
1209
1209
  }, Tr = (e) => window.localStorage.getItem(e), Za = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
1210
- function ze({
1210
+ function qe({
1211
1211
  key: e,
1212
1212
  initialValue: t
1213
1213
  }) {
@@ -1240,15 +1240,15 @@ for (let e = 0; e < 256; ++e)
1240
1240
  function es(e, t = 0) {
1241
1241
  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();
1242
1242
  }
1243
- let At;
1243
+ let Rt;
1244
1244
  const ts = new Uint8Array(16);
1245
1245
  function rs() {
1246
- if (!At) {
1246
+ if (!Rt) {
1247
1247
  if (typeof crypto > "u" || !crypto.getRandomValues)
1248
1248
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1249
- At = crypto.getRandomValues.bind(crypto);
1249
+ Rt = crypto.getRandomValues.bind(crypto);
1250
1250
  }
1251
- return At(ts);
1251
+ return Rt(ts);
1252
1252
  }
1253
1253
  const ns = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), _r = { randomUUID: ns };
1254
1254
  function vt(e, t, r) {
@@ -1258,7 +1258,7 @@ function vt(e, t, r) {
1258
1258
  const n = e.random || (e.rng || rs)();
1259
1259
  return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, es(n);
1260
1260
  }
1261
- const ve = "Your session has expired. For your security, please log in again to continue.", as = "Your session has been successfully terminated.", kt = "Login failed. Please try again.", ss = "Error getting access token, please re-authenticate.", os = "You forgot to wrap your component in <AuthProvider>.", qe = "@@auth@@", $e = "LOADING", rt = "LOGIN", ln = "LOGOUT", We = "success", ue = "failure", dn = "include", un = "POST", hn = "application/json", Qe = {
1261
+ const ve = "Your session has expired. For your security, please log in again to continue.", as = "Your session has been successfully terminated.", kt = "Login failed. Please try again.", ss = "Error getting access token, please re-authenticate.", os = "You forgot to wrap your component in <AuthProvider>.", ze = "@@auth@@", $e = "LOADING", rt = "LOGIN", ln = "LOGOUT", We = "success", ue = "failure", dn = "include", un = "POST", hn = "application/json", Qe = {
1262
1262
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
1263
1263
  $clientId: String!,
1264
1264
  $username: String!,
@@ -1673,16 +1673,16 @@ const ps = (e) => re(
1673
1673
  const [o, i] = Wr(ys, {
1674
1674
  ...fn,
1675
1675
  debug: a
1676
- }), c = ps(a), m = x(!1), [f, u, , l] = ze({
1677
- key: `${qe}::${r}::@@user@@`
1678
- }), [d, p, , y] = ze({
1679
- key: `${qe}::${r}::@@access@@`
1680
- }), [w, g, , $] = ze(
1676
+ }), c = ps(a), m = x(!1), [f, u, , l] = qe({
1677
+ key: `${ze}::${r}::@@user@@`
1678
+ }), [d, p, , y] = qe({
1679
+ key: `${ze}::${r}::@@access@@`
1680
+ }), [w, g, , $] = qe(
1681
1681
  {
1682
- key: `${qe}::${r}::@@refresh@@`
1682
+ key: `${ze}::${r}::@@refresh@@`
1683
1683
  }
1684
- ), [U, K, , I] = ze({
1685
- key: `${qe}::${r}::@@nonce@@`
1684
+ ), [U, K, , I] = qe({
1685
+ key: `${ze}::${r}::@@nonce@@`
1686
1686
  }), D = new ms(d, w), M = re(() => {
1687
1687
  c("removeLocalStorage: removing local storage"), l(), y(), $(), I();
1688
1688
  }, [
@@ -1790,7 +1790,7 @@ const ps = (e) => re(
1790
1790
  }), !0) : (S(kt), !1);
1791
1791
  }
1792
1792
  return !1;
1793
- }, R = async (b) => {
1793
+ }, A = async (b) => {
1794
1794
  b == null || b.preventDefault(), await v(as);
1795
1795
  }, C = async () => {
1796
1796
  const { isAuthenticated: b, user: k } = o;
@@ -1822,7 +1822,7 @@ const ps = (e) => re(
1822
1822
  "getAccessToken: exception occurred, invalidating and logging out"
1823
1823
  ), await v(ss), "";
1824
1824
  }
1825
- }, A = () => o.isAuthenticated && f ? f : "", V = async () => {
1825
+ }, R = () => o.isAuthenticated && f ? f : "", V = async () => {
1826
1826
  const { user: b } = o;
1827
1827
  let k = await Ne({
1828
1828
  endpoint: s,
@@ -1932,16 +1932,16 @@ const ps = (e) => re(
1932
1932
  value: {
1933
1933
  ...o,
1934
1934
  login: P,
1935
- logout: R,
1935
+ logout: A,
1936
1936
  getAccessToken: C,
1937
- getIdToken: A,
1937
+ getIdToken: R,
1938
1938
  registeringForPasskey: V,
1939
1939
  loginWithPasskey: ee
1940
1940
  },
1941
1941
  children: e
1942
1942
  }
1943
1943
  ) });
1944
- }, pn = (e = mn) => Zt(e), Ci = "user", xi = "assistant", Pi = "system", Di = "internal", Li = "hidden", $i = "I'm having trouble right now. Please try again later.", Ui = "OpenAI", Mi = "OpenAI", Hi = "Anthropic", Ki = "action-search", Vi = "action-sort", Wi = "action-toggle-prompt", Gi = "action-reset-prompt", Bi = "sassy-saint-", Fi = "details", Ji = "search", Yi = "sort", ji = "private-disclosure", zi = "==stats==", qi = "==wait==", Rr = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Qi = 10, Xi = 30, Zi = "av-prompt", ec = "av-prompt-editable", tc = "size-5 sm:size-4", rc = 30, nc = 10, ac = 130;
1944
+ }, pn = (e = mn) => Zt(e), Ci = "user", xi = "assistant", Pi = "system", Di = "internal", Li = "hidden", $i = "I'm having trouble right now. Please try again later.", Ui = "OpenAI", Mi = "OpenAI", Hi = "Anthropic", Ki = "action-search", Vi = "action-sort", Wi = "action-toggle-prompt", Gi = "action-reset-prompt", Bi = "sassy-saint-", Fi = "details", Ji = "search", Yi = "sort", ji = "private-disclosure", qi = "==stats==", zi = "==wait==", Ar = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Qi = 10, Xi = 30, Zi = "av-prompt", ec = "av-prompt-editable", tc = "size-5 sm:size-4", rc = 30, nc = 10, ac = 130;
1945
1945
  var Xe = { exports: {} }, Nt = {};
1946
1946
  /**
1947
1947
  * @license React
@@ -1952,10 +1952,10 @@ var Xe = { exports: {} }, Nt = {};
1952
1952
  * This source code is licensed under the MIT license found in the
1953
1953
  * LICENSE file in the root directory of this source tree.
1954
1954
  */
1955
- var Ar;
1955
+ var Rr;
1956
1956
  function Es() {
1957
- if (Ar) return Nt;
1958
- Ar = 1;
1957
+ if (Rr) return Nt;
1958
+ Rr = 1;
1959
1959
  var e = Z;
1960
1960
  function t(u, l) {
1961
1961
  return u === l && (u !== 0 || 1 / u === 1 / l) || u !== u && l !== l;
@@ -2084,10 +2084,10 @@ function Wt(e, t) {
2084
2084
  return e !== e && t !== t;
2085
2085
  }
2086
2086
  const le = /* @__PURE__ */ new WeakMap(), Se = () => {
2087
- }, z = (
2087
+ }, q = (
2088
2088
  /*#__NOINLINE__*/
2089
2089
  Se()
2090
- ), Gt = Object, _ = (e) => e === z, de = (e) => typeof e == "function", Te = (e, t) => ({
2090
+ ), Gt = Object, _ = (e) => e === q, de = (e) => typeof e == "function", Te = (e, t) => ({
2091
2091
  ...e,
2092
2092
  ...t
2093
2093
  }), bn = (e) => de(e.then), Ct = {}, Ze = {}, rr = "undefined", Ge = typeof window != rr, Bt = typeof document != rr, Ts = Ge && "Deno" in window, _s = () => Ge && typeof window.requestAnimationFrame != rr, Sn = (e, t) => {
@@ -2115,10 +2115,10 @@ const Is = () => Ft, [Jt, Yt] = Ge && window.addEventListener ? [
2115
2115
  ] : [
2116
2116
  Se,
2117
2117
  Se
2118
- ], Rs = () => {
2118
+ ], As = () => {
2119
2119
  const e = Bt && document.visibilityState;
2120
2120
  return _(e) || e !== "hidden";
2121
- }, As = (e) => (Bt && document.addEventListener("visibilitychange", e), Jt("focus", e), () => {
2121
+ }, Rs = (e) => (Bt && document.addEventListener("visibilitychange", e), Jt("focus", e), () => {
2122
2122
  Bt && document.removeEventListener("visibilitychange", e), Yt("focus", e);
2123
2123
  }), vs = (e) => {
2124
2124
  const t = () => {
@@ -2131,9 +2131,9 @@ const Is = () => Ft, [Jt, Yt] = Ge && window.addEventListener ? [
2131
2131
  };
2132
2132
  }, ks = {
2133
2133
  isOnline: Is,
2134
- isVisible: Rs
2134
+ isVisible: As
2135
2135
  }, Ns = {
2136
- initFocus: As,
2136
+ initFocus: Rs,
2137
2137
  initReconnect: vs
2138
2138
  }, Cr = !Z.useId, He = !Ge || Ts, Os = (e) => _s() ? window.requestAnimationFrame(e) : setTimeout(e, 1), xt = He ? se : Ue, Pt = typeof navigator < "u" && navigator.connection, xr = !He && Pt && ([
2139
2139
  "slow-2g",
@@ -2174,7 +2174,7 @@ const jt = (e) => {
2174
2174
  ];
2175
2175
  };
2176
2176
  let xs = 0;
2177
- const zt = () => ++xs;
2177
+ const qt = () => ++xs;
2178
2178
  async function wn(...e) {
2179
2179
  const [t, r, n, a] = e, s = Te({
2180
2180
  populateCache: !0,
@@ -2198,54 +2198,54 @@ async function wn(...e) {
2198
2198
  const [d] = ft(l);
2199
2199
  if (!d) return;
2200
2200
  const [p, y] = Sn(t, d), [w, g, $, U] = le.get(t), K = () => {
2201
- const A = w[d];
2202
- return (de(s.revalidate) ? s.revalidate(p().data, l) : s.revalidate !== !1) && (delete $[d], delete U[d], A && A[0]) ? A[0](En).then(() => p().data) : p().data;
2201
+ const R = w[d];
2202
+ return (de(s.revalidate) ? s.revalidate(p().data, l) : s.revalidate !== !1) && (delete $[d], delete U[d], R && R[0]) ? R[0](En).then(() => p().data) : p().data;
2203
2203
  };
2204
2204
  if (e.length < 3)
2205
2205
  return K();
2206
2206
  let I = n, D;
2207
- const M = zt();
2207
+ const M = qt();
2208
2208
  g[d] = [
2209
2209
  M,
2210
2210
  0
2211
2211
  ];
2212
- const S = !_(c), v = p(), P = v.data, R = v._c, C = _(R) ? P : R;
2212
+ const S = !_(c), v = p(), P = v.data, A = v._c, C = _(A) ? P : A;
2213
2213
  if (S && (c = de(c) ? c(C, P) : c, y({
2214
2214
  data: c,
2215
2215
  _c: C
2216
2216
  })), de(I))
2217
2217
  try {
2218
2218
  I = I(C);
2219
- } catch (A) {
2220
- D = A;
2219
+ } catch (R) {
2220
+ D = R;
2221
2221
  }
2222
2222
  if (I && bn(I))
2223
- if (I = await I.catch((A) => {
2224
- D = A;
2223
+ if (I = await I.catch((R) => {
2224
+ D = R;
2225
2225
  }), M !== g[d][0]) {
2226
2226
  if (D) throw D;
2227
2227
  return I;
2228
2228
  } else D && S && m(D) && (o = !0, y({
2229
2229
  data: C,
2230
- _c: z
2230
+ _c: q
2231
2231
  }));
2232
2232
  if (o && !D)
2233
2233
  if (de(o)) {
2234
- const A = o(I, C);
2234
+ const R = o(I, C);
2235
2235
  y({
2236
- data: A,
2237
- error: z,
2238
- _c: z
2236
+ data: R,
2237
+ error: q,
2238
+ _c: q
2239
2239
  });
2240
2240
  } else
2241
2241
  y({
2242
2242
  data: I,
2243
- error: z,
2244
- _c: z
2243
+ error: q,
2244
+ _c: q
2245
2245
  });
2246
- if (g[d][1] = zt(), Promise.resolve(K()).then(() => {
2246
+ if (g[d][1] = qt(), Promise.resolve(K()).then(() => {
2247
2247
  y({
2248
- _c: z
2248
+ _c: q
2249
2249
  });
2250
2250
  }), D) {
2251
2251
  if (f) throw D;
@@ -2259,7 +2259,7 @@ const Pr = (e, t) => {
2259
2259
  e[r][0] && e[r][0](t);
2260
2260
  }, Ps = (e, t) => {
2261
2261
  if (!le.has(e)) {
2262
- const r = Te(Ns, t), n = {}, a = wn.bind(z, e);
2262
+ const r = Te(Ns, t), n = {}, a = wn.bind(q, e);
2263
2263
  let s = Se;
2264
2264
  const o = {}, i = (f, u) => {
2265
2265
  const l = o[f] || [];
@@ -2280,7 +2280,7 @@ const Pr = (e, t) => {
2280
2280
  c,
2281
2281
  i
2282
2282
  ]), !He)) {
2283
- const f = r.initFocus(setTimeout.bind(z, Pr.bind(z, n, gn))), u = r.initReconnect(setTimeout.bind(z, Pr.bind(z, n, yn)));
2283
+ const f = r.initFocus(setTimeout.bind(q, Pr.bind(q, n, gn))), u = r.initReconnect(setTimeout.bind(q, Pr.bind(q, n, yn)));
2284
2284
  s = () => {
2285
2285
  f && f(), u && u(), le.delete(e);
2286
2286
  };
@@ -2391,8 +2391,8 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2391
2391
  }
2392
2392
  }), $t = {
2393
2393
  dedupe: !0
2394
- }, zs = (e, t, r) => {
2395
- const { cache: n, compare: a, suspense: s, fallbackData: o, revalidateOnMount: i, revalidateIfStale: c, refreshInterval: m, refreshWhenHidden: f, refreshWhenOffline: u, keepPreviousData: l } = r, [d, p, y, w] = le.get(n), [g, $] = ft(e), U = x(!1), K = x(!1), I = x(g), D = x(t), M = x(r), S = () => M.current, v = () => S().isVisible() && S().isOnline(), [P, R, C, A] = Sn(n, g), V = x({}).current, ee = _(o) ? _(r.fallback) ? z : r.fallback[g] : o, b = (N, O) => {
2394
+ }, qs = (e, t, r) => {
2395
+ const { cache: n, compare: a, suspense: s, fallbackData: o, revalidateOnMount: i, revalidateIfStale: c, refreshInterval: m, refreshWhenHidden: f, refreshWhenOffline: u, keepPreviousData: l } = r, [d, p, y, w] = le.get(n), [g, $] = ft(e), U = x(!1), K = x(!1), I = x(g), D = x(t), M = x(r), S = () => M.current, v = () => S().isVisible() && S().isOnline(), [P, A, C, R] = Sn(n, g), V = x({}).current, ee = _(o) ? _(r.fallback) ? q : r.fallback[g] : o, b = (N, O) => {
2396
2396
  for (const J in V) {
2397
2397
  const L = J;
2398
2398
  if (L === "data") {
@@ -2410,7 +2410,7 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2410
2410
  isLoading: !0,
2411
2411
  ...me
2412
2412
  } : me;
2413
- }, J = P(), L = A(), oe = O(J), Ie = J === L ? oe : O(L);
2413
+ }, J = P(), L = R(), oe = O(J), Ie = J === L ? oe : O(L);
2414
2414
  let W = oe;
2415
2415
  return [
2416
2416
  () => {
@@ -2441,7 +2441,7 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2441
2441
  isValidating: !1,
2442
2442
  isLoading: !1
2443
2443
  }, dr = () => {
2444
- R(me);
2444
+ A(me);
2445
2445
  }, ur = () => {
2446
2446
  const te = y[g];
2447
2447
  te && te[1] === L && delete y[g];
@@ -2450,14 +2450,14 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2450
2450
  };
2451
2451
  _(P().data) && (hr.isLoading = !0);
2452
2452
  try {
2453
- if (W && (R(hr), r.loadingTimeout && _(P().data) && setTimeout(() => {
2453
+ if (W && (A(hr), r.loadingTimeout && _(P().data) && setTimeout(() => {
2454
2454
  oe && j() && S().onLoadingSlow(g, r);
2455
2455
  }, r.loadingTimeout), y[g] = [
2456
2456
  O($),
2457
- zt()
2457
+ qt()
2458
2458
  ]), [J, L] = y[g], J = await J, W && setTimeout(ur, r.dedupingInterval), !y[g] || y[g][1] !== L)
2459
2459
  return W && j() && S().onDiscarded(g), !1;
2460
- me.error = z;
2460
+ me.error = q;
2461
2461
  const te = p[g];
2462
2462
  if (!_(te) && // case 1
2463
2463
  (L <= te[0] || // case 2
@@ -2504,7 +2504,7 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2504
2504
  D.current = t, M.current = r, _(fe) || (bt.current = fe);
2505
2505
  }), xt(() => {
2506
2506
  if (!g) return;
2507
- const N = Le.bind(z, $t);
2507
+ const N = Le.bind(q, $t);
2508
2508
  let O = 0;
2509
2509
  const L = js(g, d, (oe, Ie = {}) => {
2510
2510
  if (oe == gn) {
@@ -2519,7 +2519,7 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2519
2519
  return Le(Ie);
2520
2520
  }
2521
2521
  });
2522
- return K.current = !1, I.current = g, U.current = !0, R({
2522
+ return K.current = !1, I.current = g, U.current = !0, A({
2523
2523
  _k: $
2524
2524
  }), ir && (_(Q) || He ? N() : Os(N)), () => {
2525
2525
  K.current = !0, L();
@@ -2573,7 +2573,7 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2573
2573
  return V.isLoading = !0, Un;
2574
2574
  }
2575
2575
  };
2576
- }, qs = Ys(zs), ye = {
2576
+ }, zs = Ys(qs), ye = {
2577
2577
  GET_LOCATION: `query GetLocation($latitude: Float!, $longitude: Float!) {
2578
2578
  location(latitude: $latitude, longitude: $longitude) {
2579
2579
  country
@@ -2672,6 +2672,8 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2672
2672
  label
2673
2673
  content
2674
2674
  privateChat
2675
+ clipboardAccess
2676
+ description
2675
2677
  }
2676
2678
  }
2677
2679
  }`,
@@ -2743,7 +2745,7 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2743
2745
  query: e,
2744
2746
  variables: t
2745
2747
  })
2746
- }), qt = async (e) => {
2748
+ }), zt = async (e) => {
2747
2749
  var r;
2748
2750
  const t = (r = e.type) != null && r.data ? e.type.data(e.params) : e.params;
2749
2751
  try {
@@ -2796,7 +2798,7 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2796
2798
  username: r
2797
2799
  }) => {
2798
2800
  try {
2799
- await qt({
2801
+ await zt({
2800
2802
  accessToken: t,
2801
2803
  type: Be.SET_USER_PREFERENCES,
2802
2804
  params: {
@@ -2813,7 +2815,7 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2813
2815
  swrOptions: n,
2814
2816
  getAccessToken: a
2815
2817
  }) => {
2816
- const { data: s, error: o, isLoading: i, mutate: c } = qs(
2818
+ const { data: s, error: o, isLoading: i, mutate: c } = zs(
2817
2819
  [t, ...r],
2818
2820
  (m) => e(m, a),
2819
2821
  { ...n }
@@ -2822,14 +2824,14 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2822
2824
  }, pt = async (e) => {
2823
2825
  let t;
2824
2826
  if (e.noAuth === !0)
2825
- t = await qt({
2827
+ t = await zt({
2826
2828
  noAuth: !0,
2827
2829
  type: e.type,
2828
2830
  params: e.params
2829
2831
  });
2830
2832
  else {
2831
2833
  const r = await e.getAccessToken();
2832
- t = await qt({
2834
+ t = await zt({
2833
2835
  accessToken: r,
2834
2836
  type: e.type,
2835
2837
  params: e.params
@@ -2880,7 +2882,7 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2880
2882
  revalidateOnReconnect: !0
2881
2883
  },
2882
2884
  getAccessToken: t
2883
- }), Rn = async ([e, t, r, n], a) => pt({
2885
+ }), An = async ([e, t, r, n], a) => pt({
2884
2886
  getAccessToken: a,
2885
2887
  type: Be.GET_CHATS,
2886
2888
  params: {
@@ -2894,7 +2896,7 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2894
2896
  keys: e,
2895
2897
  getAccessToken: t
2896
2898
  }) => mt({
2897
- fetcher: Rn,
2899
+ fetcher: An,
2898
2900
  scope: "/history",
2899
2901
  keys: e,
2900
2902
  getAccessToken: t,
@@ -2909,18 +2911,18 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2909
2911
  keys: e,
2910
2912
  getAccessToken: t
2911
2913
  }) => {
2912
- _n(["/history", ...e], (r) => Rn(r, t));
2913
- }, An = async ([e]) => pt({
2914
+ _n(["/history", ...e], (r) => An(r, t));
2915
+ }, Rn = async ([e]) => pt({
2914
2916
  noAuth: !0,
2915
2917
  type: Be.GET_SERVER_CAPABILITIES
2916
2918
  }), uc = () => mt({
2917
- fetcher: An,
2919
+ fetcher: Rn,
2918
2920
  scope: "/capabilities",
2919
2921
  keys: [],
2920
2922
  getAccessToken: () => Promise.resolve("")
2921
2923
  // No auth required
2922
2924
  }), Zs = () => {
2923
- _n(["/capabilities"], (e) => An(e));
2925
+ _n(["/capabilities"], (e) => Rn(e));
2924
2926
  }, Lr = (e) => Number.isFinite(e) ? e : 0;
2925
2927
  function eo(e) {
2926
2928
  return {
@@ -3318,7 +3320,7 @@ const co = process.env.NODE_ENV === "production", vn = !co, lo = vn ? "gizmette.
3318
3320
  "dark:text-copy-accent-dark": e === "system"
3319
3321
  },
3320
3322
  r
3321
- ), Ro = ({
3323
+ ), Ao = ({
3322
3324
  animated: e
3323
3325
  }) => E({
3324
3326
  "transition-opacity duration-300 ease-in": e
@@ -3371,7 +3373,7 @@ const co = process.env.NODE_ENV === "production", vn = !co, lo = vn ? "gizmette.
3371
3373
  "transition-[width] duration-300 ease-in-out": e === gt && w
3372
3374
  }),
3373
3375
  t
3374
- )), Ao = (e, t, r) => {
3376
+ )), Ro = (e, t, r) => {
3375
3377
  var n;
3376
3378
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((n = e == null ? void 0 : e.currentTarget) == null ? void 0 : n.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
3377
3379
  }, sr = Z.forwardRef((e, t) => {
@@ -3381,7 +3383,7 @@ const co = process.env.NODE_ENV === "production", vn = !co, lo = vn ? "gizmette.
3381
3383
  {
3382
3384
  ref: t,
3383
3385
  onClick: (s) => {
3384
- Ao(s, n, r);
3386
+ Ro(s, n, r);
3385
3387
  },
3386
3388
  ...a
3387
3389
  }
@@ -3521,18 +3523,18 @@ const Oo = {
3521
3523
  radius: w,
3522
3524
  variant: g,
3523
3525
  animated: U
3524
- }), M = Io({ mode: r, raw: i, iconClassName: $ }), S = Ro({ animated: U }), [v, P] = Ut(), [R, C] = Ut(), [A, V] = Ut(), ee = x(0), b = x(null), k = ko([I, b]);
3526
+ }), M = Io({ mode: r, raw: i, iconClassName: $ }), S = Ao({ animated: U }), [v, P] = Ut(), [A, C] = Ut(), [R, V] = Ut(), ee = x(0), b = x(null), k = ko([I, b]);
3525
3527
  return Ue(() => {
3526
- A && A.current && U && (ee.current = V.width + Co[u] + (c ? 0 : xo));
3527
- }, [V, A, u, c, U]), Ue(() => {
3528
- b && b.current && U && (l && v && P.width > 0 ? (v.current && (v.current.style.opacity = "100"), b.current.style.width = `${P.width + ee.current}px`) : d && C.width > 0 ? (R.current && (R.current.style.opacity = "100"), b.current.style.width = `${C.width + ee.current}px`) : (v.current && (v.current.style.opacity = "0"), R.current && (R.current.style.opacity = "0"), b.current.style.width = `${Oo[u]}px`));
3528
+ R && R.current && U && (ee.current = V.width + Co[u] + (c ? 0 : xo));
3529
+ }, [V, R, u, c, U]), Ue(() => {
3530
+ b && b.current && U && (l && v && P.width > 0 ? (v.current && (v.current.style.opacity = "100"), b.current.style.width = `${P.width + ee.current}px`) : d && C.width > 0 ? (A.current && (A.current.style.opacity = "100"), b.current.style.width = `${C.width + ee.current}px`) : (v.current && (v.current.style.opacity = "0"), A.current && (A.current.style.opacity = "0"), b.current.style.width = `${Oo[u]}px`));
3529
3531
  }, [
3530
3532
  P,
3531
3533
  l,
3532
3534
  v,
3533
3535
  C,
3534
3536
  d,
3535
- R,
3537
+ A,
3536
3538
  u,
3537
3539
  U
3538
3540
  ]), /* @__PURE__ */ X(
@@ -3549,12 +3551,12 @@ const Oo = {
3549
3551
  Ur,
3550
3552
  {
3551
3553
  label: d,
3552
- labelRef: R,
3554
+ labelRef: A,
3553
3555
  labelClass: S,
3554
3556
  labelInnerClass: "pr-2"
3555
3557
  }
3556
3558
  ),
3557
- /* @__PURE__ */ h("span", { ref: A, className: M, children: e }),
3559
+ /* @__PURE__ */ h("span", { ref: R, className: M, children: e }),
3558
3560
  /* @__PURE__ */ h(
3559
3561
  Ur,
3560
3562
  {
@@ -3890,13 +3892,13 @@ const Mo = ({
3890
3892
  }
3891
3893
  );
3892
3894
  /*!
3893
- @versini/ui-icons v4.6.1
3895
+ @versini/ui-icons v4.7.0
3894
3896
  © 2025 gizmette.com
3895
3897
  */
3896
3898
  try {
3897
3899
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
3898
- version: "4.6.1",
3899
- buildTime: "01/21/2025 01:33 PM EST",
3900
+ version: "4.7.0",
3901
+ buildTime: "02/17/2025 07:52 PM EST",
3900
3902
  homepage: "https://github.com/aversini/ui-components",
3901
3903
  license: "MIT"
3902
3904
  });
@@ -4097,7 +4099,7 @@ function jo() {
4097
4099
  e.current = !1;
4098
4100
  }), []), re(() => e.current, []);
4099
4101
  }
4100
- const zo = {
4102
+ const qo = {
4101
4103
  x: 0,
4102
4104
  y: 0,
4103
4105
  width: 0,
@@ -4107,8 +4109,8 @@ const zo = {
4107
4109
  bottom: 0,
4108
4110
  right: 0
4109
4111
  };
4110
- function qo(e) {
4111
- const t = jo(), r = x(0), n = x(null), [a, s] = Ee(zo), o = Ke(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
4112
+ function zo(e) {
4113
+ const t = jo(), r = x(0), n = x(null), [a, s] = Ee(qo), o = Ke(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
4112
4114
  const c = i[0];
4113
4115
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
4114
4116
  n.current && t() && s(c.contentRect);
@@ -4417,13 +4419,13 @@ const ri = ({
4417
4419
  size: g = "md",
4418
4420
  ...$
4419
4421
  }, U) => {
4420
- const [K, I] = qo(), [D, M] = Ee(0), S = Qo({ id: e, prefix: `${On}-` }), v = `${t} error, ${p}`, P = x(null), R = x(null), C = {
4422
+ const [K, I] = zo(), [D, M] = Ee(0), S = Qo({ id: e, prefix: `${On}-` }), v = `${t} error, ${p}`, P = x(null), A = x(null), C = {
4421
4423
  xs: { label: "-25px", helperText: "30px" },
4422
4424
  sm: { label: "-29px", helperText: "34px" },
4423
4425
  md: { label: "-33px", helperText: "38px" },
4424
4426
  lg: { label: "-15px", helperText: "22px" },
4425
4427
  xl: { label: "-19px", helperText: "25px" }
4426
- }, A = ii({
4428
+ }, R = ii({
4427
4429
  className: s,
4428
4430
  inputClassName: o,
4429
4431
  error: n,
@@ -4440,17 +4442,17 @@ const ri = ({
4440
4442
  }, [I]), Ue(() => {
4441
4443
  var V, ee;
4442
4444
  const { label: b, helperText: k } = C[g];
4443
- (V = P == null ? void 0 : P.current) == null || V.style.setProperty("--av-text-input-label", b), (ee = R == null ? void 0 : R.current) == null || ee.style.setProperty(
4445
+ (V = P == null ? void 0 : P.current) == null || V.style.setProperty("--av-text-input-label", b), (ee = A == null ? void 0 : A.current) == null || ee.style.setProperty(
4444
4446
  "--av-text-input-helper-text",
4445
4447
  k
4446
4448
  );
4447
- }, [g]), /* @__PURE__ */ X("div", { className: A.wrapper, children: [
4449
+ }, [g]), /* @__PURE__ */ X("div", { className: R.wrapper, children: [
4448
4450
  /* @__PURE__ */ h(
4449
4451
  "label",
4450
4452
  {
4451
4453
  htmlFor: S,
4452
4454
  id: u,
4453
- className: A.accessibleLabel,
4455
+ className: R.accessibleLabel,
4454
4456
  children: r
4455
4457
  }
4456
4458
  ),
@@ -4463,7 +4465,7 @@ const ri = ({
4463
4465
  type: d,
4464
4466
  disabled: m,
4465
4467
  placeholder: a ? void 0 : " ",
4466
- className: A.input,
4468
+ className: R.input,
4467
4469
  ...p && { "aria-describedby": `${S}-helper` },
4468
4470
  ...n && { "aria-invalid": "true" },
4469
4471
  ...y && !a && { style: { paddingRight: D } },
@@ -4476,16 +4478,16 @@ const ri = ({
4476
4478
  ref: P,
4477
4479
  "aria-hidden": !0,
4478
4480
  htmlFor: S,
4479
- className: A.visibleLabel,
4481
+ className: R.visibleLabel,
4480
4482
  children: r
4481
4483
  }
4482
4484
  ),
4483
4485
  p && /* @__PURE__ */ h(
4484
4486
  "div",
4485
4487
  {
4486
- ref: R,
4488
+ ref: A,
4487
4489
  id: `${S}-helper`,
4488
- className: A.helperText,
4490
+ className: R.helperText,
4489
4491
  children: p
4490
4492
  }
4491
4493
  ),
@@ -4493,7 +4495,7 @@ const ri = ({
4493
4495
  "div",
4494
4496
  {
4495
4497
  ref: K,
4496
- className: A.rightElement,
4498
+ className: R.rightElement,
4497
4499
  children: y
4498
4500
  }
4499
4501
  ),
@@ -4535,24 +4537,24 @@ const li = 500, di = 5e3, ui = 2e4, Dn = Z.forwardRef(
4535
4537
  message: `${r} hiding characters`
4536
4538
  }), a && a(!0);
4537
4539
  }, ui));
4538
- }, D = (R) => {
4539
- R.preventDefault();
4540
+ }, D = (A) => {
4541
+ A.preventDefault();
4540
4542
  const C = !w.current;
4541
4543
  w.current = C, I(), d(C), y({
4542
4544
  announcementTimeout: li,
4543
4545
  politeness: "assertive",
4544
4546
  message: C ? "Characters hidden" : "Characters showing"
4545
4547
  }), a && a(C);
4546
- }, M = (R) => {
4548
+ }, M = (A) => {
4547
4549
  var C;
4548
- const { relatedTarget: A } = R, V = (C = $.current) == null ? void 0 : C.parentElement;
4549
- V != null && V.contains(A) || c && c();
4550
- }, S = (R) => {
4551
- I(), o && o(R), M(R);
4552
- }, v = (R) => {
4553
- I(), i && i(R);
4554
- }, P = (R) => {
4555
- I(), s && s(R);
4550
+ const { relatedTarget: R } = A, V = (C = $.current) == null ? void 0 : C.parentElement;
4551
+ V != null && V.contains(R) || c && c();
4552
+ }, S = (A) => {
4553
+ I(), o && o(A), M(A);
4554
+ }, v = (A) => {
4555
+ I(), i && i(A);
4556
+ }, P = (A) => {
4557
+ I(), s && s(A);
4556
4558
  };
4557
4559
  return se(() => () => {
4558
4560
  g.current && clearTimeout(g.current);
@@ -4605,7 +4607,7 @@ try {
4605
4607
  });
4606
4608
  } catch {
4607
4609
  }
4608
- const hi = "ASK! ME! ANYTHING!", Ln = "Callisto", fi = "Log in", mi = "Sign in with a Passkey", bc = "Log out", pi = "Password", Sc = "Profile", wc = "Settings", Tc = "Chat history", _c = "About", Ic = "Type your question here", Rc = "{{clipboard}}", Ac = `Sometimes, ${Ln} hallucinates. Review important details.`, vc = "Prompts are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder {{clipboard}} to automatically insert the content of your clipboard.", kc = {
4610
+ const hi = "ASK! ME! ANYTHING!", Ln = "Callisto", fi = "Log in", mi = "Sign in with a Passkey", bc = "Log out", pi = "Password", Sc = "Profile", wc = "Settings", Tc = "Chat history", _c = "About", Ic = "Type your question here", Ac = "{{clipboard}}", Rc = `Sometimes, ${Ln} hallucinates. Review important details.`, vc = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Temporary 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.", kc = {
4609
4611
  PREFERENCES: {
4610
4612
  TITLE: "User profile",
4611
4613
  NAME: "Name",
@@ -4772,7 +4774,7 @@ const hi = "ASK! ME! ANYTHING!", Ln = "Callisto", fi = "Log in", mi = "Sign in w
4772
4774
  ) });
4773
4775
  }, Ei = new URL(document.location.href).searchParams, Hr = !!Ei.get("debug") || !1, bi = Vn(() => import(
4774
4776
  /* webpackChunkName: "LazyApp" */
4775
- "./App.BUk7F0B0.js"
4777
+ "./App.bKrYRgTj.js"
4776
4778
  ).then((e) => e.App)), Kr = ({ isComponent: e }) => {
4777
4779
  const { isAuthenticated: t } = pn();
4778
4780
  return t ? /* @__PURE__ */ h(Wn, { fallback: /* @__PURE__ */ h("div", {}), children: /* @__PURE__ */ h(bi, { isComponent: e }) }) : /* @__PURE__ */ h(yi, {});
@@ -4782,13 +4784,13 @@ const hi = "ASK! ME! ANYTHING!", Ln = "Callisto", fi = "Log in", mi = "Sign in w
4782
4784
  }) => (Zs(), vn ? /* @__PURE__ */ h(
4783
4785
  Ir,
4784
4786
  {
4785
- clientId: Rr,
4787
+ clientId: Ar,
4786
4788
  domain: t,
4787
4789
  debug: Hr,
4788
4790
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
4789
4791
  children: /* @__PURE__ */ h(Kr, { isComponent: e })
4790
4792
  }
4791
- ) : /* @__PURE__ */ h(Ir, { clientId: Rr, domain: t, debug: Hr, children: /* @__PURE__ */ h(Kr, { isComponent: e }) })), Nc = ({ domain: e }) => /* @__PURE__ */ h(Si, { isComponent: !0, domain: e });
4793
+ ) : /* @__PURE__ */ h(Ir, { clientId: Ar, domain: t, debug: Hr, children: /* @__PURE__ */ h(Kr, { isComponent: e }) })), Nc = ({ domain: e }) => /* @__PURE__ */ h(Si, { isComponent: !0, domain: e });
4792
4794
  export {
4793
4795
  _c as ABOUT_TITLE,
4794
4796
  Gi as ACTION_RESET_PROMPT,
@@ -4798,11 +4800,11 @@ export {
4798
4800
  Ln as APP_NAME,
4799
4801
  Nn as C,
4800
4802
  kc as CARDS,
4801
- Rc as CLIPBOARD_PROMPT,
4803
+ Ac as CLIPBOARD_PROMPT,
4802
4804
  Ui as DEFAULT_AI_PROVIDER,
4803
4805
  tc as DEFAULT_ICON_ACTION_SIZE,
4804
4806
  $i as ERROR_MESSAGE,
4805
- Ac as FOOTER_DISCLAIMER,
4807
+ Rc as FOOTER_DISCLAIMER,
4806
4808
  Tc as HISTORY_TITLE,
4807
4809
  Go as I,
4808
4810
  Xi as INFINITE_SCROLL_LIMIT,
@@ -4830,13 +4832,13 @@ export {
4830
4832
  Ci as ROLE_USER,
4831
4833
  Be as SERVICE_TYPES,
4832
4834
  wc as SETTINGS_TITLE,
4833
- zi as STATS_SEPARATOR,
4835
+ qi as STATS_SEPARATOR,
4834
4836
  Nc as SassySaint,
4835
4837
  Ic as TYPE_QUESTION,
4836
4838
  nc as UI_BUTTON_SCROLL_BUFFER,
4837
4839
  ac as UI_DEFAULT_MAIN_HEIGHT,
4838
4840
  rc as UI_FOOTER_BUFFER,
4839
- qi as WAIT_SEPARATOR,
4841
+ zi as WAIT_SEPARATOR,
4840
4842
  yc as debounce,
4841
4843
  pc as durationFormatter,
4842
4844
  yt as f,
@@ -4853,7 +4855,7 @@ export {
4853
4855
  ct as re,
4854
4856
  fc as renderDataAsList,
4855
4857
  sc as restCall,
4856
- qt as serviceCall,
4858
+ zt as serviceCall,
4857
4859
  oc as setNewProvider,
4858
4860
  pn as un,
4859
4861
  lc as useChatsHistory,