@voxket-ai/voxket-live 1.0.93 → 1.0.94

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.
Files changed (3) hide show
  1. package/dist/index.cjs +65 -12
  2. package/dist/index.js +218 -165
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4945,7 +4945,7 @@ const Qg = /* @__PURE__ */ new Map([
4945
4945
  ]
4946
4946
  ]), jc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: Qg }));
4947
4947
  jc.displayName = "ChatTextIcon";
4948
- const ep = /* @__PURE__ */ new Map([
4948
+ const e0 = /* @__PURE__ */ new Map([
4949
4949
  [
4950
4950
  "bold",
4951
4951
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z" }))
@@ -4976,9 +4976,9 @@ const ep = /* @__PURE__ */ new Map([
4976
4976
  "thin",
4977
4977
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z" }))
4978
4978
  ]
4979
- ]), zc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: ep }));
4979
+ ]), zc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: e0 }));
4980
4980
  zc.displayName = "CheckIcon";
4981
- const tp = /* @__PURE__ */ new Map([
4981
+ const t0 = /* @__PURE__ */ new Map([
4982
4982
  [
4983
4983
  "bold",
4984
4984
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M128,180a52.06,52.06,0,0,0,52-52V64A52,52,0,0,0,76,64v64A52.06,52.06,0,0,0,128,180ZM100,64a28,28,0,0,1,56,0v64a28,28,0,0,1-56,0Zm40,155.22V240a12,12,0,0,1-24,0V219.22A92.14,92.14,0,0,1,36,128a12,12,0,0,1,24,0,68,68,0,0,0,136,0,12,12,0,0,1,24,0A92.14,92.14,0,0,1,140,219.22Z" }))
@@ -5009,9 +5009,9 @@ const tp = /* @__PURE__ */ new Map([
5009
5009
  "thin",
5010
5010
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M128,172a44.05,44.05,0,0,0,44-44V64a44,44,0,0,0-88,0v64A44.05,44.05,0,0,0,128,172ZM92,64a36,36,0,0,1,72,0v64a36,36,0,0,1-72,0Zm40,139.89V240a4,4,0,0,1-8,0V203.89A76.09,76.09,0,0,1,52,128a4,4,0,0,1,8,0,68,68,0,0,0,136,0,4,4,0,0,1,8,0A76.09,76.09,0,0,1,132,203.89Z" }))
5011
5011
  ]
5012
- ]), Hc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: tp }));
5012
+ ]), Hc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: t0 }));
5013
5013
  Hc.displayName = "MicrophoneIcon";
5014
- const np = /* @__PURE__ */ new Map([
5014
+ const n0 = /* @__PURE__ */ new Map([
5015
5015
  [
5016
5016
  "bold",
5017
5017
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M56.88,39.93A12,12,0,1,0,39.12,56.07L76,96.64V128a52,52,0,0,0,72.11,48l11.26,12.39A67.34,67.34,0,0,1,128,196a68.07,68.07,0,0,1-68-68,12,12,0,0,0-24,0,92.14,92.14,0,0,0,80,91.22V240a12,12,0,0,0,24,0V219.23a90.39,90.39,0,0,0,35.92-12.68l23.2,25.52a12,12,0,0,0,17.76-16.14ZM128,156a28,28,0,0,1-28-28v-5l29.9,32.89C129.27,156,128.64,156,128,156Zm63-2.42A67.63,67.63,0,0,0,196,128a12,12,0,0,1,24,0,91.48,91.48,0,0,1-6.74,34.61,12,12,0,0,1-22.23-9ZM85.7,33.75A52,52,0,0,1,180,64v56.54a12,12,0,0,1-24,0V64a28,28,0,0,0-50.79-16.28,12,12,0,0,1-19.51-14Z" }))
@@ -5042,9 +5042,9 @@ const np = /* @__PURE__ */ new Map([
5042
5042
  "thin",
5043
5043
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M211,221.31,51,45.31A4,4,0,0,0,45,50.69L84,93.55V128a44,44,0,0,0,66,38.12l16.38,18A67.21,67.21,0,0,1,128,196a68.07,68.07,0,0,1-68-68,4,4,0,0,0-8,0,76.09,76.09,0,0,0,72,75.89V240a4,4,0,0,0,8,0V203.89a75.1,75.1,0,0,0,39.79-13.77L205,226.69a4,4,0,1,0,5.92-5.38ZM128,164a36,36,0,0,1-36-36V102.35L144.43,160A35.83,35.83,0,0,1,128,164Zm61.12-6.15A67.44,67.44,0,0,0,196,128a4,4,0,0,1,8,0,75.28,75.28,0,0,1-7.7,33.37,4,4,0,0,1-7.18-3.52ZM87.63,46.46A44,44,0,0,1,172,64v64a44.2,44.2,0,0,1-.24,4.61,4,4,0,0,1-4,3.58l-.42,0a4,4,0,0,1-3.57-4.39A36.67,36.67,0,0,0,164,128V64A36,36,0,0,0,95,49.66a4,4,0,0,1-7.34-3.2Z" }))
5044
5044
  ]
5045
- ]), Uc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: np }));
5045
+ ]), Uc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: n0 }));
5046
5046
  Uc.displayName = "MicrophoneSlashIcon";
5047
- const rp = /* @__PURE__ */ new Map([
5047
+ const r0 = /* @__PURE__ */ new Map([
5048
5048
  [
5049
5049
  "bold",
5050
5050
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M208,36H48A28,28,0,0,0,20,64V176a28,28,0,0,0,28,28H208a28,28,0,0,0,28-28V64A28,28,0,0,0,208,36Zm4,140a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Zm-40,52a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,228ZM160.49,103.51a12,12,0,0,1-17,17L140,117v35a12,12,0,0,1-24,0V117l-3.51,3.52a12,12,0,0,1-17-17l24-24a12,12,0,0,1,17,0Z" }))
@@ -5075,9 +5075,9 @@ const rp = /* @__PURE__ */ new Map([
5075
5075
  "thin",
5076
5076
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M208,44H48A20,20,0,0,0,28,64V176a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V64A20,20,0,0,0,208,44Zm12,132a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V64A12,12,0,0,1,48,52H208a12,12,0,0,1,12,12Zm-56,48a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,224Zm-9.17-114.83a4,4,0,0,1-5.66,5.66L132,97.66V152a4,4,0,0,1-8,0V97.66l-17.17,17.17a4,4,0,0,1-5.66-5.66l24-24a4,4,0,0,1,5.66,0Z" }))
5077
5077
  ]
5078
- ]), Zc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: rp }));
5078
+ ]), Zc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: r0 }));
5079
5079
  Zc.displayName = "MonitorArrowUpIcon";
5080
- const op = /* @__PURE__ */ new Map([
5080
+ const o0 = /* @__PURE__ */ new Map([
5081
5081
  [
5082
5082
  "bold",
5083
5083
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M140,32V64a12,12,0,0,1-24,0V32a12,12,0,0,1,24,0Zm33.25,62.75a12,12,0,0,0,8.49-3.52L204.37,68.6a12,12,0,0,0-17-17L164.77,74.26a12,12,0,0,0,8.48,20.49ZM224,116H192a12,12,0,0,0,0,24h32a12,12,0,0,0,0-24Zm-42.26,48.77a12,12,0,1,0-17,17l22.63,22.63a12,12,0,0,0,17-17ZM128,180a12,12,0,0,0-12,12v32a12,12,0,0,0,24,0V192A12,12,0,0,0,128,180ZM74.26,164.77,51.63,187.4a12,12,0,0,0,17,17l22.63-22.63a12,12,0,1,0-17-17ZM76,128a12,12,0,0,0-12-12H32a12,12,0,0,0,0,24H64A12,12,0,0,0,76,128ZM68.6,51.63a12,12,0,1,0-17,17L74.26,91.23a12,12,0,0,0,17-17Z" }))
@@ -5102,9 +5102,9 @@ const op = /* @__PURE__ */ new Map([
5102
5102
  "thin",
5103
5103
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M132,32V64a4,4,0,0,1-8,0V32a4,4,0,0,1,8,0Zm41.25,54.75a4,4,0,0,0,2.83-1.18L198.71,63a4,4,0,0,0-5.66-5.66L170.43,79.92a4,4,0,0,0,2.82,6.83ZM224,124H192a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8Zm-47.92,46.43a4,4,0,1,0-5.65,5.65l22.62,22.63a4,4,0,0,0,5.66-5.66ZM128,188a4,4,0,0,0-4,4v32a4,4,0,0,0,8,0V192A4,4,0,0,0,128,188ZM79.92,170.43,57.29,193.05A4,4,0,0,0,63,198.71l22.62-22.63a4,4,0,1,0-5.65-5.65ZM68,128a4,4,0,0,0-4-4H32a4,4,0,0,0,0,8H64A4,4,0,0,0,68,128ZM63,57.29A4,4,0,0,0,57.29,63L79.92,85.57a4,4,0,1,0,5.65-5.65Z" }))
5104
5104
  ]
5105
- ]), Ti = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: op }));
5105
+ ]), Ti = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: o0 }));
5106
5106
  Ti.displayName = "SpinnerIcon";
5107
- const ip = /* @__PURE__ */ new Map([
5107
+ const i0 = /* @__PURE__ */ new Map([
5108
5108
  [
5109
5109
  "bold",
5110
5110
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M249.45,69.31a12,12,0,0,0-12.51,1L212,88.43V72a20,20,0,0,0-20-20H32A20,20,0,0,0,12,72V184a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V167.57l24.94,18.14A12,12,0,0,0,256,176V80A12,12,0,0,0,249.45,69.31ZM188,180H36V76H188Zm44-27.57-20-14.54V118.11l20-14.54Z" }))
@@ -5135,9 +5135,9 @@ const ip = /* @__PURE__ */ new Map([
5135
5135
  "thin",
5136
5136
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M249.89,76.47a4,4,0,0,0-4.11.2L204,104.53V72a12,12,0,0,0-12-12H32A12,12,0,0,0,20,72V184a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V151.47l41.78,27.86A4,4,0,0,0,252,176V80A4,4,0,0,0,249.89,76.47ZM196,184a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V72a4,4,0,0,1,4-4H192a4,4,0,0,1,4,4Zm48-15.47-40-26.67V114.14l40-26.67Z" }))
5137
5137
  ]
5138
- ]), Wc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: ip }));
5138
+ ]), Wc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: i0 }));
5139
5139
  Wc.displayName = "VideoCameraIcon";
