@foris/avocado-not-front 1.11.7-beta.4 → 1.12.0

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 (342) hide show
  1. package/dist/abap-Y8Dl9g_6-Y8Dl9g_6.js +6 -0
  2. package/dist/actionscript-3-DZzbMeqX-DZzbMeqX.js +6 -0
  3. package/dist/ada-vP6ak0IW-vP6ak0IW.js +6 -0
  4. package/dist/andromeeda-BIpZ7gaU-BIpZ7gaU.js +4 -0
  5. package/dist/angular-html-DPB4Rf0C-1_1_4tyh.js +34 -0
  6. package/dist/angular-ts-CeqPwKaz-ohSx1G-R.js +24 -0
  7. package/dist/apache-BUjz-sD2-BUjz-sD2.js +6 -0
  8. package/dist/apex-oLhhs58q-oLhhs58q.js +6 -0
  9. package/dist/apl-Bfz1rp5e-DI6exAvT.js +17 -0
  10. package/dist/applescript-BPx7YFFu-BPx7YFFu.js +6 -0
  11. package/dist/ara-Z2fSOxSw-Z2fSOxSw.js +6 -0
  12. package/dist/arc-DHSZg76Q-C6o4oFmD.js +85 -0
  13. package/dist/architectureDiagram-VXUJARFQ-Cp8vugxX-9O3-degh.js +4672 -0
  14. package/dist/asciidoc-B-pCoB3G-B-pCoB3G.js +6 -0
  15. package/dist/asm-BTWLY5ym-BTWLY5ym.js +6 -0
  16. package/dist/astro-CFFExE8Q-D857V_mk.js +18 -0
  17. package/dist/aurora-x-BwoVEUWZ-BwoVEUWZ.js +4 -0
  18. package/dist/avocado-not-front.es.js +8 -2167
  19. package/dist/avocado-not-front.umd.js +4642 -3
  20. package/dist/awk-Fb0P9dkn-Fb0P9dkn.js +6 -0
  21. package/dist/ayu-dark-CxPZkpb2-CxPZkpb2.js +4 -0
  22. package/dist/ballerina-oZK-YekG-oZK-YekG.js +6 -0
  23. package/dist/bat-0FvbqU9S-0FvbqU9S.js +6 -0
  24. package/dist/beancount-DqJEb89h-DqJEb89h.js +6 -0
  25. package/dist/berry-DODBq_Ff-DODBq_Ff.js +6 -0
  26. package/dist/bibtex-EULQRLY5-EULQRLY5.js +6 -0
  27. package/dist/bicep-BorU73w0-BorU73w0.js +6 -0
  28. package/dist/blade-DRRSiTQz-DuQj1Sqy.js +21 -0
  29. package/dist/blockDiagram-VD42YOAC-B4cTulr6-CNlYtTjf.js +2407 -0
  30. package/dist/bsl-NkNNwerW-DeWv6DbE.js +8 -0
  31. package/dist/c-eeMepfLm-eeMepfLm.js +6 -0
  32. package/dist/c4Diagram-YG6GDRKO-B8--s8xx-CZw1PsLU.js +1585 -0
  33. package/dist/cadence-02UX7mW8-02UX7mW8.js +6 -0
  34. package/dist/cairo-DM6WF2e3-BLxuUSuB.js +8 -0
  35. package/dist/catppuccin-frappe-D3cH2rXe-D3cH2rXe.js +4 -0
  36. package/dist/catppuccin-latte-C0LRGUW4-C0LRGUW4.js +4 -0
  37. package/dist/catppuccin-macchiato-c5wQ11TT-c5wQ11TT.js +4 -0
  38. package/dist/catppuccin-mocha-WMD6Qvya-WMD6Qvya.js +4 -0
  39. package/dist/channel-Cqk_cOiy-72hMZ_v0.js +5 -0
  40. package/dist/chunk-4BX2VUAB-Cb-wAjVN-DlY_dtbp.js +9 -0
  41. package/dist/chunk-55IACEB6-QFXfbMHG-AnxyrPT-.js +8 -0
  42. package/dist/chunk-B4BG7PRW-CFs53zrP-DB12fnkn.js +1375 -0
  43. package/dist/chunk-DI55MBZ5-CKjAOeh7-D98MsfUL.js +1383 -0
  44. package/dist/chunk-FMBD7UC4-B29MtLTn-tjtGIWPm.js +19 -0
  45. package/dist/chunk-QN33PNHL-5bU-bM6A-vK9OZVa6.js +20 -0
  46. package/dist/chunk-QZHKN3VN-B_Q6cMrq-78n0e61s.js +15 -0
  47. package/dist/chunk-TZMSLE5B-DlULRafu-BlGLxuE_.js +64 -0
  48. package/dist/clarity-PKm5CwqM-PKm5CwqM.js +6 -0
  49. package/dist/classDiagram-2ON5EDUG-DJmXfcVi-CF8YlvOv.js +22 -0
  50. package/dist/classDiagram-v2-WZHVMYZB-DJmXfcVi-CF8YlvOv.js +22 -0
  51. package/dist/clojure-CXJfHrL3-CXJfHrL3.js +6 -0
  52. package/dist/cmake-BJz8BOTU-BJz8BOTU.js +6 -0
  53. package/dist/cobol-DYTFdEK1-1eoMdnt0.js +12 -0
  54. package/dist/code-block-QI2IAROF-C_F85uim-MNaL7yo9.js +2805 -0
  55. package/dist/codeowners-Bt9yU6NX-Bt9yU6NX.js +6 -0
  56. package/dist/codeql-DHkodjjI-DHkodjjI.js +6 -0
  57. package/dist/coffee-DGBR_nr_-Cu5d6u6p.js +8 -0
  58. package/dist/common-lisp-EVqT9Zhp-EVqT9Zhp.js +6 -0
  59. package/dist/coq-B0L9upzn-B0L9upzn.js +6 -0
  60. package/dist/cose-bilkent-S5V4N54A-N3jM_XQd-BbbJbKzj.js +2612 -0
  61. package/dist/cpp-ZFnOq6fV-CkUSzFY-.js +19 -0
  62. package/dist/crystal-CRJyc4G--B_7jzPPy.js +18 -0
  63. package/dist/csharp-C7yUs7-w-C7yUs7-w.js +6 -0
  64. package/dist/css-CECN5uSL-CECN5uSL.js +6 -0
  65. package/dist/csv-CmYOceLb-DlI6xKnA.js +6 -0
  66. package/dist/cue-ZzumE7IT-ZzumE7IT.js +6 -0
  67. package/dist/cypher-jpdmjtA6-jpdmjtA6.js +6 -0
  68. package/dist/cytoscape.esm-ClN43hhW-Dh4GqQxb.js +18836 -0
  69. package/dist/d-CBagWSwH-CBagWSwH.js +6 -0
  70. package/dist/dagre-6UL2VRFP-CJdrtgOu-CLaqjT6l.js +451 -0
  71. package/dist/dark-plus-pUHDTVV0-pUHDTVV0.js +4 -0
  72. package/dist/dart-6ObCrKr9-6ObCrKr9.js +6 -0
  73. package/dist/dax-CcDT-8dH-CcDT-8dH.js +6 -0
  74. package/dist/defaultLocale-DcQU6Vee-C62bXCQv.js +177 -0
  75. package/dist/desktop-B93p9R9O-B93p9R9O.js +6 -0
  76. package/dist/diagram-PSM6KHXK-DSaDqHvO-DVH1Sew6.js +544 -0
  77. package/dist/diagram-QEK2KX5R-BbxboH_--DYDmO4S1.js +224 -0
  78. package/dist/diagram-S2PKOQOG-DWsCb5He--yPVUK-A.js +146 -0
  79. package/dist/diff-BxzP2J8R-BxzP2J8R.js +6 -0
  80. package/dist/docker-CsHqm9tx-CsHqm9tx.js +6 -0
  81. package/dist/dotenv-BMjVjUL1-BMjVjUL1.js +6 -0
  82. package/dist/dracula-BtZx2Kac-BtZx2Kac.js +4 -0
  83. package/dist/dracula-soft-BKa-aqBv-BKa-aqBv.js +4 -0
  84. package/dist/dream-maker-PAx17jaB-PAx17jaB.js +6 -0
  85. package/dist/edge-B882-fmN-CXsL8OuZ.js +14 -0
  86. package/dist/elixir-DRzNHQCz-EnC5QsDh.js +10 -0
  87. package/dist/elm-DZPAA5Qn-BCPZo0aa.js +9 -0
  88. package/dist/emacs-lisp-Cfxdx5D--Cfxdx5D-.js +6 -0
  89. package/dist/erDiagram-Q2GNP2WA-Bl0uHx93-Cm6cgw10.js +844 -0
  90. package/dist/erb-DB1DqdBc-CnAEHkSC.js +27 -0
  91. package/dist/erlang-DNcDT8Hi-Cs3llSSi.js +8 -0
  92. package/dist/everforest-dark-DMCBqXCK-DMCBqXCK.js +4 -0
  93. package/dist/everforest-light-BbXl82Em-BbXl82Em.js +4 -0
  94. package/dist/fennel-N4WcXuKx-N4WcXuKx.js +6 -0
  95. package/dist/fish-BTDEUgqH-BTDEUgqH.js +6 -0
  96. package/dist/flowDiagram-NV44I4VS-Dq0mXT8f-BL0sk42H.js +1631 -0
  97. package/dist/fluent-BMXUxfv1-BMXUxfv1.js +6 -0
  98. package/dist/fortran-fixed-form-DUsA-VGo-CYX4aMfD.js +8 -0
  99. package/dist/fortran-free-form-DPIT_jbP-DPIT_jbP.js +6 -0
  100. package/dist/fsharp-CYOiIVNx-D3KYyprZ.js +8 -0
  101. package/dist/ganttDiagram-JELNMOA3-Dj1adndm-BODWVm5T.js +2702 -0
  102. package/dist/gdresource-BwtMIoBm-DVtwhfL2.js +10 -0
  103. package/dist/gdscript-BifyeYhI-BifyeYhI.js +6 -0
  104. package/dist/gdshader-Bk8fF6yr-Bk8fF6yr.js +6 -0
  105. package/dist/genie-DzUvd7U9-DzUvd7U9.js +6 -0
  106. package/dist/gherkin-DHRaV0YP-DHRaV0YP.js +6 -0
  107. package/dist/git-commit-Bd32YZ0K-D9qSjMiw.js +8 -0
  108. package/dist/git-rebase-ZWUFO_T4-uqUGWt5o.js +8 -0
  109. package/dist/gitGraphDiagram-NY62KEGX-DIFZugA1-BsIE257G.js +715 -0
  110. package/dist/github-dark-DenFmJkN-DenFmJkN.js +4 -0
  111. package/dist/github-dark-default-BJPUVz4H-BJPUVz4H.js +4 -0
  112. package/dist/github-dark-dimmed-DUshB20C-DUshB20C.js +4 -0
  113. package/dist/github-dark-high-contrast-D3aGCnF8-D3aGCnF8.js +4 -0
  114. package/dist/github-light-JYsPkUQd-JYsPkUQd.js +4 -0
  115. package/dist/github-light-default-D99KPAby-D99KPAby.js +4 -0
  116. package/dist/github-light-high-contrast-BbmZE-Mp-BbmZE-Mp.js +4 -0
  117. package/dist/gleam-Bv284lvN-Bv284lvN.js +6 -0
  118. package/dist/glimmer-js-DkxNrfPT-Dr8vv_dk.js +14 -0
  119. package/dist/glimmer-ts-D6YZEmK_-CeJS1lkt.js +14 -0
  120. package/dist/glsl-CkUcVZNK-D6P60Alb.js +8 -0
  121. package/dist/gnuplot-yPG9-sE_-yPG9-sE_.js +6 -0
  122. package/dist/go-ChxJuLYK-ChxJuLYK.js +6 -0
  123. package/dist/graph-DB2UxkYH-Bs-uwV4G.js +1190 -0
  124. package/dist/graphql-CBu2ehBn-B9KpeKh4.js +14 -0
  125. package/dist/groovy-CJQTphOW-CJQTphOW.js +6 -0
  126. package/dist/gruvbox-dark-hard-C5HOtKIh-C5HOtKIh.js +4 -0
  127. package/dist/gruvbox-dark-medium-FVgwJHuz-FVgwJHuz.js +4 -0
  128. package/dist/gruvbox-dark-soft-B46F314v-B46F314v.js +4 -0
  129. package/dist/gruvbox-light-hard-CJD38wDZ-CJD38wDZ.js +4 -0
  130. package/dist/gruvbox-light-medium-BlIhMYTA-BlIhMYTA.js +4 -0
  131. package/dist/gruvbox-light-soft-DoPHyLVZ-DoPHyLVZ.js +4 -0
  132. package/dist/hack-DVWgrvc2-CFszvyOs.js +12 -0
  133. package/dist/haml-NZLVzu_R-6sAynSNG.js +10 -0
  134. package/dist/handlebars-mxStpSE7-C1GOcwW1.js +14 -0
  135. package/dist/haskell-WeIwNIP6-WeIwNIP6.js +6 -0
  136. package/dist/haxe-TztHsm5T-TztHsm5T.js +6 -0
  137. package/dist/hcl-D438OF-I-D438OF-I.js +6 -0
  138. package/dist/hjson-DYBUbqOl-DYBUbqOl.js +6 -0
  139. package/dist/hlsl-Bk8TCZNL-Bk8TCZNL.js +6 -0
  140. package/dist/hooks/useAction.d.ts +3 -3
  141. package/dist/houston-BDYrDoDW-BDYrDoDW.js +4 -0
  142. package/dist/html-B50bmoVb-BJ3eCZKL.js +10 -0
  143. package/dist/html-derivative-ByyNxAP5-BxLhKRHw.js +10 -0
  144. package/dist/http-BVIWqb92-CjnDmEd8.js +19 -0
  145. package/dist/hurl-B8OTiYoQ-DoRwHSAy.js +17 -0
  146. package/dist/hxml-GbqSQCLa-BnvJylRx.js +8 -0
  147. package/dist/hy-Brt5EZ7--Brt5EZ7-.js +6 -0
  148. package/dist/imba-CimUv-Uh-CimUv-Uh.js +6 -0
  149. package/dist/infoDiagram-WHAUD3N6-DPjzRs82-ChgGSBbk.js +27 -0
  150. package/dist/ini-BZIuRIvJ-BZIuRIvJ.js +6 -0
  151. package/dist/init-DjUOC4st-C8Nwz6AJ.js +16 -0
  152. package/dist/java-DY6VlHhP-DY6VlHhP.js +6 -0
  153. package/dist/javascript-C25yR2R2-C25yR2R2.js +6 -0
  154. package/dist/jinja-CI-LSgSv-BEWEZ83m.js +13 -0
  155. package/dist/jison-DdreslRX-DzaoIrEq.js +8 -0
  156. package/dist/journeyDiagram-XKPGCS4Q-DLrlPVyq-DYzqQ6Qu.js +840 -0
  157. package/dist/json-DxJze_jm-DxJze_jm.js +6 -0
  158. package/dist/json5-BT4Fjg39-BT4Fjg39.js +6 -0
  159. package/dist/jsonc-CHjZD8gR-CHjZD8gR.js +6 -0
  160. package/dist/jsonl-BGuvDmy9-BGuvDmy9.js +6 -0
  161. package/dist/jsonnet-Bx2cfsXg-Bx2cfsXg.js +6 -0
  162. package/dist/jssm-BcADi6EI-BcADi6EI.js +6 -0
  163. package/dist/jsx-BtKADgXT-BtKADgXT.js +6 -0
  164. package/dist/julia-ll8P6QXy-CifMye9u.js +19 -0
  165. package/dist/kanagawa-dragon-CiKur4Hl-CiKur4Hl.js +4 -0
  166. package/dist/kanagawa-lotus-BKu-smKu-BKu-smKu.js +4 -0
  167. package/dist/kanagawa-wave-CQwozSzG-CQwozSzG.js +4 -0
  168. package/dist/kanban-definition-3W4ZIXB7-BTI5yGHx-Bz8MmnxI.js +724 -0
  169. package/dist/katex.min-l0sNRNKZ-l0sNRNKZ.js +1 -0
  170. package/dist/kdl-BNOv9TC3-0Q4F1UAs.js +6 -0
  171. package/dist/kotlin-ByBMgTeR-ByBMgTeR.js +6 -0
  172. package/dist/kusto-VWFLl2T0-VWFLl2T0.js +6 -0
  173. package/dist/laserwave-6a00oqik-6a00oqik.js +4 -0
  174. package/dist/latex-DF20280u-RMy1LUrW.js +9 -0
  175. package/dist/layout-Q6wQN5dr-BC95Y2G0.js +1727 -0
  176. package/dist/lean-D5yRrexI-D5yRrexI.js +6 -0
  177. package/dist/less-B1GLI2Di-B1GLI2Di.js +6 -0
  178. package/dist/light-plus-CZuVqSLX-CZuVqSLX.js +4 -0
  179. package/dist/linear-UL3ZZUJv-CWZvrkAD.js +277 -0
  180. package/dist/liquid-CHzkx3jT-G75tv0iE.js +14 -0
  181. package/dist/llvm-co1rIKs3-co1rIKs3.js +6 -0
  182. package/dist/log-Al8wyEFV-Al8wyEFV.js +6 -0
  183. package/dist/logo-DBa4JDzV-DBa4JDzV.js +6 -0
  184. package/dist/lua-kX5WP_P5-DxLUTRud.js +8 -0
  185. package/dist/luau-DtBSxLyz-DtBSxLyz.js +6 -0
  186. package/dist/make-CsMclxtr-CsMclxtr.js +6 -0
  187. package/dist/markdown-CrScaQ96-CrScaQ96.js +6 -0
  188. package/dist/marko-ls0Jg2j8-BHrfxEh0.js +14 -0
  189. package/dist/material-theme-D6KBX41T-D6KBX41T.js +4 -0
  190. package/dist/material-theme-darker-CkRroheE-CkRroheE.js +4 -0
  191. package/dist/material-theme-lighter-BUBw43Yz-BUBw43Yz.js +4 -0
  192. package/dist/material-theme-ocean-ClGX14Ja-ClGX14Ja.js +4 -0
  193. package/dist/material-theme-palenight-C1RVm8K1-C1RVm8K1.js +4 -0
  194. package/dist/matlab-BOAaUVP0-BOAaUVP0.js +6 -0
  195. package/dist/mdc-DIP5_jeM-Cff0amyo.js +15 -0
  196. package/dist/mdx-BOhZZUJ8-BOhZZUJ8.js +6 -0
  197. package/dist/mermaid-B0ixDHKN-B0ixDHKN.js +6 -0
  198. package/dist/mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js +140994 -0
  199. package/dist/mermaid.core-Cpfp0NBU-DQS-fLaZ.js +14401 -0
  200. package/dist/min-dark-C7ak0t6c-C7ak0t6c.js +4 -0
  201. package/dist/min-light-CKFxVcPp-CKFxVcPp.js +4 -0
  202. package/dist/mindmap-definition-VGOIOE7T-B6ovfeib-CXlRkpn9.js +790 -0
  203. package/dist/mipsasm-CTx18fBl-CTx18fBl.js +6 -0
  204. package/dist/mojo-BD611d7o-BD611d7o.js +6 -0
  205. package/dist/monokai-C1KBYcO0-C1KBYcO0.js +4 -0
  206. package/dist/move-F-dICmj2-F-dICmj2.js +6 -0
  207. package/dist/narrat-DmhDCBs--DmhDCBs-.js +6 -0
  208. package/dist/nextflow-DmSVRGjG-DmSVRGjG.js +6 -0
  209. package/dist/nginx-COxS3qoU-CvZmIOfz.js +9 -0
  210. package/dist/night-owl-Bm2rzalh-Bm2rzalh.js +4 -0
  211. package/dist/nim-CCwXZLHG-CVhjPGL5.js +21 -0
  212. package/dist/nix-BZK5F767-BZK5F767.js +9 -0
  213. package/dist/nord-CC5OiUXg-CC5OiUXg.js +4 -0
  214. package/dist/nushell-D8j3dhT--D8j3dhT-.js +6 -0
  215. package/dist/objective-c-Itk8tzmv-Itk8tzmv.js +6 -0
  216. package/dist/objective-cpp-DGt5UKRO-DGt5UKRO.js +6 -0
  217. package/dist/ocaml-eSVK32Eg-eSVK32Eg.js +6 -0
  218. package/dist/one-dark-pro-DTA3VF0_-DTA3VF0_.js +4 -0
  219. package/dist/one-light-D9sNaUtq-D9sNaUtq.js +4 -0
  220. package/dist/openscad-Sp5uZ6f2-Sp5uZ6f2.js +6 -0
  221. package/dist/ordinal-MUacOSdK-B1MUT0BL.js +65 -0
  222. package/dist/pascal-xy8pJNns-xy8pJNns.js +6 -0
  223. package/dist/perl-NvKK8p2P-DbsmNmLT.js +17 -0
  224. package/dist/php-CK5hNnT0-DEpqLZ_n.js +19 -0
  225. package/dist/pieDiagram-ADFJNKIX-Bn24elWA-iGwy_4tX.js +166 -0
  226. package/dist/pkl-C-zSNmaA-C-zSNmaA.js +6 -0
  227. package/dist/plastic-CSTz3KZp-CSTz3KZp.js +4 -0
  228. package/dist/plsql-pVbGZfOv-pVbGZfOv.js +6 -0
  229. package/dist/po-BNfHvqmm-BNfHvqmm.js +6 -0
  230. package/dist/poimandres-C-VADXHD-C-VADXHD.js +4 -0
  231. package/dist/polar-CAZahv3u-CAZahv3u.js +6 -0
  232. package/dist/postcss-05aHdL-n-05aHdL-n.js +6 -0
  233. package/dist/powerquery-DI9HkTvs-DI9HkTvs.js +6 -0
  234. package/dist/powershell-Clc4ydu--Clc4ydu-.js +6 -0
  235. package/dist/prisma-FZjmVtSl-FZjmVtSl.js +6 -0
  236. package/dist/prolog-C5-yg4TO-C5-yg4TO.js +6 -0
  237. package/dist/proto-MmCPeFAD-MmCPeFAD.js +6 -0
  238. package/dist/pug-XOw9Q1Ho-BO4tUzTj.js +12 -0
  239. package/dist/puppet-CUJHmnxV-CUJHmnxV.js +6 -0
  240. package/dist/purescript-rUfGld-4-rUfGld-4.js +6 -0
  241. package/dist/python-BFNSHbwJ-BFNSHbwJ.js +6 -0
  242. package/dist/qml-rTNXsquU-DeTe0b4l.js +8 -0
  243. package/dist/qmldir-BInDYbpo-BInDYbpo.js +6 -0
  244. package/dist/qss-AeJTysr_-AeJTysr_.js +6 -0
  245. package/dist/quadrantDiagram-AYHSOK5B-CsbmyLll-CFP8fgtI.js +1030 -0
  246. package/dist/r-Bm0uF0U2-Bm0uF0U2.js +6 -0
  247. package/dist/racket-B83wSAja-B83wSAja.js +6 -0
  248. package/dist/raku-nEQ4ZJJ7-nEQ4ZJJ7.js +6 -0
  249. package/dist/razor-CoqPuKQU-DUBs-Qe6.js +12 -0
  250. package/dist/red-7y8PH7HH-7y8PH7HH.js +4 -0
  251. package/dist/reg-m_s_Kiip-m_s_Kiip.js +6 -0
  252. package/dist/regexp-BazyLpPg-BazyLpPg.js +6 -0
  253. package/dist/rel-BcRfyd6Q-BcRfyd6Q.js +6 -0
  254. package/dist/requirementDiagram-UZGBJVZJ--9rfbKaz-CC8EZoyz.js +854 -0
  255. package/dist/riscv-Ce8MAQLP-Ce8MAQLP.js +6 -0
  256. package/dist/rose-pine-BKc3yVeu-BKc3yVeu.js +4 -0
  257. package/dist/rose-pine-dawn-BulJcPZT-BulJcPZT.js +4 -0
  258. package/dist/rose-pine-moon-j6jiXKV8-j6jiXKV8.js +4 -0
  259. package/dist/rosmsg-Cz0w1km8-Cz0w1km8.js +6 -0
  260. package/dist/rst-AoEjemIj-Dr7TcJwd.js +36 -0
  261. package/dist/ruby-CGSl8JoB-D4hDjzwe.js +36 -0
  262. package/dist/rust-CLzF9zIN-CLzF9zIN.js +6 -0
  263. package/dist/sankeyDiagram-TZEHDZUN-Cp2id-3k-DhByp8vU.js +830 -0
  264. package/dist/sas-fpEvgATw-D9dNv8Ej.js +8 -0
  265. package/dist/sass-DxHp5rTx-DxHp5rTx.js +6 -0
  266. package/dist/scala-D4grkFkl-D4grkFkl.js +6 -0
  267. package/dist/scheme-BCRWuEm4-BCRWuEm4.js +6 -0
  268. package/dist/scss-B1FaCqwR-DbNEJJFR.js +8 -0
  269. package/dist/sdbl-B7T8abf4-B7T8abf4.js +6 -0
  270. package/dist/sequenceDiagram-WL72ISMW-Bdoz1Co7-DcFuWrLs.js +2526 -0
  271. package/dist/services/axios/useFetchAndLoad.d.ts +1 -1
  272. package/dist/shaderlab-Cr62-Wb4-D_jbKjpl.js +8 -0
  273. package/dist/shellscript-InADTalH-InADTalH.js +6 -0
  274. package/dist/shellsession-DiDJNQdy-BGvYrs9g.js +8 -0
  275. package/dist/slack-dark-i7wN4OET-i7wN4OET.js +4 -0
  276. package/dist/slack-ochin-ndHf0LoP-ndHf0LoP.js +4 -0
  277. package/dist/smalltalk-BlI1_OkM-BlI1_OkM.js +6 -0
  278. package/dist/snazzy-light-BlSJXAu4-BlSJXAu4.js +4 -0
  279. package/dist/solarized-dark-UTmkh7lw-UTmkh7lw.js +4 -0
  280. package/dist/solarized-light-BheCkDPT-BheCkDPT.js +4 -0
  281. package/dist/solidity-DUWnFhS6-DUWnFhS6.js +6 -0
  282. package/dist/soy-YPoZ1G2p-C1q7UQeu.js +10 -0
  283. package/dist/sparql-B0KWFEri-CqC-y0Su.js +8 -0
  284. package/dist/splunk-CRXR8A9s-CRXR8A9s.js +6 -0
  285. package/dist/sql-Cn_v3PB0-Cn_v3PB0.js +6 -0
  286. package/dist/ssh-config-DP-hNVbF-DP-hNVbF.js +6 -0
  287. package/dist/stata-B8c5fTjX-Bf3brRPV.js +8 -0
  288. package/dist/stateDiagram-FKZM4ZOC-BLHxjrc8-FBnBvaVW.js +268 -0
  289. package/dist/stateDiagram-v2-4FDKWEC3-CbxCwS8b-B_Pfgmu4.js +21 -0
  290. package/dist/style.css +1 -1
  291. package/dist/stylus-CyKEU1Ej-CyKEU1Ej.js +6 -0
  292. package/dist/svelte-5UasyOg7-e8KUCojE.js +14 -0
  293. package/dist/swift-9UzSvamq-9UzSvamq.js +6 -0
  294. package/dist/synthwave-84-NU3C_KFZ-NU3C_KFZ.js +4 -0
  295. package/dist/system-verilog-BCm7smPJ-BCm7smPJ.js +6 -0
  296. package/dist/systemd-C-4qm6XH-C-4qm6XH.js +6 -0
  297. package/dist/talonscript-CFF3LF_O-CvtCkGGO.js +6 -0
  298. package/dist/tasl-Cg_WBUAe-Cg_WBUAe.js +6 -0
  299. package/dist/tcl-DN7buRTF-DN7buRTF.js +6 -0
  300. package/dist/templ-peLZIM2D-DkTUdVi-.js +12 -0
  301. package/dist/terraform-DGvcn9zM-DGvcn9zM.js +6 -0
  302. package/dist/tex-DpOayVob-BjP51rYh.js +8 -0
  303. package/dist/timeline-definition-IT6M3QCI-s3Wsbz6h-DfdfMl2Q.js +805 -0
  304. package/dist/tokyo-night-DP4TmcQl-DP4TmcQl.js +4 -0
  305. package/dist/toml-DY62mUL_-DY62mUL_.js +6 -0
  306. package/dist/treemap-KMMF4GRG-D_L55G0b-CANAYd5X.js +15006 -0
  307. package/dist/ts-tags-CWmBp2js-DrKIoTCJ.js +43 -0
  308. package/dist/tsv-BtvSkaG0-BtvSkaG0.js +6 -0
  309. package/dist/tsx-B8rCNbgL-B8rCNbgL.js +6 -0
  310. package/dist/turtle-_H59FV7D-_H59FV7D.js +6 -0
  311. package/dist/twig-Cpoho6oi-CQE9XWXP.js +35 -0
  312. package/dist/typescript-RycA9KXf-RycA9KXf.js +6 -0
  313. package/dist/typespec-DWqp-kUU-DWqp-kUU.js +6 -0
  314. package/dist/typst-D_1QKWns-D_1QKWns.js +6 -0
  315. package/dist/v-BPCNiyYe-BPCNiyYe.js +6 -0
  316. package/dist/vala-uxaPR7d1-uxaPR7d1.js +6 -0
  317. package/dist/vb-D8_c5-KN-D8_c5-KN.js +6 -0
  318. package/dist/verilog-B-bybjPF-B-bybjPF.js +6 -0
  319. package/dist/vesper-BckBta1U-BckBta1U.js +4 -0
  320. package/dist/vhdl-CUlNa8ac-CUlNa8ac.js +6 -0
  321. package/dist/viml-DsfA-sWm-DsfA-sWm.js +6 -0
  322. package/dist/vitesse-black-BoGvW84i-BoGvW84i.js +4 -0
  323. package/dist/vitesse-dark-Cym-eLtO-Cym-eLtO.js +4 -0
  324. package/dist/vitesse-light-CcmG315c-CcmG315c.js +4 -0
  325. package/dist/vue-DmFKWfEU-DXvRBLDJ.js +31 -0
  326. package/dist/vue-html-BB2aI7Yc-e0S8MQFq.js +15 -0
  327. package/dist/vue-vine-CznNap4x-DAbzn77p.js +24 -0
  328. package/dist/vyper-CPQuu50u-CPQuu50u.js +6 -0
  329. package/dist/wasm-BBXxrAl7-BBXxrAl7.js +6 -0
  330. package/dist/wasm-DQxwEHae-DQxwEHae.js +7 -0
  331. package/dist/wenyan-pbVjoM9_-pbVjoM9_.js +6 -0
  332. package/dist/wgsl-DY4iK1q1-DY4iK1q1.js +6 -0
  333. package/dist/wikitext-Z-MoUasO-Z-MoUasO.js +6 -0
  334. package/dist/wit-CQMQOlTg-CQMQOlTg.js +6 -0
  335. package/dist/wolfram-Dz4KXISs-Dz4KXISs.js +6 -0
  336. package/dist/xml-C2J0sS9M-IZlib8U3.js +8 -0
  337. package/dist/xsl-CbTBIiv3-CgleMmCH.js +9 -0
  338. package/dist/xychartDiagram-PRI3JC2R-D3ejwy7u-CFsnZXTL.js +1345 -0
  339. package/dist/yaml-DaO7k5B1-DaO7k5B1.js +6 -0
  340. package/dist/zenscript-CxBjpf9c-CxBjpf9c.js +6 -0
  341. package/dist/zig-Vm0PO9wB-Vm0PO9wB.js +6 -0
  342. package/package.json +25 -42
