@countermeasure-platform/web-components 1.2.1-dev.6.1 → 1.2.2-dev.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/dist/{arc-jVbrWVYZ.js → arc-DOJ9myHo.js} +21 -21
  2. package/dist/{arc-jVbrWVYZ.js.map → arc-DOJ9myHo.js.map} +1 -1
  3. package/dist/architecture-7EHR7CIX-RjIwnEbG.js +3 -0
  4. package/dist/{architectureDiagram-2XIMDMQ5-D5q0ma9h.js → architectureDiagram-3BPJPVTR-cYFnhp15.js} +165 -152
  5. package/dist/{architectureDiagram-2XIMDMQ5-D5q0ma9h.js.map → architectureDiagram-3BPJPVTR-cYFnhp15.js.map} +1 -1
  6. package/dist/{array-DXadUs1s.js → array-BLp0zq5K.js} +1 -1
  7. package/dist/{array-DXadUs1s.js.map → array-BLp0zq5K.js.map} +1 -1
  8. package/dist/{blockDiagram-WCTKOSBZ-BH3jwWeU.js → blockDiagram-GPEHLZMM-DNLPMFXL.js} +994 -864
  9. package/dist/blockDiagram-GPEHLZMM-DNLPMFXL.js.map +1 -0
  10. package/dist/{c4Diagram-IC4MRINW-OFLrunYI.js → c4Diagram-AAUBKEIU-G8g3OBBg.js} +232 -235
  11. package/dist/c4Diagram-AAUBKEIU-G8g3OBBg.js.map +1 -0
  12. package/dist/channel-MTYqUJFm.js +7 -0
  13. package/dist/{channel-LRbq43st.js.map → channel-MTYqUJFm.js.map} +1 -1
  14. package/dist/{chunk-KX2RTZJC-d9jFqUAY.js → chunk-2J33WTMH-BKsVIUnb.js} +4 -4
  15. package/dist/{chunk-KX2RTZJC-d9jFqUAY.js.map → chunk-2J33WTMH-BKsVIUnb.js.map} +1 -1
  16. package/dist/chunk-3OPIFGDE-CcNRL44h.js +3669 -0
  17. package/dist/chunk-3OPIFGDE-CcNRL44h.js.map +1 -0
  18. package/dist/{chunk-4BX2VUAB-BS9gpN-y.js → chunk-4BX2VUAB-BeLKo9Pn.js} +2 -2
  19. package/dist/{chunk-4BX2VUAB-BS9gpN-y.js.map → chunk-4BX2VUAB-BeLKo9Pn.js.map} +1 -1
  20. package/dist/{chunk-R5LLSJPH-c1IfaK5D.js → chunk-4EGX6M5U-Bh9as06l.js} +13 -13
  21. package/dist/chunk-4EGX6M5U-Bh9as06l.js.map +1 -0
  22. package/dist/{chunk-55IACEB6-DZ-UBhHX.js → chunk-55IACEB6-CuKbiO89.js} +3 -3
  23. package/dist/{chunk-55IACEB6-DZ-UBhHX.js.map → chunk-55IACEB6-CuKbiO89.js.map} +1 -1
  24. package/dist/chunk-5DO6E6H7-CAB8pWf5.js +25 -0
  25. package/dist/chunk-5DO6E6H7-CAB8pWf5.js.map +1 -0
  26. package/dist/{chunk-GEFDOKGD-DGJJEGSm.js → chunk-5ZQYHXKU-CjOcwRY6.js} +570 -326
  27. package/dist/chunk-5ZQYHXKU-CjOcwRY6.js.map +1 -0
  28. package/dist/{chunk-WL4C6EOR-BV-op7zg.js → chunk-727SXJPM-kowsFLrz.js} +724 -569
  29. package/dist/chunk-727SXJPM-kowsFLrz.js.map +1 -0
  30. package/dist/{chunk-NQ4KR5QH-C0nWShNk.js → chunk-AQP2D5EJ-Bc1gUIeA.js} +384 -362
  31. package/dist/chunk-AQP2D5EJ-Bc1gUIeA.js.map +1 -0
  32. package/dist/{chunk-OZEHJAEY-BsQ56PV-.js → chunk-BR22UD5L-BCFxmd5-.js} +16 -16
  33. package/dist/chunk-BR22UD5L-BCFxmd5-.js.map +1 -0
  34. package/dist/{chunk-MX3YWQON-D43mcq1f.js → chunk-BSJP7CBP-Bl94i3-1.js} +7 -5
  35. package/dist/chunk-BSJP7CBP-Bl94i3-1.js.map +1 -0
  36. package/dist/chunk-CSCIHK7Q-DyRIc27i.js +2868 -0
  37. package/dist/chunk-CSCIHK7Q-DyRIc27i.js.map +1 -0
  38. package/dist/chunk-FHYWG6QK-kLWdRarG.js +25 -0
  39. package/dist/chunk-FHYWG6QK-kLWdRarG.js.map +1 -0
  40. package/dist/{chunk-FMBD7UC4-1IxrpdPX.js → chunk-FMBD7UC4-IdpWVRCU.js} +2 -2
  41. package/dist/{chunk-FMBD7UC4-1IxrpdPX.js.map → chunk-FMBD7UC4-IdpWVRCU.js.map} +1 -1
  42. package/dist/chunk-KSCS5N6A-CVcDS9QV.js +563 -0
  43. package/dist/chunk-KSCS5N6A-CVcDS9QV.js.map +1 -0
  44. package/dist/{chunk-YBOYWFTD-DkjEOcgZ.js → chunk-L5ZTLDWV-Day0EgsR.js} +9 -9
  45. package/dist/{chunk-YBOYWFTD-DkjEOcgZ.js.map → chunk-L5ZTLDWV-Day0EgsR.js.map} +1 -1
  46. package/dist/chunk-LZXEDZCA-BO_GpQSR.js +51 -0
  47. package/dist/chunk-LZXEDZCA-BO_GpQSR.js.map +1 -0
  48. package/dist/chunk-MPE355IW-BkN6MrMO.js +25 -0
  49. package/dist/chunk-MPE355IW-BkN6MrMO.js.map +1 -0
  50. package/dist/chunk-MZUSXYTE-94iWO-dh.js +32 -0
  51. package/dist/chunk-MZUSXYTE-94iWO-dh.js.map +1 -0
  52. package/dist/chunk-N66VUXT2-QbIUkiJZ.js +56 -0
  53. package/dist/chunk-N66VUXT2-QbIUkiJZ.js.map +1 -0
  54. package/dist/{chunk-JSJVCQXG-Do17yYig.js → chunk-ND2GUHAM-Boh7GenS.js} +6 -6
  55. package/dist/{chunk-JSJVCQXG-Do17yYig.js.map → chunk-ND2GUHAM-Boh7GenS.js.map} +1 -1
  56. package/dist/chunk-NNHCCRGN-CNU0zvRn.js +20603 -0
  57. package/dist/chunk-NNHCCRGN-CNU0zvRn.js.map +1 -0
  58. package/dist/{chunk-PQ6SQG4A-Cpfc5F4u.js → chunk-NZK2D7GU-D4Ird7wv.js} +4 -4
  59. package/dist/{chunk-PQ6SQG4A-Cpfc5F4u.js.map → chunk-NZK2D7GU-D4Ird7wv.js.map} +1 -1
  60. package/dist/{chunk-PU5JKC2W-DNpn_Yik.js → chunk-O5CBEL6O-DThtyjPO.js} +85 -74
  61. package/dist/{chunk-PU5JKC2W-DNpn_Yik.js.map → chunk-O5CBEL6O-DThtyjPO.js.map} +1 -1
  62. package/dist/chunk-PUPMXCY4-DsO2K8st.js +25 -0
  63. package/dist/chunk-PUPMXCY4-DsO2K8st.js.map +1 -0
  64. package/dist/{chunk-QZHKN3VN-kDNdTVLo.js → chunk-QZHKN3VN-DC5aJQQT.js} +2 -2
  65. package/dist/{chunk-QZHKN3VN-kDNdTVLo.js.map → chunk-QZHKN3VN-DC5aJQQT.js.map} +1 -1
  66. package/dist/chunk-UIBZB4QT-Cu3IcTk1.js +25 -0
  67. package/dist/chunk-UIBZB4QT-Cu3IcTk1.js.map +1 -0
  68. package/dist/chunk-WCWK7LTN-DpMt57Ty.js +33 -0
  69. package/dist/chunk-WCWK7LTN-DpMt57Ty.js.map +1 -0
  70. package/dist/chunk-WU5MYG2G-mzocEmS2.js +12 -0
  71. package/dist/{chunk-HHEYEP7N-DJ1b-gA8.js.map → chunk-WU5MYG2G-mzocEmS2.js.map} +1 -1
  72. package/dist/{chunk-XPW4576I-BqiPnb3d.js → chunk-XPW4576I-BwxN5U1_.js} +2 -2
  73. package/dist/{chunk-XPW4576I-BqiPnb3d.js.map → chunk-XPW4576I-BwxN5U1_.js.map} +1 -1
  74. package/dist/classDiagram-4FO5ZUOK-CZv04EX-.js +31 -0
  75. package/dist/{classDiagram-VBA2DB6C-DZfC0xPM.js.map → classDiagram-4FO5ZUOK-CZv04EX-.js.map} +1 -1
  76. package/dist/classDiagram-v2-Q7XG4LA2-aOPSPoxt.js +31 -0
  77. package/dist/{classDiagram-v2-RAHNMMFH-CtWRD1ax.js.map → classDiagram-v2-Q7XG4LA2-aOPSPoxt.js.map} +1 -1
  78. package/dist/component-Dye0I6sO.js +145 -0
  79. package/dist/component-Dye0I6sO.js.map +1 -0
  80. package/dist/components/brand/index.d.ts +8 -2
  81. package/dist/components/brand/index.d.ts.map +1 -1
  82. package/dist/components/brand/index.js +58 -31
  83. package/dist/components/brand/index.js.map +1 -1
  84. package/dist/components/brand/types.d.ts +8 -0
  85. package/dist/components/brand/types.d.ts.map +1 -1
  86. package/dist/{cose-bilkent-S5V4N54A-DxM02fly.js → cose-bilkent-S5V4N54A-D_hwzCJc.js} +7 -8
  87. package/dist/{cose-bilkent-S5V4N54A-DxM02fly.js.map → cose-bilkent-S5V4N54A-D_hwzCJc.js.map} +1 -1
  88. package/dist/{cytoscape.esm-2vKMh7AJ.js → cytoscape.esm-C85eXBIz.js} +1 -1
  89. package/dist/{cytoscape.esm-2vKMh7AJ.js.map → cytoscape.esm-C85eXBIz.js.map} +1 -1
  90. package/dist/dagre-BM42HDAG-DBqY2dVf.js +299 -0
  91. package/dist/dagre-BM42HDAG-DBqY2dVf.js.map +1 -0
  92. package/dist/dagre-IxFkiJHF.js +1938 -0
  93. package/dist/dagre-IxFkiJHF.js.map +1 -0
  94. package/dist/{defaultLocale-PLHpRrsr.js → defaultLocale-DSDxELFN.js} +1 -1
  95. package/dist/{defaultLocale-PLHpRrsr.js.map → defaultLocale-DSDxELFN.js.map} +1 -1
  96. package/dist/{diagram-IFDJBPK2-D-Enf1mK.js → diagram-2AECGRRQ-BwC5Qbme.js} +39 -39
  97. package/dist/{diagram-IFDJBPK2-D-Enf1mK.js.map → diagram-2AECGRRQ-BwC5Qbme.js.map} +1 -1
  98. package/dist/diagram-5GNKFQAL-BpJ9oZ4s.js +103 -0
  99. package/dist/diagram-5GNKFQAL-BpJ9oZ4s.js.map +1 -0
  100. package/dist/diagram-KO2AKTUF-kSLn21uw.js +434 -0
  101. package/dist/diagram-KO2AKTUF-kSLn21uw.js.map +1 -0
  102. package/dist/{diagram-P4PSJMXO-O8g_RIkM.js → diagram-LMA3HP47-BRqyGMLP.js} +43 -43
  103. package/dist/{diagram-P4PSJMXO-O8g_RIkM.js.map → diagram-LMA3HP47-BRqyGMLP.js.map} +1 -1
  104. package/dist/{diagram-E7M64L7V-Co7O3gub.js → diagram-OG6HWLK6-BsskLXHm.js} +171 -174
  105. package/dist/diagram-OG6HWLK6-BsskLXHm.js.map +1 -0
  106. package/dist/{dist-BrNloUiz.js → dist-BScrlPBC.js} +32 -23
  107. package/dist/dist-BScrlPBC.js.map +1 -0
  108. package/dist/{erDiagram-INFDFZHY-C42JeR9I.js → erDiagram-TEJ5UH35-DzB7hnCi.js} +198 -164
  109. package/dist/erDiagram-TEJ5UH35-DzB7hnCi.js.map +1 -0
  110. package/dist/eventmodeling-FCH6USID-HcA67HMu.js +3 -0
  111. package/dist/{flowDiagram-PKNHOUZH-DInJjOz3.js → flowDiagram-I6XJVG4X-RYkPtPRG.js} +453 -469
  112. package/dist/flowDiagram-I6XJVG4X-RYkPtPRG.js.map +1 -0
  113. package/dist/{ganttDiagram-A5KZAMGK-Dgp-4Yss.js → ganttDiagram-6RSMTGT7-BfjlFVNd.js} +340 -333
  114. package/dist/ganttDiagram-6RSMTGT7-BfjlFVNd.js.map +1 -0
  115. package/dist/gitGraph-WXDBUCRP-D60yP8mT.js +3 -0
  116. package/dist/gitGraphDiagram-PVQCEYII-DbUp_ElG.js +731 -0
  117. package/dist/gitGraphDiagram-PVQCEYII-DbUp_ElG.js.map +1 -0
  118. package/dist/graphlib-k-wJtbbK.js +1268 -0
  119. package/dist/graphlib-k-wJtbbK.js.map +1 -0
  120. package/dist/info-J43DQDTF-DDmtkMBG.js +3 -0
  121. package/dist/{infoDiagram-LFFYTUFH-DajJJRvc.js → infoDiagram-5YYISTIA-C0TqWTrr.js} +7 -7
  122. package/dist/{infoDiagram-LFFYTUFH-DajJJRvc.js.map → infoDiagram-5YYISTIA-C0TqWTrr.js.map} +1 -1
  123. package/dist/{init-DcLTaNW1.js → init-CGzIZb6J.js} +1 -1
  124. package/dist/{init-DcLTaNW1.js.map → init-CGzIZb6J.js.map} +1 -1
  125. package/dist/{ishikawaDiagram-PHBUUO56-qHBJm2LT.js → ishikawaDiagram-YF4QCWOH-Cyk_Antz.js} +98 -97
  126. package/dist/ishikawaDiagram-YF4QCWOH-Cyk_Antz.js.map +1 -0
  127. package/dist/{journeyDiagram-4ABVD52K-PgfYdoDM.js → journeyDiagram-JHISSGLW-CTl8eDDe.js} +78 -78
  128. package/dist/journeyDiagram-JHISSGLW-CTl8eDDe.js.map +1 -0
  129. package/dist/{kanban-definition-K7BYSVSG-DFRT8j7A.js → kanban-definition-UN3LZRKU-homeDoHF.js} +46 -44
  130. package/dist/{kanban-definition-K7BYSVSG-DFRT8j7A.js.map → kanban-definition-UN3LZRKU-homeDoHF.js.map} +1 -1
  131. package/dist/{katex-BZdHnXin.js → katex-CgkxVokH.js} +1 -1
  132. package/dist/{katex-BZdHnXin.js.map → katex-CgkxVokH.js.map} +1 -1
  133. package/dist/line-k_aZSToM.js +36 -0
  134. package/dist/{line-Cq1AZT4f.js.map → line-k_aZSToM.js.map} +1 -1
  135. package/dist/{linear-BnJD01Xn.js → linear-Dpcbf4VP.js} +5 -5
  136. package/dist/{linear-BnJD01Xn.js.map → linear-Dpcbf4VP.js.map} +1 -1
  137. package/dist/{mermaid-parser.core-Dz5qv4CI.js → mermaid-parser.core-B_q76LYz.js} +32 -17
  138. package/dist/mermaid-parser.core-B_q76LYz.js.map +1 -0
  139. package/dist/mermaid.core-DAh-gNcn.js +997 -0
  140. package/dist/mermaid.core-DAh-gNcn.js.map +1 -0
  141. package/dist/{mindmap-definition-YRQLILUH-D95OPRMh.js → mindmap-definition-RKZ34NQL-Cjglmmr7.js} +153 -108
  142. package/dist/mindmap-definition-RKZ34NQL-Cjglmmr7.js.map +1 -0
  143. package/dist/{ordinal-CC9tfh_g.js → ordinal-DHGdAr1Y.js} +2 -2
  144. package/dist/{ordinal-CC9tfh_g.js.map → ordinal-DHGdAr1Y.js.map} +1 -1
  145. package/dist/packet-YPE3B663-Bo9N32Mb.js +3 -0
  146. package/dist/{path-y0uQCOMW.js → path-D-DDb3Wo.js} +1 -1
  147. package/dist/{path-y0uQCOMW.js.map → path-D-DDb3Wo.js.map} +1 -1
  148. package/dist/pie-LRSECV5Y-DndCyILX.js +3 -0
  149. package/dist/pieDiagram-4H26LBE5-Swbny_uk.js +167 -0
  150. package/dist/pieDiagram-4H26LBE5-Swbny_uk.js.map +1 -0
  151. package/dist/{quadrantDiagram-337W2JSQ-CcKc-h2o.js → quadrantDiagram-W4KKPZXB-kyt1iJkC.js} +359 -332
  152. package/dist/quadrantDiagram-W4KKPZXB-kyt1iJkC.js.map +1 -0
  153. package/dist/radar-GUYGQ44K-DpLG1fRN.js +3 -0
  154. package/dist/react/brand/index.d.ts +13 -1
  155. package/dist/react/brand/index.d.ts.map +1 -1
  156. package/dist/react/brand.js +28 -3
  157. package/dist/react/brand.js.map +1 -1
  158. package/dist/react/sidebar.d.ts +22 -1
  159. package/dist/react/sidebar.d.ts.map +1 -1
  160. package/dist/react/sidebar.js +26 -2
  161. package/dist/react/sidebar.js.map +1 -1
  162. package/dist/react/topology.js +1 -1
  163. package/dist/react.js +100 -100
  164. package/dist/{requirementDiagram-Z7DCOOCP-aPcaPduF.js → requirementDiagram-4Y6WPE33-DWRks7dz.js} +153 -133
  165. package/dist/requirementDiagram-4Y6WPE33-DWRks7dz.js.map +1 -0
  166. package/dist/{rough.esm-C9rQ9YkE.js → rough.esm-C7tiDdBn.js} +1 -1
  167. package/dist/{rough.esm-C9rQ9YkE.js.map → rough.esm-C7tiDdBn.js.map} +1 -1
  168. package/dist/{sankeyDiagram-WA2Y5GQK-CO_lUqQX.js → sankeyDiagram-5OEKKPKP-J_SVMd-0.js} +125 -76
  169. package/dist/{sankeyDiagram-WA2Y5GQK-CO_lUqQX.js.map → sankeyDiagram-5OEKKPKP-J_SVMd-0.js.map} +1 -1
  170. package/dist/sequenceDiagram-3UESZ5HK-BMhjbe8U.js +4167 -0
  171. package/dist/sequenceDiagram-3UESZ5HK-BMhjbe8U.js.map +1 -0
  172. package/dist/sidebar/component.d.ts +4 -0
  173. package/dist/sidebar/component.d.ts.map +1 -1
  174. package/dist/sidebar/index.d.ts +1 -1
  175. package/dist/sidebar/index.d.ts.map +1 -1
  176. package/dist/sidebar/index.js +1 -1
  177. package/dist/sidebar/index.js.map +1 -1
  178. package/dist/sidebar/types.d.ts +39 -0
  179. package/dist/sidebar/types.d.ts.map +1 -1
  180. package/dist/{src-D1EMXotX.js → src-CWnvxuyh.js} +603 -591
  181. package/dist/{src-D1EMXotX.js.map → src-CWnvxuyh.js.map} +1 -1
  182. package/dist/{src-BhNgmpel.js → src-DngnQkx_.js} +4 -5
  183. package/dist/{src-BhNgmpel.js.map → src-DngnQkx_.js.map} +1 -1
  184. package/dist/stateDiagram-AJRCARHV-x4JHehDk.js +220 -0
  185. package/dist/stateDiagram-AJRCARHV-x4JHehDk.js.map +1 -0
  186. package/dist/stateDiagram-v2-BHNVJYJU-CO93vpHl.js +29 -0
  187. package/dist/{stateDiagram-v2-FVOUBMTO-CAWy0Pkh.js.map → stateDiagram-v2-BHNVJYJU-CO93vpHl.js.map} +1 -1
  188. package/dist/styles/components/brand.css +30 -0
  189. package/dist/styles/sidebar.css +495 -0
  190. package/dist/{timeline-definition-YZTLITO2-CjxxCuOg.js → timeline-definition-PNZ67QCA-rsiMN1-p.js} +517 -279
  191. package/dist/timeline-definition-PNZ67QCA-rsiMN1-p.js.map +1 -0
  192. package/dist/{topology-C8cyIHlB.js → topology-B9Lv-y1-.js} +181 -182
  193. package/dist/{topology-C8cyIHlB.js.map → topology-B9Lv-y1-.js.map} +1 -1
  194. package/dist/treeView-BLDUP644-mJdM3Q6x.js +3 -0
  195. package/dist/treemap-LRROVOQU-BbNMhR6z.js +3 -0
  196. package/dist/{value-gSPnIECy.js → value-CnwEagIg.js} +2 -2
  197. package/dist/{value-gSPnIECy.js.map → value-CnwEagIg.js.map} +1 -1
  198. package/dist/{vennDiagram-LZ73GAT5-FqpGoq2s.js → vennDiagram-CIIHVFJN-JUCgWboO.js} +98 -98
  199. package/dist/{vennDiagram-LZ73GAT5-FqpGoq2s.js.map → vennDiagram-CIIHVFJN-JUCgWboO.js.map} +1 -1
  200. package/dist/visualization/mermaid-diagram/index.js +1 -1
  201. package/dist/wardley-L42UT6IY-DB53GwcN.js +3 -0
  202. package/dist/wardleyDiagram-YWT4CUSO-D9ZPcSHL.js +646 -0
  203. package/dist/wardleyDiagram-YWT4CUSO-D9ZPcSHL.js.map +1 -0
  204. package/dist/{xychartDiagram-JWTSCODW-BNEAK79X.js → xychartDiagram-2RQKCTM6-D3ufsY0S.js} +146 -143
  205. package/dist/{xychartDiagram-JWTSCODW-BNEAK79X.js.map → xychartDiagram-2RQKCTM6-D3ufsY0S.js.map} +1 -1
  206. package/package.json +1 -1
  207. package/src/components/brand/index.ts +63 -0
  208. package/src/components/brand/types.ts +9 -0
  209. package/src/react/brand/index.test.tsx +28 -0
  210. package/src/react/brand/index.tsx +38 -0
  211. package/src/react/sidebar.test.tsx +30 -0
  212. package/src/react/sidebar.tsx +52 -1
  213. package/src/sidebar/component.test.ts +109 -0
  214. package/src/sidebar/component.ts +136 -4
  215. package/src/sidebar/index.ts +1 -0
  216. package/src/sidebar/types.ts +40 -0
  217. package/src/styles/components/brand.css +30 -0
  218. package/src/styles/sidebar.css +495 -0
  219. package/dist/_basePickBy-BQMPE4-n.js +0 -168
  220. package/dist/_basePickBy-BQMPE4-n.js.map +0 -1
  221. package/dist/_baseUniq-Bdp_vFUv.js +0 -684
  222. package/dist/_baseUniq-Bdp_vFUv.js.map +0 -1
  223. package/dist/architecture-PBZL5I3N-Zk3GmKE8.js +0 -3
  224. package/dist/blockDiagram-WCTKOSBZ-BH3jwWeU.js.map +0 -1
  225. package/dist/c4Diagram-IC4MRINW-OFLrunYI.js.map +0 -1
  226. package/dist/channel-LRbq43st.js +0 -7
  227. package/dist/chunk-7E7YKBS2-BsywoVTt.js +0 -25
  228. package/dist/chunk-7E7YKBS2-BsywoVTt.js.map +0 -1
  229. package/dist/chunk-7R4GIKGN-DJmroLCH.js +0 -2054
  230. package/dist/chunk-7R4GIKGN-DJmroLCH.js.map +0 -1
  231. package/dist/chunk-C72U2L5F-BwPwVDcP.js +0 -25
  232. package/dist/chunk-C72U2L5F-BwPwVDcP.js.map +0 -1
  233. package/dist/chunk-EGIJ26TM-DKd5cEgn.js +0 -25
  234. package/dist/chunk-EGIJ26TM-DKd5cEgn.js.map +0 -1
  235. package/dist/chunk-GEFDOKGD-DGJJEGSm.js.map +0 -1
  236. package/dist/chunk-GLR3WWYH-BDwmgwCA.js +0 -43
  237. package/dist/chunk-GLR3WWYH-BDwmgwCA.js.map +0 -1
  238. package/dist/chunk-HHEYEP7N-DJ1b-gA8.js +0 -12
  239. package/dist/chunk-KYZI473N-BXYCe83A.js +0 -3437
  240. package/dist/chunk-KYZI473N-BXYCe83A.js.map +0 -1
  241. package/dist/chunk-L3YUKLVL-Y5k8UNMf.js +0 -25
  242. package/dist/chunk-L3YUKLVL-Y5k8UNMf.js.map +0 -1
  243. package/dist/chunk-MX3YWQON-D43mcq1f.js.map +0 -1
  244. package/dist/chunk-NBPlniwU.js +0 -23
  245. package/dist/chunk-NQ4KR5QH-C0nWShNk.js.map +0 -1
  246. package/dist/chunk-O4XLMI2P-DtGEm9QX.js +0 -514
  247. package/dist/chunk-O4XLMI2P-DtGEm9QX.js.map +0 -1
  248. package/dist/chunk-OZEHJAEY-BsQ56PV-.js.map +0 -1
  249. package/dist/chunk-R5LLSJPH-c1IfaK5D.js.map +0 -1
  250. package/dist/chunk-WL4C6EOR-BV-op7zg.js.map +0 -1
  251. package/dist/chunk-XIRO2GV7-Bv1hlNLi.js +0 -32
  252. package/dist/chunk-XIRO2GV7-Bv1hlNLi.js.map +0 -1
  253. package/dist/chunk-XZSTWKYB-C7maKWEr.js +0 -15799
  254. package/dist/chunk-XZSTWKYB-C7maKWEr.js.map +0 -1
  255. package/dist/classDiagram-VBA2DB6C-DZfC0xPM.js +0 -31
  256. package/dist/classDiagram-v2-RAHNMMFH-CtWRD1ax.js +0 -31
  257. package/dist/clone-CliVdNc8.js +0 -10
  258. package/dist/clone-CliVdNc8.js.map +0 -1
  259. package/dist/component-C1Jiz1Ki.js +0 -103
  260. package/dist/component-C1Jiz1Ki.js.map +0 -1
  261. package/dist/dagre-BqC9mhMk.js +0 -1485
  262. package/dist/dagre-BqC9mhMk.js.map +0 -1
  263. package/dist/dagre-KLK3FWXG-DTKcsol6.js +0 -296
  264. package/dist/dagre-KLK3FWXG-DTKcsol6.js.map +0 -1
  265. package/dist/diagram-E7M64L7V-Co7O3gub.js.map +0 -1
  266. package/dist/dist-BrNloUiz.js.map +0 -1
  267. package/dist/erDiagram-INFDFZHY-C42JeR9I.js.map +0 -1
  268. package/dist/flowDiagram-PKNHOUZH-DInJjOz3.js.map +0 -1
  269. package/dist/ganttDiagram-A5KZAMGK-Dgp-4Yss.js.map +0 -1
  270. package/dist/gitGraph-HDMCJU4V-D_QsK6Rt.js +0 -3
  271. package/dist/gitGraphDiagram-K3NZZRJ6-Dr_X0dND.js +0 -628
  272. package/dist/gitGraphDiagram-K3NZZRJ6-Dr_X0dND.js.map +0 -1
  273. package/dist/graphlib-ecencZTG.js +0 -227
  274. package/dist/graphlib-ecencZTG.js.map +0 -1
  275. package/dist/info-3K5VOQVL-BbLiZXwn.js +0 -3
  276. package/dist/isArrayLikeObject-Bjsxaqj7.js +0 -580
  277. package/dist/isArrayLikeObject-Bjsxaqj7.js.map +0 -1
  278. package/dist/isEmpty-CeZZUVts.js +0 -37
  279. package/dist/isEmpty-CeZZUVts.js.map +0 -1
  280. package/dist/ishikawaDiagram-PHBUUO56-qHBJm2LT.js.map +0 -1
  281. package/dist/journeyDiagram-4ABVD52K-PgfYdoDM.js.map +0 -1
  282. package/dist/line-Cq1AZT4f.js +0 -36
  283. package/dist/math-D4gdAuwG.js +0 -12
  284. package/dist/math-D4gdAuwG.js.map +0 -1
  285. package/dist/mermaid-parser.core-Dz5qv4CI.js.map +0 -1
  286. package/dist/mermaid.core-DTiIXVKa.js +0 -923
  287. package/dist/mermaid.core-DTiIXVKa.js.map +0 -1
  288. package/dist/mindmap-definition-YRQLILUH-D95OPRMh.js.map +0 -1
  289. package/dist/packet-RMMSAZCW-D72DRs1N.js +0 -3
  290. package/dist/pie-UPGHQEXC-C8RDLrEi.js +0 -3
  291. package/dist/pieDiagram-SKSYHLDU-BREEn_Sk.js +0 -167
  292. package/dist/pieDiagram-SKSYHLDU-BREEn_Sk.js.map +0 -1
  293. package/dist/quadrantDiagram-337W2JSQ-CcKc-h2o.js.map +0 -1
  294. package/dist/radar-KQ55EAFF-DhmvjiyN.js +0 -3
  295. package/dist/requirementDiagram-Z7DCOOCP-aPcaPduF.js.map +0 -1
  296. package/dist/sequenceDiagram-2WXFIKYE-D7Vh1Zld.js +0 -4112
  297. package/dist/sequenceDiagram-2WXFIKYE-D7Vh1Zld.js.map +0 -1
  298. package/dist/stateDiagram-RAJIS63D-DdiY5cf3.js +0 -220
  299. package/dist/stateDiagram-RAJIS63D-DdiY5cf3.js.map +0 -1
  300. package/dist/stateDiagram-v2-FVOUBMTO-CAWy0Pkh.js +0 -29
  301. package/dist/timeline-definition-YZTLITO2-CjxxCuOg.js.map +0 -1
  302. package/dist/treemap-KZPCXAKY-BvLvHb2t.js +0 -3
