@vunk/plus 1.6.11 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/components/_baseUniq-BXtq6_NW.mjs +239 -0
  2. package/components/abap-B7h4dtBh.mjs +6 -0
  3. package/components/actionscript-3-Bmm7RA3Y.mjs +6 -0
  4. package/components/ada-BZS802Se.mjs +6 -0
  5. package/components/agent-chat-provider/index.mjs +74 -39
  6. package/components/andromeeda-CrngpmZk.mjs +3 -0
  7. package/components/apache-D4roVlsU.mjs +6 -0
  8. package/components/apex-D6mfw0H5.mjs +6 -0
  9. package/components/apl-DDK-VObo.mjs +18 -0
  10. package/components/applescript-C43Knf0G.mjs +6 -0
  11. package/components/ara-DRBH84ND.mjs +6 -0
  12. package/components/arc-Js_tyW10.mjs +131 -0
  13. package/components/architecture-O4VJ6CD3-ZoZ2IAk2.mjs +13 -0
  14. package/components/architectureDiagram-SUXI7LT5-kyYGGrHN.mjs +8676 -0
  15. package/components/asm-3tg4MVib.mjs +6 -0
  16. package/components/astro-v4FYbRud.mjs +19 -0
  17. package/components/aurora-x-wJ4-eM2h.mjs +3 -0
  18. package/components/awk-ChreaG-G.mjs +6 -0
  19. package/components/ayu-dark-BEKp3oqs.mjs +3 -0
  20. package/components/ballerina-B0yt0TYU.mjs +6 -0
  21. package/components/batch-Ce_EX3Sx.mjs +14 -0
  22. package/components/beancount-BRIsdQEB.mjs +6 -0
  23. package/components/berry-Brv4WWdL.mjs +14 -0
  24. package/components/bibtex-BLeFwAes.mjs +6 -0
  25. package/components/bicep-BVrgfErX.mjs +6 -0
  26. package/components/blade-By3Sw_Ex.mjs +22 -0
  27. package/components/blockDiagram-6J76NXCF-IAr4zDV3.mjs +3608 -0
  28. package/components/bubble-list/index.css +22 -0
  29. package/components/bubble-list/index.mjs +7 -134
  30. package/components/bubble-templates/index.mjs +11438 -101
  31. package/components/c-C4VtT7JA.mjs +6 -0
  32. package/components/c4Diagram-6F6E4RAY-Dv27rXcJ.mjs +2490 -0
  33. package/components/catppuccin-frappe-zLMNRRUx.mjs +3 -0
  34. package/components/catppuccin-latte-CdF5jC3c.mjs +3 -0
  35. package/components/catppuccin-macchiato-DyjXeyRt.mjs +3 -0
  36. package/components/catppuccin-mocha-66IdYxR8.mjs +3 -0
  37. package/components/cdc-30ktANo3.mjs +14 -0
  38. package/components/channel-BBZy6zOT.mjs +7 -0
  39. package/components/chat-independent/index.mjs +4 -4
  40. package/components/chunk-353BL4L5-Dn_Y_Yna.mjs +17 -0
  41. package/components/chunk-67H74DCK-Br5U8bfD.mjs +102 -0
  42. package/components/chunk-AACKK3MU-DH_MKxca.mjs +17 -0
  43. package/components/chunk-BFAMUDN2-DHLCoYMN.mjs +13 -0
  44. package/components/chunk-E2GYISFI-DQPHyyga.mjs +19 -0
  45. package/components/chunk-OW32GOEJ-CQOSE6Bn.mjs +1924 -0
  46. package/components/chunk-SKB7J2MH-BlwHRDiW.mjs +25 -0
  47. package/components/chunk-SZ463SBG-DEp8buKJ.mjs +1823 -0
  48. package/components/clarity-6uBl6Vpb.mjs +6 -0
  49. package/components/classDiagram-M3E45YP4-D0ySDe-v.mjs +30 -0
  50. package/components/classDiagram-v2-YAWTLIQI-D0ySDe-v.mjs +30 -0
  51. package/components/clojure-COBRmwo8.mjs +14 -0
  52. package/components/clone-CEJtuQzg.mjs +8 -0
  53. package/components/cmake-CDfQILeU.mjs +6 -0
  54. package/components/cobol-BOOIiISO.mjs +13 -0
  55. package/components/coffee-DO_RGoZp.mjs +9 -0
  56. package/components/cpp-DAK8ktHO.mjs +25 -0
  57. package/components/crystal-CBGbbyVp.mjs +19 -0
  58. package/components/cs-h3ksD6-P.mjs +14 -0
  59. package/components/css-BtVcDqlU.mjs +6 -0
  60. package/components/cue-BFSVLV6N.mjs +6 -0
  61. package/components/cypher-Dl2CXoXF.mjs +14 -0
  62. package/components/cytoscape.esm-BojS1z60.mjs +30216 -0
  63. package/components/d-9qSZPw74.mjs +6 -0
  64. package/components/dagre-JOIXM2OF-5zx0JY2T.mjs +705 -0
  65. package/components/dark-plus-DmZ1Dzd4.mjs +3 -0
  66. package/components/dart-CCSsOg9l.mjs +6 -0
  67. package/components/dax-CvsmLV-B.mjs +6 -0
  68. package/components/defaultLocale-DVr69WTU.mjs +202 -0
  69. package/components/diagram-5UYTHUR4-C19nyAKc.mjs +213 -0
  70. package/components/diagram-VMROVX33-DkGwo-hj.mjs +859 -0
  71. package/components/diagram-ZTM2IBQH-CBgHCu9L.mjs +315 -0
  72. package/components/diff-BEdzuHlE.mjs +6 -0
  73. package/components/dockerfile-B3DP334t.mjs +14 -0
  74. package/components/dracula-B8-AVrwI.mjs +3 -0
  75. package/components/dracula-soft-BHeefow7.mjs +3 -0
  76. package/components/dream-maker-CNLQpoF-.mjs +6 -0
  77. package/components/elixir-0rTCSSfp.mjs +11 -0
  78. package/components/elm-BhwiZPvf.mjs +10 -0
  79. package/components/erDiagram-3M52JZNH-cttdAJXW.mjs +1167 -0
  80. package/components/erb-Lra8TlYM.mjs +27 -0
  81. package/components/erlang-D2NNgvtR.mjs +17 -0
  82. package/components/everforest-dark-Cg1xdODP.mjs +3 -0
  83. package/components/everforest-light-BmTD3bxe.mjs +3 -0
  84. package/components/fish-BU5HSdZy.mjs +6 -0
  85. package/components/flowDiagram-KYDEHFYC-9HpsqDdB.mjs +2343 -0
  86. package/components/fs-CdBSddpF.mjs +17 -0
  87. package/components/ganttDiagram-EK5VF46D-8QB3ofs6.mjs +3495 -0
  88. package/components/gdresource-CAbkn6H_.mjs +11 -0
  89. package/components/gdscript-Be_cubqt.mjs +6 -0
  90. package/components/gdshader-BEzE4j_3.mjs +6 -0
  91. package/components/gherkin-xCNF9gh8.mjs +6 -0
  92. package/components/git-commit-PP9xCApN.mjs +9 -0
  93. package/components/git-rebase-DqdGofLo.mjs +9 -0
  94. package/components/gitGraph-ZV4HHKMB-BSmtVGRu.mjs +13 -0
  95. package/components/gitGraphDiagram-GW3U2K7C-DNzc0Vx_.mjs +1225 -0
  96. package/components/github-dark-O22yVQaY.mjs +3 -0
  97. package/components/github-dark-default-DB2Hkvqn.mjs +3 -0
  98. package/components/github-dark-dimmed-CMZ_OfqC.mjs +3 -0
  99. package/components/github-dark-high-contrast-DmxWVmCU.mjs +3 -0
  100. package/components/github-light-BTbR9xVK.mjs +3 -0
  101. package/components/github-light-default-DWEonwFe.mjs +3 -0
  102. package/components/github-light-high-contrast-WJ_cPDts.mjs +3 -0
  103. package/components/glimmer-js-BkPYTyD4.mjs +23 -0
  104. package/components/glsl-CGsiYPcu.mjs +9 -0
  105. package/components/gnuplot-tV8vezdE.mjs +6 -0
  106. package/components/go-CBmVHZBz.mjs +6 -0
  107. package/components/graph-3zJxsO-i.mjs +425 -0
  108. package/components/graphql-D4pgneW3.mjs +15 -0
  109. package/components/groovy-Bn4MhXgW.mjs +6 -0
  110. package/components/gruvbox-dark-hard-C89wZ4s3.mjs +3 -0
  111. package/components/gruvbox-dark-medium-swz85q_b.mjs +3 -0
  112. package/components/gruvbox-dark-soft-BYHBHQJW.mjs +3 -0
  113. package/components/gruvbox-light-hard-DEF_ZxYZ.mjs +3 -0
  114. package/components/gruvbox-light-medium-ziUMnHJx.mjs +3 -0
  115. package/components/gruvbox-light-soft-Cuwp0tsB.mjs +3 -0
  116. package/components/gts-d3WsqAZM.mjs +23 -0
  117. package/components/hack-CwaBuF5l.mjs +13 -0
  118. package/components/haml-gLijj4rW.mjs +11 -0
  119. package/components/hbs-CFi5SpI3.mjs +23 -0
  120. package/components/hcl-axoq0Ycu.mjs +6 -0
  121. package/components/hjson-I7LcauIB.mjs +6 -0
  122. package/components/hlsl-TRzjajlb.mjs +6 -0
  123. package/components/houston-CF_ws8Cq.mjs +3 -0
  124. package/components/hs-DXSGqUFF.mjs +14 -0
  125. package/components/html-CLq-n30c.mjs +11 -0
  126. package/components/html-derivative-C8POX8SL.mjs +9 -0
  127. package/components/http-BYUKZ6kX.mjs +20 -0
  128. package/components/imba-C4923lSV.mjs +6 -0
  129. package/components/index3.mjs +79528 -0
  130. package/components/info-63CPKGFF-C8sYWczU.mjs +13 -0
  131. package/components/infoDiagram-LHK5PUON-C-vFFPTf.mjs +42 -0
  132. package/components/init-ZxktEp_H.mjs +15 -0
  133. package/components/java-BfXh-0uJ.mjs +6 -0
  134. package/components/jinja-html-BmW4v_vu.mjs +11 -0
  135. package/components/jison-C9kAT_Oj.mjs +9 -0
  136. package/components/journeyDiagram-EWQZEKCU-BJrw4-AG.mjs +1262 -0
  137. package/components/js-CN_xSsjU.mjs +14 -0
  138. package/components/json-TjWBGEk1.mjs +6 -0
  139. package/components/json5-DCGCKrmX.mjs +6 -0
  140. package/components/jsonc-DLVLp8id.mjs +6 -0
  141. package/components/jsonl-B-R_pDGg.mjs +6 -0
  142. package/components/jsonnet-Cs8BnnC6.mjs +6 -0
  143. package/components/jssm-D_YBQ_cM.mjs +14 -0
  144. package/components/jsx-BPmvoin2.mjs +6 -0
  145. package/components/julia-C-JjBobP.mjs +19 -0
  146. package/components/kanagawa-dragon-DU8n2NNT.mjs +3 -0
  147. package/components/kanagawa-lotus-Byd0CDet.mjs +3 -0
  148. package/components/kanagawa-wave-DExoagcR.mjs +3 -0
  149. package/components/kanban-definition-ZSS6B67P-BptAnqU-.mjs +1057 -0
  150. package/components/kotlin-BM2ZNTMh.mjs +6 -0
  151. package/components/kusto-D9MF7CZf.mjs +14 -0
  152. package/components/laserwave-DF03wMlf.mjs +3 -0
  153. package/components/latex-BsqkLZB_.mjs +10 -0
  154. package/components/layout-sGZIJplX.mjs +2043 -0
  155. package/components/less-BAzLMJNR.mjs +6 -0
  156. package/components/light-plus-DS08Xg5J.mjs +3 -0
  157. package/components/linear-DqgVh5FN.mjs +336 -0
  158. package/components/liquid-f2VHt0dg.mjs +15 -0
  159. package/components/lisp-DAq1kaby.mjs +6 -0
  160. package/components/logo-D9l7oEJ8.mjs +6 -0
  161. package/components/lua-CH3ttzl_.mjs +9 -0
  162. package/components/makefile-D2qLe7q0.mjs +14 -0
  163. package/components/marko-DwRyI_--.mjs +15 -0
  164. package/components/material-theme-B8B2U48Q.mjs +3 -0
  165. package/components/material-theme-darker-BV0iY_T3.mjs +3 -0
  166. package/components/material-theme-lighter-DrzybSTF.mjs +3 -0
  167. package/components/material-theme-ocean-BRPLVReX.mjs +3 -0
  168. package/components/material-theme-palenight-DSJwsR_D.mjs +3 -0
  169. package/components/matlab-7XHduepk.mjs +6 -0
  170. package/components/md-BIvDPr-W.mjs +14 -0
  171. package/components/mdc-Rx6hWSHn.mjs +16 -0
  172. package/components/mdx-D5wExp-O.mjs +6 -0
  173. package/components/mermaid-CUjtoYEe.mjs +6 -0
  174. package/components/mermaid-parser.core-CH9ryA1K.mjs +16987 -0
  175. package/components/mermaid.core-CAqkCmS1.mjs +20975 -0
  176. package/components/min-BngCxx8g.mjs +109 -0
  177. package/components/min-dark-BNaN9fWk.mjs +3 -0
  178. package/components/min-light-CMrjentn.mjs +3 -0
  179. package/components/mindmap-definition-6CBA2TL7-Cp_EeEsh.mjs +5854 -0
  180. package/components/mojo-CrbF881p.mjs +6 -0
  181. package/components/monokai-DelygWXa.mjs +3 -0
  182. package/components/narrat-DOwkIbBe.mjs +14 -0
  183. package/components/nf-DHfvJ2gH.mjs +14 -0
  184. package/components/nginx-B_jWsywZ.mjs +10 -0
  185. package/components/night-owl-DSS199ra.mjs +3 -0
  186. package/components/nim-yzbnZKJd.mjs +22 -0
  187. package/components/nix--3K2gyjg.mjs +6 -0
  188. package/components/nord-CvDbBq5M.mjs +3 -0
  189. package/components/objective-c-DkOBZg1J.mjs +14 -0
  190. package/components/objective-cpp-DEoN9Fe5.mjs +6 -0
  191. package/components/ocaml-B1kfGk9Y.mjs +6 -0
  192. package/components/one-dark-pro-CsMf0BoJ.mjs +3 -0
  193. package/components/one-light-BwwAsfsj.mjs +3 -0
  194. package/components/ordinal-DSZU4PqD.mjs +76 -0
  195. package/components/packet-HUATNLJX-bfFWFja0.mjs +13 -0
  196. package/components/pascal-CU8Kjkr_.mjs +6 -0
  197. package/components/perl-FH6su6vZ.mjs +18 -0
  198. package/components/php-Dnl1TfYH.mjs +20 -0
  199. package/components/pie-WTHONI2E-QPrWs3SR.mjs +13 -0
  200. package/components/pieDiagram-NIOCPIFQ-C46Y_4C6.mjs +248 -0
  201. package/components/plastic-BjwMpBc0.mjs +3 -0
  202. package/components/plsql-B3Na24V4.mjs +6 -0
  203. package/components/poimandres-ChWyhPrn.mjs +3 -0
  204. package/components/postcss-kj1IbjVd.mjs +6 -0
  205. package/components/powerquery-B-e1fO-k.mjs +6 -0
  206. package/components/prisma-bmxcSDxq.mjs +6 -0
  207. package/components/prolog-BT9GCzqD.mjs +6 -0
  208. package/components/properties-D6yKO1eW.mjs +14 -0
  209. package/components/proto-BIXM0k1a.mjs +6 -0
  210. package/components/ps1-aFyNx8UH.mjs +18 -0
  211. package/components/pug-BrOx0bSt.mjs +21 -0
  212. package/components/puppet-N15G4Usj.mjs +6 -0
  213. package/components/purescript-DrwsEYNH.mjs +6 -0
  214. package/components/python-D2s92fRP.mjs +14 -0
  215. package/components/ql-DTm-NCRo.mjs +14 -0
  216. package/components/quadrantDiagram-2OG54O6I-Dgf6d6F_.mjs +1347 -0
  217. package/components/r-oprfD2-9.mjs +6 -0
  218. package/components/radar-NJJJXTRR-BnUCJhQL.mjs +13 -0
  219. package/components/raku-xArQd_rF.mjs +14 -0
  220. package/components/razor-BoXCAbWQ.mjs +13 -0
  221. package/components/red-DByOl5N0.mjs +3 -0
  222. package/components/reg-CULnG2WX.mjs +6 -0
  223. package/components/rel-CHRwzjd4.mjs +6 -0
  224. package/components/requirementDiagram-QOLK2EJ7-CSF6N7HA.mjs +1171 -0
  225. package/components/riscv-BNQ9cVpw.mjs +6 -0
  226. package/components/rose-pine-LL9gXmP2.mjs +3 -0
  227. package/components/rose-pine-dawn-CH9zdisO.mjs +3 -0
  228. package/components/rose-pine-moon-B1oKSfEJ.mjs +3 -0
  229. package/components/rst-bEtD1v7N.mjs +36 -0
  230. package/components/ruby-BmfBy6EV.mjs +44 -0
  231. package/components/rust-Bf_fdNdL.mjs +14 -0
  232. package/components/sankeyDiagram-4UZDY2LN-BAHB7dMS.mjs +1199 -0
  233. package/components/sas-BLBgC3TA.mjs +9 -0
  234. package/components/sass-BheygBdF.mjs +6 -0
  235. package/components/scala-B-_7vFVn.mjs +6 -0
  236. package/components/scheme-BSHdPinv.mjs +6 -0
  237. package/components/scss-Dq-LbI_c.mjs +9 -0
  238. package/components/sequenceDiagram-SKLFT4DO-10gLJ50N.mjs +3422 -0
  239. package/components/shaderlab-BOQRTiQi.mjs +17 -0
  240. package/components/shellsession-Cu3c0QAc.mjs +17 -0
  241. package/components/slack-dark-BEe10hxO.mjs +3 -0
  242. package/components/slack-ochin-BKmu9pBc.mjs +3 -0
  243. package/components/smalltalk-qxcGy4fT.mjs +6 -0
  244. package/components/snazzy-light-Dcvd-ZyI.mjs +3 -0
  245. package/components/solarized-dark-BBl5y5sR.mjs +3 -0
  246. package/components/solarized-light-DW9b_AY8.mjs +3 -0
  247. package/components/solidity-CewKZgp-.mjs +6 -0
  248. package/components/sparql-DswowMAp.mjs +9 -0
  249. package/components/splunk-gK6Iw_P9.mjs +14 -0
  250. package/components/sql-DzUuSofg.mjs +6 -0
  251. package/components/ssh-config-Bk_I5wDR.mjs +6 -0
  252. package/components/stata-Dl7wDdBE.mjs +9 -0
  253. package/components/stateDiagram-MI5ZYTHO-D6p6nCaj.mjs +459 -0
  254. package/components/stateDiagram-v2-5AN5P6BG-DaN5hC-t.mjs +29 -0
  255. package/components/stylus-qRNkxrFU.mjs +14 -0
  256. package/components/svelte-B9qv3vkS.mjs +15 -0
  257. package/components/swift-BRQRsam8.mjs +6 -0
  258. package/components/synthwave-84-CoUef9sh.mjs +3 -0
  259. package/components/system-verilog-BcESSvRn.mjs +6 -0
  260. package/components/tasl-DfOr2qHi.mjs +6 -0
  261. package/components/tcl-CTsc4-t7.mjs +6 -0
  262. package/components/tex-CumJx1zu.mjs +9 -0
  263. package/components/timeline-definition-MYPXXCX6-gLqnWxDu.mjs +1234 -0
  264. package/components/tokyo-night-DjtLpAEY.mjs +3 -0
  265. package/components/toml-vHPzWDj6.mjs +6 -0
  266. package/components/treemap-75Q7IDZK-B2atdfMH.mjs +13 -0
  267. package/components/tsx-CmGGo4Hm.mjs +6 -0
  268. package/components/turtle-BnC7StHY.mjs +6 -0
  269. package/components/twig-0XKNpXN1.mjs +35 -0
  270. package/components/typescript-CgxwwAuC.mjs +14 -0
  271. package/components/v-Bmdjo9cy.mjs +6 -0
  272. package/components/vb-DuF6ZenW.mjs +14 -0
  273. package/components/verilog-CCb_iTfF.mjs +6 -0
  274. package/components/vesper-4Q1cEwPL.mjs +3 -0
  275. package/components/vhdl-DMqk4T2s.mjs +6 -0
  276. package/components/vimscript-aKp9YbYm.mjs +18 -0
  277. package/components/vitesse-black-BqNLki8b.mjs +3 -0
  278. package/components/vitesse-dark-jJ32WhwH.mjs +3 -0
  279. package/components/vitesse-light-476zM4e6.mjs +3 -0
  280. package/components/vue-DVNNTw2l.mjs +40 -0
  281. package/components/vue-html-Cr5wciIP.mjs +16 -0
  282. package/components/vyper-DYedWgAE.mjs +14 -0
  283. package/components/wasm-BBh6f151.mjs +6 -0
  284. package/components/wasm-DDgzZJey.mjs +7 -0
  285. package/components/wenyan-BdqozpMZ.mjs +6 -0
  286. package/components/wgsl-Vo-hHVWH.mjs +6 -0
  287. package/components/wolfram-CRmjUoI4.mjs +6 -0
  288. package/components/xml-BMzZeaqs.mjs +9 -0
  289. package/components/xsl-CAhvzxWv.mjs +10 -0
  290. package/components/xychartDiagram-H2YORKM3-Whqa4ezL.mjs +1893 -0
  291. package/components/yml-BhSrWWMS.mjs +14 -0
  292. package/components/zenscript-DFINJL6j.mjs +6 -0
  293. package/components/zig-CS4FMAZp.mjs +6 -0
  294. package/components/zsh-hcK4TBd7.mjs +26 -0
  295. package/index.css +23 -0
  296. package/package.json +4 -1
  297. package/components/agent-chat-provider/index.d.ts +0 -7
  298. package/components/agent-chat-provider/src/api.d.ts +0 -3
  299. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  300. package/components/agent-chat-provider/src/const.d.ts +0 -1
  301. package/components/agent-chat-provider/src/index.vue.d.ts +0 -22
  302. package/components/agent-chat-provider/src/types.d.ts +0 -50
  303. package/components/agent-chat-provider/src/use.d.ts +0 -5
  304. package/components/avatar/index.d.ts +0 -4
  305. package/components/avatar/src/ctx.d.ts +0 -6
  306. package/components/avatar/src/index.vue.d.ts +0 -180
  307. package/components/avatar/src/types.d.ts +0 -1
  308. package/components/broadcasting-markdown/index.d.ts +0 -7
  309. package/components/broadcasting-markdown/src/const.d.ts +0 -13
  310. package/components/broadcasting-markdown/src/ctx.d.ts +0 -129
  311. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -104
  312. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -439
  313. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
  314. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -67
  315. package/components/broadcasting-markdown/src/types.d.ts +0 -26
  316. package/components/broadcasting-markdown/src/use.d.ts +0 -21
  317. package/components/bubble-list/index.d.ts +0 -5
  318. package/components/bubble-list/src/ctx.d.ts +0 -32
  319. package/components/bubble-list/src/index.vue.d.ts +0 -810
  320. package/components/bubble-list/src/types.d.ts +0 -4
  321. package/components/bubble-templates/index.d.ts +0 -4
  322. package/components/bubble-templates/src/index.vue.d.ts +0 -595
  323. package/components/bubble-templates/src/types.d.ts +0 -40
  324. package/components/chat-independent/index.d.ts +0 -4
  325. package/components/chat-independent/src/const.d.ts +0 -13
  326. package/components/chat-independent/src/ctx.d.ts +0 -21
  327. package/components/chat-independent/src/index.vue.d.ts +0 -2429
  328. package/components/chat-independent/src/types.d.ts +0 -13
  329. package/components/index.d.ts +0 -0
  330. package/components/lottie-animation/index.d.ts +0 -4
  331. package/components/lottie-animation/src/ctx.d.ts +0 -10
  332. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  333. package/components/lottie-animation/src/types.d.ts +0 -4
  334. package/components/metahuman-broadcasting/index.d.ts +0 -5
  335. package/components/metahuman-broadcasting/src/ctx.d.ts +0 -57
  336. package/components/metahuman-broadcasting/src/index.vue.d.ts +0 -885
  337. package/components/metahuman-broadcasting/src/types.d.ts +0 -1
  338. package/components/monaco-editor/index.d.ts +0 -5
  339. package/components/monaco-editor/src/ctx.d.ts +0 -23
  340. package/components/monaco-editor/src/index.vue.d.ts +0 -40
  341. package/components/monaco-editor/src/types.d.ts +0 -1
  342. package/components/monaco-environment/index.d.ts +0 -4
  343. package/components/monaco-environment/src/ctx.d.ts +0 -8
  344. package/components/monaco-environment/src/index.vue.d.ts +0 -2
  345. package/components/monaco-environment/src/types.d.ts +0 -1
  346. package/components/pixi-frame/index.d.ts +0 -11
  347. package/components/pixi-frame/src/apng.vue.d.ts +0 -161
  348. package/components/pixi-frame/src/bitmap.vue.d.ts +0 -158
  349. package/components/pixi-frame/src/core.vue.d.ts +0 -173
  350. package/components/pixi-frame/src/ctx.d.ts +0 -55
  351. package/components/pixi-frame/src/index.vue.d.ts +0 -591
  352. package/components/pixi-frame/src/provider.vue.d.ts +0 -2
  353. package/components/pixi-frame/src/types.d.ts +0 -17
  354. package/components/pixi-frame/src/use.d.ts +0 -16
  355. package/components/pixi-frame/src/useSprite.d.ts +0 -12
  356. package/components/pixi-frame/src/video.vue.d.ts +0 -159
  357. package/components/pixi-frame/src/view.vue.d.ts +0 -29
  358. package/components/recorder-button/index.d.ts +0 -4
  359. package/components/recorder-button/src/ctx.d.ts +0 -41
  360. package/components/recorder-button/src/index.vue.d.ts +0 -333
  361. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  362. package/components/recorder-button/src/types.d.ts +0 -7
  363. package/components/routes-menu-content/index.d.ts +0 -4
  364. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  365. package/components/routes-menu-content/src/index.vue.d.ts +0 -350
  366. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  367. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -185
  368. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  369. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -316
  370. package/components/routes-menu-content/src/types.d.ts +0 -1
  371. package/components/sender/index.d.ts +0 -4
  372. package/components/sender/src/SenderHeader.vue.d.ts +0 -270
  373. package/components/sender/src/ctx.d.ts +0 -64
  374. package/components/sender/src/index.vue.d.ts +0 -779
  375. package/components/sender/src/types.d.ts +0 -1
  376. package/components/speech-button/index.d.ts +0 -4
  377. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  378. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  379. package/components/speech-button/src/ctx.d.ts +0 -10
  380. package/components/speech-button/src/index.vue.d.ts +0 -22
  381. package/components/speech-button/src/types.d.ts +0 -1
  382. package/components/table-columns/index.d.ts +0 -5
  383. package/components/table-columns/src/ctx.d.ts +0 -59
  384. package/components/table-columns/src/el-ctx.d.ts +0 -57
  385. package/components/table-columns/src/index.vue.d.ts +0 -266
  386. package/components/table-columns/src/types.d.ts +0 -21
  387. package/components/tables-v1/index.d.ts +0 -5
  388. package/components/tables-v1/src/ctx.d.ts +0 -280
  389. package/components/tables-v1/src/el-ctx.d.ts +0 -262
  390. package/components/tables-v1/src/index.vue.d.ts +0 -3054
  391. package/components/tables-v1/src/types.d.ts +0 -3
  392. package/components/tables-v1-checkbox/index.d.ts +0 -5
  393. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -313
  394. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3831
  395. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  396. package/components/text/index.d.ts +0 -4
  397. package/components/text/src/ctx.d.ts +0 -341
  398. package/components/text/src/index.vue.d.ts +0 -4593
  399. package/components/text/src/types.d.ts +0 -1
  400. package/components/typing-markdown/index.d.ts +0 -4
  401. package/components/typing-markdown/src/core.d.ts +0 -2
  402. package/components/typing-markdown/src/ctx.d.ts +0 -41
  403. package/components/typing-markdown/src/index.vue.d.ts +0 -75
  404. package/components/typing-markdown/src/types.d.ts +0 -1
  405. package/components/vditor/index.d.ts +0 -5
  406. package/components/vditor/src/ctx.d.ts +0 -38
  407. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  408. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  409. package/components/vditor/src/index.vue.d.ts +0 -143
  410. package/components/vditor/src/types.d.ts +0 -9
  411. package/components/vditor/src/use.d.ts +0 -4
