@versini/sassysaint 7.1.5 → 7.1.6

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 or, useReducer as It, useRef as x, useCallback as q, useEffect as Y, useContext as Tt, useSyncExternalStore as sr, useLayoutEffect as Ne, useMemo as De, useState as z, useId as St, lazy as ir, Suspense as cr } 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 lr = Object.defineProperty, dr = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, He = (e, t, r) => dr(e, typeof t != "symbol" ? t + "" : t, r);
5
5
  /*!
6
- @versini/auth-provider v7.4.2
6
+ @versini/auth-provider v7.4.3
7
7
  © 2025 gizmette.com
8
8
  */
9
9
  try {
10
10
  window.__VERSINI_AUTH_CLIENT__ || (window.__VERSINI_AUTH_CLIENT__ = {
11
- version: "7.4.2",
12
- buildTime: "02/09/2025 06:14 PM EST",
11
+ version: "7.4.3",
12
+ buildTime: "02/09/2025 06:40 PM EST",
13
13
  homepage: "https://github.com/aversini/auth-client",
14
14
  license: "MIT"
15
15
  });
@@ -28,10 +28,10 @@ function ve(e) {
28
28
  s[i] = n.charCodeAt(i);
29
29
  return o;
30
30
  }
31
- function tt() {
31
+ function et() {
32
32
  return (window == null ? void 0 : window.PublicKeyCredential) !== void 0 && typeof window.PublicKeyCredential == "function";
33
33
  }
34
- function kt(e) {
34
+ function _t(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 kt(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 ur({ 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 (kt(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 mr {
129
129
  createNewAbortSignal() {
130
130
  if (this.controller) {
131
131
  const r = new Error("Cancelling existing WebAuthn API call for new one");
@@ -141,14 +141,14 @@ 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 At = new mr(), hr = ["cross-platform", "platform"];
145
+ function Rt(e) {
146
+ if (e && !(hr.indexOf(e) < 0))
147
147
  return e;
148
148
  }
149
- async function fr(e) {
149
+ async function pr(e) {
150
150
  var u;
151
- if (!tt())
151
+ if (!et())
152
152
  throw new Error("WebAuthn is not supported in this browser");
153
153
  const t = { publicKey: {
154
154
  ...e,
@@ -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(_t)
161
161
  } };
162
- t.signal = Rt.createNewAbortSignal();
162
+ t.signal = At.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 ur({ error: c, options: t });
168
168
  }
169
169
  if (!r)
170
170
  throw new Error("Registration was not completed");
@@ -176,7 +176,7 @@ async function fr(e) {
176
176
  try {
177
177
  d = o.getPublicKeyAlgorithm();
178
178
  } catch (c) {
179
- Be("getPublicKeyAlgorithm()", c);
179
+ We("getPublicKeyAlgorithm()", c);
180
180
  }
181
181
  let h;
182
182
  if (typeof o.getPublicKey == "function")
@@ -184,14 +184,14 @@ async function fr(e) {
184
184
  const c = o.getPublicKey();
185
185
  c !== null && (h = G(c));
186
186
  } catch (c) {
187
- Be("getPublicKey()", c);
187
+ We("getPublicKey()", c);
188
188
  }
189
189
  let f;
190
190
  if (typeof o.getAuthenticatorData == "function")
191
191
  try {
192
192
  f = G(o.getAuthenticatorData());
193
193
  } catch (c) {
194
- Be("getAuthenticatorData()", c);
194
+ We("getAuthenticatorData()", c);
195
195
  }
196
196
  return {
197
197
  id: a,
@@ -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: Rt(r.authenticatorAttachment)
210
210
  };
211
211
  }
212
- function Be(e, t) {
212
+ function We(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() {
217
- if (!tt())
216
+ function fr() {
217
+ if (!et())
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 gr({ 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 (kt(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 yr(e, t = !1) {
264
264
  var u, c;
265
- if (!tt())
265
+ if (!et())
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(_t));
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 fr())
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 = At.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 gr({ error: m, options: n });
287
287
  }
288
288
  if (!o)
289
289
  throw new Error("Authentication was not completed");
@@ -300,7 +300,7 @@ async function br(e, t = !1) {
300
300
  },
301
301
  type: h,
302
302
  clientExtensionResults: o.getClientExtensionResults(),
303
- authenticatorAttachment: Nt(o.authenticatorAttachment)
303
+ authenticatorAttachment: Rt(o.authenticatorAttachment)
304
304
  };
305
305
  }
306
306
  /*!
@@ -310,7 +310,7 @@ async function br(e, t = !1) {
310
310
  try {
311
311
  window.__VERSINI_AUTH_COMMON__ || (window.__VERSINI_AUTH_COMMON__ = {
312
312
  version: "4.2.0",
313
- buildTime: "02/09/2025 06:14 PM EST",
313
+ buildTime: "02/09/2025 06:40 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
+ }, Nt = {
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
+ }, br = `-----BEGIN PUBLIC KEY-----
342
342
  MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
343
343
  w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
344
344
  i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
@@ -346,20 +346,20 @@ aMwPFOIcJH+rKfFgNcHLcaS5syp7zU1ANwZ+trgR+DifBr8TLVkBynmNeTyhDm2+
346
346
  l0haqjMk0UoNPPE8iYBWUHQJJE1Dqstj65d6Eh5g64Pao25y4cmYJbKjiblIGEkE
347
347
  sjqybA9mARAqh9k/eiIopecWSiffNQTwVQVd2I9ZH3BalhEXHlqFgrjz51kFqg81
348
348
  awIDAQAB
349
- -----END PUBLIC KEY-----`, $e = {
349
+ -----END PUBLIC KEY-----`, Le = {
350
350
  CODE: "code",
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
+ }, $e = crypto, vt = (e) => e instanceof CryptoKey, Ee = new TextEncoder(), ye = new TextDecoder();
355
+ function Er(...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 wr = (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 wr(t);
372
372
  } catch {
373
373
  throw new TypeError("The input to be decoded is not correctly encoded.");
374
374
  }
@@ -386,18 +386,18 @@ let H = class extends P {
386
386
  }
387
387
  };
388
388
  H.code = "ERR_JWT_CLAIM_VALIDATION_FAILED";
389
- class Xe extends P {
389
+ class qe extends P {
390
390
  constructor(t, r, a = "unspecified", n = "unspecified") {
391
391
  super(t, { cause: { claim: a, reason: n, payload: r } }), this.code = "ERR_JWT_EXPIRED", this.claim = a, this.reason = n, this.payload = r;
392
392
  }
393
393
  }
394
- Xe.code = "ERR_JWT_EXPIRED";
395
- class Ct extends P {
394
+ qe.code = "ERR_JWT_EXPIRED";
395
+ class xt 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
+ xt.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";
@@ -410,12 +410,12 @@ class Ir extends P {
410
410
  }
411
411
  }
412
412
  Ir.code = "ERR_JWE_DECRYPTION_FAILED";
413
- class Sr extends P {
413
+ class Tr 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
+ Tr.code = "ERR_JWE_INVALID";
419
419
  let _ = class extends P {
420
420
  constructor() {
421
421
  super(...arguments), this.code = "ERR_JWS_INVALID";
@@ -428,52 +428,52 @@ let J = class extends P {
428
428
  }
429
429
  };
430
430
  J.code = "ERR_JWT_INVALID";
431
- class _r extends P {
431
+ class Sr 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
+ Sr.code = "ERR_JWK_INVALID";
437
+ class _r 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
+ _r.code = "ERR_JWKS_INVALID";
443
+ class kr 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
+ kr.code = "ERR_JWKS_NO_MATCHING_KEY";
449
+ class Ar 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
+ Ar.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
455
+ class Rr 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
+ Rr.code = "ERR_JWKS_TIMEOUT";
461
+ class Ct 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
+ Ct.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
  }
470
470
  function we(e, t) {
471
471
  return e.name === t;
472
472
  }
473
- function Ve(e) {
473
+ function Be(e) {
474
474
  return parseInt(e.name.slice(4), 10);
475
475
  }
476
- function vr(e) {
476
+ function Nr(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 vr(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 xr(e, t, ...r) {
499
499
  switch (t) {
500
500
  case "HS256":
501
501
  case "HS384":
@@ -503,7 +503,7 @@ function Cr(e, t, ...r) {
503
503
  if (!we(e.algorithm, "HMAC"))
504
504
  throw j("HMAC");
505
505
  const a = parseInt(t.slice(2), 10);
506
- if (Ve(e.algorithm.hash) !== a)
506
+ if (Be(e.algorithm.hash) !== a)
507
507
  throw j(`SHA-${a}`, "algorithm.hash");
508
508
  break;
509
509
  }
@@ -513,7 +513,7 @@ function Cr(e, t, ...r) {
513
513
  if (!we(e.algorithm, "RSASSA-PKCS1-v1_5"))
514
514
  throw j("RSASSA-PKCS1-v1_5");
515
515
  const a = parseInt(t.slice(2), 10);
516
- if (Ve(e.algorithm.hash) !== a)
516
+ if (Be(e.algorithm.hash) !== a)
517
517
  throw j(`SHA-${a}`, "algorithm.hash");
518
518
  break;
519
519
  }
@@ -523,7 +523,7 @@ function Cr(e, t, ...r) {
523
523
  if (!we(e.algorithm, "RSA-PSS"))
524
524
  throw j("RSA-PSS");
525
525
  const a = parseInt(t.slice(2), 10);
526
- if (Ve(e.algorithm.hash) !== a)
526
+ if (Be(e.algorithm.hash) !== a)
527
527
  throw j(`SHA-${a}`, "algorithm.hash");
528
528
  break;
529
529
  }
@@ -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 = Nr(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
+ vr(e, r);
549
549
  }
550
- function Pt(e, t, ...r) {
550
+ function Ot(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 st = (e, ...t) => Ot("Key must be ", e, ...t);
559
+ function Pt(e, t, ...r) {
560
+ return Ot(`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 Dt = (e) => vt(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", xe = ["CryptoKey"], Cr = (...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 Or(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 (!Or(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 Pr = (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 Dr(e) {
605
605
  return e.kty !== "oct" && typeof e.d == "string";
606
606
  }
607
- function $r(e) {
607
+ function Lr(e) {
608
608
  return e.kty !== "oct" && typeof e.d > "u";
609
609
  }
610
- function Mr(e) {
610
+ function $r(e) {
611
611
  return pe(e) && e.kty === "oct" && typeof e.k == "string";
612
612
  }
613
- function Ur(e) {
613
+ function Mr(e) {
614
614
  let t, r;
615
615
  switch (e.kty) {
616
616
  case "RSA": {
@@ -682,43 +682,43 @@ function Ur(e) {
682
682
  }
683
683
  return { algorithm: t, keyUsages: r };
684
684
  }
685
- const $t = async (e) => {
685
+ const Lt = 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 } = Mr(e), a = [
689
689
  t,
690
690
  e.ext ?? !1,
691
691
  e.key_ops ?? r
692
692
  ], n = { ...e };
693
- return delete n.alg, delete n.use, Me.subtle.importKey("jwk", n, ...a);
694
- }, Mt = (e) => te(e);
693
+ return delete n.alg, delete n.use, $e.subtle.importKey("jwk", n, ...a);
694
+ }, $t = (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 Mt = (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 Lt({ ...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
+ }, Ur = (e, t) => {
703
+ if (Mt(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 ? $t(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
+ }, Kr = (e, t) => {
709
+ if (Mt(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 ? $t(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
+ }, Hr = { normalizePublicKey: Ur, normalizePrivateKey: Kr }, 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)
718
718
  return !1;
719
719
  const n = e.subarray(a, a + t.length);
720
720
  return n.length !== t.length ? !1 : n.every((o, s) => o === t[s]) || ee(e, t, a + 1);
721
- }, ct = (e) => {
721
+ }, it = (e) => {
722
722
  switch (!0) {
723
723
  case ee(e, [42, 134, 72, 206, 61, 3, 1, 7]):
724
724
  return "P-256";
@@ -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
+ }, Wr = 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) {
@@ -773,24 +773,24 @@ const Ut = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
773
773
  case "ECDH-ES+A128KW":
774
774
  case "ECDH-ES+A192KW":
775
775
  case "ECDH-ES+A256KW": {
776
- const d = ct(i);
776
+ const d = it(i);
777
777
  o = d.startsWith("P-") ? { name: "ECDH", namedCurve: d } : { name: d }, s = [];
778
778
  break;
779
779
  }
780
780
  case "EdDSA":
781
- o = { name: ct(i) }, s = ["verify"];
781
+ o = { name: it(i) }, s = ["verify"];
782
782
  break;
783
783
  default:
784
784
  throw new W('Invalid or unsupported "alg" (Algorithm) value');
785
785
  }
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) {
786
+ return $e.subtle.importKey(t, i, o, !1, s);
787
+ }, Br = (e, t, r) => Wr(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
788
+ async function Vr(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 Br(e, t);
792
792
  }
793
- async function Gr(e, t) {
793
+ async function Jr(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,12 +803,12 @@ 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 Lt({ ...e, alg: t });
807
807
  default:
808
808
  throw new W('Unsupported "kty" (Key Type) Parameter value');
809
809
  }
810
810
  }
811
- const ue = (e) => e == null ? void 0 : e[Symbol.toStringTag], Qe = (e, t, r) => {
811
+ const ue = (e) => e == null ? void 0 : e[Symbol.toStringTag], Xe = (e, t, r) => {
812
812
  var a, n;
813
813
  if (t.use !== void 0 && t.use !== "sig")
814
814
  throw new TypeError("Invalid key for this operation, when present its use must be sig");
@@ -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
+ }, Gr = (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 ($r(t) && Xe(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 (!Dt(t))
828
+ throw new TypeError(Pt(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
+ }, Yr = (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 (Dr(t) && Xe(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 (Lr(t) && Xe(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 (!Dt(t))
845
+ throw new TypeError(Pt(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 Ut(e, t, r, a) {
858
+ t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ? Gr(t, r, a, e) : Yr(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
+ Ut.bind(void 0, !1);
861
+ const ct = Ut.bind(void 0, !0);
862
+ function Fr(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 jr = (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 zr(e, t) {
888
888
  const r = `SHA-${e.slice(-3)}`;
889
889
  switch (e) {
890
890
  case "HS256":
@@ -909,27 +909,27 @@ 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 Hr.normalizePublicKey(t, e), vt(t))
914
+ return xr(t, e, r), t;
915
915
  if (t instanceof Uint8Array) {
916
916
  if (!e.startsWith("HS"))
917
- throw new TypeError(it(t, ...xe));
918
- return Me.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
917
+ throw new TypeError(st(t, ...xe));
918
+ return $e.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
919
919
  }
920
- throw new TypeError(it(t, ...xe, "Uint8Array", "JSON Web Key"));
920
+ throw new TypeError(st(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 Xr = async (e, t, r, a) => {
923
+ const n = await qr(e, t, "verify");
924
+ Pr(e, n);
925
+ const o = zr(e, n.algorithm);
926
926
  try {
927
- return await Me.subtle.verify(o, n, r, a);
927
+ return await $e.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 Qr(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 (!Cr(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 = Fr(_, /* @__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 = jr("algorithms", r.algorithms);
966
966
  if (d && !d.has(i))
967
- throw new Ct('"alg" (Algorithm) Header Parameter value not allowed');
967
+ throw new xt('"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, ct(i, t, "verify"), pe(t) && (t = await Jr(t, i))) : ct(i, t, "verify");
975
+ const f = Er(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 Xr(i, t, u, f))
983
+ throw new Ct();
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 Zr(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 Qr({ 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 ea = (e) => Math.floor(e.getTime() / 1e3), Kt = 60, Ht = Kt * 60, tt = Ht * 24, ta = tt * 7, ra = tt * 365.25, aa = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, lt = (e) => {
1005
+ const t = aa.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,31 +1020,31 @@ 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 * Kt);
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 * Ht);
1031
1031
  break;
1032
1032
  case "day":
1033
1033
  case "days":
1034
1034
  case "d":
1035
- n = Math.round(r * rt);
1035
+ n = Math.round(r * tt);
1036
1036
  break;
1037
1037
  case "week":
1038
1038
  case "weeks":
1039
1039
  case "w":
1040
- n = Math.round(r * ra);
1040
+ n = Math.round(r * ta);
1041
1041
  break;
1042
1042
  default:
1043
- n = Math.round(r * aa);
1043
+ n = Math.round(r * ra);
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
+ }, dt = (e) => e.toLowerCase().replace(/^application\//, ""), na = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1, oa = (e, t, r = {}) => {
1048
1048
  let a;
1049
1049
  try {
1050
1050
  a = JSON.parse(ye.decode(t));
@@ -1053,7 +1053,7 @@ const ta = (e) => Math.floor(e.getTime() / 1e3), Ht = 60, Wt = Ht * 60, rt = Wt
1053
1053
  if (!he(a))
1054
1054
  throw new J("JWT Claims Set must be a top-level JSON object");
1055
1055
  const { typ: n } = r;
1056
- if (n && (typeof e.typ != "string" || ut(e.typ) !== ut(n)))
1056
+ if (n && (typeof e.typ != "string" || dt(e.typ) !== dt(n)))
1057
1057
  throw new H('unexpected "typ" JWT header value', a, "typ", "check_failed");
1058
1058
  const { requiredClaims: o = [], issuer: s, subject: i, audience: d, maxTokenAge: h } = r, f = [...o];
1059
1059
  h !== void 0 && f.push("iat"), d !== void 0 && f.push("aud"), i !== void 0 && f.push("sub"), s !== void 0 && f.push("iss");
@@ -1064,12 +1064,12 @@ 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 && !na(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) {
1071
1071
  case "string":
1072
- u = dt(r.clockTolerance);
1072
+ u = lt(r.clockTolerance);
1073
1073
  break;
1074
1074
  case "number":
1075
1075
  u = 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 = ea(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) {
@@ -1093,27 +1093,27 @@ const ta = (e) => Math.floor(e.getTime() / 1e3), Ht = 60, Wt = Ht * 60, rt = Wt
1093
1093
  if (typeof a.exp != "number")
1094
1094
  throw new H('"exp" claim must be a number', a, "exp", "invalid");
1095
1095
  if (a.exp <= m - u)
1096
- throw new Xe('"exp" claim timestamp check failed', a, "exp", "check_failed");
1096
+ throw new qe('"exp" claim timestamp check failed', a, "exp", "check_failed");
1097
1097
  }
1098
1098
  if (h) {
1099
- const y = m - a.iat, w = typeof h == "number" ? h : dt(h);
1099
+ const y = m - a.iat, w = typeof h == "number" ? h : lt(h);
1100
1100
  if (y - u > w)
1101
- throw new Xe('"iat" claim timestamp check failed (too far in the past)', a, "iat", "check_failed");
1101
+ throw new qe('"iat" claim timestamp check failed (too far in the past)', a, "iat", "check_failed");
1102
1102
  if (y < 0 - u)
1103
1103
  throw new H('"iat" claim timestamp check failed (it should be in the past)', a, "iat", "check_failed");
1104
1104
  }
1105
1105
  return a;
1106
1106
  };
1107
- async function ia(e, t, r) {
1107
+ async function sa(e, t, r) {
1108
1108
  var a;
1109
- const n = await ea(e, t, r);
1109
+ const n = await Zr(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: oa(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 ia = te;
1116
+ function ca(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 = ia(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 Vr(br, t);
1145
+ return await sa(e, r, {
1146
1146
  issuer: N.ISSUER
1147
1147
  });
1148
1148
  } catch {
1149
1149
  return;
1150
1150
  }
1151
- }, da = (e) => {
1151
+ }, la = (e) => {
1152
1152
  try {
1153
- return la(e);
1153
+ return ca(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 da(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
- let Je;
1164
- const ma = new Uint8Array(16);
1165
- function ha() {
1166
- if (!Je) {
1163
+ let Ve;
1164
+ const ua = new Uint8Array(16);
1165
+ function ma() {
1166
+ if (!Ve) {
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
- Je = crypto.getRandomValues.bind(crypto);
1169
+ Ve = crypto.getRandomValues.bind(crypto);
1170
1170
  }
1171
- return Je(ma);
1171
+ return Ve(ua);
1172
1172
  }
1173
- const pa = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), mt = { randomUUID: pa };
1174
- function ht(e, t, r) {
1175
- if (mt.randomUUID && !e)
1176
- return mt.randomUUID();
1173
+ const ha = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ut = { randomUUID: ha };
1174
+ function mt(e, t, r) {
1175
+ if (ut.randomUUID && !e)
1176
+ return ut.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 || ma)();
1179
+ return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, da(a);
1180
1180
  }
1181
- const pt = globalThis.crypto, fa = (e) => `${ht()}${ht()}`.slice(0, e), ga = (e) => btoa(
1181
+ const ht = globalThis.crypto, pa = (e) => `${mt()}${mt()}`.slice(0, e), fa = (e) => btoa(
1182
1182
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
1183
1183
  );
1184
- async function ya(e) {
1185
- if (!pt.subtle)
1184
+ async function ga(e) {
1185
+ if (!ht.subtle)
1186
1186
  throw new Error(
1187
1187
  "crypto.subtle is available only in secure contexts (HTTPS)."
1188
1188
  );
1189
- const t = new TextEncoder().encode(e), r = await pt.subtle.digest("SHA-256", t);
1190
- return ga(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
1189
+ const t = new TextEncoder().encode(e), r = await ht.subtle.digest("SHA-256", t);
1190
+ return fa(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 ya(e) {
1193
+ const t = pa(43), r = await ga(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 Wt(e, t) {
1200
1200
  window.dispatchEvent(new StorageEvent("storage", { key: e, newValue: t }));
1201
1201
  }
1202
- const ft = (e, t) => {
1202
+ const pt = (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));
1210
- function Te({
1206
+ window.localStorage.setItem(e, r), Wt(e, r);
1207
+ }, ba = (e) => {
1208
+ window.localStorage.removeItem(e), Wt(e, null);
1209
+ }, ft = (e) => window.localStorage.getItem(e), Ea = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
1210
+ function Ie({
1211
1211
  key: e,
1212
1212
  initialValue: t
1213
1213
  }) {
1214
- const r = ir(wa, () => gt(e)), a = q(
1214
+ const r = sr(Ea, () => ft(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 ? ba(e) : pt(e, i);
1219
1219
  } catch (i) {
1220
1220
  console.warn(i);
1221
1221
  }
@@ -1228,7 +1228,7 @@ function Te({
1228
1228
  }, [a]);
1229
1229
  return Y(() => {
1230
1230
  try {
1231
- gt(e) === null && typeof t < "u" && ft(e, t);
1231
+ ft(e) === null && typeof t < "u" && pt(e, t);
1232
1232
  } catch (s) {
1233
1233
  console.warn(s);
1234
1234
  }
@@ -1237,28 +1237,28 @@ 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 wa(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
- let Ge;
1243
+ let Je;
1244
1244
  const Ia = new Uint8Array(16);
1245
- function Sa() {
1246
- if (!Ge) {
1245
+ function Ta() {
1246
+ if (!Je) {
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
- Ge = crypto.getRandomValues.bind(crypto);
1249
+ Je = crypto.getRandomValues.bind(crypto);
1250
1250
  }
1251
- return Ge(Ia);
1251
+ return Je(Ia);
1252
1252
  }
1253
- const _a = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), yt = { randomUUID: _a };
1254
- function Ye(e, t, r) {
1255
- if (yt.randomUUID && !e)
1256
- return yt.randomUUID();
1253
+ const Sa = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), gt = { randomUUID: Sa };
1254
+ function Ge(e, t, r) {
1255
+ if (gt.randomUUID && !e)
1256
+ return gt.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 || Ta)();
1259
+ return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, wa(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>.", Ie = "@@auth@@", fe = "LOADING", ke = "LOGIN", Vt = "LOGOUT", be = "success", F = "failure", Jt = "include", Gt = "POST", Yt = "application/json", Se = {
1261
+ const ie = "Your session has expired. For your security, please log in again to continue.", _a = "Your session has been successfully terminated.", Ye = "Login failed. Please try again.", ka = "Error getting access token, please re-authenticate.", Aa = "You forgot to wrap your component in <AuthProvider>.", Te = "@@auth@@", fe = "LOADING", ke = "LOGIN", Bt = "LOGOUT", be = "success", F = "failure", Vt = "include", Jt = "POST", Gt = "application/json", Se = {
1262
1262
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
1263
1263
  $clientId: String!,
1264
1264
  $username: String!,
@@ -1363,22 +1363,19 @@ const ie = "Your session has expired. For your security, please log in again to
1363
1363
  params: a = {}
1364
1364
  }) => {
1365
1365
  try {
1366
- const n = `Bearer ${e}`, o = await fetch(
1367
- Ft ? `${Oe.dev}/graphql` : `${Oe.prod}/graphql`,
1368
- {
1369
- credentials: Jt,
1370
- method: Gt,
1371
- headers: {
1372
- authorization: n,
1373
- "Content-Type": Yt,
1374
- [vt.CLIENT_ID]: `${r}`
1375
- },
1376
- body: JSON.stringify({
1377
- query: t.schema,
1378
- variables: a
1379
- })
1380
- }
1381
- );
1366
+ const n = `Bearer ${e}`, o = await fetch(`${Yt()}/graphql`, {
1367
+ credentials: Vt,
1368
+ method: Jt,
1369
+ headers: {
1370
+ authorization: n,
1371
+ "Content-Type": Gt,
1372
+ [Nt.CLIENT_ID]: `${r}`
1373
+ },
1374
+ body: JSON.stringify({
1375
+ query: t.schema,
1376
+ variables: a
1377
+ })
1378
+ });
1382
1379
  if (o.status !== 200)
1383
1380
  return { status: F, data: [] };
1384
1381
  const { data: s } = await o.json();
@@ -1389,24 +1386,21 @@ const ie = "Your session has expired. For your security, please log in again to
1389
1386
  } catch (n) {
1390
1387
  return console.error(n), { status: F, data: [] };
1391
1388
  }
1392
- }, Ue = async ({
1389
+ }, Me = async ({
1393
1390
  type: e,
1394
1391
  clientId: t,
1395
1392
  params: r = {}
1396
1393
  }) => {
1397
1394
  try {
1398
- const a = await fetch(
1399
- Ft ? `${Oe.dev}/${e}` : `${Oe.prod}/${e}`,
1400
- {
1401
- credentials: Jt,
1402
- method: Gt,
1403
- headers: {
1404
- "Content-Type": Yt,
1405
- [vt.CLIENT_ID]: `${t}`
1406
- },
1407
- body: JSON.stringify(r)
1408
- }
1409
- );
1395
+ const a = await fetch(`${Yt()}/${e}`, {
1396
+ credentials: Vt,
1397
+ method: Jt,
1398
+ headers: {
1399
+ "Content-Type": Gt,
1400
+ [Nt.CLIENT_ID]: `${t}`
1401
+ },
1402
+ body: JSON.stringify(r)
1403
+ });
1410
1404
  if (a.status !== 200)
1411
1405
  return { status: F, data: [] };
1412
1406
  const { data: n } = await a.json();
@@ -1417,10 +1411,10 @@ const ie = "Your session has expired. For your security, please log in again to
1417
1411
  } catch (a) {
1418
1412
  return console.error(a), { status: F, data: [] };
1419
1413
  }
1420
- }, Na = process.env.NODE_ENV === "production", Ft = !Na, Oe = {
1421
- dev: process.env.PUBLIC_AUTH_SERVER_URL || "https://auth.gizmette.local.com:3003",
1422
- prod: "https://mylogin.gizmette.com/auth"
1423
- }, jt = {
1414
+ }, Ra = process.env.NODE_ENV === "production", Na = !Ra, Yt = () => {
1415
+ var e, t;
1416
+ return Na ? process && ((e = process == null ? void 0 : process.env) != null && e.PUBLIC_AUTH_SERVER_URL) ? (t = process == null ? void 0 : process.env) == null ? void 0 : t.PUBLIC_AUTH_SERVER_URL : "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth";
1417
+ }, Ft = {
1424
1418
  isLoading: !0,
1425
1419
  isAuthenticated: !1,
1426
1420
  user: void 0,
@@ -1429,7 +1423,7 @@ const ie = "Your session has expired. For your security, please log in again to
1429
1423
  authenticationType: ""
1430
1424
  }, va = (e) => {
1431
1425
  try {
1432
- const t = da(e);
1426
+ const t = la(e);
1433
1427
  return t ? t[N.USER_ID_KEY] : "";
1434
1428
  } catch {
1435
1429
  return "";
@@ -1443,8 +1437,8 @@ const ie = "Your session has expired. For your security, please log in again to
1443
1437
  var n;
1444
1438
  try {
1445
1439
  return {
1446
- status: ((n = await Ue({
1447
- type: $e.LOGOUT,
1440
+ status: ((n = await Me({
1441
+ type: Le.LOGOUT,
1448
1442
  clientId: t,
1449
1443
  params: {
1450
1444
  userId: e,
@@ -1472,8 +1466,8 @@ const ie = "Your session has expired. For your security, please log in again to
1472
1466
  }) => {
1473
1467
  var f;
1474
1468
  try {
1475
- const u = await Ue({
1476
- type: $e.LOGIN,
1469
+ const u = await Me({
1470
+ type: Le.LOGIN,
1477
1471
  clientId: r,
1478
1472
  params: {
1479
1473
  type: n || me.ID_AND_ACCESS_TOKEN,
@@ -1509,8 +1503,8 @@ const ie = "Your session has expired. For your security, please log in again to
1509
1503
  }) => {
1510
1504
  var a;
1511
1505
  try {
1512
- const n = await Ue({
1513
- type: $e.CODE,
1506
+ const n = await Me({
1507
+ type: Le.CODE,
1514
1508
  clientId: t,
1515
1509
  params: {
1516
1510
  type: me.CODE,
@@ -1541,8 +1535,8 @@ const ie = "Your session has expired. For your security, please log in again to
1541
1535
  }) => {
1542
1536
  var s;
1543
1537
  try {
1544
- const i = await Ue({
1545
- type: $e.REFRESH,
1538
+ const i = await Me({
1539
+ type: Le.REFRESH,
1546
1540
  clientId: e,
1547
1541
  params: {
1548
1542
  type: me.REFRESH_TOKEN,
@@ -1569,7 +1563,7 @@ const ie = "Your session has expired. For your security, please log in again to
1569
1563
  };
1570
1564
  class Da {
1571
1565
  constructor(t = null, r = null) {
1572
- We(this, "refreshTokenPromise", null), We(this, "accessToken"), We(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
1566
+ He(this, "refreshTokenPromise", null), He(this, "accessToken"), He(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
1573
1567
  }
1574
1568
  async refreshtoken({
1575
1569
  clientId: t,
@@ -1624,8 +1618,8 @@ const La = (e) => q(
1624
1618
  },
1625
1619
  [e]
1626
1620
  ), de = () => {
1627
- throw new Error(Ra);
1628
- }, zt = sr({
1621
+ throw new Error(Aa);
1622
+ }, jt = or({
1629
1623
  isAuthenticated: !1,
1630
1624
  isLoading: !1,
1631
1625
  login: de,
@@ -1637,7 +1631,7 @@ const La = (e) => q(
1637
1631
  logoutReason: "",
1638
1632
  authenticationType: ""
1639
1633
  }), $a = X.createContext({
1640
- state: jt,
1634
+ state: Ft,
1641
1635
  dispatch: () => {
1642
1636
  }
1643
1637
  }), Ma = (e, t) => (t == null ? void 0 : t.type) === fe ? {
@@ -1650,7 +1644,7 @@ const La = (e) => q(
1650
1644
  user: t.payload.user,
1651
1645
  authenticationType: t.payload.authenticationType,
1652
1646
  logoutReason: ""
1653
- } : (t == null ? void 0 : t.type) === Vt ? {
1647
+ } : (t == null ? void 0 : t.type) === Bt ? {
1654
1648
  ...e,
1655
1649
  isLoading: !1,
1656
1650
  isAuthenticated: !1,
@@ -1665,18 +1659,18 @@ const La = (e) => q(
1665
1659
  debug: n = !1
1666
1660
  }) => {
1667
1661
  const [o, s] = It(Ma, {
1668
- ...jt,
1662
+ ...Ft,
1669
1663
  debug: n
1670
- }), i = La(n), d = x(!1), [h, f, , u] = Te({
1671
- key: `${Ie}::${r}::@@user@@`
1672
- }), [c, m, , y] = Te({
1673
- key: `${Ie}::${r}::@@access@@`
1674
- }), [w, T, , k] = Te(
1664
+ }), i = La(n), d = x(!1), [h, f, , u] = Ie({
1665
+ key: `${Te}::${r}::@@user@@`
1666
+ }), [c, m, , y] = Ie({
1667
+ key: `${Te}::${r}::@@access@@`
1668
+ }), [w, I, , k] = Ie(
1675
1669
  {
1676
- key: `${Ie}::${r}::@@refresh@@`
1670
+ key: `${Te}::${r}::@@refresh@@`
1677
1671
  }
1678
- ), [Q, L, , Z] = Te({
1679
- key: `${Ie}::${r}::@@nonce@@`
1672
+ ), [Q, L, , Z] = Ie({
1673
+ key: `${Te}::${r}::@@nonce@@`
1680
1674
  }), $ = new Da(c, w), B = q(() => {
1681
1675
  i("removeLocalStorage: removing local storage"), u(), y(), k(), Z();
1682
1676
  }, [
@@ -1691,7 +1685,7 @@ const La = (e) => q(
1691
1685
  "removeStateAndLocalStorage: removing state and local storage with reason: ",
1692
1686
  g
1693
1687
  ), s({
1694
- type: Vt,
1688
+ type: Bt,
1695
1689
  payload: {
1696
1690
  logoutReason: g || ie
1697
1691
  }
@@ -1740,14 +1734,14 @@ const La = (e) => q(
1740
1734
  }, [o.isLoading, h, S, i]);
1741
1735
  const M = async (g, E) => {
1742
1736
  s({ type: fe, payload: { isLoading: !0 } }), B();
1743
- const b = Ye();
1737
+ const b = Ge();
1744
1738
  L(b), i("login: Logging in with password");
1745
- const { code_verifier: ae, code_challenge: or } = await ba(), st = await Oa({
1739
+ const { code_verifier: ae, code_challenge: nr } = await ya(), ot = await Oa({
1746
1740
  nonce: b,
1747
1741
  clientId: r,
1748
- code_challenge: or
1742
+ code_challenge: nr
1749
1743
  });
1750
- if (st.status) {
1744
+ if (ot.status) {
1751
1745
  const ne = await Ca({
1752
1746
  username: g,
1753
1747
  password: E,
@@ -1755,12 +1749,12 @@ const La = (e) => q(
1755
1749
  sessionExpiration: t,
1756
1750
  nonce: b,
1757
1751
  type: me.CODE,
1758
- code: st.data,
1752
+ code: ot.data,
1759
1753
  code_verifier: ae,
1760
1754
  domain: a,
1761
1755
  ua: navigator.userAgent
1762
1756
  });
1763
- return ne.status ? (f(ne.idToken), m(ne.accessToken), T(ne.refreshToken), s({
1757
+ return ne.status ? (f(ne.idToken), m(ne.accessToken), I(ne.refreshToken), s({
1764
1758
  type: ke,
1765
1759
  payload: {
1766
1760
  authenticationType: me.CODE,
@@ -1770,12 +1764,12 @@ const La = (e) => q(
1770
1764
  email: ne.email
1771
1765
  }
1772
1766
  }
1773
- }), !0) : (U(Fe), !1);
1767
+ }), !0) : (U(Ye), !1);
1774
1768
  }
1775
1769
  return !1;
1776
1770
  }, K = async (g) => {
1777
- g == null || g.preventDefault(), await S(ka);
1778
- }, I = async () => {
1771
+ g == null || g.preventDefault(), await S(_a);
1772
+ }, T = async () => {
1779
1773
  const { isAuthenticated: g, user: E } = o;
1780
1774
  try {
1781
1775
  if (g && E && E.userId) {
@@ -1792,7 +1786,7 @@ const La = (e) => q(
1792
1786
  nonce: Q,
1793
1787
  domain: a
1794
1788
  });
1795
- return b.status && b.status === "success" && b.newAccessToken ? (m(b.newAccessToken), T(b.newRefreshToken), b.newAccessToken) : (i(
1789
+ return b.status && b.status === "success" && b.newAccessToken ? (m(b.newAccessToken), I(b.newRefreshToken), b.newAccessToken) : (i(
1796
1790
  "getAccessToken: invalid refresh token, need to re-authenticate"
1797
1791
  ), await S(ie), "");
1798
1792
  }
@@ -1802,7 +1796,7 @@ const La = (e) => q(
1802
1796
  } catch {
1803
1797
  return i(
1804
1798
  "getAccessToken: exception occurred, invalidating and logging out"
1805
- ), await S(Aa), "";
1799
+ ), await S(ka), "";
1806
1800
  }
1807
1801
  }, C = () => o.isAuthenticated && h ? h : "", O = async () => {
1808
1802
  const { user: g } = o;
@@ -1818,7 +1812,7 @@ const La = (e) => q(
1818
1812
  });
1819
1813
  if (E.status)
1820
1814
  try {
1821
- const b = await fr(E.data);
1815
+ const b = await pr(E.data);
1822
1816
  return E = await le({
1823
1817
  accessToken: c,
1824
1818
  clientId: r,
@@ -1846,9 +1840,9 @@ const La = (e) => q(
1846
1840
  return !1;
1847
1841
  }, V = async () => {
1848
1842
  s({ type: fe, payload: { isLoading: !0 } }), B();
1849
- const g = Ye();
1843
+ const g = Ge();
1850
1844
  L(g), i("loginWithPasskey");
1851
- const E = Ye();
1845
+ const E = Ge();
1852
1846
  let b = await le({
1853
1847
  accessToken: c,
1854
1848
  clientId: r,
@@ -1860,7 +1854,7 @@ const La = (e) => q(
1860
1854
  });
1861
1855
  if (b.status)
1862
1856
  try {
1863
- const ae = await br(b.data);
1857
+ const ae = await yr(b.data);
1864
1858
  return b = await le({
1865
1859
  accessToken: c,
1866
1860
  clientId: r,
@@ -1874,7 +1868,7 @@ const La = (e) => q(
1874
1868
  sessionExpiration: t,
1875
1869
  ua: navigator.userAgent
1876
1870
  }
1877
- }), b.data.status === be ? (f(b.data.idToken), m(b.data.accessToken), T(b.data.refreshToken), s({
1871
+ }), b.data.status === be ? (f(b.data.idToken), m(b.data.accessToken), I(b.data.refreshToken), s({
1878
1872
  type: ke,
1879
1873
  payload: {
1880
1874
  authenticationType: me.PASSKEY,
@@ -1884,7 +1878,7 @@ const La = (e) => q(
1884
1878
  email: b.data.email
1885
1879
  }
1886
1880
  }
1887
- }), !0) : (U(Fe), !1);
1881
+ }), !0) : (U(Ye), !1);
1888
1882
  } catch {
1889
1883
  return await le({
1890
1884
  accessToken: c,
@@ -1898,18 +1892,18 @@ const La = (e) => q(
1898
1892
  domain: a,
1899
1893
  sessionExpiration: t
1900
1894
  }
1901
- }), U(Fe), !1;
1895
+ }), U(Ye), !1;
1902
1896
  }
1903
1897
  return !1;
1904
1898
  };
1905
1899
  return /* @__PURE__ */ l($a.Provider, { value: { state: o, dispatch: s }, children: /* @__PURE__ */ l(
1906
- zt.Provider,
1900
+ jt.Provider,
1907
1901
  {
1908
1902
  value: {
1909
1903
  ...o,
1910
1904
  login: M,
1911
1905
  logout: K,
1912
- getAccessToken: I,
1906
+ getAccessToken: T,
1913
1907
  getIdToken: C,
1914
1908
  registeringForPasskey: O,
1915
1909
  loginWithPasskey: V
@@ -1917,7 +1911,7 @@ const La = (e) => q(
1917
1911
  children: e
1918
1912
  }
1919
1913
  ) });
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;
1914
+ }, zt = (e = jt) => Tt(e), wo = "user", Io = "assistant", To = "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", yt = (e) => Number.isFinite(e) ? e : 0;
1921
1915
  function Ha(e) {
1922
1916
  return {
1923
1917
  days: Math.trunc(e / 864e5),
@@ -1925,8 +1919,8 @@ function Ha(e) {
1925
1919
  minutes: Math.trunc(e / 6e4 % 60),
1926
1920
  seconds: Math.trunc(e / 1e3 % 60),
1927
1921
  milliseconds: Math.trunc(e % 1e3),
1928
- microseconds: Math.trunc(bt(e * 1e3) % 1e3),
1929
- nanoseconds: Math.trunc(bt(e * 1e6) % 1e3)
1922
+ microseconds: Math.trunc(yt(e * 1e3) % 1e3),
1923
+ nanoseconds: Math.trunc(yt(e * 1e6) % 1e3)
1930
1924
  };
1931
1925
  }
1932
1926
  function Wa(e) {
@@ -1980,7 +1974,7 @@ function Fa(e, t) {
1980
1974
  if (s(f, "second", "s"), t.formatSubMilliseconds)
1981
1975
  s(u, "millisecond", "ms"), s(c, "microsecond", "µs"), s(m, "nanosecond", "ns");
1982
1976
  else {
1983
- const y = u + c / 1e3 + m / 1e6, w = typeof t.millisecondsDecimalDigits == "number" ? t.millisecondsDecimalDigits : 0, T = y >= 1 ? Math.round(y) : Math.ceil(y), k = w ? y.toFixed(w) : T;
1977
+ const y = u + c / 1e3 + m / 1e6, w = typeof t.millisecondsDecimalDigits == "number" ? t.millisecondsDecimalDigits : 0, I = y >= 1 ? Math.round(y) : Math.ceil(y), k = w ? y.toFixed(w) : I;
1984
1978
  s(
1985
1979
  Number.parseFloat(k),
1986
1980
  "millisecond",
@@ -2074,7 +2068,7 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2074
2068
  }, Za = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), en = () => window.innerWidth < 403, qo = () => {
2075
2069
  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
2070
  return e && t && r && a;
2077
- }, Et = "av-button", Ke = "icon", at = "button", Ze = "link", tn = ({
2071
+ }, bt = "av-button", Ue = "icon", rt = "button", Qe = "link", tn = ({
2078
2072
  type: e,
2079
2073
  size: t,
2080
2074
  labelRight: r,
@@ -2084,14 +2078,14 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2084
2078
  }) => {
2085
2079
  const s = "max-h-8 py-0 px-2", i = "max-h-9 h-8 px-3", d = "max-h-12 py-2 px-4";
2086
2080
  switch (e) {
2087
- case at:
2088
- case Ze:
2081
+ case rt:
2082
+ case Qe:
2089
2083
  return p({
2090
2084
  [s]: t === "small",
2091
2085
  [i]: t === "medium",
2092
2086
  [d]: t === "large"
2093
2087
  });
2094
- case Ke:
2088
+ case Ue:
2095
2089
  return p("flex items-center", {
2096
2090
  "justify-center": n === "center",
2097
2091
  "justify-start": n === "left",
@@ -2118,15 +2112,15 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2118
2112
  }) => {
2119
2113
  const n = "text-sm font-medium", o = "text-base font-medium", s = "text-lg font-medium";
2120
2114
  switch (e) {
2121
- case at:
2122
- case Ze:
2115
+ case rt:
2116
+ case Qe:
2123
2117
  return p({
2124
- "text-center": e === Ze,
2118
+ "text-center": e === Qe,
2125
2119
  [n]: t === "small",
2126
2120
  [o]: t === "medium",
2127
2121
  [s]: t === "large"
2128
2122
  });
2129
- case Ke:
2123
+ case Ue:
2130
2124
  return p({
2131
2125
  [n]: t === "small" && (r || a),
2132
2126
  [o]: t === "medium" && (r || a),
@@ -2318,7 +2312,7 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2318
2312
  animated: e
2319
2313
  }) => p({
2320
2314
  "transition-opacity duration-300 ease-in": e
2321
- }), Xt = ({
2315
+ }), qt = ({
2322
2316
  type: e,
2323
2317
  className: t,
2324
2318
  raw: r,
@@ -2335,9 +2329,9 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2335
2329
  noTruncate: m,
2336
2330
  align: y,
2337
2331
  radius: w,
2338
- animated: T
2339
- }) => (c || (c = "primary"), r ? p(Et, t) : p(
2340
- Et,
2332
+ animated: I
2333
+ }) => (c || (c = "primary"), r ? p(bt, t) : p(
2334
+ bt,
2341
2335
  an({
2342
2336
  mode: a,
2343
2337
  variant: c,
@@ -2352,7 +2346,7 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2352
2346
  labelRight: h,
2353
2347
  labelLeft: f,
2354
2348
  align: y,
2355
- animated: T
2349
+ animated: I
2356
2350
  }),
2357
2351
  rn({ type: e, size: i, labelRight: h, labelLeft: f }),
2358
2352
  ln({ mode: a, variant: c, noBorder: d }),
@@ -2364,13 +2358,13 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2364
2358
  "disabled:cursor-not-allowed disabled:opacity-50": o
2365
2359
  },
2366
2360
  p({
2367
- "transition-[width] duration-300 ease-in-out": e === Ke && T
2361
+ "transition-[width] duration-300 ease-in-out": e === Ue && I
2368
2362
  }),
2369
2363
  t
2370
2364
  )), hn = (e, t, r) => {
2371
2365
  var a;
2372
2366
  !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
- }, nt = X.forwardRef((e, t) => {
2367
+ }, at = X.forwardRef((e, t) => {
2374
2368
  const { onClick: r, noInternalClick: a = !1, ...n } = e;
2375
2369
  return /* @__PURE__ */ l(
2376
2370
  "button",
@@ -2383,8 +2377,8 @@ const ja = process.env.NODE_ENV === "production", za = !ja, qa = za ? "gizmette.
2383
2377
  }
2384
2378
  );
2385
2379
  });
2386
- nt.displayName = "BaseButton";
2387
- const Qt = X.forwardRef(
2380
+ at.displayName = "BaseButton";
2381
+ const Xt = X.forwardRef(
2388
2382
  ({
2389
2383
  children: e,
2390
2384
  disabled: t = !1,
@@ -2400,8 +2394,8 @@ const Qt = X.forwardRef(
2400
2394
  radius: u = "large",
2401
2395
  ...c
2402
2396
  }, m) => {
2403
- const y = Xt({
2404
- type: at,
2397
+ const y = qt({
2398
+ type: rt,
2405
2399
  mode: r,
2406
2400
  focusMode: a,
2407
2401
  fullWidth: n,
@@ -2415,7 +2409,7 @@ const Qt = X.forwardRef(
2415
2409
  radius: u
2416
2410
  });
2417
2411
  return /* @__PURE__ */ l(
2418
- nt,
2412
+ at,
2419
2413
  {
2420
2414
  ref: m,
2421
2415
  className: y,
@@ -2426,7 +2420,7 @@ const Qt = X.forwardRef(
2426
2420
  );
2427
2421
  }
2428
2422
  );
2429
- Qt.displayName = "Button";
2423
+ Xt.displayName = "Button";
2430
2424
  function pn() {
2431
2425
  const e = x(!1);
2432
2426
  return Y(() => (e.current = !0, () => {
@@ -2434,7 +2428,7 @@ function pn() {
2434
2428
  }), []), q(() => e.current, []);
2435
2429
  }
2436
2430
  function fn(e) {
2437
- return Le(() => e.every((t) => t == null) ? () => {
2431
+ return De(() => e.every((t) => t == null) ? () => {
2438
2432
  } : (t) => {
2439
2433
  e.forEach((r) => {
2440
2434
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -2451,8 +2445,8 @@ const gn = {
2451
2445
  bottom: 0,
2452
2446
  right: 0
2453
2447
  };
2454
- 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) => {
2448
+ function Fe(e) {
2449
+ const t = pn(), r = x(0), a = x(null), [n, o] = z(gn), s = De(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
2456
2450
  const d = i[0];
2457
2451
  d && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
2458
2452
  a.current && t() && o(d.contentRect);
@@ -2476,7 +2470,7 @@ const yn = {
2476
2470
  // px-3 x 2
2477
2471
  large: 16 * 2
2478
2472
  // px-4 x 2
2479
- }, En = 2, Pe = X.forwardRef(
2473
+ }, En = 2, Oe = X.forwardRef(
2480
2474
  ({
2481
2475
  children: e,
2482
2476
  disabled: t = !1,
@@ -2494,14 +2488,14 @@ const yn = {
2494
2488
  labelLeft: m,
2495
2489
  noBackground: y = !1,
2496
2490
  align: w = "center",
2497
- radius: T = "large",
2491
+ radius: I = "large",
2498
2492
  variant: k = "primary",
2499
2493
  iconClassName: Q,
2500
2494
  animated: L = !1,
2501
2495
  ...Z
2502
2496
  }, $) => {
2503
- const B = Xt({
2504
- type: Ke,
2497
+ const B = qt({
2498
+ type: Ue,
2505
2499
  mode: r,
2506
2500
  focusMode: a,
2507
2501
  fullWidth: n,
@@ -2514,25 +2508,25 @@ const yn = {
2514
2508
  labelLeft: m,
2515
2509
  noBackground: y,
2516
2510
  align: w,
2517
- radius: T,
2511
+ radius: I,
2518
2512
  variant: k,
2519
2513
  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]);
2514
+ }), U = un({ mode: r, raw: i, iconClassName: Q }), S = mn({ animated: L }), [M, K] = Fe(), [T, C] = Fe(), [O, V] = Fe(), g = x(0), E = x(null), b = fn([$, E]);
2521
2515
  return Ne(() => {
2522
2516
  O && O.current && L && (g.current = V.width + bn[u] + (d ? 0 : En));
2523
2517
  }, [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`));
2518
+ 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 ? (T.current && (T.current.style.opacity = "100"), E.current.style.width = `${C.width + g.current}px`) : (M.current && (M.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"), E.current.style.width = `${yn[u]}px`));
2525
2519
  }, [
2526
2520
  K,
2527
2521
  c,
2528
2522
  M,
2529
2523
  C,
2530
2524
  m,
2531
- I,
2525
+ T,
2532
2526
  u,
2533
2527
  L
2534
2528
  ]), /* @__PURE__ */ D(
2535
- nt,
2529
+ at,
2536
2530
  {
2537
2531
  ref: b,
2538
2532
  className: B,
@@ -2542,17 +2536,17 @@ const yn = {
2542
2536
  ...Z,
2543
2537
  children: [
2544
2538
  /* @__PURE__ */ l(
2545
- wt,
2539
+ Et,
2546
2540
  {
2547
2541
  label: m,
2548
- labelRef: I,
2542
+ labelRef: T,
2549
2543
  labelClass: S,
2550
2544
  labelInnerClass: "pr-2"
2551
2545
  }
2552
2546
  ),
2553
2547
  /* @__PURE__ */ l("span", { ref: O, className: U, children: e }),
2554
2548
  /* @__PURE__ */ l(
2555
- wt,
2549
+ Et,
2556
2550
  {
2557
2551
  label: c,
2558
2552
  labelRef: M,
@@ -2564,13 +2558,13 @@ const yn = {
2564
2558
  }
2565
2559
  );
2566
2560
  }
2567
- ), wt = ({
2561
+ ), Et = ({
2568
2562
  labelRef: e,
2569
2563
  labelClass: t,
2570
2564
  label: r,
2571
2565
  labelInnerClass: a
2572
2566
  }) => /* @__PURE__ */ l("span", { ref: e, className: t, children: r && /* @__PURE__ */ l("span", { className: a, children: r }) });
2573
- Pe.displayName = "ButtonIcon";
2567
+ Oe.displayName = "ButtonIcon";
2574
2568
  /*!
2575
2569
  @versini/ui-button v4.2.4
2576
2570
  © 2025 gizmette.com
@@ -2610,7 +2604,7 @@ const wn = X.forwardRef(
2610
2604
  }
2611
2605
  ) : "";
2612
2606
  return /* @__PURE__ */ l("div", { className: s, children: /* @__PURE__ */ l(
2613
- Pe,
2607
+ Oe,
2614
2608
  {
2615
2609
  className: p("justify-center", r),
2616
2610
  ref: o,
@@ -2637,11 +2631,11 @@ try {
2637
2631
  } catch {
2638
2632
  }
2639
2633
  const Ae = "av-card";
2640
- function Tn(e) {
2641
- const t = _t();
2634
+ function In(e) {
2635
+ const t = St();
2642
2636
  return `${e}${t}`;
2643
2637
  }
2644
- const In = ({
2638
+ const Tn = ({
2645
2639
  className: e,
2646
2640
  headerClassName: t,
2647
2641
  bodyClassName: r,
@@ -2704,7 +2698,7 @@ const _n = ({
2704
2698
  ...u
2705
2699
  }) => {
2706
2700
  let c = null, m = null;
2707
- const y = typeof e == "string", w = Tn(Ae), T = In({
2701
+ const y = typeof e == "string", w = In(Ae), I = Tn({
2708
2702
  className: o,
2709
2703
  headerClassName: t,
2710
2704
  bodyClassName: s,
@@ -2713,13 +2707,13 @@ const _n = ({
2713
2707
  compact: h,
2714
2708
  noBorder: f
2715
2709
  });
2716
- return y ? (c = w, m = c) : !y && e && i ? (c = null, m = i) : !y && e && !i ? (c = w, m = c) : (c = null, m = i || null), /* @__PURE__ */ l("div", { className: T.wrapper, children: /* @__PURE__ */ D(
2710
+ return y ? (c = w, m = c) : !y && e && i ? (c = null, m = i) : !y && e && !i ? (c = w, m = c) : (c = null, m = i || null), /* @__PURE__ */ l("div", { className: I.wrapper, children: /* @__PURE__ */ D(
2717
2711
  "section",
2718
2712
  {
2719
2713
  ...m && {
2720
2714
  "aria-labelledby": m
2721
2715
  },
2722
- className: T.body,
2716
+ className: I.body,
2723
2717
  ...u,
2724
2718
  children: [
2725
2719
  /* @__PURE__ */ l(
@@ -2727,16 +2721,16 @@ const _n = ({
2727
2721
  {
2728
2722
  ...c && { id: c },
2729
2723
  content: e,
2730
- className: T.header,
2724
+ className: I.header,
2731
2725
  userAriaLabelledby: i
2732
2726
  }
2733
2727
  ),
2734
2728
  /* @__PURE__ */ l("div", { children: n }),
2735
- r ? /* @__PURE__ */ l("div", { className: T.footer, children: r }) : null
2729
+ r ? /* @__PURE__ */ l("div", { className: I.footer, children: r }) : null
2736
2730
  ]
2737
2731
  }
2738
2732
  ) });
2739
- }, He = ({
2733
+ }, Ke = ({
2740
2734
  children: e,
2741
2735
  fill: t,
2742
2736
  viewBox: r,
@@ -2786,7 +2780,7 @@ const kn = ({
2786
2780
  monotone: a,
2787
2781
  ...n
2788
2782
  }) => /* @__PURE__ */ l(
2789
- He,
2783
+ Ke,
2790
2784
  {
2791
2785
  defaultViewBox: "0 0 1200 500",
2792
2786
  size: "w-full",
@@ -2803,7 +2797,7 @@ const kn = ({
2803
2797
  monotone: a,
2804
2798
  ...n
2805
2799
  }) => /* @__PURE__ */ D(
2806
- He,
2800
+ Ke,
2807
2801
  {
2808
2802
  defaultViewBox: "0 0 640 512",
2809
2803
  size: "size-5",
@@ -2831,7 +2825,7 @@ const kn = ({
2831
2825
  }) => {
2832
2826
  const o = a ? "1" : "0.4";
2833
2827
  return /* @__PURE__ */ D(
2834
- He,
2828
+ Ke,
2835
2829
  {
2836
2830
  defaultViewBox: "0 0 190 190",
2837
2831
  size: "size-5",
@@ -2865,7 +2859,7 @@ const kn = ({
2865
2859
  monotone: a,
2866
2860
  ...n
2867
2861
  }) => /* @__PURE__ */ D(
2868
- He,
2862
+ Ke,
2869
2863
  {
2870
2864
  defaultViewBox: "0 0 576 512",
2871
2865
  size: "size-5",
@@ -2928,7 +2922,7 @@ const vn = "av-main", xn = ({
2928
2922
  t
2929
2923
  );
2930
2924
  return /* @__PURE__ */ l("main", { className: o, children: e });
2931
- }, Cn = "av-flexgrid", _e = "av-flexgrid-item", De = 0.25, et = X.createContext({
2925
+ }, Cn = "av-flexgrid", _e = "av-flexgrid-item", Pe = 0.25, Ze = X.createContext({
2932
2926
  columnGap: 0,
2933
2927
  rowGap: 0
2934
2928
  }), On = ({
@@ -2954,14 +2948,14 @@ const vn = "av-main", xn = ({
2954
2948
  * by the columnGap and rowGap that will be applied
2955
2949
  * to all FlexgridItems (see context and paddings).
2956
2950
  */
2957
- marginLeft: r * -1 * De + "rem",
2958
- marginTop: a * -1 * De + "rem"
2951
+ marginLeft: r * -1 * Pe + "rem",
2952
+ marginTop: a * -1 * Pe + "rem"
2959
2953
  }, u = p(
2960
2954
  Cn,
2961
2955
  "box-border flex flex-wrap"
2962
2956
  ), c = { columnGap: r, rowGap: a };
2963
- 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 }) });
2964
- }, ze = (e, t) => p({
2957
+ return t ? /* @__PURE__ */ l("div", { className: t, children: /* @__PURE__ */ l("div", { className: u, style: f, ...h, children: /* @__PURE__ */ l(Ze.Provider, { value: c, children: e }) }) }) : /* @__PURE__ */ l("div", { className: u, style: f, ...h, children: /* @__PURE__ */ l(Ze.Provider, { value: c, children: e }) });
2958
+ }, je = (e, t) => p({
2965
2959
  "basis-1/12": e === 1 && !t,
2966
2960
  "sm:basis-1/12": e === 1 && t === "sm",
2967
2961
  "md:basis-1/12": e === 1 && t === "md",
@@ -3042,14 +3036,14 @@ const vn = "av-main", xn = ({
3042
3036
  return p(e, _e, "box-border basis-auto");
3043
3037
  if (typeof t == "number")
3044
3038
  return p(e, _e, "box-border max-w-full", {
3045
- [`${ze(t)}`]: !0
3039
+ [`${je(t)}`]: !0
3046
3040
  });
3047
3041
  if (typeof t == "string")
3048
3042
  return p(e, _e, "box-border basis-auto", {
3049
3043
  "max-w-full grow": t === "auto"
3050
3044
  });
3051
3045
  if (typeof t == "object") {
3052
- const r = Object.entries(t).map(([a, n]) => a === "fallback" ? ze(n) : ze(n, a));
3046
+ const r = Object.entries(t).map(([a, n]) => a === "fallback" ? je(n) : je(n, a));
3053
3047
  return p(
3054
3048
  e,
3055
3049
  _e,
@@ -3063,9 +3057,9 @@ const vn = "av-main", xn = ({
3063
3057
  span: r,
3064
3058
  ...a
3065
3059
  }) => {
3066
- const { columnGap: n, rowGap: o } = St(et), s = {
3067
- paddingLeft: n * De + "rem",
3068
- paddingTop: o * De + "rem"
3060
+ const { columnGap: n, rowGap: o } = Tt(Ze), s = {
3061
+ paddingLeft: n * Pe + "rem",
3062
+ paddingTop: o * Pe + "rem"
3069
3063
  }, i = Pn({
3070
3064
  className: t,
3071
3065
  span: r
@@ -3085,7 +3079,7 @@ try {
3085
3079
  });
3086
3080
  } catch {
3087
3081
  }
3088
- const Zt = "av-text-input", Dn = "av-text-input-wrapper", qe = "av-text-input-helper-text";
3082
+ const Qt = "av-text-input", Dn = "av-text-input-wrapper", ze = "av-text-input-helper-text";
3089
3083
  function Ln() {
3090
3084
  const e = x(!1);
3091
3085
  return Y(() => (e.current = !0, () => {
@@ -3103,7 +3097,7 @@ const $n = {
3103
3097
  right: 0
3104
3098
  };
3105
3099
  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) => {
3100
+ const t = Ln(), r = x(0), a = x(null), [n, o] = z($n), s = De(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
3107
3101
  const d = i[0];
3108
3102
  d && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
3109
3103
  a.current && t() && o(d.contentRect);
@@ -3114,7 +3108,7 @@ function Mn(e) {
3114
3108
  }), [s, e]), [a, n];
3115
3109
  }
3116
3110
  function Un(e) {
3117
- const t = _t();
3111
+ const t = St();
3118
3112
  if (!e)
3119
3113
  return t;
3120
3114
  if (typeof e == "number" || typeof e == "string")
@@ -3124,7 +3118,7 @@ function Un(e) {
3124
3118
  return typeof r == "number" || typeof r == "string" ? `${a}${r}` : `${a}${t}`;
3125
3119
  }
3126
3120
  }
3127
- const er = "SET_ANNOUNCEMENT", tr = "CLEAR_ANNOUNCEMENT", Kn = {
3121
+ const Zt = "SET_ANNOUNCEMENT", er = "CLEAR_ANNOUNCEMENT", Kn = {
3128
3122
  alert: null,
3129
3123
  alertdialog: null,
3130
3124
  log: "polite",
@@ -3134,12 +3128,12 @@ const er = "SET_ANNOUNCEMENT", tr = "CLEAR_ANNOUNCEMENT", Kn = {
3134
3128
  timer: "assertive"
3135
3129
  }, Hn = (e, t) => {
3136
3130
  switch (t == null ? void 0 : t.type) {
3137
- case er:
3131
+ case Zt:
3138
3132
  return {
3139
3133
  ...e,
3140
3134
  announcement: t.payload
3141
3135
  };
3142
- case tr:
3136
+ case er:
3143
3137
  return {
3144
3138
  ...e,
3145
3139
  announcement: null
@@ -3152,9 +3146,9 @@ const er = "SET_ANNOUNCEMENT", tr = "CLEAR_ANNOUNCEMENT", Kn = {
3152
3146
  dispatch: t
3153
3147
  }) => {
3154
3148
  t({
3155
- type: tr
3149
+ type: er
3156
3150
  }), typeof e == "function" && e();
3157
- }, Tt = ({
3151
+ }, wt = ({
3158
3152
  children: e,
3159
3153
  clearAnnouncementDelay: t,
3160
3154
  clearAnnouncementTimeoutRef: r,
@@ -3162,7 +3156,7 @@ const er = "SET_ANNOUNCEMENT", tr = "CLEAR_ANNOUNCEMENT", Kn = {
3162
3156
  dispatch: n
3163
3157
  }) => {
3164
3158
  clearTimeout(r.current), e !== null && n({
3165
- type: er,
3159
+ type: Zt,
3166
3160
  payload: e
3167
3161
  }), t && (r.current = setTimeout(
3168
3162
  () => Wn({
@@ -3180,13 +3174,13 @@ const er = "SET_ANNOUNCEMENT", tr = "CLEAR_ANNOUNCEMENT", Kn = {
3180
3174
  onAnnouncementClear: o,
3181
3175
  dispatch: s
3182
3176
  }) => {
3183
- clearTimeout(t.current), r ? t.current = setTimeout(Tt, r, {
3177
+ clearTimeout(t.current), r ? t.current = setTimeout(wt, r, {
3184
3178
  children: e,
3185
3179
  clearAnnouncementDelay: a,
3186
3180
  clearAnnouncementTimeoutRef: n,
3187
3181
  onAnnouncementClear: o,
3188
3182
  dispatch: s
3189
- }) : Tt({
3183
+ }) : wt({
3190
3184
  children: e,
3191
3185
  clearAnnouncementDelay: a,
3192
3186
  clearAnnouncementTimeoutRef: n,
@@ -3194,7 +3188,7 @@ const er = "SET_ANNOUNCEMENT", tr = "CLEAR_ANNOUNCEMENT", Kn = {
3194
3188
  dispatch: s
3195
3189
  });
3196
3190
  };
3197
- function rr({
3191
+ function tr({
3198
3192
  children: e,
3199
3193
  className: t,
3200
3194
  politeness: r,
@@ -3308,18 +3302,18 @@ const Vn = ({
3308
3302
  return "";
3309
3303
  if (a)
3310
3304
  return p(
3311
- qe,
3305
+ ze,
3312
3306
  "absolute px-2 cursor-not-allowed opacity-50 font-medium"
3313
3307
  );
3314
3308
  if (!e)
3315
- return p(qe, "absolute px-2 font-medium", {
3309
+ return p(ze, "absolute px-2 font-medium", {
3316
3310
  "text-copy-lighter": r === "dark",
3317
3311
  "text-copy-dark": r === "light",
3318
3312
  "text-copy-dark dark:text-copy-lighter": r === "system",
3319
3313
  "text-copy-lighter dark:text-copy-dark": r === "alt-system"
3320
3314
  });
3321
3315
  if (e)
3322
- return p(qe, "absolute px-2 font-medium", {
3316
+ return p(ze, "absolute px-2 font-medium", {
3323
3317
  "text-copy-error-light bg-surface-darker": r === "dark",
3324
3318
  "text-copy-error-dark": r === "light",
3325
3319
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
@@ -3361,7 +3355,7 @@ const Vn = ({
3361
3355
  break;
3362
3356
  }
3363
3357
  const c = r ? p(t) : p(
3364
- Zt,
3358
+ Qt,
3365
3359
  u,
3366
3360
  "rounded-md text-base px-4",
3367
3361
  Vn({ mode: s }),
@@ -3381,16 +3375,16 @@ const Vn = ({
3381
3375
  raw: r,
3382
3376
  mode: s,
3383
3377
  disabled: a
3384
- }), T = r ? void 0 : p("absolute right-3", h);
3378
+ }), I = r ? void 0 : p("absolute right-3", h);
3385
3379
  return {
3386
3380
  wrapper: f,
3387
3381
  input: c,
3388
3382
  accessibleLabel: m,
3389
3383
  visibleLabel: y,
3390
3384
  helperText: w,
3391
- rightElement: T
3385
+ rightElement: I
3392
3386
  };
3393
- }, ot = X.forwardRef(
3387
+ }, nt = X.forwardRef(
3394
3388
  ({
3395
3389
  id: e,
3396
3390
  name: t,
@@ -3408,11 +3402,11 @@ const Vn = ({
3408
3402
  type: m = "text",
3409
3403
  helperText: y = "",
3410
3404
  rightElement: w,
3411
- rightElementClassName: T,
3405
+ rightElementClassName: I,
3412
3406
  size: k = "md",
3413
3407
  ...Q
3414
3408
  }, 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 = {
3409
+ const [Z, $] = Mn(), [B, U] = z(0), S = Un({ id: e, prefix: `${Qt}-` }), M = `${t} error, ${y}`, K = x(null), T = x(null), C = {
3416
3410
  xs: { label: "-25px", helperText: "30px" },
3417
3411
  sm: { label: "-29px", helperText: "34px" },
3418
3412
  md: { label: "-33px", helperText: "38px" },
@@ -3428,14 +3422,14 @@ const Vn = ({
3428
3422
  noBorder: f,
3429
3423
  mode: i,
3430
3424
  size: k,
3431
- rightElementClassName: T
3425
+ rightElementClassName: I
3432
3426
  });
3433
3427
  return Ne(() => {
3434
3428
  $ && $.width && U($.width + 18 + 10);
3435
3429
  }, [$]), Ne(() => {
3436
3430
  var V, g;
3437
3431
  const { label: E, helperText: b } = C[k];
3438
- (V = K == null ? void 0 : K.current) == null || V.style.setProperty("--av-text-input-label", E), (g = I == null ? void 0 : I.current) == null || g.style.setProperty(
3432
+ (V = K == null ? void 0 : K.current) == null || V.style.setProperty("--av-text-input-label", E), (g = T == null ? void 0 : T.current) == null || g.style.setProperty(
3439
3433
  "--av-text-input-helper-text",
3440
3434
  b
3441
3435
  );
@@ -3478,7 +3472,7 @@ const Vn = ({
3478
3472
  y && /* @__PURE__ */ l(
3479
3473
  "div",
3480
3474
  {
3481
- ref: I,
3475
+ ref: T,
3482
3476
  id: `${S}-helper`,
3483
3477
  className: O.helperText,
3484
3478
  children: y
@@ -3492,20 +3486,20 @@ const Vn = ({
3492
3486
  children: w
3493
3487
  }
3494
3488
  ),
3495
- a && y && /* @__PURE__ */ l(rr, { politeness: "polite", clearAnnouncementDelay: 500, children: M })
3489
+ a && y && /* @__PURE__ */ l(tr, { politeness: "polite", clearAnnouncementDelay: 500, children: M })
3496
3490
  ] });
3497
3491
  }
3498
3492
  );
3499
- ot.displayName = "TextInput";
3493
+ nt.displayName = "TextInput";
3500
3494
  function zn(e) {
3501
- return Le(() => e.every((t) => t == null) ? () => {
3495
+ return De(() => e.every((t) => t == null) ? () => {
3502
3496
  } : (t) => {
3503
3497
  e.forEach((r) => {
3504
3498
  typeof r == "function" ? r(t) : r != null && (r.current = t);
3505
3499
  });
3506
3500
  }, e);
3507
3501
  }
3508
- const qn = 500, Xn = 5e3, Qn = 2e4, ar = X.forwardRef(
3502
+ const qn = 500, Xn = 5e3, Qn = 2e4, rr = X.forwardRef(
3509
3503
  ({
3510
3504
  name: e,
3511
3505
  disabled: t,
@@ -3522,38 +3516,38 @@ const qn = 500, Xn = 5e3, Qn = 2e4, ar = X.forwardRef(
3522
3516
  const [c, m] = z(!0), [y, w] = z({
3523
3517
  message: null,
3524
3518
  politeness: null
3525
- }), T = x(!0), k = x(null), Q = x(null), L = zn([u, Q]), Z = c ? "Show" : "Hide", $ = () => {
3526
- k.current && clearTimeout(k.current), T.current || (k.current = setTimeout(() => {
3527
- T.current = !0, m(!0), w({
3519
+ }), I = x(!0), k = x(null), Q = x(null), L = zn([u, Q]), Z = c ? "Show" : "Hide", $ = () => {
3520
+ k.current && clearTimeout(k.current), I.current || (k.current = setTimeout(() => {
3521
+ I.current = !0, m(!0), w({
3528
3522
  announcementTimeout: Xn,
3529
3523
  politeness: "polite",
3530
3524
  message: `${r} hiding characters`
3531
3525
  }), n && n(!0);
3532
3526
  }, Qn));
3533
- }, B = (I) => {
3534
- I.preventDefault();
3535
- const C = !T.current;
3536
- T.current = C, $(), m(C), w({
3527
+ }, B = (T) => {
3528
+ T.preventDefault();
3529
+ const C = !I.current;
3530
+ I.current = C, $(), m(C), w({
3537
3531
  announcementTimeout: qn,
3538
3532
  politeness: "assertive",
3539
3533
  message: C ? "Characters hidden" : "Characters showing"
3540
3534
  }), n && n(C);
3541
- }, U = (I) => {
3535
+ }, U = (T) => {
3542
3536
  var C;
3543
- const { relatedTarget: O } = I, V = (C = Q.current) == null ? void 0 : C.parentElement;
3537
+ const { relatedTarget: O } = T, V = (C = Q.current) == null ? void 0 : C.parentElement;
3544
3538
  V != null && V.contains(O) || d && d();
3545
- }, S = (I) => {
3546
- $(), s && s(I), U(I);
3547
- }, M = (I) => {
3548
- $(), i && i(I);
3549
- }, K = (I) => {
3550
- $(), o && o(I);
3539
+ }, S = (T) => {
3540
+ $(), s && s(T), U(T);
3541
+ }, M = (T) => {
3542
+ $(), i && i(T);
3543
+ }, K = (T) => {
3544
+ $(), o && o(T);
3551
3545
  };
3552
3546
  return Y(() => () => {
3553
3547
  k.current && clearTimeout(k.current);
3554
3548
  }, []), /* @__PURE__ */ D(Re, { children: [
3555
3549
  /* @__PURE__ */ l(
3556
- ot,
3550
+ nt,
3557
3551
  {
3558
3552
  ref: L,
3559
3553
  name: e,
@@ -3575,7 +3569,7 @@ const qn = 500, Xn = 5e3, Qn = 2e4, ar = X.forwardRef(
3575
3569
  }
3576
3570
  ),
3577
3571
  /* @__PURE__ */ l(
3578
- rr,
3572
+ tr,
3579
3573
  {
3580
3574
  role: "status",
3581
3575
  politeness: y.politeness,
@@ -3586,7 +3580,7 @@ const qn = 500, Xn = 5e3, Qn = 2e4, ar = X.forwardRef(
3586
3580
  ] });
3587
3581
  }
3588
3582
  );
3589
- ar.displayName = "TextInputMask";
3583
+ rr.displayName = "TextInputMask";
3590
3584
  /*!
3591
3585
  @versini/ui-textinput v3.0.13
3592
3586
  © 2025 gizmette.com
@@ -3600,7 +3594,7 @@ try {
3600
3594
  });
3601
3595
  } catch {
3602
3596
  }
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 = {
3597
+ const Zn = "ASK! ME! ANYTHING!", ar = "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, ${ar} 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 = {
3604
3598
  PREFERENCES: {
3605
3599
  TITLE: "User profile",
3606
3600
  NAME: "Name",
@@ -3643,11 +3637,11 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3643
3637
  }, ao = () => /* @__PURE__ */ D("div", { className: "flex items-center justify-center", children: [
3644
3638
  /* @__PURE__ */ l("div", { className: "basis-1/4", children: /* @__PURE__ */ l(kn, {}) }),
3645
3639
  /* @__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 }),
3640
+ /* @__PURE__ */ l("h1", { children: ar }),
3647
3641
  /* @__PURE__ */ l("h2", { children: Zn })
3648
3642
  ] })
3649
3643
  ] }), no = () => {
3650
- const { login: e, logoutReason: t, loginWithPasskey: r } = qt(), [a, n] = z(""), [o, s] = z(""), [i, d] = z(!0), [h, f] = z({
3644
+ const { login: e, logoutReason: t, loginWithPasskey: r } = zt(), [a, n] = z(""), [o, s] = z(""), [i, d] = z(!0), [h, f] = z({
3651
3645
  username: "",
3652
3646
  password: ""
3653
3647
  }), u = async (c) => {
@@ -3682,7 +3676,7 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3682
3676
  /* @__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: [
3683
3677
  /* @__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
3678
  /* @__PURE__ */ l(re, { span: 12, children: /* @__PURE__ */ l(
3685
- ot,
3679
+ nt,
3686
3680
  {
3687
3681
  className: "mt-7",
3688
3682
  required: !0,
@@ -3703,7 +3697,7 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3703
3697
  }
3704
3698
  ) }),
3705
3699
  /* @__PURE__ */ l(re, { span: 12, children: /* @__PURE__ */ l(
3706
- ar,
3700
+ rr,
3707
3701
  {
3708
3702
  className: "mt-7",
3709
3703
  required: !0,
@@ -3715,7 +3709,7 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3715
3709
  name: "password",
3716
3710
  label: ro,
3717
3711
  rightElement: /* @__PURE__ */ l(
3718
- Pe,
3712
+ Oe,
3719
3713
  {
3720
3714
  focusMode: "light",
3721
3715
  mode: "dark",
@@ -3735,7 +3729,7 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3735
3729
  }
3736
3730
  ) }),
3737
3731
  /* @__PURE__ */ l(re, { span: 12, children: /* @__PURE__ */ l(
3738
- Qt,
3732
+ Xt,
3739
3733
  {
3740
3734
  mode: "light",
3741
3735
  focusMode: "light",
@@ -3749,7 +3743,7 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3749
3743
  !Za() && /* @__PURE__ */ D(Re, { children: [
3750
3744
  /* @__PURE__ */ l(re, { span: 12, children: /* @__PURE__ */ l("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
3751
3745
  /* @__PURE__ */ l(re, { span: 12, children: /* @__PURE__ */ l(
3752
- Pe,
3746
+ Oe,
3753
3747
  {
3754
3748
  variant: "selected",
3755
3749
  mode: "dark",
@@ -3766,12 +3760,12 @@ const Zn = "ASK! ME! ANYTHING!", nr = "Callisto", eo = "Log in", to = "Sign in w
3766
3760
  ]
3767
3761
  }
3768
3762
  ) });
3769
- }, oo = new URL(document.location.href).searchParams, so = !!oo.get("debug") || !1, io = cr(() => import(
3763
+ }, oo = new URL(document.location.href).searchParams, so = !!oo.get("debug") || !1, io = ir(() => import(
3770
3764
  /* webpackChunkName: "LazyApp" */
3771
- "./App.Cc0p_pSJ.js"
3765
+ "./App.fUQ6Upmp.js"
3772
3766
  ).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, {});
3767
+ const { isAuthenticated: t } = zt();
3768
+ return t ? /* @__PURE__ */ l(cr, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(io, { isComponent: e }) }) : /* @__PURE__ */ l(no, {});
3775
3769
  }, lo = ({
3776
3770
  isComponent: e = !1,
3777
3771
  domain: t = qa
@@ -3782,8 +3776,8 @@ export {
3782
3776
  vo as ACTION_SEARCH,
3783
3777
  xo as ACTION_SORT,
3784
3778
  Co as ACTION_TOGGLE_PROMPT,
3785
- nr as APP_NAME,
3786
- Qt as C,
3779
+ ar as APP_NAME,
3780
+ Xt as C,
3787
3781
  ss as CARDS,
3788
3782
  as as CLIPBOARD_PROMPT,
3789
3783
  Ao as DEFAULT_AI_PROVIDER,
@@ -3809,10 +3803,10 @@ export {
3809
3803
  No as PROVIDER_ANTHROPIC,
3810
3804
  Ro as PROVIDER_OPENAI,
3811
3805
  _n as R,
3812
- To as ROLE_ASSISTANT,
3806
+ Io as ROLE_ASSISTANT,
3813
3807
  _o as ROLE_HIDDEN,
3814
3808
  So as ROLE_INTERNAL,
3815
- Io as ROLE_SYSTEM,
3809
+ To as ROLE_SYSTEM,
3816
3810
  wo as ROLE_USER,
3817
3811
  Zo as SETTINGS_TITLE,
3818
3812
  Uo as STATS_SEPARATOR,
@@ -3820,8 +3814,8 @@ export {
3820
3814
  rs as TYPE_QUESTION,
3821
3815
  zo as debounce,
3822
3816
  Fo as durationFormatter,
3823
- He as f,
3824
- ot as fe,
3817
+ Ke as f,
3818
+ nt as fe,
3825
3819
  Jo as getCurrentGeoLocation,
3826
3820
  Qa as getMainPaddingClass,
3827
3821
  Xa as getMessageContaintWrapperClass,
@@ -3833,7 +3827,7 @@ export {
3833
3827
  Yo as numberFormatter,
3834
3828
  jo as pluralize,
3835
3829
  xn as r,
3836
- Pe as re,
3830
+ Oe as re,
3837
3831
  Go as renderDataAsList,
3838
- qt as un
3832
+ zt as un
3839
3833
  };