novelaid-markdown 0.2.0 → 0.3.0

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 (104) hide show
  1. package/README.md +15 -0
  2. package/dist/_baseFor-Btt7qhvA.js +394 -0
  3. package/dist/arc-B1ElyJRe.js +80 -0
  4. package/dist/architecture-YZFGNWBL-DbwpLiaF.js +3 -0
  5. package/dist/architectureDiagram-Q4EWVU46-DPdA1a51.js +4057 -0
  6. package/dist/array-D9V22jUe.js +6 -0
  7. package/dist/blockDiagram-DXYQGD6D-Bf0IzYoN.js +3035 -0
  8. package/dist/c4Diagram-AHTNJAMY-BlTBDzAq.js +2961 -0
  9. package/dist/channel-CoqXOEHz.js +5 -0
  10. package/dist/chunk-2KRD3SAO-r21hNzXt.js +23 -0
  11. package/dist/chunk-336JU56O-DcVNMTsS.js +49 -0
  12. package/dist/chunk-426QAEUC-B4JQ_vPF.js +9 -0
  13. package/dist/chunk-4BX2VUAB-JBqrV_IE.js +8 -0
  14. package/dist/chunk-4TB4RGXK-DHS8LN6H.js +3255 -0
  15. package/dist/chunk-55IACEB6-C9COrGK_.js +8 -0
  16. package/dist/chunk-5FUZZQ4R-CdCLluck.js +3638 -0
  17. package/dist/chunk-5PVQY5BW-Dgwc0dUk.js +1299 -0
  18. package/dist/chunk-67CJDMHE-UQ-a7p3g.js +23 -0
  19. package/dist/chunk-7N4EOEYR-CPiwpV-A.js +35 -0
  20. package/dist/chunk-AA7GKIK3-DR_Iqho4.js +30 -0
  21. package/dist/chunk-BSJP7CBP-BrxQKL1l.js +82 -0
  22. package/dist/chunk-CIAEETIT-tbco3aB3.js +23 -0
  23. package/dist/chunk-EDXVE4YY-BHsZxHlc.js +25 -0
  24. package/dist/chunk-ENJZ2VHE-Dm2kuGCh.js +560 -0
  25. package/dist/chunk-FMBD7UC4-DwV8Wmed.js +5 -0
  26. package/dist/chunk-FOC6F5B3-CQtHQje_.js +23 -0
  27. package/dist/chunk-ICPOFSXX-B9lsZaK9.js +3363 -0
  28. package/dist/chunk-K5T4RW27-DI9nuGzI.js +16082 -0
  29. package/dist/chunk-KGLVRYIC-BMNH9LI-.js +23 -0
  30. package/dist/chunk-LIHQZDEY-Dc-yVZ_W.js +64 -0
  31. package/dist/chunk-ORNJ4GCN-DqZLt4_8.js +31 -0
  32. package/dist/chunk-OYMX7WX6-B8KpS9qK.js +2014 -0
  33. package/dist/chunk-QZHKN3VN-C4dmvHME.js +15 -0
  34. package/dist/chunk-U2HBQHQK-BME65g2a.js +1896 -0
  35. package/dist/chunk-X2U36JSP-CesuQ-Sm.js +67 -0
  36. package/dist/chunk-XPW4576I-Wv7jaLUC.js +1146 -0
  37. package/dist/chunk-YZCP3GAM-CJIt1xzm.js +60 -0
  38. package/dist/chunk-ZZ45TVLE-CMBGSmdv.js +32 -0
  39. package/dist/chunk-ha4E1CQs.js +20 -0
  40. package/dist/classDiagram-6PBFFD2Q-kvmQgIxu.js +29 -0
  41. package/dist/classDiagram-v2-HSJHXN6E-DLlYyLVf.js +29 -0
  42. package/dist/clone-B5XHQkPs.js +8 -0
  43. package/dist/cose-bilkent-S5V4N54A-xGhciOop.js +2250 -0
  44. package/dist/cytoscape.esm-BgCYa94Q.js +18103 -0
  45. package/dist/dagre-KV5264BT-DNe8h1eH.js +293 -0
  46. package/dist/dagre-SfibWTbo.js +1606 -0
  47. package/dist/defaultLocale-9iKoEQQi.js +201 -0
  48. package/dist/diagram-5BDNPKRD-D_R6IIhE.js +101 -0
  49. package/dist/diagram-G4DWMVQ6-CGlOggN-.js +524 -0
  50. package/dist/diagram-MMDJMWI5-GlxWkSbK.js +213 -0
  51. package/dist/diagram-TYMM5635-Empbfz-2.js +133 -0
  52. package/dist/dist-Dz2K8jVv.js +59 -0
  53. package/dist/erDiagram-SMLLAGMA-DSnlNLPr.js +1700 -0
  54. package/dist/{esm-Psdhd_27.js → esm-Binvve4F.js} +285 -303
  55. package/dist/flatten-BeeUCBYF.js +40 -0
  56. package/dist/flowDiagram-DWJPFMVM-YAh0NsG9.js +4145 -0
  57. package/dist/ganttDiagram-T4ZO3ILL-DkmkZTO5.js +3077 -0
  58. package/dist/gitGraph-7Q5UKJZL-DamMrPFa.js +3 -0
  59. package/dist/gitGraphDiagram-UUTBAWPF-IjLQtHgn.js +728 -0
  60. package/dist/graphlib-DSQqP-5Y.js +373 -0
  61. package/dist/index.css +2 -0
  62. package/dist/index.js +115 -38
  63. package/dist/index.umd.cjs +3218 -23
  64. package/dist/info-OMHHGYJF-BovemagY.js +3 -0
  65. package/dist/infoDiagram-42DDH7IO-izJQDQJs.js +19 -0
  66. package/dist/init-DkX7cl9c.js +15 -0
  67. package/dist/isEmpty-kLGD071T.js +35 -0
  68. package/dist/ishikawaDiagram-UXIWVN3A-SJb5qsLR.js +718 -0
  69. package/dist/journeyDiagram-VCZTEJTY-BDa8bFXG.js +883 -0
  70. package/dist/kanban-definition-6JOO6SKY-i73I3KFw.js +973 -0
  71. package/dist/katex-DI2iMRYj.js +22000 -0
  72. package/dist/line-BD0OIRsH.js +34 -0
  73. package/dist/linear-DV1pG6aV.js +289 -0
  74. package/dist/mermaid-parser.core-CZznKIov.js +69 -0
  75. package/dist/mermaid.core-a1TLqUAY.js +951 -0
  76. package/dist/mindmap-definition-QFDTVHPH-DPG-HkqU.js +1009 -0
  77. package/dist/ordinal-Zd5qpGcV.js +65 -0
  78. package/dist/packet-4T2RLAQJ-BEP9UcAl.js +3 -0
  79. package/dist/path-BSwIfggT.js +85 -0
  80. package/dist/pie-ZZUOXDRM-AZqQmg1p.js +3 -0
  81. package/dist/pieDiagram-DEJITSTG-Cj1YBlb1.js +165 -0
  82. package/dist/quadrantDiagram-34T5L4WZ-ypBI9wre.js +1974 -0
  83. package/dist/radar-PYXPWWZC-BpKM_Ghb.js +3 -0
  84. package/dist/{react-markdown-BXmDW998.js → react-markdown-CwHVAeQi.js} +82 -81
  85. package/dist/reduce-DQgHi9nw.js +532 -0
  86. package/dist/{rehype-raw-_yRr8ewB.js → rehype-raw-CbJS4QeP.js} +346 -346
  87. package/dist/{remark-gfm-Cfc5YeEq.js → remark-gfm-D_QtAzOA.js} +2 -2
  88. package/dist/requirementDiagram-MS252O5E-CkuWjAxJ.js +2221 -0
  89. package/dist/rough.esm-Dun2l6dn.js +1352 -0
  90. package/dist/sankeyDiagram-XADWPNL6-BzIHfJyL.js +920 -0
  91. package/dist/sequenceDiagram-FGHM5R23-NC0cKvy5.js +4157 -0
  92. package/dist/src-D7IEzgYM.js +2149 -0
  93. package/dist/stateDiagram-FHFEXIEX-vd0cNpSx.js +217 -0
  94. package/dist/stateDiagram-v2-QKLJ7IA2-BXsBMk9U.js +27 -0
  95. package/dist/timeline-definition-GMOUNBTQ-DeOvCyAs.js +1068 -0
  96. package/dist/treeView-SZITEDCU-D-ftaYOL.js +3 -0
  97. package/dist/treemap-W4RFUUIX-B2bp9KIg.js +3 -0
  98. package/dist/vennDiagram-DHZGUBPP-Hraq3pvR.js +1858 -0
  99. package/dist/wardley-RL74JXVD-BdjKuxh8.js +3 -0
  100. package/dist/wardleyDiagram-NUSXRM2D-C06eRanG.js +578 -0
  101. package/dist/xychartDiagram-5P7HB3ND-BiD79JlS.js +2044 -0
  102. package/package.json +2 -1
  103. /package/dist/{blank-line-ClJSvRAu.js → blank-line-DxLGQ569.js} +0 -0
  104. /package/dist/{lib-DWIu06lZ.js → lib-z8X9LcoZ.js} +0 -0
