@versini/sassysaint 8.7.4 → 8.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { jsx as dp } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as Qo } from "./App.B8aUW5r8.js";
2
+ import { getDefaultExportFromCjs as Qo } from "./App.B8e8A3Y9.js";
3
3
  import cp, { useState as pp, useEffect as up } from "react";
4
4
  var os = { exports: {} }, fp = os.exports, _o;
5
5
  function gp() {
@@ -1,12 +1,12 @@
1
1
  var zr = Object.defineProperty;
2
2
  var Lr = (e, n, t) => n in e ? zr(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
- var Re = (e, n, t) => Lr(e, typeof n != "symbol" ? n + "" : n, t);
3
+ var Oe = (e, n, t) => Lr(e, typeof n != "symbol" ? n + "" : n, t);
4
4
  import * as ln from "react/jsx-runtime";
5
5
  import { jsx as te, jsxs as Pn, Fragment as Nr } from "react/jsx-runtime";
6
- import { getDefaultExportFromCjs as Ot, ChatContext as _r, E as vr, Re as Xn } from "./App.B8aUW5r8.js";
6
+ import { getDefaultExportFromCjs as Rt, ChatContext as _r, E as vr, Te as Xn } from "./App.B8e8A3Y9.js";
7
7
  import zn from "clsx";
8
- import Mt, { useState as Be, useEffect as Ze, useRef as be, useCallback as Rr, useContext as Or } from "react";
9
- import { re as Mr, unObfuscate as Fr, obfuscate as Dr, LOCAL_STORAGE_PREFIX as Br, LOCAL_STORAGE_CHAT_DETAILS as jr, convertCamelCaseToReadable as Hr, ROLE_INTERNAL as Vr } from "./index.L4UVkvPy.js";
8
+ import Mt, { useState as Be, useEffect as Ze, useRef as be, useCallback as Or, useContext as Rr } from "react";
9
+ import { re as Mr, unObfuscate as Fr, obfuscate as Dr, LOCAL_STORAGE_PREFIX as Br, LOCAL_STORAGE_CHAT_DETAILS as jr, convertCamelCaseToReadable as Hr, ROLE_INTERNAL as Vr } from "./index.Nz93s_TT.js";
10
10
  const Ft = ({
11
11
  children: e,
12
12
  fill: n,
@@ -38,13 +38,13 @@ const Ft = ({
38
38
  ) });
39
39
  };
40
40
  /*!
41
- @versini/ui-svgicon v4.1.1
41
+ @versini/ui-svgicon v4.2.0
42
42
  © 2025 gizmette.com
43
43
  */
44
44
  try {
45
45
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
46
- version: "4.1.1",
47
- buildTime: "02/27/2025 03:46 PM EST",
46
+ version: "4.2.0",
47
+ buildTime: "03/19/2025 05:27 PM EDT",
48
48
  homepage: "https://github.com/aversini/ui-components",
49
49
  license: "MIT"
50
50
  });
@@ -95,13 +95,13 @@ const Ur = ({
95
95
  }
96
96
  );
97
97
  /*!
98
- @versini/ui-icons v4.8.1
98
+ @versini/ui-icons v4.8.2
99
99
  © 2025 gizmette.com
100
100
  */
101
101
  try {
102
102
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
103
- version: "4.8.1",
104
- buildTime: "02/27/2025 03:46 PM EST",
103
+ version: "4.8.2",
104
+ buildTime: "03/19/2025 05:27 PM EDT",
105
105
  homepage: "https://github.com/aversini/ui-components",
106
106
  license: "MIT"
107
107
  });
@@ -199,7 +199,7 @@ const Bt = -1, en = 0, Qe = 1, Je = 2, Ln = 3, Nn = 4, _n = 5, vn = 6, jt = 7, H
199
199
  return t(new Qn[l](o), i);
200
200
  };
201
201
  return r;
