@loopstack/loopstack-studio 0.20.3 → 0.21.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (991) hide show
  1. package/dist/_virtual/rolldown_runtime.js +20 -0
  2. package/dist/components/data-table/ConfirmDialog.js +30 -0
  3. package/dist/components/data-table/DataList.js +216 -0
  4. package/dist/components/data-table/DataTable.js +264 -0
  5. package/dist/components/data-table/DataTableBatchAction.js +32 -0
  6. package/dist/components/data-table/DataTableFilters.js +83 -0
  7. package/dist/components/data-table/DataTablePagination.js +108 -0
  8. package/dist/components/data-table/DataTableToolbar.js +70 -0
  9. package/dist/components/dynamic-form/ArrayController.js +100 -0
  10. package/dist/components/dynamic-form/CodeContent.js +174 -0
  11. package/dist/components/dynamic-form/Form.js +35 -0
  12. package/dist/components/dynamic-form/FormBody.js +26 -0
  13. package/dist/components/dynamic-form/FormElement.js +42 -0
  14. package/dist/components/dynamic-form/FormElementHeader.js +20 -0
  15. package/dist/components/dynamic-form/InputController.js +38 -0
  16. package/dist/components/dynamic-form/MarkdownContent.js +76 -0
  17. package/dist/components/dynamic-form/MermaidDiagram.js +41 -0
  18. package/dist/components/dynamic-form/ObjectController.js +32 -0
  19. package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -0
  20. package/dist/components/dynamic-form/fields/CheckboxField.js +53 -0
  21. package/dist/components/dynamic-form/fields/CodeViewField.js +63 -0
  22. package/dist/components/dynamic-form/fields/InputField.js +105 -0
  23. package/dist/components/dynamic-form/fields/RadioField.js +67 -0
  24. package/dist/components/dynamic-form/fields/SelectField.js +60 -0
  25. package/dist/components/dynamic-form/fields/SliderField.js +112 -0
  26. package/dist/components/dynamic-form/fields/SwitchField.js +66 -0
  27. package/dist/components/dynamic-form/fields/TextareaField.js +77 -0
  28. package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +33 -0
  29. package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +42 -0
  30. package/dist/components/dynamic-form/hooks/useFieldConfig.js +21 -0
  31. package/dist/components/dynamic-form/hooks/useMergeParentKey.js +5 -0
  32. package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +5 -0
  33. package/dist/components/layout/MainLayout.js +24 -0
  34. package/dist/components/lists/CustomListView.js +87 -0
  35. package/dist/components/lists/ListView.js +118 -0
  36. package/dist/components/page/PageBreadcrumbs.js +41 -0
  37. package/dist/components/snackbars/ErrorSnackbar.js +30 -0
  38. package/dist/components/snackbars/Snackbar.js +44 -0
  39. package/dist/components/ui/alert-dialog.js +121 -0
  40. package/dist/components/ui/badge.js +28 -0
  41. package/dist/components/ui/breadcrumb.js +85 -0
  42. package/dist/components/ui/button.js +47 -0
  43. package/dist/components/ui/card.js +29 -0
  44. package/dist/components/ui/checkbox.js +26 -0
  45. package/dist/components/ui/collapsible.js +32 -0
  46. package/dist/components/ui/dialog.js +88 -0
  47. package/dist/components/ui/input.js +18 -0
  48. package/dist/components/ui/label.js +19 -0
  49. package/dist/components/ui/radio-group.js +38 -0
  50. package/dist/components/ui/select.js +125 -0
  51. package/dist/components/ui/sheet.js +97 -0
  52. package/dist/components/ui/slider.js +35 -0
  53. package/dist/components/ui/switch.js +24 -0
  54. package/dist/components/ui/table.js +81 -0
  55. package/dist/components/ui/textarea.js +17 -0
  56. package/dist/components/ui/tooltip.js +50 -0
  57. package/dist/features/health/LocalHealthCheck.js +95 -0
  58. package/dist/features/workspaces/Workspaces.js +162 -0
  59. package/dist/features/workspaces/components/CreateWorkspace.js +128 -0
  60. package/dist/features/workspaces/components/ExecutionTimeline.js +204 -0
  61. package/dist/features/workspaces/components/NewPipelineRunDialog.js +31 -0
  62. package/dist/features/workspaces/components/PipelineForm.js +152 -0
  63. package/dist/features/workspaces/components/pipeline-form/ArgumentsView.js +75 -0
  64. package/dist/features/workspaces/components/pipeline-form/HeaderSection.js +43 -0
  65. package/dist/features/workspaces/components/pipeline-form/SelectionView.js +105 -0
  66. package/dist/hooks/use-mobile.js +3 -3
  67. package/dist/hooks/useAuth.js +56 -0
  68. package/dist/hooks/useConfig.js +46 -0
  69. package/dist/hooks/useDebounce.js +27 -0
  70. package/dist/hooks/usePipelines.js +117 -0
  71. package/dist/hooks/useProcessor.js +24 -0
  72. package/dist/hooks/useWorkspaces.js +142 -0
  73. package/dist/index.d.ts +7 -0
  74. package/dist/index.js +4 -1
  75. package/dist/lib/utils.js +6 -0
  76. package/dist/loopstack-studio.css +2 -0
  77. package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -0
  78. package/dist/node_modules/@braintree/sanitize-url/dist/index.js +48 -0
  79. package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +26 -0
  80. package/dist/node_modules/@chevrotain/gast/lib/src/model.js +154 -0
  81. package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +40 -0
  82. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -0
  83. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +85 -0
  84. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +35 -0
  85. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +570 -0
  86. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +25 -0
  87. package/dist/node_modules/@chevrotain/utils/lib/src/print.js +9 -0
  88. package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +8 -0
  89. package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +10 -0
  90. package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +9 -0
  91. package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +18 -0
  92. package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -0
  93. package/dist/node_modules/@iconify/utils/lib/icon/name.js +35 -0
  94. package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +7 -0
  95. package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +15 -0
  96. package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +14 -0
  97. package/dist/node_modules/@iconify/utils/lib/svg/build.js +54 -0
  98. package/dist/node_modules/@iconify/utils/lib/svg/defs.js +22 -0
  99. package/dist/node_modules/@iconify/utils/lib/svg/html.js +6 -0
  100. package/dist/node_modules/@iconify/utils/lib/svg/id.js +17 -0
  101. package/dist/node_modules/@iconify/utils/lib/svg/size.js +18 -0
  102. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +3 -0
  103. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +23 -0
  104. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +60 -0
  105. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +23 -0
  106. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +28 -0
  107. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +23 -0
  108. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +787 -0
  109. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +23 -0
  110. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +30 -0
  111. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +3 -0
  112. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +3 -0
  113. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +3 -0
  114. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +3 -0
  115. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +3 -0
  116. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +3 -0
  117. package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +55 -0
  118. package/dist/node_modules/ccount/index.js +8 -0
  119. package/dist/node_modules/chevrotain/lib/src/api.js +10 -0
  120. package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +10 -0
  121. package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -0
  122. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +13 -0
  123. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +58 -0
  124. package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +75 -0
  125. package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +34 -0
  126. package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +299 -0
  127. package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +25 -0
  128. package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +29 -0
  129. package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +15 -0
  130. package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +269 -0
  131. package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -0
  132. package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +43 -0
  133. package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +248 -0
  134. package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +32 -0
  135. package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +58 -0
  136. package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +122 -0
  137. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +16 -0
  138. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +48 -0
  139. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +172 -0
  140. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +39 -0
  141. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +109 -0
  142. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +22 -0
  143. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +313 -0
  144. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +275 -0
  145. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +144 -0
  146. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +102 -0
  147. package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +11 -0
  148. package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +465 -0
  149. package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +9 -0
  150. package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +275 -0
  151. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +152 -0
  152. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +15 -0
  153. package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +75 -0
  154. package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +42 -0
  155. package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +346 -0
  156. package/dist/node_modules/chevrotain-allstar/lib/atn.js +194 -0
  157. package/dist/node_modules/chevrotain-allstar/lib/dfa.js +32 -0
  158. package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -0
  159. package/dist/node_modules/comma-separated-tokens/index.js +10 -0
  160. package/dist/node_modules/cose-base/cose-base.js +469 -0
  161. package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +18100 -0
  162. package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +172 -0
  163. package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +604 -0
  164. package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +1142 -0
  165. package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +1635 -0
  166. package/dist/node_modules/d3/src/index.js +93 -0
  167. package/dist/node_modules/d3-array/src/ascending.js +4 -0
  168. package/dist/node_modules/d3-array/src/bisect.js +8 -0
  169. package/dist/node_modules/d3-array/src/bisector.js +39 -0
  170. package/dist/node_modules/d3-array/src/descending.js +4 -0
  171. package/dist/node_modules/d3-array/src/max.js +10 -0
  172. package/dist/node_modules/d3-array/src/min.js +10 -0
  173. package/dist/node_modules/d3-array/src/number.js +4 -0
  174. package/dist/node_modules/d3-array/src/range.js +6 -0
  175. package/dist/node_modules/d3-array/src/ticks.js +30 -0
  176. package/dist/node_modules/d3-axis/src/axis.js +61 -0
  177. package/dist/node_modules/d3-axis/src/identity.js +4 -0
  178. package/dist/node_modules/d3-brush/src/brush.js +15 -0
  179. package/dist/node_modules/d3-brush/src/index.js +1 -0
  180. package/dist/node_modules/d3-color/src/color.js +287 -0
  181. package/dist/node_modules/d3-color/src/define.js +9 -0
  182. package/dist/node_modules/d3-color/src/lab.js +70 -0
  183. package/dist/node_modules/d3-color/src/math.js +2 -0
  184. package/dist/node_modules/d3-dispatch/src/dispatch.js +64 -0
  185. package/dist/node_modules/d3-ease/src/cubic.js +4 -0
  186. package/dist/node_modules/d3-format/src/defaultLocale.js +11 -0
  187. package/dist/node_modules/d3-format/src/exponent.js +5 -0
  188. package/dist/node_modules/d3-format/src/formatDecimal.js +9 -0
  189. package/dist/node_modules/d3-format/src/formatGroup.js +7 -0
  190. package/dist/node_modules/d3-format/src/formatNumerals.js +8 -0
  191. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +9 -0
  192. package/dist/node_modules/d3-format/src/formatRounded.js +8 -0
  193. package/dist/node_modules/d3-format/src/formatSpecifier.js +25 -0
  194. package/dist/node_modules/d3-format/src/formatTrim.js +16 -0
  195. package/dist/node_modules/d3-format/src/formatTypes.js +19 -0
  196. package/dist/node_modules/d3-format/src/identity.js +4 -0
  197. package/dist/node_modules/d3-format/src/locale.js +82 -0
  198. package/dist/node_modules/d3-format/src/precisionFixed.js +5 -0
  199. package/dist/node_modules/d3-format/src/precisionPrefix.js +5 -0
  200. package/dist/node_modules/d3-format/src/precisionRound.js +5 -0
  201. package/dist/node_modules/d3-hierarchy/src/accessors.js +5 -0
  202. package/dist/node_modules/d3-hierarchy/src/constant.js +9 -0
  203. package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +5 -0
  204. package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +10 -0
  205. package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -0
  206. package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +6 -0
  207. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +6 -0
  208. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +5 -0
  209. package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +5 -0
  210. package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +57 -0
  211. package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +7 -0
  212. package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +7 -0
  213. package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +10 -0
  214. package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +12 -0
  215. package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +6 -0
  216. package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +7 -0
  217. package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -0
  218. package/dist/node_modules/d3-hierarchy/src/treemap/index.js +36 -0
  219. package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -0
  220. package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -0
  221. package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +33 -0
  222. package/dist/node_modules/d3-interpolate/src/array.js +11 -0
  223. package/dist/node_modules/d3-interpolate/src/basis.js +12 -0
  224. package/dist/node_modules/d3-interpolate/src/basisClosed.js +9 -0
  225. package/dist/node_modules/d3-interpolate/src/color.js +25 -0
  226. package/dist/node_modules/d3-interpolate/src/constant.js +2 -0
  227. package/dist/node_modules/d3-interpolate/src/date.js +7 -0
  228. package/dist/node_modules/d3-interpolate/src/hcl.js +12 -0
  229. package/dist/node_modules/d3-interpolate/src/number.js +6 -0
  230. package/dist/node_modules/d3-interpolate/src/numberArray.js +12 -0
  231. package/dist/node_modules/d3-interpolate/src/object.js +10 -0
  232. package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
  233. package/dist/node_modules/d3-interpolate/src/round.js +6 -0
  234. package/dist/node_modules/d3-interpolate/src/string.js +24 -0
  235. package/dist/node_modules/d3-interpolate/src/transform/decompose.js +20 -0
  236. package/dist/node_modules/d3-interpolate/src/transform/index.js +52 -0
  237. package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -0
  238. package/dist/node_modules/d3-interpolate/src/value.js +14 -0
  239. package/dist/node_modules/d3-path/src/path.js +61 -0
  240. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +10 -0
  241. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +10 -0
  242. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +10 -0
  243. package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +50 -0
  244. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -0
  245. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +6 -0
  246. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +35 -0
  247. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +7 -0
  248. package/dist/node_modules/d3-sankey/src/align.js +17 -0
  249. package/dist/node_modules/d3-sankey/src/constant.js +6 -0
  250. package/dist/node_modules/d3-sankey/src/sankey.js +224 -0
  251. package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +11 -0
  252. package/dist/node_modules/d3-scale/src/band.js +39 -0
  253. package/dist/node_modules/d3-scale/src/constant.js +6 -0
  254. package/dist/node_modules/d3-scale/src/continuous.js +69 -0
  255. package/dist/node_modules/d3-scale/src/init.js +13 -0
  256. package/dist/node_modules/d3-scale/src/linear.js +32 -0
  257. package/dist/node_modules/d3-scale/src/nice.js +6 -0
  258. package/dist/node_modules/d3-scale/src/number.js +4 -0
  259. package/dist/node_modules/d3-scale/src/ordinal.js +27 -0
  260. package/dist/node_modules/d3-scale/src/tickFormat.js +27 -0
  261. package/dist/node_modules/d3-scale/src/time.js +43 -0
  262. package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -0
  263. package/dist/node_modules/d3-scale-chromatic/src/colors.js +5 -0
  264. package/dist/node_modules/d3-selection/src/array.js +4 -0
  265. package/dist/node_modules/d3-selection/src/constant.js +6 -0
  266. package/dist/node_modules/d3-selection/src/creator.js +18 -0
  267. package/dist/node_modules/d3-selection/src/matcher.js +11 -0
  268. package/dist/node_modules/d3-selection/src/namespace.js +9 -0
  269. package/dist/node_modules/d3-selection/src/namespaces.js +8 -0
  270. package/dist/node_modules/d3-selection/src/select.js +5 -0
  271. package/dist/node_modules/d3-selection/src/selection/append.js +8 -0
  272. package/dist/node_modules/d3-selection/src/selection/attr.js +42 -0
  273. package/dist/node_modules/d3-selection/src/selection/call.js +5 -0
  274. package/dist/node_modules/d3-selection/src/selection/classed.js +51 -0
  275. package/dist/node_modules/d3-selection/src/selection/clone.js +12 -0
  276. package/dist/node_modules/d3-selection/src/selection/data.js +34 -0
  277. package/dist/node_modules/d3-selection/src/selection/datum.js +4 -0
  278. package/dist/node_modules/d3-selection/src/selection/dispatch.js +19 -0
  279. package/dist/node_modules/d3-selection/src/selection/each.js +5 -0
  280. package/dist/node_modules/d3-selection/src/selection/empty.js +4 -0
  281. package/dist/node_modules/d3-selection/src/selection/enter.js +24 -0
  282. package/dist/node_modules/d3-selection/src/selection/exit.js +6 -0
  283. package/dist/node_modules/d3-selection/src/selection/filter.js +8 -0
  284. package/dist/node_modules/d3-selection/src/selection/html.js +17 -0
  285. package/dist/node_modules/d3-selection/src/selection/index.js +84 -0
  286. package/dist/node_modules/d3-selection/src/selection/insert.js +12 -0
  287. package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -0
  288. package/dist/node_modules/d3-selection/src/selection/join.js +5 -0
  289. package/dist/node_modules/d3-selection/src/selection/lower.js +7 -0
  290. package/dist/node_modules/d3-selection/src/selection/merge.js +7 -0
  291. package/dist/node_modules/d3-selection/src/selection/node.js +8 -0
  292. package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -0
  293. package/dist/node_modules/d3-selection/src/selection/on.js +54 -0
  294. package/dist/node_modules/d3-selection/src/selection/order.js +5 -0
  295. package/dist/node_modules/d3-selection/src/selection/property.js +20 -0
  296. package/dist/node_modules/d3-selection/src/selection/raise.js +7 -0
  297. package/dist/node_modules/d3-selection/src/selection/remove.js +8 -0
  298. package/dist/node_modules/d3-selection/src/selection/select.js +8 -0
  299. package/dist/node_modules/d3-selection/src/selection/selectAll.js +14 -0
  300. package/dist/node_modules/d3-selection/src/selection/selectChild.js +14 -0
  301. package/dist/node_modules/d3-selection/src/selection/selectChildren.js +14 -0
  302. package/dist/node_modules/d3-selection/src/selection/size.js +6 -0
  303. package/dist/node_modules/d3-selection/src/selection/sort.js +16 -0
  304. package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -0
  305. package/dist/node_modules/d3-selection/src/selection/style.js +24 -0
  306. package/dist/node_modules/d3-selection/src/selection/text.js +17 -0
  307. package/dist/node_modules/d3-selection/src/selector.js +7 -0
  308. package/dist/node_modules/d3-selection/src/selectorAll.js +9 -0
  309. package/dist/node_modules/d3-selection/src/window.js +4 -0
  310. package/dist/node_modules/d3-shape/src/arc.js +79 -0
  311. package/dist/node_modules/d3-shape/src/array.js +5 -0
  312. package/dist/node_modules/d3-shape/src/constant.js +6 -0
  313. package/dist/node_modules/d3-shape/src/curve/basis.js +45 -0
  314. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +46 -0
  315. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +42 -0
  316. package/dist/node_modules/d3-shape/src/curve/bump.js +36 -0
  317. package/dist/node_modules/d3-shape/src/curve/bundle.js +26 -0
  318. package/dist/node_modules/d3-shape/src/curve/cardinal.js +52 -0
  319. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +51 -0
  320. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +45 -0
  321. package/dist/node_modules/d3-shape/src/curve/catmullRom.js +67 -0
  322. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +56 -0
  323. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +50 -0
  324. package/dist/node_modules/d3-shape/src/curve/linear.js +32 -0
  325. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +21 -0
  326. package/dist/node_modules/d3-shape/src/curve/monotone.js +90 -0
  327. package/dist/node_modules/d3-shape/src/curve/natural.js +35 -0
  328. package/dist/node_modules/d3-shape/src/curve/step.js +43 -0
  329. package/dist/node_modules/d3-shape/src/descending.js +4 -0
  330. package/dist/node_modules/d3-shape/src/identity.js +4 -0
  331. package/dist/node_modules/d3-shape/src/line.js +26 -0
  332. package/dist/node_modules/d3-shape/src/math.js +8 -0
  333. package/dist/node_modules/d3-shape/src/noop.js +2 -0
  334. package/dist/node_modules/d3-shape/src/path.js +15 -0
  335. package/dist/node_modules/d3-shape/src/pie.js +39 -0
  336. package/dist/node_modules/d3-shape/src/point.js +7 -0
  337. package/dist/node_modules/d3-time/src/day.js +17 -0
  338. package/dist/node_modules/d3-time/src/duration.js +2 -0
  339. package/dist/node_modules/d3-time/src/hour.js +15 -0
  340. package/dist/node_modules/d3-time/src/interval.js +24 -0
  341. package/dist/node_modules/d3-time/src/millisecond.js +10 -0
  342. package/dist/node_modules/d3-time/src/minute.js +15 -0
  343. package/dist/node_modules/d3-time/src/month.js +14 -0
  344. package/dist/node_modules/d3-time/src/second.js +9 -0
  345. package/dist/node_modules/d3-time/src/ticks.js +121 -0
  346. package/dist/node_modules/d3-time/src/week.js +21 -0
  347. package/dist/node_modules/d3-time/src/year.js +22 -0
  348. package/dist/node_modules/d3-time-format/src/defaultLocale.js +58 -0
  349. package/dist/node_modules/d3-time-format/src/locale.js +486 -0
  350. package/dist/node_modules/d3-timer/src/timeout.js +8 -0
  351. package/dist/node_modules/d3-timer/src/timer.js +51 -0
  352. package/dist/node_modules/d3-transition/src/index.js +3 -0
  353. package/dist/node_modules/d3-transition/src/interrupt.js +15 -0
  354. package/dist/node_modules/d3-transition/src/selection/index.js +4 -0
  355. package/dist/node_modules/d3-transition/src/selection/interrupt.js +7 -0
  356. package/dist/node_modules/d3-transition/src/selection/transition.js +21 -0
  357. package/dist/node_modules/d3-transition/src/transition/attr.js +47 -0
  358. package/dist/node_modules/d3-transition/src/transition/attrTween.js +36 -0
  359. package/dist/node_modules/d3-transition/src/transition/delay.js +16 -0
  360. package/dist/node_modules/d3-transition/src/transition/duration.js +16 -0
  361. package/dist/node_modules/d3-transition/src/transition/ease.js +12 -0
  362. package/dist/node_modules/d3-transition/src/transition/easeVarying.js +13 -0
  363. package/dist/node_modules/d3-transition/src/transition/end.js +14 -0
  364. package/dist/node_modules/d3-transition/src/transition/filter.js +8 -0
  365. package/dist/node_modules/d3-transition/src/transition/index.js +65 -0
  366. package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -0
  367. package/dist/node_modules/d3-transition/src/transition/merge.js +8 -0
  368. package/dist/node_modules/d3-transition/src/transition/on.js +19 -0
  369. package/dist/node_modules/d3-transition/src/transition/remove.js +11 -0
  370. package/dist/node_modules/d3-transition/src/transition/schedule.js +67 -0
  371. package/dist/node_modules/d3-transition/src/transition/select.js +10 -0
  372. package/dist/node_modules/d3-transition/src/transition/selectAll.js +13 -0
  373. package/dist/node_modules/d3-transition/src/transition/selection.js +6 -0
  374. package/dist/node_modules/d3-transition/src/transition/style.js +43 -0
  375. package/dist/node_modules/d3-transition/src/transition/styleTween.js +21 -0
  376. package/dist/node_modules/d3-transition/src/transition/text.js +15 -0
  377. package/dist/node_modules/d3-transition/src/transition/textTween.js +21 -0
  378. package/dist/node_modules/d3-transition/src/transition/transition.js +15 -0
  379. package/dist/node_modules/d3-transition/src/transition/tween.js +52 -0
  380. package/dist/node_modules/d3-zoom/src/index.js +2 -0
  381. package/dist/node_modules/d3-zoom/src/transform.js +46 -0
  382. package/dist/node_modules/d3-zoom/src/zoom.js +2 -0
  383. package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +34 -0
  384. package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +22 -0
  385. package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +44 -0
  386. package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +25 -0
  387. package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +69 -0
  388. package/dist/node_modules/dagre-d3-es/src/dagre/index.js +4 -0
  389. package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +241 -0
  390. package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +66 -0
  391. package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +32 -0
  392. package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +14 -0
  393. package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +25 -0
  394. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +25 -0
  395. package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +33 -0
  396. package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +44 -0
  397. package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +23 -0
  398. package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +55 -0
  399. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +43 -0
  400. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +27 -0
  401. package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +40 -0
  402. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +216 -0
  403. package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +23 -0
  404. package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +31 -0
  405. package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +25 -0
  406. package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +84 -0
  407. package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +20 -0
  408. package/dist/node_modules/dagre-d3-es/src/dagre/util.js +117 -0
  409. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +16 -0
  410. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra-all.js +1 -0
  411. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -0
  412. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -0
  413. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +8 -0
  414. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/is-acyclic.js +1 -0
  415. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +5 -0
  416. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +5 -0
  417. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/prim.js +1 -0
  418. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +15 -0
  419. package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +228 -0
  420. package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -0
  421. package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +32 -0
  422. package/dist/node_modules/dayjs/dayjs.min.js +298 -0
  423. package/dist/node_modules/dayjs/plugin/advancedFormat.js +37 -0
  424. package/dist/node_modules/dayjs/plugin/customParseFormat.js +160 -0
  425. package/dist/node_modules/dayjs/plugin/duration.js +164 -0
  426. package/dist/node_modules/dayjs/plugin/isoWeek.js +29 -0
  427. package/dist/node_modules/devlop/lib/default.js +2 -0
  428. package/dist/node_modules/dompurify/dist/purify.es.js +547 -0
  429. package/dist/node_modules/hast-util-from-dom/lib/index.js +58 -0
  430. package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -0
  431. package/dist/node_modules/hast-util-is-element/lib/index.js +36 -0
  432. package/dist/node_modules/hast-util-parse-selector/lib/index.js +16 -0
  433. package/dist/node_modules/hast-util-to-text/lib/index.js +104 -0
  434. package/dist/node_modules/hastscript/lib/create-h.js +86 -0
  435. package/dist/node_modules/hastscript/lib/index.js +5 -0
  436. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -0
  437. package/dist/node_modules/internmap/src/index.js +36 -0
  438. package/dist/node_modules/katex/dist/katex.js +22103 -0
  439. package/dist/node_modules/khroma/dist/channels/index.js +68 -0
  440. package/dist/node_modules/khroma/dist/channels/reusable.js +8 -0
  441. package/dist/node_modules/khroma/dist/channels/type.js +20 -0
  442. package/dist/node_modules/khroma/dist/color/hex.js +22 -0
  443. package/dist/node_modules/khroma/dist/color/hsl.js +36 -0
  444. package/dist/node_modules/khroma/dist/color/index.js +23 -0
  445. package/dist/node_modules/khroma/dist/color/keyword.js +162 -0
  446. package/dist/node_modules/khroma/dist/color/rgb.js +23 -0
  447. package/dist/node_modules/khroma/dist/constants.js +9 -0
  448. package/dist/node_modules/khroma/dist/methods/adjust.js +8 -0
  449. package/dist/node_modules/khroma/dist/methods/adjust_channel.js +7 -0
  450. package/dist/node_modules/khroma/dist/methods/change.js +8 -0
  451. package/dist/node_modules/khroma/dist/methods/channel.js +4 -0
  452. package/dist/node_modules/khroma/dist/methods/darken.js +3 -0
  453. package/dist/node_modules/khroma/dist/methods/invert.js +7 -0
  454. package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -0
  455. package/dist/node_modules/khroma/dist/methods/is_light.js +3 -0
  456. package/dist/node_modules/khroma/dist/methods/lighten.js +3 -0
  457. package/dist/node_modules/khroma/dist/methods/luminance.js +7 -0
  458. package/dist/node_modules/khroma/dist/methods/mix.js +7 -0
  459. package/dist/node_modules/khroma/dist/methods/rgba.js +15 -0
  460. package/dist/node_modules/khroma/dist/utils/channel.js +58 -0
  461. package/dist/node_modules/khroma/dist/utils/index.js +9 -0
  462. package/dist/node_modules/khroma/dist/utils/lang.js +5 -0
  463. package/dist/node_modules/khroma/dist/utils/unit.js +5 -0
  464. package/dist/node_modules/langium/lib/default-module.js +85 -0
  465. package/dist/node_modules/langium/lib/dependency-injection.js +62 -0
  466. package/dist/node_modules/langium/lib/documentation/comment-provider.js +11 -0
  467. package/dist/node_modules/langium/lib/documentation/documentation-provider.js +36 -0
  468. package/dist/node_modules/langium/lib/documentation/jsdoc.js +303 -0
  469. package/dist/node_modules/langium/lib/index.js +182 -0
  470. package/dist/node_modules/langium/lib/languages/generated/ast.js +1089 -0
  471. package/dist/node_modules/langium/lib/languages/grammar-config.js +13 -0
  472. package/dist/node_modules/langium/lib/parser/async-parser.js +83 -0
  473. package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +7 -0
  474. package/dist/node_modules/langium/lib/parser/cst-node-builder.js +160 -0
  475. package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
  476. package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +11 -0
  477. package/dist/node_modules/langium/lib/parser/langium-parser.js +388 -0
  478. package/dist/node_modules/langium/lib/parser/lexer.js +50 -0
  479. package/dist/node_modules/langium/lib/parser/parser-builder-base.js +275 -0
  480. package/dist/node_modules/langium/lib/parser/token-builder.js +61 -0
  481. package/dist/node_modules/langium/lib/parser/value-converter.js +78 -0
  482. package/dist/node_modules/langium/lib/references/linker.js +190 -0
  483. package/dist/node_modules/langium/lib/references/name-provider.js +13 -0
  484. package/dist/node_modules/langium/lib/references/references.js +76 -0
  485. package/dist/node_modules/langium/lib/references/scope-computation.js +35 -0
  486. package/dist/node_modules/langium/lib/references/scope-provider.js +34 -0
  487. package/dist/node_modules/langium/lib/references/scope.js +73 -0
  488. package/dist/node_modules/langium/lib/serializer/hydrator.js +125 -0
  489. package/dist/node_modules/langium/lib/serializer/json-serializer.js +145 -0
  490. package/dist/node_modules/langium/lib/service-registry.js +37 -0
  491. package/dist/node_modules/langium/lib/syntax-tree.js +70 -0
  492. package/dist/node_modules/langium/lib/utils/ast-utils.js +157 -0
  493. package/dist/node_modules/langium/lib/utils/caching.js +91 -0
  494. package/dist/node_modules/langium/lib/utils/cancellation.js +5 -0
  495. package/dist/node_modules/langium/lib/utils/collections.js +85 -0
  496. package/dist/node_modules/langium/lib/utils/cst-utils.js +190 -0
  497. package/dist/node_modules/langium/lib/utils/disposable.js +8 -0
  498. package/dist/node_modules/langium/lib/utils/errors.js +12 -0
  499. package/dist/node_modules/langium/lib/utils/event.js +5 -0
  500. package/dist/node_modules/langium/lib/utils/grammar-loader.js +22 -0
  501. package/dist/node_modules/langium/lib/utils/grammar-utils.js +296 -0
  502. package/dist/node_modules/langium/lib/utils/index.js +53 -0
  503. package/dist/node_modules/langium/lib/utils/promise-utils.js +30 -0
  504. package/dist/node_modules/langium/lib/utils/regexp-utils.js +167 -0
  505. package/dist/node_modules/langium/lib/utils/stream.js +327 -0
  506. package/dist/node_modules/langium/lib/utils/uri-utils.js +107 -0
  507. package/dist/node_modules/langium/lib/validation/document-validator.js +210 -0
  508. package/dist/node_modules/langium/lib/validation/validation-registry.js +87 -0
  509. package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +57 -0
  510. package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +28 -0
  511. package/dist/node_modules/langium/lib/workspace/configuration.js +51 -0
  512. package/dist/node_modules/langium/lib/workspace/document-builder.js +201 -0
  513. package/dist/node_modules/langium/lib/workspace/documents.js +142 -0
  514. package/dist/node_modules/langium/lib/workspace/file-system-provider.js +34 -0
  515. package/dist/node_modules/langium/lib/workspace/index-manager.js +49 -0
  516. package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
  517. package/dist/node_modules/langium/lib/workspace/workspace-lock.js +42 -0
  518. package/dist/node_modules/langium/lib/workspace/workspace-manager.js +66 -0
  519. package/dist/node_modules/layout-base/layout-base.js +1407 -0
  520. package/dist/node_modules/lodash-es/_DataView.js +4 -0
  521. package/dist/node_modules/lodash-es/_Hash.js +15 -0
  522. package/dist/node_modules/lodash-es/_ListCache.js +15 -0
  523. package/dist/node_modules/lodash-es/_Map.js +4 -0
  524. package/dist/node_modules/lodash-es/_MapCache.js +15 -0
  525. package/dist/node_modules/lodash-es/_Promise.js +4 -0
  526. package/dist/node_modules/lodash-es/_Set.js +4 -0
  527. package/dist/node_modules/lodash-es/_SetCache.js +10 -0
  528. package/dist/node_modules/lodash-es/_Stack.js +12 -0
  529. package/dist/node_modules/lodash-es/_Symbol.js +3 -0
  530. package/dist/node_modules/lodash-es/_Uint8Array.js +3 -0
  531. package/dist/node_modules/lodash-es/_WeakMap.js +4 -0
  532. package/dist/node_modules/lodash-es/_apply.js +11 -0
  533. package/dist/node_modules/lodash-es/_arrayAggregator.js +9 -0
  534. package/dist/node_modules/lodash-es/_arrayEach.js +6 -0
  535. package/dist/node_modules/lodash-es/_arrayEvery.js +6 -0
  536. package/dist/node_modules/lodash-es/_arrayFilter.js +9 -0
  537. package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -0
  538. package/dist/node_modules/lodash-es/_arrayIncludesWith.js +6 -0
  539. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +14 -0
  540. package/dist/node_modules/lodash-es/_arrayMap.js +6 -0
  541. package/dist/node_modules/lodash-es/_arrayPush.js +6 -0
  542. package/dist/node_modules/lodash-es/_arrayReduce.js +7 -0
  543. package/dist/node_modules/lodash-es/_arraySome.js +6 -0
  544. package/dist/node_modules/lodash-es/_asciiSize.js +3 -0
  545. package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -0
  546. package/dist/node_modules/lodash-es/_assignValue.js +9 -0
  547. package/dist/node_modules/lodash-es/_assocIndexOf.js +7 -0
  548. package/dist/node_modules/lodash-es/_baseAggregator.js +8 -0
  549. package/dist/node_modules/lodash-es/_baseAssign.js +7 -0
  550. package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -0
  551. package/dist/node_modules/lodash-es/_baseAssignValue.js +11 -0
  552. package/dist/node_modules/lodash-es/_baseClone.js +56 -0
  553. package/dist/node_modules/lodash-es/_baseCreate.js +12 -0
  554. package/dist/node_modules/lodash-es/_baseDifference.js +22 -0
  555. package/dist/node_modules/lodash-es/_baseEach.js +4 -0
  556. package/dist/node_modules/lodash-es/_baseEvery.js +9 -0
  557. package/dist/node_modules/lodash-es/_baseExtremum.js +10 -0
  558. package/dist/node_modules/lodash-es/_baseFilter.js +9 -0
  559. package/dist/node_modules/lodash-es/_baseFindIndex.js +6 -0
  560. package/dist/node_modules/lodash-es/_baseFlatten.js +12 -0
  561. package/dist/node_modules/lodash-es/_baseFor.js +3 -0
  562. package/dist/node_modules/lodash-es/_baseForOwn.js +7 -0
  563. package/dist/node_modules/lodash-es/_baseGet.js +9 -0
  564. package/dist/node_modules/lodash-es/_baseGetAllKeys.js +8 -0
  565. package/dist/node_modules/lodash-es/_baseGetTag.js +9 -0
  566. package/dist/node_modules/lodash-es/_baseGt.js +5 -0
  567. package/dist/node_modules/lodash-es/_baseHas.js +6 -0
  568. package/dist/node_modules/lodash-es/_baseHasIn.js +5 -0
  569. package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -0
  570. package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -0
  571. package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -0
  572. package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +29 -0
  573. package/dist/node_modules/lodash-es/_baseIsMap.js +8 -0
  574. package/dist/node_modules/lodash-es/_baseIsMatch.js +25 -0
  575. package/dist/node_modules/lodash-es/_baseIsNaN.js +5 -0
  576. package/dist/node_modules/lodash-es/_baseIsNative.js +10 -0
  577. package/dist/node_modules/lodash-es/_baseIsRegExp.js +8 -0
  578. package/dist/node_modules/lodash-es/_baseIsSet.js +8 -0
  579. package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -0
  580. package/dist/node_modules/lodash-es/_baseIteratee.js +10 -0
  581. package/dist/node_modules/lodash-es/_baseKeys.js +11 -0
  582. package/dist/node_modules/lodash-es/_baseKeysIn.js +12 -0
  583. package/dist/node_modules/lodash-es/_baseLt.js +5 -0
  584. package/dist/node_modules/lodash-es/_baseMap.js +10 -0
  585. package/dist/node_modules/lodash-es/_baseMatches.js +11 -0
  586. package/dist/node_modules/lodash-es/_baseMatchesProperty.js +16 -0
  587. package/dist/node_modules/lodash-es/_baseMerge.js +18 -0
  588. package/dist/node_modules/lodash-es/_baseMergeDeep.js +30 -0
  589. package/dist/node_modules/lodash-es/_baseOrderBy.js +30 -0
  590. package/dist/node_modules/lodash-es/_basePick.js +9 -0
  591. package/dist/node_modules/lodash-es/_basePickBy.js +12 -0
  592. package/dist/node_modules/lodash-es/_baseProperty.js +7 -0
  593. package/dist/node_modules/lodash-es/_basePropertyDeep.js +8 -0
  594. package/dist/node_modules/lodash-es/_baseRange.js +7 -0
  595. package/dist/node_modules/lodash-es/_baseReduce.js +7 -0
  596. package/dist/node_modules/lodash-es/_baseRest.js +8 -0
  597. package/dist/node_modules/lodash-es/_baseSet.js +21 -0
  598. package/dist/node_modules/lodash-es/_baseSetToString.js +12 -0
  599. package/dist/node_modules/lodash-es/_baseSlice.js +8 -0
  600. package/dist/node_modules/lodash-es/_baseSome.js +9 -0
  601. package/dist/node_modules/lodash-es/_baseSortBy.js +7 -0
  602. package/dist/node_modules/lodash-es/_baseTimes.js +6 -0
  603. package/dist/node_modules/lodash-es/_baseToString.js +14 -0
  604. package/dist/node_modules/lodash-es/_baseTrim.js +7 -0
  605. package/dist/node_modules/lodash-es/_baseUnary.js +7 -0
  606. package/dist/node_modules/lodash-es/_baseUniq.js +26 -0
  607. package/dist/node_modules/lodash-es/_baseValues.js +8 -0
  608. package/dist/node_modules/lodash-es/_baseZipObject.js +9 -0
  609. package/dist/node_modules/lodash-es/_cacheHas.js +5 -0
  610. package/dist/node_modules/lodash-es/_castFunction.js +6 -0
  611. package/dist/node_modules/lodash-es/_castPath.js +9 -0
  612. package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +7 -0
  613. package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -0
  614. package/dist/node_modules/lodash-es/_cloneDataView.js +7 -0
  615. package/dist/node_modules/lodash-es/_cloneRegExp.js +7 -0
  616. package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -0
  617. package/dist/node_modules/lodash-es/_cloneTypedArray.js +7 -0
  618. package/dist/node_modules/lodash-es/_compareAscending.js +11 -0
  619. package/dist/node_modules/lodash-es/_compareMultiple.js +10 -0
  620. package/dist/node_modules/lodash-es/_copyArray.js +7 -0
  621. package/dist/node_modules/lodash-es/_copyObject.js +13 -0
  622. package/dist/node_modules/lodash-es/_copySymbols.js +7 -0
  623. package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -0
  624. package/dist/node_modules/lodash-es/_coreJsData.js +3 -0
  625. package/dist/node_modules/lodash-es/_createAggregator.js +12 -0
  626. package/dist/node_modules/lodash-es/_createAssigner.js +14 -0
  627. package/dist/node_modules/lodash-es/_createBaseEach.js +11 -0
  628. package/dist/node_modules/lodash-es/_createBaseFor.js +11 -0
  629. package/dist/node_modules/lodash-es/_createFind.js +18 -0
  630. package/dist/node_modules/lodash-es/_createRange.js +10 -0
  631. package/dist/node_modules/lodash-es/_createSet.js +7 -0
  632. package/dist/node_modules/lodash-es/_defineProperty.js +8 -0
  633. package/dist/node_modules/lodash-es/_equalArrays.js +34 -0
  634. package/dist/node_modules/lodash-es/_equalByTag.js +34 -0
  635. package/dist/node_modules/lodash-es/_equalObjects.js +31 -0
  636. package/dist/node_modules/lodash-es/_flatRest.js +8 -0
  637. package/dist/node_modules/lodash-es/_freeGlobal.js +2 -0
  638. package/dist/node_modules/lodash-es/_getAllKeys.js +8 -0
  639. package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -0
  640. package/dist/node_modules/lodash-es/_getMapData.js +7 -0
  641. package/dist/node_modules/lodash-es/_getMatchData.js +15 -0
  642. package/dist/node_modules/lodash-es/_getNative.js +8 -0
  643. package/dist/node_modules/lodash-es/_getPrototype.js +3 -0
  644. package/dist/node_modules/lodash-es/_getRawTag.js +13 -0
  645. package/dist/node_modules/lodash-es/_getSymbols.js +8 -0
  646. package/dist/node_modules/lodash-es/_getSymbolsIn.js +9 -0
  647. package/dist/node_modules/lodash-es/_getTag.js +21 -0
  648. package/dist/node_modules/lodash-es/_getValue.js +5 -0
  649. package/dist/node_modules/lodash-es/_hasPath.js +17 -0
  650. package/dist/node_modules/lodash-es/_hasUnicode.js +6 -0
  651. package/dist/node_modules/lodash-es/_hashClear.js +6 -0
  652. package/dist/node_modules/lodash-es/_hashDelete.js +6 -0
  653. package/dist/node_modules/lodash-es/_hashGet.js +12 -0
  654. package/dist/node_modules/lodash-es/_hashHas.js +8 -0
  655. package/dist/node_modules/lodash-es/_hashSet.js +8 -0
  656. package/dist/node_modules/lodash-es/_initCloneArray.js +7 -0
  657. package/dist/node_modules/lodash-es/_initCloneByTag.js +32 -0
  658. package/dist/node_modules/lodash-es/_initCloneObject.js +8 -0
  659. package/dist/node_modules/lodash-es/_isFlattenable.js +9 -0
  660. package/dist/node_modules/lodash-es/_isIndex.js +7 -0
  661. package/dist/node_modules/lodash-es/_isIterateeCall.js +11 -0
  662. package/dist/node_modules/lodash-es/_isKey.js +10 -0
  663. package/dist/node_modules/lodash-es/_isKeyable.js +6 -0
  664. package/dist/node_modules/lodash-es/_isMasked.js +10 -0
  665. package/dist/node_modules/lodash-es/_isPrototype.js +7 -0
  666. package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -0
  667. package/dist/node_modules/lodash-es/_listCacheClear.js +5 -0
  668. package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -0
  669. package/dist/node_modules/lodash-es/_listCacheGet.js +7 -0
  670. package/dist/node_modules/lodash-es/_listCacheHas.js +6 -0
  671. package/dist/node_modules/lodash-es/_listCacheSet.js +7 -0
  672. package/dist/node_modules/lodash-es/_mapCacheClear.js +12 -0
  673. package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -0
  674. package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -0
  675. package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -0
  676. package/dist/node_modules/lodash-es/_mapCacheSet.js +7 -0
  677. package/dist/node_modules/lodash-es/_mapToArray.js +8 -0
  678. package/dist/node_modules/lodash-es/_matchesStrictComparable.js +7 -0
  679. package/dist/node_modules/lodash-es/_memoizeCapped.js +10 -0
  680. package/dist/node_modules/lodash-es/_nativeCreate.js +3 -0
  681. package/dist/node_modules/lodash-es/_nativeKeys.js +3 -0
  682. package/dist/node_modules/lodash-es/_nativeKeysIn.js +7 -0
  683. package/dist/node_modules/lodash-es/_nodeUtil.js +7 -0
  684. package/dist/node_modules/lodash-es/_objectToString.js +6 -0
  685. package/dist/node_modules/lodash-es/_overArg.js +7 -0
  686. package/dist/node_modules/lodash-es/_overRest.js +12 -0
  687. package/dist/node_modules/lodash-es/_root.js +3 -0
  688. package/dist/node_modules/lodash-es/_safeGet.js +5 -0
  689. package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -0
  690. package/dist/node_modules/lodash-es/_setCacheHas.js +5 -0
  691. package/dist/node_modules/lodash-es/_setToArray.js +8 -0
  692. package/dist/node_modules/lodash-es/_setToString.js +4 -0
  693. package/dist/node_modules/lodash-es/_shortOut.js +13 -0
  694. package/dist/node_modules/lodash-es/_stackClear.js +6 -0
  695. package/dist/node_modules/lodash-es/_stackDelete.js +6 -0
  696. package/dist/node_modules/lodash-es/_stackGet.js +5 -0
  697. package/dist/node_modules/lodash-es/_stackHas.js +5 -0
  698. package/dist/node_modules/lodash-es/_stackSet.js +15 -0
  699. package/dist/node_modules/lodash-es/_strictIndexOf.js +6 -0
  700. package/dist/node_modules/lodash-es/_stringSize.js +8 -0
  701. package/dist/node_modules/lodash-es/_stringToPath.js +8 -0
  702. package/dist/node_modules/lodash-es/_toKey.js +9 -0
  703. package/dist/node_modules/lodash-es/_toSource.js +14 -0
  704. package/dist/node_modules/lodash-es/_trimmedEndIndex.js +7 -0
  705. package/dist/node_modules/lodash-es/_unicodeSize.js +17 -0
  706. package/dist/node_modules/lodash-es/assign.js +14 -0
  707. package/dist/node_modules/lodash-es/clone.js +7 -0
  708. package/dist/node_modules/lodash-es/cloneDeep.js +7 -0
  709. package/dist/node_modules/lodash-es/compact.js +9 -0
  710. package/dist/node_modules/lodash-es/constant.js +7 -0
  711. package/dist/node_modules/lodash-es/defaults.js +14 -0
  712. package/dist/node_modules/lodash-es/difference.js +8 -0
  713. package/dist/node_modules/lodash-es/drop.js +8 -0
  714. package/dist/node_modules/lodash-es/dropRight.js +8 -0
  715. package/dist/node_modules/lodash-es/eq.js +5 -0
  716. package/dist/node_modules/lodash-es/every.js +11 -0
  717. package/dist/node_modules/lodash-es/filter.js +9 -0
  718. package/dist/node_modules/lodash-es/find.js +4 -0
  719. package/dist/node_modules/lodash-es/findIndex.js +12 -0
  720. package/dist/node_modules/lodash-es/flatMap.js +7 -0
  721. package/dist/node_modules/lodash-es/flatten.js +6 -0
  722. package/dist/node_modules/lodash-es/forEach.js +9 -0
  723. package/dist/node_modules/lodash-es/forIn.js +8 -0
  724. package/dist/node_modules/lodash-es/forOwn.js +7 -0
  725. package/dist/node_modules/lodash-es/get.js +7 -0
  726. package/dist/node_modules/lodash-es/groupBy.js +6 -0
  727. package/dist/node_modules/lodash-es/has.js +7 -0
  728. package/dist/node_modules/lodash-es/hasIn.js +7 -0
  729. package/dist/node_modules/lodash-es/head.js +5 -0
  730. package/dist/node_modules/lodash-es/identity.js +5 -0
  731. package/dist/node_modules/lodash-es/includes.js +13 -0
  732. package/dist/node_modules/lodash-es/indexOf.js +11 -0
  733. package/dist/node_modules/lodash-es/isArguments.js +8 -0
  734. package/dist/node_modules/lodash-es/isArray.js +2 -0
  735. package/dist/node_modules/lodash-es/isArrayLike.js +7 -0
  736. package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -0
  737. package/dist/node_modules/lodash-es/isBuffer.js +4 -0
  738. package/dist/node_modules/lodash-es/isEmpty.js +20 -0
  739. package/dist/node_modules/lodash-es/isFunction.js +10 -0
  740. package/dist/node_modules/lodash-es/isLength.js +6 -0
  741. package/dist/node_modules/lodash-es/isMap.js +5 -0
  742. package/dist/node_modules/lodash-es/isObject.js +6 -0
  743. package/dist/node_modules/lodash-es/isObjectLike.js +5 -0
  744. package/dist/node_modules/lodash-es/isPlainObject.js +13 -0
  745. package/dist/node_modules/lodash-es/isRegExp.js +5 -0
  746. package/dist/node_modules/lodash-es/isSet.js +5 -0
  747. package/dist/node_modules/lodash-es/isString.js +9 -0
  748. package/dist/node_modules/lodash-es/isSymbol.js +8 -0
  749. package/dist/node_modules/lodash-es/isTypedArray.js +5 -0
  750. package/dist/node_modules/lodash-es/isUndefined.js +5 -0
  751. package/dist/node_modules/lodash-es/keys.js +8 -0
  752. package/dist/node_modules/lodash-es/keysIn.js +8 -0
  753. package/dist/node_modules/lodash-es/last.js +6 -0
  754. package/dist/node_modules/lodash-es/map.js +9 -0
  755. package/dist/node_modules/lodash-es/mapValues.js +11 -0
  756. package/dist/node_modules/lodash-es/max.js +8 -0
  757. package/dist/node_modules/lodash-es/memoize.js +15 -0
  758. package/dist/node_modules/lodash-es/merge.js +6 -0
  759. package/dist/node_modules/lodash-es/min.js +8 -0
  760. package/dist/node_modules/lodash-es/minBy.js +8 -0
  761. package/dist/node_modules/lodash-es/negate.js +16 -0
  762. package/dist/node_modules/lodash-es/noop.js +3 -0
  763. package/dist/node_modules/lodash-es/now.js +5 -0
  764. package/dist/node_modules/lodash-es/pick.js +6 -0
  765. package/dist/node_modules/lodash-es/pickBy.js +15 -0
  766. package/dist/node_modules/lodash-es/property.js +9 -0
  767. package/dist/node_modules/lodash-es/range.js +3 -0
  768. package/dist/node_modules/lodash-es/reduce.js +11 -0
  769. package/dist/node_modules/lodash-es/reject.js +10 -0
  770. package/dist/node_modules/lodash-es/size.js +14 -0
  771. package/dist/node_modules/lodash-es/some.js +11 -0
  772. package/dist/node_modules/lodash-es/sortBy.js +10 -0
  773. package/dist/node_modules/lodash-es/stubArray.js +5 -0
  774. package/dist/node_modules/lodash-es/stubFalse.js +5 -0
  775. package/dist/node_modules/lodash-es/toFinite.js +7 -0
  776. package/dist/node_modules/lodash-es/toInteger.js +7 -0
  777. package/dist/node_modules/lodash-es/toNumber.js +18 -0
  778. package/dist/node_modules/lodash-es/toPlainObject.js +7 -0
  779. package/dist/node_modules/lodash-es/toString.js +6 -0
  780. package/dist/node_modules/lodash-es/union.js +8 -0
  781. package/dist/node_modules/lodash-es/uniq.js +6 -0
  782. package/dist/node_modules/lodash-es/uniqBy.js +7 -0
  783. package/dist/node_modules/lodash-es/uniqueId.js +8 -0
  784. package/dist/node_modules/lodash-es/values.js +7 -0
  785. package/dist/node_modules/lodash-es/zipObject.js +7 -0
  786. package/dist/node_modules/longest-streak/index.js +7 -0
  787. package/dist/node_modules/markdown-table/index.js +57 -0
  788. package/dist/node_modules/marked/lib/marked.esm.js +1384 -0
  789. package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +59 -0
  790. package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +5 -0
  791. package/dist/node_modules/mdast-util-gfm/lib/index.js +24 -0
  792. package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +127 -0
  793. package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
  794. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +47 -0
  795. package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
  796. package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +56 -0
  797. package/dist/node_modules/mdast-util-math/lib/index.js +142 -0
  798. package/dist/node_modules/mdast-util-phrasing/lib/index.js +20 -0
  799. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +10 -0
  800. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +7 -0
  801. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +34 -0
  802. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +22 -0
  803. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +23 -0
  804. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +22 -0
  805. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +8 -0
  806. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +21 -0
  807. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +26 -0
  808. package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +42 -0
  809. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +17 -0
  810. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +21 -0
  811. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +39 -0
  812. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +16 -0
  813. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +24 -0
  814. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +5 -0
  815. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +7 -0
  816. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +23 -0
  817. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -0
  818. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -0
  819. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +6 -0
  820. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +9 -0
  821. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +6 -0
  822. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +6 -0
  823. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +6 -0
  824. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +6 -0
  825. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +6 -0
  826. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +6 -0
  827. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +6 -0
  828. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +6 -0
  829. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -0
  830. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +36 -0
  831. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -0
  832. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +10 -0
  833. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -0
  834. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +10 -0
  835. package/dist/node_modules/mdast-util-to-string/lib/index.js +22 -0
  836. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +673 -0
  837. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +3010 -0
  838. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js +2955 -0
  839. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -0
  840. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +8 -0
  841. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +1547 -0
  842. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +29 -0
  843. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +65 -0
  844. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js +3110 -0
  845. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +10 -0
  846. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +1994 -0
  847. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +135 -0
  848. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +9 -0
  849. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -0
  850. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +74 -0
  851. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +247 -0
  852. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +3516 -0
  853. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +1140 -0
  854. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +39 -0
  855. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +23 -0
  856. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +497 -0
  857. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +11 -0
  858. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +338 -0
  859. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +55 -0
  860. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +26 -0
  861. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +26 -0
  862. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +219 -0
  863. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +263 -0
  864. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +283 -0
  865. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +211 -0
  866. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +129 -0
  867. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js +1599 -0
  868. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js +4128 -0
  869. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +1688 -0
  870. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +621 -0
  871. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +18 -0
  872. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +883 -0
  873. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js +970 -0
  874. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js +931 -0
  875. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +117 -0
  876. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js +1970 -0
  877. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js +2187 -0
  878. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +519 -0
  879. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +3560 -0
  880. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +220 -0
  881. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +25 -0
  882. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +833 -0
  883. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +1975 -0
  884. package/dist/node_modules/mermaid/dist/mermaid.core.js +662 -0
  885. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +16 -0
  886. package/dist/node_modules/micromark-extension-gfm/index.js +16 -0
  887. package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +172 -0
  888. package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +191 -0
  889. package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +94 -0
  890. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +41 -0
  891. package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +18 -0
  892. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +199 -0
  893. package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +32 -0
  894. package/dist/node_modules/micromark-extension-math/lib/math-flow.js +72 -0
  895. package/dist/node_modules/micromark-extension-math/lib/math-text.js +44 -0
  896. package/dist/node_modules/micromark-extension-math/lib/syntax.js +9 -0
  897. package/dist/node_modules/micromark-factory-space/index.js +12 -0
  898. package/dist/node_modules/micromark-util-character/index.js +21 -0
  899. package/dist/node_modules/micromark-util-chunked/index.js +6 -0
  900. package/dist/node_modules/micromark-util-classify-character/index.js +6 -0
  901. package/dist/node_modules/micromark-util-combine-extensions/index.js +24 -0
  902. package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -0
  903. package/dist/node_modules/micromark-util-resolve-all/index.js +9 -0
  904. package/dist/node_modules/property-information/index.js +23 -0
  905. package/dist/node_modules/property-information/lib/aria.js +59 -0
  906. package/dist/node_modules/property-information/lib/find.js +29 -0
  907. package/dist/node_modules/property-information/lib/html.js +314 -0
  908. package/dist/node_modules/property-information/lib/normalize.js +4 -0
  909. package/dist/node_modules/property-information/lib/svg.js +560 -0
  910. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +5 -0
  911. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -0
  912. package/dist/node_modules/property-information/lib/util/create.js +12 -0
  913. package/dist/node_modules/property-information/lib/util/defined-info.js +16 -0
  914. package/dist/node_modules/property-information/lib/util/info.js +7 -0
  915. package/dist/node_modules/property-information/lib/util/merge.js +7 -0
  916. package/dist/node_modules/property-information/lib/util/schema.js +7 -0
  917. package/dist/node_modules/property-information/lib/util/types.js +15 -0
  918. package/dist/node_modules/property-information/lib/xlink.js +17 -0
  919. package/dist/node_modules/property-information/lib/xml.js +13 -0
  920. package/dist/node_modules/property-information/lib/xmlns.js +12 -0
  921. package/dist/node_modules/rehype-katex/lib/index.js +60 -0
  922. package/dist/node_modules/remark-gfm/lib/index.js +8 -0
  923. package/dist/node_modules/remark-math/lib/index.js +8 -0
  924. package/dist/node_modules/roughjs/bundled/rough.esm.js +1350 -0
  925. package/dist/node_modules/space-separated-tokens/index.js +5 -0
  926. package/dist/node_modules/stylis/src/Enum.js +2 -0
  927. package/dist/node_modules/stylis/src/Parser.js +93 -0
  928. package/dist/node_modules/stylis/src/Serializer.js +19 -0
  929. package/dist/node_modules/stylis/src/Tokenizer.js +104 -0
  930. package/dist/node_modules/stylis/src/Utility.js +26 -0
  931. package/dist/node_modules/ts-dedent/esm/index.js +25 -0
  932. package/dist/node_modules/unist-util-find-after/lib/index.js +10 -0
  933. package/dist/node_modules/unist-util-is/lib/index.js +45 -0
  934. package/dist/node_modules/unist-util-visit/lib/index.js +10 -0
  935. package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -0
  936. package/dist/node_modules/unist-util-visit-parents/lib/index.js +35 -0
  937. package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -0
  938. package/dist/node_modules/uuid/dist/esm-browser/rng.js +9 -0
  939. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -0
  940. package/dist/node_modules/uuid/dist/esm-browser/v4.js +17 -0
  941. package/dist/node_modules/vscode-jsonrpc/browser.js +7 -0
  942. package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +52 -0
  943. package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +120 -0
  944. package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +337 -0
  945. package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +57 -0
  946. package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +647 -0
  947. package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +13 -0
  948. package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +64 -0
  949. package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +34 -0
  950. package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +235 -0
  951. package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +93 -0
  952. package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +129 -0
  953. package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +85 -0
  954. package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +161 -0
  955. package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +18 -0
  956. package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +44 -0
  957. package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +58 -0
  958. package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +28 -0
  959. package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +36 -0
  960. package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +12 -0
  961. package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +31 -0
  962. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +19 -0
  963. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +15 -0
  964. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +11 -0
  965. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +11 -0
  966. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +33 -0
  967. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +35 -0
  968. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +15 -0
  969. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +11 -0
  970. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +19 -0
  971. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +11 -0
  972. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +15 -0
  973. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +674 -0
  974. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +11 -0
  975. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +19 -0
  976. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +126 -0
  977. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +24 -0
  978. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +11 -0
  979. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +31 -0
  980. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +11 -0
  981. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +11 -0
  982. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +19 -0
  983. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +15 -0
  984. package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +42 -0
  985. package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +138 -0
  986. package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +1084 -0
  987. package/dist/node_modules/vscode-uri/lib/esm/index.js +373 -0
  988. package/dist/node_modules/web-namespaces/index.js +9 -0
  989. package/dist/pages/WorkspacePage.js +63 -0
  990. package/dist/pages/WorkspacesPage.js +36 -0
  991. package/package.json +32 -32
