@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,1778 @@
1
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
2
+ import { computeDimensionOfText } from "./chunk-C3MQ5ANM.mjs";
3
+ import { cleanAndMerge } from "./chunk-O4NI6UNU.mjs";
4
+ import { selectSvgElement } from "./chunk-7B677QYD.mjs";
5
+ import { __name, setAccDescription, getAccDescription, getDiagramTitle, setDiagramTitle, getAccTitle, setAccTitle, log, configureSvgSize, clear, getConfig, defaultConfig_default, getThemeVariables as getThemeVariables3, sanitizeText } from "./chunk-YTJNT7DU.mjs";
6
+ import "../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs";
7
+ import "../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs";
8
+ import band from "../../../../../../d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs";
9
+ import linear from "../../../../../../d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs";
10
+ import line from "../../../../../../d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs";
11
+ var parser = function() {
12
+ var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
13
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
14
+ return o2;
15
+ }, "o"), $V0 = [1, 10, 12, 14, 16, 18, 19, 21, 23], $V1 = [2, 6], $V2 = [1, 3], $V3 = [1, 5], $V4 = [1, 6], $V5 = [1, 7], $V6 = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], $V7 = [1, 25], $V8 = [1, 26], $V9 = [1, 28], $Va = [1, 29], $Vb = [1, 30], $Vc = [1, 31], $Vd = [1, 32], $Ve = [1, 33], $Vf = [1, 34], $Vg = [1, 35], $Vh = [1, 36], $Vi = [1, 37], $Vj = [1, 43], $Vk = [1, 42], $Vl = [1, 47], $Vm = [1, 50], $Vn = [1, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], $Vo = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36], $Vp = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], $Vq = [1, 64];
16
+ var parser2 = {
17
+ trace: /* @__PURE__ */ __name(function trace() {
18
+ }, "trace"),
19
+ yy: {},
20
+ symbols_: { "error": 2, "start": 3, "eol": 4, "XYCHART": 5, "chartConfig": 6, "document": 7, "CHART_ORIENTATION": 8, "statement": 9, "title": 10, "text": 11, "X_AXIS": 12, "parseXAxis": 13, "Y_AXIS": 14, "parseYAxis": 15, "LINE": 16, "plotData": 17, "BAR": 18, "acc_title": 19, "acc_title_value": 20, "acc_descr": 21, "acc_descr_value": 22, "acc_descr_multiline_value": 23, "SQUARE_BRACES_START": 24, "commaSeparatedNumbers": 25, "SQUARE_BRACES_END": 26, "NUMBER_WITH_DECIMAL": 27, "COMMA": 28, "xAxisData": 29, "bandData": 30, "ARROW_DELIMITER": 31, "commaSeparatedTexts": 32, "yAxisData": 33, "NEWLINE": 34, "SEMI": 35, "EOF": 36, "alphaNum": 37, "STR": 38, "MD_STR": 39, "alphaNumToken": 40, "AMP": 41, "NUM": 42, "ALPHA": 43, "PLUS": 44, "EQUALS": 45, "MULT": 46, "DOT": 47, "BRKT": 48, "MINUS": 49, "UNDERSCORE": 50, "$accept": 0, "$end": 1 },
21
+ terminals_: { 2: "error", 5: "XYCHART", 8: "CHART_ORIENTATION", 10: "title", 12: "X_AXIS", 14: "Y_AXIS", 16: "LINE", 18: "BAR", 19: "acc_title", 20: "acc_title_value", 21: "acc_descr", 22: "acc_descr_value", 23: "acc_descr_multiline_value", 24: "SQUARE_BRACES_START", 26: "SQUARE_BRACES_END", 27: "NUMBER_WITH_DECIMAL", 28: "COMMA", 31: "ARROW_DELIMITER", 34: "NEWLINE", 35: "SEMI", 36: "EOF", 38: "STR", 39: "MD_STR", 41: "AMP", 42: "NUM", 43: "ALPHA", 44: "PLUS", 45: "EQUALS", 46: "MULT", 47: "DOT", 48: "BRKT", 49: "MINUS", 50: "UNDERSCORE" },
22
+ productions_: [0, [3, 2], [3, 3], [3, 2], [3, 1], [6, 1], [7, 0], [7, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 3], [9, 2], [9, 3], [9, 2], [9, 2], [9, 1], [17, 3], [25, 3], [25, 1], [13, 1], [13, 2], [13, 1], [29, 1], [29, 3], [30, 3], [32, 3], [32, 1], [15, 1], [15, 2], [15, 1], [33, 3], [4, 1], [4, 1], [4, 1], [11, 1], [11, 1], [11, 1], [37, 1], [37, 2], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1]],
23
+ performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
24
+ var $0 = $$.length - 1;
25
+ switch (yystate) {
26
+ case 5:
27
+ yy.setOrientation($$[$0]);
28
+ break;
29
+ case 9:
30
+ yy.setDiagramTitle($$[$0].text.trim());
31
+ break;
32
+ case 12:
33
+ yy.setLineData({ text: "", type: "text" }, $$[$0]);
34
+ break;
35
+ case 13:
36
+ yy.setLineData($$[$0 - 1], $$[$0]);
37
+ break;
38
+ case 14:
39
+ yy.setBarData({ text: "", type: "text" }, $$[$0]);
40
+ break;
41
+ case 15:
42
+ yy.setBarData($$[$0 - 1], $$[$0]);
43
+ break;
44
+ case 16:
45
+ this.$ = $$[$0].trim();
46
+ yy.setAccTitle(this.$);
47
+ break;
48
+ case 17:
49
+ case 18:
50
+ this.$ = $$[$0].trim();
51
+ yy.setAccDescription(this.$);
52
+ break;
53
+ case 19:
54
+ this.$ = $$[$0 - 1];
55
+ break;
56
+ case 20:
57
+ this.$ = [Number($$[$0 - 2]), ...$$[$0]];
58
+ break;
59
+ case 21:
60
+ this.$ = [Number($$[$0])];
61
+ break;
62
+ case 22:
63
+ yy.setXAxisTitle($$[$0]);
64
+ break;
65
+ case 23:
66
+ yy.setXAxisTitle($$[$0 - 1]);
67
+ break;
68
+ case 24:
69
+ yy.setXAxisTitle({ type: "text", text: "" });
70
+ break;
71
+ case 25:
72
+ yy.setXAxisBand($$[$0]);
73
+ break;
74
+ case 26:
75
+ yy.setXAxisRangeData(Number($$[$0 - 2]), Number($$[$0]));
76
+ break;
77
+ case 27:
78
+ this.$ = $$[$0 - 1];
79
+ break;
80
+ case 28:
81
+ this.$ = [$$[$0 - 2], ...$$[$0]];
82
+ break;
83
+ case 29:
84
+ this.$ = [$$[$0]];
85
+ break;
86
+ case 30:
87
+ yy.setYAxisTitle($$[$0]);
88
+ break;
89
+ case 31:
90
+ yy.setYAxisTitle($$[$0 - 1]);
91
+ break;
92
+ case 32:
93
+ yy.setYAxisTitle({ type: "text", text: "" });
94
+ break;
95
+ case 33:
96
+ yy.setYAxisRangeData(Number($$[$0 - 2]), Number($$[$0]));
97
+ break;
98
+ case 37:
99
+ this.$ = { text: $$[$0], type: "text" };
100
+ break;
101
+ case 38:
102
+ this.$ = { text: $$[$0], type: "text" };
103
+ break;
104
+ case 39:
105
+ this.$ = { text: $$[$0], type: "markdown" };
106
+ break;
107
+ case 40:
108
+ this.$ = $$[$0];
109
+ break;
110
+ case 41:
111
+ this.$ = $$[$0 - 1] + "" + $$[$0];
112
+ break;
113
+ }
114
+ }, "anonymous"),
115
+ table: [o($V0, $V1, { 3: 1, 4: 2, 7: 4, 5: $V2, 34: $V3, 35: $V4, 36: $V5 }), { 1: [3] }, o($V0, $V1, { 4: 2, 7: 4, 3: 8, 5: $V2, 34: $V3, 35: $V4, 36: $V5 }), o($V0, $V1, { 4: 2, 7: 4, 6: 9, 3: 10, 5: $V2, 8: [1, 11], 34: $V3, 35: $V4, 36: $V5 }), { 1: [2, 4], 9: 12, 10: [1, 13], 12: [1, 14], 14: [1, 15], 16: [1, 16], 18: [1, 17], 19: [1, 18], 21: [1, 19], 23: [1, 20] }, o($V6, [2, 34]), o($V6, [2, 35]), o($V6, [2, 36]), { 1: [2, 1] }, o($V0, $V1, { 4: 2, 7: 4, 3: 21, 5: $V2, 34: $V3, 35: $V4, 36: $V5 }), { 1: [2, 3] }, o($V6, [2, 5]), o($V0, [2, 7], { 4: 22, 34: $V3, 35: $V4, 36: $V5 }), { 11: 23, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, { 11: 39, 13: 38, 24: $Vj, 27: $Vk, 29: 40, 30: 41, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, { 11: 45, 15: 44, 27: $Vl, 33: 46, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, { 11: 49, 17: 48, 24: $Vm, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, { 11: 52, 17: 51, 24: $Vm, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, { 20: [1, 53] }, { 22: [1, 54] }, o($Vn, [2, 18]), { 1: [2, 2] }, o($Vn, [2, 8]), o($Vn, [2, 9]), o($Vo, [2, 37], { 40: 55, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }), o($Vo, [2, 38]), o($Vo, [2, 39]), o($Vp, [2, 40]), o($Vp, [2, 42]), o($Vp, [2, 43]), o($Vp, [2, 44]), o($Vp, [2, 45]), o($Vp, [2, 46]), o($Vp, [2, 47]), o($Vp, [2, 48]), o($Vp, [2, 49]), o($Vp, [2, 50]), o($Vp, [2, 51]), o($Vn, [2, 10]), o($Vn, [2, 22], { 30: 41, 29: 56, 24: $Vj, 27: $Vk }), o($Vn, [2, 24]), o($Vn, [2, 25]), { 31: [1, 57] }, { 11: 59, 32: 58, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, o($Vn, [2, 11]), o($Vn, [2, 30], { 33: 60, 27: $Vl }), o($Vn, [2, 32]), { 31: [1, 61] }, o($Vn, [2, 12]), { 17: 62, 24: $Vm }, { 25: 63, 27: $Vq }, o($Vn, [2, 14]), { 17: 65, 24: $Vm }, o($Vn, [2, 16]), o($Vn, [2, 17]), o($Vp, [2, 41]), o($Vn, [2, 23]), { 27: [1, 66] }, { 26: [1, 67] }, { 26: [2, 29], 28: [1, 68] }, o($Vn, [2, 31]), { 27: [1, 69] }, o($Vn, [2, 13]), { 26: [1, 70] }, { 26: [2, 21], 28: [1, 71] }, o($Vn, [2, 15]), o($Vn, [2, 26]), o($Vn, [2, 27]), { 11: 59, 32: 72, 37: 24, 38: $V7, 39: $V8, 40: 27, 41: $V9, 42: $Va, 43: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi }, o($Vn, [2, 33]), o($Vn, [2, 19]), { 25: 73, 27: $Vq }, { 26: [2, 28] }, { 26: [2, 20] }],
116
+ defaultActions: { 8: [2, 1], 10: [2, 3], 21: [2, 2], 72: [2, 28], 73: [2, 20] },
117
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
118
+ if (hash.recoverable) {
119
+ this.trace(str);
120
+ } else {
121
+ var error = new Error(str);
122
+ error.hash = hash;
123
+ throw error;
124
+ }
125
+ }, "parseError"),
126
+ parse: /* @__PURE__ */ __name(function parse(input) {
127
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
128
+ var args = lstack.slice.call(arguments, 1);
129
+ var lexer2 = Object.create(this.lexer);
130
+ var sharedState = { yy: {} };
131
+ for (var k in this.yy) {
132
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
133
+ sharedState.yy[k] = this.yy[k];
134
+ }
135
+ }
136
+ lexer2.setInput(input, sharedState.yy);
137
+ sharedState.yy.lexer = lexer2;
138
+ sharedState.yy.parser = this;
139
+ if (typeof lexer2.yylloc == "undefined") {
140
+ lexer2.yylloc = {};
141
+ }
142
+ var yyloc = lexer2.yylloc;
143
+ lstack.push(yyloc);
144
+ var ranges = lexer2.options && lexer2.options.ranges;
145
+ if (typeof sharedState.yy.parseError === "function") {
146
+ this.parseError = sharedState.yy.parseError;
147
+ } else {
148
+ this.parseError = Object.getPrototypeOf(this).parseError;
149
+ }
150
+ function popStack(n) {
151
+ stack.length = stack.length - 2 * n;
152
+ vstack.length = vstack.length - n;
153
+ lstack.length = lstack.length - n;
154
+ }
155
+ __name(popStack, "popStack");
156
+ function lex() {
157
+ var token;
158
+ token = tstack.pop() || lexer2.lex() || EOF;
159
+ if (typeof token !== "number") {
160
+ if (token instanceof Array) {
161
+ tstack = token;
162
+ token = tstack.pop();
163
+ }
164
+ token = self.symbols_[token] || token;
165
+ }
166
+ return token;
167
+ }
168
+ __name(lex, "lex");
169
+ var symbol, state, action, r, yyval = {}, p, len, newState, expected;
170
+ while (true) {
171
+ state = stack[stack.length - 1];
172
+ if (this.defaultActions[state]) {
173
+ action = this.defaultActions[state];
174
+ } else {
175
+ if (symbol === null || typeof symbol == "undefined") {
176
+ symbol = lex();
177
+ }
178
+ action = table[state] && table[state][symbol];
179
+ }
180
+ if (typeof action === "undefined" || !action.length || !action[0]) {
181
+ var errStr = "";
182
+ expected = [];
183
+ for (p in table[state]) {
184
+ if (this.terminals_[p] && p > TERROR) {
185
+ expected.push("'" + this.terminals_[p] + "'");
186
+ }
187
+ }
188
+ if (lexer2.showPosition) {
189
+ errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
190
+ } else {
191
+ errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
192
+ }
193
+ this.parseError(errStr, {
194
+ text: lexer2.match,
195
+ token: this.terminals_[symbol] || symbol,
196
+ line: lexer2.yylineno,
197
+ loc: yyloc,
198
+ expected
199
+ });
200
+ }
201
+ if (action[0] instanceof Array && action.length > 1) {
202
+ throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
203
+ }
204
+ switch (action[0]) {
205
+ case 1:
206
+ stack.push(symbol);
207
+ vstack.push(lexer2.yytext);
208
+ lstack.push(lexer2.yylloc);
209
+ stack.push(action[1]);
210
+ symbol = null;
211
+ {
212
+ yyleng = lexer2.yyleng;
213
+ yytext = lexer2.yytext;
214
+ yylineno = lexer2.yylineno;
215
+ yyloc = lexer2.yylloc;
216
+ }
217
+ break;
218
+ case 2:
219
+ len = this.productions_[action[1]][1];
220
+ yyval.$ = vstack[vstack.length - len];
221
+ yyval._$ = {
222
+ first_line: lstack[lstack.length - (len || 1)].first_line,
223
+ last_line: lstack[lstack.length - 1].last_line,
224
+ first_column: lstack[lstack.length - (len || 1)].first_column,
225
+ last_column: lstack[lstack.length - 1].last_column
226
+ };
227
+ if (ranges) {
228
+ yyval._$.range = [
229
+ lstack[lstack.length - (len || 1)].range[0],
230
+ lstack[lstack.length - 1].range[1]
231
+ ];
232
+ }
233
+ r = this.performAction.apply(yyval, [
234
+ yytext,
235
+ yyleng,
236
+ yylineno,
237
+ sharedState.yy,
238
+ action[1],
239
+ vstack,
240
+ lstack
241
+ ].concat(args));
242
+ if (typeof r !== "undefined") {
243
+ return r;
244
+ }
245
+ if (len) {
246
+ stack = stack.slice(0, -1 * len * 2);
247
+ vstack = vstack.slice(0, -1 * len);
248
+ lstack = lstack.slice(0, -1 * len);
249
+ }
250
+ stack.push(this.productions_[action[1]][0]);
251
+ vstack.push(yyval.$);
252
+ lstack.push(yyval._$);
253
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
254
+ stack.push(newState);
255
+ break;
256
+ case 3:
257
+ return true;
258
+ }
259
+ }
260
+ return true;
261
+ }, "parse")
262
+ };
263
+ var lexer = /* @__PURE__ */ function() {
264
+ var lexer2 = {
265
+ EOF: 1,
266
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
267
+ if (this.yy.parser) {
268
+ this.yy.parser.parseError(str, hash);
269
+ } else {
270
+ throw new Error(str);
271
+ }
272
+ }, "parseError"),
273
+ // resets the lexer, sets new input
274
+ setInput: /* @__PURE__ */ __name(function(input, yy) {
275
+ this.yy = yy || this.yy || {};
276
+ this._input = input;
277
+ this._more = this._backtrack = this.done = false;
278
+ this.yylineno = this.yyleng = 0;
279
+ this.yytext = this.matched = this.match = "";
280
+ this.conditionStack = ["INITIAL"];
281
+ this.yylloc = {
282
+ first_line: 1,
283
+ first_column: 0,
284
+ last_line: 1,
285
+ last_column: 0
286
+ };
287
+ if (this.options.ranges) {
288
+ this.yylloc.range = [0, 0];
289
+ }
290
+ this.offset = 0;
291
+ return this;
292
+ }, "setInput"),
293
+ // consumes and returns one char from the input
294
+ input: /* @__PURE__ */ __name(function() {
295
+ var ch = this._input[0];
296
+ this.yytext += ch;
297
+ this.yyleng++;
298
+ this.offset++;
299
+ this.match += ch;
300
+ this.matched += ch;
301
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
302
+ if (lines) {
303
+ this.yylineno++;
304
+ this.yylloc.last_line++;
305
+ } else {
306
+ this.yylloc.last_column++;
307
+ }
308
+ if (this.options.ranges) {
309
+ this.yylloc.range[1]++;
310
+ }
311
+ this._input = this._input.slice(1);
312
+ return ch;
313
+ }, "input"),
314
+ // unshifts one char (or a string) into the input
315
+ unput: /* @__PURE__ */ __name(function(ch) {
316
+ var len = ch.length;
317
+ var lines = ch.split(/(?:\r\n?|\n)/g);
318
+ this._input = ch + this._input;
319
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
320
+ this.offset -= len;
321
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
322
+ this.match = this.match.substr(0, this.match.length - 1);
323
+ this.matched = this.matched.substr(0, this.matched.length - 1);
324
+ if (lines.length - 1) {
325
+ this.yylineno -= lines.length - 1;
326
+ }
327
+ var r = this.yylloc.range;
328
+ this.yylloc = {
329
+ first_line: this.yylloc.first_line,
330
+ last_line: this.yylineno + 1,
331
+ first_column: this.yylloc.first_column,
332
+ 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
333
+ };
334
+ if (this.options.ranges) {
335
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
336
+ }
337
+ this.yyleng = this.yytext.length;
338
+ return this;
339
+ }, "unput"),
340
+ // When called from action, caches matched text and appends it on next action
341
+ more: /* @__PURE__ */ __name(function() {
342
+ this._more = true;
343
+ return this;
344
+ }, "more"),
345
+ // 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.
346
+ reject: /* @__PURE__ */ __name(function() {
347
+ if (this.options.backtrack_lexer) {
348
+ this._backtrack = true;
349
+ } else {
350
+ 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(), {
351
+ text: "",
352
+ token: null,
353
+ line: this.yylineno
354
+ });
355
+ }
356
+ return this;
357
+ }, "reject"),
358
+ // retain first n characters of the match
359
+ less: /* @__PURE__ */ __name(function(n) {
360
+ this.unput(this.match.slice(n));
361
+ }, "less"),
362
+ // displays already matched input, i.e. for error messages
363
+ pastInput: /* @__PURE__ */ __name(function() {
364
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
365
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
366
+ }, "pastInput"),
367
+ // displays upcoming input, i.e. for error messages
368
+ upcomingInput: /* @__PURE__ */ __name(function() {
369
+ var next = this.match;
370
+ if (next.length < 20) {
371
+ next += this._input.substr(0, 20 - next.length);
372
+ }
373
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
374
+ }, "upcomingInput"),
375
+ // displays the character position where the lexing error occurred, i.e. for error messages
376
+ showPosition: /* @__PURE__ */ __name(function() {
377
+ var pre = this.pastInput();
378
+ var c = new Array(pre.length + 1).join("-");
379
+ return pre + this.upcomingInput() + "\n" + c + "^";
380
+ }, "showPosition"),
381
+ // test the lexed token: return FALSE when not a match, otherwise return token
382
+ test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
383
+ var token, lines, backup;
384
+ if (this.options.backtrack_lexer) {
385
+ backup = {
386
+ yylineno: this.yylineno,
387
+ yylloc: {
388
+ first_line: this.yylloc.first_line,
389
+ last_line: this.last_line,
390
+ first_column: this.yylloc.first_column,
391
+ last_column: this.yylloc.last_column
392
+ },
393
+ yytext: this.yytext,
394
+ match: this.match,
395
+ matches: this.matches,
396
+ matched: this.matched,
397
+ yyleng: this.yyleng,
398
+ offset: this.offset,
399
+ _more: this._more,
400
+ _input: this._input,
401
+ yy: this.yy,
402
+ conditionStack: this.conditionStack.slice(0),
403
+ done: this.done
404
+ };
405
+ if (this.options.ranges) {
406
+ backup.yylloc.range = this.yylloc.range.slice(0);
407
+ }
408
+ }
409
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
410
+ if (lines) {
411
+ this.yylineno += lines.length;
412
+ }
413
+ this.yylloc = {
414
+ first_line: this.yylloc.last_line,
415
+ last_line: this.yylineno + 1,
416
+ first_column: this.yylloc.last_column,
417
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
418
+ };
419
+ this.yytext += match[0];
420
+ this.match += match[0];
421
+ this.matches = match;
422
+ this.yyleng = this.yytext.length;
423
+ if (this.options.ranges) {
424
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
425
+ }
426
+ this._more = false;
427
+ this._backtrack = false;
428
+ this._input = this._input.slice(match[0].length);
429
+ this.matched += match[0];
430
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
431
+ if (this.done && this._input) {
432
+ this.done = false;
433
+ }
434
+ if (token) {
435
+ return token;
436
+ } else if (this._backtrack) {
437
+ for (var k in backup) {
438
+ this[k] = backup[k];
439
+ }
440
+ return false;
441
+ }
442
+ return false;
443
+ }, "test_match"),
444
+ // return next match in input
445
+ next: /* @__PURE__ */ __name(function() {
446
+ if (this.done) {
447
+ return this.EOF;
448
+ }
449
+ if (!this._input) {
450
+ this.done = true;
451
+ }
452
+ var token, match, tempMatch, index;
453
+ if (!this._more) {
454
+ this.yytext = "";
455
+ this.match = "";
456
+ }
457
+ var rules = this._currentRules();
458
+ for (var i = 0; i < rules.length; i++) {
459
+ tempMatch = this._input.match(this.rules[rules[i]]);
460
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
461
+ match = tempMatch;
462
+ index = i;
463
+ if (this.options.backtrack_lexer) {
464
+ token = this.test_match(tempMatch, rules[i]);
465
+ if (token !== false) {
466
+ return token;
467
+ } else if (this._backtrack) {
468
+ match = false;
469
+ continue;
470
+ } else {
471
+ return false;
472
+ }
473
+ } else if (!this.options.flex) {
474
+ break;
475
+ }
476
+ }
477
+ }
478
+ if (match) {
479
+ token = this.test_match(match, rules[index]);
480
+ if (token !== false) {
481
+ return token;
482
+ }
483
+ return false;
484
+ }
485
+ if (this._input === "") {
486
+ return this.EOF;
487
+ } else {
488
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
489
+ text: "",
490
+ token: null,
491
+ line: this.yylineno
492
+ });
493
+ }
494
+ }, "next"),
495
+ // return next match that has a token
496
+ lex: /* @__PURE__ */ __name(function lex() {
497
+ var r = this.next();
498
+ if (r) {
499
+ return r;
500
+ } else {
501
+ return this.lex();
502
+ }
503
+ }, "lex"),
504
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
505
+ begin: /* @__PURE__ */ __name(function begin(condition) {
506
+ this.conditionStack.push(condition);
507
+ }, "begin"),
508
+ // pop the previously active lexer condition state off the condition stack
509
+ popState: /* @__PURE__ */ __name(function popState() {
510
+ var n = this.conditionStack.length - 1;
511
+ if (n > 0) {
512
+ return this.conditionStack.pop();
513
+ } else {
514
+ return this.conditionStack[0];
515
+ }
516
+ }, "popState"),
517
+ // produce the lexer rule set which is active for the currently active lexer condition state
518
+ _currentRules: /* @__PURE__ */ __name(function _currentRules() {
519
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
520
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
521
+ } else {
522
+ return this.conditions["INITIAL"].rules;
523
+ }
524
+ }, "_currentRules"),
525
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
526
+ topState: /* @__PURE__ */ __name(function topState(n) {
527
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
528
+ if (n >= 0) {
529
+ return this.conditionStack[n];
530
+ } else {
531
+ return "INITIAL";
532
+ }
533
+ }, "topState"),
534
+ // alias for begin(condition)
535
+ pushState: /* @__PURE__ */ __name(function pushState(condition) {
536
+ this.begin(condition);
537
+ }, "pushState"),
538
+ // return the number of states currently on the stack
539
+ stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
540
+ return this.conditionStack.length;
541
+ }, "stateStackSize"),
542
+ options: { "case-insensitive": true },
543
+ performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
544
+ switch ($avoiding_name_collisions) {
545
+ case 0:
546
+ break;
547
+ case 1:
548
+ break;
549
+ case 2:
550
+ this.popState();
551
+ return 34;
552
+ case 3:
553
+ this.popState();
554
+ return 34;
555
+ case 4:
556
+ return 34;
557
+ case 5:
558
+ break;
559
+ case 6:
560
+ return 10;
561
+ case 7:
562
+ this.pushState("acc_title");
563
+ return 19;
564
+ case 8:
565
+ this.popState();
566
+ return "acc_title_value";
567
+ case 9:
568
+ this.pushState("acc_descr");
569
+ return 21;
570
+ case 10:
571
+ this.popState();
572
+ return "acc_descr_value";
573
+ case 11:
574
+ this.pushState("acc_descr_multiline");
575
+ break;
576
+ case 12:
577
+ this.popState();
578
+ break;
579
+ case 13:
580
+ return "acc_descr_multiline_value";
581
+ case 14:
582
+ return 5;
583
+ case 15:
584
+ return 8;
585
+ case 16:
586
+ this.pushState("axis_data");
587
+ return "X_AXIS";
588
+ case 17:
589
+ this.pushState("axis_data");
590
+ return "Y_AXIS";
591
+ case 18:
592
+ this.pushState("axis_band_data");
593
+ return 24;
594
+ case 19:
595
+ return 31;
596
+ case 20:
597
+ this.pushState("data");
598
+ return 16;
599
+ case 21:
600
+ this.pushState("data");
601
+ return 18;
602
+ case 22:
603
+ this.pushState("data_inner");
604
+ return 24;
605
+ case 23:
606
+ return 27;
607
+ case 24:
608
+ this.popState();
609
+ return 26;
610
+ case 25:
611
+ this.popState();
612
+ break;
613
+ case 26:
614
+ this.pushState("string");
615
+ break;
616
+ case 27:
617
+ this.popState();
618
+ break;
619
+ case 28:
620
+ return "STR";
621
+ case 29:
622
+ return 24;
623
+ case 30:
624
+ return 26;
625
+ case 31:
626
+ return 43;
627
+ case 32:
628
+ return "COLON";
629
+ case 33:
630
+ return 44;
631
+ case 34:
632
+ return 28;
633
+ case 35:
634
+ return 45;
635
+ case 36:
636
+ return 46;
637
+ case 37:
638
+ return 48;
639
+ case 38:
640
+ return 50;
641
+ case 39:
642
+ return 47;
643
+ case 40:
644
+ return 41;
645
+ case 41:
646
+ return 49;
647
+ case 42:
648
+ return 42;
649
+ case 43:
650
+ break;
651
+ case 44:
652
+ return 35;
653
+ case 45:
654
+ return 36;
655
+ }
656
+ }, "anonymous"),
657
+ rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:(\r?\n))/i, /^(?:(\r?\n))/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:title\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:\{)/i, /^(?:[^\}]*)/i, /^(?:xychart-beta\b)/i, /^(?:(?:vertical|horizontal))/i, /^(?:x-axis\b)/i, /^(?:y-axis\b)/i, /^(?:\[)/i, /^(?:-->)/i, /^(?:line\b)/i, /^(?:bar\b)/i, /^(?:\[)/i, /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i, /^(?:\])/i, /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:[A-Za-z]+)/i, /^(?::)/i, /^(?:\+)/i, /^(?:,)/i, /^(?:=)/i, /^(?:\*)/i, /^(?:#)/i, /^(?:[\_])/i, /^(?:\.)/i, /^(?:&)/i, /^(?:-)/i, /^(?:[0-9]+)/i, /^(?:\s+)/i, /^(?:;)/i, /^(?:$)/i],
658
+ conditions: { "data_inner": { "rules": [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 20, 21, 23, 24, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "inclusive": true }, "data": { "rules": [0, 1, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 20, 21, 22, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "inclusive": true }, "axis_band_data": { "rules": [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 20, 21, 24, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "inclusive": true }, "axis_data": { "rules": [0, 1, 2, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19, 20, 21, 23, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "inclusive": true }, "acc_descr_multiline": { "rules": [12, 13], "inclusive": false }, "acc_descr": { "rules": [10], "inclusive": false }, "acc_title": { "rules": [8], "inclusive": false }, "title": { "rules": [], "inclusive": false }, "md_string": { "rules": [], "inclusive": false }, "string": { "rules": [27, 28], "inclusive": false }, "INITIAL": { "rules": [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 20, 21, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "inclusive": true } }
659
+ };
660
+ return lexer2;
661
+ }();
662
+ parser2.lexer = lexer;
663
+ function Parser() {
664
+ this.yy = {};
665
+ }
666
+ __name(Parser, "Parser");
667
+ Parser.prototype = parser2;
668
+ parser2.Parser = Parser;
669
+ return new Parser();
670
+ }();
671
+ parser.parser = parser;
672
+ var xychart_default = parser;
673
+ function isBarPlot(data) {
674
+ return data.type === "bar";
675
+ }
676
+ __name(isBarPlot, "isBarPlot");
677
+ function isBandAxisData(data) {
678
+ return data.type === "band";
679
+ }
680
+ __name(isBandAxisData, "isBandAxisData");
681
+ function isLinearAxisData(data) {
682
+ return data.type === "linear";
683
+ }
684
+ __name(isLinearAxisData, "isLinearAxisData");
685
+ var TextDimensionCalculatorWithFont = (_a = class {
686
+ constructor(parentGroup) {
687
+ this.parentGroup = parentGroup;
688
+ }
689
+ getMaxDimension(texts, fontSize) {
690
+ if (!this.parentGroup) {
691
+ return {
692
+ width: texts.reduce((acc, cur) => Math.max(cur.length, acc), 0) * fontSize,
693
+ height: fontSize
694
+ };
695
+ }
696
+ const dimension = {
697
+ width: 0,
698
+ height: 0
699
+ };
700
+ const elem = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", fontSize);
701
+ for (const t of texts) {
702
+ const bbox = computeDimensionOfText(elem, 1, t);
703
+ const width = bbox ? bbox.width : t.length * fontSize;
704
+ const height = bbox ? bbox.height : fontSize;
705
+ dimension.width = Math.max(dimension.width, width);
706
+ dimension.height = Math.max(dimension.height, height);
707
+ }
708
+ elem.remove();
709
+ return dimension;
710
+ }
711
+ }, __name(_a, "TextDimensionCalculatorWithFont"), _a);
712
+ var BAR_WIDTH_TO_TICK_WIDTH_RATIO = 0.7;
713
+ var MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL = 0.2;
714
+ var BaseAxis = (_b = class {
715
+ constructor(axisConfig, title, textDimensionCalculator, axisThemeConfig) {
716
+ this.axisConfig = axisConfig;
717
+ this.title = title;
718
+ this.textDimensionCalculator = textDimensionCalculator;
719
+ this.axisThemeConfig = axisThemeConfig;
720
+ this.boundingRect = { x: 0, y: 0, width: 0, height: 0 };
721
+ this.axisPosition = "left";
722
+ this.showTitle = false;
723
+ this.showLabel = false;
724
+ this.showTick = false;
725
+ this.showAxisLine = false;
726
+ this.outerPadding = 0;
727
+ this.titleTextHeight = 0;
728
+ this.labelTextHeight = 0;
729
+ this.range = [0, 10];
730
+ this.boundingRect = { x: 0, y: 0, width: 0, height: 0 };
731
+ this.axisPosition = "left";
732
+ }
733
+ setRange(range) {
734
+ this.range = range;
735
+ if (this.axisPosition === "left" || this.axisPosition === "right") {
736
+ this.boundingRect.height = range[1] - range[0];
737
+ } else {
738
+ this.boundingRect.width = range[1] - range[0];
739
+ }
740
+ this.recalculateScale();
741
+ }
742
+ getRange() {
743
+ return [this.range[0] + this.outerPadding, this.range[1] - this.outerPadding];
744
+ }
745
+ setAxisPosition(axisPosition) {
746
+ this.axisPosition = axisPosition;
747
+ this.setRange(this.range);
748
+ }
749
+ getTickDistance() {
750
+ const range = this.getRange();
751
+ return Math.abs(range[0] - range[1]) / this.getTickValues().length;
752
+ }
753
+ getAxisOuterPadding() {
754
+ return this.outerPadding;
755
+ }
756
+ getLabelDimension() {
757
+ return this.textDimensionCalculator.getMaxDimension(
758
+ this.getTickValues().map((tick) => tick.toString()),
759
+ this.axisConfig.labelFontSize
760
+ );
761
+ }
762
+ recalculateOuterPaddingToDrawBar() {
763
+ if (BAR_WIDTH_TO_TICK_WIDTH_RATIO * this.getTickDistance() > this.outerPadding * 2) {
764
+ this.outerPadding = Math.floor(BAR_WIDTH_TO_TICK_WIDTH_RATIO * this.getTickDistance() / 2);
765
+ }
766
+ this.recalculateScale();
767
+ }
768
+ calculateSpaceIfDrawnHorizontally(availableSpace) {
769
+ let availableHeight = availableSpace.height;
770
+ if (this.axisConfig.showAxisLine && availableHeight > this.axisConfig.axisLineWidth) {
771
+ availableHeight -= this.axisConfig.axisLineWidth;
772
+ this.showAxisLine = true;
773
+ }
774
+ if (this.axisConfig.showLabel) {
775
+ const spaceRequired = this.getLabelDimension();
776
+ const maxPadding = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * availableSpace.width;
777
+ this.outerPadding = Math.min(spaceRequired.width / 2, maxPadding);
778
+ const heightRequired = spaceRequired.height + this.axisConfig.labelPadding * 2;
779
+ this.labelTextHeight = spaceRequired.height;
780
+ if (heightRequired <= availableHeight) {
781
+ availableHeight -= heightRequired;
782
+ this.showLabel = true;
783
+ }
784
+ }
785
+ if (this.axisConfig.showTick && availableHeight >= this.axisConfig.tickLength) {
786
+ this.showTick = true;
787
+ availableHeight -= this.axisConfig.tickLength;
788
+ }
789
+ if (this.axisConfig.showTitle && this.title) {
790
+ const spaceRequired = this.textDimensionCalculator.getMaxDimension(
791
+ [this.title],
792
+ this.axisConfig.titleFontSize
793
+ );
794
+ const heightRequired = spaceRequired.height + this.axisConfig.titlePadding * 2;
795
+ this.titleTextHeight = spaceRequired.height;
796
+ if (heightRequired <= availableHeight) {
797
+ availableHeight -= heightRequired;
798
+ this.showTitle = true;
799
+ }
800
+ }
801
+ this.boundingRect.width = availableSpace.width;
802
+ this.boundingRect.height = availableSpace.height - availableHeight;
803
+ }
804
+ calculateSpaceIfDrawnVertical(availableSpace) {
805
+ let availableWidth = availableSpace.width;
806
+ if (this.axisConfig.showAxisLine && availableWidth > this.axisConfig.axisLineWidth) {
807
+ availableWidth -= this.axisConfig.axisLineWidth;
808
+ this.showAxisLine = true;
809
+ }
810
+ if (this.axisConfig.showLabel) {
811
+ const spaceRequired = this.getLabelDimension();
812
+ const maxPadding = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * availableSpace.height;
813
+ this.outerPadding = Math.min(spaceRequired.height / 2, maxPadding);
814
+ const widthRequired = spaceRequired.width + this.axisConfig.labelPadding * 2;
815
+ if (widthRequired <= availableWidth) {
816
+ availableWidth -= widthRequired;
817
+ this.showLabel = true;
818
+ }
819
+ }
820
+ if (this.axisConfig.showTick && availableWidth >= this.axisConfig.tickLength) {
821
+ this.showTick = true;
822
+ availableWidth -= this.axisConfig.tickLength;
823
+ }
824
+ if (this.axisConfig.showTitle && this.title) {
825
+ const spaceRequired = this.textDimensionCalculator.getMaxDimension(
826
+ [this.title],
827
+ this.axisConfig.titleFontSize
828
+ );
829
+ const widthRequired = spaceRequired.height + this.axisConfig.titlePadding * 2;
830
+ this.titleTextHeight = spaceRequired.height;
831
+ if (widthRequired <= availableWidth) {
832
+ availableWidth -= widthRequired;
833
+ this.showTitle = true;
834
+ }
835
+ }
836
+ this.boundingRect.width = availableSpace.width - availableWidth;
837
+ this.boundingRect.height = availableSpace.height;
838
+ }
839
+ calculateSpace(availableSpace) {
840
+ if (this.axisPosition === "left" || this.axisPosition === "right") {
841
+ this.calculateSpaceIfDrawnVertical(availableSpace);
842
+ } else {
843
+ this.calculateSpaceIfDrawnHorizontally(availableSpace);
844
+ }
845
+ this.recalculateScale();
846
+ return {
847
+ width: this.boundingRect.width,
848
+ height: this.boundingRect.height
849
+ };
850
+ }
851
+ setBoundingBoxXY(point) {
852
+ this.boundingRect.x = point.x;
853
+ this.boundingRect.y = point.y;
854
+ }
855
+ getDrawableElementsForLeftAxis() {
856
+ const drawableElement = [];
857
+ if (this.showAxisLine) {
858
+ const x = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
859
+ drawableElement.push({
860
+ type: "path",
861
+ groupTexts: ["left-axis", "axisl-line"],
862
+ data: [
863
+ {
864
+ path: `M ${x},${this.boundingRect.y} L ${x},${this.boundingRect.y + this.boundingRect.height} `,
865
+ strokeFill: this.axisThemeConfig.axisLineColor,
866
+ strokeWidth: this.axisConfig.axisLineWidth
867
+ }
868
+ ]
869
+ });
870
+ }
871
+ if (this.showLabel) {
872
+ drawableElement.push({
873
+ type: "text",
874
+ groupTexts: ["left-axis", "label"],
875
+ data: this.getTickValues().map((tick) => ({
876
+ text: tick.toString(),
877
+ x: this.boundingRect.x + this.boundingRect.width - (this.showLabel ? this.axisConfig.labelPadding : 0) - (this.showTick ? this.axisConfig.tickLength : 0) - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
878
+ y: this.getScaleValue(tick),
879
+ fill: this.axisThemeConfig.labelColor,
880
+ fontSize: this.axisConfig.labelFontSize,
881
+ rotation: 0,
882
+ verticalPos: "middle",
883
+ horizontalPos: "right"
884
+ }))
885
+ });
886
+ }
887
+ if (this.showTick) {
888
+ const x = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
889
+ drawableElement.push({
890
+ type: "path",
891
+ groupTexts: ["left-axis", "ticks"],
892
+ data: this.getTickValues().map((tick) => ({
893
+ path: `M ${x},${this.getScaleValue(tick)} L ${x - this.axisConfig.tickLength},${this.getScaleValue(tick)}`,
894
+ strokeFill: this.axisThemeConfig.tickColor,
895
+ strokeWidth: this.axisConfig.tickWidth
896
+ }))
897
+ });
898
+ }
899
+ if (this.showTitle) {
900
+ drawableElement.push({
901
+ type: "text",
902
+ groupTexts: ["left-axis", "title"],
903
+ data: [
904
+ {
905
+ text: this.title,
906
+ x: this.boundingRect.x + this.axisConfig.titlePadding,
907
+ y: this.boundingRect.y + this.boundingRect.height / 2,
908
+ fill: this.axisThemeConfig.titleColor,
909
+ fontSize: this.axisConfig.titleFontSize,
910
+ rotation: 270,
911
+ verticalPos: "top",
912
+ horizontalPos: "center"
913
+ }
914
+ ]
915
+ });
916
+ }
917
+ return drawableElement;
918
+ }
919
+ getDrawableElementsForBottomAxis() {
920
+ const drawableElement = [];
921
+ if (this.showAxisLine) {
922
+ const y = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
923
+ drawableElement.push({
924
+ type: "path",
925
+ groupTexts: ["bottom-axis", "axis-line"],
926
+ data: [
927
+ {
928
+ path: `M ${this.boundingRect.x},${y} L ${this.boundingRect.x + this.boundingRect.width},${y}`,
929
+ strokeFill: this.axisThemeConfig.axisLineColor,
930
+ strokeWidth: this.axisConfig.axisLineWidth
931
+ }
932
+ ]
933
+ });
934
+ }
935
+ if (this.showLabel) {
936
+ drawableElement.push({
937
+ type: "text",
938
+ groupTexts: ["bottom-axis", "label"],
939
+ data: this.getTickValues().map((tick) => ({
940
+ text: tick.toString(),
941
+ x: this.getScaleValue(tick),
942
+ y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
943
+ fill: this.axisThemeConfig.labelColor,
944
+ fontSize: this.axisConfig.labelFontSize,
945
+ rotation: 0,
946
+ verticalPos: "top",
947
+ horizontalPos: "center"
948
+ }))
949
+ });
950
+ }
951
+ if (this.showTick) {
952
+ const y = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
953
+ drawableElement.push({
954
+ type: "path",
955
+ groupTexts: ["bottom-axis", "ticks"],
956
+ data: this.getTickValues().map((tick) => ({
957
+ path: `M ${this.getScaleValue(tick)},${y} L ${this.getScaleValue(tick)},${y + this.axisConfig.tickLength}`,
958
+ strokeFill: this.axisThemeConfig.tickColor,
959
+ strokeWidth: this.axisConfig.tickWidth
960
+ }))
961
+ });
962
+ }
963
+ if (this.showTitle) {
964
+ drawableElement.push({
965
+ type: "text",
966
+ groupTexts: ["bottom-axis", "title"],
967
+ data: [
968
+ {
969
+ text: this.title,
970
+ x: this.range[0] + (this.range[1] - this.range[0]) / 2,
971
+ y: this.boundingRect.y + this.boundingRect.height - this.axisConfig.titlePadding - this.titleTextHeight,
972
+ fill: this.axisThemeConfig.titleColor,
973
+ fontSize: this.axisConfig.titleFontSize,
974
+ rotation: 0,
975
+ verticalPos: "top",
976
+ horizontalPos: "center"
977
+ }
978
+ ]
979
+ });
980
+ }
981
+ return drawableElement;
982
+ }
983
+ getDrawableElementsForTopAxis() {
984
+ const drawableElement = [];
985
+ if (this.showAxisLine) {
986
+ const y = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
987
+ drawableElement.push({
988
+ type: "path",
989
+ groupTexts: ["top-axis", "axis-line"],
990
+ data: [
991
+ {
992
+ path: `M ${this.boundingRect.x},${y} L ${this.boundingRect.x + this.boundingRect.width},${y}`,
993
+ strokeFill: this.axisThemeConfig.axisLineColor,
994
+ strokeWidth: this.axisConfig.axisLineWidth
995
+ }
996
+ ]
997
+ });
998
+ }
999
+ if (this.showLabel) {
1000
+ drawableElement.push({
1001
+ type: "text",
1002
+ groupTexts: ["top-axis", "label"],
1003
+ data: this.getTickValues().map((tick) => ({
1004
+ text: tick.toString(),
1005
+ x: this.getScaleValue(tick),
1006
+ y: this.boundingRect.y + (this.showTitle ? this.titleTextHeight + this.axisConfig.titlePadding * 2 : 0) + this.axisConfig.labelPadding,
1007
+ fill: this.axisThemeConfig.labelColor,
1008
+ fontSize: this.axisConfig.labelFontSize,
1009
+ rotation: 0,
1010
+ verticalPos: "top",
1011
+ horizontalPos: "center"
1012
+ }))
1013
+ });
1014
+ }
1015
+ if (this.showTick) {
1016
+ const y = this.boundingRect.y;
1017
+ drawableElement.push({
1018
+ type: "path",
1019
+ groupTexts: ["top-axis", "ticks"],
1020
+ data: this.getTickValues().map((tick) => ({
1021
+ path: `M ${this.getScaleValue(tick)},${y + this.boundingRect.height - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)} L ${this.getScaleValue(tick)},${y + this.boundingRect.height - this.axisConfig.tickLength - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)}`,
1022
+ strokeFill: this.axisThemeConfig.tickColor,
1023
+ strokeWidth: this.axisConfig.tickWidth
1024
+ }))
1025
+ });
1026
+ }
1027
+ if (this.showTitle) {
1028
+ drawableElement.push({
1029
+ type: "text",
1030
+ groupTexts: ["top-axis", "title"],
1031
+ data: [
1032
+ {
1033
+ text: this.title,
1034
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1035
+ y: this.boundingRect.y + this.axisConfig.titlePadding,
1036
+ fill: this.axisThemeConfig.titleColor,
1037
+ fontSize: this.axisConfig.titleFontSize,
1038
+ rotation: 0,
1039
+ verticalPos: "top",
1040
+ horizontalPos: "center"
1041
+ }
1042
+ ]
1043
+ });
1044
+ }
1045
+ return drawableElement;
1046
+ }
1047
+ getDrawableElements() {
1048
+ if (this.axisPosition === "left") {
1049
+ return this.getDrawableElementsForLeftAxis();
1050
+ }
1051
+ if (this.axisPosition === "right") {
1052
+ throw Error("Drawing of right axis is not implemented");
1053
+ }
1054
+ if (this.axisPosition === "bottom") {
1055
+ return this.getDrawableElementsForBottomAxis();
1056
+ }
1057
+ if (this.axisPosition === "top") {
1058
+ return this.getDrawableElementsForTopAxis();
1059
+ }
1060
+ return [];
1061
+ }
1062
+ }, __name(_b, "BaseAxis"), _b);
1063
+ var BandAxis = (_c = class extends BaseAxis {
1064
+ constructor(axisConfig, axisThemeConfig, categories, title, textDimensionCalculator) {
1065
+ super(axisConfig, title, textDimensionCalculator, axisThemeConfig);
1066
+ this.categories = categories;
1067
+ this.scale = band().domain(this.categories).range(this.getRange());
1068
+ }
1069
+ setRange(range) {
1070
+ super.setRange(range);
1071
+ }
1072
+ recalculateScale() {
1073
+ this.scale = band().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5);
1074
+ log.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
1075
+ }
1076
+ getTickValues() {
1077
+ return this.categories;
1078
+ }
1079
+ getScaleValue(value) {
1080
+ return this.scale(value) ?? this.getRange()[0];
1081
+ }
1082
+ }, __name(_c, "BandAxis"), _c);
1083
+ var LinearAxis = (_d = class extends BaseAxis {
1084
+ constructor(axisConfig, axisThemeConfig, domain, title, textDimensionCalculator) {
1085
+ super(axisConfig, title, textDimensionCalculator, axisThemeConfig);
1086
+ this.domain = domain;
1087
+ this.scale = linear().domain(this.domain).range(this.getRange());
1088
+ }
1089
+ getTickValues() {
1090
+ return this.scale.ticks();
1091
+ }
1092
+ recalculateScale() {
1093
+ const domain = [...this.domain];
1094
+ if (this.axisPosition === "left") {
1095
+ domain.reverse();
1096
+ }
1097
+ this.scale = linear().domain(domain).range(this.getRange());
1098
+ }
1099
+ getScaleValue(value) {
1100
+ return this.scale(value);
1101
+ }
1102
+ }, __name(_d, "LinearAxis"), _d);
1103
+ function getAxis(data, axisConfig, axisThemeConfig, tmpSVGGroup2) {
1104
+ const textDimensionCalculator = new TextDimensionCalculatorWithFont(tmpSVGGroup2);
1105
+ if (isBandAxisData(data)) {
1106
+ return new BandAxis(
1107
+ axisConfig,
1108
+ axisThemeConfig,
1109
+ data.categories,
1110
+ data.title,
1111
+ textDimensionCalculator
1112
+ );
1113
+ }
1114
+ return new LinearAxis(
1115
+ axisConfig,
1116
+ axisThemeConfig,
1117
+ [data.min, data.max],
1118
+ data.title,
1119
+ textDimensionCalculator
1120
+ );
1121
+ }
1122
+ __name(getAxis, "getAxis");
1123
+ var ChartTitle = (_e = class {
1124
+ constructor(textDimensionCalculator, chartConfig, chartData, chartThemeConfig) {
1125
+ this.textDimensionCalculator = textDimensionCalculator;
1126
+ this.chartConfig = chartConfig;
1127
+ this.chartData = chartData;
1128
+ this.chartThemeConfig = chartThemeConfig;
1129
+ this.boundingRect = {
1130
+ x: 0,
1131
+ y: 0,
1132
+ width: 0,
1133
+ height: 0
1134
+ };
1135
+ this.showChartTitle = false;
1136
+ }
1137
+ setBoundingBoxXY(point) {
1138
+ this.boundingRect.x = point.x;
1139
+ this.boundingRect.y = point.y;
1140
+ }
1141
+ calculateSpace(availableSpace) {
1142
+ const titleDimension = this.textDimensionCalculator.getMaxDimension(
1143
+ [this.chartData.title],
1144
+ this.chartConfig.titleFontSize
1145
+ );
1146
+ const widthRequired = Math.max(titleDimension.width, availableSpace.width);
1147
+ const heightRequired = titleDimension.height + 2 * this.chartConfig.titlePadding;
1148
+ if (titleDimension.width <= widthRequired && titleDimension.height <= heightRequired && this.chartConfig.showTitle && this.chartData.title) {
1149
+ this.boundingRect.width = widthRequired;
1150
+ this.boundingRect.height = heightRequired;
1151
+ this.showChartTitle = true;
1152
+ }
1153
+ return {
1154
+ width: this.boundingRect.width,
1155
+ height: this.boundingRect.height
1156
+ };
1157
+ }
1158
+ getDrawableElements() {
1159
+ const drawableElem = [];
1160
+ if (this.showChartTitle) {
1161
+ drawableElem.push({
1162
+ groupTexts: ["chart-title"],
1163
+ type: "text",
1164
+ data: [
1165
+ {
1166
+ fontSize: this.chartConfig.titleFontSize,
1167
+ text: this.chartData.title,
1168
+ verticalPos: "middle",
1169
+ horizontalPos: "center",
1170
+ x: this.boundingRect.x + this.boundingRect.width / 2,
1171
+ y: this.boundingRect.y + this.boundingRect.height / 2,
1172
+ fill: this.chartThemeConfig.titleColor,
1173
+ rotation: 0
1174
+ }
1175
+ ]
1176
+ });
1177
+ }
1178
+ return drawableElem;
1179
+ }
1180
+ }, __name(_e, "ChartTitle"), _e);
1181
+ function getChartTitleComponent(chartConfig, chartData, chartThemeConfig, tmpSVGGroup2) {
1182
+ const textDimensionCalculator = new TextDimensionCalculatorWithFont(tmpSVGGroup2);
1183
+ return new ChartTitle(textDimensionCalculator, chartConfig, chartData, chartThemeConfig);
1184
+ }
1185
+ __name(getChartTitleComponent, "getChartTitleComponent");
1186
+ var LinePlot = (_f = class {
1187
+ constructor(plotData, xAxis, yAxis, orientation, plotIndex2) {
1188
+ this.plotData = plotData;
1189
+ this.xAxis = xAxis;
1190
+ this.yAxis = yAxis;
1191
+ this.orientation = orientation;
1192
+ this.plotIndex = plotIndex2;
1193
+ }
1194
+ getDrawableElement() {
1195
+ const finalData = this.plotData.data.map((d) => [
1196
+ this.xAxis.getScaleValue(d[0]),
1197
+ this.yAxis.getScaleValue(d[1])
1198
+ ]);
1199
+ let path;
1200
+ if (this.orientation === "horizontal") {
1201
+ path = line().y((d) => d[0]).x((d) => d[1])(finalData);
1202
+ } else {
1203
+ path = line().x((d) => d[0]).y((d) => d[1])(finalData);
1204
+ }
1205
+ if (!path) {
1206
+ return [];
1207
+ }
1208
+ return [
1209
+ {
1210
+ groupTexts: ["plot", `line-plot-${this.plotIndex}`],
1211
+ type: "path",
1212
+ data: [
1213
+ {
1214
+ path,
1215
+ strokeFill: this.plotData.strokeFill,
1216
+ strokeWidth: this.plotData.strokeWidth
1217
+ }
1218
+ ]
1219
+ }
1220
+ ];
1221
+ }
1222
+ }, __name(_f, "LinePlot"), _f);
1223
+ var BarPlot = (_g = class {
1224
+ constructor(barData, boundingRect, xAxis, yAxis, orientation, plotIndex2) {
1225
+ this.barData = barData;
1226
+ this.boundingRect = boundingRect;
1227
+ this.xAxis = xAxis;
1228
+ this.yAxis = yAxis;
1229
+ this.orientation = orientation;
1230
+ this.plotIndex = plotIndex2;
1231
+ }
1232
+ getDrawableElement() {
1233
+ const finalData = this.barData.data.map((d) => [
1234
+ this.xAxis.getScaleValue(d[0]),
1235
+ this.yAxis.getScaleValue(d[1])
1236
+ ]);
1237
+ const barPaddingPercent = 0.05;
1238
+ const barWidth = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * (1 - barPaddingPercent);
1239
+ const barWidthHalf = barWidth / 2;
1240
+ if (this.orientation === "horizontal") {
1241
+ return [
1242
+ {
1243
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1244
+ type: "rect",
1245
+ data: finalData.map((data) => ({
1246
+ x: this.boundingRect.x,
1247
+ y: data[0] - barWidthHalf,
1248
+ height: barWidth,
1249
+ width: data[1] - this.boundingRect.x,
1250
+ fill: this.barData.fill,
1251
+ strokeWidth: 0,
1252
+ strokeFill: this.barData.fill
1253
+ }))
1254
+ }
1255
+ ];
1256
+ }
1257
+ return [
1258
+ {
1259
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
1260
+ type: "rect",
1261
+ data: finalData.map((data) => ({
1262
+ x: data[0] - barWidthHalf,
1263
+ y: data[1],
1264
+ width: barWidth,
1265
+ height: this.boundingRect.y + this.boundingRect.height - data[1],
1266
+ fill: this.barData.fill,
1267
+ strokeWidth: 0,
1268
+ strokeFill: this.barData.fill
1269
+ }))
1270
+ }
1271
+ ];
1272
+ }
1273
+ }, __name(_g, "BarPlot"), _g);
1274
+ var BasePlot = (_h = class {
1275
+ constructor(chartConfig, chartData, chartThemeConfig) {
1276
+ this.chartConfig = chartConfig;
1277
+ this.chartData = chartData;
1278
+ this.chartThemeConfig = chartThemeConfig;
1279
+ this.boundingRect = {
1280
+ x: 0,
1281
+ y: 0,
1282
+ width: 0,
1283
+ height: 0
1284
+ };
1285
+ }
1286
+ setAxes(xAxis, yAxis) {
1287
+ this.xAxis = xAxis;
1288
+ this.yAxis = yAxis;
1289
+ }
1290
+ setBoundingBoxXY(point) {
1291
+ this.boundingRect.x = point.x;
1292
+ this.boundingRect.y = point.y;
1293
+ }
1294
+ calculateSpace(availableSpace) {
1295
+ this.boundingRect.width = availableSpace.width;
1296
+ this.boundingRect.height = availableSpace.height;
1297
+ return {
1298
+ width: this.boundingRect.width,
1299
+ height: this.boundingRect.height
1300
+ };
1301
+ }
1302
+ getDrawableElements() {
1303
+ if (!(this.xAxis && this.yAxis)) {
1304
+ throw Error("Axes must be passed to render Plots");
1305
+ }
1306
+ const drawableElem = [];
1307
+ for (const [i, plot] of this.chartData.plots.entries()) {
1308
+ switch (plot.type) {
1309
+ case "line":
1310
+ {
1311
+ const linePlot = new LinePlot(
1312
+ plot,
1313
+ this.xAxis,
1314
+ this.yAxis,
1315
+ this.chartConfig.chartOrientation,
1316
+ i
1317
+ );
1318
+ drawableElem.push(...linePlot.getDrawableElement());
1319
+ }
1320
+ break;
1321
+ case "bar":
1322
+ {
1323
+ const barPlot = new BarPlot(
1324
+ plot,
1325
+ this.boundingRect,
1326
+ this.xAxis,
1327
+ this.yAxis,
1328
+ this.chartConfig.chartOrientation,
1329
+ i
1330
+ );
1331
+ drawableElem.push(...barPlot.getDrawableElement());
1332
+ }
1333
+ break;
1334
+ }
1335
+ }
1336
+ return drawableElem;
1337
+ }
1338
+ }, __name(_h, "BasePlot"), _h);
1339
+ function getPlotComponent(chartConfig, chartData, chartThemeConfig) {
1340
+ return new BasePlot(chartConfig, chartData, chartThemeConfig);
1341
+ }
1342
+ __name(getPlotComponent, "getPlotComponent");
1343
+ var Orchestrator = (_i = class {
1344
+ constructor(chartConfig, chartData, chartThemeConfig, tmpSVGGroup2) {
1345
+ this.chartConfig = chartConfig;
1346
+ this.chartData = chartData;
1347
+ this.componentStore = {
1348
+ title: getChartTitleComponent(chartConfig, chartData, chartThemeConfig, tmpSVGGroup2),
1349
+ plot: getPlotComponent(chartConfig, chartData, chartThemeConfig),
1350
+ xAxis: getAxis(
1351
+ chartData.xAxis,
1352
+ chartConfig.xAxis,
1353
+ {
1354
+ titleColor: chartThemeConfig.xAxisTitleColor,
1355
+ labelColor: chartThemeConfig.xAxisLabelColor,
1356
+ tickColor: chartThemeConfig.xAxisTickColor,
1357
+ axisLineColor: chartThemeConfig.xAxisLineColor
1358
+ },
1359
+ tmpSVGGroup2
1360
+ ),
1361
+ yAxis: getAxis(
1362
+ chartData.yAxis,
1363
+ chartConfig.yAxis,
1364
+ {
1365
+ titleColor: chartThemeConfig.yAxisTitleColor,
1366
+ labelColor: chartThemeConfig.yAxisLabelColor,
1367
+ tickColor: chartThemeConfig.yAxisTickColor,
1368
+ axisLineColor: chartThemeConfig.yAxisLineColor
1369
+ },
1370
+ tmpSVGGroup2
1371
+ )
1372
+ };
1373
+ }
1374
+ calculateVerticalSpace() {
1375
+ let availableWidth = this.chartConfig.width;
1376
+ let availableHeight = this.chartConfig.height;
1377
+ let plotX = 0;
1378
+ let plotY = 0;
1379
+ let chartWidth = Math.floor(availableWidth * this.chartConfig.plotReservedSpacePercent / 100);
1380
+ let chartHeight = Math.floor(
1381
+ availableHeight * this.chartConfig.plotReservedSpacePercent / 100
1382
+ );
1383
+ let spaceUsed = this.componentStore.plot.calculateSpace({
1384
+ width: chartWidth,
1385
+ height: chartHeight
1386
+ });
1387
+ availableWidth -= spaceUsed.width;
1388
+ availableHeight -= spaceUsed.height;
1389
+ spaceUsed = this.componentStore.title.calculateSpace({
1390
+ width: this.chartConfig.width,
1391
+ height: availableHeight
1392
+ });
1393
+ plotY = spaceUsed.height;
1394
+ availableHeight -= spaceUsed.height;
1395
+ this.componentStore.xAxis.setAxisPosition("bottom");
1396
+ spaceUsed = this.componentStore.xAxis.calculateSpace({
1397
+ width: availableWidth,
1398
+ height: availableHeight
1399
+ });
1400
+ availableHeight -= spaceUsed.height;
1401
+ this.componentStore.yAxis.setAxisPosition("left");
1402
+ spaceUsed = this.componentStore.yAxis.calculateSpace({
1403
+ width: availableWidth,
1404
+ height: availableHeight
1405
+ });
1406
+ plotX = spaceUsed.width;
1407
+ availableWidth -= spaceUsed.width;
1408
+ if (availableWidth > 0) {
1409
+ chartWidth += availableWidth;
1410
+ availableWidth = 0;
1411
+ }
1412
+ if (availableHeight > 0) {
1413
+ chartHeight += availableHeight;
1414
+ availableHeight = 0;
1415
+ }
1416
+ this.componentStore.plot.calculateSpace({
1417
+ width: chartWidth,
1418
+ height: chartHeight
1419
+ });
1420
+ this.componentStore.plot.setBoundingBoxXY({ x: plotX, y: plotY });
1421
+ this.componentStore.xAxis.setRange([plotX, plotX + chartWidth]);
1422
+ this.componentStore.xAxis.setBoundingBoxXY({ x: plotX, y: plotY + chartHeight });
1423
+ this.componentStore.yAxis.setRange([plotY, plotY + chartHeight]);
1424
+ this.componentStore.yAxis.setBoundingBoxXY({ x: 0, y: plotY });
1425
+ if (this.chartData.plots.some((p) => isBarPlot(p))) {
1426
+ this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1427
+ }
1428
+ }
1429
+ calculateHorizontalSpace() {
1430
+ let availableWidth = this.chartConfig.width;
1431
+ let availableHeight = this.chartConfig.height;
1432
+ let titleYEnd = 0;
1433
+ let plotX = 0;
1434
+ let plotY = 0;
1435
+ let chartWidth = Math.floor(availableWidth * this.chartConfig.plotReservedSpacePercent / 100);
1436
+ let chartHeight = Math.floor(
1437
+ availableHeight * this.chartConfig.plotReservedSpacePercent / 100
1438
+ );
1439
+ let spaceUsed = this.componentStore.plot.calculateSpace({
1440
+ width: chartWidth,
1441
+ height: chartHeight
1442
+ });
1443
+ availableWidth -= spaceUsed.width;
1444
+ availableHeight -= spaceUsed.height;
1445
+ spaceUsed = this.componentStore.title.calculateSpace({
1446
+ width: this.chartConfig.width,
1447
+ height: availableHeight
1448
+ });
1449
+ titleYEnd = spaceUsed.height;
1450
+ availableHeight -= spaceUsed.height;
1451
+ this.componentStore.xAxis.setAxisPosition("left");
1452
+ spaceUsed = this.componentStore.xAxis.calculateSpace({
1453
+ width: availableWidth,
1454
+ height: availableHeight
1455
+ });
1456
+ availableWidth -= spaceUsed.width;
1457
+ plotX = spaceUsed.width;
1458
+ this.componentStore.yAxis.setAxisPosition("top");
1459
+ spaceUsed = this.componentStore.yAxis.calculateSpace({
1460
+ width: availableWidth,
1461
+ height: availableHeight
1462
+ });
1463
+ availableHeight -= spaceUsed.height;
1464
+ plotY = titleYEnd + spaceUsed.height;
1465
+ if (availableWidth > 0) {
1466
+ chartWidth += availableWidth;
1467
+ availableWidth = 0;
1468
+ }
1469
+ if (availableHeight > 0) {
1470
+ chartHeight += availableHeight;
1471
+ availableHeight = 0;
1472
+ }
1473
+ this.componentStore.plot.calculateSpace({
1474
+ width: chartWidth,
1475
+ height: chartHeight
1476
+ });
1477
+ this.componentStore.plot.setBoundingBoxXY({ x: plotX, y: plotY });
1478
+ this.componentStore.yAxis.setRange([plotX, plotX + chartWidth]);
1479
+ this.componentStore.yAxis.setBoundingBoxXY({ x: plotX, y: titleYEnd });
1480
+ this.componentStore.xAxis.setRange([plotY, plotY + chartHeight]);
1481
+ this.componentStore.xAxis.setBoundingBoxXY({ x: 0, y: plotY });
1482
+ if (this.chartData.plots.some((p) => isBarPlot(p))) {
1483
+ this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1484
+ }
1485
+ }
1486
+ calculateSpace() {
1487
+ if (this.chartConfig.chartOrientation === "horizontal") {
1488
+ this.calculateHorizontalSpace();
1489
+ } else {
1490
+ this.calculateVerticalSpace();
1491
+ }
1492
+ }
1493
+ getDrawableElement() {
1494
+ this.calculateSpace();
1495
+ const drawableElem = [];
1496
+ this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
1497
+ for (const component of Object.values(this.componentStore)) {
1498
+ drawableElem.push(...component.getDrawableElements());
1499
+ }
1500
+ return drawableElem;
1501
+ }
1502
+ }, __name(_i, "Orchestrator"), _i);
1503
+ var XYChartBuilder = (_j = class {
1504
+ static build(config, chartData, chartThemeConfig, tmpSVGGroup2) {
1505
+ const orchestrator = new Orchestrator(config, chartData, chartThemeConfig, tmpSVGGroup2);
1506
+ return orchestrator.getDrawableElement();
1507
+ }
1508
+ }, __name(_j, "XYChartBuilder"), _j);
1509
+ var plotIndex = 0;
1510
+ var tmpSVGGroup;
1511
+ var xyChartConfig = getChartDefaultConfig();
1512
+ var xyChartThemeConfig = getChartDefaultThemeConfig();
1513
+ var xyChartData = getChartDefaultData();
1514
+ var plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((color) => color.trim());
1515
+ var hasSetXAxis = false;
1516
+ var hasSetYAxis = false;
1517
+ function getChartDefaultThemeConfig() {
1518
+ const defaultThemeVariables = getThemeVariables3();
1519
+ const config = getConfig();
1520
+ return cleanAndMerge(defaultThemeVariables.xyChart, config.themeVariables.xyChart);
1521
+ }
1522
+ __name(getChartDefaultThemeConfig, "getChartDefaultThemeConfig");
1523
+ function getChartDefaultConfig() {
1524
+ const config = getConfig();
1525
+ return cleanAndMerge(
1526
+ defaultConfig_default.xyChart,
1527
+ config.xyChart
1528
+ );
1529
+ }
1530
+ __name(getChartDefaultConfig, "getChartDefaultConfig");
1531
+ function getChartDefaultData() {
1532
+ return {
1533
+ yAxis: {
1534
+ type: "linear",
1535
+ title: "",
1536
+ min: Infinity,
1537
+ max: -Infinity
1538
+ },
1539
+ xAxis: {
1540
+ type: "band",
1541
+ title: "",
1542
+ categories: []
1543
+ },
1544
+ title: "",
1545
+ plots: []
1546
+ };
1547
+ }
1548
+ __name(getChartDefaultData, "getChartDefaultData");
1549
+ function textSanitizer(text) {
1550
+ const config = getConfig();
1551
+ return sanitizeText(text.trim(), config);
1552
+ }
1553
+ __name(textSanitizer, "textSanitizer");
1554
+ function setTmpSVGG(SVGG) {
1555
+ tmpSVGGroup = SVGG;
1556
+ }
1557
+ __name(setTmpSVGG, "setTmpSVGG");
1558
+ function setOrientation(orientation) {
1559
+ if (orientation === "horizontal") {
1560
+ xyChartConfig.chartOrientation = "horizontal";
1561
+ } else {
1562
+ xyChartConfig.chartOrientation = "vertical";
1563
+ }
1564
+ }
1565
+ __name(setOrientation, "setOrientation");
1566
+ function setXAxisTitle(title) {
1567
+ xyChartData.xAxis.title = textSanitizer(title.text);
1568
+ }
1569
+ __name(setXAxisTitle, "setXAxisTitle");
1570
+ function setXAxisRangeData(min, max) {
1571
+ xyChartData.xAxis = { type: "linear", title: xyChartData.xAxis.title, min, max };
1572
+ hasSetXAxis = true;
1573
+ }
1574
+ __name(setXAxisRangeData, "setXAxisRangeData");
1575
+ function setXAxisBand(categories) {
1576
+ xyChartData.xAxis = {
1577
+ type: "band",
1578
+ title: xyChartData.xAxis.title,
1579
+ categories: categories.map((c) => textSanitizer(c.text))
1580
+ };
1581
+ hasSetXAxis = true;
1582
+ }
1583
+ __name(setXAxisBand, "setXAxisBand");
1584
+ function setYAxisTitle(title) {
1585
+ xyChartData.yAxis.title = textSanitizer(title.text);
1586
+ }
1587
+ __name(setYAxisTitle, "setYAxisTitle");
1588
+ function setYAxisRangeData(min, max) {
1589
+ xyChartData.yAxis = { type: "linear", title: xyChartData.yAxis.title, min, max };
1590
+ hasSetYAxis = true;
1591
+ }
1592
+ __name(setYAxisRangeData, "setYAxisRangeData");
1593
+ function setYAxisRangeFromPlotData(data) {
1594
+ const minValue = Math.min(...data);
1595
+ const maxValue = Math.max(...data);
1596
+ const prevMinValue = isLinearAxisData(xyChartData.yAxis) ? xyChartData.yAxis.min : Infinity;
1597
+ const prevMaxValue = isLinearAxisData(xyChartData.yAxis) ? xyChartData.yAxis.max : -Infinity;
1598
+ xyChartData.yAxis = {
1599
+ type: "linear",
1600
+ title: xyChartData.yAxis.title,
1601
+ min: Math.min(prevMinValue, minValue),
1602
+ max: Math.max(prevMaxValue, maxValue)
1603
+ };
1604
+ }
1605
+ __name(setYAxisRangeFromPlotData, "setYAxisRangeFromPlotData");
1606
+ function transformDataWithoutCategory(data) {
1607
+ let retData = [];
1608
+ if (data.length === 0) {
1609
+ return retData;
1610
+ }
1611
+ if (!hasSetXAxis) {
1612
+ const prevMinValue = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.min : Infinity;
1613
+ const prevMaxValue = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.max : -Infinity;
1614
+ setXAxisRangeData(Math.min(prevMinValue, 1), Math.max(prevMaxValue, data.length));
1615
+ }
1616
+ if (!hasSetYAxis) {
1617
+ setYAxisRangeFromPlotData(data);
1618
+ }
1619
+ if (isBandAxisData(xyChartData.xAxis)) {
1620
+ retData = xyChartData.xAxis.categories.map((c, i) => [c, data[i]]);
1621
+ }
1622
+ if (isLinearAxisData(xyChartData.xAxis)) {
1623
+ const min = xyChartData.xAxis.min;
1624
+ const max = xyChartData.xAxis.max;
1625
+ const step = (max - min) / (data.length - 1);
1626
+ const categories = [];
1627
+ for (let i = min; i <= max; i += step) {
1628
+ categories.push(`${i}`);
1629
+ }
1630
+ retData = categories.map((c, i) => [c, data[i]]);
1631
+ }
1632
+ return retData;
1633
+ }
1634
+ __name(transformDataWithoutCategory, "transformDataWithoutCategory");
1635
+ function getPlotColorFromPalette(plotIndex2) {
1636
+ return plotColorPalette[plotIndex2 === 0 ? 0 : plotIndex2 % plotColorPalette.length];
1637
+ }
1638
+ __name(getPlotColorFromPalette, "getPlotColorFromPalette");
1639
+ function setLineData(title, data) {
1640
+ const plotData = transformDataWithoutCategory(data);
1641
+ xyChartData.plots.push({
1642
+ type: "line",
1643
+ strokeFill: getPlotColorFromPalette(plotIndex),
1644
+ strokeWidth: 2,
1645
+ data: plotData
1646
+ });
1647
+ plotIndex++;
1648
+ }
1649
+ __name(setLineData, "setLineData");
1650
+ function setBarData(title, data) {
1651
+ const plotData = transformDataWithoutCategory(data);
1652
+ xyChartData.plots.push({
1653
+ type: "bar",
1654
+ fill: getPlotColorFromPalette(plotIndex),
1655
+ data: plotData
1656
+ });
1657
+ plotIndex++;
1658
+ }
1659
+ __name(setBarData, "setBarData");
1660
+ function getDrawableElem() {
1661
+ if (xyChartData.plots.length === 0) {
1662
+ throw Error("No Plot to render, please provide a plot with some data");
1663
+ }
1664
+ xyChartData.title = getDiagramTitle();
1665
+ return XYChartBuilder.build(xyChartConfig, xyChartData, xyChartThemeConfig, tmpSVGGroup);
1666
+ }
1667
+ __name(getDrawableElem, "getDrawableElem");
1668
+ function getChartThemeConfig() {
1669
+ return xyChartThemeConfig;
1670
+ }
1671
+ __name(getChartThemeConfig, "getChartThemeConfig");
1672
+ function getChartConfig() {
1673
+ return xyChartConfig;
1674
+ }
1675
+ __name(getChartConfig, "getChartConfig");
1676
+ var clear2 = /* @__PURE__ */ __name(function() {
1677
+ clear();
1678
+ plotIndex = 0;
1679
+ xyChartConfig = getChartDefaultConfig();
1680
+ xyChartData = getChartDefaultData();
1681
+ xyChartThemeConfig = getChartDefaultThemeConfig();
1682
+ plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((color) => color.trim());
1683
+ hasSetXAxis = false;
1684
+ hasSetYAxis = false;
1685
+ }, "clear");
1686
+ var xychartDb_default = {
1687
+ getDrawableElem,
1688
+ clear: clear2,
1689
+ setAccTitle,
1690
+ getAccTitle,
1691
+ setDiagramTitle,
1692
+ getDiagramTitle,
1693
+ getAccDescription,
1694
+ setAccDescription,
1695
+ setOrientation,
1696
+ setXAxisTitle,
1697
+ setXAxisRangeData,
1698
+ setXAxisBand,
1699
+ setYAxisTitle,
1700
+ setYAxisRangeData,
1701
+ setLineData,
1702
+ setBarData,
1703
+ setTmpSVGG,
1704
+ getChartThemeConfig,
1705
+ getChartConfig
1706
+ };
1707
+ var draw = /* @__PURE__ */ __name((txt, id, _version, diagObj) => {
1708
+ const db = diagObj.db;
1709
+ const themeConfig = db.getChartThemeConfig();
1710
+ const chartConfig = db.getChartConfig();
1711
+ function getDominantBaseLine(horizontalPos) {
1712
+ return horizontalPos === "top" ? "text-before-edge" : "middle";
1713
+ }
1714
+ __name(getDominantBaseLine, "getDominantBaseLine");
1715
+ function getTextAnchor(verticalPos) {
1716
+ return verticalPos === "left" ? "start" : verticalPos === "right" ? "end" : "middle";
1717
+ }
1718
+ __name(getTextAnchor, "getTextAnchor");
1719
+ function getTextTransformation(data) {
1720
+ return `translate(${data.x}, ${data.y}) rotate(${data.rotation || 0})`;
1721
+ }
1722
+ __name(getTextTransformation, "getTextTransformation");
1723
+ log.debug("Rendering xychart chart\n" + txt);
1724
+ const svg = selectSvgElement(id);
1725
+ const group = svg.append("g").attr("class", "main");
1726
+ const background = group.append("rect").attr("width", chartConfig.width).attr("height", chartConfig.height).attr("class", "background");
1727
+ configureSvgSize(svg, chartConfig.height, chartConfig.width, true);
1728
+ svg.attr("viewBox", `0 0 ${chartConfig.width} ${chartConfig.height}`);
1729
+ background.attr("fill", themeConfig.backgroundColor);
1730
+ db.setTmpSVGG(svg.append("g").attr("class", "mermaid-tmp-group"));
1731
+ const shapes = db.getDrawableElem();
1732
+ const groups = {};
1733
+ function getGroup(gList) {
1734
+ let elem = group;
1735
+ let prefix = "";
1736
+ for (const [i] of gList.entries()) {
1737
+ let parent = group;
1738
+ if (i > 0 && groups[prefix]) {
1739
+ parent = groups[prefix];
1740
+ }
1741
+ prefix += gList[i];
1742
+ elem = groups[prefix];
1743
+ if (!elem) {
1744
+ elem = groups[prefix] = parent.append("g").attr("class", gList[i]);
1745
+ }
1746
+ }
1747
+ return elem;
1748
+ }
1749
+ __name(getGroup, "getGroup");
1750
+ for (const shape of shapes) {
1751
+ if (shape.data.length === 0) {
1752
+ continue;
1753
+ }
1754
+ const shapeGroup = getGroup(shape.groupTexts);
1755
+ switch (shape.type) {
1756
+ case "rect":
1757
+ shapeGroup.selectAll("rect").data(shape.data).enter().append("rect").attr("x", (data) => data.x).attr("y", (data) => data.y).attr("width", (data) => data.width).attr("height", (data) => data.height).attr("fill", (data) => data.fill).attr("stroke", (data) => data.strokeFill).attr("stroke-width", (data) => data.strokeWidth);
1758
+ break;
1759
+ case "text":
1760
+ shapeGroup.selectAll("text").data(shape.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (data) => data.fill).attr("font-size", (data) => data.fontSize).attr("dominant-baseline", (data) => getDominantBaseLine(data.verticalPos)).attr("text-anchor", (data) => getTextAnchor(data.horizontalPos)).attr("transform", (data) => getTextTransformation(data)).text((data) => data.text);
1761
+ break;
1762
+ case "path":
1763
+ shapeGroup.selectAll("path").data(shape.data).enter().append("path").attr("d", (data) => data.path).attr("fill", (data) => data.fill ? data.fill : "none").attr("stroke", (data) => data.strokeFill).attr("stroke-width", (data) => data.strokeWidth);
1764
+ break;
1765
+ }
1766
+ }
1767
+ }, "draw");
1768
+ var xychartRenderer_default = {
1769
+ draw
1770
+ };
1771
+ var diagram = {
1772
+ parser: xychart_default,
1773
+ db: xychartDb_default,
1774
+ renderer: xychartRenderer_default
1775
+ };
1776
+ export {
1777
+ diagram
1778
+ };