@sme.up/ketchup2 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/dist/{arc-Klgb378K.js → arc-D80gVCcI.js} +2 -2
  2. package/dist/{arc-CqG9Hxdf.cjs → arc-MUYNnJxV.cjs} +1 -1
  3. package/dist/architecture-7EHR7CIX-Bnyu5zgG.js +3 -0
  4. package/dist/architecture-7EHR7CIX-CKF7-4kH.cjs +1 -0
  5. package/dist/architectureDiagram-3BPJPVTR-BrmPrClJ.cjs +36 -0
  6. package/dist/{architectureDiagram-Q4EWVU46-CnzjcVBn.js → architectureDiagram-3BPJPVTR-EFK4DMha.js} +167 -166
  7. package/dist/basic-components/cell/cell-utils.d.ts +2 -1
  8. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  9. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  10. package/dist/basic-components/icon/icon.d.ts.map +1 -1
  11. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  12. package/dist/basic-components/text-editor/text-editor-utils.d.ts +11 -0
  13. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  14. package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
  15. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  16. package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -1
  17. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  18. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  19. package/dist/{blockDiagram-DXYQGD6D-B0NvV2Ph.js → blockDiagram-GPEHLZMM-C3UgY0Z5.js} +999 -877
  20. package/dist/blockDiagram-GPEHLZMM-CuzoKhJT.cjs +132 -0
  21. package/dist/{c4Diagram-AHTNJAMY-Dgwv-e5O.cjs → c4Diagram-AAUBKEIU-DU8uXbgK.cjs} +6 -6
  22. package/dist/{c4Diagram-AHTNJAMY-DPijI3_r.js → c4Diagram-AAUBKEIU-klnmEOUo.js} +279 -279
  23. package/dist/channel-BbRDdbmM.js +5 -0
  24. package/dist/channel-intTktDQ.cjs +1 -0
  25. package/dist/chunk-2J33WTMH-EmvF7iYC.js +25 -0
  26. package/dist/chunk-2J33WTMH-PlcpVW8G.cjs +1 -0
  27. package/dist/{chunk-5FUZZQ4R-D3C0F0Tr.js → chunk-3OPIFGDE-C7wE5oN7.js} +957 -929
  28. package/dist/chunk-3OPIFGDE-CT5oNC5X.cjs +62 -0
  29. package/dist/{chunk-4BX2VUAB-BW54-JWg.js → chunk-4BX2VUAB-BO1KRGb1.js} +1 -1
  30. package/dist/{chunk-4BX2VUAB-Qba52sxc.cjs → chunk-4BX2VUAB-CtDGlaPx.cjs} +1 -1
  31. package/dist/{chunk-7N4EOEYR-C-GuhRgW.js → chunk-4EGX6M5U-BMVrizoY.js} +12 -12
  32. package/dist/{chunk-7N4EOEYR-jNBQwvHx.cjs → chunk-4EGX6M5U-VENLmgBt.cjs} +1 -1
  33. package/dist/{chunk-55IACEB6-DPatBzu7.cjs → chunk-55IACEB6-VJP3Osm7.cjs} +1 -1
  34. package/dist/{chunk-55IACEB6-Bu3k0Yz5.js → chunk-55IACEB6-b_Ivgrk-.js} +1 -1
  35. package/dist/chunk-5DO6E6H7-Cx6Mfbjl.cjs +1 -0
  36. package/dist/chunk-5DO6E6H7-QuTLwcim.js +23 -0
  37. package/dist/chunk-5ZQYHXKU-BMnKD7Zq.cjs +2 -0
  38. package/dist/{chunk-5PVQY5BW-Dn8n6moB.js → chunk-5ZQYHXKU-C4uam08j.js} +527 -461
  39. package/dist/chunk-727SXJPM-DTmqhRKX.cjs +206 -0
  40. package/dist/{chunk-4TB4RGXK-D2LRzcEP.js → chunk-727SXJPM-Dof0vDVV.js} +650 -554
  41. package/dist/{chunk-OYMX7WX6-CrK-lehh.cjs → chunk-AQP2D5EJ-DdWeFQ4O.cjs} +5 -5
  42. package/dist/{chunk-OYMX7WX6-DJkGVCqi.js → chunk-AQP2D5EJ-N9ii4fwJ.js} +349 -339
  43. package/dist/{chunk-LIHQZDEY-59I4-LWb.js → chunk-BR22UD5L-CS6hURQQ.js} +15 -15
  44. package/dist/{chunk-LIHQZDEY-CrogR3nT.cjs → chunk-BR22UD5L-wI1vkyAT.cjs} +1 -1
  45. package/dist/{chunk-BSJP7CBP-oNTXVRA7.js → chunk-BSJP7CBP-Bx5APwBA.js} +1 -1
  46. package/dist/{chunk-BSJP7CBP-CFzYPvgr.cjs → chunk-BSJP7CBP-CaeBFqNU.cjs} +1 -1
  47. package/dist/{chunk-ICPOFSXX-fQJ5ufMR.js → chunk-CSCIHK7Q-9WKhcDqw.js} +132 -38
  48. package/dist/chunk-CSCIHK7Q-BPMuICCz.cjs +123 -0
  49. package/dist/chunk-FHYWG6QK-CfRqYwCI.js +23 -0
  50. package/dist/chunk-FHYWG6QK-DxmnARsZ.cjs +1 -0
  51. package/dist/{chunk-FMBD7UC4-RRSc9jqt.js → chunk-FMBD7UC4-BbggSGOg.js} +1 -1
  52. package/dist/{chunk-FMBD7UC4-CS9_r76V.cjs → chunk-FMBD7UC4-CiO_59ls.cjs} +1 -1
  53. package/dist/{chunk-ENJZ2VHE-CZ7BvL2h.js → chunk-KSCS5N6A-BY1s4eGg.js} +205 -205
  54. package/dist/chunk-KSCS5N6A-DO8jEi0y.cjs +10 -0
  55. package/dist/{chunk-ZZ45TVLE-BfSqZnT4.cjs → chunk-L5ZTLDWV-BE9udiOh.cjs} +1 -1
  56. package/dist/{chunk-ZZ45TVLE-X2jolXSO.js → chunk-L5ZTLDWV-D3UwMopa.js} +8 -8
  57. package/dist/{chunk-336JU56O-DQhIGd25.cjs → chunk-LZXEDZCA-Dpz_wx3M.cjs} +1 -1
  58. package/dist/{chunk-336JU56O-DkZvWJVe.js → chunk-LZXEDZCA-KzBFuWPU.js} +18 -18
  59. package/dist/chunk-MPE355IW-4bpROspE.js +23 -0
  60. package/dist/chunk-MPE355IW-CxPw_dPP.cjs +1 -0
  61. package/dist/chunk-MZUSXYTE-DA5mUG5B.js +30 -0
  62. package/dist/chunk-MZUSXYTE-DIg1BPts.cjs +1 -0
  63. package/dist/chunk-N66VUXT2-DSbygtq1.cjs +1 -0
  64. package/dist/chunk-N66VUXT2-pDZ1b-B3.js +54 -0
  65. package/dist/{chunk-YZCP3GAM-D6P3SWmL.js → chunk-ND2GUHAM-CHTke4K8.js} +17 -17
  66. package/dist/{chunk-YZCP3GAM-qxaNo0r8.cjs → chunk-ND2GUHAM-DdBSZTft.cjs} +1 -1
  67. package/dist/chunk-NNHCCRGN-D_orSz6n.js +20630 -0
  68. package/dist/chunk-NNHCCRGN-aKMHXBzL.cjs +159 -0
  69. package/dist/{chunk-X2U36JSP-VxRY65ea.js → chunk-NZK2D7GU-BVOINLmx.js} +13 -13
  70. package/dist/{chunk-X2U36JSP-CtXjVqek.cjs → chunk-NZK2D7GU-_twqedIe.cjs} +1 -1
  71. package/dist/{chunk-U2HBQHQK-CJ77uizk.cjs → chunk-O5CBEL6O-CDvi2oZo.cjs} +6 -6
  72. package/dist/{chunk-U2HBQHQK-Ceyeq0IV.js → chunk-O5CBEL6O-VsMF4aZB.js} +108 -108
  73. package/dist/chunk-PUPMXCY4-CKjhJQnN.js +23 -0
  74. package/dist/chunk-PUPMXCY4-DsS_t57r.cjs +1 -0
  75. package/dist/{chunk-QZHKN3VN-CSMKL2rB.cjs → chunk-QZHKN3VN-CHjRGMI2.cjs} +1 -1
  76. package/dist/{chunk-QZHKN3VN-Bx8I6l3c.js → chunk-QZHKN3VN-DCddt14Q.js} +1 -1
  77. package/dist/chunk-UIBZB4QT-BZf7vqd9.cjs +1 -0
  78. package/dist/chunk-UIBZB4QT-BvFllM0Q.js +23 -0
  79. package/dist/chunk-WCWK7LTN-D_C1as0Y.js +31 -0
  80. package/dist/chunk-WCWK7LTN-Dl2uC9ZD.cjs +1 -0
  81. package/dist/chunk-WU5MYG2G-DgyP9QDj.cjs +1 -0
  82. package/dist/chunk-WU5MYG2G-mQn7Wt-i.js +9 -0
  83. package/dist/{chunk-XPW4576I-BcWkx-AL.js → chunk-XPW4576I-BCowsgDU.js} +1 -1
  84. package/dist/{chunk-XPW4576I-D8Pp6a3j.cjs → chunk-XPW4576I-D_mwgMVU.cjs} +1 -1
  85. package/dist/classDiagram-4FO5ZUOK-5DyhpZRK.cjs +1 -0
  86. package/dist/classDiagram-4FO5ZUOK-BHGLQIkz.js +29 -0
  87. package/dist/classDiagram-v2-Q7XG4LA2-CCAbBo05.js +29 -0
  88. package/dist/classDiagram-v2-Q7XG4LA2-D4TX4CLT.cjs +1 -0
  89. package/dist/components/dash-list/assets/dash-list.data.d.ts +1 -0
  90. package/dist/components/dash-list/assets/dash-list.data.d.ts.map +1 -1
  91. package/dist/components/dash-list/dash-list-types.d.ts +1 -0
  92. package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
  93. package/dist/components/dash-list/dash-list.d.ts.map +1 -1
  94. package/dist/components/dash-list/dash-list.utils.d.ts +0 -3
  95. package/dist/components/dash-list/dash-list.utils.d.ts.map +1 -1
  96. package/dist/components/field/field.d.ts.map +1 -1
  97. package/dist/components/htm/htm-types.d.ts +4 -0
  98. package/dist/components/htm/htm-types.d.ts.map +1 -1
  99. package/dist/components/htm/htm.d.ts.map +1 -1
  100. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  101. package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
  102. package/dist/components/pdf/pdf-types.d.ts +8 -0
  103. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  104. package/dist/components/pdf/pdf-utils.d.ts +1 -1
  105. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  106. package/dist/components/pdf/pdf.d.ts.map +1 -1
  107. package/dist/components/planner/planner-assets.d.ts +2 -2
  108. package/dist/components/planner/planner-assets.d.ts.map +1 -1
  109. package/dist/components/planner/planner-utils.d.ts +1 -0
  110. package/dist/components/planner/planner-utils.d.ts.map +1 -1
  111. package/dist/components/planner/planner.d.ts.map +1 -1
  112. package/dist/components/timeline/timeline.d.ts.map +1 -1
  113. package/dist/components/tooltip/tooltip-assets.d.ts +1 -0
  114. package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
  115. package/dist/components/tooltip/tooltip-types.d.ts +4 -16
  116. package/dist/components/tooltip/tooltip-types.d.ts.map +1 -1
  117. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  118. package/dist/{cose-bilkent-S5V4N54A-B30Rh9DR.js → cose-bilkent-S5V4N54A-Bfb7U01p.js} +26 -27
  119. package/dist/cose-bilkent-S5V4N54A-CE-7Sw0Y.cjs +1 -0
  120. package/dist/dagre-BM42HDAG-BhbA1R8l.cjs +4 -0
  121. package/dist/dagre-BM42HDAG-D87Rv2R4.js +297 -0
  122. package/dist/dagre-CC68z3y6.cjs +1 -0
  123. package/dist/dagre-Cg4CV48I.js +1936 -0
  124. package/dist/diagram-2AECGRRQ-C6vI3yau.cjs +43 -0
  125. package/dist/{diagram-MMDJMWI5-DUpEI5ug.js → diagram-2AECGRRQ-OSYCK0tv.js} +36 -36
  126. package/dist/diagram-5GNKFQAL-BS9rRMAe.cjs +10 -0
  127. package/dist/diagram-5GNKFQAL-DnquluB9.js +101 -0
  128. package/dist/diagram-KO2AKTUF-CFi6eQYd.js +431 -0
  129. package/dist/diagram-KO2AKTUF-CjA_KTJj.cjs +3 -0
  130. package/dist/{diagram-TYMM5635-DHHPZ5ZJ.js → diagram-LMA3HP47-Cwm5bzeM.js} +38 -38
  131. package/dist/diagram-LMA3HP47-DBwSTp2j.cjs +24 -0
  132. package/dist/diagram-OG6HWLK6-BdLnbUYy.cjs +24 -0
  133. package/dist/{diagram-G4DWMVQ6-iYV58Drq.js → diagram-OG6HWLK6-DvGk1j55.js} +93 -93
  134. package/dist/{dist-DL30VIBI.js → dist-9MKIBfY4.js} +1 -1
  135. package/dist/dist-DC1YYeHc.cjs +1 -0
  136. package/dist/{erDiagram-SMLLAGMA-C8FM7wbJ.js → erDiagram-TEJ5UH35-B17mqgD_.js} +164 -164
  137. package/dist/erDiagram-TEJ5UH35-NlRiP_bX.cjs +85 -0
  138. package/dist/eventmodeling-FCH6USID-BVaFiLQO.js +3 -0
  139. package/dist/eventmodeling-FCH6USID-leiC8dtX.cjs +1 -0
  140. package/dist/{flowDiagram-DWJPFMVM-BGtX2gw0.js → flowDiagram-I6XJVG4X-C2G6Tgw_.js} +444 -444
  141. package/dist/{flowDiagram-DWJPFMVM-DWuKiJeo.cjs → flowDiagram-I6XJVG4X-ChI_6giU.cjs} +9 -9
  142. package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -1
  143. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts +106 -0
  144. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts.map +1 -0
  145. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts +2 -0
  146. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts.map +1 -0
  147. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts +38 -0
  148. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts.map +1 -0
  149. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +23 -20
  150. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  151. package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -1
  152. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts +13 -2
  153. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -1
  154. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +4 -0
  155. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -1
  156. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +24 -0
  157. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  158. package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -1
  159. package/dist/ganttDiagram-6RSMTGT7-B0DHqd7u.cjs +292 -0
  160. package/dist/{ganttDiagram-T4ZO3ILL-PY1BUp5b.js → ganttDiagram-6RSMTGT7-Bb6bqcaS.js} +278 -276
  161. package/dist/gitGraph-WXDBUCRP-BFFuTWG4.cjs +1 -0
  162. package/dist/gitGraph-WXDBUCRP-Fz2kRwJ-.js +3 -0
  163. package/dist/gitGraphDiagram-PVQCEYII-BzbgPrwe.cjs +106 -0
  164. package/dist/{gitGraphDiagram-UUTBAWPF-CDIW9-sX.js → gitGraphDiagram-PVQCEYII-DiJUr7lO.js} +255 -255
  165. package/dist/graphlib-B1zohIOM.js +1266 -0
  166. package/dist/graphlib-B5AXIZA4.cjs +1 -0
  167. package/dist/hooks/useFloating.d.ts.map +1 -1
  168. package/dist/info-J43DQDTF-CLRXRK49.js +3 -0
  169. package/dist/info-J43DQDTF-CmpcAuH-.cjs +1 -0
  170. package/dist/infoDiagram-5YYISTIA-C8P9DHlE.js +19 -0
  171. package/dist/infoDiagram-5YYISTIA-fhwEAAjF.cjs +2 -0
  172. package/dist/{ishikawaDiagram-UXIWVN3A-BfkF39Xv.cjs → ishikawaDiagram-YF4QCWOH-j6IZz59g.cjs} +6 -6
  173. package/dist/{ishikawaDiagram-UXIWVN3A-BblrAmns.js → ishikawaDiagram-YF4QCWOH-rqNbTKZp.js} +134 -134
  174. package/dist/{journeyDiagram-VCZTEJTY-UwcVOFtb.cjs → journeyDiagram-JHISSGLW-BhHdd4y3.cjs} +6 -6
  175. package/dist/{journeyDiagram-VCZTEJTY-CCOZ1XFK.js → journeyDiagram-JHISSGLW-peUJlm3L.js} +180 -180
  176. package/dist/{kanban-definition-6JOO6SKY-BWwfbdd6.js → kanban-definition-UN3LZRKU-DLxDqiQn.js} +151 -151
  177. package/dist/{kanban-definition-6JOO6SKY-Coxpi43B.cjs → kanban-definition-UN3LZRKU-TUg1x5yJ.cjs} +8 -8
  178. package/dist/{katex-SAH56fvc.cjs → katex-HkVgAsLB.cjs} +1 -1
  179. package/dist/ketchup2.cjs.js +107 -110
  180. package/dist/ketchup2.css +1 -1
  181. package/dist/ketchup2.es.js +63778 -65955
  182. package/dist/{line-CrxZdHmO.js → line-BhAnxCE8.js} +3 -3
  183. package/dist/line-CpcTW4h-.cjs +1 -0
  184. package/dist/{linear-CxHa1DsM.cjs → linear-D0eFmsG1.cjs} +1 -1
  185. package/dist/{linear-BsPvNLJv.js → linear-lSeWuvgy.js} +3 -3
  186. package/dist/{mermaid-parser.core-CERDf-UG.js → mermaid-parser.core-Dz33ts1l.js} +24 -19
  187. package/dist/mermaid-parser.core-HQxPJrkY.cjs +3 -0
  188. package/dist/{mindmap-definition-QFDTVHPH--xULjpFZ.cjs → mindmap-definition-RKZ34NQL-D9BOsg5W.cjs} +29 -29
  189. package/dist/{mindmap-definition-QFDTVHPH-dYQoMeA6.js → mindmap-definition-RKZ34NQL-DHkmUkxh.js} +148 -148
  190. package/dist/{ordinal-Civr0hZL.cjs → ordinal-BnUYNBtU.cjs} +1 -1
  191. package/dist/{ordinal-C-VoL0XF.js → ordinal-MD9_ORcM.js} +1 -1
  192. package/dist/packet-YPE3B663-BwjweAZY.cjs +1 -0
  193. package/dist/packet-YPE3B663-D1Hr9AQm.js +3 -0
  194. package/dist/pie-LRSECV5Y-CpDfN1P0.js +3 -0
  195. package/dist/pie-LRSECV5Y-I1-OkIXi.cjs +1 -0
  196. package/dist/{pieDiagram-DEJITSTG-Dj5pX4fC.js → pieDiagram-4H26LBE5-ByA7ytZx.js} +40 -40
  197. package/dist/pieDiagram-4H26LBE5-CrLJh4L9.cjs +30 -0
  198. package/dist/{quadrantDiagram-34T5L4WZ-BKNOJBiR.js → quadrantDiagram-W4KKPZXB-CHHpmu1l.js} +547 -520
  199. package/dist/quadrantDiagram-W4KKPZXB-CalC_db_.cjs +7 -0
  200. package/dist/radar-GUYGQ44K-BXt3oO8c.cjs +1 -0
  201. package/dist/radar-GUYGQ44K-ByzrmbOz.js +3 -0
  202. package/dist/{requirementDiagram-MS252O5E-r3eZu57d.js → requirementDiagram-4Y6WPE33-BVcDFSx8.js} +165 -165
  203. package/dist/requirementDiagram-4Y6WPE33-SsePLT8d.cjs +84 -0
  204. package/dist/sankeyDiagram-5OEKKPKP-BgvTZ7jd.cjs +40 -0
  205. package/dist/{sankeyDiagram-XADWPNL6-ErTVVewH.js → sankeyDiagram-5OEKKPKP-C-ODz9lV.js} +202 -153
  206. package/dist/{sequenceDiagram-FGHM5R23-BmqbzzHY.js → sequenceDiagram-3UESZ5HK-Cnc0aDO4.js} +786 -779
  207. package/dist/sequenceDiagram-3UESZ5HK-DEVLteqD.cjs +162 -0
  208. package/dist/src-BgvDIw01.cjs +1 -0
  209. package/dist/{src-BQiFKP24.js → src-v9RrE_4h.js} +578 -563
  210. package/dist/stateDiagram-AJRCARHV-CuHe6Iji.js +217 -0
  211. package/dist/stateDiagram-AJRCARHV-D_yPvIRw.cjs +1 -0
  212. package/dist/stateDiagram-v2-BHNVJYJU-CTnE6fOT.cjs +1 -0
  213. package/dist/stateDiagram-v2-BHNVJYJU-DqstYMSl.js +27 -0
  214. package/dist/{timeline-definition-GMOUNBTQ-DgcI7XnE.js → timeline-definition-PNZ67QCA-Bj1BItRB.js} +324 -324
  215. package/dist/{timeline-definition-GMOUNBTQ-BeTHmikc.cjs → timeline-definition-PNZ67QCA-Cynbc96w.cjs} +48 -48
  216. package/dist/treeView-BLDUP644-CxLhpd93.js +3 -0
  217. package/dist/treeView-BLDUP644-DMwVx0AR.cjs +1 -0
  218. package/dist/treemap-LRROVOQU-BqmiLdFI.js +3 -0
  219. package/dist/treemap-LRROVOQU-XhaFZdvI.cjs +1 -0
  220. package/dist/v4-BpDBEhLK.js +30 -0
  221. package/dist/v4-CA8ev9YY.cjs +1 -0
  222. package/dist/{vennDiagram-DHZGUBPP-7tx3VVDU.js → vennDiagram-CIIHVFJN-CdmcxixA.js} +192 -192
  223. package/dist/vennDiagram-CIIHVFJN-Dm4D6omA.cjs +34 -0
  224. package/dist/wardley-L42UT6IY-C7UjBmVh.js +3 -0
  225. package/dist/wardley-L42UT6IY-DFAYOpjD.cjs +1 -0
  226. package/dist/{wardleyDiagram-NUSXRM2D-DY51LHBa.cjs → wardleyDiagram-YWT4CUSO-C-DdutxP.cjs} +61 -3
  227. package/dist/{wardleyDiagram-NUSXRM2D-DGKU7A2U.js → wardleyDiagram-YWT4CUSO-D1o116Wi.js} +272 -206
  228. package/dist/{xychartDiagram-5P7HB3ND--7RYyckP.js → xychartDiagram-2RQKCTM6-Byw7djcg.js} +213 -213
  229. package/dist/{xychartDiagram-5P7HB3ND-Cj0HUNew.cjs → xychartDiagram-2RQKCTM6-D0D4PIQS.cjs} +6 -6
  230. package/package.json +1 -1
  231. package/dist/architecture-YZFGNWBL-BRqToLcm.js +0 -3
  232. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +0 -1
  233. package/dist/architectureDiagram-Q4EWVU46-CX_6DnSJ.cjs +0 -36
  234. package/dist/blockDiagram-DXYQGD6D-D6DypQdM.cjs +0 -132
  235. package/dist/channel-CRWct3-i.js +0 -5
  236. package/dist/channel-DkTvdPpU.cjs +0 -1
  237. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +0 -23
  238. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +0 -1
  239. package/dist/chunk-426QAEUC-CDXJVpQr.js +0 -9
  240. package/dist/chunk-426QAEUC-CqN26l3E.cjs +0 -1
  241. package/dist/chunk-4TB4RGXK-B0SIkKDf.cjs +0 -206
  242. package/dist/chunk-5FUZZQ4R-Cj5KbGC7.cjs +0 -62
  243. package/dist/chunk-5PVQY5BW-DEPZKGvb.cjs +0 -2
  244. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +0 -1
  245. package/dist/chunk-67CJDMHE-YMBkJcAO.js +0 -23
  246. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +0 -30
  247. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +0 -1
  248. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +0 -1
  249. package/dist/chunk-CIAEETIT-XlxsAz-4.js +0 -23
  250. package/dist/chunk-D-IZpNpi.cjs +0 -1
  251. package/dist/chunk-EDXVE4YY-1dwNWzc7.cjs +0 -1
  252. package/dist/chunk-EDXVE4YY-CGNVB686.js +0 -25
  253. package/dist/chunk-ENJZ2VHE-BAWfx0nA.cjs +0 -10
  254. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +0 -1
  255. package/dist/chunk-FOC6F5B3-E9n6-juB.js +0 -23
  256. package/dist/chunk-ICPOFSXX-hY6BIZ4Y.cjs +0 -122
  257. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +0 -94
  258. package/dist/chunk-K5T4RW27-DY7TOEqa.js +0 -16070
  259. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +0 -23
  260. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +0 -1
  261. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +0 -1
  262. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +0 -31
  263. package/dist/chunk-WQLz0Won.js +0 -20
  264. package/dist/classDiagram-6PBFFD2Q-BT4_JTnP.cjs +0 -1
  265. package/dist/classDiagram-6PBFFD2Q-Dgaxt4wI.js +0 -29
  266. package/dist/classDiagram-v2-HSJHXN6E-CWhiK6nm.js +0 -29
  267. package/dist/classDiagram-v2-HSJHXN6E-DkBLzgTv.cjs +0 -1
  268. package/dist/clone-CQQwPjME.cjs +0 -1
  269. package/dist/clone-Dwbh_blD.js +0 -8
  270. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +0 -1
  271. package/dist/dagre-BcwvU6ZF.cjs +0 -1
  272. package/dist/dagre-D17h-Z-U.js +0 -1606
  273. package/dist/dagre-KV5264BT-BnEKAAAn.js +0 -293
  274. package/dist/dagre-KV5264BT-DRbiLA37.cjs +0 -4
  275. package/dist/diagram-5BDNPKRD-B_Fa4dpl.js +0 -101
  276. package/dist/diagram-5BDNPKRD-CPN8m2Hl.cjs +0 -10
  277. package/dist/diagram-G4DWMVQ6-VpXkNb67.cjs +0 -24
  278. package/dist/diagram-MMDJMWI5-DGk_PUo9.cjs +0 -43
  279. package/dist/diagram-TYMM5635-BH_-vSv9.cjs +0 -24
  280. package/dist/dist-BgvMZbfo.cjs +0 -1
  281. package/dist/erDiagram-SMLLAGMA-vuYEmfFA.cjs +0 -85
  282. package/dist/flatten-BE1bWL-7.js +0 -40
  283. package/dist/flatten-DxvYSoR8.cjs +0 -1
  284. package/dist/ganttDiagram-T4ZO3ILL-C25CnBTv.cjs +0 -292
  285. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +0 -1
  286. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +0 -3
  287. package/dist/gitGraphDiagram-UUTBAWPF-0lCBo9nK.cjs +0 -106
  288. package/dist/graphlib-CdgJ32J_.cjs +0 -1
  289. package/dist/graphlib-DbQkSsC8.js +0 -373
  290. package/dist/identity-KQSjemTb.cjs +0 -1
  291. package/dist/identity-g0dsMjx7.js +0 -393
  292. package/dist/info-OMHHGYJF-Bk0VWVNW.js +0 -3
  293. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +0 -1
  294. package/dist/infoDiagram-42DDH7IO-CQLxpytS.js +0 -19
  295. package/dist/infoDiagram-42DDH7IO-Da__a_a_.cjs +0 -2
  296. package/dist/isEmpty-CA3kJuev.cjs +0 -1
  297. package/dist/isEmpty-RwX-oIQS.js +0 -35
  298. package/dist/line-C7oijaT4.cjs +0 -1
  299. package/dist/mermaid-parser.core-DHpvGOZR.cjs +0 -3
  300. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +0 -3
  301. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +0 -1
  302. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +0 -3
  303. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +0 -1
  304. package/dist/pieDiagram-DEJITSTG-7we8s9eC.cjs +0 -30
  305. package/dist/quadrantDiagram-34T5L4WZ-B3BFuPYQ.cjs +0 -7
  306. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +0 -1
  307. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +0 -3
  308. package/dist/reduce-B7WW9rkU.cjs +0 -1
  309. package/dist/reduce-DNnkcf3M.js +0 -532
  310. package/dist/requirementDiagram-MS252O5E-BemsEy3Y.cjs +0 -84
  311. package/dist/sankeyDiagram-XADWPNL6-B9YCkPHh.cjs +0 -10
  312. package/dist/sequenceDiagram-FGHM5R23-CBpQL6X2.cjs +0 -157
  313. package/dist/src-DFxq-N5I.cjs +0 -1
  314. package/dist/stateDiagram-FHFEXIEX-CL9LE-W1.js +0 -217
  315. package/dist/stateDiagram-FHFEXIEX-Cju5Z2VS.cjs +0 -1
  316. package/dist/stateDiagram-v2-QKLJ7IA2-BHoytfGp.js +0 -27
  317. package/dist/stateDiagram-v2-QKLJ7IA2-DO1H6Vqa.cjs +0 -1
  318. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +0 -1
  319. package/dist/treeView-SZITEDCU-Df3xzFtO.js +0 -3
  320. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +0 -1
  321. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +0 -3
  322. package/dist/v4-6yr83DbP.cjs +0 -1
  323. package/dist/v4-BR71w5_q.js +0 -33
  324. package/dist/vennDiagram-DHZGUBPP-C16dnMoe.cjs +0 -34
  325. package/dist/wardley-RL74JXVD-BtHQbnUy.js +0 -3
  326. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +0 -1
  327. /package/dist/{array-D8NZ46Ht.js → array-CBdkHBGa.js} +0 -0
  328. /package/dist/{array-Dxz0O8Q3.cjs → array-Cx1JwiGD.cjs} +0 -0
  329. /package/dist/{cytoscape.esm-CrBwLFXE.cjs → cytoscape.esm-BzblyxzZ.cjs} +0 -0
  330. /package/dist/{cytoscape.esm-CPjF_mSK.js → cytoscape.esm-VShrX2U1.js} +0 -0
  331. /package/dist/{defaultLocale-DtzyZW63.cjs → defaultLocale-Bj_Ndo9V.cjs} +0 -0
  332. /package/dist/{defaultLocale-Dcyuaxxg.js → defaultLocale-dGy1YRID.js} +0 -0
  333. /package/dist/{init-BO60vQHJ.js → init-B7h4SEX5.js} +0 -0
  334. /package/dist/{init-B2MubQrj.cjs → init-CEL65JUo.cjs} +0 -0
  335. /package/dist/{katex-Du5WiYIy.js → katex-DWDh1q_h.js} +0 -0
  336. /package/dist/{path-CvfwEr8y.js → path-CAXMhBzK.js} +0 -0
  337. /package/dist/{path-Civic7PQ.cjs → path-CRahBUHI.cjs} +0 -0
  338. /package/dist/{rough.esm-BLKo1fIQ.cjs → rough.esm-BEA_SCZB.cjs} +0 -0
  339. /package/dist/{rough.esm-1mqTSjCt.js → rough.esm-TWNWL4Us.js} +0 -0