@@ -0,0 +1,1407 @@
1
+ import { __commonJSMin } from "../../_virtual/rolldown_runtime.js";
2
+ var require_layout_base = /* @__PURE__ */ __commonJSMin(((e, t) => {
3
+ (function(n, r) {
4
+ typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.layoutBase = r() : n.layoutBase = r();
5
+ })(e, function() {
6
+ return (function(e) {
7
+ var t = {};
8
+ function n(r) {
9
+ if (t[r]) return t[r].exports;
10
+ var i = t[r] = {
11
+ i: r,
12
+ l: !1,
13
+ exports: {}
14
+ };
15
+ return e[r].call(i.exports, i, i.exports, n), i.l = !0, i.exports;
16
+ }
17
+ return n.m = e, n.c = t, n.i = function(e) {
18
+ return e;
19
+ }, n.d = function(e, t, r) {
20
+ n.o(e, t) || Object.defineProperty(e, t, {
21
+ configurable: !1,
22
+ enumerable: !0,
23
+ get: r
24
+ });
25
+ }, n.n = function(e) {
26
+ var t = e && e.__esModule ? function() {
27
+ return e.default;
28
+ } : function() {
29
+ return e;
30
+ };
31
+ return n.d(t, "a", t), t;
32
+ }, n.o = function(e, t) {
33
+ return Object.prototype.hasOwnProperty.call(e, t);
34
+ }, n.p = "", n(n.s = 26);
35
+ })([
36
+ (function(e, t, n) {
37
+ function r() {}
38
+ 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, e.exports = r;
39
+ }),
40
+ (function(e, t, n) {
41
+ var r = n(2), i = n(8), a = n(9);
42
+ function o(e, t, n) {
43
+ r.call(this, n), this.isOverlapingSourceAndTarget = !1, this.vGraphObject = n, this.bendpoints = [], this.source = e, this.target = t;
44
+ }
45
+ for (var s in o.prototype = Object.create(r.prototype), r) o[s] = r[s];
46
+ o.prototype.getSource = function() {
47
+ return this.source;
48
+ }, o.prototype.getTarget = function() {
49
+ return this.target;
50
+ }, o.prototype.isInterGraph = function() {
51
+ return this.isInterGraph;
52
+ }, o.prototype.getLength = function() {
53
+ return this.length;
54
+ }, o.prototype.isOverlapingSourceAndTarget = function() {
55
+ return this.isOverlapingSourceAndTarget;
56
+ }, o.prototype.getBendpoints = function() {
57
+ return this.bendpoints;
58
+ }, o.prototype.getLca = function() {
59
+ return this.lca;
60
+ }, o.prototype.getSourceInLca = function() {
61
+ return this.sourceInLca;
62
+ }, o.prototype.getTargetInLca = function() {
63
+ return this.targetInLca;
64
+ }, o.prototype.getOtherEnd = function(e) {
65
+ if (this.source === e) return this.target;
66
+ if (this.target === e) return this.source;
67
+ throw "Node is not incident with this edge";
68
+ }, o.prototype.getOtherEndInGraph = function(e, t) {
69
+ for (var n = this.getOtherEnd(e), r = t.getGraphManager().getRoot();;) {
70
+ if (n.getOwner() == t) return n;
71
+ if (n.getOwner() == r) break;
72
+ n = n.getOwner().getParent();
73
+ }
74
+ return null;
75
+ }, o.prototype.updateLength = function() {
76
+ var e = [
77
+ ,
78
+ ,
79
+ ,
80
+ ,
81
+ ];
82
+ this.isOverlapingSourceAndTarget = i.getIntersection(this.target.getRect(), this.source.getRect(), e), this.isOverlapingSourceAndTarget || (this.lengthX = e[0] - e[2], this.lengthY = e[1] - e[3], Math.abs(this.lengthX) < 1 && (this.lengthX = a.sign(this.lengthX)), Math.abs(this.lengthY) < 1 && (this.lengthY = a.sign(this.lengthY)), this.length = Math.sqrt(this.lengthX * this.lengthX + this.lengthY * this.lengthY));
83
+ }, o.prototype.updateLengthSimple = function() {
84
+ this.lengthX = this.target.getCenterX() - this.source.getCenterX(), this.lengthY = this.target.getCenterY() - this.source.getCenterY(), Math.abs(this.lengthX) < 1 && (this.lengthX = a.sign(this.lengthX)), Math.abs(this.lengthY) < 1 && (this.lengthY = a.sign(this.lengthY)), this.length = Math.sqrt(this.lengthX * this.lengthX + this.lengthY * this.lengthY);
85
+ }, e.exports = o;
86
+ }),
87
+ (function(e, t, n) {
88
+ function r(e) {
89
+ this.vGraphObject = e;
90
+ }
91
+ e.exports = r;
92
+ }),
93
+ (function(e, t, n) {
94
+ var r = n(2), i = n(10), a = n(13), o = n(0), s = n(16), c = n(4);
95
+ function l(e, t, n, o) {
96
+ n == null && o == null && (o = t), r.call(this, o), e.graphManager != null && (e = e.graphManager), this.estimatedSize = i.MIN_VALUE, this.inclusionTreeDepth = i.MAX_VALUE, this.vGraphObject = o, this.edges = [], this.graphManager = e, n != null && t != null ? this.rect = new a(t.x, t.y, n.width, n.height) : this.rect = new a();
97
+ }
98
+ for (var u in l.prototype = Object.create(r.prototype), r) l[u] = r[u];
99
+ l.prototype.getEdges = function() {
100
+ return this.edges;
101
+ }, l.prototype.getChild = function() {
102
+ return this.child;
103
+ }, l.prototype.getOwner = function() {
104
+ return this.owner;
105
+ }, l.prototype.getWidth = function() {
106
+ return this.rect.width;
107
+ }, l.prototype.setWidth = function(e) {
108
+ this.rect.width = e;
109
+ }, l.prototype.getHeight = function() {
110
+ return this.rect.height;
111
+ }, l.prototype.setHeight = function(e) {
112
+ this.rect.height = e;
113
+ }, l.prototype.getCenterX = function() {
114
+ return this.rect.x + this.rect.width / 2;
115
+ }, l.prototype.getCenterY = function() {
116
+ return this.rect.y + this.rect.height / 2;
117
+ }, l.prototype.getCenter = function() {
118
+ return new c(this.rect.x + this.rect.width / 2, this.rect.y + this.rect.height / 2);
119
+ }, l.prototype.getLocation = function() {
120
+ return new c(this.rect.x, this.rect.y);
121
+ }, l.prototype.getRect = function() {
122
+ return this.rect;
123
+ }, l.prototype.getDiagonal = function() {
124
+ return Math.sqrt(this.rect.width * this.rect.width + this.rect.height * this.rect.height);
125
+ }, l.prototype.getHalfTheDiagonal = function() {
126
+ return Math.sqrt(this.rect.height * this.rect.height + this.rect.width * this.rect.width) / 2;
127
+ }, l.prototype.setRect = function(e, t) {
128
+ this.rect.x = e.x, this.rect.y = e.y, this.rect.width = t.width, this.rect.height = t.height;
129
+ }, l.prototype.setCenter = function(e, t) {
130
+ this.rect.x = e - this.rect.width / 2, this.rect.y = t - this.rect.height / 2;
131
+ }, l.prototype.setLocation = function(e, t) {
132
+ this.rect.x = e, this.rect.y = t;
133
+ }, l.prototype.moveBy = function(e, t) {
134
+ this.rect.x += e, this.rect.y += t;
135
+ }, l.prototype.getEdgeListToNode = function(e) {
136
+ var t = [], n = this;
137
+ return n.edges.forEach(function(r) {
138
+ if (r.target == e) {
139
+ if (r.source != n) throw "Incorrect edge source!";
140
+ t.push(r);
141
+ }
142
+ }), t;
143
+ }, l.prototype.getEdgesBetween = function(e) {
144
+ var t = [], n = this;
145
+ return n.edges.forEach(function(r) {
146
+ if (!(r.source == n || r.target == n)) throw "Incorrect edge source and/or target";
147
+ (r.target == e || r.source == e) && t.push(r);
148
+ }), t;
149
+ }, l.prototype.getNeighborsList = function() {
150
+ var e = /* @__PURE__ */ new Set(), t = this;
151
+ return t.edges.forEach(function(n) {
152
+ if (n.source == t) e.add(n.target);
153
+ else {
154
+ if (n.target != t) throw "Incorrect incidency!";
155
+ e.add(n.source);
156
+ }
157
+ }), e;
158
+ }, l.prototype.withChildren = function() {
159
+ var e = /* @__PURE__ */ new Set(), t, n;
160
+ if (e.add(this), this.child != null) for (var r = this.child.getNodes(), i = 0; i < r.length; i++) t = r[i], n = t.withChildren(), n.forEach(function(t) {
161
+ e.add(t);
162
+ });
163
+ return e;
164
+ }, l.prototype.getNoOfChildren = function() {
165
+ var e = 0, t;
166
+ if (this.child == null) e = 1;
167
+ else for (var n = this.child.getNodes(), r = 0; r < n.length; r++) t = n[r], e += t.getNoOfChildren();
168
+ return e == 0 && (e = 1), e;
169
+ }, l.prototype.getEstimatedSize = function() {
170
+ if (this.estimatedSize == i.MIN_VALUE) throw "assert failed";
171
+ return this.estimatedSize;
172
+ }, l.prototype.calcEstimatedSize = function() {
173
+ 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);
174
+ }, l.prototype.scatter = function() {
175
+ var e, t, n = -o.INITIAL_WORLD_BOUNDARY, r = o.INITIAL_WORLD_BOUNDARY;
176
+ e = o.WORLD_CENTER_X + s.nextDouble() * (r - n) + n;
177
+ var i = -o.INITIAL_WORLD_BOUNDARY, a = o.INITIAL_WORLD_BOUNDARY;
178
+ t = o.WORLD_CENTER_Y + s.nextDouble() * (a - i) + i, this.rect.x = e, this.rect.y = t;
179
+ }, l.prototype.updateBounds = function() {
180
+ if (this.getChild() == null) throw "assert failed";
181
+ if (this.getChild().getNodes().length != 0) {
182
+ var e = this.getChild();
183
+ if (e.updateBounds(!0), this.rect.x = e.getLeft(), this.rect.y = e.getTop(), this.setWidth(e.getRight() - e.getLeft()), this.setHeight(e.getBottom() - e.getTop()), o.NODE_DIMENSIONS_INCLUDE_LABELS) {
184
+ var t = e.getRight() - e.getLeft(), n = e.getBottom() - e.getTop();
185
+ this.labelWidth > t && (this.rect.x -= (this.labelWidth - t) / 2, this.setWidth(this.labelWidth)), this.labelHeight > n && (this.labelPos == "center" ? this.rect.y -= (this.labelHeight - n) / 2 : this.labelPos == "top" && (this.rect.y -= this.labelHeight - n), this.setHeight(this.labelHeight));
186
+ }
187
+ }
188
+ }, l.prototype.getInclusionTreeDepth = function() {
189
+ if (this.inclusionTreeDepth == i.MAX_VALUE) throw "assert failed";
190
+ return this.inclusionTreeDepth;
191
+ }, l.prototype.transform = function(e) {
192
+ var t = this.rect.x;
193
+ t > o.WORLD_BOUNDARY ? t = o.WORLD_BOUNDARY : t < -o.WORLD_BOUNDARY && (t = -o.WORLD_BOUNDARY);
194
+ var n = this.rect.y;
195
+ n > o.WORLD_BOUNDARY ? n = o.WORLD_BOUNDARY : n < -o.WORLD_BOUNDARY && (n = -o.WORLD_BOUNDARY);
196
+ var r = new c(t, n), i = e.inverseTransformPoint(r);
197
+ this.setLocation(i.x, i.y);
198
+ }, l.prototype.getLeft = function() {
199
+ return this.rect.x;
200
+ }, l.prototype.getRight = function() {
201
+ return this.rect.x + this.rect.width;
202
+ }, l.prototype.getTop = function() {
203
+ return this.rect.y;
204
+ }, l.prototype.getBottom = function() {
205
+ return this.rect.y + this.rect.height;
206
+ }, l.prototype.getParent = function() {
207
+ return this.owner == null ? null : this.owner.getParent();
208
+ }, e.exports = l;
209
+ }),
210
+ (function(e, t, n) {
211
+ function r(e, t) {
212
+ e == null && t == null ? (this.x = 0, this.y = 0) : (this.x = e, this.y = t);
213
+ }
214
+ r.prototype.getX = function() {
215
+ return this.x;
216
+ }, r.prototype.getY = function() {
217
+ return this.y;
218
+ }, r.prototype.setX = function(e) {
219
+ this.x = e;
220
+ }, r.prototype.setY = function(e) {
221
+ this.y = e;
222
+ }, r.prototype.getDifference = function(e) {
223
+ return new DimensionD(this.x - e.x, this.y - e.y);
224
+ }, r.prototype.getCopy = function() {
225
+ return new r(this.x, this.y);
226
+ }, r.prototype.translate = function(e) {
227
+ return this.x += e.width, this.y += e.height, this;
228
+ }, e.exports = r;
229
+ }),
230
+ (function(e, t, n) {
231
+ var r = n(2), i = n(10), a = n(0), o = n(6), s = n(3), c = n(1), l = n(13), u = n(12), d = n(11);
232
+ function f(e, t, n) {
233
+ r.call(this, n), this.estimatedSize = i.MIN_VALUE, this.margin = a.DEFAULT_GRAPH_MARGIN, this.edges = [], this.nodes = [], this.isConnected = !1, this.parent = e, t != null && t instanceof o ? this.graphManager = t : t != null && t instanceof Layout && (this.graphManager = t.graphManager);
234
+ }
235
+ for (var p in f.prototype = Object.create(r.prototype), r) f[p] = r[p];
236
+ f.prototype.getNodes = function() {
237
+ return this.nodes;
238
+ }, f.prototype.getEdges = function() {
239
+ return this.edges;
240
+ }, f.prototype.getGraphManager = function() {
241
+ return this.graphManager;
242
+ }, f.prototype.getParent = function() {
243
+ return this.parent;
244
+ }, f.prototype.getLeft = function() {
245
+ return this.left;
246
+ }, f.prototype.getRight = function() {
247
+ return this.right;
248
+ }, f.prototype.getTop = function() {
249
+ return this.top;
250
+ }, f.prototype.getBottom = function() {
251
+ return this.bottom;
252
+ }, f.prototype.isConnected = function() {
253
+ return this.isConnected;
254
+ }, f.prototype.add = function(e, t, n) {
255
+ if (t == null && n == null) {
256
+ var r = e;
257
+ if (this.graphManager == null) throw "Graph has no graph mgr!";
258
+ if (this.getNodes().indexOf(r) > -1) throw "Node already in graph!";
259
+ return r.owner = this, this.getNodes().push(r), r;
260
+ } else {
261
+ var i = e;
262
+ if (!(this.getNodes().indexOf(t) > -1 && this.getNodes().indexOf(n) > -1)) throw "Source or target not in graph!";
263
+ if (!(t.owner == n.owner && t.owner == this)) throw "Both owners must be this graph!";
264
+ return t.owner == n.owner ? (i.source = t, i.target = n, i.isInterGraph = !1, this.getEdges().push(i), t.edges.push(i), n != t && n.edges.push(i), i) : null;
265
+ }
266
+ }, f.prototype.remove = function(e) {
267
+ var t = e;
268
+ if (e instanceof s) {
269
+ if (t == null) throw "Node is null!";
270
+ if (!(t.owner != null && t.owner == this)) throw "Owner graph is invalid!";
271
+ if (this.graphManager == null) throw "Owner graph manager is invalid!";
272
+ for (var n = t.edges.slice(), r, i = n.length, a = 0; a < i; a++) r = n[a], r.isInterGraph ? this.graphManager.remove(r) : r.source.owner.remove(r);
273
+ var o = this.nodes.indexOf(t);
274
+ if (o == -1) throw "Node not in owner node list!";
275
+ this.nodes.splice(o, 1);
276
+ } else if (e instanceof c) {
277
+ var r = e;
278
+ if (r == null) throw "Edge is null!";
279
+ if (!(r.source != null && r.target != null)) throw "Source and/or target is null!";
280
+ if (!(r.source.owner != null && r.target.owner != null && r.source.owner == this && r.target.owner == this)) throw "Source and/or target owner is invalid!";
281
+ var l = r.source.edges.indexOf(r), u = r.target.edges.indexOf(r);
282
+ if (!(l > -1 && u > -1)) throw "Source and/or target doesn't know this edge!";
283
+ r.source.edges.splice(l, 1), r.target != r.source && r.target.edges.splice(u, 1);
284
+ var o = r.source.owner.getEdges().indexOf(r);
285
+ if (o == -1) throw "Not in owner's edge list!";
286
+ r.source.owner.getEdges().splice(o, 1);
287
+ }
288
+ }, f.prototype.updateLeftTop = function() {
289
+ for (var e = i.MAX_VALUE, t = i.MAX_VALUE, n, r, a, o = this.getNodes(), s = o.length, c = 0; c < s; c++) {
290
+ var l = o[c];
291
+ n = l.getTop(), r = l.getLeft(), e > n && (e = n), t > r && (t = r);
292
+ }
293
+ return e == i.MAX_VALUE ? null : (a = o[0].getParent().paddingLeft == null ? this.margin : o[0].getParent().paddingLeft, this.left = t - a, this.top = e - a, new u(this.left, this.top));
294
+ }, f.prototype.updateBounds = function(e) {
295
+ for (var t = i.MAX_VALUE, n = -i.MAX_VALUE, r = i.MAX_VALUE, a = -i.MAX_VALUE, o, s, c, u, d, f = this.nodes, p = f.length, m = 0; m < p; m++) {
296
+ var h = f[m];
297
+ e && h.child != null && h.updateBounds(), o = h.getLeft(), s = h.getRight(), c = h.getTop(), u = h.getBottom(), t > o && (t = o), n < s && (n = s), r > c && (r = c), a < u && (a = u);
298
+ }
299
+ var g = new l(t, r, n - t, a - r);
300
+ t == i.MAX_VALUE && (this.left = this.parent.getLeft(), this.right = this.parent.getRight(), this.top = this.parent.getTop(), this.bottom = this.parent.getBottom()), d = f[0].getParent().paddingLeft == null ? this.margin : f[0].getParent().paddingLeft, this.left = g.x - d, this.right = g.x + g.width + d, this.top = g.y - d, this.bottom = g.y + g.height + d;
301
+ }, f.calculateBounds = function(e) {
302
+ for (var t = i.MAX_VALUE, n = -i.MAX_VALUE, r = i.MAX_VALUE, a = -i.MAX_VALUE, o, s, c, u, d = e.length, f = 0; f < d; f++) {
303
+ var p = e[f];
304
+ o = p.getLeft(), s = p.getRight(), c = p.getTop(), u = p.getBottom(), t > o && (t = o), n < s && (n = s), r > c && (r = c), a < u && (a = u);
305
+ }
306
+ return new l(t, r, n - t, a - r);
307
+ }, f.prototype.getInclusionTreeDepth = function() {
308
+ return this == this.graphManager.getRoot() ? 1 : this.parent.getInclusionTreeDepth();
309
+ }, f.prototype.getEstimatedSize = function() {
310
+ if (this.estimatedSize == i.MIN_VALUE) throw "assert failed";
311
+ return this.estimatedSize;
312
+ }, f.prototype.calcEstimatedSize = function() {
313
+ for (var e = 0, t = this.nodes, n = t.length, r = 0; r < n; r++) {
314
+ var i = t[r];
315
+ e += i.calcEstimatedSize();
316
+ }
317
+ return e == 0 ? this.estimatedSize = a.EMPTY_COMPOUND_NODE_SIZE : this.estimatedSize = e / Math.sqrt(this.nodes.length), this.estimatedSize;
318
+ }, f.prototype.updateConnected = function() {
319
+ var e = this;
320
+ if (this.nodes.length == 0) {
321
+ this.isConnected = !0;
322
+ return;
323
+ }
324
+ var t = new d(), n = /* @__PURE__ */ new Set(), r = this.nodes[0], i, a;
325
+ for (r.withChildren().forEach(function(e) {
326
+ t.push(e), n.add(e);
327
+ }); t.length !== 0;) {
328
+ r = t.shift(), i = r.getEdges();
329
+ for (var o = i.length, s = 0; s < o; s++) a = i[s].getOtherEndInGraph(r, this), a != null && !n.has(a) && a.withChildren().forEach(function(e) {
330
+ t.push(e), n.add(e);
331
+ });
332
+ }
333
+ if (this.isConnected = !1, n.size >= this.nodes.length) {
334
+ var c = 0;
335
+ n.forEach(function(t) {
336
+ t.owner == e && c++;
337
+ }), c == this.nodes.length && (this.isConnected = !0);
338
+ }
339
+ }, e.exports = f;
340
+ }),
341
+ (function(e, t, n) {
342
+ var r, i = n(1);
343
+ function a(e) {
344
+ r = n(5), this.layout = e, this.graphs = [], this.edges = [];
345
+ }
346
+ a.prototype.addRoot = function() {
347
+ var e = this.layout.newGraph(), t = this.layout.newNode(null), n = this.add(e, t);
348
+ return this.setRootGraph(n), this.rootGraph;
349
+ }, a.prototype.add = function(e, t, n, r, i) {
350
+ if (n == null && r == null && i == null) {
351
+ if (e == null) throw "Graph is null!";
352
+ if (t == null) throw "Parent node is null!";
353
+ if (this.graphs.indexOf(e) > -1) throw "Graph already in this graph mgr!";
354
+ if (this.graphs.push(e), e.parent != null) throw "Already has a parent!";
355
+ if (t.child != null) throw "Already has a child!";
356
+ return e.parent = t, t.child = e, e;
357
+ } else {
358
+ i = n, r = t, n = e;
359
+ var a = r.getOwner(), o = i.getOwner();
360
+ if (!(a != null && a.getGraphManager() == this)) throw "Source not in this graph mgr!";
361
+ if (!(o != null && o.getGraphManager() == this)) throw "Target not in this graph mgr!";
362
+ if (a == o) return n.isInterGraph = !1, a.add(n, r, i);
363
+ if (n.isInterGraph = !0, n.source = r, n.target = i, this.edges.indexOf(n) > -1) throw "Edge already in inter-graph edge list!";
364
+ if (this.edges.push(n), !(n.source != null && n.target != null)) throw "Edge source and/or target is null!";
365
+ if (!(n.source.edges.indexOf(n) == -1 && n.target.edges.indexOf(n) == -1)) throw "Edge already in source and/or target incidency list!";
366
+ return n.source.edges.push(n), n.target.edges.push(n), n;
367
+ }
368
+ }, a.prototype.remove = function(e) {
369
+ if (e instanceof r) {
370
+ var t = e;
371
+ if (t.getGraphManager() != this) throw "Graph not in this graph mgr";
372
+ if (!(t == this.rootGraph || t.parent != null && t.parent.graphManager == this)) throw "Invalid parent node!";
373
+ var n = [];
374
+ n = n.concat(t.getEdges());
375
+ for (var a, o = n.length, s = 0; s < o; s++) a = n[s], t.remove(a);
376
+ var c = [];
377
+ c = c.concat(t.getNodes());
378
+ var l;
379
+ o = c.length;
380
+ for (var s = 0; s < o; s++) l = c[s], t.remove(l);
381
+ t == this.rootGraph && this.setRootGraph(null);
382
+ var u = this.graphs.indexOf(t);
383
+ this.graphs.splice(u, 1), t.parent = null;
384
+ } else if (e instanceof i) {
385
+ if (a = e, a == null) throw "Edge is null!";
386
+ if (!a.isInterGraph) throw "Not an inter-graph edge!";
387
+ if (!(a.source != null && a.target != null)) throw "Source and/or target is null!";
388
+ if (!(a.source.edges.indexOf(a) != -1 && a.target.edges.indexOf(a) != -1)) throw "Source and/or target doesn't know this edge!";
389
+ var u = a.source.edges.indexOf(a);
390
+ if (a.source.edges.splice(u, 1), u = a.target.edges.indexOf(a), a.target.edges.splice(u, 1), !(a.source.owner != null && a.source.owner.getGraphManager() != null)) throw "Edge owner graph or owner graph manager is null!";
391
+ if (a.source.owner.getGraphManager().edges.indexOf(a) == -1) throw "Not in owner graph manager's edge list!";
392
+ var u = a.source.owner.getGraphManager().edges.indexOf(a);
393
+ a.source.owner.getGraphManager().edges.splice(u, 1);
394
+ }
395
+ }, a.prototype.updateBounds = function() {
396
+ this.rootGraph.updateBounds(!0);
397
+ }, a.prototype.getGraphs = function() {
398
+ return this.graphs;
399
+ }, a.prototype.getAllNodes = function() {
400
+ if (this.allNodes == null) {
401
+ for (var e = [], t = this.getGraphs(), n = t.length, r = 0; r < n; r++) e = e.concat(t[r].getNodes());
402
+ this.allNodes = e;
403
+ }
404
+ return this.allNodes;
405
+ }, a.prototype.resetAllNodes = function() {
406
+ this.allNodes = null;
407
+ }, a.prototype.resetAllEdges = function() {
408
+ this.allEdges = null;
409
+ }, a.prototype.resetAllNodesToApplyGravitation = function() {
410
+ this.allNodesToApplyGravitation = null;
411
+ }, a.prototype.getAllEdges = function() {
412
+ if (this.allEdges == null) {
413
+ var e = [], t = this.getGraphs();
414
+ t.length;
415
+ for (var n = 0; n < t.length; n++) e = e.concat(t[n].getEdges());
416
+ e = e.concat(this.edges), this.allEdges = e;
417
+ }
418
+ return this.allEdges;
419
+ }, a.prototype.getAllNodesToApplyGravitation = function() {
420
+ return this.allNodesToApplyGravitation;
421
+ }, a.prototype.setAllNodesToApplyGravitation = function(e) {
422
+ if (this.allNodesToApplyGravitation != null) throw "assert failed";
423
+ this.allNodesToApplyGravitation = e;
424
+ }, a.prototype.getRoot = function() {
425
+ return this.rootGraph;
426
+ }, a.prototype.setRootGraph = function(e) {
427
+ if (e.getGraphManager() != this) throw "Root not in this graph mgr!";
428
+ this.rootGraph = e, e.parent ??= this.layout.newNode("Root node");
429
+ }, a.prototype.getLayout = function() {
430
+ return this.layout;
431
+ }, a.prototype.isOneAncestorOfOther = function(e, t) {
432
+ if (!(e != null && t != null)) throw "assert failed";
433
+ if (e == t) return !0;
434
+ var n = e.getOwner(), r;
435
+ do {
436
+ if (r = n.getParent(), r == null) break;
437
+ if (r == t) return !0;
438
+ if (n = r.getOwner(), n == null) break;
439
+ } while (!0);
440
+ n = t.getOwner();
441
+ do {
442
+ if (r = n.getParent(), r == null) break;
443
+ if (r == e) return !0;
444
+ if (n = r.getOwner(), n == null) break;
445
+ } while (!0);
446
+ return !1;
447
+ }, a.prototype.calcLowestCommonAncestors = function() {
448
+ for (var e, t, n, r, i, a = this.getAllEdges(), o = a.length, s = 0; s < o; s++) {
449
+ if (e = a[s], t = e.source, n = e.target, e.lca = null, e.sourceInLca = t, e.targetInLca = n, t == n) {
450
+ e.lca = t.getOwner();
451
+ continue;
452
+ }
453
+ for (r = t.getOwner(); e.lca == null;) {
454
+ for (e.targetInLca = n, i = n.getOwner(); e.lca == null;) {
455
+ if (i == r) {
456
+ e.lca = i;
457
+ break;
458
+ }
459
+ if (i == this.rootGraph) break;
460
+ if (e.lca != null) throw "assert failed";
461
+ e.targetInLca = i.getParent(), i = e.targetInLca.getOwner();
462
+ }
463
+ if (r == this.rootGraph) break;
464
+ e.lca ?? (e.sourceInLca = r.getParent(), r = e.sourceInLca.getOwner());
465
+ }
466
+ if (e.lca == null) throw "assert failed";
467
+ }
468
+ }, a.prototype.calcLowestCommonAncestor = function(e, t) {
469
+ if (e == t) return e.getOwner();
470
+ var n = e.getOwner();
471
+ do {
472
+ if (n == null) break;
473
+ var r = t.getOwner();
474
+ do {
475
+ if (r == null) break;
476
+ if (r == n) return r;
477
+ r = r.getParent().getOwner();
478
+ } while (!0);
479
+ n = n.getParent().getOwner();
480
+ } while (!0);
481
+ return n;
482
+ }, a.prototype.calcInclusionTreeDepths = function(e, t) {
483
+ e == null && t == null && (e = this.rootGraph, t = 1);
484
+ for (var n, r = e.getNodes(), i = r.length, a = 0; a < i; a++) n = r[a], n.inclusionTreeDepth = t, n.child != null && this.calcInclusionTreeDepths(n.child, t + 1);
485
+ }, a.prototype.includesInvalidEdge = function() {
486
+ for (var e, t = this.edges.length, n = 0; n < t; n++) if (e = this.edges[n], this.isOneAncestorOfOther(e.source, e.target)) return !0;
487
+ return !1;
488
+ }, e.exports = a;
489
+ }),
490
+ (function(e, t, n) {
491
+ var r = n(0);
492
+ function i() {}
493
+ for (var a in r) i[a] = r[a];
494
+ i.MAX_ITERATIONS = 2500, i.DEFAULT_EDGE_LENGTH = 50, i.DEFAULT_SPRING_STRENGTH = .45, i.DEFAULT_REPULSION_STRENGTH = 4500, i.DEFAULT_GRAVITY_STRENGTH = .4, i.DEFAULT_COMPOUND_GRAVITY_STRENGTH = 1, i.DEFAULT_GRAVITY_RANGE_FACTOR = 3.8, i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = 1.5, i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION = !0, i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION = !0, i.DEFAULT_COOLING_FACTOR_INCREMENTAL = .3, i.COOLING_ADAPTATION_FACTOR = .33, i.ADAPTATION_LOWER_NODE_LIMIT = 1e3, i.ADAPTATION_UPPER_NODE_LIMIT = 5e3, i.MAX_NODE_DISPLACEMENT_INCREMENTAL = 100, i.MAX_NODE_DISPLACEMENT = i.MAX_NODE_DISPLACEMENT_INCREMENTAL * 3, i.MIN_REPULSION_DIST = i.DEFAULT_EDGE_LENGTH / 10, i.CONVERGENCE_CHECK_PERIOD = 100, i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = .1, i.MIN_EDGE_LENGTH = 1, i.GRID_CALCULATION_CHECK_PERIOD = 10, e.exports = i;
495
+ }),
496
+ (function(e, t, n) {
497
+ var r = n(12);
498
+ function i() {}
499
+ i.calcSeparationAmount = function(e, t, n, r) {
500
+ if (!e.intersects(t)) throw "assert failed";
501
+ var i = [, ,];
502
+ this.decideDirectionsForOverlappingNodes(e, t, i), n[0] = Math.min(e.getRight(), t.getRight()) - Math.max(e.x, t.x), n[1] = Math.min(e.getBottom(), t.getBottom()) - Math.max(e.y, t.y), e.getX() <= t.getX() && e.getRight() >= t.getRight() ? n[0] += Math.min(t.getX() - e.getX(), e.getRight() - t.getRight()) : t.getX() <= e.getX() && t.getRight() >= e.getRight() && (n[0] += Math.min(e.getX() - t.getX(), t.getRight() - e.getRight())), e.getY() <= t.getY() && e.getBottom() >= t.getBottom() ? n[1] += Math.min(t.getY() - e.getY(), e.getBottom() - t.getBottom()) : t.getY() <= e.getY() && t.getBottom() >= e.getBottom() && (n[1] += Math.min(e.getY() - t.getY(), t.getBottom() - e.getBottom()));
503
+ var a = Math.abs((t.getCenterY() - e.getCenterY()) / (t.getCenterX() - e.getCenterX()));
504
+ t.getCenterY() === e.getCenterY() && t.getCenterX() === e.getCenterX() && (a = 1);
505
+ var o = a * n[0], s = n[1] / a;
506
+ n[0] < s ? s = n[0] : o = n[1], n[0] = -1 * i[0] * (s / 2 + r), n[1] = -1 * i[1] * (o / 2 + r);
507
+ }, i.decideDirectionsForOverlappingNodes = function(e, t, n) {
508
+ e.getCenterX() < t.getCenterX() ? n[0] = -1 : n[0] = 1, e.getCenterY() < t.getCenterY() ? n[1] = -1 : n[1] = 1;
509
+ }, i.getIntersection2 = function(e, t, n) {
510
+ var r = e.getCenterX(), i = e.getCenterY(), a = t.getCenterX(), o = t.getCenterY();
511
+ if (e.intersects(t)) return n[0] = r, n[1] = i, n[2] = a, n[3] = o, !0;
512
+ var s = e.getX(), c = e.getY(), l = e.getRight(), u = e.getX(), d = e.getBottom(), f = e.getRight(), p = e.getWidthHalf(), m = e.getHeightHalf(), h = t.getX(), g = t.getY(), _ = t.getRight(), v = t.getX(), y = t.getBottom(), b = t.getRight(), x = t.getWidthHalf(), S = t.getHeightHalf(), C = !1, w = !1;
513
+ if (r === a) {
514
+ if (i > o) return n[0] = r, n[1] = c, n[2] = a, n[3] = y, !1;
515
+ if (i < o) return n[0] = r, n[1] = d, n[2] = a, n[3] = g, !1;
516
+ } else if (i === o) {
517
+ if (r > a) return n[0] = s, n[1] = i, n[2] = _, n[3] = o, !1;
518
+ if (r < a) return n[0] = l, n[1] = i, n[2] = h, n[3] = o, !1;
519
+ } else {
520
+ var T = e.height / e.width, E = t.height / t.width, D = (o - i) / (a - r), O = void 0, k = void 0, A = void 0, j = void 0, M = void 0, N = void 0;
521
+ if (-T === D ? r > a ? (n[0] = u, n[1] = d, C = !0) : (n[0] = l, n[1] = c, C = !0) : T === D && (r > a ? (n[0] = s, n[1] = c, C = !0) : (n[0] = f, n[1] = d, C = !0)), -E === D ? a > r ? (n[2] = v, n[3] = y, w = !0) : (n[2] = _, n[3] = g, w = !0) : E === D && (a > r ? (n[2] = h, n[3] = g, w = !0) : (n[2] = b, n[3] = y, w = !0)), C && w) return !1;
522
+ if (r > a ? i > o ? (O = this.getCardinalDirection(T, D, 4), k = this.getCardinalDirection(E, D, 2)) : (O = this.getCardinalDirection(-T, D, 3), k = this.getCardinalDirection(-E, D, 1)) : i > o ? (O = this.getCardinalDirection(-T, D, 1), k = this.getCardinalDirection(-E, D, 3)) : (O = this.getCardinalDirection(T, D, 2), k = this.getCardinalDirection(E, D, 4)), !C) switch (O) {
523
+ case 1:
524
+ j = c, A = r + -m / D, n[0] = A, n[1] = j;
525
+ break;
526
+ case 2:
527
+ A = f, j = i + p * D, n[0] = A, n[1] = j;
528
+ break;
529
+ case 3:
530
+ j = d, A = r + m / D, n[0] = A, n[1] = j;
531
+ break;
532
+ case 4:
533
+ A = u, j = i + -p * D, n[0] = A, n[1] = j;
534
+ break;
535
+ }
536
+ if (!w) switch (k) {
537
+ case 1:
538
+ N = g, M = a + -S / D, n[2] = M, n[3] = N;
539
+ break;
540
+ case 2:
541
+ M = b, N = o + x * D, n[2] = M, n[3] = N;
542
+ break;
543
+ case 3:
544
+ N = y, M = a + S / D, n[2] = M, n[3] = N;
545
+ break;
546
+ case 4:
547
+ M = v, N = o + -x * D, n[2] = M, n[3] = N;
548
+ break;
549
+ }
550
+ }
551
+ return !1;
552
+ }, i.getCardinalDirection = function(e, t, n) {
553
+ return e > t ? n : 1 + n % 4;
554
+ }, i.getIntersection = function(e, t, n, i) {
555
+ if (i == null) return this.getIntersection2(e, t, n);
556
+ var a = e.x, o = e.y, s = t.x, c = t.y, l = n.x, u = n.y, d = i.x, f = i.y, p = void 0, m = void 0, h = void 0, g = void 0, _ = void 0, v = void 0, y = void 0, b = void 0, x = void 0;
557
+ return h = c - o, _ = a - s, y = s * o - a * c, g = f - u, v = l - d, b = d * u - l * f, x = h * v - g * _, x === 0 ? null : (p = (_ * b - v * y) / x, m = (g * y - h * b) / x, new r(p, m));
558
+ }, i.angleOfVector = function(e, t, n, r) {
559
+ var i = void 0;
560
+ return e === n ? i = r < t ? this.ONE_AND_HALF_PI : this.HALF_PI : (i = Math.atan((r - t) / (n - e)), n < e ? i += Math.PI : r < t && (i += this.TWO_PI)), i;
561
+ }, i.doIntersect = function(e, t, n, r) {
562
+ var i = e.x, a = e.y, o = t.x, s = t.y, c = n.x, l = n.y, u = r.x, d = r.y, f = (o - i) * (d - l) - (u - c) * (s - a);
563
+ if (f === 0) return !1;
564
+ var p = ((d - l) * (u - i) + (c - u) * (d - a)) / f, m = ((a - s) * (u - i) + (o - i) * (d - a)) / f;
565
+ return 0 < p && p < 1 && 0 < m && m < 1;
566
+ }, i.HALF_PI = .5 * Math.PI, i.ONE_AND_HALF_PI = 1.5 * Math.PI, i.TWO_PI = 2 * Math.PI, i.THREE_PI = 3 * Math.PI, e.exports = i;
567
+ }),
568
+ (function(e, t, n) {
569
+ function r() {}
570
+ r.sign = function(e) {
571
+ return e > 0 ? 1 : e < 0 ? -1 : 0;
572
+ }, r.floor = function(e) {
573
+ return e < 0 ? Math.ceil(e) : Math.floor(e);
574
+ }, r.ceil = function(e) {
575
+ return e < 0 ? Math.floor(e) : Math.ceil(e);
576
+ }, e.exports = r;
577
+ }),
578
+ (function(e, t, n) {
579
+ function r() {}
580
+ r.MAX_VALUE = 2147483647, r.MIN_VALUE = -2147483648, e.exports = r;
581
+ }),
582
+ (function(e, t, n) {
583
+ var r = function() {
584
+ function e(e, t) {
585
+ for (var n = 0; n < t.length; n++) {
586
+ var r = t[n];
587
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
588
+ }
589
+ }
590
+ return function(t, n, r) {
591
+ return n && e(t.prototype, n), r && e(t, r), t;
592
+ };
593
+ }();
594
+ function i(e, t) {
595
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
596
+ }
597
+ var a = function(e) {
598
+ return {
599
+ value: e,
600
+ next: null,
601
+ prev: null
602
+ };
603
+ }, o = function(e, t, n, r) {
604
+ return e === null ? r.head = t : e.next = t, n === null ? r.tail = t : n.prev = t, t.prev = e, t.next = n, r.length++, t;
605
+ }, s = function(e, t) {
606
+ var n = e.prev, r = e.next;
607
+ return n === null ? t.head = r : n.next = r, r === null ? t.tail = n : r.prev = n, e.prev = e.next = null, t.length--, e;
608
+ };
609
+ e.exports = function() {
610
+ function e(t) {
611
+ var n = this;
612
+ i(this, e), this.length = 0, this.head = null, this.tail = null, t?.forEach(function(e) {
613
+ return n.push(e);
614
+ });
615
+ }
616
+ return r(e, [
617
+ {
618
+ key: "size",
619
+ value: function() {
620
+ return this.length;
621
+ }
622
+ },
623
+ {
624
+ key: "insertBefore",
625
+ value: function(e, t) {
626
+ return o(t.prev, a(e), t, this);
627
+ }
628
+ },
629
+ {
630
+ key: "insertAfter",
631
+ value: function(e, t) {
632
+ return o(t, a(e), t.next, this);
633
+ }
634
+ },
635
+ {
636
+ key: "insertNodeBefore",
637
+ value: function(e, t) {
638
+ return o(t.prev, e, t, this);
639
+ }
640
+ },
641
+ {
642
+ key: "insertNodeAfter",
643
+ value: function(e, t) {
644
+ return o(t, e, t.next, this);
645
+ }
646
+ },
647
+ {
648
+ key: "push",
649
+ value: function(e) {
650
+ return o(this.tail, a(e), null, this);
651
+ }
652
+ },
653
+ {
654
+ key: "unshift",
655
+ value: function(e) {
656
+ return o(null, a(e), this.head, this);
657
+ }
658
+ },
659
+ {
660
+ key: "remove",
661
+ value: function(e) {
662
+ return s(e, this);
663
+ }
664
+ },
665
+ {
666
+ key: "pop",
667
+ value: function() {
668
+ return s(this.tail, this).value;
669
+ }
670
+ },
671
+ {
672
+ key: "popNode",
673
+ value: function() {
674
+ return s(this.tail, this);
675
+ }
676
+ },
677
+ {
678
+ key: "shift",
679
+ value: function() {
680
+ return s(this.head, this).value;
681
+ }
682
+ },
683
+ {
684
+ key: "shiftNode",
685
+ value: function() {
686
+ return s(this.head, this);
687
+ }
688
+ },
689
+ {
690
+ key: "get_object_at",
691
+ value: function(e) {
692
+ if (e <= this.length()) {
693
+ for (var t = 1, n = this.head; t < e;) n = n.next, t++;
694
+ return n.value;
695
+ }
696
+ }
697
+ },
698
+ {
699
+ key: "set_object_at",
700
+ value: function(e, t) {
701
+ if (e <= this.length()) {
702
+ for (var n = 1, r = this.head; n < e;) r = r.next, n++;
703
+ r.value = t;
704
+ }
705
+ }
706
+ }
707
+ ]), e;
708
+ }();
709
+ }),
710
+ (function(e, t, n) {
711
+ function r(e, t, n) {
712
+ this.x = null, this.y = null, e == null && t == null && n == null ? (this.x = 0, this.y = 0) : typeof e == "number" && typeof t == "number" && n == null ? (this.x = e, this.y = t) : e.constructor.name == "Point" && t == null && n == null && (n = e, this.x = n.x, this.y = n.y);
713
+ }
714
+ r.prototype.getX = function() {
715
+ return this.x;
716
+ }, r.prototype.getY = function() {
717
+ return this.y;
718
+ }, r.prototype.getLocation = function() {
719
+ return new r(this.x, this.y);
720
+ }, r.prototype.setLocation = function(e, t, n) {
721
+ e.constructor.name == "Point" && t == null && n == null ? (n = e, this.setLocation(n.x, n.y)) : typeof e == "number" && typeof t == "number" && n == null && (parseInt(e) == e && parseInt(t) == t ? this.move(e, t) : (this.x = Math.floor(e + .5), this.y = Math.floor(t + .5)));
722
+ }, r.prototype.move = function(e, t) {
723
+ this.x = e, this.y = t;
724
+ }, r.prototype.translate = function(e, t) {
725
+ this.x += e, this.y += t;
726
+ }, r.prototype.equals = function(e) {
727
+ if (e.constructor.name == "Point") {
728
+ var t = e;
729
+ return this.x == t.x && this.y == t.y;
730
+ }
731
+ return this == e;
732
+ }, r.prototype.toString = function() {
733
+ return new r().constructor.name + "[x=" + this.x + ",y=" + this.y + "]";
734
+ }, e.exports = r;
735
+ }),
736
+ (function(e, t, n) {
737
+ function r(e, t, n, r) {
738
+ this.x = 0, this.y = 0, this.width = 0, this.height = 0, e != null && t != null && n != null && r != null && (this.x = e, this.y = t, this.width = n, this.height = r);
739
+ }
740
+ r.prototype.getX = function() {
741
+ return this.x;
742
+ }, r.prototype.setX = function(e) {
743
+ this.x = e;
744
+ }, r.prototype.getY = function() {
745
+ return this.y;
746
+ }, r.prototype.setY = function(e) {
747
+ this.y = e;
748
+ }, r.prototype.getWidth = function() {
749
+ return this.width;
750
+ }, r.prototype.setWidth = function(e) {
751
+ this.width = e;
752
+ }, r.prototype.getHeight = function() {
753
+ return this.height;
754
+ }, r.prototype.setHeight = function(e) {
755
+ this.height = e;
756
+ }, r.prototype.getRight = function() {
757
+ return this.x + this.width;
758
+ }, r.prototype.getBottom = function() {
759
+ return this.y + this.height;
760
+ }, r.prototype.intersects = function(e) {
761
+ return !(this.getRight() < e.x || this.getBottom() < e.y || e.getRight() < this.x || e.getBottom() < this.y);
762
+ }, r.prototype.getCenterX = function() {
763
+ return this.x + this.width / 2;
764
+ }, r.prototype.getMinX = function() {
765
+ return this.getX();
766
+ }, r.prototype.getMaxX = function() {
767
+ return this.getX() + this.width;
768
+ }, r.prototype.getCenterY = function() {
769
+ return this.y + this.height / 2;
770
+ }, r.prototype.getMinY = function() {
771
+ return this.getY();
772
+ }, r.prototype.getMaxY = function() {
773
+ return this.getY() + this.height;
774
+ }, r.prototype.getWidthHalf = function() {
775
+ return this.width / 2;
776
+ }, r.prototype.getHeightHalf = function() {
777
+ return this.height / 2;
778
+ }, e.exports = r;
779
+ }),
780
+ (function(e, t, n) {
781
+ var r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
782
+ return typeof e;
783
+ } : function(e) {
784
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
785
+ };
786
+ function i() {}
787
+ i.lastID = 0, i.createID = function(e) {
788
+ return i.isPrimitive(e) ? e : e.uniqueID == null ? (e.uniqueID = i.getString(), i.lastID++, e.uniqueID) : e.uniqueID;
789
+ }, i.getString = function(e) {
790
+ return e ??= i.lastID, "Object#" + e;
791
+ }, i.isPrimitive = function(e) {
792
+ var t = e === void 0 ? "undefined" : r(e);
793
+ return e == null || t != "object" && t != "function";
794
+ }, e.exports = i;
795
+ }),
796
+ (function(e, t, n) {
797
+ function r(e) {
798
+ if (Array.isArray(e)) {
799
+ for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t];
800
+ return n;
801
+ } else return Array.from(e);
802
+ }
803
+ var i = n(0), a = n(6), o = n(3), s = n(1), c = n(5), l = n(4), u = n(17), d = n(27);
804
+ function f(e) {
805
+ d.call(this), this.layoutQuality = i.QUALITY, this.createBendsAsNeeded = i.DEFAULT_CREATE_BENDS_AS_NEEDED, this.incremental = i.DEFAULT_INCREMENTAL, this.animationOnLayout = i.DEFAULT_ANIMATION_ON_LAYOUT, this.animationDuringLayout = i.DEFAULT_ANIMATION_DURING_LAYOUT, this.animationPeriod = i.DEFAULT_ANIMATION_PERIOD, this.uniformLeafNodeSizes = i.DEFAULT_UNIFORM_LEAF_NODE_SIZES, this.edgeToDummyNodes = /* @__PURE__ */ new Map(), this.graphManager = new a(this), this.isLayoutFinished = !1, this.isSubLayout = !1, this.isRemoteUse = !1, e != null && (this.isRemoteUse = e);
806
+ }
807
+ f.RANDOM_SEED = 1, f.prototype = Object.create(d.prototype), f.prototype.getGraphManager = function() {
808
+ return this.graphManager;
809
+ }, f.prototype.getAllNodes = function() {
810
+ return this.graphManager.getAllNodes();
811
+ }, f.prototype.getAllEdges = function() {
812
+ return this.graphManager.getAllEdges();
813
+ }, f.prototype.getAllNodesToApplyGravitation = function() {
814
+ return this.graphManager.getAllNodesToApplyGravitation();
815
+ }, f.prototype.newGraphManager = function() {
816
+ var e = new a(this);
817
+ return this.graphManager = e, e;
818
+ }, f.prototype.newGraph = function(e) {
819
+ return new c(null, this.graphManager, e);
820
+ }, f.prototype.newNode = function(e) {
821
+ return new o(this.graphManager, e);
822
+ }, f.prototype.newEdge = function(e) {
823
+ return new s(null, null, e);
824
+ }, f.prototype.checkLayoutSuccess = function() {
825
+ return this.graphManager.getRoot() == null || this.graphManager.getRoot().getNodes().length == 0 || this.graphManager.includesInvalidEdge();
826
+ }, f.prototype.runLayout = function() {
827
+ this.isLayoutFinished = !1, this.tilingPreLayout && this.tilingPreLayout(), this.initParameters();
828
+ var e = this.checkLayoutSuccess() ? !1 : this.layout();
829
+ return i.ANIMATE === "during" ? !1 : (e && (this.isSubLayout || this.doPostLayout()), this.tilingPostLayout && this.tilingPostLayout(), this.isLayoutFinished = !0, e);
830
+ }, f.prototype.doPostLayout = function() {
831
+ this.incremental || this.transform(), this.update();
832
+ }, f.prototype.update2 = function() {
833
+ if (this.createBendsAsNeeded && (this.createBendpointsFromDummyNodes(), this.graphManager.resetAllEdges()), !this.isRemoteUse) {
834
+ for (var e = this.graphManager.getAllEdges(), t = 0; t < e.length; t++) e[t];
835
+ for (var n = this.graphManager.getRoot().getNodes(), t = 0; t < n.length; t++) n[t];
836
+ this.update(this.graphManager.getRoot());
837
+ }
838
+ }, f.prototype.update = function(e) {
839
+ if (e == null) this.update2();
840
+ else if (e instanceof o) {
841
+ var t = e;
842
+ if (t.getChild() != null) for (var n = t.getChild().getNodes(), r = 0; r < n.length; r++) update(n[r]);
843
+ t.vGraphObject != null && t.vGraphObject.update(t);
844
+ } else if (e instanceof s) {
845
+ var i = e;
846
+ i.vGraphObject != null && i.vGraphObject.update(i);
847
+ } else if (e instanceof c) {
848
+ var a = e;
849
+ a.vGraphObject != null && a.vGraphObject.update(a);
850
+ }
851
+ }, f.prototype.initParameters = function() {
852
+ this.isSubLayout || (this.layoutQuality = i.QUALITY, this.animationDuringLayout = i.DEFAULT_ANIMATION_DURING_LAYOUT, this.animationPeriod = i.DEFAULT_ANIMATION_PERIOD, this.animationOnLayout = i.DEFAULT_ANIMATION_ON_LAYOUT, this.incremental = i.DEFAULT_INCREMENTAL, this.createBendsAsNeeded = i.DEFAULT_CREATE_BENDS_AS_NEEDED, this.uniformLeafNodeSizes = i.DEFAULT_UNIFORM_LEAF_NODE_SIZES), this.animationDuringLayout && (this.animationOnLayout = !1);
853
+ }, f.prototype.transform = function(e) {
854
+ if (e == null) this.transform(new l(0, 0));
855
+ else {
856
+ var t = new u(), n = this.graphManager.getRoot().updateLeftTop();
857
+ if (n != null) {
858
+ t.setWorldOrgX(e.x), t.setWorldOrgY(e.y), t.setDeviceOrgX(n.x), t.setDeviceOrgY(n.y);
859
+ for (var r = this.getAllNodes(), i, a = 0; a < r.length; a++) i = r[a], i.transform(t);
860
+ }
861
+ }
862
+ }, f.prototype.positionNodesRandomly = function(e) {
863
+ if (e == null) this.positionNodesRandomly(this.getGraphManager().getRoot()), this.getGraphManager().getRoot().updateBounds(!0);
864
+ else for (var t, n, r = e.getNodes(), i = 0; i < r.length; i++) t = r[i], n = t.getChild(), n == null || n.getNodes().length == 0 ? t.scatter() : (this.positionNodesRandomly(n), t.updateBounds());
865
+ }, f.prototype.getFlatForest = function() {
866
+ for (var e = [], t = !0, n = this.graphManager.getRoot().getNodes(), i = !0, a = 0; a < n.length; a++) n[a].getChild() != null && (i = !1);
867
+ if (!i) return e;
868
+ var o = /* @__PURE__ */ new Set(), s = [], c = /* @__PURE__ */ new Map(), l = [];
869
+ for (l = l.concat(n); l.length > 0 && t;) {
870
+ for (s.push(l[0]); s.length > 0 && t;) {
871
+ var u = s[0];
872
+ s.splice(0, 1), o.add(u);
873
+ for (var d = u.getEdges(), a = 0; a < d.length; a++) {
874
+ var f = d[a].getOtherEnd(u);
875
+ if (c.get(u) != f) if (!o.has(f)) s.push(f), c.set(f, u);
876
+ else {
877
+ t = !1;
878
+ break;
879
+ }
880
+ }
881
+ }
882
+ if (!t) e = [];
883
+ else {
884
+ var p = [].concat(r(o));
885
+ e.push(p);
886
+ for (var a = 0; a < p.length; a++) {
887
+ var m = p[a], h = l.indexOf(m);
888
+ h > -1 && l.splice(h, 1);
889
+ }
890
+ o = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Map();
891
+ }
892
+ }
893
+ return e;
894
+ }, f.prototype.createDummyNodesForBendpoints = function(e) {
895
+ for (var t = [], n = e.source, r = this.graphManager.calcLowestCommonAncestor(e.source, e.target), i = 0; i < e.bendpoints.length; i++) {
896
+ var a = this.newNode(null);
897
+ a.setRect(new Point(0, 0), new Dimension(1, 1)), r.add(a);
898
+ var o = this.newEdge(null);
899
+ this.graphManager.add(o, n, a), t.add(a), n = a;
900
+ }
901
+ var o = this.newEdge(null);
902
+ return this.graphManager.add(o, n, e.target), this.edgeToDummyNodes.set(e, t), e.isInterGraph() ? this.graphManager.remove(e) : r.remove(e), t;
903
+ }, f.prototype.createBendpointsFromDummyNodes = function() {
904
+ var e = [];
905
+ e = e.concat(this.graphManager.getAllEdges()), e = [].concat(r(this.edgeToDummyNodes.keys()), e);
906
+ for (var t = 0; t < e.length; t++) {
907
+ var n = e[t];
908
+ if (n.bendpoints.length > 0) {
909
+ for (var i = this.edgeToDummyNodes.get(n), a = 0; a < i.length; a++) {
910
+ var o = i[a], s = new l(o.getCenterX(), o.getCenterY()), c = n.bendpoints.get(a);
911
+ c.x = s.x, c.y = s.y, o.getOwner().remove(o);
912
+ }
913
+ this.graphManager.add(n, n.source, n.target);
914
+ }
915
+ }
916
+ }, f.transform = function(e, t, n, r) {
917
+ if (n != null && r != null) {
918
+ var i = t;
919
+ if (e <= 50) {
920
+ var a = t / n;
921
+ i -= (t - a) / 50 * (50 - e);
922
+ } else {
923
+ var o = t * r;
924
+ i += (o - t) / 50 * (e - 50);
925
+ }
926
+ return i;
927
+ } else {
928
+ var s, c;
929
+ return e <= 50 ? (s = 9 * t / 500, c = t / 10) : (s = 9 * t / 50, c = -8 * t), s * e + c;
930
+ }
931
+ }, f.findCenterOfTree = function(e) {
932
+ var t = [];
933
+ t = t.concat(e);
934
+ var n = [], r = /* @__PURE__ */ new Map(), i = !1, a = null;
935
+ (t.length == 1 || t.length == 2) && (i = !0, a = t[0]);
936
+ for (var o = 0; o < t.length; o++) {
937
+ var s = t[o], c = s.getNeighborsList().size;
938
+ r.set(s, s.getNeighborsList().size), c == 1 && n.push(s);
939
+ }
940
+ var l = [];
941
+ for (l = l.concat(n); !i;) {
942
+ var u = [];
943
+ u = u.concat(l), l = [];
944
+ for (var o = 0; o < t.length; o++) {
945
+ var s = t[o], d = t.indexOf(s);
946
+ d >= 0 && t.splice(d, 1), s.getNeighborsList().forEach(function(e) {
947
+ if (n.indexOf(e) < 0) {
948
+ var t = r.get(e) - 1;
949
+ t == 1 && l.push(e), r.set(e, t);
950
+ }
951
+ });
952
+ }
953
+ n = n.concat(l), (t.length == 1 || t.length == 2) && (i = !0, a = t[0]);
954
+ }
955
+ return a;
956
+ }, f.prototype.setGraphManager = function(e) {
957
+ this.graphManager = e;
958
+ }, e.exports = f;
959
+ }),
960
+ (function(e, t, n) {
961
+ function r() {}
962
+ r.seed = 1, r.x = 0, r.nextDouble = function() {
963
+ return r.x = Math.sin(r.seed++) * 1e4, r.x - Math.floor(r.x);
964
+ }, e.exports = r;
965
+ }),
966
+ (function(e, t, n) {
967
+ var r = n(4);
968
+ function i(e, t) {
969
+ this.lworldOrgX = 0, this.lworldOrgY = 0, this.ldeviceOrgX = 0, this.ldeviceOrgY = 0, this.lworldExtX = 1, this.lworldExtY = 1, this.ldeviceExtX = 1, this.ldeviceExtY = 1;
970
+ }
971
+ i.prototype.getWorldOrgX = function() {
972
+ return this.lworldOrgX;
973
+ }, i.prototype.setWorldOrgX = function(e) {
974
+ this.lworldOrgX = e;
975
+ }, i.prototype.getWorldOrgY = function() {
976
+ return this.lworldOrgY;
977
+ }, i.prototype.setWorldOrgY = function(e) {
978
+ this.lworldOrgY = e;
979
+ }, i.prototype.getWorldExtX = function() {
980
+ return this.lworldExtX;
981
+ }, i.prototype.setWorldExtX = function(e) {
982
+ this.lworldExtX = e;
983
+ }, i.prototype.getWorldExtY = function() {
984
+ return this.lworldExtY;
985
+ }, i.prototype.setWorldExtY = function(e) {
986
+ this.lworldExtY = e;
987
+ }, i.prototype.getDeviceOrgX = function() {
988
+ return this.ldeviceOrgX;
989
+ }, i.prototype.setDeviceOrgX = function(e) {
990
+ this.ldeviceOrgX = e;
991
+ }, i.prototype.getDeviceOrgY = function() {
992
+ return this.ldeviceOrgY;
993
+ }, i.prototype.setDeviceOrgY = function(e) {
994
+ this.ldeviceOrgY = e;
995
+ }, i.prototype.getDeviceExtX = function() {
996
+ return this.ldeviceExtX;
997
+ }, i.prototype.setDeviceExtX = function(e) {
998
+ this.ldeviceExtX = e;
999
+ }, i.prototype.getDeviceExtY = function() {
1000
+ return this.ldeviceExtY;
1001
+ }, i.prototype.setDeviceExtY = function(e) {
1002
+ this.ldeviceExtY = e;
1003
+ }, i.prototype.transformX = function(e) {
1004
+ var t = 0, n = this.lworldExtX;
1005
+ return n != 0 && (t = this.ldeviceOrgX + (e - this.lworldOrgX) * this.ldeviceExtX / n), t;
1006
+ }, i.prototype.transformY = function(e) {
1007
+ var t = 0, n = this.lworldExtY;
1008
+ return n != 0 && (t = this.ldeviceOrgY + (e - this.lworldOrgY) * this.ldeviceExtY / n), t;
1009
+ }, i.prototype.inverseTransformX = function(e) {
1010
+ var t = 0, n = this.ldeviceExtX;
1011
+ return n != 0 && (t = this.lworldOrgX + (e - this.ldeviceOrgX) * this.lworldExtX / n), t;
1012
+ }, i.prototype.inverseTransformY = function(e) {
1013
+ var t = 0, n = this.ldeviceExtY;
1014
+ return n != 0 && (t = this.lworldOrgY + (e - this.ldeviceOrgY) * this.lworldExtY / n), t;
1015
+ }, i.prototype.inverseTransformPoint = function(e) {
1016
+ return new r(this.inverseTransformX(e.x), this.inverseTransformY(e.y));
1017
+ }, e.exports = i;
1018
+ }),
1019
+ (function(e, t, n) {
1020
+ function r(e) {
1021
+ if (Array.isArray(e)) {
1022
+ for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t];
1023
+ return n;
1024
+ } else return Array.from(e);
1025
+ }
1026
+ var i = n(15), a = n(7), o = n(0), s = n(8), c = n(9);
1027
+ function l() {
1028
+ i.call(this), this.useSmartIdealEdgeLengthCalculation = a.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION, this.idealEdgeLength = a.DEFAULT_EDGE_LENGTH, this.springConstant = a.DEFAULT_SPRING_STRENGTH, this.repulsionConstant = a.DEFAULT_REPULSION_STRENGTH, this.gravityConstant = a.DEFAULT_GRAVITY_STRENGTH, this.compoundGravityConstant = a.DEFAULT_COMPOUND_GRAVITY_STRENGTH, this.gravityRangeFactor = a.DEFAULT_GRAVITY_RANGE_FACTOR, this.compoundGravityRangeFactor = a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR, this.displacementThresholdPerNode = 3 * a.DEFAULT_EDGE_LENGTH / 100, this.coolingFactor = a.DEFAULT_COOLING_FACTOR_INCREMENTAL, this.initialCoolingFactor = a.DEFAULT_COOLING_FACTOR_INCREMENTAL, this.totalDisplacement = 0, this.oldTotalDisplacement = 0, this.maxIterations = a.MAX_ITERATIONS;
1029
+ }
1030
+ for (var u in l.prototype = Object.create(i.prototype), i) l[u] = i[u];
1031
+ l.prototype.initParameters = function() {
1032
+ i.prototype.initParameters.call(this, arguments), this.totalIterations = 0, this.notAnimatedIterations = 0, this.useFRGridVariant = a.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION, this.grid = [];
1033
+ }, l.prototype.calcIdealEdgeLengths = function() {
1034
+ for (var e, t, n, r, i, s, c = this.getGraphManager().getAllEdges(), l = 0; l < c.length; l++) e = c[l], e.idealLength = this.idealEdgeLength, e.isInterGraph && (n = e.getSource(), r = e.getTarget(), i = e.getSourceInLca().getEstimatedSize(), s = e.getTargetInLca().getEstimatedSize(), this.useSmartIdealEdgeLengthCalculation && (e.idealLength += i + s - 2 * o.SIMPLE_NODE_SIZE), t = e.getLca().getInclusionTreeDepth(), e.idealLength += a.DEFAULT_EDGE_LENGTH * a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR * (n.getInclusionTreeDepth() + r.getInclusionTreeDepth() - 2 * t));
1035
+ }, l.prototype.initSpringEmbedder = function() {
1036
+ var e = this.getAllNodes().length;
1037
+ this.incremental ? (e > a.ADAPTATION_LOWER_NODE_LIMIT && (this.coolingFactor = Math.max(this.coolingFactor * a.COOLING_ADAPTATION_FACTOR, this.coolingFactor - (e - a.ADAPTATION_LOWER_NODE_LIMIT) / (a.ADAPTATION_UPPER_NODE_LIMIT - a.ADAPTATION_LOWER_NODE_LIMIT) * this.coolingFactor * (1 - a.COOLING_ADAPTATION_FACTOR))), this.maxNodeDisplacement = a.MAX_NODE_DISPLACEMENT_INCREMENTAL) : (e > a.ADAPTATION_LOWER_NODE_LIMIT ? this.coolingFactor = Math.max(a.COOLING_ADAPTATION_FACTOR, 1 - (e - a.ADAPTATION_LOWER_NODE_LIMIT) / (a.ADAPTATION_UPPER_NODE_LIMIT - a.ADAPTATION_LOWER_NODE_LIMIT) * (1 - a.COOLING_ADAPTATION_FACTOR)) : this.coolingFactor = 1, this.initialCoolingFactor = this.coolingFactor, this.maxNodeDisplacement = a.MAX_NODE_DISPLACEMENT), this.maxIterations = Math.max(this.getAllNodes().length * 5, this.maxIterations), this.totalDisplacementThreshold = this.displacementThresholdPerNode * this.getAllNodes().length, this.repulsionRange = this.calcRepulsionRange();
1038
+ }, l.prototype.calcSpringForces = function() {
1039
+ for (var e = this.getAllEdges(), t, n = 0; n < e.length; n++) t = e[n], this.calcSpringForce(t, t.idealLength);
1040
+ }, l.prototype.calcRepulsionForces = function() {
1041
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n, r, i, o, s = this.getAllNodes(), c;
1042
+ if (this.useFRGridVariant) for (this.totalIterations % a.GRID_CALCULATION_CHECK_PERIOD == 1 && e && this.updateGrid(), c = /* @__PURE__ */ new Set(), n = 0; n < s.length; n++) i = s[n], this.calculateRepulsionForceOfANode(i, c, e, t), c.add(i);
1043
+ else for (n = 0; n < s.length; n++) for (i = s[n], r = n + 1; r < s.length; r++) o = s[r], i.getOwner() == o.getOwner() && this.calcRepulsionForce(i, o);
1044
+ }, l.prototype.calcGravitationalForces = function() {
1045
+ for (var e, t = this.getAllNodesToApplyGravitation(), n = 0; n < t.length; n++) e = t[n], this.calcGravitationalForce(e);
1046
+ }, l.prototype.moveNodes = function() {
1047
+ for (var e = this.getAllNodes(), t, n = 0; n < e.length; n++) t = e[n], t.move();
1048
+ }, l.prototype.calcSpringForce = function(e, t) {
1049
+ var n = e.getSource(), r = e.getTarget(), i, a, o, s;
1050
+ if (this.uniformLeafNodeSizes && n.getChild() == null && r.getChild() == null) e.updateLengthSimple();
1051
+ else if (e.updateLength(), e.isOverlapingSourceAndTarget) return;
1052
+ i = e.getLength(), i != 0 && (a = this.springConstant * (i - t), o = a * (e.lengthX / i), s = a * (e.lengthY / i), n.springForceX += o, n.springForceY += s, r.springForceX -= o, r.springForceY -= s);
1053
+ }, l.prototype.calcRepulsionForce = function(e, t) {
1054
+ var n = e.getRect(), r = t.getRect(), i = [, ,], o = [
1055
+ ,
1056
+ ,
1057
+ ,
1058
+ ,
1059
+ ], l, u, d, f, p, m, h;
1060
+ if (n.intersects(r)) {
1061
+ s.calcSeparationAmount(n, r, i, a.DEFAULT_EDGE_LENGTH / 2), m = 2 * i[0], h = 2 * i[1];
1062
+ var g = e.noOfChildren * t.noOfChildren / (e.noOfChildren + t.noOfChildren);
1063
+ e.repulsionForceX -= g * m, e.repulsionForceY -= g * h, t.repulsionForceX += g * m, t.repulsionForceY += g * h;
1064
+ } else this.uniformLeafNodeSizes && e.getChild() == null && t.getChild() == null ? (l = r.getCenterX() - n.getCenterX(), u = r.getCenterY() - n.getCenterY()) : (s.getIntersection(n, r, o), l = o[2] - o[0], u = o[3] - o[1]), Math.abs(l) < a.MIN_REPULSION_DIST && (l = c.sign(l) * a.MIN_REPULSION_DIST), Math.abs(u) < a.MIN_REPULSION_DIST && (u = c.sign(u) * a.MIN_REPULSION_DIST), d = l * l + u * u, f = Math.sqrt(d), p = this.repulsionConstant * e.noOfChildren * t.noOfChildren / d, m = p * l / f, h = p * u / f, e.repulsionForceX -= m, e.repulsionForceY -= h, t.repulsionForceX += m, t.repulsionForceY += h;
1065
+ }, l.prototype.calcGravitationalForce = function(e) {
1066
+ var t = e.getOwner(), n = (t.getRight() + t.getLeft()) / 2, r = (t.getTop() + t.getBottom()) / 2, i = e.getCenterX() - n, a = e.getCenterY() - r, o = Math.abs(i) + e.getWidth() / 2, s = Math.abs(a) + e.getHeight() / 2, c;
1067
+ e.getOwner() == this.graphManager.getRoot() ? (c = t.getEstimatedSize() * this.gravityRangeFactor, (o > c || s > c) && (e.gravitationForceX = -this.gravityConstant * i, e.gravitationForceY = -this.gravityConstant * a)) : (c = t.getEstimatedSize() * this.compoundGravityRangeFactor, (o > c || s > c) && (e.gravitationForceX = -this.gravityConstant * i * this.compoundGravityConstant, e.gravitationForceY = -this.gravityConstant * a * this.compoundGravityConstant));
1068
+ }, l.prototype.isConverged = function() {
1069
+ var e, t = !1;
1070
+ return this.totalIterations > this.maxIterations / 3 && (t = Math.abs(this.totalDisplacement - this.oldTotalDisplacement) < 2), e = this.totalDisplacement < this.totalDisplacementThreshold, this.oldTotalDisplacement = this.totalDisplacement, e || t;
1071
+ }, l.prototype.animate = function() {
1072
+ this.animationDuringLayout && !this.isSubLayout && (this.notAnimatedIterations == this.animationPeriod ? (this.update(), this.notAnimatedIterations = 0) : this.notAnimatedIterations++);
1073
+ }, l.prototype.calcNoOfChildrenForAllNodes = function() {
1074
+ for (var e, t = this.graphManager.getAllNodes(), n = 0; n < t.length; n++) e = t[n], e.noOfChildren = e.getNoOfChildren();
1075
+ }, l.prototype.calcGrid = function(e) {
1076
+ var t = 0, n = 0;
1077
+ t = parseInt(Math.ceil((e.getRight() - e.getLeft()) / this.repulsionRange)), n = parseInt(Math.ceil((e.getBottom() - e.getTop()) / this.repulsionRange));
1078
+ for (var r = Array(t), i = 0; i < t; i++) r[i] = Array(n);
1079
+ for (var i = 0; i < t; i++) for (var a = 0; a < n; a++) r[i][a] = [];
1080
+ return r;
1081
+ }, l.prototype.addNodeToGrid = function(e, t, n) {
1082
+ var r = 0, i = 0, a = 0, o = 0;
1083
+ r = parseInt(Math.floor((e.getRect().x - t) / this.repulsionRange)), i = parseInt(Math.floor((e.getRect().width + e.getRect().x - t) / this.repulsionRange)), a = parseInt(Math.floor((e.getRect().y - n) / this.repulsionRange)), o = parseInt(Math.floor((e.getRect().height + e.getRect().y - n) / this.repulsionRange));
1084
+ for (var s = r; s <= i; s++) for (var c = a; c <= o; c++) this.grid[s][c].push(e), e.setGridCoordinates(r, i, a, o);
1085
+ }, l.prototype.updateGrid = function() {
1086
+ var e, t, n = this.getAllNodes();
1087
+ for (this.grid = this.calcGrid(this.graphManager.getRoot()), e = 0; e < n.length; e++) t = n[e], this.addNodeToGrid(t, this.graphManager.getRoot().getLeft(), this.graphManager.getRoot().getTop());
1088
+ }, l.prototype.calculateRepulsionForceOfANode = function(e, t, n, i) {
1089
+ if (this.totalIterations % a.GRID_CALCULATION_CHECK_PERIOD == 1 && n || i) {
1090
+ var o = /* @__PURE__ */ new Set();
1091
+ e.surrounding = [];
1092
+ for (var s, c = this.grid, l = e.startX - 1; l < e.finishX + 2; l++) for (var u = e.startY - 1; u < e.finishY + 2; u++) if (!(l < 0 || u < 0 || l >= c.length || u >= c[0].length)) {
1093
+ for (var d = 0; d < c[l][u].length; d++) if (s = c[l][u][d], !(e.getOwner() != s.getOwner() || e == s) && !t.has(s) && !o.has(s)) {
1094
+ var f = Math.abs(e.getCenterX() - s.getCenterX()) - (e.getWidth() / 2 + s.getWidth() / 2), p = Math.abs(e.getCenterY() - s.getCenterY()) - (e.getHeight() / 2 + s.getHeight() / 2);
1095
+ f <= this.repulsionRange && p <= this.repulsionRange && o.add(s);
1096
+ }
1097
+ }
1098
+ e.surrounding = [].concat(r(o));
1099
+ }
1100
+ for (l = 0; l < e.surrounding.length; l++) this.calcRepulsionForce(e, e.surrounding[l]);
1101
+ }, l.prototype.calcRepulsionRange = function() {
1102
+ return 0;
1103
+ }, e.exports = l;
1104
+ }),
1105
+ (function(e, t, n) {
1106
+ var r = n(1), i = n(7);
1107
+ function a(e, t, n) {
1108
+ r.call(this, e, t, n), this.idealLength = i.DEFAULT_EDGE_LENGTH;
1109
+ }
1110
+ for (var o in a.prototype = Object.create(r.prototype), r) a[o] = r[o];
1111
+ e.exports = a;
1112
+ }),
1113
+ (function(e, t, n) {
1114
+ var r = n(3);
1115
+ function i(e, t, n, i) {
1116
+ r.call(this, e, t, n, i), 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 = [];
1117
+ }
1118
+ for (var a in i.prototype = Object.create(r.prototype), r) i[a] = r[a];
1119
+ i.prototype.setGridCoordinates = function(e, t, n, r) {
1120
+ this.startX = e, this.finishX = t, this.startY = n, this.finishY = r;
1121
+ }, e.exports = i;
1122
+ }),
1123
+ (function(e, t, n) {
1124
+ function r(e, t) {
1125
+ this.width = 0, this.height = 0, e !== null && t !== null && (this.height = t, this.width = e);
1126
+ }
1127
+ r.prototype.getWidth = function() {
1128
+ return this.width;
1129
+ }, r.prototype.setWidth = function(e) {
1130
+ this.width = e;
1131
+ }, r.prototype.getHeight = function() {
1132
+ return this.height;
1133
+ }, r.prototype.setHeight = function(e) {
1134
+ this.height = e;
1135
+ }, e.exports = r;
1136
+ }),
1137
+ (function(e, t, n) {
1138
+ var r = n(14);
1139
+ function i() {
1140
+ this.map = {}, this.keys = [];
1141
+ }
1142
+ i.prototype.put = function(e, t) {
1143
+ var n = r.createID(e);
1144
+ this.contains(n) || (this.map[n] = t, this.keys.push(e));
1145
+ }, i.prototype.contains = function(e) {
1146
+ return r.createID(e), this.map[e] != null;
1147
+ }, i.prototype.get = function(e) {
1148
+ var t = r.createID(e);
1149
+ return this.map[t];
1150
+ }, i.prototype.keySet = function() {
1151
+ return this.keys;
1152
+ }, e.exports = i;
1153
+ }),
1154
+ (function(e, t, n) {
1155
+ var r = n(14);
1156
+ function i() {
1157
+ this.set = {};
1158
+ }
1159
+ i.prototype.add = function(e) {
1160
+ var t = r.createID(e);
1161
+ this.contains(t) || (this.set[t] = e);
1162
+ }, i.prototype.remove = function(e) {
1163
+ delete this.set[r.createID(e)];
1164
+ }, i.prototype.clear = function() {
1165
+ this.set = {};
1166
+ }, i.prototype.contains = function(e) {
1167
+ return this.set[r.createID(e)] == e;
1168
+ }, i.prototype.isEmpty = function() {
1169
+ return this.size() === 0;
1170
+ }, i.prototype.size = function() {
1171
+ return Object.keys(this.set).length;
1172
+ }, i.prototype.addAllTo = function(e) {
1173
+ for (var t = Object.keys(this.set), n = t.length, r = 0; r < n; r++) e.push(this.set[t[r]]);
1174
+ }, i.prototype.size = function() {
1175
+ return Object.keys(this.set).length;
1176
+ }, i.prototype.addAll = function(e) {
1177
+ for (var t = e.length, n = 0; n < t; n++) {
1178
+ var r = e[n];
1179
+ this.add(r);
1180
+ }
1181
+ }, e.exports = i;
1182
+ }),
1183
+ (function(e, t, n) {
1184
+ var r = function() {
1185
+ function e(e, t) {
1186
+ for (var n = 0; n < t.length; n++) {
1187
+ var r = t[n];
1188
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1189
+ }
1190
+ }
1191
+ return function(t, n, r) {
1192
+ return n && e(t.prototype, n), r && e(t, r), t;
1193
+ };
1194
+ }();
1195
+ function i(e, t) {
1196
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1197
+ }
1198
+ var a = n(11);
1199
+ e.exports = function() {
1200
+ function e(t, n) {
1201
+ i(this, e), (n !== null || n !== void 0) && (this.compareFunction = this._defaultCompareFunction);
1202
+ var r = void 0;
1203
+ r = t instanceof a ? t.size() : t.length, this._quicksort(t, 0, r - 1);
1204
+ }
1205
+ return r(e, [
1206
+ {
1207
+ key: "_quicksort",
1208
+ value: function(e, t, n) {
1209
+ if (t < n) {
1210
+ var r = this._partition(e, t, n);
1211
+ this._quicksort(e, t, r), this._quicksort(e, r + 1, n);
1212
+ }
1213
+ }
1214
+ },
1215
+ {
1216
+ key: "_partition",
1217
+ value: function(e, t, n) {
1218
+ for (var r = this._get(e, t), i = t, a = n;;) {
1219
+ for (; this.compareFunction(r, this._get(e, a));) a--;
1220
+ for (; this.compareFunction(this._get(e, i), r);) i++;
1221
+ if (i < a) this._swap(e, i, a), i++, a--;
1222
+ else return a;
1223
+ }
1224
+ }
1225
+ },
1226
+ {
1227
+ key: "_get",
1228
+ value: function(e, t) {
1229
+ return e instanceof a ? e.get_object_at(t) : e[t];
1230
+ }
1231
+ },
1232
+ {
1233
+ key: "_set",
1234
+ value: function(e, t, n) {
1235
+ e instanceof a ? e.set_object_at(t, n) : e[t] = n;
1236
+ }
1237
+ },
1238
+ {
1239
+ key: "_swap",
1240
+ value: function(e, t, n) {
1241
+ var r = this._get(e, t);
1242
+ this._set(e, t, this._get(e, n)), this._set(e, n, r);
1243
+ }
1244
+ },
1245
+ {
1246
+ key: "_defaultCompareFunction",
1247
+ value: function(e, t) {
1248
+ return t > e;
1249
+ }
1250
+ }
1251
+ ]), e;
1252
+ }();
1253
+ }),
1254
+ (function(e, t, n) {
1255
+ var r = function() {
1256
+ function e(e, t) {
1257
+ for (var n = 0; n < t.length; n++) {
1258
+ var r = t[n];
1259
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1260
+ }
1261
+ }
1262
+ return function(t, n, r) {
1263
+ return n && e(t.prototype, n), r && e(t, r), t;
1264
+ };
1265
+ }();
1266
+ function i(e, t) {
1267
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1268
+ }
1269
+ e.exports = function() {
1270
+ function e(t, n) {
1271
+ var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : -1, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : -1;
1272
+ i(this, e), this.sequence1 = t, this.sequence2 = n, this.match_score = r, this.mismatch_penalty = a, this.gap_penalty = o, this.iMax = t.length + 1, this.jMax = n.length + 1, this.grid = Array(this.iMax);
1273
+ for (var s = 0; s < this.iMax; s++) {
1274
+ this.grid[s] = Array(this.jMax);
1275
+ for (var c = 0; c < this.jMax; c++) this.grid[s][c] = 0;
1276
+ }
1277
+ this.tracebackGrid = Array(this.iMax);
1278
+ for (var l = 0; l < this.iMax; l++) {
1279
+ this.tracebackGrid[l] = Array(this.jMax);
1280
+ for (var u = 0; u < this.jMax; u++) this.tracebackGrid[l][u] = [
1281
+ null,
1282
+ null,
1283
+ null
1284
+ ];
1285
+ }
1286
+ this.alignments = [], this.score = -1, this.computeGrids();
1287
+ }
1288
+ return r(e, [
1289
+ {
1290
+ key: "getScore",
1291
+ value: function() {
1292
+ return this.score;
1293
+ }
1294
+ },
1295
+ {
1296
+ key: "getAlignments",
1297
+ value: function() {
1298
+ return this.alignments;
1299
+ }
1300
+ },
1301
+ {
1302
+ key: "computeGrids",
1303
+ value: function() {
1304
+ for (var e = 1; e < this.jMax; e++) this.grid[0][e] = this.grid[0][e - 1] + this.gap_penalty, this.tracebackGrid[0][e] = [
1305
+ !1,
1306
+ !1,
1307
+ !0
1308
+ ];
1309
+ for (var t = 1; t < this.iMax; t++) this.grid[t][0] = this.grid[t - 1][0] + this.gap_penalty, this.tracebackGrid[t][0] = [
1310
+ !1,
1311
+ !0,
1312
+ !1
1313
+ ];
1314
+ for (var n = 1; n < this.iMax; n++) for (var r = 1; r < this.jMax; r++) {
1315
+ var i = void 0;
1316
+ i = this.sequence1[n - 1] === this.sequence2[r - 1] ? this.grid[n - 1][r - 1] + this.match_score : this.grid[n - 1][r - 1] + this.mismatch_penalty;
1317
+ var a = this.grid[n - 1][r] + this.gap_penalty, o = this.grid[n][r - 1] + this.gap_penalty, s = [
1318
+ i,
1319
+ a,
1320
+ o
1321
+ ], c = this.arrayAllMaxIndexes(s);
1322
+ this.grid[n][r] = s[c[0]], this.tracebackGrid[n][r] = [
1323
+ c.includes(0),
1324
+ c.includes(1),
1325
+ c.includes(2)
1326
+ ];
1327
+ }
1328
+ this.score = this.grid[this.iMax - 1][this.jMax - 1];
1329
+ }
1330
+ },
1331
+ {
1332
+ key: "alignmentTraceback",
1333
+ value: function() {
1334
+ var e = [];
1335
+ for (e.push({
1336
+ pos: [this.sequence1.length, this.sequence2.length],
1337
+ seq1: "",
1338
+ seq2: ""
1339
+ }); e[0];) {
1340
+ var t = e[0], n = this.tracebackGrid[t.pos[0]][t.pos[1]];
1341
+ n[0] && e.push({
1342
+ pos: [t.pos[0] - 1, t.pos[1] - 1],
1343
+ seq1: this.sequence1[t.pos[0] - 1] + t.seq1,
1344
+ seq2: this.sequence2[t.pos[1] - 1] + t.seq2
1345
+ }), n[1] && e.push({
1346
+ pos: [t.pos[0] - 1, t.pos[1]],
1347
+ seq1: this.sequence1[t.pos[0] - 1] + t.seq1,
1348
+ seq2: "-" + t.seq2
1349
+ }), n[2] && e.push({
1350
+ pos: [t.pos[0], t.pos[1] - 1],
1351
+ seq1: "-" + t.seq1,
1352
+ seq2: this.sequence2[t.pos[1] - 1] + t.seq2
1353
+ }), t.pos[0] === 0 && t.pos[1] === 0 && this.alignments.push({
1354
+ sequence1: t.seq1,
1355
+ sequence2: t.seq2
1356
+ }), e.shift();
1357
+ }
1358
+ return this.alignments;
1359
+ }
1360
+ },
1361
+ {
1362
+ key: "getAllIndexes",
1363
+ value: function(e, t) {
1364
+ for (var n = [], r = -1; (r = e.indexOf(t, r + 1)) !== -1;) n.push(r);
1365
+ return n;
1366
+ }
1367
+ },
1368
+ {
1369
+ key: "arrayAllMaxIndexes",
1370
+ value: function(e) {
1371
+ return this.getAllIndexes(e, Math.max.apply(null, e));
1372
+ }
1373
+ }
1374
+ ]), e;
1375
+ }();
1376
+ }),
1377
+ (function(e, t, n) {
1378
+ var r = function() {};
1379
+ r.FDLayout = n(18), r.FDLayoutConstants = n(7), r.FDLayoutEdge = n(19), r.FDLayoutNode = n(20), r.DimensionD = n(21), r.HashMap = n(22), r.HashSet = n(23), r.IGeometry = n(8), r.IMath = n(9), r.Integer = n(10), r.Point = n(12), r.PointD = n(4), r.RandomSeed = n(16), r.RectangleD = n(13), r.Transform = n(17), r.UniqueIDGeneretor = n(14), r.Quicksort = n(24), r.LinkedList = n(11), r.LGraphObject = n(2), r.LGraph = n(5), r.LEdge = n(1), r.LGraphManager = n(6), r.LNode = n(3), r.Layout = n(15), r.LayoutConstants = n(0), r.NeedlemanWunsch = n(25), e.exports = r;
1380
+ }),
1381
+ (function(e, t, n) {
1382
+ function r() {
1383
+ this.listeners = [];
1384
+ }
1385
+ var i = r.prototype;
1386
+ i.addListener = function(e, t) {
1387
+ this.listeners.push({
1388
+ event: e,
1389
+ callback: t
1390
+ });
1391
+ }, i.removeListener = function(e, t) {
1392
+ for (var n = this.listeners.length; n >= 0; n--) {
1393
+ var r = this.listeners[n];
1394
+ r.event === e && r.callback === t && this.listeners.splice(n, 1);
1395
+ }
1396
+ }, i.emit = function(e, t) {
1397
+ for (var n = 0; n < this.listeners.length; n++) {
1398
+ var r = this.listeners[n];
1399
+ e === r.event && r.callback(t);
1400
+ }
1401
+ }, e.exports = r;
1402
+ })
1403
+ ]);
1404
+ });
1405
+ }));
1406
+ export default require_layout_base();
1407
+ export { require_layout_base };