@elmethis/core 1.0.0-alpha.146 → 1.0.0-alpha.148

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 (859) hide show
  1. package/dist/_virtual/_commonjsHelpers.mjs +6 -0
  2. package/dist/_virtual/_plugin-vue_export-helper.mjs +10 -0
  3. package/dist/_virtual/advancedFormat.mjs +7 -0
  4. package/dist/_virtual/advancedFormat2.mjs +4 -0
  5. package/dist/_virtual/cancellation.mjs +5 -0
  6. package/dist/_virtual/cancellation2.mjs +4 -0
  7. package/dist/_virtual/constants.mjs +4 -0
  8. package/dist/_virtual/cose-base.mjs +4 -0
  9. package/dist/_virtual/cose-base2.mjs +4 -0
  10. package/dist/_virtual/customParseFormat.mjs +7 -0
  11. package/dist/_virtual/customParseFormat2.mjs +4 -0
  12. package/dist/_virtual/cytoscape-cose-bilkent.mjs +7 -0
  13. package/dist/_virtual/cytoscape-cose-bilkent2.mjs +4 -0
  14. package/dist/_virtual/cytoscape-fcose.mjs +7 -0
  15. package/dist/_virtual/cytoscape-fcose2.mjs +4 -0
  16. package/dist/_virtual/dayjs.min.mjs +7 -0
  17. package/dist/_virtual/dayjs.min2.mjs +4 -0
  18. package/dist/_virtual/events.mjs +5 -0
  19. package/dist/_virtual/events2.mjs +4 -0
  20. package/dist/_virtual/index.mjs +5 -0
  21. package/dist/_virtual/index2.mjs +4 -0
  22. package/dist/_virtual/is.mjs +4 -0
  23. package/dist/_virtual/isoWeek.mjs +7 -0
  24. package/dist/_virtual/isoWeek2.mjs +4 -0
  25. package/dist/_virtual/layout-base.mjs +4 -0
  26. package/dist/_virtual/layout-base2.mjs +4 -0
  27. package/dist/_virtual/ral.mjs +4 -0
  28. package/dist/components/badge/ElmBadge.vue.mjs +10 -0
  29. package/dist/components/badge/ElmBadge.vue2.mjs +33 -0
  30. package/dist/components/badge/ElmBadge.vue3.mjs +14 -0
  31. package/dist/components/badge/ElmTag.vue.mjs +10 -0
  32. package/dist/components/badge/ElmTag.vue2.mjs +39 -0
  33. package/dist/components/badge/ElmTag.vue3.mjs +14 -0
  34. package/dist/components/code/ElmCodeBlock.vue.mjs +10 -0
  35. package/dist/components/code/ElmCodeBlock.vue2.mjs +86 -0
  36. package/dist/components/code/ElmCodeBlock.vue3.mjs +18 -0
  37. package/dist/components/code/ElmKatex.vue.mjs +10 -0
  38. package/dist/components/code/ElmKatex.vue2.mjs +46 -0
  39. package/dist/components/code/ElmKatex.vue3.mjs +8 -0
  40. package/dist/components/code/ElmMermaid.vue.mjs +6 -0
  41. package/dist/components/code/ElmMermaid.vue2.mjs +56 -0
  42. package/dist/components/code/ElmShikiHighlighter.vue.mjs +11 -0
  43. package/dist/components/code/ElmShikiHighlighter.vue2.mjs +44 -0
  44. package/dist/components/code/ElmShikiHighlighter.vue3.mjs +8 -0
  45. package/dist/components/containments/ElmColumn.vue.mjs +10 -0
  46. package/dist/components/containments/ElmColumn.vue2.mjs +16 -0
  47. package/dist/components/containments/ElmColumn.vue3.mjs +8 -0
  48. package/dist/components/containments/ElmColumnList.vue.mjs +10 -0
  49. package/dist/components/containments/ElmColumnList.vue2.mjs +16 -0
  50. package/dist/components/containments/ElmColumnList.vue3.mjs +6 -0
  51. package/dist/components/containments/ElmDesktopWindow.vue.mjs +10 -0
  52. package/dist/components/containments/ElmDesktopWindow.vue2.mjs +42 -0
  53. package/dist/components/containments/ElmDesktopWindow.vue3.mjs +14 -0
  54. package/dist/components/containments/ElmModal.vue.mjs +10 -0
  55. package/dist/components/containments/ElmModal.vue2.mjs +44 -0
  56. package/dist/components/containments/ElmModal.vue3.mjs +11 -0
  57. package/dist/components/containments/ElmParallax.vue.mjs +10 -0
  58. package/dist/components/containments/ElmParallax.vue2.mjs +35 -0
  59. package/dist/components/containments/ElmParallax.vue3.mjs +8 -0
  60. package/dist/components/containments/ElmSnackbar.vue.mjs +10 -0
  61. package/dist/components/containments/ElmSnackbar.vue2.mjs +39 -0
  62. package/dist/components/containments/ElmSnackbar.vue3.mjs +14 -0
  63. package/dist/components/containments/ElmSnackbarContainer.vue.mjs +10 -0
  64. package/dist/components/containments/ElmSnackbarContainer.vue2.mjs +33 -0
  65. package/dist/components/containments/ElmSnackbarContainer.vue3.mjs +7 -0
  66. package/dist/components/containments/ElmToggle.vue.mjs +10 -0
  67. package/dist/components/containments/ElmToggle.vue2.mjs +71 -0
  68. package/dist/components/containments/ElmToggle.vue3.mjs +17 -0
  69. package/dist/components/containments/ElmTooltip.vue.mjs +10 -0
  70. package/dist/components/containments/ElmTooltip.vue2.mjs +49 -0
  71. package/dist/components/containments/ElmTooltip.vue3.mjs +8 -0
  72. package/dist/components/data/ElmMultiProgress.vue.mjs +10 -0
  73. package/dist/components/data/ElmMultiProgress.vue2.mjs +45 -0
  74. package/dist/components/data/ElmMultiProgress.vue3.mjs +11 -0
  75. package/dist/components/data/ElmProgress.vue.mjs +10 -0
  76. package/dist/components/data/ElmProgress.vue2.mjs +53 -0
  77. package/dist/components/data/ElmProgress.vue3.mjs +20 -0
  78. package/dist/components/data/ElmStatusMessage.vue.mjs +10 -0
  79. package/dist/components/data/ElmStatusMessage.vue2.mjs +75 -0
  80. package/dist/components/data/ElmStatusMessage.vue3.mjs +11 -0
  81. package/dist/components/fallback/ElmBlockFallback.vue.mjs +10 -0
  82. package/dist/components/fallback/ElmBlockFallback.vue2.mjs +17 -0
  83. package/dist/components/fallback/ElmBlockFallback.vue3.mjs +6 -0
  84. package/dist/components/fallback/ElmRectangleWave.vue.mjs +10 -0
  85. package/dist/components/fallback/ElmRectangleWave.vue2.mjs +15 -0
  86. package/dist/components/fallback/ElmRectangleWave.vue3.mjs +9 -0
  87. package/dist/components/fallback/ElmSpinner.vue.mjs +10 -0
  88. package/dist/components/fallback/ElmSpinner.vue2.mjs +30 -0
  89. package/dist/components/fallback/ElmSpinner.vue3.mjs +12 -0
  90. package/dist/components/form/ElmButton.vue.mjs +10 -0
  91. package/dist/components/form/ElmButton.vue2.mjs +57 -0
  92. package/dist/components/form/ElmButton.vue3.mjs +20 -0
  93. package/dist/components/form/ElmCheckbox.vue.mjs +10 -0
  94. package/dist/components/form/ElmCheckbox.vue2.mjs +177 -0
  95. package/dist/components/form/ElmCheckbox.vue3.mjs +22 -0
  96. package/dist/components/form/ElmSwitch.vue.mjs +10 -0
  97. package/dist/components/form/ElmSwitch.vue2.mjs +61 -0
  98. package/dist/components/form/ElmSwitch.vue3.mjs +16 -0
  99. package/dist/components/form/ElmTextField.vue.mjs +10 -0
  100. package/dist/components/form/ElmTextField.vue2.mjs +124 -0
  101. package/dist/components/form/ElmTextField.vue3.mjs +34 -0
  102. package/dist/components/form/ElmTotp.vue.mjs +10 -0
  103. package/dist/components/form/ElmTotp.vue2.mjs +102 -0
  104. package/dist/components/form/ElmTotp.vue3.mjs +22 -0
  105. package/dist/components/headings/ElmFragmentIdentifier.vue.mjs +10 -0
  106. package/dist/components/headings/ElmFragmentIdentifier.vue2.mjs +54 -0
  107. package/dist/components/headings/ElmFragmentIdentifier.vue3.mjs +11 -0
  108. package/dist/components/headings/ElmHeading1.vue.mjs +10 -0
  109. package/dist/components/headings/ElmHeading1.vue2.mjs +43 -0
  110. package/dist/components/headings/ElmHeading1.vue3.mjs +8 -0
  111. package/dist/components/headings/ElmHeading2.vue.mjs +10 -0
  112. package/dist/components/headings/ElmHeading2.vue2.mjs +49 -0
  113. package/dist/components/headings/ElmHeading2.vue3.mjs +11 -0
  114. package/dist/components/headings/ElmHeading3.vue.mjs +10 -0
  115. package/dist/components/headings/ElmHeading3.vue2.mjs +39 -0
  116. package/dist/components/headings/ElmHeading3.vue3.mjs +8 -0
  117. package/dist/components/headings/ElmHeading4.vue.mjs +10 -0
  118. package/dist/components/headings/ElmHeading4.vue2.mjs +31 -0
  119. package/dist/components/headings/ElmHeading4.vue3.mjs +8 -0
  120. package/dist/components/headings/ElmHeading5.vue.mjs +10 -0
  121. package/dist/components/headings/ElmHeading5.vue2.mjs +31 -0
  122. package/dist/components/headings/ElmHeading5.vue3.mjs +8 -0
  123. package/dist/components/headings/ElmHeading6.vue.mjs +10 -0
  124. package/dist/components/headings/ElmHeading6.vue2.mjs +31 -0
  125. package/dist/components/headings/ElmHeading6.vue3.mjs +8 -0
  126. package/dist/components/icon/ElmArrowIcon.vue.mjs +10 -0
  127. package/dist/components/icon/ElmArrowIcon.vue2.mjs +31 -0
  128. package/dist/components/icon/ElmArrowIcon.vue3.mjs +17 -0
  129. package/dist/components/icon/ElmBookmarkIcon.vue.mjs +10 -0
  130. package/dist/components/icon/ElmBookmarkIcon.vue2.mjs +45 -0
  131. package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +15 -0
  132. package/dist/components/icon/ElmCubeIcon.vue.mjs +10 -0
  133. package/dist/components/icon/ElmCubeIcon.vue2.mjs +41 -0
  134. package/dist/components/icon/ElmCubeIcon.vue3.mjs +12 -0
  135. package/dist/components/icon/ElmDotLoadingIcon.vue.mjs +10 -0
  136. package/dist/components/icon/ElmDotLoadingIcon.vue2.mjs +28 -0
  137. package/dist/components/icon/ElmDotLoadingIcon.vue3.mjs +14 -0
  138. package/dist/components/icon/ElmLanguageIcon.vue.mjs +10 -0
  139. package/dist/components/icon/ElmLanguageIcon.vue2.mjs +148 -0
  140. package/dist/components/icon/ElmLanguageIcon.vue3.mjs +11 -0
  141. package/dist/components/icon/ElmLoginIcon.vue.mjs +10 -0
  142. package/dist/components/icon/ElmLoginIcon.vue2.mjs +37 -0
  143. package/dist/components/icon/ElmLoginIcon.vue3.mjs +8 -0
  144. package/dist/components/icon/ElmToggleTheme.vue.mjs +10 -0
  145. package/dist/components/icon/ElmToggleTheme.vue2.mjs +30 -0
  146. package/dist/components/icon/ElmToggleTheme.vue3.mjs +8 -0
  147. package/dist/{Bash-Dgvf3lDU.js → components/icon/languages/Bash.vue.mjs} +16 -15
  148. package/dist/components/icon/languages/Bash.vue2.mjs +8 -0
  149. package/dist/components/icon/languages/Css.vue.mjs +19 -0
  150. package/dist/components/icon/languages/Rust.vue.mjs +17 -0
  151. package/dist/components/inline/ElmInlineLink.vue.mjs +10 -0
  152. package/dist/components/inline/ElmInlineLink.vue2.mjs +53 -0
  153. package/dist/components/inline/ElmInlineLink.vue3.mjs +11 -0
  154. package/dist/components/inline/ElmInlineRuby.vue.mjs +29 -0
  155. package/dist/components/inline/ElmInlineRuby.vue2.mjs +4 -0
  156. package/dist/components/inline/ElmInlineText.vue.mjs +10 -0
  157. package/dist/components/inline/ElmInlineText.vue2.mjs +57 -0
  158. package/dist/components/inline/ElmInlineText.vue3.mjs +11 -0
  159. package/dist/components/media/ElmFile.vue.mjs +10 -0
  160. package/dist/components/media/ElmFile.vue2.mjs +77 -0
  161. package/dist/components/media/ElmFile.vue3.mjs +14 -0
  162. package/dist/components/media/ElmImage.vue.mjs +10 -0
  163. package/dist/components/media/ElmImage.vue2.mjs +91 -0
  164. package/dist/components/media/ElmImage.vue3.mjs +18 -0
  165. package/dist/components/navigation/ElmBookmark.vue.mjs +10 -0
  166. package/dist/components/navigation/ElmBookmark.vue2.mjs +115 -0
  167. package/dist/components/navigation/ElmBookmark.vue3.mjs +32 -0
  168. package/dist/components/navigation/ElmBreadcrumb.vue.mjs +10 -0
  169. package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +63 -0
  170. package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +18 -0
  171. package/dist/components/navigation/ElmPagetop.vue.mjs +10 -0
  172. package/dist/components/navigation/ElmPagetop.vue2.mjs +51 -0
  173. package/dist/components/navigation/ElmPagetop.vue3.mjs +18 -0
  174. package/dist/components/navigation/ElmTableOfContents.vue.mjs +10 -0
  175. package/dist/components/navigation/ElmTableOfContents.vue2.mjs +43 -0
  176. package/dist/components/navigation/ElmTableOfContents.vue3.mjs +14 -0
  177. package/dist/components/others/ElmColorSample.vue.mjs +10 -0
  178. package/dist/components/others/ElmColorSample.vue2.mjs +72 -0
  179. package/dist/components/others/ElmColorSample.vue3.mjs +9 -0
  180. package/dist/components/others/ElmColorTable.vue.mjs +10 -0
  181. package/dist/components/others/ElmColorTable.vue2.mjs +45 -0
  182. package/dist/components/others/ElmColorTable.vue3.mjs +10 -0
  183. package/dist/components/renderer/ElmJsonRenderer.vue.mjs +96 -0
  184. package/dist/components/renderer/ElmJsonRenderer.vue2.mjs +4 -0
  185. package/dist/components/renderer/ElmJsonRendererAsync.vue.mjs +24 -0
  186. package/dist/components/renderer/ElmJsonRendererAsync.vue2.mjs +4 -0
  187. package/dist/components/table/ElmTable.vue.mjs +6 -0
  188. package/dist/components/table/ElmTable.vue2.mjs +22 -0
  189. package/dist/components/table/ElmTableBody.vue.mjs +15 -0
  190. package/dist/components/table/ElmTableBody.vue3.mjs +5 -0
  191. package/dist/components/table/ElmTableCell.vue.mjs +6 -0
  192. package/dist/components/table/ElmTableCell.vue2.mjs +22 -0
  193. package/dist/components/table/ElmTableHeader.vue.mjs +15 -0
  194. package/dist/components/table/ElmTableHeader.vue3.mjs +5 -0
  195. package/dist/components/table/ElmTableRow.vue.mjs +14 -0
  196. package/dist/components/table/ElmTableRow.vue2.mjs +4 -0
  197. package/dist/components/typography/ElmBlockQuote.vue.mjs +10 -0
  198. package/dist/components/typography/ElmBlockQuote.vue2.mjs +27 -0
  199. package/dist/components/typography/ElmBlockQuote.vue3.mjs +8 -0
  200. package/dist/components/typography/ElmBulletedList.vue.mjs +27 -0
  201. package/dist/components/typography/ElmBulletedList.vue3.mjs +5 -0
  202. package/dist/components/typography/ElmCallout.vue.mjs +10 -0
  203. package/dist/components/typography/ElmCallout.vue2.mjs +57 -0
  204. package/dist/components/typography/ElmCallout.vue3.mjs +14 -0
  205. package/dist/components/typography/ElmDivider.vue.mjs +10 -0
  206. package/dist/components/typography/ElmDivider.vue2.mjs +29 -0
  207. package/dist/components/typography/ElmDivider.vue3.mjs +8 -0
  208. package/dist/components/typography/ElmListItem.vue.mjs +10 -0
  209. package/dist/components/typography/ElmListItem.vue2.mjs +16 -0
  210. package/dist/components/typography/ElmListItem.vue3.mjs +8 -0
  211. package/dist/components/typography/ElmNumberedList.vue.mjs +27 -0
  212. package/dist/components/typography/ElmNumberedList.vue3.mjs +5 -0
  213. package/dist/components/typography/ElmParagraph.vue.mjs +10 -0
  214. package/dist/components/typography/ElmParagraph.vue2.mjs +27 -0
  215. package/dist/components/typography/ElmParagraph.vue3.mjs +8 -0
  216. package/dist/hooks/useElmethisTheme.mjs +43 -0
  217. package/dist/hooks/useTyping.mjs +37 -0
  218. package/dist/index.mjs +150 -0
  219. package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/constants.mjs +20 -0
  220. package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.mjs +76 -0
  221. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/helpers.mjs +57 -0
  222. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/model.mjs +220 -0
  223. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/visitor.mjs +64 -0
  224. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.mjs +101 -0
  225. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.mjs +45 -0
  226. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.mjs +693 -0
  227. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +39 -0
  228. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/print.mjs +14 -0
  229. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/timer.mjs +10 -0
  230. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +15 -0
  231. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.mjs +15 -0
  232. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +28 -0
  233. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +20 -0
  234. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +54 -0
  235. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +17 -0
  236. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +27 -0
  237. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +24 -0
  238. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +120 -0
  239. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +33 -0
  240. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +10 -0
  241. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +29 -0
  242. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +41 -0
  243. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-4AB2E3PP.mjs +6 -0
  244. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2NYFTIL2.mjs +34 -0
  245. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2O5ZK7RR.mjs +34 -0
  246. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7PKI6E2E.mjs +541 -0
  247. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-C4OEIS7N.mjs +46 -0
  248. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-EXZZNE6F.mjs +34 -0
  249. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ROXG7S4E.mjs +42 -0
  250. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-V4Q32G6S.mjs +34 -0
  251. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-O2Q2CXLX.mjs +6 -0
  252. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-4N47QTOZ.mjs +6 -0
  253. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-KVYON367.mjs +6 -0
  254. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-R6RNRRYF.mjs +6 -0
  255. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-MK3ICKWK.mjs +6 -0
  256. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +115 -0
  257. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +531 -0
  258. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.mjs +393 -0
  259. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.mjs +42 -0
  260. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +12 -0
  261. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/constants.mjs +4 -0
  262. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +42 -0
  263. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +87 -0
  264. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/errors_public.mjs +161 -0
  265. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +60 -0
  266. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +416 -0
  267. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +47 -0
  268. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +41 -0
  269. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +24 -0
  270. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +424 -0
  271. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +22 -0
  272. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +48 -0
  273. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +387 -0
  274. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +40 -0
  275. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +83 -0
  276. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +181 -0
  277. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +25 -0
  278. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +69 -0
  279. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +270 -0
  280. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +59 -0
  281. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +128 -0
  282. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +38 -0
  283. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +323 -0
  284. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +434 -0
  285. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +251 -0
  286. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +167 -0
  287. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +19 -0
  288. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.mjs +720 -0
  289. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +11 -0
  290. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +552 -0
  291. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +214 -0
  292. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +20 -0
  293. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens.mjs +115 -0
  294. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +88 -0
  295. package/dist/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.mjs +1090 -0
  296. package/dist/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.mjs +2555 -0
  297. package/dist/node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.31.1/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.mjs +374 -0
  298. package/dist/node_modules/.pnpm/cytoscape-fcose@2.2.0_cytoscape@3.31.1/node_modules/cytoscape-fcose/cytoscape-fcose.mjs +1278 -0
  299. package/dist/node_modules/.pnpm/cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs +29469 -0
  300. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/max.mjs +21 -0
  301. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/min.mjs +21 -0
  302. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/sum.mjs +21 -0
  303. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.mjs +6 -0
  304. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.mjs +10 -0
  305. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.mjs +47 -0
  306. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.mjs +6 -0
  307. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.mjs +21 -0
  308. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.mjs +21 -0
  309. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.mjs +6 -0
  310. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.mjs +11 -0
  311. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.mjs +51 -0
  312. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.mjs +94 -0
  313. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.mjs +6 -0
  314. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.mjs +338 -0
  315. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.mjs +13 -0
  316. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/lab.mjs +95 -0
  317. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.mjs +6 -0
  318. package/dist/node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.mjs +70 -0
  319. package/dist/node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.mjs +6 -0
  320. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.mjs +20 -0
  321. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.mjs +7 -0
  322. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.mjs +15 -0
  323. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.mjs +15 -0
  324. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.mjs +10 -0
  325. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.mjs +12 -0
  326. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.mjs +10 -0
  327. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.mjs +37 -0
  328. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.mjs +21 -0
  329. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.mjs +21 -0
  330. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.mjs +6 -0
  331. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.mjs +82 -0
  332. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.mjs +7 -0
  333. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.mjs +7 -0
  334. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.mjs +8 -0
  335. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.mjs +13 -0
  336. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.mjs +29 -0
  337. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.mjs +4 -0
  338. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.mjs +9 -0
  339. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.mjs +18 -0
  340. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.mjs +8 -0
  341. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.mjs +15 -0
  342. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.mjs +20 -0
  343. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.mjs +20 -0
  344. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.mjs +8 -0
  345. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.mjs +43 -0
  346. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.mjs +28 -0
  347. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.mjs +59 -0
  348. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.mjs +18 -0
  349. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.mjs +16 -0
  350. package/dist/node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.mjs +73 -0
  351. package/dist/node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.mjs +88 -0
  352. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/align.mjs +22 -0
  353. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/constant.mjs +8 -0
  354. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankey.mjs +326 -0
  355. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankeyLinkHorizontal.mjs +13 -0
  356. package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/categorical/Tableau10.mjs +5 -0
  357. package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.mjs +8 -0
  358. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs +56 -0
  359. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.mjs +8 -0
  360. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.mjs +95 -0
  361. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.mjs +16 -0
  362. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs +61 -0
  363. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.mjs +14 -0
  364. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.mjs +6 -0
  365. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.mjs +38 -0
  366. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +34 -0
  367. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.mjs +54 -0
  368. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.mjs +6 -0
  369. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.mjs +8 -0
  370. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.mjs +20 -0
  371. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.mjs +14 -0
  372. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.mjs +9 -0
  373. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.mjs +12 -0
  374. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs +7 -0
  375. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.mjs +10 -0
  376. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.mjs +46 -0
  377. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.mjs +9 -0
  378. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.mjs +64 -0
  379. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.mjs +14 -0
  380. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.mjs +76 -0
  381. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.mjs +6 -0
  382. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.mjs +28 -0
  383. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.mjs +11 -0
  384. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.mjs +6 -0
  385. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.mjs +31 -0
  386. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.mjs +8 -0
  387. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.mjs +16 -0
  388. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.mjs +20 -0
  389. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.mjs +88 -0
  390. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.mjs +14 -0
  391. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.mjs +10 -0
  392. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.mjs +19 -0
  393. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.mjs +9 -0
  394. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.mjs +18 -0
  395. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.mjs +12 -0
  396. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.mjs +6 -0
  397. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.mjs +64 -0
  398. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.mjs +14 -0
  399. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.mjs +23 -0
  400. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.mjs +9 -0
  401. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.mjs +10 -0
  402. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.mjs +17 -0
  403. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.mjs +24 -0
  404. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.mjs +16 -0
  405. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.mjs +16 -0
  406. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.mjs +8 -0
  407. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.mjs +22 -0
  408. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.mjs +6 -0
  409. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.mjs +28 -0
  410. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.mjs +20 -0
  411. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.mjs +10 -0
  412. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.mjs +11 -0
  413. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.mjs +6 -0
  414. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/array.mjs +4 -0
  415. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.mjs +8 -0
  416. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/link/index.mjs +45 -0
  417. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/point.mjs +10 -0
  418. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/arc.mjs +133 -0
  419. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/array.mjs +6 -0
  420. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.mjs +8 -0
  421. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.mjs +66 -0
  422. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.mjs +63 -0
  423. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.mjs +50 -0
  424. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.mjs +49 -0
  425. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.mjs +43 -0
  426. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.mjs +73 -0
  427. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.mjs +69 -0
  428. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.mjs +57 -0
  429. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.mjs +83 -0
  430. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.mjs +75 -0
  431. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.mjs +63 -0
  432. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.mjs +39 -0
  433. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.mjs +25 -0
  434. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.mjs +99 -0
  435. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.mjs +54 -0
  436. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.mjs +59 -0
  437. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.mjs +6 -0
  438. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.mjs +6 -0
  439. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs +41 -0
  440. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.mjs +32 -0
  441. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.mjs +5 -0
  442. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.mjs +19 -0
  443. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.mjs +55 -0
  444. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.mjs +10 -0
  445. package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.mjs +25 -0
  446. package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.mjs +542 -0
  447. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.mjs +34 -0
  448. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.mjs +16 -0
  449. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.mjs +26 -0
  450. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.mjs +61 -0
  451. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.mjs +23 -0
  452. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.mjs +26 -0
  453. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.mjs +27 -0
  454. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/second.mjs +15 -0
  455. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.mjs +54 -0
  456. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.mjs +66 -0
  457. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.mjs +45 -0
  458. package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.mjs +13 -0
  459. package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.mjs +96 -0
  460. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.mjs +21 -0
  461. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs +5 -0
  462. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.mjs +9 -0
  463. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.mjs +39 -0
  464. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.mjs +55 -0
  465. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.mjs +42 -0
  466. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.mjs +18 -0
  467. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.mjs +18 -0
  468. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.mjs +14 -0
  469. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.mjs +15 -0
  470. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.mjs +23 -0
  471. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.mjs +16 -0
  472. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.mjs +68 -0
  473. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.mjs +11 -0
  474. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.mjs +18 -0
  475. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.mjs +23 -0
  476. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.mjs +13 -0
  477. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.mjs +125 -0
  478. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.mjs +20 -0
  479. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.mjs +24 -0
  480. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.mjs +8 -0
  481. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.mjs +47 -0
  482. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.mjs +25 -0
  483. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.mjs +18 -0
  484. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.mjs +25 -0
  485. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.mjs +22 -0
  486. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.mjs +64 -0
  487. package/dist/node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs +45 -0
  488. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +55 -0
  489. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +33 -0
  490. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +66 -0
  491. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/data/list.mjs +49 -0
  492. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +97 -0
  493. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/layout.mjs +344 -0
  494. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +94 -0
  495. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/normalize.mjs +69 -0
  496. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +25 -0
  497. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +29 -0
  498. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +33 -0
  499. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +54 -0
  500. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/index.mjs +51 -0
  501. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +30 -0
  502. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +84 -0
  503. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +66 -0
  504. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +47 -0
  505. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +66 -0
  506. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +296 -0
  507. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/index.mjs +29 -0
  508. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +45 -0
  509. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +29 -0
  510. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +148 -0
  511. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +30 -0
  512. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/util.mjs +164 -0
  513. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +33 -0
  514. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.mjs +2 -0
  515. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.mjs +2 -0
  516. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +7 -0
  517. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +7 -0
  518. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +7 -0
  519. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/graph.mjs +420 -0
  520. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/json.mjs +47 -0
  521. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +286 -0
  522. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/advancedFormat.mjs +58 -0
  523. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs +133 -0
  524. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs +37 -0
  525. package/dist/node_modules/.pnpm/dompurify@3.2.4/node_modules/dompurify/dist/purify.es.mjs +965 -0
  526. package/dist/node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.mjs +43 -0
  527. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/index.mjs +131 -0
  528. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/reusable.mjs +5 -0
  529. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/type.mjs +24 -0
  530. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hex.mjs +40 -0
  531. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hsl.mjs +50 -0
  532. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/index.mjs +39 -0
  533. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/keyword.mjs +172 -0
  534. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/rgb.mjs +33 -0
  535. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/constants.mjs +13 -0
  536. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs +15 -0
  537. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust_channel.mjs +13 -0
  538. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/change.mjs +12 -0
  539. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.mjs +8 -0
  540. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs +7 -0
  541. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs +12 -0
  542. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs +7 -0
  543. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_light.mjs +7 -0
  544. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs +7 -0
  545. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/luminance.mjs +10 -0
  546. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/mix.mjs +20 -0
  547. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs +18 -0
  548. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.mjs +95 -0
  549. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/index.mjs +11 -0
  550. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/lang.mjs +14 -0
  551. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/unit.mjs +10 -0
  552. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/default-module.mjs +87 -0
  553. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/dependency-injection.mjs +74 -0
  554. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/comment-provider.mjs +17 -0
  555. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/documentation-provider.mjs +62 -0
  556. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/jsdoc.mjs +478 -0
  557. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/generated/ast.mjs +725 -0
  558. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/grammar-config.mjs +20 -0
  559. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/async-parser.mjs +11 -0
  560. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +13 -0
  561. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/cst-node-builder.mjs +233 -0
  562. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +17 -0
  563. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser.mjs +453 -0
  564. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/lexer.mjs +72 -0
  565. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/parser-builder-base.mjs +336 -0
  566. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/token-builder.mjs +105 -0
  567. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/value-converter.mjs +111 -0
  568. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/linker.mjs +139 -0
  569. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/name-provider.mjs +19 -0
  570. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/references.mjs +80 -0
  571. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-computation.mjs +70 -0
  572. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-provider.mjs +62 -0
  573. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope.mjs +60 -0
  574. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/hydrator.mjs +256 -0
  575. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/json-serializer.mjs +202 -0
  576. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/service-registry.mjs +69 -0
  577. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/syntax-tree.mjs +73 -0
  578. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/ast-utils.mjs +159 -0
  579. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/caching.mjs +137 -0
  580. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/collections.mjs +177 -0
  581. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/cst-utils.mjs +126 -0
  582. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/disposable.mjs +12 -0
  583. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/errors.mjs +12 -0
  584. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-loader.mjs +33 -0
  585. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-utils.mjs +377 -0
  586. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/promise-utils.mjs +56 -0
  587. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/regexp-utils.mjs +239 -0
  588. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/stream.mjs +466 -0
  589. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/uri-utils.mjs +37 -0
  590. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/document-validator.mjs +236 -0
  591. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/validation-registry.mjs +142 -0
  592. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +75 -0
  593. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +43 -0
  594. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/configuration.mjs +81 -0
  595. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/document-builder.mjs +328 -0
  596. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/documents.mjs +210 -0
  597. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/file-system-provider.mjs +15 -0
  598. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/index-manager.mjs +74 -0
  599. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-lock.mjs +64 -0
  600. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-manager.mjs +106 -0
  601. package/dist/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.mjs +3197 -0
  602. package/dist/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.mjs +3745 -0
  603. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +6 -0
  604. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +21 -0
  605. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +21 -0
  606. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +6 -0
  607. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +21 -0
  608. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +6 -0
  609. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +6 -0
  610. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.mjs +15 -0
  611. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +18 -0
  612. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +5 -0
  613. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +5 -0
  614. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +6 -0
  615. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +16 -0
  616. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +12 -0
  617. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +13 -0
  618. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.mjs +8 -0
  619. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +24 -0
  620. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +10 -0
  621. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +10 -0
  622. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayReduce.mjs +13 -0
  623. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arraySome.mjs +12 -0
  624. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +10 -0
  625. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +13 -0
  626. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +13 -0
  627. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.mjs +8 -0
  628. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +16 -0
  629. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +83 -0
  630. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +21 -0
  631. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseEach.mjs +6 -0
  632. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +14 -0
  633. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFilter.mjs +13 -0
  634. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.mjs +12 -0
  635. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFlatten.mjs +21 -0
  636. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +5 -0
  637. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseForOwn.mjs +8 -0
  638. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +13 -0
  639. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +9 -0
  640. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +14 -0
  641. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.mjs +6 -0
  642. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.mjs +9 -0
  643. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +9 -0
  644. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqual.mjs +14 -0
  645. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqualDeep.mjs +45 -0
  646. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +9 -0
  647. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.mjs +35 -0
  648. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.mjs +6 -0
  649. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +22 -0
  650. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +9 -0
  651. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +14 -0
  652. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.mjs +20 -0
  653. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +19 -0
  654. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +20 -0
  655. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +6 -0
  656. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMap.mjs +12 -0
  657. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.mjs +15 -0
  658. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.mjs +20 -0
  659. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +27 -0
  660. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +61 -0
  661. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.mjs +8 -0
  662. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.mjs +9 -0
  663. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseReduce.mjs +9 -0
  664. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +9 -0
  665. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +14 -0
  666. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +10 -0
  667. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +21 -0
  668. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +8 -0
  669. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.mjs +46 -0
  670. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.mjs +6 -0
  671. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castFunction.mjs +7 -0
  672. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +13 -0
  673. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +9 -0
  674. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +16 -0
  675. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +7 -0
  676. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +9 -0
  677. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +8 -0
  678. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +8 -0
  679. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +11 -0
  680. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +23 -0
  681. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.mjs +8 -0
  682. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +5 -0
  683. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +23 -0
  684. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseEach.mjs +21 -0
  685. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +15 -0
  686. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.mjs +10 -0
  687. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +12 -0
  688. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalArrays.mjs +50 -0
  689. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalByTag.mjs +59 -0
  690. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalObjects.mjs +50 -0
  691. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +4 -0
  692. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +9 -0
  693. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +8 -0
  694. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.mjs +13 -0
  695. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +9 -0
  696. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +5 -0
  697. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +25 -0
  698. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +17 -0
  699. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +34 -0
  700. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +6 -0
  701. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.mjs +25 -0
  702. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +8 -0
  703. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +8 -0
  704. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +15 -0
  705. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +10 -0
  706. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +11 -0
  707. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +13 -0
  708. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +43 -0
  709. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +9 -0
  710. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isFlattenable.mjs +10 -0
  711. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +10 -0
  712. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +17 -0
  713. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +16 -0
  714. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +7 -0
  715. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +11 -0
  716. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +8 -0
  717. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.mjs +7 -0
  718. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +7 -0
  719. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +20 -0
  720. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +8 -0
  721. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +7 -0
  722. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +14 -0
  723. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +14 -0
  724. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +9 -0
  725. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +7 -0
  726. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +7 -0
  727. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +10 -0
  728. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapToArray.mjs +10 -0
  729. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.mjs +11 -0
  730. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +15 -0
  731. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +5 -0
  732. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +5 -0
  733. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +12 -0
  734. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +18 -0
  735. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +8 -0
  736. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +8 -0
  737. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +21 -0
  738. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +6 -0
  739. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +12 -0
  740. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.mjs +8 -0
  741. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.mjs +6 -0
  742. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.mjs +10 -0
  743. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +6 -0
  744. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +20 -0
  745. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +8 -0
  746. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +8 -0
  747. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +6 -0
  748. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +6 -0
  749. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +22 -0
  750. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.mjs +12 -0
  751. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +16 -0
  752. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +11 -0
  753. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +18 -0
  754. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/clone.mjs +8 -0
  755. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +8 -0
  756. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +6 -0
  757. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/filter.mjs +11 -0
  758. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatMap.mjs +8 -0
  759. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatten.mjs +8 -0
  760. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forEach.mjs +11 -0
  761. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +8 -0
  762. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.mjs +8 -0
  763. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +6 -0
  764. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +13 -0
  765. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +4 -0
  766. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +8 -0
  767. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +8 -0
  768. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +11 -0
  769. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.mjs +35 -0
  770. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +13 -0
  771. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +7 -0
  772. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +8 -0
  773. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +7 -0
  774. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +6 -0
  775. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +22 -0
  776. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +8 -0
  777. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +9 -0
  778. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +8 -0
  779. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +9 -0
  780. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +9 -0
  781. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/map.mjs +11 -0
  782. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +22 -0
  783. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +8 -0
  784. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +9 -0
  785. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.mjs +5 -0
  786. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.mjs +10 -0
  787. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/reduce.mjs +12 -0
  788. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +6 -0
  789. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +6 -0
  790. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +8 -0
  791. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +7 -0
  792. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +8 -0
  793. package/dist/node_modules/.pnpm/marked@15.0.7/node_modules/marked/lib/marked.esm.mjs +2152 -0
  794. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-IEHRJDOE.mjs +1093 -0
  795. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-JOT3LUYC.mjs +3598 -0
  796. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-VJAJSXHY.mjs +2487 -0
  797. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BMEZGHF.mjs +17 -0
  798. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5NNNAHNI.mjs +143 -0
  799. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6JRP7KZX.mjs +2696 -0
  800. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7B677QYD.mjs +19 -0
  801. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-A2AXSNBT.mjs +1828 -0
  802. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AEK57VVT.mjs +1961 -0
  803. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C3MQ5ANM.mjs +332 -0
  804. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-D6G4REZN.mjs +109 -0
  805. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-H2D2JQ3I.mjs +78 -0
  806. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HRU6DDCH.mjs +5018 -0
  807. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IIMUDSI4.mjs +696 -0
  808. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-K557N5IZ.mjs +17 -0
  809. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4NI6UNU.mjs +557 -0
  810. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RZ5BOZE2.mjs +38 -0
  811. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TYCBKAJE.mjs +57 -0
  812. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VV3M67IP.mjs +107 -0
  813. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XZIHB7SX.mjs +17 -0
  814. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YTJNT7DU.mjs +3052 -0
  815. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-GIVACNV2.mjs +27 -0
  816. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-COTLJTTW.mjs +27 -0
  817. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-OKDRZEBW.mjs +662 -0
  818. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-SSKATNLV.mjs +306 -0
  819. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VNBRO52H.mjs +191 -0
  820. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q7BY3M3F.mjs +1168 -0
  821. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-4HSFHLVR.mjs +2339 -0
  822. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-APWFNJXF.mjs +2104 -0
  823. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-7IBYFJ6S.mjs +1215 -0
  824. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-PH2N3AL5.mjs +31 -0
  825. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-U35MCT3I.mjs +1201 -0
  826. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-NDS4AKOZ.mjs +1055 -0
  827. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-ALO5MXBD.mjs +1195 -0
  828. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-IB7DONF6.mjs +188 -0
  829. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-7GDLP6J5.mjs +1340 -0
  830. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-KVF5MWMF.mjs +1168 -0
  831. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-QLVOVGJD.mjs +670 -0
  832. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-X6HHIX6F.mjs +3419 -0
  833. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-DGXRK772.mjs +477 -0
  834. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-YXO3MK2T.mjs +27 -0
  835. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-BDJGKUSR.mjs +1232 -0
  836. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-VJFVF3MP.mjs +1778 -0
  837. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/mermaid.core.mjs +1222 -0
  838. package/dist/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.mjs +13 -0
  839. package/dist/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.mjs +4 -0
  840. package/dist/node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.mjs +1001 -0
  841. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.mjs +16 -0
  842. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.mjs +164 -0
  843. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.mjs +29 -0
  844. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.mjs +156 -0
  845. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.mjs +38 -0
  846. package/dist/node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.mjs +42 -0
  847. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.mjs +95 -0
  848. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.mjs +133 -0
  849. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.mjs +40 -0
  850. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.mjs +28 -0
  851. package/dist/node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.mjs +225 -0
  852. package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.mjs +1262 -0
  853. package/dist/node_modules/.pnpm/vscode-uri@3.0.8/node_modules/vscode-uri/lib/esm/index.mjs +344 -0
  854. package/package.json +24 -26
  855. package/dist/Css-BDTor6my.js +0 -18
  856. package/dist/ElmShikiHighlighter-B6syB4ax.js +0 -44
  857. package/dist/Rust-BwuxPQOA.js +0 -16
  858. package/dist/elmethis.js +0 -70
  859. package/dist/index-BFwE0btN.js +0 -3523