@@ -0,0 +1,10 @@
1
+ const e=require(`./src-BgvDIw01.cjs`),t=require(`./chunk-CSCIHK7Q-BPMuICCz.cjs`),n=require(`./chunk-5ZQYHXKU-BMnKD7Zq.cjs`),r=require(`./line-CpcTW4h-.cjs`),i=require(`./chunk-BSJP7CBP-CaeBFqNU.cjs`),a=require(`./chunk-L5ZTLDWV-BE9udiOh.cjs`),o=require(`./chunk-NZK2D7GU-_twqedIe.cjs`),s=require(`./chunk-O5CBEL6O-CDvi2oZo.cjs`),c=require(`./rough.esm-BEA_SCZB.cjs`),l=require(`./chunk-3OPIFGDE-CT5oNC5X.cjs`);var u=e.h((e,t,n,r,i,a=!1,o)=>{t.arrowTypeStart&&p(e,`start`,t.arrowTypeStart,n,r,i,a,o),t.arrowTypeEnd&&p(e,`end`,t.arrowTypeEnd,n,r,i,a,o)},`addEdgeMarkers`),d={arrow_cross:{type:`cross`,fill:!1},arrow_point:{type:`point`,fill:!0},arrow_barb:{type:`barb`,fill:!0},arrow_barb_neo:{type:`barb`,fill:!0},arrow_circle:{type:`circle`,fill:!1},aggregation:{type:`aggregation`,fill:!1},extension:{type:`extension`,fill:!1},composition:{type:`composition`,fill:!0},dependency:{type:`dependency`,fill:!0},lollipop:{type:`lollipop`,fill:!1},only_one:{type:`onlyOne`,fill:!1},zero_or_one:{type:`zeroOrOne`,fill:!1},one_or_more:{type:`oneOrMore`,fill:!1},zero_or_more:{type:`zeroOrMore`,fill:!1},requirement_arrow:{type:`requirement_arrow`,fill:!1},requirement_contains:{type:`requirement_contains`,fill:!1}},f=[`cross`,`point`,`circle`,`lollipop`,`aggregation`,`extension`,`composition`,`dependency`,`barb`],p=e.h((t,n,r,i,a,o,s=!1,c)=>{let l=d[r],u=l&&f.includes(l.type);if(!l){e.g.warn(`Unknown arrow type: ${r}`);return}let p=`${a}_${o}-${l.type}${n===`start`?`Start`:`End`}${s&&u?`-margin`:``}`;if(c&&c.trim()!==``){let e=`${p}_${c.replace(/[^\dA-Za-z]/g,`_`)}`;if(!document.getElementById(e)){let t=document.getElementById(p);if(t){let n=t.cloneNode(!0);n.id=e,n.querySelectorAll(`path, circle, line`).forEach(e=>{e.setAttribute(`stroke`,c),l.fill&&e.setAttribute(`fill`,c)}),t.parentNode?.appendChild(n)}}t.attr(`marker-${n}`,`url(${i}#${e})`)}else t.attr(`marker-${n}`,`url(${i}#${p})`)},`addEdgeMarker`),m=e.h(e=>typeof e==`string`?e:t.x()?.flowchart?.curve,`resolveEdgeCurveType`),h=new Map,g=new Map,_=e.h(()=>{h.clear(),g.clear()},`clear`),v=e.h(e=>e?typeof e==`string`?e:e.reduce((e,t)=>e+`;`+t,``):``,`getLabelStyles`),y=e.h(async(n,r)=>{let a=t.x(),c=t.T(a),{labelStyles:u}=o.i(r);r.labelStyle=u;let d=n.insert(`g`).attr(`class`,`edgeLabel`),f=d.insert(`g`).attr(`class`,`label`).attr(`data-id`,r.id),p=r.labelType===`markdown`,m=await s.n(n,r.label,{style:v(r.labelStyle),useHtmlLabels:c,addSvgBackground:!0,isNode:!1,markdown:p,width:void 0},a);f.node().appendChild(m),e.g.info(`abc82`,r,r.labelType);let _=m.getBBox(),y=_;if(c){let t=m.children[0],n=e.p(m);_=t.getBoundingClientRect(),y=_,n.attr(`width`,_.width),n.attr(`height`,_.height)}else{let t=e.p(m).select(`text`).node();t&&typeof t.getBBox==`function`&&(y=t.getBBox())}f.attr(`transform`,i.t(y,c)),h.set(r.id,d),r.width=_.width,r.height=_.height;let x;if(r.startLabelLeft){let t=n.insert(`g`).attr(`class`,`edgeTerminals`),a=t.insert(`g`).attr(`class`,`inner`),o=await l.r(a,r.startLabelLeft,v(r.labelStyle)||``,!1,!1);x=o;let s=o.getBBox();if(c){let t=o.children[0],n=e.p(o);s=t.getBoundingClientRect(),n.attr(`width`,s.width),n.attr(`height`,s.height)}a.attr(`transform`,i.t(s,c)),g.get(r.id)||g.set(r.id,{}),g.get(r.id).startLeft=t,b(x,r.startLabelLeft)}if(r.startLabelRight){let t=n.insert(`g`).attr(`class`,`edgeTerminals`),a=t.insert(`g`).attr(`class`,`inner`),o=await l.r(a,r.startLabelRight,v(r.labelStyle)||``,!1,!1);x=o;let s=o.getBBox();if(c){let t=o.children[0],n=e.p(o);s=t.getBoundingClientRect(),n.attr(`width`,s.width),n.attr(`height`,s.height)}a.attr(`transform`,i.t(s,c)),g.get(r.id)||g.set(r.id,{}),g.get(r.id).startRight=t,b(x,r.startLabelRight)}if(r.endLabelLeft){let t=n.insert(`g`).attr(`class`,`edgeTerminals`),a=t.insert(`g`).attr(`class`,`inner`),o=await l.r(t,r.endLabelLeft,v(r.labelStyle)||``,!1,!1);x=o;let s=o.getBBox();if(c){let t=o.children[0],n=e.p(o);s=t.getBoundingClientRect(),n.attr(`width`,s.width),n.attr(`height`,s.height)}a.attr(`transform`,i.t(s,c)),g.get(r.id)||g.set(r.id,{}),g.get(r.id).endLeft=t,b(x,r.endLabelLeft)}if(r.endLabelRight){let t=n.insert(`g`).attr(`class`,`edgeTerminals`),a=t.insert(`g`).attr(`class`,`inner`),o=await l.r(t,r.endLabelRight,v(r.labelStyle)||``,!1,!1);x=o;let s=o.getBBox();if(c){let t=o.children[0],n=e.p(o);s=t.getBoundingClientRect(),n.attr(`width`,s.width),n.attr(`height`,s.height)}a.attr(`transform`,i.t(s,c)),g.get(r.id)||g.set(r.id,{}),g.get(r.id).endRight=t,b(x,r.endLabelRight)}return m},`insertEdgeLabel`);function b(e,n){t.T(t.x())&&e&&(e.style.width=n.length*9+`px`,e.style.height=`12px`)}e.h(b,`setTerminalWidth`);var x=e.h((r,i)=>{e.g.debug(`Moving label abc88 `,r.id,r.label,h.get(r.id),i);let o=i.updatedPath?i.updatedPath:i.originalPath,{subGraphTitleTotalMargin:s}=a.n(t.x());if(r.label){let t=h.get(r.id),a=r.x,c=r.y;if(o){let t=n.g.calcLabelPosition(o);e.g.debug(`Moving label `+r.label+` from (`,a,`,`,c,`) to (`,t.x,`,`,t.y,`) abc88`),i.updatedPath&&(a=t.x,c=t.y)}t.attr(`transform`,`translate(${a}, ${c+s/2})`)}if(r.startLabelLeft){let e=g.get(r.id).startLeft,t=r.x,i=r.y;if(o){let e=n.g.calcTerminalLabelPosition(r.arrowTypeStart?10:0,`start_left`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}if(r.startLabelRight){let e=g.get(r.id).startRight,t=r.x,i=r.y;if(o){let e=n.g.calcTerminalLabelPosition(r.arrowTypeStart?10:0,`start_right`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}if(r.endLabelLeft){let e=g.get(r.id).endLeft,t=r.x,i=r.y;if(o){let e=n.g.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,`end_left`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}if(r.endLabelRight){let e=g.get(r.id).endRight,t=r.x,i=r.y;if(o){let e=n.g.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,`end_right`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}},`positionEdgeLabel`),S=e.h((e,t)=>{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;return i>=o||a>=s},`outsideNode`),C=e.h((t,n,r)=>{e.g.debug(`intersection calc abc89:
2
+ outsidePoint: ${JSON.stringify(n)}
3
+ insidePoint : ${JSON.stringify(r)}
4
+ node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);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);if(Math.abs(a-n.y)*s>Math.abs(i-n.x)*l){let t=r.y<n.y?n.y-l-a:a-l-n.y;c=d*t/u;let i={x:r.x<n.x?r.x+c:r.x-d+c,y:r.y<n.y?r.y+u-t:r.y-u+t};return c===0&&(i.x=n.x,i.y=n.y),d===0&&(i.x=n.x),u===0&&(i.y=n.y),e.g.debug(`abc89 top/bottom calc, Q ${u}, q ${t}, R ${d}, r ${c}`,i),i}else{c=r.x<n.x?n.x-s-i:i-s-n.x;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;return e.g.debug(`sides calc abc89, Q ${u}, q ${t}, R ${d}, r ${c}`,{_x:a,_y:o}),c===0&&(a=n.x,o=n.y),d===0&&(a=n.x),u===0&&(o=n.y),{x:a,y:o}}},`intersection`),w=e.h((t,n)=>{e.g.warn(`abc88 cutPathAtIntersect`,t,n);let r=[],i=t[0],a=!1;return t.forEach(t=>{if(e.g.info(`abc88 checking point`,t,n),!S(n,t)&&!a){let o=C(n,i,t);e.g.debug(`abc88 inside`,t,i,o),e.g.debug(`abc88 intersection`,o,n);let s=!1;r.forEach(e=>{s||=e.x===o.x&&e.y===o.y}),r.some(e=>e.x===o.x&&e.y===o.y)?e.g.warn(`abc88 no intersect`,o,r):r.push(o),a=!0}else e.g.warn(`abc88 outside`,t,i),i=t,a||r.push(t)}),e.g.debug(`returning points`,r),r},`cutPathAtIntersect`);function T(e){let t=[],n=[];for(let r=1;r<e.length-1;r++){let i=e[r-1],a=e[r],o=e[r+1];(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))}return{cornerPoints:t,cornerPointPositions:n}}e.h(T,`extractCornerPoints`);var E=e.h(function(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n/Math.sqrt(r*r+i*i);return{x:t.x-a*r,y:t.y-a*i}},`findAdjacentPoint`),D=e.h(function(t){let{cornerPointPositions:n}=T(t),r=[];for(let i=0;i<t.length;i++)if(n.includes(i)){let n=t[i-1],a=t[i+1],o=t[i],s=E(n,o,5),c=E(a,o,5),l=c.x-s.x,u=c.y-s.y;r.push(s);let d=Math.sqrt(2)*2,f={x:o.x,y:o.y};Math.abs(a.x-n.x)>10&&Math.abs(a.y-n.y)>=10?(e.g.debug(`Corner point fixing`,Math.abs(a.x-n.x),Math.abs(a.y-n.y)),f=o.x===s.x?{x:l<0?s.x-5+d:s.x+5-d,y:u<0?s.y-d:s.y+d}:{x:l<0?s.x-d:s.x+d,y:u<0?s.y-5+d:s.y+5-d}):e.g.debug(`Corner point skipping fixing`,Math.abs(a.x-n.x),Math.abs(a.y-n.y)),r.push(f,c)}else r.push(t[i]);return r},`fixCorners`),O=e.h((e,t,n)=>{let r=e-t-n,i=Math.floor(r/4);return`0 ${t} ${Array(i).fill(`2 2`).join(` `)} ${n}`},`generateDashArray`),k=e.h(function(a,s,l,d,f,p,h,g=!1){if(!h)throw Error(`insertEdge: missing diagramId for edge "${s.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:_}=t.x(),v=s.points,y=!1,b=f;var x=p;let S=[];for(let e in s.cssCompiledStyles)o.n(e)||S.push(s.cssCompiledStyles[e]);e.g.debug(`UIO intersect check`,s.points,x.x,b.x),x.intersect&&b.intersect&&!g&&(v=v.slice(1,s.points.length-1),v.unshift(b.intersect(v[0])),e.g.debug(`Last point UIO`,s.start,`-->`,s.end,v[v.length-1],x,x.intersect(v[v.length-1])),v.push(x.intersect(v[v.length-1])));let C=btoa(JSON.stringify(v));s.toCluster&&(e.g.info(`to cluster abc88`,l.get(s.toCluster)),v=w(s.points,l.get(s.toCluster).node),y=!0),s.fromCluster&&(e.g.debug(`from cluster abc88`,l.get(s.fromCluster),JSON.stringify(v,null,2)),v=w(v.reverse(),l.get(s.fromCluster).node).reverse(),y=!0);let T=v.filter(e=>!Number.isNaN(e.y)),E=m(s.curve);E!==`rounded`&&(T=D(T));let k=n.rt;switch(E){case`linear`:k=n.rt;break;case`basis`:k=n.et;break;case`cardinal`:k=n.$;break;case`bumpX`:k=n.tt;break;case`bumpY`:k=n.nt;break;case`catmullRom`:k=n.Q;break;case`monotoneX`:k=n.X;break;case`monotoneY`:k=n.Z;break;case`natural`:k=n.Y;break;case`step`:k=n.J;break;case`stepAfter`:k=n.K;break;case`stepBefore`:k=n.q;break;case`rounded`:k=n.rt;break;default:k=n.et}let{x:j,y:N}=i.n(s),P=r.t().x(j).y(N).curve(k),F;switch(s.thickness){case`normal`:F=`edge-thickness-normal`;break;case`thick`:F=`edge-thickness-thick`;break;case`invisible`:F=`edge-thickness-invisible`;break;default:F=`edge-thickness-normal`}switch(s.pattern){case`solid`:F+=` edge-pattern-solid`;break;case`dotted`:F+=` edge-pattern-dotted`;break;case`dashed`:F+=` edge-pattern-dashed`;break;default:F+=` edge-pattern-solid`}let I,L=E===`rounded`?A(M(T,s),5):P(T),R=Array.isArray(s.style)?s.style:[s.style],z=R.find(e=>e?.startsWith(`stroke:`)),B=``;s.animate&&(B=`edge-animation-fast`),s.animation&&(B=`edge-animation-`+s.animation);let V=!1;if(s.look===`handDrawn`){let t=c.t.svg(a);Object.assign([],T);let n=t.path(L,{roughness:.3,seed:_});F+=` transition`,I=e.p(n).select(`path`).attr(`id`,`${h}-${s.id}`).attr(`class`,` `+F+(s.classes?` `+s.classes:``)+(B?` `+B:``)).attr(`style`,R?R.reduce((e,t)=>e+`;`+t,``):``);let r=I.attr(`d`);I.attr(`d`,r),a.node().appendChild(I.node())}else{let e=S.join(`;`),t=R?R.reduce((e,t)=>e+t+`;`,``):``,n=(e?e+`;`+t+`;`:t)+`;`+(R?R.reduce((e,t)=>e+`;`+t,``):``);I=a.append(`path`).attr(`d`,L).attr(`id`,`${h}-${s.id}`).attr(`class`,` `+F+(s.classes?` `+s.classes:``)+(B?` `+B:``)).attr(`style`,n),z=n.match(/stroke:([^;]+)/)?.[1],V=s.animate===!0||!!s.animation||e.includes(`animation`);let r=I.node(),o=typeof r.getTotalLength==`function`?r.getTotalLength():0,c=i.i[s.arrowTypeStart]||0,l=i.i[s.arrowTypeEnd]||0;if(s.look===`neo`&&!V){let e=`stroke-dasharray: ${s.pattern===`dotted`||s.pattern===`dashed`?O(o,c,l):`0 ${c} ${o-c-l} ${l}`}; stroke-dashoffset: 0;`;I.attr(`style`,e+I.attr(`style`))}}I.attr(`data-edge`,!0),I.attr(`data-et`,`edge`),I.attr(`data-id`,s.id),I.attr(`data-points`,C),I.attr(`data-look`,n.u(s.look)),s.showPoints&&T.forEach(e=>{a.append(`circle`).style(`stroke`,`red`).style(`fill`,`red`).attr(`r`,1).attr(`cx`,e.x).attr(`cy`,e.y)});let H=``;(t.x().flowchart.arrowMarkerAbsolute||t.x().state.arrowMarkerAbsolute)&&(H=window.location.protocol+`//`+window.location.host+window.location.pathname+window.location.search,H=H.replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)),e.g.info(`arrowTypeStart`,s.arrowTypeStart),e.g.info(`arrowTypeEnd`,s.arrowTypeEnd);let U=!V&&s?.look===`neo`;u(I,s,H,h,d,U,z);let W=Math.floor(v.length/2),G=v[W];n.g.isLabelCoordinateInPath(G,I.attr(`d`))||(y=!0);let K={};return y&&(K.updatedPath=v),K.originalPath=s.points,K},`insertEdge`);function A(e,t){if(e.length<2)return``;let n=``,r=e.length,i=1e-5;for(let a=0;a<r;a++){let o=e[a],s=e[a-1],c=e[a+1];if(a===0)n+=`M${o.x},${o.y}`;else if(a===r-1)n+=`L${o.x},${o.y}`;else{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);if(u<i||d<i){n+=`L${o.x},${o.y}`;continue}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)));if(_<i||Math.abs(Math.PI-_)<i){n+=`L${o.x},${o.y}`;continue}let v=Math.min(t/Math.sin(_/2),u/2,d/2),y=o.x-f*v,b=o.y-p*v,x=o.x+m*v,S=o.y+h*v;n+=`L${y},${b}`,n+=`Q${o.x},${o.y} ${x},${S}`}}return n}e.h(A,`generateRoundedPath`);function j(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};let n=t.x-e.x,r=t.y-e.y;return{angle:Math.atan2(r,n),deltaX:n,deltaY:r}}e.h(j,`calculateDeltaAndAngle`);function M(e,t){let n=e.map(e=>({...e}));if(e.length>=2&&i.r[t.arrowTypeStart]){let r=i.r[t.arrowTypeStart],a=e[0],o=e[1],{angle:s}=j(a,o),c=r*Math.cos(s),l=r*Math.sin(s);n[0].x=a.x+c,n[0].y=a.y+l}let r=e.length;if(r>=2&&i.r[t.arrowTypeEnd]){let a=i.r[t.arrowTypeEnd],o=e[r-1],s=e[r-2],{angle:c}=j(s,o),l=a*Math.cos(c),u=a*Math.sin(c);n[r-1].x=o.x-l,n[r-1].y=o.y-u}return n}e.h(M,`applyMarkerOffsetsToPoints`);var N=e.h((e,t,n,r)=>{t.forEach(t=>{P[t](e,n,r)})},`insertMarkers`),P={extension:e.h((t,n,r)=>{e.g.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`).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`)},`extension`),composition:e.h((e,t,n)=>{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`).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`).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`)},`composition`),aggregation:e.h((e,t,n)=>{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`).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`).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`)},`aggregation`),dependency:e.h((e,t,n)=>{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`).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`).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`)},`dependency`),lollipop:e.h((e,t,n)=>{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`).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`).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)},`lollipop`),point:e.h((e,t,n)=>{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`)},`point`),circle:e.h((e,t,n)=>{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`)},`circle`),cross:e.h((e,t,n)=>{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`)},`cross`),barb:e.h((e,t,n)=>{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`)},`barb`),barbNeo:e.h((e,n,r)=>{let{themeVariables:i}=t.b(),{transitionColor:a}=i;e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-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`,r+`_`+n+`-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}`)},`barbNeo`),only_one:e.h((e,t,n)=>{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`)},`only_one`),zero_or_one:e.h((e,t,n)=>{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`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,21).attr(`cy`,9).attr(`r`,6),r.append(`path`).attr(`d`,`M9,0 L9,18`);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`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,9).attr(`r`,6),i.append(`path`).attr(`d`,`M21,0 L21,18`)},`zero_or_one`),one_or_more:e.h((e,t,n)=>{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`)},`one_or_more`),zero_or_more:e.h((e,t,n)=>{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`);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`);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`);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`)},`zero_or_more`),only_one_neo:e.h((e,n,r)=>{let{themeVariables:i}=t.b(),{strokeWidth:a}=i;e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-onlyOneStart`).attr(`class`,`marker onlyOne `+n).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`,r+`_`+n+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+n).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}`)},`only_one_neo`),zero_or_one_neo:e.h((e,n,r)=>{let{themeVariables:i}=t.b(),{strokeWidth:a,mainBkg:o}=i,s=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+n).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);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}`);let c=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+n).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);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}`)},`zero_or_one_neo`),one_or_more_neo:e.h((e,n,r)=>{let{themeVariables:i}=t.b(),{strokeWidth:a}=i;e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+n).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`,r+`_`+n+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+n).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}`)},`one_or_more_neo`),zero_or_more_neo:e.h((e,n,r)=>{let{themeVariables:i}=t.b(),{strokeWidth:a,mainBkg:o}=i,s=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+n).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);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}`);let c=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+n).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);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}`)},`zero_or_more_neo`),requirement_arrow:e.h((e,t,n)=>{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
5
+ L20,10
6
+ M20,10
7
+ L0,20`)},`requirement_arrow`),requirement_contains:e.h((e,t,n)=>{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`);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)},`requirement_contains`),requirement_arrow_neo:e.h((e,n,r)=>{let{themeVariables:i}=t.b(),{strokeWidth:a}=i;e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-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
8
+ L20,10
9
+ M20,10
10
+ L0,20`).attr(`stroke-linejoin`,`miter`)},`requirement_arrow_neo`),requirement_contains_neo:e.h((e,n,r)=>{let{themeVariables:i}=t.b(),{strokeWidth:a}=i,o=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-requirement_containsStart`).attr(`refX`,0).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`g`);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}`)},`requirement_contains_neo`)},F=N;Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return F}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return _}});
@@ -1 +1 @@
1
- const e=require(`./chunk-ICPOFSXX-hY6BIZ4Y.cjs`),t=require(`./src-DFxq-N5I.cjs`),n=require(`./chunk-5PVQY5BW-DEPZKGvb.cjs`);var r=t.h(({flowchart:e})=>{let t=e?.subGraphTitleMargin?.top??0,n=e?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:t,subGraphTitleBottomMargin:n,subGraphTitleTotalMargin:t+n}},`getSubGraphTitleMargins`);async function i(r,i){let a=r.getElementsByTagName(`img`);if(!a||a.length===0)return;let o=i.replace(/<img[^>]*>/g,``).trim()===``;await Promise.all([...a].map(r=>new Promise(i=>{function a(){if(r.style.display=`flex`,r.style.flexDirection=`column`,o){let t=e.b().fontSize?e.b().fontSize:window.getComputedStyle(document.body).fontSize,[i=e.d.fontSize]=n.f(t),a=i*5+`px`;r.style.minWidth=a,r.style.maxWidth=a}else r.style.width=`100%`;i(r)}t.h(a,`setupImage`),setTimeout(()=>{r.complete&&a()}),r.addEventListener(`error`,a),r.addEventListener(`load`,a)})))}t.h(i,`configureLabelImages`),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
1
+ const e=require(`./src-BgvDIw01.cjs`),t=require(`./chunk-CSCIHK7Q-BPMuICCz.cjs`),n=require(`./chunk-5ZQYHXKU-BMnKD7Zq.cjs`);var r=e.h(({flowchart:e})=>{let t=e?.subGraphTitleMargin?.top??0,n=e?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:t,subGraphTitleBottomMargin:n,subGraphTitleTotalMargin:t+n}},`getSubGraphTitleMargins`);async function i(r,i){let a=r.getElementsByTagName(`img`);if(!a||a.length===0)return;let o=i.replace(/<img[^>]*>/g,``).trim()===``;await Promise.all([...a].map(r=>new Promise(i=>{function a(){if(r.style.display=`flex`,r.style.flexDirection=`column`,o){let e=t.x().fontSize?t.x().fontSize:window.getComputedStyle(document.body).fontSize,[i=t.f.fontSize]=n.p(e),a=i*5+`px`;r.style.minWidth=a,r.style.maxWidth=a}else r.style.width=`100%`;i(r)}e.h(a,`setupImage`),setTimeout(()=>{r.complete&&a()}),r.addEventListener(`error`,a),r.addEventListener(`load`,a)})))}e.h(i,`configureLabelImages`),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
@@ -1,8 +1,8 @@
1
- import { b as e, d as t } from "./chunk-ICPOFSXX-fQJ5ufMR.js";
2
- import { h as n } from "./src-BQiFKP24.js";
3
- import { f as r } from "./chunk-5PVQY5BW-Dn8n6moB.js";
4
- //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZZ45TVLE.mjs
5
- var i = /* @__PURE__ */ n(({ flowchart: e }) => {
1
+ import { h as e } from "./src-v9RrE_4h.js";
2
+ import { f as t, x as n } from "./chunk-CSCIHK7Q-9WKhcDqw.js";
3
+ import { p as r } from "./chunk-5ZQYHXKU-C4uam08j.js";
4
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-L5ZTLDWV.mjs
5
+ var i = /* @__PURE__ */ e(({ flowchart: e }) => {
6
6
  let t = e?.subGraphTitleMargin?.top ?? 0, n = e?.subGraphTitleMargin?.bottom ?? 0;
7
7
  return {
8
8
  subGraphTitleTopMargin: t,
@@ -17,16 +17,16 @@ async function a(i, a) {
17
17
  await Promise.all([...o].map((i) => new Promise((a) => {
18
18
  function o() {
19
19
  if (i.style.display = "flex", i.style.flexDirection = "column", s) {
20
- let [n = t.fontSize] = r(e().fontSize ? e().fontSize : window.getComputedStyle(document.body).fontSize), a = n * 5 + "px";
20
+ let [e = t.fontSize] = r(n().fontSize ? n().fontSize : window.getComputedStyle(document.body).fontSize), a = e * 5 + "px";
21
21
  i.style.minWidth = a, i.style.maxWidth = a;
22
22
  } else i.style.width = "100%";
23
23
  a(i);
24
24
  }
25
- n(o, "setupImage"), setTimeout(() => {
25
+ e(o, "setupImage"), setTimeout(() => {
26
26
  i.complete && o();
27
27
  }), i.addEventListener("error", o), i.addEventListener("load", o);
28
28
  })));
29
29
  }
30
- n(a, "configureLabelImages");
30
+ e(a, "configureLabelImages");
31
31
  //#endregion
32
32
  export { i as n, a as t };
@@ -1 +1 @@
1
- const e=require(`./chunk-ICPOFSXX-hY6BIZ4Y.cjs`),t=require(`./src-DFxq-N5I.cjs`),n=require(`./chunk-5PVQY5BW-DEPZKGvb.cjs`),r=require(`./chunk-5FUZZQ4R-Cj5KbGC7.cjs`),i=require(`./chunk-ENJZ2VHE-BAWfx0nA.cjs`);var a={common:e.s,getConfig:e.y,insertCluster:r.i,insertEdge:i.n,insertEdgeLabel:i.r,insertMarkers:i.i,insertNode:r.a,interpolateToCurve:n.u,labelHelper:r.s,log:t.g,positionEdgeLabel:i.a},o={},s=t.h(e=>{for(let t of e)o[t.name]=t},`registerLayoutLoaders`);t.h(()=>{s([{name:`dagre`,loader:t.h(async()=>await Promise.resolve().then(()=>require(`./dagre-KV5264BT-DRbiLA37.cjs`)),`loader`)},...[{name:`cose-bilkent`,loader:t.h(async()=>await Promise.resolve().then(()=>require(`./cose-bilkent-S5V4N54A-Bhdp-wcb.cjs`)),`loader`)}]])},`registerDefaultLayoutLoaders`)();var c=t.h(async(e,t)=>{if(!(e.layoutAlgorithm in o))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let n=o[e.layoutAlgorithm],r=await n.loader(),{theme:i,themeVariables:s}=e.config,{useGradient:c,gradientStart:l,gradientStop:u}=s,d=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${d}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${d}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),c){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,l).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,u).attr(`stop-opacity`,1)}return r.render(e,t,a,{algorithm:n.algorithm})},`render`),l=t.h((e=``,{fallback:n=`dagre`}={})=>{if(e in o)return e;if(n in o)return t.g.warn(`Layout algorithm ${e} is not registered. Using ${n} as fallback.`),n;throw Error(`Both layout algorithms ${e} and ${n} are not registered.`)},`getRegisteredLayoutAlgorithm`);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return l}});
1
+ const e=require(`./src-BgvDIw01.cjs`),t=require(`./chunk-CSCIHK7Q-BPMuICCz.cjs`),n=require(`./chunk-5ZQYHXKU-BMnKD7Zq.cjs`),r=require(`./chunk-3OPIFGDE-CT5oNC5X.cjs`),i=require(`./chunk-KSCS5N6A-DO8jEi0y.cjs`);var a={common:t.s,getConfig:t.b,insertCluster:r.i,insertEdge:i.n,insertEdgeLabel:i.r,insertMarkers:i.i,insertNode:r.a,interpolateToCurve:n.d,labelHelper:r.s,log:e.g,positionEdgeLabel:i.a},o={},s=e.h(e=>{for(let t of e)o[t.name]=t},`registerLayoutLoaders`);e.h(()=>{s([{name:`dagre`,loader:e.h(async()=>await Promise.resolve().then(()=>require(`./dagre-BM42HDAG-BhbA1R8l.cjs`)),`loader`)},...[{name:`cose-bilkent`,loader:e.h(async()=>await Promise.resolve().then(()=>require(`./cose-bilkent-S5V4N54A-CE-7Sw0Y.cjs`)),`loader`)}]])},`registerDefaultLayoutLoaders`)();var c=e.h(async(e,t)=>{if(!(e.layoutAlgorithm in o))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let n=o[e.layoutAlgorithm],r=await n.loader(),{theme:i,themeVariables:s}=e.config,{useGradient:c,gradientStart:l,gradientStop:u}=s,d=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${d}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${d}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),c){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,l).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,u).attr(`stop-opacity`,1)}return r.render(e,t,a,{algorithm:n.algorithm})},`render`),l=e.h((t=``,{fallback:n=`dagre`}={})=>{if(t in o)return t;if(n in o)return e.g.warn(`Layout algorithm ${t} is not registered. Using ${n} as fallback.`),n;throw Error(`Both layout algorithms ${t} and ${n} are not registered.`)},`getRegisteredLayoutAlgorithm`);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return l}});
@@ -1,12 +1,12 @@
1
- import { s as e, y as t } from "./chunk-ICPOFSXX-fQJ5ufMR.js";
2
- import { g as n, h as r } from "./src-BQiFKP24.js";
3
- import { u as i } from "./chunk-5PVQY5BW-Dn8n6moB.js";
4
- import { a, i as o, s } from "./chunk-5FUZZQ4R-D3C0F0Tr.js";
5
- import { a as c, i as l, n as u, r as d } from "./chunk-ENJZ2VHE-CZ7BvL2h.js";
6
- //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-336JU56O.mjs
1
+ import { g as e, h as t } from "./src-v9RrE_4h.js";
2
+ import { b as n, s as r } from "./chunk-CSCIHK7Q-9WKhcDqw.js";
3
+ import { d as i } from "./chunk-5ZQYHXKU-C4uam08j.js";
4
+ import { a, i as o, s } from "./chunk-3OPIFGDE-C7wE5oN7.js";
5
+ import { a as c, i as l, n as u, r as d } from "./chunk-KSCS5N6A-BY1s4eGg.js";
6
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-LZXEDZCA.mjs
7
7
  var f = {
8
- common: e,
9
- getConfig: t,
8
+ common: r,
9
+ getConfig: n,
10
10
  insertCluster: o,
11
11
  insertEdge: u,
12
12
  insertEdgeLabel: d,
@@ -14,21 +14,21 @@ var f = {
14
14
  insertNode: a,
15
15
  interpolateToCurve: i,
16
16
  labelHelper: s,
17
- log: n,
17
+ log: e,
18
18
  positionEdgeLabel: c
19
- }, p = {}, m = /* @__PURE__ */ r((e) => {
19
+ }, p = {}, m = /* @__PURE__ */ t((e) => {
20
20
  for (let t of e) p[t.name] = t;
21
21
  }, "registerLayoutLoaders");
22
- (/* @__PURE__ */ r(() => {
22
+ (/* @__PURE__ */ t(() => {
23
23
  m([{
24
24
  name: "dagre",
25
- loader: /* @__PURE__ */ r(async () => await import("./dagre-KV5264BT-BnEKAAAn.js"), "loader")
25
+ loader: /* @__PURE__ */ t(async () => await import("./dagre-BM42HDAG-D87Rv2R4.js"), "loader")
26
26
  }, ...[{
27
27
  name: "cose-bilkent",
28
- loader: /* @__PURE__ */ r(async () => await import("./cose-bilkent-S5V4N54A-B30Rh9DR.js"), "loader")
28
+ loader: /* @__PURE__ */ t(async () => await import("./cose-bilkent-S5V4N54A-Bfb7U01p.js"), "loader")
29
29
  }]]);
30
30
  }, "registerDefaultLayoutLoaders"))();
31
- var h = /* @__PURE__ */ r(async (e, t) => {
31
+ var h = /* @__PURE__ */ t(async (e, t) => {
32
32
  if (!(e.layoutAlgorithm in p)) throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);
33
33
  if (e.diagramId) for (let t of e.nodes) {
34
34
  let n = t.domId || t.id;
@@ -40,10 +40,10 @@ var h = /* @__PURE__ */ r(async (e, t) => {
40
40
  e.append("svg:stop").attr("offset", "0%").attr("stop-color", s).attr("stop-opacity", 1), e.append("svg:stop").attr("offset", "100%").attr("stop-color", c).attr("stop-opacity", 1);
41
41
  }
42
42
  return r.render(e, t, f, { algorithm: n.algorithm });
43
- }, "render"), g = /* @__PURE__ */ r((e = "", { fallback: t = "dagre" } = {}) => {
44
- if (e in p) return e;
45
- if (t in p) return n.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`), t;
46
- throw Error(`Both layout algorithms ${e} and ${t} are not registered.`);
43
+ }, "render"), g = /* @__PURE__ */ t((t = "", { fallback: n = "dagre" } = {}) => {
44
+ if (t in p) return t;
45
+ if (n in p) return e.warn(`Layout algorithm ${t} is not registered. Using ${n} as fallback.`), n;
46
+ throw Error(`Both layout algorithms ${t} and ${n} are not registered.`);
47
47
  }, "getRegisteredLayoutAlgorithm");
48
48
  //#endregion
49
49
  export { m as n, h as r, g as t };
@@ -0,0 +1,23 @@
1
+ import { _ as e, a as t, g as n, i as r, l as i, t as a, u as o, v as s, y as c } from "./chunk-NNHCCRGN-D_orSz6n.js";
2
+ //#region node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MPE355IW.mjs
3
+ var l = class extends a {
4
+ static {
5
+ n(this, "PacketTokenBuilder");
6
+ }
7
+ constructor() {
8
+ super(["packet"]);
9
+ }
10
+ }, u = { parser: {
11
+ TokenBuilder: /* @__PURE__ */ n(() => new l(), "TokenBuilder"),
12
+ ValueConverter: /* @__PURE__ */ n(() => new r(), "ValueConverter")
13
+ } };
14
+ function d(n = t) {
15
+ let r = c(s(n), i), a = c(e({ shared: r }), o, u);
16
+ return r.ServiceRegistry.register(a), {
17
+ shared: r,
18
+ Packet: a
19
+ };
20
+ }
21
+ n(d, "createPacketServices");
22
+ //#endregion
23
+ export { d as n, u as t };
@@ -0,0 +1 @@
1
+ const e=require(`./chunk-NNHCCRGN-aKMHXBzL.cjs`);var t=class extends e.t{static{e.g(this,`PacketTokenBuilder`)}constructor(){super([`packet`])}},n={parser:{TokenBuilder:e.g(()=>new t,`TokenBuilder`),ValueConverter:e.g(()=>new e.i,`ValueConverter`)}};function r(t=e.a){let r=e.y(e.v(t),e.l),i=e.y(e._({shared:r}),e.u,n);return r.ServiceRegistry.register(i),{shared:r,Packet:i}}e.g(r,`createPacketServices`),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
@@ -0,0 +1,30 @@
1
+ import { _ as e, a as t, d as n, g as r, l as i, n as a, t as o, v as s, y as c } from "./chunk-NNHCCRGN-D_orSz6n.js";
2
+ //#region node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MZUSXYTE.mjs
3
+ var l = class extends o {
4
+ static {
5
+ r(this, "PieTokenBuilder");
6
+ }
7
+ constructor() {
8
+ super(["pie", "showData"]);
9
+ }
10
+ }, u = class extends a {
11
+ static {
12
+ r(this, "PieValueConverter");
13
+ }
14
+ runCustomConverter(e, t, n) {
15
+ if (e.name === "PIE_SECTION_LABEL") return t.replace(/"/g, "").trim();
16
+ }
17
+ }, d = { parser: {
18
+ TokenBuilder: /* @__PURE__ */ r(() => new l(), "TokenBuilder"),
19
+ ValueConverter: /* @__PURE__ */ r(() => new u(), "ValueConverter")
20
+ } };
21
+ function f(r = t) {
22
+ let a = c(s(r), i), o = c(e({ shared: a }), n, d);
23
+ return a.ServiceRegistry.register(o), {
24
+ shared: a,
25
+ Pie: o
26
+ };
27
+ }
28
+ r(f, "createPieServices");
29
+ //#endregion
30
+ export { f as n, d as t };
@@ -0,0 +1 @@
1
+ const e=require(`./chunk-NNHCCRGN-aKMHXBzL.cjs`);var t=class extends e.t{static{e.g(this,`PieTokenBuilder`)}constructor(){super([`pie`,`showData`])}},n=class extends e.n{static{e.g(this,`PieValueConverter`)}runCustomConverter(e,t,n){if(e.name===`PIE_SECTION_LABEL`)return t.replace(/"/g,``).trim()}},r={parser:{TokenBuilder:e.g(()=>new t,`TokenBuilder`),ValueConverter:e.g(()=>new n,`ValueConverter`)}};function i(t=e.a){let n=e.y(e.v(t),e.l),i=e.y(e._({shared:n}),e.d,r);return n.ServiceRegistry.register(i),{shared:n,Pie:i}}e.g(i,`createPieServices`),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
@@ -0,0 +1 @@
1
+ const e=require(`./chunk-NNHCCRGN-aKMHXBzL.cjs`);var t=class extends e.t{static{e.g(this,`EventModelingTokenBuilder`)}constructor(){super([`eventmodeling`])}},n=new Set([`cmd`,`command`]),r=new Set([`evt`,`event`]),i=new Set([`rmo`,`readmodel`]),a=new Set([`pcr`,`processor`]),o=new Set([`ui`]);function s(e){let t=e.validation.EventModelingValidator,n=e.validation.ValidationRegistry;if(n){let e={EmTimeFrame:t.checkSourceFrameTypes.bind(t),EmResetFrame:t.checkSourceFrameTypes.bind(t)};n.register(e,t)}}e.g(s,`registerValidationChecks`);var c=class{static{e.g(this,`EventModelingValidator`)}checkSourceFrameTypes(e,t){e.sourceFrames.length!==0&&(n.has(e.modelEntityType)?this.validateSources(e,new Set([...o,...a]),`command`,`ui or processor`,t):r.has(e.modelEntityType)?this.validateSources(e,n,`event`,`command`,t):i.has(e.modelEntityType)?this.validateSources(e,r,`read model`,`event`,t):a.has(e.modelEntityType)?this.validateSources(e,i,`processor`,`read model`,t):o.has(e.modelEntityType)&&this.validateSources(e,i,`ui`,`read model`,t))}validateSources(e,t,n,r,i){for(let a of e.sourceFrames){let o=a.ref;o!==void 0&&!t.has(o.modelEntityType)&&i(`error`,`A ${n} can only receive input from a ${r}, not from '${o.modelEntityType}'.`,{node:e,property:`sourceFrames`})}}},l={parser:{TokenBuilder:e.g(()=>new t,`TokenBuilder`),ValueConverter:e.g(()=>new e.i,`ValueConverter`)},validation:{EventModelingValidator:e.g(()=>new c,`EventModelingValidator`)}};function u(t=e.a){let n=e.y(e.v(t),e.l),r=e.y(e._({shared:n}),e.o,l);return n.ServiceRegistry.register(r),s(r),{shared:n,EventModel:r}}e.g(u,`createEventModelingServices`),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return l}});
@@ -0,0 +1,54 @@
1
+ import { _ as e, a as t, g as n, i as r, l as i, o as a, t as o, v as s, y as c } from "./chunk-NNHCCRGN-D_orSz6n.js";
2
+ //#region node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-N66VUXT2.mjs
3
+ var l = class extends o {
4
+ static {
5
+ n(this, "EventModelingTokenBuilder");
6
+ }
7
+ constructor() {
8
+ super(["eventmodeling"]);
9
+ }
10
+ }, u = /* @__PURE__ */ new Set(["cmd", "command"]), d = /* @__PURE__ */ new Set(["evt", "event"]), f = /* @__PURE__ */ new Set(["rmo", "readmodel"]), p = /* @__PURE__ */ new Set(["pcr", "processor"]), m = /* @__PURE__ */ new Set(["ui"]);
11
+ function h(e) {
12
+ let t = e.validation.EventModelingValidator, n = e.validation.ValidationRegistry;
13
+ if (n) {
14
+ let e = {
15
+ EmTimeFrame: t.checkSourceFrameTypes.bind(t),
16
+ EmResetFrame: t.checkSourceFrameTypes.bind(t)
17
+ };
18
+ n.register(e, t);
19
+ }
20
+ }
21
+ n(h, "registerValidationChecks");
22
+ var g = class {
23
+ static {
24
+ n(this, "EventModelingValidator");
25
+ }
26
+ checkSourceFrameTypes(e, t) {
27
+ e.sourceFrames.length !== 0 && (u.has(e.modelEntityType) ? this.validateSources(e, /* @__PURE__ */ new Set([...m, ...p]), "command", "ui or processor", t) : d.has(e.modelEntityType) ? this.validateSources(e, u, "event", "command", t) : f.has(e.modelEntityType) ? this.validateSources(e, d, "read model", "event", t) : p.has(e.modelEntityType) ? this.validateSources(e, f, "processor", "read model", t) : m.has(e.modelEntityType) && this.validateSources(e, f, "ui", "read model", t));
28
+ }
29
+ validateSources(e, t, n, r, i) {
30
+ for (let a of e.sourceFrames) {
31
+ let o = a.ref;
32
+ o !== void 0 && !t.has(o.modelEntityType) && i("error", `A ${n} can only receive input from a ${r}, not from '${o.modelEntityType}'.`, {
33
+ node: e,
34
+ property: "sourceFrames"
35
+ });
36
+ }
37
+ }
38
+ }, _ = {
39
+ parser: {
40
+ TokenBuilder: /* @__PURE__ */ n(() => new l(), "TokenBuilder"),
41
+ ValueConverter: /* @__PURE__ */ n(() => new r(), "ValueConverter")
42
+ },
43
+ validation: { EventModelingValidator: /* @__PURE__ */ n(() => new g(), "EventModelingValidator") }
44
+ };
45
+ function v(n = t) {
46
+ let r = c(s(n), i), o = c(e({ shared: r }), a, _);
47
+ return r.ServiceRegistry.register(o), h(o), {
48
+ shared: r,
49
+ EventModel: o
50
+ };
51
+ }
52
+ n(v, "createEventModelingServices");
53
+ //#endregion
54
+ export { v as n, _ as t };
@@ -1,12 +1,12 @@
1
- import { A as e } from "./chunk-ICPOFSXX-fQJ5ufMR.js";
2
- import { h as t, p as n } from "./src-BQiFKP24.js";
3
- import { t as r } from "./dist-DL30VIBI.js";
4
- //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-YZCP3GAM.mjs
5
- var i = r(), a = /* @__PURE__ */ t((e, t) => {
1
+ import { h as e, p as t } from "./src-v9RrE_4h.js";
2
+ import { j as n } from "./chunk-CSCIHK7Q-9WKhcDqw.js";
3
+ import { t as r } from "./dist-9MKIBfY4.js";
4
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-ND2GUHAM.mjs
5
+ var i = r(), a = /* @__PURE__ */ e((e, t) => {
6
6
  let n = e.append("rect");
7
7
  if (n.attr("x", t.x), n.attr("y", t.y), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("width", t.width), n.attr("height", t.height), t.name && n.attr("name", t.name), t.rx && n.attr("rx", t.rx), t.ry && n.attr("ry", t.ry), t.attrs !== void 0) for (let e in t.attrs) n.attr(e, t.attrs[e]);
8
8
  return t.class && n.attr("class", t.class), n;
9
- }, "drawRect"), o = /* @__PURE__ */ t((e, t) => {
9
+ }, "drawRect"), o = /* @__PURE__ */ e((e, t) => {
10
10
  a(e, {
11
11
  x: t.startx,
12
12
  y: t.starty,
@@ -16,22 +16,22 @@ var i = r(), a = /* @__PURE__ */ t((e, t) => {
16
16
  stroke: t.stroke,
17
17
  class: "rect"
18
18
  }).lower();
19
- }, "drawBackgroundRect"), s = /* @__PURE__ */ t((t, n) => {
20
- let r = n.text.replace(e, " "), i = t.append("text");
21
- i.attr("x", n.x), i.attr("y", n.y), i.attr("class", "legend"), i.style("text-anchor", n.anchor), n.class && i.attr("class", n.class);
19
+ }, "drawBackgroundRect"), s = /* @__PURE__ */ e((e, t) => {
20
+ let r = t.text.replace(n, " "), i = e.append("text");
21
+ i.attr("x", t.x), i.attr("y", t.y), i.attr("class", "legend"), i.style("text-anchor", t.anchor), t.class && i.attr("class", t.class);
22
22
  let a = i.append("tspan");
23
- return a.attr("x", n.x + n.textMargin * 2), a.text(r), i;
24
- }, "drawText"), c = /* @__PURE__ */ t((e, t, n, r) => {
23
+ return a.attr("x", t.x + t.textMargin * 2), a.text(r), i;
24
+ }, "drawText"), c = /* @__PURE__ */ e((e, t, n, r) => {
25
25
  let a = e.append("image");
26
26
  a.attr("x", t), a.attr("y", n);
27
27
  let o = (0, i.sanitizeUrl)(r);
28
28
  a.attr("xlink:href", o);
29
- }, "drawImage"), l = /* @__PURE__ */ t((e, t, n, r) => {
29
+ }, "drawImage"), l = /* @__PURE__ */ e((e, t, n, r) => {
30
30
  let a = e.append("use");
31
31
  a.attr("x", t), a.attr("y", n);
32
32
  let o = (0, i.sanitizeUrl)(r);
33
33
  a.attr("xlink:href", `#${o}`);
34
- }, "drawEmbeddedImage"), u = /* @__PURE__ */ t(() => ({
34
+ }, "drawEmbeddedImage"), u = /* @__PURE__ */ e(() => ({
35
35
  x: 0,
36
36
  y: 0,
37
37
  width: 100,
@@ -41,7 +41,7 @@ var i = r(), a = /* @__PURE__ */ t((e, t) => {
41
41
  anchor: "start",
42
42
  rx: 0,
43
43
  ry: 0
44
- }), "getNoteRect"), d = /* @__PURE__ */ t(() => ({
44
+ }), "getNoteRect"), d = /* @__PURE__ */ e(() => ({
45
45
  x: 0,
46
46
  y: 0,
47
47
  width: 100,
@@ -52,9 +52,9 @@ var i = r(), a = /* @__PURE__ */ t((e, t) => {
52
52
  rx: 0,
53
53
  ry: 0,
54
54
  tspan: !0
55
- }), "getTextObj"), f = /* @__PURE__ */ t(() => {
56
- let e = n(".mermaidTooltip");
57
- return e.empty() && (e = n("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0).style("position", "absolute").style("text-align", "center").style("max-width", "200px").style("padding", "2px").style("font-size", "12px").style("background", "#ffffde").style("border", "1px solid #333").style("border-radius", "2px").style("pointer-events", "none").style("z-index", "100")), e;
55
+ }), "getTextObj"), f = /* @__PURE__ */ e(() => {
56
+ let e = t(".mermaidTooltip");
57
+ return e.empty() && (e = t("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0).style("position", "absolute").style("text-align", "center").style("max-width", "200px").style("padding", "2px").style("font-size", "12px").style("background", "#ffffde").style("border", "1px solid #333").style("border-radius", "2px").style("pointer-events", "none").style("z-index", "100")), e;
58
58
  }, "createTooltip");
59
59
  //#endregion
60
60
  export { a, d as c, c as i, o as n, s as o, l as r, u as s, f as t };
@@ -1 +1 @@
1
- const e=require(`./chunk-ICPOFSXX-hY6BIZ4Y.cjs`),t=require(`./src-DFxq-N5I.cjs`);var n=require(`./dist-BgvMZbfo.cjs`).t(),r=t.h((e,t)=>{let n=e.append(`rect`);if(n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),t.name&&n.attr(`name`,t.name),t.rx&&n.attr(`rx`,t.rx),t.ry&&n.attr(`ry`,t.ry),t.attrs!==void 0)for(let e in t.attrs)n.attr(e,t.attrs[e]);return t.class&&n.attr(`class`,t.class),n},`drawRect`),i=t.h((e,t)=>{r(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:`rect`}).lower()},`drawBackgroundRect`),a=t.h((t,n)=>{let r=n.text.replace(e.A,` `),i=t.append(`text`);i.attr(`x`,n.x),i.attr(`y`,n.y),i.attr(`class`,`legend`),i.style(`text-anchor`,n.anchor),n.class&&i.attr(`class`,n.class);let a=i.append(`tspan`);return a.attr(`x`,n.x+n.textMargin*2),a.text(r),i},`drawText`),o=t.h((e,t,r,i)=>{let a=e.append(`image`);a.attr(`x`,t),a.attr(`y`,r);let o=(0,n.sanitizeUrl)(i);a.attr(`xlink:href`,o)},`drawImage`),s=t.h((e,t,r,i)=>{let a=e.append(`use`);a.attr(`x`,t),a.attr(`y`,r);let o=(0,n.sanitizeUrl)(i);a.attr(`xlink:href`,`#${o}`)},`drawEmbeddedImage`),c=t.h(()=>({x:0,y:0,width:100,height:100,fill:`#EDF2AE`,stroke:`#666`,anchor:`start`,rx:0,ry:0}),`getNoteRect`),l=t.h(()=>({x:0,y:0,width:100,height:100,"text-anchor":`start`,style:`#666`,textMargin:0,rx:0,ry:0,tspan:!0}),`getTextObj`),u=t.h(()=>{let e=t.p(`.mermaidTooltip`);return e.empty()&&(e=t.p(`body`).append(`div`).attr(`class`,`mermaidTooltip`).style(`opacity`,0).style(`position`,`absolute`).style(`text-align`,`center`).style(`max-width`,`200px`).style(`padding`,`2px`).style(`font-size`,`12px`).style(`background`,`#ffffde`).style(`border`,`1px solid #333`).style(`border-radius`,`2px`).style(`pointer-events`,`none`).style(`z-index`,`100`)),e},`createTooltip`);Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
1
+ const e=require(`./src-BgvDIw01.cjs`),t=require(`./chunk-CSCIHK7Q-BPMuICCz.cjs`);var n=require(`./dist-DC1YYeHc.cjs`).t(),r=e.h((e,t)=>{let n=e.append(`rect`);if(n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),t.name&&n.attr(`name`,t.name),t.rx&&n.attr(`rx`,t.rx),t.ry&&n.attr(`ry`,t.ry),t.attrs!==void 0)for(let e in t.attrs)n.attr(e,t.attrs[e]);return t.class&&n.attr(`class`,t.class),n},`drawRect`),i=e.h((e,t)=>{r(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:`rect`}).lower()},`drawBackgroundRect`),a=e.h((e,n)=>{let r=n.text.replace(t.j,` `),i=e.append(`text`);i.attr(`x`,n.x),i.attr(`y`,n.y),i.attr(`class`,`legend`),i.style(`text-anchor`,n.anchor),n.class&&i.attr(`class`,n.class);let a=i.append(`tspan`);return a.attr(`x`,n.x+n.textMargin*2),a.text(r),i},`drawText`),o=e.h((e,t,r,i)=>{let a=e.append(`image`);a.attr(`x`,t),a.attr(`y`,r);let o=(0,n.sanitizeUrl)(i);a.attr(`xlink:href`,o)},`drawImage`),s=e.h((e,t,r,i)=>{let a=e.append(`use`);a.attr(`x`,t),a.attr(`y`,r);let o=(0,n.sanitizeUrl)(i);a.attr(`xlink:href`,`#${o}`)},`drawEmbeddedImage`),c=e.h(()=>({x:0,y:0,width:100,height:100,fill:`#EDF2AE`,stroke:`#666`,anchor:`start`,rx:0,ry:0}),`getNoteRect`),l=e.h(()=>({x:0,y:0,width:100,height:100,"text-anchor":`start`,style:`#666`,textMargin:0,rx:0,ry:0,tspan:!0}),`getTextObj`),u=e.h(()=>{let t=e.p(`.mermaidTooltip`);return t.empty()&&(t=e.p(`body`).append(`div`).attr(`class`,`mermaidTooltip`).style(`opacity`,0).style(`position`,`absolute`).style(`text-align`,`center`).style(`max-width`,`200px`).style(`padding`,`2px`).style(`font-size`,`12px`).style(`background`,`#ffffde`).style(`border`,`1px solid #333`).style(`border-radius`,`2px`).style(`pointer-events`,`none`).style(`z-index`,`100`)),t},`createTooltip`);Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});