@bkm016/basalt 0.1.16 → 0.1.18

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 (647) hide show
  1. package/{chunk-p78wde92.js → chunk-02q61grt.js} +2 -2
  2. package/chunk-03r6s8pm.js +2 -0
  3. package/{chunk-38g4jd6v.js → chunk-09fsdkd3.js} +3 -3
  4. package/{chunk-8r4baw9e.js → chunk-0bg4w7ht.js} +2 -2
  5. package/chunk-0s4r7k7j.js +2 -0
  6. package/chunk-27kw4nth.js +2 -0
  7. package/chunk-2ag9mvms.js +10 -0
  8. package/{chunk-9ew8cap5.js → chunk-2shwjp8q.js} +1 -1
  9. package/chunk-3114vstw.js +2 -0
  10. package/chunk-31meb34a.js +2 -0
  11. package/chunk-34w345mt.js +2 -0
  12. package/{chunk-30dxcr91.js → chunk-3amfr8zp.js} +3 -3
  13. package/chunk-40nk2jjt.js +2 -0
  14. package/{chunk-44a7f5ta.js → chunk-49bz6hg5.js} +5 -5
  15. package/{chunk-e8x8zwkg.js → chunk-4hgkwa4k.js} +2 -2
  16. package/chunk-4wfd77kc.js +2 -0
  17. package/{chunk-9vam83py.js → chunk-55kpabb3.js} +1 -1
  18. package/chunk-5p2asrj6.js +2 -0
  19. package/chunk-65hg0v7e.js +2 -0
  20. package/chunk-67qw30cj.js +3770 -0
  21. package/{chunk-b350b01x.js → chunk-6rehcf49.js} +5 -5
  22. package/chunk-6vkz3wqz.js +25 -0
  23. package/chunk-81yk0kj2.js +3 -0
  24. package/chunk-885vf5kb.js +2 -0
  25. package/{chunk-46vy2m29.js → chunk-8wy08x0d.js} +1 -1
  26. package/chunk-9cqa9trx.js +4 -0
  27. package/chunk-ae45qq4z.js +2 -0
  28. package/chunk-ag3em5yv.js +4 -0
  29. package/chunk-b5k5p49x.js +2 -0
  30. package/chunk-b84vbfjc.js +2 -0
  31. package/{chunk-cs91rmbf.js → chunk-dkpgstr2.js} +7 -7
  32. package/{chunk-4f6p4n7k.js → chunk-dzn4c87v.js} +2 -2
  33. package/{chunk-8np9b2y8.js → chunk-e2m8ap8f.js} +2 -2
  34. package/{chunk-37ndxehw.js → chunk-e5xsyr0n.js} +2 -2
  35. package/chunk-f97ma522.js +3 -0
  36. package/chunk-f9yneea6.js +3 -0
  37. package/{chunk-vqm94hz2.js → chunk-fj56fznw.js} +2 -2
  38. package/{chunk-xf7zw32f.js → chunk-fk43jgwe.js} +5 -5
  39. package/{chunk-mh4bjtfs.js → chunk-frjqjdkx.js} +4 -4
  40. package/{chunk-rqn67tm8.js → chunk-fycz7ap5.js} +1 -1
  41. package/chunk-fzefs6kn.js +3 -0
  42. package/chunk-g1n8k4dg.js +5 -0
  43. package/{chunk-qd2enpr2.js → chunk-g5mdw639.js} +2 -2
  44. package/chunk-gnvx44kj.js +10 -0
  45. package/chunk-gpympx0t.js +467 -0
  46. package/{chunk-b2wpj81x.js → chunk-gyp2jn7d.js} +1 -1
  47. package/{chunk-y0274xr2.js → chunk-hambwbfz.js} +4 -4
  48. package/{chunk-1c9nr9rs.js → chunk-j02kqpvq.js} +2 -2
  49. package/{chunk-ehnc8g6v.js → chunk-j1h7pabk.js} +5 -5
  50. package/{chunk-w55cnj0f.js → chunk-j6hn9qz6.js} +2 -2
  51. package/{chunk-m5km74eq.js → chunk-jfx4c32t.js} +2 -2
  52. package/{chunk-7mgkpn94.js → chunk-jjj8a18b.js} +6 -6
  53. package/{chunk-pdt65s31.js → chunk-k3c32v59.js} +2 -2
  54. package/{chunk-rghqprav.js → chunk-k8j3fvx5.js} +1 -1
  55. package/chunk-kcn3af9r.js +12 -0
  56. package/{chunk-pyj6avd5.js → chunk-keq5kv9b.js} +2 -2
  57. package/{chunk-evnqkyt7.js → chunk-m45dpnd1.js} +12 -12
  58. package/chunk-m4wf04dz.js +15 -0
  59. package/chunk-m8k6t63k.js +2 -0
  60. package/{chunk-0crbhhna.js → chunk-nrggp4x6.js} +1 -1
  61. package/chunk-nt549hv5.js +2 -0
  62. package/{chunk-06s9pr82.js → chunk-pg4mtrdy.js} +2 -2
  63. package/chunk-psr4rxnn.js +20 -0
  64. package/chunk-qhhv81gd.js +2 -0
  65. package/chunk-qprms4rt.js +2 -0
  66. package/chunk-r0pm6dap.js +3 -0
  67. package/{chunk-44b9yx79.js → chunk-rck0kx09.js} +1 -1
  68. package/chunk-rsn8ad6s.js +2 -0
  69. package/{chunk-zhyzhekt.js → chunk-skzh3q1s.js} +1 -1
  70. package/{chunk-g2etemv5.js → chunk-sm4b3q49.js} +2 -2
  71. package/{chunk-g5p9mj1r.js → chunk-ste3ek53.js} +2 -2
  72. package/chunk-t3mq64c8.js +3 -0
  73. package/chunk-trw86cmb.js +11 -0
  74. package/{chunk-tfhp09nj.js → chunk-tv7met41.js} +2 -2
  75. package/{chunk-pna1wh02.js → chunk-w33aapmk.js} +12 -12
  76. package/chunk-wkqrsfrb.js +389 -0
  77. package/chunk-wxngqzqs.js +3 -0
  78. package/chunk-xgfqmm46.js +2 -0
  79. package/{chunk-2eaehpp6.js → chunk-xr77j4f8.js} +3 -3
  80. package/{chunk-c8g9jjqs.js → chunk-ykstnss8.js} +2 -2
  81. package/{chunk-1w4nh5t6.js → chunk-yqv7ej5r.js} +3 -3
  82. package/chunk-z97bcdg2.js +3 -0
  83. package/chunk-z9s7pwv5.js +7 -0
  84. package/compiled.js +9 -9
  85. package/package.json +1 -1
  86. package/ui-test-worker.js +41 -41
  87. package/web/{chunk-75meb0dh.js → chunk-013et20n.js} +2 -2
  88. package/web/chunk-013et20n.js.br +0 -0
  89. package/web/chunk-013et20n.js.gz +0 -0
  90. package/web/chunk-0ernj3c0.js +1 -0
  91. package/web/chunk-0ernj3c0.js.br +0 -0
  92. package/web/chunk-0ernj3c0.js.gz +0 -0
  93. package/web/chunk-0j65yg1p.js +1 -0
  94. package/web/chunk-0j65yg1p.js.br +0 -0
  95. package/web/chunk-0j65yg1p.js.gz +0 -0
  96. package/web/chunk-0khcpaa8.js +1 -0
  97. package/web/chunk-0khcpaa8.js.br +0 -0
  98. package/web/chunk-0khcpaa8.js.gz +0 -0
  99. package/web/chunk-0wbdd74r.js +1 -0
  100. package/web/chunk-0wbdd74r.js.br +2 -0
  101. package/web/chunk-0wbdd74r.js.gz +0 -0
  102. package/web/chunk-1f2wvhq9.js +1 -0
  103. package/web/chunk-1f2wvhq9.js.br +0 -0
  104. package/web/chunk-1f2wvhq9.js.gz +0 -0
  105. package/web/{chunk-75kzvpf3.js → chunk-1q2kmv35.js} +18 -18
  106. package/web/chunk-1q2kmv35.js.br +0 -0
  107. package/web/chunk-1q2kmv35.js.gz +0 -0
  108. package/web/{chunk-36e78034.js → chunk-1tfrm3pk.js} +2 -2
  109. package/web/chunk-1tfrm3pk.js.br +0 -0
  110. package/web/chunk-1tfrm3pk.js.gz +0 -0
  111. package/web/chunk-2qt5fy5n.js +1 -0
  112. package/web/chunk-2qt5fy5n.js.br +0 -0
  113. package/web/chunk-2qt5fy5n.js.gz +0 -0
  114. package/web/chunk-2sxtb709.js +1 -0
  115. package/web/chunk-2sxtb709.js.br +0 -0
  116. package/web/chunk-2sxtb709.js.gz +0 -0
  117. package/web/chunk-2wrwm0qe.js +1 -0
  118. package/web/chunk-2wrwm0qe.js.br +0 -0
  119. package/web/chunk-2wrwm0qe.js.gz +0 -0
  120. package/web/{chunk-5sss3r97.js → chunk-2wwj27b9.js} +3 -3
  121. package/web/chunk-2wwj27b9.js.br +0 -0
  122. package/web/chunk-2wwj27b9.js.gz +0 -0
  123. package/web/chunk-33mmrjdp.js +1 -0
  124. package/web/chunk-33mmrjdp.js.br +2 -0
  125. package/web/chunk-33mmrjdp.js.gz +0 -0
  126. package/web/chunk-33tb7q04.js +2 -0
  127. package/web/chunk-33tb7q04.js.br +0 -0
  128. package/web/chunk-33tb7q04.js.gz +0 -0
  129. package/web/chunk-3txb4sha.js +1 -0
  130. package/web/chunk-3txb4sha.js.br +0 -0
  131. package/web/chunk-3txb4sha.js.gz +0 -0
  132. package/web/{chunk-n3f5a91k.js → chunk-3xgfsx7y.js} +2 -2
  133. package/web/chunk-3xgfsx7y.js.br +0 -0
  134. package/web/chunk-3xgfsx7y.js.gz +0 -0
  135. package/web/chunk-40jka4r7.js +2 -0
  136. package/web/chunk-40jka4r7.js.br +0 -0
  137. package/web/chunk-40jka4r7.js.gz +0 -0
  138. package/web/{chunk-mcm3t5wr.js → chunk-41vh5n86.js} +1 -1
  139. package/web/chunk-41vh5n86.js.br +0 -0
  140. package/web/chunk-41vh5n86.js.gz +0 -0
  141. package/web/chunk-4wd9r73y.js.br +0 -0
  142. package/web/chunk-4wd9r73y.js.gz +0 -0
  143. package/web/chunk-5kz048x3.js +2 -0
  144. package/web/chunk-5kz048x3.js.br +0 -0
  145. package/web/chunk-5kz048x3.js.gz +0 -0
  146. package/web/chunk-5mbz8yj9.js +3 -0
  147. package/web/chunk-5mbz8yj9.js.br +0 -0
  148. package/web/chunk-5mbz8yj9.js.gz +0 -0
  149. package/web/chunk-6024wfxb.js +30 -0
  150. package/web/chunk-6024wfxb.js.br +0 -0
  151. package/web/chunk-6024wfxb.js.gz +0 -0
  152. package/web/chunk-6ey4c6gw.js +2 -0
  153. package/web/chunk-6ey4c6gw.js.br +0 -0
  154. package/web/chunk-6ey4c6gw.js.gz +0 -0
  155. package/web/chunk-6q3p851n.js +1 -0
  156. package/web/chunk-6q3p851n.js.br +2 -0
  157. package/web/chunk-6q3p851n.js.gz +0 -0
  158. package/web/{chunk-qbhv18t0.js → chunk-74g3wh08.js} +2 -2
  159. package/web/chunk-74g3wh08.js.br +0 -0
  160. package/web/chunk-74g3wh08.js.gz +0 -0
  161. package/web/{chunk-vcnsvj49.js → chunk-78akzkgs.js} +14 -14
  162. package/web/chunk-78akzkgs.js.br +0 -0
  163. package/web/chunk-78akzkgs.js.gz +0 -0
  164. package/web/chunk-7ck99bsp.js +62 -0
  165. package/web/chunk-7ck99bsp.js.br +0 -0
  166. package/web/chunk-7ck99bsp.js.gz +0 -0
  167. package/web/chunk-7fjbyns9.js +1 -0
  168. package/web/chunk-7fjbyns9.js.br +0 -0
  169. package/web/chunk-7fjbyns9.js.gz +0 -0
  170. package/web/chunk-7n6b2xra.js +21 -0
  171. package/web/chunk-7n6b2xra.js.br +0 -0
  172. package/web/chunk-7n6b2xra.js.gz +0 -0
  173. package/web/chunk-7p4mcqkd.js +78 -0
  174. package/web/chunk-7p4mcqkd.js.br +0 -0
  175. package/web/chunk-7p4mcqkd.js.gz +0 -0
  176. package/web/chunk-7ztwkhg5.js +1 -0
  177. package/web/chunk-7ztwkhg5.js.br +0 -0
  178. package/web/chunk-7ztwkhg5.js.gz +0 -0
  179. package/web/{chunk-t89tfrpj.js → chunk-823etvc3.js} +19 -19
  180. package/web/chunk-823etvc3.js.br +0 -0
  181. package/web/chunk-823etvc3.js.gz +0 -0
  182. package/web/{chunk-ps489yjy.js → chunk-8ec53vjd.js} +1 -1
  183. package/web/chunk-8ec53vjd.js.br +0 -0
  184. package/web/chunk-8ec53vjd.js.gz +0 -0
  185. package/web/chunk-8g239029.js.br +0 -0
  186. package/web/chunk-8g239029.js.gz +0 -0
  187. package/web/{chunk-p0jghn6b.js → chunk-8g55ytgz.js} +1 -1
  188. package/web/chunk-8g55ytgz.js.br +0 -0
  189. package/web/chunk-8g55ytgz.js.gz +0 -0
  190. package/web/chunk-8nxjthxc.js +1 -0
  191. package/web/chunk-8nxjthxc.js.br +0 -0
  192. package/web/chunk-8nxjthxc.js.gz +0 -0
  193. package/web/chunk-8q76yd76.js +291 -0
  194. package/web/chunk-8q76yd76.js.br +0 -0
  195. package/web/chunk-8q76yd76.js.gz +0 -0
  196. package/web/chunk-9kbrjmtz.js +1 -0
  197. package/web/chunk-9kbrjmtz.js.br +0 -0
  198. package/web/chunk-9kbrjmtz.js.gz +0 -0
  199. package/web/chunk-9s4bh6qm.js +40 -0
  200. package/web/chunk-9s4bh6qm.js.br +0 -0
  201. package/web/chunk-9s4bh6qm.js.gz +0 -0
  202. package/web/chunk-9v1f6yc8.js.br +0 -0
  203. package/web/chunk-9v1f6yc8.js.gz +0 -0
  204. package/web/{chunk-a205cj09.js → chunk-9vf3zy3d.js} +2 -2
  205. package/web/chunk-9vf3zy3d.js.br +0 -0
  206. package/web/chunk-9vf3zy3d.js.gz +0 -0
  207. package/web/{chunk-ef03t1mb.js → chunk-a449xjq6.js} +6 -6
  208. package/web/chunk-a449xjq6.js.br +0 -0
  209. package/web/chunk-a449xjq6.js.gz +0 -0
  210. package/web/chunk-ad6x47yy.js.br +0 -0
  211. package/web/chunk-ad6x47yy.js.gz +0 -0
  212. package/web/chunk-b05eay33.js +1 -0
  213. package/web/chunk-b05eay33.js.br +0 -0
  214. package/web/chunk-b05eay33.js.gz +0 -0
  215. package/web/{chunk-tfsrk2rc.js → chunk-bdypt5mj.js} +55 -55
  216. package/web/chunk-bdypt5mj.js.br +0 -0
  217. package/web/chunk-bdypt5mj.js.gz +0 -0
  218. package/web/chunk-bvyjy17t.js +14 -0
  219. package/web/chunk-bvyjy17t.js.br +0 -0
  220. package/web/chunk-bvyjy17t.js.gz +0 -0
  221. package/web/{chunk-ctmxm4qd.js → chunk-ccy2q2z0.js} +2 -2
  222. package/web/chunk-ccy2q2z0.js.br +0 -0
  223. package/web/chunk-ccy2q2z0.js.gz +0 -0
  224. package/web/{chunk-wvt76598.js → chunk-ceg13tma.js} +2 -2
  225. package/web/chunk-ceg13tma.js.br +0 -0
  226. package/web/chunk-ceg13tma.js.gz +0 -0
  227. package/web/{chunk-z2hvvkf5.js → chunk-ch60a61d.js} +2 -2
  228. package/web/chunk-ch60a61d.js.br +0 -0
  229. package/web/chunk-ch60a61d.js.gz +0 -0
  230. package/web/chunk-czvdg0c5.js +1 -0
  231. package/web/chunk-czvdg0c5.js.br +0 -0
  232. package/web/chunk-czvdg0c5.js.gz +0 -0
  233. package/web/chunk-d18r4m14.js.br +0 -0
  234. package/web/chunk-d18r4m14.js.gz +0 -0
  235. package/web/chunk-dmqtdeb4.js.br +0 -0
  236. package/web/chunk-dmqtdeb4.js.gz +0 -0
  237. package/web/chunk-drr7mqg2.js +1 -0
  238. package/web/chunk-drr7mqg2.js.br +0 -0
  239. package/web/chunk-drr7mqg2.js.gz +0 -0
  240. package/web/{chunk-chh8bg2h.js → chunk-dsa5m3h6.js} +34 -34
  241. package/web/chunk-dsa5m3h6.js.br +0 -0
  242. package/web/chunk-dsa5m3h6.js.gz +0 -0
  243. package/web/chunk-dww3grm3.js +24 -0
  244. package/web/chunk-dww3grm3.js.br +0 -0
  245. package/web/chunk-dww3grm3.js.gz +0 -0
  246. package/web/chunk-e187gt5x.js +1 -0
  247. package/web/chunk-e187gt5x.js.br +0 -0
  248. package/web/chunk-e187gt5x.js.gz +0 -0
  249. package/web/{chunk-pf65cank.js → chunk-emxa4wv3.js} +2 -2
  250. package/web/chunk-emxa4wv3.js.br +0 -0
  251. package/web/chunk-emxa4wv3.js.gz +0 -0
  252. package/web/{chunk-gjchc4kg.js → chunk-ey0zwvbx.js} +1 -1
  253. package/web/chunk-ey0zwvbx.js.br +0 -0
  254. package/web/chunk-ey0zwvbx.js.gz +0 -0
  255. package/web/chunk-ey14knbn.js +2 -0
  256. package/web/chunk-ey14knbn.js.br +0 -0
  257. package/web/chunk-ey14knbn.js.gz +0 -0
  258. package/web/chunk-fba06jm8.js +1132 -0
  259. package/web/chunk-fba06jm8.js.br +0 -0
  260. package/web/chunk-fba06jm8.js.gz +0 -0
  261. package/web/chunk-fh56vgfx.js +39 -0
  262. package/web/chunk-fh56vgfx.js.br +0 -0
  263. package/web/chunk-fh56vgfx.js.gz +0 -0
  264. package/web/chunk-ft05x3my.js +169 -0
  265. package/web/chunk-ft05x3my.js.br +0 -0
  266. package/web/chunk-ft05x3my.js.gz +0 -0
  267. package/web/chunk-fzmrnh17.js +303 -0
  268. package/web/chunk-fzmrnh17.js.br +0 -0
  269. package/web/chunk-fzmrnh17.js.gz +0 -0
  270. package/web/{chunk-ybqt106a.js → chunk-gbt7asd7.js} +2 -2
  271. package/web/chunk-gbt7asd7.js.br +0 -0
  272. package/web/chunk-gbt7asd7.js.gz +0 -0
  273. package/web/chunk-gh9fkn3t.js +1 -0
  274. package/web/chunk-gh9fkn3t.js.br +2 -0
  275. package/web/chunk-gh9fkn3t.js.gz +0 -0
  276. package/web/{chunk-sd3cdqcm.js → chunk-h1syyjqq.js} +2 -2
  277. package/web/chunk-h1syyjqq.js.br +0 -0
  278. package/web/chunk-h1syyjqq.js.gz +0 -0
  279. package/web/{chunk-mv5axm2y.js → chunk-h7byk4z3.js} +12 -12
  280. package/web/chunk-h7byk4z3.js.br +0 -0
  281. package/web/chunk-h7byk4z3.js.gz +0 -0
  282. package/web/chunk-hby0hkv4.js +1 -0
  283. package/web/chunk-hby0hkv4.js.br +0 -0
  284. package/web/chunk-hby0hkv4.js.gz +0 -0
  285. package/web/chunk-hjvsp2yx.js +1 -0
  286. package/web/chunk-hjvsp2yx.js.br +0 -0
  287. package/web/chunk-hjvsp2yx.js.gz +0 -0
  288. package/web/chunk-hp167dbv.js.br +0 -0
  289. package/web/chunk-hp167dbv.js.gz +0 -0
  290. package/web/{chunk-qwwqdmhv.js → chunk-hpjzy5ww.js} +1 -1
  291. package/web/chunk-hpjzy5ww.js.br +0 -0
  292. package/web/chunk-hpjzy5ww.js.gz +0 -0
  293. package/web/{chunk-1np2aamb.js → chunk-hzfp8kqx.js} +11 -11
  294. package/web/chunk-hzfp8kqx.js.br +0 -0
  295. package/web/chunk-hzfp8kqx.js.gz +0 -0
  296. package/web/{chunk-5d9veaef.js → chunk-j6jjk46a.js} +2 -2
  297. package/web/chunk-j6jjk46a.js.br +0 -0
  298. package/web/chunk-j6jjk46a.js.gz +0 -0
  299. package/web/chunk-j8f0m1dq.js +1 -0
  300. package/web/chunk-j8f0m1dq.js.br +0 -0
  301. package/web/chunk-j8f0m1dq.js.gz +0 -0
  302. package/web/{chunk-t9pg7qf8.js → chunk-jc178ad5.js} +2 -2
  303. package/web/chunk-jc178ad5.js.br +0 -0
  304. package/web/chunk-jc178ad5.js.gz +0 -0
  305. package/web/chunk-jcsf0ke5.js +41 -0
  306. package/web/chunk-jcsf0ke5.js.br +0 -0
  307. package/web/chunk-jcsf0ke5.js.gz +0 -0
  308. package/web/chunk-jg43a2xk.js +139 -0
  309. package/web/chunk-jg43a2xk.js.br +0 -0
  310. package/web/chunk-jg43a2xk.js.gz +0 -0
  311. package/web/chunk-jrgdxqtq.js +7 -0
  312. package/web/chunk-jrgdxqtq.js.br +0 -0
  313. package/web/chunk-jrgdxqtq.js.gz +0 -0
  314. package/web/chunk-js8dvtfg.js +2 -0
  315. package/web/chunk-js8dvtfg.js.br +0 -0
  316. package/web/chunk-js8dvtfg.js.gz +0 -0
  317. package/web/chunk-jt0s9qs7.js +1 -0
  318. package/web/chunk-jt0s9qs7.js.br +0 -0
  319. package/web/chunk-jt0s9qs7.js.gz +0 -0
  320. package/web/chunk-jv5faf88.js +34 -0
  321. package/web/chunk-jv5faf88.js.br +0 -0
  322. package/web/chunk-jv5faf88.js.gz +0 -0
  323. package/web/{chunk-vb2z2azk.js → chunk-k295x81w.js} +79 -79
  324. package/web/chunk-k295x81w.js.br +0 -0
  325. package/web/chunk-k295x81w.js.gz +0 -0
  326. package/web/{chunk-wcj3bxdf.js → chunk-k3aa37pw.js} +2 -2
  327. package/web/chunk-k3aa37pw.js.br +0 -0
  328. package/web/chunk-k3aa37pw.js.gz +0 -0
  329. package/web/{chunk-wgmwgaw4.js → chunk-k6wxwgp1.js} +26 -26
  330. package/web/chunk-k6wxwgp1.js.br +0 -0
  331. package/web/chunk-k6wxwgp1.js.gz +0 -0
  332. package/web/chunk-k9vc7kp2.js +292 -0
  333. package/web/chunk-k9vc7kp2.js.br +0 -0
  334. package/web/chunk-k9vc7kp2.js.gz +0 -0
  335. package/web/chunk-kxyws7q7.js +1 -0
  336. package/web/chunk-kxyws7q7.js.br +0 -0
  337. package/web/chunk-kxyws7q7.js.gz +0 -0
  338. package/web/{chunk-c0hdp2zj.js → chunk-mcgf645h.js} +1 -1
  339. package/web/chunk-mcgf645h.js.br +4 -0
  340. package/web/chunk-mcgf645h.js.gz +0 -0
  341. package/web/{chunk-3gj2t10x.js → chunk-mj3tshy8.js} +31 -31
  342. package/web/chunk-mj3tshy8.js.br +0 -0
  343. package/web/chunk-mj3tshy8.js.gz +0 -0
  344. package/web/chunk-mnb2wdvy.js +24 -0
  345. package/web/chunk-mnb2wdvy.js.br +0 -0
  346. package/web/chunk-mnb2wdvy.js.gz +0 -0
  347. package/web/chunk-ndf58dgc.js +1 -0
  348. package/web/chunk-ndf58dgc.js.br +0 -0
  349. package/web/chunk-ndf58dgc.js.gz +0 -0
  350. package/web/chunk-nhpm5nd5.js +2 -0
  351. package/web/chunk-nhpm5nd5.js.br +0 -0
  352. package/web/chunk-nhpm5nd5.js.gz +0 -0
  353. package/web/chunk-nj0cv1cq.js.br +0 -0
  354. package/web/chunk-nj0cv1cq.js.gz +0 -0
  355. package/web/{chunk-0zyekjym.js → chunk-nwxjdetb.js} +1 -1
  356. package/web/chunk-nwxjdetb.js.br +0 -0
  357. package/web/chunk-nwxjdetb.js.gz +0 -0
  358. package/web/chunk-nyjfcard.js +106 -0
  359. package/web/chunk-nyjfcard.js.br +0 -0
  360. package/web/chunk-nyjfcard.js.gz +0 -0
  361. package/web/chunk-nzey7cpv.js.br +0 -0
  362. package/web/chunk-nzey7cpv.js.gz +0 -0
  363. package/web/{chunk-g8wy9sa6.js → chunk-pcfjcy3a.js} +23 -23
  364. package/web/chunk-pcfjcy3a.js.br +0 -0
  365. package/web/chunk-pcfjcy3a.js.gz +0 -0
  366. package/web/chunk-pry6wdbe.js +1 -0
  367. package/web/chunk-pry6wdbe.js.br +0 -0
  368. package/web/chunk-pry6wdbe.js.gz +0 -0
  369. package/web/chunk-pvahdcgy.js +2 -0
  370. package/web/chunk-pvahdcgy.js.br +0 -0
  371. package/web/chunk-pvahdcgy.js.gz +0 -0
  372. package/web/{chunk-ffn1a0zw.js → chunk-q3njnnef.js} +2 -2
  373. package/web/chunk-q3njnnef.js.br +0 -0
  374. package/web/chunk-q3njnnef.js.gz +0 -0
  375. package/web/chunk-qxvqkkmw.js +1 -0
  376. package/web/chunk-qxvqkkmw.js.br +0 -0
  377. package/web/chunk-qxvqkkmw.js.gz +0 -0
  378. package/web/chunk-qych3sbs.js +1 -0
  379. package/web/chunk-qych3sbs.js.br +0 -0
  380. package/web/chunk-qych3sbs.js.gz +0 -0
  381. package/web/chunk-r1dnh0s8.js.br +0 -0
  382. package/web/chunk-r1dnh0s8.js.gz +0 -0
  383. package/web/chunk-r5eakmw6.js.br +0 -0
  384. package/web/chunk-r5eakmw6.js.gz +0 -0
  385. package/web/chunk-rbmp2e4b.js +1 -0
  386. package/web/chunk-rbmp2e4b.js.br +0 -0
  387. package/web/chunk-rbmp2e4b.js.gz +0 -0
  388. package/web/chunk-rcre1stj.js +1 -0
  389. package/web/chunk-rcre1stj.js.br +0 -0
  390. package/web/chunk-rcre1stj.js.gz +0 -0
  391. package/web/chunk-rdb6091n.js +89 -0
  392. package/web/chunk-rdb6091n.js.br +0 -0
  393. package/web/chunk-rdb6091n.js.gz +0 -0
  394. package/web/chunk-ryw7xnab.js +1 -0
  395. package/web/chunk-ryw7xnab.js.br +0 -0
  396. package/web/chunk-ryw7xnab.js.gz +0 -0
  397. package/web/{chunk-1hx4xtdk.js → chunk-sbbmy02e.js} +2 -2
  398. package/web/chunk-sbbmy02e.js.br +0 -0
  399. package/web/chunk-sbbmy02e.js.gz +0 -0
  400. package/web/{chunk-s0xy00v5.js → chunk-sgbc835w.js} +2 -2
  401. package/web/chunk-sgbc835w.js.br +0 -0
  402. package/web/chunk-sgbc835w.js.gz +0 -0
  403. package/web/chunk-sydy10mb.js +1 -0
  404. package/web/chunk-sydy10mb.js.br +0 -0
  405. package/web/chunk-sydy10mb.js.gz +0 -0
  406. package/web/chunk-t0ywnp5e.js +1 -0
  407. package/web/chunk-t0ywnp5e.js.br +0 -0
  408. package/web/chunk-t0ywnp5e.js.gz +0 -0
  409. package/web/chunk-t6agpn2z.js.br +0 -0
  410. package/web/chunk-t6agpn2z.js.gz +0 -0
  411. package/web/{chunk-hhnhgthx.js → chunk-t72jq97z.js} +2 -2
  412. package/web/chunk-t72jq97z.js.br +0 -0
  413. package/web/chunk-t72jq97z.js.gz +0 -0
  414. package/web/{chunk-6ty9vw27.js → chunk-tfcc9bcz.js} +3 -3
  415. package/web/chunk-tfcc9bcz.js.br +0 -0
  416. package/web/chunk-tfcc9bcz.js.gz +0 -0
  417. package/web/{chunk-27tchdxd.js → chunk-v2bvbgfc.js} +2 -2
  418. package/web/chunk-v2bvbgfc.js.br +0 -0
  419. package/web/chunk-v2bvbgfc.js.gz +0 -0
  420. package/web/{chunk-madrcnm1.js → chunk-v7zq4vc9.js} +5 -5
  421. package/web/chunk-v7zq4vc9.js.br +0 -0
  422. package/web/chunk-v7zq4vc9.js.gz +0 -0
  423. package/web/chunk-vh8pkcem.css.br +0 -0
  424. package/web/chunk-vh8pkcem.css.gz +0 -0
  425. package/web/chunk-vq3sby7x.js +1 -0
  426. package/web/chunk-vq3sby7x.js.br +0 -0
  427. package/web/chunk-vq3sby7x.js.gz +0 -0
  428. package/web/{chunk-vvvd3grf.js → chunk-vszya05r.js} +2 -2
  429. package/web/chunk-vszya05r.js.br +0 -0
  430. package/web/chunk-vszya05r.js.gz +0 -0
  431. package/web/chunk-was9xf03.js +8 -0
  432. package/web/chunk-was9xf03.js.br +0 -0
  433. package/web/chunk-was9xf03.js.gz +0 -0
  434. package/web/chunk-we1v1829.js +2 -0
  435. package/web/chunk-we1v1829.js.br +0 -0
  436. package/web/chunk-we1v1829.js.gz +0 -0
  437. package/web/chunk-wfa1c8dn.js +1 -0
  438. package/web/chunk-wfa1c8dn.js.br +0 -0
  439. package/web/chunk-wfa1c8dn.js.gz +0 -0
  440. package/web/chunk-wg2exnxe.js +1 -0
  441. package/web/chunk-wg2exnxe.js.br +2 -0
  442. package/web/chunk-wg2exnxe.js.gz +0 -0
  443. package/web/chunk-wvd3zj1m.js +70 -0
  444. package/web/chunk-wvd3zj1m.js.br +0 -0
  445. package/web/chunk-wvd3zj1m.js.gz +0 -0
  446. package/web/chunk-wzmxtr30.js +1 -0
  447. package/web/chunk-wzmxtr30.js.br +0 -0
  448. package/web/chunk-wzmxtr30.js.gz +0 -0
  449. package/web/chunk-x815g7yp.js +1 -0
  450. package/web/chunk-x815g7yp.js.br +0 -0
  451. package/web/chunk-x815g7yp.js.gz +0 -0
  452. package/web/{chunk-0qnetvsc.js → chunk-x8ps0p82.js} +14 -14
  453. package/web/chunk-x8ps0p82.js.br +0 -0
  454. package/web/chunk-x8ps0p82.js.gz +0 -0
  455. package/web/{chunk-y2ykn1gm.js → chunk-xea3snym.js} +1 -1
  456. package/web/chunk-xea3snym.js.br +0 -0
  457. package/web/chunk-xea3snym.js.gz +0 -0
  458. package/web/chunk-xet1jjy9.js.br +0 -0
  459. package/web/chunk-xet1jjy9.js.gz +0 -0
  460. package/web/{chunk-vjnvfb8z.js → chunk-xg4v60m7.js} +1 -1
  461. package/web/chunk-xg4v60m7.js.br +0 -0
  462. package/web/chunk-xg4v60m7.js.gz +0 -0
  463. package/web/chunk-xhr9jrjt.js +89 -0
  464. package/web/chunk-xhr9jrjt.js.br +0 -0
  465. package/web/chunk-xhr9jrjt.js.gz +0 -0
  466. package/web/chunk-xp90g2e7.js +36 -0
  467. package/web/chunk-xp90g2e7.js.br +0 -0
  468. package/web/chunk-xp90g2e7.js.gz +0 -0
  469. package/web/{chunk-e229cr90.js → chunk-xs1g97qa.js} +2 -2
  470. package/web/chunk-xs1g97qa.js.br +0 -0
  471. package/web/chunk-xs1g97qa.js.gz +0 -0
  472. package/web/chunk-xyk1wpr4.js +1 -0
  473. package/web/chunk-xyk1wpr4.js.br +3 -0
  474. package/web/chunk-xyk1wpr4.js.gz +0 -0
  475. package/web/chunk-yavbdwyt.js +1 -0
  476. package/web/chunk-yavbdwyt.js.br +0 -0
  477. package/web/chunk-yavbdwyt.js.gz +0 -0
  478. package/web/chunk-yfnhnsxe.js +4 -0
  479. package/web/chunk-yfnhnsxe.js.br +0 -0
  480. package/web/chunk-yfnhnsxe.js.gz +0 -0
  481. package/web/chunk-yk965yth.js +1 -0
  482. package/web/chunk-yk965yth.js.br +0 -0
  483. package/web/chunk-yk965yth.js.gz +0 -0
  484. package/web/{chunk-c1z290wm.js → chunk-ynhcjhsx.js} +2 -2
  485. package/web/chunk-ynhcjhsx.js.br +0 -0
  486. package/web/chunk-ynhcjhsx.js.gz +0 -0
  487. package/web/chunk-ypmm1gts.js +1 -0
  488. package/web/chunk-ypmm1gts.js.br +0 -0
  489. package/web/chunk-ypmm1gts.js.gz +0 -0
  490. package/web/chunk-yssx5a5q.js +1 -0
  491. package/web/chunk-yssx5a5q.js.br +0 -0
  492. package/web/chunk-yssx5a5q.js.gz +0 -0
  493. package/web/chunk-z09emmrb.js.br +0 -0
  494. package/web/chunk-z09emmrb.js.gz +0 -0
  495. package/web/chunk-z0a8cnq8.js +1 -0
  496. package/web/chunk-z0a8cnq8.js.br +0 -0
  497. package/web/chunk-z0a8cnq8.js.gz +0 -0
  498. package/web/{chunk-gaf9brzv.js → chunk-z1afsvbv.js} +2 -2
  499. package/web/chunk-z1afsvbv.js.br +0 -0
  500. package/web/chunk-z1afsvbv.js.gz +0 -0
  501. package/web/{chunk-w60dxtyz.js → chunk-z1ka8jtd.js} +2 -2
  502. package/web/chunk-z1ka8jtd.js.br +0 -0
  503. package/web/chunk-z1ka8jtd.js.gz +0 -0
  504. package/web/chunk-z7tdzen9.js +1 -0
  505. package/web/chunk-z7tdzen9.js.br +0 -0
  506. package/web/chunk-z7tdzen9.js.gz +0 -0
  507. package/web/{chunk-444xfger.js → chunk-zbwjj06m.js} +7 -7
  508. package/web/chunk-zbwjj06m.js.br +0 -0
  509. package/web/chunk-zbwjj06m.js.gz +0 -0
  510. package/web/chunk-zd2j189j.js +1 -0
  511. package/web/chunk-zd2j189j.js.br +0 -0
  512. package/web/chunk-zd2j189j.js.gz +0 -0
  513. package/web/chunk-zfgpq4n4.js +120 -0
  514. package/web/chunk-zfgpq4n4.js.br +0 -0
  515. package/web/chunk-zfgpq4n4.js.gz +0 -0
  516. package/web/chunk-zgas56xw.js +1 -0
  517. package/web/chunk-zgas56xw.js.br +0 -0
  518. package/web/chunk-zgas56xw.js.gz +0 -0
  519. package/web/chunk-zkfepf91.js +1 -0
  520. package/web/chunk-zkfepf91.js.br +0 -0
  521. package/web/chunk-zkfepf91.js.gz +0 -0
  522. package/web/icon-1wgy7kzy.svg.br +0 -0
  523. package/web/icon-1wgy7kzy.svg.gz +0 -0
  524. package/web/icon.svg.br +0 -0
  525. package/web/icon.svg.gz +0 -0
  526. package/web/index.html +11 -1
  527. package/web/index.html.br +0 -0
  528. package/web/index.html.gz +0 -0
  529. package/web/manifest-txf6vfbq.webmanifest.br +0 -0
  530. package/web/manifest-txf6vfbq.webmanifest.gz +0 -0
  531. package/web/manifest.webmanifest.br +0 -0
  532. package/web/manifest.webmanifest.gz +0 -0
  533. package/web/sw.js +146 -27
  534. package/web/sw.js.br +0 -0
  535. package/web/sw.js.gz +0 -0
  536. package/worker.js +1 -1
  537. package/chunk-4hf0r9hv.js +0 -12
  538. package/chunk-4w8j6n7z.js +0 -2
  539. package/chunk-4yxd2kg1.js +0 -3
  540. package/chunk-62ebm0bn.js +0 -2
  541. package/chunk-6ae9810t.js +0 -25
  542. package/chunk-6ef085c1.js +0 -20
  543. package/chunk-6exa9fp7.js +0 -3
  544. package/chunk-73t051r6.js +0 -2
  545. package/chunk-86yr2c0r.js +0 -3
  546. package/chunk-8jn0yax5.js +0 -482
  547. package/chunk-9xjecw6c.js +0 -2
  548. package/chunk-9ymm1gge.js +0 -4172
  549. package/chunk-bjvv3403.js +0 -2
  550. package/chunk-bv96b8q7.js +0 -2
  551. package/chunk-drett6hb.js +0 -2
  552. package/chunk-fzftb4n2.js +0 -10
  553. package/chunk-ge38dhv9.js +0 -3
  554. package/chunk-hggam3je.js +0 -2
  555. package/chunk-nrdszs0g.js +0 -5
  556. package/chunk-pjgt1bdx.js +0 -3
  557. package/chunk-q6tgpaf3.js +0 -2
  558. package/chunk-t33bm5aa.js +0 -2
  559. package/chunk-v9ttcf6r.js +0 -3
  560. package/chunk-vd5332ps.js +0 -2
  561. package/chunk-vv9csar7.js +0 -2
  562. package/chunk-wnd3y4c0.js +0 -10
  563. package/chunk-xba6fr5v.js +0 -2
  564. package/chunk-ypxs8djn.js +0 -2
  565. package/chunk-zcwz44db.js +0 -2
  566. package/web/chunk-0zb330w3.js +0 -89
  567. package/web/chunk-11byy7vm.js +0 -1
  568. package/web/chunk-160x5pv7.js +0 -1
  569. package/web/chunk-19g09ekr.js +0 -40
  570. package/web/chunk-1gzprnyd.js +0 -1
  571. package/web/chunk-1je4p601.js +0 -139
  572. package/web/chunk-1rjtqf8h.js +0 -2
  573. package/web/chunk-1y387f45.js +0 -1
  574. package/web/chunk-23258z1r.js +0 -1
  575. package/web/chunk-27592nd8.js +0 -36
  576. package/web/chunk-2hqmdqn3.js +0 -41
  577. package/web/chunk-2q79n966.js +0 -2
  578. package/web/chunk-2ws74tfa.js +0 -21
  579. package/web/chunk-2z8epr8f.js +0 -34
  580. package/web/chunk-4k62e61g.js +0 -291
  581. package/web/chunk-4z6wma3s.js +0 -78
  582. package/web/chunk-5wkqqa59.js +0 -1
  583. package/web/chunk-5yczs6sb.js +0 -1
  584. package/web/chunk-5yn7mwvt.js +0 -1
  585. package/web/chunk-705tkt2r.js +0 -1
  586. package/web/chunk-753qp8sa.js +0 -4
  587. package/web/chunk-76e3npmd.js +0 -2
  588. package/web/chunk-7p04dn0k.js +0 -1
  589. package/web/chunk-7qq1ypvj.js +0 -1
  590. package/web/chunk-7rb3v8gy.js +0 -1
  591. package/web/chunk-7yz88k97.js +0 -39
  592. package/web/chunk-85d7jkp0.js +0 -2
  593. package/web/chunk-90kgn35s.js +0 -1
  594. package/web/chunk-931y1g0h.js +0 -1
  595. package/web/chunk-at0xtfhy.js +0 -1
  596. package/web/chunk-bcp6na49.js +0 -1145
  597. package/web/chunk-bz1q7qdd.js +0 -8
  598. package/web/chunk-c0evk1xy.js +0 -1
  599. package/web/chunk-cge0cjfm.js +0 -2
  600. package/web/chunk-e9mmkrc3.js +0 -7
  601. package/web/chunk-f8nnrk6y.js +0 -292
  602. package/web/chunk-fcrswzgm.js +0 -106
  603. package/web/chunk-fw4fa7j6.js +0 -1
  604. package/web/chunk-fx8hheqz.js +0 -1
  605. package/web/chunk-gj16e7z0.js +0 -1
  606. package/web/chunk-h0c42zy3.js +0 -1
  607. package/web/chunk-h1y8y203.js +0 -1
  608. package/web/chunk-h6vy008x.js +0 -24
  609. package/web/chunk-h8mhnze5.js +0 -303
  610. package/web/chunk-j27mtdr2.js +0 -1
  611. package/web/chunk-jys02310.js +0 -1
  612. package/web/chunk-kew13yzg.js +0 -1
  613. package/web/chunk-kx5r8nf2.js +0 -1
  614. package/web/chunk-m7c0xk69.js +0 -1
  615. package/web/chunk-mrnx4f74.js +0 -70
  616. package/web/chunk-mtdsrtc5.js +0 -1
  617. package/web/chunk-n3spc397.js +0 -24
  618. package/web/chunk-nbcpbqq4.js +0 -1
  619. package/web/chunk-nhc280n0.js +0 -1
  620. package/web/chunk-nx1bcekh.js +0 -2
  621. package/web/chunk-p8t7s4z4.js +0 -1
  622. package/web/chunk-pgh1cx6w.js +0 -1
  623. package/web/chunk-qgzn0ha5.js +0 -89
  624. package/web/chunk-qtwxq6hj.js +0 -3
  625. package/web/chunk-qwp3dhmf.js +0 -1
  626. package/web/chunk-rjh54ygb.js +0 -120
  627. package/web/chunk-ryh8jdzy.js +0 -1
  628. package/web/chunk-s3t8dkkz.js +0 -1
  629. package/web/chunk-sk1w7f7h.js +0 -1
  630. package/web/chunk-smkrxjm5.js +0 -1
  631. package/web/chunk-sv5ph7fa.js +0 -1
  632. package/web/chunk-t9twxmsg.js +0 -1
  633. package/web/chunk-tfdchqn4.js +0 -62
  634. package/web/chunk-tvvggvjt.js +0 -169
  635. package/web/chunk-ty87gdvr.js +0 -1
  636. package/web/chunk-v16s0x7c.js +0 -1
  637. package/web/chunk-vgyp8wa2.js +0 -2
  638. package/web/chunk-vphzndz8.js +0 -2
  639. package/web/chunk-xtss82z2.js +0 -1
  640. package/web/chunk-y0mef85j.js +0 -1
  641. package/web/chunk-ym9qfsjs.js +0 -30
  642. package/web/chunk-ypdptddq.js +0 -1
  643. package/web/chunk-z08c63ph.js +0 -2
  644. package/web/chunk-z6x74qfh.js +0 -1
  645. package/web/chunk-z86pjpqp.js +0 -1
  646. package/web/chunk-zh0vjc6g.js +0 -1
  647. package/web/chunk-zns9wmab.js +0 -1