@@ -0,0 +1,844 @@
1
+ import { g as xt } from "./chunk-55IACEB6-QFXfbMHG-AnxyrPT-.js";
2
+ import { d as $t } from "./chunk-QN33PNHL-5bU-bM6A-vK9OZVa6.js";
3
+ import { _ as o, D as Dt, l as $, d as H, z as wt, A as Lt, j as Mt, u as Bt, s as Ft, g as Yt, c as Pt, b as zt, o as Gt, p as Zt, v as Kt, t as Ut, B as jt } from "./mermaid.core-Cpfp0NBU-DQS-fLaZ.js";
4
+ import { t as Wt } from "./channel-Cqk_cOiy-72hMZ_v0.js";
5
+ import "./mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js";
6
+ import "react";
7
+ import "react-dom";
8
+ var ut = function() {
9
+ var e = /* @__PURE__ */ o(function(m, r, a, n) {
10
+ for (a = a || {}, n = m.length; n--; a[m[n]] = r)
11
+ ;
12
+ return a;
13
+ }, "o"), i = [6, 8, 10, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50], u = [1, 10], c = [1, 11], l = [1, 12], y = [1, 13], A = [1, 20], f = [1, 21], E = [1, 22], D = [1, 23], V = [1, 24], S = [1, 19], G = [1, 25], w = [1, 26], R = [1, 18], J = [1, 33], tt = [1, 34], et = [1, 35], st = [1, 36], it = [1, 37], yt = [6, 8, 10, 13, 15, 17, 20, 21, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50, 63, 64, 65, 66, 67], O = [1, 42], T = [1, 43], L = [1, 52], M = [40, 50, 68, 69], B = [1, 63], F = [1, 61], N = [1, 58], Y = [1, 62], P = [1, 64], Z = [6, 8, 10, 13, 17, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 48, 49, 50, 63, 64, 65, 66, 67], dt = [63, 64, 65, 66, 67], pt = [1, 81], _t = [1, 80], bt = [1, 78], ft = [1, 79], gt = [6, 10, 42, 47], v = [6, 10, 13, 41, 42, 47, 48, 49], K = [1, 89], U = [1, 88], j = [1, 87], z = [19, 56], mt = [1, 98], Et = [1, 97], nt = [19, 56, 58, 60], rt = {
14
+ trace: /* @__PURE__ */ o(function() {
15
+ }, "trace"),
16
+ yy: {},
17
+ symbols_: { error: 2, start: 3, ER_DIAGRAM: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, entityName: 11, relSpec: 12, COLON: 13, role: 14, STYLE_SEPARATOR: 15, idList: 16, BLOCK_START: 17, attributes: 18, BLOCK_STOP: 19, SQS: 20, SQE: 21, title: 22, title_value: 23, acc_title: 24, acc_title_value: 25, acc_descr: 26, acc_descr_value: 27, acc_descr_multiline_value: 28, direction: 29, classDefStatement: 30, classStatement: 31, styleStatement: 32, direction_tb: 33, direction_bt: 34, direction_rl: 35, direction_lr: 36, CLASSDEF: 37, stylesOpt: 38, separator: 39, UNICODE_TEXT: 40, STYLE_TEXT: 41, COMMA: 42, CLASS: 43, STYLE: 44, style: 45, styleComponent: 46, SEMI: 47, NUM: 48, BRKT: 49, ENTITY_NAME: 50, attribute: 51, attributeType: 52, attributeName: 53, attributeKeyTypeList: 54, attributeComment: 55, ATTRIBUTE_WORD: 56, attributeKeyType: 57, ",": 58, ATTRIBUTE_KEY: 59, COMMENT: 60, cardinality: 61, relType: 62, ZERO_OR_ONE: 63, ZERO_OR_MORE: 64, ONE_OR_MORE: 65, ONLY_ONE: 66, MD_PARENT: 67, NON_IDENTIFYING: 68, IDENTIFYING: 69, WORD: 70, $accept: 0, $end: 1 },
18
+ terminals_: { 2: "error", 4: "ER_DIAGRAM", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 13: "COLON", 15: "STYLE_SEPARATOR", 17: "BLOCK_START", 19: "BLOCK_STOP", 20: "SQS", 21: "SQE", 22: "title", 23: "title_value", 24: "acc_title", 25: "acc_title_value", 26: "acc_descr", 27: "acc_descr_value", 28: "acc_descr_multiline_value", 33: "direction_tb", 34: "direction_bt", 35: "direction_rl", 36: "direction_lr", 37: "CLASSDEF", 40: "UNICODE_TEXT", 41: "STYLE_TEXT", 42: "COMMA", 43: "CLASS", 44: "STYLE", 47: "SEMI", 48: "NUM", 49: "BRKT", 50: "ENTITY_NAME", 56: "ATTRIBUTE_WORD", 58: ",", 59: "ATTRIBUTE_KEY", 60: "COMMENT", 63: "ZERO_OR_ONE", 64: "ZERO_OR_MORE", 65: "ONE_OR_MORE", 66: "ONLY_ONE", 67: "MD_PARENT", 68: "NON_IDENTIFYING", 69: "IDENTIFYING", 70: "WORD" },
19
+ productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 5], [9, 9], [9, 7], [9, 7], [9, 4], [9, 6], [9, 3], [9, 5], [9, 1], [9, 3], [9, 7], [9, 9], [9, 6], [9, 8], [9, 4], [9, 6], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [29, 1], [29, 1], [29, 1], [29, 1], [30, 4], [16, 1], [16, 1], [16, 3], [16, 3], [31, 3], [32, 4], [38, 1], [38, 3], [45, 1], [45, 2], [39, 1], [39, 1], [39, 1], [46, 1], [46, 1], [46, 1], [46, 1], [11, 1], [11, 1], [18, 1], [18, 2], [51, 2], [51, 3], [51, 3], [51, 4], [52, 1], [53, 1], [54, 1], [54, 3], [57, 1], [55, 1], [12, 3], [61, 1], [61, 1], [61, 1], [61, 1], [61, 1], [62, 1], [62, 1], [14, 1], [14, 1], [14, 1]],
20
+ performAction: /* @__PURE__ */ o(function(m, r, a, n, h, t, p) {
21
+ var s = t.length - 1;
22
+ switch (h) {
23
+ case 1:
24
+ break;
25
+ case 2:
26
+ this.$ = [];
27
+ break;
28
+ case 3:
29
+ t[s - 1].push(t[s]), this.$ = t[s - 1];
30
+ break;
31
+ case 4:
32
+ case 5:
33
+ this.$ = t[s];
34
+ break;
35
+ case 6:
36
+ case 7:
37
+ this.$ = [];
38
+ break;
39
+ case 8:
40
+ n.addEntity(t[s - 4]), n.addEntity(t[s - 2]), n.addRelationship(t[s - 4], t[s], t[s - 2], t[s - 3]);
41
+ break;
42
+ case 9:
43
+ n.addEntity(t[s - 8]), n.addEntity(t[s - 4]), n.addRelationship(t[s - 8], t[s], t[s - 4], t[s - 5]), n.setClass([t[s - 8]], t[s - 6]), n.setClass([t[s - 4]], t[s - 2]);
44
+ break;
45
+ case 10:
46
+ n.addEntity(t[s - 6]), n.addEntity(t[s - 2]), n.addRelationship(t[s - 6], t[s], t[s - 2], t[s - 3]), n.setClass([t[s - 6]], t[s - 4]);
47
+ break;
48
+ case 11:
49
+ n.addEntity(t[s - 6]), n.addEntity(t[s - 4]), n.addRelationship(t[s - 6], t[s], t[s - 4], t[s - 5]), n.setClass([t[s - 4]], t[s - 2]);
50
+ break;
51
+ case 12:
52
+ n.addEntity(t[s - 3]), n.addAttributes(t[s - 3], t[s - 1]);
53
+ break;
54
+ case 13:
55
+ n.addEntity(t[s - 5]), n.addAttributes(t[s - 5], t[s - 1]), n.setClass([t[s - 5]], t[s - 3]);
56
+ break;
57
+ case 14:
58
+ n.addEntity(t[s - 2]);
59
+ break;
60
+ case 15:
61
+ n.addEntity(t[s - 4]), n.setClass([t[s - 4]], t[s - 2]);
62
+ break;
63
+ case 16:
64
+ n.addEntity(t[s]);
65
+ break;
66
+ case 17:
67
+ n.addEntity(t[s - 2]), n.setClass([t[s - 2]], t[s]);
68
+ break;
69
+ case 18:
70
+ n.addEntity(t[s - 6], t[s - 4]), n.addAttributes(t[s - 6], t[s - 1]);
71
+ break;
72
+ case 19:
73
+ n.addEntity(t[s - 8], t[s - 6]), n.addAttributes(t[s - 8], t[s - 1]), n.setClass([t[s - 8]], t[s - 3]);
74
+ break;
75
+ case 20:
76
+ n.addEntity(t[s - 5], t[s - 3]);
77
+ break;
78
+ case 21:
79
+ n.addEntity(t[s - 7], t[s - 5]), n.setClass([t[s - 7]], t[s - 2]);
80
+ break;
81
+ case 22:
82
+ n.addEntity(t[s - 3], t[s - 1]);
83
+ break;
84
+ case 23:
85
+ n.addEntity(t[s - 5], t[s - 3]), n.setClass([t[s - 5]], t[s]);
86
+ break;
87
+ case 24:
88
+ case 25:
89
+ this.$ = t[s].trim(), n.setAccTitle(this.$);
90
+ break;
91
+ case 26:
92
+ case 27:
93
+ this.$ = t[s].trim(), n.setAccDescription(this.$);
94
+ break;
95
+ case 32:
96
+ n.setDirection("TB");
97
+ break;
98
+ case 33:
99
+ n.setDirection("BT");
100
+ break;
101
+ case 34:
102
+ n.setDirection("RL");
103
+ break;
104
+ case 35:
105
+ n.setDirection("LR");
106
+ break;
107
+ case 36:
108
+ this.$ = t[s - 3], n.addClass(t[s - 2], t[s - 1]);
109
+ break;
110
+ case 37:
111
+ case 38:
112
+ case 56:
113
+ case 64:
114
+ this.$ = [t[s]];
115
+ break;
116
+ case 39:
117
+ case 40:
118
+ this.$ = t[s - 2].concat([t[s]]);
119
+ break;
120
+ case 41:
121
+ this.$ = t[s - 2], n.setClass(t[s - 1], t[s]);
122
+ break;
123
+ case 42:
124
+ this.$ = t[s - 3], n.addCssStyles(t[s - 2], t[s - 1]);
125
+ break;
126
+ case 43:
127
+ this.$ = [t[s]];
128
+ break;
129
+ case 44:
130
+ t[s - 2].push(t[s]), this.$ = t[s - 2];
131
+ break;
132
+ case 46:
133
+ this.$ = t[s - 1] + t[s];
134
+ break;
135
+ case 54:
136
+ case 76:
137
+ case 77:
138
+ this.$ = t[s].replace(/"/g, "");
139
+ break;
140
+ case 55:
141
+ case 78:
142
+ this.$ = t[s];
143
+ break;
144
+ case 57:
145
+ t[s].push(t[s - 1]), this.$ = t[s];
146
+ break;
147
+ case 58:
148
+ this.$ = { type: t[s - 1], name: t[s] };
149
+ break;
150
+ case 59:
151
+ this.$ = { type: t[s - 2], name: t[s - 1], keys: t[s] };
152
+ break;
153
+ case 60:
154
+ this.$ = { type: t[s - 2], name: t[s - 1], comment: t[s] };
155
+ break;
156
+ case 61:
157
+ this.$ = { type: t[s - 3], name: t[s - 2], keys: t[s - 1], comment: t[s] };
158
+ break;
159
+ case 62:
160
+ case 63:
161
+ case 66:
162
+ this.$ = t[s];
163
+ break;
164
+ case 65:
165
+ t[s - 2].push(t[s]), this.$ = t[s - 2];
166
+ break;
167
+ case 67:
168
+ this.$ = t[s].replace(/"/g, "");
169
+ break;
170
+ case 68:
171
+ this.$ = { cardA: t[s], relType: t[s - 1], cardB: t[s - 2] };
172
+ break;
173
+ case 69:
174
+ this.$ = n.Cardinality.ZERO_OR_ONE;
175
+ break;
176
+ case 70:
177
+ this.$ = n.Cardinality.ZERO_OR_MORE;
178
+ break;
179
+ case 71:
180
+ this.$ = n.Cardinality.ONE_OR_MORE;
181
+ break;
182
+ case 72:
183
+ this.$ = n.Cardinality.ONLY_ONE;
184
+ break;
185
+ case 73:
186
+ this.$ = n.Cardinality.MD_PARENT;
187
+ break;
188
+ case 74:
189
+ this.$ = n.Identification.NON_IDENTIFYING;
190
+ break;
191
+ case 75:
192
+ this.$ = n.Identification.IDENTIFYING;
193
+ break;
194
+ }
195
+ }, "anonymous"),
196
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, e(i, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 22: u, 24: c, 26: l, 28: y, 29: 14, 30: 15, 31: 16, 32: 17, 33: A, 34: f, 35: E, 36: D, 37: V, 40: S, 43: G, 44: w, 50: R }, e(i, [2, 7], { 1: [2, 1] }), e(i, [2, 3]), { 9: 27, 11: 9, 22: u, 24: c, 26: l, 28: y, 29: 14, 30: 15, 31: 16, 32: 17, 33: A, 34: f, 35: E, 36: D, 37: V, 40: S, 43: G, 44: w, 50: R }, e(i, [2, 5]), e(i, [2, 6]), e(i, [2, 16], { 12: 28, 61: 32, 15: [1, 29], 17: [1, 30], 20: [1, 31], 63: J, 64: tt, 65: et, 66: st, 67: it }), { 23: [1, 38] }, { 25: [1, 39] }, { 27: [1, 40] }, e(i, [2, 27]), e(i, [2, 28]), e(i, [2, 29]), e(i, [2, 30]), e(i, [2, 31]), e(yt, [2, 54]), e(yt, [2, 55]), e(i, [2, 32]), e(i, [2, 33]), e(i, [2, 34]), e(i, [2, 35]), { 16: 41, 40: O, 41: T }, { 16: 44, 40: O, 41: T }, { 16: 45, 40: O, 41: T }, e(i, [2, 4]), { 11: 46, 40: S, 50: R }, { 16: 47, 40: O, 41: T }, { 18: 48, 19: [1, 49], 51: 50, 52: 51, 56: L }, { 11: 53, 40: S, 50: R }, { 62: 54, 68: [1, 55], 69: [1, 56] }, e(M, [2, 69]), e(M, [2, 70]), e(M, [2, 71]), e(M, [2, 72]), e(M, [2, 73]), e(i, [2, 24]), e(i, [2, 25]), e(i, [2, 26]), { 13: B, 38: 57, 41: F, 42: N, 45: 59, 46: 60, 48: Y, 49: P }, e(Z, [2, 37]), e(Z, [2, 38]), { 16: 65, 40: O, 41: T, 42: N }, { 13: B, 38: 66, 41: F, 42: N, 45: 59, 46: 60, 48: Y, 49: P }, { 13: [1, 67], 15: [1, 68] }, e(i, [2, 17], { 61: 32, 12: 69, 17: [1, 70], 42: N, 63: J, 64: tt, 65: et, 66: st, 67: it }), { 19: [1, 71] }, e(i, [2, 14]), { 18: 72, 19: [2, 56], 51: 50, 52: 51, 56: L }, { 53: 73, 56: [1, 74] }, { 56: [2, 62] }, { 21: [1, 75] }, { 61: 76, 63: J, 64: tt, 65: et, 66: st, 67: it }, e(dt, [2, 74]), e(dt, [2, 75]), { 6: pt, 10: _t, 39: 77, 42: bt, 47: ft }, { 40: [1, 82], 41: [1, 83] }, e(gt, [2, 43], { 46: 84, 13: B, 41: F, 48: Y, 49: P }), e(v, [2, 45]), e(v, [2, 50]), e(v, [2, 51]), e(v, [2, 52]), e(v, [2, 53]), e(i, [2, 41], { 42: N }), { 6: pt, 10: _t, 39: 85, 42: bt, 47: ft }, { 14: 86, 40: K, 50: U, 70: j }, { 16: 90, 40: O, 41: T }, { 11: 91, 40: S, 50: R }, { 18: 92, 19: [1, 93], 51: 50, 52: 51, 56: L }, e(i, [2, 12]), { 19: [2, 57] }, e(z, [2, 58], { 54: 94, 55: 95, 57: 96, 59: mt, 60: Et }), e([19, 56, 59, 60], [2, 63]), e(i, [2, 22], { 15: [1, 100], 17: [1, 99] }), e([40, 50], [2, 68]), e(i, [2, 36]), { 13: B, 41: F, 45: 101, 46: 60, 48: Y, 49: P }, e(i, [2, 47]), e(i, [2, 48]), e(i, [2, 49]), e(Z, [2, 39]), e(Z, [2, 40]), e(v, [2, 46]), e(i, [2, 42]), e(i, [2, 8]), e(i, [2, 76]), e(i, [2, 77]), e(i, [2, 78]), { 13: [1, 102], 42: N }, { 13: [1, 104], 15: [1, 103] }, { 19: [1, 105] }, e(i, [2, 15]), e(z, [2, 59], { 55: 106, 58: [1, 107], 60: Et }), e(z, [2, 60]), e(nt, [2, 64]), e(z, [2, 67]), e(nt, [2, 66]), { 18: 108, 19: [1, 109], 51: 50, 52: 51, 56: L }, { 16: 110, 40: O, 41: T }, e(gt, [2, 44], { 46: 84, 13: B, 41: F, 48: Y, 49: P }), { 14: 111, 40: K, 50: U, 70: j }, { 16: 112, 40: O, 41: T }, { 14: 113, 40: K, 50: U, 70: j }, e(i, [2, 13]), e(z, [2, 61]), { 57: 114, 59: mt }, { 19: [1, 115] }, e(i, [2, 20]), e(i, [2, 23], { 17: [1, 116], 42: N }), e(i, [2, 11]), { 13: [1, 117], 42: N }, e(i, [2, 10]), e(nt, [2, 65]), e(i, [2, 18]), { 18: 118, 19: [1, 119], 51: 50, 52: 51, 56: L }, { 14: 120, 40: K, 50: U, 70: j }, { 19: [1, 121] }, e(i, [2, 21]), e(i, [2, 9]), e(i, [2, 19])],
197
+ defaultActions: { 52: [2, 62], 72: [2, 57] },
198
+ parseError: /* @__PURE__ */ o(function(m, r) {
199
+ if (r.recoverable)
200
+ this.trace(m);
201
+ else {
202
+ var a = new Error(m);
203
+ throw a.hash = r, a;
204
+ }
205
+ }, "parseError"),
206
+ parse: /* @__PURE__ */ o(function(m) {
207
+ var r = this, a = [0], n = [], h = [null], t = [], p = this.table, s = "", X = 0, kt = 0, Rt = 2, St = 1, It = t.slice.call(arguments, 1), d = Object.create(this.lexer), I = { yy: {} };
208
+ for (var at in this.yy)
209
+ Object.prototype.hasOwnProperty.call(this.yy, at) && (I.yy[at] = this.yy[at]);
210
+ d.setInput(m, I.yy), I.yy.lexer = d, I.yy.parser = this, typeof d.yylloc > "u" && (d.yylloc = {});
211
+ var ct = d.yylloc;
212
+ t.push(ct);
213
+ var Ct = d.options && d.options.ranges;
214
+ typeof I.yy.parseError == "function" ? this.parseError = I.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
215
+ function vt(b) {
216
+ a.length = a.length - 2 * b, h.length = h.length - b, t.length = t.length - b;
217
+ }
218
+ o(vt, "popStack");
219
+ function Ot() {
220
+ var b;
221
+ return b = n.pop() || d.lex() || St, typeof b != "number" && (b instanceof Array && (n = b, b = n.pop()), b = r.symbols_[b] || b), b;
222
+ }
223
+ o(Ot, "lex");
224
+ for (var _, C, g, ot, x = {}, Q, k, Tt, q; ; ) {
225
+ if (C = a[a.length - 1], this.defaultActions[C] ? g = this.defaultActions[C] : ((_ === null || typeof _ > "u") && (_ = Ot()), g = p[C] && p[C][_]), typeof g > "u" || !g.length || !g[0]) {
226
+ var lt = "";
227
+ q = [];
228
+ for (Q in p[C])
229
+ this.terminals_[Q] && Q > Rt && q.push("'" + this.terminals_[Q] + "'");
230
+ d.showPosition ? lt = "Parse error on line " + (X + 1) + `:
231
+ ` + d.showPosition() + `
232
+ Expecting ` + q.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : lt = "Parse error on line " + (X + 1) + ": Unexpected " + (_ == St ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(lt, {
233
+ text: d.match,
234
+ token: this.terminals_[_] || _,
235
+ line: d.yylineno,
236
+ loc: ct,
237
+ expected: q
238
+ });
239
+ }
240
+ if (g[0] instanceof Array && g.length > 1)
241
+ throw new Error("Parse Error: multiple actions possible at state: " + C + ", token: " + _);
242
+ switch (g[0]) {
243
+ case 1:
244
+ a.push(_), h.push(d.yytext), t.push(d.yylloc), a.push(g[1]), _ = null, kt = d.yyleng, s = d.yytext, X = d.yylineno, ct = d.yylloc;
245
+ break;
246
+ case 2:
247
+ if (k = this.productions_[g[1]][1], x.$ = h[h.length - k], x._$ = {
248
+ first_line: t[t.length - (k || 1)].first_line,
249
+ last_line: t[t.length - 1].last_line,
250
+ first_column: t[t.length - (k || 1)].first_column,
251
+ last_column: t[t.length - 1].last_column
252
+ }, Ct && (x._$.range = [
253
+ t[t.length - (k || 1)].range[0],
254
+ t[t.length - 1].range[1]
255
+ ]), ot = this.performAction.apply(x, [
256
+ s,
257
+ kt,
258
+ X,
259
+ I.yy,
260
+ g[1],
261
+ h,
262
+ t
263
+ ].concat(It)), typeof ot < "u")
264
+ return ot;
265
+ k && (a = a.slice(0, -1 * k * 2), h = h.slice(0, -1 * k), t = t.slice(0, -1 * k)), a.push(this.productions_[g[1]][0]), h.push(x.$), t.push(x._$), Tt = p[a[a.length - 2]][a[a.length - 1]], a.push(Tt);
266
+ break;
267
+ case 3:
268
+ return !0;
269
+ }
270
+ }
271
+ return !0;
272
+ }, "parse")
273
+ }, At = /* @__PURE__ */ function() {
274
+ var m = {
275
+ EOF: 1,
276
+ parseError: /* @__PURE__ */ o(function(r, a) {
277
+ if (this.yy.parser)
278
+ this.yy.parser.parseError(r, a);
279
+ else
280
+ throw new Error(r);
281
+ }, "parseError"),
282
+ // resets the lexer, sets new input
283
+ setInput: /* @__PURE__ */ o(function(r, a) {
284
+ return this.yy = a || this.yy || {}, this._input = r, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
285
+ first_line: 1,
286
+ first_column: 0,
287
+ last_line: 1,
288
+ last_column: 0
289
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
290
+ }, "setInput"),
291
+ // consumes and returns one char from the input
292
+ input: /* @__PURE__ */ o(function() {
293
+ var r = this._input[0];
294
+ this.yytext += r, this.yyleng++, this.offset++, this.match += r, this.matched += r;
295
+ var a = r.match(/(?:\r\n?|\n).*/g);
296
+ return a ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), r;
297
+ }, "input"),
298
+ // unshifts one char (or a string) into the input
299
+ unput: /* @__PURE__ */ o(function(r) {
300
+ var a = r.length, n = r.split(/(?:\r\n?|\n)/g);
301
+ this._input = r + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - a), this.offset -= a;
302
+ var h = this.match.split(/(?:\r\n?|\n)/g);
303
+ 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);
304
+ var t = this.yylloc.range;
305
+ return this.yylloc = {
306
+ first_line: this.yylloc.first_line,
307
+ last_line: this.yylineno + 1,
308
+ first_column: this.yylloc.first_column,
309
+ last_column: n ? (n.length === h.length ? this.yylloc.first_column : 0) + h[h.length - n.length].length - n[0].length : this.yylloc.first_column - a
310
+ }, this.options.ranges && (this.yylloc.range = [t[0], t[0] + this.yyleng - a]), this.yyleng = this.yytext.length, this;
311
+ }, "unput"),
312
+ // When called from action, caches matched text and appends it on next action
313
+ more: /* @__PURE__ */ o(function() {
314
+ return this._more = !0, this;
315
+ }, "more"),
316
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
317
+ reject: /* @__PURE__ */ o(function() {
318
+ if (this.options.backtrack_lexer)
319
+ this._backtrack = !0;
320
+ else
321
+ 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).
322
+ ` + this.showPosition(), {
323
+ text: "",
324
+ token: null,
325
+ line: this.yylineno
326
+ });
327
+ return this;
328
+ }, "reject"),
329
+ // retain first n characters of the match
330
+ less: /* @__PURE__ */ o(function(r) {
331
+ this.unput(this.match.slice(r));
332
+ }, "less"),
333
+ // displays already matched input, i.e. for error messages
334
+ pastInput: /* @__PURE__ */ o(function() {
335
+ var r = this.matched.substr(0, this.matched.length - this.match.length);
336
+ return (r.length > 20 ? "..." : "") + r.substr(-20).replace(/\n/g, "");
337
+ }, "pastInput"),
338
+ // displays upcoming input, i.e. for error messages
339
+ upcomingInput: /* @__PURE__ */ o(function() {
340
+ var r = this.match;
341
+ return r.length < 20 && (r += this._input.substr(0, 20 - r.length)), (r.substr(0, 20) + (r.length > 20 ? "..." : "")).replace(/\n/g, "");
342
+ }, "upcomingInput"),
343
+ // displays the character position where the lexing error occurred, i.e. for error messages
344
+ showPosition: /* @__PURE__ */ o(function() {
345
+ var r = this.pastInput(), a = new Array(r.length + 1).join("-");
346
+ return r + this.upcomingInput() + `
347
+ ` + a + "^";
348
+ }, "showPosition"),
349
+ // test the lexed token: return FALSE when not a match, otherwise return token
350
+ test_match: /* @__PURE__ */ o(function(r, a) {
351
+ var n, h, t;
352
+ if (this.options.backtrack_lexer && (t = {
353
+ yylineno: this.yylineno,
354
+ yylloc: {
355
+ first_line: this.yylloc.first_line,
356
+ last_line: this.last_line,
357
+ first_column: this.yylloc.first_column,
358
+ last_column: this.yylloc.last_column
359
+ },
360
+ yytext: this.yytext,
361
+ match: this.match,
362
+ matches: this.matches,
363
+ matched: this.matched,
364
+ yyleng: this.yyleng,
365
+ offset: this.offset,
366
+ _more: this._more,
367
+ _input: this._input,
368
+ yy: this.yy,
369
+ conditionStack: this.conditionStack.slice(0),
370
+ done: this.done
371
+ }, this.options.ranges && (t.yylloc.range = this.yylloc.range.slice(0))), h = r[0].match(/(?:\r\n?|\n).*/g), h && (this.yylineno += h.length), this.yylloc = {
372
+ first_line: this.yylloc.last_line,
373
+ last_line: this.yylineno + 1,
374
+ first_column: this.yylloc.last_column,
375
+ last_column: h ? h[h.length - 1].length - h[h.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + r[0].length
376
+ }, this.yytext += r[0], this.match += r[0], this.matches = r, 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(r[0].length), this.matched += r[0], n = this.performAction.call(this, this.yy, this, a, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n)
377
+ return n;
378
+ if (this._backtrack) {
379
+ for (var p in t)
380
+ this[p] = t[p];
381
+ return !1;
382
+ }
383
+ return !1;
384
+ }, "test_match"),
385
+ // return next match in input
386
+ next: /* @__PURE__ */ o(function() {
387
+ if (this.done)
388
+ return this.EOF;
389
+ this._input || (this.done = !0);
390
+ var r, a, n, h;
391
+ this._more || (this.yytext = "", this.match = "");
392
+ for (var t = this._currentRules(), p = 0; p < t.length; p++)
393
+ if (n = this._input.match(this.rules[t[p]]), n && (!a || n[0].length > a[0].length)) {
394
+ if (a = n, h = p, this.options.backtrack_lexer) {
395
+ if (r = this.test_match(n, t[p]), r !== !1)
396
+ return r;
397
+ if (this._backtrack) {
398
+ a = !1;
399
+ continue;
400
+ } else
401
+ return !1;
402
+ } else if (!this.options.flex)
403
+ break;
404
+ }
405
+ return a ? (r = this.test_match(a, t[h]), r !== !1 ? r : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
406
+ ` + this.showPosition(), {
407
+ text: "",
408
+ token: null,
409
+ line: this.yylineno
410
+ });
411
+ }, "next"),
412
+ // return next match that has a token
413
+ lex: /* @__PURE__ */ o(function() {
414
+ var r = this.next();
415
+ return r || this.lex();
416
+ }, "lex"),
417
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
418
+ begin: /* @__PURE__ */ o(function(r) {
419
+ this.conditionStack.push(r);
420
+ }, "begin"),
421
+ // pop the previously active lexer condition state off the condition stack
422
+ popState: /* @__PURE__ */ o(function() {
423
+ var r = this.conditionStack.length - 1;
424
+ return r > 0 ? this.conditionStack.pop() : this.conditionStack[0];
425
+ }, "popState"),
426
+ // produce the lexer rule set which is active for the currently active lexer condition state
427
+ _currentRules: /* @__PURE__ */ o(function() {
428
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
429
+ }, "_currentRules"),
430
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
431
+ topState: /* @__PURE__ */ o(function(r) {
432
+ return r = this.conditionStack.length - 1 - Math.abs(r || 0), r >= 0 ? this.conditionStack[r] : "INITIAL";
433
+ }, "topState"),
434
+ // alias for begin(condition)
435
+ pushState: /* @__PURE__ */ o(function(r) {
436
+ this.begin(r);
437
+ }, "pushState"),
438
+ // return the number of states currently on the stack
439
+ stateStackSize: /* @__PURE__ */ o(function() {
440
+ return this.conditionStack.length;
441
+ }, "stateStackSize"),
442
+ options: { "case-insensitive": !0 },
443
+ performAction: /* @__PURE__ */ o(function(r, a, n, h) {
444
+ switch (n) {
445
+ case 0:
446
+ return this.begin("acc_title"), 24;
447
+ case 1:
448
+ return this.popState(), "acc_title_value";
449
+ case 2:
450
+ return this.begin("acc_descr"), 26;
451
+ case 3:
452
+ return this.popState(), "acc_descr_value";
453
+ case 4:
454
+ this.begin("acc_descr_multiline");
455
+ break;
456
+ case 5:
457
+ this.popState();
458
+ break;
459
+ case 6:
460
+ return "acc_descr_multiline_value";
461
+ case 7:
462
+ return 33;
463
+ case 8:
464
+ return 34;
465
+ case 9:
466
+ return 35;
467
+ case 10:
468
+ return 36;
469
+ case 11:
470
+ return 10;
471
+ case 12:
472
+ break;
473
+ case 13:
474
+ return 8;
475
+ case 14:
476
+ return 50;
477
+ case 15:
478
+ return 70;
479
+ case 16:
480
+ return 4;
481
+ case 17:
482
+ return this.begin("block"), 17;
483
+ case 18:
484
+ return 49;
485
+ case 19:
486
+ return 49;
487
+ case 20:
488
+ return 42;
489
+ case 21:
490
+ return 15;
491
+ case 22:
492
+ return 13;
493
+ case 23:
494
+ break;
495
+ case 24:
496
+ return 59;
497
+ case 25:
498
+ return 56;
499
+ case 26:
500
+ return 56;
501
+ case 27:
502
+ return 60;
503
+ case 28:
504
+ break;
505
+ case 29:
506
+ return this.popState(), 19;
507
+ case 30:
508
+ return a.yytext[0];
509
+ case 31:
510
+ return 20;
511
+ case 32:
512
+ return 21;
513
+ case 33:
514
+ return this.begin("style"), 44;
515
+ case 34:
516
+ return this.popState(), 10;
517
+ case 35:
518
+ break;
519
+ case 36:
520
+ return 13;
521
+ case 37:
522
+ return 42;
523
+ case 38:
524
+ return 49;
525
+ case 39:
526
+ return this.begin("style"), 37;
527
+ case 40:
528
+ return 43;
529
+ case 41:
530
+ return 63;
531
+ case 42:
532
+ return 65;
533
+ case 43:
534
+ return 65;
535
+ case 44:
536
+ return 65;
537
+ case 45:
538
+ return 63;
539
+ case 46:
540
+ return 63;
541
+ case 47:
542
+ return 64;
543
+ case 48:
544
+ return 64;
545
+ case 49:
546
+ return 64;
547
+ case 50:
548
+ return 64;
549
+ case 51:
550
+ return 64;
551
+ case 52:
552
+ return 65;
553
+ case 53:
554
+ return 64;
555
+ case 54:
556
+ return 65;
557
+ case 55:
558
+ return 66;
559
+ case 56:
560
+ return 66;
561
+ case 57:
562
+ return 66;
563
+ case 58:
564
+ return 66;
565
+ case 59:
566
+ return 63;
567
+ case 60:
568
+ return 64;
569
+ case 61:
570
+ return 65;
571
+ case 62:
572
+ return 67;
573
+ case 63:
574
+ return 68;
575
+ case 64:
576
+ return 69;
577
+ case 65:
578
+ return 69;
579
+ case 66:
580
+ return 68;
581
+ case 67:
582
+ return 68;
583
+ case 68:
584
+ return 68;
585
+ case 69:
586
+ return 41;
587
+ case 70:
588
+ return 47;
589
+ case 71:
590
+ return 40;
591
+ case 72:
592
+ return 48;
593
+ case 73:
594
+ return a.yytext[0];
595
+ case 74:
596
+ return 6;
597
+ }
598
+ }, "anonymous"),
599
+ rules: [/^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:[\s]+)/i, /^(?:"[^"%\r\n\v\b\\]+")/i, /^(?:"[^"]*")/i, /^(?:erDiagram\b)/i, /^(?:\{)/i, /^(?:#)/i, /^(?:#)/i, /^(?:,)/i, /^(?::::)/i, /^(?::)/i, /^(?:\s+)/i, /^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i, /^(?:([^\s]*)[~].*[~]([^\s]*))/i, /^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\u00C0-\uFFFF\*]*))/i, /^(?:"[^"]*")/i, /^(?:[\n]+)/i, /^(?:\})/i, /^(?:.)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:style\b)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?::)/i, /^(?:,)/i, /^(?:#)/i, /^(?:classDef\b)/i, /^(?:class\b)/i, /^(?:one or zero\b)/i, /^(?:one or more\b)/i, /^(?:one or many\b)/i, /^(?:1\+)/i, /^(?:\|o\b)/i, /^(?:zero or one\b)/i, /^(?:zero or more\b)/i, /^(?:zero or many\b)/i, /^(?:0\+)/i, /^(?:\}o\b)/i, /^(?:many\(0\))/i, /^(?:many\(1\))/i, /^(?:many\b)/i, /^(?:\}\|)/i, /^(?:one\b)/i, /^(?:only one\b)/i, /^(?:1\b)/i, /^(?:\|\|)/i, /^(?:o\|)/i, /^(?:o\{)/i, /^(?:\|\{)/i, /^(?:\s*u\b)/i, /^(?:\.\.)/i, /^(?:--)/i, /^(?:to\b)/i, /^(?:optionally to\b)/i, /^(?:\.-)/i, /^(?:-\.)/i, /^(?:([^\x00-\x7F]|\w|-|\*)+)/i, /^(?:;)/i, /^(?:([^\x00-\x7F]|\w|-|\*)+)/i, /^(?:[0-9])/i, /^(?:.)/i, /^(?:$)/i],
600
+ conditions: { style: { rules: [34, 35, 36, 37, 38, 69, 70], inclusive: !1 }, acc_descr_multiline: { rules: [5, 6], inclusive: !1 }, acc_descr: { rules: [3], inclusive: !1 }, acc_title: { rules: [1], inclusive: !1 }, block: { rules: [23, 24, 25, 26, 27, 28, 29, 30], inclusive: !1 }, INITIAL: { rules: [0, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 31, 32, 33, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 71, 72, 73, 74], inclusive: !0 } }
601
+ };
602
+ return m;
603
+ }();
604
+ rt.lexer = At;
605
+ function W() {
606
+ this.yy = {};
607
+ }
608
+ return o(W, "Parser"), W.prototype = rt, rt.Parser = W, new W();
609
+ }();
610
+ ut.parser = ut;
611
+ var Xt = ut, ht, Qt = (ht = class {
612
+ constructor() {
613
+ this.entities = /* @__PURE__ */ new Map(), this.relationships = [], this.classes = /* @__PURE__ */ new Map(), this.direction = "TB", this.Cardinality = {
614
+ ZERO_OR_ONE: "ZERO_OR_ONE",
615
+ ZERO_OR_MORE: "ZERO_OR_MORE",
616
+ ONE_OR_MORE: "ONE_OR_MORE",
617
+ ONLY_ONE: "ONLY_ONE",
618
+ MD_PARENT: "MD_PARENT"
619
+ }, this.Identification = {
620
+ NON_IDENTIFYING: "NON_IDENTIFYING",
621
+ IDENTIFYING: "IDENTIFYING"
622
+ }, this.setAccTitle = Ft, this.getAccTitle = Yt, this.setAccDescription = Pt, this.getAccDescription = zt, this.setDiagramTitle = Gt, this.getDiagramTitle = Zt, this.getConfig = /* @__PURE__ */ o(() => H().er, "getConfig"), this.clear(), this.addEntity = this.addEntity.bind(this), this.addAttributes = this.addAttributes.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setDirection = this.setDirection.bind(this), this.addCssStyles = this.addCssStyles.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
623
+ }
624
+ /**
625
+ * Add entity
626
+ * @param name - The name of the entity
627
+ * @param alias - The alias of the entity
628
+ */
629
+ addEntity(e, i = "") {
630
+ var u;
631
+ return this.entities.has(e) ? !((u = this.entities.get(e)) != null && u.alias) && i && (this.entities.get(e).alias = i, $.info(`Add alias '${i}' to entity '${e}'`)) : (this.entities.set(e, {
632
+ id: `entity-${e}-${this.entities.size}`,
633
+ label: e,
634
+ attributes: [],
635
+ alias: i,
636
+ shape: "erBox",
637
+ look: H().look ?? "default",
638
+ cssClasses: "default",
639
+ cssStyles: []
640
+ }), $.info("Added new entity :", e)), this.entities.get(e);
641
+ }
642
+ getEntity(e) {
643
+ return this.entities.get(e);
644
+ }
645
+ getEntities() {
646
+ return this.entities;
647
+ }
648
+ getClasses() {
649
+ return this.classes;
650
+ }
651
+ addAttributes(e, i) {
652
+ const u = this.addEntity(e);
653
+ let c;
654
+ for (c = i.length - 1; c >= 0; c--)
655
+ i[c].keys || (i[c].keys = []), i[c].comment || (i[c].comment = ""), u.attributes.push(i[c]), $.debug("Added attribute ", i[c].name);
656
+ }
657
+ /**
658
+ * Add a relationship
659
+ *
660
+ * @param entA - The first entity in the relationship
661
+ * @param rolA - The role played by the first entity in relation to the second
662
+ * @param entB - The second entity in the relationship
663
+ * @param rSpec - The details of the relationship between the two entities
664
+ */
665
+ addRelationship(e, i, u, c) {
666
+ const l = this.entities.get(e), y = this.entities.get(u);
667
+ if (!l || !y)
668
+ return;
669
+ const A = {
670
+ entityA: l.id,
671
+ roleA: i,
672
+ entityB: y.id,
673
+ relSpec: c
674
+ };
675
+ this.relationships.push(A), $.debug("Added new relationship :", A);
676
+ }
677
+ getRelationships() {
678
+ return this.relationships;
679
+ }
680
+ getDirection() {
681
+ return this.direction;
682
+ }
683
+ setDirection(e) {
684
+ this.direction = e;
685
+ }
686
+ getCompiledStyles(e) {
687
+ let i = [];
688
+ for (const u of e) {
689
+ const c = this.classes.get(u);
690
+ c != null && c.styles && (i = [...i, ...c.styles ?? []].map((l) => l.trim())), c != null && c.textStyles && (i = [...i, ...c.textStyles ?? []].map((l) => l.trim()));
691
+ }
692
+ return i;
693
+ }
694
+ addCssStyles(e, i) {
695
+ for (const u of e) {
696
+ const c = this.entities.get(u);
697
+ if (!i || !c)
698
+ return;
699
+ for (const l of i)
700
+ c.cssStyles.push(l);
701
+ }
702
+ }
703
+ addClass(e, i) {
704
+ e.forEach((u) => {
705
+ let c = this.classes.get(u);
706
+ c === void 0 && (c = { id: u, styles: [], textStyles: [] }, this.classes.set(u, c)), i && i.forEach(function(l) {
707
+ if (/color/.exec(l)) {
708
+ const y = l.replace("fill", "bgFill");
709
+ c.textStyles.push(y);
710
+ }
711
+ c.styles.push(l);
712
+ });
713
+ });
714
+ }
715
+ setClass(e, i) {
716
+ for (const u of e) {
717
+ const c = this.entities.get(u);
718
+ if (c)
719
+ for (const l of i)
720
+ c.cssClasses += " " + l;
721
+ }
722
+ }
723
+ clear() {
724
+ this.entities = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.relationships = [], Kt();
725
+ }
726
+ getData() {
727
+ const e = [], i = [], u = H();
728
+ for (const l of this.entities.keys()) {
729
+ const y = this.entities.get(l);
730
+ y && (y.cssCompiledStyles = this.getCompiledStyles(y.cssClasses.split(" ")), e.push(y));
731
+ }
732
+ let c = 0;
733
+ for (const l of this.relationships) {
734
+ const y = {
735
+ id: Ut(l.entityA, l.entityB, {
736
+ prefix: "id",
737
+ counter: c++
738
+ }),
739
+ type: "normal",
740
+ curve: "basis",
741
+ start: l.entityA,
742
+ end: l.entityB,
743
+ label: l.roleA,
744
+ labelpos: "c",
745
+ thickness: "normal",
746
+ classes: "relationshipLine",
747
+ arrowTypeStart: l.relSpec.cardB.toLowerCase(),
748
+ arrowTypeEnd: l.relSpec.cardA.toLowerCase(),
749
+ pattern: l.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
750
+ look: u.look
751
+ };
752
+ i.push(y);
753
+ }
754
+ return { nodes: e, edges: i, other: {}, config: u, direction: "TB" };
755
+ }
756
+ }, o(ht, "ErDB"), ht), Nt = {};
757
+ Dt(Nt, {
758
+ draw: () => qt
759
+ });
760
+ var qt = /* @__PURE__ */ o(async function(e, i, u, c) {
761
+ $.info("REF0:"), $.info("Drawing er diagram (unified)", i);
762
+ const { securityLevel: l, er: y, layout: A } = H(), f = c.db.getData(), E = xt(i, l);
763
+ f.type = c.type, f.layoutAlgorithm = wt(A), f.config.flowchart.nodeSpacing = (y == null ? void 0 : y.nodeSpacing) || 140, f.config.flowchart.rankSpacing = (y == null ? void 0 : y.rankSpacing) || 80, f.direction = c.db.getDirection(), f.markers = ["only_one", "zero_or_one", "one_or_more", "zero_or_more"], f.diagramId = i, await Lt(f, E), f.layoutAlgorithm === "elk" && E.select(".edges").lower();
764
+ const D = E.selectAll('[id*="-background"]');
765
+ Array.from(D).length > 0 && D.each(function() {
766
+ const S = Mt(this), G = S.attr("id").replace("-background", ""), w = E.select(`#${CSS.escape(G)}`);
767
+ if (!w.empty()) {
768
+ const R = w.attr("transform");
769
+ S.attr("transform", R);
770
+ }
771
+ }), Bt.insertTitle(
772
+ E,
773
+ "erDiagramTitleText",
774
+ (y == null ? void 0 : y.titleTopMargin) ?? 25,
775
+ c.db.getDiagramTitle()
776
+ ), $t(E, 8, "erDiagram", (y == null ? void 0 : y.useMaxWidth) ?? !0);
777
+ }, "draw"), Ht = /* @__PURE__ */ o((e, i) => {
778
+ const u = Wt, c = u(e, "r"), l = u(e, "g"), y = u(e, "b");
779
+ return jt(c, l, y, i);
780
+ }, "fade"), Vt = /* @__PURE__ */ o((e) => `
781
+ .entityBox {
782
+ fill: ${e.mainBkg};
783
+ stroke: ${e.nodeBorder};
784
+ }
785
+
786
+ .relationshipLabelBox {
787
+ fill: ${e.tertiaryColor};
788
+ opacity: 0.7;
789
+ background-color: ${e.tertiaryColor};
790
+ rect {
791
+ opacity: 0.5;
792
+ }
793
+ }
794
+
795
+ .labelBkg {
796
+ background-color: ${Ht(e.tertiaryColor, 0.5)};
797
+ }
798
+
799
+ .edgeLabel .label {
800
+ fill: ${e.nodeBorder};
801
+ font-size: 14px;
802
+ }
803
+
804
+ .label {
805
+ font-family: ${e.fontFamily};
806
+ color: ${e.nodeTextColor || e.textColor};
807
+ }
808
+
809
+ .edge-pattern-dashed {
810
+ stroke-dasharray: 8,8;
811
+ }
812
+
813
+ .node rect,
814
+ .node circle,
815
+ .node ellipse,
816
+ .node polygon
817
+ {
818
+ fill: ${e.mainBkg};
819
+ stroke: ${e.nodeBorder};
820
+ stroke-width: 1px;
821
+ }
822
+
823
+ .relationshipLine {
824
+ stroke: ${e.lineColor};
825
+ stroke-width: 1;
826
+ fill: none;
827
+ }
828
+
829
+ .marker {
830
+ fill: none !important;
831
+ stroke: ${e.lineColor} !important;
832
+ stroke-width: 1;
833
+ }
834
+ `, "getStyles"), Jt = Vt, ce = {
835
+ parser: Xt,
836
+ get db() {
837
+ return new Qt();
838
+ },
839
+ renderer: Nt,
840
+ styles: Jt
841
+ };
842
+ export {
843
+ ce as diagram
844
+ };