@@ -1,31 +1,31 @@
1
- import { t as e } from "./purify.es-Dsqc2y0I.js";
2
- import { w as t } from "./src-D1EMXotX.js";
3
- import { h as n, s as r } from "./chunk-GEFDOKGD-DGJJEGSm.js";
4
- import { n as i, r as a } from "./src-BhNgmpel.js";
5
- import { B as o, C as s, U as c, V as l, W as u, _ as d, a as f, b as p, s as m, tt as h, u as g, v as _ } from "./chunk-7R4GIKGN-DJmroLCH.js";
6
- import { t as v } from "./channel-LRbq43st.js";
7
- import "./chunk-PU5JKC2W-DNpn_Yik.js";
8
- import { t as ee } from "./chunk-FMBD7UC4-1IxrpdPX.js";
9
- import "./chunk-MX3YWQON-D43mcq1f.js";
10
- import "./chunk-YBOYWFTD-DkjEOcgZ.js";
11
- import { t as te } from "./chunk-JSJVCQXG-Do17yYig.js";
12
- import { t as ne } from "./chunk-55IACEB6-DZ-UBhHX.js";
13
- import { t as y } from "./chunk-KX2RTZJC-d9jFqUAY.js";
14
- import "./chunk-PQ6SQG4A-Cpfc5F4u.js";
15
- import { o as b } from "./chunk-KYZI473N-BXYCe83A.js";
16
- import "./chunk-O4XLMI2P-DtGEm9QX.js";
17
- import { r as x, t as S } from "./chunk-GLR3WWYH-BDwmgwCA.js";
18
- import { n as C, t as w } from "./chunk-XPW4576I-BqiPnb3d.js";
19
- //#region node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-PKNHOUZH.mjs
20
- var T = "flowchart-", E = class {
1
+ import { w as e } from "./src-CWnvxuyh.js";
2
+ import { t } from "./purify.es-Dsqc2y0I.js";
3
+ import { n, r } from "./src-DngnQkx_.js";
4
+ import { G as i, H as a, K as o, U as s, a as c, d as l, rt as u, s as d, v as f, w as ee, x as p, y as m } from "./chunk-CSCIHK7Q-DyRIc27i.js";
5
+ import { t as h } from "./channel-MTYqUJFm.js";
6
+ import { c as g, g as _ } from "./chunk-5ZQYHXKU-CjOcwRY6.js";
7
+ import "./chunk-O5CBEL6O-DThtyjPO.js";
8
+ import { t as te } from "./chunk-FMBD7UC4-IdpWVRCU.js";
9
+ import "./chunk-BSJP7CBP-Bl94i3-1.js";
10
+ import "./chunk-L5ZTLDWV-Day0EgsR.js";
11
+ import { t as ne } from "./chunk-ND2GUHAM-Boh7GenS.js";
12
+ import { t as re } from "./chunk-55IACEB6-CuKbiO89.js";
13
+ import { t as v } from "./chunk-2J33WTMH-BKsVIUnb.js";
14
+ import "./chunk-NZK2D7GU-D4Ird7wv.js";
15
+ import { o as y } from "./chunk-3OPIFGDE-CcNRL44h.js";
16
+ import "./chunk-KSCS5N6A-CVcDS9QV.js";
17
+ import { r as b, t as x } from "./chunk-LZXEDZCA-BO_GpQSR.js";
18
+ import { n as S, t as C } from "./chunk-XPW4576I-BwxN5U1_.js";
19
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-I6XJVG4X.mjs
20
+ var w = "flowchart-", T = class {
21
21
  constructor() {
22
- this.vertexCounter = 0, this.config = p(), 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 = l, this.setAccDescription = o, this.setDiagramTitle = u, this.getAccTitle = _, this.getAccDescription = d, this.getDiagramTitle = s, 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");
22
+ 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 = s, this.setAccDescription = a, this.setDiagramTitle = o, 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");
23
23
  }
24
24
  static {
25
- i(this, "FlowDB");
25
+ n(this, "FlowDB");
26
26
  }
27
27
  sanitizeText(e) {
28
- return m.sanitizeText(e, this.config);
28
+ return d.sanitizeText(e, this.config);
29
29
  }
30
30
  sanitizeNodeLabelType(e) {
31
31
  switch (e) {
@@ -35,45 +35,48 @@ var T = "flowchart-", E = class {
35
35
  default: return "markdown";
36
36
  }
37
37
  }
38
+ setDiagramId(e) {
39
+ this.diagramId = e;
40
+ }
38
41
  lookUpDomId(e) {
39
- for (let t of this.vertices.values()) if (t.id === e) return t.domId;
40
- return e;
42
+ for (let t of this.vertices.values()) if (t.id === e) return this.diagramId ? `${this.diagramId}-${t.domId}` : t.domId;
43
+ return this.diagramId ? `${this.diagramId}-${e}` : e;
41
44
  }
42
- addVertex(e, t, n, r, i, a, o = {}, s) {
45
+ addVertex(e, t, n, i, a, o, s = {}, c) {
43
46
  if (!e || e.trim().length === 0) return;
44
- let c;
45
- if (s !== void 0) {
47
+ let l;
48
+ if (c !== void 0) {
46
49
  let e;
47
- e = s.includes("\n") ? s + "\n" : "{\n" + s + "\n}", c = C(e, { schema: w });
50
+ e = c.includes("\n") ? c + "\n" : "{\n" + c + "\n}", l = S(e, { schema: C });
48
51
  }
49
- let l = this.edges.find((t) => t.id === e);
50
- if (l) {
51
- let e = c;
52
- e?.animate !== void 0 && (l.animate = e.animate), e?.animation !== void 0 && (l.animation = e.animation), e?.curve !== void 0 && (l.interpolate = e.curve);
52
+ let u = this.edges.find((t) => t.id === e);
53
+ if (u) {
54
+ let e = l;
55
+ e?.animate !== void 0 && (u.animate = e.animate), e?.animation !== void 0 && (u.animation = e.animation), e?.curve !== void 0 && (u.interpolate = e.curve);
53
56
  return;
54
57
  }
55
- let u, d = this.vertices.get(e);
56
- if (d === void 0 && (d = {
58
+ let d, f = this.vertices.get(e);
59
+ if (f === void 0 && (t === void 0 && n === void 0 && i != null && r.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`), f = {
57
60
  id: e,
58
61
  labelType: "text",
59
- domId: T + e + "-" + this.vertexCounter,
62
+ domId: w + e + "-" + this.vertexCounter,
60
63
  styles: [],
61
64
  classes: []
62
- }, this.vertices.set(e, d)), this.vertexCounter++, t === void 0 ? d.text === void 0 && (d.text = e) : (this.config = p(), u = this.sanitizeText(t.text.trim()), d.labelType = t.type, u.startsWith("\"") && u.endsWith("\"") && (u = u.substring(1, u.length - 1)), d.text = u), n !== void 0 && (d.type = n), r?.forEach((e) => {
63
- d.styles.push(e);
64
- }), i?.forEach((e) => {
65
- d.classes.push(e);
66
- }), a !== void 0 && (d.dir = a), d.props === void 0 ? d.props = o : o !== void 0 && Object.assign(d.props, o), c !== void 0) {
67
- if (c.shape) {
68
- if (c.shape !== c.shape.toLowerCase() || c.shape.includes("_")) throw Error(`No such shape: ${c.shape}. Shape names should be lowercase.`);
69
- if (!b(c.shape)) throw Error(`No such shape: ${c.shape}.`);
70
- d.type = c?.shape;
65
+ }, this.vertices.set(e, f)), this.vertexCounter++, t === void 0 ? f.text === void 0 && (f.text = e) : (this.config = p(), 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), i?.forEach((e) => {
66
+ f.styles.push(e);
67
+ }), a?.forEach((e) => {
68
+ f.classes.push(e);
69
+ }), o !== void 0 && (f.dir = o), f.props === void 0 ? f.props = s : s !== void 0 && Object.assign(f.props, s), l !== void 0) {
70
+ if (l.shape) {
71
+ if (l.shape !== l.shape.toLowerCase() || l.shape.includes("_")) throw Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);
72
+ if (!y(l.shape)) throw Error(`No such shape: ${l.shape}.`);
73
+ f.type = l?.shape;
71
74
  }
72
- c?.label && (d.text = c?.label, d.labelType = this.sanitizeNodeLabelType(c?.labelType)), c?.icon && (d.icon = c?.icon, !c.label?.trim() && d.text === e && (d.text = "")), c?.form && (d.form = c?.form), c?.pos && (d.pos = c?.pos), c?.img && (d.img = c?.img, !c.label?.trim() && d.text === e && (d.text = "")), c?.constraint && (d.constraint = c.constraint), c.w && (d.assetWidth = Number(c.w)), c.h && (d.assetHeight = Number(c.h));
75
+ 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
76
  }
74
77
  }
75
78
  addSingleLink(e, t, n, i) {
76
- let o = {
79
+ let a = {
77
80
  start: e,
78
81
  end: t,
79
82
  type: void 0,
@@ -83,20 +86,20 @@ var T = "flowchart-", E = class {
83
86
  isUserDefinedId: !1,
84
87
  interpolate: this.edges.defaultInterpolate
85
88
  };
86
- a.info("abc78 Got edge...", o);
87
- let s = n.text;
88
- if (s !== void 0 && (o.text = this.sanitizeText(s.text.trim()), o.text.startsWith("\"") && o.text.endsWith("\"") && (o.text = o.text.substring(1, o.text.length - 1)), o.labelType = this.sanitizeNodeLabelType(s.type)), n !== void 0 && (o.type = n.type, o.stroke = n.stroke, o.length = n.length > 10 ? 10 : n.length), i && !this.edges.some((e) => e.id === i)) o.id = i, o.isUserDefinedId = !0;
89
+ r.info("abc78 Got edge...", a);
90
+ let o = n.text;
91
+ 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)), n !== void 0 && (a.type = n.type, a.stroke = n.stroke, a.length = n.length > 10 ? 10 : n.length), i && !this.edges.some((e) => e.id === i)) a.id = i, a.isUserDefinedId = !0;
89
92
  else {
90
- let e = this.edges.filter((e) => e.start === o.start && e.end === o.end);
91
- e.length === 0 ? o.id = r(o.start, o.end, {
93
+ let e = this.edges.filter((e) => e.start === a.start && e.end === a.end);
94
+ e.length === 0 ? a.id = g(a.start, a.end, {
92
95
  counter: 0,
93
96
  prefix: "L"
94
- }) : o.id = r(o.start, o.end, {
97
+ }) : a.id = g(a.start, a.end, {
95
98
  counter: e.length + 1,
96
99
  prefix: "L"
97
100
  });
98
101
  }
99
- if (this.edges.length < (this.config.maxEdges ?? 500)) a.info("Pushing edge..."), this.edges.push(o);
102
+ if (this.edges.length < (this.config.maxEdges ?? 500)) r.info("Pushing edge..."), this.edges.push(a);
100
103
  else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
101
104
 
102
105
  Initialize mermaid with maxEdges set to a higher number to allow more edges.
@@ -107,11 +110,11 @@ You have to call mermaid.initialize.`);
107
110
  return typeof e == "object" && !!e && "id" in e && typeof e.id == "string";
108
111
  }
109
112
  addLink(e, t, n) {
110
- let r = this.isLinkData(n) ? n.id.replace("@", "") : void 0;
111
- a.info("addLink", e, t, r);
112
- for (let i of e) for (let a of t) {
113
- let o = i === e[e.length - 1], s = a === t[0];
114
- o && s ? this.addSingleLink(i, a, n, r) : this.addSingleLink(i, a, n, void 0);
113
+ let i = this.isLinkData(n) ? n.id.replace("@", "") : void 0;
114
+ r.info("addLink", e, t, i);
115
+ for (let r of e) for (let a of t) {
116
+ let o = r === e[e.length - 1], s = a === t[0];
117
+ o && s ? this.addSingleLink(r, a, n, i) : this.addSingleLink(r, a, n, void 0);
115
118
  }
116
119
  }
117
120
  updateLinkInterpolate(e, t) {
@@ -161,30 +164,29 @@ You have to call mermaid.initialize.`);
161
164
  for (let n of e.split(",")) this.tooltips.set(this.version === "gen-1" ? this.lookUpDomId(n) : n, t);
162
165
  }
163
166
  }
164
- setClickFun(e, t, r) {
165
- let i = this.lookUpDomId(e);
167
+ setClickFun(e, t, n) {
166
168
  if (p().securityLevel !== "loose" || t === void 0) return;
167
- let a = [];
168
- if (typeof r == "string") {
169
- a = r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
170
- for (let e = 0; e < a.length; e++) {
171
- let t = a[e].trim();
172
- t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), a[e] = t;
169
+ let r = [];
170
+ if (typeof n == "string") {
171
+ r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
172
+ for (let e = 0; e < r.length; e++) {
173
+ let t = r[e].trim();
174
+ t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), r[e] = t;
173
175
  }
174
176
  }
175
- a.length === 0 && a.push(e);
176
- let o = this.vertices.get(e);
177
- o && (o.haveCallback = !0, this.funs.push(() => {
178
- let e = document.querySelector(`[id="${i}"]`);
179
- e !== null && e.addEventListener("click", () => {
180
- n.runFunc(t, ...a);
177
+ r.length === 0 && r.push(e);
178
+ let i = this.vertices.get(e);
179
+ i && (i.haveCallback = !0, this.funs.push(() => {
180
+ let n = this.lookUpDomId(e), i = document.querySelector(`[id="${n}"]`);
181
+ i !== null && i.addEventListener("click", () => {
182
+ _.runFunc(t, ...r);
181
183
  }, !1);
182
184
  }));
183
185
  }
184
- setLink(e, t, r) {
186
+ setLink(e, t, n) {
185
187
  e.split(",").forEach((e) => {
186
- let i = this.vertices.get(e);
187
- i !== void 0 && (i.link = n.formatUrl(t, this.config), i.linkTarget = r);
188
+ let r = this.vertices.get(e);
189
+ r !== void 0 && (r.link = _.formatUrl(t, this.config), r.linkTarget = n);
188
190
  }), this.setClass(e, "clickable");
189
191
  }
190
192
  getTooltip(e) {
@@ -213,18 +215,18 @@ You have to call mermaid.initialize.`);
213
215
  return this.classes;
214
216
  }
215
217
  setupToolTips(n) {
216
- let r = te();
217
- t(n).select("svg").selectAll("g.node").on("mouseover", (n) => {
218
- let i = t(n.currentTarget), a = i.attr("title");
218
+ let r = ne();
219
+ e(n).select("svg").selectAll("g.node").on("mouseover", (n) => {
220
+ let i = e(n.currentTarget), a = i.attr("title");
219
221
  if (a === null) return;
220
222
  let o = n.currentTarget?.getBoundingClientRect();
221
- r.transition().duration(200).style("opacity", ".9"), r.text(i.attr("title")).style("left", window.scrollX + o.left + (o.right - o.left) / 2 + "px").style("top", window.scrollY + o.bottom + "px"), r.html(e.sanitize(a)), i.classed("hover", !0);
222
- }).on("mouseout", (e) => {
223
- r.transition().duration(500).style("opacity", 0), t(e.currentTarget).classed("hover", !1);
223
+ r.transition().duration(200).style("opacity", ".9"), r.text(i.attr("title")).style("left", window.scrollX + o.left + (o.right - o.left) / 2 + "px").style("top", window.scrollY + o.bottom + "px"), r.html(t.sanitize(a)), i.classed("hover", !0);
224
+ }).on("mouseout", (t) => {
225
+ r.transition().duration(500).style("opacity", 0), e(t.currentTarget).classed("hover", !1);
224
226
  });
225
227
  }
226
228
  clear(e = "gen-2") {
227
- this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = p(), f();
229
+ 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(), c();
228
230
  }
229
231
  setGen(e) {
230
232
  this.version = e || "gen-2";
@@ -232,10 +234,10 @@ You have to call mermaid.initialize.`);
232
234
  defaultStyle() {
233
235
  return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
234
236
  }
235
- addSubGraph(e, t, n) {
236
- let r = e.text.trim(), o = n.text;
237
- e === n && /\s/.exec(n.text) && (r = void 0);
238
- let s = (/* @__PURE__ */ i((e) => {
237
+ addSubGraph(e, t, i) {
238
+ let a = e.text.trim(), o = i.text;
239
+ e === i && /\s/.exec(i.text) && (a = void 0);
240
+ let s = (/* @__PURE__ */ n((e) => {
239
241
  let t = {
240
242
  boolean: {},
241
243
  number: {},
@@ -250,16 +252,16 @@ You have to call mermaid.initialize.`);
250
252
  };
251
253
  }, "uniq"))(t.flat()), c = s.nodeList, l = s.dir, u = p().flowchart ?? {};
252
254
  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
- r ??= "subGraph" + this.subCount, o ||= "", o = this.sanitizeText(o), this.subCount += 1;
255
+ a ??= "subGraph" + this.subCount, o ||= "", o = this.sanitizeText(o), this.subCount += 1;
254
256
  let d = {
255
- id: r,
257
+ id: a,
256
258
  nodes: c,
257
259
  title: o.trim(),
258
260
  classes: [],
259
261
  dir: l,
260
- labelType: this.sanitizeNodeLabelType(n?.type)
262
+ labelType: this.sanitizeNodeLabelType(i?.type)
261
263
  };
262
- return a.info("Adding", d.id, d.nodes, d.dir), d.nodes = this.makeUniq(d, this.subGraphs).nodes, this.subGraphs.push(d), this.subGraphLookup.set(r, d), r;
264
+ return r.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
265
  }
264
266
  getPosForId(e) {
265
267
  for (let [t, n] of this.subGraphs.entries()) if (n.id === e) return t;
@@ -464,39 +466,39 @@ You have to call mermaid.initialize.`);
464
466
  return t;
465
467
  }
466
468
  getData() {
467
- let e = p(), t = [], n = [], i = this.getSubGraphs(), a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
468
- for (let e = i.length - 1; e >= 0; e--) {
469
- let t = i[e];
470
- t.nodes.length > 0 && o.set(t.id, !0);
471
- for (let e of t.nodes) a.set(e, t.id);
469
+ let e = p(), t = [], n = [], r = this.getSubGraphs(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
470
+ for (let e = r.length - 1; e >= 0; e--) {
471
+ let t = r[e];
472
+ t.nodes.length > 0 && a.set(t.id, !0);
473
+ for (let e of t.nodes) i.set(e, t.id);
472
474
  }
473
- for (let n = i.length - 1; n >= 0; n--) {
474
- let r = i[n];
475
+ for (let n = r.length - 1; n >= 0; n--) {
476
+ let a = r[n];
475
477
  t.push({
476
- id: r.id,
477
- label: r.title,
478
+ id: a.id,
479
+ label: a.title,
478
480
  labelStyle: "",
479
- labelType: r.labelType,
480
- parentId: a.get(r.id),
481
+ labelType: a.labelType,
482
+ parentId: i.get(a.id),
481
483
  padding: 8,
482
- cssCompiledStyles: this.getCompiledStyles(r.classes),
483
- cssClasses: r.classes.join(" "),
484
+ cssCompiledStyles: this.getCompiledStyles(a.classes),
485
+ cssClasses: a.classes.join(" "),
484
486
  shape: "rect",
485
- dir: r.dir,
487
+ dir: a.dir,
486
488
  isGroup: !0,
487
489
  look: e.look
488
490
  });
489
491
  }
490
492
  this.getVertices().forEach((n) => {
491
- this.addNodeFromVertex(n, t, a, o, e, e.look || "classic");
493
+ this.addNodeFromVertex(n, t, i, a, e, e.look || "classic");
492
494
  });
493
- let s = this.getEdges();
494
- return s.forEach((t, i) => {
495
- let { arrowTypeStart: a, arrowTypeEnd: o } = this.destructEdgeType(t.type), c = [...s.defaultStyle ?? []];
496
- t.style && c.push(...t.style);
497
- let l = {
498
- id: r(t.start, t.end, {
499
- counter: i,
495
+ let o = this.getEdges();
496
+ return o.forEach((t, r) => {
497
+ let { arrowTypeStart: i, arrowTypeEnd: a } = this.destructEdgeType(t.type), s = [...o.defaultStyle ?? []];
498
+ t.style && s.push(...t.style);
499
+ let c = {
500
+ id: g(t.start, t.end, {
501
+ counter: r,
500
502
  prefix: "L"
501
503
  }, t.id),
502
504
  isUserDefinedId: t.isUserDefinedId,
@@ -509,19 +511,19 @@ You have to call mermaid.initialize.`);
509
511
  thickness: t.stroke,
510
512
  minlen: t.length,
511
513
  classes: t?.stroke === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
512
- arrowTypeStart: t?.stroke === "invisible" || t?.type === "arrow_open" ? "none" : a,
513
- arrowTypeEnd: t?.stroke === "invisible" || t?.type === "arrow_open" ? "none" : o,
514
+ arrowTypeStart: t?.stroke === "invisible" || t?.type === "arrow_open" ? "none" : i,
515
+ arrowTypeEnd: t?.stroke === "invisible" || t?.type === "arrow_open" ? "none" : a,
514
516
  arrowheadStyle: "fill: #333",
515
517
  cssCompiledStyles: this.getCompiledStyles(t.classes),
516
- labelStyle: c,
517
- style: c,
518
+ labelStyle: s,
519
+ style: s,
518
520
  pattern: t.stroke,
519
521
  look: e.look,
520
522
  animate: t.animate,
521
523
  animation: t.animation,
522
524
  curve: t.interpolate || this.edges.defaultInterpolate || e.flowchart?.curve
523
525
  };
524
- n.push(l);
526
+ n.push(c);
525
527
  }), {
526
528
  nodes: t,
527
529
  edges: n,
@@ -530,50 +532,32 @@ You have to call mermaid.initialize.`);
530
532
  };
531
533
  }
532
534
  defaultConfig() {
533
- return g.flowchart;
535
+ return l.flowchart;
534
536
  }
535
- }, D = {
536
- getClasses: /* @__PURE__ */ i(function(e, t) {
537
+ }, E = {
538
+ getClasses: /* @__PURE__ */ n(function(e, t) {
537
539
  return t.db.getClasses();
538
540
  }, "getClasses"),
539
- draw: /* @__PURE__ */ i(async function(e, r, i, o) {
540
- a.info("REF0:"), a.info("Drawing state diagram (v2)", r);
541
- let { securityLevel: s, flowchart: c, layout: l } = p(), u;
542
- s === "sandbox" && (u = t("#i" + r));
543
- let d = s === "sandbox" ? u.nodes()[0].contentDocument : document;
544
- a.debug("Before getData: ");
545
- let f = o.db.getData();
546
- a.debug("Data: ", f);
547
- let m = ne(r, s), h = o.db.getDirection();
548
- f.type = o.type, f.layoutAlgorithm = S(l), f.layoutAlgorithm === "dagre" && l === "elk" && a.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."), f.direction = h, f.nodeSpacing = c?.nodeSpacing || 50, f.rankSpacing = c?.rankSpacing || 50, f.markers = [
541
+ draw: /* @__PURE__ */ n(async function(e, t, n, i) {
542
+ r.info("REF0:"), r.info("Drawing state diagram (v2)", t);
543
+ let { securityLevel: a, flowchart: o, layout: s } = p();
544
+ i.db.setDiagramId(t), r.debug("Before getData: ");
545
+ let c = i.db.getData();
546
+ r.debug("Data: ", c);
547
+ let l = re(t, a), u = i.db.getDirection();
548
+ c.type = i.type, c.layoutAlgorithm = x(s), c.layoutAlgorithm === "dagre" && s === "elk" && r.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 = [
549
549
  "point",
550
550
  "circle",
551
551
  "cross"
552
- ], f.diagramId = r, a.debug("REF1:", f), await x(f, m);
553
- let g = f.config.flowchart?.diagramPadding ?? 8;
554
- n.insertTitle(m, "flowchartTitleText", c?.titleTopMargin || 0, o.db.getDiagramTitle()), y(m, g, "flowchart", c?.useMaxWidth || !1);
555
- for (let e of f.nodes) {
556
- let n = t(`#${r} [id="${e.id}"]`);
557
- if (!n || !e.link) continue;
558
- let i = d.createElementNS("http://www.w3.org/2000/svg", "a");
559
- i.setAttributeNS("http://www.w3.org/2000/svg", "class", e.cssClasses), i.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener"), s === "sandbox" ? i.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top") : e.linkTarget && i.setAttributeNS("http://www.w3.org/2000/svg", "target", e.linkTarget);
560
- let a = n.insert(function() {
561
- return i;
562
- }, ":first-child"), o = n.select(".label-container");
563
- o && a.append(function() {
564
- return o.node();
565
- });
566
- let c = n.select(".label");
567
- c && a.append(function() {
568
- return c.node();
569
- });
570
- }
552
+ ], c.diagramId = t, r.debug("REF1:", c), await b(c, l);
553
+ let d = c.config.flowchart?.diagramPadding ?? 8;
554
+ _.insertTitle(l, "flowchartTitleText", o?.titleTopMargin || 0, i.db.getDiagramTitle()), v(l, d, "flowchart", o?.useMaxWidth || !1);
571
555
  }, "draw")
