@elmethis/core 1.0.0-alpha.147 → 1.0.0-alpha.149

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 (1191) 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/components/icon/languages/Bash.vue.mjs +31 -0
  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 +27 -25
  855. package/dist/Bash-aFIJDfx0.js +0 -30
  856. package/dist/Css-aYNwv_jI.js +0 -18
  857. package/dist/ElmShikiHighlighter--ESSD5xl.js +0 -7531
  858. package/dist/Rust-CcTG3HST.js +0 -16
  859. package/dist/_basePickBy-q3OsvEq8.js +0 -152
  860. package/dist/_baseUniq-DXyFBvJx.js +0 -583
  861. package/dist/abap-BPxeDPn4.js +0 -6
  862. package/dist/actionscript-3-Cjb604Dt.js +0 -6
  863. package/dist/ada-BSgRrxrM.js +0 -6
  864. package/dist/andromeeda-uXNdzNpk.js +0 -4
  865. package/dist/angular-html-Zg5oS4-1.js +0 -32
  866. package/dist/angular-ts-NgJ-y-q8.js +0 -21
  867. package/dist/apache-Cyj7Ib-S.js +0 -6
  868. package/dist/apex-DAAiMqi-.js +0 -6
  869. package/dist/apl-DxZdCuNa.js +0 -16
  870. package/dist/applescript-CroEtIVQ.js +0 -6
  871. package/dist/ara-9AczF2vY.js +0 -6
  872. package/dist/arc-BLiqnhIS.js +0 -83
  873. package/dist/architecture-4AB2E3PP-CJBMa096.js +0 -5
  874. package/dist/architectureDiagram-IEHRJDOE-BmZLGcAR.js +0 -4633
  875. package/dist/asciidoc-raFNDrGb.js +0 -6
  876. package/dist/asm-C8ld_M07.js +0 -6
  877. package/dist/astro-DVLPOVeH.js +0 -16
  878. package/dist/aurora-x-BwoVEUWZ.js +0 -4
  879. package/dist/awk-gc4Y_RTq.js +0 -6
  880. package/dist/ayu-dark-CxPZkpb2.js +0 -4
  881. package/dist/ballerina-CML1q4Hw.js +0 -6
  882. package/dist/bat-BVW1L4ug.js +0 -6
  883. package/dist/beancount-DYEC72C_.js +0 -6
  884. package/dist/berry-VTah6p7n.js +0 -6
  885. package/dist/bibtex-Bqt_3AVI.js +0 -6
  886. package/dist/bicep-DGk9_2l4.js +0 -6
  887. package/dist/blade-kJIUE9Xv.js +0 -20
  888. package/dist/blockDiagram-JOT3LUYC-CirZxs50.js +0 -2247
  889. package/dist/bsl-tt9CYf2I.js +0 -8
  890. package/dist/c-Cb-M0LQR.js +0 -6
  891. package/dist/c4Diagram-VJAJSXHY-CT04iVyI.js +0 -1581
  892. package/dist/cadence-Di4VMBdJ.js +0 -6
  893. package/dist/cairo-CNbjbPRN.js +0 -8
  894. package/dist/catppuccin-frappe-MQ6irQtC.js +0 -4
  895. package/dist/catppuccin-latte-UMitw0Sv.js +0 -4
  896. package/dist/catppuccin-macchiato-CpTwm6bY.js +0 -4
  897. package/dist/catppuccin-mocha-DAcVHoH1.js +0 -4
  898. package/dist/channel-DJoWX82m.js +0 -5
  899. package/dist/chunk-4BMEZGHF-DbrRFQBV.js +0 -9
  900. package/dist/chunk-A2AXSNBT-8nnxOxzM.js +0 -1372
  901. package/dist/chunk-AEK57VVT-BuA3ibij.js +0 -1415
  902. package/dist/chunk-D6G4REZN-C3CadGUl.js +0 -64
  903. package/dist/chunk-RZ5BOZE2-bPOa0Bzk.js +0 -24
  904. package/dist/chunk-XZIHB7SX-tSNzo5Pm.js +0 -15
  905. package/dist/clarity-WOA8trQj.js +0 -6
  906. package/dist/classDiagram-GIVACNV2-Ikn0C8nj.js +0 -16
  907. package/dist/classDiagram-v2-COTLJTTW-Ikn0C8nj.js +0 -16
  908. package/dist/clojure-r3NcJ8yt.js +0 -6
  909. package/dist/clone-KYMNdRyb.js +0 -8
  910. package/dist/cmake-CQmEhYbr.js +0 -6
  911. package/dist/cobol-DpscMYyB.js +0 -10
  912. package/dist/codeowners-Bt9yU6NX.js +0 -6
  913. package/dist/codeql-2Dcm6WNF.js +0 -6
  914. package/dist/coffee-cT6mLyjo.js +0 -8
  915. package/dist/common-lisp-DuX5KqId.js +0 -6
  916. package/dist/coq-DboLktjX.js +0 -6
  917. package/dist/cpp-Dfuj7FgN.js +0 -18
  918. package/dist/crystal-Cu359yzW.js +0 -18
  919. package/dist/csharp-xQvxkZxj.js +0 -6
  920. package/dist/css-BnL1064W.js +0 -6
  921. package/dist/csv-CmYOceLb.js +0 -6
  922. package/dist/cue-ByErcpN2.js +0 -6
  923. package/dist/cypher-DEVyrV5b.js +0 -6
  924. package/dist/cytoscape.esm-aRg21b6u.js +0 -18120
  925. package/dist/d-CBVqdj3C.js +0 -6
  926. package/dist/dagre-OKDRZEBW-Dd5I26Ao.js +0 -447
  927. package/dist/dark-plus-pUHDTVV0.js +0 -4
  928. package/dist/dart-u2fD-sKr.js +0 -6
  929. package/dist/dax-Crz9Wv4y.js +0 -6
  930. package/dist/desktop-DNXSD5qJ.js +0 -6
  931. package/dist/diagram-SSKATNLV-DZNkfESc.js +0 -221
  932. package/dist/diagram-VNBRO52H-CEw-lSHb.js +0 -126
  933. package/dist/diff-DOdUfPSR.js +0 -6
  934. package/dist/docker-CsHqm9tx.js +0 -6
  935. package/dist/dotenv-BYL4tpZA.js +0 -6
  936. package/dist/dracula-BtZx2Kac.js +0 -4
  937. package/dist/dracula-soft-BKa-aqBv.js +0 -4
  938. package/dist/dream-maker-kevRUHRs.js +0 -6
  939. package/dist/edge-D-R-hhaT.js +0 -12
  940. package/dist/elixir-DuneT2DZ.js +0 -8
  941. package/dist/elm-DdPFQYmH.js +0 -8
  942. package/dist/elmethis.js +0 -70
  943. package/dist/emacs-lisp-Bwasiep6.js +0 -6
  944. package/dist/erDiagram-Q7BY3M3F-Bi-5rbd2.js +0 -841
  945. package/dist/erb-BDkUfiWc.js +0 -10
  946. package/dist/erlang-CxpbZUOc.js +0 -6
  947. package/dist/everforest-dark-DMCBqXCK.js +0 -4
  948. package/dist/everforest-light-BbXl82Em.js +0 -4
  949. package/dist/fennel-B1x5pKr1.js +0 -6
  950. package/dist/fish-BjbXctXH.js +0 -6
  951. package/dist/flowDiagram-4HSFHLVR-Bep2tb38.js +0 -1622
  952. package/dist/fluent-DCuHrNR-.js +0 -6
  953. package/dist/fortran-fixed-form-muAGtm2V.js +0 -8
  954. package/dist/fortran-free-form-Db8k5H7x.js +0 -6
  955. package/dist/fsharp-D3TfYvtR.js +0 -8
  956. package/dist/ganttDiagram-APWFNJXF-MiSNV5UX.js +0 -2493
  957. package/dist/gdresource-C22851qr.js +0 -10
  958. package/dist/gdscript-C-C99PjI.js +0 -6
  959. package/dist/gdshader-0TihrSQl.js +0 -6
  960. package/dist/genie-MtKmcmPo.js +0 -6
  961. package/dist/gherkin-AzJBtK0J.js +0 -6
  962. package/dist/git-commit-Cdscfa4x.js +0 -8
  963. package/dist/git-rebase-BkertWzk.js +0 -8
  964. package/dist/gitGraph-O2Q2CXLX-2aBB3Qlu.js +0 -5
  965. package/dist/gitGraphDiagram-7IBYFJ6S-BeIrUUuR.js +0 -712
  966. package/dist/github-dark-DenFmJkN.js +0 -4
  967. package/dist/github-dark-default-BJPUVz4H.js +0 -4
  968. package/dist/github-dark-dimmed-DUshB20C.js +0 -4
  969. package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
  970. package/dist/github-light-JYsPkUQd.js +0 -4
  971. package/dist/github-light-default-D99KPAby.js +0 -4
  972. package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
  973. package/dist/gleam-BoJB89vF.js +0 -6
  974. package/dist/glimmer-js-DEzcmBLn.js +0 -14
  975. package/dist/glimmer-ts-CfoDm2Ms.js +0 -14
  976. package/dist/glsl-BcGeWDoy.js +0 -8
  977. package/dist/gnuplot-DgGnPAp8.js +0 -6
  978. package/dist/go-Cw0OOp5U.js +0 -6
  979. package/dist/graph-BN6Ja3dj.js +0 -247
  980. package/dist/graphql-BA9S3A0F.js +0 -14
  981. package/dist/groovy-45PuQEhl.js +0 -6
  982. package/dist/gruvbox-dark-hard-BDGmrmYl.js +0 -4
  983. package/dist/gruvbox-dark-medium-D7OrvcL5.js +0 -4
  984. package/dist/gruvbox-dark-soft-D_75PUdg.js +0 -4
  985. package/dist/gruvbox-light-hard-DhQt1gbs.js +0 -4
  986. package/dist/gruvbox-light-medium-DNXV_Sw8.js +0 -4
  987. package/dist/gruvbox-light-soft-C7ZspGxH.js +0 -4
  988. package/dist/hack-B5c1rmdK.js +0 -10
  989. package/dist/haml-CknjlTyn.js +0 -10
  990. package/dist/handlebars-DxZCQ1Ls.js +0 -14
  991. package/dist/haskell-ClRE648j.js +0 -6
  992. package/dist/haxe-CClgwBXY.js +0 -6
  993. package/dist/hcl-JJeBEFYE.js +0 -6
  994. package/dist/hjson-BollGKL_.js +0 -6
  995. package/dist/hlsl-b3kI2reZ.js +0 -6
  996. package/dist/houston-BDYrDoDW.js +0 -4
  997. package/dist/html-Iy9EJBkL.js +0 -10
  998. package/dist/html-derivative-BfM_d1x5.js +0 -8
  999. package/dist/http-Q-2xEgRf.js +0 -14
  1000. package/dist/hxml-C2bnoXd-.js +0 -8
  1001. package/dist/hy-S8dYOqS_.js +0 -6
  1002. package/dist/imba-DzSSVziz.js +0 -6
  1003. package/dist/index-DzMRhuTS.js +0 -17481
  1004. package/dist/info-4N47QTOZ-MlaygFtp.js +0 -5
  1005. package/dist/infoDiagram-PH2N3AL5-CLDi4hXF.js +0 -22
  1006. package/dist/ini-Cw62c0sR.js +0 -6
  1007. package/dist/init-DjUOC4st.js +0 -16
  1008. package/dist/java-DNw9zkk2.js +0 -6
  1009. package/dist/javascript-CXHlxgtu.js +0 -6
  1010. package/dist/jinja-D3ov3d_Q.js +0 -11
  1011. package/dist/jison-bKZ_ygkY.js +0 -8
  1012. package/dist/journeyDiagram-U35MCT3I-DF_hle8P.js +0 -809
  1013. package/dist/json-D4cXEhM0.js +0 -6
  1014. package/dist/json5-QDX9y-Y9.js +0 -6
  1015. package/dist/jsonc-Bph7GQf8.js +0 -6
  1016. package/dist/jsonl-CCrMgdQc.js +0 -6
  1017. package/dist/jsonnet-SAcLllmN.js +0 -6
  1018. package/dist/jssm-f8vsTkbr.js +0 -6
  1019. package/dist/jsx-BYrS51r7.js +0 -6
  1020. package/dist/julia-k0_CCOLn.js +0 -16
  1021. package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
  1022. package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
  1023. package/dist/kanagawa-wave-CQwozSzG.js +0 -4
  1024. package/dist/kanban-definition-NDS4AKOZ-D2HjB3aQ.js +0 -719
  1025. package/dist/kotlin-DZs3CUXT.js +0 -6
  1026. package/dist/kusto-gqgW0Ct6.js +0 -6
  1027. package/dist/laserwave-6a00oqik.js +0 -4
  1028. package/dist/latex-ixPYeODw.js +0 -8
  1029. package/dist/layout-eoX7qCNd.js +0 -1325
  1030. package/dist/lean-DM2VgJqL.js +0 -6
  1031. package/dist/less-I_XXVOZl.js +0 -6
  1032. package/dist/light-plus-CZuVqSLX.js +0 -4
  1033. package/dist/linear-CjVlzhPx.js +0 -423
  1034. package/dist/liquid-DQYM4OUl.js +0 -14
  1035. package/dist/llvm-D3Vjgx0u.js +0 -6
  1036. package/dist/log-D-MzYv1Z.js +0 -6
  1037. package/dist/logo-D1k-IeHX.js +0 -6
  1038. package/dist/lua-DcPVWcJ7.js +0 -8
  1039. package/dist/luau-B3dL2bb0.js +0 -6
  1040. package/dist/make-CR9bkdqJ.js +0 -6
  1041. package/dist/markdown-w3MmBOPg.js +0 -6
  1042. package/dist/marko-Dou6ix2a.js +0 -14
  1043. package/dist/material-theme-D6KBX41T.js +0 -4
  1044. package/dist/material-theme-darker-CkRroheE.js +0 -4
  1045. package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
  1046. package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
  1047. package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
  1048. package/dist/matlab-Dj6qX5si.js +0 -6
  1049. package/dist/mdc-Df47nGTR.js +0 -12
  1050. package/dist/mdx-COYqLMfv.js +0 -6
  1051. package/dist/mermaid-parser.core-Cnk6H5Tf.js +0 -12836
  1052. package/dist/mermaid-qIAHIJes.js +0 -6
  1053. package/dist/mermaid.core-CVg1AOGh.js +0 -15467
  1054. package/dist/min-dark-C7ak0t6c.js +0 -4
  1055. package/dist/min-light-CKFxVcPp.js +0 -4
  1056. package/dist/mindmap-definition-ALO5MXBD-RsXchRow.js +0 -3220
  1057. package/dist/mipsasm-BJbuoeDX.js +0 -6
  1058. package/dist/mojo-BFkEE7I6.js +0 -6
  1059. package/dist/monokai-C1KBYcO0.js +0 -4
  1060. package/dist/move-DhZIVzw9.js +0 -6
  1061. package/dist/narrat-Cru3p5ML.js +0 -6
  1062. package/dist/nextflow-JJGGygxI.js +0 -6
  1063. package/dist/nginx-Chu4HPUZ.js +0 -8
  1064. package/dist/night-owl-Bm2rzalh.js +0 -4
  1065. package/dist/nim-m3ClKyoA.js +0 -20
  1066. package/dist/nix-DeKhqLCs.js +0 -6
  1067. package/dist/nord-CC5OiUXg.js +0 -4
  1068. package/dist/nushell-vZ0whCpp.js +0 -6
  1069. package/dist/objective-c-DLUrAoO7.js +0 -6
  1070. package/dist/objective-cpp-BR9pz3Y7.js +0 -6
  1071. package/dist/ocaml-JmaGD6hS.js +0 -6
  1072. package/dist/one-dark-pro-DTA3VF0_.js +0 -4
  1073. package/dist/one-light-D9sNaUtq.js +0 -4
  1074. package/dist/ordinal-DfAQgscy.js +0 -61
  1075. package/dist/packet-KVYON367-B0ibT50B.js +0 -5
  1076. package/dist/pascal-NVmycfDo.js +0 -6
  1077. package/dist/perl-Dvb6TR9K.js +0 -16
  1078. package/dist/php-CJHnp_ft.js +0 -18
  1079. package/dist/pie-R6RNRRYF-eieuCIEv.js +0 -5
  1080. package/dist/pieDiagram-IB7DONF6-z3HiYOHT.js +0 -161
  1081. package/dist/plastic-CSTz3KZp.js +0 -4
  1082. package/dist/plsql-DMWd0imC.js +0 -6
  1083. package/dist/po-GS6uwG3N.js +0 -6
  1084. package/dist/poimandres-C-VADXHD.js +0 -4
  1085. package/dist/polar-kLOnm3TU.js +0 -6
  1086. package/dist/postcss-BHhGrjb8.js +0 -6
  1087. package/dist/powerquery-CMfeLaGU.js +0 -6
  1088. package/dist/powershell-D1mvJxDs.js +0 -6
  1089. package/dist/prisma-pUoUFT3i.js +0 -6
  1090. package/dist/prolog-DY7WzwMi.js +0 -6
  1091. package/dist/proto-CNCp3VWu.js +0 -6
  1092. package/dist/pug-CUZjrycK.js +0 -12
  1093. package/dist/puppet-B0mgPBqt.js +0 -6
  1094. package/dist/purescript-Go548NjJ.js +0 -6
  1095. package/dist/python-x6NdgKMy.js +0 -6
  1096. package/dist/qml-BZvDVi14.js +0 -8
  1097. package/dist/qmldir-BInDYbpo.js +0 -6
  1098. package/dist/qss-8QkBlVEn.js +0 -6
  1099. package/dist/quadrantDiagram-7GDLP6J5-DKNPBuF7.js +0 -1024
  1100. package/dist/r-HSnR3oil.js +0 -6
  1101. package/dist/racket-N6wCNCGC.js +0 -6
  1102. package/dist/radar-MK3ICKWK-EavvS0dk.js +0 -5
  1103. package/dist/raku-DIMO1_4D.js +0 -6
  1104. package/dist/razor-B0naKaWH.js +0 -10
  1105. package/dist/red-7y8PH7HH.js +0 -4
  1106. package/dist/reg-6UpU0EA6.js +0 -6
  1107. package/dist/regexp-DHtjPxOp.js +0 -6
  1108. package/dist/rel-DBIoUiKW.js +0 -6
  1109. package/dist/requirementDiagram-KVF5MWMF-CVtQbDO9.js +0 -851
  1110. package/dist/riscv-DpWk9ieM.js +0 -6
  1111. package/dist/rose-pine-4uTOzEpE.js +0 -4
  1112. package/dist/rose-pine-dawn-GMd81k-m.js +0 -4
  1113. package/dist/rose-pine-moon-CIFp_3PJ.js +0 -4
  1114. package/dist/rst-B64R6T0G.js +0 -22
  1115. package/dist/ruby-DfrpdncG.js +0 -30
  1116. package/dist/rust-B-KPd2nT.js +0 -6
  1117. package/dist/sankeyDiagram-QLVOVGJD-Bv56p0v8.js +0 -808
  1118. package/dist/sas-CJQBty5v.js +0 -8
  1119. package/dist/sass-Zos2Blmo.js +0 -6
  1120. package/dist/scala-7cAMYIqn.js +0 -6
  1121. package/dist/scheme-BQZQETGI.js +0 -6
  1122. package/dist/scss-SeF7XgZE.js +0 -8
  1123. package/dist/sdbl-67k1U2sQ.js +0 -6
  1124. package/dist/sequenceDiagram-X6HHIX6F-B6HsmiCo.js +0 -2281
  1125. package/dist/shaderlab-D-UIeqfT.js +0 -8
  1126. package/dist/shellscript-DmhSIIKI.js +0 -6
  1127. package/dist/shellsession-DJoY56qV.js +0 -8
  1128. package/dist/slack-dark-i7wN4OET.js +0 -4
  1129. package/dist/slack-ochin-ndHf0LoP.js +0 -4
  1130. package/dist/smalltalk-WltKgyq1.js +0 -6
  1131. package/dist/snazzy-light-BlSJXAu4.js +0 -4
  1132. package/dist/solarized-dark-UTmkh7lw.js +0 -4
  1133. package/dist/solarized-light-BheCkDPT.js +0 -4
  1134. package/dist/solidity-C04s0Yy3.js +0 -6
  1135. package/dist/soy-BLRDPjcE.js +0 -8
  1136. package/dist/sparql-DTCaWUmB.js +0 -8
  1137. package/dist/splunk-SGh_QiTm.js +0 -6
  1138. package/dist/sql-CsvhJWkt.js +0 -6
  1139. package/dist/ssh-config-D4I637-k.js +0 -6
  1140. package/dist/stata-CoSdWLbd.js +0 -8
  1141. package/dist/stateDiagram-DGXRK772-DisyN0eE.js +0 -270
  1142. package/dist/stateDiagram-v2-YXO3MK2T-DLdp-rnZ.js +0 -16
  1143. package/dist/stylus-C0YS3cII.js +0 -6
  1144. package/dist/svelte-D5kfh286.js +0 -14
  1145. package/dist/swift-DvTgPjC_.js +0 -6
  1146. package/dist/synthwave-84-NU3C_KFZ.js +0 -4
  1147. package/dist/system-verilog-NDUJ-OOt.js +0 -6
  1148. package/dist/systemd-WbxZvB8q.js +0 -6
  1149. package/dist/talonscript-CL368eRB.js +0 -6
  1150. package/dist/tasl-Dz-WwaLH.js +0 -6
  1151. package/dist/tcl-DlZIgGJq.js +0 -6
  1152. package/dist/templ-BeQ_faiG.js +0 -12
  1153. package/dist/terraform-BlQVOgpk.js +0 -6
  1154. package/dist/tex-D5wZQANC.js +0 -8
  1155. package/dist/timeline-definition-BDJGKUSR-BXC_uTuM.js +0 -804
  1156. package/dist/tokyo-night-DP4TmcQl.js +0 -4
  1157. package/dist/toml-DMRYbshZ.js +0 -6
  1158. package/dist/ts-tags-BhMM8FHa.js +0 -41
  1159. package/dist/tsv-BtvSkaG0.js +0 -6
  1160. package/dist/tsx-D0IYuDPS.js +0 -6
  1161. package/dist/turtle-p-VV8DEc.js +0 -6
  1162. package/dist/twig-B7P5Ovvl.js +0 -18
  1163. package/dist/typescript-DKfvlBCw.js +0 -6
  1164. package/dist/typespec-CTme0-JL.js +0 -6
  1165. package/dist/typst-Dn4vyooU.js +0 -6
  1166. package/dist/v-D7ebitkb.js +0 -6
  1167. package/dist/vala-TRtLMDHC.js +0 -6
  1168. package/dist/vb-B47FrOmA.js +0 -6
  1169. package/dist/verilog-B2TLsC4I.js +0 -6
  1170. package/dist/vesper-BckBta1U.js +0 -4
  1171. package/dist/vhdl-CU5AEtCN.js +0 -6
  1172. package/dist/viml-D-fUhqVn.js +0 -6
  1173. package/dist/vitesse-black-BoGvW84i.js +0 -4
  1174. package/dist/vitesse-dark-Cym-eLtO.js +0 -4
  1175. package/dist/vitesse-light-CcmG315c.js +0 -4
  1176. package/dist/vue-CdwmeZFh.js +0 -31
  1177. package/dist/vue-html-C-PRGoQQ.js +0 -10
  1178. package/dist/vyper-C03y8CZF.js +0 -6
  1179. package/dist/wasm-Bq8UuFo1.js +0 -6
  1180. package/dist/wasm-DQxwEHae.js +0 -7
  1181. package/dist/wenyan-DZPWEYbu.js +0 -6
  1182. package/dist/wgsl-De1GPYf9.js +0 -6
  1183. package/dist/wikitext-C-THcCj2.js +0 -6
  1184. package/dist/wit-BanP67gl.js +0 -6
  1185. package/dist/wolfram-CUT_U39K.js +0 -6
  1186. package/dist/xml-jRL-qgj-.js +0 -8
  1187. package/dist/xsl-CZWICAVO.js +0 -8
  1188. package/dist/xychartDiagram-VJFVF3MP-CkPa_K58.js +0 -1304
  1189. package/dist/yaml-DcQhbMrL.js +0 -6
  1190. package/dist/zenscript-8JCzLCTe.js +0 -6
  1191. package/dist/zig-DhdgDxkm.js +0 -6
