@wzh-/ai-chat-example 1.0.0 → 1.0.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 (809) hide show
  1. package/dist/_basePickBy-CkZky1V-.js +135 -0
  2. package/dist/_baseUniq-f11MNaXe.js +573 -0
  3. package/dist/abap--jVlqvLx.js +2 -0
  4. package/dist/actionscript-3-N1AoJtTA.js +2 -0
  5. package/dist/ada-CYGINLea.js +2 -0
  6. package/dist/ai-chat-example.css +3 -0
  7. package/dist/andromeeda-CvsZnG9k.js +2 -0
  8. package/dist/angular-html-C5vmpet2.js +14 -0
  9. package/dist/angular-html-CLTv4jM9.js +5 -0
  10. package/dist/angular-ts-BKqJWrwt.js +19 -0
  11. package/dist/apache-D6X-_dyJ.js +2 -0
  12. package/dist/apex-C7VgAgAE.js +2 -0
  13. package/dist/apl-BcJs32yU.js +15 -0
  14. package/dist/applescript-DN64Su6U.js +2 -0
  15. package/dist/ara-Dm1jHrgg.js +2 -0
  16. package/dist/arc-Dh_0vvHo.js +78 -0
  17. package/dist/architecture-U656AL7Q-BqUSHYp0.js +8 -0
  18. package/dist/architectureDiagram-VXUJARFQ-BQvEdgpc.js +4053 -0
  19. package/dist/array-CkdOJbdT.js +5 -0
  20. package/dist/asciidoc-BpqtqRF5.js +2 -0
  21. package/dist/asm-DUGlKYIq.js +2 -0
  22. package/dist/astro-q-huTQEP.js +16 -0
  23. package/dist/aurora-x-DwOih-un.js +2 -0
  24. package/dist/awk-DcnVbJrN.js +2 -0
  25. package/dist/ayu-dark-Bd-89MKE.js +2 -0
  26. package/dist/ballerina-BQVdQd9X.js +2 -0
  27. package/dist/bash-DI_p7w58.js +2 -0
  28. package/dist/bat-juB1J52r.js +2 -0
  29. package/dist/beancount-ThxIlRc3.js +2 -0
  30. package/dist/berry-qC18BfC_.js +2 -0
  31. package/dist/bibtex-CahMDY_0.js +2 -0
  32. package/dist/bicep-CHLBKS47.js +2 -0
  33. package/dist/blade-Ckff5WJQ.js +19 -0
  34. package/dist/blockDiagram-VD42YOAC-DKkDshq3.js +3013 -0
  35. package/dist/bsl-BTNab0FD.js +3 -0
  36. package/dist/c-BYDGkYzS.js +2 -0
  37. package/dist/c-CX6yudYR.js +2 -0
  38. package/dist/c4Diagram-YG6GDRKO-KsGqOrVB.js +2955 -0
  39. package/dist/cadence-DA5J9-Di.js +2 -0
  40. package/dist/cairo-DUZgbTPW.js +3 -0
  41. package/dist/catppuccin-frappe-CE3kxG1f.js +2 -0
  42. package/dist/catppuccin-latte-DW2FXeIv.js +2 -0
  43. package/dist/catppuccin-macchiato-CD5qjRSF.js +2 -0
  44. package/dist/catppuccin-mocha-BYwVJvjI.js +2 -0
  45. package/dist/channel-BrxVk5HC.js +3 -0
  46. package/dist/chunk-4BX2VUAB-BGxl5VGr.js +6 -0
  47. package/dist/chunk-55IACEB6-CDMD5yu1.js +6 -0
  48. package/dist/chunk-76Q3JFCE-Db4Lkmow.js +19 -0
  49. package/dist/chunk-ABZYJK2D-BZvlc6Ej.js +2515 -0
  50. package/dist/chunk-ATLVNIR6-C3g7rsIT.js +65 -0
  51. package/dist/chunk-B4BG7PRW-Dx-bGI1r.js +3108 -0
  52. package/dist/chunk-CVBHYZKI-DxEBlSK7.js +10 -0
  53. package/dist/chunk-DI55MBZ5-CCWuZnfW.js +1994 -0
  54. package/dist/chunk-DNh5sLlG.js +18 -0
  55. package/dist/chunk-EXTU4WIE-BjMX7pAs.js +7 -0
  56. package/dist/chunk-FMBD7UC4-Dj3Ok4Bk.js +3 -0
  57. package/dist/chunk-FPAJGGOC-nWbO3e1v.js +12252 -0
  58. package/dist/chunk-FWNWRKHM-CjcwRw2u.js +56 -0
  59. package/dist/chunk-HN2XXSSU-Lv4Ef0co.js +74 -0
  60. package/dist/chunk-JA3XYJ7Z-Dhh1_u_p.js +463 -0
  61. package/dist/chunk-JZLCHNYA-vrb_Ucuc.js +4861 -0
  62. package/dist/chunk-LBM3YZW2-D8lrIfGo.js +19 -0
  63. package/dist/chunk-LHMN2FUI-DLQ0i8hl.js +19 -0
  64. package/dist/chunk-MI3HLSF2-Dy6F9XgR.js +1140 -0
  65. package/dist/chunk-N4CR4FBY-BdaGxHlZ.js +39 -0
  66. package/dist/chunk-O7ZBX7Z2-D8Yaukr5.js +26 -0
  67. package/dist/chunk-QN33PNHL-DnPw7tni.js +23 -0
  68. package/dist/chunk-QXUST7PY-D9mGQ-UP.js +486 -0
  69. package/dist/chunk-QZHKN3VN-ClanGuXA.js +11 -0
  70. package/dist/chunk-S3R3BYOJ-DHTsHczu.js +1074 -0
  71. package/dist/chunk-S6J4BHB3-8RrHs9bD.js +19 -0
  72. package/dist/chunk-T53DSG4Q-C2BDA_QX.js +24 -0
  73. package/dist/chunk-TZMSLE5B-F4nHm7N1.js +55 -0
  74. package/dist/chunk-XAJISQIX-Bz7ki7DY.js +135 -0
  75. package/dist/clarity-CsFOkG3c.js +2 -0
  76. package/dist/classDiagram-2ON5EDUG-C_ZEMlKu.js +33 -0
  77. package/dist/classDiagram-v2-WZHVMYZB-BHb5nZOM.js +33 -0
  78. package/dist/clojure-u1TZmmdQ.js +2 -0
  79. package/dist/clone-BRioDvRr.js +7 -0
  80. package/dist/cmake-CA3Lfsq7.js +2 -0
  81. package/dist/cmake-K1k8HMYR.js +2 -0
  82. package/dist/cobol-DhzLzJib.js +10 -0
  83. package/dist/codeowners-l4eSxhtA.js +2 -0
  84. package/dist/codeql-5CeQaktT.js +2 -0
  85. package/dist/coffee-P21KTKMu.js +3 -0
  86. package/dist/common-lisp-BVttGbYJ.js +2 -0
  87. package/dist/coq-CZjzQDnb.js +2 -0
  88. package/dist/cose-bilkent-S5V4N54A-Dy-do3hl.js +2250 -0
  89. package/dist/cpp-C6JyDxZu.js +16 -0
  90. package/dist/cpp-GAIEvywS.js +6 -0
  91. package/dist/crystal-BJfcoGS4.js +16 -0
  92. package/dist/csharp-BbUwciq4.js +2 -0
  93. package/dist/csharp-JE-9ns6W.js +2 -0
  94. package/dist/css-Crp0iO_o.js +2 -0
  95. package/dist/css-Cy-fypCV.js +2 -0
  96. package/dist/csv-DJ7xG4PY.js +2 -0
  97. package/dist/csv-DtT8LmMi.js +2 -0
  98. package/dist/cue-BwjaQTCz.js +2 -0
  99. package/dist/cypher-B7e06enY.js +2 -0
  100. package/dist/cytoscape.esm-CWqS6puh.js +18100 -0
  101. package/dist/d-q60wkid4.js +2 -0
  102. package/dist/dagre-6UL2VRFP-B38_sZWh.js +298 -0
  103. package/dist/dagre-DtvXp3zQ.js +1395 -0
  104. package/dist/dark-plus-D_fA88xf.js +2 -0
  105. package/dist/dart-DjkWvBgr.js +2 -0
  106. package/dist/dax-lueLIZQI.js +2 -0
  107. package/dist/defaultLocale-CoJOMwPq.js +177 -0
  108. package/dist/desktop-DaphHKD5.js +2 -0
  109. package/dist/diagram-PSM6KHXK-D6swsG-y.js +497 -0
  110. package/dist/diagram-QEK2KX5R-B7Hi0LAL.js +226 -0
  111. package/dist/diagram-S2PKOQOG-DLx7PlpM.js +144 -0
  112. package/dist/diff-COB48_rb.js +2 -0
  113. package/dist/diff-DlXnqUMK.js +2 -0
  114. package/dist/dist-CrnZo_23.js +49 -0
  115. package/dist/docker-DZKmuwpA.js +2 -0
  116. package/dist/dotenv-hmNahw-8.js +2 -0
  117. package/dist/dracula-ddM3a7au.js +2 -0
  118. package/dist/dracula-soft-vfA-TA_S.js +2 -0
  119. package/dist/dream-maker-Cxa2a8FY.js +2 -0
  120. package/dist/edge-Dm7HQa9N.js +12 -0
  121. package/dist/elixir-BkvHyCNd.js +5 -0
  122. package/dist/elm-rz9wTSrn.js +4 -0
  123. package/dist/emacs-lisp-w5URnZPZ.js +2 -0
  124. package/dist/erDiagram-Q2GNP2WA-B67FD8rh.js +1603 -0
  125. package/dist/erb-DyrwQYVz.js +25 -0
  126. package/dist/erlang-DLFKZs5N.js +3 -0
  127. package/dist/everforest-dark-DAPtv4yI.js +2 -0
  128. package/dist/everforest-light-nQzYm8GO.js +2 -0
  129. package/dist/fennel-CJDNJZTU.js +2 -0
  130. package/dist/fish-BkYaLI4-.js +2 -0
  131. package/dist/flowDiagram-NV44I4VS-DHXgrdJY.js +4132 -0
  132. package/dist/fluent-DShra35H.js +2 -0
  133. package/dist/fortran-fixed-form-SzB0QY3n.js +3 -0
  134. package/dist/fortran-free-form-CgbOAJnm.js +2 -0
  135. package/dist/fortran-free-form-Js8JrQQE.js +2 -0
  136. package/dist/fsharp-CtWO0jvL.js +3 -0
  137. package/dist/ganttDiagram-JELNMOA3-CGIqBt1P.js +3009 -0
  138. package/dist/gdresource-CgyXKpe4.js +8 -0
  139. package/dist/gdscript-DnurdQnh.js +2 -0
  140. package/dist/gdscript-STdmRKv-.js +2 -0
  141. package/dist/gdshader-Bs2s6cSB.js +2 -0
  142. package/dist/gdshader-YiVaPq6D.js +2 -0
  143. package/dist/genie-BppkvzZC.js +2 -0
  144. package/dist/gherkin-Bp4zdWMb.js +2 -0
  145. package/dist/git-commit--0GGwZNa.js +3 -0
  146. package/dist/git-rebase-orw-bSIZ.js +3 -0
  147. package/dist/gitGraph-F6HP7TQM-CH5XLm5Z.js +8 -0
  148. package/dist/gitGraphDiagram-NY62KEGX-Cq8AbOhM.js +634 -0
  149. package/dist/github-dark-CMN1tZPn.js +2 -0
  150. package/dist/github-dark-DxCf_Qaz.js +2 -0
  151. package/dist/github-dark-default-DVCJut02.js +2 -0
  152. package/dist/github-dark-dimmed-DXu9oDqW.js +2 -0
  153. package/dist/github-dark-high-contrast-BBZdE-mX.js +2 -0
  154. package/dist/github-light-CfdX7txK.js +2 -0
  155. package/dist/github-light-Y8g-VxKq.js +2 -0
  156. package/dist/github-light-default-BNGkGE--.js +2 -0
  157. package/dist/github-light-high-contrast-DiSIc-nG.js +2 -0
  158. package/dist/gleam-Lw0tKp8T.js +2 -0
  159. package/dist/glimmer-js-C6E6wJv0.js +12 -0
  160. package/dist/glimmer-ts-C6GgTGNO.js +12 -0
  161. package/dist/glsl-D8_YBRKT.js +3 -0
  162. package/dist/glsl-rwn_QCp2.js +3 -0
  163. package/dist/gnuplot-BeA3etmO.js +2 -0
  164. package/dist/go-BhDDN9y4.js +2 -0
  165. package/dist/go-xfE7BrfS.js +2 -0
  166. package/dist/graphlib-BZdVmxO6.js +223 -0
  167. package/dist/graphql-DQHhbQm2.js +6 -0
  168. package/dist/graphql-DoBLseH6.js +12 -0
  169. package/dist/groovy-C5-mv4io.js +2 -0
  170. package/dist/gruvbox-dark-hard-CULu6kVy.js +2 -0
  171. package/dist/gruvbox-dark-medium-BJM4uQXO.js +2 -0
  172. package/dist/gruvbox-dark-soft-CVaORUwa.js +2 -0
  173. package/dist/gruvbox-light-hard-B-WJAGLa.js +2 -0
  174. package/dist/gruvbox-light-medium-jc8FWnuC.js +2 -0
  175. package/dist/gruvbox-light-soft-CmvYQK92.js +2 -0
  176. package/dist/hack-DEAxoi73.js +10 -0
  177. package/dist/haml-BG2d3iX4.js +4 -0
  178. package/dist/haml-mA656Lm7.js +8 -0
  179. package/dist/handlebars-CO5xAxJ3.js +12 -0
  180. package/dist/haskell-Hsexh2aP.js +2 -0
  181. package/dist/haxe-BJVSeYxy.js +2 -0
  182. package/dist/haxe-CD_Rs3P5.js +2 -0
  183. package/dist/hcl-D098sJ_J.js +2 -0
  184. package/dist/hjson-BwXHX5r6.js +2 -0
  185. package/dist/hlsl-B0pnUVYG.js +2 -0
  186. package/dist/hlsl-Dt9-unql.js +2 -0
  187. package/dist/houston-C7hMWO_I.js +2 -0
  188. package/dist/html-DFCxtjnd.js +4 -0
  189. package/dist/html-DKSj3FeM.js +8 -0
  190. package/dist/html-derivative-BCRkrTcD.js +5 -0
  191. package/dist/html-derivative-C-vidKoA.js +3 -0
  192. package/dist/http-CYP1tEDW.js +17 -0
  193. package/dist/hurl-BJexUSKz.js +15 -0
  194. package/dist/hxml-XfuSEjM-.js +3 -0
  195. package/dist/hy-DPQ04rHt.js +2 -0
  196. package/dist/imba-Bgu2n5Mo.js +2 -0
  197. package/dist/info-NVLQJR56-hEN1y0nS.js +8 -0
  198. package/dist/infoDiagram-WHAUD3N6-btPwHXxp.js +31 -0
  199. package/dist/ini-g9mZnyrk.js +2 -0
  200. package/dist/init-CBay3kgM.js +13 -0
  201. package/dist/isArrayLikeObject-Dz_TDfw0.js +459 -0
  202. package/dist/isEmpty-CCym_WUL.js +32 -0
  203. package/dist/java-CUbPyze1.js +2 -0
  204. package/dist/java-DIOGgqAD.js +2 -0
  205. package/dist/javascript-9-JPeKdm.js +2 -0
  206. package/dist/javascript-De1qhUaI.js +2 -0
  207. package/dist/jinja-CVFxFRh6.js +5 -0
  208. package/dist/jison-0X6LppGq.js +3 -0
  209. package/dist/journeyDiagram-XKPGCS4Q-3OxtBx3I.js +884 -0
  210. package/dist/js/chat-example.es.js +39220 -0
  211. package/dist/js/chat-example.umd.js +2989 -0
  212. package/dist/json-DJtYdWQK.js +2 -0
  213. package/dist/json-fcFpRaf3.js +2 -0
  214. package/dist/json5-CPTZJOmf.js +2 -0
  215. package/dist/jsonc-CYrayg0k.js +2 -0
  216. package/dist/jsonl-Bsv7LjJ3.js +2 -0
  217. package/dist/jsonnet-B7LkHJxg.js +2 -0
  218. package/dist/jssm-BopKGZKg.js +2 -0
  219. package/dist/jsx-Bf3Nk9Di.js +2 -0
  220. package/dist/jsx-qo0JNHpZ.js +2 -0
  221. package/dist/julia-ChGs-n_c.js +17 -0
  222. package/dist/kanagawa-dragon-CSqqi78I.js +2 -0
  223. package/dist/kanagawa-lotus-l2vgoxpH.js +2 -0
  224. package/dist/kanagawa-wave-BWhFcnLj.js +2 -0
  225. package/dist/kanban-definition-3W4ZIXB7-zdtnJaXz.js +971 -0
  226. package/dist/katex-BcWXJDMd.js +22097 -0
  227. package/dist/katex-K1dsczyg.js +2 -0
  228. package/dist/kdl-BbokxoZ9.js +2 -0
  229. package/dist/kotlin-3dXKmwyJ.js +2 -0
  230. package/dist/kusto-Os6_yHEz.js +2 -0
  231. package/dist/laserwave-8RcN1zf8.js +2 -0
  232. package/dist/latex-BnWZlY4q.js +4 -0
  233. package/dist/lean--0Wr4Cy4.js +2 -0
  234. package/dist/less-B4ybD-7s.js +2 -0
  235. package/dist/less-Cb54jO7u.js +2 -0
  236. package/dist/light-plus-CP_iZQDF.js +2 -0
  237. package/dist/line-EpckC7pZ.js +30 -0
  238. package/dist/linear-DjVN4o4U.js +250 -0
  239. package/dist/liquid-pc5Mduds.js +12 -0
  240. package/dist/llvm-ILH_SX7E.js +2 -0
  241. package/dist/log-DwO_GzA0.js +2 -0
  242. package/dist/logo-B4FeRowR.js +2 -0
  243. package/dist/lua-0TqNbT8C.js +3 -0
  244. package/dist/lua-6pXga3HV.js +3 -0
  245. package/dist/luau-DsUEyLJN.js +2 -0
  246. package/dist/make-p6NYc19I.js +2 -0
  247. package/dist/markdown-CCRtgC0b.js +2 -0
  248. package/dist/markdown-LaaQ4Eua.js +2 -0
  249. package/dist/marked.esm-D9xINNve.js +1384 -0
  250. package/dist/marko-D8uDUUEs.js +12 -0
  251. package/dist/material-theme-D__z84-n.js +2 -0
  252. package/dist/material-theme-darker-CWC5BoMv.js +2 -0
  253. package/dist/material-theme-lighter-BJrV5b2o.js +2 -0
  254. package/dist/material-theme-ocean-DYpMfDiX.js +2 -0
  255. package/dist/material-theme-palenight-3Ix3iI7Q.js +2 -0
  256. package/dist/math-CJAnbPum.js +8 -0
  257. package/dist/matlab-CL0oMGfq.js +2 -0
  258. package/dist/mdc-Ki3KnB5U.js +13 -0
  259. package/dist/mdx-BTufVkNP.js +2 -0
  260. package/dist/mermaid-FCjIh1A7.js +2 -0
  261. package/dist/mermaid-parser.core-DVXSGppp.js +48 -0
  262. package/dist/mermaid.core-Ra1JFCui.js +895 -0
  263. package/dist/min-dark-B4KRMcN3.js +2 -0
  264. package/dist/min-light-BQVJODr0.js +2 -0
  265. package/dist/mindmap-definition-VGOIOE7T-CRPO52xV.js +960 -0
  266. package/dist/mipsasm-Cn6AQ4lM.js +2 -0
  267. package/dist/mojo-C9IiQhp4.js +2 -0
  268. package/dist/monokai-vDwMMRi4.js +2 -0
  269. package/dist/move-BdizQ4_I.js +2 -0
  270. package/dist/narrat-BP2kx-u2.js +2 -0
  271. package/dist/nextflow-CyRmCGOe.js +2 -0
  272. package/dist/nginx-B46vdQ9n.js +4 -0
  273. package/dist/night-owl-DmjkOa5g.js +2 -0
  274. package/dist/nim-BxQNx10D.js +19 -0
  275. package/dist/nix-qPhlsqZI.js +2 -0
  276. package/dist/nord-sjxbvIbg.js +2 -0
  277. package/dist/nushell-puA-1bCW.js +2 -0
  278. package/dist/objective-c-D-qDLNy5.js +2 -0
  279. package/dist/objective-cpp-CFxSAM6p.js +2 -0
  280. package/dist/ocaml-CsLB7SWJ.js +2 -0
  281. package/dist/one-dark-pro-BHH-VjFD.js +2 -0
  282. package/dist/one-light-BqE6erWk.js +2 -0
  283. package/dist/openscad-DJCIQfnJ.js +2 -0
  284. package/dist/ordinal-CYQpsShT.js +61 -0
  285. package/dist/packet-BFZMPI3H-Bnlch4JI.js +8 -0
  286. package/dist/pascal-CPg9_ZFN.js +2 -0
  287. package/dist/path-esxOUfAH.js +79 -0
  288. package/dist/perl-D1bDaADZ.js +15 -0
  289. package/dist/php-BX51InqL.js +9 -0
  290. package/dist/php-D5tmU8Cr.js +16 -0
  291. package/dist/pie-7BOR55EZ-B9egLHl5.js +8 -0
  292. package/dist/pieDiagram-ADFJNKIX-CKSgB7fx.js +172 -0
  293. package/dist/pkl-BQQ96hvn.js +2 -0
  294. package/dist/plastic-BrNUBdSC.js +2 -0
  295. package/dist/plsql-Co7Bxe7U.js +2 -0
  296. package/dist/po-BqzJCro7.js +2 -0
  297. package/dist/poimandres-C_AK8TlO.js +2 -0
  298. package/dist/polar-CtdYIPEe.js +2 -0
  299. package/dist/postcss-ChqFKb46.js +2 -0
  300. package/dist/postcss-ainQkoyY.js +2 -0
  301. package/dist/powerquery-CDugc1w-.js +2 -0
  302. package/dist/powershell-j5X-IA59.js +2 -0
  303. package/dist/prisma-Cyl7YhUw.js +2 -0
  304. package/dist/prolog-DELKnUYf.js +2 -0
  305. package/dist/proto-C4A_gDBY.js +2 -0
  306. package/dist/pug-BcLlS7Yb.js +10 -0
  307. package/dist/puppet-DFC9LyFj.js +2 -0
  308. package/dist/purescript-eECq7_n2.js +2 -0
  309. package/dist/python-BhdCuCld.js +2 -0
  310. package/dist/python-CuBu5pyY.js +2 -0
  311. package/dist/qml-MD0NqqIl.js +3 -0
  312. package/dist/qmldir-BpJII-Ze.js +2 -0
  313. package/dist/qss-CpMcemMc.js +2 -0
  314. package/dist/quadrantDiagram-AYHSOK5B-BHzqivzD.js +1970 -0
  315. package/dist/r-CQeHOO4c.js +2 -0
  316. package/dist/r-D90zdkbN.js +2 -0
  317. package/dist/racket-COTs6Zfi.js +2 -0
  318. package/dist/radar-NHE76QYJ-DdALhlvV.js +8 -0
  319. package/dist/raku-DfOtwMUC.js +2 -0
  320. package/dist/razor-eRwFWsjJ.js +10 -0
  321. package/dist/red-CWGFZsim.js +2 -0
  322. package/dist/reg-BX5DwoEA.js +2 -0
  323. package/dist/regexp-Ca0eDBa2.js +2 -0
  324. package/dist/regexp-Cap8fK_2.js +2 -0
  325. package/dist/rel-CzXuLSk3.js +2 -0
  326. package/dist/requirementDiagram-UZGBJVZJ-Darhwvir.js +2194 -0
  327. package/dist/riscv-DnFIiqh3.js +2 -0
  328. package/dist/rose-pine-C4v2iQVe.js +2 -0
  329. package/dist/rose-pine-dawn-D5sdDB-J.js +2 -0
  330. package/dist/rose-pine-moon-2Vb7bLLO.js +2 -0
  331. package/dist/rosmsg-D02ul3fM.js +2 -0
  332. package/dist/rst-DFmSdXGd.js +34 -0
  333. package/dist/ruby-BAEFomR0.js +20 -0
  334. package/dist/ruby-DDMUvAvC.js +28 -0
  335. package/dist/rust-s3hBbfQg.js +2 -0
  336. package/dist/sankeyDiagram-TZEHDZUN-KiSvBN_C.js +884 -0
  337. package/dist/sas-TjtLSnOp.js +3 -0
  338. package/dist/sass-v3HeJ9Fl.js +2 -0
  339. package/dist/scala-BTIBM_Vn.js +2 -0
  340. package/dist/scheme-C4NQMf7a.js +2 -0
  341. package/dist/scss-C-bthdG1.js +3 -0
  342. package/dist/scss-D-6-mg-f.js +3 -0
  343. package/dist/sdbl-BA3l-JrH.js +2 -0
  344. package/dist/sdbl-gc7zIVWR.js +2 -0
  345. package/dist/sequenceDiagram-WL72ISMW-D2Mo7Vtj.js +3560 -0
  346. package/dist/shaderlab-BRlB5fpk.js +3 -0
  347. package/dist/shellscript-BQ8mKDAF.js +2 -0
  348. package/dist/shellscript-DZa_4vvb.js +2 -0
  349. package/dist/shellsession-CIlmlgbR.js +3 -0
  350. package/dist/slack-dark-DhXO5DWr.js +2 -0
  351. package/dist/slack-ochin-aAGl4PPH.js +2 -0
  352. package/dist/smalltalk-DbwVUw_i.js +2 -0
  353. package/dist/snazzy-light-B4S5mk83.js +2 -0
  354. package/dist/solarized-dark-Dexkq3Fm.js +2 -0
  355. package/dist/solarized-light-I-Bzy8UC.js +2 -0
  356. package/dist/solidity-SMk0TJDc.js +2 -0
  357. package/dist/soy-DwSCrzEF.js +5 -0
  358. package/dist/sparql-D9kVSpEx.js +3 -0
  359. package/dist/splunk-DXXu2r7r.js +2 -0
  360. package/dist/sql-Bi3LyNPb.js +2 -0
  361. package/dist/sql-D0eLHBiZ.js +2 -0
  362. package/dist/src-B-SBGd0A.js +1975 -0
  363. package/dist/ssh-config-DyVcFTfI.js +2 -0
  364. package/dist/stata-DkEObyNb.js +3 -0
  365. package/dist/stateDiagram-FKZM4ZOC-BRQN2Npg.js +224 -0
  366. package/dist/stateDiagram-v2-4FDKWEC3-CeeIKiFG.js +32 -0
  367. package/dist/stylus-BKTuFHcX.js +2 -0
  368. package/dist/stylus-DEHALDNh.js +2 -0
  369. package/dist/svelte-KFuclcR6.js +12 -0
  370. package/dist/swift-Cenptrnf.js +2 -0
  371. package/dist/synthwave-84-BRkDuVE-.js +2 -0
  372. package/dist/system-verilog-Cvgukx4v.js +2 -0
  373. package/dist/systemd-BepdslJQ.js +2 -0
  374. package/dist/talonscript-Q98m-VXh.js +2 -0
  375. package/dist/tasl-uebrX98X.js +2 -0
  376. package/dist/tcl-B1Ny4XFf.js +2 -0
  377. package/dist/templ-C5mtYbb_.js +10 -0
  378. package/dist/terraform-0mA5ERTe.js +2 -0
  379. package/dist/tex-B4uYy1vC.js +3 -0
  380. package/dist/tex-BoVFa1ir.js +3 -0
  381. package/dist/timeline-definition-IT6M3QCI-CSwH0Pnx.js +830 -0
  382. package/dist/tokyo-night-D0mU3-u8.js +2 -0
  383. package/dist/toml-vMAjra5M.js +2 -0
  384. package/dist/treemap-KMMF4GRG-COjpj6-C.js +8 -0
  385. package/dist/ts-tags-DRdTXGhb.js +38 -0
  386. package/dist/tsv-BnmbkntZ.js +2 -0
  387. package/dist/tsx-BaaPsUbd.js +2 -0
  388. package/dist/tsx-C0w0w5St.js +2 -0
  389. package/dist/turtle-4UWi_qX6.js +2 -0
  390. package/dist/turtle-BRmolh-6.js +2 -0
  391. package/dist/twig-cEhAbahS.js +33 -0
  392. package/dist/typescript-4YtK2JL4.js +2 -0
  393. package/dist/typescript-CmJ8D0yY.js +2 -0
  394. package/dist/typespec-CILw3zvZ.js +2 -0
  395. package/dist/typst-CLajFw6q.js +2 -0
  396. package/dist/v-MJV2RQvK.js +2 -0
  397. package/dist/vala-Dc1TiHw1.js +2 -0
  398. package/dist/vb-CoJdNmGs.js +2 -0
  399. package/dist/verilog-C7aVmiO0.js +2 -0
  400. package/dist/vesper-Cvcqyrim.js +2 -0
  401. package/dist/vhdl-CYQvzAG1.js +2 -0
  402. package/dist/viml-DOyjiDI8.js +2 -0
  403. package/dist/vitesse-black-CUYJaB5b.js +2 -0
  404. package/dist/vitesse-dark-BNlzDJ1Z.js +2 -0
  405. package/dist/vitesse-light-JU98KqVa.js +2 -0
  406. package/dist/vue-B3C4YeUK.js +8 -0
  407. package/dist/vue-DMpjAWNv.js +20 -0
  408. package/dist/vue-html-BIZN50ug.js +13 -0
  409. package/dist/vue-vine-DxezWcjL.js +22 -0
  410. package/dist/vyper-JU_r7Ch6.js +2 -0
  411. package/dist/wasm-DJ1S--fN.js +2 -0
  412. package/dist/wasm-eLFiAU8u.js +2 -0
  413. package/dist/wenyan-CqkzmyWz.js +2 -0
  414. package/dist/wgsl-gV62iTnF.js +2 -0
  415. package/dist/wikitext-BfUl8La4.js +2 -0
  416. package/dist/wit-kp_bCf2U.js +2 -0
  417. package/dist/wolfram-aPsN9AKt.js +2 -0
  418. package/dist/xml-BglBgo29.js +3 -0
  419. package/dist/xml-BxRdgEAX.js +3 -0
  420. package/dist/xsl-Cni90e0k.js +4 -0
  421. package/dist/xychartDiagram-PRI3JC2R-CGXFYn39.js +2022 -0
  422. package/dist/yaml-DQRfaSRo.js +2 -0
  423. package/dist/yaml-P2kjOPvW.js +2 -0
  424. package/dist/zenscript-BuY4FX-t.js +2 -0
  425. package/dist/zig-CGDGjytz.js +2 -0
  426. package/package.json +10 -6
  427. package/.vscode/extensions.json +0 -3
  428. package/.vscode/settings.json +0 -6
  429. package/auto-imports.d.ts +0 -73
  430. package/components.d.ts +0 -312
  431. package/components.json +0 -21
  432. package/index.html +0 -13
  433. package/src/App.vue +0 -68
  434. package/src/components/ChatConversation/ChatConversation.vue +0 -97
  435. package/src/components/ChatConversation/index.ts +0 -1
  436. package/src/components/ChatPromptInputProvider/ChatPromptInputProvider.vue +0 -47
  437. package/src/components/ChatPromptInputProvider/index.ts +0 -1
  438. package/src/components/ai-elements/artifact/Artifact.vue +0 -23
  439. package/src/components/ai-elements/artifact/ArtifactAction.vue +0 -72
  440. package/src/components/ai-elements/artifact/ArtifactActions.vue +0 -19
  441. package/src/components/ai-elements/artifact/ArtifactClose.vue +0 -39
  442. package/src/components/ai-elements/artifact/ArtifactContent.vue +0 -20
  443. package/src/components/ai-elements/artifact/ArtifactDescription.vue +0 -20
  444. package/src/components/ai-elements/artifact/ArtifactHeader.vue +0 -23
  445. package/src/components/ai-elements/artifact/ArtifactTitle.vue +0 -20
  446. package/src/components/ai-elements/artifact/index.ts +0 -8
  447. package/src/components/ai-elements/canvas/Canvas.vue +0 -37
  448. package/src/components/ai-elements/canvas/index.ts +0 -1
  449. package/src/components/ai-elements/chain-of-thought/ChainOfThought.vue +0 -41
  450. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtContent.vue +0 -32
  451. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtHeader.vue +0 -43
  452. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtImage.vue +0 -25
  453. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResult.vue +0 -24
  454. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResults.vue +0 -17
  455. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtStep.vue +0 -54
  456. package/src/components/ai-elements/chain-of-thought/context.ts +0 -22
  457. package/src/components/ai-elements/chain-of-thought/index.ts +0 -7
  458. package/src/components/ai-elements/checkpoint/Checkpoint.vue +0 -19
  459. package/src/components/ai-elements/checkpoint/CheckpointIcon.vue +0 -19
  460. package/src/components/ai-elements/checkpoint/CheckpointTrigger.vue +0 -46
  461. package/src/components/ai-elements/checkpoint/index.ts +0 -3
  462. package/src/components/ai-elements/code-block/CodeBlock.vue +0 -84
  463. package/src/components/ai-elements/code-block/CodeBlockCopyButton.vue +0 -84
  464. package/src/components/ai-elements/code-block/context.ts +0 -7
  465. package/src/components/ai-elements/code-block/index.ts +0 -2
  466. package/src/components/ai-elements/code-block/utils.ts +0 -46
  467. package/src/components/ai-elements/confirmation/Confirmation.vue +0 -30
  468. package/src/components/ai-elements/confirmation/ConfirmationAccepted.vue +0 -18
  469. package/src/components/ai-elements/confirmation/ConfirmationAction.vue +0 -9
  470. package/src/components/ai-elements/confirmation/ConfirmationActions.vue +0 -23
  471. package/src/components/ai-elements/confirmation/ConfirmationRejected.vue +0 -18
  472. package/src/components/ai-elements/confirmation/ConfirmationRequest.vue +0 -11
  473. package/src/components/ai-elements/confirmation/ConfirmationTitle.vue +0 -18
  474. package/src/components/ai-elements/confirmation/context.ts +0 -46
  475. package/src/components/ai-elements/confirmation/index.ts +0 -7
  476. package/src/components/ai-elements/connection/Connection.vue +0 -36
  477. package/src/components/ai-elements/connection/index.ts +0 -1
  478. package/src/components/ai-elements/context/Context.vue +0 -29
  479. package/src/components/ai-elements/context/ContextCacheUsage.vue +0 -45
  480. package/src/components/ai-elements/context/ContextContent.vue +0 -20
  481. package/src/components/ai-elements/context/ContextContentBody.vue +0 -14
  482. package/src/components/ai-elements/context/ContextContentFooter.vue +0 -49
  483. package/src/components/ai-elements/context/ContextContentHeader.vue +0 -49
  484. package/src/components/ai-elements/context/ContextIcon.vue +0 -62
  485. package/src/components/ai-elements/context/ContextInputUsage.vue +0 -46
  486. package/src/components/ai-elements/context/ContextOutputUsage.vue +0 -45
  487. package/src/components/ai-elements/context/ContextReasoningUsage.vue +0 -48
  488. package/src/components/ai-elements/context/ContextTrigger.vue +0 -32
  489. package/src/components/ai-elements/context/TokensWithCost.vue +0 -25
  490. package/src/components/ai-elements/context/context.ts +0 -23
  491. package/src/components/ai-elements/context/index.ts +0 -12
  492. package/src/components/ai-elements/controls/Controls.vue +0 -25
  493. package/src/components/ai-elements/controls/index.ts +0 -1
  494. package/src/components/ai-elements/conversation/Conversation.vue +0 -37
  495. package/src/components/ai-elements/conversation/ConversationContent.vue +0 -21
  496. package/src/components/ai-elements/conversation/ConversationEmptyState.vue +0 -40
  497. package/src/components/ai-elements/conversation/ConversationScrollButton.vue +0 -34
  498. package/src/components/ai-elements/conversation/index.ts +0 -4
  499. package/src/components/ai-elements/edge/Animated.vue +0 -91
  500. package/src/components/ai-elements/edge/Temporary.vue +0 -28
  501. package/src/components/ai-elements/edge/index.ts +0 -2
  502. package/src/components/ai-elements/image/Image.vue +0 -29
  503. package/src/components/ai-elements/image/index.ts +0 -1
  504. package/src/components/ai-elements/inline-citation/InlineCitation.vue +0 -14
  505. package/src/components/ai-elements/inline-citation/InlineCitationCard.vue +0 -17
  506. package/src/components/ai-elements/inline-citation/InlineCitationCardBody.vue +0 -15
  507. package/src/components/ai-elements/inline-citation/InlineCitationCardTrigger.vue +0 -35
  508. package/src/components/ai-elements/inline-citation/InlineCitationCarousel.vue +0 -15
  509. package/src/components/ai-elements/inline-citation/InlineCitationCarouselContent.vue +0 -9
  510. package/src/components/ai-elements/inline-citation/InlineCitationCarouselHeader.vue +0 -16
  511. package/src/components/ai-elements/inline-citation/InlineCitationCarouselIndex.vue +0 -46
  512. package/src/components/ai-elements/inline-citation/InlineCitationCarouselItem.vue +0 -15
  513. package/src/components/ai-elements/inline-citation/InlineCitationCarouselNext.vue +0 -23
  514. package/src/components/ai-elements/inline-citation/InlineCitationCarouselPrev.vue +0 -23
  515. package/src/components/ai-elements/inline-citation/InlineCitationQuote.vue +0 -16
  516. package/src/components/ai-elements/inline-citation/InlineCitationSource.vue +0 -26
  517. package/src/components/ai-elements/inline-citation/InlineCitationText.vue +0 -14
  518. package/src/components/ai-elements/inline-citation/index.ts +0 -14
  519. package/src/components/ai-elements/loader/Loader.vue +0 -23
  520. package/src/components/ai-elements/loader/LoaderIcon.vue +0 -38
  521. package/src/components/ai-elements/loader/index.ts +0 -2
  522. package/src/components/ai-elements/message/Message.vue +0 -27
  523. package/src/components/ai-elements/message/MessageAction.vue +0 -45
  524. package/src/components/ai-elements/message/MessageActions.vue +0 -19
  525. package/src/components/ai-elements/message/MessageAttachment.vue +0 -87
  526. package/src/components/ai-elements/message/MessageAttachments.vue +0 -25
  527. package/src/components/ai-elements/message/MessageAvatar.vue +0 -22
  528. package/src/components/ai-elements/message/MessageBranch.vue +0 -66
  529. package/src/components/ai-elements/message/MessageBranchContent.vue +0 -51
  530. package/src/components/ai-elements/message/MessageBranchNext.vue +0 -23
  531. package/src/components/ai-elements/message/MessageBranchPage.vue +0 -28
  532. package/src/components/ai-elements/message/MessageBranchPrevious.vue +0 -23
  533. package/src/components/ai-elements/message/MessageBranchSelector.vue +0 -23
  534. package/src/components/ai-elements/message/MessageContent.vue +0 -26
  535. package/src/components/ai-elements/message/MessageResponse.vue +0 -42
  536. package/src/components/ai-elements/message/MessageToolbar.vue +0 -24
  537. package/src/components/ai-elements/message/context.ts +0 -22
  538. package/src/components/ai-elements/message/index.ts +0 -15
  539. package/src/components/ai-elements/model-selector/ModelSelector.vue +0 -9
  540. package/src/components/ai-elements/model-selector/ModelSelectorContent.vue +0 -29
  541. package/src/components/ai-elements/model-selector/ModelSelectorDialog.vue +0 -9
  542. package/src/components/ai-elements/model-selector/ModelSelectorEmpty.vue +0 -9
  543. package/src/components/ai-elements/model-selector/ModelSelectorGroup.vue +0 -9
  544. package/src/components/ai-elements/model-selector/ModelSelectorInput.vue +0 -18
  545. package/src/components/ai-elements/model-selector/ModelSelectorItem.vue +0 -10
  546. package/src/components/ai-elements/model-selector/ModelSelectorList.vue +0 -9
  547. package/src/components/ai-elements/model-selector/ModelSelectorLogo.vue +0 -22
  548. package/src/components/ai-elements/model-selector/ModelSelectorLogoGroup.vue +0 -24
  549. package/src/components/ai-elements/model-selector/ModelSelectorName.vue +0 -19
  550. package/src/components/ai-elements/model-selector/ModelSelectorSeparator.vue +0 -7
  551. package/src/components/ai-elements/model-selector/ModelSelectorShortcut.vue +0 -9
  552. package/src/components/ai-elements/model-selector/ModelSelectorTrigger.vue +0 -9
  553. package/src/components/ai-elements/model-selector/index.ts +0 -14
  554. package/src/components/ai-elements/node/Node.vue +0 -31
  555. package/src/components/ai-elements/node/NodeAction.vue +0 -9
  556. package/src/components/ai-elements/node/NodeContent.vue +0 -15
  557. package/src/components/ai-elements/node/NodeDescription.vue +0 -9
  558. package/src/components/ai-elements/node/NodeFooter.vue +0 -15
  559. package/src/components/ai-elements/node/NodeHeader.vue +0 -15
  560. package/src/components/ai-elements/node/NodeTitle.vue +0 -9
  561. package/src/components/ai-elements/node/index.ts +0 -7
  562. package/src/components/ai-elements/open-in-chat/OpenIn.vue +0 -20
  563. package/src/components/ai-elements/open-in-chat/OpenInContent.vue +0 -25
  564. package/src/components/ai-elements/open-in-chat/OpenInItemLink.vue +0 -30
  565. package/src/components/ai-elements/open-in-chat/OpenInTrigger.vue +0 -16
  566. package/src/components/ai-elements/open-in-chat/context.ts +0 -20
  567. package/src/components/ai-elements/open-in-chat/index.ts +0 -9
  568. package/src/components/ai-elements/open-in-chat/providers/icons/ChatGPT.vue +0 -13
  569. package/src/components/ai-elements/open-in-chat/providers/icons/Claude.vue +0 -15
  570. package/src/components/ai-elements/open-in-chat/providers/icons/Cursor.vue +0 -13
  571. package/src/components/ai-elements/open-in-chat/providers/icons/Github.vue +0 -8
  572. package/src/components/ai-elements/open-in-chat/providers/icons/Scira.vue +0 -58
  573. package/src/components/ai-elements/open-in-chat/providers/icons/V0.vue +0 -15
  574. package/src/components/ai-elements/open-in-chat/providers/icons/index.ts +0 -6
  575. package/src/components/ai-elements/open-in-chat/providers/index.ts +0 -69
  576. package/src/components/ai-elements/open-in-chat/providers/items/OpenInChatGPT.vue +0 -18
  577. package/src/components/ai-elements/open-in-chat/providers/items/OpenInClaude.vue +0 -18
  578. package/src/components/ai-elements/open-in-chat/providers/items/OpenInCursor.vue +0 -18
  579. package/src/components/ai-elements/open-in-chat/providers/items/OpenInScira.vue +0 -18
  580. package/src/components/ai-elements/open-in-chat/providers/items/OpenInT3.vue +0 -18
  581. package/src/components/ai-elements/open-in-chat/providers/items/OpenInv0.vue +0 -18
  582. package/src/components/ai-elements/panel/Panel.vue +0 -28
  583. package/src/components/ai-elements/panel/index.ts +0 -1
  584. package/src/components/ai-elements/plan/Plan.vue +0 -32
  585. package/src/components/ai-elements/plan/PlanAction.vue +0 -9
  586. package/src/components/ai-elements/plan/PlanContent.vue +0 -12
  587. package/src/components/ai-elements/plan/PlanDescription.vue +0 -25
  588. package/src/components/ai-elements/plan/PlanFooter.vue +0 -9
  589. package/src/components/ai-elements/plan/PlanHeader.vue +0 -18
  590. package/src/components/ai-elements/plan/PlanTitle.vue +0 -16
  591. package/src/components/ai-elements/plan/PlanTrigger.vue +0 -25
  592. package/src/components/ai-elements/plan/context.ts +0 -20
  593. package/src/components/ai-elements/plan/index.ts +0 -8
  594. package/src/components/ai-elements/prompt-input/PromptInput.vue +0 -116
  595. package/src/components/ai-elements/prompt-input/PromptInputActionAddAttachments.vue +0 -22
  596. package/src/components/ai-elements/prompt-input/PromptInputActionMenu.vue +0 -15
  597. package/src/components/ai-elements/prompt-input/PromptInputActionMenuContent.vue +0 -21
  598. package/src/components/ai-elements/prompt-input/PromptInputActionMenuItem.vue +0 -19
  599. package/src/components/ai-elements/prompt-input/PromptInputActionMenuTrigger.vue +0 -22
  600. package/src/components/ai-elements/prompt-input/PromptInputAttachment.vue +0 -94
  601. package/src/components/ai-elements/prompt-input/PromptInputAttachments.vue +0 -22
  602. package/src/components/ai-elements/prompt-input/PromptInputBody.vue +0 -12
  603. package/src/components/ai-elements/prompt-input/PromptInputButton.vue +0 -56
  604. package/src/components/ai-elements/prompt-input/PromptInputCommand.vue +0 -19
  605. package/src/components/ai-elements/prompt-input/PromptInputCommandEmpty.vue +0 -19
  606. package/src/components/ai-elements/prompt-input/PromptInputCommandGroup.vue +0 -19
  607. package/src/components/ai-elements/prompt-input/PromptInputCommandInput.vue +0 -17
  608. package/src/components/ai-elements/prompt-input/PromptInputCommandItem.vue +0 -19
  609. package/src/components/ai-elements/prompt-input/PromptInputCommandList.vue +0 -17
  610. package/src/components/ai-elements/prompt-input/PromptInputCommandSeparator.vue +0 -16
  611. package/src/components/ai-elements/prompt-input/PromptInputFooter.vue +0 -23
  612. package/src/components/ai-elements/prompt-input/PromptInputHeader.vue +0 -23
  613. package/src/components/ai-elements/prompt-input/PromptInputHoverCard.vue +0 -23
  614. package/src/components/ai-elements/prompt-input/PromptInputHoverCardContent.vue +0 -19
  615. package/src/components/ai-elements/prompt-input/PromptInputHoverCardTrigger.vue +0 -15
  616. package/src/components/ai-elements/prompt-input/PromptInputProvider.vue +0 -32
  617. package/src/components/ai-elements/prompt-input/PromptInputSelect.vue +0 -15
  618. package/src/components/ai-elements/prompt-input/PromptInputSelectContent.vue +0 -19
  619. package/src/components/ai-elements/prompt-input/PromptInputSelectItem.vue +0 -19
  620. package/src/components/ai-elements/prompt-input/PromptInputSelectTrigger.vue +0 -26
  621. package/src/components/ai-elements/prompt-input/PromptInputSelectValue.vue +0 -19
  622. package/src/components/ai-elements/prompt-input/PromptInputSpeechButton.vue +0 -137
  623. package/src/components/ai-elements/prompt-input/PromptInputSubmit.vue +0 -60
  624. package/src/components/ai-elements/prompt-input/PromptInputTab.vue +0 -16
  625. package/src/components/ai-elements/prompt-input/PromptInputTabBody.vue +0 -16
  626. package/src/components/ai-elements/prompt-input/PromptInputTabItem.vue +0 -16
  627. package/src/components/ai-elements/prompt-input/PromptInputTabLabel.vue +0 -16
  628. package/src/components/ai-elements/prompt-input/PromptInputTabsList.vue +0 -16
  629. package/src/components/ai-elements/prompt-input/PromptInputTextarea.vue +0 -78
  630. package/src/components/ai-elements/prompt-input/PromptInputTools.vue +0 -12
  631. package/src/components/ai-elements/prompt-input/context.ts +0 -223
  632. package/src/components/ai-elements/prompt-input/index.ts +0 -39
  633. package/src/components/ai-elements/prompt-input/types.ts +0 -28
  634. package/src/components/ai-elements/queue/Queue.vue +0 -21
  635. package/src/components/ai-elements/queue/QueueItem.vue +0 -21
  636. package/src/components/ai-elements/queue/QueueItemAction.vue +0 -25
  637. package/src/components/ai-elements/queue/QueueItemActions.vue +0 -14
  638. package/src/components/ai-elements/queue/QueueItemAttachment.vue +0 -14
  639. package/src/components/ai-elements/queue/QueueItemContent.vue +0 -32
  640. package/src/components/ai-elements/queue/QueueItemDescription.vue +0 -32
  641. package/src/components/ai-elements/queue/QueueItemFile.vue +0 -25
  642. package/src/components/ai-elements/queue/QueueItemImage.vue +0 -18
  643. package/src/components/ai-elements/queue/QueueItemIndicator.vue +0 -30
  644. package/src/components/ai-elements/queue/QueueList.vue +0 -22
  645. package/src/components/ai-elements/queue/QueueSection.vue +0 -26
  646. package/src/components/ai-elements/queue/QueueSectionContent.vue +0 -15
  647. package/src/components/ai-elements/queue/QueueSectionLabel.vue +0 -26
  648. package/src/components/ai-elements/queue/QueueSectionTrigger.vue +0 -25
  649. package/src/components/ai-elements/queue/index.ts +0 -15
  650. package/src/components/ai-elements/reasoning/Reasoning.vue +0 -94
  651. package/src/components/ai-elements/reasoning/ReasoningContent.vue +0 -41
  652. package/src/components/ai-elements/reasoning/ReasoningTrigger.vue +0 -61
  653. package/src/components/ai-elements/reasoning/context.ts +0 -19
  654. package/src/components/ai-elements/reasoning/index.ts +0 -3
  655. package/src/components/ai-elements/shimmer/Shimmer.vue +0 -69
  656. package/src/components/ai-elements/shimmer/index.ts +0 -1
  657. package/src/components/ai-elements/sources/Source.vue +0 -26
  658. package/src/components/ai-elements/sources/Sources.vue +0 -17
  659. package/src/components/ai-elements/sources/SourcesContent.vue +0 -23
  660. package/src/components/ai-elements/sources/SourcesTrigger.vue +0 -24
  661. package/src/components/ai-elements/sources/index.ts +0 -4
  662. package/src/components/ai-elements/suggestion/Suggestion.vue +0 -38
  663. package/src/components/ai-elements/suggestion/Suggestions.vue +0 -20
  664. package/src/components/ai-elements/suggestion/index.ts +0 -2
  665. package/src/components/ai-elements/task/Task.vue +0 -32
  666. package/src/components/ai-elements/task/TaskContent.vue +0 -27
  667. package/src/components/ai-elements/task/TaskItem.vue +0 -16
  668. package/src/components/ai-elements/task/TaskItemFile.vue +0 -18
  669. package/src/components/ai-elements/task/TaskTrigger.vue +0 -33
  670. package/src/components/ai-elements/task/index.ts +0 -5
  671. package/src/components/ai-elements/tool/Tool.vue +0 -18
  672. package/src/components/ai-elements/tool/ToolContent.vue +0 -23
  673. package/src/components/ai-elements/tool/ToolHeader.vue +0 -38
  674. package/src/components/ai-elements/tool/ToolInput.vue +0 -32
  675. package/src/components/ai-elements/tool/ToolOutput.vue +0 -69
  676. package/src/components/ai-elements/tool/ToolStatusBadge.vue +0 -63
  677. package/src/components/ai-elements/tool/index.ts +0 -5
  678. package/src/components/ai-elements/toolbar/Toolbar.vue +0 -32
  679. package/src/components/ai-elements/toolbar/index.ts +0 -1
  680. package/src/components/ai-elements/web-preview/WebPreview.vue +0 -60
  681. package/src/components/ai-elements/web-preview/WebPreviewBody.vue +0 -34
  682. package/src/components/ai-elements/web-preview/WebPreviewConsole.vue +0 -92
  683. package/src/components/ai-elements/web-preview/WebPreviewNavigation.vue +0 -21
  684. package/src/components/ai-elements/web-preview/WebPreviewNavigationButton.vue +0 -45
  685. package/src/components/ai-elements/web-preview/WebPreviewUrl.vue +0 -43
  686. package/src/components/ai-elements/web-preview/context.ts +0 -25
  687. package/src/components/ai-elements/web-preview/index.ts +0 -7
  688. package/src/components/ui/alert/Alert.vue +0 -21
  689. package/src/components/ui/alert/AlertDescription.vue +0 -17
  690. package/src/components/ui/alert/AlertTitle.vue +0 -17
  691. package/src/components/ui/alert/index.ts +0 -24
  692. package/src/components/ui/avatar/Avatar.vue +0 -18
  693. package/src/components/ui/avatar/AvatarFallback.vue +0 -21
  694. package/src/components/ui/avatar/AvatarImage.vue +0 -16
  695. package/src/components/ui/avatar/index.ts +0 -3
  696. package/src/components/ui/badge/Badge.vue +0 -26
  697. package/src/components/ui/badge/index.ts +0 -26
  698. package/src/components/ui/button/Button.vue +0 -29
  699. package/src/components/ui/button/index.ts +0 -38
  700. package/src/components/ui/button-group/ButtonGroup.vue +0 -22
  701. package/src/components/ui/button-group/ButtonGroupSeparator.vue +0 -24
  702. package/src/components/ui/button-group/ButtonGroupText.vue +0 -29
  703. package/src/components/ui/button-group/index.ts +0 -25
  704. package/src/components/ui/card/Card.vue +0 -22
  705. package/src/components/ui/card/CardAction.vue +0 -17
  706. package/src/components/ui/card/CardContent.vue +0 -17
  707. package/src/components/ui/card/CardDescription.vue +0 -17
  708. package/src/components/ui/card/CardFooter.vue +0 -17
  709. package/src/components/ui/card/CardHeader.vue +0 -17
  710. package/src/components/ui/card/CardTitle.vue +0 -17
  711. package/src/components/ui/card/index.ts +0 -7
  712. package/src/components/ui/carousel/Carousel.vue +0 -53
  713. package/src/components/ui/carousel/CarouselContent.vue +0 -33
  714. package/src/components/ui/carousel/CarouselItem.vue +0 -24
  715. package/src/components/ui/carousel/CarouselNext.vue +0 -41
  716. package/src/components/ui/carousel/CarouselPrevious.vue +0 -41
  717. package/src/components/ui/carousel/index.ts +0 -10
  718. package/src/components/ui/carousel/interface.ts +0 -26
  719. package/src/components/ui/carousel/useCarousel.ts +0 -56
  720. package/src/components/ui/collapsible/Collapsible.vue +0 -19
  721. package/src/components/ui/collapsible/CollapsibleContent.vue +0 -15
  722. package/src/components/ui/collapsible/CollapsibleTrigger.vue +0 -15
  723. package/src/components/ui/collapsible/index.ts +0 -3
  724. package/src/components/ui/command/Command.vue +0 -87
  725. package/src/components/ui/command/CommandDialog.vue +0 -31
  726. package/src/components/ui/command/CommandEmpty.vue +0 -27
  727. package/src/components/ui/command/CommandGroup.vue +0 -45
  728. package/src/components/ui/command/CommandInput.vue +0 -39
  729. package/src/components/ui/command/CommandItem.vue +0 -76
  730. package/src/components/ui/command/CommandList.vue +0 -25
  731. package/src/components/ui/command/CommandSeparator.vue +0 -21
  732. package/src/components/ui/command/CommandShortcut.vue +0 -17
  733. package/src/components/ui/command/index.ts +0 -25
  734. package/src/components/ui/dialog/Dialog.vue +0 -19
  735. package/src/components/ui/dialog/DialogClose.vue +0 -15
  736. package/src/components/ui/dialog/DialogContent.vue +0 -53
  737. package/src/components/ui/dialog/DialogDescription.vue +0 -23
  738. package/src/components/ui/dialog/DialogFooter.vue +0 -15
  739. package/src/components/ui/dialog/DialogHeader.vue +0 -17
  740. package/src/components/ui/dialog/DialogOverlay.vue +0 -21
  741. package/src/components/ui/dialog/DialogScrollContent.vue +0 -59
  742. package/src/components/ui/dialog/DialogTitle.vue +0 -23
  743. package/src/components/ui/dialog/DialogTrigger.vue +0 -15
  744. package/src/components/ui/dialog/index.ts +0 -10
  745. package/src/components/ui/dropdown-menu/DropdownMenu.vue +0 -19
  746. package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +0 -39
  747. package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +0 -39
  748. package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +0 -15
  749. package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +0 -31
  750. package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +0 -23
  751. package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +0 -21
  752. package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +0 -40
  753. package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +0 -23
  754. package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +0 -17
  755. package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +0 -18
  756. package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +0 -27
  757. package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +0 -30
  758. package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +0 -17
  759. package/src/components/ui/dropdown-menu/index.ts +0 -16
  760. package/src/components/ui/hover-card/HoverCard.vue +0 -19
  761. package/src/components/ui/hover-card/HoverCardContent.vue +0 -43
  762. package/src/components/ui/hover-card/HoverCardTrigger.vue +0 -15
  763. package/src/components/ui/hover-card/index.ts +0 -3
  764. package/src/components/ui/input/Input.vue +0 -33
  765. package/src/components/ui/input/index.ts +0 -1
  766. package/src/components/ui/input-group/InputGroup.vue +0 -37
  767. package/src/components/ui/input-group/InputGroupAddon.vue +0 -36
  768. package/src/components/ui/input-group/InputGroupButton.vue +0 -21
  769. package/src/components/ui/input-group/InputGroupInput.vue +0 -19
  770. package/src/components/ui/input-group/InputGroupText.vue +0 -19
  771. package/src/components/ui/input-group/InputGroupTextarea.vue +0 -19
  772. package/src/components/ui/input-group/index.ts +0 -59
  773. package/src/components/ui/progress/Progress.vue +0 -38
  774. package/src/components/ui/progress/index.ts +0 -1
  775. package/src/components/ui/scroll-area/ScrollArea.vue +0 -33
  776. package/src/components/ui/scroll-area/ScrollBar.vue +0 -32
  777. package/src/components/ui/scroll-area/index.ts +0 -2
  778. package/src/components/ui/select/Select.vue +0 -19
  779. package/src/components/ui/select/SelectContent.vue +0 -51
  780. package/src/components/ui/select/SelectGroup.vue +0 -15
  781. package/src/components/ui/select/SelectItem.vue +0 -44
  782. package/src/components/ui/select/SelectItemText.vue +0 -15
  783. package/src/components/ui/select/SelectLabel.vue +0 -17
  784. package/src/components/ui/select/SelectScrollDownButton.vue +0 -26
  785. package/src/components/ui/select/SelectScrollUpButton.vue +0 -26
  786. package/src/components/ui/select/SelectSeparator.vue +0 -19
  787. package/src/components/ui/select/SelectTrigger.vue +0 -33
  788. package/src/components/ui/select/SelectValue.vue +0 -15
  789. package/src/components/ui/select/index.ts +0 -11
  790. package/src/components/ui/separator/Separator.vue +0 -29
  791. package/src/components/ui/separator/index.ts +0 -1
  792. package/src/components/ui/textarea/Textarea.vue +0 -28
  793. package/src/components/ui/textarea/index.ts +0 -1
  794. package/src/components/ui/tooltip/Tooltip.vue +0 -19
  795. package/src/components/ui/tooltip/TooltipContent.vue +0 -34
  796. package/src/components/ui/tooltip/TooltipProvider.vue +0 -14
  797. package/src/components/ui/tooltip/TooltipTrigger.vue +0 -15
  798. package/src/components/ui/tooltip/index.ts +0 -4
  799. package/src/composables/useChat.ts +0 -46
  800. package/src/index.ts +0 -3
  801. package/src/lib/utils.ts +0 -7
  802. package/src/main.ts +0 -5
  803. package/src/request/index.ts +0 -41
  804. package/src/style.css +0 -120
  805. package/tsconfig.app.json +0 -25
  806. package/tsconfig.json +0 -13
  807. package/tsconfig.node.json +0 -26
  808. package/vite.config.ts +0 -26
  809. /package/{public → dist}/vite.svg +0 -0
