@versini/sassysaint 5.4.11 → 5.4.12
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.
- package/dist/chunks/{LazyApp.C5Vf8cqv.js → LazyApp.Dyu2ic9d.js} +219 -219
- package/dist/chunks/{LazyHeader.DxU2fU2U.js → LazyHeader.9qAKBwpW.js} +407 -407
- package/dist/chunks/{LazyMarkdownWithExtra.7DWWF22e.js → LazyMarkdownWithExtra.D-ycPLwb.js} +13 -13
- package/dist/chunks/{LazyMessageAssistant.Dtgl0qF0.js → LazyMessageAssistant.D02uWotL.js} +7 -7
- package/dist/chunks/{index.C-b6HJz9.js → index.BQqipbFO.js} +142 -142
- package/dist/chunks/{index.BawXN3eR.js → index.SBEBWYWL.js} +148 -149
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -22,7 +22,7 @@ function V(e) {
|
|
|
22
22
|
r += String.fromCharCode(a);
|
|
23
23
|
return btoa(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Re(e) {
|
|
26
26
|
const t = e.replace(/-/g, "+").replace(/_/g, "/"), r = (4 - t.length % 4) % 4, a = t.padEnd(t.length + r, "="), n = atob(a), o = new ArrayBuffer(n.length), s = new Uint8Array(o);
|
|
27
27
|
for (let i = 0; i < n.length; i++)
|
|
28
28
|
s[i] = n.charCodeAt(i);
|
|
@@ -31,18 +31,18 @@ function Ne(e) {
|
|
|
31
31
|
function Ze() {
|
|
32
32
|
return (window == null ? void 0 : window.PublicKeyCredential) !== void 0 && typeof window.PublicKeyCredential == "function";
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Rt(e) {
|
|
35
35
|
const { id: t } = e;
|
|
36
36
|
return {
|
|
37
37
|
...e,
|
|
38
|
-
id:
|
|
38
|
+
id: Re(t),
|
|
39
39
|
transports: e.transports
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Nt(e) {
|
|
43
43
|
return e === "localhost" || /^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e);
|
|
44
44
|
}
|
|
45
|
-
let
|
|
45
|
+
let N = class extends Error {
|
|
46
46
|
constructor({ message: t, code: r, cause: a, name: n }) {
|
|
47
47
|
super(t, { cause: a }), this.name = n ?? a.name, this.code = r;
|
|
48
48
|
}
|
|
@@ -54,70 +54,70 @@ function hr({ error: e, options: t }) {
|
|
|
54
54
|
throw Error("options was missing required publicKey property");
|
|
55
55
|
if (e.name === "AbortError") {
|
|
56
56
|
if (t.signal instanceof AbortSignal)
|
|
57
|
-
return new
|
|
57
|
+
return new N({
|
|
58
58
|
message: "Registration ceremony was sent an abort signal",
|
|
59
59
|
code: "ERROR_CEREMONY_ABORTED",
|
|
60
60
|
cause: e
|
|
61
61
|
});
|
|
62
62
|
} else if (e.name === "ConstraintError") {
|
|
63
63
|
if (((a = r.authenticatorSelection) == null ? void 0 : a.requireResidentKey) === !0)
|
|
64
|
-
return new
|
|
64
|
+
return new N({
|
|
65
65
|
message: "Discoverable credentials were required but no available authenticator supported it",
|
|
66
66
|
code: "ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",
|
|
67
67
|
cause: e
|
|
68
68
|
});
|
|
69
69
|
if (((n = r.authenticatorSelection) == null ? void 0 : n.userVerification) === "required")
|
|
70
|
-
return new
|
|
70
|
+
return new N({
|
|
71
71
|
message: "User verification was required but no available authenticator supported it",
|
|
72
72
|
code: "ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",
|
|
73
73
|
cause: e
|
|
74
74
|
});
|
|
75
75
|
} else {
|
|
76
76
|
if (e.name === "InvalidStateError")
|
|
77
|
-
return new
|
|
77
|
+
return new N({
|
|
78
78
|
message: "The authenticator was previously registered",
|
|
79
79
|
code: "ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",
|
|
80
80
|
cause: e
|
|
81
81
|
});
|
|
82
82
|
if (e.name === "NotAllowedError")
|
|
83
|
-
return new
|
|
83
|
+
return new N({
|
|
84
84
|
message: e.message,
|
|
85
85
|
code: "ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",
|
|
86
86
|
cause: e
|
|
87
87
|
});
|
|
88
88
|
if (e.name === "NotSupportedError")
|
|
89
|
-
return r.pubKeyCredParams.filter((o) => o.type === "public-key").length === 0 ? new
|
|
89
|
+
return r.pubKeyCredParams.filter((o) => o.type === "public-key").length === 0 ? new N({
|
|
90
90
|
message: 'No entry in pubKeyCredParams was of type "public-key"',
|
|
91
91
|
code: "ERROR_MALFORMED_PUBKEYCREDPARAMS",
|
|
92
92
|
cause: e
|
|
93
|
-
}) : new
|
|
93
|
+
}) : new N({
|
|
94
94
|
message: "No available authenticator supported any of the specified pubKeyCredParams algorithms",
|
|
95
95
|
code: "ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",
|
|
96
96
|
cause: e
|
|
97
97
|
});
|
|
98
98
|
if (e.name === "SecurityError") {
|
|
99
99
|
const o = window.location.hostname;
|
|
100
|
-
if (
|
|
100
|
+
if (Nt(o)) {
|
|
101
101
|
if (r.rp.id !== o)
|
|
102
|
-
return new
|
|
102
|
+
return new N({
|
|
103
103
|
message: `The RP ID "${r.rp.id}" is invalid for this domain`,
|
|
104
104
|
code: "ERROR_INVALID_RP_ID",
|
|
105
105
|
cause: e
|
|
106
106
|
});
|
|
107
|
-
} else return new
|
|
107
|
+
} else return new N({
|
|
108
108
|
message: `${window.location.hostname} is an invalid domain`,
|
|
109
109
|
code: "ERROR_INVALID_DOMAIN",
|
|
110
110
|
cause: e
|
|
111
111
|
});
|
|
112
112
|
} else if (e.name === "TypeError") {
|
|
113
113
|
if (r.user.id.byteLength < 1 || r.user.id.byteLength > 64)
|
|
114
|
-
return new
|
|
114
|
+
return new N({
|
|
115
115
|
message: "User ID was not between 1 and 64 characters",
|
|
116
116
|
code: "ERROR_INVALID_USER_ID_LENGTH",
|
|
117
117
|
cause: e
|
|
118
118
|
});
|
|
119
119
|
} else if (e.name === "UnknownError")
|
|
120
|
-
return new
|
|
120
|
+
return new N({
|
|
121
121
|
message: "The authenticator was unable to process the specified options, or could not create a new credential",
|
|
122
122
|
code: "ERROR_AUTHENTICATOR_GENERAL_ERROR",
|
|
123
123
|
cause: e
|
|
@@ -152,12 +152,12 @@ async function gr(e) {
|
|
|
152
152
|
throw new Error("WebAuthn is not supported in this browser");
|
|
153
153
|
const t = { publicKey: {
|
|
154
154
|
...e,
|
|
155
|
-
challenge:
|
|
155
|
+
challenge: Re(e.challenge),
|
|
156
156
|
user: {
|
|
157
157
|
...e.user,
|
|
158
|
-
id:
|
|
158
|
+
id: Re(e.user.id)
|
|
159
159
|
},
|
|
160
|
-
excludeCredentials: (u = e.excludeCredentials) == null ? void 0 : u.map(
|
|
160
|
+
excludeCredentials: (u = e.excludeCredentials) == null ? void 0 : u.map(Rt)
|
|
161
161
|
} };
|
|
162
162
|
t.signal = xt.createNewAbortSignal();
|
|
163
163
|
let r;
|
|
@@ -225,34 +225,34 @@ function fr({ error: e, options: t }) {
|
|
|
225
225
|
throw Error("options was missing required publicKey property");
|
|
226
226
|
if (e.name === "AbortError") {
|
|
227
227
|
if (t.signal instanceof AbortSignal)
|
|
228
|
-
return new
|
|
228
|
+
return new N({
|
|
229
229
|
message: "Authentication ceremony was sent an abort signal",
|
|
230
230
|
code: "ERROR_CEREMONY_ABORTED",
|
|
231
231
|
cause: e
|
|
232
232
|
});
|
|
233
233
|
} else {
|
|
234
234
|
if (e.name === "NotAllowedError")
|
|
235
|
-
return new
|
|
235
|
+
return new N({
|
|
236
236
|
message: e.message,
|
|
237
237
|
code: "ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",
|
|
238
238
|
cause: e
|
|
239
239
|
});
|
|
240
240
|
if (e.name === "SecurityError") {
|
|
241
241
|
const a = window.location.hostname;
|
|
242
|
-
if (
|
|
242
|
+
if (Nt(a)) {
|
|
243
243
|
if (r.rpId !== a)
|
|
244
|
-
return new
|
|
244
|
+
return new N({
|
|
245
245
|
message: `The RP ID "${r.rpId}" is invalid for this domain`,
|
|
246
246
|
code: "ERROR_INVALID_RP_ID",
|
|
247
247
|
cause: e
|
|
248
248
|
});
|
|
249
|
-
} else return new
|
|
249
|
+
} else return new N({
|
|
250
250
|
message: `${window.location.hostname} is an invalid domain`,
|
|
251
251
|
code: "ERROR_INVALID_DOMAIN",
|
|
252
252
|
cause: e
|
|
253
253
|
});
|
|
254
254
|
} else if (e.name === "UnknownError")
|
|
255
|
-
return new
|
|
255
|
+
return new N({
|
|
256
256
|
message: "The authenticator was unable to process the specified options, or could not create a new assertion signature",
|
|
257
257
|
code: "ERROR_AUTHENTICATOR_GENERAL_ERROR",
|
|
258
258
|
cause: e
|
|
@@ -265,10 +265,10 @@ async function br(e, t = !1) {
|
|
|
265
265
|
if (!Ze())
|
|
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(
|
|
268
|
+
((u = e.allowCredentials) == null ? void 0 : u.length) !== 0 && (r = (c = e.allowCredentials) == null ? void 0 : c.map(Rt));
|
|
269
269
|
const a = {
|
|
270
270
|
...e,
|
|
271
|
-
challenge:
|
|
271
|
+
challenge: Re(e.challenge),
|
|
272
272
|
allowCredentials: r
|
|
273
273
|
}, n = {};
|
|
274
274
|
if (t) {
|
|
@@ -386,12 +386,12 @@ let L = class extends C {
|
|
|
386
386
|
}
|
|
387
387
|
};
|
|
388
388
|
L.code = "ERR_JWT_CLAIM_VALIDATION_FAILED";
|
|
389
|
-
class
|
|
389
|
+
class Fe extends C {
|
|
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
|
-
|
|
394
|
+
Fe.code = "ERR_JWT_EXPIRED";
|
|
395
395
|
class Dt extends C {
|
|
396
396
|
constructor() {
|
|
397
397
|
super(...arguments), this.code = "ERR_JOSE_ALG_NOT_ALLOWED";
|
|
@@ -452,19 +452,19 @@ class vr extends C {
|
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
454
|
vr.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
|
|
455
|
-
class
|
|
455
|
+
class Rr extends C {
|
|
456
456
|
constructor(t = "request timed out", r) {
|
|
457
457
|
super(t, r), this.code = "ERR_JWKS_TIMEOUT";
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
|
-
|
|
460
|
+
Rr.code = "ERR_JWKS_TIMEOUT";
|
|
461
461
|
class Lt extends C {
|
|
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
466
|
Lt.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
|
|
467
|
-
function
|
|
467
|
+
function z(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 Te(e, t) {
|
|
@@ -473,7 +473,7 @@ function Te(e, t) {
|
|
|
473
473
|
function He(e) {
|
|
474
474
|
return parseInt(e.name.slice(4), 10);
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function Nr(e) {
|
|
477
477
|
switch (e) {
|
|
478
478
|
case "ES256":
|
|
479
479
|
return "P-256";
|
|
@@ -501,45 +501,45 @@ function Cr(e, t, ...r) {
|
|
|
501
501
|
case "HS384":
|
|
502
502
|
case "HS512": {
|
|
503
503
|
if (!Te(e.algorithm, "HMAC"))
|
|
504
|
-
throw
|
|
504
|
+
throw z("HMAC");
|
|
505
505
|
const a = parseInt(t.slice(2), 10);
|
|
506
506
|
if (He(e.algorithm.hash) !== a)
|
|
507
|
-
throw
|
|
507
|
+
throw z(`SHA-${a}`, "algorithm.hash");
|
|
508
508
|
break;
|
|
509
509
|
}
|
|
510
510
|
case "RS256":
|
|
511
511
|
case "RS384":
|
|
512
512
|
case "RS512": {
|
|
513
513
|
if (!Te(e.algorithm, "RSASSA-PKCS1-v1_5"))
|
|
514
|
-
throw
|
|
514
|
+
throw z("RSASSA-PKCS1-v1_5");
|
|
515
515
|
const a = parseInt(t.slice(2), 10);
|
|
516
516
|
if (He(e.algorithm.hash) !== a)
|
|
517
|
-
throw
|
|
517
|
+
throw z(`SHA-${a}`, "algorithm.hash");
|
|
518
518
|
break;
|
|
519
519
|
}
|
|
520
520
|
case "PS256":
|
|
521
521
|
case "PS384":
|
|
522
522
|
case "PS512": {
|
|
523
523
|
if (!Te(e.algorithm, "RSA-PSS"))
|
|
524
|
-
throw
|
|
524
|
+
throw z("RSA-PSS");
|
|
525
525
|
const a = parseInt(t.slice(2), 10);
|
|
526
526
|
if (He(e.algorithm.hash) !== a)
|
|
527
|
-
throw
|
|
527
|
+
throw z(`SHA-${a}`, "algorithm.hash");
|
|
528
528
|
break;
|
|
529
529
|
}
|
|
530
530
|
case "EdDSA": {
|
|
531
531
|
if (e.algorithm.name !== "Ed25519" && e.algorithm.name !== "Ed448")
|
|
532
|
-
throw
|
|
532
|
+
throw z("Ed25519 or Ed448");
|
|
533
533
|
break;
|
|
534
534
|
}
|
|
535
535
|
case "ES256":
|
|
536
536
|
case "ES384":
|
|
537
537
|
case "ES512": {
|
|
538
538
|
if (!Te(e.algorithm, "ECDSA"))
|
|
539
|
-
throw
|
|
540
|
-
const a =
|
|
539
|
+
throw z("ECDSA");
|
|
540
|
+
const a = Nr(t);
|
|
541
541
|
if (e.algorithm.namedCurve !== a)
|
|
542
|
-
throw
|
|
542
|
+
throw z(a, "algorithm.namedCurve");
|
|
543
543
|
break;
|
|
544
544
|
}
|
|
545
545
|
default:
|
|
@@ -559,7 +559,7 @@ const ct = (e, ...t) => Mt("Key must be ", e, ...t);
|
|
|
559
559
|
function $t(e, t, ...r) {
|
|
560
560
|
return Mt(`Key for the ${e} algorithm must be `, t, ...r);
|
|
561
561
|
}
|
|
562
|
-
const Ut = (e) => Pt(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
|
|
562
|
+
const Ut = (e) => Pt(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", Ne = ["CryptoKey"], Or = (...e) => {
|
|
563
563
|
const t = e.filter(Boolean);
|
|
564
564
|
if (t.length === 0 || t.length === 1)
|
|
565
565
|
return !0;
|
|
@@ -711,28 +711,28 @@ const Wt = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
|
|
|
711
711
|
return r.k ? Ht(r.k) : (ae || (ae = /* @__PURE__ */ new WeakMap()), xe(ae, e, r, t));
|
|
712
712
|
}
|
|
713
713
|
return me(e) ? e.k ? X(e.k) : (ae || (ae = /* @__PURE__ */ new WeakMap()), xe(ae, e, e, t, !0)) : e;
|
|
714
|
-
}, Wr = { normalizePublicKey: Kr, normalizePrivateKey: Hr },
|
|
714
|
+
}, Wr = { normalizePublicKey: Kr, normalizePrivateKey: Hr }, F = (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
|
-
return n.length !== t.length ? !1 : n.every((o, s) => o === t[s]) ||
|
|
720
|
+
return n.length !== t.length ? !1 : n.every((o, s) => o === t[s]) || F(e, t, a + 1);
|
|
721
721
|
}, lt = (e) => {
|
|
722
722
|
switch (!0) {
|
|
723
|
-
case
|
|
723
|
+
case F(e, [42, 134, 72, 206, 61, 3, 1, 7]):
|
|
724
724
|
return "P-256";
|
|
725
|
-
case
|
|
725
|
+
case F(e, [43, 129, 4, 0, 34]):
|
|
726
726
|
return "P-384";
|
|
727
|
-
case
|
|
727
|
+
case F(e, [43, 129, 4, 0, 35]):
|
|
728
728
|
return "P-521";
|
|
729
|
-
case
|
|
729
|
+
case F(e, [43, 101, 110]):
|
|
730
730
|
return "X25519";
|
|
731
|
-
case
|
|
731
|
+
case F(e, [43, 101, 111]):
|
|
732
732
|
return "X448";
|
|
733
|
-
case
|
|
733
|
+
case F(e, [43, 101, 112]):
|
|
734
734
|
return "Ed25519";
|
|
735
|
-
case
|
|
735
|
+
case F(e, [43, 101, 113]):
|
|
736
736
|
return "Ed448";
|
|
737
737
|
default:
|
|
738
738
|
throw new M("Invalid or unsupported EC Key Curve or OKP Key Sub Type");
|
|
@@ -825,11 +825,11 @@ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], je = (e, t, r) =>
|
|
|
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
827
|
if (!Ut(t))
|
|
828
|
-
throw new TypeError($t(e, t, ...
|
|
828
|
+
throw new TypeError($t(e, t, ...Ne, "Uint8Array", a ? "JSON Web Key" : null));
|
|
829
829
|
if (t.type !== "secret")
|
|
830
830
|
throw new TypeError(`${de(t)} instances for symmetric algorithms must be of type "secret"`);
|
|
831
831
|
}
|
|
832
|
-
},
|
|
832
|
+
}, zr = (e, t, r, a) => {
|
|
833
833
|
if (a && me(t))
|
|
834
834
|
switch (r) {
|
|
835
835
|
case "sign":
|
|
@@ -842,7 +842,7 @@ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], je = (e, t, r) =>
|
|
|
842
842
|
throw new TypeError("JSON Web Key for this operation be a public JWK");
|
|
843
843
|
}
|
|
844
844
|
if (!Ut(t))
|
|
845
|
-
throw new TypeError($t(e, t, ...
|
|
845
|
+
throw new TypeError($t(e, t, ...Ne, a ? "JSON Web Key" : null));
|
|
846
846
|
if (t.type === "secret")
|
|
847
847
|
throw new TypeError(`${de(t)} instances for asymmetric algorithms must not be of type "secret"`);
|
|
848
848
|
if (r === "sign" && t.type === "public")
|
|
@@ -855,11 +855,11 @@ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], je = (e, t, r) =>
|
|
|
855
855
|
throw new TypeError(`${de(t)} instances for asymmetric algorithm encryption must be of type "public"`);
|
|
856
856
|
};
|
|
857
857
|
function Gt(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) :
|
|
858
|
+
t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ? Yr(t, r, a, e) : zr(t, r, a, e);
|
|
859
859
|
}
|
|
860
860
|
Gt.bind(void 0, !1);
|
|
861
861
|
const dt = Gt.bind(void 0, !0);
|
|
862
|
-
function
|
|
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)
|
|
@@ -914,10 +914,10 @@ async function Xr(e, t, r) {
|
|
|
914
914
|
return Cr(t, e, r), t;
|
|
915
915
|
if (t instanceof Uint8Array) {
|
|
916
916
|
if (!e.startsWith("HS"))
|
|
917
|
-
throw new TypeError(ct(t, ...
|
|
917
|
+
throw new TypeError(ct(t, ...Ne));
|
|
918
918
|
return De.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
|
|
919
919
|
}
|
|
920
|
-
throw new TypeError(ct(t, ...
|
|
920
|
+
throw new TypeError(ct(t, ...Ne, "Uint8Array", "JSON Web Key"));
|
|
921
921
|
}
|
|
922
922
|
const Qr = async (e, t, r, a) => {
|
|
923
923
|
const n = await Xr(e, t, "verify");
|
|
@@ -955,7 +955,7 @@ async function Zr(e, t, r) {
|
|
|
955
955
|
const n = {
|
|
956
956
|
...a,
|
|
957
957
|
...e.header
|
|
958
|
-
}, o =
|
|
958
|
+
}, o = Fr(k, /* @__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 k('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
|
|
@@ -1093,12 +1093,12 @@ const ta = (e) => Math.floor(e.getTime() / 1e3), Bt = 60, Jt = Bt * 60, et = Jt
|
|
|
1093
1093
|
if (typeof a.exp != "number")
|
|
1094
1094
|
throw new L('"exp" claim must be a number', a, "exp", "invalid");
|
|
1095
1095
|
if (a.exp <= h - u)
|
|
1096
|
-
throw new
|
|
1096
|
+
throw new Fe('"exp" claim timestamp check failed', a, "exp", "check_failed");
|
|
1097
1097
|
}
|
|
1098
1098
|
if (m) {
|
|
1099
1099
|
const f = h - a.iat, E = typeof m == "number" ? m : ut(m);
|
|
1100
1100
|
if (f - u > E)
|
|
1101
|
-
throw new
|
|
1101
|
+
throw new Fe('"iat" claim timestamp check failed (too far in the past)', a, "iat", "check_failed");
|
|
1102
1102
|
if (f < 0 - u)
|
|
1103
1103
|
throw new L('"iat" claim timestamp check failed (it should be in the past)', a, "iat", "check_failed");
|
|
1104
1104
|
}
|
|
@@ -1261,7 +1261,7 @@ function Be(e, t, r) {
|
|
|
1261
1261
|
const oe = "Your session has expired. For your security, please log in again to continue.", Sa = "Your session has been successfully terminated.", Je = "Login failed. Please try again.", Aa = "Error getting access token, please re-authenticate.", va = "You forgot to wrap your component in <AuthProvider>.", Ce = {
|
|
1262
1262
|
dev: "https://auth.gizmette.local.com:3003",
|
|
1263
1263
|
prod: "https://mylogin.gizmette.com/auth"
|
|
1264
|
-
}, _e = "@@auth@@", ge = "LOADING", Ae = "LOGIN", Yt = "LOGOUT", Ee = "success", Y = "failure",
|
|
1264
|
+
}, _e = "@@auth@@", ge = "LOADING", Ae = "LOGIN", Yt = "LOGOUT", Ee = "success", Y = "failure", zt = "include", Ft = "POST", jt = "application/json", ke = {
|
|
1265
1265
|
GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
|
|
1266
1266
|
$clientId: String!,
|
|
1267
1267
|
$username: String!,
|
|
@@ -1369,8 +1369,8 @@ const oe = "Your session has expired. For your security, please log in again to
|
|
|
1369
1369
|
const n = `Bearer ${e}`, o = await fetch(
|
|
1370
1370
|
qt ? `${Ce.dev}/graphql` : `${Ce.prod}/graphql`,
|
|
1371
1371
|
{
|
|
1372
|
-
credentials:
|
|
1373
|
-
method:
|
|
1372
|
+
credentials: zt,
|
|
1373
|
+
method: Ft,
|
|
1374
1374
|
headers: {
|
|
1375
1375
|
authorization: n,
|
|
1376
1376
|
"Content-Type": jt,
|
|
@@ -1401,8 +1401,8 @@ const oe = "Your session has expired. For your security, please log in again to
|
|
|
1401
1401
|
const a = await fetch(
|
|
1402
1402
|
qt ? `${Ce.dev}/${e}` : `${Ce.prod}/${e}`,
|
|
1403
1403
|
{
|
|
1404
|
-
credentials:
|
|
1405
|
-
method:
|
|
1404
|
+
credentials: zt,
|
|
1405
|
+
method: Ft,
|
|
1406
1406
|
headers: {
|
|
1407
1407
|
"Content-Type": jt,
|
|
1408
1408
|
[Ot.CLIENT_ID]: `${t}`
|
|
@@ -1420,14 +1420,14 @@ const oe = "Your session has expired. For your security, please log in again to
|
|
|
1420
1420
|
} catch (a) {
|
|
1421
1421
|
return console.error(a), { status: Y, data: [] };
|
|
1422
1422
|
}
|
|
1423
|
-
},
|
|
1423
|
+
}, Ra = process.env.NODE_ENV === "production", qt = !Ra, Xt = {
|
|
1424
1424
|
isLoading: !0,
|
|
1425
1425
|
isAuthenticated: !1,
|
|
1426
1426
|
user: void 0,
|
|
1427
1427
|
logoutReason: "",
|
|
1428
1428
|
debug: !1,
|
|
1429
1429
|
authenticationType: ""
|
|
1430
|
-
},
|
|
1430
|
+
}, Na = (e) => {
|
|
1431
1431
|
try {
|
|
1432
1432
|
const t = da(e);
|
|
1433
1433
|
return t ? t[v.USER_ID_KEY] : "";
|
|
@@ -1701,7 +1701,7 @@ const La = (e) => q(
|
|
|
1701
1701
|
), x = q(
|
|
1702
1702
|
async (y) => {
|
|
1703
1703
|
i("invalidateAndLogout: invalidating and logging out");
|
|
1704
|
-
const { user: T } = o, b = (T == null ? void 0 : T.userId) ||
|
|
1704
|
+
const { user: T } = o, b = (T == null ? void 0 : T.userId) || Na(m);
|
|
1705
1705
|
b || i(
|
|
1706
1706
|
"invalidateAndLogout: user cannot be identified, logging out without userId"
|
|
1707
1707
|
), await xa({
|
|
@@ -1775,7 +1775,7 @@ const La = (e) => q(
|
|
|
1775
1775
|
return !1;
|
|
1776
1776
|
}, Z = async (y) => {
|
|
1777
1777
|
y == null || y.preventDefault(), await x(Sa);
|
|
1778
|
-
},
|
|
1778
|
+
}, R = async () => {
|
|
1779
1779
|
const { isAuthenticated: y, user: T } = o;
|
|
1780
1780
|
try {
|
|
1781
1781
|
if (y && T && T.userId) {
|
|
@@ -1909,7 +1909,7 @@ const La = (e) => q(
|
|
|
1909
1909
|
...o,
|
|
1910
1910
|
login: pe,
|
|
1911
1911
|
logout: Z,
|
|
1912
|
-
getAccessToken:
|
|
1912
|
+
getAccessToken: R,
|
|
1913
1913
|
getIdToken: D,
|
|
1914
1914
|
registeringForPasskey: B,
|
|
1915
1915
|
loginWithPasskey: ee
|
|
@@ -1917,7 +1917,7 @@ const La = (e) => q(
|
|
|
1917
1917
|
children: e
|
|
1918
1918
|
}
|
|
1919
1919
|
) });
|
|
1920
|
-
}, tt = (e = Qt) => Qe(e), uo = "user", ho = "assistant", mo = "system", po = "internal", go = "hidden", yo = "I'm having trouble right now. Please try again later.", Ve = "OpenAI", fo = "OpenAI", bo = "Anthropic", Eo = 128e3, wo = "action-message", To = "action-reset", Io = "action-model", _o = "action-restore", ko = "action-streaming", So = "action-engine", Ao = "action-search", vo = "action-sort",
|
|
1920
|
+
}, tt = (e = Qt) => Qe(e), uo = "user", ho = "assistant", mo = "system", po = "internal", go = "hidden", yo = "I'm having trouble right now. Please try again later.", Ve = "OpenAI", fo = "OpenAI", bo = "Anthropic", Eo = 128e3, wo = "action-message", To = "action-reset", Io = "action-model", _o = "action-restore", ko = "action-streaming", So = "action-engine", Ao = "action-search", vo = "action-sort", Ro = "action-toggle-tag", No = "action-reset-tags", xo = "action-set-tags", Co = "sassy-saint-", Oo = "details", Po = "search", Do = "sort", Lo = "engine-toggle", Mo = "==stats==", Ka = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Et = (e) => Number.isFinite(e) ? e : 0;
|
|
1921
1921
|
function Ha(e) {
|
|
1922
1922
|
return {
|
|
1923
1923
|
days: Math.trunc(e / 864e5),
|
|
@@ -1953,7 +1953,7 @@ function Ga(e) {
|
|
|
1953
1953
|
throw new TypeError("Expected a finite number or bigint");
|
|
1954
1954
|
}
|
|
1955
1955
|
const Ba = (e) => e === 0 || e === 0n, Ja = (e, t) => t === 1 || t === 1n ? e : `${e}s`, Va = 1e-7, Ya = 24n * 60n * 60n * 1000n;
|
|
1956
|
-
function
|
|
1956
|
+
function za(e, t) {
|
|
1957
1957
|
const r = typeof e == "bigint";
|
|
1958
1958
|
if (!r && !Number.isFinite(e))
|
|
1959
1959
|
throw new TypeError("Expected a finite number or bigint");
|
|
@@ -1997,7 +1997,7 @@ function Fa(e, t) {
|
|
|
1997
1997
|
const m = t.colonNotation ? ":" : " ";
|
|
1998
1998
|
return typeof t.unitCount == "number" && (n = n.slice(0, Math.max(t.unitCount, 1))), a + n.join(m);
|
|
1999
1999
|
}
|
|
2000
|
-
const
|
|
2000
|
+
const Fa = process.env.NODE_ENV === "production", rt = !Fa, ja = rt ? "gizmette.local.com" : "gizmette.com", $o = async () => {
|
|
2001
2001
|
const e = {
|
|
2002
2002
|
/**
|
|
2003
2003
|
* A boolean value that indicates the application would
|
|
@@ -2067,7 +2067,7 @@ const Ho = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
2067
2067
|
signDisplay: "never",
|
|
2068
2068
|
minimumFractionDigits: 0,
|
|
2069
2069
|
maximumFractionDigits: 0
|
|
2070
|
-
}), Go = (e) => e > 0 ?
|
|
2070
|
+
}), Go = (e) => e > 0 ? za(e, {
|
|
2071
2071
|
secondsDecimalDigits: 2,
|
|
2072
2072
|
unitCount: 2
|
|
2073
2073
|
}) : "N/A", qa = (e) => g(
|
|
@@ -2439,13 +2439,13 @@ const qe = P.forwardRef(
|
|
|
2439
2439
|
);
|
|
2440
2440
|
qe.displayName = "ButtonIcon";
|
|
2441
2441
|
/*!
|
|
2442
|
-
@versini/ui-button
|
|
2442
|
+
@versini/ui-button v3.0.1
|
|
2443
2443
|
© 2024 gizmette.com
|
|
2444
2444
|
*/
|
|
2445
2445
|
try {
|
|
2446
2446
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
2447
|
-
version: "
|
|
2448
|
-
buildTime: "12/30/2024
|
|
2447
|
+
version: "3.0.1",
|
|
2448
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
2449
2449
|
homepage: "https://github.com/aversini/ui-components",
|
|
2450
2450
|
license: "MIT"
|
|
2451
2451
|
});
|
|
@@ -2530,13 +2530,13 @@ const on = P.forwardRef(
|
|
|
2530
2530
|
);
|
|
2531
2531
|
on.displayName = "ButtonSort";
|
|
2532
2532
|
/*!
|
|
2533
|
-
@versini/ui-card v2.0.
|
|
2533
|
+
@versini/ui-card v2.0.4
|
|
2534
2534
|
© 2024 gizmette.com
|
|
2535
2535
|
*/
|
|
2536
2536
|
try {
|
|
2537
2537
|
window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
|
|
2538
|
-
version: "2.0.
|
|
2539
|
-
buildTime: "12/30/2024
|
|
2538
|
+
version: "2.0.4",
|
|
2539
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
2540
2540
|
homepage: "https://github.com/aversini/ui-components",
|
|
2541
2541
|
license: "MIT"
|
|
2542
2542
|
});
|
|
@@ -2648,12 +2648,12 @@ const dn = ({
|
|
|
2648
2648
|
viewBox: r,
|
|
2649
2649
|
className: a,
|
|
2650
2650
|
defaultViewBox: n,
|
|
2651
|
-
|
|
2651
|
+
size: o,
|
|
2652
2652
|
title: s,
|
|
2653
2653
|
semantic: i = !1,
|
|
2654
2654
|
...d
|
|
2655
2655
|
}) => {
|
|
2656
|
-
const m = g(a
|
|
2656
|
+
const m = g(o, a);
|
|
2657
2657
|
return /* @__PURE__ */ I(fe, { children: [
|
|
2658
2658
|
/* @__PURE__ */ l(
|
|
2659
2659
|
"svg",
|
|
@@ -2673,13 +2673,13 @@ const dn = ({
|
|
|
2673
2673
|
] });
|
|
2674
2674
|
};
|
|
2675
2675
|
/*!
|
|
2676
|
-
@versini/ui-svgicon
|
|
2676
|
+
@versini/ui-svgicon v3.0.1
|
|
2677
2677
|
© 2024 gizmette.com
|
|
2678
2678
|
*/
|
|
2679
2679
|
try {
|
|
2680
2680
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
2681
|
-
version: "
|
|
2682
|
-
buildTime: "12/30/2024
|
|
2681
|
+
version: "3.0.1",
|
|
2682
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
2683
2683
|
homepage: "https://github.com/aversini/ui-components",
|
|
2684
2684
|
license: "MIT"
|
|
2685
2685
|
});
|
|
@@ -2689,9 +2689,8 @@ const un = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
|
|
|
2689
2689
|
$e,
|
|
2690
2690
|
{
|
|
2691
2691
|
defaultViewBox: "0 0 1200 500",
|
|
2692
|
-
defaultClassName: "w-full",
|
|
2693
2692
|
viewBox: t,
|
|
2694
|
-
className: e
|
|
2693
|
+
className: `w-full ${e}`,
|
|
2695
2694
|
title: "Sassy Dog",
|
|
2696
2695
|
...r,
|
|
2697
2696
|
children: /* @__PURE__ */ l("g", { transform: "matrix(11.9092 0 0 11.9092 470.0017 250.0009)", id: "879221", children: /* @__PURE__ */ l(
|
|
@@ -2714,7 +2713,7 @@ const un = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
|
|
|
2714
2713
|
$e,
|
|
2715
2714
|
{
|
|
2716
2715
|
defaultViewBox: "0 0 640 512",
|
|
2717
|
-
|
|
2716
|
+
size: "size-5",
|
|
2718
2717
|
viewBox: t,
|
|
2719
2718
|
className: e,
|
|
2720
2719
|
title: r || "Hide",
|
|
@@ -2742,7 +2741,7 @@ const un = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
|
|
|
2742
2741
|
$e,
|
|
2743
2742
|
{
|
|
2744
2743
|
defaultViewBox: "0 0 190 190",
|
|
2745
|
-
|
|
2744
|
+
size: "size-5",
|
|
2746
2745
|
viewBox: t,
|
|
2747
2746
|
className: e,
|
|
2748
2747
|
title: r || "Passkey",
|
|
@@ -2777,7 +2776,7 @@ const un = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
|
|
|
2777
2776
|
$e,
|
|
2778
2777
|
{
|
|
2779
2778
|
defaultViewBox: "0 0 576 512",
|
|
2780
|
-
|
|
2779
|
+
size: "size-5",
|
|
2781
2780
|
viewBox: t,
|
|
2782
2781
|
className: e,
|
|
2783
2782
|
title: r || "Show",
|
|
@@ -2795,26 +2794,26 @@ const un = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
|
|
|
2795
2794
|
}
|
|
2796
2795
|
);
|
|
2797
2796
|
/*!
|
|
2798
|
-
@versini/ui-icons
|
|
2797
|
+
@versini/ui-icons v3.0.1
|
|
2799
2798
|
© 2024 gizmette.com
|
|
2800
2799
|
*/
|
|
2801
2800
|
try {
|
|
2802
2801
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
2803
|
-
version: "
|
|
2804
|
-
buildTime: "12/30/2024
|
|
2802
|
+
version: "3.0.1",
|
|
2803
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
2805
2804
|
homepage: "https://github.com/aversini/ui-components",
|
|
2806
2805
|
license: "MIT"
|
|
2807
2806
|
});
|
|
2808
2807
|
} catch {
|
|
2809
2808
|
}
|
|
2810
2809
|
/*!
|
|
2811
|
-
@versini/ui-main v2.0.
|
|
2810
|
+
@versini/ui-main v2.0.4
|
|
2812
2811
|
© 2024 gizmette.com
|
|
2813
2812
|
*/
|
|
2814
2813
|
try {
|
|
2815
2814
|
window.__VERSINI_UI_MAIN__ || (window.__VERSINI_UI_MAIN__ = {
|
|
2816
|
-
version: "2.0.
|
|
2817
|
-
buildTime: "12/30/2024
|
|
2815
|
+
version: "2.0.4",
|
|
2816
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
2818
2817
|
homepage: "https://github.com/aversini/ui-components",
|
|
2819
2818
|
license: "MIT"
|
|
2820
2819
|
});
|
|
@@ -2974,19 +2973,19 @@ const gn = "av-main", yn = ({ children: e, className: t, raw: r = !1 }) => {
|
|
|
2974
2973
|
return /* @__PURE__ */ l("div", { className: i, style: s, ...a, children: e });
|
|
2975
2974
|
};
|
|
2976
2975
|
/*!
|
|
2977
|
-
@versini/ui-system v2.0.
|
|
2976
|
+
@versini/ui-system v2.0.5
|
|
2978
2977
|
© 2024 gizmette.com
|
|
2979
2978
|
*/
|
|
2980
2979
|
try {
|
|
2981
2980
|
window.__VERSINI_UI_SYSTEM__ || (window.__VERSINI_UI_SYSTEM__ = {
|
|
2982
|
-
version: "2.0.
|
|
2983
|
-
buildTime: "12/30/2024
|
|
2981
|
+
version: "2.0.5",
|
|
2982
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
2984
2983
|
homepage: "https://github.com/aversini/ui-components",
|
|
2985
2984
|
license: "MIT"
|
|
2986
2985
|
});
|
|
2987
2986
|
} catch {
|
|
2988
2987
|
}
|
|
2989
|
-
const tr = "av-text-input", En = "av-text-input-wrapper",
|
|
2988
|
+
const tr = "av-text-input", En = "av-text-input-wrapper", ze = "av-text-input-helper-text";
|
|
2990
2989
|
function wn() {
|
|
2991
2990
|
const e = $(!1);
|
|
2992
2991
|
return Q(() => (e.current = !0, () => {
|
|
@@ -3141,26 +3140,26 @@ function nr({
|
|
|
3141
3140
|
);
|
|
3142
3141
|
}
|
|
3143
3142
|
/*!
|
|
3144
|
-
@versini/ui-liveregion v1.2.
|
|
3143
|
+
@versini/ui-liveregion v1.2.6
|
|
3145
3144
|
© 2024 gizmette.com
|
|
3146
3145
|
*/
|
|
3147
3146
|
try {
|
|
3148
3147
|
window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
|
|
3149
|
-
version: "1.2.
|
|
3150
|
-
buildTime: "12/30/2024
|
|
3148
|
+
version: "1.2.6",
|
|
3149
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
3151
3150
|
homepage: "https://github.com/aversini/ui-components",
|
|
3152
3151
|
license: "MIT"
|
|
3153
3152
|
});
|
|
3154
3153
|
} catch {
|
|
3155
3154
|
}
|
|
3156
|
-
const
|
|
3155
|
+
const Rn = ({
|
|
3157
3156
|
mode: e
|
|
3158
3157
|
}) => g({
|
|
3159
3158
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
|
3160
3159
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
|
3161
3160
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
|
3162
3161
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
|
3163
|
-
}),
|
|
3162
|
+
}), Nn = ({
|
|
3164
3163
|
focusMode: e
|
|
3165
3164
|
}) => g("focus:outline focus:outline-2 focus:outline-offset-2", {
|
|
3166
3165
|
"focus:outline-focus-dark": e === "dark",
|
|
@@ -3209,18 +3208,18 @@ const Nn = ({
|
|
|
3209
3208
|
return "";
|
|
3210
3209
|
if (a)
|
|
3211
3210
|
return g(
|
|
3212
|
-
|
|
3211
|
+
ze,
|
|
3213
3212
|
"absolute px-2 cursor-not-allowed opacity-50 font-medium"
|
|
3214
3213
|
);
|
|
3215
3214
|
if (!e)
|
|
3216
|
-
return g(
|
|
3215
|
+
return g(ze, "absolute px-2 font-medium", {
|
|
3217
3216
|
"text-copy-lighter": r === "dark",
|
|
3218
3217
|
"text-copy-dark": r === "light",
|
|
3219
3218
|
"text-copy-dark dark:text-copy-lighter": r === "system",
|
|
3220
3219
|
"text-copy-lighter dark:text-copy-dark": r === "alt-system"
|
|
3221
3220
|
});
|
|
3222
3221
|
if (e)
|
|
3223
|
-
return g(
|
|
3222
|
+
return g(ze, "absolute px-2 font-medium", {
|
|
3224
3223
|
"text-copy-error-light bg-surface-darker": r === "dark",
|
|
3225
3224
|
"text-copy-error-dark": r === "light",
|
|
3226
3225
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
|
|
@@ -3265,8 +3264,8 @@ const Nn = ({
|
|
|
3265
3264
|
tr,
|
|
3266
3265
|
u,
|
|
3267
3266
|
"rounded-md text-base px-4",
|
|
3268
|
-
|
|
3269
|
-
|
|
3267
|
+
Rn({ mode: s }),
|
|
3268
|
+
Nn({ focusMode: i }),
|
|
3270
3269
|
xn({ noBorder: n, error: o }),
|
|
3271
3270
|
{
|
|
3272
3271
|
"disabled:cursor-not-allowed disabled:opacity-50": a
|
|
@@ -3313,7 +3312,7 @@ const Nn = ({
|
|
|
3313
3312
|
size: _ = "md",
|
|
3314
3313
|
...U
|
|
3315
3314
|
}, K) => {
|
|
3316
|
-
const [H, O] = In(), [W, G] = j(0), x = _n({ id: e, prefix: `${tr}-` }), pe = `${t} error, ${f}`, Z = $(null),
|
|
3315
|
+
const [H, O] = In(), [W, G] = j(0), x = _n({ id: e, prefix: `${tr}-` }), pe = `${t} error, ${f}`, Z = $(null), R = $(null), D = {
|
|
3317
3316
|
xs: { label: "-25px", helperText: "30px" },
|
|
3318
3317
|
sm: { label: "-29px", helperText: "34px" },
|
|
3319
3318
|
md: { label: "-33px", helperText: "38px" },
|
|
@@ -3336,7 +3335,7 @@ const Nn = ({
|
|
|
3336
3335
|
}, [O]), it(() => {
|
|
3337
3336
|
var ee, y;
|
|
3338
3337
|
const { label: T, helperText: b } = D[_];
|
|
3339
|
-
(ee = Z == null ? void 0 : Z.current) == null || ee.style.setProperty("--av-text-input-label", T), (y =
|
|
3338
|
+
(ee = Z == null ? void 0 : Z.current) == null || ee.style.setProperty("--av-text-input-label", T), (y = R == null ? void 0 : R.current) == null || y.style.setProperty(
|
|
3340
3339
|
"--av-text-input-helper-text",
|
|
3341
3340
|
b
|
|
3342
3341
|
);
|
|
@@ -3379,7 +3378,7 @@ const Nn = ({
|
|
|
3379
3378
|
f && /* @__PURE__ */ l(
|
|
3380
3379
|
"div",
|
|
3381
3380
|
{
|
|
3382
|
-
ref:
|
|
3381
|
+
ref: R,
|
|
3383
3382
|
id: `${x}-helper`,
|
|
3384
3383
|
className: B.helperText,
|
|
3385
3384
|
children: f
|
|
@@ -3431,24 +3430,24 @@ const Ln = 500, Mn = 5e3, $n = 2e4, or = P.forwardRef(
|
|
|
3431
3430
|
message: `${r} hiding characters`
|
|
3432
3431
|
}), n && n(!0);
|
|
3433
3432
|
}, $n));
|
|
3434
|
-
}, W = (
|
|
3435
|
-
|
|
3433
|
+
}, W = (R) => {
|
|
3434
|
+
R.preventDefault();
|
|
3436
3435
|
const D = !w.current;
|
|
3437
3436
|
w.current = D, O(), h(D), E({
|
|
3438
3437
|
announcementTimeout: Ln,
|
|
3439
3438
|
politeness: "assertive",
|
|
3440
3439
|
message: D ? "Characters hidden" : "Characters showing"
|
|
3441
3440
|
}), n && n(D);
|
|
3442
|
-
}, G = (
|
|
3441
|
+
}, G = (R) => {
|
|
3443
3442
|
var D;
|
|
3444
|
-
const { relatedTarget: B } =
|
|
3443
|
+
const { relatedTarget: B } = R, ee = (D = U.current) == null ? void 0 : D.parentElement;
|
|
3445
3444
|
ee != null && ee.contains(B) || d && d();
|
|
3446
|
-
}, x = (
|
|
3447
|
-
O(), s && s(
|
|
3448
|
-
}, pe = (
|
|
3449
|
-
O(), i && i(
|
|
3450
|
-
}, Z = (
|
|
3451
|
-
O(), o && o(
|
|
3445
|
+
}, x = (R) => {
|
|
3446
|
+
O(), s && s(R), G(R);
|
|
3447
|
+
}, pe = (R) => {
|
|
3448
|
+
O(), i && i(R);
|
|
3449
|
+
}, Z = (R) => {
|
|
3450
|
+
O(), o && o(R);
|
|
3452
3451
|
};
|
|
3453
3452
|
return Q(() => () => {
|
|
3454
3453
|
_.current && clearTimeout(_.current);
|
|
@@ -3489,19 +3488,19 @@ const Ln = 500, Mn = 5e3, $n = 2e4, or = P.forwardRef(
|
|
|
3489
3488
|
);
|
|
3490
3489
|
or.displayName = "TextInputMask";
|
|
3491
3490
|
/*!
|
|
3492
|
-
@versini/ui-textinput v2.0.
|
|
3491
|
+
@versini/ui-textinput v2.0.4
|
|
3493
3492
|
© 2024 gizmette.com
|
|
3494
3493
|
*/
|
|
3495
3494
|
try {
|
|
3496
3495
|
window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
|
|
3497
|
-
version: "2.0.
|
|
3498
|
-
buildTime: "12/30/2024
|
|
3496
|
+
version: "2.0.4",
|
|
3497
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
3499
3498
|
homepage: "https://github.com/aversini/ui-components",
|
|
3500
3499
|
license: "MIT"
|
|
3501
3500
|
});
|
|
3502
3501
|
} catch {
|
|
3503
3502
|
}
|
|
3504
|
-
const Un = "ASK! ME! ANYTHING!", sr = "LeeLou", Kn = "gizmette.com", Hn = "Log in", Wn = "Sign in with a Passkey", Vo = "Log out", Gn = "Password", Bn = "Powered by ", Yo = "Send",
|
|
3503
|
+
const Un = "ASK! ME! ANYTHING!", sr = "LeeLou", Kn = "gizmette.com", Hn = "Log in", Wn = "Sign in with a Passkey", Vo = "Log out", Gn = "Password", Bn = "Powered by ", Yo = "Send", zo = "Profile", Fo = "Statistics", jo = "Chat history", qo = "About", Xo = "Type your question here", Qo = "<clipboard>", Zo = {
|
|
3505
3504
|
ACTION_WHILE_STREAMING: {
|
|
3506
3505
|
content: "Cancel chat"
|
|
3507
3506
|
},
|
|
@@ -3544,13 +3543,13 @@ const Un = "ASK! ME! ANYTHING!", sr = "LeeLou", Kn = "gizmette.com", Hn = "Log i
|
|
|
3544
3543
|
}
|
|
3545
3544
|
};
|
|
3546
3545
|
/*!
|
|
3547
|
-
@versini/ui-footer v2.0.
|
|
3546
|
+
@versini/ui-footer v2.0.4
|
|
3548
3547
|
© 2024 gizmette.com
|
|
3549
3548
|
*/
|
|
3550
3549
|
try {
|
|
3551
3550
|
window.__VERSINI_UI_FOOTER__ || (window.__VERSINI_UI_FOOTER__ = {
|
|
3552
|
-
version: "2.0.
|
|
3553
|
-
buildTime: "12/30/2024
|
|
3551
|
+
version: "2.0.4",
|
|
3552
|
+
buildTime: "12/30/2024 05:27 PM EST",
|
|
3554
3553
|
homepage: "https://github.com/aversini/ui-components",
|
|
3555
3554
|
license: "MIT"
|
|
3556
3555
|
});
|
|
@@ -3607,7 +3606,7 @@ const Jn = "av-footer", Vn = ({
|
|
|
3607
3606
|
state: { tag: "" },
|
|
3608
3607
|
dispatch: () => {
|
|
3609
3608
|
}
|
|
3610
|
-
}),
|
|
3609
|
+
}), zn = ({
|
|
3611
3610
|
serverStats: e
|
|
3612
3611
|
}) => {
|
|
3613
3612
|
const { state: t } = Qe(Yn);
|
|
@@ -3618,7 +3617,7 @@ const Jn = "av-footer", Vn = ({
|
|
|
3618
3617
|
row1: /* @__PURE__ */ I("div", { children: [
|
|
3619
3618
|
sr,
|
|
3620
3619
|
" v",
|
|
3621
|
-
"5.11.
|
|
3620
|
+
"5.11.2",
|
|
3622
3621
|
" - ",
|
|
3623
3622
|
Bn,
|
|
3624
3623
|
t && t.engine,
|
|
@@ -3632,15 +3631,15 @@ const Jn = "av-footer", Vn = ({
|
|
|
3632
3631
|
] })
|
|
3633
3632
|
}
|
|
3634
3633
|
);
|
|
3635
|
-
},
|
|
3634
|
+
}, Fn = At(
|
|
3636
3635
|
() => import(
|
|
3637
3636
|
/* webpackChunkName: "LazyHeader" */
|
|
3638
|
-
"./LazyHeader.
|
|
3637
|
+
"./LazyHeader.9qAKBwpW.js"
|
|
3639
3638
|
)
|
|
3640
3639
|
), jn = () => {
|
|
3641
3640
|
const { isAuthenticated: e } = tt();
|
|
3642
3641
|
return /* @__PURE__ */ I(fe, { children: [
|
|
3643
|
-
e && /* @__PURE__ */ l(vt, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(
|
|
3642
|
+
e && /* @__PURE__ */ l(vt, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(Fn, {}) }),
|
|
3644
3643
|
/* @__PURE__ */ I("div", { className: "flex items-center justify-center", children: [
|
|
3645
3644
|
/* @__PURE__ */ l("div", { className: "basis-1/4", children: /* @__PURE__ */ l(un, {}) }),
|
|
3646
3645
|
/* @__PURE__ */ I("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
|
|
@@ -3737,17 +3736,17 @@ const Jn = "av-footer", Vn = ({
|
|
|
3737
3736
|
className: "mb-4 mt-1",
|
|
3738
3737
|
labelRight: Wn,
|
|
3739
3738
|
onClick: r,
|
|
3740
|
-
children: /* @__PURE__ */ l(mn, {
|
|
3739
|
+
children: /* @__PURE__ */ l(mn, { size: "size-7" })
|
|
3741
3740
|
}
|
|
3742
3741
|
) }) })
|
|
3743
3742
|
] })
|
|
3744
3743
|
] }),
|
|
3745
|
-
/* @__PURE__ */ l(
|
|
3744
|
+
/* @__PURE__ */ l(zn, {})
|
|
3746
3745
|
] });
|
|
3747
3746
|
}, Xn = new URL(document.location.href).searchParams, Qn = !!Xn.get("debug") || !1, Zn = At(
|
|
3748
3747
|
() => import(
|
|
3749
3748
|
/* webpackChunkName: "LazyApp" */
|
|
3750
|
-
"./LazyApp.
|
|
3749
|
+
"./LazyApp.Dyu2ic9d.js"
|
|
3751
3750
|
).then((e) => e.LazyApp)
|
|
3752
3751
|
), eo = ({ isComponent: e }) => {
|
|
3753
3752
|
const { isAuthenticated: t } = tt();
|
|
@@ -3762,16 +3761,16 @@ export {
|
|
|
3762
3761
|
wo as ACTION_MESSAGE,
|
|
3763
3762
|
Io as ACTION_MODEL,
|
|
3764
3763
|
To as ACTION_RESET,
|
|
3765
|
-
|
|
3764
|
+
No as ACTION_RESET_TAGS,
|
|
3766
3765
|
_o as ACTION_RESTORE,
|
|
3767
3766
|
Ao as ACTION_SEARCH,
|
|
3768
3767
|
xo as ACTION_SET_TAGS,
|
|
3769
3768
|
vo as ACTION_SORT,
|
|
3770
3769
|
ko as ACTION_STREAMING,
|
|
3771
|
-
|
|
3770
|
+
Ro as ACTION_TOGGLE_TAG,
|
|
3772
3771
|
sr as APP_NAME,
|
|
3773
3772
|
Yn as AppContext,
|
|
3774
|
-
|
|
3773
|
+
zn as AppFooter,
|
|
3775
3774
|
er as C,
|
|
3776
3775
|
rs as CARDS,
|
|
3777
3776
|
Qo as CLIPBOARD_TAG,
|
|
@@ -3793,7 +3792,7 @@ export {
|
|
|
3793
3792
|
jn as MessagesContainerHeader,
|
|
3794
3793
|
es as NA,
|
|
3795
3794
|
qe as O,
|
|
3796
|
-
|
|
3795
|
+
zo as PROFILE_TITLE,
|
|
3797
3796
|
dn as R,
|
|
3798
3797
|
ho as ROLE_ASSISTANT,
|
|
3799
3798
|
go as ROLE_HIDDEN,
|
|
@@ -3801,7 +3800,7 @@ export {
|
|
|
3801
3800
|
mo as ROLE_SYSTEM,
|
|
3802
3801
|
uo as ROLE_USER,
|
|
3803
3802
|
Yo as SEND,
|
|
3804
|
-
|
|
3803
|
+
Fo as STATS,
|
|
3805
3804
|
Mo as STATS_SEPARATOR,
|
|
3806
3805
|
os as SassySaint,
|
|
3807
3806
|
ts as TAGS_DESCRIPTION,
|
|
@@ -3815,12 +3814,12 @@ export {
|
|
|
3815
3814
|
$e as g,
|
|
3816
3815
|
$o as getCurrentGeoLocation,
|
|
3817
3816
|
qa as getMessageContaintWrapperClass,
|
|
3818
|
-
mn as i,
|
|
3819
3817
|
Ho as isLastMessageFromRole,
|
|
3820
3818
|
le as j,
|
|
3821
3819
|
Wo as numberFormatter,
|
|
3822
3820
|
Bo as pluralize,
|
|
3823
3821
|
Uo as renderDataAsList,
|
|
3824
3822
|
tt as un,
|
|
3825
|
-
ot as ye
|
|
3823
|
+
ot as ye,
|
|
3824
|
+
mn as z
|
|
3826
3825
|
};
|