572
- }, O = (function() {
573
- var e = /* @__PURE__ */ i(function(e, t, n, r) {
556
+ }, D = (function() {
557
+ var e = /* @__PURE__ */ n(function(e, t, n, r) {
574
558
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
575
559
  return n;
576
- }, "o"), t = [1, 4], n = [1, 3], r = [1, 5], a = [
560
+ }, "o"), t = [1, 4], r = [1, 3], i = [1, 5], a = [
577
561
  1,
578
562
  8,
579
563
  9,
@@ -604,7 +588,7 @@ You have to call mermaid.initialize.`);
604
588
  123,
605
589
  124,
606
590
  125
607
- ], o = [2, 2], s = [1, 13], c = [1, 14], l = [1, 15], u = [1, 16], d = [1, 23], f = [1, 25], p = [1, 26], m = [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 = [
591
+ ], 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 = [
608
592
  1,
609
593
  8,
610
594
  9,
@@ -855,7 +839,7 @@ You have to call mermaid.initialize.`);
855
839
  111,
856
840
  112
857
841
  ], rt = {
858
- trace: /* @__PURE__ */ i(function() {}, "trace"),
842
+ trace: /* @__PURE__ */ n(function() {}, "trace"),
859
843
  yy: {},
860
844
  symbols_: {
861
845
  error: 2,
@@ -1263,7 +1247,7 @@ You have to call mermaid.initialize.`);
1263
1247
  [33, 1],
1264
1248
  [33, 1]
1265
1249
  ],
1266
- performAction: /* @__PURE__ */ i(function(e, t, n, r, i, a, o) {
1250
+ performAction: /* @__PURE__ */ n(function(e, t, n, r, i, a, o) {
1267
1251
  var s = a.length - 1;
1268
1252
  switch (i) {
1269
1253
  case 2:
@@ -1655,22 +1639,22 @@ You have to call mermaid.initialize.`);
1655
1639
  3: 1,
1656
1640
  4: 2,
1657
1641
  9: t,
1658
- 10: n,
1659
- 12: r
1642
+ 10: r,
1643
+ 12: i
1660
1644
  },
1661
1645
  { 1: [3] },
1662
1646
  e(a, o, { 5: 6 }),
1663
1647
  {
1664
1648
  4: 7,
1665
1649
  9: t,
1666
- 10: n,
1667
- 12: r
1650
+ 10: r,
1651
+ 12: i
1668
1652
  },
1669
1653
  {
1670
1654
  4: 8,
1671
1655
  9: t,
1672
- 10: n,
1673
- 12: r
1656
+ 10: r,
1657
+ 12: i
1674
1658
  },
1675
1659
  {
1676
1660
  13: [1, 9],
@@ -1693,31 +1677,31 @@ You have to call mermaid.initialize.`);
1693
1677
  27: d,
1694
1678
  33: 24,
1695
1679
  34: f,
1696
- 36: p,
1697
- 38: m,
1680
+ 36: ee,
1681
+ 38: p,
1698
1682
  42: 28,
1699
1683
  43: 39,
1700
- 44: h,
1684
+ 44: m,
1701
1685
  45: 40,
1702
1686
  47: 41,
1703
- 60: g,
1704
- 84: _,
1705
- 85: v,
1706
- 86: ee,
1707
- 87: te,
1708
- 88: ne,
1709
- 89: y,
1710
- 102: b,
1711
- 105: x,
1712
- 106: S,
1713
- 109: C,
1714
- 111: w,
1687
+ 60: h,
1688
+ 84: g,
1689
+ 85: _,
1690
+ 86: te,
1691
+ 87: ne,
1692
+ 88: re,
1693
+ 89: v,
1694
+ 102: y,
1695
+ 105: b,
1696
+ 106: x,
1697
+ 109: S,
1698
+ 111: C,
1715
1699
  113: 42,
1716
- 114: T,
1717
- 115: E,
1718
- 116: D,
1719
- 121: O,
1720
- 122: re,
1700
+ 114: w,
1701
+ 115: T,
1702
+ 116: E,
1703
+ 121: D,
1704
+ 122: O,
1721
1705
  123: ie,
1722
1706
  124: ae,
1723
1707
  125: oe
@@ -1828,28 +1812,28 @@ You have to call mermaid.initialize.`);
1828
1812
  e(P, [2, 72], {
1829
1813
  113: 113,
1830
1814
  29: [1, 101],
1831
- 44: h,
1815
+ 44: m,
1832
1816
  48: [1, 102],
1833
1817
  50: [1, 103],
1834
1818
  52: [1, 104],
1835
1819
  54: [1, 105],
1836
1820
  56: [1, 106],
1837
1821
  58: [1, 107],
1838
- 60: g,
1822
+ 60: h,
1839
1823
  63: [1, 108],
1840
1824
  65: [1, 109],
1841
1825
  67: [1, 110],
1842
1826
  68: [1, 111],
1843
1827
  70: [1, 112],
1844
- 89: y,
1845
- 102: b,
1846
- 105: x,
1847
- 106: S,
1848
- 109: C,
1849
- 111: w,
1850
- 114: T,
1851
- 115: E,
1852
- 116: D
1828
+ 89: v,
1829
+ 102: y,
1830
+ 105: b,
1831
+ 106: x,
1832
+ 109: S,
1833
+ 111: C,
1834
+ 114: w,
1835
+ 115: T,
1836
+ 116: E
1853
1837
  }),
1854
1838
  e(F, [2, 181]),
1855
1839
  e(F, [2, 142]),
@@ -1875,20 +1859,20 @@ You have to call mermaid.initialize.`);
1875
1859
  {
1876
1860
  42: 116,
1877
1861
  43: 39,
1878
- 44: h,
1862
+ 44: m,
1879
1863
  45: 40,
1880
1864
  47: 41,
1881
- 60: g,
1882
- 89: y,
1883
- 102: b,
1884
- 105: x,
1885
- 106: S,
1886
- 109: C,
1887
- 111: w,
1865
+ 60: h,
1866
+ 89: v,
1867
+ 102: y,
1868
+ 105: b,
1869
+ 106: x,
1870
+ 109: S,
1871
+ 111: C,
1888
1872
  113: 42,
1889
- 114: T,
1890
- 115: E,
1891
- 116: D
1873
+ 114: w,
1874
+ 115: T,
1875
+ 116: E
1892
1876
  },
1893
1877
  e(A, [2, 40]),
1894
1878
  e(A, [2, 41]),
@@ -1955,19 +1939,19 @@ You have to call mermaid.initialize.`);
1955
1939
  }),
