@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
@@ -1,29 +1,29 @@
1
- import { B as e, C as t, U as n, V as r, W as i, _ as a, a as o, b as s, it as c, s as l, tt as u, u as d, v as f } from "./chunk-ICPOFSXX-fQJ5ufMR.js";
2
- import { g as p, h as m, p as h } from "./src-BQiFKP24.js";
3
- import { t as g } from "./channel-CRWct3-i.js";
4
- import { h as _, s as v } from "./chunk-5PVQY5BW-Dn8n6moB.js";
5
- import { n as ee, t as te } from "./chunk-XPW4576I-BcWkx-AL.js";
6
- import "./chunk-BSJP7CBP-oNTXVRA7.js";
7
- import "./chunk-ZZ45TVLE-X2jolXSO.js";
8
- import "./chunk-X2U36JSP-VxRY65ea.js";
9
- import "./chunk-U2HBQHQK-Ceyeq0IV.js";
10
- import { o as ne } from "./chunk-5FUZZQ4R-D3C0F0Tr.js";
11
- import "./chunk-ENJZ2VHE-CZ7BvL2h.js";
12
- import { r as y, t as b } from "./chunk-336JU56O-DkZvWJVe.js";
13
- import { t as x } from "./chunk-FMBD7UC4-RRSc9jqt.js";
14
- import { t as S } from "./chunk-YZCP3GAM-D6P3SWmL.js";
15
- import { t as C } from "./chunk-55IACEB6-Bu3k0Yz5.js";
16
- import { t as w } from "./chunk-EDXVE4YY-CGNVB686.js";
17
- //#region node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-DWJPFMVM.mjs
18
- var T = "flowchart-", E = class {
1
+ import { g as e, h as t, p as n } from "./src-v9RrE_4h.js";
2
+ import { G as r, H as i, K as a, U as o, a as s, d as c, ot as l, rt as u, s as d, v as f, w as ee, x as p, y as m } from "./chunk-CSCIHK7Q-9WKhcDqw.js";
3
+ import { t as h } from "./channel-BbRDdbmM.js";
4
+ import { c as g, g as _ } from "./chunk-5ZQYHXKU-C4uam08j.js";
5
+ import { n as te, t as ne } from "./chunk-XPW4576I-BCowsgDU.js";
6
+ import "./chunk-BSJP7CBP-Bx5APwBA.js";
7
+ import "./chunk-L5ZTLDWV-D3UwMopa.js";
8
+ import "./chunk-NZK2D7GU-BVOINLmx.js";
9
+ import "./chunk-O5CBEL6O-VsMF4aZB.js";
10
+ import { o as re } from "./chunk-3OPIFGDE-C7wE5oN7.js";
11
+ import "./chunk-KSCS5N6A-BY1s4eGg.js";
12
+ import { r as v, t as y } from "./chunk-LZXEDZCA-KzBFuWPU.js";
13
+ import { t as b } from "./chunk-FMBD7UC4-BbggSGOg.js";
14
+ import { t as x } from "./chunk-ND2GUHAM-CHTke4K8.js";
15
+ import { t as S } from "./chunk-55IACEB6-b_Ivgrk-.js";
16
+ import { t as C } from "./chunk-2J33WTMH-EmvF7iYC.js";
17
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-I6XJVG4X.mjs
18
+ var w = "flowchart-", T = class {
19
19
  constructor() {
20
- this.vertexCounter = 0, this.config = s(), this.diagramId = "", this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = r, this.setAccDescription = e, this.setDiagramTitle = i, this.getAccTitle = f, this.getAccDescription = a, this.getDiagramTitle = t, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
20
+ this.vertexCounter = 0, this.config = p(), this.diagramId = "", this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = o, this.setAccDescription = i, this.setDiagramTitle = a, this.getAccTitle = m, this.getAccDescription = f, this.getDiagramTitle = ee, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
21
21
  }
22
22
  static {
23
- m(this, "FlowDB");
23
+ t(this, "FlowDB");
24
24
  }
25
25
  sanitizeText(e) {
26
- return l.sanitizeText(e, this.config);
26
+ return d.sanitizeText(e, this.config);
27
27
  }
28
28
  sanitizeNodeLabelType(e) {
29
29
  switch (e) {
@@ -40,43 +40,43 @@ var T = "flowchart-", E = class {
40
40
  for (let t of this.vertices.values()) if (t.id === e) return this.diagramId ? `${this.diagramId}-${t.domId}` : t.domId;
41
41
  return this.diagramId ? `${this.diagramId}-${e}` : e;
42
42
  }
43
- addVertex(e, t, n, r, i, a, o = {}, c) {
44
- if (!e || e.trim().length === 0) return;
43
+ addVertex(t, n, r, i, a, o, s = {}, c) {
44
+ if (!t || t.trim().length === 0) return;
45
45
  let l;
46
46
  if (c !== void 0) {
47
47
  let e;
48
- e = c.includes("\n") ? c + "\n" : "{\n" + c + "\n}", l = ee(e, { schema: te });
48
+ e = c.includes("\n") ? c + "\n" : "{\n" + c + "\n}", l = te(e, { schema: ne });
49
49
  }
50
- let u = this.edges.find((t) => t.id === e);
50
+ let u = this.edges.find((e) => e.id === t);
51
51
  if (u) {
52
52
  let e = l;
53
53
  e?.animate !== void 0 && (u.animate = e.animate), e?.animation !== void 0 && (u.animation = e.animation), e?.curve !== void 0 && (u.interpolate = e.curve);
54
54
  return;
55
55
  }
56
- let d, f = this.vertices.get(e);
57
- if (f === void 0 && (t === void 0 && n === void 0 && r != null && p.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`), f = {
58
- id: e,
56
+ let d, f = this.vertices.get(t);
57
+ if (f === void 0 && (n === void 0 && r === void 0 && i != null && e.warn(`Style applied to unknown node "${t}". This may indicate a typo. The node will be created automatically.`), f = {
58
+ id: t,
59
59
  labelType: "text",
60
- domId: T + e + "-" + this.vertexCounter,
60
+ domId: w + t + "-" + this.vertexCounter,
61
61
  styles: [],
62
62
  classes: []
63
- }, this.vertices.set(e, f)), this.vertexCounter++, t === void 0 ? f.text === void 0 && (f.text = e) : (this.config = s(), d = this.sanitizeText(t.text.trim()), f.labelType = t.type, d.startsWith("\"") && d.endsWith("\"") && (d = d.substring(1, d.length - 1)), f.text = d), n !== void 0 && (f.type = n), r?.forEach((e) => {
63
+ }, this.vertices.set(t, f)), this.vertexCounter++, n === void 0 ? f.text === void 0 && (f.text = t) : (this.config = p(), d = this.sanitizeText(n.text.trim()), f.labelType = n.type, d.startsWith("\"") && d.endsWith("\"") && (d = d.substring(1, d.length - 1)), f.text = d), r !== void 0 && (f.type = r), i?.forEach((e) => {
64
64
  f.styles.push(e);
65
- }), i?.forEach((e) => {
65
+ }), a?.forEach((e) => {
66
66
  f.classes.push(e);
67
- }), a !== void 0 && (f.dir = a), f.props === void 0 ? f.props = o : o !== void 0 && Object.assign(f.props, o), l !== void 0) {
67
+ }), o !== void 0 && (f.dir = o), f.props === void 0 ? f.props = s : s !== void 0 && Object.assign(f.props, s), l !== void 0) {
68
68
  if (l.shape) {
69
69
  if (l.shape !== l.shape.toLowerCase() || l.shape.includes("_")) throw Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);
70
- if (!ne(l.shape)) throw Error(`No such shape: ${l.shape}.`);
70
+ if (!re(l.shape)) throw Error(`No such shape: ${l.shape}.`);
71
71
  f.type = l?.shape;
72
72
  }
73
- l?.label && (f.text = l?.label, f.labelType = this.sanitizeNodeLabelType(l?.labelType)), l?.icon && (f.icon = l?.icon, !l.label?.trim() && f.text === e && (f.text = "")), l?.form && (f.form = l?.form), l?.pos && (f.pos = l?.pos), l?.img && (f.img = l?.img, !l.label?.trim() && f.text === e && (f.text = "")), l?.constraint && (f.constraint = l.constraint), l.w && (f.assetWidth = Number(l.w)), l.h && (f.assetHeight = Number(l.h));
73
+ l?.label && (f.text = l?.label, f.labelType = this.sanitizeNodeLabelType(l?.labelType)), l?.icon && (f.icon = l?.icon, !l.label?.trim() && f.text === t && (f.text = "")), l?.form && (f.form = l?.form), l?.pos && (f.pos = l?.pos), l?.img && (f.img = l?.img, !l.label?.trim() && f.text === t && (f.text = "")), l?.constraint && (f.constraint = l.constraint), l.w && (f.assetWidth = Number(l.w)), l.h && (f.assetHeight = Number(l.h));
74
74
  }
75
75
  }
76
- addSingleLink(e, t, n, r) {
77
- let i = {
78
- start: e,
79
- end: t,
76
+ addSingleLink(t, n, r, i) {
77
+ let a = {
78
+ start: t,
79
+ end: n,
80
80
  type: void 0,
81
81
  text: "",
82
82
  labelType: "text",
@@ -84,20 +84,20 @@ var T = "flowchart-", E = class {
84
84
  isUserDefinedId: !1,
85
85
  interpolate: this.edges.defaultInterpolate
86
86
  };
87
- p.info("abc78 Got edge...", i);
88
- let a = n.text;
89
- if (a !== void 0 && (i.text = this.sanitizeText(a.text.trim()), i.text.startsWith("\"") && i.text.endsWith("\"") && (i.text = i.text.substring(1, i.text.length - 1)), i.labelType = this.sanitizeNodeLabelType(a.type)), n !== void 0 && (i.type = n.type, i.stroke = n.stroke, i.length = n.length > 10 ? 10 : n.length), r && !this.edges.some((e) => e.id === r)) i.id = r, i.isUserDefinedId = !0;
87
+ e.info("abc78 Got edge...", a);
88
+ let o = r.text;
89
+ if (o !== void 0 && (a.text = this.sanitizeText(o.text.trim()), a.text.startsWith("\"") && a.text.endsWith("\"") && (a.text = a.text.substring(1, a.text.length - 1)), a.labelType = this.sanitizeNodeLabelType(o.type)), r !== void 0 && (a.type = r.type, a.stroke = r.stroke, a.length = r.length > 10 ? 10 : r.length), i && !this.edges.some((e) => e.id === i)) a.id = i, a.isUserDefinedId = !0;
90
90
  else {
91
- let e = this.edges.filter((e) => e.start === i.start && e.end === i.end);
92
- e.length === 0 ? i.id = v(i.start, i.end, {
91
+ let e = this.edges.filter((e) => e.start === a.start && e.end === a.end);
92
+ e.length === 0 ? a.id = g(a.start, a.end, {
93
93
  counter: 0,
94
94
  prefix: "L"
95
- }) : i.id = v(i.start, i.end, {
95
+ }) : a.id = g(a.start, a.end, {
96
96
  counter: e.length + 1,
97
97
  prefix: "L"
98
98
  });
99
99
  }
100
- if (this.edges.length < (this.config.maxEdges ?? 500)) p.info("Pushing edge..."), this.edges.push(i);
100
+ if (this.edges.length < (this.config.maxEdges ?? 500)) e.info("Pushing edge..."), this.edges.push(a);
101
101
  else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
102
102
 
103
103
  Initialize mermaid with maxEdges set to a higher number to allow more edges.
@@ -107,12 +107,12 @@ You have to call mermaid.initialize.`);
107
107
  isLinkData(e) {
108
108
  return typeof e == "object" && !!e && "id" in e && typeof e.id == "string";
109
109
  }
110
- addLink(e, t, n) {
111
- let r = this.isLinkData(n) ? n.id.replace("@", "") : void 0;
112
- p.info("addLink", e, t, r);
113
- for (let i of e) for (let a of t) {
114
- let o = i === e[e.length - 1], s = a === t[0];
115
- o && s ? this.addSingleLink(i, a, n, r) : this.addSingleLink(i, a, n, void 0);
110
+ addLink(t, n, r) {
111
+ let i = this.isLinkData(r) ? r.id.replace("@", "") : void 0;
112
+ e.info("addLink", t, n, i);
113
+ for (let e of t) for (let a of n) {
114
+ let o = e === t[t.length - 1], s = a === n[0];
115
+ o && s ? this.addSingleLink(e, a, r, i) : this.addSingleLink(e, a, r, void 0);
116
116
  }
117
117
  }
118
118
  updateLinkInterpolate(e, t) {
@@ -163,7 +163,7 @@ You have to call mermaid.initialize.`);
163
163
  }
164
164
  }
165
165
  setClickFun(e, t, n) {
166
- if (s().securityLevel !== "loose" || t === void 0) return;
166
+ if (p().securityLevel !== "loose" || t === void 0) return;
167
167
  let r = [];
168
168
  if (typeof n == "string") {
169
169
  r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
@@ -213,18 +213,18 @@ You have to call mermaid.initialize.`);
213
213
  return this.classes;
214
214
  }
215
215
  setupToolTips(e) {
216
- let t = S();
217
- h(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
218
- let n = h(e.currentTarget), r = n.attr("title");
219
- if (r === null) return;
220
- let i = e.currentTarget?.getBoundingClientRect();
221
- t.transition().duration(200).style("opacity", ".9"), t.text(n.attr("title")).style("left", window.scrollX + i.left + (i.right - i.left) / 2 + "px").style("top", window.scrollY + i.bottom + "px"), t.html(c.sanitize(r)), n.classed("hover", !0);
216
+ let t = x();
217
+ n(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
218
+ let r = n(e.currentTarget), i = r.attr("title");
219
+ if (i === null) return;
220
+ let a = e.currentTarget?.getBoundingClientRect();
221
+ t.transition().duration(200).style("opacity", ".9"), t.text(r.attr("title")).style("left", window.scrollX + a.left + (a.right - a.left) / 2 + "px").style("top", window.scrollY + a.bottom + "px"), t.html(l.sanitize(i)), r.classed("hover", !0);
222
222
  }).on("mouseout", (e) => {
223
- t.transition().duration(500).style("opacity", 0), h(e.currentTarget).classed("hover", !1);
223
+ t.transition().duration(500).style("opacity", 0), n(e.currentTarget).classed("hover", !1);
224
224
  });
225
225
  }
226
226
  clear(e = "gen-2") {
227
- this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.diagramId = "", this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = s(), o();
227
+ this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.diagramId = "", this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = p(), s();
228
228
  }
229
229
  setGen(e) {
230
230
  this.version = e || "gen-2";
@@ -232,10 +232,10 @@ You have to call mermaid.initialize.`);
232
232
  defaultStyle() {
233
233
  return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
234
234
  }
235
- addSubGraph(e, t, n) {
236
- let r = e.text.trim(), i = n.text;
237
- e === n && /\s/.exec(n.text) && (r = void 0);
238
- let a = (/* @__PURE__ */ m((e) => {
235
+ addSubGraph(n, r, i) {
236
+ let a = n.text.trim(), o = i.text;
237
+ n === i && /\s/.exec(i.text) && (a = void 0);
238
+ let s = (/* @__PURE__ */ t((e) => {
239
239
  let t = {
240
240
  boolean: {},
241
241
  number: {},
@@ -248,18 +248,18 @@ You have to call mermaid.initialize.`);
248
248
  }),
249
249
  dir: r
250
250
  };
251
- }, "uniq"))(t.flat()), o = a.nodeList, c = a.dir, l = s().flowchart ?? {};
252
- if (c ??= l.inheritDir ? this.getDirection() ?? s().direction ?? void 0 : void 0, this.version === "gen-1") for (let e = 0; e < o.length; e++) o[e] = this.lookUpDomId(o[e]);
253
- r ??= "subGraph" + this.subCount, i ||= "", i = this.sanitizeText(i), this.subCount += 1;
254
- let u = {
255
- id: r,
256
- nodes: o,
257
- title: i.trim(),
251
+ }, "uniq"))(r.flat()), c = s.nodeList, l = s.dir, u = p().flowchart ?? {};
252
+ if (l ??= u.inheritDir ? this.getDirection() ?? p().direction ?? void 0 : void 0, this.version === "gen-1") for (let e = 0; e < c.length; e++) c[e] = this.lookUpDomId(c[e]);
253
+ a ??= "subGraph" + this.subCount, o ||= "", o = this.sanitizeText(o), this.subCount += 1;
254
+ let d = {
255
+ id: a,
256
+ nodes: c,
257
+ title: o.trim(),
258
258
  classes: [],
259
- dir: c,
260
- labelType: this.sanitizeNodeLabelType(n?.type)
259
+ dir: l,
260
+ labelType: this.sanitizeNodeLabelType(i?.type)
261
261
  };
