@centive/aria-sdk 0.3.0 → 0.4.0
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/README.md +61 -31
- package/dist/components/AriaAssistant.d.ts +10 -1
- package/dist/components/AriaAssistant.d.ts.map +1 -1
- package/dist/components/AriaTriggerButton.d.ts.map +1 -1
- package/dist/context/AriaProvider.d.ts +1 -1
- package/dist/context/AriaProvider.d.ts.map +1 -1
- package/dist/{index-SOt2llBN.js → index-BhEwL6TA.js} +3 -3
- package/dist/{index-SOt2llBN.js.map → index-BhEwL6TA.js.map} +1 -1
- package/dist/{index-BP2VXIUE.js → index-Bwp7d2Nw.js} +866 -838
- package/dist/index-Bwp7d2Nw.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -25
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-BP2VXIUE.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as v, jsxs as D, Fragment as ut } from "react/jsx-runtime";
|
|
2
2
|
import * as we from "react";
|
|
3
|
-
import { createContext as cr,
|
|
4
|
-
import { CheckCircle2 as
|
|
3
|
+
import { createContext as cr, useContext as dr, useState as le, useRef as Oe, useEffect as Fe, useCallback as ce } from "react";
|
|
4
|
+
import { CheckCircle2 as Et, AlertCircle as at, Zap as xt, RefreshCw as St, Clock as ur, MessageCircle as Ut, Sparkles as ht, User as hr, Bot as pr, Send as gr, MessageCircleOff as fr, MicOff as kt, Mic as Ct, X as pt, Loader2 as mr, Phone as wr, MessageSquare as br } from "lucide-react";
|
|
5
5
|
import { createPortal as vr } from "react-dom";
|
|
6
|
-
var st = {}, Je = {},
|
|
6
|
+
var st = {}, Je = {}, _t;
|
|
7
7
|
function yr() {
|
|
8
|
-
if (
|
|
9
|
-
|
|
8
|
+
if (_t) return Je;
|
|
9
|
+
_t = 1, Je.byteLength = l, Je.toByteArray = b, Je.fromByteArray = A;
|
|
10
10
|
for (var i = [], r = [], n = typeof Uint8Array < "u" ? Uint8Array : Array, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", d = 0, h = a.length; d < h; ++d)
|
|
11
11
|
i[d] = a[d], r[a.charCodeAt(d)] = d;
|
|
12
12
|
r[45] = 62, r[95] = 63;
|
|
@@ -14,20 +14,20 @@ function yr() {
|
|
|
14
14
|
var x = w.length;
|
|
15
15
|
if (x % 4 > 0)
|
|
16
16
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
return [
|
|
17
|
+
var S = w.indexOf("=");
|
|
18
|
+
S === -1 && (S = x);
|
|
19
|
+
var M = S === x ? 0 : 4 - S % 4;
|
|
20
|
+
return [S, M];
|
|
21
21
|
}
|
|
22
22
|
function l(w) {
|
|
23
|
-
var x = c(w),
|
|
24
|
-
return (
|
|
23
|
+
var x = c(w), S = x[0], M = x[1];
|
|
24
|
+
return (S + M) * 3 / 4 - M;
|
|
25
25
|
}
|
|
26
|
-
function m(w, x,
|
|
27
|
-
return (x +
|
|
26
|
+
function m(w, x, S) {
|
|
27
|
+
return (x + S) * 3 / 4 - S;
|
|
28
28
|
}
|
|
29
29
|
function b(w) {
|
|
30
|
-
var x,
|
|
30
|
+
var x, S = c(w), M = S[0], N = S[1], z = new n(m(w, M, N)), j = 0, H = N > 0 ? M - 4 : M, F;
|
|
31
31
|
for (F = 0; F < H; F += 4)
|
|
32
32
|
x = r[w.charCodeAt(F)] << 18 | r[w.charCodeAt(F + 1)] << 12 | r[w.charCodeAt(F + 2)] << 6 | r[w.charCodeAt(F + 3)], z[j++] = x >> 16 & 255, z[j++] = x >> 8 & 255, z[j++] = x & 255;
|
|
33
33
|
return N === 2 && (x = r[w.charCodeAt(F)] << 2 | r[w.charCodeAt(F + 1)] >> 4, z[j++] = x & 255), N === 1 && (x = r[w.charCodeAt(F)] << 10 | r[w.charCodeAt(F + 1)] << 4 | r[w.charCodeAt(F + 2)] >> 2, z[j++] = x >> 8 & 255, z[j++] = x & 255), z;
|
|
@@ -35,26 +35,26 @@ function yr() {
|
|
|
35
35
|
function f(w) {
|
|
36
36
|
return i[w >> 18 & 63] + i[w >> 12 & 63] + i[w >> 6 & 63] + i[w & 63];
|
|
37
37
|
}
|
|
38
|
-
function u(w, x,
|
|
39
|
-
for (var
|
|
40
|
-
|
|
38
|
+
function u(w, x, S) {
|
|
39
|
+
for (var M, N = [], z = x; z < S; z += 3)
|
|
40
|
+
M = (w[z] << 16 & 16711680) + (w[z + 1] << 8 & 65280) + (w[z + 2] & 255), N.push(f(M));
|
|
41
41
|
return N.join("");
|
|
42
42
|
}
|
|
43
43
|
function A(w) {
|
|
44
|
-
for (var x,
|
|
44
|
+
for (var x, S = w.length, M = S % 3, N = [], z = 16383, j = 0, H = S - M; j < H; j += z)
|
|
45
45
|
N.push(u(w, j, j + z > H ? H : j + z));
|
|
46
|
-
return
|
|
46
|
+
return M === 1 ? (x = w[S - 1], N.push(
|
|
47
47
|
i[x >> 2] + i[x << 4 & 63] + "=="
|
|
48
|
-
)) :
|
|
48
|
+
)) : M === 2 && (x = (w[S - 2] << 8) + w[S - 1], N.push(
|
|
49
49
|
i[x >> 10] + i[x >> 4 & 63] + i[x << 2 & 63] + "="
|
|
50
50
|
)), N.join("");
|
|
51
51
|
}
|
|
52
52
|
return Je;
|
|
53
53
|
}
|
|
54
54
|
var Ze = {};
|
|
55
|
-
var
|
|
55
|
+
var It;
|
|
56
56
|
function Er() {
|
|
57
|
-
return
|
|
57
|
+
return It || (It = 1, Ze.read = function(i, r, n, a, d) {
|
|
58
58
|
var h, c, l = d * 8 - a - 1, m = (1 << l) - 1, b = m >> 1, f = -7, u = n ? d - 1 : 0, A = n ? -1 : 1, w = i[r + u];
|
|
59
59
|
for (u += A, h = w & (1 << -f) - 1, w >>= -f, f += l; f > 0; h = h * 256 + i[r + u], u += A, f -= 8)
|
|
60
60
|
;
|
|
@@ -69,17 +69,17 @@ function Er() {
|
|
|
69
69
|
}
|
|
70
70
|
return (w ? -1 : 1) * c * Math.pow(2, h - a);
|
|
71
71
|
}, Ze.write = function(i, r, n, a, d, h) {
|
|
72
|
-
var c, l, m, b = h * 8 - d - 1, f = (1 << b) - 1, u = f >> 1, A = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, w = a ? 0 : h - 1, x = a ? 1 : -1,
|
|
72
|
+
var c, l, m, b = h * 8 - d - 1, f = (1 << b) - 1, u = f >> 1, A = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, w = a ? 0 : h - 1, x = a ? 1 : -1, S = r < 0 || r === 0 && 1 / r < 0 ? 1 : 0;
|
|
73
73
|
for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (l = isNaN(r) ? 1 : 0, c = f) : (c = Math.floor(Math.log(r) / Math.LN2), r * (m = Math.pow(2, -c)) < 1 && (c--, m *= 2), c + u >= 1 ? r += A / m : r += A * Math.pow(2, 1 - u), r * m >= 2 && (c++, m /= 2), c + u >= f ? (l = 0, c = f) : c + u >= 1 ? (l = (r * m - 1) * Math.pow(2, d), c = c + u) : (l = r * Math.pow(2, u - 1) * Math.pow(2, d), c = 0)); d >= 8; i[n + w] = l & 255, w += x, l /= 256, d -= 8)
|
|
74
74
|
;
|
|
75
75
|
for (c = c << d | l, b += d; b > 0; i[n + w] = c & 255, w += x, c /= 256, b -= 8)
|
|
76
76
|
;
|
|
77
|
-
i[n + w - x] |=
|
|
77
|
+
i[n + w - x] |= S * 128;
|
|
78
78
|
}), Ze;
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var At;
|
|
81
81
|
function xr() {
|
|
82
|
-
return
|
|
82
|
+
return At || (At = 1, (function(i) {
|
|
83
83
|
const r = yr(), n = Er(), a = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
|
|
84
84
|
i.Buffer = l, i.SlowBuffer = z, i.INSPECT_MAX_BYTES = 50;
|
|
85
85
|
const d = 2147483647;
|
|
@@ -136,7 +136,7 @@ function xr() {
|
|
|
136
136
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof o
|
|
137
137
|
);
|
|
138
138
|
if (me(o, ArrayBuffer) || o && me(o.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (me(o, SharedArrayBuffer) || o && me(o.buffer, SharedArrayBuffer)))
|
|
139
|
-
return
|
|
139
|
+
return S(o, e, t);
|
|
140
140
|
if (typeof o == "number")
|
|
141
141
|
throw new TypeError(
|
|
142
142
|
'The "value" argument must not be of type number. Received type number'
|
|
@@ -144,7 +144,7 @@ function xr() {
|
|
|
144
144
|
const s = o.valueOf && o.valueOf();
|
|
145
145
|
if (s != null && s !== o)
|
|
146
146
|
return l.from(s, e, t);
|
|
147
|
-
const p =
|
|
147
|
+
const p = M(o);
|
|
148
148
|
if (p) return p;
|
|
149
149
|
if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof o[Symbol.toPrimitive] == "function")
|
|
150
150
|
return l.from(o[Symbol.toPrimitive]("string"), e, t);
|
|
@@ -192,11 +192,11 @@ function xr() {
|
|
|
192
192
|
function x(o) {
|
|
193
193
|
if (me(o, Uint8Array)) {
|
|
194
194
|
const e = new Uint8Array(o);
|
|
195
|
-
return
|
|
195
|
+
return S(e.buffer, e.byteOffset, e.byteLength);
|
|
196
196
|
}
|
|
197
197
|
return w(o);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function S(o, e, t) {
|
|
200
200
|
if (e < 0 || o.byteLength < e)
|
|
201
201
|
throw new RangeError('"offset" is outside of buffer bounds');
|
|
202
202
|
if (o.byteLength < e + (t || 0))
|
|
@@ -204,7 +204,7 @@ function xr() {
|
|
|
204
204
|
let s;
|
|
205
205
|
return e === void 0 && t === void 0 ? s = new Uint8Array(o) : t === void 0 ? s = new Uint8Array(o, e) : s = new Uint8Array(o, e, t), Object.setPrototypeOf(s, l.prototype), s;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function M(o) {
|
|
208
208
|
if (l.isBuffer(o)) {
|
|
209
209
|
const e = N(o.length) | 0, t = c(e);
|
|
210
210
|
return t.length === 0 || o.copy(t, 0, 0, e), t;
|
|
@@ -231,7 +231,7 @@ function xr() {
|
|
|
231
231
|
);
|
|
232
232
|
if (e === t) return 0;
|
|
233
233
|
let s = e.length, p = t.length;
|
|
234
|
-
for (let g = 0,
|
|
234
|
+
for (let g = 0, y = Math.min(s, p); g < y; ++g)
|
|
235
235
|
if (e[g] !== t[g]) {
|
|
236
236
|
s = e[g], p = t[g];
|
|
237
237
|
break;
|
|
@@ -266,18 +266,18 @@ function xr() {
|
|
|
266
266
|
const p = l.allocUnsafe(t);
|
|
267
267
|
let g = 0;
|
|
268
268
|
for (s = 0; s < e.length; ++s) {
|
|
269
|
-
let
|
|
270
|
-
if (me(
|
|
271
|
-
g +
|
|
269
|
+
let y = e[s];
|
|
270
|
+
if (me(y, Uint8Array))
|
|
271
|
+
g + y.length > p.length ? (l.isBuffer(y) || (y = l.from(y)), y.copy(p, g)) : Uint8Array.prototype.set.call(
|
|
272
272
|
p,
|
|
273
|
-
|
|
273
|
+
y,
|
|
274
274
|
g
|
|
275
275
|
);
|
|
276
|
-
else if (l.isBuffer(
|
|
277
|
-
|
|
276
|
+
else if (l.isBuffer(y))
|
|
277
|
+
y.copy(p, g);
|
|
278
278
|
else
|
|
279
279
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
280
|
-
g +=
|
|
280
|
+
g += y.length;
|
|
281
281
|
}
|
|
282
282
|
return p;
|
|
283
283
|
};
|
|
@@ -310,7 +310,7 @@ function xr() {
|
|
|
310
310
|
case "hex":
|
|
311
311
|
return t >>> 1;
|
|
312
312
|
case "base64":
|
|
313
|
-
return
|
|
313
|
+
return yt(o).length;
|
|
314
314
|
default:
|
|
315
315
|
if (p)
|
|
316
316
|
return s ? -1 : nt(o).length;
|
|
@@ -396,14 +396,14 @@ function xr() {
|
|
|
396
396
|
if (t >= s)
|
|
397
397
|
return 1;
|
|
398
398
|
if (t >>>= 0, s >>>= 0, p >>>= 0, g >>>= 0, this === e) return 0;
|
|
399
|
-
let
|
|
400
|
-
const Z = Math.min(
|
|
399
|
+
let y = g - p, U = s - t;
|
|
400
|
+
const Z = Math.min(y, U), J = this.slice(p, g), Q = e.slice(t, s);
|
|
401
401
|
for (let W = 0; W < Z; ++W)
|
|
402
402
|
if (J[W] !== Q[W]) {
|
|
403
|
-
|
|
403
|
+
y = J[W], U = Q[W];
|
|
404
404
|
break;
|
|
405
405
|
}
|
|
406
|
-
return
|
|
406
|
+
return y < U ? -1 : U < y ? 1 : 0;
|
|
407
407
|
};
|
|
408
408
|
function G(o, e, t, s, p) {
|
|
409
409
|
if (o.length === 0) return -1;
|
|
@@ -420,11 +420,11 @@ function xr() {
|
|
|
420
420
|
throw new TypeError("val must be string, number or Buffer");
|
|
421
421
|
}
|
|
422
422
|
function ae(o, e, t, s, p) {
|
|
423
|
-
let g = 1,
|
|
423
|
+
let g = 1, y = o.length, U = e.length;
|
|
424
424
|
if (s !== void 0 && (s = String(s).toLowerCase(), s === "ucs2" || s === "ucs-2" || s === "utf16le" || s === "utf-16le")) {
|
|
425
425
|
if (o.length < 2 || e.length < 2)
|
|
426
426
|
return -1;
|
|
427
|
-
g = 2,
|
|
427
|
+
g = 2, y /= 2, U /= 2, t /= 2;
|
|
428
428
|
}
|
|
429
429
|
function Z(Q, W) {
|
|
430
430
|
return g === 1 ? Q[W] : Q.readUInt16BE(W * g);
|
|
@@ -432,15 +432,15 @@ function xr() {
|
|
|
432
432
|
let J;
|
|
433
433
|
if (p) {
|
|
434
434
|
let Q = -1;
|
|
435
|
-
for (J = t; J <
|
|
435
|
+
for (J = t; J < y; J++)
|
|
436
436
|
if (Z(o, J) === Z(e, Q === -1 ? 0 : J - Q)) {
|
|
437
|
-
if (Q === -1 && (Q = J), J - Q + 1 ===
|
|
437
|
+
if (Q === -1 && (Q = J), J - Q + 1 === U) return Q * g;
|
|
438
438
|
} else
|
|
439
439
|
Q !== -1 && (J -= J - Q), Q = -1;
|
|
440
440
|
} else
|
|
441
|
-
for (t +
|
|
441
|
+
for (t + U > y && (t = y - U), J = t; J >= 0; J--) {
|
|
442
442
|
let Q = !0;
|
|
443
|
-
for (let W = 0; W <
|
|
443
|
+
for (let W = 0; W < U; W++)
|
|
444
444
|
if (Z(o, J + W) !== Z(e, W)) {
|
|
445
445
|
Q = !1;
|
|
446
446
|
break;
|
|
@@ -462,13 +462,13 @@ function xr() {
|
|
|
462
462
|
s ? (s = Number(s), s > p && (s = p)) : s = p;
|
|
463
463
|
const g = e.length;
|
|
464
464
|
s > g / 2 && (s = g / 2);
|
|
465
|
-
let
|
|
466
|
-
for (
|
|
467
|
-
const
|
|
468
|
-
if (ot(
|
|
469
|
-
o[t +
|
|
465
|
+
let y;
|
|
466
|
+
for (y = 0; y < s; ++y) {
|
|
467
|
+
const U = parseInt(e.substr(y * 2, 2), 16);
|
|
468
|
+
if (ot(U)) return y;
|
|
469
|
+
o[t + y] = U;
|
|
470
470
|
}
|
|
471
|
-
return
|
|
471
|
+
return y;
|
|
472
472
|
}
|
|
473
473
|
function $(o, e, t, s) {
|
|
474
474
|
return Xe(nt(e, o.length - t), o, t, s);
|
|
@@ -477,7 +477,7 @@ function xr() {
|
|
|
477
477
|
return Xe(or(e), o, t, s);
|
|
478
478
|
}
|
|
479
479
|
function ze(o, e, t, s) {
|
|
480
|
-
return Xe(
|
|
480
|
+
return Xe(yt(e), o, t, s);
|
|
481
481
|
}
|
|
482
482
|
function be(o, e, t, s) {
|
|
483
483
|
return Xe(ar(e, o.length - t), o, t, s);
|
|
@@ -497,7 +497,7 @@ function xr() {
|
|
|
497
497
|
if ((s === void 0 || s > g) && (s = g), e.length > 0 && (s < 0 || t < 0) || t > this.length)
|
|
498
498
|
throw new RangeError("Attempt to write outside buffer bounds");
|
|
499
499
|
p || (p = "utf8");
|
|
500
|
-
let
|
|
500
|
+
let y = !1;
|
|
501
501
|
for (; ; )
|
|
502
502
|
switch (p) {
|
|
503
503
|
case "hex":
|
|
@@ -517,8 +517,8 @@ function xr() {
|
|
|
517
517
|
case "utf-16le":
|
|
518
518
|
return be(this, e, t, s);
|
|
519
519
|
default:
|
|
520
|
-
if (
|
|
521
|
-
p = ("" + p).toLowerCase(),
|
|
520
|
+
if (y) throw new TypeError("Unknown encoding: " + p);
|
|
521
|
+
p = ("" + p).toLowerCase(), y = !0;
|
|
522
522
|
}
|
|
523
523
|
}, l.prototype.toJSON = function() {
|
|
524
524
|
return {
|
|
@@ -535,24 +535,24 @@ function xr() {
|
|
|
535
535
|
let p = e;
|
|
536
536
|
for (; p < t; ) {
|
|
537
537
|
const g = o[p];
|
|
538
|
-
let
|
|
539
|
-
if (p +
|
|
538
|
+
let y = null, U = g > 239 ? 4 : g > 223 ? 3 : g > 191 ? 2 : 1;
|
|
539
|
+
if (p + U <= t) {
|
|
540
540
|
let Z, J, Q, W;
|
|
541
|
-
switch (
|
|
541
|
+
switch (U) {
|
|
542
542
|
case 1:
|
|
543
|
-
g < 128 && (
|
|
543
|
+
g < 128 && (y = g);
|
|
544
544
|
break;
|
|
545
545
|
case 2:
|
|
546
|
-
Z = o[p + 1], (Z & 192) === 128 && (W = (g & 31) << 6 | Z & 63, W > 127 && (
|
|
546
|
+
Z = o[p + 1], (Z & 192) === 128 && (W = (g & 31) << 6 | Z & 63, W > 127 && (y = W));
|
|
547
547
|
break;
|
|
548
548
|
case 3:
|
|
549
|
-
Z = o[p + 1], J = o[p + 2], (Z & 192) === 128 && (J & 192) === 128 && (W = (g & 15) << 12 | (Z & 63) << 6 | J & 63, W > 2047 && (W < 55296 || W > 57343) && (
|
|
549
|
+
Z = o[p + 1], J = o[p + 2], (Z & 192) === 128 && (J & 192) === 128 && (W = (g & 15) << 12 | (Z & 63) << 6 | J & 63, W > 2047 && (W < 55296 || W > 57343) && (y = W));
|
|
550
550
|
break;
|
|
551
551
|
case 4:
|
|
552
|
-
Z = o[p + 1], J = o[p + 2], Q = o[p + 3], (Z & 192) === 128 && (J & 192) === 128 && (Q & 192) === 128 && (W = (g & 15) << 18 | (Z & 63) << 12 | (J & 63) << 6 | Q & 63, W > 65535 && W < 1114112 && (
|
|
552
|
+
Z = o[p + 1], J = o[p + 2], Q = o[p + 3], (Z & 192) === 128 && (J & 192) === 128 && (Q & 192) === 128 && (W = (g & 15) << 18 | (Z & 63) << 12 | (J & 63) << 6 | Q & 63, W > 65535 && W < 1114112 && (y = W));
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
|
|
555
|
+
y === null ? (y = 65533, U = 1) : y > 65535 && (y -= 65536, s.push(y >>> 10 & 1023 | 55296), y = 56320 | y & 1023), s.push(y), p += U;
|
|
556
556
|
}
|
|
557
557
|
return ne(s);
|
|
558
558
|
}
|
|
@@ -610,9 +610,9 @@ function xr() {
|
|
|
610
610
|
}
|
|
611
611
|
l.prototype.readUintLE = l.prototype.readUIntLE = function(e, t, s) {
|
|
612
612
|
e = e >>> 0, t = t >>> 0, s || q(e, t, this.length);
|
|
613
|
-
let p = this[e], g = 1,
|
|
614
|
-
for (; ++
|
|
615
|
-
p += this[e +
|
|
613
|
+
let p = this[e], g = 1, y = 0;
|
|
614
|
+
for (; ++y < t && (g *= 256); )
|
|
615
|
+
p += this[e + y] * g;
|
|
616
616
|
return p;
|
|
617
617
|
}, l.prototype.readUintBE = l.prototype.readUIntBE = function(e, t, s) {
|
|
618
618
|
e = e >>> 0, t = t >>> 0, s || q(e, t, this.length);
|
|
@@ -644,16 +644,16 @@ function xr() {
|
|
|
644
644
|
return (BigInt(p) << BigInt(32)) + BigInt(g);
|
|
645
645
|
}), l.prototype.readIntLE = function(e, t, s) {
|
|
646
646
|
e = e >>> 0, t = t >>> 0, s || q(e, t, this.length);
|
|
647
|
-
let p = this[e], g = 1,
|
|
648
|
-
for (; ++
|
|
649
|
-
p += this[e +
|
|
647
|
+
let p = this[e], g = 1, y = 0;
|
|
648
|
+
for (; ++y < t && (g *= 256); )
|
|
649
|
+
p += this[e + y] * g;
|
|
650
650
|
return g *= 128, p >= g && (p -= Math.pow(2, 8 * t)), p;
|
|
651
651
|
}, l.prototype.readIntBE = function(e, t, s) {
|
|
652
652
|
e = e >>> 0, t = t >>> 0, s || q(e, t, this.length);
|
|
653
|
-
let p = t, g = 1,
|
|
653
|
+
let p = t, g = 1, y = this[e + --p];
|
|
654
654
|
for (; p > 0 && (g *= 256); )
|
|
655
|
-
|
|
656
|
-
return g *= 128,
|
|
655
|
+
y += this[e + --p] * g;
|
|
656
|
+
return g *= 128, y >= g && (y -= Math.pow(2, 8 * t)), y;
|
|
657
657
|
}, l.prototype.readInt8 = function(e, t) {
|
|
658
658
|
return e = e >>> 0, t || q(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
|
|
659
659
|
}, l.prototype.readInt16LE = function(e, t) {
|
|
@@ -697,21 +697,21 @@ function xr() {
|
|
|
697
697
|
}
|
|
698
698
|
l.prototype.writeUintLE = l.prototype.writeUIntLE = function(e, t, s, p) {
|
|
699
699
|
if (e = +e, t = t >>> 0, s = s >>> 0, !p) {
|
|
700
|
-
const
|
|
701
|
-
K(this, e, t, s,
|
|
700
|
+
const U = Math.pow(2, 8 * s) - 1;
|
|
701
|
+
K(this, e, t, s, U, 0);
|
|
702
702
|
}
|
|
703
|
-
let g = 1,
|
|
704
|
-
for (this[t] = e & 255; ++
|
|
705
|
-
this[t +
|
|
703
|
+
let g = 1, y = 0;
|
|
704
|
+
for (this[t] = e & 255; ++y < s && (g *= 256); )
|
|
705
|
+
this[t + y] = e / g & 255;
|
|
706
706
|
return t + s;
|
|
707
707
|
}, l.prototype.writeUintBE = l.prototype.writeUIntBE = function(e, t, s, p) {
|
|
708
708
|
if (e = +e, t = t >>> 0, s = s >>> 0, !p) {
|
|
709
|
-
const
|
|
710
|
-
K(this, e, t, s,
|
|
709
|
+
const U = Math.pow(2, 8 * s) - 1;
|
|
710
|
+
K(this, e, t, s, U, 0);
|
|
711
711
|
}
|
|
712
|
-
let g = s - 1,
|
|
713
|
-
for (this[t + g] = e & 255; --g >= 0 && (
|
|
714
|
-
this[t + g] = e /
|
|
712
|
+
let g = s - 1, y = 1;
|
|
713
|
+
for (this[t + g] = e & 255; --g >= 0 && (y *= 256); )
|
|
714
|
+
this[t + g] = e / y & 255;
|
|
715
715
|
return t + s;
|
|
716
716
|
}, l.prototype.writeUint8 = l.prototype.writeUInt8 = function(e, t, s) {
|
|
717
717
|
return e = +e, t = t >>> 0, s || K(this, e, t, 1, 255, 0), this[t] = e & 255, t + 1;
|
|
@@ -728,15 +728,15 @@ function xr() {
|
|
|
728
728
|
I(e, s, p, o, t, 7);
|
|
729
729
|
let g = Number(e & BigInt(4294967295));
|
|
730
730
|
o[t++] = g, g = g >> 8, o[t++] = g, g = g >> 8, o[t++] = g, g = g >> 8, o[t++] = g;
|
|
731
|
-
let
|
|
732
|
-
return o[t++] =
|
|
731
|
+
let y = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
732
|
+
return o[t++] = y, y = y >> 8, o[t++] = y, y = y >> 8, o[t++] = y, y = y >> 8, o[t++] = y, t;
|
|
733
733
|
}
|
|
734
734
|
function re(o, e, t, s, p) {
|
|
735
735
|
I(e, s, p, o, t, 7);
|
|
736
736
|
let g = Number(e & BigInt(4294967295));
|
|
737
737
|
o[t + 7] = g, g = g >> 8, o[t + 6] = g, g = g >> 8, o[t + 5] = g, g = g >> 8, o[t + 4] = g;
|
|
738
|
-
let
|
|
739
|
-
return o[t + 3] =
|
|
738
|
+
let y = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
739
|
+
return o[t + 3] = y, y = y >> 8, o[t + 2] = y, y = y >> 8, o[t + 1] = y, y = y >> 8, o[t] = y, t + 8;
|
|
740
740
|
}
|
|
741
741
|
l.prototype.writeBigUInt64LE = Ie(function(e, t = 0) {
|
|
742
742
|
return X(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
@@ -747,18 +747,18 @@ function xr() {
|
|
|
747
747
|
const Z = Math.pow(2, 8 * s - 1);
|
|
748
748
|
K(this, e, t, s, Z - 1, -Z);
|
|
749
749
|
}
|
|
750
|
-
let g = 0,
|
|
751
|
-
for (this[t] = e & 255; ++g < s && (
|
|
752
|
-
e < 0 &&
|
|
750
|
+
let g = 0, y = 1, U = 0;
|
|
751
|
+
for (this[t] = e & 255; ++g < s && (y *= 256); )
|
|
752
|
+
e < 0 && U === 0 && this[t + g - 1] !== 0 && (U = 1), this[t + g] = (e / y >> 0) - U & 255;
|
|
753
753
|
return t + s;
|
|
754
754
|
}, l.prototype.writeIntBE = function(e, t, s, p) {
|
|
755
755
|
if (e = +e, t = t >>> 0, !p) {
|
|
756
756
|
const Z = Math.pow(2, 8 * s - 1);
|
|
757
757
|
K(this, e, t, s, Z - 1, -Z);
|
|
758
758
|
}
|
|
759
|
-
let g = s - 1,
|
|
760
|
-
for (this[t + g] = e & 255; --g >= 0 && (
|
|
761
|
-
e < 0 &&
|
|
759
|
+
let g = s - 1, y = 1, U = 0;
|
|
760
|
+
for (this[t + g] = e & 255; --g >= 0 && (y *= 256); )
|
|
761
|
+
e < 0 && U === 0 && this[t + g + 1] !== 0 && (U = 1), this[t + g] = (e / y >> 0) - U & 255;
|
|
762
762
|
return t + s;
|
|
763
763
|
}, l.prototype.writeInt8 = function(e, t, s) {
|
|
764
764
|
return e = +e, t = t >>> 0, s || K(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
|
|
@@ -779,13 +779,13 @@ function xr() {
|
|
|
779
779
|
if (t + s > o.length) throw new RangeError("Index out of range");
|
|
780
780
|
if (t < 0) throw new RangeError("Index out of range");
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function Ue(o, e, t, s, p) {
|
|
783
783
|
return e = +e, t = t >>> 0, p || Ee(o, e, t, 4), n.write(o, e, t, s, 23, 4), t + 4;
|
|
784
784
|
}
|
|
785
785
|
l.prototype.writeFloatLE = function(e, t, s) {
|
|
786
|
-
return
|
|
786
|
+
return Ue(this, e, t, !0, s);
|
|
787
787
|
}, l.prototype.writeFloatBE = function(e, t, s) {
|
|
788
|
-
return
|
|
788
|
+
return Ue(this, e, t, !1, s);
|
|
789
789
|
};
|
|
790
790
|
function Y(o, e, t, s, p) {
|
|
791
791
|
return e = +e, t = t >>> 0, p || Ee(o, e, t, 8), n.write(o, e, t, s, 52, 8), t + 8;
|
|
@@ -815,8 +815,8 @@ function xr() {
|
|
|
815
815
|
if (typeof p == "string" && !l.isEncoding(p))
|
|
816
816
|
throw new TypeError("Unknown encoding: " + p);
|
|
817
817
|
if (e.length === 1) {
|
|
818
|
-
const
|
|
819
|
-
(p === "utf8" &&
|
|
818
|
+
const y = e.charCodeAt(0);
|
|
819
|
+
(p === "utf8" && y < 128 || p === "latin1") && (e = y);
|
|
820
820
|
}
|
|
821
821
|
} else typeof e == "number" ? e = e & 255 : typeof e == "boolean" && (e = Number(e));
|
|
822
822
|
if (t < 0 || this.length < t || this.length < s)
|
|
@@ -829,16 +829,16 @@ function xr() {
|
|
|
829
829
|
for (g = t; g < s; ++g)
|
|
830
830
|
this[g] = e;
|
|
831
831
|
else {
|
|
832
|
-
const
|
|
833
|
-
if (
|
|
832
|
+
const y = l.isBuffer(e) ? e : l.from(e, p), U = y.length;
|
|
833
|
+
if (U === 0)
|
|
834
834
|
throw new TypeError('The value "' + e + '" is invalid for argument "value"');
|
|
835
835
|
for (g = 0; g < s - t; ++g)
|
|
836
|
-
this[g + t] =
|
|
836
|
+
this[g + t] = y[g % U];
|
|
837
837
|
}
|
|
838
838
|
return this;
|
|
839
839
|
};
|
|
840
840
|
const pe = {};
|
|
841
|
-
function
|
|
841
|
+
function k(o, e, t) {
|
|
842
842
|
pe[o] = class extends t {
|
|
843
843
|
constructor() {
|
|
844
844
|
super(), Object.defineProperty(this, "message", {
|
|
@@ -863,19 +863,19 @@ function xr() {
|
|
|
863
863
|
}
|
|
864
864
|
};
|
|
865
865
|
}
|
|
866
|
-
|
|
866
|
+
k(
|
|
867
867
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
868
868
|
function(o) {
|
|
869
869
|
return o ? `${o} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
870
870
|
},
|
|
871
871
|
RangeError
|
|
872
|
-
),
|
|
872
|
+
), k(
|
|
873
873
|
"ERR_INVALID_ARG_TYPE",
|
|
874
874
|
function(o, e) {
|
|
875
875
|
return `The "${o}" argument must be of type number. Received type ${typeof e}`;
|
|
876
876
|
},
|
|
877
877
|
TypeError
|
|
878
|
-
),
|
|
878
|
+
), k(
|
|
879
879
|
"ERR_OUT_OF_RANGE",
|
|
880
880
|
function(o, e, t) {
|
|
881
881
|
let s = `The value of "${o}" is out of range.`, p = t;
|
|
@@ -895,9 +895,9 @@ function xr() {
|
|
|
895
895
|
}
|
|
896
896
|
function I(o, e, t, s, p, g) {
|
|
897
897
|
if (o > t || o < e) {
|
|
898
|
-
const
|
|
899
|
-
let
|
|
900
|
-
throw e === 0 || e === BigInt(0) ?
|
|
898
|
+
const y = typeof e == "bigint" ? "n" : "";
|
|
899
|
+
let U;
|
|
900
|
+
throw e === 0 || e === BigInt(0) ? U = `>= 0${y} and < 2${y} ** ${(g + 1) * 8}${y}` : U = `>= -(2${y} ** ${(g + 1) * 8 - 1}${y}) and < 2 ** ${(g + 1) * 8 - 1}${y}`, new pe.ERR_OUT_OF_RANGE("value", U, o);
|
|
901
901
|
}
|
|
902
902
|
L(s, p, g);
|
|
903
903
|
}
|
|
@@ -925,13 +925,13 @@ function xr() {
|
|
|
925
925
|
const s = o.length;
|
|
926
926
|
let p = null;
|
|
927
927
|
const g = [];
|
|
928
|
-
for (let
|
|
929
|
-
if (t = o.charCodeAt(
|
|
928
|
+
for (let y = 0; y < s; ++y) {
|
|
929
|
+
if (t = o.charCodeAt(y), t > 55295 && t < 57344) {
|
|
930
930
|
if (!p) {
|
|
931
931
|
if (t > 56319) {
|
|
932
932
|
(e -= 3) > -1 && g.push(239, 191, 189);
|
|
933
933
|
continue;
|
|
934
|
-
} else if (
|
|
934
|
+
} else if (y + 1 === s) {
|
|
935
935
|
(e -= 3) > -1 && g.push(239, 191, 189);
|
|
936
936
|
continue;
|
|
937
937
|
}
|
|
@@ -982,11 +982,11 @@ function xr() {
|
|
|
982
982
|
function ar(o, e) {
|
|
983
983
|
let t, s, p;
|
|
984
984
|
const g = [];
|
|
985
|
-
for (let
|
|
986
|
-
t = o.charCodeAt(
|
|
985
|
+
for (let y = 0; y < o.length && !((e -= 2) < 0); ++y)
|
|
986
|
+
t = o.charCodeAt(y), s = t >> 8, p = t % 256, g.push(p), g.push(s);
|
|
987
987
|
return g;
|
|
988
988
|
}
|
|
989
|
-
function
|
|
989
|
+
function yt(o) {
|
|
990
990
|
return r.toByteArray(nr(o));
|
|
991
991
|
}
|
|
992
992
|
function Xe(o, e, t, s) {
|
|
@@ -1050,14 +1050,14 @@ var _r = function(i, r, n, a) {
|
|
|
1050
1050
|
b((a = a.apply(i, r || [])).next());
|
|
1051
1051
|
});
|
|
1052
1052
|
};
|
|
1053
|
-
const Ft = "https://api.anam.ai",
|
|
1053
|
+
const Ft = "https://api.anam.ai", bt = "/v1";
|
|
1054
1054
|
var Ce;
|
|
1055
1055
|
(function(i) {
|
|
1056
1056
|
i.CLIENT_METRIC_MEASUREMENT_ERROR = "client_error", i.CLIENT_METRIC_MEASUREMENT_CONNECTION_CLOSED = "client_connection_closed", i.CLIENT_METRIC_MEASUREMENT_CONNECTION_ESTABLISHED = "client_connection_established", i.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT = "client_session_attempt", i.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS = "client_session_success";
|
|
1057
1057
|
})(Ce || (Ce = {}));
|
|
1058
|
-
let
|
|
1059
|
-
const Ir = (i, r =
|
|
1060
|
-
|
|
1058
|
+
let gt = Ft, Pt = bt, Ne, zt = !1;
|
|
1059
|
+
const Ir = (i, r = bt) => {
|
|
1060
|
+
gt = i, Pt = r;
|
|
1061
1061
|
}, Ar = (i) => {
|
|
1062
1062
|
Ne = i;
|
|
1063
1063
|
}, Rr = (i) => {
|
|
@@ -1079,7 +1079,7 @@ const $e = (i) => {
|
|
|
1079
1079
|
let h, c = {
|
|
1080
1080
|
"Content-Type": "application/json"
|
|
1081
1081
|
};
|
|
1082
|
-
Ne?.enabled && Ne?.baseUrl ? (h = `${Ne.baseUrl}${d}`, c["X-Anam-Target-Url"] = `${
|
|
1082
|
+
Ne?.enabled && Ne?.baseUrl ? (h = `${Ne.baseUrl}${d}`, c["X-Anam-Target-Url"] = `${gt}${d}`) : h = `${gt}${d}`, yield fetch(h, {
|
|
1083
1083
|
method: "POST",
|
|
1084
1084
|
headers: c,
|
|
1085
1085
|
body: JSON.stringify({
|
|
@@ -1101,13 +1101,13 @@ const $e = (i) => {
|
|
|
1101
1101
|
issues: []
|
|
1102
1102
|
}, l = ((n = h["inbound-rtp"]) === null || n === void 0 ? void 0 : n.filter((u) => u.kind === "video")) || [];
|
|
1103
1103
|
l.length > 0 && (c.personaVideoStream = [], l.forEach((u) => {
|
|
1104
|
-
var A, w, x,
|
|
1104
|
+
var A, w, x, S, M;
|
|
1105
1105
|
const N = {
|
|
1106
1106
|
framesReceived: (A = u.framesReceived) !== null && A !== void 0 ? A : "unknown",
|
|
1107
1107
|
framesDropped: (w = u.framesDropped) !== null && w !== void 0 ? w : "unknown",
|
|
1108
1108
|
framesPerSecond: (x = u.framesPerSecond) !== null && x !== void 0 ? x : "unknown",
|
|
1109
|
-
packetsReceived: (
|
|
1110
|
-
packetsLost: (
|
|
1109
|
+
packetsReceived: (S = u.packetsReceived) !== null && S !== void 0 ? S : "unknown",
|
|
1110
|
+
packetsLost: (M = u.packetsLost) !== null && M !== void 0 ? M : "unknown",
|
|
1111
1111
|
resolution: u.frameWidth && u.frameHeight ? `${u.frameWidth}x${u.frameHeight}` : void 0,
|
|
1112
1112
|
jitter: u.jitter !== void 0 ? u.jitter : void 0
|
|
1113
1113
|
};
|
|
@@ -1116,14 +1116,14 @@ const $e = (i) => {
|
|
|
1116
1116
|
const m = ((a = h["inbound-rtp"]) === null || a === void 0 ? void 0 : a.filter((u) => u.kind === "audio")) || [];
|
|
1117
1117
|
m.length > 0 && (c.personaAudioStream = [], m.forEach((u) => {
|
|
1118
1118
|
var A, w, x;
|
|
1119
|
-
const
|
|
1119
|
+
const S = {
|
|
1120
1120
|
packetsReceived: (A = u.packetsReceived) !== null && A !== void 0 ? A : "unknown",
|
|
1121
1121
|
packetsLost: (w = u.packetsLost) !== null && w !== void 0 ? w : "unknown",
|
|
1122
1122
|
audioLevel: (x = u.audioLevel) !== null && x !== void 0 ? x : "unknown",
|
|
1123
1123
|
jitter: u.jitter !== void 0 ? u.jitter : void 0,
|
|
1124
1124
|
totalAudioEnergy: u.totalAudioEnergy !== void 0 ? u.totalAudioEnergy : void 0
|
|
1125
1125
|
};
|
|
1126
|
-
c.personaAudioStream.push(
|
|
1126
|
+
c.personaAudioStream.push(S);
|
|
1127
1127
|
}));
|
|
1128
1128
|
const b = ((d = h["outbound-rtp"]) === null || d === void 0 ? void 0 : d.filter((u) => u.kind === "audio")) || [];
|
|
1129
1129
|
b.length > 0 && (c.userAudioInput = [], b.forEach((u) => {
|
|
@@ -1183,7 +1183,7 @@ class te extends Error {
|
|
|
1183
1183
|
});
|
|
1184
1184
|
}
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1186
|
+
function Rt() {
|
|
1187
1187
|
return typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : Date.now().toString(36) + Math.random().toString(36).substr(2, 9);
|
|
1188
1188
|
}
|
|
1189
1189
|
function Tr(i) {
|
|
@@ -1299,7 +1299,7 @@ var je = function(i, r, n, a) {
|
|
|
1299
1299
|
});
|
|
1300
1300
|
};
|
|
1301
1301
|
const Dr = 5, Mr = 5;
|
|
1302
|
-
class
|
|
1302
|
+
class Br {
|
|
1303
1303
|
constructor(r, n, a, d, h) {
|
|
1304
1304
|
var c, l, m, b, f;
|
|
1305
1305
|
if (this.stopSignal = !1, this.sendingBuffer = [], this.wsConnectionAttempts = 0, this.socket = null, this.heartBeatIntervalRef = null, this.publicEventEmitter = a, this.internalEventEmitter = d, this.apiGatewayConfig = h, !r)
|
|
@@ -1309,13 +1309,13 @@ class Ur {
|
|
|
1309
1309
|
if (this.heartbeatIntervalSeconds = u || Dr, this.maxWsReconnectionAttempts = A || Mr, !w.baseUrl)
|
|
1310
1310
|
throw new Error("Signalling Client: baseUrl is required");
|
|
1311
1311
|
if (!((c = this.apiGatewayConfig) === null || c === void 0) && c.enabled && (!((l = this.apiGatewayConfig) === null || l === void 0) && l.baseUrl)) {
|
|
1312
|
-
const x = new URL(this.apiGatewayConfig.baseUrl),
|
|
1313
|
-
x.protocol = x.protocol.replace("http", "ws"), x.pathname =
|
|
1314
|
-
const
|
|
1312
|
+
const x = new URL(this.apiGatewayConfig.baseUrl), S = (m = this.apiGatewayConfig.wsPath) !== null && m !== void 0 ? m : "/ws";
|
|
1313
|
+
x.protocol = x.protocol.replace("http", "ws"), x.pathname = S, this.url = x;
|
|
1314
|
+
const M = w.protocol || "https", N = M === "http" ? "ws" : "wss", z = `${M}://${w.baseUrl}`, j = (b = w.signallingPath) !== null && b !== void 0 ? b : "/ws", H = new URL(z);
|
|
1315
1315
|
H.protocol = N === "ws" ? "ws:" : "wss:", w.port && (H.port = w.port), H.pathname = j, H.searchParams.append("session_id", r), this.url.searchParams.append("target_url", H.href);
|
|
1316
1316
|
} else {
|
|
1317
|
-
const
|
|
1318
|
-
this.url = new URL(
|
|
1317
|
+
const S = `${w.protocol || "https"}://${w.baseUrl}`;
|
|
1318
|
+
this.url = new URL(S), this.url.protocol = w.protocol === "http" ? "ws:" : "wss:", w.port && (this.url.port = w.port), this.url.pathname = (f = w.signallingPath) !== null && f !== void 0 ? f : "/ws", this.url.searchParams.append("session_id", r);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
stop() {
|
|
@@ -1437,10 +1437,10 @@ class Ur {
|
|
|
1437
1437
|
}, r);
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
|
-
function
|
|
1440
|
+
function Ur(i) {
|
|
1441
1441
|
return "brainType" in i || "llmId" in i;
|
|
1442
1442
|
}
|
|
1443
|
-
var
|
|
1443
|
+
var Nt = function(i, r, n, a) {
|
|
1444
1444
|
function d(h) {
|
|
1445
1445
|
return h instanceof n ? h : new n(function(c) {
|
|
1446
1446
|
c(h);
|
|
@@ -1488,7 +1488,7 @@ class Lr {
|
|
|
1488
1488
|
};
|
|
1489
1489
|
}
|
|
1490
1490
|
startSession(r, n) {
|
|
1491
|
-
return
|
|
1491
|
+
return Nt(this, void 0, void 0, function* () {
|
|
1492
1492
|
if (!this.sessionToken) {
|
|
1493
1493
|
if (!r)
|
|
1494
1494
|
throw new te("Persona configuration must be provided when using apiKey", ie.CLIENT_ERROR_CODE_VALIDATION_ERROR, 400);
|
|
@@ -1533,14 +1533,14 @@ class Lr {
|
|
|
1533
1533
|
});
|
|
1534
1534
|
}
|
|
1535
1535
|
unsafe_getSessionToken(r) {
|
|
1536
|
-
return
|
|
1536
|
+
return Nt(this, void 0, void 0, function* () {
|
|
1537
1537
|
if (console.warn("Using unsecure method. This method should not be used in production."), !this.apiKey)
|
|
1538
1538
|
throw new Error("No apiKey provided");
|
|
1539
1539
|
r && "brainType" in r && console.warn("Warning: brainType is deprecated and will be removed in a future version. Please use llmId instead.");
|
|
1540
1540
|
let n = {
|
|
1541
1541
|
clientLabel: "js-sdk-api-key"
|
|
1542
1542
|
};
|
|
1543
|
-
|
|
1543
|
+
Ur(r) && (n = Object.assign(Object.assign({}, n), { personaConfig: r }));
|
|
1544
1544
|
try {
|
|
1545
1545
|
const a = `${this.apiVersion}/auth/session-token`, { url: d, headers: h } = this.buildGatewayUrlAndHeaders(a, {
|
|
1546
1546
|
"Content-Type": "application/json",
|
|
@@ -1825,7 +1825,7 @@ class qr {
|
|
|
1825
1825
|
permissionState: De.NOT_REQUESTED
|
|
1826
1826
|
}, this.successMetricPoller = null, this.successMetricFired = !1, this.showPeerConnectionStatsReport = !1, this.peerConnectionStatsReportOutputFormat = "console", this.statsCollectionInterval = null, this.agentAudioInputStream = null, this.publicEventEmitter = a, this.internalEventEmitter = d, this.apiGatewayConfig = n.apiGateway;
|
|
1827
1827
|
const { inputAudio: b } = n;
|
|
1828
|
-
this.inputAudioState = b.inputAudioState, n.inputAudio.userProvidedMediaStream && (this.inputAudioStream = n.inputAudio.userProvidedMediaStream), this.disableInputAudio = n.inputAudio.disableInputAudio === !0, this.internalEventEmitter.addListener(ge.WEB_SOCKET_OPEN, this.onSignallingClientConnected.bind(this)), this.internalEventEmitter.addListener(ge.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this)), this.iceServers = n.iceServers, this.signallingClient = new
|
|
1828
|
+
this.inputAudioState = b.inputAudioState, n.inputAudio.userProvidedMediaStream && (this.inputAudioStream = n.inputAudio.userProvidedMediaStream), this.disableInputAudio = n.inputAudio.disableInputAudio === !0, this.internalEventEmitter.addListener(ge.WEB_SOCKET_OPEN, this.onSignallingClientConnected.bind(this)), this.internalEventEmitter.addListener(ge.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this)), this.iceServers = n.iceServers, this.signallingClient = new Br(r, n.signalling, this.publicEventEmitter, this.internalEventEmitter, this.apiGatewayConfig), this.engineApiRestClient = new Pr(n.engine.baseUrl, r, this.apiGatewayConfig), this.audioDeviceId = n.inputAudio.audioDeviceId, this.showPeerConnectionStatsReport = (c = (h = n.metrics) === null || h === void 0 ? void 0 : h.showPeerConnectionStatsReport) !== null && c !== void 0 ? c : !1, this.peerConnectionStatsReportOutputFormat = (m = (l = n.metrics) === null || l === void 0 ? void 0 : l.peerConnectionStatsReportOutputFormat) !== null && m !== void 0 ? m : "console";
|
|
1829
1829
|
}
|
|
1830
1830
|
onInputAudioStateChange(r, n) {
|
|
1831
1831
|
r.isMuted !== n.isMuted && (n.isMuted ? this.muteAllAudioTracks() : this.unmuteAllAudioTracks());
|
|
@@ -2258,7 +2258,7 @@ var Ae = function(i, r, n, a) {
|
|
|
2258
2258
|
b((a = a.apply(i, r || [])).next());
|
|
2259
2259
|
});
|
|
2260
2260
|
};
|
|
2261
|
-
class
|
|
2261
|
+
class hn {
|
|
2262
2262
|
constructor(r, n, a) {
|
|
2263
2263
|
var d, h, c, l, m;
|
|
2264
2264
|
this.inputAudioState = {
|
|
@@ -2268,7 +2268,7 @@ class dn {
|
|
|
2268
2268
|
const b = this.validateClientConfig(r, n, a);
|
|
2269
2269
|
if (b)
|
|
2270
2270
|
throw new te(b, ie.CLIENT_ERROR_CODE_CONFIGURATION_ERROR, 400);
|
|
2271
|
-
this.personaConfig = n, this.clientOptions = a, (!((d = a?.api) === null || d === void 0) && d.baseUrl || !((h = a?.api) === null || h === void 0) && h.apiVersion) && Ir(a.api.baseUrl || Ft, a.api.apiVersion ||
|
|
2271
|
+
this.personaConfig = n, this.clientOptions = a, (!((d = a?.api) === null || d === void 0) && d.baseUrl || !((h = a?.api) === null || h === void 0) && h.apiVersion) && Ir(a.api.baseUrl || Ft, a.api.apiVersion || bt), !((l = (c = a?.api) === null || c === void 0 ? void 0 : c.apiGateway) === null || l === void 0) && l.enabled && Ar(a.api.apiGateway), !((m = a?.metrics) === null || m === void 0) && m.disableClientMetrics && Rr(!0), this.publicEventEmitter = new $r(), this.internalEventEmitter = new zr(), this.apiClient = new Lr(r, a?.apiKey, a?.api), this.messageHistoryClient = new Gr(this.publicEventEmitter, this.internalEventEmitter);
|
|
2272
2272
|
}
|
|
2273
2273
|
decodeJwt(r) {
|
|
2274
2274
|
try {
|
|
@@ -2319,7 +2319,7 @@ class dn {
|
|
|
2319
2319
|
startSession(r) {
|
|
2320
2320
|
return Ae(this, void 0, void 0, function* () {
|
|
2321
2321
|
var n, a, d, h, c, l, m, b, f, u, A, w;
|
|
2322
|
-
const x = this.personaConfig,
|
|
2322
|
+
const x = this.personaConfig, S = this.buildStartSessionOptionsForClient(), M = yield this.apiClient.startSession(x, S), { sessionId: N, clientConfig: z, engineHost: j, engineProtocol: H, signallingEndpoint: F } = M, { heartbeatIntervalSeconds: G, maxWsReconnectionAttempts: ae, iceServers: T } = z;
|
|
2323
2323
|
this.sessionId = N, $e({
|
|
2324
2324
|
sessionId: this.sessionId
|
|
2325
2325
|
});
|
|
@@ -2375,7 +2375,7 @@ class dn {
|
|
|
2375
2375
|
var n;
|
|
2376
2376
|
if (this._isStreaming)
|
|
2377
2377
|
throw new Error("Already streaming");
|
|
2378
|
-
const a =
|
|
2378
|
+
const a = Rt();
|
|
2379
2379
|
return $e({
|
|
2380
2380
|
attemptCorrelationId: a,
|
|
2381
2381
|
sessionId: null
|
|
@@ -2403,7 +2403,7 @@ class dn {
|
|
|
2403
2403
|
streamToVideoElement(r, n) {
|
|
2404
2404
|
return Ae(this, void 0, void 0, function* () {
|
|
2405
2405
|
var a;
|
|
2406
|
-
const d =
|
|
2406
|
+
const d = Rt();
|
|
2407
2407
|
$e({
|
|
2408
2408
|
attemptCorrelationId: d,
|
|
2409
2409
|
sessionId: null
|
|
@@ -2549,315 +2549,7 @@ class dn {
|
|
|
2549
2549
|
return this.sessionId;
|
|
2550
2550
|
}
|
|
2551
2551
|
}
|
|
2552
|
-
const Gt = cr(null)
|
|
2553
|
-
function Yr(i) {
|
|
2554
|
-
return typeof i == "object" && i !== null && "status" in i && (i.status === "success" || i.status === "error") && !("type" in i);
|
|
2555
|
-
}
|
|
2556
|
-
function Kr(i) {
|
|
2557
|
-
return typeof i == "object" && i !== null && "type" in i && i.type === "message_history_ack" && "status" in i && i.status === "ok";
|
|
2558
|
-
}
|
|
2559
|
-
function Xr(i) {
|
|
2560
|
-
return typeof i == "object" && i !== null && "type" in i && i.type === "message_stream_ack" && "status" in i && i.status === "ok";
|
|
2561
|
-
}
|
|
2562
|
-
function Zr(i) {
|
|
2563
|
-
return typeof i == "object" && i !== null && "type" in i && i.type === "session_end_ack" && "status" in i && i.status === "ok";
|
|
2564
|
-
}
|
|
2565
|
-
function Qr(i) {
|
|
2566
|
-
return typeof i == "object" && i !== null && "type" in i && i.type === "session_end_error" && "status" in i && i.status === "error";
|
|
2567
|
-
}
|
|
2568
|
-
function ei(i) {
|
|
2569
|
-
return typeof i == "object" && i !== null && "type" in i && i.type === "trigger_event";
|
|
2570
|
-
}
|
|
2571
|
-
function ti(i) {
|
|
2572
|
-
return typeof i == "object" && i !== null && "status" in i && i.status === "ok" && "message" in i && !("type" in i);
|
|
2573
|
-
}
|
|
2574
|
-
function ri(i) {
|
|
2575
|
-
return typeof i == "object" && i !== null && "status" in i && i.status === "error" && "error" in i && i.error === "MISSING_FIELDS";
|
|
2576
|
-
}
|
|
2577
|
-
const un = ({ config: i, children: r }) => {
|
|
2578
|
-
const [n, a] = le(!1), [d, h] = le(!1), [c, l] = le(!1), [m, b] = le([]), [f, u] = le(""), [A, w] = le(!1), [x, _] = le(!1), [D, N] = le(null), [z, j] = le("user"), [H, F] = le("bottom-right"), [G, ae] = le({
|
|
2579
|
-
session_id: null,
|
|
2580
|
-
token: null,
|
|
2581
|
-
expires_at: null,
|
|
2582
|
-
isSessionReady: !1,
|
|
2583
|
-
lastError: null
|
|
2584
|
-
}), T = i.theme || "light", $ = Oe(null), V = Oe(null), ze = Oe("aria-video-element"), be = Oe(null), _e = Oe([]), ve = ce((S) => {
|
|
2585
|
-
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
2586
|
-
console.warn("WebSocket not connected, cannot send message history");
|
|
2587
|
-
return;
|
|
2588
|
-
}
|
|
2589
|
-
if (!G.session_id || !i.userId) {
|
|
2590
|
-
console.warn("Missing session_id or user_id, cannot send message history");
|
|
2591
|
-
return;
|
|
2592
|
-
}
|
|
2593
|
-
if (JSON.stringify(S) === JSON.stringify(_e.current))
|
|
2594
|
-
return;
|
|
2595
|
-
_e.current = S;
|
|
2596
|
-
const O = {
|
|
2597
|
-
type: "message_history",
|
|
2598
|
-
session_id: G.session_id,
|
|
2599
|
-
user_id: i.userId,
|
|
2600
|
-
messages: S
|
|
2601
|
-
};
|
|
2602
|
-
try {
|
|
2603
|
-
V.current.send(JSON.stringify(O)), console.log("Sent message history:", S.length, "messages");
|
|
2604
|
-
} catch (L) {
|
|
2605
|
-
console.error("Failed to send message history:", L);
|
|
2606
|
-
}
|
|
2607
|
-
}, [G.session_id, i.userId]), he = ce((S, O) => {
|
|
2608
|
-
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
2609
|
-
console.warn("WebSocket not connected, cannot send message stream");
|
|
2610
|
-
return;
|
|
2611
|
-
}
|
|
2612
|
-
if (!G.session_id || !i.userId) {
|
|
2613
|
-
console.warn("Missing session_id or user_id, cannot send message stream");
|
|
2614
|
-
return;
|
|
2615
|
-
}
|
|
2616
|
-
const L = {
|
|
2617
|
-
type: "message_stream",
|
|
2618
|
-
session_id: G.session_id,
|
|
2619
|
-
user_id: i.userId,
|
|
2620
|
-
message: {
|
|
2621
|
-
...S,
|
|
2622
|
-
is_final: O
|
|
2623
|
-
}
|
|
2624
|
-
};
|
|
2625
|
-
try {
|
|
2626
|
-
V.current.send(JSON.stringify(L)), O && console.log("Sent final message stream:", S.role);
|
|
2627
|
-
} catch (I) {
|
|
2628
|
-
console.error("Failed to send message stream:", I);
|
|
2629
|
-
}
|
|
2630
|
-
}, [G.session_id, i.userId]), ne = ce(async (S) => {
|
|
2631
|
-
if (!($.current || c)) {
|
|
2632
|
-
l(!0);
|
|
2633
|
-
try {
|
|
2634
|
-
const { createClient: O } = await import("./index-SOt2llBN.js"), L = O(S);
|
|
2635
|
-
L.addListener(P.SESSION_READY, () => {
|
|
2636
|
-
h(!0), l(!1), i.onSessionReady?.(), i.onConnectionStateChange?.(!0);
|
|
2637
|
-
}), L.addListener(P.CONNECTION_CLOSED, () => {
|
|
2638
|
-
h(!1), i.onConnectionStateChange?.(!1);
|
|
2639
|
-
}), L.addListener(P.MESSAGE_HISTORY_UPDATED, (I) => {
|
|
2640
|
-
const fe = I.map((Se) => ({
|
|
2641
|
-
role: Se.role,
|
|
2642
|
-
content: Se.content,
|
|
2643
|
-
timestamp: Date.now()
|
|
2644
|
-
}));
|
|
2645
|
-
b(fe);
|
|
2646
|
-
const xe = I.map((Se) => ({
|
|
2647
|
-
role: Se.role,
|
|
2648
|
-
content: Se.content,
|
|
2649
|
-
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
2650
|
-
}));
|
|
2651
|
-
ve(xe);
|
|
2652
|
-
}), L.addListener(P.MESSAGE_STREAM_EVENT_RECEIVED, (I) => {
|
|
2653
|
-
I.role === "persona" ? u((Se) => Se + I.content) : I.role === "user" && u("");
|
|
2654
|
-
const fe = {
|
|
2655
|
-
role: I.role,
|
|
2656
|
-
content: I.content,
|
|
2657
|
-
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
2658
|
-
}, xe = I.is_final ?? !1;
|
|
2659
|
-
he(fe, xe);
|
|
2660
|
-
}), $.current = L, await L.streamToVideoElement(ze.current);
|
|
2661
|
-
} catch (O) {
|
|
2662
|
-
const L = O instanceof Error ? O.message : "Failed to initialize Anam client";
|
|
2663
|
-
N(L), l(!1), i.onError?.(O instanceof Error ? O : new Error(L));
|
|
2664
|
-
}
|
|
2665
|
-
}
|
|
2666
|
-
}, [i, c, ve, he]), de = ce((S) => {
|
|
2667
|
-
if (S.status === "success")
|
|
2668
|
-
console.log("Session response:", S.message), S.session_data ? (ae({
|
|
2669
|
-
session_id: S.session_data.session_id,
|
|
2670
|
-
token: S.session_data.token,
|
|
2671
|
-
expires_at: S.session_data.expires_at,
|
|
2672
|
-
isSessionReady: !0,
|
|
2673
|
-
lastError: null
|
|
2674
|
-
}), ne(S.session_data.token)) : (console.log("Session not triggered:", S.message), ae((O) => ({
|
|
2675
|
-
...O,
|
|
2676
|
-
isSessionReady: !1,
|
|
2677
|
-
lastError: null
|
|
2678
|
-
})));
|
|
2679
|
-
else {
|
|
2680
|
-
console.error("Session error:", S.message, S.error);
|
|
2681
|
-
const O = `${S.error}: ${S.message}`;
|
|
2682
|
-
ae((L) => ({
|
|
2683
|
-
...L,
|
|
2684
|
-
isSessionReady: !1,
|
|
2685
|
-
lastError: O
|
|
2686
|
-
})), N(O), i.onError?.(new Error(O));
|
|
2687
|
-
}
|
|
2688
|
-
}, [i, ne]), R = ce(() => {
|
|
2689
|
-
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
2690
|
-
console.warn("WebSocket not connected, cannot send session end");
|
|
2691
|
-
return;
|
|
2692
|
-
}
|
|
2693
|
-
if (!G.session_id || !i.userId) {
|
|
2694
|
-
console.warn("Missing session_id or user_id, cannot send session end");
|
|
2695
|
-
return;
|
|
2696
|
-
}
|
|
2697
|
-
const S = {
|
|
2698
|
-
type: "session_end",
|
|
2699
|
-
session_id: G.session_id,
|
|
2700
|
-
user_id: i.userId
|
|
2701
|
-
};
|
|
2702
|
-
try {
|
|
2703
|
-
V.current.send(JSON.stringify(S)), console.log("Sent session end event");
|
|
2704
|
-
} catch (O) {
|
|
2705
|
-
console.error("Failed to send session end:", O);
|
|
2706
|
-
}
|
|
2707
|
-
}, [G.session_id, i.userId]), ye = ce(() => {
|
|
2708
|
-
if (V.current?.readyState === WebSocket.OPEN) {
|
|
2709
|
-
console.log("WebSocket already connected");
|
|
2710
|
-
return;
|
|
2711
|
-
}
|
|
2712
|
-
try {
|
|
2713
|
-
const S = new WebSocket(i.websocketUrl);
|
|
2714
|
-
V.current = S, S.onopen = () => {
|
|
2715
|
-
console.log("WebSocket connected"), i.onConnectionStateChange?.(!0);
|
|
2716
|
-
}, S.onmessage = (O) => {
|
|
2717
|
-
try {
|
|
2718
|
-
const L = O.data, I = JSON.parse(L);
|
|
2719
|
-
if (Yr(I)) {
|
|
2720
|
-
de(I);
|
|
2721
|
-
return;
|
|
2722
|
-
}
|
|
2723
|
-
if (Kr(I)) {
|
|
2724
|
-
console.log(`Message history acknowledged: ${I.message_count} messages`), i.onMessageHistoryAck?.(I.message_count);
|
|
2725
|
-
return;
|
|
2726
|
-
}
|
|
2727
|
-
if (Xr(I)) {
|
|
2728
|
-
console.log("Message stream acknowledged"), i.onMessageStreamAck?.();
|
|
2729
|
-
return;
|
|
2730
|
-
}
|
|
2731
|
-
if (Zr(I)) {
|
|
2732
|
-
console.log(`Session end acknowledged: ${I.message}. Saved: ${I.saved_count} messages`), i.onSessionEndAck?.(I.saved_count);
|
|
2733
|
-
return;
|
|
2734
|
-
}
|
|
2735
|
-
if (Qr(I)) {
|
|
2736
|
-
console.error(`Session end error: ${I.message}`), N(I.message), i.onSessionEndError?.(I.message, I.error), i.onError?.(new Error(`Session end failed: ${I.error} - ${I.message}`));
|
|
2737
|
-
return;
|
|
2738
|
-
}
|
|
2739
|
-
if (ri(I)) {
|
|
2740
|
-
console.error(`Missing fields error: ${I.message}`), N(I.message), i.onError?.(new Error(I.message));
|
|
2741
|
-
return;
|
|
2742
|
-
}
|
|
2743
|
-
if (ei(I)) {
|
|
2744
|
-
console.log("WebSocket trigger event received:", I.data), i.onWebSocketEvent?.(I), be.current?.("websocket");
|
|
2745
|
-
return;
|
|
2746
|
-
}
|
|
2747
|
-
if (ti(I)) {
|
|
2748
|
-
console.log(`Generic acknowledgment: ${I.message}`);
|
|
2749
|
-
return;
|
|
2750
|
-
}
|
|
2751
|
-
if (typeof I == "object" && I !== null && "type" in I && I.type === "session_token" && "sessionToken" in I && typeof I.sessionToken == "string") {
|
|
2752
|
-
console.warn("Received legacy session_token format, converting to new format"), de({
|
|
2753
|
-
status: "success",
|
|
2754
|
-
message: "Session created successfully (legacy format)",
|
|
2755
|
-
session_data: {
|
|
2756
|
-
session_id: "legacy",
|
|
2757
|
-
token: I.sessionToken,
|
|
2758
|
-
expires_at: new Date(Date.now() + 36e5).toISOString()
|
|
2759
|
-
},
|
|
2760
|
-
time_taken: 0
|
|
2761
|
-
});
|
|
2762
|
-
return;
|
|
2763
|
-
}
|
|
2764
|
-
console.warn("Received unknown message type:", I);
|
|
2765
|
-
} catch (L) {
|
|
2766
|
-
if (L instanceof SyntaxError)
|
|
2767
|
-
console.error("Failed to parse WebSocket message as JSON:", O.data), N("Received invalid JSON from server"), i.onError?.(new Error("Invalid JSON received from WebSocket"));
|
|
2768
|
-
else {
|
|
2769
|
-
const I = L instanceof Error ? L.message : "Unknown error";
|
|
2770
|
-
console.error("Error handling WebSocket message:", I), N(I), i.onError?.(L instanceof Error ? L : new Error(I));
|
|
2771
|
-
}
|
|
2772
|
-
}
|
|
2773
|
-
}, S.onerror = (O) => {
|
|
2774
|
-
console.error("WebSocket error:", O), N("WebSocket connection error"), i.onError?.(new Error("WebSocket connection failed"));
|
|
2775
|
-
}, S.onclose = () => {
|
|
2776
|
-
console.log("WebSocket disconnected"), i.onConnectionStateChange?.(!1), ae({
|
|
2777
|
-
session_id: null,
|
|
2778
|
-
token: null,
|
|
2779
|
-
expires_at: null,
|
|
2780
|
-
isSessionReady: !1,
|
|
2781
|
-
lastError: null
|
|
2782
|
-
});
|
|
2783
|
-
};
|
|
2784
|
-
} catch (S) {
|
|
2785
|
-
const O = S instanceof Error ? S.message : "Failed to connect WebSocket";
|
|
2786
|
-
N(O), i.onError?.(S instanceof Error ? S : new Error(O));
|
|
2787
|
-
}
|
|
2788
|
-
}, [i, de]), Ge = ce(() => {
|
|
2789
|
-
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
2790
|
-
console.error("WebSocket not connected"), N("WebSocket not connected. Please connect first.");
|
|
2791
|
-
return;
|
|
2792
|
-
}
|
|
2793
|
-
try {
|
|
2794
|
-
const S = JSON.stringify({ user_trigger: !0 });
|
|
2795
|
-
V.current.send(S), console.log("Sent user_trigger message");
|
|
2796
|
-
} catch (S) {
|
|
2797
|
-
const O = S instanceof Error ? S.message : "Failed to trigger session";
|
|
2798
|
-
N(O), i.onError?.(S instanceof Error ? S : new Error(O));
|
|
2799
|
-
}
|
|
2800
|
-
}, [i]), q = ce(async () => {
|
|
2801
|
-
(!V.current || V.current.readyState !== WebSocket.OPEN) && ye(), G.isSessionReady && G.token && !$.current && await ne(G.token);
|
|
2802
|
-
}, [ye, ne, G]), K = ce(async () => {
|
|
2803
|
-
if ($.current)
|
|
2804
|
-
try {
|
|
2805
|
-
R(), await $.current.stopStreaming(), $.current = null, h(!1), b([]), u(""), _e.current = [], i.onConnectionStateChange?.(!1);
|
|
2806
|
-
} catch (S) {
|
|
2807
|
-
const O = S instanceof Error ? S.message : "Failed to stop session";
|
|
2808
|
-
N(O), i.onError?.(S instanceof Error ? S : new Error(O));
|
|
2809
|
-
}
|
|
2810
|
-
}, [i, R]), X = ce((S = "user") => {
|
|
2811
|
-
j(S), F(S === "websocket" ? "center" : "bottom-right"), a(!0), !$.current && !c && q();
|
|
2812
|
-
}, [q, c]);
|
|
2813
|
-
Fe(() => {
|
|
2814
|
-
be.current = X;
|
|
2815
|
-
}, [X]);
|
|
2816
|
-
const re = ce(() => {
|
|
2817
|
-
a(!1), K();
|
|
2818
|
-
}, [K]), Ee = ce(() => {
|
|
2819
|
-
w((S) => !S);
|
|
2820
|
-
}, []), Be = ce(async (S) => {
|
|
2821
|
-
if (!$.current || !d)
|
|
2822
|
-
throw new Error("Not connected to Aria");
|
|
2823
|
-
try {
|
|
2824
|
-
await $.current.talk(S);
|
|
2825
|
-
} catch (O) {
|
|
2826
|
-
const L = O instanceof Error ? O.message : "Failed to send message";
|
|
2827
|
-
throw N(L), i.onError?.(O instanceof Error ? O : new Error(L)), O;
|
|
2828
|
-
}
|
|
2829
|
-
}, [d, i]), Y = ce(() => {
|
|
2830
|
-
if (!$.current) return;
|
|
2831
|
-
$.current.getInputAudioState().isMuted ? ($.current.unmuteInputAudio(), _(!1)) : ($.current.muteInputAudio(), _(!0));
|
|
2832
|
-
}, []);
|
|
2833
|
-
Fe(() => (ye(), () => {
|
|
2834
|
-
G.session_id && i.userId && R(), $.current && $.current.stopStreaming(), V.current && V.current.close();
|
|
2835
|
-
}), [ye, G.session_id, i.userId, R]);
|
|
2836
|
-
const pe = {
|
|
2837
|
-
isOpen: n,
|
|
2838
|
-
isConnected: d,
|
|
2839
|
-
isLoading: c,
|
|
2840
|
-
chatMessages: m,
|
|
2841
|
-
liveTranscript: f,
|
|
2842
|
-
isChatVisible: A,
|
|
2843
|
-
isMuted: x,
|
|
2844
|
-
error: D,
|
|
2845
|
-
sessionState: G,
|
|
2846
|
-
openAssistant: X,
|
|
2847
|
-
closeAssistant: re,
|
|
2848
|
-
toggleChat: Ee,
|
|
2849
|
-
sendMessage: Be,
|
|
2850
|
-
toggleMute: Y,
|
|
2851
|
-
startSession: q,
|
|
2852
|
-
stopSession: K,
|
|
2853
|
-
triggerSession: Ge,
|
|
2854
|
-
displayMode: H,
|
|
2855
|
-
triggerMode: z,
|
|
2856
|
-
theme: T,
|
|
2857
|
-
config: i
|
|
2858
|
-
};
|
|
2859
|
-
return /* @__PURE__ */ y(Gt.Provider, { value: pe, children: r });
|
|
2860
|
-
}, Ke = () => {
|
|
2552
|
+
const Gt = cr(null), Ke = () => {
|
|
2861
2553
|
const i = dr(Gt);
|
|
2862
2554
|
if (!i)
|
|
2863
2555
|
throw new Error("useAria must be used within an AriaProvider");
|
|
@@ -2872,42 +2564,42 @@ function $t(i) {
|
|
|
2872
2564
|
} else for (n in i) i[n] && (a && (a += " "), a += n);
|
|
2873
2565
|
return a;
|
|
2874
2566
|
}
|
|
2875
|
-
function
|
|
2567
|
+
function Yr() {
|
|
2876
2568
|
for (var i, r, n = 0, a = "", d = arguments.length; n < d; n++) (i = arguments[n]) && (r = $t(i)) && (a && (a += " "), a += r);
|
|
2877
2569
|
return a;
|
|
2878
2570
|
}
|
|
2879
|
-
const
|
|
2571
|
+
const Kr = (i, r) => {
|
|
2880
2572
|
const n = new Array(i.length + r.length);
|
|
2881
2573
|
for (let a = 0; a < i.length; a++)
|
|
2882
2574
|
n[a] = i[a];
|
|
2883
2575
|
for (let a = 0; a < r.length; a++)
|
|
2884
2576
|
n[i.length + a] = r[a];
|
|
2885
2577
|
return n;
|
|
2886
|
-
},
|
|
2578
|
+
}, Xr = (i, r) => ({
|
|
2887
2579
|
classGroupId: i,
|
|
2888
2580
|
validator: r
|
|
2889
2581
|
}), jt = (i = /* @__PURE__ */ new Map(), r = null, n) => ({
|
|
2890
2582
|
nextPart: i,
|
|
2891
2583
|
validators: r,
|
|
2892
2584
|
classGroupId: n
|
|
2893
|
-
}), it = "-",
|
|
2894
|
-
const r =
|
|
2585
|
+
}), it = "-", Tt = [], Zr = "arbitrary..", Qr = (i) => {
|
|
2586
|
+
const r = ti(i), {
|
|
2895
2587
|
conflictingClassGroups: n,
|
|
2896
2588
|
conflictingClassGroupModifiers: a
|
|
2897
2589
|
} = i;
|
|
2898
2590
|
return {
|
|
2899
2591
|
getClassGroupId: (c) => {
|
|
2900
2592
|
if (c.startsWith("[") && c.endsWith("]"))
|
|
2901
|
-
return
|
|
2593
|
+
return ei(c);
|
|
2902
2594
|
const l = c.split(it), m = l[0] === "" && l.length > 1 ? 1 : 0;
|
|
2903
2595
|
return Vt(l, m, r);
|
|
2904
2596
|
},
|
|
2905
2597
|
getConflictingClassGroupIds: (c, l) => {
|
|
2906
2598
|
if (l) {
|
|
2907
2599
|
const m = a[c], b = n[c];
|
|
2908
|
-
return m ? b ?
|
|
2600
|
+
return m ? b ? Kr(b, m) : m : b || Tt;
|
|
2909
2601
|
}
|
|
2910
|
-
return n[c] ||
|
|
2602
|
+
return n[c] || Tt;
|
|
2911
2603
|
}
|
|
2912
2604
|
};
|
|
2913
2605
|
}, Vt = (i, r, n) => {
|
|
@@ -2927,52 +2619,52 @@ const ni = (i, r) => {
|
|
|
2927
2619
|
if (f.validator(l))
|
|
2928
2620
|
return f.classGroupId;
|
|
2929
2621
|
}
|
|
2930
|
-
},
|
|
2622
|
+
}, ei = (i) => i.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
2931
2623
|
const r = i.slice(1, -1), n = r.indexOf(":"), a = r.slice(0, n);
|
|
2932
|
-
return a ?
|
|
2933
|
-
})(),
|
|
2624
|
+
return a ? Zr + a : void 0;
|
|
2625
|
+
})(), ti = (i) => {
|
|
2934
2626
|
const {
|
|
2935
2627
|
theme: r,
|
|
2936
2628
|
classGroups: n
|
|
2937
2629
|
} = i;
|
|
2938
|
-
return
|
|
2939
|
-
},
|
|
2630
|
+
return ri(n, r);
|
|
2631
|
+
}, ri = (i, r) => {
|
|
2940
2632
|
const n = jt();
|
|
2941
2633
|
for (const a in i) {
|
|
2942
2634
|
const d = i[a];
|
|
2943
|
-
|
|
2635
|
+
vt(d, n, a, r);
|
|
2944
2636
|
}
|
|
2945
2637
|
return n;
|
|
2946
|
-
},
|
|
2638
|
+
}, vt = (i, r, n, a) => {
|
|
2947
2639
|
const d = i.length;
|
|
2948
2640
|
for (let h = 0; h < d; h++) {
|
|
2949
2641
|
const c = i[h];
|
|
2950
|
-
|
|
2642
|
+
ii(c, r, n, a);
|
|
2951
2643
|
}
|
|
2952
|
-
},
|
|
2644
|
+
}, ii = (i, r, n, a) => {
|
|
2953
2645
|
if (typeof i == "string") {
|
|
2954
|
-
|
|
2646
|
+
ni(i, r, n);
|
|
2955
2647
|
return;
|
|
2956
2648
|
}
|
|
2957
2649
|
if (typeof i == "function") {
|
|
2958
|
-
|
|
2650
|
+
oi(i, r, n, a);
|
|
2959
2651
|
return;
|
|
2960
2652
|
}
|
|
2961
|
-
|
|
2962
|
-
},
|
|
2653
|
+
ai(i, r, n, a);
|
|
2654
|
+
}, ni = (i, r, n) => {
|
|
2963
2655
|
const a = i === "" ? r : Wt(r, i);
|
|
2964
2656
|
a.classGroupId = n;
|
|
2965
|
-
},
|
|
2966
|
-
if (
|
|
2967
|
-
|
|
2657
|
+
}, oi = (i, r, n, a) => {
|
|
2658
|
+
if (si(i)) {
|
|
2659
|
+
vt(i(a), r, n, a);
|
|
2968
2660
|
return;
|
|
2969
2661
|
}
|
|
2970
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
2971
|
-
},
|
|
2662
|
+
r.validators === null && (r.validators = []), r.validators.push(Xr(n, i));
|
|
2663
|
+
}, ai = (i, r, n, a) => {
|
|
2972
2664
|
const d = Object.entries(i), h = d.length;
|
|
2973
2665
|
for (let c = 0; c < h; c++) {
|
|
2974
2666
|
const [l, m] = d[c];
|
|
2975
|
-
|
|
2667
|
+
vt(m, Wt(r, l), n, a);
|
|
2976
2668
|
}
|
|
2977
2669
|
}, Wt = (i, r) => {
|
|
2978
2670
|
let n = i;
|
|
@@ -2983,7 +2675,7 @@ const ni = (i, r) => {
|
|
|
2983
2675
|
l || (l = jt(), n.nextPart.set(c, l)), n = l;
|
|
2984
2676
|
}
|
|
2985
2677
|
return n;
|
|
2986
|
-
},
|
|
2678
|
+
}, si = (i) => "isThemeGetter" in i && i.isThemeGetter === !0, li = (i) => {
|
|
2987
2679
|
if (i < 1)
|
|
2988
2680
|
return {
|
|
2989
2681
|
get: () => {
|
|
@@ -3007,13 +2699,13 @@ const ni = (i, r) => {
|
|
|
3007
2699
|
h in n ? n[h] = c : d(h, c);
|
|
3008
2700
|
}
|
|
3009
2701
|
};
|
|
3010
|
-
},
|
|
2702
|
+
}, ft = "!", Ot = ":", ci = [], Dt = (i, r, n, a, d) => ({
|
|
3011
2703
|
modifiers: i,
|
|
3012
2704
|
hasImportantModifier: r,
|
|
3013
2705
|
baseClassName: n,
|
|
3014
2706
|
maybePostfixModifierPosition: a,
|
|
3015
2707
|
isExternal: d
|
|
3016
|
-
}),
|
|
2708
|
+
}), di = (i) => {
|
|
3017
2709
|
const {
|
|
3018
2710
|
prefix: r,
|
|
3019
2711
|
experimentalParseClassName: n
|
|
@@ -3022,35 +2714,35 @@ const ni = (i, r) => {
|
|
|
3022
2714
|
const h = [];
|
|
3023
2715
|
let c = 0, l = 0, m = 0, b;
|
|
3024
2716
|
const f = d.length;
|
|
3025
|
-
for (let
|
|
3026
|
-
const
|
|
2717
|
+
for (let S = 0; S < f; S++) {
|
|
2718
|
+
const M = d[S];
|
|
3027
2719
|
if (c === 0 && l === 0) {
|
|
3028
|
-
if (
|
|
3029
|
-
h.push(d.slice(m,
|
|
2720
|
+
if (M === Ot) {
|
|
2721
|
+
h.push(d.slice(m, S)), m = S + 1;
|
|
3030
2722
|
continue;
|
|
3031
2723
|
}
|
|
3032
|
-
if (
|
|
3033
|
-
b =
|
|
2724
|
+
if (M === "/") {
|
|
2725
|
+
b = S;
|
|
3034
2726
|
continue;
|
|
3035
2727
|
}
|
|
3036
2728
|
}
|
|
3037
|
-
|
|
2729
|
+
M === "[" ? c++ : M === "]" ? c-- : M === "(" ? l++ : M === ")" && l--;
|
|
3038
2730
|
}
|
|
3039
2731
|
const u = h.length === 0 ? d : d.slice(m);
|
|
3040
2732
|
let A = u, w = !1;
|
|
3041
|
-
u.endsWith(
|
|
2733
|
+
u.endsWith(ft) ? (A = u.slice(0, -1), w = !0) : (
|
|
3042
2734
|
/**
|
|
3043
2735
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
3044
2736
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
3045
2737
|
*/
|
|
3046
|
-
u.startsWith(
|
|
2738
|
+
u.startsWith(ft) && (A = u.slice(1), w = !0)
|
|
3047
2739
|
);
|
|
3048
2740
|
const x = b && b > m ? b - m : void 0;
|
|
3049
|
-
return
|
|
2741
|
+
return Dt(h, w, A, x);
|
|
3050
2742
|
};
|
|
3051
2743
|
if (r) {
|
|
3052
|
-
const d = r +
|
|
3053
|
-
a = (c) => c.startsWith(d) ? h(c.slice(d.length)) :
|
|
2744
|
+
const d = r + Ot, h = a;
|
|
2745
|
+
a = (c) => c.startsWith(d) ? h(c.slice(d.length)) : Dt(ci, !1, c, void 0, !0);
|
|
3054
2746
|
}
|
|
3055
2747
|
if (n) {
|
|
3056
2748
|
const d = a;
|
|
@@ -3060,7 +2752,7 @@ const ni = (i, r) => {
|
|
|
3060
2752
|
});
|
|
3061
2753
|
}
|
|
3062
2754
|
return a;
|
|
3063
|
-
},
|
|
2755
|
+
}, ui = (i) => {
|
|
3064
2756
|
const r = /* @__PURE__ */ new Map();
|
|
3065
2757
|
return i.orderSensitiveModifiers.forEach((n, a) => {
|
|
3066
2758
|
r.set(n, 1e6 + a);
|
|
@@ -3073,18 +2765,18 @@ const ni = (i, r) => {
|
|
|
3073
2765
|
}
|
|
3074
2766
|
return d.length > 0 && (d.sort(), a.push(...d)), a;
|
|
3075
2767
|
};
|
|
3076
|
-
},
|
|
3077
|
-
cache:
|
|
3078
|
-
parseClassName:
|
|
3079
|
-
sortModifiers:
|
|
3080
|
-
...
|
|
3081
|
-
}),
|
|
2768
|
+
}, hi = (i) => ({
|
|
2769
|
+
cache: li(i.cacheSize),
|
|
2770
|
+
parseClassName: di(i),
|
|
2771
|
+
sortModifiers: ui(i),
|
|
2772
|
+
...Qr(i)
|
|
2773
|
+
}), pi = /\s+/, gi = (i, r) => {
|
|
3082
2774
|
const {
|
|
3083
2775
|
parseClassName: n,
|
|
3084
2776
|
getClassGroupId: a,
|
|
3085
2777
|
getConflictingClassGroupIds: d,
|
|
3086
2778
|
sortModifiers: h
|
|
3087
|
-
} = r, c = [], l = i.trim().split(
|
|
2779
|
+
} = r, c = [], l = i.trim().split(pi);
|
|
3088
2780
|
let m = "";
|
|
3089
2781
|
for (let b = l.length - 1; b >= 0; b -= 1) {
|
|
3090
2782
|
const f = l[b], {
|
|
@@ -3092,15 +2784,15 @@ const ni = (i, r) => {
|
|
|
3092
2784
|
modifiers: A,
|
|
3093
2785
|
hasImportantModifier: w,
|
|
3094
2786
|
baseClassName: x,
|
|
3095
|
-
maybePostfixModifierPosition:
|
|
2787
|
+
maybePostfixModifierPosition: S
|
|
3096
2788
|
} = n(f);
|
|
3097
2789
|
if (u) {
|
|
3098
2790
|
m = f + (m.length > 0 ? " " + m : m);
|
|
3099
2791
|
continue;
|
|
3100
2792
|
}
|
|
3101
|
-
let
|
|
2793
|
+
let M = !!S, N = a(M ? x.substring(0, S) : x);
|
|
3102
2794
|
if (!N) {
|
|
3103
|
-
if (!
|
|
2795
|
+
if (!M) {
|
|
3104
2796
|
m = f + (m.length > 0 ? " " + m : m);
|
|
3105
2797
|
continue;
|
|
3106
2798
|
}
|
|
@@ -3108,13 +2800,13 @@ const ni = (i, r) => {
|
|
|
3108
2800
|
m = f + (m.length > 0 ? " " + m : m);
|
|
3109
2801
|
continue;
|
|
3110
2802
|
}
|
|
3111
|
-
|
|
2803
|
+
M = !1;
|
|
3112
2804
|
}
|
|
3113
|
-
const z = A.length === 0 ? "" : A.length === 1 ? A[0] : h(A).join(":"), j = w ? z +
|
|
2805
|
+
const z = A.length === 0 ? "" : A.length === 1 ? A[0] : h(A).join(":"), j = w ? z + ft : z, H = j + N;
|
|
3114
2806
|
if (c.indexOf(H) > -1)
|
|
3115
2807
|
continue;
|
|
3116
2808
|
c.push(H);
|
|
3117
|
-
const F = d(N,
|
|
2809
|
+
const F = d(N, M);
|
|
3118
2810
|
for (let G = 0; G < F.length; ++G) {
|
|
3119
2811
|
const ae = F[G];
|
|
3120
2812
|
c.push(j + ae);
|
|
@@ -3122,7 +2814,7 @@ const ni = (i, r) => {
|
|
|
3122
2814
|
m = f + (m.length > 0 ? " " + m : m);
|
|
3123
2815
|
}
|
|
3124
2816
|
return m;
|
|
3125
|
-
},
|
|
2817
|
+
}, fi = (...i) => {
|
|
3126
2818
|
let r = 0, n, a, d = "";
|
|
3127
2819
|
for (; r < i.length; )
|
|
3128
2820
|
(n = i[r++]) && (a = Ht(n)) && (d && (d += " "), d += a);
|
|
@@ -3134,35 +2826,35 @@ const ni = (i, r) => {
|
|
|
3134
2826
|
for (let a = 0; a < i.length; a++)
|
|
3135
2827
|
i[a] && (r = Ht(i[a])) && (n && (n += " "), n += r);
|
|
3136
2828
|
return n;
|
|
3137
|
-
},
|
|
2829
|
+
}, mi = (i, ...r) => {
|
|
3138
2830
|
let n, a, d, h;
|
|
3139
2831
|
const c = (m) => {
|
|
3140
2832
|
const b = r.reduce((f, u) => u(f), i());
|
|
3141
|
-
return n =
|
|
2833
|
+
return n = hi(b), a = n.cache.get, d = n.cache.set, h = l, l(m);
|
|
3142
2834
|
}, l = (m) => {
|
|
3143
2835
|
const b = a(m);
|
|
3144
2836
|
if (b)
|
|
3145
2837
|
return b;
|
|
3146
|
-
const f =
|
|
2838
|
+
const f = gi(m, n);
|
|
3147
2839
|
return d(m, f), f;
|
|
3148
2840
|
};
|
|
3149
|
-
return h = c, (...m) => h(
|
|
3150
|
-
},
|
|
3151
|
-
const r = (n) => n[i] ||
|
|
2841
|
+
return h = c, (...m) => h(fi(...m));
|
|
2842
|
+
}, wi = [], ee = (i) => {
|
|
2843
|
+
const r = (n) => n[i] || wi;
|
|
3152
2844
|
return r.isThemeGetter = !0, r;
|
|
3153
|
-
}, qt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Jt = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
2845
|
+
}, qt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Jt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, bi = /^\d+\/\d+$/, vi = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yi = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ei = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, xi = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Si = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ve = (i) => bi.test(i), B = (i) => !!i && !Number.isNaN(Number(i)), Re = (i) => !!i && Number.isInteger(Number(i)), ct = (i) => i.endsWith("%") && B(i.slice(0, -1)), ke = (i) => vi.test(i), ki = () => !0, Ci = (i) => (
|
|
3154
2846
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
3155
2847
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
3156
2848
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
3157
|
-
|
|
3158
|
-
), Yt = () => !1,
|
|
2849
|
+
yi.test(i) && !Ei.test(i)
|
|
2850
|
+
), Yt = () => !1, _i = (i) => xi.test(i), Ii = (i) => Si.test(i), Ai = (i) => !C(i) && !_(i), Ri = (i) => He(i, Zt, Yt), C = (i) => qt.test(i), Le = (i) => He(i, Qt, Ci), dt = (i) => He(i, Mi, B), Mt = (i) => He(i, Kt, Yt), Ni = (i) => He(i, Xt, Ii), Qe = (i) => He(i, er, _i), _ = (i) => Jt.test(i), Ye = (i) => qe(i, Qt), Ti = (i) => qe(i, Bi), Bt = (i) => qe(i, Kt), Oi = (i) => qe(i, Zt), Di = (i) => qe(i, Xt), et = (i) => qe(i, er, !0), He = (i, r, n) => {
|
|
3159
2851
|
const a = qt.exec(i);
|
|
3160
2852
|
return a ? a[1] ? r(a[1]) : n(a[2]) : !1;
|
|
3161
2853
|
}, qe = (i, r, n = !1) => {
|
|
3162
2854
|
const a = Jt.exec(i);
|
|
3163
2855
|
return a ? a[1] ? r(a[1]) : n : !1;
|
|
3164
|
-
}, Kt = (i) => i === "position" || i === "percentage", Xt = (i) => i === "image" || i === "url", Zt = (i) => i === "length" || i === "size" || i === "bg-size", Qt = (i) => i === "length",
|
|
3165
|
-
const i = ee("color"), r = ee("font"), n = ee("text"), a = ee("font-weight"), d = ee("tracking"), h = ee("leading"), c = ee("breakpoint"), l = ee("container"), m = ee("spacing"), b = ee("radius"), f = ee("shadow"), u = ee("inset-shadow"), A = ee("text-shadow"), w = ee("drop-shadow"), x = ee("blur"),
|
|
2856
|
+
}, Kt = (i) => i === "position" || i === "percentage", Xt = (i) => i === "image" || i === "url", Zt = (i) => i === "length" || i === "size" || i === "bg-size", Qt = (i) => i === "length", Mi = (i) => i === "number", Bi = (i) => i === "family-name", er = (i) => i === "shadow", Ui = () => {
|
|
2857
|
+
const i = ee("color"), r = ee("font"), n = ee("text"), a = ee("font-weight"), d = ee("tracking"), h = ee("leading"), c = ee("breakpoint"), l = ee("container"), m = ee("spacing"), b = ee("radius"), f = ee("shadow"), u = ee("inset-shadow"), A = ee("text-shadow"), w = ee("drop-shadow"), x = ee("blur"), S = ee("perspective"), M = ee("aspect"), N = ee("ease"), z = ee("animate"), j = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], H = () => [
|
|
3166
2858
|
"center",
|
|
3167
2859
|
"top",
|
|
3168
2860
|
"bottom",
|
|
@@ -3180,30 +2872,30 @@ const ni = (i, r) => {
|
|
|
3180
2872
|
"bottom-left",
|
|
3181
2873
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
3182
2874
|
"left-bottom"
|
|
3183
|
-
], F = () => [...H(),
|
|
3184
|
-
span: ["full", Re,
|
|
3185
|
-
}, Re,
|
|
3186
|
-
position: [
|
|
2875
|
+
], F = () => [...H(), _, C], G = () => ["auto", "hidden", "clip", "visible", "scroll"], ae = () => ["auto", "contain", "none"], T = () => [_, C, m], $ = () => [Ve, "full", "auto", ...T()], V = () => [Re, "none", "subgrid", _, C], ze = () => ["auto", {
|
|
2876
|
+
span: ["full", Re, _, C]
|
|
2877
|
+
}, Re, _, C], be = () => [Re, "auto", _, C], _e = () => ["auto", "min", "max", "fr", _, C], ve = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], he = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ne = () => ["auto", ...T()], de = () => [Ve, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...T()], R = () => [i, _, C], ye = () => [...H(), Bt, Mt, {
|
|
2878
|
+
position: [_, C]
|
|
3187
2879
|
}], Ge = () => ["no-repeat", {
|
|
3188
2880
|
repeat: ["", "x", "y", "space", "round"]
|
|
3189
|
-
}], q = () => ["auto", "cover", "contain",
|
|
3190
|
-
size: [
|
|
2881
|
+
}], q = () => ["auto", "cover", "contain", Oi, Ri, {
|
|
2882
|
+
size: [_, C]
|
|
3191
2883
|
}], K = () => [ct, Ye, Le], X = () => [
|
|
3192
2884
|
// Deprecated since Tailwind CSS v4.0.0
|
|
3193
2885
|
"",
|
|
3194
2886
|
"none",
|
|
3195
2887
|
"full",
|
|
3196
2888
|
b,
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
], re = () => ["",
|
|
2889
|
+
_,
|
|
2890
|
+
C
|
|
2891
|
+
], re = () => ["", B, Ye, Le], Ee = () => ["solid", "dashed", "dotted", "double"], Ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Y = () => [B, ct, Bt, Mt], pe = () => [
|
|
3200
2892
|
// Deprecated since Tailwind CSS v4.0.0
|
|
3201
2893
|
"",
|
|
3202
2894
|
"none",
|
|
3203
2895
|
x,
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
],
|
|
2896
|
+
_,
|
|
2897
|
+
C
|
|
2898
|
+
], k = () => ["none", B, _, C], O = () => ["none", B, _, C], L = () => [B, _, C], I = () => [Ve, "full", ...T()];
|
|
3207
2899
|
return {
|
|
3208
2900
|
cacheSize: 500,
|
|
3209
2901
|
theme: {
|
|
@@ -3211,18 +2903,18 @@ const ni = (i, r) => {
|
|
|
3211
2903
|
aspect: ["video"],
|
|
3212
2904
|
blur: [ke],
|
|
3213
2905
|
breakpoint: [ke],
|
|
3214
|
-
color: [
|
|
2906
|
+
color: [ki],
|
|
3215
2907
|
container: [ke],
|
|
3216
2908
|
"drop-shadow": [ke],
|
|
3217
2909
|
ease: ["in", "out", "in-out"],
|
|
3218
|
-
font: [
|
|
2910
|
+
font: [Ai],
|
|
3219
2911
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
3220
2912
|
"inset-shadow": [ke],
|
|
3221
2913
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
3222
2914
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
3223
2915
|
radius: [ke],
|
|
3224
2916
|
shadow: [ke],
|
|
3225
|
-
spacing: ["px",
|
|
2917
|
+
spacing: ["px", B],
|
|
3226
2918
|
text: [ke],
|
|
3227
2919
|
"text-shadow": [ke],
|
|
3228
2920
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -3236,7 +2928,7 @@ const ni = (i, r) => {
|
|
|
3236
2928
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
3237
2929
|
*/
|
|
3238
2930
|
aspect: [{
|
|
3239
|
-
aspect: ["auto", "square", Ve,
|
|
2931
|
+
aspect: ["auto", "square", Ve, C, _, M]
|
|
3240
2932
|
}],
|
|
3241
2933
|
/**
|
|
3242
2934
|
* Container
|
|
@@ -3249,7 +2941,7 @@ const ni = (i, r) => {
|
|
|
3249
2941
|
* @see https://tailwindcss.com/docs/columns
|
|
3250
2942
|
*/
|
|
3251
2943
|
columns: [{
|
|
3252
|
-
columns: [
|
|
2944
|
+
columns: [B, C, _, l]
|
|
3253
2945
|
}],
|
|
3254
2946
|
/**
|
|
3255
2947
|
* Break After
|
|
@@ -3449,7 +3141,7 @@ const ni = (i, r) => {
|
|
|
3449
3141
|
* @see https://tailwindcss.com/docs/z-index
|
|
3450
3142
|
*/
|
|
3451
3143
|
z: [{
|
|
3452
|
-
z: [Re, "auto",
|
|
3144
|
+
z: [Re, "auto", _, C]
|
|
3453
3145
|
}],
|
|
3454
3146
|
// ------------------------
|
|
3455
3147
|
// --- Flexbox and Grid ---
|
|
@@ -3480,28 +3172,28 @@ const ni = (i, r) => {
|
|
|
3480
3172
|
* @see https://tailwindcss.com/docs/flex
|
|
3481
3173
|
*/
|
|
3482
3174
|
flex: [{
|
|
3483
|
-
flex: [
|
|
3175
|
+
flex: [B, Ve, "auto", "initial", "none", C]
|
|
3484
3176
|
}],
|
|
3485
3177
|
/**
|
|
3486
3178
|
* Flex Grow
|
|
3487
3179
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
3488
3180
|
*/
|
|
3489
3181
|
grow: [{
|
|
3490
|
-
grow: ["",
|
|
3182
|
+
grow: ["", B, _, C]
|
|
3491
3183
|
}],
|
|
3492
3184
|
/**
|
|
3493
3185
|
* Flex Shrink
|
|
3494
3186
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
3495
3187
|
*/
|
|
3496
3188
|
shrink: [{
|
|
3497
|
-
shrink: ["",
|
|
3189
|
+
shrink: ["", B, _, C]
|
|
3498
3190
|
}],
|
|
3499
3191
|
/**
|
|
3500
3192
|
* Order
|
|
3501
3193
|
* @see https://tailwindcss.com/docs/order
|
|
3502
3194
|
*/
|
|
3503
3195
|
order: [{
|
|
3504
|
-
order: [Re, "first", "last", "none",
|
|
3196
|
+
order: [Re, "first", "last", "none", _, C]
|
|
3505
3197
|
}],
|
|
3506
3198
|
/**
|
|
3507
3199
|
* Grid Template Columns
|
|
@@ -3913,21 +3605,21 @@ const ni = (i, r) => {
|
|
|
3913
3605
|
* @see https://tailwindcss.com/docs/font-weight
|
|
3914
3606
|
*/
|
|
3915
3607
|
"font-weight": [{
|
|
3916
|
-
font: [a,
|
|
3608
|
+
font: [a, _, dt]
|
|
3917
3609
|
}],
|
|
3918
3610
|
/**
|
|
3919
3611
|
* Font Stretch
|
|
3920
3612
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
3921
3613
|
*/
|
|
3922
3614
|
"font-stretch": [{
|
|
3923
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ct,
|
|
3615
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ct, C]
|
|
3924
3616
|
}],
|
|
3925
3617
|
/**
|
|
3926
3618
|
* Font Family
|
|
3927
3619
|
* @see https://tailwindcss.com/docs/font-family
|
|
3928
3620
|
*/
|
|
3929
3621
|
"font-family": [{
|
|
3930
|
-
font: [
|
|
3622
|
+
font: [Ti, C, r]
|
|
3931
3623
|
}],
|
|
3932
3624
|
/**
|
|
3933
3625
|
* Font Variant Numeric
|
|
@@ -3964,14 +3656,14 @@ const ni = (i, r) => {
|
|
|
3964
3656
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
3965
3657
|
*/
|
|
3966
3658
|
tracking: [{
|
|
3967
|
-
tracking: [d,
|
|
3659
|
+
tracking: [d, _, C]
|
|
3968
3660
|
}],
|
|
3969
3661
|
/**
|
|
3970
3662
|
* Line Clamp
|
|
3971
3663
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
3972
3664
|
*/
|
|
3973
3665
|
"line-clamp": [{
|
|
3974
|
-
"line-clamp": [
|
|
3666
|
+
"line-clamp": [B, "none", _, dt]
|
|
3975
3667
|
}],
|
|
3976
3668
|
/**
|
|
3977
3669
|
* Line Height
|
|
@@ -3989,7 +3681,7 @@ const ni = (i, r) => {
|
|
|
3989
3681
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
3990
3682
|
*/
|
|
3991
3683
|
"list-image": [{
|
|
3992
|
-
"list-image": ["none",
|
|
3684
|
+
"list-image": ["none", _, C]
|
|
3993
3685
|
}],
|
|
3994
3686
|
/**
|
|
3995
3687
|
* List Style Position
|
|
@@ -4003,7 +3695,7 @@ const ni = (i, r) => {
|
|
|
4003
3695
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
4004
3696
|
*/
|
|
4005
3697
|
"list-style-type": [{
|
|
4006
|
-
list: ["disc", "decimal", "none",
|
|
3698
|
+
list: ["disc", "decimal", "none", _, C]
|
|
4007
3699
|
}],
|
|
4008
3700
|
/**
|
|
4009
3701
|
* Text Alignment
|
|
@@ -4044,7 +3736,7 @@ const ni = (i, r) => {
|
|
|
4044
3736
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
4045
3737
|
*/
|
|
4046
3738
|
"text-decoration-thickness": [{
|
|
4047
|
-
decoration: [
|
|
3739
|
+
decoration: [B, "from-font", "auto", _, Le]
|
|
4048
3740
|
}],
|
|
4049
3741
|
/**
|
|
4050
3742
|
* Text Decoration Color
|
|
@@ -4058,7 +3750,7 @@ const ni = (i, r) => {
|
|
|
4058
3750
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
4059
3751
|
*/
|
|
4060
3752
|
"underline-offset": [{
|
|
4061
|
-
"underline-offset": [
|
|
3753
|
+
"underline-offset": [B, "auto", _, C]
|
|
4062
3754
|
}],
|
|
4063
3755
|
/**
|
|
4064
3756
|
* Text Transform
|
|
@@ -4089,7 +3781,7 @@ const ni = (i, r) => {
|
|
|
4089
3781
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
4090
3782
|
*/
|
|
4091
3783
|
"vertical-align": [{
|
|
4092
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
3784
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", _, C]
|
|
4093
3785
|
}],
|
|
4094
3786
|
/**
|
|
4095
3787
|
* Whitespace
|
|
@@ -4124,7 +3816,7 @@ const ni = (i, r) => {
|
|
|
4124
3816
|
* @see https://tailwindcss.com/docs/content
|
|
4125
3817
|
*/
|
|
4126
3818
|
content: [{
|
|
4127
|
-
content: ["none",
|
|
3819
|
+
content: ["none", _, C]
|
|
4128
3820
|
}],
|
|
4129
3821
|
// -------------------
|
|
4130
3822
|
// --- Backgrounds ---
|
|
@@ -4179,10 +3871,10 @@ const ni = (i, r) => {
|
|
|
4179
3871
|
bg: ["none", {
|
|
4180
3872
|
linear: [{
|
|
4181
3873
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
4182
|
-
}, Re,
|
|
4183
|
-
radial: ["",
|
|
4184
|
-
conic: [Re,
|
|
4185
|
-
},
|
|
3874
|
+
}, Re, _, C],
|
|
3875
|
+
radial: ["", _, C],
|
|
3876
|
+
conic: [Re, _, C]
|
|
3877
|
+
}, Di, Ni]
|
|
4186
3878
|
}],
|
|
4187
3879
|
/**
|
|
4188
3880
|
* Background Color
|
|
@@ -4524,14 +4216,14 @@ const ni = (i, r) => {
|
|
|
4524
4216
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
4525
4217
|
*/
|
|
4526
4218
|
"outline-offset": [{
|
|
4527
|
-
"outline-offset": [
|
|
4219
|
+
"outline-offset": [B, _, C]
|
|
4528
4220
|
}],
|
|
4529
4221
|
/**
|
|
4530
4222
|
* Outline Width
|
|
4531
4223
|
* @see https://tailwindcss.com/docs/outline-width
|
|
4532
4224
|
*/
|
|
4533
4225
|
"outline-w": [{
|
|
4534
|
-
outline: ["",
|
|
4226
|
+
outline: ["", B, Ye, Le]
|
|
4535
4227
|
}],
|
|
4536
4228
|
/**
|
|
4537
4229
|
* Outline Color
|
|
@@ -4606,7 +4298,7 @@ const ni = (i, r) => {
|
|
|
4606
4298
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
4607
4299
|
*/
|
|
4608
4300
|
"ring-offset-w": [{
|
|
4609
|
-
"ring-offset": [
|
|
4301
|
+
"ring-offset": [B, Le]
|
|
4610
4302
|
}],
|
|
4611
4303
|
/**
|
|
4612
4304
|
* Ring Offset Color
|
|
@@ -4650,21 +4342,21 @@ const ni = (i, r) => {
|
|
|
4650
4342
|
* @see https://tailwindcss.com/docs/opacity
|
|
4651
4343
|
*/
|
|
4652
4344
|
opacity: [{
|
|
4653
|
-
opacity: [
|
|
4345
|
+
opacity: [B, _, C]
|
|
4654
4346
|
}],
|
|
4655
4347
|
/**
|
|
4656
4348
|
* Mix Blend Mode
|
|
4657
4349
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
4658
4350
|
*/
|
|
4659
4351
|
"mix-blend": [{
|
|
4660
|
-
"mix-blend": [...
|
|
4352
|
+
"mix-blend": [...Ue(), "plus-darker", "plus-lighter"]
|
|
4661
4353
|
}],
|
|
4662
4354
|
/**
|
|
4663
4355
|
* Background Blend Mode
|
|
4664
4356
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
4665
4357
|
*/
|
|
4666
4358
|
"bg-blend": [{
|
|
4667
|
-
"bg-blend":
|
|
4359
|
+
"bg-blend": Ue()
|
|
4668
4360
|
}],
|
|
4669
4361
|
/**
|
|
4670
4362
|
* Mask Clip
|
|
@@ -4685,7 +4377,7 @@ const ni = (i, r) => {
|
|
|
4685
4377
|
* @see https://tailwindcss.com/docs/mask-image
|
|
4686
4378
|
*/
|
|
4687
4379
|
"mask-image-linear-pos": [{
|
|
4688
|
-
"mask-linear": [
|
|
4380
|
+
"mask-linear": [B]
|
|
4689
4381
|
}],
|
|
4690
4382
|
"mask-image-linear-from-pos": [{
|
|
4691
4383
|
"mask-linear-from": Y()
|
|
@@ -4772,7 +4464,7 @@ const ni = (i, r) => {
|
|
|
4772
4464
|
"mask-y-to": R()
|
|
4773
4465
|
}],
|
|
4774
4466
|
"mask-image-radial": [{
|
|
4775
|
-
"mask-radial": [
|
|
4467
|
+
"mask-radial": [_, C]
|
|
4776
4468
|
}],
|
|
4777
4469
|
"mask-image-radial-from-pos": [{
|
|
4778
4470
|
"mask-radial-from": Y()
|
|
@@ -4799,7 +4491,7 @@ const ni = (i, r) => {
|
|
|
4799
4491
|
"mask-radial-at": H()
|
|
4800
4492
|
}],
|
|
4801
4493
|
"mask-image-conic-pos": [{
|
|
4802
|
-
"mask-conic": [
|
|
4494
|
+
"mask-conic": [B]
|
|
4803
4495
|
}],
|
|
4804
4496
|
"mask-image-conic-from-pos": [{
|
|
4805
4497
|
"mask-conic-from": Y()
|
|
@@ -4860,7 +4552,7 @@ const ni = (i, r) => {
|
|
|
4860
4552
|
* @see https://tailwindcss.com/docs/mask-image
|
|
4861
4553
|
*/
|
|
4862
4554
|
"mask-image": [{
|
|
4863
|
-
mask: ["none",
|
|
4555
|
+
mask: ["none", _, C]
|
|
4864
4556
|
}],
|
|
4865
4557
|
// ---------------
|
|
4866
4558
|
// --- Filters ---
|
|
@@ -4874,8 +4566,8 @@ const ni = (i, r) => {
|
|
|
4874
4566
|
// Deprecated since Tailwind CSS v3.0.0
|
|
4875
4567
|
"",
|
|
4876
4568
|
"none",
|
|
4877
|
-
|
|
4878
|
-
|
|
4569
|
+
_,
|
|
4570
|
+
C
|
|
4879
4571
|
]
|
|
4880
4572
|
}],
|
|
4881
4573
|
/**
|
|
@@ -4890,14 +4582,14 @@ const ni = (i, r) => {
|
|
|
4890
4582
|
* @see https://tailwindcss.com/docs/brightness
|
|
4891
4583
|
*/
|
|
4892
4584
|
brightness: [{
|
|
4893
|
-
brightness: [
|
|
4585
|
+
brightness: [B, _, C]
|
|
4894
4586
|
}],
|
|
4895
4587
|
/**
|
|
4896
4588
|
* Contrast
|
|
4897
4589
|
* @see https://tailwindcss.com/docs/contrast
|
|
4898
4590
|
*/
|
|
4899
4591
|
contrast: [{
|
|
4900
|
-
contrast: [
|
|
4592
|
+
contrast: [B, _, C]
|
|
4901
4593
|
}],
|
|
4902
4594
|
/**
|
|
4903
4595
|
* Drop Shadow
|
|
@@ -4925,35 +4617,35 @@ const ni = (i, r) => {
|
|
|
4925
4617
|
* @see https://tailwindcss.com/docs/grayscale
|
|
4926
4618
|
*/
|
|
4927
4619
|
grayscale: [{
|
|
4928
|
-
grayscale: ["",
|
|
4620
|
+
grayscale: ["", B, _, C]
|
|
4929
4621
|
}],
|
|
4930
4622
|
/**
|
|
4931
4623
|
* Hue Rotate
|
|
4932
4624
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
4933
4625
|
*/
|
|
4934
4626
|
"hue-rotate": [{
|
|
4935
|
-
"hue-rotate": [
|
|
4627
|
+
"hue-rotate": [B, _, C]
|
|
4936
4628
|
}],
|
|
4937
4629
|
/**
|
|
4938
4630
|
* Invert
|
|
4939
4631
|
* @see https://tailwindcss.com/docs/invert
|
|
4940
4632
|
*/
|
|
4941
4633
|
invert: [{
|
|
4942
|
-
invert: ["",
|
|
4634
|
+
invert: ["", B, _, C]
|
|
4943
4635
|
}],
|
|
4944
4636
|
/**
|
|
4945
4637
|
* Saturate
|
|
4946
4638
|
* @see https://tailwindcss.com/docs/saturate
|
|
4947
4639
|
*/
|
|
4948
4640
|
saturate: [{
|
|
4949
|
-
saturate: [
|
|
4641
|
+
saturate: [B, _, C]
|
|
4950
4642
|
}],
|
|
4951
4643
|
/**
|
|
4952
4644
|
* Sepia
|
|
4953
4645
|
* @see https://tailwindcss.com/docs/sepia
|
|
4954
4646
|
*/
|
|
4955
4647
|
sepia: [{
|
|
4956
|
-
sepia: ["",
|
|
4648
|
+
sepia: ["", B, _, C]
|
|
4957
4649
|
}],
|
|
4958
4650
|
/**
|
|
4959
4651
|
* Backdrop Filter
|
|
@@ -4964,8 +4656,8 @@ const ni = (i, r) => {
|
|
|
4964
4656
|
// Deprecated since Tailwind CSS v3.0.0
|
|
4965
4657
|
"",
|
|
4966
4658
|
"none",
|
|
4967
|
-
|
|
4968
|
-
|
|
4659
|
+
_,
|
|
4660
|
+
C
|
|
4969
4661
|
]
|
|
4970
4662
|
}],
|
|
4971
4663
|
/**
|
|
@@ -4980,56 +4672,56 @@ const ni = (i, r) => {
|
|
|
4980
4672
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
4981
4673
|
*/
|
|
4982
4674
|
"backdrop-brightness": [{
|
|
4983
|
-
"backdrop-brightness": [
|
|
4675
|
+
"backdrop-brightness": [B, _, C]
|
|
4984
4676
|
}],
|
|
4985
4677
|
/**
|
|
4986
4678
|
* Backdrop Contrast
|
|
4987
4679
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
4988
4680
|
*/
|
|
4989
4681
|
"backdrop-contrast": [{
|
|
4990
|
-
"backdrop-contrast": [
|
|
4682
|
+
"backdrop-contrast": [B, _, C]
|
|
4991
4683
|
}],
|
|
4992
4684
|
/**
|
|
4993
4685
|
* Backdrop Grayscale
|
|
4994
4686
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
4995
4687
|
*/
|
|
4996
4688
|
"backdrop-grayscale": [{
|
|
4997
|
-
"backdrop-grayscale": ["",
|
|
4689
|
+
"backdrop-grayscale": ["", B, _, C]
|
|
4998
4690
|
}],
|
|
4999
4691
|
/**
|
|
5000
4692
|
* Backdrop Hue Rotate
|
|
5001
4693
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
5002
4694
|
*/
|
|
5003
4695
|
"backdrop-hue-rotate": [{
|
|
5004
|
-
"backdrop-hue-rotate": [
|
|
4696
|
+
"backdrop-hue-rotate": [B, _, C]
|
|
5005
4697
|
}],
|
|
5006
4698
|
/**
|
|
5007
4699
|
* Backdrop Invert
|
|
5008
4700
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
5009
4701
|
*/
|
|
5010
4702
|
"backdrop-invert": [{
|
|
5011
|
-
"backdrop-invert": ["",
|
|
4703
|
+
"backdrop-invert": ["", B, _, C]
|
|
5012
4704
|
}],
|
|
5013
4705
|
/**
|
|
5014
4706
|
* Backdrop Opacity
|
|
5015
4707
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
5016
4708
|
*/
|
|
5017
4709
|
"backdrop-opacity": [{
|
|
5018
|
-
"backdrop-opacity": [
|
|
4710
|
+
"backdrop-opacity": [B, _, C]
|
|
5019
4711
|
}],
|
|
5020
4712
|
/**
|
|
5021
4713
|
* Backdrop Saturate
|
|
5022
4714
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
5023
4715
|
*/
|
|
5024
4716
|
"backdrop-saturate": [{
|
|
5025
|
-
"backdrop-saturate": [
|
|
4717
|
+
"backdrop-saturate": [B, _, C]
|
|
5026
4718
|
}],
|
|
5027
4719
|
/**
|
|
5028
4720
|
* Backdrop Sepia
|
|
5029
4721
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
5030
4722
|
*/
|
|
5031
4723
|
"backdrop-sepia": [{
|
|
5032
|
-
"backdrop-sepia": ["",
|
|
4724
|
+
"backdrop-sepia": ["", B, _, C]
|
|
5033
4725
|
}],
|
|
5034
4726
|
// --------------
|
|
5035
4727
|
// --- Tables ---
|
|
@@ -5084,7 +4776,7 @@ const ni = (i, r) => {
|
|
|
5084
4776
|
* @see https://tailwindcss.com/docs/transition-property
|
|
5085
4777
|
*/
|
|
5086
4778
|
transition: [{
|
|
5087
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
4779
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", _, C]
|
|
5088
4780
|
}],
|
|
5089
4781
|
/**
|
|
5090
4782
|
* Transition Behavior
|
|
@@ -5098,28 +4790,28 @@ const ni = (i, r) => {
|
|
|
5098
4790
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
5099
4791
|
*/
|
|
5100
4792
|
duration: [{
|
|
5101
|
-
duration: [
|
|
4793
|
+
duration: [B, "initial", _, C]
|
|
5102
4794
|
}],
|
|
5103
4795
|
/**
|
|
5104
4796
|
* Transition Timing Function
|
|
5105
4797
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
5106
4798
|
*/
|
|
5107
4799
|
ease: [{
|
|
5108
|
-
ease: ["linear", "initial", N,
|
|
4800
|
+
ease: ["linear", "initial", N, _, C]
|
|
5109
4801
|
}],
|
|
5110
4802
|
/**
|
|
5111
4803
|
* Transition Delay
|
|
5112
4804
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
5113
4805
|
*/
|
|
5114
4806
|
delay: [{
|
|
5115
|
-
delay: [
|
|
4807
|
+
delay: [B, _, C]
|
|
5116
4808
|
}],
|
|
5117
4809
|
/**
|
|
5118
4810
|
* Animation
|
|
5119
4811
|
* @see https://tailwindcss.com/docs/animation
|
|
5120
4812
|
*/
|
|
5121
4813
|
animate: [{
|
|
5122
|
-
animate: ["none", z,
|
|
4814
|
+
animate: ["none", z, _, C]
|
|
5123
4815
|
}],
|
|
5124
4816
|
// ------------------
|
|
5125
4817
|
// --- Transforms ---
|
|
@@ -5136,7 +4828,7 @@ const ni = (i, r) => {
|
|
|
5136
4828
|
* @see https://tailwindcss.com/docs/perspective
|
|
5137
4829
|
*/
|
|
5138
4830
|
perspective: [{
|
|
5139
|
-
perspective: [_, C
|
|
4831
|
+
perspective: [S, _, C]
|
|
5140
4832
|
}],
|
|
5141
4833
|
/**
|
|
5142
4834
|
* Perspective Origin
|
|
@@ -5150,28 +4842,28 @@ const ni = (i, r) => {
|
|
|
5150
4842
|
* @see https://tailwindcss.com/docs/rotate
|
|
5151
4843
|
*/
|
|
5152
4844
|
rotate: [{
|
|
5153
|
-
rotate:
|
|
4845
|
+
rotate: k()
|
|
5154
4846
|
}],
|
|
5155
4847
|
/**
|
|
5156
4848
|
* Rotate X
|
|
5157
4849
|
* @see https://tailwindcss.com/docs/rotate
|
|
5158
4850
|
*/
|
|
5159
4851
|
"rotate-x": [{
|
|
5160
|
-
"rotate-x":
|
|
4852
|
+
"rotate-x": k()
|
|
5161
4853
|
}],
|
|
5162
4854
|
/**
|
|
5163
4855
|
* Rotate Y
|
|
5164
4856
|
* @see https://tailwindcss.com/docs/rotate
|
|
5165
4857
|
*/
|
|
5166
4858
|
"rotate-y": [{
|
|
5167
|
-
"rotate-y":
|
|
4859
|
+
"rotate-y": k()
|
|
5168
4860
|
}],
|
|
5169
4861
|
/**
|
|
5170
4862
|
* Rotate Z
|
|
5171
4863
|
* @see https://tailwindcss.com/docs/rotate
|
|
5172
4864
|
*/
|
|
5173
4865
|
"rotate-z": [{
|
|
5174
|
-
"rotate-z":
|
|
4866
|
+
"rotate-z": k()
|
|
5175
4867
|
}],
|
|
5176
4868
|
/**
|
|
5177
4869
|
* Scale
|
|
@@ -5232,7 +4924,7 @@ const ni = (i, r) => {
|
|
|
5232
4924
|
* @see https://tailwindcss.com/docs/transform
|
|
5233
4925
|
*/
|
|
5234
4926
|
transform: [{
|
|
5235
|
-
transform: [
|
|
4927
|
+
transform: [_, C, "", "none", "gpu", "cpu"]
|
|
5236
4928
|
}],
|
|
5237
4929
|
/**
|
|
5238
4930
|
* Transform Origin
|
|
@@ -5317,7 +5009,7 @@ const ni = (i, r) => {
|
|
|
5317
5009
|
* @see https://tailwindcss.com/docs/cursor
|
|
5318
5010
|
*/
|
|
5319
5011
|
cursor: [{
|
|
5320
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
5012
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", _, C]
|
|
5321
5013
|
}],
|
|
5322
5014
|
/**
|
|
5323
5015
|
* Field Sizing
|
|
@@ -5539,7 +5231,7 @@ const ni = (i, r) => {
|
|
|
5539
5231
|
* @see https://tailwindcss.com/docs/will-change
|
|
5540
5232
|
*/
|
|
5541
5233
|
"will-change": [{
|
|
5542
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
5234
|
+
"will-change": ["auto", "scroll", "contents", "transform", _, C]
|
|
5543
5235
|
}],
|
|
5544
5236
|
// -----------
|
|
5545
5237
|
// --- SVG ---
|
|
@@ -5556,7 +5248,7 @@ const ni = (i, r) => {
|
|
|
5556
5248
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
5557
5249
|
*/
|
|
5558
5250
|
"stroke-w": [{
|
|
5559
|
-
stroke: [
|
|
5251
|
+
stroke: [B, Ye, Le, dt]
|
|
5560
5252
|
}],
|
|
5561
5253
|
/**
|
|
5562
5254
|
* Stroke
|
|
@@ -5631,11 +5323,11 @@ const ni = (i, r) => {
|
|
|
5631
5323
|
},
|
|
5632
5324
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
5633
5325
|
};
|
|
5634
|
-
},
|
|
5326
|
+
}, Li = /* @__PURE__ */ mi(Ui);
|
|
5635
5327
|
function E(...i) {
|
|
5636
|
-
return
|
|
5328
|
+
return Li(Yr(i));
|
|
5637
5329
|
}
|
|
5638
|
-
const
|
|
5330
|
+
const Be = we.forwardRef(
|
|
5639
5331
|
({ className: i, variant: r = "default", size: n = "default", ...a }, d) => {
|
|
5640
5332
|
const h = E(
|
|
5641
5333
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium",
|
|
@@ -5677,7 +5369,7 @@ const Ue = we.forwardRef(
|
|
|
5677
5369
|
lg: "h-12 rounded-xl px-8 text-base",
|
|
5678
5370
|
icon: "h-10 w-10"
|
|
5679
5371
|
};
|
|
5680
|
-
return /* @__PURE__ */
|
|
5372
|
+
return /* @__PURE__ */ v(
|
|
5681
5373
|
"button",
|
|
5682
5374
|
{
|
|
5683
5375
|
className: E(h, c[r], l[n], i),
|
|
@@ -5687,9 +5379,9 @@ const Ue = we.forwardRef(
|
|
|
5687
5379
|
);
|
|
5688
5380
|
}
|
|
5689
5381
|
);
|
|
5690
|
-
|
|
5382
|
+
Be.displayName = "Button";
|
|
5691
5383
|
const tr = we.forwardRef(
|
|
5692
|
-
({ className: i, type: r, ...n }, a) => /* @__PURE__ */
|
|
5384
|
+
({ className: i, type: r, ...n }, a) => /* @__PURE__ */ v(
|
|
5693
5385
|
"input",
|
|
5694
5386
|
{
|
|
5695
5387
|
type: r,
|
|
@@ -5730,7 +5422,7 @@ function We({ className: i, variant: r = "default", ...n }) {
|
|
|
5730
5422
|
"border-transparent bg-amber-600 text-white shadow-sm"
|
|
5731
5423
|
)
|
|
5732
5424
|
};
|
|
5733
|
-
return /* @__PURE__ */
|
|
5425
|
+
return /* @__PURE__ */ v(
|
|
5734
5426
|
"div",
|
|
5735
5427
|
{
|
|
5736
5428
|
className: E(
|
|
@@ -5743,7 +5435,7 @@ function We({ className: i, variant: r = "default", ...n }) {
|
|
|
5743
5435
|
}
|
|
5744
5436
|
);
|
|
5745
5437
|
}
|
|
5746
|
-
const rr = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */
|
|
5438
|
+
const rr = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ v(
|
|
5747
5439
|
"div",
|
|
5748
5440
|
{
|
|
5749
5441
|
ref: n,
|
|
@@ -5757,7 +5449,7 @@ const rr = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ y(
|
|
|
5757
5449
|
}
|
|
5758
5450
|
));
|
|
5759
5451
|
rr.displayName = "Card";
|
|
5760
|
-
const
|
|
5452
|
+
const Fi = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ v(
|
|
5761
5453
|
"div",
|
|
5762
5454
|
{
|
|
5763
5455
|
ref: n,
|
|
@@ -5765,8 +5457,8 @@ const Hi = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ y(
|
|
|
5765
5457
|
...r
|
|
5766
5458
|
}
|
|
5767
5459
|
));
|
|
5768
|
-
|
|
5769
|
-
const
|
|
5460
|
+
Fi.displayName = "CardHeader";
|
|
5461
|
+
const Pi = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ v(
|
|
5770
5462
|
"h3",
|
|
5771
5463
|
{
|
|
5772
5464
|
ref: n,
|
|
@@ -5777,8 +5469,8 @@ const qi = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ y(
|
|
|
5777
5469
|
...r
|
|
5778
5470
|
}
|
|
5779
5471
|
));
|
|
5780
|
-
|
|
5781
|
-
const
|
|
5472
|
+
Pi.displayName = "CardTitle";
|
|
5473
|
+
const zi = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ v(
|
|
5782
5474
|
"p",
|
|
5783
5475
|
{
|
|
5784
5476
|
ref: n,
|
|
@@ -5786,10 +5478,10 @@ const Ji = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ y(
|
|
|
5786
5478
|
...r
|
|
5787
5479
|
}
|
|
5788
5480
|
));
|
|
5789
|
-
|
|
5790
|
-
const
|
|
5791
|
-
|
|
5792
|
-
const
|
|
5481
|
+
zi.displayName = "CardDescription";
|
|
5482
|
+
const Gi = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ v("div", { ref: n, className: E("p-6 pt-0", i), ...r }));
|
|
5483
|
+
Gi.displayName = "CardContent";
|
|
5484
|
+
const $i = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ v(
|
|
5793
5485
|
"div",
|
|
5794
5486
|
{
|
|
5795
5487
|
ref: n,
|
|
@@ -5797,8 +5489,8 @@ const Ki = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ y(
|
|
|
5797
5489
|
...r
|
|
5798
5490
|
}
|
|
5799
5491
|
));
|
|
5800
|
-
|
|
5801
|
-
const
|
|
5492
|
+
$i.displayName = "CardFooter";
|
|
5493
|
+
const ji = ({ compact: i = !1 }) => {
|
|
5802
5494
|
const { sessionState: r, triggerSession: n, theme: a } = Ke(), d = a === "dark", h = (c) => {
|
|
5803
5495
|
if (!c) return "N/A";
|
|
5804
5496
|
try {
|
|
@@ -5810,19 +5502,19 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
5810
5502
|
return "Invalid date";
|
|
5811
5503
|
}
|
|
5812
5504
|
};
|
|
5813
|
-
return i ? /* @__PURE__ */
|
|
5814
|
-
r.isSessionReady ? /* @__PURE__ */
|
|
5815
|
-
/* @__PURE__ */
|
|
5505
|
+
return i ? /* @__PURE__ */ D("div", { className: "flex items-center gap-2", children: [
|
|
5506
|
+
r.isSessionReady ? /* @__PURE__ */ D(We, { variant: "success", className: "gap-1", children: [
|
|
5507
|
+
/* @__PURE__ */ v(Et, { className: "h-3 w-3" }),
|
|
5816
5508
|
"Session Active"
|
|
5817
|
-
] }) : r.lastError ? /* @__PURE__ */
|
|
5818
|
-
/* @__PURE__ */
|
|
5509
|
+
] }) : r.lastError ? /* @__PURE__ */ D(We, { variant: "destructive", className: "gap-1", children: [
|
|
5510
|
+
/* @__PURE__ */ v(at, { className: "h-3 w-3" }),
|
|
5819
5511
|
"Error"
|
|
5820
|
-
] }) : /* @__PURE__ */
|
|
5821
|
-
/* @__PURE__ */
|
|
5512
|
+
] }) : /* @__PURE__ */ D(We, { variant: "secondary", className: "gap-1", children: [
|
|
5513
|
+
/* @__PURE__ */ v(xt, { className: "h-3 w-3" }),
|
|
5822
5514
|
"Ready"
|
|
5823
5515
|
] }),
|
|
5824
|
-
!r.isSessionReady && /* @__PURE__ */
|
|
5825
|
-
|
|
5516
|
+
!r.isSessionReady && /* @__PURE__ */ D(
|
|
5517
|
+
Be,
|
|
5826
5518
|
{
|
|
5827
5519
|
variant: "outline",
|
|
5828
5520
|
size: "sm",
|
|
@@ -5832,80 +5524,80 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
5832
5524
|
d ? "border-gray-700 hover:bg-gray-800 hover:border-gray-600" : "border-gray-200 hover:bg-gray-50 hover:border-gray-300"
|
|
5833
5525
|
),
|
|
5834
5526
|
children: [
|
|
5835
|
-
/* @__PURE__ */
|
|
5527
|
+
/* @__PURE__ */ v(St, { className: "h-3 w-3 mr-1" }),
|
|
5836
5528
|
"Start"
|
|
5837
5529
|
]
|
|
5838
5530
|
}
|
|
5839
5531
|
)
|
|
5840
|
-
] }) : /* @__PURE__ */
|
|
5532
|
+
] }) : /* @__PURE__ */ v(rr, { className: E(
|
|
5841
5533
|
"p-3 border",
|
|
5842
5534
|
d ? "bg-gray-800/50 border-gray-700/50" : "bg-gray-50 border-gray-100"
|
|
5843
|
-
), children: /* @__PURE__ */
|
|
5844
|
-
/* @__PURE__ */
|
|
5845
|
-
/* @__PURE__ */
|
|
5846
|
-
/* @__PURE__ */
|
|
5535
|
+
), children: /* @__PURE__ */ D("div", { className: "space-y-3", children: [
|
|
5536
|
+
/* @__PURE__ */ D("div", { className: "flex items-center justify-between", children: [
|
|
5537
|
+
/* @__PURE__ */ D("div", { className: "flex items-center gap-2", children: [
|
|
5538
|
+
/* @__PURE__ */ v("div", { className: E(
|
|
5847
5539
|
"w-6 h-6 rounded-md flex items-center justify-center",
|
|
5848
5540
|
r.isSessionReady ? "bg-emerald-100 dark:bg-emerald-500/20" : d ? "bg-gray-800" : "bg-gray-100"
|
|
5849
|
-
), children: /* @__PURE__ */
|
|
5541
|
+
), children: /* @__PURE__ */ v(xt, { className: E(
|
|
5850
5542
|
"h-3.5 w-3.5",
|
|
5851
5543
|
r.isSessionReady ? "text-emerald-600 dark:text-emerald-400" : d ? "text-gray-400" : "text-gray-500"
|
|
5852
5544
|
) }) }),
|
|
5853
|
-
/* @__PURE__ */
|
|
5545
|
+
/* @__PURE__ */ v("h3", { className: E(
|
|
5854
5546
|
"text-xs font-semibold",
|
|
5855
5547
|
d ? "text-white" : "text-gray-900"
|
|
5856
5548
|
), children: "Session" })
|
|
5857
5549
|
] }),
|
|
5858
|
-
r.isSessionReady ? /* @__PURE__ */
|
|
5859
|
-
/* @__PURE__ */
|
|
5550
|
+
r.isSessionReady ? /* @__PURE__ */ D(We, { variant: "success", children: [
|
|
5551
|
+
/* @__PURE__ */ v(Et, { className: "h-3 w-3 mr-1" }),
|
|
5860
5552
|
"Active"
|
|
5861
|
-
] }) : r.lastError ? /* @__PURE__ */
|
|
5862
|
-
/* @__PURE__ */
|
|
5553
|
+
] }) : r.lastError ? /* @__PURE__ */ D(We, { variant: "destructive", children: [
|
|
5554
|
+
/* @__PURE__ */ v(at, { className: "h-3 w-3 mr-1" }),
|
|
5863
5555
|
"Error"
|
|
5864
|
-
] }) : /* @__PURE__ */
|
|
5556
|
+
] }) : /* @__PURE__ */ v(We, { variant: "secondary", children: "Not Started" })
|
|
5865
5557
|
] }),
|
|
5866
|
-
/* @__PURE__ */
|
|
5867
|
-
r.session_id && /* @__PURE__ */
|
|
5558
|
+
/* @__PURE__ */ D("div", { className: "space-y-2", children: [
|
|
5559
|
+
r.session_id && /* @__PURE__ */ D("div", { className: E(
|
|
5868
5560
|
"flex items-start gap-2 p-2 rounded-lg",
|
|
5869
5561
|
d ? "bg-gray-800/50 border border-gray-700/50" : "bg-white border border-gray-100"
|
|
5870
5562
|
), children: [
|
|
5871
|
-
/* @__PURE__ */
|
|
5563
|
+
/* @__PURE__ */ v("span", { className: E(
|
|
5872
5564
|
"text-[10px] font-medium min-w-[60px] uppercase tracking-wide",
|
|
5873
5565
|
d ? "text-gray-400" : "text-gray-500"
|
|
5874
5566
|
), children: "ID" }),
|
|
5875
|
-
/* @__PURE__ */
|
|
5567
|
+
/* @__PURE__ */ v("span", { className: E(
|
|
5876
5568
|
"text-[10px] font-mono break-all",
|
|
5877
5569
|
d ? "text-gray-300" : "text-gray-700"
|
|
5878
5570
|
), children: r.session_id })
|
|
5879
5571
|
] }),
|
|
5880
|
-
r.expires_at && /* @__PURE__ */
|
|
5572
|
+
r.expires_at && /* @__PURE__ */ D("div", { className: E(
|
|
5881
5573
|
"flex items-center gap-2 p-2 rounded-lg",
|
|
5882
5574
|
d ? "bg-gray-800/50 border border-gray-700/50" : "bg-white border border-gray-100"
|
|
5883
5575
|
), children: [
|
|
5884
|
-
/* @__PURE__ */
|
|
5885
|
-
/* @__PURE__ */
|
|
5576
|
+
/* @__PURE__ */ v(ur, { className: E("h-3.5 w-3.5", d ? "text-gray-500" : "text-gray-400") }),
|
|
5577
|
+
/* @__PURE__ */ D("span", { className: E("text-xs", d ? "text-gray-400" : "text-gray-600"), children: [
|
|
5886
5578
|
"Expires in: ",
|
|
5887
|
-
/* @__PURE__ */
|
|
5579
|
+
/* @__PURE__ */ v("span", { className: "font-medium", children: h(r.expires_at) })
|
|
5888
5580
|
] })
|
|
5889
5581
|
] }),
|
|
5890
|
-
r.lastError && /* @__PURE__ */
|
|
5582
|
+
r.lastError && /* @__PURE__ */ D("div", { className: E(
|
|
5891
5583
|
"flex items-start gap-3 p-3 rounded-xl border",
|
|
5892
5584
|
d ? "bg-red-950/30 border-red-900/50" : "bg-red-50 border-red-100"
|
|
5893
5585
|
), children: [
|
|
5894
|
-
/* @__PURE__ */
|
|
5895
|
-
/* @__PURE__ */
|
|
5896
|
-
/* @__PURE__ */
|
|
5586
|
+
/* @__PURE__ */ v("div", { className: "w-6 h-6 rounded-lg bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ v(at, { className: "h-3.5 w-3.5 text-white" }) }),
|
|
5587
|
+
/* @__PURE__ */ D("div", { className: "flex-1 min-w-0", children: [
|
|
5588
|
+
/* @__PURE__ */ v("p", { className: E(
|
|
5897
5589
|
"text-xs font-medium mb-0.5",
|
|
5898
5590
|
d ? "text-red-300" : "text-red-800"
|
|
5899
5591
|
), children: "Connection Error" }),
|
|
5900
|
-
/* @__PURE__ */
|
|
5592
|
+
/* @__PURE__ */ v("p", { className: E(
|
|
5901
5593
|
"text-[11px] leading-relaxed break-words",
|
|
5902
5594
|
d ? "text-red-400" : "text-red-600"
|
|
5903
5595
|
), children: r.lastError })
|
|
5904
5596
|
] })
|
|
5905
5597
|
] })
|
|
5906
5598
|
] }),
|
|
5907
|
-
!r.isSessionReady && /* @__PURE__ */
|
|
5908
|
-
|
|
5599
|
+
!r.isSessionReady && /* @__PURE__ */ D(
|
|
5600
|
+
Be,
|
|
5909
5601
|
{
|
|
5910
5602
|
variant: "outline",
|
|
5911
5603
|
size: "sm",
|
|
@@ -5915,13 +5607,13 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
5915
5607
|
d ? "border-gray-700 hover:bg-gray-800 hover:border-gray-600" : "border-gray-200 hover:bg-gray-50 hover:border-gray-300"
|
|
5916
5608
|
),
|
|
5917
5609
|
children: [
|
|
5918
|
-
/* @__PURE__ */
|
|
5610
|
+
/* @__PURE__ */ v(St, { className: "h-4 w-4 mr-2" }),
|
|
5919
5611
|
"Start Session"
|
|
5920
5612
|
]
|
|
5921
5613
|
}
|
|
5922
5614
|
)
|
|
5923
5615
|
] }) });
|
|
5924
|
-
},
|
|
5616
|
+
}, Vi = () => {
|
|
5925
5617
|
const { chatMessages: i, sendMessage: r, isConnected: n, theme: a } = Ke(), [d, h] = le(""), [c, l] = le(!1), m = Oe(null), b = a === "dark", f = () => {
|
|
5926
5618
|
m.current?.scrollIntoView({ behavior: "smooth" });
|
|
5927
5619
|
};
|
|
@@ -5934,8 +5626,8 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
5934
5626
|
h(""), l(!0);
|
|
5935
5627
|
try {
|
|
5936
5628
|
await r(x);
|
|
5937
|
-
} catch (
|
|
5938
|
-
console.error("Failed to send message:",
|
|
5629
|
+
} catch (S) {
|
|
5630
|
+
console.error("Failed to send message:", S), h(x);
|
|
5939
5631
|
} finally {
|
|
5940
5632
|
l(!1);
|
|
5941
5633
|
}
|
|
@@ -5945,66 +5637,66 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
5945
5637
|
hour: "2-digit",
|
|
5946
5638
|
minute: "2-digit"
|
|
5947
5639
|
});
|
|
5948
|
-
return /* @__PURE__ */
|
|
5640
|
+
return /* @__PURE__ */ D("div", { className: E(
|
|
5949
5641
|
"flex flex-col h-full",
|
|
5950
5642
|
b ? "bg-gray-950" : "bg-white"
|
|
5951
5643
|
), children: [
|
|
5952
|
-
/* @__PURE__ */
|
|
5644
|
+
/* @__PURE__ */ v("div", { className: E(
|
|
5953
5645
|
"px-4 py-1.5 border-b",
|
|
5954
5646
|
b ? "border-gray-800 bg-gray-900" : "border-gray-100 bg-white"
|
|
5955
|
-
), children: /* @__PURE__ */
|
|
5956
|
-
/* @__PURE__ */
|
|
5647
|
+
), children: /* @__PURE__ */ D("div", { className: "flex items-center gap-3", children: [
|
|
5648
|
+
/* @__PURE__ */ v("div", { className: E(
|
|
5957
5649
|
"w-6 h-6 rounded-lg flex items-center justify-center",
|
|
5958
5650
|
b ? "bg-gray-800" : "bg-gray-100"
|
|
5959
|
-
), children: /* @__PURE__ */
|
|
5651
|
+
), children: /* @__PURE__ */ v(Ut, { className: E(
|
|
5960
5652
|
"w-3 h-3",
|
|
5961
5653
|
b ? "text-gray-400" : "text-gray-600"
|
|
5962
5654
|
) }) }),
|
|
5963
|
-
/* @__PURE__ */
|
|
5655
|
+
/* @__PURE__ */ v("div", { children: /* @__PURE__ */ v("h3", { className: E(
|
|
5964
5656
|
"font-semibold text-[11px]",
|
|
5965
5657
|
b ? "text-white" : "text-gray-900"
|
|
5966
5658
|
), children: "Conversation" }) })
|
|
5967
5659
|
] }) }),
|
|
5968
|
-
/* @__PURE__ */
|
|
5660
|
+
/* @__PURE__ */ v("div", { className: E(
|
|
5969
5661
|
"px-4 py-1.5 border-b",
|
|
5970
5662
|
b ? "border-gray-800/50" : "border-gray-100"
|
|
5971
|
-
), children: /* @__PURE__ */
|
|
5972
|
-
/* @__PURE__ */
|
|
5663
|
+
), children: /* @__PURE__ */ v(ji, { compact: !0 }) }),
|
|
5664
|
+
/* @__PURE__ */ D("div", { className: E(
|
|
5973
5665
|
"flex-1 overflow-y-auto p-4 space-y-4",
|
|
5974
5666
|
b ? "bg-gray-900/30" : "bg-gray-50/30"
|
|
5975
5667
|
), children: [
|
|
5976
|
-
i.length === 0 ? /* @__PURE__ */
|
|
5977
|
-
/* @__PURE__ */
|
|
5668
|
+
i.length === 0 ? /* @__PURE__ */ D("div", { className: "flex flex-col items-center justify-center h-full text-center px-4 aria-animate-fade-in", children: [
|
|
5669
|
+
/* @__PURE__ */ v("div", { className: E(
|
|
5978
5670
|
"rounded-xl p-4 mb-3",
|
|
5979
5671
|
b ? "bg-gray-800" : "bg-gray-100"
|
|
5980
|
-
), children: /* @__PURE__ */
|
|
5672
|
+
), children: /* @__PURE__ */ v(ht, { className: E(
|
|
5981
5673
|
"h-6 w-6",
|
|
5982
5674
|
b ? "text-gray-500" : "text-gray-400"
|
|
5983
5675
|
) }) }),
|
|
5984
|
-
/* @__PURE__ */
|
|
5676
|
+
/* @__PURE__ */ v("p", { className: E(
|
|
5985
5677
|
"text-xs font-medium",
|
|
5986
5678
|
b ? "text-gray-300" : "text-gray-700"
|
|
5987
5679
|
), children: "Start a conversation" })
|
|
5988
|
-
] }) : i.map((x,
|
|
5680
|
+
] }) : i.map((x, S) => /* @__PURE__ */ D(
|
|
5989
5681
|
"div",
|
|
5990
5682
|
{
|
|
5991
5683
|
className: E(
|
|
5992
5684
|
"flex gap-3 aria-animate-fade-in",
|
|
5993
5685
|
x.role === "user" ? "flex-row-reverse" : "flex-row"
|
|
5994
5686
|
),
|
|
5995
|
-
style: { animationDelay: `${
|
|
5687
|
+
style: { animationDelay: `${S * 50}ms` },
|
|
5996
5688
|
children: [
|
|
5997
|
-
/* @__PURE__ */
|
|
5689
|
+
/* @__PURE__ */ v(
|
|
5998
5690
|
"div",
|
|
5999
5691
|
{
|
|
6000
5692
|
className: E(
|
|
6001
5693
|
"shrink-0 w-7 h-7 rounded-lg flex items-center justify-center shadow-sm",
|
|
6002
5694
|
x.role === "user" ? "bg-primary text-white" : b ? "bg-gray-800 text-gray-300" : "bg-gray-100 text-gray-600"
|
|
6003
5695
|
),
|
|
6004
|
-
children: x.role === "user" ? /* @__PURE__ */
|
|
5696
|
+
children: x.role === "user" ? /* @__PURE__ */ v(hr, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ v(pr, { className: "h-3.5 w-3.5" })
|
|
6005
5697
|
}
|
|
6006
5698
|
),
|
|
6007
|
-
/* @__PURE__ */
|
|
5699
|
+
/* @__PURE__ */ D(
|
|
6008
5700
|
"div",
|
|
6009
5701
|
{
|
|
6010
5702
|
className: E(
|
|
@@ -6012,17 +5704,17 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6012
5704
|
x.role === "user" ? "items-end" : "items-start"
|
|
6013
5705
|
),
|
|
6014
5706
|
children: [
|
|
6015
|
-
/* @__PURE__ */
|
|
5707
|
+
/* @__PURE__ */ v(
|
|
6016
5708
|
"div",
|
|
6017
5709
|
{
|
|
6018
5710
|
className: E(
|
|
6019
5711
|
"px-3 py-2 rounded-xl shadow-sm",
|
|
6020
5712
|
x.role === "user" ? "bg-primary text-white" : b ? "bg-gray-800 border border-gray-700 text-gray-100" : "bg-white border border-gray-100 text-gray-800"
|
|
6021
5713
|
),
|
|
6022
|
-
children: /* @__PURE__ */
|
|
5714
|
+
children: /* @__PURE__ */ v("p", { className: "text-xs leading-relaxed break-words", children: x.content })
|
|
6023
5715
|
}
|
|
6024
5716
|
),
|
|
6025
|
-
/* @__PURE__ */
|
|
5717
|
+
/* @__PURE__ */ v("span", { className: E(
|
|
6026
5718
|
"text-[9px] mt-1 px-1",
|
|
6027
5719
|
b ? "text-gray-500" : "text-gray-400"
|
|
6028
5720
|
), children: w(x.timestamp) })
|
|
@@ -6031,18 +5723,18 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6031
5723
|
)
|
|
6032
5724
|
]
|
|
6033
5725
|
},
|
|
6034
|
-
|
|
5726
|
+
S
|
|
6035
5727
|
)),
|
|
6036
|
-
/* @__PURE__ */
|
|
5728
|
+
/* @__PURE__ */ v("div", { ref: m })
|
|
6037
5729
|
] }),
|
|
6038
|
-
/* @__PURE__ */
|
|
5730
|
+
/* @__PURE__ */ v("div", { className: E(
|
|
6039
5731
|
"p-3 border-t",
|
|
6040
5732
|
b ? "border-gray-800 bg-gray-900" : "border-gray-100 bg-white"
|
|
6041
|
-
), children: /* @__PURE__ */
|
|
5733
|
+
), children: /* @__PURE__ */ D("div", { className: E(
|
|
6042
5734
|
"flex gap-2 p-1 rounded-lg border transition-all duration-200",
|
|
6043
5735
|
b ? "bg-gray-850 border-gray-700 focus-within:border-primary/50" : "bg-gray-50 border-gray-200 focus-within:border-primary/50 focus-within:bg-white"
|
|
6044
5736
|
), children: [
|
|
6045
|
-
/* @__PURE__ */
|
|
5737
|
+
/* @__PURE__ */ v(
|
|
6046
5738
|
tr,
|
|
6047
5739
|
{
|
|
6048
5740
|
value: d,
|
|
@@ -6056,8 +5748,8 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6056
5748
|
)
|
|
6057
5749
|
}
|
|
6058
5750
|
),
|
|
6059
|
-
/* @__PURE__ */
|
|
6060
|
-
|
|
5751
|
+
/* @__PURE__ */ v(
|
|
5752
|
+
Be,
|
|
6061
5753
|
{
|
|
6062
5754
|
onClick: u,
|
|
6063
5755
|
disabled: !n || !d.trim() || c,
|
|
@@ -6066,12 +5758,12 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6066
5758
|
"h-7 w-7 rounded-md shrink-0 transition-all duration-200",
|
|
6067
5759
|
"bg-primary hover:bg-primary/90 disabled:opacity-40"
|
|
6068
5760
|
),
|
|
6069
|
-
children: /* @__PURE__ */
|
|
5761
|
+
children: /* @__PURE__ */ v(gr, { className: "h-3.5 w-3.5" })
|
|
6070
5762
|
}
|
|
6071
5763
|
)
|
|
6072
5764
|
] }) })
|
|
6073
5765
|
] });
|
|
6074
|
-
},
|
|
5766
|
+
}, Wi = ({ onClose: i }) => {
|
|
6075
5767
|
const {
|
|
6076
5768
|
isConnected: r,
|
|
6077
5769
|
isLoading: n,
|
|
@@ -6089,7 +5781,7 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6089
5781
|
A.current && (A.current.id = "aria-video-element");
|
|
6090
5782
|
}, []);
|
|
6091
5783
|
const w = f === "dark", x = b === "bottom-right";
|
|
6092
|
-
return /* @__PURE__ */
|
|
5784
|
+
return /* @__PURE__ */ D(
|
|
6093
5785
|
"div",
|
|
6094
5786
|
{
|
|
6095
5787
|
className: E(
|
|
@@ -6113,53 +5805,53 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6113
5805
|
WebkitBackdropFilter: "blur(8px)"
|
|
6114
5806
|
},
|
|
6115
5807
|
children: [
|
|
6116
|
-
/* @__PURE__ */
|
|
5808
|
+
/* @__PURE__ */ D("div", { className: E(
|
|
6117
5809
|
"relative px-4 py-1.5 flex items-center justify-between shrink-0",
|
|
6118
5810
|
"border-b",
|
|
6119
5811
|
w ? "border-gray-800/50 bg-gray-950" : "border-gray-100 bg-white"
|
|
6120
5812
|
), children: [
|
|
6121
|
-
/* @__PURE__ */
|
|
6122
|
-
/* @__PURE__ */
|
|
6123
|
-
/* @__PURE__ */
|
|
5813
|
+
/* @__PURE__ */ D("div", { className: "flex items-center gap-3 min-w-0 flex-1", children: [
|
|
5814
|
+
/* @__PURE__ */ D("div", { className: "relative shrink-0", children: [
|
|
5815
|
+
/* @__PURE__ */ v("div", { className: E(
|
|
6124
5816
|
"w-8 h-8 rounded-xl flex items-center justify-center",
|
|
6125
5817
|
"bg-gray-100 dark:bg-gray-900 shadow-sm overflow-hidden"
|
|
6126
|
-
), children: /* @__PURE__ */
|
|
5818
|
+
), children: /* @__PURE__ */ v(
|
|
6127
5819
|
"img",
|
|
6128
5820
|
{
|
|
6129
5821
|
src: "/aria-image.png",
|
|
6130
5822
|
alt: "Aria",
|
|
6131
5823
|
className: "w-full h-full object-cover",
|
|
6132
|
-
onError: (
|
|
6133
|
-
|
|
6134
|
-
const N =
|
|
5824
|
+
onError: (M) => {
|
|
5825
|
+
M.currentTarget.style.display = "none";
|
|
5826
|
+
const N = M.currentTarget.nextElementSibling;
|
|
6135
5827
|
N && (N.style.display = "block");
|
|
6136
5828
|
}
|
|
6137
5829
|
}
|
|
6138
5830
|
) }),
|
|
6139
|
-
/* @__PURE__ */
|
|
5831
|
+
/* @__PURE__ */ v("div", { className: E(
|
|
6140
5832
|
"absolute -bottom-0.5 -right-0.5 w-2.5 h-2.5 rounded-full border-2",
|
|
6141
5833
|
w ? "border-gray-950" : "border-white",
|
|
6142
5834
|
r ? "bg-emerald-500 shadow-[0_0_8px_rgba(16,185,129,0.6)] aria-animate-pulse-dot" : n ? "bg-amber-400 animate-pulse" : "bg-gray-400"
|
|
6143
5835
|
) })
|
|
6144
5836
|
] }),
|
|
6145
|
-
/* @__PURE__ */
|
|
6146
|
-
/* @__PURE__ */
|
|
5837
|
+
/* @__PURE__ */ D("div", { className: "flex flex-col min-w-0", children: [
|
|
5838
|
+
/* @__PURE__ */ v("h2", { className: E(
|
|
6147
5839
|
"text-sm font-bold tracking-tight leading-none",
|
|
6148
5840
|
w ? "text-white" : "text-gray-900"
|
|
6149
5841
|
), children: "Aria" }),
|
|
6150
|
-
n && /* @__PURE__ */
|
|
5842
|
+
n && /* @__PURE__ */ v("div", { className: "mt-1", children: /* @__PURE__ */ v("span", { className: E(
|
|
6151
5843
|
"text-[9px] font-semibold tracking-wide animate-pulse",
|
|
6152
5844
|
w ? "text-amber-400" : "text-amber-600"
|
|
6153
5845
|
), children: "Connecting..." }) }),
|
|
6154
|
-
r && u.isSessionReady && /* @__PURE__ */
|
|
5846
|
+
r && u.isSessionReady && /* @__PURE__ */ v("div", { className: "flex items-center gap-1 mt-1", children: /* @__PURE__ */ v("span", { className: E(
|
|
6155
5847
|
"text-[8px] font-bold tracking-widest uppercase opacity-80",
|
|
6156
5848
|
w ? "text-indigo-400" : "text-indigo-600"
|
|
6157
5849
|
), children: "Live" }) })
|
|
6158
5850
|
] })
|
|
6159
5851
|
] }),
|
|
6160
|
-
/* @__PURE__ */
|
|
6161
|
-
/* @__PURE__ */
|
|
6162
|
-
|
|
5852
|
+
/* @__PURE__ */ D("div", { className: "flex items-center gap-0.5 shrink-0 ml-2", children: [
|
|
5853
|
+
/* @__PURE__ */ v(
|
|
5854
|
+
Be,
|
|
6163
5855
|
{
|
|
6164
5856
|
variant: "ghost",
|
|
6165
5857
|
size: "icon",
|
|
@@ -6171,11 +5863,11 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6171
5863
|
a && w && "bg-gray-800 text-white",
|
|
6172
5864
|
w ? "hover:bg-gray-800 text-gray-400 hover:text-white" : "hover:bg-gray-100 text-gray-500 hover:text-gray-900"
|
|
6173
5865
|
),
|
|
6174
|
-
children: a ? /* @__PURE__ */
|
|
5866
|
+
children: a ? /* @__PURE__ */ v(fr, { className: "h-[16px] w-[16px]" }) : /* @__PURE__ */ v(Ut, { className: "h-[16px] w-[16px]" })
|
|
6175
5867
|
}
|
|
6176
5868
|
),
|
|
6177
|
-
/* @__PURE__ */
|
|
6178
|
-
|
|
5869
|
+
/* @__PURE__ */ v(
|
|
5870
|
+
Be,
|
|
6179
5871
|
{
|
|
6180
5872
|
variant: "ghost",
|
|
6181
5873
|
size: "icon",
|
|
@@ -6187,11 +5879,11 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6187
5879
|
w ? "hover:bg-gray-800 text-gray-400 hover:text-white" : "hover:bg-gray-100 text-gray-500 hover:text-gray-900",
|
|
6188
5880
|
"disabled:opacity-30"
|
|
6189
5881
|
),
|
|
6190
|
-
children: d ? /* @__PURE__ */
|
|
5882
|
+
children: d ? /* @__PURE__ */ v(kt, { className: "h-[16px] w-[16px]" }) : /* @__PURE__ */ v(Ct, { className: "h-[16px] w-[16px]" })
|
|
6191
5883
|
}
|
|
6192
5884
|
),
|
|
6193
|
-
/* @__PURE__ */
|
|
6194
|
-
|
|
5885
|
+
/* @__PURE__ */ v(
|
|
5886
|
+
Be,
|
|
6195
5887
|
{
|
|
6196
5888
|
variant: "ghost",
|
|
6197
5889
|
size: "icon",
|
|
@@ -6201,18 +5893,18 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6201
5893
|
"h-7 w-7 rounded-lg transition-all duration-200 border-none",
|
|
6202
5894
|
w ? "hover:bg-red-950/50 text-gray-400 hover:text-red-400" : "hover:bg-red-50 text-gray-500 hover:text-red-600"
|
|
6203
5895
|
),
|
|
6204
|
-
children: /* @__PURE__ */
|
|
5896
|
+
children: /* @__PURE__ */ v(pt, { className: "h-[16px] w-[16px]" })
|
|
6205
5897
|
}
|
|
6206
5898
|
)
|
|
6207
5899
|
] })
|
|
6208
5900
|
] }),
|
|
6209
|
-
/* @__PURE__ */
|
|
6210
|
-
/* @__PURE__ */
|
|
5901
|
+
/* @__PURE__ */ D("div", { className: "flex-1 flex overflow-hidden min-h-0", children: [
|
|
5902
|
+
/* @__PURE__ */ D("div", { className: E(
|
|
6211
5903
|
"relative flex items-center justify-center overflow-hidden",
|
|
6212
5904
|
w ? "bg-gradient-to-br from-gray-900 to-black" : "bg-gradient-to-br from-gray-100 to-gray-50",
|
|
6213
5905
|
a ? "flex-1" : "w-full"
|
|
6214
5906
|
), children: [
|
|
6215
|
-
n && /* @__PURE__ */
|
|
5907
|
+
n && /* @__PURE__ */ D(
|
|
6216
5908
|
"div",
|
|
6217
5909
|
{
|
|
6218
5910
|
className: E(
|
|
@@ -6221,15 +5913,15 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6221
5913
|
),
|
|
6222
5914
|
style: { backdropFilter: "blur(8px)" },
|
|
6223
5915
|
children: [
|
|
6224
|
-
/* @__PURE__ */
|
|
6225
|
-
/* @__PURE__ */
|
|
5916
|
+
/* @__PURE__ */ v("div", { className: "relative", children: /* @__PURE__ */ v("div", { className: "w-12 h-12 rounded-xl bg-primary flex items-center justify-center shadow-lg", children: /* @__PURE__ */ v(mr, { className: "h-6 w-6 animate-spin text-white" }) }) }),
|
|
5917
|
+
/* @__PURE__ */ v("p", { className: E(
|
|
6226
5918
|
"mt-4 text-sm font-medium",
|
|
6227
5919
|
w ? "text-gray-300" : "text-gray-600"
|
|
6228
5920
|
), children: "Connecting..." })
|
|
6229
5921
|
]
|
|
6230
5922
|
}
|
|
6231
5923
|
),
|
|
6232
|
-
c && /* @__PURE__ */
|
|
5924
|
+
c && /* @__PURE__ */ v(
|
|
6233
5925
|
"div",
|
|
6234
5926
|
{
|
|
6235
5927
|
className: E(
|
|
@@ -6237,17 +5929,17 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6237
5929
|
w ? "bg-gray-950/80" : "bg-white/80"
|
|
6238
5930
|
),
|
|
6239
5931
|
style: { backdropFilter: "blur(4px)" },
|
|
6240
|
-
children: /* @__PURE__ */
|
|
5932
|
+
children: /* @__PURE__ */ v("div", { className: E(
|
|
6241
5933
|
"rounded-lg p-4 max-w-sm w-full shadow-lg border",
|
|
6242
5934
|
w ? "bg-gray-900 border-red-900/30" : "bg-white border-red-100"
|
|
6243
|
-
), children: /* @__PURE__ */
|
|
6244
|
-
/* @__PURE__ */
|
|
6245
|
-
/* @__PURE__ */
|
|
6246
|
-
/* @__PURE__ */
|
|
5935
|
+
), children: /* @__PURE__ */ D("div", { className: "flex items-start gap-3", children: [
|
|
5936
|
+
/* @__PURE__ */ v("div", { className: "w-8 h-8 rounded-md bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ v(pt, { className: "w-4 h-4 text-white" }) }),
|
|
5937
|
+
/* @__PURE__ */ D("div", { className: "flex-1 min-w-0", children: [
|
|
5938
|
+
/* @__PURE__ */ v("p", { className: E(
|
|
6247
5939
|
"text-sm font-semibold",
|
|
6248
5940
|
w ? "text-red-200" : "text-red-900"
|
|
6249
5941
|
), children: "Connection Error" }),
|
|
6250
|
-
/* @__PURE__ */
|
|
5942
|
+
/* @__PURE__ */ v("p", { className: E(
|
|
6251
5943
|
"text-xs mt-1 leading-relaxed",
|
|
6252
5944
|
w ? "text-red-400" : "text-red-600"
|
|
6253
5945
|
), children: c })
|
|
@@ -6255,7 +5947,7 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6255
5947
|
] }) })
|
|
6256
5948
|
}
|
|
6257
5949
|
),
|
|
6258
|
-
/* @__PURE__ */
|
|
5950
|
+
/* @__PURE__ */ v(
|
|
6259
5951
|
"video",
|
|
6260
5952
|
{
|
|
6261
5953
|
ref: A,
|
|
@@ -6264,7 +5956,7 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6264
5956
|
className: "w-full h-full object-contain"
|
|
6265
5957
|
}
|
|
6266
5958
|
),
|
|
6267
|
-
h && r && /* @__PURE__ */
|
|
5959
|
+
h && r && /* @__PURE__ */ D(
|
|
6268
5960
|
"div",
|
|
6269
5961
|
{
|
|
6270
5962
|
className: E(
|
|
@@ -6274,21 +5966,21 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6274
5966
|
),
|
|
6275
5967
|
style: { backdropFilter: "blur(8px)" },
|
|
6276
5968
|
children: [
|
|
6277
|
-
/* @__PURE__ */
|
|
6278
|
-
/* @__PURE__ */
|
|
6279
|
-
/* @__PURE__ */
|
|
5969
|
+
/* @__PURE__ */ D("div", { className: "flex items-center gap-2 mb-1", children: [
|
|
5970
|
+
/* @__PURE__ */ v("div", { className: "w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse" }),
|
|
5971
|
+
/* @__PURE__ */ v("p", { className: E(
|
|
6280
5972
|
"text-[9px] font-bold uppercase tracking-wider",
|
|
6281
5973
|
w ? "text-gray-500" : "text-gray-400"
|
|
6282
5974
|
), children: "Transcript" })
|
|
6283
5975
|
] }),
|
|
6284
|
-
/* @__PURE__ */
|
|
5976
|
+
/* @__PURE__ */ v("p", { className: E(
|
|
6285
5977
|
"text-xs leading-relaxed",
|
|
6286
5978
|
w ? "text-gray-200" : "text-gray-700"
|
|
6287
5979
|
), children: h })
|
|
6288
5980
|
]
|
|
6289
5981
|
}
|
|
6290
5982
|
),
|
|
6291
|
-
r && !c && /* @__PURE__ */
|
|
5983
|
+
r && !c && /* @__PURE__ */ D(
|
|
6292
5984
|
"div",
|
|
6293
5985
|
{
|
|
6294
5986
|
className: E(
|
|
@@ -6298,7 +5990,7 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6298
5990
|
w ? "bg-gray-900 border-gray-800" : "bg-white border-gray-200"
|
|
6299
5991
|
),
|
|
6300
5992
|
children: [
|
|
6301
|
-
/* @__PURE__ */
|
|
5993
|
+
/* @__PURE__ */ v(
|
|
6302
5994
|
"button",
|
|
6303
5995
|
{
|
|
6304
5996
|
onClick: m,
|
|
@@ -6307,32 +5999,32 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6307
5999
|
d ? "bg-red-500 hover:bg-red-600 text-white shadow-sm" : w ? "bg-gray-800 hover:bg-gray-750 text-gray-200" : "bg-gray-100 hover:bg-gray-200 text-gray-700"
|
|
6308
6000
|
),
|
|
6309
6001
|
title: d ? "Unmute" : "Mute",
|
|
6310
|
-
children: d ? /* @__PURE__ */
|
|
6002
|
+
children: d ? /* @__PURE__ */ v(kt, { className: "h-4 w-4" }) : /* @__PURE__ */ v(Ct, { className: "h-4 w-4" })
|
|
6311
6003
|
}
|
|
6312
6004
|
),
|
|
6313
|
-
/* @__PURE__ */
|
|
6005
|
+
/* @__PURE__ */ v(
|
|
6314
6006
|
"button",
|
|
6315
6007
|
{
|
|
6316
6008
|
onClick: i,
|
|
6317
6009
|
className: "w-12 h-10 rounded-lg bg-red-500 hover:bg-red-600 flex items-center justify-center transition-all duration-200 text-white shadow-sm",
|
|
6318
6010
|
title: "End Call",
|
|
6319
|
-
children: /* @__PURE__ */
|
|
6011
|
+
children: /* @__PURE__ */ v(wr, { className: "h-4 w-4 rotate-[135deg]" })
|
|
6320
6012
|
}
|
|
6321
6013
|
)
|
|
6322
6014
|
]
|
|
6323
6015
|
}
|
|
6324
6016
|
)
|
|
6325
6017
|
] }),
|
|
6326
|
-
a && /* @__PURE__ */
|
|
6018
|
+
a && /* @__PURE__ */ v("div", { className: E(
|
|
6327
6019
|
"flex flex-col shrink-0 border-l",
|
|
6328
6020
|
x ? "w-[320px]" : "w-[360px]",
|
|
6329
6021
|
w ? "bg-gray-900 border-gray-800" : "bg-white border-gray-100"
|
|
6330
|
-
), children: /* @__PURE__ */
|
|
6022
|
+
), children: /* @__PURE__ */ v(Vi, {}) })
|
|
6331
6023
|
] })
|
|
6332
6024
|
]
|
|
6333
6025
|
}
|
|
6334
6026
|
);
|
|
6335
|
-
},
|
|
6027
|
+
}, mt = ({
|
|
6336
6028
|
children: i,
|
|
6337
6029
|
styles: r = "",
|
|
6338
6030
|
className: n,
|
|
@@ -6362,7 +6054,7 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6362
6054
|
if (!c) return;
|
|
6363
6055
|
let f = c.querySelector(".aria-shadow-content");
|
|
6364
6056
|
f || (f = document.createElement("div"), f.className = "aria-shadow-content", c.appendChild(f)), b(f);
|
|
6365
|
-
}, [c]), /* @__PURE__ */
|
|
6057
|
+
}, [c]), /* @__PURE__ */ v(
|
|
6366
6058
|
d,
|
|
6367
6059
|
{
|
|
6368
6060
|
ref: h,
|
|
@@ -6371,45 +6063,11 @@ const Xi = ({ compact: i = !1 }) => {
|
|
|
6371
6063
|
children: m && vr(i, m)
|
|
6372
6064
|
}
|
|
6373
6065
|
);
|
|
6374
|
-
}, ir = '@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-600:oklch(66.6% .179 58.318);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-600:oklch(62.7% .194 149.214);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-800:oklch(43.8% .218 303.724);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.inset-6{inset:calc(var(--spacing)*6)}.top-4{top:calc(var(--spacing)*4)}.-right-0\\.5{right:calc(var(--spacing)*-.5)}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.-bottom-0\\.5{bottom:calc(var(--spacing)*-.5)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-16{bottom:calc(var(--spacing)*16)}.left-1\\/2{left:50%}.left-4{left:calc(var(--spacing)*4)}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-32{height:calc(var(--spacing)*32)}.h-\\[16px\\]{height:16px}.h-\\[500px\\]{height:500px}.h-full{height:100%}.max-h-32{max-height:calc(var(--spacing)*32)}.max-h-40{max-height:calc(var(--spacing)*40)}.max-h-64{max-height:calc(var(--spacing)*64)}.max-h-\\[90vh\\]{max-height:90vh}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-\\[16px\\]{width:16px}.w-\\[320px\\]{width:320px}.w-\\[360px\\]{width:360px}.w-\\[640px\\]{width:640px}.w-\\[960px\\]{width:960px}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\\[85\\%\\]{max-width:85%}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[60px\\]{min-width:60px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-\\[135deg\\]{rotate:135deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-blue-200{border-color:var(--color-blue-200)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-200\\/80{border-color:#e5e7ebcc}@supports (color:color-mix(in lab,red,red)){.border-gray-200\\/80{border-color:color-mix(in oklab,var(--color-gray-200)80%,transparent)}}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-700\\/50{border-color:#36415380}@supports (color:color-mix(in lab,red,red)){.border-gray-700\\/50{border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.border-gray-800{border-color:var(--color-gray-800)}.border-gray-800\\/50{border-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.border-gray-800\\/50{border-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.border-gray-900{border-color:var(--color-gray-900)}.border-gray-950{border-color:var(--color-gray-950)}.border-purple-200{border-color:var(--color-purple-200)}.border-red-100{border-color:var(--color-red-100)}.border-red-900\\/30{border-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.border-red-900\\/30{border-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.border-red-900\\/50{border-color:#82181a80}@supports (color:color-mix(in lab,red,red)){.border-red-900\\/50{border-color:color-mix(in oklab,var(--color-red-900)50%,transparent)}}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-yellow-200{border-color:var(--color-yellow-200)}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-600{background-color:var(--color-amber-600)}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\\/30{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\\/30{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-gray-800\\/50{background-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.bg-gray-800\\/50{background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.bg-gray-900{background-color:var(--color-gray-900)}.bg-gray-900\\/30{background-color:#1018284d}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/30{background-color:color-mix(in oklab,var(--color-gray-900)30%,transparent)}}.bg-gray-900\\/95{background-color:#101828f2}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/95{background-color:color-mix(in oklab,var(--color-gray-900)95%,transparent)}}.bg-gray-950{background-color:var(--color-gray-950)}.bg-gray-950\\/80{background-color:#030712cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/80{background-color:color-mix(in oklab,var(--color-gray-950)80%,transparent)}}.bg-gray-950\\/90{background-color:#030712e6}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/90{background-color:color-mix(in oklab,var(--color-gray-950)90%,transparent)}}.bg-gray-950\\/95{background-color:#030712f2}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/95{background-color:color-mix(in oklab,var(--color-gray-950)95%,transparent)}}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-950\\/30{background-color:#4608094d}@supports (color:color-mix(in lab,red,red)){.bg-red-950\\/30{background-color:color-mix(in oklab,var(--color-red-950)30%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-white\\/80{background-color:#fffc}@supports (color:color-mix(in lab,red,red)){.bg-white\\/80{background-color:color-mix(in oklab,var(--color-white)80%,transparent)}}.bg-white\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.bg-white\\/95{background-color:#fffffff2}@supports (color:color-mix(in lab,red,red)){.bg-white\\/95{background-color:color-mix(in oklab,var(--color-white)95%,transparent)}}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-100{--tw-gradient-from:var(--color-gray-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-800{--tw-gradient-from:var(--color-gray-800);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-900{--tw-gradient-from:var(--color-gray-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-indigo-50{--tw-gradient-via:var(--color-indigo-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-black{--tw-gradient-to:var(--color-black);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-gray-50{--tw-gradient-to:var(--color-gray-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-white{--tw-gradient-to:var(--color-white);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-4{padding-block:calc(var(--spacing)*4)}.py-6{padding-block:calc(var(--spacing)*6)}.py-12{padding-block:calc(var(--spacing)*12)}.pt-0{padding-top:calc(var(--spacing)*0)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[8px\\]{font-size:8px}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-400{color:var(--color-amber-400)}.text-amber-600{color:var(--color-amber-600)}.text-blue-600{color:var(--color-blue-600)}.text-blue-800{color:var(--color-blue-800)}.text-emerald-600{color:var(--color-emerald-600)}.text-gray-100{color:var(--color-gray-100)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-600{color:var(--color-green-600)}.text-green-800{color:var(--color-green-800)}.text-indigo-400{color:var(--color-indigo-400)}.text-indigo-600{color:var(--color-indigo-600)}.text-purple-600{color:var(--color-purple-600)}.text-purple-800{color:var(--color-purple-800)}.text-red-200{color:var(--color-red-200)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-red-600{color:var(--color-red-600)}.text-red-800{color:var(--color-red-800)}.text-red-900{color:var(--color-red-900)}.text-white{color:var(--color-white)}.text-yellow-800{color:var(--color-yellow-800)}.uppercase{text-transform:uppercase}.underline-offset-4{text-underline-offset:4px}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_8px_rgba\\(16\\,185\\,129\\,0\\.6\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,#10b98199);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.3\\)\\]{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.12\\)\\]{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0000001f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.group-hover\\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.placeholder\\:text-gray-400::-moz-placeholder{color:var(--color-gray-400)}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}.placeholder\\:text-gray-500::-moz-placeholder{color:var(--color-gray-500)}.placeholder\\:text-gray-500::placeholder{color:var(--color-gray-500)}.focus-within\\:bg-white:focus-within{background-color:var(--color-white)}@media(hover:hover){.hover\\:-translate-y-0\\.5:hover{--tw-translate-y:calc(var(--spacing)*-.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.hover\\:border-gray-300:hover{border-color:var(--color-gray-300)}.hover\\:border-gray-600:hover{border-color:var(--color-gray-600)}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\\:bg-green-200:hover{background-color:var(--color-green-200)}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:bg-red-950\\/50:hover{background-color:#46080980}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-950\\/50:hover{background-color:color-mix(in oklab,var(--color-red-950)50%,transparent)}}.hover\\:text-blue-800:hover{color:var(--color-blue-800)}.hover\\:text-gray-900:hover{color:var(--color-gray-900)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-90:hover{opacity:.9}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.4\\)\\]:hover{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0006);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.16\\)\\]:hover{--tw-shadow:0 8px 30px var(--tw-shadow-color,#00000029);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-indigo-500\\/25:hover{--tw-shadow-color:#625fff40}@supports (color:color-mix(in lab,red,red)){.hover\\:shadow-indigo-500\\/25:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-indigo-500)25%,transparent)var(--tw-shadow-alpha),transparent)}}}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\\:text-left{text-align:left}}@media(min-width:48rem){.md\\:inset-12{inset:calc(var(--spacing)*12)}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-color-scheme:dark){.dark\\:bg-emerald-500\\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-emerald-500\\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.dark\\:bg-gray-900{background-color:var(--color-gray-900)}.dark\\:text-emerald-400{color:var(--color-emerald-400)}}}.aria-assistant-container{--aria-background:0 0% 100%;--aria-foreground:222 47% 11%;--aria-card:0 0% 100%;--aria-card-foreground:222 47% 11%;--aria-popover:0 0% 100%;--aria-popover-foreground:222 47% 11%;--aria-primary:221 83% 53%;--aria-primary-foreground:0 0% 100%;--aria-secondary:210 40% 96%;--aria-secondary-foreground:215 16% 47%;--aria-muted:210 40% 96%;--aria-muted-foreground:215 16% 47%;--aria-accent:210 40% 96%;--aria-accent-foreground:222 47% 11%;--aria-destructive:0 84% 60%;--aria-destructive-foreground:0 0% 100%;--aria-success:142 72% 29%;--aria-success-foreground:0 0% 100%;--aria-border:214 32% 91%;--aria-input:214 32% 91%;--aria-ring:221 83% 53%;--aria-radius:.5rem;--aria-gradient-from:221 83% 53%;--aria-gradient-to:221 83% 53%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;isolation:isolate;color:hsl(var(--aria-foreground));--background:var(--aria-background);--foreground:var(--aria-foreground);--card:var(--aria-card);--card-foreground:var(--aria-card-foreground);--primary:var(--aria-primary);--primary-foreground:var(--aria-primary-foreground);--secondary:var(--aria-secondary);--secondary-foreground:var(--aria-secondary-foreground);--muted:var(--aria-muted);--muted-foreground:var(--aria-muted-foreground);--accent:var(--aria-accent);--accent-foreground:var(--aria-accent-foreground);--destructive:var(--aria-destructive);--destructive-foreground:var(--aria-destructive-foreground);--success:var(--aria-success);--success-foreground:var(--aria-success-foreground);--border:var(--aria-border);--input:var(--aria-input);--ring:var(--aria-ring);--radius:var(--aria-radius);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.6}.aria-assistant-container *,.aria-assistant-container :before,.aria-assistant-container :after{box-sizing:border-box}.aria-assistant-container.aria-dark{--aria-background:222 47% 4%;--aria-foreground:210 40% 98%;--aria-card:222 47% 6%;--aria-card-foreground:210 40% 98%;--aria-popover:222 47% 6%;--aria-popover-foreground:210 40% 98%;--aria-primary:217 91% 60%;--aria-primary-foreground:0 0% 100%;--aria-secondary:217 33% 17%;--aria-secondary-foreground:210 40% 98%;--aria-muted:217 33% 17%;--aria-muted-foreground:215 20% 65%;--aria-accent:217 33% 17%;--aria-accent-foreground:210 40% 98%;--aria-destructive:0 84% 60%;--aria-destructive-foreground:0 0% 100%;--aria-success:142 71% 45%;--aria-success-foreground:0 0% 100%;--aria-border:217 33% 17%;--aria-input:217 33% 17%;--aria-ring:217 91% 60%;--aria-gradient-from:217 91% 60%;--aria-gradient-to:217 91% 60%;--background:var(--aria-background);--foreground:var(--aria-foreground);--card:var(--aria-card);--card-foreground:var(--aria-card-foreground);--primary:var(--aria-primary);--primary-foreground:var(--aria-primary-foreground);--secondary:var(--aria-secondary);--secondary-foreground:var(--aria-secondary-foreground);--muted:var(--aria-muted);--muted-foreground:var(--aria-muted-foreground);--accent:var(--aria-accent);--accent-foreground:var(--aria-accent-foreground);--destructive:var(--aria-destructive);--destructive-foreground:var(--aria-destructive-foreground);--success:var(--aria-success);--success-foreground:var(--aria-success-foreground);--border:var(--aria-border);--input:var(--aria-input);--ring:var(--aria-ring)}@keyframes aria-fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes aria-scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes aria-slide-up{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes aria-pulse-ring{0%,to{box-shadow:0 0 hsl(var(--aria-primary)/.4)}50%{box-shadow:0 0 0 8px hsl(var(--aria-primary)/0)}}@keyframes aria-gradient-shift{0%,to{background-position:0%}50%{background-position:100%}}@keyframes aria-pulse-dot{0%{opacity:.5;transform:scale(.95)}50%{opacity:1;transform:scale(1.05)}to{opacity:.5;transform:scale(.95)}}.aria-assistant-container .aria-animate-pulse-dot{animation:2s ease-in-out infinite aria-pulse-dot}.aria-assistant-container .aria-animate-fade-in{animation:.3s ease-out forwards aria-fade-in}.aria-assistant-container .aria-animate-scale-in{animation:.2s ease-out forwards aria-scale-in}.aria-assistant-container .aria-animate-slide-up{animation:.4s ease-out forwards aria-slide-up}.aria-assistant-container .aria-animate-pulse-ring{animation:2s ease-in-out infinite aria-pulse-ring}.aria-assistant-container .aria-glass{background:hsl(var(--aria-background)/.8);-webkit-backdrop-filter:blur(12px)saturate(180%)}.aria-assistant-container.aria-dark .aria-glass{background:hsl(var(--aria-background)/.75);-webkit-backdrop-filter:blur(16px)saturate(180%)}.aria-assistant-container .aria-gradient-text{background:linear-gradient(135deg,hsl(var(--aria-gradient-from)),hsl(var(--aria-gradient-to)));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.aria-assistant-container .aria-gradient-bg{background:linear-gradient(135deg,hsl(var(--aria-gradient-from)),hsl(var(--aria-gradient-to)))}.aria-assistant-container ::-webkit-scrollbar{width:6px;height:6px}.aria-assistant-container ::-webkit-scrollbar-track{background:0 0}.aria-assistant-container ::-webkit-scrollbar-thumb{background:hsl(var(--aria-border));border-radius:3px}.aria-assistant-container ::-webkit-scrollbar-thumb:hover{background:hsl(var(--aria-muted-foreground)/.5)}.aria-assistant-container .aria-focus-ring:focus-visible{box-shadow:0 0 0 2px hsl(var(--aria-ring)/.2);outline:none}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}';
|
|
6375
|
-
function
|
|
6066
|
+
}, ir = '@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer aria-theme{:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-600:oklch(66.6% .179 58.318);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-600:oklch(62.7% .194 149.214);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-800:oklch(43.8% .218 303.724);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer aria-utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.inset-6{inset:calc(var(--spacing)*6)}.top-4{top:calc(var(--spacing)*4)}.-right-0\\.5{right:calc(var(--spacing)*-.5)}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.-bottom-0\\.5{bottom:calc(var(--spacing)*-.5)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-16{bottom:calc(var(--spacing)*16)}.left-1\\/2{left:50%}.left-4{left:calc(var(--spacing)*4)}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-32{height:calc(var(--spacing)*32)}.h-\\[16px\\]{height:16px}.h-\\[500px\\]{height:500px}.h-full{height:100%}.max-h-32{max-height:calc(var(--spacing)*32)}.max-h-40{max-height:calc(var(--spacing)*40)}.max-h-64{max-height:calc(var(--spacing)*64)}.max-h-\\[90vh\\]{max-height:90vh}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-\\[16px\\]{width:16px}.w-\\[320px\\]{width:320px}.w-\\[360px\\]{width:360px}.w-\\[640px\\]{width:640px}.w-\\[960px\\]{width:960px}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\\[85\\%\\]{max-width:85%}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[60px\\]{min-width:60px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-\\[135deg\\]{rotate:135deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-blue-200{border-color:var(--color-blue-200)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-200\\/80{border-color:#e5e7ebcc}@supports (color:color-mix(in lab,red,red)){.border-gray-200\\/80{border-color:color-mix(in oklab,var(--color-gray-200)80%,transparent)}}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-700\\/50{border-color:#36415380}@supports (color:color-mix(in lab,red,red)){.border-gray-700\\/50{border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.border-gray-800{border-color:var(--color-gray-800)}.border-gray-800\\/50{border-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.border-gray-800\\/50{border-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.border-gray-900{border-color:var(--color-gray-900)}.border-gray-950{border-color:var(--color-gray-950)}.border-purple-200{border-color:var(--color-purple-200)}.border-red-100{border-color:var(--color-red-100)}.border-red-900\\/30{border-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.border-red-900\\/30{border-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.border-red-900\\/50{border-color:#82181a80}@supports (color:color-mix(in lab,red,red)){.border-red-900\\/50{border-color:color-mix(in oklab,var(--color-red-900)50%,transparent)}}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-yellow-200{border-color:var(--color-yellow-200)}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-600{background-color:var(--color-amber-600)}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\\/30{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\\/30{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-gray-800\\/50{background-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.bg-gray-800\\/50{background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.bg-gray-900{background-color:var(--color-gray-900)}.bg-gray-900\\/30{background-color:#1018284d}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/30{background-color:color-mix(in oklab,var(--color-gray-900)30%,transparent)}}.bg-gray-900\\/95{background-color:#101828f2}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/95{background-color:color-mix(in oklab,var(--color-gray-900)95%,transparent)}}.bg-gray-950{background-color:var(--color-gray-950)}.bg-gray-950\\/80{background-color:#030712cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/80{background-color:color-mix(in oklab,var(--color-gray-950)80%,transparent)}}.bg-gray-950\\/90{background-color:#030712e6}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/90{background-color:color-mix(in oklab,var(--color-gray-950)90%,transparent)}}.bg-gray-950\\/95{background-color:#030712f2}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/95{background-color:color-mix(in oklab,var(--color-gray-950)95%,transparent)}}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-950\\/30{background-color:#4608094d}@supports (color:color-mix(in lab,red,red)){.bg-red-950\\/30{background-color:color-mix(in oklab,var(--color-red-950)30%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-white\\/80{background-color:#fffc}@supports (color:color-mix(in lab,red,red)){.bg-white\\/80{background-color:color-mix(in oklab,var(--color-white)80%,transparent)}}.bg-white\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.bg-white\\/95{background-color:#fffffff2}@supports (color:color-mix(in lab,red,red)){.bg-white\\/95{background-color:color-mix(in oklab,var(--color-white)95%,transparent)}}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-100{--tw-gradient-from:var(--color-gray-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-800{--tw-gradient-from:var(--color-gray-800);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-900{--tw-gradient-from:var(--color-gray-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-indigo-50{--tw-gradient-via:var(--color-indigo-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-black{--tw-gradient-to:var(--color-black);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-gray-50{--tw-gradient-to:var(--color-gray-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-white{--tw-gradient-to:var(--color-white);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-4{padding-block:calc(var(--spacing)*4)}.py-6{padding-block:calc(var(--spacing)*6)}.py-12{padding-block:calc(var(--spacing)*12)}.pt-0{padding-top:calc(var(--spacing)*0)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[8px\\]{font-size:8px}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-400{color:var(--color-amber-400)}.text-amber-600{color:var(--color-amber-600)}.text-blue-600{color:var(--color-blue-600)}.text-blue-800{color:var(--color-blue-800)}.text-emerald-600{color:var(--color-emerald-600)}.text-gray-100{color:var(--color-gray-100)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-600{color:var(--color-green-600)}.text-green-800{color:var(--color-green-800)}.text-indigo-400{color:var(--color-indigo-400)}.text-indigo-600{color:var(--color-indigo-600)}.text-purple-600{color:var(--color-purple-600)}.text-purple-800{color:var(--color-purple-800)}.text-red-200{color:var(--color-red-200)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-red-600{color:var(--color-red-600)}.text-red-800{color:var(--color-red-800)}.text-red-900{color:var(--color-red-900)}.text-white{color:var(--color-white)}.text-yellow-800{color:var(--color-yellow-800)}.uppercase{text-transform:uppercase}.underline-offset-4{text-underline-offset:4px}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_8px_rgba\\(16\\,185\\,129\\,0\\.6\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,#10b98199);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.3\\)\\]{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.12\\)\\]{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0000001f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.group-hover\\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.placeholder\\:text-gray-400::-moz-placeholder{color:var(--color-gray-400)}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}.placeholder\\:text-gray-500::-moz-placeholder{color:var(--color-gray-500)}.placeholder\\:text-gray-500::placeholder{color:var(--color-gray-500)}.focus-within\\:bg-white:focus-within{background-color:var(--color-white)}@media(hover:hover){.hover\\:-translate-y-0\\.5:hover{--tw-translate-y:calc(var(--spacing)*-.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.hover\\:border-gray-300:hover{border-color:var(--color-gray-300)}.hover\\:border-gray-600:hover{border-color:var(--color-gray-600)}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\\:bg-green-200:hover{background-color:var(--color-green-200)}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:bg-red-950\\/50:hover{background-color:#46080980}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-950\\/50:hover{background-color:color-mix(in oklab,var(--color-red-950)50%,transparent)}}.hover\\:text-blue-800:hover{color:var(--color-blue-800)}.hover\\:text-gray-900:hover{color:var(--color-gray-900)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-90:hover{opacity:.9}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.4\\)\\]:hover{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0006);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.16\\)\\]:hover{--tw-shadow:0 8px 30px var(--tw-shadow-color,#00000029);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-indigo-500\\/25:hover{--tw-shadow-color:#625fff40}@supports (color:color-mix(in lab,red,red)){.hover\\:shadow-indigo-500\\/25:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-indigo-500)25%,transparent)var(--tw-shadow-alpha),transparent)}}}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\\:text-left{text-align:left}}@media(min-width:48rem){.md\\:inset-12{inset:calc(var(--spacing)*12)}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-color-scheme:dark){.dark\\:bg-emerald-500\\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-emerald-500\\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.dark\\:bg-gray-900{background-color:var(--color-gray-900)}.dark\\:text-emerald-400{color:var(--color-emerald-400)}}}.aria-assistant-container{--aria-background:0 0% 100%;--aria-foreground:222 47% 11%;--aria-card:0 0% 100%;--aria-card-foreground:222 47% 11%;--aria-popover:0 0% 100%;--aria-popover-foreground:222 47% 11%;--aria-primary:221 83% 53%;--aria-primary-foreground:0 0% 100%;--aria-secondary:210 40% 96%;--aria-secondary-foreground:215 16% 47%;--aria-muted:210 40% 96%;--aria-muted-foreground:215 16% 47%;--aria-accent:210 40% 96%;--aria-accent-foreground:222 47% 11%;--aria-destructive:0 84% 60%;--aria-destructive-foreground:0 0% 100%;--aria-success:142 72% 29%;--aria-success-foreground:0 0% 100%;--aria-border:214 32% 91%;--aria-input:214 32% 91%;--aria-ring:221 83% 53%;--aria-radius:.5rem;--aria-gradient-from:221 83% 53%;--aria-gradient-to:221 83% 53%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;isolation:isolate;color:hsl(var(--aria-foreground));--background:var(--aria-background);--foreground:var(--aria-foreground);--card:var(--aria-card);--card-foreground:var(--aria-card-foreground);--primary:var(--aria-primary);--primary-foreground:var(--aria-primary-foreground);--secondary:var(--aria-secondary);--secondary-foreground:var(--aria-secondary-foreground);--muted:var(--aria-muted);--muted-foreground:var(--aria-muted-foreground);--accent:var(--aria-accent);--accent-foreground:var(--aria-accent-foreground);--destructive:var(--aria-destructive);--destructive-foreground:var(--aria-destructive-foreground);--success:var(--aria-success);--success-foreground:var(--aria-success-foreground);--border:var(--aria-border);--input:var(--aria-input);--ring:var(--aria-ring);--radius:var(--aria-radius);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.6}.aria-assistant-container *,.aria-assistant-container :before,.aria-assistant-container :after{box-sizing:border-box}.aria-assistant-container.aria-dark{--aria-background:222 47% 4%;--aria-foreground:210 40% 98%;--aria-card:222 47% 6%;--aria-card-foreground:210 40% 98%;--aria-popover:222 47% 6%;--aria-popover-foreground:210 40% 98%;--aria-primary:217 91% 60%;--aria-primary-foreground:0 0% 100%;--aria-secondary:217 33% 17%;--aria-secondary-foreground:210 40% 98%;--aria-muted:217 33% 17%;--aria-muted-foreground:215 20% 65%;--aria-accent:217 33% 17%;--aria-accent-foreground:210 40% 98%;--aria-destructive:0 84% 60%;--aria-destructive-foreground:0 0% 100%;--aria-success:142 71% 45%;--aria-success-foreground:0 0% 100%;--aria-border:217 33% 17%;--aria-input:217 33% 17%;--aria-ring:217 91% 60%;--aria-gradient-from:217 91% 60%;--aria-gradient-to:217 91% 60%;--background:var(--aria-background);--foreground:var(--aria-foreground);--card:var(--aria-card);--card-foreground:var(--aria-card-foreground);--primary:var(--aria-primary);--primary-foreground:var(--aria-primary-foreground);--secondary:var(--aria-secondary);--secondary-foreground:var(--aria-secondary-foreground);--muted:var(--aria-muted);--muted-foreground:var(--aria-muted-foreground);--accent:var(--aria-accent);--accent-foreground:var(--aria-accent-foreground);--destructive:var(--aria-destructive);--destructive-foreground:var(--aria-destructive-foreground);--success:var(--aria-success);--success-foreground:var(--aria-success-foreground);--border:var(--aria-border);--input:var(--aria-input);--ring:var(--aria-ring)}@keyframes aria-fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes aria-scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes aria-slide-up{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes aria-pulse-ring{0%,to{box-shadow:0 0 hsl(var(--aria-primary)/.4)}50%{box-shadow:0 0 0 8px hsl(var(--aria-primary)/0)}}@keyframes aria-gradient-shift{0%,to{background-position:0%}50%{background-position:100%}}@keyframes aria-pulse-dot{0%{opacity:.5;transform:scale(.95)}50%{opacity:1;transform:scale(1.05)}to{opacity:.5;transform:scale(.95)}}.aria-assistant-container .aria-animate-pulse-dot{animation:2s ease-in-out infinite aria-pulse-dot}.aria-assistant-container .aria-animate-fade-in{animation:.3s ease-out forwards aria-fade-in}.aria-assistant-container .aria-animate-scale-in{animation:.2s ease-out forwards aria-scale-in}.aria-assistant-container .aria-animate-slide-up{animation:.4s ease-out forwards aria-slide-up}.aria-assistant-container .aria-animate-pulse-ring{animation:2s ease-in-out infinite aria-pulse-ring}.aria-assistant-container .aria-glass{background:hsl(var(--aria-background)/.8);-webkit-backdrop-filter:blur(12px)saturate(180%)}.aria-assistant-container.aria-dark .aria-glass{background:hsl(var(--aria-background)/.75);-webkit-backdrop-filter:blur(16px)saturate(180%)}.aria-assistant-container .aria-gradient-text{background:linear-gradient(135deg,hsl(var(--aria-gradient-from)),hsl(var(--aria-gradient-to)));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.aria-assistant-container .aria-gradient-bg{background:linear-gradient(135deg,hsl(var(--aria-gradient-from)),hsl(var(--aria-gradient-to)))}.aria-assistant-container ::-webkit-scrollbar{width:6px;height:6px}.aria-assistant-container ::-webkit-scrollbar-track{background:0 0}.aria-assistant-container ::-webkit-scrollbar-thumb{background:hsl(var(--aria-border));border-radius:3px}.aria-assistant-container ::-webkit-scrollbar-thumb:hover{background:hsl(var(--aria-muted-foreground)/.5)}.aria-assistant-container .aria-focus-ring:focus-visible{box-shadow:0 0 0 2px hsl(var(--aria-ring)/.2);outline:none}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}';
|
|
6067
|
+
function wt() {
|
|
6376
6068
|
return ir;
|
|
6377
6069
|
}
|
|
6378
|
-
const
|
|
6379
|
-
const { isOpen: i, closeAssistant: r } = Ke();
|
|
6380
|
-
return i ? /* @__PURE__ */ M(Mt, { children: [
|
|
6381
|
-
/* @__PURE__ */ y(
|
|
6382
|
-
"div",
|
|
6383
|
-
{
|
|
6384
|
-
onClick: r,
|
|
6385
|
-
style: {
|
|
6386
|
-
position: "fixed",
|
|
6387
|
-
inset: 0,
|
|
6388
|
-
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
|
6389
|
-
backdropFilter: "blur(4px)",
|
|
6390
|
-
WebkitBackdropFilter: "blur(4px)",
|
|
6391
|
-
zIndex: 9998,
|
|
6392
|
-
display: i ? "block" : "none"
|
|
6393
|
-
},
|
|
6394
|
-
"aria-hidden": "true"
|
|
6395
|
-
}
|
|
6396
|
-
),
|
|
6397
|
-
/* @__PURE__ */ y(
|
|
6398
|
-
gt,
|
|
6399
|
-
{
|
|
6400
|
-
styles: ft(),
|
|
6401
|
-
style: {
|
|
6402
|
-
position: "fixed",
|
|
6403
|
-
zIndex: 9999,
|
|
6404
|
-
// Position container to fill viewport - actual positioning handled by AriaWidget
|
|
6405
|
-
inset: 0,
|
|
6406
|
-
pointerEvents: "none"
|
|
6407
|
-
},
|
|
6408
|
-
children: /* @__PURE__ */ y("div", { style: { pointerEvents: "auto" }, children: /* @__PURE__ */ y(Qi, { onClose: r }) })
|
|
6409
|
-
}
|
|
6410
|
-
)
|
|
6411
|
-
] }) : null;
|
|
6412
|
-
}, gn = ({
|
|
6070
|
+
const pn = ir, Hi = ({
|
|
6413
6071
|
label: i,
|
|
6414
6072
|
showIcon: r = !0,
|
|
6415
6073
|
showAvatar: n = !1,
|
|
@@ -6419,17 +6077,17 @@ const hn = ir, pn = () => {
|
|
|
6419
6077
|
...c
|
|
6420
6078
|
}) => {
|
|
6421
6079
|
const { openAssistant: l, config: m, displayMode: b, isOpen: f, theme: u } = Ke(), A = i || m.triggerLabel || "AI Assistant", w = u === "dark";
|
|
6422
|
-
return b === "bottom-right" ? f ? null : /* @__PURE__ */
|
|
6423
|
-
|
|
6080
|
+
return b === "bottom-right" ? f ? null : /* @__PURE__ */ v(
|
|
6081
|
+
mt,
|
|
6424
6082
|
{
|
|
6425
|
-
styles:
|
|
6083
|
+
styles: wt(),
|
|
6426
6084
|
style: {
|
|
6427
6085
|
position: "fixed",
|
|
6428
6086
|
bottom: "1.5rem",
|
|
6429
6087
|
right: "1.5rem",
|
|
6430
|
-
zIndex:
|
|
6088
|
+
zIndex: 9997
|
|
6431
6089
|
},
|
|
6432
|
-
children: /* @__PURE__ */
|
|
6090
|
+
children: /* @__PURE__ */ v("div", { className: E("aria-assistant-container", w && "aria-dark"), children: /* @__PURE__ */ D(
|
|
6433
6091
|
"button",
|
|
6434
6092
|
{
|
|
6435
6093
|
onClick: (x) => {
|
|
@@ -6454,35 +6112,47 @@ const hn = ir, pn = () => {
|
|
|
6454
6112
|
),
|
|
6455
6113
|
...c,
|
|
6456
6114
|
children: [
|
|
6457
|
-
n ? /* @__PURE__ */
|
|
6115
|
+
n ? /* @__PURE__ */ D("div", { className: E(
|
|
6458
6116
|
"relative w-9 h-9 rounded-lg overflow-hidden shrink-0",
|
|
6459
6117
|
"shadow-sm transition-all duration-200",
|
|
6460
6118
|
w ? "bg-gray-800" : "bg-gray-100"
|
|
6461
6119
|
), children: [
|
|
6462
|
-
/* @__PURE__ */
|
|
6120
|
+
/* @__PURE__ */ v(
|
|
6463
6121
|
"img",
|
|
6464
6122
|
{
|
|
6465
6123
|
src: "/aria-image.png",
|
|
6466
6124
|
alt: A,
|
|
6467
|
-
className: "w-full h-full object-cover"
|
|
6125
|
+
className: "w-full h-full object-cover",
|
|
6126
|
+
onError: (x) => {
|
|
6127
|
+
x.currentTarget.style.display = "none";
|
|
6128
|
+
const S = x.currentTarget.nextElementSibling;
|
|
6129
|
+
S && (S.style.display = "flex");
|
|
6130
|
+
}
|
|
6468
6131
|
}
|
|
6469
6132
|
),
|
|
6470
|
-
/* @__PURE__ */
|
|
6133
|
+
/* @__PURE__ */ v(
|
|
6134
|
+
"div",
|
|
6135
|
+
{
|
|
6136
|
+
className: "hidden w-full h-full items-center justify-center aria-gradient-bg text-white",
|
|
6137
|
+
children: /* @__PURE__ */ v(ht, { className: "w-4 h-4" })
|
|
6138
|
+
}
|
|
6139
|
+
),
|
|
6140
|
+
/* @__PURE__ */ v("span", { className: E(
|
|
6471
6141
|
"absolute bottom-0 right-0 w-2.5 h-2.5 rounded-full border-2",
|
|
6472
6142
|
w ? "border-gray-900" : "border-white",
|
|
6473
6143
|
"bg-emerald-500"
|
|
6474
6144
|
) })
|
|
6475
|
-
] }) : /* @__PURE__ */
|
|
6145
|
+
] }) : /* @__PURE__ */ v("div", { className: E(
|
|
6476
6146
|
"relative w-9 h-9 rounded-lg flex items-center justify-center shrink-0",
|
|
6477
6147
|
"aria-gradient-bg text-white shadow-sm",
|
|
6478
6148
|
"transition-transform duration-200 group-hover:scale-105"
|
|
6479
|
-
), children: /* @__PURE__ */
|
|
6480
|
-
/* @__PURE__ */
|
|
6481
|
-
/* @__PURE__ */
|
|
6149
|
+
), children: /* @__PURE__ */ v(ht, { className: "w-4 h-4" }) }),
|
|
6150
|
+
/* @__PURE__ */ D("div", { className: "relative flex flex-col items-start min-w-0 text-left", children: [
|
|
6151
|
+
/* @__PURE__ */ v("span", { className: E(
|
|
6482
6152
|
"font-bold text-[13px] tracking-tight leading-none",
|
|
6483
6153
|
w ? "text-white" : "text-gray-900"
|
|
6484
6154
|
), children: A }),
|
|
6485
|
-
/* @__PURE__ */
|
|
6155
|
+
/* @__PURE__ */ v("span", { className: E(
|
|
6486
6156
|
"text-[10px] font-medium mt-1 leading-none opacity-70",
|
|
6487
6157
|
w ? "text-gray-400" : "text-gray-500"
|
|
6488
6158
|
), children: "Assistant" })
|
|
@@ -6491,13 +6161,13 @@ const hn = ir, pn = () => {
|
|
|
6491
6161
|
}
|
|
6492
6162
|
) })
|
|
6493
6163
|
}
|
|
6494
|
-
) : /* @__PURE__ */
|
|
6495
|
-
|
|
6164
|
+
) : /* @__PURE__ */ v(
|
|
6165
|
+
mt,
|
|
6496
6166
|
{
|
|
6497
|
-
styles:
|
|
6167
|
+
styles: wt(),
|
|
6498
6168
|
style: { display: "inline-block" },
|
|
6499
|
-
children: /* @__PURE__ */
|
|
6500
|
-
|
|
6169
|
+
children: /* @__PURE__ */ v("div", { className: E("aria-assistant-container", w && "aria-dark"), children: /* @__PURE__ */ D(
|
|
6170
|
+
Be,
|
|
6501
6171
|
{
|
|
6502
6172
|
onClick: () => l("user"),
|
|
6503
6173
|
variant: a === "default" ? "gradient" : a,
|
|
@@ -6508,15 +6178,373 @@ const hn = ir, pn = () => {
|
|
|
6508
6178
|
),
|
|
6509
6179
|
...c,
|
|
6510
6180
|
children: [
|
|
6511
|
-
r && /* @__PURE__ */
|
|
6181
|
+
r && /* @__PURE__ */ v(br, { className: "h-4 w-4" }),
|
|
6512
6182
|
A
|
|
6513
6183
|
]
|
|
6514
6184
|
}
|
|
6515
6185
|
) })
|
|
6516
6186
|
}
|
|
6517
6187
|
);
|
|
6518
|
-
},
|
|
6519
|
-
|
|
6188
|
+
}, qi = ({
|
|
6189
|
+
showTrigger: i = !0,
|
|
6190
|
+
showAvatar: r = !0,
|
|
6191
|
+
triggerLabel: n
|
|
6192
|
+
}) => {
|
|
6193
|
+
const { isOpen: a, closeAssistant: d } = Ke();
|
|
6194
|
+
return /* @__PURE__ */ D(ut, { children: [
|
|
6195
|
+
i && /* @__PURE__ */ v(Hi, { showAvatar: r, label: n }),
|
|
6196
|
+
a && /* @__PURE__ */ D(ut, { children: [
|
|
6197
|
+
/* @__PURE__ */ v(
|
|
6198
|
+
"div",
|
|
6199
|
+
{
|
|
6200
|
+
onClick: d,
|
|
6201
|
+
style: {
|
|
6202
|
+
position: "fixed",
|
|
6203
|
+
inset: 0,
|
|
6204
|
+
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
|
6205
|
+
backdropFilter: "blur(4px)",
|
|
6206
|
+
WebkitBackdropFilter: "blur(4px)",
|
|
6207
|
+
zIndex: 9998
|
|
6208
|
+
},
|
|
6209
|
+
"aria-hidden": "true"
|
|
6210
|
+
}
|
|
6211
|
+
),
|
|
6212
|
+
/* @__PURE__ */ v(
|
|
6213
|
+
mt,
|
|
6214
|
+
{
|
|
6215
|
+
styles: wt(),
|
|
6216
|
+
style: {
|
|
6217
|
+
position: "fixed",
|
|
6218
|
+
zIndex: 9999,
|
|
6219
|
+
// Position container to fill viewport - actual positioning handled by AriaWidget
|
|
6220
|
+
inset: 0,
|
|
6221
|
+
pointerEvents: "none"
|
|
6222
|
+
},
|
|
6223
|
+
children: /* @__PURE__ */ v("div", { style: { pointerEvents: "auto" }, children: /* @__PURE__ */ v(Wi, { onClose: d }) })
|
|
6224
|
+
}
|
|
6225
|
+
)
|
|
6226
|
+
] })
|
|
6227
|
+
] });
|
|
6228
|
+
};
|
|
6229
|
+
function Ji(i) {
|
|
6230
|
+
return typeof i == "object" && i !== null && "status" in i && (i.status === "success" || i.status === "error") && !("type" in i);
|
|
6231
|
+
}
|
|
6232
|
+
function Yi(i) {
|
|
6233
|
+
return typeof i == "object" && i !== null && "type" in i && i.type === "message_history_ack" && "status" in i && i.status === "ok";
|
|
6234
|
+
}
|
|
6235
|
+
function Ki(i) {
|
|
6236
|
+
return typeof i == "object" && i !== null && "type" in i && i.type === "message_stream_ack" && "status" in i && i.status === "ok";
|
|
6237
|
+
}
|
|
6238
|
+
function Xi(i) {
|
|
6239
|
+
return typeof i == "object" && i !== null && "type" in i && i.type === "session_end_ack" && "status" in i && i.status === "ok";
|
|
6240
|
+
}
|
|
6241
|
+
function Zi(i) {
|
|
6242
|
+
return typeof i == "object" && i !== null && "type" in i && i.type === "session_end_error" && "status" in i && i.status === "error";
|
|
6243
|
+
}
|
|
6244
|
+
function Qi(i) {
|
|
6245
|
+
return typeof i == "object" && i !== null && "type" in i && i.type === "trigger_event";
|
|
6246
|
+
}
|
|
6247
|
+
function en(i) {
|
|
6248
|
+
return typeof i == "object" && i !== null && "status" in i && i.status === "ok" && "message" in i && !("type" in i);
|
|
6249
|
+
}
|
|
6250
|
+
function tn(i) {
|
|
6251
|
+
return typeof i == "object" && i !== null && "status" in i && i.status === "error" && "error" in i && i.error === "MISSING_FIELDS";
|
|
6252
|
+
}
|
|
6253
|
+
const gn = ({ config: i, children: r }) => {
|
|
6254
|
+
const [n, a] = le(!1), [d, h] = le(!1), [c, l] = le(!1), [m, b] = le([]), [f, u] = le(""), [A, w] = le(!1), [x, S] = le(!1), [M, N] = le(null), [z, j] = le("user"), [H, F] = le("bottom-right"), [G, ae] = le({
|
|
6255
|
+
session_id: null,
|
|
6256
|
+
token: null,
|
|
6257
|
+
expires_at: null,
|
|
6258
|
+
isSessionReady: !1,
|
|
6259
|
+
lastError: null
|
|
6260
|
+
}), T = i.theme || "light", $ = Oe(null), V = Oe(null), ze = Oe("aria-video-element"), be = Oe(null), _e = Oe([]), ve = ce((k) => {
|
|
6261
|
+
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
6262
|
+
console.warn("WebSocket not connected, cannot send message history");
|
|
6263
|
+
return;
|
|
6264
|
+
}
|
|
6265
|
+
if (!G.session_id || !i.userId) {
|
|
6266
|
+
console.warn("Missing session_id or user_id, cannot send message history");
|
|
6267
|
+
return;
|
|
6268
|
+
}
|
|
6269
|
+
if (JSON.stringify(k) === JSON.stringify(_e.current))
|
|
6270
|
+
return;
|
|
6271
|
+
_e.current = k;
|
|
6272
|
+
const O = {
|
|
6273
|
+
type: "message_history",
|
|
6274
|
+
session_id: G.session_id,
|
|
6275
|
+
user_id: i.userId,
|
|
6276
|
+
messages: k
|
|
6277
|
+
};
|
|
6278
|
+
try {
|
|
6279
|
+
V.current.send(JSON.stringify(O)), console.log("Sent message history:", k.length, "messages");
|
|
6280
|
+
} catch (L) {
|
|
6281
|
+
console.error("Failed to send message history:", L);
|
|
6282
|
+
}
|
|
6283
|
+
}, [G.session_id, i.userId]), he = ce((k, O) => {
|
|
6284
|
+
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
6285
|
+
console.warn("WebSocket not connected, cannot send message stream");
|
|
6286
|
+
return;
|
|
6287
|
+
}
|
|
6288
|
+
if (!G.session_id || !i.userId) {
|
|
6289
|
+
console.warn("Missing session_id or user_id, cannot send message stream");
|
|
6290
|
+
return;
|
|
6291
|
+
}
|
|
6292
|
+
const L = {
|
|
6293
|
+
type: "message_stream",
|
|
6294
|
+
session_id: G.session_id,
|
|
6295
|
+
user_id: i.userId,
|
|
6296
|
+
message: {
|
|
6297
|
+
...k,
|
|
6298
|
+
is_final: O
|
|
6299
|
+
}
|
|
6300
|
+
};
|
|
6301
|
+
try {
|
|
6302
|
+
V.current.send(JSON.stringify(L)), O && console.log("Sent final message stream:", k.role);
|
|
6303
|
+
} catch (I) {
|
|
6304
|
+
console.error("Failed to send message stream:", I);
|
|
6305
|
+
}
|
|
6306
|
+
}, [G.session_id, i.userId]), ne = ce(async (k) => {
|
|
6307
|
+
if (!($.current || c)) {
|
|
6308
|
+
l(!0);
|
|
6309
|
+
try {
|
|
6310
|
+
const { createClient: O } = await import("./index-BhEwL6TA.js"), L = O(k);
|
|
6311
|
+
L.addListener(P.SESSION_READY, () => {
|
|
6312
|
+
h(!0), l(!1), i.onSessionReady?.(), i.onConnectionStateChange?.(!0);
|
|
6313
|
+
}), L.addListener(P.CONNECTION_CLOSED, () => {
|
|
6314
|
+
h(!1), i.onConnectionStateChange?.(!1);
|
|
6315
|
+
}), L.addListener(P.MESSAGE_HISTORY_UPDATED, (I) => {
|
|
6316
|
+
const fe = I.map((Se) => ({
|
|
6317
|
+
role: Se.role,
|
|
6318
|
+
content: Se.content,
|
|
6319
|
+
timestamp: Date.now()
|
|
6320
|
+
}));
|
|
6321
|
+
b(fe);
|
|
6322
|
+
const xe = I.map((Se) => ({
|
|
6323
|
+
role: Se.role,
|
|
6324
|
+
content: Se.content,
|
|
6325
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
6326
|
+
}));
|
|
6327
|
+
ve(xe);
|
|
6328
|
+
}), L.addListener(P.MESSAGE_STREAM_EVENT_RECEIVED, (I) => {
|
|
6329
|
+
I.role === "persona" ? u((Se) => Se + I.content) : I.role === "user" && u("");
|
|
6330
|
+
const fe = {
|
|
6331
|
+
role: I.role,
|
|
6332
|
+
content: I.content,
|
|
6333
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
6334
|
+
}, xe = I.is_final ?? !1;
|
|
6335
|
+
he(fe, xe);
|
|
6336
|
+
}), $.current = L, await L.streamToVideoElement(ze.current);
|
|
6337
|
+
} catch (O) {
|
|
6338
|
+
const L = O instanceof Error ? O.message : "Failed to initialize Anam client";
|
|
6339
|
+
N(L), l(!1), i.onError?.(O instanceof Error ? O : new Error(L));
|
|
6340
|
+
}
|
|
6341
|
+
}
|
|
6342
|
+
}, [i, c, ve, he]), de = ce((k) => {
|
|
6343
|
+
if (k.status === "success")
|
|
6344
|
+
console.log("Session response:", k.message), k.session_data ? (ae({
|
|
6345
|
+
session_id: k.session_data.session_id,
|
|
6346
|
+
token: k.session_data.token,
|
|
6347
|
+
expires_at: k.session_data.expires_at,
|
|
6348
|
+
isSessionReady: !0,
|
|
6349
|
+
lastError: null
|
|
6350
|
+
}), ne(k.session_data.token)) : (console.log("Session not triggered:", k.message), ae((O) => ({
|
|
6351
|
+
...O,
|
|
6352
|
+
isSessionReady: !1,
|
|
6353
|
+
lastError: null
|
|
6354
|
+
})));
|
|
6355
|
+
else {
|
|
6356
|
+
console.error("Session error:", k.message, k.error);
|
|
6357
|
+
const O = `${k.error}: ${k.message}`;
|
|
6358
|
+
ae((L) => ({
|
|
6359
|
+
...L,
|
|
6360
|
+
isSessionReady: !1,
|
|
6361
|
+
lastError: O
|
|
6362
|
+
})), N(O), i.onError?.(new Error(O));
|
|
6363
|
+
}
|
|
6364
|
+
}, [i, ne]), R = ce(() => {
|
|
6365
|
+
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
6366
|
+
console.warn("WebSocket not connected, cannot send session end");
|
|
6367
|
+
return;
|
|
6368
|
+
}
|
|
6369
|
+
if (!G.session_id || !i.userId) {
|
|
6370
|
+
console.warn("Missing session_id or user_id, cannot send session end");
|
|
6371
|
+
return;
|
|
6372
|
+
}
|
|
6373
|
+
const k = {
|
|
6374
|
+
type: "session_end",
|
|
6375
|
+
session_id: G.session_id,
|
|
6376
|
+
user_id: i.userId
|
|
6377
|
+
};
|
|
6378
|
+
try {
|
|
6379
|
+
V.current.send(JSON.stringify(k)), console.log("Sent session end event");
|
|
6380
|
+
} catch (O) {
|
|
6381
|
+
console.error("Failed to send session end:", O);
|
|
6382
|
+
}
|
|
6383
|
+
}, [G.session_id, i.userId]), ye = ce(() => {
|
|
6384
|
+
if (V.current?.readyState === WebSocket.OPEN) {
|
|
6385
|
+
console.log("WebSocket already connected");
|
|
6386
|
+
return;
|
|
6387
|
+
}
|
|
6388
|
+
try {
|
|
6389
|
+
const k = new WebSocket(i.websocketUrl);
|
|
6390
|
+
V.current = k, k.onopen = () => {
|
|
6391
|
+
console.log("WebSocket connected"), i.onConnectionStateChange?.(!0);
|
|
6392
|
+
}, k.onmessage = (O) => {
|
|
6393
|
+
try {
|
|
6394
|
+
const L = O.data, I = JSON.parse(L);
|
|
6395
|
+
if (Ji(I)) {
|
|
6396
|
+
de(I);
|
|
6397
|
+
return;
|
|
6398
|
+
}
|
|
6399
|
+
if (Yi(I)) {
|
|
6400
|
+
console.log(`Message history acknowledged: ${I.message_count} messages`), i.onMessageHistoryAck?.(I.message_count);
|
|
6401
|
+
return;
|
|
6402
|
+
}
|
|
6403
|
+
if (Ki(I)) {
|
|
6404
|
+
console.log("Message stream acknowledged"), i.onMessageStreamAck?.();
|
|
6405
|
+
return;
|
|
6406
|
+
}
|
|
6407
|
+
if (Xi(I)) {
|
|
6408
|
+
console.log(`Session end acknowledged: ${I.message}. Saved: ${I.saved_count} messages`), i.onSessionEndAck?.(I.saved_count);
|
|
6409
|
+
return;
|
|
6410
|
+
}
|
|
6411
|
+
if (Zi(I)) {
|
|
6412
|
+
console.error(`Session end error: ${I.message}`), N(I.message), i.onSessionEndError?.(I.message, I.error), i.onError?.(new Error(`Session end failed: ${I.error} - ${I.message}`));
|
|
6413
|
+
return;
|
|
6414
|
+
}
|
|
6415
|
+
if (tn(I)) {
|
|
6416
|
+
console.error(`Missing fields error: ${I.message}`), N(I.message), i.onError?.(new Error(I.message));
|
|
6417
|
+
return;
|
|
6418
|
+
}
|
|
6419
|
+
if (Qi(I)) {
|
|
6420
|
+
console.log("WebSocket trigger event received:", I.data), i.onWebSocketEvent?.(I), be.current?.("websocket");
|
|
6421
|
+
return;
|
|
6422
|
+
}
|
|
6423
|
+
if (en(I)) {
|
|
6424
|
+
console.log(`Generic acknowledgment: ${I.message}`);
|
|
6425
|
+
return;
|
|
6426
|
+
}
|
|
6427
|
+
if (typeof I == "object" && I !== null && "type" in I && I.type === "session_token" && "sessionToken" in I && typeof I.sessionToken == "string") {
|
|
6428
|
+
console.warn("Received legacy session_token format, converting to new format"), de({
|
|
6429
|
+
status: "success",
|
|
6430
|
+
message: "Session created successfully (legacy format)",
|
|
6431
|
+
session_data: {
|
|
6432
|
+
session_id: "legacy",
|
|
6433
|
+
token: I.sessionToken,
|
|
6434
|
+
expires_at: new Date(Date.now() + 36e5).toISOString()
|
|
6435
|
+
},
|
|
6436
|
+
time_taken: 0
|
|
6437
|
+
});
|
|
6438
|
+
return;
|
|
6439
|
+
}
|
|
6440
|
+
console.warn("Received unknown message type:", I);
|
|
6441
|
+
} catch (L) {
|
|
6442
|
+
if (L instanceof SyntaxError)
|
|
6443
|
+
console.error("Failed to parse WebSocket message as JSON:", O.data), N("Received invalid JSON from server"), i.onError?.(new Error("Invalid JSON received from WebSocket"));
|
|
6444
|
+
else {
|
|
6445
|
+
const I = L instanceof Error ? L.message : "Unknown error";
|
|
6446
|
+
console.error("Error handling WebSocket message:", I), N(I), i.onError?.(L instanceof Error ? L : new Error(I));
|
|
6447
|
+
}
|
|
6448
|
+
}
|
|
6449
|
+
}, k.onerror = (O) => {
|
|
6450
|
+
console.error("WebSocket error:", O), N("WebSocket connection error"), i.onError?.(new Error("WebSocket connection failed"));
|
|
6451
|
+
}, k.onclose = () => {
|
|
6452
|
+
console.log("WebSocket disconnected"), i.onConnectionStateChange?.(!1), ae({
|
|
6453
|
+
session_id: null,
|
|
6454
|
+
token: null,
|
|
6455
|
+
expires_at: null,
|
|
6456
|
+
isSessionReady: !1,
|
|
6457
|
+
lastError: null
|
|
6458
|
+
});
|
|
6459
|
+
};
|
|
6460
|
+
} catch (k) {
|
|
6461
|
+
const O = k instanceof Error ? k.message : "Failed to connect WebSocket";
|
|
6462
|
+
N(O), i.onError?.(k instanceof Error ? k : new Error(O));
|
|
6463
|
+
}
|
|
6464
|
+
}, [i, de]), Ge = ce(() => {
|
|
6465
|
+
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
6466
|
+
console.error("WebSocket not connected"), N("WebSocket not connected. Please connect first.");
|
|
6467
|
+
return;
|
|
6468
|
+
}
|
|
6469
|
+
try {
|
|
6470
|
+
const k = JSON.stringify({ user_trigger: !0 });
|
|
6471
|
+
V.current.send(k), console.log("Sent user_trigger message");
|
|
6472
|
+
} catch (k) {
|
|
6473
|
+
const O = k instanceof Error ? k.message : "Failed to trigger session";
|
|
6474
|
+
N(O), i.onError?.(k instanceof Error ? k : new Error(O));
|
|
6475
|
+
}
|
|
6476
|
+
}, [i]), q = ce(async () => {
|
|
6477
|
+
(!V.current || V.current.readyState !== WebSocket.OPEN) && ye(), G.isSessionReady && G.token && !$.current && await ne(G.token);
|
|
6478
|
+
}, [ye, ne, G]), K = ce(async () => {
|
|
6479
|
+
if ($.current)
|
|
6480
|
+
try {
|
|
6481
|
+
R(), await $.current.stopStreaming(), $.current = null, h(!1), b([]), u(""), _e.current = [], i.onConnectionStateChange?.(!1);
|
|
6482
|
+
} catch (k) {
|
|
6483
|
+
const O = k instanceof Error ? k.message : "Failed to stop session";
|
|
6484
|
+
N(O), i.onError?.(k instanceof Error ? k : new Error(O));
|
|
6485
|
+
}
|
|
6486
|
+
}, [i, R]), X = ce((k = "user") => {
|
|
6487
|
+
j(k), F(k === "websocket" ? "center" : "bottom-right"), a(!0), !$.current && !c && q();
|
|
6488
|
+
}, [q, c]);
|
|
6489
|
+
Fe(() => {
|
|
6490
|
+
be.current = X;
|
|
6491
|
+
}, [X]);
|
|
6492
|
+
const re = ce(() => {
|
|
6493
|
+
a(!1), K();
|
|
6494
|
+
}, [K]), Ee = ce(() => {
|
|
6495
|
+
w((k) => !k);
|
|
6496
|
+
}, []), Ue = ce(async (k) => {
|
|
6497
|
+
if (!$.current || !d)
|
|
6498
|
+
throw new Error("Not connected to Aria");
|
|
6499
|
+
try {
|
|
6500
|
+
await $.current.talk(k);
|
|
6501
|
+
} catch (O) {
|
|
6502
|
+
const L = O instanceof Error ? O.message : "Failed to send message";
|
|
6503
|
+
throw N(L), i.onError?.(O instanceof Error ? O : new Error(L)), O;
|
|
6504
|
+
}
|
|
6505
|
+
}, [d, i]), Y = ce(() => {
|
|
6506
|
+
if (!$.current) return;
|
|
6507
|
+
$.current.getInputAudioState().isMuted ? ($.current.unmuteInputAudio(), S(!1)) : ($.current.muteInputAudio(), S(!0));
|
|
6508
|
+
}, []);
|
|
6509
|
+
Fe(() => (ye(), () => {
|
|
6510
|
+
G.session_id && i.userId && R(), $.current && $.current.stopStreaming(), V.current && V.current.close();
|
|
6511
|
+
}), [ye, G.session_id, i.userId, R]);
|
|
6512
|
+
const pe = {
|
|
6513
|
+
isOpen: n,
|
|
6514
|
+
isConnected: d,
|
|
6515
|
+
isLoading: c,
|
|
6516
|
+
chatMessages: m,
|
|
6517
|
+
liveTranscript: f,
|
|
6518
|
+
isChatVisible: A,
|
|
6519
|
+
isMuted: x,
|
|
6520
|
+
error: M,
|
|
6521
|
+
sessionState: G,
|
|
6522
|
+
openAssistant: X,
|
|
6523
|
+
closeAssistant: re,
|
|
6524
|
+
toggleChat: Ee,
|
|
6525
|
+
sendMessage: Ue,
|
|
6526
|
+
toggleMute: Y,
|
|
6527
|
+
startSession: q,
|
|
6528
|
+
stopSession: K,
|
|
6529
|
+
triggerSession: Ge,
|
|
6530
|
+
displayMode: H,
|
|
6531
|
+
triggerMode: z,
|
|
6532
|
+
theme: T,
|
|
6533
|
+
config: i
|
|
6534
|
+
};
|
|
6535
|
+
return /* @__PURE__ */ D(Gt.Provider, { value: pe, children: [
|
|
6536
|
+
r,
|
|
6537
|
+
i.showAssistant !== !1 && /* @__PURE__ */ v(
|
|
6538
|
+
qi,
|
|
6539
|
+
{
|
|
6540
|
+
showTrigger: i.showFloatingButton !== !1,
|
|
6541
|
+
showAvatar: !0,
|
|
6542
|
+
triggerLabel: i.triggerLabel
|
|
6543
|
+
}
|
|
6544
|
+
)
|
|
6545
|
+
] });
|
|
6546
|
+
}, fn = ({ open: i, onOpenChange: r, children: n }) => /* @__PURE__ */ v(ut, { children: i && /* @__PURE__ */ D("div", { className: "fixed inset-0 z-50 flex items-center justify-center aria-animate-fade-in", children: [
|
|
6547
|
+
/* @__PURE__ */ v(
|
|
6520
6548
|
"div",
|
|
6521
6549
|
{
|
|
6522
6550
|
className: "fixed inset-0 bg-black/60 backdrop-blur-sm",
|
|
@@ -6524,8 +6552,8 @@ const hn = ir, pn = () => {
|
|
|
6524
6552
|
}
|
|
6525
6553
|
),
|
|
6526
6554
|
n
|
|
6527
|
-
] }) }),
|
|
6528
|
-
({ className: i, children: r, ...n }, a) => /* @__PURE__ */
|
|
6555
|
+
] }) }), rn = we.forwardRef(
|
|
6556
|
+
({ className: i, children: r, ...n }, a) => /* @__PURE__ */ v(
|
|
6529
6557
|
"div",
|
|
6530
6558
|
{
|
|
6531
6559
|
ref: a,
|
|
@@ -6539,11 +6567,11 @@ const hn = ir, pn = () => {
|
|
|
6539
6567
|
}
|
|
6540
6568
|
)
|
|
6541
6569
|
);
|
|
6542
|
-
|
|
6543
|
-
const
|
|
6570
|
+
rn.displayName = "DialogContent";
|
|
6571
|
+
const nn = ({
|
|
6544
6572
|
className: i,
|
|
6545
6573
|
...r
|
|
6546
|
-
}) => /* @__PURE__ */
|
|
6574
|
+
}) => /* @__PURE__ */ v(
|
|
6547
6575
|
"div",
|
|
6548
6576
|
{
|
|
6549
6577
|
className: E(
|
|
@@ -6553,8 +6581,8 @@ const tn = ({
|
|
|
6553
6581
|
...r
|
|
6554
6582
|
}
|
|
6555
6583
|
);
|
|
6556
|
-
|
|
6557
|
-
const
|
|
6584
|
+
nn.displayName = "DialogHeader";
|
|
6585
|
+
const on = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ v(
|
|
6558
6586
|
"h2",
|
|
6559
6587
|
{
|
|
6560
6588
|
ref: n,
|
|
@@ -6565,12 +6593,12 @@ const rn = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ y(
|
|
|
6565
6593
|
...r
|
|
6566
6594
|
}
|
|
6567
6595
|
));
|
|
6568
|
-
|
|
6569
|
-
const
|
|
6596
|
+
on.displayName = "DialogTitle";
|
|
6597
|
+
const an = ({
|
|
6570
6598
|
className: i,
|
|
6571
6599
|
onClick: r,
|
|
6572
6600
|
...n
|
|
6573
|
-
}) => /* @__PURE__ */
|
|
6601
|
+
}) => /* @__PURE__ */ D(
|
|
6574
6602
|
"button",
|
|
6575
6603
|
{
|
|
6576
6604
|
className: E(
|
|
@@ -6584,19 +6612,19 @@ const nn = ({
|
|
|
6584
6612
|
onClick: r,
|
|
6585
6613
|
...n,
|
|
6586
6614
|
children: [
|
|
6587
|
-
/* @__PURE__ */
|
|
6588
|
-
/* @__PURE__ */
|
|
6615
|
+
/* @__PURE__ */ v(pt, { className: "h-4 w-4" }),
|
|
6616
|
+
/* @__PURE__ */ v("span", { className: "sr-only", children: "Close" })
|
|
6589
6617
|
]
|
|
6590
6618
|
}
|
|
6591
6619
|
);
|
|
6592
|
-
|
|
6620
|
+
an.displayName = "DialogClose";
|
|
6593
6621
|
export {
|
|
6594
|
-
|
|
6595
|
-
|
|
6622
|
+
hn as A,
|
|
6623
|
+
Be as B,
|
|
6596
6624
|
te as C,
|
|
6597
6625
|
tt as D,
|
|
6598
6626
|
ie as E,
|
|
6599
|
-
|
|
6627
|
+
an as F,
|
|
6600
6628
|
E as G,
|
|
6601
6629
|
ge as I,
|
|
6602
6630
|
rt as M,
|
|
@@ -6605,27 +6633,27 @@ export {
|
|
|
6605
6633
|
P as b,
|
|
6606
6634
|
Me as c,
|
|
6607
6635
|
Or as d,
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6636
|
+
gn as e,
|
|
6637
|
+
qi as f,
|
|
6638
|
+
Hi as g,
|
|
6639
|
+
Vi as h,
|
|
6640
|
+
Wi as i,
|
|
6641
|
+
ji as j,
|
|
6642
|
+
mt as k,
|
|
6643
|
+
wt as l,
|
|
6644
|
+
pn as m,
|
|
6617
6645
|
rr as n,
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6646
|
+
Fi as o,
|
|
6647
|
+
Gi as p,
|
|
6648
|
+
Pi as q,
|
|
6649
|
+
zi as r,
|
|
6650
|
+
$i as s,
|
|
6623
6651
|
tr as t,
|
|
6624
6652
|
Ke as u,
|
|
6625
6653
|
We as v,
|
|
6626
6654
|
fn as w,
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6655
|
+
rn as x,
|
|
6656
|
+
nn as y,
|
|
6657
|
+
on as z
|
|
6630
6658
|
};
|
|
6631
|
-
//# sourceMappingURL=index-
|
|
6659
|
+
//# sourceMappingURL=index-Bwp7d2Nw.js.map
|