mermaid 10.2.1 → 10.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/{arc-3c160465.js → arc-2c65c00d.js} +1 -1
  2. package/dist/{arc-77fc2af4.js → arc-56235257.js} +1 -1
  3. package/dist/{c4Diagram-254213a1.js → c4Diagram-30400ad0.js} +2 -2
  4. package/dist/{c4Diagram-e8ea7104.js → c4Diagram-4015ed94.js} +1 -1
  5. package/dist/{c4Diagram-8db19464.js → c4Diagram-c5f6cac5.js} +2 -2
  6. package/dist/{classDiagram-608608fe.js → classDiagram-4adda95e.js} +5 -5
  7. package/dist/{classDiagram-42b3c27c.js → classDiagram-a3547413.js} +5 -5
  8. package/dist/{classDiagram-2b0c833c.js → classDiagram-f9088573.js} +3 -3
  9. package/dist/{classDiagram-v2-306d6a80.js → classDiagram-v2-0a70a412.js} +8 -8
  10. package/dist/{classDiagram-v2-9f746d53.js → classDiagram-v2-56d00918.js} +6 -6
  11. package/dist/{classDiagram-v2-74b55d00.js → classDiagram-v2-60cd73ae.js} +8 -8
  12. package/dist/{createText-bba40910.js → createText-2f2a343a.js} +1 -1
  13. package/dist/{createText-90502ed0.js → createText-31812fd1.js} +1 -1
  14. package/dist/{createText-d9206b7e.js → createText-34ecf23e.js} +1 -1
  15. package/dist/{edges-0961f13d.js → edges-06fe0e9b.js} +3 -3
  16. package/dist/{edges-100593e4.js → edges-84ec6f60.js} +4 -4
  17. package/dist/{edges-9ef2b21b.js → edges-8c2fb38e.js} +4 -4
  18. package/dist/{erDiagram-decfd4cd.js → erDiagram-2034ab6f.js} +3 -3
  19. package/dist/{erDiagram-ab11ddfc.js → erDiagram-3f713c6a.js} +1 -1
  20. package/dist/{erDiagram-e8df9b8a.js → erDiagram-79324bed.js} +3 -3
  21. package/dist/{flowDb-21fdec25.js → flowDb-197cd6d1.js} +1 -1
  22. package/dist/{flowDb-667e91e9.js → flowDb-4e7c4aec.js} +1 -1
  23. package/dist/{flowDb-3d0a1362.js → flowDb-7f7635cc.js} +1 -1
  24. package/dist/{flowDiagram-a63e5267.js → flowDiagram-7f2bb914.js} +10 -10
  25. package/dist/{flowDiagram-d464bd42.js → flowDiagram-a2b06433.js} +7 -7
  26. package/dist/{flowDiagram-c77506ee.js → flowDiagram-d3a638d5.js} +10 -10
  27. package/dist/{flowDiagram-v2-1ce0105d.js → flowDiagram-v2-9f8fab07.js} +7 -7
  28. package/dist/{flowDiagram-v2-3d18812b.js → flowDiagram-v2-c75a17c2.js} +10 -10
  29. package/dist/{flowDiagram-v2-044bf32b.js → flowDiagram-v2-d84f41d0.js} +10 -10
  30. package/dist/{flowchart-elk-definition-d58ce1bb.js → flowchart-elk-definition-5cf0e905.js} +5 -5
  31. package/dist/{flowchart-elk-definition-94ab4000.js → flowchart-elk-definition-73ae1d0b.js} +6 -6
  32. package/dist/{flowchart-elk-definition-aba443f1.js → flowchart-elk-definition-b299cff1.js} +6 -6
  33. package/dist/{ganttDiagram-c18b0eb0.js → ganttDiagram-1781195b.js} +2 -2
  34. package/dist/{ganttDiagram-e88daf67.js → ganttDiagram-4e00717f.js} +1 -1
  35. package/dist/{ganttDiagram-e6339652.js → ganttDiagram-eddf2b5d.js} +2 -2
  36. package/dist/{gitGraphDiagram-5c05bf95.js → gitGraphDiagram-71d608d2.js} +1 -1
  37. package/dist/{gitGraphDiagram-b84abfd6.js → gitGraphDiagram-ac8b1a85.js} +1 -1
  38. package/dist/{gitGraphDiagram-bd3cf386.js → gitGraphDiagram-bd04333d.js} +1 -1
  39. package/dist/{index-5e805454.js → index-7484f147.js} +3 -3
  40. package/dist/{index-9cfc71d9.js → index-bf86b901.js} +4 -4
  41. package/dist/{index-59513c53.js → index-ce156fd5.js} +4 -4
  42. package/dist/{infoDiagram-0421e9c9.js → infoDiagram-bc0d5d92.js} +1 -1
  43. package/dist/{infoDiagram-673229a6.js → infoDiagram-d8edadcf.js} +1 -1
  44. package/dist/{infoDiagram-43eb5d4d.js → infoDiagram-e2ad1b58.js} +1 -1
  45. package/dist/{journeyDiagram-041ee509.js → journeyDiagram-1eb6fba0.js} +3 -3
  46. package/dist/{journeyDiagram-92d61f4d.js → journeyDiagram-b5476ffb.js} +1 -1
  47. package/dist/{journeyDiagram-2a24f107.js → journeyDiagram-eeb24d29.js} +3 -3
  48. package/dist/{layout-bf6c9c10.js → layout-1171b506.js} +1 -1
  49. package/dist/{layout-71dca320.js → layout-23ab7ebc.js} +1 -1
  50. package/dist/{line-2acb2eac.js → line-47adbd5d.js} +1 -1
  51. package/dist/{line-8c0d1ce4.js → line-850ff9a1.js} +1 -1
  52. package/dist/{linear-74c1a623.js → linear-8f527e14.js} +1 -1
  53. package/dist/{linear-3a0b8760.js → linear-cedd28c4.js} +1 -1
  54. package/dist/{mermaid-1260cb94.js → mermaid-08b2ff5f.js} +24 -21
  55. package/dist/{mermaid-d088a70a.js → mermaid-c66525a4.js} +24 -21
  56. package/dist/{mermaid-c798b724.js → mermaid-ddfd1cde.js} +24 -21
  57. package/dist/mermaid.core.mjs +1 -1
  58. package/dist/mermaid.esm.min.mjs +1 -1
  59. package/dist/mermaid.esm.mjs +1 -1
  60. package/dist/mermaid.js +5 -2
  61. package/dist/mermaid.min.js +2 -2
  62. package/dist/{mindmap-definition-392181bc.js → mindmap-definition-7c7f5519.js} +2 -2
  63. package/dist/{mindmap-definition-978d0aa1.js → mindmap-definition-825812a2.js} +2 -2
  64. package/dist/{mindmap-definition-35f87354.js → mindmap-definition-b35271d9.js} +2 -2
  65. package/dist/{pieDiagram-7831f37b.js → pieDiagram-427d710c.js} +2 -2
  66. package/dist/{pieDiagram-1492e6de.js → pieDiagram-9f52f3c8.js} +2 -2
  67. package/dist/{pieDiagram-65c60a0f.js → pieDiagram-c9e1e65d.js} +1 -1
  68. package/dist/{quadrantDiagram-47d99734.js → quadrantDiagram-0bfe3602.js} +2 -2
  69. package/dist/{quadrantDiagram-4b93bc7d.js → quadrantDiagram-1ee9b076.js} +1 -1
  70. package/dist/{quadrantDiagram-99311d56.js → quadrantDiagram-dbf8fc84.js} +2 -2
  71. package/dist/{requirementDiagram-ca360737.js → requirementDiagram-480c4b33.js} +3 -3
  72. package/dist/{requirementDiagram-75661920.js → requirementDiagram-a1feb0ba.js} +1 -1
  73. package/dist/{requirementDiagram-fd8060bb.js → requirementDiagram-f7bd47cb.js} +3 -3
  74. package/dist/{selectAll-a3888f04.js → selectAll-378e90f0.js} +1 -1
  75. package/dist/{selectAll-e2aa769d.js → selectAll-776a0c51.js} +1 -1
  76. package/dist/{sequenceDiagram-997764bf.js → sequenceDiagram-4a53e255.js} +1 -1
  77. package/dist/{sequenceDiagram-914a5886.js → sequenceDiagram-5e6de89c.js} +3 -3
  78. package/dist/{sequenceDiagram-2c4b027b.js → sequenceDiagram-d370aecf.js} +3 -3
  79. package/dist/{stateDiagram-6af74882.js → stateDiagram-a0ac330a.js} +2 -2
  80. package/dist/{stateDiagram-83676724.js → stateDiagram-eed21683.js} +4 -4
  81. package/dist/{stateDiagram-8bf927d7.js → stateDiagram-f56100fa.js} +4 -4
  82. package/dist/{stateDiagram-v2-967b4cd7.js → stateDiagram-v2-2a8ef368.js} +8 -8
  83. package/dist/{stateDiagram-v2-3407a59e.js → stateDiagram-v2-7684bed5.js} +8 -8
  84. package/dist/{stateDiagram-v2-38d85efb.js → stateDiagram-v2-cfe94687.js} +6 -6
  85. package/dist/{styles-c6d3e8ea.js → styles-0a525a9a.js} +1 -1
  86. package/dist/{styles-88253b19.js → styles-1557db13.js} +5 -5
  87. package/dist/{styles-2b4296cf.js → styles-2f9839dc.js} +1 -1
  88. package/dist/{styles-f4b133de.js → styles-a40c3df8.js} +1 -1
  89. package/dist/{styles-23e67235.js → styles-ad91cc54.js} +5 -5
  90. package/dist/{styles-8989aec7.js → styles-aea5c17b.js} +3 -3
  91. package/dist/{styles-9a239f33.js → styles-b9045be1.js} +1 -1
  92. package/dist/{styles-70a7214f.js → styles-d9667b1f.js} +1 -1
  93. package/dist/{styles-8e1df061.js → styles-ed94903c.js} +1 -1
  94. package/dist/{svgDraw-b0bb1a79.js → svgDraw-14f13a51.js} +1 -1
  95. package/dist/{svgDraw-f080acf7.js → svgDraw-39291d2f.js} +2 -2
  96. package/dist/{svgDraw-d109f02c.js → svgDraw-d5bb5edb.js} +2 -2
  97. package/dist/{svgDrawCommon-2013f713.js → svgDrawCommon-87f2bfe2.js} +1 -1
  98. package/dist/{svgDrawCommon-caf4b820.js → svgDrawCommon-b06ba884.js} +1 -1
  99. package/dist/{timeline-definition-4303c69e.js → timeline-definition-4cdb07ca.js} +1 -1
  100. package/dist/{timeline-definition-f35bc5a0.js → timeline-definition-927a93b1.js} +2 -2
  101. package/dist/{timeline-definition-4a21fd34.js → timeline-definition-afaf264f.js} +2 -2
  102. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { v as clear, l as log, c as getConfig } from "./mermaid-c798b724.js";
