@omg-dev/app 0.1.308

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 (423) hide show
  1. package/LICENSE +21 -0
  2. package/dist-lib/BrowserProfiles-BKqSwtW3.js +650 -0
  3. package/dist-lib/ChangelogPage-DUF8wn1F.js +2978 -0
  4. package/dist-lib/File-BszRWhXA.js +5866 -0
  5. package/dist-lib/FileEditor-ByMnm-sa.js +6892 -0
  6. package/dist-lib/FileTreePane-BG2k7gTc.js +8422 -0
  7. package/dist-lib/FileViewer-DgjR_OJp.js +18 -0
  8. package/dist-lib/SessionFilesPanel-Brfp2niD.js +336 -0
  9. package/dist-lib/TermView-BNcp4mex.js +4000 -0
  10. package/dist-lib/__vite-browser-external-2447137e-DYxpcVy9.js +4 -0
  11. package/dist-lib/_commonjsHelpers-C6fGbg64.js +6 -0
  12. package/dist-lib/abap-Y8Dl9g_6.js +6 -0
  13. package/dist-lib/abnfDiagram-VRR7QNED-Chn1Z_p9.js +87 -0
  14. package/dist-lib/actionscript-3-DQVEcJUW.js +6 -0
  15. package/dist-lib/ada-vP6ak0IW.js +6 -0
  16. package/dist-lib/agent-claude.svg +1 -0
  17. package/dist-lib/agent-codex.svg +1 -0
  18. package/dist-lib/agent-copilot.svg +1 -0
  19. package/dist-lib/agent-cursor.svg +4 -0
  20. package/dist-lib/agent-grok.svg +1 -0
  21. package/dist-lib/agent-hermes.svg +9 -0
  22. package/dist-lib/agent-opencode.svg +1 -0
  23. package/dist-lib/agent-pi.svg +7 -0
  24. package/dist-lib/andromeeda-BbmzSJq1.js +4 -0
  25. package/dist-lib/angular-html-DPB4Rf0C.js +32 -0
  26. package/dist-lib/angular-ts-CTOR2ofC.js +21 -0
  27. package/dist-lib/apache-BUjz-sD2.js +6 -0
  28. package/dist-lib/apex-OyTfjCYK.js +6 -0
  29. package/dist-lib/apl-CjNiDgad.js +16 -0
  30. package/dist-lib/apple-touch-icon.png +0 -0
  31. package/dist-lib/applescript-BPx7YFFu.js +6 -0
  32. package/dist-lib/ara-Z2fSOxSw.js +6 -0
  33. package/dist-lib/arc-B652oHQ-.js +83 -0
  34. package/dist-lib/architectureDiagram-ZJ3FMSHR-CMatArpz.js +4762 -0
  35. package/dist-lib/asciidoc-C1T9ziH6.js +6 -0
  36. package/dist-lib/asm-BTWLY5ym.js +6 -0
  37. package/dist-lib/astro-CFFExE8Q.js +18 -0
  38. package/dist-lib/aurora-x-BwoVEUWZ.js +4 -0
  39. package/dist-lib/awk-Fb0P9dkn.js +6 -0
  40. package/dist-lib/ayu-dark-DJoqd4M9.js +4 -0
  41. package/dist-lib/ayu-light-BzXEJRJ-.js +4 -0
  42. package/dist-lib/ayu-mirage-BJ2oZGzi.js +4 -0
  43. package/dist-lib/badge-CgdKT4o8.js +46 -0
  44. package/dist-lib/ballerina-oZK-YekG.js +6 -0
  45. package/dist-lib/bat-0FvbqU9S.js +6 -0
  46. package/dist-lib/beancount-DqJEb89h.js +6 -0
  47. package/dist-lib/berry-DODBq_Ff.js +6 -0
  48. package/dist-lib/bibtex-EULQRLY5.js +6 -0
  49. package/dist-lib/bicep-BorU73w0.js +6 -0
  50. package/dist-lib/bird2-CIjBSNj3.js +6 -0
  51. package/dist-lib/blade-D0HyNvCw.js +20 -0
  52. package/dist-lib/blockDiagram-677ZJIJ3-CEOPfI9A.js +2429 -0
  53. package/dist-lib/bsl-NkNNwerW.js +8 -0
  54. package/dist-lib/c-eeMepfLm.js +6 -0
  55. package/dist-lib/c3-BY5XW5ym.js +6 -0
  56. package/dist-lib/c4Diagram-LMCZKHZV-DcUHrESL.js +1578 -0
  57. package/dist-lib/cadence-02UX7mW8.js +6 -0
  58. package/dist-lib/cairo-DM6WF2e3.js +8 -0
  59. package/dist-lib/catppuccin-frappe-D3cH2rXe.js +4 -0
  60. package/dist-lib/catppuccin-latte-C0LRGUW4.js +4 -0
  61. package/dist-lib/catppuccin-macchiato-c5wQ11TT.js +4 -0
  62. package/dist-lib/catppuccin-mocha-WMD6Qvya.js +4 -0
  63. package/dist-lib/channel-B5lJFbed.js +5 -0
  64. package/dist-lib/chat-engine-BeMpvOlJ.js +7272 -0
  65. package/dist-lib/chunk-2Q5K7J3B-Ex8Ly28R.js +15 -0
  66. package/dist-lib/chunk-32BRIVSS-IYmNSvH8.js +68 -0
  67. package/dist-lib/chunk-5VM5RSS4-DO2g-xIj.js +19 -0
  68. package/dist-lib/chunk-EX3LRPZG-N96wfks9.js +1421 -0
  69. package/dist-lib/chunk-JWPE2WC7-DFPBClX_.js +9 -0
  70. package/dist-lib/chunk-MOJQB5TN-dusfI9ob.js +664 -0
  71. package/dist-lib/chunk-RYQCIY6F-fkeERzIG.js +315 -0
  72. package/dist-lib/chunk-V7JOEXUC-DQwf2vkP.js +1534 -0
  73. package/dist-lib/chunk-VR4S4FIN-hOZG7eF3.js +20 -0
  74. package/dist-lib/chunk-XXDRQBXY-Ccv4aRcn.js +8 -0
  75. package/dist-lib/clarity-PKm5CwqM.js +6 -0
  76. package/dist-lib/classDiagram-OUVF2IWQ-DOn-rhuL.js +16 -0
  77. package/dist-lib/classDiagram-v2-EOCWNBFH-DOn-rhuL.js +16 -0
  78. package/dist-lib/clipboard-paste-Cq1hNjMN.js +17 -0
  79. package/dist-lib/clojure-CXJfHrL3.js +6 -0
  80. package/dist-lib/cmake-BJz8BOTU.js +6 -0
  81. package/dist-lib/cobol-HihOMwht.js +10 -0
  82. package/dist-lib/codeowners-Bt9yU6NX.js +6 -0
  83. package/dist-lib/codeql-DHkodjjI.js +6 -0
  84. package/dist-lib/coding-agents-page-7V7PKijy.js +209 -0
  85. package/dist-lib/coffee-DGBR_nr_.js +8 -0
  86. package/dist-lib/common-lisp-EVqT9Zhp.js +6 -0
  87. package/dist-lib/coq-B0L9upzn.js +6 -0
  88. package/dist-lib/cose-bilkent-JH36ORCC-C-tACTrT.js +2609 -0
  89. package/dist-lib/cpp-Cj177cuW.js +18 -0
  90. package/dist-lib/create-BrnHvSDE.js +306 -0
  91. package/dist-lib/crystal-CRJyc4G-.js +18 -0
  92. package/dist-lib/csharp-CCgA4A09.js +6 -0
  93. package/dist-lib/css-CECN5uSL.js +6 -0
  94. package/dist-lib/csv-CmYOceLb.js +6 -0
  95. package/dist-lib/cue-ZzumE7IT.js +6 -0
  96. package/dist-lib/cynefin-VYW2F7L2-DQXPWaog.js +23853 -0
  97. package/dist-lib/cynefinDiagram-TSTJHNR4-Be7CamD2.js +299 -0
  98. package/dist-lib/cypher-jpdmjtA6.js +6 -0
  99. package/dist-lib/cytoscape.esm-B0ledd6M.js +18786 -0
  100. package/dist-lib/d-CBagWSwH.js +6 -0
  101. package/dist-lib/dagre-VKFMJZFB-BhCjK7XQ.js +346 -0
  102. package/dist-lib/dark-plus-pUHDTVV0.js +4 -0
  103. package/dist-lib/dart-6ObCrKr9.js +6 -0
  104. package/dist-lib/dax-CcDT-8dH.js +6 -0
  105. package/dist-lib/defaultLocale-BgPVtth8.js +171 -0
  106. package/dist-lib/desktop-B93p9R9O.js +6 -0
  107. package/dist-lib/diagram-FQU43EPY-Jg12ow4Z.js +466 -0
  108. package/dist-lib/diagram-G47NLZAW-C3_z2t6T.js +530 -0
  109. package/dist-lib/diagram-NH7WQ7WH-DUdK08IT.js +143 -0
  110. package/dist-lib/diagram-OA4YK3LP-TUUyRYY3.js +353 -0
  111. package/dist-lib/diagram-WEI45ONY-D1kKPOc_.js +221 -0
  112. package/dist-lib/diff-BxzP2J8R.js +6 -0
  113. package/dist-lib/docker-CsHqm9tx.js +6 -0
  114. package/dist-lib/dotenv-BMjVjUL1.js +6 -0
  115. package/dist-lib/dracula-BtZx2Kac.js +4 -0
  116. package/dist-lib/dracula-soft-BKa-aqBv.js +4 -0
  117. package/dist-lib/dream-maker-PAx17jaB.js +6 -0
  118. package/dist-lib/ebnfDiagram-CCIWWBDH-BhQWrGMc.js +109 -0
  119. package/dist-lib/edge-BYQkOzbF.js +12 -0
  120. package/dist-lib/elixir-Dh036GMp.js +8 -0
  121. package/dist-lib/elm-BtNbw_Cd.js +8 -0
  122. package/dist-lib/emacs-lisp-Cfxdx5D-.js +6 -0
  123. package/dist-lib/embedded-DS7udW2I.js +41876 -0
  124. package/dist-lib/engine-compile-BeZvvx0I.js +10442 -0
  125. package/dist-lib/erDiagram-Q63AITRT-D2q6Nmwa.js +911 -0
  126. package/dist-lib/erb-ScVOXVpH.js +10 -0
  127. package/dist-lib/erlang-DNcDT8Hi.js +8 -0
  128. package/dist-lib/everforest-dark-DMCBqXCK.js +4 -0
  129. package/dist-lib/everforest-light-BbXl82Em.js +4 -0
  130. package/dist-lib/fennel-N4WcXuKx.js +6 -0
  131. package/dist-lib/fish-BTDEUgqH.js +6 -0
  132. package/dist-lib/flowDiagram-23GEKE2U-DU3S3biU.js +1645 -0
  133. package/dist-lib/fluent-BMXUxfv1.js +6 -0
  134. package/dist-lib/fortran-fixed-form-B67KFkXH.js +8 -0
  135. package/dist-lib/fortran-free-form-CwqYvCLJ.js +6 -0
  136. package/dist-lib/fsharp-CYOiIVNx.js +8 -0
  137. package/dist-lib/ganttDiagram-NO4QXBWP-C_Lj-cJB.js +2712 -0
  138. package/dist-lib/gdresource-CvCIUjhi.js +10 -0
  139. package/dist-lib/gdscript-DSAxJ_aS.js +6 -0
  140. package/dist-lib/gdshader-Bk8fF6yr.js +6 -0
  141. package/dist-lib/genie-DzUvd7U9.js +6 -0
  142. package/dist-lib/gherkin-DHRaV0YP.js +6 -0
  143. package/dist-lib/git-commit-Bd32YZ0K.js +8 -0
  144. package/dist-lib/git-rebase-ZWUFO_T4.js +8 -0
  145. package/dist-lib/gitGraphDiagram-IHSO6WYX-CvGu0XAR.js +828 -0
  146. package/dist-lib/github-dark-DenFmJkN.js +4 -0
  147. package/dist-lib/github-dark-default-BJPUVz4H.js +4 -0
  148. package/dist-lib/github-dark-dimmed-DUshB20C.js +4 -0
  149. package/dist-lib/github-dark-high-contrast-D3aGCnF8.js +4 -0
  150. package/dist-lib/github-light-JYsPkUQd.js +4 -0
  151. package/dist-lib/github-light-default-D99KPAby.js +4 -0
  152. package/dist-lib/github-light-high-contrast-BbmZE-Mp.js +4 -0
  153. package/dist-lib/gleam-Bv284lvN.js +6 -0
  154. package/dist-lib/glimmer-js-DkxNrfPT.js +14 -0
  155. package/dist-lib/glimmer-ts-D6YZEmK_.js +14 -0
  156. package/dist-lib/glsl-CkUcVZNK.js +8 -0
  157. package/dist-lib/gn-XtJxiLa4.js +6 -0
  158. package/dist-lib/gnuplot-yPG9-sE_.js +6 -0
  159. package/dist-lib/go-CvFNMTvu.js +6 -0
  160. package/dist-lib/graph-B68L3K2T.js +1545 -0
  161. package/dist-lib/graphql-CBu2ehBn.js +14 -0
  162. package/dist-lib/groovy-CJQTphOW.js +6 -0
  163. package/dist-lib/gruvbox-dark-hard-C5HOtKIh.js +4 -0
  164. package/dist-lib/gruvbox-dark-medium-FVgwJHuz.js +4 -0
  165. package/dist-lib/gruvbox-dark-soft-B46F314v.js +4 -0
  166. package/dist-lib/gruvbox-light-hard-CJD38wDZ.js +4 -0
  167. package/dist-lib/gruvbox-light-medium-BlIhMYTA.js +4 -0
  168. package/dist-lib/gruvbox-light-soft-DoPHyLVZ.js +4 -0
  169. package/dist-lib/hack-ItRNKiEb.js +10 -0
  170. package/dist-lib/haml-NZLVzu_R.js +10 -0
  171. package/dist-lib/handlebars-mxStpSE7.js +14 -0
  172. package/dist-lib/haskell-WeIwNIP6.js +6 -0
  173. package/dist-lib/haxe-TztHsm5T.js +6 -0
  174. package/dist-lib/hcl-D438OF-I.js +6 -0
  175. package/dist-lib/highlighted-body-OFNGDK62-B2IXPhCU.js +19 -0
  176. package/dist-lib/hjson-DYBUbqOl.js +6 -0
  177. package/dist-lib/hlsl-Bk8TCZNL.js +6 -0
  178. package/dist-lib/horizon-CJQ10nlf.js +4 -0
  179. package/dist-lib/horizon-bright-CdkBZOMB.js +4 -0
  180. package/dist-lib/houston-BDYrDoDW.js +4 -0
  181. package/dist-lib/html-B50bmoVb.js +10 -0
  182. package/dist-lib/html-derivative-C6bxFbFW.js +8 -0
  183. package/dist-lib/http-DLvAkeD-.js +14 -0
  184. package/dist-lib/hurl-CgkFN90t.js +12 -0
  185. package/dist-lib/hxml-GbqSQCLa.js +8 -0
  186. package/dist-lib/hy-Brt5EZ7-.js +6 -0
  187. package/dist-lib/icon-192.png +0 -0
  188. package/dist-lib/icon-512.png +0 -0
  189. package/dist-lib/icon-maskable-512.png +0 -0
  190. package/dist-lib/icon-maskable.svg +16 -0
  191. package/dist-lib/icon-small.svg +19 -0
  192. package/dist-lib/icon.svg +19 -0
  193. package/dist-lib/imba-CimUv-Uh.js +6 -0
  194. package/dist-lib/index-DhYD46ms.js +5062 -0
  195. package/dist-lib/index-JkCQXUYs.js +16566 -0
  196. package/dist-lib/index-npuLMlPS.js +746 -0
  197. package/dist-lib/index.d.ts +95 -0
  198. package/dist-lib/index.js +8 -0
  199. package/dist-lib/infoDiagram-FWYZ7A6U-BbUkT0KS.js +24 -0
  200. package/dist-lib/ini-BZIuRIvJ.js +6 -0
  201. package/dist-lib/init-DjUOC4st.js +16 -0
  202. package/dist-lib/ishikawaDiagram-FXEZZL3T-D_Y6Tuyb.js +622 -0
  203. package/dist-lib/java-DY6VlHhP.js +6 -0
  204. package/dist-lib/javascript-C25yR2R2.js +6 -0
  205. package/dist-lib/jinja-CFW5uAwY.js +11 -0
  206. package/dist-lib/jison-DdreslRX.js +8 -0
  207. package/dist-lib/journeyDiagram-5HDEW3XC-CgykmVSC.js +834 -0
  208. package/dist-lib/json-DxJze_jm.js +6 -0
  209. package/dist-lib/json5-BT4Fjg39.js +6 -0
  210. package/dist-lib/jsonc-CHjZD8gR.js +6 -0
  211. package/dist-lib/jsonl-BGuvDmy9.js +6 -0
  212. package/dist-lib/jsonnet-Bx2cfsXg.js +6 -0
  213. package/dist-lib/jssm-BcADi6EI.js +6 -0
  214. package/dist-lib/jsx-BtKADgXT.js +6 -0
  215. package/dist-lib/julia-CZiKXNNP.js +16 -0
  216. package/dist-lib/just-CEK2SJ_k.js +18 -0
  217. package/dist-lib/kanagawa-dragon-CiKur4Hl.js +4 -0
  218. package/dist-lib/kanagawa-lotus-BKu-smKu.js +4 -0
  219. package/dist-lib/kanagawa-wave-CQwozSzG.js +4 -0
  220. package/dist-lib/kanban-definition-HUTT4EX6-CPFLTskY.js +726 -0
  221. package/dist-lib/katex-jHfnQmlp.js +11682 -0
  222. package/dist-lib/kdl-BNOv9TC3.js +6 -0
  223. package/dist-lib/kotlin-ByBMgTeR.js +6 -0
  224. package/dist-lib/kusto-DH_XitHS.js +6 -0
  225. package/dist-lib/laserwave-6a00oqik.js +4 -0
  226. package/dist-lib/latex-B8Egmqc5.js +8 -0
  227. package/dist-lib/layout-BGrtsiRL.js +1519 -0
  228. package/dist-lib/lean-BnVxaZxY.js +6 -0
  229. package/dist-lib/less-B1GLI2Di.js +6 -0
  230. package/dist-lib/light-plus-CZuVqSLX.js +4 -0
  231. package/dist-lib/linear-B5ZSwawJ.js +259 -0
  232. package/dist-lib/liquid-CHzkx3jT.js +14 -0
  233. package/dist-lib/llvm-Bk2XctFf.js +6 -0
  234. package/dist-lib/log-Al8wyEFV.js +6 -0
  235. package/dist-lib/logo-DBa4JDzV.js +6 -0
  236. package/dist-lib/lua-Bp3IRv7I.js +8 -0
  237. package/dist-lib/luau-UQyhudEE.js +6 -0
  238. package/dist-lib/make-CsMclxtr.js +6 -0
  239. package/dist-lib/manifest.webmanifest +19 -0
  240. package/dist-lib/map-hbfFlSln.js +224 -0
  241. package/dist-lib/markdown-CrScaQ96.js +6 -0
  242. package/dist-lib/marko-CJBA24Ri.js +14 -0
  243. package/dist-lib/material-theme-D6KBX41T.js +4 -0
  244. package/dist-lib/material-theme-darker-CkRroheE.js +4 -0
  245. package/dist-lib/material-theme-lighter-BUBw43Yz.js +4 -0
  246. package/dist-lib/material-theme-ocean-ClGX14Ja.js +4 -0
  247. package/dist-lib/material-theme-palenight-C1RVm8K1.js +4 -0
  248. package/dist-lib/matlab-BOAaUVP0.js +6 -0
  249. package/dist-lib/mdc-C9YSUwVC.js +12 -0
  250. package/dist-lib/mdx-BOhZZUJ8.js +6 -0
  251. package/dist-lib/mermaid-C3rz4dYh.js +6 -0
  252. package/dist-lib/mermaid-GHXKKRXX-BepkNUDb.js +4 -0
  253. package/dist-lib/min-dark-C7ak0t6c.js +4 -0
  254. package/dist-lib/min-light-CKFxVcPp.js +4 -0
  255. package/dist-lib/mindmap-definition-LN4V7U3C-CfhfeEht.js +831 -0
  256. package/dist-lib/mipsasm-CTx18fBl.js +6 -0
  257. package/dist-lib/mojo-EIZIZRTQ.js +6 -0
  258. package/dist-lib/monokai-C1KBYcO0.js +4 -0
  259. package/dist-lib/moonbit-B1TV0fG3.js +6 -0
  260. package/dist-lib/move-Db4ltDq1.js +6 -0
  261. package/dist-lib/narrat-DmhDCBs-.js +6 -0
  262. package/dist-lib/nextflow-47kAzSl1.js +8 -0
  263. package/dist-lib/nextflow-groovy-Drz_2V0j.js +6 -0
  264. package/dist-lib/nginx-D7O4WoB1.js +8 -0
  265. package/dist-lib/night-owl-Bm2rzalh.js +4 -0
  266. package/dist-lib/night-owl-light-CBI5u5kw.js +4 -0
  267. package/dist-lib/nim-QAjRdh9w.js +20 -0
  268. package/dist-lib/nix-fTRXMGic.js +9 -0
  269. package/dist-lib/nord-CC5OiUXg.js +4 -0
  270. package/dist-lib/nushell-BGCPRlV5.js +6 -0
  271. package/dist-lib/objective-c-Itk8tzmv.js +6 -0
  272. package/dist-lib/objective-cpp-DGt5UKRO.js +6 -0
  273. package/dist-lib/ocaml-eSVK32Eg.js +6 -0
  274. package/dist-lib/odin-BItnF517.js +6 -0
  275. package/dist-lib/one-dark-pro-DTA3VF0_.js +4 -0
  276. package/dist-lib/one-light-LkMrt1Cf.js +4 -0
  277. package/dist-lib/openscad-Sp5uZ6f2.js +6 -0
  278. package/dist-lib/ordinal-DfAQgscy.js +61 -0
  279. package/dist-lib/pascal-xy8pJNns.js +6 -0
  280. package/dist-lib/pegDiagram-2B236MQR-CYDAJHPF.js +95 -0
  281. package/dist-lib/perl-DkVrgJBg.js +16 -0
  282. package/dist-lib/php-BIzsF_5x.js +18 -0
  283. package/dist-lib/pieDiagram-ENE6RG2P-udKxQm4p.js +209 -0
  284. package/dist-lib/pierre-dark-D52vmD1t.js +4 -0
  285. package/dist-lib/pierre-dark-protanopia-deuteranopia-Coza2ydH.js +4 -0
  286. package/dist-lib/pierre-dark-soft-D0o08Lfm.js +4 -0
  287. package/dist-lib/pierre-dark-tritanopia-BP-A_WyN.js +4 -0
  288. package/dist-lib/pierre-dark-vibrant-BjUzbiGn.js +4 -0
  289. package/dist-lib/pierre-light-CzM3AfLn.js +4 -0
  290. package/dist-lib/pierre-light-protanopia-deuteranopia-DFclCKch.js +4 -0
  291. package/dist-lib/pierre-light-soft-m3tr_5b6.js +4 -0
  292. package/dist-lib/pierre-light-tritanopia-Dh0MAsTp.js +4 -0
  293. package/dist-lib/pierre-light-vibrant-BZSORskK.js +4 -0
  294. package/dist-lib/pkl-C-zSNmaA.js +6 -0
  295. package/dist-lib/plastic-CSTz3KZp.js +4 -0
  296. package/dist-lib/plsql-pVbGZfOv.js +6 -0
  297. package/dist-lib/po-BNfHvqmm.js +6 -0
  298. package/dist-lib/poimandres-C-VADXHD.js +4 -0
  299. package/dist-lib/polar-CAZahv3u.js +6 -0
  300. package/dist-lib/postcss-05aHdL-n.js +6 -0
  301. package/dist-lib/powerquery-DI9HkTvs.js +6 -0
  302. package/dist-lib/powershell-Clc4ydu-.js +6 -0
  303. package/dist-lib/prisma-FZjmVtSl.js +6 -0
  304. package/dist-lib/prolog-C5-yg4TO.js +6 -0
  305. package/dist-lib/proto-C7QgialS.js +6 -0
  306. package/dist-lib/pug-XOw9Q1Ho.js +12 -0
  307. package/dist-lib/puppet-CUJHmnxV.js +6 -0
  308. package/dist-lib/purescript-rUfGld-4.js +6 -0
  309. package/dist-lib/python-BFNSHbwJ.js +6 -0
  310. package/dist-lib/qml-rTNXsquU.js +8 -0
  311. package/dist-lib/qmldir-BInDYbpo.js +6 -0
  312. package/dist-lib/qss-AeJTysr_.js +6 -0
  313. package/dist-lib/quadrantDiagram-ABIIQ3AL-BmDmLczk.js +1025 -0
  314. package/dist-lib/r-CSmzDPi7.js +6 -0
  315. package/dist-lib/racket-B83wSAja.js +6 -0
  316. package/dist-lib/railroadDiagram-RFXS5EU6-q0Svkmuy.js +77 -0
  317. package/dist-lib/raku-nEQ4ZJJ7.js +6 -0
  318. package/dist-lib/razor-Ci8D0dQK.js +10 -0
  319. package/dist-lib/red-7y8PH7HH.js +4 -0
  320. package/dist-lib/reg-m_s_Kiip.js +6 -0
  321. package/dist-lib/regexp-BazyLpPg.js +6 -0
  322. package/dist-lib/rel-BcRfyd6Q.js +6 -0
  323. package/dist-lib/requirementDiagram-TGXJPOKE-tNxRI1gc.js +884 -0
  324. package/dist-lib/resume-session-sheet-YCOfKuXl.js +316 -0
  325. package/dist-lib/riscv-Ce8MAQLP.js +6 -0
  326. package/dist-lib/ron-DCEEQypA.js +6 -0
  327. package/dist-lib/rose-pine-BKc3yVeu.js +4 -0
  328. package/dist-lib/rose-pine-dawn-BulJcPZT.js +4 -0
  329. package/dist-lib/rose-pine-moon-j6jiXKV8.js +4 -0
  330. package/dist-lib/rosmsg-Cz0w1km8.js +6 -0
  331. package/dist-lib/rst-DM32Wy3O.js +22 -0
  332. package/dist-lib/ruby-BeqCs27h.js +30 -0
  333. package/dist-lib/rust-CLzF9zIN.js +6 -0
  334. package/dist-lib/sankeyDiagram-HTMAVEWB-B9Bl7f2P.js +847 -0
  335. package/dist-lib/sas-fpEvgATw.js +8 -0
  336. package/dist-lib/sass-DxHp5rTx.js +6 -0
  337. package/dist-lib/scala-D4grkFkl.js +6 -0
  338. package/dist-lib/scheme-BCRWuEm4.js +6 -0
  339. package/dist-lib/scss-B1FaCqwR.js +8 -0
  340. package/dist-lib/sdbl-B7T8abf4.js +6 -0
  341. package/dist-lib/sequenceDiagram-DBY2YBRQ-Dvl2_CXL.js +2898 -0
  342. package/dist-lib/session-token-usage-DIMXh6Pi.js +236 -0
  343. package/dist-lib/shaderlab-Cr62-Wb4.js +8 -0
  344. package/dist-lib/shadow-text-size-CBCTdbYU.js +39 -0
  345. package/dist-lib/shellscript-InADTalH.js +6 -0
  346. package/dist-lib/shellsession-DiDJNQdy.js +8 -0
  347. package/dist-lib/shipped-page-D51HiXpe.js +574 -0
  348. package/dist-lib/sizeCapture-X5ZJPWSS-B1EeO3N9.js +47 -0
  349. package/dist-lib/slack-dark-i7wN4OET.js +4 -0
  350. package/dist-lib/slack-ochin-ndHf0LoP.js +4 -0
  351. package/dist-lib/smalltalk-BlI1_OkM.js +6 -0
  352. package/dist-lib/snazzy-light-BlSJXAu4.js +4 -0
  353. package/dist-lib/solarized-dark-UTmkh7lw.js +4 -0
  354. package/dist-lib/solarized-light-BheCkDPT.js +4 -0
  355. package/dist-lib/solidity-DUWnFhS6.js +6 -0
  356. package/dist-lib/soy-C1-6njHa.js +8 -0
  357. package/dist-lib/sparql-B0KWFEri.js +8 -0
  358. package/dist-lib/splunk-CRXR8A9s.js +6 -0
  359. package/dist-lib/sql-Cn_v3PB0.js +6 -0
  360. package/dist-lib/ssh-config-DP-hNVbF.js +6 -0
  361. package/dist-lib/stata-B8c5fTjX.js +8 -0
  362. package/dist-lib/stateDiagram-2N3HPSRC-CnWB7HvU.js +263 -0
  363. package/dist-lib/stateDiagram-v2-6OUMAXLB-DnZ0UI2p.js +16 -0
  364. package/dist-lib/streamdown-response-DPrve_Vt.js +20929 -0
  365. package/dist-lib/styles.css +1 -0
  366. package/dist-lib/stylus-CyKEU1Ej.js +6 -0
  367. package/dist-lib/surrealql-CQi7GQN7.js +8 -0
  368. package/dist-lib/svelte-rYri41WT.js +14 -0
  369. package/dist-lib/sw.js +215 -0
  370. package/dist-lib/swift-DJpUqPLg.js +6 -0
  371. package/dist-lib/swimlanes-5IMT3BWC-CvqDJcS9.js +5353 -0
  372. package/dist-lib/swimlanesDiagram-G3AALYLV-CKyOeqF_.js +13 -0
  373. package/dist-lib/synthwave-84-NU3C_KFZ.js +4 -0
  374. package/dist-lib/system-verilog-BCm7smPJ.js +6 -0
  375. package/dist-lib/systemd-C-4qm6XH.js +6 -0
  376. package/dist-lib/talonscript-CFF3LF_O.js +6 -0
  377. package/dist-lib/tasl-Cg_WBUAe.js +6 -0
  378. package/dist-lib/tcl-DN7buRTF.js +6 -0
  379. package/dist-lib/templ-Crs9Ui8q.js +12 -0
  380. package/dist-lib/terraform-DGvcn9zM.js +6 -0
  381. package/dist-lib/tex-AHxmLTL0.js +8 -0
  382. package/dist-lib/timeline-definition-FHXFAJF6-b15X0Oru.js +1066 -0
  383. package/dist-lib/tokyo-night-DP4TmcQl.js +4 -0
  384. package/dist-lib/toml-DY62mUL_.js +6 -0
  385. package/dist-lib/ts-tags-ioVe2PKw.js +41 -0
  386. package/dist-lib/tsv-BtvSkaG0.js +6 -0
  387. package/dist-lib/tsx-B8rCNbgL.js +6 -0
  388. package/dist-lib/turtle-_H59FV7D.js +6 -0
  389. package/dist-lib/twig-DwV2Fi4L.js +18 -0
  390. package/dist-lib/types-BSXdE6DF.js +4 -0
  391. package/dist-lib/typescript-RycA9KXf.js +6 -0
  392. package/dist-lib/typespec-DWqp-kUU.js +6 -0
  393. package/dist-lib/typst-D_1QKWns.js +6 -0
  394. package/dist-lib/v-BPCNiyYe.js +6 -0
  395. package/dist-lib/vala-uxaPR7d1.js +6 -0
  396. package/dist-lib/vb-D8_c5-KN.js +6 -0
  397. package/dist-lib/vennDiagram-L72KCM5P-C4lh5m77.js +1585 -0
  398. package/dist-lib/verilog-B-bybjPF.js +6 -0
  399. package/dist-lib/vesper-BckBta1U.js +4 -0
  400. package/dist-lib/vhdl-CUlNa8ac.js +6 -0
  401. package/dist-lib/viml-DsfA-sWm.js +6 -0
  402. package/dist-lib/vitesse-black-BoGvW84i.js +4 -0
  403. package/dist-lib/vitesse-dark-Cym-eLtO.js +4 -0
  404. package/dist-lib/vitesse-light-CcmG315c.js +4 -0
  405. package/dist-lib/vue-DXEmyXn9.js +31 -0
  406. package/dist-lib/vue-html-j9xNEdu3.js +8 -0
  407. package/dist-lib/vue-vine-D41-N99t.js +18 -0
  408. package/dist-lib/vyper-CPQuu50u.js +6 -0
  409. package/dist-lib/wardleyDiagram-EHGQE667-Cev6fT_D.js +684 -0
  410. package/dist-lib/wasm-BBXxrAl7.js +6 -0
  411. package/dist-lib/wasm-DQxwEHae.js +7 -0
  412. package/dist-lib/wenyan-pbVjoM9_.js +6 -0
  413. package/dist-lib/wgsl-DY4iK1q1.js +6 -0
  414. package/dist-lib/wikitext-Z-MoUasO.js +6 -0
  415. package/dist-lib/wit-CQMQOlTg.js +6 -0
  416. package/dist-lib/wolfram-Dz4KXISs.js +6 -0
  417. package/dist-lib/xml-C2J0sS9M.js +8 -0
  418. package/dist-lib/xsl-BmSZphgC.js +8 -0
  419. package/dist-lib/xychartDiagram-FW5EYKEG-m3s7caPv.js +1385 -0
  420. package/dist-lib/yaml-DaO7k5B1.js +6 -0
  421. package/dist-lib/zenscript-CxBjpf9c.js +6 -0
  422. package/dist-lib/zig-Vm0PO9wB.js +6 -0
  423. package/package.json +55 -0
