mio-previewer 0.2.74 → 0.2.76

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 (280) hide show
  1. package/dist/_basePickBy-CXmXW7jd.js +166 -0
  2. package/dist/_basePickBy-CtuVwROD.cjs +1 -0
  3. package/dist/_baseUniq-CGoiOkSa.js +682 -0
  4. package/dist/_baseUniq-CYtOXxfV.cjs +1 -0
  5. package/dist/_createAssigner-DqH64jc7.cjs +1 -0
  6. package/dist/_createAssigner-IEX8lwxm.js +573 -0
  7. package/dist/arc-C78br9Yj.cjs +1 -0
  8. package/dist/arc-vLgDTVZZ.js +80 -0
  9. package/dist/architecture-O4VJ6CD3-B9qzjtV8.cjs +1 -0
  10. package/dist/architecture-O4VJ6CD3-wqAP4onK.js +2 -0
  11. package/dist/architectureDiagram-VXUJARFQ-CYbuyVAs.js +4039 -0
  12. package/dist/architectureDiagram-VXUJARFQ-DEGYSl1f.cjs +36 -0
  13. package/dist/array-CApNbSU9.js +6 -0
  14. package/dist/array-DZSRzHA_.cjs +1 -0
  15. package/dist/assets/parser.worker-Bzb1GItl.js +14 -0
  16. package/dist/blockDiagram-VD42YOAC-DaH3L5Ng.js +3009 -0
  17. package/dist/blockDiagram-VD42YOAC-DeX0dq72.cjs +122 -0
  18. package/dist/c4Diagram-YG6GDRKO-CIThIYo6.js +2959 -0
  19. package/dist/c4Diagram-YG6GDRKO-Dz6dif_9.cjs +10 -0
  20. package/dist/channel-BWHkpgVD.cjs +1 -0
  21. package/dist/channel-JT7eWw2w.js +5 -0
  22. package/dist/chunk-4BX2VUAB-BZTgbbzC.js +8 -0
  23. package/dist/chunk-4BX2VUAB-HXFjpyQg.cjs +1 -0
  24. package/dist/chunk-55IACEB6-DWUqxxdp.js +8 -0
  25. package/dist/chunk-55IACEB6-Hy_THNUs.cjs +1 -0
  26. package/dist/chunk-ABZYJK2D-CbIYYZa_.cjs +80 -0
  27. package/dist/chunk-ABZYJK2D-DDrmE3Q7.js +2518 -0
  28. package/dist/chunk-ATLVNIR6-DHlCNWnJ.js +67 -0
  29. package/dist/chunk-ATLVNIR6-shAOudT0.cjs +1 -0
  30. package/dist/chunk-B4BG7PRW-C67vroOS.cjs +165 -0
  31. package/dist/chunk-B4BG7PRW-DSYuK8dI.js +3116 -0
  32. package/dist/chunk-BNMv73og.cjs +1 -0
  33. package/dist/chunk-CVBHYZKI-CLVcv_xh.cjs +1 -0
  34. package/dist/chunk-CVBHYZKI-CiCGetln.js +12 -0
  35. package/dist/chunk-DI55MBZ5-BCvBgHrp.cjs +220 -0
  36. package/dist/chunk-DI55MBZ5-Clru0TyG.js +2000 -0
  37. package/dist/chunk-Dbv0sNQl.js +20 -0
  38. package/dist/chunk-FMBD7UC4-D4kohRVY.js +5 -0
  39. package/dist/{chunk-FMBD7UC4-DxkUZTpt.cjs → chunk-FMBD7UC4-DWMVCXKq.cjs} +2 -2
  40. package/dist/chunk-HN2XXSSU-BwmRMa2r.cjs +1 -0
  41. package/dist/chunk-HN2XXSSU-CJL8wAZ2.js +76 -0
  42. package/dist/chunk-JA3XYJ7Z-BaAdjYEy.cjs +70 -0
  43. package/dist/chunk-JA3XYJ7Z-CpKHrbOX.js +1849 -0
  44. package/dist/chunk-JZLCHNYA-CYo7ykJf.js +4863 -0
  45. package/dist/chunk-JZLCHNYA-CvPIQFXP.cjs +54 -0
  46. package/dist/chunk-QN33PNHL-BFbXAWI4.js +25 -0
  47. package/dist/chunk-QN33PNHL-Cu0FHarG.cjs +1 -0
  48. package/dist/chunk-QXUST7PY-CnnfdJrM.cjs +7 -0
  49. package/dist/chunk-QXUST7PY-CxCAwQqP.js +488 -0
  50. package/dist/chunk-QZHKN3VN-2e6nJr8c.cjs +1 -0
  51. package/dist/chunk-QZHKN3VN-Dal4kx9B.js +15 -0
  52. package/dist/chunk-S3R3BYOJ-B2ozcJNg.cjs +2 -0
  53. package/dist/chunk-S3R3BYOJ-CG6GoSCd.js +1119 -0
  54. package/dist/chunk-TZMSLE5B-CooeLs4Q.js +57 -0
  55. package/dist/chunk-TZMSLE5B-D92K1Ja5.cjs +1 -0
  56. package/dist/classDiagram-2ON5EDUG-Bv1XCvDZ.js +28 -0
  57. package/dist/classDiagram-2ON5EDUG-BzMV1CJW.cjs +1 -0
  58. package/dist/classDiagram-v2-WZHVMYZB-Bqxv5U7u.js +28 -0
  59. package/dist/classDiagram-v2-WZHVMYZB-BzMV1CJW.cjs +1 -0
  60. package/dist/clone-B0KDIkSS.js +8 -0
  61. package/dist/clone-wvtBTB6v.cjs +1 -0
  62. package/dist/cose-bilkent-S5V4N54A-DMHTv1aW.cjs +1 -0
  63. package/dist/cose-bilkent-S5V4N54A-bGPAcpg6.js +2250 -0
  64. package/dist/custom-Bl_fVJZ0.cjs +84 -0
  65. package/dist/custom-D-TzPpWT.js +5281 -0
  66. package/dist/cytoscape.esm-CElDUMAx.cjs +321 -0
  67. package/dist/cytoscape.esm-xf9dtmBj.js +18100 -0
  68. package/dist/dagre-6UL2VRFP-3bgUxzqG.js +294 -0
  69. package/dist/dagre-6UL2VRFP-B3NqmIxs.cjs +4 -0
  70. package/dist/dagre-BfAHSwtP.js +1472 -0
  71. package/dist/dagre-Buvkww-e.cjs +1 -0
  72. package/dist/defaultLocale-B5dSAwiC.js +201 -0
  73. package/dist/defaultLocale-G0HsdRIB.cjs +1 -0
  74. package/dist/diagram-PSM6KHXK-C4FjxUHt.cjs +24 -0
  75. package/dist/diagram-PSM6KHXK-CF8TkgzX.js +527 -0
  76. package/dist/diagram-QEK2KX5R-Dl3IHeA5.js +213 -0
  77. package/dist/diagram-QEK2KX5R-Z9DYjr44.cjs +43 -0
  78. package/dist/diagram-S2PKOQOG-Bib-zL2S.cjs +24 -0
  79. package/dist/diagram-S2PKOQOG-ZKvn7IEe.js +133 -0
  80. package/dist/dist-DC-lM4uX.cjs +1 -0
  81. package/dist/dist-zNcLEPGR.js +51 -0
  82. package/dist/erDiagram-Q2GNP2WA-DFMV9OUT.cjs +60 -0
  83. package/dist/erDiagram-Q2GNP2WA-DJYJEzEB.js +1600 -0
  84. package/dist/flowDiagram-NV44I4VS-7TxeawHS.cjs +162 -0
  85. package/dist/flowDiagram-NV44I4VS-CXa6ycqs.js +4128 -0
  86. package/dist/ganttDiagram-LVOFAZNH-DqT7pu4m.js +2869 -0
  87. package/dist/ganttDiagram-LVOFAZNH-iiExGpwF.cjs +267 -0
  88. package/dist/gitGraph-ZV4HHKMB-BjaEVcYh.cjs +1 -0
  89. package/dist/gitGraph-ZV4HHKMB-Cl2I6-l3.js +2 -0
  90. package/dist/gitGraphDiagram-NY62KEGX-Tphu_MeC.js +621 -0
  91. package/dist/gitGraphDiagram-NY62KEGX-k5xzXg7C.cjs +65 -0
  92. package/dist/graphlib-C3tPLMbC.js +225 -0
  93. package/dist/graphlib-Cdg0u3TT.cjs +1 -0
  94. package/dist/info-63CPKGFF-D2A5GDFo.js +2 -0
  95. package/dist/info-63CPKGFF-MRaucWlf.cjs +1 -0
  96. package/dist/infoDiagram-F6ZHWCRC-3Jwo4J0f.cjs +2 -0
  97. package/dist/infoDiagram-F6ZHWCRC-BUoruN76.js +19 -0
  98. package/dist/init-07zIhv_j.cjs +1 -0
  99. package/dist/init-Bwwdo3M6.js +15 -0
  100. package/dist/journeyDiagram-XKPGCS4Q-C_3oD9RV.cjs +139 -0
  101. package/dist/journeyDiagram-XKPGCS4Q-DB7INfrf.js +883 -0
  102. package/dist/kanban-definition-3W4ZIXB7-AVLIBuMF.js +968 -0
  103. package/dist/kanban-definition-3W4ZIXB7-txUXjKzB.cjs +89 -0
  104. package/dist/katex-6UpFeIdV.cjs +261 -0
  105. package/dist/katex-BHcJffnM.js +22112 -0
  106. package/dist/line-DYhVGH2B.js +34 -0
  107. package/dist/line-DdNAPGaw.cjs +1 -0
  108. package/dist/linear-n4_iirEu.js +289 -0
  109. package/dist/linear-rQLpRrSH.cjs +1 -0
  110. package/dist/loadCss-D6257oR0.js +8 -0
  111. package/dist/loadCss-DhrQh6-A.cjs +1 -0
  112. package/dist/markdown-it-Cz3KGZjR.cjs +2 -0
  113. package/dist/markdown-it-D-hH4G7k.js +173 -0
  114. package/dist/math-G8rF7UWn.cjs +1 -0
  115. package/dist/math-H49DsxYR.js +10 -0
  116. package/dist/mermaid-parser.core-B84fnaGG.js +11904 -0
  117. package/dist/mermaid-parser.core-C9EbhVVg.cjs +82 -0
  118. package/dist/mindmap-definition-VGOIOE7T-CXlyYsc6.cjs +68 -0
  119. package/dist/mindmap-definition-VGOIOE7T-VIt9sDN3.js +963 -0
  120. package/dist/mio-previewer.cjs.js +11 -21
  121. package/dist/mio-previewer.css +2 -9
  122. package/dist/mio-previewer.esm.js +4939 -0
  123. package/dist/ordinal-C55HfHHp.js +65 -0
  124. package/dist/ordinal-CUPR-p0T.cjs +1 -0
  125. package/dist/packet-HUATNLJX-CGNko_oS.cjs +1 -0
  126. package/dist/packet-HUATNLJX-CVx40lqO.js +2 -0
  127. package/dist/path-DNvJyUE8.js +85 -0
  128. package/dist/path-Kklx0M1v.cjs +1 -0
  129. package/dist/pie-WTHONI2E-BdPx0Cfg.cjs +1 -0
  130. package/dist/pie-WTHONI2E-DX5V8x0L.js +2 -0
  131. package/dist/pieDiagram-ADFJNKIX-BysReYfx.js +165 -0
  132. package/dist/pieDiagram-ADFJNKIX-CTT1YMsk.cjs +30 -0
  133. package/dist/plugins/custom.cjs.js +1 -1
  134. package/dist/plugins/custom.esm.js +2 -0
  135. package/dist/plugins/markdown-it.cjs.js +1 -3
  136. package/dist/plugins/markdown-it.esm.js +2 -0
  137. package/dist/quadrantDiagram-AYHSOK5B-8-V3cwsC.cjs +7 -0
  138. package/dist/quadrantDiagram-AYHSOK5B-DRutDK03.js +1974 -0
  139. package/dist/radar-NJJJXTRR-CTD6M8nl.js +2 -0
  140. package/dist/radar-NJJJXTRR-wJoTnQbj.cjs +1 -0
  141. package/dist/requirementDiagram-UZGBJVZJ-DFRpWnfW.cjs +64 -0
  142. package/dist/requirementDiagram-UZGBJVZJ-DNYoJyhG.js +2191 -0
  143. package/dist/sankeyDiagram-TZEHDZUN-B9fxDP0Q.cjs +10 -0
  144. package/dist/sankeyDiagram-TZEHDZUN-DD6bkI4Z.js +920 -0
  145. package/dist/sequenceDiagram-WL72ISMW-Bmptok1c.js +3562 -0
  146. package/dist/sequenceDiagram-WL72ISMW-D9sXtgAn.cjs +145 -0
  147. package/dist/src-BMjps4Ui.cjs +1 -0
  148. package/dist/src-BuisGndr.js +2149 -0
  149. package/dist/stateDiagram-FKZM4ZOC-Bmiw8fnW.js +217 -0
  150. package/dist/stateDiagram-FKZM4ZOC-DiD1WJPM.cjs +1 -0
  151. package/dist/stateDiagram-v2-4FDKWEC3-5ADhn1IF.js +27 -0
  152. package/dist/stateDiagram-v2-4FDKWEC3-BjhmCPL1.cjs +1 -0
  153. package/dist/timeline-definition-IT6M3QCI-C9VMls3W.js +830 -0
  154. package/dist/timeline-definition-IT6M3QCI-ZzbHXhNl.cjs +61 -0
  155. package/dist/treemap-75Q7IDZK-9TPMYr3R.cjs +1 -0
  156. package/dist/treemap-75Q7IDZK-u3p-cHDL.js +2 -0
  157. package/dist/types/plugins/custom/codeBlockPlugin.d.ts +8 -0
  158. package/dist/types/plugins/custom/mermaidPlugin.d.ts +4 -0
  159. package/dist/xychartDiagram-PRI3JC2R-BI6KuGZ2.cjs +7 -0
  160. package/dist/xychartDiagram-PRI3JC2R-BWabDL1u.js +2041 -0
  161. package/package.json +2 -2
  162. package/dist/_basePickBy-Be3yyf2d.js +0 -151
  163. package/dist/_basePickBy-Z0DtrAKQ.cjs +0 -1
  164. package/dist/_baseUniq-BXkA0Pgx.js +0 -614
  165. package/dist/_baseUniq-Dq2eV1vY.cjs +0 -1
  166. package/dist/arc-B-QGG8RZ.cjs +0 -1
  167. package/dist/arc-djW14lrn.js +0 -83
  168. package/dist/architecture-O4VJ6CD3-Cws_zM2K.cjs +0 -1
  169. package/dist/architecture-O4VJ6CD3-pdMXTCaT.js +0 -5
  170. package/dist/architectureDiagram-VXUJARFQ-BwchhvqL.js +0 -4661
  171. package/dist/architectureDiagram-VXUJARFQ-DxDLWGpO.cjs +0 -36
  172. package/dist/assets/parser.worker-67NQKZt5.js +0 -16
  173. package/dist/blockDiagram-VD42YOAC-B4Xc8gfX.cjs +0 -122
  174. package/dist/blockDiagram-VD42YOAC-DpPneP6J.js +0 -2261
  175. package/dist/c4Diagram-YG6GDRKO-695lQbrZ.cjs +0 -10
  176. package/dist/c4Diagram-YG6GDRKO-Cnlax2Xq.js +0 -1580
  177. package/dist/channel-D_ITz6Jy.cjs +0 -1
  178. package/dist/channel-sXy9EduO.js +0 -5
  179. package/dist/chunk-4BX2VUAB-Bdx3_f83.cjs +0 -1
  180. package/dist/chunk-4BX2VUAB-DRkGmgAZ.js +0 -8
  181. package/dist/chunk-55IACEB6-BB03hpRC.cjs +0 -1
  182. package/dist/chunk-55IACEB6-Ord5OQlh.js +0 -8
  183. package/dist/chunk-B4BG7PRW-Ca0fOgzA.cjs +0 -165
  184. package/dist/chunk-B4BG7PRW-D-cs8bDX.js +0 -1375
  185. package/dist/chunk-DI55MBZ5-BsRe2B2M.cjs +0 -220
  186. package/dist/chunk-DI55MBZ5-DSmlLD1s.js +0 -1370
  187. package/dist/chunk-FMBD7UC4-IYQmAMTo.js +0 -19
  188. package/dist/chunk-QN33PNHL-B7G6Qlf3.cjs +0 -1
  189. package/dist/chunk-QN33PNHL-EYMc4JVr.js +0 -19
  190. package/dist/chunk-QZHKN3VN-B8NJ6Ahx.cjs +0 -1
  191. package/dist/chunk-QZHKN3VN-C4WIG5z8.js +0 -15
  192. package/dist/chunk-TZMSLE5B-BoM53RHv.js +0 -64
  193. package/dist/chunk-TZMSLE5B-CgLDb48A.cjs +0 -1
  194. package/dist/classDiagram-2ON5EDUG-CxmdZvqc.js +0 -16
  195. package/dist/classDiagram-2ON5EDUG-DIRim8qa.cjs +0 -1
  196. package/dist/classDiagram-v2-WZHVMYZB-CxmdZvqc.js +0 -16
  197. package/dist/classDiagram-v2-WZHVMYZB-DIRim8qa.cjs +0 -1
  198. package/dist/clone-DOYxaT_d.js +0 -8
  199. package/dist/clone-DSlm33NG.cjs +0 -1
  200. package/dist/cose-bilkent-S5V4N54A-BD3p1OC_.cjs +0 -1
  201. package/dist/cose-bilkent-S5V4N54A-yLoaqH3G.js +0 -2608
  202. package/dist/cytoscape.esm-DHF7mANN.cjs +0 -331
  203. package/dist/cytoscape.esm-DfdJODL8.js +0 -18735
  204. package/dist/dagre-6UL2VRFP-DG1oQ4B2.cjs +0 -4
  205. package/dist/dagre-6UL2VRFP-VjboDBbp.js +0 -444
  206. package/dist/defaultLocale-D7EN2tov.js +0 -171
  207. package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
  208. package/dist/diagram-PSM6KHXK-C1p0l5TY.js +0 -531
  209. package/dist/diagram-PSM6KHXK-a4rni6rJ.cjs +0 -24
  210. package/dist/diagram-QEK2KX5R-CErKOsX1.cjs +0 -43
  211. package/dist/diagram-QEK2KX5R-CKmmuumX.js +0 -217
  212. package/dist/diagram-S2PKOQOG-B1M7qCNl.cjs +0 -24
  213. package/dist/diagram-S2PKOQOG-BMLCJExF.js +0 -142
  214. package/dist/erDiagram-Q2GNP2WA-BfuCa_Za.cjs +0 -60
  215. package/dist/erDiagram-Q2GNP2WA-fOTsQA-d.js +0 -841
  216. package/dist/flowDiagram-NV44I4VS-BEqeUuqz.cjs +0 -162
  217. package/dist/flowDiagram-NV44I4VS-DDwRAjVG.js +0 -1620
  218. package/dist/ganttDiagram-LVOFAZNH-BbuRS8g3.js +0 -2505
  219. package/dist/ganttDiagram-LVOFAZNH-BlVeWKRf.cjs +0 -267
  220. package/dist/gitGraph-ZV4HHKMB-Bmu8r_Iq.cjs +0 -1
  221. package/dist/gitGraph-ZV4HHKMB-DcQ2E4dF.js +0 -5
  222. package/dist/gitGraphDiagram-NY62KEGX-DcMEeNh7.cjs +0 -65
  223. package/dist/gitGraphDiagram-NY62KEGX-_sWVSKbL.js +0 -699
  224. package/dist/graph-DEnt0OtZ.js +0 -247
  225. package/dist/graph-Dgcjs2XL.cjs +0 -1
  226. package/dist/info-63CPKGFF-DVDDcoHy.js +0 -5
  227. package/dist/info-63CPKGFF-Dc3cWL0G.cjs +0 -1
  228. package/dist/infoDiagram-F6ZHWCRC-DoUSS0kC.js +0 -24
  229. package/dist/infoDiagram-F6ZHWCRC-ZeTrjgaE.cjs +0 -2
  230. package/dist/init-CHZsXQcr.cjs +0 -1
  231. package/dist/init-DjUOC4st.js +0 -16
  232. package/dist/journeyDiagram-XKPGCS4Q-DGe13iBu.js +0 -834
  233. package/dist/journeyDiagram-XKPGCS4Q-Ihl9g4mY.cjs +0 -139
  234. package/dist/kanban-definition-3W4ZIXB7-2qkrkVLK.cjs +0 -89
  235. package/dist/kanban-definition-3W4ZIXB7-BhWe5nMU.js +0 -719
  236. package/dist/katex-CmGeg_OO.js +0 -11692
  237. package/dist/katex-DEiiRhcn.cjs +0 -261
  238. package/dist/layout-BDNzBIaA.cjs +0 -1
  239. package/dist/layout-DTBfbHzy.js +0 -1324
  240. package/dist/linear-BRl2UYUr.cjs +0 -1
  241. package/dist/linear-CwbXkgvF.js +0 -259
  242. package/dist/loadCss-BbD6mdv-.cjs +0 -1
  243. package/dist/loadCss-DS0Fuaxe.js +0 -8
  244. package/dist/mermaid-parser.core-CJ1yJm0s.js +0 -12966
  245. package/dist/mermaid-parser.core-CxTcWSA2.cjs +0 -128
  246. package/dist/mindmap-definition-VGOIOE7T-BPUEmP7g.cjs +0 -68
  247. package/dist/mindmap-definition-VGOIOE7T-DSqZBgzR.js +0 -784
  248. package/dist/mio-previewer.es.js +0 -6171
  249. package/dist/ordinal-CagbB1m8.cjs +0 -1
  250. package/dist/ordinal-DfAQgscy.js +0 -61
  251. package/dist/packet-HUATNLJX-B-qfkr5X.cjs +0 -1
  252. package/dist/packet-HUATNLJX-Dxob_meO.js +0 -5
  253. package/dist/pie-WTHONI2E-BRtdTGWt.js +0 -5
  254. package/dist/pie-WTHONI2E-DK7f6qJw.cjs +0 -1
  255. package/dist/pieDiagram-ADFJNKIX-Dhq_bEzm.js +0 -161
  256. package/dist/pieDiagram-ADFJNKIX-V04ms3gr.cjs +0 -30
  257. package/dist/plugins/custom.es.js +0 -85
  258. package/dist/plugins/markdown-it.es.js +0 -173
  259. package/dist/quadrantDiagram-AYHSOK5B-C97bOmUE.js +0 -1022
  260. package/dist/quadrantDiagram-AYHSOK5B-DlqFPVhi.cjs +0 -7
  261. package/dist/radar-NJJJXTRR-B9jT3LP3.cjs +0 -1
  262. package/dist/radar-NJJJXTRR-D8plmle3.js +0 -5
  263. package/dist/requirementDiagram-UZGBJVZJ-BxVMLKfQ.js +0 -850
  264. package/dist/requirementDiagram-UZGBJVZJ-DENJ74Ew.cjs +0 -64
  265. package/dist/sankeyDiagram-TZEHDZUN-DwgW7Suq.js +0 -810
  266. package/dist/sankeyDiagram-TZEHDZUN-lTBLhaSq.cjs +0 -10
  267. package/dist/sequenceDiagram-WL72ISMW-BAOeX1dA.js +0 -2511
  268. package/dist/sequenceDiagram-WL72ISMW-BRVvH1X4.cjs +0 -145
  269. package/dist/stateDiagram-FKZM4ZOC-BrFQE7Gl.js +0 -263
  270. package/dist/stateDiagram-FKZM4ZOC-D8GjooGL.cjs +0 -1
  271. package/dist/stateDiagram-v2-4FDKWEC3-4VRIY-eH.cjs +0 -1
  272. package/dist/stateDiagram-v2-4FDKWEC3-DnrWD6a3.js +0 -16
  273. package/dist/timeline-definition-IT6M3QCI-BJMIlueb.js +0 -795
  274. package/dist/timeline-definition-IT6M3QCI-BQFGUuGP.cjs +0 -61
  275. package/dist/treemap-75Q7IDZK-BX1vBFWf.cjs +0 -1
  276. package/dist/treemap-75Q7IDZK-CMTkunTV.js +0 -5
  277. package/dist/viewer-CZUSHxhf.js +0 -19131
  278. package/dist/viewer-Canph5Zx.cjs +0 -305
  279. package/dist/xychartDiagram-PRI3JC2R-Sl8WX8wc.cjs +0 -7
  280. package/dist/xychartDiagram-PRI3JC2R-WnFI7Ezu.js +0 -1340
