mermaid 10.2.4 → 10.3.0-rc.1

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 (134) hide show
  1. package/LICENSE +21 -0
  2. package/dist/accessibility.d.ts +9 -9
  3. package/dist/arc-3e2a1ac6.js +84 -0
  4. package/dist/{arc-8bacdbdb.js → arc-f06282cb.js} +1 -1
  5. package/dist/{c4Diagram-80a4d5b6.js → c4Diagram-6b7649b3.js} +3 -3
  6. package/dist/{c4Diagram-060e9a0e.js → c4Diagram-cfb008df.js} +6 -6
  7. package/dist/{c4Diagram-73a25429.js → c4Diagram-ead0395f.js} +2 -2
  8. package/dist/{classDiagram-440b88cd.js → classDiagram-384143f9.js} +5 -5
  9. package/dist/{classDiagram-50a13b48.js → classDiagram-acdb93f7.js} +7 -7
  10. package/dist/{classDiagram-d26c05e1.js → classDiagram-bc4f4583.js} +3 -3
  11. package/dist/{classDiagram-v2-d771589e.js → classDiagram-v2-2f174508.js} +14 -14
  12. package/dist/{classDiagram-v2-3bf7b8a0.js → classDiagram-v2-6b653f01.js} +10 -10
  13. package/dist/{classDiagram-v2-656fc6c4.js → classDiagram-v2-ab4d2a7f.js} +6 -6
  14. package/dist/config.type.d.ts +939 -40
  15. package/dist/{createText-f11497a7.js → createText-1941d9ed.js} +84 -38
  16. package/dist/{createText-7fe61f7a.js → createText-df8b43d3.js} +649 -620
  17. package/dist/{createText-a49d2d2a.js → createText-f81967ad.js} +84 -38
  18. package/dist/defaultConfig.d.ts +5 -28
  19. package/dist/diagrams/gantt/ganttDb.d.ts +4 -0
  20. package/dist/diagrams/quadrant-chart/quadrantBuilder.d.ts +2 -2
  21. package/dist/diagrams/sankey/sankeyDB.d.ts +36 -0
  22. package/dist/diagrams/sankey/sankeyDetector.d.ts +3 -0
  23. package/dist/diagrams/sankey/sankeyDiagram.d.ts +2 -0
  24. package/dist/diagrams/sankey/sankeyRenderer.d.ts +14 -0
  25. package/dist/diagrams/sankey/sankeyUtils.d.ts +1 -0
  26. package/dist/diagrams/sequence/sequenceDb.d.ts +4 -0
  27. package/dist/diagrams/sequence/sequenceRenderer.d.ts +2 -2
  28. package/dist/diagrams/sequence/svgDraw.d.ts +2 -1
  29. package/dist/{edges-1a997dfb.js → edges-1f825538.js} +35 -26
  30. package/dist/{edges-66ea8538.js → edges-28b9b96b.js} +18 -9
  31. package/dist/{edges-1ceb0db9.js → edges-e23eb86c.js} +219 -212
  32. package/dist/{erDiagram-96f6e417.js → erDiagram-0057572e.js} +6 -6
  33. package/dist/{erDiagram-7c3fcf92.js → erDiagram-a68d44fe.js} +17 -17
  34. package/dist/{erDiagram-731c3598.js → erDiagram-d4f4192d.js} +2 -2
  35. package/dist/{flowDb-5c3f1e8c.js → flowDb-15b63d96.js} +168 -167
  36. package/dist/{flowDb-9e6c6aac.js → flowDb-8a2a4d75.js} +6 -3
  37. package/dist/{flowDb-cec399e2.js → flowDb-bcdba59d.js} +11 -8
  38. package/dist/{flowDiagram-b66fcae9.js → flowDiagram-56270e99.js} +7 -12
  39. package/dist/{flowDiagram-23e30ac7.js → flowDiagram-989edbf6.js} +25 -31
  40. package/dist/{flowDiagram-cee391fd.js → flowDiagram-f81baf82.js} +111 -117
  41. package/dist/{flowDiagram-v2-586230f7.js → flowDiagram-v2-080a26da.js} +9 -10
  42. package/dist/flowDiagram-v2-24c38341.js +23 -0
  43. package/dist/{flowDiagram-v2-fe64f300.js → flowDiagram-v2-fc94691d.js} +7 -7
  44. package/dist/{flowchart-elk-definition-7a16b501.js → flowchart-elk-definition-0fd3a6c8.js} +10 -10
  45. package/dist/{flowchart-elk-definition-8bb5cff5.js → flowchart-elk-definition-3a9d9612.js} +6 -6
  46. package/dist/{flowchart-elk-definition-ec654d50.js → flowchart-elk-definition-4d0b9581.js} +5 -5
  47. package/dist/ganttDiagram-078dced3.js +2548 -0
  48. package/dist/{ganttDiagram-4bd7e5ed.js → ganttDiagram-eafa8517.js} +138 -82
  49. package/dist/{ganttDiagram-55b9c28c.js → ganttDiagram-fcac8471.js} +127 -71
  50. package/dist/{gitGraphDiagram-566a7451.js → gitGraphDiagram-0252845e.js} +125 -37
  51. package/dist/{gitGraphDiagram-9c32cfbe.js → gitGraphDiagram-47a39f83.js} +440 -425
  52. package/dist/{gitGraphDiagram-1476080d.js → gitGraphDiagram-f927a64e.js} +125 -37
  53. package/dist/{index-745c9ffe.js → index-8e55d94b.js} +4 -4
  54. package/dist/{index-1e7f2254.js → index-de47a42b.js} +3 -3
  55. package/dist/{index-e316e81a.js → index-dfa28b7b.js} +6 -6
  56. package/dist/{infoDiagram-12c593c2.js → infoDiagram-2382d10c.js} +3 -3
  57. package/dist/{infoDiagram-8f094d68.js → infoDiagram-247d3791.js} +1 -1
  58. package/dist/{infoDiagram-f43c69c6.js → infoDiagram-c8c5636a.js} +1 -1
  59. package/dist/{journeyDiagram-bd53a0e6.js → journeyDiagram-11ee787a.js} +5 -7
  60. package/dist/{journeyDiagram-4f4351b8.js → journeyDiagram-42696f04.js} +1 -3
  61. package/dist/{journeyDiagram-cea58833.js → journeyDiagram-810a2964.js} +156 -159
  62. package/dist/{layout-b178bd1a.js → layout-0e71b7e8.js} +1 -1
  63. package/dist/{layout-de394db2.js → layout-5d919945.js} +1 -1
  64. package/dist/{line-cdde0d11.js → line-3993e10f.js} +1 -1
  65. package/dist/{line-d1abfd73.js → line-a7c75901.js} +1 -1
  66. package/dist/{linear-740b9032.js → linear-277748fd.js} +1 -1
  67. package/dist/{linear-d8b7ca63.js → linear-608e804c.js} +100 -100
  68. package/dist/{mermaid-be6aa4a6.js → mermaid-0be67144.js} +1626 -3089
  69. package/dist/{mermaid-aad43469.js → mermaid-1684d499.js} +572 -2033
  70. package/dist/{mermaid-bf016224.js → mermaid-8b72a9e1.js} +648 -2109
  71. package/dist/mermaid.core.mjs +1 -1
  72. package/dist/mermaid.esm.min.mjs +1 -1
  73. package/dist/mermaid.esm.mjs +1 -1
  74. package/dist/mermaid.js +4295 -4216
  75. package/dist/mermaid.min.js +188 -177
  76. package/dist/{mindmap-definition-976fcb28.js → mindmap-definition-743796fd.js} +4 -4
  77. package/dist/{mindmap-definition-89ece3a3.js → mindmap-definition-cff1510b.js} +3 -5
  78. package/dist/{mindmap-definition-814021a8.js → mindmap-definition-f5f1eed8.js} +38 -40
  79. package/dist/ordinal-475e0c0c.js +82 -0
  80. package/dist/ordinal-5695958c.js +65 -0
  81. package/dist/{pieDiagram-c8640b32.js → pieDiagram-2f2376c9.js} +1 -4
  82. package/dist/{pieDiagram-6cdb9dc1.js → pieDiagram-8255544c.js} +6 -86
  83. package/dist/{pieDiagram-c8232900.js → pieDiagram-e5bbf1a2.js} +205 -267
  84. package/dist/{quadrantDiagram-ddc12d4e.js → quadrantDiagram-4fb2122f.js} +4 -4
  85. package/dist/{quadrantDiagram-073c0def.js → quadrantDiagram-7f479fc6.js} +8 -8
  86. package/dist/{quadrantDiagram-f7a9076b.js → quadrantDiagram-94d73f21.js} +1 -1
  87. package/dist/rendering-util/createText.d.ts +9 -1
  88. package/dist/rendering-util/handle-markdown-text.d.ts +4 -7
  89. package/dist/rendering-util/splitText.d.ts +24 -0
  90. package/dist/rendering-util/splitText.spec.d.ts +1 -0
  91. package/dist/rendering-util/uid.d.ts +8 -0
  92. package/dist/{requirementDiagram-30be3ce3.js → requirementDiagram-67c21648.js} +5 -7
  93. package/dist/{requirementDiagram-9d898ddc.js → requirementDiagram-a11ff563.js} +64 -64
  94. package/dist/{requirementDiagram-429b9d18.js → requirementDiagram-c663a84e.js} +1 -3
  95. package/dist/sankeyDiagram-2b948158.js +649 -0
  96. package/dist/sankeyDiagram-5948b941.js +1194 -0
  97. package/dist/sankeyDiagram-cd82e998.js +822 -0
  98. package/dist/sequenceDiagram-6bb657c8.js +2210 -0
  99. package/dist/{sequenceDiagram-25e2353a.js → sequenceDiagram-92aaea03.js} +344 -178
  100. package/dist/{sequenceDiagram-9506b40c.js → sequenceDiagram-9b48e84d.js} +341 -174
  101. package/dist/{stateDiagram-0dc7ce84.js → stateDiagram-052d5cfe.js} +2 -12
  102. package/dist/{stateDiagram-cb3c1d96.js → stateDiagram-659d6d25.js} +119 -127
  103. package/dist/{stateDiagram-eb70e1ce.js → stateDiagram-d3ee3a5d.js} +6 -16
  104. package/dist/{stateDiagram-v2-e65458cd.js → stateDiagram-v2-4b07d4e3.js} +6 -6
  105. package/dist/{stateDiagram-v2-d433c073.js → stateDiagram-v2-4eed2be8.js} +10 -10
  106. package/dist/{stateDiagram-v2-fab09385.js → stateDiagram-v2-7faa0198.js} +13 -13
  107. package/dist/{styles-a893c203.js → styles-19e28d8d.js} +102 -97
  108. package/dist/{styles-452f304a.js → styles-5535d208.js} +19 -16
  109. package/dist/{styles-ebc10a39.js → styles-725daedd.js} +1 -1
  110. package/dist/{styles-ca8ceaa2.js → styles-7d968861.js} +138 -138
  111. package/dist/{styles-41b45f07.js → styles-81d618a0.js} +58 -55
  112. package/dist/{styles-7882abfe.js → styles-9b0d8ccd.js} +3 -3
  113. package/dist/{styles-b820c189.js → styles-a5a314ec.js} +1 -1
  114. package/dist/{styles-be2d7003.js → styles-a817739b.js} +1 -1
  115. package/dist/{styles-ee63b5dc.js → styles-cfd3488b.js} +107 -102
  116. package/dist/{svgDraw-3835dd7e.js → svgDraw-2d5bf763.js} +2 -2
  117. package/dist/{svgDraw-51404f3b.js → svgDraw-c3219d03.js} +14 -14
  118. package/dist/{svgDraw-95adee0a.js → svgDraw-d563164c.js} +1 -1
  119. package/dist/{svgDrawCommon-98448648.js → svgDrawCommon-8e1bc204.js} +1 -1
  120. package/dist/{svgDrawCommon-bca3f7ce.js → svgDrawCommon-a8ba4ee5.js} +1 -1
  121. package/dist/tests/MockedD3.d.ts +24 -23
  122. package/dist/{timeline-definition-2ae65266.js → timeline-definition-1928a0b4.js} +185 -186
  123. package/dist/{timeline-definition-d8415767.js → timeline-definition-337ee741.js} +8 -10
  124. package/dist/{timeline-definition-46a17596.js → timeline-definition-d8bf964a.js} +4 -6
  125. package/package.json +28 -17
  126. package/dist/arc-3976c622.js +0 -84
  127. package/dist/docs.d.mts +0 -30
  128. package/dist/flowDiagram-v2-ccf242f5.js +0 -24
  129. package/dist/ganttDiagram-770f21fb.js +0 -2499
  130. package/dist/selectAll-8725692e.js +0 -7
  131. package/dist/selectAll-b44befab.js +0 -7
  132. package/dist/sequenceDiagram-8f3ae6b9.js +0 -2103
  133. /package/dist/{diagrams/class/classDiagramGrammar.spec.d.ts → config.spec.d.ts} +0 -0
  134. /package/dist/{docs.spec.d.ts → diagrams/sankey/parser/sankey.spec.d.ts} +0 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 - 2022 Knut Sveidqvist
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,27 +1,27 @@
1
1
  /**
2
- * Accessibility (a11y) functions, types, helpers
2
+ * Accessibility (a11y) functions, types, helpers.
3
+ *
3
4
  * @see https://www.w3.org/WAI/
4
5
  * @see https://www.w3.org/TR/wai-aria-1.1/
5
6
  * @see https://www.w3.org/TR/svg-aam-1.0/
6
- *
7
7
  */
