@versini/sassysaint 8.3.4 → 8.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
- import * as Jn from "react/jsx-runtime";
2
- import { jsx as Zn } from "react/jsx-runtime";
3
- import { getDefaultExportFromCjs as At, ChatContext as xr, E as kr, Re as Ue } from "./App.BEdx5y6L.js";
4
- import br from "clsx";
5
- import { useRef as ne, useState as wr, useCallback as Sr, useContext as Cr, useEffect as Er } from "react";
6
- import { LOCAL_STORAGE_PREFIX as Ir, LOCAL_STORAGE_CHAT_DETAILS as Ar, convertCamelCaseToReadable as Tr, ROLE_INTERNAL as Pr } from "./index.0C02kHS_.js";
7
- const Tt = -1, Qn = 0, Yn = 1, Xn = 2, Se = 3, Ce = 4, Ee = 5, Ie = 6, Pt = 7, Lt = 8, Ve = typeof self == "object" ? self : globalThis, Lr = (n, e) => {
1
+ import * as Zn from "react/jsx-runtime";
2
+ import { jsx as ne } from "react/jsx-runtime";
3
+ import { getDefaultExportFromCjs as At, ChatContext as kr, E as br, Re as Ue } from "./App.CXxtuimC.js";
4
+ import wr from "clsx";
5
+ import { useRef as Dn, useState as Sr, useEffect as Tt, useCallback as Cr, useContext as Er } from "react";
6
+ import { LOCAL_STORAGE_PREFIX as Ir, LOCAL_STORAGE_CHAT_DETAILS as Ar, convertCamelCaseToReadable as Tr, ROLE_INTERNAL as Pr } from "./index.0cIpNIn7.js";
7
+ const Pt = -1, Gn = 0, Xn = 1, Qn = 2, Se = 3, Ce = 4, Ee = 5, Ie = 6, Lt = 7, zt = 8, Ve = typeof self == "object" ? self : globalThis, Lr = (n, e) => {
8
8
  const t = (i, l) => (n.set(l, i), i), r = (i) => {
9
9
  if (n.has(i))
10
10
  return n.get(i);
11
11
  const [l, o] = e[i];
12
12
  switch (l) {
13
- case Qn:
14
- case Tt:
13
+ case Gn:
14
+ case Pt:
15
15
  return t(o, i);
16
- case Yn: {
16
+ case Xn: {
17
17
  const u = t([], i);
18
18
  for (const s of o)
19
19
  u.push(r(s));
20
20
  return u;
21
21
  }
22
- case Xn: {
22
+ case Qn: {
23
23
  const u = t({}, i);
24
24
  for (const [s, a] of o)
25
25
  u[r(s)] = r(a);
@@ -43,11 +43,11 @@ const Tt = -1, Qn = 0, Yn = 1, Xn = 2, Se = 3, Ce = 4, Ee = 5, Ie = 6, Pt = 7, L
43
43
  u.add(r(s));
44
44
  return u;
45
45
  }
46
- case Pt: {
46
+ case Lt: {
47
47
  const { name: u, message: s } = o;
48
48
  return t(new Ve[u](s), i);
49
49
  }
50
- case Lt:
50
+ case zt:
51
51
  return t(BigInt(o), i);
52
52
  case "BigInt":
53
53
  return t(Object(BigInt(o)), i);
@@ -55,16 +55,16 @@ const Tt = -1, Qn = 0, Yn = 1, Xn = 2, Se = 3, Ce = 4, Ee = 5, Ie = 6, Pt = 7, L
55
55
  return t(new Ve[l](o), i);
56
56
  };
57
57
  return r;
58
- }, qe = (n) => Lr(/* @__PURE__ */ new Map(), n)(0), In = "", { toString: zr } = {}, { keys: Nr } = Object, Dn = (n) => {
58
+ }, qe = (n) => Lr(/* @__PURE__ */ new Map(), n)(0), In = "", { toString: zr } = {}, { keys: Nr } = Object, Fn = (n) => {
59
59
  const e = typeof n;
60
60
  if (e !== "object" || !n)
61
- return [Qn, e];
61
+ return [Gn, e];
62
62
  const t = zr.call(n).slice(8, -1);
63
63
  switch (t) {
64
64
  case "Array":
65
- return [Yn, In];
66
- case "Object":
67
65
  return [Xn, In];
66
+ case "Object":
67
+ return [Qn, In];
68
68
  case "Date":
69
69
  return [Se, In];
70
70
  case "RegExp":
@@ -74,21 +74,21 @@ const Tt = -1, Qn = 0, Yn = 1, Xn = 2, Se = 3, Ce = 4, Ee = 5, Ie = 6, Pt = 7, L
74
74
  case "Set":
75
75
  return [Ie, In];
76
76
  }
77
- return t.includes("Array") ? [Yn, t] : t.includes("Error") ? [Pt, t] : [Xn, t];
78
- }, Vn = ([n, e]) => n === Qn && (e === "function" || e === "symbol"), Or = (n, e, t, r) => {
77
+ return t.includes("Array") ? [Xn, t] : t.includes("Error") ? [Lt, t] : [Qn, t];
78
+ }, qn = ([n, e]) => n === Gn && (e === "function" || e === "symbol"), Or = (n, e, t, r) => {
79
79
  const i = (o, u) => {
80
80
  const s = r.push(o) - 1;
81
81
  return t.set(u, s), s;
82
82
  }, l = (o) => {
83
83
  if (t.has(o))
84
84
  return t.get(o);
85
- let [u, s] = Dn(o);
85
+ let [u, s] = Fn(o);
86
86
  switch (u) {
87
- case Qn: {
87
+ case Gn: {
88
88
  let c = o;
89
89
  switch (s) {
90
90
  case "bigint":
91
- u = Lt, c = o.toString();
91
+ u = zt, c = o.toString();
92
92
  break;
93
93
  case "function":
94
94
  case "symbol":
@@ -97,11 +97,11 @@ const Tt = -1, Qn = 0, Yn = 1, Xn = 2, Se = 3, Ce = 4, Ee = 5, Ie = 6, Pt = 7, L
97
97
  c = null;
98
98
  break;
99
99
  case "undefined":
100
- return i([Tt], o);
100
+ return i([Pt], o);
101
101
  }
102
102
  return i([u, c], o);
103
103
  }
104
- case Yn: {
104
+ case Xn: {
105
105
  if (s)
106
106
  return i([s, [...o]], o);
107
107
  const c = [], p = i([u, c], o);
@@ -109,7 +109,7 @@ const Tt = -1, Qn = 0, Yn = 1, Xn = 2, Se = 3, Ce = 4, Ee = 5, Ie = 6, Pt = 7, L
109
109
  c.push(l(d));
110
110
  return p;
111
111
  }
112
- case Xn: {
112
+ case Qn: {
113
113
  if (s)
114
114
  switch (s) {
115
115
  case "BigInt":
@@ -123,7 +123,7 @@ const Tt = -1, Qn = 0, Yn = 1, Xn = 2, Se = 3, Ce = 4, Ee = 5, Ie = 6, Pt = 7, L
123
123
  return l(o.toJSON());
124
124
  const c = [], p = i([u, c], o);
125
125
  for (const d of Nr(o))
126
- (n || !Vn(Dn(o[d]))) && c.push([l(d), l(o[d])]);
126
+ (n || !qn(Fn(o[d]))) && c.push([l(d), l(o[d])]);
127
127
  return p;
128
128
  }
129
129
  case Se:
@@ -135,13 +135,13 @@ const Tt = -1, Qn = 0, Yn = 1, Xn = 2, Se = 3, Ce = 4, Ee = 5, Ie = 6, Pt = 7, L
135
135
  case Ee: {
136
136
  const c = [], p = i([u, c], o);
137
137
  for (const [d, f] of o)
138
- (n || !(Vn(Dn(d)) || Vn(Dn(f)))) && c.push([l(d), l(f)]);
138
+ (n || !(qn(Fn(d)) || qn(Fn(f)))) && c.push([l(d), l(f)]);
139
139
  return p;
140
140
  }
141
141
  case Ie: {
142
142
  const c = [], p = i([u, c], o);
143
143
  for (const d of o)
144
- (n || !Vn(Dn(d))) && c.push(l(d));
144
+ (n || !qn(Fn(d))) && c.push(l(d));
145
145
  return p;
146
146
  }
147
147
  }
@@ -155,7 +155,7 @@ const Tt = -1, Qn = 0, Yn = 1, Xn = 2, Se = 3, Ce = 4, Ee = 5, Ie = 6, Pt = 7, L
155
155
  }, bn = typeof structuredClone == "function" ? (
156
156
  /* c8 ignore start */
157
157
  (n, e) => e && ("json" in e || "lossy" in e) ? qe($e(n, e)) : structuredClone(n)
158
- ) : (n, e) => qe($e(n, e)), zt = (
158
+ ) : (n, e) => qe($e(n, e)), Nt = (
159
159
  // Note: overloads in JSDoc can’t yet use different `@template`s.
160
160
  /**
161
161
  * @type {(
@@ -185,7 +185,7 @@ function Dr(n) {
185
185
  const e = [];
186
186
  let t = -1;
187
187
  for (; ++t < n.length; )
188
- e[t] = zt(n[t]);
188
+ e[t] = Nt(n[t]);
189
189
  return Ae(r);
190
190
  function r(...i) {
191
191
  let l = -1;
@@ -230,7 +230,7 @@ function jr(n) {
230
230
  function Hr(n) {
231
231
  return n.join(" ").trim();
232
232
  }
233
- const Nt = (
233
+ const Ot = (
234
234
  // Note: overloads in JSDoc can’t yet use different `@template`s.
235
235
  /**
236
236
  * @type {(
@@ -249,7 +249,7 @@ const Nt = (
249
249
  if (n == null)
250
250
  return $r;
251
251
  if (typeof n == "function")
252
- return Gn(n);
252
+ return Kn(n);
253
253
  if (typeof n == "object")
254
254
  return Array.isArray(n) ? Ur(n) : Vr(n);
255
255
  if (typeof n == "string")
@@ -261,8 +261,8 @@ function Ur(n) {
261
261
  const e = [];
262
262
  let t = -1;
263
263
  for (; ++t < n.length; )
264
- e[t] = Nt(n[t]);
265
- return Gn(r);
264
+ e[t] = Ot(n[t]);
265
+ return Kn(r);
266
266
  function r(...i) {
267
267
  let l = -1;
268
268
  for (; ++l < e.length; )
@@ -275,7 +275,7 @@ function Vr(n) {
275
275
  /** @type {Record<string, unknown>} */
276
276
  n
277
277
  );
278
- return Gn(t);
278
+ return Kn(t);
279
279
  function t(r) {
280
280
  const i = (
281
281
  /** @type {Record<string, unknown>} */
@@ -289,12 +289,12 @@ function Vr(n) {
289
289
  }
290
290
  }
291
291
  function qr(n) {
292
- return Gn(e);
292
+ return Kn(e);
293
293
  function e(t) {
294
294
  return t && t.type === n;
295
295
  }
296
296
  }
297
- function Gn(n) {
297
+ function Kn(n) {
298
298
  return e;
299
299
  function e(t, r, i) {
300
300
  return !!(Wr(t) && n.call(
@@ -311,11 +311,11 @@ function $r() {
311
311
  function Wr(n) {
312
312
  return n !== null && typeof n == "object" && "type" in n;
313
313
  }
314
- const Ot = [], Yr = !0, We = !1, Xr = "skip";
314
+ const Dt = [], Yr = !0, We = !1, Xr = "skip";
315
315
  function Qr(n, e, t, r) {
316
316
  let i;
317
317
  typeof e == "function" && typeof t != "function" ? (r = t, t = e) : i = e;
318
- const l = Nt(i), o = r ? -1 : 1;
318
+ const l = Ot(i), o = r ? -1 : 1;
319
319
  u(n, void 0, [])();
320
320
  function u(s, a, c) {
321
321
  const p = (
@@ -336,7 +336,7 @@ function Qr(n, e, t, r) {
336
336
  }
337
337
  return d;
338
338
  function d() {
339
- let f = Ot, w, b, L;
339
+ let f = Dt, w, b, L;
340
340
  if ((!e || l(s, a, c[c.length - 1] || void 0)) && (f = Gr(t(s, c)), f[0] === We))
341
341
  return f;
342
342
  if ("children" in s && s.children) {
@@ -357,9 +357,9 @@ function Qr(n, e, t, r) {
357
357
  }
358
358
  }
359
359
  function Gr(n) {
360
- return Array.isArray(n) ? n : typeof n == "number" ? [Yr, n] : n == null ? Ot : [n];
360
+ return Array.isArray(n) ? n : typeof n == "number" ? [Yr, n] : n == null ? Dt : [n];
361
361
  }
362
- function Dt(n, e, t, r) {
362
+ function Ft(n, e, t, r) {
363
363
  let i, l, o;
364
364
  typeof e == "function" && typeof t != "function" ? (l = void 0, o = e, i = t) : (l = e, o = t, i = r), Qr(n, l, u, i);
365
365
  function u(s, a) {
@@ -369,15 +369,15 @@ function Dt(n, e, t, r) {
369
369
  }
370
370
  const Kr = ["http", "https"], Jr = ["nofollow"], Zr = {};
371
371
  function ni(n) {
372
- const e = n || Zr, t = e.protocols || Kr, r = zt(e.test);
372
+ const e = n || Zr, t = e.protocols || Kr, r = Nt(e.test);
373
373
  return function(i) {
374
- Dt(i, "element", function(l, o, u) {
374
+ Ft(i, "element", function(l, o, u) {
375
375
  if (l.tagName === "a" && typeof l.properties.href == "string" && r(l, o, u)) {
376
376
  const s = l.properties.href;
377
377
  if (Br(s) ? t.includes(s.slice(0, s.indexOf(":"))) : s.startsWith("//")) {
378
- const a = Fn(e.content, l), c = a && !Array.isArray(a) ? [a] : a, p = Fn(e.rel, l) || Jr, d = typeof p == "string" ? jr(p) : p, f = Fn(e.target, l), w = Fn(e.properties, l);
378
+ const a = Rn(e.content, l), c = a && !Array.isArray(a) ? [a] : a, p = Rn(e.rel, l) || Jr, d = typeof p == "string" ? jr(p) : p, f = Rn(e.target, l), w = Rn(e.properties, l);
379
379
  if (w && Object.assign(l.properties, bn(w)), d.length > 0 && (l.properties.rel = [...d]), f && (l.properties.target = f), c) {
380
- const b = Fn(e.contentProperties, l) || {};
380
+ const b = Rn(e.contentProperties, l) || {};
381
381
  l.children.push({
382
382
  type: "element",
383
383
  tagName: "span",
@@ -390,7 +390,7 @@ function ni(n) {
390
390
  });
391
391
  };
392
392
  }
393
- function Fn(n, e) {
393
+ function Rn(n, e) {
394
394
  return typeof n == "function" ? n(e) : n;
395
395
  }
396
396
  function ha(n) {
@@ -420,7 +420,7 @@ function oi(n) {
420
420
  function Xe(n) {
421
421
  return n.replace(li, "") === "";
422
422
  }
423
- class jn {
423
+ class Hn {
424
424
  /**
425
425
  * @param {SchemaType['property']} property
426
426
  * Property.
@@ -435,14 +435,14 @@ class jn {
435
435
  this.normal = t, this.property = e, r && (this.space = r);
436
436
  }
437
437
  }
438
- jn.prototype.normal = {};
439
- jn.prototype.property = {};
440
- jn.prototype.space = void 0;
441
- function Ft(n, e) {
438
+ Hn.prototype.normal = {};
439
+ Hn.prototype.property = {};
440
+ Hn.prototype.space = void 0;
441
+ function Rt(n, e) {
442
442
  const t = {}, r = {};
443
443
  for (const i of n)
444
444
  Object.assign(t, i.property), Object.assign(r, i.normal);
445
- return new jn(t, r, e);
445
+ return new Hn(t, r, e);
446
446
  }
447
447
  function he(n) {
448
448
  return n.toLowerCase();
@@ -473,11 +473,11 @@ J.prototype.property = "";
473
473
  J.prototype.spaceSeparated = !1;
474
474
  J.prototype.space = void 0;
475
475
  let ui = 0;
476
- const D = wn(), $ = wn(), Rt = wn(), x = wn(), U = wn(), An = wn(), nn = wn();
476
+ const D = wn(), $ = wn(), _t = wn(), x = wn(), U = wn(), An = wn(), nn = wn();
477
477
  function wn() {
478
478
  return 2 ** ++ui;
479
479
  }
480
- const me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: D, booleanish: $, commaOrSpaceSeparated: nn, commaSeparated: An, number: x, overloadedBoolean: Rt, spaceSeparated: U }, Symbol.toStringTag, { value: "Module" })), ee = (
480
+ const me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: D, booleanish: $, commaOrSpaceSeparated: nn, commaSeparated: An, number: x, overloadedBoolean: _t, spaceSeparated: U }, Symbol.toStringTag, { value: "Module" })), ee = (
481
481
  /** @type {ReadonlyArray<keyof typeof types>} */
482
482
  Object.keys(me)
483
483
  );
@@ -519,9 +519,9 @@ function Pn(n) {
519
519
  );
520
520
  n.mustUseProperty && n.mustUseProperty.includes(r) && (l.mustUseProperty = !0), e[r] = l, t[he(r)] = r, t[he(l.attribute)] = r;
521
521
  }
522
- return new jn(e, t, n.space);
522
+ return new Hn(e, t, n.space);
523
523
  }
524
- const _t = Pn({
524
+ const vt = Pn({
525
525
  properties: {
526
526
  ariaActiveDescendant: null,
527
527
  ariaAtomic: $,
@@ -577,11 +577,11 @@ const _t = Pn({
577
577
  return e === "role" ? e : "aria-" + e.slice(4).toLowerCase();
578
578
  }
579
579
  });
580
- function vt(n, e) {
580
+ function Mt(n, e) {
581
581
  return e in n ? n[e] : e;
582
582
  }
583
- function Mt(n, e) {
584
- return vt(n, e.toLowerCase());
583
+ function Bt(n, e) {
584
+ return Mt(n, e.toLowerCase());
585
585
  }
586
586
  const ai = Pn({
587
587
  attributes: {
@@ -631,7 +631,7 @@ const ai = Pn({
631
631
  dir: null,
632
632
  dirName: null,
633
633
  disabled: D,
634
- download: Rt,
634
+ download: _t,
635
635
  draggable: $,
636
636
  encType: null,
637
637
  enterKeyHint: null,
@@ -943,7 +943,7 @@ const ai = Pn({
943
943
  unselectable: null
944
944
  },
945
945
  space: "html",
946
- transform: Mt
946
+ transform: Bt
947
947
  }), si = Pn({
948
948
  attributes: {
949
949
  accentHeight: "accent-height",
@@ -1502,8 +1502,8 @@ const ai = Pn({
1502
1502
  zoomAndPan: null
1503
1503
  },
1504
1504
  space: "svg",
1505
- transform: vt
1506
- }), Bt = Pn({
1505
+ transform: Mt
1506
+ }), jt = Pn({
1507
1507
  properties: {
1508
1508
  xLinkActuate: null,
1509
1509
  xLinkArcRole: null,
@@ -1517,12 +1517,12 @@ const ai = Pn({
1517
1517
  transform(n, e) {
1518
1518
  return "xlink:" + e.slice(5).toLowerCase();
1519
1519
  }
1520
- }), jt = Pn({
1520
+ }), Ht = Pn({
1521
1521
  attributes: { xmlnsxlink: "xmlns:xlink" },
1522
1522
  properties: { xmlnsXLink: null, xmlns: null },
1523
1523
  space: "xmlns",
1524
- transform: Mt
1525
- }), Ht = Pn({
1524
+ transform: Bt
1525
+ }), Ut = Pn({
1526
1526
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
1527
1527
  space: "xml",
1528
1528
  transform(n, e) {
@@ -1573,8 +1573,8 @@ function mi(n) {
1573
1573
  function di(n) {
1574
1574
  return n.charAt(1).toUpperCase();
1575
1575
  }
1576
- const gi = Ft([_t, ai, Bt, jt, Ht], "html"), Pe = Ft([_t, si, Bt, jt, Ht], "svg");
1577
- var Rn = {}, te, Ke;
1576
+ const gi = Rt([vt, ai, jt, Ht, Ut], "html"), Pe = Rt([vt, si, jt, Ht, Ut], "svg");
1577
+ var _n = {}, te, Ke;
1578
1578
  function yi() {
1579
1579
  if (Ke) return te;
1580
1580
  Ke = 1;
@@ -1666,12 +1666,12 @@ function yi() {
1666
1666
  }
1667
1667
  var Je;
1668
1668
  function xi() {
1669
- if (Je) return Rn;
1669
+ if (Je) return _n;
1670
1670
  Je = 1;
1671
- var n = Rn.__importDefault || function(r) {
1671
+ var n = _n.__importDefault || function(r) {
1672
1672
  return r && r.__esModule ? r : { default: r };
1673
1673
  };
1674
- Object.defineProperty(Rn, "__esModule", { value: !0 }), Rn.default = t;
1674
+ Object.defineProperty(_n, "__esModule", { value: !0 }), _n.default = t;
1675
1675
  var e = n(/* @__PURE__ */ yi());
1676
1676
  function t(r, i) {
1677
1677
  var l = null;
@@ -1685,11 +1685,11 @@ function xi() {
1685
1685
  }
1686
1686
  }), l;
1687
1687
  }
1688
- return Rn;
1688
+ return _n;
1689
1689
  }
1690
1690
  var ki = /* @__PURE__ */ xi();
1691
- const Ze = /* @__PURE__ */ At(ki), bi = Ze.default || Ze, Ut = Vt("end"), Le = Vt("start");
1692
- function Vt(n) {
1691
+ const Ze = /* @__PURE__ */ At(ki), bi = Ze.default || Ze, Vt = qt("end"), Le = qt("start");
1692
+ function qt(n) {
1693
1693
  return e;
1694
1694
  function e(t) {
1695
1695
  const r = t && t.position && t.position[n] || {};
@@ -1702,11 +1702,11 @@ function Vt(n) {
1702
1702
  }
1703
1703
  }
1704
1704
  function wi(n) {
1705
- const e = Le(n), t = Ut(n);
1705
+ const e = Le(n), t = Vt(n);
1706
1706
  if (e && t)
1707
1707
  return { start: e, end: t };
1708
1708
  }
1709
- function vn(n) {
1709
+ function Mn(n) {
1710
1710
  return !n || typeof n != "object" ? "" : "position" in n || "type" in n ? nt(n.position) : "start" in n || "end" in n ? nt(n) : "line" in n || "column" in n ? de(n) : "";
1711
1711
  }
1712
1712
  function de(n) {
@@ -1789,7 +1789,7 @@ class Q extends Error {
1789
1789
  s && (l.place = s.position);
1790
1790
  }
1791
1791
  const u = l.place && "start" in l.place ? l.place.start : l.place;
1792
- this.ancestors = l.ancestors || void 0, this.cause = l.cause || void 0, this.column = u ? u.column : void 0, this.fatal = void 0, this.message = i, this.line = u ? u.line : void 0, this.name = vn(l.place) || "1:1", this.place = l.place || void 0, this.reason = this.message, this.ruleId = l.ruleId || void 0, this.source = l.source || void 0, this.stack = o && l.cause && typeof l.cause.stack == "string" ? l.cause.stack : "";
1792
+ this.ancestors = l.ancestors || void 0, this.cause = l.cause || void 0, this.column = u ? u.column : void 0, this.fatal = void 0, this.message = i, this.line = u ? u.line : void 0, this.name = Mn(l.place) || "1:1", this.place = l.place || void 0, this.reason = this.message, this.ruleId = l.ruleId || void 0, this.source = l.source || void 0, this.stack = o && l.cause && typeof l.cause.stack == "string" ? l.cause.stack : "";
1793
1793
  }
1794
1794
  }
1795
1795
  Q.prototype.file = "";
@@ -1805,7 +1805,7 @@ Q.prototype.fatal = void 0;
1805
1805
  Q.prototype.place = void 0;
1806
1806
  Q.prototype.ruleId = void 0;
1807
1807
  Q.prototype.source = void 0;
1808
- const ze = {}.hasOwnProperty, Si = /* @__PURE__ */ new Map(), Ci = /[A-Z]/g, Ei = /-([a-z])/g, Ii = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Ai = /* @__PURE__ */ new Set(["td", "th"]), qt = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1808
+ const ze = {}.hasOwnProperty, Si = /* @__PURE__ */ new Map(), Ci = /[A-Z]/g, Ei = /-([a-z])/g, Ii = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Ai = /* @__PURE__ */ new Set(["td", "th"]), $t = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1809
1809
  function Ti(n, e) {
1810
1810
  if (!e || e.Fragment === void 0)
1811
1811
  throw new TypeError("Expected `Fragment` in options");
@@ -1838,7 +1838,7 @@ function Ti(n, e) {
1838
1838
  schema: e.space === "svg" ? Pe : gi,
1839
1839
  stylePropertyNameCase: e.stylePropertyNameCase || "dom",
1840
1840
  tableCellAlignToStyle: e.tableCellAlignToStyle !== !1
1841
- }, l = $t(i, n, void 0);
1841
+ }, l = Wt(i, n, void 0);
1842
1842
  return l && typeof l != "string" ? l : i.create(
1843
1843
  n,
1844
1844
  i.Fragment,
@@ -1846,7 +1846,7 @@ function Ti(n, e) {
1846
1846
  void 0
1847
1847
  );
1848
1848
  }
1849
- function $t(n, e, t) {
1849
+ function Wt(n, e, t) {
1850
1850
  if (e.type === "element")
1851
1851
  return Pi(n, e, t);
1852
1852
  if (e.type === "mdxFlowExpression" || e.type === "mdxTextExpression")
@@ -1864,11 +1864,11 @@ function Pi(n, e, t) {
1864
1864
  const r = n.schema;
1865
1865
  let i = r;
1866
1866
  e.tagName.toLowerCase() === "svg" && r.space === "html" && (i = Pe, n.schema = i), n.ancestors.push(e);
1867
- const l = Yt(n, e.tagName, !1), o = _i(n, e);
1867
+ const l = Xt(n, e.tagName, !1), o = _i(n, e);
1868
1868
  let u = Oe(n, e);
1869
1869
  return Ii.has(e.tagName) && (u = u.filter(function(s) {
1870
1870
  return typeof s == "string" ? !oi(s) : !0;
1871
- })), Wt(n, o, l, e), Ne(o, u), n.ancestors.pop(), n.schema = r, n.create(e, l, o, t);
1871
+ })), Yt(n, o, l, e), Ne(o, u), n.ancestors.pop(), n.schema = r, n.create(e, l, o, t);
1872
1872
  }
1873
1873
  function Li(n, e) {
1874
1874
  if (e.data && e.data.estree && n.evaluater) {
@@ -1878,7 +1878,7 @@ function Li(n, e) {
1878
1878
  n.evaluater.evaluateExpression(r.expression)
1879
1879
  );
1880
1880
  }
1881
- Bn(n, e.position);
1881
+ jn(n, e.position);
1882
1882
  }
1883
1883
  function zi(n, e) {
1884
1884
  if (e.data && e.data.estree && n.evaluater)
@@ -1886,14 +1886,14 @@ function zi(n, e) {
1886
1886
  /** @type {Child | undefined} */
1887
1887
  n.evaluater.evaluateProgram(e.data.estree)
1888
1888
  );
1889
- Bn(n, e.position);
1889
+ jn(n, e.position);
1890
1890
  }
1891
1891
  function Ni(n, e, t) {
1892
1892
  const r = n.schema;
1893
1893
  let i = r;
1894
1894
  e.name === "svg" && r.space === "html" && (i = Pe, n.schema = i), n.ancestors.push(e);
1895
- const l = e.name === null ? n.Fragment : Yt(n, e.name, !0), o = vi(n, e), u = Oe(n, e);
1896
- return Wt(n, o, l, e), Ne(o, u), n.ancestors.pop(), n.schema = r, n.create(e, l, o, t);
1895
+ const l = e.name === null ? n.Fragment : Xt(n, e.name, !0), o = vi(n, e), u = Oe(n, e);
1896
+ return Yt(n, o, l, e), Ne(o, u), n.ancestors.pop(), n.schema = r, n.create(e, l, o, t);
1897
1897
  }
1898
1898
  function Oi(n, e, t) {
1899
1899
  const r = {};
@@ -1902,7 +1902,7 @@ function Oi(n, e, t) {
1902
1902
  function Di(n, e) {
1903
1903
  return e.value;
1904
1904
  }
1905
- function Wt(n, e, t, r) {
1905
+ function Yt(n, e, t, r) {
1906
1906
  typeof t != "string" && t !== n.Fragment && n.passNode && (e.node = r);
1907
1907
  }
1908
1908
  function Ne(n, e) {
@@ -1967,7 +1967,7 @@ function vi(n, e) {
1967
1967
  n.evaluater.evaluateExpression(u.argument)
1968
1968
  );
1969
1969
  } else
1970
- Bn(n, e.position);
1970
+ jn(n, e.position);
1971
1971
  else {
1972
1972
  const i = r.name;
1973
1973
  let l;
@@ -1976,7 +1976,7 @@ function vi(n, e) {
1976
1976
  const u = r.value.data.estree.body[0];
1977
1977
  l = n.evaluater.evaluateExpression(u.expression);
1978
1978
  } else
1979
- Bn(n, e.position);
1979
+ jn(n, e.position);
1980
1980
  else
1981
1981
  l = r.value === null ? !0 : r.value;
1982
1982
  t[i] = /** @type {Props[keyof Props]} */
@@ -1998,7 +1998,7 @@ function Oe(n, e) {
1998
1998
  o = s + "-" + a, i.set(s, a + 1);
1999
1999
  }
2000
2000
  }
2001
- const u = $t(n, l, o);
2001
+ const u = Wt(n, l, o);
2002
2002
  u !== void 0 && t.push(u);
2003
2003
  }
2004
2004
  return t;
@@ -2031,7 +2031,7 @@ function Bi(n, e) {
2031
2031
  ruleId: "style",
2032
2032
  source: "hast-util-to-jsx-runtime"
2033
2033
  });
2034
- throw o.file = n.filePath || void 0, o.url = qt + "#cannot-parse-style-attribute", o;
2034
+ throw o.file = n.filePath || void 0, o.url = $t + "#cannot-parse-style-attribute", o;
2035
2035
  }
2036
2036
  }
2037
2037
  return t;
@@ -2040,7 +2040,7 @@ function Bi(n, e) {
2040
2040
  o.slice(0, 2) !== "--" && (o.slice(0, 4) === "-ms-" && (o = "ms-" + o.slice(4)), o = o.replace(Ei, Ui)), t[o] = l;
2041
2041
  }
2042
2042
  }
2043
- function Yt(n, e, t) {
2043
+ function Xt(n, e, t) {
2044
2044
  let r;
2045
2045
  if (!t)
2046
2046
  r = { type: "Literal", value: e };
@@ -2069,9 +2069,9 @@ function Yt(n, e, t) {
2069
2069
  }
2070
2070
  if (n.evaluater)
2071
2071
  return n.evaluater.evaluateExpression(r);
2072
- Bn(n);
2072
+ jn(n);
2073
2073
  }
2074
- function Bn(n, e) {
2074
+ function jn(n, e) {
2075
2075
  const t = new Q(
2076
2076
  "Cannot handle MDX estrees without `createEvaluater`",
2077
2077
  {
@@ -2081,7 +2081,7 @@ function Bn(n, e) {
2081
2081
  source: "hast-util-to-jsx-runtime"
2082
2082
  }
2083
2083
  );
2084
- throw t.file = n.filePath || void 0, t.url = qt + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2084
+ throw t.file = n.filePath || void 0, t.url = $t + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2085
2085
  }
2086
2086
  function ji(n) {
2087
2087
  const e = {};
@@ -2113,9 +2113,9 @@ function qi(n) {
2113
2113
  const $i = {};
2114
2114
  function Wi(n, e) {
2115
2115
  const t = $i, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2116
- return Xt(n, r, i);
2116
+ return Qt(n, r, i);
2117
2117
  }
2118
- function Xt(n, e, t) {
2118
+ function Qt(n, e, t) {
2119
2119
  if (Yi(n)) {
2120
2120
  if ("value" in n)
2121
2121
  return n.type === "html" && !t ? "" : n.value;
@@ -2130,7 +2130,7 @@ function tt(n, e, t) {
2130
2130
  const r = [];
2131
2131
  let i = -1;
2132
2132
  for (; ++i < n.length; )
2133
- r[i] = Xt(n[i], e, t);
2133
+ r[i] = Qt(n[i], e, t);
2134
2134
  return r.join("");
2135
2135
  }
2136
2136
  function Yi(n) {
@@ -2187,7 +2187,7 @@ function Gi(n, e) {
2187
2187
  (e[t].add === "after" ? n : r).push(e[t]);
2188
2188
  cn(n, 0, 0, r);
2189
2189
  }
2190
- function Qt(n, e) {
2190
+ function Gt(n, e) {
2191
2191
  const t = Number.parseInt(n, e);
2192
2192
  return (
2193
2193
  // C0 except for HT, LF, FF, CR, space.
@@ -2541,7 +2541,7 @@ function cl(n, e, t) {
2541
2541
  return t(f);
2542
2542
  }
2543
2543
  }
2544
- const Kn = {
2544
+ const Jn = {
2545
2545
  partial: !0,
2546
2546
  tokenize: pl
2547
2547
  };
@@ -2554,7 +2554,7 @@ function pl(n, e, t) {
2554
2554
  return l === null || z(l) ? e(l) : t(l);
2555
2555
  }
2556
2556
  }
2557
- const Gt = {
2557
+ const Kt = {
2558
2558
  continuation: {
2559
2559
  tokenize: hl
2560
2560
  },
@@ -2585,13 +2585,13 @@ function hl(n, e, t) {
2585
2585
  return _(o) ? V(n, l, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o) : l(o);
2586
2586
  }
2587
2587
  function l(o) {
2588
- return n.attempt(Gt, e, t)(o);
2588
+ return n.attempt(Kt, e, t)(o);
2589
2589
  }
2590
2590
  }
2591
2591
  function ml(n) {
2592
2592
  n.exit("blockQuote");
2593
2593
  }
2594
- const Kt = {
2594
+ const Jt = {
2595
2595
  name: "characterEscape",
2596
2596
  tokenize: dl
2597
2597
  };
@@ -2604,7 +2604,7 @@ function dl(n, e, t) {
2604
2604
  return Zi(l) ? (n.enter("characterEscapeValue"), n.consume(l), n.exit("characterEscapeValue"), n.exit("characterEscape"), e) : t(l);
2605
2605
  }
2606
2606
  }
2607
- const Jt = {
2607
+ const Zt = {
2608
2608
  name: "characterReference",
2609
2609
  tokenize: gl
2610
2610
  };
@@ -2877,7 +2877,7 @@ class Al {
2877
2877
  const i = t || 0;
2878
2878
  this.setCursor(Math.trunc(e));
2879
2879
  const l = this.right.splice(this.right.length - i, Number.POSITIVE_INFINITY);
2880
- return r && _n(this.left, r), l.reverse();
2880
+ return r && vn(this.left, r), l.reverse();
2881
2881
  }
2882
2882
  /**
2883
2883
  * Remove and return the highest-numbered item in the array, so
@@ -2912,7 +2912,7 @@ class Al {
2912
2912
  * Nothing.
2913
2913
  */
2914
2914
  pushMany(e) {
2915
- this.setCursor(Number.POSITIVE_INFINITY), _n(this.left, e);
2915
+ this.setCursor(Number.POSITIVE_INFINITY), vn(this.left, e);
2916
2916
  }
2917
2917
  /**
2918
2918
  * Inserts a single item to the low-numbered side of the array;
@@ -2936,7 +2936,7 @@ class Al {
2936
2936
  * Nothing.
2937
2937
  */
2938
2938
  unshiftMany(e) {
2939
- this.setCursor(0), _n(this.right, e.reverse());
2939
+ this.setCursor(0), vn(this.right, e.reverse());
2940
2940
  }
2941
2941
  /**
2942
2942
  * Move the cursor to a specific position in the array. Requires
@@ -2954,14 +2954,14 @@ class Al {
2954
2954
  if (!(e === this.left.length || e > this.left.length && this.right.length === 0 || e < 0 && this.left.length === 0))
2955
2955
  if (e < this.left.length) {
2956
2956
  const t = this.left.splice(e, Number.POSITIVE_INFINITY);
2957
- _n(this.right, t.reverse());
2957
+ vn(this.right, t.reverse());
2958
2958
  } else {
2959
2959
  const t = this.right.splice(this.left.length + this.right.length - e, Number.POSITIVE_INFINITY);
2960
- _n(this.left, t.reverse());
2960
+ vn(this.left, t.reverse());
2961
2961
  }
2962
2962
  }
2963
2963
  }
2964
- function _n(n, e) {
2964
+ function vn(n, e) {
2965
2965
  let t = 0;
2966
2966
  if (e.length < 1e4)
2967
2967
  n.push(...e);
@@ -2969,7 +2969,7 @@ function _n(n, e) {
2969
2969
  for (; t < e.length; )
2970
2970
  n.push(...e.slice(t, t + 1e4)), t += 1e4;
2971
2971
  }
2972
- function Zt(n) {
2972
+ function nr(n) {
2973
2973
  const e = {};
2974
2974
  let t = -1, r, i, l, o, u, s, a;
2975
2975
  const c = new Al(n);
@@ -3021,7 +3021,7 @@ const Pl = {
3021
3021
  tokenize: Ol
3022
3022
  };
3023
3023
  function zl(n) {
3024
- return Zt(n), n;
3024
+ return nr(n), n;
3025
3025
  }
3026
3026
  function Nl(n, e) {
3027
3027
  let t;
@@ -3057,7 +3057,7 @@ function Ol(n, e, t) {
3057
3057
  return !r.parser.constructs.disable.null.includes("codeIndented") && u && u[1].type === "linePrefix" && u[2].sliceSerialize(u[1], !0).length >= 4 ? e(o) : n.interrupt(r.parser.constructs.flow, t, e)(o);
3058
3058
  }
3059
3059
  }
3060
- function nr(n, e, t, r, i, l, o, u, s) {
3060
+ function er(n, e, t, r, i, l, o, u, s) {
3061
3061
  const a = s || Number.POSITIVE_INFINITY;
3062
3062
  let c = 0;
3063
3063
  return p;
@@ -3084,7 +3084,7 @@ function nr(n, e, t, r, i, l, o, u, s) {
3084
3084
  return k === 40 || k === 41 || k === 92 ? (n.consume(k), b) : b(k);
3085
3085
  }
3086
3086
  }
3087
- function er(n, e, t, r, i, l) {
3087
+ function tr(n, e, t, r, i, l) {
3088
3088
  const o = this;
3089
3089
  let u = 0, s;
3090
3090
  return a;
@@ -3108,7 +3108,7 @@ function er(n, e, t, r, i, l) {
3108
3108
  return f === 91 || f === 92 || f === 93 ? (n.consume(f), u++, p) : p(f);
3109
3109
  }
3110
3110
  }
3111
- function tr(n, e, t, r, i, l) {
3111
+ function rr(n, e, t, r, i, l) {
3112
3112
  let o;
3113
3113
  return u;
3114
3114
  function u(d) {
@@ -3129,7 +3129,7 @@ function tr(n, e, t, r, i, l) {
3129
3129
  return d === o || d === 92 ? (n.consume(d), c) : c(d);
3130
3130
  }
3131
3131
  }
3132
- function Mn(n, e) {
3132
+ function Bn(n, e) {
3133
3133
  let t;
3134
3134
  return r;
3135
3135
  function r(i) {
@@ -3151,7 +3151,7 @@ function Rl(n, e, t) {
3151
3151
  return n.enter("definition"), o(f);
3152
3152
  }
3153
3153
  function o(f) {
3154
- return er.call(
3154
+ return tr.call(
3155
3155
  r,
3156
3156
  n,
3157
3157
  u,
@@ -3166,10 +3166,10 @@ function Rl(n, e, t) {
3166
3166
  return i = Tn(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), f === 58 ? (n.enter("definitionMarker"), n.consume(f), n.exit("definitionMarker"), s) : t(f);
3167
3167
  }
3168
3168
  function s(f) {
3169
- return K(f) ? Mn(n, a)(f) : a(f);
3169
+ return K(f) ? Bn(n, a)(f) : a(f);
3170
3170
  }
3171
3171
  function a(f) {
3172
- return nr(
3172
+ return er(
3173
3173
  n,
3174
3174
  c,
3175
3175
  // Note: we don’t need to reset the way `markdown-rs` does.
@@ -3194,10 +3194,10 @@ function Rl(n, e, t) {
3194
3194
  function _l(n, e, t) {
3195
3195
  return r;
3196
3196
  function r(u) {
3197
- return K(u) ? Mn(n, i)(u) : t(u);
3197
+ return K(u) ? Bn(n, i)(u) : t(u);
3198
3198
  }
3199
3199
  function i(u) {
3200
- return tr(n, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(u);
3200
+ return rr(n, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(u);
3201
3201
  }
3202
3202
  function l(u) {
3203
3203
  return _(u) ? V(n, o, "whitespace")(u) : o(u);
@@ -3457,7 +3457,7 @@ function Xl(n, e, t) {
3457
3457
  function Ql(n, e, t) {
3458
3458
  return r;
3459
3459
  function r(i) {
3460
- return n.enter("lineEnding"), n.consume(i), n.exit("lineEnding"), n.attempt(Kn, e, t);
3460
+ return n.enter("lineEnding"), n.consume(i), n.exit("lineEnding"), n.attempt(Jn, e, t);
3461
3461
  }
3462
3462
  }
3463
3463
  const Gl = {
@@ -3655,22 +3655,22 @@ function io(n, e, t) {
3655
3655
  return n.enter("resource"), n.enter("resourceMarker"), n.consume(p), n.exit("resourceMarker"), i;
3656
3656
  }
3657
3657
  function i(p) {
3658
- return K(p) ? Mn(n, l)(p) : l(p);
3658
+ return K(p) ? Bn(n, l)(p) : l(p);
3659
3659
  }
3660
3660
  function l(p) {
3661
- return p === 41 ? c(p) : nr(n, o, u, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
3661
+ return p === 41 ? c(p) : er(n, o, u, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
3662
3662
  }
3663
3663
  function o(p) {
3664
- return K(p) ? Mn(n, s)(p) : c(p);
3664
+ return K(p) ? Bn(n, s)(p) : c(p);
3665
3665
  }
3666
3666
  function u(p) {
3667
3667
  return t(p);
3668
3668
  }
3669
3669
  function s(p) {
3670
- return p === 34 || p === 39 || p === 40 ? tr(n, a, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : c(p);
3670
+ return p === 34 || p === 39 || p === 40 ? rr(n, a, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : c(p);
3671
3671
  }
3672
3672
  function a(p) {
3673
- return K(p) ? Mn(n, c)(p) : c(p);
3673
+ return K(p) ? Bn(n, c)(p) : c(p);
3674
3674
  }
3675
3675
  function c(p) {
3676
3676
  return p === 41 ? (n.enter("resourceMarker"), n.consume(p), n.exit("resourceMarker"), n.exit("resource"), e) : t(p);
@@ -3680,7 +3680,7 @@ function lo(n, e, t) {
3680
3680
  const r = this;
3681
3681
  return i;
3682
3682
  function i(u) {
3683
- return er.call(r, n, l, o, "reference", "referenceMarker", "referenceString")(u);
3683
+ return tr.call(r, n, l, o, "reference", "referenceMarker", "referenceString")(u);
3684
3684
  }
3685
3685
  function l(u) {
3686
3686
  return r.parser.defined.includes(Tn(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? e(u) : t(u);
@@ -3741,7 +3741,7 @@ function po(n, e) {
3741
3741
  return n.enter("lineEnding"), n.consume(r), n.exit("lineEnding"), V(n, e, "linePrefix");
3742
3742
  }
3743
3743
  }
3744
- const Wn = {
3744
+ const Yn = {
3745
3745
  name: "thematicBreak",
3746
3746
  tokenize: fo
3747
3747
  };
@@ -3785,7 +3785,7 @@ function go(n, e, t) {
3785
3785
  if (r.containerState.type || (r.containerState.type = w, n.enter(w, {
3786
3786
  _container: !0
3787
3787
  })), w === "listUnordered")
3788
- return n.enter("listItemPrefix"), f === 42 || f === 45 ? n.check(Wn, t, a)(f) : a(f);
3788
+ return n.enter("listItemPrefix"), f === 42 || f === 45 ? n.check(Yn, t, a)(f) : a(f);
3789
3789
  if (!r.interrupt || f === 49)
3790
3790
  return n.enter("listItemPrefix"), n.enter("listItemValue"), s(f);
3791
3791
  }
@@ -3796,7 +3796,7 @@ function go(n, e, t) {
3796
3796
  }
3797
3797
  function a(f) {
3798
3798
  return n.enter("listItemMarker"), n.consume(f), n.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || f, n.check(
3799
- Kn,
3799
+ Jn,
3800
3800
  // Can’t be empty when interrupting.
3801
3801
  r.interrupt ? t : c,
3802
3802
  n.attempt(ho, d, p)
@@ -3814,7 +3814,7 @@ function go(n, e, t) {
3814
3814
  }
3815
3815
  function yo(n, e, t) {
3816
3816
  const r = this;
3817
- return r.containerState._closeFlow = void 0, n.check(Kn, i, l);
3817
+ return r.containerState._closeFlow = void 0, n.check(Jn, i, l);
3818
3818
  function i(u) {
3819
3819
  return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, V(n, e, "listItemIndent", r.containerState.size + 1)(u);
3820
3820
  }
@@ -3902,7 +3902,7 @@ const Co = {
3902
3902
  function Eo(n) {
3903
3903
  const e = this, t = n.attempt(
3904
3904
  // Try to parse a blank line.
3905
- Kn,
3905
+ Jn,
3906
3906
  r,
3907
3907
  // Try to parse initial flow (essentially, only code).
3908
3908
  n.attempt(this.parser.constructs.flowInitial, i, V(n, n.attempt(this.parser.constructs.flow, i, n.attempt(Pl, i)), "linePrefix"))
@@ -3924,11 +3924,11 @@ function Eo(n) {
3924
3924
  }
3925
3925
  }
3926
3926
  const Io = {
3927
- resolveAll: ir()
3928
- }, Ao = rr("string"), To = rr("text");
3929
- function rr(n) {
3927
+ resolveAll: lr()
3928
+ }, Ao = ir("string"), To = ir("text");
3929
+ function ir(n) {
3930
3930
  return {
3931
- resolveAll: ir(n === "text" ? Po : void 0),
3931
+ resolveAll: lr(n === "text" ? Po : void 0),
3932
3932
  tokenize: e
3933
3933
  };
3934
3934
  function e(t) {
@@ -3962,7 +3962,7 @@ function rr(n) {
3962
3962
  }
3963
3963
  }
3964
3964
  }
3965
- function ir(n) {
3965
+ function lr(n) {
3966
3966
  return e;
3967
3967
  function e(t, r) {
3968
3968
  let i = -1, l;
@@ -4027,7 +4027,7 @@ const Lo = {
4027
4027
  55: G,
4028
4028
  56: G,
4029
4029
  57: G,
4030
- 62: Gt
4030
+ 62: Kt
4031
4031
  }, zo = {
4032
4032
  91: Dl
4033
4033
  }, No = {
@@ -4036,26 +4036,26 @@ const Lo = {
4036
4036
  32: re
4037
4037
  }, Oo = {
4038
4038
  35: Bl,
4039
- 42: Wn,
4040
- 45: [pt, Wn],
4039
+ 42: Yn,
4040
+ 45: [pt, Yn],
4041
4041
  60: Vl,
4042
4042
  61: pt,
4043
- 95: Wn,
4043
+ 95: Yn,
4044
4044
  96: st,
4045
4045
  126: st
4046
4046
  }, Do = {
4047
- 38: Jt,
4048
- 92: Kt
4047
+ 38: Zt,
4048
+ 92: Jt
4049
4049
  }, Fo = {
4050
4050
  [-5]: ie,
4051
4051
  [-4]: ie,
4052
4052
  [-3]: ie,
4053
4053
  33: uo,
4054
- 38: Jt,
4054
+ 38: Zt,
4055
4055
  42: xe,
4056
4056
  60: [sl, Gl],
4057
4057
  91: so,
4058
- 92: [vl, Kt],
4058
+ 92: [vl, Jt],
4059
4059
  93: Re,
4060
4060
  95: xe,
4061
4061
  96: Sl
@@ -4178,13 +4178,13 @@ function Bo(n, e, t) {
4178
4178
  function ln(X) {
4179
4179
  return zn;
4180
4180
  function zn(dn) {
4181
- const Sn = dn !== null && X[dn], Cn = dn !== null && X.null, Un = [
4181
+ const Sn = dn !== null && X[dn], Cn = dn !== null && X.null, Vn = [
4182
4182
  // To do: add more extension tests.
4183
4183
  /* c8 ignore next 2 */
4184
4184
  ...Array.isArray(Sn) ? Sn : Sn ? [Sn] : [],
4185
4185
  ...Array.isArray(Cn) ? Cn : Cn ? [Cn] : []
4186
4186
  ];
4187
- return fn(Un)(dn);
4187
+ return fn(Vn)(dn);
4188
4188
  }
4189
4189
  }
4190
4190
  function fn(X) {
@@ -4306,7 +4306,7 @@ function Uo(n) {
4306
4306
  }
4307
4307
  }
4308
4308
  function Vo(n) {
4309
- for (; !Zt(n); )
4309
+ for (; !nr(n); )
4310
4310
  ;
4311
4311
  return n;
4312
4312
  }
@@ -4355,11 +4355,11 @@ function Yo(n, e, t) {
4355
4355
  return e;
4356
4356
  if (t.charCodeAt(0) === 35) {
4357
4357
  const i = t.charCodeAt(1), l = i === 120 || i === 88;
4358
- return Qt(t.slice(l ? 2 : 1), l ? 16 : 10);
4358
+ return Gt(t.slice(l ? 2 : 1), l ? 16 : 10);
4359
4359
  }
4360
4360
  return De(t) || n;
4361
4361
  }
4362
- const lr = {}.hasOwnProperty;
4362
+ const or = {}.hasOwnProperty;
4363
4363
  function Xo(n, e, t) {
4364
4364
  return typeof e != "string" && (t = e, e = void 0), Qo(t)(Vo(Uo(t).document().write(qo()(n, e, !0))));
4365
4365
  }
@@ -4375,40 +4375,40 @@ function Qo(n) {
4375
4375
  blockQuote: l(Cn),
4376
4376
  characterEscape: v,
4377
4377
  characterReference: v,
4378
- codeFenced: l(Un),
4378
+ codeFenced: l(Vn),
4379
4379
  codeFencedFenceInfo: o,
4380
4380
  codeFencedFenceMeta: o,
4381
- codeIndented: l(Un, o),
4382
- codeText: l(sr, o),
4381
+ codeIndented: l(Vn, o),
4382
+ codeText: l(cr, o),
4383
4383
  codeTextData: v,
4384
4384
  data: v,
4385
4385
  codeFlowValue: v,
4386
- definition: l(cr),
4386
+ definition: l(pr),
4387
4387
  definitionDestinationString: o,
4388
4388
  definitionLabelString: o,
4389
4389
  definitionTitleString: o,
4390
- emphasis: l(pr),
4390
+ emphasis: l(fr),
4391
4391
  hardBreakEscape: l(Me),
4392
4392
  hardBreakTrailing: l(Me),
4393
4393
  htmlFlow: l(Be, o),
4394
4394
  htmlFlowData: v,
4395
4395
  htmlText: l(Be, o),
4396
4396
  htmlTextData: v,
4397
- image: l(fr),
4397
+ image: l(hr),
4398
4398
  label: o,
4399
4399
  link: l(je),
4400
- listItem: l(hr),
4400
+ listItem: l(mr),
4401
4401
  listItemValue: d,
4402
4402
  listOrdered: l(He, p),
4403
4403
  listUnordered: l(He),
4404
- paragraph: l(mr),
4404
+ paragraph: l(dr),
4405
4405
  reference: m,
4406
4406
  referenceString: o,
4407
4407
  resourceDestinationString: o,
4408
4408
  resourceTitleString: o,
4409
4409
  setextHeading: l(ve),
4410
- strong: l(dr),
4411
- thematicBreak: l(yr)
4410
+ strong: l(gr),
4411
+ thematicBreak: l(xr)
4412
4412
  },
4413
4413
  exit: {
4414
4414
  atxHeading: s(),
@@ -4462,7 +4462,7 @@ function Qo(n) {
4462
4462
  thematicBreak: s()
4463
4463
  }
4464
4464
  };
4465
- or(e, (n || {}).mdastExtensions || []);
4465
+ ur(e, (n || {}).mdastExtensions || []);
4466
4466
  const t = {};
4467
4467
  return r;
4468
4468
  function r(g) {
@@ -4491,7 +4491,7 @@ function Qo(n) {
4491
4491
  }
4492
4492
  for (j = -1; ++j < g.length; ) {
4493
4493
  const un = e[g[j][0]];
4494
- lr.call(un, g[j][1].type) && un[g[j][1].type].call(Object.assign({
4494
+ or.call(un, g[j][1].type) && un[g[j][1].type].call(Object.assign({
4495
4495
  sliceSerialize: g[j][2].sliceSerialize
4496
4496
  }, O), g[j][1]);
4497
4497
  }
@@ -4593,7 +4593,7 @@ function Qo(n) {
4593
4593
  const O = this.stack.pop(), F = this.tokenStack.pop();
4594
4594
  if (F)
4595
4595
  F[0].type !== g.type && (S ? S.call(this, g, F[0]) : (F[1] || ht).call(this, g, F[0]));
4596
- else throw new Error("Cannot close `" + g.type + "` (" + vn({
4596
+ else throw new Error("Cannot close `" + g.type + "` (" + Mn({
4597
4597
  start: g.start,
4598
4598
  end: g.end
4599
4599
  }) + "): it’s not open");
@@ -4662,7 +4662,7 @@ function Qo(n) {
4662
4662
  function v(g) {
4663
4663
  const O = this.stack[this.stack.length - 1].children;
4664
4664
  let F = O[O.length - 1];
4665
- (!F || F.type !== "text") && (F = gr(), F.position = {
4665
+ (!F || F.type !== "text") && (F = yr(), F.position = {
4666
4666
  start: gn(g.start),
4667
4667
  // @ts-expect-error: we’ll add `end` later.
4668
4668
  end: void 0
@@ -4750,7 +4750,7 @@ function Qo(n) {
4750
4750
  function X(g) {
4751
4751
  const S = this.sliceSerialize(g), O = this.data.characterReferenceType;
4752
4752
  let F;
4753
- O ? (F = Qt(S, O === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : F = De(S);
4753
+ O ? (F = Gt(S, O === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : F = De(S);
4754
4754
  const j = this.stack[this.stack.length - 1];
4755
4755
  j.value += F;
4756
4756
  }
@@ -4774,7 +4774,7 @@ function Qo(n) {
4774
4774
  children: []
4775
4775
  };
4776
4776
  }
4777
- function Un() {
4777
+ function Vn() {
4778
4778
  return {
4779
4779
  type: "code",
4780
4780
  lang: null,
@@ -4782,13 +4782,13 @@ function Qo(n) {
4782
4782
  value: ""
4783
4783
  };
4784
4784
  }
4785
- function sr() {
4785
+ function cr() {
4786
4786
  return {
4787
4787
  type: "inlineCode",
4788
4788
  value: ""
4789
4789
  };
4790
4790
  }
4791
- function cr() {
4791
+ function pr() {
4792
4792
  return {
4793
4793
  type: "definition",
4794
4794
  identifier: "",
@@ -4797,7 +4797,7 @@ function Qo(n) {
4797
4797
  url: ""
4798
4798
  };
4799
4799
  }
4800
- function pr() {
4800
+ function fr() {
4801
4801
  return {
4802
4802
  type: "emphasis",
4803
4803
  children: []
@@ -4822,7 +4822,7 @@ function Qo(n) {
4822
4822
  value: ""
4823
4823
  };
4824
4824
  }
4825
- function fr() {
4825
+ function hr() {
4826
4826
  return {
4827
4827
  type: "image",
4828
4828
  title: null,
@@ -4847,7 +4847,7 @@ function Qo(n) {
4847
4847
  children: []
4848
4848
  };
4849
4849
  }
4850
- function hr(g) {
4850
+ function mr(g) {
4851
4851
  return {
4852
4852
  type: "listItem",
4853
4853
  spread: g._spread,
@@ -4855,25 +4855,25 @@ function Qo(n) {
4855
4855
  children: []
4856
4856
  };
4857
4857
  }
4858
- function mr() {
4858
+ function dr() {
4859
4859
  return {
4860
4860
  type: "paragraph",
4861
4861
  children: []
4862
4862
  };
4863
4863
  }
4864
- function dr() {
4864
+ function gr() {
4865
4865
  return {
4866
4866
  type: "strong",
4867
4867
  children: []
4868
4868
  };
4869
4869
  }
4870
- function gr() {
4870
+ function yr() {
4871
4871
  return {
4872
4872
  type: "text",
4873
4873
  value: ""
4874
4874
  };
4875
4875
  }
4876
- function yr() {
4876
+ function xr() {
4877
4877
  return {
4878
4878
  type: "thematicBreak"
4879
4879
  };
@@ -4886,17 +4886,17 @@ function gn(n) {
4886
4886
  offset: n.offset
4887
4887
  };
4888
4888
  }
4889
- function or(n, e) {
4889
+ function ur(n, e) {
4890
4890
  let t = -1;
4891
4891
  for (; ++t < e.length; ) {
4892
4892
  const r = e[t];
4893
- Array.isArray(r) ? or(n, r) : Go(n, r);
4893
+ Array.isArray(r) ? ur(n, r) : Go(n, r);
4894
4894
  }
4895
4895
  }
4896
4896
  function Go(n, e) {
4897
4897
  let t;
4898
4898
  for (t in e)
4899
- if (lr.call(e, t))
4899
+ if (or.call(e, t))
4900
4900
  switch (t) {
4901
4901
  case "canContainEols": {
4902
4902
  const r = e[t];
@@ -4917,13 +4917,13 @@ function Go(n, e) {
4917
4917
  }
4918
4918
  }
4919
4919
  function ht(n, e) {
4920
- throw n ? new Error("Cannot close `" + n.type + "` (" + vn({
4920
+ throw n ? new Error("Cannot close `" + n.type + "` (" + Mn({
4921
4921
  start: n.start,
4922
4922
  end: n.end
4923
- }) + "): a different token (`" + e.type + "`, " + vn({
4923
+ }) + "): a different token (`" + e.type + "`, " + Mn({
4924
4924
  start: e.start,
4925
4925
  end: e.end
4926
- }) + ") is open") : new Error("Cannot close document, a token (`" + e.type + "`, " + vn({
4926
+ }) + ") is open") : new Error("Cannot close document, a token (`" + e.type + "`, " + Mn({
4927
4927
  start: e.start,
4928
4928
  end: e.end
4929
4929
  }) + ") is still open");
@@ -5026,7 +5026,7 @@ function lu(n, e) {
5026
5026
  return n.patch(e, t), n.applyData(e, t);
5027
5027
  }
5028
5028
  }
5029
- function ur(n, e) {
5029
+ function ar(n, e) {
5030
5030
  const t = e.referenceType;
5031
5031
  let r = "]";
5032
5032
  if (t === "collapsed" ? r += "[]" : t === "full" && (r += "[" + (e.label || e.identifier) + "]"), e.type === "imageReference")
@@ -5039,7 +5039,7 @@ function ur(n, e) {
5039
5039
  function ou(n, e) {
5040
5040
  const t = String(e.identifier).toUpperCase(), r = n.definitionById.get(t);
5041
5041
  if (!r)
5042
- return ur(n, e);
5042
+ return ar(n, e);
5043
5043
  const i = { src: Ln(r.url || ""), alt: e.alt };
5044
5044
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5045
5045
  const l = { type: "element", tagName: "img", properties: i, children: [] };
@@ -5065,7 +5065,7 @@ function au(n, e) {
5065
5065
  function su(n, e) {
5066
5066
  const t = String(e.identifier).toUpperCase(), r = n.definitionById.get(t);
5067
5067
  if (!r)
5068
- return ur(n, e);
5068
+ return ar(n, e);
5069
5069
  const i = { href: Ln(r.url || "") };
5070
5070
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5071
5071
  const l = {
@@ -5088,7 +5088,7 @@ function cu(n, e) {
5088
5088
  return n.patch(e, r), n.applyData(e, r);
5089
5089
  }
5090
5090
  function pu(n, e, t) {
5091
- const r = n.all(e), i = t ? fu(t) : ar(e), l = {}, o = [];
5091
+ const r = n.all(e), i = t ? fu(t) : sr(e), l = {}, o = [];
5092
5092
  if (typeof e.checked == "boolean") {
5093
5093
  const c = r[0];
5094
5094
  let p;
@@ -5118,11 +5118,11 @@ function fu(n) {
5118
5118
  const t = n.children;
5119
5119
  let r = -1;
5120
5120
  for (; !e && ++r < t.length; )
5121
- e = ar(t[r]);
5121
+ e = sr(t[r]);
5122
5122
  }
5123
5123
  return e;
5124
5124
  }
5125
- function ar(n) {
5125
+ function sr(n) {
5126
5126
  const e = n.spread;
5127
5127
  return e ?? n.children.length > 1;
5128
5128
  }
@@ -5183,7 +5183,7 @@ function yu(n, e) {
5183
5183
  tagName: "tbody",
5184
5184
  properties: {},
5185
5185
  children: n.wrap(t, !0)
5186
- }, u = Le(e.children[1]), s = Ut(e.children[e.children.length - 1]);
5186
+ }, u = Le(e.children[1]), s = Vt(e.children[e.children.length - 1]);
5187
5187
  u && s && (o.position = { start: u, end: s }), i.push(o);
5188
5188
  }
5189
5189
  const l = {
@@ -5286,12 +5286,12 @@ const Cu = {
5286
5286
  tableRow: xu,
5287
5287
  text: wu,
5288
5288
  thematicBreak: Su,
5289
- toml: qn,
5290
- yaml: qn,
5291
- definition: qn,
5292
- footnoteDefinition: qn
5289
+ toml: $n,
5290
+ yaml: $n,
5291
+ definition: $n,
5292
+ footnoteDefinition: $n
5293
5293
  };
5294
- function qn() {
5294
+ function $n() {
5295
5295
  }
5296
5296
  function Eu(n, e) {
5297
5297
  const t = [{ type: "text", value: "↩" }];
@@ -5391,7 +5391,7 @@ function Pu(n, e) {
5391
5391
  patch: Lu,
5392
5392
  wrap: Ou
5393
5393
  };
5394
- return Dt(n, function(c) {
5394
+ return Ft(n, function(c) {
5395
5395
  if (c.type === "definition" || c.type === "footnoteDefinition") {
5396
5396
  const p = c.type === "definition" ? r : i, d = String(c.identifier).toUpperCase();
5397
5397
  p.has(d) || p.set(d, c);
@@ -5603,7 +5603,7 @@ const an = { basename: Mu, dirname: Bu, extname: ju, join: Hu, sep: "/" };
5603
5603
  function Mu(n, e) {
5604
5604
  if (e !== void 0 && typeof e != "string")
5605
5605
  throw new TypeError('"ext" argument must be a string');
5606
- Hn(n);
5606
+ Un(n);
5607
5607
  let t = 0, r = -1, i = n.length, l;
5608
5608
  if (e === void 0 || e.length === 0 || e.length > n.length) {
5609
5609
  for (; i--; )
@@ -5629,7 +5629,7 @@ function Mu(n, e) {
5629
5629
  return t === r ? r = o : r < 0 && (r = n.length), n.slice(t, r);
5630
5630
  }
5631
5631
  function Bu(n) {
5632
- if (Hn(n), n.length === 0)
5632
+ if (Un(n), n.length === 0)
5633
5633
  return ".";
5634
5634
  let e = -1, t = n.length, r;
5635
5635
  for (; --t; )
@@ -5642,7 +5642,7 @@ function Bu(n) {
5642
5642
  return e < 0 ? n.codePointAt(0) === 47 ? "/" : "." : e === 1 && n.codePointAt(0) === 47 ? "//" : n.slice(0, e);
5643
5643
  }
5644
5644
  function ju(n) {
5645
- Hn(n);
5645
+ Un(n);
5646
5646
  let e = n.length, t = -1, r = 0, i = -1, l = 0, o;
5647
5647
  for (; e--; ) {
5648
5648
  const u = n.codePointAt(e);
@@ -5662,11 +5662,11 @@ function ju(n) {
5662
5662
  function Hu(...n) {
5663
5663
  let e = -1, t;
5664
5664
  for (; ++e < n.length; )
5665
- Hn(n[e]), n[e] && (t = t === void 0 ? n[e] : t + "/" + n[e]);
5665
+ Un(n[e]), n[e] && (t = t === void 0 ? n[e] : t + "/" + n[e]);
5666
5666
  return t === void 0 ? "." : Uu(t);
5667
5667
  }
5668
5668
  function Uu(n) {
5669
- Hn(n);
5669
+ Un(n);
5670
5670
  const e = n.codePointAt(0) === 47;
5671
5671
  let t = Vu(n, !e);
5672
5672
  return t.length === 0 && !e && (t = "."), t.length > 0 && n.codePointAt(n.length - 1) === 47 && (t += "/"), e ? "/" + t : t;
@@ -5702,7 +5702,7 @@ function Vu(n, e) {
5702
5702
  }
5703
5703
  return t;
5704
5704
  }
5705
- function Hn(n) {
5705
+ function Un(n) {
5706
5706
  if (typeof n != "string")
5707
5707
  throw new TypeError(
5708
5708
  "Path must be a string. Received " + JSON.stringify(n)
@@ -6315,7 +6315,7 @@ class _e extends Gu {
6315
6315
  */
6316
6316
  parse(e) {
6317
6317
  this.freeze();
6318
- const t = $n(e), r = this.parser || this.Parser;
6318
+ const t = Wn(e), r = this.parser || this.Parser;
6319
6319
  return ce("parse", r), r(String(t), t);
6320
6320
  }
6321
6321
  /**
@@ -6364,7 +6364,7 @@ class _e extends Gu {
6364
6364
  const r = this;
6365
6365
  return this.freeze(), ce("process", this.parser || this.Parser), pe("process", this.compiler || this.Compiler), t ? i(void 0, t) : new Promise(i);
6366
6366
  function i(l, o) {
6367
- const u = $n(e), s = (
6367
+ const u = Wn(e), s = (
6368
6368
  /** @type {HeadTree extends undefined ? Node : HeadTree} */
6369
6369
  /** @type {unknown} */
6370
6370
  r.parse(u)
@@ -6469,7 +6469,7 @@ class _e extends Gu {
6469
6469
  const i = this.transformers;
6470
6470
  return !r && typeof t == "function" && (r = t, t = void 0), r ? l(void 0, r) : new Promise(l);
6471
6471
  function l(o, u) {
6472
- const s = $n(t);
6472
+ const s = Wn(t);
6473
6473
  i.run(e, s, a);
6474
6474
  function a(c, p, d) {
6475
6475
  const f = (
@@ -6535,7 +6535,7 @@ class _e extends Gu {
6535
6535
  */
6536
6536
  stringify(e, t) {
6537
6537
  this.freeze();
6538
- const r = $n(t), i = this.compiler || this.Compiler;
6538
+ const r = Wn(t), i = this.compiler || this.Compiler;
6539
6539
  return pe("stringify", i), St(e), i(e, r);
6540
6540
  }
6541
6541
  /**
@@ -6678,7 +6678,7 @@ function Ct(n, e, t) {
6678
6678
  "`" + n + "` finished async. Use `" + e + "` instead"
6679
6679
  );
6680
6680
  }
6681
- function $n(n) {
6681
+ function Wn(n) {
6682
6682
  return Zu(n) ? n : new Xu(n);
6683
6683
  }
6684
6684
  function Zu(n) {
@@ -6702,48 +6702,56 @@ const ta = (n) => n.includes("```"), ra = (n) => n.includes("$$"), ia = (n) => (
6702
6702
  onError: n = () => {
6703
6703
  }
6704
6704
  } = {}) => {
6705
- const e = [
6706
- [
6707
- ni,
6708
- {
6709
- target: "_blank",
6710
- rel: ["noopener", "noreferrer"]
6711
- }
6712
- ]
6713
- ], t = [], r = ne(null), i = ne(null), l = ne(null), [o, u] = wr(null), s = Sr((a) => {
6705
+ const e = Dn(n), t = Dn(null), r = Dn(null), i = Dn(null), l = Dn({
6706
+ rehypePlugins: [
6707
+ [
6708
+ ni,
6709
+ {
6710
+ target: "_blank",
6711
+ rel: ["noopener", "noreferrer"]
6712
+ }
6713
+ ]
6714
+ ],
6715
+ remarkPlugins: []
6716
+ }), [o, u] = Sr(null);
6717
+ Tt(() => {
6718
+ e.current = n;
6719
+ }, [n]);
6720
+ const s = Cr((a) => {
6714
6721
  (async () => {
6715
- if (ta(a) && !r.current) {
6716
- r.current = !0;
6717
- const { default: c } = await import(
6722
+ const { rehypePlugins: c, remarkPlugins: p } = l.current;
6723
+ if (ta(a) && !t.current) {
6724
+ t.current = !0;
6725
+ const { default: d } = await import(
6718
6726
  /* webpackChunkName: "LazyRehypeHighlight" */
6719
- "./index.SgG82Nvk.js"
6727
+ "./index.BjoSA8Gx.js"
6720
6728
  );
6721
- e.push(c);
6729
+ l.current.rehypePlugins = [...c, d];
6722
6730
  }
6723
- if (ia(a) && !i.current) {
6724
- i.current = !0;
6725
- const { default: c } = await import(
6731
+ if (ia(a) && !r.current) {
6732
+ r.current = !0;
6733
+ const { default: d } = await import(
6726
6734
  /* webpackChunkName: "LazyRemarkGfm" */
6727
- "./index.CEuGUc8n.js"
6735
+ "./index.CBr_x36W.js"
6728
6736
  );
6729
- t.push(c);
6737
+ l.current.remarkPlugins = [...p, d];
6730
6738
  }
6731
- if (ra(a) && !l.current) {
6732
- l.current = !0;
6733
- const { default: c } = await import(
6739
+ if (ra(a) && !i.current) {
6740
+ i.current = !0;
6741
+ const { default: d } = await import(
6734
6742
  /* webpackChunkName: "LazyRehypeKatex" */
6735
- "./index.BYtC4RCT.js"
6736
- ), { default: p } = await import(
6743
+ "./index.DPHH2crp.js"
6744
+ ), { default: f } = await import(
6737
6745
  /* webpackChunkName: "LazyRemarkMath" */
6738
- "./index.Cdp3ohVQ.js"
6746
+ "./index.Cevyj8oy.js"
6739
6747
  );
6740
- t.push(p), e.push(c), la("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6748
+ l.current.remarkPlugins = [...p, f], l.current.rehypePlugins = [...c, d], la("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6741
6749
  }
6742
- Ju().use(Ko).use(t).use(Du).use(e).use(qi, {
6743
- Fragment: Jn.Fragment,
6744
- jsx: Jn.jsx,
6745
- jsxs: Jn.jsxs
6746
- }).process(a).then((c) => u(c.result)).catch(n);
6750
+ Ju().use(Ko).use(l.current.remarkPlugins).use(Du).use(l.current.rehypePlugins).use(qi, {
6751
+ Fragment: Zn.Fragment,
6752
+ jsx: Zn.jsx,
6753
+ jsxs: Zn.jsxs
6754
+ }).process(a).then((d) => u(d.result)).catch(e.current);
6747
6755
  })();
6748
6756
  }, []);
6749
6757
  return [o, s];
@@ -6751,7 +6759,7 @@ const ta = (n) => n.includes("```"), ra = (n) => n.includes("$$"), ia = (n) => (
6751
6759
  MODEL: "Model",
6752
6760
  PLUGIN: "Plugin",
6753
6761
  USAGE: "Usage"
6754
- }, It = br("max-w-[99cqw] mt-3"), ua = ({
6762
+ }, It = wr("max-w-[99cqw] mt-3"), ua = ({
6755
6763
  content: n,
6756
6764
  annotations: e,
6757
6765
  toolName: t,
@@ -6759,16 +6767,16 @@ const ta = (n) => n.includes("```"), ra = (n) => n.includes("$$"), ia = (n) => (
6759
6767
  }) => {
6760
6768
  const {
6761
6769
  state: { streaming: i }
6762
- } = Cr(xr), l = e == null ? void 0 : e.model, [o, u] = oa(), [s] = kr({
6770
+ } = Er(kr), l = e == null ? void 0 : e.model, [o, u] = oa(), [s] = br({
6763
6771
  key: Ir + Ar,
6764
6772
  initialValue: !1
6765
6773
  }), a = s && {
6766
6774
  [Et.MODEL]: l || null,
6767
6775
  [Et.PLUGIN]: t ? Tr(t) : null
6768
6776
  };
6769
- return Er(() => {
6777
+ return Tt(() => {
6770
6778
  n && u(n);
6771
- }, [n, u]), r === Pr ? /* @__PURE__ */ Zn(Ue, { tail: !0, className: It, children: /* @__PURE__ */ Zn("div", { className: "flex items-center justify-center", children: o }) }) : /* @__PURE__ */ Zn(
6779
+ }, [n, u]), r === Pr ? /* @__PURE__ */ ne(Ue, { tail: !0, className: It, children: /* @__PURE__ */ ne("div", { className: "flex items-center justify-center", children: o }) }) : /* @__PURE__ */ ne(
6772
6780
  Ue,
6773
6781
  {
6774
6782
  tail: !0,
@@ -6788,11 +6796,11 @@ export {
6788
6796
  sn as asciiAlpha,
6789
6797
  en as asciiAlphanumeric,
6790
6798
  ge as asciiControl,
6791
- Kn as blankLine,
6799
+ Jn as blankLine,
6792
6800
  ot as classifyCharacter,
6793
6801
  Xi as combineExtensions,
6794
- Nt as convert,
6795
- zt as convertElement,
6802
+ Ot as convert,
6803
+ Nt as convertElement,
6796
6804
  V as factorySpace,
6797
6805
  z as markdownLineEnding,
6798
6806
  K as markdownLineEndingOrSpace,
@@ -6805,6 +6813,6 @@ export {
6805
6813
  Wi as toString,
6806
6814
  nl as unicodePunctuation,
6807
6815
  el as unicodeWhitespace,
6808
- Dt as visit,
6816
+ Ft as visit,
6809
6817
  Qr as visitParents
6810
6818
  };