@versini/sassysaint 7.1.3 → 7.1.4

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.
@@ -1,15 +1,15 @@
1
1
  import { jsx as l, jsxs as D, Fragment as Re } from "react/jsx-runtime";
2
- import X, { createContext as sr, useReducer as It, useRef as x, useCallback as q, useEffect as Y, useContext as St, useSyncExternalStore as ir, useLayoutEffect as Ne, useMemo as Le, useState as z, useId as _t, lazy as cr, Suspense as lr } from "react";
2
+ import X, { createContext as ir, useReducer as St, useRef as x, useCallback as q, useEffect as Y, useContext as _t, useSyncExternalStore as cr, useLayoutEffect as Ne, useMemo as Le, useState as z, useId as kt, lazy as lr, Suspense as dr } from "react";
3
3
  import p from "clsx";
4
- var dr = Object.defineProperty, ur = (e, t, r) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t, r) => ur(e, typeof t != "symbol" ? t + "" : t, r);
4
+ var ur = Object.defineProperty, mr = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t, r) => mr(e, typeof t != "symbol" ? t + "" : t, r);
5
5
  /*!
6
- @versini/auth-provider v7.4.0
7
- © 2024 gizmette.com
6
+ @versini/auth-provider v7.4.1
7
+ © 2025 gizmette.com
8
8
  */