8
- import { D3Element } from './mermaidAPI.js';
8
+ import type { D3Element } from './mermaidAPI.js';
9
9
  /**
10
- * Add role and aria-roledescription to the svg element
10
+ * Add role and aria-roledescription to the svg element.
11
11
  *
12
12
  * @param svg - d3 object that contains the SVG HTML element
13
13
  * @param diagramType - diagram name for to the aria-roledescription
14
14
  */
15
- export declare function setA11yDiagramInfo(svg: D3Element, diagramType: string | null | undefined): void;
15
+ export declare function setA11yDiagramInfo(svg: D3Element, diagramType: string): void;
16
16
  /**
17
17
  * Add an accessible title and/or description element to a chart.
18
18
  * The title is usually not displayed and the description is never displayed.
19
19
  *
20
- * The following charts display their title as a visual and accessibility element: gantt
20
+ * The following charts display their title as a visual and accessibility element: gantt.
21
21
  *
22
22
  * @param svg - d3 node to insert the a11y title and desc info
23
- * @param a11yTitle - a11y title. null and undefined are meaningful: means to skip it
24
- * @param a11yDesc - a11y description. null and undefined are meaningful: means to skip it
23
+ * @param a11yTitle - a11y title. undefined or empty strings mean to skip them
24
+ * @param a11yDesc - a11y description. undefined or empty strings mean to skip them
25
25
  * @param baseId - id used to construct the a11y title and description id
26
26
  */