1956
1940
  e(be, [2, 44]),
1957
1941
  {
1958
- 44: h,
1942
+ 44: m,
1959
1943
  47: 158,
1960
- 60: g,
1961
- 89: y,
1962
- 102: b,
1963
- 105: x,
1964
- 106: S,
1965
- 109: C,
1966
- 111: w,
1944
+ 60: h,
1945
+ 89: v,
1946
+ 102: y,
1947
+ 105: b,
1948
+ 106: x,
1949
+ 109: S,
1950
+ 111: C,
1967
1951
  113: 42,
1968
- 114: T,
1969
- 115: E,
1970
- 116: D
1952
+ 114: w,
1953
+ 115: T,
1954
+ 116: E
1971
1955
  },
1972
1956
  {
1973
1957
  102: [1, 159],
@@ -1975,34 +1959,34 @@ You have to call mermaid.initialize.`);
1975
1959
  105: [1, 161]
1976
1960
  },
1977
1961
  {
1978
- 44: h,
1962
+ 44: m,
1979
1963
  47: 162,
1980
- 60: g,
1981
- 89: y,
1982
- 102: b,
1983
- 105: x,
1984
- 106: S,
1985
- 109: C,
1986
- 111: w,
1964
+ 60: h,
1965
+ 89: v,
1966
+ 102: y,
1967
+ 105: b,
1968
+ 106: x,
1969
+ 109: S,
1970
+ 111: C,
1987
1971
  113: 42,
1988
- 114: T,
1989
- 115: E,
1990
- 116: D
1972
+ 114: w,
1973
+ 115: T,
1974
+ 116: E
1991
1975
  },
1992
1976
  {
1993
- 44: h,
1977
+ 44: m,
1994
1978
  47: 163,
1995
- 60: g,
1996
- 89: y,
1997
- 102: b,
1998
- 105: x,
1999
- 106: S,
2000
- 109: C,
2001
- 111: w,
1979
+ 60: h,
1980
+ 89: v,
1981
+ 102: y,
1982
+ 105: b,
1983
+ 106: x,
1984
+ 109: S,
1985
+ 111: C,
2002
1986
  113: 42,
2003
- 114: T,
2004
- 115: E,
2005
- 116: D
1987
+ 114: w,
1988
+ 115: T,
1989
+ 116: E
2006
1990
  },
2007
1991
  e(I, [2, 107], {
2008
1992
  10: [1, 164],
@@ -2038,19 +2022,19 @@ You have to call mermaid.initialize.`);
2038
2022
  e(L, [2, 179]),