202
- }, Jn = (e) => Yr(/* @__PURE__ */ new Map(), e)(0), Te = "", { toString: Xr } = {}, { keys: Qr } = Object, Oe = (e) => {
202
+ }, Jn = (e) => Yr(/* @__PURE__ */ new Map(), e)(0), Te = "", { toString: Xr } = {}, { keys: Qr } = Object, Re = (e) => {
203
203
  const n = typeof e;
204
204
  if (n !== "object" || !e)
205
205
  return [en, n];
@@ -226,7 +226,7 @@ const Bt = -1, en = 0, Qe = 1, Je = 2, Ln = 3, Nn = 4, _n = 5, vn = 6, jt = 7, H
226
226
  }, l = (o) => {
227
227
  if (t.has(o))
228
228
  return t.get(o);
229
- let [a, s] = Oe(o);
229
+ let [a, s] = Re(o);
230
230
  switch (a) {
231
231
  case en: {
232
232
  let c = o;
@@ -267,7 +267,7 @@ const Bt = -1, en = 0, Qe = 1, Je = 2, Ln = 3, Nn = 4, _n = 5, vn = 6, jt = 7, H
267
267
  return l(o.toJSON());
268
268
  const c = [], p = i([a, c], o);
269
269
  for (const d of Qr(o))
270
- (e || !We(Oe(o[d]))) && c.push([l(d), l(o[d])]);
270
+ (e || !We(Re(o[d]))) && c.push([l(d), l(o[d])]);
271
271
  return p;
272
272
  }
273
273
  case Ln:
@@ -279,13 +279,13 @@ const Bt = -1, en = 0, Qe = 1, Je = 2, Ln = 3, Nn = 4, _n = 5, vn = 6, jt = 7, H
279
279
  case _n: {
280
280
  const c = [], p = i([a, c], o);
281
281
  for (const [d, h] of o)
282
- (e || !(We(Oe(d)) || We(Oe(h)))) && c.push([l(d), l(h)]);
282
+ (e || !(We(Re(d)) || We(Re(h)))) && c.push([l(d), l(h)]);
283
283
  return p;
284
284
  }
285
285
  case vn: {
286
286
  const c = [], p = i([a, c], o);
287
287
  for (const d of o)
288
- (e || !We(Oe(d))) && c.push(l(d));
288
+ (e || !We(Re(d))) && c.push(l(d));
289
289
  return p;
290
290
  }
291
291
  }
@@ -321,7 +321,7 @@ const Bt = -1, en = 0, Qe = 1, Je = 2, Ln = 3, Nn = 4, _n = 5, vn = 6, jt = 7, H
321
321
  if (typeof e == "object")
322
322
  return Zr(e);
323
323
  if (typeof e == "function")
324
- return Rn(e);
324
+ return On(e);
325
325
  throw new Error("Expected function, string, or array as `test`");
326
326
  }
327
327
  );
