@centive/aria-sdk 0.4.8 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/context/AriaProvider.d.ts.map +1 -1
- package/dist/{index-DOSWxknt.js → index-BrP3MP8-.js} +3 -3
- package/dist/{index-DOSWxknt.js.map → index-BrP3MP8-.js.map} +1 -1
- package/dist/{index-DZgBM4LN.js → index-lJeABIrf.js} +779 -771
- package/dist/{index-DZgBM4LN.js.map → index-lJeABIrf.js.map} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as b, jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import { createContext as
|
|
4
|
-
import { CheckCircle2 as
|
|
5
|
-
import { createPortal as
|
|
6
|
-
var
|
|
7
|
-
function
|
|
8
|
-
if (
|
|
9
|
-
|
|
1
|
+
import { jsx as b, jsxs as M, Fragment as mt } from "react/jsx-runtime";
|
|
2
|
+
import * as Se from "react";
|
|
3
|
+
import { createContext as pr, useContext as gr, useState as he, useRef as be, useEffect as Ee, useCallback as le } from "react";
|
|
4
|
+
import { CheckCircle2 as It, AlertCircle as ut, Zap as Rt, RefreshCw as Nt, Clock as fr, MessageCircle as jt, Sparkles as wt, User as mr, Bot as wr, Send as vr, MessageCircleOff as br, MicOff as _t, Mic as Tt, X as vt, Phone as yr, MessageSquare as Ar } from "lucide-react";
|
|
5
|
+
import { createPortal as xr } from "react-dom";
|
|
6
|
+
var ht = {}, et = {}, Ot;
|
|
7
|
+
function Er() {
|
|
8
|
+
if (Ot) return et;
|
|
9
|
+
Ot = 1, et.byteLength = l, et.toByteArray = v, et.fromByteArray = O;
|
|
10
10
|
for (var i = [], r = [], n = typeof Uint8Array < "u" ? Uint8Array : Array, o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", d = 0, h = o.length; d < h; ++d)
|
|
11
11
|
i[d] = o[d], r[o.charCodeAt(d)] = d;
|
|
12
12
|
r[45] = 62, r[95] = 63;
|
|
@@ -16,49 +16,49 @@ function xr() {
|
|
|
16
16
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
17
17
|
var E = w.indexOf("=");
|
|
18
18
|
E === -1 && (E = x);
|
|
19
|
-
var
|
|
20
|
-
return [E,
|
|
19
|
+
var T = E === x ? 0 : 4 - E % 4;
|
|
20
|
+
return [E, T];
|
|
21
21
|
}
|
|
22
22
|
function l(w) {
|
|
23
|
-
var x = c(w), E = x[0],
|
|
24
|
-
return (E +
|
|
23
|
+
var x = c(w), E = x[0], T = x[1];
|
|
24
|
+
return (E + T) * 3 / 4 - T;
|
|
25
25
|
}
|
|
26
26
|
function m(w, x, E) {
|
|
27
27
|
return (x + E) * 3 / 4 - E;
|
|
28
28
|
}
|
|
29
29
|
function v(w) {
|
|
30
|
-
var x, E = c(w),
|
|
30
|
+
var x, E = c(w), T = E[0], N = E[1], V = new n(m(w, T, N)), j = 0, W = N > 0 ? T - 4 : T, L;
|
|
31
31
|
for (L = 0; L < W; L += 4)
|
|
32
32
|
x = r[w.charCodeAt(L)] << 18 | r[w.charCodeAt(L + 1)] << 12 | r[w.charCodeAt(L + 2)] << 6 | r[w.charCodeAt(L + 3)], V[j++] = x >> 16 & 255, V[j++] = x >> 8 & 255, V[j++] = x & 255;
|
|
33
|
-
return
|
|
33
|
+
return N === 2 && (x = r[w.charCodeAt(L)] << 2 | r[w.charCodeAt(L + 1)] >> 4, V[j++] = x & 255), N === 1 && (x = r[w.charCodeAt(L)] << 10 | r[w.charCodeAt(L + 1)] << 4 | r[w.charCodeAt(L + 2)] >> 2, V[j++] = x >> 8 & 255, V[j++] = x & 255), V;
|
|
34
34
|
}
|
|
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
38
|
function u(w, x, E) {
|
|
39
|
-
for (var
|
|
40
|
-
|
|
41
|
-
return
|
|
42
|
-
}
|
|
43
|
-
function
|
|
44
|
-
for (var x, E = w.length,
|
|
45
|
-
|
|
46
|
-
return
|
|
39
|
+
for (var T, N = [], V = x; V < E; V += 3)
|
|
40
|
+
T = (w[V] << 16 & 16711680) + (w[V + 1] << 8 & 65280) + (w[V + 2] & 255), N.push(f(T));
|
|
41
|
+
return N.join("");
|
|
42
|
+
}
|
|
43
|
+
function O(w) {
|
|
44
|
+
for (var x, E = w.length, T = E % 3, N = [], V = 16383, j = 0, W = E - T; j < W; j += V)
|
|
45
|
+
N.push(u(w, j, j + V > W ? W : j + V));
|
|
46
|
+
return T === 1 ? (x = w[E - 1], N.push(
|
|
47
47
|
i[x >> 2] + i[x << 4 & 63] + "=="
|
|
48
|
-
)) :
|
|
48
|
+
)) : T === 2 && (x = (w[E - 2] << 8) + w[E - 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 et;
|
|
53
53
|
}
|
|
54
54
|
var it = {};
|
|
55
|
-
var
|
|
56
|
-
function
|
|
57
|
-
return
|
|
58
|
-
var h, c, l = d * 8 - o - 1, m = (1 << l) - 1, v = m >> 1, f = -7, u = n ? d - 1 : 0,
|
|
59
|
-
for (u +=
|
|
55
|
+
var Dt;
|
|
56
|
+
function Sr() {
|
|
57
|
+
return Dt || (Dt = 1, it.read = function(i, r, n, o, d) {
|
|
58
|
+
var h, c, l = d * 8 - o - 1, m = (1 << l) - 1, v = m >> 1, f = -7, u = n ? d - 1 : 0, O = n ? -1 : 1, w = i[r + u];
|
|
59
|
+
for (u += O, h = w & (1 << -f) - 1, w >>= -f, f += l; f > 0; h = h * 256 + i[r + u], u += O, f -= 8)
|
|
60
60
|
;
|
|
61
|
-
for (c = h & (1 << -f) - 1, h >>= -f, f += o; f > 0; c = c * 256 + i[r + u], u +=
|
|
61
|
+
for (c = h & (1 << -f) - 1, h >>= -f, f += o; f > 0; c = c * 256 + i[r + u], u += O, f -= 8)
|
|
62
62
|
;
|
|
63
63
|
if (h === 0)
|
|
64
64
|
h = 1 - v;
|
|
@@ -69,18 +69,18 @@ function Er() {
|
|
|
69
69
|
}
|
|
70
70
|
return (w ? -1 : 1) * c * Math.pow(2, h - o);
|
|
71
71
|
}, it.write = function(i, r, n, o, d, h) {
|
|
72
|
-
var c, l, m, v = h * 8 - d - 1, f = (1 << v) - 1, u = f >> 1,
|
|
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 +=
|
|
72
|
+
var c, l, m, v = h * 8 - d - 1, f = (1 << v) - 1, u = f >> 1, O = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, w = o ? 0 : h - 1, x = o ? 1 : -1, E = r < 0 || r === 0 && 1 / r < 0 ? 1 : 0;
|
|
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 += O / m : r += O * 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, v += d; v > 0; i[n + w] = c & 255, w += x, c /= 256, v -= 8)
|
|
76
76
|
;
|
|
77
77
|
i[n + w - x] |= E * 128;
|
|
78
78
|
}), it;
|
|
79
79
|
}
|
|
80
|
-
var
|
|
81
|
-
function
|
|
82
|
-
return
|
|
83
|
-
const r =
|
|
80
|
+
var Mt;
|
|
81
|
+
function kr() {
|
|
82
|
+
return Mt || (Mt = 1, (function(i) {
|
|
83
|
+
const r = Er(), n = Sr(), o = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
|
|
84
84
|
i.Buffer = l, i.SlowBuffer = V, i.INSPECT_MAX_BYTES = 50;
|
|
85
85
|
const d = 2147483647;
|
|
86
86
|
i.kMaxLength = d, l.TYPED_ARRAY_SUPPORT = h(), !l.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
|
|
@@ -128,7 +128,7 @@ function Sr() {
|
|
|
128
128
|
l.poolSize = 8192;
|
|
129
129
|
function m(a, e, t) {
|
|
130
130
|
if (typeof a == "string")
|
|
131
|
-
return
|
|
131
|
+
return O(a, e);
|
|
132
132
|
if (ArrayBuffer.isView(a))
|
|
133
133
|
return x(a);
|
|
134
134
|
if (a == null)
|
|
@@ -144,7 +144,7 @@ function Sr() {
|
|
|
144
144
|
const s = a.valueOf && a.valueOf();
|
|
145
145
|
if (s != null && s !== a)
|
|
146
146
|
return l.from(s, e, t);
|
|
147
|
-
const p =
|
|
147
|
+
const p = T(a);
|
|
148
148
|
if (p) return p;
|
|
149
149
|
if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof a[Symbol.toPrimitive] == "function")
|
|
150
150
|
return l.from(a[Symbol.toPrimitive]("string"), e, t);
|
|
@@ -168,14 +168,14 @@ function Sr() {
|
|
|
168
168
|
return f(a, e, t);
|
|
169
169
|
};
|
|
170
170
|
function u(a) {
|
|
171
|
-
return v(a), c(a < 0 ? 0 :
|
|
171
|
+
return v(a), c(a < 0 ? 0 : N(a) | 0);
|
|
172
172
|
}
|
|
173
173
|
l.allocUnsafe = function(a) {
|
|
174
174
|
return u(a);
|
|
175
175
|
}, l.allocUnsafeSlow = function(a) {
|
|
176
176
|
return u(a);
|
|
177
177
|
};
|
|
178
|
-
function
|
|
178
|
+
function O(a, e) {
|
|
179
179
|
if ((typeof e != "string" || e === "") && (e = "utf8"), !l.isEncoding(e))
|
|
180
180
|
throw new TypeError("Unknown encoding: " + e);
|
|
181
181
|
const t = j(a, e) | 0;
|
|
@@ -184,7 +184,7 @@ function Sr() {
|
|
|
184
184
|
return p !== t && (s = s.slice(0, p)), s;
|
|
185
185
|
}
|
|
186
186
|
function w(a) {
|
|
187
|
-
const e = a.length < 0 ? 0 :
|
|
187
|
+
const e = a.length < 0 ? 0 : N(a.length) | 0, t = c(e);
|
|
188
188
|
for (let s = 0; s < e; s += 1)
|
|
189
189
|
t[s] = a[s] & 255;
|
|
190
190
|
return t;
|
|
@@ -204,17 +204,17 @@ function Sr() {
|
|
|
204
204
|
let s;
|
|
205
205
|
return e === void 0 && t === void 0 ? s = new Uint8Array(a) : t === void 0 ? s = new Uint8Array(a, e) : s = new Uint8Array(a, e, t), Object.setPrototypeOf(s, l.prototype), s;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function T(a) {
|
|
208
208
|
if (l.isBuffer(a)) {
|
|
209
|
-
const e =
|
|
209
|
+
const e = N(a.length) | 0, t = c(e);
|
|
210
210
|
return t.length === 0 || a.copy(t, 0, 0, e), t;
|
|
211
211
|
}
|
|
212
212
|
if (a.length !== void 0)
|
|
213
|
-
return typeof a.length != "number" ||
|
|
213
|
+
return typeof a.length != "number" || dt(a.length) ? c(0) : w(a);
|
|
214
214
|
if (a.type === "Buffer" && Array.isArray(a.data))
|
|
215
215
|
return w(a.data);
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function N(a) {
|
|
218
218
|
if (a >= d)
|
|
219
219
|
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + d.toString(16) + " bytes");
|
|
220
220
|
return a | 0;
|
|
@@ -325,22 +325,22 @@ function Sr() {
|
|
|
325
325
|
for (a || (a = "utf8"); ; )
|
|
326
326
|
switch (a) {
|
|
327
327
|
case "hex":
|
|
328
|
-
return
|
|
328
|
+
return je(this, e, t);
|
|
329
329
|
case "utf8":
|
|
330
330
|
case "utf-8":
|
|
331
|
-
return
|
|
331
|
+
return Ce(this, e, t);
|
|
332
332
|
case "ascii":
|
|
333
333
|
return fe(this, e, t);
|
|
334
334
|
case "latin1":
|
|
335
335
|
case "binary":
|
|
336
|
-
return
|
|
336
|
+
return _(this, e, t);
|
|
337
337
|
case "base64":
|
|
338
338
|
return ge(this, e, t);
|
|
339
339
|
case "ucs2":
|
|
340
340
|
case "ucs-2":
|
|
341
341
|
case "utf16le":
|
|
342
342
|
case "utf-16le":
|
|
343
|
-
return
|
|
343
|
+
return ze(this, e, t);
|
|
344
344
|
default:
|
|
345
345
|
if (s) throw new TypeError("Unknown encoding: " + a);
|
|
346
346
|
a = (a + "").toLowerCase(), s = !0;
|
|
@@ -374,7 +374,7 @@ function Sr() {
|
|
|
374
374
|
return this;
|
|
375
375
|
}, l.prototype.toString = function() {
|
|
376
376
|
const e = this.length;
|
|
377
|
-
return e === 0 ? "" : arguments.length === 0 ?
|
|
377
|
+
return e === 0 ? "" : arguments.length === 0 ? Ce(this, 0, e) : W.apply(this, arguments);
|
|
378
378
|
}, l.prototype.toLocaleString = l.prototype.toString, l.prototype.equals = function(e) {
|
|
379
379
|
if (!l.isBuffer(e)) throw new TypeError("Argument must be a Buffer");
|
|
380
380
|
return this === e ? !0 : l.compare(this, e) === 0;
|
|
@@ -407,7 +407,7 @@ function Sr() {
|
|
|
407
407
|
};
|
|
408
408
|
function K(a, e, t, s, p) {
|
|
409
409
|
if (a.length === 0) return -1;
|
|
410
|
-
if (typeof t == "string" ? (s = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t,
|
|
410
|
+
if (typeof t == "string" ? (s = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t, dt(t) && (t = p ? 0 : a.length - 1), t < 0 && (t = a.length + t), t >= a.length) {
|
|
411
411
|
if (p) return -1;
|
|
412
412
|
t = a.length - 1;
|
|
413
413
|
} else if (t < 0)
|
|
@@ -456,7 +456,7 @@ function Sr() {
|
|
|
456
456
|
}, l.prototype.lastIndexOf = function(e, t, s) {
|
|
457
457
|
return K(this, e, t, s, !1);
|
|
458
458
|
};
|
|
459
|
-
function
|
|
459
|
+
function B(a, e, t, s) {
|
|
460
460
|
t = Number(t) || 0;
|
|
461
461
|
const p = a.length - t;
|
|
462
462
|
s ? (s = Number(s), s > p && (s = p)) : s = p;
|
|
@@ -465,22 +465,22 @@ function Sr() {
|
|
|
465
465
|
let y;
|
|
466
466
|
for (y = 0; y < s; ++y) {
|
|
467
467
|
const P = parseInt(e.substr(y * 2, 2), 16);
|
|
468
|
-
if (
|
|
468
|
+
if (dt(P)) return y;
|
|
469
469
|
a[t + y] = P;
|
|
470
470
|
}
|
|
471
471
|
return y;
|
|
472
472
|
}
|
|
473
473
|
function G(a, e, t, s) {
|
|
474
|
-
return
|
|
474
|
+
return De(I(e, a.length - t), a, t, s);
|
|
475
475
|
}
|
|
476
476
|
function z(a, e, t, s) {
|
|
477
|
-
return
|
|
477
|
+
return De(ve(e), a, t, s);
|
|
478
478
|
}
|
|
479
|
-
function
|
|
480
|
-
return
|
|
479
|
+
function Ae(a, e, t, s) {
|
|
480
|
+
return De(Je(e), a, t, s);
|
|
481
481
|
}
|
|
482
|
-
function
|
|
483
|
-
return
|
|
482
|
+
function ke(a, e, t, s) {
|
|
483
|
+
return De(de(e, a.length - t), a, t, s);
|
|
484
484
|
}
|
|
485
485
|
l.prototype.write = function(e, t, s, p) {
|
|
486
486
|
if (t === void 0)
|
|
@@ -501,7 +501,7 @@ function Sr() {
|
|
|
501
501
|
for (; ; )
|
|
502
502
|
switch (p) {
|
|
503
503
|
case "hex":
|
|
504
|
-
return
|
|
504
|
+
return B(this, e, t, s);
|
|
505
505
|
case "utf8":
|
|
506
506
|
case "utf-8":
|
|
507
507
|
return G(this, e, t, s);
|
|
@@ -510,12 +510,12 @@ function Sr() {
|
|
|
510
510
|
case "binary":
|
|
511
511
|
return z(this, e, t, s);
|
|
512
512
|
case "base64":
|
|
513
|
-
return
|
|
513
|
+
return Ae(this, e, t, s);
|
|
514
514
|
case "ucs2":
|
|
515
515
|
case "ucs-2":
|
|
516
516
|
case "utf16le":
|
|
517
517
|
case "utf-16le":
|
|
518
|
-
return
|
|
518
|
+
return ke(this, e, t, s);
|
|
519
519
|
default:
|
|
520
520
|
if (y) throw new TypeError("Unknown encoding: " + p);
|
|
521
521
|
p = ("" + p).toLowerCase(), y = !0;
|
|
@@ -529,7 +529,7 @@ function Sr() {
|
|
|
529
529
|
function ge(a, e, t) {
|
|
530
530
|
return e === 0 && t === a.length ? r.fromByteArray(a) : r.fromByteArray(a.slice(e, t));
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function Ce(a, e, t) {
|
|
533
533
|
t = Math.min(a.length, t);
|
|
534
534
|
const s = [];
|
|
535
535
|
let p = e;
|
|
@@ -576,22 +576,22 @@ function Sr() {
|
|
|
576
576
|
s += String.fromCharCode(a[p] & 127);
|
|
577
577
|
return s;
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function _(a, e, t) {
|
|
580
580
|
let s = "";
|
|
581
581
|
t = Math.min(a.length, t);
|
|
582
582
|
for (let p = e; p < t; ++p)
|
|
583
583
|
s += String.fromCharCode(a[p]);
|
|
584
584
|
return s;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function je(a, e, t) {
|
|
587
587
|
const s = a.length;
|
|
588
588
|
(!e || e < 0) && (e = 0), (!t || t < 0 || t > s) && (t = s);
|
|
589
589
|
let p = "";
|
|
590
590
|
for (let g = e; g < t; ++g)
|
|
591
|
-
p +=
|
|
591
|
+
p += ur[a[g]];
|
|
592
592
|
return p;
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function ze(a, e, t) {
|
|
595
595
|
const s = a.slice(e, t);
|
|
596
596
|
let p = "";
|
|
597
597
|
for (let g = 0; g < s.length - 1; g += 2)
|
|
@@ -630,14 +630,14 @@ function Sr() {
|
|
|
630
630
|
return e = e >>> 0, t || J(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + this[e + 3] * 16777216;
|
|
631
631
|
}, l.prototype.readUint32BE = l.prototype.readUInt32BE = function(e, t) {
|
|
632
632
|
return e = e >>> 0, t || J(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
|
|
633
|
-
}, l.prototype.readBigUInt64LE =
|
|
634
|
-
e = e >>> 0,
|
|
633
|
+
}, l.prototype.readBigUInt64LE = Me(function(e) {
|
|
634
|
+
e = e >>> 0, Oe(e, "offset");
|
|
635
635
|
const t = this[e], s = this[e + 7];
|
|
636
636
|
(t === void 0 || s === void 0) && S(e, this.length - 8);
|
|
637
637
|
const p = t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, g = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + s * 2 ** 24;
|
|
638
638
|
return BigInt(p) + (BigInt(g) << BigInt(32));
|
|
639
|
-
}), l.prototype.readBigUInt64BE =
|
|
640
|
-
e = e >>> 0,
|
|
639
|
+
}), l.prototype.readBigUInt64BE = Me(function(e) {
|
|
640
|
+
e = e >>> 0, Oe(e, "offset");
|
|
641
641
|
const t = this[e], s = this[e + 7];
|
|
642
642
|
(t === void 0 || s === void 0) && S(e, this.length - 8);
|
|
643
643
|
const p = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], g = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + s;
|
|
@@ -668,14 +668,14 @@ function Sr() {
|
|
|
668
668
|
return e = e >>> 0, t || J(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
|
|
669
669
|
}, l.prototype.readInt32BE = function(e, t) {
|
|
670
670
|
return e = e >>> 0, t || J(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
|
|
671
|
-
}, l.prototype.readBigInt64LE =
|
|
672
|
-
e = e >>> 0,
|
|
671
|
+
}, l.prototype.readBigInt64LE = Me(function(e) {
|
|
672
|
+
e = e >>> 0, Oe(e, "offset");
|
|
673
673
|
const t = this[e], s = this[e + 7];
|
|
674
674
|
(t === void 0 || s === void 0) && S(e, this.length - 8);
|
|
675
675
|
const p = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (s << 24);
|
|
676
676
|
return (BigInt(p) << BigInt(32)) + BigInt(t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
|
|
677
|
-
}), l.prototype.readBigInt64BE =
|
|
678
|
-
e = e >>> 0,
|
|
677
|
+
}), l.prototype.readBigInt64BE = Me(function(e) {
|
|
678
|
+
e = e >>> 0, Oe(e, "offset");
|
|
679
679
|
const t = this[e], s = this[e + 7];
|
|
680
680
|
(t === void 0 || s === void 0) && S(e, this.length - 8);
|
|
681
681
|
const p = (t << 24) + // Overflow
|
|
@@ -725,22 +725,22 @@ function Sr() {
|
|
|
725
725
|
return e = +e, t = t >>> 0, s || $(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
|
|
726
726
|
};
|
|
727
727
|
function X(a, e, t, s, p) {
|
|
728
|
-
|
|
728
|
+
Ne(e, s, p, a, t, 7);
|
|
729
729
|
let g = Number(e & BigInt(4294967295));
|
|
730
730
|
a[t++] = g, g = g >> 8, a[t++] = g, g = g >> 8, a[t++] = g, g = g >> 8, a[t++] = g;
|
|
731
731
|
let y = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
732
732
|
return a[t++] = y, y = y >> 8, a[t++] = y, y = y >> 8, a[t++] = y, y = y >> 8, a[t++] = y, t;
|
|
733
733
|
}
|
|
734
734
|
function ne(a, e, t, s, p) {
|
|
735
|
-
|
|
735
|
+
Ne(e, s, p, a, t, 7);
|
|
736
736
|
let g = Number(e & BigInt(4294967295));
|
|
737
737
|
a[t + 7] = g, g = g >> 8, a[t + 6] = g, g = g >> 8, a[t + 5] = g, g = g >> 8, a[t + 4] = g;
|
|
738
738
|
let y = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
739
739
|
return a[t + 3] = y, y = y >> 8, a[t + 2] = y, y = y >> 8, a[t + 1] = y, y = y >> 8, a[t] = y, t + 8;
|
|
740
740
|
}
|
|
741
|
-
l.prototype.writeBigUInt64LE =
|
|
741
|
+
l.prototype.writeBigUInt64LE = Me(function(e, t = 0) {
|
|
742
742
|
return X(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
743
|
-
}), l.prototype.writeBigUInt64BE =
|
|
743
|
+
}), l.prototype.writeBigUInt64BE = Me(function(e, t = 0) {
|
|
744
744
|
return ne(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
745
745
|
}), l.prototype.writeIntLE = function(e, t, s, p) {
|
|
746
746
|
if (e = +e, t = t >>> 0, !p) {
|
|
@@ -770,22 +770,22 @@ function Sr() {
|
|
|
770
770
|
return e = +e, t = t >>> 0, s || $(this, e, t, 4, 2147483647, -2147483648), this[t] = e & 255, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24, t + 4;
|
|
771
771
|
}, l.prototype.writeInt32BE = function(e, t, s) {
|
|
772
772
|
return e = +e, t = t >>> 0, s || $(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
|
|
773
|
-
}, l.prototype.writeBigInt64LE =
|
|
773
|
+
}, l.prototype.writeBigInt64LE = Me(function(e, t = 0) {
|
|
774
774
|
return X(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
775
|
-
}), l.prototype.writeBigInt64BE =
|
|
775
|
+
}), l.prototype.writeBigInt64BE = Me(function(e, t = 0) {
|
|
776
776
|
return ne(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
777
777
|
});
|
|
778
778
|
function me(a, e, t, s, p, g) {
|
|
779
779
|
if (t + s > a.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 Ie(a, e, t, s, p) {
|
|
783
783
|
return e = +e, t = t >>> 0, p || me(a, e, t, 4), n.write(a, e, t, s, 23, 4), t + 4;
|
|
784
784
|
}
|
|
785
785
|
l.prototype.writeFloatLE = function(e, t, s) {
|
|
786
|
-
return
|
|
786
|
+
return Ie(this, e, t, !0, s);
|
|
787
787
|
}, l.prototype.writeFloatBE = function(e, t, s) {
|
|
788
|
-
return
|
|
788
|
+
return Ie(this, e, t, !1, s);
|
|
789
789
|
};
|
|
790
790
|
function Q(a, e, t, s, p) {
|
|
791
791
|
return e = +e, t = t >>> 0, p || me(a, e, t, 8), n.write(a, e, t, s, 52, 8), t + 8;
|
|
@@ -838,7 +838,7 @@ function Sr() {
|
|
|
838
838
|
return this;
|
|
839
839
|
};
|
|
840
840
|
const we = {};
|
|
841
|
-
function
|
|
841
|
+
function xe(a, e, t) {
|
|
842
842
|
we[a] = class extends t {
|
|
843
843
|
constructor() {
|
|
844
844
|
super(), Object.defineProperty(this, "message", {
|
|
@@ -863,58 +863,58 @@ function Sr() {
|
|
|
863
863
|
}
|
|
864
864
|
};
|
|
865
865
|
}
|
|
866
|
-
|
|
866
|
+
xe(
|
|
867
867
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
868
868
|
function(a) {
|
|
869
869
|
return a ? `${a} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
870
870
|
},
|
|
871
871
|
RangeError
|
|
872
|
-
),
|
|
872
|
+
), xe(
|
|
873
873
|
"ERR_INVALID_ARG_TYPE",
|
|
874
874
|
function(a, e) {
|
|
875
875
|
return `The "${a}" argument must be of type number. Received type ${typeof e}`;
|
|
876
876
|
},
|
|
877
877
|
TypeError
|
|
878
|
-
),
|
|
878
|
+
), xe(
|
|
879
879
|
"ERR_OUT_OF_RANGE",
|
|
880
880
|
function(a, e, t) {
|
|
881
881
|
let s = `The value of "${a}" is out of range.`, p = t;
|
|
882
|
-
return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? p =
|
|
882
|
+
return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? p = Re(String(t)) : typeof t == "bigint" && (p = String(t), (t > BigInt(2) ** BigInt(32) || t < -(BigInt(2) ** BigInt(32))) && (p = Re(p)), p += "n"), s += ` It must be ${e}. Received ${p}`, s;
|
|
883
883
|
},
|
|
884
884
|
RangeError
|
|
885
885
|
);
|
|
886
|
-
function
|
|
886
|
+
function Re(a) {
|
|
887
887
|
let e = "", t = a.length;
|
|
888
888
|
const s = a[0] === "-" ? 1 : 0;
|
|
889
889
|
for (; t >= s + 4; t -= 3)
|
|
890
890
|
e = `_${a.slice(t - 3, t)}${e}`;
|
|
891
891
|
return `${a.slice(0, t)}${e}`;
|
|
892
892
|
}
|
|
893
|
-
function
|
|
894
|
-
|
|
893
|
+
function He(a, e, t) {
|
|
894
|
+
Oe(e, "offset"), (a[e] === void 0 || a[e + t] === void 0) && S(e, a.length - (t + 1));
|
|
895
895
|
}
|
|
896
|
-
function
|
|
896
|
+
function Ne(a, e, t, s, p, g) {
|
|
897
897
|
if (a > t || a < e) {
|
|
898
898
|
const y = typeof e == "bigint" ? "n" : "";
|
|
899
899
|
let P;
|
|
900
900
|
throw e === 0 || e === BigInt(0) ? P = `>= 0${y} and < 2${y} ** ${(g + 1) * 8}${y}` : P = `>= -(2${y} ** ${(g + 1) * 8 - 1}${y}) and < 2 ** ${(g + 1) * 8 - 1}${y}`, new we.ERR_OUT_OF_RANGE("value", P, a);
|
|
901
901
|
}
|
|
902
|
-
|
|
902
|
+
He(s, p, g);
|
|
903
903
|
}
|
|
904
|
-
function
|
|
904
|
+
function Oe(a, e) {
|
|
905
905
|
if (typeof a != "number")
|
|
906
906
|
throw new we.ERR_INVALID_ARG_TYPE(e, "number", a);
|
|
907
907
|
}
|
|
908
908
|
function S(a, e, t) {
|
|
909
|
-
throw Math.floor(a) !== a ? (
|
|
909
|
+
throw Math.floor(a) !== a ? (Oe(a, t), new we.ERR_OUT_OF_RANGE("offset", "an integer", a)) : e < 0 ? new we.ERR_BUFFER_OUT_OF_BOUNDS() : new we.ERR_OUT_OF_RANGE(
|
|
910
910
|
"offset",
|
|
911
911
|
`>= 0 and <= ${e}`,
|
|
912
912
|
a
|
|
913
913
|
);
|
|
914
914
|
}
|
|
915
|
-
const
|
|
916
|
-
function
|
|
917
|
-
if (a = a.split("=")[0], a = a.trim().replace(
|
|
915
|
+
const R = /[^+/0-9A-Za-z-_]/g;
|
|
916
|
+
function D(a) {
|
|
917
|
+
if (a = a.split("=")[0], a = a.trim().replace(R, ""), a.length < 2) return "";
|
|
918
918
|
for (; a.length % 4 !== 0; )
|
|
919
919
|
a = a + "=";
|
|
920
920
|
return a;
|
|
@@ -973,7 +973,7 @@ function Sr() {
|
|
|
973
973
|
}
|
|
974
974
|
return g;
|
|
975
975
|
}
|
|
976
|
-
function
|
|
976
|
+
function ve(a) {
|
|
977
977
|
const e = [];
|
|
978
978
|
for (let t = 0; t < a.length; ++t)
|
|
979
979
|
e.push(a.charCodeAt(t) & 255);
|
|
@@ -987,9 +987,9 @@ function Sr() {
|
|
|
987
987
|
return g;
|
|
988
988
|
}
|
|
989
989
|
function Je(a) {
|
|
990
|
-
return r.toByteArray(
|
|
990
|
+
return r.toByteArray(D(a));
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function De(a, e, t, s) {
|
|
993
993
|
let p;
|
|
994
994
|
for (p = 0; p < s && !(p + t >= e.length || p >= a.length); ++p)
|
|
995
995
|
e[p + t] = a[p];
|
|
@@ -998,10 +998,10 @@ function Sr() {
|
|
|
998
998
|
function oe(a, e) {
|
|
999
999
|
return a instanceof e || a != null && a.constructor != null && a.constructor.name != null && a.constructor.name === e.name;
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1001
|
+
function dt(a) {
|
|
1002
1002
|
return a !== a;
|
|
1003
1003
|
}
|
|
1004
|
-
const
|
|
1004
|
+
const ur = (function() {
|
|
1005
1005
|
const a = "0123456789abcdef", e = new Array(256);
|
|
1006
1006
|
for (let t = 0; t < 16; ++t) {
|
|
1007
1007
|
const s = t * 16;
|
|
@@ -1010,20 +1010,20 @@ function Sr() {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
return e;
|
|
1012
1012
|
})();
|
|
1013
|
-
function
|
|
1014
|
-
return typeof BigInt > "u" ?
|
|
1013
|
+
function Me(a) {
|
|
1014
|
+
return typeof BigInt > "u" ? hr : a;
|
|
1015
1015
|
}
|
|
1016
|
-
function
|
|
1016
|
+
function hr() {
|
|
1017
1017
|
throw new Error("BigInt not supported");
|
|
1018
1018
|
}
|
|
1019
|
-
})(
|
|
1019
|
+
})(ht)), ht;
|
|
1020
1020
|
}
|
|
1021
|
-
var
|
|
1022
|
-
const
|
|
1021
|
+
var Cr = kr();
|
|
1022
|
+
const Ir = "https://api.anam.ai", Rr = "/v1", zt = {
|
|
1023
1023
|
client: "js-sdk",
|
|
1024
1024
|
version: "4.7.0"
|
|
1025
1025
|
};
|
|
1026
|
-
var
|
|
1026
|
+
var Nr = function(i, r, n, o) {
|
|
1027
1027
|
function d(h) {
|
|
1028
1028
|
return h instanceof n ? h : new n(function(c) {
|
|
1029
1029
|
c(h);
|
|
@@ -1050,36 +1050,36 @@ var Rr = function(i, r, n, o) {
|
|
|
1050
1050
|
v((o = o.apply(i, r || [])).next());
|
|
1051
1051
|
});
|
|
1052
1052
|
};
|
|
1053
|
-
const
|
|
1054
|
-
var
|
|
1053
|
+
const Ht = "https://api.anam.ai", kt = "/v1";
|
|
1054
|
+
var Te;
|
|
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
|
-
})(
|
|
1058
|
-
let
|
|
1059
|
-
const
|
|
1060
|
-
|
|
1061
|
-
}, _r = (i) => {
|
|
1062
|
-
Ue = i;
|
|
1057
|
+
})(Te || (Te = {}));
|
|
1058
|
+
let bt = Ht, Wt = kt, Pe, Kt = !1;
|
|
1059
|
+
const _r = (i, r = kt) => {
|
|
1060
|
+
bt = i, Wt = r;
|
|
1063
1061
|
}, Tr = (i) => {
|
|
1064
|
-
|
|
1062
|
+
Pe = i;
|
|
1063
|
+
}, Or = (i) => {
|
|
1064
|
+
Kt = i;
|
|
1065
1065
|
};
|
|
1066
|
-
let
|
|
1066
|
+
let Le = {
|
|
1067
1067
|
sessionId: null,
|
|
1068
1068
|
organizationId: null,
|
|
1069
1069
|
attemptCorrelationId: null
|
|
1070
1070
|
};
|
|
1071
1071
|
const Qe = (i) => {
|
|
1072
|
-
|
|
1073
|
-
}, Ke = (i, r, n) =>
|
|
1074
|
-
if (!
|
|
1072
|
+
Le = Object.assign(Object.assign({}, Le), i);
|
|
1073
|
+
}, Ke = (i, r, n) => Nr(void 0, void 0, void 0, function* () {
|
|
1074
|
+
if (!Kt)
|
|
1075
1075
|
try {
|
|
1076
|
-
const o = Object.assign(Object.assign({},
|
|
1077
|
-
|
|
1078
|
-
const d = `${
|
|
1076
|
+
const o = Object.assign(Object.assign({}, zt), n);
|
|
1077
|
+
Le.sessionId && (o.sessionId = Le.sessionId), Le.organizationId && (o.organizationId = Le.organizationId), Le.attemptCorrelationId && (o.attemptCorrelationId = Le.attemptCorrelationId);
|
|
1078
|
+
const d = `${Wt}/metrics/client`;
|
|
1079
1079
|
let h, c = {
|
|
1080
1080
|
"Content-Type": "application/json"
|
|
1081
1081
|
};
|
|
1082
|
-
|
|
1082
|
+
Pe?.enabled && Pe?.baseUrl ? (h = `${Pe.baseUrl}${d}`, c["X-Anam-Target-Url"] = `${bt}${d}`) : h = `${bt}${d}`, yield fetch(h, {
|
|
1083
1083
|
method: "POST",
|
|
1084
1084
|
headers: c,
|
|
1085
1085
|
body: JSON.stringify({
|
|
@@ -1091,7 +1091,7 @@ const Qe = (i) => {
|
|
|
1091
1091
|
} catch (o) {
|
|
1092
1092
|
console.error("Failed to send error metric:", o);
|
|
1093
1093
|
}
|
|
1094
|
-
}),
|
|
1094
|
+
}), Dr = (i, r = "console") => {
|
|
1095
1095
|
var n, o, d;
|
|
1096
1096
|
const h = {};
|
|
1097
1097
|
i.forEach((u) => {
|
|
@@ -1101,23 +1101,23 @@ const Qe = (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
|
|
1105
|
-
const
|
|
1106
|
-
framesReceived: (
|
|
1104
|
+
var O, w, x, E, T;
|
|
1105
|
+
const N = {
|
|
1106
|
+
framesReceived: (O = u.framesReceived) !== null && O !== void 0 ? O : "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
1109
|
packetsReceived: (E = u.packetsReceived) !== null && E !== void 0 ? E : "unknown",
|
|
1110
|
-
packetsLost: (
|
|
1110
|
+
packetsLost: (T = u.packetsLost) !== null && T !== void 0 ? T : "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
|
};
|
|
1114
|
-
c.personaVideoStream.push(
|
|
1114
|
+
c.personaVideoStream.push(N);
|
|
1115
1115
|
}));
|
|
1116
1116
|
const m = ((o = h["inbound-rtp"]) === null || o === void 0 ? void 0 : o.filter((u) => u.kind === "audio")) || [];
|
|
1117
1117
|
m.length > 0 && (c.personaAudioStream = [], m.forEach((u) => {
|
|
1118
|
-
var
|
|
1118
|
+
var O, w, x;
|
|
1119
1119
|
const E = {
|
|
1120
|
-
packetsReceived: (
|
|
1120
|
+
packetsReceived: (O = u.packetsReceived) !== null && O !== void 0 ? O : "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,
|
|
@@ -1127,30 +1127,30 @@ const Qe = (i) => {
|
|
|
1127
1127
|
}));
|
|
1128
1128
|
const v = ((d = h["outbound-rtp"]) === null || d === void 0 ? void 0 : d.filter((u) => u.kind === "audio")) || [];
|
|
1129
1129
|
v.length > 0 && (c.userAudioInput = [], v.forEach((u) => {
|
|
1130
|
-
var
|
|
1130
|
+
var O, w;
|
|
1131
1131
|
const x = {
|
|
1132
|
-
packetsSent: (
|
|
1132
|
+
packetsSent: (O = u.packetsSent) !== null && O !== void 0 ? O : "unknown",
|
|
1133
1133
|
retransmittedPackets: (w = u.retransmittedPacketsSent) !== null && w !== void 0 ? w : void 0,
|
|
1134
1134
|
avgPacketSendDelay: u.totalPacketSendDelay !== void 0 ? u.totalPacketSendDelay / (u.packetsSent || 1) * 1e3 : void 0
|
|
1135
1135
|
};
|
|
1136
1136
|
c.userAudioInput.push(x);
|
|
1137
1137
|
})), h.codec && (c.codecs = [], h.codec.forEach((u) => {
|
|
1138
|
-
const
|
|
1138
|
+
const O = {
|
|
1139
1139
|
status: u.payloadType ? "Active" : "Available",
|
|
1140
1140
|
mimeType: u.mimeType || "Unknown",
|
|
1141
1141
|
payloadType: u.payloadType || "N/A",
|
|
1142
1142
|
clockRate: u.clockRate || void 0,
|
|
1143
1143
|
channels: u.channels || void 0
|
|
1144
1144
|
};
|
|
1145
|
-
c.codecs.push(
|
|
1145
|
+
c.codecs.push(O);
|
|
1146
1146
|
})), h.transport && (c.transportLayer = [], h.transport.forEach((u) => {
|
|
1147
|
-
const
|
|
1147
|
+
const O = {
|
|
1148
1148
|
dtlsState: u.dtlsState || "unknown",
|
|
1149
1149
|
iceState: u.iceState || "unknown",
|
|
1150
1150
|
bytesSent: u.bytesSent || void 0,
|
|
1151
1151
|
bytesReceived: u.bytesReceived || void 0
|
|
1152
1152
|
};
|
|
1153
|
-
c.transportLayer.push(
|
|
1153
|
+
c.transportLayer.push(O);
|
|
1154
1154
|
}));
|
|
1155
1155
|
const f = [];
|
|
1156
1156
|
if (l.forEach((u) => {
|
|
@@ -1177,16 +1177,16 @@ var ae;
|
|
|
1177
1177
|
})(ae || (ae = {}));
|
|
1178
1178
|
class te extends Error {
|
|
1179
1179
|
constructor(r, n, o = 500, d) {
|
|
1180
|
-
super(r), this.name = "ClientError", this.code = n, this.statusCode = o, this.details = d, Object.setPrototypeOf(this, te.prototype), Ke(
|
|
1180
|
+
super(r), this.name = "ClientError", this.code = n, this.statusCode = o, this.details = d, Object.setPrototypeOf(this, te.prototype), Ke(Te.CLIENT_METRIC_MEASUREMENT_ERROR, n, {
|
|
1181
1181
|
details: d,
|
|
1182
1182
|
statusCode: o
|
|
1183
1183
|
});
|
|
1184
1184
|
}
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1186
|
+
function Bt() {
|
|
1187
1187
|
return typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : Date.now().toString(36) + Math.random().toString(36).substr(2, 9);
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1189
|
+
function Mr(i) {
|
|
1190
1190
|
if (!(!i || !i.enabled)) {
|
|
1191
1191
|
if (!i.baseUrl)
|
|
1192
1192
|
return "API Gateway baseUrl is required when enabled";
|
|
@@ -1209,10 +1209,10 @@ var at;
|
|
|
1209
1209
|
(function(i) {
|
|
1210
1210
|
i.SPEECH_TEXT = "speechText", i.CLIENT_TOOL_EVENT = "clientToolEvent";
|
|
1211
1211
|
})(at || (at = {}));
|
|
1212
|
-
var
|
|
1212
|
+
var Fe;
|
|
1213
1213
|
(function(i) {
|
|
1214
1214
|
i.PENDING = "pending", i.GRANTED = "granted", i.DENIED = "denied", i.NOT_REQUESTED = "not_requested";
|
|
1215
|
-
})(
|
|
1215
|
+
})(Fe || (Fe = {}));
|
|
1216
1216
|
var st;
|
|
1217
1217
|
(function(i) {
|
|
1218
1218
|
i.USER = "user", i.PERSONA = "persona";
|
|
@@ -1221,15 +1221,15 @@ var F;
|
|
|
1221
1221
|
(function(i) {
|
|
1222
1222
|
i.MESSAGE_HISTORY_UPDATED = "MESSAGE_HISTORY_UPDATED", i.MESSAGE_STREAM_EVENT_RECEIVED = "MESSAGE_STREAM_EVENT_RECEIVED", i.CONNECTION_ESTABLISHED = "CONNECTION_ESTABLISHED", i.CONNECTION_CLOSED = "CONNECTION_CLOSED", i.INPUT_AUDIO_STREAM_STARTED = "INPUT_AUDIO_STREAM_STARTED", i.VIDEO_STREAM_STARTED = "VIDEO_STREAM_STARTED", i.VIDEO_PLAY_STARTED = "VIDEO_PLAY_STARTED", i.AUDIO_STREAM_STARTED = "AUDIO_STREAM_STARTED", i.TALK_STREAM_INTERRUPTED = "TALK_STREAM_INTERRUPTED", i.SESSION_READY = "SESSION_READY", i.SERVER_WARNING = "SERVER_WARNING", i.MIC_PERMISSION_PENDING = "MIC_PERMISSION_PENDING", i.MIC_PERMISSION_GRANTED = "MIC_PERMISSION_GRANTED", i.MIC_PERMISSION_DENIED = "MIC_PERMISSION_DENIED", i.INPUT_AUDIO_DEVICE_CHANGED = "INPUT_AUDIO_DEVICE_CHANGED", i.CLIENT_TOOL_EVENT_RECEIVED = "CLIENT_TOOL_EVENT_RECEIVED";
|
|
1223
1223
|
})(F || (F = {}));
|
|
1224
|
-
var
|
|
1224
|
+
var ye;
|
|
1225
1225
|
(function(i) {
|
|
1226
1226
|
i.WEB_SOCKET_OPEN = "WEB_SOCKET_OPEN", i.SIGNAL_MESSAGE_RECEIVED = "SIGNAL_MESSAGE_RECEIVED", i.WEBRTC_CHAT_MESSAGE_RECEIVED = "WEBRTC_CHAT_MESSAGE_RECEIVED", i.WEBRTC_CLIENT_TOOL_EVENT_RECEIVED = "WEBRTC_CLIENT_TOOL_EVENT_RECEIVED";
|
|
1227
|
-
})(
|
|
1228
|
-
var
|
|
1227
|
+
})(ye || (ye = {}));
|
|
1228
|
+
var Ve;
|
|
1229
1229
|
(function(i) {
|
|
1230
1230
|
i.NORMAL = "CONNECTION_CLOSED_CODE_NORMAL", i.MICROPHONE_PERMISSION_DENIED = "CONNECTION_CLOSED_CODE_MICROPHONE_PERMISSION_DENIED", i.SIGNALLING_CLIENT_CONNECTION_FAILURE = "CONNECTION_CLOSED_CODE_SIGNALLING_CLIENT_CONNECTION_FAILURE", i.WEBRTC_FAILURE = "CONNECTION_CLOSED_CODE_WEBRTC_FAILURE", i.SERVER_CLOSED_CONNECTION = "CONNECTION_CLOSED_CODE_SERVER_CLOSED_CONNECTION";
|
|
1231
|
-
})(
|
|
1232
|
-
class
|
|
1231
|
+
})(Ve || (Ve = {}));
|
|
1232
|
+
class Br {
|
|
1233
1233
|
constructor(r, n) {
|
|
1234
1234
|
this.sequenceNumber = 0, this.config = r, this.signallingClient = n;
|
|
1235
1235
|
}
|
|
@@ -1298,21 +1298,21 @@ var qe = function(i, r, n, o) {
|
|
|
1298
1298
|
v((o = o.apply(i, r || [])).next());
|
|
1299
1299
|
});
|
|
1300
1300
|
};
|
|
1301
|
-
const
|
|
1302
|
-
class
|
|
1301
|
+
const Ur = 5, Pr = 5;
|
|
1302
|
+
class Lr {
|
|
1303
1303
|
constructor(r, n, o, d, h) {
|
|
1304
1304
|
var c, l, m, v, f;
|
|
1305
1305
|
if (this.stopSignal = !1, this.sendingBuffer = [], this.wsConnectionAttempts = 0, this.socket = null, this.heartBeatIntervalRef = null, this.publicEventEmitter = o, this.internalEventEmitter = d, this.apiGatewayConfig = h, !r)
|
|
1306
1306
|
throw new Error("Signalling Client: sessionId is required");
|
|
1307
1307
|
this.sessionId = r;
|
|
1308
|
-
const { heartbeatIntervalSeconds: u, maxWsReconnectionAttempts:
|
|
1309
|
-
if (this.heartbeatIntervalSeconds = u ||
|
|
1308
|
+
const { heartbeatIntervalSeconds: u, maxWsReconnectionAttempts: O, url: w } = n;
|
|
1309
|
+
if (this.heartbeatIntervalSeconds = u || Ur, this.maxWsReconnectionAttempts = O || Pr, !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
1312
|
const x = new URL(this.apiGatewayConfig.baseUrl), E = (m = this.apiGatewayConfig.wsPath) !== null && m !== void 0 ? m : "/ws";
|
|
1313
1313
|
x.protocol = x.protocol.replace("http", "ws"), x.pathname = E, this.url = x;
|
|
1314
|
-
const
|
|
1315
|
-
W.protocol =
|
|
1314
|
+
const T = w.protocol || "https", N = T === "http" ? "ws" : "wss", V = `${T}://${w.baseUrl}`, j = (v = w.signallingPath) !== null && v !== void 0 ? v : "/ws", W = new URL(V);
|
|
1315
|
+
W.protocol = N === "ws" ? "ws:" : "wss:", w.port && (W.port = w.port), W.pathname = j, W.searchParams.append("session_id", r), this.url.searchParams.append("target_url", W.href);
|
|
1316
1316
|
} else {
|
|
1317
1317
|
const E = `${w.protocol || "https"}://${w.baseUrl}`;
|
|
1318
1318
|
this.url = new URL(E), 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);
|
|
@@ -1393,9 +1393,9 @@ class Pr {
|
|
|
1393
1393
|
if (!this.socket)
|
|
1394
1394
|
throw new Error("SignallingClient - onOpen: socket is null");
|
|
1395
1395
|
try {
|
|
1396
|
-
this.wsConnectionAttempts = 0, this.flushSendingBuffer(), this.socket.onmessage = this.onMessage.bind(this), this.startSendingHeartBeats(), this.internalEventEmitter.emit(
|
|
1396
|
+
this.wsConnectionAttempts = 0, this.flushSendingBuffer(), this.socket.onmessage = this.onMessage.bind(this), this.startSendingHeartBeats(), this.internalEventEmitter.emit(ye.WEB_SOCKET_OPEN);
|
|
1397
1397
|
} catch (r) {
|
|
1398
|
-
console.error("SignallingClient - onOpen: error in onOpen", r), this.publicEventEmitter.emit(F.CONNECTION_CLOSED,
|
|
1398
|
+
console.error("SignallingClient - onOpen: error in onOpen", r), this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Ve.SIGNALLING_CLIENT_CONNECTION_FAILURE);
|
|
1399
1399
|
}
|
|
1400
1400
|
});
|
|
1401
1401
|
}
|
|
@@ -1403,7 +1403,7 @@ class Pr {
|
|
|
1403
1403
|
return qe(this, void 0, void 0, function* () {
|
|
1404
1404
|
this.wsConnectionAttempts += 1, !this.stopSignal && (this.wsConnectionAttempts <= this.maxWsReconnectionAttempts ? (this.socket = null, setTimeout(() => {
|
|
1405
1405
|
this.connect();
|
|
1406
|
-
}, 100 * this.wsConnectionAttempts)) : (this.heartBeatIntervalRef && (clearInterval(this.heartBeatIntervalRef), this.heartBeatIntervalRef = null), this.publicEventEmitter.emit(F.CONNECTION_CLOSED,
|
|
1406
|
+
}, 100 * this.wsConnectionAttempts)) : (this.heartBeatIntervalRef && (clearInterval(this.heartBeatIntervalRef), this.heartBeatIntervalRef = null), this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Ve.SIGNALLING_CLIENT_CONNECTION_FAILURE)));
|
|
1407
1407
|
});
|
|
1408
1408
|
}
|
|
1409
1409
|
onError(r) {
|
|
@@ -1419,7 +1419,7 @@ class Pr {
|
|
|
1419
1419
|
onMessage(r) {
|
|
1420
1420
|
return qe(this, void 0, void 0, function* () {
|
|
1421
1421
|
const n = JSON.parse(r.data);
|
|
1422
|
-
this.internalEventEmitter.emit(
|
|
1422
|
+
this.internalEventEmitter.emit(ye.SIGNAL_MESSAGE_RECEIVED, n);
|
|
1423
1423
|
});
|
|
1424
1424
|
}
|
|
1425
1425
|
startSendingHeartBeats() {
|
|
@@ -1437,10 +1437,10 @@ class Pr {
|
|
|
1437
1437
|
}, r);
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
|
-
function
|
|
1440
|
+
function Fr(i) {
|
|
1441
1441
|
return "brainType" in i || "llmId" in i;
|
|
1442
1442
|
}
|
|
1443
|
-
var
|
|
1443
|
+
var Ut = function(i, r, n, o) {
|
|
1444
1444
|
function d(h) {
|
|
1445
1445
|
return h instanceof n ? h : new n(function(c) {
|
|
1446
1446
|
c(h);
|
|
@@ -1467,11 +1467,11 @@ var Bt = function(i, r, n, o) {
|
|
|
1467
1467
|
v((o = o.apply(i, r || [])).next());
|
|
1468
1468
|
});
|
|
1469
1469
|
};
|
|
1470
|
-
class
|
|
1470
|
+
class Vr {
|
|
1471
1471
|
constructor(r, n, o) {
|
|
1472
1472
|
if (!r && !n)
|
|
1473
1473
|
throw new Error("Either sessionToken or apiKey must be provided");
|
|
1474
|
-
this.sessionToken = r || null, this.apiKey = n || null, this.baseUrl = o?.baseUrl ||
|
|
1474
|
+
this.sessionToken = r || null, this.apiKey = n || null, this.baseUrl = o?.baseUrl || Ir, this.apiVersion = o?.apiVersion || Rr, this.apiGatewayConfig = o?.apiGateway || void 0;
|
|
1475
1475
|
}
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Builds URL and headers for a request, applying API Gateway configuration if enabled
|
|
@@ -1488,7 +1488,7 @@ class Fr {
|
|
|
1488
1488
|
};
|
|
1489
1489
|
}
|
|
1490
1490
|
startSession(r, n) {
|
|
1491
|
-
return
|
|
1491
|
+
return Ut(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", ae.CLIENT_ERROR_CODE_VALIDATION_ERROR, 400);
|
|
@@ -1505,7 +1505,7 @@ class Fr {
|
|
|
1505
1505
|
body: JSON.stringify({
|
|
1506
1506
|
personaConfig: r,
|
|
1507
1507
|
sessionOptions: n,
|
|
1508
|
-
clientMetadata:
|
|
1508
|
+
clientMetadata: zt
|
|
1509
1509
|
})
|
|
1510
1510
|
}), l = yield c.json(), m = l.error;
|
|
1511
1511
|
switch (c.status) {
|
|
@@ -1533,14 +1533,14 @@ class Fr {
|
|
|
1533
1533
|
});
|
|
1534
1534
|
}
|
|
1535
1535
|
unsafe_getSessionToken(r) {
|
|
1536
|
-
return
|
|
1536
|
+
return Ut(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
|
+
Fr(r) && (n = Object.assign(Object.assign({}, n), { personaConfig: r }));
|
|
1544
1544
|
try {
|
|
1545
1545
|
const o = `${this.apiVersion}/auth/session-token`, { url: d, headers: h } = this.buildGatewayUrlAndHeaders(o, {
|
|
1546
1546
|
"Content-Type": "application/json",
|
|
@@ -1560,7 +1560,7 @@ class Fr {
|
|
|
1560
1560
|
return `${this.baseUrl}${this.apiVersion}`;
|
|
1561
1561
|
}
|
|
1562
1562
|
}
|
|
1563
|
-
var
|
|
1563
|
+
var Gr = function(i, r, n, o) {
|
|
1564
1564
|
function d(h) {
|
|
1565
1565
|
return h instanceof n ? h : new n(function(c) {
|
|
1566
1566
|
c(h);
|
|
@@ -1587,12 +1587,12 @@ var Vr = function(i, r, n, o) {
|
|
|
1587
1587
|
v((o = o.apply(i, r || [])).next());
|
|
1588
1588
|
});
|
|
1589
1589
|
};
|
|
1590
|
-
class
|
|
1590
|
+
class jr {
|
|
1591
1591
|
constructor(r, n, o) {
|
|
1592
1592
|
this.baseUrl = r, this.sessionId = n, this.apiGatewayConfig = o;
|
|
1593
1593
|
}
|
|
1594
1594
|
sendTalkCommand(r) {
|
|
1595
|
-
return
|
|
1595
|
+
return Gr(this, void 0, void 0, function* () {
|
|
1596
1596
|
var n, o;
|
|
1597
1597
|
try {
|
|
1598
1598
|
let d, h = {
|
|
@@ -1620,7 +1620,7 @@ class Gr {
|
|
|
1620
1620
|
});
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
|
-
class
|
|
1623
|
+
class zr {
|
|
1624
1624
|
constructor() {
|
|
1625
1625
|
this.listeners = {};
|
|
1626
1626
|
}
|
|
@@ -1636,9 +1636,9 @@ class jr {
|
|
|
1636
1636
|
});
|
|
1637
1637
|
}
|
|
1638
1638
|
}
|
|
1639
|
-
class
|
|
1639
|
+
class Hr {
|
|
1640
1640
|
constructor(r, n) {
|
|
1641
|
-
this.messages = [], this.publicEventEmitter = r, this.internalEventEmitter = n, this.internalEventEmitter.addListener(
|
|
1641
|
+
this.messages = [], this.publicEventEmitter = r, this.internalEventEmitter = n, this.internalEventEmitter.addListener(ye.WEBRTC_CHAT_MESSAGE_RECEIVED, this.processWebRtcTextMessageEvent.bind(this));
|
|
1642
1642
|
}
|
|
1643
1643
|
webRtcTextMessageEventToMessageStreamEvent(r) {
|
|
1644
1644
|
return {
|
|
@@ -1684,7 +1684,7 @@ class zr {
|
|
|
1684
1684
|
n.endOfSpeech && this.publicEventEmitter.emit(F.MESSAGE_HISTORY_UPDATED, this.messages);
|
|
1685
1685
|
}
|
|
1686
1686
|
}
|
|
1687
|
-
class
|
|
1687
|
+
class Wr {
|
|
1688
1688
|
constructor() {
|
|
1689
1689
|
this.listeners = {};
|
|
1690
1690
|
}
|
|
@@ -1695,9 +1695,9 @@ class Hr {
|
|
|
1695
1695
|
this.listeners[r] && this.listeners[r].delete(n);
|
|
1696
1696
|
}
|
|
1697
1697
|
emit(r, ...n) {
|
|
1698
|
-
if (r === F.CONNECTION_ESTABLISHED && Ke(
|
|
1698
|
+
if (r === F.CONNECTION_ESTABLISHED && Ke(Te.CLIENT_METRIC_MEASUREMENT_CONNECTION_ESTABLISHED, "1"), r === F.CONNECTION_CLOSED) {
|
|
1699
1699
|
const [o, d] = n;
|
|
1700
|
-
Ke(
|
|
1700
|
+
Ke(Te.CLIENT_METRIC_MEASUREMENT_CONNECTION_CLOSED, o, d ? { details: d } : void 0);
|
|
1701
1701
|
}
|
|
1702
1702
|
this.listeners[r] && this.listeners[r].forEach((o) => {
|
|
1703
1703
|
o(...n);
|
|
@@ -1708,7 +1708,7 @@ var ue;
|
|
|
1708
1708
|
(function(i) {
|
|
1709
1709
|
i[i.UNSTARTED = 0] = "UNSTARTED", i[i.STREAMING = 1] = "STREAMING", i[i.INTERRUPTED = 2] = "INTERRUPTED", i[i.ENDED = 3] = "ENDED";
|
|
1710
1710
|
})(ue || (ue = {}));
|
|
1711
|
-
var
|
|
1711
|
+
var pt = function(i, r, n, o) {
|
|
1712
1712
|
function d(h) {
|
|
1713
1713
|
return h instanceof n ? h : new n(function(c) {
|
|
1714
1714
|
c(h);
|
|
@@ -1735,20 +1735,20 @@ var ht = function(i, r, n, o) {
|
|
|
1735
1735
|
v((o = o.apply(i, r || [])).next());
|
|
1736
1736
|
});
|
|
1737
1737
|
};
|
|
1738
|
-
class
|
|
1738
|
+
class Kr {
|
|
1739
1739
|
constructor(r, n, o) {
|
|
1740
|
-
this.state = ue.UNSTARTED, this.correlationId = r, this.internalEventEmitter = n, this.signallingClient = o, this.internalEventEmitter.addListener(
|
|
1740
|
+
this.state = ue.UNSTARTED, this.correlationId = r, this.internalEventEmitter = n, this.signallingClient = o, this.internalEventEmitter.addListener(ye.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this));
|
|
1741
1741
|
}
|
|
1742
1742
|
onDeactivate() {
|
|
1743
|
-
this.internalEventEmitter.removeListener(
|
|
1743
|
+
this.internalEventEmitter.removeListener(ye.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this));
|
|
1744
1744
|
}
|
|
1745
1745
|
onSignalMessage(r) {
|
|
1746
|
-
return
|
|
1746
|
+
return pt(this, void 0, void 0, function* () {
|
|
1747
1747
|
r.actionType === ce.TALK_STREAM_INTERRUPTED && r.payload.correlationId === this.correlationId && (this.state = ue.INTERRUPTED, this.onDeactivate());
|
|
1748
1748
|
});
|
|
1749
1749
|
}
|
|
1750
1750
|
endMessage() {
|
|
1751
|
-
return
|
|
1751
|
+
return pt(this, void 0, void 0, function* () {
|
|
1752
1752
|
if (this.state === ue.ENDED) {
|
|
1753
1753
|
console.warn("Talk stream is already ended via end of speech. No need to call endMessage.");
|
|
1754
1754
|
return;
|
|
@@ -1767,7 +1767,7 @@ class Wr {
|
|
|
1767
1767
|
});
|
|
1768
1768
|
}
|
|
1769
1769
|
streamMessageChunk(r, n) {
|
|
1770
|
-
return
|
|
1770
|
+
return pt(this, void 0, void 0, function* () {
|
|
1771
1771
|
if (this.state !== ue.STREAMING && this.state !== ue.UNSTARTED)
|
|
1772
1772
|
throw new Error("Talk stream is not in an active state: " + this.state);
|
|
1773
1773
|
const o = {
|
|
@@ -1816,16 +1816,16 @@ var pe = function(i, r, n, o) {
|
|
|
1816
1816
|
v((o = o.apply(i, r || [])).next());
|
|
1817
1817
|
});
|
|
1818
1818
|
};
|
|
1819
|
-
const
|
|
1820
|
-
class
|
|
1819
|
+
const Jr = 15e3, Qr = 5e3, qr = 2;
|
|
1820
|
+
class $r {
|
|
1821
1821
|
constructor(r, n, o, d) {
|
|
1822
1822
|
var h, c, l, m;
|
|
1823
1823
|
this.peerConnection = null, this.connectionReceivedAnswer = !1, this.remoteIceCandidateBuffer = [], this.inputAudioStream = null, this.dataChannel = null, this.videoElement = null, this.videoStream = null, this.audioStream = null, this.inputAudioState = {
|
|
1824
1824
|
isMuted: !1,
|
|
1825
|
-
permissionState:
|
|
1825
|
+
permissionState: Fe.NOT_REQUESTED
|
|
1826
1826
|
}, this.successMetricPoller = null, this.successMetricFired = !1, this.showPeerConnectionStatsReport = !1, this.peerConnectionStatsReportOutputFormat = "console", this.statsCollectionInterval = null, this.agentAudioInputStream = null, this.publicEventEmitter = o, this.internalEventEmitter = d, this.apiGatewayConfig = n.apiGateway;
|
|
1827
1827
|
const { inputAudio: v } = n;
|
|
1828
|
-
this.inputAudioState = v.inputAudioState, n.inputAudio.userProvidedMediaStream && (this.inputAudioStream = n.inputAudio.userProvidedMediaStream), this.disableInputAudio = n.inputAudio.disableInputAudio === !0, this.internalEventEmitter.addListener(
|
|
1828
|
+
this.inputAudioState = v.inputAudioState, n.inputAudio.userProvidedMediaStream && (this.inputAudioStream = n.inputAudio.userProvidedMediaStream), this.disableInputAudio = n.inputAudio.disableInputAudio === !0, this.internalEventEmitter.addListener(ye.WEB_SOCKET_OPEN, this.onSignallingClientConnected.bind(this)), this.internalEventEmitter.addListener(ye.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this)), this.iceServers = n.iceServers, this.signallingClient = new Lr(r, n.signalling, this.publicEventEmitter, this.internalEventEmitter, this.apiGatewayConfig), this.engineApiRestClient = new jr(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());
|
|
@@ -1851,7 +1851,7 @@ class qr {
|
|
|
1851
1851
|
} catch (r) {
|
|
1852
1852
|
console.error("Failed to collect and send stats:", r);
|
|
1853
1853
|
}
|
|
1854
|
-
}),
|
|
1854
|
+
}), Qr));
|
|
1855
1855
|
}
|
|
1856
1856
|
sendClientSideMetrics(r) {
|
|
1857
1857
|
r.forEach((n) => {
|
|
@@ -1869,7 +1869,7 @@ class qr {
|
|
|
1869
1869
|
return;
|
|
1870
1870
|
const r = setTimeout(() => {
|
|
1871
1871
|
this.successMetricPoller && (console.warn("No video frames received, there is a problem with the connection."), clearInterval(this.successMetricPoller), this.successMetricPoller = null);
|
|
1872
|
-
},
|
|
1872
|
+
}, Jr);
|
|
1873
1873
|
this.successMetricPoller = setInterval(() => pe(this, void 0, void 0, function* () {
|
|
1874
1874
|
if (!this.peerConnection || this.successMetricFired) {
|
|
1875
1875
|
this.successMetricPoller && clearInterval(this.successMetricPoller), clearTimeout(r);
|
|
@@ -1881,7 +1881,7 @@ class qr {
|
|
|
1881
1881
|
n.forEach((h) => {
|
|
1882
1882
|
h.type === "inbound-rtp" && h.kind === "video" && (h.framesDecoded !== void 0 && h.framesDecoded > 0 ? (o = !0, d = "framesDecoded") : h.framesReceived !== void 0 && h.framesReceived > 0 ? (o = !0, d = "framesReceived") : h.bytesReceived > 0 && h.packetsReceived > 0 && // Additional check: ensure we've received enough data for actual video
|
|
1883
1883
|
h.bytesReceived > 1e5 && (o = !0, d = "bytesReceived"));
|
|
1884
|
-
}), o && !this.successMetricFired && (this.successMetricFired = !0, Ke(
|
|
1884
|
+
}), o && !this.successMetricFired && (this.successMetricFired = !0, Ke(Te.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS, "1", d ? { detectionMethod: d } : void 0), this.successMetricPoller && clearInterval(this.successMetricPoller), clearTimeout(r), this.successMetricPoller = null);
|
|
1885
1885
|
} catch {
|
|
1886
1886
|
}
|
|
1887
1887
|
}), 500);
|
|
@@ -1969,10 +1969,10 @@ class qr {
|
|
|
1969
1969
|
});
|
|
1970
1970
|
}
|
|
1971
1971
|
startTalkMessageStream(r) {
|
|
1972
|
-
return r || (r = Math.random().toString(36).substring(2, 15)), new
|
|
1972
|
+
return r || (r = Math.random().toString(36).substring(2, 15)), new Kr(r, this.internalEventEmitter, this.signallingClient);
|
|
1973
1973
|
}
|
|
1974
1974
|
createAgentAudioInputStream(r) {
|
|
1975
|
-
return this.agentAudioInputStream = new
|
|
1975
|
+
return this.agentAudioInputStream = new Br(r, this.signallingClient), this.agentAudioInputStream;
|
|
1976
1976
|
}
|
|
1977
1977
|
getAgentAudioInputStream() {
|
|
1978
1978
|
return this.agentAudioInputStream;
|
|
@@ -1981,7 +1981,7 @@ class qr {
|
|
|
1981
1981
|
return pe(this, void 0, void 0, function* () {
|
|
1982
1982
|
this.peerConnection = new RTCPeerConnection({
|
|
1983
1983
|
iceServers: this.iceServers,
|
|
1984
|
-
iceCandidatePoolSize:
|
|
1984
|
+
iceCandidatePoolSize: qr
|
|
1985
1985
|
}), this.peerConnection.onicecandidate = this.onIceCandidate.bind(this), this.peerConnection.oniceconnectionstatechange = this.onIceConnectionStateChange.bind(this), this.peerConnection.onconnectionstatechange = this.onConnectionStateChange.bind(this), this.peerConnection.addEventListener("track", this.onTrackEventHandler.bind(this)), yield this.setupDataChannels(), this.peerConnection.addTransceiver("video", { direction: "recvonly" }), this.disableInputAudio ? this.peerConnection.addTransceiver("audio", { direction: "recvonly" }) : (this.peerConnection.addTransceiver("audio", { direction: "sendrecv" }), this.inputAudioStream ? yield this.setupAudioTrack() : this.requestMicrophonePermissionAsync().catch((r) => {
|
|
1986
1986
|
console.error("Async microphone permission request failed:", r);
|
|
1987
1987
|
}));
|
|
@@ -2004,7 +2004,7 @@ class qr {
|
|
|
2004
2004
|
break;
|
|
2005
2005
|
case ce.END_SESSION:
|
|
2006
2006
|
const h = r.payload;
|
|
2007
|
-
this.publicEventEmitter.emit(F.CONNECTION_CLOSED,
|
|
2007
|
+
this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Ve.SERVER_CLOSED_CONNECTION, h), this.shutdown();
|
|
2008
2008
|
break;
|
|
2009
2009
|
case ce.WARNING:
|
|
2010
2010
|
const c = r.payload;
|
|
@@ -2058,7 +2058,7 @@ class qr {
|
|
|
2058
2058
|
((r = this.peerConnection) === null || r === void 0 ? void 0 : r.connectionState) === "closed" && (console.error("StreamingClient - onConnectionStateChange: Connection closed"), this.handleWebrtcFailure("The connection to our servers was lost. Please try again."));
|
|
2059
2059
|
}
|
|
2060
2060
|
handleWebrtcFailure(r) {
|
|
2061
|
-
console.error({ message: "StreamingClient - handleWebrtcFailure: ", err: r }), r.name === "NotAllowedError" && r.message === "Permission denied" ? this.publicEventEmitter.emit(F.CONNECTION_CLOSED,
|
|
2061
|
+
console.error({ message: "StreamingClient - handleWebrtcFailure: ", err: r }), r.name === "NotAllowedError" && r.message === "Permission denied" ? this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Ve.MICROPHONE_PERMISSION_DENIED) : this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Ve.WEBRTC_FAILURE);
|
|
2062
2062
|
try {
|
|
2063
2063
|
this.stopConnection();
|
|
2064
2064
|
} catch (n) {
|
|
@@ -2071,7 +2071,7 @@ class qr {
|
|
|
2071
2071
|
this.videoElement.srcObject = this.videoStream;
|
|
2072
2072
|
const n = this.videoElement.requestVideoFrameCallback(() => {
|
|
2073
2073
|
var o;
|
|
2074
|
-
(o = this.videoElement) === null || o === void 0 || o.cancelVideoFrameCallback(n), this.publicEventEmitter.emit(F.VIDEO_PLAY_STARTED), this.successMetricFired || (this.successMetricFired = !0, Ke(
|
|
2074
|
+
(o = this.videoElement) === null || o === void 0 || o.cancelVideoFrameCallback(n), this.publicEventEmitter.emit(F.VIDEO_PLAY_STARTED), this.successMetricFired || (this.successMetricFired = !0, Ke(Te.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS, "1", { detectionMethod: "videoElement" }));
|
|
2075
2075
|
});
|
|
2076
2076
|
}
|
|
2077
2077
|
} else r.track.kind === "audio" && (this.audioStream = r.streams[0], this.publicEventEmitter.emit(F.AUDIO_STREAM_STARTED, this.audioStream));
|
|
@@ -2098,12 +2098,12 @@ class qr {
|
|
|
2098
2098
|
const o = JSON.parse(n.data);
|
|
2099
2099
|
switch (o.messageType) {
|
|
2100
2100
|
case at.SPEECH_TEXT:
|
|
2101
|
-
this.internalEventEmitter.emit(
|
|
2101
|
+
this.internalEventEmitter.emit(ye.WEBRTC_CHAT_MESSAGE_RECEIVED, o.data);
|
|
2102
2102
|
break;
|
|
2103
2103
|
case at.CLIENT_TOOL_EVENT:
|
|
2104
2104
|
const d = o.data;
|
|
2105
|
-
this.internalEventEmitter.emit(
|
|
2106
|
-
const h =
|
|
2105
|
+
this.internalEventEmitter.emit(ye.WEBRTC_CLIENT_TOOL_EVENT_RECEIVED, d);
|
|
2106
|
+
const h = Xr.WebRTCClientToolEventToClientToolEvent(d);
|
|
2107
2107
|
this.publicEventEmitter.emit(F.CLIENT_TOOL_EVENT_RECEIVED, h);
|
|
2108
2108
|
break;
|
|
2109
2109
|
// Unknown message types are silently ignored to maintain forward compatibility
|
|
@@ -2121,8 +2121,8 @@ class qr {
|
|
|
2121
2121
|
*/
|
|
2122
2122
|
requestMicrophonePermissionAsync() {
|
|
2123
2123
|
return pe(this, void 0, void 0, function* () {
|
|
2124
|
-
if (this.inputAudioState.permissionState !==
|
|
2125
|
-
this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState:
|
|
2124
|
+
if (this.inputAudioState.permissionState !== Fe.PENDING) {
|
|
2125
|
+
this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: Fe.PENDING }), this.publicEventEmitter.emit(F.MIC_PERMISSION_PENDING);
|
|
2126
2126
|
try {
|
|
2127
2127
|
const r = {
|
|
2128
2128
|
echoCancellation: !0
|
|
@@ -2131,9 +2131,9 @@ class qr {
|
|
|
2131
2131
|
exact: this.audioDeviceId
|
|
2132
2132
|
}), this.inputAudioStream = yield navigator.mediaDevices.getUserMedia({
|
|
2133
2133
|
audio: r
|
|
2134
|
-
}), this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState:
|
|
2134
|
+
}), this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: Fe.GRANTED }), this.publicEventEmitter.emit(F.MIC_PERMISSION_GRANTED), yield this.setupAudioTrack();
|
|
2135
2135
|
} catch (r) {
|
|
2136
|
-
console.error("Failed to get microphone permission:", r), this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState:
|
|
2136
|
+
console.error("Failed to get microphone permission:", r), this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: Fe.DENIED });
|
|
2137
2137
|
const n = r instanceof Error ? r.message : String(r);
|
|
2138
2138
|
this.publicEventEmitter.emit(F.MIC_PERMISSION_DENIED, n);
|
|
2139
2139
|
}
|
|
@@ -2190,7 +2190,7 @@ class qr {
|
|
|
2190
2190
|
if (this.showPeerConnectionStatsReport) {
|
|
2191
2191
|
const n = yield (r = this.peerConnection) === null || r === void 0 ? void 0 : r.getStats();
|
|
2192
2192
|
if (n) {
|
|
2193
|
-
const o =
|
|
2193
|
+
const o = Dr(n, this.peerConnectionStatsReportOutputFormat);
|
|
2194
2194
|
o && console.log(o, void 0, 2);
|
|
2195
2195
|
}
|
|
2196
2196
|
}
|
|
@@ -2215,7 +2215,7 @@ class qr {
|
|
|
2215
2215
|
});
|
|
2216
2216
|
}
|
|
2217
2217
|
}
|
|
2218
|
-
class
|
|
2218
|
+
class Xr {
|
|
2219
2219
|
/**
|
|
2220
2220
|
* Converts a WebRtcClientToolEvent to a ClientToolEvent
|
|
2221
2221
|
*/
|
|
@@ -2231,7 +2231,7 @@ class $r {
|
|
|
2231
2231
|
};
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
2234
|
-
var
|
|
2234
|
+
var Be = function(i, r, n, o) {
|
|
2235
2235
|
function d(h) {
|
|
2236
2236
|
return h instanceof n ? h : new n(function(c) {
|
|
2237
2237
|
c(h);
|
|
@@ -2263,16 +2263,16 @@ class fn {
|
|
|
2263
2263
|
var d, h, c, l, m;
|
|
2264
2264
|
this.inputAudioState = {
|
|
2265
2265
|
isMuted: !1,
|
|
2266
|
-
permissionState:
|
|
2266
|
+
permissionState: Fe.NOT_REQUESTED
|
|
2267
2267
|
}, this.sessionId = null, this.organizationId = null, this.streamingClient = null, this._isStreaming = !1;
|
|
2268
2268
|
const v = this.validateClientConfig(r, n, o);
|
|
2269
2269
|
if (v)
|
|
2270
2270
|
throw new te(v, ae.CLIENT_ERROR_CODE_CONFIGURATION_ERROR, 400);
|
|
2271
|
-
this.personaConfig = n, this.clientOptions = o, (!((d = o?.api) === null || d === void 0) && d.baseUrl || !((h = o?.api) === null || h === void 0) && h.apiVersion) &&
|
|
2271
|
+
this.personaConfig = n, this.clientOptions = o, (!((d = o?.api) === null || d === void 0) && d.baseUrl || !((h = o?.api) === null || h === void 0) && h.apiVersion) && _r(o.api.baseUrl || Ht, o.api.apiVersion || kt), !((l = (c = o?.api) === null || c === void 0 ? void 0 : c.apiGateway) === null || l === void 0) && l.enabled && Tr(o.api.apiGateway), !((m = o?.metrics) === null || m === void 0) && m.disableClientMetrics && Or(!0), this.publicEventEmitter = new Wr(), this.internalEventEmitter = new zr(), this.apiClient = new Vr(r, o?.apiKey, o?.api), this.messageHistoryClient = new Hr(this.publicEventEmitter, this.internalEventEmitter);
|
|
2272
2272
|
}
|
|
2273
2273
|
decodeJwt(r) {
|
|
2274
2274
|
try {
|
|
2275
|
-
const n = r.split(".")[1], o =
|
|
2275
|
+
const n = r.split(".")[1], o = Cr.Buffer.from(n, "base64").toString("utf8");
|
|
2276
2276
|
return JSON.parse(o);
|
|
2277
2277
|
} catch {
|
|
2278
2278
|
throw new Error("Invalid session token format");
|
|
@@ -2284,7 +2284,7 @@ class fn {
|
|
|
2284
2284
|
return "Either sessionToken or apiKey must be provided";
|
|
2285
2285
|
if (o?.apiKey && r)
|
|
2286
2286
|
return "Only one of sessionToken or apiKey should be used";
|
|
2287
|
-
const c =
|
|
2287
|
+
const c = Mr((d = o?.api) === null || d === void 0 ? void 0 : d.apiGateway);
|
|
2288
2288
|
if (c)
|
|
2289
2289
|
return c;
|
|
2290
2290
|
if (r) {
|
|
@@ -2317,15 +2317,15 @@ class fn {
|
|
|
2317
2317
|
return n;
|
|
2318
2318
|
}
|
|
2319
2319
|
startSession(r) {
|
|
2320
|
-
return
|
|
2321
|
-
var n, o, d, h, c, l, m, v, f, u,
|
|
2322
|
-
const x = this.personaConfig, E = this.buildStartSessionOptionsForClient(),
|
|
2323
|
-
this.sessionId =
|
|
2320
|
+
return Be(this, void 0, void 0, function* () {
|
|
2321
|
+
var n, o, d, h, c, l, m, v, f, u, O, w;
|
|
2322
|
+
const x = this.personaConfig, E = this.buildStartSessionOptionsForClient(), T = yield this.apiClient.startSession(x, E), { sessionId: N, clientConfig: V, engineHost: j, engineProtocol: W, signallingEndpoint: L } = T, { heartbeatIntervalSeconds: K, maxWsReconnectionAttempts: se, iceServers: B } = V;
|
|
2323
|
+
this.sessionId = N, Qe({
|
|
2324
2324
|
sessionId: this.sessionId
|
|
2325
2325
|
});
|
|
2326
|
-
const G = !((n = this.clientOptions) === null || n === void 0) && n.iceServers ? this.clientOptions.iceServers :
|
|
2326
|
+
const G = !((n = this.clientOptions) === null || n === void 0) && n.iceServers ? this.clientOptions.iceServers : B;
|
|
2327
2327
|
try {
|
|
2328
|
-
this.streamingClient = new
|
|
2328
|
+
this.streamingClient = new $r(N, {
|
|
2329
2329
|
engine: {
|
|
2330
2330
|
baseUrl: `${W}://${j}`
|
|
2331
2331
|
},
|
|
@@ -2348,7 +2348,7 @@ class fn {
|
|
|
2348
2348
|
apiGateway: (l = (c = this.clientOptions) === null || c === void 0 ? void 0 : c.api) === null || l === void 0 ? void 0 : l.apiGateway,
|
|
2349
2349
|
metrics: {
|
|
2350
2350
|
showPeerConnectionStatsReport: (f = (v = (m = this.clientOptions) === null || m === void 0 ? void 0 : m.metrics) === null || v === void 0 ? void 0 : v.showPeerConnectionStatsReport) !== null && f !== void 0 ? f : !1,
|
|
2351
|
-
peerConnectionStatsReportOutputFormat: (w = (
|
|
2351
|
+
peerConnectionStatsReportOutputFormat: (w = (O = (u = this.clientOptions) === null || u === void 0 ? void 0 : u.metrics) === null || O === void 0 ? void 0 : O.peerConnectionStatsReportOutputFormat) !== null && w !== void 0 ? w : "console"
|
|
2352
2352
|
}
|
|
2353
2353
|
}, this.publicEventEmitter, this.internalEventEmitter);
|
|
2354
2354
|
} catch (z) {
|
|
@@ -2356,14 +2356,14 @@ class fn {
|
|
|
2356
2356
|
sessionId: null
|
|
2357
2357
|
}), new te("Failed to initialize streaming client", ae.CLIENT_ERROR_CODE_SERVER_ERROR, 500, {
|
|
2358
2358
|
cause: z instanceof Error ? z.message : String(z),
|
|
2359
|
-
sessionId:
|
|
2359
|
+
sessionId: N
|
|
2360
2360
|
});
|
|
2361
2361
|
}
|
|
2362
|
-
return
|
|
2362
|
+
return N;
|
|
2363
2363
|
});
|
|
2364
2364
|
}
|
|
2365
2365
|
startSessionIfNeeded(r) {
|
|
2366
|
-
return
|
|
2366
|
+
return Be(this, void 0, void 0, function* () {
|
|
2367
2367
|
if ((!this.sessionId || !this.streamingClient) && (yield this.startSession(r), !this.sessionId || !this.streamingClient))
|
|
2368
2368
|
throw new te("Session ID or streaming client is not available after starting session", ae.CLIENT_ERROR_CODE_SERVER_ERROR, 500, {
|
|
2369
2369
|
cause: "Failed to initialize session properly"
|
|
@@ -2371,16 +2371,16 @@ class fn {
|
|
|
2371
2371
|
});
|
|
2372
2372
|
}
|
|
2373
2373
|
stream(r) {
|
|
2374
|
-
return
|
|
2374
|
+
return Be(this, void 0, void 0, function* () {
|
|
2375
2375
|
var n;
|
|
2376
2376
|
if (this._isStreaming)
|
|
2377
2377
|
throw new Error("Already streaming");
|
|
2378
|
-
const o =
|
|
2378
|
+
const o = Bt();
|
|
2379
2379
|
return Qe({
|
|
2380
2380
|
attemptCorrelationId: o,
|
|
2381
2381
|
sessionId: null
|
|
2382
2382
|
// reset sessionId
|
|
2383
|
-
}), Ke(
|
|
2383
|
+
}), Ke(Te.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT, "1"), !((n = this.clientOptions) === null || n === void 0) && n.disableInputAudio && r && console.warn("AnamClient:Input audio is disabled. User provided audio stream will be ignored."), yield this.startSessionIfNeeded(r), this._isStreaming = !0, new Promise((d) => {
|
|
2384
2384
|
var h;
|
|
2385
2385
|
const c = [];
|
|
2386
2386
|
let l = !1, m = !1;
|
|
@@ -2396,19 +2396,19 @@ class fn {
|
|
|
2396
2396
|
* @deprecated This method is deprecated. Please use streamToVideoElement instead.
|
|
2397
2397
|
*/
|
|
2398
2398
|
streamToVideoAndAudioElements(r, n, o) {
|
|
2399
|
-
return
|
|
2399
|
+
return Be(this, void 0, void 0, function* () {
|
|
2400
2400
|
console.warn("AnamClient: streamToVideoAndAudioElements is deprecated. To avoid possible audio issues, please use streamToVideoElement instead."), yield this.streamToVideoElement(r, o);
|
|
2401
2401
|
});
|
|
2402
2402
|
}
|
|
2403
2403
|
streamToVideoElement(r, n) {
|
|
2404
|
-
return
|
|
2404
|
+
return Be(this, void 0, void 0, function* () {
|
|
2405
2405
|
var o;
|
|
2406
|
-
const d =
|
|
2406
|
+
const d = Bt();
|
|
2407
2407
|
Qe({
|
|
2408
2408
|
attemptCorrelationId: d,
|
|
2409
2409
|
sessionId: null
|
|
2410
2410
|
// reset sessionId
|
|
2411
|
-
}), Ke(
|
|
2411
|
+
}), Ke(Te.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT, "1"), !((o = this.clientOptions) === null || o === void 0) && o.disableInputAudio && n && console.warn("AnamClient:Input audio is disabled. User provided audio stream will be ignored.");
|
|
2412
2412
|
try {
|
|
2413
2413
|
yield this.startSessionIfNeeded(n);
|
|
2414
2414
|
} catch (h) {
|
|
@@ -2430,7 +2430,7 @@ class fn {
|
|
|
2430
2430
|
* @throws Error if session is not started or not currently streaming
|
|
2431
2431
|
*/
|
|
2432
2432
|
talk(r) {
|
|
2433
|
-
return
|
|
2433
|
+
return Be(this, void 0, void 0, function* () {
|
|
2434
2434
|
if (!this.streamingClient)
|
|
2435
2435
|
throw new Error("Failed to send talk command: session is not started. Have you called startSession?");
|
|
2436
2436
|
if (!this._isStreaming)
|
|
@@ -2483,8 +2483,8 @@ class fn {
|
|
|
2483
2483
|
this.sendDataMessage(n);
|
|
2484
2484
|
}
|
|
2485
2485
|
stopStreaming() {
|
|
2486
|
-
return
|
|
2487
|
-
this.streamingClient && (this.publicEventEmitter.emit(F.CONNECTION_CLOSED,
|
|
2486
|
+
return Be(this, void 0, void 0, function* () {
|
|
2487
|
+
this.streamingClient && (this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Ve.NORMAL), yield this.streamingClient.stopConnection(), this.streamingClient = null, this.sessionId = null, Qe({
|
|
2488
2488
|
attemptCorrelationId: null,
|
|
2489
2489
|
sessionId: null,
|
|
2490
2490
|
organizationId: this.organizationId
|
|
@@ -2513,7 +2513,7 @@ class fn {
|
|
|
2513
2513
|
return !((r = this.clientOptions) === null || r === void 0) && r.disableInputAudio && console.warn("AnamClient: Input audio is disabled. Unmuting input audio will have no effect."), this.streamingClient && !(!((n = this.clientOptions) === null || n === void 0) && n.disableInputAudio) ? this.inputAudioState = this.streamingClient.unmuteInputAudio() : this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { isMuted: !1 }), this.inputAudioState;
|
|
2514
2514
|
}
|
|
2515
2515
|
changeAudioInputDevice(r) {
|
|
2516
|
-
return
|
|
2516
|
+
return Be(this, void 0, void 0, function* () {
|
|
2517
2517
|
var n;
|
|
2518
2518
|
if (!((n = this.clientOptions) === null || n === void 0) && n.disableInputAudio)
|
|
2519
2519
|
throw new Error("AnamClient: Cannot change audio input device because input audio is disabled.");
|
|
@@ -2549,65 +2549,65 @@ class fn {
|
|
|
2549
2549
|
return this.sessionId;
|
|
2550
2550
|
}
|
|
2551
2551
|
}
|
|
2552
|
-
const
|
|
2553
|
-
const i =
|
|
2552
|
+
const Jt = pr(null), rt = () => {
|
|
2553
|
+
const i = gr(Jt);
|
|
2554
2554
|
if (!i)
|
|
2555
2555
|
throw new Error("useAria must be used within an AriaProvider");
|
|
2556
2556
|
return i;
|
|
2557
2557
|
};
|
|
2558
|
-
function
|
|
2558
|
+
function Qt(i) {
|
|
2559
2559
|
var r, n, o = "";
|
|
2560
2560
|
if (typeof i == "string" || typeof i == "number") o += i;
|
|
2561
2561
|
else if (typeof i == "object") if (Array.isArray(i)) {
|
|
2562
2562
|
var d = i.length;
|
|
2563
|
-
for (r = 0; r < d; r++) i[r] && (n =
|
|
2563
|
+
for (r = 0; r < d; r++) i[r] && (n = Qt(i[r])) && (o && (o += " "), o += n);
|
|
2564
2564
|
} else for (n in i) i[n] && (o && (o += " "), o += n);
|
|
2565
2565
|
return o;
|
|
2566
2566
|
}
|
|
2567
|
-
function
|
|
2568
|
-
for (var i, r, n = 0, o = "", d = arguments.length; n < d; n++) (i = arguments[n]) && (r =
|
|
2567
|
+
function Yr() {
|
|
2568
|
+
for (var i, r, n = 0, o = "", d = arguments.length; n < d; n++) (i = arguments[n]) && (r = Qt(i)) && (o && (o += " "), o += r);
|
|
2569
2569
|
return o;
|
|
2570
2570
|
}
|
|
2571
|
-
const
|
|
2571
|
+
const Zr = (i, r) => {
|
|
2572
2572
|
const n = new Array(i.length + r.length);
|
|
2573
2573
|
for (let o = 0; o < i.length; o++)
|
|
2574
2574
|
n[o] = i[o];
|
|
2575
2575
|
for (let o = 0; o < r.length; o++)
|
|
2576
2576
|
n[i.length + o] = r[o];
|
|
2577
2577
|
return n;
|
|
2578
|
-
},
|
|
2578
|
+
}, ei = (i, r) => ({
|
|
2579
2579
|
classGroupId: i,
|
|
2580
2580
|
validator: r
|
|
2581
|
-
}),
|
|
2581
|
+
}), qt = (i = /* @__PURE__ */ new Map(), r = null, n) => ({
|
|
2582
2582
|
nextPart: i,
|
|
2583
2583
|
validators: r,
|
|
2584
2584
|
classGroupId: n
|
|
2585
|
-
}), lt = "-",
|
|
2586
|
-
const r =
|
|
2585
|
+
}), lt = "-", Pt = [], ti = "arbitrary..", ri = (i) => {
|
|
2586
|
+
const r = ni(i), {
|
|
2587
2587
|
conflictingClassGroups: n,
|
|
2588
2588
|
conflictingClassGroupModifiers: o
|
|
2589
2589
|
} = i;
|
|
2590
2590
|
return {
|
|
2591
2591
|
getClassGroupId: (c) => {
|
|
2592
2592
|
if (c.startsWith("[") && c.endsWith("]"))
|
|
2593
|
-
return
|
|
2593
|
+
return ii(c);
|
|
2594
2594
|
const l = c.split(lt), m = l[0] === "" && l.length > 1 ? 1 : 0;
|
|
2595
|
-
return
|
|
2595
|
+
return $t(l, m, r);
|
|
2596
2596
|
},
|
|
2597
2597
|
getConflictingClassGroupIds: (c, l) => {
|
|
2598
2598
|
if (l) {
|
|
2599
2599
|
const m = o[c], v = n[c];
|
|
2600
|
-
return m ? v ?
|
|
2600
|
+
return m ? v ? Zr(v, m) : m : v || Pt;
|
|
2601
2601
|
}
|
|
2602
|
-
return n[c] ||
|
|
2602
|
+
return n[c] || Pt;
|
|
2603
2603
|
}
|
|
2604
2604
|
};
|
|
2605
|
-
},
|
|
2605
|
+
}, $t = (i, r, n) => {
|
|
2606
2606
|
if (i.length - r === 0)
|
|
2607
2607
|
return n.classGroupId;
|
|
2608
2608
|
const d = i[r], h = n.nextPart.get(d);
|
|
2609
2609
|
if (h) {
|
|
2610
|
-
const v =
|
|
2610
|
+
const v = $t(i, r + 1, h);
|
|
2611
2611
|
if (v) return v;
|
|
2612
2612
|
}
|
|
2613
2613
|
const c = n.validators;
|
|
@@ -2619,63 +2619,63 @@ const Yr = (i, r) => {
|
|
|
2619
2619
|
if (f.validator(l))
|
|
2620
2620
|
return f.classGroupId;
|
|
2621
2621
|
}
|
|
2622
|
-
},
|
|
2622
|
+
}, ii = (i) => i.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
2623
2623
|
const r = i.slice(1, -1), n = r.indexOf(":"), o = r.slice(0, n);
|
|
2624
|
-
return o ?
|
|
2625
|
-
})(),
|
|
2624
|
+
return o ? ti + o : void 0;
|
|
2625
|
+
})(), ni = (i) => {
|
|
2626
2626
|
const {
|
|
2627
2627
|
theme: r,
|
|
2628
2628
|
classGroups: n
|
|
2629
2629
|
} = i;
|
|
2630
|
-
return
|
|
2631
|
-
},
|
|
2632
|
-
const n =
|
|
2630
|
+
return oi(n, r);
|
|
2631
|
+
}, oi = (i, r) => {
|
|
2632
|
+
const n = qt();
|
|
2633
2633
|
for (const o in i) {
|
|
2634
2634
|
const d = i[o];
|
|
2635
|
-
|
|
2635
|
+
Ct(d, n, o, r);
|
|
2636
2636
|
}
|
|
2637
2637
|
return n;
|
|
2638
|
-
},
|
|
2638
|
+
}, Ct = (i, r, n, o) => {
|
|
2639
2639
|
const d = i.length;
|
|
2640
2640
|
for (let h = 0; h < d; h++) {
|
|
2641
2641
|
const c = i[h];
|
|
2642
|
-
|
|
2642
|
+
ai(c, r, n, o);
|
|
2643
2643
|
}
|
|
2644
|
-
},
|
|
2644
|
+
}, ai = (i, r, n, o) => {
|
|
2645
2645
|
if (typeof i == "string") {
|
|
2646
|
-
|
|
2646
|
+
si(i, r, n);
|
|
2647
2647
|
return;
|
|
2648
2648
|
}
|
|
2649
2649
|
if (typeof i == "function") {
|
|
2650
|
-
|
|
2650
|
+
li(i, r, n, o);
|
|
2651
2651
|
return;
|
|
2652
2652
|
}
|
|
2653
|
-
|
|
2654
|
-
},
|
|
2655
|
-
const o = i === "" ? r :
|
|
2653
|
+
ci(i, r, n, o);
|
|
2654
|
+
}, si = (i, r, n) => {
|
|
2655
|
+
const o = i === "" ? r : Xt(r, i);
|
|
2656
2656
|
o.classGroupId = n;
|
|
2657
|
-
},
|
|
2658
|
-
if (
|
|
2659
|
-
|
|
2657
|
+
}, li = (i, r, n, o) => {
|
|
2658
|
+
if (di(i)) {
|
|
2659
|
+
Ct(i(o), r, n, o);
|
|
2660
2660
|
return;
|
|
2661
2661
|
}
|
|
2662
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
2663
|
-
},
|
|
2662
|
+
r.validators === null && (r.validators = []), r.validators.push(ei(n, i));
|
|
2663
|
+
}, ci = (i, r, n, o) => {
|
|
2664
2664
|
const d = Object.entries(i), h = d.length;
|
|
2665
2665
|
for (let c = 0; c < h; c++) {
|
|
2666
2666
|
const [l, m] = d[c];
|
|
2667
|
-
|
|
2667
|
+
Ct(m, Xt(r, l), n, o);
|
|
2668
2668
|
}
|
|
2669
|
-
},
|
|
2669
|
+
}, Xt = (i, r) => {
|
|
2670
2670
|
let n = i;
|
|
2671
2671
|
const o = r.split(lt), d = o.length;
|
|
2672
2672
|
for (let h = 0; h < d; h++) {
|
|
2673
2673
|
const c = o[h];
|
|
2674
2674
|
let l = n.nextPart.get(c);
|
|
2675
|
-
l || (l =
|
|
2675
|
+
l || (l = qt(), n.nextPart.set(c, l)), n = l;
|
|
2676
2676
|
}
|
|
2677
2677
|
return n;
|
|
2678
|
-
},
|
|
2678
|
+
}, di = (i) => "isThemeGetter" in i && i.isThemeGetter === !0, ui = (i) => {
|
|
2679
2679
|
if (i < 1)
|
|
2680
2680
|
return {
|
|
2681
2681
|
get: () => {
|
|
@@ -2699,13 +2699,13 @@ const Yr = (i, r) => {
|
|
|
2699
2699
|
h in n ? n[h] = c : d(h, c);
|
|
2700
2700
|
}
|
|
2701
2701
|
};
|
|
2702
|
-
},
|
|
2702
|
+
}, yt = "!", Lt = ":", hi = [], Ft = (i, r, n, o, d) => ({
|
|
2703
2703
|
modifiers: i,
|
|
2704
2704
|
hasImportantModifier: r,
|
|
2705
2705
|
baseClassName: n,
|
|
2706
2706
|
maybePostfixModifierPosition: o,
|
|
2707
2707
|
isExternal: d
|
|
2708
|
-
}),
|
|
2708
|
+
}), pi = (i) => {
|
|
2709
2709
|
const {
|
|
2710
2710
|
prefix: r,
|
|
2711
2711
|
experimentalParseClassName: n
|
|
@@ -2715,34 +2715,34 @@ const Yr = (i, r) => {
|
|
|
2715
2715
|
let c = 0, l = 0, m = 0, v;
|
|
2716
2716
|
const f = d.length;
|
|
2717
2717
|
for (let E = 0; E < f; E++) {
|
|
2718
|
-
const
|
|
2718
|
+
const T = d[E];
|
|
2719
2719
|
if (c === 0 && l === 0) {
|
|
2720
|
-
if (
|
|
2720
|
+
if (T === Lt) {
|
|
2721
2721
|
h.push(d.slice(m, E)), m = E + 1;
|
|
2722
2722
|
continue;
|
|
2723
2723
|
}
|
|
2724
|
-
if (
|
|
2724
|
+
if (T === "/") {
|
|
2725
2725
|
v = E;
|
|
2726
2726
|
continue;
|
|
2727
2727
|
}
|
|
2728
2728
|
}
|
|
2729
|
-
|
|
2729
|
+
T === "[" ? c++ : T === "]" ? c-- : T === "(" ? l++ : T === ")" && l--;
|
|
2730
2730
|
}
|
|
2731
2731
|
const u = h.length === 0 ? d : d.slice(m);
|
|
2732
|
-
let
|
|
2733
|
-
u.endsWith(
|
|
2732
|
+
let O = u, w = !1;
|
|
2733
|
+
u.endsWith(yt) ? (O = u.slice(0, -1), w = !0) : (
|
|
2734
2734
|
/**
|
|
2735
2735
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
2736
2736
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
2737
2737
|
*/
|
|
2738
|
-
u.startsWith(
|
|
2738
|
+
u.startsWith(yt) && (O = u.slice(1), w = !0)
|
|
2739
2739
|
);
|
|
2740
2740
|
const x = v && v > m ? v - m : void 0;
|
|
2741
|
-
return
|
|
2741
|
+
return Ft(h, w, O, x);
|
|
2742
2742
|
};
|
|
2743
2743
|
if (r) {
|
|
2744
|
-
const d = r +
|
|
2745
|
-
o = (c) => c.startsWith(d) ? h(c.slice(d.length)) :
|
|
2744
|
+
const d = r + Lt, h = o;
|
|
2745
|
+
o = (c) => c.startsWith(d) ? h(c.slice(d.length)) : Ft(hi, !1, c, void 0, !0);
|
|
2746
2746
|
}
|
|
2747
2747
|
if (n) {
|
|
2748
2748
|
const d = o;
|
|
@@ -2752,7 +2752,7 @@ const Yr = (i, r) => {
|
|
|
2752
2752
|
});
|
|
2753
2753
|
}
|
|
2754
2754
|
return o;
|
|
2755
|
-
},
|
|
2755
|
+
}, gi = (i) => {
|
|
2756
2756
|
const r = /* @__PURE__ */ new Map();
|
|
2757
2757
|
return i.orderSensitiveModifiers.forEach((n, o) => {
|
|
2758
2758
|
r.set(n, 1e6 + o);
|
|
@@ -2765,23 +2765,23 @@ const Yr = (i, r) => {
|
|
|
2765
2765
|
}
|
|
2766
2766
|
return d.length > 0 && (d.sort(), o.push(...d)), o;
|
|
2767
2767
|
};
|
|
2768
|
-
},
|
|
2769
|
-
cache:
|
|
2770
|
-
parseClassName:
|
|
2771
|
-
sortModifiers:
|
|
2772
|
-
...
|
|
2773
|
-
}),
|
|
2768
|
+
}, fi = (i) => ({
|
|
2769
|
+
cache: ui(i.cacheSize),
|
|
2770
|
+
parseClassName: pi(i),
|
|
2771
|
+
sortModifiers: gi(i),
|
|
2772
|
+
...ri(i)
|
|
2773
|
+
}), mi = /\s+/, wi = (i, r) => {
|
|
2774
2774
|
const {
|
|
2775
2775
|
parseClassName: n,
|
|
2776
2776
|
getClassGroupId: o,
|
|
2777
2777
|
getConflictingClassGroupIds: d,
|
|
2778
2778
|
sortModifiers: h
|
|
2779
|
-
} = r, c = [], l = i.trim().split(
|
|
2779
|
+
} = r, c = [], l = i.trim().split(mi);
|
|
2780
2780
|
let m = "";
|
|
2781
2781
|
for (let v = l.length - 1; v >= 0; v -= 1) {
|
|
2782
2782
|
const f = l[v], {
|
|
2783
2783
|
isExternal: u,
|
|
2784
|
-
modifiers:
|
|
2784
|
+
modifiers: O,
|
|
2785
2785
|
hasImportantModifier: w,
|
|
2786
2786
|
baseClassName: x,
|
|
2787
2787
|
maybePostfixModifierPosition: E
|
|
@@ -2790,23 +2790,23 @@ const Yr = (i, r) => {
|
|
|
2790
2790
|
m = f + (m.length > 0 ? " " + m : m);
|
|
2791
2791
|
continue;
|
|
2792
2792
|
}
|
|
2793
|
-
let
|
|
2794
|
-
if (!
|
|
2795
|
-
if (!
|
|
2793
|
+
let T = !!E, N = o(T ? x.substring(0, E) : x);
|
|
2794
|
+
if (!N) {
|
|
2795
|
+
if (!T) {
|
|
2796
2796
|
m = f + (m.length > 0 ? " " + m : m);
|
|
2797
2797
|
continue;
|
|
2798
2798
|
}
|
|
2799
|
-
if (
|
|
2799
|
+
if (N = o(x), !N) {
|
|
2800
2800
|
m = f + (m.length > 0 ? " " + m : m);
|
|
2801
2801
|
continue;
|
|
2802
2802
|
}
|
|
2803
|
-
|
|
2803
|
+
T = !1;
|
|
2804
2804
|
}
|
|
2805
|
-
const V =
|
|
2805
|
+
const V = O.length === 0 ? "" : O.length === 1 ? O[0] : h(O).join(":"), j = w ? V + yt : V, W = j + N;
|
|
2806
2806
|
if (c.indexOf(W) > -1)
|
|
2807
2807
|
continue;
|
|
2808
2808
|
c.push(W);
|
|
2809
|
-
const L = d(
|
|
2809
|
+
const L = d(N, T);
|
|
2810
2810
|
for (let K = 0; K < L.length; ++K) {
|
|
2811
2811
|
const se = L[K];
|
|
2812
2812
|
c.push(j + se);
|
|
@@ -2814,47 +2814,47 @@ const Yr = (i, r) => {
|
|
|
2814
2814
|
m = f + (m.length > 0 ? " " + m : m);
|
|
2815
2815
|
}
|
|
2816
2816
|
return m;
|
|
2817
|
-
},
|
|
2817
|
+
}, vi = (...i) => {
|
|
2818
2818
|
let r = 0, n, o, d = "";
|
|
2819
2819
|
for (; r < i.length; )
|
|
2820
|
-
(n = i[r++]) && (o =
|
|
2820
|
+
(n = i[r++]) && (o = Yt(n)) && (d && (d += " "), d += o);
|
|
2821
2821
|
return d;
|
|
2822
|
-
},
|
|
2822
|
+
}, Yt = (i) => {
|
|
2823
2823
|
if (typeof i == "string")
|
|
2824
2824
|
return i;
|
|
2825
2825
|
let r, n = "";
|
|
2826
2826
|
for (let o = 0; o < i.length; o++)
|
|
2827
|
-
i[o] && (r =
|
|
2827
|
+
i[o] && (r = Yt(i[o])) && (n && (n += " "), n += r);
|
|
2828
2828
|
return n;
|
|
2829
|
-
},
|
|
2829
|
+
}, bi = (i, ...r) => {
|
|
2830
2830
|
let n, o, d, h;
|
|
2831
2831
|
const c = (m) => {
|
|
2832
2832
|
const v = r.reduce((f, u) => u(f), i());
|
|
2833
|
-
return n =
|
|
2833
|
+
return n = fi(v), o = n.cache.get, d = n.cache.set, h = l, l(m);
|
|
2834
2834
|
}, l = (m) => {
|
|
2835
2835
|
const v = o(m);
|
|
2836
2836
|
if (v)
|
|
2837
2837
|
return v;
|
|
2838
|
-
const f =
|
|
2838
|
+
const f = wi(m, n);
|
|
2839
2839
|
return d(m, f), f;
|
|
2840
2840
|
};
|
|
2841
|
-
return h = c, (...m) => h(
|
|
2842
|
-
},
|
|
2843
|
-
const r = (n) => n[i] ||
|
|
2841
|
+
return h = c, (...m) => h(vi(...m));
|
|
2842
|
+
}, yi = [], ee = (i) => {
|
|
2843
|
+
const r = (n) => n[i] || yi;
|
|
2844
2844
|
return r.isThemeGetter = !0, r;
|
|
2845
|
-
},
|
|
2845
|
+
}, Zt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, er = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ai = /^\d+\/\d+$/, xi = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ei = /\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$/, Si = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ki = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ci = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, $e = (i) => Ai.test(i), U = (i) => !!i && !Number.isNaN(Number(i)), Ue = (i) => !!i && Number.isInteger(Number(i)), gt = (i) => i.endsWith("%") && U(i.slice(0, -1)), _e = (i) => xi.test(i), Ii = () => !0, Ri = (i) => (
|
|
2846
2846
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
2847
2847
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
2848
2848
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
2849
|
-
|
|
2850
|
-
),
|
|
2851
|
-
const o =
|
|
2849
|
+
Ei.test(i) && !Si.test(i)
|
|
2850
|
+
), tr = () => !1, Ni = (i) => ki.test(i), _i = (i) => Ci.test(i), Ti = (i) => !k(i) && !C(i), Oi = (i) => Ye(i, nr, tr), k = (i) => Zt.test(i), We = (i) => Ye(i, or, Ri), ft = (i) => Ye(i, Pi, U), Vt = (i) => Ye(i, rr, tr), Di = (i) => Ye(i, ir, _i), nt = (i) => Ye(i, ar, Ni), C = (i) => er.test(i), tt = (i) => Ze(i, or), Mi = (i) => Ze(i, Li), Gt = (i) => Ze(i, rr), Bi = (i) => Ze(i, nr), Ui = (i) => Ze(i, ir), ot = (i) => Ze(i, ar, !0), Ye = (i, r, n) => {
|
|
2851
|
+
const o = Zt.exec(i);
|
|
2852
2852
|
return o ? o[1] ? r(o[1]) : n(o[2]) : !1;
|
|
2853
2853
|
}, Ze = (i, r, n = !1) => {
|
|
2854
|
-
const o =
|
|
2854
|
+
const o = er.exec(i);
|
|
2855
2855
|
return o ? o[1] ? r(o[1]) : n : !1;
|
|
2856
|
-
},
|
|
2857
|
-
const i = ee("color"), r = ee("font"), n = ee("text"), o = ee("font-weight"), d = ee("tracking"), h = ee("leading"), c = ee("breakpoint"), l = ee("container"), m = ee("spacing"), v = ee("radius"), f = ee("shadow"), u = ee("inset-shadow"),
|
|
2856
|
+
}, rr = (i) => i === "position" || i === "percentage", ir = (i) => i === "image" || i === "url", nr = (i) => i === "length" || i === "size" || i === "bg-size", or = (i) => i === "length", Pi = (i) => i === "number", Li = (i) => i === "family-name", ar = (i) => i === "shadow", Fi = () => {
|
|
2857
|
+
const i = ee("color"), r = ee("font"), n = ee("text"), o = ee("font-weight"), d = ee("tracking"), h = ee("leading"), c = ee("breakpoint"), l = ee("container"), m = ee("spacing"), v = ee("radius"), f = ee("shadow"), u = ee("inset-shadow"), O = ee("text-shadow"), w = ee("drop-shadow"), x = ee("blur"), E = ee("perspective"), T = ee("aspect"), N = ee("ease"), V = ee("animate"), j = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], W = () => [
|
|
2858
2858
|
"center",
|
|
2859
2859
|
"top",
|
|
2860
2860
|
"bottom",
|
|
@@ -2872,15 +2872,15 @@ const Yr = (i, r) => {
|
|
|
2872
2872
|
"bottom-left",
|
|
2873
2873
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
2874
2874
|
"left-bottom"
|
|
2875
|
-
], L = () => [...W(), C, k], K = () => ["auto", "hidden", "clip", "visible", "scroll"], se = () => ["auto", "contain", "none"],
|
|
2876
|
-
span: ["full",
|
|
2877
|
-
},
|
|
2875
|
+
], L = () => [...W(), C, k], K = () => ["auto", "hidden", "clip", "visible", "scroll"], se = () => ["auto", "contain", "none"], B = () => [C, k, m], G = () => [$e, "full", "auto", ...B()], z = () => [Ue, "none", "subgrid", C, k], Ae = () => ["auto", {
|
|
2876
|
+
span: ["full", Ue, C, k]
|
|
2877
|
+
}, Ue, C, k], ke = () => [Ue, "auto", C, k], ge = () => ["auto", "min", "max", "fr", C, k], Ce = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], re = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ie = () => ["auto", ...B()], fe = () => [$e, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...B()], _ = () => [i, C, k], je = () => [...W(), Gt, Vt, {
|
|
2878
2878
|
position: [C, k]
|
|
2879
|
-
}],
|
|
2879
|
+
}], ze = () => ["no-repeat", {
|
|
2880
2880
|
repeat: ["", "x", "y", "space", "round"]
|
|
2881
|
-
}], J = () => ["auto", "cover", "contain",
|
|
2881
|
+
}], J = () => ["auto", "cover", "contain", Bi, Oi, {
|
|
2882
2882
|
size: [C, k]
|
|
2883
|
-
}], $ = () => [
|
|
2883
|
+
}], $ = () => [gt, tt, We], X = () => [
|
|
2884
2884
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2885
2885
|
"",
|
|
2886
2886
|
"none",
|
|
@@ -2888,35 +2888,35 @@ const Yr = (i, r) => {
|
|
|
2888
2888
|
v,
|
|
2889
2889
|
C,
|
|
2890
2890
|
k
|
|
2891
|
-
], ne = () => ["", U, tt, We], me = () => ["solid", "dashed", "dotted", "double"],
|
|
2891
|
+
], ne = () => ["", U, tt, We], me = () => ["solid", "dashed", "dotted", "double"], Ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Q = () => [U, gt, Gt, Vt], we = () => [
|
|
2892
2892
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2893
2893
|
"",
|
|
2894
2894
|
"none",
|
|
2895
2895
|
x,
|
|
2896
2896
|
C,
|
|
2897
2897
|
k
|
|
2898
|
-
],
|
|
2898
|
+
], xe = () => ["none", U, C, k], Re = () => ["none", U, C, k], He = () => [U, C, k], Ne = () => [$e, "full", ...B()];
|
|
2899
2899
|
return {
|
|
2900
2900
|
cacheSize: 500,
|
|
2901
2901
|
theme: {
|
|
2902
2902
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
2903
2903
|
aspect: ["video"],
|
|
2904
|
-
blur: [
|
|
2905
|
-
breakpoint: [
|
|
2906
|
-
color: [
|
|
2907
|
-
container: [
|
|
2908
|
-
"drop-shadow": [
|
|
2904
|
+
blur: [_e],
|
|
2905
|
+
breakpoint: [_e],
|
|
2906
|
+
color: [Ii],
|
|
2907
|
+
container: [_e],
|
|
2908
|
+
"drop-shadow": [_e],
|
|
2909
2909
|
ease: ["in", "out", "in-out"],
|
|
2910
|
-
font: [
|
|
2910
|
+
font: [Ti],
|
|
2911
2911
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
2912
|
-
"inset-shadow": [
|
|
2912
|
+
"inset-shadow": [_e],
|
|
2913
2913
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
2914
2914
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
2915
|
-
radius: [
|
|
2916
|
-
shadow: [
|
|
2915
|
+
radius: [_e],
|
|
2916
|
+
shadow: [_e],
|
|
2917
2917
|
spacing: ["px", U],
|
|
2918
|
-
text: [
|
|
2919
|
-
"text-shadow": [
|
|
2918
|
+
text: [_e],
|
|
2919
|
+
"text-shadow": [_e],
|
|
2920
2920
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
2921
2921
|
},
|
|
2922
2922
|
classGroups: {
|
|
@@ -2928,7 +2928,7 @@ const Yr = (i, r) => {
|
|
|
2928
2928
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
2929
2929
|
*/
|
|
2930
2930
|
aspect: [{
|
|
2931
|
-
aspect: ["auto", "square", $e, k, C,
|
|
2931
|
+
aspect: ["auto", "square", $e, k, C, T]
|
|
2932
2932
|
}],
|
|
2933
2933
|
/**
|
|
2934
2934
|
* Container
|
|
@@ -3141,7 +3141,7 @@ const Yr = (i, r) => {
|
|
|
3141
3141
|
* @see https://tailwindcss.com/docs/z-index
|
|
3142
3142
|
*/
|
|
3143
3143
|
z: [{
|
|
3144
|
-
z: [
|
|
3144
|
+
z: [Ue, "auto", C, k]
|
|
3145
3145
|
}],
|
|
3146
3146
|
// ------------------------
|
|
3147
3147
|
// --- Flexbox and Grid ---
|
|
@@ -3151,7 +3151,7 @@ const Yr = (i, r) => {
|
|
|
3151
3151
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
3152
3152
|
*/
|
|
3153
3153
|
basis: [{
|
|
3154
|
-
basis: [$e, "full", "auto", l, ...
|
|
3154
|
+
basis: [$e, "full", "auto", l, ...B()]
|
|
3155
3155
|
}],
|
|
3156
3156
|
/**
|
|
3157
3157
|
* Flex Direction
|
|
@@ -3193,7 +3193,7 @@ const Yr = (i, r) => {
|
|
|
3193
3193
|
* @see https://tailwindcss.com/docs/order
|
|
3194
3194
|
*/
|
|
3195
3195
|
order: [{
|
|
3196
|
-
order: [
|
|
3196
|
+
order: [Ue, "first", "last", "none", C, k]
|
|
3197
3197
|
}],
|
|
3198
3198
|
/**
|
|
3199
3199
|
* Grid Template Columns
|
|
@@ -3207,21 +3207,21 @@ const Yr = (i, r) => {
|
|
|
3207
3207
|
* @see https://tailwindcss.com/docs/grid-column
|
|
3208
3208
|
*/
|
|
3209
3209
|
"col-start-end": [{
|
|
3210
|
-
col:
|
|
3210
|
+
col: Ae()
|
|
3211
3211
|
}],
|
|
3212
3212
|
/**
|
|
3213
3213
|
* Grid Column Start
|
|
3214
3214
|
* @see https://tailwindcss.com/docs/grid-column
|
|
3215
3215
|
*/
|
|
3216
3216
|
"col-start": [{
|
|
3217
|
-
"col-start":
|
|
3217
|
+
"col-start": ke()
|
|
3218
3218
|
}],
|
|
3219
3219
|
/**
|
|
3220
3220
|
* Grid Column End
|
|
3221
3221
|
* @see https://tailwindcss.com/docs/grid-column
|
|
3222
3222
|
*/
|
|
3223
3223
|
"col-end": [{
|
|
3224
|
-
"col-end":
|
|
3224
|
+
"col-end": ke()
|
|
3225
3225
|
}],
|
|
3226
3226
|
/**
|
|
3227
3227
|
* Grid Template Rows
|
|
@@ -3235,21 +3235,21 @@ const Yr = (i, r) => {
|
|
|
3235
3235
|
* @see https://tailwindcss.com/docs/grid-row
|
|
3236
3236
|
*/
|
|
3237
3237
|
"row-start-end": [{
|
|
3238
|
-
row:
|
|
3238
|
+
row: Ae()
|
|
3239
3239
|
}],
|
|
3240
3240
|
/**
|
|
3241
3241
|
* Grid Row Start
|
|
3242
3242
|
* @see https://tailwindcss.com/docs/grid-row
|
|
3243
3243
|
*/
|
|
3244
3244
|
"row-start": [{
|
|
3245
|
-
"row-start":
|
|
3245
|
+
"row-start": ke()
|
|
3246
3246
|
}],
|
|
3247
3247
|
/**
|
|
3248
3248
|
* Grid Row End
|
|
3249
3249
|
* @see https://tailwindcss.com/docs/grid-row
|
|
3250
3250
|
*/
|
|
3251
3251
|
"row-end": [{
|
|
3252
|
-
"row-end":
|
|
3252
|
+
"row-end": ke()
|
|
3253
3253
|
}],
|
|
3254
3254
|
/**
|
|
3255
3255
|
* Grid Auto Flow
|
|
@@ -3277,28 +3277,28 @@ const Yr = (i, r) => {
|
|
|
3277
3277
|
* @see https://tailwindcss.com/docs/gap
|
|
3278
3278
|
*/
|
|
3279
3279
|
gap: [{
|
|
3280
|
-
gap:
|
|
3280
|
+
gap: B()
|
|
3281
3281
|
}],
|
|
3282
3282
|
/**
|
|
3283
3283
|
* Gap X
|
|
3284
3284
|
* @see https://tailwindcss.com/docs/gap
|
|
3285
3285
|
*/
|
|
3286
3286
|
"gap-x": [{
|
|
3287
|
-
"gap-x":
|
|
3287
|
+
"gap-x": B()
|
|
3288
3288
|
}],
|
|
3289
3289
|
/**
|
|
3290
3290
|
* Gap Y
|
|
3291
3291
|
* @see https://tailwindcss.com/docs/gap
|
|
3292
3292
|
*/
|
|
3293
3293
|
"gap-y": [{
|
|
3294
|
-
"gap-y":
|
|
3294
|
+
"gap-y": B()
|
|
3295
3295
|
}],
|
|
3296
3296
|
/**
|
|
3297
3297
|
* Justify Content
|
|
3298
3298
|
* @see https://tailwindcss.com/docs/justify-content
|
|
3299
3299
|
*/
|
|
3300
3300
|
"justify-content": [{
|
|
3301
|
-
justify: [...
|
|
3301
|
+
justify: [...Ce(), "normal"]
|
|
3302
3302
|
}],
|
|
3303
3303
|
/**
|
|
3304
3304
|
* Justify Items
|
|
@@ -3319,7 +3319,7 @@ const Yr = (i, r) => {
|
|
|
3319
3319
|
* @see https://tailwindcss.com/docs/align-content
|
|
3320
3320
|
*/
|
|
3321
3321
|
"align-content": [{
|
|
3322
|
-
content: ["normal", ...
|
|
3322
|
+
content: ["normal", ...Ce()]
|
|
3323
3323
|
}],
|
|
3324
3324
|
/**
|
|
3325
3325
|
* Align Items
|
|
@@ -3344,7 +3344,7 @@ const Yr = (i, r) => {
|
|
|
3344
3344
|
* @see https://tailwindcss.com/docs/place-content
|
|
3345
3345
|
*/
|
|
3346
3346
|
"place-content": [{
|
|
3347
|
-
"place-content":
|
|
3347
|
+
"place-content": Ce()
|
|
3348
3348
|
}],
|
|
3349
3349
|
/**
|
|
3350
3350
|
* Place Items
|
|
@@ -3366,63 +3366,63 @@ const Yr = (i, r) => {
|
|
|
3366
3366
|
* @see https://tailwindcss.com/docs/padding
|
|
3367
3367
|
*/
|
|
3368
3368
|
p: [{
|
|
3369
|
-
p:
|
|
3369
|
+
p: B()
|
|
3370
3370
|
}],
|
|
3371
3371
|
/**
|
|
3372
3372
|
* Padding X
|
|
3373
3373
|
* @see https://tailwindcss.com/docs/padding
|
|
3374
3374
|
*/
|
|
3375
3375
|
px: [{
|
|
3376
|
-
px:
|
|
3376
|
+
px: B()
|
|
3377
3377
|
}],
|
|
3378
3378
|
/**
|
|
3379
3379
|
* Padding Y
|
|
3380
3380
|
* @see https://tailwindcss.com/docs/padding
|
|
3381
3381
|
*/
|
|
3382
3382
|
py: [{
|
|
3383
|
-
py:
|
|
3383
|
+
py: B()
|
|
3384
3384
|
}],
|
|
3385
3385
|
/**
|
|
3386
3386
|
* Padding Start
|
|
3387
3387
|
* @see https://tailwindcss.com/docs/padding
|
|
3388
3388
|
*/
|
|
3389
3389
|
ps: [{
|
|
3390
|
-
ps:
|
|
3390
|
+
ps: B()
|
|
3391
3391
|
}],
|
|
3392
3392
|
/**
|
|
3393
3393
|
* Padding End
|
|
3394
3394
|
* @see https://tailwindcss.com/docs/padding
|
|
3395
3395
|
*/
|
|
3396
3396
|
pe: [{
|
|
3397
|
-
pe:
|
|
3397
|
+
pe: B()
|
|
3398
3398
|
}],
|
|
3399
3399
|
/**
|
|
3400
3400
|
* Padding Top
|
|
3401
3401
|
* @see https://tailwindcss.com/docs/padding
|
|
3402
3402
|
*/
|
|
3403
3403
|
pt: [{
|
|
3404
|
-
pt:
|
|
3404
|
+
pt: B()
|
|
3405
3405
|
}],
|
|
3406
3406
|
/**
|
|
3407
3407
|
* Padding Right
|
|
3408
3408
|
* @see https://tailwindcss.com/docs/padding
|
|
3409
3409
|
*/
|
|
3410
3410
|
pr: [{
|
|
3411
|
-
pr:
|
|
3411
|
+
pr: B()
|
|
3412
3412
|
}],
|
|
3413
3413
|
/**
|
|
3414
3414
|
* Padding Bottom
|
|
3415
3415
|
* @see https://tailwindcss.com/docs/padding
|
|
3416
3416
|
*/
|
|
3417
3417
|
pb: [{
|
|
3418
|
-
pb:
|
|
3418
|
+
pb: B()
|
|
3419
3419
|
}],
|
|
3420
3420
|
/**
|
|
3421
3421
|
* Padding Left
|
|
3422
3422
|
* @see https://tailwindcss.com/docs/padding
|
|
3423
3423
|
*/
|
|
3424
3424
|
pl: [{
|
|
3425
|
-
pl:
|
|
3425
|
+
pl: B()
|
|
3426
3426
|
}],
|
|
3427
3427
|
/**
|
|
3428
3428
|
* Margin
|
|
@@ -3492,7 +3492,7 @@ const Yr = (i, r) => {
|
|
|
3492
3492
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
3493
3493
|
*/
|
|
3494
3494
|
"space-x": [{
|
|
3495
|
-
"space-x":
|
|
3495
|
+
"space-x": B()
|
|
3496
3496
|
}],
|
|
3497
3497
|
/**
|
|
3498
3498
|
* Space Between X Reverse
|
|
@@ -3504,7 +3504,7 @@ const Yr = (i, r) => {
|
|
|
3504
3504
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
3505
3505
|
*/
|
|
3506
3506
|
"space-y": [{
|
|
3507
|
-
"space-y":
|
|
3507
|
+
"space-y": B()
|
|
3508
3508
|
}],
|
|
3509
3509
|
/**
|
|
3510
3510
|
* Space Between Y Reverse
|
|
@@ -3605,21 +3605,21 @@ const Yr = (i, r) => {
|
|
|
3605
3605
|
* @see https://tailwindcss.com/docs/font-weight
|
|
3606
3606
|
*/
|
|
3607
3607
|
"font-weight": [{
|
|
3608
|
-
font: [o, C,
|
|
3608
|
+
font: [o, C, ft]
|
|
3609
3609
|
}],
|
|
3610
3610
|
/**
|
|
3611
3611
|
* Font Stretch
|
|
3612
3612
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
3613
3613
|
*/
|
|
3614
3614
|
"font-stretch": [{
|
|
3615
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
3615
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", gt, k]
|
|
3616
3616
|
}],
|
|
3617
3617
|
/**
|
|
3618
3618
|
* Font Family
|
|
3619
3619
|
* @see https://tailwindcss.com/docs/font-family
|
|
3620
3620
|
*/
|
|
3621
3621
|
"font-family": [{
|
|
3622
|
-
font: [
|
|
3622
|
+
font: [Mi, k, r]
|
|
3623
3623
|
}],
|
|
3624
3624
|
/**
|
|
3625
3625
|
* Font Variant Numeric
|
|
@@ -3663,7 +3663,7 @@ const Yr = (i, r) => {
|
|
|
3663
3663
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
3664
3664
|
*/
|
|
3665
3665
|
"line-clamp": [{
|
|
3666
|
-
"line-clamp": [U, "none", C,
|
|
3666
|
+
"line-clamp": [U, "none", C, ft]
|
|
3667
3667
|
}],
|
|
3668
3668
|
/**
|
|
3669
3669
|
* Line Height
|
|
@@ -3673,7 +3673,7 @@ const Yr = (i, r) => {
|
|
|
3673
3673
|
leading: [
|
|
3674
3674
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
3675
3675
|
h,
|
|
3676
|
-
...
|
|
3676
|
+
...B()
|
|
3677
3677
|
]
|
|
3678
3678
|
}],
|
|
3679
3679
|
/**
|
|
@@ -3710,14 +3710,14 @@ const Yr = (i, r) => {
|
|
|
3710
3710
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
3711
3711
|
*/
|
|
3712
3712
|
"placeholder-color": [{
|
|
3713
|
-
placeholder:
|
|
3713
|
+
placeholder: _()
|
|
3714
3714
|
}],
|
|
3715
3715
|
/**
|
|
3716
3716
|
* Text Color
|
|
3717
3717
|
* @see https://tailwindcss.com/docs/text-color
|
|
3718
3718
|
*/
|
|
3719
3719
|
"text-color": [{
|
|
3720
|
-
text:
|
|
3720
|
+
text: _()
|
|
3721
3721
|
}],
|
|
3722
3722
|
/**
|
|
3723
3723
|
* Text Decoration
|
|
@@ -3743,7 +3743,7 @@ const Yr = (i, r) => {
|
|
|
3743
3743
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
3744
3744
|
*/
|
|
3745
3745
|
"text-decoration-color": [{
|
|
3746
|
-
decoration:
|
|
3746
|
+
decoration: _()
|
|
3747
3747
|
}],
|
|
3748
3748
|
/**
|
|
3749
3749
|
* Text Underline Offset
|
|
@@ -3774,7 +3774,7 @@ const Yr = (i, r) => {
|
|
|
3774
3774
|
* @see https://tailwindcss.com/docs/text-indent
|
|
3775
3775
|
*/
|
|
3776
3776
|
indent: [{
|
|
3777
|
-
indent:
|
|
3777
|
+
indent: B()
|
|
3778
3778
|
}],
|
|
3779
3779
|
/**
|
|
3780
3780
|
* Vertical Alignment
|
|
@@ -3847,14 +3847,14 @@ const Yr = (i, r) => {
|
|
|
3847
3847
|
* @see https://tailwindcss.com/docs/background-position
|
|
3848
3848
|
*/
|
|
3849
3849
|
"bg-position": [{
|
|
3850
|
-
bg:
|
|
3850
|
+
bg: je()
|
|
3851
3851
|
}],
|
|
3852
3852
|
/**
|
|
3853
3853
|
* Background Repeat
|
|
3854
3854
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
3855
3855
|
*/
|
|
3856
3856
|
"bg-repeat": [{
|
|
3857
|
-
bg:
|
|
3857
|
+
bg: ze()
|
|
3858
3858
|
}],
|
|
3859
3859
|
/**
|
|
3860
3860
|
* Background Size
|
|
@@ -3871,17 +3871,17 @@ const Yr = (i, r) => {
|
|
|
3871
3871
|
bg: ["none", {
|
|
3872
3872
|
linear: [{
|
|
3873
3873
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
3874
|
-
},
|
|
3874
|
+
}, Ue, C, k],
|
|
3875
3875
|
radial: ["", C, k],
|
|
3876
|
-
conic: [
|
|
3877
|
-
},
|
|
3876
|
+
conic: [Ue, C, k]
|
|
3877
|
+
}, Ui, Di]
|
|
3878
3878
|
}],
|
|
3879
3879
|
/**
|
|
3880
3880
|
* Background Color
|
|
3881
3881
|
* @see https://tailwindcss.com/docs/background-color
|
|
3882
3882
|
*/
|
|
3883
3883
|
"bg-color": [{
|
|
3884
|
-
bg:
|
|
3884
|
+
bg: _()
|
|
3885
3885
|
}],
|
|
3886
3886
|
/**
|
|
3887
3887
|
* Gradient Color Stops From Position
|
|
@@ -3909,21 +3909,21 @@ const Yr = (i, r) => {
|
|
|
3909
3909
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
3910
3910
|
*/
|
|
3911
3911
|
"gradient-from": [{
|
|
3912
|
-
from:
|
|
3912
|
+
from: _()
|
|
3913
3913
|
}],
|
|
3914
3914
|
/**
|
|
3915
3915
|
* Gradient Color Stops Via
|
|
3916
3916
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
3917
3917
|
*/
|
|
3918
3918
|
"gradient-via": [{
|
|
3919
|
-
via:
|
|
3919
|
+
via: _()
|
|
3920
3920
|
}],
|
|
3921
3921
|
/**
|
|
3922
3922
|
* Gradient Color Stops To
|
|
3923
3923
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
3924
3924
|
*/
|
|
3925
3925
|
"gradient-to": [{
|
|
3926
|
-
to:
|
|
3926
|
+
to: _()
|
|
3927
3927
|
}],
|
|
3928
3928
|
// ---------------
|
|
3929
3929
|
// --- Borders ---
|
|
@@ -4139,70 +4139,70 @@ const Yr = (i, r) => {
|
|
|
4139
4139
|
* @see https://tailwindcss.com/docs/border-color
|
|
4140
4140
|
*/
|
|
4141
4141
|
"border-color": [{
|
|
4142
|
-
border:
|
|
4142
|
+
border: _()
|
|
4143
4143
|
}],
|
|
4144
4144
|
/**
|
|
4145
4145
|
* Border Color X
|
|
4146
4146
|
* @see https://tailwindcss.com/docs/border-color
|
|
4147
4147
|
*/
|
|
4148
4148
|
"border-color-x": [{
|
|
4149
|
-
"border-x":
|
|
4149
|
+
"border-x": _()
|
|
4150
4150
|
}],
|
|
4151
4151
|
/**
|
|
4152
4152
|
* Border Color Y
|
|
4153
4153
|
* @see https://tailwindcss.com/docs/border-color
|
|
4154
4154
|
*/
|
|
4155
4155
|
"border-color-y": [{
|
|
4156
|
-
"border-y":
|
|
4156
|
+
"border-y": _()
|
|
4157
4157
|
}],
|
|
4158
4158
|
/**
|
|
4159
4159
|
* Border Color S
|
|
4160
4160
|
* @see https://tailwindcss.com/docs/border-color
|
|
4161
4161
|
*/
|
|
4162
4162
|
"border-color-s": [{
|
|
4163
|
-
"border-s":
|
|
4163
|
+
"border-s": _()
|
|
4164
4164
|
}],
|
|
4165
4165
|
/**
|
|
4166
4166
|
* Border Color E
|
|
4167
4167
|
* @see https://tailwindcss.com/docs/border-color
|
|
4168
4168
|
*/
|
|
4169
4169
|
"border-color-e": [{
|
|
4170
|
-
"border-e":
|
|
4170
|
+
"border-e": _()
|
|
4171
4171
|
}],
|
|
4172
4172
|
/**
|
|
4173
4173
|
* Border Color Top
|
|
4174
4174
|
* @see https://tailwindcss.com/docs/border-color
|
|
4175
4175
|
*/
|
|
4176
4176
|
"border-color-t": [{
|
|
4177
|
-
"border-t":
|
|
4177
|
+
"border-t": _()
|
|
4178
4178
|
}],
|
|
4179
4179
|
/**
|
|
4180
4180
|
* Border Color Right
|
|
4181
4181
|
* @see https://tailwindcss.com/docs/border-color
|
|
4182
4182
|
*/
|
|
4183
4183
|
"border-color-r": [{
|
|
4184
|
-
"border-r":
|
|
4184
|
+
"border-r": _()
|
|
4185
4185
|
}],
|
|
4186
4186
|
/**
|
|
4187
4187
|
* Border Color Bottom
|
|
4188
4188
|
* @see https://tailwindcss.com/docs/border-color
|
|
4189
4189
|
*/
|
|
4190
4190
|
"border-color-b": [{
|
|
4191
|
-
"border-b":
|
|
4191
|
+
"border-b": _()
|
|
4192
4192
|
}],
|
|
4193
4193
|
/**
|
|
4194
4194
|
* Border Color Left
|
|
4195
4195
|
* @see https://tailwindcss.com/docs/border-color
|
|
4196
4196
|
*/
|
|
4197
4197
|
"border-color-l": [{
|
|
4198
|
-
"border-l":
|
|
4198
|
+
"border-l": _()
|
|
4199
4199
|
}],
|
|
4200
4200
|
/**
|
|
4201
4201
|
* Divide Color
|
|
4202
4202
|
* @see https://tailwindcss.com/docs/divide-color
|
|
4203
4203
|
*/
|
|
4204
4204
|
"divide-color": [{
|
|
4205
|
-
divide:
|
|
4205
|
+
divide: _()
|
|
4206
4206
|
}],
|
|
4207
4207
|
/**
|
|
4208
4208
|
* Outline Style
|
|
@@ -4230,7 +4230,7 @@ const Yr = (i, r) => {
|
|
|
4230
4230
|
* @see https://tailwindcss.com/docs/outline-color
|
|
4231
4231
|
*/
|
|
4232
4232
|
"outline-color": [{
|
|
4233
|
-
outline:
|
|
4233
|
+
outline: _()
|
|
4234
4234
|
}],
|
|
4235
4235
|
// ---------------
|
|
4236
4236
|
// --- Effects ---
|
|
@@ -4254,7 +4254,7 @@ const Yr = (i, r) => {
|
|
|
4254
4254
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
4255
4255
|
*/
|
|
4256
4256
|
"shadow-color": [{
|
|
4257
|
-
shadow:
|
|
4257
|
+
shadow: _()
|
|
4258
4258
|
}],
|
|
4259
4259
|
/**
|
|
4260
4260
|
* Inset Box Shadow
|
|
@@ -4268,7 +4268,7 @@ const Yr = (i, r) => {
|
|
|
4268
4268
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
4269
4269
|
*/
|
|
4270
4270
|
"inset-shadow-color": [{
|
|
4271
|
-
"inset-shadow":
|
|
4271
|
+
"inset-shadow": _()
|
|
4272
4272
|
}],
|
|
4273
4273
|
/**
|
|
4274
4274
|
* Ring Width
|
|
@@ -4289,7 +4289,7 @@ const Yr = (i, r) => {
|
|
|
4289
4289
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
4290
4290
|
*/
|
|
4291
4291
|
"ring-color": [{
|
|
4292
|
-
ring:
|
|
4292
|
+
ring: _()
|
|
4293
4293
|
}],
|
|
4294
4294
|
/**
|
|
4295
4295
|
* Ring Offset Width
|
|
@@ -4307,7 +4307,7 @@ const Yr = (i, r) => {
|
|
|
4307
4307
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
4308
4308
|
*/
|
|
4309
4309
|
"ring-offset-color": [{
|
|
4310
|
-
"ring-offset":
|
|
4310
|
+
"ring-offset": _()
|
|
4311
4311
|
}],
|
|
4312
4312
|
/**
|
|
4313
4313
|
* Inset Ring Width
|
|
@@ -4321,21 +4321,21 @@ const Yr = (i, r) => {
|
|
|
4321
4321
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
4322
4322
|
*/
|
|
4323
4323
|
"inset-ring-color": [{
|
|
4324
|
-
"inset-ring":
|
|
4324
|
+
"inset-ring": _()
|
|
4325
4325
|
}],
|
|
4326
4326
|
/**
|
|
4327
4327
|
* Text Shadow
|
|
4328
4328
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
4329
4329
|
*/
|
|
4330
4330
|
"text-shadow": [{
|
|
4331
|
-
"text-shadow": ["none",
|
|
4331
|
+
"text-shadow": ["none", O, ot, nt]
|
|
4332
4332
|
}],
|
|
4333
4333
|
/**
|
|
4334
4334
|
* Text Shadow Color
|
|
4335
4335
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
4336
4336
|
*/
|
|
4337
4337
|
"text-shadow-color": [{
|
|
4338
|
-
"text-shadow":
|
|
4338
|
+
"text-shadow": _()
|
|
4339
4339
|
}],
|
|
4340
4340
|
/**
|
|
4341
4341
|
* Opacity
|
|
@@ -4349,14 +4349,14 @@ const Yr = (i, r) => {
|
|
|
4349
4349
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
4350
4350
|
*/
|
|
4351
4351
|
"mix-blend": [{
|
|
4352
|
-
"mix-blend": [...
|
|
4352
|
+
"mix-blend": [...Ie(), "plus-darker", "plus-lighter"]
|
|
4353
4353
|
}],
|
|
4354
4354
|
/**
|
|
4355
4355
|
* Background Blend Mode
|
|
4356
4356
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
4357
4357
|
*/
|
|
4358
4358
|
"bg-blend": [{
|
|
4359
|
-
"bg-blend":
|
|
4359
|
+
"bg-blend": Ie()
|
|
4360
4360
|
}],
|
|
4361
4361
|
/**
|
|
4362
4362
|
* Mask Clip
|
|
@@ -4386,10 +4386,10 @@ const Yr = (i, r) => {
|
|
|
4386
4386
|
"mask-linear-to": Q()
|
|
4387
4387
|
}],
|
|
4388
4388
|
"mask-image-linear-from-color": [{
|
|
4389
|
-
"mask-linear-from":
|
|
4389
|
+
"mask-linear-from": _()
|
|
4390
4390
|
}],
|
|
4391
4391
|
"mask-image-linear-to-color": [{
|
|
4392
|
-
"mask-linear-to":
|
|
4392
|
+
"mask-linear-to": _()
|
|
4393
4393
|
}],
|
|
4394
4394
|
"mask-image-t-from-pos": [{
|
|
4395
4395
|
"mask-t-from": Q()
|
|
@@ -4398,10 +4398,10 @@ const Yr = (i, r) => {
|
|
|
4398
4398
|
"mask-t-to": Q()
|
|
4399
4399
|
}],
|
|
4400
4400
|
"mask-image-t-from-color": [{
|
|
4401
|
-
"mask-t-from":
|
|
4401
|
+
"mask-t-from": _()
|
|
4402
4402
|
}],
|
|
4403
4403
|
"mask-image-t-to-color": [{
|
|
4404
|
-
"mask-t-to":
|
|
4404
|
+
"mask-t-to": _()
|
|
4405
4405
|
}],
|
|
4406
4406
|
"mask-image-r-from-pos": [{
|
|
4407
4407
|
"mask-r-from": Q()
|
|
@@ -4410,10 +4410,10 @@ const Yr = (i, r) => {
|
|
|
4410
4410
|
"mask-r-to": Q()
|
|
4411
4411
|
}],
|
|
4412
4412
|
"mask-image-r-from-color": [{
|
|
4413
|
-
"mask-r-from":
|
|
4413
|
+
"mask-r-from": _()
|
|
4414
4414
|
}],
|
|
4415
4415
|
"mask-image-r-to-color": [{
|
|
4416
|
-
"mask-r-to":
|
|
4416
|
+
"mask-r-to": _()
|
|
4417
4417
|
}],
|
|
4418
4418
|
"mask-image-b-from-pos": [{
|
|
4419
4419
|
"mask-b-from": Q()
|
|
@@ -4422,10 +4422,10 @@ const Yr = (i, r) => {
|
|
|
4422
4422
|
"mask-b-to": Q()
|
|
4423
4423
|
}],
|
|
4424
4424
|
"mask-image-b-from-color": [{
|
|
4425
|
-
"mask-b-from":
|
|
4425
|
+
"mask-b-from": _()
|
|
4426
4426
|
}],
|
|
4427
4427
|
"mask-image-b-to-color": [{
|
|
4428
|
-
"mask-b-to":
|
|
4428
|
+
"mask-b-to": _()
|
|
4429
4429
|
}],
|
|
4430
4430
|
"mask-image-l-from-pos": [{
|
|
4431
4431
|
"mask-l-from": Q()
|
|
@@ -4434,10 +4434,10 @@ const Yr = (i, r) => {
|
|
|
4434
4434
|
"mask-l-to": Q()
|
|
4435
4435
|
}],
|
|
4436
4436
|
"mask-image-l-from-color": [{
|
|
4437
|
-
"mask-l-from":
|
|
4437
|
+
"mask-l-from": _()
|
|
4438
4438
|
}],
|
|
4439
4439
|
"mask-image-l-to-color": [{
|
|
4440
|
-
"mask-l-to":
|
|
4440
|
+
"mask-l-to": _()
|
|
4441
4441
|
}],
|
|
4442
4442
|
"mask-image-x-from-pos": [{
|
|
4443
4443
|
"mask-x-from": Q()
|
|
@@ -4446,10 +4446,10 @@ const Yr = (i, r) => {
|
|
|
4446
4446
|
"mask-x-to": Q()
|
|
4447
4447
|
}],
|
|
4448
4448
|
"mask-image-x-from-color": [{
|
|
4449
|
-
"mask-x-from":
|
|
4449
|
+
"mask-x-from": _()
|
|
4450
4450
|
}],
|
|
4451
4451
|
"mask-image-x-to-color": [{
|
|
4452
|
-
"mask-x-to":
|
|
4452
|
+
"mask-x-to": _()
|
|
4453
4453
|
}],
|
|
4454
4454
|
"mask-image-y-from-pos": [{
|
|
4455
4455
|
"mask-y-from": Q()
|
|
@@ -4458,10 +4458,10 @@ const Yr = (i, r) => {
|
|
|
4458
4458
|
"mask-y-to": Q()
|
|
4459
4459
|
}],
|
|
4460
4460
|
"mask-image-y-from-color": [{
|
|
4461
|
-
"mask-y-from":
|
|
4461
|
+
"mask-y-from": _()
|
|
4462
4462
|
}],
|
|
4463
4463
|
"mask-image-y-to-color": [{
|
|
4464
|
-
"mask-y-to":
|
|
4464
|
+
"mask-y-to": _()
|
|
4465
4465
|
}],
|
|
4466
4466
|
"mask-image-radial": [{
|
|
4467
4467
|
"mask-radial": [C, k]
|
|
@@ -4473,10 +4473,10 @@ const Yr = (i, r) => {
|
|
|
4473
4473
|
"mask-radial-to": Q()
|
|
4474
4474
|
}],
|
|
4475
4475
|
"mask-image-radial-from-color": [{
|
|
4476
|
-
"mask-radial-from":
|
|
4476
|
+
"mask-radial-from": _()
|
|
4477
4477
|
}],
|
|
4478
4478
|
"mask-image-radial-to-color": [{
|
|
4479
|
-
"mask-radial-to":
|
|
4479
|
+
"mask-radial-to": _()
|
|
4480
4480
|
}],
|
|
4481
4481
|
"mask-image-radial-shape": [{
|
|
4482
4482
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -4500,10 +4500,10 @@ const Yr = (i, r) => {
|
|
|
4500
4500
|
"mask-conic-to": Q()
|
|
4501
4501
|
}],
|
|
4502
4502
|
"mask-image-conic-from-color": [{
|
|
4503
|
-
"mask-conic-from":
|
|
4503
|
+
"mask-conic-from": _()
|
|
4504
4504
|
}],
|
|
4505
4505
|
"mask-image-conic-to-color": [{
|
|
4506
|
-
"mask-conic-to":
|
|
4506
|
+
"mask-conic-to": _()
|
|
4507
4507
|
}],
|
|
4508
4508
|
/**
|
|
4509
4509
|
* Mask Mode
|
|
@@ -4524,14 +4524,14 @@ const Yr = (i, r) => {
|
|
|
4524
4524
|
* @see https://tailwindcss.com/docs/mask-position
|
|
4525
4525
|
*/
|
|
4526
4526
|
"mask-position": [{
|
|
4527
|
-
mask:
|
|
4527
|
+
mask: je()
|
|
4528
4528
|
}],
|
|
4529
4529
|
/**
|
|
4530
4530
|
* Mask Repeat
|
|
4531
4531
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
4532
4532
|
*/
|
|
4533
4533
|
"mask-repeat": [{
|
|
4534
|
-
mask:
|
|
4534
|
+
mask: ze()
|
|
4535
4535
|
}],
|
|
4536
4536
|
/**
|
|
4537
4537
|
* Mask Size
|
|
@@ -4610,7 +4610,7 @@ const Yr = (i, r) => {
|
|
|
4610
4610
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
4611
4611
|
*/
|
|
4612
4612
|
"drop-shadow-color": [{
|
|
4613
|
-
"drop-shadow":
|
|
4613
|
+
"drop-shadow": _()
|
|
4614
4614
|
}],
|
|
4615
4615
|
/**
|
|
4616
4616
|
* Grayscale
|
|
@@ -4738,21 +4738,21 @@ const Yr = (i, r) => {
|
|
|
4738
4738
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
4739
4739
|
*/
|
|
4740
4740
|
"border-spacing": [{
|
|
4741
|
-
"border-spacing":
|
|
4741
|
+
"border-spacing": B()
|
|
4742
4742
|
}],
|
|
4743
4743
|
/**
|
|
4744
4744
|
* Border Spacing X
|
|
4745
4745
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
4746
4746
|
*/
|
|
4747
4747
|
"border-spacing-x": [{
|
|
4748
|
-
"border-spacing-x":
|
|
4748
|
+
"border-spacing-x": B()
|
|
4749
4749
|
}],
|
|
4750
4750
|
/**
|
|
4751
4751
|
* Border Spacing Y
|
|
4752
4752
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
4753
4753
|
*/
|
|
4754
4754
|
"border-spacing-y": [{
|
|
4755
|
-
"border-spacing-y":
|
|
4755
|
+
"border-spacing-y": B()
|
|
4756
4756
|
}],
|
|
4757
4757
|
/**
|
|
4758
4758
|
* Table Layout
|
|
@@ -4797,7 +4797,7 @@ const Yr = (i, r) => {
|
|
|
4797
4797
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
4798
4798
|
*/
|
|
4799
4799
|
ease: [{
|
|
4800
|
-
ease: ["linear", "initial",
|
|
4800
|
+
ease: ["linear", "initial", N, C, k]
|
|
4801
4801
|
}],
|
|
4802
4802
|
/**
|
|
4803
4803
|
* Transition Delay
|
|
@@ -4842,56 +4842,56 @@ const Yr = (i, r) => {
|
|
|
4842
4842
|
* @see https://tailwindcss.com/docs/rotate
|
|
4843
4843
|
*/
|
|
4844
4844
|
rotate: [{
|
|
4845
|
-
rotate:
|
|
4845
|
+
rotate: xe()
|
|
4846
4846
|
}],
|
|
4847
4847
|
/**
|
|
4848
4848
|
* Rotate X
|
|
4849
4849
|
* @see https://tailwindcss.com/docs/rotate
|
|
4850
4850
|
*/
|
|
4851
4851
|
"rotate-x": [{
|
|
4852
|
-
"rotate-x":
|
|
4852
|
+
"rotate-x": xe()
|
|
4853
4853
|
}],
|
|
4854
4854
|
/**
|
|
4855
4855
|
* Rotate Y
|
|
4856
4856
|
* @see https://tailwindcss.com/docs/rotate
|
|
4857
4857
|
*/
|
|
4858
4858
|
"rotate-y": [{
|
|
4859
|
-
"rotate-y":
|
|
4859
|
+
"rotate-y": xe()
|
|
4860
4860
|
}],
|
|
4861
4861
|
/**
|
|
4862
4862
|
* Rotate Z
|
|
4863
4863
|
* @see https://tailwindcss.com/docs/rotate
|
|
4864
4864
|
*/
|
|
4865
4865
|
"rotate-z": [{
|
|
4866
|
-
"rotate-z":
|
|
4866
|
+
"rotate-z": xe()
|
|
4867
4867
|
}],
|
|
4868
4868
|
/**
|
|
4869
4869
|
* Scale
|
|
4870
4870
|
* @see https://tailwindcss.com/docs/scale
|
|
4871
4871
|
*/
|
|
4872
4872
|
scale: [{
|
|
4873
|
-
scale:
|
|
4873
|
+
scale: Re()
|
|
4874
4874
|
}],
|
|
4875
4875
|
/**
|
|
4876
4876
|
* Scale X
|
|
4877
4877
|
* @see https://tailwindcss.com/docs/scale
|
|
4878
4878
|
*/
|
|
4879
4879
|
"scale-x": [{
|
|
4880
|
-
"scale-x":
|
|
4880
|
+
"scale-x": Re()
|
|
4881
4881
|
}],
|
|
4882
4882
|
/**
|
|
4883
4883
|
* Scale Y
|
|
4884
4884
|
* @see https://tailwindcss.com/docs/scale
|
|
4885
4885
|
*/
|
|
4886
4886
|
"scale-y": [{
|
|
4887
|
-
"scale-y":
|
|
4887
|
+
"scale-y": Re()
|
|
4888
4888
|
}],
|
|
4889
4889
|
/**
|
|
4890
4890
|
* Scale Z
|
|
4891
4891
|
* @see https://tailwindcss.com/docs/scale
|
|
4892
4892
|
*/
|
|
4893
4893
|
"scale-z": [{
|
|
4894
|
-
"scale-z":
|
|
4894
|
+
"scale-z": Re()
|
|
4895
4895
|
}],
|
|
4896
4896
|
/**
|
|
4897
4897
|
* Scale 3D
|
|
@@ -4903,21 +4903,21 @@ const Yr = (i, r) => {
|
|
|
4903
4903
|
* @see https://tailwindcss.com/docs/skew
|
|
4904
4904
|
*/
|
|
4905
4905
|
skew: [{
|
|
4906
|
-
skew:
|
|
4906
|
+
skew: He()
|
|
4907
4907
|
}],
|
|
4908
4908
|
/**
|
|
4909
4909
|
* Skew X
|
|
4910
4910
|
* @see https://tailwindcss.com/docs/skew
|
|
4911
4911
|
*/
|
|
4912
4912
|
"skew-x": [{
|
|
4913
|
-
"skew-x":
|
|
4913
|
+
"skew-x": He()
|
|
4914
4914
|
}],
|
|
4915
4915
|
/**
|
|
4916
4916
|
* Skew Y
|
|
4917
4917
|
* @see https://tailwindcss.com/docs/skew
|
|
4918
4918
|
*/
|
|
4919
4919
|
"skew-y": [{
|
|
4920
|
-
"skew-y":
|
|
4920
|
+
"skew-y": He()
|
|
4921
4921
|
}],
|
|
4922
4922
|
/**
|
|
4923
4923
|
* Transform
|
|
@@ -4945,28 +4945,28 @@ const Yr = (i, r) => {
|
|
|
4945
4945
|
* @see https://tailwindcss.com/docs/translate
|
|
4946
4946
|
*/
|
|
4947
4947
|
translate: [{
|
|
4948
|
-
translate:
|
|
4948
|
+
translate: Ne()
|
|
4949
4949
|
}],
|
|
4950
4950
|
/**
|
|
4951
4951
|
* Translate X
|
|
4952
4952
|
* @see https://tailwindcss.com/docs/translate
|
|
4953
4953
|
*/
|
|
4954
4954
|
"translate-x": [{
|
|
4955
|
-
"translate-x":
|
|
4955
|
+
"translate-x": Ne()
|
|
4956
4956
|
}],
|
|
4957
4957
|
/**
|
|
4958
4958
|
* Translate Y
|
|
4959
4959
|
* @see https://tailwindcss.com/docs/translate
|
|
4960
4960
|
*/
|
|
4961
4961
|
"translate-y": [{
|
|
4962
|
-
"translate-y":
|
|
4962
|
+
"translate-y": Ne()
|
|
4963
4963
|
}],
|
|
4964
4964
|
/**
|
|
4965
4965
|
* Translate Z
|
|
4966
4966
|
* @see https://tailwindcss.com/docs/translate
|
|
4967
4967
|
*/
|
|
4968
4968
|
"translate-z": [{
|
|
4969
|
-
"translate-z":
|
|
4969
|
+
"translate-z": Ne()
|
|
4970
4970
|
}],
|
|
4971
4971
|
/**
|
|
4972
4972
|
* Translate None
|
|
@@ -4981,7 +4981,7 @@ const Yr = (i, r) => {
|
|
|
4981
4981
|
* @see https://tailwindcss.com/docs/accent-color
|
|
4982
4982
|
*/
|
|
4983
4983
|
accent: [{
|
|
4984
|
-
accent:
|
|
4984
|
+
accent: _()
|
|
4985
4985
|
}],
|
|
4986
4986
|
/**
|
|
4987
4987
|
* Appearance
|
|
@@ -4995,7 +4995,7 @@ const Yr = (i, r) => {
|
|
|
4995
4995
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
4996
4996
|
*/
|
|
4997
4997
|
"caret-color": [{
|
|
4998
|
-
caret:
|
|
4998
|
+
caret: _()
|
|
4999
4999
|
}],
|
|
5000
5000
|
/**
|
|
5001
5001
|
* Color Scheme
|
|
@@ -5044,126 +5044,126 @@ const Yr = (i, r) => {
|
|
|
5044
5044
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5045
5045
|
*/
|
|
5046
5046
|
"scroll-m": [{
|
|
5047
|
-
"scroll-m":
|
|
5047
|
+
"scroll-m": B()
|
|
5048
5048
|
}],
|
|
5049
5049
|
/**
|
|
5050
5050
|
* Scroll Margin X
|
|
5051
5051
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5052
5052
|
*/
|
|
5053
5053
|
"scroll-mx": [{
|
|
5054
|
-
"scroll-mx":
|
|
5054
|
+
"scroll-mx": B()
|
|
5055
5055
|
}],
|
|
5056
5056
|
/**
|
|
5057
5057
|
* Scroll Margin Y
|
|
5058
5058
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5059
5059
|
*/
|
|
5060
5060
|
"scroll-my": [{
|
|
5061
|
-
"scroll-my":
|
|
5061
|
+
"scroll-my": B()
|
|
5062
5062
|
}],
|
|
5063
5063
|
/**
|
|
5064
5064
|
* Scroll Margin Start
|
|
5065
5065
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5066
5066
|
*/
|
|
5067
5067
|
"scroll-ms": [{
|
|
5068
|
-
"scroll-ms":
|
|
5068
|
+
"scroll-ms": B()
|
|
5069
5069
|
}],
|
|
5070
5070
|
/**
|
|
5071
5071
|
* Scroll Margin End
|
|
5072
5072
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5073
5073
|
*/
|
|
5074
5074
|
"scroll-me": [{
|
|
5075
|
-
"scroll-me":
|
|
5075
|
+
"scroll-me": B()
|
|
5076
5076
|
}],
|
|
5077
5077
|
/**
|
|
5078
5078
|
* Scroll Margin Top
|
|
5079
5079
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5080
5080
|
*/
|
|
5081
5081
|
"scroll-mt": [{
|
|
5082
|
-
"scroll-mt":
|
|
5082
|
+
"scroll-mt": B()
|
|
5083
5083
|
}],
|
|
5084
5084
|
/**
|
|
5085
5085
|
* Scroll Margin Right
|
|
5086
5086
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5087
5087
|
*/
|
|
5088
5088
|
"scroll-mr": [{
|
|
5089
|
-
"scroll-mr":
|
|
5089
|
+
"scroll-mr": B()
|
|
5090
5090
|
}],
|
|
5091
5091
|
/**
|
|
5092
5092
|
* Scroll Margin Bottom
|
|
5093
5093
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5094
5094
|
*/
|
|
5095
5095
|
"scroll-mb": [{
|
|
5096
|
-
"scroll-mb":
|
|
5096
|
+
"scroll-mb": B()
|
|
5097
5097
|
}],
|
|
5098
5098
|
/**
|
|
5099
5099
|
* Scroll Margin Left
|
|
5100
5100
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5101
5101
|
*/
|
|
5102
5102
|
"scroll-ml": [{
|
|
5103
|
-
"scroll-ml":
|
|
5103
|
+
"scroll-ml": B()
|
|
5104
5104
|
}],
|
|
5105
5105
|
/**
|
|
5106
5106
|
* Scroll Padding
|
|
5107
5107
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5108
5108
|
*/
|
|
5109
5109
|
"scroll-p": [{
|
|
5110
|
-
"scroll-p":
|
|
5110
|
+
"scroll-p": B()
|
|
5111
5111
|
}],
|
|
5112
5112
|
/**
|
|
5113
5113
|
* Scroll Padding X
|
|
5114
5114
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5115
5115
|
*/
|
|
5116
5116
|
"scroll-px": [{
|
|
5117
|
-
"scroll-px":
|
|
5117
|
+
"scroll-px": B()
|
|
5118
5118
|
}],
|
|
5119
5119
|
/**
|
|
5120
5120
|
* Scroll Padding Y
|
|
5121
5121
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5122
5122
|
*/
|
|
5123
5123
|
"scroll-py": [{
|
|
5124
|
-
"scroll-py":
|
|
5124
|
+
"scroll-py": B()
|
|
5125
5125
|
}],
|
|
5126
5126
|
/**
|
|
5127
5127
|
* Scroll Padding Start
|
|
5128
5128
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5129
5129
|
*/
|
|
5130
5130
|
"scroll-ps": [{
|
|
5131
|
-
"scroll-ps":
|
|
5131
|
+
"scroll-ps": B()
|
|
5132
5132
|
}],
|
|
5133
5133
|
/**
|
|
5134
5134
|
* Scroll Padding End
|
|
5135
5135
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5136
5136
|
*/
|
|
5137
5137
|
"scroll-pe": [{
|
|
5138
|
-
"scroll-pe":
|
|
5138
|
+
"scroll-pe": B()
|
|
5139
5139
|
}],
|
|
5140
5140
|
/**
|
|
5141
5141
|
* Scroll Padding Top
|
|
5142
5142
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5143
5143
|
*/
|
|
5144
5144
|
"scroll-pt": [{
|
|
5145
|
-
"scroll-pt":
|
|
5145
|
+
"scroll-pt": B()
|
|
5146
5146
|
}],
|
|
5147
5147
|
/**
|
|
5148
5148
|
* Scroll Padding Right
|
|
5149
5149
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5150
5150
|
*/
|
|
5151
5151
|
"scroll-pr": [{
|
|
5152
|
-
"scroll-pr":
|
|
5152
|
+
"scroll-pr": B()
|
|
5153
5153
|
}],
|
|
5154
5154
|
/**
|
|
5155
5155
|
* Scroll Padding Bottom
|
|
5156
5156
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5157
5157
|
*/
|
|
5158
5158
|
"scroll-pb": [{
|
|
5159
|
-
"scroll-pb":
|
|
5159
|
+
"scroll-pb": B()
|
|
5160
5160
|
}],
|
|
5161
5161
|
/**
|
|
5162
5162
|
* Scroll Padding Left
|
|
5163
5163
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5164
5164
|
*/
|
|
5165
5165
|
"scroll-pl": [{
|
|
5166
|
-
"scroll-pl":
|
|
5166
|
+
"scroll-pl": B()
|
|
5167
5167
|
}],
|
|
5168
5168
|
/**
|
|
5169
5169
|
* Scroll Snap Align
|
|
@@ -5241,21 +5241,21 @@ const Yr = (i, r) => {
|
|
|
5241
5241
|
* @see https://tailwindcss.com/docs/fill
|
|
5242
5242
|
*/
|
|
5243
5243
|
fill: [{
|
|
5244
|
-
fill: ["none", ...
|
|
5244
|
+
fill: ["none", ..._()]
|
|
5245
5245
|
}],
|
|
5246
5246
|
/**
|
|
5247
5247
|
* Stroke Width
|
|
5248
5248
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
5249
5249
|
*/
|
|
5250
5250
|
"stroke-w": [{
|
|
5251
|
-
stroke: [U, tt, We,
|
|
5251
|
+
stroke: [U, tt, We, ft]
|
|
5252
5252
|
}],
|
|
5253
5253
|
/**
|
|
5254
5254
|
* Stroke
|
|
5255
5255
|
* @see https://tailwindcss.com/docs/stroke
|
|
5256
5256
|
*/
|
|
5257
5257
|
stroke: [{
|
|
5258
|
-
stroke: ["none", ...
|
|
5258
|
+
stroke: ["none", ..._()]
|
|
5259
5259
|
}],
|
|
5260
5260
|
// ---------------------
|
|
5261
5261
|
// --- Accessibility ---
|
|
@@ -5323,11 +5323,11 @@ const Yr = (i, r) => {
|
|
|
5323
5323
|
},
|
|
5324
5324
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
5325
5325
|
};
|
|
5326
|
-
},
|
|
5326
|
+
}, Vi = /* @__PURE__ */ bi(Fi);
|
|
5327
5327
|
function A(...i) {
|
|
5328
|
-
return
|
|
5328
|
+
return Vi(Yr(i));
|
|
5329
5329
|
}
|
|
5330
|
-
const
|
|
5330
|
+
const Ge = Se.forwardRef(
|
|
5331
5331
|
({ className: i, variant: r = "default", size: n = "default", ...o }, d) => {
|
|
5332
5332
|
const h = A(
|
|
5333
5333
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium",
|
|
@@ -5379,8 +5379,8 @@ const Ve = Ee.forwardRef(
|
|
|
5379
5379
|
);
|
|
5380
5380
|
}
|
|
5381
5381
|
);
|
|
5382
|
-
|
|
5383
|
-
const
|
|
5382
|
+
Ge.displayName = "Button";
|
|
5383
|
+
const sr = Se.forwardRef(
|
|
5384
5384
|
({ className: i, type: r, ...n }, o) => /* @__PURE__ */ b(
|
|
5385
5385
|
"input",
|
|
5386
5386
|
{
|
|
@@ -5399,7 +5399,7 @@ const ar = Ee.forwardRef(
|
|
|
5399
5399
|
}
|
|
5400
5400
|
)
|
|
5401
5401
|
);
|
|
5402
|
-
|
|
5402
|
+
sr.displayName = "Input";
|
|
5403
5403
|
function Xe({ className: i, variant: r = "default", ...n }) {
|
|
5404
5404
|
const o = {
|
|
5405
5405
|
default: A(
|
|
@@ -5435,7 +5435,7 @@ function Xe({ className: i, variant: r = "default", ...n }) {
|
|
|
5435
5435
|
}
|
|
5436
5436
|
);
|
|
5437
5437
|
}
|
|
5438
|
-
const
|
|
5438
|
+
const lr = Se.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b(
|
|
5439
5439
|
"div",
|
|
5440
5440
|
{
|
|
5441
5441
|
ref: n,
|
|
@@ -5448,8 +5448,8 @@ const sr = Ee.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b(
|
|
|
5448
5448
|
...r
|
|
5449
5449
|
}
|
|
5450
5450
|
));
|
|
5451
|
-
|
|
5452
|
-
const
|
|
5451
|
+
lr.displayName = "Card";
|
|
5452
|
+
const Gi = Se.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b(
|
|
5453
5453
|
"div",
|
|
5454
5454
|
{
|
|
5455
5455
|
ref: n,
|
|
@@ -5457,8 +5457,8 @@ const Vi = Ee.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b(
|
|
|
5457
5457
|
...r
|
|
5458
5458
|
}
|
|
5459
5459
|
));
|
|
5460
|
-
|
|
5461
|
-
const
|
|
5460
|
+
Gi.displayName = "CardHeader";
|
|
5461
|
+
const ji = Se.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b(
|
|
5462
5462
|
"h3",
|
|
5463
5463
|
{
|
|
5464
5464
|
ref: n,
|
|
@@ -5469,8 +5469,8 @@ const Gi = Ee.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b(
|
|
|
5469
5469
|
...r
|
|
5470
5470
|
}
|
|
5471
5471
|
));
|
|
5472
|
-
|
|
5473
|
-
const
|
|
5472
|
+
ji.displayName = "CardTitle";
|
|
5473
|
+
const zi = Se.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b(
|
|
5474
5474
|
"p",
|
|
5475
5475
|
{
|
|
5476
5476
|
ref: n,
|
|
@@ -5478,10 +5478,10 @@ const ji = Ee.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b(
|
|
|
5478
5478
|
...r
|
|
5479
5479
|
}
|
|
5480
5480
|
));
|
|
5481
|
-
|
|
5482
|
-
const
|
|
5483
|
-
|
|
5484
|
-
const
|
|
5481
|
+
zi.displayName = "CardDescription";
|
|
5482
|
+
const Hi = Se.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b("div", { ref: n, className: A("p-6 pt-0", i), ...r }));
|
|
5483
|
+
Hi.displayName = "CardContent";
|
|
5484
|
+
const Wi = Se.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b(
|
|
5485
5485
|
"div",
|
|
5486
5486
|
{
|
|
5487
5487
|
ref: n,
|
|
@@ -5489,8 +5489,8 @@ const Hi = Ee.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b(
|
|
|
5489
5489
|
...r
|
|
5490
5490
|
}
|
|
5491
5491
|
));
|
|
5492
|
-
|
|
5493
|
-
const
|
|
5492
|
+
Wi.displayName = "CardFooter";
|
|
5493
|
+
const Ki = ({ compact: i = !1 }) => {
|
|
5494
5494
|
const { sessionState: r, triggerSession: n, theme: o } = rt(), d = o === "dark", h = (c) => {
|
|
5495
5495
|
if (!c) return "N/A";
|
|
5496
5496
|
try {
|
|
@@ -5502,19 +5502,19 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5502
5502
|
return "Invalid date";
|
|
5503
5503
|
}
|
|
5504
5504
|
};
|
|
5505
|
-
return i ? /* @__PURE__ */
|
|
5506
|
-
r.isSessionReady ? /* @__PURE__ */
|
|
5507
|
-
/* @__PURE__ */ b(
|
|
5505
|
+
return i ? /* @__PURE__ */ M("div", { className: "flex items-center gap-2", children: [
|
|
5506
|
+
r.isSessionReady ? /* @__PURE__ */ M(Xe, { variant: "success", className: "gap-1", children: [
|
|
5507
|
+
/* @__PURE__ */ b(It, { className: "h-3 w-3" }),
|
|
5508
5508
|
"Session Active"
|
|
5509
|
-
] }) : r.lastError ? /* @__PURE__ */
|
|
5510
|
-
/* @__PURE__ */ b(
|
|
5509
|
+
] }) : r.lastError ? /* @__PURE__ */ M(Xe, { variant: "destructive", className: "gap-1", children: [
|
|
5510
|
+
/* @__PURE__ */ b(ut, { className: "h-3 w-3" }),
|
|
5511
5511
|
"Error"
|
|
5512
|
-
] }) : /* @__PURE__ */
|
|
5513
|
-
/* @__PURE__ */ b(
|
|
5512
|
+
] }) : /* @__PURE__ */ M(Xe, { variant: "secondary", className: "gap-1", children: [
|
|
5513
|
+
/* @__PURE__ */ b(Rt, { className: "h-3 w-3" }),
|
|
5514
5514
|
"Ready"
|
|
5515
5515
|
] }),
|
|
5516
|
-
!r.isSessionReady && /* @__PURE__ */
|
|
5517
|
-
|
|
5516
|
+
!r.isSessionReady && /* @__PURE__ */ M(
|
|
5517
|
+
Ge,
|
|
5518
5518
|
{
|
|
5519
5519
|
variant: "outline",
|
|
5520
5520
|
size: "sm",
|
|
@@ -5524,21 +5524,21 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5524
5524
|
d ? "border-gray-700 hover:bg-gray-800 hover:border-gray-600" : "border-gray-200 hover:bg-gray-50 hover:border-gray-300"
|
|
5525
5525
|
),
|
|
5526
5526
|
children: [
|
|
5527
|
-
/* @__PURE__ */ b(
|
|
5527
|
+
/* @__PURE__ */ b(Nt, { className: "h-3 w-3 mr-1" }),
|
|
5528
5528
|
"Start"
|
|
5529
5529
|
]
|
|
5530
5530
|
}
|
|
5531
5531
|
)
|
|
5532
|
-
] }) : /* @__PURE__ */ b(
|
|
5532
|
+
] }) : /* @__PURE__ */ b(lr, { className: A(
|
|
5533
5533
|
"p-3 border",
|
|
5534
5534
|
d ? "bg-gray-800/50 border-gray-700/50" : "bg-gray-50 border-gray-100"
|
|
5535
|
-
), children: /* @__PURE__ */
|
|
5536
|
-
/* @__PURE__ */
|
|
5537
|
-
/* @__PURE__ */
|
|
5535
|
+
), children: /* @__PURE__ */ M("div", { className: "space-y-3", children: [
|
|
5536
|
+
/* @__PURE__ */ M("div", { className: "flex items-center justify-between", children: [
|
|
5537
|
+
/* @__PURE__ */ M("div", { className: "flex items-center gap-2", children: [
|
|
5538
5538
|
/* @__PURE__ */ b("div", { className: A(
|
|
5539
5539
|
"w-6 h-6 rounded-md flex items-center justify-center",
|
|
5540
5540
|
r.isSessionReady ? "bg-emerald-100 dark:bg-emerald-500/20" : d ? "bg-gray-800" : "bg-gray-100"
|
|
5541
|
-
), children: /* @__PURE__ */ b(
|
|
5541
|
+
), children: /* @__PURE__ */ b(Rt, { className: A(
|
|
5542
5542
|
"h-3.5 w-3.5",
|
|
5543
5543
|
r.isSessionReady ? "text-emerald-600 dark:text-emerald-400" : d ? "text-gray-400" : "text-gray-500"
|
|
5544
5544
|
) }) }),
|
|
@@ -5547,16 +5547,16 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5547
5547
|
d ? "text-white" : "text-gray-900"
|
|
5548
5548
|
), children: "Session" })
|
|
5549
5549
|
] }),
|
|
5550
|
-
r.isSessionReady ? /* @__PURE__ */
|
|
5551
|
-
/* @__PURE__ */ b(
|
|
5550
|
+
r.isSessionReady ? /* @__PURE__ */ M(Xe, { variant: "success", children: [
|
|
5551
|
+
/* @__PURE__ */ b(It, { className: "h-3 w-3 mr-1" }),
|
|
5552
5552
|
"Active"
|
|
5553
|
-
] }) : r.lastError ? /* @__PURE__ */
|
|
5554
|
-
/* @__PURE__ */ b(
|
|
5553
|
+
] }) : r.lastError ? /* @__PURE__ */ M(Xe, { variant: "destructive", children: [
|
|
5554
|
+
/* @__PURE__ */ b(ut, { className: "h-3 w-3 mr-1" }),
|
|
5555
5555
|
"Error"
|
|
5556
5556
|
] }) : /* @__PURE__ */ b(Xe, { variant: "secondary", children: "Not Started" })
|
|
5557
5557
|
] }),
|
|
5558
|
-
/* @__PURE__ */
|
|
5559
|
-
r.session_id && /* @__PURE__ */
|
|
5558
|
+
/* @__PURE__ */ M("div", { className: "space-y-2", children: [
|
|
5559
|
+
r.session_id && /* @__PURE__ */ M("div", { className: A(
|
|
5560
5560
|
"flex items-start gap-2 p-2 rounded-lg",
|
|
5561
5561
|
d ? "bg-gray-800/50 border border-gray-700/50" : "bg-white border border-gray-100"
|
|
5562
5562
|
), children: [
|
|
@@ -5569,22 +5569,22 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5569
5569
|
d ? "text-gray-300" : "text-gray-700"
|
|
5570
5570
|
), children: r.session_id })
|
|
5571
5571
|
] }),
|
|
5572
|
-
r.expires_at && /* @__PURE__ */
|
|
5572
|
+
r.expires_at && /* @__PURE__ */ M("div", { className: A(
|
|
5573
5573
|
"flex items-center gap-2 p-2 rounded-lg",
|
|
5574
5574
|
d ? "bg-gray-800/50 border border-gray-700/50" : "bg-white border border-gray-100"
|
|
5575
5575
|
), children: [
|
|
5576
|
-
/* @__PURE__ */ b(
|
|
5577
|
-
/* @__PURE__ */
|
|
5576
|
+
/* @__PURE__ */ b(fr, { className: A("h-3.5 w-3.5", d ? "text-gray-500" : "text-gray-400") }),
|
|
5577
|
+
/* @__PURE__ */ M("span", { className: A("text-xs", d ? "text-gray-400" : "text-gray-600"), children: [
|
|
5578
5578
|
"Expires in: ",
|
|
5579
5579
|
/* @__PURE__ */ b("span", { className: "font-medium", children: h(r.expires_at) })
|
|
5580
5580
|
] })
|
|
5581
5581
|
] }),
|
|
5582
|
-
r.lastError && /* @__PURE__ */
|
|
5582
|
+
r.lastError && /* @__PURE__ */ M("div", { className: A(
|
|
5583
5583
|
"flex items-start gap-3 p-3 rounded-xl border",
|
|
5584
5584
|
d ? "bg-red-950/30 border-red-900/50" : "bg-red-50 border-red-100"
|
|
5585
5585
|
), children: [
|
|
5586
|
-
/* @__PURE__ */ b("div", { className: "w-6 h-6 rounded-lg bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ b(
|
|
5587
|
-
/* @__PURE__ */
|
|
5586
|
+
/* @__PURE__ */ b("div", { className: "w-6 h-6 rounded-lg bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ b(ut, { className: "h-3.5 w-3.5 text-white" }) }),
|
|
5587
|
+
/* @__PURE__ */ M("div", { className: "flex-1 min-w-0", children: [
|
|
5588
5588
|
/* @__PURE__ */ b("p", { className: A(
|
|
5589
5589
|
"text-xs font-medium mb-0.5",
|
|
5590
5590
|
d ? "text-red-300" : "text-red-800"
|
|
@@ -5596,8 +5596,8 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5596
5596
|
] })
|
|
5597
5597
|
] })
|
|
5598
5598
|
] }),
|
|
5599
|
-
!r.isSessionReady && /* @__PURE__ */
|
|
5600
|
-
|
|
5599
|
+
!r.isSessionReady && /* @__PURE__ */ M(
|
|
5600
|
+
Ge,
|
|
5601
5601
|
{
|
|
5602
5602
|
variant: "outline",
|
|
5603
5603
|
size: "sm",
|
|
@@ -5607,17 +5607,17 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5607
5607
|
d ? "border-gray-700 hover:bg-gray-800 hover:border-gray-600" : "border-gray-200 hover:bg-gray-50 hover:border-gray-300"
|
|
5608
5608
|
),
|
|
5609
5609
|
children: [
|
|
5610
|
-
/* @__PURE__ */ b(
|
|
5610
|
+
/* @__PURE__ */ b(Nt, { className: "h-4 w-4 mr-2" }),
|
|
5611
5611
|
"Start Session"
|
|
5612
5612
|
]
|
|
5613
5613
|
}
|
|
5614
5614
|
)
|
|
5615
5615
|
] }) });
|
|
5616
|
-
},
|
|
5617
|
-
const { chatMessages: i, sendMessage: r, isConnected: n, theme: o } = rt(), [d, h] = he(""), [c, l] = he(!1), m =
|
|
5616
|
+
}, Ji = () => {
|
|
5617
|
+
const { chatMessages: i, sendMessage: r, isConnected: n, theme: o } = rt(), [d, h] = he(""), [c, l] = he(!1), m = be(null), v = o === "dark", f = () => {
|
|
5618
5618
|
m.current?.scrollIntoView({ behavior: "smooth" });
|
|
5619
5619
|
};
|
|
5620
|
-
|
|
5620
|
+
Ee(() => {
|
|
5621
5621
|
f();
|
|
5622
5622
|
}, [i]);
|
|
5623
5623
|
const u = async () => {
|
|
@@ -5631,25 +5631,25 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5631
5631
|
} finally {
|
|
5632
5632
|
l(!1);
|
|
5633
5633
|
}
|
|
5634
|
-
},
|
|
5634
|
+
}, O = (x) => {
|
|
5635
5635
|
x.key === "Enter" && !x.shiftKey && (x.preventDefault(), u());
|
|
5636
5636
|
}, w = (x) => new Date(x).toLocaleTimeString("en-US", {
|
|
5637
5637
|
hour: "2-digit",
|
|
5638
5638
|
minute: "2-digit"
|
|
5639
5639
|
});
|
|
5640
|
-
return /* @__PURE__ */
|
|
5640
|
+
return /* @__PURE__ */ M("div", { className: A(
|
|
5641
5641
|
"flex flex-col h-full",
|
|
5642
5642
|
v ? "bg-gray-950" : "bg-white"
|
|
5643
5643
|
), children: [
|
|
5644
5644
|
/* @__PURE__ */ b("div", { className: A(
|
|
5645
5645
|
"px-4 py-2 border-b",
|
|
5646
5646
|
v ? "border-gray-800 bg-gray-900" : "border-gray-100 bg-white"
|
|
5647
|
-
), children: /* @__PURE__ */
|
|
5648
|
-
/* @__PURE__ */
|
|
5647
|
+
), children: /* @__PURE__ */ M("div", { className: "flex items-center justify-between gap-3", children: [
|
|
5648
|
+
/* @__PURE__ */ M("div", { className: "flex items-center gap-2", children: [
|
|
5649
5649
|
/* @__PURE__ */ b("div", { className: A(
|
|
5650
5650
|
"w-6 h-6 rounded-lg flex items-center justify-center",
|
|
5651
5651
|
v ? "bg-gray-800" : "bg-gray-100"
|
|
5652
|
-
), children: /* @__PURE__ */ b(
|
|
5652
|
+
), children: /* @__PURE__ */ b(jt, { className: A(
|
|
5653
5653
|
"w-3 h-3",
|
|
5654
5654
|
v ? "text-gray-400" : "text-gray-600"
|
|
5655
5655
|
) }) }),
|
|
@@ -5658,17 +5658,17 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5658
5658
|
v ? "text-white" : "text-gray-900"
|
|
5659
5659
|
), children: "Conversation" })
|
|
5660
5660
|
] }),
|
|
5661
|
-
/* @__PURE__ */ b(
|
|
5661
|
+
/* @__PURE__ */ b(Ki, { compact: !0 })
|
|
5662
5662
|
] }) }),
|
|
5663
|
-
/* @__PURE__ */
|
|
5663
|
+
/* @__PURE__ */ M("div", { className: A(
|
|
5664
5664
|
"flex-1 overflow-y-auto p-4 space-y-4",
|
|
5665
5665
|
v ? "bg-gray-900/30" : "bg-gray-50/30"
|
|
5666
5666
|
), children: [
|
|
5667
|
-
i.length === 0 ? /* @__PURE__ */
|
|
5667
|
+
i.length === 0 ? /* @__PURE__ */ M("div", { className: "flex flex-col items-center justify-center h-full text-center px-4 aria-animate-fade-in", children: [
|
|
5668
5668
|
/* @__PURE__ */ b("div", { className: A(
|
|
5669
5669
|
"rounded-xl p-4 mb-3",
|
|
5670
5670
|
v ? "bg-gray-800" : "bg-gray-100"
|
|
5671
|
-
), children: /* @__PURE__ */ b(
|
|
5671
|
+
), children: /* @__PURE__ */ b(wt, { className: A(
|
|
5672
5672
|
"h-6 w-6",
|
|
5673
5673
|
v ? "text-gray-500" : "text-gray-400"
|
|
5674
5674
|
) }) }),
|
|
@@ -5676,7 +5676,7 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5676
5676
|
"text-xs font-medium",
|
|
5677
5677
|
v ? "text-gray-300" : "text-gray-700"
|
|
5678
5678
|
), children: "Start a conversation" })
|
|
5679
|
-
] }) : i.filter((x) => x.content && x.content.trim() !== "").map((x, E) => /* @__PURE__ */
|
|
5679
|
+
] }) : i.filter((x) => x.content && x.content.trim() !== "").map((x, E) => /* @__PURE__ */ M(
|
|
5680
5680
|
"div",
|
|
5681
5681
|
{
|
|
5682
5682
|
className: A(
|
|
@@ -5692,10 +5692,10 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5692
5692
|
"shrink-0 w-6 h-6 rounded-full flex items-center justify-center",
|
|
5693
5693
|
x.role === "user" ? "bg-indigo-500 text-white" : v ? "bg-gray-700 text-gray-300" : "bg-gray-200 text-gray-600"
|
|
5694
5694
|
),
|
|
5695
|
-
children: x.role === "user" ? /* @__PURE__ */ b(
|
|
5695
|
+
children: x.role === "user" ? /* @__PURE__ */ b(mr, { className: "h-3 w-3" }) : /* @__PURE__ */ b(wr, { className: "h-3 w-3" })
|
|
5696
5696
|
}
|
|
5697
5697
|
),
|
|
5698
|
-
/* @__PURE__ */
|
|
5698
|
+
/* @__PURE__ */ M(
|
|
5699
5699
|
"div",
|
|
5700
5700
|
{
|
|
5701
5701
|
className: A(
|
|
@@ -5732,16 +5732,16 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5732
5732
|
/* @__PURE__ */ b("div", { className: A(
|
|
5733
5733
|
"p-3 border-t",
|
|
5734
5734
|
v ? "border-gray-800 bg-gray-900" : "border-gray-100 bg-white"
|
|
5735
|
-
), children: /* @__PURE__ */
|
|
5735
|
+
), children: /* @__PURE__ */ M("div", { className: A(
|
|
5736
5736
|
"flex gap-2 p-1 rounded-lg border transition-all duration-200",
|
|
5737
5737
|
v ? "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"
|
|
5738
5738
|
), children: [
|
|
5739
5739
|
/* @__PURE__ */ b(
|
|
5740
|
-
|
|
5740
|
+
sr,
|
|
5741
5741
|
{
|
|
5742
5742
|
value: d,
|
|
5743
5743
|
onChange: (x) => h(x.target.value),
|
|
5744
|
-
onKeyDown:
|
|
5744
|
+
onKeyDown: O,
|
|
5745
5745
|
placeholder: n ? "Type..." : "Connect...",
|
|
5746
5746
|
disabled: !n || c,
|
|
5747
5747
|
className: A(
|
|
@@ -5751,7 +5751,7 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5751
5751
|
}
|
|
5752
5752
|
),
|
|
5753
5753
|
/* @__PURE__ */ b(
|
|
5754
|
-
|
|
5754
|
+
Ge,
|
|
5755
5755
|
{
|
|
5756
5756
|
onClick: u,
|
|
5757
5757
|
disabled: !n || !d.trim() || c,
|
|
@@ -5760,12 +5760,12 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5760
5760
|
"h-7 w-7 rounded-md shrink-0 transition-all duration-200",
|
|
5761
5761
|
"bg-primary hover:bg-primary/90 disabled:opacity-40"
|
|
5762
5762
|
),
|
|
5763
|
-
children: /* @__PURE__ */ b(
|
|
5763
|
+
children: /* @__PURE__ */ b(vr, { className: "h-3.5 w-3.5" })
|
|
5764
5764
|
}
|
|
5765
5765
|
)
|
|
5766
5766
|
] }) })
|
|
5767
5767
|
] });
|
|
5768
|
-
},
|
|
5768
|
+
}, At = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAkACQAAD/4QCSRXhpZgAATU0AKgAAAAgABAEaAAUAAAABAAAAPgEbAAUAAAABAAAARgEoAAMAAAABAAIAAIdpAAQAAAABAAAATgAAAAAAAACQAAAAAQAAAJAAAAABAAOShgAHAAAAEgAAAHigAgAEAAAAAQAAAMigAwAEAAAAAQAAAJkAAAAAQVNDSUkAAABTY3JlZW5zaG90/+0AOFBob3Rvc2hvcCAzLjAAOEJJTQQEAAAAAAAAOEJJTQQlAAAAAAAQ1B2M2Y8AsgTpgAmY7PhCfv/iAihJQ0NfUFJPRklMRQABAQAAAhhhcHBsBAAAAG1udHJSR0IgWFlaIAfmAAEAAQAAAAAAAGFjc3BBUFBMAAAAAEFQUEwAAAAAAAAAAAAAAAAAAAAAAAD21gABAAAAANMtYXBwbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACmRlc2MAAAD8AAAAMGNwcnQAAAEsAAAAUHd0cHQAAAF8AAAAFHJYWVoAAAGQAAAAFGdYWVoAAAGkAAAAFGJYWVoAAAG4AAAAFHJUUkMAAAHMAAAAIGNoYWQAAAHsAAAALGJUUkMAAAHMAAAAIGdUUkMAAAHMAAAAIG1sdWMAAAAAAAAAAQAAAAxlblVTAAAAFAAAABwARABpAHMAcABsAGEAeQAgAFAAM21sdWMAAAAAAAAAAQAAAAxlblVTAAAANAAAABwAQwBvAHAAeQByAGkAZwBoAHQAIABBAHAAcABsAGUAIABJAG4AYwAuACwAIAAyADAAMgAyWFlaIAAAAAAAAPbVAAEAAAAA0yxYWVogAAAAAAAAg98AAD2/////u1hZWiAAAAAAAABKvwAAsTcAAAq5WFlaIAAAAAAAACg4AAARCwAAyLlwYXJhAAAAAAADAAAAAmZmAADypwAADVkAABPQAAAKW3NmMzIAAAAAAAEMQgAABd7///MmAAAHkwAA/ZD///ui///9owAAA9wAAMBu/8AAEQgAmQDIAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/bAEMABAQEBAQEBgQEBgkGBgYJDAkJCQkMDwwMDAwMDxIPDw8PDw8SEhISEhISEhUVFRUVFRkZGRkZHBwcHBwcHBwcHP/bAEMBBAUFBwcHDAcHDB0UEBQdHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHf/dAAQADf/aAAwDAQACEQMRAD8A98/sPRP+gda/9+Y//iaP7D0T/oHWv/fmP/4mtKlzQcZl/wBiaL/0DrX/AL8x/wDxNJ/Ymif9A61/78x//E1qUUBcy/7D0T/oHWv/AH5j/wDiaP7D0T/oHWv/AH5j/wDia1KTNAXZmf2Hon/QOtf+/Mf/AMTR/YmiD/mHWv8A35T/AOJrTzRQK5l/2Jov/QOtf+/Mf/xNJ/Ymif8AQOtf+/Mf/wATWpXM+K/FOm+EtKk1TUm4Hyxxj7zt2AoC5oHRdE6nT7X/AL8x/wDxNU57TwtaoXuLaxjVeSWjiH9K+PvEvxe8R6/cMkcpsrQ8eVCTkj3auLuLyS7iM0sr59Cc/wA6Tdhn2jL4g+HEUnlM+nFvaOM/0pLbxB8NruQRQyadvPABjjB/UV8UWEUs0c02SUiA6+5rKu7l/MIjGB61Kld2HayP0STSdClUPHY2jqehEUZH8qd/Yui/9A+1/wC/Kf8AxNfB3h/x34p8OSq2n3biNesTnchH+6en4Yr6u+HvxMs/GKGzu0FrqKDOwH5ZB3K/TuKsi56F/Yui/wDQPtf+/Kf/ABNJ/Yui/wDQPtf+/Kf/ABNadJmgZm/2Lov/AED7X/vyn+FJ/Yui/wDQPtf+/Kf/ABNaVFAjM/sXRf8AoH2v/flP/iaadG0X/oH2v/flP/ia0ic0lAzN/sXRv+gfbf8AflP8KT+xtF/6B9t/35T/AArSJpKAM3+xdG/6B9t/35T/AApP7F0b/oH23/flP8K06KBn/9D6OzRTaKDiHUlJRQMXNJRRQIKKKSgBrMqqWYhVAySewr4S+KnjGbxX4klMTYsbQmK3QH7wB5f/AIEefpX1t8SNS/svwVqlwp2u8XlKQcHLkD+Wa+NvCnh5Ndvx5gPluc5rOpNQV2XCDnJRRyun6bf3r/6PEzjI6DJrubfwV4hvV2pbMiercV9F6L4f0zSY1htIlXHU45NdKYwvAFeW8VKWx68cDFfEz5y0/wAE6lZwS290uRKB932rgte8LalZSM32eQqTwQDivrySNSTWdeRRmPDgH61isRNO5tLCQcbI+IngurcjfGy/WtnQtZn0jUYNRt3KS27h1I9R2Psehr3nW9OsrxHjeJeM4IFfPupaabO6kVOgJx9K9ChiFU3PLxGGdPY/QPw1r1r4l0S11m0+7OvzL3Vhwyn6Gt3OK+VvgLrrx6hdaG8h8q4QyohP/LRMZI+q9fpX1Lmu44x26kJzTc0ZoAM0mTSZozQAtJmkzSZoAWim80UDP//R+jKKKM0HEFFJmjNAwzSZoooEGaKKaTQM8O+PV95Hha3ss4+0z5z2wg/+vXlPwxVXy6jlBjPua779oBwdO0y3cfKzyNu9GAFc98P9Pj0vQk1Cc4EoMhPotcGMfuWO3Bq9S569bg4rXRGKHPpXkk3jHV4SZrXS2aAdC/BPviprb4jalORDcaeYkzjK815sYWV2e17RN2R38pGSB1rFvS5X2pW1FPL85uMjNeV6x47vkuJIbO0LBTjce9ZRi5OyNZNQV2bepKVV/evFPFcBT98B7GuybWvE93mRreNV9GOKrPENThZbmLYx4Knnn2NdNJODu2cNdqcbWOY+G2rf2P4psb1zhBKFc/7L/Kf5195jkA1+bluk/wDaaWttnzGmCL9d3H61+jsBYwRmT72xd31xzXuJng2Js0maTNJTAXNGaSkoAXIpM+lJRmgAopM0lAH/0voqim7qN1BxjqKbupCaBD6KZk0Ek0AKabRTSe1AHhnxy2yaHbW/lbnLllf0HGf6VieEwV8JWCY3MI+/sTXf/EO4h8q0sZQGaZn2Ke5CmuP8P7rbSrdJE2kbhjt1NeTjJO9j3cBSTSmvQ4TV5tfkuLiMLgxqHUN3GeijvxUPhJNYvJ0W8RVLsw4GCAOma9qbSYNRUO65xVi20ew06J5Ykw/r3rkv7trHc4tTu38jm9chW20R5F/1icV53a6XO1uswx5kkbuJHGVUj7ox6sfyFek+IlaTTHRefmBx7Cue0OSK6ga3OGCnBFZRfK7lyi3oeLSxa9JveaYmTf8AKmB0/Ct6yiuYcedxnsfWvUbjTNPizJsGR3ritRmV51RR0PFbe1cnsY/V+VN3PImgaz1q5uF4MLswz256190eFtT/ALX0CyvictJEhb67RmviDX0khur+6z+6kOwe7HAI/Cvqb4OXZufBlujHJiJX8M8V69F31PCrxUbRPWaTNNzQTXScouaQmmlqYWoAeSO9JuqIsKYWoFcm3Ub6g3UbxQFz/9P6EBp2ahBp1BxklFR0UAPyKTdTaKAFJNNJoNIaAPnj42389jf6LcQHBhLSge6kVvqbeawgubf7kyrJj03DNch8edwv9HHQOkq/qK4zwL4inkuhodzKWRbfbCCeAYjnj6gn8q83Fxum0erga3K+V9T3fTr/AOz9elQXF9cXdxIsQzGo3EDqcVy7yXHlMIjl8cVFbarFo48mcyPIfvvjgn0FeUpuS5T6FpXv1Ket+MAmnkNbPEeQA64ziuL8L+Im/tBXMZjSbIkB4wexrodX8WafNxNbmRY84DD7xIxXEnWLSFd4tWQk9MfyrdU3bYmcZR957Ho+r3+4HYRiuCMxkugc96vQRyXdnPdvuiGAyq1c8JVty0sjfLGCxPsKinvYxrT904rxTeFmjtBjG95Dj0JwP619KfAebd4bniz92Ukf5/Gvj2e8e8lMr4HUAD0JJ/rX1X+z5MZNK1GP/nnIp/76H/1q9ynHlSR8vVnzycj6KJAphOaaTTGatzC44tUZao2cVXaSgROZKjMvvVN5agaWgC/5gFHmj1rMM3fNJ51AH//U9/Bp+aiFPoOMdmim0UAOoptFAgJpDSGigD5g/aFk8u40dgedkp/Va+Z7PVrjTNRhv7dsPC4YfnyD9RX0N+0Xcg6jpNqOscEjn/gTAD+VfMEiuTuI4PA96hwTbuWpNbH1taaoLm1t7tAUFxGsi59DXRoEvbQwuoYHrWdp2iq/hmws34lggjAPcHaM1iJqd3ok/l3iHYD97sa+ZcfevE+rjVaS5ipqmi6ur/6LHvQfdzjisFNBvFuPtOoYG3k5Oa7668ZWbQhVwTXBar4gNyGSLgN1rXnqPQ6Kla8feZn3erSfvIkb5HPH4V5v4n1pkU6ZASGbBkPsecf411i/O+T2rzPxPxrM+e4Uj8hXfhacec8LF1XyaGVE2K+rP2dplNvrMGeQYm/D5hXyUjYP1r6a/Z4n26jqkWeGhU/k1eozx0fVjNUDvQ7VUkemSK8mOKpyS0ySTFUJJsUATPN71VefHeqUs9UHnPrSuBqm5FN+0isJrg0z7TSuM//V99FLUYPNPoOIdmjNJRQAuaM0lJmgANNJxmmSSLGpd2CqvJJOAPqa8z8V/FPw34eVraGX7ddspISEgqvpubp17CiwjwT44XKah40S1UnbaWyK59ySxx+eK858O6Vb6r4j0+0nwIVYuV/vbOQPxqXX9Zn13U7jVLkASTtuIHQAdAPpWVY30mm6ha38fWCQN+GeaVWL9nJLc1pNc65tj7Et9u3FVr6ytrpdkyBgexqtYXkd3aRXUJykqhh+NWHlBGTXzCXc+nWp5nrnhKKLdNZMR321wM1rLCxWQHIr266feSM8Vyd3pscpdmH41rGXczlBHmxYopZRkjtXBeLYSLyO5x8siBT9RXpWoQeQ5Velc1qFst3GYZE356D37V2UJ8skzgrw5otHmKgFgK+h/gO3keIbuPPEsA/9Crxu60JrGdGzlD1B9e9eg/DDUl0vxfaeYwSObdExPA+YcfqBXsWurnj7H2m7ACqEr4qZ2zVGZqQitLJisuaWp55KyZpOalgRyynmqEktEslZ8klQ2Ow95qj841UZ6Z5gqLsZ/9b3ing5qPNOBxQcI+imZNeZ+LfihoPhyKSC2kF7fLlRGh+VSP7zf0FOwM9BvtT0/TIftGoXEdtH/ekYDP09a8s1j41eFdPZorFZL5x3X5U/M8/pXzB4k8Wav4mvWu9TnLnnao4VB6KO1cmZDuq1HuFzt/F/xH8QeLb1knmMFop+WCMkKB7+p9zXFmQs2T1bn8BWchzcOO/FXF+8SeMcCq9BDmbBqOT50OO1E0scY3OcAVgXGpSM22H5V/nQxo+kfhprRnsjpcxy0PKZ9DXp118seSOtfHOkeJNU0ieO9s3CupzjHBHoa+m/A/j7RPGBTSdQQ2uokZAB+STHXaT0PtXiVcHLmvE9ili4pWkaSo8r8Dg1W1CEwQe5rub+wg05d9vGXA9TkVlQWsWuEb0ZFXqF/wAayeGnsb/W6bPIP7OlvrjYqliTgADNdbZeB/L+eZczt0Xrt/8Ar113iPUtG8B6K1+8S+e/yxR/xO3164HU15lafGbTZbaRtTtHt9o+UQnIc/U8iuyjhuXWR59bEc2kUcd8QrSDS72Cyj6rGXY+pY4H8q8xSZhJuU4NbninxJL4n1SXVMBEfCog/hVRgCuegXLZNemlZWOA+ifB3xZS0sI9O8RiSUx4WOdeTtA6MD1I9a9U0/xToet/Lpt0sj4zsPDfka+LpW2JkdiKsWWoXNjOlzayGOSM5VlOCDQ4gfZ879TWTM9eX+H/AImw3Kra658j9BMo4P8AvD+tegfaYbiITW7iSNuQynIrCSaBEc0nWs93qSVupqi7c1ztlis+aZuqIvSb6QH/1/dqKbRQcRyvjfxBH4b8NXmosR5hUxRD1kcYH5dfwr4PuZyZyC2c85PrX0H8edZZrqw0RG+WJDO4/wBp+B+QH6183XGSN1bJWRL1HSHBxUIOW5qPeXTnqKchyc0DKbSGO7O04JFUZLi8LkK55qxdHFyp9qkVRkGgCB7Vmh3SsWcjNVY7ZWi8wnJrcYArVCNdrvF2PIotqA8RoUAxxiiES2sqXFu7I8Z3KV4II75qVBxtoAI602gPpfwn4vuNc8PSfa3LXEAALdz2r0/wvbSw2IlumJMhyOe1fNfw2WSe9kskPyyMmR68/wD1q9t+JnihPDPhia2tH23U0flJjqu7gn8s1zcvvWNLnzR8TvEsmu+K75o5zLa27mGEZ+UKvBx9Tk1w15qTXLtJsVAQFCgcAD0quI3kOaGtyeK25bk3K8E5hf8A2T1FdBbuGwQc1jC2UGriho8eWdtWkJmtPzE49qowyb0Dd+9V2urlMq2DxUNs5ViG6GjqFjVDYrqvDnii70W4C7i9u5w8ZPH1Hoa5EcikB5oaT3EfT0F7BfW6XVs2+OQZBqN2rxvwr4kbS5/styc20p5/2T6j+teu+YrgOpDK3II6GuGcOVlpgTRmoyaM1FgP/9D2j7fYf8/MP/fxf8aPt9h/z8w/9/F/xr80aKDH2Z618VtVj1HxlqDpIrJE4iUggjCADj8c15m0iMuNw/OuRuf9c/1NV6vmJ9l5nVK65bkfnViNkCZ3D864unCjmD2Xmbt4wMqkEVaRkwpyOlcoetOFNSH7PzOwLrtHI/OqkpCOsgI4PPPrXN0hocg9n5nWBl7EfnTiycciuRoo5hez8z6J+EUluviBnuJESOJPMJZgPug+tVfipqX9o/ZZ2dT9rkkkUAg4jTCIP5mvDLP77fSkufux/Q/zqPtXH7PTc2FCr0Ipp28nIrnqKvmD2Xmb6lSc5FTAqO4/OuZFBp8wvZ+Zu5BnzkVMSnA4rnO9LS5h+y8zpQy+opscgLHkVzlIKOcPZeZ0jzKh6ivUPAusCezmtZ5APKYMm4j7p4/mK8KarNt1NTN3Vhqn5n1GbmHr5qf99D/Gj7VD/wA9U/76H+NfMxpK5+TzH7M//9k=", Qi = ({ onClose: i }) => {
|
|
5769
5769
|
const {
|
|
5770
5770
|
isConnected: r,
|
|
5771
5771
|
isLoading: n,
|
|
@@ -5778,12 +5778,12 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5778
5778
|
displayMode: v,
|
|
5779
5779
|
theme: f,
|
|
5780
5780
|
setVideoElement: u
|
|
5781
|
-
} = rt(),
|
|
5782
|
-
|
|
5781
|
+
} = rt(), O = be(null);
|
|
5782
|
+
Ee(() => (O.current && u(O.current), () => {
|
|
5783
5783
|
u(null);
|
|
5784
5784
|
}), [u]);
|
|
5785
5785
|
const w = f === "dark", x = v === "bottom-right";
|
|
5786
|
-
return /* @__PURE__ */
|
|
5786
|
+
return /* @__PURE__ */ M(
|
|
5787
5787
|
"div",
|
|
5788
5788
|
{
|
|
5789
5789
|
className: A(
|
|
@@ -5807,26 +5807,26 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5807
5807
|
WebkitBackdropFilter: "blur(8px)"
|
|
5808
5808
|
},
|
|
5809
5809
|
children: [
|
|
5810
|
-
/* @__PURE__ */
|
|
5810
|
+
/* @__PURE__ */ M("div", { className: A(
|
|
5811
5811
|
"relative px-4 py-1.5 flex items-center justify-between shrink-0",
|
|
5812
5812
|
"border-b",
|
|
5813
5813
|
w ? "border-gray-800/50 bg-gray-950" : "border-gray-100 bg-white"
|
|
5814
5814
|
), children: [
|
|
5815
|
-
/* @__PURE__ */
|
|
5816
|
-
/* @__PURE__ */
|
|
5815
|
+
/* @__PURE__ */ M("div", { className: "flex items-center gap-3 min-w-0 flex-1", children: [
|
|
5816
|
+
/* @__PURE__ */ M("div", { className: "relative shrink-0", children: [
|
|
5817
5817
|
/* @__PURE__ */ b("div", { className: A(
|
|
5818
5818
|
"w-8 h-8 rounded-xl flex items-center justify-center",
|
|
5819
5819
|
"bg-gray-100 dark:bg-gray-900 shadow-sm overflow-hidden"
|
|
5820
5820
|
), children: /* @__PURE__ */ b(
|
|
5821
5821
|
"img",
|
|
5822
5822
|
{
|
|
5823
|
-
src:
|
|
5823
|
+
src: At,
|
|
5824
5824
|
alt: "Aria",
|
|
5825
5825
|
className: "w-full h-full object-cover",
|
|
5826
|
-
onError: (
|
|
5827
|
-
|
|
5828
|
-
const
|
|
5829
|
-
|
|
5826
|
+
onError: (T) => {
|
|
5827
|
+
T.currentTarget.style.display = "none";
|
|
5828
|
+
const N = T.currentTarget.nextElementSibling;
|
|
5829
|
+
N && (N.style.display = "block");
|
|
5830
5830
|
}
|
|
5831
5831
|
}
|
|
5832
5832
|
) }),
|
|
@@ -5841,9 +5841,9 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5841
5841
|
w ? "text-white" : "text-gray-900"
|
|
5842
5842
|
), children: "Aria" }) })
|
|
5843
5843
|
] }),
|
|
5844
|
-
/* @__PURE__ */
|
|
5844
|
+
/* @__PURE__ */ M("div", { className: "flex items-center gap-0.5 shrink-0 ml-2", children: [
|
|
5845
5845
|
/* @__PURE__ */ b(
|
|
5846
|
-
|
|
5846
|
+
Ge,
|
|
5847
5847
|
{
|
|
5848
5848
|
variant: "ghost",
|
|
5849
5849
|
size: "icon",
|
|
@@ -5855,11 +5855,11 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5855
5855
|
o && w && "bg-gray-800 text-white",
|
|
5856
5856
|
w ? "hover:bg-gray-800 text-gray-400 hover:text-white" : "hover:bg-gray-100 text-gray-500 hover:text-gray-900"
|
|
5857
5857
|
),
|
|
5858
|
-
children: o ? /* @__PURE__ */ b(
|
|
5858
|
+
children: o ? /* @__PURE__ */ b(br, { className: "h-[16px] w-[16px]" }) : /* @__PURE__ */ b(jt, { className: "h-[16px] w-[16px]" })
|
|
5859
5859
|
}
|
|
5860
5860
|
),
|
|
5861
5861
|
/* @__PURE__ */ b(
|
|
5862
|
-
|
|
5862
|
+
Ge,
|
|
5863
5863
|
{
|
|
5864
5864
|
variant: "ghost",
|
|
5865
5865
|
size: "icon",
|
|
@@ -5871,11 +5871,11 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5871
5871
|
w ? "hover:bg-gray-800 text-gray-400 hover:text-white" : "hover:bg-gray-100 text-gray-500 hover:text-gray-900",
|
|
5872
5872
|
"disabled:opacity-30"
|
|
5873
5873
|
),
|
|
5874
|
-
children: d ? /* @__PURE__ */ b(
|
|
5874
|
+
children: d ? /* @__PURE__ */ b(_t, { className: "h-[16px] w-[16px]" }) : /* @__PURE__ */ b(Tt, { className: "h-[16px] w-[16px]" })
|
|
5875
5875
|
}
|
|
5876
5876
|
),
|
|
5877
5877
|
/* @__PURE__ */ b(
|
|
5878
|
-
|
|
5878
|
+
Ge,
|
|
5879
5879
|
{
|
|
5880
5880
|
variant: "ghost",
|
|
5881
5881
|
size: "icon",
|
|
@@ -5885,18 +5885,18 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5885
5885
|
"h-7 w-7 rounded-lg transition-all duration-200 border-none",
|
|
5886
5886
|
w ? "hover:bg-red-950/50 text-gray-400 hover:text-red-400" : "hover:bg-red-50 text-gray-500 hover:text-red-600"
|
|
5887
5887
|
),
|
|
5888
|
-
children: /* @__PURE__ */ b(
|
|
5888
|
+
children: /* @__PURE__ */ b(vt, { className: "h-[16px] w-[16px]" })
|
|
5889
5889
|
}
|
|
5890
5890
|
)
|
|
5891
5891
|
] })
|
|
5892
5892
|
] }),
|
|
5893
|
-
/* @__PURE__ */
|
|
5894
|
-
/* @__PURE__ */
|
|
5893
|
+
/* @__PURE__ */ M("div", { className: "flex-1 flex overflow-hidden min-h-0", children: [
|
|
5894
|
+
/* @__PURE__ */ M("div", { className: A(
|
|
5895
5895
|
"relative flex items-center justify-center overflow-hidden",
|
|
5896
5896
|
w ? "bg-gradient-to-br from-gray-900 to-black" : "bg-gradient-to-br from-gray-100 to-gray-50",
|
|
5897
5897
|
o ? "flex-1" : "w-full"
|
|
5898
5898
|
), children: [
|
|
5899
|
-
n && /* @__PURE__ */
|
|
5899
|
+
n && /* @__PURE__ */ M(
|
|
5900
5900
|
"div",
|
|
5901
5901
|
{
|
|
5902
5902
|
className: A(
|
|
@@ -5904,7 +5904,7 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5904
5904
|
w ? "bg-gradient-to-br from-gray-900 to-gray-950" : "bg-gradient-to-br from-gray-50 to-white"
|
|
5905
5905
|
),
|
|
5906
5906
|
children: [
|
|
5907
|
-
/* @__PURE__ */
|
|
5907
|
+
/* @__PURE__ */ M("div", { className: "absolute inset-0 overflow-hidden pointer-events-none", children: [
|
|
5908
5908
|
/* @__PURE__ */ b("div", { className: A(
|
|
5909
5909
|
"absolute w-96 h-96 rounded-full opacity-20 blur-3xl",
|
|
5910
5910
|
"animate-pulse",
|
|
@@ -5916,8 +5916,8 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5916
5916
|
w ? "bg-purple-900" : "bg-purple-300"
|
|
5917
5917
|
), style: { bottom: "20%", right: "10%", animationDuration: "4s", animationDelay: "1s" } })
|
|
5918
5918
|
] }),
|
|
5919
|
-
/* @__PURE__ */
|
|
5920
|
-
/* @__PURE__ */
|
|
5919
|
+
/* @__PURE__ */ M("div", { className: "relative flex flex-col items-center", children: [
|
|
5920
|
+
/* @__PURE__ */ M("div", { className: "relative mb-6", children: [
|
|
5921
5921
|
/* @__PURE__ */ b("div", { className: A(
|
|
5922
5922
|
"absolute -inset-3 rounded-full",
|
|
5923
5923
|
"animate-spin",
|
|
@@ -5937,11 +5937,11 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5937
5937
|
), children: /* @__PURE__ */ b(
|
|
5938
5938
|
"img",
|
|
5939
5939
|
{
|
|
5940
|
-
src:
|
|
5940
|
+
src: At,
|
|
5941
5941
|
alt: "Aria",
|
|
5942
5942
|
className: "w-full h-full object-cover",
|
|
5943
|
-
onError: (
|
|
5944
|
-
|
|
5943
|
+
onError: (T) => {
|
|
5944
|
+
T.currentTarget.style.display = "none";
|
|
5945
5945
|
}
|
|
5946
5946
|
}
|
|
5947
5947
|
) })
|
|
@@ -5950,7 +5950,7 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5950
5950
|
"text-lg font-semibold tracking-tight mb-2",
|
|
5951
5951
|
w ? "text-white" : "text-gray-900"
|
|
5952
5952
|
), children: "Connecting to Aria" }),
|
|
5953
|
-
/* @__PURE__ */ b("div", { className: "flex items-center gap-1.5 mb-4", children: [0, 1, 2].map((
|
|
5953
|
+
/* @__PURE__ */ b("div", { className: "flex items-center gap-1.5 mb-4", children: [0, 1, 2].map((T) => /* @__PURE__ */ b(
|
|
5954
5954
|
"div",
|
|
5955
5955
|
{
|
|
5956
5956
|
className: A(
|
|
@@ -5959,10 +5959,10 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5959
5959
|
),
|
|
5960
5960
|
style: {
|
|
5961
5961
|
animation: "aria-loading-bounce 1.4s ease-in-out infinite",
|
|
5962
|
-
animationDelay: `${
|
|
5962
|
+
animationDelay: `${T * 0.15}s`
|
|
5963
5963
|
}
|
|
5964
5964
|
},
|
|
5965
|
-
|
|
5965
|
+
T
|
|
5966
5966
|
)) }),
|
|
5967
5967
|
/* @__PURE__ */ b("p", { className: A(
|
|
5968
5968
|
"text-xs font-medium px-3 py-1.5 rounded-full",
|
|
@@ -5983,9 +5983,9 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
5983
5983
|
children: /* @__PURE__ */ b("div", { className: A(
|
|
5984
5984
|
"rounded-lg p-4 max-w-sm w-full shadow-lg border",
|
|
5985
5985
|
w ? "bg-gray-900 border-red-900/30" : "bg-white border-red-100"
|
|
5986
|
-
), children: /* @__PURE__ */
|
|
5987
|
-
/* @__PURE__ */ b("div", { className: "w-8 h-8 rounded-md bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ b(
|
|
5988
|
-
/* @__PURE__ */
|
|
5986
|
+
), children: /* @__PURE__ */ M("div", { className: "flex items-start gap-3", children: [
|
|
5987
|
+
/* @__PURE__ */ b("div", { className: "w-8 h-8 rounded-md bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ b(vt, { className: "w-4 h-4 text-white" }) }),
|
|
5988
|
+
/* @__PURE__ */ M("div", { className: "flex-1 min-w-0", children: [
|
|
5989
5989
|
/* @__PURE__ */ b("p", { className: A(
|
|
5990
5990
|
"text-sm font-semibold",
|
|
5991
5991
|
w ? "text-red-200" : "text-red-900"
|
|
@@ -6001,7 +6001,7 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
6001
6001
|
/* @__PURE__ */ b(
|
|
6002
6002
|
"video",
|
|
6003
6003
|
{
|
|
6004
|
-
ref:
|
|
6004
|
+
ref: O,
|
|
6005
6005
|
autoPlay: !0,
|
|
6006
6006
|
playsInline: !0,
|
|
6007
6007
|
className: "w-full h-full object-contain"
|
|
@@ -6016,13 +6016,13 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
6016
6016
|
w ? "bg-gradient-to-b from-white/60 to-transparent text-gray-900" : "bg-gradient-to-b from-black/60 to-transparent text-white"
|
|
6017
6017
|
),
|
|
6018
6018
|
style: { backdropFilter: "blur(4px)" },
|
|
6019
|
-
children: /* @__PURE__ */
|
|
6019
|
+
children: /* @__PURE__ */ M("div", { className: "flex items-start gap-2 max-w-full", children: [
|
|
6020
6020
|
/* @__PURE__ */ b("div", { className: "w-1.5 h-1.5 rounded-full bg-emerald-400 animate-pulse shrink-0 mt-1" }),
|
|
6021
6021
|
/* @__PURE__ */ b("p", { className: "text-xs leading-relaxed flex-1 line-clamp-3", children: h })
|
|
6022
6022
|
] })
|
|
6023
6023
|
}
|
|
6024
6024
|
),
|
|
6025
|
-
r && !c && /* @__PURE__ */
|
|
6025
|
+
r && !c && /* @__PURE__ */ M(
|
|
6026
6026
|
"div",
|
|
6027
6027
|
{
|
|
6028
6028
|
className: A(
|
|
@@ -6043,7 +6043,7 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
6043
6043
|
d ? "bg-red-500 hover:bg-red-600 text-white" : w ? "bg-gray-800/80 hover:bg-gray-700 text-gray-300" : "bg-gray-100/80 hover:bg-gray-200 text-gray-600"
|
|
6044
6044
|
),
|
|
6045
6045
|
title: d ? "Unmute" : "Mute",
|
|
6046
|
-
children: d ? /* @__PURE__ */ b(
|
|
6046
|
+
children: d ? /* @__PURE__ */ b(_t, { className: "h-4 w-4" }) : /* @__PURE__ */ b(Tt, { className: "h-4 w-4" })
|
|
6047
6047
|
}
|
|
6048
6048
|
),
|
|
6049
6049
|
/* @__PURE__ */ b(
|
|
@@ -6052,7 +6052,7 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
6052
6052
|
onClick: i,
|
|
6053
6053
|
className: "w-10 h-9 rounded-full bg-red-500 hover:bg-red-600 flex items-center justify-center transition-all duration-200 text-white border-0 outline-none focus:outline-none shadow-sm",
|
|
6054
6054
|
title: "End Call",
|
|
6055
|
-
children: /* @__PURE__ */ b(
|
|
6055
|
+
children: /* @__PURE__ */ b(yr, { className: "h-4 w-4 rotate-[135deg]" })
|
|
6056
6056
|
}
|
|
6057
6057
|
)
|
|
6058
6058
|
]
|
|
@@ -6063,25 +6063,25 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
6063
6063
|
"flex flex-col shrink-0 border-l",
|
|
6064
6064
|
x ? "w-[320px]" : "w-[360px]",
|
|
6065
6065
|
w ? "bg-gray-900 border-gray-800" : "bg-white border-gray-100"
|
|
6066
|
-
), children: /* @__PURE__ */ b(
|
|
6066
|
+
), children: /* @__PURE__ */ b(Ji, {}) })
|
|
6067
6067
|
] })
|
|
6068
6068
|
]
|
|
6069
6069
|
}
|
|
6070
6070
|
);
|
|
6071
|
-
},
|
|
6071
|
+
}, xt = ({
|
|
6072
6072
|
children: i,
|
|
6073
6073
|
styles: r = "",
|
|
6074
6074
|
className: n,
|
|
6075
6075
|
style: o,
|
|
6076
6076
|
as: d = "div"
|
|
6077
6077
|
}) => {
|
|
6078
|
-
const h =
|
|
6079
|
-
|
|
6078
|
+
const h = be(null), [c, l] = he(null);
|
|
6079
|
+
Ee(() => {
|
|
6080
6080
|
const f = h.current;
|
|
6081
6081
|
if (!f) return;
|
|
6082
6082
|
let u = f.shadowRoot;
|
|
6083
6083
|
u || (u = f.attachShadow({ mode: "open" })), l(u);
|
|
6084
|
-
}, []),
|
|
6084
|
+
}, []), Ee(() => {
|
|
6085
6085
|
if (!c || !r) return;
|
|
6086
6086
|
const f = c.querySelector("style[data-aria-styles]");
|
|
6087
6087
|
if (f) {
|
|
@@ -6094,7 +6094,7 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
6094
6094
|
};
|
|
6095
6095
|
}, [c, r]);
|
|
6096
6096
|
const [m, v] = he(null);
|
|
6097
|
-
return
|
|
6097
|
+
return Ee(() => {
|
|
6098
6098
|
if (!c) return;
|
|
6099
6099
|
let f = c.querySelector(".aria-shadow-content");
|
|
6100
6100
|
f || (f = document.createElement("div"), f.className = "aria-shadow-content", c.appendChild(f)), v(f);
|
|
@@ -6104,14 +6104,14 @@ const Wi = ({ compact: i = !1 }) => {
|
|
|
6104
6104
|
ref: h,
|
|
6105
6105
|
className: n,
|
|
6106
6106
|
style: o,
|
|
6107
|
-
children: m &&
|
|
6107
|
+
children: m && xr(i, m)
|
|
6108
6108
|
}
|
|
6109
6109
|
);
|
|
6110
|
-
}, lr = '@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-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--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-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-900:oklch(35.9% .144 278.697);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--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-purple-900:oklch(38.1% .176 304.987);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--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;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer aria-utilities{.pointer-events-none{pointer-events:none}.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-1\\.5{inset:calc(var(--spacing)*-1.5)}.-inset-3{inset:calc(var(--spacing)*-3)}.inset-0{inset:calc(var(--spacing)*0)}.inset-6{inset:calc(var(--spacing)*6)}.inset-\\[3px\\]{inset:3px}.top-0{top:calc(var(--spacing)*0)}.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)}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.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-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-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)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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{height:calc(var(--spacing)*2)}.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-20{height:calc(var(--spacing)*20)}.h-32{height:calc(var(--spacing)*32)}.h-64{height:calc(var(--spacing)*64)}.h-96{height:calc(var(--spacing)*96)}.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{width:calc(var(--spacing)*2)}.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-14{width:calc(var(--spacing)*14)}.w-20{width:calc(var(--spacing)*20)}.w-64{width:calc(var(--spacing)*64)}.w-96{width:calc(var(--spacing)*96)}.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-\\[80\\%\\]{max-width:80%}.max-w-full{max-width:100%}.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-1\\.5{gap:calc(var(--spacing)*1.5)}.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)}.rounded-br-md{border-bottom-right-radius:var(--radius-md)}.rounded-bl-md{border-bottom-left-radius:var(--radius-md)}.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-400{background-color:var(--color-emerald-400)}.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-100\\/80{background-color:#f3f4f6cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-100\\/80{background-color:color-mix(in oklab,var(--color-gray-100)80%,transparent)}}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-700{background-color:var(--color-gray-700)}.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-800\\/80{background-color:#1e2939cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-800\\/80{background-color:color-mix(in oklab,var(--color-gray-800)80%,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\\/90{background-color:#101828e6}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/90{background-color:color-mix(in oklab,var(--color-gray-900)90%,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\\/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-indigo-300{background-color:var(--color-indigo-300)}.bg-indigo-400{background-color:var(--color-indigo-400)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-indigo-900{background-color:var(--color-indigo-900)}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-300{background-color:var(--color-purple-300)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-purple-900{background-color:var(--color-purple-900)}.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-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.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-black\\/60{--tw-gradient-from:#0009}@supports (color:color-mix(in lab,red,red)){.from-black\\/60{--tw-gradient-from:color-mix(in oklab,var(--color-black)60%,transparent)}}.from-black\\/60{--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-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-50{--tw-gradient-from: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))}.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))}.from-indigo-400{--tw-gradient-from:var(--color-indigo-400);--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-indigo-500{--tw-gradient-from:var(--color-indigo-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-white\\/60{--tw-gradient-from:#fff9}@supports (color:color-mix(in lab,red,red)){.from-white\\/60{--tw-gradient-from:color-mix(in oklab,var(--color-white)60%,transparent)}}.from-white\\/60{--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)}.via-purple-400{--tw-gradient-via:var(--color-purple-400);--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)}.via-purple-500{--tw-gradient-via:var(--color-purple-500);--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-gray-950{--tw-gradient-to:var(--color-gray-950);--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-pink-400{--tw-gradient-to:var(--color-pink-400);--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-pink-500{--tw-gradient-to:var(--color-pink-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-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-400{--tw-gradient-to:var(--color-purple-400);--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-transparent{--tw-gradient-to:transparent;--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-\\[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)}.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-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-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-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-20{opacity:.2}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.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)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px 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)}.ring-4{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(4px + 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)}.ring-gray-900{--tw-ring-color:var(--color-gray-900)}.ring-white{--tw-ring-color:var(--color-white)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.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-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.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-700:hover{background-color:var(--color-gray-700)}.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)}}@keyframes aria-loading-bounce{0%,to{opacity:.5;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}.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-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@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}}';
|
|
6111
|
-
function
|
|
6112
|
-
return
|
|
6110
|
+
}, cr = '@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-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--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-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-900:oklch(35.9% .144 278.697);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--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-purple-900:oklch(38.1% .176 304.987);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--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;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer aria-utilities{.pointer-events-none{pointer-events:none}.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-1\\.5{inset:calc(var(--spacing)*-1.5)}.-inset-3{inset:calc(var(--spacing)*-3)}.inset-0{inset:calc(var(--spacing)*0)}.inset-6{inset:calc(var(--spacing)*6)}.inset-\\[3px\\]{inset:3px}.top-0{top:calc(var(--spacing)*0)}.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)}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.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-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-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)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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{height:calc(var(--spacing)*2)}.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-20{height:calc(var(--spacing)*20)}.h-32{height:calc(var(--spacing)*32)}.h-64{height:calc(var(--spacing)*64)}.h-96{height:calc(var(--spacing)*96)}.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{width:calc(var(--spacing)*2)}.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-14{width:calc(var(--spacing)*14)}.w-20{width:calc(var(--spacing)*20)}.w-64{width:calc(var(--spacing)*64)}.w-96{width:calc(var(--spacing)*96)}.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-\\[80\\%\\]{max-width:80%}.max-w-full{max-width:100%}.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-1\\.5{gap:calc(var(--spacing)*1.5)}.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)}.rounded-br-md{border-bottom-right-radius:var(--radius-md)}.rounded-bl-md{border-bottom-left-radius:var(--radius-md)}.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-400{background-color:var(--color-emerald-400)}.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-100\\/80{background-color:#f3f4f6cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-100\\/80{background-color:color-mix(in oklab,var(--color-gray-100)80%,transparent)}}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-700{background-color:var(--color-gray-700)}.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-800\\/80{background-color:#1e2939cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-800\\/80{background-color:color-mix(in oklab,var(--color-gray-800)80%,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\\/90{background-color:#101828e6}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/90{background-color:color-mix(in oklab,var(--color-gray-900)90%,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\\/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-indigo-300{background-color:var(--color-indigo-300)}.bg-indigo-400{background-color:var(--color-indigo-400)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-indigo-900{background-color:var(--color-indigo-900)}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-300{background-color:var(--color-purple-300)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-purple-900{background-color:var(--color-purple-900)}.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-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.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-black\\/60{--tw-gradient-from:#0009}@supports (color:color-mix(in lab,red,red)){.from-black\\/60{--tw-gradient-from:color-mix(in oklab,var(--color-black)60%,transparent)}}.from-black\\/60{--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-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-50{--tw-gradient-from: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))}.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))}.from-indigo-400{--tw-gradient-from:var(--color-indigo-400);--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-indigo-500{--tw-gradient-from:var(--color-indigo-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-white\\/60{--tw-gradient-from:#fff9}@supports (color:color-mix(in lab,red,red)){.from-white\\/60{--tw-gradient-from:color-mix(in oklab,var(--color-white)60%,transparent)}}.from-white\\/60{--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)}.via-purple-400{--tw-gradient-via:var(--color-purple-400);--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)}.via-purple-500{--tw-gradient-via:var(--color-purple-500);--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-gray-950{--tw-gradient-to:var(--color-gray-950);--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-pink-400{--tw-gradient-to:var(--color-pink-400);--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-pink-500{--tw-gradient-to:var(--color-pink-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-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-400{--tw-gradient-to:var(--color-purple-400);--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-transparent{--tw-gradient-to:transparent;--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-\\[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)}.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-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-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-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-20{opacity:.2}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.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)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px 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)}.ring-4{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(4px + 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)}.ring-gray-900{--tw-ring-color:var(--color-gray-900)}.ring-white{--tw-ring-color:var(--color-white)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.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-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.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-700:hover{background-color:var(--color-gray-700)}.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)}}@keyframes aria-loading-bounce{0%,to{opacity:.5;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}.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-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@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}}';
|
|
6111
|
+
function Et() {
|
|
6112
|
+
return cr;
|
|
6113
6113
|
}
|
|
6114
|
-
const mn =
|
|
6114
|
+
const mn = cr, qi = ({
|
|
6115
6115
|
label: i,
|
|
6116
6116
|
showIcon: r = !0,
|
|
6117
6117
|
showAvatar: n = !1,
|
|
@@ -6121,22 +6121,22 @@ const mn = lr, Qi = ({
|
|
|
6121
6121
|
className: c,
|
|
6122
6122
|
...l
|
|
6123
6123
|
}) => {
|
|
6124
|
-
const { openAssistant: m, triggerSession: v, config: f, displayMode: u, isOpen:
|
|
6125
|
-
return u === "bottom-right" ?
|
|
6126
|
-
|
|
6124
|
+
const { openAssistant: m, triggerSession: v, config: f, displayMode: u, isOpen: O, theme: w } = rt(), x = i || f.triggerLabel || "AI Assistant", E = w === "dark";
|
|
6125
|
+
return u === "bottom-right" ? O ? null : /* @__PURE__ */ b(
|
|
6126
|
+
xt,
|
|
6127
6127
|
{
|
|
6128
|
-
styles:
|
|
6128
|
+
styles: Et(),
|
|
6129
6129
|
style: {
|
|
6130
6130
|
position: "fixed",
|
|
6131
6131
|
bottom: "1.5rem",
|
|
6132
6132
|
right: "1.5rem",
|
|
6133
6133
|
zIndex: 9997
|
|
6134
6134
|
},
|
|
6135
|
-
children: /* @__PURE__ */ b("div", { className: A("aria-assistant-container", E && "aria-dark"), children: /* @__PURE__ */
|
|
6135
|
+
children: /* @__PURE__ */ b("div", { className: A("aria-assistant-container", E && "aria-dark"), children: /* @__PURE__ */ M(
|
|
6136
6136
|
"button",
|
|
6137
6137
|
{
|
|
6138
|
-
onClick: (
|
|
6139
|
-
|
|
6138
|
+
onClick: (T) => {
|
|
6139
|
+
T.preventDefault(), v({ userTrigger: !0 }), m("user"), o?.();
|
|
6140
6140
|
},
|
|
6141
6141
|
className: A(
|
|
6142
6142
|
"group relative flex items-center gap-3 px-3.5 py-2.5 rounded-xl",
|
|
@@ -6157,7 +6157,7 @@ const mn = lr, Qi = ({
|
|
|
6157
6157
|
),
|
|
6158
6158
|
...l,
|
|
6159
6159
|
children: [
|
|
6160
|
-
n ? /* @__PURE__ */
|
|
6160
|
+
n ? /* @__PURE__ */ M("div", { className: A(
|
|
6161
6161
|
"relative w-9 h-9 rounded-lg overflow-hidden shrink-0",
|
|
6162
6162
|
"shadow-sm transition-all duration-200",
|
|
6163
6163
|
E ? "bg-gray-800" : "bg-gray-100"
|
|
@@ -6165,13 +6165,13 @@ const mn = lr, Qi = ({
|
|
|
6165
6165
|
/* @__PURE__ */ b(
|
|
6166
6166
|
"img",
|
|
6167
6167
|
{
|
|
6168
|
-
src:
|
|
6168
|
+
src: At,
|
|
6169
6169
|
alt: x,
|
|
6170
6170
|
className: "w-full h-full object-cover",
|
|
6171
|
-
onError: (
|
|
6172
|
-
|
|
6173
|
-
const
|
|
6174
|
-
|
|
6171
|
+
onError: (T) => {
|
|
6172
|
+
T.currentTarget.style.display = "none";
|
|
6173
|
+
const N = T.currentTarget.nextElementSibling;
|
|
6174
|
+
N && (N.style.display = "flex");
|
|
6175
6175
|
}
|
|
6176
6176
|
}
|
|
6177
6177
|
),
|
|
@@ -6179,7 +6179,7 @@ const mn = lr, Qi = ({
|
|
|
6179
6179
|
"div",
|
|
6180
6180
|
{
|
|
6181
6181
|
className: "hidden w-full h-full items-center justify-center aria-gradient-bg text-white",
|
|
6182
|
-
children: /* @__PURE__ */ b(
|
|
6182
|
+
children: /* @__PURE__ */ b(wt, { className: "w-4 h-4" })
|
|
6183
6183
|
}
|
|
6184
6184
|
),
|
|
6185
6185
|
/* @__PURE__ */ b("span", { className: A(
|
|
@@ -6191,8 +6191,8 @@ const mn = lr, Qi = ({
|
|
|
6191
6191
|
"relative w-9 h-9 rounded-lg flex items-center justify-center shrink-0",
|
|
6192
6192
|
"aria-gradient-bg text-white shadow-sm",
|
|
6193
6193
|
"transition-transform duration-200 group-hover:scale-105"
|
|
6194
|
-
), children: /* @__PURE__ */ b(
|
|
6195
|
-
/* @__PURE__ */
|
|
6194
|
+
), children: /* @__PURE__ */ b(wt, { className: "w-4 h-4" }) }),
|
|
6195
|
+
/* @__PURE__ */ M("div", { className: "relative flex flex-col items-start min-w-0 text-left", children: [
|
|
6196
6196
|
/* @__PURE__ */ b("span", { className: A(
|
|
6197
6197
|
"font-bold text-[13px] tracking-tight leading-none",
|
|
6198
6198
|
E ? "text-white" : "text-gray-900"
|
|
@@ -6200,19 +6200,19 @@ const mn = lr, Qi = ({
|
|
|
6200
6200
|
/* @__PURE__ */ b("span", { className: A(
|
|
6201
6201
|
"text-[10px] font-medium mt-1 leading-none opacity-70",
|
|
6202
6202
|
E ? "text-gray-400" : "text-gray-500"
|
|
6203
|
-
), children: "
|
|
6203
|
+
), children: "Ask Aria" })
|
|
6204
6204
|
] })
|
|
6205
6205
|
]
|
|
6206
6206
|
}
|
|
6207
6207
|
) })
|
|
6208
6208
|
}
|
|
6209
6209
|
) : /* @__PURE__ */ b(
|
|
6210
|
-
|
|
6210
|
+
xt,
|
|
6211
6211
|
{
|
|
6212
|
-
styles:
|
|
6212
|
+
styles: Et(),
|
|
6213
6213
|
style: { display: "inline-block" },
|
|
6214
|
-
children: /* @__PURE__ */ b("div", { className: A("aria-assistant-container", E && "aria-dark"), children: /* @__PURE__ */
|
|
6215
|
-
|
|
6214
|
+
children: /* @__PURE__ */ b("div", { className: A("aria-assistant-container", E && "aria-dark"), children: /* @__PURE__ */ M(
|
|
6215
|
+
Ge,
|
|
6216
6216
|
{
|
|
6217
6217
|
onClick: () => {
|
|
6218
6218
|
v({ userTrigger: !0 }), m("user"), o?.();
|
|
@@ -6225,22 +6225,22 @@ const mn = lr, Qi = ({
|
|
|
6225
6225
|
),
|
|
6226
6226
|
...l,
|
|
6227
6227
|
children: [
|
|
6228
|
-
r && /* @__PURE__ */ b(
|
|
6228
|
+
r && /* @__PURE__ */ b(Ar, { className: "h-4 w-4" }),
|
|
6229
6229
|
x
|
|
6230
6230
|
]
|
|
6231
6231
|
}
|
|
6232
6232
|
) })
|
|
6233
6233
|
}
|
|
6234
6234
|
);
|
|
6235
|
-
},
|
|
6235
|
+
}, $i = ({
|
|
6236
6236
|
showTrigger: i = !0,
|
|
6237
6237
|
showAvatar: r = !0,
|
|
6238
6238
|
triggerLabel: n
|
|
6239
6239
|
}) => {
|
|
6240
6240
|
const { isOpen: o, closeAssistant: d } = rt();
|
|
6241
|
-
return /* @__PURE__ */
|
|
6242
|
-
i && /* @__PURE__ */ b(
|
|
6243
|
-
o && /* @__PURE__ */
|
|
6241
|
+
return /* @__PURE__ */ M(mt, { children: [
|
|
6242
|
+
i && /* @__PURE__ */ b(qi, { showAvatar: r, label: n }),
|
|
6243
|
+
o && /* @__PURE__ */ M(mt, { children: [
|
|
6244
6244
|
/* @__PURE__ */ b(
|
|
6245
6245
|
"div",
|
|
6246
6246
|
{
|
|
@@ -6257,9 +6257,9 @@ const mn = lr, Qi = ({
|
|
|
6257
6257
|
}
|
|
6258
6258
|
),
|
|
6259
6259
|
/* @__PURE__ */ b(
|
|
6260
|
-
|
|
6260
|
+
xt,
|
|
6261
6261
|
{
|
|
6262
|
-
styles:
|
|
6262
|
+
styles: Et(),
|
|
6263
6263
|
style: {
|
|
6264
6264
|
position: "fixed",
|
|
6265
6265
|
zIndex: 9999,
|
|
@@ -6267,17 +6267,17 @@ const mn = lr, Qi = ({
|
|
|
6267
6267
|
inset: 0,
|
|
6268
6268
|
pointerEvents: "none"
|
|
6269
6269
|
},
|
|
6270
|
-
children: /* @__PURE__ */ b("div", { style: { pointerEvents: "auto" }, children: /* @__PURE__ */ b(
|
|
6270
|
+
children: /* @__PURE__ */ b("div", { style: { pointerEvents: "auto" }, children: /* @__PURE__ */ b(Qi, { onClose: d }) })
|
|
6271
6271
|
}
|
|
6272
6272
|
)
|
|
6273
6273
|
] })
|
|
6274
6274
|
] });
|
|
6275
6275
|
};
|
|
6276
|
-
function
|
|
6276
|
+
function dr(i) {
|
|
6277
6277
|
return !i || typeof i != "string" ? !1 : i.split(".").length === 3;
|
|
6278
6278
|
}
|
|
6279
|
-
function
|
|
6280
|
-
if (
|
|
6279
|
+
function ct(i) {
|
|
6280
|
+
if (!dr(i))
|
|
6281
6281
|
return null;
|
|
6282
6282
|
try {
|
|
6283
6283
|
const o = i.split(".")[1].replace(/-/g, "+").replace(/_/g, "/"), d = o.padEnd(o.length + (4 - o.length % 4) % 4, "="), h = atob(d);
|
|
@@ -6286,8 +6286,8 @@ function kt(i) {
|
|
|
6286
6286
|
return console.error("Failed to decode JWT:", r), null;
|
|
6287
6287
|
}
|
|
6288
6288
|
}
|
|
6289
|
-
function
|
|
6290
|
-
const r =
|
|
6289
|
+
function St(i) {
|
|
6290
|
+
const r = ct(i);
|
|
6291
6291
|
if (!r)
|
|
6292
6292
|
return null;
|
|
6293
6293
|
const n = [
|
|
@@ -6305,7 +6305,7 @@ function cr(i) {
|
|
|
6305
6305
|
return null;
|
|
6306
6306
|
}
|
|
6307
6307
|
function wn(i) {
|
|
6308
|
-
const r =
|
|
6308
|
+
const r = ct(i);
|
|
6309
6309
|
if (!r)
|
|
6310
6310
|
return {
|
|
6311
6311
|
sessionId: null,
|
|
@@ -6313,7 +6313,7 @@ function wn(i) {
|
|
|
6313
6313
|
exp: null,
|
|
6314
6314
|
iat: null
|
|
6315
6315
|
};
|
|
6316
|
-
const n =
|
|
6316
|
+
const n = St(i), o = typeof r.exp == "number" ? r.exp : null, d = typeof r.iat == "number" ? r.iat : null;
|
|
6317
6317
|
return {
|
|
6318
6318
|
sessionId: n,
|
|
6319
6319
|
payload: r,
|
|
@@ -6322,7 +6322,7 @@ function wn(i) {
|
|
|
6322
6322
|
};
|
|
6323
6323
|
}
|
|
6324
6324
|
function vn(i) {
|
|
6325
|
-
const r =
|
|
6325
|
+
const r = ct(i);
|
|
6326
6326
|
if (!r || typeof r.exp != "number")
|
|
6327
6327
|
return !0;
|
|
6328
6328
|
const n = Math.floor(Date.now() / 1e3);
|
|
@@ -6353,25 +6353,25 @@ function on(i) {
|
|
|
6353
6353
|
return typeof i == "object" && i !== null && "status" in i && i.status === "error" && "error" in i && i.error === "MISSING_FIELDS";
|
|
6354
6354
|
}
|
|
6355
6355
|
const bn = ({ config: i, children: r }) => {
|
|
6356
|
-
const [n, o] = he(!1), [d, h] = he(!1), [c, l] = he(!1), [m, v] = he([]), [f, u] = he(""), [
|
|
6356
|
+
const [n, o] = he(!1), [d, h] = he(!1), [c, l] = he(!1), [m, v] = he([]), [f, u] = he(""), [O, w] = he(!1), [x, E] = he(!1), [T, N] = he(null), [V, j] = he("user"), [W, L] = he("bottom-right"), [K, se] = he({
|
|
6357
6357
|
session_id: null,
|
|
6358
6358
|
token: null,
|
|
6359
6359
|
expires_at: null,
|
|
6360
6360
|
isSessionReady: !1,
|
|
6361
6361
|
lastError: null
|
|
6362
|
-
}),
|
|
6363
|
-
|
|
6362
|
+
}), B = i.theme || "light", G = be(null), z = be(null), Ae = be(null), ke = be(null), ge = be([]), Ce = be(!1), re = be(null), ie = be(i.userId);
|
|
6363
|
+
Ee(() => {
|
|
6364
6364
|
re.current = K.session_id;
|
|
6365
|
-
}, [K.session_id]),
|
|
6365
|
+
}, [K.session_id]), Ee(() => {
|
|
6366
6366
|
ie.current = i.userId;
|
|
6367
6367
|
}, [i.userId]);
|
|
6368
6368
|
const fe = le((S) => {
|
|
6369
|
-
|
|
6370
|
-
}, []),
|
|
6369
|
+
Ae.current = S;
|
|
6370
|
+
}, []), _ = le((S, R = !1) => {
|
|
6371
6371
|
if (!z.current || z.current.readyState !== WebSocket.OPEN)
|
|
6372
6372
|
return;
|
|
6373
|
-
const
|
|
6374
|
-
if (!
|
|
6373
|
+
const D = re.current, I = ie.current;
|
|
6374
|
+
if (console.log("[Aria SDK] sendMessageHistory called - sessionId:", D, "userId:", I, "messages:", S.length), !D) {
|
|
6375
6375
|
console.warn("[Aria SDK] Cannot send message history: session_id not available yet");
|
|
6376
6376
|
return;
|
|
6377
6377
|
}
|
|
@@ -6379,25 +6379,25 @@ const bn = ({ config: i, children: r }) => {
|
|
|
6379
6379
|
console.warn("[Aria SDK] Cannot send message history: userId not configured. Add userId to AriaSDKConfig to enable message tracking.");
|
|
6380
6380
|
return;
|
|
6381
6381
|
}
|
|
6382
|
-
if (!
|
|
6382
|
+
if (!R && JSON.stringify(S) === JSON.stringify(ge.current))
|
|
6383
6383
|
return;
|
|
6384
6384
|
ge.current = S;
|
|
6385
|
-
const
|
|
6385
|
+
const ve = {
|
|
6386
6386
|
type: "message_history",
|
|
6387
|
-
session_id:
|
|
6387
|
+
session_id: D,
|
|
6388
6388
|
user_id: I,
|
|
6389
6389
|
messages: S
|
|
6390
6390
|
};
|
|
6391
6391
|
try {
|
|
6392
|
-
z.current.send(JSON.stringify(
|
|
6392
|
+
z.current.send(JSON.stringify(ve)), console.log("Sent message history:", S.length, "messages to session:", D);
|
|
6393
6393
|
} catch (de) {
|
|
6394
6394
|
console.error("Failed to send message history:", de);
|
|
6395
6395
|
}
|
|
6396
|
-
}, []),
|
|
6396
|
+
}, []), je = le((S, R) => {
|
|
6397
6397
|
if (!z.current || z.current.readyState !== WebSocket.OPEN)
|
|
6398
6398
|
return;
|
|
6399
|
-
const
|
|
6400
|
-
if (!
|
|
6399
|
+
const D = re.current, I = ie.current;
|
|
6400
|
+
if (console.log("[Aria SDK] sendMessageStream called - sessionId:", D, "userId:", I, "is_final:", R), !D) {
|
|
6401
6401
|
console.warn("[Aria SDK] Cannot send message stream: session_id not available yet");
|
|
6402
6402
|
return;
|
|
6403
6403
|
}
|
|
@@ -6405,117 +6405,125 @@ const bn = ({ config: i, children: r }) => {
|
|
|
6405
6405
|
console.warn("[Aria SDK] Cannot send message stream: userId not configured. Add userId to AriaSDKConfig to enable message tracking.");
|
|
6406
6406
|
return;
|
|
6407
6407
|
}
|
|
6408
|
-
const
|
|
6408
|
+
const ve = {
|
|
6409
6409
|
type: "message_stream",
|
|
6410
|
-
session_id:
|
|
6410
|
+
session_id: D,
|
|
6411
6411
|
user_id: I,
|
|
6412
6412
|
message: {
|
|
6413
6413
|
...S,
|
|
6414
|
-
is_final:
|
|
6414
|
+
is_final: R
|
|
6415
6415
|
}
|
|
6416
6416
|
};
|
|
6417
6417
|
try {
|
|
6418
|
-
z.current.send(JSON.stringify(
|
|
6418
|
+
z.current.send(JSON.stringify(ve)), R && console.log("Sent final message stream:", S.role);
|
|
6419
6419
|
} catch (de) {
|
|
6420
6420
|
console.error("Failed to send message stream:", de);
|
|
6421
6421
|
}
|
|
6422
|
-
}, []),
|
|
6422
|
+
}, []), ze = le(async (S) => {
|
|
6423
6423
|
if (!G.current) {
|
|
6424
|
-
if (!
|
|
6425
|
-
console.error("Video element not available"),
|
|
6424
|
+
if (!Ae.current) {
|
|
6425
|
+
console.error("Video element not available"), N("Video element not ready. Please try again."), l(!1);
|
|
6426
6426
|
return;
|
|
6427
6427
|
}
|
|
6428
|
-
l(!0),
|
|
6428
|
+
l(!0), N(null);
|
|
6429
6429
|
try {
|
|
6430
|
-
const { createClient:
|
|
6431
|
-
|
|
6430
|
+
const { createClient: R } = await import("./index-BrP3MP8-.js"), D = R(S);
|
|
6431
|
+
D.addListener(F.SESSION_READY, () => {
|
|
6432
6432
|
h(!0), l(!1), i.onSessionReady?.(), i.onConnectionStateChange?.(!0);
|
|
6433
|
-
}),
|
|
6433
|
+
}), D.addListener(F.CONNECTION_CLOSED, () => {
|
|
6434
6434
|
h(!1), i.onConnectionStateChange?.(!1);
|
|
6435
|
-
}),
|
|
6435
|
+
}), D.addListener(F.MESSAGE_HISTORY_UPDATED, (de) => {
|
|
6436
6436
|
const Je = de.map((oe) => ({
|
|
6437
6437
|
role: oe.role,
|
|
6438
6438
|
content: oe.content,
|
|
6439
6439
|
timestamp: Date.now()
|
|
6440
6440
|
}));
|
|
6441
6441
|
v(Je);
|
|
6442
|
-
const
|
|
6442
|
+
const De = de.map((oe) => ({
|
|
6443
6443
|
role: oe.role,
|
|
6444
6444
|
content: oe.content,
|
|
6445
6445
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
6446
6446
|
}));
|
|
6447
|
-
|
|
6448
|
-
}),
|
|
6447
|
+
_(De);
|
|
6448
|
+
}), D.addListener(F.MESSAGE_STREAM_EVENT_RECEIVED, (de) => {
|
|
6449
6449
|
de.role === "persona" ? u((oe) => oe + de.content) : de.role === "user" && u("");
|
|
6450
6450
|
const Je = {
|
|
6451
6451
|
role: de.role,
|
|
6452
6452
|
content: de.content,
|
|
6453
6453
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
6454
|
-
},
|
|
6455
|
-
|
|
6456
|
-
}), G.current =
|
|
6457
|
-
const I = await navigator.mediaDevices.getUserMedia({ audio: !0 }), [
|
|
6458
|
-
|
|
6459
|
-
} catch (
|
|
6460
|
-
const
|
|
6461
|
-
|
|
6454
|
+
}, De = de.is_final ?? !1;
|
|
6455
|
+
je(Je, De);
|
|
6456
|
+
}), G.current = D;
|
|
6457
|
+
const I = await navigator.mediaDevices.getUserMedia({ audio: !0 }), [ve] = await D.stream(I);
|
|
6458
|
+
Ae.current && (Ae.current.srcObject = ve);
|
|
6459
|
+
} catch (R) {
|
|
6460
|
+
const D = R instanceof Error ? R.message : "Failed to initialize Anam client";
|
|
6461
|
+
N(D), l(!1), i.onError?.(R instanceof Error ? R : new Error(D));
|
|
6462
6462
|
}
|
|
6463
6463
|
}
|
|
6464
|
-
}, [i,
|
|
6464
|
+
}, [i, _, je]), J = le((S) => {
|
|
6465
6465
|
if (S.status === "success")
|
|
6466
6466
|
if (console.log("Session response:", S.message), S.session_data) {
|
|
6467
|
-
const
|
|
6468
|
-
if (!
|
|
6467
|
+
const R = S.session_data.sessionToken || S.session_data.token;
|
|
6468
|
+
if (!R) {
|
|
6469
6469
|
console.error("No session token found in response. Expected sessionToken or token field."), console.log("Session data received:", S.session_data), se((I) => ({
|
|
6470
6470
|
...I,
|
|
6471
6471
|
isSessionReady: !1,
|
|
6472
6472
|
lastError: "No session token found in response"
|
|
6473
|
-
})),
|
|
6473
|
+
})), N("No session token found in response"), i.onError?.(new Error("No session token found in response"));
|
|
6474
6474
|
return;
|
|
6475
6475
|
}
|
|
6476
6476
|
console.log("Token extracted successfully from:", S.session_data.sessionToken ? "sessionToken" : "token");
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6477
|
+
let D = S.session_data.session_id || null;
|
|
6478
|
+
if (!D) {
|
|
6479
|
+
const I = dr(R);
|
|
6480
|
+
if (console.log("[Aria SDK] Token is JWT:", I), I) {
|
|
6481
|
+
const ve = ct(R);
|
|
6482
|
+
console.log("[Aria SDK] Token payload keys:", ve ? Object.keys(ve) : "null"), D = St(R), D ? console.log("[Aria SDK] Extracted session_id from token:", D) : (console.warn("[Aria SDK] Token is JWT but no session_id found in standard claims"), console.log("[Aria SDK] Available claims:", ve), D = R, console.log("[Aria SDK] Using full token as session_id"));
|
|
6483
|
+
} else
|
|
6484
|
+
console.log("[Aria SDK] Token is opaque (not JWT), using token as session_id"), D = R;
|
|
6485
|
+
}
|
|
6486
|
+
re.current = D, se({
|
|
6487
|
+
session_id: D,
|
|
6488
|
+
token: R,
|
|
6481
6489
|
expires_at: S.session_data.expires_at || null,
|
|
6482
6490
|
isSessionReady: !0,
|
|
6483
6491
|
lastError: null
|
|
6484
|
-
}), console.log("[Aria SDK] Session initialized with ID:",
|
|
6492
|
+
}), console.log("[Aria SDK] Session initialized with ID:", D, "UserID:", ie.current);
|
|
6485
6493
|
} else
|
|
6486
|
-
console.log("Session not triggered:", S.message), re.current = null, se((
|
|
6487
|
-
...
|
|
6494
|
+
console.log("Session not triggered:", S.message), re.current = null, se((R) => ({
|
|
6495
|
+
...R,
|
|
6488
6496
|
isSessionReady: !1,
|
|
6489
6497
|
lastError: null
|
|
6490
6498
|
}));
|
|
6491
6499
|
else {
|
|
6492
6500
|
console.error("Session error:", S.message, S.error);
|
|
6493
|
-
const
|
|
6494
|
-
re.current = null, se((
|
|
6495
|
-
...
|
|
6501
|
+
const R = `${S.error}: ${S.message}`;
|
|
6502
|
+
re.current = null, se((D) => ({
|
|
6503
|
+
...D,
|
|
6496
6504
|
isSessionReady: !1,
|
|
6497
|
-
lastError:
|
|
6498
|
-
})), R
|
|
6505
|
+
lastError: R
|
|
6506
|
+
})), N(R), i.onError?.(new Error(R));
|
|
6499
6507
|
}
|
|
6500
6508
|
}, [i]), $ = le(() => {
|
|
6501
6509
|
if (!z.current || z.current.readyState !== WebSocket.OPEN)
|
|
6502
6510
|
return;
|
|
6503
|
-
const S = re.current,
|
|
6511
|
+
const S = re.current, R = ie.current;
|
|
6504
6512
|
if (!S) {
|
|
6505
6513
|
console.warn("[Aria SDK] Cannot send session end: session_id not available");
|
|
6506
6514
|
return;
|
|
6507
6515
|
}
|
|
6508
|
-
if (!
|
|
6516
|
+
if (!R) {
|
|
6509
6517
|
console.warn("[Aria SDK] Cannot send session end: userId not configured. Add userId to AriaSDKConfig to enable session tracking.");
|
|
6510
6518
|
return;
|
|
6511
6519
|
}
|
|
6512
|
-
const
|
|
6520
|
+
const D = {
|
|
6513
6521
|
type: "session_end",
|
|
6514
6522
|
session_id: S,
|
|
6515
|
-
user_id:
|
|
6523
|
+
user_id: R
|
|
6516
6524
|
};
|
|
6517
6525
|
try {
|
|
6518
|
-
z.current.send(JSON.stringify(
|
|
6526
|
+
z.current.send(JSON.stringify(D)), console.log("Sent session end event for session:", S);
|
|
6519
6527
|
} catch (I) {
|
|
6520
6528
|
console.error("Failed to send session end:", I);
|
|
6521
6529
|
}
|
|
@@ -6527,14 +6535,14 @@ const bn = ({ config: i, children: r }) => {
|
|
|
6527
6535
|
try {
|
|
6528
6536
|
const S = new WebSocket(i.websocketUrl);
|
|
6529
6537
|
z.current = S, S.onopen = () => {
|
|
6530
|
-
if (console.log("WebSocket connected"), i.onConnectionStateChange?.(!0), i.autoTriggerOnMount && !
|
|
6531
|
-
|
|
6532
|
-
const
|
|
6533
|
-
S.send(
|
|
6538
|
+
if (console.log("WebSocket connected"), i.onConnectionStateChange?.(!0), i.autoTriggerOnMount && !Ce.current) {
|
|
6539
|
+
Ce.current = !0;
|
|
6540
|
+
const R = JSON.stringify({ user_trigger: !1 });
|
|
6541
|
+
S.send(R), console.log("Auto-triggered session on mount (user_trigger=false)");
|
|
6534
6542
|
}
|
|
6535
|
-
}, S.onmessage = (
|
|
6543
|
+
}, S.onmessage = (R) => {
|
|
6536
6544
|
try {
|
|
6537
|
-
const
|
|
6545
|
+
const D = R.data, I = JSON.parse(D);
|
|
6538
6546
|
if (Xi(I)) {
|
|
6539
6547
|
J(I);
|
|
6540
6548
|
return;
|
|
@@ -6552,15 +6560,15 @@ const bn = ({ config: i, children: r }) => {
|
|
|
6552
6560
|
return;
|
|
6553
6561
|
}
|
|
6554
6562
|
if (tn(I)) {
|
|
6555
|
-
console.error(`Session end error: ${I.message}`),
|
|
6563
|
+
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}`));
|
|
6556
6564
|
return;
|
|
6557
6565
|
}
|
|
6558
6566
|
if (on(I)) {
|
|
6559
|
-
console.error(`Missing fields error: ${I.message}`),
|
|
6567
|
+
console.error(`Missing fields error: ${I.message}`), N(I.message), i.onError?.(new Error(I.message));
|
|
6560
6568
|
return;
|
|
6561
6569
|
}
|
|
6562
6570
|
if (rn(I)) {
|
|
6563
|
-
console.log("WebSocket trigger event received:", I.data), i.onWebSocketEvent?.(I),
|
|
6571
|
+
console.log("WebSocket trigger event received:", I.data), i.onWebSocketEvent?.(I), ke.current?.("websocket");
|
|
6564
6572
|
return;
|
|
6565
6573
|
}
|
|
6566
6574
|
if (nn(I)) {
|
|
@@ -6581,16 +6589,16 @@ const bn = ({ config: i, children: r }) => {
|
|
|
6581
6589
|
return;
|
|
6582
6590
|
}
|
|
6583
6591
|
console.warn("Received unknown message type:", I);
|
|
6584
|
-
} catch (
|
|
6585
|
-
if (
|
|
6586
|
-
console.error("Failed to parse WebSocket message as JSON:",
|
|
6592
|
+
} catch (D) {
|
|
6593
|
+
if (D instanceof SyntaxError)
|
|
6594
|
+
console.error("Failed to parse WebSocket message as JSON:", R.data), N("Received invalid JSON from server"), i.onError?.(new Error("Invalid JSON received from WebSocket"));
|
|
6587
6595
|
else {
|
|
6588
|
-
const I =
|
|
6589
|
-
console.error("Error handling WebSocket message:", I),
|
|
6596
|
+
const I = D instanceof Error ? D.message : "Unknown error";
|
|
6597
|
+
console.error("Error handling WebSocket message:", I), N(I), i.onError?.(D instanceof Error ? D : new Error(I));
|
|
6590
6598
|
}
|
|
6591
6599
|
}
|
|
6592
|
-
}, S.onerror = (
|
|
6593
|
-
console.error("WebSocket error:",
|
|
6600
|
+
}, S.onerror = (R) => {
|
|
6601
|
+
console.error("WebSocket error:", R), N("WebSocket connection error"), i.onError?.(new Error("WebSocket connection failed"));
|
|
6594
6602
|
}, S.onclose = () => {
|
|
6595
6603
|
console.log("WebSocket disconnected"), i.onConnectionStateChange?.(!1), se({
|
|
6596
6604
|
session_id: null,
|
|
@@ -6601,94 +6609,94 @@ const bn = ({ config: i, children: r }) => {
|
|
|
6601
6609
|
});
|
|
6602
6610
|
};
|
|
6603
6611
|
} catch (S) {
|
|
6604
|
-
const
|
|
6605
|
-
R
|
|
6612
|
+
const R = S instanceof Error ? S.message : "Failed to connect WebSocket";
|
|
6613
|
+
N(R), i.onError?.(S instanceof Error ? S : new Error(R));
|
|
6606
6614
|
}
|
|
6607
6615
|
}, [i, J]), ne = le((S) => {
|
|
6608
6616
|
if (!z.current || z.current.readyState !== WebSocket.OPEN) {
|
|
6609
|
-
console.error("WebSocket not connected"),
|
|
6617
|
+
console.error("WebSocket not connected"), N("WebSocket not connected. Please connect first.");
|
|
6610
6618
|
return;
|
|
6611
6619
|
}
|
|
6612
|
-
const
|
|
6620
|
+
const R = S?.userTrigger ?? !0;
|
|
6613
6621
|
try {
|
|
6614
|
-
const
|
|
6615
|
-
z.current.send(
|
|
6616
|
-
} catch (
|
|
6617
|
-
const I =
|
|
6618
|
-
|
|
6622
|
+
const D = JSON.stringify({ user_trigger: R });
|
|
6623
|
+
z.current.send(D), console.log(`Sent user_trigger message: user_trigger=${R}`), R && i.userId && i.onManualTrigger?.(i.userId);
|
|
6624
|
+
} catch (D) {
|
|
6625
|
+
const I = D instanceof Error ? D.message : "Failed to trigger session";
|
|
6626
|
+
N(I), i.onError?.(D instanceof Error ? D : new Error(I));
|
|
6619
6627
|
}
|
|
6620
6628
|
}, [i]), me = le(async () => {
|
|
6621
6629
|
(!z.current || z.current.readyState !== WebSocket.OPEN) && X();
|
|
6622
|
-
}, [X]),
|
|
6630
|
+
}, [X]), Ie = le(async () => {
|
|
6623
6631
|
if (G.current)
|
|
6624
6632
|
try {
|
|
6625
|
-
ge.current.length > 0 && (console.log("Sending final message history before session end..."),
|
|
6633
|
+
ge.current.length > 0 && (console.log("Sending final message history before session end..."), _(ge.current, !0)), $(), await G.current.stopStreaming(), G.current = null, h(!1), v([]), u(""), ge.current = [], i.onConnectionStateChange?.(!1);
|
|
6626
6634
|
} catch (S) {
|
|
6627
|
-
const
|
|
6628
|
-
R
|
|
6635
|
+
const R = S instanceof Error ? S.message : "Failed to stop session";
|
|
6636
|
+
N(R), i.onError?.(S instanceof Error ? S : new Error(R));
|
|
6629
6637
|
}
|
|
6630
|
-
}, [i, $,
|
|
6631
|
-
j(S), L(S === "websocket" ? "center" : "bottom-right"), o(!0), l(!0),
|
|
6638
|
+
}, [i, $, _]), Q = le((S = "user") => {
|
|
6639
|
+
j(S), L(S === "websocket" ? "center" : "bottom-right"), o(!0), l(!0), N(null), G.current || me();
|
|
6632
6640
|
}, [me]);
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
}, [Q]),
|
|
6636
|
-
n && K.isSessionReady && K.token &&
|
|
6637
|
-
}, [n, K.isSessionReady, K.token,
|
|
6641
|
+
Ee(() => {
|
|
6642
|
+
ke.current = Q;
|
|
6643
|
+
}, [Q]), Ee(() => {
|
|
6644
|
+
n && K.isSessionReady && K.token && Ae.current && !G.current && ze(K.token);
|
|
6645
|
+
}, [n, K.isSessionReady, K.token, ze]);
|
|
6638
6646
|
const we = le(() => {
|
|
6639
|
-
o(!1),
|
|
6640
|
-
}, [
|
|
6647
|
+
o(!1), Ie();
|
|
6648
|
+
}, [Ie]), xe = le(() => {
|
|
6641
6649
|
w((S) => !S);
|
|
6642
|
-
}, []),
|
|
6650
|
+
}, []), Re = le(async (S) => {
|
|
6643
6651
|
if (!G.current || !d)
|
|
6644
6652
|
throw new Error("Not connected to Aria");
|
|
6645
6653
|
try {
|
|
6646
6654
|
await G.current.talk(S);
|
|
6647
|
-
} catch (
|
|
6648
|
-
const
|
|
6649
|
-
throw
|
|
6655
|
+
} catch (R) {
|
|
6656
|
+
const D = R instanceof Error ? R.message : "Failed to send message";
|
|
6657
|
+
throw N(D), i.onError?.(R instanceof Error ? R : new Error(D)), R;
|
|
6650
6658
|
}
|
|
6651
|
-
}, [d, i]),
|
|
6659
|
+
}, [d, i]), He = le(() => {
|
|
6652
6660
|
if (!G.current) return;
|
|
6653
6661
|
G.current.getInputAudioState().isMuted ? (G.current.unmuteInputAudio(), E(!1)) : (G.current.muteInputAudio(), E(!0));
|
|
6654
|
-
}, []),
|
|
6662
|
+
}, []), Ne = le((S) => {
|
|
6655
6663
|
if (!S)
|
|
6656
6664
|
return K.session_id;
|
|
6657
|
-
const
|
|
6658
|
-
return !
|
|
6665
|
+
const R = St(S);
|
|
6666
|
+
return !R && K.token === S ? K.session_id : R;
|
|
6659
6667
|
}, [K]);
|
|
6660
|
-
|
|
6661
|
-
re.current && ie.current && (ge.current.length > 0 &&
|
|
6662
|
-
}), [X, $,
|
|
6663
|
-
const
|
|
6668
|
+
Ee(() => (X(), () => {
|
|
6669
|
+
re.current && ie.current && (ge.current.length > 0 && _(ge.current, !0), $()), G.current && G.current.stopStreaming(), z.current && z.current.close();
|
|
6670
|
+
}), [X, $, _]);
|
|
6671
|
+
const Oe = {
|
|
6664
6672
|
isOpen: n,
|
|
6665
6673
|
isConnected: d,
|
|
6666
6674
|
isLoading: c,
|
|
6667
6675
|
chatMessages: m,
|
|
6668
6676
|
liveTranscript: f,
|
|
6669
|
-
isChatVisible:
|
|
6677
|
+
isChatVisible: O,
|
|
6670
6678
|
isMuted: x,
|
|
6671
|
-
error:
|
|
6679
|
+
error: T,
|
|
6672
6680
|
sessionState: K,
|
|
6673
6681
|
openAssistant: Q,
|
|
6674
6682
|
closeAssistant: we,
|
|
6675
|
-
toggleChat:
|
|
6676
|
-
sendMessage:
|
|
6677
|
-
toggleMute:
|
|
6683
|
+
toggleChat: xe,
|
|
6684
|
+
sendMessage: Re,
|
|
6685
|
+
toggleMute: He,
|
|
6678
6686
|
startSession: me,
|
|
6679
|
-
stopSession:
|
|
6687
|
+
stopSession: Ie,
|
|
6680
6688
|
triggerSession: ne,
|
|
6681
6689
|
setVideoElement: fe,
|
|
6682
6690
|
displayMode: W,
|
|
6683
6691
|
triggerMode: V,
|
|
6684
|
-
theme:
|
|
6692
|
+
theme: B,
|
|
6685
6693
|
config: i,
|
|
6686
|
-
getSessionIdFromToken:
|
|
6694
|
+
getSessionIdFromToken: Ne
|
|
6687
6695
|
};
|
|
6688
|
-
return /* @__PURE__ */
|
|
6696
|
+
return /* @__PURE__ */ M(Jt.Provider, { value: Oe, children: [
|
|
6689
6697
|
r,
|
|
6690
6698
|
i.showAssistant !== !1 && /* @__PURE__ */ b(
|
|
6691
|
-
|
|
6699
|
+
$i,
|
|
6692
6700
|
{
|
|
6693
6701
|
showTrigger: i.showFloatingButton !== !1,
|
|
6694
6702
|
showAvatar: !0,
|
|
@@ -6696,7 +6704,7 @@ const bn = ({ config: i, children: r }) => {
|
|
|
6696
6704
|
}
|
|
6697
6705
|
)
|
|
6698
6706
|
] });
|
|
6699
|
-
}, yn = ({ open: i, onOpenChange: r, children: n }) => /* @__PURE__ */ b(
|
|
6707
|
+
}, yn = ({ open: i, onOpenChange: r, children: n }) => /* @__PURE__ */ b(mt, { children: i && /* @__PURE__ */ M("div", { className: "fixed inset-0 z-50 flex items-center justify-center aria-animate-fade-in", children: [
|
|
6700
6708
|
/* @__PURE__ */ b(
|
|
6701
6709
|
"div",
|
|
6702
6710
|
{
|
|
@@ -6705,7 +6713,7 @@ const bn = ({ config: i, children: r }) => {
|
|
|
6705
6713
|
}
|
|
6706
6714
|
),
|
|
6707
6715
|
n
|
|
6708
|
-
] }) }), an =
|
|
6716
|
+
] }) }), an = Se.forwardRef(
|
|
6709
6717
|
({ className: i, children: r, ...n }, o) => /* @__PURE__ */ b(
|
|
6710
6718
|
"div",
|
|
6711
6719
|
{
|
|
@@ -6735,7 +6743,7 @@ const sn = ({
|
|
|
6735
6743
|
}
|
|
6736
6744
|
);
|
|
6737
6745
|
sn.displayName = "DialogHeader";
|
|
6738
|
-
const ln =
|
|
6746
|
+
const ln = Se.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ b(
|
|
6739
6747
|
"h2",
|
|
6740
6748
|
{
|
|
6741
6749
|
ref: n,
|
|
@@ -6751,7 +6759,7 @@ const cn = ({
|
|
|
6751
6759
|
className: i,
|
|
6752
6760
|
onClick: r,
|
|
6753
6761
|
...n
|
|
6754
|
-
}) => /* @__PURE__ */
|
|
6762
|
+
}) => /* @__PURE__ */ M(
|
|
6755
6763
|
"button",
|
|
6756
6764
|
{
|
|
6757
6765
|
className: A(
|
|
@@ -6765,7 +6773,7 @@ const cn = ({
|
|
|
6765
6773
|
onClick: r,
|
|
6766
6774
|
...n,
|
|
6767
6775
|
children: [
|
|
6768
|
-
/* @__PURE__ */ b(
|
|
6776
|
+
/* @__PURE__ */ b(vt, { className: "h-4 w-4" }),
|
|
6769
6777
|
/* @__PURE__ */ b("span", { className: "sr-only", children: "Close" })
|
|
6770
6778
|
]
|
|
6771
6779
|
}
|
|
@@ -6773,40 +6781,40 @@ const cn = ({
|
|
|
6773
6781
|
cn.displayName = "DialogClose";
|
|
6774
6782
|
export {
|
|
6775
6783
|
fn as A,
|
|
6776
|
-
|
|
6784
|
+
Ge as B,
|
|
6777
6785
|
te as C,
|
|
6778
6786
|
at as D,
|
|
6779
6787
|
ae as E,
|
|
6780
6788
|
cn as F,
|
|
6781
6789
|
A as G,
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
6785
|
-
|
|
6790
|
+
ct as H,
|
|
6791
|
+
ye as I,
|
|
6792
|
+
St as J,
|
|
6793
|
+
dr as K,
|
|
6786
6794
|
wn as L,
|
|
6787
6795
|
st as M,
|
|
6788
6796
|
vn as N,
|
|
6789
6797
|
ce as S,
|
|
6790
|
-
|
|
6798
|
+
Fe as a,
|
|
6791
6799
|
F as b,
|
|
6792
|
-
|
|
6793
|
-
|
|
6800
|
+
Ve as c,
|
|
6801
|
+
Br as d,
|
|
6794
6802
|
bn as e,
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6803
|
+
$i as f,
|
|
6804
|
+
qi as g,
|
|
6805
|
+
Ji as h,
|
|
6806
|
+
Qi as i,
|
|
6807
|
+
Ki as j,
|
|
6808
|
+
xt as k,
|
|
6809
|
+
Et as l,
|
|
6802
6810
|
mn as m,
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6811
|
+
lr as n,
|
|
6812
|
+
Gi as o,
|
|
6813
|
+
Hi as p,
|
|
6814
|
+
ji as q,
|
|
6815
|
+
zi as r,
|
|
6816
|
+
Wi as s,
|
|
6817
|
+
sr as t,
|
|
6810
6818
|
rt as u,
|
|
6811
6819
|
Xe as v,
|
|
6812
6820
|
yn as w,
|
|
@@ -6814,4 +6822,4 @@ export {
|
|
|
6814
6822
|
sn as y,
|
|
6815
6823
|
ln as z
|
|
6816
6824
|
};
|
|
6817
|
-
//# sourceMappingURL=index-
|
|
6825
|
+
//# sourceMappingURL=index-lJeABIrf.js.map
|