2039
2023
  e(L, [2, 180]),
2040
2024
  {
2041
- 44: h,
2025
+ 44: m,
2042
2026
  47: 170,
2043
- 60: g,
2044
- 89: y,
2045
- 102: b,
2046
- 105: x,
2047
- 106: S,
2048
- 109: C,
2049
- 111: w,
2027
+ 60: h,
2028
+ 89: v,
2029
+ 102: y,
2030
+ 105: b,
2031
+ 106: x,
2032
+ 109: S,
2033
+ 111: C,
2050
2034
  113: 42,
2051
- 114: T,
2052
- 115: E,
2053
- 116: D
2035
+ 114: w,
2036
+ 115: T,
2037
+ 116: E
2054
2038
  },
2055
2039
  {
2056
2040
  30: 171,
@@ -2278,31 +2262,31 @@ You have to call mermaid.initialize.`);
2278
2262
  32: [1, 203],
2279
2263
  33: 24,
2280
2264
  34: f,
2281
- 36: p,
2282
- 38: m,
2265
+ 36: ee,
2266
+ 38: p,
2283
2267
  42: 28,
2284
2268
  43: 39,
2285
- 44: h,
2269
+ 44: m,
2286
2270
  45: 40,
2287
2271
  47: 41,
2288
- 60: g,
2289
- 84: _,
2290
- 85: v,
2291
- 86: ee,
2292
- 87: te,
2293
- 88: ne,
2294
- 89: y,
2295
- 102: b,
2296
- 105: x,
2297
- 106: S,
2298
- 109: C,
2299
- 111: w,
2272
+ 60: h,
2273
+ 84: g,
2274
+ 85: _,
2275
+ 86: te,
2276
+ 87: ne,
2277
+ 88: re,
2278
+ 89: v,
2279
+ 102: y,
2280
+ 105: b,
2281
+ 106: x,
2282
+ 109: S,
2283
+ 111: C,
2300
2284
  113: 42,
2301
- 114: T,
2302
- 115: E,
2303
- 116: D,
2304
- 121: O,
2305
- 122: re,
2285
+ 114: w,
2286
+ 115: T,
2287
+ 116: E,
2288
+ 121: D,
2289
+ 122: O,
2306
2290
  123: ie,
2307
2291
  124: ae,
2308
2292
  125: oe
@@ -2315,18 +2299,18 @@ You have to call mermaid.initialize.`);
2315
2299
  e(be, [2, 43]),
