@versini/sassysaint 8.134.1 → 8.134.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/chunks/{AboutChangelog.BKJ9EQJJ.js → AboutChangelog.B1gSTZI0.js} +2 -2
  2. package/dist/chunks/{AboutEntry.CHI2QBM1.js → AboutEntry.Cn86JVde.js} +8 -8
  3. package/dist/chunks/{App.Dg_Cn7A8.js → App.a3Rn157s.js} +15 -15
  4. package/dist/chunks/{BubbleActions.D_h4KvEk.js → BubbleActions.Cq7DCari.js} +3 -3
  5. package/dist/chunks/{ButtonIconDelete.CX3So6xX.js → ButtonIconDelete.BT1t7Ob0.js} +4 -4
  6. package/dist/chunks/{Chart.BKBh2Jze.js → Chart.B064ohlv.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.B2lhA25z.js → ChatBubbleAssistant.BdEjgI-N.js} +5 -5
  8. package/dist/chunks/{ChatBubbleUser.DtB16OtG.js → ChatBubbleUser.CR991b4i.js} +4 -4
  9. package/dist/chunks/{GenericPanel.C24yJlJn.js → GenericPanel.C0HM0OvS.js} +1 -1
  10. package/dist/chunks/{HistoryEntry.CsWWS5KB.js → HistoryEntry.D9oMBpMc.js} +6 -6
  11. package/dist/chunks/{LoginEntry.B8JnqMQS.js → LoginEntry.BUMr7Xf5.js} +4 -4
  12. package/dist/chunks/{LogoEntry.DFdqONcn.js → LogoEntry.DIiGZsiy.js} +1 -1
  13. package/dist/chunks/{MemoriesEntry.DNgNjIwA.js → MemoriesEntry.iJcUCYSL.js} +6 -6
  14. package/dist/chunks/{ProfileEntry.CPFmQ9rO.js → ProfileEntry.DQCL9mET.js} +6 -6
  15. package/dist/chunks/{SettingsEntry.CgQQ-Yl3.js → SettingsEntry.BsnEfAR0.js} +6 -6
  16. package/dist/chunks/{UsageEntry.DCiUw_Lg.js → UsageEntry.DgqPxmgg.js} +6 -6
  17. package/dist/chunks/{_baseUniq.CnT735Zf.js → _baseUniq.HSiid2T-.js} +1 -1
  18. package/dist/chunks/{arc.e4m-zUop.js → arc.CgowgDoM.js} +1 -1
  19. package/dist/chunks/{architecture-U656AL7Q.BlVNUYUE.js → architecture-U656AL7Q.DxiC3iqd.js} +1 -1
  20. package/dist/chunks/{architectureDiagram-VXUJARFQ.qj0m2D-0.js → architectureDiagram-VXUJARFQ.DqvteBya.js} +4 -4
  21. package/dist/chunks/{blockDiagram-VD42YOAC.FU0jTt5L.js → blockDiagram-VD42YOAC.CpI_ujTo.js} +5 -5
  22. package/dist/chunks/{browser.k2G1wpaS.js → browser.BhFyCAHz.js} +1 -1
  23. package/dist/chunks/{c4Diagram-YG6GDRKO.CFYJz_27.js → c4Diagram-YG6GDRKO.cY5wGwy-.js} +2 -2
  24. package/dist/chunks/{channel.TyjneNRc.js → channel.VaDz6wD4.js} +1 -1
  25. package/dist/chunks/{chunk-4BX2VUAB.Ct7V0IFA.js → chunk-4BX2VUAB.BO66mfej.js} +1 -1
  26. package/dist/chunks/{chunk-55IACEB6.C1W0Lv99.js → chunk-55IACEB6.Dvhoh_Ip.js} +1 -1
  27. package/dist/chunks/{chunk-B4BG7PRW.IZ71xMd_.js → chunk-B4BG7PRW.BWO3zZ-q.js} +4 -4
  28. package/dist/chunks/{chunk-DI55MBZ5.CYjaD9Sa.js → chunk-DI55MBZ5.D-suMKS7.js} +3 -3
  29. package/dist/chunks/{chunk-FMBD7UC4.8oF0SeFG.js → chunk-FMBD7UC4.Czj6mbik.js} +1 -1
  30. package/dist/chunks/{chunk-QN33PNHL.ChGiEDcb.js → chunk-QN33PNHL.C3WX4DGk.js} +1 -1
  31. package/dist/chunks/{chunk-QZHKN3VN.DLj8g0hl.js → chunk-QZHKN3VN.DLykXVg6.js} +1 -1
  32. package/dist/chunks/{chunk-TZMSLE5B.DlG8iNJy.js → chunk-TZMSLE5B.CmdkdBvM.js} +1 -1
  33. package/dist/chunks/{classDiagram-2ON5EDUG.OizrWr4b.js → classDiagram-2ON5EDUG.BCTJOEXa.js} +2 -2
  34. package/dist/chunks/{classDiagram-v2-WZHVMYZB.OizrWr4b.js → classDiagram-v2-WZHVMYZB.BCTJOEXa.js} +2 -2
  35. package/dist/chunks/{clone.8vquOcCs.js → clone.EXDo20Rp.js} +1 -1
  36. package/dist/chunks/{cose-bilkent-S5V4N54A.DPQLHpS0.js → cose-bilkent-S5V4N54A.D-ml62SS.js} +2 -2
  37. package/dist/chunks/{dagre-6UL2VRFP.BVUBL-1L.js → dagre-6UL2VRFP.D8SmW-Oq.js} +5 -5
  38. package/dist/chunks/{diagram-PSM6KHXK.1OUNs8Kl.js → diagram-PSM6KHXK.Qg8qeopF.js} +4 -4
  39. package/dist/chunks/{diagram-QEK2KX5R.BUlelcC5.js → diagram-QEK2KX5R.Bva3r61A.js} +3 -3
  40. package/dist/chunks/{diagram-S2PKOQOG.DWFdbwdB.js → diagram-S2PKOQOG.BAB4HvV_.js} +3 -3
  41. package/dist/chunks/{erDiagram-Q2GNP2WA.s4gdD8vf.js → erDiagram-Q2GNP2WA.mpjnnb-e.js} +4 -4
  42. package/dist/chunks/{flowDiagram-NV44I4VS.W6ZY69wd.js → flowDiagram-NV44I4VS.YSRfRM8c.js} +5 -5
  43. package/dist/chunks/{ganttDiagram-JELNMOA3.DE-s75pP.js → ganttDiagram-JELNMOA3.CFy0kl5V.js} +2 -2
  44. package/dist/chunks/{gitGraph-F6HP7TQM.Cw9WAcxE.js → gitGraph-F6HP7TQM.BMY8WDYu.js} +1 -1
  45. package/dist/chunks/{gitGraphDiagram-NY62KEGX.DGQji9KT.js → gitGraphDiagram-NY62KEGX.BIt4oCah.js} +4 -4
  46. package/dist/chunks/{graph.CsdVnRQl.js → graph.BXCpglVM.js} +2 -2
  47. package/dist/chunks/{index.UfovmiSn.js → index.BZAZ8dkB.js} +1 -1
  48. package/dist/chunks/{index.CT4iFd2y.js → index.BZup5KRn.js} +1 -1
  49. package/dist/chunks/{index.txAaWFFV.js → index.Bdn4CH7A.js} +1 -1
  50. package/dist/chunks/{index.CjIJZOrO.js → index.Bn2jnPmJ.js} +3 -3
  51. package/dist/chunks/{index.WRZHN2w4.js → index.Bn_a3Ofc.js} +1 -1
  52. package/dist/chunks/{index.BnFDB25f.js → index.C03L2-PJ.js} +2 -2
  53. package/dist/chunks/{index.BMRXdnws.js → index.C4KDd8tb.js} +1 -1
  54. package/dist/chunks/{index.CtWpztcy.js → index.C602CsZu.js} +3 -3
  55. package/dist/chunks/{index.BmT_X7fc.js → index.CuZXdCdk.js} +1 -1
  56. package/dist/chunks/{index.BnBnjOey.js → index.DPlT94ws.js} +1 -1
  57. package/dist/chunks/{info-NVLQJR56.Bd9XMi8i.js → info-NVLQJR56.D7of6yGM.js} +1 -1
  58. package/dist/chunks/{infoDiagram-WHAUD3N6.Dgn64xw0.js → infoDiagram-WHAUD3N6.ZxgoUXWS.js} +2 -2
  59. package/dist/chunks/{journeyDiagram-XKPGCS4Q.BcBiT0-H.js → journeyDiagram-XKPGCS4Q.m4RIUYuA.js} +4 -4
  60. package/dist/chunks/{kanban-definition-3W4ZIXB7.CanZ2CKl.js → kanban-definition-3W4ZIXB7.B1PJOe_2.js} +2 -2
  61. package/dist/chunks/{layout.Dp6PeRrk.js → layout.Bjzz7nu0.js} +4 -4
  62. package/dist/chunks/{mermaid-parser.core.DUPQLkXh.js → mermaid-parser.core.7rES7Uwv.js} +10 -10
  63. package/dist/chunks/{min.DiB0CZ9g.js → min.whw877nQ.js} +2 -2
  64. package/dist/chunks/{mindmap-definition-VGOIOE7T.CxPX7Qxz.js → mindmap-definition-VGOIOE7T.QzaAhcU2.js} +3 -3
  65. package/dist/chunks/{packet-BFZMPI3H.OX0VUQy8.js → packet-BFZMPI3H.Bu3-2mxi.js} +1 -1
  66. package/dist/chunks/{pie-7BOR55EZ.CgjF0Z6x.js → pie-7BOR55EZ.D3DHCDW2.js} +1 -1
  67. package/dist/chunks/{pieDiagram-ADFJNKIX.CYY6nQg5.js → pieDiagram-ADFJNKIX.EiCnn8Wr.js} +4 -4
  68. package/dist/chunks/{quadrantDiagram-AYHSOK5B.C9gLvDW-.js → quadrantDiagram-AYHSOK5B.B9o38Ire.js} +1 -1
  69. package/dist/chunks/{radar-NHE76QYJ.DdY98xnF.js → radar-NHE76QYJ.p7YCfTfz.js} +1 -1
  70. package/dist/chunks/{rehype-mermaid.Dz0w4nLz.js → rehype-mermaid.BmoHhgEN.js} +33 -33
  71. package/dist/chunks/{requirementDiagram-UZGBJVZJ.DQgJyAX4.js → requirementDiagram-UZGBJVZJ.Bbpj429w.js} +3 -3
  72. package/dist/chunks/{sankeyDiagram-TZEHDZUN.Cm5jOG60.js → sankeyDiagram-TZEHDZUN.BqSPg87D.js} +1 -1
  73. package/dist/chunks/{sequenceDiagram-WL72ISMW.CjHVvs2t.js → sequenceDiagram-WL72ISMW.BlCEwniG.js} +3 -3
  74. package/dist/chunks/{stateDiagram-FKZM4ZOC.dRREjSUd.js → stateDiagram-FKZM4ZOC.DzriSM8h.js} +4 -4
  75. package/dist/chunks/{stateDiagram-v2-4FDKWEC3.COs-vliC.js → stateDiagram-v2-4FDKWEC3.BOH80iY9.js} +2 -2
  76. package/dist/chunks/{timeline-definition-IT6M3QCI.UKfzZKS_.js → timeline-definition-IT6M3QCI.OszKxS9t.js} +2 -2
  77. package/dist/chunks/{treemap-KMMF4GRG.Bzm_3NTy.js → treemap-KMMF4GRG.CoJxNbXM.js} +1 -1
  78. package/dist/chunks/{useMarkdown.B-6m-QhV.js → useMarkdown.C9vlLR5G.js} +560 -545
  79. package/dist/chunks/{xychartDiagram-PRI3JC2R.PP7Dou-o.js → xychartDiagram-PRI3JC2R.DvI73n1C.js} +1 -1
  80. package/dist/components/SassySaint/SassySaint.js +1 -1
  81. package/dist/index.js +3 -3
  82. package/dist/style.css +1 -1
  83. package/package.json +3 -3
@@ -1,10 +1,11 @@
1
1
  import { jsx as y, jsxs as v, Fragment as me } from "react/jsx-runtime";
2
- import { ButtonIcon as Jr, IconCopied as Zr, IconCopy as ei } from "./LogoEntry.DFdqONcn.js";
2
+ import { ButtonIcon as Jr, IconCopied as Zr, IconCopy as ei } from "./LogoEntry.DIiGZsiy.js";
3
3
  import { useState as tr, useEffect as rr, useCallback as Vn, useRef as _e, createElement as ni } from "react";
4
- import { getDefaultExportFromCjs as ir, unObfuscate as Un, obfuscate as ti } from "./App.Dg_Cn7A8.js";
5
- import { isTauri as lr } from "./index.BnFDB25f.js";
4
+ import { getDefaultExportFromCjs as ir, unObfuscate as Un, obfuscate as ti } from "./App.a3Rn157s.js";
5
+ import { isTauri as lr } from "./index.C03L2-PJ.js";
6
6
  import ct, { clsx as oe } from "clsx";
7
- function ri({ copyToClipboard: e, ref: n, ...t }) {
7
+ import { Pill as ri } from "./index.CuZXdCdk.js";
8
+ function ii({ copyToClipboard: e, ref: n, ...t }) {
8
9
  const [r, i] = tr(!1), l = () => {
9
10
  typeof e == "string" && (navigator.clipboard.writeText(e), i(!0)), typeof e == "function" && (navigator.clipboard.writeText(e()), i(!0));
10
11
  };
@@ -31,7 +32,7 @@ function ri({ copyToClipboard: e, ref: n, ...t }) {
31
32
  })
32
33
  });
33
34
  }