@@ -0,0 +1,3 @@
1
+ import "./chunk-K5T4RW27-DI9nuGzI.js";
2
+ import { n as e } from "./chunk-2KRD3SAO-r21hNzXt.js";
3
+ export { e as createRadarServices };
@@ -1,6 +1,7 @@
1
- import { c as e, g as t, h as n, i as r, l as i, m as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "./esm-Psdhd_27.js";
2
- import { t as p } from "./lib-DWIu06lZ.js";
3
- import { _ as m, a as h, b as g, c as _, d as v, f as y, i as b, l as x, m as S, n as C, o as w, p as T, r as E, s as D, t as O, u as k, v as A, x as j, y as M } from "./blank-line-ClJSvRAu.js";
1
+ import { o as e, r as t, t as n } from "./chunk-ha4E1CQs.js";
2
+ import { t as r } from "./lib-z8X9LcoZ.js";
3
+ import { c as i, i as a, l as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./esm-Binvve4F.js";
4
+ import { _ as m, a as h, b as g, c as _, d as v, f as y, i as b, l as x, m as S, n as C, o as w, p as T, r as E, s as D, t as O, u as k, v as A, x as j, y as M } from "./blank-line-DxLGQ569.js";
4
5
  import { useEffect as N, useState as P } from "react";
5
6
  import { Fragment as F, jsx as I, jsxs as ee } from "react/jsx-runtime";
6
7
  //#region node_modules/estree-util-is-identifier-name/lib/index.js
@@ -19,7 +20,7 @@ function ne(e) {
19
20
  }
20
21
  //#endregion
21
22
  //#region node_modules/inline-style-parser/cjs/index.js
22
- var re = /* @__PURE__ */ a(((e, t) => {
23
+ var re = /* @__PURE__ */ n(((e, t) => {
23
24
  var n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, r = /\n/g, i = /^\s*/, a = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, o = /^:\s*/, s = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, c = /^[;\s]*/, l = /^\s+|\s+$/g, u = "\n", d = "/", f = "*", p = "", m = "comment", h = "declaration";
24
25
  function g(e, t) {
25
26
  if (typeof e != "string") throw TypeError("First argument must be a string");
@@ -103,7 +104,7 @@ var re = /* @__PURE__ */ a(((e, t) => {
103
104
  return e ? e.replace(l, p) : p;
104
105
  }
105
106
  t.exports = g;
106
- })), ie = /* @__PURE__ */ a(((e) => {
107
+ })), ie = /* @__PURE__ */ n(((e) => {
107
108
  var t = e && e.__importDefault || function(e) {
108
109
  return e && e.__esModule ? e : { default: e };
109
110
  };
@@ -119,7 +120,7 @@ var re = /* @__PURE__ */ a(((e, t) => {
119
120
  a ? t(n, i, e) : i && (r ||= {}, r[n] = i);
120
121
  }), r;
121
122
  }
122
- })), ae = /* @__PURE__ */ a(((e) => {
123
+ })), ae = /* @__PURE__ */ n(((e) => {
123
124
  Object.defineProperty(e, "__esModule", { value: !0 }), e.camelCase = void 0;
124
125
  var t = /^--[a-zA-Z0-9_-]+$/, n = /-([a-z])/g, r = /^[^-]+$/, i = /^-(webkit|moz|ms|o|khtml)-/, a = /^-(ms)-/, o = function(e) {
125
126
  return !e || r.test(e) || t.test(e);
@@ -131,7 +132,7 @@ var re = /* @__PURE__ */ a(((e, t) => {
131
132
  e.camelCase = function(e, t) {
132
133
  return t === void 0 && (t = {}), o(e) ? e : (e = e.toLowerCase(), e = t.reactCompat ? e.replace(a, c) : e.replace(i, c), e.replace(n, s));
133
134
  };
134
- })), oe = /* @__PURE__ */ a(((e, t) => {
135
+ })), oe = /* @__PURE__ */ n(((e, t) => {
135
136
  var n = (e && e.__importDefault || function(e) {
136
137
  return e && e.__esModule ? e : { default: e };
137
138
  })(ie()), r = ae();
@@ -181,40 +182,40 @@ var W = class extends Error {
181
182
  W.prototype.file = "", W.prototype.name = "", W.prototype.reason = "", W.prototype.message = "", W.prototype.stack = "", W.prototype.column = void 0, W.prototype.line = void 0, W.prototype.ancestors = void 0, W.prototype.cause = void 0, W.prototype.fatal = void 0, W.prototype.place = void 0, W.prototype.ruleId = void 0, W.prototype.source = void 0;
182
183
  //#endregion
183
184
  //#region node_modules/hast-util-to-jsx-runtime/lib/index.js
184
- var le = /* @__PURE__ */ t(oe(), 1), G = {}.hasOwnProperty, ue = /* @__PURE__ */ new Map(), de = /[A-Z]/g, fe = new Set([
185
+ var le = /* @__PURE__ */ e(oe(), 1), G = {}.hasOwnProperty, ue = /* @__PURE__ */ new Map(), de = /[A-Z]/g, fe = new Set([
185
186
  "table",
186
187
  "tbody",
187
188
  "thead",
188
189
  "tfoot",
189
190
  "tr"
190
191
  ]), pe = new Set(["td", "th"]), me = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
191
- function he(t, n) {
192
- if (!n || n.Fragment === void 0) throw TypeError("Expected `Fragment` in options");
193
- let r = n.filePath || void 0, i;
194
- if (n.development) {
195
- if (typeof n.jsxDEV != "function") throw TypeError("Expected `jsxDEV` in options when `development: true`");
196
- i = Ee(r, n.jsxDEV);
192
+ function he(e, t) {
193
+ if (!t || t.Fragment === void 0) throw TypeError("Expected `Fragment` in options");
194
+ let n = t.filePath || void 0, r;
195
+ if (t.development) {
196
+ if (typeof t.jsxDEV != "function") throw TypeError("Expected `jsxDEV` in options when `development: true`");
197
+ r = Ee(n, t.jsxDEV);
197
198
  } else {
198
- if (typeof n.jsx != "function") throw TypeError("Expected `jsx` in production options");
199
- if (typeof n.jsxs != "function") throw TypeError("Expected `jsxs` in production options");
200
- i = Te(r, n.jsx, n.jsxs);
199
+ if (typeof t.jsx != "function") throw TypeError("Expected `jsx` in production options");
200
+ if (typeof t.jsxs != "function") throw TypeError("Expected `jsxs` in production options");
201
+ r = Te(n, t.jsx, t.jsxs);
201
202
  }
202
203
  let a = {
203
- Fragment: n.Fragment,
204
+ Fragment: t.Fragment,
204
205
  ancestors: [],
205
- components: n.components || {},
206
- create: i,
207
- elementAttributeNameCase: n.elementAttributeNameCase || "react",
208
- evaluater: n.createEvaluater ? n.createEvaluater() : void 0,
209
- filePath: r,
210
- ignoreInvalidStyle: n.ignoreInvalidStyle || !1,
211
- passKeys: n.passKeys !== !1,
212
- passNode: n.passNode || !1,
213
- schema: n.space === "svg" ? e : u,
214
- stylePropertyNameCase: n.stylePropertyNameCase || "dom",
215
- tableCellAlignToStyle: n.tableCellAlignToStyle !== !1
216
- }, o = ge(a, t, void 0);
217
- return o && typeof o != "string" ? o : a.create(t, a.Fragment, { children: o || void 0 }, void 0);
206
+ components: t.components || {},
207
+ create: r,
208
+ elementAttributeNameCase: t.elementAttributeNameCase || "react",
209
+ evaluater: t.createEvaluater ? t.createEvaluater() : void 0,
210
+ filePath: n,
211
+ ignoreInvalidStyle: t.ignoreInvalidStyle || !1,
212
+ passKeys: t.passKeys !== !1,
213
+ passNode: t.passNode || !1,
214
+ schema: t.space === "svg" ? i : d,
215
+ stylePropertyNameCase: t.stylePropertyNameCase || "dom",
216
+ tableCellAlignToStyle: t.tableCellAlignToStyle !== !1
217
+ }, o = ge(a, e, void 0);
218
+ return o && typeof o != "string" ? o : a.create(e, a.Fragment, { children: o || void 0 }, void 0);
218
219
  }
219
220
  function ge(e, t, n) {
220
221
  if (t.type === "element") return _e(e, t, n);
@@ -224,13 +225,13 @@ function ge(e, t, n) {
224
225
  if (t.type === "root") return xe(e, t, n);
225
226
  if (t.type === "text") return Se(e, t);
226
227
  }
227
- function _e(t, n, r) {
228
- let i = t.schema, a = i;
229
- n.tagName.toLowerCase() === "svg" && i.space === "html" && (a = e, t.schema = a), t.ancestors.push(n);
230
- let o = Me(t, n.tagName, !1), s = De(t, n), c = ke(t, n);
231
- return fe.has(n.tagName) && (c = c.filter(function(e) {
228
+ function _e(e, t, n) {
229
+ let r = e.schema, a = r;
230
+ t.tagName.toLowerCase() === "svg" && r.space === "html" && (a = i, e.schema = a), e.ancestors.push(t);
231
+ let o = Me(e, t.tagName, !1), s = De(e, t), c = ke(e, t);
232
+ return fe.has(t.tagName) && (c = c.filter(function(e) {
232
233
  return typeof e == "string" ? !V(e) : !0;
233
- })), Ce(t, s, o, n), we(s, c), t.ancestors.pop(), t.schema = i, t.create(n, o, s, r);
234
+ })), Ce(e, s, o, t), we(s, c), e.ancestors.pop(), e.schema = r, e.create(t, o, s, n);
234
235
  }
235
236
  function ve(e, t) {
236
237
  if (t.data && t.data.estree && e.evaluater) {
@@ -243,11 +244,11 @@ function ye(e, t) {
243
244
  if (t.data && t.data.estree && e.evaluater) return e.evaluater.evaluateProgram(t.data.estree);
244
245
  K(e, t.position);
245
246
  }
246
- function be(t, n, r) {
247
- let i = t.schema, a = i;
248
- n.name === "svg" && i.space === "html" && (a = e, t.schema = a), t.ancestors.push(n);
249
- let o = n.name === null ? t.Fragment : Me(t, n.name, !0), s = Oe(t, n), c = ke(t, n);
250
- return Ce(t, s, o, n), we(s, c), t.ancestors.pop(), t.schema = i, t.create(n, o, s, r);
247
+ function be(e, t, n) {
248
+ let r = e.schema, a = r;
249
+ t.name === "svg" && r.space === "html" && (a = i, e.schema = a), e.ancestors.push(t);
250
+ let o = t.name === null ? e.Fragment : Me(e, t.name, !0), s = Oe(e, t), c = ke(e, t);
251
+ return Ce(e, s, o, t), we(s, c), e.ancestors.pop(), e.schema = r, e.create(t, o, s, n);
251
252
  }
252
253
  function xe(e, t, n) {
253
254
  let r = {};
@@ -275,7 +276,7 @@ function Te(e, t, n) {
275
276
  function Ee(e, t) {
276
277
  return n;
277
278
  function n(n, r, i, a) {
278
- let o = Array.isArray(i.children), s = l(n);
279
+ let o = Array.isArray(i.children), s = u(n);
279
280
  return t(r, i, a, o, {
280
281
  columnNumber: s ? s.column - 1 : void 0,
281
282
  fileName: e,
@@ -336,13 +337,13 @@ function ke(e, t) {
336
337
  return n;
337
338
  }
338
339
  function Ae(e, t, n) {
339
- let r = i(e.schema, t);
340
+ let r = o(e.schema, t);
340
341
  if (!(n == null || typeof n == "number" && Number.isNaN(n))) {
341
- if (Array.isArray(n) && (n = r.commaSeparated ? c(n) : s(n)), r.property === "style") {
342
+ if (Array.isArray(n) && (n = r.commaSeparated ? l(n) : c(n)), r.property === "style") {
342
343
  let t = typeof n == "object" ? n : je(e, String(n));
343
344
  return e.stylePropertyNameCase === "css" && (t = Ne(t)), ["style", t];
344
345
  }
345
- return [e.elementAttributeNameCase === "react" && r.space ? f[r.property] || r.property : r.attribute, n];
346
+ return [e.elementAttributeNameCase === "react" && r.space ? p[r.property] || r.property : r.attribute, n];
346
347
  }
347
348
  }
348
349
  function je(e, t) {
@@ -2036,7 +2037,7 @@ function jn(e, t) {
2036
2037
  }
2037
2038
  //#endregion
2038
2039
  //#region node_modules/micromark/lib/constructs.js
2039
- var Mn = /* @__PURE__ */ n({
2040
+ var Mn = /* @__PURE__ */ t({
2040
2041
  attentionMarkers: () => Bn,
2041
2042
  contentInitial: () => Pn,
2042
2043
  disable: () => Vn,
@@ -3236,10 +3237,10 @@ function Er(e, t) {
3236
3237
  tagName: "tbody",
3237
3238
  properties: {},
3238
3239
  children: e.wrap(n, !0)
3239
- }, a = l(t.children[1]), s = o(t.children[t.children.length - 1]);
3240
- a && s && (r.position = {
3240
+ }, a = u(t.children[1]), o = s(t.children[t.children.length - 1]);
3241
+ a && o && (r.position = {
3241
3242
  start: a,
3242
- end: s
3243
+ end: o
3243
3244
  }), i.push(r);
3244
3245
  }
3245
3246
  let a = {
@@ -3431,7 +3432,7 @@ function zr(e) {
3431
3432
  type: "element",
3432
3433
  tagName: a,
3433
3434
  properties: {
3434
- ...d(o),
3435
+ ...f(o),
3435
3436
  id: "footnote-label"
3436
3437
  },
3437
3438
  children: [{
@@ -3460,46 +3461,46 @@ function zr(e) {
3460
3461
  //#region node_modules/mdast-util-to-hast/lib/state.js
3461
3462
  var Br = {}.hasOwnProperty, Vr = {};
3462
3463
  function Hr(e, t) {
3463
- let n = t || Vr, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = {
3464
- all: s,
3464
+ let n = t || Vr, i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = {
3465
+ all: c,
3465
3466
  applyData: Wr,
3466
- definitionById: r,
3467
- footnoteById: i,
3467
+ definitionById: i,
3468
+ footnoteById: a,
3468
3469
  footnoteCounts: /* @__PURE__ */ new Map(),
3469
3470
  footnoteOrder: [],
3470
3471
  handlers: {
3471
3472
  ...Fr,
3472
3473
  ...n.handlers
3473
3474
  },
3474
- one: o,
3475
+ one: s,
3475
3476
  options: n,
3476
3477
  patch: Ur,
3477
3478
  wrap: Kr
3478
3479
  };
3479
- return p(e, function(e) {
3480
+ return r(e, function(e) {
3480
3481
  if (e.type === "definition" || e.type === "footnoteDefinition") {
3481
- let t = e.type === "definition" ? r : i, n = String(e.identifier).toUpperCase();
3482
+ let t = e.type === "definition" ? i : a, n = String(e.identifier).toUpperCase();
3482
3483
  t.has(n) || t.set(n, e);
3483
3484
  }
3484
- }), a;
3485
- function o(e, t) {
3486
- let n = e.type, r = a.handlers[n];
3487
- if (Br.call(a.handlers, n) && r) return r(a, e, t);
3488
- if (a.options.passThrough && a.options.passThrough.includes(n)) {
3485
+ }), o;
3486
+ function s(e, t) {
3487
+ let n = e.type, r = o.handlers[n];
3488
+ if (Br.call(o.handlers, n) && r) return r(o, e, t);
3489
+ if (o.options.passThrough && o.options.passThrough.includes(n)) {
3489
3490
  if ("children" in e) {
3490
- let { children: t, ...n } = e, r = d(n);
3491
- return r.children = a.all(e), r;
3491
+ let { children: t, ...n } = e, r = f(n);
3492
+ return r.children = o.all(e), r;
3492
3493
  }
3493
- return d(e);
3494
+ return f(e);
3494
3495
  }
3495
- return (a.options.unknownHandler || Gr)(a, e, t);
3496
+ return (o.options.unknownHandler || Gr)(o, e, t);
3496
3497
  }
3497
- function s(e) {
3498
+ function c(e) {
3498
3499
  let t = [];
3499
3500
  if ("children" in e) {
3500
3501
  let n = e.children, r = -1;
3501
3502
  for (; ++r < n.length;) {
3502
- let i = a.one(n[r], e);
3503
+ let i = o.one(n[r], e);
3503
3504
  if (i) {
3504
3505
  if (r && n[r - 1].type === "break" && (!Array.isArray(i) && i.type === "text" && (i.value = qr(i.value)), !Array.isArray(i) && i.type === "element")) {
3505
3506
  let e = i.children[0];
@@ -3513,7 +3514,7 @@ function Hr(e, t) {
3513
3514
  }
3514
3515
  }
3515
3516
  function Ur(e, t) {
3516
- e.position && (t.position = r(e));
3517
+ e.position && (t.position = a(e));
3517
3518
  }
3518
3519
  function Wr(e, t) {
3519
3520
  let n = t;
@@ -3524,7 +3525,7 @@ function Wr(e, t) {
3524
3525
  tagName: t,
3525
3526
  properties: {},
3526
3527
  children: "children" in n ? n.children : [n]
3527
- }), n.type === "element" && i && Object.assign(n.properties, d(i)), "children" in n && n.children && r != null && (n.children = r);
3528
+ }), n.type === "element" && i && Object.assign(n.properties, f(i)), "children" in n && n.children && r != null && (n.children = r);
3528
3529
  }
3529
3530
  return n;
3530
3531
  }
@@ -3597,7 +3598,7 @@ function Xr(e) {
3597
3598
  }
3598
3599
  //#endregion
3599
3600
  //#region node_modules/extend/index.js
3600
- var Zr = /* @__PURE__ */ a(((e, t) => {
3601
+ var Zr = /* @__PURE__ */ n(((e, t) => {
3601
3602
  var n = Object.prototype.hasOwnProperty, r = Object.prototype.toString, i = Object.defineProperty, a = Object.getOwnPropertyDescriptor, o = function(e) {
3602
3603
  return typeof Array.isArray == "function" ? Array.isArray(e) : r.call(e) === "[object Array]";
3603
3604
  }, s = function(e) {
@@ -3916,7 +3917,7 @@ var vi = (function(e) {
3916
3917
  return n.apply(r, arguments);
3917
3918
  };
3918
3919
  return Object.setPrototypeOf(r, t), r;
3919
- }), yi = /* @__PURE__ */ t(Zr(), 1), bi = {}.hasOwnProperty, xi = new class e extends vi {
3920
+ }), yi = /* @__PURE__ */ e(Zr(), 1), bi = {}.hasOwnProperty, xi = new class e extends vi {
3920
3921
  constructor() {
3921
3922
  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 = $r();
3922
3923
  }
@@ -4183,19 +4184,19 @@ function zi(e) {
4183
4184
  return typeof t == "string" ? n.value = t : "" + t, n;
4184
4185
  }
4185
4186
  function Bi(e, t) {
4186
- let n = t.allowedElements, r = t.allowElement, i = t.components, a = t.disallowedElements, o = t.skipHtml, s = t.unwrapDisallowed, c = t.urlTransform || Vi;
4187
+ let n = t.allowedElements, i = t.allowElement, a = t.components, o = t.disallowedElements, s = t.skipHtml, c = t.unwrapDisallowed, l = t.urlTransform || Vi;
4187
4188
  for (let e of Pi) Object.hasOwn(t, e.from) && "" + e.from + (e.to ? "use `" + e.to + "` instead" : "remove it") + e.id;
4188
- return p(e, l), he(e, {
4189
+ return r(e, u), he(e, {
4189
4190
  Fragment: F,
4190
- components: i,
4191
+ components: a,
4191
4192
  ignoreInvalidStyle: !0,
4192
4193
  jsx: I,
4193
4194
  jsxs: ee,
4194
4195
  passKeys: !0,
4195
4196
  passNode: !0
4196
4197
  });
4197
- function l(e, t, i) {
4198
- if (e.type === "raw" && i && typeof t == "number") return o ? i.children.splice(t, 1) : i.children[t] = {
4198
+ function u(e, t, r) {
4199
+ if (e.type === "raw" && r && typeof t == "number") return s ? r.children.splice(t, 1) : r.children[t] = {
4199
4200
  type: "text",
4200
4201
  value: e.value
4201
4202
  }, t;
@@ -4203,12 +4204,12 @@ function Bi(e, t) {
4203
4204
  let t;
4204
4205
  for (t in Ie) if (Object.hasOwn(Ie, t) && Object.hasOwn(e.properties, t)) {
4205
4206
  let n = e.properties[t], r = Ie[t];
4206
- (r === null || r.includes(e.tagName)) && (e.properties[t] = c(String(n || ""), t, e));
4207
+ (r === null || r.includes(e.tagName)) && (e.properties[t] = l(String(n || ""), t, e));
4207
4208
  }
4208
4209
  }
4209
4210
  if (e.type === "element") {
4210
- let o = n ? !n.includes(e.tagName) : a ? a.includes(e.tagName) : !1;
4211
- if (!o && r && typeof t == "number" && (o = !r(e, t, i)), o && i && typeof t == "number") return s && e.children ? i.children.splice(t, 1, ...e.children) : i.children.splice(t, 1), t;
4211
+ let a = n ? !n.includes(e.tagName) : o ? o.includes(e.tagName) : !1;
4212
+ if (!a && i && typeof t == "number" && (a = !i(e, t, r)), a && r && typeof t == "number") return c && e.children ? r.children.splice(t, 1, ...e.children) : r.children.splice(t, 1), t;
4212
4213
  }
4213
4214
  }
4214
4215
  }