@smarter.sh/ui-chat 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/README.md +328 -107
  2. package/dist/embed/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  3. package/dist/embed/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  4. package/dist/embed/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  5. package/dist/embed/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  6. package/dist/embed/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  7. package/dist/embed/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
  8. package/dist/embed/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  9. package/dist/embed/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
  10. package/dist/embed/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
  11. package/dist/embed/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  12. package/dist/embed/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
  13. package/dist/embed/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  14. package/dist/embed/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  15. package/dist/embed/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  16. package/dist/embed/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
  17. package/dist/embed/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  18. package/dist/embed/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  19. package/dist/embed/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  20. package/dist/embed/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  21. package/dist/embed/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  22. package/dist/embed/mermaid/abnfDiagram-VCTEODGH-1SbERmPs.js +89 -0
  23. package/dist/embed/mermaid/arc-VicTtbbz.js +82 -0
  24. package/dist/embed/mermaid/architecture-7GRP2DOG-D0nnNZ3B.js +2 -0
  25. package/dist/embed/mermaid/architectureDiagram-5GKGNRK7-CQABdiy9.js +4138 -0
  26. package/dist/embed/mermaid/array-CApNbSU9.js +6 -0
  27. package/dist/embed/mermaid/blockDiagram-I7D4REHJ-CtjOz0Jt.js +1911 -0
  28. package/dist/embed/mermaid/c4Diagram-7LVT6UL2-_qBudB6C.js +3010 -0
  29. package/dist/embed/mermaid/channel-BXMcYHk2.js +5 -0
  30. package/dist/embed/mermaid/chunk-2E4U76K2-CBll2dEU.js +346 -0
  31. package/dist/embed/mermaid/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  32. package/dist/embed/mermaid/chunk-4HAMMTFA-Dhz0SVnN.js +4188 -0
  33. package/dist/embed/mermaid/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  34. package/dist/embed/mermaid/chunk-75Z2AOVW-BsWtLgfj.js +1330 -0
  35. package/dist/embed/mermaid/chunk-CLGD4ZFX-Bkjwlxy9.js +14 -0
  36. package/dist/embed/mermaid/chunk-DU6HZSFF-1zIarP1Q.js +3900 -0
  37. package/dist/embed/mermaid/chunk-F27PBJKO-CiOL12VY.js +61 -0
  38. package/dist/embed/mermaid/chunk-FOHPRMQF-DS9zEyR5.js +21447 -0
  39. package/dist/embed/mermaid/chunk-GMAD6QVW-Dc0gE_3Q.js +1804 -0
  40. package/dist/embed/mermaid/chunk-GVQU2GXP-CWFtOgtb.js +37 -0
  41. package/dist/embed/mermaid/chunk-IMKFNOWR-CLyTlLwx.js +2042 -0
  42. package/dist/embed/mermaid/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  43. package/dist/embed/mermaid/chunk-L3NEJ4N5-DnkSrVO8.js +245 -0
  44. package/dist/embed/mermaid/chunk-LNGE3PJU-ByFTjlja.js +1517 -0
  45. package/dist/embed/mermaid/chunk-OSK3NFVY-B57tZZIG.js +672 -0
  46. package/dist/embed/mermaid/chunk-P2QGCYS3-BUVAOFF-.js +67 -0
  47. package/dist/embed/mermaid/chunk-POPQ4Y6H-BsUdeJ_J.js +26 -0
  48. package/dist/embed/mermaid/chunk-PWAF6VOD-Cb-w19aO.js +275 -0
  49. package/dist/embed/mermaid/chunk-SHT3W25Y-znBBpcIu.js +4183 -0
  50. package/dist/embed/mermaid/chunk-SVP7TREG-DrHUM-6R.js +490 -0
  51. package/dist/embed/mermaid/chunk-TICWLB2K-xlGqZZYJ.js +3357 -0
  52. package/dist/embed/mermaid/chunk-TLUHSLCS-COwDpXBa.js +59 -0
  53. package/dist/embed/mermaid/chunk-XXDRQBXY-pOp8MAr9.js +9 -0
  54. package/dist/embed/mermaid/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  55. package/dist/embed/mermaid/classDiagram-ZZMXUADV-C8BeuQnA.js +30 -0
  56. package/dist/embed/mermaid/classDiagram-v2-VYDZK3BY-B3jylZLr.js +30 -0
  57. package/dist/embed/mermaid/cose-bilkent-JH36ORCC-DFvJxZ7v.js +2240 -0
  58. package/dist/embed/mermaid/cynefin-OW5HDTMX-B6YJOAMM.js +2 -0
  59. package/dist/embed/mermaid/cynefinDiagram-5FMLGOSQ-CCm5IQBE.js +355 -0
  60. package/dist/embed/mermaid/cytoscape.esm-BstmGtAB.js +18047 -0
  61. package/dist/embed/mermaid/dagre-BwzzJJA_.js +1932 -0
  62. package/dist/embed/mermaid/dagre-GXQ25YYZ-B3d3iNF-.js +423 -0
  63. package/dist/embed/mermaid/defaultLocale-N-0uLSyg.js +198 -0
  64. package/dist/embed/mermaid/diagram-S7CK7UJ4-BeA5UJrt.js +293 -0
  65. package/dist/embed/mermaid/diagram-UQ7AKVKN-DK0uHb-2.js +214 -0
  66. package/dist/embed/mermaid/diagram-VSXAHHWV-D5JXip1B.js +432 -0
  67. package/dist/embed/mermaid/diagram-VX7I27RA-B1VysvG9.js +527 -0
  68. package/dist/embed/mermaid/diagram-Z3DM3KII-ZGUJaFq-.js +134 -0
  69. package/dist/embed/mermaid/dist-DRRwZ4Yi.js +59 -0
  70. package/dist/embed/mermaid/ebnfDiagram-PWID7BFC-BOahZhWx.js +100 -0
  71. package/dist/embed/mermaid/erDiagram-RLTQ6QDP-7cGpGRQo.js +1966 -0
  72. package/dist/embed/mermaid/eventmodeling-NTZA5JFV-C3kU50Cz.js +2 -0
  73. package/dist/embed/mermaid/flowDiagram-HODETNUW-D-eJN2AO.js +16 -0
  74. package/dist/embed/mermaid/ganttDiagram-EL5Y4UJY-s6Kx4KlU.js +3072 -0
  75. package/dist/embed/mermaid/gitGraph-4MIJSDKK-CqdlGRFk.js +2 -0
  76. package/dist/embed/mermaid/gitGraphDiagram-WWUBYQGX-Blwdy0b7.js +733 -0
  77. package/dist/embed/mermaid/graphlib-XW-Jr8pF.js +1267 -0
  78. package/dist/embed/mermaid/info-A6RAGUB7-2pwra5F3.js +2 -0
  79. package/dist/embed/mermaid/infoDiagram-27XIBGKW-CstzbQPb.js +20 -0
  80. package/dist/embed/mermaid/init-CsQUQz36.js +13 -0
  81. package/dist/embed/mermaid/ishikawaDiagram-5VMMS53U-C6y_w0kd.js +717 -0
  82. package/dist/embed/mermaid/journeyDiagram-3NMN7TZE-BHVux_z1.js +884 -0
  83. package/dist/embed/mermaid/kanban-definition-UXKFOSKX-Cgj-7IHi.js +976 -0
  84. package/dist/embed/mermaid/katex-DmPOayaq.js +21968 -0
  85. package/dist/embed/mermaid/line-brkWVSn0.js +34 -0
  86. package/dist/embed/mermaid/linear-CiZWLcTr.js +287 -0
  87. package/dist/embed/mermaid/mermaid-parser.core-BjLg_By9.js +632 -0
  88. package/dist/embed/mermaid/mermaid.js +1092 -0
  89. package/dist/embed/mermaid/mindmap-definition-YA3MSWOX-DRc-FzI_.js +1006 -0
  90. package/dist/embed/mermaid/ordinal-BubEveRk.js +65 -0
  91. package/dist/embed/mermaid/packet-AYTQ26CC-C3h9OoFk.js +2 -0
  92. package/dist/embed/mermaid/path-CnWkkRiY.js +84 -0
  93. package/dist/embed/mermaid/pegDiagram-XKGWAZYB-Cw-aYwaF.js +94 -0
  94. package/dist/embed/mermaid/pie-WAS4IAKB-CaECYpHT.js +2 -0
  95. package/dist/embed/mermaid/pieDiagram-E7YTZNPT-DoguGyzq.js +203 -0
  96. package/dist/embed/mermaid/quadrantDiagram-AXDQQJYC-Cu4dMFZL.js +2001 -0
  97. package/dist/embed/mermaid/radar-RG4KPBEZ-CoS7pnd_.js +2 -0
  98. package/dist/embed/mermaid/railroad-74A4TZTK-BjHa6MAk.js +2 -0
  99. package/dist/embed/mermaid/railroad-abnf-HS5TGJTU-Bm2YWqjG.js +2 -0
  100. package/dist/embed/mermaid/railroad-ebnf-LZEXJU2U-C7mPpgM3.js +2 -0
  101. package/dist/embed/mermaid/railroad-peg-WCYAUIDC-Cyp07M5x.js +2 -0
  102. package/dist/embed/mermaid/railroadDiagram-O6MQD6OU-DDX-9GRQ.js +76 -0
  103. package/dist/embed/mermaid/requirementDiagram-BXWQKSXE-z8PPo06M.js +2224 -0
  104. package/dist/embed/mermaid/rough.esm-DXYGHN3m.js +1361 -0
  105. package/dist/embed/mermaid/sankeyDiagram-P5KCCOFB-CeD0II3M.js +972 -0
  106. package/dist/embed/mermaid/sequenceDiagram-WJ2MYXX4-Cs-Wxyvw.js +4156 -0
  107. package/dist/embed/mermaid/sizeCapture-INFHLROL-DujrpAYz.js +46 -0
  108. package/dist/embed/mermaid/src-DbyMbLVK.js +2141 -0
  109. package/dist/embed/mermaid/stateDiagram-D77RDMKH-CqWtgHSc.js +220 -0
  110. package/dist/embed/mermaid/stateDiagram-v2-MP3YSRHH-CPideWIU.js +30 -0
  111. package/dist/embed/mermaid/swimlanes-42K2YHIH-MutR4uV4.js +4957 -0
  112. package/dist/embed/mermaid/swimlanesDiagram-VR7AAH4N-BC_o7pti.js +31 -0
  113. package/dist/embed/mermaid/timeline-definition-24CTP7MA-rZfNRFiT.js +1069 -0
  114. package/dist/embed/mermaid/treeView-Q6P3EWNA-C94eS7gV.js +2 -0
  115. package/dist/embed/mermaid/treemap-WGGIJYW6-DnrVJ1h3.js +2 -0
  116. package/dist/embed/mermaid/vennDiagram-4TSXK5OY-KwMHebDQ.js +1880 -0
  117. package/dist/embed/mermaid/wardley-WFR3VGLG-DRDACyIN.js +2 -0
  118. package/dist/embed/mermaid/wardleyDiagram-VM6X3IG4-C-Fm7GGB.js +645 -0
  119. package/dist/embed/mermaid/xychartDiagram-S5SC5T6Z-DZX43ay9.js +2210 -0
  120. package/dist/embed.js +903 -0
  121. package/dist/embed.js.map +1 -0
  122. package/dist/smarter-chat-library.es.js +2722 -2805
  123. package/dist/smarter-chat-library.es.js.map +1 -1
  124. package/dist/smarter-chat-library.umd.js +56 -56
  125. package/dist/smarter-chat-library.umd.js.map +1 -1
  126. package/dist/types/src/components/SmarterChat/Component.d.ts +1 -1
  127. package/dist/types/src/embed/EmbedApp.d.ts +10 -0
  128. package/dist/types/src/embed/assets.d.ts +7 -0
  129. package/dist/types/src/embed/autoMount.d.ts +18 -0
  130. package/dist/types/src/embed/css.d.ts +15 -0
  131. package/dist/types/src/embed/element.d.ts +19 -0
  132. package/dist/types/src/embed/index.d.ts +17 -0
  133. package/dist/types/src/embed/mermaid.d.ts +2 -0
  134. package/dist/types/src/embed/mermaidImport.d.ts +1 -0
  135. package/dist/types/src/embed/options.d.ts +69 -0
  136. package/dist/types/src/lib/cookie.d.ts +4 -3
  137. package/dist/types/src/lib/mermaidImport.d.ts +8 -0
  138. package/dist/types/src/types.d.ts +7 -0
  139. package/package.json +10 -4