9
9
  try {
10
10
  window.__VERSINI_AUTH_CLIENT__ || (window.__VERSINI_AUTH_CLIENT__ = {
11
- version: "7.4.0",
12
- buildTime: "12/18/2024 02:36 PM EST",
11
+ version: "7.4.1",
12
+ buildTime: "02/09/2025 02:17 PM EST",
13
13
  homepage: "https://github.com/aversini/auth-client",
14
14
  license: "MIT"
15
15
  });
@@ -31,7 +31,7 @@ function ve(e) {
31
31
  function tt() {
32
32
  return (window == null ? void 0 : window.PublicKeyCredential) !== void 0 && typeof window.PublicKeyCredential == "function";
33
33
  }
34
- function kt(e) {
34
+ function At(e) {
35
35
  const { id: t } = e;
36
36
  return {
37
37
  ...e,
@@ -39,7 +39,7 @@ function kt(e) {
39
39
  transports: e.transports
40
40
  };
41
41
  }
42
- function At(e) {
42
+ function Rt(e) {
43
43
  return e === "localhost" || /^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e);
44
44
  }
45
45
  let v = class extends Error {
@@ -47,7 +47,7 @@ let v = class extends Error {
47
47
  super(t, { cause: a }), this.name = n ?? a.name, this.code = r;
48
48
  }
49
49
  };
50
- function mr({ error: e, options: t }) {
50
+ function hr({ error: e, options: t }) {
51
51
  var a, n;
52
52
  const { publicKey: r } = t;
53
53
  if (!r)
@@ -97,7 +97,7 @@ function mr({ error: e, options: t }) {
97
97
  });
98
98
  if (e.name === "SecurityError") {
99
99
  const o = window.location.hostname;
100
- if (At(o)) {
100
+ if (Rt(o)) {
101
101
  if (r.rp.id !== o)
102
102
  return new v({
103
103
  message: `The RP ID "${r.rp.id}" is invalid for this domain`,
@@ -125,7 +125,7 @@ function mr({ error: e, options: t }) {
125
125
  }
126
126
  return e;
127
127
  }
128
- class hr {
128
+ class pr {
129
129
  createNewAbortSignal() {
130
130
  if (this.controller) {
131
131
  const r = new Error("Cancelling existing WebAuthn API call for new one");
@@ -141,12 +141,12 @@ class hr {
141
141
  }
142
142
  }
143
143
  }
144
- const Rt = new hr(), pr = ["cross-platform", "platform"];
145
- function Nt(e) {
146
- if (e && !(pr.indexOf(e) < 0))
144
+ const Nt = new pr(), fr = ["cross-platform", "platform"];
145
+ function vt(e) {
146
+ if (e && !(fr.indexOf(e) < 0))
147
147
  return e;
148
148
  }
149
- async function fr(e) {
149
+ async function gr(e) {
150
150
  var u;
151
151
  if (!tt())
152
152
  throw new Error("WebAuthn is not supported in this browser");
@@ -157,14 +157,14 @@ async function fr(e) {
157
157
  ...e.user,
158
158
  id: ve(e.user.id)
159
159
  },
160
- excludeCredentials: (u = e.excludeCredentials) == null ? void 0 : u.map(kt)
160
+ excludeCredentials: (u = e.excludeCredentials) == null ? void 0 : u.map(At)
161
161
  } };
162
- t.signal = Rt.createNewAbortSignal();
162
+ t.signal = Nt.createNewAbortSignal();
163
163
  let r;
164
164
  try {
165
165
  r = await navigator.credentials.create(t);
166
166
  } catch (c) {
167
- throw mr({ error: c, options: t });
167
+ throw hr({ error: c, options: t });
168
168
  }
169
169
  if (!r)
170
170
  throw new Error("Registration was not completed");
@@ -206,20 +206,20 @@ async function fr(e) {
206
206
  },
207
207
  type: s,
208
208
  clientExtensionResults: r.getClientExtensionResults(),
209
- authenticatorAttachment: Nt(r.authenticatorAttachment)
209
+ authenticatorAttachment: vt(r.authenticatorAttachment)
210
210
  };
211
211
  }
212
212
  function Be(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 gr() {
216
+ function yr() {
217
217
  if (!tt())
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 yr({ error: e, options: t }) {
222
+ function br({ error: e, options: t }) {
223
223
  const { publicKey: r } = t;
224
224
  if (!r)
225
225
  throw Error("options was missing required publicKey property");
@@ -239,7 +239,7 @@ function yr({ error: e, options: t }) {
239
239
  });
240
240
  if (e.name === "SecurityError") {
241
241
  const a = window.location.hostname;
242
- if (At(a)) {
242
+ if (Rt(a)) {
243
243
  if (r.rpId !== a)
244
244
  return new v({
245
245
  message: `The RP ID "${r.rpId}" is invalid for this domain`,
@@ -260,30 +260,30 @@ function yr({ error: e, options: t }) {
260
260
  }
261
261
  return e;
262
262
  }
263
- async function br(e, t = !1) {
263
+ async function Er(e, t = !1) {
264
264
  var u, c;
265
265
  if (!tt())
266
266
  throw new Error("WebAuthn is not supported in this browser");
267
267
  let r;
268
- ((u = e.allowCredentials) == null ? void 0 : u.length) !== 0 && (r = (c = e.allowCredentials) == null ? void 0 : c.map(kt));
268
+ ((u = e.allowCredentials) == null ? void 0 : u.length) !== 0 && (r = (c = e.allowCredentials) == null ? void 0 : c.map(At));
269
269
  const a = {
270
270
  ...e,
271
271
  challenge: ve(e.challenge),
272
272
  allowCredentials: r
273
273
  }, n = {};
274
274
  if (t) {
275
- if (!await gr())
275
+ if (!await yr())
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');
279
279
  n.mediation = "conditional", a.allowCredentials = [];
280
280
  }
281
- n.publicKey = a, n.signal = Rt.createNewAbortSignal();
281
+ n.publicKey = a, n.signal = Nt.createNewAbortSignal();
282
282
  let o;
283
283
  try {
284
284
  o = await navigator.credentials.get(n);
285
285
  } catch (m) {
286
- throw yr({ error: m, options: n });
286
+ throw br({ error: m, options: n });
287
287
  }
288
288
  if (!o)
289
289
  throw new Error("Authentication was not completed");
@@ -300,17 +300,17 @@ async function br(e, t = !1) {
300
300
  },
301
301
  type: h,
302
302
  clientExtensionResults: o.getClientExtensionResults(),
303
- authenticatorAttachment: Nt(o.authenticatorAttachment)
303
+ authenticatorAttachment: vt(o.authenticatorAttachment)
304
304
  };
305
305
  }
306
306
  /*!
307
307
  @versini/auth-common v4.2.0
308
- © 2024 gizmette.com
308
+ © 2025 gizmette.com
309
309
  */
310
310
  try {
311
311
  window.__VERSINI_AUTH_COMMON__ || (window.__VERSINI_AUTH_COMMON__ = {
312
312
  version: "4.2.0",
313
- buildTime: "12/18/2024 02:36 PM EST",
313
+ buildTime: "02/09/2025 02:17 PM EST",
314
314
  homepage: "https://github.com/aversini/auth-client",
315
315
  license: "MIT"
316
316
  });
@@ -323,7 +323,7 @@ const me = {
323
323
  CODE: "code",
324
324
  REFRESH_TOKEN: "refresh_token",
325
325
  PASSKEY: "passkey"
326
- }, vt = {
326
+ }, xt = {
327
327
  CLIENT_ID: "X-Auth-ClientId"
328
328
  }, N = {
329
329
  ALG: "RS256",
@@ -338,7 +338,7 @@ const me = {
338
338
  SCOPES_KEY: "scopes",
339
339
  CLIENT_ID_KEY: "aud",
340
340
  ISSUER: "gizmette.com"
341
- }, Er = `-----BEGIN PUBLIC KEY-----
341
+ }, wr = `-----BEGIN PUBLIC KEY-----
342
342
  MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
343
343
  w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
344
344
  i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
@@ -351,15 +351,15 @@ awIDAQAB
351
351
  LOGOUT: "logout",
352
352
  LOGIN: "login",
353
353
  REFRESH: "refresh"
354
- }, Me = crypto, xt = (e) => e instanceof CryptoKey, Ee = new TextEncoder(), ye = new TextDecoder();
355
- function wr(...e) {
354
+ }, Me = crypto, Ct = (e) => e instanceof CryptoKey, Ee = new TextEncoder(), ye = new TextDecoder();
355
+ function Tr(...e) {
356
356
  const t = e.reduce((n, { length: o }) => n + o, 0), r = new Uint8Array(t);
357
357
  let a = 0;
358
358
  for (const n of e)
359
359
  r.set(n, a), a += n.length;
360
360
  return r;
361
361
  }
362
- const Tr = (e) => {
362
+ const Ir = (e) => {
363
363
  const t = atob(e), r = new Uint8Array(t.length);
364
364
  for (let a = 0; a < t.length; a++)
365
365
  r[a] = t.charCodeAt(a);
@@ -368,7 +368,7 @@ const Tr = (e) => {
368
368
  let t = e;
369
369
  t instanceof Uint8Array && (t = ye.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
370
370
  try {
371
- return Tr(t);
371
+ return Ir(t);
372
372
  } catch {
373
373
  throw new TypeError("The input to be decoded is not correctly encoded.");
374
374
  }
@@ -392,30 +392,30 @@ class Xe extends P {
392
392
  }
393
393
  }
394
394
  Xe.code = "ERR_JWT_EXPIRED";
395
- class Ct extends P {
395
+ class Ot extends P {
396
396
  constructor() {
397
397
  super(...arguments), this.code = "ERR_JOSE_ALG_NOT_ALLOWED";
398
398
  }
399
399
  }
400
- Ct.code = "ERR_JOSE_ALG_NOT_ALLOWED";
400
+ Ot.code = "ERR_JOSE_ALG_NOT_ALLOWED";
401
401
  let W = class extends P {
402
402
  constructor() {
403
403
  super(...arguments), this.code = "ERR_JOSE_NOT_SUPPORTED";
404
404
  }
405
405
  };
406
406
  W.code = "ERR_JOSE_NOT_SUPPORTED";
407
- class Ir extends P {
407
+ class Sr extends P {
408
408
  constructor(t = "decryption operation failed", r) {
409
409
  super(t, r), this.code = "ERR_JWE_DECRYPTION_FAILED";
410
410
  }
411
411
  }
412
- Ir.code = "ERR_JWE_DECRYPTION_FAILED";
413
- class Sr extends P {
412
+ Sr.code = "ERR_JWE_DECRYPTION_FAILED";
413
+ class _r extends P {
414
414
  constructor() {
415
415
  super(...arguments), this.code = "ERR_JWE_INVALID";
416
416
  }
417
417
  }
418
- Sr.code = "ERR_JWE_INVALID";
418
+ _r.code = "ERR_JWE_INVALID";
419
419
  let _ = class extends P {
420
420
  constructor() {
421
421
  super(...arguments), this.code = "ERR_JWS_INVALID";
@@ -428,42 +428,42 @@ let J = class extends P {
428
428
  }
429
429
  };
430
430
  J.code = "ERR_JWT_INVALID";
431
- class _r extends P {
431
+ class kr extends P {
432
432
  constructor() {
433
433
  super(...arguments), this.code = "ERR_JWK_INVALID";
434
434
  }
435
435
  }
436
- _r.code = "ERR_JWK_INVALID";
437
- class kr extends P {
436
+ kr.code = "ERR_JWK_INVALID";
437
+ class Ar extends P {
438
438
  constructor() {
439
439
  super(...arguments), this.code = "ERR_JWKS_INVALID";
440
440
  }
441
441
  }
442
- kr.code = "ERR_JWKS_INVALID";
443
- class Ar extends P {
442
+ Ar.code = "ERR_JWKS_INVALID";
443
+ class Rr extends P {
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
- Ar.code = "ERR_JWKS_NO_MATCHING_KEY";
449
- class Rr extends P {
448
+ Rr.code = "ERR_JWKS_NO_MATCHING_KEY";
449
+ class Nr extends P {
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
- Rr.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
455
- class Nr extends P {
454
+ Nr.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
455
+ class vr extends P {
456
456
  constructor(t = "request timed out", r) {
457
457
  super(t, r), this.code = "ERR_JWKS_TIMEOUT";
458
458
  }
459
459
  }
460
- Nr.code = "ERR_JWKS_TIMEOUT";
461
- class Ot extends P {
460
+ vr.code = "ERR_JWKS_TIMEOUT";
461
+ class Pt extends P {
462
462
  constructor(t = "signature verification failed", r) {
463
463
  super(t, r), this.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
464
464
  }
465
465
  }
466
- Ot.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
466
+ Pt.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
467
467
  function j(e, t = "algorithm.name") {
468
468
  return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`);
469
469
  }
@@ -473,7 +473,7 @@ function we(e, t) {
473
473
  function Ve(e) {
474
474
  return parseInt(e.name.slice(4), 10);
475
475
  }
476
- function vr(e) {
476
+ function xr(e) {
477
477
  switch (e) {
478
478
  case "ES256":
479
479
  return "P-256";
@@ -485,7 +485,7 @@ function vr(e) {
485
485
  throw new Error("unreachable");
486
486
  }
487
487
  }
488
- function xr(e, t) {
488
+ function Cr(e, t) {
489
489
  if (t.length && !t.some((r) => e.usages.includes(r))) {
490
490
  let r = "CryptoKey does not support this operation, its usages must include ";
491
491
  if (t.length > 2) {
@@ -495,7 +495,7 @@ function xr(e, t) {
495
495
  throw new TypeError(r);
496
496
  }
497
497
  }
498
- function Cr(e, t, ...r) {
498
+ function Or(e, t, ...r) {
499
499
  switch (t) {
500
500
  case "HS256":
501
501
  case "HS384":
@@ -537,7 +537,7 @@ function Cr(e, t, ...r) {
537
537
  case "ES512": {
538
538
  if (!we(e.algorithm, "ECDSA"))
539
539
  throw j("ECDSA");
540
- const a = vr(t);
540
+ const a = xr(t);
541
541
  if (e.algorithm.namedCurve !== a)
542
542
  throw j(a, "algorithm.namedCurve");
543
543
  break;
@@ -545,9 +545,9 @@ function Cr(e, t, ...r) {
545
545
  default:
546
546
  throw new TypeError("CryptoKey does not support this operation");
547
547
  }
548
- xr(e, r);
548
+ Cr(e, r);
549
549
  }
550
- function Pt(e, t, ...r) {
550
+ function Dt(e, t, ...r) {
551
551
  var a;
552
552
  if (r = r.filter(Boolean), r.length > 2) {
553
553
  const n = r.pop();
@@ -555,11 +555,11 @@ function Pt(e, t, ...r) {
555
555
  } else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
556
556
  return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && (a = t.constructor) != null && a.name && (e += ` Received an instance of ${t.constructor.name}`), e;
557
557
  }
558
- const it = (e, ...t) => Pt("Key must be ", e, ...t);
559
- function Dt(e, t, ...r) {
560
- return Pt(`Key for the ${e} algorithm must be `, t, ...r);
558
+ const it = (e, ...t) => Dt("Key must be ", e, ...t);
559
+ function Lt(e, t, ...r) {
560
+ return Dt(`Key for the ${e} algorithm must be `, t, ...r);
561
561
  }
562
- const Lt = (e) => xt(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", xe = ["CryptoKey"], Or = (...e) => {
562
+ const $t = (e) => Ct(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", xe = ["CryptoKey"], Pr = (...e) => {
563
563
  const t = e.filter(Boolean);
564
564
  if (t.length === 0 || t.length === 1)
565
565
  return !0;
@@ -578,11 +578,11 @@ const Lt = (e) => xt(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) ===
578
578
  }
579
579
  return !0;
580
580
  };
581
- function Pr(e) {
581
+ function Dr(e) {
582
582
  return typeof e == "object" && e !== null;
583
583
  }
584
584
  function he(e) {
585
- if (!Pr(e) || Object.prototype.toString.call(e) !== "[object Object]")
585
+ if (!Dr(e) || Object.prototype.toString.call(e) !== "[object Object]")
586
586
  return !1;
587
587
  if (Object.getPrototypeOf(e) === null)
588
588
  return !0;
@@ -591,7 +591,7 @@ function he(e) {
591
591
  t = Object.getPrototypeOf(t);
592
592
  return Object.getPrototypeOf(e) === t;
593
593
  }
594
- const Dr = (e, t) => {
594
+ const Lr = (e, t) => {
595
595
  if (e.startsWith("RS") || e.startsWith("PS")) {
596
596
  const { modulusLength: r } = t.algorithm;
597
597
  if (typeof r != "number" || r < 2048)
@@ -601,16 +601,16 @@ const Dr = (e, t) => {
601
601
  function pe(e) {
602
602
  return he(e) && typeof e.kty == "string";
603
603
  }
604
- function Lr(e) {
604
+ function $r(e) {
605
605
  return e.kty !== "oct" && typeof e.d == "string";
606
606
  }
607
- function $r(e) {
607
+ function Mr(e) {
608
608
  return e.kty !== "oct" && typeof e.d > "u";
609
609
  }
610
- function Mr(e) {
610
+ function Ur(e) {
611
611
  return pe(e) && e.kty === "oct" && typeof e.k == "string";
612
612
  }
613
- function Ur(e) {
613
+ function Kr(e) {
614
614
  let t, r;
615
615
  switch (e.kty) {
616
616
  case "RSA": {
@@ -682,36 +682,36 @@ function Ur(e) {
682
682
  }
683
683
  return { algorithm: t, keyUsages: r };
684
684
  }
685
- const $t = async (e) => {
685
+ const Mt = async (e) => {
686
686
  if (!e.alg)
687
687
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
688
- const { algorithm: t, keyUsages: r } = Ur(e), a = [
688
+ const { algorithm: t, keyUsages: r } = Kr(e), a = [
689
689
  t,
690
690
  e.ext ?? !1,
691
691
  e.key_ops ?? r
692
692
  ], n = { ...e };
693
693
  return delete n.alg, delete n.use, Me.subtle.importKey("jwk", n, ...a);
694
- }, Mt = (e) => te(e);
694
+ }, Ut = (e) => te(e);
695
695
  let oe, se;
696
- const Ut = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", Ce = async (e, t, r, a, n = !1) => {
696
+ const Kt = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", Ce = async (e, t, r, a, n = !1) => {
697
697
  let o = e.get(t);
698
698
  if (o != null && o[a])
699
699
  return o[a];
700
- const s = await $t({ ...r, alg: a });
700
+ const s = await Mt({ ...r, alg: a });
701
701
  return n && Object.freeze(t), o ? o[a] = s : e.set(t, { [a]: s }), s;
702
- }, Kr = (e, t) => {
703
- if (Ut(e)) {
702
+ }, Hr = (e, t) => {
703
+ if (Kt(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 ? Mt(r.k) : (se || (se = /* @__PURE__ */ new WeakMap()), Ce(se, 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 ? Ut(r.k) : (se || (se = /* @__PURE__ */ new WeakMap()), Ce(se, e, r, t));
706
706
  }
707
707
  return pe(e) ? e.k ? te(e.k) : (se || (se = /* @__PURE__ */ new WeakMap()), Ce(se, e, e, t, !0)) : e;
708
- }, Hr = (e, t) => {
709
- if (Ut(e)) {
708
+ }, Wr = (e, t) => {
709
+ if (Kt(e)) {
710
710
  let r = e.export({ format: "jwk" });
711
- return r.k ? Mt(r.k) : (oe || (oe = /* @__PURE__ */ new WeakMap()), Ce(oe, e, r, t));
711
+ return r.k ? Ut(r.k) : (oe || (oe = /* @__PURE__ */ new WeakMap()), Ce(oe, e, r, t));
712
712
  }
713
713
  return pe(e) ? e.k ? te(e.k) : (oe || (oe = /* @__PURE__ */ new WeakMap()), Ce(oe, e, e, t, !0)) : e;
714
- }, Wr = { normalizePublicKey: Kr, normalizePrivateKey: Hr }, ee = (e, t, r = 0) => {
714
+ }, Br = { normalizePublicKey: Hr, normalizePrivateKey: Wr }, ee = (e, t, r = 0) => {
715
715
  r === 0 && (t.unshift(t.length), t.unshift(6));
716
716
  const a = e.indexOf(t[0], r);
717
717
  if (a === -1)
@@ -737,7 +737,7 @@ const Ut = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
737
737
  default:
738
738
  throw new W("Invalid or unsupported EC Key Curve or OKP Key Sub Type");
739
739
  }
740
- }, Br = async (e, t, r, a, n) => {
740
+ }, Vr = async (e, t, r, a, n) => {
741
741
  let o, s;
742
742
  const i = new Uint8Array(atob(r.replace(e, "")).split("").map((d) => d.charCodeAt(0)));
743
743
  switch (a) {
@@ -784,13 +784,13 @@ const Ut = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
784
784
  throw new W('Invalid or unsupported "alg" (Algorithm) value');
785
785
  }
786
786
  return Me.subtle.importKey(t, i, o, !1, s);
787
- }, Vr = (e, t, r) => Br(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
788
- async function Jr(e, t, r) {
787
+ }, Jr = (e, t, r) => Vr(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
788
+ async function Gr(e, t, r) {
789
789
  if (e.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
790
790
  throw new TypeError('"spki" must be SPKI formatted string');
791
- return Vr(e, t);
791
+ return Jr(e, t);
792
792
  }
793
- async function Gr(e, t) {
793
+ async function Yr(e, t) {
794
794
  if (!he(e))
795
795
  throw new TypeError("JWK must be an object");
796
796
  switch (t || (t = e.alg), e.kty) {
@@ -803,7 +803,7 @@ async function Gr(e, t) {
803
803
  throw new W('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');
804
804
  case "EC":
805
805
  case "OKP":
806
- return $t({ ...e, alg: t });
806
+ return Mt({ ...e, alg: t });
807
807
  default:
808
808
  throw new W('Unsupported "kty" (Key Type) Parameter value');
809
809
  }
@@ -817,32 +817,32 @@ const ue = (e) => e == null ? void 0 : e[Symbol.toStringTag], Qe = (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
- }, Yr = (e, t, r, a) => {
820
+ }, Fr = (e, t, r, a) => {
821
821
  if (!(t instanceof Uint8Array)) {
822
822
  if (a && pe(t)) {
823
- if (Mr(t) && Qe(e, t, r))
823
+ if (Ur(t) && Qe(e, t, r))
824
824
  return;
825
825
  throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present');
826
826
  }
827
- if (!Lt(t))
828
- throw new TypeError(Dt(e, t, ...xe, "Uint8Array", a ? "JSON Web Key" : null));
827
+ if (!$t(t))
828
+ throw new TypeError(Lt(e, t, ...xe, "Uint8Array", a ? "JSON Web Key" : null));
829
829
  if (t.type !== "secret")
830
830
  throw new TypeError(`${ue(t)} instances for symmetric algorithms must be of type "secret"`);
831
831
  }
832
- }, Fr = (e, t, r, a) => {
832
+ }, jr = (e, t, r, a) => {
833
833
  if (a && pe(t))
834
834
  switch (r) {
835
835
  case "sign":
836
- if (Lr(t) && Qe(e, t, r))
836
+ if ($r(t) && Qe(e, t, r))
837
837
  return;
838
838
  throw new TypeError("JSON Web Key for this operation be a private JWK");
839
839
  case "verify":
840
- if ($r(t) && Qe(e, t, r))
840
+ if (Mr(t) && Qe(e, t, r))
841
841
  return;
842
842
  throw new TypeError("JSON Web Key for this operation be a public JWK");
843
843
  }
844
- if (!Lt(t))
845
- throw new TypeError(Dt(e, t, ...xe, a ? "JSON Web Key" : null));
844
+ if (!$t(t))
845
+ throw new TypeError(Lt(e, t, ...xe, a ? "JSON Web Key" : null));
846
846
  if (t.type === "secret")
847
847
  throw new TypeError(`${ue(t)} instances for asymmetric algorithms must not be of type "secret"`);
848
848
  if (r === "sign" && t.type === "public")
@@ -854,12 +854,12 @@ const ue = (e) => e == null ? void 0 : e[Symbol.toStringTag], Qe = (e, t, r) =>
854
854
  if (t.algorithm && r === "encrypt" && t.type === "private")
855
855
  throw new TypeError(`${ue(t)} instances for asymmetric algorithm encryption must be of type "public"`);
856
856
  };
857
- function Kt(e, t, r, a) {
858
- t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ? Yr(t, r, a, e) : Fr(t, r, a, e);
857
+ function Ht(e, t, r, a) {
858
+ t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ? Fr(t, r, a, e) : jr(t, r, a, e);
859
859
  }
860
- Kt.bind(void 0, !1);
861
- const lt = Kt.bind(void 0, !0);
862
- function jr(e, t, r, a, n) {
860
+ Ht.bind(void 0, !1);
861
+ const lt = Ht.bind(void 0, !0);
862
+ function zr(e, t, r, a, n) {
863
863
  if (n.crit !== void 0 && (a == null ? void 0 : a.crit) === void 0)
864
864
  throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
865
865
  if (!a || a.crit === void 0)
@@ -878,13 +878,13 @@ function jr(e, t, r, a, n) {
878
878
  }
879
879
  return new Set(a.crit);
880
880
  }
881
- const zr = (e, t) => {
881
+ const qr = (e, t) => {
882
882
  if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
883
883
  throw new TypeError(`"${e}" option must be an array of strings`);
884
884
  if (t)
885
885
  return new Set(t);
886
886
  };
887
- function qr(e, t) {
887
+ function Xr(e, t) {
888
888
  const r = `SHA-${e.slice(-3)}`;
889
889
  switch (e) {
890
890
  case "HS256":
@@ -909,9 +909,9 @@ function qr(e, t) {
909
909
  throw new W(`alg ${e} is not supported either by JOSE or your javascript runtime`);
910
910
  }
911
911
  }
912
- async function Xr(e, t, r) {
913
- if (t = await Wr.normalizePublicKey(t, e), xt(t))
914
- return Cr(t, e, r), t;
912
+ async function Qr(e, t, r) {
913
+ if (t = await Br.normalizePublicKey(t, e), Ct(t))
914
+ return Or(t, e, r), t;
915
915
  if (t instanceof Uint8Array) {
916
916
  if (!e.startsWith("HS"))
917
917
  throw new TypeError(it(t, ...xe));
@@ -919,17 +919,17 @@ async function Xr(e, t, r) {
919
919
  }
920
920
  throw new TypeError(it(t, ...xe, "Uint8Array", "JSON Web Key"));
921
921
  }
922
- const Qr = async (e, t, r, a) => {
923
- const n = await Xr(e, t, "verify");
924
- Dr(e, n);
925
- const o = qr(e, n.algorithm);
922
+ const Zr = async (e, t, r, a) => {
923
+ const n = await Qr(e, t, "verify");
924
+ Lr(e, n);
925
+ const o = Xr(e, n.algorithm);
926
926
  try {
927
927
  return await Me.subtle.verify(o, n, r, a);
928
928
  } catch {
929
929
  return !1;
930
930
  }
931
931
  };
932
- async function Zr(e, t, r) {
932
+ async function ea(e, t, r) {
933
933
  if (!he(e))
934
934
  throw new _("Flattened JWS must be an object");
935
935
  if (e.protected === void 0 && e.header === void 0)
@@ -950,37 +950,37 @@ async function Zr(e, t, r) {
950
950
  } catch {
951
951
  throw new _("JWS Protected Header is invalid");
952
952
  }
953
- if (!Or(a, e.header))
953
+ if (!Pr(a, e.header))
954
954
  throw new _("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
955
955
  const n = {
956
956
  ...a,
957
957
  ...e.header
958
- }, o = jr(_, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, a, n);
958
+ }, o = zr(_, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, a, n);
959
959
  let s = !0;
960
960
  if (o.has("b64") && (s = a.b64, typeof s != "boolean"))
961
961
  throw new _('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
962
962
  const { alg: i } = n;
963
963
  if (typeof i != "string" || !i)
964
964
  throw new _('JWS "alg" (Algorithm) Header Parameter missing or invalid');
965
- const d = zr("algorithms", r.algorithms);
965
+ const d = qr("algorithms", r.algorithms);
966
966
  if (d && !d.has(i))
967
- throw new Ct('"alg" (Algorithm) Header Parameter value not allowed');
967
+ throw new Ot('"alg" (Algorithm) Header Parameter value not allowed');
968
968
  if (s) {
969
969
  if (typeof e.payload != "string")
970
970
  throw new _("JWS Payload must be a string");
971
971
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
972
972
  throw new _("JWS Payload must be a string or an Uint8Array instance");
973
973
  let h = !1;
974
- typeof t == "function" ? (t = await t(a, e), h = !0, lt(i, t, "verify"), pe(t) && (t = await Gr(t, i))) : lt(i, t, "verify");
975
- const f = wr(Ee.encode(e.protected ?? ""), Ee.encode("."), typeof e.payload == "string" ? Ee.encode(e.payload) : e.payload);
974
+ typeof t == "function" ? (t = await t(a, e), h = !0, lt(i, t, "verify"), pe(t) && (t = await Yr(t, i))) : lt(i, t, "verify");
975
+ const f = Tr(Ee.encode(e.protected ?? ""), Ee.encode("."), typeof e.payload == "string" ? Ee.encode(e.payload) : e.payload);
976
976
  let u;
977
977
  try {
978
978
  u = te(e.signature);
979
979
  } catch {
980
980
  throw new _("Failed to base64url decode the signature");
981
981
  }
982
- if (!await Qr(i, t, u, f))
983
- throw new Ot();
982
+ if (!await Zr(i, t, u, f))
983
+ throw new Pt();
984
984
  let c;
985
985
  if (s)
986
986
  try {
@@ -992,17 +992,17 @@ async function Zr(e, t, r) {
992
992
  const m = { payload: c };
993
993
  return e.protected !== void 0 && (m.protectedHeader = a), e.header !== void 0 && (m.unprotectedHeader = e.header), h ? { ...m, key: t } : m;
994
994
  }
995
- async function ea(e, t, r) {
995
+ async function ta(e, t, r) {
996
996
  if (e instanceof Uint8Array && (e = ye.decode(e)), typeof e != "string")
997
997
  throw new _("Compact JWS must be a string or Uint8Array");
998
998
  const { 0: a, 1: n, 2: o, length: s } = e.split(".");
999
999
  if (s !== 3)
1000
1000
  throw new _("Invalid Compact JWS");
1001
- const i = await Zr({ payload: n, protected: a, signature: o }, t, r), d = { payload: i.payload, protectedHeader: i.protectedHeader };
1001
+ const i = await ea({ payload: n, protected: a, signature: o }, t, r), d = { payload: i.payload, protectedHeader: i.protectedHeader };
1002
1002
  return typeof t == "function" ? { ...d, key: i.key } : d;
1003
1003
  }
1004
- const ta = (e) => Math.floor(e.getTime() / 1e3), Ht = 60, Wt = Ht * 60, rt = Wt * 24, ra = rt * 7, aa = rt * 365.25, na = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, dt = (e) => {
1005
- const t = na.exec(e);
1004
+ const ra = (e) => Math.floor(e.getTime() / 1e3), Wt = 60, Bt = Wt * 60, rt = Bt * 24, aa = rt * 7, na = rt * 365.25, oa = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, dt = (e) => {
1005
+ const t = oa.exec(e);
1006
1006
  if (!t || t[4] && t[1])
1007
1007
  throw new TypeError("Invalid time period format");
1008
1008
  const r = parseFloat(t[2]), a = t[3].toLowerCase();
@@ -1020,14 +1020,14 @@ const ta = (e) => Math.floor(e.getTime() / 1e3), Ht = 60, Wt = Ht * 60, rt = Wt
1020
1020
  case "min":
1021
1021
  case "mins":
1022
1022
  case "m":
1023
- n = Math.round(r * Ht);
1023
+ n = Math.round(r * Wt);
1024
1024
  break;
1025
1025
  case "hour":
1026
1026
  case "hours":
1027
1027
  case "hr":
1028
1028
  case "hrs":
1029
1029
  case "h":
1030
- n = Math.round(r * Wt);
1030
+ n = Math.round(r * Bt);
1031
1031
  break;
1032
1032
  case "day":
1033
1033
  case "days":
@@ -1037,14 +1037,14 @@ const ta = (e) => Math.floor(e.getTime() / 1e3), Ht = 60, Wt = Ht * 60, rt = Wt
1037
1037
  case "week":
1038
1038
  case "weeks":
1039
1039
  case "w":
1040
- n = Math.round(r * ra);
1040
+ n = Math.round(r * aa);
1041
1041
  break;
1042
1042
  default:
1043
- n = Math.round(r * aa);
1043
+ n = Math.round(r * na);
1044
1044
  break;
1045
1045
  }
1046
1046
  return t[1] === "-" || t[4] === "ago" ? -n : n;
1047
- }, ut = (e) => e.toLowerCase().replace(/^application\//, ""), oa = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1, sa = (e, t, r = {}) => {
1047
+ }, ut = (e) => e.toLowerCase().replace(/^application\//, ""), sa = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1, ia = (e, t, r = {}) => {
1048
1048
  let a;
1049
1049
  try {
1050
1050
  a = JSON.parse(ye.decode(t));
@@ -1064,7 +1064,7 @@ const ta = (e) => Math.floor(e.getTime() / 1e3), Ht = 60, Wt = Ht * 60, rt = Wt
1064
1064
  throw new H('unexpected "iss" claim value', a, "iss", "check_failed");
1065
1065
  if (i && a.sub !== i)
1066
1066
  throw new H('unexpected "sub" claim value', a, "sub", "check_failed");
1067
- if (d && !oa(a.aud, typeof d == "string" ? [d] : d))
1067
+ if (d && !sa(a.aud, typeof d == "string" ? [d] : d))
1068
1068
  throw new H('unexpected "aud" claim value', a, "aud", "check_failed");
1069
1069
  let u;
1070
1070
  switch (typeof r.clockTolerance) {
@@ -1080,7 +1080,7 @@ const ta = (e) => Math.floor(e.getTime() / 1e3), Ht = 60, Wt = Ht * 60, rt = Wt
1080
1080
  default:
1081
1081
  throw new TypeError("Invalid clockTolerance option type");
1082
1082
  }
1083
- const { currentDate: c } = r, m = ta(c || /* @__PURE__ */ new Date());
1083
+ const { currentDate: c } = r, m = ra(c || /* @__PURE__ */ new Date());
1084
1084
  if ((a.iat !== void 0 || h) && typeof a.iat != "number")
1085
1085
  throw new H('"iat" claim must be a number', a, "iat", "invalid");
1086
1086
  if (a.nbf !== void 0) {
@@ -1104,16 +1104,16 @@ const ta = (e) => Math.floor(e.getTime() / 1e3), Ht = 60, Wt = Ht * 60, rt = Wt
1104
1104
  }
1105
1105
  return a;
1106
1106
  };
1107
- async function ia(e, t, r) {
1107
+ async function ca(e, t, r) {
1108
1108
  var a;
1109
- const n = await ea(e, t, r);
1109
+ const n = await ta(e, t, r);
1110
1110
  if ((a = n.protectedHeader.crit) != null && a.includes("b64") && n.protectedHeader.b64 === !1)
1111
1111
  throw new J("JWTs MUST NOT use unencoded payload");
1112
- const o = { payload: sa(n.protectedHeader, n.payload, r), protectedHeader: n.protectedHeader };
1112
+ const o = { payload: ia(n.protectedHeader, n.payload, r), protectedHeader: n.protectedHeader };
1113
1113
  return typeof t == "function" ? { ...o, key: n.key } : o;
1114
1114
  }
1115
- const ca = te;
1116
- function la(e) {
1115
+ const la = te;
1116
+ function da(e) {
1117
1117
  if (typeof e != "string")
1118
1118
  throw new J("JWTs must use Compact JWS serialization, JWT must be a string");
1119
1119
  const { 1: t, length: r } = e.split(".");
@@ -1125,7 +1125,7 @@ function la(e) {
1125
1125
  throw new J("JWTs must contain a payload");
1126
1126
  let a;
1127
1127
  try {
1128
- a = ca(t);
1128
+ a = la(t);
1129
1129
  } catch {
1130
1130
  throw new J("Failed to base64url decode the payload");
1131
1131
  }
@@ -1141,81 +1141,81 @@ function la(e) {
1141
1141
  }
1142
1142
  const ge = async (e) => {
1143
1143
  try {
1144
- const t = N.ALG, r = await Jr(Er, t);
1145
- return await ia(e, r, {
1144
+ const t = N.ALG, r = await Gr(wr, t);
1145
+ return await ca(e, r, {
1146
1146
  issuer: N.ISSUER
1147
1147
  });
1148
1148
  } catch {
1149
1149
  return;
1150
1150
  }
1151
- }, da = (e) => {
1151
+ }, ua = (e) => {
1152
1152
  try {
1153
- return la(e);
1153
+ return da(e);
1154
1154
  } catch {
1155
1155
  return;
1156
1156
  }
1157
1157
  }, A = [];
1158
1158
  for (let e = 0; e < 256; ++e)
1159
1159
  A.push((e + 256).toString(16).slice(1));
1160
- function ua(e, t = 0) {
1160
+ function ma(e, t = 0) {
1161
1161
  return (A[e[t + 0]] + A[e[t + 1]] + A[e[t + 2]] + A[e[t + 3]] + "-" + A[e[t + 4]] + A[e[t + 5]] + "-" + A[e[t + 6]] + A[e[t + 7]] + "-" + A[e[t + 8]] + A[e[t + 9]] + "-" + A[e[t + 10]] + A[e[t + 11]] + A[e[t + 12]] + A[e[t + 13]] + A[e[t + 14]] + A[e[t + 15]]).toLowerCase();
1162
1162
  }
1163
1163
  let Je;
1164
- const ma = new Uint8Array(16);
1165
- function ha() {
1164
+ const ha = new Uint8Array(16);
1165
+ function pa() {
1166
1166
  if (!Je) {
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
1169
  Je = crypto.getRandomValues.bind(crypto);
1170
1170
  }
1171
- return Je(ma);
1171
+ return Je(ha);
1172
1172
  }
1173
- const pa = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), mt = { randomUUID: pa };
1173
+ const fa = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), mt = { randomUUID: fa };
1174
1174
  function ht(e, t, r) {
1175
1175
  if (mt.randomUUID && !e)
1176
1176
  return mt.randomUUID();
1177
1177
  e = e || {};
1178
- const a = e.random || (e.rng || ha)();
1179
- return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, ua(a);
1178
+ const a = e.random || (e.rng || pa)();
1179
+ return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, ma(a);
1180
1180
  }
1181
- const pt = globalThis.crypto, fa = (e) => `${ht()}${ht()}`.slice(0, e), ga = (e) => btoa(
1181
+ const pt = globalThis.crypto, ga = (e) => `${ht()}${ht()}`.slice(0, e), ya = (e) => btoa(
1182
1182
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
1183
1183
  );
1184
- async function ya(e) {
1184
+ async function ba(e) {
1185
1185
  if (!pt.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 pt.subtle.digest("SHA-256", t);
1190
- return ga(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
1190
+ return ya(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
1191
1191
  }
1192
- async function ba(e) {
1193
- const t = fa(43), r = await ya(t);
1192
+ async function Ea(e) {
1193
+ const t = ga(43), r = await ba(t);
1194
1194
  return {
1195
1195
  code_verifier: t,
1196
1196
  code_challenge: r
1197
1197
  };
1198
1198
  }
1199
- function Bt(e, t) {
1199
+ function Vt(e, t) {
1200
1200
  window.dispatchEvent(new StorageEvent("storage", { key: e, newValue: t }));
1201
1201
  }
1202
1202
  const ft = (e, t) => {
1203
1203
  const r = JSON.stringify(
1204
1204
  typeof t == "function" ? t() : t
1205
1205
  );
1206
- window.localStorage.setItem(e, r), Bt(e, r);
1207
- }, Ea = (e) => {
1208
- window.localStorage.removeItem(e), Bt(e, null);
1209
- }, gt = (e) => window.localStorage.getItem(e), wa = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
1206
+ window.localStorage.setItem(e, r), Vt(e, r);
1207
+ }, wa = (e) => {
1208
+ window.localStorage.removeItem(e), Vt(e, null);
1209
+ }, gt = (e) => window.localStorage.getItem(e), Ta = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
1210
1210
  function Te({
1211
1211
  key: e,
1212
1212
  initialValue: t
1213
1213
  }) {
1214
- const r = ir(wa, () => gt(e)), a = q(
1214
+ const r = cr(Ta, () => gt(e)), a = q(
1215
1215
  (s) => {
1216
1216
  try {
1217
1217
  const i = typeof s == "function" ? s(JSON.parse(r)) : s;
1218
- i == null ? Ea(e) : ft(e, i);
1218
+ i == null ? wa(e) : ft(e, i);
1219
1219
  } catch (i) {
1220
1220
  console.warn(i);
1221
1221
  }
@@ -1237,31 +1237,33 @@ function Te({
1237
1237
  const R = [];
1238
1238
  for (let e = 0; e < 256; ++e)
1239
1239
  R.push((e + 256).toString(16).slice(1));
1240
- function Ta(e, t = 0) {
1240
+ function Ia(e, t = 0) {
1241
1241
  return (R[e[t + 0]] + R[e[t + 1]] + R[e[t + 2]] + R[e[t + 3]] + "-" + R[e[t + 4]] + R[e[t + 5]] + "-" + R[e[t + 6]] + R[e[t + 7]] + "-" + R[e[t + 8]] + R[e[t + 9]] + "-" + R[e[t + 10]] + R[e[t + 11]] + R[e[t + 12]] + R[e[t + 13]] + R[e[t + 14]] + R[e[t + 15]]).toLowerCase();
1242
1242
  }
1243
1243
  let Ge;
1244
- const Ia = new Uint8Array(16);
1245
- function Sa() {
1244
+ const Sa = new Uint8Array(16);
1245
+ function _a() {
1246
1246
  if (!Ge) {
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
1249
  Ge = crypto.getRandomValues.bind(crypto);
1250
1250
  }
1251
- return Ge(Ia);
1251
+ return Ge(Sa);
1252
1252
  }
1253
- const _a = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), yt = { randomUUID: _a };
1253
+ const ka = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), yt = { randomUUID: ka };
1254
1254
  function Ye(e, t, r) {
1255
1255
  if (yt.randomUUID && !e)
1256
1256
  return yt.randomUUID();
1257
1257
  e = e || {};
1258
- const a = e.random || (e.rng || Sa)();
1259
- return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Ta(a);
1258
+ const a = e.random || (e.rng || _a)();
1259
+ return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Ia(a);
1260
1260
  }
1261
- const ie = "Your session has expired. For your security, please log in again to continue.", ka = "Your session has been successfully terminated.", Fe = "Login failed. Please try again.", Aa = "Error getting access token, please re-authenticate.", Ra = "You forgot to wrap your component in <AuthProvider>.", Oe = {
1262
- dev: "https://auth.gizmette.local.com:3003",
1261
+ const ie = "Your session has expired. For your security, please log in again to continue.", Aa = "Your session has been successfully terminated.", Fe = "Login failed. Please try again.", Ra = "Error getting access token, please re-authenticate.", Na = "You forgot to wrap your component in <AuthProvider>.";
1262
+ var It;
1263
+ const Oe = {
1264
+ dev: ((It = process == null ? void 0 : process.env) == null ? void 0 : It.PUBLIC_AUTH_SERVER_URL) || "https://auth.gizmette.local.com:3003",
1263
1265
  prod: "https://mylogin.gizmette.com/auth"
1264
- }, Ie = "@@auth@@", fe = "LOADING", ke = "LOGIN", Vt = "LOGOUT", be = "success", F = "failure", Jt = "include", Gt = "POST", Yt = "application/json", Se = {
1266
+ }, Ie = "@@auth@@", fe = "LOADING", ke = "LOGIN", Jt = "LOGOUT", be = "success", F = "failure", Gt = "include", Yt = "POST", Ft = "application/json", Se = {
1265
1267
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
1266
1268
  $clientId: String!,
1267
1269
  $username: String!,
@@ -1367,14 +1369,14 @@ const ie = "Your session has expired. For your security, please log in again to
1367
1369
  }) => {
1368
1370
  try {
1369
1371
  const n = `Bearer ${e}`, o = await fetch(
1370
- Ft ? `${Oe.dev}/graphql` : `${Oe.prod}/graphql`,
1372
+ jt ? `${Oe.dev}/graphql` : `${Oe.prod}/graphql`,
1371
1373
  {
1372
- credentials: Jt,
1373
- method: Gt,
1374
+ credentials: Gt,
1375
+ method: Yt,
1374
1376
  headers: {
1375
1377
  authorization: n,
1376
- "Content-Type": Yt,
1377
- [vt.CLIENT_ID]: `${r}`
1378
+ "Content-Type": Ft,
1379
+ [xt.CLIENT_ID]: `${r}`
1378
1380
  },
1379
1381
  body: JSON.stringify({
1380
1382
  query: t.schema,
@@ -1399,13 +1401,13 @@ const ie = "Your session has expired. For your security, please log in again to
1399
1401
  }) => {
1400
1402
  try {
1401
1403
  const a = await fetch(
1402
- Ft ? `${Oe.dev}/${e}` : `${Oe.prod}/${e}`,
1404
+ jt ? `${Oe.dev}/${e}` : `${Oe.prod}/${e}`,
1403
1405
  {
1404
- credentials: Jt,
1405
- method: Gt,
1406
+ credentials: Gt,
1407
+ method: Yt,
1406
1408
  headers: {
1407
- "Content-Type": Yt,
1408
- [vt.CLIENT_ID]: `${t}`
1409
+ "Content-Type": Ft,
1410
+ [xt.CLIENT_ID]: `${t}`
1409
1411
  },
1410
1412
  body: JSON.stringify(r)
1411
1413
  }
@@ -1420,21 +1422,21 @@ const ie = "Your session has expired. For your security, please log in again to
1420
1422
  } catch (a) {
1421
1423
  return console.error(a), { status: F, data: [] };
1422
1424
  }
1423
- }, Na = process.env.NODE_ENV === "production", Ft = !Na, jt = {
1425
+ }, va = process.env.NODE_ENV === "production", jt = !va, zt = {
1424
1426
  isLoading: !0,
1425
1427
  isAuthenticated: !1,
1426
1428
  user: void 0,
1427
1429
  logoutReason: "",
1428
1430
  debug: !1,
1429
1431
  authenticationType: ""
1430
- }, va = (e) => {
1432
+ }, xa = (e) => {
1431
1433
  try {
1432
- const t = da(e);
1434
+ const t = ua(e);
1433
1435
  return t ? t[N.USER_ID_KEY] : "";
1434
1436
  } catch {
1435
1437
  return "";
1436
1438
  }
1437
- }, xa = async ({
1439
+ }, Ca = async ({
1438
1440
  userId: e,
1439
1441
  clientId: t,
1440
1442
  domain: r,
@@ -1458,7 +1460,7 @@ const ie = "Your session has expired. For your security, please log in again to
1458
1460
  status: F
1459
1461
  };
1460
1462
  }
1461
- }, Ca = async ({
1463
+ }, Oa = async ({
1462
1464
  username: e,
1463
1465
  password: t,
1464
1466
  clientId: r,
@@ -1502,7 +1504,7 @@ const ie = "Your session has expired. For your security, please log in again to
1502
1504
  status: !1
1503
1505
  };
1504
1506
  }
1505
- }, Oa = async ({
1507
+ }, Pa = async ({
1506
1508
  nonce: e,
1507
1509
  clientId: t,
1508
1510
  code_challenge: r
@@ -1531,7 +1533,7 @@ const ie = "Your session has expired. For your security, please log in again to
1531
1533
  data: ""
1532
1534
  };
1533
1535
  }
1534
- }, Pa = async ({
1536
+ }, Da = async ({
1535
1537
  clientId: e,
1536
1538
  userId: t,
1537
1539
  nonce: r,
@@ -1567,7 +1569,7 @@ const ie = "Your session has expired. For your security, please log in again to
1567
1569
  };
1568
1570
  }
1569
1571
  };
1570
- class Da {
1572
+ class La {
1571
1573
  constructor(t = null, r = null) {
1572
1574
  We(this, "refreshTokenPromise", null), We(this, "accessToken"), We(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
1573
1575
  }
@@ -1597,7 +1599,7 @@ class Da {
1597
1599
  }) {
1598
1600
  const o = await ge(this.refreshToken);
1599
1601
  if (o && o.payload[N.USER_ID_KEY] !== "") {
1600
- const s = await Pa({
1602
+ const s = await Da({
1601
1603
  clientId: t,
1602
1604
  userId: r,
1603
1605
  nonce: a,
@@ -1618,14 +1620,14 @@ class Da {
1618
1620
  };
1619
1621
  }
1620
1622
  }
1621
- const La = (e) => q(
1623
+ const $a = (e) => q(
1622
1624
  (...t) => {
1623
1625
  e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
1624
1626
  },
1625
1627
  [e]
1626
1628
  ), de = () => {
1627
- throw new Error(Ra);
1628
- }, zt = sr({
1629
+ throw new Error(Na);
1630
+ }, qt = ir({
1629
1631
  isAuthenticated: !1,
1630
1632
  isLoading: !1,
1631
1633
  login: de,
@@ -1636,11 +1638,11 @@ const La = (e) => q(
1636
1638
  loginWithPasskey: de,
1637
1639
  logoutReason: "",
1638
1640
  authenticationType: ""
1639
- }), $a = X.createContext({
1640
- state: jt,
1641
+ }), Ma = X.createContext({
1642
+ state: zt,
1641
1643
  dispatch: () => {
1642
1644
  }
1643
- }), Ma = (e, t) => (t == null ? void 0 : t.type) === fe ? {
1645
+ }), Ua = (e, t) => (t == null ? void 0 : t.type) === fe ? {
1644
1646
  ...e,
1645
1647
  isLoading: t.payload.isLoading
1646
1648
  } : (t == null ? void 0 : t.type) === ke ? {
@@ -1650,24 +1652,24 @@ const La = (e) => q(
1650
1652
  user: t.payload.user,
1651
1653
  authenticationType: t.payload.authenticationType,
1652
1654
  logoutReason: ""
1653
- } : (t == null ? void 0 : t.type) === Vt ? {
1655
+ } : (t == null ? void 0 : t.type) === Jt ? {
1654
1656
  ...e,
1655
1657
  isLoading: !1,
1656
1658
  isAuthenticated: !1,
1657
1659
  user: void 0,
1658
1660
  authenticationType: "",
1659
1661
  logoutReason: t.payload.logoutReason
1660
- } : e, Ua = ({
1662
+ } : e, Ka = ({
1661
1663
  children: e,
1662
1664
  sessionExpiration: t,
1663
1665
  clientId: r,
1664
1666
  domain: a = "",
1665
1667
  debug: n = !1
1666
1668
  }) => {
1667
- const [o, s] = It(Ma, {
1668
- ...jt,
1669
+ const [o, s] = St(Ua, {
1670
+ ...zt,
1669
1671
  debug: n
1670
- }), i = La(n), d = x(!1), [h, f, , u] = Te({
1672
+ }), i = $a(n), d = x(!1), [h, f, , u] = Te({
1671
1673
  key: `${Ie}::${r}::@@user@@`
1672
1674
  }), [c, m, , y] = Te({
1673
1675
  key: `${Ie}::${r}::@@access@@`
@@ -1677,7 +1679,7 @@ const La = (e) => q(
1677
1679
  }
1678
1680
  ), [Q, L, , Z] = Te({
1679
1681
  key: `${Ie}::${r}::@@nonce@@`
1680
- }), $ = new Da(c, w), B = q(() => {
1682
+ }), $ = new La(c, w), B = q(() => {
1681
1683
  i("removeLocalStorage: removing local storage"), u(), y(), k(), Z();
1682
1684
  }, [
1683
1685
  y,
@@ -1691,7 +1693,7 @@ const La = (e) => q(
1691
1693
  "removeStateAndLocalStorage: removing state and local storage with reason: ",
1692
1694
  g
1693
1695
  ), s({
1694
- type: Vt,
1696
+ type: Jt,
1695
1697
  payload: {
1696
1698
  logoutReason: g || ie
1697
1699
  }
@@ -1701,10 +1703,10 @@ const La = (e) => q(
1701
1703
  ), S = q(
1702
1704
  async (g) => {
1703
1705
  i("invalidateAndLogout: invalidating and logging out");
1704
- const { user: E } = o, b = (E == null ? void 0 : E.userId) || va(h);
1706
+ const { user: E } = o, b = (E == null ? void 0 : E.userId) || xa(h);
1705
1707
  b || i(
1706
1708
  "invalidateAndLogout: user cannot be identified, logging out without userId"
1707
- ), await xa({
1709
+ ), await Ca({
1708
1710
  userId: b,
1709
1711
  clientId: r,
1710
1712
  domain: a,
@@ -1742,13 +1744,13 @@ const La = (e) => q(
1742
1744
  s({ type: fe, payload: { isLoading: !0 } }), B();
1743
1745
  const b = Ye();
1744
1746
  L(b), i("login: Logging in with password");
1745
- const { code_verifier: ae, code_challenge: or } = await ba(), st = await Oa({
1747
+ const { code_verifier: ae, code_challenge: sr } = await Ea(), st = await Pa({
1746
1748
  nonce: b,
1747
1749
  clientId: r,
1748
- code_challenge: or
1750
+ code_challenge: sr
1749
1751
  });
1750
1752
  if (st.status) {
1751
- const ne = await Ca({
1753
+ const ne = await Oa({
1752
1754
  username: g,
1753
1755
  password: E,
1754
1756
  clientId: r,
@@ -1774,7 +1776,7 @@ const La = (e) => q(
1774
1776
  }
1775
1777
  return !1;
1776
1778
  }, K = async (g) => {
1777
- g == null || g.preventDefault(), await S(ka);
1779
+ g == null || g.preventDefault(), await S(Aa);
1778
1780
  }, I = async () => {
1779
1781
  const { isAuthenticated: g, user: E } = o;
1780
1782
  try {
@@ -1802,7 +1804,7 @@ const La = (e) => q(
1802
1804
  } catch {
1803
1805
  return i(
1804
1806
  "getAccessToken: exception occurred, invalidating and logging out"
1805
- ), await S(Aa), "";
1807
+ ), await S(Ra), "";
1806
1808
  }
1807
1809
  }, C = () => o.isAuthenticated && h ? h : "", O = async () => {
1808
1810
  const { user: g } = o;
@@ -1818,7 +1820,7 @@ const La = (e) => q(
1818
1820
  });
1819
1821
  if (E.status)
1820
1822
  try {
1821
- const b = await fr(E.data);
1823
+ const b = await gr(E.data);
1822
1824
  return E = await le({
1823
1825
  accessToken: c,
1824
1826
  clientId: r,
@@ -1860,7 +1862,7 @@ const La = (e) => q(
1860
1862
  });
1861
1863
  if (b.status)
1862
1864
  try {
1863
- const ae = await br(b.data);
1865
+ const ae = await Er(b.data);
1864
1866
  return b = await le({
1865
1867
  accessToken: c,
1866
1868
  clientId: r,
@@ -1902,8 +1904,8 @@ const La = (e) => q(
1902
1904
  }
1903
1905
  return !1;
1904
1906
  };
1905
- return /* @__PURE__ */ l($a.Provider, { value: { state: o, dispatch: s }, children: /* @__PURE__ */ l(
1906
- zt.Provider,
1907
+ return /* @__PURE__ */ l(Ma.Provider, { value: { state: o, dispatch: s }, children: /* @__PURE__ */ l(
1908
+ qt.Provider,
1907
1909
  {
1908
1910
  value: {
1909
1911
  ...o,
@@ -1917,8 +1919,8 @@ const La = (e) => q(
1917
1919
  children: e
1918
1920
  }
1919
1921
  ) });
1920
- }, qt = (e = zt) => St(e), wo = "user", To = "assistant", Io = "system", So = "internal", _o = "hidden", ko = "I'm having trouble right now. Please try again later.", Ao = "OpenAI", Ro = "OpenAI", No = "Anthropic", vo = "action-search", xo = "action-sort", Co = "action-toggle-prompt", Oo = "action-reset-prompt", Po = "sassy-saint-", Do = "details", Lo = "search", $o = "sort", Mo = "private-disclosure", Uo = "==stats==", Ka = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Ko = 10, Ho = 30, Wo = "av-prompt", Bo = "av-prompt-editable", Vo = "size-5 sm:size-4", bt = (e) => Number.isFinite(e) ? e : 0;
1921
- function Ha(e) {
1922
+ }, Xt = (e = qt) => _t(e), To = "user", Io = "assistant", So = "system", _o = "internal", ko = "hidden", Ao = "I'm having trouble right now. Please try again later.", Ro = "OpenAI", No = "OpenAI", vo = "Anthropic", xo = "action-search", Co = "action-sort", Oo = "action-toggle-prompt", Po = "action-reset-prompt", Do = "sassy-saint-", Lo = "details", $o = "search", Mo = "sort", Uo = "private-disclosure", Ko = "==stats==", Ha = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Ho = 10, Wo = 30, Bo = "av-prompt", Vo = "av-prompt-editable", Jo = "size-5 sm:size-4", bt = (e) => Number.isFinite(e) ? e : 0;
1923
+ function Wa(e) {
1922
1924
  return {
1923
1925
  days: Math.trunc(e / 864e5),
1924
1926
  hours: Math.trunc(e / 36e5 % 24),
@@ -1929,7 +1931,7 @@ function Ha(e) {
1929
1931
  nanoseconds: Math.trunc(bt(e * 1e6) % 1e3)
1930
1932
  };
1931
1933
  }
1932
- function Wa(e) {
1934
+ function Ba(e) {
1933
1935
  return {
1934
1936
  days: e / 86400000n,
1935
1937
  hours: e / 3600000n % 24n,
@@ -1940,20 +1942,20 @@ function Wa(e) {
1940
1942
  nanoseconds: 0n
1941
1943
  };
1942
1944
  }
1943
- function Ba(e) {
1945
+ function Va(e) {
1944
1946
  switch (typeof e) {
1945
1947
  case "number": {
1946
1948
  if (Number.isFinite(e))
1947
- return Ha(e);
1949
+ return Wa(e);
1948
1950
  break;
1949
1951
  }
1950
1952
  case "bigint":
1951
- return Wa(e);
1953
+ return Ba(e);
1952
1954
  }
1953
1955
  throw new TypeError("Expected a finite number or bigint");
1954
1956
  }
1955
- const Va = (e) => e === 0 || e === 0n, Ja = (e, t) => t === 1 || t === 1n ? e : `${e}s`, Ga = 1e-7, Ya = 24n * 60n * 60n * 1000n;
1956
- function Fa(e, t) {
1957
+ const Ja = (e) => e === 0 || e === 0n, Ga = (e, t) => t === 1 || t === 1n ? e : `${e}s`, Ya = 1e-7, Fa = 24n * 60n * 60n * 1000n;
1958
+ function ja(e, t) {
1957
1959
  const r = typeof e == "bigint";
1958
1960
  if (!r && !Number.isFinite(e))
1959
1961
  throw new TypeError("Expected a finite number or bigint");
@@ -1962,18 +1964,18 @@ function Fa(e, t) {
1962
1964
  e = e < 0 ? -e : e, t.colonNotation && (t.compact = !1, t.formatSubMilliseconds = !1, t.separateMilliseconds = !1, t.verbose = !1), t.compact && (t.unitCount = 1, t.secondsDecimalDigits = 0, t.millisecondsDecimalDigits = 0);
1963
1965
  let n = [];
1964
1966
  const o = (f, u) => {
1965
- const c = Math.floor(f * 10 ** u + Ga);
1967
+ const c = Math.floor(f * 10 ** u + Ya);
1966
1968
  return (Math.round(c) / 10 ** u).toFixed(u);
1967
1969
  }, s = (f, u, c, m) => {
1968
- if (!((n.length === 0 || !t.colonNotation) && Va(f) && !(t.colonNotation && c === "m"))) {
1970
+ if (!((n.length === 0 || !t.colonNotation) && Ja(f) && !(t.colonNotation && c === "m"))) {
1969
1971
  if (m ?? (m = String(f)), t.colonNotation) {
1970
1972
  const y = m.includes(".") ? m.split(".")[0].length : m.length, w = n.length > 0 ? 2 : 1;
1971
1973
  m = "0".repeat(Math.max(0, w - y)) + m;
1972
1974
  } else
1973
- m += t.verbose ? " " + Ja(u, f) : c;
1975
+ m += t.verbose ? " " + Ga(u, f) : c;
1974
1976
  n.push(m);
1975
1977
  }
1976
- }, i = Ba(e), d = BigInt(i.days);
1978
+ }, i = Va(e), d = BigInt(i.days);
1977
1979
  if (t.hideYearAndDays ? s(BigInt(d) * 24n + BigInt(i.hours), "hour", "h") : (t.hideYear ? s(d, "day", "d") : (s(d / 365n, "year", "y"), s(d % 365n, "day", "d")), s(Number(i.hours), "hour", "h")), s(Number(i.minutes), "minute", "m"), !t.hideSeconds)
1978
1980
  if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3) {
1979
1981
  const f = Number(i.seconds), u = Number(i.milliseconds), c = Number(i.microseconds), m = Number(i.nanoseconds);
@@ -1989,7 +1991,7 @@ function Fa(e, t) {
1989
1991
  );
1990
1992
  }
1991
1993
  } else {
1992
- const f = (r ? Number(e % Ya) : e) / 1e3 % 60, u = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, c = o(f, u), m = t.keepDecimalsOnWholeSeconds ? c : c.replace(/\.0+$/, "");
1994
+ const f = (r ? Number(e % Fa) : e) / 1e3 % 60, u = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, c = o(f, u), m = t.keepDecimalsOnWholeSeconds ? c : c.replace(/\.0+$/, "");
1993
1995
  s(Number.parseFloat(m), "second", "s", m);
1994
1996
  }
1995
1997
  if (n.length === 0)
@@ -1997,7 +1999,7 @@ function Fa(e, t) {
1997
1999
  const h = t.colonNotation ? ":" : " ";
1998
2000
  return typeof t.unitCount == "number" && (n = n.slice(0, Math.max(t.unitCount, 1))), a + n.join(h);
1999
2001
  }
2000
- const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.local.com" : "gizmette.com", Jo = async () => {
2002
+ const za = process.env.NODE_ENV === "production", qa = !za, Xa = qa ? "gizmette.local.com" : "gizmette.com", Go = async () => {
2001
2003
  const e = {
2002
2004
  /**
2003
2005
  * A boolean value that indicates the application would
@@ -2046,35 +2048,35 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2046
2048
  e
2047
2049
  );
2048
2050
  });
2049
- }, Go = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ D("div", { className: "flex items-center justify-between", children: [
2051
+ }, Yo = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ D("div", { className: "flex items-center justify-between", children: [
2050
2052
  /* @__PURE__ */ l("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
2051
2053
  /* @__PURE__ */ l("dd", { className: "my-1 inline-block", children: t[r] })
2052
- ] }) }, `${e}-${r}`)) : null, Yo = new Intl.NumberFormat("en", {
2054
+ ] }) }, `${e}-${r}`)) : null, Fo = new Intl.NumberFormat("en", {
2053
2055
  style: "decimal",
2054
2056
  signDisplay: "never",
2055
2057
  minimumFractionDigits: 0,
2056
2058
  maximumFractionDigits: 0
2057
- }), Fo = (e) => e > 0 ? Fa(e, {
2059
+ }), jo = (e) => e > 0 ? ja(e, {
2058
2060
  secondsDecimalDigits: 2,
2059
2061
  unitCount: 2
2060
- }) : "N/A", Xa = ({
2062
+ }) : "N/A", Qa = ({
2061
2063
  isAuthenticated: e,
2062
2064
  extraClass: t
2063
2065
  }) => p(
2064
2066
  "flex-1 overflow-y-auto bg-slate-900 px-4 pb-10 text-base leading-6 text-slate-300 shadow-sm sm:text-base sm:leading-7",
2065
2067
  e ? "pt-0" : "pt-10",
2066
2068
  t
2067
- ), Qa = ({
2069
+ ), Za = ({
2068
2070
  extraClass: e
2069
- }) => p("px-2 sm:px-0", e), jo = (e, t) => t === 1 ? e : `${e}s`, zo = (e, t) => {
2071
+ }) => p("px-2 sm:px-0", e), zo = (e, t) => t === 1 ? e : `${e}s`, qo = (e, t) => {
2070
2072
  let r;
2071
2073
  return (...a) => {
2072
2074
  window.clearTimeout(r), r = window.setTimeout(() => e(...a), t);
2073
2075
  };
2074
- }, Za = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), en = () => window.innerWidth < 403, qo = () => {
2075
- const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = en(), a = navigator.maxTouchPoints > 1;
2076
+ }, en = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), tn = () => window.innerWidth < 403, Xo = () => {
2077
+ const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = tn(), a = navigator.maxTouchPoints > 1;
2076
2078
  return e && t && r && a;
2077
- }, Et = "av-button", Ke = "icon", at = "button", Ze = "link", tn = ({
2079
+ }, Et = "av-button", Ke = "icon", at = "button", Ze = "link", rn = ({
2078
2080
  type: e,
2079
2081
  size: t,
2080
2082
  labelRight: r,
@@ -2110,7 +2112,7 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2110
2112
  "h-12": t === "large" && o && (r || a)
2111
2113
  });
2112
2114
  }
2113
- }, rn = ({
2115
+ }, an = ({
2114
2116
  type: e,
2115
2117
  size: t,
2116
2118
  labelRight: r,
@@ -2133,7 +2135,7 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2133
2135
  [s]: t === "large" && (r || a)
2134
2136
  });
2135
2137
  }
2136
- }, an = ({
2138
+ }, nn = ({
2137
2139
  mode: e,
2138
2140
  noBackground: t,
2139
2141
  noTruncate: r,
@@ -2169,7 +2171,7 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2169
2171
  return p("not-prose text-copy-lighter", {
2170
2172
  truncate: !r
2171
2173
  });
2172
- }, nn = ({
2174
+ }, on = ({
2173
2175
  mode: e,
2174
2176
  noBackground: t,
2175
2177
  variant: r
@@ -2199,13 +2201,13 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2199
2201
  if (r === "selected")
2200
2202
  return "bg-action-selected-dark";
2201
2203
  }
2202
- }, on = ({
2204
+ }, sn = ({
2203
2205
  radius: e
2204
2206
  }) => p({
2205
2207
  "rounded-full": e === "large",
2206
2208
  "rounded-md": e === "medium",
2207
2209
  "rounded-sm": e === "small"
2208
- }), sn = ({
2210
+ }), cn = ({
2209
2211
  mode: e,
2210
2212
  disabled: t,
2211
2213
  variant: r
@@ -2235,7 +2237,7 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2235
2237
  });
2236
2238
  if (r === "selected")
2237
2239
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
2238
- }, cn = ({
2240
+ }, ln = ({
2239
2241
  mode: e,
2240
2242
  disabled: t,
2241
2243
  variant: r
@@ -2265,7 +2267,7 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2265
2267
  });
2266
2268
  if (r === "selected")
2267
2269
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
2268
- }, ln = ({
2270
+ }, dn = ({
2269
2271
  mode: e,
2270
2272
  noBorder: t,
2271
2273
  variant: r
@@ -2295,14 +2297,14 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2295
2297
  });
2296
2298
  if (r === "selected")
2297
2299
  return "border border-border-selected-dark";
2298
- }, dn = ({
2300
+ }, un = ({
2299
2301
  focusMode: e
2300
2302
  }) => p("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
2301
2303
  "focus:outline-focus-dark": e === "dark",
2302
2304
  "focus:outline-focus-light": e === "light",
2303
2305
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
2304
2306
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
2305
- }), un = ({
2307
+ }), mn = ({
2306
2308
  mode: e,
2307
2309
  raw: t,
2308
2310
  iconClassName: r
@@ -2314,11 +2316,11 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2314
2316
  "dark:text-copy-accent-dark": e === "system"
2315
2317
  },
2316
2318
  r
2317
- ), mn = ({
2319
+ ), hn = ({
2318
2320
  animated: e
2319
2321
  }) => p({
2320
2322
  "transition-opacity duration-300 ease-in": e
2321
- }), Xt = ({
2323
+ }), Qt = ({
2322
2324
  type: e,
2323
2325
  className: t,
2324
2326
  raw: r,
@@ -2338,15 +2340,15 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2338
2340
  animated: T
2339
2341
  }) => (c || (c = "primary"), r ? p(Et, t) : p(
2340
2342
  Et,
2341
- an({
2343
+ nn({
2342
2344
  mode: a,
2343
2345
  variant: c,
2344
2346
  noBackground: u,
2345
2347
  noTruncate: m
2346
2348
  }),
2347
- nn({ mode: a, noBackground: u, variant: c }),
2348
- on({ radius: w }),
2349
- tn({
2349
+ on({ mode: a, noBackground: u, variant: c }),
2350
+ sn({ radius: w }),
2351
+ rn({
2350
2352
  type: e,
2351
2353
  size: i,
2352
2354
  labelRight: h,
@@ -2354,11 +2356,11 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2354
2356
  align: y,
2355
2357
  animated: T
2356
2358
  }),
2357
- rn({ type: e, size: i, labelRight: h, labelLeft: f }),
2358
- ln({ mode: a, variant: c, noBorder: d }),
2359
- dn({ focusMode: n }),
2360
- sn({ mode: a, variant: c, disabled: o }),
2359
+ an({ type: e, size: i, labelRight: h, labelLeft: f }),
2360
+ dn({ mode: a, variant: c, noBorder: d }),
2361
+ un({ focusMode: n }),
2361
2362
  cn({ mode: a, variant: c, disabled: o }),
2363
+ ln({ mode: a, variant: c, disabled: o }),
2362
2364
  {
2363
2365
  "w-full": s,
2364
2366
  "disabled:cursor-not-allowed disabled:opacity-50": o
@@ -2367,7 +2369,7 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2367
2369
  "transition-[width] duration-300 ease-in-out": e === Ke && T
2368
2370
  }),
2369
2371
  t
2370
- )), hn = (e, t, r) => {
2372
+ )), pn = (e, t, r) => {
2371
2373
  var a;
2372
2374
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
2373
2375
  }, nt = X.forwardRef((e, t) => {
@@ -2377,14 +2379,14 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2377
2379
  {
2378
2380
  ref: t,
2379
2381
  onClick: (o) => {
2380
- hn(o, a, r);
2382
+ pn(o, a, r);
2381
2383
  },
2382
2384
  ...n
2383
2385
  }
2384
2386
  );
2385
2387
  });
2386
2388
  nt.displayName = "BaseButton";
2387
- const Qt = X.forwardRef(
2389
+ const Zt = X.forwardRef(
2388
2390
  ({
2389
2391
  children: e,
2390
2392
  disabled: t = !1,
@@ -2400,7 +2402,7 @@ const Qt = X.forwardRef(
2400
2402
  radius: u = "large",
2401
2403
  ...c
2402
2404
  }, m) => {
2403
- const y = Xt({
2405
+ const y = Qt({
2404
2406
  type: at,
2405
2407
  mode: r,
2406
2408
  focusMode: a,
@@ -2426,14 +2428,14 @@ const Qt = X.forwardRef(
2426
2428
  );
2427
2429
  }
2428
2430
  );
2429
- Qt.displayName = "Button";
2430
- function pn() {
2431
+ Zt.displayName = "Button";
2432
+ function fn() {
2431
2433
  const e = x(!1);
2432
2434
  return Y(() => (e.current = !0, () => {
2433
2435
  e.current = !1;
2434
2436
  }), []), q(() => e.current, []);
2435
2437
  }
2436
- function fn(e) {
2438
+ function gn(e) {
2437
2439
  return Le(() => e.every((t) => t == null) ? () => {
2438
2440
  } : (t) => {
2439
2441
  e.forEach((r) => {
@@ -2441,7 +2443,7 @@ function fn(e) {
2441
2443
  });
2442
2444
  }, e);
2443
2445
  }
2444
- const gn = {
2446
+ const yn = {
2445
2447
  x: 0,
2446
2448
  y: 0,
2447
2449
  width: 0,
@@ -2452,7 +2454,7 @@ const gn = {
2452
2454
  right: 0
2453
2455
  };
2454
2456
  function je(e) {
2455
- const t = pn(), r = x(0), a = x(null), [n, o] = z(gn), s = Le(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
2457
+ const t = fn(), r = x(0), a = x(null), [n, o] = z(yn), s = Le(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
2456
2458
  const d = i[0];
2457
2459
  d && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
2458
2460
  a.current && t() && o(d.contentRect);
@@ -2462,21 +2464,21 @@ function je(e) {
2462
2464
  s == null || s.disconnect(), r.current && cancelAnimationFrame(r.current);
2463
2465
  }), [s, e]), [a, n];
2464
2466
  }
2465
- const yn = {
2467
+ const bn = {
2466
2468
  small: 24,
2467
2469
  // w-6
2468
2470
  medium: 32,
2469
2471
  // w-8
2470
2472
  large: 48
2471
2473
  // w-12
2472
- }, bn = {
2474
+ }, En = {
2473
2475
  small: 8 * 2,
2474
2476
  // px-2 x 2
2475
2477
  medium: 12 * 2,
2476
2478
  // px-3 x 2
2477
2479
  large: 16 * 2
2478
2480
  // px-4 x 2
2479
- }, En = 2, Pe = X.forwardRef(
2481
+ }, wn = 2, Pe = X.forwardRef(
2480
2482
  ({
2481
2483
  children: e,
2482
2484
  disabled: t = !1,
@@ -2500,7 +2502,7 @@ const yn = {
2500
2502
  animated: L = !1,
2501
2503
  ...Z
2502
2504
  }, $) => {
2503
- const B = Xt({
2505
+ const B = Qt({
2504
2506
  type: Ke,
2505
2507
  mode: r,
2506
2508
  focusMode: a,
@@ -2517,11 +2519,11 @@ const yn = {
2517
2519
  radius: T,
2518
2520
  variant: k,
2519
2521
  animated: L
2520
- }), U = un({ mode: r, raw: i, iconClassName: Q }), S = mn({ animated: L }), [M, K] = je(), [I, C] = je(), [O, V] = je(), g = x(0), E = x(null), b = fn([$, E]);
2522
+ }), U = mn({ mode: r, raw: i, iconClassName: Q }), S = hn({ animated: L }), [M, K] = je(), [I, C] = je(), [O, V] = je(), g = x(0), E = x(null), b = gn([$, E]);
2521
2523
  return Ne(() => {
2522
- O && O.current && L && (g.current = V.width + bn[u] + (d ? 0 : En));
2524
+ O && O.current && L && (g.current = V.width + En[u] + (d ? 0 : wn));
2523
2525
  }, [V, O, u, d, L]), Ne(() => {
2524
- E && E.current && L && (c && M && K.width > 0 ? (M.current && (M.current.style.opacity = "100"), E.current.style.width = `${K.width + g.current}px`) : m && C.width > 0 ? (I.current && (I.current.style.opacity = "100"), E.current.style.width = `${C.width + g.current}px`) : (M.current && (M.current.style.opacity = "0"), I.current && (I.current.style.opacity = "0"), E.current.style.width = `${yn[u]}px`));
2526
+ E && E.current && L && (c && M && K.width > 0 ? (M.current && (M.current.style.opacity = "100"), E.current.style.width = `${K.width + g.current}px`) : m && C.width > 0 ? (I.current && (I.current.style.opacity = "100"), E.current.style.width = `${C.width + g.current}px`) : (M.current && (M.current.style.opacity = "0"), I.current && (I.current.style.opacity = "0"), E.current.style.width = `${bn[u]}px`));
2525
2527
  }, [
2526
2528
  K,
2527
2529
  c,
@@ -2584,7 +2586,7 @@ try {
2584
2586
  });
2585
2587
  } catch {
2586
2588
  }
2587
- const wn = X.forwardRef(
2589
+ const Tn = X.forwardRef(
2588
2590
  ({
2589
2591
  children: e,
2590
2592
  mode: t = "system",
@@ -2622,7 +2624,7 @@ const wn = X.forwardRef(
2622
2624
  ) });
2623
2625
  }
2624
2626
  );
2625
- wn.displayName = "ButtonSort";
2627
+ Tn.displayName = "ButtonSort";
2626
2628
  /*!
2627
2629
  @versini/ui-card v3.0.13
2628
2630
  © 2025 gizmette.com
@@ -2637,11 +2639,11 @@ try {
2637
2639
  } catch {
2638
2640
  }
2639
2641
  const Ae = "av-card";
2640
- function Tn(e) {
2641
- const t = _t();
2642
+ function In(e) {
2643
+ const t = kt();
2642
2644
  return `${e}${t}`;
2643
2645
  }
2644
- const In = ({
2646
+ const Sn = ({
2645
2647
  className: e,
2646
2648
  headerClassName: t,
2647
2649
  bodyClassName: r,
@@ -2681,7 +2683,7 @@ const In = ({
2681
2683
  footer: f
2682
2684
  };
2683
2685
  };
2684
- function Sn({
2686
+ function _n({
2685
2687
  id: e,
2686
2688
  content: t,
2687
2689
  userAriaLabelledby: r,
@@ -2689,7 +2691,7 @@ function Sn({
2689
2691
  }) {
2690
2692
  return typeof t == "string" ? /* @__PURE__ */ l("h2", { id: e, className: a, children: t }) : r ? /* @__PURE__ */ l("div", { className: a, children: t }) : t ? /* @__PURE__ */ l("div", { className: a, id: e, children: t }) : null;
2691
2693
  }
2692
- const _n = ({
2694
+ const kn = ({
2693
2695
  header: e,
2694
2696
  headerClassName: t,
2695
2697
  footer: r,
@@ -2704,7 +2706,7 @@ const _n = ({
2704
2706
  ...u
2705
2707
  }) => {
2706
2708
  let c = null, m = null;
2707
- const y = typeof e == "string", w = Tn(Ae), T = In({
2709
+ const y = typeof e == "string", w = In(Ae), T = Sn({
2708
2710
  className: o,
2709
2711
  headerClassName: t,
2710
2712
  bodyClassName: s,
@@ -2723,7 +2725,7 @@ const _n = ({
2723
2725
  ...u,
2724
2726
  children: [
2725
2727
  /* @__PURE__ */ l(
2726
- Sn,
2728
+ _n,
2727
2729
  {
2728
2730
  ...c && { id: c },
2729
2731
  content: e,
@@ -2779,7 +2781,7 @@ try {
2779
2781
  });
2780
2782
  } catch {
2781
2783
  }
2782
- const kn = ({
2784
+ const An = ({
2783
2785
  className: e,
2784
2786
  viewBox: t,
2785
2787
  title: r,
@@ -2796,7 +2798,7 @@ const kn = ({
2796
2798
  ...n,
2797
2799
  children: /* @__PURE__ */ l("path", { d: "M927.943 30.81c0-2.381-1.191-5.954-3.573-7.145-7.146-4.763-19.055-1.19-26.2 0-17.864 2.382-34.537 4.764-53.592 4.764-26.2 0-53.591-1.19-79.791-4.764-23.819-3.572-44.064-10.718-69.074-3.572-35.727 9.527-58.355 38.109-57.164 75.028 1.191 21.436-2.382 38.109-9.527 57.164-7.146 17.864-15.482 20.245-32.155 20.245-115.52 0-229.848-1.19-345.367 0h-63.119c-29.773 0-59.546 5.955-89.319 0-21.436-4.763-42.873-15.482-58.355-30.964-3.573-3.572-10.718-14.29-14.29-14.29-4.765 1.19-4.765 15.481-4.765 19.054 0 15.482 5.955 30.964 5.955 46.446s-7.145 28.582-11.91 42.873c-4.763 16.673-4.763 33.346-2.381 50.019 4.764 27.39 9.527 55.973 11.91 84.555 2.381 25.01 2.381 48.828 4.763 73.837 2.382 20.246 3.573 29.773 29.773 33.346 30.964 4.764 30.964-5.955 38.11-26.2 9.527-25.01 17.863-51.21 27.39-76.22 8.337-19.054 15.482-60.736 67.883-40.49 28.582 10.718 58.355 16.672 88.128 25.009 32.155 8.336 65.5 16.673 97.655 22.627 65.501 13.1 132.193 20.246 200.075 23.819 7.146 0 11.91 0 16.673 5.954 17.864 22.628-3.573 63.119 41.682 70.265 40.491 5.954 40.491-22.628 45.255-47.637 2.382-14.291 4.764-27.391 8.337-40.492 1.19-5.954 5.954-11.909 10.718-15.481 55.973-33.346 88.128-98.847 78.6-164.347-1.19-10.719-4.763-21.437-3.572-33.346 2.382-23.819 32.155-33.346 50.018-42.873 22.628-13.1 47.637-25.01 66.692-42.873 13.1-11.91 23.818-27.392 29.773-44.064 3.573-5.955 5.955-14.292 4.764-20.246M737.395 190.395c-2.381 25.01-13.1 36.919-35.727 41.682-40.491 8.337-66.692-19.054-54.783-58.355 8.337-26.2 17.864-51.21 29.773-75.028 11.91-23.818 22.628-23.818 36.919-1.19 17.864 28.581 27.391 59.545 23.818 92.891m38.11-109.564c-7.146 0-13.1-5.955-13.1-13.1 0-7.146 5.954-13.1 13.1-13.1 7.145 0 13.1 5.954 13.1 13.1 0 7.145-5.955 13.1-13.1 13.1" })
2798
2800
  }
2799
- ), An = ({
2801
+ ), Rn = ({
2800
2802
  className: e,
2801
2803
  viewBox: t,
2802
2804
  title: r,
@@ -2822,7 +2824,7 @@ const kn = ({
2822
2824
  /* @__PURE__ */ l("path", { d: "M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1l592 464c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1l-592-464C-1.2 34.7-3.1 19.6 5.1 9.2" })
2823
2825
  ]
2824
2826
  }
2825
- ), Rn = ({
2827
+ ), Nn = ({
2826
2828
  className: e,
2827
2829
  viewBox: t,
2828
2830
  title: r,
@@ -2858,7 +2860,7 @@ const kn = ({
2858
2860
  ]
2859
2861
  }
2860
2862
  );
2861
- }, Nn = ({
2863
+ }, vn = ({
2862
2864
  className: e,
2863
2865
  viewBox: t,
2864
2866
  title: r,
@@ -2911,7 +2913,7 @@ try {
2911
2913
  });
2912
2914
  } catch {
2913
2915
  }
2914
- const vn = "av-main", xn = ({
2916
+ const xn = "av-main", Cn = ({
2915
2917
  children: e,
2916
2918
  className: t,
2917
2919
  raw: r = !1,
@@ -2919,7 +2921,7 @@ const vn = "av-main", xn = ({
2919
2921
  noPadding: n = !1
2920
2922
  }) => {
2921
2923
  const o = p(
2922
- vn,
2924
+ xn,
2923
2925
  {
2924
2926
  "mt-2 sm:mt-3": !r && !a,
2925
2927
  "p-2": !r && !n,
@@ -2928,10 +2930,10 @@ const vn = "av-main", xn = ({
2928
2930
  t
2929
2931
  );
2930
2932
  return /* @__PURE__ */ l("main", { className: o, children: e });
2931
- }, Cn = "av-flexgrid", _e = "av-flexgrid-item", De = 0.25, et = X.createContext({
2933
+ }, On = "av-flexgrid", _e = "av-flexgrid-item", De = 0.25, et = X.createContext({
2932
2934
  columnGap: 0,
2933
2935
  rowGap: 0
2934
- }), On = ({
2936
+ }), Pn = ({
2935
2937
  children: e,
2936
2938
  className: t,
2937
2939
  columnGap: r = 1,
@@ -2957,7 +2959,7 @@ const vn = "av-main", xn = ({
2957
2959
  marginLeft: r * -1 * De + "rem",
2958
2960
  marginTop: a * -1 * De + "rem"
2959
2961
  }, u = p(
2960
- Cn,
2962
+ On,
2961
2963
  "box-border flex flex-wrap"
2962
2964
  ), c = { columnGap: r, rowGap: a };
2963
2965
  return t ? /* @__PURE__ */ l("div", { className: t, children: /* @__PURE__ */ l("div", { className: u, style: f, ...h, children: /* @__PURE__ */ l(et.Provider, { value: c, children: e }) }) }) : /* @__PURE__ */ l("div", { className: u, style: f, ...h, children: /* @__PURE__ */ l(et.Provider, { value: c, children: e }) });
@@ -3034,7 +3036,7 @@ const vn = "av-main", xn = ({
3034
3036
  "lg:basis-full": e === 12 && t === "lg",
3035
3037
  "xl:basis-full": e === 12 && t === "xl",
3036
3038
  "2xl:basis-full": e === 12 && t === "2xl"
3037
- }), Pn = ({
3039
+ }), Dn = ({
3038
3040
  className: e,
3039
3041
  span: t
3040
3042
  }) => {
@@ -3063,10 +3065,10 @@ const vn = "av-main", xn = ({
3063
3065
  span: r,
3064
3066
  ...a
3065
3067
  }) => {
3066
- const { columnGap: n, rowGap: o } = St(et), s = {
3068
+ const { columnGap: n, rowGap: o } = _t(et), s = {
3067
3069
  paddingLeft: n * De + "rem",
3068
3070
  paddingTop: o * De + "rem"
3069
- }, i = Pn({
3071
+ }, i = Dn({
3070
3072
  className: t,
3071
3073
  span: r
3072
3074
  });
@@ -3085,14 +3087,14 @@ try {
3085
3087
  });
3086
3088
  } catch {
3087
3089
  }
3088
- const Zt = "av-text-input", Dn = "av-text-input-wrapper", qe = "av-text-input-helper-text";
3089
- function Ln() {
3090
+ const er = "av-text-input", Ln = "av-text-input-wrapper", qe = "av-text-input-helper-text";
3091
+ function $n() {
3090
3092
  const e = x(!1);
3091
3093
  return Y(() => (e.current = !0, () => {
3092
3094
  e.current = !1;
3093
3095
  }), []), q(() => e.current, []);
3094
3096
  }
3095
- const $n = {
3097
+ const Mn = {
3096
3098
  x: 0,
3097
3099
  y: 0,
3098
3100
  width: 0,
@@ -3102,8 +3104,8 @@ const $n = {
3102
3104
  bottom: 0,
3103
3105
  right: 0
3104
3106
  };
3105
- function Mn(e) {
3106
- const t = Ln(), r = x(0), a = x(null), [n, o] = z($n), s = Le(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
3107
+ function Un(e) {
3108
+ const t = $n(), r = x(0), a = x(null), [n, o] = z(Mn), s = Le(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
3107
3109
  const d = i[0];
3108
3110
  d && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
3109
3111
  a.current && t() && o(d.contentRect);
@@ -3113,8 +3115,8 @@ function Mn(e) {
3113
3115
  s == null || s.disconnect(), r.current && cancelAnimationFrame(r.current);
3114
3116
  }), [s, e]), [a, n];
3115
3117
  }
3116
- function Un(e) {
3117
- const t = _t();
3118
+ function Kn(e) {
3119
+ const t = kt();
3118
3120
  if (!e)
3119
3121
  return t;
3120
3122
  if (typeof e == "number" || typeof e == "string")
@@ -3124,7 +3126,7 @@ function Un(e) {
3124
3126
  return typeof r == "number" || typeof r == "string" ? `${a}${r}` : `${a}${t}`;
3125
3127
  }
3126
3128
  }
3127
- const er = "SET_ANNOUNCEMENT", tr = "CLEAR_ANNOUNCEMENT", Kn = {
3129
+ const tr = "SET_ANNOUNCEMENT", rr = "CLEAR_ANNOUNCEMENT", Hn = {
3128
3130
  alert: null,
3129
3131
  alertdialog: null,
3130
3132
  log: "polite",
@@ -3132,14 +3134,14 @@ const er = "SET_ANNOUNCEMENT", tr = "CLEAR_ANNOUNCEMENT", Kn = {
3132
3134
  progressbar: null,
3133
3135
  status: "polite",
3134
3136
  timer: "assertive"
3135
- }, Hn = (e, t) => {
3137
+ }, Wn = (e, t) => {
3136
3138
  switch (t == null ? void 0 : t.type) {
3137
- case er:
3139
+ case tr:
3138
3140
  return {
3139
3141
  ...e,
3140
3142
  announcement: t.payload
3141
3143
  };
3142
- case tr:
3144
+ case rr:
3143
3145
  return {
3144
3146
  ...e,
3145
3147
  announcement: null
@@ -3147,12 +3149,12 @@ const er = "SET_ANNOUNCEMENT", tr = "CLEAR_ANNOUNCEMENT", Kn = {
3147
3149
  default:
3148
3150
  return e;
3149
3151
  }
3150
- }, Wn = ({
3152
+ }, Bn = ({
3151
3153
  onAnnouncementClear: e,
3152
3154
  dispatch: t
3153
3155
  }) => {
3154
3156
  t({
3155
- type: tr
3157
+ type: rr
3156
3158
  }), typeof e == "function" && e();
3157
3159
  }, Tt = ({
3158
3160
  children: e,
@@ -3162,16 +3164,16 @@ const er = "SET_ANNOUNCEMENT", tr = "CLEAR_ANNOUNCEMENT", Kn = {
3162
3164
  dispatch: n
3163
3165
  }) => {
3164
3166
  clearTimeout(r.current), e !== null && n({
3165
- type: er,
3167
+ type: tr,
3166
3168
  payload: e
3167
3169
  }), t && (r.current = setTimeout(
3168
- () => Wn({
3170
+ () => Bn({
3169
3171
  onAnnouncementClear: a,
3170
3172
  dispatch: n
3171
3173
  }),
3172
3174
  t
3173
3175
  ));
3174
- }, Bn = ({
3176
+ }, Vn = ({
3175
3177
  children: e,
3176
3178
  announcementTimeoutRef: t,
3177
3179
  announcementDelay: r,
@@ -3194,7 +3196,7 @@ const er = "SET_ANNOUNCEMENT", tr = "CLEAR_ANNOUNCEMENT", Kn = {
3194
3196
  dispatch: s
3195
3197
  });
3196
3198
  };
3197
- function rr({
3199
+ function ar({
3198
3200
  children: e,
3199
3201
  className: t,
3200
3202
  politeness: r,
@@ -3205,12 +3207,12 @@ function rr({
3205
3207
  visible: i,
3206
3208
  ...d
3207
3209
  }) {
3208
- const h = x(null), f = x(null), [u, c] = It(Hn, {
3210
+ const h = x(null), f = x(null), [u, c] = St(Wn, {
3209
3211
  announcement: null
3210
3212
  });
3211
3213
  let m = r;
3212
- typeof m > "u" && (m = a ? Kn[a] : "assertive"), Y(() => {
3213
- Bn({
3214
+ typeof m > "u" && (m = a ? Hn[a] : "assertive"), Y(() => {
3215
+ Vn({
3214
3216
  announcementTimeoutRef: h,
3215
3217
  announcementDelay: n,
3216
3218
  children: e,
@@ -3252,21 +3254,21 @@ try {
3252
3254
  });
3253
3255
  } catch {
3254
3256
  }
3255
- const Vn = ({
3257
+ const Jn = ({
3256
3258
  mode: e
3257
3259
  }) => p({
3258
3260
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
3259
3261
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
3260
3262
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
3261
3263
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
3262
- }), Jn = ({
3264
+ }), Gn = ({
3263
3265
  focusMode: e
3264
3266
  }) => p("focus:outline focus:outline-2 focus:outline-offset-2", {
3265
3267
  "focus:outline-focus-dark": e === "dark",
3266
3268
  "focus:outline-focus-light": e === "light",
3267
3269
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
3268
3270
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
3269
- }), Gn = ({
3271
+ }), Yn = ({
3270
3272
  noBorder: e,
3271
3273
  error: t
3272
3274
  }) => p("border-2", {
@@ -3274,7 +3276,7 @@ const Vn = ({
3274
3276
  "focus:border-border-dark": !e && t,
3275
3277
  "border-border-error-dark": !e && t,
3276
3278
  "border-transparent": e
3277
- }), Yn = ({
3279
+ }), Fn = ({
3278
3280
  disabled: e,
3279
3281
  raw: t,
3280
3282
  error: r,
@@ -3298,7 +3300,7 @@ const Vn = ({
3298
3300
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": a === "system",
3299
3301
  "text-copy-lighter dark:text-copy-error-dark": a === "alt-system"
3300
3302
  });
3301
- }, Fn = ({
3303
+ }, jn = ({
3302
3304
  error: e,
3303
3305
  raw: t,
3304
3306
  mode: r,
@@ -3325,7 +3327,7 @@ const Vn = ({
3325
3327
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
3326
3328
  "dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
3327
3329
  });
3328
- }, jn = ({
3330
+ }, zn = ({
3329
3331
  className: e,
3330
3332
  inputClassName: t,
3331
3333
  raw: r,
@@ -3339,7 +3341,7 @@ const Vn = ({
3339
3341
  }) => {
3340
3342
  const f = r ? e : p(
3341
3343
  "relative flex w-full flex-col justify-center",
3342
- Dn,
3344
+ Ln,
3343
3345
  e
3344
3346
  );
3345
3347
  let u = "";
@@ -3361,22 +3363,22 @@ const Vn = ({
3361
3363
  break;
3362
3364
  }
3363
3365
  const c = r ? p(t) : p(
3364
- Zt,
3366
+ er,
3365
3367
  u,
3366
3368
  "rounded-md text-base px-4",
3367
- Vn({ mode: s }),
3368
- Jn({ focusMode: i }),
3369
- Gn({ noBorder: n, error: o }),
3369
+ Jn({ mode: s }),
3370
+ Gn({ focusMode: i }),
3371
+ Yn({ noBorder: n, error: o }),
3370
3372
  {
3371
3373
  "disabled:cursor-not-allowed disabled:opacity-50": a
3372
3374
  },
3373
3375
  t
3374
- ), m = r ? void 0 : "sr-only", y = Yn({
3376
+ ), m = r ? void 0 : "sr-only", y = Fn({
3375
3377
  disabled: a,
3376
3378
  raw: r,
3377
3379
  error: o,
3378
3380
  mode: s
3379
- }), w = Fn({
3381
+ }), w = jn({
3380
3382
  error: o,
3381
3383
  raw: r,
3382
3384
  mode: s,
@@ -3412,13 +3414,13 @@ const Vn = ({
3412
3414
  size: k = "md",
3413
3415
  ...Q
3414
3416
  }, L) => {
3415
- const [Z, $] = Mn(), [B, U] = z(0), S = Un({ id: e, prefix: `${Zt}-` }), M = `${t} error, ${y}`, K = x(null), I = x(null), C = {
3417
+ const [Z, $] = Un(), [B, U] = z(0), S = Kn({ id: e, prefix: `${er}-` }), M = `${t} error, ${y}`, K = x(null), I = x(null), C = {
3416
3418
  xs: { label: "-25px", helperText: "30px" },
3417
3419
  sm: { label: "-29px", helperText: "34px" },
3418
3420
  md: { label: "-33px", helperText: "38px" },
3419
3421
  lg: { label: "-15px", helperText: "22px" },
3420
3422
  xl: { label: "-19px", helperText: "25px" }
3421
- }, O = jn({
3423
+ }, O = zn({
3422
3424
  className: o,
3423
3425
  inputClassName: s,
3424
3426
  error: a,
@@ -3492,12 +3494,12 @@ const Vn = ({
3492
3494
  children: w
3493
3495
  }
3494
3496
  ),
3495
- a && y && /* @__PURE__ */ l(rr, { politeness: "polite", clearAnnouncementDelay: 500, children: M })
3497
+ a && y && /* @__PURE__ */ l(ar, { politeness: "polite", clearAnnouncementDelay: 500, children: M })
3496
3498
  ] });
3497
3499
  }
3498
3500
  );
3499
3501
  ot.displayName = "TextInput";
3500
- function zn(e) {
3502
+ function qn(e) {
3501
3503
  return Le(() => e.every((t) => t == null) ? () => {
3502
3504
  } : (t) => {
3503
3505
  e.forEach((r) => {
@@ -3505,7 +3507,7 @@ function zn(e) {
3505
3507
  });
3506
3508
  }, e);
3507
3509
  }
3508
- const qn = 500, Xn = 5e3, Qn = 2e4, ar = X.forwardRef(
3510
+ const Xn = 500, Qn = 5e3, Zn = 2e4, nr = X.forwardRef(
3509
3511
  ({
3510
3512
  name: e,
3511
3513
  disabled: t,
@@ -3522,19 +3524,19 @@ const qn = 500, Xn = 5e3, Qn = 2e4, ar = X.forwardRef(
3522
3524
  const [c, m] = z(!0), [y, w] = z({
3523
3525
  message: null,
3524
3526
  politeness: null
3525
- }), T = x(!0), k = x(null), Q = x(null), L = zn([u, Q]), Z = c ? "Show" : "Hide", $ = () => {
3527
+ }), T = x(!0), k = x(null), Q = x(null), L = qn([u, Q]), Z = c ? "Show" : "Hide", $ = () => {
3526
3528
  k.current && clearTimeout(k.current), T.current || (k.current = setTimeout(() => {
3527
3529
  T.current = !0, m(!0), w({
3528
- announcementTimeout: Xn,
3530
+ announcementTimeout: Qn,
3529
3531
  politeness: "polite",
3530
3532
  message: `${r} hiding characters`
3531
3533
  }), n && n(!0);
3532
- }, Qn));
3534
+ }, Zn));
3533
3535
  }, B = (I) => {
3534
3536
  I.preventDefault();
3535
3537
  const C = !T.current;
3536
3538
  T.current = C, $(), m(C), w({
3537
- announcementTimeout: qn,
3539
+ announcementTimeout: Xn,
3538
3540
  politeness: "assertive",
3539
3541
  message: C ? "Characters hidden" : "Characters showing"
3540
3542
  }), n && n(C);
@@ -3575,7 +3577,7 @@ const qn = 500, Xn = 5e3, Qn = 2e4, ar = X.forwardRef(
3575
3577
  }
3576
3578
  ),
3577
3579
  /* @__PURE__ */ l(
3578
- rr,
3580
+ ar,
3579
3581
  {
3580
3582
  role: "status",
3581
3583
  politeness: y.politeness,
@@ -3586,7 +3588,7 @@ const qn = 500, Xn = 5e3, Qn = 2e4, ar = X.forwardRef(
3586
3588
  ] });
3587
3589
  }
3588
3590
  );
3589
- ar.displayName = "TextInputMask";
3591
+ nr.displayName = "TextInputMask";
3590
3592
  /*!
3591
3593
  @versini/ui-textinput v3.0.13
3592
3594
  © 2025 gizmette.com
@@ -3600,7 +3602,7 @@ try {
3600
3602
  });
3601
3603
  } catch {
3602
3604
  }
3603
- const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in with a Passkey", Xo = "Log out", ro = "Password", Qo = "Profile", Zo = "Settings", es = "Chat history", ts = "About", rs = "Type your question here", as = "{{clipboard}}", ns = `Sometimes, ${nr} hallucinates. Review important details.`, os = "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.", ss = {
3605
+ const eo = "ASK! ME! ANYTHING!", or = "Callisto", to = "Log in", ro = "Sign in with a Passkey", Qo = "Log out", ao = "Password", Zo = "Profile", es = "Settings", ts = "Chat history", rs = "About", as = "Type your question here", ns = "{{clipboard}}", os = `Sometimes, ${or} hallucinates. Review important details.`, ss = "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.", is = {
3604
3606
  PREFERENCES: {
3605
3607
  TITLE: "User profile",
3606
3608
  NAME: "Name",
@@ -3640,14 +3642,14 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3640
3642
  TITLE: "Chat Details",
3641
3643
  INSTRUCTION: "This option adds individual statistics for each messages under their respective bubbles, such as processing time, model name, and more."
3642
3644
  }
3643
- }, ao = () => /* @__PURE__ */ D("div", { className: "flex items-center justify-center", children: [
3644
- /* @__PURE__ */ l("div", { className: "basis-1/4", children: /* @__PURE__ */ l(kn, {}) }),
3645
+ }, no = () => /* @__PURE__ */ D("div", { className: "flex items-center justify-center", children: [
3646
+ /* @__PURE__ */ l("div", { className: "basis-1/4", children: /* @__PURE__ */ l(An, {}) }),
3645
3647
  /* @__PURE__ */ D("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
3646
- /* @__PURE__ */ l("h1", { children: nr }),
3647
- /* @__PURE__ */ l("h2", { children: Zn })
3648
+ /* @__PURE__ */ l("h1", { children: or }),
3649
+ /* @__PURE__ */ l("h2", { children: eo })
3648
3650
  ] })
3649
- ] }), no = () => {
3650
- const { login: e, logoutReason: t, loginWithPasskey: r } = qt(), [a, n] = z(""), [o, s] = z(""), [i, d] = z(!0), [h, f] = z({
3651
+ ] }), oo = () => {
3652
+ const { login: e, logoutReason: t, loginWithPasskey: r } = Xt(), [a, n] = z(""), [o, s] = z(""), [i, d] = z(!0), [h, f] = z({
3651
3653
  username: "",
3652
3654
  password: ""
3653
3655
  }), u = async (c) => {
@@ -3662,9 +3664,9 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3662
3664
  }), Y(() => {
3663
3665
  t && s(t);
3664
3666
  }, [t]), /* @__PURE__ */ l(Re, { children: /* @__PURE__ */ D(
3665
- xn,
3667
+ Cn,
3666
3668
  {
3667
- className: Qa({
3669
+ className: Za({
3668
3670
  extraClass: "mt-5"
3669
3671
  }),
3670
3672
  noMargin: !0,
@@ -3673,13 +3675,13 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3673
3675
  /* @__PURE__ */ l(
3674
3676
  "div",
3675
3677
  {
3676
- className: Xa({
3678
+ className: Qa({
3677
3679
  extraClass: "rounded-md"
3678
3680
  }),
3679
- children: /* @__PURE__ */ l(ao, {})
3681
+ children: /* @__PURE__ */ l(no, {})
3680
3682
  }
3681
3683
  ),
3682
- /* @__PURE__ */ l("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ l(On, { alignHorizontal: "center", children: /* @__PURE__ */ l(re, { span: 6, children: /* @__PURE__ */ D(_n, { mode: "dark", children: [
3684
+ /* @__PURE__ */ l("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ l(Pn, { alignHorizontal: "center", children: /* @__PURE__ */ l(re, { span: 6, children: /* @__PURE__ */ D(kn, { mode: "dark", children: [
3683
3685
  /* @__PURE__ */ l(re, { span: 12, className: "mt-7", children: o && /* @__PURE__ */ l("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: o }) }),
3684
3686
  /* @__PURE__ */ l(re, { span: 12, children: /* @__PURE__ */ l(
3685
3687
  ot,
@@ -3703,7 +3705,7 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3703
3705
  }
3704
3706
  ) }),
3705
3707
  /* @__PURE__ */ l(re, { span: 12, children: /* @__PURE__ */ l(
3706
- ar,
3708
+ nr,
3707
3709
  {
3708
3710
  className: "mt-7",
3709
3711
  required: !0,
@@ -3713,14 +3715,14 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3713
3715
  mode: "dark",
3714
3716
  focusMode: "light",
3715
3717
  name: "password",
3716
- label: ro,
3718
+ label: ao,
3717
3719
  rightElement: /* @__PURE__ */ l(
3718
3720
  Pe,
3719
3721
  {
3720
3722
  focusMode: "light",
3721
3723
  mode: "dark",
3722
3724
  label: i ? "Show" : "Hide",
3723
- children: i ? /* @__PURE__ */ l(Nn, {}) : /* @__PURE__ */ l(An, {})
3725
+ children: i ? /* @__PURE__ */ l(vn, {}) : /* @__PURE__ */ l(Rn, {})
3724
3726
  }
3725
3727
  ),
3726
3728
  onMaskChange: d,
@@ -3735,7 +3737,7 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3735
3737
  }
3736
3738
  ) }),
3737
3739
  /* @__PURE__ */ l(re, { span: 12, children: /* @__PURE__ */ l(
3738
- Qt,
3740
+ Zt,
3739
3741
  {
3740
3742
  mode: "light",
3741
3743
  focusMode: "light",
@@ -3743,10 +3745,10 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3743
3745
  noBorder: !0,
3744
3746
  type: "submit",
3745
3747
  className: "mt-7",
3746
- children: eo
3748
+ children: to
3747
3749
  }
3748
3750
  ) }),
3749
- !Za() && /* @__PURE__ */ D(Re, { children: [
3751
+ !en() && /* @__PURE__ */ D(Re, { children: [
3750
3752
  /* @__PURE__ */ l(re, { span: 12, children: /* @__PURE__ */ l("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
3751
3753
  /* @__PURE__ */ l(re, { span: 12, children: /* @__PURE__ */ l(
3752
3754
  Pe,
@@ -3756,9 +3758,9 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3756
3758
  focusMode: "light",
3757
3759
  fullWidth: !0,
3758
3760
  className: "mb-4",
3759
- labelRight: to,
3761
+ labelRight: ro,
3760
3762
  onClick: r,
3761
- children: /* @__PURE__ */ l(Rn, { size: "size-7" })
3763
+ children: /* @__PURE__ */ l(Nn, { size: "size-7" })
3762
3764
  }
3763
3765
  ) })
3764
3766
  ] })
@@ -3766,74 +3768,74 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3766
3768
  ]
3767
3769
  }
3768
3770
  ) });
3769
- }, oo = new URL(document.location.href).searchParams, so = !!oo.get("debug") || !1, io = cr(() => import(
3771
+ }, so = new URL(document.location.href).searchParams, io = !!so.get("debug") || !1, co = lr(() => import(
3770
3772
  /* webpackChunkName: "LazyApp" */
3771
- "./App.B8bK5ZIi.js"
3772
- ).then((e) => e.App)), co = ({ isComponent: e }) => {
3773
- const { isAuthenticated: t } = qt();
3774
- return t ? /* @__PURE__ */ l(lr, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(io, { isComponent: e }) }) : /* @__PURE__ */ l(no, {});
3775
- }, lo = ({
3773
+ "./App.Bfnlm12i.js"
3774
+ ).then((e) => e.App)), lo = ({ isComponent: e }) => {
3775
+ const { isAuthenticated: t } = Xt();
3776
+ return t ? /* @__PURE__ */ l(dr, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(co, { isComponent: e }) }) : /* @__PURE__ */ l(oo, {});
3777
+ }, uo = ({
3776
3778
  isComponent: e = !1,
3777
- domain: t = qa
3778
- }) => /* @__PURE__ */ l(Ua, { clientId: Ka, domain: t, debug: so, children: /* @__PURE__ */ l(co, { isComponent: e }) }), is = ({ domain: e }) => /* @__PURE__ */ l(lo, { isComponent: !0, domain: e });
3779
+ domain: t = Xa
3780
+ }) => /* @__PURE__ */ l(Ka, { clientId: Ha, domain: t, debug: io, children: /* @__PURE__ */ l(lo, { isComponent: e }) }), cs = ({ domain: e }) => /* @__PURE__ */ l(uo, { isComponent: !0, domain: e });
3779
3781
  export {
3780
- ts as ABOUT_TITLE,
3781
- Oo as ACTION_RESET_PROMPT,
3782
- vo as ACTION_SEARCH,
3783
- xo as ACTION_SORT,
3784
- Co as ACTION_TOGGLE_PROMPT,
3785
- nr as APP_NAME,
3786
- Qt as C,
3787
- ss as CARDS,
3788
- as as CLIPBOARD_PROMPT,
3789
- Ao as DEFAULT_AI_PROVIDER,
3790
- Vo as DEFAULT_ICON_ACTION_SIZE,
3791
- ko as ERROR_MESSAGE,
3792
- ns as FOOTER_DISCLAIMER,
3793
- es as HISTORY_TITLE,
3794
- Ho as INFINITE_SCROLL_LIMIT,
3795
- Ko as INFINITE_SCROLL_THRESHOLD,
3796
- On as L,
3797
- Do as LOCAL_STORAGE_CHAT_DETAILS,
3798
- Po as LOCAL_STORAGE_PREFIX,
3799
- Mo as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
3800
- Lo as LOCAL_STORAGE_SEARCH,
3801
- $o as LOCAL_STORAGE_SORT,
3802
- Xo as LOG_OUT,
3803
- ao as Logo,
3782
+ rs as ABOUT_TITLE,
3783
+ Po as ACTION_RESET_PROMPT,
3784
+ xo as ACTION_SEARCH,
3785
+ Co as ACTION_SORT,
3786
+ Oo as ACTION_TOGGLE_PROMPT,
3787
+ or as APP_NAME,
3788
+ Zt as C,
3789
+ is as CARDS,
3790
+ ns as CLIPBOARD_PROMPT,
3791
+ Ro as DEFAULT_AI_PROVIDER,
3792
+ Jo as DEFAULT_ICON_ACTION_SIZE,
3793
+ Ao as ERROR_MESSAGE,
3794
+ os as FOOTER_DISCLAIMER,
3795
+ ts as HISTORY_TITLE,
3796
+ Wo as INFINITE_SCROLL_LIMIT,
3797
+ Ho as INFINITE_SCROLL_THRESHOLD,
3798
+ Pn as L,
3799
+ Lo as LOCAL_STORAGE_CHAT_DETAILS,
3800
+ Do as LOCAL_STORAGE_PREFIX,
3801
+ Uo as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
3802
+ $o as LOCAL_STORAGE_SEARCH,
3803
+ Mo as LOCAL_STORAGE_SORT,
3804
+ Qo as LOG_OUT,
3805
+ no as Logo,
3804
3806
  me as M,
3805
- Qo as PROFILE_TITLE,
3806
- os as PROMPTS_DESCRIPTION,
3807
- Wo as PROMPT_CLASSNAME,
3808
- Bo as PROMPT_EDITABLE_AREA_CLASSNAME,
3809
- No as PROVIDER_ANTHROPIC,
3810
- Ro as PROVIDER_OPENAI,
3811
- _n as R,
3812
- To as ROLE_ASSISTANT,
3813
- _o as ROLE_HIDDEN,
3814
- So as ROLE_INTERNAL,
3815
- Io as ROLE_SYSTEM,
3816
- wo as ROLE_USER,
3817
- Zo as SETTINGS_TITLE,
3818
- Uo as STATS_SEPARATOR,
3819
- is as SassySaint,
3820
- rs as TYPE_QUESTION,
3821
- zo as debounce,
3822
- Fo as durationFormatter,
3807
+ Zo as PROFILE_TITLE,
3808
+ ss as PROMPTS_DESCRIPTION,
3809
+ Bo as PROMPT_CLASSNAME,
3810
+ Vo as PROMPT_EDITABLE_AREA_CLASSNAME,
3811
+ vo as PROVIDER_ANTHROPIC,
3812
+ No as PROVIDER_OPENAI,
3813
+ kn as R,
3814
+ Io as ROLE_ASSISTANT,
3815
+ ko as ROLE_HIDDEN,
3816
+ _o as ROLE_INTERNAL,
3817
+ So as ROLE_SYSTEM,
3818
+ To as ROLE_USER,
3819
+ es as SETTINGS_TITLE,
3820
+ Ko as STATS_SEPARATOR,
3821
+ cs as SassySaint,
3822
+ as as TYPE_QUESTION,
3823
+ qo as debounce,
3824
+ jo as durationFormatter,
3823
3825
  He as f,
3824
3826
  ot as fe,
3825
- Jo as getCurrentGeoLocation,
3826
- Qa as getMainPaddingClass,
3827
- Xa as getMessageContaintWrapperClass,
3828
- Za as isElectron,
3829
- en as isProbablyMobile,
3830
- qo as isProbablyiPhone,
3827
+ Go as getCurrentGeoLocation,
3828
+ Za as getMainPaddingClass,
3829
+ Qa as getMessageContaintWrapperClass,
3830
+ en as isElectron,
3831
+ tn as isProbablyMobile,
3832
+ Xo as isProbablyiPhone,
3831
3833
  re as j,
3832
- Rn as l,
3833
- Yo as numberFormatter,
3834
- jo as pluralize,
3835
- xn as r,
3834
+ Nn as l,
3835
+ Fo as numberFormatter,
3836
+ zo as pluralize,
3837
+ Cn as r,
3836
3838
  Pe as re,
3837
- Go as renderDataAsList,
3838
- qt as un
3839
+ Yo as renderDataAsList,
3840
+ Xt as un
3839
3841
  };