@@ -330,7 +330,7 @@ function Zr(e) {
330
330
  let t = -1;
331
331
  for (; ++t < e.length; )
332
332
  n[t] = Vt(e[t]);
333
- return Rn(r);
333
+ return On(r);
334
334
  function r(...i) {
335
335
  let l = -1;
336
336
  for (; ++l < n.length; )
@@ -339,12 +339,12 @@ function Zr(e) {
339
339
  }
340
340
  }
341
341
  function ei(e) {
342
- return Rn(n);
342
+ return On(n);
343
343
  function n(t) {
344
344
  return t.tagName === e;
345
345
  }
346
346
  }
347
- function Rn(e) {
347
+ function On(e) {
348
348
  return n;
349
349
  function n(t, r, i) {
350
350
  return !!(ti(t) && e.call(
@@ -625,7 +625,7 @@ const bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
625
625
  /** @type {ReadonlyArray<keyof typeof types>} */
626
626
  Object.keys(bn)
627
627
  );
628
- class On extends J {
628
+ class Rn extends J {
629
629
  /**
630
630
  * @constructor
631
631
  * @param {string} property
@@ -648,14 +648,14 @@ class On extends J {
648
648
  }
649
649
  }
650
650
  }
651
- On.prototype.defined = !0;
651
+ Rn.prototype.defined = !0;
652
652
  function rt(e, n, t) {
653
653
  t && (e[n] = t);
654
654
  }
655
655
  function ze(e) {
656
656
  const n = {}, t = {};
657
657
  for (const [r, i] of Object.entries(e.properties)) {
658
- const l = new On(
658
+ const l = new Rn(
659
659
  r,
660
660
  e.transform(e.attributes || {}, r),
661
661
  i,
@@ -1698,23 +1698,23 @@ function vi(e, n) {
1698
1698
  return e.property[e.normal[t]];
1699
1699
  if (t.length > 4 && t.slice(0, 4) === "data" && _i.test(n)) {
1700
1700
  if (n.charAt(4) === "-") {
1701
- const l = n.slice(5).replace(it, Oi);
1701
+ const l = n.slice(5).replace(it, Ri);
1702
1702
  r = "data" + l.charAt(0).toUpperCase() + l.slice(1);
1703
1703
  } else {
1704
1704
  const l = n.slice(4);
1705
1705
  if (!it.test(l)) {
1706
- let o = l.replace(Ni, Ri);
1706
+ let o = l.replace(Ni, Oi);
1707
1707
  o.charAt(0) !== "-" && (o = "-" + o), n = "data" + o;
1708
1708
  }
1709
1709
  }
1710
- i = On;
1710
+ i = Rn;
1711
1711
  }
1712
1712
  return new i(r, n);
1713
1713
  }
1714
- function Ri(e) {
1714
+ function Oi(e) {
1715
1715
  return "-" + e.toLowerCase();
1716
1716
  }
1717
- function Oi(e) {
1717
+ function Ri(e) {
1718
1718
  return e.charAt(1).toUpperCase();
1719
1719
  }
1720
1720
  const Mi = $t([Gt, Pi, Xt, Qt, Jt], "html"), Mn = $t([Gt, zi, Xt, Qt, Jt], "svg");
@@ -1752,7 +1752,7 @@ function Fi() {
1752
1752
  );
1753
1753
  if (E.reason = T, E.filename = P.source, E.line = k, E.column = z, E.source = b, !P.silent) throw E;
1754
1754
  }
1755
- function O(T) {
1755
+ function R(T) {
1756
1756
  var E = T.exec(b);
1757
1757
  if (E) {
1758
1758
  var N = E[0];
@@ -1760,7 +1760,7 @@ function Fi() {
1760
1760
  }
1761
1761
  }
1762
1762
  function q() {
1763
- O(t);
1763
+ R(t);
1764
1764
  }
1765
1765
  function F(T) {
1766
1766
  var E;
@@ -1783,15 +1783,15 @@ function Fi() {
1783
1783
  }
1784
1784
  }
1785
1785
  function A() {
1786
- var T = B(), E = O(r);
1786
+ var T = B(), E = R(r);
1787
1787
  if (E) {
1788
- if (D(), !O(i)) return y("property missing ':'");
1789
- var N = O(l), W = T({
1788
+ if (D(), !R(i)) return y("property missing ':'");
1789
+ var N = R(l), W = T({
1790
1790
  type: h,
1791
1791
  property: w(E[0].replace(e, p)),
1792
1792
  value: N ? w(N[0].replace(e, p)) : p
1793
1793
  });
1794
- return O(o), W;
1794
+ return R(o), W;
1795
1795
  }
1796
1796
  }
1797
1797
  function I() {
@@ -1832,7 +1832,7 @@ function Di() {
1832
1832
  return Fe;
1833
1833
  }
1834
1834
  var Bi = /* @__PURE__ */ Di();
1835
- const at = /* @__PURE__ */ Ot(Bi), ji = at.default || at, Zt = er("end"), Fn = er("start");
1835
+ const at = /* @__PURE__ */ Rt(Bi), ji = at.default || at, Zt = er("end"), Fn = er("start");
1836
1836
  function er(e) {
1837
1837
  return n;
1838
1838
  function n(t) {
@@ -2461,12 +2461,12 @@ function Il(e) {
2461
2461
  break;
2462
2462
  }
2463
2463
  k(r);
2464
- let O = B;
2465
- for (; O < n.events.length; )
2466
- n.events[O][1].end = {
2464
+ let R = B;
2465
+ for (; R < n.events.length; )
2466
+ n.events[R][1].end = {
2467
2467
  ...y
2468
- }, O++;
2469
- return ce(n.events, H + 1, 0, n.events.slice(B)), n.events.length = O, u(C);
2468
+ }, R++;
2469
+ return ce(n.events, H + 1, 0, n.events.slice(B)), n.events.length = R, u(C);
2470
2470
  }
2471
2471
  return a(C);
2472
2472
  }
@@ -2522,8 +2522,8 @@ function Il(e) {
2522
2522
  i.events[y][1].end.offset > o)
2523
2523
  )
2524
2524
  return;
2525
- const O = n.events.length;
2526
- let q = O, F, D;
2525
+ const R = n.events.length;
2526
+ let q = R, F, D;
2527
2527
  for (; q--; )
2528
2528
  if (n.events[q][0] === "exit" && n.events[q][1].type === "chunkFlow") {
2529
2529
  if (F) {
@@ -2532,11 +2532,11 @@ function Il(e) {
2532
2532
  }
2533
2533
  F = !0;
2534
2534
  }
2535
- for (k(r), y = O; y < n.events.length; )
2535
+ for (k(r), y = R; y < n.events.length; )
2536
2536
  n.events[y][1].end = {
2537
2537
  ...D
2538
2538
  }, y++;
2539
- ce(n.events, q + 1, 0, n.events.slice(O)), n.events.length = y;
2539
+ ce(n.events, q + 1, 0, n.events.slice(R)), n.events.length = y;
2540
2540
  }
2541
2541
  }
2542
2542
  function k(C) {
@@ -2702,7 +2702,7 @@ const ar = {
2702
2702
  continuation: {
2703
2703
  tokenize: vl
2704
2704
  },
2705
- exit: Rl,
2705
+ exit: Ol,
2706
2706
  name: "blockQuote",
2707
2707
  tokenize: _l
2708
2708
  };
@@ -2732,14 +2732,14 @@ function vl(e, n, t) {
2732
2732
  return e.attempt(ar, n, t)(o);
2733
2733
  }
2734
2734
  }
2735
- function Rl(e) {
2735
+ function Ol(e) {
2736
2736
  e.exit("blockQuote");
2737
2737
  }
2738
2738
  const ur = {
2739
2739
  name: "characterEscape",
2740
- tokenize: Ol
2740
+ tokenize: Rl
2741
2741
  };
2742
- function Ol(e, n, t) {
2742
+ function Rl(e, n, t) {
2743
2743
  return r;
2744
2744
  function r(l) {
2745
2745
  return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(l), e.exit("escapeMarker"), i;
@@ -2792,8 +2792,8 @@ function Fl(e, n, t) {
2792
2792
  return u(y);
2793
2793
  }
2794
2794
  function u(y) {
2795
- const O = r.events[r.events.length - 1];
2796
- return l = O && O[1].type === "linePrefix" ? O[2].sliceSerialize(O[1], !0).length : 0, a = y, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(y);
2795
+ const R = r.events[r.events.length - 1];
2796
+ return l = R && R[1].type === "linePrefix" ? R[2].sliceSerialize(R[1], !0).length : 0, a = y, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(y);
2797
2797
  }
2798
2798
  function c(y) {
2799
2799
  return y === a ? (o++, e.consume(y), c) : o < 3 ? t(y) : (e.exit("codeFencedFenceSequence"), M(y) ? U(e, p, "whitespace")(y) : p(y));
@@ -2832,7 +2832,7 @@ function Fl(e, n, t) {
2832
2832
  function B(y) {
2833
2833
  return e.exit("codeFenced"), n(y);
2834
2834
  }
2835
- function H(y, O, q) {
2835
+ function H(y, R, q) {
2836
2836
  let F = 0;
2837
2837
  return D;
2838
2838
  function D(N) {
@@ -2848,7 +2848,7 @@ function Fl(e, n, t) {
2848
2848
  return N === a ? (F++, y.consume(N), T) : F >= o ? (y.exit("codeFencedFenceSequence"), M(N) ? U(y, E, "whitespace")(N) : E(N)) : q(N);
2849
2849
  }
2850
2850
  function E(N) {
2851
- return N === null || L(N) ? (y.exit("codeFencedFence"), O(N)) : q(N);
2851
+ return N === null || L(N) ? (y.exit("codeFencedFence"), R(N)) : q(N);
2852
2852
  }
2853
2853
  }
2854
2854
  }
@@ -3533,10 +3533,10 @@ function fo(e, n, t) {
3533
3533
  return m === 61 ? (e.consume(m), y) : M(m) ? (e.consume(m), H) : C(m);
3534
3534
  }
3535
3535
  function y(m) {
3536
- return m === null || m === 60 || m === 61 || m === 62 || m === 96 ? t(m) : m === 34 || m === 39 ? (e.consume(m), s = m, O) : M(m) ? (e.consume(m), y) : q(m);
3536
+ return m === null || m === 60 || m === 61 || m === 62 || m === 96 ? t(m) : m === 34 || m === 39 ? (e.consume(m), s = m, R) : M(m) ? (e.consume(m), y) : q(m);
3537
3537
  }
3538
- function O(m) {
3539
- return m === s ? (e.consume(m), s = null, F) : m === null || L(m) ? t(m) : (e.consume(m), O);
3538
+ function R(m) {
3539
+ return m === s ? (e.consume(m), s = null, F) : m === null || L(m) ? t(m) : (e.consume(m), R);
3540
3540
  }
3541
3541
  function q(m) {
3542
3542
  return m === null || m === 34 || m === 39 || m === 47 || m === 60 || m === 61 || m === 62 || m === 96 || Q(m) ? H(m) : (e.consume(m), q);
@@ -3659,10 +3659,10 @@ function xo(e, n, t) {
3659
3659
  return se(f) ? (e.consume(f), y) : t(f);
3660
3660
  }
3661
3661
  function y(f) {
3662
- return f === 45 || ne(f) ? (e.consume(f), y) : O(f);
3662
+ return f === 45 || ne(f) ? (e.consume(f), y) : R(f);
3663
3663
  }
3664
- function O(f) {
3665
- return L(f) ? (o = O, G(f)) : M(f) ? (e.consume(f), O) : W(f);
3664
+ function R(f) {
3665
+ return L(f) ? (o = R, G(f)) : M(f) ? (e.consume(f), R) : W(f);
3666
3666
  }
3667
3667
  function q(f) {
3668
3668
  return f === 45 || ne(f) ? (e.consume(f), q) : f === 47 || f === 62 || Q(f) ? F(f) : t(f);
@@ -3912,10 +3912,10 @@ const X = {
3912
3912
  exit: Bo,
3913
3913
  name: "list",
3914
3914
  tokenize: Mo
3915
- }, Ro = {
3915
+ }, Oo = {
3916
3916
  partial: !0,
3917
3917
  tokenize: jo
3918
- }, Oo = {
3918
+ }, Ro = {
3919
3919
  partial: !0,
3920
3920
  tokenize: Do
3921
3921
  };
@@ -3943,7 +3943,7 @@ function Mo(e, n, t) {
3943
3943
  rn,
3944
3944
  // Can’t be empty when interrupting.
3945
3945
  r.interrupt ? t : c,
3946
- e.attempt(Ro, d, p)
3946
+ e.attempt(Oo, d, p)
3947
3947
  );
3948
3948
  }
3949
3949
  function c(h) {
@@ -3963,7 +3963,7 @@ function Fo(e, n, t) {
3963
3963
  return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, U(e, n, "listItemIndent", r.containerState.size + 1)(a);
3964
3964
  }
3965
3965
  function l(a) {
3966
- return r.containerState.furtherBlankLines || !M(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(Oo, n, o)(a));
3966
+ return r.containerState.furtherBlankLines || !M(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(Ro, n, o)(a));
3967
3967
  }
3968
3968
  function o(a) {
3969
3969
  return r.containerState._closeFlow = !0, r.interrupt = void 0, U(e, e.attempt(X, n, t), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
@@ -4221,12 +4221,12 @@ function la(e, n, t) {
4221
4221
  const i = {}, l = [];
4222
4222
  let o = [], a = [];
4223
4223
  const s = {
4224
- attempt: O(H),
4225
- check: O(y),
4224
+ attempt: R(H),
4225
+ check: R(y),
4226
4226
  consume: z,
4227
4227
  enter: C,
4228
4228
  exit: B,
4229
- interrupt: O(y, {
4229
+ interrupt: R(y, {
4230
4230
  interrupt: !0
4231
4231
  })
4232
4232
  }, u = {
@@ -4305,7 +4305,7 @@ function la(e, n, t) {
4305
4305
  function y(A, I) {
4306
4306
  I.restore();
4307
4307
  }
4308
- function O(A, I) {
4308
+ function R(A, I) {
4309
4309
  return T;
4310
4310
  function T(E, N, W) {
4311
4311
  let G, ie, pe, f;
@@ -4600,7 +4600,7 @@ function da(e) {
4600
4600
  resourceTitleString: le,
4601
4601
  resource: he,
4602
4602
  setextHeading: s(q),
4603
- setextHeadingLineSequence: O,
4603
+ setextHeadingLineSequence: R,
4604
4604
  setextHeadingText: y,
4605
4605
  strong: s(),
4606
4606
  thematicBreak: s()
@@ -4623,14 +4623,14 @@ function da(e) {
4623
4623
  buffer: o,
4624
4624
  resume: c,
4625
4625
  data: t
4626
- }, R = [];
4626
+ }, O = [];
4627
4627
  let j = -1;
4628
4628
  for (; ++j < g.length; )
4629
4629
  if (g[j][1].type === "listOrdered" || g[j][1].type === "listUnordered")
4630
4630
  if (g[j][0] === "enter")
4631
- R.push(j);
4631
+ O.push(j);
4632
4632
  else {
4633
- const ae = R.pop();
4633
+ const ae = O.pop();
4634
4634
  j = i(g, ae, j);
4635
4635
  }
4636
4636
  for (j = -1; ++j < g.length; ) {
@@ -4659,9 +4659,9 @@ function da(e) {
4659
4659
  return S;
4660
4660
  }
4661
4661
  function i(g, S, _) {
4662
- let R = S - 1, j = -1, ae = !1, ke, fe, _e, ve;
4663
- for (; ++R <= _; ) {
4664
- const Z = g[R];
4662
+ let O = S - 1, j = -1, ae = !1, ke, fe, _e, ve;
4663
+ for (; ++O <= _; ) {
4664
+ const Z = g[O];
4665
4665
  switch (Z[1].type) {
4666
4666
  case "listUnordered":
4667
4667
  case "listOrdered":
@@ -4670,7 +4670,7 @@ function da(e) {
4670
4670
  break;
4671
4671
  }
4672
4672
  case "lineEndingBlank": {
4673
- Z[0] === "enter" && (ke && !ve && !j && !_e && (_e = R), ve = void 0);
4673
+ Z[0] === "enter" && (ke && !ve && !j && !_e && (_e = O), ve = void 0);
4674
4674
  break;
4675
4675
  }
4676
4676
  case "linePrefix":
@@ -4684,7 +4684,7 @@ function da(e) {
4684
4684
  }
4685
4685
  if (!j && Z[0] === "enter" && Z[1].type === "listItemPrefix" || j === -1 && Z[0] === "exit" && (Z[1].type === "listUnordered" || Z[1].type === "listOrdered")) {
4686
4686
  if (ke) {
4687
- let Ie = R;
4687
+ let Ie = O;
4688
4688
  for (fe = void 0; Ie--; ) {
4689
4689
  const me = g[Ie];
4690
4690
  if (me[1].type === "lineEnding" || me[1].type === "lineEndingBlank") {
@@ -4692,7 +4692,7 @@ function da(e) {
4692
4692
  fe && (g[fe][1].type = "lineEndingBlank", ae = !0), me[1].type = "lineEnding", fe = Ie;
4693
4693
  } else if (!(me[1].type === "linePrefix" || me[1].type === "blockQuotePrefix" || me[1].type === "blockQuotePrefixWhitespace" || me[1].type === "blockQuoteMarker" || me[1].type === "listItemIndent")) break;
4694
4694
  }
4695
- _e && (!fe || _e < fe) && (ke._spread = !0), ke.end = Object.assign({}, fe ? g[fe][1].start : Z[1].end), g.splice(fe || R, 0, ["exit", ke, Z[2]]), R++, _++;
4695
+ _e && (!fe || _e < fe) && (ke._spread = !0), ke.end = Object.assign({}, fe ? g[fe][1].start : Z[1].end), g.splice(fe || O, 0, ["exit", ke, Z[2]]), O++, _++;
4696
4696
  }
4697
4697
  if (Z[1].type === "listItemPrefix") {
4698
4698
  const Ie = {
@@ -4702,7 +4702,7 @@ function da(e) {
4702
4702
  // @ts-expect-error: we’ll add `end` in a second.
4703
4703
  end: void 0
4704
4704
  };
4705
- ke = Ie, g.splice(R, 0, ["enter", Ie, Z[2]]), R++, _++, _e = void 0, ve = !0;
4705
+ ke = Ie, g.splice(O, 0, ["enter", Ie, Z[2]]), O++, _++, _e = void 0, ve = !0;
4706
4706
  }
4707
4707
  }
4708
4708
  }
@@ -4710,8 +4710,8 @@ function da(e) {
4710
4710
  }
4711
4711
  function l(g, S) {
4712
4712
  return _;
4713
- function _(R) {
4714
- a.call(this, g(R), R), S && S.call(this, R);
4713
+ function _(O) {
4714
+ a.call(this, g(O), O), S && S.call(this, O);
4715
4715
  }
4716
4716
  }
4717
4717
  function o() {
@@ -4734,9 +4734,9 @@ function da(e) {
4734
4734
  }
4735
4735
  }
4736
4736
  function u(g, S) {
4737
- const _ = this.stack.pop(), R = this.tokenStack.pop();
4738
- if (R)
4739
- R[0].type !== g.type && (S ? S.call(this, g, R[0]) : (R[1] || wt).call(this, g, R[0]));
4737
+ const _ = this.stack.pop(), O = this.tokenStack.pop();
4738
+ if (O)
4739
+ O[0].type !== g.type && (S ? S.call(this, g, O[0]) : (O[1] || wt).call(this, g, O[0]));
4740
4740
  else throw new Error("Cannot close `" + g.type + "` (" + je({
4741
4741
  start: g.start,
4742
4742
  end: g.end
@@ -4796,7 +4796,7 @@ function da(e) {
4796
4796
  function y() {
4797
4797
  this.data.setextHeadingSlurpLineEnding = !0;
4798
4798
  }
4799
- function O(g) {
4799
+ function R(g) {
4800
4800
  const S = this.stack[this.stack.length - 1];
4801
4801
  S.depth = this.sliceSerialize(g).codePointAt(0) === 61 ? 1 : 2;
4802
4802
  }
@@ -4805,12 +4805,12 @@ function da(e) {
4805
4805
  }
4806
4806
  function F(g) {
4807
4807
  const _ = this.stack[this.stack.length - 1].children;
4808
- let R = _[_.length - 1];
4809
- (!R || R.type !== "text") && (R = Ar(), R.position = {
4808
+ let O = _[_.length - 1];
4809
+ (!O || O.type !== "text") && (O = Ar(), O.position = {
4810
4810
  start: ge(g.start),
4811
4811
  // @ts-expect-error: we’ll add `end` later.
4812
4812
  end: void 0
4813
- }, _.push(R)), this.stack.push(R);
4813
+ }, _.push(O)), this.stack.push(O);
4814
4814
  }
4815
4815
  function D(g) {
4816
4816
  const S = this.stack.pop();
@@ -4865,8 +4865,8 @@ function da(e) {
4865
4865
  function pe() {
4866
4866
  const g = this.stack[this.stack.length - 1], S = this.resume(), _ = this.stack[this.stack.length - 1];
4867
4867
  if (this.data.inReference = !0, _.type === "link") {
4868
- const R = g.children;
4869
- _.children = R;
4868
+ const O = g.children;
4869
+ _.children = O;
4870
4870
  } else
4871
4871
  _.alt = S;
4872
4872
  }
@@ -4893,10 +4893,10 @@ function da(e) {
4893
4893
  }
4894
4894
  function K(g) {
4895
4895
  const S = this.sliceSerialize(g), _ = this.data.characterReferenceType;
4896
- let R;
4897
- _ ? (R = or(S, _ === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : R = Hn(S);
4896
+ let O;
4897
+ _ ? (O = or(S, _ === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : O = Hn(S);
4898
4898
  const j = this.stack[this.stack.length - 1];
4899
- j.value += R;
4899
+ j.value += O;
4900
4900
  }
4901
4901
  function Ne(g) {
4902
4902
  const S = this.stack.pop();
@@ -5288,7 +5288,7 @@ function va(e, n) {
5288
5288
  };
5289
5289
  return e.patch(n, l), e.applyData(n, l);
5290
5290
  }
5291
- function Ra(e, n) {
5291
+ function Oa(e, n) {
5292
5292
  const t = {
5293
5293
  type: "element",
5294
5294
  tagName: "p",
@@ -5297,7 +5297,7 @@ function Ra(e, n) {
5297
5297
  };
5298
5298
  return e.patch(n, t), e.applyData(n, t);
5299
5299
  }
5300
- function Oa(e, n) {
5300
+ function Ra(e, n) {
5301
5301
  const t = { type: "root", children: e.wrap(e.all(n)) };
5302
5302
  return e.patch(n, t), e.applyData(n, t);
5303
5303
  }
@@ -5421,9 +5421,9 @@ const Ua = {
5421
5421
  link: La,
5422
5422
  listItem: Na,
5423
5423
  list: va,
5424
- paragraph: Ra,
5424
+ paragraph: Oa,
5425
5425
  // @ts-expect-error: root is different, but hard to type.
5426
- root: Oa,
5426
+ root: Ra,
5427
5427
  strong: Ma,
5428
5428
  table: Fa,
5429
5429
  tableCell: Ba,
@@ -5680,7 +5680,7 @@ function eu() {
5680
5680
  }, pn;
5681
5681
  }
5682
5682
  var nu = /* @__PURE__ */ eu();
5683
- const hn = /* @__PURE__ */ Ot(nu);
5683
+ const hn = /* @__PURE__ */ Rt(nu);
5684
5684
  function Tn(e) {
5685
5685
  if (typeof e != "object" || e === null)
5686
5686
  return !1;
@@ -6836,17 +6836,17 @@ function wu(e) {
6836
6836
  }
6837
6837
  class Su {
6838
6838
  constructor() {
6839
- Re(this, "remarkGfm", null);
6840
- Re(this, "rehypeKatex", null);
6841
- Re(this, "remarkMath", null);
6842
- Re(this, "rehypeHighlight", null);
6839
+ Oe(this, "remarkGfm", null);
6840
+ Oe(this, "rehypeKatex", null);
6841
+ Oe(this, "remarkMath", null);
6842
+ Oe(this, "rehypeHighlight", null);
6843
6843
  this.remarkGfm = null, this.rehypeKatex = null, this.remarkMath = null, this.rehypeHighlight = null;
6844
6844
  }
6845
6845
  async loadGfm() {
6846
6846
  if (!this.remarkGfm) {
6847
6847
  const { default: n } = await import(
6848
6848
  /* webpackChunkName: "LazyRemarkGfm" */
6849
- "./index.CGqVmMfb.js"
6849
+ "./index.C1oJF5l6.js"
6850
6850
  );
6851
6851
  this.remarkGfm = n;
6852
6852
  }
@@ -6857,7 +6857,7 @@ class Su {
6857
6857
  Au("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6858
6858
  const { default: n } = await import(
6859
6859
  /* webpackChunkName: "LazyRehypeKatex" */
6860
- "./index.3v7MKQwv.js"
6860
+ "./index.CL19EydD.js"
6861
6861
  );
6862
6862
  this.rehypeKatex = n;
6863
6863
  }
@@ -6867,7 +6867,7 @@ class Su {
6867
6867
  if (!this.remarkMath) {
6868
6868
  const { default: n } = await import(
6869
6869
  /* webpackChunkName: "LazyRemarkMath" */
6870
- "./index._l_gn6_F.js"
6870
+ "./index.D5impi7P.js"
6871
6871
  );
6872
6872
  this.remarkMath = n;
6873
6873
  }
@@ -6877,7 +6877,7 @@ class Su {
6877
6877
  if (!this.rehypeHighlight) {
6878
6878
  const { default: n } = await import(
6879
6879
  /* webpackChunkName: "LazyRehypeHighlight" */
6880
- "./index.DCs5sFxq.js"
6880
+ "./index.Z4tPuIdv.js"
6881
6881
  );
6882
6882
  this.rehypeHighlight = n;
6883
6883
  }
@@ -6944,7 +6944,7 @@ const Ye = new Su(), Cu = ({
6944
6944
  Ze(() => {
6945
6945
  n.current = e;
6946
6946
  }, [e]);
6947
- const s = Rr((u) => {
6947
+ const s = Or((u) => {
6948
6948
  (async () => {
6949
6949
  const { rehypePlugins: c, remarkPlugins: p } = l.current;
6950
6950
  if (!t.current && Eu(u)) {
@@ -6977,7 +6977,7 @@ const Ye = new Su(), Cu = ({
6977
6977
  MODEL: "Model",
6978
6978
  PLUGIN: "Plugin",
6979
6979
  USAGE: "Usage"
6980
- }, vt = zn("max-w-[99cqw] mt-3"), Rt = zn("max-w-xs", "sm:max-w-3xl", "prose-li:ps-3"), Nu = Mt.memo(
6980
+ }, vt = zn("max-w-[99cqw] mt-3"), Ot = zn("max-w-xs", "sm:max-w-3xl", "prose-li:ps-3"), Nu = Mt.memo(
6981
6981
  ({
6982
6982
  content: e,
6983
6983
  annotations: n,
@@ -6987,7 +6987,7 @@ const Ye = new Su(), Cu = ({
6987
6987
  }) => {
6988
6988
  const l = Kr(e, i), {
6989
6989
  state: { streaming: o }
6990
- } = Or(_r), a = n == null ? void 0 : n.model, [s, u] = Lu(), [c] = vr({
6990
+ } = Rr(_r), a = n == null ? void 0 : n.model, [s, u] = Lu(), [c] = vr({
6991
6991
  key: Br + jr,
6992
6992
  initialValue: !1
6993
6993
  }), p = c && {
@@ -7001,7 +7001,7 @@ const Ye = new Su(), Cu = ({
7001
7001
  {
7002
7002
  tail: !0,
7003
7003
  className: vt,
7004
- contentClassName: Rt,
7004
+ contentClassName: Ot,
7005
7005
  noMaxWidth: !0,
7006
7006
  children: /* @__PURE__ */ te("div", { className: "flex items-center justify-center italic text-copy-error-dark dark:text-red-300", children: s })
7007
7007
  }
@@ -7013,7 +7013,7 @@ const Ye = new Su(), Cu = ({
7013
7013
  copyToClipboardFocusMode: "light",
7014
7014
  footer: p,
7015
7015
  className: vt,
7016
- contentClassName: Rt,
7016
+ contentClassName: Ot,
7017
7017
  noMaxWidth: !0,
7018
7018
  children: s
7019
7019
  }