262
- return p.info("Adding", u.id, u.nodes, u.dir), u.nodes = this.makeUniq(u, this.subGraphs).nodes, this.subGraphs.push(u), this.subGraphLookup.set(r, u), r;
262
+ return e.info("Adding", d.id, d.nodes, d.dir), d.nodes = this.makeUniq(d, this.subGraphs).nodes, this.subGraphs.push(d), this.subGraphLookup.set(a, d), a;
263
263
  }
264
264
  getPosForId(e) {
265
265
  for (let [t, n] of this.subGraphs.entries()) if (n.id === e) return t;
@@ -464,7 +464,7 @@ You have to call mermaid.initialize.`);
464
464
  return t;
465
465
  }
466
466
  getData() {
467
- let e = s(), t = [], n = [], r = this.getSubGraphs(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
467
+ let e = p(), t = [], n = [], r = this.getSubGraphs(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
468
468
  for (let e = r.length - 1; e >= 0; e--) {
469
469
  let t = r[e];
470
470
  t.nodes.length > 0 && a.set(t.id, !0);
@@ -495,7 +495,7 @@ You have to call mermaid.initialize.`);
495
495
  let { arrowTypeStart: i, arrowTypeEnd: a } = this.destructEdgeType(t.type), s = [...o.defaultStyle ?? []];