5140
- const sp = /* @__PURE__ */ new Map([
5140
+ const s0 = /* @__PURE__ */ new Map([
5141
5141
  [
5142
5142
  "bold",
5143
5143
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M249.45,69.31a12,12,0,0,0-12.51,1L212,88.43V72a20,20,0,0,0-20-20H123.88a12,12,0,0,0,0,24H188v68a12,12,0,0,0,4.46,9.33c.15.13.31.25.48.38l44,32A12,12,0,0,0,256,176V80A12,12,0,0,0,249.45,69.31ZM232,152.43l-20-14.54V118.11l20-14.54ZM56.88,31.93A12,12,0,1,0,39.12,48.07L42.69,52H32A20,20,0,0,0,12,72V184a20,20,0,0,0,20,20H180.87l18.25,20.07a12,12,0,0,0,17.76-16.14ZM36,180V76H64.51l94.55,104Z" }))
@@ -5168,14 +5168,14 @@ const sp = /* @__PURE__ */ new Map([
5168
5168
  "thin",
5169
5169
  /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("path", { d: "M249.89,76.47a4,4,0,0,0-4.11.2L204,104.53V72a12,12,0,0,0-12-12H113.06a4,4,0,0,0,0,8H192a4,4,0,0,1,4,4v87.63a4,4,0,0,0,8,0v-8.16l41.78,27.86A4,4,0,0,0,252,176V80A4,4,0,0,0,249.89,76.47ZM244,168.53l-40-26.67V114.14l40-26.67ZM51,37.31A4,4,0,0,0,45,42.69L60.78,60H32A12,12,0,0,0,20,72V184a12,12,0,0,0,12,12H184.41L205,218.69a4,4,0,1,0,5.92-5.38ZM32,188a4,4,0,0,1-4-4V72a4,4,0,0,1,4-4H68.05L177.14,188Z" }))
5170
5170
  ]
5171
- ]), Gc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: sp }));
5171
+ ]), Gc = g.forwardRef((e, t) => /* @__PURE__ */ g.createElement(Qe, { ref: t, ...e, weights: s0 }));
5172
5172
  Gc.displayName = "VideoCameraSlashIcon";
5173
5173
  function na(e, t) {
5174
5174
  if (typeof e == "function")
5175
5175
  return e(t);
5176
5176
  e != null && (e.current = t);
5177
5177
  }