Binary file
Binary file
@@ -1,2 +1,2 @@
1
- import{t,a,F}from"./chunk-h8mhnze5.js";var ue=t((e,i,o,h)=>{e.attr("class",o);let{width:r,height:n,x:w,y:x}=u(e,i);F(e,n,r,h);let c=m(w,x,r,n,i);e.attr("viewBox",c),a.debug(`viewBox configured: ${c} with padding: ${i}`)},"setupViewPortForSVG"),u=t((e,i)=>{let o=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:o.width+i*2,height:o.height+i*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),m=t((e,i,o,h,r)=>`${e-r} ${i-r} ${o} ${h}`,"createViewBox");
2
- export{ue};
1
+ import{t,a,G}from"./chunk-fzmrnh17.js";var Re=t((e,i,o,h)=>{e.attr("class",o);let{width:r,height:n,x:w,y:x}=u(e,i);G(e,n,r,h);let c=m(w,x,r,n,i);e.attr("viewBox",c),a.debug(`viewBox configured: ${c} with padding: ${i}`)},"setupViewPortForSVG"),u=t((e,i)=>{let o=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:o.width+i*2,height:o.height+i*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),m=t((e,i,o,h,r)=>`${e-r} ${i-r} ${o} ${h}`,"createViewBox");
2
+ export{Re};
Binary file
Binary file
@@ -1,2 +1,2 @@
1
- import{t,jn,p,Zn}from"./chunk-h8mhnze5.js";import{Ce}from"./chunk-bcp6na49.js";var o=Ce(Zn(),1);var on=t((s,e)=>{let r=s.append("rect");if(r.attr("x",e.x),r.attr("y",e.y),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("width",e.width),r.attr("height",e.height),e.name)r.attr("name",e.name);if(e.rx)r.attr("rx",e.rx);if(e.ry)r.attr("ry",e.ry);if(e.attrs!==void 0)for(let a in e.attrs)r.attr(a,e.attrs[a]);if(e.class)r.attr("class",e.class);return r},"drawRect"),Hr=t((s,e)=>{let r={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};on(s,r).lower()},"drawBackgroundRect"),ho=t((s,e)=>{let r=e.text.replace(jn," "),a=s.append("text");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("class","legend"),a.style("text-anchor",e.anchor),e.class)a.attr("class",e.class);let i=a.append("tspan");return i.attr("x",e.x+e.textMargin*2),i.text(r),a},"drawText"),Ia=t((s,e,r,a)=>{let i=s.append("image");i.attr("x",e),i.attr("y",r);let n=o.sanitizeUrl(a);i.attr("xlink:href",n)},"drawImage"),Da=t((s,e,r,a)=>{let i=s.append("use");i.attr("x",e),i.attr("y",r);let n=o.sanitizeUrl(a);i.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),nt=t(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),Na=t(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),Ft=t(()=>{let s=p(".mermaidTooltip");if(s.empty())s=p("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100");return s},"createTooltip");
2
- export{on,Hr,ho,Ia,Da,nt,Na,Ft};
1
+ import{t,Zr,f,na}from"./chunk-fzmrnh17.js";import{Ye}from"./chunk-fba06jm8.js";var o=Ye(na(),1);var ar=t((s,e)=>{let r=s.append("rect");if(r.attr("x",e.x),r.attr("y",e.y),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("width",e.width),r.attr("height",e.height),e.name)r.attr("name",e.name);if(e.rx)r.attr("rx",e.rx);if(e.ry)r.attr("ry",e.ry);if(e.attrs!==void 0)for(let a in e.attrs)r.attr(a,e.attrs[a]);if(e.class)r.attr("class",e.class);return r},"drawRect"),fi=t((s,e)=>{let r={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};ar(s,r).lower()},"drawBackgroundRect"),Js=t((s,e)=>{let r=e.text.replace(Zr," "),a=s.append("text");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("class","legend"),a.style("text-anchor",e.anchor),e.class)a.attr("class",e.class);let i=a.append("tspan");return i.attr("x",e.x+e.textMargin*2),i.text(r),a},"drawText"),ao=t((s,e,r,a)=>{let i=s.append("image");i.attr("x",e),i.attr("y",r);let n=o.sanitizeUrl(a);i.attr("xlink:href",n)},"drawImage"),io=t((s,e,r,a)=>{let i=s.append("use");i.attr("x",e),i.attr("y",r);let n=o.sanitizeUrl(a);i.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),zt=t(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),oo=t(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),Dn=t(()=>{let s=f(".mermaidTooltip");if(s.empty())s=f("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100");return s},"createTooltip");
2
+ export{ar,fi,Js,ao,io,zt,oo,Dn};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{ks}from"./chunk-bdypt5mj.js";export{ks as createEventModelingServices};
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ function Rn(e,a){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(a).domain(e);break}return this}export{Rn};
Binary file
Binary file
@@ -1,46 +1,46 @@
1
- import{t,a,de,Re,b,C,S,E,T,A,I,R,l,ln,An,p,rt,at,M,ze,pe,le,ce,Xe,Or,ge,ye}from"./chunk-h8mhnze5.js";import{Ft}from"./chunk-z2hvvkf5.js";import{qe}from"./chunk-ffn1a0zw.js";import{Bt}from"./chunk-2q79n966.js";import{he}from"./chunk-76e3npmd.js";import{ue}from"./chunk-wvt76598.js";var Dt={SHAPE_UNSUPPORTED:"SHAPE_UNSUPPORTED",SHAPE_REMOVED:"SHAPE_REMOVED",EDGE_OPERATOR_UNSUPPORTED:"EDGE_OPERATOR_UNSUPPORTED",REFERENCE_EDGE_LABEL_REJECTED:"REFERENCE_EDGE_LABEL_REJECTED",CONNECTOR_REF_UNRESOLVED:"CONNECTOR_REF_UNRESOLVED",CONNECTOR_REF_NOT_A_CONNECTOR:"CONNECTOR_REF_NOT_A_CONNECTOR",METADATA_KEY_MISAPPLIED:"METADATA_KEY_MISAPPLIED",DUPLICATE_ID_NODE:"DUPLICATE_ID_NODE",RESERVED_SYNTHETIC_ID:"RESERVED_SYNTHETIC_ID",CONTAINMENT_VIOLATION:"CONTAINMENT_VIOLATION",EDGE_SEMANTIC_CONTRADICTION:"EDGE_SEMANTIC_CONTRADICTION",FLOW_NO_INPUT:"FLOW_NO_INPUT"},U1=new Set([Dt.SHAPE_UNSUPPORTED,Dt.SHAPE_REMOVED,Dt.CONTAINMENT_VIOLATION]),Ds=new Set(Object.values(Dt).filter((e)=>!U1.has(e))),j1=new Map([["task","roundedRect"],["tool","subroutine"],["input","lean-right"],["decision","diamond"],["refdoc","lin-doc"],["action","hexagon"],["round","rect"]]),z1=new Set(["doc","stadium","terminal","circle","trapezoid","inv_trapezoid","inv-trapezoid","doublecircle","double-circle","typeDeclaration","procs","lean_left","lean-left","in-out","cylinder","ellipse","odd","tag-rect","tagged-rectangle","delay","half-rounded-rectangle","lin-rect","lined-rectangle","win-pane","window-pane","curv-trap","curved-trapezoid"]),W1=new Set(["roundedRect","subroutine","subprocess","subproc","framed-rectangle","lean-right","diamond","lin-doc","lined-document","hexagon","hex","connector","collapsedGroup"]),xt="roundedRect";function Tt(e){if(!e)return e;return j1.get(e)??e}t(Tt,"resolveShapeAlias");function v1(e,r){for(let n of e){if(n.isGroup)continue;if(!n.shape||n.shape==="squareRect"||n.shape==="rect")n.shape=xt;if(z1.has(n.shape)){let o=`shape "${n.shape}" was removed in v0.8.1, using "${xt}"`;if(r?.emitError)r.emitError("SHAPE_REMOVED",o,{nodeId:n.id});else a.warn(`agentflow: ${o}`);n.shape=xt;continue}if(!W1.has(n.shape)){let o=`shape "${n.shape}" is not supported, using "${xt}"`;if(r?.emitWarning)r.emitWarning("SHAPE_UNSUPPORTED",o,{nodeId:n.id});else a.warn(`agentflow: ${o}`);n.shape=xt}}}t(v1,"normaliseNodeShapes");var i1=new Map([["tool",0],["task",1],["decision",2],["input",3],["refdoc",4],["connector",5],["action",6]]),F1=i1.size,V1=t((e)=>`af-kind-${e}`,"kindClass"),K1=[...i1.keys()],I1=t((e)=>Math.max(1,e-F1),"containerSlotCount"),L1=t((e,r)=>{let n=F1+e%I1(r);return r>0?n%r:n},"containerSlot");function B1(e,r,n){let o=l().themeVariables?.borderColorArray,d=Array.isArray(o)?o.length:0,h=n.size;for(let u of e??[]){if(u.isGroup||u.shape==="collapsedGroup"){let x=n.get(String(u.id))??h++;u.colorIndex=L1(x,d);continue}let f=r(String(u.id));if(f&&i1.has(f))u.cssClasses=`${u.cssClasses??""} ${V1(f)}`.replace(/\s+/g," ").trim()}}t(B1,"assignColorSlots");var _1="agentflow-",c1=new Set(["shape","view","icon","img","form","pos","w","h","class","style","labelType"]),H1=new Set(["subroutine","subprocess","subproc","framed-rectangle","tool"]),Y1={flow:"flowGroup"};function s1(e){if(Array.isArray(e))return e.map((n)=>s1(n));if(e===null||typeof e!=="object")return e;let r={};for(let n of Object.keys(e)){if(n==="__proto__"||n==="constructor"||n==="prototype")continue;r[n]=s1(e[n])}return r}t(s1,"stripPrototypeKeys");function M1(e){let r=!1,n=!1,o=0,d,h=[];for(let u of e.split(`
2
- `)){if(d!==void 0){let D=u.length-u.trimStart().length;if(u.trim()===""||D>d){h.push(u);continue}d=void 0}let f=-1;for(let D=0;D<u.length;D++){let v=u[D];if(n){if(v==="\\")D++;else if(v==='"')n=!1}else if(r){if(v==="'")r=!1}else if(v==='"')n=!0;else if(v==="'")r=!0;else if(v==="#"&&(D===0||u[D-1]===" "||u[D-1]==="\t")){f=D;break}else if(v==="["||v==="{")o++;else if(v==="]"||v==="}")o=Math.max(0,o-1)}if(r||n||o>0){h.push(u);continue}let x=f>=0?u.slice(0,f):u,m=f>=0?u.slice(f):"";if(/:\s*[>|][\d+-]*\s*$/.test(x)){d=u.length-u.trimStart().length,h.push(u);continue}h.push(x.replace(/,([\t ]*)$/,"$1")+m)}return h.join(`
3
- `)}t(M1,"stripLineTrailingCommas");var q1=class{constructor(){this.vertexCounter=0,this.config=l(),this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.diagramId="",this.preserveCommentsWhenParsing=!0,this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,this.funs=[],this.setAccTitle=S,this.setAccDescription=T,this.setDiagramTitle=I,this.getAccTitle=E,this.getAccDescription=A,this.getDiagramTitle=R,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.addGlobal=this.addGlobal.bind(this),this.addConnector=this.addConnector.bind(this),this.addConnectorMapping=this.addConnectorMapping.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.setFrontmatterLineOffset=this.setFrontmatterLineOffset.bind(this),this.addVertexMapping=this.addVertexMapping.bind(this),this.extendVertexMapping=this.extendVertexMapping.bind(this),this.addEdgeMapping=this.addEdgeMapping.bind(this),this.addSubgraphMapping=this.addSubgraphMapping.bind(this),this.emitWarning=this.emitWarning.bind(this),this.emitError=this.emitError.bind(this),this.getDiagnostics=this.getDiagnostics.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{t(this,"AgentFlowDB")}sanitizeText(e){return b.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case"markdown":case"string":case"text":return e;default:return"markdown"}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let r of this.vertices.values())if(r.id===e)return this.diagramId?`${this.diagramId}-${r.domId}`:r.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,r,n,o,d,h,u={},f,x){if(!e||e.trim().length===0)return;let m;if(f!==void 0){let _;if(!f.includes(`
4
- `))_=`{
5
- `+f+`
6
- }`;else _=f+`
7
- `;try{m=at(_,{schema:rt})??{}}catch(g){let k=f.includes(`
8
- `)?M1(f):f;if(k!==f)try{m=at(k+`
9
- `,{schema:rt})??{}}catch{this.rethrowMetadataYamlError(g,f,x)}else this.rethrowMetadataYamlError(g,f,x)}m=s1(m)}let D;if(m&&typeof m.shape==="string"){let _=m;D=_.shape;let g=Tt(D);if(g&&g!==D)_.shape=g}let v=this.subGraphLookup.get(e);if(v&&m){v.metadata={...v.metadata,...m};return}let P=this.connectors.get(e);if(P&&m){P.metadata={...P.metadata,...m};return}if(e==="connectors")return;let B=this.edges.find((_)=>_.id===e);if(B){let _=m;if(_?.animate!==void 0)B.animate=_.animate;if(_?.animation!==void 0)B.animation=_.animation;if(_?.curve!==void 0)B.interpolate=_.curve;if(m)B.metadata={...B.metadata,...m};return}let W,w=this.vertices.get(e);if(w===void 0)w={id:e,labelType:"text",domId:_1+e+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,w);if(this.vertexCounter++,r!==void 0){if(this.config=l(),W=this.sanitizeText(r.text.trim()),w.labelType=r.type,W.startsWith('"')&&W.endsWith('"'))W=W.substring(1,W.length-1);w.text=W}else if(w.text===void 0)w.text=e;if(n!==void 0)w.type=n;if(o!==void 0&&o!==null)o.forEach((_)=>{w.styles.push(_)});if(d!==void 0&&d!==null)d.forEach((_)=>{w.classes.push(_)});if(h!==void 0)w.dir=h;if(w.props===void 0)w.props=u;else if(u!==void 0)Object.assign(w.props,u);if(m){if(w.metadata={...w.metadata,...m},m.shape){let _=D??m.shape;if(typeof _!=="string")throw this.positionedShapeError(`No such shape: ${JSON.stringify(_)}.`,x);if(_!==_.toLowerCase()||_.includes("_"))throw this.positionedShapeError(`No such shape: ${_}. Shape names should be lowercase.`,x);else if(!Or(m.shape))throw this.positionedShapeError(`No such shape: ${m.shape}.`,x);w.type=m?.shape}if(m?.label)w.text=this.sanitizeText(m.label),w.labelType=this.sanitizeNodeLabelType(m?.labelType)}}positionedShapeError(e,r){let n=Error(e);if(!r)return n;let o=r.first_line+this.frontmatterLineOffset;return Object.assign(n,{hash:{text:"",token:null,line:o-1,loc:{first_line:o,last_line:r.last_line+this.frontmatterLineOffset,first_column:r.first_column,last_column:r.last_column},expected:[]}}),n}rethrowMetadataYamlError(e,r,n){let o=e;if(!o||o.name!=="YAMLException"||!o.mark||!n)throw e;let d;try{let h=!r.includes(`
10
- `),u=h?`{
1
+ import{t,a,Le,nt,k,A,R,I,L,D,P,N,u,or,Lr,f,Ut,jt,F,vt,Ie,Te,Ee,Lt,Ka,Fe,ze}from"./chunk-fzmrnh17.js";import{Dn}from"./chunk-ch60a61d.js";import{kt}from"./chunk-q3njnnef.js";import{In}from"./chunk-we1v1829.js";import{Be}from"./chunk-pvahdcgy.js";import{Re}from"./chunk-ceg13tma.js";var Ct={SHAPE_UNSUPPORTED:"SHAPE_UNSUPPORTED",SHAPE_REMOVED:"SHAPE_REMOVED",EDGE_OPERATOR_UNSUPPORTED:"EDGE_OPERATOR_UNSUPPORTED",REFERENCE_EDGE_LABEL_REJECTED:"REFERENCE_EDGE_LABEL_REJECTED",CONNECTOR_REF_UNRESOLVED:"CONNECTOR_REF_UNRESOLVED",CONNECTOR_REF_NOT_A_CONNECTOR:"CONNECTOR_REF_NOT_A_CONNECTOR",METADATA_KEY_MISAPPLIED:"METADATA_KEY_MISAPPLIED",DUPLICATE_ID_NODE:"DUPLICATE_ID_NODE",RESERVED_SYNTHETIC_ID:"RESERVED_SYNTHETIC_ID",CONTAINMENT_VIOLATION:"CONTAINMENT_VIOLATION",EDGE_SEMANTIC_CONTRADICTION:"EDGE_SEMANTIC_CONTRADICTION",FLOW_NO_INPUT:"FLOW_NO_INPUT"},P1=new Set([Ct.SHAPE_UNSUPPORTED,Ct.SHAPE_REMOVED,Ct.CONTAINMENT_VIOLATION]),xs=new Set(Object.values(Ct).filter((e)=>!P1.has(e))),G1=new Map([["task","roundedRect"],["tool","subroutine"],["input","lean-right"],["decision","diamond"],["refdoc","lin-doc"],["action","hexagon"],["round","rect"]]),U1=new Set(["doc","stadium","terminal","circle","trapezoid","inv_trapezoid","inv-trapezoid","doublecircle","double-circle","typeDeclaration","procs","lean_left","lean-left","in-out","cylinder","ellipse","odd","tag-rect","tagged-rectangle","delay","half-rounded-rectangle","lin-rect","lined-rectangle","win-pane","window-pane","curv-trap","curved-trapezoid"]),j1=new Set(["roundedRect","subroutine","subprocess","subproc","framed-rectangle","lean-right","diamond","lin-doc","lined-document","hexagon","hex","connector","collapsedGroup"]),At="roundedRect";function Et(e){if(!e)return e;return G1.get(e)??e}t(Et,"resolveShapeAlias");function D1(e,r){for(let n of e){if(n.isGroup)continue;if(!n.shape||n.shape==="squareRect"||n.shape==="rect")n.shape=At;if(U1.has(n.shape)){let o=`shape "${n.shape}" was removed in v0.8.1, using "${At}"`;if(r?.emitError)r.emitError("SHAPE_REMOVED",o,{nodeId:n.id});else a.warn(`agentflow: ${o}`);n.shape=At;continue}if(!j1.has(n.shape)){let o=`shape "${n.shape}" is not supported, using "${At}"`;if(r?.emitWarning)r.emitWarning("SHAPE_UNSUPPORTED",o,{nodeId:n.id});else a.warn(`agentflow: ${o}`);n.shape=At}}}t(D1,"normaliseNodeShapes");var t1=new Map([["tool",0],["task",1],["decision",2],["input",3],["refdoc",4],["connector",5],["action",6]]),_1=t1.size,v1=t((e)=>`af-kind-${e}`,"kindClass"),z1=[...t1.keys()],F1=t((e)=>Math.max(1,e-_1),"containerSlotCount"),V1=t((e,r)=>{let n=_1+e%F1(r);return r>0?n%r:n},"containerSlot");function I1(e,r,n){let o=u().themeVariables?.borderColorArray,d=Array.isArray(o)?o.length:0,h=n.size;for(let l of e??[]){if(l.isGroup||l.shape==="collapsedGroup"){let E=n.get(String(l.id))??h++;l.colorIndex=V1(E,d);continue}let p=r(String(l.id));if(p&&t1.has(p))l.cssClasses=`${l.cssClasses??""} ${v1(p)}`.replace(/\s+/g," ").trim()}}t(I1,"assignColorSlots");var T1="agentflow-",u1=new Set(["shape","view","icon","img","form","pos","w","h","class","style","labelType"]),W1=new Set(["subroutine","subprocess","subproc","framed-rectangle","tool"]),K1={flow:"flowGroup"};function e1(e){if(Array.isArray(e))return e.map((n)=>e1(n));if(e===null||typeof e!=="object")return e;let r={};for(let n of Object.keys(e)){if(n==="__proto__"||n==="constructor"||n==="prototype")continue;r[n]=e1(e[n])}return r}t(e1,"stripPrototypeKeys");function L1(e){let r=!1,n=!1,o=0,d,h=[];for(let l of e.split(`
2
+ `)){if(d!==void 0){let C=l.length-l.trimStart().length;if(l.trim()===""||C>d){h.push(l);continue}d=void 0}let p=-1;for(let C=0;C<l.length;C++){let x=l[C];if(n){if(x==="\\")C++;else if(x==='"')n=!1}else if(r){if(x==="'")r=!1}else if(x==='"')n=!0;else if(x==="'")r=!0;else if(x==="#"&&(C===0||l[C-1]===" "||l[C-1]==="\t")){p=C;break}else if(x==="["||x==="{")o++;else if(x==="]"||x==="}")o=Math.max(0,o-1)}if(r||n||o>0){h.push(l);continue}let E=p>=0?l.slice(0,p):l,m=p>=0?l.slice(p):"";if(/:\s*[>|][\d+-]*\s*$/.test(E)){d=l.length-l.trimStart().length,h.push(l);continue}h.push(E.replace(/,([\t ]*)$/,"$1")+m)}return h.join(`
3
+ `)}t(L1,"stripLineTrailingCommas");var H1=class{constructor(){this.vertexCounter=0,this.config=u(),this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.diagramId="",this.preserveCommentsWhenParsing=!0,this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,this.funs=[],this.setAccTitle=R,this.setAccDescription=L,this.setDiagramTitle=P,this.getAccTitle=I,this.getAccDescription=D,this.getDiagramTitle=N,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.addGlobal=this.addGlobal.bind(this),this.addConnector=this.addConnector.bind(this),this.addConnectorMapping=this.addConnectorMapping.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.setFrontmatterLineOffset=this.setFrontmatterLineOffset.bind(this),this.addVertexMapping=this.addVertexMapping.bind(this),this.extendVertexMapping=this.extendVertexMapping.bind(this),this.addEdgeMapping=this.addEdgeMapping.bind(this),this.addSubgraphMapping=this.addSubgraphMapping.bind(this),this.emitWarning=this.emitWarning.bind(this),this.emitError=this.emitError.bind(this),this.getDiagnostics=this.getDiagnostics.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{t(this,"AgentFlowDB")}sanitizeText(e){return k.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case"markdown":case"string":case"text":return e;default:return"markdown"}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let r of this.vertices.values())if(r.id===e)return this.diagramId?`${this.diagramId}-${r.domId}`:r.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,r,n,o,d,h,l={},p,E){if(!e||e.trim().length===0)return;let m;if(p!==void 0){let S;if(!p.includes(`
4
+ `))S=`{
5
+ `+p+`
6
+ }`;else S=p+`
7
+ `;try{m=jt(S,{schema:Ut})??{}}catch(g){let b=p.includes(`
8
+ `)?L1(p):p;if(b!==p)try{m=jt(b+`
9
+ `,{schema:Ut})??{}}catch{this.rethrowMetadataYamlError(g,p,E)}else this.rethrowMetadataYamlError(g,p,E)}m=e1(m)}let C;if(m&&typeof m.shape==="string"){let S=m;C=S.shape;let g=Et(C);if(g&&g!==C)S.shape=g}let x=this.subGraphLookup.get(e);if(x&&m){x.metadata={...x.metadata,...m};return}let O=this.connectors.get(e);if(O&&m){O.metadata={...O.metadata,...m};return}if(e==="connectors")return;let V=this.edges.find((S)=>S.id===e);if(V){let S=m;if(S?.animate!==void 0)V.animate=S.animate;if(S?.animation!==void 0)V.animation=S.animation;if(S?.curve!==void 0)V.interpolate=S.curve;if(m)V.metadata={...V.metadata,...m};return}let W,M=this.vertices.get(e);if(M===void 0)M={id:e,labelType:"text",domId:T1+e+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,M);if(this.vertexCounter++,r!==void 0){if(this.config=u(),W=this.sanitizeText(r.text.trim()),M.labelType=r.type,W.startsWith('"')&&W.endsWith('"'))W=W.substring(1,W.length-1);M.text=W}else if(M.text===void 0)M.text=e;if(n!==void 0)M.type=n;if(o!==void 0&&o!==null)o.forEach((S)=>{M.styles.push(S)});if(d!==void 0&&d!==null)d.forEach((S)=>{M.classes.push(S)});if(h!==void 0)M.dir=h;if(M.props===void 0)M.props=l;else if(l!==void 0)Object.assign(M.props,l);if(m){if(M.metadata={...M.metadata,...m},m.shape){let S=C??m.shape;if(typeof S!=="string")throw this.positionedShapeError(`No such shape: ${JSON.stringify(S)}.`,E);if(S!==S.toLowerCase()||S.includes("_"))throw this.positionedShapeError(`No such shape: ${S}. Shape names should be lowercase.`,E);else if(!Ka(m.shape))throw this.positionedShapeError(`No such shape: ${m.shape}.`,E);M.type=m?.shape}if(m?.label)M.text=this.sanitizeText(m.label),M.labelType=this.sanitizeNodeLabelType(m?.labelType)}}positionedShapeError(e,r){let n=Error(e);if(!r)return n;let o=r.first_line+this.frontmatterLineOffset;return Object.assign(n,{hash:{text:"",token:null,line:o-1,loc:{first_line:o,last_line:r.last_line+this.frontmatterLineOffset,first_column:r.first_column,last_column:r.last_column},expected:[]}}),n}rethrowMetadataYamlError(e,r,n){let o=e;if(!o||o.name!=="YAMLException"||!o.mark||!n)throw e;let d;try{let h=!r.includes(`
10
+ `),l=h?`{
11
11
  `+r+`
12
12
  }`:r+`
13
- `,f=n.first_line+this.frontmatterLineOffset,x=n.first_column+2,m=t((_,g)=>{if(h)return{line:f,column:x+(_===1?g:0)};return{line:f+_,column:_===0?x+g:g}},"toSource"),D=m(o.mark.line,o.mark.column),v=o.reason??(o.message??"").split(`
14
- `)[0].replace(/\s*\(\d+:\d+\)\s*$/,""),P=u.split(`
15
- `),B=[];if(h)B.push(1);else for(let _=o.mark.line-1;_<=o.mark.line+1;_++){if(_<0||_>=P.length)continue;if(_===P.length-1&&P[_]===""&&_!==o.mark.line)continue;B.push(_)}let W=Math.max(...B.map((_)=>String(m(_,0).line).length)),w=[];for(let _ of B){let g=m(_,0).line,k=` ${String(g).padStart(W)} | `;if(w.push(k+P[_].replace(/\t/g,"→")),_===o.mark.line)w.push("-".repeat(k.length+o.mark.column)+"^")}d={message:`${v} (${D.line}:${D.column+1})
13
+ `,p=n.first_line+this.frontmatterLineOffset,E=n.first_column+2,m=t((S,g)=>{if(h)return{line:p,column:E+(S===1?g:0)};return{line:p+S,column:S===0?E+g:g}},"toSource"),C=m(o.mark.line,o.mark.column),x=o.reason??(o.message??"").split(`
14
+ `)[0].replace(/\s*\(\d+:\d+\)\s*$/,""),O=l.split(`
15
+ `),V=[];if(h)V.push(1);else for(let S=o.mark.line-1;S<=o.mark.line+1;S++){if(S<0||S>=O.length)continue;if(S===O.length-1&&O[S]===""&&S!==o.mark.line)continue;V.push(S)}let W=Math.max(...V.map((S)=>String(m(S,0).line).length)),M=[];for(let S of V){let g=m(S,0).line,b=` ${String(g).padStart(W)} | `;if(M.push(b+O[S].replace(/\t/g,"→")),S===o.mark.line)M.push("-".repeat(b.length+o.mark.column)+"^")}d={message:`${x} (${C.line}:${C.column+1})
16
16
 
17
- ${w.join(`
18
- `)}`,markLine:D.line-1,markColumn:D.column,hash:{text:"",token:null,line:D.line-1,loc:{first_line:D.line,last_line:D.line,first_column:D.column,last_column:D.column+1},expected:[]}}}catch{}if(d)o.message=d.message,o.mark.line=d.markLine,o.mark.column=d.markColumn,o.hash=d.hash;throw o}addSingleLink(e,r,n,o){let u={start:e,end:r,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};a.info("abc78 Got edge...",u);let f=n.text;if(f!==void 0){if(u.text=this.sanitizeText(f.text.trim()),u.text.startsWith('"')&&u.text.endsWith('"'))u.text=u.text.substring(1,u.text.length-1);u.labelType=this.sanitizeNodeLabelType(f.type)}if(n!==void 0){if(u.type=n.type,u.stroke=n.stroke,u.length=n.length>10?10:n.length,n.edgeSemantic)u.edgeSemantic=n.edgeSemantic}if(o&&!this.edges.some((x)=>x.id===o))u.id=o,u.isUserDefinedId=!0;else{let x=this.edges.filter((m)=>m.start===u.start&&m.end===u.end);if(x.length===0)u.id=ze(u.start,u.end,{counter:0,prefix:"L"});else u.id=ze(u.start,u.end,{counter:x.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))a.info("Pushing edge..."),this.edges.push(u);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
17
+ ${M.join(`
18
+ `)}`,markLine:C.line-1,markColumn:C.column,hash:{text:"",token:null,line:C.line-1,loc:{first_line:C.line,last_line:C.line,first_column:C.column,last_column:C.column+1},expected:[]}}}catch{}if(d)o.message=d.message,o.mark.line=d.markLine,o.mark.column=d.markColumn,o.hash=d.hash;throw o}addSingleLink(e,r,n,o){let l={start:e,end:r,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};a.info("abc78 Got edge...",l);let p=n.text;if(p!==void 0){if(l.text=this.sanitizeText(p.text.trim()),l.text.startsWith('"')&&l.text.endsWith('"'))l.text=l.text.substring(1,l.text.length-1);l.labelType=this.sanitizeNodeLabelType(p.type)}if(n!==void 0){if(l.type=n.type,l.stroke=n.stroke,l.length=n.length>10?10:n.length,n.edgeSemantic)l.edgeSemantic=n.edgeSemantic}if(o&&!this.edges.some((E)=>E.id===o))l.id=o,l.isUserDefinedId=!0;else{let E=this.edges.filter((m)=>m.start===l.start&&m.end===l.end);if(E.length===0)l.id=vt(l.start,l.end,{counter:0,prefix:"L"});else l.id=vt(l.start,l.end,{counter:E.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))a.info("Pushing edge..."),this.edges.push(l);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
19
19
 
20
20
  Initialize mermaid with maxEdges set to a higher number to allow more edges.
21
21
  You cannot set this config via configuration inside the diagram as it is a secure config.
22
- You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e==="object"&&"id"in e&&typeof e.id==="string"}addLink(e,r,n){let o=this.isLinkData(n)?n.id.replace("@",""):void 0;a.info("addLink",e,r,o);for(let d of e)for(let h of r){let u=d===e[e.length-1],f=h===r[0];if(u&&f)this.addSingleLink(d,h,n,o);else this.addSingleLink(d,h,n,void 0)}}updateLinkInterpolate(e,r){e.forEach((n)=>{if(n==="default"){this.edges.defaultInterpolate=r;return}if(typeof n==="number"&&n>=this.edges.length)throw Error(`The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);this.edges[n].interpolate=r})}updateLink(e,r){e.forEach((n)=>{if(typeof n==="number"&&n>=this.edges.length)throw Error(`The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);if(n==="default")this.edges.defaultStyle=r;else if(this.edges[n].style=r,(this.edges[n]?.style?.length??0)>0&&!this.edges[n]?.style?.some((o)=>o?.startsWith("fill")))this.edges[n]?.style?.push("fill:none")})}addClass(e,r){let n=r.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach((o)=>{let d=this.classes.get(o);if(d===void 0)d={id:o,styles:[],textStyles:[]},this.classes.set(o,d);if(n!==void 0&&n!==null)n.forEach((h)=>{if(/color/.exec(h)){let u=h.replace("fill","bgFill");d.textStyles.push(u)}d.styles.push(h)})})}setDirection(e){if(this.direction=e.trim(),/.*</.exec(this.direction))this.direction="RL";if(/.*\^/.exec(this.direction))this.direction="BT";if(/.*>/.exec(this.direction))this.direction="LR";if(/.*v/.exec(this.direction))this.direction="TB";if(this.direction==="TD")this.direction="TB"}setClass(e,r){for(let n of e.split(",")){let o=this.vertices.get(n);if(o)o.classes.push(r);let d=this.edges.find((u)=>u.id===n);if(d)d.classes.push(r);let h=this.subGraphLookup.get(n);if(h)h.classes.push(r)}}setTooltip(e,r){if(r===void 0)return;r=this.sanitizeText(r);for(let n of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(n):n,r)}setClickFun(e,r,n){if(l().securityLevel!=="loose")return;if(r===void 0)return;let o=[];if(typeof n==="string"){o=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let h=0;h<o.length;h++){let u=o[h].trim();if(u.startsWith('"')&&u.endsWith('"'))u=u.substr(1,u.length-2);o[h]=u}}if(o.length===0)o.push(e);let d=this.vertices.get(e);if(d)d.haveCallback=!0,this.funs.push(()=>{let h=this.lookUpDomId(e),u=document.querySelector(`[id="${h}"]`);if(u!==null)u.addEventListener("click",()=>{M.runFunc(r,...o)},!1)})}setLink(e,r,n){e.split(",").forEach((o)=>{let d=this.vertices.get(o);if(d!==void 0)d.link=M.formatUrl(r,this.config),d.linkTarget=n}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,r,n){e.split(",").forEach((o)=>{this.setClickFun(o,r,n)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach((r)=>{r(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}isToolDefinition(e){return H1.has(e.type)}getTools(){let e=[];for(let r of this.vertices.values())if(this.isToolDefinition(r))e.push(r);return e}getClasses(){return this.classes}setupToolTips(e){let r=Ft();p(e).select("svg").selectAll("g.node").on("mouseover",(d)=>{let h=p(d.currentTarget),u=h.attr("title");if(u===null)return;let f=d.currentTarget?.getBoundingClientRect();r.transition().duration(200).style("opacity",".9"),r.text(h.attr("title")).style("left",window.scrollX+f.left+(f.right-f.left)/2+"px").style("top",window.scrollY+f.bottom+"px"),r.html(Re.sanitize(u)),h.classed("hover",!0)}).on("mouseout",(d)=>{r.transition().duration(500).style("opacity",0),p(d.currentTarget).classed("hover",!1)})}clear(e="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=l(),this.diagramId="",this.vertexCounter=0,this.direction=void 0,this.secCount=-1,this.posCrossRef=[],this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,C()}setGen(e){this.version=e||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(e,r,n,o){let d=e?.text?.trim(),h=n?.text;if(e===n&&n?.text&&/\s/.exec(n.text))d=void 0;let f=t((B)=>{let W={boolean:{},number:{},string:{}},w=[],_;return{nodeList:B.filter(function(k){let y=typeof k;if(k.stmt&&k.stmt==="dir")return _=k.value,!1;if(k.trim()==="")return!1;if(y in W)return W[y].hasOwnProperty(k)?!1:W[y][k]=!0;else return w.includes(k)?!1:w.push(k)}),dir:_}},"uniq")(r.flat()),{nodeList:x,dir:m}=f,D=l().flowchart??{};if(m=m??(D.inheritDir?this.getDirection()??l().direction??void 0:void 0),this.version==="gen-1")for(let B=0;B<x.length;B++)x[B]=this.lookUpDomId(x[B]);d=d??"subGraph"+this.subCount,h=h||"",h=this.sanitizeText(h),this.subCount=this.subCount+1;let v={id:d,nodes:x.filter((B)=>B!==d&&!this.globalNodes.has(B)),title:h.trim(),classes:[],dir:m,labelType:this.sanitizeNodeLabelType(n?.type),type:o??"flow"};a.info("Adding",v.id,v.nodes,v.dir),v.nodes=this.makeUniq(v,this.subGraphs).nodes;let P=this.getPosForId(d);if(P!==-1){let B=this.subGraphs[P];for(let W of v.nodes)if(!B.nodes.includes(W))B.nodes.push(W);if(v.title)B.title=v.title;if(v.dir)B.dir=v.dir;if(v.type)B.type=v.type;this.subGraphLookup.set(d,B)}else this.subGraphs.push(v),this.subGraphLookup.set(d,v);return d}addGlobal(e){for(let r of e.flat()){if(typeof r!=="string")continue;let n=r.trim();if(n!=="")this.globalNodes.add(n)}for(let r of this.subGraphs)r.nodes=r.nodes.filter((n)=>!this.globalNodes.has(n))}getPosForId(e){for(let[r,n]of this.subGraphs.entries())if(n.id===e)return r;return-1}indexNodes2(e,r){let n=this.subGraphs[r].nodes;if(this.secCount=this.secCount+1,this.secCount>2000)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=r,this.subGraphs[r].id===e)return{result:!0,count:0};let o=0,d=1;while(o<n.length){let h=this.getPosForId(n[o]);if(h>=0){let u=this.indexNodes2(e,h);if(u.result)return{result:!0,count:d+u.count};else d=d+u.count}o=o+1}return{result:!1,count:d}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){if(this.secCount=-1,this.subGraphs.length>0)this.indexNodes2("none",this.subGraphs.length-1)}addConnector(e,r){let n=e?.text?.trim();if(!n)return"";let o=r?.text?.trim()??"",d=o.length>0?this.sanitizeText(o):n,h=this.connectors.get(n);if(!h)h={id:n,labelType:"text",domId:_1+n+"-"+this.vertexCounter,styles:[],classes:[],isConnector:!0,text:d},this.connectors.set(n,h),this.vertices.set(n,h),this.vertexCounter++;else if(o.length>0)h.text=d;return n}getSubGraphs(){return this.subGraphs}getConnectors(){return[...this.connectors.values()]}firstGraph(){if(this.firstGraphFlag)return this.firstGraphFlag=!1,!0;return!1}computeEdgeSemantic(e,r){if(e==="arrow_point"&&r==="normal")return"sequence";if(e==="arrow_cross"&&r==="normal")return"failure";if(e==="arrow_open"&&r==="dotted")return"reference";return}destructStartLink(e){let r=e.trim(),n="arrow_open",o="normal";if(r.includes("."))o="dotted";return{type:"arrow_open",stroke:o}}countChar(e,r){let n=r.length,o=0;for(let d=0;d<n;++d)if(r[d]===e)++o;return o}destructEndLink(e){let r=e.trim(),n=r.slice(0,-1),o="arrow_open";switch(r.slice(-1)){case"x":o="arrow_cross";break;case">":o="arrow_point";break;case"-":case".":o="arrow_open",n=r;break}let d="normal",h=n.length-1,u=this.countChar(".",n);if(u>0)d="dotted",h=u;return{type:o,stroke:d,length:h}}destructLink(e,r){let n=this.destructEndLink(e),o;if(r){if(o=this.destructStartLink(r),o.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};return o.type=n.type,o.length=n.length,{...o,edgeSemantic:this.computeEdgeSemantic(o.type,o.stroke)}}return{...n,edgeSemantic:this.computeEdgeSemantic(n.type,n.stroke)}}exists(e,r){for(let n of e)if(n.nodes.includes(r))return!0;return!1}makeUniq(e,r){let n=[];return e.nodes.forEach((o,d)=>{if(!this.exists(r,o))n.push(e.nodes[d])}),{nodes:n}}getTypeFromVertex(e){let r=typeof e.type==="string"?Tt(e.type):e.type;switch(r){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return r}}findNode(e,r){return e.find((n)=>n.id===r)}destructEdgeType(e){let r="none",n="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":case"arrow_hierarchy":n=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":r=e.replace("double_",""),n=r;break}return{arrowTypeStart:r,arrowTypeEnd:n}}addNodeFromVertex(e,r,n,o,d,h){let u=n.get(e.id),f=o.get(e.id)??!1,x=this.findNode(r,e.id);if(x)x.cssStyles=e.styles,x.cssCompiledStyles=this.getCompiledStyles(e.classes),x.cssClasses=e.classes.join(" ");else{let m={id:e.id,label:e.text,labelType:e.labelType,labelStyle:"",parentId:u,padding:d.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:h,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),metadata:e.metadata};if(f)r.push({...m,isGroup:!0,shape:"rect"});else r.push({...m,isGroup:!1,shape:this.getTypeFromVertex(e),wrappingWidth:d.agentflow?.wrappingWidth,minWidth:d.agentflow?.minNodeWidth})}}getCompiledStyles(e){let r=[];for(let n of e){let o=this.classes.get(n);if(o?.styles)r=[...r,...o.styles??[]].map((d)=>d.trim());if(o?.textStyles)r=[...r,...o.textStyles??[]].map((d)=>d.trim())}return r}runPostParseValidators(){if(this.postParseValidationRun)return;this.postParseValidationRun=!0}getData(){this.runPostParseValidators();let e=l(),r=[],n=[],o=this.getSubGraphs(),d=new Map,h=new Map,u=new Set,f=new Map,x=t((g,k,y=new Set)=>{if(y.has(g))return;y.add(g);let q=this.subGraphLookup.get(g);if(!q)return;for(let Ce of q.nodes){if(Ce===k||y.has(Ce))continue;u.add(Ce),f.set(Ce,k),x(Ce,k,y)}},"collectDescendants");for(let g of o)if(g.metadata?.view==="collapsed"&&!u.has(g.id))x(g.id,g.id);let m=t((g,k)=>{let y=new Set,q=k;while(q!==void 0&&!y.has(q)){if(q===g)return!0;y.add(q),q=d.get(q)}return!1},"wouldCloseContainmentCycle");for(let g=o.length-1;g>=0;g--){let k=o[g];if(u.has(k.id))continue;if(k.nodes.length>0)h.set(k.id,!0);for(let y of k.nodes){if(m(y,k.id)){this.emitWarning(Dt.CONTAINMENT_VIOLATION,`Container "${k.id}" cannot contain "${y}" because "${y}" already contains it. The nesting that would close the loop is dropped.`,{nodeId:y});continue}d.set(y,k.id)}}for(let g=o.length-1;g>=0;g--){let k=o[g];if(u.has(k.id))continue;if(k.metadata?.view==="collapsed"){let q={...k.metadata,containerType:k.type};r.push({id:k.id,label:k.title,labelStyle:"",labelType:k.labelType,parentId:d.get(k.id),padding:8,cssCompiledStyles:this.getCompiledStyles(k.classes),cssClasses:k.classes.join(" "),shape:"collapsedGroup",dir:k.dir,isGroup:!1,look:e.look,metadata:q})}else r.push({id:k.id,label:k.title,labelStyle:"",labelType:k.labelType,parentId:d.get(k.id),padding:8,cssCompiledStyles:this.getCompiledStyles(k.classes),cssClasses:k.classes.join(" "),shape:Y1[k.type??"flow"],dir:k.dir,isGroup:!0,look:e.look,metadata:k.metadata})}this.getVertices().forEach((g)=>{if(u.has(g.id))return;this.addNodeFromVertex(g,r,d,h,e,e.look||"classic")});let v=this.getEdges();v.forEach((g,k)=>{let y=f.get(g.start)??g.start,q=f.get(g.end)??g.end;if(y===q&&g.start!==g.end)return;let{arrowTypeStart:Ce,arrowTypeEnd:Ve}=this.destructEdgeType(g.type),ve=[...v.defaultStyle??[]];if(g.style)ve.push(...g.style);let Ie={id:ze(y,q,{counter:k,prefix:"L"},g.id),isUserDefinedId:g.isUserDefinedId,start:y,end:q,type:g.type??"normal",label:g.text,labelType:g.labelType,labelpos:"c",thickness:g.stroke,minlen:g.length,classes:g?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:g?.stroke==="invisible"||g?.type==="arrow_open"?"none":Ce,arrowTypeEnd:g?.stroke==="invisible"||g?.type==="arrow_open"?"none":Ve,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(g.classes),labelStyle:ve,style:ve,pattern:g.stroke,look:e.look,animate:g.animate,animation:g.animation,curve:g.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve,metadata:g.metadata};n.push(Ie)}),v1(r,this);let P=new Map,B=new Map;for(let g of o){let k=d.get(g.id);if(k!==void 0)B.set(k,[...B.get(k)??[],g.id])}let W=0,w=t((g)=>{if(P.has(g))return;P.set(g,W++);for(let k of B.get(g)??[])w(k)},"walkContainers");for(let g of o)if(d.get(g.id)===void 0)w(g.id);let _=new Set(this.getConnectors().map((g)=>g.id));return B1(r,(g)=>{if(_.has(g))return"connector";let k=this.vertices.get(g);return k?this.deriveVertexKind(k,Tt(k.type)):void 0},P),{nodes:r,edges:n,other:{},config:e,connectors:this.getConnectors()}}defaultConfig(){return An.flowchart}deriveVertexKind(e,r){if(this.isToolDefinition(e))return"tool";if(r==="hexagon"||r==="hex")return"action";if(r==="lean-right"||r==="lean_right")return"input";if(r==="lin-doc"||r==="lined-document")return"refdoc";if(r==="diamond")return"decision";return"task"}getSemanticModel(){this.runPostParseValidators();let e=new Set(this.subGraphs.map((u)=>u.id)),r=[],n=[];for(let[u,f]of this.vertices){if(e.has(u))continue;if(f.isConnector){let D={id:u};if(f.text!==void 0&&f.text!==u)D.title=f.text;if(f.metadata&&Object.keys(f.metadata).length>0){let v={};for(let[P,B]of Object.entries(f.metadata)){if(c1.has(P))continue;v[P]=B}if(Object.keys(v).length>0)D.metadata=v}n.push(D);continue}let x={id:u};if(f.text!==void 0)x.label=f.text;let m=typeof f.type==="string"?Tt(f.type):f.type;if(m!==void 0)x.shape=m;if(x.vertexKind=this.deriveVertexKind(f,m),f.metadata&&Object.keys(f.metadata).length>0){let D={};for(let[v,P]of Object.entries(f.metadata)){if(c1.has(v))continue;D[v]=P}if(Object.keys(D).length>0)x.metadata=D}r.push(x)}let o=this.edges.map((u)=>{let f={start:u.start,end:u.end};if(u.id!==void 0)f.id=u.id;if(typeof u.text==="string"&&u.text.length>0)f.label=u.text;if(u.type!==void 0)f.type=u.type;if(u.stroke!==void 0)f.stroke=u.stroke;if(u.edgeSemantic!==void 0)f.edgeSemantic=u.edgeSemantic;if(u.length!==void 0)f.length=u.length;if(u.metadata&&Object.keys(u.metadata).length>0)f.metadata={...u.metadata};return f}),d=this.subGraphs.map((u)=>{let f={id:u.id,nodes:[...u.nodes]};if(u.type!==void 0)f.type=u.type;if(u.title!==void 0)f.title=u.title;if(u.dir!==void 0)f.direction=u.dir;if(u.metadata&&Object.keys(u.metadata).length>0){let x={};for(let[m,D]of Object.entries(u.metadata)){if(c1.has(m))continue;x[m]=D}if(Object.keys(x).length>0)f.metadata=x}return f}),h={vertices:r,edges:o,subGraphs:d,connectors:n,diagnostics:this.diagnostics};if(this.direction!==void 0)h.direction=this.direction;return h}setFrontmatterLineOffset(e){this.frontmatterLineOffset=e??0}toElementPosition(e){let r=e?.first_line??0,n=e?.first_column??0,o=e?.last_line??r,d=e?.last_column??n,[h,u]=e?.range??[0,0];return{startLine:r+this.frontmatterLineOffset,startColumn:n,endLine:o+this.frontmatterLineOffset,endColumn:d,startIndex:h,endIndex:u}}pushMapping(e,r,n){if(!e)return;let o={id:e,type:r,position:this.toElementPosition(n)};return this.elementMappings.push(o),o}addVertexMapping(e,r,n,o){let d=this.pushMapping(e,"vertex",o);if(d&&n==null)this.bareVertexMappings.add(d)}extendVertexMapping(e,r){if(!e||!r)return;let n=this.toElementPosition(r);for(let o=this.elementMappings.length-1;o>=0;o--){let d=this.elementMappings[o];if(d.type==="vertex"&&d.id===e){if(this.bareVertexMappings.has(d))d.type="attachment",this.bareVertexMappings.delete(d);if(n.endLine>d.position.endLine||n.endLine===d.position.endLine&&n.endColumn>d.position.endColumn)d.position.endLine=n.endLine,d.position.endColumn=n.endColumn,d.position.endIndex=n.endIndex;return}}this.pushMapping(e,"attachment",r)}addEdgeMapping(e,r,n,o){let d=Array.isArray(r)?r.map((u)=>typeof u==="string"?u:u?.id??"").filter(Boolean):[],h=d.length>0?d.join(">"):"edge";this.pushMapping(h,"edge",o)}addSubgraphMapping(e,r,n,o){let d=(typeof e==="string"?e:e?.text)??"",h=this.toElementPosition(n),u=o?this.toElementPosition(o):h;if(!d)return;this.elementMappings.push({id:d,type:"subgraph",position:{startLine:h.startLine,startColumn:h.startColumn,endLine:u.endLine,endColumn:u.endColumn,startIndex:h.startIndex,endIndex:u.endIndex}})}addConnectorMapping(e,r,n,o){let d=e?.text?.trim()??"";if(!d)return;let h=this.toElementPosition(n),u=o?this.toElementPosition(o):h;this.elementMappings.push({id:d,type:"connector",position:{startLine:h.startLine,startColumn:h.startColumn,endLine:u.endLine,endColumn:u.endColumn,startIndex:h.startIndex,endIndex:u.endIndex}})}getElementMappings(){return[...this.elementMappings]}getElementById(e){return this.elementMappings.find((r)=>r.id===e)}getElementsOnLine(e){return this.elementMappings.filter((r)=>e>=r.position.startLine&&e<=r.position.endLine)}getElementAtPosition(e,r){let n=this.elementMappings.filter((d)=>{let{startLine:h,startColumn:u,endLine:f,endColumn:x}=d.position;if(e<h||e>f)return!1;if(e===h&&r<u)return!1;if(e===f&&r>x)return!1;return!0});if(n.length===0)return;let o=t(({position:d})=>[d.endLine-d.startLine,d.endColumn-d.startColumn],"span");return n.reduce((d,h)=>{let[u,f]=o(d),[x,m]=o(h);if(x!==u)return x<u?h:d;return m<f?h:d})}getMappingStats(){let e=0,r=0,n=0,o=0,d=0;for(let h of this.elementMappings)if(h.type==="vertex")e++;else if(h.type==="edge")r++;else if(h.type==="subgraph")n++;else if(h.type==="connector")o++;else if(h.type==="attachment")d++;return{vertices:e,edges:r,subgraphs:n,connectors:o,attachments:d,totalElements:this.elementMappings.length}}emitDiagnostic(e,r,n,o){let d=o?.nodeId??o?.edgeId,h=d?this.getElementById(d):void 0,u={id:e,severity:r,message:n,...o?.nodeId?{nodeId:o.nodeId}:{},...o?.edgeId&&!o?.nodeId?{edgeId:o.edgeId}:{},...h?{position:h.position}:{}};if(this.diagnostics.some((m)=>m.id===u.id&&m.severity===u.severity&&m.message===u.message&&m.nodeId===u.nodeId&&m.edgeId===u.edgeId))return;this.diagnostics.push(u);let x=`agentflow[${e}]: ${n}`;if(r==="error")a.error(x);else a.warn(x)}emitWarning(e,r,n){this.emitDiagnostic(e,"warning",r,n)}emitError(e,r,n){this.emitDiagnostic(e,"error",r,n)}getDiagnostics(){return[...this.diagnostics]}},X1=t(function(e,r){return r.db.getClasses()},"getClasses"),Q1=t(async function(e,r,n,o){a.debug("Drawing agentflow diagram",r);let{securityLevel:d,agentflow:h,layout:u}=l();o.db.setDiagramId(r),a.debug("Before getData: ");let f=o.db.getData();a.debug("Data: ",f);let x=he(r,d),m=o.db.getDirection();if(f.type=o.type,f.layoutAlgorithm=ye(u),f.layoutAlgorithm==="dagre"&&u==="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=m,f.nodeSpacing=h?.nodeSpacing||50,f.rankSpacing=h?.rankSpacing||50,f.markers=["point","circle","cross","hierarchy"],f.diagramId=r,a.debug("REF1:",f),await ge(f,x);let D=h?.diagramPadding??8;M.insertTitle(x,"agentflowTitleText",h?.titleTopMargin??0,o.db.getDiagramTitle()),ue(x,D,"agentflow",h?.useMaxWidth??!0)},"draw"),J1={getClasses:X1,draw:Q1},d1=function(){var e=t(function(Ke,F,V,L){for(V=V||{},L=Ke.length;L--;V[Ke[L]]=F);return V},"o"),r=[1,5],n=[1,4],o=[1,3],d=[1,6],h=[1,8,9,10,11,12,28,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],u=[2,2],f=[1,15],x=[1,16],m=[1,17],D=[1,18],v=[1,19],P=[1,26],B=[1,27],W=[1,28],w=[1,30],_=[1,31],g=[1,32],k=[1,55],y=[1,54],q=[1,34],Ce=[1,35],Ve=[1,36],ve=[1,37],Ie=[1,38],Q=[1,50],J=[1,52],Z=[1,48],ee=[1,53],te=[1,49],se=[1,56],ie=[1,51],re=[1,57],ne=[1,58],He=[1,39],Ye=[1,40],Qe=[1,41],Je=[1,42],Ze=[1,43],je=[1,64],N=[1,8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],ke=[1,70],me=[1,68],Ae=[1,67],Ee=[1,69],st=[8,9,10,12,78,80,81],it=[1,88],nt=[1,101],ot=[1,106],ut=[1,105],lt=[1,102],ct=[1,98],dt=[1,104],ht=[1,100],pt=[1,107],ft=[1,103],gt=[1,108],bt=[1,99],$e=[8,9,10,11,12,43,78,80,81],oe=[8,9,10,11,12,43,49,78,80,81],xe=[8,9,10,11,12,30,43,47,49,51,53,55,57,59,61,63,66,68,70,71,73,78,80,81,92,105,108,109,112,114,117,118,119],h1=[8,9,10,12,47,63,78,80,81,92,105,108,109,112,114,117,118,119],kt=[47,63,92,105,108,109,112,114,117,118,119],p1=[1,131],f1=[1,132],_t=[1,134],vt=[1,133],g1=[47,63,65,77,92,105,108,109,112,114,117,118,119],Vt=[1,143],It=[1,157],Lt=[1,158],Mt=[1,159],yt=[1,162],wt=[1,161],Nt=[1,160],Rt=[1,145],Ot=[1,147],Pt=[1,151],b1=[1,139],k1=[1,140],Gt=[1,152],Ut=[1,153],jt=[1,154],zt=[1,155],Wt=[1,156],Kt=[1,163],Ht=[1,164],Yt=[1,141],qt=[1,142],Xt=[1,149],Qt=[1,144],Jt=[1,148],Zt=[1,146],mt=[8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],m1=[1,168],At=[1,170],X=[8,9,10,12],Te=[8,9,10,11,12,15,47,63,92,108,109,112,114,117,118,119],G=[1,190],fe=[1,186],be=[1,187],U=[1,191],j=[1,188],z=[1,189],Et=[80,119,122],K=[8,9,10,11,12,13,15,28,30,33,35,36,43,47,63,78,87,88,89,90,91,92,93,108,112,114,117,118,119],A1=[11,109],We=[32,52,54,56,58,60,65,67,69,70,72,74,119,120,121],Le=[1,269],Be=[1,267],Me=[1,271],we=[1,265],Ne=[1,266],Oe=[1,268],Pe=[1,270],Ge=[1,272],Ct=[1,292],E1=[8,9,10,12,109],Fe=[8,9,10,11,12,63,87,108,109,112,113,114,115],r1={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,COMMENT:8,SEMI:9,NEWLINE:10,SPACE:11,EOF:12,GRAPH:13,NODIR:14,DIR:15,FirstStmtSeparator:16,ending:17,endToken:18,spaceList:19,spaceListNewline:20,vertexStatement:21,separator:22,styleStatement:23,linkStyleStatement:24,classDefStatement:25,classStatement:26,clickStatement:27,flow:28,textNoTags:29,SQS:30,text:31,SQE:32,end:33,shapeData:34,global:35,connector:36,direction:37,acc_title:38,acc_title_value:39,acc_descr:40,acc_descr_value:41,acc_descr_multiline_value:42,SHAPE_DATA:43,link:44,node:45,styledVertex:46,AMP:47,vertex:48,STYLE_SEPARATOR:49,idString:50,DOUBLECIRCLESTART:51,DOUBLECIRCLEEND:52,PS:53,PE:54,"(-":55,"-)":56,STADIUMSTART:57,STADIUMEND:58,SUBROUTINESTART:59,SUBROUTINEEND:60,VERTEX_WITH_PROPS_START:61,"NODE_STRING[field]":62,COLON:63,"NODE_STRING[value]":64,PIPE:65,CYLINDERSTART:66,CYLINDEREND:67,DIAMOND_START:68,DIAMOND_STOP:69,TAGEND:70,TRAPSTART:71,TRAPEND:72,INVTRAPSTART:73,INVTRAPEND:74,linkStatement:75,arrowText:76,TESTSTR:77,START_LINK:78,edgeText:79,LINK:80,LINK_ID:81,edgeTextToken:82,STR:83,MD_STR:84,textToken:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTagsToken:94,stylesOpt:95,"idString[vertex]":96,"idString[class]":97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,"STR[link]":102,"STR[tooltip]":103,alphaNum:104,DEFAULT:105,numList:106,INTERPOLATE:107,NUM:108,COMMA:109,style:110,styleComponent:111,NODE_STRING:112,UNIT:113,BRKT:114,PCT:115,idStringToken:116,MINUS:117,MULT:118,UNICODE_TEXT:119,TEXT:120,TAGSTART:121,EDGE_TEXT:122,alphaNumToken:123,direction_tb:124,direction_bt:125,direction_rl:126,direction_lr:127,direction_td:128,$accept:0,$end:1},terminals_:{2:"error",8:"COMMENT",9:"SEMI",10:"NEWLINE",11:"SPACE",12:"EOF",13:"GRAPH",14:"NODIR",15:"DIR",28:"flow",30:"SQS",32:"SQE",33:"end",35:"global",36:"connector",38:"acc_title",39:"acc_title_value",40:"acc_descr",41:"acc_descr_value",42:"acc_descr_multiline_value",43:"SHAPE_DATA",47:"AMP",49:"STYLE_SEPARATOR",51:"DOUBLECIRCLESTART",52:"DOUBLECIRCLEEND",53:"PS",54:"PE",55:"(-",56:"-)",57:"STADIUMSTART",58:"STADIUMEND",59:"SUBROUTINESTART",60:"SUBROUTINEEND",61:"VERTEX_WITH_PROPS_START",62:"NODE_STRING[field]",63:"COLON",64:"NODE_STRING[value]",65:"PIPE",66:"CYLINDERSTART",67:"CYLINDEREND",68:"DIAMOND_START",69:"DIAMOND_STOP",70:"TAGEND",71:"TRAPSTART",72:"TRAPEND",73:"INVTRAPSTART",74:"INVTRAPEND",77:"TESTSTR",78:"START_LINK",80:"LINK",81:"LINK_ID",83:"STR",84:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"idString[vertex]",97:"idString[class]",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"STR[link]",103:"STR[tooltip]",105:"DEFAULT",107:"INTERPOLATE",108:"NUM",109:"COMMA",112:"NODE_STRING",113:"UNIT",114:"BRKT",115:"PCT",117:"MINUS",118:"MULT",119:"UNICODE_TEXT",120:"TEXT",121:"TAGSTART",122:"EDGE_TEXT",124:"direction_tb",125:"direction_bt",126:"direction_rl",127:"direction_lr",128:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,2],[4,3],[17,2],[17,1],[18,1],[18,1],[18,1],[16,1],[16,1],[16,2],[16,1],[20,2],[20,2],[20,2],[20,1],[20,1],[20,1],[19,2],[19,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,10],[7,6],[7,7],[7,4],[7,4],[7,7],[7,8],[7,4],[7,5],[7,1],[7,2],[7,2],[7,1],[22,1],[22,1],[22,1],[22,1],[34,2],[34,1],[21,4],[21,3],[21,4],[21,2],[21,2],[21,1],[45,1],[45,6],[45,5],[46,1],[46,3],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,8],[48,4],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,4],[48,4],[48,1],[44,2],[44,3],[44,3],[44,1],[44,3],[44,4],[79,1],[79,2],[79,1],[79,1],[75,1],[75,2],[76,3],[31,1],[31,2],[31,1],[31,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[29,1],[29,2],[29,1],[29,1],[25,5],[26,5],[27,2],[27,4],[27,3],[27,5],[27,3],[27,5],[27,5],[27,7],[27,2],[27,4],[27,2],[27,4],[27,4],[27,6],[23,5],[24,5],[24,5],[24,9],[24,9],[24,7],[24,7],[106,1],[106,3],[95,1],[95,3],[110,1],[110,2],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[85,1],[85,1],[85,1],[85,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[82,1],[82,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[50,1],[50,2],[104,1],[104,2],[37,1],[37,1],[37,1],[37,1],[37,1]],performAction:t(function(F,V,L,c,H,s,O){var i=s.length-1;switch(H){case 2:this.$=[];break;case 3:if(!Array.isArray(s[i])||s[i].length>0)s[i-1].push(s[i]);this.$=s[i-1];break;case 4:case 198:this.$=s[i];break;case 5:case 33:case 34:case 35:case 36:case 37:this.$=[];break;case 13:c.setDirection("TB"),this.$="TB";break;case 14:c.setDirection(s[i-1]),this.$=s[i-1];break;case 32:this.$=s[i-1].nodes;break;case 38:if(this.$=c.addSubGraph(s[i-6],s[i-1],s[i-4],"flow"),c.addSubgraphMapping)c.addSubgraphMapping(s[i-6],s[i-4],O[i-8],O[i]);break;case 39:if(this.$=c.addSubGraph(s[i-7],s[i-1],s[i-5],"flow"),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[i-3],O[i-3]),c.addSubgraphMapping)c.addSubgraphMapping(s[i-7],s[i-5],O[i-9],O[i]);break;case 40:if(this.$=c.addSubGraph(s[i-3],s[i-1],{text:"",type:"text"},"flow"),c.addSubgraphMapping)c.addSubgraphMapping(s[i-3],{text:"",type:"text"},O[i-5],O[i]);break;case 41:if(this.$=c.addSubGraph(s[i-4],s[i-1],{text:"",type:"text"},"flow"),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[i-3],O[i-3]),c.addSubgraphMapping)c.addSubgraphMapping(s[i-4],{text:"",type:"text"},O[i-6],O[i]);break;case 42:if(this.$=c.addSubGraph(void 0,s[i-1],void 0,"flow"),c.addSubgraphMapping)c.addSubgraphMapping(void 0,void 0,O[i-3],O[i]);break;case 43:c.addGlobal(s[i-1]),this.$=[];break;case 44:if(this.$=c.addConnector(s[i-4],s[i-2]),c.addConnectorMapping)c.addConnectorMapping(s[i-4],s[i-2],O[i-6],O[i]);break;case 45:if(this.$=c.addConnector(s[i-5],s[i-3]),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[i-1],O[i-1]),c.addConnectorMapping)c.addConnectorMapping(s[i-5],s[i-3],O[i-7],O[i]);break;case 46:if(this.$=c.addConnector(s[i-1],{text:"",type:"text"}),c.addConnectorMapping)c.addConnectorMapping(s[i-1],{text:"",type:"text"},O[i-3],O[i]);break;case 47:if(this.$=c.addConnector(s[i-2],{text:"",type:"text"}),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[i-1],O[i-1]),c.addConnectorMapping)c.addConnectorMapping(s[i-2],{text:"",type:"text"},O[i-4],O[i]);break;case 49:this.$=s[i].trim(),c.setAccTitle(this.$);break;case 50:case 51:this.$=s[i].trim(),c.setAccDescription(this.$);break;case 56:this.$=s[i-1]+s[i];break;case 57:this.$=s[i];break;case 58:if(c.addVertex(s[i-1][s[i-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i],O[i]),c.extendVertexMapping)c.extendVertexMapping(s[i-1][s[i-1].length-1],O[i]);if(c.addLink(s[i-3].stmt,s[i-1],s[i-2]),c.addEdgeMapping)c.addEdgeMapping(s[i-3].stmt,s[i-1],s[i-2],this._$);this.$={stmt:s[i-1],nodes:s[i-1].concat(s[i-3].nodes)};break;case 59:if(c.addLink(s[i-2].stmt,s[i],s[i-1]),c.addEdgeMapping)c.addEdgeMapping(s[i-2].stmt,s[i],s[i-1],this._$);this.$={stmt:s[i],nodes:s[i].concat(s[i-2].nodes)};break;case 60:if(c.addLink(s[i-3].stmt,s[i-1],s[i-2]),c.addEdgeMapping)c.addEdgeMapping(s[i-3].stmt,s[i-1],s[i-2],this._$);this.$={stmt:s[i-1],nodes:s[i-1].concat(s[i-3].nodes)};break;case 61:this.$={stmt:s[i-1],nodes:s[i-1]};break;case 62:if(c.addVertex(s[i-1][s[i-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i],O[i]),c.extendVertexMapping)c.extendVertexMapping(s[i-1][s[i-1].length-1],O[i]);this.$={stmt:s[i-1],nodes:s[i-1],shapeData:s[i]};break;case 63:this.$={stmt:s[i],nodes:s[i]};break;case 64:this.$=[s[i]];break;case 65:if(c.addVertex(s[i-5][s[i-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i-4],O[i-4]),c.extendVertexMapping)c.extendVertexMapping(s[i-5][s[i-5].length-1],O[i-4]);this.$=s[i-5].concat(s[i]);break;case 66:this.$=s[i-4].concat(s[i]);break;case 67:this.$=s[i];break;case 68:this.$=s[i-2],c.setClass(s[i-2],s[i]);break;case 69:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"square"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"square",this._$);break;case 70:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"doublecircle"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"doublecircle",this._$);break;case 71:if(this.$=s[i-5],c.addVertex(s[i-5],s[i-2],"circle"),c.addVertexMapping)c.addVertexMapping(s[i-5],s[i-2],"circle",this._$);break;case 72:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"ellipse"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"ellipse",this._$);break;case 73:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"stadium"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"stadium",this._$);break;case 74:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"subroutine"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"subroutine",this._$);break;case 75:if(this.$=s[i-7],c.addVertex(s[i-7],s[i-1],"rect",void 0,void 0,void 0,Object.fromEntries([[s[i-5],s[i-3]]])),c.addVertexMapping)c.addVertexMapping(s[i-7],s[i-1],"rect",this._$);break;case 76:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"cylinder"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"cylinder",this._$);break;case 77:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"round"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"round",this._$);break;case 78:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"diamond"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"diamond",this._$);break;case 79:if(this.$=s[i-5],c.addVertex(s[i-5],s[i-2],"hexagon"),c.addVertexMapping)c.addVertexMapping(s[i-5],s[i-2],"hexagon",this._$);break;case 80:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"odd"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"odd",this._$);break;case 81:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"trapezoid"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"trapezoid",this._$);break;case 82:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"inv_trapezoid"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"inv_trapezoid",this._$);break;case 83:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"lean_right"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"lean_right",this._$);break;case 84:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"lean_left"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"lean_left",this._$);break;case 85:if(this.$=s[i],c.addVertex(s[i]),c.addVertexMapping)c.addVertexMapping(s[i],void 0,void 0,this._$);break;case 86:s[i-1].text=s[i],this.$=s[i-1];break;case 87:case 88:s[i-2].text=s[i-1],this.$=s[i-2];break;case 89:this.$=s[i];break;case 90:var Y=c.destructLink(s[i],s[i-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,text:s[i-1]};break;case 91:var Y=c.destructLink(s[i],s[i-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,text:s[i-1],id:s[i-3]};break;case 92:this.$={text:s[i],type:"text"};break;case 93:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 94:this.$={text:s[i],type:"string"};break;case 95:this.$={text:s[i],type:"markdown"};break;case 96:var Y=c.destructLink(s[i]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic};break;case 97:var Y=c.destructLink(s[i]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,id:s[i-1]};break;case 98:this.$=s[i-1];break;case 99:this.$={text:s[i],type:"text"};break;case 100:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 101:this.$={text:s[i],type:"string"};break;case 102:case 119:this.$={text:s[i],type:"markdown"};break;case 116:this.$={text:s[i],type:"text"};break;case 117:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 118:this.$={text:s[i],type:"text"};break;case 120:this.$=s[i-4],c.addClass(s[i-2],s[i]);break;case 121:this.$=s[i-4],c.setClass(s[i-2],s[i]);break;case 122:case 130:this.$=s[i-1],c.setClickEvent(s[i-1],s[i]);break;case 123:case 131:this.$=s[i-3],c.setClickEvent(s[i-3],s[i-2]),c.setTooltip(s[i-3],s[i]);break;case 124:this.$=s[i-2],c.setClickEvent(s[i-2],s[i-1],s[i]);break;case 125:this.$=s[i-4],c.setClickEvent(s[i-4],s[i-3],s[i-2]),c.setTooltip(s[i-4],s[i]);break;case 126:this.$=s[i-2],c.setLink(s[i-2],s[i]);break;case 127:this.$=s[i-4],c.setLink(s[i-4],s[i-2]),c.setTooltip(s[i-4],s[i]);break;case 128:this.$=s[i-4],c.setLink(s[i-4],s[i-2],s[i]);break;case 129:this.$=s[i-6],c.setLink(s[i-6],s[i-4],s[i]),c.setTooltip(s[i-6],s[i-2]);break;case 132:this.$=s[i-1],c.setLink(s[i-1],s[i]);break;case 133:this.$=s[i-3],c.setLink(s[i-3],s[i-2]),c.setTooltip(s[i-3],s[i]);break;case 134:this.$=s[i-3],c.setLink(s[i-3],s[i-2],s[i]);break;case 135:this.$=s[i-5],c.setLink(s[i-5],s[i-4],s[i]),c.setTooltip(s[i-5],s[i-2]);break;case 136:this.$=s[i-4],c.addVertex(s[i-2],void 0,void 0,s[i]);break;case 137:this.$=s[i-4],c.updateLink([s[i-2]],s[i]);break;case 138:this.$=s[i-4],c.updateLink(s[i-2],s[i]);break;case 139:this.$=s[i-8],c.updateLinkInterpolate([s[i-6]],s[i-2]),c.updateLink([s[i-6]],s[i]);break;case 140:this.$=s[i-8],c.updateLinkInterpolate(s[i-6],s[i-2]),c.updateLink(s[i-6],s[i]);break;case 141:this.$=s[i-6],c.updateLinkInterpolate([s[i-4]],s[i]);break;case 142:this.$=s[i-6],c.updateLinkInterpolate(s[i-4],s[i]);break;case 143:case 145:this.$=[s[i]];break;case 144:case 146:s[i-2].push(s[i]),this.$=s[i-2];break;case 148:this.$=s[i-1]+s[i];break;case 196:this.$=s[i];break;case 197:this.$=s[i-1]+""+s[i];break;case 199:this.$=s[i-1]+""+s[i];break;case 200:this.$={stmt:"dir",value:"TB"};break;case 201:this.$={stmt:"dir",value:"BT"};break;case 202:this.$={stmt:"dir",value:"RL"};break;case 203:this.$={stmt:"dir",value:"LR"};break;case 204:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,8:r,10:n,11:o,13:d},{1:[3]},e(h,u,{5:7}),{4:8,8:r,10:n,11:o,13:d},{4:9,8:r,10:n,11:o,13:d},{4:10,8:r,10:n,11:o,13:d},{14:[1,11],15:[1,12]},{1:[2,1],6:13,7:14,8:f,9:x,10:m,11:D,12:v,21:20,23:21,24:22,25:23,26:24,27:25,28:P,35:B,36:W,37:29,38:w,40:_,42:g,45:33,46:44,47:k,48:45,50:46,63:y,87:q,88:Ce,89:Ve,90:ve,91:Ie,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:He,125:Ye,126:Qe,127:Je,128:Ze},e(h,[2,10]),e(h,[2,11]),e(h,[2,12]),e(h,[2,13]),{8:[1,63],9:[1,60],10:[1,61],11:je,16:59,19:62},e(N,[2,3]),e(N,[2,4]),e(N,[2,5]),e(N,[2,6]),e(N,[2,7]),e(N,[2,8]),e(N,[2,9]),{8:ke,9:me,10:Ae,12:Ee,22:65,44:66,75:71,78:[1,72],80:[1,74],81:[1,73]},{8:ke,9:me,10:Ae,12:Ee,22:75},{8:ke,9:me,10:Ae,12:Ee,22:76},{8:ke,9:me,10:Ae,12:Ee,22:77},{8:ke,9:me,10:Ae,12:Ee,22:78},{8:ke,9:me,10:Ae,12:Ee,22:79},{8:ke,9:me,10:Ae,11:[1,80],12:Ee,22:81},{8:ke,9:me,10:Ae,12:Ee,22:82},{11:[1,83]},e(N,[2,48]),{39:[1,84]},{41:[1,85]},e(N,[2,51]),e(st,[2,63],{19:86,34:87,11:je,43:it}),{11:[1,89]},{11:[1,90]},{11:[1,91]},{11:[1,92]},{15:nt,47:ot,63:ut,83:[1,96],92:lt,98:[1,93],100:[1,94],104:95,108:ct,109:dt,112:ht,114:pt,117:ft,118:gt,119:bt,123:97},e(N,[2,200]),e(N,[2,201]),e(N,[2,202]),e(N,[2,203]),e(N,[2,204]),e($e,[2,64]),e($e,[2,67],{49:[1,109]}),e(oe,[2,85],{116:122,30:[1,110],47:k,51:[1,111],53:[1,112],55:[1,113],57:[1,114],59:[1,115],61:[1,116],63:y,66:[1,117],68:[1,118],70:[1,119],71:[1,120],73:[1,121],92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),e(xe,[2,196]),e(xe,[2,157]),e(xe,[2,158]),e(xe,[2,159]),e(xe,[2,160]),e(xe,[2,161]),e(xe,[2,162]),e(xe,[2,163]),e(xe,[2,164]),e(xe,[2,165]),e(xe,[2,166]),e(xe,[2,167]),e(h,[2,14]),e(h,[2,20]),e(h,[2,21]),{10:[1,123]},e(h,[2,23]),e(h1,[2,31],{19:124,11:je}),e(N,[2,32]),{45:125,46:44,47:k,48:45,50:46,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(N,[2,52]),e(N,[2,53]),e(N,[2,54]),e(N,[2,55]),e(kt,[2,89],{76:126,65:[1,128],77:[1,127]}),{79:129,82:130,83:p1,84:f1,119:_t,122:vt},{78:[1,135],80:[1,136]},e(g1,[2,96]),e(N,[2,33]),e(N,[2,34]),e(N,[2,35]),e(N,[2,36]),e(N,[2,37]),{11:Vt,13:It,15:Lt,28:Mt,29:137,33:yt,35:wt,36:Nt,47:Rt,63:Ot,78:Pt,83:b1,84:k1,86:150,87:Gt,88:Ut,89:jt,90:zt,91:Wt,92:Kt,93:Ht,94:138,108:Yt,112:qt,114:Xt,117:Qt,118:Jt,119:Zt},e(mt,u,{5:165}),e(mt,u,{5:166}),{11:Vt,13:It,15:Lt,28:Mt,29:167,33:yt,35:wt,36:Nt,47:Rt,63:Ot,78:Pt,83:b1,84:k1,86:150,87:Gt,88:Ut,89:jt,90:zt,91:Wt,92:Kt,93:Ht,94:138,108:Yt,112:qt,114:Xt,117:Qt,118:Jt,119:Zt},e(N,[2,49]),e(N,[2,50]),e(st,[2,61],{47:m1}),e(st,[2,62],{19:169,11:je,43:At}),e($e,[2,57]),{47:k,50:171,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{105:[1,172],106:173,108:[1,174]},{47:k,50:175,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{47:k,50:176,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,122],{11:[1,177],99:[1,178]}),{83:[1,179]},e(X,[2,130],{123:181,11:[1,180],15:nt,47:ot,63:ut,92:lt,108:ct,109:dt,112:ht,114:pt,117:ft,118:gt,119:bt}),e(X,[2,132],{11:[1,182]}),e(Te,[2,198]),e(Te,[2,185]),e(Te,[2,186]),e(Te,[2,187]),e(Te,[2,188]),e(Te,[2,189]),e(Te,[2,190]),e(Te,[2,191]),e(Te,[2,192]),e(Te,[2,193]),e(Te,[2,194]),e(Te,[2,195]),{47:k,50:183,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{31:184,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{31:192,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{31:194,53:[1,193],70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{31:195,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{31:196,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{31:197,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{112:[1,198]},{31:199,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{31:200,68:[1,201],70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{31:202,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{31:203,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{31:204,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},e(xe,[2,197]),e(h,[2,22]),e(h1,[2,30]),e(st,[2,59],{34:205,19:206,11:je,43:it}),e(kt,[2,86],{11:[1,207]}),{11:[1,208]},{31:209,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{80:[1,210],82:211,119:_t,122:vt},e(Et,[2,92]),e(Et,[2,94]),e(Et,[2,95]),e(Et,[2,183]),e(Et,[2,184]),{79:212,82:130,83:p1,84:f1,119:_t,122:vt},e(g1,[2,97]),{8:ke,9:me,10:Ae,11:Vt,12:Ee,13:It,15:Lt,22:214,28:Mt,30:[1,213],33:yt,34:215,35:wt,36:Nt,43:it,47:Rt,63:Ot,78:Pt,86:150,87:Gt,88:Ut,89:jt,90:zt,91:Wt,92:Kt,93:Ht,94:216,108:Yt,112:qt,114:Xt,117:Qt,118:Jt,119:Zt},e(K,[2,116]),e(K,[2,118]),e(K,[2,119]),e(K,[2,172]),e(K,[2,173]),e(K,[2,174]),e(K,[2,175]),e(K,[2,176]),e(K,[2,177]),e(K,[2,178]),e(K,[2,179]),e(K,[2,180]),e(K,[2,181]),e(K,[2,182]),e(K,[2,103]),e(K,[2,104]),e(K,[2,105]),e(K,[2,106]),e(K,[2,107]),e(K,[2,108]),e(K,[2,109]),e(K,[2,110]),e(K,[2,111]),e(K,[2,112]),e(K,[2,113]),e(K,[2,114]),e(K,[2,115]),{6:13,7:14,8:f,9:x,10:m,11:D,12:v,21:20,23:21,24:22,25:23,26:24,27:25,28:P,33:[1,217],35:B,36:W,37:29,38:w,40:_,42:g,45:33,46:44,47:k,48:45,50:46,63:y,87:q,88:Ce,89:Ve,90:ve,91:Ie,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:He,125:Ye,126:Qe,127:Je,128:Ze},{6:13,7:14,8:f,9:x,10:m,11:D,12:v,21:20,23:21,24:22,25:23,26:24,27:25,28:P,33:[1,218],35:B,36:W,37:29,38:w,40:_,42:g,45:33,46:44,47:k,48:45,50:46,63:y,87:q,88:Ce,89:Ve,90:ve,91:Ie,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:He,125:Ye,126:Qe,127:Je,128:Ze},{8:ke,9:me,10:Ae,11:Vt,12:Ee,13:It,15:Lt,22:220,28:Mt,30:[1,219],33:yt,34:221,35:wt,36:Nt,43:it,47:Rt,63:Ot,78:Pt,86:150,87:Gt,88:Ut,89:jt,90:zt,91:Wt,92:Kt,93:Ht,94:216,108:Yt,112:qt,114:Xt,117:Qt,118:Jt,119:Zt},{11:je,19:222},{47:[1,223]},e($e,[2,56]),{11:[1,224],47:k,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{11:[1,225]},{11:[1,226],109:[1,227]},e(A1,[2,143]),{11:[1,228],47:k,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{11:[1,229],47:k,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{83:[1,230]},e(X,[2,124],{11:[1,231]}),e(X,[2,126],{11:[1,232]}),{83:[1,233]},e(Te,[2,199]),{83:[1,234],101:[1,235]},e($e,[2,68],{116:122,47:k,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),{32:[1,236],70:G,85:237,119:U,120:j,121:z},e(We,[2,99]),e(We,[2,101]),e(We,[2,102]),e(We,[2,168]),e(We,[2,169]),e(We,[2,170]),e(We,[2,171]),{52:[1,238],70:G,85:237,119:U,120:j,121:z},{31:239,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{54:[1,240],70:G,85:237,119:U,120:j,121:z},{56:[1,241],70:G,85:237,119:U,120:j,121:z},{58:[1,242],70:G,85:237,119:U,120:j,121:z},{60:[1,243],70:G,85:237,119:U,120:j,121:z},{63:[1,244]},{67:[1,245],70:G,85:237,119:U,120:j,121:z},{69:[1,246],70:G,85:237,119:U,120:j,121:z},{31:247,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},{32:[1,248],70:G,85:237,119:U,120:j,121:z},{70:G,72:[1,249],74:[1,250],85:237,119:U,120:j,121:z},{70:G,72:[1,252],74:[1,251],85:237,119:U,120:j,121:z},e(st,[2,58],{19:169,11:je,43:At}),e(st,[2,60],{47:m1}),e(kt,[2,88]),e(kt,[2,87]),{65:[1,253],70:G,85:237,119:U,120:j,121:z},e(kt,[2,90]),e(Et,[2,93]),{80:[1,254],82:211,119:_t,122:vt},{31:255,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},e(mt,u,{5:256}),{8:ke,9:me,10:Ae,12:Ee,22:257,43:At},e(K,[2,117]),e(N,[2,42]),e(N,[2,43]),{31:258,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},e(N,[2,46]),{8:ke,9:me,10:Ae,12:Ee,22:259,43:At},{46:260,47:k,48:45,50:46,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{11:je,19:261},{11:Le,63:Be,87:Me,95:262,108:we,110:263,111:264,112:Ne,113:Oe,114:Pe,115:Ge},{11:Le,63:Be,87:Me,95:273,107:[1,274],108:we,110:263,111:264,112:Ne,113:Oe,114:Pe,115:Ge},{11:Le,63:Be,87:Me,95:275,107:[1,276],108:we,110:263,111:264,112:Ne,113:Oe,114:Pe,115:Ge},{108:[1,277]},{11:Le,63:Be,87:Me,95:278,108:we,110:263,111:264,112:Ne,113:Oe,114:Pe,115:Ge},{47:k,50:279,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,123]),{83:[1,280]},{83:[1,281],101:[1,282]},e(X,[2,131]),e(X,[2,133],{11:[1,283]}),e(X,[2,134]),e(oe,[2,69]),e(We,[2,100]),e(oe,[2,70]),{54:[1,284],70:G,85:237,119:U,120:j,121:z},e(oe,[2,77]),e(oe,[2,72]),e(oe,[2,73]),e(oe,[2,74]),{112:[1,285]},e(oe,[2,76]),e(oe,[2,78]),{69:[1,286],70:G,85:237,119:U,120:j,121:z},e(oe,[2,80]),e(oe,[2,81]),e(oe,[2,83]),e(oe,[2,82]),e(oe,[2,84]),e([11,47,63,92,105,108,109,112,114,117,118,119],[2,98]),e(kt,[2,91]),{32:[1,287],70:G,85:237,119:U,120:j,121:z},{6:13,7:14,8:f,9:x,10:m,11:D,12:v,21:20,23:21,24:22,25:23,26:24,27:25,28:P,33:[1,288],35:B,36:W,37:29,38:w,40:_,42:g,45:33,46:44,47:k,48:45,50:46,63:y,87:q,88:Ce,89:Ve,90:ve,91:Ie,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:He,125:Ye,126:Qe,127:Je,128:Ze},e(mt,u,{5:289}),{32:[1,290],70:G,85:237,119:U,120:j,121:z},e(N,[2,47]),e($e,[2,66]),{46:291,47:k,48:45,50:46,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,136],{109:Ct}),e(E1,[2,145],{111:293,11:Le,63:Be,87:Me,108:we,112:Ne,113:Oe,114:Pe,115:Ge}),e(Fe,[2,147]),e(Fe,[2,149]),e(Fe,[2,150]),e(Fe,[2,151]),e(Fe,[2,152]),e(Fe,[2,153]),e(Fe,[2,154]),e(Fe,[2,155]),e(Fe,[2,156]),e(X,[2,137],{109:Ct}),{11:[1,294]},e(X,[2,138],{109:Ct}),{11:[1,295]},e(A1,[2,144]),e(X,[2,120],{109:Ct}),e(X,[2,121],{116:122,47:k,63:y,92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),e(X,[2,125]),e(X,[2,127],{11:[1,296]}),e(X,[2,128]),{101:[1,297]},{54:[1,298]},{65:[1,299]},{69:[1,300]},{8:ke,9:me,10:Ae,12:Ee,22:301,34:302,43:it},e(N,[2,40]),{6:13,7:14,8:f,9:x,10:m,11:D,12:v,21:20,23:21,24:22,25:23,26:24,27:25,28:P,33:[1,303],35:B,36:W,37:29,38:w,40:_,42:g,45:33,46:44,47:k,48:45,50:46,63:y,87:q,88:Ce,89:Ve,90:ve,91:Ie,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:He,125:Ye,126:Qe,127:Je,128:Ze},{8:ke,9:me,10:Ae,12:Ee,22:304,34:305,43:it},e($e,[2,65]),{11:Le,63:Be,87:Me,108:we,110:306,111:264,112:Ne,113:Oe,114:Pe,115:Ge},e(Fe,[2,148]),{15:nt,47:ot,63:ut,92:lt,104:307,108:ct,109:dt,112:ht,114:pt,117:ft,118:gt,119:bt,123:97},{15:nt,47:ot,63:ut,92:lt,104:308,108:ct,109:dt,112:ht,114:pt,117:ft,118:gt,119:bt,123:97},{101:[1,309]},e(X,[2,135]),e(oe,[2,71]),{31:310,70:G,83:fe,84:be,85:185,119:U,120:j,121:z},e(oe,[2,79]),e(mt,u,{5:311}),{8:ke,9:me,10:Ae,12:Ee,22:312,43:At},e(N,[2,41]),e(N,[2,44]),{8:ke,9:me,10:Ae,12:Ee,22:313,43:At},e(E1,[2,146],{111:293,11:Le,63:Be,87:Me,108:we,112:Ne,113:Oe,114:Pe,115:Ge}),e(X,[2,141],{123:181,11:[1,314],15:nt,47:ot,63:ut,92:lt,108:ct,109:dt,112:ht,114:pt,117:ft,118:gt,119:bt}),e(X,[2,142],{123:181,11:[1,315],15:nt,47:ot,63:ut,92:lt,108:ct,109:dt,112:ht,114:pt,117:ft,118:gt,119:bt}),e(X,[2,129]),{32:[1,316],70:G,85:237,119:U,120:j,121:z},{6:13,7:14,8:f,9:x,10:m,11:D,12:v,21:20,23:21,24:22,25:23,26:24,27:25,28:P,33:[1,317],35:B,36:W,37:29,38:w,40:_,42:g,45:33,46:44,47:k,48:45,50:46,63:y,87:q,88:Ce,89:Ve,90:ve,91:Ie,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:He,125:Ye,126:Qe,127:Je,128:Ze},e(mt,u,{5:318}),e(N,[2,45]),{11:Le,63:Be,87:Me,95:319,108:we,110:263,111:264,112:Ne,113:Oe,114:Pe,115:Ge},{11:Le,63:Be,87:Me,95:320,108:we,110:263,111:264,112:Ne,113:Oe,114:Pe,115:Ge},e(oe,[2,75]),e(N,[2,38]),{6:13,7:14,8:f,9:x,10:m,11:D,12:v,21:20,23:21,24:22,25:23,26:24,27:25,28:P,33:[1,321],35:B,36:W,37:29,38:w,40:_,42:g,45:33,46:44,47:k,48:45,50:46,63:y,87:q,88:Ce,89:Ve,90:ve,91:Ie,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:He,125:Ye,126:Qe,127:Je,128:Ze},e(X,[2,139],{109:Ct}),e(X,[2,140],{109:Ct}),e(N,[2,39])],defaultActions:{},parseError:t(function(F,V){if(V.recoverable)this.trace(F);else{var L=Error(F);throw L.hash=V,L}},"parseError"),parse:t(function(F){var V=this,L=[0],c=[],H=[null],s=[],O=this.table,i="",Y=0,C1=0,S1=0,R1=2,x1=1,O1=s.slice.call(arguments,1),ae=Object.create(this.lexer),et={yy:{}};for(var n1 in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,n1))et.yy[n1]=this.yy[n1];if(ae.setInput(F,et.yy),et.yy.lexer=ae,et.yy.parser=this,typeof ae.yylloc>"u")ae.yylloc={};var a1=ae.yylloc;s.push(a1);var P1=ae.options&&ae.options.ranges;if(typeof et.yy.parseError==="function")this.parseError=et.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function G1(_e){L.length=L.length-2*_e,H.length=H.length-_e,s.length=s.length-_e}t(G1,"popStack");function T1(){var _e=c.pop()||ae.lex()||x1;if(typeof _e!=="number"){if(_e instanceof Array)c=_e,_e=c.pop();_e=V.symbols_[_e]||_e}return _e}t(T1,"lex");var Se,o1,tt,De,is,u1,St={},e1,Ue,D1,t1;while(!0){if(tt=L[L.length-1],this.defaultActions[tt])De=this.defaultActions[tt];else{if(Se===null||typeof Se>"u")Se=T1();De=O[tt]&&O[tt][Se]}if(typeof De>"u"||!De.length||!De[0]){var l1="";t1=[];for(e1 in O[tt])if(this.terminals_[e1]&&e1>R1)t1.push("'"+this.terminals_[e1]+"'");if(ae.showPosition)l1="Parse error on line "+(Y+1)+`:
22
+ You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e==="object"&&"id"in e&&typeof e.id==="string"}addLink(e,r,n){let o=this.isLinkData(n)?n.id.replace("@",""):void 0;a.info("addLink",e,r,o);for(let d of e)for(let h of r){let l=d===e[e.length-1],p=h===r[0];if(l&&p)this.addSingleLink(d,h,n,o);else this.addSingleLink(d,h,n,void 0)}}updateLinkInterpolate(e,r){e.forEach((n)=>{if(n==="default"){this.edges.defaultInterpolate=r;return}if(typeof n==="number"&&n>=this.edges.length)throw Error(`The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);this.edges[n].interpolate=r})}updateLink(e,r){e.forEach((n)=>{if(typeof n==="number"&&n>=this.edges.length)throw Error(`The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);if(n==="default")this.edges.defaultStyle=r;else if(this.edges[n].style=r,(this.edges[n]?.style?.length??0)>0&&!this.edges[n]?.style?.some((o)=>o?.startsWith("fill")))this.edges[n]?.style?.push("fill:none")})}addClass(e,r){let n=r.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach((o)=>{let d=this.classes.get(o);if(d===void 0)d={id:o,styles:[],textStyles:[]},this.classes.set(o,d);if(n!==void 0&&n!==null)n.forEach((h)=>{if(/color/.exec(h)){let l=h.replace("fill","bgFill");d.textStyles.push(l)}d.styles.push(h)})})}setDirection(e){if(this.direction=e.trim(),/.*</.exec(this.direction))this.direction="RL";if(/.*\^/.exec(this.direction))this.direction="BT";if(/.*>/.exec(this.direction))this.direction="LR";if(/.*v/.exec(this.direction))this.direction="TB";if(this.direction==="TD")this.direction="TB"}setClass(e,r){for(let n of e.split(",")){let o=this.vertices.get(n);if(o)o.classes.push(r);let d=this.edges.find((l)=>l.id===n);if(d)d.classes.push(r);let h=this.subGraphLookup.get(n);if(h)h.classes.push(r)}}setTooltip(e,r){if(r===void 0)return;r=this.sanitizeText(r);for(let n of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(n):n,r)}setClickFun(e,r,n){if(u().securityLevel!=="loose")return;if(r===void 0)return;let o=[];if(typeof n==="string"){o=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let h=0;h<o.length;h++){let l=o[h].trim();if(l.startsWith('"')&&l.endsWith('"'))l=l.substr(1,l.length-2);o[h]=l}}if(o.length===0)o.push(e);let d=this.vertices.get(e);if(d)d.haveCallback=!0,this.funs.push(()=>{let h=this.lookUpDomId(e),l=document.querySelector(`[id="${h}"]`);if(l!==null)l.addEventListener("click",()=>{F.runFunc(r,...o)},!1)})}setLink(e,r,n){e.split(",").forEach((o)=>{let d=this.vertices.get(o);if(d!==void 0)d.link=F.formatUrl(r,this.config),d.linkTarget=n}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,r,n){e.split(",").forEach((o)=>{this.setClickFun(o,r,n)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach((r)=>{r(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}isToolDefinition(e){return W1.has(e.type)}getTools(){let e=[];for(let r of this.vertices.values())if(this.isToolDefinition(r))e.push(r);return e}getClasses(){return this.classes}setupToolTips(e){let r=Dn();f(e).select("svg").selectAll("g.node").on("mouseover",(d)=>{let h=f(d.currentTarget),l=h.attr("title");if(l===null)return;let p=d.currentTarget?.getBoundingClientRect();r.transition().duration(200).style("opacity",".9"),r.text(h.attr("title")).style("left",window.scrollX+p.left+(p.right-p.left)/2+"px").style("top",window.scrollY+p.bottom+"px"),r.html(nt.sanitize(l)),h.classed("hover",!0)}).on("mouseout",(d)=>{r.transition().duration(500).style("opacity",0),f(d.currentTarget).classed("hover",!1)})}clear(e="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=u(),this.diagramId="",this.vertexCounter=0,this.direction=void 0,this.secCount=-1,this.posCrossRef=[],this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,A()}setGen(e){this.version=e||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(e,r,n,o){let d=e?.text?.trim(),h=n?.text;if(e===n&&n?.text&&/\s/.exec(n.text))d=void 0;let p=t((V)=>{let W={boolean:{},number:{},string:{}},M=[],S;return{nodeList:V.filter(function(b){let B=typeof b;if(b.stmt&&b.stmt==="dir")return S=b.value,!1;if(b.trim()==="")return!1;if(B in W)return W[B].hasOwnProperty(b)?!1:W[B][b]=!0;else return M.includes(b)?!1:M.push(b)}),dir:S}},"uniq")(r.flat()),{nodeList:E,dir:m}=p,C=u().flowchart??{};if(m=m??(C.inheritDir?this.getDirection()??u().direction??void 0:void 0),this.version==="gen-1")for(let V=0;V<E.length;V++)E[V]=this.lookUpDomId(E[V]);d=d??"subGraph"+this.subCount,h=h||"",h=this.sanitizeText(h),this.subCount=this.subCount+1;let x={id:d,nodes:E.filter((V)=>V!==d&&!this.globalNodes.has(V)),title:h.trim(),classes:[],dir:m,labelType:this.sanitizeNodeLabelType(n?.type),type:o??"flow"};a.info("Adding",x.id,x.nodes,x.dir),x.nodes=this.makeUniq(x,this.subGraphs).nodes;let O=this.getPosForId(d);if(O!==-1){let V=this.subGraphs[O];for(let W of x.nodes)if(!V.nodes.includes(W))V.nodes.push(W);if(x.title)V.title=x.title;if(x.dir)V.dir=x.dir;if(x.type)V.type=x.type;this.subGraphLookup.set(d,V)}else this.subGraphs.push(x),this.subGraphLookup.set(d,x);return d}addGlobal(e){for(let r of e.flat()){if(typeof r!=="string")continue;let n=r.trim();if(n!=="")this.globalNodes.add(n)}for(let r of this.subGraphs)r.nodes=r.nodes.filter((n)=>!this.globalNodes.has(n))}getPosForId(e){for(let[r,n]of this.subGraphs.entries())if(n.id===e)return r;return-1}indexNodes2(e,r){let n=this.subGraphs[r].nodes;if(this.secCount=this.secCount+1,this.secCount>2000)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=r,this.subGraphs[r].id===e)return{result:!0,count:0};let o=0,d=1;while(o<n.length){let h=this.getPosForId(n[o]);if(h>=0){let l=this.indexNodes2(e,h);if(l.result)return{result:!0,count:d+l.count};else d=d+l.count}o=o+1}return{result:!1,count:d}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){if(this.secCount=-1,this.subGraphs.length>0)this.indexNodes2("none",this.subGraphs.length-1)}addConnector(e,r){let n=e?.text?.trim();if(!n)return"";let o=r?.text?.trim()??"",d=o.length>0?this.sanitizeText(o):n,h=this.connectors.get(n);if(!h)h={id:n,labelType:"text",domId:T1+n+"-"+this.vertexCounter,styles:[],classes:[],isConnector:!0,text:d},this.connectors.set(n,h),this.vertices.set(n,h),this.vertexCounter++;else if(o.length>0)h.text=d;return n}getSubGraphs(){return this.subGraphs}getConnectors(){return[...this.connectors.values()]}firstGraph(){if(this.firstGraphFlag)return this.firstGraphFlag=!1,!0;return!1}computeEdgeSemantic(e,r){if(e==="arrow_point"&&r==="normal")return"sequence";if(e==="arrow_cross"&&r==="normal")return"failure";if(e==="arrow_open"&&r==="dotted")return"reference";return}destructStartLink(e){let r=e.trim(),n="arrow_open",o="normal";if(r.includes("."))o="dotted";return{type:"arrow_open",stroke:o}}countChar(e,r){let n=r.length,o=0;for(let d=0;d<n;++d)if(r[d]===e)++o;return o}destructEndLink(e){let r=e.trim(),n=r.slice(0,-1),o="arrow_open";switch(r.slice(-1)){case"x":o="arrow_cross";break;case">":o="arrow_point";break;case"-":case".":o="arrow_open",n=r;break}let d="normal",h=n.length-1,l=this.countChar(".",n);if(l>0)d="dotted",h=l;return{type:o,stroke:d,length:h}}destructLink(e,r){let n=this.destructEndLink(e),o;if(r){if(o=this.destructStartLink(r),o.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};return o.type=n.type,o.length=n.length,{...o,edgeSemantic:this.computeEdgeSemantic(o.type,o.stroke)}}return{...n,edgeSemantic:this.computeEdgeSemantic(n.type,n.stroke)}}exists(e,r){for(let n of e)if(n.nodes.includes(r))return!0;return!1}makeUniq(e,r){let n=[];return e.nodes.forEach((o,d)=>{if(!this.exists(r,o))n.push(e.nodes[d])}),{nodes:n}}getTypeFromVertex(e){let r=typeof e.type==="string"?Et(e.type):e.type;switch(r){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return r}}findNode(e,r){return e.find((n)=>n.id===r)}destructEdgeType(e){let r="none",n="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":case"arrow_hierarchy":n=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":r=e.replace("double_",""),n=r;break}return{arrowTypeStart:r,arrowTypeEnd:n}}addNodeFromVertex(e,r,n,o,d,h){let l=n.get(e.id),p=o.get(e.id)??!1,E=this.findNode(r,e.id);if(E)E.cssStyles=e.styles,E.cssCompiledStyles=this.getCompiledStyles(e.classes),E.cssClasses=e.classes.join(" ");else{let m={id:e.id,label:e.text,labelType:e.labelType,labelStyle:"",parentId:l,padding:d.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:h,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),metadata:e.metadata};if(p)r.push({...m,isGroup:!0,shape:"rect"});else r.push({...m,isGroup:!1,shape:this.getTypeFromVertex(e),wrappingWidth:d.agentflow?.wrappingWidth,minWidth:d.agentflow?.minNodeWidth})}}getCompiledStyles(e){let r=[];for(let n of e){let o=this.classes.get(n);if(o?.styles)r=[...r,...o.styles??[]].map((d)=>d.trim());if(o?.textStyles)r=[...r,...o.textStyles??[]].map((d)=>d.trim())}return r}runPostParseValidators(){if(this.postParseValidationRun)return;this.postParseValidationRun=!0}getData(){this.runPostParseValidators();let e=u(),r=[],n=[],o=this.getSubGraphs(),d=new Map,h=new Map,l=new Set,p=new Map,E=t((g,b,B=new Set)=>{if(B.has(g))return;B.add(g);let q=this.subGraphLookup.get(g);if(!q)return;for(let fe of q.nodes){if(fe===b||B.has(fe))continue;l.add(fe),p.set(fe,b),E(fe,b,B)}},"collectDescendants");for(let g of o)if(g.metadata?.view==="collapsed"&&!l.has(g.id))E(g.id,g.id);let m=t((g,b)=>{let B=new Set,q=b;while(q!==void 0&&!B.has(q)){if(q===g)return!0;B.add(q),q=d.get(q)}return!1},"wouldCloseContainmentCycle");for(let g=o.length-1;g>=0;g--){let b=o[g];if(l.has(b.id))continue;if(b.nodes.length>0)h.set(b.id,!0);for(let B of b.nodes){if(m(B,b.id)){this.emitWarning(Ct.CONTAINMENT_VIOLATION,`Container "${b.id}" cannot contain "${B}" because "${B}" already contains it. The nesting that would close the loop is dropped.`,{nodeId:B});continue}d.set(B,b.id)}}for(let g=o.length-1;g>=0;g--){let b=o[g];if(l.has(b.id))continue;if(b.metadata?.view==="collapsed"){let q={...b.metadata,containerType:b.type};r.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:d.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:"collapsedGroup",dir:b.dir,isGroup:!1,look:e.look,metadata:q})}else r.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:d.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:K1[b.type??"flow"],dir:b.dir,isGroup:!0,look:e.look,metadata:b.metadata})}this.getVertices().forEach((g)=>{if(l.has(g.id))return;this.addNodeFromVertex(g,r,d,h,e,e.look||"classic")});let x=this.getEdges();x.forEach((g,b)=>{let B=p.get(g.start)??g.start,q=p.get(g.end)??g.end;if(B===q&&g.start!==g.end)return;let{arrowTypeStart:fe,arrowTypeEnd:xe}=this.destructEdgeType(g.type),Ce=[...x.defaultStyle??[]];if(g.style)Ce.push(...g.style);let De={id:vt(B,q,{counter:b,prefix:"L"},g.id),isUserDefinedId:g.isUserDefinedId,start:B,end:q,type:g.type??"normal",label:g.text,labelType:g.labelType,labelpos:"c",thickness:g.stroke,minlen:g.length,classes:g?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:g?.stroke==="invisible"||g?.type==="arrow_open"?"none":fe,arrowTypeEnd:g?.stroke==="invisible"||g?.type==="arrow_open"?"none":xe,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(g.classes),labelStyle:Ce,style:Ce,pattern:g.stroke,look:e.look,animate:g.animate,animation:g.animation,curve:g.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve,metadata:g.metadata};n.push(De)}),D1(r,this);let O=new Map,V=new Map;for(let g of o){let b=d.get(g.id);if(b!==void 0)V.set(b,[...V.get(b)??[],g.id])}let W=0,M=t((g)=>{if(O.has(g))return;O.set(g,W++);for(let b of V.get(g)??[])M(b)},"walkContainers");for(let g of o)if(d.get(g.id)===void 0)M(g.id);let S=new Set(this.getConnectors().map((g)=>g.id));return I1(r,(g)=>{if(S.has(g))return"connector";let b=this.vertices.get(g);return b?this.deriveVertexKind(b,Et(b.type)):void 0},O),{nodes:r,edges:n,other:{},config:e,connectors:this.getConnectors()}}defaultConfig(){return Lr.flowchart}deriveVertexKind(e,r){if(this.isToolDefinition(e))return"tool";if(r==="hexagon"||r==="hex")return"action";if(r==="lean-right"||r==="lean_right")return"input";if(r==="lin-doc"||r==="lined-document")return"refdoc";if(r==="diamond")return"decision";return"task"}getSemanticModel(){this.runPostParseValidators();let e=new Set(this.subGraphs.map((l)=>l.id)),r=[],n=[];for(let[l,p]of this.vertices){if(e.has(l))continue;if(p.isConnector){let C={id:l};if(p.text!==void 0&&p.text!==l)C.title=p.text;if(p.metadata&&Object.keys(p.metadata).length>0){let x={};for(let[O,V]of Object.entries(p.metadata)){if(u1.has(O))continue;x[O]=V}if(Object.keys(x).length>0)C.metadata=x}n.push(C);continue}let E={id:l};if(p.text!==void 0)E.label=p.text;let m=typeof p.type==="string"?Et(p.type):p.type;if(m!==void 0)E.shape=m;if(E.vertexKind=this.deriveVertexKind(p,m),p.metadata&&Object.keys(p.metadata).length>0){let C={};for(let[x,O]of Object.entries(p.metadata)){if(u1.has(x))continue;C[x]=O}if(Object.keys(C).length>0)E.metadata=C}r.push(E)}let o=this.edges.map((l)=>{let p={start:l.start,end:l.end};if(l.id!==void 0)p.id=l.id;if(typeof l.text==="string"&&l.text.length>0)p.label=l.text;if(l.type!==void 0)p.type=l.type;if(l.stroke!==void 0)p.stroke=l.stroke;if(l.edgeSemantic!==void 0)p.edgeSemantic=l.edgeSemantic;if(l.length!==void 0)p.length=l.length;if(l.metadata&&Object.keys(l.metadata).length>0)p.metadata={...l.metadata};return p}),d=this.subGraphs.map((l)=>{let p={id:l.id,nodes:[...l.nodes]};if(l.type!==void 0)p.type=l.type;if(l.title!==void 0)p.title=l.title;if(l.dir!==void 0)p.direction=l.dir;if(l.metadata&&Object.keys(l.metadata).length>0){let E={};for(let[m,C]of Object.entries(l.metadata)){if(u1.has(m))continue;E[m]=C}if(Object.keys(E).length>0)p.metadata=E}return p}),h={vertices:r,edges:o,subGraphs:d,connectors:n,diagnostics:this.diagnostics};if(this.direction!==void 0)h.direction=this.direction;return h}setFrontmatterLineOffset(e){this.frontmatterLineOffset=e??0}toElementPosition(e){let r=e?.first_line??0,n=e?.first_column??0,o=e?.last_line??r,d=e?.last_column??n,[h,l]=e?.range??[0,0];return{startLine:r+this.frontmatterLineOffset,startColumn:n,endLine:o+this.frontmatterLineOffset,endColumn:d,startIndex:h,endIndex:l}}pushMapping(e,r,n){if(!e)return;let o={id:e,type:r,position:this.toElementPosition(n)};return this.elementMappings.push(o),o}addVertexMapping(e,r,n,o){let d=this.pushMapping(e,"vertex",o);if(d&&n==null)this.bareVertexMappings.add(d)}extendVertexMapping(e,r){if(!e||!r)return;let n=this.toElementPosition(r);for(let o=this.elementMappings.length-1;o>=0;o--){let d=this.elementMappings[o];if(d.type==="vertex"&&d.id===e){if(this.bareVertexMappings.has(d))d.type="attachment",this.bareVertexMappings.delete(d);if(n.endLine>d.position.endLine||n.endLine===d.position.endLine&&n.endColumn>d.position.endColumn)d.position.endLine=n.endLine,d.position.endColumn=n.endColumn,d.position.endIndex=n.endIndex;return}}this.pushMapping(e,"attachment",r)}addEdgeMapping(e,r,n,o){let d=Array.isArray(r)?r.map((l)=>typeof l==="string"?l:l?.id??"").filter(Boolean):[],h=d.length>0?d.join(">"):"edge";this.pushMapping(h,"edge",o)}addSubgraphMapping(e,r,n,o){let d=(typeof e==="string"?e:e?.text)??"",h=this.toElementPosition(n),l=o?this.toElementPosition(o):h;if(!d)return;this.elementMappings.push({id:d,type:"subgraph",position:{startLine:h.startLine,startColumn:h.startColumn,endLine:l.endLine,endColumn:l.endColumn,startIndex:h.startIndex,endIndex:l.endIndex}})}addConnectorMapping(e,r,n,o){let d=e?.text?.trim()??"";if(!d)return;let h=this.toElementPosition(n),l=o?this.toElementPosition(o):h;this.elementMappings.push({id:d,type:"connector",position:{startLine:h.startLine,startColumn:h.startColumn,endLine:l.endLine,endColumn:l.endColumn,startIndex:h.startIndex,endIndex:l.endIndex}})}getElementMappings(){return[...this.elementMappings]}getElementById(e){return this.elementMappings.find((r)=>r.id===e)}getElementsOnLine(e){return this.elementMappings.filter((r)=>e>=r.position.startLine&&e<=r.position.endLine)}getElementAtPosition(e,r){let n=this.elementMappings.filter((d)=>{let{startLine:h,startColumn:l,endLine:p,endColumn:E}=d.position;if(e<h||e>p)return!1;if(e===h&&r<l)return!1;if(e===p&&r>E)return!1;return!0});if(n.length===0)return;let o=t(({position:d})=>[d.endLine-d.startLine,d.endColumn-d.startColumn],"span");return n.reduce((d,h)=>{let[l,p]=o(d),[E,m]=o(h);if(E!==l)return E<l?h:d;return m<p?h:d})}getMappingStats(){let e=0,r=0,n=0,o=0,d=0;for(let h of this.elementMappings)if(h.type==="vertex")e++;else if(h.type==="edge")r++;else if(h.type==="subgraph")n++;else if(h.type==="connector")o++;else if(h.type==="attachment")d++;return{vertices:e,edges:r,subgraphs:n,connectors:o,attachments:d,totalElements:this.elementMappings.length}}emitDiagnostic(e,r,n,o){let d=o?.nodeId??o?.edgeId,h=d?this.getElementById(d):void 0,l={id:e,severity:r,message:n,...o?.nodeId?{nodeId:o.nodeId}:{},...o?.edgeId&&!o?.nodeId?{edgeId:o.edgeId}:{},...h?{position:h.position}:{}};if(this.diagnostics.some((m)=>m.id===l.id&&m.severity===l.severity&&m.message===l.message&&m.nodeId===l.nodeId&&m.edgeId===l.edgeId))return;this.diagnostics.push(l);let E=`agentflow[${e}]: ${n}`;if(r==="error")a.error(E);else a.warn(E)}emitWarning(e,r,n){this.emitDiagnostic(e,"warning",r,n)}emitError(e,r,n){this.emitDiagnostic(e,"error",r,n)}getDiagnostics(){return[...this.diagnostics]}},Y1=t(function(e,r){return r.db.getClasses()},"getClasses"),q1=t(async function(e,r,n,o){a.debug("Drawing agentflow diagram",r);let{securityLevel:d,agentflow:h,layout:l}=u();o.db.setDiagramId(r),a.debug("Before getData: ");let p=o.db.getData();a.debug("Data: ",p);let E=Be(r,d),m=o.db.getDirection();if(p.type=o.type,p.layoutAlgorithm=ze(l),p.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.");p.direction=m,p.nodeSpacing=h?.nodeSpacing||50,p.rankSpacing=h?.rankSpacing||50,p.markers=["point","circle","cross","hierarchy"],p.diagramId=r,a.debug("REF1:",p),await Fe(p,E);let C=h?.diagramPadding??8;F.insertTitle(E,"agentflowTitleText",h?.titleTopMargin??0,o.db.getDiagramTitle()),Re(E,C,"agentflow",h?.useMaxWidth??!0)},"draw"),X1={getClasses:Y1,draw:q1},l1=function(){var e=t(function(je,T,_,v){for(_=_||{},v=je.length;v--;_[je[v]]=T);return _},"o"),r=[1,5],n=[1,4],o=[1,3],d=[1,6],h=[1,8,9,10,11,12,28,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],l=[2,2],p=[1,15],E=[1,16],m=[1,17],C=[1,18],x=[1,19],O=[1,26],V=[1,27],W=[1,28],M=[1,30],S=[1,31],g=[1,32],b=[1,55],B=[1,54],q=[1,34],fe=[1,35],xe=[1,36],Ce=[1,37],De=[1,38],Q=[1,50],J=[1,52],Z=[1,48],ee=[1,53],te=[1,49],se=[1,56],ie=[1,51],re=[1,57],ne=[1,58],We=[1,39],Ke=[1,40],He=[1,41],Ye=[1,42],qe=[1,43],Ge=[1,64],y=[1,8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],ce=[1,70],de=[1,68],he=[1,67],pe=[1,69],Ze=[8,9,10,12,78,80,81],$e=[1,88],et=[1,101],tt=[1,106],st=[1,105],it=[1,102],rt=[1,98],at=[1,104],ot=[1,100],ut=[1,107],lt=[1,103],ct=[1,108],dt=[1,99],Xe=[8,9,10,11,12,43,78,80,81],oe=[8,9,10,11,12,43,49,78,80,81],be=[8,9,10,11,12,30,43,47,49,51,53,55,57,59,61,63,66,68,70,71,73,78,80,81,92,105,108,109,112,114,117,118,119],c1=[8,9,10,12,47,63,78,80,81,92,105,108,109,112,114,117,118,119],ht=[47,63,92,105,108,109,112,114,117,118,119],d1=[1,131],h1=[1,132],St=[1,134],xt=[1,133],p1=[47,63,65,77,92,105,108,109,112,114,117,118,119],Tt=[1,143],Dt=[1,157],_t=[1,158],Ft=[1,159],Vt=[1,162],It=[1,161],Bt=[1,160],Mt=[1,145],yt=[1,147],wt=[1,151],f1=[1,139],g1=[1,140],Nt=[1,152],Rt=[1,153],Ot=[1,154],Pt=[1,155],Gt=[1,156],zt=[1,163],Wt=[1,164],Kt=[1,141],Ht=[1,142],Yt=[1,149],qt=[1,144],Xt=[1,148],Qt=[1,146],pt=[8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],b1=[1,168],ft=[1,170],X=[8,9,10,12],ke=[8,9,10,11,12,15,47,63,92,108,109,112,114,117,118,119],G=[1,190],ue=[1,186],le=[1,187],U=[1,191],j=[1,188],z=[1,189],gt=[80,119,122],K=[8,9,10,11,12,13,15,28,30,33,35,36,43,47,63,78,87,88,89,90,91,92,93,108,112,114,117,118,119],k1=[11,109],Ue=[32,52,54,56,58,60,65,67,69,70,72,74,119,120,121],_e=[1,269],ve=[1,267],Ve=[1,271],Me=[1,265],ye=[1,266],we=[1,268],Ne=[1,270],Oe=[1,272],bt=[1,292],m1=[8,9,10,12,109],Se=[8,9,10,11,12,63,87,108,109,112,113,114,115],s1={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,COMMENT:8,SEMI:9,NEWLINE:10,SPACE:11,EOF:12,GRAPH:13,NODIR:14,DIR:15,FirstStmtSeparator:16,ending:17,endToken:18,spaceList:19,spaceListNewline:20,vertexStatement:21,separator:22,styleStatement:23,linkStyleStatement:24,classDefStatement:25,classStatement:26,clickStatement:27,flow:28,textNoTags:29,SQS:30,text:31,SQE:32,end:33,shapeData:34,global:35,connector:36,direction:37,acc_title:38,acc_title_value:39,acc_descr:40,acc_descr_value:41,acc_descr_multiline_value:42,SHAPE_DATA:43,link:44,node:45,styledVertex:46,AMP:47,vertex:48,STYLE_SEPARATOR:49,idString:50,DOUBLECIRCLESTART:51,DOUBLECIRCLEEND:52,PS:53,PE:54,"(-":55,"-)":56,STADIUMSTART:57,STADIUMEND:58,SUBROUTINESTART:59,SUBROUTINEEND:60,VERTEX_WITH_PROPS_START:61,"NODE_STRING[field]":62,COLON:63,"NODE_STRING[value]":64,PIPE:65,CYLINDERSTART:66,CYLINDEREND:67,DIAMOND_START:68,DIAMOND_STOP:69,TAGEND:70,TRAPSTART:71,TRAPEND:72,INVTRAPSTART:73,INVTRAPEND:74,linkStatement:75,arrowText:76,TESTSTR:77,START_LINK:78,edgeText:79,LINK:80,LINK_ID:81,edgeTextToken:82,STR:83,MD_STR:84,textToken:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTagsToken:94,stylesOpt:95,"idString[vertex]":96,"idString[class]":97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,"STR[link]":102,"STR[tooltip]":103,alphaNum:104,DEFAULT:105,numList:106,INTERPOLATE:107,NUM:108,COMMA:109,style:110,styleComponent:111,NODE_STRING:112,UNIT:113,BRKT:114,PCT:115,idStringToken:116,MINUS:117,MULT:118,UNICODE_TEXT:119,TEXT:120,TAGSTART:121,EDGE_TEXT:122,alphaNumToken:123,direction_tb:124,direction_bt:125,direction_rl:126,direction_lr:127,direction_td:128,$accept:0,$end:1},terminals_:{2:"error",8:"COMMENT",9:"SEMI",10:"NEWLINE",11:"SPACE",12:"EOF",13:"GRAPH",14:"NODIR",15:"DIR",28:"flow",30:"SQS",32:"SQE",33:"end",35:"global",36:"connector",38:"acc_title",39:"acc_title_value",40:"acc_descr",41:"acc_descr_value",42:"acc_descr_multiline_value",43:"SHAPE_DATA",47:"AMP",49:"STYLE_SEPARATOR",51:"DOUBLECIRCLESTART",52:"DOUBLECIRCLEEND",53:"PS",54:"PE",55:"(-",56:"-)",57:"STADIUMSTART",58:"STADIUMEND",59:"SUBROUTINESTART",60:"SUBROUTINEEND",61:"VERTEX_WITH_PROPS_START",62:"NODE_STRING[field]",63:"COLON",64:"NODE_STRING[value]",65:"PIPE",66:"CYLINDERSTART",67:"CYLINDEREND",68:"DIAMOND_START",69:"DIAMOND_STOP",70:"TAGEND",71:"TRAPSTART",72:"TRAPEND",73:"INVTRAPSTART",74:"INVTRAPEND",77:"TESTSTR",78:"START_LINK",80:"LINK",81:"LINK_ID",83:"STR",84:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"idString[vertex]",97:"idString[class]",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"STR[link]",103:"STR[tooltip]",105:"DEFAULT",107:"INTERPOLATE",108:"NUM",109:"COMMA",112:"NODE_STRING",113:"UNIT",114:"BRKT",115:"PCT",117:"MINUS",118:"MULT",119:"UNICODE_TEXT",120:"TEXT",121:"TAGSTART",122:"EDGE_TEXT",124:"direction_tb",125:"direction_bt",126:"direction_rl",127:"direction_lr",128:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,2],[4,3],[17,2],[17,1],[18,1],[18,1],[18,1],[16,1],[16,1],[16,2],[16,1],[20,2],[20,2],[20,2],[20,1],[20,1],[20,1],[19,2],[19,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,10],[7,6],[7,7],[7,4],[7,4],[7,7],[7,8],[7,4],[7,5],[7,1],[7,2],[7,2],[7,1],[22,1],[22,1],[22,1],[22,1],[34,2],[34,1],[21,4],[21,3],[21,4],[21,2],[21,2],[21,1],[45,1],[45,6],[45,5],[46,1],[46,3],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,8],[48,4],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,4],[48,4],[48,1],[44,2],[44,3],[44,3],[44,1],[44,3],[44,4],[79,1],[79,2],[79,1],[79,1],[75,1],[75,2],[76,3],[31,1],[31,2],[31,1],[31,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[29,1],[29,2],[29,1],[29,1],[25,5],[26,5],[27,2],[27,4],[27,3],[27,5],[27,3],[27,5],[27,5],[27,7],[27,2],[27,4],[27,2],[27,4],[27,4],[27,6],[23,5],[24,5],[24,5],[24,9],[24,9],[24,7],[24,7],[106,1],[106,3],[95,1],[95,3],[110,1],[110,2],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[85,1],[85,1],[85,1],[85,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[82,1],[82,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[50,1],[50,2],[104,1],[104,2],[37,1],[37,1],[37,1],[37,1],[37,1]],performAction:t(function(T,_,v,c,H,s,w){var i=s.length-1;switch(H){case 2:this.$=[];break;case 3:if(!Array.isArray(s[i])||s[i].length>0)s[i-1].push(s[i]);this.$=s[i-1];break;case 4:case 198:this.$=s[i];break;case 5:case 33:case 34:case 35:case 36:case 37:this.$=[];break;case 13:c.setDirection("TB"),this.$="TB";break;case 14:c.setDirection(s[i-1]),this.$=s[i-1];break;case 32:this.$=s[i-1].nodes;break;case 38:if(this.$=c.addSubGraph(s[i-6],s[i-1],s[i-4],"flow"),c.addSubgraphMapping)c.addSubgraphMapping(s[i-6],s[i-4],w[i-8],w[i]);break;case 39:if(this.$=c.addSubGraph(s[i-7],s[i-1],s[i-5],"flow"),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[i-3],w[i-3]),c.addSubgraphMapping)c.addSubgraphMapping(s[i-7],s[i-5],w[i-9],w[i]);break;case 40:if(this.$=c.addSubGraph(s[i-3],s[i-1],{text:"",type:"text"},"flow"),c.addSubgraphMapping)c.addSubgraphMapping(s[i-3],{text:"",type:"text"},w[i-5],w[i]);break;case 41:if(this.$=c.addSubGraph(s[i-4],s[i-1],{text:"",type:"text"},"flow"),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[i-3],w[i-3]),c.addSubgraphMapping)c.addSubgraphMapping(s[i-4],{text:"",type:"text"},w[i-6],w[i]);break;case 42:if(this.$=c.addSubGraph(void 0,s[i-1],void 0,"flow"),c.addSubgraphMapping)c.addSubgraphMapping(void 0,void 0,w[i-3],w[i]);break;case 43:c.addGlobal(s[i-1]),this.$=[];break;case 44:if(this.$=c.addConnector(s[i-4],s[i-2]),c.addConnectorMapping)c.addConnectorMapping(s[i-4],s[i-2],w[i-6],w[i]);break;case 45:if(this.$=c.addConnector(s[i-5],s[i-3]),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[i-1],w[i-1]),c.addConnectorMapping)c.addConnectorMapping(s[i-5],s[i-3],w[i-7],w[i]);break;case 46:if(this.$=c.addConnector(s[i-1],{text:"",type:"text"}),c.addConnectorMapping)c.addConnectorMapping(s[i-1],{text:"",type:"text"},w[i-3],w[i]);break;case 47:if(this.$=c.addConnector(s[i-2],{text:"",type:"text"}),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[i-1],w[i-1]),c.addConnectorMapping)c.addConnectorMapping(s[i-2],{text:"",type:"text"},w[i-4],w[i]);break;case 49:this.$=s[i].trim(),c.setAccTitle(this.$);break;case 50:case 51:this.$=s[i].trim(),c.setAccDescription(this.$);break;case 56:this.$=s[i-1]+s[i];break;case 57:this.$=s[i];break;case 58:if(c.addVertex(s[i-1][s[i-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i],w[i]),c.extendVertexMapping)c.extendVertexMapping(s[i-1][s[i-1].length-1],w[i]);if(c.addLink(s[i-3].stmt,s[i-1],s[i-2]),c.addEdgeMapping)c.addEdgeMapping(s[i-3].stmt,s[i-1],s[i-2],this._$);this.$={stmt:s[i-1],nodes:s[i-1].concat(s[i-3].nodes)};break;case 59:if(c.addLink(s[i-2].stmt,s[i],s[i-1]),c.addEdgeMapping)c.addEdgeMapping(s[i-2].stmt,s[i],s[i-1],this._$);this.$={stmt:s[i],nodes:s[i].concat(s[i-2].nodes)};break;case 60:if(c.addLink(s[i-3].stmt,s[i-1],s[i-2]),c.addEdgeMapping)c.addEdgeMapping(s[i-3].stmt,s[i-1],s[i-2],this._$);this.$={stmt:s[i-1],nodes:s[i-1].concat(s[i-3].nodes)};break;case 61:this.$={stmt:s[i-1],nodes:s[i-1]};break;case 62:if(c.addVertex(s[i-1][s[i-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i],w[i]),c.extendVertexMapping)c.extendVertexMapping(s[i-1][s[i-1].length-1],w[i]);this.$={stmt:s[i-1],nodes:s[i-1],shapeData:s[i]};break;case 63:this.$={stmt:s[i],nodes:s[i]};break;case 64:this.$=[s[i]];break;case 65:if(c.addVertex(s[i-5][s[i-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[i-4],w[i-4]),c.extendVertexMapping)c.extendVertexMapping(s[i-5][s[i-5].length-1],w[i-4]);this.$=s[i-5].concat(s[i]);break;case 66:this.$=s[i-4].concat(s[i]);break;case 67:this.$=s[i];break;case 68:this.$=s[i-2],c.setClass(s[i-2],s[i]);break;case 69:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"square"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"square",this._$);break;case 70:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"doublecircle"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"doublecircle",this._$);break;case 71:if(this.$=s[i-5],c.addVertex(s[i-5],s[i-2],"circle"),c.addVertexMapping)c.addVertexMapping(s[i-5],s[i-2],"circle",this._$);break;case 72:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"ellipse"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"ellipse",this._$);break;case 73:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"stadium"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"stadium",this._$);break;case 74:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"subroutine"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"subroutine",this._$);break;case 75:if(this.$=s[i-7],c.addVertex(s[i-7],s[i-1],"rect",void 0,void 0,void 0,Object.fromEntries([[s[i-5],s[i-3]]])),c.addVertexMapping)c.addVertexMapping(s[i-7],s[i-1],"rect",this._$);break;case 76:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"cylinder"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"cylinder",this._$);break;case 77:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"round"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"round",this._$);break;case 78:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"diamond"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"diamond",this._$);break;case 79:if(this.$=s[i-5],c.addVertex(s[i-5],s[i-2],"hexagon"),c.addVertexMapping)c.addVertexMapping(s[i-5],s[i-2],"hexagon",this._$);break;case 80:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"odd"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"odd",this._$);break;case 81:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"trapezoid"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"trapezoid",this._$);break;case 82:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"inv_trapezoid"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"inv_trapezoid",this._$);break;case 83:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"lean_right"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"lean_right",this._$);break;case 84:if(this.$=s[i-3],c.addVertex(s[i-3],s[i-1],"lean_left"),c.addVertexMapping)c.addVertexMapping(s[i-3],s[i-1],"lean_left",this._$);break;case 85:if(this.$=s[i],c.addVertex(s[i]),c.addVertexMapping)c.addVertexMapping(s[i],void 0,void 0,this._$);break;case 86:s[i-1].text=s[i],this.$=s[i-1];break;case 87:case 88:s[i-2].text=s[i-1],this.$=s[i-2];break;case 89:this.$=s[i];break;case 90:var Y=c.destructLink(s[i],s[i-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,text:s[i-1]};break;case 91:var Y=c.destructLink(s[i],s[i-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,text:s[i-1],id:s[i-3]};break;case 92:this.$={text:s[i],type:"text"};break;case 93:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 94:this.$={text:s[i],type:"string"};break;case 95:this.$={text:s[i],type:"markdown"};break;case 96:var Y=c.destructLink(s[i]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic};break;case 97:var Y=c.destructLink(s[i]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,id:s[i-1]};break;case 98:this.$=s[i-1];break;case 99:this.$={text:s[i],type:"text"};break;case 100:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 101:this.$={text:s[i],type:"string"};break;case 102:case 119:this.$={text:s[i],type:"markdown"};break;case 116:this.$={text:s[i],type:"text"};break;case 117:this.$={text:s[i-1].text+""+s[i],type:s[i-1].type};break;case 118:this.$={text:s[i],type:"text"};break;case 120:this.$=s[i-4],c.addClass(s[i-2],s[i]);break;case 121:this.$=s[i-4],c.setClass(s[i-2],s[i]);break;case 122:case 130:this.$=s[i-1],c.setClickEvent(s[i-1],s[i]);break;case 123:case 131:this.$=s[i-3],c.setClickEvent(s[i-3],s[i-2]),c.setTooltip(s[i-3],s[i]);break;case 124:this.$=s[i-2],c.setClickEvent(s[i-2],s[i-1],s[i]);break;case 125:this.$=s[i-4],c.setClickEvent(s[i-4],s[i-3],s[i-2]),c.setTooltip(s[i-4],s[i]);break;case 126:this.$=s[i-2],c.setLink(s[i-2],s[i]);break;case 127:this.$=s[i-4],c.setLink(s[i-4],s[i-2]),c.setTooltip(s[i-4],s[i]);break;case 128:this.$=s[i-4],c.setLink(s[i-4],s[i-2],s[i]);break;case 129:this.$=s[i-6],c.setLink(s[i-6],s[i-4],s[i]),c.setTooltip(s[i-6],s[i-2]);break;case 132:this.$=s[i-1],c.setLink(s[i-1],s[i]);break;case 133:this.$=s[i-3],c.setLink(s[i-3],s[i-2]),c.setTooltip(s[i-3],s[i]);break;case 134:this.$=s[i-3],c.setLink(s[i-3],s[i-2],s[i]);break;case 135:this.$=s[i-5],c.setLink(s[i-5],s[i-4],s[i]),c.setTooltip(s[i-5],s[i-2]);break;case 136:this.$=s[i-4],c.addVertex(s[i-2],void 0,void 0,s[i]);break;case 137:this.$=s[i-4],c.updateLink([s[i-2]],s[i]);break;case 138:this.$=s[i-4],c.updateLink(s[i-2],s[i]);break;case 139:this.$=s[i-8],c.updateLinkInterpolate([s[i-6]],s[i-2]),c.updateLink([s[i-6]],s[i]);break;case 140:this.$=s[i-8],c.updateLinkInterpolate(s[i-6],s[i-2]),c.updateLink(s[i-6],s[i]);break;case 141:this.$=s[i-6],c.updateLinkInterpolate([s[i-4]],s[i]);break;case 142:this.$=s[i-6],c.updateLinkInterpolate(s[i-4],s[i]);break;case 143:case 145:this.$=[s[i]];break;case 144:case 146:s[i-2].push(s[i]),this.$=s[i-2];break;case 148:this.$=s[i-1]+s[i];break;case 196:this.$=s[i];break;case 197:this.$=s[i-1]+""+s[i];break;case 199:this.$=s[i-1]+""+s[i];break;case 200:this.$={stmt:"dir",value:"TB"};break;case 201:this.$={stmt:"dir",value:"BT"};break;case 202:this.$={stmt:"dir",value:"RL"};break;case 203:this.$={stmt:"dir",value:"LR"};break;case 204:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,8:r,10:n,11:o,13:d},{1:[3]},e(h,l,{5:7}),{4:8,8:r,10:n,11:o,13:d},{4:9,8:r,10:n,11:o,13:d},{4:10,8:r,10:n,11:o,13:d},{14:[1,11],15:[1,12]},{1:[2,1],6:13,7:14,8:p,9:E,10:m,11:C,12:x,21:20,23:21,24:22,25:23,26:24,27:25,28:O,35:V,36:W,37:29,38:M,40:S,42:g,45:33,46:44,47:b,48:45,50:46,63:B,87:q,88:fe,89:xe,90:Ce,91:De,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:We,125:Ke,126:He,127:Ye,128:qe},e(h,[2,10]),e(h,[2,11]),e(h,[2,12]),e(h,[2,13]),{8:[1,63],9:[1,60],10:[1,61],11:Ge,16:59,19:62},e(y,[2,3]),e(y,[2,4]),e(y,[2,5]),e(y,[2,6]),e(y,[2,7]),e(y,[2,8]),e(y,[2,9]),{8:ce,9:de,10:he,12:pe,22:65,44:66,75:71,78:[1,72],80:[1,74],81:[1,73]},{8:ce,9:de,10:he,12:pe,22:75},{8:ce,9:de,10:he,12:pe,22:76},{8:ce,9:de,10:he,12:pe,22:77},{8:ce,9:de,10:he,12:pe,22:78},{8:ce,9:de,10:he,12:pe,22:79},{8:ce,9:de,10:he,11:[1,80],12:pe,22:81},{8:ce,9:de,10:he,12:pe,22:82},{11:[1,83]},e(y,[2,48]),{39:[1,84]},{41:[1,85]},e(y,[2,51]),e(Ze,[2,63],{19:86,34:87,11:Ge,43:$e}),{11:[1,89]},{11:[1,90]},{11:[1,91]},{11:[1,92]},{15:et,47:tt,63:st,83:[1,96],92:it,98:[1,93],100:[1,94],104:95,108:rt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt,123:97},e(y,[2,200]),e(y,[2,201]),e(y,[2,202]),e(y,[2,203]),e(y,[2,204]),e(Xe,[2,64]),e(Xe,[2,67],{49:[1,109]}),e(oe,[2,85],{116:122,30:[1,110],47:b,51:[1,111],53:[1,112],55:[1,113],57:[1,114],59:[1,115],61:[1,116],63:B,66:[1,117],68:[1,118],70:[1,119],71:[1,120],73:[1,121],92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),e(be,[2,196]),e(be,[2,157]),e(be,[2,158]),e(be,[2,159]),e(be,[2,160]),e(be,[2,161]),e(be,[2,162]),e(be,[2,163]),e(be,[2,164]),e(be,[2,165]),e(be,[2,166]),e(be,[2,167]),e(h,[2,14]),e(h,[2,20]),e(h,[2,21]),{10:[1,123]},e(h,[2,23]),e(c1,[2,31],{19:124,11:Ge}),e(y,[2,32]),{45:125,46:44,47:b,48:45,50:46,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(y,[2,52]),e(y,[2,53]),e(y,[2,54]),e(y,[2,55]),e(ht,[2,89],{76:126,65:[1,128],77:[1,127]}),{79:129,82:130,83:d1,84:h1,119:St,122:xt},{78:[1,135],80:[1,136]},e(p1,[2,96]),e(y,[2,33]),e(y,[2,34]),e(y,[2,35]),e(y,[2,36]),e(y,[2,37]),{11:Tt,13:Dt,15:_t,28:Ft,29:137,33:Vt,35:It,36:Bt,47:Mt,63:yt,78:wt,83:f1,84:g1,86:150,87:Nt,88:Rt,89:Ot,90:Pt,91:Gt,92:zt,93:Wt,94:138,108:Kt,112:Ht,114:Yt,117:qt,118:Xt,119:Qt},e(pt,l,{5:165}),e(pt,l,{5:166}),{11:Tt,13:Dt,15:_t,28:Ft,29:167,33:Vt,35:It,36:Bt,47:Mt,63:yt,78:wt,83:f1,84:g1,86:150,87:Nt,88:Rt,89:Ot,90:Pt,91:Gt,92:zt,93:Wt,94:138,108:Kt,112:Ht,114:Yt,117:qt,118:Xt,119:Qt},e(y,[2,49]),e(y,[2,50]),e(Ze,[2,61],{47:b1}),e(Ze,[2,62],{19:169,11:Ge,43:ft}),e(Xe,[2,57]),{47:b,50:171,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{105:[1,172],106:173,108:[1,174]},{47:b,50:175,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{47:b,50:176,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,122],{11:[1,177],99:[1,178]}),{83:[1,179]},e(X,[2,130],{123:181,11:[1,180],15:et,47:tt,63:st,92:it,108:rt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt}),e(X,[2,132],{11:[1,182]}),e(ke,[2,198]),e(ke,[2,185]),e(ke,[2,186]),e(ke,[2,187]),e(ke,[2,188]),e(ke,[2,189]),e(ke,[2,190]),e(ke,[2,191]),e(ke,[2,192]),e(ke,[2,193]),e(ke,[2,194]),e(ke,[2,195]),{47:b,50:183,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{31:184,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{31:192,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{31:194,53:[1,193],70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{31:195,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{31:196,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{31:197,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{112:[1,198]},{31:199,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{31:200,68:[1,201],70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{31:202,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{31:203,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{31:204,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},e(be,[2,197]),e(h,[2,22]),e(c1,[2,30]),e(Ze,[2,59],{34:205,19:206,11:Ge,43:$e}),e(ht,[2,86],{11:[1,207]}),{11:[1,208]},{31:209,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{80:[1,210],82:211,119:St,122:xt},e(gt,[2,92]),e(gt,[2,94]),e(gt,[2,95]),e(gt,[2,183]),e(gt,[2,184]),{79:212,82:130,83:d1,84:h1,119:St,122:xt},e(p1,[2,97]),{8:ce,9:de,10:he,11:Tt,12:pe,13:Dt,15:_t,22:214,28:Ft,30:[1,213],33:Vt,34:215,35:It,36:Bt,43:$e,47:Mt,63:yt,78:wt,86:150,87:Nt,88:Rt,89:Ot,90:Pt,91:Gt,92:zt,93:Wt,94:216,108:Kt,112:Ht,114:Yt,117:qt,118:Xt,119:Qt},e(K,[2,116]),e(K,[2,118]),e(K,[2,119]),e(K,[2,172]),e(K,[2,173]),e(K,[2,174]),e(K,[2,175]),e(K,[2,176]),e(K,[2,177]),e(K,[2,178]),e(K,[2,179]),e(K,[2,180]),e(K,[2,181]),e(K,[2,182]),e(K,[2,103]),e(K,[2,104]),e(K,[2,105]),e(K,[2,106]),e(K,[2,107]),e(K,[2,108]),e(K,[2,109]),e(K,[2,110]),e(K,[2,111]),e(K,[2,112]),e(K,[2,113]),e(K,[2,114]),e(K,[2,115]),{6:13,7:14,8:p,9:E,10:m,11:C,12:x,21:20,23:21,24:22,25:23,26:24,27:25,28:O,33:[1,217],35:V,36:W,37:29,38:M,40:S,42:g,45:33,46:44,47:b,48:45,50:46,63:B,87:q,88:fe,89:xe,90:Ce,91:De,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:We,125:Ke,126:He,127:Ye,128:qe},{6:13,7:14,8:p,9:E,10:m,11:C,12:x,21:20,23:21,24:22,25:23,26:24,27:25,28:O,33:[1,218],35:V,36:W,37:29,38:M,40:S,42:g,45:33,46:44,47:b,48:45,50:46,63:B,87:q,88:fe,89:xe,90:Ce,91:De,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:We,125:Ke,126:He,127:Ye,128:qe},{8:ce,9:de,10:he,11:Tt,12:pe,13:Dt,15:_t,22:220,28:Ft,30:[1,219],33:Vt,34:221,35:It,36:Bt,43:$e,47:Mt,63:yt,78:wt,86:150,87:Nt,88:Rt,89:Ot,90:Pt,91:Gt,92:zt,93:Wt,94:216,108:Kt,112:Ht,114:Yt,117:qt,118:Xt,119:Qt},{11:Ge,19:222},{47:[1,223]},e(Xe,[2,56]),{11:[1,224],47:b,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{11:[1,225]},{11:[1,226],109:[1,227]},e(k1,[2,143]),{11:[1,228],47:b,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{11:[1,229],47:b,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{83:[1,230]},e(X,[2,124],{11:[1,231]}),e(X,[2,126],{11:[1,232]}),{83:[1,233]},e(ke,[2,199]),{83:[1,234],101:[1,235]},e(Xe,[2,68],{116:122,47:b,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),{32:[1,236],70:G,85:237,119:U,120:j,121:z},e(Ue,[2,99]),e(Ue,[2,101]),e(Ue,[2,102]),e(Ue,[2,168]),e(Ue,[2,169]),e(Ue,[2,170]),e(Ue,[2,171]),{52:[1,238],70:G,85:237,119:U,120:j,121:z},{31:239,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{54:[1,240],70:G,85:237,119:U,120:j,121:z},{56:[1,241],70:G,85:237,119:U,120:j,121:z},{58:[1,242],70:G,85:237,119:U,120:j,121:z},{60:[1,243],70:G,85:237,119:U,120:j,121:z},{63:[1,244]},{67:[1,245],70:G,85:237,119:U,120:j,121:z},{69:[1,246],70:G,85:237,119:U,120:j,121:z},{31:247,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},{32:[1,248],70:G,85:237,119:U,120:j,121:z},{70:G,72:[1,249],74:[1,250],85:237,119:U,120:j,121:z},{70:G,72:[1,252],74:[1,251],85:237,119:U,120:j,121:z},e(Ze,[2,58],{19:169,11:Ge,43:ft}),e(Ze,[2,60],{47:b1}),e(ht,[2,88]),e(ht,[2,87]),{65:[1,253],70:G,85:237,119:U,120:j,121:z},e(ht,[2,90]),e(gt,[2,93]),{80:[1,254],82:211,119:St,122:xt},{31:255,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},e(pt,l,{5:256}),{8:ce,9:de,10:he,12:pe,22:257,43:ft},e(K,[2,117]),e(y,[2,42]),e(y,[2,43]),{31:258,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},e(y,[2,46]),{8:ce,9:de,10:he,12:pe,22:259,43:ft},{46:260,47:b,48:45,50:46,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{11:Ge,19:261},{11:_e,63:ve,87:Ve,95:262,108:Me,110:263,111:264,112:ye,113:we,114:Ne,115:Oe},{11:_e,63:ve,87:Ve,95:273,107:[1,274],108:Me,110:263,111:264,112:ye,113:we,114:Ne,115:Oe},{11:_e,63:ve,87:Ve,95:275,107:[1,276],108:Me,110:263,111:264,112:ye,113:we,114:Ne,115:Oe},{108:[1,277]},{11:_e,63:ve,87:Ve,95:278,108:Me,110:263,111:264,112:ye,113:we,114:Ne,115:Oe},{47:b,50:279,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,123]),{83:[1,280]},{83:[1,281],101:[1,282]},e(X,[2,131]),e(X,[2,133],{11:[1,283]}),e(X,[2,134]),e(oe,[2,69]),e(Ue,[2,100]),e(oe,[2,70]),{54:[1,284],70:G,85:237,119:U,120:j,121:z},e(oe,[2,77]),e(oe,[2,72]),e(oe,[2,73]),e(oe,[2,74]),{112:[1,285]},e(oe,[2,76]),e(oe,[2,78]),{69:[1,286],70:G,85:237,119:U,120:j,121:z},e(oe,[2,80]),e(oe,[2,81]),e(oe,[2,83]),e(oe,[2,82]),e(oe,[2,84]),e([11,47,63,92,105,108,109,112,114,117,118,119],[2,98]),e(ht,[2,91]),{32:[1,287],70:G,85:237,119:U,120:j,121:z},{6:13,7:14,8:p,9:E,10:m,11:C,12:x,21:20,23:21,24:22,25:23,26:24,27:25,28:O,33:[1,288],35:V,36:W,37:29,38:M,40:S,42:g,45:33,46:44,47:b,48:45,50:46,63:B,87:q,88:fe,89:xe,90:Ce,91:De,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:We,125:Ke,126:He,127:Ye,128:qe},e(pt,l,{5:289}),{32:[1,290],70:G,85:237,119:U,120:j,121:z},e(y,[2,47]),e(Xe,[2,66]),{46:291,47:b,48:45,50:46,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,136],{109:bt}),e(m1,[2,145],{111:293,11:_e,63:ve,87:Ve,108:Me,112:ye,113:we,114:Ne,115:Oe}),e(Se,[2,147]),e(Se,[2,149]),e(Se,[2,150]),e(Se,[2,151]),e(Se,[2,152]),e(Se,[2,153]),e(Se,[2,154]),e(Se,[2,155]),e(Se,[2,156]),e(X,[2,137],{109:bt}),{11:[1,294]},e(X,[2,138],{109:bt}),{11:[1,295]},e(k1,[2,144]),e(X,[2,120],{109:bt}),e(X,[2,121],{116:122,47:b,63:B,92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),e(X,[2,125]),e(X,[2,127],{11:[1,296]}),e(X,[2,128]),{101:[1,297]},{54:[1,298]},{65:[1,299]},{69:[1,300]},{8:ce,9:de,10:he,12:pe,22:301,34:302,43:$e},e(y,[2,40]),{6:13,7:14,8:p,9:E,10:m,11:C,12:x,21:20,23:21,24:22,25:23,26:24,27:25,28:O,33:[1,303],35:V,36:W,37:29,38:M,40:S,42:g,45:33,46:44,47:b,48:45,50:46,63:B,87:q,88:fe,89:xe,90:Ce,91:De,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:We,125:Ke,126:He,127:Ye,128:qe},{8:ce,9:de,10:he,12:pe,22:304,34:305,43:$e},e(Xe,[2,65]),{11:_e,63:ve,87:Ve,108:Me,110:306,111:264,112:ye,113:we,114:Ne,115:Oe},e(Se,[2,148]),{15:et,47:tt,63:st,92:it,104:307,108:rt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt,123:97},{15:et,47:tt,63:st,92:it,104:308,108:rt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt,123:97},{101:[1,309]},e(X,[2,135]),e(oe,[2,71]),{31:310,70:G,83:ue,84:le,85:185,119:U,120:j,121:z},e(oe,[2,79]),e(pt,l,{5:311}),{8:ce,9:de,10:he,12:pe,22:312,43:ft},e(y,[2,41]),e(y,[2,44]),{8:ce,9:de,10:he,12:pe,22:313,43:ft},e(m1,[2,146],{111:293,11:_e,63:ve,87:Ve,108:Me,112:ye,113:we,114:Ne,115:Oe}),e(X,[2,141],{123:181,11:[1,314],15:et,47:tt,63:st,92:it,108:rt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt}),e(X,[2,142],{123:181,11:[1,315],15:et,47:tt,63:st,92:it,108:rt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt}),e(X,[2,129]),{32:[1,316],70:G,85:237,119:U,120:j,121:z},{6:13,7:14,8:p,9:E,10:m,11:C,12:x,21:20,23:21,24:22,25:23,26:24,27:25,28:O,33:[1,317],35:V,36:W,37:29,38:M,40:S,42:g,45:33,46:44,47:b,48:45,50:46,63:B,87:q,88:fe,89:xe,90:Ce,91:De,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:We,125:Ke,126:He,127:Ye,128:qe},e(pt,l,{5:318}),e(y,[2,45]),{11:_e,63:ve,87:Ve,95:319,108:Me,110:263,111:264,112:ye,113:we,114:Ne,115:Oe},{11:_e,63:ve,87:Ve,95:320,108:Me,110:263,111:264,112:ye,113:we,114:Ne,115:Oe},e(oe,[2,75]),e(y,[2,38]),{6:13,7:14,8:p,9:E,10:m,11:C,12:x,21:20,23:21,24:22,25:23,26:24,27:25,28:O,33:[1,321],35:V,36:W,37:29,38:M,40:S,42:g,45:33,46:44,47:b,48:45,50:46,63:B,87:q,88:fe,89:xe,90:Ce,91:De,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:We,125:Ke,126:He,127:Ye,128:qe},e(X,[2,139],{109:bt}),e(X,[2,140],{109:bt}),e(y,[2,39])],defaultActions:{},parseError:t(function(T,_){if(_.recoverable)this.trace(T);else{var v=Error(T);throw v.hash=_,v}},"parseError"),parse:t(function(T){var _=this,v=[0],c=[],H=[null],s=[],w=this.table,i="",Y=0,A1=0,E1=0,w1=2,C1=1,N1=s.slice.call(arguments,1),ae=Object.create(this.lexer),Qe={yy:{}};for(var i1 in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,i1))Qe.yy[i1]=this.yy[i1];if(ae.setInput(T,Qe.yy),Qe.yy.lexer=ae,Qe.yy.parser=this,typeof ae.yylloc>"u")ae.yylloc={};var r1=ae.yylloc;s.push(r1);var R1=ae.options&&ae.options.ranges;if(typeof Qe.yy.parseError==="function")this.parseError=Qe.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function O1(Ae){v.length=v.length-2*Ae,H.length=H.length-Ae,s.length=s.length-Ae}t(O1,"popStack");function S1(){var Ae=c.pop()||ae.lex()||C1;if(typeof Ae!=="number"){if(Ae instanceof Array)c=Ae,Ae=c.pop();Ae=_.symbols_[Ae]||Ae}return Ae}t(S1,"lex");var ge,n1,Je,me,ts,a1,mt={},Zt,Pe,x1,$t;while(!0){if(Je=v[v.length-1],this.defaultActions[Je])me=this.defaultActions[Je];else{if(ge===null||typeof ge>"u")ge=S1();me=w[Je]&&w[Je][ge]}if(typeof me>"u"||!me.length||!me[0]){var o1="";$t=[];for(Zt in w[Je])if(this.terminals_[Zt]&&Zt>w1)$t.push("'"+this.terminals_[Zt]+"'");if(ae.showPosition)o1="Parse error on line "+(Y+1)+`:
23
23
  `+ae.showPosition()+`
24
- Expecting `+t1.join(", ")+", got '"+(this.terminals_[Se]||Se)+"'";else l1="Parse error on line "+(Y+1)+": Unexpected "+(Se==x1?"end of input":"'"+(this.terminals_[Se]||Se)+"'");this.parseError(l1,{text:ae.match,token:this.terminals_[Se]||Se,line:ae.yylineno,loc:a1,expected:t1})}if(De[0]instanceof Array&&De.length>1)throw Error("Parse Error: multiple actions possible at state: "+tt+", token: "+Se);switch(De[0]){case 1:if(L.push(Se),H.push(ae.yytext),s.push(ae.yylloc),L.push(De[1]),Se=null,!o1){if(C1=ae.yyleng,i=ae.yytext,Y=ae.yylineno,a1=ae.yylloc,S1>0)S1--}else Se=o1,o1=null;break;case 2:if(Ue=this.productions_[De[1]][1],St.$=H[H.length-Ue],St._$={first_line:s[s.length-(Ue||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(Ue||1)].first_column,last_column:s[s.length-1].last_column},P1)St._$.range=[s[s.length-(Ue||1)].range[0],s[s.length-1].range[1]];if(u1=this.performAction.apply(St,[i,C1,Y,et.yy,De[1],H,s].concat(O1)),typeof u1<"u")return u1;if(Ue)L=L.slice(0,-1*Ue*2),H=H.slice(0,-1*Ue),s=s.slice(0,-1*Ue);L.push(this.productions_[De[1]][0]),H.push(St.$),s.push(St._$),D1=O[L[L.length-2]][L[L.length-1]],L.push(D1);break;case 3:return!0}}return!0},"parse")},N1=function(){var Ke={EOF:1,parseError:t(function(V,L){if(this.yy.parser)this.yy.parser.parseError(V,L);else throw Error(V)},"parseError"),setInput:t(function(F,V){if(this.yy=V||this.yy||{},this._input=F,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var F=this._input[0];this.yytext+=F,this.yyleng++,this.offset++,this.match+=F,this.matched+=F;var V=F.match(/(?:\r\n?|\n).*/g);if(V)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),F},"input"),unput:t(function(F){var V=F.length,L=F.split(/(?:\r\n?|\n)/g);this._input=F+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-V),this.offset-=V;var c=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),L.length-1)this.yylineno-=L.length-1;var H=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:L?(L.length===c.length?this.yylloc.first_column:0)+c[c.length-L.length].length-L[0].length:this.yylloc.first_column-V},this.options.ranges)this.yylloc.range=[H[0],H[0]+this.yyleng-V];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;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).
25
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(F){this.unput(this.match.slice(F))},"less"),pastInput:t(function(){var F=this.matched.substr(0,this.matched.length-this.match.length);return(F.length>20?"...":"")+F.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var F=this.match;if(F.length<20)F+=this._input.substr(0,20-F.length);return(F.substr(0,20)+(F.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var F=this.pastInput(),V=Array(F.length+1).join("-");return F+this.upcomingInput()+`
26
- `+V+"^"},"showPosition"),test_match:t(function(F,V){var L,c,H;if(this.options.backtrack_lexer){if(H={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)H.yylloc.range=this.yylloc.range.slice(0)}if(c=F[0].match(/(?:\r\n?|\n).*/g),c)this.yylineno+=c.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+F[0].length},this.yytext+=F[0],this.match+=F[0],this.matches=F,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(F[0].length),this.matched+=F[0],L=this.performAction.call(this,this.yy,this,V,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(L)return L;else if(this._backtrack){for(var s in H)this[s]=H[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var F,V,L,c;if(!this._more)this.yytext="",this.match="";var H=this._currentRules();for(var s=0;s<H.length;s++)if(L=this._input.match(this.rules[H[s]]),L&&(!V||L[0].length>V[0].length)){if(V=L,c=s,this.options.backtrack_lexer)if(F=this.test_match(L,H[s]),F!==!1)return F;else if(this._backtrack){V=!1;continue}else return!1;else if(!this.options.flex)break}if(V){if(F=this.test_match(V,H[c]),F!==!1)return F;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
27
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var V=this.next();if(V)return V;else return this.lex()},"lex"),begin:t(function(V){this.conditionStack.push(V)},"begin"),popState:t(function(){var V=this.conditionStack.length-1;if(V>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(V){if(V=this.conditionStack.length-1-Math.abs(V||0),V>=0)return this.conditionStack[V];else return"INITIAL"},"topState"),pushState:t(function(V){this.begin(V)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(V,L,c,H){var s=H;switch(c){case 0:return this.begin("acc_title"),38;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),40;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),L.yytext="",43;break;case 8:return this.pushState("shapeDataStr"),43;break;case 9:return this.popState(),43;break;case 10:let O=/\n\s*/g;return L.yytext=L.yytext.replace(O,"<br/>"),43;break;case 11:return 43;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 98;case 17:this.popState();break;case 18:return 99;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 87;case 26:return 105;case 27:return 88;case 28:return 107;case 29:return 89;case 30:return 90;case 31:return 100;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 91;case 35:if(V.lex.firstGraph())this.begin("dir");return 13;case 36:return 28;case 37:return 36;case 38:return 35;case 39:return 33;case 40:return 101;case 41:return 101;case 42:return 101;case 43:return 101;case 44:return this.popState(),14;break;case 45:return this.popState(),15;break;case 46:return this.popState(),15;break;case 47:return this.popState(),15;break;case 48:return this.popState(),15;break;case 49:return this.popState(),15;break;case 50:return this.popState(),15;break;case 51:return this.popState(),15;break;case 52:return this.popState(),15;break;case 53:return this.popState(),15;break;case 54:return this.popState(),15;break;case 55:return 124;case 56:return 125;case 57:return 126;case 58:return 127;case 59:return 128;case 60:return 81;case 61:return 108;case 62:return 114;case 63:return 49;case 64:return 63;case 65:return 47;case 66:return 9;case 67:return 109;case 68:return 118;case 69:return this.popState(),80;break;case 70:return this.pushState("edgeText"),78;break;case 71:return 122;case 72:return 80;case 73:break;case 74:return this.popState(),56;break;case 75:return"TEXT";case 76:return this.pushState("ellipseText"),55;break;case 77:return this.popState(),58;break;case 78:return this.pushState("text"),57;break;case 79:return this.popState(),60;break;case 80:return this.pushState("text"),59;break;case 81:return 61;case 82:return this.pushState("text"),70;break;case 83:return this.popState(),67;break;case 84:return this.pushState("text"),66;break;case 85:return this.popState(),52;break;case 86:return this.pushState("text"),51;break;case 87:break;case 88:return this.popState(),72;break;case 89:return this.popState(),74;break;case 90:return 120;case 91:return this.pushState("trapText"),71;break;case 92:return this.pushState("trapText"),73;break;case 93:return 121;case 94:return 70;case 95:return 93;case 96:return"SEP";case 97:return 92;case 98:return 118;case 99:return 114;case 100:return 47;case 101:return 8;case 102:return 112;case 103:return 117;case 104:return 119;case 105:return this.popState(),65;break;case 106:return this.pushState("text"),65;break;case 107:return this.popState(),54;break;case 108:return this.pushState("text"),53;break;case 109:return this.popState(),32;break;case 110:return this.pushState("text"),30;break;case 111:return this.popState(),69;break;case 112:return this.pushState("text"),68;break;case 113:break;case 114:return"TEXT";case 115:return"QUOTE";case 116:return 10;case 117:return 11;case 118:return 12}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:agentflow-beta\b)/,/^(?:flow\b)/,/^(?:connector\b)/,/^(?:global\b[ \t]*)/,/^(?:end\b[ \t]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*--+[x>]\s*)/,/^(?:\s*--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*-\.+-\s*)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|(?:[^\\\[\]\(\)\{\}\/%]+|(?!))+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:[ \t]*%%(?!\{)[^\n]*)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:(?:[^\[\]\(\)\{\}\|\"%]+|(?!))+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeData:{rules:[8,11,12,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackargs:{rules:[17,18,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackname:{rules:[14,15,16,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},href:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},click:{rules:[21,24,33,34,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},edgeText:{rules:[21,24,69,71,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},trapText:{rules:[21,24,76,78,80,84,86,87,88,89,90,91,92,106,108,110,112],inclusive:!1},ellipseText:{rules:[21,24,73,74,75,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},text:{rules:[21,24,76,77,78,79,80,83,84,85,86,91,92,105,106,107,108,109,110,111,112,113,114],inclusive:!1},vertex:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr:{rules:[3,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_title:{rules:[1,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},md_string:{rules:[19,20,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},string:{rules:[21,22,23,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,72,76,78,80,81,82,84,86,91,92,93,94,95,96,97,98,99,100,101,102,103,104,106,108,110,112,115,116,117,118],inclusive:!0}}};return Ke}();r1.lexer=N1;function $t(){this.yy={}}return t($t,"Parser"),$t.prototype=r1,r1.Parser=$t,new $t}();d1.parser=d1;var y1=d1,w1=Object.assign({},y1);w1.parse=(e)=>{let r=e.replace(/}[^\S\n]*\n/g,`}
28
- `);return y1.parse(r)};var Z1=w1,$1=t((e)=>{let{theme:r,bkgColorArray:n,borderColorArray:o}=e;if(!le(r,o))return"";let d=ce(e.look),h=pe(n),u=Xe(e.THEME_COLOR_LIMIT,o),f=t((D)=>o[D%o.length],"border"),x=t((D)=>h?`fill: ${n[D%n.length]};`:"","fill"),m="";for(let D of K1){let v=i1.get(D),P=`[data-look="${d}"].node.${V1(D)}`;m+=`
29
-
30
- ${P} rect,
31
- ${P} path,
32
- ${P} polygon {
33
- stroke: ${f(v)};
34
- ${x(v)}
24
+ Expecting `+$t.join(", ")+", got '"+(this.terminals_[ge]||ge)+"'";else o1="Parse error on line "+(Y+1)+": Unexpected "+(ge==C1?"end of input":"'"+(this.terminals_[ge]||ge)+"'");this.parseError(o1,{text:ae.match,token:this.terminals_[ge]||ge,line:ae.yylineno,loc:r1,expected:$t})}if(me[0]instanceof Array&&me.length>1)throw Error("Parse Error: multiple actions possible at state: "+Je+", token: "+ge);switch(me[0]){case 1:if(v.push(ge),H.push(ae.yytext),s.push(ae.yylloc),v.push(me[1]),ge=null,!n1){if(A1=ae.yyleng,i=ae.yytext,Y=ae.yylineno,r1=ae.yylloc,E1>0)E1--}else ge=n1,n1=null;break;case 2:if(Pe=this.productions_[me[1]][1],mt.$=H[H.length-Pe],mt._$={first_line:s[s.length-(Pe||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(Pe||1)].first_column,last_column:s[s.length-1].last_column},R1)mt._$.range=[s[s.length-(Pe||1)].range[0],s[s.length-1].range[1]];if(a1=this.performAction.apply(mt,[i,A1,Y,Qe.yy,me[1],H,s].concat(N1)),typeof a1<"u")return a1;if(Pe)v=v.slice(0,-1*Pe*2),H=H.slice(0,-1*Pe),s=s.slice(0,-1*Pe);v.push(this.productions_[me[1]][0]),H.push(mt.$),s.push(mt._$),x1=w[v[v.length-2]][v[v.length-1]],v.push(x1);break;case 3:return!0}}return!0},"parse")},y1=function(){var je={EOF:1,parseError:t(function(_,v){if(this.yy.parser)this.yy.parser.parseError(_,v);else throw Error(_)},"parseError"),setInput:t(function(T,_){if(this.yy=_||this.yy||{},this._input=T,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var T=this._input[0];this.yytext+=T,this.yyleng++,this.offset++,this.match+=T,this.matched+=T;var _=T.match(/(?:\r\n?|\n).*/g);if(_)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),T},"input"),unput:t(function(T){var _=T.length,v=T.split(/(?:\r\n?|\n)/g);this._input=T+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-_),this.offset-=_;var c=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),v.length-1)this.yylineno-=v.length-1;var H=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:v?(v.length===c.length?this.yylloc.first_column:0)+c[c.length-v.length].length-v[0].length:this.yylloc.first_column-_},this.options.ranges)this.yylloc.range=[H[0],H[0]+this.yyleng-_];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;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).
25
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(T){this.unput(this.match.slice(T))},"less"),pastInput:t(function(){var T=this.matched.substr(0,this.matched.length-this.match.length);return(T.length>20?"...":"")+T.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var T=this.match;if(T.length<20)T+=this._input.substr(0,20-T.length);return(T.substr(0,20)+(T.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var T=this.pastInput(),_=Array(T.length+1).join("-");return T+this.upcomingInput()+`
26
+ `+_+"^"},"showPosition"),test_match:t(function(T,_){var v,c,H;if(this.options.backtrack_lexer){if(H={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)H.yylloc.range=this.yylloc.range.slice(0)}if(c=T[0].match(/(?:\r\n?|\n).*/g),c)this.yylineno+=c.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+T[0].length},this.yytext+=T[0],this.match+=T[0],this.matches=T,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(T[0].length),this.matched+=T[0],v=this.performAction.call(this,this.yy,this,_,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(v)return v;else if(this._backtrack){for(var s in H)this[s]=H[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var T,_,v,c;if(!this._more)this.yytext="",this.match="";var H=this._currentRules();for(var s=0;s<H.length;s++)if(v=this._input.match(this.rules[H[s]]),v&&(!_||v[0].length>_[0].length)){if(_=v,c=s,this.options.backtrack_lexer)if(T=this.test_match(v,H[s]),T!==!1)return T;else if(this._backtrack){_=!1;continue}else return!1;else if(!this.options.flex)break}if(_){if(T=this.test_match(_,H[c]),T!==!1)return T;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
27
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var _=this.next();if(_)return _;else return this.lex()},"lex"),begin:t(function(_){this.conditionStack.push(_)},"begin"),popState:t(function(){var _=this.conditionStack.length-1;if(_>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(_){if(_=this.conditionStack.length-1-Math.abs(_||0),_>=0)return this.conditionStack[_];else return"INITIAL"},"topState"),pushState:t(function(_){this.begin(_)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(_,v,c,H){var s=H;switch(c){case 0:return this.begin("acc_title"),38;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),40;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),v.yytext="",43;break;case 8:return this.pushState("shapeDataStr"),43;break;case 9:return this.popState(),43;break;case 10:let w=/\n\s*/g;return v.yytext=v.yytext.replace(w,"<br/>"),43;break;case 11:return 43;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 98;case 17:this.popState();break;case 18:return 99;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 87;case 26:return 105;case 27:return 88;case 28:return 107;case 29:return 89;case 30:return 90;case 31:return 100;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 91;case 35:if(_.lex.firstGraph())this.begin("dir");return 13;case 36:return 28;case 37:return 36;case 38:return 35;case 39:return 33;case 40:return 101;case 41:return 101;case 42:return 101;case 43:return 101;case 44:return this.popState(),14;break;case 45:return this.popState(),15;break;case 46:return this.popState(),15;break;case 47:return this.popState(),15;break;case 48:return this.popState(),15;break;case 49:return this.popState(),15;break;case 50:return this.popState(),15;break;case 51:return this.popState(),15;break;case 52:return this.popState(),15;break;case 53:return this.popState(),15;break;case 54:return this.popState(),15;break;case 55:return 124;case 56:return 125;case 57:return 126;case 58:return 127;case 59:return 128;case 60:return 81;case 61:return 108;case 62:return 114;case 63:return 49;case 64:return 63;case 65:return 47;case 66:return 9;case 67:return 109;case 68:return 118;case 69:return this.popState(),80;break;case 70:return this.pushState("edgeText"),78;break;case 71:return 122;case 72:return 80;case 73:break;case 74:return this.popState(),56;break;case 75:return"TEXT";case 76:return this.pushState("ellipseText"),55;break;case 77:return this.popState(),58;break;case 78:return this.pushState("text"),57;break;case 79:return this.popState(),60;break;case 80:return this.pushState("text"),59;break;case 81:return 61;case 82:return this.pushState("text"),70;break;case 83:return this.popState(),67;break;case 84:return this.pushState("text"),66;break;case 85:return this.popState(),52;break;case 86:return this.pushState("text"),51;break;case 87:break;case 88:return this.popState(),72;break;case 89:return this.popState(),74;break;case 90:return 120;case 91:return this.pushState("trapText"),71;break;case 92:return this.pushState("trapText"),73;break;case 93:return 121;case 94:return 70;case 95:return 93;case 96:return"SEP";case 97:return 92;case 98:return 118;case 99:return 114;case 100:return 47;case 101:return 8;case 102:return 112;case 103:return 117;case 104:return 119;case 105:return this.popState(),65;break;case 106:return this.pushState("text"),65;break;case 107:return this.popState(),54;break;case 108:return this.pushState("text"),53;break;case 109:return this.popState(),32;break;case 110:return this.pushState("text"),30;break;case 111:return this.popState(),69;break;case 112:return this.pushState("text"),68;break;case 113:break;case 114:return"TEXT";case 115:return"QUOTE";case 116:return 10;case 117:return 11;case 118:return 12}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:agentflow-beta\b)/,/^(?:flow\b)/,/^(?:connector\b)/,/^(?:global\b[ \t]*)/,/^(?:end\b[ \t]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*--+[x>]\s*)/,/^(?:\s*--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*-\.+-\s*)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|(?:[^\\\[\]\(\)\{\}\/%]+|(?!))+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:[ \t]*%%(?!\{)[^\n]*)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:(?:[^\[\]\(\)\{\}\|\"%]+|(?!))+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeData:{rules:[8,11,12,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackargs:{rules:[17,18,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackname:{rules:[14,15,16,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},href:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},click:{rules:[21,24,33,34,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},edgeText:{rules:[21,24,69,71,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},trapText:{rules:[21,24,76,78,80,84,86,87,88,89,90,91,92,106,108,110,112],inclusive:!1},ellipseText:{rules:[21,24,73,74,75,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},text:{rules:[21,24,76,77,78,79,80,83,84,85,86,91,92,105,106,107,108,109,110,111,112,113,114],inclusive:!1},vertex:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr:{rules:[3,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_title:{rules:[1,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},md_string:{rules:[19,20,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},string:{rules:[21,22,23,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,72,76,78,80,81,82,84,86,91,92,93,94,95,96,97,98,99,100,101,102,103,104,106,108,110,112,115,116,117,118],inclusive:!0}}};return je}();s1.lexer=y1;function Jt(){this.yy={}}return t(Jt,"Parser"),Jt.prototype=s1,s1.Parser=Jt,new Jt}();l1.parser=l1;var B1=l1,M1=Object.assign({},B1);M1.parse=(e)=>{let r=e.replace(/}[^\S\n]*\n/g,`}
28
+ `);return B1.parse(r)};var Q1=M1,J1=t((e)=>{let{theme:r,bkgColorArray:n,borderColorArray:o}=e;if(!Te(r,o))return"";let d=Ee(e.look),h=Ie(n),l=Lt(e.THEME_COLOR_LIMIT,o),p=t((C)=>o[C%o.length],"border"),E=t((C)=>h?`fill: ${n[C%n.length]};`:"","fill"),m="";for(let C of z1){let x=t1.get(C),O=`[data-look="${d}"].node.${v1(C)}`;m+=`
29
+
30
+ ${O} rect,
31
+ ${O} path,
32
+ ${O} polygon {
33
+ stroke: ${p(x)};
34
+ ${E(x)}
35
35
  }
36
- `}for(let D=0;D<I1(u);D++){let v=L1(D,u),P=`[data-look="${d}"][data-color-id="color-${v}"].cluster`,B=`[data-look="${d}"][data-color-id="color-${v}"].node`,W=t((w)=>`${P} ${w}, ${B} ${w}`,"rule");m+=`
36
+ `}for(let C=0;C<F1(l);C++){let x=V1(C,l),O=`[data-look="${d}"][data-color-id="color-${x}"].cluster`,V=`[data-look="${d}"][data-color-id="color-${x}"].node`,W=t((M)=>`${O} ${M}, ${V} ${M}`,"rule");m+=`
37
37
 
38
38
  ${W("rect")},
39
39
  ${W("path")} {
40
- stroke: ${f(v)};
41
- ${x(v)}
40
+ stroke: ${p(x)};
41
+ ${E(x)}
42
42
  }
43
- `}return m},"genColor"),es=t((e,r)=>{let n=Bt,o=n(e,"r"),d=n(e,"g"),h=n(e,"b");return de(o,d,h,r)},"fade"),ts=t((e)=>`${$1(e)}
43
+ `}return m},"genColor"),Z1=t((e,r)=>{let n=In,o=n(e,"r"),d=n(e,"g"),h=n(e,"b");return Le(o,d,h,r)},"fade"),$1=t((e)=>`${J1(e)}
44
44
  .label {
45
45
  font-family: ${e.fontFamily};
46
46
  color: ${e.nodeTextColor||e.textColor};
@@ -121,7 +121,7 @@ Expecting `+t1.join(", ")+", got '"+(this.terminals_[Se]||Se)+"'";else l1="Parse
121
121
 
122
122
  /* For html labels only */
123
123
  .labelBkg {
124
- background-color: ${es(e.edgeLabelBackground,0.5)};
124
+ background-color: ${Z1(e.edgeLabelBackground,0.5)};
125
125
  }
126
126
 
127
127
  .cluster rect {
@@ -196,5 +196,5 @@ Expecting `+t1.join(", ")+", got '"+(this.terminals_[Se]||Se)+"'";else l1="Parse
196
196
  }
197
197
  text-align: center;
198
198
  }
199
- ${qe()}
200
- `,"getStyles"),ss=ts,vs={parser:Z1,get db(){return new q1},renderer:J1,styles:ss,init:t((e)=>{if(e.agentflow??={},e.layout)ln({layout:e.layout});e.flowchart??={},e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,ln({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}})},"init")};export{vs as diagram};
199
+ ${kt()}
200
+ `,"getStyles"),es=$1,Ds={parser:Q1,get db(){return new H1},renderer:X1,styles:es,init:t((e)=>{if(e.agentflow??={},e.layout)or({layout:e.layout});e.flowchart??={},e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,or({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}})},"init")};export{Ds as diagram};
Binary file
Binary file