496
496
  t.style && s.push(...t.style);
497
497
  let c = {
498
- id: v(t.start, t.end, {
498
+ id: g(t.start, t.end, {
499
499
  counter: r,
500
500
  prefix: "L"
501
501
  }, t.id),
@@ -530,32 +530,32 @@ You have to call mermaid.initialize.`);
530
530
  };
531
531
  }
532
532
  defaultConfig() {
533
- return d.flowchart;
533
+ return c.flowchart;
534
534
  }
535
- }, D = {
536
- getClasses: /* @__PURE__ */ m(function(e, t) {
535
+ }, E = {
536
+ getClasses: /* @__PURE__ */ t(function(e, t) {
537
537
  return t.db.getClasses();
538
538
  }, "getClasses"),
539
- draw: /* @__PURE__ */ m(async function(e, t, n, r) {
540
- p.info("REF0:"), p.info("Drawing state diagram (v2)", t);
541
- let { securityLevel: i, flowchart: a, layout: o } = s();
542
- r.db.setDiagramId(t), p.debug("Before getData: ");
543
- let c = r.db.getData();
544
- p.debug("Data: ", c);
545
- let l = C(t, i), u = r.db.getDirection();
546
- c.type = r.type, c.layoutAlgorithm = b(o), c.layoutAlgorithm === "dagre" && o === "elk" && p.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."), c.direction = u, c.nodeSpacing = a?.nodeSpacing || 50, c.rankSpacing = a?.rankSpacing || 50, c.markers = [
539
+ draw: /* @__PURE__ */ t(async function(t, n, r, i) {
540
+ e.info("REF0:"), e.info("Drawing state diagram (v2)", n);
541
+ let { securityLevel: a, flowchart: o, layout: s } = p();
542
+ i.db.setDiagramId(n), e.debug("Before getData: ");
543
+ let c = i.db.getData();
544
+ e.debug("Data: ", c);
545
+ let l = S(n, a), u = i.db.getDirection();
546
+ c.type = i.type, c.layoutAlgorithm = y(s), c.layoutAlgorithm === "dagre" && s === "elk" && e.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."), c.direction = u, c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, c.markers = [
547
547
  "point",
548
548
  "circle",
549
549
  "cross"
550
- ], c.diagramId = t, p.debug("REF1:", c), await y(c, l);
550
+ ], c.diagramId = n, e.debug("REF1:", c), await v(c, l);
551
551
  let d = c.config.flowchart?.diagramPadding ?? 8;
552
- _.insertTitle(l, "flowchartTitleText", a?.titleTopMargin || 0, r.db.getDiagramTitle()), w(l, d, "flowchart", a?.useMaxWidth || !1);
552
+ _.insertTitle(l, "flowchartTitleText", o?.titleTopMargin || 0, i.db.getDiagramTitle()), C(l, d, "flowchart", o?.useMaxWidth || !1);
553
553
  }, "draw")
554
- }, O = (function() {
555
- var e = /* @__PURE__ */ m(function(e, t, n, r) {
554
+ }, D = (function() {
555
+ var e = /* @__PURE__ */ t(function(e, t, n, r) {
556
556
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
557
557
  return n;
558
- }, "o"), t = [1, 4], n = [1, 3], r = [1, 5], i = [
558
+ }, "o"), n = [1, 4], r = [1, 3], i = [1, 5], a = [
559
559
  1,
560
560
  8,
561
561
  9,
@@ -586,7 +586,7 @@ You have to call mermaid.initialize.`);
586
586
  123,
587
587
  124,
588
588
  125
589
- ], a = [2, 2], o = [1, 13], s = [1, 14], c = [1, 15], l = [1, 16], u = [1, 23], d = [1, 25], f = [1, 26], p = [1, 27], h = [1, 50], g = [1, 49], _ = [1, 29], v = [1, 30], ee = [1, 31], te = [1, 32], ne = [1, 33], y = [1, 45], b = [1, 47], x = [1, 43], S = [1, 48], C = [1, 44], w = [1, 51], T = [1, 46], E = [1, 52], D = [1, 53], O = [1, 34], re = [1, 35], ie = [1, 36], ae = [1, 37], oe = [1, 38], k = [1, 58], A = [
589
+ ], o = [2, 2], s = [1, 13], c = [1, 14], l = [1, 15], u = [1, 16], d = [1, 23], f = [1, 25], ee = [1, 26], p = [1, 27], m = [1, 50], h = [1, 49], g = [1, 29], _ = [1, 30], te = [1, 31], ne = [1, 32], re = [1, 33], v = [1, 45], y = [1, 47], b = [1, 43], x = [1, 48], S = [1, 44], C = [1, 51], w = [1, 46], T = [1, 52], E = [1, 53], D = [1, 34], O = [1, 35], ie = [1, 36], ae = [1, 37], oe = [1, 38], k = [1, 58], A = [
590
590
  1,
591
591
  8,
592
592
  9,
@@ -837,7 +837,7 @@ You have to call mermaid.initialize.`);
837
837
  111,
838
838
  112
839
839
  ], rt = {
840
- trace: /* @__PURE__ */ m(function() {}, "trace"),
840
+ trace: /* @__PURE__ */ t(function() {}, "trace"),
841
841
  yy: {},
842
842
  symbols_: {
843
843
  error: 2,
@@ -1245,7 +1245,7 @@ You have to call mermaid.initialize.`);
1245
1245
  [33, 1],
1246
1246
  [33, 1]
1247
1247
  ],