@@ -0,0 +1,1961 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
+ var _a;
5
+ import { getDiagramElement, setupViewPortForSVG } from "./chunk-RZ5BOZE2.mjs";
6
+ import { render } from "./chunk-TYCBKAJE.mjs";
7
+ import { utils_default, generateId } from "./chunk-O4NI6UNU.mjs";
8
+ import { __name, log, getConfig2, common_default, clear, getAccTitle, setAccTitle, getAccDescription, setAccDescription, setDiagramTitle, getDiagramTitle } from "./chunk-YTJNT7DU.mjs";
9
+ var parser = function() {
10
+ var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
11
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
12
+ return o2;
13
+ }, "o"), $V0 = [1, 2], $V1 = [1, 3], $V2 = [1, 4], $V3 = [2, 4], $V4 = [1, 9], $V5 = [1, 11], $V6 = [1, 16], $V7 = [1, 17], $V8 = [1, 18], $V9 = [1, 19], $Va = [1, 32], $Vb = [1, 20], $Vc = [1, 21], $Vd = [1, 22], $Ve = [1, 23], $Vf = [1, 24], $Vg = [1, 26], $Vh = [1, 27], $Vi = [1, 28], $Vj = [1, 29], $Vk = [1, 30], $Vl = [1, 31], $Vm = [1, 34], $Vn = [1, 35], $Vo = [1, 36], $Vp = [1, 37], $Vq = [1, 33], $Vr = [1, 4, 5, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 42, 45, 48, 49, 50, 51, 54], $Vs = [1, 4, 5, 14, 15, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 42, 45, 48, 49, 50, 51, 54], $Vt = [4, 5, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 42, 45, 48, 49, 50, 51, 54];
14
+ var parser2 = {
15
+ trace: /* @__PURE__ */ __name(function trace() {
16
+ }, "trace"),
17
+ yy: {},
18
+ symbols_: { "error": 2, "start": 3, "SPACE": 4, "NL": 5, "SD": 6, "document": 7, "line": 8, "statement": 9, "classDefStatement": 10, "styleStatement": 11, "cssClassStatement": 12, "idStatement": 13, "DESCR": 14, "-->": 15, "HIDE_EMPTY": 16, "scale": 17, "WIDTH": 18, "COMPOSIT_STATE": 19, "STRUCT_START": 20, "STRUCT_STOP": 21, "STATE_DESCR": 22, "AS": 23, "ID": 24, "FORK": 25, "JOIN": 26, "CHOICE": 27, "CONCURRENT": 28, "note": 29, "notePosition": 30, "NOTE_TEXT": 31, "direction": 32, "acc_title": 33, "acc_title_value": 34, "acc_descr": 35, "acc_descr_value": 36, "acc_descr_multiline_value": 37, "classDef": 38, "CLASSDEF_ID": 39, "CLASSDEF_STYLEOPTS": 40, "DEFAULT": 41, "style": 42, "STYLE_IDS": 43, "STYLEDEF_STYLEOPTS": 44, "class": 45, "CLASSENTITY_IDS": 46, "STYLECLASS": 47, "direction_tb": 48, "direction_bt": 49, "direction_rl": 50, "direction_lr": 51, "eol": 52, ";": 53, "EDGE_STATE": 54, "STYLE_SEPARATOR": 55, "left_of": 56, "right_of": 57, "$accept": 0, "$end": 1 },
19
+ terminals_: { 2: "error", 4: "SPACE", 5: "NL", 6: "SD", 14: "DESCR", 15: "-->", 16: "HIDE_EMPTY", 17: "scale", 18: "WIDTH", 19: "COMPOSIT_STATE", 20: "STRUCT_START", 21: "STRUCT_STOP", 22: "STATE_DESCR", 23: "AS", 24: "ID", 25: "FORK", 26: "JOIN", 27: "CHOICE", 28: "CONCURRENT", 29: "note", 31: "NOTE_TEXT", 33: "acc_title", 34: "acc_title_value", 35: "acc_descr", 36: "acc_descr_value", 37: "acc_descr_multiline_value", 38: "classDef", 39: "CLASSDEF_ID", 40: "CLASSDEF_STYLEOPTS", 41: "DEFAULT", 42: "style", 43: "STYLE_IDS", 44: "STYLEDEF_STYLEOPTS", 45: "class", 46: "CLASSENTITY_IDS", 47: "STYLECLASS", 48: "direction_tb", 49: "direction_bt", 50: "direction_rl", 51: "direction_lr", 53: ";", 54: "EDGE_STATE", 55: "STYLE_SEPARATOR", 56: "left_of", 57: "right_of" },
20
+ productions_: [0, [3, 2], [3, 2], [3, 2], [7, 0], [7, 2], [8, 2], [8, 1], [8, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 2], [9, 3], [9, 4], [9, 1], [9, 2], [9, 1], [9, 4], [9, 3], [9, 6], [9, 1], [9, 1], [9, 1], [9, 1], [9, 4], [9, 4], [9, 1], [9, 2], [9, 2], [9, 1], [10, 3], [10, 3], [11, 3], [12, 3], [32, 1], [32, 1], [32, 1], [32, 1], [52, 1], [52, 1], [13, 1], [13, 1], [13, 3], [13, 3], [30, 1], [30, 1]],
21
+ performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
22
+ var $0 = $$.length - 1;
23
+ switch (yystate) {
24
+ case 3:
25
+ yy.setRootDoc($$[$0]);
26
+ return $$[$0];
27
+ case 4:
28
+ this.$ = [];
29
+ break;
30
+ case 5:
31
+ if ($$[$0] != "nl") {
32
+ $$[$0 - 1].push($$[$0]);
33
+ this.$ = $$[$0 - 1];
34
+ }
35
+ break;
36
+ case 6:
37
+ case 7:
38
+ this.$ = $$[$0];
39
+ break;
40
+ case 8:
41
+ this.$ = "nl";
42
+ break;
43
+ case 12:
44
+ this.$ = $$[$0];
45
+ break;
46
+ case 13:
47
+ const stateStmt = $$[$0 - 1];
48
+ stateStmt.description = yy.trimColon($$[$0]);
49
+ this.$ = stateStmt;
50
+ break;
51
+ case 14:
52
+ this.$ = { stmt: "relation", state1: $$[$0 - 2], state2: $$[$0] };
53
+ break;
54
+ case 15:
55
+ const relDescription = yy.trimColon($$[$0]);
56
+ this.$ = { stmt: "relation", state1: $$[$0 - 3], state2: $$[$0 - 1], description: relDescription };
57
+ break;
58
+ case 19:
59
+ this.$ = { stmt: "state", id: $$[$0 - 3], type: "default", description: "", doc: $$[$0 - 1] };
60
+ break;
61
+ case 20:
62
+ var id = $$[$0];
63
+ var description = $$[$0 - 2].trim();
64
+ if ($$[$0].match(":")) {
65
+ var parts = $$[$0].split(":");
66
+ id = parts[0];
67
+ description = [description, parts[1]];
68
+ }
69
+ this.$ = { stmt: "state", id, type: "default", description };
70
+ break;
71
+ case 21:
72
+ this.$ = { stmt: "state", id: $$[$0 - 3], type: "default", description: $$[$0 - 5], doc: $$[$0 - 1] };
73
+ break;
74
+ case 22:
75
+ this.$ = { stmt: "state", id: $$[$0], type: "fork" };
76
+ break;
77
+ case 23:
78
+ this.$ = { stmt: "state", id: $$[$0], type: "join" };
79
+ break;
80
+ case 24:
81
+ this.$ = { stmt: "state", id: $$[$0], type: "choice" };
82
+ break;
83
+ case 25:
84
+ this.$ = { stmt: "state", id: yy.getDividerId(), type: "divider" };
85
+ break;
86
+ case 26:
87
+ this.$ = { stmt: "state", id: $$[$0 - 1].trim(), note: { position: $$[$0 - 2].trim(), text: $$[$0].trim() } };
88
+ break;
89
+ case 29:
90
+ this.$ = $$[$0].trim();
91
+ yy.setAccTitle(this.$);
92
+ break;
93
+ case 30:
94
+ case 31:
95
+ this.$ = $$[$0].trim();
96
+ yy.setAccDescription(this.$);
97
+ break;
98
+ case 32:
99
+ case 33:
100
+ this.$ = { stmt: "classDef", id: $$[$0 - 1].trim(), classes: $$[$0].trim() };
101
+ break;
102
+ case 34:
103
+ this.$ = { stmt: "style", id: $$[$0 - 1].trim(), styleClass: $$[$0].trim() };
104
+ break;
105
+ case 35:
106
+ this.$ = { stmt: "applyClass", id: $$[$0 - 1].trim(), styleClass: $$[$0].trim() };
107
+ break;
108
+ case 36:
109
+ yy.setDirection("TB");
110
+ this.$ = { stmt: "dir", value: "TB" };
111
+ break;
112
+ case 37:
113
+ yy.setDirection("BT");
114
+ this.$ = { stmt: "dir", value: "BT" };
115
+ break;
116
+ case 38:
117
+ yy.setDirection("RL");
118
+ this.$ = { stmt: "dir", value: "RL" };
119
+ break;
120
+ case 39:
121
+ yy.setDirection("LR");
122
+ this.$ = { stmt: "dir", value: "LR" };
123
+ break;
124
+ case 42:
125
+ case 43:
126
+ this.$ = { stmt: "state", id: $$[$0].trim(), type: "default", description: "" };
127
+ break;
128
+ case 44:
129
+ this.$ = { stmt: "state", id: $$[$0 - 2].trim(), classes: [$$[$0].trim()], type: "default", description: "" };
130
+ break;
131
+ case 45:
132
+ this.$ = { stmt: "state", id: $$[$0 - 2].trim(), classes: [$$[$0].trim()], type: "default", description: "" };
133
+ break;
134
+ }
135
+ }, "anonymous"),
136
+ table: [{ 3: 1, 4: $V0, 5: $V1, 6: $V2 }, { 1: [3] }, { 3: 5, 4: $V0, 5: $V1, 6: $V2 }, { 3: 6, 4: $V0, 5: $V1, 6: $V2 }, o([1, 4, 5, 16, 17, 19, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 42, 45, 48, 49, 50, 51, 54], $V3, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: $V4, 5: $V5, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: $V6, 17: $V7, 19: $V8, 22: $V9, 24: $Va, 25: $Vb, 26: $Vc, 27: $Vd, 28: $Ve, 29: $Vf, 32: 25, 33: $Vg, 35: $Vh, 37: $Vi, 38: $Vj, 42: $Vk, 45: $Vl, 48: $Vm, 49: $Vn, 50: $Vo, 51: $Vp, 54: $Vq }, o($Vr, [2, 5]), { 9: 38, 10: 12, 11: 13, 12: 14, 13: 15, 16: $V6, 17: $V7, 19: $V8, 22: $V9, 24: $Va, 25: $Vb, 26: $Vc, 27: $Vd, 28: $Ve, 29: $Vf, 32: 25, 33: $Vg, 35: $Vh, 37: $Vi, 38: $Vj, 42: $Vk, 45: $Vl, 48: $Vm, 49: $Vn, 50: $Vo, 51: $Vp, 54: $Vq }, o($Vr, [2, 7]), o($Vr, [2, 8]), o($Vr, [2, 9]), o($Vr, [2, 10]), o($Vr, [2, 11]), o($Vr, [2, 12], { 14: [1, 39], 15: [1, 40] }), o($Vr, [2, 16]), { 18: [1, 41] }, o($Vr, [2, 18], { 20: [1, 42] }), { 23: [1, 43] }, o($Vr, [2, 22]), o($Vr, [2, 23]), o($Vr, [2, 24]), o($Vr, [2, 25]), { 30: 44, 31: [1, 45], 56: [1, 46], 57: [1, 47] }, o($Vr, [2, 28]), { 34: [1, 48] }, { 36: [1, 49] }, o($Vr, [2, 31]), { 39: [1, 50], 41: [1, 51] }, { 43: [1, 52] }, { 46: [1, 53] }, o($Vs, [2, 42], { 55: [1, 54] }), o($Vs, [2, 43], { 55: [1, 55] }), o($Vr, [2, 36]), o($Vr, [2, 37]), o($Vr, [2, 38]), o($Vr, [2, 39]), o($Vr, [2, 6]), o($Vr, [2, 13]), { 13: 56, 24: $Va, 54: $Vq }, o($Vr, [2, 17]), o($Vt, $V3, { 7: 57 }), { 24: [1, 58] }, { 24: [1, 59] }, { 23: [1, 60] }, { 24: [2, 46] }, { 24: [2, 47] }, o($Vr, [2, 29]), o($Vr, [2, 30]), { 40: [1, 61] }, { 40: [1, 62] }, { 44: [1, 63] }, { 47: [1, 64] }, { 24: [1, 65] }, { 24: [1, 66] }, o($Vr, [2, 14], { 14: [1, 67] }), { 4: $V4, 5: $V5, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: $V6, 17: $V7, 19: $V8, 21: [1, 68], 22: $V9, 24: $Va, 25: $Vb, 26: $Vc, 27: $Vd, 28: $Ve, 29: $Vf, 32: 25, 33: $Vg, 35: $Vh, 37: $Vi, 38: $Vj, 42: $Vk, 45: $Vl, 48: $Vm, 49: $Vn, 50: $Vo, 51: $Vp, 54: $Vq }, o($Vr, [2, 20], { 20: [1, 69] }), { 31: [1, 70] }, { 24: [1, 71] }, o($Vr, [2, 32]), o($Vr, [2, 33]), o($Vr, [2, 34]), o($Vr, [2, 35]), o($Vs, [2, 44]), o($Vs, [2, 45]), o($Vr, [2, 15]), o($Vr, [2, 19]), o($Vt, $V3, { 7: 72 }), o($Vr, [2, 26]), o($Vr, [2, 27]), { 4: $V4, 5: $V5, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: $V6, 17: $V7, 19: $V8, 21: [1, 73], 22: $V9, 24: $Va, 25: $Vb, 26: $Vc, 27: $Vd, 28: $Ve, 29: $Vf, 32: 25, 33: $Vg, 35: $Vh, 37: $Vi, 38: $Vj, 42: $Vk, 45: $Vl, 48: $Vm, 49: $Vn, 50: $Vo, 51: $Vp, 54: $Vq }, o($Vr, [2, 21])],
137
+ defaultActions: { 5: [2, 1], 6: [2, 2], 46: [2, 46], 47: [2, 47] },
138
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
139
+ if (hash.recoverable) {
140
+ this.trace(str);
141
+ } else {
142
+ var error = new Error(str);
143
+ error.hash = hash;
144
+ throw error;
145
+ }
146
+ }, "parseError"),
147
+ parse: /* @__PURE__ */ __name(function parse(input) {
148
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
149
+ var args = lstack.slice.call(arguments, 1);
150
+ var lexer2 = Object.create(this.lexer);
151
+ var sharedState = { yy: {} };
152
+ for (var k in this.yy) {
153
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
154
+ sharedState.yy[k] = this.yy[k];
155
+ }
156
+ }
157
+ lexer2.setInput(input, sharedState.yy);
158
+ sharedState.yy.lexer = lexer2;
159
+ sharedState.yy.parser = this;
160
+ if (typeof lexer2.yylloc == "undefined") {
161
+ lexer2.yylloc = {};
162
+ }
163
+ var yyloc = lexer2.yylloc;
164
+ lstack.push(yyloc);
165
+ var ranges = lexer2.options && lexer2.options.ranges;
166
+ if (typeof sharedState.yy.parseError === "function") {
167
+ this.parseError = sharedState.yy.parseError;
168
+ } else {
169
+ this.parseError = Object.getPrototypeOf(this).parseError;
170
+ }
171
+ function popStack(n) {
172
+ stack.length = stack.length - 2 * n;
173
+ vstack.length = vstack.length - n;
174
+ lstack.length = lstack.length - n;
175
+ }
176
+ __name(popStack, "popStack");
177
+ function lex() {
178
+ var token;
179
+ token = tstack.pop() || lexer2.lex() || EOF;
180
+ if (typeof token !== "number") {
181
+ if (token instanceof Array) {
182
+ tstack = token;
183
+ token = tstack.pop();
184
+ }
185
+ token = self.symbols_[token] || token;
186
+ }
187
+ return token;
188
+ }
189
+ __name(lex, "lex");
190
+ var symbol, state, action, r, yyval = {}, p, len, newState, expected;
191
+ while (true) {
192
+ state = stack[stack.length - 1];
193
+ if (this.defaultActions[state]) {
194
+ action = this.defaultActions[state];
195
+ } else {
196
+ if (symbol === null || typeof symbol == "undefined") {
197
+ symbol = lex();
198
+ }
199
+ action = table[state] && table[state][symbol];
200
+ }
201
+ if (typeof action === "undefined" || !action.length || !action[0]) {
202
+ var errStr = "";
203
+ expected = [];
204
+ for (p in table[state]) {
205
+ if (this.terminals_[p] && p > TERROR) {
206
+ expected.push("'" + this.terminals_[p] + "'");
207
+ }
208
+ }
209
+ if (lexer2.showPosition) {
210
+ errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
211
+ } else {
212
+ errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
213
+ }
214
+ this.parseError(errStr, {
215
+ text: lexer2.match,
216
+ token: this.terminals_[symbol] || symbol,
217
+ line: lexer2.yylineno,
218
+ loc: yyloc,
219
+ expected
220
+ });
221
+ }
222
+ if (action[0] instanceof Array && action.length > 1) {
223
+ throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
224
+ }
225
+ switch (action[0]) {
226
+ case 1:
227
+ stack.push(symbol);
228
+ vstack.push(lexer2.yytext);
229
+ lstack.push(lexer2.yylloc);
230
+ stack.push(action[1]);
231
+ symbol = null;
232
+ {
233
+ yyleng = lexer2.yyleng;
234
+ yytext = lexer2.yytext;
235
+ yylineno = lexer2.yylineno;
236
+ yyloc = lexer2.yylloc;
237
+ }
238
+ break;
239
+ case 2:
240
+ len = this.productions_[action[1]][1];
241
+ yyval.$ = vstack[vstack.length - len];
242
+ yyval._$ = {
243
+ first_line: lstack[lstack.length - (len || 1)].first_line,
244
+ last_line: lstack[lstack.length - 1].last_line,
245
+ first_column: lstack[lstack.length - (len || 1)].first_column,
246
+ last_column: lstack[lstack.length - 1].last_column
247
+ };
248
+ if (ranges) {
249
+ yyval._$.range = [
250
+ lstack[lstack.length - (len || 1)].range[0],
251
+ lstack[lstack.length - 1].range[1]
252
+ ];
253
+ }
254
+ r = this.performAction.apply(yyval, [
255
+ yytext,
256
+ yyleng,
257
+ yylineno,
258
+ sharedState.yy,
259
+ action[1],
260
+ vstack,
261
+ lstack
262
+ ].concat(args));
263
+ if (typeof r !== "undefined") {
264
+ return r;
265
+ }
266
+ if (len) {
267
+ stack = stack.slice(0, -1 * len * 2);
268
+ vstack = vstack.slice(0, -1 * len);
269
+ lstack = lstack.slice(0, -1 * len);
270
+ }
271
+ stack.push(this.productions_[action[1]][0]);
272
+ vstack.push(yyval.$);
273
+ lstack.push(yyval._$);
274
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
275
+ stack.push(newState);
276
+ break;
277
+ case 3:
278
+ return true;
279
+ }
280
+ }
281
+ return true;
282
+ }, "parse")
283
+ };
284
+ var lexer = /* @__PURE__ */ function() {
285
+ var lexer2 = {
286
+ EOF: 1,
287
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
288
+ if (this.yy.parser) {
289
+ this.yy.parser.parseError(str, hash);
290
+ } else {
291
+ throw new Error(str);
292
+ }
293
+ }, "parseError"),
294
+ // resets the lexer, sets new input
295
+ setInput: /* @__PURE__ */ __name(function(input, yy) {
296
+ this.yy = yy || this.yy || {};
297
+ this._input = input;
298
+ this._more = this._backtrack = this.done = false;
299
+ this.yylineno = this.yyleng = 0;
300
+ this.yytext = this.matched = this.match = "";
301
+ this.conditionStack = ["INITIAL"];
302
+ this.yylloc = {
303
+ first_line: 1,
304
+ first_column: 0,
305
+ last_line: 1,
306
+ last_column: 0
307
+ };
308
+ if (this.options.ranges) {
309
+ this.yylloc.range = [0, 0];
310
+ }
311
+ this.offset = 0;
312
+ return this;
313
+ }, "setInput"),
314
+ // consumes and returns one char from the input
315
+ input: /* @__PURE__ */ __name(function() {
316
+ var ch = this._input[0];
317
+ this.yytext += ch;
318
+ this.yyleng++;
319
+ this.offset++;
320
+ this.match += ch;
321
+ this.matched += ch;
322
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
323
+ if (lines) {
324
+ this.yylineno++;
325
+ this.yylloc.last_line++;
326
+ } else {
327
+ this.yylloc.last_column++;
328
+ }
329
+ if (this.options.ranges) {
330
+ this.yylloc.range[1]++;
331
+ }
332
+ this._input = this._input.slice(1);
333
+ return ch;
334
+ }, "input"),
335
+ // unshifts one char (or a string) into the input
336
+ unput: /* @__PURE__ */ __name(function(ch) {
337
+ var len = ch.length;
338
+ var lines = ch.split(/(?:\r\n?|\n)/g);
339
+ this._input = ch + this._input;
340
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
341
+ this.offset -= len;
342
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
343
+ this.match = this.match.substr(0, this.match.length - 1);
344
+ this.matched = this.matched.substr(0, this.matched.length - 1);
345
+ if (lines.length - 1) {
346
+ this.yylineno -= lines.length - 1;
347
+ }
348
+ var r = this.yylloc.range;
349
+ this.yylloc = {
350
+ first_line: this.yylloc.first_line,
351
+ last_line: this.yylineno + 1,
352
+ first_column: this.yylloc.first_column,
353
+ last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
354
+ };
355
+ if (this.options.ranges) {
356
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
357
+ }
358
+ this.yyleng = this.yytext.length;
359
+ return this;
360
+ }, "unput"),
361
+ // When called from action, caches matched text and appends it on next action
362
+ more: /* @__PURE__ */ __name(function() {
363
+ this._more = true;
364
+ return this;
365
+ }, "more"),
366
+ // 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.
367
+ reject: /* @__PURE__ */ __name(function() {
368
+ if (this.options.backtrack_lexer) {
369
+ this._backtrack = true;
370
+ } else {
371
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
372
+ text: "",
373
+ token: null,
374
+ line: this.yylineno
375
+ });
376
+ }
377
+ return this;
378
+ }, "reject"),
379
+ // retain first n characters of the match
380
+ less: /* @__PURE__ */ __name(function(n) {
381
+ this.unput(this.match.slice(n));
382
+ }, "less"),
383
+ // displays already matched input, i.e. for error messages
384
+ pastInput: /* @__PURE__ */ __name(function() {
385
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
386
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
387
+ }, "pastInput"),
388
+ // displays upcoming input, i.e. for error messages
389
+ upcomingInput: /* @__PURE__ */ __name(function() {
390
+ var next = this.match;
391
+ if (next.length < 20) {
392
+ next += this._input.substr(0, 20 - next.length);
393
+ }
394
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
395
+ }, "upcomingInput"),
396
+ // displays the character position where the lexing error occurred, i.e. for error messages
397
+ showPosition: /* @__PURE__ */ __name(function() {
398
+ var pre = this.pastInput();
399
+ var c = new Array(pre.length + 1).join("-");
400
+ return pre + this.upcomingInput() + "\n" + c + "^";
401
+ }, "showPosition"),
402
+ // test the lexed token: return FALSE when not a match, otherwise return token
403
+ test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
404
+ var token, lines, backup;
405
+ if (this.options.backtrack_lexer) {
406
+ backup = {
407
+ yylineno: this.yylineno,
408
+ yylloc: {
409
+ first_line: this.yylloc.first_line,
410
+ last_line: this.last_line,
411
+ first_column: this.yylloc.first_column,
412
+ last_column: this.yylloc.last_column
413
+ },
414
+ yytext: this.yytext,
415
+ match: this.match,
416
+ matches: this.matches,
417
+ matched: this.matched,
418
+ yyleng: this.yyleng,
419
+ offset: this.offset,
420
+ _more: this._more,
421
+ _input: this._input,
422
+ yy: this.yy,
423
+ conditionStack: this.conditionStack.slice(0),
424
+ done: this.done
425
+ };
426
+ if (this.options.ranges) {
427
+ backup.yylloc.range = this.yylloc.range.slice(0);
428
+ }
429
+ }
430
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
431
+ if (lines) {
432
+ this.yylineno += lines.length;
433
+ }
434
+ this.yylloc = {
435
+ first_line: this.yylloc.last_line,
436
+ last_line: this.yylineno + 1,
437
+ first_column: this.yylloc.last_column,
438
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
439
+ };
440
+ this.yytext += match[0];
441
+ this.match += match[0];
442
+ this.matches = match;
443
+ this.yyleng = this.yytext.length;
444
+ if (this.options.ranges) {
445
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
446
+ }
447
+ this._more = false;
448
+ this._backtrack = false;
449
+ this._input = this._input.slice(match[0].length);
450
+ this.matched += match[0];
451
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
452
+ if (this.done && this._input) {
453
+ this.done = false;
454
+ }
455
+ if (token) {
456
+ return token;
457
+ } else if (this._backtrack) {
458
+ for (var k in backup) {
459
+ this[k] = backup[k];
460
+ }
461
+ return false;
462
+ }
463
+ return false;
464
+ }, "test_match"),
465
+ // return next match in input
466
+ next: /* @__PURE__ */ __name(function() {
467
+ if (this.done) {
468
+ return this.EOF;
469
+ }
470
+ if (!this._input) {
471
+ this.done = true;
472
+ }
473
+ var token, match, tempMatch, index;
474
+ if (!this._more) {
475
+ this.yytext = "";
476
+ this.match = "";
477
+ }
478
+ var rules = this._currentRules();
479
+ for (var i = 0; i < rules.length; i++) {
480
+ tempMatch = this._input.match(this.rules[rules[i]]);
481
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
482
+ match = tempMatch;
483
+ index = i;
484
+ if (this.options.backtrack_lexer) {
485
+ token = this.test_match(tempMatch, rules[i]);
486
+ if (token !== false) {
487
+ return token;
488
+ } else if (this._backtrack) {
489
+ match = false;
490
+ continue;
491
+ } else {
492
+ return false;
493
+ }
494
+ } else if (!this.options.flex) {
495
+ break;
496
+ }
497
+ }
498
+ }
499
+ if (match) {
500
+ token = this.test_match(match, rules[index]);
501
+ if (token !== false) {
502
+ return token;
503
+ }
504
+ return false;
505
+ }
506
+ if (this._input === "") {
507
+ return this.EOF;
508
+ } else {
509
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
510
+ text: "",
511
+ token: null,
512
+ line: this.yylineno
513
+ });
514
+ }
515
+ }, "next"),
516
+ // return next match that has a token
517
+ lex: /* @__PURE__ */ __name(function lex() {
518
+ var r = this.next();
519
+ if (r) {
520
+ return r;
521
+ } else {
522
+ return this.lex();
523
+ }
524
+ }, "lex"),
525
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
526
+ begin: /* @__PURE__ */ __name(function begin(condition) {
527
+ this.conditionStack.push(condition);
528
+ }, "begin"),
529
+ // pop the previously active lexer condition state off the condition stack
530
+ popState: /* @__PURE__ */ __name(function popState() {
531
+ var n = this.conditionStack.length - 1;
532
+ if (n > 0) {
533
+ return this.conditionStack.pop();
534
+ } else {
535
+ return this.conditionStack[0];
536
+ }
537
+ }, "popState"),
538
+ // produce the lexer rule set which is active for the currently active lexer condition state
539
+ _currentRules: /* @__PURE__ */ __name(function _currentRules() {
540
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
541
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
542
+ } else {
543
+ return this.conditions["INITIAL"].rules;
544
+ }
545
+ }, "_currentRules"),
546
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
547
+ topState: /* @__PURE__ */ __name(function topState(n) {
548
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
549
+ if (n >= 0) {
550
+ return this.conditionStack[n];
551
+ } else {
552
+ return "INITIAL";
553
+ }
554
+ }, "topState"),
555
+ // alias for begin(condition)
556
+ pushState: /* @__PURE__ */ __name(function pushState(condition) {
557
+ this.begin(condition);
558
+ }, "pushState"),
559
+ // return the number of states currently on the stack
560
+ stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
561
+ return this.conditionStack.length;
562
+ }, "stateStackSize"),
563
+ options: { "case-insensitive": true },
564
+ performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
565
+ switch ($avoiding_name_collisions) {
566
+ case 0:
567
+ return 41;
568
+ case 1:
569
+ return 48;
570
+ case 2:
571
+ return 49;
572
+ case 3:
573
+ return 50;
574
+ case 4:
575
+ return 51;
576
+ case 5:
577
+ break;
578
+ case 6:
579
+ break;
580
+ case 7:
581
+ return 5;
582
+ case 8:
583
+ break;
584
+ case 9:
585
+ break;
586
+ case 10:
587
+ break;
588
+ case 11:
589
+ break;
590
+ case 12:
591
+ this.pushState("SCALE");
592
+ return 17;
593
+ case 13:
594
+ return 18;
595
+ case 14:
596
+ this.popState();
597
+ break;
598
+ case 15:
599
+ this.begin("acc_title");
600
+ return 33;
601
+ case 16:
602
+ this.popState();
603
+ return "acc_title_value";
604
+ case 17:
605
+ this.begin("acc_descr");
606
+ return 35;
607
+ case 18:
608
+ this.popState();
609
+ return "acc_descr_value";
610
+ case 19:
611
+ this.begin("acc_descr_multiline");
612
+ break;
613
+ case 20:
614
+ this.popState();
615
+ break;
616
+ case 21:
617
+ return "acc_descr_multiline_value";
618
+ case 22:
619
+ this.pushState("CLASSDEF");
620
+ return 38;
621
+ case 23:
622
+ this.popState();
623
+ this.pushState("CLASSDEFID");
624
+ return "DEFAULT_CLASSDEF_ID";
625
+ case 24:
626
+ this.popState();
627
+ this.pushState("CLASSDEFID");
628
+ return 39;
629
+ case 25:
630
+ this.popState();
631
+ return 40;
632
+ case 26:
633
+ this.pushState("CLASS");
634
+ return 45;
635
+ case 27:
636
+ this.popState();
637
+ this.pushState("CLASS_STYLE");
638
+ return 46;
639
+ case 28:
640
+ this.popState();
641
+ return 47;
642
+ case 29:
643
+ this.pushState("STYLE");
644
+ return 42;
645
+ case 30:
646
+ this.popState();
647
+ this.pushState("STYLEDEF_STYLES");
648
+ return 43;
649
+ case 31:
650
+ this.popState();
651
+ return 44;
652
+ case 32:
653
+ this.pushState("SCALE");
654
+ return 17;
655
+ case 33:
656
+ return 18;
657
+ case 34:
658
+ this.popState();
659
+ break;
660
+ case 35:
661
+ this.pushState("STATE");
662
+ break;
663
+ case 36:
664
+ this.popState();
665
+ yy_.yytext = yy_.yytext.slice(0, -8).trim();
666
+ return 25;
667
+ case 37:
668
+ this.popState();
669
+ yy_.yytext = yy_.yytext.slice(0, -8).trim();
670
+ return 26;
671
+ case 38:
672
+ this.popState();
673
+ yy_.yytext = yy_.yytext.slice(0, -10).trim();
674
+ return 27;
675
+ case 39:
676
+ this.popState();
677
+ yy_.yytext = yy_.yytext.slice(0, -8).trim();
678
+ return 25;
679
+ case 40:
680
+ this.popState();
681
+ yy_.yytext = yy_.yytext.slice(0, -8).trim();
682
+ return 26;
683
+ case 41:
684
+ this.popState();
685
+ yy_.yytext = yy_.yytext.slice(0, -10).trim();
686
+ return 27;
687
+ case 42:
688
+ return 48;
689
+ case 43:
690
+ return 49;
691
+ case 44:
692
+ return 50;
693
+ case 45:
694
+ return 51;
695
+ case 46:
696
+ this.pushState("STATE_STRING");
697
+ break;
698
+ case 47:
699
+ this.pushState("STATE_ID");
700
+ return "AS";
701
+ case 48:
702
+ this.popState();
703
+ return "ID";
704
+ case 49:
705
+ this.popState();
706
+ break;
707
+ case 50:
708
+ return "STATE_DESCR";
709
+ case 51:
710
+ return 19;
711
+ case 52:
712
+ this.popState();
713
+ break;
714
+ case 53:
715
+ this.popState();
716
+ this.pushState("struct");
717
+ return 20;
718
+ case 54:
719
+ break;
720
+ case 55:
721
+ this.popState();
722
+ return 21;
723
+ case 56:
724
+ break;
725
+ case 57:
726
+ this.begin("NOTE");
727
+ return 29;
728
+ case 58:
729
+ this.popState();
730
+ this.pushState("NOTE_ID");
731
+ return 56;
732
+ case 59:
733
+ this.popState();
734
+ this.pushState("NOTE_ID");
735
+ return 57;
736
+ case 60:
737
+ this.popState();
738
+ this.pushState("FLOATING_NOTE");
739
+ break;
740
+ case 61:
741
+ this.popState();
742
+ this.pushState("FLOATING_NOTE_ID");
743
+ return "AS";
744
+ case 62:
745
+ break;
746
+ case 63:
747
+ return "NOTE_TEXT";
748
+ case 64:
749
+ this.popState();
750
+ return "ID";
751
+ case 65:
752
+ this.popState();
753
+ this.pushState("NOTE_TEXT");
754
+ return 24;
755
+ case 66:
756
+ this.popState();
757
+ yy_.yytext = yy_.yytext.substr(2).trim();
758
+ return 31;
759
+ case 67:
760
+ this.popState();
761
+ yy_.yytext = yy_.yytext.slice(0, -8).trim();
762
+ return 31;
763
+ case 68:
764
+ return 6;
765
+ case 69:
766
+ return 6;
767
+ case 70:
768
+ return 16;
769
+ case 71:
770
+ return 54;
771
+ case 72:
772
+ return 24;
773
+ case 73:
774
+ yy_.yytext = yy_.yytext.trim();
775
+ return 14;
776
+ case 74:
777
+ return 15;
778
+ case 75:
779
+ return 28;
780
+ case 76:
781
+ return 55;
782
+ case 77:
783
+ return 5;
784
+ case 78:
785
+ return "INVALID";
786
+ }
787
+ }, "anonymous"),
788
+ rules: [/^(?:default\b)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:[\s]+)/i, /^(?:((?!\n)\s)+)/i, /^(?:#[^\n]*)/i, /^(?:%[^\n]*)/i, /^(?:scale\s+)/i, /^(?:\d+)/i, /^(?:\s+width\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:classDef\s+)/i, /^(?:DEFAULT\s+)/i, /^(?:\w+\s+)/i, /^(?:[^\n]*)/i, /^(?:class\s+)/i, /^(?:(\w+)+((,\s*\w+)*))/i, /^(?:[^\n]*)/i, /^(?:style\s+)/i, /^(?:[\w,]+\s+)/i, /^(?:[^\n]*)/i, /^(?:scale\s+)/i, /^(?:\d+)/i, /^(?:\s+width\b)/i, /^(?:state\s+)/i, /^(?:.*<<fork>>)/i, /^(?:.*<<join>>)/i, /^(?:.*<<choice>>)/i, /^(?:.*\[\[fork\]\])/i, /^(?:.*\[\[join\]\])/i, /^(?:.*\[\[choice\]\])/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:["])/i, /^(?:\s*as\s+)/i, /^(?:[^\n\{]*)/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[^\n\s\{]+)/i, /^(?:\n)/i, /^(?:\{)/i, /^(?:%%(?!\{)[^\n]*)/i, /^(?:\})/i, /^(?:[\n])/i, /^(?:note\s+)/i, /^(?:left of\b)/i, /^(?:right of\b)/i, /^(?:")/i, /^(?:\s*as\s*)/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[^\n]*)/i, /^(?:\s*[^:\n\s\-]+)/i, /^(?:\s*:[^:\n;]+)/i, /^(?:[\s\S]*?end note\b)/i, /^(?:stateDiagram\s+)/i, /^(?:stateDiagram-v2\s+)/i, /^(?:hide empty description\b)/i, /^(?:\[\*\])/i, /^(?:[^:\n\s\-\{]+)/i, /^(?:\s*:[^:\n;]+)/i, /^(?:-->)/i, /^(?:--)/i, /^(?::::)/i, /^(?:$)/i, /^(?:.)/i],
789
+ conditions: { "LINE": { "rules": [9, 10], "inclusive": false }, "struct": { "rules": [9, 10, 22, 26, 29, 35, 42, 43, 44, 45, 54, 55, 56, 57, 71, 72, 73, 74, 75], "inclusive": false }, "FLOATING_NOTE_ID": { "rules": [64], "inclusive": false }, "FLOATING_NOTE": { "rules": [61, 62, 63], "inclusive": false }, "NOTE_TEXT": { "rules": [66, 67], "inclusive": false }, "NOTE_ID": { "rules": [65], "inclusive": false }, "NOTE": { "rules": [58, 59, 60], "inclusive": false }, "STYLEDEF_STYLEOPTS": { "rules": [], "inclusive": false }, "STYLEDEF_STYLES": { "rules": [31], "inclusive": false }, "STYLE_IDS": { "rules": [], "inclusive": false }, "STYLE": { "rules": [30], "inclusive": false }, "CLASS_STYLE": { "rules": [28], "inclusive": false }, "CLASS": { "rules": [27], "inclusive": false }, "CLASSDEFID": { "rules": [25], "inclusive": false }, "CLASSDEF": { "rules": [23, 24], "inclusive": false }, "acc_descr_multiline": { "rules": [20, 21], "inclusive": false }, "acc_descr": { "rules": [18], "inclusive": false }, "acc_title": { "rules": [16], "inclusive": false }, "SCALE": { "rules": [13, 14, 33, 34], "inclusive": false }, "ALIAS": { "rules": [], "inclusive": false }, "STATE_ID": { "rules": [48], "inclusive": false }, "STATE_STRING": { "rules": [49, 50], "inclusive": false }, "FORK_STATE": { "rules": [], "inclusive": false }, "STATE": { "rules": [9, 10, 36, 37, 38, 39, 40, 41, 46, 47, 51, 52, 53], "inclusive": false }, "ID": { "rules": [9, 10], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 15, 17, 19, 22, 26, 29, 32, 35, 53, 57, 68, 69, 70, 71, 72, 73, 74, 76, 77, 78], "inclusive": true } }
790
+ };
791
+ return lexer2;
792
+ }();
793
+ parser2.lexer = lexer;
794
+ function Parser() {
795
+ this.yy = {};
796
+ }
797
+ __name(Parser, "Parser");
798
+ Parser.prototype = parser2;
799
+ parser2.Parser = Parser;
800
+ return new Parser();
801
+ }();
802
+ parser.parser = parser;
803
+ var stateDiagram_default = parser;
804
+ var DEFAULT_DIAGRAM_DIRECTION = "TB";
805
+ var DEFAULT_NESTED_DOC_DIR = "TB";
806
+ var STMT_DIRECTION = "dir";
807
+ var STMT_STATE = "state";
808
+ var STMT_RELATION = "relation";
809
+ var STMT_CLASSDEF = "classDef";
810
+ var STMT_STYLEDEF = "style";
811
+ var STMT_APPLYCLASS = "applyClass";
812
+ var DEFAULT_STATE_TYPE = "default";
813
+ var DIVIDER_TYPE = "divider";
814
+ var G_EDGE_STYLE = "fill:none";
815
+ var G_EDGE_ARROWHEADSTYLE = "fill: #333";
816
+ var G_EDGE_LABELPOS = "c";
817
+ var G_EDGE_LABELTYPE = "text";
818
+ var G_EDGE_THICKNESS = "normal";
819
+ var SHAPE_STATE = "rect";
820
+ var SHAPE_STATE_WITH_DESC = "rectWithTitle";
821
+ var SHAPE_START = "stateStart";
822
+ var SHAPE_END = "stateEnd";
823
+ var SHAPE_DIVIDER = "divider";
824
+ var SHAPE_GROUP = "roundedWithTitle";
825
+ var SHAPE_NOTE = "note";
826
+ var SHAPE_NOTEGROUP = "noteGroup";
827
+ var CSS_DIAGRAM = "statediagram";
828
+ var CSS_STATE = "state";
829
+ var CSS_DIAGRAM_STATE = `${CSS_DIAGRAM}-${CSS_STATE}`;
830
+ var CSS_EDGE = "transition";
831
+ var CSS_NOTE = "note";
832
+ var CSS_NOTE_EDGE = "note-edge";
833
+ var CSS_EDGE_NOTE_EDGE = `${CSS_EDGE} ${CSS_NOTE_EDGE}`;
834
+ var CSS_DIAGRAM_NOTE = `${CSS_DIAGRAM}-${CSS_NOTE}`;
835
+ var CSS_CLUSTER = "cluster";
836
+ var CSS_DIAGRAM_CLUSTER = `${CSS_DIAGRAM}-${CSS_CLUSTER}`;
837
+ var CSS_CLUSTER_ALT = "cluster-alt";
838
+ var CSS_DIAGRAM_CLUSTER_ALT = `${CSS_DIAGRAM}-${CSS_CLUSTER_ALT}`;
839
+ var PARENT = "parent";
840
+ var NOTE = "note";
841
+ var DOMID_STATE = "state";
842
+ var DOMID_TYPE_SPACER = "----";
843
+ var NOTE_ID = `${DOMID_TYPE_SPACER}${NOTE}`;
844
+ var PARENT_ID = `${DOMID_TYPE_SPACER}${PARENT}`;
845
+ var getDir = /* @__PURE__ */ __name((parsedItem, defaultDir = DEFAULT_NESTED_DOC_DIR) => {
846
+ if (!parsedItem.doc) {
847
+ return defaultDir;
848
+ }
849
+ let dir = defaultDir;
850
+ for (const parsedItemDoc of parsedItem.doc) {
851
+ if (parsedItemDoc.stmt === "dir") {
852
+ dir = parsedItemDoc.value;
853
+ }
854
+ }
855
+ return dir;
856
+ }, "getDir");
857
+ var getClasses = /* @__PURE__ */ __name(function(text, diagramObj) {
858
+ return diagramObj.db.getClasses();
859
+ }, "getClasses");
860
+ var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
861
+ log.info("REF0:");
862
+ log.info("Drawing state diagram (v2)", id);
863
+ const { securityLevel, state: conf, layout } = getConfig2();
864
+ diag.db.extract(diag.db.getRootDocV2());
865
+ const data4Layout = diag.db.getData();
866
+ const svg = getDiagramElement(id, securityLevel);
867
+ data4Layout.type = diag.type;
868
+ data4Layout.layoutAlgorithm = layout;
869
+ data4Layout.nodeSpacing = (conf == null ? void 0 : conf.nodeSpacing) || 50;
870
+ data4Layout.rankSpacing = (conf == null ? void 0 : conf.rankSpacing) || 50;
871
+ data4Layout.markers = ["barb"];
872
+ data4Layout.diagramId = id;
873
+ await render(data4Layout, svg);
874
+ const padding = 8;
875
+ utils_default.insertTitle(
876
+ svg,
877
+ "statediagramTitleText",
878
+ (conf == null ? void 0 : conf.titleTopMargin) ?? 25,
879
+ diag.db.getDiagramTitle()
880
+ );
881
+ setupViewPortForSVG(svg, padding, CSS_DIAGRAM, (conf == null ? void 0 : conf.useMaxWidth) ?? true);
882
+ }, "draw");
883
+ var stateRenderer_v3_unified_default = {
884
+ getClasses,
885
+ draw,
886
+ getDir
887
+ };
888
+ var nodeDb = /* @__PURE__ */ new Map();
889
+ var graphItemCount = 0;
890
+ function stateDomId(itemId = "", counter = 0, type = "", typeSpacer = DOMID_TYPE_SPACER) {
891
+ const typeStr = type !== null && type.length > 0 ? `${typeSpacer}${type}` : "";
892
+ return `${DOMID_STATE}-${itemId}${typeStr}-${counter}`;
893
+ }
894
+ __name(stateDomId, "stateDomId");
895
+ var setupDoc = /* @__PURE__ */ __name((parentParsedItem, doc, diagramStates, nodes, edges, altFlag, look, classes) => {
896
+ log.trace("items", doc);
897
+ doc.forEach((item) => {
898
+ switch (item.stmt) {
899
+ case STMT_STATE:
900
+ dataFetcher(parentParsedItem, item, diagramStates, nodes, edges, altFlag, look, classes);
901
+ break;
902
+ case DEFAULT_STATE_TYPE:
903
+ dataFetcher(parentParsedItem, item, diagramStates, nodes, edges, altFlag, look, classes);
904
+ break;
905
+ case STMT_RELATION:
906
+ {
907
+ dataFetcher(
908
+ parentParsedItem,
909
+ item.state1,
910
+ diagramStates,
911
+ nodes,
912
+ edges,
913
+ altFlag,
914
+ look,
915
+ classes
916
+ );
917
+ dataFetcher(
918
+ parentParsedItem,
919
+ item.state2,
920
+ diagramStates,
921
+ nodes,
922
+ edges,
923
+ altFlag,
924
+ look,
925
+ classes
926
+ );
927
+ const edgeData = {
928
+ id: "edge" + graphItemCount,
929
+ start: item.state1.id,
930
+ end: item.state2.id,
931
+ arrowhead: "normal",
932
+ arrowTypeEnd: "arrow_barb",
933
+ style: G_EDGE_STYLE,
934
+ labelStyle: "",
935
+ label: common_default.sanitizeText(item.description, getConfig2()),
936
+ arrowheadStyle: G_EDGE_ARROWHEADSTYLE,
937
+ labelpos: G_EDGE_LABELPOS,
938
+ labelType: G_EDGE_LABELTYPE,
939
+ thickness: G_EDGE_THICKNESS,
940
+ classes: CSS_EDGE,
941
+ look
942
+ };
943
+ edges.push(edgeData);
944
+ graphItemCount++;
945
+ }
946
+ break;
947
+ }
948
+ });
949
+ }, "setupDoc");
950
+ var getDir2 = /* @__PURE__ */ __name((parsedItem, defaultDir = DEFAULT_NESTED_DOC_DIR) => {
951
+ let dir = defaultDir;
952
+ if (parsedItem.doc) {
953
+ for (const parsedItemDoc of parsedItem.doc) {
954
+ if (parsedItemDoc.stmt === "dir") {
955
+ dir = parsedItemDoc.value;
956
+ }
957
+ }
958
+ }
959
+ return dir;
960
+ }, "getDir");
961
+ function insertOrUpdateNode(nodes, nodeData, classes) {
962
+ if (!nodeData.id || nodeData.id === "</join></fork>" || nodeData.id === "</choice>") {
963
+ return;
964
+ }
965
+ if (nodeData.cssClasses) {
966
+ if (!Array.isArray(nodeData.cssCompiledStyles)) {
967
+ nodeData.cssCompiledStyles = [];
968
+ }
969
+ nodeData.cssClasses.split(" ").forEach((cssClass) => {
970
+ if (classes.get(cssClass)) {
971
+ const classDef = classes.get(cssClass);
972
+ nodeData.cssCompiledStyles = [...nodeData.cssCompiledStyles, ...classDef.styles];
973
+ }
974
+ });
975
+ }
976
+ const existingNodeData = nodes.find((node) => node.id === nodeData.id);
977
+ if (existingNodeData) {
978
+ Object.assign(existingNodeData, nodeData);
979
+ } else {
980
+ nodes.push(nodeData);
981
+ }
982
+ }
983
+ __name(insertOrUpdateNode, "insertOrUpdateNode");
984
+ function getClassesFromDbInfo(dbInfoItem) {
985
+ var _a2;
986
+ return ((_a2 = dbInfoItem == null ? void 0 : dbInfoItem.classes) == null ? void 0 : _a2.join(" ")) ?? "";
987
+ }
988
+ __name(getClassesFromDbInfo, "getClassesFromDbInfo");
989
+ function getStylesFromDbInfo(dbInfoItem) {
990
+ return (dbInfoItem == null ? void 0 : dbInfoItem.styles) ?? [];
991
+ }
992
+ __name(getStylesFromDbInfo, "getStylesFromDbInfo");
993
+ var dataFetcher = /* @__PURE__ */ __name((parent, parsedItem, diagramStates, nodes, edges, altFlag, look, classes) => {
994
+ var _a2, _b;
995
+ const itemId = parsedItem.id;
996
+ const dbState = diagramStates.get(itemId);
997
+ const classStr = getClassesFromDbInfo(dbState);
998
+ const style = getStylesFromDbInfo(dbState);
999
+ log.info("dataFetcher parsedItem", parsedItem, dbState, style);
1000
+ if (itemId !== "root") {
1001
+ let shape = SHAPE_STATE;
1002
+ if (parsedItem.start === true) {
1003
+ shape = SHAPE_START;
1004
+ } else if (parsedItem.start === false) {
1005
+ shape = SHAPE_END;
1006
+ }
1007
+ if (parsedItem.type !== DEFAULT_STATE_TYPE) {
1008
+ shape = parsedItem.type;
1009
+ }
1010
+ if (!nodeDb.get(itemId)) {
1011
+ nodeDb.set(itemId, {
1012
+ id: itemId,
1013
+ shape,
1014
+ description: common_default.sanitizeText(itemId, getConfig2()),
1015
+ cssClasses: `${classStr} ${CSS_DIAGRAM_STATE}`,
1016
+ cssStyles: style
1017
+ });
1018
+ }
1019
+ const newNode = nodeDb.get(itemId);
1020
+ if (parsedItem.description) {
1021
+ if (Array.isArray(newNode.description)) {
1022
+ newNode.shape = SHAPE_STATE_WITH_DESC;
1023
+ newNode.description.push(parsedItem.description);
1024
+ } else {
1025
+ if (((_a2 = newNode.description) == null ? void 0 : _a2.length) > 0) {
1026
+ newNode.shape = SHAPE_STATE_WITH_DESC;
1027
+ if (newNode.description === itemId) {
1028
+ newNode.description = [parsedItem.description];
1029
+ } else {
1030
+ newNode.description = [newNode.description, parsedItem.description];
1031
+ }
1032
+ } else {
1033
+ newNode.shape = SHAPE_STATE;
1034
+ newNode.description = parsedItem.description;
1035
+ }
1036
+ }
1037
+ newNode.description = common_default.sanitizeTextOrArray(newNode.description, getConfig2());
1038
+ }
1039
+ if (((_b = newNode.description) == null ? void 0 : _b.length) === 1 && newNode.shape === SHAPE_STATE_WITH_DESC) {
1040
+ if (newNode.type === "group") {
1041
+ newNode.shape = SHAPE_GROUP;
1042
+ } else {
1043
+ newNode.shape = SHAPE_STATE;
1044
+ }
1045
+ }
1046
+ if (!newNode.type && parsedItem.doc) {
1047
+ log.info("Setting cluster for XCX", itemId, getDir2(parsedItem));
1048
+ newNode.type = "group";
1049
+ newNode.isGroup = true;
1050
+ newNode.dir = getDir2(parsedItem);
1051
+ newNode.shape = parsedItem.type === DIVIDER_TYPE ? SHAPE_DIVIDER : SHAPE_GROUP;
1052
+ newNode.cssClasses = `${newNode.cssClasses} ${CSS_DIAGRAM_CLUSTER} ${altFlag ? CSS_DIAGRAM_CLUSTER_ALT : ""}`;
1053
+ }
1054
+ const nodeData = {
1055
+ labelStyle: "",
1056
+ shape: newNode.shape,
1057
+ label: newNode.description,
1058
+ cssClasses: newNode.cssClasses,
1059
+ cssCompiledStyles: [],
1060
+ cssStyles: newNode.cssStyles,
1061
+ id: itemId,
1062
+ dir: newNode.dir,
1063
+ domId: stateDomId(itemId, graphItemCount),
1064
+ type: newNode.type,
1065
+ isGroup: newNode.type === "group",
1066
+ padding: 8,
1067
+ rx: 10,
1068
+ ry: 10,
1069
+ look
1070
+ };
1071
+ if (nodeData.shape === SHAPE_DIVIDER) {
1072
+ nodeData.label = "";
1073
+ }
1074
+ if (parent && parent.id !== "root") {
1075
+ log.trace("Setting node ", itemId, " to be child of its parent ", parent.id);
1076
+ nodeData.parentId = parent.id;
1077
+ }
1078
+ nodeData.centerLabel = true;
1079
+ if (parsedItem.note) {
1080
+ const noteData = {
1081
+ labelStyle: "",
1082
+ shape: SHAPE_NOTE,
1083
+ label: parsedItem.note.text,
1084
+ cssClasses: CSS_DIAGRAM_NOTE,
1085
+ // useHtmlLabels: false,
1086
+ cssStyles: [],
1087
+ cssCompilesStyles: [],
1088
+ id: itemId + NOTE_ID + "-" + graphItemCount,
1089
+ domId: stateDomId(itemId, graphItemCount, NOTE),
1090
+ type: newNode.type,
1091
+ isGroup: newNode.type === "group",
1092
+ padding: getConfig2().flowchart.padding,
1093
+ look,
1094
+ position: parsedItem.note.position
1095
+ };
1096
+ const parentNodeId = itemId + PARENT_ID;
1097
+ const groupData = {
1098
+ labelStyle: "",
1099
+ shape: SHAPE_NOTEGROUP,
1100
+ label: parsedItem.note.text,
1101
+ cssClasses: newNode.cssClasses,
1102
+ cssStyles: [],
1103
+ id: itemId + PARENT_ID,
1104
+ domId: stateDomId(itemId, graphItemCount, PARENT),
1105
+ type: "group",
1106
+ isGroup: true,
1107
+ padding: 16,
1108
+ //getConfig().flowchart.padding
1109
+ look,
1110
+ position: parsedItem.note.position
1111
+ };
1112
+ graphItemCount++;
1113
+ groupData.id = parentNodeId;
1114
+ noteData.parentId = parentNodeId;
1115
+ insertOrUpdateNode(nodes, groupData, classes);
1116
+ insertOrUpdateNode(nodes, noteData, classes);
1117
+ insertOrUpdateNode(nodes, nodeData, classes);
1118
+ let from = itemId;
1119
+ let to = noteData.id;
1120
+ if (parsedItem.note.position === "left of") {
1121
+ from = noteData.id;
1122
+ to = itemId;
1123
+ }
1124
+ edges.push({
1125
+ id: from + "-" + to,
1126
+ start: from,
1127
+ end: to,
1128
+ arrowhead: "none",
1129
+ arrowTypeEnd: "",
1130
+ style: G_EDGE_STYLE,
1131
+ labelStyle: "",
1132
+ classes: CSS_EDGE_NOTE_EDGE,
1133
+ arrowheadStyle: G_EDGE_ARROWHEADSTYLE,
1134
+ labelpos: G_EDGE_LABELPOS,
1135
+ labelType: G_EDGE_LABELTYPE,
1136
+ thickness: G_EDGE_THICKNESS,
1137
+ look
1138
+ });
1139
+ } else {
1140
+ insertOrUpdateNode(nodes, nodeData, classes);
1141
+ }
1142
+ }
1143
+ if (parsedItem.doc) {
1144
+ log.trace("Adding nodes children ");
1145
+ setupDoc(parsedItem, parsedItem.doc, diagramStates, nodes, edges, !altFlag, look, classes);
1146
+ }
1147
+ }, "dataFetcher");
1148
+ var reset = /* @__PURE__ */ __name(() => {
1149
+ nodeDb.clear();
1150
+ graphItemCount = 0;
1151
+ }, "reset");
1152
+ var START_NODE = "[*]";
1153
+ var START_TYPE = "start";
1154
+ var END_NODE = START_NODE;
1155
+ var END_TYPE = "end";
1156
+ var COLOR_KEYWORD = "color";
1157
+ var FILL_KEYWORD = "fill";
1158
+ var BG_FILL = "bgFill";
1159
+ var STYLECLASS_SEP = ",";
1160
+ function newClassesList() {
1161
+ return /* @__PURE__ */ new Map();
1162
+ }
1163
+ __name(newClassesList, "newClassesList");
1164
+ var newDoc = /* @__PURE__ */ __name(() => {
1165
+ return {
1166
+ /** @type {{ id1: string, id2: string, relationTitle: string }[]} */
1167
+ relations: [],
1168
+ states: /* @__PURE__ */ new Map(),
1169
+ documents: {}
1170
+ };
1171
+ }, "newDoc");
1172
+ var clone = /* @__PURE__ */ __name((o) => JSON.parse(JSON.stringify(o)), "clone");
1173
+ var StateDB = (_a = class {
1174
+ /**
1175
+ * @param {1 | 2} version - v1 renderer or v2 renderer.
1176
+ */
1177
+ constructor(version) {
1178
+ /**
1179
+ * @private
1180
+ * @type {1 | 2}
1181
+ */
1182
+ __publicField(this, "version");
1183
+ /**
1184
+ * @private
1185
+ * @type {Array}
1186
+ */
1187
+ __publicField(this, "nodes", []);
1188
+ /**
1189
+ * @private
1190
+ * @type {Array}
1191
+ */
1192
+ __publicField(this, "edges", []);
1193
+ /**
1194
+ * @private
1195
+ * @type {Array}
1196
+ */
1197
+ __publicField(this, "rootDoc", []);
1198
+ /**
1199
+ * @private
1200
+ * @type {Map<string, any>}
1201
+ */
1202
+ __publicField(this, "classes", newClassesList());
1203
+ // style classes defined by a classDef
1204
+ /**
1205
+ * @private
1206
+ * @type {Object}
1207
+ */
1208
+ __publicField(this, "documents", {
1209
+ root: newDoc()
1210
+ });
1211
+ /**
1212
+ * @private
1213
+ * @type {Object}
1214
+ */
1215
+ __publicField(this, "currentDocument", this.documents.root);
1216
+ /**
1217
+ * @private
1218
+ * @type {number}
1219
+ */
1220
+ __publicField(this, "startEndCount", 0);
1221
+ /**
1222
+ * @private
1223
+ * @type {number}
1224
+ */
1225
+ __publicField(this, "dividerCnt", 0);
1226
+ __publicField(this, "getAccTitle", getAccTitle);
1227
+ __publicField(this, "setAccTitle", setAccTitle);
1228
+ __publicField(this, "getAccDescription", getAccDescription);
1229
+ __publicField(this, "setAccDescription", setAccDescription);
1230
+ __publicField(this, "setDiagramTitle", setDiagramTitle);
1231
+ __publicField(this, "getDiagramTitle", getDiagramTitle);
1232
+ this.clear();
1233
+ this.version = version;
1234
+ this.setRootDoc = this.setRootDoc.bind(this);
1235
+ this.getDividerId = this.getDividerId.bind(this);
1236
+ this.setDirection = this.setDirection.bind(this);
1237
+ this.trimColon = this.trimColon.bind(this);
1238
+ }
1239
+ setRootDoc(o) {
1240
+ log.info("Setting root doc", o);
1241
+ this.rootDoc = o;
1242
+ if (this.version === 1) {
1243
+ this.extract(o);
1244
+ } else {
1245
+ this.extract(this.getRootDocV2());
1246
+ }
1247
+ }
1248
+ getRootDoc() {
1249
+ return this.rootDoc;
1250
+ }
1251
+ /**
1252
+ * @private
1253
+ * @param {Object} parent
1254
+ * @param {Object} node
1255
+ * @param {boolean} first
1256
+ */
1257
+ docTranslator(parent, node, first) {
1258
+ if (node.stmt === STMT_RELATION) {
1259
+ this.docTranslator(parent, node.state1, true);
1260
+ this.docTranslator(parent, node.state2, false);
1261
+ } else {
1262
+ if (node.stmt === STMT_STATE) {
1263
+ if (node.id === "[*]") {
1264
+ node.id = first ? parent.id + "_start" : parent.id + "_end";
1265
+ node.start = first;
1266
+ } else {
1267
+ node.id = node.id.trim();
1268
+ }
1269
+ }
1270
+ if (node.doc) {
1271
+ const doc = [];
1272
+ let currentDoc = [];
1273
+ let i;
1274
+ for (i = 0; i < node.doc.length; i++) {
1275
+ if (node.doc[i].type === DIVIDER_TYPE) {
1276
+ const newNode = clone(node.doc[i]);
1277
+ newNode.doc = clone(currentDoc);
1278
+ doc.push(newNode);
1279
+ currentDoc = [];
1280
+ } else {
1281
+ currentDoc.push(node.doc[i]);
1282
+ }
1283
+ }
1284
+ if (doc.length > 0 && currentDoc.length > 0) {
1285
+ const newNode = {
1286
+ stmt: STMT_STATE,
1287
+ id: generateId(),
1288
+ type: "divider",
1289
+ doc: clone(currentDoc)
1290
+ };
1291
+ doc.push(clone(newNode));
1292
+ node.doc = doc;
1293
+ }
1294
+ node.doc.forEach((docNode) => this.docTranslator(node, docNode, true));
1295
+ }
1296
+ }
1297
+ }
1298
+ /**
1299
+ * @private
1300
+ */
1301
+ getRootDocV2() {
1302
+ this.docTranslator({ id: "root" }, { id: "root", doc: this.rootDoc }, true);
1303
+ return { id: "root", doc: this.rootDoc };
1304
+ }
1305
+ /**
1306
+ * Convert all of the statements (stmts) that were parsed into states and relationships.
1307
+ * This is done because a state diagram may have nested sections,
1308
+ * where each section is a 'document' and has its own set of statements.
1309
+ * Ex: the section within a fork has its own statements, and incoming and outgoing statements
1310
+ * refer to the fork as a whole (document).
1311
+ * See the parser grammar: the definition of a document is a document then a 'line', where a line can be a statement.
1312
+ * This will push the statement into the list of statements for the current document.
1313
+ * @private
1314
+ * @param _doc
1315
+ */
1316
+ extract(_doc) {
1317
+ let doc;
1318
+ if (_doc.doc) {
1319
+ doc = _doc.doc;
1320
+ } else {
1321
+ doc = _doc;
1322
+ }
1323
+ log.info(doc);
1324
+ this.clear(true);
1325
+ log.info("Extract initial document:", doc);
1326
+ doc.forEach((item) => {
1327
+ log.warn("Statement", item.stmt);
1328
+ switch (item.stmt) {
1329
+ case STMT_STATE:
1330
+ this.addState(
1331
+ item.id.trim(),
1332
+ item.type,
1333
+ item.doc,
1334
+ item.description,
1335
+ item.note,
1336
+ item.classes,
1337
+ item.styles,
1338
+ item.textStyles
1339
+ );
1340
+ break;
1341
+ case STMT_RELATION:
1342
+ this.addRelation(item.state1, item.state2, item.description);
1343
+ break;
1344
+ case STMT_CLASSDEF:
1345
+ this.addStyleClass(item.id.trim(), item.classes);
1346
+ break;
1347
+ case STMT_STYLEDEF:
1348
+ {
1349
+ const ids = item.id.trim().split(",");
1350
+ const styles = item.styleClass.split(",");
1351
+ ids.forEach((id) => {
1352
+ let foundState = this.getState(id);
1353
+ if (foundState === void 0) {
1354
+ const trimmedId = id.trim();
1355
+ this.addState(trimmedId);
1356
+ foundState = this.getState(trimmedId);
1357
+ }
1358
+ foundState.styles = styles.map((s) => {
1359
+ var _a2;
1360
+ return (_a2 = s.replace(/;/g, "")) == null ? void 0 : _a2.trim();
1361
+ });
1362
+ });
1363
+ }
1364
+ break;
1365
+ case STMT_APPLYCLASS:
1366
+ this.setCssClass(item.id.trim(), item.styleClass);
1367
+ break;
1368
+ }
1369
+ });
1370
+ const diagramStates = this.getStates();
1371
+ const config = getConfig2();
1372
+ const look = config.look;
1373
+ reset();
1374
+ dataFetcher(
1375
+ void 0,
1376
+ this.getRootDocV2(),
1377
+ diagramStates,
1378
+ this.nodes,
1379
+ this.edges,
1380
+ true,
1381
+ look,
1382
+ this.classes
1383
+ );
1384
+ this.nodes.forEach((node) => {
1385
+ if (Array.isArray(node.label)) {
1386
+ node.description = node.label.slice(1);
1387
+ if (node.isGroup && node.description.length > 0) {
1388
+ throw new Error(
1389
+ "Group nodes can only have label. Remove the additional description for node [" + node.id + "]"
1390
+ );
1391
+ }
1392
+ node.label = node.label[0];
1393
+ }
1394
+ });
1395
+ }
1396
+ /**
1397
+ * Function called by parser when a node definition has been found.
1398
+ *
1399
+ * @param {null | string} id
1400
+ * @param {null | string} type
1401
+ * @param {null | string} doc
1402
+ * @param {null | string | string[]} descr - description for the state. Can be a string or a list or strings
1403
+ * @param {null | string} note
1404
+ * @param {null | string | string[]} classes - class styles to apply to this state. Can be a string (1 style) or an array of styles. If it's just 1 class, convert it to an array of that 1 class.
1405
+ * @param {null | string | string[]} styles - styles to apply to this state. Can be a string (1 style) or an array of styles. If it's just 1 style, convert it to an array of that 1 style.
1406
+ * @param {null | string | string[]} textStyles - text styles to apply to this state. Can be a string (1 text test) or an array of text styles. If it's just 1 text style, convert it to an array of that 1 text style.
1407
+ */
1408
+ addState(id, type = DEFAULT_STATE_TYPE, doc = null, descr = null, note = null, classes = null, styles = null, textStyles = null) {
1409
+ const trimmedId = id == null ? void 0 : id.trim();
1410
+ if (!this.currentDocument.states.has(trimmedId)) {
1411
+ log.info("Adding state ", trimmedId, descr);
1412
+ this.currentDocument.states.set(trimmedId, {
1413
+ id: trimmedId,
1414
+ descriptions: [],
1415
+ type,
1416
+ doc,
1417
+ note,
1418
+ classes: [],
1419
+ styles: [],
1420
+ textStyles: []
1421
+ });
1422
+ } else {
1423
+ if (!this.currentDocument.states.get(trimmedId).doc) {
1424
+ this.currentDocument.states.get(trimmedId).doc = doc;
1425
+ }
1426
+ if (!this.currentDocument.states.get(trimmedId).type) {
1427
+ this.currentDocument.states.get(trimmedId).type = type;
1428
+ }
1429
+ }
1430
+ if (descr) {
1431
+ log.info("Setting state description", trimmedId, descr);
1432
+ if (typeof descr === "string") {
1433
+ this.addDescription(trimmedId, descr.trim());
1434
+ }
1435
+ if (typeof descr === "object") {
1436
+ descr.forEach((des) => this.addDescription(trimmedId, des.trim()));
1437
+ }
1438
+ }
1439
+ if (note) {
1440
+ const doc2 = this.currentDocument.states.get(trimmedId);
1441
+ doc2.note = note;
1442
+ doc2.note.text = common_default.sanitizeText(doc2.note.text, getConfig2());
1443
+ }
1444
+ if (classes) {
1445
+ log.info("Setting state classes", trimmedId, classes);
1446
+ const classesList = typeof classes === "string" ? [classes] : classes;
1447
+ classesList.forEach((cssClass) => this.setCssClass(trimmedId, cssClass.trim()));
1448
+ }
1449
+ if (styles) {
1450
+ log.info("Setting state styles", trimmedId, styles);
1451
+ const stylesList = typeof styles === "string" ? [styles] : styles;
1452
+ stylesList.forEach((style) => this.setStyle(trimmedId, style.trim()));
1453
+ }
1454
+ if (textStyles) {
1455
+ log.info("Setting state styles", trimmedId, styles);
1456
+ const textStylesList = typeof textStyles === "string" ? [textStyles] : textStyles;
1457
+ textStylesList.forEach((textStyle) => this.setTextStyle(trimmedId, textStyle.trim()));
1458
+ }
1459
+ }
1460
+ clear(saveCommon) {
1461
+ this.nodes = [];
1462
+ this.edges = [];
1463
+ this.documents = {
1464
+ root: newDoc()
1465
+ };
1466
+ this.currentDocument = this.documents.root;
1467
+ this.startEndCount = 0;
1468
+ this.classes = newClassesList();
1469
+ if (!saveCommon) {
1470
+ clear();
1471
+ }
1472
+ }
1473
+ getState(id) {
1474
+ return this.currentDocument.states.get(id);
1475
+ }
1476
+ getStates() {
1477
+ return this.currentDocument.states;
1478
+ }
1479
+ logDocuments() {
1480
+ log.info("Documents = ", this.documents);
1481
+ }
1482
+ getRelations() {
1483
+ return this.currentDocument.relations;
1484
+ }
1485
+ /**
1486
+ * If the id is a start node ( [*] ), then return a new id constructed from
1487
+ * the start node name and the current start node count.
1488
+ * else return the given id
1489
+ *
1490
+ * @param {string} id
1491
+ * @returns {string} - the id (original or constructed)
1492
+ * @private
1493
+ */
1494
+ startIdIfNeeded(id = "") {
1495
+ let fixedId = id;
1496
+ if (id === START_NODE) {
1497
+ this.startEndCount++;
1498
+ fixedId = `${START_TYPE}${this.startEndCount}`;
1499
+ }
1500
+ return fixedId;
1501
+ }
1502
+ /**
1503
+ * If the id is a start node ( [*] ), then return the start type ('start')
1504
+ * else return the given type
1505
+ *
1506
+ * @param {string} id
1507
+ * @param {string} type
1508
+ * @returns {string} - the type that should be used
1509
+ * @private
1510
+ */
1511
+ startTypeIfNeeded(id = "", type = DEFAULT_STATE_TYPE) {
1512
+ return id === START_NODE ? START_TYPE : type;
1513
+ }
1514
+ /**
1515
+ * If the id is an end node ( [*] ), then return a new id constructed from
1516
+ * the end node name and the current start_end node count.
1517
+ * else return the given id
1518
+ *
1519
+ * @param {string} id
1520
+ * @returns {string} - the id (original or constructed)
1521
+ * @private
1522
+ */
1523
+ endIdIfNeeded(id = "") {
1524
+ let fixedId = id;
1525
+ if (id === END_NODE) {
1526
+ this.startEndCount++;
1527
+ fixedId = `${END_TYPE}${this.startEndCount}`;
1528
+ }
1529
+ return fixedId;
1530
+ }
1531
+ /**
1532
+ * If the id is an end node ( [*] ), then return the end type
1533
+ * else return the given type
1534
+ *
1535
+ * @param {string} id
1536
+ * @param {string} type
1537
+ * @returns {string} - the type that should be used
1538
+ * @private
1539
+ */
1540
+ endTypeIfNeeded(id = "", type = DEFAULT_STATE_TYPE) {
1541
+ return id === END_NODE ? END_TYPE : type;
1542
+ }
1543
+ /**
1544
+ *
1545
+ * @param item1
1546
+ * @param item2
1547
+ * @param relationTitle
1548
+ */
1549
+ addRelationObjs(item1, item2, relationTitle) {
1550
+ let id1 = this.startIdIfNeeded(item1.id.trim());
1551
+ let type1 = this.startTypeIfNeeded(item1.id.trim(), item1.type);
1552
+ let id2 = this.startIdIfNeeded(item2.id.trim());
1553
+ let type2 = this.startTypeIfNeeded(item2.id.trim(), item2.type);
1554
+ this.addState(
1555
+ id1,
1556
+ type1,
1557
+ item1.doc,
1558
+ item1.description,
1559
+ item1.note,
1560
+ item1.classes,
1561
+ item1.styles,
1562
+ item1.textStyles
1563
+ );
1564
+ this.addState(
1565
+ id2,
1566
+ type2,
1567
+ item2.doc,
1568
+ item2.description,
1569
+ item2.note,
1570
+ item2.classes,
1571
+ item2.styles,
1572
+ item2.textStyles
1573
+ );
1574
+ this.currentDocument.relations.push({
1575
+ id1,
1576
+ id2,
1577
+ relationTitle: common_default.sanitizeText(relationTitle, getConfig2())
1578
+ });
1579
+ }
1580
+ /**
1581
+ * Add a relation between two items. The items may be full objects or just the string id of a state.
1582
+ *
1583
+ * @param {string | object} item1
1584
+ * @param {string | object} item2
1585
+ * @param {string} title
1586
+ */
1587
+ addRelation(item1, item2, title) {
1588
+ if (typeof item1 === "object") {
1589
+ this.addRelationObjs(item1, item2, title);
1590
+ } else {
1591
+ const id1 = this.startIdIfNeeded(item1.trim());
1592
+ const type1 = this.startTypeIfNeeded(item1);
1593
+ const id2 = this.endIdIfNeeded(item2.trim());
1594
+ const type2 = this.endTypeIfNeeded(item2);
1595
+ this.addState(id1, type1);
1596
+ this.addState(id2, type2);
1597
+ this.currentDocument.relations.push({
1598
+ id1,
1599
+ id2,
1600
+ title: common_default.sanitizeText(title, getConfig2())
1601
+ });
1602
+ }
1603
+ }
1604
+ addDescription(id, descr) {
1605
+ const theState = this.currentDocument.states.get(id);
1606
+ const _descr = descr.startsWith(":") ? descr.replace(":", "").trim() : descr;
1607
+ theState.descriptions.push(common_default.sanitizeText(_descr, getConfig2()));
1608
+ }
1609
+ cleanupLabel(label) {
1610
+ if (label.substring(0, 1) === ":") {
1611
+ return label.substr(2).trim();
1612
+ } else {
1613
+ return label.trim();
1614
+ }
1615
+ }
1616
+ getDividerId() {
1617
+ this.dividerCnt++;
1618
+ return "divider-id-" + this.dividerCnt;
1619
+ }
1620
+ /**
1621
+ * Called when the parser comes across a (style) class definition
1622
+ * @example classDef my-style fill:#f96;
1623
+ *
1624
+ * @param {string} id - the id of this (style) class
1625
+ * @param {string | null} styleAttributes - the string with 1 or more style attributes (each separated by a comma)
1626
+ */
1627
+ addStyleClass(id, styleAttributes = "") {
1628
+ if (!this.classes.has(id)) {
1629
+ this.classes.set(id, { id, styles: [], textStyles: [] });
1630
+ }
1631
+ const foundClass = this.classes.get(id);
1632
+ if (styleAttributes !== void 0 && styleAttributes !== null) {
1633
+ styleAttributes.split(STYLECLASS_SEP).forEach((attrib) => {
1634
+ const fixedAttrib = attrib.replace(/([^;]*);/, "$1").trim();
1635
+ if (RegExp(COLOR_KEYWORD).exec(attrib)) {
1636
+ const newStyle1 = fixedAttrib.replace(FILL_KEYWORD, BG_FILL);
1637
+ const newStyle2 = newStyle1.replace(COLOR_KEYWORD, FILL_KEYWORD);
1638
+ foundClass.textStyles.push(newStyle2);
1639
+ }
1640
+ foundClass.styles.push(fixedAttrib);
1641
+ });
1642
+ }
1643
+ }
1644
+ /**
1645
+ * Return all of the style classes
1646
+ * @returns {{} | any | classes}
1647
+ */
1648
+ getClasses() {
1649
+ return this.classes;
1650
+ }
1651
+ /**
1652
+ * Add a (style) class or css class to a state with the given id.
1653
+ * If the state isn't already in the list of known states, add it.
1654
+ * Might be called by parser when a style class or CSS class should be applied to a state
1655
+ *
1656
+ * @param {string | string[]} itemIds The id or a list of ids of the item(s) to apply the css class to
1657
+ * @param {string} cssClassName CSS class name
1658
+ */
1659
+ setCssClass(itemIds, cssClassName) {
1660
+ itemIds.split(",").forEach((id) => {
1661
+ let foundState = this.getState(id);
1662
+ if (foundState === void 0) {
1663
+ const trimmedId = id.trim();
1664
+ this.addState(trimmedId);
1665
+ foundState = this.getState(trimmedId);
1666
+ }
1667
+ foundState.classes.push(cssClassName);
1668
+ });
1669
+ }
1670
+ /**
1671
+ * Add a style to a state with the given id.
1672
+ * @example style stateId fill:#f9f,stroke:#333,stroke-width:4px
1673
+ * where 'style' is the keyword
1674
+ * stateId is the id of a state
1675
+ * the rest of the string is the styleText (all of the attributes to be applied to the state)
1676
+ *
1677
+ * @param itemId The id of item to apply the style to
1678
+ * @param styleText - the text of the attributes for the style
1679
+ */
1680
+ setStyle(itemId, styleText) {
1681
+ const item = this.getState(itemId);
1682
+ if (item !== void 0) {
1683
+ item.styles.push(styleText);
1684
+ }
1685
+ }
1686
+ /**
1687
+ * Add a text style to a state with the given id
1688
+ *
1689
+ * @param itemId The id of item to apply the css class to
1690
+ * @param cssClassName CSS class name
1691
+ */
1692
+ setTextStyle(itemId, cssClassName) {
1693
+ const item = this.getState(itemId);
1694
+ if (item !== void 0) {
1695
+ item.textStyles.push(cssClassName);
1696
+ }
1697
+ }
1698
+ /**
1699
+ * Finds the direction statement in the root document.
1700
+ * @private
1701
+ * @returns {{ value: string } | undefined} - the direction statement if present
1702
+ */
1703
+ getDirectionStatement() {
1704
+ return this.rootDoc.find((doc) => doc.stmt === STMT_DIRECTION);
1705
+ }
1706
+ getDirection() {
1707
+ var _a2;
1708
+ return ((_a2 = this.getDirectionStatement()) == null ? void 0 : _a2.value) ?? DEFAULT_DIAGRAM_DIRECTION;
1709
+ }
1710
+ setDirection(dir) {
1711
+ const doc = this.getDirectionStatement();
1712
+ if (doc) {
1713
+ doc.value = dir;
1714
+ } else {
1715
+ this.rootDoc.unshift({ stmt: STMT_DIRECTION, value: dir });
1716
+ }
1717
+ }
1718
+ trimColon(str) {
1719
+ return str && str[0] === ":" ? str.substr(1).trim() : str.trim();
1720
+ }
1721
+ getData() {
1722
+ const config = getConfig2();
1723
+ return {
1724
+ nodes: this.nodes,
1725
+ edges: this.edges,
1726
+ other: {},
1727
+ config,
1728
+ direction: getDir(this.getRootDocV2())
1729
+ };
1730
+ }
1731
+ getConfig() {
1732
+ return getConfig2().state;
1733
+ }
1734
+ }, __name(_a, "StateDB"), __publicField(_a, "relationType", {
1735
+ AGGREGATION: 0,
1736
+ EXTENSION: 1,
1737
+ COMPOSITION: 2,
1738
+ DEPENDENCY: 3
1739
+ }), _a);
1740
+ var getStyles = /* @__PURE__ */ __name((options) => `
1741
+ defs #statediagram-barbEnd {
1742
+ fill: ${options.transitionColor};
1743
+ stroke: ${options.transitionColor};
1744
+ }
1745
+ g.stateGroup text {
1746
+ fill: ${options.nodeBorder};
1747
+ stroke: none;
1748
+ font-size: 10px;
1749
+ }
1750
+ g.stateGroup text {
1751
+ fill: ${options.textColor};
1752
+ stroke: none;
1753
+ font-size: 10px;
1754
+
1755
+ }
1756
+ g.stateGroup .state-title {
1757
+ font-weight: bolder;
1758
+ fill: ${options.stateLabelColor};
1759
+ }
1760
+
1761
+ g.stateGroup rect {
1762
+ fill: ${options.mainBkg};
1763
+ stroke: ${options.nodeBorder};
1764
+ }
1765
+
1766
+ g.stateGroup line {
1767
+ stroke: ${options.lineColor};
1768
+ stroke-width: 1;
1769
+ }
1770
+
1771
+ .transition {
1772
+ stroke: ${options.transitionColor};
1773
+ stroke-width: 1;
1774
+ fill: none;
1775
+ }
1776
+
1777
+ .stateGroup .composit {
1778
+ fill: ${options.background};
1779
+ border-bottom: 1px
1780
+ }
1781
+
1782
+ .stateGroup .alt-composit {
1783
+ fill: #e0e0e0;
1784
+ border-bottom: 1px
1785
+ }
1786
+
1787
+ .state-note {
1788
+ stroke: ${options.noteBorderColor};
1789
+ fill: ${options.noteBkgColor};
1790
+
1791
+ text {
1792
+ fill: ${options.noteTextColor};
1793
+ stroke: none;
1794
+ font-size: 10px;
1795
+ }
1796
+ }
1797
+
1798
+ .stateLabel .box {
1799
+ stroke: none;
1800
+ stroke-width: 0;
1801
+ fill: ${options.mainBkg};
1802
+ opacity: 0.5;
1803
+ }
1804
+
1805
+ .edgeLabel .label rect {
1806
+ fill: ${options.labelBackgroundColor};
1807
+ opacity: 0.5;
1808
+ }
1809
+ .edgeLabel {
1810
+ background-color: ${options.edgeLabelBackground};
1811
+ p {
1812
+ background-color: ${options.edgeLabelBackground};
1813
+ }
1814
+ rect {
1815
+ opacity: 0.5;
1816
+ background-color: ${options.edgeLabelBackground};
1817
+ fill: ${options.edgeLabelBackground};
1818
+ }
1819
+ text-align: center;
1820
+ }
1821
+ .edgeLabel .label text {
1822
+ fill: ${options.transitionLabelColor || options.tertiaryTextColor};
1823
+ }
1824
+ .label div .edgeLabel {
1825
+ color: ${options.transitionLabelColor || options.tertiaryTextColor};
1826
+ }
1827
+
1828
+ .stateLabel text {
1829
+ fill: ${options.stateLabelColor};
1830
+ font-size: 10px;
1831
+ font-weight: bold;
1832
+ }
1833
+
1834
+ .node circle.state-start {
1835
+ fill: ${options.specialStateColor};
1836
+ stroke: ${options.specialStateColor};
1837
+ }
1838
+
1839
+ .node .fork-join {
1840
+ fill: ${options.specialStateColor};
1841
+ stroke: ${options.specialStateColor};
1842
+ }
1843
+
1844
+ .node circle.state-end {
1845
+ fill: ${options.innerEndBackground};
1846
+ stroke: ${options.background};
1847
+ stroke-width: 1.5
1848
+ }
1849
+ .end-state-inner {
1850
+ fill: ${options.compositeBackground || options.background};
1851
+ // stroke: ${options.background};
1852
+ stroke-width: 1.5
1853
+ }
1854
+
1855
+ .node rect {
1856
+ fill: ${options.stateBkg || options.mainBkg};
1857
+ stroke: ${options.stateBorder || options.nodeBorder};
1858
+ stroke-width: 1px;
1859
+ }
1860
+ .node polygon {
1861
+ fill: ${options.mainBkg};
1862
+ stroke: ${options.stateBorder || options.nodeBorder};;
1863
+ stroke-width: 1px;
1864
+ }
1865
+ #statediagram-barbEnd {
1866
+ fill: ${options.lineColor};
1867
+ }
1868
+
1869
+ .statediagram-cluster rect {
1870
+ fill: ${options.compositeTitleBackground};
1871
+ stroke: ${options.stateBorder || options.nodeBorder};
1872
+ stroke-width: 1px;
1873
+ }
1874
+
1875
+ .cluster-label, .nodeLabel {
1876
+ color: ${options.stateLabelColor};
1877
+ // line-height: 1;
1878
+ }
1879
+
1880
+ .statediagram-cluster rect.outer {
1881
+ rx: 5px;
1882
+ ry: 5px;
1883
+ }
1884
+ .statediagram-state .divider {
1885
+ stroke: ${options.stateBorder || options.nodeBorder};
1886
+ }
1887
+
1888
+ .statediagram-state .title-state {
1889
+ rx: 5px;
1890
+ ry: 5px;
1891
+ }
1892
+ .statediagram-cluster.statediagram-cluster .inner {
1893
+ fill: ${options.compositeBackground || options.background};
1894
+ }
1895
+ .statediagram-cluster.statediagram-cluster-alt .inner {
1896
+ fill: ${options.altBackground ? options.altBackground : "#efefef"};
1897
+ }
1898
+
1899
+ .statediagram-cluster .inner {
1900
+ rx:0;
1901
+ ry:0;
1902
+ }
1903
+
1904
+ .statediagram-state rect.basic {
1905
+ rx: 5px;
1906
+ ry: 5px;
1907
+ }
1908
+ .statediagram-state rect.divider {
1909
+ stroke-dasharray: 10,10;
1910
+ fill: ${options.altBackground ? options.altBackground : "#efefef"};
1911
+ }
1912
+
1913
+ .note-edge {
1914
+ stroke-dasharray: 5;
1915
+ }
1916
+
1917
+ .statediagram-note rect {
1918
+ fill: ${options.noteBkgColor};
1919
+ stroke: ${options.noteBorderColor};
1920
+ stroke-width: 1px;
1921
+ rx: 0;
1922
+ ry: 0;
1923
+ }
1924
+ .statediagram-note rect {
1925
+ fill: ${options.noteBkgColor};
1926
+ stroke: ${options.noteBorderColor};
1927
+ stroke-width: 1px;
1928
+ rx: 0;
1929
+ ry: 0;
1930
+ }
1931
+
1932
+ .statediagram-note text {
1933
+ fill: ${options.noteTextColor};
1934
+ }
1935
+
1936
+ .statediagram-note .nodeLabel {
1937
+ color: ${options.noteTextColor};
1938
+ }
1939
+ .statediagram .edgeLabel {
1940
+ color: red; // ${options.noteTextColor};
1941
+ }
1942
+
1943
+ #dependencyStart, #dependencyEnd {
1944
+ fill: ${options.lineColor};
1945
+ stroke: ${options.lineColor};
1946
+ stroke-width: 1;
1947
+ }
1948
+
1949
+ .statediagramTitleText {
1950
+ text-anchor: middle;
1951
+ font-size: 18px;
1952
+ fill: ${options.textColor};
1953
+ }
1954
+ `, "getStyles");
1955
+ var styles_default = getStyles;
1956
+ export {
1957
+ StateDB,
1958
+ stateDiagram_default,
1959
+ stateRenderer_v3_unified_default,
1960
+ styles_default
1961
+ };