@@ -0,0 +1,2000 @@
1
+ import { l as e } from "./custom-D-TzPpWT.js";
2
+ import { g as t, h as n } from "./src-BuisGndr.js";
3
+ import { B as r, C as i, U as a, _ as o, a as s, b as c, s as l, v as u, z as d } from "./chunk-ABZYJK2D-DDrmE3Q7.js";
4
+ import { h as f, o as p } from "./chunk-S3R3BYOJ-CG6GoSCd.js";
5
+ import { t as m } from "./chunk-55IACEB6-DWUqxxdp.js";
6
+ import { t as h } from "./chunk-QN33PNHL-BFbXAWI4.js";
7
+ //#region node_modules/.pnpm/mermaid@11.12.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.mjs
8
+ var g = (function() {
9
+ var e = /* @__PURE__ */ n(function(e, t, n, r) {
10
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
11
+ return n;
12
+ }, "o"), t = [1, 2], r = [1, 3], i = [1, 4], a = [2, 4], o = [1, 9], s = [1, 11], c = [1, 16], l = [1, 17], u = [1, 18], d = [1, 19], f = [1, 33], p = [1, 20], m = [1, 21], h = [1, 22], g = [1, 23], _ = [1, 24], v = [1, 26], y = [1, 27], b = [1, 28], x = [1, 29], S = [1, 30], C = [1, 31], w = [1, 32], T = [1, 35], E = [1, 36], D = [1, 37], O = [1, 38], k = [1, 34], A = [
13
+ 1,
14
+ 4,
15
+ 5,
16
+ 16,
17
+ 17,
18
+ 19,
19
+ 21,
20
+ 22,
21
+ 24,
22
+ 25,
23
+ 26,
24
+ 27,
25
+ 28,
26
+ 29,
27
+ 33,
28
+ 35,
29
+ 37,
30
+ 38,
31
+ 41,
32
+ 45,
33
+ 48,
34
+ 51,
35
+ 52,
36
+ 53,
37
+ 54,
38
+ 57
39
+ ], j = [
40
+ 1,
41
+ 4,
42
+ 5,
43
+ 14,
44
+ 15,
45
+ 16,
46
+ 17,
47
+ 19,
48
+ 21,
49
+ 22,
50
+ 24,
51
+ 25,
52
+ 26,
53
+ 27,
54
+ 28,
55
+ 29,
56
+ 33,
57
+ 35,
58
+ 37,
59
+ 38,
60
+ 39,
61
+ 40,
62
+ 41,
63
+ 45,
64
+ 48,
65
+ 51,
66
+ 52,
67
+ 53,
68
+ 54,
69
+ 57
70
+ ], M = [
71
+ 4,
72
+ 5,
73
+ 16,
74
+ 17,
75
+ 19,
76
+ 21,
77
+ 22,
78
+ 24,
79
+ 25,
80
+ 26,
81
+ 27,
82
+ 28,
83
+ 29,
84
+ 33,
85
+ 35,
86
+ 37,
87
+ 38,
88
+ 41,
89
+ 45,
90
+ 48,
91
+ 51,
92
+ 52,
93
+ 53,
94
+ 54,
95
+ 57
96
+ ], N = {
97
+ trace: /* @__PURE__ */ n(function() {}, "trace"),
98
+ yy: {},
99
+ symbols_: {
100
+ error: 2,
101
+ start: 3,
102
+ SPACE: 4,
103
+ NL: 5,
104
+ SD: 6,
105
+ document: 7,
106
+ line: 8,
107
+ statement: 9,
108
+ classDefStatement: 10,
109
+ styleStatement: 11,
110
+ cssClassStatement: 12,
111
+ idStatement: 13,
112
+ DESCR: 14,
113
+ "-->": 15,
114
+ HIDE_EMPTY: 16,
115
+ scale: 17,
116
+ WIDTH: 18,
117
+ COMPOSIT_STATE: 19,
118
+ STRUCT_START: 20,
119
+ STRUCT_STOP: 21,
120
+ STATE_DESCR: 22,
121
+ AS: 23,
122
+ ID: 24,
123
+ FORK: 25,
124
+ JOIN: 26,
125
+ CHOICE: 27,
126
+ CONCURRENT: 28,
127
+ note: 29,
128
+ notePosition: 30,
129
+ NOTE_TEXT: 31,
130
+ direction: 32,
131
+ acc_title: 33,
132
+ acc_title_value: 34,
133
+ acc_descr: 35,
134
+ acc_descr_value: 36,
135
+ acc_descr_multiline_value: 37,
136
+ CLICK: 38,
137
+ STRING: 39,
138
+ HREF: 40,
139
+ classDef: 41,
140
+ CLASSDEF_ID: 42,
141
+ CLASSDEF_STYLEOPTS: 43,
142
+ DEFAULT: 44,
143
+ style: 45,
144
+ STYLE_IDS: 46,
145
+ STYLEDEF_STYLEOPTS: 47,
146
+ class: 48,
147
+ CLASSENTITY_IDS: 49,
148
+ STYLECLASS: 50,
149
+ direction_tb: 51,
150
+ direction_bt: 52,
151
+ direction_rl: 53,
152
+ direction_lr: 54,
153
+ eol: 55,
154
+ ";": 56,
155
+ EDGE_STATE: 57,
156
+ STYLE_SEPARATOR: 58,
157
+ left_of: 59,
158
+ right_of: 60,
159
+ $accept: 0,
160
+ $end: 1
161
+ },
162
+ terminals_: {
163
+ 2: "error",
164
+ 4: "SPACE",
165
+ 5: "NL",
166
+ 6: "SD",
167
+ 14: "DESCR",
168
+ 15: "-->",
169
+ 16: "HIDE_EMPTY",
170
+ 17: "scale",
171
+ 18: "WIDTH",
172
+ 19: "COMPOSIT_STATE",
173
+ 20: "STRUCT_START",
174
+ 21: "STRUCT_STOP",
175
+ 22: "STATE_DESCR",
176
+ 23: "AS",
177
+ 24: "ID",
178
+ 25: "FORK",
179
+ 26: "JOIN",
180
+ 27: "CHOICE",
181
+ 28: "CONCURRENT",
182
+ 29: "note",
183
+ 31: "NOTE_TEXT",
184
+ 33: "acc_title",
185
+ 34: "acc_title_value",
186
+ 35: "acc_descr",
187
+ 36: "acc_descr_value",
188
+ 37: "acc_descr_multiline_value",
189
+ 38: "CLICK",
190
+ 39: "STRING",
191
+ 40: "HREF",
192
+ 41: "classDef",
193
+ 42: "CLASSDEF_ID",
194
+ 43: "CLASSDEF_STYLEOPTS",
195
+ 44: "DEFAULT",
196
+ 45: "style",
197
+ 46: "STYLE_IDS",
198
+ 47: "STYLEDEF_STYLEOPTS",
199
+ 48: "class",
200
+ 49: "CLASSENTITY_IDS",
201
+ 50: "STYLECLASS",
202
+ 51: "direction_tb",
203
+ 52: "direction_bt",
204
+ 53: "direction_rl",
205
+ 54: "direction_lr",
206
+ 56: ";",
207
+ 57: "EDGE_STATE",
208
+ 58: "STYLE_SEPARATOR",
209
+ 59: "left_of",
210
+ 60: "right_of"
211
+ },
212
+ productions_: [
213
+ 0,
214
+ [3, 2],
215
+ [3, 2],
216
+ [3, 2],
217
+ [7, 0],
218
+ [7, 2],
219
+ [8, 2],
220
+ [8, 1],
221
+ [8, 1],
222
+ [9, 1],
223
+ [9, 1],
224
+ [9, 1],
225
+ [9, 1],
226
+ [9, 2],
227
+ [9, 3],
228
+ [9, 4],
229
+ [9, 1],
230
+ [9, 2],
231
+ [9, 1],
232
+ [9, 4],
233
+ [9, 3],
234
+ [9, 6],
235
+ [9, 1],
236
+ [9, 1],
237
+ [9, 1],
238
+ [9, 1],
239
+ [9, 4],
240
+ [9, 4],
241
+ [9, 1],
242
+ [9, 2],
243
+ [9, 2],
244
+ [9, 1],
245
+ [9, 5],
246
+ [9, 5],
247
+ [10, 3],
248
+ [10, 3],
249
+ [11, 3],
250
+ [12, 3],
251
+ [32, 1],
252
+ [32, 1],
253
+ [32, 1],
254
+ [32, 1],
255
+ [55, 1],
256
+ [55, 1],
257
+ [13, 1],
258
+ [13, 1],
259
+ [13, 3],
260
+ [13, 3],
261
+ [30, 1],
262
+ [30, 1]
263
+ ],
264
+ performAction: /* @__PURE__ */ n(function(e, t, n, r, i, a, o) {
265
+ var s = a.length - 1;
266
+ switch (i) {
267
+ case 3: return r.setRootDoc(a[s]), a[s];
268
+ case 4:
269
+ this.$ = [];
270
+ break;
271
+ case 5:
272
+ a[s] != "nl" && (a[s - 1].push(a[s]), this.$ = a[s - 1]);
273
+ break;
274
+ case 6:
275
+ case 7:
276
+ this.$ = a[s];
277
+ break;
278
+ case 8:
279
+ this.$ = "nl";
280
+ break;
281
+ case 12:
282
+ this.$ = a[s];
283
+ break;
284
+ case 13:
285
+ let e = a[s - 1];
286
+ e.description = r.trimColon(a[s]), this.$ = e;
287
+ break;
288
+ case 14:
289
+ this.$ = {
290
+ stmt: "relation",
291
+ state1: a[s - 2],
292
+ state2: a[s]
293
+ };
294
+ break;
295
+ case 15:
296
+ let t = r.trimColon(a[s]);
297
+ this.$ = {
298
+ stmt: "relation",
299
+ state1: a[s - 3],
300
+ state2: a[s - 1],
301
+ description: t
302
+ };
303
+ break;
304
+ case 19:
305
+ this.$ = {
306
+ stmt: "state",
307
+ id: a[s - 3],
308
+ type: "default",
309
+ description: "",
310
+ doc: a[s - 1]
311
+ };
312
+ break;
313
+ case 20:
314
+ var c = a[s], l = a[s - 2].trim();
315
+ if (a[s].match(":")) {
316
+ var u = a[s].split(":");
317
+ c = u[0], l = [l, u[1]];
318
+ }
319
+ this.$ = {
320
+ stmt: "state",
321
+ id: c,
322
+ type: "default",
323
+ description: l
324
+ };
325
+ break;
326
+ case 21:
327
+ this.$ = {
328
+ stmt: "state",
329
+ id: a[s - 3],
330
+ type: "default",
331
+ description: a[s - 5],
332
+ doc: a[s - 1]
333
+ };
334
+ break;
335
+ case 22:
336
+ this.$ = {
337
+ stmt: "state",
338
+ id: a[s],
339
+ type: "fork"
340
+ };
341
+ break;
342
+ case 23:
343
+ this.$ = {
344
+ stmt: "state",
345
+ id: a[s],
346
+ type: "join"
347
+ };
348
+ break;
349
+ case 24:
350
+ this.$ = {
351
+ stmt: "state",
352
+ id: a[s],
353
+ type: "choice"
354
+ };
355
+ break;
356
+ case 25:
357
+ this.$ = {
358
+ stmt: "state",
359
+ id: r.getDividerId(),
360
+ type: "divider"
361
+ };
362
+ break;
363
+ case 26:
364
+ this.$ = {
365
+ stmt: "state",
366
+ id: a[s - 1].trim(),
367
+ note: {
368
+ position: a[s - 2].trim(),
369
+ text: a[s].trim()
370
+ }
371
+ };
372
+ break;
373
+ case 29:
374
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
375
+ break;
376
+ case 30:
377
+ case 31:
378
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
379
+ break;
380
+ case 32:
381
+ this.$ = {
382
+ stmt: "click",
383
+ id: a[s - 3],
384
+ url: a[s - 2],
385
+ tooltip: a[s - 1]
386
+ };
387
+ break;
388
+ case 33:
389
+ this.$ = {
390
+ stmt: "click",
391
+ id: a[s - 3],
392
+ url: a[s - 1],
393
+ tooltip: ""
394
+ };
395
+ break;
396
+ case 34:
397
+ case 35:
398
+ this.$ = {
399
+ stmt: "classDef",
400
+ id: a[s - 1].trim(),
401
+ classes: a[s].trim()
402
+ };
403
+ break;
404
+ case 36:
405
+ this.$ = {
406
+ stmt: "style",
407
+ id: a[s - 1].trim(),
408
+ styleClass: a[s].trim()
409
+ };
410
+ break;
411
+ case 37:
412
+ this.$ = {
413
+ stmt: "applyClass",
414
+ id: a[s - 1].trim(),
415
+ styleClass: a[s].trim()
416
+ };
417
+ break;
418
+ case 38:
419
+ r.setDirection("TB"), this.$ = {
420
+ stmt: "dir",
421
+ value: "TB"
422
+ };
423
+ break;
424
+ case 39:
425
+ r.setDirection("BT"), this.$ = {
426
+ stmt: "dir",
427
+ value: "BT"
428
+ };
429
+ break;
430
+ case 40:
431
+ r.setDirection("RL"), this.$ = {
432
+ stmt: "dir",
433
+ value: "RL"
434
+ };
435
+ break;
436
+ case 41:
437
+ r.setDirection("LR"), this.$ = {
438
+ stmt: "dir",
439
+ value: "LR"
440
+ };
441
+ break;
442
+ case 44:
443
+ case 45:
444
+ this.$ = {
445
+ stmt: "state",
446
+ id: a[s].trim(),
447
+ type: "default",
448
+ description: ""
449
+ };
450
+ break;
451
+ case 46:
452
+ this.$ = {
453
+ stmt: "state",
454
+ id: a[s - 2].trim(),
455
+ classes: [a[s].trim()],
456
+ type: "default",
457
+ description: ""
458
+ };
459
+ break;
460
+ case 47:
461
+ this.$ = {
462
+ stmt: "state",
463
+ id: a[s - 2].trim(),
464
+ classes: [a[s].trim()],
465
+ type: "default",
466
+ description: ""
467
+ };
468
+ break;
469
+ }
470
+ }, "anonymous"),
471
+ table: [
472
+ {
473
+ 3: 1,
474
+ 4: t,
475
+ 5: r,
476
+ 6: i
477
+ },
478
+ { 1: [3] },
479
+ {
480
+ 3: 5,
481
+ 4: t,
482
+ 5: r,
483
+ 6: i
484
+ },
485
+ {
486
+ 3: 6,
487
+ 4: t,
488
+ 5: r,
489
+ 6: i
490
+ },
491
+ e([
492
+ 1,
493
+ 4,
494
+ 5,
495
+ 16,
496
+ 17,
497
+ 19,
498
+ 22,
499
+ 24,
500
+ 25,
501
+ 26,
502
+ 27,
503
+ 28,
504
+ 29,
505
+ 33,
506
+ 35,
507
+ 37,
508
+ 38,
509
+ 41,
510
+ 45,
511
+ 48,
512
+ 51,
513
+ 52,
514
+ 53,
515
+ 54,
516
+ 57
517
+ ], a, { 7: 7 }),
518
+ { 1: [2, 1] },
519
+ { 1: [2, 2] },
520
+ {
521
+ 1: [2, 3],
522
+ 4: o,
523
+ 5: s,
524
+ 8: 8,
525
+ 9: 10,
526
+ 10: 12,
527
+ 11: 13,
528
+ 12: 14,
529
+ 13: 15,
530
+ 16: c,
531
+ 17: l,
532
+ 19: u,
533
+ 22: d,
534
+ 24: f,
535
+ 25: p,
536
+ 26: m,
537
+ 27: h,
538
+ 28: g,
539
+ 29: _,
540
+ 32: 25,
541
+ 33: v,
542
+ 35: y,
543
+ 37: b,
544
+ 38: x,
545
+ 41: S,
546
+ 45: C,
547
+ 48: w,
548
+ 51: T,
549
+ 52: E,
550
+ 53: D,
551
+ 54: O,
552
+ 57: k
553
+ },
554
+ e(A, [2, 5]),
555
+ {
556
+ 9: 39,
557
+ 10: 12,
558
+ 11: 13,
559
+ 12: 14,
560
+ 13: 15,
561
+ 16: c,
562
+ 17: l,
563
+ 19: u,
564
+ 22: d,
565
+ 24: f,
566
+ 25: p,
567
+ 26: m,
568
+ 27: h,
569
+ 28: g,
570
+ 29: _,
571
+ 32: 25,
572
+ 33: v,
573
+ 35: y,
574
+ 37: b,
575
+ 38: x,
576
+ 41: S,
577
+ 45: C,
578
+ 48: w,
579
+ 51: T,
580
+ 52: E,
581
+ 53: D,
582
+ 54: O,
583
+ 57: k
584
+ },
585
+ e(A, [2, 7]),
586
+ e(A, [2, 8]),
587
+ e(A, [2, 9]),
588
+ e(A, [2, 10]),
589
+ e(A, [2, 11]),
590
+ e(A, [2, 12], {
591
+ 14: [1, 40],
592
+ 15: [1, 41]
593
+ }),
594
+ e(A, [2, 16]),
595
+ { 18: [1, 42] },
596
+ e(A, [2, 18], { 20: [1, 43] }),
597
+ { 23: [1, 44] },
598
+ e(A, [2, 22]),
599
+ e(A, [2, 23]),
600
+ e(A, [2, 24]),
601
+ e(A, [2, 25]),
602
+ {
603
+ 30: 45,
604
+ 31: [1, 46],
605
+ 59: [1, 47],
606
+ 60: [1, 48]
607
+ },
608
+ e(A, [2, 28]),
609
+ { 34: [1, 49] },
610
+ { 36: [1, 50] },
611
+ e(A, [2, 31]),
612
+ {
613
+ 13: 51,
614
+ 24: f,
615
+ 57: k
616
+ },
617
+ {
618
+ 42: [1, 52],
619
+ 44: [1, 53]
620
+ },
621
+ { 46: [1, 54] },
622
+ { 49: [1, 55] },
623
+ e(j, [2, 44], { 58: [1, 56] }),
624
+ e(j, [2, 45], { 58: [1, 57] }),
625
+ e(A, [2, 38]),
626
+ e(A, [2, 39]),
627
+ e(A, [2, 40]),
628
+ e(A, [2, 41]),
629
+ e(A, [2, 6]),
630
+ e(A, [2, 13]),
631
+ {
632
+ 13: 58,
633
+ 24: f,
634
+ 57: k
635
+ },
636
+ e(A, [2, 17]),
637
+ e(M, a, { 7: 59 }),
638
+ { 24: [1, 60] },
639
+ { 24: [1, 61] },
640
+ { 23: [1, 62] },
641
+ { 24: [2, 48] },
642
+ { 24: [2, 49] },
643
+ e(A, [2, 29]),
644
+ e(A, [2, 30]),
645
+ {
646
+ 39: [1, 63],
647
+ 40: [1, 64]
648
+ },
649
+ { 43: [1, 65] },
650
+ { 43: [1, 66] },
651
+ { 47: [1, 67] },
652
+ { 50: [1, 68] },
653
+ { 24: [1, 69] },
654
+ { 24: [1, 70] },
655
+ e(A, [2, 14], { 14: [1, 71] }),
656
+ {
657
+ 4: o,
658
+ 5: s,
659
+ 8: 8,
660
+ 9: 10,
661
+ 10: 12,
662
+ 11: 13,
663
+ 12: 14,
664
+ 13: 15,
665
+ 16: c,
666
+ 17: l,
667
+ 19: u,
668
+ 21: [1, 72],
669
+ 22: d,
670
+ 24: f,
671
+ 25: p,
672
+ 26: m,
673
+ 27: h,
674
+ 28: g,
675
+ 29: _,
676
+ 32: 25,
677
+ 33: v,
678
+ 35: y,
679
+ 37: b,
680
+ 38: x,
681
+ 41: S,
682
+ 45: C,
683
+ 48: w,
684
+ 51: T,
685
+ 52: E,
686
+ 53: D,
687
+ 54: O,
688
+ 57: k
689
+ },
690
+ e(A, [2, 20], { 20: [1, 73] }),
691
+ { 31: [1, 74] },
692
+ { 24: [1, 75] },
693
+ { 39: [1, 76] },
694
+ { 39: [1, 77] },
695
+ e(A, [2, 34]),
696
+ e(A, [2, 35]),
697
+ e(A, [2, 36]),
698
+ e(A, [2, 37]),
699
+ e(j, [2, 46]),
700
+ e(j, [2, 47]),
701
+ e(A, [2, 15]),
702
+ e(A, [2, 19]),
703
+ e(M, a, { 7: 78 }),
704
+ e(A, [2, 26]),
705
+ e(A, [2, 27]),
706
+ { 5: [1, 79] },
707
+ { 5: [1, 80] },
708
+ {
709
+ 4: o,
710
+ 5: s,
711
+ 8: 8,
712
+ 9: 10,
713
+ 10: 12,
714
+ 11: 13,
715
+ 12: 14,
716
+ 13: 15,
717
+ 16: c,
718
+ 17: l,
719
+ 19: u,
720
+ 21: [1, 81],
721
+ 22: d,
722
+ 24: f,
723
+ 25: p,
724
+ 26: m,
725
+ 27: h,
726
+ 28: g,
727
+ 29: _,
728
+ 32: 25,
729
+ 33: v,
730
+ 35: y,
731
+ 37: b,
732
+ 38: x,
733
+ 41: S,
734
+ 45: C,
735
+ 48: w,
736
+ 51: T,
737
+ 52: E,
738
+ 53: D,
739
+ 54: O,
740
+ 57: k
741
+ },
742
+ e(A, [2, 32]),
743
+ e(A, [2, 33]),
744
+ e(A, [2, 21])
745
+ ],
746
+ defaultActions: {
747
+ 5: [2, 1],
748
+ 6: [2, 2],
749
+ 47: [2, 48],
750
+ 48: [2, 49]
751
+ },
752
+ parseError: /* @__PURE__ */ n(function(e, t) {
753
+ if (t.recoverable) this.trace(e);
754
+ else {
755
+ var n = Error(e);
756
+ throw n.hash = t, n;
757
+ }
758
+ }, "parseError"),
759
+ parse: /* @__PURE__ */ n(function(e) {
760
+ var t = this, r = [0], i = [], 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: {} };
761
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
762
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
763
+ var v = h.yylloc;
764
+ o.push(v);
765
+ var y = h.options && h.options.ranges;
766
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
767
+ function b(e) {
768
+ r.length -= 2 * e, a.length -= e, o.length -= e;
769
+ }
770
+ n(b, "popStack");
771
+ function x() {
772
+ var e = i.pop() || h.lex() || p;
773
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
774
+ }
775
+ n(x, "lex");
776
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
777
+ if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
778
+ var M = "";
779
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
780
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
781
+ text: h.match,
782
+ token: this.terminals_[S] || S,
783
+ line: h.yylineno,
784
+ loc: v,
785
+ expected: j
786
+ });
787
+ }
788
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
789
+ switch (T[0]) {
790
+ case 1:
791
+ r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
792
+ break;
793
+ case 2:
794
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
795
+ first_line: o[o.length - (k || 1)].first_line,
796
+ last_line: o[o.length - 1].last_line,
797
+ first_column: o[o.length - (k || 1)].first_column,
798
+ last_column: o[o.length - 1].last_column
799
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
800
+ c,
801
+ u,
802
+ l,
803
+ g.yy,
804
+ T[1],
805
+ a,
806
+ o
807
+ ].concat(m)), E !== void 0) return E;
808
+ k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
809
+ break;
810
+ case 3: return !0;
811
+ }
812
+ }
813
+ return !0;
814
+ }, "parse")
815
+ };
816
+ N.lexer = /* @__PURE__ */ (function() {
817
+ return {
818
+ EOF: 1,
819
+ parseError: /* @__PURE__ */ n(function(e, t) {
820
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
821
+ else throw Error(e);
822
+ }, "parseError"),
823
+ setInput: /* @__PURE__ */ n(function(e, t) {
824
+ 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 = {
825
+ first_line: 1,
826
+ first_column: 0,
827
+ last_line: 1,
828
+ last_column: 0
829
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
830
+ }, "setInput"),
831
+ input: /* @__PURE__ */ n(function() {
832
+ var e = this._input[0];
833
+ 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;
834
+ }, "input"),
835
+ unput: /* @__PURE__ */ n(function(e) {
836
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
837
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
838
+ var r = this.match.split(/(?:\r\n?|\n)/g);
839
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
840
+ var i = this.yylloc.range;
841
+ return this.yylloc = {
842
+ first_line: this.yylloc.first_line,
843
+ last_line: this.yylineno + 1,
844
+ first_column: this.yylloc.first_column,
845
+ 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
846
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
847
+ }, "unput"),
848
+ more: /* @__PURE__ */ n(function() {
849
+ return this._more = !0, this;
850
+ }, "more"),
851
+ reject: /* @__PURE__ */ n(function() {
852
+ if (this.options.backtrack_lexer) this._backtrack = !0;
853
+ 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(), {
854
+ text: "",
855
+ token: null,
856
+ line: this.yylineno
857
+ });
858
+ return this;
859
+ }, "reject"),
860
+ less: /* @__PURE__ */ n(function(e) {
861
+ this.unput(this.match.slice(e));
862
+ }, "less"),
863
+ pastInput: /* @__PURE__ */ n(function() {
864
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
865
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
866
+ }, "pastInput"),
867
+ upcomingInput: /* @__PURE__ */ n(function() {
868
+ var e = this.match;
869
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
870
+ }, "upcomingInput"),
871
+ showPosition: /* @__PURE__ */ n(function() {
872
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
873
+ return e + this.upcomingInput() + "\n" + t + "^";
874
+ }, "showPosition"),
875
+ test_match: /* @__PURE__ */ n(function(e, t) {
876
+ var n, r, i;
877
+ if (this.options.backtrack_lexer && (i = {
878
+ yylineno: this.yylineno,
879
+ yylloc: {
880
+ first_line: this.yylloc.first_line,
881
+ last_line: this.last_line,
882
+ first_column: this.yylloc.first_column,
883
+ last_column: this.yylloc.last_column
884
+ },
885
+ yytext: this.yytext,
886
+ match: this.match,
887
+ matches: this.matches,
888
+ matched: this.matched,
889
+ yyleng: this.yyleng,
890
+ offset: this.offset,
891
+ _more: this._more,
892
+ _input: this._input,
893
+ yy: this.yy,
894
+ conditionStack: this.conditionStack.slice(0),
895
+ done: this.done
896
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
897
+ first_line: this.yylloc.last_line,
898
+ last_line: this.yylineno + 1,
899
+ first_column: this.yylloc.last_column,
900
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
901
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
902
+ if (this._backtrack) {
903
+ for (var a in i) this[a] = i[a];
904
+ return !1;
905
+ }
906
+ return !1;
907
+ }, "test_match"),
908
+ next: /* @__PURE__ */ n(function() {
909
+ if (this.done) return this.EOF;
910
+ this._input || (this.done = !0);
911
+ var e, t, n, r;
912
+ this._more || (this.yytext = "", this.match = "");
913
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
914
+ if (t = n, r = a, this.options.backtrack_lexer) {
915
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
916
+ if (this._backtrack) {
917
+ t = !1;
918
+ continue;
919
+ } else return !1;
920
+ } else if (!this.options.flex) break;
921
+ }
922
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
923
+ text: "",
924
+ token: null,
925
+ line: this.yylineno
926
+ });
927
+ }, "next"),
928
+ lex: /* @__PURE__ */ n(function() {
929
+ return this.next() || this.lex();
930
+ }, "lex"),
931
+ begin: /* @__PURE__ */ n(function(e) {
932
+ this.conditionStack.push(e);
933
+ }, "begin"),
934
+ popState: /* @__PURE__ */ n(function() {
935
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
936
+ }, "popState"),
937
+ _currentRules: /* @__PURE__ */ n(function() {
938
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
939
+ }, "_currentRules"),
940
+ topState: /* @__PURE__ */ n(function(e) {
941
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
942
+ }, "topState"),
943
+ pushState: /* @__PURE__ */ n(function(e) {
944
+ this.begin(e);
945
+ }, "pushState"),
946
+ stateStackSize: /* @__PURE__ */ n(function() {
947
+ return this.conditionStack.length;
948
+ }, "stateStackSize"),
949
+ options: { "case-insensitive": !0 },
950
+ performAction: /* @__PURE__ */ n(function(e, t, n, r) {
951
+ switch (n) {
952
+ case 0: return 38;
953
+ case 1: return 40;
954
+ case 2: return 39;
955
+ case 3: return 44;
956
+ case 4: return 51;
957
+ case 5: return 52;
958
+ case 6: return 53;
959
+ case 7: return 54;
960
+ case 8: break;
961
+ case 9: break;
962
+ case 10: return 5;
963
+ case 11: break;
964
+ case 12: break;
965
+ case 13: break;
966
+ case 14: break;
967
+ case 15: return this.pushState("SCALE"), 17;
968
+ case 16: return 18;
969
+ case 17:
970
+ this.popState();
971
+ break;
972
+ case 18: return this.begin("acc_title"), 33;
973
+ case 19: return this.popState(), "acc_title_value";
974
+ case 20: return this.begin("acc_descr"), 35;
975
+ case 21: return this.popState(), "acc_descr_value";
976
+ case 22:
977
+ this.begin("acc_descr_multiline");
978
+ break;
979
+ case 23:
980
+ this.popState();
981
+ break;
982
+ case 24: return "acc_descr_multiline_value";
983
+ case 25: return this.pushState("CLASSDEF"), 41;
984
+ case 26: return this.popState(), this.pushState("CLASSDEFID"), "DEFAULT_CLASSDEF_ID";
985
+ case 27: return this.popState(), this.pushState("CLASSDEFID"), 42;
986
+ case 28: return this.popState(), 43;
987
+ case 29: return this.pushState("CLASS"), 48;
988
+ case 30: return this.popState(), this.pushState("CLASS_STYLE"), 49;
989
+ case 31: return this.popState(), 50;
990
+ case 32: return this.pushState("STYLE"), 45;
991
+ case 33: return this.popState(), this.pushState("STYLEDEF_STYLES"), 46;
992
+ case 34: return this.popState(), 47;
993
+ case 35: return this.pushState("SCALE"), 17;
994
+ case 36: return 18;
995
+ case 37:
996
+ this.popState();
997
+ break;
998
+ case 38:
999
+ this.pushState("STATE");
1000
+ break;
1001
+ case 39: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 25;
1002
+ case 40: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 26;
1003
+ case 41: return this.popState(), t.yytext = t.yytext.slice(0, -10).trim(), 27;
1004
+ case 42: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 25;
1005
+ case 43: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 26;
1006
+ case 44: return this.popState(), t.yytext = t.yytext.slice(0, -10).trim(), 27;
1007
+ case 45: return 51;
1008
+ case 46: return 52;
1009
+ case 47: return 53;
1010
+ case 48: return 54;
1011
+ case 49:
1012
+ this.pushState("STATE_STRING");
1013
+ break;
1014
+ case 50: return this.pushState("STATE_ID"), "AS";
1015
+ case 51: return this.popState(), "ID";
1016
+ case 52:
1017
+ this.popState();
1018
+ break;
1019
+ case 53: return "STATE_DESCR";
1020
+ case 54: return 19;
1021
+ case 55:
1022
+ this.popState();
1023
+ break;
1024
+ case 56: return this.popState(), this.pushState("struct"), 20;
1025
+ case 57: break;
1026
+ case 58: return this.popState(), 21;
1027
+ case 59: break;
1028
+ case 60: return this.begin("NOTE"), 29;
1029
+ case 61: return this.popState(), this.pushState("NOTE_ID"), 59;
1030
+ case 62: return this.popState(), this.pushState("NOTE_ID"), 60;
1031
+ case 63:
1032
+ this.popState(), this.pushState("FLOATING_NOTE");
1033
+ break;
1034
+ case 64: return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
1035
+ case 65: break;
1036
+ case 66: return "NOTE_TEXT";
1037
+ case 67: return this.popState(), "ID";
1038
+ case 68: return this.popState(), this.pushState("NOTE_TEXT"), 24;
1039
+ case 69: return this.popState(), t.yytext = t.yytext.substr(2).trim(), 31;
1040
+ case 70: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 31;
1041
+ case 71: return 6;
1042
+ case 72: return 6;
1043
+ case 73: return 16;
1044
+ case 74: return 57;
1045
+ case 75: return 24;
1046
+ case 76: return t.yytext = t.yytext.trim(), 14;
1047
+ case 77: return 15;
1048
+ case 78: return 28;
1049
+ case 79: return 58;
1050
+ case 80: return 5;
1051
+ case 81: return "INVALID";
1052
+ }
1053
+ }, "anonymous"),
1054
+ rules: [
1055
+ /^(?:click\b)/i,
1056
+ /^(?:href\b)/i,
1057
+ /^(?:"[^"]*")/i,
1058
+ /^(?:default\b)/i,
1059
+ /^(?:.*direction\s+TB[^\n]*)/i,
1060
+ /^(?:.*direction\s+BT[^\n]*)/i,
1061
+ /^(?:.*direction\s+RL[^\n]*)/i,
1062
+ /^(?:.*direction\s+LR[^\n]*)/i,
1063
+ /^(?:%%(?!\{)[^\n]*)/i,
1064
+ /^(?:[^\}]%%[^\n]*)/i,
1065
+ /^(?:[\n]+)/i,
1066
+ /^(?:[\s]+)/i,
1067
+ /^(?:((?!\n)\s)+)/i,
1068
+ /^(?:#[^\n]*)/i,
1069
+ /^(?:%[^\n]*)/i,
1070
+ /^(?:scale\s+)/i,
1071
+ /^(?:\d+)/i,
1072
+ /^(?:\s+width\b)/i,
1073
+ /^(?:accTitle\s*:\s*)/i,
1074
+ /^(?:(?!\n||)*[^\n]*)/i,
1075
+ /^(?:accDescr\s*:\s*)/i,
1076
+ /^(?:(?!\n||)*[^\n]*)/i,
1077
+ /^(?:accDescr\s*\{\s*)/i,
1078
+ /^(?:[\}])/i,
1079
+ /^(?:[^\}]*)/i,
1080
+ /^(?:classDef\s+)/i,
1081
+ /^(?:DEFAULT\s+)/i,
1082
+ /^(?:\w+\s+)/i,
1083
+ /^(?:[^\n]*)/i,
1084
+ /^(?:class\s+)/i,
1085
+ /^(?:(\w+)+((,\s*\w+)*))/i,
1086
+ /^(?:[^\n]*)/i,
1087
+ /^(?:style\s+)/i,
1088
+ /^(?:[\w,]+\s+)/i,
1089
+ /^(?:[^\n]*)/i,
1090
+ /^(?:scale\s+)/i,
1091
+ /^(?:\d+)/i,
1092
+ /^(?:\s+width\b)/i,
1093
+ /^(?:state\s+)/i,
1094
+ /^(?:.*<<fork>>)/i,
1095
+ /^(?:.*<<join>>)/i,
1096
+ /^(?:.*<<choice>>)/i,
1097
+ /^(?:.*\[\[fork\]\])/i,
1098
+ /^(?:.*\[\[join\]\])/i,
1099
+ /^(?:.*\[\[choice\]\])/i,
1100
+ /^(?:.*direction\s+TB[^\n]*)/i,
1101
+ /^(?:.*direction\s+BT[^\n]*)/i,
1102
+ /^(?:.*direction\s+RL[^\n]*)/i,
1103
+ /^(?:.*direction\s+LR[^\n]*)/i,
1104
+ /^(?:["])/i,
1105
+ /^(?:\s*as\s+)/i,
1106
+ /^(?:[^\n\{]*)/i,
1107
+ /^(?:["])/i,
1108
+ /^(?:[^"]*)/i,
1109
+ /^(?:[^\n\s\{]+)/i,
1110
+ /^(?:\n)/i,
1111
+ /^(?:\{)/i,
1112
+ /^(?:%%(?!\{)[^\n]*)/i,
1113
+ /^(?:\})/i,
1114
+ /^(?:[\n])/i,
1115
+ /^(?:note\s+)/i,
1116
+ /^(?:left of\b)/i,
1117
+ /^(?:right of\b)/i,
1118
+ /^(?:")/i,
1119
+ /^(?:\s*as\s*)/i,
1120
+ /^(?:["])/i,
1121
+ /^(?:[^"]*)/i,
1122
+ /^(?:[^\n]*)/i,
1123
+ /^(?:\s*[^:\n\s\-]+)/i,
1124
+ /^(?:\s*:[^:\n;]+)/i,
1125
+ /^(?:[\s\S]*?end note\b)/i,
1126
+ /^(?:stateDiagram\s+)/i,
1127
+ /^(?:stateDiagram-v2\s+)/i,
1128
+ /^(?:hide empty description\b)/i,
1129
+ /^(?:\[\*\])/i,
1130
+ /^(?:[^:\n\s\-\{]+)/i,
1131
+ /^(?:\s*:[^:\n;]+)/i,
1132
+ /^(?:-->)/i,
1133
+ /^(?:--)/i,
1134
+ /^(?::::)/i,
1135
+ /^(?:$)/i,
1136
+ /^(?:.)/i
1137
+ ],
1138
+ conditions: {
1139
+ LINE: {
1140
+ rules: [12, 13],
1141
+ inclusive: !1
1142
+ },
1143
+ struct: {
1144
+ rules: [
1145
+ 12,
1146
+ 13,
1147
+ 25,
1148
+ 29,
1149
+ 32,
1150
+ 38,
1151
+ 45,
1152
+ 46,
1153
+ 47,
1154
+ 48,
1155
+ 57,
1156
+ 58,
1157
+ 59,
1158
+ 60,
1159
+ 74,
1160
+ 75,
1161
+ 76,
1162
+ 77,
1163
+ 78
1164
+ ],
1165
+ inclusive: !1
1166
+ },
1167
+ FLOATING_NOTE_ID: {
1168
+ rules: [67],
1169
+ inclusive: !1
1170
+ },
1171
+ FLOATING_NOTE: {
1172
+ rules: [
1173
+ 64,
1174
+ 65,
1175
+ 66
1176
+ ],
1177
+ inclusive: !1
1178
+ },
1179
+ NOTE_TEXT: {
1180
+ rules: [69, 70],
1181
+ inclusive: !1
1182
+ },
1183
+ NOTE_ID: {
1184
+ rules: [68],
1185
+ inclusive: !1
1186
+ },
1187
+ NOTE: {
1188
+ rules: [
1189
+ 61,
1190
+ 62,
1191
+ 63
1192
+ ],
1193
+ inclusive: !1
1194
+ },
1195
+ STYLEDEF_STYLEOPTS: {
1196
+ rules: [],
1197
+ inclusive: !1
1198
+ },
1199
+ STYLEDEF_STYLES: {
1200
+ rules: [34],
1201
+ inclusive: !1
1202
+ },
1203
+ STYLE_IDS: {
1204
+ rules: [],
1205
+ inclusive: !1
1206
+ },
1207
+ STYLE: {
1208
+ rules: [33],
1209
+ inclusive: !1
1210
+ },
1211
+ CLASS_STYLE: {
1212
+ rules: [31],
1213
+ inclusive: !1
1214
+ },
1215
+ CLASS: {
1216
+ rules: [30],
1217
+ inclusive: !1
1218
+ },
1219
+ CLASSDEFID: {
1220
+ rules: [28],
1221
+ inclusive: !1
1222
+ },
1223
+ CLASSDEF: {
1224
+ rules: [26, 27],
1225
+ inclusive: !1
1226
+ },
1227
+ acc_descr_multiline: {
1228
+ rules: [23, 24],
1229
+ inclusive: !1
1230
+ },
1231
+ acc_descr: {
1232
+ rules: [21],
1233
+ inclusive: !1
1234
+ },
1235
+ acc_title: {
1236
+ rules: [19],
1237
+ inclusive: !1
1238
+ },
1239
+ SCALE: {
1240
+ rules: [
1241
+ 16,
1242
+ 17,
1243
+ 36,
1244
+ 37
1245
+ ],
1246
+ inclusive: !1
1247
+ },
1248
+ ALIAS: {
1249
+ rules: [],
1250
+ inclusive: !1
1251
+ },
1252
+ STATE_ID: {
1253
+ rules: [51],
1254
+ inclusive: !1
1255
+ },
1256
+ STATE_STRING: {
1257
+ rules: [52, 53],
1258
+ inclusive: !1
1259
+ },
1260
+ FORK_STATE: {
1261
+ rules: [],
1262
+ inclusive: !1
1263
+ },
1264
+ STATE: {
1265
+ rules: [
1266
+ 12,
1267
+ 13,
1268
+ 39,
1269
+ 40,
1270
+ 41,
1271
+ 42,
1272
+ 43,
1273
+ 44,
1274
+ 49,
1275
+ 50,
1276
+ 54,
1277
+ 55,
1278
+ 56
1279
+ ],
1280
+ inclusive: !1
1281
+ },
1282
+ ID: {
1283
+ rules: [12, 13],
1284
+ inclusive: !1
1285
+ },
1286
+ INITIAL: {
1287
+ rules: [
1288
+ 0,
1289
+ 1,
1290
+ 2,
1291
+ 3,
1292
+ 4,
1293
+ 5,
1294
+ 6,
1295
+ 7,
1296
+ 8,
1297
+ 9,
1298
+ 10,
1299
+ 11,
1300
+ 13,
1301
+ 14,
1302
+ 15,
1303
+ 18,
1304
+ 20,
1305
+ 22,
1306
+ 25,
1307
+ 29,
1308
+ 32,
1309
+ 35,
1310
+ 38,
1311
+ 56,
1312
+ 60,
1313
+ 71,
1314
+ 72,
1315
+ 73,
1316
+ 74,
1317
+ 75,
1318
+ 76,
1319
+ 77,
1320
+ 79,
1321
+ 80,
1322
+ 81
1323
+ ],
1324
+ inclusive: !0
1325
+ }
1326
+ }
1327
+ };
1328
+ })();
1329
+ function P() {
1330
+ this.yy = {};
1331
+ }
1332
+ return n(P, "Parser"), P.prototype = N, N.Parser = P, new P();
1333
+ })();
1334
+ g.parser = g;
1335
+ var _ = g, v = "TB", y = "TB", b = "dir", x = "state", S = "root", C = "relation", w = "classDef", T = "style", E = "applyClass", D = "default", O = "divider", k = "fill:none", A = "fill: #333", j = "c", M = "text", N = "normal", P = "rect", F = "rectWithTitle", ee = "stateStart", te = "stateEnd", I = "divider", L = "roundedWithTitle", ne = "note", re = "noteGroup", R = "statediagram", ie = `${R}-state`, ae = "transition", oe = "note", se = `${ae} note-edge`, ce = `${R}-${oe}`, le = `${R}-cluster`, ue = `${R}-cluster-alt`, z = "parent", B = "note", de = "state", V = "----", fe = `${V}${B}`, H = `${V}${z}`, U = /* @__PURE__ */ n((e, t = y) => {
1336
+ if (!e.doc) return t;
1337
+ let n = t;
1338
+ for (let t of e.doc) t.stmt === "dir" && (n = t.value);
1339
+ return n;
1340
+ }, "getDir"), pe = {
1341
+ getClasses: /* @__PURE__ */ n(function(e, t) {
1342
+ return t.db.getClasses();
1343
+ }, "getClasses"),
1344
+ draw: /* @__PURE__ */ n(async function(n, r, i, a) {
1345
+ t.info("REF0:"), t.info("Drawing state diagram (v2)", r);
1346
+ let { securityLevel: o, state: s, layout: l } = c();
1347
+ a.db.extract(a.db.getRootDocV2());
1348
+ let u = a.db.getData(), d = m(r, o);
1349
+ u.type = a.type, u.layoutAlgorithm = l, u.nodeSpacing = s?.nodeSpacing || 50, u.rankSpacing = s?.rankSpacing || 50, u.markers = ["barb"], u.diagramId = r, await e(u, d);
1350
+ try {
1351
+ (typeof a.db.getLinks == "function" ? a.db.getLinks() : /* @__PURE__ */ new Map()).forEach((e, n) => {
1352
+ let r = typeof n == "string" ? n : typeof n?.id == "string" ? n.id : "";
1353
+ if (!r) {
1354
+ t.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(n));
1355
+ return;
1356
+ }
1357
+ let i = d.node()?.querySelectorAll("g"), a;
1358
+ if (i?.forEach((e) => {
1359
+ e.textContent?.trim() === r && (a = e);
1360
+ }), !a) {
1361
+ t.warn("⚠️ Could not find node matching text:", r);
1362
+ return;
1363
+ }
1364
+ let o = a.parentNode;
1365
+ if (!o) {
1366
+ t.warn("⚠️ Node has no parent, cannot wrap:", r);
1367
+ return;
1368
+ }
1369
+ let s = document.createElementNS("http://www.w3.org/2000/svg", "a"), c = e.url.replace(/^"+|"+$/g, "");
1370
+ if (s.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", c), s.setAttribute("target", "_blank"), e.tooltip) {
1371
+ let t = e.tooltip.replace(/^"+|"+$/g, "");
1372
+ s.setAttribute("title", t);
1373
+ }
1374
+ o.replaceChild(s, a), s.appendChild(a), t.info("🔗 Wrapped node in <a> tag for:", r, e.url);
1375
+ });
1376
+ } catch (e) {
1377
+ t.error("❌ Error injecting clickable links:", e);
1378
+ }
1379
+ f.insertTitle(d, "statediagramTitleText", s?.titleTopMargin ?? 25, a.db.getDiagramTitle()), h(d, 8, R, s?.useMaxWidth ?? !0);
1380
+ }, "draw"),
1381
+ getDir: U
1382
+ }, W = /* @__PURE__ */ new Map(), G = 0;
1383
+ function K(e = "", t = 0, n = "", r = V) {
1384
+ return `${de}-${e}${n !== null && n.length > 0 ? `${r}${n}` : ""}-${t}`;
1385
+ }
1386
+ n(K, "stateDomId");
1387
+ var me = /* @__PURE__ */ n((e, n, r, i, a, o, s, u) => {
1388
+ t.trace("items", n), n.forEach((t) => {
1389
+ switch (t.stmt) {
1390
+ case x:
1391
+ X(e, t, r, i, a, o, s, u);
1392
+ break;
1393
+ case D:
1394
+ X(e, t, r, i, a, o, s, u);
1395
+ break;
1396
+ case C:
1397
+ {
1398
+ X(e, t.state1, r, i, a, o, s, u), X(e, t.state2, r, i, a, o, s, u);
1399
+ let n = {
1400
+ id: "edge" + G,
1401
+ start: t.state1.id,
1402
+ end: t.state2.id,
1403
+ arrowhead: "normal",
1404
+ arrowTypeEnd: "arrow_barb",
1405
+ style: k,
1406
+ labelStyle: "",
1407
+ label: l.sanitizeText(t.description ?? "", c()),
1408
+ arrowheadStyle: A,
1409
+ labelpos: j,
1410
+ labelType: M,
1411
+ thickness: N,
1412
+ classes: ae,
1413
+ look: s
1414
+ };
1415
+ a.push(n), G++;
1416
+ }
1417
+ break;
1418
+ }
1419
+ });
1420
+ }, "setupDoc"), q = /* @__PURE__ */ n((e, t = y) => {
1421
+ let n = t;
1422
+ if (e.doc) for (let t of e.doc) t.stmt === "dir" && (n = t.value);
1423
+ return n;
1424
+ }, "getDir");
1425
+ function J(e, t, n) {
1426
+ if (!t.id || t.id === "</join></fork>" || t.id === "</choice>") return;
1427
+ t.cssClasses && (Array.isArray(t.cssCompiledStyles) || (t.cssCompiledStyles = []), t.cssClasses.split(" ").forEach((e) => {
1428
+ let r = n.get(e);
1429
+ r && (t.cssCompiledStyles = [...t.cssCompiledStyles ?? [], ...r.styles]);
1430
+ }));
1431
+ let r = e.find((e) => e.id === t.id);
1432
+ r ? Object.assign(r, t) : e.push(t);
1433
+ }
1434
+ n(J, "insertOrUpdateNode");
1435
+ function Y(e) {
1436
+ return e?.classes?.join(" ") ?? "";
1437
+ }
1438
+ n(Y, "getClassesFromDbInfo");
1439
+ function he(e) {
1440
+ return e?.styles ?? [];
1441
+ }
1442
+ n(he, "getStylesFromDbInfo");
1443
+ var X = /* @__PURE__ */ n((e, n, r, i, a, o, s, u) => {
1444
+ let d = n.id, f = r.get(d), p = Y(f), m = he(f), h = c();
1445
+ if (t.info("dataFetcher parsedItem", n, f, m), d !== "root") {
1446
+ let r = P;
1447
+ n.start === !0 ? r = ee : n.start === !1 && (r = te), n.type !== D && (r = n.type), W.get(d) || W.set(d, {
1448
+ id: d,
1449
+ shape: r,
1450
+ description: l.sanitizeText(d, h),
1451
+ cssClasses: `${p} ${ie}`,
1452
+ cssStyles: m
1453
+ });
1454
+ let c = W.get(d);
1455
+ n.description && (Array.isArray(c.description) ? (c.shape = F, c.description.push(n.description)) : c.description?.length && c.description.length > 0 ? (c.shape = F, c.description === d ? c.description = [n.description] : c.description = [c.description, n.description]) : (c.shape = P, c.description = n.description), c.description = l.sanitizeTextOrArray(c.description, h)), c.description?.length === 1 && c.shape === F && (c.type === "group" ? c.shape = L : c.shape = P), !c.type && n.doc && (t.info("Setting cluster for XCX", d, q(n)), c.type = "group", c.isGroup = !0, c.dir = q(n), c.shape = n.type === O ? I : L, c.cssClasses = `${c.cssClasses} ${le} ${o ? ue : ""}`);
1456
+ let f = {
1457
+ labelStyle: "",
1458
+ shape: c.shape,
1459
+ label: c.description,
1460
+ cssClasses: c.cssClasses,
1461
+ cssCompiledStyles: [],
1462
+ cssStyles: c.cssStyles,
1463
+ id: d,
1464
+ dir: c.dir,
1465
+ domId: K(d, G),
1466
+ type: c.type,
1467
+ isGroup: c.type === "group",
1468
+ padding: 8,
1469
+ rx: 10,
1470
+ ry: 10,
1471
+ look: s
1472
+ };
1473
+ if (f.shape === I && (f.label = ""), e && e.id !== "root" && (t.trace("Setting node ", d, " to be child of its parent ", e.id), f.parentId = e.id), f.centerLabel = !0, n.note) {
1474
+ let e = {
1475
+ labelStyle: "",
1476
+ shape: ne,
1477
+ label: n.note.text,
1478
+ cssClasses: ce,
1479
+ cssStyles: [],
1480
+ cssCompiledStyles: [],
1481
+ id: d + fe + "-" + G,
1482
+ domId: K(d, G, B),
1483
+ type: c.type,
1484
+ isGroup: c.type === "group",
1485
+ padding: h.flowchart?.padding,
1486
+ look: s,
1487
+ position: n.note.position
1488
+ }, t = d + H, r = {
1489
+ labelStyle: "",
1490
+ shape: re,
1491
+ label: n.note.text,
1492
+ cssClasses: c.cssClasses,
1493
+ cssStyles: [],
1494
+ id: d + H,
1495
+ domId: K(d, G, z),
1496
+ type: "group",
1497
+ isGroup: !0,
1498
+ padding: 16,
1499
+ look: s,
1500
+ position: n.note.position
1501
+ };
1502
+ G++, r.id = t, e.parentId = t, J(i, r, u), J(i, e, u), J(i, f, u);
1503
+ let o = d, l = e.id;
1504
+ n.note.position === "left of" && (o = e.id, l = d), a.push({
1505
+ id: o + "-" + l,
1506
+ start: o,
1507
+ end: l,
1508
+ arrowhead: "none",
1509
+ arrowTypeEnd: "",
1510
+ style: k,
1511
+ labelStyle: "",
1512
+ classes: se,
1513
+ arrowheadStyle: A,
1514
+ labelpos: j,
1515
+ labelType: M,
1516
+ thickness: N,
1517
+ look: s
1518
+ });
1519
+ } else J(i, f, u);
1520
+ }
1521
+ n.doc && (t.trace("Adding nodes children "), me(n, n.doc, r, i, a, !o, s, u));
1522
+ }, "dataFetcher"), ge = /* @__PURE__ */ n(() => {
1523
+ W.clear(), G = 0;
1524
+ }, "reset"), Z = {
1525
+ START_NODE: "[*]",
1526
+ START_TYPE: "start",
1527
+ END_NODE: "[*]",
1528
+ END_TYPE: "end",
1529
+ COLOR_KEYWORD: "color",
1530
+ FILL_KEYWORD: "fill",
1531
+ BG_FILL: "bgFill",
1532
+ STYLECLASS_SEP: ","
1533
+ }, _e = /* @__PURE__ */ n(() => /* @__PURE__ */ new Map(), "newClassesList"), Q = /* @__PURE__ */ n(() => ({
1534
+ relations: [],
1535
+ states: /* @__PURE__ */ new Map(),
1536
+ documents: {}
1537
+ }), "newDoc"), $ = /* @__PURE__ */ n((e) => JSON.parse(JSON.stringify(e)), "clone"), ve = class {
1538
+ constructor(e) {
1539
+ this.version = e, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes = _e(), this.documents = { root: Q() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.dividerCnt = 0, this.links = /* @__PURE__ */ new Map(), this.getAccTitle = u, this.setAccTitle = r, this.getAccDescription = o, this.setAccDescription = d, this.setDiagramTitle = a, this.getDiagramTitle = i, this.clear(), this.setRootDoc = this.setRootDoc.bind(this), this.getDividerId = this.getDividerId.bind(this), this.setDirection = this.setDirection.bind(this), this.trimColon = this.trimColon.bind(this);
1540
+ }
1541
+ static {
1542
+ n(this, "StateDB");
1543
+ }
1544
+ static {
1545
+ this.relationType = {
1546
+ AGGREGATION: 0,
1547
+ EXTENSION: 1,
1548
+ COMPOSITION: 2,
1549
+ DEPENDENCY: 3
1550
+ };
1551
+ }
1552
+ extract(e) {
1553
+ this.clear(!0);
1554
+ for (let t of Array.isArray(e) ? e : e.doc) switch (t.stmt) {
1555
+ case x:
1556
+ this.addState(t.id.trim(), t.type, t.doc, t.description, t.note);
1557
+ break;
1558
+ case C:
1559
+ this.addRelation(t.state1, t.state2, t.description);
1560
+ break;
1561
+ case w:
1562
+ this.addStyleClass(t.id.trim(), t.classes);
1563
+ break;
1564
+ case T:
1565
+ this.handleStyleDef(t);
1566
+ break;
1567
+ case E:
1568
+ this.setCssClass(t.id.trim(), t.styleClass);
1569
+ break;
1570
+ case "click":
1571
+ this.addLink(t.id, t.url, t.tooltip);
1572
+ break;
1573
+ }
1574
+ let t = this.getStates(), n = c();
1575
+ ge(), X(void 0, this.getRootDocV2(), t, this.nodes, this.edges, !0, n.look, this.classes);
1576
+ for (let e of this.nodes) if (Array.isArray(e.label)) {
1577
+ if (e.description = e.label.slice(1), e.isGroup && e.description.length > 0) throw Error(`Group nodes can only have label. Remove the additional description for node [${e.id}]`);
1578
+ e.label = e.label[0];
1579
+ }
1580
+ }
1581
+ handleStyleDef(e) {
1582
+ let t = e.id.trim().split(","), n = e.styleClass.split(",");
1583
+ for (let e of t) {
1584
+ let t = this.getState(e);
1585
+ if (!t) {
1586
+ let n = e.trim();
1587
+ this.addState(n), t = this.getState(n);
1588
+ }
1589
+ t && (t.styles = n.map((e) => e.replace(/;/g, "")?.trim()));
1590
+ }
1591
+ }
1592
+ setRootDoc(e) {
1593
+ t.info("Setting root doc", e), this.rootDoc = e, this.version === 1 ? this.extract(e) : this.extract(this.getRootDocV2());
1594
+ }
1595
+ docTranslator(e, t, n) {
1596
+ if (t.stmt === C) {
1597
+ this.docTranslator(e, t.state1, !0), this.docTranslator(e, t.state2, !1);
1598
+ return;
1599
+ }
1600
+ if (t.stmt === x && (t.id === Z.START_NODE ? (t.id = e.id + (n ? "_start" : "_end"), t.start = n) : t.id = t.id.trim()), t.stmt !== S && t.stmt !== x || !t.doc) return;
1601
+ let r = [], i = [];
1602
+ for (let e of t.doc) if (e.type === O) {
1603
+ let t = $(e);
1604
+ t.doc = $(i), r.push(t), i = [];
1605
+ } else i.push(e);
1606
+ if (r.length > 0 && i.length > 0) {
1607
+ let e = {
1608
+ stmt: x,
1609
+ id: p(),
1610
+ type: "divider",
1611
+ doc: $(i)
1612
+ };
1613
+ r.push($(e)), t.doc = r;
1614
+ }
1615
+ t.doc.forEach((e) => this.docTranslator(t, e, !0));
1616
+ }
1617
+ getRootDocV2() {
1618
+ return this.docTranslator({
1619
+ id: S,
1620
+ stmt: S
1621
+ }, {
1622
+ id: S,
1623
+ stmt: S,
1624
+ doc: this.rootDoc
1625
+ }, !0), {
1626
+ id: S,
1627
+ doc: this.rootDoc
1628
+ };
1629
+ }
1630
+ addState(e, n = D, r = void 0, i = void 0, a = void 0, o = void 0, s = void 0, u = void 0) {
1631
+ let d = e?.trim();
1632
+ if (!this.currentDocument.states.has(d)) t.info("Adding state ", d, i), this.currentDocument.states.set(d, {
1633
+ stmt: x,
1634
+ id: d,
1635
+ descriptions: [],
1636
+ type: n,
1637
+ doc: r,
1638
+ note: a,
1639
+ classes: [],
1640
+ styles: [],
1641
+ textStyles: []
1642
+ });
1643
+ else {
1644
+ let e = this.currentDocument.states.get(d);
1645
+ if (!e) throw Error(`State not found: ${d}`);
1646
+ e.doc ||= r, e.type ||= n;
1647
+ }
1648
+ if (i && (t.info("Setting state description", d, i), (Array.isArray(i) ? i : [i]).forEach((e) => this.addDescription(d, e.trim()))), a) {
1649
+ let e = this.currentDocument.states.get(d);
1650
+ if (!e) throw Error(`State not found: ${d}`);
1651
+ e.note = a, e.note.text = l.sanitizeText(e.note.text, c());
1652
+ }
1653
+ o && (t.info("Setting state classes", d, o), (Array.isArray(o) ? o : [o]).forEach((e) => this.setCssClass(d, e.trim()))), s && (t.info("Setting state styles", d, s), (Array.isArray(s) ? s : [s]).forEach((e) => this.setStyle(d, e.trim()))), u && (t.info("Setting state styles", d, s), (Array.isArray(u) ? u : [u]).forEach((e) => this.setTextStyle(d, e.trim())));
1654
+ }
1655
+ clear(e) {
1656
+ this.nodes = [], this.edges = [], this.documents = { root: Q() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.classes = _e(), e || (this.links = /* @__PURE__ */ new Map(), s());
1657
+ }
1658
+ getState(e) {
1659
+ return this.currentDocument.states.get(e);
1660
+ }
1661
+ getStates() {
1662
+ return this.currentDocument.states;
1663
+ }
1664
+ logDocuments() {
1665
+ t.info("Documents = ", this.documents);
1666
+ }
1667
+ getRelations() {
1668
+ return this.currentDocument.relations;
1669
+ }
1670
+ addLink(e, n, r) {
1671
+ this.links.set(e, {
1672
+ url: n,
1673
+ tooltip: r
1674
+ }), t.warn("Adding link", e, n, r);
1675
+ }
1676
+ getLinks() {
1677
+ return this.links;
1678
+ }
1679
+ startIdIfNeeded(e = "") {
1680
+ return e === Z.START_NODE ? (this.startEndCount++, `${Z.START_TYPE}${this.startEndCount}`) : e;
1681
+ }
1682
+ startTypeIfNeeded(e = "", t = D) {
1683
+ return e === Z.START_NODE ? Z.START_TYPE : t;
1684
+ }
1685
+ endIdIfNeeded(e = "") {
1686
+ return e === Z.END_NODE ? (this.startEndCount++, `${Z.END_TYPE}${this.startEndCount}`) : e;
1687
+ }
1688
+ endTypeIfNeeded(e = "", t = D) {
1689
+ return e === Z.END_NODE ? Z.END_TYPE : t;
1690
+ }
1691
+ addRelationObjs(e, t, n = "") {
1692
+ let r = this.startIdIfNeeded(e.id.trim()), i = this.startTypeIfNeeded(e.id.trim(), e.type), a = this.startIdIfNeeded(t.id.trim()), o = this.startTypeIfNeeded(t.id.trim(), t.type);
1693
+ this.addState(r, i, e.doc, e.description, e.note, e.classes, e.styles, e.textStyles), this.addState(a, o, t.doc, t.description, t.note, t.classes, t.styles, t.textStyles), this.currentDocument.relations.push({
1694
+ id1: r,
1695
+ id2: a,
1696
+ relationTitle: l.sanitizeText(n, c())
1697
+ });
1698
+ }
1699
+ addRelation(e, t, n) {
1700
+ if (typeof e == "object" && typeof t == "object") this.addRelationObjs(e, t, n);
1701
+ else if (typeof e == "string" && typeof t == "string") {
1702
+ let r = this.startIdIfNeeded(e.trim()), i = this.startTypeIfNeeded(e), a = this.endIdIfNeeded(t.trim()), o = this.endTypeIfNeeded(t);
1703
+ this.addState(r, i), this.addState(a, o), this.currentDocument.relations.push({
1704
+ id1: r,
1705
+ id2: a,
1706
+ relationTitle: n ? l.sanitizeText(n, c()) : void 0
1707
+ });
1708
+ }
1709
+ }
1710
+ addDescription(e, t) {
1711
+ let n = this.currentDocument.states.get(e), r = t.startsWith(":") ? t.replace(":", "").trim() : t;
1712
+ n?.descriptions?.push(l.sanitizeText(r, c()));
1713
+ }
1714
+ cleanupLabel(e) {
1715
+ return e.startsWith(":") ? e.slice(2).trim() : e.trim();
1716
+ }
1717
+ getDividerId() {
1718
+ return this.dividerCnt++, `divider-id-${this.dividerCnt}`;
1719
+ }
1720
+ addStyleClass(e, t = "") {
1721
+ this.classes.has(e) || this.classes.set(e, {
1722
+ id: e,
1723
+ styles: [],
1724
+ textStyles: []
1725
+ });
1726
+ let n = this.classes.get(e);
1727
+ t && n && t.split(Z.STYLECLASS_SEP).forEach((e) => {
1728
+ let t = e.replace(/([^;]*);/, "$1").trim();
1729
+ if (RegExp(Z.COLOR_KEYWORD).exec(e)) {
1730
+ let e = t.replace(Z.FILL_KEYWORD, Z.BG_FILL).replace(Z.COLOR_KEYWORD, Z.FILL_KEYWORD);
1731
+ n.textStyles.push(e);
1732
+ }
1733
+ n.styles.push(t);
1734
+ });
1735
+ }
1736
+ getClasses() {
1737
+ return this.classes;
1738
+ }
1739
+ setCssClass(e, t) {
1740
+ e.split(",").forEach((e) => {
1741
+ let n = this.getState(e);
1742
+ if (!n) {
1743
+ let t = e.trim();
1744
+ this.addState(t), n = this.getState(t);
1745
+ }
1746
+ n?.classes?.push(t);
1747
+ });
1748
+ }
1749
+ setStyle(e, t) {
1750
+ this.getState(e)?.styles?.push(t);
1751
+ }
1752
+ setTextStyle(e, t) {
1753
+ this.getState(e)?.textStyles?.push(t);
1754
+ }
1755
+ getDirectionStatement() {
1756
+ return this.rootDoc.find((e) => e.stmt === b);
1757
+ }
1758
+ getDirection() {
1759
+ return this.getDirectionStatement()?.value ?? v;
1760
+ }
1761
+ setDirection(e) {
1762
+ let t = this.getDirectionStatement();
1763
+ t ? t.value = e : this.rootDoc.unshift({
1764
+ stmt: b,
1765
+ value: e
1766
+ });
1767
+ }
1768
+ trimColon(e) {
1769
+ return e.startsWith(":") ? e.slice(1).trim() : e.trim();
1770
+ }
1771
+ getData() {
1772
+ let e = c();
1773
+ return {
1774
+ nodes: this.nodes,
1775
+ edges: this.edges,
1776
+ other: {},
1777
+ config: e,
1778
+ direction: U(this.getRootDocV2())
1779
+ };
1780
+ }
1781
+ getConfig() {
1782
+ return c().state;
1783
+ }
1784
+ }, ye = /* @__PURE__ */ n((e) => `
1785
+ defs #statediagram-barbEnd {
1786
+ fill: ${e.transitionColor};
1787
+ stroke: ${e.transitionColor};
1788
+ }
1789
+ g.stateGroup text {
1790
+ fill: ${e.nodeBorder};
1791
+ stroke: none;
1792
+ font-size: 10px;
1793
+ }
1794
+ g.stateGroup text {
1795
+ fill: ${e.textColor};
1796
+ stroke: none;
1797
+ font-size: 10px;
1798
+
1799
+ }
1800
+ g.stateGroup .state-title {
1801
+ font-weight: bolder;
1802
+ fill: ${e.stateLabelColor};
1803
+ }
1804
+
1805
+ g.stateGroup rect {
1806
+ fill: ${e.mainBkg};
1807
+ stroke: ${e.nodeBorder};
1808
+ }
1809
+
1810
+ g.stateGroup line {
1811
+ stroke: ${e.lineColor};
1812
+ stroke-width: 1;
1813
+ }
1814
+
1815
+ .transition {
1816
+ stroke: ${e.transitionColor};
1817
+ stroke-width: 1;
1818
+ fill: none;
1819
+ }
1820
+
1821
+ .stateGroup .composit {
1822
+ fill: ${e.background};
1823
+ border-bottom: 1px
1824
+ }
1825
+
1826
+ .stateGroup .alt-composit {
1827
+ fill: #e0e0e0;
1828
+ border-bottom: 1px
1829
+ }
1830
+
1831
+ .state-note {
1832
+ stroke: ${e.noteBorderColor};
1833
+ fill: ${e.noteBkgColor};
1834
+
1835
+ text {
1836
+ fill: ${e.noteTextColor};
1837
+ stroke: none;
1838
+ font-size: 10px;
1839
+ }
1840
+ }
1841
+
1842
+ .stateLabel .box {
1843
+ stroke: none;
1844
+ stroke-width: 0;
1845
+ fill: ${e.mainBkg};
1846
+ opacity: 0.5;
1847
+ }
1848
+
1849
+ .edgeLabel .label rect {
1850
+ fill: ${e.labelBackgroundColor};
1851
+ opacity: 0.5;
1852
+ }
1853
+ .edgeLabel {
1854
+ background-color: ${e.edgeLabelBackground};
1855
+ p {
1856
+ background-color: ${e.edgeLabelBackground};
1857
+ }
1858
+ rect {
1859
+ opacity: 0.5;
1860
+ background-color: ${e.edgeLabelBackground};
1861
+ fill: ${e.edgeLabelBackground};
1862
+ }
1863
+ text-align: center;
1864
+ }
1865
+ .edgeLabel .label text {
1866
+ fill: ${e.transitionLabelColor || e.tertiaryTextColor};
1867
+ }
1868
+ .label div .edgeLabel {
1869
+ color: ${e.transitionLabelColor || e.tertiaryTextColor};
1870
+ }
1871
+
1872
+ .stateLabel text {
1873
+ fill: ${e.stateLabelColor};
1874
+ font-size: 10px;
1875
+ font-weight: bold;
1876
+ }
1877
+
1878
+ .node circle.state-start {
1879
+ fill: ${e.specialStateColor};
1880
+ stroke: ${e.specialStateColor};
1881
+ }
1882
+
1883
+ .node .fork-join {
1884
+ fill: ${e.specialStateColor};
1885
+ stroke: ${e.specialStateColor};
1886
+ }
1887
+
1888
+ .node circle.state-end {
1889
+ fill: ${e.innerEndBackground};
1890
+ stroke: ${e.background};
1891
+ stroke-width: 1.5
1892
+ }
1893
+ .end-state-inner {
1894
+ fill: ${e.compositeBackground || e.background};
1895
+ // stroke: ${e.background};
1896
+ stroke-width: 1.5
1897
+ }
1898
+
1899
+ .node rect {
1900
+ fill: ${e.stateBkg || e.mainBkg};
1901
+ stroke: ${e.stateBorder || e.nodeBorder};
1902
+ stroke-width: 1px;
1903
+ }
1904
+ .node polygon {
1905
+ fill: ${e.mainBkg};
1906
+ stroke: ${e.stateBorder || e.nodeBorder};;
1907
+ stroke-width: 1px;
1908
+ }
1909
+ #statediagram-barbEnd {
1910
+ fill: ${e.lineColor};
1911
+ }
1912
+
1913
+ .statediagram-cluster rect {
1914
+ fill: ${e.compositeTitleBackground};
1915
+ stroke: ${e.stateBorder || e.nodeBorder};
1916
+ stroke-width: 1px;
1917
+ }
1918
+
1919
+ .cluster-label, .nodeLabel {
1920
+ color: ${e.stateLabelColor};
1921
+ // line-height: 1;
1922
+ }
1923
+
1924
+ .statediagram-cluster rect.outer {
1925
+ rx: 5px;
1926
+ ry: 5px;
1927
+ }
1928
+ .statediagram-state .divider {
1929
+ stroke: ${e.stateBorder || e.nodeBorder};
1930
+ }
1931
+
1932
+ .statediagram-state .title-state {
1933
+ rx: 5px;
1934
+ ry: 5px;
1935
+ }
1936
+ .statediagram-cluster.statediagram-cluster .inner {
1937
+ fill: ${e.compositeBackground || e.background};
1938
+ }
1939
+ .statediagram-cluster.statediagram-cluster-alt .inner {
1940
+ fill: ${e.altBackground ? e.altBackground : "#efefef"};
1941
+ }
1942
+
1943
+ .statediagram-cluster .inner {
1944
+ rx:0;
1945
+ ry:0;
1946
+ }
1947
+
1948
+ .statediagram-state rect.basic {
1949
+ rx: 5px;
1950
+ ry: 5px;
1951
+ }
1952
+ .statediagram-state rect.divider {
1953
+ stroke-dasharray: 10,10;
1954
+ fill: ${e.altBackground ? e.altBackground : "#efefef"};
1955
+ }
1956
+
1957
+ .note-edge {
1958
+ stroke-dasharray: 5;
1959
+ }
1960
+
1961
+ .statediagram-note rect {
1962
+ fill: ${e.noteBkgColor};
1963
+ stroke: ${e.noteBorderColor};
1964
+ stroke-width: 1px;
1965
+ rx: 0;
1966
+ ry: 0;
1967
+ }
1968
+ .statediagram-note rect {
1969
+ fill: ${e.noteBkgColor};
1970
+ stroke: ${e.noteBorderColor};
1971
+ stroke-width: 1px;
1972
+ rx: 0;
1973
+ ry: 0;
1974
+ }
1975
+
1976
+ .statediagram-note text {
1977
+ fill: ${e.noteTextColor};
1978
+ }
1979
+
1980
+ .statediagram-note .nodeLabel {
1981
+ color: ${e.noteTextColor};
1982
+ }
1983
+ .statediagram .edgeLabel {
1984
+ color: red; // ${e.noteTextColor};
1985
+ }
1986
+
1987
+ #dependencyStart, #dependencyEnd {
1988
+ fill: ${e.lineColor};
1989
+ stroke: ${e.lineColor};
1990
+ stroke-width: 1;
1991
+ }
1992
+
1993
+ .statediagramTitleText {
1994
+ text-anchor: middle;
1995
+ font-size: 18px;
1996
+ fill: ${e.textColor};
1997
+ }
1998
+ `, "getStyles");
1999
+ //#endregion
2000
+ export { ye as i, _ as n, pe as r, ve as t };