@@ -0,0 +1,2343 @@
1
+ import { g as getIconStyles } from './chunk-E2GYISFI-DQPHyyga.mjs';
2
+ import { _ as __name, o as setConfig2, c as getConfig2, b as setAccTitle, s as setAccDescription, q as setDiagramTitle, a as getAccTitle, g as getAccDescription, t as getDiagramTitle, k as common_default, v as load, J as JSON_SCHEMA, x as isValidShape, l as log, y as getEdgeId, u as utils_default, d as select, z as clear$2, A as defaultConfig2, p as getRegisteredLayoutAlgorithm, r as render$1, B as rgba$1 } from './mermaid.core-CAqkCmS1.mjs';
3
+ import { g as getDiagramElement } from './chunk-BFAMUDN2-DHLCoYMN.mjs';
4
+ import { s as setupViewPortForSVG } from './chunk-SKB7J2MH-BlwHRDiW.mjs';
5
+ import { c as channel } from './channel-BBZy6zOT.mjs';
6
+ import './index3.mjs';
7
+ import 'vue';
8
+ import '@vunk/plus/components/bubble-templates';
9
+ import '@vunk/core/components/spread-to';
10
+ import 'element-plus';
11
+ import '@vunk/shared/function';
12
+ import './_plugin-vue_export-helper.mjs';
13
+ import '@vunk/plus/components/agent-chat-provider';
14
+
15
+ var _a;
16
+ var MERMAID_DOM_ID_PREFIX = "flowchart-";
17
+ var FlowDB = (_a = class {
18
+ // cspell:ignore funs
19
+ constructor() {
20
+ this.vertexCounter = 0;
21
+ this.config = getConfig2();
22
+ this.vertices = /* @__PURE__ */ new Map();
23
+ this.edges = [];
24
+ this.classes = /* @__PURE__ */ new Map();
25
+ this.subGraphs = [];
26
+ this.subGraphLookup = /* @__PURE__ */ new Map();
27
+ this.tooltips = /* @__PURE__ */ new Map();
28
+ this.subCount = 0;
29
+ this.firstGraphFlag = true;
30
+ this.secCount = -1;
31
+ this.posCrossRef = [];
32
+ this.funs = [];
33
+ this.setAccTitle = setAccTitle;
34
+ this.setAccDescription = setAccDescription;
35
+ this.setDiagramTitle = setDiagramTitle;
36
+ this.getAccTitle = getAccTitle;
37
+ this.getAccDescription = getAccDescription;
38
+ this.getDiagramTitle = getDiagramTitle;
39
+ this.funs.push(this.setupToolTips.bind(this));
40
+ this.addVertex = this.addVertex.bind(this);
41
+ this.firstGraph = this.firstGraph.bind(this);
42
+ this.setDirection = this.setDirection.bind(this);
43
+ this.addSubGraph = this.addSubGraph.bind(this);
44
+ this.addLink = this.addLink.bind(this);
45
+ this.setLink = this.setLink.bind(this);
46
+ this.updateLink = this.updateLink.bind(this);
47
+ this.addClass = this.addClass.bind(this);
48
+ this.setClass = this.setClass.bind(this);
49
+ this.destructLink = this.destructLink.bind(this);
50
+ this.setClickEvent = this.setClickEvent.bind(this);
51
+ this.setTooltip = this.setTooltip.bind(this);
52
+ this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this);
53
+ this.setClickFun = this.setClickFun.bind(this);
54
+ this.bindFunctions = this.bindFunctions.bind(this);
55
+ this.lex = {
56
+ firstGraph: this.firstGraph.bind(this)
57
+ };
58
+ this.clear();
59
+ this.setGen("gen-2");
60
+ }
61
+ sanitizeText(txt) {
62
+ return common_default.sanitizeText(txt, this.config);
63
+ }
64
+ /**
65
+ * Function to lookup domId from id in the graph definition.
66
+ *
67
+ * @param id - id of the node
68
+ */
69
+ lookUpDomId(id) {
70
+ for (const vertex of this.vertices.values()) {
71
+ if (vertex.id === id) {
72
+ return vertex.domId;
73
+ }
74
+ }
75
+ return id;
76
+ }
77
+ /**
78
+ * Function called by parser when a node definition has been found
79
+ */
80
+ addVertex(id, textObj, type, style, classes, dir, props = {}, metadata) {
81
+ var _a2, _b;
82
+ if (!id || id.trim().length === 0) {
83
+ return;
84
+ }
85
+ let doc;
86
+ if (metadata !== void 0) {
87
+ let yamlData;
88
+ if (!metadata.includes("\n")) {
89
+ yamlData = "{\n" + metadata + "\n}";
90
+ } else {
91
+ yamlData = metadata + "\n";
92
+ }
93
+ doc = load(yamlData, { schema: JSON_SCHEMA });
94
+ }
95
+ const edge = this.edges.find((e) => e.id === id);
96
+ if (edge) {
97
+ const edgeDoc = doc;
98
+ if ((edgeDoc == null ? void 0 : edgeDoc.animate) !== void 0) {
99
+ edge.animate = edgeDoc.animate;
100
+ }
101
+ if ((edgeDoc == null ? void 0 : edgeDoc.animation) !== void 0) {
102
+ edge.animation = edgeDoc.animation;
103
+ }
104
+ return;
105
+ }
106
+ let txt;
107
+ let vertex = this.vertices.get(id);
108
+ if (vertex === void 0) {
109
+ vertex = {
110
+ id,
111
+ labelType: "text",
112
+ domId: MERMAID_DOM_ID_PREFIX + id + "-" + this.vertexCounter,
113
+ styles: [],
114
+ classes: []
115
+ };
116
+ this.vertices.set(id, vertex);
117
+ }
118
+ this.vertexCounter++;
119
+ if (textObj !== void 0) {
120
+ this.config = getConfig2();
121
+ txt = this.sanitizeText(textObj.text.trim());
122
+ vertex.labelType = textObj.type;
123
+ if (txt.startsWith('"') && txt.endsWith('"')) {
124
+ txt = txt.substring(1, txt.length - 1);
125
+ }
126
+ vertex.text = txt;
127
+ } else {
128
+ if (vertex.text === void 0) {
129
+ vertex.text = id;
130
+ }
131
+ }
132
+ if (type !== void 0) {
133
+ vertex.type = type;
134
+ }
135
+ if (style !== void 0 && style !== null) {
136
+ style.forEach((s) => {
137
+ vertex.styles.push(s);
138
+ });
139
+ }
140
+ if (classes !== void 0 && classes !== null) {
141
+ classes.forEach((s) => {
142
+ vertex.classes.push(s);
143
+ });
144
+ }
145
+ if (dir !== void 0) {
146
+ vertex.dir = dir;
147
+ }
148
+ if (vertex.props === void 0) {
149
+ vertex.props = props;
150
+ } else if (props !== void 0) {
151
+ Object.assign(vertex.props, props);
152
+ }
153
+ if (doc !== void 0) {
154
+ if (doc.shape) {
155
+ if (doc.shape !== doc.shape.toLowerCase() || doc.shape.includes("_")) {
156
+ throw new Error(`No such shape: ${doc.shape}. Shape names should be lowercase.`);
157
+ } else if (!isValidShape(doc.shape)) {
158
+ throw new Error(`No such shape: ${doc.shape}.`);
159
+ }
160
+ vertex.type = doc == null ? void 0 : doc.shape;
161
+ }
162
+ if (doc == null ? void 0 : doc.label) {
163
+ vertex.text = doc == null ? void 0 : doc.label;
164
+ }
165
+ if (doc == null ? void 0 : doc.icon) {
166
+ vertex.icon = doc == null ? void 0 : doc.icon;
167
+ if (!((_a2 = doc.label) == null ? void 0 : _a2.trim()) && vertex.text === id) {
168
+ vertex.text = "";
169
+ }
170
+ }
171
+ if (doc == null ? void 0 : doc.form) {
172
+ vertex.form = doc == null ? void 0 : doc.form;
173
+ }
174
+ if (doc == null ? void 0 : doc.pos) {
175
+ vertex.pos = doc == null ? void 0 : doc.pos;
176
+ }
177
+ if (doc == null ? void 0 : doc.img) {
178
+ vertex.img = doc == null ? void 0 : doc.img;
179
+ if (!((_b = doc.label) == null ? void 0 : _b.trim()) && vertex.text === id) {
180
+ vertex.text = "";
181
+ }
182
+ }
183
+ if (doc == null ? void 0 : doc.constraint) {
184
+ vertex.constraint = doc.constraint;
185
+ }
186
+ if (doc.w) {
187
+ vertex.assetWidth = Number(doc.w);
188
+ }
189
+ if (doc.h) {
190
+ vertex.assetHeight = Number(doc.h);
191
+ }
192
+ }
193
+ }
194
+ /**
195
+ * Function called by parser when a link/edge definition has been found
196
+ *
197
+ */
198
+ addSingleLink(_start, _end, type, id) {
199
+ const start = _start;
200
+ const end = _end;
201
+ const edge = {
202
+ start,
203
+ end,
204
+ type: void 0,
205
+ text: "",
206
+ labelType: "text",
207
+ classes: [],
208
+ isUserDefinedId: false,
209
+ interpolate: this.edges.defaultInterpolate
210
+ };
211
+ log.info("abc78 Got edge...", edge);
212
+ const linkTextObj = type.text;
213
+ if (linkTextObj !== void 0) {
214
+ edge.text = this.sanitizeText(linkTextObj.text.trim());
215
+ if (edge.text.startsWith('"') && edge.text.endsWith('"')) {
216
+ edge.text = edge.text.substring(1, edge.text.length - 1);
217
+ }
218
+ edge.labelType = linkTextObj.type;
219
+ }
220
+ if (type !== void 0) {
221
+ edge.type = type.type;
222
+ edge.stroke = type.stroke;
223
+ edge.length = type.length > 10 ? 10 : type.length;
224
+ }
225
+ if (id && !this.edges.some((e) => e.id === id)) {
226
+ edge.id = id;
227
+ edge.isUserDefinedId = true;
228
+ } else {
229
+ const existingLinks = this.edges.filter((e) => e.start === edge.start && e.end === edge.end);
230
+ if (existingLinks.length === 0) {
231
+ edge.id = getEdgeId(edge.start, edge.end, { counter: 0, prefix: "L" });
232
+ } else {
233
+ edge.id = getEdgeId(edge.start, edge.end, {
234
+ counter: existingLinks.length + 1,
235
+ prefix: "L"
236
+ });
237
+ }
238
+ }
239
+ if (this.edges.length < (this.config.maxEdges ?? 500)) {
240
+ log.info("Pushing edge...");
241
+ this.edges.push(edge);
242
+ } else {
243
+ throw new Error(
244
+ `Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
245
+
246
+ Initialize mermaid with maxEdges set to a higher number to allow more edges.
247
+ You cannot set this config via configuration inside the diagram as it is a secure config.
248
+ You have to call mermaid.initialize.`
249
+ );
250
+ }
251
+ }
252
+ isLinkData(value) {
253
+ return value !== null && typeof value === "object" && "id" in value && typeof value.id === "string";
254
+ }
255
+ addLink(_start, _end, linkData) {
256
+ const id = this.isLinkData(linkData) ? linkData.id.replace("@", "") : void 0;
257
+ log.info("addLink", _start, _end, id);
258
+ for (const start of _start) {
259
+ for (const end of _end) {
260
+ const isLastStart = start === _start[_start.length - 1];
261
+ const isFirstEnd = end === _end[0];
262
+ if (isLastStart && isFirstEnd) {
263
+ this.addSingleLink(start, end, linkData, id);
264
+ } else {
265
+ this.addSingleLink(start, end, linkData, void 0);
266
+ }
267
+ }
268
+ }
269
+ }
270
+ /**
271
+ * Updates a link's line interpolation algorithm
272
+ */
273
+ updateLinkInterpolate(positions, interpolate) {
274
+ positions.forEach((pos) => {
275
+ if (pos === "default") {
276
+ this.edges.defaultInterpolate = interpolate;
277
+ } else {
278
+ this.edges[pos].interpolate = interpolate;
279
+ }
280
+ });
281
+ }
282
+ /**
283
+ * Updates a link with a style
284
+ *
285
+ */
286
+ updateLink(positions, style) {
287
+ positions.forEach((pos) => {
288
+ var _a2, _b, _c, _d, _e, _f;
289
+ if (typeof pos === "number" && pos >= this.edges.length) {
290
+ throw new Error(
291
+ `The index ${pos} 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.)`
292
+ );
293
+ }
294
+ if (pos === "default") {
295
+ this.edges.defaultStyle = style;
296
+ } else {
297
+ this.edges[pos].style = style;
298
+ if ((((_b = (_a2 = this.edges[pos]) == null ? void 0 : _a2.style) == null ? void 0 : _b.length) ?? 0) > 0 && !((_d = (_c = this.edges[pos]) == null ? void 0 : _c.style) == null ? void 0 : _d.some((s) => s == null ? void 0 : s.startsWith("fill")))) {
299
+ (_f = (_e = this.edges[pos]) == null ? void 0 : _e.style) == null ? void 0 : _f.push("fill:none");
300
+ }
301
+ }
302
+ });
303
+ }
304
+ addClass(ids, _style) {
305
+ const style = _style.join().replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
306
+ ids.split(",").forEach((id) => {
307
+ let classNode = this.classes.get(id);
308
+ if (classNode === void 0) {
309
+ classNode = { id, styles: [], textStyles: [] };
310
+ this.classes.set(id, classNode);
311
+ }
312
+ if (style !== void 0 && style !== null) {
313
+ style.forEach((s) => {
314
+ if (/color/.exec(s)) {
315
+ const newStyle = s.replace("fill", "bgFill");
316
+ classNode.textStyles.push(newStyle);
317
+ }
318
+ classNode.styles.push(s);
319
+ });
320
+ }
321
+ });
322
+ }
323
+ /**
324
+ * Called by parser when a graph definition is found, stores the direction of the chart.
325
+ *
326
+ */
327
+ setDirection(dir) {
328
+ this.direction = dir;
329
+ if (/.*</.exec(this.direction)) {
330
+ this.direction = "RL";
331
+ }
332
+ if (/.*\^/.exec(this.direction)) {
333
+ this.direction = "BT";
334
+ }
335
+ if (/.*>/.exec(this.direction)) {
336
+ this.direction = "LR";
337
+ }
338
+ if (/.*v/.exec(this.direction)) {
339
+ this.direction = "TB";
340
+ }
341
+ if (this.direction === "TD") {
342
+ this.direction = "TB";
343
+ }
344
+ }
345
+ /**
346
+ * Called by parser when a special node is found, e.g. a clickable element.
347
+ *
348
+ * @param ids - Comma separated list of ids
349
+ * @param className - Class to add
350
+ */
351
+ setClass(ids, className) {
352
+ for (const id of ids.split(",")) {
353
+ const vertex = this.vertices.get(id);
354
+ if (vertex) {
355
+ vertex.classes.push(className);
356
+ }
357
+ const edge = this.edges.find((e) => e.id === id);
358
+ if (edge) {
359
+ edge.classes.push(className);
360
+ }
361
+ const subGraph = this.subGraphLookup.get(id);
362
+ if (subGraph) {
363
+ subGraph.classes.push(className);
364
+ }
365
+ }
366
+ }
367
+ setTooltip(ids, tooltip) {
368
+ if (tooltip === void 0) {
369
+ return;
370
+ }
371
+ tooltip = this.sanitizeText(tooltip);
372
+ for (const id of ids.split(",")) {
373
+ this.tooltips.set(this.version === "gen-1" ? this.lookUpDomId(id) : id, tooltip);
374
+ }
375
+ }
376
+ setClickFun(id, functionName, functionArgs) {
377
+ const domId = this.lookUpDomId(id);
378
+ if (getConfig2().securityLevel !== "loose") {
379
+ return;
380
+ }
381
+ if (functionName === void 0) {
382
+ return;
383
+ }
384
+ let argList = [];
385
+ if (typeof functionArgs === "string") {
386
+ argList = functionArgs.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
387
+ for (let i = 0; i < argList.length; i++) {
388
+ let item = argList[i].trim();
389
+ if (item.startsWith('"') && item.endsWith('"')) {
390
+ item = item.substr(1, item.length - 2);
391
+ }
392
+ argList[i] = item;
393
+ }
394
+ }
395
+ if (argList.length === 0) {
396
+ argList.push(id);
397
+ }
398
+ const vertex = this.vertices.get(id);
399
+ if (vertex) {
400
+ vertex.haveCallback = true;
401
+ this.funs.push(() => {
402
+ const elem = document.querySelector(`[id="${domId}"]`);
403
+ if (elem !== null) {
404
+ elem.addEventListener(
405
+ "click",
406
+ () => {
407
+ utils_default.runFunc(functionName, ...argList);
408
+ },
409
+ false
410
+ );
411
+ }
412
+ });
413
+ }
414
+ }
415
+ /**
416
+ * Called by parser when a link is found. Adds the URL to the vertex data.
417
+ *
418
+ * @param ids - Comma separated list of ids
419
+ * @param linkStr - URL to create a link for
420
+ * @param target - Target attribute for the link
421
+ */
422
+ setLink(ids, linkStr, target) {
423
+ ids.split(",").forEach((id) => {
424
+ const vertex = this.vertices.get(id);
425
+ if (vertex !== void 0) {
426
+ vertex.link = utils_default.formatUrl(linkStr, this.config);
427
+ vertex.linkTarget = target;
428
+ }
429
+ });
430
+ this.setClass(ids, "clickable");
431
+ }
432
+ getTooltip(id) {
433
+ return this.tooltips.get(id);
434
+ }
435
+ /**
436
+ * Called by parser when a click definition is found. Registers an event handler.
437
+ *
438
+ * @param ids - Comma separated list of ids
439
+ * @param functionName - Function to be called on click
440
+ * @param functionArgs - Arguments to be passed to the function
441
+ */
442
+ setClickEvent(ids, functionName, functionArgs) {
443
+ ids.split(",").forEach((id) => {
444
+ this.setClickFun(id, functionName, functionArgs);
445
+ });
446
+ this.setClass(ids, "clickable");
447
+ }
448
+ bindFunctions(element) {
449
+ this.funs.forEach((fun) => {
450
+ fun(element);
451
+ });
452
+ }
453
+ getDirection() {
454
+ var _a2;
455
+ return (_a2 = this.direction) == null ? void 0 : _a2.trim();
456
+ }
457
+ /**
458
+ * Retrieval function for fetching the found nodes after parsing has completed.
459
+ *
460
+ */
461
+ getVertices() {
462
+ return this.vertices;
463
+ }
464
+ /**
465
+ * Retrieval function for fetching the found links after parsing has completed.
466
+ *
467
+ */
468
+ getEdges() {
469
+ return this.edges;
470
+ }
471
+ /**
472
+ * Retrieval function for fetching the found class definitions after parsing has completed.
473
+ *
474
+ */
475
+ getClasses() {
476
+ return this.classes;
477
+ }
478
+ setupToolTips(element) {
479
+ let tooltipElem = select(".mermaidTooltip");
480
+ if ((tooltipElem._groups || tooltipElem)[0][0] === null) {
481
+ tooltipElem = select("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0);
482
+ }
483
+ const svg = select(element).select("svg");
484
+ const nodes = svg.selectAll("g.node");
485
+ nodes.on("mouseover", (e) => {
486
+ var _a2;
487
+ const el = select(e.currentTarget);
488
+ const title = el.attr("title");
489
+ if (title === null) {
490
+ return;
491
+ }
492
+ const rect = (_a2 = e.currentTarget) == null ? void 0 : _a2.getBoundingClientRect();
493
+ tooltipElem.transition().duration(200).style("opacity", ".9");
494
+ tooltipElem.text(el.attr("title")).style("left", window.scrollX + rect.left + (rect.right - rect.left) / 2 + "px").style("top", window.scrollY + rect.bottom + "px");
495
+ tooltipElem.html(tooltipElem.html().replace(/&lt;br\/&gt;/g, "<br/>"));
496
+ el.classed("hover", true);
497
+ }).on("mouseout", (e) => {
498
+ tooltipElem.transition().duration(500).style("opacity", 0);
499
+ const el = select(e.currentTarget);
500
+ el.classed("hover", false);
501
+ });
502
+ }
503
+ /**
504
+ * Clears the internal graph db so that a new graph can be parsed.
505
+ *
506
+ */
507
+ clear(ver = "gen-2") {
508
+ this.vertices = /* @__PURE__ */ new Map();
509
+ this.classes = /* @__PURE__ */ new Map();
510
+ this.edges = [];
511
+ this.funs = [this.setupToolTips.bind(this)];
512
+ this.subGraphs = [];
513
+ this.subGraphLookup = /* @__PURE__ */ new Map();
514
+ this.subCount = 0;
515
+ this.tooltips = /* @__PURE__ */ new Map();
516
+ this.firstGraphFlag = true;
517
+ this.version = ver;
518
+ this.config = getConfig2();
519
+ clear$2();
520
+ }
521
+ setGen(ver) {
522
+ this.version = ver || "gen-2";
523
+ }
524
+ defaultStyle() {
525
+ return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
526
+ }
527
+ addSubGraph(_id, list, _title) {
528
+ let id = _id.text.trim();
529
+ let title = _title.text;
530
+ if (_id === _title && /\s/.exec(_title.text)) {
531
+ id = void 0;
532
+ }
533
+ const uniq = /* @__PURE__ */ __name((a) => {
534
+ const prims = { boolean: {}, number: {}, string: {} };
535
+ const objs = [];
536
+ let dir2;
537
+ const nodeList2 = a.filter(function(item) {
538
+ const type = typeof item;
539
+ if (item.stmt && item.stmt === "dir") {
540
+ dir2 = item.value;
541
+ return false;
542
+ }
543
+ if (item.trim() === "") {
544
+ return false;
545
+ }
546
+ if (type in prims) {
547
+ return prims[type].hasOwnProperty(item) ? false : prims[type][item] = true;
548
+ } else {
549
+ return objs.includes(item) ? false : objs.push(item);
550
+ }
551
+ });
552
+ return { nodeList: nodeList2, dir: dir2 };
553
+ }, "uniq");
554
+ const result = uniq(list.flat());
555
+ const nodeList = result.nodeList;
556
+ let dir = result.dir;
557
+ const flowchartConfig = getConfig2().flowchart ?? {};
558
+ dir = dir ?? (flowchartConfig.inheritDir ? this.getDirection() ?? getConfig2().direction ?? void 0 : void 0);
559
+ if (this.version === "gen-1") {
560
+ for (let i = 0; i < nodeList.length; i++) {
561
+ nodeList[i] = this.lookUpDomId(nodeList[i]);
562
+ }
563
+ }
564
+ id = id ?? "subGraph" + this.subCount;
565
+ title = title || "";
566
+ title = this.sanitizeText(title);
567
+ this.subCount = this.subCount + 1;
568
+ const subGraph = {
569
+ id,
570
+ nodes: nodeList,
571
+ title: title.trim(),
572
+ classes: [],
573
+ dir,
574
+ labelType: _title.type
575
+ };
576
+ log.info("Adding", subGraph.id, subGraph.nodes, subGraph.dir);
577
+ subGraph.nodes = this.makeUniq(subGraph, this.subGraphs).nodes;
578
+ this.subGraphs.push(subGraph);
579
+ this.subGraphLookup.set(id, subGraph);
580
+ return id;
581
+ }
582
+ getPosForId(id) {
583
+ for (const [i, subGraph] of this.subGraphs.entries()) {
584
+ if (subGraph.id === id) {
585
+ return i;
586
+ }
587
+ }
588
+ return -1;
589
+ }
590
+ indexNodes2(id, pos) {
591
+ const nodes = this.subGraphs[pos].nodes;
592
+ this.secCount = this.secCount + 1;
593
+ if (this.secCount > 2e3) {
594
+ return {
595
+ result: false,
596
+ count: 0
597
+ };
598
+ }
599
+ this.posCrossRef[this.secCount] = pos;
600
+ if (this.subGraphs[pos].id === id) {
601
+ return {
602
+ result: true,
603
+ count: 0
604
+ };
605
+ }
606
+ let count = 0;
607
+ let posCount = 1;
608
+ while (count < nodes.length) {
609
+ const childPos = this.getPosForId(nodes[count]);
610
+ if (childPos >= 0) {
611
+ const res = this.indexNodes2(id, childPos);
612
+ if (res.result) {
613
+ return {
614
+ result: true,
615
+ count: posCount + res.count
616
+ };
617
+ } else {
618
+ posCount = posCount + res.count;
619
+ }
620
+ }
621
+ count = count + 1;
622
+ }
623
+ return {
624
+ result: false,
625
+ count: posCount
626
+ };
627
+ }
628
+ getDepthFirstPos(pos) {
629
+ return this.posCrossRef[pos];
630
+ }
631
+ indexNodes() {
632
+ this.secCount = -1;
633
+ if (this.subGraphs.length > 0) {
634
+ this.indexNodes2("none", this.subGraphs.length - 1);
635
+ }
636
+ }
637
+ getSubGraphs() {
638
+ return this.subGraphs;
639
+ }
640
+ firstGraph() {
641
+ if (this.firstGraphFlag) {
642
+ this.firstGraphFlag = false;
643
+ return true;
644
+ }
645
+ return false;
646
+ }
647
+ destructStartLink(_str) {
648
+ let str = _str.trim();
649
+ let type = "arrow_open";
650
+ switch (str[0]) {
651
+ case "<":
652
+ type = "arrow_point";
653
+ str = str.slice(1);
654
+ break;
655
+ case "x":
656
+ type = "arrow_cross";
657
+ str = str.slice(1);
658
+ break;
659
+ case "o":
660
+ type = "arrow_circle";
661
+ str = str.slice(1);
662
+ break;
663
+ }
664
+ let stroke = "normal";
665
+ if (str.includes("=")) {
666
+ stroke = "thick";
667
+ }
668
+ if (str.includes(".")) {
669
+ stroke = "dotted";
670
+ }
671
+ return { type, stroke };
672
+ }
673
+ countChar(char, str) {
674
+ const length = str.length;
675
+ let count = 0;
676
+ for (let i = 0; i < length; ++i) {
677
+ if (str[i] === char) {
678
+ ++count;
679
+ }
680
+ }
681
+ return count;
682
+ }
683
+ destructEndLink(_str) {
684
+ const str = _str.trim();
685
+ let line = str.slice(0, -1);
686
+ let type = "arrow_open";
687
+ switch (str.slice(-1)) {
688
+ case "x":
689
+ type = "arrow_cross";
690
+ if (str.startsWith("x")) {
691
+ type = "double_" + type;
692
+ line = line.slice(1);
693
+ }
694
+ break;
695
+ case ">":
696
+ type = "arrow_point";
697
+ if (str.startsWith("<")) {
698
+ type = "double_" + type;
699
+ line = line.slice(1);
700
+ }
701
+ break;
702
+ case "o":
703
+ type = "arrow_circle";
704
+ if (str.startsWith("o")) {
705
+ type = "double_" + type;
706
+ line = line.slice(1);
707
+ }
708
+ break;
709
+ }
710
+ let stroke = "normal";
711
+ let length = line.length - 1;
712
+ if (line.startsWith("=")) {
713
+ stroke = "thick";
714
+ }
715
+ if (line.startsWith("~")) {
716
+ stroke = "invisible";
717
+ }
718
+ const dots = this.countChar(".", line);
719
+ if (dots) {
720
+ stroke = "dotted";
721
+ length = dots;
722
+ }
723
+ return { type, stroke, length };
724
+ }
725
+ destructLink(_str, _startStr) {
726
+ const info = this.destructEndLink(_str);
727
+ let startInfo;
728
+ if (_startStr) {
729
+ startInfo = this.destructStartLink(_startStr);
730
+ if (startInfo.stroke !== info.stroke) {
731
+ return { type: "INVALID", stroke: "INVALID" };
732
+ }
733
+ if (startInfo.type === "arrow_open") {
734
+ startInfo.type = info.type;
735
+ } else {
736
+ if (startInfo.type !== info.type) {
737
+ return { type: "INVALID", stroke: "INVALID" };
738
+ }
739
+ startInfo.type = "double_" + startInfo.type;
740
+ }
741
+ if (startInfo.type === "double_arrow") {
742
+ startInfo.type = "double_arrow_point";
743
+ }
744
+ startInfo.length = info.length;
745
+ return startInfo;
746
+ }
747
+ return info;
748
+ }
749
+ // Todo optimizer this by caching existing nodes
750
+ exists(allSgs, _id) {
751
+ for (const sg of allSgs) {
752
+ if (sg.nodes.includes(_id)) {
753
+ return true;
754
+ }
755
+ }
756
+ return false;
757
+ }
758
+ /**
759
+ * Deletes an id from all subgraphs
760
+ *
761
+ */
762
+ makeUniq(sg, allSubgraphs) {
763
+ const res = [];
764
+ sg.nodes.forEach((_id, pos) => {
765
+ if (!this.exists(allSubgraphs, _id)) {
766
+ res.push(sg.nodes[pos]);
767
+ }
768
+ });
769
+ return { nodes: res };
770
+ }
771
+ getTypeFromVertex(vertex) {
772
+ if (vertex.img) {
773
+ return "imageSquare";
774
+ }
775
+ if (vertex.icon) {
776
+ if (vertex.form === "circle") {
777
+ return "iconCircle";
778
+ }
779
+ if (vertex.form === "square") {
780
+ return "iconSquare";
781
+ }
782
+ if (vertex.form === "rounded") {
783
+ return "iconRounded";
784
+ }
785
+ return "icon";
786
+ }
787
+ switch (vertex.type) {
788
+ case "square":
789
+ case void 0:
790
+ return "squareRect";
791
+ case "round":
792
+ return "roundedRect";
793
+ case "ellipse":
794
+ return "ellipse";
795
+ default:
796
+ return vertex.type;
797
+ }
798
+ }
799
+ findNode(nodes, id) {
800
+ return nodes.find((node) => node.id === id);
801
+ }
802
+ destructEdgeType(type) {
803
+ let arrowTypeStart = "none";
804
+ let arrowTypeEnd = "arrow_point";
805
+ switch (type) {
806
+ case "arrow_point":
807
+ case "arrow_circle":
808
+ case "arrow_cross":
809
+ arrowTypeEnd = type;
810
+ break;
811
+ case "double_arrow_point":
812
+ case "double_arrow_circle":
813
+ case "double_arrow_cross":
814
+ arrowTypeStart = type.replace("double_", "");
815
+ arrowTypeEnd = arrowTypeStart;
816
+ break;
817
+ }
818
+ return { arrowTypeStart, arrowTypeEnd };
819
+ }
820
+ addNodeFromVertex(vertex, nodes, parentDB, subGraphDB, config, look) {
821
+ var _a2;
822
+ const parentId = parentDB.get(vertex.id);
823
+ const isGroup = subGraphDB.get(vertex.id) ?? false;
824
+ const node = this.findNode(nodes, vertex.id);
825
+ if (node) {
826
+ node.cssStyles = vertex.styles;
827
+ node.cssCompiledStyles = this.getCompiledStyles(vertex.classes);
828
+ node.cssClasses = vertex.classes.join(" ");
829
+ } else {
830
+ const baseNode = {
831
+ id: vertex.id,
832
+ label: vertex.text,
833
+ labelStyle: "",
834
+ parentId,
835
+ padding: ((_a2 = config.flowchart) == null ? void 0 : _a2.padding) || 8,
836
+ cssStyles: vertex.styles,
837
+ cssCompiledStyles: this.getCompiledStyles(["default", "node", ...vertex.classes]),
838
+ cssClasses: "default " + vertex.classes.join(" "),
839
+ dir: vertex.dir,
840
+ domId: vertex.domId,
841
+ look,
842
+ link: vertex.link,
843
+ linkTarget: vertex.linkTarget,
844
+ tooltip: this.getTooltip(vertex.id),
845
+ icon: vertex.icon,
846
+ pos: vertex.pos,
847
+ img: vertex.img,
848
+ assetWidth: vertex.assetWidth,
849
+ assetHeight: vertex.assetHeight,
850
+ constraint: vertex.constraint
851
+ };
852
+ if (isGroup) {
853
+ nodes.push({
854
+ ...baseNode,
855
+ isGroup: true,
856
+ shape: "rect"
857
+ });
858
+ } else {
859
+ nodes.push({
860
+ ...baseNode,
861
+ isGroup: false,
862
+ shape: this.getTypeFromVertex(vertex)
863
+ });
864
+ }
865
+ }
866
+ }
867
+ getCompiledStyles(classDefs) {
868
+ let compiledStyles = [];
869
+ for (const customClass of classDefs) {
870
+ const cssClass = this.classes.get(customClass);
871
+ if (cssClass == null ? void 0 : cssClass.styles) {
872
+ compiledStyles = [...compiledStyles, ...cssClass.styles ?? []].map((s) => s.trim());
873
+ }
874
+ if (cssClass == null ? void 0 : cssClass.textStyles) {
875
+ compiledStyles = [...compiledStyles, ...cssClass.textStyles ?? []].map((s) => s.trim());
876
+ }
877
+ }
878
+ return compiledStyles;
879
+ }
880
+ getData() {
881
+ const config = getConfig2();
882
+ const nodes = [];
883
+ const edges = [];
884
+ const subGraphs = this.getSubGraphs();
885
+ const parentDB = /* @__PURE__ */ new Map();
886
+ const subGraphDB = /* @__PURE__ */ new Map();
887
+ for (let i = subGraphs.length - 1; i >= 0; i--) {
888
+ const subGraph = subGraphs[i];
889
+ if (subGraph.nodes.length > 0) {
890
+ subGraphDB.set(subGraph.id, true);
891
+ }
892
+ for (const id of subGraph.nodes) {
893
+ parentDB.set(id, subGraph.id);
894
+ }
895
+ }
896
+ for (let i = subGraphs.length - 1; i >= 0; i--) {
897
+ const subGraph = subGraphs[i];
898
+ nodes.push({
899
+ id: subGraph.id,
900
+ label: subGraph.title,
901
+ labelStyle: "",
902
+ parentId: parentDB.get(subGraph.id),
903
+ padding: 8,
904
+ cssCompiledStyles: this.getCompiledStyles(subGraph.classes),
905
+ cssClasses: subGraph.classes.join(" "),
906
+ shape: "rect",
907
+ dir: subGraph.dir,
908
+ isGroup: true,
909
+ look: config.look
910
+ });
911
+ }
912
+ const n = this.getVertices();
913
+ n.forEach((vertex) => {
914
+ this.addNodeFromVertex(vertex, nodes, parentDB, subGraphDB, config, config.look || "classic");
915
+ });
916
+ const e = this.getEdges();
917
+ e.forEach((rawEdge, index) => {
918
+ var _a2;
919
+ const { arrowTypeStart, arrowTypeEnd } = this.destructEdgeType(rawEdge.type);
920
+ const styles = [...e.defaultStyle ?? []];
921
+ if (rawEdge.style) {
922
+ styles.push(...rawEdge.style);
923
+ }
924
+ const edge = {
925
+ id: getEdgeId(rawEdge.start, rawEdge.end, { counter: index, prefix: "L" }, rawEdge.id),
926
+ isUserDefinedId: rawEdge.isUserDefinedId,
927
+ start: rawEdge.start,
928
+ end: rawEdge.end,
929
+ type: rawEdge.type ?? "normal",
930
+ label: rawEdge.text,
931
+ labelpos: "c",
932
+ thickness: rawEdge.stroke,
933
+ minlen: rawEdge.length,
934
+ classes: (rawEdge == null ? void 0 : rawEdge.stroke) === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
935
+ arrowTypeStart: (rawEdge == null ? void 0 : rawEdge.stroke) === "invisible" || (rawEdge == null ? void 0 : rawEdge.type) === "arrow_open" ? "none" : arrowTypeStart,
936
+ arrowTypeEnd: (rawEdge == null ? void 0 : rawEdge.stroke) === "invisible" || (rawEdge == null ? void 0 : rawEdge.type) === "arrow_open" ? "none" : arrowTypeEnd,
937
+ arrowheadStyle: "fill: #333",
938
+ cssCompiledStyles: this.getCompiledStyles(rawEdge.classes),
939
+ labelStyle: styles,
940
+ style: styles,
941
+ pattern: rawEdge.stroke,
942
+ look: config.look,
943
+ animate: rawEdge.animate,
944
+ animation: rawEdge.animation,
945
+ curve: rawEdge.interpolate || this.edges.defaultInterpolate || ((_a2 = config.flowchart) == null ? void 0 : _a2.curve)
946
+ };
947
+ edges.push(edge);
948
+ });
949
+ return { nodes, edges, other: {}, config };
950
+ }
951
+ defaultConfig() {
952
+ return defaultConfig2.flowchart;
953
+ }
954
+ }, __name(_a, "FlowDB"), _a);
955
+ var getClasses = /* @__PURE__ */ __name(function(text, diagramObj) {
956
+ return diagramObj.db.getClasses();
957
+ }, "getClasses");
958
+ var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
959
+ var _a2;
960
+ log.info("REF0:");
961
+ log.info("Drawing state diagram (v2)", id);
962
+ const { securityLevel, flowchart: conf, layout } = getConfig2();
963
+ let sandboxElement;
964
+ if (securityLevel === "sandbox") {
965
+ sandboxElement = select("#i" + id);
966
+ }
967
+ const doc = securityLevel === "sandbox" ? sandboxElement.nodes()[0].contentDocument : document;
968
+ log.debug("Before getData: ");
969
+ const data4Layout = diag.db.getData();
970
+ log.debug("Data: ", data4Layout);
971
+ const svg = getDiagramElement(id, securityLevel);
972
+ const direction = diag.db.getDirection();
973
+ data4Layout.type = diag.type;
974
+ data4Layout.layoutAlgorithm = getRegisteredLayoutAlgorithm(layout);
975
+ if (data4Layout.layoutAlgorithm === "dagre" && layout === "elk") {
976
+ log.warn(
977
+ "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."
978
+ );
979
+ }
980
+ data4Layout.direction = direction;
981
+ data4Layout.nodeSpacing = (conf == null ? void 0 : conf.nodeSpacing) || 50;
982
+ data4Layout.rankSpacing = (conf == null ? void 0 : conf.rankSpacing) || 50;
983
+ data4Layout.markers = ["point", "circle", "cross"];
984
+ data4Layout.diagramId = id;
985
+ log.debug("REF1:", data4Layout);
986
+ await render$1(data4Layout, svg);
987
+ const padding = ((_a2 = data4Layout.config.flowchart) == null ? void 0 : _a2.diagramPadding) ?? 8;
988
+ utils_default.insertTitle(
989
+ svg,
990
+ "flowchartTitleText",
991
+ (conf == null ? void 0 : conf.titleTopMargin) || 0,
992
+ diag.db.getDiagramTitle()
993
+ );
994
+ setupViewPortForSVG(svg, padding, "flowchart", (conf == null ? void 0 : conf.useMaxWidth) || false);
995
+ for (const vertex of data4Layout.nodes) {
996
+ const node = select(`#${id} [id="${vertex.id}"]`);
997
+ if (!node || !vertex.link) {
998
+ continue;
999
+ }
1000
+ const link = doc.createElementNS("http://www.w3.org/2000/svg", "a");
1001
+ link.setAttributeNS("http://www.w3.org/2000/svg", "class", vertex.cssClasses);
1002
+ link.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener");
1003
+ if (securityLevel === "sandbox") {
1004
+ link.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top");
1005
+ } else if (vertex.linkTarget) {
1006
+ link.setAttributeNS("http://www.w3.org/2000/svg", "target", vertex.linkTarget);
1007
+ }
1008
+ const linkNode = node.insert(function() {
1009
+ return link;
1010
+ }, ":first-child");
1011
+ const shape = node.select(".label-container");
1012
+ if (shape) {
1013
+ linkNode.append(function() {
1014
+ return shape.node();
1015
+ });
1016
+ }
1017
+ const label = node.select(".label");
1018
+ if (label) {
1019
+ linkNode.append(function() {
1020
+ return label.node();
1021
+ });
1022
+ }
1023
+ }
1024
+ }, "draw");
1025
+ var flowRenderer_v3_unified_default = {
1026
+ getClasses,
1027
+ draw
1028
+ };
1029
+ var parser = function() {
1030
+ var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
1031
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
1032
+ return o2;
1033
+ }, "o"), $V0 = [1, 4], $V1 = [1, 3], $V2 = [1, 5], $V3 = [1, 8, 9, 10, 11, 27, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124], $V4 = [2, 2], $V5 = [1, 13], $V6 = [1, 14], $V7 = [1, 15], $V8 = [1, 16], $V9 = [1, 23], $Va = [1, 25], $Vb = [1, 26], $Vc = [1, 27], $Vd = [1, 49], $Ve = [1, 48], $Vf = [1, 29], $Vg = [1, 30], $Vh = [1, 31], $Vi = [1, 32], $Vj = [1, 33], $Vk = [1, 44], $Vl = [1, 46], $Vm = [1, 42], $Vn = [1, 47], $Vo = [1, 43], $Vp = [1, 50], $Vq = [1, 45], $Vr = [1, 51], $Vs = [1, 52], $Vt = [1, 34], $Vu = [1, 35], $Vv = [1, 36], $Vw = [1, 37], $Vx = [1, 57], $Vy = [1, 8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124], $Vz = [1, 61], $VA = [1, 60], $VB = [1, 62], $VC = [8, 9, 11, 75, 77, 78], $VD = [1, 78], $VE = [1, 91], $VF = [1, 96], $VG = [1, 95], $VH = [1, 92], $VI = [1, 88], $VJ = [1, 94], $VK = [1, 90], $VL = [1, 97], $VM = [1, 93], $VN = [1, 98], $VO = [1, 89], $VP = [8, 9, 10, 11, 40, 75, 77, 78], $VQ = [8, 9, 10, 11, 40, 46, 75, 77, 78], $VR = [8, 9, 10, 11, 29, 40, 44, 46, 48, 50, 52, 54, 56, 58, 60, 63, 65, 67, 68, 70, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], $VS = [8, 9, 11, 44, 60, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], $VT = [44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], $VU = [1, 121], $VV = [1, 122], $VW = [1, 124], $VX = [1, 123], $VY = [44, 60, 62, 74, 89, 102, 105, 106, 109, 111, 114, 115, 116], $VZ = [1, 133], $V_ = [1, 147], $V$ = [1, 148], $V01 = [1, 149], $V11 = [1, 150], $V21 = [1, 135], $V31 = [1, 137], $V41 = [1, 141], $V51 = [1, 142], $V61 = [1, 143], $V71 = [1, 144], $V81 = [1, 145], $V91 = [1, 146], $Va1 = [1, 151], $Vb1 = [1, 152], $Vc1 = [1, 131], $Vd1 = [1, 132], $Ve1 = [1, 139], $Vf1 = [1, 134], $Vg1 = [1, 138], $Vh1 = [1, 136], $Vi1 = [8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124], $Vj1 = [1, 154], $Vk1 = [1, 156], $Vl1 = [8, 9, 11], $Vm1 = [8, 9, 10, 11, 14, 44, 60, 89, 105, 106, 109, 111, 114, 115, 116], $Vn1 = [1, 176], $Vo1 = [1, 172], $Vp1 = [1, 173], $Vq1 = [1, 177], $Vr1 = [1, 174], $Vs1 = [1, 175], $Vt1 = [77, 116, 119], $Vu1 = [8, 9, 10, 11, 12, 14, 27, 29, 32, 44, 60, 75, 84, 85, 86, 87, 88, 89, 90, 105, 109, 111, 114, 115, 116], $Vv1 = [10, 106], $Vw1 = [31, 49, 51, 53, 55, 57, 62, 64, 66, 67, 69, 71, 116, 117, 118], $Vx1 = [1, 247], $Vy1 = [1, 245], $Vz1 = [1, 249], $VA1 = [1, 243], $VB1 = [1, 244], $VC1 = [1, 246], $VD1 = [1, 248], $VE1 = [1, 250], $VF1 = [1, 268], $VG1 = [8, 9, 11, 106], $VH1 = [8, 9, 10, 11, 60, 84, 105, 106, 109, 110, 111, 112];
1034
+ var parser2 = {
1035
+ trace: /* @__PURE__ */ __name(function trace() {
1036
+ }, "trace"),
1037
+ yy: {},
1038
+ symbols_: { "error": 2, "start": 3, "graphConfig": 4, "document": 5, "line": 6, "statement": 7, "SEMI": 8, "NEWLINE": 9, "SPACE": 10, "EOF": 11, "GRAPH": 12, "NODIR": 13, "DIR": 14, "FirstStmtSeparator": 15, "ending": 16, "endToken": 17, "spaceList": 18, "spaceListNewline": 19, "vertexStatement": 20, "separator": 21, "styleStatement": 22, "linkStyleStatement": 23, "classDefStatement": 24, "classStatement": 25, "clickStatement": 26, "subgraph": 27, "textNoTags": 28, "SQS": 29, "text": 30, "SQE": 31, "end": 32, "direction": 33, "acc_title": 34, "acc_title_value": 35, "acc_descr": 36, "acc_descr_value": 37, "acc_descr_multiline_value": 38, "shapeData": 39, "SHAPE_DATA": 40, "link": 41, "node": 42, "styledVertex": 43, "AMP": 44, "vertex": 45, "STYLE_SEPARATOR": 46, "idString": 47, "DOUBLECIRCLESTART": 48, "DOUBLECIRCLEEND": 49, "PS": 50, "PE": 51, "(-": 52, "-)": 53, "STADIUMSTART": 54, "STADIUMEND": 55, "SUBROUTINESTART": 56, "SUBROUTINEEND": 57, "VERTEX_WITH_PROPS_START": 58, "NODE_STRING[field]": 59, "COLON": 60, "NODE_STRING[value]": 61, "PIPE": 62, "CYLINDERSTART": 63, "CYLINDEREND": 64, "DIAMOND_START": 65, "DIAMOND_STOP": 66, "TAGEND": 67, "TRAPSTART": 68, "TRAPEND": 69, "INVTRAPSTART": 70, "INVTRAPEND": 71, "linkStatement": 72, "arrowText": 73, "TESTSTR": 74, "START_LINK": 75, "edgeText": 76, "LINK": 77, "LINK_ID": 78, "edgeTextToken": 79, "STR": 80, "MD_STR": 81, "textToken": 82, "keywords": 83, "STYLE": 84, "LINKSTYLE": 85, "CLASSDEF": 86, "CLASS": 87, "CLICK": 88, "DOWN": 89, "UP": 90, "textNoTagsToken": 91, "stylesOpt": 92, "idString[vertex]": 93, "idString[class]": 94, "CALLBACKNAME": 95, "CALLBACKARGS": 96, "HREF": 97, "LINK_TARGET": 98, "STR[link]": 99, "STR[tooltip]": 100, "alphaNum": 101, "DEFAULT": 102, "numList": 103, "INTERPOLATE": 104, "NUM": 105, "COMMA": 106, "style": 107, "styleComponent": 108, "NODE_STRING": 109, "UNIT": 110, "BRKT": 111, "PCT": 112, "idStringToken": 113, "MINUS": 114, "MULT": 115, "UNICODE_TEXT": 116, "TEXT": 117, "TAGSTART": 118, "EDGE_TEXT": 119, "alphaNumToken": 120, "direction_tb": 121, "direction_bt": 122, "direction_rl": 123, "direction_lr": 124, "$accept": 0, "$end": 1 },
1039
+ terminals_: { 2: "error", 8: "SEMI", 9: "NEWLINE", 10: "SPACE", 11: "EOF", 12: "GRAPH", 13: "NODIR", 14: "DIR", 27: "subgraph", 29: "SQS", 31: "SQE", 32: "end", 34: "acc_title", 35: "acc_title_value", 36: "acc_descr", 37: "acc_descr_value", 38: "acc_descr_multiline_value", 40: "SHAPE_DATA", 44: "AMP", 46: "STYLE_SEPARATOR", 48: "DOUBLECIRCLESTART", 49: "DOUBLECIRCLEEND", 50: "PS", 51: "PE", 52: "(-", 53: "-)", 54: "STADIUMSTART", 55: "STADIUMEND", 56: "SUBROUTINESTART", 57: "SUBROUTINEEND", 58: "VERTEX_WITH_PROPS_START", 59: "NODE_STRING[field]", 60: "COLON", 61: "NODE_STRING[value]", 62: "PIPE", 63: "CYLINDERSTART", 64: "CYLINDEREND", 65: "DIAMOND_START", 66: "DIAMOND_STOP", 67: "TAGEND", 68: "TRAPSTART", 69: "TRAPEND", 70: "INVTRAPSTART", 71: "INVTRAPEND", 74: "TESTSTR", 75: "START_LINK", 77: "LINK", 78: "LINK_ID", 80: "STR", 81: "MD_STR", 84: "STYLE", 85: "LINKSTYLE", 86: "CLASSDEF", 87: "CLASS", 88: "CLICK", 89: "DOWN", 90: "UP", 93: "idString[vertex]", 94: "idString[class]", 95: "CALLBACKNAME", 96: "CALLBACKARGS", 97: "HREF", 98: "LINK_TARGET", 99: "STR[link]", 100: "STR[tooltip]", 102: "DEFAULT", 104: "INTERPOLATE", 105: "NUM", 106: "COMMA", 109: "NODE_STRING", 110: "UNIT", 111: "BRKT", 112: "PCT", 114: "MINUS", 115: "MULT", 116: "UNICODE_TEXT", 117: "TEXT", 118: "TAGSTART", 119: "EDGE_TEXT", 121: "direction_tb", 122: "direction_bt", 123: "direction_rl", 124: "direction_lr" },
1040
+ productions_: [0, [3, 2], [5, 0], [5, 2], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [4, 2], [4, 2], [4, 2], [4, 3], [16, 2], [16, 1], [17, 1], [17, 1], [17, 1], [15, 1], [15, 1], [15, 2], [19, 2], [19, 2], [19, 1], [19, 1], [18, 2], [18, 1], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 9], [7, 6], [7, 4], [7, 1], [7, 2], [7, 2], [7, 1], [21, 1], [21, 1], [21, 1], [39, 2], [39, 1], [20, 4], [20, 3], [20, 4], [20, 2], [20, 2], [20, 1], [42, 1], [42, 6], [42, 5], [43, 1], [43, 3], [45, 4], [45, 4], [45, 6], [45, 4], [45, 4], [45, 4], [45, 8], [45, 4], [45, 4], [45, 4], [45, 6], [45, 4], [45, 4], [45, 4], [45, 4], [45, 4], [45, 1], [41, 2], [41, 3], [41, 3], [41, 1], [41, 3], [41, 4], [76, 1], [76, 2], [76, 1], [76, 1], [72, 1], [72, 2], [73, 3], [30, 1], [30, 2], [30, 1], [30, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [28, 1], [28, 2], [28, 1], [28, 1], [24, 5], [25, 5], [26, 2], [26, 4], [26, 3], [26, 5], [26, 3], [26, 5], [26, 5], [26, 7], [26, 2], [26, 4], [26, 2], [26, 4], [26, 4], [26, 6], [22, 5], [23, 5], [23, 5], [23, 9], [23, 9], [23, 7], [23, 7], [103, 1], [103, 3], [92, 1], [92, 3], [107, 1], [107, 2], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [82, 1], [82, 1], [82, 1], [82, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [79, 1], [79, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [47, 1], [47, 2], [101, 1], [101, 2], [33, 1], [33, 1], [33, 1], [33, 1]],
1041
+ performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
1042
+ var $0 = $$.length - 1;
1043
+ switch (yystate) {
1044
+ case 2:
1045
+ this.$ = [];
1046
+ break;
1047
+ case 3:
1048
+ if (!Array.isArray($$[$0]) || $$[$0].length > 0) {
1049
+ $$[$0 - 1].push($$[$0]);
1050
+ }
1051
+ this.$ = $$[$0 - 1];
1052
+ break;
1053
+ case 4:
1054
+ case 183:
1055
+ this.$ = $$[$0];
1056
+ break;
1057
+ case 11:
1058
+ yy.setDirection("TB");
1059
+ this.$ = "TB";
1060
+ break;
1061
+ case 12:
1062
+ yy.setDirection($$[$0 - 1]);
1063
+ this.$ = $$[$0 - 1];
1064
+ break;
1065
+ case 27:
1066
+ this.$ = $$[$0 - 1].nodes;
1067
+ break;
1068
+ case 28:
1069
+ case 29:
1070
+ case 30:
1071
+ case 31:
1072
+ case 32:
1073
+ this.$ = [];
1074
+ break;
1075
+ case 33:
1076
+ this.$ = yy.addSubGraph($$[$0 - 6], $$[$0 - 1], $$[$0 - 4]);
1077
+ break;
1078
+ case 34:
1079
+ this.$ = yy.addSubGraph($$[$0 - 3], $$[$0 - 1], $$[$0 - 3]);
1080
+ break;
1081
+ case 35:
1082
+ this.$ = yy.addSubGraph(void 0, $$[$0 - 1], void 0);
1083
+ break;
1084
+ case 37:
1085
+ this.$ = $$[$0].trim();
1086
+ yy.setAccTitle(this.$);
1087
+ break;
1088
+ case 38:
1089
+ case 39:
1090
+ this.$ = $$[$0].trim();
1091
+ yy.setAccDescription(this.$);
1092
+ break;
1093
+ case 43:
1094
+ this.$ = $$[$0 - 1] + $$[$0];
1095
+ break;
1096
+ case 44:
1097
+ this.$ = $$[$0];
1098
+ break;
1099
+ case 45:
1100
+ yy.addVertex($$[$0 - 1][$$[$0 - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0]);
1101
+ yy.addLink($$[$0 - 3].stmt, $$[$0 - 1], $$[$0 - 2]);
1102
+ this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1].concat($$[$0 - 3].nodes) };
1103
+ break;
1104
+ case 46:
1105
+ yy.addLink($$[$0 - 2].stmt, $$[$0], $$[$0 - 1]);
1106
+ this.$ = { stmt: $$[$0], nodes: $$[$0].concat($$[$0 - 2].nodes) };
1107
+ break;
1108
+ case 47:
1109
+ yy.addLink($$[$0 - 3].stmt, $$[$0 - 1], $$[$0 - 2]);
1110
+ this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1].concat($$[$0 - 3].nodes) };
1111
+ break;
1112
+ case 48:
1113
+ this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1] };
1114
+ break;
1115
+ case 49:
1116
+ yy.addVertex($$[$0 - 1][$$[$0 - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0]);
1117
+ this.$ = { stmt: $$[$0 - 1], nodes: $$[$0 - 1], shapeData: $$[$0] };
1118
+ break;
1119
+ case 50:
1120
+ this.$ = { stmt: $$[$0], nodes: $$[$0] };
1121
+ break;
1122
+ case 51:
1123
+ this.$ = [$$[$0]];
1124
+ break;
1125
+ case 52:
1126
+ yy.addVertex($$[$0 - 5][$$[$0 - 5].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0 - 4]);
1127
+ this.$ = $$[$0 - 5].concat($$[$0]);
1128
+ break;
1129
+ case 53:
1130
+ this.$ = $$[$0 - 4].concat($$[$0]);
1131
+ break;
1132
+ case 54:
1133
+ this.$ = $$[$0];
1134
+ break;
1135
+ case 55:
1136
+ this.$ = $$[$0 - 2];
1137
+ yy.setClass($$[$0 - 2], $$[$0]);
1138
+ break;
1139
+ case 56:
1140
+ this.$ = $$[$0 - 3];
1141
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "square");
1142
+ break;
1143
+ case 57:
1144
+ this.$ = $$[$0 - 3];
1145
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "doublecircle");
1146
+ break;
1147
+ case 58:
1148
+ this.$ = $$[$0 - 5];
1149
+ yy.addVertex($$[$0 - 5], $$[$0 - 2], "circle");
1150
+ break;
1151
+ case 59:
1152
+ this.$ = $$[$0 - 3];
1153
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "ellipse");
1154
+ break;
1155
+ case 60:
1156
+ this.$ = $$[$0 - 3];
1157
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "stadium");
1158
+ break;
1159
+ case 61:
1160
+ this.$ = $$[$0 - 3];
1161
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "subroutine");
1162
+ break;
1163
+ case 62:
1164
+ this.$ = $$[$0 - 7];
1165
+ yy.addVertex($$[$0 - 7], $$[$0 - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[$$[$0 - 5], $$[$0 - 3]]]));
1166
+ break;
1167
+ case 63:
1168
+ this.$ = $$[$0 - 3];
1169
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "cylinder");
1170
+ break;
1171
+ case 64:
1172
+ this.$ = $$[$0 - 3];
1173
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "round");
1174
+ break;
1175
+ case 65:
1176
+ this.$ = $$[$0 - 3];
1177
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "diamond");
1178
+ break;
1179
+ case 66:
1180
+ this.$ = $$[$0 - 5];
1181
+ yy.addVertex($$[$0 - 5], $$[$0 - 2], "hexagon");
1182
+ break;
1183
+ case 67:
1184
+ this.$ = $$[$0 - 3];
1185
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "odd");
1186
+ break;
1187
+ case 68:
1188
+ this.$ = $$[$0 - 3];
1189
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "trapezoid");
1190
+ break;
1191
+ case 69:
1192
+ this.$ = $$[$0 - 3];
1193
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "inv_trapezoid");
1194
+ break;
1195
+ case 70:
1196
+ this.$ = $$[$0 - 3];
1197
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "lean_right");
1198
+ break;
1199
+ case 71:
1200
+ this.$ = $$[$0 - 3];
1201
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "lean_left");
1202
+ break;
1203
+ case 72:
1204
+ this.$ = $$[$0];
1205
+ yy.addVertex($$[$0]);
1206
+ break;
1207
+ case 73:
1208
+ $$[$0 - 1].text = $$[$0];
1209
+ this.$ = $$[$0 - 1];
1210
+ break;
1211
+ case 74:
1212
+ case 75:
1213
+ $$[$0 - 2].text = $$[$0 - 1];
1214
+ this.$ = $$[$0 - 2];
1215
+ break;
1216
+ case 76:
1217
+ this.$ = $$[$0];
1218
+ break;
1219
+ case 77:
1220
+ var inf = yy.destructLink($$[$0], $$[$0 - 2]);
1221
+ this.$ = { "type": inf.type, "stroke": inf.stroke, "length": inf.length, "text": $$[$0 - 1] };
1222
+ break;
1223
+ case 78:
1224
+ var inf = yy.destructLink($$[$0], $$[$0 - 2]);
1225
+ this.$ = { "type": inf.type, "stroke": inf.stroke, "length": inf.length, "text": $$[$0 - 1], "id": $$[$0 - 3] };
1226
+ break;
1227
+ case 79:
1228
+ this.$ = { text: $$[$0], type: "text" };
1229
+ break;
1230
+ case 80:
1231
+ this.$ = { text: $$[$0 - 1].text + "" + $$[$0], type: $$[$0 - 1].type };
1232
+ break;
1233
+ case 81:
1234
+ this.$ = { text: $$[$0], type: "string" };
1235
+ break;
1236
+ case 82:
1237
+ this.$ = { text: $$[$0], type: "markdown" };
1238
+ break;
1239
+ case 83:
1240
+ var inf = yy.destructLink($$[$0]);
1241
+ this.$ = { "type": inf.type, "stroke": inf.stroke, "length": inf.length };
1242
+ break;
1243
+ case 84:
1244
+ var inf = yy.destructLink($$[$0]);
1245
+ this.$ = { "type": inf.type, "stroke": inf.stroke, "length": inf.length, "id": $$[$0 - 1] };
1246
+ break;
1247
+ case 85:
1248
+ this.$ = $$[$0 - 1];
1249
+ break;
1250
+ case 86:
1251
+ this.$ = { text: $$[$0], type: "text" };
1252
+ break;
1253
+ case 87:
1254
+ this.$ = { text: $$[$0 - 1].text + "" + $$[$0], type: $$[$0 - 1].type };
1255
+ break;
1256
+ case 88:
1257
+ this.$ = { text: $$[$0], type: "string" };
1258
+ break;
1259
+ case 89:
1260
+ case 104:
1261
+ this.$ = { text: $$[$0], type: "markdown" };
1262
+ break;
1263
+ case 101:
1264
+ this.$ = { text: $$[$0], type: "text" };
1265
+ break;
1266
+ case 102:
1267
+ this.$ = { text: $$[$0 - 1].text + "" + $$[$0], type: $$[$0 - 1].type };
1268
+ break;
1269
+ case 103:
1270
+ this.$ = { text: $$[$0], type: "text" };
1271
+ break;
1272
+ case 105:
1273
+ this.$ = $$[$0 - 4];
1274
+ yy.addClass($$[$0 - 2], $$[$0]);
1275
+ break;
1276
+ case 106:
1277
+ this.$ = $$[$0 - 4];
1278
+ yy.setClass($$[$0 - 2], $$[$0]);
1279
+ break;
1280
+ case 107:
1281
+ case 115:
1282
+ this.$ = $$[$0 - 1];
1283
+ yy.setClickEvent($$[$0 - 1], $$[$0]);
1284
+ break;
1285
+ case 108:
1286
+ case 116:
1287
+ this.$ = $$[$0 - 3];
1288
+ yy.setClickEvent($$[$0 - 3], $$[$0 - 2]);
1289
+ yy.setTooltip($$[$0 - 3], $$[$0]);
1290
+ break;
1291
+ case 109:
1292
+ this.$ = $$[$0 - 2];
1293
+ yy.setClickEvent($$[$0 - 2], $$[$0 - 1], $$[$0]);
1294
+ break;
1295
+ case 110:
1296
+ this.$ = $$[$0 - 4];
1297
+ yy.setClickEvent($$[$0 - 4], $$[$0 - 3], $$[$0 - 2]);
1298
+ yy.setTooltip($$[$0 - 4], $$[$0]);
1299
+ break;
1300
+ case 111:
1301
+ this.$ = $$[$0 - 2];
1302
+ yy.setLink($$[$0 - 2], $$[$0]);
1303
+ break;
1304
+ case 112:
1305
+ this.$ = $$[$0 - 4];
1306
+ yy.setLink($$[$0 - 4], $$[$0 - 2]);
1307
+ yy.setTooltip($$[$0 - 4], $$[$0]);
1308
+ break;
1309
+ case 113:
1310
+ this.$ = $$[$0 - 4];
1311
+ yy.setLink($$[$0 - 4], $$[$0 - 2], $$[$0]);
1312
+ break;
1313
+ case 114:
1314
+ this.$ = $$[$0 - 6];
1315
+ yy.setLink($$[$0 - 6], $$[$0 - 4], $$[$0]);
1316
+ yy.setTooltip($$[$0 - 6], $$[$0 - 2]);
1317
+ break;
1318
+ case 117:
1319
+ this.$ = $$[$0 - 1];
1320
+ yy.setLink($$[$0 - 1], $$[$0]);
1321
+ break;
1322
+ case 118:
1323
+ this.$ = $$[$0 - 3];
1324
+ yy.setLink($$[$0 - 3], $$[$0 - 2]);
1325
+ yy.setTooltip($$[$0 - 3], $$[$0]);
1326
+ break;
1327
+ case 119:
1328
+ this.$ = $$[$0 - 3];
1329
+ yy.setLink($$[$0 - 3], $$[$0 - 2], $$[$0]);
1330
+ break;
1331
+ case 120:
1332
+ this.$ = $$[$0 - 5];
1333
+ yy.setLink($$[$0 - 5], $$[$0 - 4], $$[$0]);
1334
+ yy.setTooltip($$[$0 - 5], $$[$0 - 2]);
1335
+ break;
1336
+ case 121:
1337
+ this.$ = $$[$0 - 4];
1338
+ yy.addVertex($$[$0 - 2], void 0, void 0, $$[$0]);
1339
+ break;
1340
+ case 122:
1341
+ this.$ = $$[$0 - 4];
1342
+ yy.updateLink([$$[$0 - 2]], $$[$0]);
1343
+ break;
1344
+ case 123:
1345
+ this.$ = $$[$0 - 4];
1346
+ yy.updateLink($$[$0 - 2], $$[$0]);
1347
+ break;
1348
+ case 124:
1349
+ this.$ = $$[$0 - 8];
1350
+ yy.updateLinkInterpolate([$$[$0 - 6]], $$[$0 - 2]);
1351
+ yy.updateLink([$$[$0 - 6]], $$[$0]);
1352
+ break;
1353
+ case 125:
1354
+ this.$ = $$[$0 - 8];
1355
+ yy.updateLinkInterpolate($$[$0 - 6], $$[$0 - 2]);
1356
+ yy.updateLink($$[$0 - 6], $$[$0]);
1357
+ break;
1358
+ case 126:
1359
+ this.$ = $$[$0 - 6];
1360
+ yy.updateLinkInterpolate([$$[$0 - 4]], $$[$0]);
1361
+ break;
1362
+ case 127:
1363
+ this.$ = $$[$0 - 6];
1364
+ yy.updateLinkInterpolate($$[$0 - 4], $$[$0]);
1365
+ break;
1366
+ case 128:
1367
+ case 130:
1368
+ this.$ = [$$[$0]];
1369
+ break;
1370
+ case 129:
1371
+ case 131:
1372
+ $$[$0 - 2].push($$[$0]);
1373
+ this.$ = $$[$0 - 2];
1374
+ break;
1375
+ case 133:
1376
+ this.$ = $$[$0 - 1] + $$[$0];
1377
+ break;
1378
+ case 181:
1379
+ this.$ = $$[$0];
1380
+ break;
1381
+ case 182:
1382
+ this.$ = $$[$0 - 1] + "" + $$[$0];
1383
+ break;
1384
+ case 184:
1385
+ this.$ = $$[$0 - 1] + "" + $$[$0];
1386
+ break;
1387
+ case 185:
1388
+ this.$ = { stmt: "dir", value: "TB" };
1389
+ break;
1390
+ case 186:
1391
+ this.$ = { stmt: "dir", value: "BT" };
1392
+ break;
1393
+ case 187:
1394
+ this.$ = { stmt: "dir", value: "RL" };
1395
+ break;
1396
+ case 188:
1397
+ this.$ = { stmt: "dir", value: "LR" };
1398
+ break;
1399
+ }
1400
+ }, "anonymous"),
1401
+ table: [{ 3: 1, 4: 2, 9: $V0, 10: $V1, 12: $V2 }, { 1: [3] }, o($V3, $V4, { 5: 6 }), { 4: 7, 9: $V0, 10: $V1, 12: $V2 }, { 4: 8, 9: $V0, 10: $V1, 12: $V2 }, { 13: [1, 9], 14: [1, 10] }, { 1: [2, 1], 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 84: $Vf, 85: $Vg, 86: $Vh, 87: $Vi, 88: $Vj, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs, 121: $Vt, 122: $Vu, 123: $Vv, 124: $Vw }, o($V3, [2, 9]), o($V3, [2, 10]), o($V3, [2, 11]), { 8: [1, 54], 9: [1, 55], 10: $Vx, 15: 53, 18: 56 }, o($Vy, [2, 3]), o($Vy, [2, 4]), o($Vy, [2, 5]), o($Vy, [2, 6]), o($Vy, [2, 7]), o($Vy, [2, 8]), { 8: $Vz, 9: $VA, 11: $VB, 21: 58, 41: 59, 72: 63, 75: [1, 64], 77: [1, 66], 78: [1, 65] }, { 8: $Vz, 9: $VA, 11: $VB, 21: 67 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 68 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 69 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 70 }, { 8: $Vz, 9: $VA, 11: $VB, 21: 71 }, { 8: $Vz, 9: $VA, 10: [1, 72], 11: $VB, 21: 73 }, o($Vy, [2, 36]), { 35: [1, 74] }, { 37: [1, 75] }, o($Vy, [2, 39]), o($VC, [2, 50], { 18: 76, 39: 77, 10: $Vx, 40: $VD }), { 10: [1, 79] }, { 10: [1, 80] }, { 10: [1, 81] }, { 10: [1, 82] }, { 14: $VE, 44: $VF, 60: $VG, 80: [1, 86], 89: $VH, 95: [1, 83], 97: [1, 84], 101: 85, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO, 120: 87 }, o($Vy, [2, 185]), o($Vy, [2, 186]), o($Vy, [2, 187]), o($Vy, [2, 188]), o($VP, [2, 51]), o($VP, [2, 54], { 46: [1, 99] }), o($VQ, [2, 72], { 113: 112, 29: [1, 100], 44: $Vd, 48: [1, 101], 50: [1, 102], 52: [1, 103], 54: [1, 104], 56: [1, 105], 58: [1, 106], 60: $Ve, 63: [1, 107], 65: [1, 108], 67: [1, 109], 68: [1, 110], 70: [1, 111], 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 114: $Vq, 115: $Vr, 116: $Vs }), o($VR, [2, 181]), o($VR, [2, 142]), o($VR, [2, 143]), o($VR, [2, 144]), o($VR, [2, 145]), o($VR, [2, 146]), o($VR, [2, 147]), o($VR, [2, 148]), o($VR, [2, 149]), o($VR, [2, 150]), o($VR, [2, 151]), o($VR, [2, 152]), o($V3, [2, 12]), o($V3, [2, 18]), o($V3, [2, 19]), { 9: [1, 113] }, o($VS, [2, 26], { 18: 114, 10: $Vx }), o($Vy, [2, 27]), { 42: 115, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, o($Vy, [2, 40]), o($Vy, [2, 41]), o($Vy, [2, 42]), o($VT, [2, 76], { 73: 116, 62: [1, 118], 74: [1, 117] }), { 76: 119, 79: 120, 80: $VU, 81: $VV, 116: $VW, 119: $VX }, { 75: [1, 125], 77: [1, 126] }, o($VY, [2, 83]), o($Vy, [2, 28]), o($Vy, [2, 29]), o($Vy, [2, 30]), o($Vy, [2, 31]), o($Vy, [2, 32]), { 10: $VZ, 12: $V_, 14: $V$, 27: $V01, 28: 127, 32: $V11, 44: $V21, 60: $V31, 75: $V41, 80: [1, 129], 81: [1, 130], 83: 140, 84: $V51, 85: $V61, 86: $V71, 87: $V81, 88: $V91, 89: $Va1, 90: $Vb1, 91: 128, 105: $Vc1, 109: $Vd1, 111: $Ve1, 114: $Vf1, 115: $Vg1, 116: $Vh1 }, o($Vi1, $V4, { 5: 153 }), o($Vy, [2, 37]), o($Vy, [2, 38]), o($VC, [2, 48], { 44: $Vj1 }), o($VC, [2, 49], { 18: 155, 10: $Vx, 40: $Vk1 }), o($VP, [2, 44]), { 44: $Vd, 47: 157, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, { 102: [1, 158], 103: 159, 105: [1, 160] }, { 44: $Vd, 47: 161, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, { 44: $Vd, 47: 162, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, o($Vl1, [2, 107], { 10: [1, 163], 96: [1, 164] }), { 80: [1, 165] }, o($Vl1, [2, 115], { 120: 167, 10: [1, 166], 14: $VE, 44: $VF, 60: $VG, 89: $VH, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO }), o($Vl1, [2, 117], { 10: [1, 168] }), o($Vm1, [2, 183]), o($Vm1, [2, 170]), o($Vm1, [2, 171]), o($Vm1, [2, 172]), o($Vm1, [2, 173]), o($Vm1, [2, 174]), o($Vm1, [2, 175]), o($Vm1, [2, 176]), o($Vm1, [2, 177]), o($Vm1, [2, 178]), o($Vm1, [2, 179]), o($Vm1, [2, 180]), { 44: $Vd, 47: 169, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, { 30: 170, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 178, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 180, 50: [1, 179], 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 181, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 182, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 183, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 109: [1, 184] }, { 30: 185, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 186, 65: [1, 187], 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 188, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 189, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 190, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VR, [2, 182]), o($V3, [2, 20]), o($VS, [2, 25]), o($VC, [2, 46], { 39: 191, 18: 192, 10: $Vx, 40: $VD }), o($VT, [2, 73], { 10: [1, 193] }), { 10: [1, 194] }, { 30: 195, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 77: [1, 196], 79: 197, 116: $VW, 119: $VX }, o($Vt1, [2, 79]), o($Vt1, [2, 81]), o($Vt1, [2, 82]), o($Vt1, [2, 168]), o($Vt1, [2, 169]), { 76: 198, 79: 120, 80: $VU, 81: $VV, 116: $VW, 119: $VX }, o($VY, [2, 84]), { 8: $Vz, 9: $VA, 10: $VZ, 11: $VB, 12: $V_, 14: $V$, 21: 200, 27: $V01, 29: [1, 199], 32: $V11, 44: $V21, 60: $V31, 75: $V41, 83: 140, 84: $V51, 85: $V61, 86: $V71, 87: $V81, 88: $V91, 89: $Va1, 90: $Vb1, 91: 201, 105: $Vc1, 109: $Vd1, 111: $Ve1, 114: $Vf1, 115: $Vg1, 116: $Vh1 }, o($Vu1, [2, 101]), o($Vu1, [2, 103]), o($Vu1, [2, 104]), o($Vu1, [2, 157]), o($Vu1, [2, 158]), o($Vu1, [2, 159]), o($Vu1, [2, 160]), o($Vu1, [2, 161]), o($Vu1, [2, 162]), o($Vu1, [2, 163]), o($Vu1, [2, 164]), o($Vu1, [2, 165]), o($Vu1, [2, 166]), o($Vu1, [2, 167]), o($Vu1, [2, 90]), o($Vu1, [2, 91]), o($Vu1, [2, 92]), o($Vu1, [2, 93]), o($Vu1, [2, 94]), o($Vu1, [2, 95]), o($Vu1, [2, 96]), o($Vu1, [2, 97]), o($Vu1, [2, 98]), o($Vu1, [2, 99]), o($Vu1, [2, 100]), { 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 32: [1, 202], 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 84: $Vf, 85: $Vg, 86: $Vh, 87: $Vi, 88: $Vj, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs, 121: $Vt, 122: $Vu, 123: $Vv, 124: $Vw }, { 10: $Vx, 18: 203 }, { 44: [1, 204] }, o($VP, [2, 43]), { 10: [1, 205], 44: $Vd, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 112, 114: $Vq, 115: $Vr, 116: $Vs }, { 10: [1, 206] }, { 10: [1, 207], 106: [1, 208] }, o($Vv1, [2, 128]), { 10: [1, 209], 44: $Vd, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 112, 114: $Vq, 115: $Vr, 116: $Vs }, { 10: [1, 210], 44: $Vd, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 112, 114: $Vq, 115: $Vr, 116: $Vs }, { 80: [1, 211] }, o($Vl1, [2, 109], { 10: [1, 212] }), o($Vl1, [2, 111], { 10: [1, 213] }), { 80: [1, 214] }, o($Vm1, [2, 184]), { 80: [1, 215], 98: [1, 216] }, o($VP, [2, 55], { 113: 112, 44: $Vd, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 114: $Vq, 115: $Vr, 116: $Vs }), { 31: [1, 217], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($Vw1, [2, 86]), o($Vw1, [2, 88]), o($Vw1, [2, 89]), o($Vw1, [2, 153]), o($Vw1, [2, 154]), o($Vw1, [2, 155]), o($Vw1, [2, 156]), { 49: [1, 219], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 220, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 51: [1, 221], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 53: [1, 222], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 55: [1, 223], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 57: [1, 224], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 60: [1, 225] }, { 64: [1, 226], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 66: [1, 227], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 30: 228, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 31: [1, 229], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 67: $Vn1, 69: [1, 230], 71: [1, 231], 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 67: $Vn1, 69: [1, 233], 71: [1, 232], 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VC, [2, 45], { 18: 155, 10: $Vx, 40: $Vk1 }), o($VC, [2, 47], { 44: $Vj1 }), o($VT, [2, 75]), o($VT, [2, 74]), { 62: [1, 234], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VT, [2, 77]), o($Vt1, [2, 80]), { 77: [1, 235], 79: 197, 116: $VW, 119: $VX }, { 30: 236, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($Vi1, $V4, { 5: 237 }), o($Vu1, [2, 102]), o($Vy, [2, 35]), { 43: 238, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, { 10: $Vx, 18: 239 }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 240, 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 251, 104: [1, 252], 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 253, 104: [1, 254], 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, { 105: [1, 255] }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 256, 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, { 44: $Vd, 47: 257, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, o($Vl1, [2, 108]), { 80: [1, 258] }, { 80: [1, 259], 98: [1, 260] }, o($Vl1, [2, 116]), o($Vl1, [2, 118], { 10: [1, 261] }), o($Vl1, [2, 119]), o($VQ, [2, 56]), o($Vw1, [2, 87]), o($VQ, [2, 57]), { 51: [1, 262], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VQ, [2, 64]), o($VQ, [2, 59]), o($VQ, [2, 60]), o($VQ, [2, 61]), { 109: [1, 263] }, o($VQ, [2, 63]), o($VQ, [2, 65]), { 66: [1, 264], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VQ, [2, 67]), o($VQ, [2, 68]), o($VQ, [2, 70]), o($VQ, [2, 69]), o($VQ, [2, 71]), o([10, 44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], [2, 85]), o($VT, [2, 78]), { 31: [1, 265], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 32: [1, 266], 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 84: $Vf, 85: $Vg, 86: $Vh, 87: $Vi, 88: $Vj, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs, 121: $Vt, 122: $Vu, 123: $Vv, 124: $Vw }, o($VP, [2, 53]), { 43: 267, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs }, o($Vl1, [2, 121], { 106: $VF1 }), o($VG1, [2, 130], { 108: 269, 10: $Vx1, 60: $Vy1, 84: $Vz1, 105: $VA1, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }), o($VH1, [2, 132]), o($VH1, [2, 134]), o($VH1, [2, 135]), o($VH1, [2, 136]), o($VH1, [2, 137]), o($VH1, [2, 138]), o($VH1, [2, 139]), o($VH1, [2, 140]), o($VH1, [2, 141]), o($Vl1, [2, 122], { 106: $VF1 }), { 10: [1, 270] }, o($Vl1, [2, 123], { 106: $VF1 }), { 10: [1, 271] }, o($Vv1, [2, 129]), o($Vl1, [2, 105], { 106: $VF1 }), o($Vl1, [2, 106], { 113: 112, 44: $Vd, 60: $Ve, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 114: $Vq, 115: $Vr, 116: $Vs }), o($Vl1, [2, 110]), o($Vl1, [2, 112], { 10: [1, 272] }), o($Vl1, [2, 113]), { 98: [1, 273] }, { 51: [1, 274] }, { 62: [1, 275] }, { 66: [1, 276] }, { 8: $Vz, 9: $VA, 11: $VB, 21: 277 }, o($Vy, [2, 34]), o($VP, [2, 52]), { 10: $Vx1, 60: $Vy1, 84: $Vz1, 105: $VA1, 107: 278, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, o($VH1, [2, 133]), { 14: $VE, 44: $VF, 60: $VG, 89: $VH, 101: 279, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO, 120: 87 }, { 14: $VE, 44: $VF, 60: $VG, 89: $VH, 101: 280, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO, 120: 87 }, { 98: [1, 281] }, o($Vl1, [2, 120]), o($VQ, [2, 58]), { 30: 282, 67: $Vn1, 80: $Vo1, 81: $Vp1, 82: 171, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, o($VQ, [2, 66]), o($Vi1, $V4, { 5: 283 }), o($VG1, [2, 131], { 108: 269, 10: $Vx1, 60: $Vy1, 84: $Vz1, 105: $VA1, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }), o($Vl1, [2, 126], { 120: 167, 10: [1, 284], 14: $VE, 44: $VF, 60: $VG, 89: $VH, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO }), o($Vl1, [2, 127], { 120: 167, 10: [1, 285], 14: $VE, 44: $VF, 60: $VG, 89: $VH, 105: $VI, 106: $VJ, 109: $VK, 111: $VL, 114: $VM, 115: $VN, 116: $VO }), o($Vl1, [2, 114]), { 31: [1, 286], 67: $Vn1, 82: 218, 116: $Vq1, 117: $Vr1, 118: $Vs1 }, { 6: 11, 7: 12, 8: $V5, 9: $V6, 10: $V7, 11: $V8, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: $V9, 32: [1, 287], 33: 24, 34: $Va, 36: $Vb, 38: $Vc, 42: 28, 43: 38, 44: $Vd, 45: 39, 47: 40, 60: $Ve, 84: $Vf, 85: $Vg, 86: $Vh, 87: $Vi, 88: $Vj, 89: $Vk, 102: $Vl, 105: $Vm, 106: $Vn, 109: $Vo, 111: $Vp, 113: 41, 114: $Vq, 115: $Vr, 116: $Vs, 121: $Vt, 122: $Vu, 123: $Vv, 124: $Vw }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 288, 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, { 10: $Vx1, 60: $Vy1, 84: $Vz1, 92: 289, 105: $VA1, 107: 241, 108: 242, 109: $VB1, 110: $VC1, 111: $VD1, 112: $VE1 }, o($VQ, [2, 62]), o($Vy, [2, 33]), o($Vl1, [2, 124], { 106: $VF1 }), o($Vl1, [2, 125], { 106: $VF1 })],
1402
+ defaultActions: {},
1403
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
1404
+ if (hash.recoverable) {
1405
+ this.trace(str);
1406
+ } else {
1407
+ var error = new Error(str);
1408
+ error.hash = hash;
1409
+ throw error;
1410
+ }
1411
+ }, "parseError"),
1412
+ parse: /* @__PURE__ */ __name(function parse(input) {
1413
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
1414
+ var args = lstack.slice.call(arguments, 1);
1415
+ var lexer2 = Object.create(this.lexer);
1416
+ var sharedState = { yy: {} };
1417
+ for (var k in this.yy) {
1418
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
1419
+ sharedState.yy[k] = this.yy[k];
1420
+ }
1421
+ }
1422
+ lexer2.setInput(input, sharedState.yy);
1423
+ sharedState.yy.lexer = lexer2;
1424
+ sharedState.yy.parser = this;
1425
+ if (typeof lexer2.yylloc == "undefined") {
1426
+ lexer2.yylloc = {};
1427
+ }
1428
+ var yyloc = lexer2.yylloc;
1429
+ lstack.push(yyloc);
1430
+ var ranges = lexer2.options && lexer2.options.ranges;
1431
+ if (typeof sharedState.yy.parseError === "function") {
1432
+ this.parseError = sharedState.yy.parseError;
1433
+ } else {
1434
+ this.parseError = Object.getPrototypeOf(this).parseError;
1435
+ }
1436
+ function popStack(n) {
1437
+ stack.length = stack.length - 2 * n;
1438
+ vstack.length = vstack.length - n;
1439
+ lstack.length = lstack.length - n;
1440
+ }
1441
+ __name(popStack, "popStack");
1442
+ function lex() {
1443
+ var token;
1444
+ token = tstack.pop() || lexer2.lex() || EOF;
1445
+ if (typeof token !== "number") {
1446
+ if (token instanceof Array) {
1447
+ tstack = token;
1448
+ token = tstack.pop();
1449
+ }
1450
+ token = self.symbols_[token] || token;
1451
+ }
1452
+ return token;
1453
+ }
1454
+ __name(lex, "lex");
1455
+ var symbol, state, action, r, yyval = {}, p, len, newState, expected;
1456
+ while (true) {
1457
+ state = stack[stack.length - 1];
1458
+ if (this.defaultActions[state]) {
1459
+ action = this.defaultActions[state];
1460
+ } else {
1461
+ if (symbol === null || typeof symbol == "undefined") {
1462
+ symbol = lex();
1463
+ }
1464
+ action = table[state] && table[state][symbol];
1465
+ }
1466
+ if (typeof action === "undefined" || !action.length || !action[0]) {
1467
+ var errStr = "";
1468
+ expected = [];
1469
+ for (p in table[state]) {
1470
+ if (this.terminals_[p] && p > TERROR) {
1471
+ expected.push("'" + this.terminals_[p] + "'");
1472
+ }
1473
+ }
1474
+ if (lexer2.showPosition) {
1475
+ errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
1476
+ } else {
1477
+ errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
1478
+ }
1479
+ this.parseError(errStr, {
1480
+ text: lexer2.match,
1481
+ token: this.terminals_[symbol] || symbol,
1482
+ line: lexer2.yylineno,
1483
+ loc: yyloc,
1484
+ expected
1485
+ });
1486
+ }
1487
+ if (action[0] instanceof Array && action.length > 1) {
1488
+ throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
1489
+ }
1490
+ switch (action[0]) {
1491
+ case 1:
1492
+ stack.push(symbol);
1493
+ vstack.push(lexer2.yytext);
1494
+ lstack.push(lexer2.yylloc);
1495
+ stack.push(action[1]);
1496
+ symbol = null;
1497
+ {
1498
+ yyleng = lexer2.yyleng;
1499
+ yytext = lexer2.yytext;
1500
+ yylineno = lexer2.yylineno;
1501
+ yyloc = lexer2.yylloc;
1502
+ }
1503
+ break;
1504
+ case 2:
1505
+ len = this.productions_[action[1]][1];
1506
+ yyval.$ = vstack[vstack.length - len];
1507
+ yyval._$ = {
1508
+ first_line: lstack[lstack.length - (len || 1)].first_line,
1509
+ last_line: lstack[lstack.length - 1].last_line,
1510
+ first_column: lstack[lstack.length - (len || 1)].first_column,
1511
+ last_column: lstack[lstack.length - 1].last_column
1512
+ };
1513
+ if (ranges) {
1514
+ yyval._$.range = [
1515
+ lstack[lstack.length - (len || 1)].range[0],
1516
+ lstack[lstack.length - 1].range[1]
1517
+ ];
1518
+ }
1519
+ r = this.performAction.apply(yyval, [
1520
+ yytext,
1521
+ yyleng,
1522
+ yylineno,
1523
+ sharedState.yy,
1524
+ action[1],
1525
+ vstack,
1526
+ lstack
1527
+ ].concat(args));
1528
+ if (typeof r !== "undefined") {
1529
+ return r;
1530
+ }
1531
+ if (len) {
1532
+ stack = stack.slice(0, -1 * len * 2);
1533
+ vstack = vstack.slice(0, -1 * len);
1534
+ lstack = lstack.slice(0, -1 * len);
1535
+ }
1536
+ stack.push(this.productions_[action[1]][0]);
1537
+ vstack.push(yyval.$);
1538
+ lstack.push(yyval._$);
1539
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
1540
+ stack.push(newState);
1541
+ break;
1542
+ case 3:
1543
+ return true;
1544
+ }
1545
+ }
1546
+ return true;
1547
+ }, "parse")
1548
+ };
1549
+ var lexer = /* @__PURE__ */ function() {
1550
+ var lexer2 = {
1551
+ EOF: 1,
1552
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
1553
+ if (this.yy.parser) {
1554
+ this.yy.parser.parseError(str, hash);
1555
+ } else {
1556
+ throw new Error(str);
1557
+ }
1558
+ }, "parseError"),
1559
+ // resets the lexer, sets new input
1560
+ setInput: /* @__PURE__ */ __name(function(input, yy) {
1561
+ this.yy = yy || this.yy || {};
1562
+ this._input = input;
1563
+ this._more = this._backtrack = this.done = false;
1564
+ this.yylineno = this.yyleng = 0;
1565
+ this.yytext = this.matched = this.match = "";
1566
+ this.conditionStack = ["INITIAL"];
1567
+ this.yylloc = {
1568
+ first_line: 1,
1569
+ first_column: 0,
1570
+ last_line: 1,
1571
+ last_column: 0
1572
+ };
1573
+ if (this.options.ranges) {
1574
+ this.yylloc.range = [0, 0];
1575
+ }
1576
+ this.offset = 0;
1577
+ return this;
1578
+ }, "setInput"),
1579
+ // consumes and returns one char from the input
1580
+ input: /* @__PURE__ */ __name(function() {
1581
+ var ch = this._input[0];
1582
+ this.yytext += ch;
1583
+ this.yyleng++;
1584
+ this.offset++;
1585
+ this.match += ch;
1586
+ this.matched += ch;
1587
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
1588
+ if (lines) {
1589
+ this.yylineno++;
1590
+ this.yylloc.last_line++;
1591
+ } else {
1592
+ this.yylloc.last_column++;
1593
+ }
1594
+ if (this.options.ranges) {
1595
+ this.yylloc.range[1]++;
1596
+ }
1597
+ this._input = this._input.slice(1);
1598
+ return ch;
1599
+ }, "input"),
1600
+ // unshifts one char (or a string) into the input
1601
+ unput: /* @__PURE__ */ __name(function(ch) {
1602
+ var len = ch.length;
1603
+ var lines = ch.split(/(?:\r\n?|\n)/g);
1604
+ this._input = ch + this._input;
1605
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
1606
+ this.offset -= len;
1607
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
1608
+ this.match = this.match.substr(0, this.match.length - 1);
1609
+ this.matched = this.matched.substr(0, this.matched.length - 1);
1610
+ if (lines.length - 1) {
1611
+ this.yylineno -= lines.length - 1;
1612
+ }
1613
+ var r = this.yylloc.range;
1614
+ this.yylloc = {
1615
+ first_line: this.yylloc.first_line,
1616
+ last_line: this.yylineno + 1,
1617
+ first_column: this.yylloc.first_column,
1618
+ last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
1619
+ };
1620
+ if (this.options.ranges) {
1621
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
1622
+ }
1623
+ this.yyleng = this.yytext.length;
1624
+ return this;
1625
+ }, "unput"),
1626
+ // When called from action, caches matched text and appends it on next action
1627
+ more: /* @__PURE__ */ __name(function() {
1628
+ this._more = true;
1629
+ return this;
1630
+ }, "more"),
1631
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
1632
+ reject: /* @__PURE__ */ __name(function() {
1633
+ if (this.options.backtrack_lexer) {
1634
+ this._backtrack = true;
1635
+ } else {
1636
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1637
+ text: "",
1638
+ token: null,
1639
+ line: this.yylineno
1640
+ });
1641
+ }
1642
+ return this;
1643
+ }, "reject"),
1644
+ // retain first n characters of the match
1645
+ less: /* @__PURE__ */ __name(function(n) {
1646
+ this.unput(this.match.slice(n));
1647
+ }, "less"),
1648
+ // displays already matched input, i.e. for error messages
1649
+ pastInput: /* @__PURE__ */ __name(function() {
1650
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
1651
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
1652
+ }, "pastInput"),
1653
+ // displays upcoming input, i.e. for error messages
1654
+ upcomingInput: /* @__PURE__ */ __name(function() {
1655
+ var next = this.match;
1656
+ if (next.length < 20) {
1657
+ next += this._input.substr(0, 20 - next.length);
1658
+ }
1659
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
1660
+ }, "upcomingInput"),
1661
+ // displays the character position where the lexing error occurred, i.e. for error messages
1662
+ showPosition: /* @__PURE__ */ __name(function() {
1663
+ var pre = this.pastInput();
1664
+ var c = new Array(pre.length + 1).join("-");
1665
+ return pre + this.upcomingInput() + "\n" + c + "^";
1666
+ }, "showPosition"),
1667
+ // test the lexed token: return FALSE when not a match, otherwise return token
1668
+ test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
1669
+ var token, lines, backup;
1670
+ if (this.options.backtrack_lexer) {
1671
+ backup = {
1672
+ yylineno: this.yylineno,
1673
+ yylloc: {
1674
+ first_line: this.yylloc.first_line,
1675
+ last_line: this.last_line,
1676
+ first_column: this.yylloc.first_column,
1677
+ last_column: this.yylloc.last_column
1678
+ },
1679
+ yytext: this.yytext,
1680
+ match: this.match,
1681
+ matches: this.matches,
1682
+ matched: this.matched,
1683
+ yyleng: this.yyleng,
1684
+ offset: this.offset,
1685
+ _more: this._more,
1686
+ _input: this._input,
1687
+ yy: this.yy,
1688
+ conditionStack: this.conditionStack.slice(0),
1689
+ done: this.done
1690
+ };
1691
+ if (this.options.ranges) {
1692
+ backup.yylloc.range = this.yylloc.range.slice(0);
1693
+ }
1694
+ }
1695
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
1696
+ if (lines) {
1697
+ this.yylineno += lines.length;
1698
+ }
1699
+ this.yylloc = {
1700
+ first_line: this.yylloc.last_line,
1701
+ last_line: this.yylineno + 1,
1702
+ first_column: this.yylloc.last_column,
1703
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
1704
+ };
1705
+ this.yytext += match[0];
1706
+ this.match += match[0];
1707
+ this.matches = match;
1708
+ this.yyleng = this.yytext.length;
1709
+ if (this.options.ranges) {
1710
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
1711
+ }
1712
+ this._more = false;
1713
+ this._backtrack = false;
1714
+ this._input = this._input.slice(match[0].length);
1715
+ this.matched += match[0];
1716
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
1717
+ if (this.done && this._input) {
1718
+ this.done = false;
1719
+ }
1720
+ if (token) {
1721
+ return token;
1722
+ } else if (this._backtrack) {
1723
+ for (var k in backup) {
1724
+ this[k] = backup[k];
1725
+ }
1726
+ return false;
1727
+ }
1728
+ return false;
1729
+ }, "test_match"),
1730
+ // return next match in input
1731
+ next: /* @__PURE__ */ __name(function() {
1732
+ if (this.done) {
1733
+ return this.EOF;
1734
+ }
1735
+ if (!this._input) {
1736
+ this.done = true;
1737
+ }
1738
+ var token, match, tempMatch, index;
1739
+ if (!this._more) {
1740
+ this.yytext = "";
1741
+ this.match = "";
1742
+ }
1743
+ var rules = this._currentRules();
1744
+ for (var i = 0; i < rules.length; i++) {
1745
+ tempMatch = this._input.match(this.rules[rules[i]]);
1746
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
1747
+ match = tempMatch;
1748
+ index = i;
1749
+ if (this.options.backtrack_lexer) {
1750
+ token = this.test_match(tempMatch, rules[i]);
1751
+ if (token !== false) {
1752
+ return token;
1753
+ } else if (this._backtrack) {
1754
+ match = false;
1755
+ continue;
1756
+ } else {
1757
+ return false;
1758
+ }
1759
+ } else if (!this.options.flex) {
1760
+ break;
1761
+ }
1762
+ }
1763
+ }
1764
+ if (match) {
1765
+ token = this.test_match(match, rules[index]);
1766
+ if (token !== false) {
1767
+ return token;
1768
+ }
1769
+ return false;
1770
+ }
1771
+ if (this._input === "") {
1772
+ return this.EOF;
1773
+ } else {
1774
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1775
+ text: "",
1776
+ token: null,
1777
+ line: this.yylineno
1778
+ });
1779
+ }
1780
+ }, "next"),
1781
+ // return next match that has a token
1782
+ lex: /* @__PURE__ */ __name(function lex() {
1783
+ var r = this.next();
1784
+ if (r) {
1785
+ return r;
1786
+ } else {
1787
+ return this.lex();
1788
+ }
1789
+ }, "lex"),
1790
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
1791
+ begin: /* @__PURE__ */ __name(function begin(condition) {
1792
+ this.conditionStack.push(condition);
1793
+ }, "begin"),
1794
+ // pop the previously active lexer condition state off the condition stack
1795
+ popState: /* @__PURE__ */ __name(function popState() {
1796
+ var n = this.conditionStack.length - 1;
1797
+ if (n > 0) {
1798
+ return this.conditionStack.pop();
1799
+ } else {
1800
+ return this.conditionStack[0];
1801
+ }
1802
+ }, "popState"),
1803
+ // produce the lexer rule set which is active for the currently active lexer condition state
1804
+ _currentRules: /* @__PURE__ */ __name(function _currentRules() {
1805
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
1806
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
1807
+ } else {
1808
+ return this.conditions["INITIAL"].rules;
1809
+ }
1810
+ }, "_currentRules"),
1811
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
1812
+ topState: /* @__PURE__ */ __name(function topState(n) {
1813
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
1814
+ if (n >= 0) {
1815
+ return this.conditionStack[n];
1816
+ } else {
1817
+ return "INITIAL";
1818
+ }
1819
+ }, "topState"),
1820
+ // alias for begin(condition)
1821
+ pushState: /* @__PURE__ */ __name(function pushState(condition) {
1822
+ this.begin(condition);
1823
+ }, "pushState"),
1824
+ // return the number of states currently on the stack
1825
+ stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
1826
+ return this.conditionStack.length;
1827
+ }, "stateStackSize"),
1828
+ options: {},
1829
+ performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
1830
+ switch ($avoiding_name_collisions) {
1831
+ case 0:
1832
+ this.begin("acc_title");
1833
+ return 34;
1834
+ case 1:
1835
+ this.popState();
1836
+ return "acc_title_value";
1837
+ case 2:
1838
+ this.begin("acc_descr");
1839
+ return 36;
1840
+ case 3:
1841
+ this.popState();
1842
+ return "acc_descr_value";
1843
+ case 4:
1844
+ this.begin("acc_descr_multiline");
1845
+ break;
1846
+ case 5:
1847
+ this.popState();
1848
+ break;
1849
+ case 6:
1850
+ return "acc_descr_multiline_value";
1851
+ case 7:
1852
+ this.pushState("shapeData");
1853
+ yy_.yytext = "";
1854
+ return 40;
1855
+ case 8:
1856
+ this.pushState("shapeDataStr");
1857
+ return 40;
1858
+ case 9:
1859
+ this.popState();
1860
+ return 40;
1861
+ case 10:
1862
+ const re = /\n\s*/g;
1863
+ yy_.yytext = yy_.yytext.replace(re, "<br/>");
1864
+ return 40;
1865
+ case 11:
1866
+ return 40;
1867
+ case 12:
1868
+ this.popState();
1869
+ break;
1870
+ case 13:
1871
+ this.begin("callbackname");
1872
+ break;
1873
+ case 14:
1874
+ this.popState();
1875
+ break;
1876
+ case 15:
1877
+ this.popState();
1878
+ this.begin("callbackargs");
1879
+ break;
1880
+ case 16:
1881
+ return 95;
1882
+ case 17:
1883
+ this.popState();
1884
+ break;
1885
+ case 18:
1886
+ return 96;
1887
+ case 19:
1888
+ return "MD_STR";
1889
+ case 20:
1890
+ this.popState();
1891
+ break;
1892
+ case 21:
1893
+ this.begin("md_string");
1894
+ break;
1895
+ case 22:
1896
+ return "STR";
1897
+ case 23:
1898
+ this.popState();
1899
+ break;
1900
+ case 24:
1901
+ this.pushState("string");
1902
+ break;
1903
+ case 25:
1904
+ return 84;
1905
+ case 26:
1906
+ return 102;
1907
+ case 27:
1908
+ return 85;
1909
+ case 28:
1910
+ return 104;
1911
+ case 29:
1912
+ return 86;
1913
+ case 30:
1914
+ return 87;
1915
+ case 31:
1916
+ return 97;
1917
+ case 32:
1918
+ this.begin("click");
1919
+ break;
1920
+ case 33:
1921
+ this.popState();
1922
+ break;
1923
+ case 34:
1924
+ return 88;
1925
+ case 35:
1926
+ if (yy.lex.firstGraph()) {
1927
+ this.begin("dir");
1928
+ }
1929
+ return 12;
1930
+ case 36:
1931
+ if (yy.lex.firstGraph()) {
1932
+ this.begin("dir");
1933
+ }
1934
+ return 12;
1935
+ case 37:
1936
+ if (yy.lex.firstGraph()) {
1937
+ this.begin("dir");
1938
+ }
1939
+ return 12;
1940
+ case 38:
1941
+ return 27;
1942
+ case 39:
1943
+ return 32;
1944
+ case 40:
1945
+ return 98;
1946
+ case 41:
1947
+ return 98;
1948
+ case 42:
1949
+ return 98;
1950
+ case 43:
1951
+ return 98;
1952
+ case 44:
1953
+ this.popState();
1954
+ return 13;
1955
+ case 45:
1956
+ this.popState();
1957
+ return 14;
1958
+ case 46:
1959
+ this.popState();
1960
+ return 14;
1961
+ case 47:
1962
+ this.popState();
1963
+ return 14;
1964
+ case 48:
1965
+ this.popState();
1966
+ return 14;
1967
+ case 49:
1968
+ this.popState();
1969
+ return 14;
1970
+ case 50:
1971
+ this.popState();
1972
+ return 14;
1973
+ case 51:
1974
+ this.popState();
1975
+ return 14;
1976
+ case 52:
1977
+ this.popState();
1978
+ return 14;
1979
+ case 53:
1980
+ this.popState();
1981
+ return 14;
1982
+ case 54:
1983
+ this.popState();
1984
+ return 14;
1985
+ case 55:
1986
+ return 121;
1987
+ case 56:
1988
+ return 122;
1989
+ case 57:
1990
+ return 123;
1991
+ case 58:
1992
+ return 124;
1993
+ case 59:
1994
+ return 78;
1995
+ case 60:
1996
+ return 105;
1997
+ case 61:
1998
+ return 111;
1999
+ case 62:
2000
+ return 46;
2001
+ case 63:
2002
+ return 60;
2003
+ case 64:
2004
+ return 44;
2005
+ case 65:
2006
+ return 8;
2007
+ case 66:
2008
+ return 106;
2009
+ case 67:
2010
+ return 115;
2011
+ case 68:
2012
+ this.popState();
2013
+ return 77;
2014
+ case 69:
2015
+ this.pushState("edgeText");
2016
+ return 75;
2017
+ case 70:
2018
+ return 119;
2019
+ case 71:
2020
+ this.popState();
2021
+ return 77;
2022
+ case 72:
2023
+ this.pushState("thickEdgeText");
2024
+ return 75;
2025
+ case 73:
2026
+ return 119;
2027
+ case 74:
2028
+ this.popState();
2029
+ return 77;
2030
+ case 75:
2031
+ this.pushState("dottedEdgeText");
2032
+ return 75;
2033
+ case 76:
2034
+ return 119;
2035
+ case 77:
2036
+ return 77;
2037
+ case 78:
2038
+ this.popState();
2039
+ return 53;
2040
+ case 79:
2041
+ return "TEXT";
2042
+ case 80:
2043
+ this.pushState("ellipseText");
2044
+ return 52;
2045
+ case 81:
2046
+ this.popState();
2047
+ return 55;
2048
+ case 82:
2049
+ this.pushState("text");
2050
+ return 54;
2051
+ case 83:
2052
+ this.popState();
2053
+ return 57;
2054
+ case 84:
2055
+ this.pushState("text");
2056
+ return 56;
2057
+ case 85:
2058
+ return 58;
2059
+ case 86:
2060
+ this.pushState("text");
2061
+ return 67;
2062
+ case 87:
2063
+ this.popState();
2064
+ return 64;
2065
+ case 88:
2066
+ this.pushState("text");
2067
+ return 63;
2068
+ case 89:
2069
+ this.popState();
2070
+ return 49;
2071
+ case 90:
2072
+ this.pushState("text");
2073
+ return 48;
2074
+ case 91:
2075
+ this.popState();
2076
+ return 69;
2077
+ case 92:
2078
+ this.popState();
2079
+ return 71;
2080
+ case 93:
2081
+ return 117;
2082
+ case 94:
2083
+ this.pushState("trapText");
2084
+ return 68;
2085
+ case 95:
2086
+ this.pushState("trapText");
2087
+ return 70;
2088
+ case 96:
2089
+ return 118;
2090
+ case 97:
2091
+ return 67;
2092
+ case 98:
2093
+ return 90;
2094
+ case 99:
2095
+ return "SEP";
2096
+ case 100:
2097
+ return 89;
2098
+ case 101:
2099
+ return 115;
2100
+ case 102:
2101
+ return 111;
2102
+ case 103:
2103
+ return 44;
2104
+ case 104:
2105
+ return 109;
2106
+ case 105:
2107
+ return 114;
2108
+ case 106:
2109
+ return 116;
2110
+ case 107:
2111
+ this.popState();
2112
+ return 62;
2113
+ case 108:
2114
+ this.pushState("text");
2115
+ return 62;
2116
+ case 109:
2117
+ this.popState();
2118
+ return 51;
2119
+ case 110:
2120
+ this.pushState("text");
2121
+ return 50;
2122
+ case 111:
2123
+ this.popState();
2124
+ return 31;
2125
+ case 112:
2126
+ this.pushState("text");
2127
+ return 29;
2128
+ case 113:
2129
+ this.popState();
2130
+ return 66;
2131
+ case 114:
2132
+ this.pushState("text");
2133
+ return 65;
2134
+ case 115:
2135
+ return "TEXT";
2136
+ case 116:
2137
+ return "QUOTE";
2138
+ case 117:
2139
+ return 9;
2140
+ case 118:
2141
+ return 10;
2142
+ case 119:
2143
+ return 11;
2144
+ }
2145
+ }, "anonymous"),
2146
+ 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]*)/, /^(?:flowchart-elk\b)/, /^(?:graph\b)/, /^(?:flowchart\b)/, /^(?:subgraph\b)/, /^(?:end\b\s*)/, /^(?:_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]*)/, /^(?:[^\s\"]+@(?=[^\{\"]))/, /^(?:[0-9]+)/, /^(?:#)/, /^(?::::)/, /^(?::)/, /^(?:&)/, /^(?:;)/, /^(?:,)/, /^(?:\*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:[^-]|-(?!-)+)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:[^=]|=(?!))/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:[^\.]|\.(?!))/, /^(?:\s*~~[\~]+\s*)/, /^(?:[-/\)][\)])/, /^(?:[^\(\)\[\]\{\}]|!\)+)/, /^(?:\(-)/, /^(?:\]\))/, /^(?:\(\[)/, /^(?:\]\])/, /^(?:\[\[)/, /^(?:\[\|)/, /^(?:>)/, /^(?:\)\])/, /^(?:\[\()/, /^(?:\)\)\))/, /^(?:\(\(\()/, /^(?:[\\(?=\])][\]])/, /^(?:\/(?=\])\])/, /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/, /^(?:\[\/)/, /^(?:\[\\)/, /^(?:<)/, /^(?:>)/, /^(?:\^)/, /^(?:\\\|)/, /^(?:v\b)/, /^(?:\*)/, /^(?:#)/, /^(?:&)/, /^(?:([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])/, /^(?:\|)/, /^(?:\|)/, /^(?:\))/, /^(?:\()/, /^(?:\])/, /^(?:\[)/, /^(?:(\}))/, /^(?:\{)/, /^(?:[^\[\]\(\)\{\}\|\"]+)/, /^(?:")/, /^(?:(\r?\n)+)/, /^(?:\s)/, /^(?:$)/],
2147
+ conditions: { "shapeDataEndBracket": { "rules": [21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "shapeDataStr": { "rules": [9, 10, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "shapeData": { "rules": [8, 11, 12, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "callbackargs": { "rules": [17, 18, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "callbackname": { "rules": [14, 15, 16, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "href": { "rules": [21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "click": { "rules": [21, 24, 33, 34, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "dottedEdgeText": { "rules": [21, 24, 74, 76, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "thickEdgeText": { "rules": [21, 24, 71, 73, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "edgeText": { "rules": [21, 24, 68, 70, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "trapText": { "rules": [21, 24, 77, 80, 82, 84, 88, 90, 91, 92, 93, 94, 95, 108, 110, 112, 114], "inclusive": false }, "ellipseText": { "rules": [21, 24, 77, 78, 79, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "text": { "rules": [21, 24, 77, 80, 81, 82, 83, 84, 87, 88, 89, 90, 94, 95, 107, 108, 109, 110, 111, 112, 113, 114, 115], "inclusive": false }, "vertex": { "rules": [21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "dir": { "rules": [21, 24, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "acc_descr_multiline": { "rules": [5, 6, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "acc_descr": { "rules": [3, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "acc_title": { "rules": [1, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "md_string": { "rules": [19, 20, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "string": { "rules": [21, 22, 23, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], "inclusive": false }, "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, 71, 72, 74, 75, 77, 80, 82, 84, 85, 86, 88, 90, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 108, 110, 112, 114, 116, 117, 118, 119], "inclusive": true } }
2148
+ };
2149
+ return lexer2;
2150
+ }();
2151
+ parser2.lexer = lexer;
2152
+ function Parser() {
2153
+ this.yy = {};
2154
+ }
2155
+ __name(Parser, "Parser");
2156
+ Parser.prototype = parser2;
2157
+ parser2.Parser = Parser;
2158
+ return new Parser();
2159
+ }();
2160
+ parser.parser = parser;
2161
+ var flow_default = parser;
2162
+ var newParser = Object.assign({}, flow_default);
2163
+ newParser.parse = (src) => {
2164
+ const newSrc = src.replace(/}\s*\n/g, "}\n");
2165
+ return flow_default.parse(newSrc);
2166
+ };
2167
+ var flowParser_default = newParser;
2168
+ var fade = /* @__PURE__ */ __name((color, opacity) => {
2169
+ const channel2 = channel;
2170
+ const r = channel2(color, "r");
2171
+ const g = channel2(color, "g");
2172
+ const b = channel2(color, "b");
2173
+ return rgba$1(r, g, b, opacity);
2174
+ }, "fade");
2175
+ var getStyles = /* @__PURE__ */ __name((options) => `.label {
2176
+ font-family: ${options.fontFamily};
2177
+ color: ${options.nodeTextColor || options.textColor};
2178
+ }
2179
+ .cluster-label text {
2180
+ fill: ${options.titleColor};
2181
+ }
2182
+ .cluster-label span {
2183
+ color: ${options.titleColor};
2184
+ }
2185
+ .cluster-label span p {
2186
+ background-color: transparent;
2187
+ }
2188
+
2189
+ .label text,span {
2190
+ fill: ${options.nodeTextColor || options.textColor};
2191
+ color: ${options.nodeTextColor || options.textColor};
2192
+ }
2193
+
2194
+ .node rect,
2195
+ .node circle,
2196
+ .node ellipse,
2197
+ .node polygon,
2198
+ .node path {
2199
+ fill: ${options.mainBkg};
2200
+ stroke: ${options.nodeBorder};
2201
+ stroke-width: 1px;
2202
+ }
2203
+ .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
2204
+ text-anchor: middle;
2205
+ }
2206
+ // .flowchart-label .text-outer-tspan {
2207
+ // text-anchor: middle;
2208
+ // }
2209
+ // .flowchart-label .text-inner-tspan {
2210
+ // text-anchor: start;
2211
+ // }
2212
+
2213
+ .node .katex path {
2214
+ fill: #000;
2215
+ stroke: #000;
2216
+ stroke-width: 1px;
2217
+ }
2218
+
2219
+ .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
2220
+ text-align: center;
2221
+ }
2222
+ .node.clickable {
2223
+ cursor: pointer;
2224
+ }
2225
+
2226
+
2227
+ .root .anchor path {
2228
+ fill: ${options.lineColor} !important;
2229
+ stroke-width: 0;
2230
+ stroke: ${options.lineColor};
2231
+ }
2232
+
2233
+ .arrowheadPath {
2234
+ fill: ${options.arrowheadColor};
2235
+ }
2236
+
2237
+ .edgePath .path {
2238
+ stroke: ${options.lineColor};
2239
+ stroke-width: 2.0px;
2240
+ }
2241
+
2242
+ .flowchart-link {
2243
+ stroke: ${options.lineColor};
2244
+ fill: none;
2245
+ }
2246
+
2247
+ .edgeLabel {
2248
+ background-color: ${options.edgeLabelBackground};
2249
+ p {
2250
+ background-color: ${options.edgeLabelBackground};
2251
+ }
2252
+ rect {
2253
+ opacity: 0.5;
2254
+ background-color: ${options.edgeLabelBackground};
2255
+ fill: ${options.edgeLabelBackground};
2256
+ }
2257
+ text-align: center;
2258
+ }
2259
+
2260
+ /* For html labels only */
2261
+ .labelBkg {
2262
+ background-color: ${fade(options.edgeLabelBackground, 0.5)};
2263
+ // background-color:
2264
+ }
2265
+
2266
+ .cluster rect {
2267
+ fill: ${options.clusterBkg};
2268
+ stroke: ${options.clusterBorder};
2269
+ stroke-width: 1px;
2270
+ }
2271
+
2272
+ .cluster text {
2273
+ fill: ${options.titleColor};
2274
+ }
2275
+
2276
+ .cluster span {
2277
+ color: ${options.titleColor};
2278
+ }
2279
+ /* .cluster div {
2280
+ color: ${options.titleColor};
2281
+ } */
2282
+
2283
+ div.mermaidTooltip {
2284
+ position: absolute;
2285
+ text-align: center;
2286
+ max-width: 200px;
2287
+ padding: 2px;
2288
+ font-family: ${options.fontFamily};
2289
+ font-size: 12px;
2290
+ background: ${options.tertiaryColor};
2291
+ border: 1px solid ${options.border2};
2292
+ border-radius: 2px;
2293
+ pointer-events: none;
2294
+ z-index: 100;
2295
+ }
2296
+
2297
+ .flowchartTitleText {
2298
+ text-anchor: middle;
2299
+ font-size: 18px;
2300
+ fill: ${options.textColor};
2301
+ }
2302
+
2303
+ rect.text {
2304
+ fill: none;
2305
+ stroke-width: 0;
2306
+ }
2307
+
2308
+ .icon-shape, .image-shape {
2309
+ background-color: ${options.edgeLabelBackground};
2310
+ p {
2311
+ background-color: ${options.edgeLabelBackground};
2312
+ padding: 2px;
2313
+ }
2314
+ rect {
2315
+ opacity: 0.5;
2316
+ background-color: ${options.edgeLabelBackground};
2317
+ fill: ${options.edgeLabelBackground};
2318
+ }
2319
+ text-align: center;
2320
+ }
2321
+ ${getIconStyles()}
2322
+ `, "getStyles");
2323
+ var styles_default = getStyles;
2324
+ var diagram = {
2325
+ parser: flowParser_default,
2326
+ get db() {
2327
+ return new FlowDB();
2328
+ },
2329
+ renderer: flowRenderer_v3_unified_default,
2330
+ styles: styles_default,
2331
+ init: /* @__PURE__ */ __name((cnf) => {
2332
+ if (!cnf.flowchart) {
2333
+ cnf.flowchart = {};
2334
+ }
2335
+ if (cnf.layout) {
2336
+ setConfig2({ layout: cnf.layout });
2337
+ }
2338
+ cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
2339
+ setConfig2({ flowchart: { arrowMarkerAbsolute: cnf.arrowMarkerAbsolute } });
2340
+ }, "init")
2341
+ };
2342
+
2343
+ export { diagram };