27
- export declare function addSVGa11yTitleDescription(svg: D3Element, a11yTitle: string | null | undefined, a11yDesc: string | null | undefined, baseId: string): void;
27
+ export declare function addSVGa11yTitleDescription(svg: D3Element, a11yTitle: string | undefined, a11yDesc: string | undefined, baseId: string): void;
@@ -0,0 +1,84 @@
1
+ import { c as J, p as sn } from "./constant-2fe7eae5.js";
2
+ import { aC as en, aD as y, V as ln, aE as N, aF as D, aG as V, aH as b, aI as an, aJ as rn, aK as t, aL as un, aM as on, aN as tn } from "./mermaid-0be67144.js";
3
+ function fn(l) {
4
+ return l.innerRadius;
5
+ }
6
+ function cn(l) {
7
+ return l.outerRadius;
8
+ }
9
+ function yn(l) {
10
+ return l.startAngle;
11
+ }
12
+ function gn(l) {
13
+ return l.endAngle;
14
+ }
15
+ function mn(l) {
16
+ return l && l.padAngle;
17
+ }
18
+ function pn(l, x, q, E, h, v, K, a) {
19
+ var s = q - l, n = E - x, m = K - h, i = a - v, r = i * s - m * n;
20
+ if (!(r * r < y))
21
+ return r = (m * (x - v) - i * (l - h)) / r, [l + r * s, x + r * n];
22
+ }
23
+ function U(l, x, q, E, h, v, K) {
24
+ var a = l - q, s = x - E, n = (K ? v : -v) / V(a * a + s * s), m = n * s, i = -n * a, r = l + m, f = x + i, c = q + m, w = E + i, o = (r + c) / 2, C = (f + w) / 2, p = c - r, g = w - f, A = p * p + g * g, F = h - v, P = r * w - c * f, G = (g < 0 ? -1 : 1) * V(tn(0, F * F * A - P * P)), H = (P * g - p * G) / A, d = (-P * p - g * G) / A, R = (P * g + p * G) / A, T = (-P * p + g * G) / A, e = H - o, u = d - C, L = R - o, M = T - C;
25
+ return e * e + u * u > L * L + M * M && (H = R, d = T), {
26
+ cx: H,
27
+ cy: d,
28
+ x01: -m,
29
+ y01: -i,
30
+ x11: H * (h / F - 1),
31
+ y11: d * (h / F - 1)
32
+ };
33
+ }
34
+ function hn() {
35
+ var l = fn, x = cn, q = J(0), E = null, h = yn, v = gn, K = mn, a = null;
36
+ function s() {
37
+ var n, m, i = +l.apply(this, arguments), r = +x.apply(this, arguments), f = h.apply(this, arguments) - en, c = v.apply(this, arguments) - en, w = an(c - f), o = c > f;
38
+ if (a || (a = n = sn()), r < i && (m = r, r = i, i = m), !(r > y))
39
+ a.moveTo(0, 0);
40
+ else if (w > ln - y)
41
+ a.moveTo(r * N(f), r * D(f)), a.arc(0, 0, r, f, c, !o), i > y && (a.moveTo(i * N(c), i * D(c)), a.arc(0, 0, i, c, f, o));
42
+ else {
43
+ var C = f, p = c, g = f, A = c, F = w, P = w, G = K.apply(this, arguments) / 2, H = G > y && (E ? +E.apply(this, arguments) : V(i * i + r * r)), d = b(an(r - i) / 2, +q.apply(this, arguments)), R = d, T = d, e, u;
44
+ if (H > y) {
45
+ var L = un(H / i * D(G)), M = un(H / r * D(G));
46
+ (F -= L * 2) > y ? (L *= o ? 1 : -1, g += L, A -= L) : (F = 0, g = A = (f + c) / 2), (P -= M * 2) > y ? (M *= o ? 1 : -1, C += M, p -= M) : (P = 0, C = p = (f + c) / 2);
47
+ }
48
+ var O = r * N(C), S = r * D(C), j = i * N(A), z = i * D(A);
49
+ if (d > y) {
50
+ var B = r * N(p), Q = r * D(p), W = i * N(g), X = i * D(g), I;
51
+ if (w < rn && (I = pn(O, S, W, X, B, Q, j, z))) {
52
+ var Y = O - I[0], Z = S - I[1], $ = B - I[0], k = Q - I[1], _ = 1 / D(on((Y * $ + Z * k) / (V(Y * Y + Z * Z) * V($ * $ + k * k))) / 2), nn = V(I[0] * I[0] + I[1] * I[1]);
53
+ R = b(d, (i - nn) / (_ - 1)), T = b(d, (r - nn) / (_ + 1));
54
+ }
55
+ }
56
+ P > y ? T > y ? (e = U(W, X, O, S, r, T, o), u = U(B, Q, j, z, r, T, o), a.moveTo(e.cx + e.x01, e.cy + e.y01), T < d ? a.arc(e.cx, e.cy, T, t(e.y01, e.x01), t(u.y01, u.x01), !o) : (a.arc(e.cx, e.cy, T, t(e.y01, e.x01), t(e.y11, e.x11), !o), a.arc(0, 0, r, t(e.cy + e.y11, e.cx + e.x11), t(u.cy + u.y11, u.cx + u.x11), !o), a.arc(u.cx, u.cy, T, t(u.y11, u.x11), t(u.y01, u.x01), !o))) : (a.moveTo(O, S), a.arc(0, 0, r, C, p, !o)) : a.moveTo(O, S), !(i > y) || !(F > y) ? a.lineTo(j, z) : R > y ? (e = U(j, z, B, Q, i, -R, o), u = U(O, S, W, X, i, -R, o), a.lineTo(e.cx + e.x01, e.cy + e.y01), R < d ? a.arc(e.cx, e.cy, R, t(e.y01, e.x01), t(u.y01, u.x01), !o) : (a.arc(e.cx, e.cy, R, t(e.y01, e.x01), t(e.y11, e.x11), !o), a.arc(0, 0, i, t(e.cy + e.y11, e.cx + e.x11), t(u.cy + u.y11, u.cx + u.x11), o), a.arc(u.cx, u.cy, R, t(u.y11, u.x11), t(u.y01, u.x01), !o))) : a.arc(0, 0, i, A, g, o);
57
+ }
58
+ if (a.closePath(), n)
59
+ return a = null, n + "" || null;
60
+ }
61
+ return s.centroid = function() {
62
+ var n = (+l.apply(this, arguments) + +x.apply(this, arguments)) / 2, m = (+h.apply(this, arguments) + +v.apply(this, arguments)) / 2 - rn / 2;
63
+ return [N(m) * n, D(m) * n];
64
+ }, s.innerRadius = function(n) {
65
+ return arguments.length ? (l = typeof n == "function" ? n : J(+n), s) : l;
66
+ }, s.outerRadius = function(n) {
67
+ return arguments.length ? (x = typeof n == "function" ? n : J(+n), s) : x;
68
+ }, s.cornerRadius = function(n) {
69
+ return arguments.length ? (q = typeof n == "function" ? n : J(+n), s) : q;
70
+ }, s.padRadius = function(n) {
71
+ return arguments.length ? (E = n == null ? null : typeof n == "function" ? n : J(+n), s) : E;
72
+ }, s.startAngle = function(n) {
73
+ return arguments.length ? (h = typeof n == "function" ? n : J(+n), s) : h;
74
+ }, s.endAngle = function(n) {
75
+ return arguments.length ? (v = typeof n == "function" ? n : J(+n), s) : v;
76
+ }, s.padAngle = function(n) {
77
+ return arguments.length ? (K = typeof n == "function" ? n : J(+n), s) : K;
78
+ }, s.context = function(n) {
79
+ return arguments.length ? (a = n ?? null, s) : a;
80
+ }, s;
81
+ }
82
+ export {
83
+ hn as d
84
+ };
@@ -1,5 +1,5 @@
1
1
  import { c as constant, p as path } from "./constant-b644328d.js";