@@ -0,0 +1,4132 @@
1
+ import "./marked.esm-D9xINNve.js";
2
+ import "./isArrayLikeObject-Dz_TDfw0.js";
3
+ import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-DHTsHczu.js";
4
+ import { g as log, h as __name, p as select_default } from "./src-B-SBGd0A.js";
5
+ import { B as setAccTitle, C as getDiagramTitle, H as setConfig2, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, et as rgba_default, s as common_default, u as defaultConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-BZvlc6Ej.js";
6
+ import { t as channel_default } from "./channel-BrxVk5HC.js";
7
+ import "./path-esxOUfAH.js";
8
+ import "./math-CJAnbPum.js";
9
+ import "./array-CkdOJbdT.js";
10
+ import "./line-EpckC7pZ.js";
11
+ import "./dist-CrnZo_23.js";
12
+ import "./chunk-JA3XYJ7Z-Dhh1_u_p.js";
13
+ import { t as getIconStyles } from "./chunk-FMBD7UC4-Dj3Ok4Bk.js";
14
+ import "./chunk-HN2XXSSU-Lv4Ef0co.js";
15
+ import "./chunk-CVBHYZKI-DxEBlSK7.js";
16
+ import { t as getDiagramElement } from "./chunk-55IACEB6-CDMD5yu1.js";
17
+ import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-DnPw7tni.js";
18
+ import "./chunk-ATLVNIR6-C3g7rsIT.js";
19
+ import { o as isValidShape } from "./chunk-JZLCHNYA-vrb_Ucuc.js";
20
+ import "./chunk-QXUST7PY-D9mGQ-UP.js";
21
+ import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-BdaGxHlZ.js";
22
+ import { n as load, t as JSON_SCHEMA } from "./chunk-MI3HLSF2-Dy6F9XgR.js";
23
+ var MERMAID_DOM_ID_PREFIX = "flowchart-", FlowDB = class {
24
+ constructor() {
25
+ this.vertexCounter = 0, this.config = getConfig2(), this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = setAccTitle, this.setAccDescription = setAccDescription, this.setDiagramTitle = setDiagramTitle, this.getAccTitle = getAccTitle, this.getAccDescription = getAccDescription, this.getDiagramTitle = getDiagramTitle, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
26
+ }
27
+ static #e = __name(this, "FlowDB");
28
+ sanitizeText(e) {
29
+ return common_default.sanitizeText(e, this.config);
30
+ }
31
+ lookUpDomId(e) {
32
+ for (let t of this.vertices.values()) if (t.id === e) return t.domId;
33
+ return e;
34
+ }
35
+ addVertex(e, t, n, r, i, a, o = {}, s) {
36
+ if (!e || e.trim().length === 0) return;
37
+ let c;
38
+ if (s !== void 0) {
39
+ let e;
40
+ e = s.includes("\n") ? s + "\n" : "{\n" + s + "\n}", c = load(e, { schema: JSON_SCHEMA });
41
+ }
42
+ let l = this.edges.find((t) => t.id === e);
43
+ if (l) {
44
+ let e = c;
45
+ e?.animate !== void 0 && (l.animate = e.animate), e?.animation !== void 0 && (l.animation = e.animation), e?.curve !== void 0 && (l.interpolate = e.curve);
46
+ return;
47
+ }
48
+ let u, d = this.vertices.get(e);
49
+ if (d === void 0 && (d = {
50
+ id: e,
51
+ labelType: "text",
52
+ domId: MERMAID_DOM_ID_PREFIX + e + "-" + this.vertexCounter,
53
+ styles: [],
54
+ classes: []
55
+ }, this.vertices.set(e, d)), this.vertexCounter++, t === void 0 ? d.text === void 0 && (d.text = e) : (this.config = getConfig2(), u = this.sanitizeText(t.text.trim()), d.labelType = t.type, u.startsWith("\"") && u.endsWith("\"") && (u = u.substring(1, u.length - 1)), d.text = u), n !== void 0 && (d.type = n), r?.forEach((e) => {
56
+ d.styles.push(e);
57
+ }), i?.forEach((e) => {
58
+ d.classes.push(e);
59
+ }), a !== void 0 && (d.dir = a), d.props === void 0 ? d.props = o : o !== void 0 && Object.assign(d.props, o), c !== void 0) {
60
+ if (c.shape) {
61
+ if (c.shape !== c.shape.toLowerCase() || c.shape.includes("_")) throw Error(`No such shape: ${c.shape}. Shape names should be lowercase.`);
62
+ if (!isValidShape(c.shape)) throw Error(`No such shape: ${c.shape}.`);
63
+ d.type = c?.shape;
64
+ }
65
+ c?.label && (d.text = c?.label), c?.icon && (d.icon = c?.icon, !c.label?.trim() && d.text === e && (d.text = "")), c?.form && (d.form = c?.form), c?.pos && (d.pos = c?.pos), c?.img && (d.img = c?.img, !c.label?.trim() && d.text === e && (d.text = "")), c?.constraint && (d.constraint = c.constraint), c.w && (d.assetWidth = Number(c.w)), c.h && (d.assetHeight = Number(c.h));
66
+ }
67
+ }
68
+ addSingleLink(t, r, i, a) {
69
+ let o = {
70
+ start: t,
71
+ end: r,
72
+ type: void 0,
73
+ text: "",
74
+ labelType: "text",
75
+ classes: [],
76
+ isUserDefinedId: !1,
77
+ interpolate: this.edges.defaultInterpolate
78
+ };
79
+ log.info("abc78 Got edge...", o);
80
+ let s = i.text;
81
+ if (s !== void 0 && (o.text = this.sanitizeText(s.text.trim()), o.text.startsWith("\"") && o.text.endsWith("\"") && (o.text = o.text.substring(1, o.text.length - 1)), o.labelType = s.type), i !== void 0 && (o.type = i.type, o.stroke = i.stroke, o.length = i.length > 10 ? 10 : i.length), a && !this.edges.some((e) => e.id === a)) o.id = a, o.isUserDefinedId = !0;
82
+ else {
83
+ let t = this.edges.filter((e) => e.start === o.start && e.end === o.end);
84
+ t.length === 0 ? o.id = getEdgeId(o.start, o.end, {
85
+ counter: 0,
86
+ prefix: "L"
87
+ }) : o.id = getEdgeId(o.start, o.end, {
88
+ counter: t.length + 1,
89
+ prefix: "L"
90
+ });
91
+ }
92
+ if (this.edges.length < (this.config.maxEdges ?? 500)) log.info("Pushing edge..."), this.edges.push(o);
93
+ else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
94
+
95
+ Initialize mermaid with maxEdges set to a higher number to allow more edges.
96
+ You cannot set this config via configuration inside the diagram as it is a secure config.
97
+ You have to call mermaid.initialize.`);
98
+ }
99
+ isLinkData(e) {
100
+ return typeof e == "object" && !!e && "id" in e && typeof e.id == "string";
101
+ }
102
+ addLink(e, t, r) {
103
+ let i = this.isLinkData(r) ? r.id.replace("@", "") : void 0;
104
+ log.info("addLink", e, t, i);
105
+ for (let n of e) for (let a of t) {
106
+ let o = n === e[e.length - 1], s = a === t[0];
107
+ o && s ? this.addSingleLink(n, a, r, i) : this.addSingleLink(n, a, r, void 0);
108
+ }
109
+ }
110
+ updateLinkInterpolate(e, t) {
111
+ e.forEach((e) => {
112
+ e === "default" ? this.edges.defaultInterpolate = t : this.edges[e].interpolate = t;
113
+ });
114
+ }
115
+ updateLink(e, t) {
116
+ e.forEach((e) => {
117
+ if (typeof e == "number" && e >= this.edges.length) throw Error(`The index ${e} 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.)`);
118
+ e === "default" ? this.edges.defaultStyle = t : (this.edges[e].style = t, (this.edges[e]?.style?.length ?? 0) > 0 && !this.edges[e]?.style?.some((e) => e?.startsWith("fill")) && this.edges[e]?.style?.push("fill:none"));
119
+ });
120
+ }
121
+ addClass(e, t) {
122
+ let n = t.join().replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
123
+ e.split(",").forEach((e) => {
124
+ let t = this.classes.get(e);
125
+ t === void 0 && (t = {
126
+ id: e,
127
+ styles: [],
128
+ textStyles: []
129
+ }, this.classes.set(e, t)), n?.forEach((e) => {
130
+ if (/color/.exec(e)) {
131
+ let n = e.replace("fill", "bgFill");
132
+ t.textStyles.push(n);
133
+ }
134
+ t.styles.push(e);
135
+ });
136
+ });
137
+ }
138
+ setDirection(e) {
139
+ this.direction = e.trim(), /.*</.exec(this.direction) && (this.direction = "RL"), /.*\^/.exec(this.direction) && (this.direction = "BT"), /.*>/.exec(this.direction) && (this.direction = "LR"), /.*v/.exec(this.direction) && (this.direction = "TB"), this.direction === "TD" && (this.direction = "TB");
140
+ }
141
+ setClass(e, t) {
142
+ for (let n of e.split(",")) {
143
+ let e = this.vertices.get(n);
144
+ e && e.classes.push(t);
145
+ let r = this.edges.find((e) => e.id === n);
146
+ r && r.classes.push(t);
147
+ let i = this.subGraphLookup.get(n);
148
+ i && i.classes.push(t);
149
+ }
150
+ }
151
+ setTooltip(e, t) {
152
+ if (t !== void 0) {
153
+ t = this.sanitizeText(t);
154
+ for (let n of e.split(",")) this.tooltips.set(this.version === "gen-1" ? this.lookUpDomId(n) : n, t);
155
+ }
156
+ }
157
+ setClickFun(e, n, r) {
158
+ let i = this.lookUpDomId(e);
159
+ if (getConfig2().securityLevel !== "loose" || n === void 0) return;
160
+ let a = [];
161
+ if (typeof r == "string") {
162
+ a = r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
163
+ for (let e = 0; e < a.length; e++) {
164
+ let t = a[e].trim();
165
+ t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), a[e] = t;
166
+ }
167
+ }
168
+ a.length === 0 && a.push(e);
169
+ let o = this.vertices.get(e);
170
+ o && (o.haveCallback = !0, this.funs.push(() => {
171
+ let e = document.querySelector(`[id="${i}"]`);
172
+ e !== null && e.addEventListener("click", () => {
173
+ utils_default.runFunc(n, ...a);
174
+ }, !1);
175
+ }));
176
+ }
177
+ setLink(e, n, r) {
178
+ e.split(",").forEach((e) => {
179
+ let i = this.vertices.get(e);
180
+ i !== void 0 && (i.link = utils_default.formatUrl(n, this.config), i.linkTarget = r);
181
+ }), this.setClass(e, "clickable");
182
+ }
183
+ getTooltip(e) {
184
+ return this.tooltips.get(e);
185
+ }
186
+ setClickEvent(e, t, n) {
187
+ e.split(",").forEach((e) => {
188
+ this.setClickFun(e, t, n);
189
+ }), this.setClass(e, "clickable");
190
+ }
191
+ bindFunctions(e) {
192
+ this.funs.forEach((t) => {
193
+ t(e);
194
+ });
195
+ }
196
+ getDirection() {
197
+ return this.direction?.trim();
198
+ }
199
+ getVertices() {
200
+ return this.vertices;
201
+ }
202
+ getEdges() {
203
+ return this.edges;
204
+ }
205
+ getClasses() {
206
+ return this.classes;
207
+ }
208
+ setupToolTips(e) {
209
+ let t = select_default(".mermaidTooltip");
210
+ (t._groups || t)[0][0] === null && (t = select_default("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), select_default(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
211
+ let n = select_default(e.currentTarget);
212
+ if (n.attr("title") === null) return;
213
+ let r = e.currentTarget?.getBoundingClientRect();
214
+ t.transition().duration(200).style("opacity", ".9"), t.text(n.attr("title")).style("left", window.scrollX + r.left + (r.right - r.left) / 2 + "px").style("top", window.scrollY + r.bottom + "px"), t.html(t.html().replace(/&lt;br\/&gt;/g, "<br/>")), n.classed("hover", !0);
215
+ }).on("mouseout", (e) => {
216
+ t.transition().duration(500).style("opacity", 0), select_default(e.currentTarget).classed("hover", !1);
217
+ });
218
+ }
219
+ clear(e = "gen-2") {
220
+ this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = getConfig2(), clear();
221
+ }
222
+ setGen(e) {
223
+ this.version = e || "gen-2";
224
+ }
225
+ defaultStyle() {
226
+ return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
227
+ }
228
+ addSubGraph(e, t, i) {
229
+ let a = e.text.trim(), o = i.text;
230
+ e === i && /\s/.exec(i.text) && (a = void 0);
231
+ let s = (/* @__PURE__ */ __name((e) => {
232
+ let t = {
233
+ boolean: {},
234
+ number: {},
235
+ string: {}
236
+ }, n = [], r;
237
+ return {
238
+ nodeList: e.filter(function(e) {
239
+ let i = typeof e;
240
+ return e.stmt && e.stmt === "dir" ? (r = e.value, !1) : e.trim() === "" ? !1 : i in t ? t[i].hasOwnProperty(e) ? !1 : t[i][e] = !0 : n.includes(e) ? !1 : n.push(e);
241
+ }),
242
+ dir: r
243
+ };
244
+ }, "uniq"))(t.flat()), c = s.nodeList, l = s.dir, u = getConfig2().flowchart ?? {};
245
+ if (l ??= u.inheritDir ? this.getDirection() ?? getConfig2().direction ?? void 0 : void 0, this.version === "gen-1") for (let e = 0; e < c.length; e++) c[e] = this.lookUpDomId(c[e]);
246
+ a ??= "subGraph" + this.subCount, o ||= "", o = this.sanitizeText(o), this.subCount += 1;
247
+ let d = {
248
+ id: a,
249
+ nodes: c,
250
+ title: o.trim(),
251
+ classes: [],
252
+ dir: l,
253
+ labelType: i.type
254
+ };
255
+ return log.info("Adding", d.id, d.nodes, d.dir), d.nodes = this.makeUniq(d, this.subGraphs).nodes, this.subGraphs.push(d), this.subGraphLookup.set(a, d), a;
256
+ }
257
+ getPosForId(e) {
258
+ for (let [t, n] of this.subGraphs.entries()) if (n.id === e) return t;
259
+ return -1;
260
+ }
261
+ indexNodes2(e, t) {
262
+ let n = this.subGraphs[t].nodes;
263
+ if (this.secCount += 1, this.secCount > 2e3) return {
264
+ result: !1,
265
+ count: 0
266
+ };
267
+ if (this.posCrossRef[this.secCount] = t, this.subGraphs[t].id === e) return {
268
+ result: !0,
269
+ count: 0
270
+ };
271
+ let r = 0, i = 1;
272
+ for (; r < n.length;) {
273
+ let t = this.getPosForId(n[r]);
274
+ if (t >= 0) {
275
+ let n = this.indexNodes2(e, t);
276
+ if (n.result) return {
277
+ result: !0,
278
+ count: i + n.count
279
+ };
280
+ i += n.count;
281
+ }
282
+ r += 1;
283
+ }
284
+ return {
285
+ result: !1,
286
+ count: i
287
+ };
288
+ }
289
+ getDepthFirstPos(e) {
290
+ return this.posCrossRef[e];
291
+ }
292
+ indexNodes() {
293
+ this.secCount = -1, this.subGraphs.length > 0 && this.indexNodes2("none", this.subGraphs.length - 1);
294
+ }
295
+ getSubGraphs() {
296
+ return this.subGraphs;
297
+ }
298
+ firstGraph() {
299
+ return this.firstGraphFlag ? (this.firstGraphFlag = !1, !0) : !1;
300
+ }
301
+ destructStartLink(e) {
302
+ let t = e.trim(), n = "arrow_open";
303
+ switch (t[0]) {
304
+ case "<":
305
+ n = "arrow_point", t = t.slice(1);
306
+ break;
307
+ case "x":
308
+ n = "arrow_cross", t = t.slice(1);
309
+ break;
310
+ case "o":
311
+ n = "arrow_circle", t = t.slice(1);
312
+ break;
313
+ }
314
+ let r = "normal";
315
+ return t.includes("=") && (r = "thick"), t.includes(".") && (r = "dotted"), {
316
+ type: n,
317
+ stroke: r
318
+ };
319
+ }
320
+ countChar(e, t) {
321
+ let n = t.length, r = 0;
322
+ for (let i = 0; i < n; ++i) t[i] === e && ++r;
323
+ return r;
324
+ }
325
+ destructEndLink(e) {
326
+ let t = e.trim(), n = t.slice(0, -1), r = "arrow_open";
327
+ switch (t.slice(-1)) {
328
+ case "x":
329
+ r = "arrow_cross", t.startsWith("x") && (r = "double_" + r, n = n.slice(1));
330
+ break;
331
+ case ">":
332
+ r = "arrow_point", t.startsWith("<") && (r = "double_" + r, n = n.slice(1));
333
+ break;
334
+ case "o":
335
+ r = "arrow_circle", t.startsWith("o") && (r = "double_" + r, n = n.slice(1));
336
+ break;
337
+ }
338
+ let i = "normal", a = n.length - 1;
339
+ n.startsWith("=") && (i = "thick"), n.startsWith("~") && (i = "invisible");
340
+ let o = this.countChar(".", n);
341
+ return o && (i = "dotted", a = o), {
342
+ type: r,
343
+ stroke: i,
344
+ length: a
345
+ };
346
+ }
347
+ destructLink(e, t) {
348
+ let n = this.destructEndLink(e), r;
349
+ if (t) {
350
+ if (r = this.destructStartLink(t), r.stroke !== n.stroke) return {
351
+ type: "INVALID",
352
+ stroke: "INVALID"
353
+ };
354
+ if (r.type === "arrow_open") r.type = n.type;
355
+ else {
356
+ if (r.type !== n.type) return {
357
+ type: "INVALID",
358
+ stroke: "INVALID"
359
+ };
360
+ r.type = "double_" + r.type;
361
+ }
362
+ return r.type === "double_arrow" && (r.type = "double_arrow_point"), r.length = n.length, r;
363
+ }
364
+ return n;
365
+ }
366
+ exists(e, t) {
367
+ for (let n of e) if (n.nodes.includes(t)) return !0;
368
+ return !1;
369
+ }
370
+ makeUniq(e, t) {
371
+ let n = [];
372
+ return e.nodes.forEach((r, i) => {
373
+ this.exists(t, r) || n.push(e.nodes[i]);
374
+ }), { nodes: n };
375
+ }
376
+ getTypeFromVertex(e) {
377
+ if (e.img) return "imageSquare";
378
+ if (e.icon) return e.form === "circle" ? "iconCircle" : e.form === "square" ? "iconSquare" : e.form === "rounded" ? "iconRounded" : "icon";
379
+ switch (e.type) {
380
+ case "square":
381
+ case void 0: return "squareRect";
382
+ case "round": return "roundedRect";
383
+ case "ellipse": return "ellipse";
384
+ default: return e.type;
385
+ }
386
+ }
387
+ findNode(e, t) {
388
+ return e.find((e) => e.id === t);
389
+ }
390
+ destructEdgeType(e) {
391
+ let t = "none", n = "arrow_point";
392
+ switch (e) {
393
+ case "arrow_point":
394
+ case "arrow_circle":
395
+ case "arrow_cross":
396
+ n = e;
397
+ break;
398
+ case "double_arrow_point":
399
+ case "double_arrow_circle":
400
+ case "double_arrow_cross":
401
+ t = e.replace("double_", ""), n = t;
402
+ break;
403
+ }
404
+ return {
405
+ arrowTypeStart: t,
406
+ arrowTypeEnd: n
407
+ };
408
+ }
409
+ addNodeFromVertex(e, t, n, r, i, a) {
410
+ let o = n.get(e.id), s = r.get(e.id) ?? !1, c = this.findNode(t, e.id);
411
+ if (c) c.cssStyles = e.styles, c.cssCompiledStyles = this.getCompiledStyles(e.classes), c.cssClasses = e.classes.join(" ");
412
+ else {
413
+ let n = {
414
+ id: e.id,
415
+ label: e.text,
416
+ labelStyle: "",
417
+ parentId: o,
418
+ padding: i.flowchart?.padding || 8,
419
+ cssStyles: e.styles,
420
+ cssCompiledStyles: this.getCompiledStyles([
421
+ "default",
422
+ "node",
423
+ ...e.classes
424
+ ]),
425
+ cssClasses: "default " + e.classes.join(" "),
426
+ dir: e.dir,
427
+ domId: e.domId,
428
+ look: a,
429
+ link: e.link,
430
+ linkTarget: e.linkTarget,
431
+ tooltip: this.getTooltip(e.id),
432
+ icon: e.icon,
433
+ pos: e.pos,
434
+ img: e.img,
435
+ assetWidth: e.assetWidth,
436
+ assetHeight: e.assetHeight,
437
+ constraint: e.constraint
438
+ };
439
+ s ? t.push({
440
+ ...n,
441
+ isGroup: !0,
442
+ shape: "rect"
443
+ }) : t.push({
444
+ ...n,
445
+ isGroup: !1,
446
+ shape: this.getTypeFromVertex(e)
447
+ });
448
+ }
449
+ }
450
+ getCompiledStyles(e) {
451
+ let t = [];
452
+ for (let n of e) {
453
+ let e = this.classes.get(n);
454
+ e?.styles && (t = [...t, ...e.styles ?? []].map((e) => e.trim())), e?.textStyles && (t = [...t, ...e.textStyles ?? []].map((e) => e.trim()));
455
+ }
456
+ return t;
457
+ }
458
+ getData() {
459
+ let t = getConfig2(), n = [], r = [], i = this.getSubGraphs(), a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
460
+ for (let e = i.length - 1; e >= 0; e--) {
461
+ let t = i[e];
462
+ t.nodes.length > 0 && o.set(t.id, !0);
463
+ for (let e of t.nodes) a.set(e, t.id);
464
+ }
465
+ for (let e = i.length - 1; e >= 0; e--) {
466
+ let r = i[e];
467
+ n.push({
468
+ id: r.id,
469
+ label: r.title,
470
+ labelStyle: "",
471
+ parentId: a.get(r.id),
472
+ padding: 8,
473
+ cssCompiledStyles: this.getCompiledStyles(r.classes),
474
+ cssClasses: r.classes.join(" "),
475
+ shape: "rect",
476
+ dir: r.dir,
477
+ isGroup: !0,
478
+ look: t.look
479
+ });
480
+ }
481
+ this.getVertices().forEach((e) => {
482
+ this.addNodeFromVertex(e, n, a, o, t, t.look || "classic");
483
+ });
484
+ let s = this.getEdges();
485
+ return s.forEach((n, i) => {
486
+ let { arrowTypeStart: a, arrowTypeEnd: o } = this.destructEdgeType(n.type), c = [...s.defaultStyle ?? []];
487
+ n.style && c.push(...n.style);
488
+ let l = {
489
+ id: getEdgeId(n.start, n.end, {
490
+ counter: i,
491
+ prefix: "L"
492
+ }, n.id),
493
+ isUserDefinedId: n.isUserDefinedId,
494
+ start: n.start,
495
+ end: n.end,
496
+ type: n.type ?? "normal",
497
+ label: n.text,
498
+ labelpos: "c",
499
+ thickness: n.stroke,
500
+ minlen: n.length,
501
+ classes: n?.stroke === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
502
+ arrowTypeStart: n?.stroke === "invisible" || n?.type === "arrow_open" ? "none" : a,
503
+ arrowTypeEnd: n?.stroke === "invisible" || n?.type === "arrow_open" ? "none" : o,
504
+ arrowheadStyle: "fill: #333",
505
+ cssCompiledStyles: this.getCompiledStyles(n.classes),
506
+ labelStyle: c,
507
+ style: c,
508
+ pattern: n.stroke,
509
+ look: t.look,
510
+ animate: n.animate,
511
+ animation: n.animation,
512
+ curve: n.interpolate || this.edges.defaultInterpolate || t.flowchart?.curve
513
+ };
514
+ r.push(l);
515
+ }), {
516
+ nodes: n,
517
+ edges: r,
518
+ other: {},
519
+ config: t
520
+ };
521
+ }
522
+ defaultConfig() {
523
+ return defaultConfig2.flowchart;
524
+ }
525
+ }, flowRenderer_v3_unified_default = {
526
+ getClasses: /* @__PURE__ */ __name(function(e, t) {
527
+ return t.db.getClasses();
528
+ }, "getClasses"),
529
+ draw: /* @__PURE__ */ __name(async function(e, r, a, o) {
530
+ log.info("REF0:"), log.info("Drawing state diagram (v2)", r);
531
+ let { securityLevel: s, flowchart: c, layout: l } = getConfig2(), u;
532
+ s === "sandbox" && (u = select_default("#i" + r));
533
+ let d = s === "sandbox" ? u.nodes()[0].contentDocument : document;
534
+ log.debug("Before getData: ");
535
+ let f = o.db.getData();
536
+ log.debug("Data: ", f);
537
+ let p = getDiagramElement(r, s), m = o.db.getDirection();
538
+ f.type = o.type, f.layoutAlgorithm = getRegisteredLayoutAlgorithm(l), f.layoutAlgorithm === "dagre" && l === "elk" && log.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."), f.direction = m, f.nodeSpacing = c?.nodeSpacing || 50, f.rankSpacing = c?.rankSpacing || 50, f.markers = [
539
+ "point",
540
+ "circle",
541
+ "cross"
542
+ ], f.diagramId = r, log.debug("REF1:", f), await render(f, p);
543
+ let h = f.config.flowchart?.diagramPadding ?? 8;
544
+ utils_default.insertTitle(p, "flowchartTitleText", c?.titleTopMargin || 0, o.db.getDiagramTitle()), setupViewPortForSVG(p, h, "flowchart", c?.useMaxWidth || !1);
545
+ for (let e of f.nodes) {
546
+ let t = select_default(`#${r} [id="${e.id}"]`);
547
+ if (!t || !e.link) continue;
548
+ let n = d.createElementNS("http://www.w3.org/2000/svg", "a");
549
+ n.setAttributeNS("http://www.w3.org/2000/svg", "class", e.cssClasses), n.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener"), s === "sandbox" ? n.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top") : e.linkTarget && n.setAttributeNS("http://www.w3.org/2000/svg", "target", e.linkTarget);
550
+ let a = t.insert(function() {
551
+ return n;
552
+ }, ":first-child"), o = t.select(".label-container");
553
+ o && a.append(function() {
554
+ return o.node();
555
+ });
556
+ let c = t.select(".label");
557
+ c && a.append(function() {
558
+ return c.node();
559
+ });
560
+ }
561
+ }, "draw")
562
+ }, parser = (function() {
563
+ var e = /* @__PURE__ */ __name(function(e, t, n, r) {
564
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
565
+ return n;
566
+ }, "o"), t = [1, 4], n = [1, 3], i = [1, 5], a = [
567
+ 1,
568
+ 8,
569
+ 9,
570
+ 10,
571
+ 11,
572
+ 27,
573
+ 34,
574
+ 36,
575
+ 38,
576
+ 44,
577
+ 60,
578
+ 84,
579
+ 85,
580
+ 86,
581
+ 87,
582
+ 88,
583
+ 89,
584
+ 102,
585
+ 105,
586
+ 106,
587
+ 109,
588
+ 111,
589
+ 114,
590
+ 115,
591
+ 116,
592
+ 121,
593
+ 122,
594
+ 123,
595
+ 124
596
+ ], o = [2, 2], s = [1, 13], c = [1, 14], l = [1, 15], u = [1, 16], ee = [1, 23], d = [1, 25], f = [1, 26], p = [1, 27], m = [1, 49], h = [1, 48], te = [1, 29], g = [1, 30], ne = [1, 31], re = [1, 32], ie = [1, 33], _ = [1, 44], v = [1, 46], y = [1, 42], b = [1, 47], x = [1, 43], S = [1, 50], C = [1, 45], w = [1, 51], T = [1, 52], E = [1, 34], ae = [1, 35], oe = [1, 36], se = [1, 37], D = [1, 57], O = [
597
+ 1,
598
+ 8,
599
+ 9,
600
+ 10,
601
+ 11,
602
+ 27,
603
+ 32,
604
+ 34,
605
+ 36,
606
+ 38,
607
+ 44,
608
+ 60,
609
+ 84,
610
+ 85,
611
+ 86,
612
+ 87,
613
+ 88,
614
+ 89,
615
+ 102,
616
+ 105,
617
+ 106,
618
+ 109,
619
+ 111,
620
+ 114,
621
+ 115,
622
+ 116,
623
+ 121,
624
+ 122,
625
+ 123,
626
+ 124
627
+ ], k = [1, 61], A = [1, 60], j = [1, 62], ce = [
628
+ 8,
629
+ 9,
630
+ 11,
631
+ 75,
632
+ 77,
633
+ 78
634
+ ], le = [1, 78], ue = [1, 91], de = [1, 96], fe = [1, 95], pe = [1, 92], me = [1, 88], he = [1, 94], ge = [1, 90], _e = [1, 97], ve = [1, 93], ye = [1, 98], be = [1, 89], M = [
635
+ 8,
636
+ 9,
637
+ 10,
638
+ 11,
639
+ 40,
640
+ 75,
641
+ 77,
642
+ 78
643
+ ], N = [
644
+ 8,
645
+ 9,
646
+ 10,
647
+ 11,
648
+ 40,
649
+ 46,
650
+ 75,
651
+ 77,
652
+ 78
653
+ ], P = [
654
+ 8,
655
+ 9,
656
+ 10,
657
+ 11,
658
+ 29,
659
+ 40,
660
+ 44,
661
+ 46,
662
+ 48,
663
+ 50,
664
+ 52,
665
+ 54,
666
+ 56,
667
+ 58,
668
+ 60,
669
+ 63,
670
+ 65,
671
+ 67,
672
+ 68,
673
+ 70,
674
+ 75,
675
+ 77,
676
+ 78,
677
+ 89,
678
+ 102,
679
+ 105,
680
+ 106,
681
+ 109,
682
+ 111,
683
+ 114,
684
+ 115,
685
+ 116
686
+ ], xe = [
687
+ 8,
688
+ 9,
689
+ 11,
690
+ 44,
691
+ 60,
692
+ 75,
693
+ 77,
694
+ 78,
695
+ 89,
696
+ 102,
697
+ 105,
698
+ 106,
699
+ 109,
700
+ 111,
701
+ 114,
702
+ 115,
703
+ 116
704
+ ], Se = [
705
+ 44,
706
+ 60,
707
+ 89,
708
+ 102,
709
+ 105,
710
+ 106,
711
+ 109,
712
+ 111,
713
+ 114,
714
+ 115,
715
+ 116
716
+ ], Ce = [1, 121], we = [1, 122], Te = [1, 124], Ee = [1, 123], De = [
717
+ 44,
718
+ 60,
719
+ 62,
720
+ 74,
721
+ 89,
722
+ 102,
723
+ 105,
724
+ 106,
725
+ 109,
726
+ 111,
727
+ 114,
728
+ 115,
729
+ 116
730
+ ], Oe = [1, 133], ke = [1, 147], Ae = [1, 148], je = [1, 149], Me = [1, 150], Ne = [1, 135], Pe = [1, 137], Fe = [1, 141], Ie = [1, 142], Le = [1, 143], Re = [1, 144], ze = [1, 145], Be = [1, 146], Ve = [1, 151], He = [1, 152], Ue = [1, 131], We = [1, 132], Ge = [1, 139], Ke = [1, 134], qe = [1, 138], Je = [1, 136], Ye = [
731
+ 8,
732
+ 9,
733
+ 10,
734
+ 11,
735
+ 27,
736
+ 32,
737
+ 34,
738
+ 36,
739
+ 38,
740
+ 44,
741
+ 60,
742
+ 84,
743
+ 85,
744
+ 86,
745
+ 87,
746
+ 88,
747
+ 89,
748
+ 102,
749
+ 105,
750
+ 106,
751
+ 109,
752
+ 111,
753
+ 114,
754
+ 115,
755
+ 116,
756
+ 121,
757
+ 122,
758
+ 123,
759
+ 124
760
+ ], Xe = [1, 154], Ze = [1, 156], F = [
761
+ 8,
762
+ 9,
763
+ 11
764
+ ], I = [
765
+ 8,
766
+ 9,
767
+ 10,
768
+ 11,
769
+ 14,
770
+ 44,
771
+ 60,
772
+ 89,
773
+ 105,
774
+ 106,
775
+ 109,
776
+ 111,
777
+ 114,
778
+ 115,
779
+ 116
780
+ ], L = [1, 176], R = [1, 172], z = [1, 173], B = [1, 177], V = [1, 174], H = [1, 175], Qe = [
781
+ 77,
782
+ 116,
783
+ 119
784
+ ], U = [
785
+ 8,
786
+ 9,
787
+ 10,
788
+ 11,
789
+ 12,
790
+ 14,
791
+ 27,
792
+ 29,
793
+ 32,
794
+ 44,
795
+ 60,
796
+ 75,
797
+ 84,
798
+ 85,
799
+ 86,
800
+ 87,
801
+ 88,
802
+ 89,
803
+ 90,
804
+ 105,
805
+ 109,
806
+ 111,
807
+ 114,
808
+ 115,
809
+ 116
810
+ ], $e = [10, 106], W = [
811
+ 31,
812
+ 49,
813
+ 51,
814
+ 53,
815
+ 55,
816
+ 57,
817
+ 62,
818
+ 64,
819
+ 66,
820
+ 67,
821
+ 69,
822
+ 71,
823
+ 116,
824
+ 117,
825
+ 118
826
+ ], G = [1, 247], K = [1, 245], q = [1, 249], J = [1, 243], Y = [1, 244], X = [1, 246], Z = [1, 248], Q = [1, 250], et = [1, 268], tt = [
827
+ 8,
828
+ 9,
829
+ 11,
830
+ 106
831
+ ], $ = [
832
+ 8,
833
+ 9,
834
+ 10,
835
+ 11,
836
+ 60,
837
+ 84,
838
+ 105,
839
+ 106,
840
+ 109,
841
+ 110,
842
+ 111,
843
+ 112
844
+ ], nt = {
845
+ trace: /* @__PURE__ */ __name(function() {}, "trace"),
846
+ yy: {},
847
+ symbols_: {
848
+ error: 2,
849
+ start: 3,
850
+ graphConfig: 4,
851
+ document: 5,
852
+ line: 6,
853
+ statement: 7,
854
+ SEMI: 8,
855
+ NEWLINE: 9,
856
+ SPACE: 10,
857
+ EOF: 11,
858
+ GRAPH: 12,
859
+ NODIR: 13,
860
+ DIR: 14,
861
+ FirstStmtSeparator: 15,
862
+ ending: 16,
863
+ endToken: 17,
864
+ spaceList: 18,
865
+ spaceListNewline: 19,
866
+ vertexStatement: 20,
867
+ separator: 21,
868
+ styleStatement: 22,
869
+ linkStyleStatement: 23,
870
+ classDefStatement: 24,
871
+ classStatement: 25,
872
+ clickStatement: 26,
873
+ subgraph: 27,
874
+ textNoTags: 28,
875
+ SQS: 29,
876
+ text: 30,
877
+ SQE: 31,
878
+ end: 32,
879
+ direction: 33,
880
+ acc_title: 34,
881
+ acc_title_value: 35,
882
+ acc_descr: 36,
883
+ acc_descr_value: 37,
884
+ acc_descr_multiline_value: 38,
885
+ shapeData: 39,
886
+ SHAPE_DATA: 40,
887
+ link: 41,
888
+ node: 42,
889
+ styledVertex: 43,
890
+ AMP: 44,
891
+ vertex: 45,
892
+ STYLE_SEPARATOR: 46,
893
+ idString: 47,
894
+ DOUBLECIRCLESTART: 48,
895
+ DOUBLECIRCLEEND: 49,
896
+ PS: 50,
897
+ PE: 51,
898
+ "(-": 52,
899
+ "-)": 53,
900
+ STADIUMSTART: 54,
901
+ STADIUMEND: 55,
902
+ SUBROUTINESTART: 56,
903
+ SUBROUTINEEND: 57,
904
+ VERTEX_WITH_PROPS_START: 58,
905
+ "NODE_STRING[field]": 59,
906
+ COLON: 60,
907
+ "NODE_STRING[value]": 61,
908
+ PIPE: 62,
909
+ CYLINDERSTART: 63,
910
+ CYLINDEREND: 64,
911
+ DIAMOND_START: 65,
912
+ DIAMOND_STOP: 66,
913
+ TAGEND: 67,
914
+ TRAPSTART: 68,
915
+ TRAPEND: 69,
916
+ INVTRAPSTART: 70,
917
+ INVTRAPEND: 71,
918
+ linkStatement: 72,
919
+ arrowText: 73,
920
+ TESTSTR: 74,
921
+ START_LINK: 75,
922
+ edgeText: 76,
923
+ LINK: 77,
924
+ LINK_ID: 78,
925
+ edgeTextToken: 79,
926
+ STR: 80,
927
+ MD_STR: 81,
928
+ textToken: 82,
929
+ keywords: 83,
930
+ STYLE: 84,
931
+ LINKSTYLE: 85,
932
+ CLASSDEF: 86,
933
+ CLASS: 87,
934
+ CLICK: 88,
935
+ DOWN: 89,
936
+ UP: 90,
937
+ textNoTagsToken: 91,
938
+ stylesOpt: 92,
939
+ "idString[vertex]": 93,
940
+ "idString[class]": 94,
941
+ CALLBACKNAME: 95,
942
+ CALLBACKARGS: 96,
943
+ HREF: 97,
944
+ LINK_TARGET: 98,
945
+ "STR[link]": 99,
946
+ "STR[tooltip]": 100,
947
+ alphaNum: 101,
948
+ DEFAULT: 102,
949
+ numList: 103,
950
+ INTERPOLATE: 104,
951
+ NUM: 105,
952
+ COMMA: 106,
953
+ style: 107,
954
+ styleComponent: 108,
955
+ NODE_STRING: 109,
956
+ UNIT: 110,
957
+ BRKT: 111,
958
+ PCT: 112,
959
+ idStringToken: 113,
960
+ MINUS: 114,
961
+ MULT: 115,
962
+ UNICODE_TEXT: 116,
963
+ TEXT: 117,
964
+ TAGSTART: 118,
965
+ EDGE_TEXT: 119,
966
+ alphaNumToken: 120,
967
+ direction_tb: 121,
968
+ direction_bt: 122,
969
+ direction_rl: 123,
970
+ direction_lr: 124,
971
+ $accept: 0,
972
+ $end: 1
973
+ },
974
+ terminals_: {
975
+ 2: "error",
976
+ 8: "SEMI",
977
+ 9: "NEWLINE",
978
+ 10: "SPACE",
979
+ 11: "EOF",
980
+ 12: "GRAPH",
981
+ 13: "NODIR",
982
+ 14: "DIR",
983
+ 27: "subgraph",
984
+ 29: "SQS",
985
+ 31: "SQE",
986
+ 32: "end",
987
+ 34: "acc_title",
988
+ 35: "acc_title_value",
989
+ 36: "acc_descr",
990
+ 37: "acc_descr_value",
991
+ 38: "acc_descr_multiline_value",
992
+ 40: "SHAPE_DATA",
993
+ 44: "AMP",
994
+ 46: "STYLE_SEPARATOR",
995
+ 48: "DOUBLECIRCLESTART",
996
+ 49: "DOUBLECIRCLEEND",
997
+ 50: "PS",
998
+ 51: "PE",
999
+ 52: "(-",
1000
+ 53: "-)",
1001
+ 54: "STADIUMSTART",
1002
+ 55: "STADIUMEND",
1003
+ 56: "SUBROUTINESTART",
1004
+ 57: "SUBROUTINEEND",
1005
+ 58: "VERTEX_WITH_PROPS_START",
1006
+ 59: "NODE_STRING[field]",
1007
+ 60: "COLON",
1008
+ 61: "NODE_STRING[value]",
1009
+ 62: "PIPE",
1010
+ 63: "CYLINDERSTART",
1011
+ 64: "CYLINDEREND",
1012
+ 65: "DIAMOND_START",
1013
+ 66: "DIAMOND_STOP",
1014
+ 67: "TAGEND",
1015
+ 68: "TRAPSTART",
1016
+ 69: "TRAPEND",
1017
+ 70: "INVTRAPSTART",
1018
+ 71: "INVTRAPEND",
1019
+ 74: "TESTSTR",
1020
+ 75: "START_LINK",
1021
+ 77: "LINK",
1022
+ 78: "LINK_ID",
1023
+ 80: "STR",
1024
+ 81: "MD_STR",
1025
+ 84: "STYLE",
1026
+ 85: "LINKSTYLE",
1027
+ 86: "CLASSDEF",
1028
+ 87: "CLASS",
1029
+ 88: "CLICK",
1030
+ 89: "DOWN",
1031
+ 90: "UP",
1032
+ 93: "idString[vertex]",
1033
+ 94: "idString[class]",
1034
+ 95: "CALLBACKNAME",
1035
+ 96: "CALLBACKARGS",
1036
+ 97: "HREF",
1037
+ 98: "LINK_TARGET",
1038
+ 99: "STR[link]",
1039
+ 100: "STR[tooltip]",
1040
+ 102: "DEFAULT",
1041
+ 104: "INTERPOLATE",
1042
+ 105: "NUM",
1043
+ 106: "COMMA",
1044
+ 109: "NODE_STRING",
1045
+ 110: "UNIT",
1046
+ 111: "BRKT",
1047
+ 112: "PCT",
1048
+ 114: "MINUS",
1049
+ 115: "MULT",
1050
+ 116: "UNICODE_TEXT",
1051
+ 117: "TEXT",
1052
+ 118: "TAGSTART",
1053
+ 119: "EDGE_TEXT",
1054
+ 121: "direction_tb",
1055
+ 122: "direction_bt",
1056
+ 123: "direction_rl",
1057
+ 124: "direction_lr"
1058
+ },
1059
+ productions_: [
1060
+ 0,
1061
+ [3, 2],
1062
+ [5, 0],
1063
+ [5, 2],
1064
+ [6, 1],
1065
+ [6, 1],
1066
+ [6, 1],
1067
+ [6, 1],
1068
+ [6, 1],
1069
+ [4, 2],
1070
+ [4, 2],
1071
+ [4, 2],
1072
+ [4, 3],
1073
+ [16, 2],
1074
+ [16, 1],
1075
+ [17, 1],
1076
+ [17, 1],
1077
+ [17, 1],
1078
+ [15, 1],
1079
+ [15, 1],
1080
+ [15, 2],
1081
+ [19, 2],
1082
+ [19, 2],
1083
+ [19, 1],
1084
+ [19, 1],
1085
+ [18, 2],
1086
+ [18, 1],
1087
+ [7, 2],
1088
+ [7, 2],
1089
+ [7, 2],
1090
+ [7, 2],
1091
+ [7, 2],
1092
+ [7, 2],
1093
+ [7, 9],
1094
+ [7, 6],
1095
+ [7, 4],
1096
+ [7, 1],
1097
+ [7, 2],
1098
+ [7, 2],
1099
+ [7, 1],
1100
+ [21, 1],
1101
+ [21, 1],
1102
+ [21, 1],
1103
+ [39, 2],
1104
+ [39, 1],
1105
+ [20, 4],
1106
+ [20, 3],
1107
+ [20, 4],
1108
+ [20, 2],
1109
+ [20, 2],
1110
+ [20, 1],
1111
+ [42, 1],
1112
+ [42, 6],
1113
+ [42, 5],
1114
+ [43, 1],
1115
+ [43, 3],
1116
+ [45, 4],
1117
+ [45, 4],
1118
+ [45, 6],
1119
+ [45, 4],
1120
+ [45, 4],
1121
+ [45, 4],
1122
+ [45, 8],
1123
+ [45, 4],
1124
+ [45, 4],
1125
+ [45, 4],
1126
+ [45, 6],
1127
+ [45, 4],
1128
+ [45, 4],
1129
+ [45, 4],
1130
+ [45, 4],
1131
+ [45, 4],
1132
+ [45, 1],
1133
+ [41, 2],
1134
+ [41, 3],
1135
+ [41, 3],
1136
+ [41, 1],
1137
+ [41, 3],
1138
+ [41, 4],
1139
+ [76, 1],
1140
+ [76, 2],
1141
+ [76, 1],
1142
+ [76, 1],
1143
+ [72, 1],
1144
+ [72, 2],
1145
+ [73, 3],
1146
+ [30, 1],
1147
+ [30, 2],
1148
+ [30, 1],
1149
+ [30, 1],
1150
+ [83, 1],
1151
+ [83, 1],
1152
+ [83, 1],
1153
+ [83, 1],
1154
+ [83, 1],
1155
+ [83, 1],
1156
+ [83, 1],
1157
+ [83, 1],
1158
+ [83, 1],
1159
+ [83, 1],
1160
+ [83, 1],
1161
+ [28, 1],
1162
+ [28, 2],
1163
+ [28, 1],
1164
+ [28, 1],
1165
+ [24, 5],
1166
+ [25, 5],
1167
+ [26, 2],
1168
+ [26, 4],
1169
+ [26, 3],
1170
+ [26, 5],
1171
+ [26, 3],
1172
+ [26, 5],
1173
+ [26, 5],
1174
+ [26, 7],
1175
+ [26, 2],
1176
+ [26, 4],
1177
+ [26, 2],
1178
+ [26, 4],
1179
+ [26, 4],
1180
+ [26, 6],
1181
+ [22, 5],
1182
+ [23, 5],
1183
+ [23, 5],
1184
+ [23, 9],
1185
+ [23, 9],
1186
+ [23, 7],
1187
+ [23, 7],
1188
+ [103, 1],
1189
+ [103, 3],
1190
+ [92, 1],
1191
+ [92, 3],
1192
+ [107, 1],
1193
+ [107, 2],
1194
+ [108, 1],
1195
+ [108, 1],
1196
+ [108, 1],
1197
+ [108, 1],
1198
+ [108, 1],
1199
+ [108, 1],
1200
+ [108, 1],
1201
+ [108, 1],
1202
+ [113, 1],
1203
+ [113, 1],
1204
+ [113, 1],
1205
+ [113, 1],
1206
+ [113, 1],
1207
+ [113, 1],
1208
+ [113, 1],
1209
+ [113, 1],
1210
+ [113, 1],
1211
+ [113, 1],
1212
+ [113, 1],
1213
+ [82, 1],
1214
+ [82, 1],
1215
+ [82, 1],
1216
+ [82, 1],
1217
+ [91, 1],
1218
+ [91, 1],
1219
+ [91, 1],
1220
+ [91, 1],
1221
+ [91, 1],
1222
+ [91, 1],
1223
+ [91, 1],
1224
+ [91, 1],
1225
+ [91, 1],
1226
+ [91, 1],
1227
+ [91, 1],
1228
+ [79, 1],
1229
+ [79, 1],
1230
+ [120, 1],
1231
+ [120, 1],
1232
+ [120, 1],
1233
+ [120, 1],
1234
+ [120, 1],
1235
+ [120, 1],
1236
+ [120, 1],
1237
+ [120, 1],
1238
+ [120, 1],
1239
+ [120, 1],
1240
+ [120, 1],
1241
+ [47, 1],
1242
+ [47, 2],
1243
+ [101, 1],
1244
+ [101, 2],
1245
+ [33, 1],
1246
+ [33, 1],
1247
+ [33, 1],
1248
+ [33, 1]
1249
+ ],
1250
+ performAction: /* @__PURE__ */ __name(function(e, t, n, r, i, a, o) {
1251
+ var s = a.length - 1;
1252
+ switch (i) {
1253
+ case 2:
1254
+ this.$ = [];
1255
+ break;
1256
+ case 3:
1257
+ (!Array.isArray(a[s]) || a[s].length > 0) && a[s - 1].push(a[s]), this.$ = a[s - 1];
1258
+ break;
1259
+ case 4:
1260
+ case 183:
1261
+ this.$ = a[s];
1262
+ break;
1263
+ case 11:
1264
+ r.setDirection("TB"), this.$ = "TB";
1265
+ break;
1266
+ case 12:
1267
+ r.setDirection(a[s - 1]), this.$ = a[s - 1];
1268
+ break;
1269
+ case 27:
1270
+ this.$ = a[s - 1].nodes;
1271
+ break;
1272
+ case 28:
1273
+ case 29:
1274
+ case 30:
1275
+ case 31:
1276
+ case 32:
1277
+ this.$ = [];
1278
+ break;
1279
+ case 33:
1280
+ this.$ = r.addSubGraph(a[s - 6], a[s - 1], a[s - 4]);
1281
+ break;
1282
+ case 34:
1283
+ this.$ = r.addSubGraph(a[s - 3], a[s - 1], a[s - 3]);
1284
+ break;
1285
+ case 35:
1286
+ this.$ = r.addSubGraph(void 0, a[s - 1], void 0);
1287
+ break;
1288
+ case 37:
1289
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
1290
+ break;
1291
+ case 38:
1292
+ case 39:
1293
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
1294
+ break;
1295
+ case 43:
1296
+ this.$ = a[s - 1] + a[s];
1297
+ break;
1298
+ case 44:
1299
+ this.$ = a[s];
1300
+ break;
1301
+ case 45:
1302
+ r.addVertex(a[s - 1][a[s - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s]), r.addLink(a[s - 3].stmt, a[s - 1], a[s - 2]), this.$ = {
1303
+ stmt: a[s - 1],
1304
+ nodes: a[s - 1].concat(a[s - 3].nodes)
1305
+ };
1306
+ break;
1307
+ case 46:
1308
+ r.addLink(a[s - 2].stmt, a[s], a[s - 1]), this.$ = {
1309
+ stmt: a[s],
1310
+ nodes: a[s].concat(a[s - 2].nodes)
1311
+ };
1312
+ break;
1313
+ case 47:
1314
+ r.addLink(a[s - 3].stmt, a[s - 1], a[s - 2]), this.$ = {
1315
+ stmt: a[s - 1],
1316
+ nodes: a[s - 1].concat(a[s - 3].nodes)
1317
+ };
1318
+ break;
1319
+ case 48:
1320
+ this.$ = {
1321
+ stmt: a[s - 1],
1322
+ nodes: a[s - 1]
1323
+ };
1324
+ break;
1325
+ case 49:
1326
+ r.addVertex(a[s - 1][a[s - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s]), this.$ = {
1327
+ stmt: a[s - 1],
1328
+ nodes: a[s - 1],
1329
+ shapeData: a[s]
1330
+ };
1331
+ break;
1332
+ case 50:
1333
+ this.$ = {
1334
+ stmt: a[s],
1335
+ nodes: a[s]
1336
+ };
1337
+ break;
1338
+ case 51:
1339
+ this.$ = [a[s]];
1340
+ break;
1341
+ case 52:
1342
+ r.addVertex(a[s - 5][a[s - 5].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s - 4]), this.$ = a[s - 5].concat(a[s]);
1343
+ break;
1344
+ case 53:
1345
+ this.$ = a[s - 4].concat(a[s]);
1346
+ break;
1347
+ case 54:
1348
+ this.$ = a[s];
1349
+ break;
1350
+ case 55:
1351
+ this.$ = a[s - 2], r.setClass(a[s - 2], a[s]);
1352
+ break;
1353
+ case 56:
1354
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "square");
1355
+ break;
1356
+ case 57:
1357
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "doublecircle");
1358
+ break;
1359
+ case 58:
1360
+ this.$ = a[s - 5], r.addVertex(a[s - 5], a[s - 2], "circle");
1361
+ break;
1362
+ case 59:
1363
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "ellipse");
1364
+ break;
1365
+ case 60:
1366
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "stadium");
1367
+ break;
1368
+ case 61:
1369
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "subroutine");
1370
+ break;
1371
+ case 62:
1372
+ this.$ = a[s - 7], r.addVertex(a[s - 7], a[s - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[a[s - 5], a[s - 3]]]));
1373
+ break;
1374
+ case 63:
1375
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "cylinder");
1376
+ break;
1377
+ case 64:
1378
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "round");
1379
+ break;
1380
+ case 65:
1381
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "diamond");
1382
+ break;
1383
+ case 66:
1384
+ this.$ = a[s - 5], r.addVertex(a[s - 5], a[s - 2], "hexagon");
1385
+ break;
1386
+ case 67:
1387
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "odd");
1388
+ break;
1389
+ case 68:
1390
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "trapezoid");
1391
+ break;
1392
+ case 69:
1393
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "inv_trapezoid");
1394
+ break;
1395
+ case 70:
1396
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "lean_right");
1397
+ break;
1398
+ case 71:
1399
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "lean_left");
1400
+ break;
1401
+ case 72:
1402
+ this.$ = a[s], r.addVertex(a[s]);
1403
+ break;
1404
+ case 73:
1405
+ a[s - 1].text = a[s], this.$ = a[s - 1];
1406
+ break;
1407
+ case 74:
1408
+ case 75:
1409
+ a[s - 2].text = a[s - 1], this.$ = a[s - 2];
1410
+ break;
1411
+ case 76:
1412
+ this.$ = a[s];
1413
+ break;
1414
+ case 77:
1415
+ var c = r.destructLink(a[s], a[s - 2]);
1416
+ this.$ = {
1417
+ type: c.type,
1418
+ stroke: c.stroke,
1419
+ length: c.length,
1420
+ text: a[s - 1]
1421
+ };
1422
+ break;
1423
+ case 78:
1424
+ var c = r.destructLink(a[s], a[s - 2]);
1425
+ this.$ = {
1426
+ type: c.type,
1427
+ stroke: c.stroke,
1428
+ length: c.length,
1429
+ text: a[s - 1],
1430
+ id: a[s - 3]
1431
+ };
1432
+ break;
1433
+ case 79:
1434
+ this.$ = {
1435
+ text: a[s],
1436
+ type: "text"
1437
+ };
1438
+ break;
1439
+ case 80:
1440
+ this.$ = {
1441
+ text: a[s - 1].text + "" + a[s],
1442
+ type: a[s - 1].type
1443
+ };
1444
+ break;
1445
+ case 81:
1446
+ this.$ = {
1447
+ text: a[s],
1448
+ type: "string"
1449
+ };
1450
+ break;
1451
+ case 82:
1452
+ this.$ = {
1453
+ text: a[s],
1454
+ type: "markdown"
1455
+ };
1456
+ break;
1457
+ case 83:
1458
+ var c = r.destructLink(a[s]);
1459
+ this.$ = {
1460
+ type: c.type,
1461
+ stroke: c.stroke,
1462
+ length: c.length
1463
+ };
1464
+ break;
1465
+ case 84:
1466
+ var c = r.destructLink(a[s]);
1467
+ this.$ = {
1468
+ type: c.type,
1469
+ stroke: c.stroke,
1470
+ length: c.length,
1471
+ id: a[s - 1]
1472
+ };
1473
+ break;
1474
+ case 85:
1475
+ this.$ = a[s - 1];
1476
+ break;
1477
+ case 86:
1478
+ this.$ = {
1479
+ text: a[s],
1480
+ type: "text"
1481
+ };
1482
+ break;
1483
+ case 87:
1484
+ this.$ = {
1485
+ text: a[s - 1].text + "" + a[s],
1486
+ type: a[s - 1].type
1487
+ };
1488
+ break;
1489
+ case 88:
1490
+ this.$ = {
1491
+ text: a[s],
1492
+ type: "string"
1493
+ };
1494
+ break;
1495
+ case 89:
1496
+ case 104:
1497
+ this.$ = {
1498
+ text: a[s],
1499
+ type: "markdown"
1500
+ };
1501
+ break;
1502
+ case 101:
1503
+ this.$ = {
1504
+ text: a[s],
1505
+ type: "text"
1506
+ };
1507
+ break;
1508
+ case 102:
1509
+ this.$ = {
1510
+ text: a[s - 1].text + "" + a[s],
1511
+ type: a[s - 1].type
1512
+ };
1513
+ break;
1514
+ case 103:
1515
+ this.$ = {
1516
+ text: a[s],
1517
+ type: "text"
1518
+ };
1519
+ break;
1520
+ case 105:
1521
+ this.$ = a[s - 4], r.addClass(a[s - 2], a[s]);
1522
+ break;
1523
+ case 106:
1524
+ this.$ = a[s - 4], r.setClass(a[s - 2], a[s]);
1525
+ break;
1526
+ case 107:
1527
+ case 115:
1528
+ this.$ = a[s - 1], r.setClickEvent(a[s - 1], a[s]);
1529
+ break;
1530
+ case 108:
1531
+ case 116:
1532
+ this.$ = a[s - 3], r.setClickEvent(a[s - 3], a[s - 2]), r.setTooltip(a[s - 3], a[s]);
1533
+ break;
1534
+ case 109:
1535
+ this.$ = a[s - 2], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
1536
+ break;
1537
+ case 110:
1538
+ this.$ = a[s - 4], r.setClickEvent(a[s - 4], a[s - 3], a[s - 2]), r.setTooltip(a[s - 4], a[s]);
1539
+ break;
1540
+ case 111:
1541
+ this.$ = a[s - 2], r.setLink(a[s - 2], a[s]);
1542
+ break;
1543
+ case 112:
1544
+ this.$ = a[s - 4], r.setLink(a[s - 4], a[s - 2]), r.setTooltip(a[s - 4], a[s]);
1545
+ break;
1546
+ case 113:
1547
+ this.$ = a[s - 4], r.setLink(a[s - 4], a[s - 2], a[s]);
1548
+ break;
1549
+ case 114:
1550
+ this.$ = a[s - 6], r.setLink(a[s - 6], a[s - 4], a[s]), r.setTooltip(a[s - 6], a[s - 2]);
1551
+ break;
1552
+ case 117:
1553
+ this.$ = a[s - 1], r.setLink(a[s - 1], a[s]);
1554
+ break;
1555
+ case 118:
1556
+ this.$ = a[s - 3], r.setLink(a[s - 3], a[s - 2]), r.setTooltip(a[s - 3], a[s]);
1557
+ break;
1558
+ case 119:
1559
+ this.$ = a[s - 3], r.setLink(a[s - 3], a[s - 2], a[s]);
1560
+ break;
1561
+ case 120:
1562
+ this.$ = a[s - 5], r.setLink(a[s - 5], a[s - 4], a[s]), r.setTooltip(a[s - 5], a[s - 2]);
1563
+ break;
1564
+ case 121:
1565
+ this.$ = a[s - 4], r.addVertex(a[s - 2], void 0, void 0, a[s]);
1566
+ break;
1567
+ case 122:
1568
+ this.$ = a[s - 4], r.updateLink([a[s - 2]], a[s]);
1569
+ break;
1570
+ case 123:
1571
+ this.$ = a[s - 4], r.updateLink(a[s - 2], a[s]);
1572
+ break;
1573
+ case 124:
1574
+ this.$ = a[s - 8], r.updateLinkInterpolate([a[s - 6]], a[s - 2]), r.updateLink([a[s - 6]], a[s]);
1575
+ break;
1576
+ case 125:
1577
+ this.$ = a[s - 8], r.updateLinkInterpolate(a[s - 6], a[s - 2]), r.updateLink(a[s - 6], a[s]);
1578
+ break;
1579
+ case 126:
1580
+ this.$ = a[s - 6], r.updateLinkInterpolate([a[s - 4]], a[s]);
1581
+ break;
1582
+ case 127:
1583
+ this.$ = a[s - 6], r.updateLinkInterpolate(a[s - 4], a[s]);
1584
+ break;
1585
+ case 128:
1586
+ case 130:
1587
+ this.$ = [a[s]];
1588
+ break;
1589
+ case 129:
1590
+ case 131:
1591
+ a[s - 2].push(a[s]), this.$ = a[s - 2];
1592
+ break;
1593
+ case 133:
1594
+ this.$ = a[s - 1] + a[s];
1595
+ break;
1596
+ case 181:
1597
+ this.$ = a[s];
1598
+ break;
1599
+ case 182:
1600
+ this.$ = a[s - 1] + "" + a[s];
1601
+ break;
1602
+ case 184:
1603
+ this.$ = a[s - 1] + "" + a[s];
1604
+ break;
1605
+ case 185:
1606
+ this.$ = {
1607
+ stmt: "dir",
1608
+ value: "TB"
1609
+ };
1610
+ break;
1611
+ case 186:
1612
+ this.$ = {
1613
+ stmt: "dir",
1614
+ value: "BT"
1615
+ };
1616
+ break;
1617
+ case 187:
1618
+ this.$ = {
1619
+ stmt: "dir",
1620
+ value: "RL"
1621
+ };
1622
+ break;
1623
+ case 188:
1624
+ this.$ = {
1625
+ stmt: "dir",
1626
+ value: "LR"
1627
+ };
1628
+ break;
1629
+ }
1630
+ }, "anonymous"),
1631
+ table: [
1632
+ {
1633
+ 3: 1,
1634
+ 4: 2,
1635
+ 9: t,
1636
+ 10: n,
1637
+ 12: i
1638
+ },
1639
+ { 1: [3] },
1640
+ e(a, o, { 5: 6 }),
1641
+ {
1642
+ 4: 7,
1643
+ 9: t,
1644
+ 10: n,
1645
+ 12: i
1646
+ },
1647
+ {
1648
+ 4: 8,
1649
+ 9: t,
1650
+ 10: n,
1651
+ 12: i
1652
+ },
1653
+ {
1654
+ 13: [1, 9],
1655
+ 14: [1, 10]
1656
+ },
1657
+ {
1658
+ 1: [2, 1],
1659
+ 6: 11,
1660
+ 7: 12,
1661
+ 8: s,
1662
+ 9: c,
1663
+ 10: l,
1664
+ 11: u,
1665
+ 20: 17,
1666
+ 22: 18,
1667
+ 23: 19,
1668
+ 24: 20,
1669
+ 25: 21,
1670
+ 26: 22,
1671
+ 27: ee,
1672
+ 33: 24,
1673
+ 34: d,
1674
+ 36: f,
1675
+ 38: p,
1676
+ 42: 28,
1677
+ 43: 38,
1678
+ 44: m,
1679
+ 45: 39,
1680
+ 47: 40,
1681
+ 60: h,
1682
+ 84: te,
1683
+ 85: g,
1684
+ 86: ne,
1685
+ 87: re,
1686
+ 88: ie,
1687
+ 89: _,
1688
+ 102: v,
1689
+ 105: y,
1690
+ 106: b,
1691
+ 109: x,
1692
+ 111: S,
1693
+ 113: 41,
1694
+ 114: C,
1695
+ 115: w,
1696
+ 116: T,
1697
+ 121: E,
1698
+ 122: ae,
1699
+ 123: oe,
1700
+ 124: se
1701
+ },
1702
+ e(a, [2, 9]),
1703
+ e(a, [2, 10]),
1704
+ e(a, [2, 11]),
1705
+ {
1706
+ 8: [1, 54],
1707
+ 9: [1, 55],
1708
+ 10: D,
1709
+ 15: 53,
1710
+ 18: 56
1711
+ },
1712
+ e(O, [2, 3]),
1713
+ e(O, [2, 4]),
1714
+ e(O, [2, 5]),
1715
+ e(O, [2, 6]),
1716
+ e(O, [2, 7]),
1717
+ e(O, [2, 8]),
1718
+ {
1719
+ 8: k,
1720
+ 9: A,
1721
+ 11: j,
1722
+ 21: 58,
1723
+ 41: 59,
1724
+ 72: 63,
1725
+ 75: [1, 64],
1726
+ 77: [1, 66],
1727
+ 78: [1, 65]
1728
+ },
1729
+ {
1730
+ 8: k,
1731
+ 9: A,
1732
+ 11: j,
1733
+ 21: 67
1734
+ },
1735
+ {
1736
+ 8: k,
1737
+ 9: A,
1738
+ 11: j,
1739
+ 21: 68
1740
+ },
1741
+ {
1742
+ 8: k,
1743
+ 9: A,
1744
+ 11: j,
1745
+ 21: 69
1746
+ },
1747
+ {
1748
+ 8: k,
1749
+ 9: A,
1750
+ 11: j,
1751
+ 21: 70
1752
+ },
1753
+ {
1754
+ 8: k,
1755
+ 9: A,
1756
+ 11: j,
1757
+ 21: 71
1758
+ },
1759
+ {
1760
+ 8: k,
1761
+ 9: A,
1762
+ 10: [1, 72],
1763
+ 11: j,
1764
+ 21: 73
1765
+ },
1766
+ e(O, [2, 36]),
1767
+ { 35: [1, 74] },
1768
+ { 37: [1, 75] },
1769
+ e(O, [2, 39]),
1770
+ e(ce, [2, 50], {
1771
+ 18: 76,
1772
+ 39: 77,
1773
+ 10: D,
1774
+ 40: le
1775
+ }),
1776
+ { 10: [1, 79] },
1777
+ { 10: [1, 80] },
1778
+ { 10: [1, 81] },
1779
+ { 10: [1, 82] },
1780
+ {
1781
+ 14: ue,
1782
+ 44: de,
1783
+ 60: fe,
1784
+ 80: [1, 86],
1785
+ 89: pe,
1786
+ 95: [1, 83],
1787
+ 97: [1, 84],
1788
+ 101: 85,
1789
+ 105: me,
1790
+ 106: he,
1791
+ 109: ge,
1792
+ 111: _e,
1793
+ 114: ve,
1794
+ 115: ye,
1795
+ 116: be,
1796
+ 120: 87
1797
+ },
1798
+ e(O, [2, 185]),
1799
+ e(O, [2, 186]),
1800
+ e(O, [2, 187]),
1801
+ e(O, [2, 188]),
1802
+ e(M, [2, 51]),
1803
+ e(M, [2, 54], { 46: [1, 99] }),
1804
+ e(N, [2, 72], {
1805
+ 113: 112,
1806
+ 29: [1, 100],
1807
+ 44: m,
1808
+ 48: [1, 101],
1809
+ 50: [1, 102],
1810
+ 52: [1, 103],
1811
+ 54: [1, 104],
1812
+ 56: [1, 105],
1813
+ 58: [1, 106],
1814
+ 60: h,
1815
+ 63: [1, 107],
1816
+ 65: [1, 108],
1817
+ 67: [1, 109],
1818
+ 68: [1, 110],
1819
+ 70: [1, 111],
1820
+ 89: _,
1821
+ 102: v,
1822
+ 105: y,
1823
+ 106: b,
1824
+ 109: x,
1825
+ 111: S,
1826
+ 114: C,
1827
+ 115: w,
1828
+ 116: T
1829
+ }),
1830
+ e(P, [2, 181]),
1831
+ e(P, [2, 142]),
1832
+ e(P, [2, 143]),
1833
+ e(P, [2, 144]),
1834
+ e(P, [2, 145]),
1835
+ e(P, [2, 146]),
1836
+ e(P, [2, 147]),
1837
+ e(P, [2, 148]),
1838
+ e(P, [2, 149]),
1839
+ e(P, [2, 150]),
1840
+ e(P, [2, 151]),
1841
+ e(P, [2, 152]),
1842
+ e(a, [2, 12]),
1843
+ e(a, [2, 18]),
1844
+ e(a, [2, 19]),
1845
+ { 9: [1, 113] },
1846
+ e(xe, [2, 26], {
1847
+ 18: 114,
1848
+ 10: D
1849
+ }),
1850
+ e(O, [2, 27]),
1851
+ {
1852
+ 42: 115,
1853
+ 43: 38,
1854
+ 44: m,
1855
+ 45: 39,
1856
+ 47: 40,
1857
+ 60: h,
1858
+ 89: _,
1859
+ 102: v,
1860
+ 105: y,
1861
+ 106: b,
1862
+ 109: x,
1863
+ 111: S,
1864
+ 113: 41,
1865
+ 114: C,
1866
+ 115: w,
1867
+ 116: T
1868
+ },
1869
+ e(O, [2, 40]),
1870
+ e(O, [2, 41]),
1871
+ e(O, [2, 42]),
1872
+ e(Se, [2, 76], {
1873
+ 73: 116,
1874
+ 62: [1, 118],
1875
+ 74: [1, 117]
1876
+ }),
1877
+ {
1878
+ 76: 119,
1879
+ 79: 120,
1880
+ 80: Ce,
1881
+ 81: we,
1882
+ 116: Te,
1883
+ 119: Ee
1884
+ },
1885
+ {
1886
+ 75: [1, 125],
1887
+ 77: [1, 126]
1888
+ },
1889
+ e(De, [2, 83]),
1890
+ e(O, [2, 28]),
1891
+ e(O, [2, 29]),
1892
+ e(O, [2, 30]),
1893
+ e(O, [2, 31]),
1894
+ e(O, [2, 32]),
1895
+ {
1896
+ 10: Oe,
1897
+ 12: ke,
1898
+ 14: Ae,
1899
+ 27: je,
1900
+ 28: 127,
1901
+ 32: Me,
1902
+ 44: Ne,
1903
+ 60: Pe,
1904
+ 75: Fe,
1905
+ 80: [1, 129],
1906
+ 81: [1, 130],
1907
+ 83: 140,
1908
+ 84: Ie,
1909
+ 85: Le,
1910
+ 86: Re,
1911
+ 87: ze,
1912
+ 88: Be,
1913
+ 89: Ve,
1914
+ 90: He,
1915
+ 91: 128,
1916
+ 105: Ue,
1917
+ 109: We,
1918
+ 111: Ge,
1919
+ 114: Ke,
1920
+ 115: qe,
1921
+ 116: Je
1922
+ },
1923
+ e(Ye, o, { 5: 153 }),
1924
+ e(O, [2, 37]),
1925
+ e(O, [2, 38]),
1926
+ e(ce, [2, 48], { 44: Xe }),
1927
+ e(ce, [2, 49], {
1928
+ 18: 155,
1929
+ 10: D,
1930
+ 40: Ze
1931
+ }),
1932
+ e(M, [2, 44]),
1933
+ {
1934
+ 44: m,
1935
+ 47: 157,
1936
+ 60: h,
1937
+ 89: _,
1938
+ 102: v,
1939
+ 105: y,
1940
+ 106: b,
1941
+ 109: x,
1942
+ 111: S,
1943
+ 113: 41,
1944
+ 114: C,
1945
+ 115: w,
1946
+ 116: T
1947
+ },
1948
+ {
1949
+ 102: [1, 158],
1950
+ 103: 159,
1951
+ 105: [1, 160]
1952
+ },
1953
+ {
1954
+ 44: m,
1955
+ 47: 161,
1956
+ 60: h,
1957
+ 89: _,
1958
+ 102: v,
1959
+ 105: y,
1960
+ 106: b,
1961
+ 109: x,
1962
+ 111: S,
1963
+ 113: 41,
1964
+ 114: C,
1965
+ 115: w,
1966
+ 116: T
1967
+ },
1968
+ {
1969
+ 44: m,
1970
+ 47: 162,
1971
+ 60: h,
1972
+ 89: _,
1973
+ 102: v,
1974
+ 105: y,
1975
+ 106: b,
1976
+ 109: x,
1977
+ 111: S,
1978
+ 113: 41,
1979
+ 114: C,
1980
+ 115: w,
1981
+ 116: T
1982
+ },
1983
+ e(F, [2, 107], {
1984
+ 10: [1, 163],
1985
+ 96: [1, 164]
1986
+ }),
1987
+ { 80: [1, 165] },
1988
+ e(F, [2, 115], {
1989
+ 120: 167,
1990
+ 10: [1, 166],
1991
+ 14: ue,
1992
+ 44: de,
1993
+ 60: fe,
1994
+ 89: pe,
1995
+ 105: me,
1996
+ 106: he,
1997
+ 109: ge,
1998
+ 111: _e,
1999
+ 114: ve,
2000
+ 115: ye,
2001
+ 116: be
2002
+ }),
2003
+ e(F, [2, 117], { 10: [1, 168] }),
2004
+ e(I, [2, 183]),
2005
+ e(I, [2, 170]),
2006
+ e(I, [2, 171]),
2007
+ e(I, [2, 172]),
2008
+ e(I, [2, 173]),
2009
+ e(I, [2, 174]),
2010
+ e(I, [2, 175]),
2011
+ e(I, [2, 176]),
2012
+ e(I, [2, 177]),
2013
+ e(I, [2, 178]),
2014
+ e(I, [2, 179]),
2015
+ e(I, [2, 180]),
2016
+ {
2017
+ 44: m,
2018
+ 47: 169,
2019
+ 60: h,
2020
+ 89: _,
2021
+ 102: v,
2022
+ 105: y,
2023
+ 106: b,
2024
+ 109: x,
2025
+ 111: S,
2026
+ 113: 41,
2027
+ 114: C,
2028
+ 115: w,
2029
+ 116: T
2030
+ },
2031
+ {
2032
+ 30: 170,
2033
+ 67: L,
2034
+ 80: R,
2035
+ 81: z,
2036
+ 82: 171,
2037
+ 116: B,
2038
+ 117: V,
2039
+ 118: H
2040
+ },
2041
+ {
2042
+ 30: 178,
2043
+ 67: L,
2044
+ 80: R,
2045
+ 81: z,
2046
+ 82: 171,
2047
+ 116: B,
2048
+ 117: V,
2049
+ 118: H
2050
+ },
2051
+ {
2052
+ 30: 180,
2053
+ 50: [1, 179],
2054
+ 67: L,
2055
+ 80: R,
2056
+ 81: z,
2057
+ 82: 171,
2058
+ 116: B,
2059
+ 117: V,
2060
+ 118: H
2061
+ },
2062
+ {
2063
+ 30: 181,
2064
+ 67: L,
2065
+ 80: R,
2066
+ 81: z,
2067
+ 82: 171,
2068
+ 116: B,
2069
+ 117: V,
2070
+ 118: H
2071
+ },
2072
+ {
2073
+ 30: 182,
2074
+ 67: L,
2075
+ 80: R,
2076
+ 81: z,
2077
+ 82: 171,
2078
+ 116: B,
2079
+ 117: V,
2080
+ 118: H
2081
+ },
2082
+ {
2083
+ 30: 183,
2084
+ 67: L,
2085
+ 80: R,
2086
+ 81: z,
2087
+ 82: 171,
2088
+ 116: B,
2089
+ 117: V,
2090
+ 118: H
2091
+ },
2092
+ { 109: [1, 184] },
2093
+ {
2094
+ 30: 185,
2095
+ 67: L,
2096
+ 80: R,
2097
+ 81: z,
2098
+ 82: 171,
2099
+ 116: B,
2100
+ 117: V,
2101
+ 118: H
2102
+ },
2103
+ {
2104
+ 30: 186,
2105
+ 65: [1, 187],
2106
+ 67: L,
2107
+ 80: R,
2108
+ 81: z,
2109
+ 82: 171,
2110
+ 116: B,
2111
+ 117: V,
2112
+ 118: H
2113
+ },
2114
+ {
2115
+ 30: 188,
2116
+ 67: L,
2117
+ 80: R,
2118
+ 81: z,
2119
+ 82: 171,
2120
+ 116: B,
2121
+ 117: V,
2122
+ 118: H
2123
+ },
2124
+ {
2125
+ 30: 189,
2126
+ 67: L,
2127
+ 80: R,
2128
+ 81: z,
2129
+ 82: 171,
2130
+ 116: B,
2131
+ 117: V,
2132
+ 118: H
2133
+ },
2134
+ {
2135
+ 30: 190,
2136
+ 67: L,
2137
+ 80: R,
2138
+ 81: z,
2139
+ 82: 171,
2140
+ 116: B,
2141
+ 117: V,
2142
+ 118: H
2143
+ },
2144
+ e(P, [2, 182]),
2145
+ e(a, [2, 20]),
2146
+ e(xe, [2, 25]),
2147
+ e(ce, [2, 46], {
2148
+ 39: 191,
2149
+ 18: 192,
2150
+ 10: D,
2151
+ 40: le
2152
+ }),
2153
+ e(Se, [2, 73], { 10: [1, 193] }),
2154
+ { 10: [1, 194] },
2155
+ {
2156
+ 30: 195,
2157
+ 67: L,
2158
+ 80: R,
2159
+ 81: z,
2160
+ 82: 171,
2161
+ 116: B,
2162
+ 117: V,
2163
+ 118: H
2164
+ },
2165
+ {
2166
+ 77: [1, 196],
2167
+ 79: 197,
2168
+ 116: Te,
2169
+ 119: Ee
2170
+ },
2171
+ e(Qe, [2, 79]),
2172
+ e(Qe, [2, 81]),
2173
+ e(Qe, [2, 82]),
2174
+ e(Qe, [2, 168]),
2175
+ e(Qe, [2, 169]),
2176
+ {
2177
+ 76: 198,
2178
+ 79: 120,
2179
+ 80: Ce,
2180
+ 81: we,
2181
+ 116: Te,
2182
+ 119: Ee
2183
+ },
2184
+ e(De, [2, 84]),
2185
+ {
2186
+ 8: k,
2187
+ 9: A,
2188
+ 10: Oe,
2189
+ 11: j,
2190
+ 12: ke,
2191
+ 14: Ae,
2192
+ 21: 200,
2193
+ 27: je,
2194
+ 29: [1, 199],
2195
+ 32: Me,
2196
+ 44: Ne,
2197
+ 60: Pe,
2198
+ 75: Fe,
2199
+ 83: 140,
2200
+ 84: Ie,
2201
+ 85: Le,
2202
+ 86: Re,
2203
+ 87: ze,
2204
+ 88: Be,
2205
+ 89: Ve,
2206
+ 90: He,
2207
+ 91: 201,
2208
+ 105: Ue,
2209
+ 109: We,
2210
+ 111: Ge,
2211
+ 114: Ke,
2212
+ 115: qe,
2213
+ 116: Je
2214
+ },
2215
+ e(U, [2, 101]),
2216
+ e(U, [2, 103]),
2217
+ e(U, [2, 104]),
2218
+ e(U, [2, 157]),
2219
+ e(U, [2, 158]),
2220
+ e(U, [2, 159]),
2221
+ e(U, [2, 160]),
2222
+ e(U, [2, 161]),
2223
+ e(U, [2, 162]),
2224
+ e(U, [2, 163]),
2225
+ e(U, [2, 164]),
2226
+ e(U, [2, 165]),
2227
+ e(U, [2, 166]),
2228
+ e(U, [2, 167]),
2229
+ e(U, [2, 90]),
2230
+ e(U, [2, 91]),
2231
+ e(U, [2, 92]),
2232
+ e(U, [2, 93]),
2233
+ e(U, [2, 94]),
2234
+ e(U, [2, 95]),
2235
+ e(U, [2, 96]),
2236
+ e(U, [2, 97]),
2237
+ e(U, [2, 98]),
2238
+ e(U, [2, 99]),
2239
+ e(U, [2, 100]),
2240
+ {
2241
+ 6: 11,
2242
+ 7: 12,
2243
+ 8: s,
2244
+ 9: c,
2245
+ 10: l,
2246
+ 11: u,
2247
+ 20: 17,
2248
+ 22: 18,
2249
+ 23: 19,
2250
+ 24: 20,
2251
+ 25: 21,
2252
+ 26: 22,
2253
+ 27: ee,
2254
+ 32: [1, 202],
2255
+ 33: 24,
2256
+ 34: d,
2257
+ 36: f,
2258
+ 38: p,
2259
+ 42: 28,
2260
+ 43: 38,
2261
+ 44: m,
2262
+ 45: 39,
2263
+ 47: 40,
2264
+ 60: h,
2265
+ 84: te,
2266
+ 85: g,
2267
+ 86: ne,
2268
+ 87: re,
2269
+ 88: ie,
2270
+ 89: _,
2271
+ 102: v,
2272
+ 105: y,
2273
+ 106: b,
2274
+ 109: x,
2275
+ 111: S,
2276
+ 113: 41,
2277
+ 114: C,
2278
+ 115: w,
2279
+ 116: T,
2280
+ 121: E,
2281
+ 122: ae,
2282
+ 123: oe,
2283
+ 124: se
2284
+ },
2285
+ {
2286
+ 10: D,
2287
+ 18: 203
2288
+ },
2289
+ { 44: [1, 204] },
2290
+ e(M, [2, 43]),
2291
+ {
2292
+ 10: [1, 205],
2293
+ 44: m,
2294
+ 60: h,
2295
+ 89: _,
2296
+ 102: v,
2297
+ 105: y,
2298
+ 106: b,
2299
+ 109: x,
2300
+ 111: S,
2301
+ 113: 112,
2302
+ 114: C,
2303
+ 115: w,
2304
+ 116: T
2305
+ },
2306
+ { 10: [1, 206] },
2307
+ {
2308
+ 10: [1, 207],
2309
+ 106: [1, 208]
2310
+ },
2311
+ e($e, [2, 128]),
2312
+ {
2313
+ 10: [1, 209],
2314
+ 44: m,
2315
+ 60: h,
2316
+ 89: _,
2317
+ 102: v,
2318
+ 105: y,
2319
+ 106: b,
2320
+ 109: x,
2321
+ 111: S,
2322
+ 113: 112,
2323
+ 114: C,
2324
+ 115: w,
2325
+ 116: T
2326
+ },
2327
+ {
2328
+ 10: [1, 210],
2329
+ 44: m,
2330
+ 60: h,
2331
+ 89: _,
2332
+ 102: v,
2333
+ 105: y,
2334
+ 106: b,
2335
+ 109: x,
2336
+ 111: S,
2337
+ 113: 112,
2338
+ 114: C,
2339
+ 115: w,
2340
+ 116: T
2341
+ },
2342
+ { 80: [1, 211] },
2343
+ e(F, [2, 109], { 10: [1, 212] }),
2344
+ e(F, [2, 111], { 10: [1, 213] }),
2345
+ { 80: [1, 214] },
2346
+ e(I, [2, 184]),
2347
+ {
2348
+ 80: [1, 215],
2349
+ 98: [1, 216]
2350
+ },
2351
+ e(M, [2, 55], {
2352
+ 113: 112,
2353
+ 44: m,
2354
+ 60: h,
2355
+ 89: _,
2356
+ 102: v,
2357
+ 105: y,
2358
+ 106: b,
2359
+ 109: x,
2360
+ 111: S,
2361
+ 114: C,
2362
+ 115: w,
2363
+ 116: T
2364
+ }),
2365
+ {
2366
+ 31: [1, 217],
2367
+ 67: L,
2368
+ 82: 218,
2369
+ 116: B,
2370
+ 117: V,
2371
+ 118: H
2372
+ },
2373
+ e(W, [2, 86]),
2374
+ e(W, [2, 88]),
2375
+ e(W, [2, 89]),
2376
+ e(W, [2, 153]),
2377
+ e(W, [2, 154]),
2378
+ e(W, [2, 155]),
2379
+ e(W, [2, 156]),
2380
+ {
2381
+ 49: [1, 219],
2382
+ 67: L,
2383
+ 82: 218,
2384
+ 116: B,
2385
+ 117: V,
2386
+ 118: H
2387
+ },
2388
+ {
2389
+ 30: 220,
2390
+ 67: L,
2391
+ 80: R,
2392
+ 81: z,
2393
+ 82: 171,
2394
+ 116: B,
2395
+ 117: V,
2396
+ 118: H
2397
+ },
2398
+ {
2399
+ 51: [1, 221],
2400
+ 67: L,
2401
+ 82: 218,
2402
+ 116: B,
2403
+ 117: V,
2404
+ 118: H
2405
+ },
2406
+ {
2407
+ 53: [1, 222],
2408
+ 67: L,
2409
+ 82: 218,
2410
+ 116: B,
2411
+ 117: V,
2412
+ 118: H
2413
+ },
2414
+ {
2415
+ 55: [1, 223],
2416
+ 67: L,
2417
+ 82: 218,
2418
+ 116: B,
2419
+ 117: V,
2420
+ 118: H
2421
+ },
2422
+ {
2423
+ 57: [1, 224],
2424
+ 67: L,
2425
+ 82: 218,
2426
+ 116: B,
2427
+ 117: V,
2428
+ 118: H
2429
+ },
2430
+ { 60: [1, 225] },
2431
+ {
2432
+ 64: [1, 226],
2433
+ 67: L,
2434
+ 82: 218,
2435
+ 116: B,
2436
+ 117: V,
2437
+ 118: H
2438
+ },
2439
+ {
2440
+ 66: [1, 227],
2441
+ 67: L,
2442
+ 82: 218,
2443
+ 116: B,
2444
+ 117: V,
2445
+ 118: H
2446
+ },
2447
+ {
2448
+ 30: 228,
2449
+ 67: L,
2450
+ 80: R,
2451
+ 81: z,
2452
+ 82: 171,
2453
+ 116: B,
2454
+ 117: V,
2455
+ 118: H
2456
+ },
2457
+ {
2458
+ 31: [1, 229],
2459
+ 67: L,
2460
+ 82: 218,
2461
+ 116: B,
2462
+ 117: V,
2463
+ 118: H
2464
+ },
2465
+ {
2466
+ 67: L,
2467
+ 69: [1, 230],
2468
+ 71: [1, 231],
2469
+ 82: 218,
2470
+ 116: B,
2471
+ 117: V,
2472
+ 118: H
2473
+ },
2474
+ {
2475
+ 67: L,
2476
+ 69: [1, 233],
2477
+ 71: [1, 232],
2478
+ 82: 218,
2479
+ 116: B,
2480
+ 117: V,
2481
+ 118: H
2482
+ },
2483
+ e(ce, [2, 45], {
2484
+ 18: 155,
2485
+ 10: D,
2486
+ 40: Ze
2487
+ }),
2488
+ e(ce, [2, 47], { 44: Xe }),
2489
+ e(Se, [2, 75]),
2490
+ e(Se, [2, 74]),
2491
+ {
2492
+ 62: [1, 234],
2493
+ 67: L,
2494
+ 82: 218,
2495
+ 116: B,
2496
+ 117: V,
2497
+ 118: H
2498
+ },
2499
+ e(Se, [2, 77]),
2500
+ e(Qe, [2, 80]),
2501
+ {
2502
+ 77: [1, 235],
2503
+ 79: 197,
2504
+ 116: Te,
2505
+ 119: Ee
2506
+ },
2507
+ {
2508
+ 30: 236,
2509
+ 67: L,
2510
+ 80: R,
2511
+ 81: z,
2512
+ 82: 171,
2513
+ 116: B,
2514
+ 117: V,
2515
+ 118: H
2516
+ },
2517
+ e(Ye, o, { 5: 237 }),
2518
+ e(U, [2, 102]),
2519
+ e(O, [2, 35]),
2520
+ {
2521
+ 43: 238,
2522
+ 44: m,
2523
+ 45: 39,
2524
+ 47: 40,
2525
+ 60: h,
2526
+ 89: _,
2527
+ 102: v,
2528
+ 105: y,
2529
+ 106: b,
2530
+ 109: x,
2531
+ 111: S,
2532
+ 113: 41,
2533
+ 114: C,
2534
+ 115: w,
2535
+ 116: T
2536
+ },
2537
+ {
2538
+ 10: D,
2539
+ 18: 239
2540
+ },
2541
+ {
2542
+ 10: G,
2543
+ 60: K,
2544
+ 84: q,
2545
+ 92: 240,
2546
+ 105: J,
2547
+ 107: 241,
2548
+ 108: 242,
2549
+ 109: Y,
2550
+ 110: X,
2551
+ 111: Z,
2552
+ 112: Q
2553
+ },
2554
+ {
2555
+ 10: G,
2556
+ 60: K,
2557
+ 84: q,
2558
+ 92: 251,
2559
+ 104: [1, 252],
2560
+ 105: J,
2561
+ 107: 241,
2562
+ 108: 242,
2563
+ 109: Y,
2564
+ 110: X,
2565
+ 111: Z,
2566
+ 112: Q
2567
+ },
2568
+ {
2569
+ 10: G,
2570
+ 60: K,
2571
+ 84: q,
2572
+ 92: 253,
2573
+ 104: [1, 254],
2574
+ 105: J,
2575
+ 107: 241,
2576
+ 108: 242,
2577
+ 109: Y,
2578
+ 110: X,
2579
+ 111: Z,
2580
+ 112: Q
2581
+ },
2582
+ { 105: [1, 255] },
2583
+ {
2584
+ 10: G,
2585
+ 60: K,
2586
+ 84: q,
2587
+ 92: 256,
2588
+ 105: J,
2589
+ 107: 241,
2590
+ 108: 242,
2591
+ 109: Y,
2592
+ 110: X,
2593
+ 111: Z,
2594
+ 112: Q
2595
+ },
2596
+ {
2597
+ 44: m,
2598
+ 47: 257,
2599
+ 60: h,
2600
+ 89: _,
2601
+ 102: v,
2602
+ 105: y,
2603
+ 106: b,
2604
+ 109: x,
2605
+ 111: S,
2606
+ 113: 41,
2607
+ 114: C,
2608
+ 115: w,
2609
+ 116: T
2610
+ },
2611
+ e(F, [2, 108]),
2612
+ { 80: [1, 258] },
2613
+ {
2614
+ 80: [1, 259],
2615
+ 98: [1, 260]
2616
+ },
2617
+ e(F, [2, 116]),
2618
+ e(F, [2, 118], { 10: [1, 261] }),
2619
+ e(F, [2, 119]),
2620
+ e(N, [2, 56]),
2621
+ e(W, [2, 87]),
2622
+ e(N, [2, 57]),
2623
+ {
2624
+ 51: [1, 262],
2625
+ 67: L,
2626
+ 82: 218,
2627
+ 116: B,
2628
+ 117: V,
2629
+ 118: H
2630
+ },
2631
+ e(N, [2, 64]),
2632
+ e(N, [2, 59]),
2633
+ e(N, [2, 60]),
2634
+ e(N, [2, 61]),
2635
+ { 109: [1, 263] },
2636
+ e(N, [2, 63]),
2637
+ e(N, [2, 65]),
2638
+ {
2639
+ 66: [1, 264],
2640
+ 67: L,
2641
+ 82: 218,
2642
+ 116: B,
2643
+ 117: V,
2644
+ 118: H
2645
+ },
2646
+ e(N, [2, 67]),
2647
+ e(N, [2, 68]),
2648
+ e(N, [2, 70]),
2649
+ e(N, [2, 69]),
2650
+ e(N, [2, 71]),
2651
+ e([
2652
+ 10,
2653
+ 44,
2654
+ 60,
2655
+ 89,
2656
+ 102,
2657
+ 105,
2658
+ 106,
2659
+ 109,
2660
+ 111,
2661
+ 114,
2662
+ 115,
2663
+ 116
2664
+ ], [2, 85]),
2665
+ e(Se, [2, 78]),
2666
+ {
2667
+ 31: [1, 265],
2668
+ 67: L,
2669
+ 82: 218,
2670
+ 116: B,
2671
+ 117: V,
2672
+ 118: H
2673
+ },
2674
+ {
2675
+ 6: 11,
2676
+ 7: 12,
2677
+ 8: s,
2678
+ 9: c,
2679
+ 10: l,
2680
+ 11: u,
2681
+ 20: 17,
2682
+ 22: 18,
2683
+ 23: 19,
2684
+ 24: 20,
2685
+ 25: 21,
2686
+ 26: 22,
2687
+ 27: ee,
2688
+ 32: [1, 266],
2689
+ 33: 24,
2690
+ 34: d,
2691
+ 36: f,
2692
+ 38: p,
2693
+ 42: 28,
2694
+ 43: 38,
2695
+ 44: m,
2696
+ 45: 39,
2697
+ 47: 40,
2698
+ 60: h,
2699
+ 84: te,
2700
+ 85: g,
2701
+ 86: ne,
2702
+ 87: re,
2703
+ 88: ie,
2704
+ 89: _,
2705
+ 102: v,
2706
+ 105: y,
2707
+ 106: b,
2708
+ 109: x,
2709
+ 111: S,
2710
+ 113: 41,
2711
+ 114: C,
2712
+ 115: w,
2713
+ 116: T,
2714
+ 121: E,
2715
+ 122: ae,
2716
+ 123: oe,
2717
+ 124: se
2718
+ },
2719
+ e(M, [2, 53]),
2720
+ {
2721
+ 43: 267,
2722
+ 44: m,
2723
+ 45: 39,
2724
+ 47: 40,
2725
+ 60: h,
2726
+ 89: _,
2727
+ 102: v,
2728
+ 105: y,
2729
+ 106: b,
2730
+ 109: x,
2731
+ 111: S,
2732
+ 113: 41,
2733
+ 114: C,
2734
+ 115: w,
2735
+ 116: T
2736
+ },
2737
+ e(F, [2, 121], { 106: et }),
2738
+ e(tt, [2, 130], {
2739
+ 108: 269,
2740
+ 10: G,
2741
+ 60: K,
2742
+ 84: q,
2743
+ 105: J,
2744
+ 109: Y,
2745
+ 110: X,
2746
+ 111: Z,
2747
+ 112: Q
2748
+ }),
2749
+ e($, [2, 132]),
2750
+ e($, [2, 134]),
2751
+ e($, [2, 135]),
2752
+ e($, [2, 136]),
2753
+ e($, [2, 137]),
2754
+ e($, [2, 138]),
2755
+ e($, [2, 139]),
2756
+ e($, [2, 140]),
2757
+ e($, [2, 141]),
2758
+ e(F, [2, 122], { 106: et }),
2759
+ { 10: [1, 270] },
2760
+ e(F, [2, 123], { 106: et }),
2761
+ { 10: [1, 271] },
2762
+ e($e, [2, 129]),
2763
+ e(F, [2, 105], { 106: et }),
2764
+ e(F, [2, 106], {
2765
+ 113: 112,
2766
+ 44: m,
2767
+ 60: h,
2768
+ 89: _,
2769
+ 102: v,
2770
+ 105: y,
2771
+ 106: b,
2772
+ 109: x,
2773
+ 111: S,
2774
+ 114: C,
2775
+ 115: w,
2776
+ 116: T
2777
+ }),
2778
+ e(F, [2, 110]),
2779
+ e(F, [2, 112], { 10: [1, 272] }),
2780
+ e(F, [2, 113]),
2781
+ { 98: [1, 273] },
2782
+ { 51: [1, 274] },
2783
+ { 62: [1, 275] },
2784
+ { 66: [1, 276] },
2785
+ {
2786
+ 8: k,
2787
+ 9: A,
2788
+ 11: j,
2789
+ 21: 277
2790
+ },
2791
+ e(O, [2, 34]),
2792
+ e(M, [2, 52]),
2793
+ {
2794
+ 10: G,
2795
+ 60: K,
2796
+ 84: q,
2797
+ 105: J,
2798
+ 107: 278,
2799
+ 108: 242,
2800
+ 109: Y,
2801
+ 110: X,
2802
+ 111: Z,
2803
+ 112: Q
2804
+ },
2805
+ e($, [2, 133]),
2806
+ {
2807
+ 14: ue,
2808
+ 44: de,
2809
+ 60: fe,
2810
+ 89: pe,
2811
+ 101: 279,
2812
+ 105: me,
2813
+ 106: he,
2814
+ 109: ge,
2815
+ 111: _e,
2816
+ 114: ve,
2817
+ 115: ye,
2818
+ 116: be,
2819
+ 120: 87
2820
+ },
2821
+ {
2822
+ 14: ue,
2823
+ 44: de,
2824
+ 60: fe,
2825
+ 89: pe,
2826
+ 101: 280,
2827
+ 105: me,
2828
+ 106: he,
2829
+ 109: ge,
2830
+ 111: _e,
2831
+ 114: ve,
2832
+ 115: ye,
2833
+ 116: be,
2834
+ 120: 87
2835
+ },
2836
+ { 98: [1, 281] },
2837
+ e(F, [2, 120]),
2838
+ e(N, [2, 58]),
2839
+ {
2840
+ 30: 282,
2841
+ 67: L,
2842
+ 80: R,
2843
+ 81: z,
2844
+ 82: 171,
2845
+ 116: B,
2846
+ 117: V,
2847
+ 118: H
2848
+ },
2849
+ e(N, [2, 66]),
2850
+ e(Ye, o, { 5: 283 }),
2851
+ e(tt, [2, 131], {
2852
+ 108: 269,
2853
+ 10: G,
2854
+ 60: K,
2855
+ 84: q,
2856
+ 105: J,
2857
+ 109: Y,
2858
+ 110: X,
2859
+ 111: Z,
2860
+ 112: Q
2861
+ }),
2862
+ e(F, [2, 126], {
2863
+ 120: 167,
2864
+ 10: [1, 284],
2865
+ 14: ue,
2866
+ 44: de,
2867
+ 60: fe,
2868
+ 89: pe,
2869
+ 105: me,
2870
+ 106: he,
2871
+ 109: ge,
2872
+ 111: _e,
2873
+ 114: ve,
2874
+ 115: ye,
2875
+ 116: be
2876
+ }),
2877
+ e(F, [2, 127], {
2878
+ 120: 167,
2879
+ 10: [1, 285],
2880
+ 14: ue,
2881
+ 44: de,
2882
+ 60: fe,
2883
+ 89: pe,
2884
+ 105: me,
2885
+ 106: he,
2886
+ 109: ge,
2887
+ 111: _e,
2888
+ 114: ve,
2889
+ 115: ye,
2890
+ 116: be
2891
+ }),
2892
+ e(F, [2, 114]),
2893
+ {
2894
+ 31: [1, 286],
2895
+ 67: L,
2896
+ 82: 218,
2897
+ 116: B,
2898
+ 117: V,
2899
+ 118: H
2900
+ },
2901
+ {
2902
+ 6: 11,
2903
+ 7: 12,
2904
+ 8: s,
2905
+ 9: c,
2906
+ 10: l,
2907
+ 11: u,
2908
+ 20: 17,
2909
+ 22: 18,
2910
+ 23: 19,
2911
+ 24: 20,
2912
+ 25: 21,
2913
+ 26: 22,
2914
+ 27: ee,
2915
+ 32: [1, 287],
2916
+ 33: 24,
2917
+ 34: d,
2918
+ 36: f,
2919
+ 38: p,
2920
+ 42: 28,
2921
+ 43: 38,
2922
+ 44: m,
2923
+ 45: 39,
2924
+ 47: 40,
2925
+ 60: h,
2926
+ 84: te,
2927
+ 85: g,
2928
+ 86: ne,
2929
+ 87: re,
2930
+ 88: ie,
2931
+ 89: _,
2932
+ 102: v,
2933
+ 105: y,
2934
+ 106: b,
2935
+ 109: x,
2936
+ 111: S,
2937
+ 113: 41,
2938
+ 114: C,
2939
+ 115: w,
2940
+ 116: T,
2941
+ 121: E,
2942
+ 122: ae,
2943
+ 123: oe,
2944
+ 124: se
2945
+ },
2946
+ {
2947
+ 10: G,
2948
+ 60: K,
2949
+ 84: q,
2950
+ 92: 288,
2951
+ 105: J,
2952
+ 107: 241,
2953
+ 108: 242,
2954
+ 109: Y,
2955
+ 110: X,
2956
+ 111: Z,
2957
+ 112: Q
2958
+ },
2959
+ {
2960
+ 10: G,
2961
+ 60: K,
2962
+ 84: q,
2963
+ 92: 289,
2964
+ 105: J,
2965
+ 107: 241,
2966
+ 108: 242,
2967
+ 109: Y,
2968
+ 110: X,
2969
+ 111: Z,
2970
+ 112: Q
2971
+ },
2972
+ e(N, [2, 62]),
2973
+ e(O, [2, 33]),
2974
+ e(F, [2, 124], { 106: et }),
2975
+ e(F, [2, 125], { 106: et })
2976
+ ],
2977
+ defaultActions: {},
2978
+ parseError: /* @__PURE__ */ __name(function(e, t) {
2979
+ if (t.recoverable) this.trace(e);
2980
+ else {
2981
+ var n = Error(e);
2982
+ throw n.hash = t, n;
2983
+ }
2984
+ }, "parseError"),
2985
+ parse: /* @__PURE__ */ __name(function(e) {
2986
+ var t = this, n = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, ee = 0, d = 2, f = 1, p = o.slice.call(arguments, 1), m = Object.create(this.lexer), h = { yy: {} };
2987
+ for (var te in this.yy) Object.prototype.hasOwnProperty.call(this.yy, te) && (h.yy[te] = this.yy[te]);
2988
+ m.setInput(e, h.yy), h.yy.lexer = m, h.yy.parser = this, m.yylloc === void 0 && (m.yylloc = {});
2989
+ var g = m.yylloc;
2990
+ o.push(g);
2991
+ var ne = m.options && m.options.ranges;
2992
+ typeof h.yy.parseError == "function" ? this.parseError = h.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
2993
+ function re(e) {
2994
+ n.length -= 2 * e, a.length -= e, o.length -= e;
2995
+ }
2996
+ __name(re, "popStack");
2997
+ function ie() {
2998
+ var e = i.pop() || m.lex() || f;
2999
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
3000
+ }
3001
+ __name(ie, "lex");
3002
+ for (var _, v, y, b, x, S = {}, C, w, T, E;;) {
3003
+ if (y = n[n.length - 1], this.defaultActions[y] ? b = this.defaultActions[y] : (_ ??= ie(), b = s[y] && s[y][_]), b === void 0 || !b.length || !b[0]) {
3004
+ var ae = "";
3005
+ for (C in E = [], s[y]) this.terminals_[C] && C > d && E.push("'" + this.terminals_[C] + "'");
3006
+ ae = m.showPosition ? "Parse error on line " + (l + 1) + ":\n" + m.showPosition() + "\nExpecting " + E.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (_ == f ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(ae, {
3007
+ text: m.match,
3008
+ token: this.terminals_[_] || _,
3009
+ line: m.yylineno,
3010
+ loc: g,
3011
+ expected: E
3012
+ });
3013
+ }
3014
+ if (b[0] instanceof Array && b.length > 1) throw Error("Parse Error: multiple actions possible at state: " + y + ", token: " + _);
3015
+ switch (b[0]) {
3016
+ case 1:
3017
+ n.push(_), a.push(m.yytext), o.push(m.yylloc), n.push(b[1]), _ = null, v ? (_ = v, v = null) : (u = m.yyleng, c = m.yytext, l = m.yylineno, g = m.yylloc, ee > 0 && ee--);
3018
+ break;
3019
+ case 2:
3020
+ if (w = this.productions_[b[1]][1], S.$ = a[a.length - w], S._$ = {
3021
+ first_line: o[o.length - (w || 1)].first_line,
3022
+ last_line: o[o.length - 1].last_line,
3023
+ first_column: o[o.length - (w || 1)].first_column,
3024
+ last_column: o[o.length - 1].last_column
3025
+ }, ne && (S._$.range = [o[o.length - (w || 1)].range[0], o[o.length - 1].range[1]]), x = this.performAction.apply(S, [
3026
+ c,
3027
+ u,
3028
+ l,
3029
+ h.yy,
3030
+ b[1],
3031
+ a,
3032
+ o
3033
+ ].concat(p)), x !== void 0) return x;
3034
+ w && (n = n.slice(0, -1 * w * 2), a = a.slice(0, -1 * w), o = o.slice(0, -1 * w)), n.push(this.productions_[b[1]][0]), a.push(S.$), o.push(S._$), T = s[n[n.length - 2]][n[n.length - 1]], n.push(T);
3035
+ break;
3036
+ case 3: return !0;
3037
+ }
3038
+ }
3039
+ return !0;
3040
+ }, "parse")
3041
+ };
3042
+ nt.lexer = /* @__PURE__ */ (function() {
3043
+ return {
3044
+ EOF: 1,
3045
+ parseError: /* @__PURE__ */ __name(function(e, t) {
3046
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
3047
+ else throw Error(e);
3048
+ }, "parseError"),
3049
+ setInput: /* @__PURE__ */ __name(function(e, t) {
3050
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
3051
+ first_line: 1,
3052
+ first_column: 0,
3053
+ last_line: 1,
3054
+ last_column: 0
3055
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
3056
+ }, "setInput"),
3057
+ input: /* @__PURE__ */ __name(function() {
3058
+ var e = this._input[0];
3059
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
3060
+ }, "input"),
3061
+ unput: /* @__PURE__ */ __name(function(e) {
3062
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
3063
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
3064
+ var r = this.match.split(/(?:\r\n?|\n)/g);
3065
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
3066
+ var i = this.yylloc.range;
3067
+ return this.yylloc = {
3068
+ first_line: this.yylloc.first_line,
3069
+ last_line: this.yylineno + 1,
3070
+ first_column: this.yylloc.first_column,
3071
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
3072
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
3073
+ }, "unput"),
3074
+ more: /* @__PURE__ */ __name(function() {
3075
+ return this._more = !0, this;
3076
+ }, "more"),
3077
+ reject: /* @__PURE__ */ __name(function() {
3078
+ if (this.options.backtrack_lexer) this._backtrack = !0;
3079
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
3080
+ text: "",
3081
+ token: null,
3082
+ line: this.yylineno
3083
+ });
3084
+ return this;
3085
+ }, "reject"),
3086
+ less: /* @__PURE__ */ __name(function(e) {
3087
+ this.unput(this.match.slice(e));
3088
+ }, "less"),
3089
+ pastInput: /* @__PURE__ */ __name(function() {
3090
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
3091
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
3092
+ }, "pastInput"),
3093
+ upcomingInput: /* @__PURE__ */ __name(function() {
3094
+ var e = this.match;
3095
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
3096
+ }, "upcomingInput"),
3097
+ showPosition: /* @__PURE__ */ __name(function() {
3098
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
3099
+ return e + this.upcomingInput() + "\n" + t + "^";
3100
+ }, "showPosition"),
3101
+ test_match: /* @__PURE__ */ __name(function(e, t) {
3102
+ var n, r, i;
3103
+ if (this.options.backtrack_lexer && (i = {
3104
+ yylineno: this.yylineno,
3105
+ yylloc: {
3106
+ first_line: this.yylloc.first_line,
3107
+ last_line: this.last_line,
3108
+ first_column: this.yylloc.first_column,
3109
+ last_column: this.yylloc.last_column
3110
+ },
3111
+ yytext: this.yytext,
3112
+ match: this.match,
3113
+ matches: this.matches,
3114
+ matched: this.matched,
3115
+ yyleng: this.yyleng,
3116
+ offset: this.offset,
3117
+ _more: this._more,
3118
+ _input: this._input,
3119
+ yy: this.yy,
3120
+ conditionStack: this.conditionStack.slice(0),
3121
+ done: this.done
3122
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
3123
+ first_line: this.yylloc.last_line,
3124
+ last_line: this.yylineno + 1,
3125
+ first_column: this.yylloc.last_column,
3126
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
3127
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
3128
+ if (this._backtrack) {
3129
+ for (var a in i) this[a] = i[a];
3130
+ return !1;
3131
+ }
3132
+ return !1;
3133
+ }, "test_match"),
3134
+ next: /* @__PURE__ */ __name(function() {
3135
+ if (this.done) return this.EOF;
3136
+ this._input || (this.done = !0);
3137
+ var e, t, n, r;
3138
+ this._more || (this.yytext = "", this.match = "");
3139
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
3140
+ if (t = n, r = a, this.options.backtrack_lexer) {
3141
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
3142
+ if (this._backtrack) {
3143
+ t = !1;
3144
+ continue;
3145
+ } else return !1;
3146
+ } else if (!this.options.flex) break;
3147
+ }
3148
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
3149
+ text: "",
3150
+ token: null,
3151
+ line: this.yylineno
3152
+ });
3153
+ }, "next"),
3154
+ lex: /* @__PURE__ */ __name(function() {
3155
+ return this.next() || this.lex();
3156
+ }, "lex"),
3157
+ begin: /* @__PURE__ */ __name(function(e) {
3158
+ this.conditionStack.push(e);
3159
+ }, "begin"),
3160
+ popState: /* @__PURE__ */ __name(function() {
3161
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
3162
+ }, "popState"),
3163
+ _currentRules: /* @__PURE__ */ __name(function() {
3164
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
3165
+ }, "_currentRules"),
3166
+ topState: /* @__PURE__ */ __name(function(e) {
3167
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
3168
+ }, "topState"),
3169
+ pushState: /* @__PURE__ */ __name(function(e) {
3170
+ this.begin(e);
3171
+ }, "pushState"),
3172
+ stateStackSize: /* @__PURE__ */ __name(function() {
3173
+ return this.conditionStack.length;
3174
+ }, "stateStackSize"),
3175
+ options: {},
3176
+ performAction: /* @__PURE__ */ __name(function(e, t, n, r) {
3177
+ switch (n) {
3178
+ case 0: return this.begin("acc_title"), 34;
3179
+ case 1: return this.popState(), "acc_title_value";
3180
+ case 2: return this.begin("acc_descr"), 36;
3181
+ case 3: return this.popState(), "acc_descr_value";
3182
+ case 4:
3183
+ this.begin("acc_descr_multiline");
3184
+ break;
3185
+ case 5:
3186
+ this.popState();
3187
+ break;
3188
+ case 6: return "acc_descr_multiline_value";
3189
+ case 7: return this.pushState("shapeData"), t.yytext = "", 40;
3190
+ case 8: return this.pushState("shapeDataStr"), 40;
3191
+ case 9: return this.popState(), 40;
3192
+ case 10: return t.yytext = t.yytext.replace(/\n\s*/g, "<br/>"), 40;
3193
+ case 11: return 40;
3194
+ case 12:
3195
+ this.popState();
3196
+ break;
3197
+ case 13:
3198
+ this.begin("callbackname");
3199
+ break;
3200
+ case 14:
3201
+ this.popState();
3202
+ break;
3203
+ case 15:
3204
+ this.popState(), this.begin("callbackargs");
3205
+ break;
3206
+ case 16: return 95;
3207
+ case 17:
3208
+ this.popState();
3209
+ break;
3210
+ case 18: return 96;
3211
+ case 19: return "MD_STR";
3212
+ case 20:
3213
+ this.popState();
3214
+ break;
3215
+ case 21:
3216
+ this.begin("md_string");
3217
+ break;
3218
+ case 22: return "STR";
3219
+ case 23:
3220
+ this.popState();
3221
+ break;
3222
+ case 24:
3223
+ this.pushState("string");
3224
+ break;
3225
+ case 25: return 84;
3226
+ case 26: return 102;
3227
+ case 27: return 85;
3228
+ case 28: return 104;
3229
+ case 29: return 86;
3230
+ case 30: return 87;
3231
+ case 31: return 97;
3232
+ case 32:
3233
+ this.begin("click");
3234
+ break;
3235
+ case 33:
3236
+ this.popState();
3237
+ break;
3238
+ case 34: return 88;
3239
+ case 35: return e.lex.firstGraph() && this.begin("dir"), 12;
3240
+ case 36: return e.lex.firstGraph() && this.begin("dir"), 12;
3241
+ case 37: return e.lex.firstGraph() && this.begin("dir"), 12;
3242
+ case 38: return 27;
3243
+ case 39: return 32;
3244
+ case 40: return 98;
3245
+ case 41: return 98;
3246
+ case 42: return 98;
3247
+ case 43: return 98;
3248
+ case 44: return this.popState(), 13;
3249
+ case 45: return this.popState(), 14;
3250
+ case 46: return this.popState(), 14;
3251
+ case 47: return this.popState(), 14;
3252
+ case 48: return this.popState(), 14;
3253
+ case 49: return this.popState(), 14;
3254
+ case 50: return this.popState(), 14;
3255
+ case 51: return this.popState(), 14;
3256
+ case 52: return this.popState(), 14;
3257
+ case 53: return this.popState(), 14;
3258
+ case 54: return this.popState(), 14;
3259
+ case 55: return 121;
3260
+ case 56: return 122;
3261
+ case 57: return 123;
3262
+ case 58: return 124;
3263
+ case 59: return 78;
3264
+ case 60: return 105;
3265
+ case 61: return 111;
3266
+ case 62: return 46;
3267
+ case 63: return 60;
3268
+ case 64: return 44;
3269
+ case 65: return 8;
3270
+ case 66: return 106;
3271
+ case 67: return 115;
3272
+ case 68: return this.popState(), 77;
3273
+ case 69: return this.pushState("edgeText"), 75;
3274
+ case 70: return 119;
3275
+ case 71: return this.popState(), 77;
3276
+ case 72: return this.pushState("thickEdgeText"), 75;
3277
+ case 73: return 119;
3278
+ case 74: return this.popState(), 77;
3279
+ case 75: return this.pushState("dottedEdgeText"), 75;
3280
+ case 76: return 119;
3281
+ case 77: return 77;
3282
+ case 78: return this.popState(), 53;
3283
+ case 79: return "TEXT";
3284
+ case 80: return this.pushState("ellipseText"), 52;
3285
+ case 81: return this.popState(), 55;
3286
+ case 82: return this.pushState("text"), 54;
3287
+ case 83: return this.popState(), 57;
3288
+ case 84: return this.pushState("text"), 56;
3289
+ case 85: return 58;
3290
+ case 86: return this.pushState("text"), 67;
3291
+ case 87: return this.popState(), 64;
3292
+ case 88: return this.pushState("text"), 63;
3293
+ case 89: return this.popState(), 49;
3294
+ case 90: return this.pushState("text"), 48;
3295
+ case 91: return this.popState(), 69;
3296
+ case 92: return this.popState(), 71;
3297
+ case 93: return 117;
3298
+ case 94: return this.pushState("trapText"), 68;
3299
+ case 95: return this.pushState("trapText"), 70;
3300
+ case 96: return 118;
3301
+ case 97: return 67;
3302
+ case 98: return 90;
3303
+ case 99: return "SEP";
3304
+ case 100: return 89;
3305
+ case 101: return 115;
3306
+ case 102: return 111;
3307
+ case 103: return 44;
3308
+ case 104: return 109;
3309
+ case 105: return 114;
3310
+ case 106: return 116;
3311
+ case 107: return this.popState(), 62;
3312
+ case 108: return this.pushState("text"), 62;
3313
+ case 109: return this.popState(), 51;
3314
+ case 110: return this.pushState("text"), 50;
3315
+ case 111: return this.popState(), 31;
3316
+ case 112: return this.pushState("text"), 29;
3317
+ case 113: return this.popState(), 66;
3318
+ case 114: return this.pushState("text"), 65;
3319
+ case 115: return "TEXT";
3320
+ case 116: return "QUOTE";
3321
+ case 117: return 9;
3322
+ case 118: return 10;
3323
+ case 119: return 11;
3324
+ }
3325
+ }, "anonymous"),
3326
+ rules: [
3327
+ /^(?:accTitle\s*:\s*)/,
3328
+ /^(?:(?!\n||)*[^\n]*)/,
3329
+ /^(?:accDescr\s*:\s*)/,
3330
+ /^(?:(?!\n||)*[^\n]*)/,
3331
+ /^(?:accDescr\s*\{\s*)/,
3332
+ /^(?:[\}])/,
3333
+ /^(?:[^\}]*)/,
3334
+ /^(?:@\{)/,
3335
+ /^(?:["])/,
3336
+ /^(?:["])/,
3337
+ /^(?:[^\"]+)/,
3338
+ /^(?:[^}^"]+)/,
3339
+ /^(?:\})/,
3340
+ /^(?:call[\s]+)/,
3341
+ /^(?:\([\s]*\))/,
3342
+ /^(?:\()/,
3343
+ /^(?:[^(]*)/,
3344
+ /^(?:\))/,
3345
+ /^(?:[^)]*)/,
3346
+ /^(?:[^`"]+)/,
3347
+ /^(?:[`]["])/,
3348
+ /^(?:["][`])/,
3349
+ /^(?:[^"]+)/,
3350
+ /^(?:["])/,
3351
+ /^(?:["])/,
3352
+ /^(?:style\b)/,
3353
+ /^(?:default\b)/,
3354
+ /^(?:linkStyle\b)/,
3355
+ /^(?:interpolate\b)/,
3356
+ /^(?:classDef\b)/,
3357
+ /^(?:class\b)/,
3358
+ /^(?:href[\s])/,
3359
+ /^(?:click[\s]+)/,
3360
+ /^(?:[\s\n])/,
3361
+ /^(?:[^\s\n]*)/,
3362
+ /^(?:flowchart-elk\b)/,
3363
+ /^(?:graph\b)/,
3364
+ /^(?:flowchart\b)/,
3365
+ /^(?:subgraph\b)/,
3366
+ /^(?:end\b\s*)/,
3367
+ /^(?:_self\b)/,
3368
+ /^(?:_blank\b)/,
3369
+ /^(?:_parent\b)/,
3370
+ /^(?:_top\b)/,
3371
+ /^(?:(\r?\n)*\s*\n)/,
3372
+ /^(?:\s*LR\b)/,
3373
+ /^(?:\s*RL\b)/,
3374
+ /^(?:\s*TB\b)/,
3375
+ /^(?:\s*BT\b)/,
3376
+ /^(?:\s*TD\b)/,
3377
+ /^(?:\s*BR\b)/,
3378
+ /^(?:\s*<)/,
3379
+ /^(?:\s*>)/,
3380
+ /^(?:\s*\^)/,
3381
+ /^(?:\s*v\b)/,
3382
+ /^(?:.*direction\s+TB[^\n]*)/,
3383
+ /^(?:.*direction\s+BT[^\n]*)/,
3384
+ /^(?:.*direction\s+RL[^\n]*)/,
3385
+ /^(?:.*direction\s+LR[^\n]*)/,
3386
+ /^(?:[^\s\"]+@(?=[^\{\"]))/,
3387
+ /^(?:[0-9]+)/,
3388
+ /^(?:#)/,
3389
+ /^(?::::)/,
3390
+ /^(?::)/,
3391
+ /^(?:&)/,
3392
+ /^(?:;)/,
3393
+ /^(?:,)/,
3394
+ /^(?:\*)/,
3395
+ /^(?:\s*[xo<]?--+[-xo>]\s*)/,
3396
+ /^(?:\s*[xo<]?--\s*)/,
3397
+ /^(?:[^-]|-(?!-)+)/,
3398
+ /^(?:\s*[xo<]?==+[=xo>]\s*)/,
3399
+ /^(?:\s*[xo<]?==\s*)/,
3400
+ /^(?:[^=]|=(?!))/,
3401
+ /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,
3402
+ /^(?:\s*[xo<]?-\.\s*)/,
3403
+ /^(?:[^\.]|\.(?!))/,
3404
+ /^(?:\s*~~[\~]+\s*)/,
3405
+ /^(?:[-/\)][\)])/,
3406
+ /^(?:[^\(\)\[\]\{\}]|!\)+)/,
3407
+ /^(?:\(-)/,
3408
+ /^(?:\]\))/,
3409
+ /^(?:\(\[)/,
3410
+ /^(?:\]\])/,
3411
+ /^(?:\[\[)/,
3412
+ /^(?:\[\|)/,
3413
+ /^(?:>)/,
3414
+ /^(?:\)\])/,
3415
+ /^(?:\[\()/,
3416
+ /^(?:\)\)\))/,
3417
+ /^(?:\(\(\()/,
3418
+ /^(?:[\\(?=\])][\]])/,
3419
+ /^(?:\/(?=\])\])/,
3420
+ /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,
3421
+ /^(?:\[\/)/,
3422
+ /^(?:\[\\)/,
3423
+ /^(?:<)/,
3424
+ /^(?:>)/,
3425
+ /^(?:\^)/,
3426
+ /^(?:\\\|)/,
3427
+ /^(?:v\b)/,
3428
+ /^(?:\*)/,
3429
+ /^(?:#)/,
3430
+ /^(?:&)/,
3431
+ /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,
3432
+ /^(?:-)/,
3433
+ /^(?:[\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])/,
3434
+ /^(?:\|)/,
3435
+ /^(?:\|)/,
3436
+ /^(?:\))/,
3437
+ /^(?:\()/,
3438
+ /^(?:\])/,
3439
+ /^(?:\[)/,
3440
+ /^(?:(\}))/,
3441
+ /^(?:\{)/,
3442
+ /^(?:[^\[\]\(\)\{\}\|\"]+)/,
3443
+ /^(?:")/,
3444
+ /^(?:(\r?\n)+)/,
3445
+ /^(?:\s)/,
3446
+ /^(?:$)/
3447
+ ],
3448
+ conditions: {
3449
+ shapeDataEndBracket: {
3450
+ rules: [
3451
+ 21,
3452
+ 24,
3453
+ 77,
3454
+ 80,
3455
+ 82,
3456
+ 84,
3457
+ 88,
3458
+ 90,
3459
+ 94,
3460
+ 95,
3461
+ 108,
3462
+ 110,
3463
+ 112,
3464
+ 114
3465
+ ],
3466
+ inclusive: !1
3467
+ },
3468
+ shapeDataStr: {
3469
+ rules: [
3470
+ 9,
3471
+ 10,
3472
+ 21,
3473
+ 24,
3474
+ 77,
3475
+ 80,
3476
+ 82,
3477
+ 84,
3478
+ 88,
3479
+ 90,
3480
+ 94,
3481
+ 95,
3482
+ 108,
3483
+ 110,
3484
+ 112,
3485
+ 114
3486
+ ],
3487
+ inclusive: !1
3488
+ },
3489
+ shapeData: {
3490
+ rules: [
3491
+ 8,
3492
+ 11,
3493
+ 12,
3494
+ 21,
3495
+ 24,
3496
+ 77,
3497
+ 80,
3498
+ 82,
3499
+ 84,
3500
+ 88,
3501
+ 90,
3502
+ 94,
3503
+ 95,
3504
+ 108,
3505
+ 110,
3506
+ 112,
3507
+ 114
3508
+ ],
3509
+ inclusive: !1
3510
+ },
3511
+ callbackargs: {
3512
+ rules: [
3513
+ 17,
3514
+ 18,
3515
+ 21,
3516
+ 24,
3517
+ 77,
3518
+ 80,
3519
+ 82,
3520
+ 84,
3521
+ 88,
3522
+ 90,
3523
+ 94,
3524
+ 95,
3525
+ 108,
3526
+ 110,
3527
+ 112,
3528
+ 114
3529
+ ],
3530
+ inclusive: !1
3531
+ },
3532
+ callbackname: {
3533
+ rules: [
3534
+ 14,
3535
+ 15,
3536
+ 16,
3537
+ 21,
3538
+ 24,
3539
+ 77,
3540
+ 80,
3541
+ 82,
3542
+ 84,
3543
+ 88,
3544
+ 90,
3545
+ 94,
3546
+ 95,
3547
+ 108,
3548
+ 110,
3549
+ 112,
3550
+ 114
3551
+ ],
3552
+ inclusive: !1
3553
+ },
3554
+ href: {
3555
+ rules: [
3556
+ 21,
3557
+ 24,
3558
+ 77,
3559
+ 80,
3560
+ 82,
3561
+ 84,
3562
+ 88,
3563
+ 90,
3564
+ 94,
3565
+ 95,
3566
+ 108,
3567
+ 110,
3568
+ 112,
3569
+ 114
3570
+ ],
3571
+ inclusive: !1
3572
+ },
3573
+ click: {
3574
+ rules: [
3575
+ 21,
3576
+ 24,
3577
+ 33,
3578
+ 34,
3579
+ 77,
3580
+ 80,
3581
+ 82,
3582
+ 84,
3583
+ 88,
3584
+ 90,
3585
+ 94,
3586
+ 95,
3587
+ 108,
3588
+ 110,
3589
+ 112,
3590
+ 114
3591
+ ],
3592
+ inclusive: !1
3593
+ },
3594
+ dottedEdgeText: {
3595
+ rules: [
3596
+ 21,
3597
+ 24,
3598
+ 74,
3599
+ 76,
3600
+ 77,
3601
+ 80,
3602
+ 82,
3603
+ 84,
3604
+ 88,
3605
+ 90,
3606
+ 94,
3607
+ 95,
3608
+ 108,
3609
+ 110,
3610
+ 112,
3611
+ 114
3612
+ ],
3613
+ inclusive: !1
3614
+ },
3615
+ thickEdgeText: {
3616
+ rules: [
3617
+ 21,
3618
+ 24,
3619
+ 71,
3620
+ 73,
3621
+ 77,
3622
+ 80,
3623
+ 82,
3624
+ 84,
3625
+ 88,
3626
+ 90,
3627
+ 94,
3628
+ 95,
3629
+ 108,
3630
+ 110,
3631
+ 112,
3632
+ 114
3633
+ ],
3634
+ inclusive: !1
3635
+ },
3636
+ edgeText: {
3637
+ rules: [
3638
+ 21,
3639
+ 24,
3640
+ 68,
3641
+ 70,
3642
+ 77,
3643
+ 80,
3644
+ 82,
3645
+ 84,
3646
+ 88,
3647
+ 90,
3648
+ 94,
3649
+ 95,
3650
+ 108,
3651
+ 110,
3652
+ 112,
3653
+ 114
3654
+ ],
3655
+ inclusive: !1
3656
+ },
3657
+ trapText: {
3658
+ rules: [
3659
+ 21,
3660
+ 24,
3661
+ 77,
3662
+ 80,
3663
+ 82,
3664
+ 84,
3665
+ 88,
3666
+ 90,
3667
+ 91,
3668
+ 92,
3669
+ 93,
3670
+ 94,
3671
+ 95,
3672
+ 108,
3673
+ 110,
3674
+ 112,
3675
+ 114
3676
+ ],
3677
+ inclusive: !1
3678
+ },
3679
+ ellipseText: {
3680
+ rules: [
3681
+ 21,
3682
+ 24,
3683
+ 77,
3684
+ 78,
3685
+ 79,
3686
+ 80,
3687
+ 82,
3688
+ 84,
3689
+ 88,
3690
+ 90,
3691
+ 94,
3692
+ 95,
3693
+ 108,
3694
+ 110,
3695
+ 112,
3696
+ 114
3697
+ ],
3698
+ inclusive: !1
3699
+ },
3700
+ text: {
3701
+ rules: [
3702
+ 21,
3703
+ 24,
3704
+ 77,
3705
+ 80,
3706
+ 81,
3707
+ 82,
3708
+ 83,
3709
+ 84,
3710
+ 87,
3711
+ 88,
3712
+ 89,
3713
+ 90,
3714
+ 94,
3715
+ 95,
3716
+ 107,
3717
+ 108,
3718
+ 109,
3719
+ 110,
3720
+ 111,
3721
+ 112,
3722
+ 113,
3723
+ 114,
3724
+ 115
3725
+ ],
3726
+ inclusive: !1
3727
+ },
3728
+ vertex: {
3729
+ rules: [
3730
+ 21,
3731
+ 24,
3732
+ 77,
3733
+ 80,
3734
+ 82,
3735
+ 84,
3736
+ 88,
3737
+ 90,
3738
+ 94,
3739
+ 95,
3740
+ 108,
3741
+ 110,
3742
+ 112,
3743
+ 114
3744
+ ],
3745
+ inclusive: !1
3746
+ },
3747
+ dir: {
3748
+ rules: [
3749
+ 21,
3750
+ 24,
3751
+ 44,
3752
+ 45,
3753
+ 46,
3754
+ 47,
3755
+ 48,
3756
+ 49,
3757
+ 50,
3758
+ 51,
3759
+ 52,
3760
+ 53,
3761
+ 54,
3762
+ 77,
3763
+ 80,
3764
+ 82,
3765
+ 84,
3766
+ 88,
3767
+ 90,
3768
+ 94,
3769
+ 95,
3770
+ 108,
3771
+ 110,
3772
+ 112,
3773
+ 114
3774
+ ],
3775
+ inclusive: !1
3776
+ },
3777
+ acc_descr_multiline: {
3778
+ rules: [
3779
+ 5,
3780
+ 6,
3781
+ 21,
3782
+ 24,
3783
+ 77,
3784
+ 80,
3785
+ 82,
3786
+ 84,
3787
+ 88,
3788
+ 90,
3789
+ 94,
3790
+ 95,
3791
+ 108,
3792
+ 110,
3793
+ 112,
3794
+ 114
3795
+ ],
3796
+ inclusive: !1
3797
+ },
3798
+ acc_descr: {
3799
+ rules: [
3800
+ 3,
3801
+ 21,
3802
+ 24,
3803
+ 77,
3804
+ 80,
3805
+ 82,
3806
+ 84,
3807
+ 88,
3808
+ 90,
3809
+ 94,
3810
+ 95,
3811
+ 108,
3812
+ 110,
3813
+ 112,
3814
+ 114
3815
+ ],
3816
+ inclusive: !1
3817
+ },
3818
+ acc_title: {
3819
+ rules: [
3820
+ 1,
3821
+ 21,
3822
+ 24,
3823
+ 77,
3824
+ 80,
3825
+ 82,
3826
+ 84,
3827
+ 88,
3828
+ 90,
3829
+ 94,
3830
+ 95,
3831
+ 108,
3832
+ 110,
3833
+ 112,
3834
+ 114
3835
+ ],
3836
+ inclusive: !1
3837
+ },
3838
+ md_string: {
3839
+ rules: [
3840
+ 19,
3841
+ 20,
3842
+ 21,
3843
+ 24,
3844
+ 77,
3845
+ 80,
3846
+ 82,
3847
+ 84,
3848
+ 88,
3849
+ 90,
3850
+ 94,
3851
+ 95,
3852
+ 108,
3853
+ 110,
3854
+ 112,
3855
+ 114
3856
+ ],
3857
+ inclusive: !1
3858
+ },
3859
+ string: {
3860
+ rules: [
3861
+ 21,
3862
+ 22,
3863
+ 23,
3864
+ 24,
3865
+ 77,
3866
+ 80,
3867
+ 82,
3868
+ 84,
3869
+ 88,
3870
+ 90,
3871
+ 94,
3872
+ 95,
3873
+ 108,
3874
+ 110,
3875
+ 112,
3876
+ 114
3877
+ ],
3878
+ inclusive: !1
3879
+ },
3880
+ INITIAL: {
3881
+ rules: [
3882
+ 0,
3883
+ 2,
3884
+ 4,
3885
+ 7,
3886
+ 13,
3887
+ 21,
3888
+ 24,
3889
+ 25,
3890
+ 26,
3891
+ 27,
3892
+ 28,
3893
+ 29,
3894
+ 30,
3895
+ 31,
3896
+ 32,
3897
+ 35,
3898
+ 36,
3899
+ 37,
3900
+ 38,
3901
+ 39,
3902
+ 40,
3903
+ 41,
3904
+ 42,
3905
+ 43,
3906
+ 55,
3907
+ 56,
3908
+ 57,
3909
+ 58,
3910
+ 59,
3911
+ 60,
3912
+ 61,
3913
+ 62,
3914
+ 63,
3915
+ 64,
3916
+ 65,
3917
+ 66,
3918
+ 67,
3919
+ 68,
3920
+ 69,
3921
+ 71,
3922
+ 72,
3923
+ 74,
3924
+ 75,
3925
+ 77,
3926
+ 80,
3927
+ 82,
3928
+ 84,
3929
+ 85,
3930
+ 86,
3931
+ 88,
3932
+ 90,
3933
+ 94,
3934
+ 95,
3935
+ 96,
3936
+ 97,
3937
+ 98,
3938
+ 99,
3939
+ 100,
3940
+ 101,
3941
+ 102,
3942
+ 103,
3943
+ 104,
3944
+ 105,
3945
+ 106,
3946
+ 108,
3947
+ 110,
3948
+ 112,
3949
+ 114,
3950
+ 116,
3951
+ 117,
3952
+ 118,
3953
+ 119
3954
+ ],
3955
+ inclusive: !0
3956
+ }
3957
+ }
3958
+ };
3959
+ })();
3960
+ function rt() {
3961
+ this.yy = {};
3962
+ }
3963
+ return __name(rt, "Parser"), rt.prototype = nt, nt.Parser = rt, new rt();
3964
+ })();
3965
+ parser.parser = parser;
3966
+ var flow_default = parser, newParser = Object.assign({}, flow_default);
3967
+ newParser.parse = (e) => {
3968
+ let t = e.replace(/}\s*\n/g, "}\n");
3969
+ return flow_default.parse(t);
3970
+ };
3971
+ var flowParser_default = newParser, fade = /* @__PURE__ */ __name((e, t) => {
3972
+ let n = channel_default;
3973
+ return rgba_default(n(e, "r"), n(e, "g"), n(e, "b"), t);
3974
+ }, "fade"), diagram = {
3975
+ parser: flowParser_default,
3976
+ get db() {
3977
+ return new FlowDB();
3978
+ },
3979
+ renderer: flowRenderer_v3_unified_default,
3980
+ styles: /* @__PURE__ */ __name((e) => `.label {
3981
+ font-family: ${e.fontFamily};
3982
+ color: ${e.nodeTextColor || e.textColor};
3983
+ }
3984
+ .cluster-label text {
3985
+ fill: ${e.titleColor};
3986
+ }
3987
+ .cluster-label span {
3988
+ color: ${e.titleColor};
3989
+ }
3990
+ .cluster-label span p {
3991
+ background-color: transparent;
3992
+ }
3993
+
3994
+ .label text,span {
3995
+ fill: ${e.nodeTextColor || e.textColor};
3996
+ color: ${e.nodeTextColor || e.textColor};
3997
+ }
3998
+
3999
+ .node rect,
4000
+ .node circle,
4001
+ .node ellipse,
4002
+ .node polygon,
4003
+ .node path {
4004
+ fill: ${e.mainBkg};
4005
+ stroke: ${e.nodeBorder};
4006
+ stroke-width: 1px;
4007
+ }
4008
+ .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
4009
+ text-anchor: middle;
4010
+ }
4011
+ // .flowchart-label .text-outer-tspan {
4012
+ // text-anchor: middle;
4013
+ // }
4014
+ // .flowchart-label .text-inner-tspan {
4015
+ // text-anchor: start;
4016
+ // }
4017
+
4018
+ .node .katex path {
4019
+ fill: #000;
4020
+ stroke: #000;
4021
+ stroke-width: 1px;
4022
+ }
4023
+
4024
+ .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
4025
+ text-align: center;
4026
+ }
4027
+ .node.clickable {
4028
+ cursor: pointer;
4029
+ }
4030
+
4031
+
4032
+ .root .anchor path {
4033
+ fill: ${e.lineColor} !important;
4034
+ stroke-width: 0;
4035
+ stroke: ${e.lineColor};
4036
+ }
4037
+
4038
+ .arrowheadPath {
4039
+ fill: ${e.arrowheadColor};
4040
+ }
4041
+
4042
+ .edgePath .path {
4043
+ stroke: ${e.lineColor};
4044
+ stroke-width: 2.0px;
4045
+ }
4046
+
4047
+ .flowchart-link {
4048
+ stroke: ${e.lineColor};
4049
+ fill: none;
4050
+ }
4051
+
4052
+ .edgeLabel {
4053
+ background-color: ${e.edgeLabelBackground};
4054
+ p {
4055
+ background-color: ${e.edgeLabelBackground};
4056
+ }
4057
+ rect {
4058
+ opacity: 0.5;
4059
+ background-color: ${e.edgeLabelBackground};
4060
+ fill: ${e.edgeLabelBackground};
4061
+ }
4062
+ text-align: center;
4063
+ }
4064
+
4065
+ /* For html labels only */
4066
+ .labelBkg {
4067
+ background-color: ${fade(e.edgeLabelBackground, .5)};
4068
+ // background-color:
4069
+ }
4070
+
4071
+ .cluster rect {
4072
+ fill: ${e.clusterBkg};
4073
+ stroke: ${e.clusterBorder};
4074
+ stroke-width: 1px;
4075
+ }
4076
+
4077
+ .cluster text {
4078
+ fill: ${e.titleColor};
4079
+ }
4080
+
4081
+ .cluster span {
4082
+ color: ${e.titleColor};
4083
+ }
4084
+ /* .cluster div {
4085
+ color: ${e.titleColor};
4086
+ } */
4087
+
4088
+ div.mermaidTooltip {
4089
+ position: absolute;
4090
+ text-align: center;
4091
+ max-width: 200px;
4092
+ padding: 2px;
4093
+ font-family: ${e.fontFamily};
4094
+ font-size: 12px;
4095
+ background: ${e.tertiaryColor};
4096
+ border: 1px solid ${e.border2};
4097
+ border-radius: 2px;
4098
+ pointer-events: none;
4099
+ z-index: 100;
4100
+ }
4101
+
4102
+ .flowchartTitleText {
4103
+ text-anchor: middle;
4104
+ font-size: 18px;
4105
+ fill: ${e.textColor};
4106
+ }
4107
+
4108
+ rect.text {
4109
+ fill: none;
4110
+ stroke-width: 0;
4111
+ }
4112
+
4113
+ .icon-shape, .image-shape {
4114
+ background-color: ${e.edgeLabelBackground};
4115
+ p {
4116
+ background-color: ${e.edgeLabelBackground};
4117
+ padding: 2px;
4118
+ }
4119
+ rect {
4120
+ opacity: 0.5;
4121
+ background-color: ${e.edgeLabelBackground};
4122
+ fill: ${e.edgeLabelBackground};
4123
+ }
4124
+ text-align: center;
4125
+ }
4126
+ ${getIconStyles()}
4127
+ `, "getStyles"),
4128
+ init: /* @__PURE__ */ __name((e) => {
4129
+ e.flowchart ||= {}, e.layout && setConfig2({ layout: e.layout }), e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, setConfig2({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
4130
+ }, "init")
4131
+ };
4132
+ export { diagram };