5178
- function ap(...e) {
5178
+ function a0(...e) {
5179
5179
  return (t) => {
5180
5180
  let n = !1;
5181
5181
  const r = e.map((o) => {
@@ -5192,9 +5192,9 @@ function ap(...e) {
5192
5192
  };
5193
5193
  }
5194
5194
  // @__NO_SIDE_EFFECTS__
5195
- function lp(e) {
5196
- const t = /* @__PURE__ */ dp(e), n = g.forwardRef((r, o) => {
5197
- const { children: i, ...s } = r, a = g.Children.toArray(i), l = a.find(hp);
5195
+ function l0(e) {
5196
+ const t = /* @__PURE__ */ d0(e), n = g.forwardRef((r, o) => {
5197
+ const { children: i, ...s } = r, a = g.Children.toArray(i), l = a.find(h0);
5198
5198
  if (l) {
5199
5199
  const c = l.props.children, d = a.map((h) => h === l ? g.Children.count(c) > 1 ? g.Children.only(null) : g.isValidElement(c) ? c.props.children : null : h);
5200
5200
  return /* @__PURE__ */ u(t, { ...s, ref: o, children: g.isValidElement(c) ? g.cloneElement(c, void 0, d) : null });
@@ -5203,24 +5203,24 @@ function lp(e) {
5203
5203
  });
5204
5204
  return n.displayName = `${e}.Slot`, n;
5205
5205
  }
5206
- var cp = /* @__PURE__ */ lp("Slot");
5206
+ var c0 = /* @__PURE__ */ l0("Slot");
5207
5207
  // @__NO_SIDE_EFFECTS__
5208
- function dp(e) {
5208
+ function d0(e) {
5209
5209
  const t = g.forwardRef((n, r) => {
5210
5210
  const { children: o, ...i } = n;
5211
5211
  if (g.isValidElement(o)) {
5212
- const s = mp(o), a = fp(i, o.props);
5213
- return o.type !== g.Fragment && (a.ref = r ? ap(r, s) : s), g.cloneElement(o, a);
5212
+ const s = m0(o), a = f0(i, o.props);
5213
+ return o.type !== g.Fragment && (a.ref = r ? a0(r, s) : s), g.cloneElement(o, a);
5214
5214
  }
5215
5215
  return g.Children.count(o) > 1 ? g.Children.only(null) : null;
5216
5216
  });
5217
5217
  return t.displayName = `${e}.SlotClone`, t;
5218
5218
  }
5219
- var up = Symbol("radix.slottable");
5220
- function hp(e) {
5221
- return g.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === up;
5219
+ var u0 = Symbol("radix.slottable");
5220
+ function h0(e) {
5221
+ return g.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === u0;
5222
5222
  }
5223
- function fp(e, t) {
5223
+ function f0(e, t) {
5224
5224
  const n = { ...t };
5225
5225
  for (const r in t) {
5226
5226
  const o = e[r], i = t[r];
@@ -5231,20 +5231,20 @@ function fp(e, t) {
5231
5231
  }
5232
5232
  return { ...e, ...n };
5233
5233
  }
5234
- function mp(e) {
5234
+ function m0(e) {
5235
5235
  var r, o;
5236
5236
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
5237
5237
  return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
5238
5238
  }
5239
- const Ai = "-", gp = (e) => {
5240
- const t = yp(e), {
5239
+ const Ai = "-", g0 = (e) => {
5240
+ const t = y0(e), {
5241
5241
  conflictingClassGroups: n,
5242
5242
  conflictingClassGroupModifiers: r
5243
5243
  } = e;
5244
5244
  return {
5245
5245
  getClassGroupId: (s) => {
5246
5246
  const a = s.split(Ai);
5247
- return a[0] === "" && a.length !== 1 && a.shift(), Kc(a, t) || pp(s);
5247
+ return a[0] === "" && a.length !== 1 && a.shift(), Kc(a, t) || p0(s);
5248
5248
  },
5249
5249
  getConflictingClassGroupIds: (s, a) => {
5250
5250
  const l = n[s] || [];
@@ -5264,13 +5264,13 @@ const Ai = "-", gp = (e) => {
5264
5264
  return (s = t.validators.find(({
5265
5265
  validator: a
5266
5266
  }) => a(i))) == null ? void 0 : s.classGroupId;
5267
- }, ra = /^\[(.+)\]$/, pp = (e) => {
5267
+ }, ra = /^\[(.+)\]$/, p0 = (e) => {
5268
5268
  if (ra.test(e)) {
5269
5269
  const t = ra.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
5270
5270
  if (n)
5271
5271
  return "arbitrary.." + n;
5272
5272
  }
5273
- }, yp = (e) => {
5273
+ }, y0 = (e) => {
5274
5274
  const {
5275
5275
  theme: t,
5276
5276
  classGroups: n
@@ -5289,7 +5289,7 @@ const Ai = "-", gp = (e) => {
5289
5289
  return;
5290
5290
  }
5291
5291
  if (typeof o == "function") {
5292
- if (bp(o)) {
5292
+ if (b0(o)) {
5293
5293
  $o(o(r), t, n, r);
5294
5294
  return;
5295
5295
  }
@@ -5311,7 +5311,7 @@ const Ai = "-", gp = (e) => {
5311
5311
  validators: []
5312
5312
  }), n = n.nextPart.get(r);
5313
5313
  }), n;
5314
- }, bp = (e) => e.isThemeGetter, vp = (e) => {
5314
+ }, b0 = (e) => e.isThemeGetter, v0 = (e) => {
5315
5315
  if (e < 1)
5316
5316
  return {
5317
5317
  get: () => {
@@ -5335,7 +5335,7 @@ const Ai = "-", gp = (e) => {
5335
5335
  n.has(i) ? n.set(i, s) : o(i, s);
5336
5336
  }
5337
5337
  };
5338
- }, Fo = "!", Oo = ":", xp = Oo.length, wp = (e) => {
5338
+ }, Fo = "!", Oo = ":", x0 = Oo.length, w0 = (e) => {
5339
5339
  const {
5340
5340
  prefix: t,
5341
5341
  experimentalParseClassName: n
@@ -5347,7 +5347,7 @@ const Ai = "-", gp = (e) => {
5347
5347
  let m = o[b];
5348
5348
  if (s === 0 && a === 0) {
5349
5349
  if (m === Oo) {
5350
- i.push(o.slice(l, b)), l = b + xp;
5350
+ i.push(o.slice(l, b)), l = b + x0;
5351
5351
  continue;
5352
5352
  }
5353
5353
  if (m === "/") {
@@ -5357,7 +5357,7 @@ const Ai = "-", gp = (e) => {
5357
5357
  }
5358
5358
  m === "[" ? s++ : m === "]" ? s-- : m === "(" ? a++ : m === ")" && a--;
5359
5359
  }
5360
- const d = i.length === 0 ? o : o.substring(l), h = kp(d), f = h !== d, p = c && c > l ? c - l : void 0;
5360
+ const d = i.length === 0 ? o : o.substring(l), h = k0(d), f = h !== d, p = c && c > l ? c - l : void 0;
5361
5361
  return {
5362
5362
  modifiers: i,
5363
5363
  hasImportantModifier: f,
@@ -5383,7 +5383,7 @@ const Ai = "-", gp = (e) => {
5383
5383
  });
5384
5384
  }
5385
5385
  return r;
5386
- }, kp = (e) => e.endsWith(Fo) ? e.substring(0, e.length - 1) : e.startsWith(Fo) ? e.substring(1) : e, Sp = (e) => {
5386
+ }, k0 = (e) => e.endsWith(Fo) ? e.substring(0, e.length - 1) : e.startsWith(Fo) ? e.substring(1) : e, S0 = (e) => {
5387
5387
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
5388
5388
  return (r) => {
5389
5389
  if (r.length <= 1)
@@ -5394,18 +5394,18 @@ const Ai = "-", gp = (e) => {
5394
5394
  s[0] === "[" || t[s] ? (o.push(...i.sort(), s), i = []) : i.push(s);
5395
5395
  }), o.push(...i.sort()), o;
5396
5396
  };
5397
- }, Cp = (e) => ({
5398
- cache: vp(e.cacheSize),
5399
- parseClassName: wp(e),
5400
- sortModifiers: Sp(e),
5401
- ...gp(e)
5402
- }), Tp = /\s+/, Ap = (e, t) => {
5397
+ }, C0 = (e) => ({
5398
+ cache: v0(e.cacheSize),
5399
+ parseClassName: w0(e),
5400
+ sortModifiers: S0(e),
5401
+ ...g0(e)
5402
+ }), T0 = /\s+/, A0 = (e, t) => {
5403
5403
  const {
5404
5404
  parseClassName: n,
5405
5405
  getClassGroupId: r,
5406
5406
  getConflictingClassGroupIds: o,
5407
5407
  sortModifiers: i
5408
- } = t, s = [], a = e.trim().split(Tp);
5408
+ } = t, s = [], a = e.trim().split(T0);
5409
5409
  let l = "";
5410
5410
  for (let c = a.length - 1; c >= 0; c -= 1) {
5411
5411
  const d = a[c], {
@@ -5444,7 +5444,7 @@ const Ai = "-", gp = (e) => {
5444
5444
  }
5445
5445
  return l;
5446
5446
  };
5447
- function Ep() {
5447
+ function E0() {
5448
5448
  let e = 0, t, n, r = "";
5449
5449
  for (; e < arguments.length; )
5450
5450
  (t = arguments[e++]) && (n = Yc(t)) && (r && (r += " "), r += n);
@@ -5458,38 +5458,38 @@ const Yc = (e) => {
5458
5458
  e[r] && (t = Yc(e[r])) && (n && (n += " "), n += t);
5459
5459
  return n;
5460
5460
  };
5461
- function Mp(e, ...t) {
5461
+ function M0(e, ...t) {
5462
5462
  let n, r, o, i = s;
5463
5463
  function s(l) {
5464
5464
  const c = t.reduce((d, h) => h(d), e());
5465
- return n = Cp(c), r = n.cache.get, o = n.cache.set, i = a, a(l);
5465
+ return n = C0(c), r = n.cache.get, o = n.cache.set, i = a, a(l);
5466
5466
  }
5467
5467
  function a(l) {
5468
5468
  const c = r(l);
5469
5469
  if (c)
5470
5470
  return c;
5471
- const d = Ap(l, n);
5471
+ const d = A0(l, n);
5472
5472
  return o(l, d), d;
5473
5473
  }
5474
5474
  return function() {
5475
- return i(Ep.apply(null, arguments));
5475
+ return i(E0.apply(null, arguments));
5476
5476
  };
5477
5477
  }
5478
5478
  const Ie = (e) => {
5479
5479
  const t = (n) => n[e] || [];
5480
5480
  return t.isThemeGetter = !0, t;
5481
- }, qc = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Xc = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pp = /^\d+\/\d+$/, Np = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Vp = /\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$/, Rp = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ip = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Dp = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, $t = (e) => Pp.test(e), re = (e) => !!e && !Number.isNaN(Number(e)), gt = (e) => !!e && Number.isInteger(Number(e)), Kr = (e) => e.endsWith("%") && re(e.slice(0, -1)), it = (e) => Np.test(e), $p = () => !0, Fp = (e) => (
5481
+ }, qc = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Xc = /^\((?:(\w[\w-]*):)?(.+)\)$/i, P0 = /^\d+\/\d+$/, N0 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, V0 = /\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$/, R0 = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, I0 = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, D0 = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, $t = (e) => P0.test(e), re = (e) => !!e && !Number.isNaN(Number(e)), gt = (e) => !!e && Number.isInteger(Number(e)), Kr = (e) => e.endsWith("%") && re(e.slice(0, -1)), it = (e) => N0.test(e), $0 = () => !0, F0 = (e) => (
5482
5482
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
5483
5483
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
5484
5484
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
5485
- Vp.test(e) && !Rp.test(e)
5486
- ), Jc = () => !1, Op = (e) => Ip.test(e), Lp = (e) => Dp.test(e), _p = (e) => !Z(e) && !W(e), Bp = (e) => an(e, td, Jc), Z = (e) => qc.test(e), At = (e) => an(e, nd, Fp), Yr = (e) => an(e, Zp, re), ia = (e) => an(e, Qc, Jc), jp = (e) => an(e, ed, Lp), Zn = (e) => an(e, rd, Op), W = (e) => Xc.test(e), mn = (e) => ln(e, nd), zp = (e) => ln(e, Wp), sa = (e) => ln(e, Qc), Hp = (e) => ln(e, td), Up = (e) => ln(e, ed), Wn = (e) => ln(e, rd, !0), an = (e, t, n) => {
5485
+ V0.test(e) && !R0.test(e)
5486
+ ), Jc = () => !1, O0 = (e) => I0.test(e), L0 = (e) => D0.test(e), _0 = (e) => !Z(e) && !W(e), B0 = (e) => an(e, td, Jc), Z = (e) => qc.test(e), At = (e) => an(e, nd, F0), Yr = (e) => an(e, Z0, re), ia = (e) => an(e, Qc, Jc), j0 = (e) => an(e, ed, L0), Zn = (e) => an(e, rd, O0), W = (e) => Xc.test(e), mn = (e) => ln(e, nd), z0 = (e) => ln(e, W0), sa = (e) => ln(e, Qc), H0 = (e) => ln(e, td), U0 = (e) => ln(e, ed), Wn = (e) => ln(e, rd, !0), an = (e, t, n) => {
5487
5487
  const r = qc.exec(e);
5488
5488
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
5489
5489
  }, ln = (e, t, n = !1) => {
5490
5490
  const r = Xc.exec(e);
5491
5491
  return r ? r[1] ? t(r[1]) : n : !1;
5492
- }, Qc = (e) => e === "position" || e === "percentage", ed = (e) => e === "image" || e === "url", td = (e) => e === "length" || e === "size" || e === "bg-size", nd = (e) => e === "length", Zp = (e) => e === "number", Wp = (e) => e === "family-name", rd = (e) => e === "shadow", Gp = () => {
5492
+ }, Qc = (e) => e === "position" || e === "percentage", ed = (e) => e === "image" || e === "url", td = (e) => e === "length" || e === "size" || e === "bg-size", nd = (e) => e === "length", Z0 = (e) => e === "number", W0 = (e) => e === "family-name", rd = (e) => e === "shadow", G0 = () => {
5493
5493
  const e = Ie("color"), t = Ie("font"), n = Ie("text"), r = Ie("font-weight"), o = Ie("tracking"), i = Ie("leading"), s = Ie("breakpoint"), a = Ie("container"), l = Ie("spacing"), c = Ie("radius"), d = Ie("shadow"), h = Ie("inset-shadow"), f = Ie("text-shadow"), p = Ie("drop-shadow"), b = Ie("blur"), m = Ie("perspective"), v = Ie("aspect"), C = Ie("ease"), x = Ie("animate"), T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], w = () => [
5494
5494
  "center",
5495
5495
  "top",
@@ -5514,7 +5514,7 @@ const Ie = (e) => {
5514
5514
  position: [W, Z]
5515
5515
  }], N = () => ["no-repeat", {
5516
5516
  repeat: ["", "x", "y", "space", "round"]
5517
- }], U = () => ["auto", "cover", "contain", Hp, Bp, {
5517
+ }], U = () => ["auto", "cover", "contain", H0, B0, {
5518
5518
  size: [W, Z]
5519
5519
  }], Y = () => [Kr, mn, At], V = () => [
5520
5520
  // Deprecated since Tailwind CSS v4.0.0
@@ -5539,11 +5539,11 @@ const Ie = (e) => {
5539
5539
  aspect: ["video"],
5540
5540
  blur: [it],
5541
5541
  breakpoint: [it],
5542
- color: [$p],
5542
+ color: [$0],
5543
5543
  container: [it],
5544
5544
  "drop-shadow": [it],
5545
5545
  ease: ["in", "out", "in-out"],
5546
- font: [_p],
5546
+ font: [_0],
5547
5547
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
5548
5548
  "inset-shadow": [it],
5549
5549
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -6255,7 +6255,7 @@ const Ie = (e) => {
6255
6255
  * @see https://tailwindcss.com/docs/font-family
6256
6256
  */
6257
6257
  "font-family": [{
6258
- font: [zp, Z, t]
6258
+ font: [z0, Z, t]
6259
6259
  }],
6260
6260
  /**
6261
6261
  * Font Variant Numeric
@@ -6510,7 +6510,7 @@ const Ie = (e) => {
6510
6510
  }, gt, W, Z],
6511
6511
  radial: ["", W, Z],
6512
6512
  conic: [gt, W, Z]
6513
- }, Up, jp]
6513
+ }, U0, j0]
6514
6514
  }],
6515
6515
  /**
6516
6516
  * Background Color
@@ -7959,11 +7959,11 @@ const Ie = (e) => {
7959
7959
  },
7960
7960
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
7961
7961
  };
7962
- }, Kp = /* @__PURE__ */ Mp(Gp);
7962
+ }, K0 = /* @__PURE__ */ M0(G0);
7963
7963
  function K(...e) {
7964
- return Kp(eu(e));
7964
+ return K0(eu(e));
7965
7965
  }
7966
- function Yp(e, t) {
7966
+ function Y0(e, t) {
7967
7967
  return {
7968
7968
  id: e.streamInfo.id,
7969
7969
  timestamp: e.streamInfo.timestamp,
@@ -7973,7 +7973,7 @@ function Yp(e, t) {
7973
7973
  )
7974
7974
  };
7975
7975
  }
7976
- const qp = Ho(
7976
+ const q0 = Ho(
7977
7977
  [
7978
7978
  "text-xs font-bold tracking-wider uppercase whitespace-nowrap",
7979
7979
  "inline-flex items-center justify-center gap-2 shrink-0 rounded-full cursor-pointer outline-none transition-colors duration-300",
@@ -8014,7 +8014,7 @@ const qp = Ho(
8014
8014
  }
8015
8015
  }
8016
8016
  );
8017
- function Xp({
8017
+ function X0({
8018
8018
  className: e,
8019
8019
  variant: t,
8020
8020
  size: n,
@@ -8022,15 +8022,15 @@ function Xp({
8022
8022
  ...o
8023
8023
  }) {
8024
8024
  return /* @__PURE__ */ u(
8025
- r ? cp : "button",
8025
+ r ? c0 : "button",
8026
8026
  {
8027
8027
  "data-slot": "button",
8028
- className: K(qp({ variant: t, size: n, className: e })),
8028
+ className: K(q0({ variant: t, size: n, className: e })),
8029
8029
  ...o
8030
8030
  }
8031
8031
  );
8032
8032
  }
8033
- function Jp({ onSend: e, className: t, disabled: n, ...r }) {
8033
+ function J0({ onSend: e, className: t, disabled: n, ...r }) {
8034
8034
  const o = Be(null), [i, s] = X(""), a = (c) => {
8035
8035
  var d, h;
8036
8036
  c.preventDefault(), (d = r.onSubmit) == null || d.call(r, c), e == null || e(i), s(""), (h = o.current) == null || h.focus({ preventScroll: !0 });
@@ -8055,7 +8055,7 @@ function Jp({ onSend: e, className: t, disabled: n, ...r }) {
8055
8055
  }
8056
8056
  ),
8057
8057
  /* @__PURE__ */ u(
8058
- Xp,
8058
+ X0,
8059
8059
  {
8060
8060
  size: "sm",
8061
8061
  type: "submit",
@@ -8069,7 +8069,7 @@ function Jp({ onSend: e, className: t, disabled: n, ...r }) {
8069
8069
  }
8070
8070
  );
8071
8071
  }
8072
- const Qp = Ho(
8072
+ const Q0 = Ho(
8073
8073
  [
8074
8074
  "inline-flex items-center justify-center gap-2 rounded-full",
8075
8075
  "text-sm font-medium whitespace-nowrap",
@@ -8113,12 +8113,12 @@ function od({
8113
8113
  tu.Root,
8114
8114
  {
8115
8115
  "data-slot": "toggle",
8116
- className: K(Qp({ variant: t, size: n, className: e })),
8116
+ className: K(Q0({ variant: t, size: n, className: e })),
8117
8117
  ...r
8118
8118
  }
8119
8119
  );
8120
8120
  }
8121
- function e0(e) {
8121
+ function ep(e) {
8122
8122
  const [t, n] = X(() => e.getPublishPermissions());
8123
8123
  return Te(() => {
8124
8124
  const r = () => {
@@ -8222,7 +8222,7 @@ function sd(e) {
8222
8222
  };
8223
8223
  }, [e]), t;
8224
8224
  }
8225
- function t0(e, t) {
8225
+ function tp(e, t) {
8226
8226
  const [n, r] = X([]), [o, i] = X("");
8227
8227
  return Te(() => {
8228
8228
  var c;
@@ -8254,7 +8254,7 @@ function t0(e, t) {
8254
8254
  }
8255
8255
  };
8256
8256
  }
8257
- function n0(e) {
8257
+ function np(e) {
8258
8258
  const { preventSave: t = !1 } = e || {};
8259
8259
  return {
8260
8260
  saveAudioInputEnabled: (s) => {
@@ -8312,7 +8312,7 @@ function ad(e) {
8312
8312
  videoTrack: h
8313
8313
  };
8314
8314
  }
8315
- function r0(e) {
8315
+ function rp(e) {
8316
8316
  const [t, n] = X(() => e.getVideoTrackRefs()), [r, o] = X(() => e.getCameraTrackRefs()), [i, s] = X(() => e.getScreenShareTrackRefs());
8317
8317
  return Te(() => {
8318
8318
  const a = () => {
@@ -8415,7 +8415,7 @@ function da({
8415
8415
  position: n,
8416
8416
  ...r,
8417
8417
  children: [
8418
- /* @__PURE__ */ u(o0, {}),
8418
+ /* @__PURE__ */ u(op, {}),
8419
8419
  /* @__PURE__ */ u(
8420
8420
  Ke.Viewport,
8421
8421
  {
@@ -8426,7 +8426,7 @@ function da({
8426
8426
  children: t
8427
8427
  }
8428
8428
  ),
8429
- /* @__PURE__ */ u(i0, {})
8429
+ /* @__PURE__ */ u(ip, {})
8430
8430
  ]
8431
8431
  }
8432
8432
  ) });
@@ -8459,7 +8459,7 @@ function ua({
8459
8459
  }
8460
8460
  );
8461
8461
  }
8462
- function o0({
8462
+ function op({
8463
8463
  className: e,
8464
8464
  ...t
8465
8465
  }) {
@@ -8473,7 +8473,7 @@ function o0({
8473
8473
  }
8474
8474
  );
8475
8475
  }
8476
- function i0({
8476
+ function ip({
8477
8477
  className: e,
8478
8478
  ...t
8479
8479
  }) {
@@ -8521,7 +8521,7 @@ function fa({
8521
8521
  /* @__PURE__ */ u(ca, { className: K(ha({ size: s }), i.className), children: /* @__PURE__ */ u(la, { placeholder: `Select a ${e}` }) }),
8522
8522
  /* @__PURE__ */ u(da, { children: /* @__PURE__ */ u(ua, { value: "none", children: "No devices available" }) })
8523
8523
  ] });
8524
- const { devices: a, activeDeviceId: l, setActiveMediaDevice: c } = t0(
8524
+ const { devices: a, activeDeviceId: l, setActiveMediaDevice: c } = tp(
8525
8525
  o,
8526
8526
  e === "audioinput" ? "audioinput" : "videoinput"
8527
8527
  );
@@ -8530,7 +8530,7 @@ function fa({
8530
8530
  /* @__PURE__ */ u(da, { children: a.map((d) => /* @__PURE__ */ u(ua, { value: d.deviceId, className: "font-mono text-xs", children: d.label }, d.deviceId)) })
8531
8531
  ] });
8532
8532
  }
8533
- function s0(e, t, n = !1) {
8533
+ function sp(e, t, n = !1) {
8534
8534
  if (n)
8535
8535
  return Ti;
8536
8536
  switch (e) {
@@ -8545,7 +8545,7 @@ function s0(e, t, n = !1) {
8545
8545
  }
8546
8546
  }
8547
8547
  function qr({ source: e, pressed: t, pending: n, className: r, ...o }) {
8548
- const i = s0(e, t ?? !1, n), s = e === ae.Source.Microphone && !(t ?? !1) && !n, a = e === ae.Source.Camera && !(t ?? !1) && !n;
8548
+ const i = sp(e, t ?? !1, n), s = e === ae.Source.Microphone && !(t ?? !1) && !n, a = e === ae.Source.Camera && !(t ?? !1) && !n;
8549
8549
  return g.useEffect(() => {
8550
8550
  console.log(`TrackToggle for ${e} changed: pressed=${t}, pending=${n}, actualState=${t ? "enabled" : "disabled"}`);
8551
8551
  }, [e, t, n]), /* @__PURE__ */ S(od, { pressed: t, "aria-label": `Toggle ${e}`, className: K(r), ...o, children: [
@@ -8562,15 +8562,15 @@ function qr({ source: e, pressed: t, pending: n, className: r, ...o }) {
8562
8562
  o.children
8563
8563
  ] });
8564
8564
  }
8565
- function a0(e) {
8566
- return e ? e0(e) : {
8565
+ function ap(e) {
8566
+ return e ? ep(e) : {
8567
8567
  camera: !0,
8568
8568
  microphone: !0,
8569
8569
  screenShare: !0,
8570
8570
  data: !0
8571
8571
  };
8572
8572
  }
8573
- function l0(e = {}) {
8573
+ function lp(e = {}) {
8574
8574
  const { controls: t, saveUserChoices: n = !0, client: r } = e, o = {
8575
8575
  leave: !0,
8576
8576
  ...t
@@ -8608,7 +8608,7 @@ function l0(e = {}) {
8608
8608
  handleVideoDeviceChange: () => {
8609
8609
  }
8610
8610
  };
8611
- const { microphoneTrack: i, localParticipant: s } = id(r), a = a0(r);
8611
+ const { microphoneTrack: i, localParticipant: s } = id(r), a = ap(r);
8612
8612
  sd(r);
8613
8613
  const l = Sn(r, "microphone", {
8614
8614
  onDeviceError: (E) => {
@@ -8652,7 +8652,7 @@ function l0(e = {}) {
8652
8652
  saveAudioInputDeviceId: p,
8653
8653
  saveVideoInputEnabled: b,
8654
8654
  saveVideoInputDeviceId: m
8655
- } = n0({
8655
+ } = np({
8656
8656
  preventSave: !n
8657
8657
  }), v = g.useCallback(() => {
8658
8658
  r && (typeof r.endSession == "function" ? (r.endSession(), console.log("✅ AgentControlBar: Session ended via client.endSession()")) : (r.disconnect(), console.log("⚠️ AgentControlBar: Using fallback client.disconnect()")));
@@ -8702,7 +8702,7 @@ function l0(e = {}) {
8702
8702
  handleVideoDeviceChange: x
8703
8703
  };
8704
8704
  }
8705
- const c0 = {
8705
+ const cp = {
8706
8706
  card: " bg-gradient-to-br from-black to-gray-900 border border-gray-900 w-full h-full flex flex-col justify-between overflow-hidden mx-auto my-auto rounded-2xl shadow-lg",
8707
8707
  cardTopGradient: "pointer-events-none absolute top-0 left-0 w-full h-10 z-10 bg-gradient-to-b from-black/90 to-transparent",
8708
8708
  cardRadial: "absolute inset-0 bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] from-gray-800/20 via-transparent to-transparent",
@@ -8763,7 +8763,7 @@ const c0 = {
8763
8763
  nameOverlay: "bg-black/70 text-white",
8764
8764
  mutedIndicator: "bg-red-600/80 text-white"
8765
8765
  }
8766
- }, d0 = {
8766
+ }, dp = {
8767
8767
  card: " bg-gradient-to-br from-white to-gray-50 border border-gray-200 w-full h-full flex flex-col justify-between overflow-hidden mx-auto my-auto shadow-lg",
8768
8768
  cardTopGradient: "pointer-events-none absolute top-0 left-0 w-full h-10 z-10 bg-gradient-to-b from-white/90 to-transparent",
8769
8769
  cardRadial: "absolute inset-0 bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] from-blue-500/5 via-transparent to-transparent",
@@ -8824,7 +8824,7 @@ const c0 = {
8824
8824
  nameOverlay: "bg-black/70 text-white",
8825
8825
  mutedIndicator: "bg-red-600/80 text-white"
8826
8826
  }
8827
- }, u0 = {
8827
+ }, up = {
8828
8828
  card: " text-white bg-gradient-to-br from-[#171727] to-[#12121F] border border-gray-800 w-full h-full flex flex-col justify-between overflow-hidden mx-auto my-auto",
8829
8829
  cardTopGradient: "pointer-events-none absolute top-0 left-0 w-full h-10 z-10 bg-gradient-to-b from-[#171727]/90 to-transparent",
8830
8830
  cardRadial: "absolute inset-0 bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] from-[#3B82F6]/15 via-transparent to-transparent",
@@ -8886,14 +8886,14 @@ const c0 = {
8886
8886
  mutedIndicator: "bg-red-600/80 text-white"
8887
8887
  }
8888
8888
  }, ma = {
8889
- dark: c0,
8890
- light: d0,
8891
- vox: u0
8889
+ dark: cp,
8890
+ light: dp,
8891
+ vox: up
8892
8892
  };
8893
8893
  function Fe(e) {
8894
8894
  return ma[e] || ma.vox;
8895
8895
  }
8896
- function h0({
8896
+ function hp({
8897
8897
  controls: e,
8898
8898
  saveUserChoices: t = !0,
8899
8899
  capabilities: n,
@@ -8915,7 +8915,7 @@ function h0({
8915
8915
  handleAudioDeviceChange: k,
8916
8916
  handleVideoDeviceChange: E,
8917
8917
  handleDisconnect: P
8918
- } = l0({
8918
+ } = lp({
8919
8919
  controls: e,
8920
8920
  saveUserChoices: t,
8921
8921
  client: c
@@ -8960,7 +8960,7 @@ function h0({
8960
8960
  ),
8961
8961
  children: [
8962
8962
  /* @__PURE__ */ u("div", { className: "flex h-9 px-4 w-full", children: /* @__PURE__ */ u(
8963
- Jp,
8963
+ J0,
8964
8964
  {
8965
8965
  onSend: M,
8966
8966
  disabled: p,
@@ -9081,11 +9081,11 @@ function h0({
9081
9081
  }
9082
9082
  );
9083
9083
  }
9084
- const f0 = (e, t) => {
9084
+ const fp = (e, t) => {
9085
9085
  var a, l;
9086
9086
  const n = g.useMemo(() => t ? t(e.message) : e.message, [e.message, t]), r = !!e.editTimestamp, o = new Date(e.timestamp), i = typeof navigator < "u" ? navigator.language : "en-US", s = (a = e.from) != null && a.name && e.from.name !== "" ? e.from.name : (l = e.from) == null ? void 0 : l.identity;
9087
9087
  return { message: n, hasBeenEdited: r, time: o, locale: i, name: s };
9088
- }, m0 = ({
9088
+ }, mp = ({
9089
9089
  entry: e,
9090
9090
  messageFormatter: t,
9091
9091
  className: n,
@@ -9093,7 +9093,7 @@ const f0 = (e, t) => {
9093
9093
  ...o
9094
9094
  }) => {
9095
9095
  var d, h;
9096
- const { message: i, time: s, locale: a } = f0(e, t), l = ((d = e.from) == null ? void 0 : d.isLocal) ?? !1;
9096
+ const { message: i, time: s, locale: a } = fp(e, t), l = ((d = e.from) == null ? void 0 : d.isLocal) ?? !1;
9097
9097
  K(
9098
9098
  "w-full px-3 py-2 rounded-2xl text-xs break-words whitespace-pre-line",
9099
9099
  l ? " text-end border border-[#5078F2]/30" : "bg-muted text-foreground border border-[#813aa7]/30",
@@ -9133,7 +9133,7 @@ const f0 = (e, t) => {
9133
9133
  }
9134
9134
  );
9135
9135
  };
9136
- function g0(e) {
9136
+ function gp(e) {
9137
9137
  Te(() => {
9138
9138
  function t() {
9139
9139
  const n = e.current;
@@ -9145,10 +9145,10 @@ function g0(e) {
9145
9145
  }
9146
9146
  }, [e]);
9147
9147
  }
9148
- const p0 = ({ className: e, children: t, ...n }) => {
9148
+ const pp = ({ className: e, children: t, ...n }) => {
9149
9149
  const r = Be(null);
9150
- return g0(r), /* @__PURE__ */ u("div", { ref: r, className: K("flex flex-col justify-end", e), ...n, children: t });
9151
- }, y0 = ({
9150
+ return gp(r), /* @__PURE__ */ u("div", { ref: r, className: K("flex flex-col justify-end", e), ...n, children: t });
9151
+ }, yp = ({
9152
9152
  state: e,
9153
9153
  audioTrack: t,
9154
9154
  className: n,
@@ -9187,7 +9187,7 @@ const p0 = ({ className: e, children: t, ...n }) => {
9187
9187
  },
9188
9188
  i
9189
9189
  )) }) }) })
9190
- ) }), b0 = ({
9190
+ ) }), bp = ({
9191
9191
  videoTrack: e,
9192
9192
  className: t,
9193
9193
  ref: n
@@ -9202,14 +9202,14 @@ const p0 = ({ className: e, children: t, ...n }) => {
9202
9202
  className: "rounded-md"
9203
9203
  }
9204
9204
  ) });
9205
- }, v0 = ie.create(zo), x0 = ({
9205
+ }, vp = ie.create(zo), xp = ({
9206
9206
  trackRef: e,
9207
9207
  className: t,
9208
9208
  ref: n
9209
9209
  }) => {
9210
9210
  var r, o;
9211
9211
  return /* @__PURE__ */ u("div", { className: K("bg-muted overflow-hidden rounded-md", t), children: /* @__PURE__ */ u(
9212
- v0,
9212
+ vp,
9213
9213
  {
9214
9214
  ref: n,
9215
9215
  trackRef: e,
@@ -9218,7 +9218,7 @@ const p0 = ({ className: e, children: t, ...n }) => {
9218
9218
  className: K("h-full w-auto")
9219
9219
  }
9220
9220
  ) });
9221
- }, ga = ie.create(x0), w0 = ie.create(y0), k0 = ie.create(b0), st = {
9221
+ }, ga = ie.create(xp), wp = ie.create(yp), kp = ie.create(bp), st = {
9222
9222
  initial: {
9223
9223
  opacity: 0,
9224
9224
  scale: 0
@@ -9275,14 +9275,14 @@ const p0 = ({ className: e, children: t, ...n }) => {
9275
9275
  // align: x-end y-end
9276
9276
  secondTileChatClosed: ["col-start-2 row-start-3", "place-content-end"]
9277
9277
  };
9278
- function S0(e, t) {
9278
+ function Sp(e, t) {
9279
9279
  const { localParticipant: n } = id(t), r = n == null ? void 0 : n.getTrackPublication(e);
9280
9280
  return ze(
9281
9281
  () => r && n ? { source: e, participant: n, publication: r } : void 0,
9282
9282
  [e, r, n]
9283
9283
  );
9284
9284
  }
9285
- function C0({ chatOpen: e, client: t }) {
9285
+ function Cp({ chatOpen: e, client: t }) {
9286
9286
  const {
9287
9287
  agent: { isActive: n = !1 } = {},
9288
9288
  session: r,
@@ -9295,7 +9295,7 @@ function C0({ chatOpen: e, client: t }) {
9295
9295
  state: "idle",
9296
9296
  audioTrack: null,
9297
9297
  videoTrack: null
9298
- }, [a] = Xd([ae.Source.ScreenShare]), l = S0(ae.Source.Camera, t), c = l && !l.publication.isMuted, d = a && !a.publication.isMuted, h = c || d, f = n || r && r.state === "active", p = {
9298
+ }, [a] = Xd([ae.Source.ScreenShare]), l = Sp(ae.Source.Camera, t), c = l && !l.publication.isMuted, d = a && !a.publication.isMuted, h = c || d, f = n || r && r.state === "active", p = {
9299
9299
  ...st.transition,
9300
9300
  delay: e ? 0 : 0.15
9301
9301
  // delay on close
@@ -9320,7 +9320,7 @@ function C0({ chatOpen: e, client: t }) {
9320
9320
  children: /* @__PURE__ */ S("div", { className: "h-full flex items-center justify-center", children: [
9321
9321
  !x && // audio-only agent or default avatar when no video
9322
9322
  /* @__PURE__ */ u(
9323
- w0,
9323
+ wp,
9324
9324
  {
9325
9325
  layoutId: "agent",
9326
9326
  ...st,
@@ -9334,7 +9334,7 @@ function C0({ chatOpen: e, client: t }) {
9334
9334
  ),
9335
9335
  x && s && // avatar agent - only render if we have a valid video track
9336
9336
  /* @__PURE__ */ u(
9337
- k0,
9337
+ kp,
9338
9338
  {
9339
9339
  layoutId: "avatar",
9340
9340
  ...st,
@@ -9478,19 +9478,19 @@ function Vn({ interaction: e, theme: t, onDismiss: n, client: r, addLocalMessage
9478
9478
  ) });
9479
9479
  }
9480
9480
  }
9481
- function T0() {
9481
+ function Tp() {
9482
9482
  const e = Jd(), t = Qd(), n = rl();
9483
9483
  return { messages: ze(() => [
9484
- ...e.map((i) => Yp(i, n)),
9484
+ ...e.map((i) => Y0(i, n)),
9485
9485
  ...t.chatMessages
9486
9486
  ].sort((i, s) => i.timestamp - s.timestamp), [e, t.chatMessages, n]), send: t.send };
9487
9487
  }
9488
- const A0 = ({ logLevel: e } = {}) => {
9488
+ const Ap = ({ logLevel: e } = {}) => {
9489
9489
  const t = rl();
9490
9490
  g.useEffect(() => (qd(e ?? "debug"), window.__lk_room = t, () => {
9491
9491
  window.__lk_room = void 0;
9492
9492
  }), [t, e]);
9493
- }, ya = (e) => e, E0 = () => {
9493
+ }, ya = (e) => e, Ep = () => {
9494
9494
  let e = ya;
9495
9495
  return {
9496
9496
  configure(t) {
@@ -9503,7 +9503,7 @@ const A0 = ({ logLevel: e } = {}) => {
9503
9503
  e = ya;
9504
9504
  }
9505
9505
  };
9506
- }, M0 = E0();
9506
+ }, Mp = Ep();
9507
9507
  function wt(e, ...t) {
9508
9508
  const n = new URL(`https://mui.com/production-error/?code=${e}`);
9509
9509
  return t.forEach((r) => n.searchParams.append("args[]", r)), `Minified MUI error #${e}; visit ${n} for the full message.`;
@@ -9513,7 +9513,7 @@ function Dt(e) {
9513
9513
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : wt(7));
9514
9514
  return e.charAt(0).toUpperCase() + e.slice(1);
9515
9515
  }
9516
- function P0(e) {
9516
+ function Pp(e) {
9517
9517
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9518
9518
  }
9519
9519
  var Gn = { exports: {} }, Kn = { exports: {} }, ue = {};
@@ -9526,7 +9526,7 @@ var Gn = { exports: {} }, Kn = { exports: {} }, ue = {};
9526
9526
  * LICENSE file in the root directory of this source tree.
9527
9527
  */
9528
9528
  var ba;
9529
- function N0() {
9529
+ function Np() {
9530
9530
  if (ba) return ue;
9531
9531
  ba = 1;
9532
9532
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
@@ -9601,7 +9601,7 @@ var he = {};
9601
9601
  * LICENSE file in the root directory of this source tree.
9602
9602
  */
9603
9603
  var va;
9604
- function V0() {
9604
+ function Vp() {
9605
9605
  return va || (va = 1, process.env.NODE_ENV !== "production" && function() {
9606
9606
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
9607
9607
  function T(_) {
@@ -9685,7 +9685,7 @@ function V0() {
9685
9685
  }
9686
9686
  var xa;
9687
9687
  function ld() {
9688
- return xa || (xa = 1, process.env.NODE_ENV === "production" ? Kn.exports = N0() : Kn.exports = V0()), Kn.exports;
9688
+ return xa || (xa = 1, process.env.NODE_ENV === "production" ? Kn.exports = Np() : Kn.exports = Vp()), Kn.exports;
9689
9689
  }
9690
9690
  /*
9691
9691
  object-assign
@@ -9693,7 +9693,7 @@ object-assign
9693
9693
  @license MIT
9694
9694
  */
9695
9695
  var Xr, wa;
9696
- function R0() {
9696
+ function Rp() {
9697
9697
  if (wa) return Xr;
9698
9698
  wa = 1;
9699
9699
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
@@ -9750,7 +9750,7 @@ function cd() {
9750
9750
  return Sa || (Sa = 1, Qr = Function.call.bind(Object.prototype.hasOwnProperty)), Qr;
9751
9751
  }
9752
9752
  var eo, Ca;
9753
- function I0() {
9753
+ function Ip() {
9754
9754
  if (Ca) return eo;
9755
9755
  Ca = 1;
9756
9756
  var e = function() {
@@ -9799,10 +9799,10 @@ function I0() {
9799
9799
  }, eo = o, eo;
9800
9800
  }
9801
9801
  var to, Ta;
9802
- function D0() {
9802
+ function Dp() {
9803
9803
  if (Ta) return to;
9804
9804
  Ta = 1;
9805
- var e = ld(), t = R0(), n = /* @__PURE__ */ Ei(), r = /* @__PURE__ */ cd(), o = /* @__PURE__ */ I0(), i = function() {
9805
+ var e = ld(), t = Rp(), n = /* @__PURE__ */ Ei(), r = /* @__PURE__ */ cd(), o = /* @__PURE__ */ Ip(), i = function() {
9806
9806
  };
9807
9807
  process.env.NODE_ENV !== "production" && (i = function(a) {
9808
9808
  var l = "Warning: " + a;
@@ -10120,7 +10120,7 @@ Valid keys: ` + JSON.stringify(Object.keys(N), null, " ")
10120
10120
  }, to;
10121
10121
  }
10122
10122
  var no, Aa;
10123
- function $0() {
10123
+ function $p() {
10124
10124
  if (Aa) return no;
10125
10125
  Aa = 1;
10126
10126
  var e = /* @__PURE__ */ Ei();
@@ -10168,18 +10168,18 @@ function $0() {
10168
10168
  }, no;
10169
10169
  }
10170
10170
  var Ea;
10171
- function F0() {
10171
+ function Fp() {
10172
10172
  if (Ea) return Gn.exports;
10173
10173
  if (Ea = 1, process.env.NODE_ENV !== "production") {
10174
10174
  var e = ld(), t = !0;
10175
- Gn.exports = /* @__PURE__ */ D0()(e.isElement, t);
10175
+ Gn.exports = /* @__PURE__ */ Dp()(e.isElement, t);
10176
10176
  } else
10177
- Gn.exports = /* @__PURE__ */ $0()();
10177
+ Gn.exports = /* @__PURE__ */ $p()();
10178
10178
  return Gn.exports;
10179
10179
  }
10180
- var O0 = /* @__PURE__ */ F0();
10181
- const ce = /* @__PURE__ */ P0(O0);
10182
- function L0(e, t, n = void 0) {
10180
+ var Op = /* @__PURE__ */ Fp();
10181
+ const ce = /* @__PURE__ */ Pp(Op);
10182
+ function Lp(e, t, n = void 0) {
10183
10183
  const r = {};
10184
10184
  for (const o in e) {
10185
10185
  const i = e[o];
@@ -10203,7 +10203,7 @@ var Yn = { exports: {} }, fe = {};
10203
10203
  * LICENSE file in the root directory of this source tree.
10204
10204
  */
10205
10205
  var Ma;
10206
- function _0() {
10206
+ function _p() {
10207
10207
  if (Ma) return fe;
10208
10208
  Ma = 1;
10209
10209
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), s = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), f = Symbol.for("react.view_transition"), p = Symbol.for("react.client.reference");
@@ -10277,7 +10277,7 @@ var me = {};
10277
10277
  * LICENSE file in the root directory of this source tree.
10278
10278
  */
10279
10279
  var Pa;
10280
- function B0() {
10280
+ function Bp() {
10281
10281
  return Pa || (Pa = 1, process.env.NODE_ENV !== "production" && function() {
10282
10282
  function e(m) {
10283
10283
  if (typeof m == "object" && m !== null) {
@@ -10341,10 +10341,10 @@ function B0() {
10341
10341
  }()), me;
10342
10342
  }
10343
10343
  var Na;
10344
- function j0() {
10345
- return Na || (Na = 1, process.env.NODE_ENV === "production" ? Yn.exports = /* @__PURE__ */ _0() : Yn.exports = /* @__PURE__ */ B0()), Yn.exports;
10344
+ function jp() {
10345
+ return Na || (Na = 1, process.env.NODE_ENV === "production" ? Yn.exports = /* @__PURE__ */ _p() : Yn.exports = /* @__PURE__ */ Bp()), Yn.exports;
10346
10346
  }
10347
- var cr = /* @__PURE__ */ j0();
10347
+ var cr = /* @__PURE__ */ jp();
10348
10348
  function lt(e) {
10349
10349
  if (typeof e != "object" || e === null)
10350
10350
  return !1;
@@ -10392,10 +10392,10 @@ function Va(e, t) {
10392
10392
  ...t
10393
10393
  }) : t;
10394
10394
  }
10395
- function z0(e, t) {
10395
+ function zp(e, t) {
10396
10396
  return t === "@" || t.startsWith("@") && (e.some((n) => t.startsWith(`@${n}`)) || !!t.match(/^@\d/));
10397
10397
  }
10398
- function H0(e, t) {
10398
+ function Hp(e, t) {
10399
10399
  const n = t.match(/^@([^/]+)?\/?(.+)?$/);
10400
10400
  if (!n) {
10401
10401
  if (process.env.NODE_ENV !== "production")
@@ -10406,7 +10406,7 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : wt(18, `(${t})`));
10406
10406
  const [, r, o] = n, i = Number.isNaN(+r) ? r || 0 : +r;
10407
10407
  return e.containerQueries(o).up(i);
10408
10408
  }
10409
- function U0(e) {
10409
+ function Up(e) {
10410
10410
  const t = (i, s) => i.replace("@media", s ? `@container ${s}` : "@container");
10411
10411
  function n(i, s) {
10412
10412
  i.up = (...a) => t(e.breakpoints.up(...a), s), i.down = (...a) => t(e.breakpoints.down(...a), s), i.between = (...a) => t(e.breakpoints.between(...a), s), i.only = (...a) => t(e.breakpoints.only(...a), s), i.not = (...a) => {
@@ -10436,7 +10436,7 @@ const yr = {
10436
10436
  // It can't be configured as it's used statically for propTypes.
10437
10437
  keys: ["xs", "sm", "md", "lg", "xl"],
10438
10438
  up: (e) => `@media (min-width:${yr[e]}px)`
10439
- }, Z0 = {
10439
+ }, Zp = {
10440
10440
  containerQueries: (e) => ({
10441
10441
  up: (t) => {
10442
10442
  let n = typeof t == "number" ? t : yr[t] || t;
@@ -10453,8 +10453,8 @@ function ht(e, t, n) {
10453
10453
  if (typeof t == "object") {
10454
10454
  const i = r.breakpoints || Ra;
10455
10455
  return Object.keys(t).reduce((s, a) => {
10456
- if (z0(i.keys, a)) {
10457
- const l = H0(r.containerQueries ? r : Z0, a);
10456
+ if (zp(i.keys, a)) {
10457
+ const l = Hp(r.containerQueries ? r : Zp, a);
10458
10458
  l && (s[l] = n(t[a], a));
10459
10459
  } else if (Object.keys(i.values || yr).includes(a)) {
10460
10460
  const l = i.up(a);
@@ -10468,7 +10468,7 @@ function ht(e, t, n) {
10468
10468
  }
10469
10469
  return n(t);
10470
10470
  }
10471
- function W0(e = {}) {
10471
+ function Wp(e = {}) {
10472
10472
  var n;
10473
10473
  return ((n = e.keys) == null ? void 0 : n.reduce((r, o) => {
10474
10474
  const i = e.up(o);
@@ -10516,14 +10516,14 @@ function Ve(e) {
10516
10516
  [t]: Ct
10517
10517
  } : {}, i.filterProps = [t], i;
10518
10518
  }
10519
- function G0(e) {
10519
+ function Gp(e) {
10520
10520
  const t = {};
10521
10521
  return (n) => (t[n] === void 0 && (t[n] = e(n)), t[n]);
10522
10522
  }
10523
- const K0 = {
10523
+ const Kp = {
10524
10524
  m: "margin",
10525
10525
  p: "padding"
10526
- }, Y0 = {
10526
+ }, Yp = {
10527
10527
  t: "Top",
10528
10528
  r: "Right",
10529
10529
  b: "Bottom",
@@ -10535,15 +10535,15 @@ const K0 = {
10535
10535
  marginY: "my",
10536
10536
  paddingX: "px",
10537
10537
  paddingY: "py"
10538
- }, q0 = G0((e) => {
10538
+ }, qp = Gp((e) => {
10539
10539
  if (e.length > 2)
10540
10540
  if (Da[e])
10541
10541
  e = Da[e];
10542
10542
  else
10543
10543
  return [e];
10544
- const [t, n] = e.split(""), r = K0[t], o = Y0[n] || "";
10544
+ const [t, n] = e.split(""), r = Kp[t], o = Yp[n] || "";
10545
10545
  return Array.isArray(o) ? o.map((i) => r + i) : [r + o];
10546
- }), vr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], xr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], X0 = [...vr, ...xr];
10546
+ }), vr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], xr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Xp = [...vr, ...xr];
10547
10547
  function On(e, t, n, r) {
10548
10548
  const o = br(e, t, !0) ?? n;
10549
10549
  return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${r} argument to be a number or a string, got ${i}.`), typeof o == "string" ? o.startsWith("var(") && i === 0 ? 0 : o.startsWith("var(") && i === 1 ? o : `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
@@ -10565,18 +10565,18 @@ function Mi(e) {
10565
10565
  function Ln(e, t) {
10566
10566
  return typeof t == "string" || t == null ? t : e(t);
10567
10567
  }
10568
- function J0(e, t) {
10568
+ function Jp(e, t) {
10569
10569
  return (n) => e.reduce((r, o) => (r[o] = Ln(t, n), r), {});
10570
10570
  }
10571
- function Q0(e, t, n, r) {
10571
+ function Qp(e, t, n, r) {
10572
10572
  if (!t.includes(n))
10573
10573
  return null;
10574
- const o = q0(n), i = J0(o, r), s = e[n];
10574
+ const o = qp(n), i = Jp(o, r), s = e[n];
10575
10575
  return ht(e, s, i);
10576
10576
  }
10577
10577
  function ud(e, t) {
10578
10578
  const n = Mi(e.theme);
10579
- return Object.keys(e).map((r) => Q0(e, t, r, n)).reduce(Cn, {});
10579
+ return Object.keys(e).map((r) => Qp(e, t, r, n)).reduce(Cn, {});
10580
10580
  }
10581
10581
  function Me(e) {
10582
10582
  return ud(e, vr);
@@ -10588,7 +10588,7 @@ function Pe(e) {
10588
10588
  }
10589
10589
  Pe.propTypes = process.env.NODE_ENV !== "production" ? xr.reduce((e, t) => (e[t] = Ct, e), {}) : {};
10590
10590
  Pe.filterProps = xr;
10591
- process.env.NODE_ENV !== "production" && X0.reduce((e, t) => (e[t] = Ct, e), {});
10591
+ process.env.NODE_ENV !== "production" && Xp.reduce((e, t) => (e[t] = Ct, e), {});
10592
10592
  function wr(...e) {
10593
10593
  const t = e.reduce((r, o) => (o.filterProps.forEach((i) => {
10594
10594
  r[i] = o;
@@ -11089,7 +11089,7 @@ function R1() {
11089
11089
  return l;
11090
11090
  if (!c)
11091
11091
  return null;
11092
- const d = W0(o.breakpoints), h = Object.keys(d);
11092
+ const d = Wp(o.breakpoints), h = Object.keys(d);
11093
11093
  let f = d;
11094
11094
  return Object.keys(c).forEach((p) => {
11095
11095
  const b = V1(c[p], o);
@@ -11441,7 +11441,7 @@ function md(e = {}, ...t) {
11441
11441
  ...i
11442
11442
  }
11443
11443
  }, s);
11444
- return c = U0(c), c.applyStyles = Z1, c = t.reduce((d, h) => Ue(d, h), c), c.unstable_sxConfig = {
11444
+ return c = Up(c), c.applyStyles = Z1, c = t.reduce((d, h) => Ue(d, h), c), c.unstable_sxConfig = {
11445
11445
  ...Ar,
11446
11446
  ...s == null ? void 0 : s.unstable_sxConfig
11447
11447
  }, c.unstable_sx = function(h) {
@@ -11467,7 +11467,7 @@ const W1 = {
11467
11467
  };
11468
11468
  function Ni(e, t, n = "Mui") {
11469
11469
  const r = W1[t];
11470
- return r ? `${n}-${r}` : `${M0.generate(e)}-${t}`;
11470
+ return r ? `${n}-${r}` : `${Mp.generate(e)}-${t}`;
11471
11471
  }
11472
11472
  function G1(e, t, n = "Mui") {
11473
11473
  const r = {};
@@ -12891,7 +12891,7 @@ const ob = (e) => {
12891
12891
  } = e, o = {
12892
12892
  root: ["root", t !== "inherit" && `color${Dt(t)}`, `fontSize${Dt(n)}`]
12893
12893
  };
12894
- return L0(o, rb, r);
12894
+ return Lp(o, rb, r);
12895
12895
  }, ib = eb("svg", {
12896
12896
  name: "MuiSvgIcon",
12897
12897
  slot: "Root",
@@ -13154,7 +13154,7 @@ const sb = cn(/* @__PURE__ */ u("path", {
13154
13154
  var L;
13155
13155
  const A = (L = a == null ? void 0 : a.getCurrentInteraction) == null ? void 0 : L.call(a);
13156
13156
  return console.log("SessionView: Initializing with existing interaction:", (A == null ? void 0 : A.methodName) || "none"), A || null;
13157
- }), { messages: x, send: T } = T0(), w = Be(null), k = Be(null), { agent: { isActive: E = !1 } = {} } = a ? ad(a) : { agent: { isActive: !1 } }, P = Fe(s), M = de.useMemo(() => a && typeof a.getCurrentSession == "function" ? !!a.getCurrentSession() : !1, [a]), z = de.useMemo(() => a && typeof a.getIsAgentConnected == "function" && a.getIsAgentConnected() || b, [a, b]), y = E || z;
13157
+ }), { messages: x, send: T } = Tp(), w = Be(null), k = Be(null), { agent: { isActive: E = !1 } = {} } = a ? ad(a) : { agent: { isActive: !1 } }, P = Fe(s), M = de.useMemo(() => a && typeof a.getCurrentSession == "function" ? !!a.getCurrentSession() : !1, [a]), z = de.useMemo(() => a && typeof a.getIsAgentConnected == "function" && a.getIsAgentConnected() || b, [a, b]), y = E || z;
13158
13158
  de.useEffect(() => {
13159
13159
  var A, L;
13160
13160
  console.log("🤖 SessionView agent state:", {
@@ -13246,7 +13246,7 @@ const sb = cn(/* @__PURE__ */ u("path", {
13246
13246
  console.log("💬 SessionView: Chat open state changed:", d);
13247
13247
  }, [d]), de.useEffect(() => {
13248
13248
  v && d && (console.log("🎭 SessionView: Interactive UI appeared, closing chat"), h(!1));
13249
- }, [v, d]), A0(), Te(() => {
13249
+ }, [v, d]), Ap(), Te(() => {
13250
13250
  w.current && d && x.length > 0 && (console.log("📜 SessionView: Auto-scrolling to latest message, count:", x.length), setTimeout(() => {
13251
13251
  if (w.current) {
13252
13252
  let A = w.current.parentElement;
@@ -13432,7 +13432,7 @@ const sb = cn(/* @__PURE__ */ u("path", {
13432
13432
  /* @__PURE__ */ u("div", { className: K(
13433
13433
  "flex-1 flex flex-col min-h-0",
13434
13434
  l === "fullscreen" ? "px-8" : "px-5"
13435
- ), children: /* @__PURE__ */ u(p0, { className: "flex-1 flex flex-col min-h-0 h-full", children: /* @__PURE__ */ S(
13435
+ ), children: /* @__PURE__ */ u(pp, { className: "flex-1 flex flex-col min-h-0 h-full", children: /* @__PURE__ */ S(
13436
13436
  "div",
13437
13437
  {
13438
13438
  className: `flex-1 flex flex-col h-full ${K(
@@ -13475,7 +13475,7 @@ const sb = cn(/* @__PURE__ */ u("path", {
13475
13475
  // Stagger animation for smooth appearance
13476
13476
  },
13477
13477
  layout: !0,
13478
- children: /* @__PURE__ */ u(m0, { participantName: o, entry: A })
13478
+ children: /* @__PURE__ */ u(mp, { participantName: o, entry: A })
13479
13479
  },
13480
13480
  A.id || `message-${L}`
13481
13481
  )) })
@@ -13500,7 +13500,7 @@ const sb = cn(/* @__PURE__ */ u("path", {
13500
13500
  y: (v == null ? void 0 : v.presentationMode) === "embedded" ? -8 : 0
13501
13501
  },
13502
13502
  transition: { duration: 0.3, ease: "easeOut" },
13503
- children: /* @__PURE__ */ u(C0, { chatOpen: d, client: a })
13503
+ children: /* @__PURE__ */ u(Cp, { chatOpen: d, client: a })
13504
13504
  }
13505
13505
  ),
13506
13506
  /* @__PURE__ */ u(Yt, { mode: "wait", children: v && v.presentationMode === "embedded" && /* @__PURE__ */ u(
@@ -13696,7 +13696,7 @@ function db({
13696
13696
  )
13697
13697
  ] }),
13698
13698
  /* @__PURE__ */ u("div", { className: "flex-1 flex justify-center px-4", children: /* @__PURE__ */ u(
13699
- h0,
13699
+ hp,
13700
13700
  {
13701
13701
  capabilities: e,
13702
13702
  onChatOpenChange: o,
@@ -14713,7 +14713,7 @@ function kb({
14713
14713
  displayType: o,
14714
14714
  onEndCall: i
14715
14715
  }) {
14716
- const s = Fe(t), a = sd(e), { videoTrackRefs: l } = r0(e), c = g.useMemo(() => e.getRemoteParticipants(), [e, a]), d = Sn(e, "camera"), h = Sn(e, "screenShare"), [f, p] = g.useState(null), b = g.useCallback(async () => {
14716
+ const s = Fe(t), a = sd(e), { videoTrackRefs: l } = rp(e), c = g.useMemo(() => e.getRemoteParticipants(), [e, a]), d = Sn(e, "camera"), h = Sn(e, "screenShare"), [f, p] = g.useState(null), b = g.useCallback(async () => {
14717
14717
  d.pending || await d.toggle();
14718
14718
  }, [d]), m = g.useCallback(async () => {
14719
14719
  h.pending || await h.toggle();
@@ -15607,24 +15607,37 @@ const Nb = `
15607
15607
  .voxket-widget-root .sticky { position: sticky; }
15608
15608
 
15609
15609
  /* Top, Right, Bottom, Left */
15610
+ .voxket-widget-root .inset-0 { inset: 0px; }
15610
15611
  .voxket-widget-root .top-0 { top: 0px; }
15611
15612
  .voxket-widget-root .right-0 { right: 0px; }
15612
15613
  .voxket-widget-root .bottom-0 { bottom: 0px; }
15613
15614
  .voxket-widget-root .left-0 { left: 0px; }
15615
+ .voxket-widget-root .top-2 { top: 0.5rem; }
15616
+ .voxket-widget-root .right-2 { right: 0.5rem; }
15617
+ .voxket-widget-root .bottom-2 { bottom: 0.5rem; }
15618
+ .voxket-widget-root .left-2 { left: 0.5rem; }
15614
15619
  .voxket-widget-root .top-4 { top: 1rem; }
15615
15620
  .voxket-widget-root .right-4 { right: 1rem; }
15616
15621
  .voxket-widget-root .bottom-4 { bottom: 1rem; }
15617
15622
  .voxket-widget-root .left-4 { left: 1rem; }
15623
+ .voxket-widget-root .-top-2 { top: -0.5rem; }
15624
+ .voxket-widget-root .-right-2 { right: -0.5rem; }
15625
+ .voxket-widget-root .-bottom-2 { bottom: -0.5rem; }
15626
+ .voxket-widget-root .-left-2 { left: -0.5rem; }
15618
15627
 
15619
15628
  /* Z-Index */
15629
+ .voxket-widget-root .z-0 { z-index: 0; }
15620
15630
  .voxket-widget-root .z-10 { z-index: 10; }
15621
15631
  .voxket-widget-root .z-20 { z-index: 20; }
15622
15632
  .voxket-widget-root .z-30 { z-index: 30; }
15623
15633
  .voxket-widget-root .z-40 { z-index: 40; }
15624
15634
  .voxket-widget-root .z-50 { z-index: 50; }
15635
+ .voxket-widget-root .z-\\[9999\\] { z-index: 9999; }
15636
+ .voxket-widget-root .z-\\[10000\\] { z-index: 10000; }
15625
15637
 
15626
15638
  /* Width */
15627
15639
  .voxket-widget-root .w-auto { width: auto; }
15640
+ .voxket-widget-root .w-fit { width: fit-content; }
15628
15641
  .voxket-widget-root .w-1 { width: 0.25rem; }
15629
15642
  .voxket-widget-root .w-2 { width: 0.5rem; }
15630
15643
  .voxket-widget-root .w-3 { width: 0.75rem; }
@@ -15640,6 +15653,8 @@ const Nb = `
15640
15653
  .voxket-widget-root .w-32 { width: 8rem; }
15641
15654
  .voxket-widget-root .w-48 { width: 12rem; }
15642
15655
  .voxket-widget-root .w-64 { width: 16rem; }
15656
+ .voxket-widget-root .w-80 { width: 20rem; }
15657
+ .voxket-widget-root .w-96 { width: 24rem; }
15643
15658
  .voxket-widget-root .w-1/2 { width: 50%; }
15644
15659
  .voxket-widget-root .w-1/3 { width: 33.333333%; }
15645
15660
  .voxket-widget-root .w-2/3 { width: 66.666667%; }
@@ -15650,6 +15665,7 @@ const Nb = `
15650
15665
 
15651
15666
  /* Height */
15652
15667
  .voxket-widget-root .h-auto { height: auto; }
15668
+ .voxket-widget-root .h-fit { height: fit-content; }
15653
15669
  .voxket-widget-root .h-1 { height: 0.25rem; }
15654
15670
  .voxket-widget-root .h-2 { height: 0.5rem; }
15655
15671
  .voxket-widget-root .h-3 { height: 0.75rem; }
@@ -15687,10 +15703,21 @@ const Nb = `
15687
15703
  .voxket-widget-root .max-w-full { max-width: 100%; }
15688
15704
  .voxket-widget-root .max-w-none { max-width: none; }
15689
15705
 
15706
+ /* Max Height */
15707
+ .voxket-widget-root .max-h-0 { max-height: 0px; }
15708
+ .voxket-widget-root .max-h-full { max-height: 100%; }
15709
+ .voxket-widget-root .max-h-screen { max-height: 100vh; }
15710
+ .voxket-widget-root .max-h-\\[80vh\\] { max-height: 80vh; }
15711
+ .voxket-widget-root .max-h-\\[90vh\\] { max-height: 90vh; }
15712
+
15690
15713
  /* Min Height */
15691
15714
  .voxket-widget-root .min-h-0 { min-height: 0px; }
15715
+ .voxket-widget-root .min-h-fit { min-height: fit-content; }
15716
+ .voxket-widget-root .min-h-4 { min-height: 1rem; }
15692
15717
  .voxket-widget-root .min-h-full { min-height: 100%; }
15693
15718
  .voxket-widget-root .min-h-screen { min-height: 100vh; }
15719
+ .voxket-widget-root .min-h-\\[3rem\\] { min-height: 3rem; }
15720
+ .voxket-widget-root .min-h-\\[180px\\] { min-height: 180px; }
15694
15721
 
15695
15722
  /* Padding */
15696
15723
  .voxket-widget-root .p-0 { padding: 0px; }
@@ -15701,10 +15728,12 @@ const Nb = `
15701
15728
  .voxket-widget-root .p-5 { padding: 1.25rem; }
15702
15729
  .voxket-widget-root .p-6 { padding: 1.5rem; }
15703
15730
  .voxket-widget-root .p-8 { padding: 2rem; }
15731
+ .voxket-widget-root .px-0 { padding-left: 0px; padding-right: 0px; }
15704
15732
  .voxket-widget-root .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
15705
15733
  .voxket-widget-root .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
15706
15734
  .voxket-widget-root .px-4 { padding-left: 1rem; padding-right: 1rem; }
15707
15735
  .voxket-widget-root .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
15736
+ .voxket-widget-root .px-8 { padding-left: 2rem; padding-right: 2rem; }
15708
15737
  .voxket-widget-root .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
15709
15738
  .voxket-widget-root .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
15710
15739
  .voxket-widget-root .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
@@ -15739,6 +15768,12 @@ const Nb = `
15739
15768
  .voxket-widget-root .mt-4 { margin-top: 1rem; }
15740
15769
  .voxket-widget-root .mt-8 { margin-top: 2rem; }
15741
15770
 
15771
+ /* Flex utilities */
15772
+ .voxket-widget-root .flex-1 { flex: 1 1 0%; }
15773
+ .voxket-widget-root .flex-auto { flex: 1 1 auto; }
15774
+ .voxket-widget-root .flex-initial { flex: 0 1 auto; }
15775
+ .voxket-widget-root .flex-none { flex: none; }
15776
+
15742
15777
  /* Gap */
15743
15778
  .voxket-widget-root .gap-1 { gap: 0.25rem; }
15744
15779
  .voxket-widget-root .gap-2 { gap: 0.5rem; }
@@ -15906,6 +15941,24 @@ const Nb = `
15906
15941
  .voxket-widget-root .bg-green-400 { background-color: rgb(74 222 128); }
15907
15942
  .voxket-widget-root .bg-green-500 { background-color: rgb(34 197 94); }
15908
15943
 
15944
+ /* Background with Alpha/Opacity */
15945
+ .voxket-widget-root .bg-black\\/40 { background-color: rgb(0 0 0 / 0.4); }
15946
+ .voxket-widget-root .bg-white\\/10 { background-color: rgb(255 255 255 / 0.1); }
15947
+ .voxket-widget-root .bg-white\\/20 { background-color: rgb(255 255 255 / 0.2); }
15948
+ .voxket-widget-root .bg-gray-900\\/50 { background-color: rgb(17 24 39 / 0.5); }
15949
+ .voxket-widget-root .bg-gray-900\\/95 { background-color: rgb(17 24 39 / 0.95); }
15950
+
15951
+ /* Background Opacity */
15952
+ .voxket-widget-root .bg-opacity-30 { --tw-bg-opacity: 0.3; }
15953
+ .voxket-widget-root .bg-opacity-50 { --tw-bg-opacity: 0.5; }
15954
+ .voxket-widget-root .bg-opacity-90 { --tw-bg-opacity: 0.9; }
15955
+
15956
+ /* Backdrop Filter */
15957
+ .voxket-widget-root .backdrop-blur-sm { backdrop-filter: blur(4px); }
15958
+ .voxket-widget-root .backdrop-blur { backdrop-filter: blur(8px); }
15959
+ .voxket-widget-root .backdrop-blur-md { backdrop-filter: blur(12px); }
15960
+ .voxket-widget-root .backdrop-blur-lg { backdrop-filter: blur(16px); }
15961
+
15909
15962
  .voxket-widget-root .border { border-width: 1px; }
15910
15963
  .voxket-widget-root .border-gray-300 { border-color: rgb(209 213 219); }
15911
15964
  .voxket-widget-root .border-gray-600 { border-color: rgb(75 85 99); }