@altimateai/ui-components 0.0.1-beta.3 → 0.0.1-beta.4

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 (55) hide show
  1. package/dist/Accordion.js +43 -114
  2. package/dist/Badge.js +1 -1
  3. package/dist/CoachForm.js +7112 -7241
  4. package/dist/DbtDocsRenderer.js +833 -2651
  5. package/dist/Tooltip.js +115 -0
  6. package/dist/chatbot/index.js +100 -96
  7. package/dist/flowchart-elk-definition-170a3958.js +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/index2.js +1 -5
  10. package/dist/lineage/index.js +2284 -2710
  11. package/dist/main.js +49 -184
  12. package/dist/mindmap-definition-44684416.js +1 -1
  13. package/dist/redux-toolkit.modern.js +1 -1
  14. package/dist/shadcn/index.js +352 -382
  15. package/dist/v4.js +524 -514
  16. package/package.json +2 -2
  17. package/dist/Stack.js +0 -132
  18. package/dist/assets/icons/index.d.ts +0 -96
  19. package/dist/chatbot/index.d.ts +0 -39
  20. package/dist/chatbotV2/index.d.ts +0 -176
  21. package/dist/index.d.ts +0 -217
  22. package/dist/lineage/index.d.ts +0 -183
  23. package/dist/shadcn/index.d.ts +0 -517
  24. package/dist/storybook/Accordion.stories.tsx +0 -61
  25. package/dist/storybook/Alert.stories.tsx +0 -65
  26. package/dist/storybook/AlertDialog.stories.tsx +0 -166
  27. package/dist/storybook/Avatar.stories.tsx +0 -58
  28. package/dist/storybook/Badge.stories.tsx +0 -36
  29. package/dist/storybook/Button.stories.tsx +0 -129
  30. package/dist/storybook/Card.stories.tsx +0 -76
  31. package/dist/storybook/Checkbox.stories.tsx +0 -74
  32. package/dist/storybook/Command.stories.tsx +0 -35
  33. package/dist/storybook/DropdownMenu.stories.tsx +0 -36
  34. package/dist/storybook/Form.stories.tsx +0 -120
  35. package/dist/storybook/HoverCard.stories.tsx +0 -105
  36. package/dist/storybook/Input.stories.tsx +0 -53
  37. package/dist/storybook/Label.stories.tsx +0 -42
  38. package/dist/storybook/Menubar.stories.tsx +0 -159
  39. package/dist/storybook/Pagination.stories.tsx +0 -155
  40. package/dist/storybook/Popover.stories.tsx +0 -25
  41. package/dist/storybook/Progress.stories.tsx +0 -89
  42. package/dist/storybook/RadioGroup.stories.tsx +0 -61
  43. package/dist/storybook/Resizable.stories.tsx +0 -119
  44. package/dist/storybook/ScrollArea.stories.tsx +0 -120
  45. package/dist/storybook/Select.stories.tsx +0 -95
  46. package/dist/storybook/Sheet.stories.tsx +0 -75
  47. package/dist/storybook/Sidebar.stories.tsx +0 -97
  48. package/dist/storybook/Slider.stories.tsx +0 -81
  49. package/dist/storybook/Switch.stories.tsx +0 -99
  50. package/dist/storybook/Textarea.stories.tsx +0 -50
  51. package/dist/storybook/Toast.stories.tsx +0 -111
  52. package/dist/storybook/Tooltip.stories.tsx +0 -33
  53. package/dist/storybook/Typography.stories.tsx +0 -178
  54. package/dist/types-PVxbm0tZ.d.ts +0 -99
  55. /package/dist/{Stack.css → v4.css} +0 -0