@@ -0,0 +1,911 @@
1
+ import { g as Bt } from "./chunk-XXDRQBXY-Ccv4aRcn.js";
2
+ import { s as Ft } from "./chunk-VR4S4FIN-hOZG7eF3.js";
3
+ import { _ as p, b as Yt, a as Pt, s as zt, g as Gt, o as Kt, p as Ut, c as rt, l as V, q as Zt, r as jt, t as Wt, u as qt, v as Qt, x as Xt, d as Ht, y as Jt } from "./index-JkCQXUYs.js";
4
+ import { c as $t } from "./channel-B5lJFbed.js";
5
+ var gt = (function() {
6
+ var s = /* @__PURE__ */ p(function(I, n, a, l) {
7
+ for (a = a || {}, l = I.length; l--; a[I[l]] = n) ;
8
+ return a;
9
+ }, "o"), i = [6, 8, 10, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 48, 50, 51, 52], o = [1, 10], h = [1, 11], c = [1, 12], u = [1, 13], f = [1, 23], d = [1, 24], m = [1, 25], W = [1, 26], q = [1, 27], S = [1, 19], Q = [1, 28], B = [1, 29], D = [1, 20], R = [1, 18], T = [1, 21], x = [1, 22], at = [1, 36], ct = [1, 37], ot = [1, 38], lt = [1, 39], ht = [1, 40], F = [6, 8, 10, 13, 15, 17, 20, 21, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 48, 50, 51, 52, 66, 67, 68, 69, 70], O = [1, 45], N = [1, 46], Y = [1, 55], P = [40, 48, 50, 51, 52, 71, 72], z = [1, 66], G = [1, 64], A = [1, 61], K = [1, 65], U = [1, 67], X = [6, 8, 10, 13, 17, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 48, 49, 50, 51, 52, 66, 67, 68, 69, 70], bt = [66, 67, 68, 69, 70], kt = [1, 85], mt = [1, 84], Et = [1, 82], St = [1, 83], Tt = [6, 10, 42, 47], L = [6, 10, 13, 41, 42, 47, 48, 49], H = [1, 93], J = [1, 92], $ = [1, 91], Z = [19, 58], Ot = [1, 102], Nt = [1, 101], ut = [19, 58, 61, 63], dt = {
10
+ trace: /* @__PURE__ */ p(function() {
11
+ }, "trace"),
12
+ yy: {},
13
+ 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, DECIMAL_NUM: 51, ENTITY_ONE: 52, attribute: 53, attributeType: 54, attributeName: 55, attributeKeyTypeList: 56, attributeComment: 57, ATTRIBUTE_WORD: 58, "?": 59, attributeKeyType: 60, ",": 61, ATTRIBUTE_KEY: 62, COMMENT: 63, cardinality: 64, relType: 65, ZERO_OR_ONE: 66, ZERO_OR_MORE: 67, ONE_OR_MORE: 68, ONLY_ONE: 69, MD_PARENT: 70, NON_IDENTIFYING: 71, IDENTIFYING: 72, WORD: 73, $accept: 0, $end: 1 },
14
+ 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", 51: "DECIMAL_NUM", 52: "ENTITY_ONE", 58: "ATTRIBUTE_WORD", 59: "?", 61: ",", 62: "ATTRIBUTE_KEY", 63: "COMMENT", 66: "ZERO_OR_ONE", 67: "ZERO_OR_MORE", 68: "ONE_OR_MORE", 69: "ONLY_ONE", 70: "MD_PARENT", 71: "NON_IDENTIFYING", 72: "IDENTIFYING", 73: "WORD" },
15
+ 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], [11, 1], [11, 1], [11, 1], [18, 1], [18, 2], [53, 2], [53, 3], [53, 3], [53, 4], [54, 1], [54, 2], [55, 1], [56, 1], [56, 3], [60, 1], [57, 1], [12, 3], [64, 1], [64, 1], [64, 1], [64, 1], [64, 1], [65, 1], [65, 1], [14, 1], [14, 1], [14, 1]],
16
+ performAction: /* @__PURE__ */ p(function(n, a, l, r, y, t, j) {
17
+ var e = t.length - 1;
18
+ switch (y) {
19
+ case 1:
20
+ break;
21
+ case 2:
22
+ this.$ = [];
23
+ break;
24
+ case 3:
25
+ t[e - 1].push(t[e]), this.$ = t[e - 1];
26
+ break;
27
+ case 4:
28
+ case 5:
29
+ this.$ = t[e];
30
+ break;
31
+ case 6:
32
+ case 7:
33
+ this.$ = [];
34
+ break;
35
+ case 8:
36
+ r.addEntity(t[e - 4]), r.addEntity(t[e - 2]), r.addRelationship(t[e - 4], t[e], t[e - 2], t[e - 3]);
37
+ break;
38
+ case 9:
39
+ r.addEntity(t[e - 8]), r.addEntity(t[e - 4]), r.addRelationship(t[e - 8], t[e], t[e - 4], t[e - 5]), r.setClass([t[e - 8]], t[e - 6]), r.setClass([t[e - 4]], t[e - 2]);
40
+ break;
41
+ case 10:
42
+ r.addEntity(t[e - 6]), r.addEntity(t[e - 2]), r.addRelationship(t[e - 6], t[e], t[e - 2], t[e - 3]), r.setClass([t[e - 6]], t[e - 4]);
43
+ break;
44
+ case 11:
45
+ r.addEntity(t[e - 6]), r.addEntity(t[e - 4]), r.addRelationship(t[e - 6], t[e], t[e - 4], t[e - 5]), r.setClass([t[e - 4]], t[e - 2]);
46
+ break;
47
+ case 12:
48
+ r.addEntity(t[e - 3]), r.addAttributes(t[e - 3], t[e - 1]);
49
+ break;
50
+ case 13:
51
+ r.addEntity(t[e - 5]), r.addAttributes(t[e - 5], t[e - 1]), r.setClass([t[e - 5]], t[e - 3]);
52
+ break;
53
+ case 14:
54
+ r.addEntity(t[e - 2]);
55
+ break;
56
+ case 15:
57
+ r.addEntity(t[e - 4]), r.setClass([t[e - 4]], t[e - 2]);
58
+ break;
59
+ case 16:
60
+ r.addEntity(t[e]);
61
+ break;
62
+ case 17:
63
+ r.addEntity(t[e - 2]), r.setClass([t[e - 2]], t[e]);
64
+ break;
65
+ case 18:
66
+ r.addEntity(t[e - 6], t[e - 4]), r.addAttributes(t[e - 6], t[e - 1]);
67
+ break;
68
+ case 19:
69
+ r.addEntity(t[e - 8], t[e - 6]), r.addAttributes(t[e - 8], t[e - 1]), r.setClass([t[e - 8]], t[e - 3]);
70
+ break;
71
+ case 20:
72
+ r.addEntity(t[e - 5], t[e - 3]);
73
+ break;
74
+ case 21:
75
+ r.addEntity(t[e - 7], t[e - 5]), r.setClass([t[e - 7]], t[e - 2]);
76
+ break;
77
+ case 22:
78
+ r.addEntity(t[e - 3], t[e - 1]);
79
+ break;
80
+ case 23:
81
+ r.addEntity(t[e - 5], t[e - 3]), r.setClass([t[e - 5]], t[e]);
82
+ break;
83
+ case 24:
84
+ case 25:
85
+ this.$ = t[e].trim(), r.setAccTitle(this.$);
86
+ break;
87
+ case 26:
88
+ case 27:
89
+ this.$ = t[e].trim(), r.setAccDescription(this.$);
90
+ break;
91
+ case 32:
92
+ r.setDirection("TB");
93
+ break;
94
+ case 33:
95
+ r.setDirection("BT");
96
+ break;
97
+ case 34:
98
+ r.setDirection("RL");
99
+ break;
100
+ case 35:
101
+ r.setDirection("LR");
102
+ break;
103
+ case 36:
104
+ this.$ = t[e - 3], r.addClass(t[e - 2], t[e - 1]);
105
+ break;
106
+ case 37:
107
+ case 38:
108
+ case 59:
109
+ case 68:
110
+ this.$ = [t[e]];
111
+ break;
112
+ case 39:
113
+ case 40:
114
+ this.$ = t[e - 2].concat([t[e]]);
115
+ break;
116
+ case 41:
117
+ this.$ = t[e - 2], r.setClass(t[e - 1], t[e]);
118
+ break;
119
+ case 42:
120
+ this.$ = t[e - 3], r.addCssStyles(t[e - 2], t[e - 1]);
121
+ break;
122
+ case 43:
123
+ this.$ = [t[e]];
124
+ break;
125
+ case 44:
126
+ t[e - 2].push(t[e]), this.$ = t[e - 2];
127
+ break;
128
+ case 46:
129
+ this.$ = t[e - 1] + t[e];
130
+ break;
131
+ case 54:
132
+ case 80:
133
+ case 81:
134
+ this.$ = t[e].replace(/"/g, "");
135
+ break;
136
+ case 55:
137
+ case 56:
138
+ case 57:
139
+ case 58:
140
+ case 82:
141
+ this.$ = t[e];
142
+ break;
143
+ case 60:
144
+ t[e].push(t[e - 1]), this.$ = t[e];
145
+ break;
146
+ case 61:
147
+ this.$ = { type: t[e - 1], name: t[e] };
148
+ break;
149
+ case 62:
150
+ this.$ = { type: t[e - 2], name: t[e - 1], keys: t[e] };
151
+ break;
152
+ case 63:
153
+ this.$ = { type: t[e - 2], name: t[e - 1], comment: t[e] };
154
+ break;
155
+ case 64:
156
+ this.$ = { type: t[e - 3], name: t[e - 2], keys: t[e - 1], comment: t[e] };
157
+ break;
158
+ case 65:
159
+ case 67:
160
+ case 70:
161
+ this.$ = t[e];
162
+ break;
163
+ case 66:
164
+ this.$ = t[e - 1] + t[e];
165
+ break;
166
+ case 69:
167
+ t[e - 2].push(t[e]), this.$ = t[e - 2];
168
+ break;
169
+ case 71:
170
+ this.$ = t[e].replace(/"/g, "");
171
+ break;
172
+ case 72:
173
+ this.$ = { cardA: t[e], relType: t[e - 1], cardB: t[e - 2] };
174
+ break;
175
+ case 73:
176
+ this.$ = r.Cardinality.ZERO_OR_ONE;
177
+ break;
178
+ case 74:
179
+ this.$ = r.Cardinality.ZERO_OR_MORE;
180
+ break;
181
+ case 75:
182
+ this.$ = r.Cardinality.ONE_OR_MORE;
183
+ break;
184
+ case 76:
185
+ this.$ = r.Cardinality.ONLY_ONE;
186
+ break;
187
+ case 77:
188
+ this.$ = r.Cardinality.MD_PARENT;
189
+ break;
190
+ case 78:
191
+ this.$ = r.Identification.NON_IDENTIFYING;
192
+ break;
193
+ case 79:
194
+ this.$ = r.Identification.IDENTIFYING;
195
+ break;
196
+ }
197
+ }, "anonymous"),
198
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, s(i, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 22: o, 24: h, 26: c, 28: u, 29: 14, 30: 15, 31: 16, 32: 17, 33: f, 34: d, 35: m, 36: W, 37: q, 40: S, 43: Q, 44: B, 48: D, 50: R, 51: T, 52: x }, s(i, [2, 7], { 1: [2, 1] }), s(i, [2, 3]), { 9: 30, 11: 9, 22: o, 24: h, 26: c, 28: u, 29: 14, 30: 15, 31: 16, 32: 17, 33: f, 34: d, 35: m, 36: W, 37: q, 40: S, 43: Q, 44: B, 48: D, 50: R, 51: T, 52: x }, s(i, [2, 5]), s(i, [2, 6]), s(i, [2, 16], { 12: 31, 64: 35, 15: [1, 32], 17: [1, 33], 20: [1, 34], 66: at, 67: ct, 68: ot, 69: lt, 70: ht }), { 23: [1, 41] }, { 25: [1, 42] }, { 27: [1, 43] }, s(i, [2, 27]), s(i, [2, 28]), s(i, [2, 29]), s(i, [2, 30]), s(i, [2, 31]), s(F, [2, 54]), s(F, [2, 55]), s(F, [2, 56]), s(F, [2, 57]), s(F, [2, 58]), s(i, [2, 32]), s(i, [2, 33]), s(i, [2, 34]), s(i, [2, 35]), { 16: 44, 40: O, 41: N }, { 16: 47, 40: O, 41: N }, { 16: 48, 40: O, 41: N }, s(i, [2, 4]), { 11: 49, 40: S, 48: D, 50: R, 51: T, 52: x }, { 16: 50, 40: O, 41: N }, { 18: 51, 19: [1, 52], 53: 53, 54: 54, 58: Y }, { 11: 56, 40: S, 48: D, 50: R, 51: T, 52: x }, { 65: 57, 71: [1, 58], 72: [1, 59] }, s(P, [2, 73]), s(P, [2, 74]), s(P, [2, 75]), s(P, [2, 76]), s(P, [2, 77]), s(i, [2, 24]), s(i, [2, 25]), s(i, [2, 26]), { 13: z, 38: 60, 41: G, 42: A, 45: 62, 46: 63, 48: K, 49: U }, s(X, [2, 37]), s(X, [2, 38]), { 16: 68, 40: O, 41: N, 42: A }, { 13: z, 38: 69, 41: G, 42: A, 45: 62, 46: 63, 48: K, 49: U }, { 13: [1, 70], 15: [1, 71] }, s(i, [2, 17], { 64: 35, 12: 72, 17: [1, 73], 42: A, 66: at, 67: ct, 68: ot, 69: lt, 70: ht }), { 19: [1, 74] }, s(i, [2, 14]), { 18: 75, 19: [2, 59], 53: 53, 54: 54, 58: Y }, { 55: 76, 58: [1, 77] }, { 58: [2, 65], 59: [1, 78] }, { 21: [1, 79] }, { 64: 80, 66: at, 67: ct, 68: ot, 69: lt, 70: ht }, s(bt, [2, 78]), s(bt, [2, 79]), { 6: kt, 10: mt, 39: 81, 42: Et, 47: St }, { 40: [1, 86], 41: [1, 87] }, s(Tt, [2, 43], { 46: 88, 13: z, 41: G, 48: K, 49: U }), s(L, [2, 45]), s(L, [2, 50]), s(L, [2, 51]), s(L, [2, 52]), s(L, [2, 53]), s(i, [2, 41], { 42: A }), { 6: kt, 10: mt, 39: 89, 42: Et, 47: St }, { 14: 90, 40: H, 50: J, 73: $ }, { 16: 94, 40: O, 41: N }, { 11: 95, 40: S, 48: D, 50: R, 51: T, 52: x }, { 18: 96, 19: [1, 97], 53: 53, 54: 54, 58: Y }, s(i, [2, 12]), { 19: [2, 60] }, s(Z, [2, 61], { 56: 98, 57: 99, 60: 100, 62: Ot, 63: Nt }), s([19, 58, 62, 63], [2, 67]), { 58: [2, 66] }, s(i, [2, 22], { 15: [1, 104], 17: [1, 103] }), s([40, 48, 50, 51, 52], [2, 72]), s(i, [2, 36]), { 13: z, 41: G, 45: 105, 46: 63, 48: K, 49: U }, s(i, [2, 47]), s(i, [2, 48]), s(i, [2, 49]), s(X, [2, 39]), s(X, [2, 40]), s(L, [2, 46]), s(i, [2, 42]), s(i, [2, 8]), s(i, [2, 80]), s(i, [2, 81]), s(i, [2, 82]), { 13: [1, 106], 42: A }, { 13: [1, 108], 15: [1, 107] }, { 19: [1, 109] }, s(i, [2, 15]), s(Z, [2, 62], { 57: 110, 61: [1, 111], 63: Nt }), s(Z, [2, 63]), s(ut, [2, 68]), s(Z, [2, 71]), s(ut, [2, 70]), { 18: 112, 19: [1, 113], 53: 53, 54: 54, 58: Y }, { 16: 114, 40: O, 41: N }, s(Tt, [2, 44], { 46: 88, 13: z, 41: G, 48: K, 49: U }), { 14: 115, 40: H, 50: J, 73: $ }, { 16: 116, 40: O, 41: N }, { 14: 117, 40: H, 50: J, 73: $ }, s(i, [2, 13]), s(Z, [2, 64]), { 60: 118, 62: Ot }, { 19: [1, 119] }, s(i, [2, 20]), s(i, [2, 23], { 17: [1, 120], 42: A }), s(i, [2, 11]), { 13: [1, 121], 42: A }, s(i, [2, 10]), s(ut, [2, 69]), s(i, [2, 18]), { 18: 122, 19: [1, 123], 53: 53, 54: 54, 58: Y }, { 14: 124, 40: H, 50: J, 73: $ }, { 19: [1, 125] }, s(i, [2, 21]), s(i, [2, 9]), s(i, [2, 19])],
199
+ defaultActions: { 75: [2, 60], 78: [2, 66] },
200
+ parseError: /* @__PURE__ */ p(function(n, a) {
201
+ if (a.recoverable)
202
+ this.trace(n);
203
+ else {
204
+ var l = new Error(n);
205
+ throw l.hash = a, l;
206
+ }
207
+ }, "parseError"),
208
+ parse: /* @__PURE__ */ p(function(n) {
209
+ var a = this, l = [0], r = [], y = [null], t = [], j = this.table, e = "", et = 0, At = 0, Lt = 2, It = 1, wt = t.slice.call(arguments, 1), _ = Object.create(this.lexer), C = { yy: {} };
210
+ for (var pt in this.yy)
211
+ Object.prototype.hasOwnProperty.call(this.yy, pt) && (C.yy[pt] = this.yy[pt]);
212
+ _.setInput(n, C.yy), C.yy.lexer = _, C.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
213
+ var yt = _.yylloc;
214
+ t.push(yt);
215
+ var Vt = _.options && _.options.ranges;
216
+ typeof C.yy.parseError == "function" ? this.parseError = C.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
217
+ function Mt(b) {
218
+ l.length = l.length - 2 * b, y.length = y.length - b, t.length = t.length - b;
219
+ }
220
+ p(Mt, "popStack");
221
+ function Rt() {
222
+ var b;
223
+ return b = r.pop() || _.lex() || It, typeof b != "number" && (b instanceof Array && (r = b, b = r.pop()), b = a.symbols_[b] || b), b;
224
+ }
225
+ p(Rt, "lex");
226
+ for (var g, v, k, ft, w = {}, st, E, xt, it; ; ) {
227
+ if (v = l[l.length - 1], this.defaultActions[v] ? k = this.defaultActions[v] : ((g === null || typeof g > "u") && (g = Rt()), k = j[v] && j[v][g]), typeof k > "u" || !k.length || !k[0]) {
228
+ var _t = "";
229
+ it = [];
230
+ for (st in j[v])
231
+ this.terminals_[st] && st > Lt && it.push("'" + this.terminals_[st] + "'");
232
+ _.showPosition ? _t = "Parse error on line " + (et + 1) + `:
233
+ ` + _.showPosition() + `
234
+ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[g] || g) + "'" : _t = "Parse error on line " + (et + 1) + ": Unexpected " + (g == It ? "end of input" : "'" + (this.terminals_[g] || g) + "'"), this.parseError(_t, {
235
+ text: _.match,
236
+ token: this.terminals_[g] || g,
237
+ line: _.yylineno,
238
+ loc: yt,
239
+ expected: it
240
+ });
241
+ }
242
+ if (k[0] instanceof Array && k.length > 1)
243
+ throw new Error("Parse Error: multiple actions possible at state: " + v + ", token: " + g);
244
+ switch (k[0]) {
245
+ case 1:
246
+ l.push(g), y.push(_.yytext), t.push(_.yylloc), l.push(k[1]), g = null, At = _.yyleng, e = _.yytext, et = _.yylineno, yt = _.yylloc;
247
+ break;
248
+ case 2:
249
+ if (E = this.productions_[k[1]][1], w.$ = y[y.length - E], w._$ = {
250
+ first_line: t[t.length - (E || 1)].first_line,
251
+ last_line: t[t.length - 1].last_line,
252
+ first_column: t[t.length - (E || 1)].first_column,
253
+ last_column: t[t.length - 1].last_column
254
+ }, Vt && (w._$.range = [
255
+ t[t.length - (E || 1)].range[0],
256
+ t[t.length - 1].range[1]
257
+ ]), ft = this.performAction.apply(w, [
258
+ e,
259
+ At,
260
+ et,
261
+ C.yy,
262
+ k[1],
263
+ y,
264
+ t
265
+ ].concat(wt)), typeof ft < "u")
266
+ return ft;
267
+ E && (l = l.slice(0, -1 * E * 2), y = y.slice(0, -1 * E), t = t.slice(0, -1 * E)), l.push(this.productions_[k[1]][0]), y.push(w.$), t.push(w._$), xt = j[l[l.length - 2]][l[l.length - 1]], l.push(xt);
268
+ break;
269
+ case 3:
270
+ return !0;
271
+ }
272
+ }
273
+ return !0;
274
+ }, "parse")
275
+ }, Dt = /* @__PURE__ */ (function() {
276
+ var I = {
277
+ EOF: 1,
278
+ parseError: /* @__PURE__ */ p(function(a, l) {
279
+ if (this.yy.parser)
280
+ this.yy.parser.parseError(a, l);
281
+ else
282
+ throw new Error(a);
283
+ }, "parseError"),
284
+ // resets the lexer, sets new input
285
+ setInput: /* @__PURE__ */ p(function(n, a) {
286
+ return this.yy = a || this.yy || {}, this._input = n, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
287
+ first_line: 1,
288
+ first_column: 0,
289
+ last_line: 1,
290
+ last_column: 0
291
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
292
+ }, "setInput"),
293
+ // consumes and returns one char from the input
294
+ input: /* @__PURE__ */ p(function() {
295
+ var n = this._input[0];
296
+ this.yytext += n, this.yyleng++, this.offset++, this.match += n, this.matched += n;
297
+ var a = n.match(/(?:\r\n?|\n).*/g);
298
+ 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), n;
299
+ }, "input"),
300
+ // unshifts one char (or a string) into the input
301
+ unput: /* @__PURE__ */ p(function(n) {
302
+ var a = n.length, l = n.split(/(?:\r\n?|\n)/g);
303
+ this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - a), this.offset -= a;
304
+ var r = this.match.split(/(?:\r\n?|\n)/g);
305
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), l.length - 1 && (this.yylineno -= l.length - 1);
306
+ var y = this.yylloc.range;
307
+ return this.yylloc = {
308
+ first_line: this.yylloc.first_line,
309
+ last_line: this.yylineno + 1,
310
+ first_column: this.yylloc.first_column,
311
+ last_column: l ? (l.length === r.length ? this.yylloc.first_column : 0) + r[r.length - l.length].length - l[0].length : this.yylloc.first_column - a
312
+ }, this.options.ranges && (this.yylloc.range = [y[0], y[0] + this.yyleng - a]), this.yyleng = this.yytext.length, this;
313
+ }, "unput"),
314
+ // When called from action, caches matched text and appends it on next action
315
+ more: /* @__PURE__ */ p(function() {
316
+ return this._more = !0, this;
317
+ }, "more"),
318
+ // 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.
319
+ reject: /* @__PURE__ */ p(function() {
320
+ if (this.options.backtrack_lexer)
321
+ this._backtrack = !0;
322
+ else
323
+ 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).
324
+ ` + this.showPosition(), {
325
+ text: "",
326
+ token: null,
327
+ line: this.yylineno
328
+ });
329
+ return this;
330
+ }, "reject"),
331
+ // retain first n characters of the match
332
+ less: /* @__PURE__ */ p(function(n) {
333
+ this.unput(this.match.slice(n));
334
+ }, "less"),
335
+ // displays already matched input, i.e. for error messages
336
+ pastInput: /* @__PURE__ */ p(function() {
337
+ var n = this.matched.substr(0, this.matched.length - this.match.length);
338
+ return (n.length > 20 ? "..." : "") + n.substr(-20).replace(/\n/g, "");
339
+ }, "pastInput"),
340
+ // displays upcoming input, i.e. for error messages
341
+ upcomingInput: /* @__PURE__ */ p(function() {
342
+ var n = this.match;
343
+ return n.length < 20 && (n += this._input.substr(0, 20 - n.length)), (n.substr(0, 20) + (n.length > 20 ? "..." : "")).replace(/\n/g, "");
344
+ }, "upcomingInput"),
345
+ // displays the character position where the lexing error occurred, i.e. for error messages
346
+ showPosition: /* @__PURE__ */ p(function() {
347
+ var n = this.pastInput(), a = new Array(n.length + 1).join("-");
348
+ return n + this.upcomingInput() + `
349
+ ` + a + "^";
350
+ }, "showPosition"),
351
+ // test the lexed token: return FALSE when not a match, otherwise return token
352
+ test_match: /* @__PURE__ */ p(function(n, a) {
353
+ var l, r, y;
354
+ if (this.options.backtrack_lexer && (y = {
355
+ yylineno: this.yylineno,
356
+ yylloc: {
357
+ first_line: this.yylloc.first_line,
358
+ last_line: this.last_line,
359
+ first_column: this.yylloc.first_column,
360
+ last_column: this.yylloc.last_column
361
+ },
362
+ yytext: this.yytext,
363
+ match: this.match,
364
+ matches: this.matches,
365
+ matched: this.matched,
366
+ yyleng: this.yyleng,
367
+ offset: this.offset,
368
+ _more: this._more,
369
+ _input: this._input,
370
+ yy: this.yy,
371
+ conditionStack: this.conditionStack.slice(0),
372
+ done: this.done
373
+ }, this.options.ranges && (y.yylloc.range = this.yylloc.range.slice(0))), r = n[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
374
+ first_line: this.yylloc.last_line,
375
+ last_line: this.yylineno + 1,
376
+ first_column: this.yylloc.last_column,
377
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + n[0].length
378
+ }, this.yytext += n[0], this.match += n[0], this.matches = n, 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(n[0].length), this.matched += n[0], l = this.performAction.call(this, this.yy, this, a, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), l)
379
+ return l;
380
+ if (this._backtrack) {
381
+ for (var t in y)
382
+ this[t] = y[t];
383
+ return !1;
384
+ }
385
+ return !1;
386
+ }, "test_match"),
387
+ // return next match in input
388
+ next: /* @__PURE__ */ p(function() {
389
+ if (this.done)
390
+ return this.EOF;
391
+ this._input || (this.done = !0);
392
+ var n, a, l, r;
393
+ this._more || (this.yytext = "", this.match = "");
394
+ for (var y = this._currentRules(), t = 0; t < y.length; t++)
395
+ if (l = this._input.match(this.rules[y[t]]), l && (!a || l[0].length > a[0].length)) {
396
+ if (a = l, r = t, this.options.backtrack_lexer) {
397
+ if (n = this.test_match(l, y[t]), n !== !1)
398
+ return n;
399
+ if (this._backtrack) {
400
+ a = !1;
401
+ continue;
402
+ } else
403
+ return !1;
404
+ } else if (!this.options.flex)
405
+ break;
406
+ }
407
+ return a ? (n = this.test_match(a, y[r]), n !== !1 ? n : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
408
+ ` + this.showPosition(), {
409
+ text: "",
410
+ token: null,
411
+ line: this.yylineno
412
+ });
413
+ }, "next"),
414
+ // return next match that has a token
415
+ lex: /* @__PURE__ */ p(function() {
416
+ var a = this.next();
417
+ return a || this.lex();
418
+ }, "lex"),
419
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
420
+ begin: /* @__PURE__ */ p(function(a) {
421
+ this.conditionStack.push(a);
422
+ }, "begin"),
423
+ // pop the previously active lexer condition state off the condition stack
424
+ popState: /* @__PURE__ */ p(function() {
425
+ var a = this.conditionStack.length - 1;
426
+ return a > 0 ? this.conditionStack.pop() : this.conditionStack[0];
427
+ }, "popState"),
428
+ // produce the lexer rule set which is active for the currently active lexer condition state
429
+ _currentRules: /* @__PURE__ */ p(function() {
430
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
431
+ }, "_currentRules"),
432
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
433
+ topState: /* @__PURE__ */ p(function(a) {
434
+ return a = this.conditionStack.length - 1 - Math.abs(a || 0), a >= 0 ? this.conditionStack[a] : "INITIAL";
435
+ }, "topState"),
436
+ // alias for begin(condition)
437
+ pushState: /* @__PURE__ */ p(function(a) {
438
+ this.begin(a);
439
+ }, "pushState"),
440
+ // return the number of states currently on the stack
441
+ stateStackSize: /* @__PURE__ */ p(function() {
442
+ return this.conditionStack.length;
443
+ }, "stateStackSize"),
444
+ options: { "case-insensitive": !0 },
445
+ performAction: /* @__PURE__ */ p(function(a, l, r, y) {
446
+ switch (r) {
447
+ case 0:
448
+ return this.begin("acc_title"), 24;
449
+ case 1:
450
+ return this.popState(), "acc_title_value";
451
+ case 2:
452
+ return this.begin("acc_descr"), 26;
453
+ case 3:
454
+ return this.popState(), "acc_descr_value";
455
+ case 4:
456
+ this.begin("acc_descr_multiline");
457
+ break;
458
+ case 5:
459
+ this.popState();
460
+ break;
461
+ case 6:
462
+ return "acc_descr_multiline_value";
463
+ case 7:
464
+ return 33;
465
+ case 8:
466
+ return 34;
467
+ case 9:
468
+ return 35;
469
+ case 10:
470
+ return 36;
471
+ case 11:
472
+ return 10;
473
+ case 12:
474
+ break;
475
+ case 13:
476
+ return 8;
477
+ case 14:
478
+ return 50;
479
+ case 15:
480
+ return 73;
481
+ case 16:
482
+ return 4;
483
+ case 17:
484
+ return this.begin("block"), 17;
485
+ case 18:
486
+ return 49;
487
+ case 19:
488
+ return 49;
489
+ case 20:
490
+ return 42;
491
+ case 21:
492
+ return 15;
493
+ case 22:
494
+ return 13;
495
+ case 23:
496
+ break;
497
+ case 24:
498
+ return 62;
499
+ case 25:
500
+ return 58;
501
+ case 26:
502
+ return 58;
503
+ case 27:
504
+ this.begin("block_bq");
505
+ break;
506
+ case 28:
507
+ return 58;
508
+ case 29:
509
+ this.popState();
510
+ break;
511
+ case 30:
512
+ return 63;
513
+ case 31:
514
+ break;
515
+ case 32:
516
+ return this.popState(), 19;
517
+ case 33:
518
+ return l.yytext[0];
519
+ case 34:
520
+ return 20;
521
+ case 35:
522
+ return 21;
523
+ case 36:
524
+ return this.begin("style"), 44;
525
+ case 37:
526
+ return this.popState(), 10;
527
+ case 38:
528
+ break;
529
+ case 39:
530
+ return 13;
531
+ case 40:
532
+ return 42;
533
+ case 41:
534
+ return 49;
535
+ case 42:
536
+ return this.begin("style"), 37;
537
+ case 43:
538
+ return 43;
539
+ case 44:
540
+ return 66;
541
+ case 45:
542
+ return 68;
543
+ case 46:
544
+ return 68;
545
+ case 47:
546
+ return 68;
547
+ case 48:
548
+ return 66;
549
+ case 49:
550
+ return 66;
551
+ case 50:
552
+ return 67;
553
+ case 51:
554
+ return 67;
555
+ case 52:
556
+ return 67;
557
+ case 53:
558
+ return 67;
559
+ case 54:
560
+ return 67;
561
+ case 55:
562
+ return 68;
563
+ case 56:
564
+ return 67;
565
+ case 57:
566
+ return 68;
567
+ case 58:
568
+ return 69;
569
+ case 59:
570
+ return 69;
571
+ case 60:
572
+ return 51;
573
+ case 61:
574
+ return 69;
575
+ case 62:
576
+ return 69;
577
+ case 63:
578
+ return 69;
579
+ case 64:
580
+ return 52;
581
+ case 65:
582
+ return 48;
583
+ case 66:
584
+ return 69;
585
+ case 67:
586
+ return 66;
587
+ case 68:
588
+ return 67;
589
+ case 69:
590
+ return 68;
591
+ case 70:
592
+ return 70;
593
+ case 71:
594
+ return 71;
595
+ case 72:
596
+ return 72;
597
+ case 73:
598
+ return 72;
599
+ case 74:
600
+ return 71;
601
+ case 75:
602
+ return 71;
603
+ case 76:
604
+ return 71;
605
+ case 77:
606
+ return 41;
607
+ case 78:
608
+ return 47;
609
+ case 79:
610
+ return 40;
611
+ case 80:
612
+ return l.yytext[0];
613
+ case 81:
614
+ return 6;
615
+ }
616
+ }, "anonymous"),
617
+ 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, /^(?:[^`]+)/i, /^(?:[`])/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, /^(?:[0-9]+\.[0-9]+)/i, /^(?:1(?=\s+[A-Za-z_"']))/i, /^(?:1(?=\s+[0-9]))/i, /^(?:1(?=(--|\.\.|\.-|-\.)))/i, /^(?:1\b)/i, /^(?:[0-9]+)/i, /^(?:\|\|)/i, /^(?:o\|)/i, /^(?:o\{)/i, /^(?:\|\{)/i, /^(?:u(?=[\.\-\|]))/i, /^(?:\.\.)/i, /^(?:--)/i, /^(?:to\b)/i, /^(?:optionally to\b)/i, /^(?:\.-)/i, /^(?:-\.)/i, /^(?:([^\x00-\x7F]|\w|-|\*)+)/i, /^(?:;)/i, /^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i, /^(?:.)/i, /^(?:$)/i],
618
+ conditions: { style: { rules: [37, 38, 39, 40, 41, 77, 78], inclusive: !1 }, acc_descr_multiline: { rules: [5, 6], inclusive: !1 }, acc_descr: { rules: [3], inclusive: !1 }, acc_title: { rules: [1], inclusive: !1 }, block_bq: { rules: [28, 29], inclusive: !1 }, block: { rules: [23, 24, 25, 26, 27, 30, 31, 32, 33], inclusive: !1 }, INITIAL: { rules: [0, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 34, 35, 36, 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, 69, 70, 71, 72, 73, 74, 75, 76, 79, 80, 81], inclusive: !0 } }
619
+ };
620
+ return I;
621
+ })();
622
+ dt.lexer = Dt;
623
+ function tt() {
624
+ this.yy = {};
625
+ }
626
+ return p(tt, "Parser"), tt.prototype = dt, dt.Parser = tt, new tt();
627
+ })();
628
+ gt.parser = gt;
629
+ var te = gt, M, ee = (M = class {
630
+ constructor() {
631
+ this.entities = /* @__PURE__ */ new Map(), this.relationships = [], this.classes = /* @__PURE__ */ new Map(), this.direction = "TB", this.Cardinality = {
632
+ ZERO_OR_ONE: "ZERO_OR_ONE",
633
+ ZERO_OR_MORE: "ZERO_OR_MORE",
634
+ ONE_OR_MORE: "ONE_OR_MORE",
635
+ ONLY_ONE: "ONLY_ONE",
636
+ MD_PARENT: "MD_PARENT"
637
+ }, this.Identification = {
638
+ NON_IDENTIFYING: "NON_IDENTIFYING",
639
+ IDENTIFYING: "IDENTIFYING"
640
+ }, this.setAccTitle = Yt, this.getAccTitle = Pt, this.setAccDescription = zt, this.getAccDescription = Gt, this.setDiagramTitle = Kt, this.getDiagramTitle = Ut, this.getConfig = /* @__PURE__ */ p(() => rt().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);
641
+ }
642
+ /**
643
+ * Add entity
644
+ * @param name - The name of the entity
645
+ * @param alias - The alias of the entity
646
+ */
647
+ addEntity(i, o = "") {
648
+ var h;
649
+ return this.entities.has(i) ? !((h = this.entities.get(i)) != null && h.alias) && o && (this.entities.get(i).alias = o, V.info(`Add alias '${o}' to entity '${i}'`)) : (this.entities.set(i, {
650
+ id: `entity-${i}-${this.entities.size}`,
651
+ label: i,
652
+ attributes: [],
653
+ alias: o,
654
+ shape: "erBox",
655
+ look: rt().look ?? "default",
656
+ cssClasses: "default",
657
+ cssStyles: [],
658
+ labelType: "markdown"
659
+ }), V.info("Added new entity :", i)), this.entities.get(i);
660
+ }
661
+ getEntity(i) {
662
+ return this.entities.get(i);
663
+ }
664
+ getEntities() {
665
+ return this.entities;
666
+ }
667
+ getClasses() {
668
+ return this.classes;
669
+ }
670
+ addAttributes(i, o) {
671
+ const h = this.addEntity(i);
672
+ let c;
673
+ for (c = o.length - 1; c >= 0; c--)
674
+ o[c].keys || (o[c].keys = []), o[c].comment || (o[c].comment = ""), h.attributes.push(o[c]), V.debug("Added attribute ", o[c].name);
675
+ }
676
+ /**
677
+ * Add a relationship
678
+ *
679
+ * @param entA - The first entity in the relationship
680
+ * @param rolA - The role played by the first entity in relation to the second
681
+ * @param entB - The second entity in the relationship
682
+ * @param rSpec - The details of the relationship between the two entities
683
+ */
684
+ addRelationship(i, o, h, c) {
685
+ const u = this.entities.get(i), f = this.entities.get(h);
686
+ if (!u || !f)
687
+ return;
688
+ const d = {
689
+ entityA: u.id,
690
+ roleA: o,
691
+ entityB: f.id,
692
+ relSpec: c
693
+ };
694
+ this.relationships.push(d), V.debug("Added new relationship :", d);
695
+ }
696
+ getRelationships() {
697
+ return this.relationships;
698
+ }
699
+ getDirection() {
700
+ return this.direction;
701
+ }
702
+ setDirection(i) {
703
+ this.direction = i;
704
+ }
705
+ getCompiledStyles(i) {
706
+ let o = [];
707
+ for (const h of i) {
708
+ const c = this.classes.get(h);
709
+ c != null && c.styles && (o = [...o, ...c.styles ?? []].map((u) => u.trim())), c != null && c.textStyles && (o = [...o, ...c.textStyles ?? []].map((u) => u.trim()));
710
+ }
711
+ return o;
712
+ }
713
+ addCssStyles(i, o) {
714
+ for (const h of i) {
715
+ const c = this.entities.get(h);
716
+ if (!o || !c)
717
+ return;
718
+ for (const u of o)
719
+ c.cssStyles.push(u);
720
+ }
721
+ }
722
+ addClass(i, o) {
723
+ i.forEach((h) => {
724
+ let c = this.classes.get(h);
725
+ c === void 0 && (c = { id: h, styles: [], textStyles: [] }, this.classes.set(h, c)), o && o.forEach(function(u) {
726
+ if (/color/.exec(u)) {
727
+ const f = u.replace("fill", "bgFill");
728
+ c.textStyles.push(f);
729
+ }
730
+ c.styles.push(u);
731
+ });
732
+ });
733
+ }
734
+ setClass(i, o) {
735
+ for (const h of i) {
736
+ const c = this.entities.get(h);
737
+ if (c)
738
+ for (const u of o)
739
+ c.cssClasses += " " + u;
740
+ }
741
+ }
742
+ clear() {
743
+ this.entities = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.relationships = [], Zt();
744
+ }
745
+ getData() {
746
+ const i = [], o = [], h = rt();
747
+ let c = 0;
748
+ for (const f of this.entities.keys()) {
749
+ const d = this.entities.get(f);
750
+ d && (d.cssCompiledStyles = this.getCompiledStyles(d.cssClasses.split(" ")), d.colorIndex = c++, i.push(d));
751
+ }
752
+ let u = 0;
753
+ for (const f of this.relationships) {
754
+ const d = {
755
+ id: jt(f.entityA, f.entityB, {
756
+ prefix: "id",
757
+ counter: u++
758
+ }),
759
+ type: "normal",
760
+ curve: "basis",
761
+ start: f.entityA,
762
+ end: f.entityB,
763
+ label: f.roleA,
764
+ labelpos: "c",
765
+ thickness: "normal",
766
+ classes: "relationshipLine",
767
+ arrowTypeStart: f.relSpec.cardB.toLowerCase(),
768
+ arrowTypeEnd: f.relSpec.cardA.toLowerCase(),
769
+ pattern: f.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
770
+ look: h.look,
771
+ labelType: "markdown"
772
+ };
773
+ o.push(d);
774
+ }
775
+ return { nodes: i, edges: o, other: {}, config: h, direction: "TB" };
776
+ }
777
+ }, p(M, "ErDB"), M), vt = {};
778
+ qt(vt, {
779
+ draw: () => se
780
+ });
781
+ var se = /* @__PURE__ */ p(async function(s, i, o, h) {
782
+ V.info("REF0:"), V.info("Drawing er diagram (unified)", i);
783
+ const { securityLevel: c, er: u, layout: f } = rt(), d = h.db.getData(), m = Bt(i, c);
784
+ d.type = h.type, d.layoutAlgorithm = Qt(f), d.config.flowchart.nodeSpacing = (u == null ? void 0 : u.nodeSpacing) || 140, d.config.flowchart.rankSpacing = (u == null ? void 0 : u.rankSpacing) || 80, d.direction = h.db.getDirection();
785
+ const { config: W } = d, { look: q } = W;
786
+ q === "neo" ? d.markers = [
787
+ "only_one_neo",
788
+ "zero_or_one_neo",
789
+ "one_or_more_neo",
790
+ "zero_or_more_neo"
791
+ ] : d.markers = ["only_one", "zero_or_one", "one_or_more", "zero_or_more"], d.diagramId = i, await Xt(d, m), d.layoutAlgorithm === "elk" && m.select(".edges").lower();
792
+ const S = m.selectAll('[id*="-background"]');
793
+ Array.from(S).length > 0 && S.each(function() {
794
+ const B = Ht(this), R = B.attr("id").replace("-background", ""), T = m.select(`#${CSS.escape(R)}`);
795
+ if (!T.empty()) {
796
+ const x = T.attr("transform");
797
+ B.attr("transform", x);
798
+ }
799
+ });
800
+ const Q = 8;
801
+ Jt.insertTitle(
802
+ m,
803
+ "erDiagramTitleText",
804
+ (u == null ? void 0 : u.titleTopMargin) ?? 25,
805
+ h.db.getDiagramTitle()
806
+ ), Ft(m, Q, "erDiagram", (u == null ? void 0 : u.useMaxWidth) ?? !0);
807
+ }, "draw"), Ct = /* @__PURE__ */ p((s, i) => {
808
+ const o = $t, h = o(s, "r"), c = o(s, "g"), u = o(s, "b");
809
+ return Wt(h, c, u, i);
810
+ }, "fade"), nt = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), ie = /* @__PURE__ */ p((s) => {
811
+ const { theme: i, look: o, bkgColorArray: h, borderColorArray: c } = s;
812
+ if (!nt.has(i))
813
+ return "";
814
+ const u = (h == null ? void 0 : h.length) > 0;
815
+ let f = "";
816
+ for (let d = 0; d < s.THEME_COLOR_LIMIT; d++)
817
+ f += `
818
+
819
+ [data-look="${o}"][data-color-id="color-${d}"].node path {
820
+ stroke: ${c[d]};
821
+ ${u ? `fill: ${h[d]};` : ""}
822
+ }
823
+
824
+ [data-look="${o}"][data-color-id="color-${d}"].node rect {
825
+ stroke: ${c[d]};
826
+ ${u ? `fill: ${h[d]};` : ""}
827
+ }
828
+ `;
829
+ return f;
830
+ }, "genColor"), re = /* @__PURE__ */ p((s) => {
831
+ const { look: i, theme: o, erEdgeLabelBackground: h, strokeWidth: c } = s;
832
+ return `
833
+ ${ie(s)}
834
+ .entityBox {
835
+ fill: ${s.mainBkg};
836
+ stroke: ${s.nodeBorder};
837
+ }
838
+
839
+ .relationshipLabelBox {
840
+ fill: ${s.tertiaryColor};
841
+ opacity: 0.7;
842
+ background-color: ${s.tertiaryColor};
843
+ rect {
844
+ opacity: 0.5;
845
+ }
846
+ }
847
+
848
+ .labelBkg {
849
+ background-color: ${nt.has(o) && h ? h : Ct(s.tertiaryColor, 0.5)};
850
+ }
851
+
852
+ .edgeLabel {
853
+ background-color: ${nt.has(o) && h ? h : s.edgeLabelBackground};
854
+ }
855
+ .edgeLabel .label rect {
856
+ fill: ${nt.has(o) && h ? h : s.edgeLabelBackground};
857
+ }
858
+ .edgeLabel .label text {
859
+ fill: ${s.textColor};
860
+ }
861
+
862
+ .edgeLabel .label {
863
+ fill: ${s.nodeBorder};
864
+ font-size: 14px;
865
+ }
866
+
867
+ .label {
868
+ font-family: ${s.fontFamily};
869
+ color: ${s.nodeTextColor || s.textColor};
870
+ }
871
+
872
+ .edge-pattern-dashed {
873
+ stroke-dasharray: 8,8;
874
+ }
875
+
876
+ .node rect,
877
+ .node circle,
878
+ .node ellipse,
879
+ .node polygon
880
+ {
881
+ fill: ${s.mainBkg};
882
+ stroke: ${s.nodeBorder};
883
+ stroke-width: ${i === "neo" ? c : "1px"};
884
+ }
885
+
886
+ .relationshipLine {
887
+ stroke: ${s.lineColor};
888
+ stroke-width: ${i === "neo" ? c : "1px"};
889
+ fill: none;
890
+ }
891
+
892
+ .marker {
893
+ fill: none !important;
894
+ stroke: ${s.lineColor} !important;
895
+ stroke-width: 1;
896
+ }
897
+ [data-look=neo].labelBkg {
898
+ background-color: ${Ct(s.tertiaryColor, 0.5)};
899
+ }
900
+ `;
901
+ }, "getStyles"), ne = re, he = {
902
+ parser: te,
903
+ get db() {
904
+ return new ee();
905
+ },
906
+ renderer: vt,
907
+ styles: ne
908
+ };
909
+ export {
910
+ he as diagram
911
+ };