1
+ import { v as clear, l as log, c as getConfig } from "./mermaid-ddfd1cde.js";
2
2
  import { select } from "d3";
3
3
  import "ts-dedent";
4
4
  import "dayjs";
@@ -1,4 +1,4 @@
1
- import { B, l as E, c as C, j as P } from "./mermaid-1260cb94.js";
1
+ import { B, l as E, c as C, j as P } from "./mermaid-08b2ff5f.js";
2
2
  var L = function() {
3
3
  var h = function(c, t, e, n) {
4
4
  for (e = e || {}, n = c.length; n--; e[c[n]] = t)
@@ -1,4 +1,4 @@
1
- import { B as clear, l as log, c as getConfig, j as select } from "./mermaid-d088a70a.js";
1
+ import { B as clear, l as log, c as getConfig, j as select } from "./mermaid-c66525a4.js";
2
2
  var parser = function() {
3
3
  var o = function(k, v, o2, l) {
4
4
  for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v)
@@ -1,6 +1,6 @@
1
- import { c as getConfig, z as setDiagramTitle, A as getDiagramTitle, s as setAccTitle, g as getAccTitle, b as setAccDescription, a as getAccDescription, m as mermaidAPI, B as clear$1, j as select, k as configureSvgSize } from "./mermaid-d088a70a.js";
2
- import { d as drawRect$1, f as drawText$1, a as drawBackgroundRect$1, g as getNoteRect } from "./svgDrawCommon-caf4b820.js";
3
- import { d as d3arc } from "./arc-77fc2af4.js";
1
+ import { c as getConfig, z as setDiagramTitle, A as getDiagramTitle, s as setAccTitle, g as getAccTitle, b as setAccDescription, a as getAccDescription, m as mermaidAPI, B as clear$1, j as select, k as configureSvgSize } from "./mermaid-c66525a4.js";
2
+ import { d as drawRect$1, f as drawText$1, a as drawBackgroundRect$1, g as getNoteRect } from "./svgDrawCommon-b06ba884.js";
3
+ import { d as d3arc } from "./arc-56235257.js";
4
4
  import "./constant-b644328d.js";
5
5
  var parser = function() {
6
6
  var o = function(k, v, o2, l) {
@@ -1,4 +1,4 @@
1
- import { c as getConfig, r as setDiagramTitle, t as getDiagramTitle, s as setAccTitle, g as getAccTitle, b as setAccDescription, a as getAccDescription, m as mermaidAPI, v as clear$1, i as configureSvgSize } from "./mermaid-c798b724.js";
1
+ import { c as getConfig, r as setDiagramTitle, t as getDiagramTitle, s as setAccTitle, g as getAccTitle, b as setAccDescription, a as getAccDescription, m as mermaidAPI, v as clear$1, i as configureSvgSize } from "./mermaid-ddfd1cde.js";
2
2
  import { arc, select } from "d3";
3
3
  import { d as drawRect$1, f as drawText$1, a as drawBackgroundRect$1, g as getNoteRect } from "./svgDrawCommon-f26cad39.js";
4
4
  import "ts-dedent";
@@ -1,6 +1,6 @@
1
- import { c as V, z as gt, A as mt, s as xt, g as _t, b as kt, a as bt, m as vt, B as wt, j as H, k as Tt } from "./mermaid-1260cb94.js";
2
- import { d as St, f as Mt, a as $t, g as lt } from "./svgDrawCommon-2013f713.js";
3
- import { d as it } from "./arc-3c160465.js";
1
+ import { c as V, z as gt, A as mt, s as xt, g as _t, b as kt, a as bt, m as vt, B as wt, j as H, k as Tt } from "./mermaid-08b2ff5f.js";
2
+ import { d as St, f as Mt, a as $t, g as lt } from "./svgDrawCommon-87f2bfe2.js";
3
+ import { d as it } from "./arc-2c65c00d.js";
4
4
  import "./constant-2fe7eae5.js";
5
5
  var Z = function() {
6
6
  var t = function(_, r, a, h) {
@@ -1,4 +1,4 @@
1
- import { a4 as M, a5 as He, a6 as $, a7 as _, a8 as L, a9 as Fr, aa as nn, ab as D, ac as X, ad as Z, ae as Un, af as Dr, ag as ke, ah as Gr, ai as Br, aj as Yn, ak as Ur, al as qe, am as Hn, an as V, ao as cn, ap as kn, aq as Yr, v as Mn, ar as Ln, as as se } from "./mermaid-1260cb94.js";
1
+ import { a4 as M, a5 as He, a6 as $, a7 as _, a8 as L, a9 as Fr, aa as nn, ab as D, ac as X, ad as Z, ae as Un, af as Dr, ag as ke, ah as Gr, ai as Br, aj as Yn, ak as Ur, al as qe, am as Hn, an as V, ao as cn, ap as kn, aq as Yr, v as Mn, ar as Ln, as as se } from "./mermaid-08b2ff5f.js";
2
2
  var Hr = "[object Symbol]";
3
3
  function R(n) {
4
4
  return typeof n == "symbol" || M(n) && He(n) == Hr;
@@ -1,4 +1,4 @@
1
- import { a4 as isObjectLike, a5 as baseGetTag, a6 as Symbol$1, a7 as isArray, a8 as isObject, a9 as getNative, aa as eq, ab as isArrayLike, ac as isArguments, ad as isBuffer, ae as isTypedArray, af as baseKeys, ag as isPrototype, ah as memoize, ai as overArg, aj as ListCache, ak as Map, al as MapCache, am as root, an as getTag, ao as nodeUtil, ap as baseUnary, aq as isLength, v as isFunction, ar as Set, as as isEmpty } from "./mermaid-d088a70a.js";
1
+ import { a4 as isObjectLike, a5 as baseGetTag, a6 as Symbol$1, a7 as isArray, a8 as isObject, a9 as getNative, aa as eq, ab as isArrayLike, ac as isArguments, ad as isBuffer, ae as isTypedArray, af as baseKeys, ag as isPrototype, ah as memoize, ai as overArg, aj as ListCache, ak as Map, al as MapCache, am as root, an as getTag, ao as nodeUtil, ap as baseUnary, aq as isLength, v as isFunction, ar as Set, as as isEmpty } from "./mermaid-c66525a4.js";
2
2
  var symbolTag$3 = "[object Symbol]";
3
3
  function isSymbol(value) {
4
4
  return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$3;
@@ -1,6 +1,6 @@
1
1
  import { a } from "./array-2ff2c7a6.js";
2
2
  import { c as o, p as d } from "./constant-2fe7eae5.js";
3
- import { o as h } from "./mermaid-1260cb94.js";
3
+ import { o as h } from "./mermaid-08b2ff5f.js";
4
4
  function v(e) {
5
5
  return e[0];
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { a as array } from "./array-b7dcf730.js";
2
2
  import { c as constant, p as path } from "./constant-b644328d.js";
3
- import { o as curveLinear } from "./mermaid-d088a70a.js";
3
+ import { o as curveLinear } from "./mermaid-c66525a4.js";
4
4
  function x(p) {
5
5
  return p[0];
6
6
  }
@@ -1,4 +1,4 @@
1
- import { V as constant, W as interpolateNumber, X as color, Y as interpolateRgb, Z as interpolateString } from "./mermaid-d088a70a.js";
1
+ import { V as constant, W as interpolateNumber, X as color, Y as interpolateRgb, Z as interpolateString } from "./mermaid-c66525a4.js";
2
2
  import { i as initRange } from "./init-cc95ec8e.js";
3
3
  function ascending(a, b) {
4
4
  return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
@@ -1,4 +1,4 @@
1
- import { V as cn, W as D, X as Z, Y as U, Z as hn } from "./mermaid-1260cb94.js";
1
+ import { V as cn, W as D, X as Z, Y as U, Z as hn } from "./mermaid-08b2ff5f.js";
2
2
  import { i as sn } from "./init-f9637058.js";
3
3
  function $(n, t) {
4
4
  return n == null || t == null ? NaN : n < t ? -1 : n > t ? 1 : n >= t ? 0 : NaN;
@@ -8188,8 +8188,8 @@ function V0(t, e, i, r) {
8188
8188
  }
8189
8189
  return Zt(i = ln(t.children, r)) ? t.return = t.value + "{" + i + "}" : "";
8190
8190
  }
8191
- const Ko = "10.2.1", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/) !== null, K0 = async () => {
8192
- const { diagram: t } = await import("./c4Diagram-254213a1.js");
8191
+ const Ko = "10.2.2", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/) !== null, K0 = async () => {
8192
+ const { diagram: t } = await import("./c4Diagram-30400ad0.js");
8193
8193
  return { id: Ja, diagram: t };
8194
8194
  }, Z0 = {
8195
8195
  id: Ja,
@@ -8199,7 +8199,7 @@ const Ko = "10.2.1", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C
8199
8199
  var i, r;
8200
8200
  return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" || ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : t.match(/^\s*graph/) !== null;
8201
8201
  }, t_ = async () => {
8202
- const { diagram: t } = await import("./flowDiagram-c77506ee.js");
8202
+ const { diagram: t } = await import("./flowDiagram-d3a638d5.js");
8203
8203
  return { id: Qa, diagram: t };
8204
8204
  }, e_ = {
8205
8205
  id: Qa,
@@ -8209,63 +8209,63 @@ const Ko = "10.2.1", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C
8209
8209
  var i, r, n;
8210
8210
  return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-d3" || ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : t.match(/^\s*graph/) !== null && ((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !0 : t.match(/^\s*flowchart/) !== null;
8211
8211
  }, n_ = async () => {
8212
- const { diagram: t } = await import("./flowDiagram-v2-3d18812b.js");
8212
+ const { diagram: t } = await import("./flowDiagram-v2-c75a17c2.js");
8213
8213
  return { id: tl, diagram: t };
8214
8214
  }, o_ = {
8215
8215
  id: tl,
8216
8216
  detector: r_,
8217
8217
  loader: n_
8218
8218
  }, s_ = o_, el = "er", a_ = (t) => t.match(/^\s*erDiagram/) !== null, l_ = async () => {
8219
- const { diagram: t } = await import("./erDiagram-e8df9b8a.js");
8219
+ const { diagram: t } = await import("./erDiagram-79324bed.js");
8220
8220
  return { id: el, diagram: t };
8221
8221
  }, h_ = {
8222
8222
  id: el,
8223
8223
  detector: a_,
8224
8224
  loader: l_
8225
8225
  }, c_ = h_, il = "gitGraph", u_ = (t) => t.match(/^\s*gitGraph/) !== null, f_ = async () => {
8226
- const { diagram: t } = await import("./gitGraphDiagram-bd3cf386.js");
8226
+ const { diagram: t } = await import("./gitGraphDiagram-bd04333d.js");
8227
8227
  return { id: il, diagram: t };
8228
8228
  }, d_ = {
8229
8229
  id: il,
8230
8230
  detector: u_,
8231
8231
  loader: f_
8232
8232
  }, p_ = d_, rl = "gantt", g_ = (t) => t.match(/^\s*gantt/) !== null, m_ = async () => {
8233
- const { diagram: t } = await import("./ganttDiagram-e6339652.js");
8233
+ const { diagram: t } = await import("./ganttDiagram-eddf2b5d.js");
8234
8234
  return { id: rl, diagram: t };
8235
8235
  }, __ = {
8236
8236
  id: rl,
8237
8237
  detector: g_,
8238
8238
  loader: m_
8239
8239
  }, y_ = __, nl = "info", C_ = (t) => t.match(/^\s*info/) !== null, x_ = async () => {
8240
- const { diagram: t } = await import("./infoDiagram-673229a6.js");
8240
+ const { diagram: t } = await import("./infoDiagram-d8edadcf.js");
8241
8241
  return { id: nl, diagram: t };
8242
8242
  }, b_ = {
8243
8243
  id: nl,
8244
8244
  detector: C_,
8245
8245
  loader: x_
8246
8246
  }, T_ = b_, ol = "pie", S_ = (t) => t.match(/^\s*pie/) !== null, k_ = async () => {
8247
- const { diagram: t } = await import("./pieDiagram-1492e6de.js");
8247
+ const { diagram: t } = await import("./pieDiagram-9f52f3c8.js");
8248
8248
  return { id: ol, diagram: t };
8249
8249
  }, v_ = {
8250
8250
  id: ol,
8251
8251
  detector: S_,
8252
8252
  loader: k_
8253
8253
  }, w_ = v_, sl = "quadrantChart", B_ = (t) => t.match(/^\s*quadrantChart/) !== null, F_ = async () => {
8254
- const { diagram: t } = await import("./quadrantDiagram-47d99734.js");
8254
+ const { diagram: t } = await import("./quadrantDiagram-0bfe3602.js");
8255
8255
  return { id: sl, diagram: t };
8256
8256
  }, L_ = {
8257
8257
  id: sl,
8258
8258
  detector: B_,
8259
8259
  loader: F_
8260
8260
  }, A_ = L_, al = "requirement", E_ = (t) => t.match(/^\s*requirement(Diagram)?/) !== null, M_ = async () => {
8261
- const { diagram: t } = await import("./requirementDiagram-ca360737.js");
8261
+ const { diagram: t } = await import("./requirementDiagram-480c4b33.js");
8262
8262
  return { id: al, diagram: t };
8263
8263
  }, O_ = {
8264
8264
  id: al,
8265
8265
  detector: E_,
8266
8266
  loader: M_
8267
8267
  }, I_ = O_, ll = "sequence", $_ = (t) => t.match(/^\s*sequenceDiagram/) !== null, D_ = async () => {
8268
- const { diagram: t } = await import("./sequenceDiagram-914a5886.js");
8268
+ const { diagram: t } = await import("./sequenceDiagram-5e6de89c.js");
8269
8269
  return { id: ll, diagram: t };
8270
8270
  }, N_ = {
8271
8271
  id: ll,
@@ -8275,7 +8275,7 @@ const Ko = "10.2.1", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C
8275
8275
  var i;
8276
8276
  return ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : t.match(/^\s*classDiagram/) !== null;
8277
8277
  }, P_ = async () => {
8278
- const { diagram: t } = await import("./classDiagram-42b3c27c.js");
8278
+ const { diagram: t } = await import("./classDiagram-a3547413.js");
8279
8279
  return { id: hl, diagram: t };
8280
8280
  }, z_ = {
8281
8281
  id: hl,
@@ -8285,7 +8285,7 @@ const Ko = "10.2.1", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C
8285
8285
  var i;
8286
8286
  return t.match(/^\s*classDiagram/) !== null && ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !0 : t.match(/^\s*classDiagram-v2/) !== null;
8287
8287
  }, j_ = async () => {
8288
- const { diagram: t } = await import("./classDiagram-v2-74b55d00.js");
8288
+ const { diagram: t } = await import("./classDiagram-v2-60cd73ae.js");
8289
8289
  return { id: cl, diagram: t };
8290
8290
  }, U_ = {
8291
8291
  id: cl,
@@ -8295,7 +8295,7 @@ const Ko = "10.2.1", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C
8295
8295
  var i;
8296
8296
  return ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : t.match(/^\s*stateDiagram/) !== null;
8297
8297
  }, V_ = async () => {
8298
- const { diagram: t } = await import("./stateDiagram-83676724.js");
8298
+ const { diagram: t } = await import("./stateDiagram-eed21683.js");
8299
8299
  return { id: ul, diagram: t };
8300
8300
  }, X_ = {
8301
8301
  id: ul,
@@ -8305,14 +8305,14 @@ const Ko = "10.2.1", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C
8305
8305
  var i, r;
8306
8306
  return !!(t.match(/^\s*stateDiagram-v2/) !== null || t.match(/^\s*stateDiagram/) && ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" || t.match(/^\s*stateDiagram/) && ((r = e == null ? void 0 : e.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper");
8307
8307
  }, J_ = async () => {
8308
- const { diagram: t } = await import("./stateDiagram-v2-967b4cd7.js");
8308
+ const { diagram: t } = await import("./stateDiagram-v2-2a8ef368.js");
8309
8309
  return { id: fl, diagram: t };
8310
8310
  }, Q_ = {
8311
8311
  id: fl,
8312
8312
  detector: Z_,
8313
8313
  loader: J_
8314
8314
  }, ty = Q_, dl = "journey", ey = (t) => t.match(/^\s*journey/) !== null, iy = async () => {
8315
- const { diagram: t } = await import("./journeyDiagram-2a24f107.js");
8315
+ const { diagram: t } = await import("./journeyDiagram-eeb24d29.js");
8316
8316
  return { id: dl, diagram: t };
8317
8317
  }, ry = {
8318
8318
  id: dl,
@@ -8371,21 +8371,21 @@ const Ko = "10.2.1", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C
8371
8371
  t.match(/^\s*flowchart|graph/) && ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "elk")
8372
8372
  );
8373
8373
  }, fy = async () => {
8374
- const { diagram: t } = await import("./flowchart-elk-definition-aba443f1.js");
8374
+ const { diagram: t } = await import("./flowchart-elk-definition-b299cff1.js");
8375
8375
  return { id: gl, diagram: t };
8376
8376
  }, dy = {
8377
8377
  id: gl,
8378
8378
  detector: uy,
8379
8379
  loader: fy
8380
8380
  }, py = dy, ml = "timeline", gy = (t) => t.match(/^\s*timeline/) !== null, my = async () => {
8381
- const { diagram: t } = await import("./timeline-definition-4a21fd34.js");
8381
+ const { diagram: t } = await import("./timeline-definition-afaf264f.js");
8382
8382
  return { id: ml, diagram: t };
8383
8383
  }, _y = {
8384
8384
  id: ml,
8385
8385
  detector: gy,
8386
8386
  loader: my
8387
8387
  }, yy = _y, _l = "mindmap", Cy = (t) => t.match(/^\s*mindmap/) !== null, xy = async () => {
8388
- const { diagram: t } = await import("./mindmap-definition-978d0aa1.js");
8388
+ const { diagram: t } = await import("./mindmap-definition-825812a2.js");
8389
8389
  return { id: _l, diagram: t };
8390
8390
  }, by = {
8391
8391
  id: _l,
@@ -8676,7 +8676,10 @@ ${t.themeCSS}`), t.fontFamily !== void 0 && (r += `
8676
8676
  return ln(Y0(`${r}{${o}}`), V0);
8677
8677
  }, sx = (t = "", e, i) => {
8678
8678
  let r = t;
8679
- return !i && !e && (r = r.replace(/marker-end="url\(.*?#/g, 'marker-end="url(#')), r = rx(r), r = r.replace(/<br>/g, "<br/>"), r;
8679
+ return !i && !e && (r = r.replace(
8680
+ /marker-end="url\([\d+./:=?A-Za-z-]*?#/g,
8681
+ 'marker-end="url(#'
8682
+ )), r = rx(r), r = r.replace(/<br>/g, "<br/>"), r;
8680
8683
  }, ax = (t = "", e) => {
8681
8684
  const i = e ? e.viewBox.baseVal.height + "px" : VC, r = btoa('<body style="' + KC + '">' + t + "</body>");
8682
8685
  return `<iframe style="width:${GC};height:${i};${XC}" src="data:text/html;base64,${r}" sandbox="${ZC}">
@@ -12284,13 +12284,13 @@ function stringify(element, index, children2, callback) {
12284
12284
  }
12285
12285
  return strlen(children2 = serialize(element.children, callback)) ? element.return = element.value + "{" + children2 + "}" : "";
12286
12286
  }
12287
- const version = "10.2.1";
12287
+ const version = "10.2.2";
12288
12288
  const id$i = "c4";
12289
12289
  const detector$i = (txt) => {
12290
12290
  return txt.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/) !== null;
12291
12291
  };
12292
12292
  const loader$i = async () => {
12293
- const { diagram: diagram2 } = await import("./c4Diagram-8db19464.js");
12293
+ const { diagram: diagram2 } = await import("./c4Diagram-c5f6cac5.js");
12294
12294
  return { id: id$i, diagram: diagram2 };
12295
12295
  };
12296
12296
  const plugin$i = {
@@ -12308,7 +12308,7 @@ const detector$h = (txt, config2) => {
12308
12308
  return txt.match(/^\s*graph/) !== null;
12309
12309
  };
12310
12310
  const loader$h = async () => {
12311
- const { diagram: diagram2 } = await import("./flowDiagram-a63e5267.js");
12311
+ const { diagram: diagram2 } = await import("./flowDiagram-7f2bb914.js");
12312
12312
  return { id: id$h, diagram: diagram2 };
12313
12313
  };
12314
12314
  const plugin$h = {
@@ -12329,7 +12329,7 @@ const detector$g = (txt, config2) => {
12329
12329
  return txt.match(/^\s*flowchart/) !== null;
12330
12330
  };
12331
12331
  const loader$g = async () => {
12332
- const { diagram: diagram2 } = await import("./flowDiagram-v2-044bf32b.js");
12332
+ const { diagram: diagram2 } = await import("./flowDiagram-v2-d84f41d0.js");
12333
12333
  return { id: id$g, diagram: diagram2 };
12334
12334
  };
12335
12335
  const plugin$g = {
@@ -12343,7 +12343,7 @@ const detector$f = (txt) => {
12343
12343
  return txt.match(/^\s*erDiagram/) !== null;
12344
12344
  };
12345
12345
  const loader$f = async () => {
12346
- const { diagram: diagram2 } = await import("./erDiagram-decfd4cd.js");
12346
+ const { diagram: diagram2 } = await import("./erDiagram-2034ab6f.js");
12347
12347
  return { id: id$f, diagram: diagram2 };
12348
12348
  };
12349
12349
  const plugin$f = {
@@ -12357,7 +12357,7 @@ const detector$e = (txt) => {
12357
12357
  return txt.match(/^\s*gitGraph/) !== null;
12358
12358
  };
12359
12359
  const loader$e = async () => {
12360
- const { diagram: diagram2 } = await import("./gitGraphDiagram-5c05bf95.js");
12360
+ const { diagram: diagram2 } = await import("./gitGraphDiagram-71d608d2.js");
12361
12361
  return { id: id$e, diagram: diagram2 };
12362
12362
  };
12363
12363
  const plugin$e = {
@@ -12371,7 +12371,7 @@ const detector$d = (txt) => {
12371
12371
  return txt.match(/^\s*gantt/) !== null;
12372
12372
  };
12373
12373
  const loader$d = async () => {
12374
- const { diagram: diagram2 } = await import("./ganttDiagram-c18b0eb0.js");
12374
+ const { diagram: diagram2 } = await import("./ganttDiagram-1781195b.js");
12375
12375
  return { id: id$d, diagram: diagram2 };
12376
12376
  };
12377
12377
  const plugin$d = {
@@ -12385,7 +12385,7 @@ const detector$c = (txt) => {
12385
12385
  return txt.match(/^\s*info/) !== null;
12386
12386
  };
12387
12387
  const loader$c = async () => {
12388
- const { diagram: diagram2 } = await import("./infoDiagram-43eb5d4d.js");
12388
+ const { diagram: diagram2 } = await import("./infoDiagram-e2ad1b58.js");
12389
12389
  return { id: id$c, diagram: diagram2 };
12390
12390
  };
12391
12391
  const plugin$c = {
@@ -12399,7 +12399,7 @@ const detector$b = (txt) => {
12399
12399
  return txt.match(/^\s*pie/) !== null;
12400
12400
  };
12401
12401
  const loader$b = async () => {
12402
- const { diagram: diagram2 } = await import("./pieDiagram-7831f37b.js");
12402
+ const { diagram: diagram2 } = await import("./pieDiagram-427d710c.js");
12403
12403
  return { id: id$b, diagram: diagram2 };
12404
12404
  };
12405
12405
  const plugin$b = {
@@ -12413,7 +12413,7 @@ const detector$a = (txt) => {
12413
12413
  return txt.match(/^\s*quadrantChart/) !== null;
12414
12414
  };
12415
12415
  const loader$a = async () => {
12416
- const { diagram: diagram2 } = await import("./quadrantDiagram-99311d56.js");
12416
+ const { diagram: diagram2 } = await import("./quadrantDiagram-dbf8fc84.js");
12417
12417
  return { id: id$a, diagram: diagram2 };
12418
12418
  };
12419
12419
  const plugin$a = {
@@ -12427,7 +12427,7 @@ const detector$9 = (txt) => {
12427
12427
  return txt.match(/^\s*requirement(Diagram)?/) !== null;
12428
12428
  };
12429
12429
  const loader$9 = async () => {
12430
- const { diagram: diagram2 } = await import("./requirementDiagram-fd8060bb.js");
12430
+ const { diagram: diagram2 } = await import("./requirementDiagram-f7bd47cb.js");
12431
12431
  return { id: id$9, diagram: diagram2 };
12432
12432
  };
12433
12433
  const plugin$9 = {
@@ -12441,7 +12441,7 @@ const detector$8 = (txt) => {
12441
12441
  return txt.match(/^\s*sequenceDiagram/) !== null;
12442
12442
  };
12443
12443
  const loader$8 = async () => {
12444
- const { diagram: diagram2 } = await import("./sequenceDiagram-2c4b027b.js");
12444
+ const { diagram: diagram2 } = await import("./sequenceDiagram-d370aecf.js");
12445
12445
  return { id: id$8, diagram: diagram2 };
12446
12446
  };
12447
12447
  const plugin$8 = {
@@ -12459,7 +12459,7 @@ const detector$7 = (txt, config2) => {
12459
12459
  return txt.match(/^\s*classDiagram/) !== null;
12460
12460
  };
12461
12461
  const loader$7 = async () => {
12462
- const { diagram: diagram2 } = await import("./classDiagram-608608fe.js");
12462
+ const { diagram: diagram2 } = await import("./classDiagram-4adda95e.js");
12463
12463
  return { id: id$7, diagram: diagram2 };
12464
12464
  };
12465
12465
  const plugin$7 = {
@@ -12477,7 +12477,7 @@ const detector$6 = (txt, config2) => {
12477
12477
  return txt.match(/^\s*classDiagram-v2/) !== null;
12478
12478
  };
12479
12479
  const loader$6 = async () => {
12480
- const { diagram: diagram2 } = await import("./classDiagram-v2-306d6a80.js");
12480
+ const { diagram: diagram2 } = await import("./classDiagram-v2-0a70a412.js");
12481
12481
  return { id: id$6, diagram: diagram2 };
12482
12482
  };
12483
12483
  const plugin$6 = {
@@ -12495,7 +12495,7 @@ const detector$5 = (txt, config2) => {
12495
12495
  return txt.match(/^\s*stateDiagram/) !== null;
12496
12496
  };
12497
12497
  const loader$5 = async () => {
12498
- const { diagram: diagram2 } = await import("./stateDiagram-8bf927d7.js");
12498
+ const { diagram: diagram2 } = await import("./stateDiagram-f56100fa.js");
12499
12499
  return { id: id$5, diagram: diagram2 };
12500
12500
  };
12501
12501
  const plugin$5 = {
@@ -12519,7 +12519,7 @@ const detector$4 = (text2, config2) => {
12519
12519
  return false;
12520
12520
  };
12521
12521
  const loader$4 = async () => {
12522
- const { diagram: diagram2 } = await import("./stateDiagram-v2-3407a59e.js");
12522
+ const { diagram: diagram2 } = await import("./stateDiagram-v2-7684bed5.js");
12523
12523
  return { id: id$4, diagram: diagram2 };
12524
12524
  };
12525
12525
  const plugin$4 = {
@@ -12533,7 +12533,7 @@ const detector$3 = (txt) => {
12533
12533
  return txt.match(/^\s*journey/) !== null;
12534
12534
  };
12535
12535
  const loader$3 = async () => {
12536
- const { diagram: diagram2 } = await import("./journeyDiagram-041ee509.js");
12536
+ const { diagram: diagram2 } = await import("./journeyDiagram-1eb6fba0.js");
12537
12537
  return { id: id$3, diagram: diagram2 };
12538
12538
  };
12539
12539
  const plugin$3 = {
@@ -12618,7 +12618,7 @@ const detector$2 = (txt, config2) => {
12618
12618
  return false;
12619
12619
  };
12620
12620
  const loader$2 = async () => {
12621
- const { diagram: diagram2 } = await import("./flowchart-elk-definition-94ab4000.js");
12621
+ const { diagram: diagram2 } = await import("./flowchart-elk-definition-73ae1d0b.js");
12622
12622
  return { id: id$2, diagram: diagram2 };
12623
12623
  };
12624
12624
  const plugin$2 = {
@@ -12632,7 +12632,7 @@ const detector$1 = (txt) => {
12632
12632
  return txt.match(/^\s*timeline/) !== null;
12633
12633
  };
12634
12634
  const loader$1 = async () => {
12635
- const { diagram: diagram2 } = await import("./timeline-definition-f35bc5a0.js");
12635
+ const { diagram: diagram2 } = await import("./timeline-definition-927a93b1.js");
12636
12636
  return { id: id$1, diagram: diagram2 };
12637
12637
  };
12638
12638
  const plugin$1 = {
@@ -12646,7 +12646,7 @@ const detector = (txt) => {
12646
12646
  return txt.match(/^\s*mindmap/) !== null;
12647
12647
  };
12648
12648
  const loader = async () => {
12649
- const { diagram: diagram2 } = await import("./mindmap-definition-35f87354.js");
12649
+ const { diagram: diagram2 } = await import("./mindmap-definition-b35271d9.js");
12650
12650
  return { id, diagram: diagram2 };
12651
12651
  };
12652
12652
  const plugin = {
@@ -13065,7 +13065,10 @@ const createUserStyles = (config2, graphType, classDefs, svgId) => {
13065
13065
  const cleanUpSvgCode = (svgCode = "", inSandboxMode, useArrowMarkerUrls) => {
13066
13066
  let cleanedUpSvg = svgCode;
13067
13067
  if (!useArrowMarkerUrls && !inSandboxMode) {
13068
- cleanedUpSvg = cleanedUpSvg.replace(/marker-end="url\(.*?#/g, 'marker-end="url(#');
13068
+ cleanedUpSvg = cleanedUpSvg.replace(
13069
+ /marker-end="url\([\d+./:=?A-Za-z-]*?#/g,
13070
+ 'marker-end="url(#'
13071
+ );
13069
13072
  }
13070
13073
  cleanedUpSvg = decodeEntities(cleanedUpSvg);
13071
13074
  cleanedUpSvg = cleanedUpSvg.replace(/<br>/g, "<br/>");
@@ -6699,13 +6699,13 @@ const utils = {
6699
6699
  insertTitle,
6700
6700
  parseFontSize
6701
6701
  };
6702
- const version = "10.2.1";
6702
+ const version = "10.2.2";
6703
6703
  const id$i = "c4";
6704
6704
  const detector$i = (txt) => {
6705
6705
  return txt.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/) !== null;
6706
6706
  };
6707
6707
  const loader$i = async () => {
6708
- const { diagram: diagram2 } = await import("./c4Diagram-e8ea7104.js");
6708
+ const { diagram: diagram2 } = await import("./c4Diagram-4015ed94.js");
6709
6709
  return { id: id$i, diagram: diagram2 };
6710
6710
  };
6711
6711
  const plugin$i = {
@@ -6723,7 +6723,7 @@ const detector$h = (txt, config2) => {
6723
6723
  return txt.match(/^\s*graph/) !== null;
6724
6724
  };
6725
6725
  const loader$h = async () => {
6726
- const { diagram: diagram2 } = await import("./flowDiagram-d464bd42.js");
6726
+ const { diagram: diagram2 } = await import("./flowDiagram-a2b06433.js");
6727
6727
  return { id: id$h, diagram: diagram2 };
6728
6728
  };
6729
6729
  const plugin$h = {
@@ -6744,7 +6744,7 @@ const detector$g = (txt, config2) => {
6744
6744
  return txt.match(/^\s*flowchart/) !== null;
6745
6745
  };
6746
6746
  const loader$g = async () => {
6747
- const { diagram: diagram2 } = await import("./flowDiagram-v2-1ce0105d.js");
6747
+ const { diagram: diagram2 } = await import("./flowDiagram-v2-9f8fab07.js");
6748
6748
  return { id: id$g, diagram: diagram2 };
6749
6749
  };
6750
6750
  const plugin$g = {
@@ -6758,7 +6758,7 @@ const detector$f = (txt) => {
6758
6758
  return txt.match(/^\s*erDiagram/) !== null;
6759
6759
  };
6760
6760
  const loader$f = async () => {
6761
- const { diagram: diagram2 } = await import("./erDiagram-ab11ddfc.js");
6761
+ const { diagram: diagram2 } = await import("./erDiagram-3f713c6a.js");
6762
6762
  return { id: id$f, diagram: diagram2 };
6763
6763
  };
6764
6764
  const plugin$f = {
@@ -6772,7 +6772,7 @@ const detector$e = (txt) => {
6772
6772
  return txt.match(/^\s*gitGraph/) !== null;
6773
6773
  };
6774
6774
  const loader$e = async () => {
6775
- const { diagram: diagram2 } = await import("./gitGraphDiagram-b84abfd6.js");
6775
+ const { diagram: diagram2 } = await import("./gitGraphDiagram-ac8b1a85.js");
6776
6776
  return { id: id$e, diagram: diagram2 };
6777
6777
  };
6778
6778
  const plugin$e = {
@@ -6786,7 +6786,7 @@ const detector$d = (txt) => {
6786
6786
  return txt.match(/^\s*gantt/) !== null;
6787
6787
  };
6788
6788
  const loader$d = async () => {
6789
- const { diagram: diagram2 } = await import("./ganttDiagram-e88daf67.js");
6789
+ const { diagram: diagram2 } = await import("./ganttDiagram-4e00717f.js");
6790
6790
  return { id: id$d, diagram: diagram2 };
6791
6791
  };
6792
6792
  const plugin$d = {
@@ -6800,7 +6800,7 @@ const detector$c = (txt) => {
6800
6800
  return txt.match(/^\s*info/) !== null;
6801
6801
  };
6802
6802
  const loader$c = async () => {
6803
- const { diagram: diagram2 } = await import("./infoDiagram-0421e9c9.js");
6803
+ const { diagram: diagram2 } = await import("./infoDiagram-bc0d5d92.js");
6804
6804
  return { id: id$c, diagram: diagram2 };
6805
6805
  };
6806
6806
  const plugin$c = {
@@ -6814,7 +6814,7 @@ const detector$b = (txt) => {
6814
6814
  return txt.match(/^\s*pie/) !== null;
6815
6815
  };
6816
6816
  const loader$b = async () => {
6817
- const { diagram: diagram2 } = await import("./pieDiagram-65c60a0f.js");
6817
+ const { diagram: diagram2 } = await import("./pieDiagram-c9e1e65d.js");
6818
6818
  return { id: id$b, diagram: diagram2 };
6819
6819
  };
6820
6820
  const plugin$b = {
@@ -6828,7 +6828,7 @@ const detector$a = (txt) => {
6828
6828
  return txt.match(/^\s*quadrantChart/) !== null;
6829
6829
  };
6830
6830
  const loader$a = async () => {
6831
- const { diagram: diagram2 } = await import("./quadrantDiagram-4b93bc7d.js");
6831
+ const { diagram: diagram2 } = await import("./quadrantDiagram-1ee9b076.js");
6832
6832
  return { id: id$a, diagram: diagram2 };
6833
6833
  };
6834
6834
  const plugin$a = {
@@ -6842,7 +6842,7 @@ const detector$9 = (txt) => {
6842
6842
  return txt.match(/^\s*requirement(Diagram)?/) !== null;
6843
6843
  };
6844
6844
  const loader$9 = async () => {
6845
- const { diagram: diagram2 } = await import("./requirementDiagram-75661920.js");
6845
+ const { diagram: diagram2 } = await import("./requirementDiagram-a1feb0ba.js");
6846
6846
  return { id: id$9, diagram: diagram2 };
6847
6847
  };
6848
6848
  const plugin$9 = {
@@ -6856,7 +6856,7 @@ const detector$8 = (txt) => {
6856
6856
  return txt.match(/^\s*sequenceDiagram/) !== null;
6857
6857
  };
6858
6858
  const loader$8 = async () => {
6859
- const { diagram: diagram2 } = await import("./sequenceDiagram-997764bf.js");
6859
+ const { diagram: diagram2 } = await import("./sequenceDiagram-4a53e255.js");
6860
6860
  return { id: id$8, diagram: diagram2 };
6861
6861
  };
6862
6862
  const plugin$8 = {
@@ -6874,7 +6874,7 @@ const detector$7 = (txt, config2) => {
6874
6874
  return txt.match(/^\s*classDiagram/) !== null;
6875
6875
  };
6876
6876
  const loader$7 = async () => {
6877
- const { diagram: diagram2 } = await import("./classDiagram-2b0c833c.js");
6877
+ const { diagram: diagram2 } = await import("./classDiagram-f9088573.js");
6878
6878
  return { id: id$7, diagram: diagram2 };
6879
6879
  };
6880
6880
  const plugin$7 = {
@@ -6892,7 +6892,7 @@ const detector$6 = (txt, config2) => {
6892
6892
  return txt.match(/^\s*classDiagram-v2/) !== null;
6893
6893
  };
6894
6894
  const loader$6 = async () => {
6895
- const { diagram: diagram2 } = await import("./classDiagram-v2-9f746d53.js");
6895
+ const { diagram: diagram2 } = await import("./classDiagram-v2-56d00918.js");
6896
6896
  return { id: id$6, diagram: diagram2 };
6897
6897
  };
6898
6898
  const plugin$6 = {
@@ -6910,7 +6910,7 @@ const detector$5 = (txt, config2) => {
6910
6910
  return txt.match(/^\s*stateDiagram/) !== null;
6911
6911
  };
6912
6912
  const loader$5 = async () => {
6913
- const { diagram: diagram2 } = await import("./stateDiagram-6af74882.js");
6913
+ const { diagram: diagram2 } = await import("./stateDiagram-a0ac330a.js");
6914
6914
  return { id: id$5, diagram: diagram2 };
6915
6915
  };
6916
6916
  const plugin$5 = {
@@ -6934,7 +6934,7 @@ const detector$4 = (text, config2) => {
6934
6934
  return false;
6935
6935
  };
6936
6936
  const loader$4 = async () => {
6937
- const { diagram: diagram2 } = await import("./stateDiagram-v2-38d85efb.js");
6937
+ const { diagram: diagram2 } = await import("./stateDiagram-v2-cfe94687.js");
6938
6938
  return { id: id$4, diagram: diagram2 };
6939
6939
  };
6940
6940
  const plugin$4 = {
@@ -6948,7 +6948,7 @@ const detector$3 = (txt) => {
6948
6948
  return txt.match(/^\s*journey/) !== null;
6949
6949
  };
6950
6950
  const loader$3 = async () => {
6951
- const { diagram: diagram2 } = await import("./journeyDiagram-92d61f4d.js");
6951
+ const { diagram: diagram2 } = await import("./journeyDiagram-b5476ffb.js");
6952
6952
  return { id: id$3, diagram: diagram2 };
6953
6953
  };
6954
6954
  const plugin$3 = {
@@ -7033,7 +7033,7 @@ const detector$2 = (txt, config2) => {
7033
7033
  return false;
7034
7034
  };
7035
7035
  const loader$2 = async () => {
7036
- const { diagram: diagram2 } = await import("./flowchart-elk-definition-d58ce1bb.js");
7036
+ const { diagram: diagram2 } = await import("./flowchart-elk-definition-5cf0e905.js");
7037
7037
  return { id: id$2, diagram: diagram2 };
7038
7038
  };
7039
7039
  const plugin$2 = {
@@ -7047,7 +7047,7 @@ const detector$1 = (txt) => {
7047
7047
  return txt.match(/^\s*timeline/) !== null;
7048
7048
  };
7049
7049
  const loader$1 = async () => {
7050
- const { diagram: diagram2 } = await import("./timeline-definition-4303c69e.js");
7050
+ const { diagram: diagram2 } = await import("./timeline-definition-4cdb07ca.js");
7051
7051
  return { id: id$1, diagram: diagram2 };
7052
7052
  };
7053
7053
  const plugin$1 = {
@@ -7061,7 +7061,7 @@ const detector = (txt) => {
7061
7061
  return txt.match(/^\s*mindmap/) !== null;
7062
7062
  };
7063
7063
  const loader = async () => {
7064
- const { diagram: diagram2 } = await import("./mindmap-definition-392181bc.js");
7064
+ const { diagram: diagram2 } = await import("./mindmap-definition-7c7f5519.js");
7065
7065
  return { id, diagram: diagram2 };
7066
7066
  };
7067
7067
  const plugin = {
@@ -7331,7 +7331,10 @@ const createUserStyles = (config2, graphType, classDefs, svgId) => {
7331
7331
  const cleanUpSvgCode = (svgCode = "", inSandboxMode, useArrowMarkerUrls) => {
7332
7332
  let cleanedUpSvg = svgCode;
7333
7333
  if (!useArrowMarkerUrls && !inSandboxMode) {
7334
- cleanedUpSvg = cleanedUpSvg.replace(/marker-end="url\(.*?#/g, 'marker-end="url(#');
7334
+ cleanedUpSvg = cleanedUpSvg.replace(
7335
+ /marker-end="url\([\d+./:=?A-Za-z-]*?#/g,
7336
+ 'marker-end="url(#'
7337
+ );
7335
7338
  }
7336
7339
  cleanedUpSvg = decodeEntities(cleanedUpSvg);
7337
7340
  cleanedUpSvg = cleanedUpSvg.replace(/<br>/g, "<br/>");
@@ -1,5 +1,5 @@
1
1
  import "ts-dedent";
2
- import { K } from "./mermaid-c798b724.js";
2
+ import { K } from "./mermaid-ddfd1cde.js";
3
3
  import "dayjs";
4
4
  import "@braintree/sanitize-url";
5
5
  import "d3";