2316
2300
  {
2317
2301
  10: [1, 206],
2318
- 44: h,
2319
- 60: g,
2320
- 89: y,
2321
- 102: b,
2322
- 105: x,
2323
- 106: S,
2324
- 109: C,
2325
- 111: w,
2302
+ 44: m,
2303
+ 60: h,
2304
+ 89: v,
2305
+ 102: y,
2306
+ 105: b,
2307
+ 106: x,
2308
+ 109: S,
2309
+ 111: C,
2326
2310
  113: 113,
2327
- 114: T,
2328
- 115: E,
2329
- 116: D
2311
+ 114: w,
2312
+ 115: T,
2313
+ 116: E
2330
2314
  },
2331
2315
  { 10: [1, 207] },
2332
2316
  {
@@ -2336,33 +2320,33 @@ You have to call mermaid.initialize.`);
2336
2320
  e($e, [2, 128]),
2337
2321
  {
2338
2322
  10: [1, 210],
2339
- 44: h,
2340
- 60: g,
2341
- 89: y,
2342
- 102: b,
2343
- 105: x,
2344
- 106: S,
2345
- 109: C,
2346
- 111: w,
2323
+ 44: m,
2324
+ 60: h,
2325
+ 89: v,
2326
+ 102: y,
2327
+ 105: b,
2328
+ 106: x,
2329
+ 109: S,
2330
+ 111: C,
2347
2331
  113: 113,
2348
- 114: T,
2349
- 115: E,
2350
- 116: D
2332
+ 114: w,
2333
+ 115: T,
2334
+ 116: E
2351
2335
  },
2352
2336
  {
2353
2337
  10: [1, 211],
2354
- 44: h,
2355
- 60: g,
2356
- 89: y,
2357
- 102: b,
2358
- 105: x,
2359
- 106: S,
2360
- 109: C,
2361
- 111: w,
2338
+ 44: m,
2339
+ 60: h,
2340
+ 89: v,
2341
+ 102: y,
2342
+ 105: b,
2343
+ 106: x,
2344
+ 109: S,
2345
+ 111: C,
2362
2346
  113: 113,
2363
- 114: T,
2364
- 115: E,
2365
- 116: D
2347
+ 114: w,
2348
+ 115: T,
2349
+ 116: E
2366
2350
  },
2367
2351
  { 80: [1, 212] },
2368
2352
  e(I, [2, 109], { 10: [1, 213] }),
@@ -2375,17 +2359,17 @@ You have to call mermaid.initialize.`);
2375
2359
  },