package/dist/v4.js CHANGED
@@ -1,24 +1,33 @@
1
- import { j as ne } from "./index2.js";
2
- import { c as qe, g as Fr } from "./Stack.js";
3
- import { useState as ee, useEffect as Rr } from "react";
4
- function za() {
1
+ import { j as Wn } from "./index2.js";
2
+ import { forwardRef as Fr, useState as ee, useCallback as Rr, useEffect as _r } from "react";
3
+ import { c as qe, g as Mr } from "./Tooltip.js";
4
+ import './v4.css';const Br = "_stack_73h55_1", jr = {
5
+ stack: Br
6
+ }, Da = Fr(function({
7
+ children: e,
8
+ direction: t = "row",
9
+ ...r
10
+ }, i) {
11
+ return /* @__PURE__ */ Wn.jsx("div", { ...r, className: `${r.className} ${jr.stack} stack-${t}`, ref: i, children: e });
12
+ });
13
+ function Oa() {
5
14
  }
6
- function _r(n, e) {
15
+ function Hr(n, e) {
7
16
  const t = {};
8
17
  return (n[n.length - 1] === "" ? [...n, ""] : n).join(
9
18
  (t.padRight ? " " : "") + "," + (t.padLeft === !1 ? "" : " ")
10
19
  ).trim();
11
20
  }
12
- const Mr = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Br = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, jr = {};
21
+ const Ur = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Vr = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, qr = {};
13
22
  function $e(n, e) {
14
- return (jr.jsx ? Br : Mr).test(n);
23
+ return (qr.jsx ? Vr : Ur).test(n);
15
24
  }
16
- const Hr = /[ \t\n\f\r]/g;
17
- function Ur(n) {
25
+ const $r = /[ \t\n\f\r]/g;
26
+ function Wr(n) {
18
27
  return typeof n == "object" ? n.type === "text" ? We(n.value) : !1 : We(n);
19
28
  }
20
29
  function We(n) {
21
- return n.replace(Hr, "") === "";
30
+ return n.replace($r, "") === "";
22
31
  }
23
32
  class Bn {
24
33
  /**
@@ -64,10 +73,10 @@ tn.prototype.spaceSeparated = !1;
64
73
  tn.prototype.commaOrSpaceSeparated = !1;
65
74
  tn.prototype.mustUseProperty = !1;
66
75
  tn.prototype.defined = !1;
67
- let Vr = 0;
76
+ let Yr = 0;
68
77
  const z = wn(), $ = wn(), Ut = wn(), k = wn(), B = wn(), Tn = wn(), Z = wn();
69
78
  function wn() {
70
- return 2 ** ++Vr;
79
+ return 2 ** ++Yr;
71
80
  }
72
81
  const de = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
73
82
  __proto__: null,
@@ -100,12 +109,12 @@ Ce.prototype.defined = !0;
100
109
  function Ye(n, e, t) {
101
110
  t && (n[e] = t);
102
111
  }
103
- const qr = {}.hasOwnProperty;
112
+ const Qr = {}.hasOwnProperty;
104
113
  function An(n) {
105
114
  const e = {}, t = {};
106
115
  let r;
107
116
  for (r in n.properties)
108
- if (qr.call(n.properties, r)) {
117
+ if (Qr.call(n.properties, r)) {
109
118
  const i = n.properties[r], l = new Ce(
110
119
  r,
111
120
  n.transform(n.attributes || {}, r),
@@ -203,7 +212,7 @@ const Yt = An({
203
212
  ariaValueText: null,
204
213
  role: null
205
214
  }
206
- }), $r = An({
215
+ }), Xr = An({
207
216
  space: "html",
208
217
  attributes: {
209
218
  acceptcharset: "accept-charset",
@@ -564,7 +573,7 @@ const Yt = An({
564
573
  security: null,
565
574
  unselectable: null
566
575
  }
567
- }), Wr = An({
576
+ }), Kr = An({
568
577
  space: "svg",
569
578
  attributes: {
570
579
  accentHeight: "accent-height",
@@ -1123,20 +1132,20 @@ const Yt = An({
1123
1132
  z: null,
1124
1133
  zoomAndPan: null
1125
1134
  }
1126
- }), Yr = /^data[-\w.:]+$/i, Qe = /-[a-z]/g, Qr = /[A-Z]/g;
1127
- function Xr(n, e) {
1135
+ }), Jr = /^data[-\w.:]+$/i, Qe = /-[a-z]/g, Gr = /[A-Z]/g;
1136
+ function Zr(n, e) {
1128
1137
  const t = me(e);
1129
1138
  let r = e, i = tn;
1130
1139
  if (t in n.normal)
1131
1140
  return n.property[n.normal[t]];
1132
- if (t.length > 4 && t.slice(0, 4) === "data" && Yr.test(e)) {
1141
+ if (t.length > 4 && t.slice(0, 4) === "data" && Jr.test(e)) {
1133
1142
  if (e.charAt(4) === "-") {
1134
- const l = e.slice(5).replace(Qe, Jr);
1143
+ const l = e.slice(5).replace(Qe, ei);
1135
1144
  r = "data" + l.charAt(0).toUpperCase() + l.slice(1);
1136
1145
  } else {
1137
1146
  const l = e.slice(4);
1138
1147
  if (!Qe.test(l)) {
1139
- let o = l.replace(Qr, Kr);
1148
+ let o = l.replace(Gr, ni);
1140
1149
  o.charAt(0) !== "-" && (o = "-" + o), e = "data" + o;
1141
1150
  }
1142
1151
  }
@@ -1144,13 +1153,13 @@ function Xr(n, e) {
1144
1153
  }
1145
1154
  return new i(r, e);
1146
1155
  }
1147
- function Kr(n) {
1156
+ function ni(n) {
1148
1157
  return "-" + n.toLowerCase();
1149
1158
  }
1150
- function Jr(n) {
1159
+ function ei(n) {
1151
1160
  return n.charAt(1).toUpperCase();
1152
1161
  }
1153
- const Gr = {
1162
+ const ti = {
1154
1163
  classId: "classID",
1155
1164
  dataType: "datatype",
1156
1165
  itemId: "itemID",
@@ -1168,21 +1177,21 @@ const Gr = {
1168
1177
  xLinkTitle: "xlinkTitle",
1169
1178
  xLinkType: "xlinkType",
1170
1179
  xmlnsXLink: "xmlnsXlink"
1171
- }, Zr = Ht([qt, Vt, Yt, Qt, $r], "html"), Ee = Ht([qt, Vt, Yt, Qt, Wr], "svg");
1172
- function ni(n) {
1180
+ }, ri = Ht([qt, Vt, Yt, Qt, Xr], "html"), Ee = Ht([qt, Vt, Yt, Qt, Kr], "svg");
1181
+ function ii(n) {
1173
1182
  return n.join(" ").trim();
1174
1183
  }
1175
- var Xt = {}, Xe = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ei = /\n/g, ti = /^\s*/, ri = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, ii = /^:\s*/, li = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, oi = /^[;\s]*/, ui = /^\s+|\s+$/g, ai = `
1176
- `, Ke = "/", Je = "*", bn = "", si = "comment", ci = "declaration", pi = function(n, e) {
1184
+ var Xt = {}, Xe = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, li = /\n/g, oi = /^\s*/, ui = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, ai = /^:\s*/, si = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, ci = /^[;\s]*/, pi = /^\s+|\s+$/g, fi = `
1185
+ `, Ke = "/", Je = "*", bn = "", hi = "comment", mi = "declaration", di = function(n, e) {
1177
1186
  if (typeof n != "string")
1178
1187
  throw new TypeError("First argument must be a string");
1179
1188
  if (!n) return [];
1180
1189
  e = e || {};
1181
1190
  var t = 1, r = 1;
1182
1191
  function i(y) {
1183
- var b = y.match(ei);
1192
+ var b = y.match(li);
1184
1193
  b && (t += b.length);
1185
- var I = y.lastIndexOf(ai);
1194
+ var I = y.lastIndexOf(fi);
1186
1195
  r = ~I ? y.length - I : r + y.length;
1187
1196
  }
1188
1197
  function l() {
@@ -1209,7 +1218,7 @@ var Xt = {}, Xe = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ei = /\n/g, ti = /^\s*/, ri
1209
1218
  }
1210
1219
  }
1211
1220
  function s() {
1212
- a(ti);
1221
+ a(oi);
1213
1222
  }
1214
1223
  function c(y) {
1215
1224
  var b;
@@ -1226,21 +1235,21 @@ var Xt = {}, Xe = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ei = /\n/g, ti = /^\s*/, ri
1226
1235
  return u("End of comment missing");
1227
1236
  var I = n.slice(2, b - 2);
1228
1237
  return r += 2, i(I), n = n.slice(b), r += 2, y({
1229
- type: si,
1238
+ type: hi,
1230
1239
  comment: I
1231
1240
  });
1232
1241
  }
1233
1242
  }
1234
1243
  function d() {
1235
- var y = l(), b = a(ri);
1244
+ var y = l(), b = a(ui);
1236
1245
  if (b) {
1237
- if (f(), !a(ii)) return u("property missing ':'");
1238
- var I = a(li), w = y({
1239
- type: ci,
1246
+ if (f(), !a(ai)) return u("property missing ':'");
1247
+ var I = a(si), w = y({
1248
+ type: mi,
1240
1249
  property: Ge(b[0].replace(Xe, bn)),
1241
1250
  value: I ? Ge(I[0].replace(Xe, bn)) : bn
1242
1251
  });
1243
- return a(oi), w;
1252
+ return a(ci), w;
1244
1253
  }
1245
1254
  }
1246
1255
  function p() {
@@ -1253,18 +1262,18 @@ var Xt = {}, Xe = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ei = /\n/g, ti = /^\s*/, ri
1253
1262
  return s(), p();
1254
1263
  };
1255
1264
  function Ge(n) {
1256
- return n ? n.replace(ui, bn) : bn;
1265
+ return n ? n.replace(pi, bn) : bn;
1257
1266
  }
1258
- var fi = qe && qe.__importDefault || function(n) {
1267
+ var gi = qe && qe.__importDefault || function(n) {
1259
1268
  return n && n.__esModule ? n : { default: n };
1260
1269
  };
1261
1270
  Object.defineProperty(Xt, "__esModule", { value: !0 });
1262
- var Ze = Xt.default = mi, hi = fi(pi);
1263
- function mi(n, e) {
1271
+ var Ze = Xt.default = xi, yi = gi(di);
1272
+ function xi(n, e) {
1264
1273
  var t = null;
1265
1274
  if (!n || typeof n != "string")
1266
1275
  return t;
1267
- var r = (0, hi.default)(n), i = typeof e == "function";
1276
+ var r = (0, yi.default)(n), i = typeof e == "function";
1268
1277
  return r.forEach(function(l) {
1269
1278
  if (l.type === "declaration") {
1270
1279
  var o = l.property, u = l.value;
@@ -1272,7 +1281,7 @@ function mi(n, e) {
1272
1281
  }
1273
1282
  }), t;
1274
1283
  }
1275
- const di = Ze.default || Ze, Kt = Jt("end"), Ie = Jt("start");
1284
+ const ki = Ze.default || Ze, Kt = Jt("end"), Ie = Jt("start");
1276
1285
  function Jt(n) {
1277
1286
  return e;
1278
1287
  function e(t) {
@@ -1285,7 +1294,7 @@ function Jt(n) {
1285
1294
  };
1286
1295
  }
1287
1296
  }
1288
- function gi(n) {
1297
+ function bi(n) {
1289
1298
  const e = Ie(n), t = Kt(n);
1290
1299
  if (e && t)
1291
1300
  return { start: e, end: t };
@@ -1389,8 +1398,8 @@ K.prototype.fatal = void 0;
1389
1398
  K.prototype.place = void 0;
1390
1399
  K.prototype.ruleId = void 0;
1391
1400
  K.prototype.source = void 0;
1392
- const Te = {}.hasOwnProperty, yi = /* @__PURE__ */ new Map(), xi = /[A-Z]/g, ki = /-([a-z])/g, bi = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), wi = /* @__PURE__ */ new Set(["td", "th"]), Gt = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1393
- function Si(n, e) {
1401
+ const Te = {}.hasOwnProperty, wi = /* @__PURE__ */ new Map(), Si = /[A-Z]/g, Ci = /-([a-z])/g, Ei = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Ii = /* @__PURE__ */ new Set(["td", "th"]), Gt = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1402
+ function Ti(n, e) {
1394
1403
  if (!e || e.Fragment === void 0)
1395
1404
  throw new TypeError("Expected `Fragment` in options");
1396
1405
  const t = e.filePath || void 0;
@@ -1400,13 +1409,13 @@ function Si(n, e) {
1400
1409
  throw new TypeError(
1401
1410
  "Expected `jsxDEV` in options when `development: true`"
1402
1411
  );
1403
- r = Li(t, e.jsxDEV);
1412
+ r = Oi(t, e.jsxDEV);
1404
1413
  } else {
1405
1414
  if (typeof e.jsx != "function")
1406
1415
  throw new TypeError("Expected `jsx` in production options");
1407
1416
  if (typeof e.jsxs != "function")
1408
1417
  throw new TypeError("Expected `jsxs` in production options");
1409
- r = zi(t, e.jsx, e.jsxs);
1418
+ r = Di(t, e.jsx, e.jsxs);
1410
1419
  }
1411
1420
  const i = {
1412
1421
  Fragment: e.Fragment,
@@ -1419,7 +1428,7 @@ function Si(n, e) {
1419
1428
  ignoreInvalidStyle: e.ignoreInvalidStyle || !1,
1420
1429
  passKeys: e.passKeys !== !1,
1421
1430
  passNode: e.passNode || !1,
1422
- schema: e.space === "svg" ? Ee : Zr,
1431
+ schema: e.space === "svg" ? Ee : ri,
1423
1432
  stylePropertyNameCase: e.stylePropertyNameCase || "dom",
1424
1433
  tableCellAlignToStyle: e.tableCellAlignToStyle !== !1
1425
1434
  }, l = Zt(i, n, void 0);
@@ -1432,29 +1441,29 @@ function Si(n, e) {
1432
1441
  }
1433
1442
  function Zt(n, e, t) {
1434
1443
  if (e.type === "element")
1435
- return Ci(n, e, t);
1444
+ return Pi(n, e, t);
1436
1445
  if (e.type === "mdxFlowExpression" || e.type === "mdxTextExpression")
1437
- return Ei(n, e);
1446
+ return Ai(n, e);
1438
1447
  if (e.type === "mdxJsxFlowElement" || e.type === "mdxJsxTextElement")
1439
- return Ti(n, e, t);
1448
+ return Li(n, e, t);
1440
1449
  if (e.type === "mdxjsEsm")
1441
- return Ii(n, e);
1450
+ return zi(n, e);
1442
1451
  if (e.type === "root")
1443
- return Pi(n, e, t);
1452
+ return vi(n, e, t);
1444
1453
  if (e.type === "text")
1445
- return Ai(n, e);
1454
+ return Ni(n, e);
1446
1455
  }
1447
- function Ci(n, e, t) {
1456
+ function Pi(n, e, t) {
1448
1457
  const r = n.schema;
1449
1458
  let i = r;
1450
1459
  e.tagName.toLowerCase() === "svg" && r.space === "html" && (i = Ee, n.schema = i), n.ancestors.push(e);
1451
- const l = er(n, e.tagName, !1), o = vi(n, e);
1460
+ const l = er(n, e.tagName, !1), o = Fi(n, e);
1452
1461
  let u = Ae(n, e);
1453
- return bi.has(e.tagName) && (u = u.filter(function(a) {
1454
- return typeof a == "string" ? !Ur(a) : !0;
1462
+ return Ei.has(e.tagName) && (u = u.filter(function(a) {
1463
+ return typeof a == "string" ? !Wr(a) : !0;
1455
1464
  })), nr(n, o, l, e), Pe(o, u), n.ancestors.pop(), n.schema = r, n.create(e, l, o, t);
1456
1465
  }
1457
- function Ei(n, e) {
1466
+ function Ai(n, e) {
1458
1467
  if (e.data && e.data.estree && n.evaluater) {
1459
1468
  const r = e.data.estree.body[0];
1460
1469
  return r.type, /** @type {Child | undefined} */
@@ -1462,7 +1471,7 @@ function Ei(n, e) {
1462
1471
  }
1463
1472
  Mn(n, e.position);
1464
1473
  }
1465
- function Ii(n, e) {
1474
+ function zi(n, e) {
1466
1475
  if (e.data && e.data.estree && n.evaluater)
1467
1476
  return (
1468
1477
  /** @type {Child | undefined} */
@@ -1470,18 +1479,18 @@ function Ii(n, e) {
1470
1479
  );
1471
1480
  Mn(n, e.position);
1472
1481
  }
1473
- function Ti(n, e, t) {
1482
+ function Li(n, e, t) {
1474
1483
  const r = n.schema;
1475
1484
  let i = r;
1476
1485
  e.name === "svg" && r.space === "html" && (i = Ee, n.schema = i), n.ancestors.push(e);
1477
- const l = e.name === null ? n.Fragment : er(n, e.name, !0), o = Ni(n, e), u = Ae(n, e);
1486
+ const l = e.name === null ? n.Fragment : er(n, e.name, !0), o = Ri(n, e), u = Ae(n, e);
1478
1487
  return nr(n, o, l, e), Pe(o, u), n.ancestors.pop(), n.schema = r, n.create(e, l, o, t);
1479
1488
  }
1480
- function Pi(n, e, t) {
1489
+ function vi(n, e, t) {
1481
1490
  const r = {};
1482
1491
  return Pe(r, Ae(n, e)), n.create(e, n.Fragment, r, t);
1483
1492
  }
1484
- function Ai(n, e) {
1493
+ function Ni(n, e) {
1485
1494
  return e.value;
1486
1495
  }
1487
1496
  function nr(n, e, t, r) {
@@ -1493,14 +1502,14 @@ function Pe(n, e) {
1493
1502
  t && (n.children = t);
1494
1503
  }
1495
1504
  }
1496
- function zi(n, e, t) {
1505
+ function Di(n, e, t) {
1497
1506
  return r;
1498
1507
  function r(i, l, o, u) {
1499
1508
  const s = Array.isArray(o.children) ? t : e;
1500
1509
  return u ? s(l, o, u) : s(l, o);
1501
1510
  }
1502
1511
  }
1503
- function Li(n, e) {
1512
+ function Oi(n, e) {
1504
1513
  return t;
1505
1514
  function t(r, i, l, o) {
1506
1515
  const u = Array.isArray(l.children), a = Ie(r);
@@ -1518,15 +1527,15 @@ function Li(n, e) {
1518
1527
  );
1519
1528
  }
1520
1529
  }
1521
- function vi(n, e) {
1530
+ function Fi(n, e) {
1522
1531
  const t = {};
1523
1532
  let r, i;
1524
1533
  for (i in e.properties)
1525
1534
  if (i !== "children" && Te.call(e.properties, i)) {
1526
- const l = Di(n, i, e.properties[i]);
1535
+ const l = _i(n, i, e.properties[i]);
1527
1536
  if (l) {
1528
1537
  const [o, u] = l;
1529
- n.tableCellAlignToStyle && o === "align" && typeof u == "string" && wi.has(e.tagName) ? r = u : t[o] = u;
1538
+ n.tableCellAlignToStyle && o === "align" && typeof u == "string" && Ii.has(e.tagName) ? r = u : t[o] = u;
1530
1539
  }
1531
1540
  }
1532
1541
  if (r) {
@@ -1538,7 +1547,7 @@ function vi(n, e) {
1538
1547
  }
1539
1548
  return t;
1540
1549
  }
1541
- function Ni(n, e) {
1550
+ function Ri(n, e) {
1542
1551
  const t = {};
1543
1552
  for (const r of e.attributes)
1544
1553
  if (r.type === "mdxJsxExpressionAttribute")
@@ -1573,7 +1582,7 @@ function Ni(n, e) {
1573
1582
  function Ae(n, e) {
1574
1583
  const t = [];
1575
1584
  let r = -1;
1576
- const i = n.passKeys ? /* @__PURE__ */ new Map() : yi;
1585
+ const i = n.passKeys ? /* @__PURE__ */ new Map() : wi;
1577
1586
  for (; ++r < e.children.length; ) {
1578
1587
  const l = e.children[r];
1579
1588
  let o;
@@ -1589,23 +1598,23 @@ function Ae(n, e) {
1589
1598
  }
1590
1599
  return t;
1591
1600
  }
1592
- function Di(n, e, t) {
1593
- const r = Xr(n.schema, e);
1601
+ function _i(n, e, t) {
1602
+ const r = Zr(n.schema, e);
1594
1603
  if (!(t == null || typeof t == "number" && Number.isNaN(t))) {
1595
- if (Array.isArray(t) && (t = r.commaSeparated ? _r(t) : ni(t)), r.property === "style") {
1596
- let i = typeof t == "object" ? t : Oi(n, String(t));
1597
- return n.stylePropertyNameCase === "css" && (i = Fi(i)), ["style", i];
1604
+ if (Array.isArray(t) && (t = r.commaSeparated ? Hr(t) : ii(t)), r.property === "style") {
1605
+ let i = typeof t == "object" ? t : Mi(n, String(t));
1606
+ return n.stylePropertyNameCase === "css" && (i = Bi(i)), ["style", i];
1598
1607
  }
1599
1608
  return [
1600
- n.elementAttributeNameCase === "react" && r.space ? Gr[r.property] || r.property : r.attribute,
1609
+ n.elementAttributeNameCase === "react" && r.space ? ti[r.property] || r.property : r.attribute,
1601
1610
  t
1602
1611
  ];
1603
1612
  }
1604
1613
  }
1605
- function Oi(n, e) {
1614
+ function Mi(n, e) {
1606
1615
  const t = {};
1607
1616
  try {
1608
- di(e, r);
1617
+ ki(e, r);
1609
1618
  } catch (i) {
1610
1619
  if (!n.ignoreInvalidStyle) {
1611
1620
  const l = (
@@ -1623,7 +1632,7 @@ function Oi(n, e) {
1623
1632
  return t;
1624
1633
  function r(i, l) {
1625
1634
  let o = i;
1626
- o.slice(0, 2) !== "--" && (o.slice(0, 4) === "-ms-" && (o = "ms-" + o.slice(4)), o = o.replace(ki, _i)), t[o] = l;
1635
+ o.slice(0, 2) !== "--" && (o.slice(0, 4) === "-ms-" && (o = "ms-" + o.slice(4)), o = o.replace(Ci, Hi)), t[o] = l;
1627
1636
  }
1628
1637
  }
1629
1638
  function er(n, e, t) {
@@ -1669,21 +1678,21 @@ function Mn(n, e) {
1669
1678
  );
1670
1679
  throw t.file = n.filePath || void 0, t.url = Gt + "#cannot-handle-mdx-estrees-without-createevaluater", t;
1671
1680
  }
1672
- function Fi(n) {
1681
+ function Bi(n) {
1673
1682
  const e = {};
1674
1683
  let t;
1675
1684
  for (t in n)
1676
- Te.call(n, t) && (e[Ri(t)] = n[t]);
1685
+ Te.call(n, t) && (e[ji(t)] = n[t]);
1677
1686
  return e;
1678
1687
  }
1679
- function Ri(n) {
1680
- let e = n.replace(xi, Mi);
1688
+ function ji(n) {
1689
+ let e = n.replace(Si, Ui);
1681
1690
  return e.slice(0, 3) === "ms-" && (e = "-" + e), e;
1682
1691
  }
1683
- function _i(n, e) {
1692
+ function Hi(n, e) {
1684
1693
  return e.toUpperCase();
1685
1694
  }
1686
- function Mi(n) {
1695
+ function Ui(n) {
1687
1696
  return "-" + n.toLowerCase();
1688
1697
  }
1689
1698
  const re = {
@@ -1708,13 +1717,13 @@ const re = {
1708
1717
  "track",
1709
1718
  "video"
1710
1719
  ]
1711
- }, Bi = {};
1712
- function ji(n, e) {
1713
- const t = Bi, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
1720
+ }, Vi = {};
1721
+ function qi(n, e) {
1722
+ const t = Vi, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
1714
1723
  return tr(n, r, i);
1715
1724
  }
1716
1725
  function tr(n, e, t) {
1717
- if (Hi(n)) {
1726
+ if ($i(n)) {
1718
1727
  if ("value" in n)
1719
1728
  return n.type === "html" && !t ? "" : n.value;
1720
1729
  if (e && "alt" in n && n.alt)
@@ -1731,7 +1740,7 @@ function tt(n, e, t) {
1731
1740
  r[i] = tr(n[i], e, t);
1732
1741
  return r.join("");
1733
1742
  }
1734
- function Hi(n) {
1743
+ function $i(n) {
1735
1744
  return !!(n && typeof n == "object");
1736
1745
  }
1737
1746
  const rt = document.createElement("i");
@@ -1754,14 +1763,14 @@ function nn(n, e) {
1754
1763
  return n.length > 0 ? (pn(n, n.length, 0, e), n) : e;
1755
1764
  }
1756
1765
  const it = {}.hasOwnProperty;
1757
- function Ui(n) {
1766
+ function Wi(n) {
1758
1767
  const e = {};
1759
1768
  let t = -1;
1760
1769
  for (; ++t < n.length; )
1761
- Vi(e, n[t]);
1770
+ Yi(e, n[t]);
1762
1771
  return e;
1763
1772
  }
1764
- function Vi(n, e) {
1773
+ function Yi(n, e) {
1765
1774
  let t;
1766
1775
  for (t in e) {
1767
1776
  const i = (it.call(n, t) ? n[t] : void 0) || (n[t] = {}), l = e[t];
@@ -1770,7 +1779,7 @@ function Vi(n, e) {
1770
1779
  for (o in l) {
1771
1780
  it.call(i, o) || (i[o] = []);
1772
1781
  const u = l[o];
1773
- qi(
1782
+ Qi(
1774
1783
  // @ts-expect-error Looks like a list.
1775
1784
  i[o],
1776
1785
  Array.isArray(u) ? u : u ? [u] : []
@@ -1778,7 +1787,7 @@ function Vi(n, e) {
1778
1787
  }
1779
1788
  }
1780
1789
  }
1781
- function qi(n, e) {
1790
+ function Qi(n, e) {
1782
1791
  let t = -1;
1783
1792
  const r = [];
1784
1793
  for (; ++t < e.length; )
@@ -1801,8 +1810,8 @@ function rr(n, e) {
1801
1810
  function Pn(n) {
1802
1811
  return n.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
1803
1812
  }
1804
- const lt = $i(/[\dA-Za-z]/);
1805
- function $i(n) {
1813
+ const lt = Xi(/[\dA-Za-z]/);
1814
+ function Xi(n) {
1806
1815
  return e;
1807
1816
  function e(t) {
1808
1817
  return t !== null && t > -1 && n.test(String.fromCharCode(t));
@@ -1844,10 +1853,10 @@ function ve(n, e, t, r) {
1844
1853
  return ot(a) && l++ < i ? (n.consume(a), u) : (n.exit(t), e(a));
1845
1854
  }
1846
1855
  }
1847
- const Wi = {
1848
- tokenize: Yi
1856
+ const Ki = {
1857
+ tokenize: Ji
1849
1858
  };
1850
- function Yi(n) {
1859
+ function Ji(n) {
1851
1860
  const e = n.attempt(this.parser.constructs.contentInitial, r, i);
1852
1861
  let t;
1853
1862
  return e;
@@ -1876,12 +1885,12 @@ function Yi(n) {
1876
1885
  return Le(u) ? (n.consume(u), n.exit("chunkText"), l) : (n.consume(u), o);
1877
1886
  }
1878
1887
  }
1879
- const Qi = {
1880
- tokenize: Xi
1888
+ const Gi = {
1889
+ tokenize: Zi
1881
1890
  }, ut = {
1882
- tokenize: Ki
1891
+ tokenize: nl
1883
1892
  };
1884
- function Xi(n) {
1893
+ function Zi(n) {
1885
1894
  const e = this, t = [];
1886
1895
  let r = 0, i, l, o;
1887
1896
  return u;
@@ -1993,13 +2002,13 @@ function Xi(n) {
1993
2002
  i.write([null]), l = void 0, i = void 0, e.containerState._closeFlow = void 0;
1994
2003
  }
1995
2004
  }
1996
- function Ki(n, e, t) {
2005
+ function nl(n, e, t) {
1997
2006
  return ve(n, n.attempt(this.parser.constructs.document, e, t), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
1998
2007
  }
1999
- function Ji(n) {
2008
+ function el(n) {
2000
2009
  return n !== null && (n < 0 || n === 32);
2001
2010
  }
2002
- const Gi = ir(new RegExp("\\p{P}|\\p{S}", "u")), Zi = ir(/\s/);
2011
+ const tl = ir(new RegExp("\\p{P}|\\p{S}", "u")), rl = ir(/\s/);
2003
2012
  function ir(n) {
2004
2013
  return e;
2005
2014
  function e(t) {
@@ -2007,9 +2016,9 @@ function ir(n) {
2007
2016
  }
2008
2017
  }
2009
2018
  function at(n) {
2010
- if (n === null || Ji(n) || Zi(n))
2019
+ if (n === null || el(n) || rl(n))
2011
2020
  return 1;
2012
- if (Gi(n))
2021
+ if (tl(n))
2013
2022
  return 2;
2014
2023
  }
2015
2024
  function Ne(n, e, t) {
@@ -2023,10 +2032,10 @@ function Ne(n, e, t) {
2023
2032
  }
2024
2033
  const ye = {
2025
2034
  name: "attention",
2026
- resolveAll: nl,
2027
- tokenize: el
2035
+ resolveAll: il,
2036
+ tokenize: ll
2028
2037
  };
2029
- function nl(n, e) {
2038
+ function il(n, e) {
2030
2039
  let t = -1, r, i, l, o, u, a, s, c;
2031
2040
  for (; ++t < n.length; )
2032
2041
  if (n[t][0] === "enter" && n[t][1].type === "attentionSequence" && n[t][1]._close) {
@@ -2081,7 +2090,7 @@ function nl(n, e) {
2081
2090
  n[t][1].type === "attentionSequence" && (n[t][1].type = "data");
2082
2091
  return n;
2083
2092
  }
2084
- function el(n, e) {
2093
+ function ll(n, e) {
2085
2094
  const t = this.parser.constructs.attentionMarkers.null, r = this.previous, i = at(r);
2086
2095
  let l;
2087
2096
  return o;
@@ -2098,15 +2107,15 @@ function el(n, e) {
2098
2107
  function st(n, e) {
2099
2108
  n.column += e, n.offset += e, n._bufferIndex += e;
2100
2109
  }
2101
- const cn = Ln(/[A-Za-z]/), an = Ln(/[\dA-Za-z]/), tl = Ln(/[#-'*+\--9=?A-Z^-~]/);
2102
- function rl(n) {
2110
+ const cn = Ln(/[A-Za-z]/), an = Ln(/[\dA-Za-z]/), ol = Ln(/[#-'*+\--9=?A-Z^-~]/);
2111
+ function ul(n) {
2103
2112
  return (
2104
2113
  // Special whitespace codes (which have negative values), C0 and Control
2105
2114
  // character DEL
2106
2115
  n !== null && (n < 32 || n === 127)
2107
2116
  );
2108
2117
  }
2109
- const xe = Ln(/\d/), il = Ln(/[\dA-Fa-f]/), ll = Ln(/[!-/:-@[-`{-~]/);
2118
+ const xe = Ln(/\d/), al = Ln(/[\dA-Fa-f]/), sl = Ln(/[!-/:-@[-`{-~]/);
2110
2119
  function L(n) {
2111
2120
  return n !== null && n < -2;
2112
2121
  }
@@ -2122,11 +2131,11 @@ function Ln(n) {
2122
2131
  return t !== null && t > -1 && n.test(String.fromCharCode(t));
2123
2132
  }
2124
2133
  }
2125
- const ol = {
2134
+ const cl = {
2126
2135
  name: "autolink",
2127
- tokenize: ul
2136
+ tokenize: pl
2128
2137
  };
2129
- function ul(n, e, t) {
2138
+ function pl(n, e, t) {
2130
2139
  let r = 0;
2131
2140
  return i;
2132
2141
  function i(p) {
@@ -2142,10 +2151,10 @@ function ul(n, e, t) {
2142
2151
  return p === 58 ? (n.consume(p), r = 0, a) : (p === 43 || p === 45 || p === 46 || an(p)) && r++ < 32 ? (n.consume(p), u) : (r = 0, s(p));
2143
2152
  }
2144
2153
  function a(p) {
2145
- return p === 62 ? (n.exit("autolinkProtocol"), n.enter("autolinkMarker"), n.consume(p), n.exit("autolinkMarker"), n.exit("autolink"), e) : p === null || p === 32 || p === 60 || rl(p) ? t(p) : (n.consume(p), a);
2154
+ return p === 62 ? (n.exit("autolinkProtocol"), n.enter("autolinkMarker"), n.consume(p), n.exit("autolinkMarker"), n.exit("autolink"), e) : p === null || p === 32 || p === 60 || ul(p) ? t(p) : (n.consume(p), a);
2146
2155
  }
2147
2156
  function s(p) {
2148
- return p === 64 ? (n.consume(p), c) : tl(p) ? (n.consume(p), s) : t(p);
2157
+ return p === 64 ? (n.consume(p), c) : ol(p) ? (n.consume(p), s) : t(p);
2149
2158
  }
2150
2159
  function c(p) {
2151
2160
  return an(p) ? f(p) : t(p);
@@ -2172,11 +2181,11 @@ function U(n, e, t, r) {
2172
2181
  return R(a) && l++ < i ? (n.consume(a), u) : (n.exit(t), e(a));
2173
2182
  }
2174
2183
  }
2175
- const Jn = {
2184
+ const Gn = {
2176
2185
  partial: !0,
2177
- tokenize: al
2186
+ tokenize: fl
2178
2187
  };
2179
- function al(n, e, t) {
2188
+ function fl(n, e, t) {
2180
2189
  return r;
2181
2190
  function r(l) {
2182
2191
  return R(l) ? U(n, i, "linePrefix")(l) : i(l);
@@ -2187,13 +2196,13 @@ function al(n, e, t) {
2187
2196
  }
2188
2197
  const lr = {
2189
2198
  continuation: {
2190
- tokenize: cl
2199
+ tokenize: ml
2191
2200
  },
2192
- exit: pl,
2201
+ exit: dl,
2193
2202
  name: "blockQuote",
2194
- tokenize: sl
2203
+ tokenize: hl
2195
2204
  };
2196
- function sl(n, e, t) {
2205
+ function hl(n, e, t) {
2197
2206
  const r = this;
2198
2207
  return i;
2199
2208
  function i(o) {
@@ -2209,7 +2218,7 @@ function sl(n, e, t) {
2209
2218
  return R(o) ? (n.enter("blockQuotePrefixWhitespace"), n.consume(o), n.exit("blockQuotePrefixWhitespace"), n.exit("blockQuotePrefix"), e) : (n.exit("blockQuotePrefix"), e(o));
2210
2219
  }
2211
2220
  }
2212
- function cl(n, e, t) {
2221
+ function ml(n, e, t) {
2213
2222
  const r = this;
2214
2223
  return i;
2215
2224
  function i(o) {
@@ -2219,27 +2228,27 @@ function cl(n, e, t) {
2219
2228
  return n.attempt(lr, e, t)(o);
2220
2229
  }
2221
2230
  }
2222
- function pl(n) {
2231
+ function dl(n) {
2223
2232
  n.exit("blockQuote");
2224
2233
  }
2225
2234
  const or = {
2226
2235
  name: "characterEscape",
2227
- tokenize: fl
2236
+ tokenize: gl
2228
2237
  };
2229
- function fl(n, e, t) {
2238
+ function gl(n, e, t) {
2230
2239
  return r;
2231
2240
  function r(l) {
2232
2241
  return n.enter("characterEscape"), n.enter("escapeMarker"), n.consume(l), n.exit("escapeMarker"), i;
2233
2242
  }
2234
2243
  function i(l) {
2235
- return ll(l) ? (n.enter("characterEscapeValue"), n.consume(l), n.exit("characterEscapeValue"), n.exit("characterEscape"), e) : t(l);
2244
+ return sl(l) ? (n.enter("characterEscapeValue"), n.consume(l), n.exit("characterEscapeValue"), n.exit("characterEscape"), e) : t(l);
2236
2245
  }
2237
2246
  }
2238
2247
  const ur = {
2239
2248
  name: "characterReference",
2240
- tokenize: hl
2249
+ tokenize: yl
2241
2250
  };
2242
- function hl(n, e, t) {
2251
+ function yl(n, e, t) {
2243
2252
  const r = this;
2244
2253
  let i = 0, l, o;
2245
2254
  return u;
@@ -2250,7 +2259,7 @@ function hl(n, e, t) {
2250
2259
  return f === 35 ? (n.enter("characterReferenceMarkerNumeric"), n.consume(f), n.exit("characterReferenceMarkerNumeric"), s) : (n.enter("characterReferenceValue"), l = 31, o = an, c(f));
2251
2260
  }
2252
2261
  function s(f) {
2253
- return f === 88 || f === 120 ? (n.enter("characterReferenceMarkerHexadecimal"), n.consume(f), n.exit("characterReferenceMarkerHexadecimal"), n.enter("characterReferenceValue"), l = 6, o = il, c) : (n.enter("characterReferenceValue"), l = 7, o = xe, c(f));
2262
+ return f === 88 || f === 120 ? (n.enter("characterReferenceMarkerHexadecimal"), n.consume(f), n.exit("characterReferenceMarkerHexadecimal"), n.enter("characterReferenceValue"), l = 6, o = al, c) : (n.enter("characterReferenceValue"), l = 7, o = xe, c(f));
2254
2263
  }
2255
2264
  function c(f) {
2256
2265
  if (f === 59 && i) {
@@ -2262,13 +2271,13 @@ function hl(n, e, t) {
2262
2271
  }
2263
2272
  const ct = {
2264
2273
  partial: !0,
2265
- tokenize: dl
2274
+ tokenize: kl
2266
2275
  }, pt = {
2267
2276
  concrete: !0,
2268
2277
  name: "codeFenced",
2269
- tokenize: ml
2278
+ tokenize: xl
2270
2279
  };
2271
- function ml(n, e, t) {
2280
+ function xl(n, e, t) {
2272
2281
  const r = this, i = {
2273
2282
  partial: !0,
2274
2283
  tokenize: v
@@ -2339,7 +2348,7 @@ function ml(n, e, t) {
2339
2348
  }
2340
2349
  }
2341
2350
  }
2342
- function dl(n, e, t) {
2351
+ function kl(n, e, t) {
2343
2352
  const r = this;
2344
2353
  return i;
2345
2354
  function i(o) {
@@ -2351,12 +2360,12 @@ function dl(n, e, t) {
2351
2360
  }
2352
2361
  const ie = {
2353
2362
  name: "codeIndented",
2354
- tokenize: yl
2355
- }, gl = {
2363
+ tokenize: wl
2364
+ }, bl = {
2356
2365
  partial: !0,
2357
- tokenize: xl
2366
+ tokenize: Sl
2358
2367
  };
2359
- function yl(n, e, t) {
2368
+ function wl(n, e, t) {
2360
2369
  const r = this;
2361
2370
  return i;
2362
2371
  function i(s) {
@@ -2367,7 +2376,7 @@ function yl(n, e, t) {
2367
2376
  return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? o(s) : t(s);
2368
2377
  }
2369
2378
  function o(s) {
2370
- return s === null ? a(s) : L(s) ? n.attempt(gl, o, a)(s) : (n.enter("codeFlowValue"), u(s));
2379
+ return s === null ? a(s) : L(s) ? n.attempt(bl, o, a)(s) : (n.enter("codeFlowValue"), u(s));
2371
2380
  }
2372
2381
  function u(s) {
2373
2382
  return s === null || L(s) ? (n.exit("codeFlowValue"), o(s)) : (n.consume(s), u);
@@ -2376,7 +2385,7 @@ function yl(n, e, t) {
2376
2385
  return n.exit("codeIndented"), e(s);
2377
2386
  }
2378
2387
  }
2379
- function xl(n, e, t) {
2388
+ function Sl(n, e, t) {
2380
2389
  const r = this;
2381
2390
  return i;
2382
2391
  function i(o) {
@@ -2387,13 +2396,13 @@ function xl(n, e, t) {
2387
2396
  return u && u[1].type === "linePrefix" && u[2].sliceSerialize(u[1], !0).length >= 4 ? e(o) : L(o) ? i(o) : t(o);
2388
2397
  }
2389
2398
  }
2390
- const kl = {
2399
+ const Cl = {
2391
2400
  name: "codeText",
2392
- previous: wl,
2393
- resolve: bl,
2394
- tokenize: Sl
2401
+ previous: Il,
2402
+ resolve: El,
2403
+ tokenize: Tl
2395
2404
  };
2396
- function bl(n) {
2405
+ function El(n) {
2397
2406
  let e = n.length - 4, t = 3, r, i;
2398
2407
  if ((n[t][1].type === "lineEnding" || n[t][1].type === "space") && (n[e][1].type === "lineEnding" || n[e][1].type === "space")) {
2399
2408
  for (r = t; ++r < e; )
@@ -2406,10 +2415,10 @@ function bl(n) {
2406
2415
  i === void 0 ? r !== e && n[r][1].type !== "lineEnding" && (i = r) : (r === e || n[r][1].type === "lineEnding") && (n[i][1].type = "codeTextData", r !== i + 2 && (n[i][1].end = n[r - 1][1].end, n.splice(i + 2, r - i - 2), e -= r - i - 2, r = i + 2), i = void 0);
2407
2416
  return n;
2408
2417
  }
2409
- function wl(n) {
2418
+ function Il(n) {
2410
2419
  return n !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
2411
2420
  }
2412
- function Sl(n, e, t) {
2421
+ function Tl(n, e, t) {
2413
2422
  let r = 0, i, l;
2414
2423
  return o;
2415
2424
  function o(f) {
@@ -2428,7 +2437,7 @@ function Sl(n, e, t) {
2428
2437
  return f === 96 ? (n.consume(f), i++, c) : i === r ? (n.exit("codeTextSequence"), n.exit("codeText"), e(f)) : (l.type = "codeTextData", s(f));
2429
2438
  }
2430
2439
  }
2431
- class Cl {
2440
+ class Pl {
2432
2441
  /**
2433
2442
  * @param {ReadonlyArray<T> | null | undefined} [initial]
2434
2443
  * Initial items (optional).
@@ -2603,7 +2612,7 @@ function On(n, e) {
2603
2612
  function ar(n) {
2604
2613
  const e = {};
2605
2614
  let t = -1, r, i, l, o, u, a, s;
2606
- const c = new Cl(n);
2615
+ const c = new Pl(n);
2607
2616
  for (; ++t < c.length; ) {
2608
2617
  for (; t in e; )
2609
2618
  t = e[t];
@@ -2611,7 +2620,7 @@ function ar(n) {
2611
2620
  for (; ++l < a.length && a[l][1].type !== "content"; )
2612
2621
  a[l][1].type === "chunkText" && (a[l][1]._isInFirstContentOfListItem = !0, l++);
2613
2622
  if (r[0] === "enter")
2614
- r[1].contentType && (Object.assign(e, El(c, t)), t = e[t], s = !0);
2623
+ r[1].contentType && (Object.assign(e, Al(c, t)), t = e[t], s = !0);
2615
2624
  else if (r[1]._container) {
2616
2625
  for (l = t, i = void 0; l--; )
2617
2626
  if (o = c.get(l), o[1].type === "lineEnding" || o[1].type === "lineEndingBlank")
@@ -2624,7 +2633,7 @@ function ar(n) {
2624
2633
  }
2625
2634
  return pn(n, 0, Number.POSITIVE_INFINITY, c.slice(0)), !s;
2626
2635
  }
2627
- function El(n, e) {
2636
+ function Al(n, e) {
2628
2637
  const t = n.get(e)[1], r = n.get(e)[2];
2629
2638
  let i = e - 1;
2630
2639
  const l = [], o = t._tokenizer || r.parser[t.contentType](t.start), u = o.events, a = [], s = {};
@@ -2646,17 +2655,17 @@ function El(n, e) {
2646
2655
  s[y + a[d][0]] = y + a[d][1], y += a[d][1] - a[d][0] - 1;
2647
2656
  return s;
2648
2657
  }
2649
- const Il = {
2650
- resolve: Pl,
2651
- tokenize: Al
2652
- }, Tl = {
2658
+ const zl = {
2659
+ resolve: vl,
2660
+ tokenize: Nl
2661
+ }, Ll = {
2653
2662
  partial: !0,
2654
- tokenize: zl
2663
+ tokenize: Dl
2655
2664
  };
2656
- function Pl(n) {
2665
+ function vl(n) {
2657
2666
  return ar(n), n;
2658
2667
  }
2659
- function Al(n, e) {
2668
+ function Nl(n, e) {
2660
2669
  let t;
2661
2670
  return r;
2662
2671
  function r(u) {
@@ -2665,7 +2674,7 @@ function Al(n, e) {
2665
2674
  }), i(u);
2666
2675
  }
2667
2676
  function i(u) {
2668
- return u === null ? l(u) : L(u) ? n.check(Tl, o, l)(u) : (n.consume(u), i);
2677
+ return u === null ? l(u) : L(u) ? n.check(Ll, o, l)(u) : (n.consume(u), i);
2669
2678
  }
2670
2679
  function l(u) {
2671
2680
  return n.exit("chunkContent"), n.exit("content"), e(u);
@@ -2677,7 +2686,7 @@ function Al(n, e) {
2677
2686
  }), t = t.next, i;
2678
2687
  }
2679
2688
  }
2680
- function zl(n, e, t) {
2689
+ function Dl(n, e, t) {
2681
2690
  const r = this;
2682
2691
  return i;
2683
2692
  function i(o) {
@@ -2697,10 +2706,10 @@ function ft(n) {
2697
2706
  n !== null && (n < 32 || n === 127)
2698
2707
  );
2699
2708
  }
2700
- function Ll(n) {
2709
+ function Ol(n) {
2701
2710
  return n !== null && n < -2;
2702
2711
  }
2703
- function vl(n) {
2712
+ function Fl(n) {
2704
2713
  return n !== null && (n < 0 || n === 32);
2705
2714
  }
2706
2715
  function sr(n, e, t, r, i, l, o, u, a) {
@@ -2718,13 +2727,13 @@ function sr(n, e, t, r, i, l, o, u, a) {
2718
2727
  }), p(w));
2719
2728
  }
2720
2729
  function p(w) {
2721
- return w === 62 ? (n.exit("chunkString"), n.exit(u), d(w)) : w === null || w === 60 || Ll(w) ? t(w) : (n.consume(w), w === 92 ? y : p);
2730
+ return w === 62 ? (n.exit("chunkString"), n.exit(u), d(w)) : w === null || w === 60 || Ol(w) ? t(w) : (n.consume(w), w === 92 ? y : p);
2722
2731
  }
2723
2732
  function y(w) {
2724
2733
  return w === 60 || w === 62 || w === 92 ? (n.consume(w), p) : p(w);
2725
2734
  }
2726
2735
  function b(w) {
2727
- return !c && (w === null || w === 41 || vl(w)) ? (n.exit("chunkString"), n.exit(u), n.exit(o), n.exit(r), e(w)) : c < s && w === 40 ? (n.consume(w), c++, b) : w === 41 ? (n.consume(w), c--, b) : w === null || w === 32 || w === 40 || ft(w) ? t(w) : (n.consume(w), w === 92 ? I : b);
2736
+ return !c && (w === null || w === 41 || Fl(w)) ? (n.exit("chunkString"), n.exit(u), n.exit(o), n.exit(r), e(w)) : c < s && w === 40 ? (n.consume(w), c++, b) : w === 41 ? (n.consume(w), c--, b) : w === null || w === 32 || w === 40 || ft(w) ? t(w) : (n.consume(w), w === 92 ? I : b);
2728
2737
  }
2729
2738
  function I(w) {
2730
2739
  return w === 40 || w === 41 || w === 92 ? (n.consume(w), b) : b(w);
@@ -2733,7 +2742,7 @@ function sr(n, e, t, r, i, l, o, u, a) {
2733
2742
  function ht(n) {
2734
2743
  return n !== null && n < -2;
2735
2744
  }
2736
- function Nl(n) {
2745
+ function Rl(n) {
2737
2746
  return n === -2 || n === -1 || n === 32;
2738
2747
  }
2739
2748
  function cr(n, e, t, r, i, l) {
@@ -2754,7 +2763,7 @@ function cr(n, e, t, r, i, l) {
2754
2763
  }), f(p));
2755
2764
  }
2756
2765
  function f(p) {
2757
- return p === null || p === 91 || p === 93 || ht(p) || u++ > 999 ? (n.exit("chunkString"), c(p)) : (n.consume(p), a || (a = !Nl(p)), p === 92 ? d : f);
2766
+ return p === null || p === 91 || p === 93 || ht(p) || u++ > 999 ? (n.exit("chunkString"), c(p)) : (n.consume(p), a || (a = !Rl(p)), p === 92 ? d : f);
2758
2767
  }
2759
2768
  function d(p) {
2760
2769
  return p === 91 || p === 92 || p === 93 ? (n.consume(p), u++, f) : f(p);
@@ -2766,7 +2775,7 @@ function mt(n) {
2766
2775
  function dt(n) {
2767
2776
  return n === -2 || n === -1 || n === 32;
2768
2777
  }
2769
- function Dl(n, e, t, r) {
2778
+ function _l(n, e, t, r) {
2770
2779
  const i = Number.POSITIVE_INFINITY;
2771
2780
  let l = 0;
2772
2781
  return o;
@@ -2787,7 +2796,7 @@ function pr(n, e, t, r, i, l) {
2787
2796
  return d === o ? (n.enter(i), n.consume(d), n.exit(i), n.exit(r), e) : (n.enter(l), s(d));
2788
2797
  }
2789
2798
  function s(d) {
2790
- return d === o ? (n.exit(l), a(o)) : d === null ? t(d) : mt(d) ? (n.enter("lineEnding"), n.consume(d), n.exit("lineEnding"), Dl(n, s, "linePrefix")) : (n.enter("chunkString", {
2799
+ return d === o ? (n.exit(l), a(o)) : d === null ? t(d) : mt(d) ? (n.enter("lineEnding"), n.consume(d), n.exit("lineEnding"), _l(n, s, "linePrefix")) : (n.enter("chunkString", {
2791
2800
  contentType: "string"
2792
2801
  }), c(d));
2793
2802
  }
@@ -2798,13 +2807,13 @@ function pr(n, e, t, r, i, l) {
2798
2807
  return d === o || d === 92 ? (n.consume(d), c) : c(d);
2799
2808
  }
2800
2809
  }
2801
- function Ol(n) {
2810
+ function Ml(n) {
2802
2811
  return n !== null && n < -2;
2803
2812
  }
2804
2813
  function ke(n) {
2805
2814
  return n === -2 || n === -1 || n === 32;
2806
2815
  }
2807
- function Fl(n, e, t, r) {
2816
+ function Bl(n, e, t, r) {
2808
2817
  const i = Number.POSITIVE_INFINITY;
2809
2818
  let l = 0;
2810
2819
  return o;
@@ -2819,17 +2828,17 @@ function _n(n, e) {
2819
2828
  let t;
2820
2829
  return r;
2821
2830
  function r(i) {
2822
- return Ol(i) ? (n.enter("lineEnding"), n.consume(i), n.exit("lineEnding"), t = !0, r) : ke(i) ? Fl(n, r, t ? "linePrefix" : "lineSuffix")(i) : e(i);
2831
+ return Ml(i) ? (n.enter("lineEnding"), n.consume(i), n.exit("lineEnding"), t = !0, r) : ke(i) ? Bl(n, r, t ? "linePrefix" : "lineSuffix")(i) : e(i);
2823
2832
  }
2824
2833
  }
2825
- const Rl = {
2834
+ const jl = {
2826
2835
  name: "definition",
2827
- tokenize: Ml
2828
- }, _l = {
2836
+ tokenize: Ul
2837
+ }, Hl = {
2829
2838
  partial: !0,
2830
- tokenize: Bl
2839
+ tokenize: Vl
2831
2840
  };
2832
- function Ml(n, e, t) {
2841
+ function Ul(n, e, t) {
2833
2842
  const r = this;
2834
2843
  let i;
2835
2844
  return l;
@@ -2868,7 +2877,7 @@ function Ml(n, e, t) {
2868
2877
  )(p);
2869
2878
  }
2870
2879
  function c(p) {
2871
- return n.attempt(_l, f, f)(p);
2880
+ return n.attempt(Hl, f, f)(p);
2872
2881
  }
2873
2882
  function f(p) {
2874
2883
  return R(p) ? U(n, d, "whitespace")(p) : d(p);
@@ -2877,7 +2886,7 @@ function Ml(n, e, t) {
2877
2886
  return p === null || L(p) ? (n.exit("definition"), r.parser.defined.push(i), e(p)) : t(p);
2878
2887
  }
2879
2888
  }
2880
- function Bl(n, e, t) {
2889
+ function Vl(n, e, t) {
2881
2890
  return r;
2882
2891
  function r(u) {
2883
2892
  return en(u) ? _n(n, i)(u) : t(u);
@@ -2892,11 +2901,11 @@ function Bl(n, e, t) {
2892
2901
  return u === null || L(u) ? e(u) : t(u);
2893
2902
  }
2894
2903
  }
2895
- const jl = {
2904
+ const ql = {
2896
2905
  name: "hardBreakEscape",
2897
- tokenize: Hl
2906
+ tokenize: $l
2898
2907
  };
2899
- function Hl(n, e, t) {
2908
+ function $l(n, e, t) {
2900
2909
  return r;
2901
2910
  function r(l) {
2902
2911
  return n.enter("hardBreakEscape"), n.consume(l), i;
@@ -2905,12 +2914,12 @@ function Hl(n, e, t) {
2905
2914
  return L(l) ? (n.exit("hardBreakEscape"), e(l)) : t(l);
2906
2915
  }
2907
2916
  }
2908
- const Ul = {
2917
+ const Wl = {
2909
2918
  name: "headingAtx",
2910
- resolve: Vl,
2911
- tokenize: ql
2919
+ resolve: Yl,
2920
+ tokenize: Ql
2912
2921
  };
2913
- function Vl(n, e) {
2922
+ function Yl(n, e) {
2914
2923
  let t = n.length - 2, r = 3, i, l;
2915
2924
  return n[r][1].type === "whitespace" && (r += 2), t - 2 > r && n[t][1].type === "whitespace" && (t -= 2), n[t][1].type === "atxHeadingSequence" && (r === t - 1 || t - 4 > r && n[t - 2][1].type === "whitespace") && (t -= r + 1 === t ? 2 : 4), t > r && (i = {
2916
2925
  type: "atxHeadingText",
@@ -2923,7 +2932,7 @@ function Vl(n, e) {
2923
2932
  contentType: "text"
2924
2933
  }, pn(n, r, t - r + 1, [["enter", i, e], ["enter", l, e], ["exit", l, e], ["exit", i, e]])), n;
2925
2934
  }
2926
- function ql(n, e, t) {
2935
+ function Ql(n, e, t) {
2927
2936
  let r = 0;
2928
2937
  return i;
2929
2938
  function i(c) {
@@ -2945,7 +2954,7 @@ function ql(n, e, t) {
2945
2954
  return c === null || c === 35 || en(c) ? (n.exit("atxHeadingText"), u(c)) : (n.consume(c), s);
2946
2955
  }
2947
2956
  }
2948
- const $l = [
2957
+ const Xl = [
2949
2958
  "address",
2950
2959
  "article",
2951
2960
  "aside",
@@ -3008,25 +3017,25 @@ const $l = [
3008
3017
  "tr",
3009
3018
  "track",
3010
3019
  "ul"
3011
- ], gt = ["pre", "script", "style", "textarea"], Wl = {
3020
+ ], gt = ["pre", "script", "style", "textarea"], Kl = {
3012
3021
  concrete: !0,
3013
3022
  name: "htmlFlow",
3014
- resolveTo: Xl,
3015
- tokenize: Kl
3016
- }, Yl = {
3023
+ resolveTo: Zl,
3024
+ tokenize: no
3025
+ }, Jl = {
3017
3026
  partial: !0,
3018
- tokenize: Gl
3019
- }, Ql = {
3027
+ tokenize: to
3028
+ }, Gl = {
3020
3029
  partial: !0,
3021
- tokenize: Jl
3030
+ tokenize: eo
3022
3031
  };
3023
- function Xl(n) {
3032
+ function Zl(n) {
3024
3033
  let e = n.length;
3025
3034
  for (; e-- && !(n[e][0] === "enter" && n[e][1].type === "htmlFlow"); )
3026
3035
  ;
3027
3036
  return e > 1 && n[e - 2][1].type === "linePrefix" && (n[e][1].start = n[e - 2][1].start, n[e + 1][1].start = n[e - 2][1].start, n.splice(e - 2, 2)), n;
3028
3037
  }
3029
- function Kl(n, e, t) {
3038
+ function no(n, e, t) {
3030
3039
  const r = this;
3031
3040
  let i, l, o, u, a;
3032
3041
  return s;
@@ -3055,7 +3064,7 @@ function Kl(n, e, t) {
3055
3064
  function I(m) {
3056
3065
  if (m === null || m === 47 || m === 62 || en(m)) {
3057
3066
  const on = m === 47, xn = o.toLowerCase();
3058
- return !on && !l && gt.includes(xn) ? (i = 1, r.interrupt ? e(m) : T(m)) : $l.includes(o.toLowerCase()) ? (i = 6, on ? (n.consume(m), w) : r.interrupt ? e(m) : T(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? E(m) : C(m));
3067
+ return !on && !l && gt.includes(xn) ? (i = 1, r.interrupt ? e(m) : T(m)) : Xl.includes(o.toLowerCase()) ? (i = 6, on ? (n.consume(m), w) : r.interrupt ? e(m) : T(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? E(m) : C(m));
3059
3068
  }
3060
3069
  return m === 45 || an(m) ? (n.consume(m), o += String.fromCharCode(m), I) : t(m);
3061
3070
  }
@@ -3093,10 +3102,10 @@ function Kl(n, e, t) {
3093
3102
  return m === null || L(m) ? T(m) : R(m) ? (n.consume(m), P) : t(m);
3094
3103
  }
3095
3104
  function T(m) {
3096
- return m === 45 && i === 2 ? (n.consume(m), X) : m === 60 && i === 1 ? (n.consume(m), W) : m === 62 && i === 4 ? (n.consume(m), ln) : m === 63 && i === 3 ? (n.consume(m), h) : m === 93 && i === 5 ? (n.consume(m), fn) : L(m) && (i === 6 || i === 7) ? (n.exit("htmlFlowData"), n.check(Yl, hn, H)(m)) : m === null || L(m) ? (n.exit("htmlFlowData"), H(m)) : (n.consume(m), T);
3105
+ return m === 45 && i === 2 ? (n.consume(m), X) : m === 60 && i === 1 ? (n.consume(m), W) : m === 62 && i === 4 ? (n.consume(m), ln) : m === 63 && i === 3 ? (n.consume(m), h) : m === 93 && i === 5 ? (n.consume(m), fn) : L(m) && (i === 6 || i === 7) ? (n.exit("htmlFlowData"), n.check(Jl, hn, H)(m)) : m === null || L(m) ? (n.exit("htmlFlowData"), H(m)) : (n.consume(m), T);
3097
3106
  }
3098
3107
  function H(m) {
3099
- return n.check(Ql, q, hn)(m);
3108
+ return n.check(Gl, q, hn)(m);
3100
3109
  }
3101
3110
  function q(m) {
3102
3111
  return n.enter("lineEnding"), n.consume(m), n.exit("lineEnding"), D;
@@ -3130,7 +3139,7 @@ function Kl(n, e, t) {
3130
3139
  return n.exit("htmlFlow"), e(m);
3131
3140
  }
3132
3141
  }
3133
- function Jl(n, e, t) {
3142
+ function eo(n, e, t) {
3134
3143
  const r = this;
3135
3144
  return i;
3136
3145
  function i(o) {
@@ -3140,17 +3149,17 @@ function Jl(n, e, t) {
3140
3149
  return r.parser.lazy[r.now().line] ? t(o) : e(o);
3141
3150
  }
3142
3151
  }
3143
- function Gl(n, e, t) {
3152
+ function to(n, e, t) {
3144
3153
  return r;
3145
3154
  function r(i) {
3146
- return n.enter("lineEnding"), n.consume(i), n.exit("lineEnding"), n.attempt(Jn, e, t);
3155
+ return n.enter("lineEnding"), n.consume(i), n.exit("lineEnding"), n.attempt(Gn, e, t);
3147
3156
  }
3148
3157
  }
3149
- const Zl = {
3158
+ const ro = {
3150
3159
  name: "htmlText",
3151
- tokenize: no
3160
+ tokenize: io
3152
3161
  };
3153
- function no(n, e, t) {
3162
+ function io(n, e, t) {
3154
3163
  const r = this;
3155
3164
  let i, l, o;
3156
3165
  return u;
@@ -3245,17 +3254,17 @@ function no(n, e, t) {
3245
3254
  }
3246
3255
  const De = {
3247
3256
  name: "labelEnd",
3248
- resolveAll: io,
3249
- resolveTo: lo,
3250
- tokenize: oo
3251
- }, eo = {
3252
- tokenize: uo
3253
- }, to = {
3254
- tokenize: ao
3255
- }, ro = {
3256
- tokenize: so
3257
+ resolveAll: ao,
3258
+ resolveTo: so,
3259
+ tokenize: co
3260
+ }, lo = {
3261
+ tokenize: po
3262
+ }, oo = {
3263
+ tokenize: fo
3264
+ }, uo = {
3265
+ tokenize: ho
3257
3266
  };
3258
- function io(n) {
3267
+ function ao(n) {
3259
3268
  let e = -1;
3260
3269
  const t = [];
3261
3270
  for (; ++e < n.length; ) {
@@ -3267,7 +3276,7 @@ function io(n) {
3267
3276
  }
3268
3277
  return n.length !== t.length && pn(n, 0, n.length, t), n;
3269
3278
  }
3270
- function lo(n, e) {
3279
+ function so(n, e) {
3271
3280
  let t = n.length, r = 0, i, l, o, u;
3272
3281
  for (; t--; )
3273
3282
  if (i = n[t][1], l) {
@@ -3307,7 +3316,7 @@ function lo(n, e) {
3307
3316
  };
3308
3317
  return u = [["enter", a, e], ["enter", s, e]], u = nn(u, n.slice(l + 1, l + r + 3)), u = nn(u, [["enter", c, e]]), u = nn(u, Ne(e.parser.constructs.insideSpan.null, n.slice(l + r + 4, o - 3), e)), u = nn(u, [["exit", c, e], n[o - 2], n[o - 1], ["exit", s, e]]), u = nn(u, n.slice(o + 1)), u = nn(u, [["exit", a, e]]), pn(n, l, n.length, u), n;
3309
3318
  }
3310
- function oo(n, e, t) {
3319
+ function co(n, e, t) {
3311
3320
  const r = this;
3312
3321
  let i = r.events.length, l, o;
3313
3322
  for (; i--; )
@@ -3323,10 +3332,10 @@ function oo(n, e, t) {
3323
3332
  }))), n.enter("labelEnd"), n.enter("labelMarker"), n.consume(d), n.exit("labelMarker"), n.exit("labelEnd"), a) : t(d);
3324
3333
  }
3325
3334
  function a(d) {
3326
- return d === 40 ? n.attempt(eo, c, o ? c : f)(d) : d === 91 ? n.attempt(to, c, o ? s : f)(d) : o ? c(d) : f(d);
3335
+ return d === 40 ? n.attempt(lo, c, o ? c : f)(d) : d === 91 ? n.attempt(oo, c, o ? s : f)(d) : o ? c(d) : f(d);
3327
3336
  }
3328
3337
  function s(d) {
3329
- return n.attempt(ro, c, f)(d);
3338
+ return n.attempt(uo, c, f)(d);
3330
3339
  }
3331
3340
  function c(d) {
3332
3341
  return e(d);
@@ -3335,7 +3344,7 @@ function oo(n, e, t) {
3335
3344
  return l._balanced = !0, t(d);
3336
3345
  }
3337
3346
  }
3338
- function uo(n, e, t) {
3347
+ function po(n, e, t) {
3339
3348
  return r;
3340
3349
  function r(f) {
3341
3350
  return n.enter("resource"), n.enter("resourceMarker"), n.consume(f), n.exit("resourceMarker"), i;
@@ -3362,7 +3371,7 @@ function uo(n, e, t) {
3362
3371
  return f === 41 ? (n.enter("resourceMarker"), n.consume(f), n.exit("resourceMarker"), n.exit("resource"), e) : t(f);
3363
3372
  }
3364
3373
  }
3365
- function ao(n, e, t) {
3374
+ function fo(n, e, t) {
3366
3375
  const r = this;
3367
3376
  return i;
3368
3377
  function i(u) {
@@ -3375,7 +3384,7 @@ function ao(n, e, t) {
3375
3384
  return t(u);
3376
3385
  }
3377
3386
  }
3378
- function so(n, e, t) {
3387
+ function ho(n, e, t) {
3379
3388
  return r;
3380
3389
  function r(l) {
3381
3390
  return n.enter("reference"), n.enter("referenceMarker"), n.consume(l), n.exit("referenceMarker"), i;
@@ -3384,12 +3393,12 @@ function so(n, e, t) {
3384
3393
  return l === 93 ? (n.enter("referenceMarker"), n.consume(l), n.exit("referenceMarker"), n.exit("reference"), e) : t(l);
3385
3394
  }
3386
3395
  }
3387
- const co = {
3396
+ const mo = {
3388
3397
  name: "labelStartImage",
3389
3398
  resolveAll: De.resolveAll,
3390
- tokenize: po
3399
+ tokenize: go
3391
3400
  };
3392
- function po(n, e, t) {
3401
+ function go(n, e, t) {
3393
3402
  const r = this;
3394
3403
  return i;
3395
3404
  function i(u) {
@@ -3402,12 +3411,12 @@ function po(n, e, t) {
3402
3411
  return u === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? t(u) : e(u);
3403
3412
  }
3404
3413
  }
3405
- const fo = {
3414
+ const yo = {
3406
3415
  name: "labelStartLink",
3407
3416
  resolveAll: De.resolveAll,
3408
- tokenize: ho
3417
+ tokenize: xo
3409
3418
  };
3410
- function ho(n, e, t) {
3419
+ function xo(n, e, t) {
3411
3420
  const r = this;
3412
3421
  return i;
3413
3422
  function i(o) {
@@ -3419,19 +3428,19 @@ function ho(n, e, t) {
3419
3428
  }
3420
3429
  const le = {
3421
3430
  name: "lineEnding",
3422
- tokenize: mo
3431
+ tokenize: ko
3423
3432
  };
3424
- function mo(n, e) {
3433
+ function ko(n, e) {
3425
3434
  return t;
3426
3435
  function t(r) {
3427
3436
  return n.enter("lineEnding"), n.consume(r), n.exit("lineEnding"), U(n, e, "linePrefix");
3428
3437
  }
3429
3438
  }
3430
- const Wn = {
3439
+ const Yn = {
3431
3440
  name: "thematicBreak",
3432
- tokenize: go
3441
+ tokenize: bo
3433
3442
  };
3434
- function go(n, e, t) {
3443
+ function bo(n, e, t) {
3435
3444
  let r = 0, i;
3436
3445
  return l;
3437
3446
  function l(s) {
@@ -3449,19 +3458,19 @@ function go(n, e, t) {
3449
3458
  }
3450
3459
  const J = {
3451
3460
  continuation: {
3452
- tokenize: bo
3461
+ tokenize: Eo
3453
3462
  },
3454
- exit: So,
3463
+ exit: To,
3455
3464
  name: "list",
3456
- tokenize: ko
3457
- }, yo = {
3458
- partial: !0,
3459
3465
  tokenize: Co
3460
- }, xo = {
3466
+ }, wo = {
3467
+ partial: !0,
3468
+ tokenize: Po
3469
+ }, So = {
3461
3470
  partial: !0,
3462
- tokenize: wo
3471
+ tokenize: Io
3463
3472
  };
3464
- function ko(n, e, t) {
3473
+ function Co(n, e, t) {
3465
3474
  const r = this, i = r.events[r.events.length - 1];
3466
3475
  let l = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
3467
3476
  return u;
@@ -3471,7 +3480,7 @@ function ko(n, e, t) {
3471
3480
  if (r.containerState.type || (r.containerState.type = y, n.enter(y, {
3472
3481
  _container: !0
3473
3482
  })), y === "listUnordered")
3474
- return n.enter("listItemPrefix"), p === 42 || p === 45 ? n.check(Wn, t, s)(p) : s(p);
3483
+ return n.enter("listItemPrefix"), p === 42 || p === 45 ? n.check(Yn, t, s)(p) : s(p);
3475
3484
  if (!r.interrupt || p === 49)
3476
3485
  return n.enter("listItemPrefix"), n.enter("listItemValue"), a(p);
3477
3486
  }
@@ -3482,10 +3491,10 @@ function ko(n, e, t) {
3482
3491
  }
3483
3492
  function s(p) {
3484
3493
  return n.enter("listItemMarker"), n.consume(p), n.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || p, n.check(
3485
- Jn,
3494
+ Gn,
3486
3495
  // Can’t be empty when interrupting.
3487
3496
  r.interrupt ? t : c,
3488
- n.attempt(yo, d, f)
3497
+ n.attempt(wo, d, f)
3489
3498
  );
3490
3499
  }
3491
3500
  function c(p) {
@@ -3498,20 +3507,20 @@ function ko(n, e, t) {
3498
3507
  return r.containerState.size = l + r.sliceSerialize(n.exit("listItemPrefix"), !0).length, e(p);
3499
3508
  }
3500
3509
  }
3501
- function bo(n, e, t) {
3510
+ function Eo(n, e, t) {
3502
3511
  const r = this;
3503
- return r.containerState._closeFlow = void 0, n.check(Jn, i, l);
3512
+ return r.containerState._closeFlow = void 0, n.check(Gn, i, l);
3504
3513
  function i(u) {
3505
3514
  return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, U(n, e, "listItemIndent", r.containerState.size + 1)(u);
3506
3515
  }
3507
3516
  function l(u) {
3508
- return r.containerState.furtherBlankLines || !R(u) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(u)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, n.attempt(xo, e, o)(u));
3517
+ return r.containerState.furtherBlankLines || !R(u) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(u)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, n.attempt(So, e, o)(u));
3509
3518
  }
3510
3519
  function o(u) {
3511
3520
  return r.containerState._closeFlow = !0, r.interrupt = void 0, U(n, n.attempt(J, e, t), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(u);
3512
3521
  }
3513
3522
  }
3514
- function wo(n, e, t) {
3523
+ function Io(n, e, t) {
3515
3524
  const r = this;
3516
3525
  return U(n, i, "listItemIndent", r.containerState.size + 1);
3517
3526
  function i(l) {
@@ -3519,10 +3528,10 @@ function wo(n, e, t) {
3519
3528
  return o && o[1].type === "listItemIndent" && o[2].sliceSerialize(o[1], !0).length === r.containerState.size ? e(l) : t(l);
3520
3529
  }
3521
3530
  }
3522
- function So(n) {
3531
+ function To(n) {
3523
3532
  n.exit(this.containerState.type);
3524
3533
  }
3525
- function Co(n, e, t) {
3534
+ function Po(n, e, t) {
3526
3535
  const r = this;
3527
3536
  return U(n, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
3528
3537
  function i(l) {
@@ -3532,10 +3541,10 @@ function Co(n, e, t) {
3532
3541
  }
3533
3542
  const yt = {
3534
3543
  name: "setextUnderline",
3535
- resolveTo: Eo,
3536
- tokenize: Io
3544
+ resolveTo: Ao,
3545
+ tokenize: zo
3537
3546
  };
3538
- function Eo(n, e) {
3547
+ function Ao(n, e) {
3539
3548
  let t = n.length, r, i, l;
3540
3549
  for (; t--; )
3541
3550
  if (n[t][0] === "enter") {
@@ -3559,7 +3568,7 @@ function Eo(n, e) {
3559
3568
  ...n[l][1].end
3560
3569
  }) : n[r][1] = o, n.push(["exit", o, e]), n;
3561
3570
  }
3562
- function Io(n, e, t) {
3571
+ function zo(n, e, t) {
3563
3572
  const r = this;
3564
3573
  let i;
3565
3574
  return l;
@@ -3582,16 +3591,16 @@ function Io(n, e, t) {
3582
3591
  return s === null || L(s) ? (n.exit("setextHeadingLine"), e(s)) : t(s);
3583
3592
  }
3584
3593
  }
3585
- const To = {
3586
- tokenize: Po
3594
+ const Lo = {
3595
+ tokenize: vo
3587
3596
  };
3588
- function Po(n) {
3597
+ function vo(n) {
3589
3598
  const e = this, t = n.attempt(
3590
3599
  // Try to parse a blank line.
3591
- Jn,
3600
+ Gn,
3592
3601
  r,
3593
3602
  // Try to parse initial flow (essentially, only code).
3594
- n.attempt(this.parser.constructs.flowInitial, i, ve(n, n.attempt(this.parser.constructs.flow, i, n.attempt(Il, i)), "linePrefix"))
3603
+ n.attempt(this.parser.constructs.flowInitial, i, ve(n, n.attempt(this.parser.constructs.flow, i, n.attempt(zl, i)), "linePrefix"))
3595
3604
  );
3596
3605
  return t;
3597
3606
  function r(l) {
@@ -3609,12 +3618,12 @@ function Po(n) {
3609
3618
  return n.enter("lineEnding"), n.consume(l), n.exit("lineEnding"), e.currentConstruct = void 0, t;
3610
3619
  }
3611
3620
  }
3612
- const Ao = {
3621
+ const No = {
3613
3622
  resolveAll: hr()
3614
- }, zo = fr("string"), Lo = fr("text");
3623
+ }, Do = fr("string"), Oo = fr("text");
3615
3624
  function fr(n) {
3616
3625
  return {
3617
- resolveAll: hr(n === "text" ? vo : void 0),
3626
+ resolveAll: hr(n === "text" ? Fo : void 0),
3618
3627
  tokenize: e
3619
3628
  };
3620
3629
  function e(t) {
@@ -3657,7 +3666,7 @@ function hr(n) {
3657
3666
  return n ? n(t, r) : t;
3658
3667
  }
3659
3668
  }
3660
- function vo(n, e) {
3669
+ function Fo(n, e) {
3661
3670
  let t = 0;
3662
3671
  for (; ++t <= n.length; )
3663
3672
  if ((t === n.length || n[t][1].type === "lineEnding") && n[t - 1][1].type === "data") {
@@ -3699,7 +3708,7 @@ function vo(n, e) {
3699
3708
  }
3700
3709
  return n;
3701
3710
  }
3702
- const No = {
3711
+ const Ro = {
3703
3712
  42: J,
3704
3713
  43: J,
3705
3714
  45: J,
@@ -3714,56 +3723,56 @@ const No = {
3714
3723
  56: J,
3715
3724
  57: J,
3716
3725
  62: lr
3717
- }, Do = {
3718
- 91: Rl
3719
- }, Oo = {
3726
+ }, _o = {
3727
+ 91: jl
3728
+ }, Mo = {
3720
3729
  [-2]: ie,
3721
3730
  [-1]: ie,
3722
3731
  32: ie
3723
- }, Fo = {
3724
- 35: Ul,
3725
- 42: Wn,
3726
- 45: [yt, Wn],
3727
- 60: Wl,
3732
+ }, Bo = {
3733
+ 35: Wl,
3734
+ 42: Yn,
3735
+ 45: [yt, Yn],
3736
+ 60: Kl,
3728
3737
  61: yt,
3729
- 95: Wn,
3738
+ 95: Yn,
3730
3739
  96: pt,
3731
3740
  126: pt
3732
- }, Ro = {
3741
+ }, jo = {
3733
3742
  38: ur,
3734
3743
  92: or
3735
- }, _o = {
3744
+ }, Ho = {
3736
3745
  [-5]: le,
3737
3746
  [-4]: le,
3738
3747
  [-3]: le,
3739
- 33: co,
3748
+ 33: mo,
3740
3749
  38: ur,
3741
3750
  42: ye,
3742
- 60: [ol, Zl],
3743
- 91: fo,
3744
- 92: [jl, or],
3751
+ 60: [cl, ro],
3752
+ 91: yo,
3753
+ 92: [ql, or],
3745
3754
  93: De,
3746
3755
  95: ye,
3747
- 96: kl
3748
- }, Mo = {
3749
- null: [ye, Ao]
3750
- }, Bo = {
3756
+ 96: Cl
3757
+ }, Uo = {
3758
+ null: [ye, No]
3759
+ }, Vo = {
3751
3760
  null: [42, 95]
3752
- }, jo = {
3761
+ }, qo = {
3753
3762
  null: []
3754
- }, Ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3763
+ }, $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3755
3764
  __proto__: null,
3756
- attentionMarkers: Bo,
3757
- contentInitial: Do,
3758
- disable: jo,
3759
- document: No,
3760
- flow: Fo,
3761
- flowInitial: Oo,
3762
- insideSpan: Mo,
3763
- string: Ro,
3764
- text: _o
3765
+ attentionMarkers: Vo,
3766
+ contentInitial: _o,
3767
+ disable: qo,
3768
+ document: Ro,
3769
+ flow: Bo,
3770
+ flowInitial: Mo,
3771
+ insideSpan: Uo,
3772
+ string: jo,
3773
+ text: Ho
3765
3774
  }, Symbol.toStringTag, { value: "Module" }));
3766
- function Uo(n, e, t) {
3775
+ function Wo(n, e, t) {
3767
3776
  let r = {
3768
3777
  _bufferIndex: -1,
3769
3778
  _index: 0,
@@ -3800,10 +3809,10 @@ function Uo(n, e, t) {
3800
3809
  return o = nn(o, P), I(), o[o.length - 1] !== null ? [] : (V(e, 0), s.events = Ne(l, s.events, s), s.events);
3801
3810
  }
3802
3811
  function d(P, T) {
3803
- return qo(p(P), T);
3812
+ return Qo(p(P), T);
3804
3813
  }
3805
3814
  function p(P) {
3806
- return Vo(o, P);
3815
+ return Yo(o, P);
3807
3816
  }
3808
3817
  function y() {
3809
3818
  const {
@@ -3926,7 +3935,7 @@ function Uo(n, e, t) {
3926
3935
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
3927
3936
  }
3928
3937
  }
3929
- function Vo(n, e) {
3938
+ function Yo(n, e) {
3930
3939
  const t = e.start._index, r = e.start._bufferIndex, i = e.end._index, l = e.end._bufferIndex;
3931
3940
  let o;
3932
3941
  if (t === i)
@@ -3940,7 +3949,7 @@ function Vo(n, e) {
3940
3949
  }
3941
3950
  return o;
3942
3951
  }
3943
- function qo(n, e) {
3952
+ function Qo(n, e) {
3944
3953
  let t = -1;
3945
3954
  const r = [];
3946
3955
  let i;
@@ -3980,35 +3989,35 @@ function qo(n, e) {
3980
3989
  }
3981
3990
  return r.join("");
3982
3991
  }
3983
- function $o(n) {
3992
+ function Xo(n) {
3984
3993
  const r = {
3985
3994
  constructs: (
3986
3995
  /** @type {FullNormalizedExtension} */
3987
- Ui([Ho, ...(n || {}).extensions || []])
3996
+ Wi([$o, ...(n || {}).extensions || []])
3988
3997
  ),
3989
- content: i(Wi),
3998
+ content: i(Ki),
3990
3999
  defined: [],
3991
- document: i(Qi),
3992
- flow: i(To),
4000
+ document: i(Gi),
4001
+ flow: i(Lo),
3993
4002
  lazy: {},
3994
- string: i(zo),
3995
- text: i(Lo)
4003
+ string: i(Do),
4004
+ text: i(Oo)
3996
4005
  };
3997
4006
  return r;
3998
4007
  function i(l) {
3999
4008
  return o;
4000
4009
  function o(u) {
4001
- return Uo(r, l, u);
4010
+ return Wo(r, l, u);
4002
4011
  }
4003
4012
  }
4004
4013
  }
4005
- function Wo(n) {
4014
+ function Ko(n) {
4006
4015
  for (; !ar(n); )
4007
4016
  ;
4008
4017
  return n;
4009
4018
  }
4010
4019
  const xt = /[\0\t\n\r]/g;
4011
- function Yo() {
4020
+ function Jo() {
4012
4021
  let n = 1, e = "", t = !0, r;
4013
4022
  return i;
4014
4023
  function i(l, o, u) {
@@ -4043,11 +4052,11 @@ function Yo() {
4043
4052
  return u && (r && a.push(-5), e && a.push(e), a.push(null)), a;
4044
4053
  }
4045
4054
  }
4046
- const Qo = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4047
- function Xo(n) {
4048
- return n.replace(Qo, Ko);
4055
+ const Go = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4056
+ function Zo(n) {
4057
+ return n.replace(Go, nu);
4049
4058
  }
4050
- function Ko(n, e, t) {
4059
+ function nu(n, e, t) {
4051
4060
  if (e)
4052
4061
  return e;
4053
4062
  if (t.charCodeAt(0) === 35) {
@@ -4057,10 +4066,10 @@ function Ko(n, e, t) {
4057
4066
  return ze(t) || n;
4058
4067
  }
4059
4068
  const mr = {}.hasOwnProperty;
4060
- function Jo(n, e, t) {
4061
- return typeof e != "string" && (t = e, e = void 0), Go(t)(Wo($o(t).document().write(Yo()(n, e, !0))));
4069
+ function eu(n, e, t) {
4070
+ return typeof e != "string" && (t = e, e = void 0), tu(t)(Ko(Xo(t).document().write(Jo()(n, e, !0))));
4062
4071
  }
4063
- function Go(n) {
4072
+ function tu(n) {
4064
4073
  const e = {
4065
4074
  transforms: [],
4066
4075
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
@@ -4297,7 +4306,7 @@ function Go(n) {
4297
4306
  A.position.end = yn(g.end);
4298
4307
  }
4299
4308
  function c() {
4300
- return ji(this.stack.pop());
4309
+ return qi(this.stack.pop());
4301
4310
  }
4302
4311
  function f() {
4303
4312
  this.data.expectingFirstListItemValue = !0;
@@ -4413,7 +4422,7 @@ function Go(n) {
4413
4422
  }
4414
4423
  function rn(g) {
4415
4424
  const S = this.sliceSerialize(g), A = this.stack[this.stack.length - 2];
4416
- A.label = Xo(S), A.identifier = Pn(S).toLowerCase();
4425
+ A.label = Zo(S), A.identifier = Pn(S).toLowerCase();
4417
4426
  }
4418
4427
  function fn() {
4419
4428
  const g = this.stack[this.stack.length - 1], S = this.resume(), A = this.stack[this.stack.length - 1];
@@ -4587,10 +4596,10 @@ function dr(n, e) {
4587
4596
  let t = -1;
4588
4597
  for (; ++t < e.length; ) {
4589
4598
  const r = e[t];
4590
- Array.isArray(r) ? dr(n, r) : Zo(n, r);
4599
+ Array.isArray(r) ? dr(n, r) : ru(n, r);
4591
4600
  }
4592
4601
  }
4593
- function Zo(n, e) {
4602
+ function ru(n, e) {
4594
4603
  let t;
4595
4604
  for (t in e)
4596
4605
  if (mr.call(e, t))
@@ -4625,11 +4634,11 @@ function kt(n, e) {
4625
4634
  end: e.end
4626
4635
  }) + ") is still open");
4627
4636
  }
4628
- function nu(n) {
4637
+ function iu(n) {
4629
4638
  const e = this;
4630
4639
  e.parser = t;
4631
4640
  function t(r) {
4632
- return Jo(r, {
4641
+ return eu(r, {
4633
4642
  ...e.data("settings"),
4634
4643
  ...n,
4635
4644
  // Note: these options are not in the readme.
@@ -4640,7 +4649,7 @@ function nu(n) {
4640
4649
  });
4641
4650
  }
4642
4651
  }
4643
- function eu(n, e) {
4652
+ function lu(n, e) {
4644
4653
  const t = {
4645
4654
  type: "element",
4646
4655
  tagName: "blockquote",
@@ -4649,12 +4658,12 @@ function eu(n, e) {
4649
4658
  };
4650
4659
  return n.patch(e, t), n.applyData(e, t);
4651
4660
  }
4652
- function tu(n, e) {
4661
+ function ou(n, e) {
4653
4662
  const t = { type: "element", tagName: "br", properties: {}, children: [] };
4654
4663
  return n.patch(e, t), [n.applyData(e, t), { type: "text", value: `
4655
4664
  ` }];
4656
4665
  }
4657
- function ru(n, e) {
4666
+ function uu(n, e) {
4658
4667
  const t = e.value ? e.value + `
4659
4668
  ` : "", r = {};
4660
4669
  e.lang && (r.className = ["language-" + e.lang]);
@@ -4666,7 +4675,7 @@ function ru(n, e) {
4666
4675
  };
4667
4676
  return e.meta && (i.data = { meta: e.meta }), n.patch(e, i), i = n.applyData(e, i), i = { type: "element", tagName: "pre", properties: {}, children: [i] }, n.patch(e, i), i;
4668
4677
  }
4669
- function iu(n, e) {
4678
+ function au(n, e) {
4670
4679
  const t = {
4671
4680
  type: "element",
4672
4681
  tagName: "del",
@@ -4675,7 +4684,7 @@ function iu(n, e) {
4675
4684
  };
4676
4685
  return n.patch(e, t), n.applyData(e, t);
4677
4686
  }
4678
- function lu(n, e) {
4687
+ function su(n, e) {
4679
4688
  const t = {
4680
4689
  type: "element",
4681
4690
  tagName: "em",
@@ -4684,7 +4693,7 @@ function lu(n, e) {
4684
4693
  };
4685
4694
  return n.patch(e, t), n.applyData(e, t);
4686
4695
  }
4687
- function ou(n, e) {
4696
+ function cu(n, e) {
4688
4697
  const t = typeof n.options.clobberPrefix == "string" ? n.options.clobberPrefix : "user-content-", r = String(e.identifier).toUpperCase(), i = zn(r.toLowerCase()), l = n.footnoteOrder.indexOf(r);
4689
4698
  let o, u = n.footnoteCounts.get(r);
4690
4699
  u === void 0 ? (u = 0, n.footnoteOrder.push(r), o = n.footnoteOrder.length) : o = l + 1, u += 1, n.footnoteCounts.set(r, u);
@@ -4708,7 +4717,7 @@ function ou(n, e) {
4708
4717
  };
4709
4718
  return n.patch(e, s), n.applyData(e, s);
4710
4719
  }
4711
- function uu(n, e) {
4720
+ function pu(n, e) {
4712
4721
  const t = {
4713
4722
  type: "element",
4714
4723
  tagName: "h" + e.depth,
@@ -4717,7 +4726,7 @@ function uu(n, e) {
4717
4726
  };
4718
4727
  return n.patch(e, t), n.applyData(e, t);
4719
4728
  }
4720
- function au(n, e) {
4729
+ function fu(n, e) {
4721
4730
  if (n.options.allowDangerousHtml) {
4722
4731
  const t = { type: "raw", value: e.value };
4723
4732
  return n.patch(e, t), n.applyData(e, t);
@@ -4733,7 +4742,7 @@ function gr(n, e) {
4733
4742
  const o = i[i.length - 1];
4734
4743
  return o && o.type === "text" ? o.value += r : i.push({ type: "text", value: r }), i;
4735
4744
  }
4736
- function su(n, e) {
4745
+ function hu(n, e) {
4737
4746
  const t = String(e.identifier).toUpperCase(), r = n.definitionById.get(t);
4738
4747
  if (!r)
4739
4748
  return gr(n, e);
@@ -4742,13 +4751,13 @@ function su(n, e) {
4742
4751
  const l = { type: "element", tagName: "img", properties: i, children: [] };
4743
4752
  return n.patch(e, l), n.applyData(e, l);
4744
4753
  }
4745
- function cu(n, e) {
4754
+ function mu(n, e) {
4746
4755
  const t = { src: zn(e.url) };
4747
4756
  e.alt !== null && e.alt !== void 0 && (t.alt = e.alt), e.title !== null && e.title !== void 0 && (t.title = e.title);
4748
4757
  const r = { type: "element", tagName: "img", properties: t, children: [] };
4749
4758
  return n.patch(e, r), n.applyData(e, r);
4750
4759
  }
4751
- function pu(n, e) {
4760
+ function du(n, e) {
4752
4761
  const t = { type: "text", value: e.value.replace(/\r?\n|\r/g, " ") };
4753
4762
  n.patch(e, t);
4754
4763
  const r = {
@@ -4759,7 +4768,7 @@ function pu(n, e) {
4759
4768
  };
4760
4769
  return n.patch(e, r), n.applyData(e, r);
4761
4770
  }
4762
- function fu(n, e) {
4771
+ function gu(n, e) {
4763
4772
  const t = String(e.identifier).toUpperCase(), r = n.definitionById.get(t);
4764
4773
  if (!r)
4765
4774
  return gr(n, e);
@@ -4773,7 +4782,7 @@ function fu(n, e) {
4773
4782
  };
4774
4783
  return n.patch(e, l), n.applyData(e, l);
4775
4784
  }
4776
- function hu(n, e) {
4785
+ function yu(n, e) {
4777
4786
  const t = { href: zn(e.url) };
4778
4787
  e.title !== null && e.title !== void 0 && (t.title = e.title);
4779
4788
  const r = {
@@ -4784,8 +4793,8 @@ function hu(n, e) {
4784
4793
  };
4785
4794
  return n.patch(e, r), n.applyData(e, r);
4786
4795
  }
4787
- function mu(n, e, t) {
4788
- const r = n.all(e), i = t ? du(t) : yr(e), l = {}, o = [];
4796
+ function xu(n, e, t) {
4797
+ const r = n.all(e), i = t ? ku(t) : yr(e), l = {}, o = [];
4789
4798
  if (typeof e.checked == "boolean") {
4790
4799
  const c = r[0];
4791
4800
  let f;
@@ -4808,7 +4817,7 @@ function mu(n, e, t) {
4808
4817
  const s = { type: "element", tagName: "li", properties: l, children: o };
4809
4818
  return n.patch(e, s), n.applyData(e, s);
4810
4819
  }
4811
- function du(n) {
4820
+ function ku(n) {
4812
4821
  let e = !1;
4813
4822
  if (n.type === "list") {
4814
4823
  e = n.spread || !1;
@@ -4823,7 +4832,7 @@ function yr(n) {
4823
4832
  const e = n.spread;
4824
4833
  return e ?? n.children.length > 1;
4825
4834
  }
4826
- function gu(n, e) {
4835
+ function bu(n, e) {
4827
4836
  const t = {}, r = n.all(e);
4828
4837
  let i = -1;
4829
4838
  for (typeof e.start == "number" && e.start !== 1 && (t.start = e.start); ++i < r.length; ) {
@@ -4841,7 +4850,7 @@ function gu(n, e) {
4841
4850
  };
4842
4851
  return n.patch(e, l), n.applyData(e, l);
4843
4852
  }
4844
- function yu(n, e) {
4853
+ function wu(n, e) {
4845
4854
  const t = {
4846
4855
  type: "element",
4847
4856
  tagName: "p",
@@ -4850,11 +4859,11 @@ function yu(n, e) {
4850
4859
  };
4851
4860
  return n.patch(e, t), n.applyData(e, t);
4852
4861
  }
4853
- function xu(n, e) {
4862
+ function Su(n, e) {
4854
4863
  const t = { type: "root", children: n.wrap(n.all(e)) };
4855
4864
  return n.patch(e, t), n.applyData(e, t);
4856
4865
  }
4857
- function ku(n, e) {
4866
+ function Cu(n, e) {
4858
4867
  const t = {
4859
4868
  type: "element",
4860
4869
  tagName: "strong",
@@ -4863,7 +4872,7 @@ function ku(n, e) {
4863
4872
  };
4864
4873
  return n.patch(e, t), n.applyData(e, t);
4865
4874
  }
4866
- function bu(n, e) {
4875
+ function Eu(n, e) {
4867
4876
  const t = n.all(e), r = t.shift(), i = [];
4868
4877
  if (r) {
4869
4878
  const o = {
@@ -4891,7 +4900,7 @@ function bu(n, e) {
4891
4900
  };
4892
4901
  return n.patch(e, l), n.applyData(e, l);
4893
4902
  }
4894
- function wu(n, e, t) {
4903
+ function Iu(n, e, t) {
4895
4904
  const r = t ? t.children : void 0, l = (r ? r.indexOf(e) : 1) === 0 ? "th" : "td", o = t && t.type === "table" ? t.align : void 0, u = o ? o.length : e.children.length;
4896
4905
  let a = -1;
4897
4906
  const s = [];
@@ -4909,7 +4918,7 @@ function wu(n, e, t) {
4909
4918
  };
4910
4919
  return n.patch(e, c), n.applyData(e, c);
4911
4920
  }
4912
- function Su(n, e) {
4921
+ function Tu(n, e) {
4913
4922
  const t = {
4914
4923
  type: "element",
4915
4924
  tagName: "td",
@@ -4920,7 +4929,7 @@ function Su(n, e) {
4920
4929
  return n.patch(e, t), n.applyData(e, t);
4921
4930
  }
4922
4931
  const bt = 9, wt = 32;
4923
- function Cu(n) {
4932
+ function Pu(n) {
4924
4933
  const e = String(n), t = /\r?\n|\r/g;
4925
4934
  let r = t.exec(e), i = 0;
4926
4935
  const l = [];
@@ -4945,11 +4954,11 @@ function St(n, e, t) {
4945
4954
  }
4946
4955
  return i > r ? n.slice(r, i) : "";
4947
4956
  }
4948
- function Eu(n, e) {
4949
- const t = { type: "text", value: Cu(String(e.value)) };
4957
+ function Au(n, e) {
4958
+ const t = { type: "text", value: Pu(String(e.value)) };
4950
4959
  return n.patch(e, t), n.applyData(e, t);
4951
4960
  }
4952
- function Iu(n, e) {
4961
+ function zu(n, e) {
4953
4962
  const t = {
4954
4963
  type: "element",
4955
4964
  tagName: "hr",
@@ -4958,31 +4967,31 @@ function Iu(n, e) {
4958
4967
  };
4959
4968
  return n.patch(e, t), n.applyData(e, t);
4960
4969
  }
4961
- const Tu = {
4962
- blockquote: eu,
4963
- break: tu,
4964
- code: ru,
4965
- delete: iu,
4966
- emphasis: lu,
4967
- footnoteReference: ou,
4968
- heading: uu,
4969
- html: au,
4970
- imageReference: su,
4971
- image: cu,
4972
- inlineCode: pu,
4973
- linkReference: fu,
4974
- link: hu,
4975
- listItem: mu,
4976
- list: gu,
4977
- paragraph: yu,
4970
+ const Lu = {
4971
+ blockquote: lu,
4972
+ break: ou,
4973
+ code: uu,
4974
+ delete: au,
4975
+ emphasis: su,
4976
+ footnoteReference: cu,
4977
+ heading: pu,
4978
+ html: fu,
4979
+ imageReference: hu,
4980
+ image: mu,
4981
+ inlineCode: du,
4982
+ linkReference: gu,
4983
+ link: yu,
4984
+ listItem: xu,
4985
+ list: bu,
4986
+ paragraph: wu,
4978
4987
  // @ts-expect-error: root is different, but hard to type.
4979
- root: xu,
4980
- strong: ku,
4981
- table: bu,
4982
- tableCell: Su,
4983
- tableRow: wu,
4984
- text: Eu,
4985
- thematicBreak: Iu,
4988
+ root: Su,
4989
+ strong: Cu,
4990
+ table: Eu,
4991
+ tableCell: Tu,
4992
+ tableRow: Iu,
4993
+ text: Au,
4994
+ thematicBreak: zu,
4986
4995
  toml: Un,
4987
4996
  yaml: Un,
4988
4997
  definition: Un,
@@ -4990,22 +4999,22 @@ const Tu = {
4990
4999
  };
4991
5000
  function Un() {
4992
5001
  }
4993
- const xr = -1, Gn = 0, Qn = 1, Xn = 2, Oe = 3, Fe = 4, Re = 5, _e = 6, kr = 7, br = 8, Ct = typeof self == "object" ? self : globalThis, Pu = (n, e) => {
5002
+ const xr = -1, Zn = 0, Xn = 1, Kn = 2, Oe = 3, Fe = 4, Re = 5, _e = 6, kr = 7, br = 8, Ct = typeof self == "object" ? self : globalThis, vu = (n, e) => {
4994
5003
  const t = (i, l) => (n.set(l, i), i), r = (i) => {
4995
5004
  if (n.has(i))
4996
5005
  return n.get(i);
4997
5006
  const [l, o] = e[i];
4998
5007
  switch (l) {
4999
- case Gn:
5008
+ case Zn:
5000
5009
  case xr:
5001
5010
  return t(o, i);
5002
- case Qn: {
5011
+ case Xn: {
5003
5012
  const u = t([], i);
5004
5013
  for (const a of o)
5005
5014
  u.push(r(a));
5006
5015
  return u;
5007
5016
  }
5008
- case Xn: {
5017
+ case Kn: {
5009
5018
  const u = t({}, i);
5010
5019
  for (const [a, s] of o)
5011
5020
  u[r(a)] = r(s);
@@ -5041,16 +5050,16 @@ const xr = -1, Gn = 0, Qn = 1, Xn = 2, Oe = 3, Fe = 4, Re = 5, _e = 6, kr = 7, b
5041
5050
  return t(new Ct[l](o), i);
5042
5051
  };
5043
5052
  return r;
5044
- }, Et = (n) => Pu(/* @__PURE__ */ new Map(), n)(0), In = "", { toString: Au } = {}, { keys: zu } = Object, Fn = (n) => {
5053
+ }, Et = (n) => vu(/* @__PURE__ */ new Map(), n)(0), In = "", { toString: Nu } = {}, { keys: Du } = Object, Fn = (n) => {
5045
5054
  const e = typeof n;
5046
5055
  if (e !== "object" || !n)
5047
- return [Gn, e];
5048
- const t = Au.call(n).slice(8, -1);
5056
+ return [Zn, e];
5057
+ const t = Nu.call(n).slice(8, -1);
5049
5058
  switch (t) {
5050
5059
  case "Array":
5051
- return [Qn, In];
5052
- case "Object":
5053
5060
  return [Xn, In];
5061
+ case "Object":
5062
+ return [Kn, In];
5054
5063
  case "Date":
5055
5064
  return [Oe, In];
5056
5065
  case "RegExp":
@@ -5060,8 +5069,8 @@ const xr = -1, Gn = 0, Qn = 1, Xn = 2, Oe = 3, Fe = 4, Re = 5, _e = 6, kr = 7, b
5060
5069
  case "Set":
5061
5070
  return [_e, In];
5062
5071
  }
5063
- return t.includes("Array") ? [Qn, t] : t.includes("Error") ? [kr, t] : [Xn, t];
5064
- }, Vn = ([n, e]) => n === Gn && (e === "function" || e === "symbol"), Lu = (n, e, t, r) => {
5072
+ return t.includes("Array") ? [Xn, t] : t.includes("Error") ? [kr, t] : [Kn, t];
5073
+ }, Vn = ([n, e]) => n === Zn && (e === "function" || e === "symbol"), Ou = (n, e, t, r) => {
5065
5074
  const i = (o, u) => {
5066
5075
  const a = r.push(o) - 1;
5067
5076
  return t.set(u, a), a;
@@ -5070,7 +5079,7 @@ const xr = -1, Gn = 0, Qn = 1, Xn = 2, Oe = 3, Fe = 4, Re = 5, _e = 6, kr = 7, b
5070
5079
  return t.get(o);
5071
5080
  let [u, a] = Fn(o);
5072
5081
  switch (u) {
5073
- case Gn: {
5082
+ case Zn: {
5074
5083
  let c = o;
5075
5084
  switch (a) {
5076
5085
  case "bigint":
@@ -5087,7 +5096,7 @@ const xr = -1, Gn = 0, Qn = 1, Xn = 2, Oe = 3, Fe = 4, Re = 5, _e = 6, kr = 7, b
5087
5096
  }
5088
5097
  return i([u, c], o);
5089
5098
  }
5090
- case Qn: {
5099
+ case Xn: {
5091
5100
  if (a)
5092
5101
  return i([a, [...o]], o);
5093
5102
  const c = [], f = i([u, c], o);
@@ -5095,7 +5104,7 @@ const xr = -1, Gn = 0, Qn = 1, Xn = 2, Oe = 3, Fe = 4, Re = 5, _e = 6, kr = 7, b
5095
5104
  c.push(l(d));
5096
5105
  return f;
5097
5106
  }
5098
- case Xn: {
5107
+ case Kn: {
5099
5108
  if (a)
5100
5109
  switch (a) {
5101
5110
  case "BigInt":
@@ -5108,7 +5117,7 @@ const xr = -1, Gn = 0, Qn = 1, Xn = 2, Oe = 3, Fe = 4, Re = 5, _e = 6, kr = 7, b
5108
5117
  if (e && "toJSON" in o)
5109
5118
  return l(o.toJSON());
5110
5119
  const c = [], f = i([u, c], o);
5111
- for (const d of zu(o))
5120
+ for (const d of Du(o))
5112
5121
  (n || !Vn(Fn(o[d]))) && c.push([l(d), l(o[d])]);
5113
5122
  return f;
5114
5123
  }
@@ -5137,12 +5146,12 @@ const xr = -1, Gn = 0, Qn = 1, Xn = 2, Oe = 3, Fe = 4, Re = 5, _e = 6, kr = 7, b
5137
5146
  return l;
5138
5147
  }, It = (n, { json: e, lossy: t } = {}) => {
5139
5148
  const r = [];
5140
- return Lu(!(e || t), !!e, /* @__PURE__ */ new Map(), r)(n), r;
5141
- }, Kn = typeof structuredClone == "function" ? (
5149
+ return Ou(!(e || t), !!e, /* @__PURE__ */ new Map(), r)(n), r;
5150
+ }, Jn = typeof structuredClone == "function" ? (
5142
5151
  /* c8 ignore start */
5143
5152
  (n, e) => e && ("json" in e || "lossy" in e) ? Et(It(n, e)) : structuredClone(n)
5144
5153
  ) : (n, e) => Et(It(n, e));
5145
- function vu(n, e) {
5154
+ function Fu(n, e) {
5146
5155
  const t = [{ type: "text", value: "↩" }];
5147
5156
  return e > 1 && t.push({
5148
5157
  type: "element",
@@ -5151,11 +5160,11 @@ function vu(n, e) {
5151
5160
  children: [{ type: "text", value: String(e) }]
5152
5161
  }), t;
5153
5162
  }
5154
- function Nu(n, e) {
5163
+ function Ru(n, e) {
5155
5164
  return "Back to reference " + (n + 1) + (e > 1 ? "-" + e : "");
5156
5165
  }
5157
- function Du(n) {
5158
- const e = typeof n.options.clobberPrefix == "string" ? n.options.clobberPrefix : "user-content-", t = n.options.footnoteBackContent || vu, r = n.options.footnoteBackLabel || Nu, i = n.options.footnoteLabel || "Footnotes", l = n.options.footnoteLabelTagName || "h2", o = n.options.footnoteLabelProperties || {
5166
+ function _u(n) {
5167
+ const e = typeof n.options.clobberPrefix == "string" ? n.options.clobberPrefix : "user-content-", t = n.options.footnoteBackContent || Fu, r = n.options.footnoteBackLabel || Ru, i = n.options.footnoteLabel || "Footnotes", l = n.options.footnoteLabelTagName || "h2", o = n.options.footnoteLabelProperties || {
5159
5168
  className: ["sr-only"]
5160
5169
  }, u = [];
5161
5170
  let a = -1;
@@ -5207,7 +5216,7 @@ function Du(n) {
5207
5216
  type: "element",
5208
5217
  tagName: l,
5209
5218
  properties: {
5210
- ...Kn(o),
5219
+ ...Jn(o),
5211
5220
  id: "footnote-label"
5212
5221
  },
5213
5222
  children: [{ type: "text", value: i }]
@@ -5242,22 +5251,22 @@ const wr = (
5242
5251
  */
5243
5252
  function(n) {
5244
5253
  if (n == null)
5245
- return _u;
5254
+ return Hu;
5246
5255
  if (typeof n == "function")
5247
- return Zn(n);
5256
+ return ne(n);
5248
5257
  if (typeof n == "object")
5249
- return Array.isArray(n) ? Ou(n) : Fu(n);
5258
+ return Array.isArray(n) ? Mu(n) : Bu(n);
5250
5259
  if (typeof n == "string")
5251
- return Ru(n);
5260
+ return ju(n);
5252
5261
  throw new Error("Expected function, string, or object as test");
5253
5262
  }
5254
5263
  );
5255
- function Ou(n) {
5264
+ function Mu(n) {
5256
5265
  const e = [];
5257
5266
  let t = -1;
5258
5267
  for (; ++t < n.length; )
5259
5268
  e[t] = wr(n[t]);
5260
- return Zn(r);
5269
+ return ne(r);
5261
5270
  function r(...i) {
5262
5271
  let l = -1;
5263
5272
  for (; ++l < e.length; )
@@ -5265,12 +5274,12 @@ function Ou(n) {
5265
5274
  return !1;
5266
5275
  }
5267
5276
  }
5268
- function Fu(n) {
5277
+ function Bu(n) {
5269
5278
  const e = (
5270
5279
  /** @type {Record<string, unknown>} */
5271
5280
  n
5272
5281
  );
5273
- return Zn(t);
5282
+ return ne(t);
5274
5283
  function t(r) {
5275
5284
  const i = (
5276
5285
  /** @type {Record<string, unknown>} */
@@ -5283,16 +5292,16 @@ function Fu(n) {
5283
5292
  return !0;
5284
5293
  }
5285
5294
  }
5286
- function Ru(n) {
5287
- return Zn(e);
5295
+ function ju(n) {
5296
+ return ne(e);
5288
5297
  function e(t) {
5289
5298
  return t && t.type === n;
5290
5299
  }
5291
5300
  }
5292
- function Zn(n) {
5301
+ function ne(n) {
5293
5302
  return e;
5294
5303
  function e(t, r, i) {
5295
- return !!(Mu(t) && n.call(
5304
+ return !!(Uu(t) && n.call(
5296
5305
  this,
5297
5306
  t,
5298
5307
  typeof r == "number" ? r : void 0,
@@ -5300,13 +5309,13 @@ function Zn(n) {
5300
5309
  ));
5301
5310
  }
5302
5311
  }
5303
- function _u() {
5312
+ function Hu() {
5304
5313
  return !0;
5305
5314
  }
5306
- function Mu(n) {
5315
+ function Uu(n) {
5307
5316
  return n !== null && typeof n == "object" && "type" in n;
5308
5317
  }
5309
- const Sr = [], Bu = !0, Tt = !1, ju = "skip";
5318
+ const Sr = [], Vu = !0, Tt = !1, qu = "skip";
5310
5319
  function Cr(n, e, t, r) {
5311
5320
  let i;
5312
5321
  typeof e == "function" && typeof t != "function" ? (r = t, t = e) : i = e;
@@ -5332,14 +5341,14 @@ function Cr(n, e, t, r) {
5332
5341
  return d;
5333
5342
  function d() {
5334
5343
  let p = Sr, y, b, I;
5335
- if ((!e || l(a, s, c[c.length - 1] || void 0)) && (p = Hu(t(a, c)), p[0] === Tt))
5344
+ if ((!e || l(a, s, c[c.length - 1] || void 0)) && (p = $u(t(a, c)), p[0] === Tt))
5336
5345
  return p;
5337
5346
  if ("children" in a && a.children) {
5338
5347
  const w = (
5339
5348
  /** @type {UnistParent} */
5340
5349
  a
5341
5350
  );
5342
- if (w.children && p[0] !== ju)
5351
+ if (w.children && p[0] !== qu)
5343
5352
  for (b = (r ? w.children.length : -1) + o, I = c.concat(w); b > -1 && b < w.children.length; ) {
5344
5353
  const E = w.children[b];
5345
5354
  if (y = u(E, b, I)(), y[0] === Tt)
@@ -5351,10 +5360,10 @@ function Cr(n, e, t, r) {
5351
5360
  }
5352
5361
  }
5353
5362
  }
5354
- function Hu(n) {
5355
- return Array.isArray(n) ? n : typeof n == "number" ? [Bu, n] : n == null ? Sr : [n];
5363
+ function $u(n) {
5364
+ return Array.isArray(n) ? n : typeof n == "number" ? [Vu, n] : n == null ? Sr : [n];
5356
5365
  }
5357
- function Uu(n, e, t, r) {
5366
+ function Wu(n, e, t, r) {
5358
5367
  let i, l, o;
5359
5368
  typeof e == "function" && typeof t != "function" ? (l = void 0, o = e, i = t) : (l = e, o = t, i = r), Cr(n, l, u, i);
5360
5369
  function u(a, s) {
@@ -5362,11 +5371,11 @@ function Uu(n, e, t, r) {
5362
5371
  return o(a, f, c);
5363
5372
  }
5364
5373
  }
5365
- const be = {}.hasOwnProperty, Vu = {};
5366
- function qu(n, e) {
5367
- const t = e || Vu, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...Tu, ...t.handlers }, u = {
5374
+ const be = {}.hasOwnProperty, Yu = {};
5375
+ function Qu(n, e) {
5376
+ const t = e || Yu, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...Lu, ...t.handlers }, u = {
5368
5377
  all: s,
5369
- applyData: Wu,
5378
+ applyData: Ku,
5370
5379
  definitionById: r,
5371
5380
  footnoteById: i,
5372
5381
  footnoteCounts: l,
@@ -5374,10 +5383,10 @@ function qu(n, e) {
5374
5383
  handlers: o,
5375
5384
  one: a,
5376
5385
  options: t,
5377
- patch: $u,
5378
- wrap: Qu
5386
+ patch: Xu,
5387
+ wrap: Gu
5379
5388
  };
5380
- return Uu(n, function(c) {
5389
+ return Wu(n, function(c) {
5381
5390
  if (c.type === "definition" || c.type === "footnoteDefinition") {
5382
5391
  const f = c.type === "definition" ? r : i, d = String(c.identifier).toUpperCase();
5383
5392
  f.has(d) || f.set(d, c);
@@ -5389,12 +5398,12 @@ function qu(n, e) {
5389
5398
  return p(u, c, f);
5390
5399
  if (u.options.passThrough && u.options.passThrough.includes(d)) {
5391
5400
  if ("children" in c) {
5392
- const { children: b, ...I } = c, w = Kn(I);
5401
+ const { children: b, ...I } = c, w = Jn(I);
5393
5402
  return w.children = u.all(c), w;
5394
5403
  }
5395
- return Kn(c);
5404
+ return Jn(c);
5396
5405
  }
5397
- return (u.options.unknownHandler || Yu)(u, c, f);
5406
+ return (u.options.unknownHandler || Ju)(u, c, f);
5398
5407
  }
5399
5408
  function s(c) {
5400
5409
  const f = [];
@@ -5415,10 +5424,10 @@ function qu(n, e) {
5415
5424
  return f;
5416
5425
  }
5417
5426
  }
5418
- function $u(n, e) {
5419
- n.position && (e.position = gi(n));
5427
+ function Xu(n, e) {
5428
+ n.position && (e.position = bi(n));
5420
5429
  }
5421
- function Wu(n, e) {
5430
+ function Ku(n, e) {
5422
5431
  let t = e;
5423
5432
  if (n && n.data) {
5424
5433
  const r = n.data.hName, i = n.data.hChildren, l = n.data.hProperties;
@@ -5429,11 +5438,11 @@ function Wu(n, e) {
5429
5438
  const o = "children" in t ? t.children : [t];
5430
5439
  t = { type: "element", tagName: r, properties: {}, children: o };
5431
5440
  }
5432
- t.type === "element" && l && Object.assign(t.properties, Kn(l)), "children" in t && t.children && i !== null && i !== void 0 && (t.children = i);
5441
+ t.type === "element" && l && Object.assign(t.properties, Jn(l)), "children" in t && t.children && i !== null && i !== void 0 && (t.children = i);
5433
5442
  }
5434
5443
  return t;
5435
5444
  }
5436
- function Yu(n, e) {
5445
+ function Ju(n, e) {
5437
5446
  const t = e.data || {}, r = "value" in e && !(be.call(t, "hProperties") || be.call(t, "hChildren")) ? { type: "text", value: e.value } : {
5438
5447
  type: "element",
5439
5448
  tagName: "div",
@@ -5442,7 +5451,7 @@ function Yu(n, e) {
5442
5451
  };
5443
5452
  return n.patch(e, r), n.applyData(e, r);
5444
5453
  }
5445
- function Qu(n, e) {
5454
+ function Gu(n, e) {
5446
5455
  const t = [];
5447
5456
  let r = -1;
5448
5457
  for (e && t.push({ type: "text", value: `
@@ -5459,11 +5468,11 @@ function Pt(n) {
5459
5468
  return n.slice(e);
5460
5469
  }
5461
5470
  function At(n, e) {
5462
- const t = qu(n, e), r = t.one(n, void 0), i = Du(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5471
+ const t = Qu(n, e), r = t.one(n, void 0), i = _u(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5463
5472
  return i && l.children.push({ type: "text", value: `
5464
5473
  ` }, i), l;
5465
5474
  }
5466
- function Xu(n, e) {
5475
+ function Zu(n, e) {
5467
5476
  return n && "run" in n ? async function(t, r) {
5468
5477
  const i = (
5469
5478
  /** @type {HastRoot} */
@@ -5481,18 +5490,18 @@ function zt(n) {
5481
5490
  if (n)
5482
5491
  throw n;
5483
5492
  }
5484
- var Yn = Object.prototype.hasOwnProperty, Er = Object.prototype.toString, Lt = Object.defineProperty, vt = Object.getOwnPropertyDescriptor, Nt = function(e) {
5493
+ var Qn = Object.prototype.hasOwnProperty, Er = Object.prototype.toString, Lt = Object.defineProperty, vt = Object.getOwnPropertyDescriptor, Nt = function(e) {
5485
5494
  return typeof Array.isArray == "function" ? Array.isArray(e) : Er.call(e) === "[object Array]";
5486
5495
  }, Dt = function(e) {
5487
5496
  if (!e || Er.call(e) !== "[object Object]")
5488
5497
  return !1;
5489
- var t = Yn.call(e, "constructor"), r = e.constructor && e.constructor.prototype && Yn.call(e.constructor.prototype, "isPrototypeOf");
5498
+ var t = Qn.call(e, "constructor"), r = e.constructor && e.constructor.prototype && Qn.call(e.constructor.prototype, "isPrototypeOf");
5490
5499
  if (e.constructor && !t && !r)
5491
5500
  return !1;
5492
5501
  var i;
5493
5502
  for (i in e)
5494
5503
  ;
5495
- return typeof i > "u" || Yn.call(e, i);
5504
+ return typeof i > "u" || Qn.call(e, i);
5496
5505
  }, Ot = function(e, t) {
5497
5506
  Lt && t.name === "__proto__" ? Lt(e, t.name, {
5498
5507
  enumerable: !0,
@@ -5502,12 +5511,12 @@ var Yn = Object.prototype.hasOwnProperty, Er = Object.prototype.toString, Lt = O
5502
5511
  }) : e[t.name] = t.newValue;
5503
5512
  }, Ft = function(e, t) {
5504
5513
  if (t === "__proto__")
5505
- if (Yn.call(e, t)) {
5514
+ if (Qn.call(e, t)) {
5506
5515
  if (vt)
5507
5516
  return vt(e, t).value;
5508
5517
  } else return;
5509
5518
  return e[t];
5510
- }, Ku = function n() {
5519
+ }, na = function n() {
5511
5520
  var e, t, r, i, l, o, u = arguments[0], a = 1, s = arguments.length, c = !1;
5512
5521
  for (typeof u == "boolean" && (c = u, u = arguments[1] || {}, a = 2), (u == null || typeof u != "object" && typeof u != "function") && (u = {}); a < s; ++a)
5513
5522
  if (e = arguments[a], e != null)
@@ -5515,14 +5524,14 @@ var Yn = Object.prototype.hasOwnProperty, Er = Object.prototype.toString, Lt = O
5515
5524
  r = Ft(u, t), i = Ft(e, t), u !== i && (c && i && (Dt(i) || (l = Nt(i))) ? (l ? (l = !1, o = r && Nt(r) ? r : []) : o = r && Dt(r) ? r : {}, Ot(u, { name: t, newValue: n(c, o, i) })) : typeof i < "u" && Ot(u, { name: t, newValue: i }));
5516
5525
  return u;
5517
5526
  };
5518
- const oe = /* @__PURE__ */ Fr(Ku);
5527
+ const oe = /* @__PURE__ */ Mr(na);
5519
5528
  function we(n) {
5520
5529
  if (typeof n != "object" || n === null)
5521
5530
  return !1;
5522
5531
  const e = Object.getPrototypeOf(n);
5523
5532
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in n) && !(Symbol.iterator in n);
5524
5533
  }
5525
- function Ju() {
5534
+ function ea() {
5526
5535
  const n = [], e = { run: t, use: r };
5527
5536
  return e;
5528
5537
  function t(...i) {
@@ -5540,7 +5549,7 @@ function Ju() {
5540
5549
  }
5541
5550
  for (; ++f < i.length; )
5542
5551
  (s[f] === null || s[f] === void 0) && (s[f] = i[f]);
5543
- i = s, c ? Gu(c, u)(...s) : o(null, ...s);
5552
+ i = s, c ? ta(c, u)(...s) : o(null, ...s);
5544
5553
  }
5545
5554
  }
5546
5555
  function r(i) {
@@ -5551,7 +5560,7 @@ function Ju() {
5551
5560
  return n.push(i), e;
5552
5561
  }
5553
5562
  }
5554
- function Gu(n, e) {
5563
+ function ta(n, e) {
5555
5564
  let t;
5556
5565
  return r;
5557
5566
  function r(...o) {
@@ -5578,8 +5587,8 @@ function Gu(n, e) {
5578
5587
  i(null, o);
5579
5588
  }
5580
5589
  }
5581
- const sn = { basename: Zu, dirname: na, extname: ea, join: ta, sep: "/" };
5582
- function Zu(n, e) {
5590
+ const sn = { basename: ra, dirname: ia, extname: la, join: oa, sep: "/" };
5591
+ function ra(n, e) {
5583
5592
  if (e !== void 0 && typeof e != "string")
5584
5593
  throw new TypeError('"ext" argument must be a string');
5585
5594
  jn(n);
@@ -5607,7 +5616,7 @@ function Zu(n, e) {
5607
5616
  o < 0 && (l = !0, o = i + 1), u > -1 && (n.codePointAt(i) === e.codePointAt(u--) ? u < 0 && (r = i) : (u = -1, r = o));
5608
5617
  return t === r ? r = o : r < 0 && (r = n.length), n.slice(t, r);
5609
5618
  }
5610
- function na(n) {
5619
+ function ia(n) {
5611
5620
  if (jn(n), n.length === 0)
5612
5621
  return ".";
5613
5622
  let e = -1, t = n.length, r;
@@ -5620,7 +5629,7 @@ function na(n) {
5620
5629
  } else r || (r = !0);
5621
5630
  return e < 0 ? n.codePointAt(0) === 47 ? "/" : "." : e === 1 && n.codePointAt(0) === 47 ? "//" : n.slice(0, e);
5622
5631
  }
5623
- function ea(n) {
5632
+ function la(n) {
5624
5633
  jn(n);
5625
5634
  let e = n.length, t = -1, r = 0, i = -1, l = 0, o;
5626
5635
  for (; e--; ) {
@@ -5638,19 +5647,19 @@ function ea(n) {
5638
5647
  l === 0 || // The (right-most) trimmed path component is exactly `..`.
5639
5648
  l === 1 && i === t - 1 && i === r + 1 ? "" : n.slice(i, t);
5640
5649
  }
5641
- function ta(...n) {
5650
+ function oa(...n) {
5642
5651
  let e = -1, t;
5643
5652
  for (; ++e < n.length; )
5644
5653
  jn(n[e]), n[e] && (t = t === void 0 ? n[e] : t + "/" + n[e]);
5645
- return t === void 0 ? "." : ra(t);
5654
+ return t === void 0 ? "." : ua(t);
5646
5655
  }
5647
- function ra(n) {
5656
+ function ua(n) {
5648
5657
  jn(n);
5649
5658
  const e = n.codePointAt(0) === 47;
5650
- let t = ia(n, !e);
5659
+ let t = aa(n, !e);
5651
5660
  return t.length === 0 && !e && (t = "."), t.length > 0 && n.codePointAt(n.length - 1) === 47 && (t += "/"), e ? "/" + t : t;
5652
5661
  }
5653
- function ia(n, e) {
5662
+ function aa(n, e) {
5654
5663
  let t = "", r = 0, i = -1, l = 0, o = -1, u, a;
5655
5664
  for (; ++o <= n.length; ) {
5656
5665
  if (o < n.length)
@@ -5687,15 +5696,15 @@ function jn(n) {
5687
5696
  "Path must be a string. Received " + JSON.stringify(n)
5688
5697
  );
5689
5698
  }
5690
- const la = { cwd: oa };
5691
- function oa() {
5699
+ const sa = { cwd: ca };
5700
+ function ca() {
5692
5701
  return "/";
5693
5702
  }
5694
5703
  function Se(n) {
5695
5704
  return !!(n !== null && typeof n == "object" && "href" in n && n.href && "protocol" in n && n.protocol && // @ts-expect-error: indexing is fine.
5696
5705
  n.auth === void 0);
5697
5706
  }
5698
- function ua(n) {
5707
+ function pa(n) {
5699
5708
  if (typeof n == "string")
5700
5709
  n = new URL(n);
5701
5710
  else if (!Se(n)) {
@@ -5708,9 +5717,9 @@ function ua(n) {
5708
5717
  const e = new TypeError("The URL must be of scheme file");
5709
5718
  throw e.code = "ERR_INVALID_URL_SCHEME", e;
5710
5719
  }
5711
- return aa(n);
5720
+ return fa(n);
5712
5721
  }
5713
- function aa(n) {
5722
+ function fa(n) {
5714
5723
  if (n.hostname !== "") {
5715
5724
  const r = new TypeError(
5716
5725
  'File URL host must be "localhost" or empty on darwin'
@@ -5767,7 +5776,7 @@ class Ir {
5767
5776
  */
5768
5777
  constructor(e) {
5769
5778
  let t;
5770
- e ? Se(e) ? t = { path: e } : typeof e == "string" || sa(e) ? t = { value: e } : t = e : t = {}, this.cwd = "cwd" in t ? "" : la.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
5779
+ e ? Se(e) ? t = { path: e } : typeof e == "string" || ha(e) ? t = { value: e } : t = e : t = {}, this.cwd = "cwd" in t ? "" : sa.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
5771
5780
  let r = -1;
5772
5781
  for (; ++r < ue.length; ) {
5773
5782
  const l = ue[r];
@@ -5875,7 +5884,7 @@ class Ir {
5875
5884
  * Nothing.
5876
5885
  */
5877
5886
  set path(e) {
5878
- Se(e) && (e = ua(e)), se(e, "path"), this.path !== e && this.history.push(e);
5887
+ Se(e) && (e = pa(e)), se(e, "path"), this.path !== e && this.history.push(e);
5879
5888
  }
5880
5889
  /**
5881
5890
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -6126,10 +6135,10 @@ function Rt(n, e) {
6126
6135
  if (!n)
6127
6136
  throw new Error("Setting `" + e + "` requires `path` to be set too");
6128
6137
  }
6129
- function sa(n) {
6138
+ function ha(n) {
6130
6139
  return !!(n && typeof n == "object" && "byteLength" in n && "byteOffset" in n);
6131
6140
  }
6132
- const ca = (
6141
+ const ma = (
6133
6142
  /**
6134
6143
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
6135
6144
  */
@@ -6150,13 +6159,13 @@ const ca = (
6150
6159
  };
6151
6160
  return Object.setPrototypeOf(l, r), l;
6152
6161
  }
6153
- ), pa = {}.hasOwnProperty;
6154
- class Me extends ca {
6162
+ ), da = {}.hasOwnProperty;
6163
+ class Me extends ma {
6155
6164
  /**
6156
6165
  * Create a processor.
6157
6166
  */
6158
6167
  constructor() {
6159
- 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 = Ju();
6168
+ 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 = ea();
6160
6169
  }
6161
6170
  /**
6162
6171
  * Copy a processor.
@@ -6241,7 +6250,7 @@ class Me extends ca {
6241
6250
  * the entire dataset when getting without key.
6242
6251
  */
6243
6252
  data(e, t) {
6244
- return typeof e == "string" ? arguments.length === 2 ? (fe("data", this.frozen), this.namespace[e] = t, this) : pa.call(this.namespace, e) && this.namespace[e] || void 0 : e ? (fe("data", this.frozen), this.namespace = e, this) : this.namespace;
6253
+ return typeof e == "string" ? arguments.length === 2 ? (fe("data", this.frozen), this.namespace[e] = t, this) : da.call(this.namespace, e) && this.namespace[e] || void 0 : e ? (fe("data", this.frozen), this.namespace = e, this) : this.namespace;
6245
6254
  }
6246
6255
  /**
6247
6256
  * Freeze a processor.
@@ -6356,7 +6365,7 @@ class Me extends ca {
6356
6365
  /** @type {unknown} */
6357
6366
  f
6358
6367
  ), y = r.stringify(p, d);
6359
- ma(y) ? d.value = y : d.result = y, s(
6368
+ xa(y) ? d.value = y : d.result = y, s(
6360
6369
  c,
6361
6370
  /** @type {VFileWithOutput<CompileResult>} */
6362
6371
  d
@@ -6632,7 +6641,7 @@ class Me extends ca {
6632
6641
  }
6633
6642
  }
6634
6643
  }
6635
- const fa = new Me().freeze();
6644
+ const ga = new Me().freeze();
6636
6645
  function ce(n, e) {
6637
6646
  if (typeof e != "function")
6638
6647
  throw new TypeError("Cannot `" + n + "` without `parser`");
@@ -6658,18 +6667,18 @@ function Mt(n, e, t) {
6658
6667
  );
6659
6668
  }
6660
6669
  function qn(n) {
6661
- return ha(n) ? n : new Ir(n);
6670
+ return ya(n) ? n : new Ir(n);
6662
6671
  }
6663
- function ha(n) {
6672
+ function ya(n) {
6664
6673
  return !!(n && typeof n == "object" && "message" in n && "messages" in n);
6665
6674
  }
6666
- function ma(n) {
6667
- return typeof n == "string" || da(n);
6675
+ function xa(n) {
6676
+ return typeof n == "string" || ka(n);
6668
6677
  }
6669
- function da(n) {
6678
+ function ka(n) {
6670
6679
  return !!(n && typeof n == "object" && "byteLength" in n && "byteOffset" in n);
6671
6680
  }
6672
- function ga(n, e, t, r) {
6681
+ function ba(n, e, t, r) {
6673
6682
  let i, l, o;
6674
6683
  typeof e == "function" && typeof t != "function" ? (l = void 0, o = e, i = t) : (l = e, o = t, i = r), Cr(n, l, u, i);
6675
6684
  function u(a, s) {
@@ -6677,7 +6686,7 @@ function ga(n, e, t, r) {
6677
6686
  return o(a, f, c);
6678
6687
  }
6679
6688
  }
6680
- const ya = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Bt = [], jt = { allowDangerousHtml: !0 }, xa = /^(https?|ircs?|mailto|xmpp)$/i, ka = [
6689
+ const wa = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Bt = [], jt = { allowDangerousHtml: !0 }, Sa = /^(https?|ircs?|mailto|xmpp)$/i, Ca = [
6681
6690
  { from: "astPlugins", id: "remove-buggy-html-in-markdown-parser" },
6682
6691
  { from: "allowDangerousHtml", id: "remove-buggy-html-in-markdown-parser" },
6683
6692
  {
@@ -6710,11 +6719,11 @@ const ya = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
6710
6719
  { from: "transformImageUri", id: "#add-urltransform", to: "urlTransform" },
6711
6720
  { from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }
6712
6721
  ];
6713
- function La(n) {
6714
- const e = n.allowedElements, t = n.allowElement, r = n.children || "", i = n.className, l = n.components, o = n.disallowedElements, u = n.rehypePlugins || Bt, a = n.remarkPlugins || Bt, s = n.remarkRehypeOptions ? { ...n.remarkRehypeOptions, ...jt } : jt, c = n.skipHtml, f = n.unwrapDisallowed, d = n.urlTransform || ba, p = fa().use(nu).use(a).use(Xu, s).use(u), y = new Ir();
6722
+ function Fa(n) {
6723
+ const e = n.allowedElements, t = n.allowElement, r = n.children || "", i = n.className, l = n.components, o = n.disallowedElements, u = n.rehypePlugins || Bt, a = n.remarkPlugins || Bt, s = n.remarkRehypeOptions ? { ...n.remarkRehypeOptions, ...jt } : jt, c = n.skipHtml, f = n.unwrapDisallowed, d = n.urlTransform || Ea, p = ga().use(iu).use(a).use(Zu, s).use(u), y = new Ir();
6715
6724
  typeof r == "string" && (y.value = r);
6716
- for (const E of ka)
6717
- Object.hasOwn(n, E.from) && ("" + E.from + (E.to ? "use `" + E.to + "` instead" : "remove it") + ya + E.id, void 0);
6725
+ for (const E of Ca)
6726
+ Object.hasOwn(n, E.from) && ("" + E.from + (E.to ? "use `" + E.to + "` instead" : "remove it") + wa + E.id, void 0);
6718
6727
  const b = p.parse(y);
6719
6728
  let I = p.runSync(b, y);
6720
6729
  return i && (I = {
@@ -6726,15 +6735,15 @@ function La(n) {
6726
6735
  /** @type {Array<ElementContent>} */
6727
6736
  I.type === "root" ? I.children : [I]
6728
6737
  )
6729
- }), ga(I, w), Si(I, {
6730
- Fragment: ne.Fragment,
6738
+ }), ba(I, w), Ti(I, {
6739
+ Fragment: Wn.Fragment,
6731
6740
  // @ts-expect-error
6732
6741
  // React components are allowed to return numbers,
6733
6742
  // but not according to the types in hast-util-to-jsx-runtime
6734
6743
  components: l,
6735
6744
  ignoreInvalidStyle: !0,
6736
- jsx: ne.jsx,
6737
- jsxs: ne.jsxs,
6745
+ jsx: Wn.jsx,
6746
+ jsxs: Wn.jsxs,
6738
6747
  passKeys: !0,
6739
6748
  passNode: !0
6740
6749
  });
@@ -6756,17 +6765,17 @@ function La(n) {
6756
6765
  }
6757
6766
  }
6758
6767
  }
6759
- function ba(n) {
6768
+ function Ea(n) {
6760
6769
  const e = n.indexOf(":"), t = n.indexOf("?"), r = n.indexOf("#"), i = n.indexOf("/");
6761
6770
  return (
6762
6771
  // If there is no protocol, it’s relative.
6763
6772
  e === -1 || // If the first colon is after a `?`, `#`, or `/`, it’s not a protocol.
6764
6773
  i !== -1 && e > i || t !== -1 && e > t || r !== -1 && e > r || // It is a protocol, it should be allowed.
6765
- xa.test(n.slice(0, e)) ? n : ""
6774
+ Sa.test(n.slice(0, e)) ? n : ""
6766
6775
  );
6767
6776
  }
6768
- const va = ({ queryFn: n }) => {
6769
- const [e, t] = ee(), [r, i] = ee(!1), [l, o] = ee(), u = async () => {
6777
+ const Ra = ({ queryFn: n }) => {
6778
+ const [e, t] = ee(), [r, i] = ee(!1), [l, o] = ee(), u = Rr(async () => {
6770
6779
  i(!0);
6771
6780
  try {
6772
6781
  const s = await n();
@@ -6776,10 +6785,10 @@ const va = ({ queryFn: n }) => {
6776
6785
  } finally {
6777
6786
  i(!1);
6778
6787
  }
6779
- };
6780
- return Rr(() => {
6788
+ }, [n]);
6789
+ return _r(() => {
6781
6790
  u();
6782
- }, []), {
6791
+ }, [u]), {
6783
6792
  error: e,
6784
6793
  data: l,
6785
6794
  loading: r,
@@ -6788,42 +6797,43 @@ const va = ({ queryFn: n }) => {
6788
6797
  }
6789
6798
  };
6790
6799
  };
6791
- var $n, wa = new Uint8Array(16);
6792
- function Sa() {
6800
+ var $n, Ia = new Uint8Array(16);
6801
+ function Ta() {
6793
6802
  if (!$n && ($n = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !$n))
6794
6803
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
6795
- return $n(wa);
6804
+ return $n(Ia);
6796
6805
  }
6797
- const Ca = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
6798
- function Ea(n) {
6799
- return typeof n == "string" && Ca.test(n);
6806
+ const Pa = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
6807
+ function Aa(n) {
6808
+ return typeof n == "string" && Pa.test(n);
6800
6809
  }
6801
6810
  var Q = [];
6802
6811
  for (var he = 0; he < 256; ++he)
6803
6812
  Q.push((he + 256).toString(16).substr(1));
6804
- function Ia(n) {
6813
+ function za(n) {
6805
6814
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, t = (Q[n[e + 0]] + Q[n[e + 1]] + Q[n[e + 2]] + Q[n[e + 3]] + "-" + Q[n[e + 4]] + Q[n[e + 5]] + "-" + Q[n[e + 6]] + Q[n[e + 7]] + "-" + Q[n[e + 8]] + Q[n[e + 9]] + "-" + Q[n[e + 10]] + Q[n[e + 11]] + Q[n[e + 12]] + Q[n[e + 13]] + Q[n[e + 14]] + Q[n[e + 15]]).toLowerCase();
6806
- if (!Ea(t))
6815
+ if (!Aa(t))
6807
6816
  throw TypeError("Stringified UUID is invalid");
6808
6817
  return t;
6809
6818
  }
6810
- function Na(n, e, t) {
6819
+ function _a(n, e, t) {
6811
6820
  n = n || {};
6812
- var r = n.random || (n.rng || Sa)();
6813
- return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, Ia(r);
6821
+ var r = n.random || (n.rng || Ta)();
6822
+ return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, za(r);
6814
6823
  }
6815
6824
  export {
6816
6825
  Tt as E,
6817
- La as M,
6826
+ Fa as M,
6827
+ Da as S,
6818
6828
  Cr as a,
6819
- Jn as b,
6829
+ Gn as b,
6820
6830
  at as c,
6821
- Ui as d,
6831
+ Wi as d,
6822
6832
  Pn as n,
6823
- za as o,
6833
+ Oa as o,
6824
6834
  Ne as r,
6825
6835
  pn as s,
6826
- ji as t,
6827
- va as u,
6828
- Na as v
6836
+ qi as t,
6837
+ Ra as u,
6838
+ _a as v
6829
6839
  };