1248
- performAction: /* @__PURE__ */ m(function(e, t, n, r, i, a, o) {
1248
+ performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
1249
1249
  var s = a.length - 1;
1250
1250
  switch (i) {
1251
1251
  case 2:
@@ -1636,23 +1636,23 @@ You have to call mermaid.initialize.`);
1636
1636
  {
1637
1637
  3: 1,
1638
1638
  4: 2,
1639
- 9: t,
1640
- 10: n,
1641
- 12: r
1639
+ 9: n,
1640
+ 10: r,
1641
+ 12: i
1642
1642
  },
1643
1643
  { 1: [3] },
1644
- e(i, a, { 5: 6 }),
1644
+ e(a, o, { 5: 6 }),
1645
1645
  {
1646
1646
  4: 7,
1647
- 9: t,
1648
- 10: n,
1649
- 12: r
1647
+ 9: n,
1648
+ 10: r,
1649
+ 12: i
1650
1650
  },
1651
1651
  {
1652
1652
  4: 8,
1653
- 9: t,
1654
- 10: n,
1655
- 12: r
1653
+ 9: n,
1654
+ 10: r,
1655
+ 12: i
1656
1656
  },
1657
1657
  {
1658
1658
  13: [1, 9],
@@ -1662,51 +1662,51 @@ You have to call mermaid.initialize.`);
1662
1662
  1: [2, 1],
1663
1663
  6: 11,
1664
1664
  7: 12,
1665
- 8: o,
1666
- 9: s,
1667
- 10: c,
1668
- 11: l,
1665
+ 8: s,
1666
+ 9: c,
1667
+ 10: l,
1668
+ 11: u,
1669
1669
  20: 17,
1670
1670
  22: 18,
1671
1671
  23: 19,
1672
1672
  24: 20,
1673
1673
  25: 21,
1674
1674
  26: 22,
1675
- 27: u,
1675
+ 27: d,
1676
1676
  33: 24,
1677
- 34: d,
1678
- 36: f,
1677
+ 34: f,
1678
+ 36: ee,
1679
1679
  38: p,
1680
1680
  42: 28,
1681
1681
  43: 39,
1682
- 44: h,
1682
+ 44: m,
1683
1683
  45: 40,
1684
1684
  47: 41,
1685
- 60: g,
1686
- 84: _,
1687
- 85: v,
1688
- 86: ee,
1689
- 87: te,
1690
- 88: ne,
1691
- 89: y,
1692
- 102: b,
1693
- 105: x,
1694
- 106: S,
1695
- 109: C,
1696
- 111: w,
1685
+ 60: h,
1686
+ 84: g,
1687
+ 85: _,
1688
+ 86: te,
1689
+ 87: ne,
1690
+ 88: re,
1691
+ 89: v,
1692
+ 102: y,
1693
+ 105: b,
1694
+ 106: x,
1695
+ 109: S,
1696
+ 111: C,
1697
1697
  113: 42,
1698
- 114: T,
1699
- 115: E,
1700
- 116: D,
1701
- 121: O,
1702
- 122: re,
1698
+ 114: w,
1699
+ 115: T,
1700
+ 116: E,
1701
+ 121: D,
1702
+ 122: O,
1703
1703
  123: ie,
1704
1704
  124: ae,
1705
1705
  125: oe
1706
1706
  },
1707
- e(i, [2, 9]),
1708
- e(i, [2, 10]),
1709
- e(i, [2, 11]),
1707
+ e(a, [2, 9]),
1708
+ e(a, [2, 10]),
1709
+ e(a, [2, 11]),
1710
1710
  {
1711
1711
  8: [1, 55],
1712
1712
  9: [1, 56],
@@ -1810,28 +1810,28 @@ You have to call mermaid.initialize.`);
1810
1810
  e(P, [2, 72], {
1811
1811
  113: 113,
1812
1812
  29: [1, 101],
1813
- 44: h,
1813
+ 44: m,
1814
1814
  48: [1, 102],
1815
1815
  50: [1, 103],
1816
1816
  52: [1, 104],
1817
1817
  54: [1, 105],
1818
1818
  56: [1, 106],
1819
1819
  58: [1, 107],
1820
- 60: g,
1820
+ 60: h,
1821
1821
  63: [1, 108],
1822
1822
  65: [1, 109],
1823
1823
  67: [1, 110],
1824
1824
  68: [1, 111],
1825
1825
  70: [1, 112],
1826
- 89: y,
1827
- 102: b,
1828
- 105: x,
1829
- 106: S,
1830
- 109: C,
1831
- 111: w,
1832
- 114: T,
1833
- 115: E,
1834
- 116: D
1826
+ 89: v,
1827
+ 102: y,
1828
+ 105: b,
1829
+ 106: x,
1830
+ 109: S,
1831
+ 111: C,
1832
+ 114: w,
1833
+ 115: T,
1834
+ 116: E
1835
1835
  }),
1836
1836
  e(F, [2, 181]),
1837
1837
  e(F, [2, 142]),
@@ -1845,9 +1845,9 @@ You have to call mermaid.initialize.`);
1845
1845
  e(F, [2, 150]),
1846
1846
  e(F, [2, 151]),
1847
1847
  e(F, [2, 152]),
1848
- e(i, [2, 12]),
1849
- e(i, [2, 18]),
1850
- e(i, [2, 19]),
1848
+ e(a, [2, 12]),
1849
+ e(a, [2, 18]),
1850
+ e(a, [2, 19]),
1851
1851
  { 9: [1, 114] },
1852
1852
  e(xe, [2, 26], {
1853
1853
  18: 115,
@@ -1857,20 +1857,20 @@ You have to call mermaid.initialize.`);
1857
1857
  {
1858
1858
  42: 116,
1859
1859
  43: 39,
1860
- 44: h,
1860
+ 44: m,
1861
1861
  45: 40,
1862
1862
  47: 41,
1863
- 60: g,
1864
- 89: y,
1865
- 102: b,
1866
- 105: x,
1867
- 106: S,
1868
- 109: C,
1869
- 111: w,
1863
+ 60: h,
1864
+ 89: v,
1865
+ 102: y,
1866
+ 105: b,
1867
+ 106: x,
1868
+ 109: S,
1869
+ 111: C,
1870
1870
  113: 42,
1871
- 114: T,
1872
- 115: E,
1873
- 116: D
1871
+ 114: w,
1872
+ 115: T,
1873
+ 116: E
1874
1874
  },
1875
1875
  e(A, [2, 40]),
1876
1876
  e(A, [2, 41]),
@@ -1926,7 +1926,7 @@ You have to call mermaid.initialize.`);
1926
1926
  115: qe,
1927
1927
  116: Je
1928
1928
  },
1929
- e(Ye, a, { 5: 154 }),
1929
+ e(Ye, o, { 5: 154 }),
1930
1930
  e(A, [2, 37]),
1931
1931
  e(A, [2, 38]),
1932
1932
  e(se, [2, 48], { 44: Xe }),
@@ -1937,19 +1937,19 @@ You have to call mermaid.initialize.`);
1937
1937
  }),
1938
1938
  e(be, [2, 44]),
1939
1939
  {
1940
- 44: h,
1940
+ 44: m,
1941
1941
  47: 158,
1942
- 60: g,
1943
- 89: y,
1944
- 102: b,
1945
- 105: x,
1946
- 106: S,
1947
- 109: C,
1948
- 111: w,
1942
+ 60: h,
1943
+ 89: v,
1944
+ 102: y,
1945
+ 105: b,
1946
+ 106: x,
1947
+ 109: S,
1948
+ 111: C,
1949
1949
  113: 42,
1950
- 114: T,
1951
- 115: E,
1952
- 116: D
1950
+ 114: w,
1951
+ 115: T,
1952
+ 116: E
1953
1953
  },
1954
1954
  {
1955
1955
  102: [1, 159],
@@ -1957,34 +1957,34 @@ You have to call mermaid.initialize.`);
1957
1957
  105: [1, 161]