2
- import { aC as halfPi, aD as epsilon, S as tau, aE as cos, aF as sin, aG as sqrt, aH as min, aI as abs, aJ as pi, aK as atan2, aL as asin, aM as acos, aN as max } from "./mermaid-bf016224.js";
2
+ import { aC as halfPi, aD as epsilon, V as tau, aE as cos, aF as sin, aG as sqrt, aH as min, aI as abs, aJ as pi, aK as atan2, aL as asin, aM as acos, aN as max } from "./mermaid-8b72a9e1.js";
3
3
  function arcInnerRadius(d) {
4
4
  return d.innerRadius;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { s as Ye, g as Ie, a as Ve, b as je, c as Ut, d as ve, m as Ue, e as Fe, f as le, h as Xe, i as Yt, j as Qt, l as _e, k as ze, w as We, n as xe } from "./mermaid-be6aa4a6.js";
2
- import { d as Qe, g as He } from "./svgDrawCommon-bca3f7ce.js";
1
+ import { s as Ye, g as Ie, a as Ve, b as je, c as Ut, d as ve, m as Ue, e as Fe, f as le, h as Xe, i as Yt, j as Qt, l as _e, k as ze, w as We, n as xe } from "./mermaid-0be67144.js";
2
+ import { d as Qe, g as He } from "./svgDrawCommon-a8ba4ee5.js";
3
3
  var qt = function() {
4
4
  var e = function(Ot, _, x, m) {
5
5
  for (x = x || {}, m = Ot.length; m--; x[Ot[m]] = _)
@@ -631,7 +631,7 @@ Expecting ` + Wt.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : re =
631
631
  }
632
632
  },
633
633
  rules: [/^(?:%%\{)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:((?:(?!\}%%)[^:.])*))/, /^(?::)/, /^(?:\}%%)/, /^(?:((?:(?!\}%%).|\n)*))/, /^(?:title\s[^#\n;]+)/, /^(?:accDescription\s[^#\n;]+)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:C4Context\b)/, /^(?:C4Container\b)/, /^(?:C4Component\b)/, /^(?:C4Dynamic\b)/, /^(?:C4Deployment\b)/, /^(?:Person_Ext\b)/, /^(?:Person\b)/, /^(?:SystemQueue_Ext\b)/, /^(?:SystemDb_Ext\b)/, /^(?:System_Ext\b)/, /^(?:SystemQueue\b)/, /^(?:SystemDb\b)/, /^(?:System\b)/, /^(?:Boundary\b)/, /^(?:Enterprise_Boundary\b)/, /^(?:System_Boundary\b)/, /^(?:ContainerQueue_Ext\b)/, /^(?:ContainerDb_Ext\b)/, /^(?:Container_Ext\b)/, /^(?:ContainerQueue\b)/, /^(?:ContainerDb\b)/, /^(?:Container\b)/, /^(?:Container_Boundary\b)/, /^(?:ComponentQueue_Ext\b)/, /^(?:ComponentDb_Ext\b)/, /^(?:Component_Ext\b)/, /^(?:ComponentQueue\b)/, /^(?:ComponentDb\b)/, /^(?:Component\b)/, /^(?:Deployment_Node\b)/, /^(?:Node\b)/, /^(?:Node_L\b)/, /^(?:Node_R\b)/, /^(?:Rel\b)/, /^(?:BiRel\b)/, /^(?:Rel_Up\b)/, /^(?:Rel_U\b)/, /^(?:Rel_Down\b)/, /^(?:Rel_D\b)/, /^(?:Rel_Left\b)/, /^(?:Rel_L\b)/, /^(?:Rel_Right\b)/, /^(?:Rel_R\b)/, /^(?:Rel_Back\b)/, /^(?:RelIndex\b)/, /^(?:UpdateElementStyle\b)/, /^(?:UpdateRelStyle\b)/, /^(?:UpdateLayoutConfig\b)/, /^(?:$)/, /^(?:[(][ ]*[,])/, /^(?:[(])/, /^(?:[)])/, /^(?:,,)/, /^(?:,)/, /^(?:[ ]*["]["])/, /^(?:[ ]*["])/, /^(?:["])/, /^(?:[^"]*)/, /^(?:[ ]*[\$])/, /^(?:[^=]*)/, /^(?:[=][ ]*["])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:[^,]+)/, /^(?:\{)/, /^(?:\})/, /^(?:[\s]+)/, /^(?:[\n\r]+)/, /^(?:$)/],
634
- conditions: { acc_descr_multiline: { rules: [16, 17], inclusive: !1 }, acc_descr: { rules: [14], inclusive: !1 }, acc_title: { rules: [12], inclusive: !1 }, close_directive: { rules: [], inclusive: !1 }, arg_directive: { rules: [7, 8], inclusive: !1 }, type_directive: { rules: [6, 7], inclusive: !1 }, open_directive: { rules: [5], inclusive: !1 }, string_kv_value: { rules: [83, 84], inclusive: !1 }, string_kv_key: { rules: [82], inclusive: !1 }, string_kv: { rules: [81], inclusive: !1 }, string: { rules: [78, 79], inclusive: !1 }, attribute: { rules: [73, 74, 75, 76, 77, 80, 85], inclusive: !1 }, update_layout_config: { rules: [70, 71, 72, 73], inclusive: !1 }, update_rel_style: { rules: [70, 71, 72, 73], inclusive: !1 }, update_el_style: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_b: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_r: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_l: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_d: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_u: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_bi: { rules: [], inclusive: !1 }, rel: { rules: [70, 71, 72, 73], inclusive: !1 }, node_r: { rules: [70, 71, 72, 73], inclusive: !1 }, node_l: { rules: [70, 71, 72, 73], inclusive: !1 }, node: { rules: [70, 71, 72, 73], inclusive: !1 }, index: { rules: [], inclusive: !1 }, rel_index: { rules: [70, 71, 72, 73], inclusive: !1 }, component_ext_queue: { rules: [], inclusive: !1 }, component_ext_db: { rules: [70, 71, 72, 73], inclusive: !1 }, component_ext: { rules: [70, 71, 72, 73], inclusive: !1 }, component_queue: { rules: [70, 71, 72, 73], inclusive: !1 }, component_db: { rules: [70, 71, 72, 73], inclusive: !1 }, component: { rules: [70, 71, 72, 73], inclusive: !1 }, container_boundary: { rules: [70, 71, 72, 73], inclusive: !1 }, container_ext_queue: { rules: [], inclusive: !1 }, container_ext_db: { rules: [70, 71, 72, 73], inclusive: !1 }, container_ext: { rules: [70, 71, 72, 73], inclusive: !1 }, container_queue: { rules: [70, 71, 72, 73], inclusive: !1 }, container_db: { rules: [70, 71, 72, 73], inclusive: !1 }, container: { rules: [70, 71, 72, 73], inclusive: !1 }, birel: { rules: [70, 71, 72, 73], inclusive: !1 }, system_boundary: { rules: [70, 71, 72, 73], inclusive: !1 }, enterprise_boundary: { rules: [70, 71, 72, 73], inclusive: !1 }, boundary: { rules: [70, 71, 72, 73], inclusive: !1 }, system_ext_queue: { rules: [70, 71, 72, 73], inclusive: !1 }, system_ext_db: { rules: [70, 71, 72, 73], inclusive: !1 }, system_ext: { rules: [70, 71, 72, 73], inclusive: !1 }, system_queue: { rules: [70, 71, 72, 73], inclusive: !1 }, system_db: { rules: [70, 71, 72, 73], inclusive: !1 }, system: { rules: [70, 71, 72, 73], inclusive: !1 }, person_ext: { rules: [70, 71, 72, 73], inclusive: !1 }, person: { rules: [70, 71, 72, 73], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 9, 10, 11, 13, 15, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 86, 87, 88, 89, 90], inclusive: !0 } }
634
+ conditions: { acc_descr_multiline: { rules: [16, 17], inclusive: !1 }, acc_descr: { rules: [14], inclusive: !1 }, acc_title: { rules: [12], inclusive: !1 }, close_directive: { rules: [], inclusive: !1 }, arg_directive: { rules: [7, 8], inclusive: !1 }, type_directive: { rules: [6, 7], inclusive: !1 }, open_directive: { rules: [5], inclusive: !1 }, string_kv_value: { rules: [83, 84], inclusive: !1 }, string_kv_key: { rules: [82], inclusive: !1 }, string_kv: { rules: [81], inclusive: !1 }, string: { rules: [78, 79], inclusive: !1 }, attribute: { rules: [73, 74, 75, 76, 77, 80, 85], inclusive: !1 }, update_layout_config: { rules: [70, 71, 72, 73], inclusive: !1 }, update_rel_style: { rules: [70, 71, 72, 73], inclusive: !1 }, update_el_style: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_b: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_r: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_l: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_d: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_u: { rules: [70, 71, 72, 73], inclusive: !1 }, rel_bi: { rules: [], inclusive: !1 }, rel: { rules: [70, 71, 72, 73], inclusive: !1 }, node_r: { rules: [70, 71, 72, 73], inclusive: !1 }, node_l: { rules: [70, 71, 72, 73], inclusive: !1 }, node: { rules: [70, 71, 72, 73], inclusive: !1 }, index: { rules: [], inclusive: !1 }, rel_index: { rules: [70, 71, 72, 73], inclusive: !1 }, component_ext_queue: { rules: [], inclusive: !1 }, component_ext_db: { rules: [70, 71, 72, 73], inclusive: !1 }, component_ext: { rules: [70, 71, 72, 73], inclusive: !1 }, component_queue: { rules: [70, 71, 72, 73], inclusive: !1 }, component_db: { rules: [70, 71, 72, 73], inclusive: !1 }, component: { rules: [70, 71, 72, 73], inclusive: !1 }, container_boundary: { rules: [70, 71, 72, 73], inclusive: !1 }, container_ext_queue: { rules: [70, 71, 72, 73], inclusive: !1 }, container_ext_db: { rules: [70, 71, 72, 73], inclusive: !1 }, container_ext: { rules: [70, 71, 72, 73], inclusive: !1 }, container_queue: { rules: [70, 71, 72, 73], inclusive: !1 }, container_db: { rules: [70, 71, 72, 73], inclusive: !1 }, container: { rules: [70, 71, 72, 73], inclusive: !1 }, birel: { rules: [70, 71, 72, 73], inclusive: !1 }, system_boundary: { rules: [70, 71, 72, 73], inclusive: !1 }, enterprise_boundary: { rules: [70, 71, 72, 73], inclusive: !1 }, boundary: { rules: [70, 71, 72, 73], inclusive: !1 }, system_ext_queue: { rules: [70, 71, 72, 73], inclusive: !1 }, system_ext_db: { rules: [70, 71, 72, 73], inclusive: !1 }, system_ext: { rules: [70, 71, 72, 73], inclusive: !1 }, system_queue: { rules: [70, 71, 72, 73], inclusive: !1 }, system_db: { rules: [70, 71, 72, 73], inclusive: !1 }, system: { rules: [70, 71, 72, 73], inclusive: !1 }, person_ext: { rules: [70, 71, 72, 73], inclusive: !1 }, person: { rules: [70, 71, 72, 73], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 9, 10, 11, 13, 15, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 86, 87, 88, 89, 90], inclusive: !0 } }
635
635
  };
636
636
  return Ot;
637
637
  }();
@@ -1,5 +1,5 @@
1
- import { s as setAccTitle, g as getAccTitle, a as getAccDescription, b as setAccDescription, c as getConfig, d as sanitizeText, m as mermaidAPI, e as sanitizeUrl_1, f as common, h as assignWithDepth, i as calculateTextWidth, j as select, l as log, k as configureSvgSize, w as wrapLabel, n as calculateTextHeight } from "./mermaid-bf016224.js";
2
- import { d as drawRect$1, g as getNoteRect } from "./svgDrawCommon-98448648.js";
1
+ import { s as setAccTitle, g as getAccTitle, a as getAccDescription, b as setAccDescription, c as getConfig, d as sanitizeText, m as mermaidAPI, e as sanitizeUrl_1, f as common, h as assignWithDepth, i as calculateTextWidth, j as d3select, l as log, k as configureSvgSize, w as wrapLabel, n as calculateTextHeight } from "./mermaid-8b72a9e1.js";
2
+ import { d as drawRect$1, g as getNoteRect } from "./svgDrawCommon-8e1bc204.js";
3
3
  var parser = function() {
4
4
  var o = function(k, v, o2, l) {
5
5
  for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v)
@@ -916,7 +916,7 @@ var parser = function() {
916
916
  }
917
917
  },
918
918
  rules: [/^(?:%%\{)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:((?:(?!\}%%)[^:.])*))/, /^(?::)/, /^(?:\}%%)/, /^(?:((?:(?!\}%%).|\n)*))/, /^(?:title\s[^#\n;]+)/, /^(?:accDescription\s[^#\n;]+)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:C4Context\b)/, /^(?:C4Container\b)/, /^(?:C4Component\b)/, /^(?:C4Dynamic\b)/, /^(?:C4Deployment\b)/, /^(?:Person_Ext\b)/, /^(?:Person\b)/, /^(?:SystemQueue_Ext\b)/, /^(?:SystemDb_Ext\b)/, /^(?:System_Ext\b)/, /^(?:SystemQueue\b)/, /^(?:SystemDb\b)/, /^(?:System\b)/, /^(?:Boundary\b)/, /^(?:Enterprise_Boundary\b)/, /^(?:System_Boundary\b)/, /^(?:ContainerQueue_Ext\b)/, /^(?:ContainerDb_Ext\b)/, /^(?:Container_Ext\b)/, /^(?:ContainerQueue\b)/, /^(?:ContainerDb\b)/, /^(?:Container\b)/, /^(?:Container_Boundary\b)/, /^(?:ComponentQueue_Ext\b)/, /^(?:ComponentDb_Ext\b)/, /^(?:Component_Ext\b)/, /^(?:ComponentQueue\b)/, /^(?:ComponentDb\b)/, /^(?:Component\b)/, /^(?:Deployment_Node\b)/, /^(?:Node\b)/, /^(?:Node_L\b)/, /^(?:Node_R\b)/, /^(?:Rel\b)/, /^(?:BiRel\b)/, /^(?:Rel_Up\b)/, /^(?:Rel_U\b)/, /^(?:Rel_Down\b)/, /^(?:Rel_D\b)/, /^(?:Rel_Left\b)/, /^(?:Rel_L\b)/, /^(?:Rel_Right\b)/, /^(?:Rel_R\b)/, /^(?:Rel_Back\b)/, /^(?:RelIndex\b)/, /^(?:UpdateElementStyle\b)/, /^(?:UpdateRelStyle\b)/, /^(?:UpdateLayoutConfig\b)/, /^(?:$)/, /^(?:[(][ ]*[,])/, /^(?:[(])/, /^(?:[)])/, /^(?:,,)/, /^(?:,)/, /^(?:[ ]*["]["])/, /^(?:[ ]*["])/, /^(?:["])/, /^(?:[^"]*)/, /^(?:[ ]*[\$])/, /^(?:[^=]*)/, /^(?:[=][ ]*["])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:[^,]+)/, /^(?:\{)/, /^(?:\})/, /^(?:[\s]+)/, /^(?:[\n\r]+)/, /^(?:$)/],
919
- conditions: { "acc_descr_multiline": { "rules": [16, 17], "inclusive": false }, "acc_descr": { "rules": [14], "inclusive": false }, "acc_title": { "rules": [12], "inclusive": false }, "close_directive": { "rules": [], "inclusive": false }, "arg_directive": { "rules": [7, 8], "inclusive": false }, "type_directive": { "rules": [6, 7], "inclusive": false }, "open_directive": { "rules": [5], "inclusive": false }, "string_kv_value": { "rules": [83, 84], "inclusive": false }, "string_kv_key": { "rules": [82], "inclusive": false }, "string_kv": { "rules": [81], "inclusive": false }, "string": { "rules": [78, 79], "inclusive": false }, "attribute": { "rules": [73, 74, 75, 76, 77, 80, 85], "inclusive": false }, "update_layout_config": { "rules": [70, 71, 72, 73], "inclusive": false }, "update_rel_style": { "rules": [70, 71, 72, 73], "inclusive": false }, "update_el_style": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_b": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_r": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_l": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_d": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_u": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_bi": { "rules": [], "inclusive": false }, "rel": { "rules": [70, 71, 72, 73], "inclusive": false }, "node_r": { "rules": [70, 71, 72, 73], "inclusive": false }, "node_l": { "rules": [70, 71, 72, 73], "inclusive": false }, "node": { "rules": [70, 71, 72, 73], "inclusive": false }, "index": { "rules": [], "inclusive": false }, "rel_index": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_ext_queue": { "rules": [], "inclusive": false }, "component_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "component": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_ext_queue": { "rules": [], "inclusive": false }, "container_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "container": { "rules": [70, 71, 72, 73], "inclusive": false }, "birel": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "enterprise_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "system": { "rules": [70, 71, 72, 73], "inclusive": false }, "person_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "person": { "rules": [70, 71, 72, 73], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 9, 10, 11, 13, 15, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 86, 87, 88, 89, 90], "inclusive": true } }
919
+ conditions: { "acc_descr_multiline": { "rules": [16, 17], "inclusive": false }, "acc_descr": { "rules": [14], "inclusive": false }, "acc_title": { "rules": [12], "inclusive": false }, "close_directive": { "rules": [], "inclusive": false }, "arg_directive": { "rules": [7, 8], "inclusive": false }, "type_directive": { "rules": [6, 7], "inclusive": false }, "open_directive": { "rules": [5], "inclusive": false }, "string_kv_value": { "rules": [83, 84], "inclusive": false }, "string_kv_key": { "rules": [82], "inclusive": false }, "string_kv": { "rules": [81], "inclusive": false }, "string": { "rules": [78, 79], "inclusive": false }, "attribute": { "rules": [73, 74, 75, 76, 77, 80, 85], "inclusive": false }, "update_layout_config": { "rules": [70, 71, 72, 73], "inclusive": false }, "update_rel_style": { "rules": [70, 71, 72, 73], "inclusive": false }, "update_el_style": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_b": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_r": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_l": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_d": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_u": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_bi": { "rules": [], "inclusive": false }, "rel": { "rules": [70, 71, 72, 73], "inclusive": false }, "node_r": { "rules": [70, 71, 72, 73], "inclusive": false }, "node_l": { "rules": [70, 71, 72, 73], "inclusive": false }, "node": { "rules": [70, 71, 72, 73], "inclusive": false }, "index": { "rules": [], "inclusive": false }, "rel_index": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_ext_queue": { "rules": [], "inclusive": false }, "component_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "component": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_ext_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "container": { "rules": [70, 71, 72, 73], "inclusive": false }, "birel": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "enterprise_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "system": { "rules": [70, 71, 72, 73], "inclusive": false }, "person_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "person": { "rules": [70, 71, 72, 73], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 9, 10, 11, 13, 15, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 86, 87, 88, 89, 90], "inclusive": true } }
920
920
  };
921
921
  return lexer2;
922
922
  }();
@@ -2418,15 +2418,15 @@ const draw = function(_text, id, _version, diagObj) {
2418
2418
  const securityLevel = getConfig().securityLevel;
2419
2419
  let sandboxElement;
2420
2420
  if (securityLevel === "sandbox") {
2421
- sandboxElement = select("#i" + id);
2421
+ sandboxElement = d3select("#i" + id);
2422
2422
  }
2423
- const root = securityLevel === "sandbox" ? select(sandboxElement.nodes()[0].contentDocument.body) : select("body");
2423
+ const root = securityLevel === "sandbox" ? d3select(sandboxElement.nodes()[0].contentDocument.body) : d3select("body");
2424
2424
  let db = diagObj.db;
2425
2425
  diagObj.db.setWrap(conf.wrap);
2426
2426
  c4ShapeInRow = db.getC4ShapeInRow();
2427
2427
  c4BoundaryInRow = db.getC4BoundaryInRow();
2428
2428
  log.debug(`C:${JSON.stringify(conf, null, 2)}`);
2429
- const diagram2 = securityLevel === "sandbox" ? root.select(`[id="${id}"]`) : select(`[id="${id}"]`);
2429
+ const diagram2 = securityLevel === "sandbox" ? root.select(`[id="${id}"]`) : d3select(`[id="${id}"]`);
2430
2430
  svgDraw.insertComputerIcon(diagram2);
2431
2431
  svgDraw.insertDatabaseIcon(diagram2);
2432
2432
  svgDraw.insertClockIcon(diagram2);
@@ -1,4 +1,4 @@
1
- import { s as setAccTitle, g as getAccTitle, a as getAccDescription, b as setAccDescription, c as getConfig, d as sanitizeText, m as mermaidAPI, e as common, f as assignWithDepth, h as calculateTextWidth, l as log, i as configureSvgSize, w as wrapLabel, j as calculateTextHeight } from "./mermaid-aad43469.js";
1
+ import { s as setAccTitle, g as getAccTitle, a as getAccDescription, b as setAccDescription, c as getConfig, d as sanitizeText, m as mermaidAPI, e as common, f as assignWithDepth, h as calculateTextWidth, l as log, i as configureSvgSize, w as wrapLabel, j as calculateTextHeight } from "./mermaid-1684d499.js";
2
2
  import { select } from "d3";
3
3
  import { d as drawRect$1, g as getNoteRect } from "./svgDrawCommon-f26cad39.js";
4
4
  import { sanitizeUrl } from "@braintree/sanitize-url";
@@ -925,7 +925,7 @@ var parser = function() {
925
925
  }
926
926
  },
927
927
  rules: [/^(?:%%\{)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:((?:(?!\}%%)[^:.])*))/, /^(?::)/, /^(?:\}%%)/, /^(?:((?:(?!\}%%).|\n)*))/, /^(?:title\s[^#\n;]+)/, /^(?:accDescription\s[^#\n;]+)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:C4Context\b)/, /^(?:C4Container\b)/, /^(?:C4Component\b)/, /^(?:C4Dynamic\b)/, /^(?:C4Deployment\b)/, /^(?:Person_Ext\b)/, /^(?:Person\b)/, /^(?:SystemQueue_Ext\b)/, /^(?:SystemDb_Ext\b)/, /^(?:System_Ext\b)/, /^(?:SystemQueue\b)/, /^(?:SystemDb\b)/, /^(?:System\b)/, /^(?:Boundary\b)/, /^(?:Enterprise_Boundary\b)/, /^(?:System_Boundary\b)/, /^(?:ContainerQueue_Ext\b)/, /^(?:ContainerDb_Ext\b)/, /^(?:Container_Ext\b)/, /^(?:ContainerQueue\b)/, /^(?:ContainerDb\b)/, /^(?:Container\b)/, /^(?:Container_Boundary\b)/, /^(?:ComponentQueue_Ext\b)/, /^(?:ComponentDb_Ext\b)/, /^(?:Component_Ext\b)/, /^(?:ComponentQueue\b)/, /^(?:ComponentDb\b)/, /^(?:Component\b)/, /^(?:Deployment_Node\b)/, /^(?:Node\b)/, /^(?:Node_L\b)/, /^(?:Node_R\b)/, /^(?:Rel\b)/, /^(?:BiRel\b)/, /^(?:Rel_Up\b)/, /^(?:Rel_U\b)/, /^(?:Rel_Down\b)/, /^(?:Rel_D\b)/, /^(?:Rel_Left\b)/, /^(?:Rel_L\b)/, /^(?:Rel_Right\b)/, /^(?:Rel_R\b)/, /^(?:Rel_Back\b)/, /^(?:RelIndex\b)/, /^(?:UpdateElementStyle\b)/, /^(?:UpdateRelStyle\b)/, /^(?:UpdateLayoutConfig\b)/, /^(?:$)/, /^(?:[(][ ]*[,])/, /^(?:[(])/, /^(?:[)])/, /^(?:,,)/, /^(?:,)/, /^(?:[ ]*["]["])/, /^(?:[ ]*["])/, /^(?:["])/, /^(?:[^"]*)/, /^(?:[ ]*[\$])/, /^(?:[^=]*)/, /^(?:[=][ ]*["])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:[^,]+)/, /^(?:\{)/, /^(?:\})/, /^(?:[\s]+)/, /^(?:[\n\r]+)/, /^(?:$)/],
928
- conditions: { "acc_descr_multiline": { "rules": [16, 17], "inclusive": false }, "acc_descr": { "rules": [14], "inclusive": false }, "acc_title": { "rules": [12], "inclusive": false }, "close_directive": { "rules": [], "inclusive": false }, "arg_directive": { "rules": [7, 8], "inclusive": false }, "type_directive": { "rules": [6, 7], "inclusive": false }, "open_directive": { "rules": [5], "inclusive": false }, "string_kv_value": { "rules": [83, 84], "inclusive": false }, "string_kv_key": { "rules": [82], "inclusive": false }, "string_kv": { "rules": [81], "inclusive": false }, "string": { "rules": [78, 79], "inclusive": false }, "attribute": { "rules": [73, 74, 75, 76, 77, 80, 85], "inclusive": false }, "update_layout_config": { "rules": [70, 71, 72, 73], "inclusive": false }, "update_rel_style": { "rules": [70, 71, 72, 73], "inclusive": false }, "update_el_style": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_b": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_r": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_l": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_d": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_u": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_bi": { "rules": [], "inclusive": false }, "rel": { "rules": [70, 71, 72, 73], "inclusive": false }, "node_r": { "rules": [70, 71, 72, 73], "inclusive": false }, "node_l": { "rules": [70, 71, 72, 73], "inclusive": false }, "node": { "rules": [70, 71, 72, 73], "inclusive": false }, "index": { "rules": [], "inclusive": false }, "rel_index": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_ext_queue": { "rules": [], "inclusive": false }, "component_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "component": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_ext_queue": { "rules": [], "inclusive": false }, "container_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "container": { "rules": [70, 71, 72, 73], "inclusive": false }, "birel": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "enterprise_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "system": { "rules": [70, 71, 72, 73], "inclusive": false }, "person_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "person": { "rules": [70, 71, 72, 73], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 9, 10, 11, 13, 15, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 86, 87, 88, 89, 90], "inclusive": true } }
928
+ conditions: { "acc_descr_multiline": { "rules": [16, 17], "inclusive": false }, "acc_descr": { "rules": [14], "inclusive": false }, "acc_title": { "rules": [12], "inclusive": false }, "close_directive": { "rules": [], "inclusive": false }, "arg_directive": { "rules": [7, 8], "inclusive": false }, "type_directive": { "rules": [6, 7], "inclusive": false }, "open_directive": { "rules": [5], "inclusive": false }, "string_kv_value": { "rules": [83, 84], "inclusive": false }, "string_kv_key": { "rules": [82], "inclusive": false }, "string_kv": { "rules": [81], "inclusive": false }, "string": { "rules": [78, 79], "inclusive": false }, "attribute": { "rules": [73, 74, 75, 76, 77, 80, 85], "inclusive": false }, "update_layout_config": { "rules": [70, 71, 72, 73], "inclusive": false }, "update_rel_style": { "rules": [70, 71, 72, 73], "inclusive": false }, "update_el_style": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_b": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_r": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_l": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_d": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_u": { "rules": [70, 71, 72, 73], "inclusive": false }, "rel_bi": { "rules": [], "inclusive": false }, "rel": { "rules": [70, 71, 72, 73], "inclusive": false }, "node_r": { "rules": [70, 71, 72, 73], "inclusive": false }, "node_l": { "rules": [70, 71, 72, 73], "inclusive": false }, "node": { "rules": [70, 71, 72, 73], "inclusive": false }, "index": { "rules": [], "inclusive": false }, "rel_index": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_ext_queue": { "rules": [], "inclusive": false }, "component_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "component_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "component": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_ext_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "container_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "container": { "rules": [70, 71, 72, 73], "inclusive": false }, "birel": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "enterprise_boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "boundary": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_queue": { "rules": [70, 71, 72, 73], "inclusive": false }, "system_db": { "rules": [70, 71, 72, 73], "inclusive": false }, "system": { "rules": [70, 71, 72, 73], "inclusive": false }, "person_ext": { "rules": [70, 71, 72, 73], "inclusive": false }, "person": { "rules": [70, 71, 72, 73], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 9, 10, 11, 13, 15, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 86, 87, 88, 89, 90], "inclusive": true } }
929
929
  };
930
930
  return lexer2;
931
931
  }();
@@ -1,8 +1,8 @@
1
- import { p as W, d as M, s as H } from "./styles-ca8ceaa2.js";
2
- import { c as S, l as d, j as m, k as X } from "./mermaid-be6aa4a6.js";
3
- import { G as Y, l as Z } from "./layout-b178bd1a.js";
4
- import { s as l } from "./svgDraw-51404f3b.js";
5
- import "./line-d1abfd73.js";
1
+ import { p as W, d as M, s as H } from "./styles-7d968861.js";
2
+ import { c as S, l as d, j as m, k as X } from "./mermaid-0be67144.js";
3
+ import { G as Y, l as Z } from "./layout-0e71b7e8.js";
4
+ import { s as l } from "./svgDraw-c3219d03.js";
5
+ import "./line-a7c75901.js";
6
6
  import "./array-2ff2c7a6.js";
7
7
  import "./constant-2fe7eae5.js";
8
8
  let h = {};
@@ -1,8 +1,8 @@
1
- import { p as parser, d as db, s as styles } from "./styles-ee63b5dc.js";
2
- import { c as getConfig, l as log, j as select, k as configureSvgSize } from "./mermaid-bf016224.js";
3
- import { G as Graph, l as layout } from "./layout-de394db2.js";
4
- import { s as svgDraw } from "./svgDraw-3835dd7e.js";
5
- import "./line-cdde0d11.js";
1
+ import { p as parser, d as db, s as styles } from "./styles-cfd3488b.js";
2
+ import { c as getConfig, l as log, j as d3select, k as configureSvgSize } from "./mermaid-8b72a9e1.js";
3
+ import { G as Graph, l as layout } from "./layout-5d919945.js";
4
+ import { s as svgDraw } from "./svgDraw-2d5bf763.js";
5
+ import "./line-3993e10f.js";
6
6
  import "./array-b7dcf730.js";
7
7
  import "./constant-b644328d.js";
8
8
  let idCache = {};
@@ -30,9 +30,9 @@ const draw = function(text, id, _version, diagObj) {
30
30
  const securityLevel = getConfig().securityLevel;
31
31
  let sandboxElement;
32
32
  if (securityLevel === "sandbox") {
33
- sandboxElement = select("#i" + id);
33
+ sandboxElement = d3select("#i" + id);
34
34
  }
35
- const root = securityLevel === "sandbox" ? select(sandboxElement.nodes()[0].contentDocument.body) : select("body");
35
+ const root = securityLevel === "sandbox" ? d3select(sandboxElement.nodes()[0].contentDocument.body) : d3select("body");
36
36
  const diagram2 = root.select(`[id='${id}']`);
37
37
  insertMarkers(diagram2);
38
38
  const g = new Graph({
@@ -1,9 +1,9 @@
1
- import { p as parser, d as db, s as styles } from "./styles-a893c203.js";
1
+ import { p as parser, d as db, s as styles } from "./styles-19e28d8d.js";
2
2
  import { select } from "d3";
3
3
  import { layout } from "dagre-d3-es/src/dagre/index.js";
4
4
  import * as graphlib from "dagre-d3-es/src/graphlib/index.js";
5
- import { c as getConfig, l as log, i as configureSvgSize } from "./mermaid-aad43469.js";
6
- import { s as svgDraw } from "./svgDraw-95adee0a.js";
5
+ import { c as getConfig, l as log, i as configureSvgSize } from "./mermaid-1684d499.js";
6
+ import { s as svgDraw } from "./svgDraw-d563164c.js";
7
7
  import "ts-dedent";
8
8
  import "dayjs";
9
9
  import "@braintree/sanitize-url";
@@ -1,11 +1,11 @@
1
- import { p as R, d as N, s as B } from "./styles-ca8ceaa2.js";
2
- import { l as c, c as r, j as k, x as G, t as _, r as E, o as C, p as z, f as A } from "./mermaid-be6aa4a6.js";
3
- import { G as P } from "./layout-b178bd1a.js";
4
- import { r as $ } from "./index-745c9ffe.js";
5
- import "./edges-1ceb0db9.js";
6
- import "./createText-7fe61f7a.js";
7
- import "./svgDraw-51404f3b.js";
8
- import "./line-d1abfd73.js";
1
+ import { p as R, d as N, s as B } from "./styles-7d968861.js";
2
+ import { l as c, c as r, j as k, z as G, t as _, r as E, o as C, p as z, f as A } from "./mermaid-0be67144.js";
3
+ import { G as P } from "./layout-0e71b7e8.js";
4
+ import { r as $ } from "./index-8e55d94b.js";
5
+ import "./edges-e23eb86c.js";
6
+ import "./createText-df8b43d3.js";
7
+ import "./svgDraw-c3219d03.js";
8
+ import "./line-a7c75901.js";
9
9
  import "./array-2ff2c7a6.js";
10
10
  import "./constant-2fe7eae5.js";
11
11
  const S = (o) => A.sanitizeText(o, r());
@@ -58,7 +58,7 @@ const q = function(o, t, p, n) {
58
58
  });
59
59
  }, F = function(o, t, p, n) {
60
60
  c.info(o), o.forEach(function(e, s) {
61
- var m, g;
61
+ var m, x;
62
62
  const l = e, a = "", i = { labelStyle: "", style: "" }, y = l.text, d = 0, f = "note", h = {
63
63
  labelStyle: i.labelStyle,
64
64
  shape: f,
@@ -73,7 +73,7 @@ const q = function(o, t, p, n) {
73
73
  tooltip: "",
74
74
  type: "note",
75
75
  // TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
76
- padding: ((m = r().flowchart) == null ? void 0 : m.padding) ?? ((g = r().class) == null ? void 0 : g.padding)
76
+ padding: ((m = r().flowchart) == null ? void 0 : m.padding) ?? ((x = r().class) == null ? void 0 : x.padding)
77
77
  };
78
78
  if (t.setNode(l.id, h), c.info("setNode", h), !l.class || !(l.class in n))
79
79
  return;
@@ -150,9 +150,9 @@ const q = function(o, t, p, n) {
150
150
  c.info(f), q(y, i, t, n), I(d, i, t, n), H(f, i), F(h, i, f.length + 1, d);
151
151
  let b;
152
152
  s === "sandbox" && (b = k("#i" + t));
153
- const u = s === "sandbox" ? k(b.nodes()[0].contentDocument.body) : k("body"), m = u.select(`[id="${t}"]`), g = u.select("#" + t + " g");
153
+ const u = s === "sandbox" ? k(b.nodes()[0].contentDocument.body) : k("body"), m = u.select(`[id="${t}"]`), x = u.select("#" + t + " g");
154
154
  if (await $(
155
- g,
155
+ x,
156
156
  i,
157
157
  ["aggregation", "extension", "composition", "dependency", "lollipop"],
158
158
  "classDiagram",
@@ -160,8 +160,8 @@ const q = function(o, t, p, n) {
160
160
  ), G.insertTitle(m, "classTitleText", (e == null ? void 0 : e.titleTopMargin) ?? 5, n.db.getDiagramTitle()), _(i, m, e == null ? void 0 : e.diagramPadding, e == null ? void 0 : e.useMaxWidth), !(e != null && e.htmlLabels)) {
161
161
  const T = s === "sandbox" ? b.nodes()[0].contentDocument : document, M = T.querySelectorAll('[id="' + t + '"] .edgeLabel .label');
162
162
  for (const w of M) {
163
- const L = w.getBBox(), x = T.createElementNS("http://www.w3.org/2000/svg", "rect");
164
- x.setAttribute("rx", 0), x.setAttribute("ry", 0), x.setAttribute("width", L.width), x.setAttribute("height", L.height), w.insertBefore(x, w.firstChild);
163
+ const L = w.getBBox(), g = T.createElementNS("http://www.w3.org/2000/svg", "rect");
164
+ g.setAttribute("rx", 0), g.setAttribute("ry", 0), g.setAttribute("width", L.width), g.setAttribute("height", L.height), w.insertBefore(g, w.firstChild);
165
165
  }
166
166
  }
167
167
  };
@@ -1,11 +1,11 @@
1
- import { p as parser, d as db, s as styles } from "./styles-ee63b5dc.js";
2
- import { l as log, c as getConfig, j as select, x as utils, t as setupGraphViewbox, r as interpolateToCurve, o as curveLinear, p as getStylesFromArray, f as common } from "./mermaid-bf016224.js";
3
- import { G as Graph } from "./layout-de394db2.js";
4
- import { r as render } from "./index-e316e81a.js";
5
- import "./edges-1a997dfb.js";
6
- import "./createText-f11497a7.js";
7
- import "./svgDraw-3835dd7e.js";
8
- import "./line-cdde0d11.js";
1
+ import { p as parser, d as db, s as styles } from "./styles-cfd3488b.js";
2
+ import { l as log, c as getConfig, j as d3select, z as utils, t as setupGraphViewbox, r as interpolateToCurve, o as curveLinear, p as getStylesFromArray, f as common } from "./mermaid-8b72a9e1.js";
3
+ import { G as Graph } from "./layout-5d919945.js";
4
+ import { r as render } from "./index-dfa28b7b.js";
5
+ import "./edges-1f825538.js";
6
+ import "./createText-1941d9ed.js";
7
+ import "./svgDraw-2d5bf763.js";
8
+ import "./line-3993e10f.js";
9
9
  import "./array-b7dcf730.js";
10
10
  import "./constant-b644328d.js";
11
11
  const sanitizeText = (txt) => common.sanitizeText(txt, getConfig());
@@ -216,9 +216,9 @@ const draw = async function(text, id, _version, diagObj) {
216
216
  addNotes(notes, g, relations.length + 1, classes);
217
217
  let sandboxElement;
218
218
  if (securityLevel === "sandbox") {
219
- sandboxElement = select("#i" + id);
219
+ sandboxElement = d3select("#i" + id);
220
220
  }
221
- const root = securityLevel === "sandbox" ? select(sandboxElement.nodes()[0].contentDocument.body) : select("body");
221
+ const root = securityLevel === "sandbox" ? d3select(sandboxElement.nodes()[0].contentDocument.body) : d3select("body");
222
222
  const svg = root.select(`[id="${id}"]`);
223
223
  const element = root.select("#" + id + " g");
224
224
  await render(
@@ -1,8 +1,8 @@
1
- import { p as parser, d as db, s as styles } from "./styles-a893c203.js";
1
+ import { p as parser, d as db, s as styles } from "./styles-19e28d8d.js";
2
2
  import { select, curveLinear } from "d3";
3
3
  import * as graphlib from "dagre-d3-es/src/graphlib/index.js";
4
- import { l as log, c as getConfig, u as utils, p as setupGraphViewbox, o as interpolateToCurve, k as getStylesFromArray, e as common } from "./mermaid-aad43469.js";
5
- import { r as render } from "./index-1e7f2254.js";
4
+ import { l as log, c as getConfig, u as utils, p as setupGraphViewbox, o as interpolateToCurve, k as getStylesFromArray, e as common } from "./mermaid-1684d499.js";
5
+ import { r as render } from "./index-de47a42b.js";
6
6
  import "ts-dedent";
7
7
  import "dayjs";
8
8
  import "@braintree/sanitize-url";
@@ -13,10 +13,10 @@ import "stylis";
13
13
  import "lodash-es/isEmpty.js";
14
14
  import "dagre-d3-es/src/dagre/index.js";
15
15
  import "dagre-d3-es/src/graphlib/json.js";
16
- import "./edges-66ea8538.js";
17
- import "./createText-a49d2d2a.js";
16
+ import "./edges-28b9b96b.js";
17
+ import "./createText-f81967ad.js";
18
18
  import "mdast-util-from-markdown";
19
- import "./svgDraw-95adee0a.js";
19
+ import "./svgDraw-d563164c.js";
20
20
  const sanitizeText = (txt) => common.sanitizeText(txt, getConfig());
21
21
  let conf = {
22
22
  dividerMargin: 10,