34
- const or = -1, cn = 0, Qe = 1, un = 2, $n = 3, Hn = 4, qn = 5, Wn = 6, ar = 7, sr = 8, ft = typeof self == "object" ? self : globalThis, ii = (e, n) => {
35
+ const or = -1, cn = 0, Qe = 1, un = 2, $n = 3, Hn = 4, qn = 5, Wn = 6, ar = 7, sr = 8, ft = typeof self == "object" ? self : globalThis, li = (e, n) => {
35
36
  const t = (i, l) => (e.set(l, i), i), r = (i) => {
36
37
  if (e.has(i))
37
38
  return e.get(i);
@@ -88,11 +89,11 @@ const or = -1, cn = 0, Qe = 1, un = 2, $n = 3, Hn = 4, qn = 5, Wn = 6, ar = 7, s
88
89
  return t(new ft[l](o), i);
89
90
  };
90
91
  return r;
91
- }, pt = (e) => ii(/* @__PURE__ */ new Map(), e)(0), Be = "", { toString: li } = {}, { keys: oi } = Object, He = (e) => {
92
+ }, pt = (e) => li(/* @__PURE__ */ new Map(), e)(0), Be = "", { toString: oi } = {}, { keys: ai } = Object, He = (e) => {
92
93
  const n = typeof e;
93
94
  if (n !== "object" || !e)
94
95
  return [cn, n];
95
- const t = li.call(e).slice(8, -1);
96
+ const t = oi.call(e).slice(8, -1);
96
97
  switch (t) {
97
98
  case "Array":
98
99
  return [Qe, Be];
@@ -110,7 +111,7 @@ const or = -1, cn = 0, Qe = 1, un = 2, $n = 3, Hn = 4, qn = 5, Wn = 6, ar = 7, s
110
111
  return [Qe, t];
111
112
  }
112
113
  return t.includes("Array") ? [Qe, t] : t.includes("Error") ? [ar, t] : [un, t];
113
- }, ln = ([e, n]) => e === cn && (n === "function" || n === "symbol"), ai = (e, n, t, r) => {
114
+ }, ln = ([e, n]) => e === cn && (n === "function" || n === "symbol"), si = (e, n, t, r) => {
114
115
  const i = (o, a) => {
115
116
  const u = r.push(o) - 1;
116
117
  return t.set(a, u), u;
@@ -159,7 +160,7 @@ const or = -1, cn = 0, Qe = 1, un = 2, $n = 3, Hn = 4, qn = 5, Wn = 6, ar = 7, s
159
160
  if (n && "toJSON" in o)
160
161
  return l(o.toJSON());
161
162
  const c = [], f = i([a, c], o);
162
- for (const m of oi(o))
163
+ for (const m of ai(o))
163
164
  (e || !ln(He(o[m]))) && c.push([l(m), l(o[m])]);
164
165
  return f;
165
166
  }
@@ -188,7 +189,7 @@ const or = -1, cn = 0, Qe = 1, un = 2, $n = 3, Hn = 4, qn = 5, Wn = 6, ar = 7, s
188
189
  return l;
189
190
  }, ht = (e, { json: n, lossy: t } = {}) => {
190
191
  const r = [];
191
- return ai(!(n || t), !!n, /* @__PURE__ */ new Map(), r)(e), r;
192
+ return si(!(n || t), !!n, /* @__PURE__ */ new Map(), r)(e), r;
192
193
  }, Ae = typeof structuredClone == "function" ? (
193
194
  /* c8 ignore start */
194
195
  (e, n) => n && ("json" in n || "lossy" in n) ? pt(ht(e, n)) : structuredClone(e)
@@ -208,17 +209,17 @@ const or = -1, cn = 0, Qe = 1, un = 2, $n = 3, Hn = 4, qn = 5, Wn = 6, ar = 7, s
208
209
  */
209
210
  (function(e) {
210
211
  if (e == null)
211
- return ci;
212
+ return fi;
212
213
  if (typeof e == "string")
213
- return ui(e);
214
+ return ci(e);
214
215
  if (typeof e == "object")
215
- return si(e);
216
+ return ui(e);
216
217
  if (typeof e == "function")
217
218
  return Gn(e);
218
219
  throw new Error("Expected function, string, or array as `test`");
219
220
  })
220
221
  );
221
- function si(e) {
222
+ function ui(e) {
222
223
  const n = [];
223
224
  let t = -1;
224
225
  for (; ++t < e.length; )
@@ -231,7 +232,7 @@ function si(e) {
231
232
  return !1;
232
233
  }
233
234
  }
234
- function ui(e) {
235
+ function ci(e) {
235
236
  return Gn(n);
236
237
  function n(t) {
237
238
  return t.tagName === e;
@@ -240,7 +241,7 @@ function ui(e) {
240
241
  function Gn(e) {
241
242
  return n;
242
243
  function n(t, r, i) {
243
- return !!(fi(t) && e.call(
244
+ return !!(pi(t) && e.call(
244
245
  this,
245
246
  t,
246
247
  typeof r == "number" ? r : void 0,
@@ -248,23 +249,23 @@ function Gn(e) {
248
249
  ));
249
250
  }
250
251
  }
251
- function ci(e) {
252
+ function fi(e) {
252
253
  return !!(e && typeof e == "object" && "type" in e && e.type === "element" && "tagName" in e && typeof e.tagName == "string");
253
254
  }
254
- function fi(e) {
255
+ function pi(e) {
255
256
  return e !== null && typeof e == "object" && "type" in e && "tagName" in e;
256
257
  }
257
- const pi = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, hi = /^[a-zA-Z]:\\/;
258
- function di(e) {
258
+ const hi = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, di = /^[a-zA-Z]:\\/;
259
+ function mi(e) {
259
260
  if (typeof e != "string")
260
261
  throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);
261
- return hi.test(e) ? !1 : pi.test(e);
262
+ return di.test(e) ? !1 : hi.test(e);
262
263
  }
263
- function mi(e) {
264
+ function gi(e) {
264
265
  const n = String(e || "").trim();
265
266
  return n ? n.split(/[ \t\n\r\f]+/g) : [];
266
267
  }
267
- function gi(e) {
268
+ function yi(e) {
268
269
  return e.join(" ").trim();
269
270
  }
270
271
  const cr = (
@@ -284,24 +285,24 @@ const cr = (
284
285
  */
285
286
  (function(e) {
286
287
  if (e == null)
287
- return bi;
288
+ return wi;
288
289
  if (typeof e == "function")
289
290
  return fn(e);
290
291
  if (typeof e == "object")
291
- return Array.isArray(e) ? yi(e) : (
292
+ return Array.isArray(e) ? xi(e) : (
292
293
  // Cast because `ReadonlyArray` goes into the above but `isArray`
293
294
  // narrows to `Array`.
294
- xi(
295
+ ki(
295
296
  /** @type {Props} */
296
297
  e
297
298
  )
298
299
  );
299
300
  if (typeof e == "string")
300
- return ki(e);
301
+ return bi(e);
301
302
  throw new Error("Expected function, string, or object as test");
302
303
  })
303
304
  );
304
- function yi(e) {
305
+ function xi(e) {
305
306
  const n = [];
306
307
  let t = -1;
307
308
  for (; ++t < e.length; )
@@ -314,7 +315,7 @@ function yi(e) {
314
315
  return !1;
315
316
  }
316
317
  }
317
- function xi(e) {
318
+ function ki(e) {
318
319
  const n = (
319
320
  /** @type {Record<string, unknown>} */
320
321
  e
@@ -332,7 +333,7 @@ function xi(e) {
332
333
  return !0;
333
334
  }
334
335
  }
335
- function ki(e) {
336
+ function bi(e) {
336
337
  return fn(n);
337
338
  function n(t) {
338
339
  return t && t.type === e;
@@ -341,7 +342,7 @@ function ki(e) {
341
342
  function fn(e) {
342
343
  return n;
343
344
  function n(t, r, i) {
344
- return !!(wi(t) && e.call(
345
+ return !!(Si(t) && e.call(
345
346
  this,
346
347
  t,
347
348
  typeof r == "number" ? r : void 0,
@@ -349,14 +350,14 @@ function fn(e) {
349
350
  ));
350
351
  }
351
352
  }
352
- function bi() {
353
+ function wi() {
353
354
  return !0;
354
355
  }
355
- function wi(e) {
356
+ function Si(e) {
356
357
  return e !== null && typeof e == "object" && "type" in e;
357
358
  }
358
359
  const fr = [], Ke = !0, dt = !1, An = "skip";
359
- function Si(e, n, t, r) {
360
+ function Ci(e, n, t, r) {
360
361
  let i;
361
362
  typeof n == "function" && typeof t != "function" ? (r = t, t = n) : i = n;
362
363
  const l = cr(i), o = r ? -1 : 1;
@@ -381,7 +382,7 @@ function Si(e, n, t, r) {
381
382
  return m;
382
383
  function m() {
383
384
  let p = fr, k, S, I;
384
- if ((!n || l(u, s, c[c.length - 1] || void 0)) && (p = Ci(t(u, c)), p[0] === dt))
385
+ if ((!n || l(u, s, c[c.length - 1] || void 0)) && (p = Ei(t(u, c)), p[0] === dt))
385
386
  return p;
386
387
  if ("children" in u && u.children) {
387
388
  const b = (
@@ -400,26 +401,26 @@ function Si(e, n, t, r) {
400
401
  }
401
402
  }
402
403
  }
403
- function Ci(e) {
404
+ function Ei(e) {
404
405
  return Array.isArray(e) ? e : typeof e == "number" ? [Ke, e] : e == null ? fr : [e];
405
406
  }
406
407
  function Te(e, n, t, r) {
407
408
  let i, l, o;
408
- typeof n == "function" && typeof t != "function" ? (l = void 0, o = n, i = t) : (l = n, o = t, i = r), Si(e, l, a, i);
409
+ typeof n == "function" && typeof t != "function" ? (l = void 0, o = n, i = t) : (l = n, o = t, i = r), Ci(e, l, a, i);
409
410
  function a(u, s) {
410
411
  const c = s[s.length - 1], f = c ? c.children.indexOf(u) : void 0;
411
412
  return o(u, f, c);
412
413
  }
413
414
  }
414
- const Ei = ["http", "https"], Ii = ["nofollow"], Ni = {};
415
- function Ai(e) {
416
- const n = e || Ni, t = n.protocols || Ei, r = ur(n.test);
415
+ const Ii = ["http", "https"], Ni = ["nofollow"], Ai = {};
416
+ function Pi(e) {
417
+ const n = e || Ai, t = n.protocols || Ii, r = ur(n.test);
417
418
  return function(i) {
418
419
  Te(i, "element", function(l, o, a) {
419
420
  if (l.tagName === "a" && typeof l.properties.href == "string" && r(l, o, a)) {
420
421
  const u = l.properties.href;
421
- if (di(u) ? t.includes(u.slice(0, u.indexOf(":"))) : u.startsWith("//")) {
422
- const s = qe(n.content, l), c = s && !Array.isArray(s) ? [s] : s, f = qe(n.rel, l) || Ii, m = typeof f == "string" ? mi(f) : f, p = qe(n.target, l), k = qe(n.properties, l);
422
+ if (mi(u) ? t.includes(u.slice(0, u.indexOf(":"))) : u.startsWith("//")) {
423
+ const s = qe(n.content, l), c = s && !Array.isArray(s) ? [s] : s, f = qe(n.rel, l) || Ni, m = typeof f == "string" ? gi(f) : f, p = qe(n.target, l), k = qe(n.properties, l);
423
424
  if (k && Object.assign(l.properties, Ae(k)), m.length > 0 && (l.properties.rel = [...m]), p && (l.properties.target = p), c) {
424
425
  const S = qe(n.contentProperties, l) || {};
425
426
  l.children.push({
@@ -437,12 +438,12 @@ function Ai(e) {
437
438
  function qe(e, n) {
438
439
  return typeof e == "function" ? e(n) : e;
439
440
  }
440
- function Pi({ defaultOrigin: e = "", allowedLinkPrefixes: n = [], allowedImagePrefixes: t = [], allowDataImages: r = !1, allowedProtocols: i = [], blockedImageClass: l = "inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm", blockedLinkClass: o = "text-gray-500" }) {
441
+ function Ti({ defaultOrigin: e = "", allowedLinkPrefixes: n = [], allowedImagePrefixes: t = [], allowDataImages: r = !1, allowedProtocols: i = [], blockedImageClass: l = "inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm", blockedLinkClass: o = "text-gray-500" }) {
441
442
  const a = n.length && !n.every((s) => s === "*"), u = t.length && !t.every((s) => s === "*");
442
443
  if (!e && (a || u))
443
444
  throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");
444
445
  return (s) => {
445
- const c = vi(e, n, t, r, i, l, o);
446
+ const c = Mi(e, n, t, r, i, l, o);
446
447
  Te(s, c);
447
448
  };
448
449
  }
@@ -467,10 +468,10 @@ function mt(e, n) {
467
468
  return null;
468
469
  }
469
470
  }
470
- function Ti(e) {
471
+ function zi(e) {
471
472
  return typeof e != "string" ? !1 : e.startsWith("/") || e.startsWith("./") || e.startsWith("../");
472
473
  }
473
- const zi = /* @__PURE__ */ new Set([
474
+ const Li = /* @__PURE__ */ new Set([
474
475
  "https:",
475
476
  "http:",
476
477
  "irc:",
@@ -478,7 +479,7 @@ const zi = /* @__PURE__ */ new Set([
478
479
  "mailto:",
479
480
  "xmpp:",
480
481
  "blob:"
481
- ]), Li = /* @__PURE__ */ new Set([
482
+ ]), vi = /* @__PURE__ */ new Set([
482
483
  "javascript:",
483
484
  "data:",
484
485
  "file:",
@@ -508,17 +509,17 @@ function gt(e, n, t, r = !1, i = !1, l = []) {
508
509
  return null;
509
510
  }
510
511
  const o = mt(e, t);
511
- if (!o || Li.has(o.protocol) || !(zi.has(o.protocol) || l.includes(o.protocol) || l.includes("*")))
512
+ if (!o || vi.has(o.protocol) || !(Li.has(o.protocol) || l.includes(o.protocol) || l.includes("*")))
512
513
  return null;
513
514
  if (o.protocol === "mailto:" || !o.protocol.match(/^https?:$/))
514
515
  return o.href;
515
- const u = Ti(e);
516
+ const u = zi(e);
516
517
  return o && n.some((s) => {
517
518
  const c = mt(s, t);
518
519
  return !c || c.origin !== o.origin ? !1 : o.href.startsWith(c.href);
519
520
  }) ? u ? o.pathname + o.search + o.hash : o.href : n.includes("*") ? o.protocol !== "https:" && o.protocol !== "http:" ? null : u ? o.pathname + o.search + o.hash : o.href : null;
520
521
  }
521
- const dn = /* @__PURE__ */ Symbol("node-seen"), vi = (e, n, t, r, i, l, o) => {
522
+ const dn = /* @__PURE__ */ Symbol("node-seen"), Mi = (e, n, t, r, i, l, o) => {
522
523
  const a = (u, s, c) => {
523
524
  if (u.type !== "element" || // @ts-expect-error
524
525
  u[dn])
@@ -561,7 +562,7 @@ const dn = /* @__PURE__ */ Symbol("node-seen"), vi = (e, n, t, r, i, l, o) => {
561
562
  };
562
563
  return a;
563
564
  };
564
- function Xu(e) {
565
+ function Ku(e) {
565
566
  const n = [], t = String(e || "");
566
567
  let r = t.indexOf(","), i = 0, l = !1;
567
568
  for (; !l; ) {
@@ -571,22 +572,22 @@ function Xu(e) {
571
572
  }
572
573
  return n;
573
574
  }
574
- function Mi(e, n) {
575
+ function _i(e, n) {
575
576
  const t = {};
576
577
  return (e[e.length - 1] === "" ? [...e, ""] : e).join(
577
578
  (t.padRight ? " " : "") + "," + (t.padLeft === !1 ? "" : " ")
578
579
  ).trim();
579
580
  }
580
- const _i = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Bi = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Di = {};
581
+ const Bi = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Di = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Ri = {};
581
582
  function yt(e, n) {
582
- return (Di.jsx ? Bi : _i).test(e);
583
+ return (Ri.jsx ? Di : Bi).test(e);
583
584
  }
584
- const Ri = /[ \t\n\f\r]/g;
585
- function Fi(e) {
585
+ const Fi = /[ \t\n\f\r]/g;
586
+ function Oi(e) {
586
587
  return typeof e == "object" ? e.type === "text" ? xt(e.value) : !1 : xt(e);
587
588
  }
588
589
  function xt(e) {
589
- return e.replace(Ri, "") === "";
590
+ return e.replace(Fi, "") === "";
590
591
  }
591
592
  class nn {
592
593
  /**
@@ -640,10 +641,10 @@ ne.prototype.overloadedBoolean = !1;
640
641
  ne.prototype.property = "";
641
642
  ne.prototype.spaceSeparated = !1;
642
643
  ne.prototype.space = void 0;
643
- let Oi = 0;
644
+ let ji = 0;
644
645
  const _ = ze(), X = ze(), Tn = ze(), w = ze(), W = ze(), Re = ze(), re = ze();
645
646
  function ze() {
646
- return 2 ** ++Oi;
647
+ return 2 ** ++ji;
647
648
  }
648
649
  const zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: _, booleanish: X, commaOrSpaceSeparated: re, commaSeparated: Re, number: w, overloadedBoolean: Tn, spaceSeparated: W }, Symbol.toStringTag, { value: "Module" })), mn = (
649
650
  /** @type {ReadonlyArray<keyof typeof types>} */
@@ -751,7 +752,7 @@ function dr(e, n) {
751
752
  function mr(e, n) {
752
753
  return dr(e, n.toLowerCase());
753
754
  }
754
- const ji = Oe({
755
+ const Vi = Oe({
755
756
  attributes: {
756
757
  acceptcharset: "accept-charset",
757
758
  classname: "class",
@@ -1112,7 +1113,7 @@ const ji = Oe({
1112
1113
  },
1113
1114
  space: "html",
1114
1115
  transform: mr
1115
- }), Vi = Oe({
1116
+ }), Ui = Oe({
1116
1117
  attributes: {
1117
1118
  accentHeight: "accent-height",
1118
1119
  alignmentBaseline: "alignment-baseline",
@@ -1696,7 +1697,7 @@ const ji = Oe({
1696
1697
  transform(e, n) {
1697
1698
  return "xml:" + n.slice(3).toLowerCase();
1698
1699
  }
1699
- }), Ui = {
1700
+ }), $i = {
1700
1701
  classId: "classID",
1701
1702
  dataType: "datatype",
1702
1703
  itemId: "itemID",
@@ -1714,20 +1715,20 @@ const ji = Oe({
1714
1715
  xLinkTitle: "xlinkTitle",
1715
1716
  xLinkType: "xlinkType",
1716
1717
  xmlnsXLink: "xmlnsXlink"
1717
- }, $i = /[A-Z]/g, bt = /-[a-z]/g, Hi = /^data[-\w.:]+$/i;
1718
- function qi(e, n) {
1718
+ }, Hi = /[A-Z]/g, bt = /-[a-z]/g, qi = /^data[-\w.:]+$/i;
1719
+ function Wi(e, n) {
1719
1720
  const t = Pn(n);
1720
1721
  let r = n, i = ne;
1721
1722
  if (t in e.normal)
1722
1723
  return e.property[e.normal[t]];
1723
- if (t.length > 4 && t.slice(0, 4) === "data" && Hi.test(n)) {
1724
+ if (t.length > 4 && t.slice(0, 4) === "data" && qi.test(n)) {
1724
1725
  if (n.charAt(4) === "-") {
1725
- const l = n.slice(5).replace(bt, Gi);
1726
+ const l = n.slice(5).replace(bt, Xi);
1726
1727
  r = "data" + l.charAt(0).toUpperCase() + l.slice(1);
1727
1728
  } else {
1728
1729
  const l = n.slice(4);
1729
1730
  if (!bt.test(l)) {
1730
- let o = l.replace($i, Wi);
1731
+ let o = l.replace(Hi, Gi);
1731
1732
  o.charAt(0) !== "-" && (o = "-" + o), n = "data" + o;
1732
1733
  }
1733
1734
  }
@@ -1735,15 +1736,15 @@ function qi(e, n) {
1735
1736
  }
1736
1737
  return new i(r, n);
1737
1738
  }
1738
- function Wi(e) {
1739
+ function Gi(e) {
1739
1740
  return "-" + e.toLowerCase();
1740
1741
  }
1741
- function Gi(e) {
1742
+ function Xi(e) {
1742
1743
  return e.charAt(1).toUpperCase();
1743
1744
  }
1744
- const Xi = pr([hr, ji, gr, yr, xr], "html"), Yn = pr([hr, Vi, gr, yr, xr], "svg");
1745
+ const Yi = pr([hr, Vi, gr, yr, xr], "html"), Yn = pr([hr, Ui, gr, yr, xr], "svg");
1745
1746
  var De = {}, gn, wt;
1746
- function Yi() {
1747
+ function Ki() {
1747
1748
  if (wt) return gn;
1748
1749
  wt = 1;
1749
1750
  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, n = /\n/g, t = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i = /^:\s*/, l = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, o = /^[;\s]*/, a = /^\s+|\s+$/g, u = `
@@ -1833,14 +1834,14 @@ function Yi() {
1833
1834
  return gn = k, gn;
1834
1835
  }
1835
1836
  var St;
1836
- function Ki() {
1837
+ function Qi() {
1837
1838
  if (St) return De;
1838
1839
  St = 1;
1839
1840
  var e = De && De.__importDefault || function(r) {
1840
1841
  return r && r.__esModule ? r : { default: r };
1841
1842
  };
1842
1843
  Object.defineProperty(De, "__esModule", { value: !0 }), De.default = t;
1843
- const n = e(/* @__PURE__ */ Yi());
1844
+ const n = e(/* @__PURE__ */ Ki());
1844
1845
  function t(r, i) {
1845
1846
  let l = null;
1846
1847
  if (!r || typeof r != "string")
@@ -1856,7 +1857,7 @@ function Ki() {
1856
1857
  return De;
1857
1858
  }
1858
1859
  var We = {}, Ct;
1859
- function Qi() {
1860
+ function Ji() {
1860
1861
  if (Ct) return We;
1861
1862
  Ct = 1, Object.defineProperty(We, "__esModule", { value: !0 }), We.camelCase = void 0;
1862
1863
  var e = /^--[a-zA-Z0-9_-]+$/, n = /-([a-z])/g, t = /^[^-]+$/, r = /^-(webkit|moz|ms|o|khtml)-/, i = /^-(ms)-/, l = function(s) {
@@ -1871,12 +1872,12 @@ function Qi() {
1871
1872
  return We.camelCase = u, We;
1872
1873
  }
1873
1874
  var Ge, Et;
1874
- function Ji() {
1875
+ function Zi() {
1875
1876
  if (Et) return Ge;
1876
1877
  Et = 1;
1877
1878
  var e = Ge && Ge.__importDefault || function(i) {
1878
1879
  return i && i.__esModule ? i : { default: i };
1879
- }, n = e(/* @__PURE__ */ Ki()), t = /* @__PURE__ */ Qi();
1880
+ }, n = e(/* @__PURE__ */ Qi()), t = /* @__PURE__ */ Ji();
1880
1881
  function r(i, l) {
1881
1882
  var o = {};
1882
1883
  return !i || typeof i != "string" || (0, n.default)(i, function(a, u) {
@@ -1885,8 +1886,8 @@ function Ji() {
1885
1886
  }
1886
1887
  return r.default = r, Ge = r, Ge;
1887
1888
  }
1888
- var Zi = /* @__PURE__ */ Ji();
1889
- const el = /* @__PURE__ */ ir(Zi), kr = br("end"), Kn = br("start");
1889
+ var el = /* @__PURE__ */ Zi();
1890
+ const nl = /* @__PURE__ */ ir(el), kr = br("end"), Kn = br("start");
1890
1891
  function br(e) {
1891
1892
  return n;
1892
1893
  function n(t) {
@@ -1899,7 +1900,7 @@ function br(e) {
1899
1900
  };
1900
1901
  }
1901
1902
  }
1902
- function nl(e) {
1903
+ function tl(e) {
1903
1904
  const n = Kn(e), t = kr(e);
1904
1905
  if (n && t)
1905
1906
  return { start: n, end: t };
@@ -2003,8 +2004,8 @@ Q.prototype.fatal = void 0;
2003
2004
  Q.prototype.place = void 0;
2004
2005
  Q.prototype.ruleId = void 0;
2005
2006
  Q.prototype.source = void 0;
2006
- const Qn = {}.hasOwnProperty, tl = /* @__PURE__ */ new Map(), rl = /[A-Z]/g, il = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), ll = /* @__PURE__ */ new Set(["td", "th"]), wr = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
2007
- function ol(e, n) {
2007
+ const Qn = {}.hasOwnProperty, rl = /* @__PURE__ */ new Map(), il = /[A-Z]/g, ll = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), ol = /* @__PURE__ */ new Set(["td", "th"]), wr = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
2008
+ function al(e, n) {
2008
2009
  if (!n || n.Fragment === void 0)
2009
2010
  throw new TypeError("Expected `Fragment` in options");
2010
2011
  const t = n.filePath || void 0;
@@ -2014,13 +2015,13 @@ function ol(e, n) {
2014
2015
  throw new TypeError(
2015
2016
  "Expected `jsxDEV` in options when `development: true`"
2016
2017
  );
2017
- r = dl(t, n.jsxDEV);
2018
+ r = ml(t, n.jsxDEV);
2018
2019
  } else {
2019
2020
  if (typeof n.jsx != "function")
2020
2021
  throw new TypeError("Expected `jsx` in production options");
2021
2022
  if (typeof n.jsxs != "function")
2022
2023
  throw new TypeError("Expected `jsxs` in production options");
2023
- r = hl(t, n.jsx, n.jsxs);
2024
+ r = dl(t, n.jsx, n.jsxs);
2024
2025
  }
2025
2026
  const i = {
2026
2027
  Fragment: n.Fragment,
@@ -2033,7 +2034,7 @@ function ol(e, n) {
2033
2034
  ignoreInvalidStyle: n.ignoreInvalidStyle || !1,
2034
2035
  passKeys: n.passKeys !== !1,
2035
2036
  passNode: n.passNode || !1,
2036
- schema: n.space === "svg" ? Yn : Xi,
2037
+ schema: n.space === "svg" ? Yn : Yi,
2037
2038
  stylePropertyNameCase: n.stylePropertyNameCase || "dom",
2038
2039
  tableCellAlignToStyle: n.tableCellAlignToStyle !== !1
2039
2040
  }, l = Sr(i, e, void 0);
@@ -2046,29 +2047,29 @@ function ol(e, n) {
2046
2047
  }
2047
2048
  function Sr(e, n, t) {
2048
2049
  if (n.type === "element")
2049
- return al(e, n, t);
2050
+ return sl(e, n, t);
2050
2051
  if (n.type === "mdxFlowExpression" || n.type === "mdxTextExpression")
2051
- return sl(e, n);
2052
+ return ul(e, n);
2052
2053
  if (n.type === "mdxJsxFlowElement" || n.type === "mdxJsxTextElement")
2053
- return cl(e, n, t);
2054
+ return fl(e, n, t);
2054
2055
  if (n.type === "mdxjsEsm")
2055
- return ul(e, n);
2056
+ return cl(e, n);
2056
2057
  if (n.type === "root")
2057
- return fl(e, n, t);
2058
+ return pl(e, n, t);
2058
2059
  if (n.type === "text")
2059
- return pl(e, n);
2060
+ return hl(e, n);
2060
2061
  }
2061
- function al(e, n, t) {
2062
+ function sl(e, n, t) {
2062
2063
  const r = e.schema;
2063
2064
  let i = r;
2064
2065
  n.tagName.toLowerCase() === "svg" && r.space === "html" && (i = Yn, e.schema = i), e.ancestors.push(n);
2065
- const l = Er(e, n.tagName, !1), o = ml(e, n);
2066
+ const l = Er(e, n.tagName, !1), o = gl(e, n);
2066
2067
  let a = Zn(e, n);
2067
- return il.has(n.tagName) && (a = a.filter(function(u) {
2068
- return typeof u == "string" ? !Fi(u) : !0;
2068
+ return ll.has(n.tagName) && (a = a.filter(function(u) {
2069
+ return typeof u == "string" ? !Oi(u) : !0;
2069
2070
  })), Cr(e, o, l, n), Jn(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2070
2071
  }
2071
- function sl(e, n) {
2072
+ function ul(e, n) {
2072
2073
  if (n.data && n.data.estree && e.evaluater) {
2073
2074
  const r = n.data.estree.body[0];
2074
2075
  return (
@@ -2078,7 +2079,7 @@ function sl(e, n) {
2078
2079
  }
2079
2080
  en(e, n.position);
2080
2081
  }
2081
- function ul(e, n) {
2082
+ function cl(e, n) {
2082
2083
  if (n.data && n.data.estree && e.evaluater)
2083
2084
  return (
2084
2085
  /** @type {Child | undefined} */
@@ -2086,18 +2087,18 @@ function ul(e, n) {
2086
2087
  );
2087
2088
  en(e, n.position);
2088
2089
  }
2089
- function cl(e, n, t) {
2090
+ function fl(e, n, t) {
2090
2091
  const r = e.schema;
2091
2092
  let i = r;
2092
2093
  n.name === "svg" && r.space === "html" && (i = Yn, e.schema = i), e.ancestors.push(n);
2093
- const l = n.name === null ? e.Fragment : Er(e, n.name, !0), o = gl(e, n), a = Zn(e, n);
2094
+ const l = n.name === null ? e.Fragment : Er(e, n.name, !0), o = yl(e, n), a = Zn(e, n);
2094
2095
  return Cr(e, o, l, n), Jn(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2095
2096
  }
2096
- function fl(e, n, t) {
2097
+ function pl(e, n, t) {
2097
2098
  const r = {};
2098
2099
  return Jn(r, Zn(e, n)), e.create(n, e.Fragment, r, t);
2099
2100
  }
2100
- function pl(e, n) {
2101
+ function hl(e, n) {
2101
2102
  return n.value;
2102
2103
  }
2103
2104
  function Cr(e, n, t, r) {
@@ -2109,14 +2110,14 @@ function Jn(e, n) {
2109
2110
  t && (e.children = t);
2110
2111
  }
2111
2112
  }
2112
- function hl(e, n, t) {
2113
+ function dl(e, n, t) {
2113
2114
  return r;
2114
2115
  function r(i, l, o, a) {
2115
2116
  const s = Array.isArray(o.children) ? t : n;
2116
2117
  return a ? s(l, o, a) : s(l, o);
2117
2118
  }
2118
2119
  }
2119
- function dl(e, n) {
2120
+ function ml(e, n) {
2120
2121
  return t;
2121
2122
  function t(r, i, l, o) {
2122
2123
  const a = Array.isArray(l.children), u = Kn(r);
@@ -2134,15 +2135,15 @@ function dl(e, n) {
2134
2135
  );
2135
2136
  }
2136
2137
  }
2137
- function ml(e, n) {
2138
+ function gl(e, n) {
2138
2139
  const t = {};
2139
2140
  let r, i;
2140
2141
  for (i in n.properties)
2141
2142
  if (i !== "children" && Qn.call(n.properties, i)) {
2142
- const l = yl(e, i, n.properties[i]);
2143
+ const l = xl(e, i, n.properties[i]);
2143
2144
  if (l) {
2144
2145
  const [o, a] = l;
2145
- e.tableCellAlignToStyle && o === "align" && typeof a == "string" && ll.has(n.tagName) ? r = a : t[o] = a;
2146
+ e.tableCellAlignToStyle && o === "align" && typeof a == "string" && ol.has(n.tagName) ? r = a : t[o] = a;
2146
2147
  }
2147
2148
  }
2148
2149
  if (r) {
@@ -2154,7 +2155,7 @@ function ml(e, n) {
2154
2155
  }
2155
2156
  return t;
2156
2157
  }
2157
- function gl(e, n) {
2158
+ function yl(e, n) {
2158
2159
  const t = {};
2159
2160
  for (const r of n.attributes)
2160
2161
  if (r.type === "mdxJsxExpressionAttribute")
@@ -2185,7 +2186,7 @@ function gl(e, n) {
2185
2186
  function Zn(e, n) {
2186
2187
  const t = [];
2187
2188
  let r = -1;
2188
- const i = e.passKeys ? /* @__PURE__ */ new Map() : tl;
2189
+ const i = e.passKeys ? /* @__PURE__ */ new Map() : rl;
2189
2190
  for (; ++r < n.children.length; ) {
2190
2191
  const l = n.children[r];
2191
2192
  let o;
@@ -2201,22 +2202,22 @@ function Zn(e, n) {
2201
2202
  }
2202
2203
  return t;
2203
2204
  }
2204
- function yl(e, n, t) {
2205
- const r = qi(e.schema, n);
2205
+ function xl(e, n, t) {
2206
+ const r = Wi(e.schema, n);
2206
2207
  if (!(t == null || typeof t == "number" && Number.isNaN(t))) {
2207
- if (Array.isArray(t) && (t = r.commaSeparated ? Mi(t) : gi(t)), r.property === "style") {
2208
- let i = typeof t == "object" ? t : xl(e, String(t));
2209
- return e.stylePropertyNameCase === "css" && (i = kl(i)), ["style", i];
2208
+ if (Array.isArray(t) && (t = r.commaSeparated ? _i(t) : yi(t)), r.property === "style") {
2209
+ let i = typeof t == "object" ? t : kl(e, String(t));
2210
+ return e.stylePropertyNameCase === "css" && (i = bl(i)), ["style", i];
2210
2211
  }
2211
2212
  return [
2212
- e.elementAttributeNameCase === "react" && r.space ? Ui[r.property] || r.property : r.attribute,
2213
+ e.elementAttributeNameCase === "react" && r.space ? $i[r.property] || r.property : r.attribute,
2213
2214
  t
2214
2215
  ];
2215
2216
  }
2216
2217
  }
2217
- function xl(e, n) {
2218
+ function kl(e, n) {
2218
2219
  try {
2219
- return el(n, { reactCompat: !0 });
2220
+ return nl(n, { reactCompat: !0 });
2220
2221
  } catch (t) {
2221
2222
  if (e.ignoreInvalidStyle)
2222
2223
  return {};
@@ -2275,37 +2276,37 @@ function en(e, n) {
2275
2276
  );
2276
2277
  throw t.file = e.filePath || void 0, t.url = wr + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2277
2278
  }
2278
- function kl(e) {
2279
+ function bl(e) {
2279
2280
  const n = {};
2280
2281
  let t;
2281
2282
  for (t in e)
2282
- Qn.call(e, t) && (n[bl(t)] = e[t]);
2283
+ Qn.call(e, t) && (n[wl(t)] = e[t]);
2283
2284
  return n;
2284
2285
  }
2285
- function bl(e) {
2286
- let n = e.replace(rl, wl);
2286
+ function wl(e) {
2287
+ let n = e.replace(il, Sl);
2287
2288
  return n.slice(0, 3) === "ms-" && (n = "-" + n), n;
2288
2289
  }
2289
- function wl(e) {
2290
+ function Sl(e) {
2290
2291
  return "-" + e.toLowerCase();
2291
2292
  }
2292
- function Sl(e) {
2293
+ function Cl(e) {
2293
2294
  const n = (
2294
2295
  /** @type {Processor} */
2295
2296
  this
2296
2297
  );
2297
2298
  n.compiler = t;
2298
2299
  function t(r, i) {
2299
- return ol(r, { filePath: i.path, ...e });
2300
+ return al(r, { filePath: i.path, ...e });
2300
2301
  }
2301
2302
  }
2302
- const Cl = {};
2303
- function El(e, n) {
2304
- const t = Cl, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2303
+ const El = {};
2304
+ function Il(e, n) {
2305
+ const t = El, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2305
2306
  return Ir(e, r, i);
2306
2307
  }
2307
2308
  function Ir(e, n, t) {
2308
- if (Il(e)) {
2309
+ if (Nl(e)) {
2309
2310
  if ("value" in e)
2310
2311
  return e.type === "html" && !t ? "" : e.value;
2311
2312
  if (n && "alt" in e && e.alt)
@@ -2322,7 +2323,7 @@ function At(e, n, t) {
2322
2323
  r[i] = Ir(e[i], n, t);
2323
2324
  return r.join("");
2324
2325
  }
2325
- function Il(e) {
2326
+ function Nl(e) {
2326
2327
  return !!(e && typeof e == "object");
2327
2328
  }
2328
2329
  const Pt = document.createElement("i");
@@ -2349,14 +2350,14 @@ function le(e, n) {
2349
2350
  return e.length > 0 ? (ge(e, e.length, 0, n), e) : n;
2350
2351
  }
2351
2352
  const Tt = {}.hasOwnProperty;
2352
- function Nl(e) {
2353
+ function Al(e) {
2353
2354
  const n = {};
2354
2355
  let t = -1;
2355
2356
  for (; ++t < e.length; )
2356
- Al(n, e[t]);
2357
+ Pl(n, e[t]);
2357
2358
  return n;
2358
2359
  }
2359
- function Al(e, n) {
2360
+ function Pl(e, n) {
2360
2361
  let t;
2361
2362
  for (t in n) {
2362
2363
  const i = (Tt.call(e, t) ? e[t] : void 0) || (e[t] = {}), l = n[t];
@@ -2365,7 +2366,7 @@ function Al(e, n) {
2365
2366
  for (o in l) {
2366
2367
  Tt.call(i, o) || (i[o] = []);
2367
2368
  const a = l[o];
2368
- Pl(
2369
+ Tl(
2369
2370
  // @ts-expect-error Looks like a list.
2370
2371
  i[o],
2371
2372
  Array.isArray(a) ? a : a ? [a] : []
@@ -2373,7 +2374,7 @@ function Al(e, n) {
2373
2374
  }
2374
2375
  }
2375
2376
  }
2376
- function Pl(e, n) {
2377
+ function Tl(e, n) {
2377
2378
  let t = -1;
2378
2379
  const r = [];
2379
2380
  for (; ++t < n.length; )
@@ -2396,7 +2397,7 @@ function Nr(e, n) {
2396
2397
  function Fe(e) {
2397
2398
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
2398
2399
  }
2399
- const de = Ce(/[A-Za-z]/), ie = Ce(/[\dA-Za-z]/), Tl = Ce(/[#-'*+\--9=?A-Z^-~]/);
2400
+ const de = Ce(/[A-Za-z]/), ie = Ce(/[\dA-Za-z]/), zl = Ce(/[#-'*+\--9=?A-Z^-~]/);
2400
2401
  function vn(e) {
2401
2402
  return (
2402
2403
  // Special whitespace codes (which have negative values), C0 and Control
@@ -2404,7 +2405,7 @@ function vn(e) {
2404
2405
  e !== null && (e < 32 || e === 127)
2405
2406
  );
2406
2407
  }
2407
- const Mn = Ce(/\d/), zl = Ce(/[\dA-Fa-f]/), Ll = Ce(/[!-/:-@[-`{-~]/);
2408
+ const Mn = Ce(/\d/), Ll = Ce(/[\dA-Fa-f]/), vl = Ce(/[!-/:-@[-`{-~]/);
2408
2409
  function L(e) {
2409
2410
  return e !== null && e < -2;
2410
2411
  }
@@ -2414,7 +2415,7 @@ function ee(e) {
2414
2415
  function F(e) {
2415
2416
  return e === -2 || e === -1 || e === 32;
2416
2417
  }
2417
- const vl = Ce(new RegExp("\\p{P}|\\p{S}", "u")), Ml = Ce(/\s/);
2418
+ const Ml = Ce(new RegExp("\\p{P}|\\p{S}", "u")), _l = Ce(/\s/);
2418
2419
  function Ce(e) {
2419
2420
  return n;
2420
2421
  function n(t) {
@@ -2451,10 +2452,10 @@ function G(e, n, t, r) {
2451
2452
  return F(u) && l++ < i ? (e.consume(u), a) : (e.exit(t), n(u));
2452
2453
  }
2453
2454
  }
2454
- const _l = {
2455
- tokenize: Bl
2455
+ const Bl = {
2456
+ tokenize: Dl
2456
2457
  };
2457
- function Bl(e) {
2458
+ function Dl(e) {
2458
2459
  const n = e.attempt(this.parser.constructs.contentInitial, r, i);
2459
2460
  let t;
2460
2461
  return n;
@@ -2483,12 +2484,12 @@ function Bl(e) {
2483
2484
  return L(a) ? (e.consume(a), e.exit("chunkText"), l) : (e.consume(a), o);
2484
2485
  }
2485
2486
  }
2486
- const Dl = {
2487
- tokenize: Rl
2488
- }, zt = {
2487
+ const Rl = {
2489
2488
  tokenize: Fl
2489
+ }, zt = {
2490
+ tokenize: Ol
2490
2491
  };
2491
- function Rl(e) {
2492
+ function Fl(e) {
2492
2493
  const n = this, t = [];
2493
2494
  let r = 0, i, l, o;
2494
2495
  return a;
@@ -2600,13 +2601,13 @@ function Rl(e) {
2600
2601
  i.write([null]), l = void 0, i = void 0, n.containerState._closeFlow = void 0;
2601
2602
  }
2602
2603
  }
2603
- function Fl(e, n, t) {
2604
+ function Ol(e, n, t) {
2604
2605
  return G(e, e.attempt(this.parser.constructs.document, n, t), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
2605
2606
  }
2606
2607
  function Lt(e) {
2607
- if (e === null || ee(e) || Ml(e))
2608
+ if (e === null || ee(e) || _l(e))
2608
2609
  return 1;
2609
- if (vl(e))
2610
+ if (Ml(e))
2610
2611
  return 2;
2611
2612
  }
2612
2613
  function nt(e, n, t) {
@@ -2620,10 +2621,10 @@ function nt(e, n, t) {
2620
2621
  }
2621
2622
  const _n = {
2622
2623
  name: "attention",
2623
- resolveAll: Ol,
2624
- tokenize: jl
2624
+ resolveAll: jl,
2625
+ tokenize: Vl
2625
2626
  };
2626
- function Ol(e, n) {
2627
+ function jl(e, n) {
2627
2628
  let t = -1, r, i, l, o, a, u, s, c;
2628
2629
  for (; ++t < e.length; )
2629
2630
  if (e[t][0] === "enter" && e[t][1].type === "attentionSequence" && e[t][1]._close) {
@@ -2678,7 +2679,7 @@ function Ol(e, n) {
2678
2679
  e[t][1].type === "attentionSequence" && (e[t][1].type = "data");
2679
2680
  return e;
2680
2681
  }
2681
- function jl(e, n) {
2682
+ function Vl(e, n) {
2682
2683
  const t = this.parser.constructs.attentionMarkers.null, r = this.previous, i = Lt(r);
2683
2684
  let l;
2684
2685
  return o;
@@ -2695,11 +2696,11 @@ function jl(e, n) {
2695
2696
  function vt(e, n) {
2696
2697
  e.column += n, e.offset += n, e._bufferIndex += n;
2697
2698
  }
2698
- const Vl = {
2699
+ const Ul = {
2699
2700
  name: "autolink",
2700
- tokenize: Ul
2701
+ tokenize: $l
2701
2702
  };
2702
- function Ul(e, n, t) {
2703
+ function $l(e, n, t) {
2703
2704
  let r = 0;
2704
2705
  return i;
2705
2706
  function i(p) {
@@ -2718,7 +2719,7 @@ function Ul(e, n, t) {
2718
2719
  return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), n) : p === null || p === 32 || p === 60 || vn(p) ? t(p) : (e.consume(p), u);
2719
2720
  }
2720
2721
  function s(p) {
2721
- return p === 64 ? (e.consume(p), c) : Tl(p) ? (e.consume(p), s) : t(p);
2722
+ return p === 64 ? (e.consume(p), c) : zl(p) ? (e.consume(p), s) : t(p);
2722
2723
  }
2723
2724
  function c(p) {
2724
2725
  return ie(p) ? f(p) : t(p);
@@ -2736,9 +2737,9 @@ function Ul(e, n, t) {
2736
2737
  }
2737
2738
  const pn = {
2738
2739
  partial: !0,
2739
- tokenize: $l
2740
+ tokenize: Hl
2740
2741
  };
2741
- function $l(e, n, t) {
2742
+ function Hl(e, n, t) {
2742
2743
  return r;
2743
2744
  function r(l) {
2744
2745
  return F(l) ? G(e, i, "linePrefix")(l) : i(l);
@@ -2749,13 +2750,13 @@ function $l(e, n, t) {
2749
2750
  }
2750
2751
  const Ar = {
2751
2752
  continuation: {
2752
- tokenize: ql
2753
+ tokenize: Wl
2753
2754
  },
2754
- exit: Wl,
2755
+ exit: Gl,
2755
2756
  name: "blockQuote",
2756
- tokenize: Hl
2757
+ tokenize: ql
2757
2758
  };
2758
- function Hl(e, n, t) {
2759
+ function ql(e, n, t) {
2759
2760
  const r = this;
2760
2761
  return i;
2761
2762
  function i(o) {
@@ -2771,7 +2772,7 @@ function Hl(e, n, t) {
2771
2772
  return F(o) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(o), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), n) : (e.exit("blockQuotePrefix"), n(o));
2772
2773
  }
2773
2774
  }
2774
- function ql(e, n, t) {
2775
+ function Wl(e, n, t) {
2775
2776
  const r = this;
2776
2777
  return i;
2777
2778
  function i(o) {
@@ -2781,27 +2782,27 @@ function ql(e, n, t) {
2781
2782
  return e.attempt(Ar, n, t)(o);
2782
2783
  }
2783
2784
  }
2784
- function Wl(e) {
2785
+ function Gl(e) {
2785
2786
  e.exit("blockQuote");
2786
2787
  }
2787
2788
  const Pr = {
2788
2789
  name: "characterEscape",
2789
- tokenize: Gl
2790
+ tokenize: Xl
2790
2791
  };
2791
- function Gl(e, n, t) {
2792
+ function Xl(e, n, t) {
2792
2793
  return r;
2793
2794
  function r(l) {
2794
2795
  return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(l), e.exit("escapeMarker"), i;
2795
2796
  }
2796
2797
  function i(l) {
2797
- return Ll(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2798
+ return vl(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2798
2799
  }
2799
2800
  }
2800
2801
  const Tr = {
2801
2802
  name: "characterReference",
2802
- tokenize: Xl
2803
+ tokenize: Yl
2803
2804
  };
2804
- function Xl(e, n, t) {
2805
+ function Yl(e, n, t) {
2805
2806
  const r = this;
2806
2807
  let i = 0, l, o;
2807
2808
  return a;
@@ -2812,7 +2813,7 @@ function Xl(e, n, t) {
2812
2813
  return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), s) : (e.enter("characterReferenceValue"), l = 31, o = ie, c(f));
2813
2814
  }
2814
2815
  function s(f) {
2815
- return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, o = zl, c) : (e.enter("characterReferenceValue"), l = 7, o = Mn, c(f));
2816
+ return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, o = Ll, c) : (e.enter("characterReferenceValue"), l = 7, o = Mn, c(f));
2816
2817
  }
2817
2818
  function c(f) {
2818
2819
  if (f === 59 && i) {
@@ -2824,13 +2825,13 @@ function Xl(e, n, t) {
2824
2825
  }
2825
2826
  const Mt = {
2826
2827
  partial: !0,
2827
- tokenize: Kl
2828
+ tokenize: Ql
2828
2829
  }, _t = {
2829
2830
  concrete: !0,
2830
2831
  name: "codeFenced",
2831
- tokenize: Yl
2832
+ tokenize: Kl
2832
2833
  };
2833
- function Yl(e, n, t) {
2834
+ function Kl(e, n, t) {
2834
2835
  const r = this, i = {
2835
2836
  partial: !0,
2836
2837
  tokenize: j
@@ -2901,7 +2902,7 @@ function Yl(e, n, t) {
2901
2902
  }
2902
2903
  }
2903
2904
  }
2904
- function Kl(e, n, t) {
2905
+ function Ql(e, n, t) {
2905
2906
  const r = this;
2906
2907
  return i;
2907
2908
  function i(o) {
@@ -2913,12 +2914,12 @@ function Kl(e, n, t) {
2913
2914
  }
2914
2915
  const yn = {
2915
2916
  name: "codeIndented",
2916
- tokenize: Jl
2917
- }, Ql = {
2918
- partial: !0,
2919
2917
  tokenize: Zl
2918
+ }, Jl = {
2919
+ partial: !0,
2920
+ tokenize: eo
2920
2921
  };
2921
- function Jl(e, n, t) {
2922
+ function Zl(e, n, t) {
2922
2923
  const r = this;
2923
2924
  return i;
2924
2925
  function i(s) {
@@ -2929,7 +2930,7 @@ function Jl(e, n, t) {
2929
2930
  return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? o(s) : t(s);
2930
2931
  }
2931
2932
  function o(s) {
2932
- return s === null ? u(s) : L(s) ? e.attempt(Ql, o, u)(s) : (e.enter("codeFlowValue"), a(s));
2933
+ return s === null ? u(s) : L(s) ? e.attempt(Jl, o, u)(s) : (e.enter("codeFlowValue"), a(s));
2933
2934
  }
2934
2935
  function a(s) {
2935
2936
  return s === null || L(s) ? (e.exit("codeFlowValue"), o(s)) : (e.consume(s), a);
@@ -2938,7 +2939,7 @@ function Jl(e, n, t) {
2938
2939
  return e.exit("codeIndented"), n(s);
2939
2940
  }
2940
2941
  }
2941
- function Zl(e, n, t) {
2942
+ function eo(e, n, t) {
2942
2943
  const r = this;
2943
2944
  return i;
2944
2945
  function i(o) {
@@ -2949,13 +2950,13 @@ function Zl(e, n, t) {
2949
2950
  return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? n(o) : L(o) ? i(o) : t(o);
2950
2951
  }
2951
2952
  }
2952
- const eo = {
2953
+ const no = {
2953
2954
  name: "codeText",
2954
- previous: to,
2955
- resolve: no,
2956
- tokenize: ro
2955
+ previous: ro,
2956
+ resolve: to,
2957
+ tokenize: io
2957
2958
  };
2958
- function no(e) {
2959
+ function to(e) {
2959
2960
  let n = e.length - 4, t = 3, r, i;
2960
2961
  if ((e[t][1].type === "lineEnding" || e[t][1].type === "space") && (e[n][1].type === "lineEnding" || e[n][1].type === "space")) {
2961
2962
  for (r = t; ++r < n; )
@@ -2968,10 +2969,10 @@ function no(e) {
2968
2969
  i === void 0 ? r !== n && e[r][1].type !== "lineEnding" && (i = r) : (r === n || e[r][1].type === "lineEnding") && (e[i][1].type = "codeTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), n -= r - i - 2, r = i + 2), i = void 0);
2969
2970
  return e;
2970
2971
  }
2971
- function to(e) {
2972
+ function ro(e) {
2972
2973
  return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
2973
2974
  }
2974
- function ro(e, n, t) {
2975
+ function io(e, n, t) {
2975
2976
  let r = 0, i, l;
2976
2977
  return o;
2977
2978
  function o(f) {
@@ -2990,7 +2991,7 @@ function ro(e, n, t) {
2990
2991
  return f === 96 ? (e.consume(f), i++, c) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), n(f)) : (l.type = "codeTextData", s(f));
2991
2992
  }
2992
2993
  }
2993
- class io {
2994
+ class lo {
2994
2995
  /**
2995
2996
  * @param {ReadonlyArray<T> | null | undefined} [initial]
2996
2997
  * Initial items (optional).
@@ -3165,7 +3166,7 @@ function Xe(e, n) {
3165
3166
  function zr(e) {
3166
3167
  const n = {};
3167
3168
  let t = -1, r, i, l, o, a, u, s;
3168
- const c = new io(e);
3169
+ const c = new lo(e);
3169
3170
  for (; ++t < c.length; ) {
3170
3171
  for (; t in n; )
3171
3172
  t = n[t];
@@ -3173,7 +3174,7 @@ function zr(e) {
3173
3174
  for (; ++l < u.length && u[l][1].type !== "content"; )
3174
3175
  u[l][1].type === "chunkText" && (u[l][1]._isInFirstContentOfListItem = !0, l++);
3175
3176
  if (r[0] === "enter")
3176
- r[1].contentType && (Object.assign(n, lo(c, t)), t = n[t], s = !0);
3177
+ r[1].contentType && (Object.assign(n, oo(c, t)), t = n[t], s = !0);
3177
3178
  else if (r[1]._container) {
3178
3179
  for (l = t, i = void 0; l--; )
3179
3180
  if (o = c.get(l), o[1].type === "lineEnding" || o[1].type === "lineEndingBlank")
@@ -3186,7 +3187,7 @@ function zr(e) {
3186
3187
  }
3187
3188
  return ge(e, 0, Number.POSITIVE_INFINITY, c.slice(0)), !s;
3188
3189
  }
3189
- function lo(e, n) {
3190
+ function oo(e, n) {
3190
3191
  const t = e.get(n)[1], r = e.get(n)[2];
3191
3192
  let i = n - 1;
3192
3193
  const l = [];
@@ -3211,17 +3212,17 @@ function lo(e, n) {
3211
3212
  s[k + u[m][0]] = k + u[m][1], k += u[m][1] - u[m][0] - 1;
3212
3213
  return s;
3213
3214
  }
3214
- const oo = {
3215
- resolve: so,
3216
- tokenize: uo
3217
- }, ao = {
3218
- partial: !0,
3215
+ const ao = {
3216
+ resolve: uo,
3219
3217
  tokenize: co
3218
+ }, so = {
3219
+ partial: !0,
3220
+ tokenize: fo
3220
3221
  };
3221
- function so(e) {
3222
+ function uo(e) {
3222
3223
  return zr(e), e;
3223
3224
  }
3224
- function uo(e, n) {
3225
+ function co(e, n) {
3225
3226
  let t;
3226
3227
  return r;
3227
3228
  function r(a) {
@@ -3230,7 +3231,7 @@ function uo(e, n) {
3230
3231
  }), i(a);
3231
3232
  }
3232
3233
  function i(a) {
3233
- return a === null ? l(a) : L(a) ? e.check(ao, o, l)(a) : (e.consume(a), i);
3234
+ return a === null ? l(a) : L(a) ? e.check(so, o, l)(a) : (e.consume(a), i);
3234
3235
  }
3235
3236
  function l(a) {
3236
3237
  return e.exit("chunkContent"), e.exit("content"), n(a);
@@ -3242,7 +3243,7 @@ function uo(e, n) {
3242
3243
  }), t = t.next, i;
3243
3244
  }
3244
3245
  }
3245
- function co(e, n, t) {
3246
+ function fo(e, n, t) {
3246
3247
  const r = this;
3247
3248
  return i;
3248
3249
  function i(o) {
@@ -3334,14 +3335,14 @@ function Ze(e, n) {
3334
3335
  return L(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), t = !0, r) : F(i) ? G(e, r, t ? "linePrefix" : "lineSuffix")(i) : n(i);
3335
3336
  }
3336
3337
  }
3337
- const fo = {
3338
+ const po = {
3338
3339
  name: "definition",
3339
- tokenize: ho
3340
- }, po = {
3341
- partial: !0,
3342
3340
  tokenize: mo
3341
+ }, ho = {
3342
+ partial: !0,
3343
+ tokenize: go
3343
3344
  };
3344
- function ho(e, n, t) {
3345
+ function mo(e, n, t) {
3345
3346
  const r = this;
3346
3347
  let i;
3347
3348
  return l;
@@ -3380,7 +3381,7 @@ function ho(e, n, t) {
3380
3381
  )(p);
3381
3382
  }
3382
3383
  function c(p) {
3383
- return e.attempt(po, f, f)(p);
3384
+ return e.attempt(ho, f, f)(p);
3384
3385
  }
3385
3386
  function f(p) {
3386
3387
  return F(p) ? G(e, m, "whitespace")(p) : m(p);
@@ -3389,7 +3390,7 @@ function ho(e, n, t) {
3389
3390
  return p === null || L(p) ? (e.exit("definition"), r.parser.defined.push(i), n(p)) : t(p);
3390
3391
  }
3391
3392
  }
3392
- function mo(e, n, t) {
3393
+ function go(e, n, t) {
3393
3394
  return r;
3394
3395
  function r(a) {
3395
3396
  return ee(a) ? Ze(e, i)(a) : t(a);
@@ -3404,11 +3405,11 @@ function mo(e, n, t) {
3404
3405
  return a === null || L(a) ? n(a) : t(a);
3405
3406
  }
3406
3407
  }
3407
- const go = {
3408
+ const yo = {
3408
3409
  name: "hardBreakEscape",
3409
- tokenize: yo
3410
+ tokenize: xo
3410
3411
  };
3411
- function yo(e, n, t) {
3412
+ function xo(e, n, t) {
3412
3413
  return r;
3413
3414
  function r(l) {
3414
3415
  return e.enter("hardBreakEscape"), e.consume(l), i;
@@ -3417,12 +3418,12 @@ function yo(e, n, t) {
3417
3418
  return L(l) ? (e.exit("hardBreakEscape"), n(l)) : t(l);
3418
3419
  }
3419
3420
  }
3420
- const xo = {
3421
+ const ko = {
3421
3422
  name: "headingAtx",
3422
- resolve: ko,
3423
- tokenize: bo
3423
+ resolve: bo,
3424
+ tokenize: wo
3424
3425
  };
3425
- function ko(e, n) {
3426
+ function bo(e, n) {
3426
3427
  let t = e.length - 2, r = 3, i, l;
3427
3428
  return e[r][1].type === "whitespace" && (r += 2), t - 2 > r && e[t][1].type === "whitespace" && (t -= 2), e[t][1].type === "atxHeadingSequence" && (r === t - 1 || t - 4 > r && e[t - 2][1].type === "whitespace") && (t -= r + 1 === t ? 2 : 4), t > r && (i = {
3428
3429
  type: "atxHeadingText",
@@ -3435,7 +3436,7 @@ function ko(e, n) {
3435
3436
  contentType: "text"
3436
3437
  }, ge(e, r, t - r + 1, [["enter", i, n], ["enter", l, n], ["exit", l, n], ["exit", i, n]])), e;
3437
3438
  }
3438
- function bo(e, n, t) {
3439
+ function wo(e, n, t) {
3439
3440
  let r = 0;
3440
3441
  return i;
3441
3442
  function i(c) {
@@ -3457,7 +3458,7 @@ function bo(e, n, t) {
3457
3458
  return c === null || c === 35 || ee(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), s);
3458
3459
  }
3459
3460
  }
3460
- const wo = [
3461
+ const So = [
3461
3462
  "address",
3462
3463
  "article",
3463
3464
  "aside",
@@ -3520,25 +3521,25 @@ const wo = [
3520
3521
  "tr",
3521
3522
  "track",
3522
3523
  "ul"
3523
- ], Bt = ["pre", "script", "style", "textarea"], So = {
3524
+ ], Bt = ["pre", "script", "style", "textarea"], Co = {
3524
3525
  concrete: !0,
3525
3526
  name: "htmlFlow",
3526
- resolveTo: Io,
3527
- tokenize: No
3528
- }, Co = {
3529
- partial: !0,
3530
- tokenize: Po
3527
+ resolveTo: No,
3528
+ tokenize: Ao
3531
3529
  }, Eo = {
3532
3530
  partial: !0,
3533
- tokenize: Ao
3531
+ tokenize: To
3532
+ }, Io = {
3533
+ partial: !0,
3534
+ tokenize: Po
3534
3535
  };
3535
- function Io(e) {
3536
+ function No(e) {
3536
3537
  let n = e.length;
3537
3538
  for (; n-- && !(e[n][0] === "enter" && e[n][1].type === "htmlFlow"); )
3538
3539
  ;
3539
3540
  return n > 1 && e[n - 2][1].type === "linePrefix" && (e[n][1].start = e[n - 2][1].start, e[n + 1][1].start = e[n - 2][1].start, e.splice(n - 2, 2)), e;
3540
3541
  }
3541
- function No(e, n, t) {
3542
+ function Ao(e, n, t) {
3542
3543
  const r = this;
3543
3544
  let i, l, o, a, u;
3544
3545
  return s;
@@ -3567,7 +3568,7 @@ function No(e, n, t) {
3567
3568
  function I(d) {
3568
3569
  if (d === null || d === 47 || d === 62 || ee(d)) {
3569
3570
  const ue = d === 47, Ee = o.toLowerCase();
3570
- return !ue && !l && Bt.includes(Ee) ? (i = 1, r.interrupt ? n(d) : A(d)) : wo.includes(o.toLowerCase()) ? (i = 6, ue ? (e.consume(d), b) : r.interrupt ? n(d) : A(d)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(d) : l ? z(d) : N(d));
3571
+ return !ue && !l && Bt.includes(Ee) ? (i = 1, r.interrupt ? n(d) : A(d)) : So.includes(o.toLowerCase()) ? (i = 6, ue ? (e.consume(d), b) : r.interrupt ? n(d) : A(d)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(d) : l ? z(d) : N(d));
3571
3572
  }
3572
3573
  return d === 45 || ie(d) ? (e.consume(d), o += String.fromCharCode(d), I) : t(d);
3573
3574
  }
@@ -3605,10 +3606,10 @@ function No(e, n, t) {
3605
3606
  return d === null || L(d) ? A(d) : F(d) ? (e.consume(d), P) : t(d);
3606
3607
  }
3607
3608
  function A(d) {
3608
- return d === 45 && i === 2 ? (e.consume(d), U) : d === 60 && i === 1 ? (e.consume(d), Y) : d === 62 && i === 4 ? (e.consume(d), se) : d === 63 && i === 3 ? (e.consume(d), h) : d === 93 && i === 5 ? (e.consume(d), ye) : L(d) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Co, xe, q)(d)) : d === null || L(d) ? (e.exit("htmlFlowData"), q(d)) : (e.consume(d), A);
3609
+ return d === 45 && i === 2 ? (e.consume(d), U) : d === 60 && i === 1 ? (e.consume(d), Y) : d === 62 && i === 4 ? (e.consume(d), se) : d === 63 && i === 3 ? (e.consume(d), h) : d === 93 && i === 5 ? (e.consume(d), ye) : L(d) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Eo, xe, q)(d)) : d === null || L(d) ? (e.exit("htmlFlowData"), q(d)) : (e.consume(d), A);
3609
3610
  }
3610
3611
  function q(d) {
3611
- return e.check(Eo, T, xe)(d);
3612
+ return e.check(Io, T, xe)(d);
3612
3613
  }
3613
3614
  function T(d) {
3614
3615
  return e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), E;
@@ -3642,7 +3643,7 @@ function No(e, n, t) {
3642
3643
  return e.exit("htmlFlow"), n(d);
3643
3644
  }
3644
3645
  }
3645
- function Ao(e, n, t) {
3646
+ function Po(e, n, t) {
3646
3647
  const r = this;
3647
3648
  return i;
3648
3649
  function i(o) {
@@ -3652,17 +3653,17 @@ function Ao(e, n, t) {
3652
3653
  return r.parser.lazy[r.now().line] ? t(o) : n(o);
3653
3654
  }
3654
3655
  }
3655
- function Po(e, n, t) {
3656
+ function To(e, n, t) {
3656
3657
  return r;
3657
3658
  function r(i) {
3658
3659
  return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(pn, n, t);
3659
3660
  }
3660
3661
  }
3661
- const To = {
3662
+ const zo = {
3662
3663
  name: "htmlText",
3663
- tokenize: zo
3664
+ tokenize: Lo
3664
3665
  };
3665
- function zo(e, n, t) {
3666
+ function Lo(e, n, t) {
3666
3667
  const r = this;
3667
3668
  let i, l, o;
3668
3669
  return a;
@@ -3757,17 +3758,17 @@ function zo(e, n, t) {
3757
3758
  }
3758
3759
  const tt = {
3759
3760
  name: "labelEnd",
3760
- resolveAll: _o,
3761
- resolveTo: Bo,
3762
- tokenize: Do
3763
- }, Lo = {
3761
+ resolveAll: Bo,
3762
+ resolveTo: Do,
3764
3763
  tokenize: Ro
3765
3764
  }, vo = {
3766
3765
  tokenize: Fo
3767
3766
  }, Mo = {
3768
3767
  tokenize: Oo
3768
+ }, _o = {
3769
+ tokenize: jo
3769
3770
  };
3770
- function _o(e) {
3771
+ function Bo(e) {
3771
3772
  let n = -1;
3772
3773
  const t = [];
3773
3774
  for (; ++n < e.length; ) {
@@ -3779,7 +3780,7 @@ function _o(e) {
3779
3780
  }
3780
3781
  return e.length !== t.length && ge(e, 0, e.length, t), e;
3781
3782
  }
3782
- function Bo(e, n) {
3783
+ function Do(e, n) {
3783
3784
  let t = e.length, r = 0, i, l, o, a;
3784
3785
  for (; t--; )
3785
3786
  if (i = e[t][1], l) {
@@ -3819,7 +3820,7 @@ function Bo(e, n) {
3819
3820
  };
3820
3821
  return a = [["enter", u, n], ["enter", s, n]], a = le(a, e.slice(l + 1, l + r + 3)), a = le(a, [["enter", c, n]]), a = le(a, nt(n.parser.constructs.insideSpan.null, e.slice(l + r + 4, o - 3), n)), a = le(a, [["exit", c, n], e[o - 2], e[o - 1], ["exit", s, n]]), a = le(a, e.slice(o + 1)), a = le(a, [["exit", u, n]]), ge(e, l, e.length, a), e;
3821
3822
  }
3822
- function Do(e, n, t) {
3823
+ function Ro(e, n, t) {
3823
3824
  const r = this;
3824
3825
  let i = r.events.length, l, o;
3825
3826
  for (; i--; )
@@ -3835,10 +3836,10 @@ function Do(e, n, t) {
3835
3836
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(m), e.exit("labelMarker"), e.exit("labelEnd"), u) : t(m);
3836
3837
  }
3837
3838
  function u(m) {
3838
- return m === 40 ? e.attempt(Lo, c, o ? c : f)(m) : m === 91 ? e.attempt(vo, c, o ? s : f)(m) : o ? c(m) : f(m);
3839
+ return m === 40 ? e.attempt(vo, c, o ? c : f)(m) : m === 91 ? e.attempt(Mo, c, o ? s : f)(m) : o ? c(m) : f(m);
3839
3840
  }
3840
3841
  function s(m) {
3841
- return e.attempt(Mo, c, f)(m);
3842
+ return e.attempt(_o, c, f)(m);
3842
3843
  }
3843
3844
  function c(m) {
3844
3845
  return n(m);
@@ -3847,7 +3848,7 @@ function Do(e, n, t) {
3847
3848
  return l._balanced = !0, t(m);
3848
3849
  }
3849
3850
  }
3850
- function Ro(e, n, t) {
3851
+ function Fo(e, n, t) {
3851
3852
  return r;
3852
3853
  function r(f) {
3853
3854
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), i;
@@ -3874,7 +3875,7 @@ function Ro(e, n, t) {
3874
3875
  return f === 41 ? (e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), e.exit("resource"), n) : t(f);
3875
3876
  }
3876
3877
  }
3877
- function Fo(e, n, t) {
3878
+ function Oo(e, n, t) {
3878
3879
  const r = this;
3879
3880
  return i;
3880
3881
  function i(a) {
@@ -3887,7 +3888,7 @@ function Fo(e, n, t) {
3887
3888
  return t(a);
3888
3889
  }
3889
3890
  }
3890
- function Oo(e, n, t) {
3891
+ function jo(e, n, t) {
3891
3892
  return r;
3892
3893
  function r(l) {
3893
3894
  return e.enter("reference"), e.enter("referenceMarker"), e.consume(l), e.exit("referenceMarker"), i;
@@ -3896,12 +3897,12 @@ function Oo(e, n, t) {
3896
3897
  return l === 93 ? (e.enter("referenceMarker"), e.consume(l), e.exit("referenceMarker"), e.exit("reference"), n) : t(l);
3897
3898
  }
3898
3899
  }
3899
- const jo = {
3900
+ const Vo = {
3900
3901
  name: "labelStartImage",
3901
3902
  resolveAll: tt.resolveAll,
3902
- tokenize: Vo
3903
+ tokenize: Uo
3903
3904
  };
3904
- function Vo(e, n, t) {
3905
+ function Uo(e, n, t) {
3905
3906
  const r = this;
3906
3907
  return i;
3907
3908
  function i(a) {
@@ -3914,12 +3915,12 @@ function Vo(e, n, t) {
3914
3915
  return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? t(a) : n(a);
3915
3916
  }
3916
3917
  }
3917
- const Uo = {
3918
+ const $o = {
3918
3919
  name: "labelStartLink",
3919
3920
  resolveAll: tt.resolveAll,
3920
- tokenize: $o
3921
+ tokenize: Ho
3921
3922
  };
3922
- function $o(e, n, t) {
3923
+ function Ho(e, n, t) {
3923
3924
  const r = this;
3924
3925
  return i;
3925
3926
  function i(o) {
@@ -3931,9 +3932,9 @@ function $o(e, n, t) {
3931
3932
  }
3932
3933
  const xn = {
3933
3934
  name: "lineEnding",
3934
- tokenize: Ho
3935
+ tokenize: qo
3935
3936
  };
3936
- function Ho(e, n) {
3937
+ function qo(e, n) {
3937
3938
  return t;
3938
3939
  function t(r) {
3939
3940
  return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), G(e, n, "linePrefix");
@@ -3941,9 +3942,9 @@ function Ho(e, n) {
3941
3942
  }
3942
3943
  const sn = {
3943
3944
  name: "thematicBreak",
3944
- tokenize: qo
3945
+ tokenize: Wo
3945
3946
  };
3946
- function qo(e, n, t) {
3947
+ function Wo(e, n, t) {
3947
3948
  let r = 0, i;
3948
3949
  return l;
3949
3950
  function l(s) {
@@ -3961,19 +3962,19 @@ function qo(e, n, t) {
3961
3962
  }
3962
3963
  const Z = {
3963
3964
  continuation: {
3964
- tokenize: Yo
3965
+ tokenize: Ko
3965
3966
  },
3966
- exit: Qo,
3967
+ exit: Jo,
3967
3968
  name: "list",
3968
- tokenize: Xo
3969
- }, Wo = {
3970
- partial: !0,
3971
- tokenize: Jo
3969
+ tokenize: Yo
3972
3970
  }, Go = {
3973
3971
  partial: !0,
3974
- tokenize: Ko
3972
+ tokenize: Zo
3973
+ }, Xo = {
3974
+ partial: !0,
3975
+ tokenize: Qo
3975
3976
  };
3976
- function Xo(e, n, t) {
3977
+ function Yo(e, n, t) {
3977
3978
  const r = this, i = r.events[r.events.length - 1];
3978
3979
  let l = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
3979
3980
  return a;
@@ -3997,7 +3998,7 @@ function Xo(e, n, t) {
3997
3998
  pn,
3998
3999
  // Can’t be empty when interrupting.
3999
4000
  r.interrupt ? t : c,
4000
- e.attempt(Wo, m, f)
4001
+ e.attempt(Go, m, f)
4001
4002
  );
4002
4003
  }
4003
4004
  function c(p) {
@@ -4010,20 +4011,20 @@ function Xo(e, n, t) {
4010
4011
  return r.containerState.size = l + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, n(p);
4011
4012
  }
4012
4013
  }
4013
- function Yo(e, n, t) {
4014
+ function Ko(e, n, t) {
4014
4015
  const r = this;
4015
4016
  return r.containerState._closeFlow = void 0, e.check(pn, i, l);
4016
4017
  function i(a) {
4017
4018
  return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, G(e, n, "listItemIndent", r.containerState.size + 1)(a);
4018
4019
  }
4019
4020
  function l(a) {
4020
- return r.containerState.furtherBlankLines || !F(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(Go, n, o)(a));
4021
+ return r.containerState.furtherBlankLines || !F(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(Xo, n, o)(a));
4021
4022
  }
4022
4023
  function o(a) {
4023
4024
  return r.containerState._closeFlow = !0, r.interrupt = void 0, G(e, e.attempt(Z, n, t), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
4024
4025
  }
4025
4026
  }
4026
- function Ko(e, n, t) {
4027
+ function Qo(e, n, t) {
4027
4028
  const r = this;
4028
4029
  return G(e, i, "listItemIndent", r.containerState.size + 1);
4029
4030
  function i(l) {
@@ -4031,10 +4032,10 @@ function Ko(e, n, t) {
4031
4032
  return o && o[1].type === "listItemIndent" && o[2].sliceSerialize(o[1], !0).length === r.containerState.size ? n(l) : t(l);
4032
4033
  }
4033
4034
  }
4034
- function Qo(e) {
4035
+ function Jo(e) {
4035
4036
  e.exit(this.containerState.type);
4036
4037
  }
4037
- function Jo(e, n, t) {
4038
+ function Zo(e, n, t) {
4038
4039
  const r = this;
4039
4040
  return G(e, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
4040
4041
  function i(l) {
@@ -4044,10 +4045,10 @@ function Jo(e, n, t) {
4044
4045
  }
4045
4046
  const Dt = {
4046
4047
  name: "setextUnderline",
4047
- resolveTo: Zo,
4048
- tokenize: ea
4048
+ resolveTo: ea,
4049
+ tokenize: na
4049
4050
  };
4050
- function Zo(e, n) {
4051
+ function ea(e, n) {
4051
4052
  let t = e.length, r, i, l;
4052
4053
  for (; t--; )
4053
4054
  if (e[t][0] === "enter") {
@@ -4071,7 +4072,7 @@ function Zo(e, n) {
4071
4072
  ...e[l][1].end
4072
4073
  }) : e[r][1] = o, e.push(["exit", o, n]), e;
4073
4074
  }
4074
- function ea(e, n, t) {
4075
+ function na(e, n, t) {
4075
4076
  const r = this;
4076
4077
  let i;
4077
4078
  return l;
@@ -4094,16 +4095,16 @@ function ea(e, n, t) {
4094
4095
  return s === null || L(s) ? (e.exit("setextHeadingLine"), n(s)) : t(s);
4095
4096
  }
4096
4097
  }
4097
- const na = {
4098
- tokenize: ta
4098
+ const ta = {
4099
+ tokenize: ra
4099
4100
  };
4100
- function ta(e) {
4101
+ function ra(e) {
4101
4102
  const n = this, t = e.attempt(
4102
4103
  // Try to parse a blank line.
4103
4104
  pn,
4104
4105
  r,
4105
4106
  // Try to parse initial flow (essentially, only code).
4106
- e.attempt(this.parser.constructs.flowInitial, i, G(e, e.attempt(this.parser.constructs.flow, i, e.attempt(oo, i)), "linePrefix"))
4107
+ e.attempt(this.parser.constructs.flowInitial, i, G(e, e.attempt(this.parser.constructs.flow, i, e.attempt(ao, i)), "linePrefix"))
4107
4108
  );
4108
4109
  return t;
4109
4110
  function r(l) {
@@ -4121,12 +4122,12 @@ function ta(e) {
4121
4122
  return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), n.currentConstruct = void 0, t;
4122
4123
  }
4123
4124
  }
4124
- const ra = {
4125
+ const ia = {
4125
4126
  resolveAll: Br()
4126
- }, ia = _r("string"), la = _r("text");
4127
+ }, la = _r("string"), oa = _r("text");
4127
4128
  function _r(e) {
4128
4129
  return {
4129
- resolveAll: Br(e === "text" ? oa : void 0),
4130
+ resolveAll: Br(e === "text" ? aa : void 0),
4130
4131
  tokenize: n
4131
4132
  };
4132
4133
  function n(t) {
@@ -4169,7 +4170,7 @@ function Br(e) {
4169
4170
  return e ? e(t, r) : t;
4170
4171
  }
4171
4172
  }
4172
- function oa(e, n) {
4173
+ function aa(e, n) {
4173
4174
  let t = 0;
4174
4175
  for (; ++t <= e.length; )
4175
4176
  if ((t === e.length || e[t][1].type === "lineEnding") && e[t - 1][1].type === "data") {
@@ -4211,7 +4212,7 @@ function oa(e, n) {
4211
4212
  }
4212
4213
  return e;
4213
4214
  }
4214
- const aa = {
4215
+ const sa = {
4215
4216
  42: Z,
4216
4217
  43: Z,
4217
4218
  45: Z,
@@ -4226,45 +4227,45 @@ const aa = {
4226
4227
  56: Z,
4227
4228
  57: Z,
4228
4229
  62: Ar
4229
- }, sa = {
4230
- 91: fo
4231
4230
  }, ua = {
4231
+ 91: po
4232
+ }, ca = {
4232
4233
  [-2]: yn,
4233
4234
  [-1]: yn,
4234
4235
  32: yn
4235
- }, ca = {
4236
- 35: xo,
4236
+ }, fa = {
4237
+ 35: ko,
4237
4238
  42: sn,
4238
4239
  45: [Dt, sn],
4239
- 60: So,
4240
+ 60: Co,
4240
4241
  61: Dt,
4241
4242
  95: sn,
4242
4243
  96: _t,
4243
4244
  126: _t
4244
- }, fa = {
4245
+ }, pa = {
4245
4246
  38: Tr,
4246
4247
  92: Pr
4247
- }, pa = {
4248
+ }, ha = {
4248
4249
  [-5]: xn,
4249
4250
  [-4]: xn,
4250
4251
  [-3]: xn,
4251
- 33: jo,
4252
+ 33: Vo,
4252
4253
  38: Tr,
4253
4254
  42: _n,
4254
- 60: [Vl, To],
4255
- 91: Uo,
4256
- 92: [go, Pr],
4255
+ 60: [Ul, zo],
4256
+ 91: $o,
4257
+ 92: [yo, Pr],
4257
4258
  93: tt,
4258
4259
  95: _n,
4259
- 96: eo
4260
- }, ha = {
4261
- null: [_n, ra]
4260
+ 96: no
4262
4261
  }, da = {
4263
- null: [42, 95]
4262
+ null: [_n, ia]
4264
4263
  }, ma = {
4264
+ null: [42, 95]
4265
+ }, ga = {
4265
4266
  null: []
4266
- }, ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: da, contentInitial: sa, disable: ma, document: aa, flow: ca, flowInitial: ua, insideSpan: ha, string: fa, text: pa }, Symbol.toStringTag, { value: "Module" }));
4267
- function ya(e, n, t) {
4267
+ }, ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: ma, contentInitial: ua, disable: ga, document: sa, flow: fa, flowInitial: ca, insideSpan: da, string: pa, text: ha }, Symbol.toStringTag, { value: "Module" }));
4268
+ function xa(e, n, t) {
4268
4269
  let r = {
4269
4270
  _bufferIndex: -1,
4270
4271
  _index: 0,
@@ -4301,10 +4302,10 @@ function ya(e, n, t) {
4301
4302
  return o = le(o, P), I(), o[o.length - 1] !== null ? [] : (H(n, 0), s.events = nt(l, s.events, s), s.events);
4302
4303
  }
4303
4304
  function m(P, A) {
4304
- return ka(p(P), A);
4305
+ return ba(p(P), A);
4305
4306
  }
4306
4307
  function p(P) {
4307
- return xa(o, P);
4308
+ return ka(o, P);
4308
4309
  }
4309
4310
  function k() {
4310
4311
  const {
@@ -4427,7 +4428,7 @@ function ya(e, n, t) {
4427
4428
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
4428
4429
  }
4429
4430
  }
4430
- function xa(e, n) {
4431
+ function ka(e, n) {
4431
4432
  const t = n.start._index, r = n.start._bufferIndex, i = n.end._index, l = n.end._bufferIndex;
4432
4433
  let o;
4433
4434
  if (t === i)
@@ -4441,7 +4442,7 @@ function xa(e, n) {
4441
4442
  }
4442
4443
  return o;
4443
4444
  }
4444
- function ka(e, n) {
4445
+ function ba(e, n) {
4445
4446
  let t = -1;
4446
4447
  const r = [];
4447
4448
  let i;
@@ -4481,35 +4482,35 @@ function ka(e, n) {
4481
4482
  }
4482
4483
  return r.join("");
4483
4484
  }
4484
- function ba(e) {
4485
+ function wa(e) {
4485
4486
  const r = {
4486
4487
  constructs: (
4487
4488
  /** @type {FullNormalizedExtension} */
4488
- Nl([ga, ...(e || {}).extensions || []])
4489
+ Al([ya, ...(e || {}).extensions || []])
4489
4490
  ),
4490
- content: i(_l),
4491
+ content: i(Bl),
4491
4492
  defined: [],
4492
- document: i(Dl),
4493
- flow: i(na),
4493
+ document: i(Rl),
4494
+ flow: i(ta),
4494
4495
  lazy: {},
4495
- string: i(ia),
4496
- text: i(la)
4496
+ string: i(la),
4497
+ text: i(oa)
4497
4498
  };
4498
4499
  return r;
4499
4500
  function i(l) {
4500
4501
  return o;
4501
4502
  function o(a) {
4502
- return ya(r, l, a);
4503
+ return xa(r, l, a);
4503
4504
  }
4504
4505
  }
4505
4506
  }
4506
- function wa(e) {
4507
+ function Sa(e) {
4507
4508
  for (; !zr(e); )
4508
4509
  ;
4509
4510
  return e;
4510
4511
  }
4511
4512
  const Rt = /[\0\t\n\r]/g;
4512
- function Sa() {
4513
+ function Ca() {
4513
4514
  let e = 1, n = "", t = !0, r;
4514
4515
  return i;
4515
4516
  function i(l, o, a) {
@@ -4544,11 +4545,11 @@ function Sa() {
4544
4545
  return a && (r && u.push(-5), n && u.push(n), u.push(null)), u;
4545
4546
  }
4546
4547
  }
4547
- const Ca = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4548
- function Ea(e) {
4549
- return e.replace(Ca, Ia);
4548
+ const Ea = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4549
+ function Ia(e) {
4550
+ return e.replace(Ea, Na);
4550
4551
  }
4551
- function Ia(e, n, t) {
4552
+ function Na(e, n, t) {
4552
4553
  if (n)
4553
4554
  return n;
4554
4555
  if (t.charCodeAt(0) === 35) {
@@ -4558,10 +4559,10 @@ function Ia(e, n, t) {
4558
4559
  return et(t) || e;
4559
4560
  }
4560
4561
  const Dr = {}.hasOwnProperty;
4561
- function Na(e, n, t) {
4562
- return typeof n != "string" && (t = n, n = void 0), Aa(t)(wa(ba(t).document().write(Sa()(e, n, !0))));
4562
+ function Aa(e, n, t) {
4563
+ return typeof n != "string" && (t = n, n = void 0), Pa(t)(Sa(wa(t).document().write(Ca()(e, n, !0))));
4563
4564
  }
4564
- function Aa(e) {
4565
+ function Pa(e) {
4565
4566
  const n = {
4566
4567
  transforms: [],
4567
4568
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
@@ -4798,7 +4799,7 @@ function Aa(e) {
4798
4799
  M.position.end = Se(g.end);
4799
4800
  }
4800
4801
  function c() {
4801
- return El(this.stack.pop());
4802
+ return Il(this.stack.pop());
4802
4803
  }
4803
4804
  function f() {
4804
4805
  this.data.expectingFirstListItemValue = !0;
@@ -4914,7 +4915,7 @@ function Aa(e) {
4914
4915
  }
4915
4916
  function ae(g) {
4916
4917
  const C = this.sliceSerialize(g), M = this.stack[this.stack.length - 2];
4917
- M.label = Ea(C), M.identifier = Fe(C).toLowerCase();
4918
+ M.label = Ia(C), M.identifier = Fe(C).toLowerCase();
4918
4919
  }
4919
4920
  function ye() {
4920
4921
  const g = this.stack[this.stack.length - 1], C = this.resume(), M = this.stack[this.stack.length - 1];
@@ -5088,10 +5089,10 @@ function Rr(e, n) {
5088
5089
  let t = -1;
5089
5090
  for (; ++t < n.length; ) {
5090
5091
  const r = n[t];
5091
- Array.isArray(r) ? Rr(e, r) : Pa(e, r);
5092
+ Array.isArray(r) ? Rr(e, r) : Ta(e, r);
5092
5093
  }
5093
5094
  }
5094
- function Pa(e, n) {
5095
+ function Ta(e, n) {
5095
5096
  let t;
5096
5097
  for (t in n)
5097
5098
  if (Dr.call(n, t))
@@ -5126,11 +5127,11 @@ function Ft(e, n) {
5126
5127
  end: n.end
5127
5128
  }) + ") is still open");
5128
5129
  }
5129
- function Ta(e) {
5130
+ function za(e) {
5130
5131
  const n = this;
5131
5132
  n.parser = t;
5132
5133
  function t(r) {
5133
- return Na(r, {
5134
+ return Aa(r, {
5134
5135
  ...n.data("settings"),
5135
5136
  ...e,
5136
5137
  // Note: these options are not in the readme.
@@ -5141,7 +5142,7 @@ function Ta(e) {
5141
5142
  });
5142
5143
  }
5143
5144
  }
5144
- function za(e, n) {
5145
+ function La(e, n) {
5145
5146
  const t = {
5146
5147
  type: "element",
5147
5148
  tagName: "blockquote",
@@ -5150,12 +5151,12 @@ function za(e, n) {
5150
5151
  };
5151
5152
  return e.patch(n, t), e.applyData(n, t);
5152
5153
  }
5153
- function La(e, n) {
5154
+ function va(e, n) {
5154
5155
  const t = { type: "element", tagName: "br", properties: {}, children: [] };
5155
5156
  return e.patch(n, t), [e.applyData(n, t), { type: "text", value: `
5156
5157
  ` }];
5157
5158
  }
5158
- function va(e, n) {
5159
+ function Ma(e, n) {
5159
5160
  const t = n.value ? n.value + `
5160
5161
  ` : "", r = {}, i = n.lang ? n.lang.split(/\s+/) : [];
5161
5162
  i.length > 0 && (r.className = ["language-" + i[0]]);
@@ -5167,7 +5168,7 @@ function va(e, n) {
5167
5168
  };
5168
5169
  return n.meta && (l.data = { meta: n.meta }), e.patch(n, l), l = e.applyData(n, l), l = { type: "element", tagName: "pre", properties: {}, children: [l] }, e.patch(n, l), l;
5169
5170
  }
5170
- function Ma(e, n) {
5171
+ function _a(e, n) {
5171
5172
  const t = {
5172
5173
  type: "element",
5173
5174
  tagName: "del",
@@ -5176,7 +5177,7 @@ function Ma(e, n) {
5176
5177
  };
5177
5178
  return e.patch(n, t), e.applyData(n, t);
5178
5179
  }
5179
- function _a(e, n) {
5180
+ function Ba(e, n) {
5180
5181
  const t = {
5181
5182
  type: "element",
5182
5183
  tagName: "em",
@@ -5185,7 +5186,7 @@ function _a(e, n) {
5185
5186
  };
5186
5187
  return e.patch(n, t), e.applyData(n, t);
5187
5188
  }
5188
- function Ba(e, n) {
5189
+ function Da(e, n) {
5189
5190
  const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(n.identifier).toUpperCase(), i = je(r.toLowerCase()), l = e.footnoteOrder.indexOf(r);
5190
5191
  let o, a = e.footnoteCounts.get(r);
5191
5192
  a === void 0 ? (a = 0, e.footnoteOrder.push(r), o = e.footnoteOrder.length) : o = l + 1, a += 1, e.footnoteCounts.set(r, a);
@@ -5209,7 +5210,7 @@ function Ba(e, n) {
5209
5210
  };
5210
5211
  return e.patch(n, s), e.applyData(n, s);
5211
5212
  }
5212
- function Da(e, n) {
5213
+ function Ra(e, n) {
5213
5214
  const t = {
5214
5215
  type: "element",
5215
5216
  tagName: "h" + n.depth,
@@ -5218,7 +5219,7 @@ function Da(e, n) {
5218
5219
  };
5219
5220
  return e.patch(n, t), e.applyData(n, t);
5220
5221
  }
5221
- function Ra(e, n) {
5222
+ function Fa(e, n) {
5222
5223
  if (e.options.allowDangerousHtml) {
5223
5224
  const t = { type: "raw", value: n.value };
5224
5225
  return e.patch(n, t), e.applyData(n, t);
@@ -5234,7 +5235,7 @@ function Fr(e, n) {
5234
5235
  const o = i[i.length - 1];
5235
5236
  return o && o.type === "text" ? o.value += r : i.push({ type: "text", value: r }), i;
5236
5237
  }
5237
- function Fa(e, n) {
5238
+ function Oa(e, n) {
5238
5239
  const t = String(n.identifier).toUpperCase(), r = e.definitionById.get(t);
5239
5240
  if (!r)
5240
5241
  return Fr(e, n);
@@ -5243,13 +5244,13 @@ function Fa(e, n) {
5243
5244
  const l = { type: "element", tagName: "img", properties: i, children: [] };
5244
5245
  return e.patch(n, l), e.applyData(n, l);
5245
5246
  }
5246
- function Oa(e, n) {
5247
+ function ja(e, n) {
5247
5248
  const t = { src: je(n.url) };
5248
5249
  n.alt !== null && n.alt !== void 0 && (t.alt = n.alt), n.title !== null && n.title !== void 0 && (t.title = n.title);
5249
5250
  const r = { type: "element", tagName: "img", properties: t, children: [] };
5250
5251
  return e.patch(n, r), e.applyData(n, r);
5251
5252
  }
5252
- function ja(e, n) {
5253
+ function Va(e, n) {
5253
5254
  const t = { type: "text", value: n.value.replace(/\r?\n|\r/g, " ") };
5254
5255
  e.patch(n, t);
5255
5256
  const r = {
@@ -5260,7 +5261,7 @@ function ja(e, n) {
5260
5261
  };
5261
5262
  return e.patch(n, r), e.applyData(n, r);
5262
5263
  }
5263
- function Va(e, n) {
5264
+ function Ua(e, n) {
5264
5265
  const t = String(n.identifier).toUpperCase(), r = e.definitionById.get(t);
5265
5266
  if (!r)
5266
5267
  return Fr(e, n);
@@ -5274,7 +5275,7 @@ function Va(e, n) {
5274
5275
  };
5275
5276
  return e.patch(n, l), e.applyData(n, l);
5276
5277
  }
5277
- function Ua(e, n) {
5278
+ function $a(e, n) {
5278
5279
  const t = { href: je(n.url) };
5279
5280
  n.title !== null && n.title !== void 0 && (t.title = n.title);
5280
5281
  const r = {
@@ -5285,8 +5286,8 @@ function Ua(e, n) {
5285
5286
  };
5286
5287
  return e.patch(n, r), e.applyData(n, r);
5287
5288
  }
5288
- function $a(e, n, t) {
5289
- const r = e.all(n), i = t ? Ha(t) : Or(n), l = {}, o = [];
5289
+ function Ha(e, n, t) {
5290
+ const r = e.all(n), i = t ? qa(t) : Or(n), l = {}, o = [];
5290
5291
  if (typeof n.checked == "boolean") {
5291
5292
  const c = r[0];
5292
5293
  let f;
@@ -5309,7 +5310,7 @@ function $a(e, n, t) {
5309
5310
  const s = { type: "element", tagName: "li", properties: l, children: o };
5310
5311
  return e.patch(n, s), e.applyData(n, s);
5311
5312
  }
5312
- function Ha(e) {
5313
+ function qa(e) {
5313
5314
  let n = !1;
5314
5315
  if (e.type === "list") {
5315
5316
  n = e.spread || !1;
@@ -5324,7 +5325,7 @@ function Or(e) {
5324
5325
  const n = e.spread;
5325
5326
  return n ?? e.children.length > 1;
5326
5327
  }
5327
- function qa(e, n) {
5328
+ function Wa(e, n) {
5328
5329
  const t = {}, r = e.all(n);
5329
5330
  let i = -1;
5330
5331
  for (typeof n.start == "number" && n.start !== 1 && (t.start = n.start); ++i < r.length; ) {
@@ -5342,7 +5343,7 @@ function qa(e, n) {
5342
5343
  };
5343
5344
  return e.patch(n, l), e.applyData(n, l);
5344
5345
  }
5345
- function Wa(e, n) {
5346
+ function Ga(e, n) {
5346
5347
  const t = {
5347
5348
  type: "element",
5348
5349
  tagName: "p",
@@ -5351,11 +5352,11 @@ function Wa(e, n) {
5351
5352
  };
5352
5353
  return e.patch(n, t), e.applyData(n, t);
5353
5354
  }
5354
- function Ga(e, n) {
5355
+ function Xa(e, n) {
5355
5356
  const t = { type: "root", children: e.wrap(e.all(n)) };
5356
5357
  return e.patch(n, t), e.applyData(n, t);
5357
5358
  }
5358
- function Xa(e, n) {
5359
+ function Ya(e, n) {
5359
5360
  const t = {
5360
5361
  type: "element",
5361
5362
  tagName: "strong",
@@ -5364,7 +5365,7 @@ function Xa(e, n) {
5364
5365
  };
5365
5366
  return e.patch(n, t), e.applyData(n, t);
5366
5367
  }
5367
- function Ya(e, n) {
5368
+ function Ka(e, n) {
5368
5369
  const t = e.all(n), r = t.shift(), i = [];
5369
5370
  if (r) {
5370
5371
  const o = {
@@ -5392,7 +5393,7 @@ function Ya(e, n) {
5392
5393
  };
5393
5394
  return e.patch(n, l), e.applyData(n, l);
5394
5395
  }
5395
- function Ka(e, n, t) {
5396
+ function Qa(e, n, t) {
5396
5397
  const r = t ? t.children : void 0, l = (r ? r.indexOf(n) : 1) === 0 ? "th" : "td", o = t && t.type === "table" ? t.align : void 0, a = o ? o.length : n.children.length;
5397
5398
  let u = -1;
5398
5399
  const s = [];
@@ -5410,7 +5411,7 @@ function Ka(e, n, t) {
5410
5411
  };
5411
5412
  return e.patch(n, c), e.applyData(n, c);
5412
5413
  }
5413
- function Qa(e, n) {
5414
+ function Ja(e, n) {
5414
5415
  const t = {
5415
5416
  type: "element",
5416
5417
  tagName: "td",
@@ -5421,7 +5422,7 @@ function Qa(e, n) {
5421
5422
  return e.patch(n, t), e.applyData(n, t);
5422
5423
  }
5423
5424
  const Ot = 9, jt = 32;
5424
- function Ja(e) {
5425
+ function Za(e) {
5425
5426
  const n = String(e), t = /\r?\n|\r/g;
5426
5427
  let r = t.exec(n), i = 0;
5427
5428
  const l = [];
@@ -5446,11 +5447,11 @@ function Vt(e, n, t) {
5446
5447
  }
5447
5448
  return i > r ? e.slice(r, i) : "";
5448
5449
  }
5449
- function Za(e, n) {
5450
- const t = { type: "text", value: Ja(String(n.value)) };
5450
+ function es(e, n) {
5451
+ const t = { type: "text", value: Za(String(n.value)) };
5451
5452
  return e.patch(n, t), e.applyData(n, t);
5452
5453
  }
5453
- function es(e, n) {
5454
+ function ns(e, n) {
5454
5455
  const t = {
5455
5456
  type: "element",
5456
5457
  tagName: "hr",
@@ -5459,31 +5460,31 @@ function es(e, n) {
5459
5460
  };
5460
5461
  return e.patch(n, t), e.applyData(n, t);
5461
5462
  }
5462
- const ns = {
5463
- blockquote: za,
5464
- break: La,
5465
- code: va,
5466
- delete: Ma,
5467
- emphasis: _a,
5468
- footnoteReference: Ba,
5469
- heading: Da,
5470
- html: Ra,
5471
- imageReference: Fa,
5472
- image: Oa,
5473
- inlineCode: ja,
5474
- linkReference: Va,
5475
- link: Ua,
5476
- listItem: $a,
5477
- list: qa,
5478
- paragraph: Wa,
5463
+ const ts = {
5464
+ blockquote: La,
5465
+ break: va,
5466
+ code: Ma,
5467
+ delete: _a,
5468
+ emphasis: Ba,
5469
+ footnoteReference: Da,
5470
+ heading: Ra,
5471
+ html: Fa,
5472
+ imageReference: Oa,
5473
+ image: ja,
5474
+ inlineCode: Va,
5475
+ linkReference: Ua,
5476
+ link: $a,
5477
+ listItem: Ha,
5478
+ list: Wa,
5479
+ paragraph: Ga,
5479
5480
  // @ts-expect-error: root is different, but hard to type.
5480
- root: Ga,
5481
- strong: Xa,
5482
- table: Ya,
5483
- tableCell: Qa,
5484
- tableRow: Ka,
5485
- text: Za,
5486
- thematicBreak: es,
5481
+ root: Xa,
5482
+ strong: Ya,
5483
+ table: Ka,
5484
+ tableCell: Ja,
5485
+ tableRow: Qa,
5486
+ text: es,
5487
+ thematicBreak: ns,
5487
5488
  toml: on,
5488
5489
  yaml: on,
5489
5490
  definition: on,
@@ -5491,7 +5492,7 @@ const ns = {
5491
5492
  };
5492
5493
  function on() {
5493
5494
  }
5494
- function ts(e, n) {
5495
+ function rs(e, n) {
5495
5496
  const t = [{ type: "text", value: "↩" }];
5496
5497
  return n > 1 && t.push({
5497
5498
  type: "element",
@@ -5500,11 +5501,11 @@ function ts(e, n) {
5500
5501
  children: [{ type: "text", value: String(n) }]
5501
5502
  }), t;
5502
5503
  }
5503
- function rs(e, n) {
5504
+ function is(e, n) {
5504
5505
  return "Back to reference " + (e + 1) + (n > 1 ? "-" + n : "");
5505
5506
  }
5506
- function is(e) {
5507
- const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", t = e.options.footnoteBackContent || ts, r = e.options.footnoteBackLabel || rs, i = e.options.footnoteLabel || "Footnotes", l = e.options.footnoteLabelTagName || "h2", o = e.options.footnoteLabelProperties || {
5507
+ function ls(e) {
5508
+ const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", t = e.options.footnoteBackContent || rs, r = e.options.footnoteBackLabel || is, i = e.options.footnoteLabel || "Footnotes", l = e.options.footnoteLabelTagName || "h2", o = e.options.footnoteLabelProperties || {
5508
5509
  className: ["sr-only"]
5509
5510
  }, a = [];
5510
5511
  let u = -1;
@@ -5574,11 +5575,11 @@ function is(e) {
5574
5575
  ]
5575
5576
  };
5576
5577
  }
5577
- const Bn = {}.hasOwnProperty, ls = {};
5578
- function os(e, n) {
5579
- const t = n || ls, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...ns, ...t.handlers }, a = {
5578
+ const Bn = {}.hasOwnProperty, os = {};
5579
+ function as(e, n) {
5580
+ const t = n || os, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...ts, ...t.handlers }, a = {
5580
5581
  all: s,
5581
- applyData: ss,
5582
+ applyData: us,
5582
5583
  definitionById: r,
5583
5584
  footnoteById: i,
5584
5585
  footnoteCounts: l,
@@ -5586,8 +5587,8 @@ function os(e, n) {
5586
5587
  handlers: o,
5587
5588
  one: u,
5588
5589
  options: t,
5589
- patch: as,
5590
- wrap: cs
5590
+ patch: ss,
5591
+ wrap: fs
5591
5592
  };
5592
5593
  return Te(e, function(c) {
5593
5594
  if (c.type === "definition" || c.type === "footnoteDefinition") {
@@ -5606,7 +5607,7 @@ function os(e, n) {
5606
5607
  }
5607
5608
  return Ae(c);
5608
5609
  }
5609
- return (a.options.unknownHandler || us)(a, c, f);
5610
+ return (a.options.unknownHandler || cs)(a, c, f);
5610
5611
  }
5611
5612
  function s(c) {
5612
5613
  const f = [];
@@ -5627,10 +5628,10 @@ function os(e, n) {
5627
5628
  return f;
5628
5629
  }
5629
5630
  }
5630
- function as(e, n) {
5631
- e.position && (n.position = nl(e));
5632
- }
5633
5631
  function ss(e, n) {
5632
+ e.position && (n.position = tl(e));
5633
+ }
5634
+ function us(e, n) {
5634
5635
  let t = n;
5635
5636
  if (e && e.data) {
5636
5637
  const r = e.data.hName, i = e.data.hChildren, l = e.data.hProperties;
@@ -5645,7 +5646,7 @@ function ss(e, n) {
5645
5646
  }
5646
5647
  return t;
5647
5648
  }
5648
- function us(e, n) {
5649
+ function cs(e, n) {
5649
5650
  const t = n.data || {}, r = "value" in n && !(Bn.call(t, "hProperties") || Bn.call(t, "hChildren")) ? { type: "text", value: n.value } : {
5650
5651
  type: "element",
5651
5652
  tagName: "div",
@@ -5654,7 +5655,7 @@ function us(e, n) {
5654
5655
  };
5655
5656
  return e.patch(n, r), e.applyData(n, r);
5656
5657
  }
5657
- function cs(e, n) {
5658
+ function fs(e, n) {
5658
5659
  const t = [];
5659
5660
  let r = -1;
5660
5661
  for (n && t.push({ type: "text", value: `
@@ -5671,11 +5672,11 @@ function Ut(e) {
5671
5672
  return e.slice(n);
5672
5673
  }
5673
5674
  function $t(e, n) {
5674
- const t = os(e, n), r = t.one(e, void 0), i = is(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5675
+ const t = as(e, n), r = t.one(e, void 0), i = ls(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5675
5676
  return i && l.children.push({ type: "text", value: `
5676
5677
  ` }, i), l;
5677
5678
  }
5678
- function fs(e, n) {
5679
+ function ps(e, n) {
5679
5680
  return e && "run" in e ? async function(t, r) {
5680
5681
  const i = (
5681
5682
  /** @type {HastRoot} */
@@ -5694,7 +5695,7 @@ function Ht(e) {
5694
5695
  throw e;
5695
5696
  }
5696
5697
  var kn, qt;
5697
- function ps() {
5698
+ function hs() {
5698
5699
  if (qt) return kn;
5699
5700
  qt = 1;
5700
5701
  var e = Object.prototype.hasOwnProperty, n = Object.prototype.toString, t = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = function(s) {
@@ -5733,15 +5734,15 @@ function ps() {
5733
5734
  return S;
5734
5735
  }, kn;
5735
5736
  }
5736
- var hs = /* @__PURE__ */ ps();
5737
- const bn = /* @__PURE__ */ ir(hs);
5737
+ var ds = /* @__PURE__ */ hs();
5738
+ const bn = /* @__PURE__ */ ir(ds);
5738
5739
  function Dn(e) {
5739
5740
  if (typeof e != "object" || e === null)
5740
5741
  return !1;
5741
5742
  const n = Object.getPrototypeOf(e);
5742
5743
  return (n === null || n === Object.prototype || Object.getPrototypeOf(n) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
5743
5744
  }
5744
- function ds() {
5745
+ function ms() {
5745
5746
  const e = [], n = { run: t, use: r };
5746
5747
  return n;
5747
5748
  function t(...i) {
@@ -5759,7 +5760,7 @@ function ds() {
5759
5760
  }
5760
5761
  for (; ++f < i.length; )
5761
5762
  (s[f] === null || s[f] === void 0) && (s[f] = i[f]);
5762
- i = s, c ? ms(c, a)(...s) : o(null, ...s);
5763
+ i = s, c ? gs(c, a)(...s) : o(null, ...s);
5763
5764
  }
5764
5765
  }
5765
5766
  function r(i) {
@@ -5770,7 +5771,7 @@ function ds() {
5770
5771
  return e.push(i), n;
5771
5772
  }
5772
5773
  }
5773
- function ms(e, n) {
5774
+ function gs(e, n) {
5774
5775
  let t;
5775
5776
  return r;
5776
5777
  function r(...o) {
@@ -5797,8 +5798,8 @@ function ms(e, n) {
5797
5798
  i(null, o);
5798
5799
  }
5799
5800
  }
5800
- const he = { basename: gs, dirname: ys, extname: xs, join: ks, sep: "/" };
5801
- function gs(e, n) {
5801
+ const he = { basename: ys, dirname: xs, extname: ks, join: bs, sep: "/" };
5802
+ function ys(e, n) {
5802
5803
  if (n !== void 0 && typeof n != "string")
5803
5804
  throw new TypeError('"ext" argument must be a string');
5804
5805
  tn(e);
@@ -5826,7 +5827,7 @@ function gs(e, n) {
5826
5827
  o < 0 && (l = !0, o = i + 1), a > -1 && (e.codePointAt(i) === n.codePointAt(a--) ? a < 0 && (r = i) : (a = -1, r = o));
5827
5828
  return t === r ? r = o : r < 0 && (r = e.length), e.slice(t, r);
5828
5829
  }
5829
- function ys(e) {
5830
+ function xs(e) {
5830
5831
  if (tn(e), e.length === 0)
5831
5832
  return ".";
5832
5833
  let n = -1, t = e.length, r;
@@ -5839,7 +5840,7 @@ function ys(e) {
5839
5840
  } else r || (r = !0);
5840
5841
  return n < 0 ? e.codePointAt(0) === 47 ? "/" : "." : n === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, n);
5841
5842
  }
5842
- function xs(e) {
5843
+ function ks(e) {
5843
5844
  tn(e);
5844
5845
  let n = e.length, t = -1, r = 0, i = -1, l = 0, o;
5845
5846
  for (; n--; ) {
@@ -5857,19 +5858,19 @@ function xs(e) {
5857
5858
  l === 0 || // The (right-most) trimmed path component is exactly `..`.
5858
5859
  l === 1 && i === t - 1 && i === r + 1 ? "" : e.slice(i, t);
5859
5860
  }
5860
- function ks(...e) {
5861
+ function bs(...e) {
5861
5862
  let n = -1, t;
5862
5863
  for (; ++n < e.length; )
5863
5864
  tn(e[n]), e[n] && (t = t === void 0 ? e[n] : t + "/" + e[n]);
5864
- return t === void 0 ? "." : bs(t);
5865
+ return t === void 0 ? "." : ws(t);
5865
5866
  }
5866
- function bs(e) {
5867
+ function ws(e) {
5867
5868
  tn(e);
5868
5869
  const n = e.codePointAt(0) === 47;
5869
- let t = ws(e, !n);
5870
+ let t = Ss(e, !n);
5870
5871
  return t.length === 0 && !n && (t = "."), t.length > 0 && e.codePointAt(e.length - 1) === 47 && (t += "/"), n ? "/" + t : t;
5871
5872
  }
5872
- function ws(e, n) {
5873
+ function Ss(e, n) {
5873
5874
  let t = "", r = 0, i = -1, l = 0, o = -1, a, u;
5874
5875
  for (; ++o <= e.length; ) {
5875
5876
  if (o < e.length)
@@ -5906,15 +5907,15 @@ function tn(e) {
5906
5907
  "Path must be a string. Received " + JSON.stringify(e)
5907
5908
  );
5908
5909
  }
5909
- const Ss = { cwd: Cs };
5910
- function Cs() {
5910
+ const Cs = { cwd: Es };
5911
+ function Es() {
5911
5912
  return "/";
5912
5913
  }
5913
5914
  function Rn(e) {
5914
5915
  return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
5915
5916
  e.auth === void 0);
5916
5917
  }
5917
- function Es(e) {
5918
+ function Is(e) {
5918
5919
  if (typeof e == "string")
5919
5920
  e = new URL(e);
5920
5921
  else if (!Rn(e)) {
@@ -5927,9 +5928,9 @@ function Es(e) {
5927
5928
  const n = new TypeError("The URL must be of scheme file");
5928
5929
  throw n.code = "ERR_INVALID_URL_SCHEME", n;
5929
5930
  }
5930
- return Is(e);
5931
+ return Ns(e);
5931
5932
  }
5932
- function Is(e) {
5933
+ function Ns(e) {
5933
5934
  if (e.hostname !== "") {
5934
5935
  const r = new TypeError(
5935
5936
  'File URL host must be "localhost" or empty on darwin'
@@ -5961,7 +5962,7 @@ const wn = (
5961
5962
  "dirname"
5962
5963
  ]
5963
5964
  );
5964
- class Ns {
5965
+ class As {
5965
5966
  /**
5966
5967
  * Create a new virtual file.
5967
5968
  *
@@ -5986,7 +5987,7 @@ class Ns {
5986
5987
  */
5987
5988
  constructor(n) {
5988
5989
  let t;
5989
- n ? Rn(n) ? t = { path: n } : typeof n == "string" || As(n) ? t = { value: n } : t = n : t = {}, this.cwd = "cwd" in t ? "" : Ss.cwd(), this.data = {}, this.history = [], this.messages = [];
5990
+ n ? Rn(n) ? t = { path: n } : typeof n == "string" || Ps(n) ? t = { value: n } : t = n : t = {}, this.cwd = "cwd" in t ? "" : Cs.cwd(), this.data = {}, this.history = [], this.messages = [];
5990
5991
  let r = -1;
5991
5992
  for (; ++r < wn.length; ) {
5992
5993
  const l = wn[r];
@@ -6094,7 +6095,7 @@ class Ns {
6094
6095
  * Nothing.
6095
6096
  */
6096
6097
  set path(n) {
6097
- Rn(n) && (n = Es(n)), Cn(n, "path"), this.path !== n && this.history.push(n);
6098
+ Rn(n) && (n = Is(n)), Cn(n, "path"), this.path !== n && this.history.push(n);
6098
6099
  }
6099
6100
  /**
6100
6101
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -6345,10 +6346,10 @@ function Wt(e, n) {
6345
6346
  if (!e)
6346
6347
  throw new Error("Setting `" + n + "` requires `path` to be set too");
6347
6348
  }
6348
- function As(e) {
6349
+ function Ps(e) {
6349
6350
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
6350
6351
  }
6351
- const Ps = (
6352
+ const Ts = (
6352
6353
  /**
6353
6354
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
6354
6355
  */
@@ -6369,13 +6370,13 @@ const Ps = (
6369
6370
  };
6370
6371
  return Object.setPrototypeOf(l, r), l;
6371
6372
  })
6372
- ), Ts = {}.hasOwnProperty;
6373
- class rt extends Ps {
6373
+ ), zs = {}.hasOwnProperty;
6374
+ class rt extends Ts {
6374
6375
  /**
6375
6376
  * Create a processor.
6376
6377
  */
6377
6378
  constructor() {
6378
- 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 = ds();
6379
+ 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 = ms();
6379
6380
  }
6380
6381
  /**
6381
6382
  * Copy a processor.
@@ -6460,7 +6461,7 @@ class rt extends Ps {
6460
6461
  * the entire dataset when getting without key.
6461
6462
  */
6462
6463
  data(n, t) {
6463
- return typeof n == "string" ? arguments.length === 2 ? (Nn("data", this.frozen), this.namespace[n] = t, this) : Ts.call(this.namespace, n) && this.namespace[n] || void 0 : n ? (Nn("data", this.frozen), this.namespace = n, this) : this.namespace;
6464
+ return typeof n == "string" ? arguments.length === 2 ? (Nn("data", this.frozen), this.namespace[n] = t, this) : zs.call(this.namespace, n) && this.namespace[n] || void 0 : n ? (Nn("data", this.frozen), this.namespace = n, this) : this.namespace;
6464
6465
  }
6465
6466
  /**
6466
6467
  * Freeze a processor.
@@ -6575,7 +6576,7 @@ class rt extends Ps {
6575
6576
  /** @type {unknown} */
6576
6577
  f
6577
6578
  ), k = r.stringify(p, m);
6578
- vs(k) ? m.value = k : m.result = k, s(
6579
+ Ms(k) ? m.value = k : m.result = k, s(
6579
6580
  c,
6580
6581
  /** @type {VFileWithOutput<CompileResult>} */
6581
6582
  m
@@ -6851,7 +6852,7 @@ class rt extends Ps {
6851
6852
  }
6852
6853
  }
6853
6854
  }
6854
- const zs = new rt().freeze();
6855
+ const Ls = new rt().freeze();
6855
6856
  function En(e, n) {
6856
6857
  if (typeof n != "function")
6857
6858
  throw new TypeError("Cannot `" + e + "` without `parser`");
@@ -6877,22 +6878,22 @@ function Xt(e, n, t) {
6877
6878
  );
6878
6879
  }
6879
6880
  function an(e) {
6880
- return Ls(e) ? e : new Ns(e);
6881
- }
6882
- function Ls(e) {
6883
- return !!(e && typeof e == "object" && "message" in e && "messages" in e);
6881
+ return vs(e) ? e : new As(e);
6884
6882
  }
6885
6883
  function vs(e) {
6886
- return typeof e == "string" || Ms(e);
6884
+ return !!(e && typeof e == "object" && "message" in e && "messages" in e);
6887
6885
  }
6888
6886
  function Ms(e) {
6887
+ return typeof e == "string" || _s(e);
6888
+ }
6889
+ function _s(e) {
6889
6890
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
6890
6891
  }
6891
6892
  const Pe = oe(
6892
6893
  "text-4xl",
6893
6894
  "font-stretch-condensed",
6894
6895
  "font-bold"
6895
- ), fe = ({ type: e = "thin" }) => e === "full" ? /* @__PURE__ */ y("div", { className: "-mx-4 my-4 h-2 bg-surface-dark" }) : /* @__PURE__ */ y(
6896
+ ), fe = ({ type: e = "thin" }) => e === "full" ? /* @__PURE__ */ y("div", { className: "-mx-4 my-4 h-2 bg-surface-darkest" }) : /* @__PURE__ */ y(
6896
6897
  "div",
6897
6898
  {
6898
6899
  className: oe("w-full", {
@@ -6903,17 +6904,31 @@ const Pe = oe(
6903
6904
  "h-px": e === "thin"
6904
6905
  })
6905
6906
  }
6906
- ), _s = ({ pkg: e }) => e.status === "error" ? /* @__PURE__ */ v("div", { className: "flex flex-col py-2", children: [
6907
+ ), Bs = ({ pkg: e }) => e.status === "error" ? /* @__PURE__ */ v("div", { className: "flex flex-col py-2", children: [
6907
6908
  /* @__PURE__ */ v("div", { className: "flex justify-between", children: [
6908
6909
  /* @__PURE__ */ y("span", { className: "font-bold", children: e.name }),
6909
6910
  /* @__PURE__ */ y("span", { className: "text-copy-error text-sm", children: "Error" })
6910
6911
  ] }),
6911
6912
  e.error && /* @__PURE__ */ y("span", { className: "text-xs text-copy-dark mt-1", children: e.error })
6912
6913
  ] }) : /* @__PURE__ */ v(me, { children: [
6913
- /* @__PURE__ */ v("div", { className: "flex justify-between sm:flex-row flex-col mt-1 mb-0", children: [
6914
- /* @__PURE__ */ y("p", { className: ct("text-2xl", "mt-1 mb-0"), children: e.name }),
6915
- /* @__PURE__ */ y("p", { className: ct("text-lg", "mt-1 mb-0"), children: e.version })
6916
- ] }),
6914
+ /* @__PURE__ */ v(
6915
+ "div",
6916
+ {
6917
+ className: ct(
6918
+ "flex",
6919
+ "sm:justify-between",
6920
+ "sm:items-center",
6921
+ "sm:flex-row",
6922
+ "flex-col",
6923
+ "items-start",
6924
+ "mt-1"
6925
+ ),
6926
+ children: [
6927
+ /* @__PURE__ */ y("p", { className: ct("text-2xl m-0"), children: e.name }),
6928
+ /* @__PURE__ */ y(ri, { label: e.version })
6929
+ ]
6930
+ }
6931
+ ),
6917
6932
  /* @__PURE__ */ v("div", { className: "flex justify-between mt-1 mb-0", children: [
6918
6933
  /* @__PURE__ */ y("span", { className: "font-bold", children: "Serving Size" }),
6919
6934
  e.exports && e.exports.length > 0 ? /* @__PURE__ */ v("span", { className: "font-bold", children: [
@@ -6952,13 +6967,13 @@ const Pe = oe(
6952
6967
  ] })
6953
6968
  ] })
6954
6969
  ] })
6955
- ] }), Bs = ({ data: e }) => {
6970
+ ] }), Ds = ({ data: e }) => {
6956
6971
  const { packages: n, summary: t } = e;
6957
6972
  return /* @__PURE__ */ v(me, { children: [
6958
6973
  /* @__PURE__ */ y("span", { className: Pe, children: "Bundle Stats" }),
6959
6974
  /* @__PURE__ */ y(fe, { type: "thin" }),
6960
6975
  n.map((r, i) => /* @__PURE__ */ v("div", { children: [
6961
- /* @__PURE__ */ y(_s, { pkg: r }),
6976
+ /* @__PURE__ */ y(Bs, { pkg: r }),
6962
6977
  i < n.length - 1 && /* @__PURE__ */ y(fe, { type: "full" })
6963
6978
  ] }, `${r.name}-${r.version}`)),
6964
6979
  t && n.length > 1 && /* @__PURE__ */ v("div", { className: "mt-10 bg-surface-dark text-copy-light p-4 rounded-lg", children: [
@@ -7029,7 +7044,7 @@ const Pe = oe(
7029
7044
  ) }),
7030
7045
  /* @__PURE__ */ y("div", { className: "w-20 text-xs text-right font-mono shrink-0", children: i })
7031
7046
  ] });
7032
- }, Ds = ({ data: e }) => {
7047
+ }, Rs = ({ data: e }) => {
7033
7048
  const { packageName: n, versions: t, change: r } = e, i = t.map((c) => c.gzip.bytes ?? 0).filter((c) => c > 0), l = Math.min(...i), o = Math.max(...i), a = t.map((c) => c.minified.bytes), u = Math.min(...a), s = Math.max(...a);
7034
7049
  return /* @__PURE__ */ v(me, { children: [
7035
7050
  /* @__PURE__ */ y("span", { className: Pe, children: "Bundle Size Trend" }),
@@ -7098,7 +7113,7 @@ const Pe = oe(
7098
7113
  ] })
7099
7114
  ] })
7100
7115
  ] });
7101
- }, Rs = ({ data: e, className: n }) => /* @__PURE__ */ y(
7116
+ }, Fs = ({ data: e, className: n }) => /* @__PURE__ */ y(
7102
7117
  "div",
7103
7118
  {
7104
7119
  className: oe(
@@ -7108,41 +7123,41 @@ const Pe = oe(
7108
7123
  "border-2 border-border-dark",
7109
7124
  n
7110
7125
  ),
7111
- children: e.type === "trend" ? /* @__PURE__ */ y(Ds, { data: e }) : /* @__PURE__ */ y(Bs, { data: e })
7126
+ children: e.type === "trend" ? /* @__PURE__ */ y(Rs, { data: e }) : /* @__PURE__ */ y(Ds, { data: e })
7112
7127
  }
7113
- ), Fs = 5e4, jr = (e) => e !== null && typeof e == "object" && "bytes" in e && typeof e.bytes == "number" && "formatted" in e && typeof e.formatted == "string", Vr = (e) => e !== null && typeof e == "object" && "bytes" in e && (typeof e.bytes == "number" || e.bytes === null) && "formatted" in e && (typeof e.formatted == "string" || e.formatted === null), Os = (e) => {
7128
+ ), Os = 5e4, jr = (e) => e !== null && typeof e == "object" && "bytes" in e && typeof e.bytes == "number" && "formatted" in e && typeof e.formatted == "string", Vr = (e) => e !== null && typeof e == "object" && "bytes" in e && (typeof e.bytes == "number" || e.bytes === null) && "formatted" in e && (typeof e.formatted == "string" || e.formatted === null), js = (e) => {
7114
7129
  if (!e || typeof e != "object")
7115
7130
  return !1;
7116
7131
  const n = e;
7117
7132
  return typeof n.name == "string" && typeof n.version == "string" && jr(n.minified) && Vr(n.gzip);
7118
- }, js = (e) => {
7133
+ }, Vs = (e) => {
7119
7134
  if (!e || typeof e != "object")
7120
7135
  return !1;
7121
7136
  const n = e;
7122
7137
  return typeof n.version == "string" && jr(n.minified) && Vr(n.gzip);
7123
- }, Vs = (e) => {
7138
+ }, Us = (e) => {
7124
7139
  if (!e || typeof e != "object")
7125
7140
  return !1;
7126
7141
  const n = e;
7127
- return n.type === "packages" ? Array.isArray(n.packages) ? n.packages.every(Os) : !1 : n.type === "trend" ? typeof n.packageName != "string" || !Array.isArray(n.versions) ? !1 : n.versions.every(js) : !1;
7128
- }, Us = (e) => {
7129
- if (!e || e.length > Fs)
7142
+ return n.type === "packages" ? Array.isArray(n.packages) ? n.packages.every(js) : !1 : n.type === "trend" ? typeof n.packageName != "string" || !Array.isArray(n.versions) ? !1 : n.versions.every(Vs) : !1;
7143
+ }, $s = (e) => {
7144
+ if (!e || e.length > Os)
7130
7145
  return null;
7131
7146
  try {
7132
7147
  const n = JSON.parse(e);
7133
- return Vs(n) ? n : null;
7148
+ return Us(n) ? n : null;
7134
7149
  } catch {
7135
7150
  return null;
7136
7151
  }
7137
- }, Fn = (e) => typeof e == "string" ? e : Array.isArray(e) ? e.map(Fn).join("") : e && typeof e == "object" && "props" in e ? Fn(e.props.children) : "", $s = (e) => e ? e.includes("language-bundle-size") || e.includes("language-bundlesize") : !1, Hs = ({
7152
+ }, Fn = (e) => typeof e == "string" ? e : Array.isArray(e) ? e.map(Fn).join("") : e && typeof e == "object" && "props" in e ? Fn(e.props.children) : "", Hs = (e) => e ? e.includes("language-bundle-size") || e.includes("language-bundlesize") : !1, qs = ({
7138
7153
  children: e,
7139
7154
  className: n
7140
7155
  }) => {
7141
- if (!$s(n))
7156
+ if (!Hs(n))
7142
7157
  return null;
7143
- const t = Fn(e), r = Us(t);
7144
- return r ? /* @__PURE__ */ y(Rs, { data: r, className: "my-4" }) : null;
7145
- }, qs = (e, n) => {
7158
+ const t = Fn(e), r = $s(t);
7159
+ return r ? /* @__PURE__ */ y(Fs, { data: r, className: "my-4" }) : null;
7160
+ }, Ws = (e, n) => {
7146
7161
  if (!e)
7147
7162
  return "image";
7148
7163
  if (e.startsWith("data:")) {
@@ -7159,8 +7174,8 @@ const Pe = oe(
7159
7174
  return t;
7160
7175
  }
7161
7176
  return n?.replace(/[^a-zA-Z0-9-_]/g, "_") || "image";
7162
- }, Ws = ({ src: e, alt: n, ...t }) => {
7163
- const r = qs(e, n), i = Vn(
7177
+ }, Gs = ({ src: e, alt: n, ...t }) => {
7178
+ const r = Ws(e, n), i = Vn(
7164
7179
  async (l) => {
7165
7180
  if (e) {
7166
7181
  if (lr() && !e.startsWith("data:")) {
@@ -7255,7 +7270,7 @@ const J = ({ type: e = "thin" }) => /* @__PURE__ */ y(
7255
7270
  ]
7256
7271
  }
7257
7272
  )
7258
- ] }), Gs = ({
7273
+ ] }), Xs = ({
7259
7274
  data: e,
7260
7275
  className: n
7261
7276
  }) => {
@@ -7434,9 +7449,9 @@ const J = ({ type: e = "thin" }) => /* @__PURE__ */ y(
7434
7449
  ]
7435
7450
  }
7436
7451
  );
7437
- }, Xs = 5e4, Ne = (e) => e !== null && typeof e == "object" && "amount" in e && typeof e.amount == "number" && "unit" in e && typeof e.unit == "string", Jt = (e) => e !== null && typeof e == "object" && "amount" in e && typeof e.amount == "number" && "unit" in e && typeof e.unit == "string", Ys = (e) => Array.isArray(e) && e.every(
7452
+ }, Ys = 5e4, Ne = (e) => e !== null && typeof e == "object" && "amount" in e && typeof e.amount == "number" && "unit" in e && typeof e.unit == "string", Jt = (e) => e !== null && typeof e == "object" && "amount" in e && typeof e.amount == "number" && "unit" in e && typeof e.unit == "string", Ks = (e) => Array.isArray(e) && e.every(
7438
7453
  (n) => n !== null && typeof n == "object" && "name" in n && typeof n.name == "string" && "amount" in n && typeof n.amount == "number" && "unit" in n && typeof n.unit == "string" && "dailyValue" in n && typeof n.dailyValue == "number"
7439
- ), Ks = (e) => {
7454
+ ), Qs = (e) => {
7440
7455
  if (!e || typeof e != "object")
7441
7456
  return !1;
7442
7457
  const n = e;
@@ -7445,26 +7460,26 @@ const J = ({ type: e = "thin" }) => /* @__PURE__ */ y(
7445
7460
  typeof n.calories == "number" && // Required NutrientValue objects
7446
7461
  Ne(n.totalFat) && Ne(n.saturatedFat) && Ne(n.cholesterol) && Ne(n.sodium) && Ne(n.totalCarbohydrate) && Ne(n.dietaryFiber) && Ne(n.protein) && // Required simple nutrient objects (no dailyValue)
7447
7462
  Jt(n.transFat) && Jt(n.totalSugars) && // Required vitamins array
7448
- Ys(n.vitamins)
7463
+ Ks(n.vitamins)
7449
7464
  );
7450
- }, Qs = (e) => {
7451
- if (!e || e.length > Xs)
7465
+ }, Js = (e) => {
7466
+ if (!e || e.length > Ys)
7452
7467
  return null;
7453
7468
  try {
7454
7469
  const n = JSON.parse(e);
7455
- return Ks(n) ? n : null;
7470
+ return Qs(n) ? n : null;
7456
7471
  } catch {
7457
7472
  return null;
7458
7473
  }
7459
- }, On = (e) => typeof e == "string" ? e : Array.isArray(e) ? e.map(On).join("") : e && typeof e == "object" && "props" in e ? On(e.props.children) : "", Js = (e) => e ? e.includes("language-nutrition-facts") || e.includes("language-nutrition") : !1, Zs = ({
7474
+ }, On = (e) => typeof e == "string" ? e : Array.isArray(e) ? e.map(On).join("") : e && typeof e == "object" && "props" in e ? On(e.props.children) : "", Zs = (e) => e ? e.includes("language-nutrition-facts") || e.includes("language-nutrition") : !1, eu = ({
7460
7475
  children: e,
7461
7476
  className: n
7462
7477
  }) => {
7463
- if (!Js(n))
7478
+ if (!Zs(n))
7464
7479
  return null;
7465
- const t = On(e), r = Qs(t);
7466
- return r ? /* @__PURE__ */ y(Gs, { data: r, className: "my-4" }) : null;
7467
- }, eu = ({
7480
+ const t = On(e), r = Js(t);
7481
+ return r ? /* @__PURE__ */ y(Xs, { data: r, className: "my-4" }) : null;
7482
+ }, nu = ({
7468
7483
  href: e,
7469
7484
  target: n,
7470
7485
  rel: t,
@@ -7473,7 +7488,7 @@ const J = ({ type: e = "thin" }) => /* @__PURE__ */ y(
7473
7488
  }) => {
7474
7489
  const l = Vn(
7475
7490
  async (o) => {
7476
- if (lr() && e && nu(e)) {
7491
+ if (lr() && e && tu(e)) {
7477
7492
  o.preventDefault(), o.stopPropagation();
7478
7493
  try {
7479
7494
  const { openUrl: a } = await import(
@@ -7490,7 +7505,7 @@ const J = ({ type: e = "thin" }) => /* @__PURE__ */ y(
7490
7505
  );
7491
7506
  return /* @__PURE__ */ y("a", { href: e, target: n, rel: t, onClick: l, ...i, children: r });
7492
7507
  };
7493
- function nu(e) {
7508
+ function tu(e) {
7494
7509
  try {
7495
7510
  return new URL(e, window.location.href).origin !== window.location.origin;
7496
7511
  } catch {
@@ -7498,12 +7513,12 @@ function nu(e) {
7498
7513
  }
7499
7514
  }
7500
7515
  const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7501
- `, tu = (e, n) => {
7516
+ `, ru = (e, n) => {
7502
7517
  let t = 0, r = n;
7503
7518
  for (; r < e.length && e[r] === "#" && t < 6; )
7504
7519
  t++, r++;
7505
7520
  return t > 0 && t <= 6 && r < e.length && /\s/.test(e[r]) ? t + 1 : 0;
7506
- }, ru = (e) => {
7521
+ }, iu = (e) => {
7507
7522
  if (!e)
7508
7523
  return e;
7509
7524
  const n = [];
@@ -7520,7 +7535,7 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7520
7535
  l || (t = !t), n.push(i), r++;
7521
7536
  continue;
7522
7537
  }
7523
- !t && i === "#" && tu(e, r) > 0 && !Zt(e, r) && (r > 0 ? e[r - 1] : "") !== "#" && n.push(`
7538
+ !t && i === "#" && ru(e, r) > 0 && !Zt(e, r) && (r > 0 ? e[r - 1] : "") !== "#" && n.push(`
7524
7539
  `), n.push(i), r++;
7525
7540
  }
7526
7541
  return n.join("");
@@ -7529,20 +7544,20 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7529
7544
  return !1;
7530
7545
  const t = e.props?.children;
7531
7546
  return t == null ? !1 : typeof t == "string" ? t.trim().length > 0 : typeof t == "number" ? !0 : Array.isArray(t) ? t.some((r) => typeof r == "string" ? r.trim().length > 0 : typeof r == "number" ? !0 : r && typeof r == "object" && "props" in r ? jn(r) : !1) : typeof t == "object" && "props" in t ? jn(t) : !1;
7532
- }, iu = /(!?\[)([^\]]*?)$/, lu = /(\*\*)([^*]*?)$/, ou = /(__)([^_]*?)$/, au = /(\*\*\*)([^*]*?)$/, su = /(\*)([^*]*?)$/, uu = /(_)([^_]*?)$/, cu = /(`)([^`]*?)$/, fu = /(~~)([^~]*?)$/, pu = /\n[\t ]*(?:[-*+]|\d+\.)[\t ]+$/, hu = /(\n[\t ]*)([-*+]|\d+\.)([\t ]*)\n([\t ]*[^\s])/g, du = (e) => {
7547
+ }, lu = /(!?\[)([^\]]*?)$/, ou = /(\*\*)([^*]*?)$/, au = /(__)([^_]*?)$/, su = /(\*\*\*)([^*]*?)$/, uu = /(\*)([^*]*?)$/, cu = /(_)([^_]*?)$/, fu = /(`)([^`]*?)$/, pu = /(~~)([^~]*?)$/, hu = /\n[\t ]*(?:[-*+]|\d+\.)[\t ]+$/, du = /(\n[\t ]*)([-*+]|\d+\.)([\t ]*)\n([\t ]*[^\s])/g, mu = (e) => {
7533
7548
  let n = e;
7534
7549
  n = n.replace(
7535
- hu,
7550
+ du,
7536
7551
  (r, i, l, o, a) => `${i}${l} ${a}`
7537
7552
  );
7538
- const t = n.match(pu);
7553
+ const t = n.match(hu);
7539
7554
  return t ? n.substring(0, n.length - t[0].length) : n;
7540
7555
  }, it = (e) => {
7541
7556
  const n = (e.match(/```/g) || []).length;
7542
7557
  return n > 0 && n % 2 === 0 && e.includes(`
7543
7558
  `);
7544
- }, mu = (e) => {
7545
- const n = e.match(iu);
7559
+ }, gu = (e) => {
7560
+ const n = e.match(lu);
7546
7561
  if (n) {
7547
7562
  if (n[1].startsWith("!")) {
7548
7563
  const r = e.lastIndexOf(n[0]);
@@ -7551,8 +7566,8 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7551
7566
  return `${e}](placeholder:incomplete-link)`;
7552
7567
  }
7553
7568
  return e;
7554
- }, gu = (e) => {
7555
- const n = e.match(lu);
7569
+ }, yu = (e) => {
7570
+ const n = e.match(ou);
7556
7571
  if (n) {
7557
7572
  const t = n[2];
7558
7573
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -7566,8 +7581,8 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7566
7581
  return `${e}**`;
7567
7582
  }
7568
7583
  return e;
7569
- }, yu = (e) => {
7570
- const n = e.match(ou);
7584
+ }, xu = (e) => {
7585
+ const n = e.match(au);
7571
7586
  if (n) {
7572
7587
  const t = n[2];
7573
7588
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -7581,7 +7596,7 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7581
7596
  return `${e}__`;
7582
7597
  }
7583
7598
  return e;
7584
- }, xu = (e) => {
7599
+ }, ku = (e) => {
7585
7600
  let n = 0, t = !1, r = 0;
7586
7601
  for (let i = 0; i < e.length; i++) {
7587
7602
  const l = e[i];
@@ -7608,10 +7623,10 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7608
7623
  }
7609
7624
  }
7610
7625
  return n;
7611
- }, ku = (e) => {
7626
+ }, bu = (e) => {
7612
7627
  if (it(e))
7613
7628
  return e;
7614
- if (e.match(su)) {
7629
+ if (e.match(uu)) {
7615
7630
  let t = -1;
7616
7631
  for (let l = 0; l < e.length; l++)
7617
7632
  if (e[l] === "*" && e[l - 1] !== "*" && e[l + 1] !== "*") {
@@ -7627,11 +7642,11 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7627
7642
  );
7628
7643
  if (!r || /^[\s_~*`]*$/.test(r))
7629
7644
  return e;
7630
- if (xu(e) % 2 === 1)
7645
+ if (ku(e) % 2 === 1)
7631
7646
  return `${e}*`;
7632
7647
  }
7633
7648
  return e;
7634
- }, bu = (e, n) => {
7649
+ }, wu = (e, n) => {
7635
7650
  let t = !1, r = !1;
7636
7651
  for (let i = 0; i < e.length && i < n; i++) {
7637
7652
  if (e[i] === "\\" && e[i + 1] === "$") {
@@ -7653,7 +7668,7 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7653
7668
  t = !t;
7654
7669
  }
7655
7670
  return t;
7656
- }, wu = (e) => {
7671
+ }, Su = (e) => {
7657
7672
  let n = 0, t = !1, r = !1, i = !1;
7658
7673
  for (let l = 0; l < e.length; l++) {
7659
7674
  const o = e[l], a = l > 0 ? e[l - 1] : "", u = l < e.length - 1 ? e[l + 1] : "";
@@ -7676,13 +7691,13 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7676
7691
  }
7677
7692
  }
7678
7693
  return n;
7679
- }, Su = (e) => {
7694
+ }, Cu = (e) => {
7680
7695
  if (it(e))
7681
7696
  return e;
7682
- if (e.match(uu)) {
7697
+ if (e.match(cu)) {
7683
7698
  let t = -1;
7684
7699
  for (let l = 0; l < e.length; l++)
7685
- if (e[l] === "_" && e[l - 1] !== "_" && e[l + 1] !== "_" && e[l - 1] !== "\\" && !bu(e, l) && !Ur(e, l)) {
7700
+ if (e[l] === "_" && e[l - 1] !== "_" && e[l + 1] !== "_" && e[l - 1] !== "\\" && !wu(e, l) && !Ur(e, l)) {
7686
7701
  const o = l > 0 ? e[l - 1] : "", a = l < e.length - 1 ? e[l + 1] : "";
7687
7702
  if (o && a && /[\p{L}\p{N}_]/u.test(o) && /[\p{L}\p{N}_]/u.test(a))
7688
7703
  continue;
@@ -7696,16 +7711,16 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7696
7711
  );
7697
7712
  if (!r || /^[\s_~*`]*$/.test(r))
7698
7713
  return e;
7699
- if (wu(e) % 2 === 1)
7714
+ if (Su(e) % 2 === 1)
7700
7715
  return `${e}_`;
7701
7716
  }
7702
7717
  return e;
7703
- }, Cu = (e) => {
7718
+ }, Eu = (e) => {
7704
7719
  let n = 0;
7705
7720
  for (let t = 0; t < e.length; t++)
7706
7721
  e[t] === "`" && !hn(e, t) && n++;
7707
7722
  return n;
7708
- }, Eu = (e) => {
7723
+ }, Iu = (e) => {
7709
7724
  if (e.match(/^```[^`\n]*```?$/) && !e.includes(`
7710
7725
  `))
7711
7726
  return e.endsWith("``") && !e.endsWith("```") ? `${e}\`` : e;
@@ -7713,17 +7728,17 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7713
7728
  if (t > 0 && t % 2 === 0 && e.includes(`
7714
7729
  `) || (e.endsWith("```\n") || e.endsWith("```")) && t % 2 === 0)
7715
7730
  return e;
7716
- const i = e.match(cu);
7731
+ const i = e.match(fu);
7717
7732
  if (i && !r) {
7718
7733
  const l = i[2];
7719
7734
  if (!l || /^[\s_~*`]*$/.test(l))
7720
7735
  return e;
7721
- if (Cu(e) % 2 === 1)
7736
+ if (Eu(e) % 2 === 1)
7722
7737
  return `${e}\``;
7723
7738
  }
7724
7739
  return e;
7725
- }, Iu = (e) => {
7726
- const n = e.match(fu);
7740
+ }, Nu = (e) => {
7741
+ const n = e.match(pu);
7727
7742
  if (n) {
7728
7743
  const t = n[2];
7729
7744
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -7732,7 +7747,7 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7732
7747
  return `${e}~~`;
7733
7748
  }
7734
7749
  return e;
7735
- }, Nu = (e) => {
7750
+ }, Au = (e) => {
7736
7751
  if ((e.match(/\$\$/g) || []).length % 2 === 0)
7737
7752
  return e;
7738
7753
  const t = e.indexOf("$$");
@@ -7740,7 +7755,7 @@ const Zt = (e, n) => n === 0 ? !0 : e[n - 1] === `
7740
7755
  `, t) !== -1 && !e.endsWith(`
7741
7756
  `) ? `${e}
7742
7757
  $$` : `${e}$$`;
7743
- }, Au = (e) => {
7758
+ }, Pu = (e) => {
7744
7759
  let n = 0;
7745
7760
  const t = e.match(/\*+/g) || [];
7746
7761
  for (const r of t) {
@@ -7748,27 +7763,27 @@ $$` : `${e}$$`;
7748
7763
  i >= 3 && (n += Math.floor(i / 3));
7749
7764
  }
7750
7765
  return n;
7751
- }, Pu = (e) => {
7766
+ }, Tu = (e) => {
7752
7767
  if (it(e) || /^\*{4,}$/.test(e))
7753
7768
  return e;
7754
- const n = e.match(au);
7769
+ const n = e.match(su);
7755
7770
  if (n) {
7756
7771
  const t = n[2];
7757
7772
  if (!t || /^[\s_~*`]*$/.test(t))
7758
7773
  return e;
7759
- if (Au(e) % 2 === 1)
7774
+ if (Pu(e) % 2 === 1)
7760
7775
  return `${e}***`;
7761
7776
  }
7762
7777
  return e;
7763
- }, Tu = (e) => {
7778
+ }, zu = (e) => {
7764
7779
  if (!e || typeof e != "string")
7765
7780
  return e;
7766
7781
  let n = e;
7767
- n = ru(n), n = du(n);
7768
- const t = mu(n);
7769
- return t.endsWith("](placeholder:incomplete-link)") ? t : (n = t, n = Eu(n), n = Pu(n), n = gu(n), n = yu(n), n = ku(n), n = Su(n), n = Iu(n), n = Nu(n), n);
7782
+ n = iu(n), n = mu(n);
7783
+ const t = gu(n);
7784
+ return t.endsWith("](placeholder:incomplete-link)") ? t : (n = t, n = Iu(n), n = Tu(n), n = yu(n), n = xu(n), n = bu(n), n = Cu(n), n = Nu(n), n = Au(n), n);
7770
7785
  };
7771
- class zu {
7786
+ class Lu {
7772
7787
  remarkGfm = null;
7773
7788
  rehypeKatex = null;
7774
7789
  remarkMath = null;
@@ -7780,7 +7795,7 @@ class zu {
7780
7795
  if (!this.rehypeMermaid) {
7781
7796
  const { default: n } = await import(
7782
7797
  /* webpackChunkName: "md-rehype-mermaid" */
7783
- "./rehype-mermaid.Dz0w4nLz.js"
7798
+ "./rehype-mermaid.BmoHhgEN.js"
7784
7799
  ).then((t) => t.rehypeMermaid);
7785
7800
  this.rehypeMermaid = n;
7786
7801
  }
@@ -7790,7 +7805,7 @@ class zu {
7790
7805
  if (!this.remarkGfm) {
7791
7806
  const { default: n } = await import(
7792
7807
  /* webpackChunkName: "md-remark" */
7793
- "./index.txAaWFFV.js"
7808
+ "./index.Bdn4CH7A.js"
7794
7809
  );
7795
7810
  this.remarkGfm = n;
7796
7811
  }
@@ -7798,10 +7813,10 @@ class zu {
7798
7813
  }
7799
7814
  async loadKatex() {
7800
7815
  if (!this.rehypeKatex) {
7801
- Ou("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
7816
+ ju("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
7802
7817
  const { default: n } = await import(
7803
7818
  /* webpackChunkName: "md-rehype-katex" */
7804
- "./index.CjIJZOrO.js"
7819
+ "./index.Bn2jnPmJ.js"
7805
7820
  );
7806
7821
  this.rehypeKatex = n;
7807
7822
  }
@@ -7811,7 +7826,7 @@ class zu {
7811
7826
  if (!this.remarkMath) {
7812
7827
  const { default: n } = await import(
7813
7828
  /* webpackChunkName: "md-remark" */
7814
- "./index.BMRXdnws.js"
7829
+ "./index.C4KDd8tb.js"
7815
7830
  );
7816
7831
  this.remarkMath = n;
7817
7832
  }
@@ -7821,14 +7836,14 @@ class zu {
7821
7836
  if (!this.rehypeHighlight) {
7822
7837
  const { default: n } = await import(
7823
7838
  /* webpackChunkName: "md-rehype-highlight" */
7824
- "./index.CtWpztcy.js"
7839
+ "./index.C602CsZu.js"
7825
7840
  );
7826
7841
  this.rehypeHighlight = n;
7827
7842
  }
7828
7843
  return this.rehypeHighlight;
7829
7844
  }
7830
7845
  }
7831
- const Ye = new zu(), Lu = (e) => {
7846
+ const Ye = new Lu(), vu = (e) => {
7832
7847
  if (e?.props?.className)
7833
7848
  return e.props.className;
7834
7849
  if (Array.isArray(e) && e[0]?.props?.className)
@@ -7838,21 +7853,21 @@ const Ye = new zu(), Lu = (e) => {
7838
7853
  return !1;
7839
7854
  const n = Un(e) || "";
7840
7855
  return n.includes('"calories"') && (n.includes('"totalFat"') || n.includes('"protein"'));
7841
- }, vu = (e) => e ? /language-nutr/.test(e) : !1, nr = (e) => {
7856
+ }, Mu = (e) => e ? /language-nutr/.test(e) : !1, nr = (e) => {
7842
7857
  if (!e)
7843
7858
  return !1;
7844
7859
  const n = Un(e) || "";
7845
7860
  return n.includes('"type"') && (n.includes('"packages"') || n.includes('"trend"')) || n.includes('"minified"') && n.includes('"gzip"');
7846
- }, Mu = (e) => e ? /language-bundle/.test(e) : !1, _u = ({
7861
+ }, _u = (e) => e ? /language-bundle/.test(e) : !1, Bu = ({
7847
7862
  children: e,
7848
7863
  raw: n,
7849
7864
  ...t
7850
7865
  }) => {
7851
- const r = Lu(e), i = vu(r), l = Mu(r), o = Un(n) || "", a = !i && er(n), u = !l && nr(n), s = !r && o.trimStart().startsWith("{"), c = s && er(n), f = s && nr(n), m = i || a || c, p = l || u || f;
7852
- return m ? /* @__PURE__ */ y(Zs, { className: "language-nutrition-facts", children: e }) : p ? /* @__PURE__ */ y(Hs, { className: "language-bundle-size", children: e }) : !r && (!o || o.length < 5) ? null : /* @__PURE__ */ v("pre", { className: "relative pt-7 sm:pt-2 ps-0 sm:ps-3", ...t, children: [
7866
+ const r = vu(e), i = Mu(r), l = _u(r), o = Un(n) || "", a = !i && er(n), u = !l && nr(n), s = !r && o.trimStart().startsWith("{"), c = s && er(n), f = s && nr(n), m = i || a || c, p = l || u || f;
7867
+ return m ? /* @__PURE__ */ y(eu, { className: "language-nutrition-facts", children: e }) : p ? /* @__PURE__ */ y(qs, { className: "language-bundle-size", children: e }) : !r && (!o || o.length < 5) ? null : /* @__PURE__ */ v("pre", { className: "relative pt-7 sm:pt-2 ps-0 sm:ps-3", ...t, children: [
7853
7868
  e,
7854
7869
  /* @__PURE__ */ y(
7855
- ri,
7870
+ ii,
7856
7871
  {
7857
7872
  mode: "dark",
7858
7873
  noBorder: !0,
@@ -7864,16 +7879,16 @@ const Ye = new zu(), Lu = (e) => {
7864
7879
  }
7865
7880
  )
7866
7881
  ] });
7867
- }, Bu = (e) => /```(?!mermaid|nutr|bundle)/.test(e), Du = (e) => e.includes("```mermaid"), Ru = (e) => e.includes("$$"), Fu = (e) => (
7882
+ }, Du = (e) => /```(?!mermaid|nutr|bundle)/.test(e), Ru = (e) => e.includes("```mermaid"), Fu = (e) => e.includes("$$"), Ou = (e) => (
7868
7883
  // urls.
7869
7884
  e.includes("http://") || e.includes("https://") || // table.
7870
7885
  e.includes("|") || // strikethrough.
7871
7886
  e.includes("~") || e.includes("~~") || // task lists.
7872
7887
  e.includes("- [ ]") || e.includes("- [x]")
7873
- ), Ou = (e) => {
7888
+ ), ju = (e) => {
7874
7889
  const n = document.createElement("link");
7875
7890
  n.href = e, n.type = "text/css", n.rel = "stylesheet", n.id = "dynamic-katex-css", document.head.appendChild(n);
7876
- }, ju = () => (e) => {
7891
+ }, Vu = () => (e) => {
7877
7892
  Te(e, (n) => {
7878
7893
  if (n?.type === "element" && n?.tagName === "pre") {
7879
7894
  const [t] = n.children;
@@ -7884,18 +7899,18 @@ const Ye = new zu(), Lu = (e) => {
7884
7899
  (i || a || l || u) && (t.properties = t.properties || {}, t.properties.className = t.properties.className || [], t.properties.className.includes("no-highlight") || t.properties.className.push("no-highlight"));
7885
7900
  }
7886
7901
  });
7887
- }, Vu = () => (e) => {
7902
+ }, Uu = () => (e) => {
7888
7903
  Te(e, "element", (n) => {
7889
7904
  n?.type === "element" && n?.tagName === "pre" && (n.properties.raw = n.raw);
7890
7905
  });
7891
- }, Yu = ({
7906
+ }, Qu = ({
7892
7907
  onError: e = () => {
7893
7908
  },
7894
7909
  parseIncomplete: n = !0
7895
7910
  } = {}) => {
7896
7911
  const t = _e(e), r = _e(null), i = _e(null), l = _e(null), o = _e(null), a = _e({
7897
7912
  rehypePlugins: [
7898
- ju,
7913
+ Vu,
7899
7914
  /**
7900
7915
  * Security: Harden against XSS by restricting allowed elements, attributes,
7901
7916
  * and URL protocols. Uses safe defaults for AI-generated content.
@@ -7909,7 +7924,7 @@ const Ye = new zu(), Lu = (e) => {
7909
7924
  * conversions or AI-generated content with inline images).
7910
7925
  */
7911
7926
  [
7912
- Pi,
7927
+ Ti,
7913
7928
  {
7914
7929
  defaultOrigin: typeof window < "u" ? window.location.origin : "https://localhost",
7915
7930
  allowedLinkPrefixes: ["*"],
@@ -7918,7 +7933,7 @@ const Ye = new zu(), Lu = (e) => {
7918
7933
  }
7919
7934
  ],
7920
7935
  [
7921
- Ai,
7936
+ Pi,
7922
7937
  {
7923
7938
  target: "_blank",
7924
7939
  rel: ["noopener", "noreferrer"]
@@ -7933,39 +7948,39 @@ const Ye = new zu(), Lu = (e) => {
7933
7948
  const c = Vn(
7934
7949
  (f) => {
7935
7950
  (async () => {
7936
- const m = n ? Tu(f) : f;
7937
- if (!r.current && Bu(m)) {
7951
+ const m = n ? zu(f) : f;
7952
+ if (!r.current && Du(m)) {
7938
7953
  r.current = !0;
7939
7954
  const k = await Ye.loadHighlight();
7940
7955
  a.current.rehypePlugins.push(k);
7941
7956
  }
7942
- if (!i.current && Fu(m)) {
7957
+ if (!i.current && Ou(m)) {
7943
7958
  i.current = !0;
7944
7959
  const k = await Ye.loadGfm();
7945
7960
  a.current.remarkPlugins.push(k);
7946
7961
  }
7947
- if (!l.current && Ru(m)) {
7962
+ if (!l.current && Fu(m)) {
7948
7963
  l.current = !0;
7949
7964
  const k = await Ye.loadKatex(), S = await Ye.loadMath();
7950
7965
  a.current.remarkPlugins.push(S), a.current.rehypePlugins.push(k);
7951
7966
  }
7952
- if (!o.current && Du(m)) {
7967
+ if (!o.current && Ru(m)) {
7953
7968
  o.current = !0;
7954
7969
  const k = await Ye.loadMermaid();
7955
7970
  a.current.rehypePlugins.push(k);
7956
7971
  }
7957
7972
  const p = [
7958
7973
  ...a.current.rehypePlugins,
7959
- Vu
7974
+ Uu
7960
7975
  ];
7961
- zs().use(Ta).use(a.current.remarkPlugins).use(fs).use(p).use(Sl, {
7976
+ Ls().use(za).use(a.current.remarkPlugins).use(ps).use(p).use(Cl, {
7962
7977
  Fragment: me,
7963
7978
  jsx: y,
7964
7979
  jsxs: v,
7965
7980
  components: {
7966
- pre: _u,
7967
- a: eu,
7968
- img: Ws
7981
+ pre: Bu,
7982
+ a: nu,
7983
+ img: Gs
7969
7984
  }
7970
7985
  }).process(m).then((k) => {
7971
7986
  const S = k.result;
@@ -7989,26 +8004,26 @@ export {
7989
8004
  vn as asciiControl,
7990
8005
  pn as blankLine,
7991
8006
  Lt as classifyCharacter,
7992
- Nl as combineExtensions,
8007
+ Al as combineExtensions,
7993
8008
  cr as convert,
7994
8009
  ur as convertElement,
7995
8010
  G as factorySpace,
7996
- qi as find,
7997
- Xi as html,
8011
+ Wi as find,
8012
+ Yi as html,
7998
8013
  L as markdownLineEnding,
7999
8014
  ee as markdownLineEndingOrSpace,
8000
8015
  F as markdownSpace,
8001
8016
  Pn as normalize,
8002
8017
  Fe as normalizeIdentifier,
8003
- mi as parse,
8004
- Xu as parse$1,
8018
+ gi as parse,
8019
+ Ku as parse$1,
8005
8020
  nt as resolveAll,
8006
8021
  ge as splice,
8007
8022
  Yn as svg,
8008
- El as toString,
8009
- vl as unicodePunctuation,
8010
- Ml as unicodeWhitespace,
8011
- Yu as useMarkdown,
8023
+ Il as toString,
8024
+ Ml as unicodePunctuation,
8025
+ _l as unicodeWhitespace,
8026
+ Qu as useMarkdown,
8012
8027
  Te as visit,
8013
- Si as visitParents
8028
+ Ci as visitParents
8014
8029
  };