@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,1635 @@
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 = 28);
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(5);
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 && (this.labelPosHorizontal == "left" ? (this.rect.x -= this.labelWidth, this.setWidth(t + this.labelWidth)) : this.labelPosHorizontal == "center" && this.labelWidth > t ? (this.rect.x -= (this.labelWidth - t) / 2, this.setWidth(this.labelWidth)) : this.labelPosHorizontal == "right" && this.setWidth(t + this.labelWidth)), this.labelHeight && (this.labelPosVertical == "top" ? (this.rect.y -= this.labelHeight, this.setHeight(n + this.labelHeight)) : this.labelPosVertical == "center" && this.labelHeight > n ? (this.rect.y -= (this.labelHeight - n) / 2, this.setHeight(this.labelHeight)) : this.labelPosVertical == "bottom" && this.setHeight(n + 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
+ var r = n(0);
212
+ function i() {}
213
+ for (var a in r) i[a] = r[a];
214
+ 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;
215
+ }),
216
+ (function(e, t, n) {
217
+ function r(e, t) {
218
+ e == null && t == null ? (this.x = 0, this.y = 0) : (this.x = e, this.y = t);
219
+ }
220
+ r.prototype.getX = function() {
221
+ return this.x;
222
+ }, r.prototype.getY = function() {
223
+ return this.y;
224
+ }, r.prototype.setX = function(e) {
225
+ this.x = e;
226
+ }, r.prototype.setY = function(e) {
227
+ this.y = e;
228
+ }, r.prototype.getDifference = function(e) {
229
+ return new DimensionD(this.x - e.x, this.y - e.y);
230
+ }, r.prototype.getCopy = function() {
231
+ return new r(this.x, this.y);
232
+ }, r.prototype.translate = function(e) {
233
+ return this.x += e.width, this.y += e.height, this;
234
+ }, e.exports = r;
235
+ }),
236
+ (function(e, t, n) {
237
+ var r = n(2), i = n(10), a = n(0), o = n(7), s = n(3), c = n(1), l = n(13), u = n(12), d = n(11);
238
+ function f(e, t, n) {
239
+ 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);
240
+ }
241
+ for (var p in f.prototype = Object.create(r.prototype), r) f[p] = r[p];
242
+ f.prototype.getNodes = function() {
243
+ return this.nodes;
244
+ }, f.prototype.getEdges = function() {
245
+ return this.edges;
246
+ }, f.prototype.getGraphManager = function() {
247
+ return this.graphManager;
248
+ }, f.prototype.getParent = function() {
249
+ return this.parent;
250
+ }, f.prototype.getLeft = function() {
251
+ return this.left;
252
+ }, f.prototype.getRight = function() {
253
+ return this.right;
254
+ }, f.prototype.getTop = function() {
255
+ return this.top;
256
+ }, f.prototype.getBottom = function() {
257
+ return this.bottom;
258
+ }, f.prototype.isConnected = function() {
259
+ return this.isConnected;
260
+ }, f.prototype.add = function(e, t, n) {
261
+ if (t == null && n == null) {
262
+ var r = e;
263
+ if (this.graphManager == null) throw "Graph has no graph mgr!";
264
+ if (this.getNodes().indexOf(r) > -1) throw "Node already in graph!";
265
+ return r.owner = this, this.getNodes().push(r), r;
266
+ } else {
267
+ var i = e;
268
+ if (!(this.getNodes().indexOf(t) > -1 && this.getNodes().indexOf(n) > -1)) throw "Source or target not in graph!";
269
+ if (!(t.owner == n.owner && t.owner == this)) throw "Both owners must be this graph!";
270
+ 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;
271
+ }
272
+ }, f.prototype.remove = function(e) {
273
+ var t = e;
274
+ if (e instanceof s) {
275
+ if (t == null) throw "Node is null!";
276
+ if (!(t.owner != null && t.owner == this)) throw "Owner graph is invalid!";
277
+ if (this.graphManager == null) throw "Owner graph manager is invalid!";
278
+ 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);
279
+ var o = this.nodes.indexOf(t);
280
+ if (o == -1) throw "Node not in owner node list!";
281
+ this.nodes.splice(o, 1);
282
+ } else if (e instanceof c) {
283
+ var r = e;
284
+ if (r == null) throw "Edge is null!";
285
+ if (!(r.source != null && r.target != null)) throw "Source and/or target is null!";
286
+ 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!";
287
+ var l = r.source.edges.indexOf(r), u = r.target.edges.indexOf(r);
288
+ if (!(l > -1 && u > -1)) throw "Source and/or target doesn't know this edge!";
289
+ r.source.edges.splice(l, 1), r.target != r.source && r.target.edges.splice(u, 1);
290
+ var o = r.source.owner.getEdges().indexOf(r);
291
+ if (o == -1) throw "Not in owner's edge list!";
292
+ r.source.owner.getEdges().splice(o, 1);
293
+ }
294
+ }, f.prototype.updateLeftTop = function() {
295
+ for (var e = i.MAX_VALUE, t = i.MAX_VALUE, n, r, a, o = this.getNodes(), s = o.length, c = 0; c < s; c++) {
296
+ var l = o[c];
297
+ n = l.getTop(), r = l.getLeft(), e > n && (e = n), t > r && (t = r);
298
+ }
299
+ 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));
300
+ }, f.prototype.updateBounds = function(e) {
301
+ 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++) {
302
+ var h = f[m];
303
+ 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);
304
+ }
305
+ var g = new l(t, r, n - t, a - r);
306
+ 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;
307
+ }, f.calculateBounds = function(e) {
308
+ 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++) {
309
+ var p = e[f];
310
+ 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);
311
+ }
312
+ return new l(t, r, n - t, a - r);
313
+ }, f.prototype.getInclusionTreeDepth = function() {
314
+ return this == this.graphManager.getRoot() ? 1 : this.parent.getInclusionTreeDepth();
315
+ }, f.prototype.getEstimatedSize = function() {
316
+ if (this.estimatedSize == i.MIN_VALUE) throw "assert failed";
317
+ return this.estimatedSize;
318
+ }, f.prototype.calcEstimatedSize = function() {
319
+ for (var e = 0, t = this.nodes, n = t.length, r = 0; r < n; r++) {
320
+ var i = t[r];
321
+ e += i.calcEstimatedSize();
322
+ }
323
+ return e == 0 ? this.estimatedSize = a.EMPTY_COMPOUND_NODE_SIZE : this.estimatedSize = e / Math.sqrt(this.nodes.length), this.estimatedSize;
324
+ }, f.prototype.updateConnected = function() {
325
+ var e = this;
326
+ if (this.nodes.length == 0) {
327
+ this.isConnected = !0;
328
+ return;
329
+ }
330
+ var t = new d(), n = /* @__PURE__ */ new Set(), r = this.nodes[0], i, a;
331
+ for (r.withChildren().forEach(function(e) {
332
+ t.push(e), n.add(e);
333
+ }); t.length !== 0;) {
334
+ r = t.shift(), i = r.getEdges();
335
+ 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) {
336
+ t.push(e), n.add(e);
337
+ });
338
+ }
339
+ if (this.isConnected = !1, n.size >= this.nodes.length) {
340
+ var c = 0;
341
+ n.forEach(function(t) {
342
+ t.owner == e && c++;
343
+ }), c == this.nodes.length && (this.isConnected = !0);
344
+ }
345
+ }, e.exports = f;
346
+ }),
347
+ (function(e, t, n) {
348
+ var r, i = n(1);
349
+ function a(e) {
350
+ r = n(6), this.layout = e, this.graphs = [], this.edges = [];
351
+ }
352
+ a.prototype.addRoot = function() {
353
+ var e = this.layout.newGraph(), t = this.layout.newNode(null), n = this.add(e, t);
354
+ return this.setRootGraph(n), this.rootGraph;
355
+ }, a.prototype.add = function(e, t, n, r, i) {
356
+ if (n == null && r == null && i == null) {
357
+ if (e == null) throw "Graph is null!";
358
+ if (t == null) throw "Parent node is null!";
359
+ if (this.graphs.indexOf(e) > -1) throw "Graph already in this graph mgr!";
360
+ if (this.graphs.push(e), e.parent != null) throw "Already has a parent!";
361
+ if (t.child != null) throw "Already has a child!";
362
+ return e.parent = t, t.child = e, e;
363
+ } else {
364
+ i = n, r = t, n = e;
365
+ var a = r.getOwner(), o = i.getOwner();
366
+ if (!(a != null && a.getGraphManager() == this)) throw "Source not in this graph mgr!";
367
+ if (!(o != null && o.getGraphManager() == this)) throw "Target not in this graph mgr!";
368
+ if (a == o) return n.isInterGraph = !1, a.add(n, r, i);
369
+ if (n.isInterGraph = !0, n.source = r, n.target = i, this.edges.indexOf(n) > -1) throw "Edge already in inter-graph edge list!";
370
+ if (this.edges.push(n), !(n.source != null && n.target != null)) throw "Edge source and/or target is null!";
371
+ if (!(n.source.edges.indexOf(n) == -1 && n.target.edges.indexOf(n) == -1)) throw "Edge already in source and/or target incidency list!";
372
+ return n.source.edges.push(n), n.target.edges.push(n), n;
373
+ }
374
+ }, a.prototype.remove = function(e) {
375
+ if (e instanceof r) {
376
+ var t = e;
377
+ if (t.getGraphManager() != this) throw "Graph not in this graph mgr";
378
+ if (!(t == this.rootGraph || t.parent != null && t.parent.graphManager == this)) throw "Invalid parent node!";
379
+ var n = [];
380
+ n = n.concat(t.getEdges());
381
+ for (var a, o = n.length, s = 0; s < o; s++) a = n[s], t.remove(a);
382
+ var c = [];
383
+ c = c.concat(t.getNodes());
384
+ var l;
385
+ o = c.length;
386
+ for (var s = 0; s < o; s++) l = c[s], t.remove(l);
387
+ t == this.rootGraph && this.setRootGraph(null);
388
+ var u = this.graphs.indexOf(t);
389
+ this.graphs.splice(u, 1), t.parent = null;
390
+ } else if (e instanceof i) {
391
+ if (a = e, a == null) throw "Edge is null!";
392
+ if (!a.isInterGraph) throw "Not an inter-graph edge!";
393
+ if (!(a.source != null && a.target != null)) throw "Source and/or target is null!";
394
+ if (!(a.source.edges.indexOf(a) != -1 && a.target.edges.indexOf(a) != -1)) throw "Source and/or target doesn't know this edge!";
395
+ var u = a.source.edges.indexOf(a);
396
+ 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!";
397
+ if (a.source.owner.getGraphManager().edges.indexOf(a) == -1) throw "Not in owner graph manager's edge list!";
398
+ var u = a.source.owner.getGraphManager().edges.indexOf(a);
399
+ a.source.owner.getGraphManager().edges.splice(u, 1);
400
+ }
401
+ }, a.prototype.updateBounds = function() {
402
+ this.rootGraph.updateBounds(!0);
403
+ }, a.prototype.getGraphs = function() {
404
+ return this.graphs;
405
+ }, a.prototype.getAllNodes = function() {
406
+ if (this.allNodes == null) {
407
+ for (var e = [], t = this.getGraphs(), n = t.length, r = 0; r < n; r++) e = e.concat(t[r].getNodes());
408
+ this.allNodes = e;
409
+ }
410
+ return this.allNodes;
411
+ }, a.prototype.resetAllNodes = function() {
412
+ this.allNodes = null;
413
+ }, a.prototype.resetAllEdges = function() {
414
+ this.allEdges = null;
415
+ }, a.prototype.resetAllNodesToApplyGravitation = function() {
416
+ this.allNodesToApplyGravitation = null;
417
+ }, a.prototype.getAllEdges = function() {
418
+ if (this.allEdges == null) {
419
+ var e = [], t = this.getGraphs();
420
+ t.length;
421
+ for (var n = 0; n < t.length; n++) e = e.concat(t[n].getEdges());
422
+ e = e.concat(this.edges), this.allEdges = e;
423
+ }
424
+ return this.allEdges;
425
+ }, a.prototype.getAllNodesToApplyGravitation = function() {
426
+ return this.allNodesToApplyGravitation;
427
+ }, a.prototype.setAllNodesToApplyGravitation = function(e) {
428
+ if (this.allNodesToApplyGravitation != null) throw "assert failed";
429
+ this.allNodesToApplyGravitation = e;
430
+ }, a.prototype.getRoot = function() {
431
+ return this.rootGraph;
432
+ }, a.prototype.setRootGraph = function(e) {
433
+ if (e.getGraphManager() != this) throw "Root not in this graph mgr!";
434
+ this.rootGraph = e, e.parent ??= this.layout.newNode("Root node");
435
+ }, a.prototype.getLayout = function() {
436
+ return this.layout;
437
+ }, a.prototype.isOneAncestorOfOther = function(e, t) {
438
+ if (!(e != null && t != null)) throw "assert failed";
439
+ if (e == t) return !0;
440
+ var n = e.getOwner(), r;
441
+ do {
442
+ if (r = n.getParent(), r == null) break;
443
+ if (r == t) return !0;
444
+ if (n = r.getOwner(), n == null) break;
445
+ } while (!0);
446
+ n = t.getOwner();
447
+ do {
448
+ if (r = n.getParent(), r == null) break;
449
+ if (r == e) return !0;
450
+ if (n = r.getOwner(), n == null) break;
451
+ } while (!0);
452
+ return !1;
453
+ }, a.prototype.calcLowestCommonAncestors = function() {
454
+ for (var e, t, n, r, i, a = this.getAllEdges(), o = a.length, s = 0; s < o; s++) {
455
+ if (e = a[s], t = e.source, n = e.target, e.lca = null, e.sourceInLca = t, e.targetInLca = n, t == n) {
456
+ e.lca = t.getOwner();
457
+ continue;
458
+ }
459
+ for (r = t.getOwner(); e.lca == null;) {
460
+ for (e.targetInLca = n, i = n.getOwner(); e.lca == null;) {
461
+ if (i == r) {
462
+ e.lca = i;
463
+ break;
464
+ }
465
+ if (i == this.rootGraph) break;
466
+ if (e.lca != null) throw "assert failed";
467
+ e.targetInLca = i.getParent(), i = e.targetInLca.getOwner();
468
+ }
469
+ if (r == this.rootGraph) break;
470
+ e.lca ?? (e.sourceInLca = r.getParent(), r = e.sourceInLca.getOwner());
471
+ }
472
+ if (e.lca == null) throw "assert failed";
473
+ }
474
+ }, a.prototype.calcLowestCommonAncestor = function(e, t) {
475
+ if (e == t) return e.getOwner();
476
+ var n = e.getOwner();
477
+ do {
478
+ if (n == null) break;
479
+ var r = t.getOwner();
480
+ do {
481
+ if (r == null) break;
482
+ if (r == n) return r;
483
+ r = r.getParent().getOwner();
484
+ } while (!0);
485
+ n = n.getParent().getOwner();
486
+ } while (!0);
487
+ return n;
488
+ }, a.prototype.calcInclusionTreeDepths = function(e, t) {
489
+ e == null && t == null && (e = this.rootGraph, t = 1);
490
+ 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);
491
+ }, a.prototype.includesInvalidEdge = function() {
492
+ for (var e, t = [], n = this.edges.length, r = 0; r < n; r++) e = this.edges[r], this.isOneAncestorOfOther(e.source, e.target) && t.push(e);
493
+ for (var r = 0; r < t.length; r++) this.remove(t[r]);
494
+ return !1;
495
+ }, e.exports = a;
496
+ }),
497
+ (function(e, t, n) {
498
+ var r = n(12);
499
+ function i() {}
500
+ i.calcSeparationAmount = function(e, t, n, r) {
501
+ if (!e.intersects(t)) throw "assert failed";
502
+ var i = [, ,];
503
+ 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()));
504
+ var a = Math.abs((t.getCenterY() - e.getCenterY()) / (t.getCenterX() - e.getCenterX()));
505
+ t.getCenterY() === e.getCenterY() && t.getCenterX() === e.getCenterX() && (a = 1);
506
+ var o = a * n[0], s = n[1] / a;
507
+ 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);
508
+ }, i.decideDirectionsForOverlappingNodes = function(e, t, n) {
509
+ e.getCenterX() < t.getCenterX() ? n[0] = -1 : n[0] = 1, e.getCenterY() < t.getCenterY() ? n[1] = -1 : n[1] = 1;
510
+ }, i.getIntersection2 = function(e, t, n) {
511
+ var r = e.getCenterX(), i = e.getCenterY(), a = t.getCenterX(), o = t.getCenterY();
512
+ if (e.intersects(t)) return n[0] = r, n[1] = i, n[2] = a, n[3] = o, !0;
513
+ 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;
514
+ if (r === a) {
515
+ if (i > o) return n[0] = r, n[1] = c, n[2] = a, n[3] = y, !1;
516
+ if (i < o) return n[0] = r, n[1] = d, n[2] = a, n[3] = g, !1;
517
+ } else if (i === o) {
518
+ if (r > a) return n[0] = s, n[1] = i, n[2] = _, n[3] = o, !1;
519
+ if (r < a) return n[0] = l, n[1] = i, n[2] = h, n[3] = o, !1;
520
+ } else {
521
+ 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;
522
+ 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;
523
+ 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) {
524
+ case 1:
525
+ j = c, A = r + -m / D, n[0] = A, n[1] = j;
526
+ break;
527
+ case 2:
528
+ A = f, j = i + p * D, n[0] = A, n[1] = j;
529
+ break;
530
+ case 3:
531
+ j = d, A = r + m / D, n[0] = A, n[1] = j;
532
+ break;
533
+ case 4:
534
+ A = u, j = i + -p * D, n[0] = A, n[1] = j;
535
+ break;
536
+ }
537
+ if (!w) switch (k) {
538
+ case 1:
539
+ N = g, M = a + -S / D, n[2] = M, n[3] = N;
540
+ break;
541
+ case 2:
542
+ M = b, N = o + x * D, n[2] = M, n[3] = N;
543
+ break;
544
+ case 3:
545
+ N = y, M = a + S / D, n[2] = M, n[3] = N;
546
+ break;
547
+ case 4:
548
+ M = v, N = o + -x * D, n[2] = M, n[3] = N;
549
+ break;
550
+ }
551
+ }
552
+ return !1;
553
+ }, i.getCardinalDirection = function(e, t, n) {
554
+ return e > t ? n : 1 + n % 4;
555
+ }, i.getIntersection = function(e, t, n, i) {
556
+ if (i == null) return this.getIntersection2(e, t, n);
557
+ 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;
558
+ 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));
559
+ }, i.angleOfVector = function(e, t, n, r) {
560
+ var i = void 0;
561
+ 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;
562
+ }, i.doIntersect = function(e, t, n, r) {
563
+ 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);
564
+ if (f === 0) return !1;
565
+ var p = ((d - l) * (u - i) + (c - u) * (d - a)) / f, m = ((a - s) * (u - i) + (o - i) * (d - a)) / f;
566
+ return 0 < p && p < 1 && 0 < m && m < 1;
567
+ }, i.findCircleLineIntersections = function(e, t, n, r, i, a, o) {
568
+ var s = (n - e) * (n - e) + (r - t) * (r - t), c = 2 * ((e - i) * (n - e) + (t - a) * (r - t)), l = (e - i) * (e - i) + (t - a) * (t - a) - o * o;
569
+ if (c * c - 4 * s * l >= 0) {
570
+ var u = (-c + Math.sqrt(c * c - 4 * s * l)) / (2 * s), d = (-c - Math.sqrt(c * c - 4 * s * l)) / (2 * s);
571
+ return u >= 0 && u <= 1 ? [u] : d >= 0 && d <= 1 ? [d] : null;
572
+ } else return null;
573
+ }, 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;
574
+ }),
575
+ (function(e, t, n) {
576
+ function r() {}
577
+ r.sign = function(e) {
578
+ return e > 0 ? 1 : e < 0 ? -1 : 0;
579
+ }, r.floor = function(e) {
580
+ return e < 0 ? Math.ceil(e) : Math.floor(e);
581
+ }, r.ceil = function(e) {
582
+ return e < 0 ? Math.floor(e) : Math.ceil(e);
583
+ }, e.exports = r;
584
+ }),
585
+ (function(e, t, n) {
586
+ function r() {}
587
+ r.MAX_VALUE = 2147483647, r.MIN_VALUE = -2147483648, e.exports = r;
588
+ }),
589
+ (function(e, t, n) {
590
+ var r = function() {
591
+ function e(e, t) {
592
+ for (var n = 0; n < t.length; n++) {
593
+ var r = t[n];
594
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
595
+ }
596
+ }
597
+ return function(t, n, r) {
598
+ return n && e(t.prototype, n), r && e(t, r), t;
599
+ };
600
+ }();
601
+ function i(e, t) {
602
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
603
+ }
604
+ var a = function(e) {
605
+ return {
606
+ value: e,
607
+ next: null,
608
+ prev: null
609
+ };
610
+ }, o = function(e, t, n, r) {
611
+ 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;
612
+ }, s = function(e, t) {
613
+ var n = e.prev, r = e.next;
614
+ 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;
615
+ };
616
+ e.exports = function() {
617
+ function e(t) {
618
+ var n = this;
619
+ i(this, e), this.length = 0, this.head = null, this.tail = null, t?.forEach(function(e) {
620
+ return n.push(e);
621
+ });
622
+ }
623
+ return r(e, [
624
+ {
625
+ key: "size",
626
+ value: function() {
627
+ return this.length;
628
+ }
629
+ },
630
+ {
631
+ key: "insertBefore",
632
+ value: function(e, t) {
633
+ return o(t.prev, a(e), t, this);
634
+ }
635
+ },
636
+ {
637
+ key: "insertAfter",
638
+ value: function(e, t) {
639
+ return o(t, a(e), t.next, this);
640
+ }
641
+ },
642
+ {
643
+ key: "insertNodeBefore",
644
+ value: function(e, t) {
645
+ return o(t.prev, e, t, this);
646
+ }
647
+ },
648
+ {
649
+ key: "insertNodeAfter",
650
+ value: function(e, t) {
651
+ return o(t, e, t.next, this);
652
+ }
653
+ },
654
+ {
655
+ key: "push",
656
+ value: function(e) {
657
+ return o(this.tail, a(e), null, this);
658
+ }
659
+ },
660
+ {
661
+ key: "unshift",
662
+ value: function(e) {
663
+ return o(null, a(e), this.head, this);
664
+ }
665
+ },
666
+ {
667
+ key: "remove",
668
+ value: function(e) {
669
+ return s(e, this);
670
+ }
671
+ },
672
+ {
673
+ key: "pop",
674
+ value: function() {
675
+ return s(this.tail, this).value;
676
+ }
677
+ },
678
+ {
679
+ key: "popNode",
680
+ value: function() {
681
+ return s(this.tail, this);
682
+ }
683
+ },
684
+ {
685
+ key: "shift",
686
+ value: function() {
687
+ return s(this.head, this).value;
688
+ }
689
+ },
690
+ {
691
+ key: "shiftNode",
692
+ value: function() {
693
+ return s(this.head, this);
694
+ }
695
+ },
696
+ {
697
+ key: "get_object_at",
698
+ value: function(e) {
699
+ if (e <= this.length()) {
700
+ for (var t = 1, n = this.head; t < e;) n = n.next, t++;
701
+ return n.value;
702
+ }
703
+ }
704
+ },
705
+ {
706
+ key: "set_object_at",
707
+ value: function(e, t) {
708
+ if (e <= this.length()) {
709
+ for (var n = 1, r = this.head; n < e;) r = r.next, n++;
710
+ r.value = t;
711
+ }
712
+ }
713
+ }
714
+ ]), e;
715
+ }();
716
+ }),
717
+ (function(e, t, n) {
718
+ function r(e, t, n) {
719
+ 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);
720
+ }
721
+ r.prototype.getX = function() {
722
+ return this.x;
723
+ }, r.prototype.getY = function() {
724
+ return this.y;
725
+ }, r.prototype.getLocation = function() {
726
+ return new r(this.x, this.y);
727
+ }, r.prototype.setLocation = function(e, t, n) {
728
+ 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)));
729
+ }, r.prototype.move = function(e, t) {
730
+ this.x = e, this.y = t;
731
+ }, r.prototype.translate = function(e, t) {
732
+ this.x += e, this.y += t;
733
+ }, r.prototype.equals = function(e) {
734
+ if (e.constructor.name == "Point") {
735
+ var t = e;
736
+ return this.x == t.x && this.y == t.y;
737
+ }
738
+ return this == e;
739
+ }, r.prototype.toString = function() {
740
+ return new r().constructor.name + "[x=" + this.x + ",y=" + this.y + "]";
741
+ }, e.exports = r;
742
+ }),
743
+ (function(e, t, n) {
744
+ function r(e, t, n, r) {
745
+ 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);
746
+ }
747
+ r.prototype.getX = function() {
748
+ return this.x;
749
+ }, r.prototype.setX = function(e) {
750
+ this.x = e;
751
+ }, r.prototype.getY = function() {
752
+ return this.y;
753
+ }, r.prototype.setY = function(e) {
754
+ this.y = e;
755
+ }, r.prototype.getWidth = function() {
756
+ return this.width;
757
+ }, r.prototype.setWidth = function(e) {
758
+ this.width = e;
759
+ }, r.prototype.getHeight = function() {
760
+ return this.height;
761
+ }, r.prototype.setHeight = function(e) {
762
+ this.height = e;
763
+ }, r.prototype.getRight = function() {
764
+ return this.x + this.width;
765
+ }, r.prototype.getBottom = function() {
766
+ return this.y + this.height;
767
+ }, r.prototype.intersects = function(e) {
768
+ return !(this.getRight() < e.x || this.getBottom() < e.y || e.getRight() < this.x || e.getBottom() < this.y);
769
+ }, r.prototype.getCenterX = function() {
770
+ return this.x + this.width / 2;
771
+ }, r.prototype.getMinX = function() {
772
+ return this.getX();
773
+ }, r.prototype.getMaxX = function() {
774
+ return this.getX() + this.width;
775
+ }, r.prototype.getCenterY = function() {
776
+ return this.y + this.height / 2;
777
+ }, r.prototype.getMinY = function() {
778
+ return this.getY();
779
+ }, r.prototype.getMaxY = function() {
780
+ return this.getY() + this.height;
781
+ }, r.prototype.getWidthHalf = function() {
782
+ return this.width / 2;
783
+ }, r.prototype.getHeightHalf = function() {
784
+ return this.height / 2;
785
+ }, e.exports = r;
786
+ }),
787
+ (function(e, t, n) {
788
+ var r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
789
+ return typeof e;
790
+ } : function(e) {
791
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
792
+ };
793
+ function i() {}
794
+ i.lastID = 0, i.createID = function(e) {
795
+ return i.isPrimitive(e) ? e : e.uniqueID == null ? (e.uniqueID = i.getString(), i.lastID++, e.uniqueID) : e.uniqueID;
796
+ }, i.getString = function(e) {
797
+ return e ??= i.lastID, "Object#" + e;
798
+ }, i.isPrimitive = function(e) {
799
+ var t = e === void 0 ? "undefined" : r(e);
800
+ return e == null || t != "object" && t != "function";
801
+ }, e.exports = i;
802
+ }),
803
+ (function(e, t, n) {
804
+ function r(e) {
805
+ if (Array.isArray(e)) {
806
+ for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t];
807
+ return n;
808
+ } else return Array.from(e);
809
+ }
810
+ var i = n(0), a = n(7), o = n(3), s = n(1), c = n(6), l = n(5), u = n(17), d = n(29);
811
+ function f(e) {
812
+ 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);
813
+ }
814
+ f.RANDOM_SEED = 1, f.prototype = Object.create(d.prototype), f.prototype.getGraphManager = function() {
815
+ return this.graphManager;
816
+ }, f.prototype.getAllNodes = function() {
817
+ return this.graphManager.getAllNodes();
818
+ }, f.prototype.getAllEdges = function() {
819
+ return this.graphManager.getAllEdges();
820
+ }, f.prototype.getAllNodesToApplyGravitation = function() {
821
+ return this.graphManager.getAllNodesToApplyGravitation();
822
+ }, f.prototype.newGraphManager = function() {
823
+ var e = new a(this);
824
+ return this.graphManager = e, e;
825
+ }, f.prototype.newGraph = function(e) {
826
+ return new c(null, this.graphManager, e);
827
+ }, f.prototype.newNode = function(e) {
828
+ return new o(this.graphManager, e);
829
+ }, f.prototype.newEdge = function(e) {
830
+ return new s(null, null, e);
831
+ }, f.prototype.checkLayoutSuccess = function() {
832
+ return this.graphManager.getRoot() == null || this.graphManager.getRoot().getNodes().length == 0 || this.graphManager.includesInvalidEdge();
833
+ }, f.prototype.runLayout = function() {
834
+ this.isLayoutFinished = !1, this.tilingPreLayout && this.tilingPreLayout(), this.initParameters();
835
+ var e = this.checkLayoutSuccess() ? !1 : this.layout();
836
+ return i.ANIMATE === "during" ? !1 : (e && (this.isSubLayout || this.doPostLayout()), this.tilingPostLayout && this.tilingPostLayout(), this.isLayoutFinished = !0, e);
837
+ }, f.prototype.doPostLayout = function() {
838
+ this.incremental || this.transform(), this.update();
839
+ }, f.prototype.update2 = function() {
840
+ if (this.createBendsAsNeeded && (this.createBendpointsFromDummyNodes(), this.graphManager.resetAllEdges()), !this.isRemoteUse) {
841
+ for (var e = this.graphManager.getAllEdges(), t = 0; t < e.length; t++) e[t];
842
+ for (var n = this.graphManager.getRoot().getNodes(), t = 0; t < n.length; t++) n[t];
843
+ this.update(this.graphManager.getRoot());
844
+ }
845
+ }, f.prototype.update = function(e) {
846
+ if (e == null) this.update2();
847
+ else if (e instanceof o) {
848
+ var t = e;
849
+ if (t.getChild() != null) for (var n = t.getChild().getNodes(), r = 0; r < n.length; r++) update(n[r]);
850
+ t.vGraphObject != null && t.vGraphObject.update(t);
851
+ } else if (e instanceof s) {
852
+ var i = e;
853
+ i.vGraphObject != null && i.vGraphObject.update(i);
854
+ } else if (e instanceof c) {
855
+ var a = e;
856
+ a.vGraphObject != null && a.vGraphObject.update(a);
857
+ }
858
+ }, f.prototype.initParameters = function() {
859
+ 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);
860
+ }, f.prototype.transform = function(e) {
861
+ if (e == null) this.transform(new l(0, 0));
862
+ else {
863
+ var t = new u(), n = this.graphManager.getRoot().updateLeftTop();
864
+ if (n != null) {
865
+ t.setWorldOrgX(e.x), t.setWorldOrgY(e.y), t.setDeviceOrgX(n.x), t.setDeviceOrgY(n.y);
866
+ for (var r = this.getAllNodes(), i, a = 0; a < r.length; a++) i = r[a], i.transform(t);
867
+ }
868
+ }
869
+ }, f.prototype.positionNodesRandomly = function(e) {
870
+ if (e == null) this.positionNodesRandomly(this.getGraphManager().getRoot()), this.getGraphManager().getRoot().updateBounds(!0);
871
+ 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());
872
+ }, f.prototype.getFlatForest = function() {
873
+ for (var e = [], t = !0, n = this.graphManager.getRoot().getNodes(), i = !0, a = 0; a < n.length; a++) n[a].getChild() != null && (i = !1);
874
+ if (!i) return e;
875
+ var o = /* @__PURE__ */ new Set(), s = [], c = /* @__PURE__ */ new Map(), l = [];
876
+ for (l = l.concat(n); l.length > 0 && t;) {
877
+ for (s.push(l[0]); s.length > 0 && t;) {
878
+ var u = s[0];
879
+ s.splice(0, 1), o.add(u);
880
+ for (var d = u.getEdges(), a = 0; a < d.length; a++) {
881
+ var f = d[a].getOtherEnd(u);
882
+ if (c.get(u) != f) if (!o.has(f)) s.push(f), c.set(f, u);
883
+ else {
884
+ t = !1;
885
+ break;
886
+ }
887
+ }
888
+ }
889
+ if (!t) e = [];
890
+ else {
891
+ var p = [].concat(r(o));
892
+ e.push(p);
893
+ for (var a = 0; a < p.length; a++) {
894
+ var m = p[a], h = l.indexOf(m);
895
+ h > -1 && l.splice(h, 1);
896
+ }
897
+ o = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Map();
898
+ }
899
+ }
900
+ return e;
901
+ }, f.prototype.createDummyNodesForBendpoints = function(e) {
902
+ for (var t = [], n = e.source, r = this.graphManager.calcLowestCommonAncestor(e.source, e.target), i = 0; i < e.bendpoints.length; i++) {
903
+ var a = this.newNode(null);
904
+ a.setRect(new Point(0, 0), new Dimension(1, 1)), r.add(a);
905
+ var o = this.newEdge(null);
906
+ this.graphManager.add(o, n, a), t.add(a), n = a;
907
+ }
908
+ var o = this.newEdge(null);
909
+ return this.graphManager.add(o, n, e.target), this.edgeToDummyNodes.set(e, t), e.isInterGraph() ? this.graphManager.remove(e) : r.remove(e), t;
910
+ }, f.prototype.createBendpointsFromDummyNodes = function() {
911
+ var e = [];
912
+ e = e.concat(this.graphManager.getAllEdges()), e = [].concat(r(this.edgeToDummyNodes.keys()), e);
913
+ for (var t = 0; t < e.length; t++) {
914
+ var n = e[t];
915
+ if (n.bendpoints.length > 0) {
916
+ for (var i = this.edgeToDummyNodes.get(n), a = 0; a < i.length; a++) {
917
+ var o = i[a], s = new l(o.getCenterX(), o.getCenterY()), c = n.bendpoints.get(a);
918
+ c.x = s.x, c.y = s.y, o.getOwner().remove(o);
919
+ }
920
+ this.graphManager.add(n, n.source, n.target);
921
+ }
922
+ }
923
+ }, f.transform = function(e, t, n, r) {
924
+ if (n != null && r != null) {
925
+ var i = t;
926
+ if (e <= 50) {
927
+ var a = t / n;
928
+ i -= (t - a) / 50 * (50 - e);
929
+ } else {
930
+ var o = t * r;
931
+ i += (o - t) / 50 * (e - 50);
932
+ }
933
+ return i;
934
+ } else {
935
+ var s, c;
936
+ return e <= 50 ? (s = 9 * t / 500, c = t / 10) : (s = 9 * t / 50, c = -8 * t), s * e + c;
937
+ }
938
+ }, f.findCenterOfTree = function(e) {
939
+ var t = [];
940
+ t = t.concat(e);
941
+ var n = [], r = /* @__PURE__ */ new Map(), i = !1, a = null;
942
+ (t.length == 1 || t.length == 2) && (i = !0, a = t[0]);
943
+ for (var o = 0; o < t.length; o++) {
944
+ var s = t[o], c = s.getNeighborsList().size;
945
+ r.set(s, s.getNeighborsList().size), c == 1 && n.push(s);
946
+ }
947
+ var l = [];
948
+ for (l = l.concat(n); !i;) {
949
+ var u = [];
950
+ u = u.concat(l), l = [];
951
+ for (var o = 0; o < t.length; o++) {
952
+ var s = t[o], d = t.indexOf(s);
953
+ d >= 0 && t.splice(d, 1), s.getNeighborsList().forEach(function(e) {
954
+ if (n.indexOf(e) < 0) {
955
+ var t = r.get(e) - 1;
956
+ t == 1 && l.push(e), r.set(e, t);
957
+ }
958
+ });
959
+ }
960
+ n = n.concat(l), (t.length == 1 || t.length == 2) && (i = !0, a = t[0]);
961
+ }
962
+ return a;
963
+ }, f.prototype.setGraphManager = function(e) {
964
+ this.graphManager = e;
965
+ }, e.exports = f;
966
+ }),
967
+ (function(e, t, n) {
968
+ function r() {}
969
+ r.seed = 1, r.x = 0, r.nextDouble = function() {
970
+ return r.x = Math.sin(r.seed++) * 1e4, r.x - Math.floor(r.x);
971
+ }, e.exports = r;
972
+ }),
973
+ (function(e, t, n) {
974
+ var r = n(5);
975
+ function i(e, t) {
976
+ this.lworldOrgX = 0, this.lworldOrgY = 0, this.ldeviceOrgX = 0, this.ldeviceOrgY = 0, this.lworldExtX = 1, this.lworldExtY = 1, this.ldeviceExtX = 1, this.ldeviceExtY = 1;
977
+ }
978
+ i.prototype.getWorldOrgX = function() {
979
+ return this.lworldOrgX;
980
+ }, i.prototype.setWorldOrgX = function(e) {
981
+ this.lworldOrgX = e;
982
+ }, i.prototype.getWorldOrgY = function() {
983
+ return this.lworldOrgY;
984
+ }, i.prototype.setWorldOrgY = function(e) {
985
+ this.lworldOrgY = e;
986
+ }, i.prototype.getWorldExtX = function() {
987
+ return this.lworldExtX;
988
+ }, i.prototype.setWorldExtX = function(e) {
989
+ this.lworldExtX = e;
990
+ }, i.prototype.getWorldExtY = function() {
991
+ return this.lworldExtY;
992
+ }, i.prototype.setWorldExtY = function(e) {
993
+ this.lworldExtY = e;
994
+ }, i.prototype.getDeviceOrgX = function() {
995
+ return this.ldeviceOrgX;
996
+ }, i.prototype.setDeviceOrgX = function(e) {
997
+ this.ldeviceOrgX = e;
998
+ }, i.prototype.getDeviceOrgY = function() {
999
+ return this.ldeviceOrgY;
1000
+ }, i.prototype.setDeviceOrgY = function(e) {
1001
+ this.ldeviceOrgY = e;
1002
+ }, i.prototype.getDeviceExtX = function() {
1003
+ return this.ldeviceExtX;
1004
+ }, i.prototype.setDeviceExtX = function(e) {
1005
+ this.ldeviceExtX = e;
1006
+ }, i.prototype.getDeviceExtY = function() {
1007
+ return this.ldeviceExtY;
1008
+ }, i.prototype.setDeviceExtY = function(e) {
1009
+ this.ldeviceExtY = e;
1010
+ }, i.prototype.transformX = function(e) {
1011
+ var t = 0, n = this.lworldExtX;
1012
+ return n != 0 && (t = this.ldeviceOrgX + (e - this.lworldOrgX) * this.ldeviceExtX / n), t;
1013
+ }, i.prototype.transformY = function(e) {
1014
+ var t = 0, n = this.lworldExtY;
1015
+ return n != 0 && (t = this.ldeviceOrgY + (e - this.lworldOrgY) * this.ldeviceExtY / n), t;
1016
+ }, i.prototype.inverseTransformX = function(e) {
1017
+ var t = 0, n = this.ldeviceExtX;
1018
+ return n != 0 && (t = this.lworldOrgX + (e - this.ldeviceOrgX) * this.lworldExtX / n), t;
1019
+ }, i.prototype.inverseTransformY = function(e) {
1020
+ var t = 0, n = this.ldeviceExtY;
1021
+ return n != 0 && (t = this.lworldOrgY + (e - this.ldeviceOrgY) * this.lworldExtY / n), t;
1022
+ }, i.prototype.inverseTransformPoint = function(e) {
1023
+ return new r(this.inverseTransformX(e.x), this.inverseTransformY(e.y));
1024
+ }, e.exports = i;
1025
+ }),
1026
+ (function(e, t, n) {
1027
+ function r(e) {
1028
+ if (Array.isArray(e)) {
1029
+ for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t];
1030
+ return n;
1031
+ } else return Array.from(e);
1032
+ }
1033
+ var i = n(15), a = n(4), o = n(0), s = n(8), c = n(9);
1034
+ function l() {
1035
+ i.call(this), this.useSmartIdealEdgeLengthCalculation = a.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION, 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;
1036
+ }
1037
+ for (var u in l.prototype = Object.create(i.prototype), i) l[u] = i[u];
1038
+ l.prototype.initParameters = function() {
1039
+ i.prototype.initParameters.call(this, arguments), this.totalIterations = 0, this.notAnimatedIterations = 0, this.useFRGridVariant = a.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION, this.grid = [];
1040
+ }, l.prototype.calcIdealEdgeLengths = function() {
1041
+ for (var e, t, n, r, i, s, c, l = this.getGraphManager().getAllEdges(), u = 0; u < l.length; u++) e = l[u], t = e.idealLength, e.isInterGraph && (r = e.getSource(), i = e.getTarget(), s = e.getSourceInLca().getEstimatedSize(), c = e.getTargetInLca().getEstimatedSize(), this.useSmartIdealEdgeLengthCalculation && (e.idealLength += s + c - 2 * o.SIMPLE_NODE_SIZE), n = e.getLca().getInclusionTreeDepth(), e.idealLength += t * a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR * (r.getInclusionTreeDepth() + i.getInclusionTreeDepth() - 2 * n));
1042
+ }, l.prototype.initSpringEmbedder = function() {
1043
+ var e = this.getAllNodes().length;
1044
+ 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.displacementThresholdPerNode = 3 * a.DEFAULT_EDGE_LENGTH / 100, this.totalDisplacementThreshold = this.displacementThresholdPerNode * this.getAllNodes().length, this.repulsionRange = this.calcRepulsionRange();
1045
+ }, l.prototype.calcSpringForces = function() {
1046
+ for (var e = this.getAllEdges(), t, n = 0; n < e.length; n++) t = e[n], this.calcSpringForce(t, t.idealLength);
1047
+ }, l.prototype.calcRepulsionForces = function() {
1048
+ 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;
1049
+ 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);
1050
+ 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);
1051
+ }, l.prototype.calcGravitationalForces = function() {
1052
+ for (var e, t = this.getAllNodesToApplyGravitation(), n = 0; n < t.length; n++) e = t[n], this.calcGravitationalForce(e);
1053
+ }, l.prototype.moveNodes = function() {
1054
+ for (var e = this.getAllNodes(), t, n = 0; n < e.length; n++) t = e[n], t.move();
1055
+ }, l.prototype.calcSpringForce = function(e, t) {
1056
+ var n = e.getSource(), r = e.getTarget(), i, a, o, s;
1057
+ if (this.uniformLeafNodeSizes && n.getChild() == null && r.getChild() == null) e.updateLengthSimple();
1058
+ else if (e.updateLength(), e.isOverlapingSourceAndTarget) return;
1059
+ i = e.getLength(), i != 0 && (a = e.edgeElasticity * (i - t), o = a * (e.lengthX / i), s = a * (e.lengthY / i), n.springForceX += o, n.springForceY += s, r.springForceX -= o, r.springForceY -= s);
1060
+ }, l.prototype.calcRepulsionForce = function(e, t) {
1061
+ var n = e.getRect(), r = t.getRect(), i = [, ,], o = [
1062
+ ,
1063
+ ,
1064
+ ,
1065
+ ,
1066
+ ], l, u, d, f, p, m, h;
1067
+ if (n.intersects(r)) {
1068
+ s.calcSeparationAmount(n, r, i, a.DEFAULT_EDGE_LENGTH / 2), m = 2 * i[0], h = 2 * i[1];
1069
+ var g = e.noOfChildren * t.noOfChildren / (e.noOfChildren + t.noOfChildren);
1070
+ e.repulsionForceX -= g * m, e.repulsionForceY -= g * h, t.repulsionForceX += g * m, t.repulsionForceY += g * h;
1071
+ } 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 = (e.nodeRepulsion / 2 + t.nodeRepulsion / 2) * 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;
1072
+ }, l.prototype.calcGravitationalForce = function(e) {
1073
+ 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;
1074
+ 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));
1075
+ }, l.prototype.isConverged = function() {
1076
+ var e, t = !1;
1077
+ 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;
1078
+ }, l.prototype.animate = function() {
1079
+ this.animationDuringLayout && !this.isSubLayout && (this.notAnimatedIterations == this.animationPeriod ? (this.update(), this.notAnimatedIterations = 0) : this.notAnimatedIterations++);
1080
+ }, l.prototype.calcNoOfChildrenForAllNodes = function() {
1081
+ for (var e, t = this.graphManager.getAllNodes(), n = 0; n < t.length; n++) e = t[n], e.noOfChildren = e.getNoOfChildren();
1082
+ }, l.prototype.calcGrid = function(e) {
1083
+ var t = 0, n = 0;
1084
+ t = parseInt(Math.ceil((e.getRight() - e.getLeft()) / this.repulsionRange)), n = parseInt(Math.ceil((e.getBottom() - e.getTop()) / this.repulsionRange));
1085
+ for (var r = Array(t), i = 0; i < t; i++) r[i] = Array(n);
1086
+ for (var i = 0; i < t; i++) for (var a = 0; a < n; a++) r[i][a] = [];
1087
+ return r;
1088
+ }, l.prototype.addNodeToGrid = function(e, t, n) {
1089
+ var r = 0, i = 0, a = 0, o = 0;
1090
+ 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));
1091
+ 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);
1092
+ }, l.prototype.updateGrid = function() {
1093
+ var e, t, n = this.getAllNodes();
1094
+ 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());
1095
+ }, l.prototype.calculateRepulsionForceOfANode = function(e, t, n, i) {
1096
+ if (this.totalIterations % a.GRID_CALCULATION_CHECK_PERIOD == 1 && n || i) {
1097
+ var o = /* @__PURE__ */ new Set();
1098
+ e.surrounding = [];
1099
+ 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)) {
1100
+ 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)) {
1101
+ 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);
1102
+ f <= this.repulsionRange && p <= this.repulsionRange && o.add(s);
1103
+ }
1104
+ }
1105
+ e.surrounding = [].concat(r(o));
1106
+ }
1107
+ for (l = 0; l < e.surrounding.length; l++) this.calcRepulsionForce(e, e.surrounding[l]);
1108
+ }, l.prototype.calcRepulsionRange = function() {
1109
+ return 0;
1110
+ }, e.exports = l;
1111
+ }),
1112
+ (function(e, t, n) {
1113
+ var r = n(1), i = n(4);
1114
+ function a(e, t, n) {
1115
+ r.call(this, e, t, n), this.idealLength = i.DEFAULT_EDGE_LENGTH, this.edgeElasticity = i.DEFAULT_SPRING_STRENGTH;
1116
+ }
1117
+ for (var o in a.prototype = Object.create(r.prototype), r) a[o] = r[o];
1118
+ e.exports = a;
1119
+ }),
1120
+ (function(e, t, n) {
1121
+ var r = n(3), i = n(4);
1122
+ function a(e, t, n, a) {
1123
+ r.call(this, e, t, n, a), this.nodeRepulsion = i.DEFAULT_REPULSION_STRENGTH, 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 = [];
1124
+ }
1125
+ for (var o in a.prototype = Object.create(r.prototype), r) a[o] = r[o];
1126
+ a.prototype.setGridCoordinates = function(e, t, n, r) {
1127
+ this.startX = e, this.finishX = t, this.startY = n, this.finishY = r;
1128
+ }, e.exports = a;
1129
+ }),
1130
+ (function(e, t, n) {
1131
+ function r(e, t) {
1132
+ this.width = 0, this.height = 0, e !== null && t !== null && (this.height = t, this.width = e);
1133
+ }
1134
+ r.prototype.getWidth = function() {
1135
+ return this.width;
1136
+ }, r.prototype.setWidth = function(e) {
1137
+ this.width = e;
1138
+ }, r.prototype.getHeight = function() {
1139
+ return this.height;
1140
+ }, r.prototype.setHeight = function(e) {
1141
+ this.height = e;
1142
+ }, e.exports = r;
1143
+ }),
1144
+ (function(e, t, n) {
1145
+ var r = n(14);
1146
+ function i() {
1147
+ this.map = {}, this.keys = [];
1148
+ }
1149
+ i.prototype.put = function(e, t) {
1150
+ var n = r.createID(e);
1151
+ this.contains(n) || (this.map[n] = t, this.keys.push(e));
1152
+ }, i.prototype.contains = function(e) {
1153
+ return r.createID(e), this.map[e] != null;
1154
+ }, i.prototype.get = function(e) {
1155
+ var t = r.createID(e);
1156
+ return this.map[t];
1157
+ }, i.prototype.keySet = function() {
1158
+ return this.keys;
1159
+ }, e.exports = i;
1160
+ }),
1161
+ (function(e, t, n) {
1162
+ var r = n(14);
1163
+ function i() {
1164
+ this.set = {};
1165
+ }
1166
+ i.prototype.add = function(e) {
1167
+ var t = r.createID(e);
1168
+ this.contains(t) || (this.set[t] = e);
1169
+ }, i.prototype.remove = function(e) {
1170
+ delete this.set[r.createID(e)];
1171
+ }, i.prototype.clear = function() {
1172
+ this.set = {};
1173
+ }, i.prototype.contains = function(e) {
1174
+ return this.set[r.createID(e)] == e;
1175
+ }, i.prototype.isEmpty = function() {
1176
+ return this.size() === 0;
1177
+ }, i.prototype.size = function() {
1178
+ return Object.keys(this.set).length;
1179
+ }, i.prototype.addAllTo = function(e) {
1180
+ for (var t = Object.keys(this.set), n = t.length, r = 0; r < n; r++) e.push(this.set[t[r]]);
1181
+ }, i.prototype.size = function() {
1182
+ return Object.keys(this.set).length;
1183
+ }, i.prototype.addAll = function(e) {
1184
+ for (var t = e.length, n = 0; n < t; n++) {
1185
+ var r = e[n];
1186
+ this.add(r);
1187
+ }
1188
+ }, e.exports = i;
1189
+ }),
1190
+ (function(e, t, n) {
1191
+ function r() {}
1192
+ r.multMat = function(e, t) {
1193
+ for (var n = [], r = 0; r < e.length; r++) {
1194
+ n[r] = [];
1195
+ for (var i = 0; i < t[0].length; i++) {
1196
+ n[r][i] = 0;
1197
+ for (var a = 0; a < e[0].length; a++) n[r][i] += e[r][a] * t[a][i];
1198
+ }
1199
+ }
1200
+ return n;
1201
+ }, r.transpose = function(e) {
1202
+ for (var t = [], n = 0; n < e[0].length; n++) {
1203
+ t[n] = [];
1204
+ for (var r = 0; r < e.length; r++) t[n][r] = e[r][n];
1205
+ }
1206
+ return t;
1207
+ }, r.multCons = function(e, t) {
1208
+ for (var n = [], r = 0; r < e.length; r++) n[r] = e[r] * t;
1209
+ return n;
1210
+ }, r.minusOp = function(e, t) {
1211
+ for (var n = [], r = 0; r < e.length; r++) n[r] = e[r] - t[r];
1212
+ return n;
1213
+ }, r.dotProduct = function(e, t) {
1214
+ for (var n = 0, r = 0; r < e.length; r++) n += e[r] * t[r];
1215
+ return n;
1216
+ }, r.mag = function(e) {
1217
+ return Math.sqrt(this.dotProduct(e, e));
1218
+ }, r.normalize = function(e) {
1219
+ for (var t = [], n = this.mag(e), r = 0; r < e.length; r++) t[r] = e[r] / n;
1220
+ return t;
1221
+ }, r.multGamma = function(e) {
1222
+ for (var t = [], n = 0, r = 0; r < e.length; r++) n += e[r];
1223
+ n *= -1 / e.length;
1224
+ for (var i = 0; i < e.length; i++) t[i] = n + e[i];
1225
+ return t;
1226
+ }, r.multL = function(e, t, n) {
1227
+ for (var r = [], i = [], a = [], o = 0; o < t[0].length; o++) {
1228
+ for (var s = 0, c = 0; c < t.length; c++) s += -.5 * t[c][o] * e[c];
1229
+ i[o] = s;
1230
+ }
1231
+ for (var l = 0; l < n.length; l++) {
1232
+ for (var u = 0, d = 0; d < n.length; d++) u += n[l][d] * i[d];
1233
+ a[l] = u;
1234
+ }
1235
+ for (var f = 0; f < t.length; f++) {
1236
+ for (var p = 0, m = 0; m < t[0].length; m++) p += t[f][m] * a[m];
1237
+ r[f] = p;
1238
+ }
1239
+ return r;
1240
+ }, e.exports = r;
1241
+ }),
1242
+ (function(e, t, n) {
1243
+ var r = function() {
1244
+ function e(e, t) {
1245
+ for (var n = 0; n < t.length; n++) {
1246
+ var r = t[n];
1247
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1248
+ }
1249
+ }
1250
+ return function(t, n, r) {
1251
+ return n && e(t.prototype, n), r && e(t, r), t;
1252
+ };
1253
+ }();
1254
+ function i(e, t) {
1255
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1256
+ }
1257
+ var a = n(11);
1258
+ e.exports = function() {
1259
+ function e(t, n) {
1260
+ i(this, e), (n !== null || n !== void 0) && (this.compareFunction = this._defaultCompareFunction);
1261
+ var r = void 0;
1262
+ r = t instanceof a ? t.size() : t.length, this._quicksort(t, 0, r - 1);
1263
+ }
1264
+ return r(e, [
1265
+ {
1266
+ key: "_quicksort",
1267
+ value: function(e, t, n) {
1268
+ if (t < n) {
1269
+ var r = this._partition(e, t, n);
1270
+ this._quicksort(e, t, r), this._quicksort(e, r + 1, n);
1271
+ }
1272
+ }
1273
+ },
1274
+ {
1275
+ key: "_partition",
1276
+ value: function(e, t, n) {
1277
+ for (var r = this._get(e, t), i = t, a = n;;) {
1278
+ for (; this.compareFunction(r, this._get(e, a));) a--;
1279
+ for (; this.compareFunction(this._get(e, i), r);) i++;
1280
+ if (i < a) this._swap(e, i, a), i++, a--;
1281
+ else return a;
1282
+ }
1283
+ }
1284
+ },
1285
+ {
1286
+ key: "_get",
1287
+ value: function(e, t) {
1288
+ return e instanceof a ? e.get_object_at(t) : e[t];
1289
+ }
1290
+ },
1291
+ {
1292
+ key: "_set",
1293
+ value: function(e, t, n) {
1294
+ e instanceof a ? e.set_object_at(t, n) : e[t] = n;
1295
+ }
1296
+ },
1297
+ {
1298
+ key: "_swap",
1299
+ value: function(e, t, n) {
1300
+ var r = this._get(e, t);
1301
+ this._set(e, t, this._get(e, n)), this._set(e, n, r);
1302
+ }
1303
+ },
1304
+ {
1305
+ key: "_defaultCompareFunction",
1306
+ value: function(e, t) {
1307
+ return t > e;
1308
+ }
1309
+ }
1310
+ ]), e;
1311
+ }();
1312
+ }),
1313
+ (function(e, t, n) {
1314
+ function r() {}
1315
+ r.svd = function(e) {
1316
+ this.U = null, this.V = null, this.s = null, this.m = 0, this.n = 0, this.m = e.length, this.n = e[0].length;
1317
+ var t = Math.min(this.m, this.n);
1318
+ this.s = function(e) {
1319
+ for (var t = []; e-- > 0;) t.push(0);
1320
+ return t;
1321
+ }(Math.min(this.m + 1, this.n)), this.U = function(e) {
1322
+ return function e(t) {
1323
+ if (t.length == 0) return 0;
1324
+ for (var n = [], r = 0; r < t[0]; r++) n.push(e(t.slice(1)));
1325
+ return n;
1326
+ }(e);
1327
+ }([this.m, t]), this.V = function(e) {
1328
+ return function e(t) {
1329
+ if (t.length == 0) return 0;
1330
+ for (var n = [], r = 0; r < t[0]; r++) n.push(e(t.slice(1)));
1331
+ return n;
1332
+ }(e);
1333
+ }([this.n, this.n]);
1334
+ for (var n = function(e) {
1335
+ for (var t = []; e-- > 0;) t.push(0);
1336
+ return t;
1337
+ }(this.n), i = function(e) {
1338
+ for (var t = []; e-- > 0;) t.push(0);
1339
+ return t;
1340
+ }(this.m), a = !0, o = !0, s = Math.min(this.m - 1, this.n), c = Math.max(0, Math.min(this.n - 2, this.m)), l = 0; l < Math.max(s, c); l++) {
1341
+ if (l < s) {
1342
+ this.s[l] = 0;
1343
+ for (var u = l; u < this.m; u++) this.s[l] = r.hypot(this.s[l], e[u][l]);
1344
+ if (this.s[l] !== 0) {
1345
+ e[l][l] < 0 && (this.s[l] = -this.s[l]);
1346
+ for (var d = l; d < this.m; d++) e[d][l] /= this.s[l];
1347
+ e[l][l] += 1;
1348
+ }
1349
+ this.s[l] = -this.s[l];
1350
+ }
1351
+ for (var f = l + 1; f < this.n; f++) {
1352
+ if (function(e, t) {
1353
+ return e && t;
1354
+ }(l < s, this.s[l] !== 0)) {
1355
+ for (var p = 0, m = l; m < this.m; m++) p += e[m][l] * e[m][f];
1356
+ p = -p / e[l][l];
1357
+ for (var h = l; h < this.m; h++) e[h][f] += p * e[h][l];
1358
+ }
1359
+ n[f] = e[l][f];
1360
+ }
1361
+ if (function(e, t) {
1362
+ return e && t;
1363
+ }(a, l < s)) for (var g = l; g < this.m; g++) this.U[g][l] = e[g][l];
1364
+ if (l < c) {
1365
+ n[l] = 0;
1366
+ for (var _ = l + 1; _ < this.n; _++) n[l] = r.hypot(n[l], n[_]);
1367
+ if (n[l] !== 0) {
1368
+ n[l + 1] < 0 && (n[l] = -n[l]);
1369
+ for (var v = l + 1; v < this.n; v++) n[v] /= n[l];
1370
+ n[l + 1] += 1;
1371
+ }
1372
+ if (n[l] = -n[l], function(e, t) {
1373
+ return e && t;
1374
+ }(l + 1 < this.m, n[l] !== 0)) {
1375
+ for (var y = l + 1; y < this.m; y++) i[y] = 0;
1376
+ for (var b = l + 1; b < this.n; b++) for (var x = l + 1; x < this.m; x++) i[x] += n[b] * e[x][b];
1377
+ for (var S = l + 1; S < this.n; S++) for (var C = -n[S] / n[l + 1], w = l + 1; w < this.m; w++) e[w][S] += C * i[w];
1378
+ }
1379
+ if (o) for (var T = l + 1; T < this.n; T++) this.V[T][l] = n[T];
1380
+ }
1381
+ }
1382
+ var E = Math.min(this.n, this.m + 1);
1383
+ if (s < this.n && (this.s[s] = e[s][s]), this.m < E && (this.s[E - 1] = 0), c + 1 < E && (n[c] = e[c][E - 1]), n[E - 1] = 0, a) {
1384
+ for (var D = s; D < t; D++) {
1385
+ for (var O = 0; O < this.m; O++) this.U[O][D] = 0;
1386
+ this.U[D][D] = 1;
1387
+ }
1388
+ for (var k = s - 1; k >= 0; k--) if (this.s[k] !== 0) {
1389
+ for (var A = k + 1; A < t; A++) {
1390
+ for (var j = 0, M = k; M < this.m; M++) j += this.U[M][k] * this.U[M][A];
1391
+ j = -j / this.U[k][k];
1392
+ for (var N = k; N < this.m; N++) this.U[N][A] += j * this.U[N][k];
1393
+ }
1394
+ for (var ee = k; ee < this.m; ee++) this.U[ee][k] = -this.U[ee][k];
1395
+ this.U[k][k] = 1 + this.U[k][k];
1396
+ for (var te = 0; te < k - 1; te++) this.U[te][k] = 0;
1397
+ } else {
1398
+ for (var ne = 0; ne < this.m; ne++) this.U[ne][k] = 0;
1399
+ this.U[k][k] = 1;
1400
+ }
1401
+ }
1402
+ if (o) for (var P = this.n - 1; P >= 0; P--) {
1403
+ if (function(e, t) {
1404
+ return e && t;
1405
+ }(P < c, n[P] !== 0)) for (var re = P + 1; re < t; re++) {
1406
+ for (var ie = 0, ae = P + 1; ae < this.n; ae++) ie += this.V[ae][P] * this.V[ae][re];
1407
+ ie = -ie / this.V[P + 1][P];
1408
+ for (var oe = P + 1; oe < this.n; oe++) this.V[oe][re] += ie * this.V[oe][P];
1409
+ }
1410
+ for (var se = 0; se < this.n; se++) this.V[se][P] = 0;
1411
+ this.V[P][P] = 1;
1412
+ }
1413
+ for (var ce = E - 1, le = 0, ue = 2 ** -52, de = 2 ** -966; E > 0;) {
1414
+ var F = void 0, I = void 0;
1415
+ for (F = E - 2; F >= -1 && F !== -1; F--) if (Math.abs(n[F]) <= de + ue * (Math.abs(this.s[F]) + Math.abs(this.s[F + 1]))) {
1416
+ n[F] = 0;
1417
+ break;
1418
+ }
1419
+ if (F === E - 2) I = 4;
1420
+ else {
1421
+ var L = void 0;
1422
+ for (L = E - 1; L >= F && L !== F; L--) {
1423
+ var fe = (L === E ? 0 : Math.abs(n[L])) + (L === F + 1 ? 0 : Math.abs(n[L - 1]));
1424
+ if (Math.abs(this.s[L]) <= de + ue * fe) {
1425
+ this.s[L] = 0;
1426
+ break;
1427
+ }
1428
+ }
1429
+ L === F ? I = 3 : L === E - 1 ? I = 1 : (I = 2, F = L);
1430
+ }
1431
+ switch (F++, I) {
1432
+ case 1:
1433
+ var pe = n[E - 2];
1434
+ n[E - 2] = 0;
1435
+ for (var R = E - 2; R >= F; R--) {
1436
+ var me = r.hypot(this.s[R], pe), he = this.s[R] / me, ge = pe / me;
1437
+ if (this.s[R] = me, R !== F && (pe = -ge * n[R - 1], n[R - 1] = he * n[R - 1]), o) for (var z = 0; z < this.n; z++) me = he * this.V[z][R] + ge * this.V[z][E - 1], this.V[z][E - 1] = -ge * this.V[z][R] + he * this.V[z][E - 1], this.V[z][R] = me;
1438
+ }
1439
+ break;
1440
+ case 2:
1441
+ var _e = n[F - 1];
1442
+ n[F - 1] = 0;
1443
+ for (var B = F; B < E; B++) {
1444
+ var ve = r.hypot(this.s[B], _e), ye = this.s[B] / ve, be = _e / ve;
1445
+ if (this.s[B] = ve, _e = -be * n[B], n[B] = ye * n[B], a) for (var V = 0; V < this.m; V++) ve = ye * this.U[V][B] + be * this.U[V][F - 1], this.U[V][F - 1] = -be * this.U[V][B] + ye * this.U[V][F - 1], this.U[V][B] = ve;
1446
+ }
1447
+ break;
1448
+ case 3:
1449
+ var xe = Math.max(Math.max(Math.max(Math.max(Math.abs(this.s[E - 1]), Math.abs(this.s[E - 2])), Math.abs(n[E - 2])), Math.abs(this.s[F])), Math.abs(n[F])), H = this.s[E - 1] / xe, Se = this.s[E - 2] / xe, Ce = n[E - 2] / xe, we = this.s[F] / xe, Te = n[F] / xe, Ee = ((Se + H) * (Se - H) + Ce * Ce) / 2, De = H * Ce * (H * Ce), U = 0;
1450
+ (function(e, t) {
1451
+ return e || t;
1452
+ })(Ee !== 0, De !== 0) && (U = Math.sqrt(Ee * Ee + De), Ee < 0 && (U = -U), U = De / (Ee + U));
1453
+ for (var W = (we + H) * (we - H) + U, G = we * Te, K = F; K < E - 1; K++) {
1454
+ var q = r.hypot(W, G), J = W / q, Y = G / q;
1455
+ if (K !== F && (n[K - 1] = q), W = J * this.s[K] + Y * n[K], n[K] = J * n[K] - Y * this.s[K], G = Y * this.s[K + 1], this.s[K + 1] = J * this.s[K + 1], o) for (var X = 0; X < this.n; X++) q = J * this.V[X][K] + Y * this.V[X][K + 1], this.V[X][K + 1] = -Y * this.V[X][K] + J * this.V[X][K + 1], this.V[X][K] = q;
1456
+ if (q = r.hypot(W, G), J = W / q, Y = G / q, this.s[K] = q, W = J * n[K] + Y * this.s[K + 1], this.s[K + 1] = -Y * n[K] + J * this.s[K + 1], G = Y * n[K + 1], n[K + 1] = J * n[K + 1], a && K < this.m - 1) for (var Z = 0; Z < this.m; Z++) q = J * this.U[Z][K] + Y * this.U[Z][K + 1], this.U[Z][K + 1] = -Y * this.U[Z][K] + J * this.U[Z][K + 1], this.U[Z][K] = q;
1457
+ }
1458
+ n[E - 2] = W, le += 1;
1459
+ break;
1460
+ case 4:
1461
+ if (this.s[F] <= 0 && (this.s[F] = this.s[F] < 0 ? -this.s[F] : 0, o)) for (var Oe = 0; Oe <= ce; Oe++) this.V[Oe][F] = -this.V[Oe][F];
1462
+ for (; F < ce && !(this.s[F] >= this.s[F + 1]);) {
1463
+ var ke = this.s[F];
1464
+ if (this.s[F] = this.s[F + 1], this.s[F + 1] = ke, o && F < this.n - 1) for (var Q = 0; Q < this.n; Q++) ke = this.V[Q][F + 1], this.V[Q][F + 1] = this.V[Q][F], this.V[Q][F] = ke;
1465
+ if (a && F < this.m - 1) for (var $ = 0; $ < this.m; $++) ke = this.U[$][F + 1], this.U[$][F + 1] = this.U[$][F], this.U[$][F] = ke;
1466
+ F++;
1467
+ }
1468
+ le = 0, E--;
1469
+ break;
1470
+ }
1471
+ }
1472
+ return {
1473
+ U: this.U,
1474
+ V: this.V,
1475
+ S: this.s
1476
+ };
1477
+ }, r.hypot = function(e, t) {
1478
+ var n = void 0;
1479
+ return Math.abs(e) > Math.abs(t) ? (n = t / e, n = Math.abs(e) * Math.sqrt(1 + n * n)) : t == 0 ? n = 0 : (n = e / t, n = Math.abs(t) * Math.sqrt(1 + n * n)), n;
1480
+ }, e.exports = r;
1481
+ }),
1482
+ (function(e, t, n) {
1483
+ var r = function() {
1484
+ function e(e, t) {
1485
+ for (var n = 0; n < t.length; n++) {
1486
+ var r = t[n];
1487
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1488
+ }
1489
+ }
1490
+ return function(t, n, r) {
1491
+ return n && e(t.prototype, n), r && e(t, r), t;
1492
+ };
1493
+ }();
1494
+ function i(e, t) {
1495
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1496
+ }
1497
+ e.exports = function() {
1498
+ function e(t, n) {
1499
+ 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;
1500
+ 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);
1501
+ for (var s = 0; s < this.iMax; s++) {
1502
+ this.grid[s] = Array(this.jMax);
1503
+ for (var c = 0; c < this.jMax; c++) this.grid[s][c] = 0;
1504
+ }
1505
+ this.tracebackGrid = Array(this.iMax);
1506
+ for (var l = 0; l < this.iMax; l++) {
1507
+ this.tracebackGrid[l] = Array(this.jMax);
1508
+ for (var u = 0; u < this.jMax; u++) this.tracebackGrid[l][u] = [
1509
+ null,
1510
+ null,
1511
+ null
1512
+ ];
1513
+ }
1514
+ this.alignments = [], this.score = -1, this.computeGrids();
1515
+ }
1516
+ return r(e, [
1517
+ {
1518
+ key: "getScore",
1519
+ value: function() {
1520
+ return this.score;
1521
+ }
1522
+ },
1523
+ {
1524
+ key: "getAlignments",
1525
+ value: function() {
1526
+ return this.alignments;
1527
+ }
1528
+ },
1529
+ {
1530
+ key: "computeGrids",
1531
+ value: function() {
1532
+ for (var e = 1; e < this.jMax; e++) this.grid[0][e] = this.grid[0][e - 1] + this.gap_penalty, this.tracebackGrid[0][e] = [
1533
+ !1,
1534
+ !1,
1535
+ !0
1536
+ ];
1537
+ for (var t = 1; t < this.iMax; t++) this.grid[t][0] = this.grid[t - 1][0] + this.gap_penalty, this.tracebackGrid[t][0] = [
1538
+ !1,
1539
+ !0,
1540
+ !1
1541
+ ];
1542
+ for (var n = 1; n < this.iMax; n++) for (var r = 1; r < this.jMax; r++) {
1543
+ var i = void 0;
1544
+ 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;
1545
+ var a = this.grid[n - 1][r] + this.gap_penalty, o = this.grid[n][r - 1] + this.gap_penalty, s = [
1546
+ i,
1547
+ a,
1548
+ o
1549
+ ], c = this.arrayAllMaxIndexes(s);
1550
+ this.grid[n][r] = s[c[0]], this.tracebackGrid[n][r] = [
1551
+ c.includes(0),
1552
+ c.includes(1),
1553
+ c.includes(2)
1554
+ ];
1555
+ }
1556
+ this.score = this.grid[this.iMax - 1][this.jMax - 1];
1557
+ }
1558
+ },
1559
+ {
1560
+ key: "alignmentTraceback",
1561
+ value: function() {
1562
+ var e = [];
1563
+ for (e.push({
1564
+ pos: [this.sequence1.length, this.sequence2.length],
1565
+ seq1: "",
1566
+ seq2: ""
1567
+ }); e[0];) {
1568
+ var t = e[0], n = this.tracebackGrid[t.pos[0]][t.pos[1]];
1569
+ n[0] && e.push({
1570
+ pos: [t.pos[0] - 1, t.pos[1] - 1],
1571
+ seq1: this.sequence1[t.pos[0] - 1] + t.seq1,
1572
+ seq2: this.sequence2[t.pos[1] - 1] + t.seq2
1573
+ }), n[1] && e.push({
1574
+ pos: [t.pos[0] - 1, t.pos[1]],
1575
+ seq1: this.sequence1[t.pos[0] - 1] + t.seq1,
1576
+ seq2: "-" + t.seq2
1577
+ }), n[2] && e.push({
1578
+ pos: [t.pos[0], t.pos[1] - 1],
1579
+ seq1: "-" + t.seq1,
1580
+ seq2: this.sequence2[t.pos[1] - 1] + t.seq2
1581
+ }), t.pos[0] === 0 && t.pos[1] === 0 && this.alignments.push({
1582
+ sequence1: t.seq1,
1583
+ sequence2: t.seq2
1584
+ }), e.shift();
1585
+ }
1586
+ return this.alignments;
1587
+ }
1588
+ },
1589
+ {
1590
+ key: "getAllIndexes",
1591
+ value: function(e, t) {
1592
+ for (var n = [], r = -1; (r = e.indexOf(t, r + 1)) !== -1;) n.push(r);
1593
+ return n;
1594
+ }
1595
+ },
1596
+ {
1597
+ key: "arrayAllMaxIndexes",
1598
+ value: function(e) {
1599
+ return this.getAllIndexes(e, Math.max.apply(null, e));
1600
+ }
1601
+ }
1602
+ ]), e;
1603
+ }();
1604
+ }),
1605
+ (function(e, t, n) {
1606
+ var r = function() {};
1607
+ r.FDLayout = n(18), r.FDLayoutConstants = n(4), 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(5), r.RandomSeed = n(16), r.RectangleD = n(13), r.Transform = n(17), r.UniqueIDGeneretor = n(14), r.Quicksort = n(25), r.LinkedList = n(11), r.LGraphObject = n(2), r.LGraph = n(6), r.LEdge = n(1), r.LGraphManager = n(7), r.LNode = n(3), r.Layout = n(15), r.LayoutConstants = n(0), r.NeedlemanWunsch = n(27), r.Matrix = n(24), r.SVD = n(26), e.exports = r;
1608
+ }),
1609
+ (function(e, t, n) {
1610
+ function r() {
1611
+ this.listeners = [];
1612
+ }
1613
+ var i = r.prototype;
1614
+ i.addListener = function(e, t) {
1615
+ this.listeners.push({
1616
+ event: e,
1617
+ callback: t
1618
+ });
1619
+ }, i.removeListener = function(e, t) {
1620
+ for (var n = this.listeners.length; n >= 0; n--) {
1621
+ var r = this.listeners[n];
1622
+ r.event === e && r.callback === t && this.listeners.splice(n, 1);
1623
+ }
1624
+ }, i.emit = function(e, t) {
1625
+ for (var n = 0; n < this.listeners.length; n++) {
1626
+ var r = this.listeners[n];
1627
+ e === r.event && r.callback(t);
1628
+ }
1629
+ }, e.exports = r;
1630
+ })
1631
+ ]);
1632
+ });
1633
+ }));
1634
+ export default require_layout_base();
1635
+ export { require_layout_base };