2376
2360
  e(be, [2, 55], {
2377
2361
  113: 113,
2378
- 44: h,
2379
- 60: g,
2380
- 89: y,
2381
- 102: b,
2382
- 105: x,
2383
- 106: S,
2384
- 109: C,
2385
- 111: w,
2386
- 114: T,
2387
- 115: E,
2388
- 116: D
2362
+ 44: m,
2363
+ 60: h,
2364
+ 89: v,
2365
+ 102: y,
2366
+ 105: b,
2367
+ 106: x,
2368
+ 109: S,
2369
+ 111: C,
2370
+ 114: w,
2371
+ 115: T,
2372
+ 116: E
2389
2373
  }),
2390
2374
  {
2391
2375
  31: [1, 218],
@@ -2544,20 +2528,20 @@ You have to call mermaid.initialize.`);
2544
2528
  e(A, [2, 35]),
2545
2529
  {
2546
2530
  43: 239,
2547
- 44: h,
2531
+ 44: m,
2548
2532
  45: 40,
2549
2533
  47: 41,
2550
- 60: g,
2551
- 89: y,
2552
- 102: b,
2553
- 105: x,
2554
- 106: S,
2555
- 109: C,
2556
- 111: w,
2534
+ 60: h,
2535
+ 89: v,
2536
+ 102: y,
2537
+ 105: b,
2538
+ 106: x,
2539
+ 109: S,
2540
+ 111: C,
2557
2541
  113: 42,
2558
- 114: T,
2559
- 115: E,
2560
- 116: D
2542
+ 114: w,
2543
+ 115: T,
2544
+ 116: E
2561
2545
  },
2562
2546
  {
2563
2547
  10: k,
@@ -2619,19 +2603,19 @@ You have to call mermaid.initialize.`);
2619
2603
  112: Q
2620
2604
  },
2621
2605
  {
2622
- 44: h,
2606
+ 44: m,
2623
2607
  47: 258,
2624
- 60: g,
2625
- 89: y,
2626
- 102: b,
2627
- 105: x,
2628
- 106: S,
2629
- 109: C,
2630
- 111: w,
2608
+ 60: h,
2609
+ 89: v,
2610
+ 102: y,
2611
+ 105: b,
2612
+ 106: x,
2613
+ 109: S,
2614
+ 111: C,
2631
2615
  113: 42,
2632
- 114: T,
2633
- 115: E,
2634
- 116: D
2616
+ 114: w,
2617
+ 115: T,
2618
+ 116: E
2635
2619
  },
2636
2620
  e(I, [2, 108]),
2637
2621
  { 80: [1, 259] },
@@ -2713,31 +2697,31 @@ You have to call mermaid.initialize.`);
2713
2697
  32: [1, 267],
2714
2698
  33: 24,
2715
2699
  34: f,
2716
- 36: p,
2717
- 38: m,
2700
+ 36: ee,
2701
+ 38: p,
2718
2702
  42: 28,
2719
2703
  43: 39,
2720
- 44: h,
2704
+ 44: m,
2721
2705
  45: 40,
2722
2706
  47: 41,
2723
- 60: g,
2724
- 84: _,
2725
- 85: v,
2726
- 86: ee,
2727
- 87: te,
2728
- 88: ne,
2729
- 89: y,
2730
- 102: b,
2731
- 105: x,
2732
- 106: S,
2733
- 109: C,
2734
- 111: w,
2707
+ 60: h,
2708
+ 84: g,
2709
+ 85: _,
2710
+ 86: te,
2711
+ 87: ne,
2712
+ 88: re,
2713
+ 89: v,
2714
+ 102: y,
2715
+ 105: b,
2716
+ 106: x,
2717
+ 109: S,
2718
+ 111: C,
2735
2719
  113: 42,
2736
- 114: T,
2737
- 115: E,
2738
- 116: D,
2739
- 121: O,
2740
- 122: re,
2720
+ 114: w,
2721
+ 115: T,
2722
+ 116: E,
2723
+ 121: D,
2724
+ 122: O,
2741
2725
  123: ie,
2742
2726
  124: ae,
2743
2727
  125: oe
@@ -2745,20 +2729,20 @@ You have to call mermaid.initialize.`);
2745
2729
  e(be, [2, 53]),
2746
2730
  {
2747
2731
  43: 268,
2748
- 44: h,
2732
+ 44: m,
2749
2733
  45: 40,
2750
2734
  47: 41,
2751
- 60: g,
2752
- 89: y,
2753
- 102: b,
2754
- 105: x,
2755
- 106: S,
2756
- 109: C,
2757
- 111: w,
2735
+ 60: h,
2736
+ 89: v,
2737
+ 102: y,
2738
+ 105: b,
2739
+ 106: x,
2740
+ 109: S,
2741
+ 111: C,
2758
2742
  113: 42,
2759
- 114: T,
2760
- 115: E,
2761
- 116: D
2743
+ 114: w,
2744
+ 115: T,
2745
+ 116: E
2762
2746
  },
2763
2747
  e(I, [2, 121], { 106: tt }),