@@ -1,3220 +0,0 @@
1
- import { aG as Nt, _ as S, l as z, c as ot, K as Dt, ab as mt, H as it, i as nt, ac as Ot, ad as At, ae as It, d as Ct, al as Rt, a4 as xt } from "./mermaid.core-CVg1AOGh.js";
2
- import { c as dt } from "./cytoscape.esm-aRg21b6u.js";
3
- var tt = { exports: {} }, et = { exports: {} }, rt = { exports: {} }, Mt = rt.exports, ut;
4
- function wt() {
5
- return ut || (ut = 1, function(I, w) {
6
- (function(m, y) {
7
- I.exports = y();
8
- })(Mt, function() {
9
- return (
10
- /******/
11
- function(f) {
12
- var m = {};
13
- function y(r) {
14
- if (m[r])
15
- return m[r].exports;
16
- var t = m[r] = {
17
- /******/
18
- i: r,
19
- /******/
20
- l: !1,
21
- /******/
22
- exports: {}
23
- /******/
24
- };
25
- return f[r].call(t.exports, t, t.exports, y), t.l = !0, t.exports;
26
- }
27
- return y.m = f, y.c = m, y.i = function(r) {
28
- return r;
29
- }, y.d = function(r, t, e) {
30
- y.o(r, t) || Object.defineProperty(r, t, {
31
- /******/
32
- configurable: !1,
33
- /******/
34
- enumerable: !0,
35
- /******/
36
- get: e
37
- /******/
38
- });
39
- }, y.n = function(r) {
40
- var t = r && r.__esModule ? (
41
- /******/
42
- function() {
43
- return r.default;
44
- }
45
- ) : (
46
- /******/
47
- function() {
48
- return r;
49
- }
50
- );
51
- return y.d(t, "a", t), t;
52
- }, y.o = function(r, t) {
53
- return Object.prototype.hasOwnProperty.call(r, t);
54
- }, y.p = "", y(y.s = 26);
55
- }([
56
- /* 0 */
57
- /***/
58
- function(f, m, y) {
59
- function r() {
60
- }
61
- r.QUALITY = 1, r.DEFAULT_CREATE_BENDS_AS_NEEDED = !1, r.DEFAULT_INCREMENTAL = !1, r.DEFAULT_ANIMATION_ON_LAYOUT = !0, r.DEFAULT_ANIMATION_DURING_LAYOUT = !1, r.DEFAULT_ANIMATION_PERIOD = 50, r.DEFAULT_UNIFORM_LEAF_NODE_SIZES = !1, r.DEFAULT_GRAPH_MARGIN = 15, r.NODE_DIMENSIONS_INCLUDE_LABELS = !1, r.SIMPLE_NODE_SIZE = 40, r.SIMPLE_NODE_HALF_SIZE = r.SIMPLE_NODE_SIZE / 2, r.EMPTY_COMPOUND_NODE_SIZE = 40, r.MIN_EDGE_LENGTH = 1, r.WORLD_BOUNDARY = 1e6, r.INITIAL_WORLD_BOUNDARY = r.WORLD_BOUNDARY / 1e3, r.WORLD_CENTER_X = 1200, r.WORLD_CENTER_Y = 900, f.exports = r;
62
- },
63
- /* 1 */
64
- /***/
65
- function(f, m, y) {
66
- var r = y(2), t = y(8), e = y(9);
67
- function i(g, a, v) {
68
- r.call(this, v), this.isOverlapingSourceAndTarget = !1, this.vGraphObject = v, this.bendpoints = [], this.source = g, this.target = a;
69
- }
70
- i.prototype = Object.create(r.prototype);
71
- for (var o in r)
72
- i[o] = r[o];
73
- i.prototype.getSource = function() {
74
- return this.source;
75
- }, i.prototype.getTarget = function() {
76
- return this.target;
77
- }, i.prototype.isInterGraph = function() {
78
- return this.isInterGraph;
79
- }, i.prototype.getLength = function() {
80
- return this.length;
81
- }, i.prototype.isOverlapingSourceAndTarget = function() {
82
- return this.isOverlapingSourceAndTarget;
83
- }, i.prototype.getBendpoints = function() {
84
- return this.bendpoints;
85
- }, i.prototype.getLca = function() {
86
- return this.lca;
87
- }, i.prototype.getSourceInLca = function() {
88
- return this.sourceInLca;
89
- }, i.prototype.getTargetInLca = function() {
90
- return this.targetInLca;
91
- }, i.prototype.getOtherEnd = function(g) {
92
- if (this.source === g)
93
- return this.target;
94
- if (this.target === g)
95
- return this.source;
96
- throw "Node is not incident with this edge";
97
- }, i.prototype.getOtherEndInGraph = function(g, a) {
98
- for (var v = this.getOtherEnd(g), n = a.getGraphManager().getRoot(); ; ) {
99
- if (v.getOwner() == a)
100
- return v;
101
- if (v.getOwner() == n)
102
- break;
103
- v = v.getOwner().getParent();
104
- }
105
- return null;
106
- }, i.prototype.updateLength = function() {
107
- var g = new Array(4);
108
- this.isOverlapingSourceAndTarget = t.getIntersection(this.target.getRect(), this.source.getRect(), g), this.isOverlapingSourceAndTarget || (this.lengthX = g[0] - g[2], this.lengthY = g[1] - g[3], Math.abs(this.lengthX) < 1 && (this.lengthX = e.sign(this.lengthX)), Math.abs(this.lengthY) < 1 && (this.lengthY = e.sign(this.lengthY)), this.length = Math.sqrt(this.lengthX * this.lengthX + this.lengthY * this.lengthY));
109
- }, i.prototype.updateLengthSimple = function() {
110
- this.lengthX = this.target.getCenterX() - this.source.getCenterX(), this.lengthY = this.target.getCenterY() - this.source.getCenterY(), Math.abs(this.lengthX) < 1 && (this.lengthX = e.sign(this.lengthX)), Math.abs(this.lengthY) < 1 && (this.lengthY = e.sign(this.lengthY)), this.length = Math.sqrt(this.lengthX * this.lengthX + this.lengthY * this.lengthY);
111
- }, f.exports = i;
112
- },
113
- /* 2 */
114
- /***/
115
- function(f, m, y) {
116
- function r(t) {
117
- this.vGraphObject = t;
118
- }
119
- f.exports = r;
120
- },
121
- /* 3 */
122
- /***/
123
- function(f, m, y) {
124
- var r = y(2), t = y(10), e = y(13), i = y(0), o = y(16), g = y(4);
125
- function a(n, c, l, E) {
126
- l == null && E == null && (E = c), r.call(this, E), n.graphManager != null && (n = n.graphManager), this.estimatedSize = t.MIN_VALUE, this.inclusionTreeDepth = t.MAX_VALUE, this.vGraphObject = E, this.edges = [], this.graphManager = n, l != null && c != null ? this.rect = new e(c.x, c.y, l.width, l.height) : this.rect = new e();
127
- }
128
- a.prototype = Object.create(r.prototype);
129
- for (var v in r)
130
- a[v] = r[v];
131
- a.prototype.getEdges = function() {
132
- return this.edges;
133
- }, a.prototype.getChild = function() {
134
- return this.child;
135
- }, a.prototype.getOwner = function() {
136
- return this.owner;
137
- }, a.prototype.getWidth = function() {
138
- return this.rect.width;
139
- }, a.prototype.setWidth = function(n) {
140
- this.rect.width = n;
141
- }, a.prototype.getHeight = function() {
142
- return this.rect.height;
143
- }, a.prototype.setHeight = function(n) {
144
- this.rect.height = n;
145
- }, a.prototype.getCenterX = function() {
146
- return this.rect.x + this.rect.width / 2;
147
- }, a.prototype.getCenterY = function() {
148
- return this.rect.y + this.rect.height / 2;
149
- }, a.prototype.getCenter = function() {
150
- return new g(this.rect.x + this.rect.width / 2, this.rect.y + this.rect.height / 2);
151
- }, a.prototype.getLocation = function() {
152
- return new g(this.rect.x, this.rect.y);
153
- }, a.prototype.getRect = function() {
154
- return this.rect;
155
- }, a.prototype.getDiagonal = function() {
156
- return Math.sqrt(this.rect.width * this.rect.width + this.rect.height * this.rect.height);
157
- }, a.prototype.getHalfTheDiagonal = function() {
158
- return Math.sqrt(this.rect.height * this.rect.height + this.rect.width * this.rect.width) / 2;
159
- }, a.prototype.setRect = function(n, c) {
160
- this.rect.x = n.x, this.rect.y = n.y, this.rect.width = c.width, this.rect.height = c.height;
161
- }, a.prototype.setCenter = function(n, c) {
162
- this.rect.x = n - this.rect.width / 2, this.rect.y = c - this.rect.height / 2;
163
- }, a.prototype.setLocation = function(n, c) {
164
- this.rect.x = n, this.rect.y = c;
165
- }, a.prototype.moveBy = function(n, c) {
166
- this.rect.x += n, this.rect.y += c;
167
- }, a.prototype.getEdgeListToNode = function(n) {
168
- var c = [], l = this;
169
- return l.edges.forEach(function(E) {
170
- if (E.target == n) {
171
- if (E.source != l) throw "Incorrect edge source!";
172
- c.push(E);
173
- }
174
- }), c;
175
- }, a.prototype.getEdgesBetween = function(n) {
176
- var c = [], l = this;
177
- return l.edges.forEach(function(E) {
178
- if (!(E.source == l || E.target == l)) throw "Incorrect edge source and/or target";
179
- (E.target == n || E.source == n) && c.push(E);
180
- }), c;
181
- }, a.prototype.getNeighborsList = function() {
182
- var n = /* @__PURE__ */ new Set(), c = this;
183
- return c.edges.forEach(function(l) {
184
- if (l.source == c)
185
- n.add(l.target);
186
- else {
187
- if (l.target != c)
188
- throw "Incorrect incidency!";
189
- n.add(l.source);
190
- }
191
- }), n;
192
- }, a.prototype.withChildren = function() {
193
- var n = /* @__PURE__ */ new Set(), c, l;
194
- if (n.add(this), this.child != null)
195
- for (var E = this.child.getNodes(), T = 0; T < E.length; T++)
196
- c = E[T], l = c.withChildren(), l.forEach(function(D) {
197
- n.add(D);
198
- });
199
- return n;
200
- }, a.prototype.getNoOfChildren = function() {
201
- var n = 0, c;
202
- if (this.child == null)
203
- n = 1;
204
- else
205
- for (var l = this.child.getNodes(), E = 0; E < l.length; E++)
206
- c = l[E], n += c.getNoOfChildren();
207
- return n == 0 && (n = 1), n;
208
- }, a.prototype.getEstimatedSize = function() {
209
- if (this.estimatedSize == t.MIN_VALUE)
210
- throw "assert failed";
211
- return this.estimatedSize;
212
- }, a.prototype.calcEstimatedSize = function() {
213
- return this.child == null ? this.estimatedSize = (this.rect.width + this.rect.height) / 2 : (this.estimatedSize = this.child.calcEstimatedSize(), this.rect.width = this.estimatedSize, this.rect.height = this.estimatedSize, this.estimatedSize);
214
- }, a.prototype.scatter = function() {
215
- var n, c, l = -i.INITIAL_WORLD_BOUNDARY, E = i.INITIAL_WORLD_BOUNDARY;
216
- n = i.WORLD_CENTER_X + o.nextDouble() * (E - l) + l;
217
- var T = -i.INITIAL_WORLD_BOUNDARY, D = i.INITIAL_WORLD_BOUNDARY;
218
- c = i.WORLD_CENTER_Y + o.nextDouble() * (D - T) + T, this.rect.x = n, this.rect.y = c;
219
- }, a.prototype.updateBounds = function() {
220
- if (this.getChild() == null)
221
- throw "assert failed";
222
- if (this.getChild().getNodes().length != 0) {
223
- var n = this.getChild();
224
- if (n.updateBounds(!0), this.rect.x = n.getLeft(), this.rect.y = n.getTop(), this.setWidth(n.getRight() - n.getLeft()), this.setHeight(n.getBottom() - n.getTop()), i.NODE_DIMENSIONS_INCLUDE_LABELS) {
225
- var c = n.getRight() - n.getLeft(), l = n.getBottom() - n.getTop();
226
- this.labelWidth > c && (this.rect.x -= (this.labelWidth - c) / 2, this.setWidth(this.labelWidth)), this.labelHeight > l && (this.labelPos == "center" ? this.rect.y -= (this.labelHeight - l) / 2 : this.labelPos == "top" && (this.rect.y -= this.labelHeight - l), this.setHeight(this.labelHeight));
227
- }
228
- }
229
- }, a.prototype.getInclusionTreeDepth = function() {
230
- if (this.inclusionTreeDepth == t.MAX_VALUE)
231
- throw "assert failed";
232
- return this.inclusionTreeDepth;
233
- }, a.prototype.transform = function(n) {
234
- var c = this.rect.x;
235
- c > i.WORLD_BOUNDARY ? c = i.WORLD_BOUNDARY : c < -i.WORLD_BOUNDARY && (c = -i.WORLD_BOUNDARY);
236
- var l = this.rect.y;
237
- l > i.WORLD_BOUNDARY ? l = i.WORLD_BOUNDARY : l < -i.WORLD_BOUNDARY && (l = -i.WORLD_BOUNDARY);
238
- var E = new g(c, l), T = n.inverseTransformPoint(E);
239
- this.setLocation(T.x, T.y);
240
- }, a.prototype.getLeft = function() {
241
- return this.rect.x;
242
- }, a.prototype.getRight = function() {
243
- return this.rect.x + this.rect.width;
244
- }, a.prototype.getTop = function() {
245
- return this.rect.y;
246
- }, a.prototype.getBottom = function() {
247
- return this.rect.y + this.rect.height;
248
- }, a.prototype.getParent = function() {
249
- return this.owner == null ? null : this.owner.getParent();
250
- }, f.exports = a;
251
- },
252
- /* 4 */
253
- /***/
254
- function(f, m, y) {
255
- function r(t, e) {
256
- t == null && e == null ? (this.x = 0, this.y = 0) : (this.x = t, this.y = e);
257
- }
258
- r.prototype.getX = function() {
259
- return this.x;
260
- }, r.prototype.getY = function() {
261
- return this.y;
262
- }, r.prototype.setX = function(t) {
263
- this.x = t;
264
- }, r.prototype.setY = function(t) {
265
- this.y = t;
266
- }, r.prototype.getDifference = function(t) {
267
- return new DimensionD(this.x - t.x, this.y - t.y);
268
- }, r.prototype.getCopy = function() {
269
- return new r(this.x, this.y);
270
- }, r.prototype.translate = function(t) {
271
- return this.x += t.width, this.y += t.height, this;
272
- }, f.exports = r;
273
- },
274
- /* 5 */
275
- /***/
276
- function(f, m, y) {
277
- var r = y(2), t = y(10), e = y(0), i = y(6), o = y(3), g = y(1), a = y(13), v = y(12), n = y(11);
278
- function c(E, T, D) {
279
- r.call(this, D), this.estimatedSize = t.MIN_VALUE, this.margin = e.DEFAULT_GRAPH_MARGIN, this.edges = [], this.nodes = [], this.isConnected = !1, this.parent = E, T != null && T instanceof i ? this.graphManager = T : T != null && T instanceof Layout && (this.graphManager = T.graphManager);
280
- }
281
- c.prototype = Object.create(r.prototype);
282
- for (var l in r)
283
- c[l] = r[l];
284
- c.prototype.getNodes = function() {
285
- return this.nodes;
286
- }, c.prototype.getEdges = function() {
287
- return this.edges;
288
- }, c.prototype.getGraphManager = function() {
289
- return this.graphManager;
290
- }, c.prototype.getParent = function() {
291
- return this.parent;
292
- }, c.prototype.getLeft = function() {
293
- return this.left;
294
- }, c.prototype.getRight = function() {
295
- return this.right;
296
- }, c.prototype.getTop = function() {
297
- return this.top;
298
- }, c.prototype.getBottom = function() {
299
- return this.bottom;
300
- }, c.prototype.isConnected = function() {
301
- return this.isConnected;
302
- }, c.prototype.add = function(E, T, D) {
303
- if (T == null && D == null) {
304
- var L = E;
305
- if (this.graphManager == null)
306
- throw "Graph has no graph mgr!";
307
- if (this.getNodes().indexOf(L) > -1)
308
- throw "Node already in graph!";
309
- return L.owner = this, this.getNodes().push(L), L;
310
- } else {
311
- var O = E;
312
- if (!(this.getNodes().indexOf(T) > -1 && this.getNodes().indexOf(D) > -1))
313
- throw "Source or target not in graph!";
314
- if (!(T.owner == D.owner && T.owner == this))
315
- throw "Both owners must be this graph!";
316
- return T.owner != D.owner ? null : (O.source = T, O.target = D, O.isInterGraph = !1, this.getEdges().push(O), T.edges.push(O), D != T && D.edges.push(O), O);
317
- }
318
- }, c.prototype.remove = function(E) {
319
- var T = E;
320
- if (E instanceof o) {
321
- if (T == null)
322
- throw "Node is null!";
323
- if (!(T.owner != null && T.owner == this))
324
- throw "Owner graph is invalid!";
325
- if (this.graphManager == null)
326
- throw "Owner graph manager is invalid!";
327
- for (var D = T.edges.slice(), L, O = D.length, d = 0; d < O; d++)
328
- L = D[d], L.isInterGraph ? this.graphManager.remove(L) : L.source.owner.remove(L);
329
- var N = this.nodes.indexOf(T);
330
- if (N == -1)
331
- throw "Node not in owner node list!";
332
- this.nodes.splice(N, 1);
333
- } else if (E instanceof g) {
334
- var L = E;
335
- if (L == null)
336
- throw "Edge is null!";
337
- if (!(L.source != null && L.target != null))
338
- throw "Source and/or target is null!";
339
- if (!(L.source.owner != null && L.target.owner != null && L.source.owner == this && L.target.owner == this))
340
- throw "Source and/or target owner is invalid!";
341
- var s = L.source.edges.indexOf(L), h = L.target.edges.indexOf(L);
342
- if (!(s > -1 && h > -1))
343
- throw "Source and/or target doesn't know this edge!";
344
- L.source.edges.splice(s, 1), L.target != L.source && L.target.edges.splice(h, 1);
345
- var N = L.source.owner.getEdges().indexOf(L);
346
- if (N == -1)
347
- throw "Not in owner's edge list!";
348
- L.source.owner.getEdges().splice(N, 1);
349
- }
350
- }, c.prototype.updateLeftTop = function() {
351
- for (var E = t.MAX_VALUE, T = t.MAX_VALUE, D, L, O, d = this.getNodes(), N = d.length, s = 0; s < N; s++) {
352
- var h = d[s];
353
- D = h.getTop(), L = h.getLeft(), E > D && (E = D), T > L && (T = L);
354
- }
355
- return E == t.MAX_VALUE ? null : (d[0].getParent().paddingLeft != null ? O = d[0].getParent().paddingLeft : O = this.margin, this.left = T - O, this.top = E - O, new v(this.left, this.top));
356
- }, c.prototype.updateBounds = function(E) {
357
- for (var T = t.MAX_VALUE, D = -t.MAX_VALUE, L = t.MAX_VALUE, O = -t.MAX_VALUE, d, N, s, h, u, p = this.nodes, A = p.length, C = 0; C < A; C++) {
358
- var R = p[C];
359
- E && R.child != null && R.updateBounds(), d = R.getLeft(), N = R.getRight(), s = R.getTop(), h = R.getBottom(), T > d && (T = d), D < N && (D = N), L > s && (L = s), O < h && (O = h);
360
- }
361
- var x = new a(T, L, D - T, O - L);
362
- T == t.MAX_VALUE && (this.left = this.parent.getLeft(), this.right = this.parent.getRight(), this.top = this.parent.getTop(), this.bottom = this.parent.getBottom()), p[0].getParent().paddingLeft != null ? u = p[0].getParent().paddingLeft : u = this.margin, this.left = x.x - u, this.right = x.x + x.width + u, this.top = x.y - u, this.bottom = x.y + x.height + u;
363
- }, c.calculateBounds = function(E) {
364
- for (var T = t.MAX_VALUE, D = -t.MAX_VALUE, L = t.MAX_VALUE, O = -t.MAX_VALUE, d, N, s, h, u = E.length, p = 0; p < u; p++) {
365
- var A = E[p];
366
- d = A.getLeft(), N = A.getRight(), s = A.getTop(), h = A.getBottom(), T > d && (T = d), D < N && (D = N), L > s && (L = s), O < h && (O = h);
367
- }
368
- var C = new a(T, L, D - T, O - L);
369
- return C;
370
- }, c.prototype.getInclusionTreeDepth = function() {
371
- return this == this.graphManager.getRoot() ? 1 : this.parent.getInclusionTreeDepth();
372
- }, c.prototype.getEstimatedSize = function() {
373
- if (this.estimatedSize == t.MIN_VALUE)
374
- throw "assert failed";
375
- return this.estimatedSize;
376
- }, c.prototype.calcEstimatedSize = function() {
377
- for (var E = 0, T = this.nodes, D = T.length, L = 0; L < D; L++) {
378
- var O = T[L];
379
- E += O.calcEstimatedSize();
380
- }
381
- return E == 0 ? this.estimatedSize = e.EMPTY_COMPOUND_NODE_SIZE : this.estimatedSize = E / Math.sqrt(this.nodes.length), this.estimatedSize;
382
- }, c.prototype.updateConnected = function() {
383
- var E = this;
384
- if (this.nodes.length == 0) {
385
- this.isConnected = !0;
386
- return;
387
- }
388
- var T = new n(), D = /* @__PURE__ */ new Set(), L = this.nodes[0], O, d, N = L.withChildren();
389
- for (N.forEach(function(C) {
390
- T.push(C), D.add(C);
391
- }); T.length !== 0; ) {
392
- L = T.shift(), O = L.getEdges();
393
- for (var s = O.length, h = 0; h < s; h++) {
394
- var u = O[h];
395
- if (d = u.getOtherEndInGraph(L, this), d != null && !D.has(d)) {
396
- var p = d.withChildren();
397
- p.forEach(function(C) {
398
- T.push(C), D.add(C);
399
- });
400
- }
401
- }
402
- }
403
- if (this.isConnected = !1, D.size >= this.nodes.length) {
404
- var A = 0;
405
- D.forEach(function(C) {
406
- C.owner == E && A++;
407
- }), A == this.nodes.length && (this.isConnected = !0);
408
- }
409
- }, f.exports = c;
410
- },
411
- /* 6 */
412
- /***/
413
- function(f, m, y) {
414
- var r, t = y(1);
415
- function e(i) {
416
- r = y(5), this.layout = i, this.graphs = [], this.edges = [];
417
- }
418
- e.prototype.addRoot = function() {
419
- var i = this.layout.newGraph(), o = this.layout.newNode(null), g = this.add(i, o);
420
- return this.setRootGraph(g), this.rootGraph;
421
- }, e.prototype.add = function(i, o, g, a, v) {
422
- if (g == null && a == null && v == null) {
423
- if (i == null)
424
- throw "Graph is null!";
425
- if (o == null)
426
- throw "Parent node is null!";
427
- if (this.graphs.indexOf(i) > -1)
428
- throw "Graph already in this graph mgr!";
429
- if (this.graphs.push(i), i.parent != null)
430
- throw "Already has a parent!";
431
- if (o.child != null)
432
- throw "Already has a child!";
433
- return i.parent = o, o.child = i, i;
434
- } else {
435
- v = g, a = o, g = i;
436
- var n = a.getOwner(), c = v.getOwner();
437
- if (!(n != null && n.getGraphManager() == this))
438
- throw "Source not in this graph mgr!";
439
- if (!(c != null && c.getGraphManager() == this))
440
- throw "Target not in this graph mgr!";
441
- if (n == c)
442
- return g.isInterGraph = !1, n.add(g, a, v);
443
- if (g.isInterGraph = !0, g.source = a, g.target = v, this.edges.indexOf(g) > -1)
444
- throw "Edge already in inter-graph edge list!";
445
- if (this.edges.push(g), !(g.source != null && g.target != null))
446
- throw "Edge source and/or target is null!";
447
- if (!(g.source.edges.indexOf(g) == -1 && g.target.edges.indexOf(g) == -1))
448
- throw "Edge already in source and/or target incidency list!";
449
- return g.source.edges.push(g), g.target.edges.push(g), g;
450
- }
451
- }, e.prototype.remove = function(i) {
452
- if (i instanceof r) {
453
- var o = i;
454
- if (o.getGraphManager() != this)
455
- throw "Graph not in this graph mgr";
456
- if (!(o == this.rootGraph || o.parent != null && o.parent.graphManager == this))
457
- throw "Invalid parent node!";
458
- var g = [];
459
- g = g.concat(o.getEdges());
460
- for (var a, v = g.length, n = 0; n < v; n++)
461
- a = g[n], o.remove(a);
462
- var c = [];
463
- c = c.concat(o.getNodes());
464
- var l;
465
- v = c.length;
466
- for (var n = 0; n < v; n++)
467
- l = c[n], o.remove(l);
468
- o == this.rootGraph && this.setRootGraph(null);
469
- var E = this.graphs.indexOf(o);
470
- this.graphs.splice(E, 1), o.parent = null;
471
- } else if (i instanceof t) {
472
- if (a = i, a == null)
473
- throw "Edge is null!";
474
- if (!a.isInterGraph)
475
- throw "Not an inter-graph edge!";
476
- if (!(a.source != null && a.target != null))
477
- throw "Source and/or target is null!";
478
- if (!(a.source.edges.indexOf(a) != -1 && a.target.edges.indexOf(a) != -1))
479
- throw "Source and/or target doesn't know this edge!";
480
- var E = a.source.edges.indexOf(a);
481
- if (a.source.edges.splice(E, 1), E = a.target.edges.indexOf(a), a.target.edges.splice(E, 1), !(a.source.owner != null && a.source.owner.getGraphManager() != null))
482
- throw "Edge owner graph or owner graph manager is null!";
483
- if (a.source.owner.getGraphManager().edges.indexOf(a) == -1)
484
- throw "Not in owner graph manager's edge list!";
485
- var E = a.source.owner.getGraphManager().edges.indexOf(a);
486
- a.source.owner.getGraphManager().edges.splice(E, 1);
487
- }
488
- }, e.prototype.updateBounds = function() {
489
- this.rootGraph.updateBounds(!0);
490
- }, e.prototype.getGraphs = function() {
491
- return this.graphs;
492
- }, e.prototype.getAllNodes = function() {
493
- if (this.allNodes == null) {
494
- for (var i = [], o = this.getGraphs(), g = o.length, a = 0; a < g; a++)
495
- i = i.concat(o[a].getNodes());
496
- this.allNodes = i;
497
- }
498
- return this.allNodes;
499
- }, e.prototype.resetAllNodes = function() {
500
- this.allNodes = null;
501
- }, e.prototype.resetAllEdges = function() {
502
- this.allEdges = null;
503
- }, e.prototype.resetAllNodesToApplyGravitation = function() {
504
- this.allNodesToApplyGravitation = null;
505
- }, e.prototype.getAllEdges = function() {
506
- if (this.allEdges == null) {
507
- var i = [], o = this.getGraphs();
508
- o.length;
509
- for (var g = 0; g < o.length; g++)
510
- i = i.concat(o[g].getEdges());
511
- i = i.concat(this.edges), this.allEdges = i;
512
- }
513
- return this.allEdges;
514
- }, e.prototype.getAllNodesToApplyGravitation = function() {
515
- return this.allNodesToApplyGravitation;
516
- }, e.prototype.setAllNodesToApplyGravitation = function(i) {
517
- if (this.allNodesToApplyGravitation != null)
518
- throw "assert failed";
519
- this.allNodesToApplyGravitation = i;
520
- }, e.prototype.getRoot = function() {
521
- return this.rootGraph;
522
- }, e.prototype.setRootGraph = function(i) {
523
- if (i.getGraphManager() != this)
524
- throw "Root not in this graph mgr!";
525
- this.rootGraph = i, i.parent == null && (i.parent = this.layout.newNode("Root node"));
526
- }, e.prototype.getLayout = function() {
527
- return this.layout;
528
- }, e.prototype.isOneAncestorOfOther = function(i, o) {
529
- if (!(i != null && o != null))
530
- throw "assert failed";
531
- if (i == o)
532
- return !0;
533
- var g = i.getOwner(), a;
534
- do {
535
- if (a = g.getParent(), a == null)
536
- break;
537
- if (a == o)
538
- return !0;
539
- if (g = a.getOwner(), g == null)
540
- break;
541
- } while (!0);
542
- g = o.getOwner();
543
- do {
544
- if (a = g.getParent(), a == null)
545
- break;
546
- if (a == i)
547
- return !0;
548
- if (g = a.getOwner(), g == null)
549
- break;
550
- } while (!0);
551
- return !1;
552
- }, e.prototype.calcLowestCommonAncestors = function() {
553
- for (var i, o, g, a, v, n = this.getAllEdges(), c = n.length, l = 0; l < c; l++) {
554
- if (i = n[l], o = i.source, g = i.target, i.lca = null, i.sourceInLca = o, i.targetInLca = g, o == g) {
555
- i.lca = o.getOwner();
556
- continue;
557
- }
558
- for (a = o.getOwner(); i.lca == null; ) {
559
- for (i.targetInLca = g, v = g.getOwner(); i.lca == null; ) {
560
- if (v == a) {
561
- i.lca = v;
562
- break;
563
- }
564
- if (v == this.rootGraph)
565
- break;
566
- if (i.lca != null)
567
- throw "assert failed";
568
- i.targetInLca = v.getParent(), v = i.targetInLca.getOwner();
569
- }
570
- if (a == this.rootGraph)
571
- break;
572
- i.lca == null && (i.sourceInLca = a.getParent(), a = i.sourceInLca.getOwner());
573
- }
574
- if (i.lca == null)
575
- throw "assert failed";
576
- }
577
- }, e.prototype.calcLowestCommonAncestor = function(i, o) {
578
- if (i == o)
579
- return i.getOwner();
580
- var g = i.getOwner();
581
- do {
582
- if (g == null)
583
- break;
584
- var a = o.getOwner();
585
- do {
586
- if (a == null)
587
- break;
588
- if (a == g)
589
- return a;
590
- a = a.getParent().getOwner();
591
- } while (!0);
592
- g = g.getParent().getOwner();
593
- } while (!0);
594
- return g;
595
- }, e.prototype.calcInclusionTreeDepths = function(i, o) {
596
- i == null && o == null && (i = this.rootGraph, o = 1);
597
- for (var g, a = i.getNodes(), v = a.length, n = 0; n < v; n++)
598
- g = a[n], g.inclusionTreeDepth = o, g.child != null && this.calcInclusionTreeDepths(g.child, o + 1);
599
- }, e.prototype.includesInvalidEdge = function() {
600
- for (var i, o = this.edges.length, g = 0; g < o; g++)
601
- if (i = this.edges[g], this.isOneAncestorOfOther(i.source, i.target))
602
- return !0;
603
- return !1;
604
- }, f.exports = e;
605
- },
606
- /* 7 */
607
- /***/
608
- function(f, m, y) {
609
- var r = y(0);
610
- function t() {
611
- }
612
- for (var e in r)
613
- t[e] = r[e];
614
- t.MAX_ITERATIONS = 2500, t.DEFAULT_EDGE_LENGTH = 50, t.DEFAULT_SPRING_STRENGTH = 0.45, t.DEFAULT_REPULSION_STRENGTH = 4500, t.DEFAULT_GRAVITY_STRENGTH = 0.4, t.DEFAULT_COMPOUND_GRAVITY_STRENGTH = 1, t.DEFAULT_GRAVITY_RANGE_FACTOR = 3.8, t.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = 1.5, t.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION = !0, t.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION = !0, t.DEFAULT_COOLING_FACTOR_INCREMENTAL = 0.3, t.COOLING_ADAPTATION_FACTOR = 0.33, t.ADAPTATION_LOWER_NODE_LIMIT = 1e3, t.ADAPTATION_UPPER_NODE_LIMIT = 5e3, t.MAX_NODE_DISPLACEMENT_INCREMENTAL = 100, t.MAX_NODE_DISPLACEMENT = t.MAX_NODE_DISPLACEMENT_INCREMENTAL * 3, t.MIN_REPULSION_DIST = t.DEFAULT_EDGE_LENGTH / 10, t.CONVERGENCE_CHECK_PERIOD = 100, t.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = 0.1, t.MIN_EDGE_LENGTH = 1, t.GRID_CALCULATION_CHECK_PERIOD = 10, f.exports = t;
615
- },
616
- /* 8 */
617
- /***/
618
- function(f, m, y) {
619
- var r = y(12);
620
- function t() {
621
- }
622
- t.calcSeparationAmount = function(e, i, o, g) {
623
- if (!e.intersects(i))
624
- throw "assert failed";
625
- var a = new Array(2);
626
- this.decideDirectionsForOverlappingNodes(e, i, a), o[0] = Math.min(e.getRight(), i.getRight()) - Math.max(e.x, i.x), o[1] = Math.min(e.getBottom(), i.getBottom()) - Math.max(e.y, i.y), e.getX() <= i.getX() && e.getRight() >= i.getRight() ? o[0] += Math.min(i.getX() - e.getX(), e.getRight() - i.getRight()) : i.getX() <= e.getX() && i.getRight() >= e.getRight() && (o[0] += Math.min(e.getX() - i.getX(), i.getRight() - e.getRight())), e.getY() <= i.getY() && e.getBottom() >= i.getBottom() ? o[1] += Math.min(i.getY() - e.getY(), e.getBottom() - i.getBottom()) : i.getY() <= e.getY() && i.getBottom() >= e.getBottom() && (o[1] += Math.min(e.getY() - i.getY(), i.getBottom() - e.getBottom()));
627
- var v = Math.abs((i.getCenterY() - e.getCenterY()) / (i.getCenterX() - e.getCenterX()));
628
- i.getCenterY() === e.getCenterY() && i.getCenterX() === e.getCenterX() && (v = 1);
629
- var n = v * o[0], c = o[1] / v;
630
- o[0] < c ? c = o[0] : n = o[1], o[0] = -1 * a[0] * (c / 2 + g), o[1] = -1 * a[1] * (n / 2 + g);
631
- }, t.decideDirectionsForOverlappingNodes = function(e, i, o) {
632
- e.getCenterX() < i.getCenterX() ? o[0] = -1 : o[0] = 1, e.getCenterY() < i.getCenterY() ? o[1] = -1 : o[1] = 1;
633
- }, t.getIntersection2 = function(e, i, o) {
634
- var g = e.getCenterX(), a = e.getCenterY(), v = i.getCenterX(), n = i.getCenterY();
635
- if (e.intersects(i))
636
- return o[0] = g, o[1] = a, o[2] = v, o[3] = n, !0;
637
- var c = e.getX(), l = e.getY(), E = e.getRight(), T = e.getX(), D = e.getBottom(), L = e.getRight(), O = e.getWidthHalf(), d = e.getHeightHalf(), N = i.getX(), s = i.getY(), h = i.getRight(), u = i.getX(), p = i.getBottom(), A = i.getRight(), C = i.getWidthHalf(), R = i.getHeightHalf(), x = !1, _ = !1;
638
- if (g === v) {
639
- if (a > n)
640
- return o[0] = g, o[1] = l, o[2] = v, o[3] = p, !1;
641
- if (a < n)
642
- return o[0] = g, o[1] = D, o[2] = v, o[3] = s, !1;
643
- } else if (a === n) {
644
- if (g > v)
645
- return o[0] = c, o[1] = a, o[2] = h, o[3] = n, !1;
646
- if (g < v)
647
- return o[0] = E, o[1] = a, o[2] = N, o[3] = n, !1;
648
- } else {
649
- var U = e.height / e.width, X = i.height / i.width, M = (n - a) / (v - g), G = void 0, F = void 0, b = void 0, Y = void 0, k = void 0, H = void 0;
650
- if (-U === M ? g > v ? (o[0] = T, o[1] = D, x = !0) : (o[0] = E, o[1] = l, x = !0) : U === M && (g > v ? (o[0] = c, o[1] = l, x = !0) : (o[0] = L, o[1] = D, x = !0)), -X === M ? v > g ? (o[2] = u, o[3] = p, _ = !0) : (o[2] = h, o[3] = s, _ = !0) : X === M && (v > g ? (o[2] = N, o[3] = s, _ = !0) : (o[2] = A, o[3] = p, _ = !0)), x && _)
651
- return !1;
652
- if (g > v ? a > n ? (G = this.getCardinalDirection(U, M, 4), F = this.getCardinalDirection(X, M, 2)) : (G = this.getCardinalDirection(-U, M, 3), F = this.getCardinalDirection(-X, M, 1)) : a > n ? (G = this.getCardinalDirection(-U, M, 1), F = this.getCardinalDirection(-X, M, 3)) : (G = this.getCardinalDirection(U, M, 2), F = this.getCardinalDirection(X, M, 4)), !x)
653
- switch (G) {
654
- case 1:
655
- Y = l, b = g + -d / M, o[0] = b, o[1] = Y;
656
- break;
657
- case 2:
658
- b = L, Y = a + O * M, o[0] = b, o[1] = Y;
659
- break;
660
- case 3:
661
- Y = D, b = g + d / M, o[0] = b, o[1] = Y;
662
- break;
663
- case 4:
664
- b = T, Y = a + -O * M, o[0] = b, o[1] = Y;
665
- break;
666
- }
667
- if (!_)
668
- switch (F) {
669
- case 1:
670
- H = s, k = v + -R / M, o[2] = k, o[3] = H;
671
- break;
672
- case 2:
673
- k = A, H = n + C * M, o[2] = k, o[3] = H;
674
- break;
675
- case 3:
676
- H = p, k = v + R / M, o[2] = k, o[3] = H;
677
- break;
678
- case 4:
679
- k = u, H = n + -C * M, o[2] = k, o[3] = H;
680
- break;
681
- }
682
- }
683
- return !1;
684
- }, t.getCardinalDirection = function(e, i, o) {
685
- return e > i ? o : 1 + o % 4;
686
- }, t.getIntersection = function(e, i, o, g) {
687
- if (g == null)
688
- return this.getIntersection2(e, i, o);
689
- var a = e.x, v = e.y, n = i.x, c = i.y, l = o.x, E = o.y, T = g.x, D = g.y, L = void 0, O = void 0, d = void 0, N = void 0, s = void 0, h = void 0, u = void 0, p = void 0, A = void 0;
690
- return d = c - v, s = a - n, u = n * v - a * c, N = D - E, h = l - T, p = T * E - l * D, A = d * h - N * s, A === 0 ? null : (L = (s * p - h * u) / A, O = (N * u - d * p) / A, new r(L, O));
691
- }, t.angleOfVector = function(e, i, o, g) {
692
- var a = void 0;
693
- return e !== o ? (a = Math.atan((g - i) / (o - e)), o < e ? a += Math.PI : g < i && (a += this.TWO_PI)) : g < i ? a = this.ONE_AND_HALF_PI : a = this.HALF_PI, a;
694
- }, t.doIntersect = function(e, i, o, g) {
695
- var a = e.x, v = e.y, n = i.x, c = i.y, l = o.x, E = o.y, T = g.x, D = g.y, L = (n - a) * (D - E) - (T - l) * (c - v);
696
- if (L === 0)
697
- return !1;
698
- var O = ((D - E) * (T - a) + (l - T) * (D - v)) / L, d = ((v - c) * (T - a) + (n - a) * (D - v)) / L;
699
- return 0 < O && O < 1 && 0 < d && d < 1;
700
- }, t.HALF_PI = 0.5 * Math.PI, t.ONE_AND_HALF_PI = 1.5 * Math.PI, t.TWO_PI = 2 * Math.PI, t.THREE_PI = 3 * Math.PI, f.exports = t;
701
- },
702
- /* 9 */
703
- /***/
704
- function(f, m, y) {
705
- function r() {
706
- }
707
- r.sign = function(t) {
708
- return t > 0 ? 1 : t < 0 ? -1 : 0;
709
- }, r.floor = function(t) {
710
- return t < 0 ? Math.ceil(t) : Math.floor(t);
711
- }, r.ceil = function(t) {
712
- return t < 0 ? Math.floor(t) : Math.ceil(t);
713
- }, f.exports = r;
714
- },
715
- /* 10 */
716
- /***/
717
- function(f, m, y) {
718
- function r() {
719
- }
720
- r.MAX_VALUE = 2147483647, r.MIN_VALUE = -2147483648, f.exports = r;
721
- },
722
- /* 11 */
723
- /***/
724
- function(f, m, y) {
725
- var r = /* @__PURE__ */ function() {
726
- function a(v, n) {
727
- for (var c = 0; c < n.length; c++) {
728
- var l = n[c];
729
- l.enumerable = l.enumerable || !1, l.configurable = !0, "value" in l && (l.writable = !0), Object.defineProperty(v, l.key, l);
730
- }
731
- }
732
- return function(v, n, c) {
733
- return n && a(v.prototype, n), c && a(v, c), v;
734
- };
735
- }();
736
- function t(a, v) {
737
- if (!(a instanceof v))
738
- throw new TypeError("Cannot call a class as a function");
739
- }
740
- var e = function(v) {
741
- return { value: v, next: null, prev: null };
742
- }, i = function(v, n, c, l) {
743
- return v !== null ? v.next = n : l.head = n, c !== null ? c.prev = n : l.tail = n, n.prev = v, n.next = c, l.length++, n;
744
- }, o = function(v, n) {
745
- var c = v.prev, l = v.next;
746
- return c !== null ? c.next = l : n.head = l, l !== null ? l.prev = c : n.tail = c, v.prev = v.next = null, n.length--, v;
747
- }, g = function() {
748
- function a(v) {
749
- var n = this;
750
- t(this, a), this.length = 0, this.head = null, this.tail = null, v != null && v.forEach(function(c) {
751
- return n.push(c);
752
- });
753
- }
754
- return r(a, [{
755
- key: "size",
756
- value: function() {
757
- return this.length;
758
- }
759
- }, {
760
- key: "insertBefore",
761
- value: function(n, c) {
762
- return i(c.prev, e(n), c, this);
763
- }
764
- }, {
765
- key: "insertAfter",
766
- value: function(n, c) {
767
- return i(c, e(n), c.next, this);
768
- }
769
- }, {
770
- key: "insertNodeBefore",
771
- value: function(n, c) {
772
- return i(c.prev, n, c, this);
773
- }
774
- }, {
775
- key: "insertNodeAfter",
776
- value: function(n, c) {
777
- return i(c, n, c.next, this);
778
- }
779
- }, {
780
- key: "push",
781
- value: function(n) {
782
- return i(this.tail, e(n), null, this);
783
- }
784
- }, {
785
- key: "unshift",
786
- value: function(n) {
787
- return i(null, e(n), this.head, this);
788
- }
789
- }, {
790
- key: "remove",
791
- value: function(n) {
792
- return o(n, this);
793
- }
794
- }, {
795
- key: "pop",
796
- value: function() {
797
- return o(this.tail, this).value;
798
- }
799
- }, {
800
- key: "popNode",
801
- value: function() {
802
- return o(this.tail, this);
803
- }
804
- }, {
805
- key: "shift",
806
- value: function() {
807
- return o(this.head, this).value;
808
- }
809
- }, {
810
- key: "shiftNode",
811
- value: function() {
812
- return o(this.head, this);
813
- }
814
- }, {
815
- key: "get_object_at",
816
- value: function(n) {
817
- if (n <= this.length()) {
818
- for (var c = 1, l = this.head; c < n; )
819
- l = l.next, c++;
820
- return l.value;
821
- }
822
- }
823
- }, {
824
- key: "set_object_at",
825
- value: function(n, c) {
826
- if (n <= this.length()) {
827
- for (var l = 1, E = this.head; l < n; )
828
- E = E.next, l++;
829
- E.value = c;
830
- }
831
- }
832
- }]), a;
833
- }();
834
- f.exports = g;
835
- },
836
- /* 12 */
837
- /***/
838
- function(f, m, y) {
839
- function r(t, e, i) {
840
- this.x = null, this.y = null, t == null && e == null && i == null ? (this.x = 0, this.y = 0) : typeof t == "number" && typeof e == "number" && i == null ? (this.x = t, this.y = e) : t.constructor.name == "Point" && e == null && i == null && (i = t, this.x = i.x, this.y = i.y);
841
- }
842
- r.prototype.getX = function() {
843
- return this.x;
844
- }, r.prototype.getY = function() {
845
- return this.y;
846
- }, r.prototype.getLocation = function() {
847
- return new r(this.x, this.y);
848
- }, r.prototype.setLocation = function(t, e, i) {
849
- t.constructor.name == "Point" && e == null && i == null ? (i = t, this.setLocation(i.x, i.y)) : typeof t == "number" && typeof e == "number" && i == null && (parseInt(t) == t && parseInt(e) == e ? this.move(t, e) : (this.x = Math.floor(t + 0.5), this.y = Math.floor(e + 0.5)));
850
- }, r.prototype.move = function(t, e) {
851
- this.x = t, this.y = e;
852
- }, r.prototype.translate = function(t, e) {
853
- this.x += t, this.y += e;
854
- }, r.prototype.equals = function(t) {
855
- if (t.constructor.name == "Point") {
856
- var e = t;
857
- return this.x == e.x && this.y == e.y;
858
- }
859
- return this == t;
860
- }, r.prototype.toString = function() {
861
- return new r().constructor.name + "[x=" + this.x + ",y=" + this.y + "]";
862
- }, f.exports = r;
863
- },
864
- /* 13 */
865
- /***/
866
- function(f, m, y) {
867
- function r(t, e, i, o) {
868
- this.x = 0, this.y = 0, this.width = 0, this.height = 0, t != null && e != null && i != null && o != null && (this.x = t, this.y = e, this.width = i, this.height = o);
869
- }
870
- r.prototype.getX = function() {
871
- return this.x;
872
- }, r.prototype.setX = function(t) {
873
- this.x = t;
874
- }, r.prototype.getY = function() {
875
- return this.y;
876
- }, r.prototype.setY = function(t) {
877
- this.y = t;
878
- }, r.prototype.getWidth = function() {
879
- return this.width;
880
- }, r.prototype.setWidth = function(t) {
881
- this.width = t;
882
- }, r.prototype.getHeight = function() {
883
- return this.height;
884
- }, r.prototype.setHeight = function(t) {
885
- this.height = t;
886
- }, r.prototype.getRight = function() {
887
- return this.x + this.width;
888
- }, r.prototype.getBottom = function() {
889
- return this.y + this.height;
890
- }, r.prototype.intersects = function(t) {
891
- return !(this.getRight() < t.x || this.getBottom() < t.y || t.getRight() < this.x || t.getBottom() < this.y);
892
- }, r.prototype.getCenterX = function() {
893
- return this.x + this.width / 2;
894
- }, r.prototype.getMinX = function() {
895
- return this.getX();
896
- }, r.prototype.getMaxX = function() {
897
- return this.getX() + this.width;
898
- }, r.prototype.getCenterY = function() {
899
- return this.y + this.height / 2;
900
- }, r.prototype.getMinY = function() {
901
- return this.getY();
902
- }, r.prototype.getMaxY = function() {
903
- return this.getY() + this.height;
904
- }, r.prototype.getWidthHalf = function() {
905
- return this.width / 2;
906
- }, r.prototype.getHeightHalf = function() {
907
- return this.height / 2;
908
- }, f.exports = r;
909
- },
910
- /* 14 */
911
- /***/
912
- function(f, m, y) {
913
- var r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
914
- return typeof e;
915
- } : function(e) {
916
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
917
- };
918
- function t() {
919
- }
920
- t.lastID = 0, t.createID = function(e) {
921
- return t.isPrimitive(e) ? e : (e.uniqueID != null || (e.uniqueID = t.getString(), t.lastID++), e.uniqueID);
922
- }, t.getString = function(e) {
923
- return e == null && (e = t.lastID), "Object#" + e;
924
- }, t.isPrimitive = function(e) {
925
- var i = typeof e > "u" ? "undefined" : r(e);
926
- return e == null || i != "object" && i != "function";
927
- }, f.exports = t;
928
- },
929
- /* 15 */
930
- /***/
931
- function(f, m, y) {
932
- function r(l) {
933
- if (Array.isArray(l)) {
934
- for (var E = 0, T = Array(l.length); E < l.length; E++)
935
- T[E] = l[E];
936
- return T;
937
- } else
938
- return Array.from(l);
939
- }
940
- var t = y(0), e = y(6), i = y(3), o = y(1), g = y(5), a = y(4), v = y(17), n = y(27);
941
- function c(l) {
942
- n.call(this), this.layoutQuality = t.QUALITY, this.createBendsAsNeeded = t.DEFAULT_CREATE_BENDS_AS_NEEDED, this.incremental = t.DEFAULT_INCREMENTAL, this.animationOnLayout = t.DEFAULT_ANIMATION_ON_LAYOUT, this.animationDuringLayout = t.DEFAULT_ANIMATION_DURING_LAYOUT, this.animationPeriod = t.DEFAULT_ANIMATION_PERIOD, this.uniformLeafNodeSizes = t.DEFAULT_UNIFORM_LEAF_NODE_SIZES, this.edgeToDummyNodes = /* @__PURE__ */ new Map(), this.graphManager = new e(this), this.isLayoutFinished = !1, this.isSubLayout = !1, this.isRemoteUse = !1, l != null && (this.isRemoteUse = l);
943
- }
944
- c.RANDOM_SEED = 1, c.prototype = Object.create(n.prototype), c.prototype.getGraphManager = function() {
945
- return this.graphManager;
946
- }, c.prototype.getAllNodes = function() {
947
- return this.graphManager.getAllNodes();
948
- }, c.prototype.getAllEdges = function() {
949
- return this.graphManager.getAllEdges();
950
- }, c.prototype.getAllNodesToApplyGravitation = function() {
951
- return this.graphManager.getAllNodesToApplyGravitation();
952
- }, c.prototype.newGraphManager = function() {
953
- var l = new e(this);
954
- return this.graphManager = l, l;
955
- }, c.prototype.newGraph = function(l) {
956
- return new g(null, this.graphManager, l);
957
- }, c.prototype.newNode = function(l) {
958
- return new i(this.graphManager, l);
959
- }, c.prototype.newEdge = function(l) {
960
- return new o(null, null, l);
961
- }, c.prototype.checkLayoutSuccess = function() {
962
- return this.graphManager.getRoot() == null || this.graphManager.getRoot().getNodes().length == 0 || this.graphManager.includesInvalidEdge();
963
- }, c.prototype.runLayout = function() {
964
- this.isLayoutFinished = !1, this.tilingPreLayout && this.tilingPreLayout(), this.initParameters();
965
- var l;
966
- return this.checkLayoutSuccess() ? l = !1 : l = this.layout(), t.ANIMATE === "during" ? !1 : (l && (this.isSubLayout || this.doPostLayout()), this.tilingPostLayout && this.tilingPostLayout(), this.isLayoutFinished = !0, l);
967
- }, c.prototype.doPostLayout = function() {
968
- this.incremental || this.transform(), this.update();
969
- }, c.prototype.update2 = function() {
970
- if (this.createBendsAsNeeded && (this.createBendpointsFromDummyNodes(), this.graphManager.resetAllEdges()), !this.isRemoteUse) {
971
- for (var l = this.graphManager.getAllEdges(), E = 0; E < l.length; E++)
972
- l[E];
973
- for (var T = this.graphManager.getRoot().getNodes(), E = 0; E < T.length; E++)
974
- T[E];
975
- this.update(this.graphManager.getRoot());
976
- }
977
- }, c.prototype.update = function(l) {
978
- if (l == null)
979
- this.update2();
980
- else if (l instanceof i) {
981
- var E = l;
982
- if (E.getChild() != null)
983
- for (var T = E.getChild().getNodes(), D = 0; D < T.length; D++)
984
- update(T[D]);
985
- if (E.vGraphObject != null) {
986
- var L = E.vGraphObject;
987
- L.update(E);
988
- }
989
- } else if (l instanceof o) {
990
- var O = l;
991
- if (O.vGraphObject != null) {
992
- var d = O.vGraphObject;
993
- d.update(O);
994
- }
995
- } else if (l instanceof g) {
996
- var N = l;
997
- if (N.vGraphObject != null) {
998
- var s = N.vGraphObject;
999
- s.update(N);
1000
- }
1001
- }
1002
- }, c.prototype.initParameters = function() {
1003
- this.isSubLayout || (this.layoutQuality = t.QUALITY, this.animationDuringLayout = t.DEFAULT_ANIMATION_DURING_LAYOUT, this.animationPeriod = t.DEFAULT_ANIMATION_PERIOD, this.animationOnLayout = t.DEFAULT_ANIMATION_ON_LAYOUT, this.incremental = t.DEFAULT_INCREMENTAL, this.createBendsAsNeeded = t.DEFAULT_CREATE_BENDS_AS_NEEDED, this.uniformLeafNodeSizes = t.DEFAULT_UNIFORM_LEAF_NODE_SIZES), this.animationDuringLayout && (this.animationOnLayout = !1);
1004
- }, c.prototype.transform = function(l) {
1005
- if (l == null)
1006
- this.transform(new a(0, 0));
1007
- else {
1008
- var E = new v(), T = this.graphManager.getRoot().updateLeftTop();
1009
- if (T != null) {
1010
- E.setWorldOrgX(l.x), E.setWorldOrgY(l.y), E.setDeviceOrgX(T.x), E.setDeviceOrgY(T.y);
1011
- for (var D = this.getAllNodes(), L, O = 0; O < D.length; O++)
1012
- L = D[O], L.transform(E);
1013
- }
1014
- }
1015
- }, c.prototype.positionNodesRandomly = function(l) {
1016
- if (l == null)
1017
- this.positionNodesRandomly(this.getGraphManager().getRoot()), this.getGraphManager().getRoot().updateBounds(!0);
1018
- else
1019
- for (var E, T, D = l.getNodes(), L = 0; L < D.length; L++)
1020
- E = D[L], T = E.getChild(), T == null || T.getNodes().length == 0 ? E.scatter() : (this.positionNodesRandomly(T), E.updateBounds());
1021
- }, c.prototype.getFlatForest = function() {
1022
- for (var l = [], E = !0, T = this.graphManager.getRoot().getNodes(), D = !0, L = 0; L < T.length; L++)
1023
- T[L].getChild() != null && (D = !1);
1024
- if (!D)
1025
- return l;
1026
- var O = /* @__PURE__ */ new Set(), d = [], N = /* @__PURE__ */ new Map(), s = [];
1027
- for (s = s.concat(T); s.length > 0 && E; ) {
1028
- for (d.push(s[0]); d.length > 0 && E; ) {
1029
- var h = d[0];
1030
- d.splice(0, 1), O.add(h);
1031
- for (var u = h.getEdges(), L = 0; L < u.length; L++) {
1032
- var p = u[L].getOtherEnd(h);
1033
- if (N.get(h) != p)
1034
- if (!O.has(p))
1035
- d.push(p), N.set(p, h);
1036
- else {
1037
- E = !1;
1038
- break;
1039
- }
1040
- }
1041
- }
1042
- if (!E)
1043
- l = [];
1044
- else {
1045
- var A = [].concat(r(O));
1046
- l.push(A);
1047
- for (var L = 0; L < A.length; L++) {
1048
- var C = A[L], R = s.indexOf(C);
1049
- R > -1 && s.splice(R, 1);
1050
- }
1051
- O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Map();
1052
- }
1053
- }
1054
- return l;
1055
- }, c.prototype.createDummyNodesForBendpoints = function(l) {
1056
- for (var E = [], T = l.source, D = this.graphManager.calcLowestCommonAncestor(l.source, l.target), L = 0; L < l.bendpoints.length; L++) {
1057
- var O = this.newNode(null);
1058
- O.setRect(new Point(0, 0), new Dimension(1, 1)), D.add(O);
1059
- var d = this.newEdge(null);
1060
- this.graphManager.add(d, T, O), E.add(O), T = O;
1061
- }
1062
- var d = this.newEdge(null);
1063
- return this.graphManager.add(d, T, l.target), this.edgeToDummyNodes.set(l, E), l.isInterGraph() ? this.graphManager.remove(l) : D.remove(l), E;
1064
- }, c.prototype.createBendpointsFromDummyNodes = function() {
1065
- var l = [];
1066
- l = l.concat(this.graphManager.getAllEdges()), l = [].concat(r(this.edgeToDummyNodes.keys())).concat(l);
1067
- for (var E = 0; E < l.length; E++) {
1068
- var T = l[E];
1069
- if (T.bendpoints.length > 0) {
1070
- for (var D = this.edgeToDummyNodes.get(T), L = 0; L < D.length; L++) {
1071
- var O = D[L], d = new a(O.getCenterX(), O.getCenterY()), N = T.bendpoints.get(L);
1072
- N.x = d.x, N.y = d.y, O.getOwner().remove(O);
1073
- }
1074
- this.graphManager.add(T, T.source, T.target);
1075
- }
1076
- }
1077
- }, c.transform = function(l, E, T, D) {
1078
- if (T != null && D != null) {
1079
- var L = E;
1080
- if (l <= 50) {
1081
- var O = E / T;
1082
- L -= (E - O) / 50 * (50 - l);
1083
- } else {
1084
- var d = E * D;
1085
- L += (d - E) / 50 * (l - 50);
1086
- }
1087
- return L;
1088
- } else {
1089
- var N, s;
1090
- return l <= 50 ? (N = 9 * E / 500, s = E / 10) : (N = 9 * E / 50, s = -8 * E), N * l + s;
1091
- }
1092
- }, c.findCenterOfTree = function(l) {
1093
- var E = [];
1094
- E = E.concat(l);
1095
- var T = [], D = /* @__PURE__ */ new Map(), L = !1, O = null;
1096
- (E.length == 1 || E.length == 2) && (L = !0, O = E[0]);
1097
- for (var d = 0; d < E.length; d++) {
1098
- var N = E[d], s = N.getNeighborsList().size;
1099
- D.set(N, N.getNeighborsList().size), s == 1 && T.push(N);
1100
- }
1101
- var h = [];
1102
- for (h = h.concat(T); !L; ) {
1103
- var u = [];
1104
- u = u.concat(h), h = [];
1105
- for (var d = 0; d < E.length; d++) {
1106
- var N = E[d], p = E.indexOf(N);
1107
- p >= 0 && E.splice(p, 1);
1108
- var A = N.getNeighborsList();
1109
- A.forEach(function(x) {
1110
- if (T.indexOf(x) < 0) {
1111
- var _ = D.get(x), U = _ - 1;
1112
- U == 1 && h.push(x), D.set(x, U);
1113
- }
1114
- });
1115
- }
1116
- T = T.concat(h), (E.length == 1 || E.length == 2) && (L = !0, O = E[0]);
1117
- }
1118
- return O;
1119
- }, c.prototype.setGraphManager = function(l) {
1120
- this.graphManager = l;
1121
- }, f.exports = c;
1122
- },
1123
- /* 16 */
1124
- /***/
1125
- function(f, m, y) {
1126
- function r() {
1127
- }
1128
- r.seed = 1, r.x = 0, r.nextDouble = function() {
1129
- return r.x = Math.sin(r.seed++) * 1e4, r.x - Math.floor(r.x);
1130
- }, f.exports = r;
1131
- },
1132
- /* 17 */
1133
- /***/
1134
- function(f, m, y) {
1135
- var r = y(4);
1136
- function t(e, i) {
1137
- this.lworldOrgX = 0, this.lworldOrgY = 0, this.ldeviceOrgX = 0, this.ldeviceOrgY = 0, this.lworldExtX = 1, this.lworldExtY = 1, this.ldeviceExtX = 1, this.ldeviceExtY = 1;
1138
- }
1139
- t.prototype.getWorldOrgX = function() {
1140
- return this.lworldOrgX;
1141
- }, t.prototype.setWorldOrgX = function(e) {
1142
- this.lworldOrgX = e;
1143
- }, t.prototype.getWorldOrgY = function() {
1144
- return this.lworldOrgY;
1145
- }, t.prototype.setWorldOrgY = function(e) {
1146
- this.lworldOrgY = e;
1147
- }, t.prototype.getWorldExtX = function() {
1148
- return this.lworldExtX;
1149
- }, t.prototype.setWorldExtX = function(e) {
1150
- this.lworldExtX = e;
1151
- }, t.prototype.getWorldExtY = function() {
1152
- return this.lworldExtY;
1153
- }, t.prototype.setWorldExtY = function(e) {
1154
- this.lworldExtY = e;
1155
- }, t.prototype.getDeviceOrgX = function() {
1156
- return this.ldeviceOrgX;
1157
- }, t.prototype.setDeviceOrgX = function(e) {
1158
- this.ldeviceOrgX = e;
1159
- }, t.prototype.getDeviceOrgY = function() {
1160
- return this.ldeviceOrgY;
1161
- }, t.prototype.setDeviceOrgY = function(e) {
1162
- this.ldeviceOrgY = e;
1163
- }, t.prototype.getDeviceExtX = function() {
1164
- return this.ldeviceExtX;
1165
- }, t.prototype.setDeviceExtX = function(e) {
1166
- this.ldeviceExtX = e;
1167
- }, t.prototype.getDeviceExtY = function() {
1168
- return this.ldeviceExtY;
1169
- }, t.prototype.setDeviceExtY = function(e) {
1170
- this.ldeviceExtY = e;
1171
- }, t.prototype.transformX = function(e) {
1172
- var i = 0, o = this.lworldExtX;
1173
- return o != 0 && (i = this.ldeviceOrgX + (e - this.lworldOrgX) * this.ldeviceExtX / o), i;
1174
- }, t.prototype.transformY = function(e) {
1175
- var i = 0, o = this.lworldExtY;
1176
- return o != 0 && (i = this.ldeviceOrgY + (e - this.lworldOrgY) * this.ldeviceExtY / o), i;
1177
- }, t.prototype.inverseTransformX = function(e) {
1178
- var i = 0, o = this.ldeviceExtX;
1179
- return o != 0 && (i = this.lworldOrgX + (e - this.ldeviceOrgX) * this.lworldExtX / o), i;
1180
- }, t.prototype.inverseTransformY = function(e) {
1181
- var i = 0, o = this.ldeviceExtY;
1182
- return o != 0 && (i = this.lworldOrgY + (e - this.ldeviceOrgY) * this.lworldExtY / o), i;
1183
- }, t.prototype.inverseTransformPoint = function(e) {
1184
- var i = new r(this.inverseTransformX(e.x), this.inverseTransformY(e.y));
1185
- return i;
1186
- }, f.exports = t;
1187
- },
1188
- /* 18 */
1189
- /***/
1190
- function(f, m, y) {
1191
- function r(n) {
1192
- if (Array.isArray(n)) {
1193
- for (var c = 0, l = Array(n.length); c < n.length; c++)
1194
- l[c] = n[c];
1195
- return l;
1196
- } else
1197
- return Array.from(n);
1198
- }
1199
- var t = y(15), e = y(7), i = y(0), o = y(8), g = y(9);
1200
- function a() {
1201
- t.call(this), this.useSmartIdealEdgeLengthCalculation = e.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION, this.idealEdgeLength = e.DEFAULT_EDGE_LENGTH, this.springConstant = e.DEFAULT_SPRING_STRENGTH, this.repulsionConstant = e.DEFAULT_REPULSION_STRENGTH, this.gravityConstant = e.DEFAULT_GRAVITY_STRENGTH, this.compoundGravityConstant = e.DEFAULT_COMPOUND_GRAVITY_STRENGTH, this.gravityRangeFactor = e.DEFAULT_GRAVITY_RANGE_FACTOR, this.compoundGravityRangeFactor = e.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR, this.displacementThresholdPerNode = 3 * e.DEFAULT_EDGE_LENGTH / 100, this.coolingFactor = e.DEFAULT_COOLING_FACTOR_INCREMENTAL, this.initialCoolingFactor = e.DEFAULT_COOLING_FACTOR_INCREMENTAL, this.totalDisplacement = 0, this.oldTotalDisplacement = 0, this.maxIterations = e.MAX_ITERATIONS;
1202
- }
1203
- a.prototype = Object.create(t.prototype);
1204
- for (var v in t)
1205
- a[v] = t[v];
1206
- a.prototype.initParameters = function() {
1207
- t.prototype.initParameters.call(this, arguments), this.totalIterations = 0, this.notAnimatedIterations = 0, this.useFRGridVariant = e.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION, this.grid = [];
1208
- }, a.prototype.calcIdealEdgeLengths = function() {
1209
- for (var n, c, l, E, T, D, L = this.getGraphManager().getAllEdges(), O = 0; O < L.length; O++)
1210
- n = L[O], n.idealLength = this.idealEdgeLength, n.isInterGraph && (l = n.getSource(), E = n.getTarget(), T = n.getSourceInLca().getEstimatedSize(), D = n.getTargetInLca().getEstimatedSize(), this.useSmartIdealEdgeLengthCalculation && (n.idealLength += T + D - 2 * i.SIMPLE_NODE_SIZE), c = n.getLca().getInclusionTreeDepth(), n.idealLength += e.DEFAULT_EDGE_LENGTH * e.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR * (l.getInclusionTreeDepth() + E.getInclusionTreeDepth() - 2 * c));
1211
- }, a.prototype.initSpringEmbedder = function() {
1212
- var n = this.getAllNodes().length;
1213
- this.incremental ? (n > e.ADAPTATION_LOWER_NODE_LIMIT && (this.coolingFactor = Math.max(this.coolingFactor * e.COOLING_ADAPTATION_FACTOR, this.coolingFactor - (n - e.ADAPTATION_LOWER_NODE_LIMIT) / (e.ADAPTATION_UPPER_NODE_LIMIT - e.ADAPTATION_LOWER_NODE_LIMIT) * this.coolingFactor * (1 - e.COOLING_ADAPTATION_FACTOR))), this.maxNodeDisplacement = e.MAX_NODE_DISPLACEMENT_INCREMENTAL) : (n > e.ADAPTATION_LOWER_NODE_LIMIT ? this.coolingFactor = Math.max(e.COOLING_ADAPTATION_FACTOR, 1 - (n - e.ADAPTATION_LOWER_NODE_LIMIT) / (e.ADAPTATION_UPPER_NODE_LIMIT - e.ADAPTATION_LOWER_NODE_LIMIT) * (1 - e.COOLING_ADAPTATION_FACTOR)) : this.coolingFactor = 1, this.initialCoolingFactor = this.coolingFactor, this.maxNodeDisplacement = e.MAX_NODE_DISPLACEMENT), this.maxIterations = Math.max(this.getAllNodes().length * 5, this.maxIterations), this.totalDisplacementThreshold = this.displacementThresholdPerNode * this.getAllNodes().length, this.repulsionRange = this.calcRepulsionRange();
1214
- }, a.prototype.calcSpringForces = function() {
1215
- for (var n = this.getAllEdges(), c, l = 0; l < n.length; l++)
1216
- c = n[l], this.calcSpringForce(c, c.idealLength);
1217
- }, a.prototype.calcRepulsionForces = function() {
1218
- var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, l, E, T, D, L = this.getAllNodes(), O;
1219
- if (this.useFRGridVariant)
1220
- for (this.totalIterations % e.GRID_CALCULATION_CHECK_PERIOD == 1 && n && this.updateGrid(), O = /* @__PURE__ */ new Set(), l = 0; l < L.length; l++)
1221
- T = L[l], this.calculateRepulsionForceOfANode(T, O, n, c), O.add(T);
1222
- else
1223
- for (l = 0; l < L.length; l++)
1224
- for (T = L[l], E = l + 1; E < L.length; E++)
1225
- D = L[E], T.getOwner() == D.getOwner() && this.calcRepulsionForce(T, D);
1226
- }, a.prototype.calcGravitationalForces = function() {
1227
- for (var n, c = this.getAllNodesToApplyGravitation(), l = 0; l < c.length; l++)
1228
- n = c[l], this.calcGravitationalForce(n);
1229
- }, a.prototype.moveNodes = function() {
1230
- for (var n = this.getAllNodes(), c, l = 0; l < n.length; l++)
1231
- c = n[l], c.move();
1232
- }, a.prototype.calcSpringForce = function(n, c) {
1233
- var l = n.getSource(), E = n.getTarget(), T, D, L, O;
1234
- if (this.uniformLeafNodeSizes && l.getChild() == null && E.getChild() == null)
1235
- n.updateLengthSimple();
1236
- else if (n.updateLength(), n.isOverlapingSourceAndTarget)
1237
- return;
1238
- T = n.getLength(), T != 0 && (D = this.springConstant * (T - c), L = D * (n.lengthX / T), O = D * (n.lengthY / T), l.springForceX += L, l.springForceY += O, E.springForceX -= L, E.springForceY -= O);
1239
- }, a.prototype.calcRepulsionForce = function(n, c) {
1240
- var l = n.getRect(), E = c.getRect(), T = new Array(2), D = new Array(4), L, O, d, N, s, h, u;
1241
- if (l.intersects(E)) {
1242
- o.calcSeparationAmount(l, E, T, e.DEFAULT_EDGE_LENGTH / 2), h = 2 * T[0], u = 2 * T[1];
1243
- var p = n.noOfChildren * c.noOfChildren / (n.noOfChildren + c.noOfChildren);
1244
- n.repulsionForceX -= p * h, n.repulsionForceY -= p * u, c.repulsionForceX += p * h, c.repulsionForceY += p * u;
1245
- } else
1246
- this.uniformLeafNodeSizes && n.getChild() == null && c.getChild() == null ? (L = E.getCenterX() - l.getCenterX(), O = E.getCenterY() - l.getCenterY()) : (o.getIntersection(l, E, D), L = D[2] - D[0], O = D[3] - D[1]), Math.abs(L) < e.MIN_REPULSION_DIST && (L = g.sign(L) * e.MIN_REPULSION_DIST), Math.abs(O) < e.MIN_REPULSION_DIST && (O = g.sign(O) * e.MIN_REPULSION_DIST), d = L * L + O * O, N = Math.sqrt(d), s = this.repulsionConstant * n.noOfChildren * c.noOfChildren / d, h = s * L / N, u = s * O / N, n.repulsionForceX -= h, n.repulsionForceY -= u, c.repulsionForceX += h, c.repulsionForceY += u;
1247
- }, a.prototype.calcGravitationalForce = function(n) {
1248
- var c, l, E, T, D, L, O, d;
1249
- c = n.getOwner(), l = (c.getRight() + c.getLeft()) / 2, E = (c.getTop() + c.getBottom()) / 2, T = n.getCenterX() - l, D = n.getCenterY() - E, L = Math.abs(T) + n.getWidth() / 2, O = Math.abs(D) + n.getHeight() / 2, n.getOwner() == this.graphManager.getRoot() ? (d = c.getEstimatedSize() * this.gravityRangeFactor, (L > d || O > d) && (n.gravitationForceX = -this.gravityConstant * T, n.gravitationForceY = -this.gravityConstant * D)) : (d = c.getEstimatedSize() * this.compoundGravityRangeFactor, (L > d || O > d) && (n.gravitationForceX = -this.gravityConstant * T * this.compoundGravityConstant, n.gravitationForceY = -this.gravityConstant * D * this.compoundGravityConstant));
1250
- }, a.prototype.isConverged = function() {
1251
- var n, c = !1;
1252
- return this.totalIterations > this.maxIterations / 3 && (c = Math.abs(this.totalDisplacement - this.oldTotalDisplacement) < 2), n = this.totalDisplacement < this.totalDisplacementThreshold, this.oldTotalDisplacement = this.totalDisplacement, n || c;
1253
- }, a.prototype.animate = function() {
1254
- this.animationDuringLayout && !this.isSubLayout && (this.notAnimatedIterations == this.animationPeriod ? (this.update(), this.notAnimatedIterations = 0) : this.notAnimatedIterations++);
1255
- }, a.prototype.calcNoOfChildrenForAllNodes = function() {
1256
- for (var n, c = this.graphManager.getAllNodes(), l = 0; l < c.length; l++)
1257
- n = c[l], n.noOfChildren = n.getNoOfChildren();
1258
- }, a.prototype.calcGrid = function(n) {
1259
- var c = 0, l = 0;
1260
- c = parseInt(Math.ceil((n.getRight() - n.getLeft()) / this.repulsionRange)), l = parseInt(Math.ceil((n.getBottom() - n.getTop()) / this.repulsionRange));
1261
- for (var E = new Array(c), T = 0; T < c; T++)
1262
- E[T] = new Array(l);
1263
- for (var T = 0; T < c; T++)
1264
- for (var D = 0; D < l; D++)
1265
- E[T][D] = new Array();
1266
- return E;
1267
- }, a.prototype.addNodeToGrid = function(n, c, l) {
1268
- var E = 0, T = 0, D = 0, L = 0;
1269
- E = parseInt(Math.floor((n.getRect().x - c) / this.repulsionRange)), T = parseInt(Math.floor((n.getRect().width + n.getRect().x - c) / this.repulsionRange)), D = parseInt(Math.floor((n.getRect().y - l) / this.repulsionRange)), L = parseInt(Math.floor((n.getRect().height + n.getRect().y - l) / this.repulsionRange));
1270
- for (var O = E; O <= T; O++)
1271
- for (var d = D; d <= L; d++)
1272
- this.grid[O][d].push(n), n.setGridCoordinates(E, T, D, L);
1273
- }, a.prototype.updateGrid = function() {
1274
- var n, c, l = this.getAllNodes();
1275
- for (this.grid = this.calcGrid(this.graphManager.getRoot()), n = 0; n < l.length; n++)
1276
- c = l[n], this.addNodeToGrid(c, this.graphManager.getRoot().getLeft(), this.graphManager.getRoot().getTop());
1277
- }, a.prototype.calculateRepulsionForceOfANode = function(n, c, l, E) {
1278
- if (this.totalIterations % e.GRID_CALCULATION_CHECK_PERIOD == 1 && l || E) {
1279
- var T = /* @__PURE__ */ new Set();
1280
- n.surrounding = new Array();
1281
- for (var D, L = this.grid, O = n.startX - 1; O < n.finishX + 2; O++)
1282
- for (var d = n.startY - 1; d < n.finishY + 2; d++)
1283
- if (!(O < 0 || d < 0 || O >= L.length || d >= L[0].length)) {
1284
- for (var N = 0; N < L[O][d].length; N++)
1285
- if (D = L[O][d][N], !(n.getOwner() != D.getOwner() || n == D) && !c.has(D) && !T.has(D)) {
1286
- var s = Math.abs(n.getCenterX() - D.getCenterX()) - (n.getWidth() / 2 + D.getWidth() / 2), h = Math.abs(n.getCenterY() - D.getCenterY()) - (n.getHeight() / 2 + D.getHeight() / 2);
1287
- s <= this.repulsionRange && h <= this.repulsionRange && T.add(D);
1288
- }
1289
- }
1290
- n.surrounding = [].concat(r(T));
1291
- }
1292
- for (O = 0; O < n.surrounding.length; O++)
1293
- this.calcRepulsionForce(n, n.surrounding[O]);
1294
- }, a.prototype.calcRepulsionRange = function() {
1295
- return 0;
1296
- }, f.exports = a;
1297
- },
1298
- /* 19 */
1299
- /***/
1300
- function(f, m, y) {
1301
- var r = y(1), t = y(7);
1302
- function e(o, g, a) {
1303
- r.call(this, o, g, a), this.idealLength = t.DEFAULT_EDGE_LENGTH;
1304
- }
1305
- e.prototype = Object.create(r.prototype);
1306
- for (var i in r)
1307
- e[i] = r[i];
1308
- f.exports = e;
1309
- },
1310
- /* 20 */
1311
- /***/
1312
- function(f, m, y) {
1313
- var r = y(3);
1314
- function t(i, o, g, a) {
1315
- r.call(this, i, o, g, a), this.springForceX = 0, this.springForceY = 0, this.repulsionForceX = 0, this.repulsionForceY = 0, this.gravitationForceX = 0, this.gravitationForceY = 0, this.displacementX = 0, this.displacementY = 0, this.startX = 0, this.finishX = 0, this.startY = 0, this.finishY = 0, this.surrounding = [];
1316
- }
1317
- t.prototype = Object.create(r.prototype);
1318
- for (var e in r)
1319
- t[e] = r[e];
1320
- t.prototype.setGridCoordinates = function(i, o, g, a) {
1321
- this.startX = i, this.finishX = o, this.startY = g, this.finishY = a;
1322
- }, f.exports = t;
1323
- },
1324
- /* 21 */
1325
- /***/
1326
- function(f, m, y) {
1327
- function r(t, e) {
1328
- this.width = 0, this.height = 0, t !== null && e !== null && (this.height = e, this.width = t);
1329
- }
1330
- r.prototype.getWidth = function() {
1331
- return this.width;
1332
- }, r.prototype.setWidth = function(t) {
1333
- this.width = t;
1334
- }, r.prototype.getHeight = function() {
1335
- return this.height;
1336
- }, r.prototype.setHeight = function(t) {
1337
- this.height = t;
1338
- }, f.exports = r;
1339
- },
1340
- /* 22 */
1341
- /***/
1342
- function(f, m, y) {
1343
- var r = y(14);
1344
- function t() {
1345
- this.map = {}, this.keys = [];
1346
- }
1347
- t.prototype.put = function(e, i) {
1348
- var o = r.createID(e);
1349
- this.contains(o) || (this.map[o] = i, this.keys.push(e));
1350
- }, t.prototype.contains = function(e) {
1351
- return r.createID(e), this.map[e] != null;
1352
- }, t.prototype.get = function(e) {
1353
- var i = r.createID(e);
1354
- return this.map[i];
1355
- }, t.prototype.keySet = function() {
1356
- return this.keys;
1357
- }, f.exports = t;
1358
- },
1359
- /* 23 */
1360
- /***/
1361
- function(f, m, y) {
1362
- var r = y(14);
1363
- function t() {
1364
- this.set = {};
1365
- }
1366
- t.prototype.add = function(e) {
1367
- var i = r.createID(e);
1368
- this.contains(i) || (this.set[i] = e);
1369
- }, t.prototype.remove = function(e) {
1370
- delete this.set[r.createID(e)];
1371
- }, t.prototype.clear = function() {
1372
- this.set = {};
1373
- }, t.prototype.contains = function(e) {
1374
- return this.set[r.createID(e)] == e;
1375
- }, t.prototype.isEmpty = function() {
1376
- return this.size() === 0;
1377
- }, t.prototype.size = function() {
1378
- return Object.keys(this.set).length;
1379
- }, t.prototype.addAllTo = function(e) {
1380
- for (var i = Object.keys(this.set), o = i.length, g = 0; g < o; g++)
1381
- e.push(this.set[i[g]]);
1382
- }, t.prototype.size = function() {
1383
- return Object.keys(this.set).length;
1384
- }, t.prototype.addAll = function(e) {
1385
- for (var i = e.length, o = 0; o < i; o++) {
1386
- var g = e[o];
1387
- this.add(g);
1388
- }
1389
- }, f.exports = t;
1390
- },
1391
- /* 24 */
1392
- /***/
1393
- function(f, m, y) {
1394
- var r = /* @__PURE__ */ function() {
1395
- function o(g, a) {
1396
- for (var v = 0; v < a.length; v++) {
1397
- var n = a[v];
1398
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(g, n.key, n);
1399
- }
1400
- }
1401
- return function(g, a, v) {
1402
- return a && o(g.prototype, a), v && o(g, v), g;
1403
- };
1404
- }();
1405
- function t(o, g) {
1406
- if (!(o instanceof g))
1407
- throw new TypeError("Cannot call a class as a function");
1408
- }
1409
- var e = y(11), i = function() {
1410
- function o(g, a) {
1411
- t(this, o), (a !== null || a !== void 0) && (this.compareFunction = this._defaultCompareFunction);
1412
- var v = void 0;
1413
- g instanceof e ? v = g.size() : v = g.length, this._quicksort(g, 0, v - 1);
1414
- }
1415
- return r(o, [{
1416
- key: "_quicksort",
1417
- value: function(a, v, n) {
1418
- if (v < n) {
1419
- var c = this._partition(a, v, n);
1420
- this._quicksort(a, v, c), this._quicksort(a, c + 1, n);
1421
- }
1422
- }
1423
- }, {
1424
- key: "_partition",
1425
- value: function(a, v, n) {
1426
- for (var c = this._get(a, v), l = v, E = n; ; ) {
1427
- for (; this.compareFunction(c, this._get(a, E)); )
1428
- E--;
1429
- for (; this.compareFunction(this._get(a, l), c); )
1430
- l++;
1431
- if (l < E)
1432
- this._swap(a, l, E), l++, E--;
1433
- else return E;
1434
- }
1435
- }
1436
- }, {
1437
- key: "_get",
1438
- value: function(a, v) {
1439
- return a instanceof e ? a.get_object_at(v) : a[v];
1440
- }
1441
- }, {
1442
- key: "_set",
1443
- value: function(a, v, n) {
1444
- a instanceof e ? a.set_object_at(v, n) : a[v] = n;
1445
- }
1446
- }, {
1447
- key: "_swap",
1448
- value: function(a, v, n) {
1449
- var c = this._get(a, v);
1450
- this._set(a, v, this._get(a, n)), this._set(a, n, c);
1451
- }
1452
- }, {
1453
- key: "_defaultCompareFunction",
1454
- value: function(a, v) {
1455
- return v > a;
1456
- }
1457
- }]), o;
1458
- }();
1459
- f.exports = i;
1460
- },
1461
- /* 25 */
1462
- /***/
1463
- function(f, m, y) {
1464
- var r = /* @__PURE__ */ function() {
1465
- function i(o, g) {
1466
- for (var a = 0; a < g.length; a++) {
1467
- var v = g[a];
1468
- v.enumerable = v.enumerable || !1, v.configurable = !0, "value" in v && (v.writable = !0), Object.defineProperty(o, v.key, v);
1469
- }
1470
- }
1471
- return function(o, g, a) {
1472
- return g && i(o.prototype, g), a && i(o, a), o;
1473
- };
1474
- }();
1475
- function t(i, o) {
1476
- if (!(i instanceof o))
1477
- throw new TypeError("Cannot call a class as a function");
1478
- }
1479
- var e = function() {
1480
- function i(o, g) {
1481
- var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, v = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : -1, n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : -1;
1482
- t(this, i), this.sequence1 = o, this.sequence2 = g, this.match_score = a, this.mismatch_penalty = v, this.gap_penalty = n, this.iMax = o.length + 1, this.jMax = g.length + 1, this.grid = new Array(this.iMax);
1483
- for (var c = 0; c < this.iMax; c++) {
1484
- this.grid[c] = new Array(this.jMax);
1485
- for (var l = 0; l < this.jMax; l++)
1486
- this.grid[c][l] = 0;
1487
- }
1488
- this.tracebackGrid = new Array(this.iMax);
1489
- for (var E = 0; E < this.iMax; E++) {
1490
- this.tracebackGrid[E] = new Array(this.jMax);
1491
- for (var T = 0; T < this.jMax; T++)
1492
- this.tracebackGrid[E][T] = [null, null, null];
1493
- }
1494
- this.alignments = [], this.score = -1, this.computeGrids();
1495
- }
1496
- return r(i, [{
1497
- key: "getScore",
1498
- value: function() {
1499
- return this.score;
1500
- }
1501
- }, {
1502
- key: "getAlignments",
1503
- value: function() {
1504
- return this.alignments;
1505
- }
1506
- // Main dynamic programming procedure
1507
- }, {
1508
- key: "computeGrids",
1509
- value: function() {
1510
- for (var g = 1; g < this.jMax; g++)
1511
- this.grid[0][g] = this.grid[0][g - 1] + this.gap_penalty, this.tracebackGrid[0][g] = [!1, !1, !0];
1512
- for (var a = 1; a < this.iMax; a++)
1513
- this.grid[a][0] = this.grid[a - 1][0] + this.gap_penalty, this.tracebackGrid[a][0] = [!1, !0, !1];
1514
- for (var v = 1; v < this.iMax; v++)
1515
- for (var n = 1; n < this.jMax; n++) {
1516
- var c = void 0;
1517
- this.sequence1[v - 1] === this.sequence2[n - 1] ? c = this.grid[v - 1][n - 1] + this.match_score : c = this.grid[v - 1][n - 1] + this.mismatch_penalty;
1518
- var l = this.grid[v - 1][n] + this.gap_penalty, E = this.grid[v][n - 1] + this.gap_penalty, T = [c, l, E], D = this.arrayAllMaxIndexes(T);
1519
- this.grid[v][n] = T[D[0]], this.tracebackGrid[v][n] = [D.includes(0), D.includes(1), D.includes(2)];
1520
- }
1521
- this.score = this.grid[this.iMax - 1][this.jMax - 1];
1522
- }
1523
- // Gets all possible valid sequence combinations
1524
- }, {
1525
- key: "alignmentTraceback",
1526
- value: function() {
1527
- var g = [];
1528
- for (g.push({
1529
- pos: [this.sequence1.length, this.sequence2.length],
1530
- seq1: "",
1531
- seq2: ""
1532
- }); g[0]; ) {
1533
- var a = g[0], v = this.tracebackGrid[a.pos[0]][a.pos[1]];
1534
- v[0] && g.push({
1535
- pos: [a.pos[0] - 1, a.pos[1] - 1],
1536
- seq1: this.sequence1[a.pos[0] - 1] + a.seq1,
1537
- seq2: this.sequence2[a.pos[1] - 1] + a.seq2
1538
- }), v[1] && g.push({
1539
- pos: [a.pos[0] - 1, a.pos[1]],
1540
- seq1: this.sequence1[a.pos[0] - 1] + a.seq1,
1541
- seq2: "-" + a.seq2
1542
- }), v[2] && g.push({
1543
- pos: [a.pos[0], a.pos[1] - 1],
1544
- seq1: "-" + a.seq1,
1545
- seq2: this.sequence2[a.pos[1] - 1] + a.seq2
1546
- }), a.pos[0] === 0 && a.pos[1] === 0 && this.alignments.push({
1547
- sequence1: a.seq1,
1548
- sequence2: a.seq2
1549
- }), g.shift();
1550
- }
1551
- return this.alignments;
1552
- }
1553
- // Helper Functions
1554
- }, {
1555
- key: "getAllIndexes",
1556
- value: function(g, a) {
1557
- for (var v = [], n = -1; (n = g.indexOf(a, n + 1)) !== -1; )
1558
- v.push(n);
1559
- return v;
1560
- }
1561
- }, {
1562
- key: "arrayAllMaxIndexes",
1563
- value: function(g) {
1564
- return this.getAllIndexes(g, Math.max.apply(null, g));
1565
- }
1566
- }]), i;
1567
- }();
1568
- f.exports = e;
1569
- },
1570
- /* 26 */
1571
- /***/
1572
- function(f, m, y) {
1573
- var r = function() {
1574
- };
1575
- r.FDLayout = y(18), r.FDLayoutConstants = y(7), r.FDLayoutEdge = y(19), r.FDLayoutNode = y(20), r.DimensionD = y(21), r.HashMap = y(22), r.HashSet = y(23), r.IGeometry = y(8), r.IMath = y(9), r.Integer = y(10), r.Point = y(12), r.PointD = y(4), r.RandomSeed = y(16), r.RectangleD = y(13), r.Transform = y(17), r.UniqueIDGeneretor = y(14), r.Quicksort = y(24), r.LinkedList = y(11), r.LGraphObject = y(2), r.LGraph = y(5), r.LEdge = y(1), r.LGraphManager = y(6), r.LNode = y(3), r.Layout = y(15), r.LayoutConstants = y(0), r.NeedlemanWunsch = y(25), f.exports = r;
1576
- },
1577
- /* 27 */
1578
- /***/
1579
- function(f, m, y) {
1580
- function r() {
1581
- this.listeners = [];
1582
- }
1583
- var t = r.prototype;
1584
- t.addListener = function(e, i) {
1585
- this.listeners.push({
1586
- event: e,
1587
- callback: i
1588
- });
1589
- }, t.removeListener = function(e, i) {
1590
- for (var o = this.listeners.length; o >= 0; o--) {
1591
- var g = this.listeners[o];
1592
- g.event === e && g.callback === i && this.listeners.splice(o, 1);
1593
- }
1594
- }, t.emit = function(e, i) {
1595
- for (var o = 0; o < this.listeners.length; o++) {
1596
- var g = this.listeners[o];
1597
- e === g.event && g.callback(i);
1598
- }
1599
- }, f.exports = r;
1600
- }
1601
- /******/
1602
- ])
1603
- );
1604
- });
1605
- }(rt)), rt.exports;
1606
- }
1607
- var St = et.exports, ft;
1608
- function Gt() {
1609
- return ft || (ft = 1, function(I, w) {
1610
- (function(m, y) {
1611
- I.exports = y(wt());
1612
- })(St, function(f) {
1613
- return (
1614
- /******/
1615
- function(m) {
1616
- var y = {};
1617
- function r(t) {
1618
- if (y[t])
1619
- return y[t].exports;
1620
- var e = y[t] = {
1621
- /******/
1622
- i: t,
1623
- /******/
1624
- l: !1,
1625
- /******/
1626
- exports: {}
1627
- /******/
1628
- };
1629
- return m[t].call(e.exports, e, e.exports, r), e.l = !0, e.exports;
1630
- }
1631
- return r.m = m, r.c = y, r.i = function(t) {
1632
- return t;
1633
- }, r.d = function(t, e, i) {
1634
- r.o(t, e) || Object.defineProperty(t, e, {
1635
- /******/
1636
- configurable: !1,
1637
- /******/
1638
- enumerable: !0,
1639
- /******/
1640
- get: i
1641
- /******/
1642
- });
1643
- }, r.n = function(t) {
1644
- var e = t && t.__esModule ? (
1645
- /******/
1646
- function() {
1647
- return t.default;
1648
- }
1649
- ) : (
1650
- /******/
1651
- function() {
1652
- return t;
1653
- }
1654
- );
1655
- return r.d(e, "a", e), e;
1656
- }, r.o = function(t, e) {
1657
- return Object.prototype.hasOwnProperty.call(t, e);
1658
- }, r.p = "", r(r.s = 7);
1659
- }([
1660
- /* 0 */
1661
- /***/
1662
- function(m, y) {
1663
- m.exports = f;
1664
- },
1665
- /* 1 */
1666
- /***/
1667
- function(m, y, r) {
1668
- var t = r(0).FDLayoutConstants;
1669
- function e() {
1670
- }
1671
- for (var i in t)
1672
- e[i] = t[i];
1673
- e.DEFAULT_USE_MULTI_LEVEL_SCALING = !1, e.DEFAULT_RADIAL_SEPARATION = t.DEFAULT_EDGE_LENGTH, e.DEFAULT_COMPONENT_SEPERATION = 60, e.TILE = !0, e.TILING_PADDING_VERTICAL = 10, e.TILING_PADDING_HORIZONTAL = 10, e.TREE_REDUCTION_ON_INCREMENTAL = !1, m.exports = e;
1674
- },
1675
- /* 2 */
1676
- /***/
1677
- function(m, y, r) {
1678
- var t = r(0).FDLayoutEdge;
1679
- function e(o, g, a) {
1680
- t.call(this, o, g, a);
1681
- }
1682
- e.prototype = Object.create(t.prototype);
1683
- for (var i in t)
1684
- e[i] = t[i];
1685
- m.exports = e;
1686
- },
1687
- /* 3 */
1688
- /***/
1689
- function(m, y, r) {
1690
- var t = r(0).LGraph;
1691
- function e(o, g, a) {
1692
- t.call(this, o, g, a);
1693
- }
1694
- e.prototype = Object.create(t.prototype);
1695
- for (var i in t)
1696
- e[i] = t[i];
1697
- m.exports = e;
1698
- },
1699
- /* 4 */
1700
- /***/
1701
- function(m, y, r) {
1702
- var t = r(0).LGraphManager;
1703
- function e(o) {
1704
- t.call(this, o);
1705
- }
1706
- e.prototype = Object.create(t.prototype);
1707
- for (var i in t)
1708
- e[i] = t[i];
1709
- m.exports = e;
1710
- },
1711
- /* 5 */
1712
- /***/
1713
- function(m, y, r) {
1714
- var t = r(0).FDLayoutNode, e = r(0).IMath;
1715
- function i(g, a, v, n) {
1716
- t.call(this, g, a, v, n);
1717
- }
1718
- i.prototype = Object.create(t.prototype);
1719
- for (var o in t)
1720
- i[o] = t[o];
1721
- i.prototype.move = function() {
1722
- var g = this.graphManager.getLayout();
1723
- this.displacementX = g.coolingFactor * (this.springForceX + this.repulsionForceX + this.gravitationForceX) / this.noOfChildren, this.displacementY = g.coolingFactor * (this.springForceY + this.repulsionForceY + this.gravitationForceY) / this.noOfChildren, Math.abs(this.displacementX) > g.coolingFactor * g.maxNodeDisplacement && (this.displacementX = g.coolingFactor * g.maxNodeDisplacement * e.sign(this.displacementX)), Math.abs(this.displacementY) > g.coolingFactor * g.maxNodeDisplacement && (this.displacementY = g.coolingFactor * g.maxNodeDisplacement * e.sign(this.displacementY)), this.child == null ? this.moveBy(this.displacementX, this.displacementY) : this.child.getNodes().length == 0 ? this.moveBy(this.displacementX, this.displacementY) : this.propogateDisplacementToChildren(this.displacementX, this.displacementY), g.totalDisplacement += Math.abs(this.displacementX) + Math.abs(this.displacementY), this.springForceX = 0, this.springForceY = 0, this.repulsionForceX = 0, this.repulsionForceY = 0, this.gravitationForceX = 0, this.gravitationForceY = 0, this.displacementX = 0, this.displacementY = 0;
1724
- }, i.prototype.propogateDisplacementToChildren = function(g, a) {
1725
- for (var v = this.getChild().getNodes(), n, c = 0; c < v.length; c++)
1726
- n = v[c], n.getChild() == null ? (n.moveBy(g, a), n.displacementX += g, n.displacementY += a) : n.propogateDisplacementToChildren(g, a);
1727
- }, i.prototype.setPred1 = function(g) {
1728
- this.pred1 = g;
1729
- }, i.prototype.getPred1 = function() {
1730
- return pred1;
1731
- }, i.prototype.getPred2 = function() {
1732
- return pred2;
1733
- }, i.prototype.setNext = function(g) {
1734
- this.next = g;
1735
- }, i.prototype.getNext = function() {
1736
- return next;
1737
- }, i.prototype.setProcessed = function(g) {
1738
- this.processed = g;
1739
- }, i.prototype.isProcessed = function() {
1740
- return processed;
1741
- }, m.exports = i;
1742
- },
1743
- /* 6 */
1744
- /***/
1745
- function(m, y, r) {
1746
- var t = r(0).FDLayout, e = r(4), i = r(3), o = r(5), g = r(2), a = r(1), v = r(0).FDLayoutConstants, n = r(0).LayoutConstants, c = r(0).Point, l = r(0).PointD, E = r(0).Layout, T = r(0).Integer, D = r(0).IGeometry, L = r(0).LGraph, O = r(0).Transform;
1747
- function d() {
1748
- t.call(this), this.toBeTiled = {};
1749
- }
1750
- d.prototype = Object.create(t.prototype);
1751
- for (var N in t)
1752
- d[N] = t[N];
1753
- d.prototype.newGraphManager = function() {
1754
- var s = new e(this);
1755
- return this.graphManager = s, s;
1756
- }, d.prototype.newGraph = function(s) {
1757
- return new i(null, this.graphManager, s);
1758
- }, d.prototype.newNode = function(s) {
1759
- return new o(this.graphManager, s);
1760
- }, d.prototype.newEdge = function(s) {
1761
- return new g(null, null, s);
1762
- }, d.prototype.initParameters = function() {
1763
- t.prototype.initParameters.call(this, arguments), this.isSubLayout || (a.DEFAULT_EDGE_LENGTH < 10 ? this.idealEdgeLength = 10 : this.idealEdgeLength = a.DEFAULT_EDGE_LENGTH, this.useSmartIdealEdgeLengthCalculation = a.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION, this.springConstant = v.DEFAULT_SPRING_STRENGTH, this.repulsionConstant = v.DEFAULT_REPULSION_STRENGTH, this.gravityConstant = v.DEFAULT_GRAVITY_STRENGTH, this.compoundGravityConstant = v.DEFAULT_COMPOUND_GRAVITY_STRENGTH, this.gravityRangeFactor = v.DEFAULT_GRAVITY_RANGE_FACTOR, this.compoundGravityRangeFactor = v.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR, this.prunedNodesAll = [], this.growTreeIterations = 0, this.afterGrowthIterations = 0, this.isTreeGrowing = !1, this.isGrowthFinished = !1, this.coolingCycle = 0, this.maxCoolingCycle = this.maxIterations / v.CONVERGENCE_CHECK_PERIOD, this.finalTemperature = v.CONVERGENCE_CHECK_PERIOD / this.maxIterations, this.coolingAdjuster = 1);
1764
- }, d.prototype.layout = function() {
1765
- var s = n.DEFAULT_CREATE_BENDS_AS_NEEDED;
1766
- return s && (this.createBendpoints(), this.graphManager.resetAllEdges()), this.level = 0, this.classicLayout();
1767
- }, d.prototype.classicLayout = function() {
1768
- if (this.nodesWithGravity = this.calculateNodesToApplyGravitationTo(), this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity), this.calcNoOfChildrenForAllNodes(), this.graphManager.calcLowestCommonAncestors(), this.graphManager.calcInclusionTreeDepths(), this.graphManager.getRoot().calcEstimatedSize(), this.calcIdealEdgeLengths(), this.incremental) {
1769
- if (a.TREE_REDUCTION_ON_INCREMENTAL) {
1770
- this.reduceTrees(), this.graphManager.resetAllNodesToApplyGravitation();
1771
- var h = new Set(this.getAllNodes()), u = this.nodesWithGravity.filter(function(C) {
1772
- return h.has(C);
1773
- });
1774
- this.graphManager.setAllNodesToApplyGravitation(u);
1775
- }
1776
- } else {
1777
- var s = this.getFlatForest();
1778
- if (s.length > 0)
1779
- this.positionNodesRadially(s);
1780
- else {
1781
- this.reduceTrees(), this.graphManager.resetAllNodesToApplyGravitation();
1782
- var h = new Set(this.getAllNodes()), u = this.nodesWithGravity.filter(function(p) {
1783
- return h.has(p);
1784
- });
1785
- this.graphManager.setAllNodesToApplyGravitation(u), this.positionNodesRandomly();
1786
- }
1787
- }
1788
- return this.initSpringEmbedder(), this.runSpringEmbedder(), !0;
1789
- }, d.prototype.tick = function() {
1790
- if (this.totalIterations++, this.totalIterations === this.maxIterations && !this.isTreeGrowing && !this.isGrowthFinished)
1791
- if (this.prunedNodesAll.length > 0)
1792
- this.isTreeGrowing = !0;
1793
- else
1794
- return !0;
1795
- if (this.totalIterations % v.CONVERGENCE_CHECK_PERIOD == 0 && !this.isTreeGrowing && !this.isGrowthFinished) {
1796
- if (this.isConverged())
1797
- if (this.prunedNodesAll.length > 0)
1798
- this.isTreeGrowing = !0;
1799
- else
1800
- return !0;
1801
- this.coolingCycle++, this.layoutQuality == 0 ? this.coolingAdjuster = this.coolingCycle : this.layoutQuality == 1 && (this.coolingAdjuster = this.coolingCycle / 3), this.coolingFactor = Math.max(this.initialCoolingFactor - Math.pow(this.coolingCycle, Math.log(100 * (this.initialCoolingFactor - this.finalTemperature)) / Math.log(this.maxCoolingCycle)) / 100 * this.coolingAdjuster, this.finalTemperature), this.animationPeriod = Math.ceil(this.initialAnimationPeriod * Math.sqrt(this.coolingFactor));
1802
- }
1803
- if (this.isTreeGrowing) {
1804
- if (this.growTreeIterations % 10 == 0)
1805
- if (this.prunedNodesAll.length > 0) {
1806
- this.graphManager.updateBounds(), this.updateGrid(), this.growTree(this.prunedNodesAll), this.graphManager.resetAllNodesToApplyGravitation();
1807
- var s = new Set(this.getAllNodes()), h = this.nodesWithGravity.filter(function(A) {
1808
- return s.has(A);
1809
- });
1810
- this.graphManager.setAllNodesToApplyGravitation(h), this.graphManager.updateBounds(), this.updateGrid(), this.coolingFactor = v.DEFAULT_COOLING_FACTOR_INCREMENTAL;
1811
- } else
1812
- this.isTreeGrowing = !1, this.isGrowthFinished = !0;
1813
- this.growTreeIterations++;
1814
- }
1815
- if (this.isGrowthFinished) {
1816
- if (this.isConverged())
1817
- return !0;
1818
- this.afterGrowthIterations % 10 == 0 && (this.graphManager.updateBounds(), this.updateGrid()), this.coolingFactor = v.DEFAULT_COOLING_FACTOR_INCREMENTAL * ((100 - this.afterGrowthIterations) / 100), this.afterGrowthIterations++;
1819
- }
1820
- var u = !this.isTreeGrowing && !this.isGrowthFinished, p = this.growTreeIterations % 10 == 1 && this.isTreeGrowing || this.afterGrowthIterations % 10 == 1 && this.isGrowthFinished;
1821
- return this.totalDisplacement = 0, this.graphManager.updateBounds(), this.calcSpringForces(), this.calcRepulsionForces(u, p), this.calcGravitationalForces(), this.moveNodes(), this.animate(), !1;
1822
- }, d.prototype.getPositionsData = function() {
1823
- for (var s = this.graphManager.getAllNodes(), h = {}, u = 0; u < s.length; u++) {
1824
- var p = s[u].rect, A = s[u].id;
1825
- h[A] = {
1826
- id: A,
1827
- x: p.getCenterX(),
1828
- y: p.getCenterY(),
1829
- w: p.width,
1830
- h: p.height
1831
- };
1832
- }
1833
- return h;
1834
- }, d.prototype.runSpringEmbedder = function() {
1835
- this.initialAnimationPeriod = 25, this.animationPeriod = this.initialAnimationPeriod;
1836
- var s = !1;
1837
- if (v.ANIMATE === "during")
1838
- this.emit("layoutstarted");
1839
- else {
1840
- for (; !s; )
1841
- s = this.tick();
1842
- this.graphManager.updateBounds();
1843
- }
1844
- }, d.prototype.calculateNodesToApplyGravitationTo = function() {
1845
- var s = [], h, u = this.graphManager.getGraphs(), p = u.length, A;
1846
- for (A = 0; A < p; A++)
1847
- h = u[A], h.updateConnected(), h.isConnected || (s = s.concat(h.getNodes()));
1848
- return s;
1849
- }, d.prototype.createBendpoints = function() {
1850
- var s = [];
1851
- s = s.concat(this.graphManager.getAllEdges());
1852
- var h = /* @__PURE__ */ new Set(), u;
1853
- for (u = 0; u < s.length; u++) {
1854
- var p = s[u];
1855
- if (!h.has(p)) {
1856
- var A = p.getSource(), C = p.getTarget();
1857
- if (A == C)
1858
- p.getBendpoints().push(new l()), p.getBendpoints().push(new l()), this.createDummyNodesForBendpoints(p), h.add(p);
1859
- else {
1860
- var R = [];
1861
- if (R = R.concat(A.getEdgeListToNode(C)), R = R.concat(C.getEdgeListToNode(A)), !h.has(R[0])) {
1862
- if (R.length > 1) {
1863
- var x;
1864
- for (x = 0; x < R.length; x++) {
1865
- var _ = R[x];
1866
- _.getBendpoints().push(new l()), this.createDummyNodesForBendpoints(_);
1867
- }
1868
- }
1869
- R.forEach(function(U) {
1870
- h.add(U);
1871
- });
1872
- }
1873
- }
1874
- }
1875
- if (h.size == s.length)
1876
- break;
1877
- }
1878
- }, d.prototype.positionNodesRadially = function(s) {
1879
- for (var h = new c(0, 0), u = Math.ceil(Math.sqrt(s.length)), p = 0, A = 0, C = 0, R = new l(0, 0), x = 0; x < s.length; x++) {
1880
- x % u == 0 && (C = 0, A = p, x != 0 && (A += a.DEFAULT_COMPONENT_SEPERATION), p = 0);
1881
- var _ = s[x], U = E.findCenterOfTree(_);
1882
- h.x = C, h.y = A, R = d.radialLayout(_, U, h), R.y > p && (p = Math.floor(R.y)), C = Math.floor(R.x + a.DEFAULT_COMPONENT_SEPERATION);
1883
- }
1884
- this.transform(new l(n.WORLD_CENTER_X - R.x / 2, n.WORLD_CENTER_Y - R.y / 2));
1885
- }, d.radialLayout = function(s, h, u) {
1886
- var p = Math.max(this.maxDiagonalInTree(s), a.DEFAULT_RADIAL_SEPARATION);
1887
- d.branchRadialLayout(h, null, 0, 359, 0, p);
1888
- var A = L.calculateBounds(s), C = new O();
1889
- C.setDeviceOrgX(A.getMinX()), C.setDeviceOrgY(A.getMinY()), C.setWorldOrgX(u.x), C.setWorldOrgY(u.y);
1890
- for (var R = 0; R < s.length; R++) {
1891
- var x = s[R];
1892
- x.transform(C);
1893
- }
1894
- var _ = new l(A.getMaxX(), A.getMaxY());
1895
- return C.inverseTransformPoint(_);
1896
- }, d.branchRadialLayout = function(s, h, u, p, A, C) {
1897
- var R = (p - u + 1) / 2;
1898
- R < 0 && (R += 180);
1899
- var x = (R + u) % 360, _ = x * D.TWO_PI / 360, U = A * Math.cos(_), X = A * Math.sin(_);
1900
- s.setCenter(U, X);
1901
- var M = [];
1902
- M = M.concat(s.getEdges());
1903
- var G = M.length;
1904
- h != null && G--;
1905
- for (var F = 0, b = M.length, Y, k = s.getEdgesBetween(h); k.length > 1; ) {
1906
- var H = k[0];
1907
- k.splice(0, 1);
1908
- var P = M.indexOf(H);
1909
- P >= 0 && M.splice(P, 1), b--, G--;
1910
- }
1911
- h != null ? Y = (M.indexOf(k[0]) + 1) % b : Y = 0;
1912
- for (var B = Math.abs(p - u) / G, $ = Y; F != G; $ = ++$ % b) {
1913
- var K = M[$].getOtherEnd(s);
1914
- if (K != h) {
1915
- var Q = (u + F * B) % 360, q = (Q + B) % 360;
1916
- d.branchRadialLayout(K, s, Q, q, A + C, C), F++;
1917
- }
1918
- }
1919
- }, d.maxDiagonalInTree = function(s) {
1920
- for (var h = T.MIN_VALUE, u = 0; u < s.length; u++) {
1921
- var p = s[u], A = p.getDiagonal();
1922
- A > h && (h = A);
1923
- }
1924
- return h;
1925
- }, d.prototype.calcRepulsionRange = function() {
1926
- return 2 * (this.level + 1) * this.idealEdgeLength;
1927
- }, d.prototype.groupZeroDegreeMembers = function() {
1928
- var s = this, h = {};
1929
- this.memberGroups = {}, this.idToDummyNode = {};
1930
- for (var u = [], p = this.graphManager.getAllNodes(), A = 0; A < p.length; A++) {
1931
- var C = p[A], R = C.getParent();
1932
- this.getNodeDegreeWithChildren(C) === 0 && (R.id == null || !this.getToBeTiled(R)) && u.push(C);
1933
- }
1934
- for (var A = 0; A < u.length; A++) {
1935
- var C = u[A], x = C.getParent().id;
1936
- typeof h[x] > "u" && (h[x] = []), h[x] = h[x].concat(C);
1937
- }
1938
- Object.keys(h).forEach(function(_) {
1939
- if (h[_].length > 1) {
1940
- var U = "DummyCompound_" + _;
1941
- s.memberGroups[U] = h[_];
1942
- var X = h[_][0].getParent(), M = new o(s.graphManager);
1943
- M.id = U, M.paddingLeft = X.paddingLeft || 0, M.paddingRight = X.paddingRight || 0, M.paddingBottom = X.paddingBottom || 0, M.paddingTop = X.paddingTop || 0, s.idToDummyNode[U] = M;
1944
- var G = s.getGraphManager().add(s.newGraph(), M), F = X.getChild();
1945
- F.add(M);
1946
- for (var b = 0; b < h[_].length; b++) {
1947
- var Y = h[_][b];
1948
- F.remove(Y), G.add(Y);
1949
- }
1950
- }
1951
- });
1952
- }, d.prototype.clearCompounds = function() {
1953
- var s = {}, h = {};
1954
- this.performDFSOnCompounds();
1955
- for (var u = 0; u < this.compoundOrder.length; u++)
1956
- h[this.compoundOrder[u].id] = this.compoundOrder[u], s[this.compoundOrder[u].id] = [].concat(this.compoundOrder[u].getChild().getNodes()), this.graphManager.remove(this.compoundOrder[u].getChild()), this.compoundOrder[u].child = null;
1957
- this.graphManager.resetAllNodes(), this.tileCompoundMembers(s, h);
1958
- }, d.prototype.clearZeroDegreeMembers = function() {
1959
- var s = this, h = this.tiledZeroDegreePack = [];
1960
- Object.keys(this.memberGroups).forEach(function(u) {
1961
- var p = s.idToDummyNode[u];
1962
- h[u] = s.tileNodes(s.memberGroups[u], p.paddingLeft + p.paddingRight), p.rect.width = h[u].width, p.rect.height = h[u].height;
1963
- });
1964
- }, d.prototype.repopulateCompounds = function() {
1965
- for (var s = this.compoundOrder.length - 1; s >= 0; s--) {
1966
- var h = this.compoundOrder[s], u = h.id, p = h.paddingLeft, A = h.paddingTop;
1967
- this.adjustLocations(this.tiledMemberPack[u], h.rect.x, h.rect.y, p, A);
1968
- }
1969
- }, d.prototype.repopulateZeroDegreeMembers = function() {
1970
- var s = this, h = this.tiledZeroDegreePack;
1971
- Object.keys(h).forEach(function(u) {
1972
- var p = s.idToDummyNode[u], A = p.paddingLeft, C = p.paddingTop;
1973
- s.adjustLocations(h[u], p.rect.x, p.rect.y, A, C);
1974
- });
1975
- }, d.prototype.getToBeTiled = function(s) {
1976
- var h = s.id;
1977
- if (this.toBeTiled[h] != null)
1978
- return this.toBeTiled[h];
1979
- var u = s.getChild();
1980
- if (u == null)
1981
- return this.toBeTiled[h] = !1, !1;
1982
- for (var p = u.getNodes(), A = 0; A < p.length; A++) {
1983
- var C = p[A];
1984
- if (this.getNodeDegree(C) > 0)
1985
- return this.toBeTiled[h] = !1, !1;
1986
- if (C.getChild() == null) {
1987
- this.toBeTiled[C.id] = !1;
1988
- continue;
1989
- }
1990
- if (!this.getToBeTiled(C))
1991
- return this.toBeTiled[h] = !1, !1;
1992
- }
1993
- return this.toBeTiled[h] = !0, !0;
1994
- }, d.prototype.getNodeDegree = function(s) {
1995
- s.id;
1996
- for (var h = s.getEdges(), u = 0, p = 0; p < h.length; p++) {
1997
- var A = h[p];
1998
- A.getSource().id !== A.getTarget().id && (u = u + 1);
1999
- }
2000
- return u;
2001
- }, d.prototype.getNodeDegreeWithChildren = function(s) {
2002
- var h = this.getNodeDegree(s);
2003
- if (s.getChild() == null)
2004
- return h;
2005
- for (var u = s.getChild().getNodes(), p = 0; p < u.length; p++) {
2006
- var A = u[p];
2007
- h += this.getNodeDegreeWithChildren(A);
2008
- }
2009
- return h;
2010
- }, d.prototype.performDFSOnCompounds = function() {
2011
- this.compoundOrder = [], this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes());
2012
- }, d.prototype.fillCompexOrderByDFS = function(s) {
2013
- for (var h = 0; h < s.length; h++) {
2014
- var u = s[h];
2015
- u.getChild() != null && this.fillCompexOrderByDFS(u.getChild().getNodes()), this.getToBeTiled(u) && this.compoundOrder.push(u);
2016
- }
2017
- }, d.prototype.adjustLocations = function(s, h, u, p, A) {
2018
- h += p, u += A;
2019
- for (var C = h, R = 0; R < s.rows.length; R++) {
2020
- var x = s.rows[R];
2021
- h = C;
2022
- for (var _ = 0, U = 0; U < x.length; U++) {
2023
- var X = x[U];
2024
- X.rect.x = h, X.rect.y = u, h += X.rect.width + s.horizontalPadding, X.rect.height > _ && (_ = X.rect.height);
2025
- }
2026
- u += _ + s.verticalPadding;
2027
- }
2028
- }, d.prototype.tileCompoundMembers = function(s, h) {
2029
- var u = this;
2030
- this.tiledMemberPack = [], Object.keys(s).forEach(function(p) {
2031
- var A = h[p];
2032
- u.tiledMemberPack[p] = u.tileNodes(s[p], A.paddingLeft + A.paddingRight), A.rect.width = u.tiledMemberPack[p].width, A.rect.height = u.tiledMemberPack[p].height;
2033
- });
2034
- }, d.prototype.tileNodes = function(s, h) {
2035
- var u = a.TILING_PADDING_VERTICAL, p = a.TILING_PADDING_HORIZONTAL, A = {
2036
- rows: [],
2037
- rowWidth: [],
2038
- rowHeight: [],
2039
- width: 0,
2040
- height: h,
2041
- // assume minHeight equals to minWidth
2042
- verticalPadding: u,
2043
- horizontalPadding: p
2044
- };
2045
- s.sort(function(x, _) {
2046
- return x.rect.width * x.rect.height > _.rect.width * _.rect.height ? -1 : x.rect.width * x.rect.height < _.rect.width * _.rect.height ? 1 : 0;
2047
- });
2048
- for (var C = 0; C < s.length; C++) {
2049
- var R = s[C];
2050
- A.rows.length == 0 ? this.insertNodeToRow(A, R, 0, h) : this.canAddHorizontal(A, R.rect.width, R.rect.height) ? this.insertNodeToRow(A, R, this.getShortestRowIndex(A), h) : this.insertNodeToRow(A, R, A.rows.length, h), this.shiftToLastRow(A);
2051
- }
2052
- return A;
2053
- }, d.prototype.insertNodeToRow = function(s, h, u, p) {
2054
- var A = p;
2055
- if (u == s.rows.length) {
2056
- var C = [];
2057
- s.rows.push(C), s.rowWidth.push(A), s.rowHeight.push(0);
2058
- }
2059
- var R = s.rowWidth[u] + h.rect.width;
2060
- s.rows[u].length > 0 && (R += s.horizontalPadding), s.rowWidth[u] = R, s.width < R && (s.width = R);
2061
- var x = h.rect.height;
2062
- u > 0 && (x += s.verticalPadding);
2063
- var _ = 0;
2064
- x > s.rowHeight[u] && (_ = s.rowHeight[u], s.rowHeight[u] = x, _ = s.rowHeight[u] - _), s.height += _, s.rows[u].push(h);
2065
- }, d.prototype.getShortestRowIndex = function(s) {
2066
- for (var h = -1, u = Number.MAX_VALUE, p = 0; p < s.rows.length; p++)
2067
- s.rowWidth[p] < u && (h = p, u = s.rowWidth[p]);
2068
- return h;
2069
- }, d.prototype.getLongestRowIndex = function(s) {
2070
- for (var h = -1, u = Number.MIN_VALUE, p = 0; p < s.rows.length; p++)
2071
- s.rowWidth[p] > u && (h = p, u = s.rowWidth[p]);
2072
- return h;
2073
- }, d.prototype.canAddHorizontal = function(s, h, u) {
2074
- var p = this.getShortestRowIndex(s);
2075
- if (p < 0)
2076
- return !0;
2077
- var A = s.rowWidth[p];
2078
- if (A + s.horizontalPadding + h <= s.width) return !0;
2079
- var C = 0;
2080
- s.rowHeight[p] < u && p > 0 && (C = u + s.verticalPadding - s.rowHeight[p]);
2081
- var R;
2082
- s.width - A >= h + s.horizontalPadding ? R = (s.height + C) / (A + h + s.horizontalPadding) : R = (s.height + C) / s.width, C = u + s.verticalPadding;
2083
- var x;
2084
- return s.width < h ? x = (s.height + C) / h : x = (s.height + C) / s.width, x < 1 && (x = 1 / x), R < 1 && (R = 1 / R), R < x;
2085
- }, d.prototype.shiftToLastRow = function(s) {
2086
- var h = this.getLongestRowIndex(s), u = s.rowWidth.length - 1, p = s.rows[h], A = p[p.length - 1], C = A.width + s.horizontalPadding;
2087
- if (s.width - s.rowWidth[u] > C && h != u) {
2088
- p.splice(-1, 1), s.rows[u].push(A), s.rowWidth[h] = s.rowWidth[h] - C, s.rowWidth[u] = s.rowWidth[u] + C, s.width = s.rowWidth[instance.getLongestRowIndex(s)];
2089
- for (var R = Number.MIN_VALUE, x = 0; x < p.length; x++)
2090
- p[x].height > R && (R = p[x].height);
2091
- h > 0 && (R += s.verticalPadding);
2092
- var _ = s.rowHeight[h] + s.rowHeight[u];
2093
- s.rowHeight[h] = R, s.rowHeight[u] < A.height + s.verticalPadding && (s.rowHeight[u] = A.height + s.verticalPadding);
2094
- var U = s.rowHeight[h] + s.rowHeight[u];
2095
- s.height += U - _, this.shiftToLastRow(s);
2096
- }
2097
- }, d.prototype.tilingPreLayout = function() {
2098
- a.TILE && (this.groupZeroDegreeMembers(), this.clearCompounds(), this.clearZeroDegreeMembers());
2099
- }, d.prototype.tilingPostLayout = function() {
2100
- a.TILE && (this.repopulateZeroDegreeMembers(), this.repopulateCompounds());
2101
- }, d.prototype.reduceTrees = function() {
2102
- for (var s = [], h = !0, u; h; ) {
2103
- var p = this.graphManager.getAllNodes(), A = [];
2104
- h = !1;
2105
- for (var C = 0; C < p.length; C++)
2106
- u = p[C], u.getEdges().length == 1 && !u.getEdges()[0].isInterGraph && u.getChild() == null && (A.push([u, u.getEdges()[0], u.getOwner()]), h = !0);
2107
- if (h == !0) {
2108
- for (var R = [], x = 0; x < A.length; x++)
2109
- A[x][0].getEdges().length == 1 && (R.push(A[x]), A[x][0].getOwner().remove(A[x][0]));
2110
- s.push(R), this.graphManager.resetAllNodes(), this.graphManager.resetAllEdges();
2111
- }
2112
- }
2113
- this.prunedNodesAll = s;
2114
- }, d.prototype.growTree = function(s) {
2115
- for (var h = s.length, u = s[h - 1], p, A = 0; A < u.length; A++)
2116
- p = u[A], this.findPlaceforPrunedNode(p), p[2].add(p[0]), p[2].add(p[1], p[1].source, p[1].target);
2117
- s.splice(s.length - 1, 1), this.graphManager.resetAllNodes(), this.graphManager.resetAllEdges();
2118
- }, d.prototype.findPlaceforPrunedNode = function(s) {
2119
- var h, u, p = s[0];
2120
- p == s[1].source ? u = s[1].target : u = s[1].source;
2121
- var A = u.startX, C = u.finishX, R = u.startY, x = u.finishY, _ = 0, U = 0, X = 0, M = 0, G = [_, X, U, M];
2122
- if (R > 0)
2123
- for (var F = A; F <= C; F++)
2124
- G[0] += this.grid[F][R - 1].length + this.grid[F][R].length - 1;
2125
- if (C < this.grid.length - 1)
2126
- for (var F = R; F <= x; F++)
2127
- G[1] += this.grid[C + 1][F].length + this.grid[C][F].length - 1;
2128
- if (x < this.grid[0].length - 1)
2129
- for (var F = A; F <= C; F++)
2130
- G[2] += this.grid[F][x + 1].length + this.grid[F][x].length - 1;
2131
- if (A > 0)
2132
- for (var F = R; F <= x; F++)
2133
- G[3] += this.grid[A - 1][F].length + this.grid[A][F].length - 1;
2134
- for (var b = T.MAX_VALUE, Y, k, H = 0; H < G.length; H++)
2135
- G[H] < b ? (b = G[H], Y = 1, k = H) : G[H] == b && Y++;
2136
- if (Y == 3 && b == 0)
2137
- G[0] == 0 && G[1] == 0 && G[2] == 0 ? h = 1 : G[0] == 0 && G[1] == 0 && G[3] == 0 ? h = 0 : G[0] == 0 && G[2] == 0 && G[3] == 0 ? h = 3 : G[1] == 0 && G[2] == 0 && G[3] == 0 && (h = 2);
2138
- else if (Y == 2 && b == 0) {
2139
- var P = Math.floor(Math.random() * 2);
2140
- G[0] == 0 && G[1] == 0 ? P == 0 ? h = 0 : h = 1 : G[0] == 0 && G[2] == 0 ? P == 0 ? h = 0 : h = 2 : G[0] == 0 && G[3] == 0 ? P == 0 ? h = 0 : h = 3 : G[1] == 0 && G[2] == 0 ? P == 0 ? h = 1 : h = 2 : G[1] == 0 && G[3] == 0 ? P == 0 ? h = 1 : h = 3 : P == 0 ? h = 2 : h = 3;
2141
- } else if (Y == 4 && b == 0) {
2142
- var P = Math.floor(Math.random() * 4);
2143
- h = P;
2144
- } else
2145
- h = k;
2146
- h == 0 ? p.setCenter(u.getCenterX(), u.getCenterY() - u.getHeight() / 2 - v.DEFAULT_EDGE_LENGTH - p.getHeight() / 2) : h == 1 ? p.setCenter(u.getCenterX() + u.getWidth() / 2 + v.DEFAULT_EDGE_LENGTH + p.getWidth() / 2, u.getCenterY()) : h == 2 ? p.setCenter(u.getCenterX(), u.getCenterY() + u.getHeight() / 2 + v.DEFAULT_EDGE_LENGTH + p.getHeight() / 2) : p.setCenter(u.getCenterX() - u.getWidth() / 2 - v.DEFAULT_EDGE_LENGTH - p.getWidth() / 2, u.getCenterY());
2147
- }, m.exports = d;
2148
- },
2149
- /* 7 */
2150
- /***/
2151
- function(m, y, r) {
2152
- var t = {};
2153
- t.layoutBase = r(0), t.CoSEConstants = r(1), t.CoSEEdge = r(2), t.CoSEGraph = r(3), t.CoSEGraphManager = r(4), t.CoSELayout = r(6), t.CoSENode = r(5), m.exports = t;
2154
- }
2155
- /******/
2156
- ])
2157
- );
2158
- });
2159
- }(et)), et.exports;
2160
- }
2161
- var _t = tt.exports, pt;
2162
- function Ft() {
2163
- return pt || (pt = 1, function(I, w) {
2164
- (function(m, y) {
2165
- I.exports = y(Gt());
2166
- })(_t, function(f) {
2167
- return (
2168
- /******/
2169
- function(m) {
2170
- var y = {};
2171
- function r(t) {
2172
- if (y[t])
2173
- return y[t].exports;
2174
- var e = y[t] = {
2175
- /******/
2176
- i: t,
2177
- /******/
2178
- l: !1,
2179
- /******/
2180
- exports: {}
2181
- /******/
2182
- };
2183
- return m[t].call(e.exports, e, e.exports, r), e.l = !0, e.exports;
2184
- }
2185
- return r.m = m, r.c = y, r.i = function(t) {
2186
- return t;
2187
- }, r.d = function(t, e, i) {
2188
- r.o(t, e) || Object.defineProperty(t, e, {
2189
- /******/
2190
- configurable: !1,
2191
- /******/
2192
- enumerable: !0,
2193
- /******/
2194
- get: i
2195
- /******/
2196
- });
2197
- }, r.n = function(t) {
2198
- var e = t && t.__esModule ? (
2199
- /******/
2200
- function() {
2201
- return t.default;
2202
- }
2203
- ) : (
2204
- /******/
2205
- function() {
2206
- return t;
2207
- }
2208
- );
2209
- return r.d(e, "a", e), e;
2210
- }, r.o = function(t, e) {
2211
- return Object.prototype.hasOwnProperty.call(t, e);
2212
- }, r.p = "", r(r.s = 1);
2213
- }([
2214
- /* 0 */
2215
- /***/
2216
- function(m, y) {
2217
- m.exports = f;
2218
- },
2219
- /* 1 */
2220
- /***/
2221
- function(m, y, r) {
2222
- var t = r(0).layoutBase.LayoutConstants, e = r(0).layoutBase.FDLayoutConstants, i = r(0).CoSEConstants, o = r(0).CoSELayout, g = r(0).CoSENode, a = r(0).layoutBase.PointD, v = r(0).layoutBase.DimensionD, n = {
2223
- // Called on `layoutready`
2224
- ready: function() {
2225
- },
2226
- // Called on `layoutstop`
2227
- stop: function() {
2228
- },
2229
- // 'draft', 'default' or 'proof"
2230
- // - 'draft' fast cooling rate
2231
- // - 'default' moderate cooling rate
2232
- // - "proof" slow cooling rate
2233
- quality: "default",
2234
- // include labels in node dimensions
2235
- nodeDimensionsIncludeLabels: !1,
2236
- // number of ticks per frame; higher is faster but more jerky
2237
- refresh: 30,
2238
- // Whether to fit the network view after when done
2239
- fit: !0,
2240
- // Padding on fit
2241
- padding: 10,
2242
- // Whether to enable incremental mode
2243
- randomize: !0,
2244
- // Node repulsion (non overlapping) multiplier
2245
- nodeRepulsion: 4500,
2246
- // Ideal edge (non nested) length
2247
- idealEdgeLength: 50,
2248
- // Divisor to compute edge forces
2249
- edgeElasticity: 0.45,
2250
- // Nesting factor (multiplier) to compute ideal edge length for nested edges
2251
- nestingFactor: 0.1,
2252
- // Gravity force (constant)
2253
- gravity: 0.25,
2254
- // Maximum number of iterations to perform
2255
- numIter: 2500,
2256
- // For enabling tiling
2257
- tile: !0,
2258
- // Type of layout animation. The option set is {'during', 'end', false}
2259
- animate: "end",
2260
- // Duration for animate:end
2261
- animationDuration: 500,
2262
- // Represents the amount of the vertical space to put between the zero degree members during the tiling operation(can also be a function)
2263
- tilingPaddingVertical: 10,
2264
- // Represents the amount of the horizontal space to put between the zero degree members during the tiling operation(can also be a function)
2265
- tilingPaddingHorizontal: 10,
2266
- // Gravity range (constant) for compounds
2267
- gravityRangeCompound: 1.5,
2268
- // Gravity force (constant) for compounds
2269
- gravityCompound: 1,
2270
- // Gravity range (constant)
2271
- gravityRange: 3.8,
2272
- // Initial cooling factor for incremental layout
2273
- initialEnergyOnIncremental: 0.5
2274
- };
2275
- function c(D, L) {
2276
- var O = {};
2277
- for (var d in D)
2278
- O[d] = D[d];
2279
- for (var d in L)
2280
- O[d] = L[d];
2281
- return O;
2282
- }
2283
- function l(D) {
2284
- this.options = c(n, D), E(this.options);
2285
- }
2286
- var E = function(L) {
2287
- L.nodeRepulsion != null && (i.DEFAULT_REPULSION_STRENGTH = e.DEFAULT_REPULSION_STRENGTH = L.nodeRepulsion), L.idealEdgeLength != null && (i.DEFAULT_EDGE_LENGTH = e.DEFAULT_EDGE_LENGTH = L.idealEdgeLength), L.edgeElasticity != null && (i.DEFAULT_SPRING_STRENGTH = e.DEFAULT_SPRING_STRENGTH = L.edgeElasticity), L.nestingFactor != null && (i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = e.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = L.nestingFactor), L.gravity != null && (i.DEFAULT_GRAVITY_STRENGTH = e.DEFAULT_GRAVITY_STRENGTH = L.gravity), L.numIter != null && (i.MAX_ITERATIONS = e.MAX_ITERATIONS = L.numIter), L.gravityRange != null && (i.DEFAULT_GRAVITY_RANGE_FACTOR = e.DEFAULT_GRAVITY_RANGE_FACTOR = L.gravityRange), L.gravityCompound != null && (i.DEFAULT_COMPOUND_GRAVITY_STRENGTH = e.DEFAULT_COMPOUND_GRAVITY_STRENGTH = L.gravityCompound), L.gravityRangeCompound != null && (i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = e.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = L.gravityRangeCompound), L.initialEnergyOnIncremental != null && (i.DEFAULT_COOLING_FACTOR_INCREMENTAL = e.DEFAULT_COOLING_FACTOR_INCREMENTAL = L.initialEnergyOnIncremental), L.quality == "draft" ? t.QUALITY = 0 : L.quality == "proof" ? t.QUALITY = 2 : t.QUALITY = 1, i.NODE_DIMENSIONS_INCLUDE_LABELS = e.NODE_DIMENSIONS_INCLUDE_LABELS = t.NODE_DIMENSIONS_INCLUDE_LABELS = L.nodeDimensionsIncludeLabels, i.DEFAULT_INCREMENTAL = e.DEFAULT_INCREMENTAL = t.DEFAULT_INCREMENTAL = !L.randomize, i.ANIMATE = e.ANIMATE = t.ANIMATE = L.animate, i.TILE = L.tile, i.TILING_PADDING_VERTICAL = typeof L.tilingPaddingVertical == "function" ? L.tilingPaddingVertical.call() : L.tilingPaddingVertical, i.TILING_PADDING_HORIZONTAL = typeof L.tilingPaddingHorizontal == "function" ? L.tilingPaddingHorizontal.call() : L.tilingPaddingHorizontal;
2288
- };
2289
- l.prototype.run = function() {
2290
- var D, L, O = this.options;
2291
- this.idToLNode = {};
2292
- var d = this.layout = new o(), N = this;
2293
- N.stopped = !1, this.cy = this.options.cy, this.cy.trigger({ type: "layoutstart", layout: this });
2294
- var s = d.newGraphManager();
2295
- this.gm = s;
2296
- var h = this.options.eles.nodes(), u = this.options.eles.edges();
2297
- this.root = s.addRoot(), this.processChildrenList(this.root, this.getTopMostNodes(h), d);
2298
- for (var p = 0; p < u.length; p++) {
2299
- var A = u[p], C = this.idToLNode[A.data("source")], R = this.idToLNode[A.data("target")];
2300
- if (C !== R && C.getEdgesBetween(R).length == 0) {
2301
- var x = s.add(d.newEdge(), C, R);
2302
- x.id = A.id();
2303
- }
2304
- }
2305
- var _ = function(M, G) {
2306
- typeof M == "number" && (M = G);
2307
- var F = M.data("id"), b = N.idToLNode[F];
2308
- return {
2309
- x: b.getRect().getCenterX(),
2310
- y: b.getRect().getCenterY()
2311
- };
2312
- }, U = function X() {
2313
- for (var M = function() {
2314
- O.fit && O.cy.fit(O.eles, O.padding), D || (D = !0, N.cy.one("layoutready", O.ready), N.cy.trigger({ type: "layoutready", layout: N }));
2315
- }, G = N.options.refresh, F, b = 0; b < G && !F; b++)
2316
- F = N.stopped || N.layout.tick();
2317
- if (F) {
2318
- d.checkLayoutSuccess() && !d.isSubLayout && d.doPostLayout(), d.tilingPostLayout && d.tilingPostLayout(), d.isLayoutFinished = !0, N.options.eles.nodes().positions(_), M(), N.cy.one("layoutstop", N.options.stop), N.cy.trigger({ type: "layoutstop", layout: N }), L && cancelAnimationFrame(L), D = !1;
2319
- return;
2320
- }
2321
- var Y = N.layout.getPositionsData();
2322
- O.eles.nodes().positions(function(k, H) {
2323
- if (typeof k == "number" && (k = H), !k.isParent()) {
2324
- for (var P = k.id(), B = Y[P], $ = k; B == null && (B = Y[$.data("parent")] || Y["DummyCompound_" + $.data("parent")], Y[P] = B, $ = $.parent()[0], $ != null); )
2325
- ;
2326
- return B != null ? {
2327
- x: B.x,
2328
- y: B.y
2329
- } : {
2330
- x: k.position("x"),
2331
- y: k.position("y")
2332
- };
2333
- }
2334
- }), M(), L = requestAnimationFrame(X);
2335
- };
2336
- return d.addListener("layoutstarted", function() {
2337
- N.options.animate === "during" && (L = requestAnimationFrame(U));
2338
- }), d.runLayout(), this.options.animate !== "during" && (N.options.eles.nodes().not(":parent").layoutPositions(N, N.options, _), D = !1), this;
2339
- }, l.prototype.getTopMostNodes = function(D) {
2340
- for (var L = {}, O = 0; O < D.length; O++)
2341
- L[D[O].id()] = !0;
2342
- var d = D.filter(function(N, s) {
2343
- typeof N == "number" && (N = s);
2344
- for (var h = N.parent()[0]; h != null; ) {
2345
- if (L[h.id()])
2346
- return !1;
2347
- h = h.parent()[0];
2348
- }
2349
- return !0;
2350
- });
2351
- return d;
2352
- }, l.prototype.processChildrenList = function(D, L, O) {
2353
- for (var d = L.length, N = 0; N < d; N++) {
2354
- var s = L[N], h = s.children(), u, p = s.layoutDimensions({
2355
- nodeDimensionsIncludeLabels: this.options.nodeDimensionsIncludeLabels
2356
- });
2357
- if (s.outerWidth() != null && s.outerHeight() != null ? u = D.add(new g(O.graphManager, new a(s.position("x") - p.w / 2, s.position("y") - p.h / 2), new v(parseFloat(p.w), parseFloat(p.h)))) : u = D.add(new g(this.graphManager)), u.id = s.data("id"), u.paddingLeft = parseInt(s.css("padding")), u.paddingTop = parseInt(s.css("padding")), u.paddingRight = parseInt(s.css("padding")), u.paddingBottom = parseInt(s.css("padding")), this.options.nodeDimensionsIncludeLabels && s.isParent()) {
2358
- var A = s.boundingBox({ includeLabels: !0, includeNodes: !1 }).w, C = s.boundingBox({ includeLabels: !0, includeNodes: !1 }).h, R = s.css("text-halign");
2359
- u.labelWidth = A, u.labelHeight = C, u.labelPos = R;
2360
- }
2361
- if (this.idToLNode[s.data("id")] = u, isNaN(u.rect.x) && (u.rect.x = 0), isNaN(u.rect.y) && (u.rect.y = 0), h != null && h.length > 0) {
2362
- var x;
2363
- x = O.getGraphManager().add(O.newGraph(), u), this.processChildrenList(x, h, O);
2364
- }
2365
- }
2366
- }, l.prototype.stop = function() {
2367
- return this.stopped = !0, this;
2368
- };
2369
- var T = function(L) {
2370
- L("layout", "cose-bilkent", l);
2371
- };
2372
- typeof cytoscape < "u" && T(cytoscape), m.exports = T;
2373
- }
2374
- /******/
2375
- ])
2376
- );
2377
- });
2378
- }(tt)), tt.exports;
2379
- }
2380
- var bt = Ft();
2381
- const Ut = /* @__PURE__ */ Nt(bt);
2382
- var at = function() {
2383
- var I = /* @__PURE__ */ S(function(O, d, N, s) {
2384
- for (N = N || {}, s = O.length; s--; N[O[s]] = d) ;
2385
- return N;
2386
- }, "o"), w = [1, 4], f = [1, 13], m = [1, 12], y = [1, 15], r = [1, 16], t = [1, 20], e = [1, 19], i = [6, 7, 8], o = [1, 26], g = [1, 24], a = [1, 25], v = [6, 7, 11], n = [1, 6, 13, 15, 16, 19, 22], c = [1, 33], l = [1, 34], E = [1, 6, 7, 11, 13, 15, 16, 19, 22], T = {
2387
- trace: /* @__PURE__ */ S(function() {
2388
- }, "trace"),
2389
- yy: {},
2390
- symbols_: { error: 2, start: 3, mindMap: 4, spaceLines: 5, SPACELINE: 6, NL: 7, MINDMAP: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, node: 14, ICON: 15, CLASS: 16, nodeWithId: 17, nodeWithoutId: 18, NODE_DSTART: 19, NODE_DESCR: 20, NODE_DEND: 21, NODE_ID: 22, $accept: 0, $end: 1 },
2391
- terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "MINDMAP", 11: "EOF", 13: "SPACELIST", 15: "ICON", 16: "CLASS", 19: "NODE_DSTART", 20: "NODE_DESCR", 21: "NODE_DEND", 22: "NODE_ID" },
2392
- productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 2], [12, 2], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [18, 3], [17, 1], [17, 4]],
2393
- performAction: /* @__PURE__ */ S(function(d, N, s, h, u, p, A) {
2394
- var C = p.length - 1;
2395
- switch (u) {
2396
- case 6:
2397
- case 7:
2398
- return h;
2399
- case 8:
2400
- h.getLogger().trace("Stop NL ");
2401
- break;
2402
- case 9:
2403
- h.getLogger().trace("Stop EOF ");
2404
- break;
2405
- case 11:
2406
- h.getLogger().trace("Stop NL2 ");
2407
- break;
2408
- case 12:
2409
- h.getLogger().trace("Stop EOF2 ");
2410
- break;
2411
- case 15:
2412
- h.getLogger().info("Node: ", p[C].id), h.addNode(p[C - 1].length, p[C].id, p[C].descr, p[C].type);
2413
- break;
2414
- case 16:
2415
- h.getLogger().trace("Icon: ", p[C]), h.decorateNode({ icon: p[C] });
2416
- break;
2417
- case 17:
2418
- case 21:
2419
- h.decorateNode({ class: p[C] });
2420
- break;
2421
- case 18:
2422
- h.getLogger().trace("SPACELIST");
2423
- break;
2424
- case 19:
2425
- h.getLogger().trace("Node: ", p[C].id), h.addNode(0, p[C].id, p[C].descr, p[C].type);
2426
- break;
2427
- case 20:
2428
- h.decorateNode({ icon: p[C] });
2429
- break;
2430
- case 25:
2431
- h.getLogger().trace("node found ..", p[C - 2]), this.$ = { id: p[C - 1], descr: p[C - 1], type: h.getType(p[C - 2], p[C]) };
2432
- break;
2433
- case 26:
2434
- this.$ = { id: p[C], descr: p[C], type: h.nodeType.DEFAULT };
2435
- break;
2436
- case 27:
2437
- h.getLogger().trace("node found ..", p[C - 3]), this.$ = { id: p[C - 3], descr: p[C - 1], type: h.getType(p[C - 2], p[C]) };
2438
- break;
2439
- }
2440
- }, "anonymous"),
2441
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: w }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: w }, { 6: f, 7: [1, 10], 9: 9, 12: 11, 13: m, 14: 14, 15: y, 16: r, 17: 17, 18: 18, 19: t, 22: e }, I(i, [2, 3]), { 1: [2, 2] }, I(i, [2, 4]), I(i, [2, 5]), { 1: [2, 6], 6: f, 12: 21, 13: m, 14: 14, 15: y, 16: r, 17: 17, 18: 18, 19: t, 22: e }, { 6: f, 9: 22, 12: 11, 13: m, 14: 14, 15: y, 16: r, 17: 17, 18: 18, 19: t, 22: e }, { 6: o, 7: g, 10: 23, 11: a }, I(v, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: t, 22: e }), I(v, [2, 18]), I(v, [2, 19]), I(v, [2, 20]), I(v, [2, 21]), I(v, [2, 23]), I(v, [2, 24]), I(v, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: o, 7: g, 10: 32, 11: a }, { 1: [2, 7], 6: f, 12: 21, 13: m, 14: 14, 15: y, 16: r, 17: 17, 18: 18, 19: t, 22: e }, I(n, [2, 14], { 7: c, 11: l }), I(E, [2, 8]), I(E, [2, 9]), I(E, [2, 10]), I(v, [2, 15]), I(v, [2, 16]), I(v, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, I(n, [2, 13], { 7: c, 11: l }), I(E, [2, 11]), I(E, [2, 12]), { 21: [1, 37] }, I(v, [2, 25]), I(v, [2, 27])],
2442
- defaultActions: { 2: [2, 1], 6: [2, 2] },
2443
- parseError: /* @__PURE__ */ S(function(d, N) {
2444
- if (N.recoverable)
2445
- this.trace(d);
2446
- else {
2447
- var s = new Error(d);
2448
- throw s.hash = N, s;
2449
- }
2450
- }, "parseError"),
2451
- parse: /* @__PURE__ */ S(function(d) {
2452
- var N = this, s = [0], h = [], u = [null], p = [], A = this.table, C = "", R = 0, x = 0, _ = 2, U = 1, X = p.slice.call(arguments, 1), M = Object.create(this.lexer), G = { yy: {} };
2453
- for (var F in this.yy)
2454
- Object.prototype.hasOwnProperty.call(this.yy, F) && (G.yy[F] = this.yy[F]);
2455
- M.setInput(d, G.yy), G.yy.lexer = M, G.yy.parser = this, typeof M.yylloc > "u" && (M.yylloc = {});
2456
- var b = M.yylloc;
2457
- p.push(b);
2458
- var Y = M.options && M.options.ranges;
2459
- typeof G.yy.parseError == "function" ? this.parseError = G.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
2460
- function k(V) {
2461
- s.length = s.length - 2 * V, u.length = u.length - V, p.length = p.length - V;
2462
- }
2463
- S(k, "popStack");
2464
- function H() {
2465
- var V;
2466
- return V = h.pop() || M.lex() || U, typeof V != "number" && (V instanceof Array && (h = V, V = h.pop()), V = N.symbols_[V] || V), V;
2467
- }
2468
- S(H, "lex");
2469
- for (var P, B, $, K, Q = {}, q, j, gt, J; ; ) {
2470
- if (B = s[s.length - 1], this.defaultActions[B] ? $ = this.defaultActions[B] : ((P === null || typeof P > "u") && (P = H()), $ = A[B] && A[B][P]), typeof $ > "u" || !$.length || !$[0]) {
2471
- var st = "";
2472
- J = [];
2473
- for (q in A[B])
2474
- this.terminals_[q] && q > _ && J.push("'" + this.terminals_[q] + "'");
2475
- M.showPosition ? st = "Parse error on line " + (R + 1) + `:
2476
- ` + M.showPosition() + `
2477
- Expecting ` + J.join(", ") + ", got '" + (this.terminals_[P] || P) + "'" : st = "Parse error on line " + (R + 1) + ": Unexpected " + (P == U ? "end of input" : "'" + (this.terminals_[P] || P) + "'"), this.parseError(st, {
2478
- text: M.match,
2479
- token: this.terminals_[P] || P,
2480
- line: M.yylineno,
2481
- loc: b,
2482
- expected: J
2483
- });
2484
- }
2485
- if ($[0] instanceof Array && $.length > 1)
2486
- throw new Error("Parse Error: multiple actions possible at state: " + B + ", token: " + P);
2487
- switch ($[0]) {
2488
- case 1:
2489
- s.push(P), u.push(M.yytext), p.push(M.yylloc), s.push($[1]), P = null, x = M.yyleng, C = M.yytext, R = M.yylineno, b = M.yylloc;
2490
- break;
2491
- case 2:
2492
- if (j = this.productions_[$[1]][1], Q.$ = u[u.length - j], Q._$ = {
2493
- first_line: p[p.length - (j || 1)].first_line,
2494
- last_line: p[p.length - 1].last_line,
2495
- first_column: p[p.length - (j || 1)].first_column,
2496
- last_column: p[p.length - 1].last_column
2497
- }, Y && (Q._$.range = [
2498
- p[p.length - (j || 1)].range[0],
2499
- p[p.length - 1].range[1]
2500
- ]), K = this.performAction.apply(Q, [
2501
- C,
2502
- x,
2503
- R,
2504
- G.yy,
2505
- $[1],
2506
- u,
2507
- p
2508
- ].concat(X)), typeof K < "u")
2509
- return K;
2510
- j && (s = s.slice(0, -1 * j * 2), u = u.slice(0, -1 * j), p = p.slice(0, -1 * j)), s.push(this.productions_[$[1]][0]), u.push(Q.$), p.push(Q._$), gt = A[s[s.length - 2]][s[s.length - 1]], s.push(gt);
2511
- break;
2512
- case 3:
2513
- return !0;
2514
- }
2515
- }
2516
- return !0;
2517
- }, "parse")
2518
- }, D = /* @__PURE__ */ function() {
2519
- var O = {
2520
- EOF: 1,
2521
- parseError: /* @__PURE__ */ S(function(N, s) {
2522
- if (this.yy.parser)
2523
- this.yy.parser.parseError(N, s);
2524
- else
2525
- throw new Error(N);
2526
- }, "parseError"),
2527
- // resets the lexer, sets new input
2528
- setInput: /* @__PURE__ */ S(function(d, N) {
2529
- return this.yy = N || this.yy || {}, this._input = d, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
2530
- first_line: 1,
2531
- first_column: 0,
2532
- last_line: 1,
2533
- last_column: 0
2534
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
2535
- }, "setInput"),
2536
- // consumes and returns one char from the input
2537
- input: /* @__PURE__ */ S(function() {
2538
- var d = this._input[0];
2539
- this.yytext += d, this.yyleng++, this.offset++, this.match += d, this.matched += d;
2540
- var N = d.match(/(?:\r\n?|\n).*/g);
2541
- return N ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), d;
2542
- }, "input"),
2543
- // unshifts one char (or a string) into the input
2544
- unput: /* @__PURE__ */ S(function(d) {
2545
- var N = d.length, s = d.split(/(?:\r\n?|\n)/g);
2546
- this._input = d + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - N), this.offset -= N;
2547
- var h = this.match.split(/(?:\r\n?|\n)/g);
2548
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), s.length - 1 && (this.yylineno -= s.length - 1);
2549
- var u = this.yylloc.range;
2550
- return this.yylloc = {
2551
- first_line: this.yylloc.first_line,
2552
- last_line: this.yylineno + 1,
2553
- first_column: this.yylloc.first_column,
2554
- last_column: s ? (s.length === h.length ? this.yylloc.first_column : 0) + h[h.length - s.length].length - s[0].length : this.yylloc.first_column - N
2555
- }, this.options.ranges && (this.yylloc.range = [u[0], u[0] + this.yyleng - N]), this.yyleng = this.yytext.length, this;
2556
- }, "unput"),
2557
- // When called from action, caches matched text and appends it on next action
2558
- more: /* @__PURE__ */ S(function() {
2559
- return this._more = !0, this;
2560
- }, "more"),
2561
- // 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.
2562
- reject: /* @__PURE__ */ S(function() {
2563
- if (this.options.backtrack_lexer)
2564
- this._backtrack = !0;
2565
- else
2566
- 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).
2567
- ` + this.showPosition(), {
2568
- text: "",
2569
- token: null,
2570
- line: this.yylineno
2571
- });
2572
- return this;
2573
- }, "reject"),
2574
- // retain first n characters of the match
2575
- less: /* @__PURE__ */ S(function(d) {
2576
- this.unput(this.match.slice(d));
2577
- }, "less"),
2578
- // displays already matched input, i.e. for error messages
2579
- pastInput: /* @__PURE__ */ S(function() {
2580
- var d = this.matched.substr(0, this.matched.length - this.match.length);
2581
- return (d.length > 20 ? "..." : "") + d.substr(-20).replace(/\n/g, "");
2582
- }, "pastInput"),
2583
- // displays upcoming input, i.e. for error messages
2584
- upcomingInput: /* @__PURE__ */ S(function() {
2585
- var d = this.match;
2586
- return d.length < 20 && (d += this._input.substr(0, 20 - d.length)), (d.substr(0, 20) + (d.length > 20 ? "..." : "")).replace(/\n/g, "");
2587
- }, "upcomingInput"),
2588
- // displays the character position where the lexing error occurred, i.e. for error messages
2589
- showPosition: /* @__PURE__ */ S(function() {
2590
- var d = this.pastInput(), N = new Array(d.length + 1).join("-");
2591
- return d + this.upcomingInput() + `
2592
- ` + N + "^";
2593
- }, "showPosition"),
2594
- // test the lexed token: return FALSE when not a match, otherwise return token
2595
- test_match: /* @__PURE__ */ S(function(d, N) {
2596
- var s, h, u;
2597
- if (this.options.backtrack_lexer && (u = {
2598
- yylineno: this.yylineno,
2599
- yylloc: {
2600
- first_line: this.yylloc.first_line,
2601
- last_line: this.last_line,
2602
- first_column: this.yylloc.first_column,
2603
- last_column: this.yylloc.last_column
2604
- },
2605
- yytext: this.yytext,
2606
- match: this.match,
2607
- matches: this.matches,
2608
- matched: this.matched,
2609
- yyleng: this.yyleng,
2610
- offset: this.offset,
2611
- _more: this._more,
2612
- _input: this._input,
2613
- yy: this.yy,
2614
- conditionStack: this.conditionStack.slice(0),
2615
- done: this.done
2616
- }, this.options.ranges && (u.yylloc.range = this.yylloc.range.slice(0))), h = d[0].match(/(?:\r\n?|\n).*/g), h && (this.yylineno += h.length), this.yylloc = {
2617
- first_line: this.yylloc.last_line,
2618
- last_line: this.yylineno + 1,
2619
- first_column: this.yylloc.last_column,
2620
- last_column: h ? h[h.length - 1].length - h[h.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + d[0].length
2621
- }, this.yytext += d[0], this.match += d[0], this.matches = d, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(d[0].length), this.matched += d[0], s = this.performAction.call(this, this.yy, this, N, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), s)
2622
- return s;
2623
- if (this._backtrack) {
2624
- for (var p in u)
2625
- this[p] = u[p];
2626
- return !1;
2627
- }
2628
- return !1;
2629
- }, "test_match"),
2630
- // return next match in input
2631
- next: /* @__PURE__ */ S(function() {
2632
- if (this.done)
2633
- return this.EOF;
2634
- this._input || (this.done = !0);
2635
- var d, N, s, h;
2636
- this._more || (this.yytext = "", this.match = "");
2637
- for (var u = this._currentRules(), p = 0; p < u.length; p++)
2638
- if (s = this._input.match(this.rules[u[p]]), s && (!N || s[0].length > N[0].length)) {
2639
- if (N = s, h = p, this.options.backtrack_lexer) {
2640
- if (d = this.test_match(s, u[p]), d !== !1)
2641
- return d;
2642
- if (this._backtrack) {
2643
- N = !1;
2644
- continue;
2645
- } else
2646
- return !1;
2647
- } else if (!this.options.flex)
2648
- break;
2649
- }
2650
- return N ? (d = this.test_match(N, u[h]), d !== !1 ? d : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
2651
- ` + this.showPosition(), {
2652
- text: "",
2653
- token: null,
2654
- line: this.yylineno
2655
- });
2656
- }, "next"),
2657
- // return next match that has a token
2658
- lex: /* @__PURE__ */ S(function() {
2659
- var N = this.next();
2660
- return N || this.lex();
2661
- }, "lex"),
2662
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
2663
- begin: /* @__PURE__ */ S(function(N) {
2664
- this.conditionStack.push(N);
2665
- }, "begin"),
2666
- // pop the previously active lexer condition state off the condition stack
2667
- popState: /* @__PURE__ */ S(function() {
2668
- var N = this.conditionStack.length - 1;
2669
- return N > 0 ? this.conditionStack.pop() : this.conditionStack[0];
2670
- }, "popState"),
2671
- // produce the lexer rule set which is active for the currently active lexer condition state
2672
- _currentRules: /* @__PURE__ */ S(function() {
2673
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
2674
- }, "_currentRules"),
2675
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
2676
- topState: /* @__PURE__ */ S(function(N) {
2677
- return N = this.conditionStack.length - 1 - Math.abs(N || 0), N >= 0 ? this.conditionStack[N] : "INITIAL";
2678
- }, "topState"),
2679
- // alias for begin(condition)
2680
- pushState: /* @__PURE__ */ S(function(N) {
2681
- this.begin(N);
2682
- }, "pushState"),
2683
- // return the number of states currently on the stack
2684
- stateStackSize: /* @__PURE__ */ S(function() {
2685
- return this.conditionStack.length;
2686
- }, "stateStackSize"),
2687
- options: { "case-insensitive": !0 },
2688
- performAction: /* @__PURE__ */ S(function(N, s, h, u) {
2689
- switch (h) {
2690
- case 0:
2691
- return N.getLogger().trace("Found comment", s.yytext), 6;
2692
- case 1:
2693
- return 8;
2694
- case 2:
2695
- this.begin("CLASS");
2696
- break;
2697
- case 3:
2698
- return this.popState(), 16;
2699
- case 4:
2700
- this.popState();
2701
- break;
2702
- case 5:
2703
- N.getLogger().trace("Begin icon"), this.begin("ICON");
2704
- break;
2705
- case 6:
2706
- return N.getLogger().trace("SPACELINE"), 6;
2707
- case 7:
2708
- return 7;
2709
- case 8:
2710
- return 15;
2711
- case 9:
2712
- N.getLogger().trace("end icon"), this.popState();
2713
- break;
2714
- case 10:
2715
- return N.getLogger().trace("Exploding node"), this.begin("NODE"), 19;
2716
- case 11:
2717
- return N.getLogger().trace("Cloud"), this.begin("NODE"), 19;
2718
- case 12:
2719
- return N.getLogger().trace("Explosion Bang"), this.begin("NODE"), 19;
2720
- case 13:
2721
- return N.getLogger().trace("Cloud Bang"), this.begin("NODE"), 19;
2722
- case 14:
2723
- return this.begin("NODE"), 19;
2724
- case 15:
2725
- return this.begin("NODE"), 19;
2726
- case 16:
2727
- return this.begin("NODE"), 19;
2728
- case 17:
2729
- return this.begin("NODE"), 19;
2730
- case 18:
2731
- return 13;
2732
- case 19:
2733
- return 22;
2734
- case 20:
2735
- return 11;
2736
- case 21:
2737
- this.begin("NSTR2");
2738
- break;
2739
- case 22:
2740
- return "NODE_DESCR";
2741
- case 23:
2742
- this.popState();
2743
- break;
2744
- case 24:
2745
- N.getLogger().trace("Starting NSTR"), this.begin("NSTR");
2746
- break;
2747
- case 25:
2748
- return N.getLogger().trace("description:", s.yytext), "NODE_DESCR";
2749
- case 26:
2750
- this.popState();
2751
- break;
2752
- case 27:
2753
- return this.popState(), N.getLogger().trace("node end ))"), "NODE_DEND";
2754
- case 28:
2755
- return this.popState(), N.getLogger().trace("node end )"), "NODE_DEND";
2756
- case 29:
2757
- return this.popState(), N.getLogger().trace("node end ...", s.yytext), "NODE_DEND";
2758
- case 30:
2759
- return this.popState(), N.getLogger().trace("node end (("), "NODE_DEND";
2760
- case 31:
2761
- return this.popState(), N.getLogger().trace("node end (-"), "NODE_DEND";
2762
- case 32:
2763
- return this.popState(), N.getLogger().trace("node end (-"), "NODE_DEND";
2764
- case 33:
2765
- return this.popState(), N.getLogger().trace("node end (("), "NODE_DEND";
2766
- case 34:
2767
- return this.popState(), N.getLogger().trace("node end (("), "NODE_DEND";
2768
- case 35:
2769
- return N.getLogger().trace("Long description:", s.yytext), 20;
2770
- case 36:
2771
- return N.getLogger().trace("Long description:", s.yytext), 20;
2772
- }
2773
- }, "anonymous"),
2774
- rules: [/^(?:\s*%%.*)/i, /^(?:mindmap\b)/i, /^(?::::)/i, /^(?:.+)/i, /^(?:\n)/i, /^(?:::icon\()/i, /^(?:[\s]+[\n])/i, /^(?:[\n]+)/i, /^(?:[^\)]+)/i, /^(?:\))/i, /^(?:-\))/i, /^(?:\(-)/i, /^(?:\)\))/i, /^(?:\))/i, /^(?:\(\()/i, /^(?:\{\{)/i, /^(?:\()/i, /^(?:\[)/i, /^(?:[\s]+)/i, /^(?:[^\(\[\n\)\{\}]+)/i, /^(?:$)/i, /^(?:["][`])/i, /^(?:[^`"]+)/i, /^(?:[`]["])/i, /^(?:["])/i, /^(?:[^"]+)/i, /^(?:["])/i, /^(?:[\)]\))/i, /^(?:[\)])/i, /^(?:[\]])/i, /^(?:\}\})/i, /^(?:\(-)/i, /^(?:-\))/i, /^(?:\(\()/i, /^(?:\()/i, /^(?:[^\)\]\(\}]+)/i, /^(?:.+(?!\(\())/i],
2775
- conditions: { CLASS: { rules: [3, 4], inclusive: !1 }, ICON: { rules: [8, 9], inclusive: !1 }, NSTR2: { rules: [22, 23], inclusive: !1 }, NSTR: { rules: [25, 26], inclusive: !1 }, NODE: { rules: [21, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], inclusive: !0 } }
2776
- };
2777
- return O;
2778
- }();
2779
- T.lexer = D;
2780
- function L() {
2781
- this.yy = {};
2782
- }
2783
- return S(L, "Parser"), L.prototype = T, T.Parser = L, new L();
2784
- }();
2785
- at.parser = at;
2786
- var Pt = at, Z = [], vt = 0, ht = {}, Yt = /* @__PURE__ */ S(() => {
2787
- Z = [], vt = 0, ht = {};
2788
- }, "clear"), Xt = /* @__PURE__ */ S(function(I) {
2789
- for (let w = Z.length - 1; w >= 0; w--)
2790
- if (Z[w].level < I)
2791
- return Z[w];
2792
- return null;
2793
- }, "getParent"), kt = /* @__PURE__ */ S(() => Z.length > 0 ? Z[0] : null, "getMindmap"), Ht = /* @__PURE__ */ S((I, w, f, m) => {
2794
- var i, o;
2795
- z.info("addNode", I, w, f, m);
2796
- const y = ot();
2797
- let r = ((i = y.mindmap) == null ? void 0 : i.padding) ?? it.mindmap.padding;
2798
- switch (m) {
2799
- case W.ROUNDED_RECT:
2800
- case W.RECT:
2801
- case W.HEXAGON:
2802
- r *= 2;
2803
- }
2804
- const t = {
2805
- id: vt++,
2806
- nodeId: nt(w, y),
2807
- level: I,
2808
- descr: nt(f, y),
2809
- type: m,
2810
- children: [],
2811
- width: ((o = y.mindmap) == null ? void 0 : o.maxNodeWidth) ?? it.mindmap.maxNodeWidth,
2812
- padding: r
2813
- }, e = Xt(I);
2814
- if (e)
2815
- e.children.push(t), Z.push(t);
2816
- else if (Z.length === 0)
2817
- Z.push(t);
2818
- else
2819
- throw new Error(
2820
- 'There can be only one root. No parent could be found for ("' + t.descr + '")'
2821
- );
2822
- }, "addNode"), W = {
2823
- DEFAULT: 0,
2824
- NO_BORDER: 0,
2825
- ROUNDED_RECT: 1,
2826
- RECT: 2,
2827
- CIRCLE: 3,
2828
- CLOUD: 4,
2829
- BANG: 5,
2830
- HEXAGON: 6
2831
- }, $t = /* @__PURE__ */ S((I, w) => {
2832
- switch (z.debug("In get type", I, w), I) {
2833
- case "[":
2834
- return W.RECT;
2835
- case "(":
2836
- return w === ")" ? W.ROUNDED_RECT : W.CLOUD;
2837
- case "((":
2838
- return W.CIRCLE;
2839
- case ")":
2840
- return W.CLOUD;
2841
- case "))":
2842
- return W.BANG;
2843
- case "{{":
2844
- return W.HEXAGON;
2845
- default:
2846
- return W.DEFAULT;
2847
- }
2848
- }, "getType"), Wt = /* @__PURE__ */ S((I, w) => {
2849
- ht[I] = w;
2850
- }, "setElementForId"), Bt = /* @__PURE__ */ S((I) => {
2851
- if (!I)
2852
- return;
2853
- const w = ot(), f = Z[Z.length - 1];
2854
- I.icon && (f.icon = nt(I.icon, w)), I.class && (f.class = nt(I.class, w));
2855
- }, "decorateNode"), Vt = /* @__PURE__ */ S((I) => {
2856
- switch (I) {
2857
- case W.DEFAULT:
2858
- return "no-border";
2859
- case W.RECT:
2860
- return "rect";
2861
- case W.ROUNDED_RECT:
2862
- return "rounded-rect";
2863
- case W.CIRCLE:
2864
- return "circle";
2865
- case W.CLOUD:
2866
- return "cloud";
2867
- case W.BANG:
2868
- return "bang";
2869
- case W.HEXAGON:
2870
- return "hexgon";
2871
- // cspell: disable-line
2872
- default:
2873
- return "no-border";
2874
- }
2875
- }, "type2Str"), Zt = /* @__PURE__ */ S(() => z, "getLogger"), Qt = /* @__PURE__ */ S((I) => ht[I], "getElementById"), jt = {
2876
- clear: Yt,
2877
- addNode: Ht,
2878
- getMindmap: kt,
2879
- nodeType: W,
2880
- getType: $t,
2881
- setElementForId: Wt,
2882
- decorateNode: Bt,
2883
- type2Str: Vt,
2884
- getLogger: Zt,
2885
- getElementById: Qt
2886
- }, zt = jt, Kt = 12, qt = /* @__PURE__ */ S(function(I, w, f, m) {
2887
- w.append("path").attr("id", "node-" + f.id).attr("class", "node-bkg node-" + I.type2Str(f.type)).attr(
2888
- "d",
2889
- `M0 ${f.height - 5} v${-f.height + 2 * 5} q0,-5 5,-5 h${f.width - 2 * 5} q5,0 5,5 v${f.height - 5} H0 Z`
2890
- ), w.append("line").attr("class", "node-line-" + m).attr("x1", 0).attr("y1", f.height).attr("x2", f.width).attr("y2", f.height);
2891
- }, "defaultBkg"), Jt = /* @__PURE__ */ S(function(I, w, f) {
2892
- w.append("rect").attr("id", "node-" + f.id).attr("class", "node-bkg node-" + I.type2Str(f.type)).attr("height", f.height).attr("width", f.width);
2893
- }, "rectBkg"), te = /* @__PURE__ */ S(function(I, w, f) {
2894
- const m = f.width, y = f.height, r = 0.15 * m, t = 0.25 * m, e = 0.35 * m, i = 0.2 * m;
2895
- w.append("path").attr("id", "node-" + f.id).attr("class", "node-bkg node-" + I.type2Str(f.type)).attr(
2896
- "d",
2897
- `M0 0 a${r},${r} 0 0,1 ${m * 0.25},${-1 * m * 0.1}
2898
- a${e},${e} 1 0,1 ${m * 0.4},${-1 * m * 0.1}
2899
- a${t},${t} 1 0,1 ${m * 0.35},${1 * m * 0.2}
2900
-
2901
- a${r},${r} 1 0,1 ${m * 0.15},${1 * y * 0.35}
2902
- a${i},${i} 1 0,1 ${-1 * m * 0.15},${1 * y * 0.65}
2903
-
2904
- a${t},${r} 1 0,1 ${-1 * m * 0.25},${m * 0.15}
2905
- a${e},${e} 1 0,1 ${-1 * m * 0.5},0
2906
- a${r},${r} 1 0,1 ${-1 * m * 0.25},${-1 * m * 0.15}
2907
-
2908
- a${r},${r} 1 0,1 ${-1 * m * 0.1},${-1 * y * 0.35}
2909
- a${i},${i} 1 0,1 ${m * 0.1},${-1 * y * 0.65}
2910
-
2911
- H0 V0 Z`
2912
- );
2913
- }, "cloudBkg"), ee = /* @__PURE__ */ S(function(I, w, f) {
2914
- const m = f.width, y = f.height, r = 0.15 * m;
2915
- w.append("path").attr("id", "node-" + f.id).attr("class", "node-bkg node-" + I.type2Str(f.type)).attr(
2916
- "d",
2917
- `M0 0 a${r},${r} 1 0,0 ${m * 0.25},${-1 * y * 0.1}
2918
- a${r},${r} 1 0,0 ${m * 0.25},0
2919
- a${r},${r} 1 0,0 ${m * 0.25},0
2920
- a${r},${r} 1 0,0 ${m * 0.25},${1 * y * 0.1}
2921
-
2922
- a${r},${r} 1 0,0 ${m * 0.15},${1 * y * 0.33}
2923
- a${r * 0.8},${r * 0.8} 1 0,0 0,${1 * y * 0.34}
2924
- a${r},${r} 1 0,0 ${-1 * m * 0.15},${1 * y * 0.33}
2925
-
2926
- a${r},${r} 1 0,0 ${-1 * m * 0.25},${y * 0.15}
2927
- a${r},${r} 1 0,0 ${-1 * m * 0.25},0
2928
- a${r},${r} 1 0,0 ${-1 * m * 0.25},0
2929
- a${r},${r} 1 0,0 ${-1 * m * 0.25},${-1 * y * 0.15}
2930
-
2931
- a${r},${r} 1 0,0 ${-1 * m * 0.1},${-1 * y * 0.33}
2932
- a${r * 0.8},${r * 0.8} 1 0,0 0,${-1 * y * 0.34}
2933
- a${r},${r} 1 0,0 ${m * 0.1},${-1 * y * 0.33}
2934
-
2935
- H0 V0 Z`
2936
- );
2937
- }, "bangBkg"), re = /* @__PURE__ */ S(function(I, w, f) {
2938
- w.append("circle").attr("id", "node-" + f.id).attr("class", "node-bkg node-" + I.type2Str(f.type)).attr("r", f.width / 2);
2939
- }, "circleBkg");
2940
- function yt(I, w, f, m, y) {
2941
- return I.insert("polygon", ":first-child").attr(
2942
- "points",
2943
- m.map(function(r) {
2944
- return r.x + "," + r.y;
2945
- }).join(" ")
2946
- ).attr("transform", "translate(" + (y.width - w) / 2 + ", " + f + ")");
2947
- }
2948
- S(yt, "insertPolygonShape");
2949
- var ie = /* @__PURE__ */ S(function(I, w, f) {
2950
- const m = f.height, r = m / 4, t = f.width - f.padding + 2 * r, e = [
2951
- { x: r, y: 0 },
2952
- { x: t - r, y: 0 },
2953
- { x: t, y: -m / 2 },
2954
- { x: t - r, y: -m },
2955
- { x: r, y: -m },
2956
- { x: 0, y: -m / 2 }
2957
- ];
2958
- yt(w, t, m, e, f);
2959
- }, "hexagonBkg"), ne = /* @__PURE__ */ S(function(I, w, f) {
2960
- w.append("rect").attr("id", "node-" + f.id).attr("class", "node-bkg node-" + I.type2Str(f.type)).attr("height", f.height).attr("rx", f.padding).attr("ry", f.padding).attr("width", f.width);
2961
- }, "roundedRectBkg"), se = /* @__PURE__ */ S(async function(I, w, f, m, y) {
2962
- const r = y.htmlLabels, t = m % (Kt - 1), e = w.append("g");
2963
- f.section = t;
2964
- let i = "section-" + t;
2965
- t < 0 && (i += " section-root"), e.attr("class", (f.class ? f.class + " " : "") + "mindmap-node " + i);
2966
- const o = e.append("g"), g = e.append("g"), a = f.descr.replace(/(<br\/*>)/g, `
2967
- `);
2968
- await Rt(
2969
- g,
2970
- a,
2971
- {
2972
- useHtmlLabels: r,
2973
- width: f.width,
2974
- classes: "mindmap-node-label"
2975
- },
2976
- y
2977
- ), r || g.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle");
2978
- const v = g.node().getBBox(), [n] = xt(y.fontSize);
2979
- if (f.height = v.height + n * 1.1 * 0.5 + f.padding, f.width = v.width + 2 * f.padding, f.icon)
2980
- if (f.type === I.nodeType.CIRCLE)
2981
- f.height += 50, f.width += 50, e.append("foreignObject").attr("height", "50px").attr("width", f.width).attr("style", "text-align: center;").append("div").attr("class", "icon-container").append("i").attr("class", "node-icon-" + t + " " + f.icon), g.attr(
2982
- "transform",
2983
- "translate(" + f.width / 2 + ", " + (f.height / 2 - 1.5 * f.padding) + ")"
2984
- );
2985
- else {
2986
- f.width += 50;
2987
- const c = f.height;
2988
- f.height = Math.max(c, 60);
2989
- const l = Math.abs(f.height - c);
2990
- e.append("foreignObject").attr("width", "60px").attr("height", f.height).attr("style", "text-align: center;margin-top:" + l / 2 + "px;").append("div").attr("class", "icon-container").append("i").attr("class", "node-icon-" + t + " " + f.icon), g.attr(
2991
- "transform",
2992
- "translate(" + (25 + f.width / 2) + ", " + (l / 2 + f.padding / 2) + ")"
2993
- );
2994
- }
2995
- else if (r) {
2996
- const c = (f.width - v.width) / 2, l = (f.height - v.height) / 2;
2997
- g.attr("transform", "translate(" + c + ", " + l + ")");
2998
- } else {
2999
- const c = f.width / 2, l = f.padding / 2;
3000
- g.attr("transform", "translate(" + c + ", " + l + ")");
3001
- }
3002
- switch (f.type) {
3003
- case I.nodeType.DEFAULT:
3004
- qt(I, o, f, t);
3005
- break;
3006
- case I.nodeType.ROUNDED_RECT:
3007
- ne(I, o, f, t);
3008
- break;
3009
- case I.nodeType.RECT:
3010
- Jt(I, o, f, t);
3011
- break;
3012
- case I.nodeType.CIRCLE:
3013
- o.attr("transform", "translate(" + f.width / 2 + ", " + +f.height / 2 + ")"), re(I, o, f, t);
3014
- break;
3015
- case I.nodeType.CLOUD:
3016
- te(I, o, f, t);
3017
- break;
3018
- case I.nodeType.BANG:
3019
- ee(I, o, f, t);
3020
- break;
3021
- case I.nodeType.HEXAGON:
3022
- ie(I, o, f, t);
3023
- break;
3024
- }
3025
- return I.setElementForId(f.id, e), f.height;
3026
- }, "drawNode"), ae = /* @__PURE__ */ S(function(I, w) {
3027
- const f = I.getElementById(w.id), m = w.x || 0, y = w.y || 0;
3028
- f.attr("transform", "translate(" + m + "," + y + ")");
3029
- }, "positionNode");
3030
- dt.use(Ut);
3031
- async function lt(I, w, f, m, y) {
3032
- await se(I, w, f, m, y), f.children && await Promise.all(
3033
- f.children.map(
3034
- (r, t) => lt(I, w, r, m < 0 ? t : m, y)
3035
- )
3036
- );
3037
- }
3038
- S(lt, "drawNodes");
3039
- function Et(I, w) {
3040
- w.edges().map((f, m) => {
3041
- const y = f.data();
3042
- if (f[0]._private.bodyBounds) {
3043
- const r = f[0]._private.rscratch;
3044
- z.trace("Edge: ", m, y), I.insert("path").attr(
3045
- "d",
3046
- `M ${r.startX},${r.startY} L ${r.midX},${r.midY} L${r.endX},${r.endY} `
3047
- ).attr("class", "edge section-edge-" + y.section + " edge-depth-" + y.depth);
3048
- }
3049
- });
3050
- }
3051
- S(Et, "drawEdges");
3052
- function ct(I, w, f, m) {
3053
- w.add({
3054
- group: "nodes",
3055
- data: {
3056
- id: I.id.toString(),
3057
- labelText: I.descr,
3058
- height: I.height,
3059
- width: I.width,
3060
- level: m,
3061
- nodeId: I.id,
3062
- padding: I.padding,
3063
- type: I.type
3064
- },
3065
- position: {
3066
- x: I.x,
3067
- y: I.y
3068
- }
3069
- }), I.children && I.children.forEach((y) => {
3070
- ct(y, w, f, m + 1), w.add({
3071
- group: "edges",
3072
- data: {
3073
- id: `${I.id}_${y.id}`,
3074
- source: I.id,
3075
- target: y.id,
3076
- depth: m,
3077
- section: y.section
3078
- }
3079
- });
3080
- });
3081
- }
3082
- S(ct, "addNodes");
3083
- function Lt(I, w) {
3084
- return new Promise((f) => {
3085
- const m = Ct("body").append("div").attr("id", "cy").attr("style", "display:none"), y = dt({
3086
- container: document.getElementById("cy"),
3087
- // container to render in
3088
- style: [
3089
- {
3090
- selector: "edge",
3091
- style: {
3092
- "curve-style": "bezier"
3093
- }
3094
- }
3095
- ]
3096
- });
3097
- m.remove(), ct(I, y, w, 0), y.nodes().forEach(function(r) {
3098
- r.layoutDimensions = () => {
3099
- const t = r.data();
3100
- return { w: t.width, h: t.height };
3101
- };
3102
- }), y.layout({
3103
- name: "cose-bilkent",
3104
- // @ts-ignore Types for cose-bilkent are not correct?
3105
- quality: "proof",
3106
- styleEnabled: !1,
3107
- animate: !1
3108
- }).run(), y.ready((r) => {
3109
- z.info("Ready", r), f(y);
3110
- });
3111
- });
3112
- }
3113
- S(Lt, "layoutMindmap");
3114
- function Tt(I, w) {
3115
- w.nodes().map((f, m) => {
3116
- const y = f.data();
3117
- y.x = f.position().x, y.y = f.position().y, ae(I, y);
3118
- const r = I.getElementById(y.nodeId);
3119
- z.info("Id:", m, "Position: (", f.position().x, ", ", f.position().y, ")", y), r.attr(
3120
- "transform",
3121
- `translate(${f.position().x - y.width / 2}, ${f.position().y - y.height / 2})`
3122
- ), r.attr("attr", `apa-${m})`);
3123
- });
3124
- }
3125
- S(Tt, "positionNodes");
3126
- var oe = /* @__PURE__ */ S(async (I, w, f, m) => {
3127
- var a, v;
3128
- z.debug(`Rendering mindmap diagram
3129
- ` + I);
3130
- const y = m.db, r = y.getMindmap();
3131
- if (!r)
3132
- return;
3133
- const t = ot();
3134
- t.htmlLabels = !1;
3135
- const e = Dt(w), i = e.append("g");
3136
- i.attr("class", "mindmap-edges");
3137
- const o = e.append("g");
3138
- o.attr("class", "mindmap-nodes"), await lt(y, o, r, -1, t);
3139
- const g = await Lt(r, t);
3140
- Et(i, g), Tt(y, g), mt(
3141
- void 0,
3142
- e,
3143
- ((a = t.mindmap) == null ? void 0 : a.padding) ?? it.mindmap.padding,
3144
- ((v = t.mindmap) == null ? void 0 : v.useMaxWidth) ?? it.mindmap.useMaxWidth
3145
- );
3146
- }, "draw"), he = {
3147
- draw: oe
3148
- }, le = /* @__PURE__ */ S((I) => {
3149
- let w = "";
3150
- for (let f = 0; f < I.THEME_COLOR_LIMIT; f++)
3151
- I["lineColor" + f] = I["lineColor" + f] || I["cScaleInv" + f], Ot(I["lineColor" + f]) ? I["lineColor" + f] = At(I["lineColor" + f], 20) : I["lineColor" + f] = It(I["lineColor" + f], 20);
3152
- for (let f = 0; f < I.THEME_COLOR_LIMIT; f++) {
3153
- const m = "" + (17 - 3 * f);
3154
- w += `
3155
- .section-${f - 1} rect, .section-${f - 1} path, .section-${f - 1} circle, .section-${f - 1} polygon, .section-${f - 1} path {
3156
- fill: ${I["cScale" + f]};
3157
- }
3158
- .section-${f - 1} text {
3159
- fill: ${I["cScaleLabel" + f]};
3160
- }
3161
- .node-icon-${f - 1} {
3162
- font-size: 40px;
3163
- color: ${I["cScaleLabel" + f]};
3164
- }
3165
- .section-edge-${f - 1}{
3166
- stroke: ${I["cScale" + f]};
3167
- }
3168
- .edge-depth-${f - 1}{
3169
- stroke-width: ${m};
3170
- }
3171
- .section-${f - 1} line {
3172
- stroke: ${I["cScaleInv" + f]} ;
3173
- stroke-width: 3;
3174
- }
3175
-
3176
- .disabled, .disabled circle, .disabled text {
3177
- fill: lightgray;
3178
- }
3179
- .disabled text {
3180
- fill: #efefef;
3181
- }
3182
- `;
3183
- }
3184
- return w;
3185
- }, "genSections"), ce = /* @__PURE__ */ S((I) => `
3186
- .edge {
3187
- stroke-width: 3;
3188
- }
3189
- ${le(I)}
3190
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
3191
- fill: ${I.git0};
3192
- }
3193
- .section-root text {
3194
- fill: ${I.gitBranchLabel0};
3195
- }
3196
- .icon-container {
3197
- height:100%;
3198
- display: flex;
3199
- justify-content: center;
3200
- align-items: center;
3201
- }
3202
- .edge {
3203
- fill: none;
3204
- }
3205
- .mindmap-node-label {
3206
- dy: 1em;
3207
- alignment-baseline: middle;
3208
- text-anchor: middle;
3209
- dominant-baseline: middle;
3210
- text-align: center;
3211
- }
3212
- `, "getStyles"), ge = ce, pe = {
3213
- db: zt,
3214
- renderer: he,
3215
- parser: Pt,
3216
- styles: ge
3217
- };
3218
- export {
3219
- pe as diagram
3220
- };