@centive/aria-sdk 0.5.4 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
- import { jsx as b, jsxs as N, Fragment as ht } from "react/jsx-runtime";
1
+ import { jsx as b, jsxs as O, Fragment as pt } from "react/jsx-runtime";
2
2
  import * as be from "react";
3
- import { createContext as ur, useContext as hr, useState as ie, useRef as We, useEffect as Fe, useCallback as Z } from "react";
4
- import { CheckCircle2 as At, AlertCircle as st, Zap as Et, RefreshCw as gt, Clock as gr, MessageCircle as Dt, Sparkles as pt, User as pr, Bot as fr, Send as mr, X as Bt, MicOff as wr, Mic as vr, Phone as br } from "lucide-react";
3
+ import { createContext as ur, useContext as hr, useState as re, useRef as Qe, useEffect as He, useCallback as ee } from "react";
4
+ import { CheckCircle2 as xt, AlertCircle as ct, Zap as St, RefreshCw as ft, Clock as gr, MessageCircle as Pt, Sparkles as mt, User as pr, Bot as fr, Send as mr, X as Ut, MicOff as wr, Mic as vr, Phone as br } from "lucide-react";
5
5
  import { createPortal as yr } from "react-dom";
6
- const Lt = ur(null), $e = () => {
6
+ const Lt = ur(null), Ze = () => {
7
7
  const n = hr(Lt);
8
8
  if (!n)
9
9
  throw new Error("useAria must be used within an AriaProvider");
10
10
  return n;
11
11
  };
12
- function Pt(n) {
12
+ function Ft(n) {
13
13
  var e, i, o = "";
14
14
  if (typeof n == "string" || typeof n == "number") o += n;
15
15
  else if (typeof n == "object") if (Array.isArray(n)) {
16
16
  var c = n.length;
17
- for (e = 0; e < c; e++) n[e] && (i = Pt(n[e])) && (o && (o += " "), o += i);
17
+ for (e = 0; e < c; e++) n[e] && (i = Ft(n[e])) && (o && (o += " "), o += i);
18
18
  } else for (i in n) n[i] && (o && (o += " "), o += i);
19
19
  return o;
20
20
  }
21
21
  function Ar() {
22
- for (var n, e, i = 0, o = "", c = arguments.length; i < c; i++) (n = arguments[i]) && (e = Pt(n)) && (o && (o += " "), o += e);
22
+ for (var n, e, i = 0, o = "", c = arguments.length; i < c; i++) (n = arguments[i]) && (e = Ft(n)) && (o && (o += " "), o += e);
23
23
  return o;
24
24
  }
25
25
  const Er = (n, e) => {
@@ -32,11 +32,11 @@ const Er = (n, e) => {
32
32
  }, xr = (n, e) => ({
33
33
  classGroupId: n,
34
34
  validator: e
35
- }), Ut = (n = /* @__PURE__ */ new Map(), e = null, i) => ({
35
+ }), Vt = (n = /* @__PURE__ */ new Map(), e = null, i) => ({
36
36
  nextPart: n,
37
37
  validators: e,
38
38
  classGroupId: i
39
- }), tt = "-", xt = [], Sr = "arbitrary..", kr = (n) => {
39
+ }), nt = "-", kt = [], Sr = "arbitrary..", kr = (n) => {
40
40
  const e = Ir(n), {
41
41
  conflictingClassGroups: i,
42
42
  conflictingClassGroupModifiers: o
@@ -45,29 +45,29 @@ const Er = (n, e) => {
45
45
  getClassGroupId: (d) => {
46
46
  if (d.startsWith("[") && d.endsWith("]"))
47
47
  return Cr(d);
48
- const l = d.split(tt), m = l[0] === "" && l.length > 1 ? 1 : 0;
49
- return Ft(l, m, e);
48
+ const l = d.split(nt), m = l[0] === "" && l.length > 1 ? 1 : 0;
49
+ return Gt(l, m, e);
50
50
  },
51
51
  getConflictingClassGroupIds: (d, l) => {
52
52
  if (l) {
53
53
  const m = o[d], w = i[d];
54
- return m ? w ? Er(w, m) : m : w || xt;
54
+ return m ? w ? Er(w, m) : m : w || kt;
55
55
  }
56
- return i[d] || xt;
56
+ return i[d] || kt;
57
57
  }
58
58
  };
59
- }, Ft = (n, e, i) => {
59
+ }, Gt = (n, e, i) => {
60
60
  if (n.length - e === 0)
61
61
  return i.classGroupId;
62
62
  const c = n[e], u = i.nextPart.get(c);
63
63
  if (u) {
64
- const w = Ft(n, e + 1, u);
64
+ const w = Gt(n, e + 1, u);
65
65
  if (w) return w;
66
66
  }
67
67
  const d = i.validators;
68
68
  if (d === null)
69
69
  return;
70
- const l = e === 0 ? n.join(tt) : n.slice(e).join(tt), m = d.length;
70
+ const l = e === 0 ? n.join(nt) : n.slice(e).join(nt), m = d.length;
71
71
  for (let w = 0; w < m; w++) {
72
72
  const f = d[w];
73
73
  if (f.validator(l))
@@ -83,13 +83,13 @@ const Er = (n, e) => {
83
83
  } = n;
84
84
  return Rr(i, e);
85
85
  }, Rr = (n, e) => {
86
- const i = Ut();
86
+ const i = Vt();
87
87
  for (const o in n) {
88
88
  const c = n[o];
89
- wt(c, i, o, e);
89
+ bt(c, i, o, e);
90
90
  }
91
91
  return i;
92
- }, wt = (n, e, i, o) => {
92
+ }, bt = (n, e, i, o) => {
93
93
  const c = n.length;
94
94
  for (let u = 0; u < c; u++) {
95
95
  const d = n[u];
@@ -106,11 +106,11 @@ const Er = (n, e) => {
106
106
  }
107
107
  Or(n, e, i, o);
108
108
  }, _r = (n, e, i) => {
109
- const o = n === "" ? e : Vt(e, n);
109
+ const o = n === "" ? e : Ht(e, n);
110
110
  o.classGroupId = i;
111
111
  }, Nr = (n, e, i, o) => {
112
112
  if (Mr(n)) {
113
- wt(n(o), e, i, o);
113
+ bt(n(o), e, i, o);
114
114
  return;
115
115
  }
116
116
  e.validators === null && (e.validators = []), e.validators.push(xr(i, n));
@@ -118,15 +118,15 @@ const Er = (n, e) => {
118
118
  const c = Object.entries(n), u = c.length;
119
119
  for (let d = 0; d < u; d++) {
120
120
  const [l, m] = c[d];
121
- wt(m, Vt(e, l), i, o);
121
+ bt(m, Ht(e, l), i, o);
122
122
  }
123
- }, Vt = (n, e) => {
123
+ }, Ht = (n, e) => {
124
124
  let i = n;
125
- const o = e.split(tt), c = o.length;
125
+ const o = e.split(nt), c = o.length;
126
126
  for (let u = 0; u < c; u++) {
127
127
  const d = o[u];
128
128
  let l = i.nextPart.get(d);
129
- l || (l = Ut(), i.nextPart.set(d, l)), i = l;
129
+ l || (l = Vt(), i.nextPart.set(d, l)), i = l;
130
130
  }
131
131
  return i;
132
132
  }, Mr = (n) => "isThemeGetter" in n && n.isThemeGetter === !0, Dr = (n) => {
@@ -153,13 +153,13 @@ const Er = (n, e) => {
153
153
  u in i ? i[u] = d : c(u, d);
154
154
  }
155
155
  };
156
- }, ft = "!", St = ":", Br = [], kt = (n, e, i, o, c) => ({
156
+ }, wt = "!", Ct = ":", Br = [], It = (n, e, i, o, c) => ({
157
157
  modifiers: n,
158
158
  hasImportantModifier: e,
159
159
  baseClassName: i,
160
160
  maybePostfixModifierPosition: o,
161
161
  isExternal: c
162
- }), Lr = (n) => {
162
+ }), Pr = (n) => {
163
163
  const {
164
164
  prefix: e,
165
165
  experimentalParseClassName: i
@@ -171,7 +171,7 @@ const Er = (n, e) => {
171
171
  for (let x = 0; x < f; x++) {
172
172
  const _ = c[x];
173
173
  if (d === 0 && l === 0) {
174
- if (_ === St) {
174
+ if (_ === Ct) {
175
175
  u.push(c.slice(m, x)), m = x + 1;
176
176
  continue;
177
177
  }
@@ -184,19 +184,19 @@ const Er = (n, e) => {
184
184
  }
185
185
  const h = u.length === 0 ? c : c.slice(m);
186
186
  let I = h, A = !1;
187
- h.endsWith(ft) ? (I = h.slice(0, -1), A = !0) : (
187
+ h.endsWith(wt) ? (I = h.slice(0, -1), A = !0) : (
188
188
  /**
189
189
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
190
190
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
191
191
  */
192
- h.startsWith(ft) && (I = h.slice(1), A = !0)
192
+ h.startsWith(wt) && (I = h.slice(1), A = !0)
193
193
  );
194
194
  const y = w && w > m ? w - m : void 0;
195
- return kt(u, A, I, y);
195
+ return It(u, A, I, y);
196
196
  };
197
197
  if (e) {
198
- const c = e + St, u = o;
199
- o = (d) => d.startsWith(c) ? u(d.slice(c.length)) : kt(Br, !1, d, void 0, !0);
198
+ const c = e + Ct, u = o;
199
+ o = (d) => d.startsWith(c) ? u(d.slice(c.length)) : It(Br, !1, d, void 0, !0);
200
200
  }
201
201
  if (i) {
202
202
  const c = o;
@@ -206,7 +206,7 @@ const Er = (n, e) => {
206
206
  });
207
207
  }
208
208
  return o;
209
- }, Pr = (n) => {
209
+ }, Ur = (n) => {
210
210
  const e = /* @__PURE__ */ new Map();
211
211
  return n.orderSensitiveModifiers.forEach((i, o) => {
212
212
  e.set(i, 1e6 + o);
@@ -219,10 +219,10 @@ const Er = (n, e) => {
219
219
  }
220
220
  return c.length > 0 && (c.sort(), o.push(...c)), o;
221
221
  };
222
- }, Ur = (n) => ({
222
+ }, Lr = (n) => ({
223
223
  cache: Dr(n.cacheSize),
224
- parseClassName: Lr(n),
225
- sortModifiers: Pr(n),
224
+ parseClassName: Pr(n),
225
+ sortModifiers: Ur(n),
226
226
  ...kr(n)
227
227
  }), Fr = /\s+/, Vr = (n, e) => {
228
228
  const {
@@ -244,26 +244,26 @@ const Er = (n, e) => {
244
244
  m = f + (m.length > 0 ? " " + m : m);
245
245
  continue;
246
246
  }
247
- let _ = !!x, O = o(_ ? y.substring(0, x) : y);
248
- if (!O) {
247
+ let _ = !!x, M = o(_ ? y.substring(0, x) : y);
248
+ if (!M) {
249
249
  if (!_) {
250
250
  m = f + (m.length > 0 ? " " + m : m);
251
251
  continue;
252
252
  }
253
- if (O = o(y), !O) {
253
+ if (M = o(y), !M) {
254
254
  m = f + (m.length > 0 ? " " + m : m);
255
255
  continue;
256
256
  }
257
257
  _ = !1;
258
258
  }
259
- const P = I.length === 0 ? "" : I.length === 1 ? I[0] : u(I).join(":"), V = A ? P + ft : P, j = V + O;
260
- if (d.indexOf(j) > -1)
259
+ const P = I.length === 0 ? "" : I.length === 1 ? I[0] : u(I).join(":"), V = A ? P + wt : P, H = V + M;
260
+ if (d.indexOf(H) > -1)
261
261
  continue;
262
- d.push(j);
263
- const U = c(O, _);
264
- for (let ee = 0; ee < U.length; ++ee) {
265
- const oe = U[ee];
266
- d.push(V + oe);
262
+ d.push(H);
263
+ const L = c(M, _);
264
+ for (let te = 0; te < L.length; ++te) {
265
+ const Y = L[te];
266
+ d.push(V + Y);
267
267
  }
268
268
  m = f + (m.length > 0 ? " " + m : m);
269
269
  }
@@ -271,20 +271,20 @@ const Er = (n, e) => {
271
271
  }, Gr = (...n) => {
272
272
  let e = 0, i, o, c = "";
273
273
  for (; e < n.length; )
274
- (i = n[e++]) && (o = Gt(i)) && (c && (c += " "), c += o);
274
+ (i = n[e++]) && (o = jt(i)) && (c && (c += " "), c += o);
275
275
  return c;
276
- }, Gt = (n) => {
276
+ }, jt = (n) => {
277
277
  if (typeof n == "string")
278
278
  return n;
279
279
  let e, i = "";
280
280
  for (let o = 0; o < n.length; o++)
281
- n[o] && (e = Gt(n[o])) && (i && (i += " "), i += e);
281
+ n[o] && (e = jt(n[o])) && (i && (i += " "), i += e);
282
282
  return i;
283
- }, jr = (n, ...e) => {
283
+ }, Hr = (n, ...e) => {
284
284
  let i, o, c, u;
285
285
  const d = (m) => {
286
286
  const w = e.reduce((f, h) => h(f), n());
287
- return i = Ur(w), o = i.cache.get, c = i.cache.set, u = l, l(m);
287
+ return i = Lr(w), o = i.cache.get, c = i.cache.set, u = l, l(m);
288
288
  }, l = (m) => {
289
289
  const w = o(m);
290
290
  if (w)
@@ -293,22 +293,22 @@ const Er = (n, e) => {
293
293
  return c(m, f), f;
294
294
  };
295
295
  return u = d, (...m) => u(Gr(...m));
296
- }, Hr = [], $ = (n) => {
297
- const e = (i) => i[n] || Hr;
296
+ }, jr = [], $ = (n) => {
297
+ const e = (i) => i[n] || jr;
298
298
  return e.isThemeGetter = !0, e;
299
- }, jt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ht = /^\((?:(\w[\w-]*):)?(.+)\)$/i, zr = /^\d+\/\d+$/, Wr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jr = /\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$/, Kr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Qr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (n) => zr.test(n), D = (n) => !!n && !Number.isNaN(Number(n)), Te = (n) => !!n && Number.isInteger(Number(n)), lt = (n) => n.endsWith("%") && D(n.slice(0, -1)), ke = (n) => Wr.test(n), $r = () => !0, Xr = (n) => (
299
+ }, Wt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, zt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wr = /^\d+\/\d+$/, zr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jr = /\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$/, Kr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Qr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, We = (n) => Wr.test(n), D = (n) => !!n && !Number.isNaN(Number(n)), Ne = (n) => !!n && Number.isInteger(Number(n)), dt = (n) => n.endsWith("%") && D(n.slice(0, -1)), Se = (n) => zr.test(n), $r = () => !0, Xr = (n) => (
300
300
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
301
301
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
302
302
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
303
303
  Jr.test(n) && !Kr.test(n)
304
- ), zt = () => !1, Yr = (n) => Qr.test(n), Zr = (n) => qr.test(n), ei = (n) => !k(n) && !C(n), ti = (n) => Je(n, Kt, zt), k = (n) => jt.test(n), Ue = (n) => Je(n, Qt, Xr), ct = (n) => Je(n, ai, D), Ct = (n) => Je(n, Wt, zt), ri = (n) => Je(n, Jt, Zr), Ye = (n) => Je(n, qt, Yr), C = (n) => Ht.test(n), Qe = (n) => Ke(n, Qt), ii = (n) => Ke(n, si), It = (n) => Ke(n, Wt), ni = (n) => Ke(n, Kt), oi = (n) => Ke(n, Jt), Ze = (n) => Ke(n, qt, !0), Je = (n, e, i) => {
305
- const o = jt.exec(n);
304
+ ), Jt = () => !1, Yr = (n) => Qr.test(n), Zr = (n) => qr.test(n), ei = (n) => !k(n) && !C(n), ti = (n) => qe(n, qt, Jt), k = (n) => Wt.test(n), Ge = (n) => qe(n, $t, Xr), ut = (n) => qe(n, ai, D), Rt = (n) => qe(n, Kt, Jt), ri = (n) => qe(n, Qt, Zr), tt = (n) => qe(n, Xt, Yr), C = (n) => zt.test(n), Xe = (n) => $e(n, $t), ii = (n) => $e(n, si), Tt = (n) => $e(n, Kt), ni = (n) => $e(n, qt), oi = (n) => $e(n, Qt), rt = (n) => $e(n, Xt, !0), qe = (n, e, i) => {
305
+ const o = Wt.exec(n);
306
306
  return o ? o[1] ? e(o[1]) : i(o[2]) : !1;
307
- }, Ke = (n, e, i = !1) => {
308
- const o = Ht.exec(n);
307
+ }, $e = (n, e, i = !1) => {
308
+ const o = zt.exec(n);
309
309
  return o ? o[1] ? e(o[1]) : i : !1;
310
- }, Wt = (n) => n === "position" || n === "percentage", Jt = (n) => n === "image" || n === "url", Kt = (n) => n === "length" || n === "size" || n === "bg-size", Qt = (n) => n === "length", ai = (n) => n === "number", si = (n) => n === "family-name", qt = (n) => n === "shadow", li = () => {
311
- const n = $("color"), e = $("font"), i = $("text"), o = $("font-weight"), c = $("tracking"), u = $("leading"), d = $("breakpoint"), l = $("container"), m = $("spacing"), w = $("radius"), f = $("shadow"), h = $("inset-shadow"), I = $("text-shadow"), A = $("drop-shadow"), y = $("blur"), x = $("perspective"), _ = $("aspect"), O = $("ease"), P = $("animate"), V = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], j = () => [
310
+ }, Kt = (n) => n === "position" || n === "percentage", Qt = (n) => n === "image" || n === "url", qt = (n) => n === "length" || n === "size" || n === "bg-size", $t = (n) => n === "length", ai = (n) => n === "number", si = (n) => n === "family-name", Xt = (n) => n === "shadow", li = () => {
311
+ const n = $("color"), e = $("font"), i = $("text"), o = $("font-weight"), c = $("tracking"), u = $("leading"), d = $("breakpoint"), l = $("container"), m = $("spacing"), w = $("radius"), f = $("shadow"), h = $("inset-shadow"), I = $("text-shadow"), A = $("drop-shadow"), y = $("blur"), x = $("perspective"), _ = $("aspect"), M = $("ease"), P = $("animate"), V = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], H = () => [
312
312
  "center",
313
313
  "top",
314
314
  "bottom",
@@ -326,15 +326,15 @@ const Er = (n, e) => {
326
326
  "bottom-left",
327
327
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
328
328
  "left-bottom"
329
- ], U = () => [...j(), C, k], ee = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", "contain", "none"], T = () => [C, k, m], re = () => [Ge, "full", "auto", ...T()], fe = () => [Te, "none", "subgrid", C, k], M = () => ["auto", {
330
- span: ["full", Te, C, k]
331
- }, Te, C, k], ue = () => [Te, "auto", C, k], Be = () => ["auto", "min", "max", "fr", C, k], me = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], le = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ae = () => ["auto", ...T()], ce = () => [Ge, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...T()], R = () => [n, C, k], Ie = () => [...j(), It, Ct, {
329
+ ], L = () => [...H(), C, k], te = () => ["auto", "hidden", "clip", "visible", "scroll"], Y = () => ["auto", "contain", "none"], T = () => [C, k, m], ne = () => [We, "full", "auto", ...T()], me = () => [Ne, "none", "subgrid", C, k], ye = () => ["auto", {
330
+ span: ["full", Ne, C, k]
331
+ }, Ne, C, k], Ce = () => [Ne, "auto", C, k], N = () => ["auto", "min", "max", "fr", C, k], ue = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], he = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ae = () => ["auto", ...T()], le = () => [We, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...T()], R = () => [n, C, k], Ie = () => [...H(), Tt, Rt, {
332
332
  position: [C, k]
333
- }], Le = () => ["no-repeat", {
333
+ }], Re = () => ["no-repeat", {
334
334
  repeat: ["", "x", "y", "space", "round"]
335
- }], z = () => ["auto", "cover", "contain", ni, ti, {
335
+ }], j = () => ["auto", "cover", "contain", ni, ti, {
336
336
  size: [C, k]
337
- }], Q = () => [lt, Qe, Ue], q = () => [
337
+ }], Q = () => [dt, Xe, Ge], q = () => [
338
338
  // Deprecated since Tailwind CSS v4.0.0
339
339
  "",
340
340
  "none",
@@ -342,35 +342,35 @@ const Er = (n, e) => {
342
342
  w,
343
343
  C,
344
344
  k
345
- ], Y = () => ["", D, Qe, Ue], ye = () => ["solid", "dashed", "dotted", "double"], Ae = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], W = () => [D, lt, It, Ct], he = () => [
345
+ ], Z = () => ["", D, Xe, Ge], Ae = () => ["solid", "dashed", "dotted", "double"], Ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], z = () => [D, dt, Tt, Rt], ce = () => [
346
346
  // Deprecated since Tailwind CSS v4.0.0
347
347
  "",
348
348
  "none",
349
349
  y,
350
350
  C,
351
351
  k
352
- ], we = () => ["none", D, C, k], Ee = () => ["none", D, C, k], Pe = () => [D, C, k], xe = () => [Ge, "full", ...T()];
352
+ ], we = () => ["none", D, C, k], Ee = () => ["none", D, C, k], Le = () => [D, C, k], xe = () => [We, "full", ...T()];
353
353
  return {
354
354
  cacheSize: 500,
355
355
  theme: {
356
356
  animate: ["spin", "ping", "pulse", "bounce"],
357
357
  aspect: ["video"],
358
- blur: [ke],
359
- breakpoint: [ke],
358
+ blur: [Se],
359
+ breakpoint: [Se],
360
360
  color: [$r],
361
- container: [ke],
362
- "drop-shadow": [ke],
361
+ container: [Se],
362
+ "drop-shadow": [Se],
363
363
  ease: ["in", "out", "in-out"],
364
364
  font: [ei],
365
365
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
366
- "inset-shadow": [ke],
366
+ "inset-shadow": [Se],
367
367
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
368
368
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
369
- radius: [ke],
370
- shadow: [ke],
369
+ radius: [Se],
370
+ shadow: [Se],
371
371
  spacing: ["px", D],
372
- text: [ke],
373
- "text-shadow": [ke],
372
+ text: [Se],
373
+ "text-shadow": [Se],
374
374
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
375
375
  },
376
376
  classGroups: {
@@ -382,7 +382,7 @@ const Er = (n, e) => {
382
382
  * @see https://tailwindcss.com/docs/aspect-ratio
383
383
  */
384
384
  aspect: [{
385
- aspect: ["auto", "square", Ge, k, C, _]
385
+ aspect: ["auto", "square", We, k, C, _]
386
386
  }],
387
387
  /**
388
388
  * Container
@@ -473,49 +473,49 @@ const Er = (n, e) => {
473
473
  * @see https://tailwindcss.com/docs/object-position
474
474
  */
475
475
  "object-position": [{
476
- object: U()
476
+ object: L()
477
477
  }],
478
478
  /**
479
479
  * Overflow
480
480
  * @see https://tailwindcss.com/docs/overflow
481
481
  */
482
482
  overflow: [{
483
- overflow: ee()
483
+ overflow: te()
484
484
  }],
485
485
  /**
486
486
  * Overflow X
487
487
  * @see https://tailwindcss.com/docs/overflow
488
488
  */
489
489
  "overflow-x": [{
490
- "overflow-x": ee()
490
+ "overflow-x": te()
491
491
  }],
492
492
  /**
493
493
  * Overflow Y
494
494
  * @see https://tailwindcss.com/docs/overflow
495
495
  */
496
496
  "overflow-y": [{
497
- "overflow-y": ee()
497
+ "overflow-y": te()
498
498
  }],
499
499
  /**
500
500
  * Overscroll Behavior
501
501
  * @see https://tailwindcss.com/docs/overscroll-behavior
502
502
  */
503
503
  overscroll: [{
504
- overscroll: oe()
504
+ overscroll: Y()
505
505
  }],
506
506
  /**
507
507
  * Overscroll Behavior X
508
508
  * @see https://tailwindcss.com/docs/overscroll-behavior
509
509
  */
510
510
  "overscroll-x": [{
511
- "overscroll-x": oe()
511
+ "overscroll-x": Y()
512
512
  }],
513
513
  /**
514
514
  * Overscroll Behavior Y
515
515
  * @see https://tailwindcss.com/docs/overscroll-behavior
516
516
  */
517
517
  "overscroll-y": [{
518
- "overscroll-y": oe()
518
+ "overscroll-y": Y()
519
519
  }],
520
520
  /**
521
521
  * Position
@@ -527,63 +527,63 @@ const Er = (n, e) => {
527
527
  * @see https://tailwindcss.com/docs/top-right-bottom-left
528
528
  */
529
529
  inset: [{
530
- inset: re()
530
+ inset: ne()
531
531
  }],
532
532
  /**
533
533
  * Right / Left
534
534
  * @see https://tailwindcss.com/docs/top-right-bottom-left
535
535
  */
536
536
  "inset-x": [{
537
- "inset-x": re()
537
+ "inset-x": ne()
538
538
  }],
539
539
  /**
540
540
  * Top / Bottom
541
541
  * @see https://tailwindcss.com/docs/top-right-bottom-left
542
542
  */
543
543
  "inset-y": [{
544
- "inset-y": re()
544
+ "inset-y": ne()
545
545
  }],
546
546
  /**
547
547
  * Start
548
548
  * @see https://tailwindcss.com/docs/top-right-bottom-left
549
549
  */
550
550
  start: [{
551
- start: re()
551
+ start: ne()
552
552
  }],
553
553
  /**
554
554
  * End
555
555
  * @see https://tailwindcss.com/docs/top-right-bottom-left
556
556
  */
557
557
  end: [{
558
- end: re()
558
+ end: ne()
559
559
  }],
560
560
  /**
561
561
  * Top
562
562
  * @see https://tailwindcss.com/docs/top-right-bottom-left
563
563
  */
564
564
  top: [{
565
- top: re()
565
+ top: ne()
566
566
  }],
567
567
  /**
568
568
  * Right
569
569
  * @see https://tailwindcss.com/docs/top-right-bottom-left
570
570
  */
571
571
  right: [{
572
- right: re()
572
+ right: ne()
573
573
  }],
574
574
  /**
575
575
  * Bottom
576
576
  * @see https://tailwindcss.com/docs/top-right-bottom-left
577
577
  */
578
578
  bottom: [{
579
- bottom: re()
579
+ bottom: ne()
580
580
  }],
581
581
  /**
582
582
  * Left
583
583
  * @see https://tailwindcss.com/docs/top-right-bottom-left
584
584
  */
585
585
  left: [{
586
- left: re()
586
+ left: ne()
587
587
  }],
588
588
  /**
589
589
  * Visibility
@@ -595,7 +595,7 @@ const Er = (n, e) => {
595
595
  * @see https://tailwindcss.com/docs/z-index
596
596
  */
597
597
  z: [{
598
- z: [Te, "auto", C, k]
598
+ z: [Ne, "auto", C, k]
599
599
  }],
600
600
  // ------------------------
601
601
  // --- Flexbox and Grid ---
@@ -605,7 +605,7 @@ const Er = (n, e) => {
605
605
  * @see https://tailwindcss.com/docs/flex-basis
606
606
  */
607
607
  basis: [{
608
- basis: [Ge, "full", "auto", l, ...T()]
608
+ basis: [We, "full", "auto", l, ...T()]
609
609
  }],
610
610
  /**
611
611
  * Flex Direction
@@ -626,7 +626,7 @@ const Er = (n, e) => {
626
626
  * @see https://tailwindcss.com/docs/flex
627
627
  */
628
628
  flex: [{
629
- flex: [D, Ge, "auto", "initial", "none", k]
629
+ flex: [D, We, "auto", "initial", "none", k]
630
630
  }],
631
631
  /**
632
632
  * Flex Grow
@@ -647,63 +647,63 @@ const Er = (n, e) => {
647
647
  * @see https://tailwindcss.com/docs/order
648
648
  */
649
649
  order: [{
650
- order: [Te, "first", "last", "none", C, k]
650
+ order: [Ne, "first", "last", "none", C, k]
651
651
  }],
652
652
  /**
653
653
  * Grid Template Columns
654
654
  * @see https://tailwindcss.com/docs/grid-template-columns
655
655
  */
656
656
  "grid-cols": [{
657
- "grid-cols": fe()
657
+ "grid-cols": me()
658
658
  }],
659
659
  /**
660
660
  * Grid Column Start / End
661
661
  * @see https://tailwindcss.com/docs/grid-column
662
662
  */
663
663
  "col-start-end": [{
664
- col: M()
664
+ col: ye()
665
665
  }],
666
666
  /**
667
667
  * Grid Column Start
668
668
  * @see https://tailwindcss.com/docs/grid-column
669
669
  */
670
670
  "col-start": [{
671
- "col-start": ue()
671
+ "col-start": Ce()
672
672
  }],
673
673
  /**
674
674
  * Grid Column End
675
675
  * @see https://tailwindcss.com/docs/grid-column
676
676
  */
677
677
  "col-end": [{
678
- "col-end": ue()
678
+ "col-end": Ce()
679
679
  }],
680
680
  /**
681
681
  * Grid Template Rows
682
682
  * @see https://tailwindcss.com/docs/grid-template-rows
683
683
  */
684
684
  "grid-rows": [{
685
- "grid-rows": fe()
685
+ "grid-rows": me()
686
686
  }],
687
687
  /**
688
688
  * Grid Row Start / End
689
689
  * @see https://tailwindcss.com/docs/grid-row
690
690
  */
691
691
  "row-start-end": [{
692
- row: M()
692
+ row: ye()
693
693
  }],
694
694
  /**
695
695
  * Grid Row Start
696
696
  * @see https://tailwindcss.com/docs/grid-row
697
697
  */
698
698
  "row-start": [{
699
- "row-start": ue()
699
+ "row-start": Ce()
700
700
  }],
701
701
  /**
702
702
  * Grid Row End
703
703
  * @see https://tailwindcss.com/docs/grid-row
704
704
  */
705
705
  "row-end": [{
706
- "row-end": ue()
706
+ "row-end": Ce()
707
707
  }],
708
708
  /**
709
709
  * Grid Auto Flow
@@ -717,14 +717,14 @@ const Er = (n, e) => {
717
717
  * @see https://tailwindcss.com/docs/grid-auto-columns
718
718
  */
719
719
  "auto-cols": [{
720
- "auto-cols": Be()
720
+ "auto-cols": N()
721
721
  }],
722
722
  /**
723
723
  * Grid Auto Rows
724
724
  * @see https://tailwindcss.com/docs/grid-auto-rows
725
725
  */
726
726
  "auto-rows": [{
727
- "auto-rows": Be()
727
+ "auto-rows": N()
728
728
  }],
729
729
  /**
730
730
  * Gap
@@ -752,35 +752,35 @@ const Er = (n, e) => {
752
752
  * @see https://tailwindcss.com/docs/justify-content
753
753
  */
754
754
  "justify-content": [{
755
- justify: [...me(), "normal"]
755
+ justify: [...ue(), "normal"]
756
756
  }],
757
757
  /**
758
758
  * Justify Items
759
759
  * @see https://tailwindcss.com/docs/justify-items
760
760
  */
761
761
  "justify-items": [{
762
- "justify-items": [...le(), "normal"]
762
+ "justify-items": [...he(), "normal"]
763
763
  }],
764
764
  /**
765
765
  * Justify Self
766
766
  * @see https://tailwindcss.com/docs/justify-self
767
767
  */
768
768
  "justify-self": [{
769
- "justify-self": ["auto", ...le()]
769
+ "justify-self": ["auto", ...he()]
770
770
  }],
771
771
  /**
772
772
  * Align Content
773
773
  * @see https://tailwindcss.com/docs/align-content
774
774
  */
775
775
  "align-content": [{
776
- content: ["normal", ...me()]
776
+ content: ["normal", ...ue()]
777
777
  }],
778
778
  /**
779
779
  * Align Items
780
780
  * @see https://tailwindcss.com/docs/align-items
781
781
  */
782
782
  "align-items": [{
783
- items: [...le(), {
783
+ items: [...he(), {
784
784
  baseline: ["", "last"]
785
785
  }]
786
786
  }],
@@ -789,7 +789,7 @@ const Er = (n, e) => {
789
789
  * @see https://tailwindcss.com/docs/align-self
790
790
  */
791
791
  "align-self": [{
792
- self: ["auto", ...le(), {
792
+ self: ["auto", ...he(), {
793
793
  baseline: ["", "last"]
794
794
  }]
795
795
  }],
@@ -798,21 +798,21 @@ const Er = (n, e) => {
798
798
  * @see https://tailwindcss.com/docs/place-content
799
799
  */
800
800
  "place-content": [{
801
- "place-content": me()
801
+ "place-content": ue()
802
802
  }],
803
803
  /**
804
804
  * Place Items
805
805
  * @see https://tailwindcss.com/docs/place-items
806
806
  */
807
807
  "place-items": [{
808
- "place-items": [...le(), "baseline"]
808
+ "place-items": [...he(), "baseline"]
809
809
  }],
810
810
  /**
811
811
  * Place Self
812
812
  * @see https://tailwindcss.com/docs/place-self
813
813
  */
814
814
  "place-self": [{
815
- "place-self": ["auto", ...le()]
815
+ "place-self": ["auto", ...he()]
816
816
  }],
817
817
  // Spacing
818
818
  /**
@@ -973,14 +973,14 @@ const Er = (n, e) => {
973
973
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
974
974
  */
975
975
  size: [{
976
- size: ce()
976
+ size: le()
977
977
  }],
978
978
  /**
979
979
  * Width
980
980
  * @see https://tailwindcss.com/docs/width
981
981
  */
982
982
  w: [{
983
- w: [l, "screen", ...ce()]
983
+ w: [l, "screen", ...le()]
984
984
  }],
985
985
  /**
986
986
  * Min-Width
@@ -992,7 +992,7 @@ const Er = (n, e) => {
992
992
  "screen",
993
993
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
994
994
  "none",
995
- ...ce()
995
+ ...le()
996
996
  ]
997
997
  }],
998
998
  /**
@@ -1010,7 +1010,7 @@ const Er = (n, e) => {
1010
1010
  {
1011
1011
  screen: [d]
1012
1012
  },
1013
- ...ce()
1013
+ ...le()
1014
1014
  ]
1015
1015
  }],
1016
1016
  /**
@@ -1018,21 +1018,21 @@ const Er = (n, e) => {
1018
1018
  * @see https://tailwindcss.com/docs/height
1019
1019
  */
1020
1020
  h: [{
1021
- h: ["screen", "lh", ...ce()]
1021
+ h: ["screen", "lh", ...le()]
1022
1022
  }],
1023
1023
  /**
1024
1024
  * Min-Height
1025
1025
  * @see https://tailwindcss.com/docs/min-height
1026
1026
  */
1027
1027
  "min-h": [{
1028
- "min-h": ["screen", "lh", "none", ...ce()]
1028
+ "min-h": ["screen", "lh", "none", ...le()]
1029
1029
  }],
1030
1030
  /**
1031
1031
  * Max-Height
1032
1032
  * @see https://tailwindcss.com/docs/max-height
1033
1033
  */
1034
1034
  "max-h": [{
1035
- "max-h": ["screen", "lh", ...ce()]
1035
+ "max-h": ["screen", "lh", ...le()]
1036
1036
  }],
1037
1037
  // ------------------
1038
1038
  // --- Typography ---
@@ -1042,7 +1042,7 @@ const Er = (n, e) => {
1042
1042
  * @see https://tailwindcss.com/docs/font-size
1043
1043
  */
1044
1044
  "font-size": [{
1045
- text: ["base", i, Qe, Ue]
1045
+ text: ["base", i, Xe, Ge]
1046
1046
  }],
1047
1047
  /**
1048
1048
  * Font Smoothing
@@ -1059,14 +1059,14 @@ const Er = (n, e) => {
1059
1059
  * @see https://tailwindcss.com/docs/font-weight
1060
1060
  */
1061
1061
  "font-weight": [{
1062
- font: [o, C, ct]
1062
+ font: [o, C, ut]
1063
1063
  }],
1064
1064
  /**
1065
1065
  * Font Stretch
1066
1066
  * @see https://tailwindcss.com/docs/font-stretch
1067
1067
  */
1068
1068
  "font-stretch": [{
1069
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", lt, k]
1069
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", dt, k]
1070
1070
  }],
1071
1071
  /**
1072
1072
  * Font Family
@@ -1117,7 +1117,7 @@ const Er = (n, e) => {
1117
1117
  * @see https://tailwindcss.com/docs/line-clamp
1118
1118
  */
1119
1119
  "line-clamp": [{
1120
- "line-clamp": [D, "none", C, ct]
1120
+ "line-clamp": [D, "none", C, ut]
1121
1121
  }],
1122
1122
  /**
1123
1123
  * Line Height
@@ -1183,14 +1183,14 @@ const Er = (n, e) => {
1183
1183
  * @see https://tailwindcss.com/docs/text-decoration-style
1184
1184
  */
1185
1185
  "text-decoration-style": [{
1186
- decoration: [...ye(), "wavy"]
1186
+ decoration: [...Ae(), "wavy"]
1187
1187
  }],
1188
1188
  /**
1189
1189
  * Text Decoration Thickness
1190
1190
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1191
1191
  */
1192
1192
  "text-decoration-thickness": [{
1193
- decoration: [D, "from-font", "auto", C, Ue]
1193
+ decoration: [D, "from-font", "auto", C, Ge]
1194
1194
  }],
1195
1195
  /**
1196
1196
  * Text Decoration Color
@@ -1308,14 +1308,14 @@ const Er = (n, e) => {
1308
1308
  * @see https://tailwindcss.com/docs/background-repeat
1309
1309
  */
1310
1310
  "bg-repeat": [{
1311
- bg: Le()
1311
+ bg: Re()
1312
1312
  }],
1313
1313
  /**
1314
1314
  * Background Size
1315
1315
  * @see https://tailwindcss.com/docs/background-size
1316
1316
  */
1317
1317
  "bg-size": [{
1318
- bg: z()
1318
+ bg: j()
1319
1319
  }],
1320
1320
  /**
1321
1321
  * Background Image
@@ -1325,9 +1325,9 @@ const Er = (n, e) => {
1325
1325
  bg: ["none", {
1326
1326
  linear: [{
1327
1327
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1328
- }, Te, C, k],
1328
+ }, Ne, C, k],
1329
1329
  radial: ["", C, k],
1330
- conic: [Te, C, k]
1330
+ conic: [Ne, C, k]
1331
1331
  }, oi, ri]
1332
1332
  }],
1333
1333
  /**
@@ -1492,70 +1492,70 @@ const Er = (n, e) => {
1492
1492
  * @see https://tailwindcss.com/docs/border-width
1493
1493
  */
1494
1494
  "border-w": [{
1495
- border: Y()
1495
+ border: Z()
1496
1496
  }],
1497
1497
  /**
1498
1498
  * Border Width X
1499
1499
  * @see https://tailwindcss.com/docs/border-width
1500
1500
  */
1501
1501
  "border-w-x": [{
1502
- "border-x": Y()
1502
+ "border-x": Z()
1503
1503
  }],
1504
1504
  /**
1505
1505
  * Border Width Y
1506
1506
  * @see https://tailwindcss.com/docs/border-width
1507
1507
  */
1508
1508
  "border-w-y": [{
1509
- "border-y": Y()
1509
+ "border-y": Z()
1510
1510
  }],
1511
1511
  /**
1512
1512
  * Border Width Start
1513
1513
  * @see https://tailwindcss.com/docs/border-width
1514
1514
  */
1515
1515
  "border-w-s": [{
1516
- "border-s": Y()
1516
+ "border-s": Z()
1517
1517
  }],
1518
1518
  /**
1519
1519
  * Border Width End
1520
1520
  * @see https://tailwindcss.com/docs/border-width
1521
1521
  */
1522
1522
  "border-w-e": [{
1523
- "border-e": Y()
1523
+ "border-e": Z()
1524
1524
  }],
1525
1525
  /**
1526
1526
  * Border Width Top
1527
1527
  * @see https://tailwindcss.com/docs/border-width
1528
1528
  */
1529
1529
  "border-w-t": [{
1530
- "border-t": Y()
1530
+ "border-t": Z()
1531
1531
  }],
1532
1532
  /**
1533
1533
  * Border Width Right
1534
1534
  * @see https://tailwindcss.com/docs/border-width
1535
1535
  */
1536
1536
  "border-w-r": [{
1537
- "border-r": Y()
1537
+ "border-r": Z()
1538
1538
  }],
1539
1539
  /**
1540
1540
  * Border Width Bottom
1541
1541
  * @see https://tailwindcss.com/docs/border-width
1542
1542
  */
1543
1543
  "border-w-b": [{
1544
- "border-b": Y()
1544
+ "border-b": Z()
1545
1545
  }],
1546
1546
  /**
1547
1547
  * Border Width Left
1548
1548
  * @see https://tailwindcss.com/docs/border-width
1549
1549
  */
1550
1550
  "border-w-l": [{
1551
- "border-l": Y()
1551
+ "border-l": Z()
1552
1552
  }],
1553
1553
  /**
1554
1554
  * Divide Width X
1555
1555
  * @see https://tailwindcss.com/docs/border-width#between-children
1556
1556
  */
1557
1557
  "divide-x": [{
1558
- "divide-x": Y()
1558
+ "divide-x": Z()
1559
1559
  }],
1560
1560
  /**
1561
1561
  * Divide Width X Reverse
@@ -1567,7 +1567,7 @@ const Er = (n, e) => {
1567
1567
  * @see https://tailwindcss.com/docs/border-width#between-children
1568
1568
  */
1569
1569
  "divide-y": [{
1570
- "divide-y": Y()
1570
+ "divide-y": Z()
1571
1571
  }],
1572
1572
  /**
1573
1573
  * Divide Width Y Reverse
@@ -1579,14 +1579,14 @@ const Er = (n, e) => {
1579
1579
  * @see https://tailwindcss.com/docs/border-style
1580
1580
  */
1581
1581
  "border-style": [{
1582
- border: [...ye(), "hidden", "none"]
1582
+ border: [...Ae(), "hidden", "none"]
1583
1583
  }],
1584
1584
  /**
1585
1585
  * Divide Style
1586
1586
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1587
1587
  */
1588
1588
  "divide-style": [{
1589
- divide: [...ye(), "hidden", "none"]
1589
+ divide: [...Ae(), "hidden", "none"]
1590
1590
  }],
1591
1591
  /**
1592
1592
  * Border Color
@@ -1663,7 +1663,7 @@ const Er = (n, e) => {
1663
1663
  * @see https://tailwindcss.com/docs/outline-style
1664
1664
  */
1665
1665
  "outline-style": [{
1666
- outline: [...ye(), "none", "hidden"]
1666
+ outline: [...Ae(), "none", "hidden"]
1667
1667
  }],
1668
1668
  /**
1669
1669
  * Outline Offset
@@ -1677,7 +1677,7 @@ const Er = (n, e) => {
1677
1677
  * @see https://tailwindcss.com/docs/outline-width
1678
1678
  */
1679
1679
  "outline-w": [{
1680
- outline: ["", D, Qe, Ue]
1680
+ outline: ["", D, Xe, Ge]
1681
1681
  }],
1682
1682
  /**
1683
1683
  * Outline Color
@@ -1699,8 +1699,8 @@ const Er = (n, e) => {
1699
1699
  "",
1700
1700
  "none",
1701
1701
  f,
1702
- Ze,
1703
- Ye
1702
+ rt,
1703
+ tt
1704
1704
  ]
1705
1705
  }],
1706
1706
  /**
@@ -1715,7 +1715,7 @@ const Er = (n, e) => {
1715
1715
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1716
1716
  */
1717
1717
  "inset-shadow": [{
1718
- "inset-shadow": ["none", h, Ze, Ye]
1718
+ "inset-shadow": ["none", h, rt, tt]
1719
1719
  }],
1720
1720
  /**
1721
1721
  * Inset Box Shadow Color
@@ -1729,7 +1729,7 @@ const Er = (n, e) => {
1729
1729
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1730
1730
  */
1731
1731
  "ring-w": [{
1732
- ring: Y()
1732
+ ring: Z()
1733
1733
  }],
1734
1734
  /**
1735
1735
  * Ring Width Inset
@@ -1752,7 +1752,7 @@ const Er = (n, e) => {
1752
1752
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1753
1753
  */
1754
1754
  "ring-offset-w": [{
1755
- "ring-offset": [D, Ue]
1755
+ "ring-offset": [D, Ge]
1756
1756
  }],
1757
1757
  /**
1758
1758
  * Ring Offset Color
@@ -1768,7 +1768,7 @@ const Er = (n, e) => {
1768
1768
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1769
1769
  */
1770
1770
  "inset-ring-w": [{
1771
- "inset-ring": Y()
1771
+ "inset-ring": Z()
1772
1772
  }],
1773
1773
  /**
1774
1774
  * Inset Ring Color
@@ -1782,7 +1782,7 @@ const Er = (n, e) => {
1782
1782
  * @see https://tailwindcss.com/docs/text-shadow
1783
1783
  */
1784
1784
  "text-shadow": [{
1785
- "text-shadow": ["none", I, Ze, Ye]
1785
+ "text-shadow": ["none", I, rt, tt]
1786
1786
  }],
1787
1787
  /**
1788
1788
  * Text Shadow Color
@@ -1803,14 +1803,14 @@ const Er = (n, e) => {
1803
1803
  * @see https://tailwindcss.com/docs/mix-blend-mode
1804
1804
  */
1805
1805
  "mix-blend": [{
1806
- "mix-blend": [...Ae(), "plus-darker", "plus-lighter"]
1806
+ "mix-blend": [...Ue(), "plus-darker", "plus-lighter"]
1807
1807
  }],
1808
1808
  /**
1809
1809
  * Background Blend Mode
1810
1810
  * @see https://tailwindcss.com/docs/background-blend-mode
1811
1811
  */
1812
1812
  "bg-blend": [{
1813
- "bg-blend": Ae()
1813
+ "bg-blend": Ue()
1814
1814
  }],
1815
1815
  /**
1816
1816
  * Mask Clip
@@ -1834,10 +1834,10 @@ const Er = (n, e) => {
1834
1834
  "mask-linear": [D]
1835
1835
  }],
1836
1836
  "mask-image-linear-from-pos": [{
1837
- "mask-linear-from": W()
1837
+ "mask-linear-from": z()
1838
1838
  }],
1839
1839
  "mask-image-linear-to-pos": [{
1840
- "mask-linear-to": W()
1840
+ "mask-linear-to": z()
1841
1841
  }],
1842
1842
  "mask-image-linear-from-color": [{
1843
1843
  "mask-linear-from": R()
@@ -1846,10 +1846,10 @@ const Er = (n, e) => {
1846
1846
  "mask-linear-to": R()
1847
1847
  }],
1848
1848
  "mask-image-t-from-pos": [{
1849
- "mask-t-from": W()
1849
+ "mask-t-from": z()
1850
1850
  }],
1851
1851
  "mask-image-t-to-pos": [{
1852
- "mask-t-to": W()
1852
+ "mask-t-to": z()
1853
1853
  }],
1854
1854
  "mask-image-t-from-color": [{
1855
1855
  "mask-t-from": R()
@@ -1858,10 +1858,10 @@ const Er = (n, e) => {
1858
1858
  "mask-t-to": R()
1859
1859
  }],
1860
1860
  "mask-image-r-from-pos": [{
1861
- "mask-r-from": W()
1861
+ "mask-r-from": z()
1862
1862
  }],
1863
1863
  "mask-image-r-to-pos": [{
1864
- "mask-r-to": W()
1864
+ "mask-r-to": z()
1865
1865
  }],
1866
1866
  "mask-image-r-from-color": [{
1867
1867
  "mask-r-from": R()
@@ -1870,10 +1870,10 @@ const Er = (n, e) => {
1870
1870
  "mask-r-to": R()
1871
1871
  }],
1872
1872
  "mask-image-b-from-pos": [{
1873
- "mask-b-from": W()
1873
+ "mask-b-from": z()
1874
1874
  }],
1875
1875
  "mask-image-b-to-pos": [{
1876
- "mask-b-to": W()
1876
+ "mask-b-to": z()
1877
1877
  }],
1878
1878
  "mask-image-b-from-color": [{
1879
1879
  "mask-b-from": R()
@@ -1882,10 +1882,10 @@ const Er = (n, e) => {
1882
1882
  "mask-b-to": R()
1883
1883
  }],
1884
1884
  "mask-image-l-from-pos": [{
1885
- "mask-l-from": W()
1885
+ "mask-l-from": z()
1886
1886
  }],
1887
1887
  "mask-image-l-to-pos": [{
1888
- "mask-l-to": W()
1888
+ "mask-l-to": z()
1889
1889
  }],
1890
1890
  "mask-image-l-from-color": [{
1891
1891
  "mask-l-from": R()
@@ -1894,10 +1894,10 @@ const Er = (n, e) => {
1894
1894
  "mask-l-to": R()
1895
1895
  }],
1896
1896
  "mask-image-x-from-pos": [{
1897
- "mask-x-from": W()
1897
+ "mask-x-from": z()
1898
1898
  }],
1899
1899
  "mask-image-x-to-pos": [{
1900
- "mask-x-to": W()
1900
+ "mask-x-to": z()
1901
1901
  }],
1902
1902
  "mask-image-x-from-color": [{
1903
1903
  "mask-x-from": R()
@@ -1906,10 +1906,10 @@ const Er = (n, e) => {
1906
1906
  "mask-x-to": R()
1907
1907
  }],
1908
1908
  "mask-image-y-from-pos": [{
1909
- "mask-y-from": W()
1909
+ "mask-y-from": z()
1910
1910
  }],
1911
1911
  "mask-image-y-to-pos": [{
1912
- "mask-y-to": W()
1912
+ "mask-y-to": z()
1913
1913
  }],
1914
1914
  "mask-image-y-from-color": [{
1915
1915
  "mask-y-from": R()
@@ -1921,10 +1921,10 @@ const Er = (n, e) => {
1921
1921
  "mask-radial": [C, k]
1922
1922
  }],
1923
1923
  "mask-image-radial-from-pos": [{
1924
- "mask-radial-from": W()
1924
+ "mask-radial-from": z()
1925
1925
  }],
1926
1926
  "mask-image-radial-to-pos": [{
1927
- "mask-radial-to": W()
1927
+ "mask-radial-to": z()
1928
1928
  }],
1929
1929
  "mask-image-radial-from-color": [{
1930
1930
  "mask-radial-from": R()
@@ -1942,16 +1942,16 @@ const Er = (n, e) => {
1942
1942
  }]
1943
1943
  }],
1944
1944
  "mask-image-radial-pos": [{
1945
- "mask-radial-at": j()
1945
+ "mask-radial-at": H()
1946
1946
  }],
1947
1947
  "mask-image-conic-pos": [{
1948
1948
  "mask-conic": [D]
1949
1949
  }],
1950
1950
  "mask-image-conic-from-pos": [{
1951
- "mask-conic-from": W()
1951
+ "mask-conic-from": z()
1952
1952
  }],
1953
1953
  "mask-image-conic-to-pos": [{
1954
- "mask-conic-to": W()
1954
+ "mask-conic-to": z()
1955
1955
  }],
1956
1956
  "mask-image-conic-from-color": [{
1957
1957
  "mask-conic-from": R()
@@ -1985,14 +1985,14 @@ const Er = (n, e) => {
1985
1985
  * @see https://tailwindcss.com/docs/mask-repeat
1986
1986
  */
1987
1987
  "mask-repeat": [{
1988
- mask: Le()
1988
+ mask: Re()
1989
1989
  }],
1990
1990
  /**
1991
1991
  * Mask Size
1992
1992
  * @see https://tailwindcss.com/docs/mask-size
1993
1993
  */
1994
1994
  "mask-size": [{
1995
- mask: z()
1995
+ mask: j()
1996
1996
  }],
1997
1997
  /**
1998
1998
  * Mask Type
@@ -2029,7 +2029,7 @@ const Er = (n, e) => {
2029
2029
  * @see https://tailwindcss.com/docs/blur
2030
2030
  */
2031
2031
  blur: [{
2032
- blur: he()
2032
+ blur: ce()
2033
2033
  }],
2034
2034
  /**
2035
2035
  * Brightness
@@ -2055,8 +2055,8 @@ const Er = (n, e) => {
2055
2055
  "",
2056
2056
  "none",
2057
2057
  A,
2058
- Ze,
2059
- Ye
2058
+ rt,
2059
+ tt
2060
2060
  ]
2061
2061
  }],
2062
2062
  /**
@@ -2119,7 +2119,7 @@ const Er = (n, e) => {
2119
2119
  * @see https://tailwindcss.com/docs/backdrop-blur
2120
2120
  */
2121
2121
  "backdrop-blur": [{
2122
- "backdrop-blur": he()
2122
+ "backdrop-blur": ce()
2123
2123
  }],
2124
2124
  /**
2125
2125
  * Backdrop Brightness
@@ -2251,7 +2251,7 @@ const Er = (n, e) => {
2251
2251
  * @see https://tailwindcss.com/docs/transition-timing-function
2252
2252
  */
2253
2253
  ease: [{
2254
- ease: ["linear", "initial", O, C, k]
2254
+ ease: ["linear", "initial", M, C, k]
2255
2255
  }],
2256
2256
  /**
2257
2257
  * Transition Delay
@@ -2289,7 +2289,7 @@ const Er = (n, e) => {
2289
2289
  * @see https://tailwindcss.com/docs/perspective-origin
2290
2290
  */
2291
2291
  "perspective-origin": [{
2292
- "perspective-origin": U()
2292
+ "perspective-origin": L()
2293
2293
  }],
2294
2294
  /**
2295
2295
  * Rotate
@@ -2357,21 +2357,21 @@ const Er = (n, e) => {
2357
2357
  * @see https://tailwindcss.com/docs/skew
2358
2358
  */
2359
2359
  skew: [{
2360
- skew: Pe()
2360
+ skew: Le()
2361
2361
  }],
2362
2362
  /**
2363
2363
  * Skew X
2364
2364
  * @see https://tailwindcss.com/docs/skew
2365
2365
  */
2366
2366
  "skew-x": [{
2367
- "skew-x": Pe()
2367
+ "skew-x": Le()
2368
2368
  }],
2369
2369
  /**
2370
2370
  * Skew Y
2371
2371
  * @see https://tailwindcss.com/docs/skew
2372
2372
  */
2373
2373
  "skew-y": [{
2374
- "skew-y": Pe()
2374
+ "skew-y": Le()
2375
2375
  }],
2376
2376
  /**
2377
2377
  * Transform
@@ -2385,7 +2385,7 @@ const Er = (n, e) => {
2385
2385
  * @see https://tailwindcss.com/docs/transform-origin
2386
2386
  */
2387
2387
  "transform-origin": [{
2388
- origin: U()
2388
+ origin: L()
2389
2389
  }],
2390
2390
  /**
2391
2391
  * Transform Style
@@ -2702,7 +2702,7 @@ const Er = (n, e) => {
2702
2702
  * @see https://tailwindcss.com/docs/stroke-width
2703
2703
  */
2704
2704
  "stroke-w": [{
2705
- stroke: [D, Qe, Ue, ct]
2705
+ stroke: [D, Xe, Ge, ut]
2706
2706
  }],
2707
2707
  /**
2708
2708
  * Stroke
@@ -2777,11 +2777,11 @@ const Er = (n, e) => {
2777
2777
  },
2778
2778
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2779
2779
  };
2780
- }, ci = /* @__PURE__ */ jr(li);
2780
+ }, ci = /* @__PURE__ */ Hr(li);
2781
2781
  function E(...n) {
2782
2782
  return ci(Ar(n));
2783
2783
  }
2784
- const rt = be.forwardRef(
2784
+ const ot = be.forwardRef(
2785
2785
  ({ className: n, variant: e = "default", size: i = "default", ...o }, c) => {
2786
2786
  const u = E(
2787
2787
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium",
@@ -2833,8 +2833,8 @@ const rt = be.forwardRef(
2833
2833
  );
2834
2834
  }
2835
2835
  );
2836
- rt.displayName = "Button";
2837
- const $t = be.forwardRef(
2836
+ ot.displayName = "Button";
2837
+ const Yt = be.forwardRef(
2838
2838
  ({ className: n, type: e, ...i }, o) => /* @__PURE__ */ b(
2839
2839
  "input",
2840
2840
  {
@@ -2853,8 +2853,8 @@ const $t = be.forwardRef(
2853
2853
  }
2854
2854
  )
2855
2855
  );
2856
- $t.displayName = "Input";
2857
- function je({ className: n, variant: e = "default", ...i }) {
2856
+ Yt.displayName = "Input";
2857
+ function ze({ className: n, variant: e = "default", ...i }) {
2858
2858
  const o = {
2859
2859
  default: E(
2860
2860
  "border-transparent bg-primary text-white",
@@ -2889,7 +2889,7 @@ function je({ className: n, variant: e = "default", ...i }) {
2889
2889
  }
2890
2890
  );
2891
2891
  }
2892
- const Xt = be.forwardRef(({ className: n, ...e }, i) => /* @__PURE__ */ b(
2892
+ const Zt = be.forwardRef(({ className: n, ...e }, i) => /* @__PURE__ */ b(
2893
2893
  "div",
2894
2894
  {
2895
2895
  ref: i,
@@ -2902,7 +2902,7 @@ const Xt = be.forwardRef(({ className: n, ...e }, i) => /* @__PURE__ */ b(
2902
2902
  ...e
2903
2903
  }
2904
2904
  ));
2905
- Xt.displayName = "Card";
2905
+ Zt.displayName = "Card";
2906
2906
  const di = be.forwardRef(({ className: n, ...e }, i) => /* @__PURE__ */ b(
2907
2907
  "div",
2908
2908
  {
@@ -2945,7 +2945,7 @@ const pi = be.forwardRef(({ className: n, ...e }, i) => /* @__PURE__ */ b(
2945
2945
  ));
2946
2946
  pi.displayName = "CardFooter";
2947
2947
  const fi = ({ compact: n = !1 }) => {
2948
- const { sessionState: e, triggerSession: i, theme: o } = $e(), c = o === "dark", u = (d) => {
2948
+ const { sessionState: e, triggerSession: i, theme: o } = Ze(), c = o === "dark", u = (d) => {
2949
2949
  if (!d) return "N/A";
2950
2950
  try {
2951
2951
  const l = new Date(d), m = /* @__PURE__ */ new Date(), w = l.getTime() - m.getTime();
@@ -2956,19 +2956,19 @@ const fi = ({ compact: n = !1 }) => {
2956
2956
  return "Invalid date";
2957
2957
  }
2958
2958
  };
2959
- return n ? /* @__PURE__ */ N("div", { className: "flex items-center gap-2", children: [
2960
- e.isSessionReady ? /* @__PURE__ */ N(je, { variant: "success", className: "gap-1", children: [
2961
- /* @__PURE__ */ b(At, { className: "h-3 w-3" }),
2959
+ return n ? /* @__PURE__ */ O("div", { className: "flex items-center gap-2", children: [
2960
+ e.isSessionReady ? /* @__PURE__ */ O(ze, { variant: "success", className: "gap-1", children: [
2961
+ /* @__PURE__ */ b(xt, { className: "h-3 w-3" }),
2962
2962
  "Session Active"
2963
- ] }) : e.lastError ? /* @__PURE__ */ N(je, { variant: "destructive", className: "gap-1", children: [
2964
- /* @__PURE__ */ b(st, { className: "h-3 w-3" }),
2963
+ ] }) : e.lastError ? /* @__PURE__ */ O(ze, { variant: "destructive", className: "gap-1", children: [
2964
+ /* @__PURE__ */ b(ct, { className: "h-3 w-3" }),
2965
2965
  "Error"
2966
- ] }) : /* @__PURE__ */ N(je, { variant: "secondary", className: "gap-1", children: [
2967
- /* @__PURE__ */ b(Et, { className: "h-3 w-3" }),
2966
+ ] }) : /* @__PURE__ */ O(ze, { variant: "secondary", className: "gap-1", children: [
2967
+ /* @__PURE__ */ b(St, { className: "h-3 w-3" }),
2968
2968
  "Ready"
2969
2969
  ] }),
2970
- !e.isSessionReady && /* @__PURE__ */ N(
2971
- rt,
2970
+ !e.isSessionReady && /* @__PURE__ */ O(
2971
+ ot,
2972
2972
  {
2973
2973
  variant: "outline",
2974
2974
  size: "sm",
@@ -2978,21 +2978,21 @@ const fi = ({ compact: n = !1 }) => {
2978
2978
  c ? "border-gray-700 hover:bg-gray-800 hover:border-gray-600" : "border-gray-200 hover:bg-gray-50 hover:border-gray-300"
2979
2979
  ),
2980
2980
  children: [
2981
- /* @__PURE__ */ b(gt, { className: "h-3 w-3 mr-1" }),
2981
+ /* @__PURE__ */ b(ft, { className: "h-3 w-3 mr-1" }),
2982
2982
  "Start"
2983
2983
  ]
2984
2984
  }
2985
2985
  )
2986
- ] }) : /* @__PURE__ */ b(Xt, { className: E(
2986
+ ] }) : /* @__PURE__ */ b(Zt, { className: E(
2987
2987
  "p-3 border",
2988
2988
  c ? "bg-gray-800/50 border-gray-700/50" : "bg-gray-50 border-gray-100"
2989
- ), children: /* @__PURE__ */ N("div", { className: "space-y-3", children: [
2990
- /* @__PURE__ */ N("div", { className: "flex items-center justify-between", children: [
2991
- /* @__PURE__ */ N("div", { className: "flex items-center gap-2", children: [
2989
+ ), children: /* @__PURE__ */ O("div", { className: "space-y-3", children: [
2990
+ /* @__PURE__ */ O("div", { className: "flex items-center justify-between", children: [
2991
+ /* @__PURE__ */ O("div", { className: "flex items-center gap-2", children: [
2992
2992
  /* @__PURE__ */ b("div", { className: E(
2993
2993
  "w-6 h-6 rounded-md flex items-center justify-center",
2994
2994
  e.isSessionReady ? "bg-emerald-100 dark:bg-emerald-500/20" : c ? "bg-gray-800" : "bg-gray-100"
2995
- ), children: /* @__PURE__ */ b(Et, { className: E(
2995
+ ), children: /* @__PURE__ */ b(St, { className: E(
2996
2996
  "h-3.5 w-3.5",
2997
2997
  e.isSessionReady ? "text-emerald-600 dark:text-emerald-400" : c ? "text-gray-400" : "text-gray-500"
2998
2998
  ) }) }),
@@ -3001,16 +3001,16 @@ const fi = ({ compact: n = !1 }) => {
3001
3001
  c ? "text-white" : "text-gray-900"
3002
3002
  ), children: "Session" })
3003
3003
  ] }),
3004
- e.isSessionReady ? /* @__PURE__ */ N(je, { variant: "success", children: [
3005
- /* @__PURE__ */ b(At, { className: "h-3 w-3 mr-1" }),
3004
+ e.isSessionReady ? /* @__PURE__ */ O(ze, { variant: "success", children: [
3005
+ /* @__PURE__ */ b(xt, { className: "h-3 w-3 mr-1" }),
3006
3006
  "Active"
3007
- ] }) : e.lastError ? /* @__PURE__ */ N(je, { variant: "destructive", children: [
3008
- /* @__PURE__ */ b(st, { className: "h-3 w-3 mr-1" }),
3007
+ ] }) : e.lastError ? /* @__PURE__ */ O(ze, { variant: "destructive", children: [
3008
+ /* @__PURE__ */ b(ct, { className: "h-3 w-3 mr-1" }),
3009
3009
  "Error"
3010
- ] }) : /* @__PURE__ */ b(je, { variant: "secondary", children: "Not Started" })
3010
+ ] }) : /* @__PURE__ */ b(ze, { variant: "secondary", children: "Not Started" })
3011
3011
  ] }),
3012
- /* @__PURE__ */ N("div", { className: "space-y-2", children: [
3013
- e.session_id && /* @__PURE__ */ N("div", { className: E(
3012
+ /* @__PURE__ */ O("div", { className: "space-y-2", children: [
3013
+ e.session_id && /* @__PURE__ */ O("div", { className: E(
3014
3014
  "flex items-start gap-2 p-2 rounded-lg",
3015
3015
  c ? "bg-gray-800/50 border border-gray-700/50" : "bg-white border border-gray-100"
3016
3016
  ), children: [
@@ -3023,22 +3023,22 @@ const fi = ({ compact: n = !1 }) => {
3023
3023
  c ? "text-gray-300" : "text-gray-700"
3024
3024
  ), children: e.session_id })
3025
3025
  ] }),
3026
- e.expires_at && /* @__PURE__ */ N("div", { className: E(
3026
+ e.expires_at && /* @__PURE__ */ O("div", { className: E(
3027
3027
  "flex items-center gap-2 p-2 rounded-lg",
3028
3028
  c ? "bg-gray-800/50 border border-gray-700/50" : "bg-white border border-gray-100"
3029
3029
  ), children: [
3030
3030
  /* @__PURE__ */ b(gr, { className: E("h-3.5 w-3.5", c ? "text-gray-500" : "text-gray-400") }),
3031
- /* @__PURE__ */ N("span", { className: E("text-xs", c ? "text-gray-400" : "text-gray-600"), children: [
3031
+ /* @__PURE__ */ O("span", { className: E("text-xs", c ? "text-gray-400" : "text-gray-600"), children: [
3032
3032
  "Expires in: ",
3033
3033
  /* @__PURE__ */ b("span", { className: "font-medium", children: u(e.expires_at) })
3034
3034
  ] })
3035
3035
  ] }),
3036
- e.lastError && /* @__PURE__ */ N("div", { className: E(
3036
+ e.lastError && /* @__PURE__ */ O("div", { className: E(
3037
3037
  "flex items-start gap-3 p-3 rounded-xl border",
3038
3038
  c ? "bg-red-950/30 border-red-900/50" : "bg-red-50 border-red-100"
3039
3039
  ), children: [
3040
- /* @__PURE__ */ b("div", { className: "w-6 h-6 rounded-lg bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ b(st, { className: "h-3.5 w-3.5 text-white" }) }),
3041
- /* @__PURE__ */ N("div", { className: "flex-1 min-w-0", children: [
3040
+ /* @__PURE__ */ b("div", { className: "w-6 h-6 rounded-lg bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ b(ct, { className: "h-3.5 w-3.5 text-white" }) }),
3041
+ /* @__PURE__ */ O("div", { className: "flex-1 min-w-0", children: [
3042
3042
  /* @__PURE__ */ b("p", { className: E(
3043
3043
  "text-xs font-medium mb-0.5",
3044
3044
  c ? "text-red-300" : "text-red-800"
@@ -3050,8 +3050,8 @@ const fi = ({ compact: n = !1 }) => {
3050
3050
  ] })
3051
3051
  ] })
3052
3052
  ] }),
3053
- !e.isSessionReady && /* @__PURE__ */ N(
3054
- rt,
3053
+ !e.isSessionReady && /* @__PURE__ */ O(
3054
+ ot,
3055
3055
  {
3056
3056
  variant: "outline",
3057
3057
  size: "sm",
@@ -3061,17 +3061,17 @@ const fi = ({ compact: n = !1 }) => {
3061
3061
  c ? "border-gray-700 hover:bg-gray-800 hover:border-gray-600" : "border-gray-200 hover:bg-gray-50 hover:border-gray-300"
3062
3062
  ),
3063
3063
  children: [
3064
- /* @__PURE__ */ b(gt, { className: "h-4 w-4 mr-2" }),
3064
+ /* @__PURE__ */ b(ft, { className: "h-4 w-4 mr-2" }),
3065
3065
  "Start Session"
3066
3066
  ]
3067
3067
  }
3068
3068
  )
3069
3069
  ] }) });
3070
3070
  }, mi = () => {
3071
- const { chatMessages: n, sendMessage: e, isConnected: i, theme: o } = $e(), [c, u] = ie(""), [d, l] = ie(!1), m = We(null), w = o === "dark", f = () => {
3071
+ const { chatMessages: n, sendMessage: e, isConnected: i, theme: o } = Ze(), [c, u] = re(""), [d, l] = re(!1), m = Qe(null), w = o === "dark", f = () => {
3072
3072
  m.current?.scrollIntoView({ behavior: "smooth" });
3073
3073
  };
3074
- Fe(() => {
3074
+ He(() => {
3075
3075
  f();
3076
3076
  }, [n]);
3077
3077
  const h = async () => {
@@ -3091,19 +3091,19 @@ const fi = ({ compact: n = !1 }) => {
3091
3091
  hour: "2-digit",
3092
3092
  minute: "2-digit"
3093
3093
  });
3094
- return /* @__PURE__ */ N("div", { className: E(
3094
+ return /* @__PURE__ */ O("div", { className: E(
3095
3095
  "flex flex-col h-full",
3096
3096
  w ? "bg-gray-950" : "bg-white"
3097
3097
  ), children: [
3098
3098
  /* @__PURE__ */ b("div", { className: E(
3099
3099
  "px-4 py-3 border-b",
3100
3100
  w ? "border-gray-800 bg-gray-900" : "border-gray-100 bg-white"
3101
- ), children: /* @__PURE__ */ N("div", { className: "flex items-center justify-between gap-3", children: [
3102
- /* @__PURE__ */ N("div", { className: "flex items-center gap-2", children: [
3101
+ ), children: /* @__PURE__ */ O("div", { className: "flex items-center justify-between gap-3", children: [
3102
+ /* @__PURE__ */ O("div", { className: "flex items-center gap-2", children: [
3103
3103
  /* @__PURE__ */ b("div", { className: E(
3104
3104
  "w-7 h-7 rounded-lg flex items-center justify-center",
3105
3105
  w ? "bg-indigo-900/30" : "bg-indigo-100"
3106
- ), children: /* @__PURE__ */ b(Dt, { className: E(
3106
+ ), children: /* @__PURE__ */ b(Pt, { className: E(
3107
3107
  "w-4 h-4",
3108
3108
  w ? "text-indigo-400" : "text-indigo-600"
3109
3109
  ) }) }),
@@ -3114,15 +3114,15 @@ const fi = ({ compact: n = !1 }) => {
3114
3114
  ] }),
3115
3115
  /* @__PURE__ */ b(fi, { compact: !0 })
3116
3116
  ] }) }),
3117
- /* @__PURE__ */ N("div", { className: E(
3117
+ /* @__PURE__ */ O("div", { className: E(
3118
3118
  "flex-1 overflow-y-auto p-4 space-y-4",
3119
3119
  w ? "bg-gray-900/30" : "bg-gray-50/30"
3120
3120
  ), children: [
3121
- n.length === 0 ? /* @__PURE__ */ N("div", { className: "flex flex-col items-center justify-center h-full text-center px-4 aria-animate-fade-in", children: [
3121
+ n.length === 0 ? /* @__PURE__ */ O("div", { className: "flex flex-col items-center justify-center h-full text-center px-4 aria-animate-fade-in", children: [
3122
3122
  /* @__PURE__ */ b("div", { className: E(
3123
3123
  "rounded-2xl p-6 mb-4",
3124
3124
  w ? "bg-gradient-to-br from-indigo-900/20 to-purple-900/20" : "bg-gradient-to-br from-indigo-50 to-purple-50"
3125
- ), children: /* @__PURE__ */ b(pt, { className: E(
3125
+ ), children: /* @__PURE__ */ b(mt, { className: E(
3126
3126
  "h-8 w-8",
3127
3127
  w ? "text-indigo-400" : "text-indigo-500"
3128
3128
  ) }) }),
@@ -3134,7 +3134,7 @@ const fi = ({ compact: n = !1 }) => {
3134
3134
  "text-xs",
3135
3135
  w ? "text-gray-400" : "text-gray-500"
3136
3136
  ), children: "Aria is here to chat with you" })
3137
- ] }) : n.filter((y) => y.content && y.content.trim() !== "").map((y, x) => /* @__PURE__ */ N(
3137
+ ] }) : n.filter((y) => y.content && y.content.trim() !== "").map((y, x) => /* @__PURE__ */ O(
3138
3138
  "div",
3139
3139
  {
3140
3140
  className: E(
@@ -3153,7 +3153,7 @@ const fi = ({ compact: n = !1 }) => {
3153
3153
  children: y.role === "user" ? /* @__PURE__ */ b(pr, { className: "h-3 w-3" }) : /* @__PURE__ */ b(fr, { className: "h-3 w-3" })
3154
3154
  }
3155
3155
  ),
3156
- /* @__PURE__ */ N(
3156
+ /* @__PURE__ */ O(
3157
3157
  "div",
3158
3158
  {
3159
3159
  className: E(
@@ -3190,12 +3190,12 @@ const fi = ({ compact: n = !1 }) => {
3190
3190
  /* @__PURE__ */ b("div", { className: E(
3191
3191
  "p-3 border-t",
3192
3192
  w ? "border-gray-800 bg-gray-900" : "border-gray-100 bg-white"
3193
- ), children: /* @__PURE__ */ N("div", { className: E(
3193
+ ), children: /* @__PURE__ */ O("div", { className: E(
3194
3194
  "flex gap-2 p-1 rounded-lg border transition-all duration-200",
3195
3195
  w ? "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"
3196
3196
  ), children: [
3197
3197
  /* @__PURE__ */ b(
3198
- $t,
3198
+ Yt,
3199
3199
  {
3200
3200
  value: c,
3201
3201
  onChange: (y) => u(y.target.value),
@@ -3209,7 +3209,7 @@ const fi = ({ compact: n = !1 }) => {
3209
3209
  }
3210
3210
  ),
3211
3211
  /* @__PURE__ */ b(
3212
- rt,
3212
+ ot,
3213
3213
  {
3214
3214
  onClick: h,
3215
3215
  disabled: !i || !c.trim() || d,
@@ -3223,7 +3223,7 @@ const fi = ({ compact: n = !1 }) => {
3223
3223
  )
3224
3224
  ] }) })
3225
3225
  ] });
3226
- }, Yt = "data:image/jpeg;base64,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", wi = ({ onClose: n }) => {
3226
+ }, er = "data:image/jpeg;base64,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", wi = ({ onClose: n }) => {
3227
3227
  const {
3228
3228
  isConnected: e,
3229
3229
  isLoading: i,
@@ -3238,8 +3238,8 @@ const fi = ({ compact: n = !1 }) => {
3238
3238
  setVideoElement: h,
3239
3239
  isSessionPreloaded: I,
3240
3240
  refreshSession: A
3241
- } = $e(), y = We(null);
3242
- Fe(() => (y.current && (console.log("[AriaWidget] Registering video element, preloaded:", I), h(y.current)), () => {
3241
+ } = Ze(), y = Qe(null);
3242
+ He(() => (y.current && (console.log("[AriaWidget] Registering video element, preloaded:", I), h(y.current)), () => {
3243
3243
  h(null);
3244
3244
  }), [h, I]);
3245
3245
  const x = f === "dark", _ = w === "bottom-right";
@@ -3267,13 +3267,13 @@ const fi = ({ compact: n = !1 }) => {
3267
3267
  backdropFilter: "blur(8px)",
3268
3268
  WebkitBackdropFilter: "blur(8px)"
3269
3269
  },
3270
- children: /* @__PURE__ */ N("div", { className: "flex-1 flex overflow-hidden min-h-0", children: [
3271
- /* @__PURE__ */ N("div", { className: E(
3270
+ children: /* @__PURE__ */ O("div", { className: "flex-1 flex overflow-hidden min-h-0", children: [
3271
+ /* @__PURE__ */ O("div", { className: E(
3272
3272
  "relative flex items-center justify-center overflow-hidden",
3273
3273
  x ? "bg-gradient-to-br from-gray-900 to-black" : "bg-gradient-to-br from-gray-100 to-gray-50",
3274
3274
  o ? "flex-1" : "w-full"
3275
3275
  ), children: [
3276
- i && /* @__PURE__ */ N(
3276
+ i && /* @__PURE__ */ O(
3277
3277
  "div",
3278
3278
  {
3279
3279
  className: E(
@@ -3281,7 +3281,7 @@ const fi = ({ compact: n = !1 }) => {
3281
3281
  x ? "bg-gradient-to-br from-gray-900 to-gray-950" : "bg-gradient-to-br from-gray-50 to-white"
3282
3282
  ),
3283
3283
  children: [
3284
- /* @__PURE__ */ N("div", { className: "absolute inset-0 overflow-hidden pointer-events-none", children: [
3284
+ /* @__PURE__ */ O("div", { className: "absolute inset-0 overflow-hidden pointer-events-none", children: [
3285
3285
  /* @__PURE__ */ b("div", { className: E(
3286
3286
  "absolute w-96 h-96 rounded-full opacity-20 blur-3xl",
3287
3287
  "animate-pulse",
@@ -3293,8 +3293,8 @@ const fi = ({ compact: n = !1 }) => {
3293
3293
  x ? "bg-purple-900" : "bg-purple-300"
3294
3294
  ), style: { bottom: "20%", right: "10%", animationDuration: "4s", animationDelay: "1s" } })
3295
3295
  ] }),
3296
- /* @__PURE__ */ N("div", { className: "relative flex flex-col items-center", children: [
3297
- /* @__PURE__ */ N("div", { className: "relative mb-6", children: [
3296
+ /* @__PURE__ */ O("div", { className: "relative flex flex-col items-center", children: [
3297
+ /* @__PURE__ */ O("div", { className: "relative mb-6", children: [
3298
3298
  /* @__PURE__ */ b("div", { className: E(
3299
3299
  "absolute -inset-3 rounded-full",
3300
3300
  "animate-spin",
@@ -3314,7 +3314,7 @@ const fi = ({ compact: n = !1 }) => {
3314
3314
  ), children: /* @__PURE__ */ b(
3315
3315
  "img",
3316
3316
  {
3317
- src: Yt,
3317
+ src: er,
3318
3318
  alt: "Aria",
3319
3319
  className: "w-full h-full object-cover",
3320
3320
  onError: (P) => {
@@ -3360,9 +3360,9 @@ const fi = ({ compact: n = !1 }) => {
3360
3360
  children: /* @__PURE__ */ b("div", { className: E(
3361
3361
  "rounded-lg p-6 max-w-sm w-full shadow-lg border",
3362
3362
  x ? "bg-gray-900 border-red-900/30" : "bg-white border-red-100"
3363
- ), children: /* @__PURE__ */ N("div", { className: "flex flex-col items-center text-center gap-3", children: [
3364
- /* @__PURE__ */ b("div", { className: "w-12 h-12 rounded-full bg-red-500/10 flex items-center justify-center", children: /* @__PURE__ */ b(Bt, { className: "w-6 h-6 text-red-500" }) }),
3365
- /* @__PURE__ */ N("div", { children: [
3363
+ ), children: /* @__PURE__ */ O("div", { className: "flex flex-col items-center text-center gap-3", children: [
3364
+ /* @__PURE__ */ b("div", { className: "w-12 h-12 rounded-full bg-red-500/10 flex items-center justify-center", children: /* @__PURE__ */ b(Ut, { className: "w-6 h-6 text-red-500" }) }),
3365
+ /* @__PURE__ */ O("div", { children: [
3366
3366
  /* @__PURE__ */ b("p", { className: E(
3367
3367
  "text-base font-bold mb-2",
3368
3368
  x ? "text-red-200" : "text-red-900"
@@ -3371,7 +3371,7 @@ const fi = ({ compact: n = !1 }) => {
3371
3371
  "text-sm leading-relaxed mb-4",
3372
3372
  x ? "text-red-400" : "text-red-600"
3373
3373
  ), children: d }),
3374
- /* @__PURE__ */ N(
3374
+ /* @__PURE__ */ O(
3375
3375
  "button",
3376
3376
  {
3377
3377
  onClick: () => A(),
@@ -3381,7 +3381,7 @@ const fi = ({ compact: n = !1 }) => {
3381
3381
  x ? "bg-indigo-600 hover:bg-indigo-700 text-white" : "bg-indigo-500 hover:bg-indigo-600 text-white"
3382
3382
  ),
3383
3383
  children: [
3384
- /* @__PURE__ */ b(gt, { className: "w-4 h-4" }),
3384
+ /* @__PURE__ */ b(ft, { className: "w-4 h-4" }),
3385
3385
  "Try Again"
3386
3386
  ]
3387
3387
  }
@@ -3408,13 +3408,13 @@ const fi = ({ compact: n = !1 }) => {
3408
3408
  x ? "bg-gradient-to-b from-white/60 to-transparent text-gray-900" : "bg-gradient-to-b from-black/60 to-transparent text-white"
3409
3409
  ),
3410
3410
  style: { backdropFilter: "blur(4px)" },
3411
- children: /* @__PURE__ */ N("div", { className: "flex items-start gap-2 max-w-full", children: [
3411
+ children: /* @__PURE__ */ O("div", { className: "flex items-start gap-2 max-w-full", children: [
3412
3412
  /* @__PURE__ */ b("div", { className: "w-1.5 h-1.5 rounded-full bg-emerald-400 animate-pulse shrink-0 mt-1" }),
3413
3413
  /* @__PURE__ */ b("p", { className: "text-xs leading-relaxed flex-1 line-clamp-3", children: u })
3414
3414
  ] })
3415
3415
  }
3416
3416
  ),
3417
- e && !d && /* @__PURE__ */ N(
3417
+ e && !d && /* @__PURE__ */ O(
3418
3418
  "div",
3419
3419
  {
3420
3420
  className: E(
@@ -3435,7 +3435,7 @@ const fi = ({ compact: n = !1 }) => {
3435
3435
  o ? x ? "bg-indigo-600 hover:bg-indigo-700 text-white" : "bg-indigo-500 hover:bg-indigo-600 text-white" : x ? "bg-gray-800/80 hover:bg-gray-700 text-gray-300" : "bg-gray-100/80 hover:bg-gray-200 text-gray-600"
3436
3436
  ),
3437
3437
  title: o ? "Hide Chat" : "Show Chat",
3438
- children: /* @__PURE__ */ b(Dt, { className: "h-4 w-4" })
3438
+ children: /* @__PURE__ */ b(Pt, { className: "h-4 w-4" })
3439
3439
  }
3440
3440
  ),
3441
3441
  /* @__PURE__ */ b(
@@ -3472,20 +3472,20 @@ const fi = ({ compact: n = !1 }) => {
3472
3472
  ] })
3473
3473
  }
3474
3474
  );
3475
- }, Zt = ({
3475
+ }, tr = ({
3476
3476
  children: n,
3477
3477
  styles: e = "",
3478
3478
  className: i,
3479
3479
  style: o,
3480
3480
  as: c = "div"
3481
3481
  }) => {
3482
- const u = We(null), [d, l] = ie(null);
3483
- Fe(() => {
3482
+ const u = Qe(null), [d, l] = re(null);
3483
+ He(() => {
3484
3484
  const f = u.current;
3485
3485
  if (!f) return;
3486
3486
  let h = f.shadowRoot;
3487
3487
  h || (h = f.attachShadow({ mode: "open" })), l(h);
3488
- }, []), Fe(() => {
3488
+ }, []), He(() => {
3489
3489
  if (!d || !e) return;
3490
3490
  const f = d.querySelector("style[data-aria-styles]");
3491
3491
  if (f) {
@@ -3497,8 +3497,8 @@ const fi = ({ compact: n = !1 }) => {
3497
3497
  h.remove();
3498
3498
  };
3499
3499
  }, [d, e]);
3500
- const [m, w] = ie(null);
3501
- return Fe(() => {
3500
+ const [m, w] = re(null);
3501
+ return He(() => {
3502
3502
  if (!d) return;
3503
3503
  let f = d.querySelector(".aria-shadow-content");
3504
3504
  f || (f = document.createElement("div"), f.className = "aria-shadow-content", d.appendChild(f)), w(f);
@@ -3511,29 +3511,29 @@ const fi = ({ compact: n = !1 }) => {
3511
3511
  children: m && yr(n, m)
3512
3512
  }
3513
3513
  );
3514
- }, er = '@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-500:oklch(76.9% .188 70.08);--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-100:oklch(93% .034 272.788);--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-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--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}.static{position:static}.-inset-1\\.5{inset:calc(var(--spacing)*-1.5)}.-inset-3{inset:calc(var(--spacing)*-3)}.inset-0{inset:calc(var(--spacing)*0)}.inset-8{inset:calc(var(--spacing)*8)}.inset-\\[3px\\]{inset:3px}.top-0{top:calc(var(--spacing)*0)}.top-4{top:calc(var(--spacing)*4)}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.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-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-4{margin-left:calc(var(--spacing)*4)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-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-\\[500px\\]{height:500px}.h-full{height:100%}.max-h-32{max-height:calc(var(--spacing)*32)}.max-h-40{max-height:calc(var(--spacing)*40)}.max-h-64{max-height:calc(var(--spacing)*64)}.max-h-\\[90vh\\]{max-height:90vh}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-20{width:calc(var(--spacing)*20)}.w-64{width:calc(var(--spacing)*64)}.w-96{width:calc(var(--spacing)*96)}.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-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-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-500{background-color:var(--color-amber-500)}.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-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-100{background-color:var(--color-indigo-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-600{background-color:var(--color-indigo-600)}.bg-indigo-900{background-color:var(--color-indigo-900)}.bg-indigo-900\\/30{background-color:#312c854d}@supports (color:color-mix(in lab,red,red)){.bg-indigo-900\\/30{background-color:color-mix(in oklab,var(--color-indigo-900)30%,transparent)}}.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-500\\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.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-50{--tw-gradient-from:var(--color-indigo-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-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-indigo-900\\/20{--tw-gradient-from:#312c8533}@supports (color:color-mix(in lab,red,red)){.from-indigo-900\\/20{--tw-gradient-from:color-mix(in oklab,var(--color-indigo-900)20%,transparent)}}.from-indigo-900\\/20{--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-purple-900\\/20{--tw-gradient-to:#59168b33}@supports (color:color-mix(in lab,red,red)){.to-purple-900\\/20{--tw-gradient-to:color-mix(in oklab,var(--color-purple-900)20%,transparent)}}.to-purple-900\\/20{--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-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.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-indigo-400{color:var(--color-indigo-400)}.text-indigo-500{color:var(--color-indigo-500)}.text-indigo-600{color:var(--color-indigo-600)}.text-purple-600{color:var(--color-purple-600)}.text-purple-800{color:var(--color-purple-800)}.text-red-200{color:var(--color-red-200)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.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_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-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-indigo-600:hover{background-color:var(--color-indigo-600)}.hover\\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:text-blue-800:hover{color:var(--color-blue-800)}.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-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-16{inset:calc(var(--spacing)*16)}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:64rem){.lg\\:inset-20{inset:calc(var(--spacing)*20)}}@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\\: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}}';
3515
- function tr() {
3516
- return er;
3514
+ }, rr = '@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-500:oklch(76.9% .188 70.08);--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-100:oklch(93% .034 272.788);--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-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--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}.static{position:static}.-inset-1\\.5{inset:calc(var(--spacing)*-1.5)}.-inset-3{inset:calc(var(--spacing)*-3)}.inset-0{inset:calc(var(--spacing)*0)}.inset-8{inset:calc(var(--spacing)*8)}.inset-\\[3px\\]{inset:3px}.top-0{top:calc(var(--spacing)*0)}.top-4{top:calc(var(--spacing)*4)}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.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-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-4{margin-left:calc(var(--spacing)*4)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-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-\\[500px\\]{height:500px}.h-full{height:100%}.max-h-32{max-height:calc(var(--spacing)*32)}.max-h-40{max-height:calc(var(--spacing)*40)}.max-h-64{max-height:calc(var(--spacing)*64)}.max-h-\\[90vh\\]{max-height:90vh}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-20{width:calc(var(--spacing)*20)}.w-64{width:calc(var(--spacing)*64)}.w-96{width:calc(var(--spacing)*96)}.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-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-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-500{background-color:var(--color-amber-500)}.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-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-100{background-color:var(--color-indigo-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-600{background-color:var(--color-indigo-600)}.bg-indigo-900{background-color:var(--color-indigo-900)}.bg-indigo-900\\/30{background-color:#312c854d}@supports (color:color-mix(in lab,red,red)){.bg-indigo-900\\/30{background-color:color-mix(in oklab,var(--color-indigo-900)30%,transparent)}}.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-500\\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.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-50{--tw-gradient-from:var(--color-indigo-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-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-indigo-900\\/20{--tw-gradient-from:#312c8533}@supports (color:color-mix(in lab,red,red)){.from-indigo-900\\/20{--tw-gradient-from:color-mix(in oklab,var(--color-indigo-900)20%,transparent)}}.from-indigo-900\\/20{--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-purple-900\\/20{--tw-gradient-to:#59168b33}@supports (color:color-mix(in lab,red,red)){.to-purple-900\\/20{--tw-gradient-to:color-mix(in oklab,var(--color-purple-900)20%,transparent)}}.to-purple-900\\/20{--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-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.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-indigo-400{color:var(--color-indigo-400)}.text-indigo-500{color:var(--color-indigo-500)}.text-indigo-600{color:var(--color-indigo-600)}.text-purple-600{color:var(--color-purple-600)}.text-purple-800{color:var(--color-purple-800)}.text-red-200{color:var(--color-red-200)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.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_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-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-indigo-600:hover{background-color:var(--color-indigo-600)}.hover\\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:text-blue-800:hover{color:var(--color-blue-800)}.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-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-16{inset:calc(var(--spacing)*16)}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:64rem){.lg\\:inset-20{inset:calc(var(--spacing)*20)}}@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\\: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}}';
3515
+ function ir() {
3516
+ return rr;
3517
3517
  }
3518
- const pn = er, vi = ({
3518
+ const pn = rr, vi = ({
3519
3519
  label: n,
3520
3520
  showAvatar: e = !1,
3521
3521
  onTrigger: i,
3522
3522
  className: o,
3523
3523
  ...c
3524
3524
  }) => {
3525
- const { openAssistant: u, isSessionPreloaded: d, sessionManagerStatus: l, config: m, isOpen: w, theme: f } = $e(), h = n || m.triggerLabel || "Talk to Aria", I = f === "dark", A = d || l === "ready";
3525
+ const { openAssistant: u, isSessionPreloaded: d, sessionManagerStatus: l, config: m, isOpen: w, theme: f } = Ze(), h = n || m.triggerLabel || "Talk to Aria", I = f === "dark", A = d || l === "ready";
3526
3526
  return w ? null : /* @__PURE__ */ b(
3527
- Zt,
3527
+ tr,
3528
3528
  {
3529
- styles: tr(),
3529
+ styles: ir(),
3530
3530
  style: {
3531
3531
  position: "fixed",
3532
3532
  bottom: "1.5rem",
3533
3533
  right: "1.5rem",
3534
3534
  zIndex: 9997
3535
3535
  },
3536
- children: /* @__PURE__ */ b("div", { className: E("aria-assistant-container", I && "aria-dark"), children: /* @__PURE__ */ N(
3536
+ children: /* @__PURE__ */ b("div", { className: E("aria-assistant-container", I && "aria-dark"), children: /* @__PURE__ */ O(
3537
3537
  "button",
3538
3538
  {
3539
3539
  onClick: (y) => {
@@ -3558,7 +3558,7 @@ const pn = er, vi = ({
3558
3558
  ),
3559
3559
  ...c,
3560
3560
  children: [
3561
- e ? /* @__PURE__ */ N("div", { className: E(
3561
+ e ? /* @__PURE__ */ O("div", { className: E(
3562
3562
  "relative w-9 h-9 rounded-lg overflow-hidden shrink-0",
3563
3563
  "shadow-sm transition-all duration-200",
3564
3564
  I ? "bg-gray-800" : "bg-gray-100"
@@ -3566,7 +3566,7 @@ const pn = er, vi = ({
3566
3566
  /* @__PURE__ */ b(
3567
3567
  "img",
3568
3568
  {
3569
- src: Yt,
3569
+ src: er,
3570
3570
  alt: h,
3571
3571
  className: "w-full h-full object-cover",
3572
3572
  onError: (y) => {
@@ -3580,7 +3580,7 @@ const pn = er, vi = ({
3580
3580
  "div",
3581
3581
  {
3582
3582
  className: "hidden w-full h-full items-center justify-center aria-gradient-bg text-white",
3583
- children: /* @__PURE__ */ b(pt, { className: "w-4 h-4" })
3583
+ children: /* @__PURE__ */ b(mt, { className: "w-4 h-4" })
3584
3584
  }
3585
3585
  ),
3586
3586
  /* @__PURE__ */ b("span", { className: E(
@@ -3592,8 +3592,8 @@ const pn = er, vi = ({
3592
3592
  "relative w-9 h-9 rounded-lg flex items-center justify-center shrink-0",
3593
3593
  "aria-gradient-bg text-white shadow-sm",
3594
3594
  "transition-transform duration-200 group-hover:scale-105"
3595
- ), children: /* @__PURE__ */ b(pt, { className: "w-4 h-4" }) }),
3596
- /* @__PURE__ */ N("div", { className: "relative flex flex-col items-start min-w-0 text-left", children: [
3595
+ ), children: /* @__PURE__ */ b(mt, { className: "w-4 h-4" }) }),
3596
+ /* @__PURE__ */ O("div", { className: "relative flex flex-col items-start min-w-0 text-left", children: [
3597
3597
  /* @__PURE__ */ b("span", { className: E(
3598
3598
  "font-bold text-[13px] tracking-tight leading-none",
3599
3599
  I ? "text-white" : "text-gray-900"
@@ -3613,10 +3613,10 @@ const pn = er, vi = ({
3613
3613
  showAvatar: e = !0,
3614
3614
  triggerLabel: i
3615
3615
  }) => {
3616
- const { isOpen: o, closeAssistant: c } = $e();
3617
- return /* @__PURE__ */ N(ht, { children: [
3616
+ const { isOpen: o, closeAssistant: c } = Ze();
3617
+ return /* @__PURE__ */ O(pt, { children: [
3618
3618
  n && /* @__PURE__ */ b(vi, { showAvatar: e, label: i }),
3619
- o && /* @__PURE__ */ N(ht, { children: [
3619
+ o && /* @__PURE__ */ O(pt, { children: [
3620
3620
  /* @__PURE__ */ b(
3621
3621
  "div",
3622
3622
  {
@@ -3633,9 +3633,9 @@ const pn = er, vi = ({
3633
3633
  }
3634
3634
  ),
3635
3635
  /* @__PURE__ */ b(
3636
- Zt,
3636
+ tr,
3637
3637
  {
3638
- styles: tr(),
3638
+ styles: ir(),
3639
3639
  style: {
3640
3640
  position: "fixed",
3641
3641
  zIndex: 9999,
@@ -3649,10 +3649,10 @@ const pn = er, vi = ({
3649
3649
  ] })
3650
3650
  ] });
3651
3651
  };
3652
- var dt = {}, qe = {}, Rt;
3652
+ var ht = {}, Ye = {}, _t;
3653
3653
  function yi() {
3654
- if (Rt) return qe;
3655
- Rt = 1, qe.byteLength = l, qe.toByteArray = w, qe.fromByteArray = I;
3654
+ if (_t) return Ye;
3655
+ _t = 1, Ye.byteLength = l, Ye.toByteArray = w, Ye.fromByteArray = I;
3656
3656
  for (var n = [], e = [], i = typeof Uint8Array < "u" ? Uint8Array : Array, o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", c = 0, u = o.length; c < u; ++c)
3657
3657
  n[c] = o[c], e[o.charCodeAt(c)] = c;
3658
3658
  e[45] = 62, e[95] = 63;
@@ -3673,34 +3673,34 @@ function yi() {
3673
3673
  return (y + x) * 3 / 4 - x;
3674
3674
  }
3675
3675
  function w(A) {
3676
- var y, x = d(A), _ = x[0], O = x[1], P = new i(m(A, _, O)), V = 0, j = O > 0 ? _ - 4 : _, U;
3677
- for (U = 0; U < j; U += 4)
3678
- y = e[A.charCodeAt(U)] << 18 | e[A.charCodeAt(U + 1)] << 12 | e[A.charCodeAt(U + 2)] << 6 | e[A.charCodeAt(U + 3)], P[V++] = y >> 16 & 255, P[V++] = y >> 8 & 255, P[V++] = y & 255;
3679
- return O === 2 && (y = e[A.charCodeAt(U)] << 2 | e[A.charCodeAt(U + 1)] >> 4, P[V++] = y & 255), O === 1 && (y = e[A.charCodeAt(U)] << 10 | e[A.charCodeAt(U + 1)] << 4 | e[A.charCodeAt(U + 2)] >> 2, P[V++] = y >> 8 & 255, P[V++] = y & 255), P;
3676
+ var y, x = d(A), _ = x[0], M = x[1], P = new i(m(A, _, M)), V = 0, H = M > 0 ? _ - 4 : _, L;
3677
+ for (L = 0; L < H; L += 4)
3678
+ y = e[A.charCodeAt(L)] << 18 | e[A.charCodeAt(L + 1)] << 12 | e[A.charCodeAt(L + 2)] << 6 | e[A.charCodeAt(L + 3)], P[V++] = y >> 16 & 255, P[V++] = y >> 8 & 255, P[V++] = y & 255;
3679
+ return M === 2 && (y = e[A.charCodeAt(L)] << 2 | e[A.charCodeAt(L + 1)] >> 4, P[V++] = y & 255), M === 1 && (y = e[A.charCodeAt(L)] << 10 | e[A.charCodeAt(L + 1)] << 4 | e[A.charCodeAt(L + 2)] >> 2, P[V++] = y >> 8 & 255, P[V++] = y & 255), P;
3680
3680
  }
3681
3681
  function f(A) {
3682
3682
  return n[A >> 18 & 63] + n[A >> 12 & 63] + n[A >> 6 & 63] + n[A & 63];
3683
3683
  }
3684
3684
  function h(A, y, x) {
3685
- for (var _, O = [], P = y; P < x; P += 3)
3686
- _ = (A[P] << 16 & 16711680) + (A[P + 1] << 8 & 65280) + (A[P + 2] & 255), O.push(f(_));
3687
- return O.join("");
3685
+ for (var _, M = [], P = y; P < x; P += 3)
3686
+ _ = (A[P] << 16 & 16711680) + (A[P + 1] << 8 & 65280) + (A[P + 2] & 255), M.push(f(_));
3687
+ return M.join("");
3688
3688
  }
3689
3689
  function I(A) {
3690
- for (var y, x = A.length, _ = x % 3, O = [], P = 16383, V = 0, j = x - _; V < j; V += P)
3691
- O.push(h(A, V, V + P > j ? j : V + P));
3692
- return _ === 1 ? (y = A[x - 1], O.push(
3690
+ for (var y, x = A.length, _ = x % 3, M = [], P = 16383, V = 0, H = x - _; V < H; V += P)
3691
+ M.push(h(A, V, V + P > H ? H : V + P));
3692
+ return _ === 1 ? (y = A[x - 1], M.push(
3693
3693
  n[y >> 2] + n[y << 4 & 63] + "=="
3694
- )) : _ === 2 && (y = (A[x - 2] << 8) + A[x - 1], O.push(
3694
+ )) : _ === 2 && (y = (A[x - 2] << 8) + A[x - 1], M.push(
3695
3695
  n[y >> 10] + n[y >> 4 & 63] + n[y << 2 & 63] + "="
3696
- )), O.join("");
3696
+ )), M.join("");
3697
3697
  }
3698
- return qe;
3698
+ return Ye;
3699
3699
  }
3700
- var et = {};
3701
- var Tt;
3700
+ var it = {};
3701
+ var Nt;
3702
3702
  function Ai() {
3703
- return Tt || (Tt = 1, et.read = function(n, e, i, o, c) {
3703
+ return Nt || (Nt = 1, it.read = function(n, e, i, o, c) {
3704
3704
  var u, d, l = c * 8 - o - 1, m = (1 << l) - 1, w = m >> 1, f = -7, h = i ? c - 1 : 0, I = i ? -1 : 1, A = n[e + h];
3705
3705
  for (h += I, u = A & (1 << -f) - 1, A >>= -f, f += l; f > 0; u = u * 256 + n[e + h], h += I, f -= 8)
3706
3706
  ;
@@ -3714,18 +3714,18 @@ function Ai() {
3714
3714
  d = d + Math.pow(2, o), u = u - w;
3715
3715
  }
3716
3716
  return (A ? -1 : 1) * d * Math.pow(2, u - o);
3717
- }, et.write = function(n, e, i, o, c, u) {
3717
+ }, it.write = function(n, e, i, o, c, u) {
3718
3718
  var d, l, m, w = u * 8 - c - 1, f = (1 << w) - 1, h = f >> 1, I = c === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, A = o ? 0 : u - 1, y = o ? 1 : -1, x = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
3719
3719
  for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (l = isNaN(e) ? 1 : 0, d = f) : (d = Math.floor(Math.log(e) / Math.LN2), e * (m = Math.pow(2, -d)) < 1 && (d--, m *= 2), d + h >= 1 ? e += I / m : e += I * Math.pow(2, 1 - h), e * m >= 2 && (d++, m /= 2), d + h >= f ? (l = 0, d = f) : d + h >= 1 ? (l = (e * m - 1) * Math.pow(2, c), d = d + h) : (l = e * Math.pow(2, h - 1) * Math.pow(2, c), d = 0)); c >= 8; n[i + A] = l & 255, A += y, l /= 256, c -= 8)
3720
3720
  ;
3721
3721
  for (d = d << c | l, w += c; w > 0; n[i + A] = d & 255, A += y, d /= 256, w -= 8)
3722
3722
  ;
3723
3723
  n[i + A - y] |= x * 128;
3724
- }), et;
3724
+ }), it;
3725
3725
  }
3726
- var _t;
3726
+ var Ot;
3727
3727
  function Ei() {
3728
- return _t || (_t = 1, (function(n) {
3728
+ return Ot || (Ot = 1, (function(n) {
3729
3729
  const e = yi(), i = Ai(), o = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
3730
3730
  n.Buffer = l, n.SlowBuffer = P, n.INSPECT_MAX_BYTES = 50;
3731
3731
  const c = 2147483647;
@@ -3814,7 +3814,7 @@ function Ei() {
3814
3814
  return f(a, t, r);
3815
3815
  };
3816
3816
  function h(a) {
3817
- return w(a), d(a < 0 ? 0 : O(a) | 0);
3817
+ return w(a), d(a < 0 ? 0 : M(a) | 0);
3818
3818
  }
3819
3819
  l.allocUnsafe = function(a) {
3820
3820
  return h(a);
@@ -3830,7 +3830,7 @@ function Ei() {
3830
3830
  return g !== r && (s = s.slice(0, g)), s;
3831
3831
  }
3832
3832
  function A(a) {
3833
- const t = a.length < 0 ? 0 : O(a.length) | 0, r = d(t);
3833
+ const t = a.length < 0 ? 0 : M(a.length) | 0, r = d(t);
3834
3834
  for (let s = 0; s < t; s += 1)
3835
3835
  r[s] = a[s] & 255;
3836
3836
  return r;
@@ -3852,15 +3852,15 @@ function Ei() {
3852
3852
  }
3853
3853
  function _(a) {
3854
3854
  if (l.isBuffer(a)) {
3855
- const t = O(a.length) | 0, r = d(t);
3855
+ const t = M(a.length) | 0, r = d(t);
3856
3856
  return r.length === 0 || a.copy(r, 0, 0, t), r;
3857
3857
  }
3858
3858
  if (a.length !== void 0)
3859
- return typeof a.length != "number" || at(a.length) ? d(0) : A(a);
3859
+ return typeof a.length != "number" || lt(a.length) ? d(0) : A(a);
3860
3860
  if (a.type === "Buffer" && Array.isArray(a.data))
3861
3861
  return A(a.data);
3862
3862
  }
3863
- function O(a) {
3863
+ function M(a) {
3864
3864
  if (a >= c)
3865
3865
  throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + c.toString(16) + " bytes");
3866
3866
  return a | 0;
@@ -3947,7 +3947,7 @@ function Ei() {
3947
3947
  return r;
3948
3948
  case "utf8":
3949
3949
  case "utf-8":
3950
- return ot(a).length;
3950
+ return ge(a).length;
3951
3951
  case "ucs2":
3952
3952
  case "ucs-2":
3953
3953
  case "utf16le":
@@ -3956,15 +3956,15 @@ function Ei() {
3956
3956
  case "hex":
3957
3957
  return r >>> 1;
3958
3958
  case "base64":
3959
- return yt(a).length;
3959
+ return Et(a).length;
3960
3960
  default:
3961
3961
  if (g)
3962
- return s ? -1 : ot(a).length;
3962
+ return s ? -1 : ge(a).length;
3963
3963
  t = ("" + t).toLowerCase(), g = !0;
3964
3964
  }
3965
3965
  }
3966
3966
  l.byteLength = V;
3967
- function j(a, t, r) {
3967
+ function H(a, t, r) {
3968
3968
  let s = !1;
3969
3969
  if ((t === void 0 || t < 0) && (t = 0), t > this.length || ((r === void 0 || r > this.length) && (r = this.length), r <= 0) || (r >>>= 0, t >>>= 0, r <= t))
3970
3970
  return "";
@@ -3974,26 +3974,26 @@ function Ei() {
3974
3974
  return Ie(this, t, r);
3975
3975
  case "utf8":
3976
3976
  case "utf-8":
3977
- return me(this, t, r);
3977
+ return ue(this, t, r);
3978
3978
  case "ascii":
3979
- return ce(this, t, r);
3979
+ return le(this, t, r);
3980
3980
  case "latin1":
3981
3981
  case "binary":
3982
3982
  return R(this, t, r);
3983
3983
  case "base64":
3984
- return Be(this, t, r);
3984
+ return N(this, t, r);
3985
3985
  case "ucs2":
3986
3986
  case "ucs-2":
3987
3987
  case "utf16le":
3988
3988
  case "utf-16le":
3989
- return Le(this, t, r);
3989
+ return Re(this, t, r);
3990
3990
  default:
3991
3991
  if (s) throw new TypeError("Unknown encoding: " + a);
3992
3992
  a = (a + "").toLowerCase(), s = !0;
3993
3993
  }
3994
3994
  }
3995
3995
  l.prototype._isBuffer = !0;
3996
- function U(a, t, r) {
3996
+ function L(a, t, r) {
3997
3997
  const s = a[t];
3998
3998
  a[t] = a[r], a[r] = s;
3999
3999
  }
@@ -4002,25 +4002,25 @@ function Ei() {
4002
4002
  if (t % 2 !== 0)
4003
4003
  throw new RangeError("Buffer size must be a multiple of 16-bits");
4004
4004
  for (let r = 0; r < t; r += 2)
4005
- U(this, r, r + 1);
4005
+ L(this, r, r + 1);
4006
4006
  return this;
4007
4007
  }, l.prototype.swap32 = function() {
4008
4008
  const t = this.length;
4009
4009
  if (t % 4 !== 0)
4010
4010
  throw new RangeError("Buffer size must be a multiple of 32-bits");
4011
4011
  for (let r = 0; r < t; r += 4)
4012
- U(this, r, r + 3), U(this, r + 1, r + 2);
4012
+ L(this, r, r + 3), L(this, r + 1, r + 2);
4013
4013
  return this;
4014
4014
  }, l.prototype.swap64 = function() {
4015
4015
  const t = this.length;
4016
4016
  if (t % 8 !== 0)
4017
4017
  throw new RangeError("Buffer size must be a multiple of 64-bits");
4018
4018
  for (let r = 0; r < t; r += 8)
4019
- U(this, r, r + 7), U(this, r + 1, r + 6), U(this, r + 2, r + 5), U(this, r + 3, r + 4);
4019
+ L(this, r, r + 7), L(this, r + 1, r + 6), L(this, r + 2, r + 5), L(this, r + 3, r + 4);
4020
4020
  return this;
4021
4021
  }, l.prototype.toString = function() {
4022
4022
  const t = this.length;
4023
- return t === 0 ? "" : arguments.length === 0 ? me(this, 0, t) : j.apply(this, arguments);
4023
+ return t === 0 ? "" : arguments.length === 0 ? ue(this, 0, t) : H.apply(this, arguments);
4024
4024
  }, l.prototype.toLocaleString = l.prototype.toString, l.prototype.equals = function(t) {
4025
4025
  if (!l.isBuffer(t)) throw new TypeError("Argument must be a Buffer");
4026
4026
  return this === t ? !0 : l.compare(this, t) === 0;
@@ -4042,65 +4042,65 @@ function Ei() {
4042
4042
  if (r >= s)
4043
4043
  return 1;
4044
4044
  if (r >>>= 0, s >>>= 0, g >>>= 0, p >>>= 0, this === t) return 0;
4045
- let v = p - g, L = s - r;
4046
- const J = Math.min(v, L), H = this.slice(g, p), K = t.slice(r, s);
4045
+ let v = p - g, B = s - r;
4046
+ const J = Math.min(v, B), W = this.slice(g, p), K = t.slice(r, s);
4047
4047
  for (let G = 0; G < J; ++G)
4048
- if (H[G] !== K[G]) {
4049
- v = H[G], L = K[G];
4048
+ if (W[G] !== K[G]) {
4049
+ v = W[G], B = K[G];
4050
4050
  break;
4051
4051
  }
4052
- return v < L ? -1 : L < v ? 1 : 0;
4052
+ return v < B ? -1 : B < v ? 1 : 0;
4053
4053
  };
4054
- function ee(a, t, r, s, g) {
4054
+ function te(a, t, r, s, g) {
4055
4055
  if (a.length === 0) return -1;
4056
- if (typeof r == "string" ? (s = r, r = 0) : r > 2147483647 ? r = 2147483647 : r < -2147483648 && (r = -2147483648), r = +r, at(r) && (r = g ? 0 : a.length - 1), r < 0 && (r = a.length + r), r >= a.length) {
4056
+ if (typeof r == "string" ? (s = r, r = 0) : r > 2147483647 ? r = 2147483647 : r < -2147483648 && (r = -2147483648), r = +r, lt(r) && (r = g ? 0 : a.length - 1), r < 0 && (r = a.length + r), r >= a.length) {
4057
4057
  if (g) return -1;
4058
4058
  r = a.length - 1;
4059
4059
  } else if (r < 0)
4060
4060
  if (g) r = 0;
4061
4061
  else return -1;
4062
4062
  if (typeof t == "string" && (t = l.from(t, s)), l.isBuffer(t))
4063
- return t.length === 0 ? -1 : oe(a, t, r, s, g);
4063
+ return t.length === 0 ? -1 : Y(a, t, r, s, g);
4064
4064
  if (typeof t == "number")
4065
- return t = t & 255, typeof Uint8Array.prototype.indexOf == "function" ? g ? Uint8Array.prototype.indexOf.call(a, t, r) : Uint8Array.prototype.lastIndexOf.call(a, t, r) : oe(a, [t], r, s, g);
4065
+ return t = t & 255, typeof Uint8Array.prototype.indexOf == "function" ? g ? Uint8Array.prototype.indexOf.call(a, t, r) : Uint8Array.prototype.lastIndexOf.call(a, t, r) : Y(a, [t], r, s, g);
4066
4066
  throw new TypeError("val must be string, number or Buffer");
4067
4067
  }
4068
- function oe(a, t, r, s, g) {
4069
- let p = 1, v = a.length, L = t.length;
4068
+ function Y(a, t, r, s, g) {
4069
+ let p = 1, v = a.length, B = t.length;
4070
4070
  if (s !== void 0 && (s = String(s).toLowerCase(), s === "ucs2" || s === "ucs-2" || s === "utf16le" || s === "utf-16le")) {
4071
4071
  if (a.length < 2 || t.length < 2)
4072
4072
  return -1;
4073
- p = 2, v /= 2, L /= 2, r /= 2;
4073
+ p = 2, v /= 2, B /= 2, r /= 2;
4074
4074
  }
4075
4075
  function J(K, G) {
4076
4076
  return p === 1 ? K[G] : K.readUInt16BE(G * p);
4077
4077
  }
4078
- let H;
4078
+ let W;
4079
4079
  if (g) {
4080
4080
  let K = -1;
4081
- for (H = r; H < v; H++)
4082
- if (J(a, H) === J(t, K === -1 ? 0 : H - K)) {
4083
- if (K === -1 && (K = H), H - K + 1 === L) return K * p;
4081
+ for (W = r; W < v; W++)
4082
+ if (J(a, W) === J(t, K === -1 ? 0 : W - K)) {
4083
+ if (K === -1 && (K = W), W - K + 1 === B) return K * p;
4084
4084
  } else
4085
- K !== -1 && (H -= H - K), K = -1;
4085
+ K !== -1 && (W -= W - K), K = -1;
4086
4086
  } else
4087
- for (r + L > v && (r = v - L), H = r; H >= 0; H--) {
4087
+ for (r + B > v && (r = v - B), W = r; W >= 0; W--) {
4088
4088
  let K = !0;
4089
- for (let G = 0; G < L; G++)
4090
- if (J(a, H + G) !== J(t, G)) {
4089
+ for (let G = 0; G < B; G++)
4090
+ if (J(a, W + G) !== J(t, G)) {
4091
4091
  K = !1;
4092
4092
  break;
4093
4093
  }
4094
- if (K) return H;
4094
+ if (K) return W;
4095
4095
  }
4096
4096
  return -1;
4097
4097
  }
4098
4098
  l.prototype.includes = function(t, r, s) {
4099
4099
  return this.indexOf(t, r, s) !== -1;
4100
4100
  }, l.prototype.indexOf = function(t, r, s) {
4101
- return ee(this, t, r, s, !0);
4101
+ return te(this, t, r, s, !0);
4102
4102
  }, l.prototype.lastIndexOf = function(t, r, s) {
4103
- return ee(this, t, r, s, !1);
4103
+ return te(this, t, r, s, !1);
4104
4104
  };
4105
4105
  function T(a, t, r, s) {
4106
4106
  r = Number(r) || 0;
@@ -4110,23 +4110,23 @@ function Ei() {
4110
4110
  s > p / 2 && (s = p / 2);
4111
4111
  let v;
4112
4112
  for (v = 0; v < s; ++v) {
4113
- const L = parseInt(t.substr(v * 2, 2), 16);
4114
- if (at(L)) return v;
4115
- a[r + v] = L;
4113
+ const B = parseInt(t.substr(v * 2, 2), 16);
4114
+ if (lt(B)) return v;
4115
+ a[r + v] = B;
4116
4116
  }
4117
4117
  return v;
4118
4118
  }
4119
- function re(a, t, r, s) {
4120
- return Xe(ot(t, a.length - r), a, r, s);
4119
+ function ne(a, t, r, s) {
4120
+ return et(ge(t, a.length - r), a, r, s);
4121
4121
  }
4122
- function fe(a, t, r, s) {
4123
- return Xe(sr(t), a, r, s);
4122
+ function me(a, t, r, s) {
4123
+ return et(Ve(t), a, r, s);
4124
4124
  }
4125
- function M(a, t, r, s) {
4126
- return Xe(yt(t), a, r, s);
4125
+ function ye(a, t, r, s) {
4126
+ return et(Et(t), a, r, s);
4127
4127
  }
4128
- function ue(a, t, r, s) {
4129
- return Xe(lr(t, a.length - r), a, r, s);
4128
+ function Ce(a, t, r, s) {
4129
+ return et(lr(t, a.length - r), a, r, s);
4130
4130
  }
4131
4131
  l.prototype.write = function(t, r, s, g) {
4132
4132
  if (r === void 0)
@@ -4150,18 +4150,18 @@ function Ei() {
4150
4150
  return T(this, t, r, s);
4151
4151
  case "utf8":
4152
4152
  case "utf-8":
4153
- return re(this, t, r, s);
4153
+ return ne(this, t, r, s);
4154
4154
  case "ascii":
4155
4155
  case "latin1":
4156
4156
  case "binary":
4157
- return fe(this, t, r, s);
4157
+ return me(this, t, r, s);
4158
4158
  case "base64":
4159
- return M(this, t, r, s);
4159
+ return ye(this, t, r, s);
4160
4160
  case "ucs2":
4161
4161
  case "ucs-2":
4162
4162
  case "utf16le":
4163
4163
  case "utf-16le":
4164
- return ue(this, t, r, s);
4164
+ return Ce(this, t, r, s);
4165
4165
  default:
4166
4166
  if (v) throw new TypeError("Unknown encoding: " + g);
4167
4167
  g = ("" + g).toLowerCase(), v = !0;
@@ -4172,19 +4172,19 @@ function Ei() {
4172
4172
  data: Array.prototype.slice.call(this._arr || this, 0)
4173
4173
  };
4174
4174
  };
4175
- function Be(a, t, r) {
4175
+ function N(a, t, r) {
4176
4176
  return t === 0 && r === a.length ? e.fromByteArray(a) : e.fromByteArray(a.slice(t, r));
4177
4177
  }
4178
- function me(a, t, r) {
4178
+ function ue(a, t, r) {
4179
4179
  r = Math.min(a.length, r);
4180
4180
  const s = [];
4181
4181
  let g = t;
4182
4182
  for (; g < r; ) {
4183
4183
  const p = a[g];
4184
- let v = null, L = p > 239 ? 4 : p > 223 ? 3 : p > 191 ? 2 : 1;
4185
- if (g + L <= r) {
4186
- let J, H, K, G;
4187
- switch (L) {
4184
+ let v = null, B = p > 239 ? 4 : p > 223 ? 3 : p > 191 ? 2 : 1;
4185
+ if (g + B <= r) {
4186
+ let J, W, K, G;
4187
+ switch (B) {
4188
4188
  case 1:
4189
4189
  p < 128 && (v = p);
4190
4190
  break;
@@ -4192,30 +4192,30 @@ function Ei() {
4192
4192
  J = a[g + 1], (J & 192) === 128 && (G = (p & 31) << 6 | J & 63, G > 127 && (v = G));
4193
4193
  break;
4194
4194
  case 3:
4195
- J = a[g + 1], H = a[g + 2], (J & 192) === 128 && (H & 192) === 128 && (G = (p & 15) << 12 | (J & 63) << 6 | H & 63, G > 2047 && (G < 55296 || G > 57343) && (v = G));
4195
+ J = a[g + 1], W = a[g + 2], (J & 192) === 128 && (W & 192) === 128 && (G = (p & 15) << 12 | (J & 63) << 6 | W & 63, G > 2047 && (G < 55296 || G > 57343) && (v = G));
4196
4196
  break;
4197
4197
  case 4:
4198
- J = a[g + 1], H = a[g + 2], K = a[g + 3], (J & 192) === 128 && (H & 192) === 128 && (K & 192) === 128 && (G = (p & 15) << 18 | (J & 63) << 12 | (H & 63) << 6 | K & 63, G > 65535 && G < 1114112 && (v = G));
4198
+ J = a[g + 1], W = a[g + 2], K = a[g + 3], (J & 192) === 128 && (W & 192) === 128 && (K & 192) === 128 && (G = (p & 15) << 18 | (J & 63) << 12 | (W & 63) << 6 | K & 63, G > 65535 && G < 1114112 && (v = G));
4199
4199
  }
4200
4200
  }
4201
- v === null ? (v = 65533, L = 1) : v > 65535 && (v -= 65536, s.push(v >>> 10 & 1023 | 55296), v = 56320 | v & 1023), s.push(v), g += L;
4201
+ v === null ? (v = 65533, B = 1) : v > 65535 && (v -= 65536, s.push(v >>> 10 & 1023 | 55296), v = 56320 | v & 1023), s.push(v), g += B;
4202
4202
  }
4203
4203
  return ae(s);
4204
4204
  }
4205
- const le = 4096;
4205
+ const he = 4096;
4206
4206
  function ae(a) {
4207
4207
  const t = a.length;
4208
- if (t <= le)
4208
+ if (t <= he)
4209
4209
  return String.fromCharCode.apply(String, a);
4210
4210
  let r = "", s = 0;
4211
4211
  for (; s < t; )
4212
4212
  r += String.fromCharCode.apply(
4213
4213
  String,
4214
- a.slice(s, s += le)
4214
+ a.slice(s, s += he)
4215
4215
  );
4216
4216
  return r;
4217
4217
  }
4218
- function ce(a, t, r) {
4218
+ function le(a, t, r) {
4219
4219
  let s = "";
4220
4220
  r = Math.min(a.length, r);
4221
4221
  for (let g = t; g < r; ++g)
@@ -4237,7 +4237,7 @@ function Ei() {
4237
4237
  g += cr[a[p]];
4238
4238
  return g;
4239
4239
  }
4240
- function Le(a, t, r) {
4240
+ function Re(a, t, r) {
4241
4241
  const s = a.slice(t, r);
4242
4242
  let g = "";
4243
4243
  for (let p = 0; p < s.length - 1; p += 2)
@@ -4250,91 +4250,91 @@ function Ei() {
4250
4250
  const g = this.subarray(t, r);
4251
4251
  return Object.setPrototypeOf(g, l.prototype), g;
4252
4252
  };
4253
- function z(a, t, r) {
4253
+ function j(a, t, r) {
4254
4254
  if (a % 1 !== 0 || a < 0) throw new RangeError("offset is not uint");
4255
4255
  if (a + t > r) throw new RangeError("Trying to access beyond buffer length");
4256
4256
  }
4257
4257
  l.prototype.readUintLE = l.prototype.readUIntLE = function(t, r, s) {
4258
- t = t >>> 0, r = r >>> 0, s || z(t, r, this.length);
4258
+ t = t >>> 0, r = r >>> 0, s || j(t, r, this.length);
4259
4259
  let g = this[t], p = 1, v = 0;
4260
4260
  for (; ++v < r && (p *= 256); )
4261
4261
  g += this[t + v] * p;
4262
4262
  return g;
4263
4263
  }, l.prototype.readUintBE = l.prototype.readUIntBE = function(t, r, s) {
4264
- t = t >>> 0, r = r >>> 0, s || z(t, r, this.length);
4264
+ t = t >>> 0, r = r >>> 0, s || j(t, r, this.length);
4265
4265
  let g = this[t + --r], p = 1;
4266
4266
  for (; r > 0 && (p *= 256); )
4267
4267
  g += this[t + --r] * p;
4268
4268
  return g;
4269
4269
  }, l.prototype.readUint8 = l.prototype.readUInt8 = function(t, r) {
4270
- return t = t >>> 0, r || z(t, 1, this.length), this[t];
4270
+ return t = t >>> 0, r || j(t, 1, this.length), this[t];
4271
4271
  }, l.prototype.readUint16LE = l.prototype.readUInt16LE = function(t, r) {
4272
- return t = t >>> 0, r || z(t, 2, this.length), this[t] | this[t + 1] << 8;
4272
+ return t = t >>> 0, r || j(t, 2, this.length), this[t] | this[t + 1] << 8;
4273
4273
  }, l.prototype.readUint16BE = l.prototype.readUInt16BE = function(t, r) {
4274
- return t = t >>> 0, r || z(t, 2, this.length), this[t] << 8 | this[t + 1];
4274
+ return t = t >>> 0, r || j(t, 2, this.length), this[t] << 8 | this[t + 1];
4275
4275
  }, l.prototype.readUint32LE = l.prototype.readUInt32LE = function(t, r) {
4276
- return t = t >>> 0, r || z(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + this[t + 3] * 16777216;
4276
+ return t = t >>> 0, r || j(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + this[t + 3] * 16777216;
4277
4277
  }, l.prototype.readUint32BE = l.prototype.readUInt32BE = function(t, r) {
4278
- return t = t >>> 0, r || z(t, 4, this.length), this[t] * 16777216 + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]);
4279
- }, l.prototype.readBigUInt64LE = Re(function(t) {
4280
- t = t >>> 0, S(t, "offset");
4278
+ return t = t >>> 0, r || j(t, 4, this.length), this[t] * 16777216 + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]);
4279
+ }, l.prototype.readBigUInt64LE = _e(function(t) {
4280
+ t = t >>> 0, Te(t, "offset");
4281
4281
  const r = this[t], s = this[t + 7];
4282
- (r === void 0 || s === void 0) && B(t, this.length - 8);
4282
+ (r === void 0 || s === void 0) && Fe(t, this.length - 8);
4283
4283
  const g = r + this[++t] * 2 ** 8 + this[++t] * 2 ** 16 + this[++t] * 2 ** 24, p = this[++t] + this[++t] * 2 ** 8 + this[++t] * 2 ** 16 + s * 2 ** 24;
4284
4284
  return BigInt(g) + (BigInt(p) << BigInt(32));
4285
- }), l.prototype.readBigUInt64BE = Re(function(t) {
4286
- t = t >>> 0, S(t, "offset");
4285
+ }), l.prototype.readBigUInt64BE = _e(function(t) {
4286
+ t = t >>> 0, Te(t, "offset");
4287
4287
  const r = this[t], s = this[t + 7];
4288
- (r === void 0 || s === void 0) && B(t, this.length - 8);
4288
+ (r === void 0 || s === void 0) && Fe(t, this.length - 8);
4289
4289
  const g = r * 2 ** 24 + this[++t] * 2 ** 16 + this[++t] * 2 ** 8 + this[++t], p = this[++t] * 2 ** 24 + this[++t] * 2 ** 16 + this[++t] * 2 ** 8 + s;
4290
4290
  return (BigInt(g) << BigInt(32)) + BigInt(p);
4291
4291
  }), l.prototype.readIntLE = function(t, r, s) {
4292
- t = t >>> 0, r = r >>> 0, s || z(t, r, this.length);
4292
+ t = t >>> 0, r = r >>> 0, s || j(t, r, this.length);
4293
4293
  let g = this[t], p = 1, v = 0;
4294
4294
  for (; ++v < r && (p *= 256); )
4295
4295
  g += this[t + v] * p;
4296
4296
  return p *= 128, g >= p && (g -= Math.pow(2, 8 * r)), g;
4297
4297
  }, l.prototype.readIntBE = function(t, r, s) {
4298
- t = t >>> 0, r = r >>> 0, s || z(t, r, this.length);
4298
+ t = t >>> 0, r = r >>> 0, s || j(t, r, this.length);
4299
4299
  let g = r, p = 1, v = this[t + --g];
4300
4300
  for (; g > 0 && (p *= 256); )
4301
4301
  v += this[t + --g] * p;
4302
4302
  return p *= 128, v >= p && (v -= Math.pow(2, 8 * r)), v;
4303
4303
  }, l.prototype.readInt8 = function(t, r) {
4304
- return t = t >>> 0, r || z(t, 1, this.length), this[t] & 128 ? (255 - this[t] + 1) * -1 : this[t];
4304
+ return t = t >>> 0, r || j(t, 1, this.length), this[t] & 128 ? (255 - this[t] + 1) * -1 : this[t];
4305
4305
  }, l.prototype.readInt16LE = function(t, r) {
4306
- t = t >>> 0, r || z(t, 2, this.length);
4306
+ t = t >>> 0, r || j(t, 2, this.length);
4307
4307
  const s = this[t] | this[t + 1] << 8;
4308
4308
  return s & 32768 ? s | 4294901760 : s;
4309
4309
  }, l.prototype.readInt16BE = function(t, r) {
4310
- t = t >>> 0, r || z(t, 2, this.length);
4310
+ t = t >>> 0, r || j(t, 2, this.length);
4311
4311
  const s = this[t + 1] | this[t] << 8;
4312
4312
  return s & 32768 ? s | 4294901760 : s;
4313
4313
  }, l.prototype.readInt32LE = function(t, r) {
4314
- return t = t >>> 0, r || z(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24;
4314
+ return t = t >>> 0, r || j(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24;
4315
4315
  }, l.prototype.readInt32BE = function(t, r) {
4316
- return t = t >>> 0, r || z(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3];
4317
- }, l.prototype.readBigInt64LE = Re(function(t) {
4318
- t = t >>> 0, S(t, "offset");
4316
+ return t = t >>> 0, r || j(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3];
4317
+ }, l.prototype.readBigInt64LE = _e(function(t) {
4318
+ t = t >>> 0, Te(t, "offset");
4319
4319
  const r = this[t], s = this[t + 7];
4320
- (r === void 0 || s === void 0) && B(t, this.length - 8);
4320
+ (r === void 0 || s === void 0) && Fe(t, this.length - 8);
4321
4321
  const g = this[t + 4] + this[t + 5] * 2 ** 8 + this[t + 6] * 2 ** 16 + (s << 24);
4322
4322
  return (BigInt(g) << BigInt(32)) + BigInt(r + this[++t] * 2 ** 8 + this[++t] * 2 ** 16 + this[++t] * 2 ** 24);
4323
- }), l.prototype.readBigInt64BE = Re(function(t) {
4324
- t = t >>> 0, S(t, "offset");
4323
+ }), l.prototype.readBigInt64BE = _e(function(t) {
4324
+ t = t >>> 0, Te(t, "offset");
4325
4325
  const r = this[t], s = this[t + 7];
4326
- (r === void 0 || s === void 0) && B(t, this.length - 8);
4326
+ (r === void 0 || s === void 0) && Fe(t, this.length - 8);
4327
4327
  const g = (r << 24) + // Overflow
4328
4328
  this[++t] * 2 ** 16 + this[++t] * 2 ** 8 + this[++t];
4329
4329
  return (BigInt(g) << BigInt(32)) + BigInt(this[++t] * 2 ** 24 + this[++t] * 2 ** 16 + this[++t] * 2 ** 8 + s);
4330
4330
  }), l.prototype.readFloatLE = function(t, r) {
4331
- return t = t >>> 0, r || z(t, 4, this.length), i.read(this, t, !0, 23, 4);
4331
+ return t = t >>> 0, r || j(t, 4, this.length), i.read(this, t, !0, 23, 4);
4332
4332
  }, l.prototype.readFloatBE = function(t, r) {
4333
- return t = t >>> 0, r || z(t, 4, this.length), i.read(this, t, !1, 23, 4);
4333
+ return t = t >>> 0, r || j(t, 4, this.length), i.read(this, t, !1, 23, 4);
4334
4334
  }, l.prototype.readDoubleLE = function(t, r) {
4335
- return t = t >>> 0, r || z(t, 8, this.length), i.read(this, t, !0, 52, 8);
4335
+ return t = t >>> 0, r || j(t, 8, this.length), i.read(this, t, !0, 52, 8);
4336
4336
  }, l.prototype.readDoubleBE = function(t, r) {
4337
- return t = t >>> 0, r || z(t, 8, this.length), i.read(this, t, !1, 52, 8);
4337
+ return t = t >>> 0, r || j(t, 8, this.length), i.read(this, t, !1, 52, 8);
4338
4338
  };
4339
4339
  function Q(a, t, r, s, g, p) {
4340
4340
  if (!l.isBuffer(a)) throw new TypeError('"buffer" argument must be a Buffer instance');
@@ -4343,8 +4343,8 @@ function Ei() {
4343
4343
  }
4344
4344
  l.prototype.writeUintLE = l.prototype.writeUIntLE = function(t, r, s, g) {
4345
4345
  if (t = +t, r = r >>> 0, s = s >>> 0, !g) {
4346
- const L = Math.pow(2, 8 * s) - 1;
4347
- Q(this, t, r, s, L, 0);
4346
+ const B = Math.pow(2, 8 * s) - 1;
4347
+ Q(this, t, r, s, B, 0);
4348
4348
  }
4349
4349
  let p = 1, v = 0;
4350
4350
  for (this[r] = t & 255; ++v < s && (p *= 256); )
@@ -4352,8 +4352,8 @@ function Ei() {
4352
4352
  return r + s;
4353
4353
  }, l.prototype.writeUintBE = l.prototype.writeUIntBE = function(t, r, s, g) {
4354
4354
  if (t = +t, r = r >>> 0, s = s >>> 0, !g) {
4355
- const L = Math.pow(2, 8 * s) - 1;
4356
- Q(this, t, r, s, L, 0);
4355
+ const B = Math.pow(2, 8 * s) - 1;
4356
+ Q(this, t, r, s, B, 0);
4357
4357
  }
4358
4358
  let p = s - 1, v = 1;
4359
4359
  for (this[r + p] = t & 255; --p >= 0 && (v *= 256); )
@@ -4377,34 +4377,34 @@ function Ei() {
4377
4377
  let v = Number(t >> BigInt(32) & BigInt(4294967295));
4378
4378
  return a[r++] = v, v = v >> 8, a[r++] = v, v = v >> 8, a[r++] = v, v = v >> 8, a[r++] = v, r;
4379
4379
  }
4380
- function Y(a, t, r, s, g) {
4380
+ function Z(a, t, r, s, g) {
4381
4381
  xe(t, s, g, a, r, 7);
4382
4382
  let p = Number(t & BigInt(4294967295));
4383
4383
  a[r + 7] = p, p = p >> 8, a[r + 6] = p, p = p >> 8, a[r + 5] = p, p = p >> 8, a[r + 4] = p;
4384
4384
  let v = Number(t >> BigInt(32) & BigInt(4294967295));
4385
4385
  return a[r + 3] = v, v = v >> 8, a[r + 2] = v, v = v >> 8, a[r + 1] = v, v = v >> 8, a[r] = v, r + 8;
4386
4386
  }
4387
- l.prototype.writeBigUInt64LE = Re(function(t, r = 0) {
4387
+ l.prototype.writeBigUInt64LE = _e(function(t, r = 0) {
4388
4388
  return q(this, t, r, BigInt(0), BigInt("0xffffffffffffffff"));
4389
- }), l.prototype.writeBigUInt64BE = Re(function(t, r = 0) {
4390
- return Y(this, t, r, BigInt(0), BigInt("0xffffffffffffffff"));
4389
+ }), l.prototype.writeBigUInt64BE = _e(function(t, r = 0) {
4390
+ return Z(this, t, r, BigInt(0), BigInt("0xffffffffffffffff"));
4391
4391
  }), l.prototype.writeIntLE = function(t, r, s, g) {
4392
4392
  if (t = +t, r = r >>> 0, !g) {
4393
4393
  const J = Math.pow(2, 8 * s - 1);
4394
4394
  Q(this, t, r, s, J - 1, -J);
4395
4395
  }
4396
- let p = 0, v = 1, L = 0;
4396
+ let p = 0, v = 1, B = 0;
4397
4397
  for (this[r] = t & 255; ++p < s && (v *= 256); )
4398
- t < 0 && L === 0 && this[r + p - 1] !== 0 && (L = 1), this[r + p] = (t / v >> 0) - L & 255;
4398
+ t < 0 && B === 0 && this[r + p - 1] !== 0 && (B = 1), this[r + p] = (t / v >> 0) - B & 255;
4399
4399
  return r + s;
4400
4400
  }, l.prototype.writeIntBE = function(t, r, s, g) {
4401
4401
  if (t = +t, r = r >>> 0, !g) {
4402
4402
  const J = Math.pow(2, 8 * s - 1);
4403
4403
  Q(this, t, r, s, J - 1, -J);
4404
4404
  }
4405
- let p = s - 1, v = 1, L = 0;
4405
+ let p = s - 1, v = 1, B = 0;
4406
4406
  for (this[r + p] = t & 255; --p >= 0 && (v *= 256); )
4407
- t < 0 && L === 0 && this[r + p + 1] !== 0 && (L = 1), this[r + p] = (t / v >> 0) - L & 255;
4407
+ t < 0 && B === 0 && this[r + p + 1] !== 0 && (B = 1), this[r + p] = (t / v >> 0) - B & 255;
4408
4408
  return r + s;
4409
4409
  }, l.prototype.writeInt8 = function(t, r, s) {
4410
4410
  return t = +t, r = r >>> 0, s || Q(this, t, r, 1, 127, -128), t < 0 && (t = 255 + t + 1), this[r] = t & 255, r + 1;
@@ -4416,30 +4416,30 @@ function Ei() {
4416
4416
  return t = +t, r = r >>> 0, s || Q(this, t, r, 4, 2147483647, -2147483648), this[r] = t & 255, this[r + 1] = t >>> 8, this[r + 2] = t >>> 16, this[r + 3] = t >>> 24, r + 4;
4417
4417
  }, l.prototype.writeInt32BE = function(t, r, s) {
4418
4418
  return t = +t, r = r >>> 0, s || Q(this, t, r, 4, 2147483647, -2147483648), t < 0 && (t = 4294967295 + t + 1), this[r] = t >>> 24, this[r + 1] = t >>> 16, this[r + 2] = t >>> 8, this[r + 3] = t & 255, r + 4;
4419
- }, l.prototype.writeBigInt64LE = Re(function(t, r = 0) {
4419
+ }, l.prototype.writeBigInt64LE = _e(function(t, r = 0) {
4420
4420
  return q(this, t, r, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
4421
- }), l.prototype.writeBigInt64BE = Re(function(t, r = 0) {
4422
- return Y(this, t, r, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
4421
+ }), l.prototype.writeBigInt64BE = _e(function(t, r = 0) {
4422
+ return Z(this, t, r, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
4423
4423
  });
4424
- function ye(a, t, r, s, g, p) {
4424
+ function Ae(a, t, r, s, g, p) {
4425
4425
  if (r + s > a.length) throw new RangeError("Index out of range");
4426
4426
  if (r < 0) throw new RangeError("Index out of range");
4427
4427
  }
4428
- function Ae(a, t, r, s, g) {
4429
- return t = +t, r = r >>> 0, g || ye(a, t, r, 4), i.write(a, t, r, s, 23, 4), r + 4;
4428
+ function Ue(a, t, r, s, g) {
4429
+ return t = +t, r = r >>> 0, g || Ae(a, t, r, 4), i.write(a, t, r, s, 23, 4), r + 4;
4430
4430
  }
4431
4431
  l.prototype.writeFloatLE = function(t, r, s) {
4432
- return Ae(this, t, r, !0, s);
4432
+ return Ue(this, t, r, !0, s);
4433
4433
  }, l.prototype.writeFloatBE = function(t, r, s) {
4434
- return Ae(this, t, r, !1, s);
4434
+ return Ue(this, t, r, !1, s);
4435
4435
  };
4436
- function W(a, t, r, s, g) {
4437
- return t = +t, r = r >>> 0, g || ye(a, t, r, 8), i.write(a, t, r, s, 52, 8), r + 8;
4436
+ function z(a, t, r, s, g) {
4437
+ return t = +t, r = r >>> 0, g || Ae(a, t, r, 8), i.write(a, t, r, s, 52, 8), r + 8;
4438
4438
  }
4439
4439
  l.prototype.writeDoubleLE = function(t, r, s) {
4440
- return W(this, t, r, !0, s);
4440
+ return z(this, t, r, !0, s);
4441
4441
  }, l.prototype.writeDoubleBE = function(t, r, s) {
4442
- return W(this, t, r, !1, s);
4442
+ return z(this, t, r, !1, s);
4443
4443
  }, l.prototype.copy = function(t, r, s, g) {
4444
4444
  if (!l.isBuffer(t)) throw new TypeError("argument should be a Buffer");
4445
4445
  if (s || (s = 0), !g && g !== 0 && (g = this.length), r >= t.length && (r = t.length), r || (r = 0), g > 0 && g < s && (g = s), g === s || t.length === 0 || this.length === 0) return 0;
@@ -4475,17 +4475,17 @@ function Ei() {
4475
4475
  for (p = r; p < s; ++p)
4476
4476
  this[p] = t;
4477
4477
  else {
4478
- const v = l.isBuffer(t) ? t : l.from(t, g), L = v.length;
4479
- if (L === 0)
4478
+ const v = l.isBuffer(t) ? t : l.from(t, g), B = v.length;
4479
+ if (B === 0)
4480
4480
  throw new TypeError('The value "' + t + '" is invalid for argument "value"');
4481
4481
  for (p = 0; p < s - r; ++p)
4482
- this[p + r] = v[p % L];
4482
+ this[p + r] = v[p % B];
4483
4483
  }
4484
4484
  return this;
4485
4485
  };
4486
- const he = {};
4486
+ const ce = {};
4487
4487
  function we(a, t, r) {
4488
- he[a] = class extends r {
4488
+ ce[a] = class extends r {
4489
4489
  constructor() {
4490
4490
  super(), Object.defineProperty(this, "message", {
4491
4491
  value: t.apply(this, arguments),
@@ -4536,36 +4536,36 @@ function Ei() {
4536
4536
  t = `_${a.slice(r - 3, r)}${t}`;
4537
4537
  return `${a.slice(0, r)}${t}`;
4538
4538
  }
4539
- function Pe(a, t, r) {
4540
- S(t, "offset"), (a[t] === void 0 || a[t + r] === void 0) && B(t, a.length - (r + 1));
4539
+ function Le(a, t, r) {
4540
+ Te(t, "offset"), (a[t] === void 0 || a[t + r] === void 0) && Fe(t, a.length - (r + 1));
4541
4541
  }
4542
4542
  function xe(a, t, r, s, g, p) {
4543
4543
  if (a > r || a < t) {
4544
4544
  const v = typeof t == "bigint" ? "n" : "";
4545
- let L;
4546
- throw t === 0 || t === BigInt(0) ? L = `>= 0${v} and < 2${v} ** ${(p + 1) * 8}${v}` : L = `>= -(2${v} ** ${(p + 1) * 8 - 1}${v}) and < 2 ** ${(p + 1) * 8 - 1}${v}`, new he.ERR_OUT_OF_RANGE("value", L, a);
4545
+ let B;
4546
+ throw t === 0 || t === BigInt(0) ? B = `>= 0${v} and < 2${v} ** ${(p + 1) * 8}${v}` : B = `>= -(2${v} ** ${(p + 1) * 8 - 1}${v}) and < 2 ** ${(p + 1) * 8 - 1}${v}`, new ce.ERR_OUT_OF_RANGE("value", B, a);
4547
4547
  }
4548
- Pe(s, g, p);
4548
+ Le(s, g, p);
4549
4549
  }
4550
- function S(a, t) {
4550
+ function Te(a, t) {
4551
4551
  if (typeof a != "number")
4552
- throw new he.ERR_INVALID_ARG_TYPE(t, "number", a);
4552
+ throw new ce.ERR_INVALID_ARG_TYPE(t, "number", a);
4553
4553
  }
4554
- function B(a, t, r) {
4555
- throw Math.floor(a) !== a ? (S(a, r), new he.ERR_OUT_OF_RANGE("offset", "an integer", a)) : t < 0 ? new he.ERR_BUFFER_OUT_OF_BOUNDS() : new he.ERR_OUT_OF_RANGE(
4554
+ function Fe(a, t, r) {
4555
+ throw Math.floor(a) !== a ? (Te(a, r), new ce.ERR_OUT_OF_RANGE("offset", "an integer", a)) : t < 0 ? new ce.ERR_BUFFER_OUT_OF_BOUNDS() : new ce.ERR_OUT_OF_RANGE(
4556
4556
  "offset",
4557
4557
  `>= 0 and <= ${t}`,
4558
4558
  a
4559
4559
  );
4560
4560
  }
4561
- const Se = /[^+/0-9A-Za-z-_]/g;
4562
- function ar(a) {
4563
- if (a = a.split("=")[0], a = a.trim().replace(Se, ""), a.length < 2) return "";
4561
+ const S = /[^+/0-9A-Za-z-_]/g;
4562
+ function U(a) {
4563
+ if (a = a.split("=")[0], a = a.trim().replace(S, ""), a.length < 2) return "";
4564
4564
  for (; a.length % 4 !== 0; )
4565
4565
  a = a + "=";
4566
4566
  return a;
4567
4567
  }
4568
- function ot(a, t) {
4568
+ function ge(a, t) {
4569
4569
  t = t || 1 / 0;
4570
4570
  let r;
4571
4571
  const s = a.length;
@@ -4619,7 +4619,7 @@ function Ei() {
4619
4619
  }
4620
4620
  return p;
4621
4621
  }
4622
- function sr(a) {
4622
+ function Ve(a) {
4623
4623
  const t = [];
4624
4624
  for (let r = 0; r < a.length; ++r)
4625
4625
  t.push(a.charCodeAt(r) & 255);
@@ -4632,10 +4632,10 @@ function Ei() {
4632
4632
  r = a.charCodeAt(v), s = r >> 8, g = r % 256, p.push(g), p.push(s);
4633
4633
  return p;
4634
4634
  }
4635
- function yt(a) {
4636
- return e.toByteArray(ar(a));
4635
+ function Et(a) {
4636
+ return e.toByteArray(U(a));
4637
4637
  }
4638
- function Xe(a, t, r, s) {
4638
+ function et(a, t, r, s) {
4639
4639
  let g;
4640
4640
  for (g = 0; g < s && !(g + r >= t.length || g >= a.length); ++g)
4641
4641
  t[g + r] = a[g];
@@ -4644,7 +4644,7 @@ function Ei() {
4644
4644
  function ve(a, t) {
4645
4645
  return a instanceof t || a != null && a.constructor != null && a.constructor.name != null && a.constructor.name === t.name;
4646
4646
  }
4647
- function at(a) {
4647
+ function lt(a) {
4648
4648
  return a !== a;
4649
4649
  }
4650
4650
  const cr = (function() {
@@ -4656,16 +4656,16 @@ function Ei() {
4656
4656
  }
4657
4657
  return t;
4658
4658
  })();
4659
- function Re(a) {
4659
+ function _e(a) {
4660
4660
  return typeof BigInt > "u" ? dr : a;
4661
4661
  }
4662
4662
  function dr() {
4663
4663
  throw new Error("BigInt not supported");
4664
4664
  }
4665
- })(dt)), dt;
4665
+ })(ht)), ht;
4666
4666
  }
4667
4667
  var xi = Ei();
4668
- const Si = "https://api.anam.ai", ki = "/v1", rr = {
4668
+ const Si = "https://api.anam.ai", ki = "/v1", nr = {
4669
4669
  client: "js-sdk",
4670
4670
  version: "4.7.0"
4671
4671
  };
@@ -4696,36 +4696,36 @@ var Ci = function(n, e, i, o) {
4696
4696
  w((o = o.apply(n, e || [])).next());
4697
4697
  });
4698
4698
  };
4699
- const ir = "https://api.anam.ai", vt = "/v1";
4700
- var Ce;
4699
+ const or = "https://api.anam.ai", yt = "/v1";
4700
+ var ke;
4701
4701
  (function(n) {
4702
4702
  n.CLIENT_METRIC_MEASUREMENT_ERROR = "client_error", n.CLIENT_METRIC_MEASUREMENT_CONNECTION_CLOSED = "client_connection_closed", n.CLIENT_METRIC_MEASUREMENT_CONNECTION_ESTABLISHED = "client_connection_established", n.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT = "client_session_attempt", n.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS = "client_session_success";
4703
- })(Ce || (Ce = {}));
4704
- let mt = ir, nr = vt, Ne, or = !1;
4705
- const Ii = (n, e = vt) => {
4706
- mt = n, nr = e;
4703
+ })(ke || (ke = {}));
4704
+ let vt = or, ar = yt, Me, sr = !1;
4705
+ const Ii = (n, e = yt) => {
4706
+ vt = n, ar = e;
4707
4707
  }, Ri = (n) => {
4708
- Ne = n;
4708
+ Me = n;
4709
4709
  }, Ti = (n) => {
4710
- or = n;
4710
+ sr = n;
4711
4711
  };
4712
- let Oe = {
4712
+ let De = {
4713
4713
  sessionId: null,
4714
4714
  organizationId: null,
4715
4715
  attemptCorrelationId: null
4716
4716
  };
4717
- const He = (n) => {
4718
- Oe = Object.assign(Object.assign({}, Oe), n);
4719
- }, Ve = (n, e, i) => Ci(void 0, void 0, void 0, function* () {
4720
- if (!or)
4717
+ const Je = (n) => {
4718
+ De = Object.assign(Object.assign({}, De), n);
4719
+ }, je = (n, e, i) => Ci(void 0, void 0, void 0, function* () {
4720
+ if (!sr)
4721
4721
  try {
4722
- const o = Object.assign(Object.assign({}, rr), i);
4723
- Oe.sessionId && (o.sessionId = Oe.sessionId), Oe.organizationId && (o.organizationId = Oe.organizationId), Oe.attemptCorrelationId && (o.attemptCorrelationId = Oe.attemptCorrelationId);
4724
- const c = `${nr}/metrics/client`;
4722
+ const o = Object.assign(Object.assign({}, nr), i);
4723
+ De.sessionId && (o.sessionId = De.sessionId), De.organizationId && (o.organizationId = De.organizationId), De.attemptCorrelationId && (o.attemptCorrelationId = De.attemptCorrelationId);
4724
+ const c = `${ar}/metrics/client`;
4725
4725
  let u, d = {
4726
4726
  "Content-Type": "application/json"
4727
4727
  };
4728
- Ne?.enabled && Ne?.baseUrl ? (u = `${Ne.baseUrl}${c}`, d["X-Anam-Target-Url"] = `${mt}${c}`) : u = `${mt}${c}`, yield fetch(u, {
4728
+ Me?.enabled && Me?.baseUrl ? (u = `${Me.baseUrl}${c}`, d["X-Anam-Target-Url"] = `${vt}${c}`) : u = `${vt}${c}`, yield fetch(u, {
4729
4729
  method: "POST",
4730
4730
  headers: d,
4731
4731
  body: JSON.stringify({
@@ -4748,7 +4748,7 @@ const He = (n) => {
4748
4748
  }, l = ((i = u["inbound-rtp"]) === null || i === void 0 ? void 0 : i.filter((h) => h.kind === "video")) || [];
4749
4749
  l.length > 0 && (d.personaVideoStream = [], l.forEach((h) => {
4750
4750
  var I, A, y, x, _;
4751
- const O = {
4751
+ const M = {
4752
4752
  framesReceived: (I = h.framesReceived) !== null && I !== void 0 ? I : "unknown",
4753
4753
  framesDropped: (A = h.framesDropped) !== null && A !== void 0 ? A : "unknown",
4754
4754
  framesPerSecond: (y = h.framesPerSecond) !== null && y !== void 0 ? y : "unknown",
@@ -4757,7 +4757,7 @@ const He = (n) => {
4757
4757
  resolution: h.frameWidth && h.frameHeight ? `${h.frameWidth}x${h.frameHeight}` : void 0,
4758
4758
  jitter: h.jitter !== void 0 ? h.jitter : void 0
4759
4759
  };
4760
- d.personaVideoStream.push(O);
4760
+ d.personaVideoStream.push(M);
4761
4761
  }));
4762
4762
  const m = ((o = u["inbound-rtp"]) === null || o === void 0 ? void 0 : o.filter((h) => h.kind === "audio")) || [];
4763
4763
  m.length > 0 && (d.personaAudioStream = [], m.forEach((h) => {
@@ -4817,19 +4817,19 @@ const He = (n) => {
4817
4817
  console.log(`DTLS State: ${h.dtlsState}`), console.log(`ICE State: ${h.iceState}`), (h.bytesReceived || h.bytesSent) && console.log(`Data Transfer (bytes) - Sent: ${(h.bytesSent || 0).toLocaleString()}, Received: ${(h.bytesReceived || 0).toLocaleString()}`);
4818
4818
  }), console.groupEnd()), d.issues.length > 0 ? (console.group("⚠️ Potential Issues Detected"), d.issues.forEach((h) => console.warn(h)), console.groupEnd()) : console.log("✅ No significant issues detected"), console.groupEnd();
4819
4819
  };
4820
- var te;
4820
+ var ie;
4821
4821
  (function(n) {
4822
4822
  n.CLIENT_ERROR_CODE_USAGE_LIMIT_REACHED = "CLIENT_ERROR_CODE_USAGE_LIMIT_REACHED", n.CLIENT_ERROR_CODE_SPEND_CAP_REACHED = "CLIENT_ERROR_CODE_SPEND_CAP_REACHED", n.CLIENT_ERROR_CODE_VALIDATION_ERROR = "CLIENT_ERROR_CODE_VALIDATION_ERROR", n.CLIENT_ERROR_CODE_AUTHENTICATION_ERROR = "CLIENT_ERROR_CODE_AUTHENTICATION_ERROR", n.CLIENT_ERROR_CODE_SERVER_ERROR = "CLIENT_ERROR_CODE_SERVER_ERROR", n.CLIENT_ERROR_CODE_MAX_CONCURRENT_SESSIONS_REACHED = "CLIENT_ERROR_CODE_MAX_CONCURRENT_SESSIONS_REACHED", n.CLIENT_ERROR_CODE_SERVICE_BUSY = "CLIENT_ERROR_CODE_SERVICE_BUSY", n.CLIENT_ERROR_CODE_NO_PLAN_FOUND = "CLIENT_ERROR_CODE_NO_PLAN_FOUND", n.CLIENT_ERROR_CODE_UNKNOWN_ERROR = "CLIENT_ERROR_CODE_UNKNOWN_ERROR", n.CLIENT_ERROR_CODE_CONFIGURATION_ERROR = "CLIENT_ERROR_CODE_CONFIGURATION_ERROR";
4823
- })(te || (te = {}));
4823
+ })(ie || (ie = {}));
4824
4824
  class X extends Error {
4825
4825
  constructor(e, i, o = 500, c) {
4826
- super(e), this.name = "ClientError", this.code = i, this.statusCode = o, this.details = c, Object.setPrototypeOf(this, X.prototype), Ve(Ce.CLIENT_METRIC_MEASUREMENT_ERROR, i, {
4826
+ super(e), this.name = "ClientError", this.code = i, this.statusCode = o, this.details = c, Object.setPrototypeOf(this, X.prototype), je(ke.CLIENT_METRIC_MEASUREMENT_ERROR, i, {
4827
4827
  details: c,
4828
4828
  statusCode: o
4829
4829
  });
4830
4830
  }
4831
4831
  }
4832
- function Nt() {
4832
+ function Mt() {
4833
4833
  return typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : Date.now().toString(36) + Math.random().toString(36).substr(2, 9);
4834
4834
  }
4835
4835
  function Ni(n) {
@@ -4847,34 +4847,34 @@ function Ni(n) {
4847
4847
  return "API Gateway wsPath must start with /";
4848
4848
  }
4849
4849
  }
4850
- var ne;
4850
+ var oe;
4851
4851
  (function(n) {
4852
4852
  n.OFFER = "offer", n.ANSWER = "answer", n.ICE_CANDIDATE = "icecandidate", n.END_SESSION = "endsession", n.HEARTBEAT = "heartbeat", n.WARNING = "warning", n.TALK_STREAM_INTERRUPTED = "talkinputstreaminterrupted", n.TALK_STREAM_INPUT = "talkstream", n.SESSION_READY = "sessionready", n.AGENT_AUDIO_INPUT = "agentaudioinput", n.AGENT_AUDIO_INPUT_END = "agentaudioinputend";
4853
- })(ne || (ne = {}));
4854
- var it;
4853
+ })(oe || (oe = {}));
4854
+ var at;
4855
4855
  (function(n) {
4856
4856
  n.SPEECH_TEXT = "speechText", n.CLIENT_TOOL_EVENT = "clientToolEvent";
4857
- })(it || (it = {}));
4858
- var Me;
4857
+ })(at || (at = {}));
4858
+ var Be;
4859
4859
  (function(n) {
4860
4860
  n.PENDING = "pending", n.GRANTED = "granted", n.DENIED = "denied", n.NOT_REQUESTED = "not_requested";
4861
- })(Me || (Me = {}));
4862
- var nt;
4861
+ })(Be || (Be = {}));
4862
+ var st;
4863
4863
  (function(n) {
4864
4864
  n.USER = "user", n.PERSONA = "persona";
4865
- })(nt || (nt = {}));
4865
+ })(st || (st = {}));
4866
4866
  var F;
4867
4867
  (function(n) {
4868
4868
  n.MESSAGE_HISTORY_UPDATED = "MESSAGE_HISTORY_UPDATED", n.MESSAGE_STREAM_EVENT_RECEIVED = "MESSAGE_STREAM_EVENT_RECEIVED", n.CONNECTION_ESTABLISHED = "CONNECTION_ESTABLISHED", n.CONNECTION_CLOSED = "CONNECTION_CLOSED", n.INPUT_AUDIO_STREAM_STARTED = "INPUT_AUDIO_STREAM_STARTED", n.VIDEO_STREAM_STARTED = "VIDEO_STREAM_STARTED", n.VIDEO_PLAY_STARTED = "VIDEO_PLAY_STARTED", n.AUDIO_STREAM_STARTED = "AUDIO_STREAM_STARTED", n.TALK_STREAM_INTERRUPTED = "TALK_STREAM_INTERRUPTED", n.SESSION_READY = "SESSION_READY", n.SERVER_WARNING = "SERVER_WARNING", n.MIC_PERMISSION_PENDING = "MIC_PERMISSION_PENDING", n.MIC_PERMISSION_GRANTED = "MIC_PERMISSION_GRANTED", n.MIC_PERMISSION_DENIED = "MIC_PERMISSION_DENIED", n.INPUT_AUDIO_DEVICE_CHANGED = "INPUT_AUDIO_DEVICE_CHANGED", n.CLIENT_TOOL_EVENT_RECEIVED = "CLIENT_TOOL_EVENT_RECEIVED";
4869
4869
  })(F || (F = {}));
4870
- var pe;
4870
+ var fe;
4871
4871
  (function(n) {
4872
4872
  n.WEB_SOCKET_OPEN = "WEB_SOCKET_OPEN", n.SIGNAL_MESSAGE_RECEIVED = "SIGNAL_MESSAGE_RECEIVED", n.WEBRTC_CHAT_MESSAGE_RECEIVED = "WEBRTC_CHAT_MESSAGE_RECEIVED", n.WEBRTC_CLIENT_TOOL_EVENT_RECEIVED = "WEBRTC_CLIENT_TOOL_EVENT_RECEIVED";
4873
- })(pe || (pe = {}));
4874
- var De;
4873
+ })(fe || (fe = {}));
4874
+ var Pe;
4875
4875
  (function(n) {
4876
4876
  n.NORMAL = "CONNECTION_CLOSED_CODE_NORMAL", n.MICROPHONE_PERMISSION_DENIED = "CONNECTION_CLOSED_CODE_MICROPHONE_PERMISSION_DENIED", n.SIGNALLING_CLIENT_CONNECTION_FAILURE = "CONNECTION_CLOSED_CODE_SIGNALLING_CLIENT_CONNECTION_FAILURE", n.WEBRTC_FAILURE = "CONNECTION_CLOSED_CODE_WEBRTC_FAILURE", n.SERVER_CLOSED_CONNECTION = "CONNECTION_CLOSED_CODE_SERVER_CLOSED_CONNECTION";
4877
- })(De || (De = {}));
4877
+ })(Pe || (Pe = {}));
4878
4878
  class Oi {
4879
4879
  constructor(e, i) {
4880
4880
  this.sequenceNumber = 0, this.config = e, this.signallingClient = i;
@@ -4917,7 +4917,7 @@ class Oi {
4917
4917
  return btoa(o);
4918
4918
  }
4919
4919
  }
4920
- var ze = function(n, e, i, o) {
4920
+ var Ke = function(n, e, i, o) {
4921
4921
  function c(u) {
4922
4922
  return u instanceof i ? u : new i(function(d) {
4923
4923
  d(u);
@@ -4957,8 +4957,8 @@ class Bi {
4957
4957
  if (!((d = this.apiGatewayConfig) === null || d === void 0) && d.enabled && (!((l = this.apiGatewayConfig) === null || l === void 0) && l.baseUrl)) {
4958
4958
  const y = new URL(this.apiGatewayConfig.baseUrl), x = (m = this.apiGatewayConfig.wsPath) !== null && m !== void 0 ? m : "/ws";
4959
4959
  y.protocol = y.protocol.replace("http", "ws"), y.pathname = x, this.url = y;
4960
- const _ = A.protocol || "https", O = _ === "http" ? "ws" : "wss", P = `${_}://${A.baseUrl}`, V = (w = A.signallingPath) !== null && w !== void 0 ? w : "/ws", j = new URL(P);
4961
- j.protocol = O === "ws" ? "ws:" : "wss:", A.port && (j.port = A.port), j.pathname = V, j.searchParams.append("session_id", e), this.url.searchParams.append("target_url", j.href);
4960
+ const _ = A.protocol || "https", M = _ === "http" ? "ws" : "wss", P = `${_}://${A.baseUrl}`, V = (w = A.signallingPath) !== null && w !== void 0 ? w : "/ws", H = new URL(P);
4961
+ H.protocol = M === "ws" ? "ws:" : "wss:", A.port && (H.port = A.port), H.pathname = V, H.searchParams.append("session_id", e), this.url.searchParams.append("target_url", H.href);
4962
4962
  } else {
4963
4963
  const x = `${A.protocol || "https"}://${A.baseUrl}`;
4964
4964
  this.url = new URL(x), this.url.protocol = A.protocol === "http" ? "ws:" : "wss:", A.port && (this.url.port = A.port), this.url.pathname = (f = A.signallingPath) !== null && f !== void 0 ? f : "/ws", this.url.searchParams.append("session_id", e);
@@ -4971,13 +4971,13 @@ class Bi {
4971
4971
  return this.socket = new WebSocket(this.url.href), this.socket.onopen = this.onOpen.bind(this), this.socket.onclose = this.onClose.bind(this), this.socket.onerror = this.onError.bind(this), this.socket;
4972
4972
  }
4973
4973
  sendOffer(e) {
4974
- return ze(this, void 0, void 0, function* () {
4974
+ return Ke(this, void 0, void 0, function* () {
4975
4975
  const i = {
4976
4976
  connectionDescription: e,
4977
4977
  userUid: this.sessionId
4978
4978
  // TODO: this should be renamed to session Id on the server
4979
4979
  }, o = {
4980
- actionType: ne.OFFER,
4980
+ actionType: oe.OFFER,
4981
4981
  sessionId: this.sessionId,
4982
4982
  payload: i
4983
4983
  };
@@ -4985,9 +4985,9 @@ class Bi {
4985
4985
  });
4986
4986
  }
4987
4987
  sendIceCandidate(e) {
4988
- return ze(this, void 0, void 0, function* () {
4988
+ return Ke(this, void 0, void 0, function* () {
4989
4989
  const i = {
4990
- actionType: ne.ICE_CANDIDATE,
4990
+ actionType: oe.ICE_CANDIDATE,
4991
4991
  sessionId: this.sessionId,
4992
4992
  payload: e.toJSON()
4993
4993
  };
@@ -5006,9 +5006,9 @@ class Bi {
5006
5006
  this.sendingBuffer.push(e);
5007
5007
  }
5008
5008
  sendTalkMessage(e) {
5009
- return ze(this, void 0, void 0, function* () {
5009
+ return Ke(this, void 0, void 0, function* () {
5010
5010
  const i = {
5011
- actionType: ne.TALK_STREAM_INPUT,
5011
+ actionType: oe.TALK_STREAM_INPUT,
5012
5012
  sessionId: this.sessionId,
5013
5013
  payload: e
5014
5014
  };
@@ -5017,7 +5017,7 @@ class Bi {
5017
5017
  }
5018
5018
  sendAgentAudioInput(e) {
5019
5019
  const i = {
5020
- actionType: ne.AGENT_AUDIO_INPUT,
5020
+ actionType: oe.AGENT_AUDIO_INPUT,
5021
5021
  sessionId: this.sessionId,
5022
5022
  payload: e
5023
5023
  };
@@ -5025,7 +5025,7 @@ class Bi {
5025
5025
  }
5026
5026
  sendAgentAudioInputEnd() {
5027
5027
  const e = {
5028
- actionType: ne.AGENT_AUDIO_INPUT_END,
5028
+ actionType: oe.AGENT_AUDIO_INPUT_END,
5029
5029
  sessionId: this.sessionId,
5030
5030
  payload: {}
5031
5031
  };
@@ -5035,21 +5035,21 @@ class Bi {
5035
5035
  this.socket && (this.socket.close(), this.socket = null), this.heartBeatIntervalRef && (clearInterval(this.heartBeatIntervalRef), this.heartBeatIntervalRef = null);
5036
5036
  }
5037
5037
  onOpen() {
5038
- return ze(this, void 0, void 0, function* () {
5038
+ return Ke(this, void 0, void 0, function* () {
5039
5039
  if (!this.socket)
5040
5040
  throw new Error("SignallingClient - onOpen: socket is null");
5041
5041
  try {
5042
- this.wsConnectionAttempts = 0, this.flushSendingBuffer(), this.socket.onmessage = this.onMessage.bind(this), this.startSendingHeartBeats(), this.internalEventEmitter.emit(pe.WEB_SOCKET_OPEN);
5042
+ this.wsConnectionAttempts = 0, this.flushSendingBuffer(), this.socket.onmessage = this.onMessage.bind(this), this.startSendingHeartBeats(), this.internalEventEmitter.emit(fe.WEB_SOCKET_OPEN);
5043
5043
  } catch (e) {
5044
- console.error("SignallingClient - onOpen: error in onOpen", e), this.publicEventEmitter.emit(F.CONNECTION_CLOSED, De.SIGNALLING_CLIENT_CONNECTION_FAILURE);
5044
+ console.error("SignallingClient - onOpen: error in onOpen", e), this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Pe.SIGNALLING_CLIENT_CONNECTION_FAILURE);
5045
5045
  }
5046
5046
  });
5047
5047
  }
5048
5048
  onClose() {
5049
- return ze(this, void 0, void 0, function* () {
5049
+ return Ke(this, void 0, void 0, function* () {
5050
5050
  this.wsConnectionAttempts += 1, !this.stopSignal && (this.wsConnectionAttempts <= this.maxWsReconnectionAttempts ? (this.socket = null, setTimeout(() => {
5051
5051
  this.connect();
5052
- }, 100 * this.wsConnectionAttempts)) : (this.heartBeatIntervalRef && (clearInterval(this.heartBeatIntervalRef), this.heartBeatIntervalRef = null), this.publicEventEmitter.emit(F.CONNECTION_CLOSED, De.SIGNALLING_CLIENT_CONNECTION_FAILURE)));
5052
+ }, 100 * this.wsConnectionAttempts)) : (this.heartBeatIntervalRef && (clearInterval(this.heartBeatIntervalRef), this.heartBeatIntervalRef = null), this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Pe.SIGNALLING_CLIENT_CONNECTION_FAILURE)));
5053
5053
  });
5054
5054
  }
5055
5055
  onError(e) {
@@ -5063,9 +5063,9 @@ class Bi {
5063
5063
  }), this.sendingBuffer = e;
5064
5064
  }
5065
5065
  onMessage(e) {
5066
- return ze(this, void 0, void 0, function* () {
5066
+ return Ke(this, void 0, void 0, function* () {
5067
5067
  const i = JSON.parse(e.data);
5068
- this.internalEventEmitter.emit(pe.SIGNAL_MESSAGE_RECEIVED, i);
5068
+ this.internalEventEmitter.emit(fe.SIGNAL_MESSAGE_RECEIVED, i);
5069
5069
  });
5070
5070
  }
5071
5071
  startSendingHeartBeats() {
@@ -5073,7 +5073,7 @@ class Bi {
5073
5073
  throw new Error("SignallingClient - startSendingHeartBeats: socket is null");
5074
5074
  this.heartBeatIntervalRef && console.warn("SignallingClient - startSendingHeartBeats: heartbeat interval already set");
5075
5075
  const e = this.heartbeatIntervalSeconds * 1e3, i = {
5076
- actionType: ne.HEARTBEAT,
5076
+ actionType: oe.HEARTBEAT,
5077
5077
  sessionId: this.sessionId,
5078
5078
  payload: ""
5079
5079
  }, o = JSON.stringify(i);
@@ -5083,10 +5083,10 @@ class Bi {
5083
5083
  }, e);
5084
5084
  }
5085
5085
  }
5086
- function Li(n) {
5086
+ function Pi(n) {
5087
5087
  return "brainType" in n || "llmId" in n;
5088
5088
  }
5089
- var Ot = function(n, e, i, o) {
5089
+ var Dt = function(n, e, i, o) {
5090
5090
  function c(u) {
5091
5091
  return u instanceof i ? u : new i(function(d) {
5092
5092
  d(u);
@@ -5113,7 +5113,7 @@ var Ot = function(n, e, i, o) {
5113
5113
  w((o = o.apply(n, e || [])).next());
5114
5114
  });
5115
5115
  };
5116
- class Pi {
5116
+ class Ui {
5117
5117
  constructor(e, i, o) {
5118
5118
  if (!e && !i)
5119
5119
  throw new Error("Either sessionToken or apiKey must be provided");
@@ -5134,10 +5134,10 @@ class Pi {
5134
5134
  };
5135
5135
  }
5136
5136
  startSession(e, i) {
5137
- return Ot(this, void 0, void 0, function* () {
5137
+ return Dt(this, void 0, void 0, function* () {
5138
5138
  if (!this.sessionToken) {
5139
5139
  if (!e)
5140
- throw new X("Persona configuration must be provided when using apiKey", te.CLIENT_ERROR_CODE_VALIDATION_ERROR, 400);
5140
+ throw new X("Persona configuration must be provided when using apiKey", ie.CLIENT_ERROR_CODE_VALIDATION_ERROR, 400);
5141
5141
  this.sessionToken = yield this.unsafe_getSessionToken(e);
5142
5142
  }
5143
5143
  e && "brainType" in e && console.warn("Warning: brainType is deprecated and will be removed in a future version. Please use llmId instead.");
@@ -5151,7 +5151,7 @@ class Pi {
5151
5151
  body: JSON.stringify({
5152
5152
  personaConfig: e,
5153
5153
  sessionOptions: i,
5154
- clientMetadata: rr
5154
+ clientMetadata: nr
5155
5155
  })
5156
5156
  }), l = yield d.json(), m = l.error;
5157
5157
  switch (d.status) {
@@ -5159,34 +5159,34 @@ class Pi {
5159
5159
  case 201:
5160
5160
  return l;
5161
5161
  case 400:
5162
- throw new X("Invalid request to start session", te.CLIENT_ERROR_CODE_VALIDATION_ERROR, 400, { cause: l.message });
5162
+ throw new X("Invalid request to start session", ie.CLIENT_ERROR_CODE_VALIDATION_ERROR, 400, { cause: l.message });
5163
5163
  case 401:
5164
- throw new X("Authentication failed when starting session", te.CLIENT_ERROR_CODE_AUTHENTICATION_ERROR, 401, { cause: l.message });
5164
+ throw new X("Authentication failed when starting session", ie.CLIENT_ERROR_CODE_AUTHENTICATION_ERROR, 401, { cause: l.message });
5165
5165
  case 402:
5166
- throw new X("Please sign up for a plan to start a session", te.CLIENT_ERROR_CODE_NO_PLAN_FOUND, 402, { cause: l.message });
5166
+ throw new X("Please sign up for a plan to start a session", ie.CLIENT_ERROR_CODE_NO_PLAN_FOUND, 402, { cause: l.message });
5167
5167
  case 403:
5168
- throw new X("Authentication failed when starting session", te.CLIENT_ERROR_CODE_AUTHENTICATION_ERROR, 403, { cause: l.message });
5168
+ throw new X("Authentication failed when starting session", ie.CLIENT_ERROR_CODE_AUTHENTICATION_ERROR, 403, { cause: l.message });
5169
5169
  case 429:
5170
- throw m === "Concurrent session limit reached" ? new X("Concurrency limit reached, please upgrade your plan", te.CLIENT_ERROR_CODE_MAX_CONCURRENT_SESSIONS_REACHED, 429, { cause: l.message }) : m === "Spend cap reached" ? new X("Spend cap reached, please upgrade your plan", te.CLIENT_ERROR_CODE_SPEND_CAP_REACHED, 429, { cause: l.message }) : new X("Usage limit reached, please upgrade your plan", te.CLIENT_ERROR_CODE_USAGE_LIMIT_REACHED, 429, { cause: l.message });
5170
+ throw m === "Concurrent session limit reached" ? new X("Concurrency limit reached, please upgrade your plan", ie.CLIENT_ERROR_CODE_MAX_CONCURRENT_SESSIONS_REACHED, 429, { cause: l.message }) : m === "Spend cap reached" ? new X("Spend cap reached, please upgrade your plan", ie.CLIENT_ERROR_CODE_SPEND_CAP_REACHED, 429, { cause: l.message }) : new X("Usage limit reached, please upgrade your plan", ie.CLIENT_ERROR_CODE_USAGE_LIMIT_REACHED, 429, { cause: l.message });
5171
5171
  case 503:
5172
- throw new X("There are no available personas, please try again later", te.CLIENT_ERROR_CODE_SERVICE_BUSY, 503, { cause: l.message });
5172
+ throw new X("There are no available personas, please try again later", ie.CLIENT_ERROR_CODE_SERVICE_BUSY, 503, { cause: l.message });
5173
5173
  default:
5174
- throw new X("Unknown error when starting session", te.CLIENT_ERROR_CODE_SERVER_ERROR, 500, { cause: l.message });
5174
+ throw new X("Unknown error when starting session", ie.CLIENT_ERROR_CODE_SERVER_ERROR, 500, { cause: l.message });
5175
5175
  }
5176
5176
  } catch (o) {
5177
- throw o instanceof X ? o : new X("Failed to start session", te.CLIENT_ERROR_CODE_SERVER_ERROR, 500, { cause: o instanceof Error ? o.message : String(o) });
5177
+ throw o instanceof X ? o : new X("Failed to start session", ie.CLIENT_ERROR_CODE_SERVER_ERROR, 500, { cause: o instanceof Error ? o.message : String(o) });
5178
5178
  }
5179
5179
  });
5180
5180
  }
5181
5181
  unsafe_getSessionToken(e) {
5182
- return Ot(this, void 0, void 0, function* () {
5182
+ return Dt(this, void 0, void 0, function* () {
5183
5183
  if (console.warn("Using unsecure method. This method should not be used in production."), !this.apiKey)
5184
5184
  throw new Error("No apiKey provided");
5185
5185
  e && "brainType" in e && console.warn("Warning: brainType is deprecated and will be removed in a future version. Please use llmId instead.");
5186
5186
  let i = {
5187
5187
  clientLabel: "js-sdk-api-key"
5188
5188
  };
5189
- Li(e) && (i = Object.assign(Object.assign({}, i), { personaConfig: e }));
5189
+ Pi(e) && (i = Object.assign(Object.assign({}, i), { personaConfig: e }));
5190
5190
  try {
5191
5191
  const o = `${this.apiVersion}/auth/session-token`, { url: c, headers: u } = this.buildGatewayUrlAndHeaders(o, {
5192
5192
  "Content-Type": "application/json",
@@ -5206,7 +5206,7 @@ class Pi {
5206
5206
  return `${this.baseUrl}${this.apiVersion}`;
5207
5207
  }
5208
5208
  }
5209
- var Ui = function(n, e, i, o) {
5209
+ var Li = function(n, e, i, o) {
5210
5210
  function c(u) {
5211
5211
  return u instanceof i ? u : new i(function(d) {
5212
5212
  d(u);
@@ -5238,7 +5238,7 @@ class Fi {
5238
5238
  this.baseUrl = e, this.sessionId = i, this.apiGatewayConfig = o;
5239
5239
  }
5240
5240
  sendTalkCommand(e) {
5241
- return Ui(this, void 0, void 0, function* () {
5241
+ return Li(this, void 0, void 0, function* () {
5242
5242
  var i, o;
5243
5243
  try {
5244
5244
  let c, u = {
@@ -5284,7 +5284,7 @@ class Vi {
5284
5284
  }
5285
5285
  class Gi {
5286
5286
  constructor(e, i) {
5287
- this.messages = [], this.publicEventEmitter = e, this.internalEventEmitter = i, this.internalEventEmitter.addListener(pe.WEBRTC_CHAT_MESSAGE_RECEIVED, this.processWebRtcTextMessageEvent.bind(this));
5287
+ this.messages = [], this.publicEventEmitter = e, this.internalEventEmitter = i, this.internalEventEmitter.addListener(fe.WEBRTC_CHAT_MESSAGE_RECEIVED, this.processWebRtcTextMessageEvent.bind(this));
5288
5288
  }
5289
5289
  webRtcTextMessageEventToMessageStreamEvent(e) {
5290
5290
  return {
@@ -5320,17 +5320,17 @@ class Gi {
5320
5320
  processWebRtcTextMessageEvent(e) {
5321
5321
  const i = this.webRtcTextMessageEventToMessageStreamEvent(e);
5322
5322
  switch (this.publicEventEmitter.emit(F.MESSAGE_STREAM_EVENT_RECEIVED, i), i.role) {
5323
- case nt.USER:
5323
+ case st.USER:
5324
5324
  this.processUserMessage(i);
5325
5325
  break;
5326
- case nt.PERSONA:
5326
+ case st.PERSONA:
5327
5327
  this.processPersonaMessage(i);
5328
5328
  break;
5329
5329
  }
5330
5330
  i.endOfSpeech && this.publicEventEmitter.emit(F.MESSAGE_HISTORY_UPDATED, this.messages);
5331
5331
  }
5332
5332
  }
5333
- class ji {
5333
+ class Hi {
5334
5334
  constructor() {
5335
5335
  this.listeners = {};
5336
5336
  }
@@ -5341,9 +5341,9 @@ class ji {
5341
5341
  this.listeners[e] && this.listeners[e].delete(i);
5342
5342
  }
5343
5343
  emit(e, ...i) {
5344
- if (e === F.CONNECTION_ESTABLISHED && Ve(Ce.CLIENT_METRIC_MEASUREMENT_CONNECTION_ESTABLISHED, "1"), e === F.CONNECTION_CLOSED) {
5344
+ if (e === F.CONNECTION_ESTABLISHED && je(ke.CLIENT_METRIC_MEASUREMENT_CONNECTION_ESTABLISHED, "1"), e === F.CONNECTION_CLOSED) {
5345
5345
  const [o, c] = i;
5346
- Ve(Ce.CLIENT_METRIC_MEASUREMENT_CONNECTION_CLOSED, o, c ? { details: c } : void 0);
5346
+ je(ke.CLIENT_METRIC_MEASUREMENT_CONNECTION_CLOSED, o, c ? { details: c } : void 0);
5347
5347
  }
5348
5348
  this.listeners[e] && this.listeners[e].forEach((o) => {
5349
5349
  o(...i);
@@ -5354,7 +5354,7 @@ var se;
5354
5354
  (function(n) {
5355
5355
  n[n.UNSTARTED = 0] = "UNSTARTED", n[n.STREAMING = 1] = "STREAMING", n[n.INTERRUPTED = 2] = "INTERRUPTED", n[n.ENDED = 3] = "ENDED";
5356
5356
  })(se || (se = {}));
5357
- var ut = function(n, e, i, o) {
5357
+ var gt = function(n, e, i, o) {
5358
5358
  function c(u) {
5359
5359
  return u instanceof i ? u : new i(function(d) {
5360
5360
  d(u);
@@ -5381,20 +5381,20 @@ var ut = function(n, e, i, o) {
5381
5381
  w((o = o.apply(n, e || [])).next());
5382
5382
  });
5383
5383
  };
5384
- class Hi {
5384
+ class ji {
5385
5385
  constructor(e, i, o) {
5386
- this.state = se.UNSTARTED, this.correlationId = e, this.internalEventEmitter = i, this.signallingClient = o, this.internalEventEmitter.addListener(pe.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this));
5386
+ this.state = se.UNSTARTED, this.correlationId = e, this.internalEventEmitter = i, this.signallingClient = o, this.internalEventEmitter.addListener(fe.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this));
5387
5387
  }
5388
5388
  onDeactivate() {
5389
- this.internalEventEmitter.removeListener(pe.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this));
5389
+ this.internalEventEmitter.removeListener(fe.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this));
5390
5390
  }
5391
5391
  onSignalMessage(e) {
5392
- return ut(this, void 0, void 0, function* () {
5393
- e.actionType === ne.TALK_STREAM_INTERRUPTED && e.payload.correlationId === this.correlationId && (this.state = se.INTERRUPTED, this.onDeactivate());
5392
+ return gt(this, void 0, void 0, function* () {
5393
+ e.actionType === oe.TALK_STREAM_INTERRUPTED && e.payload.correlationId === this.correlationId && (this.state = se.INTERRUPTED, this.onDeactivate());
5394
5394
  });
5395
5395
  }
5396
5396
  endMessage() {
5397
- return ut(this, void 0, void 0, function* () {
5397
+ return gt(this, void 0, void 0, function* () {
5398
5398
  if (this.state === se.ENDED) {
5399
5399
  console.warn("Talk stream is already ended via end of speech. No need to call endMessage.");
5400
5400
  return;
@@ -5413,7 +5413,7 @@ class Hi {
5413
5413
  });
5414
5414
  }
5415
5415
  streamMessageChunk(e, i) {
5416
- return ut(this, void 0, void 0, function* () {
5416
+ return gt(this, void 0, void 0, function* () {
5417
5417
  if (this.state !== se.STREAMING && this.state !== se.UNSTARTED)
5418
5418
  throw new Error("Talk stream is not in an active state: " + this.state);
5419
5419
  const o = {
@@ -5462,16 +5462,16 @@ var de = function(n, e, i, o) {
5462
5462
  w((o = o.apply(n, e || [])).next());
5463
5463
  });
5464
5464
  };
5465
- const zi = 15e3, Wi = 5e3, Ji = 2;
5465
+ const Wi = 15e3, zi = 5e3, Ji = 2;
5466
5466
  class Ki {
5467
5467
  constructor(e, i, o, c) {
5468
5468
  var u, d, l, m;
5469
5469
  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 = {
5470
5470
  isMuted: !1,
5471
- permissionState: Me.NOT_REQUESTED
5471
+ permissionState: Be.NOT_REQUESTED
5472
5472
  }, this.successMetricPoller = null, this.successMetricFired = !1, this.showPeerConnectionStatsReport = !1, this.peerConnectionStatsReportOutputFormat = "console", this.statsCollectionInterval = null, this.agentAudioInputStream = null, this.publicEventEmitter = o, this.internalEventEmitter = c, this.apiGatewayConfig = i.apiGateway;
5473
5473
  const { inputAudio: w } = i;
5474
- this.inputAudioState = w.inputAudioState, i.inputAudio.userProvidedMediaStream && (this.inputAudioStream = i.inputAudio.userProvidedMediaStream), this.disableInputAudio = i.inputAudio.disableInputAudio === !0, this.internalEventEmitter.addListener(pe.WEB_SOCKET_OPEN, this.onSignallingClientConnected.bind(this)), this.internalEventEmitter.addListener(pe.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this)), this.iceServers = i.iceServers, this.signallingClient = new Bi(e, i.signalling, this.publicEventEmitter, this.internalEventEmitter, this.apiGatewayConfig), this.engineApiRestClient = new Fi(i.engine.baseUrl, e, this.apiGatewayConfig), this.audioDeviceId = i.inputAudio.audioDeviceId, this.showPeerConnectionStatsReport = (d = (u = i.metrics) === null || u === void 0 ? void 0 : u.showPeerConnectionStatsReport) !== null && d !== void 0 ? d : !1, this.peerConnectionStatsReportOutputFormat = (m = (l = i.metrics) === null || l === void 0 ? void 0 : l.peerConnectionStatsReportOutputFormat) !== null && m !== void 0 ? m : "console";
5474
+ this.inputAudioState = w.inputAudioState, i.inputAudio.userProvidedMediaStream && (this.inputAudioStream = i.inputAudio.userProvidedMediaStream), this.disableInputAudio = i.inputAudio.disableInputAudio === !0, this.internalEventEmitter.addListener(fe.WEB_SOCKET_OPEN, this.onSignallingClientConnected.bind(this)), this.internalEventEmitter.addListener(fe.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this)), this.iceServers = i.iceServers, this.signallingClient = new Bi(e, i.signalling, this.publicEventEmitter, this.internalEventEmitter, this.apiGatewayConfig), this.engineApiRestClient = new Fi(i.engine.baseUrl, e, this.apiGatewayConfig), this.audioDeviceId = i.inputAudio.audioDeviceId, this.showPeerConnectionStatsReport = (d = (u = i.metrics) === null || u === void 0 ? void 0 : u.showPeerConnectionStatsReport) !== null && d !== void 0 ? d : !1, this.peerConnectionStatsReportOutputFormat = (m = (l = i.metrics) === null || l === void 0 ? void 0 : l.peerConnectionStatsReportOutputFormat) !== null && m !== void 0 ? m : "console";
5475
5475
  }
5476
5476
  onInputAudioStateChange(e, i) {
5477
5477
  e.isMuted !== i.isMuted && (i.isMuted ? this.muteAllAudioTracks() : this.unmuteAllAudioTracks());
@@ -5497,7 +5497,7 @@ class Ki {
5497
5497
  } catch (e) {
5498
5498
  console.error("Failed to collect and send stats:", e);
5499
5499
  }
5500
- }), Wi));
5500
+ }), zi));
5501
5501
  }
5502
5502
  sendClientSideMetrics(e) {
5503
5503
  e.forEach((i) => {
@@ -5515,7 +5515,7 @@ class Ki {
5515
5515
  return;
5516
5516
  const e = setTimeout(() => {
5517
5517
  this.successMetricPoller && (console.warn("No video frames received, there is a problem with the connection."), clearInterval(this.successMetricPoller), this.successMetricPoller = null);
5518
- }, zi);
5518
+ }, Wi);
5519
5519
  this.successMetricPoller = setInterval(() => de(this, void 0, void 0, function* () {
5520
5520
  if (!this.peerConnection || this.successMetricFired) {
5521
5521
  this.successMetricPoller && clearInterval(this.successMetricPoller), clearTimeout(e);
@@ -5527,7 +5527,7 @@ class Ki {
5527
5527
  i.forEach((u) => {
5528
5528
  u.type === "inbound-rtp" && u.kind === "video" && (u.framesDecoded !== void 0 && u.framesDecoded > 0 ? (o = !0, c = "framesDecoded") : u.framesReceived !== void 0 && u.framesReceived > 0 ? (o = !0, c = "framesReceived") : u.bytesReceived > 0 && u.packetsReceived > 0 && // Additional check: ensure we've received enough data for actual video
5529
5529
  u.bytesReceived > 1e5 && (o = !0, c = "bytesReceived"));
5530
- }), o && !this.successMetricFired && (this.successMetricFired = !0, Ve(Ce.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS, "1", c ? { detectionMethod: c } : void 0), this.successMetricPoller && clearInterval(this.successMetricPoller), clearTimeout(e), this.successMetricPoller = null);
5530
+ }), o && !this.successMetricFired && (this.successMetricFired = !0, je(ke.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS, "1", c ? { detectionMethod: c } : void 0), this.successMetricPoller && clearInterval(this.successMetricPoller), clearTimeout(e), this.successMetricPoller = null);
5531
5531
  } catch {
5532
5532
  }
5533
5533
  }), 500);
@@ -5615,7 +5615,7 @@ class Ki {
5615
5615
  });
5616
5616
  }
5617
5617
  startTalkMessageStream(e) {
5618
- return e || (e = Math.random().toString(36).substring(2, 15)), new Hi(e, this.internalEventEmitter, this.signallingClient);
5618
+ return e || (e = Math.random().toString(36).substring(2, 15)), new ji(e, this.internalEventEmitter, this.signallingClient);
5619
5619
  }
5620
5620
  createAgentAudioInputStream(e) {
5621
5621
  return this.agentAudioInputStream = new Oi(e, this.signallingClient), this.agentAudioInputStream;
@@ -5640,31 +5640,31 @@ class Ki {
5640
5640
  return;
5641
5641
  }
5642
5642
  switch (e.actionType) {
5643
- case ne.ANSWER:
5643
+ case oe.ANSWER:
5644
5644
  const i = e.payload;
5645
5645
  yield this.peerConnection.setRemoteDescription(i), this.connectionReceivedAnswer = !0, this.flushRemoteIceCandidateBuffer();
5646
5646
  break;
5647
- case ne.ICE_CANDIDATE:
5647
+ case oe.ICE_CANDIDATE:
5648
5648
  const o = e.payload, c = new RTCIceCandidate(o);
5649
5649
  this.connectionReceivedAnswer ? yield this.peerConnection.addIceCandidate(c) : this.remoteIceCandidateBuffer.push(c);
5650
5650
  break;
5651
- case ne.END_SESSION:
5651
+ case oe.END_SESSION:
5652
5652
  const u = e.payload;
5653
- this.publicEventEmitter.emit(F.CONNECTION_CLOSED, De.SERVER_CLOSED_CONNECTION, u), this.shutdown();
5653
+ this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Pe.SERVER_CLOSED_CONNECTION, u), this.shutdown();
5654
5654
  break;
5655
- case ne.WARNING:
5655
+ case oe.WARNING:
5656
5656
  const d = e.payload;
5657
5657
  console.warn("Warning received from server: " + d), this.publicEventEmitter.emit(F.SERVER_WARNING, d);
5658
5658
  break;
5659
- case ne.TALK_STREAM_INTERRUPTED:
5659
+ case oe.TALK_STREAM_INTERRUPTED:
5660
5660
  const l = e.payload;
5661
5661
  this.publicEventEmitter.emit(F.TALK_STREAM_INTERRUPTED, l.correlationId);
5662
5662
  break;
5663
- case ne.SESSION_READY:
5663
+ case oe.SESSION_READY:
5664
5664
  const m = e.sessionId;
5665
5665
  this.publicEventEmitter.emit(F.SESSION_READY, m);
5666
5666
  break;
5667
- case ne.HEARTBEAT:
5667
+ case oe.HEARTBEAT:
5668
5668
  break;
5669
5669
  default:
5670
5670
  console.warn("StreamingClient - onSignalMessage: unknown signal message action type. Is your anam-sdk version up to date?", e);
@@ -5704,7 +5704,7 @@ class Ki {
5704
5704
  ((e = this.peerConnection) === null || e === void 0 ? void 0 : e.connectionState) === "closed" && (console.error("StreamingClient - onConnectionStateChange: Connection closed"), this.handleWebrtcFailure("The connection to our servers was lost. Please try again."));
5705
5705
  }
5706
5706
  handleWebrtcFailure(e) {
5707
- console.error({ message: "StreamingClient - handleWebrtcFailure: ", err: e }), e.name === "NotAllowedError" && e.message === "Permission denied" ? this.publicEventEmitter.emit(F.CONNECTION_CLOSED, De.MICROPHONE_PERMISSION_DENIED) : this.publicEventEmitter.emit(F.CONNECTION_CLOSED, De.WEBRTC_FAILURE);
5707
+ console.error({ message: "StreamingClient - handleWebrtcFailure: ", err: e }), e.name === "NotAllowedError" && e.message === "Permission denied" ? this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Pe.MICROPHONE_PERMISSION_DENIED) : this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Pe.WEBRTC_FAILURE);
5708
5708
  try {
5709
5709
  this.stopConnection();
5710
5710
  } catch (i) {
@@ -5717,7 +5717,7 @@ class Ki {
5717
5717
  this.videoElement.srcObject = this.videoStream;
5718
5718
  const i = this.videoElement.requestVideoFrameCallback(() => {
5719
5719
  var o;
5720
- (o = this.videoElement) === null || o === void 0 || o.cancelVideoFrameCallback(i), this.publicEventEmitter.emit(F.VIDEO_PLAY_STARTED), this.successMetricFired || (this.successMetricFired = !0, Ve(Ce.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS, "1", { detectionMethod: "videoElement" }));
5720
+ (o = this.videoElement) === null || o === void 0 || o.cancelVideoFrameCallback(i), this.publicEventEmitter.emit(F.VIDEO_PLAY_STARTED), this.successMetricFired || (this.successMetricFired = !0, je(ke.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS, "1", { detectionMethod: "videoElement" }));
5721
5721
  });
5722
5722
  }
5723
5723
  } else e.track.kind === "audio" && (this.audioStream = e.streams[0], this.publicEventEmitter.emit(F.AUDIO_STREAM_STARTED, this.audioStream));
@@ -5743,12 +5743,12 @@ class Ki {
5743
5743
  try {
5744
5744
  const o = JSON.parse(i.data);
5745
5745
  switch (o.messageType) {
5746
- case it.SPEECH_TEXT:
5747
- this.internalEventEmitter.emit(pe.WEBRTC_CHAT_MESSAGE_RECEIVED, o.data);
5746
+ case at.SPEECH_TEXT:
5747
+ this.internalEventEmitter.emit(fe.WEBRTC_CHAT_MESSAGE_RECEIVED, o.data);
5748
5748
  break;
5749
- case it.CLIENT_TOOL_EVENT:
5749
+ case at.CLIENT_TOOL_EVENT:
5750
5750
  const c = o.data;
5751
- this.internalEventEmitter.emit(pe.WEBRTC_CLIENT_TOOL_EVENT_RECEIVED, c);
5751
+ this.internalEventEmitter.emit(fe.WEBRTC_CLIENT_TOOL_EVENT_RECEIVED, c);
5752
5752
  const u = Qi.WebRTCClientToolEventToClientToolEvent(c);
5753
5753
  this.publicEventEmitter.emit(F.CLIENT_TOOL_EVENT_RECEIVED, u);
5754
5754
  break;
@@ -5767,8 +5767,8 @@ class Ki {
5767
5767
  */
5768
5768
  requestMicrophonePermissionAsync() {
5769
5769
  return de(this, void 0, void 0, function* () {
5770
- if (this.inputAudioState.permissionState !== Me.PENDING) {
5771
- this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: Me.PENDING }), this.publicEventEmitter.emit(F.MIC_PERMISSION_PENDING);
5770
+ if (this.inputAudioState.permissionState !== Be.PENDING) {
5771
+ this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: Be.PENDING }), this.publicEventEmitter.emit(F.MIC_PERMISSION_PENDING);
5772
5772
  try {
5773
5773
  const e = {
5774
5774
  echoCancellation: !0
@@ -5777,9 +5777,9 @@ class Ki {
5777
5777
  exact: this.audioDeviceId
5778
5778
  }), this.inputAudioStream = yield navigator.mediaDevices.getUserMedia({
5779
5779
  audio: e
5780
- }), this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: Me.GRANTED }), this.publicEventEmitter.emit(F.MIC_PERMISSION_GRANTED), yield this.setupAudioTrack();
5780
+ }), this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: Be.GRANTED }), this.publicEventEmitter.emit(F.MIC_PERMISSION_GRANTED), yield this.setupAudioTrack();
5781
5781
  } catch (e) {
5782
- console.error("Failed to get microphone permission:", e), this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: Me.DENIED });
5782
+ console.error("Failed to get microphone permission:", e), this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { permissionState: Be.DENIED });
5783
5783
  const i = e instanceof Error ? e.message : String(e);
5784
5784
  this.publicEventEmitter.emit(F.MIC_PERMISSION_DENIED, i);
5785
5785
  }
@@ -5877,7 +5877,7 @@ class Qi {
5877
5877
  };
5878
5878
  }
5879
5879
  }
5880
- var _e = function(n, e, i, o) {
5880
+ var Oe = function(n, e, i, o) {
5881
5881
  function c(u) {
5882
5882
  return u instanceof i ? u : new i(function(d) {
5883
5883
  d(u);
@@ -5909,12 +5909,12 @@ class mn {
5909
5909
  var c, u, d, l, m;
5910
5910
  this.inputAudioState = {
5911
5911
  isMuted: !1,
5912
- permissionState: Me.NOT_REQUESTED
5912
+ permissionState: Be.NOT_REQUESTED
5913
5913
  }, this.sessionId = null, this.organizationId = null, this.streamingClient = null, this._isStreaming = !1;
5914
5914
  const w = this.validateClientConfig(e, i, o);
5915
5915
  if (w)
5916
- throw new X(w, te.CLIENT_ERROR_CODE_CONFIGURATION_ERROR, 400);
5917
- this.personaConfig = i, this.clientOptions = o, (!((c = o?.api) === null || c === void 0) && c.baseUrl || !((u = o?.api) === null || u === void 0) && u.apiVersion) && Ii(o.api.baseUrl || ir, o.api.apiVersion || vt), !((l = (d = o?.api) === null || d === void 0 ? void 0 : d.apiGateway) === null || l === void 0) && l.enabled && Ri(o.api.apiGateway), !((m = o?.metrics) === null || m === void 0) && m.disableClientMetrics && Ti(!0), this.publicEventEmitter = new ji(), this.internalEventEmitter = new Vi(), this.apiClient = new Pi(e, o?.apiKey, o?.api), this.messageHistoryClient = new Gi(this.publicEventEmitter, this.internalEventEmitter);
5916
+ throw new X(w, ie.CLIENT_ERROR_CODE_CONFIGURATION_ERROR, 400);
5917
+ this.personaConfig = i, this.clientOptions = o, (!((c = o?.api) === null || c === void 0) && c.baseUrl || !((u = o?.api) === null || u === void 0) && u.apiVersion) && Ii(o.api.baseUrl || or, o.api.apiVersion || yt), !((l = (d = o?.api) === null || d === void 0 ? void 0 : d.apiGateway) === null || l === void 0) && l.enabled && Ri(o.api.apiGateway), !((m = o?.metrics) === null || m === void 0) && m.disableClientMetrics && Ti(!0), this.publicEventEmitter = new Hi(), this.internalEventEmitter = new Vi(), this.apiClient = new Ui(e, o?.apiKey, o?.api), this.messageHistoryClient = new Gi(this.publicEventEmitter, this.internalEventEmitter);
5918
5918
  }
5919
5919
  decodeJwt(e) {
5920
5920
  try {
@@ -5935,7 +5935,7 @@ class mn {
5935
5935
  return d;
5936
5936
  if (e) {
5937
5937
  const l = this.decodeJwt(e);
5938
- this.organizationId = l.accountId, He({
5938
+ this.organizationId = l.accountId, Je({
5939
5939
  organizationId: this.organizationId
5940
5940
  });
5941
5941
  const m = (u = l.type) === null || u === void 0 ? void 0 : u.toLowerCase();
@@ -5963,28 +5963,28 @@ class mn {
5963
5963
  return i;
5964
5964
  }
5965
5965
  startSession(e) {
5966
- return _e(this, void 0, void 0, function* () {
5966
+ return Oe(this, void 0, void 0, function* () {
5967
5967
  var i, o, c, u, d, l, m, w, f, h, I, A;
5968
- const y = this.personaConfig, x = this.buildStartSessionOptionsForClient(), _ = yield this.apiClient.startSession(y, x), { sessionId: O, clientConfig: P, engineHost: V, engineProtocol: j, signallingEndpoint: U } = _, { heartbeatIntervalSeconds: ee, maxWsReconnectionAttempts: oe, iceServers: T } = P;
5969
- this.sessionId = O, He({
5968
+ const y = this.personaConfig, x = this.buildStartSessionOptionsForClient(), _ = yield this.apiClient.startSession(y, x), { sessionId: M, clientConfig: P, engineHost: V, engineProtocol: H, signallingEndpoint: L } = _, { heartbeatIntervalSeconds: te, maxWsReconnectionAttempts: Y, iceServers: T } = P;
5969
+ this.sessionId = M, Je({
5970
5970
  sessionId: this.sessionId
5971
5971
  });
5972
- const re = !((i = this.clientOptions) === null || i === void 0) && i.iceServers ? this.clientOptions.iceServers : T;
5972
+ const ne = !((i = this.clientOptions) === null || i === void 0) && i.iceServers ? this.clientOptions.iceServers : T;
5973
5973
  try {
5974
- this.streamingClient = new Ki(O, {
5974
+ this.streamingClient = new Ki(M, {
5975
5975
  engine: {
5976
- baseUrl: `${j}://${V}`
5976
+ baseUrl: `${H}://${V}`
5977
5977
  },
5978
5978
  signalling: {
5979
- heartbeatIntervalSeconds: ee,
5980
- maxWsReconnectionAttempts: oe,
5979
+ heartbeatIntervalSeconds: te,
5980
+ maxWsReconnectionAttempts: Y,
5981
5981
  url: {
5982
5982
  baseUrl: V,
5983
- protocol: j,
5984
- signallingPath: U
5983
+ protocol: H,
5984
+ signallingPath: L
5985
5985
  }
5986
5986
  },
5987
- iceServers: re,
5987
+ iceServers: ne,
5988
5988
  inputAudio: {
5989
5989
  inputAudioState: this.inputAudioState,
5990
5990
  userProvidedMediaStream: !((o = this.clientOptions) === null || o === void 0) && o.disableInputAudio ? void 0 : e,
@@ -5997,36 +5997,36 @@ class mn {
5997
5997
  peerConnectionStatsReportOutputFormat: (A = (I = (h = this.clientOptions) === null || h === void 0 ? void 0 : h.metrics) === null || I === void 0 ? void 0 : I.peerConnectionStatsReportOutputFormat) !== null && A !== void 0 ? A : "console"
5998
5998
  }
5999
5999
  }, this.publicEventEmitter, this.internalEventEmitter);
6000
- } catch (fe) {
6001
- throw He({
6000
+ } catch (me) {
6001
+ throw Je({
6002
6002
  sessionId: null
6003
- }), new X("Failed to initialize streaming client", te.CLIENT_ERROR_CODE_SERVER_ERROR, 500, {
6004
- cause: fe instanceof Error ? fe.message : String(fe),
6005
- sessionId: O
6003
+ }), new X("Failed to initialize streaming client", ie.CLIENT_ERROR_CODE_SERVER_ERROR, 500, {
6004
+ cause: me instanceof Error ? me.message : String(me),
6005
+ sessionId: M
6006
6006
  });
6007
6007
  }
6008
- return O;
6008
+ return M;
6009
6009
  });
6010
6010
  }
6011
6011
  startSessionIfNeeded(e) {
6012
- return _e(this, void 0, void 0, function* () {
6012
+ return Oe(this, void 0, void 0, function* () {
6013
6013
  if ((!this.sessionId || !this.streamingClient) && (yield this.startSession(e), !this.sessionId || !this.streamingClient))
6014
- throw new X("Session ID or streaming client is not available after starting session", te.CLIENT_ERROR_CODE_SERVER_ERROR, 500, {
6014
+ throw new X("Session ID or streaming client is not available after starting session", ie.CLIENT_ERROR_CODE_SERVER_ERROR, 500, {
6015
6015
  cause: "Failed to initialize session properly"
6016
6016
  });
6017
6017
  });
6018
6018
  }
6019
6019
  stream(e) {
6020
- return _e(this, void 0, void 0, function* () {
6020
+ return Oe(this, void 0, void 0, function* () {
6021
6021
  var i;
6022
6022
  if (this._isStreaming)
6023
6023
  throw new Error("Already streaming");
6024
- const o = Nt();
6025
- return He({
6024
+ const o = Mt();
6025
+ return Je({
6026
6026
  attemptCorrelationId: o,
6027
6027
  sessionId: null
6028
6028
  // reset sessionId
6029
- }), Ve(Ce.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT, "1"), !((i = this.clientOptions) === null || i === void 0) && i.disableInputAudio && e && console.warn("AnamClient:Input audio is disabled. User provided audio stream will be ignored."), yield this.startSessionIfNeeded(e), this._isStreaming = !0, new Promise((c) => {
6029
+ }), je(ke.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT, "1"), !((i = this.clientOptions) === null || i === void 0) && i.disableInputAudio && e && console.warn("AnamClient:Input audio is disabled. User provided audio stream will be ignored."), yield this.startSessionIfNeeded(e), this._isStreaming = !0, new Promise((c) => {
6030
6030
  var u;
6031
6031
  const d = [];
6032
6032
  let l = !1, m = !1;
@@ -6042,23 +6042,23 @@ class mn {
6042
6042
  * @deprecated This method is deprecated. Please use streamToVideoElement instead.
6043
6043
  */
6044
6044
  streamToVideoAndAudioElements(e, i, o) {
6045
- return _e(this, void 0, void 0, function* () {
6045
+ return Oe(this, void 0, void 0, function* () {
6046
6046
  console.warn("AnamClient: streamToVideoAndAudioElements is deprecated. To avoid possible audio issues, please use streamToVideoElement instead."), yield this.streamToVideoElement(e, o);
6047
6047
  });
6048
6048
  }
6049
6049
  streamToVideoElement(e, i) {
6050
- return _e(this, void 0, void 0, function* () {
6050
+ return Oe(this, void 0, void 0, function* () {
6051
6051
  var o;
6052
- const c = Nt();
6053
- He({
6052
+ const c = Mt();
6053
+ Je({
6054
6054
  attemptCorrelationId: c,
6055
6055
  sessionId: null
6056
6056
  // reset sessionId
6057
- }), Ve(Ce.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT, "1"), !((o = this.clientOptions) === null || o === void 0) && o.disableInputAudio && i && console.warn("AnamClient:Input audio is disabled. User provided audio stream will be ignored.");
6057
+ }), je(ke.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT, "1"), !((o = this.clientOptions) === null || o === void 0) && o.disableInputAudio && i && console.warn("AnamClient:Input audio is disabled. User provided audio stream will be ignored.");
6058
6058
  try {
6059
6059
  yield this.startSessionIfNeeded(i);
6060
6060
  } catch (u) {
6061
- throw u instanceof X ? u : new X("Failed to start session", te.CLIENT_ERROR_CODE_SERVER_ERROR, 500, {
6061
+ throw u instanceof X ? u : new X("Failed to start session", ie.CLIENT_ERROR_CODE_SERVER_ERROR, 500, {
6062
6062
  cause: u instanceof Error ? u.message : String(u),
6063
6063
  sessionId: this.sessionId
6064
6064
  });
@@ -6076,7 +6076,7 @@ class mn {
6076
6076
  * @throws Error if session is not started or not currently streaming
6077
6077
  */
6078
6078
  talk(e) {
6079
- return _e(this, void 0, void 0, function* () {
6079
+ return Oe(this, void 0, void 0, function* () {
6080
6080
  if (!this.streamingClient)
6081
6081
  throw new Error("Failed to send talk command: session is not started. Have you called startSession?");
6082
6082
  if (!this._isStreaming)
@@ -6129,8 +6129,8 @@ class mn {
6129
6129
  this.sendDataMessage(i);
6130
6130
  }
6131
6131
  stopStreaming() {
6132
- return _e(this, void 0, void 0, function* () {
6133
- this.streamingClient && (this.publicEventEmitter.emit(F.CONNECTION_CLOSED, De.NORMAL), yield this.streamingClient.stopConnection(), this.streamingClient = null, this.sessionId = null, He({
6132
+ return Oe(this, void 0, void 0, function* () {
6133
+ this.streamingClient && (this.publicEventEmitter.emit(F.CONNECTION_CLOSED, Pe.NORMAL), yield this.streamingClient.stopConnection(), this.streamingClient = null, this.sessionId = null, Je({
6134
6134
  attemptCorrelationId: null,
6135
6135
  sessionId: null,
6136
6136
  organizationId: this.organizationId
@@ -6159,7 +6159,7 @@ class mn {
6159
6159
  return !((e = this.clientOptions) === null || e === void 0) && e.disableInputAudio && console.warn("AnamClient: Input audio is disabled. Unmuting input audio will have no effect."), this.streamingClient && !(!((i = this.clientOptions) === null || i === void 0) && i.disableInputAudio) ? this.inputAudioState = this.streamingClient.unmuteInputAudio() : this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { isMuted: !1 }), this.inputAudioState;
6160
6160
  }
6161
6161
  changeAudioInputDevice(e) {
6162
- return _e(this, void 0, void 0, function* () {
6162
+ return Oe(this, void 0, void 0, function* () {
6163
6163
  var i;
6164
6164
  if (!((i = this.clientOptions) === null || i === void 0) && i.disableInputAudio)
6165
6165
  throw new Error("AnamClient: Cannot change audio input device because input audio is disabled.");
@@ -6219,13 +6219,13 @@ function tn(n) {
6219
6219
  function rn(n) {
6220
6220
  return typeof n == "object" && n !== null && "status" in n && n.status === "error" && "error" in n && n.error === "MISSING_FIELDS";
6221
6221
  }
6222
- const Mt = {
6222
+ const Bt = {
6223
6223
  bufferMinutes: 5,
6224
6224
  maxRetries: 3,
6225
6225
  baseRetryDelay: 1e3,
6226
6226
  refreshOnlyWhenVisible: !0
6227
6227
  };
6228
- class ge {
6228
+ class pe {
6229
6229
  static instance = null;
6230
6230
  // Configuration
6231
6231
  config;
@@ -6264,32 +6264,35 @@ class ge {
6264
6264
  pendingRefresh = !1;
6265
6265
  // Callback for WebSocket trigger events (to open assistant)
6266
6266
  onWebSocketTrigger = null;
6267
+ // Session persistence state
6268
+ isPaused = !1;
6269
+ beforeUnloadHandler = null;
6267
6270
  // ============================================================================
6268
6271
  // Singleton Pattern
6269
6272
  // ============================================================================
6270
6273
  constructor(e) {
6271
6274
  this.config = e, this.refreshConfig = {
6272
- ...Mt,
6273
- bufferMinutes: e.sessionRefreshBuffer ?? Mt.bufferMinutes
6274
- }, this.setupVisibilityListener(), console.log("[AriaSessionManager] Instance created");
6275
+ ...Bt,
6276
+ bufferMinutes: e.sessionRefreshBuffer ?? Bt.bufferMinutes
6277
+ }, this.setupVisibilityListener(), this.setupBeforeUnloadHandler(), console.log("[AriaSessionManager] Instance created");
6275
6278
  }
6276
6279
  /**
6277
6280
  * Get or create the singleton instance
6278
6281
  */
6279
6282
  static getInstance(e) {
6280
- return ge.instance ? ge.instance.updateConfig(e) : ge.instance = new ge(e), ge.instance;
6283
+ return pe.instance ? pe.instance.updateConfig(e) : pe.instance = new pe(e), pe.instance;
6281
6284
  }
6282
6285
  /**
6283
6286
  * Check if an instance exists
6284
6287
  */
6285
6288
  static hasInstance() {
6286
- return ge.instance !== null;
6289
+ return pe.instance !== null;
6287
6290
  }
6288
6291
  /**
6289
6292
  * Destroy the singleton instance (for testing or cleanup)
6290
6293
  */
6291
6294
  static destroyInstance() {
6292
- ge.instance && (ge.instance.destroy(), ge.instance = null);
6295
+ pe.instance && (pe.instance.destroy(), pe.instance = null);
6293
6296
  }
6294
6297
  // ============================================================================
6295
6298
  // Configuration
@@ -6536,7 +6539,7 @@ class ge {
6536
6539
  console.log("[AriaSessionManager] Initializing Anam client for preloading"), this.setStatus("preloading");
6537
6540
  try {
6538
6541
  this.createHiddenVideoElement();
6539
- const { createClient: i } = await import("./index-Cg6WCsh_.js"), o = i(e);
6542
+ const { createClient: i } = await import("./index-ydydPYp9.js"), o = i(e);
6540
6543
  o.addListener(F.SESSION_READY, () => {
6541
6544
  const u = o.getActiveSessionId();
6542
6545
  u && (this.updateSessionState({ session_id: u }), console.log("[AriaSessionManager] Session ready with ID:", u)), this.setStatus("ready"), this.emit({ type: "session_ready", data: { sessionId: u } }), this.config.onSessionReady?.(), this.config.onSessionPreloaded?.();
@@ -6684,7 +6687,7 @@ class ge {
6684
6687
  }
6685
6688
  this.anamClient = null;
6686
6689
  }
6687
- this.audioInputStream && (this.audioInputStream.getTracks().forEach((e) => e.stop()), this.audioInputStream = null), this.videoStream = null, this.chatMessages = [], this.liveTranscript = "", this.lastMessageHistory = [];
6690
+ this.audioInputStream && (this.audioInputStream.getTracks().forEach((e) => e.stop()), this.audioInputStream = null), this.videoStream = null, this.chatMessages = [], this.liveTranscript = "", this.lastMessageHistory = [], this.resetSessionState(), this.setStatus("idle");
6688
6691
  }
6689
6692
  // ============================================================================
6690
6693
  // Session Refresh
@@ -6742,6 +6745,130 @@ class ge {
6742
6745
  this.isTabVisible = document.visibilityState === "visible", this.isTabVisible && this.pendingRefresh && (console.log("[AriaSessionManager] Tab visible, executing pending refresh"), this.pendingRefresh = !1, this.refreshSession());
6743
6746
  };
6744
6747
  // ============================================================================
6748
+ // Session Persistence (beforeunload handler)
6749
+ // ============================================================================
6750
+ setupBeforeUnloadHandler() {
6751
+ typeof window < "u" && (this.beforeUnloadHandler = () => {
6752
+ this.sessionState.session_id && (console.log("[AriaSessionManager] Tab closing, ending session"), this.sendSessionEnd());
6753
+ }, window.addEventListener("beforeunload", this.beforeUnloadHandler));
6754
+ }
6755
+ removeBeforeUnloadHandler() {
6756
+ typeof window < "u" && this.beforeUnloadHandler && (window.removeEventListener("beforeunload", this.beforeUnloadHandler), this.beforeUnloadHandler = null);
6757
+ }
6758
+ // ============================================================================
6759
+ // Session Pause/Resume (for persistSession feature)
6760
+ // ============================================================================
6761
+ /**
6762
+ * Check if session persistence is enabled
6763
+ */
6764
+ isPersistSessionEnabled() {
6765
+ return this.config.persistSession === !0;
6766
+ }
6767
+ /**
6768
+ * Check if WebSocket should stay alive when paused
6769
+ */
6770
+ shouldKeepWebSocketAlive() {
6771
+ return this.config.keepWebSocketAlive !== !1;
6772
+ }
6773
+ /**
6774
+ * Check if session is currently paused
6775
+ */
6776
+ isSessionPaused() {
6777
+ return this.isPaused;
6778
+ }
6779
+ /**
6780
+ * Pause the session (called when widget closes with persistSession: true)
6781
+ * - Does NOT end the session
6782
+ * - Optionally disconnects WebSocket (based on keepWebSocketAlive)
6783
+ * - Keeps session token and state in memory
6784
+ */
6785
+ pauseSession() {
6786
+ if (!this.isPersistSessionEnabled()) {
6787
+ console.log("[AriaSessionManager] persistSession not enabled, cannot pause");
6788
+ return;
6789
+ }
6790
+ if (this.isPaused) {
6791
+ console.log("[AriaSessionManager] Session already paused");
6792
+ return;
6793
+ }
6794
+ console.log("[AriaSessionManager] Pausing session"), this.isPaused = !0, this.hiddenVideoElement && (this.hiddenVideoElement.muted = !0), this.shouldKeepWebSocketAlive() || (console.log("[AriaSessionManager] Disconnecting WebSocket (keepWebSocketAlive: false)"), this.ws && (this.ws.close(), this.ws = null)), this.config.onSessionPaused?.();
6795
+ }
6796
+ /**
6797
+ * Resume the session (called when widget reopens with persistSession: true)
6798
+ * - Reconnects WebSocket if needed
6799
+ * - Reuses existing session token
6800
+ * - Does NOT create a new session
6801
+ */
6802
+ async resumeSession() {
6803
+ if (!this.isPersistSessionEnabled()) {
6804
+ console.log("[AriaSessionManager] persistSession not enabled, cannot resume");
6805
+ return;
6806
+ }
6807
+ if (!this.isPaused) {
6808
+ console.log("[AriaSessionManager] Session not paused, nothing to resume");
6809
+ return;
6810
+ }
6811
+ if (console.log("[AriaSessionManager] Resuming session"), this.isPaused = !1, !this.sessionState.token) {
6812
+ console.log("[AriaSessionManager] No session token, cannot resume - will create new session"), this.connect();
6813
+ return;
6814
+ }
6815
+ if (this.sessionState.expires_at) {
6816
+ const e = new Date(this.sessionState.expires_at).getTime();
6817
+ if (Date.now() >= e) {
6818
+ console.log("[AriaSessionManager] Session expired, will create new session"), this.resetSessionState(), this.connect();
6819
+ return;
6820
+ }
6821
+ }
6822
+ this.isConnected() || (console.log("[AriaSessionManager] Reconnecting WebSocket for resumed session"), this.reconnectForResume()), this.config.onSessionResumed?.();
6823
+ }
6824
+ /**
6825
+ * Reconnect WebSocket for session resume (without triggering new session)
6826
+ */
6827
+ reconnectForResume() {
6828
+ if (this.ws?.readyState === WebSocket.OPEN) {
6829
+ console.log("[AriaSessionManager] WebSocket already connected");
6830
+ return;
6831
+ }
6832
+ if (this.ws?.readyState === WebSocket.CONNECTING) {
6833
+ console.log("[AriaSessionManager] WebSocket already connecting");
6834
+ return;
6835
+ }
6836
+ this.setStatus("connecting");
6837
+ try {
6838
+ this.ws = new WebSocket(this.config.websocketUrl), this.ws.onopen = () => {
6839
+ console.log("[AriaSessionManager] WebSocket reconnected for resumed session"), this.setStatus("ready"), this.retryCount = 0, this.emit({ type: "connection_change", data: { connected: !0 } }), this.config.onConnectionStateChange?.(!0), console.log("[AriaSessionManager] Session resumed with existing token");
6840
+ }, this.ws.onmessage = (e) => this.handleWebSocketMessage(e), this.ws.onerror = (e) => {
6841
+ console.error("[AriaSessionManager] WebSocket error during resume:", e), this.setStatus("error"), this.updateSessionState({ lastError: "WebSocket connection error" }), this.config.onError?.(new Error("WebSocket connection failed"));
6842
+ }, this.ws.onclose = () => {
6843
+ console.log("[AriaSessionManager] WebSocket disconnected"), this.emit({ type: "connection_change", data: { connected: !1 } }), this.config.onConnectionStateChange?.(!1), !this.sessionState.isRefreshing && !this.isPaused && this.setStatus("idle");
6844
+ };
6845
+ } catch (e) {
6846
+ const i = e instanceof Error ? e.message : "Failed to reconnect WebSocket";
6847
+ console.error("[AriaSessionManager] Reconnection error:", i), this.setStatus("error"), this.updateSessionState({ lastError: i }), this.config.onError?.(e instanceof Error ? e : new Error(i));
6848
+ }
6849
+ }
6850
+ /**
6851
+ * Reset session state (used when session expires or needs to be recreated)
6852
+ */
6853
+ resetSessionState() {
6854
+ this.sessionState = {
6855
+ session_id: null,
6856
+ token: null,
6857
+ expires_at: null,
6858
+ isSessionReady: !1,
6859
+ lastError: null,
6860
+ isPreloaded: !1,
6861
+ isRefreshing: !1
6862
+ }, this.isPaused = !1;
6863
+ }
6864
+ /**
6865
+ * Force end the session (explicit user action or logout)
6866
+ * This always ends the session regardless of persistSession setting
6867
+ */
6868
+ async forceEndSession() {
6869
+ console.log("[AriaSessionManager] Force ending session"), this.sendSessionEnd(), await this.stopStreaming(), this.resetSessionState(), this.isPaused = !1, this.setStatus("idle");
6870
+ }
6871
+ // ============================================================================
6745
6872
  // Cleanup
6746
6873
  // ============================================================================
6747
6874
  clearTimers() {
@@ -6763,19 +6890,11 @@ class ge {
6763
6890
  * Destroy the session manager and clean up all resources
6764
6891
  */
6765
6892
  destroy() {
6766
- console.log("[AriaSessionManager] Destroying instance"), this.sessionState.session_id && this.sendSessionEnd(), this.stopStreaming(), this.removeHiddenVideoElement(), this.clearTimers(), this.disconnect(), typeof document < "u" && document.removeEventListener("visibilitychange", this.handleVisibilityChange), this.listeners.clear(), this.sessionState = {
6767
- session_id: null,
6768
- token: null,
6769
- expires_at: null,
6770
- isSessionReady: !1,
6771
- lastError: null,
6772
- isPreloaded: !1,
6773
- isRefreshing: !1
6774
- };
6893
+ console.log("[AriaSessionManager] Destroying instance"), this.sessionState.session_id && this.sendSessionEnd(), this.stopStreaming(), this.removeHiddenVideoElement(), this.clearTimers(), this.disconnect(), typeof document < "u" && document.removeEventListener("visibilitychange", this.handleVisibilityChange), this.removeBeforeUnloadHandler(), this.listeners.clear(), this.resetSessionState();
6775
6894
  }
6776
6895
  }
6777
6896
  const wn = ({ config: n, children: e }) => {
6778
- const [i, o] = ie(!1), [c, u] = ie(!1), [d, l] = ie(!1), [m, w] = ie([]), [f, h] = ie(""), [I, A] = ie(!1), [y, x] = ie(!1), [_, O] = ie(null), [P, V] = ie("user"), [j, U] = ie("bottom-right"), [ee, oe] = ie({
6897
+ const [i, o] = re(!1), [c, u] = re(!1), [d, l] = re(!1), [m, w] = re([]), [f, h] = re(""), [I, A] = re(!1), [y, x] = re(!1), [_, M] = re(null), [P, V] = re("user"), [H, L] = re("bottom-right"), [te, Y] = re({
6779
6898
  session_id: null,
6780
6899
  token: null,
6781
6900
  expires_at: null,
@@ -6783,99 +6902,118 @@ const wn = ({ config: n, children: e }) => {
6783
6902
  lastError: null,
6784
6903
  isPreloaded: !1,
6785
6904
  isRefreshing: !1
6786
- }), [T, re] = ie("idle"), fe = n.theme || "light", M = We(null), ue = We(null), Be = We(null), me = Z((S) => {
6787
- const { newStatus: B } = S.data;
6788
- re(B), B === "preloading" || B === "connecting" ? i && l(!0) : B === "ready" ? (l(!1), u(!0)) : B === "error" && l(!1);
6789
- }, [i]), le = Z((S) => {
6790
- if (console.log("[AriaProvider] Session ready event:", S.data), M.current) {
6791
- const B = M.current.getSessionState();
6792
- oe(B);
6793
- }
6794
- u(!0), l(!1), O(null);
6795
- }, []), ae = Z((S) => {
6796
- const B = S.error?.message || "Session error";
6797
- if (console.error("[AriaProvider] Session error:", B), O(B), l(!1), M.current) {
6798
- const Se = M.current.getSessionState();
6799
- oe(Se);
6800
- }
6801
- }, []), ce = Z((S) => {
6802
- const { connected: B } = S.data;
6803
- if (u(B), !B && M.current) {
6804
- const Se = M.current.getSessionState();
6805
- oe(Se);
6806
- }
6807
- }, []), R = Z((S) => {
6808
- const { messages: B } = S.data;
6809
- B && w(B);
6810
- }, []), Ie = Z((S) => {
6811
- const { liveTranscript: B } = S.data;
6812
- B !== void 0 && h(B);
6813
- }, []), Le = Z((S) => {
6814
- console.log("[AriaProvider] WebSocket trigger event:", S.data), Be.current?.("websocket");
6905
+ }), [T, ne] = re("idle"), [me, ye] = re(!1), Ce = n.theme || "light", N = Qe(null), ue = Qe(null), he = Qe(null), ae = ee((S) => {
6906
+ const { newStatus: U } = S.data;
6907
+ ne(U), U === "preloading" || U === "connecting" ? i && l(!0) : U === "ready" ? (l(!1), u(!0)) : U === "error" && l(!1);
6908
+ }, [i]), le = ee((S) => {
6909
+ if (console.log("[AriaProvider] Session ready event:", S.data), N.current) {
6910
+ const U = N.current.getSessionState();
6911
+ Y(U);
6912
+ }
6913
+ u(!0), l(!1), M(null);
6914
+ }, []), R = ee((S) => {
6915
+ const U = S.error?.message || "Session error";
6916
+ if (console.error("[AriaProvider] Session error:", U), M(U), l(!1), N.current) {
6917
+ const ge = N.current.getSessionState();
6918
+ Y(ge);
6919
+ }
6920
+ }, []), Ie = ee((S) => {
6921
+ const { connected: U } = S.data;
6922
+ if (u(U), !U && N.current) {
6923
+ const ge = N.current.getSessionState();
6924
+ Y(ge);
6925
+ }
6926
+ }, []), Re = ee((S) => {
6927
+ const { messages: U } = S.data;
6928
+ U && w(U);
6929
+ }, []), j = ee((S) => {
6930
+ const { liveTranscript: U } = S.data;
6931
+ U !== void 0 && h(U);
6932
+ }, []), Q = ee((S) => {
6933
+ console.log("[AriaProvider] WebSocket trigger event:", S.data), he.current?.("websocket");
6815
6934
  }, []);
6816
- Fe(() => {
6817
- const S = ge.getInstance(n);
6818
- return M.current = S, S.addEventListener("status_change", me), S.addEventListener("session_ready", le), S.addEventListener("session_error", ae), S.addEventListener("connection_change", ce), S.addEventListener("message_history", R), S.addEventListener("message_stream", Ie), S.setWebSocketTriggerCallback(Le), oe(S.getSessionState()), re(S.getStatus()), u(S.isConnected()), w(S.getChatMessages()), h(S.getLiveTranscript()), x(S.isMuted()), !S.isConnected() && S.getStatus() === "idle" && S.connect(), () => {
6819
- S.removeEventListener("status_change", me), S.removeEventListener("session_ready", le), S.removeEventListener("session_error", ae), S.removeEventListener("connection_change", ce), S.removeEventListener("message_history", R), S.removeEventListener("message_stream", Ie), S.setWebSocketTriggerCallback(null);
6935
+ He(() => {
6936
+ const S = pe.getInstance(n);
6937
+ return N.current = S, S.addEventListener("status_change", ae), S.addEventListener("session_ready", le), S.addEventListener("session_error", R), S.addEventListener("connection_change", Ie), S.addEventListener("message_history", Re), S.addEventListener("message_stream", j), S.setWebSocketTriggerCallback(Q), Y(S.getSessionState()), ne(S.getStatus()), u(S.isConnected()), w(S.getChatMessages()), h(S.getLiveTranscript()), x(S.isMuted()), ye(S.isSessionPaused()), !S.isConnected() && S.getStatus() === "idle" && S.connect(), () => {
6938
+ S.removeEventListener("status_change", ae), S.removeEventListener("session_ready", le), S.removeEventListener("session_error", R), S.removeEventListener("connection_change", Ie), S.removeEventListener("message_history", Re), S.removeEventListener("message_stream", j), S.setWebSocketTriggerCallback(null);
6820
6939
  };
6821
6940
  }, [
6822
6941
  n,
6823
- me,
6824
- le,
6825
6942
  ae,
6826
- ce,
6943
+ le,
6827
6944
  R,
6828
6945
  Ie,
6829
- Le
6946
+ Re,
6947
+ j,
6948
+ Q
6830
6949
  ]);
6831
- const z = Z((S) => {
6832
- ue.current = S, S && M.current ? M.current.attachToVideoElement(S) : !S && ue.current && M.current && M.current.detachFromVideoElement(ue.current);
6833
- }, []), Q = Z((S) => {
6834
- if (!M.current) {
6950
+ const q = ee((S) => {
6951
+ ue.current = S, S && N.current ? N.current.attachToVideoElement(S) : !S && ue.current && N.current && N.current.detachFromVideoElement(ue.current);
6952
+ }, []), Z = ee((S) => {
6953
+ if (!N.current) {
6835
6954
  console.error("[AriaProvider] Session manager not initialized");
6836
6955
  return;
6837
6956
  }
6838
- const B = S?.userTrigger ?? !0;
6839
- M.current.triggerSession(B);
6840
- }, []), q = Z(async () => {
6841
- M.current && (M.current.isConnected() || M.current.connect());
6842
- }, []), Y = Z(async () => {
6843
- if (M.current)
6957
+ const U = S?.userTrigger ?? !0;
6958
+ N.current.triggerSession(U);
6959
+ }, []), Ae = ee(async () => {
6960
+ N.current && (N.current.isConnected() || N.current.connect());
6961
+ }, []), Ue = ee(async () => {
6962
+ if (N.current)
6844
6963
  try {
6845
- M.current.sendSessionEnd(), await M.current.stopStreaming(), u(!1), w([]), h("");
6964
+ await N.current.forceEndSession(), u(!1), w([]), h("");
6965
+ const S = N.current.getSessionState();
6966
+ Y(S);
6846
6967
  } catch (S) {
6847
- const B = S instanceof Error ? S.message : "Failed to stop session";
6848
- O(B), n.onError?.(S instanceof Error ? S : new Error(B));
6968
+ const U = S instanceof Error ? S.message : "Failed to stop session";
6969
+ M(U), n.onError?.(S instanceof Error ? S : new Error(U));
6849
6970
  }
6850
- }, [n]), ye = Z(async () => {
6851
- M.current && await M.current.refreshSession();
6852
- }, []), Ae = Z((S = "user") => {
6853
- if (V(S), U(S === "websocket" ? "center" : "bottom-right"), o(!0), O(null), M.current) {
6854
- const B = M.current.getSessionState();
6855
- M.current.getStatus() === "ready" && B.isSessionReady ? (l(!1), console.log("[AriaProvider] Opening with preloaded session")) : (l(!0), console.log("[AriaProvider] Opening, waiting for session..."), M.current.isConnected() || M.current.connect());
6971
+ }, [n]), z = ee(async () => {
6972
+ N.current && await N.current.refreshSession();
6973
+ }, []), ce = ee((S = "user") => {
6974
+ if (V(S), L(S === "websocket" ? "center" : "bottom-right"), o(!0), M(null), !N.current) return;
6975
+ if (N.current.isSessionPaused()) {
6976
+ console.log("[AriaProvider] Resuming paused session"), l(!0), N.current.resumeSession().then(() => {
6977
+ l(!1), u(!0), ye(!1);
6978
+ const Ve = N.current.getSessionState();
6979
+ Y(Ve), w(N.current.getChatMessages());
6980
+ }).catch((Ve) => {
6981
+ console.error("[AriaProvider] Failed to resume session:", Ve), l(!1), ye(!1), M(Ve instanceof Error ? Ve.message : "Failed to resume session");
6982
+ });
6983
+ return;
6856
6984
  }
6985
+ const U = N.current.getSessionState();
6986
+ N.current.getStatus() === "ready" && U.isSessionReady ? (l(!1), console.log("[AriaProvider] Opening with preloaded session")) : (l(!0), console.log("[AriaProvider] Opening, waiting for session..."), N.current.isConnected() || N.current.connect());
6857
6987
  }, []);
6858
- Fe(() => {
6859
- Be.current = Ae;
6860
- }, [Ae]);
6861
- const W = Z(() => {
6862
- o(!1), ue.current && M.current && M.current.detachFromVideoElement(ue.current), h(""), M.current && M.current.clearLiveTranscript();
6863
- }, []), he = Z(() => {
6988
+ He(() => {
6989
+ he.current = ce;
6990
+ }, [ce]);
6991
+ const we = ee(() => {
6992
+ o(!1), N.current && (ue.current && N.current.detachFromVideoElement(ue.current), h(""), N.current.clearLiveTranscript(), N.current.isPersistSessionEnabled() ? (console.log("[AriaProvider] Pausing session (persistSession: true)"), N.current.pauseSession(), ye(!0)) : (console.log("[AriaProvider] Ending session (persistSession: false)"), N.current.sendSessionEnd(), N.current.stopStreaming(), Y({
6993
+ session_id: null,
6994
+ token: null,
6995
+ expires_at: null,
6996
+ isSessionReady: !1,
6997
+ lastError: null,
6998
+ isPreloaded: !1,
6999
+ isRefreshing: !1
7000
+ }), u(!1), w([])));
7001
+ }, []), Ee = ee(() => {
6864
7002
  A((S) => !S);
6865
- }, []), we = Z(async (S) => {
6866
- if (!M.current || !c)
7003
+ }, []), Le = ee(async (S) => {
7004
+ if (!N.current || !c)
6867
7005
  throw new Error("Not connected to Aria");
6868
7006
  try {
6869
- await M.current.sendMessage(S);
6870
- } catch (B) {
6871
- const Se = B instanceof Error ? B.message : "Failed to send message";
6872
- throw O(Se), n.onError?.(B instanceof Error ? B : new Error(Se)), B;
6873
- }
6874
- }, [c, n]), Ee = Z(() => {
6875
- if (!M.current) return;
6876
- const S = M.current.toggleMute();
7007
+ await N.current.sendMessage(S);
7008
+ } catch (U) {
7009
+ const ge = U instanceof Error ? U.message : "Failed to send message";
7010
+ throw M(ge), n.onError?.(U instanceof Error ? U : new Error(ge)), U;
7011
+ }
7012
+ }, [c, n]), xe = ee(() => {
7013
+ if (!N.current) return;
7014
+ const S = N.current.toggleMute();
6877
7015
  x(S);
6878
- }, []), Pe = Z(() => ee.session_id, [ee.session_id]), xe = {
7016
+ }, []), Te = ee(() => te.session_id, [te.session_id]), Fe = {
6879
7017
  // UI State
6880
7018
  isOpen: i,
6881
7019
  isConnected: c,
@@ -6886,30 +7024,31 @@ const wn = ({ config: n, children: e }) => {
6886
7024
  isMuted: y,
6887
7025
  error: _,
6888
7026
  // Session State
6889
- sessionState: ee,
7027
+ sessionState: te,
6890
7028
  sessionManagerStatus: T,
6891
- isSessionPreloaded: ee.isPreloaded && T === "ready",
7029
+ isSessionPreloaded: te.isPreloaded && T === "ready",
7030
+ isSessionPaused: me,
6892
7031
  // Actions
6893
- openAssistant: Ae,
6894
- closeAssistant: W,
6895
- toggleChat: he,
6896
- sendMessage: we,
6897
- toggleMute: Ee,
6898
- startSession: q,
6899
- stopSession: Y,
6900
- triggerSession: Q,
6901
- refreshSession: ye,
6902
- setVideoElement: z,
7032
+ openAssistant: ce,
7033
+ closeAssistant: we,
7034
+ toggleChat: Ee,
7035
+ sendMessage: Le,
7036
+ toggleMute: xe,
7037
+ startSession: Ae,
7038
+ stopSession: Ue,
7039
+ triggerSession: Z,
7040
+ refreshSession: z,
7041
+ setVideoElement: q,
6903
7042
  // Display State
6904
- displayMode: j,
7043
+ displayMode: H,
6905
7044
  triggerMode: P,
6906
- theme: fe,
7045
+ theme: Ce,
6907
7046
  // Config
6908
7047
  config: n,
6909
7048
  // Utilities
6910
- getSessionId: Pe
7049
+ getSessionId: Te
6911
7050
  };
6912
- return /* @__PURE__ */ N(Lt.Provider, { value: xe, children: [
7051
+ return /* @__PURE__ */ O(Lt.Provider, { value: Fe, children: [
6913
7052
  e,
6914
7053
  n.showAssistant !== !1 && /* @__PURE__ */ b(
6915
7054
  bi,
@@ -6920,7 +7059,7 @@ const wn = ({ config: n, children: e }) => {
6920
7059
  }
6921
7060
  )
6922
7061
  ] });
6923
- }, vn = ({ open: n, onOpenChange: e, children: i }) => /* @__PURE__ */ b(ht, { children: n && /* @__PURE__ */ N("div", { className: "fixed inset-0 z-50 flex items-center justify-center aria-animate-fade-in", children: [
7062
+ }, vn = ({ open: n, onOpenChange: e, children: i }) => /* @__PURE__ */ b(pt, { children: n && /* @__PURE__ */ O("div", { className: "fixed inset-0 z-50 flex items-center justify-center aria-animate-fade-in", children: [
6924
7063
  /* @__PURE__ */ b(
6925
7064
  "div",
6926
7065
  {
@@ -6975,7 +7114,7 @@ const sn = ({
6975
7114
  className: n,
6976
7115
  onClick: e,
6977
7116
  ...i
6978
- }) => /* @__PURE__ */ N(
7117
+ }) => /* @__PURE__ */ O(
6979
7118
  "button",
6980
7119
  {
6981
7120
  className: E(
@@ -6989,7 +7128,7 @@ const sn = ({
6989
7128
  onClick: e,
6990
7129
  ...i,
6991
7130
  children: [
6992
- /* @__PURE__ */ b(Bt, { className: "h-4 w-4" }),
7131
+ /* @__PURE__ */ b(Ut, { className: "h-4 w-4" }),
6993
7132
  /* @__PURE__ */ b("span", { className: "sr-only", children: "Close" })
6994
7133
  ]
6995
7134
  }
@@ -6998,7 +7137,7 @@ sn.displayName = "DialogClose";
6998
7137
  function ln(n) {
6999
7138
  return !n || typeof n != "string" ? !1 : n.split(".").length === 3;
7000
7139
  }
7001
- function bt(n) {
7140
+ function At(n) {
7002
7141
  if (!ln(n))
7003
7142
  return null;
7004
7143
  try {
@@ -7009,7 +7148,7 @@ function bt(n) {
7009
7148
  }
7010
7149
  }
7011
7150
  function cn(n) {
7012
- const e = bt(n);
7151
+ const e = At(n);
7013
7152
  if (!e)
7014
7153
  return null;
7015
7154
  const i = [
@@ -7027,7 +7166,7 @@ function cn(n) {
7027
7166
  return null;
7028
7167
  }
7029
7168
  function bn(n) {
7030
- const e = bt(n);
7169
+ const e = At(n);
7031
7170
  if (!e)
7032
7171
  return {
7033
7172
  sessionId: null,
@@ -7044,7 +7183,7 @@ function bn(n) {
7044
7183
  };
7045
7184
  }
7046
7185
  function yn(n) {
7047
- const e = bt(n);
7186
+ const e = At(n);
7048
7187
  if (!e || typeof e.exp != "number")
7049
7188
  return !0;
7050
7189
  const i = Math.floor(Date.now() / 1e3);
@@ -7052,24 +7191,24 @@ function yn(n) {
7052
7191
  }
7053
7192
  export {
7054
7193
  mn as A,
7055
- rt as B,
7194
+ ot as B,
7056
7195
  X as C,
7057
- it as D,
7058
- te as E,
7196
+ at as D,
7197
+ ie as E,
7059
7198
  an as F,
7060
7199
  sn as G,
7061
7200
  E as H,
7062
- pe as I,
7063
- bt as J,
7201
+ fe as I,
7202
+ At as J,
7064
7203
  cn as K,
7065
7204
  ln as L,
7066
- nt as M,
7205
+ st as M,
7067
7206
  bn as N,
7068
7207
  yn as O,
7069
- ne as S,
7070
- Me as a,
7208
+ oe as S,
7209
+ Be as a,
7071
7210
  F as b,
7072
- De as c,
7211
+ Pe as c,
7073
7212
  Oi as d,
7074
7213
  wn as e,
7075
7214
  bi as f,
@@ -7077,21 +7216,21 @@ export {
7077
7216
  mi as h,
7078
7217
  wi as i,
7079
7218
  fi as j,
7080
- Zt as k,
7081
- tr as l,
7219
+ tr as k,
7220
+ ir as l,
7082
7221
  pn as m,
7083
- ge as n,
7084
- Xt as o,
7222
+ pe as n,
7223
+ Zt as o,
7085
7224
  di as p,
7086
7225
  gi as q,
7087
7226
  ui as r,
7088
7227
  hi as s,
7089
7228
  pi as t,
7090
- $e as u,
7091
- $t as v,
7092
- je as w,
7229
+ Ze as u,
7230
+ Yt as v,
7231
+ ze as w,
7093
7232
  vn as x,
7094
7233
  nn as y,
7095
7234
  on as z
7096
7235
  };
7097
- //# sourceMappingURL=index-BpJZlLfH.js.map
7236
+ //# sourceMappingURL=index-D__agxtJ.js.map