@@ -0,0 +1,672 @@
1
+ import { m as e, p as t } from "./src-DbyMbLVK.js";
2
+ import { n } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
+ import { T as r, b as i, x as a } from "./chunk-DU6HZSFF-1zIarP1Q.js";
4
+ import { $ as o, J as s, K as c, Q as l, X as u, Y as d, Z as f, et as p, g as m, nt as h, q as g, rt as _, tt as v, u as ee } from "./chunk-75Z2AOVW-BsWtLgfj.js";
5
+ import { t as y } from "./line-brkWVSn0.js";
6
+ import { i as b, n as x } from "./chunk-P2QGCYS3-BUVAOFF-.js";
7
+ import { n as S, r as C } from "./chunk-GMAD6QVW-Dc0gE_3Q.js";
8
+ import { t as te } from "./rough.esm-DXYGHN3m.js";
9
+ import { t as w } from "./chunk-4HAMMTFA-Dhz0SVnN.js";
10
+ import { n as T } from "./chunk-GVQU2GXP-CWFtOgtb.js";
11
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-OSK3NFVY.mjs
12
+ var E = /* @__PURE__ */ n((e, t) => {
13
+ if (t) return "translate(" + -e.width / 2 + ", " + -e.height / 2 + ")";
14
+ let n = e.x ?? 0, r = e.y ?? 0;
15
+ return "translate(" + -(n + e.width / 2) + ", " + -(r + e.height / 2) + ")";
16
+ }, "computeLabelTransform"), D = {
17
+ aggregation: 17.25,
18
+ extension: 17.25,
19
+ composition: 17.25,
20
+ dependency: 6,
21
+ lollipop: 13.5,
22
+ arrow_point: 4,
23
+ arrow_barb: 0,
24
+ arrow_barb_neo: 5.5
25
+ }, O = {
26
+ arrow_point: 4,
27
+ arrow_cross: 12.5,
28
+ arrow_circle: 12.5
29
+ };
30
+ function k(e, t) {
31
+ if (e === void 0 || t === void 0) return {
32
+ angle: 0,
33
+ deltaX: 0,
34
+ deltaY: 0
35
+ };
36
+ e = A(e), t = A(t);
37
+ let [n, r] = [e.x, e.y], [i, a] = [t.x, t.y], o = i - n, s = a - r;
38
+ return {
39
+ angle: Math.atan(s / o),
40
+ deltaX: o,
41
+ deltaY: s
42
+ };
43
+ }
44
+ n(k, "calculateDeltaAndAngle");
45
+ var A = /* @__PURE__ */ n((e) => Array.isArray(e) ? {
46
+ x: e[0],
47
+ y: e[1]
48
+ } : e, "pointTransformer"), ne = /* @__PURE__ */ n((e) => ({
49
+ x: /* @__PURE__ */ n(function(t, n, r) {
50
+ let i = 0, a = A(r[0]).x < A(r[r.length - 1]).x ? "left" : "right";
51
+ if (n === 0 && Object.hasOwn(D, e.arrowTypeStart)) {
52
+ let { angle: t, deltaX: n } = k(r[0], r[1]);
53
+ i = D[e.arrowTypeStart] * Math.cos(t) * (n >= 0 ? 1 : -1);
54
+ } else if (n === r.length - 1 && Object.hasOwn(D, e.arrowTypeEnd)) {
55
+ let { angle: t, deltaX: n } = k(r[r.length - 1], r[r.length - 2]);
56
+ i = D[e.arrowTypeEnd] * Math.cos(t) * (n >= 0 ? 1 : -1);
57
+ }
58
+ let o = Math.abs(A(t).x - A(r[r.length - 1]).x), s = Math.abs(A(t).y - A(r[r.length - 1]).y), c = Math.abs(A(t).x - A(r[0]).x), l = Math.abs(A(t).y - A(r[0]).y), u = D[e.arrowTypeStart], d = D[e.arrowTypeEnd];
59
+ if (o < d && o > 0 && s < d) {
60
+ let e = d + 1 - o;
61
+ e *= a === "right" ? -1 : 1, i -= e;
62
+ }
63
+ if (c < u && c > 0 && l < u) {
64
+ let e = u + 1 - c;
65
+ e *= a === "right" ? -1 : 1, i += e;
66
+ }
67
+ return A(t).x + i;
68
+ }, "x"),
69
+ y: /* @__PURE__ */ n(function(t, n, r) {
70
+ let i = 0, a = A(r[0]).y < A(r[r.length - 1]).y ? "down" : "up";
71
+ if (n === 0 && Object.hasOwn(D, e.arrowTypeStart)) {
72
+ let { angle: t, deltaY: n } = k(r[0], r[1]);
73
+ i = D[e.arrowTypeStart] * Math.abs(Math.sin(t)) * (n >= 0 ? 1 : -1);
74
+ } else if (n === r.length - 1 && Object.hasOwn(D, e.arrowTypeEnd)) {
75
+ let { angle: t, deltaY: n } = k(r[r.length - 1], r[r.length - 2]);
76
+ i = D[e.arrowTypeEnd] * Math.abs(Math.sin(t)) * (n >= 0 ? 1 : -1);
77
+ }
78
+ let o = Math.abs(A(t).y - A(r[r.length - 1]).y), s = Math.abs(A(t).x - A(r[r.length - 1]).x), c = Math.abs(A(t).y - A(r[0]).y), l = Math.abs(A(t).x - A(r[0]).x), u = D[e.arrowTypeStart], d = D[e.arrowTypeEnd];
79
+ if (o < d && o > 0 && s < d) {
80
+ let e = d + 1 - o;
81
+ e *= a === "up" ? -1 : 1, i -= e;
82
+ }
83
+ if (c < u && c > 0 && l < u) {
84
+ let e = u + 1 - c;
85
+ e *= a === "up" ? -1 : 1, i += e;
86
+ }
87
+ return A(t).y + i;
88
+ }, "y")
89
+ }), "getLineFunctionsWithOffset"), re = /* @__PURE__ */ n((e, t, n, r, i, a = !1, o) => {
90
+ t.arrowTypeStart && N(e, "start", t.arrowTypeStart, n, r, i, a, o), t.arrowTypeEnd && N(e, "end", t.arrowTypeEnd, n, r, i, a, o);
91
+ }, "addEdgeMarkers"), j = {
92
+ arrow_cross: {
93
+ type: "cross",
94
+ fill: !1
95
+ },
96
+ arrow_point: {
97
+ type: "point",
98
+ fill: !0
99
+ },
100
+ arrow_barb: {
101
+ type: "barb",
102
+ fill: !0
103
+ },
104
+ arrow_barb_neo: {
105
+ type: "barb",
106
+ fill: !0
107
+ },
108
+ arrow_circle: {
109
+ type: "circle",
110
+ fill: !1
111
+ },
112
+ aggregation: {
113
+ type: "aggregation",
114
+ fill: !1
115
+ },
116
+ extension: {
117
+ type: "extension",
118
+ fill: !1
119
+ },
120
+ composition: {
121
+ type: "composition",
122
+ fill: !0
123
+ },
124
+ dependency: {
125
+ type: "dependency",
126
+ fill: !0
127
+ },
128
+ lollipop: {
129
+ type: "lollipop",
130
+ fill: !1
131
+ },
132
+ only_one: {
133
+ type: "onlyOne",
134
+ fill: !1
135
+ },
136
+ zero_or_one: {
137
+ type: "zeroOrOne",
138
+ fill: !1
139
+ },
140
+ one_or_more: {
141
+ type: "oneOrMore",
142
+ fill: !1
143
+ },
144
+ zero_or_more: {
145
+ type: "zeroOrMore",
146
+ fill: !1
147
+ },
148
+ requirement_arrow: {
149
+ type: "requirement_arrow",
150
+ fill: !1
151
+ },
152
+ requirement_contains: {
153
+ type: "requirement_contains",
154
+ fill: !1
155
+ }
156
+ }, M = [
157
+ "cross",
158
+ "point",
159
+ "circle",
160
+ "lollipop",
161
+ "aggregation",
162
+ "extension",
163
+ "composition",
164
+ "dependency",
165
+ "barb"
166
+ ], N = /* @__PURE__ */ n((t, n, r, i, a, o, s = !1, c) => {
167
+ if (!r || r === "none") return;
168
+ let l = j[r], u = l && M.includes(l.type);
169
+ if (!l) {
170
+ e.warn(`Unknown arrow type: ${r}`);
171
+ return;
172
+ }
173
+ let d = `${a}_${o}-${l.type}${n === "start" ? "Start" : "End"}${s && u ? "-margin" : ""}`;
174
+ if (c && c.trim() !== "") {
175
+ let e = `${d}_${c.replace(/[^\dA-Za-z]/g, "_")}`;
176
+ if (!document.getElementById(e)) {
177
+ let t = document.getElementById(d);
178
+ if (t) {
179
+ let n = t.cloneNode(!0);
180
+ n.id = e, n.querySelectorAll("path, circle, line").forEach((e) => {
181
+ e.setAttribute("stroke", c), l.fill && e.setAttribute("fill", c);
182
+ }), t.parentNode?.appendChild(n);
183
+ }
184
+ }
185
+ t.attr(`marker-${n}`, `url(${i}#${e})`);
186
+ } else t.attr(`marker-${n}`, `url(${i}#${d})`);
187
+ }, "addEdgeMarker"), ie = /* @__PURE__ */ n((e) => typeof e == "string" ? e : a()?.flowchart?.curve, "resolveEdgeCurveType"), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ n(() => {
188
+ P.clear(), F.clear();
189
+ }, "clear"), L = /* @__PURE__ */ n((e) => !!(e.label || e.startLabelLeft || e.startLabelRight || e.endLabelLeft || e.endLabelRight), "hasEdgeLabel"), R = /* @__PURE__ */ n((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), z = /* @__PURE__ */ n(async (n, i) => {
190
+ let o = a(), s = r(o), { labelStyles: c } = b(i);
191
+ i.labelStyle = c;
192
+ let l = n.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", i.id), d = i.labelType === "markdown", f = await S(n, i.label, {
193
+ style: R(i.labelStyle),
194
+ useHtmlLabels: s,
195
+ addSvgBackground: !0,
196
+ isNode: !1,
197
+ markdown: d,
198
+ width: void 0
199
+ }, o);
200
+ u.node().appendChild(f), e.info("abc82", i, i.labelType);
201
+ let p, m;
202
+ if (s) {
203
+ let e = f.children[0], n = t(f);
204
+ p = await C.measure(() => e.getBoundingClientRect()), m = p, n.attr("width", p.width), n.attr("height", p.height);
205
+ } else {
206
+ let e = t(f).select("text").node();
207
+ await C.measure(() => {
208
+ p = f.getBBox(), m = e && typeof e.getBBox == "function" ? e.getBBox() : p;
209
+ });
210
+ }
211
+ u.attr("transform", E(m, s)), P.set(i.id, l), i.width = p.width, i.height = p.height;
212
+ let h;
213
+ if (i.startLabelLeft) {
214
+ let e = n.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await w(r, i.startLabelLeft, R(i.labelStyle) || "", !1, !1);
215
+ h = a;
216
+ let o = a.getBBox();
217
+ if (s) {
218
+ let e = a.children[0], n = t(a);
219
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
220
+ }
221
+ r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).startLeft = e, B(h, i.startLabelLeft);
222
+ }
223
+ if (i.startLabelRight) {
224
+ let e = n.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await w(r, i.startLabelRight, R(i.labelStyle) || "", !1, !1);
225
+ h = a;
226
+ let o = a.getBBox();
227
+ if (s) {
228
+ let e = a.children[0], n = t(a);
229
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
230
+ }
231
+ r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).startRight = e, B(h, i.startLabelRight);
232
+ }
233
+ if (i.endLabelLeft) {
234
+ let e = n.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await w(e, i.endLabelLeft, R(i.labelStyle) || "", !1, !1);
235
+ h = a;
236
+ let o = a.getBBox();
237
+ if (s) {
238
+ let e = a.children[0], n = t(a);
239
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
240
+ }
241
+ r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).endLeft = e, B(h, i.endLabelLeft);
242
+ }
243
+ if (i.endLabelRight) {
244
+ let e = n.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await w(e, i.endLabelRight, R(i.labelStyle) || "", !1, !1);
245
+ h = a;
246
+ let o = a.getBBox();
247
+ if (s) {
248
+ let e = a.children[0], n = t(a);
249
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
250
+ }
251
+ r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).endRight = e, B(h, i.endLabelRight);
252
+ }
253
+ return f;
254
+ }, "insertEdgeLabel");
255
+ function B(e, t) {
256
+ r(a()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
257
+ }
258
+ n(B, "setTerminalWidth");
259
+ var V = /* @__PURE__ */ n((t, n) => {
260
+ e.debug("Moving label abc88 ", t.id, t.label, P.get(t.id), n);
261
+ let r = n.updatedPath ? n.updatedPath : n.originalPath, i = a(), { subGraphTitleTotalMargin: o } = T(i);
262
+ if (t.label) {
263
+ let i = P.get(t.id), a = t.x, s = t.y;
264
+ if (r) {
265
+ let i = m.calcLabelPosition(r);
266
+ e.debug("Moving label " + t.label + " from (", a, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (a = i.x, s = i.y);
267
+ }
268
+ i.attr("transform", `translate(${a}, ${s + o / 2})`);
269
+ }
270
+ if (t.startLabelLeft) {
271
+ let e = F.get(t.id).startLeft, n = t.x, i = t.y;
272
+ if (r) {
273
+ let e = m.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_left", r);
274
+ n = e.x, i = e.y;
275
+ }
276
+ e.attr("transform", `translate(${n}, ${i})`);
277
+ }
278
+ if (t.startLabelRight) {
279
+ let e = F.get(t.id).startRight, n = t.x, i = t.y;
280
+ if (r) {
281
+ let e = m.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_right", r);
282
+ n = e.x, i = e.y;
283
+ }
284
+ e.attr("transform", `translate(${n}, ${i})`);
285
+ }
286
+ if (t.endLabelLeft) {
287
+ let e = F.get(t.id).endLeft, n = t.x, i = t.y;
288
+ if (r) {
289
+ let e = m.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_left", r);
290
+ n = e.x, i = e.y;
291
+ }
292
+ e.attr("transform", `translate(${n}, ${i})`);
293
+ }
294
+ if (t.endLabelRight) {
295
+ let e = F.get(t.id).endRight, n = t.x, i = t.y;
296
+ if (r) {
297
+ let e = m.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_right", r);
298
+ n = e.x, i = e.y;
299
+ }
300
+ e.attr("transform", `translate(${n}, ${i})`);
301
+ }
302
+ }, "positionEdgeLabel"), ae = /* @__PURE__ */ n((e, t) => {
303
+ if (!e?.isLabelEdge || !e?.id?.endsWith("-to-label") || !Array.isArray(t) || t.length !== 2) return t;
304
+ let [n, r] = t, i = Math.abs(r.x - n.x), a = Math.abs(r.y - n.y);
305
+ return i < .001 || a < .001 ? t : a >= i ? [
306
+ n,
307
+ {
308
+ x: n.x,
309
+ y: r.y
310
+ },
311
+ r
312
+ ] : [
313
+ n,
314
+ {
315
+ x: r.x,
316
+ y: n.y
317
+ },
318
+ r
319
+ ];
320
+ }, "orthogonalizeToLabelClippedPoints"), H = /* @__PURE__ */ n((e, t) => {
321
+ let n = e.x, r = e.y, i = Math.abs(t.x - n), a = Math.abs(t.y - r), o = e.width / 2, s = e.height / 2;
322
+ return i >= o || a >= s;
323
+ }, "outsideNode"), U = /* @__PURE__ */ n((t, n, r) => {
324
+ e.debug(`intersection calc abc89:
325
+ outsidePoint: ${JSON.stringify(n)}
326
+ insidePoint : ${JSON.stringify(r)}
327
+ node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);
328
+ let i = t.x, a = t.y, o = Math.abs(i - r.x), s = t.width / 2, c = r.x < n.x ? s - o : s + o, l = t.height / 2, u = Math.abs(n.y - r.y), d = Math.abs(n.x - r.x);
329
+ if (Math.abs(a - n.y) * s > Math.abs(i - n.x) * l) {
330
+ let t = r.y < n.y ? n.y - l - a : a - l - n.y;
331
+ c = d * t / u;
332
+ let i = {
333
+ x: r.x < n.x ? r.x + c : r.x - d + c,
334
+ y: r.y < n.y ? r.y + u - t : r.y - u + t
335
+ };
336
+ return c === 0 && (i.x = n.x, i.y = n.y), d === 0 && (i.x = n.x), u === 0 && (i.y = n.y), e.debug(`abc89 top/bottom calc, Q ${u}, q ${t}, R ${d}, r ${c}`, i), i;
337
+ }
338
+ {
339
+ c = r.x < n.x ? n.x - s - i : i - s - n.x;
340
+ let t = u * c / d, a = r.x < n.x ? r.x + d - c : r.x - d + c, o = r.y < n.y ? r.y + t : r.y - t;
341
+ return e.debug(`sides calc abc89, Q ${u}, q ${t}, R ${d}, r ${c}`, {
342
+ _x: a,
343
+ _y: o
344
+ }), c === 0 && (a = n.x, o = n.y), d === 0 && (a = n.x), u === 0 && (o = n.y), {
345
+ x: a,
346
+ y: o
347
+ };
348
+ }
349
+ }, "intersection"), W = /* @__PURE__ */ n((t, n) => {
350
+ e.warn("abc88 cutPathAtIntersect", t, n);
351
+ let r = [], i = t[0], a = !1;
352
+ return t.forEach((t) => {
353
+ if (e.info("abc88 checking point", t, n), !H(n, t) && !a) {
354
+ let o = U(n, i, t);
355
+ e.debug("abc88 inside", t, i, o), e.debug("abc88 intersection", o, n);
356
+ let s = !1;
357
+ r.forEach((e) => {
358
+ s ||= e.x === o.x && e.y === o.y;
359
+ }), r.some((e) => e.x === o.x && e.y === o.y) ? e.warn("abc88 no intersect", o, r) : r.push(o), a = !0;
360
+ } else e.warn("abc88 outside", t, i), i = t, a || r.push(t);
361
+ }), e.debug("returning points", r), r;
362
+ }, "cutPathAtIntersect");
363
+ function G(e) {
364
+ let t = [], n = [];
365
+ for (let r = 1; r < e.length - 1; r++) {
366
+ let i = e[r - 1], a = e[r], o = e[r + 1];
367
+ (i.x === a.x && a.y === o.y && Math.abs(a.x - o.x) > 5 && Math.abs(a.y - i.y) > 5 || i.y === a.y && a.x === o.x && Math.abs(a.x - i.x) > 5 && Math.abs(a.y - o.y) > 5) && (t.push(a), n.push(r));
368
+ }
369
+ return {
370
+ cornerPoints: t,
371
+ cornerPointPositions: n
372
+ };
373
+ }
374
+ n(G, "extractCornerPoints");
375
+ var K = /* @__PURE__ */ n(function(e, t, n) {
376
+ let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
377
+ return {
378
+ x: t.x - a * r,
379
+ y: t.y - a * i
380
+ };
381
+ }, "findAdjacentPoint"), oe = /* @__PURE__ */ n(function(t) {
382
+ let { cornerPointPositions: n } = G(t), r = [];
383
+ for (let i = 0; i < t.length; i++) if (n.includes(i)) {
384
+ let n = t[i - 1], a = t[i + 1], o = t[i], s = K(n, o, 5), c = K(a, o, 5), l = c.x - s.x, u = c.y - s.y;
385
+ r.push(s);
386
+ let d = Math.sqrt(2) * 2, f = {
387
+ x: o.x,
388
+ y: o.y
389
+ };
390
+ Math.abs(a.x - n.x) > 10 && Math.abs(a.y - n.y) >= 10 ? (e.debug("Corner point fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), f = o.x === s.x ? {
391
+ x: l < 0 ? s.x - 5 + d : s.x + 5 - d,
392
+ y: u < 0 ? s.y - d : s.y + d
393
+ } : {
394
+ x: l < 0 ? s.x - d : s.x + d,
395
+ y: u < 0 ? s.y - 5 + d : s.y + 5 - d
396
+ }) : e.debug("Corner point skipping fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), r.push(f, c);
397
+ } else r.push(t[i]);
398
+ return r;
399
+ }, "fixCorners"), se = /* @__PURE__ */ n((e, t, n) => {
400
+ let r = e - t - n, i = Math.floor(r / 4);
401
+ return `0 ${t} ${Array(Number.isFinite(i) ? Math.max(0, i) : 0).fill("2 2").join(" ")} ${n}`;
402
+ }, "generateDashArray"), q = /* @__PURE__ */ n(function(n, r, i, b, S, C, w, T = !1) {
403
+ if (!w) throw Error(`insertEdge: missing diagramId for edge "${r.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
404
+ let { handDrawnSeed: E, layout: D } = a(), k = r.points, A = !1, j = S;
405
+ var M = C;
406
+ let N = [];
407
+ for (let e in r.cssCompiledStyles) x(e) || N.push(r.cssCompiledStyles[e]);
408
+ if (D === "swimlane") {
409
+ if (M.intersect && j.intersect && Array.isArray(k) && k.length >= 2) {
410
+ if (k.length === 2) k = [j.intersect(k[0]), M.intersect(k[1])];
411
+ else {
412
+ let e = k.slice(1, -1), t = e[0], n = e[e.length - 1], r = .5, i = Math.abs(k[k.length - 1].x - n.x) < r && Math.abs(k[k.length - 1].y - n.y) < r, a = j.intersect(t), o = i ? n : M.intersect(n), s = Math.abs(o.x - n.x) < r && Math.abs(o.y - n.y) < r, c = Math.abs(a.x - t.x) < r && Math.abs(a.y - t.y) < r ? [] : [a], l = s ? [] : [o];
413
+ k = [
414
+ ...c,
415
+ ...e,
416
+ ...l
417
+ ];
418
+ }
419
+ }
420
+ k = ae(r, k);
421
+ } else M.intersect && j.intersect && !T && (k = k.slice(1, r.points.length - 1), k.unshift(j.intersect(k[0])), k.push(M.intersect(k[k.length - 1])));
422
+ let P = btoa(JSON.stringify(k));
423
+ r.toCluster && (e.info("to cluster abc88", i.get(r.toCluster)), k = W(r.points, i.get(r.toCluster).node), A = !0), r.fromCluster && (e.debug("from cluster abc88", i.get(r.fromCluster), JSON.stringify(k, null, 2)), k = W(k.reverse(), i.get(r.fromCluster).node).reverse(), A = !0);
424
+ let F = k.filter((e) => !Number.isNaN(e.y)), I = ie(r.curve);
425
+ I !== "rounded" && (F = oe(F));
426
+ let L = _;
427
+ switch (I) {
428
+ case "linear":
429
+ L = _;
430
+ break;
431
+ case "basis":
432
+ L = p;
433
+ break;
434
+ case "cardinal":
435
+ L = o;
436
+ break;
437
+ case "bumpX":
438
+ L = v;
439
+ break;
440
+ case "bumpY":
441
+ L = h;
442
+ break;
443
+ case "catmullRom":
444
+ L = l;
445
+ break;
446
+ case "monotoneX":
447
+ L = u;
448
+ break;
449
+ case "monotoneY":
450
+ L = f;
451
+ break;
452
+ case "natural":
453
+ L = d;
454
+ break;
455
+ case "step":
456
+ L = s;
457
+ break;
458
+ case "stepAfter":
459
+ L = c;
460
+ break;
461
+ case "stepBefore":
462
+ L = g;
463
+ break;
464
+ case "rounded":
465
+ L = _;
466
+ break;
467
+ default: L = p;
468
+ }
469
+ let { x: R, y: z } = ne(r), B = y().x(R).y(z).curve(L), V;
470
+ switch (r.thickness) {
471
+ case "normal":
472
+ V = "edge-thickness-normal";
473
+ break;
474
+ case "thick":
475
+ V = "edge-thickness-thick";
476
+ break;
477
+ case "invisible":
478
+ V = "edge-thickness-invisible";
479
+ break;
480
+ default: V = "edge-thickness-normal";
481
+ }
482
+ switch (r.pattern) {
483
+ case "solid":
484
+ V += " edge-pattern-solid";
485
+ break;
486
+ case "dotted":
487
+ V += " edge-pattern-dotted";
488
+ break;
489
+ case "dashed":
490
+ V += " edge-pattern-dashed";
491
+ break;
492
+ default: V += " edge-pattern-solid";
493
+ }
494
+ let H, U = I === "rounded" ? J(X(F, r), 5) : B(F), G = Array.isArray(r.style) ? r.style : [r.style], K = G.find((e) => e?.startsWith("stroke:")), q = "";
495
+ r.animate && (q = "edge-animation-fast"), r.animation && (q = "edge-animation-" + r.animation);
496
+ let Y = !1;
497
+ if (r.look === "handDrawn") {
498
+ let e = te.svg(n);
499
+ Object.assign([], F);
500
+ let i = e.path(U, {
501
+ roughness: .3,
502
+ seed: E
503
+ });
504
+ V += " transition", H = t(i).select("path").attr("id", `${w}-${r.id}`).attr("class", " " + V + (r.classes ? " " + r.classes : "") + (q ? " " + q : "")).attr("style", G ? G.reduce((e, t) => e + ";" + t, "") : "");
505
+ let a = H.attr("d");
506
+ H.attr("d", a), n.node().appendChild(H.node());
507
+ } else {
508
+ let e = N.join(";"), t = G ? G.reduce((e, t) => e + t + ";", "") : "", i = (e ? e + ";" + t + ";" : t) + ";" + (G ? G.reduce((e, t) => e + ";" + t, "") : "");
509
+ H = n.append("path").attr("d", U).attr("id", `${w}-${r.id}`).attr("class", " " + V + (r.classes ? " " + r.classes : "") + (q ? " " + q : "")).attr("style", i), K = i.match(/stroke:([^;]+)/)?.[1], Y = r.animate === !0 || !!r.animation || e.includes("animation");
510
+ let a = H.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = O[r.arrowTypeStart] || 0, c = O[r.arrowTypeEnd] || 0;
511
+ if (r.look === "neo" && !Y) {
512
+ let e = `stroke-dasharray: ${r.pattern === "dotted" || r.pattern === "dashed" ? se(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
513
+ H.attr("style", e + H.attr("style"));
514
+ }
515
+ }
516
+ H.attr("data-edge", !0), H.attr("data-et", "edge"), H.attr("data-id", r.id), H.attr("data-points", P), H.attr("data-look", ee(r.look)), r.showPoints && F.forEach((e) => {
517
+ n.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", e.x).attr("cy", e.y);
518
+ });
519
+ let Z = "";
520
+ (a().flowchart.arrowMarkerAbsolute || a().state.arrowMarkerAbsolute) && (Z = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Z = Z.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), e.info("arrowTypeStart", r.arrowTypeStart), e.info("arrowTypeEnd", r.arrowTypeEnd);
521
+ let Q = !Y && r?.look === "neo";
522
+ re(H, r, Z, w, b, Q, K);
523
+ let ce = Math.floor(k.length / 2), le = k[ce];
524
+ m.isLabelCoordinateInPath(le, H.attr("d")) || (A = !0);
525
+ let $ = {};
526
+ return A && ($.updatedPath = k), $.originalPath = r.points, $;
527
+ }, "insertEdge");
528
+ function J(e, t) {
529
+ if (e.length < 2) return "";
530
+ let n = "", r = e.length, i = 1e-5;
531
+ for (let a = 0; a < r; a++) {
532
+ let o = e[a], s = e[a - 1], c = e[a + 1];
533
+ if (a === 0) n += `M${o.x},${o.y}`;
534
+ else if (a === r - 1) n += `L${o.x},${o.y}`;
535
+ else {
536
+ let e = o.x - s.x, r = o.y - s.y, a = c.x - o.x, l = c.y - o.y, u = Math.hypot(e, r), d = Math.hypot(a, l);
537
+ if (u < i || d < i) {
538
+ n += `L${o.x},${o.y}`;
539
+ continue;
540
+ }
541
+ let f = e / u, p = r / u, m = a / d, h = l / d, g = f * m + p * h, _ = Math.acos(Math.max(-1, Math.min(1, g)));
542
+ if (_ < i || Math.abs(Math.PI - _) < i) {
543
+ n += `L${o.x},${o.y}`;
544
+ continue;
545
+ }
546
+ let v = Math.min(t / Math.sin(_ / 2), u / 2, d / 2), ee = o.x - f * v, y = o.y - p * v, b = o.x + m * v, x = o.y + h * v;
547
+ n += `L${ee},${y}`, n += `Q${o.x},${o.y} ${b},${x}`;
548
+ }
549
+ }
550
+ return n;
551
+ }
552
+ n(J, "generateRoundedPath");
553
+ function Y(e, t) {
554
+ if (!e || !t) return {
555
+ angle: 0,
556
+ deltaX: 0,
557
+ deltaY: 0
558
+ };
559
+ let n = t.x - e.x, r = t.y - e.y;
560
+ return {
561
+ angle: Math.atan2(r, n),
562
+ deltaX: n,
563
+ deltaY: r
564
+ };
565
+ }
566
+ n(Y, "calculateDeltaAndAngle");
567
+ function X(e, t) {
568
+ let n = e.map((e) => ({ ...e }));
569
+ if (e.length >= 2 && D[t.arrowTypeStart]) {
570
+ let r = D[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = Y(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
571
+ n[0].x = i.x + s, n[0].y = i.y + c;
572
+ }
573
+ let r = e.length;
574
+ if (r >= 2 && D[t.arrowTypeEnd]) {
575
+ let i = D[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = Y(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
576
+ n[r - 1].x = a.x - c, n[r - 1].y = a.y - l;
577
+ }
578
+ return n;
579
+ }
580
+ n(X, "applyMarkerOffsetsToPoints");
581
+ var Z = /* @__PURE__ */ n((e, t, n, r) => {
582
+ t.forEach((t) => {
583
+ Q[t](e, n, r);
584
+ });
585
+ }, "insertMarkers"), Q = {
586
+ extension: /* @__PURE__ */ n((t, n, r) => {
587
+ e.trace("Making markers for ", r), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionStart").attr("class", "marker extension " + n).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd").attr("class", "marker extension " + n).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,1 V 13 L18,7 Z"), t.append("marker").attr("id", r + "_" + n + "-extensionStart-margin").attr("class", "marker extension " + n).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,7 18,13 18,1").style("stroke-width", 2).style("stroke-dasharray", "0"), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd-margin").attr("class", "marker extension " + n).attr("refX", 9).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,1 10,13 18,7").style("stroke-width", 2).style("stroke-dasharray", "0");
588
+ }, "extension"),
589
+ composition: /* @__PURE__ */ n((e, t, n) => {
590
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionStart").attr("class", "marker composition " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionEnd").attr("class", "marker composition " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionStart-margin").attr("class", "marker composition " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("viewBox", "0 0 15 15").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionEnd-margin").attr("class", "marker composition " + t).attr("refX", 3.5).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
591
+ }, "composition"),
592
+ aggregation: /* @__PURE__ */ n((e, t, n) => {
593
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationStart").attr("class", "marker aggregation " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationEnd").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationStart-margin").attr("class", "marker aggregation " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationEnd-margin").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
594
+ }, "aggregation"),
595
+ dependency: /* @__PURE__ */ n((e, t, n) => {
596
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyStart").attr("class", "marker dependency " + t).attr("refX", 6).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyEnd").attr("class", "marker dependency " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyStart-margin").attr("class", "marker dependency " + t).attr("refX", 4).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyEnd-margin").attr("class", "marker dependency " + t).attr("refX", 16).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
597
+ }, "dependency"),
598
+ lollipop: /* @__PURE__ */ n((e, t, n) => {
599
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopStart").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopEnd").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopStart-margin").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopEnd-margin").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2);
600
+ }, "lollipop"),
601
+ point: /* @__PURE__ */ n((e, t, n) => {
602
+ e.append("marker").attr("id", n + "_" + t + "-pointEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 4.5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 5 L 10 10 L 10 0 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 11.5).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 10.5).attr("markerHeight", 14).attr("orient", "auto").append("path").attr("d", "M 0 0 L 11.5 7 L 0 14 z").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 1).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11.5).attr("markerHeight", 14).attr("orient", "auto").append("polygon").attr("points", "0,7 11.5,14 11.5,0").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
603
+ }, "point"),
604
+ circle: /* @__PURE__ */ n((e, t, n) => {
605
+ e.append("marker").attr("id", n + "_" + t + "-circleEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 11).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refY", 5).attr("refX", 12.25).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -2).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
606
+ }, "circle"),
607
+ cross: /* @__PURE__ */ n((e, t, n) => {
608
+ e.append("marker").attr("id", n + "_" + t + "-crossEnd").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", 12).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-crossStart").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", -1).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-crossEnd-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", 17.7).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5), e.append("marker").attr("id", n + "_" + t + "-crossStart-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", -3.5).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5).style("stroke-dasharray", "1,0");
609
+ }, "cross"),
610
+ barb: /* @__PURE__ */ n((e, t, n) => {
611
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
612
+ }, "barb"),
613
+ barbNeo: /* @__PURE__ */ n((e, t, n) => {
614
+ let { themeVariables: r } = i(), { transitionColor: a } = r;
615
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd-margin").attr("refX", 17).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z").attr("fill", `${a}`);
616
+ }, "barbNeo"),
617
+ only_one: /* @__PURE__ */ n((e, t, n) => {
618
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18"), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18");
619
+ }, "only_one"),
620
+ zero_or_one: /* @__PURE__ */ n((e, t, n) => {
621
+ let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
622
+ r.append("circle").attr("fill", "white").attr("cx", 21).attr("cy", 9).attr("r", 6), r.append("path").attr("d", "M9,0 L9,18");
623
+ let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
624
+ i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 9).attr("r", 6), i.append("path").attr("d", "M21,0 L21,18");
625
+ }, "zero_or_one"),
626
+ one_or_more: /* @__PURE__ */ n((e, t, n) => {
627
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"), e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18");
628
+ }, "one_or_more"),
629
+ zero_or_more: /* @__PURE__ */ n((e, t, n) => {
630
+ let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
631
+ r.append("circle").attr("fill", "white").attr("cx", 48).attr("cy", 18).attr("r", 6), r.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18");
632
+ let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
633
+ i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 18).attr("r", 6), i.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18");
634
+ }, "zero_or_more"),
635
+ only_one_neo: /* @__PURE__ */ n((e, t, n) => {
636
+ let { themeVariables: r } = i(), { strokeWidth: a } = r;
637
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18").attr("stroke-width", `${a}`);
638
+ }, "only_one_neo"),
639
+ zero_or_one_neo: /* @__PURE__ */ n((e, t, n) => {
640
+ let { themeVariables: r } = i(), { strokeWidth: a, mainBkg: o } = r, s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
641
+ s.append("circle").attr("fill", o ?? "white").attr("cx", 21).attr("cy", 9).attr("stroke-width", `${a}`).attr("r", 6), s.append("path").attr("d", "M9,0 L9,18").attr("stroke-width", `${a}`);
642
+ let c = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
643
+ c.append("circle").attr("fill", o ?? "white").attr("cx", 9).attr("cy", 9).attr("stroke-width", `${a}`).attr("r", 6), c.append("path").attr("d", "M21,0 L21,18").attr("stroke-width", `${a}`);
644
+ }, "zero_or_one_neo"),
645
+ one_or_more_neo: /* @__PURE__ */ n((e, t, n) => {
646
+ let { themeVariables: r } = i(), { strokeWidth: a } = r;
647
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width", `${a}`);
648
+ }, "one_or_more_neo"),
649
+ zero_or_more_neo: /* @__PURE__ */ n((e, t, n) => {
650
+ let { themeVariables: r } = i(), { strokeWidth: a, mainBkg: o } = r, s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
651
+ s.append("circle").attr("fill", o ?? "white").attr("cx", 45.5).attr("cy", 18).attr("r", 6).attr("stroke-width", `${a}`), s.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width", `${a}`);
652
+ let c = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
653
+ c.append("circle").attr("fill", o ?? "white").attr("cx", 11).attr("cy", 18).attr("r", 6).attr("stroke-width", `${a}`), c.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width", `${a}`);
654
+ }, "zero_or_more_neo"),
655
+ requirement_arrow: /* @__PURE__ */ n((e, t, n) => {
656
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20");
657
+ }, "requirement_arrow"),
658
+ requirement_contains: /* @__PURE__ */ n((e, t, n) => {
659
+ let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("g");
660
+ r.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), r.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), r.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10);
661
+ }, "requirement_contains"),
662
+ requirement_arrow_neo: /* @__PURE__ */ n((e, t, n) => {
663
+ let { themeVariables: r } = i(), { strokeWidth: a } = r;
664
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${a}`).attr("viewBox", "0 0 25 20").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin", "miter");
665
+ }, "requirement_arrow_neo"),
666
+ requirement_contains_neo: /* @__PURE__ */ n((e, t, n) => {
667
+ let { themeVariables: r } = i(), { strokeWidth: a } = r, o = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("g");
668
+ o.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), o.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), o.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10), o.selectAll("*").attr("stroke-width", `${a}`);
669
+ }, "requirement_contains_neo")
670
+ }, ce = Z;
671
+ //#endregion
672
+ export { z as a, V as c, q as i, F as l, P as n, D as o, L as r, ce as s, I as t };