1958
1958
  },
1959
1959
  {
1960
- 44: h,
1960
+ 44: m,
1961
1961
  47: 162,
1962
- 60: g,
1963
- 89: y,
1964
- 102: b,
1965
- 105: x,
1966
- 106: S,
1967
- 109: C,
1968
- 111: w,
1962
+ 60: h,
1963
+ 89: v,
1964
+ 102: y,
1965
+ 105: b,
1966
+ 106: x,
1967
+ 109: S,
1968
+ 111: C,
1969
1969
  113: 42,
1970
- 114: T,
1971
- 115: E,
1972
- 116: D
1970
+ 114: w,
1971
+ 115: T,
1972
+ 116: E
1973
1973
  },
1974
1974
  {
1975
- 44: h,
1975
+ 44: m,
1976
1976
  47: 163,
1977
- 60: g,
1978
- 89: y,
1979
- 102: b,
1980
- 105: x,
1981
- 106: S,
1982
- 109: C,
1983
- 111: w,
1977
+ 60: h,
1978
+ 89: v,
1979
+ 102: y,
1980
+ 105: b,
1981
+ 106: x,
1982
+ 109: S,
1983
+ 111: C,
1984
1984
  113: 42,
1985
- 114: T,
1986
- 115: E,
1987
- 116: D
1985
+ 114: w,
1986
+ 115: T,
1987
+ 116: E
1988
1988
  },
1989
1989
  e(I, [2, 107], {
1990
1990
  10: [1, 164],
@@ -2020,19 +2020,19 @@ You have to call mermaid.initialize.`);
2020
2020
  e(L, [2, 179]),
2021
2021
  e(L, [2, 180]),
2022
2022
  {
2023
- 44: h,
2023
+ 44: m,
2024
2024
  47: 170,
2025
- 60: g,
2026
- 89: y,
2027
- 102: b,
2028
- 105: x,
2029
- 106: S,
2030
- 109: C,
2031
- 111: w,
2025
+ 60: h,
2026
+ 89: v,
2027
+ 102: y,
2028
+ 105: b,
2029
+ 106: x,
2030
+ 109: S,
2031
+ 111: C,
2032
2032
  113: 42,
2033
- 114: T,
2034
- 115: E,
2035
- 116: D
2033
+ 114: w,
2034
+ 115: T,
2035
+ 116: E
2036
2036
  },
2037
2037
  {
2038
2038
  30: 171,
@@ -2148,7 +2148,7 @@ You have to call mermaid.initialize.`);
2148
2148
  118: U
2149
2149
  },
2150
2150
  e(F, [2, 182]),
2151
- e(i, [2, 20]),
2151
+ e(a, [2, 20]),
2152
2152
  e(xe, [2, 25]),
2153
2153
  e(se, [2, 46], {
2154
2154
  39: 192,
@@ -2246,45 +2246,45 @@ You have to call mermaid.initialize.`);
2246
2246
  {
2247
2247
  6: 11,
2248
2248
  7: 12,
2249
- 8: o,
2250
- 9: s,
2251
- 10: c,
2252
- 11: l,
2249
+ 8: s,
2250
+ 9: c,
2251
+ 10: l,
2252
+ 11: u,
2253
2253
  20: 17,
2254
2254
  22: 18,
2255
2255
  23: 19,
2256
2256
  24: 20,
2257
2257
  25: 21,
2258
2258
  26: 22,
2259
- 27: u,
2259
+ 27: d,
2260
2260
  32: [1, 203],
2261
2261
  33: 24,
2262
- 34: d,
2263
- 36: f,
2262
+ 34: f,
2263
+ 36: ee,
2264
2264
  38: p,
2265
2265
  42: 28,
2266
2266
  43: 39,
2267
- 44: h,
2267
+ 44: m,
2268
2268
  45: 40,
2269
2269
  47: 41,
2270
- 60: g,
2271
- 84: _,
2272
- 85: v,
2273
- 86: ee,
2274
- 87: te,
2275
- 88: ne,
2276
- 89: y,
2277
- 102: b,
2278
- 105: x,
2279
- 106: S,
2280
- 109: C,
2281
- 111: w,
2270
+ 60: h,
2271
+ 84: g,
2272
+ 85: _,
2273
+ 86: te,
2274
+ 87: ne,
2275
+ 88: re,
2276
+ 89: v,
2277
+ 102: y,
2278
+ 105: b,
2279
+ 106: x,
2280
+ 109: S,
2281
+ 111: C,
2282
2282
  113: 42,
2283
- 114: T,
2284
- 115: E,
2285
- 116: D,
2286
- 121: O,
2287
- 122: re,
2283
+ 114: w,
2284
+ 115: T,
2285
+ 116: E,
2286
+ 121: D,
2287
+ 122: O,
2288
2288
  123: ie,
2289
2289
  124: ae,
2290
2290
  125: oe
@@ -2297,18 +2297,18 @@ You have to call mermaid.initialize.`);
2297
2297
  e(be, [2, 43]),
2298
2298
  {
2299
2299
  10: [1, 206],
2300
- 44: h,
2301
- 60: g,
2302
- 89: y,
2303
- 102: b,
2304
- 105: x,
2305
- 106: S,
2306
- 109: C,
2307
- 111: w,
2300
+ 44: m,
2301
+ 60: h,
2302
+ 89: v,
2303
+ 102: y,
2304
+ 105: b,
2305
+ 106: x,
2306
+ 109: S,
2307
+ 111: C,
2308
2308
  113: 113,
2309
- 114: T,
2310
- 115: E,
2311
- 116: D
2309
+ 114: w,
2310
+ 115: T,
2311
+ 116: E
2312
2312
  },
2313
2313
  { 10: [1, 207] },
2314
2314
  {
@@ -2318,33 +2318,33 @@ You have to call mermaid.initialize.`);
2318
2318
  e($e, [2, 128]),
2319
2319
  {
2320
2320
  10: [1, 210],
2321
- 44: h,
2322
- 60: g,
2323
- 89: y,
2324
- 102: b,
2325
- 105: x,
2326
- 106: S,
2327
- 109: C,
2328
- 111: w,
2321
+ 44: m,
2322
+ 60: h,
2323
+ 89: v,
2324
+ 102: y,
2325
+ 105: b,
2326
+ 106: x,
2327
+ 109: S,
2328
+ 111: C,
2329
2329
  113: 113,
2330
- 114: T,
2331
- 115: E,
2332
- 116: D
2330
+ 114: w,
2331
+ 115: T,
2332
+ 116: E
2333
2333
  },
2334
2334
  {
2335
2335
  10: [1, 211],
2336
- 44: h,
2337
- 60: g,
2338
- 89: y,
2339
- 102: b,
2340
- 105: x,
2341
- 106: S,
2342
- 109: C,
2343
- 111: w,
2336
+ 44: m,
2337
+ 60: h,
2338
+ 89: v,
2339
+ 102: y,
2340
+ 105: b,
2341
+ 106: x,
2342
+ 109: S,
2343
+ 111: C,
2344
2344
  113: 113,
2345
- 114: T,
2346
- 115: E,
2347
- 116: D
2345
+ 114: w,
2346
+ 115: T,
2347
+ 116: E
2348
2348
  },
2349
2349
  { 80: [1, 212] },
2350
2350
  e(I, [2, 109], { 10: [1, 213] }),
@@ -2357,17 +2357,17 @@ You have to call mermaid.initialize.`);
2357
2357
  },
2358
2358
  e(be, [2, 55], {
2359
2359
  113: 113,
2360
- 44: h,
2361
- 60: g,
2362
- 89: y,
2363
- 102: b,
2364
- 105: x,
2365
- 106: S,
2366
- 109: C,
2367
- 111: w,
2368
- 114: T,
2369
- 115: E,
2370
- 116: D
2360
+ 44: m,
2361
+ 60: h,
2362
+ 89: v,
2363
+ 102: y,
2364
+ 105: b,
2365
+ 106: x,
2366
+ 109: S,
2367
+ 111: C,
2368
+ 114: w,
2369
+ 115: T,
2370
+ 116: E
2371
2371
  }),