2764
2748
  e(nt, [2, 130], {
@@ -2789,17 +2773,17 @@ You have to call mermaid.initialize.`);
2789
2773
  e(I, [2, 105], { 106: tt }),
2790
2774
  e(I, [2, 106], {
2791
2775
  113: 113,
2792
- 44: h,
2793
- 60: g,
2794
- 89: y,
2795
- 102: b,
2796
- 105: x,
2797
- 106: S,
2798
- 109: C,
2799
- 111: w,
2800
- 114: T,
2801
- 115: E,
2802
- 116: D
2776
+ 44: m,
2777
+ 60: h,
2778
+ 89: v,
2779
+ 102: y,
2780
+ 105: b,
2781
+ 106: x,
2782
+ 109: S,
2783
+ 111: C,
2784
+ 114: w,
2785
+ 115: T,
2786
+ 116: E
2803
2787
  }),
2804
2788
  e(I, [2, 110]),
2805
2789
  e(I, [2, 112], { 10: [1, 273] }),
@@ -2941,31 +2925,31 @@ You have to call mermaid.initialize.`);
2941
2925
  32: [1, 288],
2942
2926
  33: 24,
2943
2927
  34: f,
2944
- 36: p,
2945
- 38: m,
2928
+ 36: ee,
2929
+ 38: p,
2946
2930
  42: 28,
2947
2931
  43: 39,
2948
- 44: h,
2932
+ 44: m,
2949
2933
  45: 40,
2950
2934
  47: 41,
2951
- 60: g,
2952
- 84: _,
2953
- 85: v,
2954
- 86: ee,
2955
- 87: te,
2956
- 88: ne,
2957
- 89: y,
2958
- 102: b,
2959
- 105: x,
2960
- 106: S,
2961
- 109: C,
2962
- 111: w,
2935
+ 60: h,
2936
+ 84: g,
2937
+ 85: _,
2938
+ 86: te,
2939
+ 87: ne,
2940
+ 88: re,
2941
+ 89: v,
2942
+ 102: y,
2943
+ 105: b,
2944
+ 106: x,
2945
+ 109: S,
2946
+ 111: C,
2963
2947
  113: 42,
2964
- 114: T,
2965
- 115: E,
2966
- 116: D,
2967
- 121: O,
2968
- 122: re,
2948
+ 114: w,
2949
+ 115: T,
2950
+ 116: E,
2951
+ 121: D,
2952
+ 122: O,
2969
2953
  123: ie,
2970
2954
  124: ae,
2971
2955
  125: oe
@@ -3002,63 +2986,63 @@ You have to call mermaid.initialize.`);
3002
2986
  e(I, [2, 125], { 106: tt })
3003
2987
  ],
3004
2988
  defaultActions: {},
3005
- parseError: /* @__PURE__ */ i(function(e, t) {
2989
+ parseError: /* @__PURE__ */ n(function(e, t) {
3006
2990
  if (t.recoverable) this.trace(e);
3007
2991
  else {
3008
2992
  var n = Error(e);
3009
2993
  throw n.hash = t, n;
3010
2994
  }
3011
2995
  }, "parseError"),
3012
- parse: /* @__PURE__ */ i(function(e) {
3013
- var t = this, n = [0], r = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
3014
- for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
3015
- h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
3016
- var v = h.yylloc;
3017
- o.push(v);
3018
- var ee = h.options && h.options.ranges;
3019
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
3020
- function te(e) {
3021
- n.length -= 2 * e, a.length -= e, o.length -= e;
2996
+ parse: /* @__PURE__ */ n(function(e) {
2997
+ var t = 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: {} };
2998
+ for (var g in this.yy) Object.prototype.hasOwnProperty.call(this.yy, g) && (h.yy[g] = this.yy[g]);
2999
+ m.setInput(e, h.yy), h.yy.lexer = m, h.yy.parser = this, m.yylloc === void 0 && (m.yylloc = {});
3000
+ var _ = m.yylloc;
3001
+ o.push(_);
3002
+ var te = m.options && m.options.ranges;
3003
+ typeof h.yy.parseError == "function" ? this.parseError = h.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
3004
+ function ne(e) {
3005
+ r.length -= 2 * e, a.length -= e, o.length -= e;
3022
3006
  }
3023
- i(te, "popStack");
3024
- function ne() {
3025
- var e = r.pop() || h.lex() || p;
3026
- return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
3007
+ n(ne, "popStack");
3008
+ function re() {
3009
+ var e = i.pop() || m.lex() || ee;
3010
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
3027
3011
  }
3028
- i(ne, "lex");
3029
- for (var y, b, x, S, C, w = {}, T, E, D, O;;) {
3030
- if (x = n[n.length - 1], this.defaultActions[x] ? S = this.defaultActions[x] : (y ??= ne(), S = s[x] && s[x][y]), S === void 0 || !S.length || !S[0]) {
3031
- var re = "";
3032
- for (T in O = [], s[x]) this.terminals_[T] && T > f && O.push("'" + this.terminals_[T] + "'");
3033
- re = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + O.join(", ") + ", got '" + (this.terminals_[y] || y) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (y == p ? "end of input" : "'" + (this.terminals_[y] || y) + "'"), this.parseError(re, {
3034
- text: h.match,
3035
- token: this.terminals_[y] || y,
3036
- line: h.yylineno,
3037
- loc: v,
3038
- expected: O
3012
+ n(re, "lex");
3013
+ for (var v, y, b, x, S, C = {}, w, T, E, D;;) {
3014
+ 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]) {
3015
+ var O = "";
3016
+ for (w in D = [], s[b]) this.terminals_[w] && w > f && D.push("'" + this.terminals_[w] + "'");
3017
+ 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, {
3018
+ text: m.match,
3019
+ token: this.terminals_[v] || v,
3020
+ line: m.yylineno,
3021
+ loc: _,
3022
+ expected: D
3039
3023
  });
3040
3024
  }
3041
- if (S[0] instanceof Array && S.length > 1) throw Error("Parse Error: multiple actions possible at state: " + x + ", token: " + y);
3042
- switch (S[0]) {
3025
+ if (x[0] instanceof Array && x.length > 1) throw Error("Parse Error: multiple actions possible at state: " + b + ", token: " + v);
3026
+ switch (x[0]) {
3043
3027
  case 1:
3044
- n.push(y), a.push(h.yytext), o.push(h.yylloc), n.push(S[1]), y = null, b ? (y = b, b = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
3028
+ 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--);
3045
3029
  break;
3046
3030
  case 2:
3047
- if (E = this.productions_[S[1]][1], w.$ = a[a.length - E], w._$ = {
3048
- first_line: o[o.length - (E || 1)].first_line,
3031
+ if (T = this.productions_[x[1]][1], C.$ = a[a.length - T], C._$ = {
3032
+ first_line: o[o.length - (T || 1)].first_line,
3049
3033
  last_line: o[o.length - 1].last_line,
3050
- first_column: o[o.length - (E || 1)].first_column,
3034
+ first_column: o[o.length - (T || 1)].first_column,
3051
3035
  last_column: o[o.length - 1].last_column
3052
- }, ee && (w._$.range = [o[o.length - (E || 1)].range[0], o[o.length - 1].range[1]]), C = this.performAction.apply(w, [
3036
+ }, te && (C._$.range = [o[o.length - (T || 1)].range[0], o[o.length - 1].range[1]]), S = this.performAction.apply(C, [
3053
3037
  c,
3054
3038
  u,
3055
3039
  l,
3056
- g.yy,
3057
- S[1],
3040
+ h.yy,
3041
+ x[1],
3058
3042
  a,
3059
3043
  o
3060
- ].concat(m)), C !== void 0) return C;
3061
- E && (n = n.slice(0, -1 * E * 2), a = a.slice(0, -1 * E), o = o.slice(0, -1 * E)), n.push(this.productions_[S[1]][0]), a.push(w.$), o.push(w._$), D = s[n[n.length - 2]][n[n.length - 1]], n.push(D);
3044
+ ].concat(p)), S !== void 0) return S;
3045
+ 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);
3062
3046
  break;
3063
3047
  case 3: return !0;
3064
3048
  }
@@ -3069,11 +3053,11 @@ You have to call mermaid.initialize.`);
3069
3053
  rt.lexer = /* @__PURE__ */ (function() {
3070
3054
  return {
3071
3055
  EOF: 1,
3072
- parseError: /* @__PURE__ */ i(function(e, t) {
3056
+ parseError: /* @__PURE__ */ n(function(e, t) {
3073
3057
  if (this.yy.parser) this.yy.parser.parseError(e, t);
3074
3058
  else throw Error(e);
3075
3059
  }, "parseError"),
3076
- setInput: /* @__PURE__ */ i(function(e, t) {
3060
+ setInput: /* @__PURE__ */ n(function(e, t) {
3077
3061
  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 = {
3078
3062
  first_line: 1,
3079
3063
  first_column: 0,
@@ -3081,11 +3065,11 @@ You have to call mermaid.initialize.`);
3081
3065
  last_column: 0
3082
3066
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
3083
3067
  }, "setInput"),
3084
- input: /* @__PURE__ */ i(function() {
3068
+ input: /* @__PURE__ */ n(function() {
3085
3069
  var e = this._input[0];
3086
3070
  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;
3087
3071
  }, "input"),
3088
- unput: /* @__PURE__ */ i(function(e) {
3072
+ unput: /* @__PURE__ */ n(function(e) {
3089
3073
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
3090
3074
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
3091
3075
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -3098,10 +3082,10 @@ You have to call mermaid.initialize.`);
3098
3082
  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
3099
3083
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
3100
3084
  }, "unput"),
3101
- more: /* @__PURE__ */ i(function() {
3085
+ more: /* @__PURE__ */ n(function() {
3102
3086
  return this._more = !0, this;
3103
3087
  }, "more"),
3104
- reject: /* @__PURE__ */ i(function() {
3088
+ reject: /* @__PURE__ */ n(function() {
3105
3089
  if (this.options.backtrack_lexer) this._backtrack = !0;
3106
3090
  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(), {
3107
3091
  text: "",
@@ -3110,22 +3094,22 @@ You have to call mermaid.initialize.`);
3110
3094
  });
3111
3095
  return this;
3112
3096
  }, "reject"),
3113
- less: /* @__PURE__ */ i(function(e) {
3097
+ less: /* @__PURE__ */ n(function(e) {
3114
3098
  this.unput(this.match.slice(e));
3115
3099
  }, "less"),
3116
- pastInput: /* @__PURE__ */ i(function() {
3100
+ pastInput: /* @__PURE__ */ n(function() {
3117
3101
  var e = this.matched.substr(0, this.matched.length - this.match.length);
3118
3102
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
3119
3103
  }, "pastInput"),
3120
- upcomingInput: /* @__PURE__ */ i(function() {
3104
+ upcomingInput: /* @__PURE__ */ n(function() {
3121
3105
  var e = this.match;
3122
3106
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
3123
3107
  }, "upcomingInput"),
3124
- showPosition: /* @__PURE__ */ i(function() {
3108
+ showPosition: /* @__PURE__ */ n(function() {
3125
3109
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
3126
3110
  return e + this.upcomingInput() + "\n" + t + "^";
3127
3111
  }, "showPosition"),
3128
- test_match: /* @__PURE__ */ i(function(e, t) {
3112
+ test_match: /* @__PURE__ */ n(function(e, t) {
3129
3113
  var n, r, i;
3130
3114
  if (this.options.backtrack_lexer && (i = {
3131
3115
  yylineno: this.yylineno,
@@ -3158,7 +3142,7 @@ You have to call mermaid.initialize.`);
3158
3142
  }
3159
3143
  return !1;
3160
3144
  }, "test_match"),
3161
- next: /* @__PURE__ */ i(function() {
3145
+ next: /* @__PURE__ */ n(function() {
3162
3146
  if (this.done) return this.EOF;
3163
3147
  this._input || (this.done = !0);
3164
3148
  var e, t, n, r;
@@ -3178,29 +3162,29 @@ You have to call mermaid.initialize.`);
3178
3162
  line: this.yylineno
3179
3163
  });
3180
3164
  }, "next"),
3181
- lex: /* @__PURE__ */ i(function() {
3165
+ lex: /* @__PURE__ */ n(function() {
3182
3166
  return this.next() || this.lex();
3183
3167
  }, "lex"),
3184
- begin: /* @__PURE__ */ i(function(e) {
3168
+ begin: /* @__PURE__ */ n(function(e) {
3185
3169
  this.conditionStack.push(e);
3186
3170
  }, "begin"),
3187
- popState: /* @__PURE__ */ i(function() {
3171
+ popState: /* @__PURE__ */ n(function() {
3188
3172
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
3189
3173
  }, "popState"),
3190
- _currentRules: /* @__PURE__ */ i(function() {
3174
+ _currentRules: /* @__PURE__ */ n(function() {
3191
3175
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
3192
3176
  }, "_currentRules"),
3193
- topState: /* @__PURE__ */ i(function(e) {
3177
+ topState: /* @__PURE__ */ n(function(e) {
3194
3178
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
3195
3179
  }, "topState"),
3196
- pushState: /* @__PURE__ */ i(function(e) {
3180
+ pushState: /* @__PURE__ */ n(function(e) {
3197
3181
  this.begin(e);
3198
3182
  }, "pushState"),
3199
- stateStackSize: /* @__PURE__ */ i(function() {
3183
+ stateStackSize: /* @__PURE__ */ n(function() {
3200
3184
  return this.conditionStack.length;
3201
3185
  }, "stateStackSize"),
3202
3186
  options: {},
3203
- performAction: /* @__PURE__ */ i(function(e, t, n, r) {
3187
+ performAction: /* @__PURE__ */ n(function(e, t, n, r) {
3204
3188
  switch (n) {
3205
3189
  case 0: return this.begin("acc_title"), 34;
3206
3190
  case 1: return this.popState(), "acc_title_value";
@@ -3990,24 +3974,24 @@ You have to call mermaid.initialize.`);
3990
3974
  function it() {
3991
3975
  this.yy = {};
3992
3976
  }
3993
- return i(it, "Parser"), it.prototype = rt, rt.Parser = it, new it();
3977
+ return n(it, "Parser"), it.prototype = rt, rt.Parser = it, new it();
3994
3978
  })();
3995
- O.parser = O;
3996
- var re = O, ie = Object.assign({}, re);
3979
+ D.parser = D;
3980
+ var O = D, ie = Object.assign({}, O);
3997
3981
  ie.parse = (e) => {
3998
3982
  let t = e.replace(/}\s*\n/g, "}\n");
3999
- return re.parse(t);
3983
+ return O.parse(t);
4000
3984
  };
4001
- var ae = ie, oe = /* @__PURE__ */ i((e, t) => {
4002
- let n = v;
4003
- return h(n(e, "r"), n(e, "g"), n(e, "b"), t);
3985
+ var ae = ie, oe = /* @__PURE__ */ n((e, t) => {
3986
+ let n = h;
3987
+ return u(n(e, "r"), n(e, "g"), n(e, "b"), t);
4004
3988
  }, "fade"), k = {
4005
3989
  parser: ae,
4006
3990
  get db() {
4007
- return new E();
3991
+ return new T();
4008
3992
  },
4009
- renderer: D,
4010
- styles: /* @__PURE__ */ i((e) => `.label {
3993
+ renderer: E,
3994
+ styles: /* @__PURE__ */ n((e) => `.label {
4011
3995
  font-family: ${e.fontFamily};
4012
3996
  color: ${e.nodeTextColor || e.textColor};
4013
3997
  }
@@ -4033,7 +4017,7 @@ var ae = ie, oe = /* @__PURE__ */ i((e, t) => {
4033
4017
  .node path {
4034
4018
  fill: ${e.mainBkg};
4035
4019
  stroke: ${e.nodeBorder};
4036
- stroke-width: 1px;
4020
+ stroke-width: ${e.strokeWidth ?? 1}px;
4037
4021
  }
4038
4022
  .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
4039
4023
  text-anchor: middle;
@@ -4071,7 +4055,7 @@ var ae = ie, oe = /* @__PURE__ */ i((e, t) => {
4071
4055
 
4072
4056
  .edgePath .path {
4073
4057
  stroke: ${e.lineColor};
4074
- stroke-width: 2.0px;
4058
+ stroke-width: ${e.strokeWidth ?? 2}px;
4075
4059
  }
4076
4060
 
4077
4061
  .flowchart-link {
@@ -4153,13 +4137,13 @@ var ae = ie, oe = /* @__PURE__ */ i((e, t) => {
4153
4137
  }
4154
4138
  text-align: center;
4155
4139
  }
4156
- ${ee()}
4140
+ ${te()}
4157
4141
  `, "getStyles"),
4158
- init: /* @__PURE__ */ i((e) => {
4159
- e.flowchart ||= {}, e.layout && c({ layout: e.layout }), e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, c({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
4142
+ init: /* @__PURE__ */ n((e) => {
4143
+ e.flowchart ||= {}, e.layout && i({ layout: e.layout }), e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, i({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
4160
4144
  }, "init")
4161
4145
  };
4162
4146
  //#endregion
4163
4147
  export { k as diagram };
4164
4148
 
4165
- //# sourceMappingURL=flowDiagram-PKNHOUZH-DInJjOz3.js.map
4149
+ //# sourceMappingURL=flowDiagram-I6XJVG4X-RYkPtPRG.js.map