@voxket-ai/voxket-live 1.1.32 → 1.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8195,23 +8195,23 @@ const Ww = {
8195
8195
  }
8196
8196
  }, Kw = {
8197
8197
  card: "text-white bg-gradient-to-b from-[#0a0a0a] via-[#000000] to-[#0a0a0a] border border-gray-800/30 w-full h-full flex flex-col justify-between overflow-hidden relative shadow-[0_8px_32px_rgba(0,0,0,0.9),0_0_0_1px_rgba(255,255,255,0.08)_inset]",
8198
- cardTopGradient: "pointer-events-none absolute top-0 left-0 w-full h-32 z-10 bg-gradient-to-b from-black/80 via-black/20 to-transparent",
8199
- cardRadial: "absolute inset-0 bg-[radial-gradient(ellipse_at_top,_rgba(99,102,241,0.06),transparent_60%)] opacity-100",
8200
- cardPurpleBlur: "absolute top-0 left-1/2 -translate-x-1/2 w-[500px] h-[250px] bg-gradient-to-b from-indigo-500/[0.10] via-violet-500/[0.05] to-transparent blur-3xl",
8201
- cardPinkBlur: "absolute bottom-0 left-1/2 -translate-x-1/2 w-[400px] h-[200px] bg-gradient-to-t from-purple-600/[0.08] via-transparent to-transparent blur-3xl",
8198
+ cardTopGradient: "pointer-events-none absolute top-0 left-0 w-full h-32 z-10 bg-gradient-to-b from-black/95 via-black/30 to-transparent",
8199
+ cardRadial: "absolute inset-0 bg-[radial-gradient(ellipse_at_top,_rgba(255,255,255,0.03),transparent_60%)] opacity-100",
8200
+ cardPurpleBlur: "absolute top-0 left-1/2 -translate-x-1/2 w-[400px] h-[200px] bg-gradient-to-b from-white/[0.03] via-white/[0.015] to-transparent blur-3xl",
8201
+ cardPinkBlur: "absolute bottom-0 left-1/2 -translate-x-1/2 w-[300px] h-[150px] bg-gradient-to-t from-white/[0.02] via-transparent to-transparent blur-3xl",
8202
8202
  cardPulse1: "hidden",
8203
8203
  cardPulse2: "hidden",
8204
8204
  main: "w-full flex flex-col items-center justify-center max-w-md mx-auto bg-black p-0 overflow-hidden h-full relative",
8205
8205
  text: {
8206
8206
  primary: "text-white font-semibold",
8207
- secondary: "text-gray-100",
8207
+ secondary: "text-white/95",
8208
8208
  muted: "text-gray-400",
8209
- accent: "text-transparent bg-clip-text bg-gradient-to-r from-indigo-300 via-violet-300 to-purple-300"
8209
+ accent: "text-transparent bg-clip-text bg-gradient-to-r from-gray-200 via-white to-gray-200"
8210
8210
  },
8211
- micButton: "relative w-20 h-20 bg-gradient-to-br from-indigo-600/80 to-violet-600/80 backdrop-blur-sm border-2 border-indigo-400/20 rounded-2xl flex items-center justify-center hover:from-indigo-500 hover:to-violet-500 hover:border-indigo-300/40 hover:scale-[1.05] hover:shadow-[0_8px_32px_rgba(99,102,241,0.4)] transition-all duration-500 ease-out group overflow-hidden",
8212
- chatButton: "relative w-20 h-20 bg-gradient-to-br from-violet-600/80 to-purple-600/80 backdrop-blur-sm border-2 border-violet-400/20 rounded-2xl flex items-center justify-center hover:from-violet-500 hover:to-purple-500 hover:border-violet-300/40 hover:scale-[1.05] hover:shadow-[0_8px_32px_rgba(139,92,246,0.4)] transition-all duration-500 ease-out group overflow-hidden",
8213
- videoButton: "relative w-20 h-20 bg-gradient-to-br from-purple-600/80 to-pink-600/80 backdrop-blur-sm border-2 border-purple-400/20 rounded-2xl flex items-center justify-center hover:from-purple-500 hover:to-pink-500 hover:border-purple-300/40 hover:scale-[1.05] hover:shadow-[0_8px_32px_rgba(168,85,247,0.4)] transition-all duration-500 ease-out group overflow-hidden",
8214
- popupTrigger: "bg-gradient-to-br from-indigo-600/80 to-violet-600/80 backdrop-blur-sm border-2 border-indigo-400/20 text-white font-bold hover:from-indigo-500 hover:to-violet-500 hover:border-indigo-300/40 hover:scale-[1.02] hover:shadow-[0_8px_32px_rgba(99,102,241,0.4)] focus:outline-none focus:ring-2 focus:ring-indigo-400/50 focus:ring-offset-2 focus:ring-offset-black transition-all duration-300",
8211
+ micButton: "relative w-20 h-20 bg-white/[0.10] backdrop-blur-sm border border-white/[0.2] rounded-2xl flex items-center justify-center hover:bg-white/[0.15] hover:border-white/[0.35] hover:scale-[1.03] hover:shadow-[0_8px_24px_rgba(255,255,255,0.15)] transition-all duration-300 ease-out group overflow-hidden",
8212
+ chatButton: "relative w-20 h-20 bg-white/[0.10] backdrop-blur-sm border border-white/[0.2] rounded-2xl flex items-center justify-center hover:bg-white/[0.15] hover:border-white/[0.35] hover:scale-[1.03] hover:shadow-[0_8px_24px_rgba(255,255,255,0.15)] transition-all duration-300 ease-out group overflow-hidden",
8213
+ videoButton: "relative w-20 h-20 bg-white/[0.10] backdrop-blur-sm border border-white/[0.2] rounded-2xl flex items-center justify-center hover:bg-white/[0.15] hover:border-white/[0.35] hover:scale-[1.03] hover:shadow-[0_8px_24px_rgba(255,255,255,0.15)] transition-all duration-300 ease-out group overflow-hidden",
8214
+ popupTrigger: "bg-white/[0.10] backdrop-blur-sm border border-white/[0.2] text-white font-bold hover:bg-white/[0.15] hover:border-white/[0.35] hover:scale-[1.02] hover:shadow-[0_8px_24px_rgba(255,255,255,0.15)] focus:outline-none focus:ring-2 focus:ring-white/30 focus:ring-offset-2 focus:ring-offset-black transition-all duration-300",
8215
8215
  promptSlider: "absolute w-full py-4 px-6 bg-white/[0.06] backdrop-blur-md rounded-xl text-center text-white/90 text-sm font-medium transition-all duration-700 ease-in-out border border-white/[0.12] ",
8216
8216
  statusIndicator: "w-2 h-2 bg-emerald-400 rounded-full animate-pulse shadow-[0_0_8px_rgba(52,211,153,0.6)]",
8217
8217
  pulseRings: {
@@ -13557,7 +13557,7 @@ function Jk(e, t) {
13557
13557
  };
13558
13558
  return t.meta && (i.data = { meta: t.meta }), e.patch(t, i), i = e.applyData(t, i), i = { type: "element", tagName: "pre", properties: {}, children: [i] }, e.patch(t, i), i;
13559
13559
  }
13560
- function e_(e, t) {
13560
+ function e1(e, t) {
13561
13561
  const n = {
13562
13562
  type: "element",
13563
13563
  tagName: "del",
@@ -13566,7 +13566,7 @@ function e_(e, t) {
13566
13566
  };
13567
13567
  return e.patch(t, n), e.applyData(t, n);
13568
13568
  }
13569
- function t_(e, t) {
13569
+ function t1(e, t) {
13570
13570
  const n = {
13571
13571
  type: "element",
13572
13572
  tagName: "em",
@@ -13575,7 +13575,7 @@ function t_(e, t) {
13575
13575
  };
13576
13576
  return e.patch(t, n), e.applyData(t, n);
13577
13577
  }
13578
- function n_(e, t) {
13578
+ function n1(e, t) {
13579
13579
  const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(t.identifier).toUpperCase(), i = Gr(r.toLowerCase()), o = e.footnoteOrder.indexOf(r);
13580
13580
  let s, a = e.footnoteCounts.get(r);
13581
13581
  a === void 0 ? (a = 0, e.footnoteOrder.push(r), s = e.footnoteOrder.length) : s = o + 1, a += 1, e.footnoteCounts.set(r, a);
@@ -13599,7 +13599,7 @@ function n_(e, t) {
13599
13599
  };
13600
13600
  return e.patch(t, c), e.applyData(t, c);
13601
13601
  }
13602
- function r_(e, t) {
13602
+ function r1(e, t) {
13603
13603
  const n = {
13604
13604
  type: "element",
13605
13605
  tagName: "h" + t.depth,
@@ -13608,7 +13608,7 @@ function r_(e, t) {
13608
13608
  };
13609
13609
  return e.patch(t, n), e.applyData(t, n);
13610
13610
  }
13611
- function i_(e, t) {
13611
+ function i1(e, t) {
13612
13612
  if (e.options.allowDangerousHtml) {
13613
13613
  const n = { type: "raw", value: t.value };
13614
13614
  return e.patch(t, n), e.applyData(t, n);
@@ -13624,7 +13624,7 @@ function Xp(e, t) {
13624
13624
  const s = i[i.length - 1];
13625
13625
  return s && s.type === "text" ? s.value += r : i.push({ type: "text", value: r }), i;
13626
13626
  }
13627
- function o_(e, t) {
13627
+ function o1(e, t) {
13628
13628
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
13629
13629
  if (!r)
13630
13630
  return Xp(e, t);
@@ -13633,13 +13633,13 @@ function o_(e, t) {
13633
13633
  const o = { type: "element", tagName: "img", properties: i, children: [] };
13634
13634
  return e.patch(t, o), e.applyData(t, o);
13635
13635
  }
13636
- function s_(e, t) {
13636
+ function s1(e, t) {
13637
13637
  const n = { src: Gr(t.url) };
13638
13638
  t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title);
13639
13639
  const r = { type: "element", tagName: "img", properties: n, children: [] };
13640
13640
  return e.patch(t, r), e.applyData(t, r);
13641
13641
  }
13642
- function a_(e, t) {
13642
+ function a1(e, t) {
13643
13643
  const n = { type: "text", value: t.value.replace(/\r?\n|\r/g, " ") };
13644
13644
  e.patch(t, n);
13645
13645
  const r = {
@@ -13650,7 +13650,7 @@ function a_(e, t) {
13650
13650
  };
13651
13651
  return e.patch(t, r), e.applyData(t, r);
13652
13652
  }
13653
- function l_(e, t) {
13653
+ function l1(e, t) {
13654
13654
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
13655
13655
  if (!r)
13656
13656
  return Xp(e, t);
@@ -13664,7 +13664,7 @@ function l_(e, t) {
13664
13664
  };
13665
13665
  return e.patch(t, o), e.applyData(t, o);
13666
13666
  }
13667
- function c_(e, t) {
13667
+ function c1(e, t) {
13668
13668
  const n = { href: Gr(t.url) };
13669
13669
  t.title !== null && t.title !== void 0 && (n.title = t.title);
13670
13670
  const r = {
@@ -13675,8 +13675,8 @@ function c_(e, t) {
13675
13675
  };
13676
13676
  return e.patch(t, r), e.applyData(t, r);
13677
13677
  }
13678
- function u_(e, t, n) {
13679
- const r = e.all(t), i = n ? d_(n) : Qp(t), o = {}, s = [];
13678
+ function u1(e, t, n) {
13679
+ const r = e.all(t), i = n ? d1(n) : Qp(t), o = {}, s = [];
13680
13680
  if (typeof t.checked == "boolean") {
13681
13681
  const u = r[0];
13682
13682
  let d;
@@ -13699,7 +13699,7 @@ function u_(e, t, n) {
13699
13699
  const c = { type: "element", tagName: "li", properties: o, children: s };
13700
13700
  return e.patch(t, c), e.applyData(t, c);
13701
13701
  }
13702
- function d_(e) {
13702
+ function d1(e) {
13703
13703
  let t = !1;
13704
13704
  if (e.type === "list") {
13705
13705
  t = e.spread || !1;
@@ -13714,7 +13714,7 @@ function Qp(e) {
13714
13714
  const t = e.spread;
13715
13715
  return t ?? e.children.length > 1;
13716
13716
  }
13717
- function f_(e, t) {
13717
+ function f1(e, t) {
13718
13718
  const n = {}, r = e.all(t);
13719
13719
  let i = -1;
13720
13720
  for (typeof t.start == "number" && t.start !== 1 && (n.start = t.start); ++i < r.length; ) {
@@ -13732,7 +13732,7 @@ function f_(e, t) {
13732
13732
  };
13733
13733
  return e.patch(t, o), e.applyData(t, o);
13734
13734
  }
13735
- function h_(e, t) {
13735
+ function h1(e, t) {
13736
13736
  const n = {
13737
13737
  type: "element",
13738
13738
  tagName: "p",
@@ -13741,11 +13741,11 @@ function h_(e, t) {
13741
13741
  };
13742
13742
  return e.patch(t, n), e.applyData(t, n);
13743
13743
  }
13744
- function p_(e, t) {
13744
+ function p1(e, t) {
13745
13745
  const n = { type: "root", children: e.wrap(e.all(t)) };
13746
13746
  return e.patch(t, n), e.applyData(t, n);
13747
13747
  }
13748
- function m_(e, t) {
13748
+ function m1(e, t) {
13749
13749
  const n = {
13750
13750
  type: "element",
13751
13751
  tagName: "strong",
@@ -13754,7 +13754,7 @@ function m_(e, t) {
13754
13754
  };
13755
13755
  return e.patch(t, n), e.applyData(t, n);
13756
13756
  }
13757
- function g_(e, t) {
13757
+ function g1(e, t) {
13758
13758
  const n = e.all(t), r = n.shift(), i = [];
13759
13759
  if (r) {
13760
13760
  const s = {
@@ -13782,7 +13782,7 @@ function g_(e, t) {
13782
13782
  };
13783
13783
  return e.patch(t, o), e.applyData(t, o);
13784
13784
  }
13785
- function b_(e, t, n) {
13785
+ function b1(e, t, n) {
13786
13786
  const r = n ? n.children : void 0, o = (r ? r.indexOf(t) : 1) === 0 ? "th" : "td", s = n && n.type === "table" ? n.align : void 0, a = s ? s.length : t.children.length;
13787
13787
  let l = -1;
13788
13788
  const c = [];
@@ -13800,7 +13800,7 @@ function b_(e, t, n) {
13800
13800
  };
13801
13801
  return e.patch(t, u), e.applyData(t, u);
13802
13802
  }
13803
- function y_(e, t) {
13803
+ function y1(e, t) {
13804
13804
  const n = {
13805
13805
  type: "element",
13806
13806
  tagName: "td",
@@ -13811,7 +13811,7 @@ function y_(e, t) {
13811
13811
  return e.patch(t, n), e.applyData(t, n);
13812
13812
  }
13813
13813
  const ud = 9, dd = 32;
13814
- function x_(e) {
13814
+ function x1(e) {
13815
13815
  const t = String(e), n = /\r?\n|\r/g;
13816
13816
  let r = n.exec(t), i = 0;
13817
13817
  const o = [];
@@ -13836,11 +13836,11 @@ function fd(e, t, n) {
13836
13836
  }
13837
13837
  return i > r ? e.slice(r, i) : "";
13838
13838
  }
13839
- function v_(e, t) {
13840
- const n = { type: "text", value: x_(String(t.value)) };
13839
+ function v1(e, t) {
13840
+ const n = { type: "text", value: x1(String(t.value)) };
13841
13841
  return e.patch(t, n), e.applyData(t, n);
13842
13842
  }
13843
- function w_(e, t) {
13843
+ function w1(e, t) {
13844
13844
  const n = {
13845
13845
  type: "element",
13846
13846
  tagName: "hr",
@@ -13849,31 +13849,31 @@ function w_(e, t) {
13849
13849
  };
13850
13850
  return e.patch(t, n), e.applyData(t, n);
13851
13851
  }
13852
- const E_ = {
13852
+ const E1 = {
13853
13853
  blockquote: Xk,
13854
13854
  break: Qk,
13855
13855
  code: Jk,
13856
- delete: e_,
13857
- emphasis: t_,
13858
- footnoteReference: n_,
13859
- heading: r_,
13860
- html: i_,
13861
- imageReference: o_,
13862
- image: s_,
13863
- inlineCode: a_,
13864
- linkReference: l_,
13865
- link: c_,
13866
- listItem: u_,
13867
- list: f_,
13868
- paragraph: h_,
13856
+ delete: e1,
13857
+ emphasis: t1,
13858
+ footnoteReference: n1,
13859
+ heading: r1,
13860
+ html: i1,
13861
+ imageReference: o1,
13862
+ image: s1,
13863
+ inlineCode: a1,
13864
+ linkReference: l1,
13865
+ link: c1,
13866
+ listItem: u1,
13867
+ list: f1,
13868
+ paragraph: h1,
13869
13869
  // @ts-expect-error: root is different, but hard to type.
13870
- root: p_,
13871
- strong: m_,
13872
- table: g_,
13873
- tableCell: y_,
13874
- tableRow: b_,
13875
- text: v_,
13876
- thematicBreak: w_,
13870
+ root: p1,
13871
+ strong: m1,
13872
+ table: g1,
13873
+ tableCell: y1,
13874
+ tableRow: b1,
13875
+ text: v1,
13876
+ thematicBreak: w1,
13877
13877
  toml: Wi,
13878
13878
  yaml: Wi,
13879
13879
  definition: Wi,
@@ -13881,7 +13881,7 @@ const E_ = {
13881
13881
  };
13882
13882
  function Wi() {
13883
13883
  }
13884
- const Jp = -1, zo = 0, fi = 1, ko = 2, Hl = 3, jl = 4, Wl = 5, Gl = 6, em = 7, tm = 8, hd = typeof self == "object" ? self : globalThis, S_ = (e, t) => {
13884
+ const Jp = -1, zo = 0, fi = 1, ko = 2, Hl = 3, jl = 4, Wl = 5, Gl = 6, em = 7, tm = 8, hd = typeof self == "object" ? self : globalThis, S1 = (e, t) => {
13885
13885
  const n = (i, o) => (e.set(o, i), i), r = (i) => {
13886
13886
  if (e.has(i))
13887
13887
  return e.get(i);
@@ -13938,11 +13938,11 @@ const Jp = -1, zo = 0, fi = 1, ko = 2, Hl = 3, jl = 4, Wl = 5, Gl = 6, em = 7, t
13938
13938
  return n(new hd[o](s), i);
13939
13939
  };
13940
13940
  return r;
13941
- }, pd = (e) => S_(/* @__PURE__ */ new Map(), e)(0), pr = "", { toString: k_ } = {}, { keys: __ } = Object, ei = (e) => {
13941
+ }, pd = (e) => S1(/* @__PURE__ */ new Map(), e)(0), pr = "", { toString: k1 } = {}, { keys: _1 } = Object, ei = (e) => {
13942
13942
  const t = typeof e;
13943
13943
  if (t !== "object" || !e)
13944
13944
  return [zo, t];
13945
- const n = k_.call(e).slice(8, -1);
13945
+ const n = k1.call(e).slice(8, -1);
13946
13946
  switch (n) {
13947
13947
  case "Array":
13948
13948
  return [fi, pr];
@@ -13960,7 +13960,7 @@ const Jp = -1, zo = 0, fi = 1, ko = 2, Hl = 3, jl = 4, Wl = 5, Gl = 6, em = 7, t
13960
13960
  return [fi, n];
13961
13961
  }
13962
13962
  return n.includes("Array") ? [fi, n] : n.includes("Error") ? [em, n] : [ko, n];
13963
- }, Gi = ([e, t]) => e === zo && (t === "function" || t === "symbol"), C_ = (e, t, n, r) => {
13963
+ }, Gi = ([e, t]) => e === zo && (t === "function" || t === "symbol"), C1 = (e, t, n, r) => {
13964
13964
  const i = (s, a) => {
13965
13965
  const l = r.push(s) - 1;
13966
13966
  return n.set(a, l), l;
@@ -14009,7 +14009,7 @@ const Jp = -1, zo = 0, fi = 1, ko = 2, Hl = 3, jl = 4, Wl = 5, Gl = 6, em = 7, t
14009
14009
  if (t && "toJSON" in s)
14010
14010
  return o(s.toJSON());
14011
14011
  const u = [], d = i([a, u], s);
14012
- for (const f of __(s))
14012
+ for (const f of _1(s))
14013
14013
  (e || !Gi(ei(s[f]))) && u.push([o(f), o(s[f])]);
14014
14014
  return d;
14015
14015
  }
@@ -14038,12 +14038,12 @@ const Jp = -1, zo = 0, fi = 1, ko = 2, Hl = 3, jl = 4, Wl = 5, Gl = 6, em = 7, t
14038
14038
  return o;
14039
14039
  }, md = (e, { json: t, lossy: n } = {}) => {
14040
14040
  const r = [];
14041
- return C_(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
14041
+ return C1(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
14042
14042
  }, _o = typeof structuredClone == "function" ? (
14043
14043
  /* c8 ignore start */
14044
14044
  (e, t) => t && ("json" in t || "lossy" in t) ? pd(md(e, t)) : structuredClone(e)
14045
14045
  ) : (e, t) => pd(md(e, t));
14046
- function T_(e, t) {
14046
+ function T1(e, t) {
14047
14047
  const n = [{ type: "text", value: "↩" }];
14048
14048
  return t > 1 && n.push({
14049
14049
  type: "element",
@@ -14052,11 +14052,11 @@ function T_(e, t) {
14052
14052
  children: [{ type: "text", value: String(t) }]
14053
14053
  }), n;
14054
14054
  }
14055
- function A_(e, t) {
14055
+ function A1(e, t) {
14056
14056
  return "Back to reference " + (e + 1) + (t > 1 ? "-" + t : "");
14057
14057
  }
14058
- function N_(e) {
14059
- const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", n = e.options.footnoteBackContent || T_, r = e.options.footnoteBackLabel || A_, i = e.options.footnoteLabel || "Footnotes", o = e.options.footnoteLabelTagName || "h2", s = e.options.footnoteLabelProperties || {
14058
+ function N1(e) {
14059
+ const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", n = e.options.footnoteBackContent || T1, r = e.options.footnoteBackLabel || A1, i = e.options.footnoteLabel || "Footnotes", o = e.options.footnoteLabelTagName || "h2", s = e.options.footnoteLabelProperties || {
14060
14060
  className: ["sr-only"]
14061
14061
  }, a = [];
14062
14062
  let l = -1;
@@ -14143,17 +14143,17 @@ const Ni = (
14143
14143
  */
14144
14144
  function(e) {
14145
14145
  if (e == null)
14146
- return O_;
14146
+ return O1;
14147
14147
  if (typeof e == "function")
14148
14148
  return Ho(e);
14149
14149
  if (typeof e == "object")
14150
- return Array.isArray(e) ? M_(e) : R_(e);
14150
+ return Array.isArray(e) ? M1(e) : R1(e);
14151
14151
  if (typeof e == "string")
14152
- return I_(e);
14152
+ return I1(e);
14153
14153
  throw new Error("Expected function, string, or object as test");
14154
14154
  }
14155
14155
  );
14156
- function M_(e) {
14156
+ function M1(e) {
14157
14157
  const t = [];
14158
14158
  let n = -1;
14159
14159
  for (; ++n < e.length; )
@@ -14166,7 +14166,7 @@ function M_(e) {
14166
14166
  return !1;
14167
14167
  }
14168
14168
  }
14169
- function R_(e) {
14169
+ function R1(e) {
14170
14170
  const t = (
14171
14171
  /** @type {Record<string, unknown>} */
14172
14172
  e
@@ -14184,7 +14184,7 @@ function R_(e) {
14184
14184
  return !0;
14185
14185
  }
14186
14186
  }
14187
- function I_(e) {
14187
+ function I1(e) {
14188
14188
  return Ho(t);
14189
14189
  function t(n) {
14190
14190
  return n && n.type === e;
@@ -14193,7 +14193,7 @@ function I_(e) {
14193
14193
  function Ho(e) {
14194
14194
  return t;
14195
14195
  function t(n, r, i) {
14196
- return !!(P_(n) && e.call(
14196
+ return !!(P1(n) && e.call(
14197
14197
  this,
14198
14198
  n,
14199
14199
  typeof r == "number" ? r : void 0,
@@ -14201,13 +14201,13 @@ function Ho(e) {
14201
14201
  ));
14202
14202
  }
14203
14203
  }
14204
- function O_() {
14204
+ function O1() {
14205
14205
  return !0;
14206
14206
  }
14207
- function P_(e) {
14207
+ function P1(e) {
14208
14208
  return e !== null && typeof e == "object" && "type" in e;
14209
14209
  }
14210
- const nm = [], D_ = !0, $a = !1, L_ = "skip";
14210
+ const nm = [], D1 = !0, $a = !1, L1 = "skip";
14211
14211
  function rm(e, t, n, r) {
14212
14212
  let i;
14213
14213
  typeof t == "function" && typeof n != "function" ? (r = n, n = t) : i = t;
@@ -14233,14 +14233,14 @@ function rm(e, t, n, r) {
14233
14233
  return f;
14234
14234
  function f() {
14235
14235
  let h = nm, g, p, v;
14236
- if ((!t || o(l, c, u[u.length - 1] || void 0)) && (h = F_(n(l, u)), h[0] === $a))
14236
+ if ((!t || o(l, c, u[u.length - 1] || void 0)) && (h = F1(n(l, u)), h[0] === $a))
14237
14237
  return h;
14238
14238
  if ("children" in l && l.children) {
14239
14239
  const y = (
14240
14240
  /** @type {UnistParent} */
14241
14241
  l
14242
14242
  );
14243
- if (y.children && h[0] !== L_)
14243
+ if (y.children && h[0] !== L1)
14244
14244
  for (p = (r ? y.children.length : -1) + s, v = u.concat(y); p > -1 && p < y.children.length; ) {
14245
14245
  const E = y.children[p];
14246
14246
  if (g = a(E, p, v)(), g[0] === $a)
@@ -14252,8 +14252,8 @@ function rm(e, t, n, r) {
14252
14252
  }
14253
14253
  }
14254
14254
  }
14255
- function F_(e) {
14256
- return Array.isArray(e) ? e : typeof e == "number" ? [D_, e] : e == null ? nm : [e];
14255
+ function F1(e) {
14256
+ return Array.isArray(e) ? e : typeof e == "number" ? [D1, e] : e == null ? nm : [e];
14257
14257
  }
14258
14258
  function jo(e, t, n, r) {
14259
14259
  let i, o, s;
@@ -14263,11 +14263,11 @@ function jo(e, t, n, r) {
14263
14263
  return s(l, d, u);
14264
14264
  }
14265
14265
  }
14266
- const Va = {}.hasOwnProperty, B_ = {};
14267
- function $_(e, t) {
14268
- const n = t || B_, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = { ...E_, ...n.handlers }, a = {
14266
+ const Va = {}.hasOwnProperty, B1 = {};
14267
+ function $1(e, t) {
14268
+ const n = t || B1, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = { ...E1, ...n.handlers }, a = {
14269
14269
  all: c,
14270
- applyData: U_,
14270
+ applyData: U1,
14271
14271
  definitionById: r,
14272
14272
  footnoteById: i,
14273
14273
  footnoteCounts: o,
@@ -14275,8 +14275,8 @@ function $_(e, t) {
14275
14275
  handlers: s,
14276
14276
  one: l,
14277
14277
  options: n,
14278
- patch: V_,
14279
- wrap: H_
14278
+ patch: V1,
14279
+ wrap: H1
14280
14280
  };
14281
14281
  return jo(e, function(u) {
14282
14282
  if (u.type === "definition" || u.type === "footnoteDefinition") {
@@ -14295,7 +14295,7 @@ function $_(e, t) {
14295
14295
  }
14296
14296
  return _o(u);
14297
14297
  }
14298
- return (a.options.unknownHandler || z_)(a, u, d);
14298
+ return (a.options.unknownHandler || z1)(a, u, d);
14299
14299
  }
14300
14300
  function c(u) {
14301
14301
  const d = [];
@@ -14316,10 +14316,10 @@ function $_(e, t) {
14316
14316
  return d;
14317
14317
  }
14318
14318
  }
14319
- function V_(e, t) {
14319
+ function V1(e, t) {
14320
14320
  e.position && (t.position = AE(e));
14321
14321
  }
14322
- function U_(e, t) {
14322
+ function U1(e, t) {
14323
14323
  let n = t;
14324
14324
  if (e && e.data) {
14325
14325
  const r = e.data.hName, i = e.data.hChildren, o = e.data.hProperties;
@@ -14334,7 +14334,7 @@ function U_(e, t) {
14334
14334
  }
14335
14335
  return n;
14336
14336
  }
14337
- function z_(e, t) {
14337
+ function z1(e, t) {
14338
14338
  const n = t.data || {}, r = "value" in t && !(Va.call(n, "hProperties") || Va.call(n, "hChildren")) ? { type: "text", value: t.value } : {
14339
14339
  type: "element",
14340
14340
  tagName: "div",
@@ -14343,7 +14343,7 @@ function z_(e, t) {
14343
14343
  };
14344
14344
  return e.patch(t, r), e.applyData(t, r);
14345
14345
  }
14346
- function H_(e, t) {
14346
+ function H1(e, t) {
14347
14347
  const n = [];
14348
14348
  let r = -1;
14349
14349
  for (t && n.push({ type: "text", value: `
@@ -14360,11 +14360,11 @@ function gd(e) {
14360
14360
  return e.slice(t);
14361
14361
  }
14362
14362
  function bd(e, t) {
14363
- const n = $_(e, t), r = n.one(e, void 0), i = N_(n), o = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
14363
+ const n = $1(e, t), r = n.one(e, void 0), i = N1(n), o = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
14364
14364
  return i && o.children.push({ type: "text", value: `
14365
14365
  ` }, i), o;
14366
14366
  }
14367
- function j_(e, t) {
14367
+ function j1(e, t) {
14368
14368
  return e && "run" in e ? async function(n, r) {
14369
14369
  const i = (
14370
14370
  /** @type {HastRoot} */
@@ -14383,7 +14383,7 @@ function yd(e) {
14383
14383
  throw e;
14384
14384
  }
14385
14385
  var Rs, xd;
14386
- function W_() {
14386
+ function W1() {
14387
14387
  if (xd) return Rs;
14388
14388
  xd = 1;
14389
14389
  var e = Object.prototype.hasOwnProperty, t = Object.prototype.toString, n = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = function(c) {
@@ -14422,15 +14422,15 @@ function W_() {
14422
14422
  return p;
14423
14423
  }, Rs;
14424
14424
  }
14425
- var G_ = W_();
14426
- const Is = /* @__PURE__ */ $o(G_);
14425
+ var G1 = W1();
14426
+ const Is = /* @__PURE__ */ $o(G1);
14427
14427
  function Ua(e) {
14428
14428
  if (typeof e != "object" || e === null)
14429
14429
  return !1;
14430
14430
  const t = Object.getPrototypeOf(e);
14431
14431
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
14432
14432
  }
14433
- function K_() {
14433
+ function K1() {
14434
14434
  const e = [], t = { run: n, use: r };
14435
14435
  return t;
14436
14436
  function n(...i) {
@@ -14448,7 +14448,7 @@ function K_() {
14448
14448
  }
14449
14449
  for (; ++d < i.length; )
14450
14450
  (c[d] === null || c[d] === void 0) && (c[d] = i[d]);
14451
- i = c, u ? q_(u, a)(...c) : s(null, ...c);
14451
+ i = c, u ? q1(u, a)(...c) : s(null, ...c);
14452
14452
  }
14453
14453
  }
14454
14454
  function r(i) {
@@ -14459,7 +14459,7 @@ function K_() {
14459
14459
  return e.push(i), t;
14460
14460
  }
14461
14461
  }
14462
- function q_(e, t) {
14462
+ function q1(e, t) {
14463
14463
  let n;
14464
14464
  return r;
14465
14465
  function r(...s) {
@@ -14486,8 +14486,8 @@ function q_(e, t) {
14486
14486
  i(null, s);
14487
14487
  }
14488
14488
  }
14489
- const bn = { basename: Y_, dirname: Z_, extname: X_, join: Q_, sep: "/" };
14490
- function Y_(e, t) {
14489
+ const bn = { basename: Y1, dirname: Z1, extname: X1, join: Q1, sep: "/" };
14490
+ function Y1(e, t) {
14491
14491
  if (t !== void 0 && typeof t != "string")
14492
14492
  throw new TypeError('"ext" argument must be a string');
14493
14493
  Mi(e);
@@ -14515,7 +14515,7 @@ function Y_(e, t) {
14515
14515
  s < 0 && (o = !0, s = i + 1), a > -1 && (e.codePointAt(i) === t.codePointAt(a--) ? a < 0 && (r = i) : (a = -1, r = s));
14516
14516
  return n === r ? r = s : r < 0 && (r = e.length), e.slice(n, r);
14517
14517
  }
14518
- function Z_(e) {
14518
+ function Z1(e) {
14519
14519
  if (Mi(e), e.length === 0)
14520
14520
  return ".";
14521
14521
  let t = -1, n = e.length, r;
@@ -14528,7 +14528,7 @@ function Z_(e) {
14528
14528
  } else r || (r = !0);
14529
14529
  return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
14530
14530
  }
14531
- function X_(e) {
14531
+ function X1(e) {
14532
14532
  Mi(e);
14533
14533
  let t = e.length, n = -1, r = 0, i = -1, o = 0, s;
14534
14534
  for (; t--; ) {
@@ -14546,19 +14546,19 @@ function X_(e) {
14546
14546
  o === 0 || // The (right-most) trimmed path component is exactly `..`.
14547
14547
  o === 1 && i === n - 1 && i === r + 1 ? "" : e.slice(i, n);
14548
14548
  }
14549
- function Q_(...e) {
14549
+ function Q1(...e) {
14550
14550
  let t = -1, n;
14551
14551
  for (; ++t < e.length; )
14552
14552
  Mi(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
14553
- return n === void 0 ? "." : J_(n);
14553
+ return n === void 0 ? "." : J1(n);
14554
14554
  }
14555
- function J_(e) {
14555
+ function J1(e) {
14556
14556
  Mi(e);
14557
14557
  const t = e.codePointAt(0) === 47;
14558
- let n = e1(e, !t);
14558
+ let n = e_(e, !t);
14559
14559
  return n.length === 0 && !t && (n = "."), n.length > 0 && e.codePointAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
14560
14560
  }
14561
- function e1(e, t) {
14561
+ function e_(e, t) {
14562
14562
  let n = "", r = 0, i = -1, o = 0, s = -1, a, l;
14563
14563
  for (; ++s <= e.length; ) {
14564
14564
  if (s < e.length)
@@ -14595,15 +14595,15 @@ function Mi(e) {
14595
14595
  "Path must be a string. Received " + JSON.stringify(e)
14596
14596
  );
14597
14597
  }
14598
- const t1 = { cwd: n1 };
14599
- function n1() {
14598
+ const t_ = { cwd: n_ };
14599
+ function n_() {
14600
14600
  return "/";
14601
14601
  }
14602
14602
  function za(e) {
14603
14603
  return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
14604
14604
  e.auth === void 0);
14605
14605
  }
14606
- function r1(e) {
14606
+ function r_(e) {
14607
14607
  if (typeof e == "string")
14608
14608
  e = new URL(e);
14609
14609
  else if (!za(e)) {
@@ -14616,9 +14616,9 @@ function r1(e) {
14616
14616
  const t = new TypeError("The URL must be of scheme file");
14617
14617
  throw t.code = "ERR_INVALID_URL_SCHEME", t;
14618
14618
  }
14619
- return i1(e);
14619
+ return i_(e);
14620
14620
  }
14621
- function i1(e) {
14621
+ function i_(e) {
14622
14622
  if (e.hostname !== "") {
14623
14623
  const r = new TypeError(
14624
14624
  'File URL host must be "localhost" or empty on darwin'
@@ -14675,7 +14675,7 @@ class im {
14675
14675
  */
14676
14676
  constructor(t) {
14677
14677
  let n;
14678
- t ? za(t) ? n = { path: t } : typeof t == "string" || o1(t) ? n = { value: t } : n = t : n = {}, this.cwd = "cwd" in n ? "" : t1.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
14678
+ t ? za(t) ? n = { path: t } : typeof t == "string" || o_(t) ? n = { value: t } : n = t : n = {}, this.cwd = "cwd" in n ? "" : t_.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
14679
14679
  let r = -1;
14680
14680
  for (; ++r < Os.length; ) {
14681
14681
  const o = Os[r];
@@ -14783,7 +14783,7 @@ class im {
14783
14783
  * Nothing.
14784
14784
  */
14785
14785
  set path(t) {
14786
- za(t) && (t = r1(t)), Ds(t, "path"), this.path !== t && this.history.push(t);
14786
+ za(t) && (t = r_(t)), Ds(t, "path"), this.path !== t && this.history.push(t);
14787
14787
  }
14788
14788
  /**
14789
14789
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -15034,10 +15034,10 @@ function vd(e, t) {
15034
15034
  if (!e)
15035
15035
  throw new Error("Setting `" + t + "` requires `path` to be set too");
15036
15036
  }
15037
- function o1(e) {
15037
+ function o_(e) {
15038
15038
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
15039
15039
  }
15040
- const s1 = (
15040
+ const s_ = (
15041
15041
  /**
15042
15042
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
15043
15043
  */
@@ -15058,13 +15058,13 @@ const s1 = (
15058
15058
  };
15059
15059
  return Object.setPrototypeOf(o, r), o;
15060
15060
  }
15061
- ), a1 = {}.hasOwnProperty;
15062
- class Kl extends s1 {
15061
+ ), a_ = {}.hasOwnProperty;
15062
+ class Kl extends s_ {
15063
15063
  /**
15064
15064
  * Create a processor.
15065
15065
  */
15066
15066
  constructor() {
15067
- super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = K_();
15067
+ super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = K1();
15068
15068
  }
15069
15069
  /**
15070
15070
  * Copy a processor.
@@ -15149,7 +15149,7 @@ class Kl extends s1 {
15149
15149
  * the entire dataset when getting without key.
15150
15150
  */
15151
15151
  data(t, n) {
15152
- return typeof t == "string" ? arguments.length === 2 ? (Bs("data", this.frozen), this.namespace[t] = n, this) : a1.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (Bs("data", this.frozen), this.namespace = t, this) : this.namespace;
15152
+ return typeof t == "string" ? arguments.length === 2 ? (Bs("data", this.frozen), this.namespace[t] = n, this) : a_.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (Bs("data", this.frozen), this.namespace = t, this) : this.namespace;
15153
15153
  }
15154
15154
  /**
15155
15155
  * Freeze a processor.
@@ -15264,7 +15264,7 @@ class Kl extends s1 {
15264
15264
  /** @type {unknown} */
15265
15265
  d
15266
15266
  ), g = r.stringify(h, f);
15267
- u1(g) ? f.value = g : f.result = g, c(
15267
+ u_(g) ? f.value = g : f.result = g, c(
15268
15268
  u,
15269
15269
  /** @type {VFileWithOutput<CompileResult>} */
15270
15270
  f
@@ -15540,7 +15540,7 @@ class Kl extends s1 {
15540
15540
  }
15541
15541
  }
15542
15542
  }
15543
- const l1 = new Kl().freeze();
15543
+ const l_ = new Kl().freeze();
15544
15544
  function Ls(e, t) {
15545
15545
  if (typeof t != "function")
15546
15546
  throw new TypeError("Cannot `" + e + "` without `parser`");
@@ -15566,18 +15566,18 @@ function Ed(e, t, n) {
15566
15566
  );
15567
15567
  }
15568
15568
  function Ki(e) {
15569
- return c1(e) ? e : new im(e);
15569
+ return c_(e) ? e : new im(e);
15570
15570
  }
15571
- function c1(e) {
15571
+ function c_(e) {
15572
15572
  return !!(e && typeof e == "object" && "message" in e && "messages" in e);
15573
15573
  }
15574
- function u1(e) {
15575
- return typeof e == "string" || d1(e);
15574
+ function u_(e) {
15575
+ return typeof e == "string" || d_(e);
15576
15576
  }
15577
- function d1(e) {
15577
+ function d_(e) {
15578
15578
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
15579
15579
  }
15580
- const f1 = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Sd = [], kd = { allowDangerousHtml: !0 }, h1 = /^(https?|ircs?|mailto|xmpp)$/i, p1 = [
15580
+ const f_ = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Sd = [], kd = { allowDangerousHtml: !0 }, h_ = /^(https?|ircs?|mailto|xmpp)$/i, p_ = [
15581
15581
  { from: "astPlugins", id: "remove-buggy-html-in-markdown-parser" },
15582
15582
  { from: "allowDangerousHtml", id: "remove-buggy-html-in-markdown-parser" },
15583
15583
  {
@@ -15611,22 +15611,22 @@ const f1 = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
15611
15611
  { from: "transformImageUri", id: "#add-urltransform", to: "urlTransform" },
15612
15612
  { from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }
15613
15613
  ];
15614
- function m1(e) {
15615
- const t = g1(e), n = b1(e);
15616
- return y1(t.runSync(t.parse(n), n), e);
15614
+ function m_(e) {
15615
+ const t = g_(e), n = b_(e);
15616
+ return y_(t.runSync(t.parse(n), n), e);
15617
15617
  }
15618
- function g1(e) {
15618
+ function g_(e) {
15619
15619
  const t = e.rehypePlugins || Sd, n = e.remarkPlugins || Sd, r = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...kd } : kd;
15620
- return l1().use(Zk).use(n).use(j_, r).use(t);
15620
+ return l_().use(Zk).use(n).use(j1, r).use(t);
15621
15621
  }
15622
- function b1(e) {
15622
+ function b_(e) {
15623
15623
  const t = e.children || "", n = new im();
15624
15624
  return typeof t == "string" && (n.value = t), n;
15625
15625
  }
15626
- function y1(e, t) {
15627
- const n = t.allowedElements, r = t.allowElement, i = t.components, o = t.disallowedElements, s = t.skipHtml, a = t.unwrapDisallowed, l = t.urlTransform || x1;
15628
- for (const u of p1)
15629
- Object.hasOwn(t, u.from) && ("" + u.from + (u.to ? "use `" + u.to + "` instead" : "remove it") + f1 + u.id, void 0);
15626
+ function y_(e, t) {
15627
+ const n = t.allowedElements, r = t.allowElement, i = t.components, o = t.disallowedElements, s = t.skipHtml, a = t.unwrapDisallowed, l = t.urlTransform || x_;
15628
+ for (const u of p_)
15629
+ Object.hasOwn(t, u.from) && ("" + u.from + (u.to ? "use `" + u.to + "` instead" : "remove it") + f_ + u.id, void 0);
15630
15630
  return jo(e, c), OE(e, {
15631
15631
  Fragment: Ct,
15632
15632
  components: i,
@@ -15654,13 +15654,13 @@ function y1(e, t) {
15654
15654
  }
15655
15655
  }
15656
15656
  }
15657
- function x1(e) {
15657
+ function x_(e) {
15658
15658
  const t = e.indexOf(":"), n = e.indexOf("?"), r = e.indexOf("#"), i = e.indexOf("/");
15659
15659
  return (
15660
15660
  // If there is no protocol, it’s relative.
15661
15661
  t === -1 || // If the first colon is after a `?`, `#`, or `/`, it’s not a protocol.
15662
15662
  i !== -1 && t > i || n !== -1 && t > n || r !== -1 && t > r || // It is a protocol, it should be allowed.
15663
- h1.test(e.slice(0, t)) ? e : ""
15663
+ h_.test(e.slice(0, t)) ? e : ""
15664
15664
  );
15665
15665
  }
15666
15666
  function _d(e, t) {
@@ -15672,13 +15672,13 @@ function _d(e, t) {
15672
15672
  r++, i = n.indexOf(t, i + t.length);
15673
15673
  return r;
15674
15674
  }
15675
- function v1(e) {
15675
+ function v_(e) {
15676
15676
  if (typeof e != "string")
15677
15677
  throw new TypeError("Expected a string");
15678
15678
  return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
15679
15679
  }
15680
- function w1(e, t, n) {
15681
- const i = Ni((n || {}).ignore || []), o = E1(t);
15680
+ function w_(e, t, n) {
15681
+ const i = Ni((n || {}).ignore || []), o = E_(t);
15682
15682
  let s = -1;
15683
15683
  for (; ++s < o.length; )
15684
15684
  rm(e, "text", a);
@@ -15721,7 +15721,7 @@ function w1(e, t, n) {
15721
15721
  return y ? (g < c.value.length && E.push({ type: "text", value: c.value.slice(g) }), d.children.splice(v, 1, ...E)) : E = [c], v + E.length;
15722
15722
  }
15723
15723
  }
15724
- function E1(e) {
15724
+ function E_(e) {
15725
15725
  const t = [];
15726
15726
  if (!Array.isArray(e))
15727
15727
  throw new TypeError("Expected find and replace tuple or list of tuples");
@@ -15729,37 +15729,37 @@ function E1(e) {
15729
15729
  let r = -1;
15730
15730
  for (; ++r < n.length; ) {
15731
15731
  const i = n[r];
15732
- t.push([S1(i[0]), k1(i[1])]);
15732
+ t.push([S_(i[0]), k_(i[1])]);
15733
15733
  }
15734
15734
  return t;
15735
15735
  }
15736
- function S1(e) {
15737
- return typeof e == "string" ? new RegExp(v1(e), "g") : e;
15736
+ function S_(e) {
15737
+ return typeof e == "string" ? new RegExp(v_(e), "g") : e;
15738
15738
  }
15739
- function k1(e) {
15739
+ function k_(e) {
15740
15740
  return typeof e == "function" ? e : function() {
15741
15741
  return e;
15742
15742
  };
15743
15743
  }
15744
15744
  const $s = "phrasing", Vs = ["autolink", "link", "image", "label"];
15745
- function _1() {
15745
+ function __() {
15746
15746
  return {
15747
- transforms: [I1],
15747
+ transforms: [I_],
15748
15748
  enter: {
15749
- literalAutolink: T1,
15749
+ literalAutolink: T_,
15750
15750
  literalAutolinkEmail: Us,
15751
15751
  literalAutolinkHttp: Us,
15752
15752
  literalAutolinkWww: Us
15753
15753
  },
15754
15754
  exit: {
15755
- literalAutolink: R1,
15756
- literalAutolinkEmail: M1,
15757
- literalAutolinkHttp: A1,
15758
- literalAutolinkWww: N1
15755
+ literalAutolink: R_,
15756
+ literalAutolinkEmail: M_,
15757
+ literalAutolinkHttp: A_,
15758
+ literalAutolinkWww: N_
15759
15759
  }
15760
15760
  };
15761
15761
  }
15762
- function C1() {
15762
+ function C_() {
15763
15763
  return {
15764
15764
  unsafe: [
15765
15765
  {
@@ -15786,41 +15786,41 @@ function C1() {
15786
15786
  ]
15787
15787
  };
15788
15788
  }
15789
- function T1(e) {
15789
+ function T_(e) {
15790
15790
  this.enter({ type: "link", title: null, url: "", children: [] }, e);
15791
15791
  }
15792
15792
  function Us(e) {
15793
15793
  this.config.enter.autolinkProtocol.call(this, e);
15794
15794
  }
15795
- function A1(e) {
15795
+ function A_(e) {
15796
15796
  this.config.exit.autolinkProtocol.call(this, e);
15797
15797
  }
15798
- function N1(e) {
15798
+ function N_(e) {
15799
15799
  this.config.exit.data.call(this, e);
15800
15800
  const t = this.stack[this.stack.length - 1];
15801
15801
  t.type, t.url = "http://" + this.sliceSerialize(e);
15802
15802
  }
15803
- function M1(e) {
15803
+ function M_(e) {
15804
15804
  this.config.exit.autolinkEmail.call(this, e);
15805
15805
  }
15806
- function R1(e) {
15806
+ function R_(e) {
15807
15807
  this.exit(e);
15808
15808
  }
15809
- function I1(e) {
15810
- w1(
15809
+ function I_(e) {
15810
+ w_(
15811
15811
  e,
15812
15812
  [
15813
- [/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, O1],
15814
- [new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)", "gu"), P1]
15813
+ [/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, O_],
15814
+ [new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)", "gu"), P_]
15815
15815
  ],
15816
15816
  { ignore: ["link", "linkReference"] }
15817
15817
  );
15818
15818
  }
15819
- function O1(e, t, n, r, i) {
15819
+ function O_(e, t, n, r, i) {
15820
15820
  let o = "";
15821
- if (!om(i) || (/^w/i.test(t) && (n = t + n, t = "", o = "http://"), !D1(n)))
15821
+ if (!om(i) || (/^w/i.test(t) && (n = t + n, t = "", o = "http://"), !D_(n)))
15822
15822
  return !1;
15823
- const s = L1(n + r);
15823
+ const s = L_(n + r);
15824
15824
  if (!s[0]) return !1;
15825
15825
  const a = {
15826
15826
  type: "link",
@@ -15830,7 +15830,7 @@ function O1(e, t, n, r, i) {
15830
15830
  };
15831
15831
  return s[1] ? [a, { type: "text", value: s[1] }] : a;
15832
15832
  }
15833
- function P1(e, t, n, r) {
15833
+ function P_(e, t, n, r) {
15834
15834
  return (
15835
15835
  // Not an expected previous character.
15836
15836
  !om(r, !0) || // Label ends in not allowed character.
@@ -15842,11 +15842,11 @@ function P1(e, t, n, r) {
15842
15842
  }
15843
15843
  );
15844
15844
  }
15845
- function D1(e) {
15845
+ function D_(e) {
15846
15846
  const t = e.split(".");
15847
15847
  return !(t.length < 2 || t[t.length - 1] && (/_/.test(t[t.length - 1]) || !/[a-zA-Z\d]/.test(t[t.length - 1])) || t[t.length - 2] && (/_/.test(t[t.length - 2]) || !/[a-zA-Z\d]/.test(t[t.length - 2])));
15848
15848
  }
15849
- function L1(e) {
15849
+ function L_(e) {
15850
15850
  const t = /[!"&'),.:;<>?\]}]+$/.exec(e);
15851
15851
  if (!t)
15852
15852
  return [e, void 0];
@@ -15863,41 +15863,41 @@ function om(e, t) {
15863
15863
  return (e.index === 0 || sr(n) || Vo(n)) && // If it’s an email, the previous character should not be a slash.
15864
15864
  (!t || n !== 47);
15865
15865
  }
15866
- sm.peek = W1;
15867
- function F1() {
15866
+ sm.peek = W_;
15867
+ function F_() {
15868
15868
  this.buffer();
15869
15869
  }
15870
- function B1(e) {
15870
+ function B_(e) {
15871
15871
  this.enter({ type: "footnoteReference", identifier: "", label: "" }, e);
15872
15872
  }
15873
- function $1() {
15873
+ function $_() {
15874
15874
  this.buffer();
15875
15875
  }
15876
- function V1(e) {
15876
+ function V_(e) {
15877
15877
  this.enter(
15878
15878
  { type: "footnoteDefinition", identifier: "", label: "", children: [] },
15879
15879
  e
15880
15880
  );
15881
15881
  }
15882
- function U1(e) {
15882
+ function U_(e) {
15883
15883
  const t = this.resume(), n = this.stack[this.stack.length - 1];
15884
15884
  n.type, n.identifier = un(
15885
15885
  this.sliceSerialize(e)
15886
15886
  ).toLowerCase(), n.label = t;
15887
15887
  }
15888
- function z1(e) {
15888
+ function z_(e) {
15889
15889
  this.exit(e);
15890
15890
  }
15891
- function H1(e) {
15891
+ function H_(e) {
15892
15892
  const t = this.resume(), n = this.stack[this.stack.length - 1];
15893
15893
  n.type, n.identifier = un(
15894
15894
  this.sliceSerialize(e)
15895
15895
  ).toLowerCase(), n.label = t;
15896
15896
  }
15897
- function j1(e) {
15897
+ function j_(e) {
15898
15898
  this.exit(e);
15899
15899
  }
15900
- function W1() {
15900
+ function W_() {
15901
15901
  return "[";
15902
15902
  }
15903
15903
  function sm(e, t, n, r) {
@@ -15908,23 +15908,23 @@ function sm(e, t, n, r) {
15908
15908
  n.safe(n.associationId(e), { after: "]", before: o })
15909
15909
  ), a(), s(), o += i.move("]"), o;
15910
15910
  }
15911
- function G1() {
15911
+ function G_() {
15912
15912
  return {
15913
15913
  enter: {
15914
- gfmFootnoteCallString: F1,
15915
- gfmFootnoteCall: B1,
15916
- gfmFootnoteDefinitionLabelString: $1,
15917
- gfmFootnoteDefinition: V1
15914
+ gfmFootnoteCallString: F_,
15915
+ gfmFootnoteCall: B_,
15916
+ gfmFootnoteDefinitionLabelString: $_,
15917
+ gfmFootnoteDefinition: V_
15918
15918
  },
15919
15919
  exit: {
15920
- gfmFootnoteCallString: U1,
15921
- gfmFootnoteCall: z1,
15922
- gfmFootnoteDefinitionLabelString: H1,
15923
- gfmFootnoteDefinition: j1
15920
+ gfmFootnoteCallString: U_,
15921
+ gfmFootnoteCall: z_,
15922
+ gfmFootnoteDefinitionLabelString: H_,
15923
+ gfmFootnoteDefinition: j_
15924
15924
  }
15925
15925
  };
15926
15926
  }
15927
- function K1(e) {
15927
+ function K_(e) {
15928
15928
  let t = !1;
15929
15929
  return e && e.firstLineBlank && (t = !0), {
15930
15930
  handlers: { footnoteDefinition: n, footnoteReference: sm },
@@ -15941,18 +15941,18 @@ function K1(e) {
15941
15941
  (t ? `
15942
15942
  ` : " ") + o.indentLines(
15943
15943
  o.containerFlow(r, a.current()),
15944
- t ? am : q1
15944
+ t ? am : q_
15945
15945
  )
15946
15946
  )), c(), l;
15947
15947
  }
15948
15948
  }
15949
- function q1(e, t, n) {
15949
+ function q_(e, t, n) {
15950
15950
  return t === 0 ? e : am(e, t, n);
15951
15951
  }
15952
15952
  function am(e, t, n) {
15953
15953
  return (n ? "" : " ") + e;
15954
15954
  }
15955
- const Y1 = [
15955
+ const Y_ = [
15956
15956
  "autolink",
15957
15957
  "destinationLiteral",
15958
15958
  "destinationRaw",
@@ -15961,29 +15961,29 @@ const Y1 = [
15961
15961
  "titleApostrophe"
15962
15962
  ];
15963
15963
  lm.peek = eC;
15964
- function Z1() {
15964
+ function Z_() {
15965
15965
  return {
15966
15966
  canContainEols: ["delete"],
15967
- enter: { strikethrough: Q1 },
15968
- exit: { strikethrough: J1 }
15967
+ enter: { strikethrough: Q_ },
15968
+ exit: { strikethrough: J_ }
15969
15969
  };
15970
15970
  }
15971
- function X1() {
15971
+ function X_() {
15972
15972
  return {
15973
15973
  unsafe: [
15974
15974
  {
15975
15975
  character: "~",
15976
15976
  inConstruct: "phrasing",
15977
- notInConstruct: Y1
15977
+ notInConstruct: Y_
15978
15978
  }
15979
15979
  ],
15980
15980
  handlers: { delete: lm }
15981
15981
  };
15982
15982
  }
15983
- function Q1(e) {
15983
+ function Q_(e) {
15984
15984
  this.enter({ type: "delete", children: [] }, e);
15985
15985
  }
15986
- function J1(e) {
15986
+ function J_(e) {
15987
15987
  this.exit(e);
15988
15988
  }
15989
15989
  function lm(e, t, n, r) {
@@ -16848,9 +16848,9 @@ function GC(e, t, n, r) {
16848
16848
  }
16849
16849
  function KC() {
16850
16850
  return [
16851
- _1(),
16852
- G1(),
16853
- Z1(),
16851
+ __(),
16852
+ G_(),
16853
+ Z_(),
16854
16854
  LC(),
16855
16855
  HC()
16856
16856
  ];
@@ -16858,9 +16858,9 @@ function KC() {
16858
16858
  function qC(e) {
16859
16859
  return {
16860
16860
  extensions: [
16861
- C1(),
16862
- K1(e),
16863
- X1(),
16861
+ C_(),
16862
+ K_(e),
16863
+ X_(),
16864
16864
  zC(e),
16865
16865
  jC()
16866
16866
  ]
@@ -31830,7 +31830,7 @@ function yN({ message: e, theme: t, isOwn: n, isStreaming: r = !1 }) {
31830
31830
  speed: 35
31831
31831
  }
31832
31832
  ) : s ? /* @__PURE__ */ m(
31833
- m1,
31833
+ m_,
31834
31834
  {
31835
31835
  remarkPlugins: [AT],
31836
31836
  rehypePlugins: [gN],
@@ -32658,7 +32658,7 @@ const Ym = Me.forwardRef(({
32658
32658
  "overflow-hidden h-full"
32659
32659
  ), V = a && (s === "popup" || s === "fullscreen"), j = Me.useMemo(() => d ? "Agent is taking longer than expected..." : I ? "Room connected. Waiting for agent..." : r, [d, I, r]), x = Me.useMemo(() => d ? "Please check your connection or try again." : I ? "The agent will join shortly." : "Agent is connecting... This may take a moment.", [d, I]), L = o.getCurrentAgentInfo();
32660
32660
  return y ? /* @__PURE__ */ m("main", { ref: l, className: He(te, "relative", e && "pointer-events-none opacity-50"), children: (V || k) && /* @__PURE__ */ A("div", { className: `flex items-center justify-between w-full p-4 border-b ${((q = M.chatHeader) == null ? void 0 : q.container) || "border-gray-200"}`, children: [
32661
- /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m("h3", { className: `font-semibold ${M.text.primary}`, children: L.agentName }) }),
32661
+ /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m("h3", { className: `font-semibold ${M.text.primary}`, children: (L == null ? void 0 : L.agentName) || "Voice Session" }) }),
32662
32662
  k && /* @__PURE__ */ m(
32663
32663
  Eo,
32664
32664
  {