2372
2372
  {
2373
2373
  31: [1, 218],
@@ -2521,25 +2521,25 @@ You have to call mermaid.initialize.`);
2521
2521
  117: H,
2522
2522
  118: U
2523
2523
  },
2524
- e(Ye, a, { 5: 238 }),
2524
+ e(Ye, o, { 5: 238 }),
2525
2525
  e(W, [2, 102]),
2526
2526
  e(A, [2, 35]),
2527
2527
  {
2528
2528
  43: 239,
2529
- 44: h,
2529
+ 44: m,
2530
2530
  45: 40,
2531
2531
  47: 41,
2532
- 60: g,
2533
- 89: y,
2534
- 102: b,
2535
- 105: x,
2536
- 106: S,
2537
- 109: C,
2538
- 111: w,
2532
+ 60: h,
2533
+ 89: v,
2534
+ 102: y,
2535
+ 105: b,
2536
+ 106: x,
2537
+ 109: S,
2538
+ 111: C,
2539
2539
  113: 42,
2540
- 114: T,
2541
- 115: E,
2542
- 116: D
2540
+ 114: w,
2541
+ 115: T,
2542
+ 116: E
2543
2543
  },
2544
2544
  {
2545
2545
  10: k,
@@ -2601,19 +2601,19 @@ You have to call mermaid.initialize.`);
2601
2601
  112: Q
2602
2602
  },
2603
2603
  {
2604
- 44: h,
2604
+ 44: m,
2605
2605
  47: 258,
2606
- 60: g,
2607
- 89: y,
2608
- 102: b,
2609
- 105: x,
2610
- 106: S,
2611
- 109: C,
2612
- 111: w,
2606
+ 60: h,
2607
+ 89: v,
2608
+ 102: y,
2609
+ 105: b,
2610
+ 106: x,
2611
+ 109: S,
2612
+ 111: C,
2613
2613
  113: 42,
2614
- 114: T,
2615
- 115: E,
2616
- 116: D
2614
+ 114: w,
2615
+ 115: T,
2616
+ 116: E
2617
2617
  },
2618
2618
  e(I, [2, 108]),
2619
2619
  { 80: [1, 259] },
@@ -2681,45 +2681,45 @@ You have to call mermaid.initialize.`);
2681
2681
  {
2682
2682
  6: 11,
2683
2683
  7: 12,
2684
- 8: o,
2685
- 9: s,
2686
- 10: c,
2687
- 11: l,
2684
+ 8: s,
2685
+ 9: c,
2686
+ 10: l,
2687
+ 11: u,
2688
2688
  20: 17,
2689
2689
  22: 18,
2690
2690
  23: 19,
2691
2691
  24: 20,
2692
2692
  25: 21,
2693
2693
  26: 22,
2694
- 27: u,
2694
+ 27: d,
2695
2695
  32: [1, 267],
2696
2696
  33: 24,
2697
- 34: d,
2698
- 36: f,
2697
+ 34: f,
2698
+ 36: ee,
2699
2699
  38: p,
2700
2700
  42: 28,
2701
2701
  43: 39,
2702
- 44: h,
2702
+ 44: m,
2703
2703
  45: 40,
2704
2704
  47: 41,
2705
- 60: g,
2706
- 84: _,
2707
- 85: v,
2708
- 86: ee,
2709
- 87: te,
2710
- 88: ne,
2711
- 89: y,
2712
- 102: b,
2713
- 105: x,
2714
- 106: S,
2715
- 109: C,
2716
- 111: w,
2705
+ 60: h,
2706
+ 84: g,
2707
+ 85: _,
2708
+ 86: te,
2709
+ 87: ne,
2710
+ 88: re,
2711
+ 89: v,
2712
+ 102: y,
2713
+ 105: b,
2714
+ 106: x,
2715
+ 109: S,
2716
+ 111: C,
2717
2717
  113: 42,
2718
- 114: T,
2719
- 115: E,
2720
- 116: D,
2721
- 121: O,
2722
- 122: re,
2718
+ 114: w,
2719
+ 115: T,
2720
+ 116: E,
2721
+ 121: D,
2722
+ 122: O,
2723
2723
  123: ie,
2724
2724
  124: ae,
2725
2725
  125: oe
@@ -2727,20 +2727,20 @@ You have to call mermaid.initialize.`);
2727
2727
  e(be, [2, 53]),
2728
2728
  {
2729
2729
  43: 268,
2730
- 44: h,
2730
+ 44: m,
2731
2731
  45: 40,
2732
2732
  47: 41,
2733
- 60: g,
2734
- 89: y,
2735
- 102: b,
2736
- 105: x,
2737
- 106: S,
2738
- 109: C,
2739
- 111: w,
2733
+ 60: h,
2734
+ 89: v,
2735
+ 102: y,
2736
+ 105: b,
2737
+ 106: x,
2738
+ 109: S,
2739
+ 111: C,
2740
2740
  113: 42,
2741
- 114: T,
2742
- 115: E,
2743
- 116: D
2741
+ 114: w,
2742
+ 115: T,
2743
+ 116: E
2744
2744
  },
2745
2745
  e(I, [2, 121], { 106: tt }),
2746
2746
  e(nt, [2, 130], {
@@ -2771,17 +2771,17 @@ You have to call mermaid.initialize.`);
2771
2771
  e(I, [2, 105], { 106: tt }),
2772
2772
  e(I, [2, 106], {
2773
2773
  113: 113,
2774
- 44: h,
2775
- 60: g,
2776
- 89: y,
2777
- 102: b,
2778
- 105: x,
2779
- 106: S,
2780
- 109: C,
2781
- 111: w,
2782
- 114: T,
2783
- 115: E,
2784
- 116: D
2774
+ 44: m,
2775
+ 60: h,
2776
+ 89: v,
2777
+ 102: y,
2778
+ 105: b,
2779
+ 106: x,
2780
+ 109: S,
2781
+ 111: C,
2782
+ 114: w,
2783
+ 115: T,
2784
+ 116: E
2785
2785
  }),
2786
2786
  e(I, [2, 110]),
2787
2787
  e(I, [2, 112], { 10: [1, 273] }),
@@ -2855,7 +2855,7 @@ You have to call mermaid.initialize.`);
2855
2855
  118: U
2856
2856
  },
2857
2857
  e(P, [2, 66]),
2858
- e(Ye, a, { 5: 284 }),
2858
+ e(Ye, o, { 5: 284 }),
2859
2859
  e(nt, [2, 131], {
2860
2860
  108: 270,
2861
2861
  10: G,
@@ -2909,45 +2909,45 @@ You have to call mermaid.initialize.`);
2909
2909
  {
2910
2910
  6: 11,
2911
2911
  7: 12,
2912
- 8: o,
2913
- 9: s,
2914
- 10: c,
2915
- 11: l,
2912
+ 8: s,
2913
+ 9: c,
2914
+ 10: l,
2915
+ 11: u,
2916
2916
  20: 17,
2917
2917
  22: 18,
2918
2918
  23: 19,
2919
2919
  24: 20,
2920
2920
  25: 21,
2921
2921
  26: 22,
2922
- 27: u,
2922
+ 27: d,
2923
2923
  32: [1, 288],
2924
2924
  33: 24,
2925
- 34: d,
2926
- 36: f,
2925
+ 34: f,
2926
+ 36: ee,
2927
2927
  38: p,
2928
2928
  42: 28,
2929
2929
  43: 39,
2930
- 44: h,
2930
+ 44: m,
2931
2931
  45: 40,
2932
2932
  47: 41,
2933
- 60: g,
2934
- 84: _,
2935
- 85: v,
2936
- 86: ee,
2937
- 87: te,
2938
- 88: ne,
2939
- 89: y,
2940
- 102: b,
2941
- 105: x,
2942
- 106: S,
2943
- 109: C,
2944
- 111: w,
2933
+ 60: h,
2934
+ 84: g,
2935
+ 85: _,
2936
+ 86: te,
2937
+ 87: ne,
2938
+ 88: re,
2939
+ 89: v,
2940
+ 102: y,
2941
+ 105: b,
2942
+ 106: x,
2943
+ 109: S,
2944
+ 111: C,
2945
2945
  113: 42,
2946
- 114: T,
2947
- 115: E,
2948
- 116: D,
2949
- 121: O,
2950
- 122: re,
2946
+ 114: w,
2947
+ 115: T,
2948
+ 116: E,
2949
+ 121: D,
2950
+ 122: O,
2951
2951
  123: ie,
2952
2952
  124: ae,
2953
2953
  125: oe
@@ -2984,63 +2984,63 @@ You have to call mermaid.initialize.`);
2984
2984
  e(I, [2, 125], { 106: tt })
2985
2985
  ],
2986
2986
  defaultActions: {},
2987
- parseError: /* @__PURE__ */ m(function(e, t) {
2987
+ parseError: /* @__PURE__ */ t(function(e, t) {
2988
2988
  if (t.recoverable) this.trace(e);
2989
2989
  else {
2990
2990
  var n = Error(e);
2991
2991
  throw n.hash = t, n;
2992
2992
  }
2993
2993
  }, "parseError"),
2994
- parse: /* @__PURE__ */ m(function(e) {
2995
- var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, p = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
2996
- for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
2997
- h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
2998
- var v = h.yylloc;
2999
- a.push(v);
3000
- var ee = h.options && h.options.ranges;
3001
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
3002
- function te(e) {
3003
- n.length -= 2 * e, i.length -= e, a.length -= e;
2994
+ parse: /* @__PURE__ */ t(function(e) {
2995
+ var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, ee = 1, p = o.slice.call(arguments, 1), m = Object.create(this.lexer), h = { yy: {} };
2996
+ for (var g in this.yy) Object.prototype.hasOwnProperty.call(this.yy, g) && (h.yy[g] = this.yy[g]);
2997
+ m.setInput(e, h.yy), h.yy.lexer = m, h.yy.parser = this, m.yylloc === void 0 && (m.yylloc = {});
2998
+ var _ = m.yylloc;
2999
+ o.push(_);
3000
+ var te = m.options && m.options.ranges;
3001
+ typeof h.yy.parseError == "function" ? this.parseError = h.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
3002
+ function ne(e) {
3003
+ r.length -= 2 * e, a.length -= e, o.length -= e;
3004
3004
  }
3005
- m(te, "popStack");
3006
- function ne() {
3007
- var e = r.pop() || h.lex() || f;
3008
- return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
3005
+ t(ne, "popStack");
3006
+ function re() {
3007
+ var e = i.pop() || m.lex() || ee;
3008
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
3009
3009
  }
3010
- m(ne, "lex");
3011
- for (var y, b, x, S, C, w = {}, T, E, D, O;;) {
3012
- if (x = n[n.length - 1], this.defaultActions[x] ? S = this.defaultActions[x] : (y ??= ne(), S = o[x] && o[x][y]), S === void 0 || !S.length || !S[0]) {
3013
- var re = "";
3014
- for (T in O = [], o[x]) this.terminals_[T] && T > d && O.push("'" + this.terminals_[T] + "'");
3015
- re = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + O.join(", ") + ", got '" + (this.terminals_[y] || y) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (y == f ? "end of input" : "'" + (this.terminals_[y] || y) + "'"), this.parseError(re, {
3016
- text: h.match,
3017
- token: this.terminals_[y] || y,
3018
- line: h.yylineno,
3019
- loc: v,
3020
- expected: O
3010
+ t(re, "lex");
3011
+ for (var v, y, b, x, S, C = {}, w, T, E, D;;) {
3012
+ if (b = r[r.length - 1], this.defaultActions[b] ? x = this.defaultActions[b] : (v ??= re(), x = s[b] && s[b][v]), x === void 0 || !x.length || !x[0]) {
3013
+ var O = "";
3014
+ for (w in D = [], s[b]) this.terminals_[w] && w > f && D.push("'" + this.terminals_[w] + "'");
3015
+ O = m.showPosition ? "Parse error on line " + (l + 1) + ":\n" + m.showPosition() + "\nExpecting " + D.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (v == ee ? "end of input" : "'" + (this.terminals_[v] || v) + "'"), this.parseError(O, {
3016
+ text: m.match,
3017
+ token: this.terminals_[v] || v,
3018
+ line: m.yylineno,
3019
+ loc: _,
3020
+ expected: D
3021
3021
  });
3022
3022
  }
3023
- if (S[0] instanceof Array && S.length > 1) throw Error("Parse Error: multiple actions possible at state: " + x + ", token: " + y);
3024
- switch (S[0]) {
3023
+ if (x[0] instanceof Array && x.length > 1) throw Error("Parse Error: multiple actions possible at state: " + b + ", token: " + v);
3024
+ switch (x[0]) {
3025
3025
  case 1:
3026
- n.push(y), i.push(h.yytext), a.push(h.yylloc), n.push(S[1]), y = null, b ? (y = b, b = null) : (l = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, u > 0 && u--);
3026
+ r.push(v), a.push(m.yytext), o.push(m.yylloc), r.push(x[1]), v = null, y ? (v = y, y = null) : (u = m.yyleng, c = m.yytext, l = m.yylineno, _ = m.yylloc, d > 0 && d--);
3027
3027
  break;
3028
3028
  case 2:
3029
- if (E = this.productions_[S[1]][1], w.$ = i[i.length - E], w._$ = {
3030
- first_line: a[a.length - (E || 1)].first_line,
3031
- last_line: a[a.length - 1].last_line,
3032
- first_column: a[a.length - (E || 1)].first_column,
3033
- last_column: a[a.length - 1].last_column
3034
- }, ee && (w._$.range = [a[a.length - (E || 1)].range[0], a[a.length - 1].range[1]]), C = this.performAction.apply(w, [
3035
- s,
3036
- l,
3029
+ if (T = this.productions_[x[1]][1], C.$ = a[a.length - T], C._$ = {
3030
+ first_line: o[o.length - (T || 1)].first_line,
3031
+ last_line: o[o.length - 1].last_line,
3032
+ first_column: o[o.length - (T || 1)].first_column,
3033
+ last_column: o[o.length - 1].last_column
3034
+ }, te && (C._$.range = [o[o.length - (T || 1)].range[0], o[o.length - 1].range[1]]), S = this.performAction.apply(C, [
3037
3035
  c,
3038
- g.yy,
3039
- S[1],
3040
- i,
3041
- a
3042
- ].concat(p)), C !== void 0) return C;
3043
- E && (n = n.slice(0, -1 * E * 2), i = i.slice(0, -1 * E), a = a.slice(0, -1 * E)), n.push(this.productions_[S[1]][0]), i.push(w.$), a.push(w._$), D = o[n[n.length - 2]][n[n.length - 1]], n.push(D);
3036
+ u,
3037
+ l,
3038
+ h.yy,
3039
+ x[1],
3040
+ a,
3041
+ o
3042
+ ].concat(p)), S !== void 0) return S;
3043
+ T && (r = r.slice(0, -1 * T * 2), a = a.slice(0, -1 * T), o = o.slice(0, -1 * T)), r.push(this.productions_[x[1]][0]), a.push(C.$), o.push(C._$), E = s[r[r.length - 2]][r[r.length - 1]], r.push(E);
3044
3044
  break;
3045
3045
  case 3: return !0;
3046
3046
  }
@@ -3051,11 +3051,11 @@ You have to call mermaid.initialize.`);
3051
3051
  rt.lexer = /* @__PURE__ */ (function() {
3052
3052
  return {
3053
3053
  EOF: 1,
3054
- parseError: /* @__PURE__ */ m(function(e, t) {
3054
+ parseError: /* @__PURE__ */ t(function(e, t) {
3055
3055
  if (this.yy.parser) this.yy.parser.parseError(e, t);
3056
3056
  else throw Error(e);
3057
3057
  }, "parseError"),
3058
- setInput: /* @__PURE__ */ m(function(e, t) {
3058
+ setInput: /* @__PURE__ */ t(function(e, t) {
3059
3059
  return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
3060
3060
  first_line: 1,
3061
3061
  first_column: 0,
@@ -3063,11 +3063,11 @@ You have to call mermaid.initialize.`);
3063
3063
  last_column: 0
3064
3064
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
3065
3065
  }, "setInput"),
3066
- input: /* @__PURE__ */ m(function() {
3066
+ input: /* @__PURE__ */ t(function() {
3067
3067
  var e = this._input[0];
3068
3068
  return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
3069
3069
  }, "input"),
3070
- unput: /* @__PURE__ */ m(function(e) {
3070
+ unput: /* @__PURE__ */ t(function(e) {
3071
3071
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
3072
3072
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
3073
3073
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -3080,10 +3080,10 @@ You have to call mermaid.initialize.`);
3080
3080
  last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
3081
3081
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
3082
3082
  }, "unput"),
3083
- more: /* @__PURE__ */ m(function() {
3083
+ more: /* @__PURE__ */ t(function() {
3084
3084
  return this._more = !0, this;
3085
3085
  }, "more"),
3086
- reject: /* @__PURE__ */ m(function() {
3086
+ reject: /* @__PURE__ */ t(function() {
3087
3087
  if (this.options.backtrack_lexer) this._backtrack = !0;
3088
3088
  else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
3089
3089
  text: "",
@@ -3092,22 +3092,22 @@ You have to call mermaid.initialize.`);
3092
3092
  });
3093
3093
  return this;
3094
3094
  }, "reject"),
3095
- less: /* @__PURE__ */ m(function(e) {
3095
+ less: /* @__PURE__ */ t(function(e) {
3096
3096
  this.unput(this.match.slice(e));
3097
3097
  }, "less"),
3098
- pastInput: /* @__PURE__ */ m(function() {
3098
+ pastInput: /* @__PURE__ */ t(function() {
3099
3099
  var e = this.matched.substr(0, this.matched.length - this.match.length);
3100
3100
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
3101
3101
  }, "pastInput"),
3102
- upcomingInput: /* @__PURE__ */ m(function() {
3102
+ upcomingInput: /* @__PURE__ */ t(function() {
3103
3103
  var e = this.match;
3104
3104
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
3105
3105
  }, "upcomingInput"),
3106
- showPosition: /* @__PURE__ */ m(function() {
3106
+ showPosition: /* @__PURE__ */ t(function() {
3107
3107
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
3108
3108
  return e + this.upcomingInput() + "\n" + t + "^";
3109
3109
  }, "showPosition"),
3110
- test_match: /* @__PURE__ */ m(function(e, t) {
3110
+ test_match: /* @__PURE__ */ t(function(e, t) {
3111
3111
  var n, r, i;
3112
3112
  if (this.options.backtrack_lexer && (i = {
3113
3113
  yylineno: this.yylineno,
@@ -3140,7 +3140,7 @@ You have to call mermaid.initialize.`);
3140
3140
  }
3141
3141
  return !1;
3142
3142
  }, "test_match"),
3143
- next: /* @__PURE__ */ m(function() {
3143
+ next: /* @__PURE__ */ t(function() {
3144
3144
  if (this.done) return this.EOF;
3145
3145
  this._input || (this.done = !0);
3146
3146
  var e, t, n, r;
@@ -3160,29 +3160,29 @@ You have to call mermaid.initialize.`);
3160
3160
  line: this.yylineno
3161
3161
  });
3162
3162
  }, "next"),
3163
- lex: /* @__PURE__ */ m(function() {
3163
+ lex: /* @__PURE__ */ t(function() {
3164
3164
  return this.next() || this.lex();
3165
3165
  }, "lex"),
3166
- begin: /* @__PURE__ */ m(function(e) {
3166
+ begin: /* @__PURE__ */ t(function(e) {
3167
3167
  this.conditionStack.push(e);
3168
3168
  }, "begin"),
3169
- popState: /* @__PURE__ */ m(function() {
3169
+ popState: /* @__PURE__ */ t(function() {
3170
3170
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
3171
3171
  }, "popState"),
3172
- _currentRules: /* @__PURE__ */ m(function() {
3172
+ _currentRules: /* @__PURE__ */ t(function() {
3173
3173
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
3174
3174
  }, "_currentRules"),
3175
- topState: /* @__PURE__ */ m(function(e) {
3175
+ topState: /* @__PURE__ */ t(function(e) {
3176
3176
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
3177
3177
  }, "topState"),
3178
- pushState: /* @__PURE__ */ m(function(e) {
3178
+ pushState: /* @__PURE__ */ t(function(e) {
3179
3179
  this.begin(e);
3180
3180
  }, "pushState"),
3181
- stateStackSize: /* @__PURE__ */ m(function() {
3181
+ stateStackSize: /* @__PURE__ */ t(function() {
3182
3182
  return this.conditionStack.length;
3183
3183
  }, "stateStackSize"),
3184
3184
  options: {},
3185
- performAction: /* @__PURE__ */ m(function(e, t, n, r) {
3185
+ performAction: /* @__PURE__ */ t(function(e, t, n, r) {
3186
3186
  switch (n) {
3187
3187
  case 0: return this.begin("acc_title"), 34;
3188
3188
  case 1: return this.popState(), "acc_title_value";
@@ -3972,24 +3972,24 @@ You have to call mermaid.initialize.`);
3972
3972
  function it() {
3973
3973
  this.yy = {};
3974
3974
  }
3975
- return m(it, "Parser"), it.prototype = rt, rt.Parser = it, new it();
3975
+ return t(it, "Parser"), it.prototype = rt, rt.Parser = it, new it();
3976
3976
  })();
3977
- O.parser = O;
3978
- var re = O, ie = Object.assign({}, re);
3977
+ D.parser = D;
3978
+ var O = D, ie = Object.assign({}, O);
3979
3979
  ie.parse = (e) => {
3980
3980
  let t = e.replace(/}\s*\n/g, "}\n");
3981
- return re.parse(t);
3981
+ return O.parse(t);
3982
3982
  };
3983
- var ae = ie, oe = /* @__PURE__ */ m((e, t) => {
3984
- let n = g;
3983
+ var ae = ie, oe = /* @__PURE__ */ t((e, t) => {
3984
+ let n = h;
3985
3985
  return u(n(e, "r"), n(e, "g"), n(e, "b"), t);
3986
3986
  }, "fade"), k = {
3987
3987
  parser: ae,
3988
3988
  get db() {
3989
- return new E();
3989
+ return new T();
3990
3990
  },
3991
- renderer: D,
3992
- styles: /* @__PURE__ */ m((e) => `.label {
3991
+ renderer: E,
3992
+ styles: /* @__PURE__ */ t((e) => `.label {
3993
3993
  font-family: ${e.fontFamily};
3994
3994
  color: ${e.nodeTextColor || e.textColor};
3995
3995
  }
@@ -4135,10 +4135,10 @@ var ae = ie, oe = /* @__PURE__ */ m((e, t) => {
4135
4135
  }
4136
4136
  text-align: center;
4137
4137
  }
4138
- ${x()}
4138
+ ${b()}
4139
4139
  `, "getStyles"),
4140
- init: /* @__PURE__ */ m((e) => {
4141
- e.flowchart ||= {}, e.layout && n({ layout: e.layout }), e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, n({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
4140
+ init: /* @__PURE__ */ t((e) => {
4141
+ e.flowchart ||= {}, e.layout && r({ layout: e.layout }), e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, r({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
4142
4142
  }, "init")
4143
4143
  };
4144
4144
  //#endregion